git-truck 0.0.0-e0af6ee → 0.0.0-e38ce35
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 +98 -98
- package/build/index.js +316 -389
- package/build/metafile.js.json +1 -1
- package/build/metafile.server.json +1 -1
- package/build/version.txt +1 -1
- package/cli.js +283 -82
- package/package.json +166 -152
- package/public/build/_assets/react-datepicker-SHOMGW4P.css +1 -0
- package/public/build/_assets/tailwind-IKQBW4EF.css +1 -0
- package/public/build/_shared/{buttons.esm-NERHWBM5.js → buttons.esm-D3QISUDE.js} +1 -1
- package/public/build/_shared/chunk-G5WX4PPA.js +1 -0
- package/public/build/_shared/chunk-KCW5MVVI.js +1 -0
- package/public/build/_shared/chunk-ND5WRITB.js +293 -0
- package/public/build/_shared/chunk-Q2NTJV6J.js +1 -0
- package/public/build/entry.client-RZUWA4GZ.js +1 -0
- package/public/build/manifest-EB9EF86E.js +1 -0
- package/public/build/root-2VGPJH5M.js +1 -0
- package/public/build/routes/$repo.$-27NBUN34.js +75 -0
- package/public/build/routes/_index-2SBFW3TI.js +1 -0
- package/public/build/routes/authordist-A7NSX5GE.js +1 -0
- package/public/build/routes/commitcount-KSNJOFTJ.js +1 -0
- package/public/build/routes/commits-6RXT3QOX.js +1 -0
- package/public/build/routes/progress-LUCNXSNL.js +1 -0
- package/public/build/_assets/commit_icon-JEPGHU5X.png +0 -0
- package/public/build/_assets/tailwind-72RAMDD2.css +0 -1
- package/public/build/_shared/chunk-2VJVTLMY.js +0 -32
- package/public/build/_shared/chunk-4SJHXJI7.js +0 -1
- package/public/build/_shared/chunk-AK3AD3DY.js +0 -264
- package/public/build/_shared/chunk-Q3IECNXJ.js +0 -1
- package/public/build/_shared/chunk-T4XCWYMZ.js +0 -1
- package/public/build/entry.client-BTXLKLEV.js +0 -1
- package/public/build/manifest-CC7CCBCD.js +0 -1
- package/public/build/root-NJBWNQGV.js +0 -1
- package/public/build/routes/$repo.$-4LRRFNNR.js +0 -27
- package/public/build/routes/_index-OCAMKNPN.js +0 -1
- package/public/build/routes/commits-GGDWDC7W.js +0 -1
- package/public/build/routes/progress-SNLO56GK.js +0 -1
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import{a as or}from"/build/_shared/chunk-2VJVTLMY.js";import{a as wi,b as ji,c as Ai,d as Ni,e as St,f as ia,g as sa,h as ca,i as la,j as ma,k as pa,l as da,m as De,n as ua,o as It,p as Tt,q as vt,r as Ce,s as de,t as ga}from"/build/_shared/chunk-4SJHXJI7.js";import{$ as Ur,A as Mr,Aa as aa,B as br,Ba as na,D as Sr,Da as bt,E as Ir,F as Tr,G as vr,H as Cr,I as kr,J as wr,K as jr,L as Ar,M as Nr,N as Or,O as Lr,P as Dr,Q as Er,R as _r,S as Pr,T as Rr,U as Fr,V as Hr,W as Br,X as Gr,Y as zr,Z as $r,_ as qr,a as ki,aa as Vr,b as re,ba as Wr,c as rr,d as Je,da as po,e as ar,ea as Jr,f as nr,fa as Xr,g as ir,ga as Kr,h as sr,i as so,ia as uo,j as cr,ja as go,k as lr,ka as Yr,l as co,la as Zr,m as Xe,ma as V,n as lo,na as Qr,o as mr,oa as Ye,p as pr,pa as xe,q as dr,qa as Ze,r as mo,ra as Qe,s as xt,sa as ht,t as ur,ta as yt,u as gr,ua as ea,v as fr,va as ta,w as xr,wa as oa,x as hr,xa as ra,y as Ke,ya as Mt,z as yr,za as it}from"/build/_shared/chunk-T4XCWYMZ.js";import{a as _,b as Zo,c as We,d as Qo,e as pe,f as er,h as ve,i as ft,j as ze,o as tr,p as io,t as j}from"/build/_shared/chunk-AK3AD3DY.js";import{b as Le,c as f}from"/build/_shared/chunk-Q3IECNXJ.js";var ya=Le((yc,ha)=>{ha.exports={}});var ba=Le((Mc,Ma)=>{Ma.exports={}});var La=Le((Io,To)=>{(function(e,t){typeof Io=="object"&&typeof To<"u"?To.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.uniqolor=t())})(Io,function(){"use strict";function e(S,M){return r(S)||n(S,M)||i(S,M)||l()}function t(S){return o(S)||a(S)||i(S)||c()}function o(S){if(Array.isArray(S))return s(S)}function r(S){if(Array.isArray(S))return S}function a(S){if(typeof Symbol<"u"&&S[Symbol.iterator]!=null||S["@@iterator"]!=null)return Array.from(S)}function n(S,M){var b=S==null?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(b!=null){var T=[],C=!0,w=!1,O,R;try{for(b=b.call(S);!(C=(O=b.next()).done)&&(T.push(O.value),!(M&&T.length===M));C=!0);}catch(z){w=!0,R=z}finally{try{!C&&b.return!=null&&b.return()}finally{if(w)throw R}}return T}}function i(S,M){if(S){if(typeof S=="string")return s(S,M);var b=Object.prototype.toString.call(S).slice(8,-1);if(b==="Object"&&S.constructor&&(b=S.constructor.name),b==="Map"||b==="Set")return Array.from(S);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return s(S,M)}}function s(S,M){(M==null||M>S.length)&&(M=S.length);for(var b=0,T=new Array(M);b<M;b++)T[b]=S[b];return T}function c(){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 l(){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 p=[0,100],g=[0,100],m=function(M){return"".concat(M.length===1?"0":"").concat(M)},x=function(M,b,T){return Math.max(Math.min(M,T),b)},h=function(M,b){return Math.floor(Math.random()*(b-M+1))+M},u=function S(M,b,T){for(var C=h(M,b),w=0;w<T?.length;w++){var O=T[w];if(O?.length===2&&C>=O[0]&&C<=O[1])return S(M,b,T)}return C},d=function(M){for(var b=M.length,T=0,C=0;C<b;C++)T=(T<<5)-T+M.charCodeAt(C),T&=T;return T},v=function(M,b){return typeof b=="number"?b:M%Math.abs(b[1]-b[0])+b[0]},D=function(M,b){return typeof M=="number"?x.apply(void 0,[Math.abs(M)].concat(t(b))):M.length===1||M[0]===M[1]?x.apply(void 0,[Math.abs(M[0])].concat(t(b))):[Math.abs(x.apply(void 0,[M[0]].concat(t(b)))),x.apply(void 0,[Math.abs(M[1])].concat(t(b)))]},E=function(M,b,T){return T<0?T+=1:T>1&&(T-=1),T<1/6?M+(b-M)*6*T:T<1/2?b:T<2/3?M+(b-M)*(2/3-T)*6:M},B=function(M,b,T){var C,w,O;if(M/=360,b/=100,T/=100,b===0)C=w=O=T;else{var R=T<.5?T*(1+b):T+b-T*b,z=2*T-R;C=E(z,R,M+1/3),w=E(z,R,M),O=E(z,R,M-1/3)}return[Math.round(C*255),Math.round(w*255),Math.round(O*255)]},k=function(M,b,T,C){return(M*299+b*587+T*114)/1e3>=C},L=function(M,b,T){return"hsl(".concat(M,", ").concat(b,"%, ").concat(T,"%)")},F=function(M,b,T,C){switch(C){case"rgb":return"rgb(".concat(M,", ").concat(b,", ").concat(T,")");case"hex":default:return"#".concat(m(M.toString(16))).concat(m(b.toString(16))).concat(m(T.toString(16)))}},G=function(M){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=b.format,C=T===void 0?"hex":T,w=b.saturation,O=w===void 0?[50,55]:w,R=b.lightness,z=R===void 0?[50,60]:R,oe=b.differencePoint,se=oe===void 0?130:oe,me=Math.abs(d(String(M))),Ne=v(me,[0,360]),Ge=v(me,D(O,p)),Oe=v(me,D(z,g)),gt=B(Ne,Ge,Oe),Ve=e(gt,3),nt=Ve[0],Ko=Ve[1],Yo=Ve[2];return{color:C==="hsl"?L(Ne,Ge,Oe):F(nt,Ko,Yo,C),isLight:k(nt,Ko,Yo,se)}};return G.random=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=S.format,b=M===void 0?"hex":M,T=S.saturation,C=T===void 0?[50,55]:T,w=S.lightness,O=w===void 0?[50,60]:w,R=S.differencePoint,z=R===void 0?130:R,oe=S.excludeHue;C=D(C,p),O=D(O,g);var se=oe?u(0,359,oe):h(0,359),me=typeof C=="number"?C:h.apply(void 0,t(C)),Ne=typeof O=="number"?O:h.apply(void 0,t(O)),Ge=B(se,me,Ne),Oe=e(Ge,3),gt=Oe[0],Ve=Oe[1],nt=Oe[2];return{color:b==="hsl"?L(se,me,Ne):F(gt,Ve,nt,b),isLight:k(gt,Ve,nt,z)}},G})});var ni=Le((Xd,Jo)=>{"use strict";function Fs(){throw new Error(`secure random number generation not supported by this browser
|
|
4
|
-
use chrome, FireFox or Internet Explorer 11`)}var Wo=globalThis.crypto||globalThis.msCrypto;Wo&&Wo.getRandomValues?Jo.exports=Hs:Jo.exports=Fs;function Hs(e,t){if(e>65536)throw new Error("requested too many random bytes");var o=new globalThis.Uint8Array(e);e>0&&Wo.getRandomValues(o);var r=new Buffer(o.buffer);return typeof t=="function"?process.nextTick(function(){t(null,r)}):r}});var ci=Le((ii,si)=>{function at(){this.chars=""}at.prototype.setType=function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.chars+=this.getCharacters(e[t]);else this.chars=this.getCharacters(e)};at.prototype.getCharacters=function(e){var t,o="0123456789",r="abcdefghijklmnopqrstuvwxyz",a=r.toUpperCase(),n="abcdef",i="01",s="01234567";return e==="alphanumeric"?t=o+r+a:e==="numeric"?t=o:e==="alphabetic"?t=r+a:e==="hex"?t=o+n:e==="binary"?t=i:e==="octal"?t=s:t=e,t};at.prototype.removeUnreadable=function(){var e=/[0OIl]/g;this.chars=this.chars.replace(e,"")};at.prototype.setcapitalization=function(e){e==="uppercase"?this.chars=this.chars.toUpperCase():e==="lowercase"&&(this.chars=this.chars.toLowerCase())};at.prototype.removeDuplicates=function(){var e=this.chars.split("");e=[...new Set(e)],this.chars=e.join("")};si.exports=ii=at});var ui=Le(di=>{"use strict";var li=ni(),Bs=ci();function Gs(e){for(var t=[],o=0;o<e;o++)t.push(Math.floor(Math.random()*255));return{length:e,readUInt8:function(r){return t[r]}}}function zs(e){try{return li(e)}catch{return Gs(e)}}function mi(e,t,o,r,a){for(var n=t,i=0;i<e.length&&n.length<r;i++){var s=e.readUInt8(i);s<a&&(n+=o.charAt(s%o.length))}return n}function pi(e,t,o,r,a){li(o,function(n,i){n&&a(n);var s=mi(i,e,t,o,r);s.length<o?pi(s,t,o,r,a):a(null,s)})}di.generate=function(e,t){var o=new Bs,r,a,n,i="";typeof e=="object"?(r=typeof e.length=="number"?e.length:32,e.charset?o.setType(e.charset):o.setType("alphanumeric"),e.capitalization&&o.setcapitalization(e.capitalization),e.readable&&o.removeUnreadable(),o.removeDuplicates()):typeof e=="number"?(r=e,o.setType("alphanumeric")):(r=32,o.setType("alphanumeric"));var s=o.chars.length,c=256-256%s;if(!t){for(;i.length<r;){var l=zs(Math.ceil(r*256/c));i=mi(l,i,o.chars,r,c)}return i}pi(i,o.chars,r,c,t)}});var fi=Le((Yd,gi)=>{gi.exports=ui()});var Si=Le(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.Detector=Be.Offline=Be.Online=void 0;var Qt=function(){function e(t,o){for(var r=0;r<o.length;r++){var a=o[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),Zt=_(),$s=ki(),Te=qs($s);function qs(e){return e&&e.__esModule?e:{default:e}}function Us(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}else return Array.from(e)}function eo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function to(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function oo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var hi=typeof navigator<"u",Vs=/Windows.*Chrome|Windows.*Firefox|Linux.*Chrome/,Ws=function(t){var o=t.url,r=t.timeout;return new Promise(function(a){var n=function(){return a(!0)},i=function(){return a(!1)},s=new XMLHttpRequest;s.onerror=i,s.ontimeout=i,s.onreadystatechange=function(){s.readyState===s.HEADERS_RECEIVED&&(s.status?n():i())},s.open("GET",o),s.timeout=r,s.send()})},ro={children:Te.default.node,onChange:Te.default.func,polling:Te.default.oneOfType([Te.default.shape({url:Te.default.string,interval:Te.default.number,timeout:Te.default.number}),Te.default.bool]),wrapperType:Te.default.string},ao={polling:!0,wrapperType:"span"},xi={enabled:hi&&Vs.test(navigator.userAgent),url:"https://httpbin.org/get",timeout:5e3,interval:5e3},ut=function(e){oo(t,e);function t(){eo(this,t);var o=to(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return o.state={online:hi&&typeof navigator.onLine=="boolean"?navigator.onLine:!0},o.goOnline=o.goOnline.bind(o),o.goOffline=o.goOffline.bind(o),o}return Qt(t,[{key:"componentDidMount",value:function(){window.addEventListener("online",this.goOnline),window.addEventListener("offline",this.goOffline),this.getPollingConfig().enabled&&this.startPolling()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("online",this.goOnline),window.removeEventListener("offline",this.goOffline),this.pollingId&&this.stopPolling()}},{key:"renderChildren",value:function(){var r=this.props,a=r.children,n=r.wrapperType;return(0,Zt.isValidElement)(a)?a:a?Zt.createElement.apply(void 0,[n,{}].concat(Us(Zt.Children.toArray(a)))):null}},{key:"getPollingConfig",value:function(){switch(this.props.polling){case!0:return xi;case!1:return{enabled:!1};default:return Object.assign({},xi,this.props.polling)}}},{key:"goOnline",value:function(){this.state.online||(this.callOnChangeHandler(!0),this.setState({online:!0}))}},{key:"goOffline",value:function(){this.state.online&&(this.callOnChangeHandler(!1),this.setState({online:!1}))}},{key:"callOnChangeHandler",value:function(r){this.props.onChange&&this.props.onChange(r)}},{key:"startPolling",value:function(){var r=this,a=this.getPollingConfig(),n=a.interval;this.pollingId=setInterval(function(){var i=r.getPollingConfig(),s=i.url,c=i.timeout;Ws({url:s,timeout:c}).then(function(l){l?r.goOnline():r.goOffline()})},n)}},{key:"stopPolling",value:function(){clearInterval(this.pollingId)}}]),t}(Zt.Component);ut.propTypes=ro;ut.defaultProps=ao;var yi=Be.Online=function(e){oo(t,e);function t(){return eo(this,t),to(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Qt(t,[{key:"render",value:function(){return this.state.online?this.renderChildren():null}}]),t}(ut);yi.propTypes=ro;yi.defaultProps=ao;var Mi=Be.Offline=function(e){oo(t,e);function t(){return eo(this,t),to(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Qt(t,[{key:"render",value:function(){return this.state.online?null:this.renderChildren()}}]),t}(ut);Mi.propTypes=ro;Mi.defaultProps=ao;var bi=Be.Detector=function(e){oo(t,e);function t(){return eo(this,t),to(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Qt(t,[{key:"render",value:function(){return this.props.render({online:this.state.online})}}]),t}(ut);bi.propTypes=Object.assign({},ro,{render:Te.default.func.isRequired});bi.defaultProps=ao});var te=f(_());var Js=f(wi());var Di=f(j());var fa=new Map;var Oi=e=>{let t=[],o=e.split(".");for(let r=0;r<o.length;r++)if(o[r].startsWith("[")){let a=o[r].substring(1),n=r+1;for(;!o[n].endsWith("]");)a+=`.${o[n]}`,n++;a+=`.${o[n].slice(0,-1)}`,t.push(a),r=n}else t.push(o[r]);return t};function fo(e,t){let o=Array.from(fa.values());for(let a of Object.keys(t)){let n=Oi(a);r(e,n,t[a])}return e;function r(a,n,i,s=0){let c=n[s];if(s<n.length-1){r(a[c],n,i,s+1);return}let l=a[c];switch(i){case"date":a[c]=new Date(l);break;case"set":a[c]=new Set(l);break;case"map":a[c]=new Map(Object.entries(l));break;case"regexp":let p=/^\/(.*)\/([dgimsuy]*)$/.exec(l);if(p)a[c]=new RegExp(p[1],p[2]);else throw new Error(`Invalid regexp: ${l}`);break;case"bigint":a[c]=BigInt(l);break;case"undefined":a[c]=void 0;break;case"infinity":a[c]=Number.POSITIVE_INFINITY;break;case"-infinity":a[c]=Number.NEGATIVE_INFINITY;break;case"nan":a[c]=NaN;break;case"error":let g=new Error(l.message);g.name=l.name,g.stack=l.stack,a[c]=g;break;default:let m=fa.get(i);m&&(a[c]=m.deserialize(l))}}}function xo(){let e=tr();return xa(e)}function xa(e){if(!e)return e;if(e.$$obj)return e.$$meta?fo(e.$$obj,e.$$meta):e.$$obj;if(e.$$meta){let t=e.$$meta;return delete e.$$meta,fo(e,t)}return e}var Xo=f(ya()),Xs=f(ji()),Ks=f(Ai()),Ys=f(Ni()),Ii=f(ba());var ge=f(_());var Sa=f(_());var Ct=f(_()),ho=(0,Ct.createContext)(void 0);function ae(){let e=(0,Ct.useContext)(ho);if(!e)throw new Error("useMetrics must be used within a MetricsContext");return e}var he=f(j());function kt(e){let[,t]=ae();return e.show?(0,he.jsx)(he.Fragment,{children:e.items.map(o=>{var s;let[r,a]=o,n=Math.round(a/e.contribSum*100),i=n===0?"<1":n;return(0,he.jsxs)(Sa.Fragment,{children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",title:r,children:[(0,he.jsx)(xe,{className:"ml-1",dotColor:(s=t.get(r))!=null?s:"grey"}),(0,he.jsx)("span",{className:"overflow-hidden overflow-ellipsis whitespace-pre font-bold opacity-80",children:r})]}),(0,he.jsxs)("p",{className:"break-all text-right text-sm",children:[i,"%"]})]},r+a)})}):null}var Ia=f(re()),yo=f(j());function et({onClick:e=()=>{},open:t,className:o="",...r}){return(0,yo.jsx)("button",{className:`z-10 ${o}`,onClick:e,...r,children:(0,yo.jsx)(Ia.Icon,{path:lr,size:1,className:`chevron transition-transform ${t?"rotate-180":""}`})})}var wt=f(_()),Mo=(0,wt.createContext)(null);function ne(){let e=(0,wt.useContext)(Mo);if(!e)throw new Error("useClickedObject must be used within a ClickedObjectProvider");return e}var jt=f(_()),bo=(0,jt.createContext)(void 0);function $(){let e=(0,jt.useContext)(bo);if(!e)throw new Error("useData must be used within a DataContext");if(e.repo.status!=="Success")throw new Error(`Repo is not analyzed, it is in status: ${e.repo.status}`);return{...e,repo:e.repo}}var Pt=f(_());var Ta={"1C Enterprise":{type:"programming",color:"#814CCC",extensions:[".bsl",".os"],tmScope:"source.bsl",aceMode:"text",languageId:0},"4D":{type:"programming",color:"#004289",extensions:[".4dm"],tmScope:"source.4dm",aceMode:"text",languageId:577529595},ABAP:{type:"programming",color:"#E8274B",extensions:[".abap"],tmScope:"source.abap",aceMode:"abap",languageId:1},"ABAP CDS":{type:"programming",color:"#555e25",extensions:[".asddls"],tmScope:"source.abapcds",languageId:452681853,aceMode:"text"},ABNF:{type:"data",aceMode:"text",extensions:[".abnf"],tmScope:"source.abnf",languageId:429},"AGS Script":{type:"programming",color:"#B9D9FF",aliases:["ags"],extensions:[".asc",".ash"],tmScope:"source.c++",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-c++src",languageId:2},AIDL:{type:"programming",color:"#34EB6B",tmScope:"source.aidl",extensions:[".aidl"],aceMode:"text",interpreters:["aidl"],languageId:451700185},AL:{type:"programming",color:"#3AA2B5",extensions:[".al"],tmScope:"source.al",aceMode:"text",languageId:658971832},AMPL:{type:"programming",color:"#E6EFBB",extensions:[".ampl",".mod"],tmScope:"source.ampl",aceMode:"text",languageId:3},ANTLR:{type:"programming",color:"#9DC3FF",extensions:[".g4"],tmScope:"source.antlr",aceMode:"text",languageId:4},"API Blueprint":{type:"markup",color:"#2ACCA8",aceMode:"markdown",extensions:[".apib"],tmScope:"text.html.markdown.source.gfm.apib",languageId:5},APL:{type:"programming",color:"#5A8164",extensions:[".apl",".dyalog"],interpreters:["apl","aplx","dyalog"],tmScope:"source.apl",aceMode:"text",codemirrorMode:"apl",codemirrorMimeType:"text/apl",languageId:6},ASL:{type:"programming",aceMode:"text",extensions:[".asl",".dsl"],tmScope:"source.asl",languageId:124996147},"ASN.1":{type:"data",extensions:[".asn",".asn1"],tmScope:"source.asn",aceMode:"text",codemirrorMode:"asn.1",codemirrorMimeType:"text/x-ttcn-asn",languageId:7},"ASP.NET":{type:"programming",tmScope:"text.html.asp",color:"#9400ff",aliases:["aspx","aspx-vb"],extensions:[".asax",".ascx",".ashx",".asmx",".aspx",".axd"],aceMode:"text",codemirrorMode:"htmlembedded",codemirrorMimeType:"application/x-aspx",languageId:564186416},ATS:{type:"programming",color:"#1ac620",aliases:["ats2"],extensions:[".dats",".hats",".sats"],tmScope:"source.ats",aceMode:"ocaml",languageId:9},ActionScript:{type:"programming",tmScope:"source.actionscript.3",color:"#882B0F",aliases:["actionscript 3","actionscript3","as3"],extensions:[".as"],aceMode:"actionscript",languageId:10},Ada:{type:"programming",color:"#02f88c",extensions:[".adb",".ada",".ads"],aliases:["ada95","ada2005"],tmScope:"source.ada",aceMode:"ada",languageId:11},"Adobe Font Metrics":{type:"data",color:"#fa0f00",tmScope:"source.afm",extensions:[".afm"],aliases:["acfm","adobe composite font metrics","adobe multiple font metrics","amfm"],aceMode:"text",languageId:147198098},Agda:{type:"programming",color:"#315665",extensions:[".agda"],tmScope:"source.agda",aceMode:"text",languageId:12},Alloy:{type:"programming",color:"#64C800",extensions:[".als"],tmScope:"source.alloy",aceMode:"text",languageId:13},"Alpine Abuild":{type:"programming",color:"#0D597F",group:"Shell",aliases:["abuild","apkbuild"],filenames:["APKBUILD"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",languageId:14},"Altium Designer":{type:"data",color:"#A89663",aliases:["altium"],extensions:[".OutJob",".PcbDoc",".PrjPCB",".SchDoc"],tmScope:"source.ini",aceMode:"ini",languageId:187772328},AngelScript:{type:"programming",color:"#C7D7DC",extensions:[".as",".angelscript"],tmScope:"source.angelscript",aceMode:"text",codemirrorMode:"clike",codemirrorMimeType:"text/x-c++src",languageId:389477596},"Ant Build System":{type:"data",color:"#A9157E",tmScope:"text.xml.ant",filenames:["ant.xml","build.xml"],aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"application/xml",languageId:15},ApacheConf:{type:"data",color:"#d12127",aliases:["aconf","apache"],extensions:[".apacheconf",".vhost"],filenames:[".htaccess","apache2.conf","httpd.conf"],tmScope:"source.apache-config",aceMode:"apache_conf",languageId:16},Apex:{type:"programming",color:"#1797c0",extensions:[".cls"],tmScope:"source.java",aceMode:"java",codemirrorMode:"clike",codemirrorMimeType:"text/x-java",languageId:17},"Apollo Guidance Computer":{type:"programming",color:"#0B3D91",group:"Assembly",extensions:[".agc"],tmScope:"source.agc",aceMode:"assembly_x86",languageId:18},AppleScript:{type:"programming",aliases:["osascript"],extensions:[".applescript",".scpt"],interpreters:["osascript"],tmScope:"source.applescript",aceMode:"applescript",color:"#101F1F",languageId:19},Arc:{type:"programming",color:"#aa2afe",extensions:[".arc"],tmScope:"none",aceMode:"text",languageId:20},AsciiDoc:{type:"prose",color:"#73a0c5",aceMode:"asciidoc",wrap:!0,extensions:[".asciidoc",".adoc",".asc"],tmScope:"text.html.asciidoc",languageId:22},AspectJ:{type:"programming",color:"#a957b0",extensions:[".aj"],tmScope:"source.aspectj",aceMode:"text",languageId:23},Assembly:{type:"programming",color:"#6E4C13",aliases:["asm","nasm"],extensions:[".asm",".a51",".i",".inc",".nasm"],tmScope:"source.assembly",aceMode:"assembly_x86",languageId:24},Astro:{type:"markup",color:"#ff5a03",extensions:[".astro"],tmScope:"text.html.astro",aceMode:"html",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:578209015},Asymptote:{type:"programming",color:"#ff0000",extensions:[".asy"],interpreters:["asy"],tmScope:"source.c++",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-kotlin",languageId:591605007},Augeas:{type:"programming",color:"#9CC134",extensions:[".aug"],tmScope:"none",aceMode:"text",languageId:25},AutoHotkey:{type:"programming",color:"#6594b9",aliases:["ahk"],extensions:[".ahk",".ahkl"],tmScope:"source.ahk",aceMode:"autohotkey",languageId:26},AutoIt:{type:"programming",color:"#1C3552",aliases:["au3","AutoIt3","AutoItScript"],extensions:[".au3"],tmScope:"source.autoit",aceMode:"autohotkey",languageId:27},"Avro IDL":{type:"data",color:"#0040FF",extensions:[".avdl"],tmScope:"source.avro",aceMode:"text",languageId:785497837},Awk:{type:"programming",color:"#c30e9b",extensions:[".awk",".auk",".gawk",".mawk",".nawk"],interpreters:["awk","gawk","mawk","nawk"],tmScope:"source.awk",aceMode:"text",languageId:28},BASIC:{type:"programming",extensions:[".bas"],tmScope:"source.basic",aceMode:"text",color:"#ff0000",languageId:28923963},Ballerina:{type:"programming",extensions:[".bal"],tmScope:"source.ballerina",aceMode:"text",color:"#FF5000",languageId:720859680},Batchfile:{type:"programming",aliases:["bat","batch","dosbatch","winbatch"],extensions:[".bat",".cmd"],tmScope:"source.batchfile",aceMode:"batchfile",color:"#C1F12E",languageId:29},Beef:{type:"programming",color:"#a52f4e",extensions:[".bf"],tmScope:"source.cs",aceMode:"csharp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csharp",languageId:545626333},Befunge:{type:"programming",extensions:[".befunge"],tmScope:"source.befunge",aceMode:"text",languageId:30},BibTeX:{type:"markup",color:"#778899",group:"TeX",extensions:[".bib",".bibtex"],tmScope:"text.bibtex",aceMode:"tex",codemirrorMode:"stex",codemirrorMimeType:"text/x-stex",languageId:982188347},Bicep:{type:"programming",color:"#519aba",extensions:[".bicep"],tmScope:"source.bicep",aceMode:"text",languageId:321200902},Bison:{type:"programming",color:"#6A463F",group:"Yacc",tmScope:"source.yacc",extensions:[".bison"],aceMode:"text",languageId:31},BitBake:{type:"programming",color:"#00bce4",tmScope:"none",extensions:[".bb"],aceMode:"text",languageId:32},Blade:{type:"markup",color:"#f7523f",extensions:[".blade",".blade.php"],tmScope:"text.html.php.blade",aceMode:"text",languageId:33},BlitzBasic:{type:"programming",color:"#00FFAE",aliases:["b3d","blitz3d","blitzplus","bplus"],extensions:[".bb",".decls"],tmScope:"source.blitzmax",aceMode:"text",languageId:34},BlitzMax:{type:"programming",color:"#cd6400",extensions:[".bmx"],aliases:["bmax"],tmScope:"source.blitzmax",aceMode:"text",languageId:35},Bluespec:{type:"programming",color:"#12223c",extensions:[".bsv"],tmScope:"source.bsv",aceMode:"verilog",languageId:36},Boo:{type:"programming",color:"#d4bec1",extensions:[".boo"],aceMode:"text",tmScope:"source.boo",languageId:37},Boogie:{type:"programming",color:"#c80fa0",extensions:[".bpl"],interpreters:["boogie"],tmScope:"source.boogie",aceMode:"text",languageId:955017407},Brainfuck:{type:"programming",color:"#2F2530",extensions:[".b",".bf"],tmScope:"source.bf",aceMode:"text",codemirrorMode:"brainfuck",codemirrorMimeType:"text/x-brainfuck",languageId:38},Brightscript:{type:"programming",color:"#662D91",extensions:[".brs"],tmScope:"source.brightscript",aceMode:"text",languageId:39},Browserslist:{type:"data",color:"#ffd539",filenames:[".browserslistrc","browserslist"],tmScope:"text.browserslist",aceMode:"text",languageId:153503348},C:{type:"programming",color:"#555555",extensions:[".c",".cats",".h",".idc"],interpreters:["tcc"],tmScope:"source.c",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",languageId:41},"C#":{type:"programming",aceMode:"csharp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csharp",tmScope:"source.cs",color:"#178600",aliases:["csharp","cake","cakescript"],extensions:[".cs",".cake",".csx",".linq"],languageId:42},"C++":{type:"programming",tmScope:"source.c++",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-c++src",color:"#f34b7d",aliases:["cpp"],extensions:[".cpp",".c++",".cc",".cp",".cxx",".h",".h++",".hh",".hpp",".hxx",".inc",".inl",".ino",".ipp",".re",".tcc",".tpp"],languageId:43},"C-ObjDump":{type:"data",extensions:[".c-objdump"],tmScope:"objdump.x86asm",aceMode:"assembly_x86",languageId:44},"C2hs Haskell":{type:"programming",group:"Haskell",aliases:["c2hs"],extensions:[".chs"],tmScope:"source.haskell",aceMode:"haskell",codemirrorMode:"haskell",codemirrorMimeType:"text/x-haskell",languageId:45},CIL:{type:"data",tmScope:"source.cil",extensions:[".cil"],aceMode:"text",languageId:29176339},CLIPS:{type:"programming",color:"#00A300",extensions:[".clp"],tmScope:"source.clips",aceMode:"text",languageId:46},CMake:{type:"programming",color:"#DA3434",extensions:[".cmake",".cmake.in"],filenames:["CMakeLists.txt"],tmScope:"source.cmake",aceMode:"text",codemirrorMode:"cmake",codemirrorMimeType:"text/x-cmake",languageId:47},COBOL:{type:"programming",extensions:[".cob",".cbl",".ccp",".cobol",".cpy"],tmScope:"source.cobol",aceMode:"cobol",codemirrorMode:"cobol",codemirrorMimeType:"text/x-cobol",languageId:48},CODEOWNERS:{type:"data",filenames:["CODEOWNERS"],tmScope:"text.codeowners",aceMode:"gitignore",languageId:321684729},COLLADA:{type:"data",color:"#F1A42B",extensions:[".dae"],tmScope:"text.xml",aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",languageId:49},CSON:{type:"data",color:"#244776",tmScope:"source.coffee",aceMode:"coffee",codemirrorMode:"coffeescript",codemirrorMimeType:"text/x-coffeescript",extensions:[".cson"],languageId:424},CSS:{type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},CSV:{type:"data",color:"#237346",aceMode:"text",tmScope:"none",extensions:[".csv"],languageId:51},CUE:{type:"programming",extensions:[".cue"],tmScope:"source.cue",aceMode:"text",color:"#5886E1",languageId:356063509},CWeb:{type:"programming",color:"#00007a",extensions:[".w"],tmScope:"none",aceMode:"text",languageId:657332628},"Cabal Config":{type:"data",color:"#483465",aliases:["Cabal"],extensions:[".cabal"],filenames:["cabal.config","cabal.project"],aceMode:"haskell",codemirrorMode:"haskell",codemirrorMimeType:"text/x-haskell",tmScope:"source.cabal",languageId:677095381},"Cap'n Proto":{type:"programming",color:"#c42727",tmScope:"source.capnp",extensions:[".capnp"],aceMode:"text",languageId:52},CartoCSS:{type:"programming",aliases:["Carto"],extensions:[".mss"],aceMode:"text",tmScope:"source.css.mss",languageId:53},Ceylon:{type:"programming",color:"#dfa535",extensions:[".ceylon"],tmScope:"source.ceylon",aceMode:"text",languageId:54},Chapel:{type:"programming",color:"#8dc63f",aliases:["chpl"],extensions:[".chpl"],tmScope:"source.chapel",aceMode:"text",languageId:55},Charity:{type:"programming",extensions:[".ch"],tmScope:"none",aceMode:"text",languageId:56},ChucK:{type:"programming",color:"#3f8000",extensions:[".ck"],tmScope:"source.java",aceMode:"java",codemirrorMode:"clike",codemirrorMimeType:"text/x-java",languageId:57},Cirru:{type:"programming",color:"#ccccff",tmScope:"source.cirru",aceMode:"cirru",extensions:[".cirru"],languageId:58},Clarion:{type:"programming",color:"#db901e",aceMode:"text",extensions:[".clw"],tmScope:"source.clarion",languageId:59},"Classic ASP":{type:"programming",color:"#6a40fd",tmScope:"text.html.asp",aliases:["asp"],extensions:[".asp"],aceMode:"text",languageId:8},Clean:{type:"programming",color:"#3F85AF",extensions:[".icl",".dcl"],tmScope:"source.clean",aceMode:"text",languageId:60},Click:{type:"programming",color:"#E4E6F3",extensions:[".click"],tmScope:"source.click",aceMode:"text",languageId:61},Clojure:{type:"programming",tmScope:"source.clojure",aceMode:"clojure",codemirrorMode:"clojure",codemirrorMimeType:"text/x-clojure",color:"#db5855",extensions:[".clj",".boot",".cl2",".cljc",".cljs",".cljs.hl",".cljscm",".cljx",".hic"],filenames:["riemann.config"],languageId:62},"Closure Templates":{type:"markup",color:"#0d948f",aceMode:"soy_template",codemirrorMode:"soy",codemirrorMimeType:"text/x-soy",aliases:["soy"],extensions:[".soy"],tmScope:"text.html.soy",languageId:357046146},"Cloud Firestore Security Rules":{type:"data",color:"#FFA000",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",tmScope:"source.firestore",filenames:["firestore.rules"],languageId:407996372},"CoNLL-U":{type:"data",extensions:[".conllu",".conll"],tmScope:"text.conllu",aceMode:"text",aliases:["CoNLL","CoNLL-X"],languageId:421026389},CodeQL:{type:"programming",color:"#140f46",extensions:[".ql",".qll"],tmScope:"source.ql",aceMode:"text",languageId:424259634,aliases:["ql"]},CoffeeScript:{type:"programming",tmScope:"source.coffee",aceMode:"coffee",codemirrorMode:"coffeescript",codemirrorMimeType:"text/x-coffeescript",color:"#244776",aliases:["coffee","coffee-script"],extensions:[".coffee","._coffee",".cake",".cjsx",".iced"],filenames:["Cakefile"],interpreters:["coffee"],languageId:63},ColdFusion:{type:"programming",aceMode:"coldfusion",color:"#ed2cd6",aliases:["cfm","cfml","coldfusion html"],extensions:[".cfm",".cfml"],tmScope:"text.html.cfm",languageId:64},"ColdFusion CFC":{type:"programming",color:"#ed2cd6",group:"ColdFusion",aceMode:"coldfusion",aliases:["cfc"],extensions:[".cfc"],tmScope:"source.cfscript",languageId:65},"Common Lisp":{type:"programming",tmScope:"source.lisp",color:"#3fb68b",aliases:["lisp"],extensions:[".lisp",".asd",".cl",".l",".lsp",".ny",".podsl",".sexp"],interpreters:["lisp","sbcl","ccl","clisp","ecl"],aceMode:"lisp",codemirrorMode:"commonlisp",codemirrorMimeType:"text/x-common-lisp",languageId:66},"Common Workflow Language":{aliases:["cwl"],type:"programming",aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",extensions:[".cwl"],interpreters:["cwl-runner"],color:"#B5314C",tmScope:"source.cwl",languageId:988547172},"Component Pascal":{type:"programming",color:"#B0CE4E",extensions:[".cp",".cps"],tmScope:"source.pascal",aceMode:"pascal",codemirrorMode:"pascal",codemirrorMimeType:"text/x-pascal",languageId:67},Cool:{type:"programming",extensions:[".cl"],tmScope:"source.cool",aceMode:"text",languageId:68},Coq:{type:"programming",color:"#d0b68c",extensions:[".coq",".v"],tmScope:"source.coq",aceMode:"text",languageId:69},"Cpp-ObjDump":{type:"data",extensions:[".cppobjdump",".c++-objdump",".c++objdump",".cpp-objdump",".cxx-objdump"],tmScope:"objdump.x86asm",aliases:["c++-objdump"],aceMode:"assembly_x86",languageId:70},Creole:{type:"prose",wrap:!0,extensions:[".creole"],tmScope:"text.html.creole",aceMode:"text",languageId:71},Crystal:{type:"programming",color:"#000100",extensions:[".cr"],aceMode:"ruby",codemirrorMode:"crystal",codemirrorMimeType:"text/x-crystal",tmScope:"source.crystal",interpreters:["crystal"],languageId:72},Csound:{type:"programming",color:"#1a1a1a",aliases:["csound-orc"],extensions:[".orc",".udo"],tmScope:"source.csound",aceMode:"csound_orchestra",languageId:73},"Csound Document":{type:"programming",color:"#1a1a1a",aliases:["csound-csd"],extensions:[".csd"],tmScope:"source.csound-document",aceMode:"csound_document",languageId:74},"Csound Score":{type:"programming",color:"#1a1a1a",aliases:["csound-sco"],extensions:[".sco"],tmScope:"source.csound-score",aceMode:"csound_score",languageId:75},Cuda:{type:"programming",extensions:[".cu",".cuh"],tmScope:"source.cuda-c++",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-c++src",color:"#3A4E3A",languageId:77},"Cue Sheet":{type:"data",extensions:[".cue"],tmScope:"source.cuesheet",aceMode:"text",languageId:942714150},Cycript:{type:"programming",extensions:[".cy"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",languageId:78},Cython:{type:"programming",color:"#fedf5b",extensions:[".pyx",".pxd",".pxi"],aliases:["pyrex"],tmScope:"source.cython",aceMode:"text",codemirrorMode:"python",codemirrorMimeType:"text/x-cython",languageId:79},D:{type:"programming",color:"#ba595e",aliases:["Dlang"],extensions:[".d",".di"],tmScope:"source.d",aceMode:"d",codemirrorMode:"d",codemirrorMimeType:"text/x-d",languageId:80},"D-ObjDump":{type:"data",extensions:[".d-objdump"],tmScope:"objdump.x86asm",aceMode:"assembly_x86",languageId:81},"DIGITAL Command Language":{type:"programming",aliases:["dcl"],extensions:[".com"],tmScope:"none",aceMode:"text",languageId:82},DM:{type:"programming",color:"#447265",extensions:[".dm"],aliases:["byond"],tmScope:"source.dm",aceMode:"c_cpp",languageId:83},"DNS Zone":{type:"data",extensions:[".zone",".arpa"],tmScope:"text.zone_file",aceMode:"text",languageId:84},DTrace:{type:"programming",aliases:["dtrace-script"],extensions:[".d"],interpreters:["dtrace"],tmScope:"source.c",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",languageId:85},Dafny:{type:"programming",color:"#FFEC25",extensions:[".dfy"],interpreters:["dafny"],tmScope:"text.dfy.dafny",aceMode:"text",languageId:969323346},"Darcs Patch":{type:"data",color:"#8eff23",aliases:["dpatch"],extensions:[".darcspatch",".dpatch"],tmScope:"none",aceMode:"text",languageId:86},Dart:{type:"programming",color:"#00B4AB",extensions:[".dart"],interpreters:["dart"],tmScope:"source.dart",aceMode:"dart",codemirrorMode:"dart",codemirrorMimeType:"application/dart",languageId:87},DataWeave:{type:"programming",color:"#003a52",extensions:[".dwl"],aceMode:"text",tmScope:"source.data-weave",languageId:974514097},Dhall:{type:"programming",color:"#dfafff",extensions:[".dhall"],tmScope:"source.haskell",aceMode:"haskell",codemirrorMode:"haskell",codemirrorMimeType:"text/x-haskell",languageId:793969321},Diff:{type:"data",extensions:[".diff",".patch"],aliases:["udiff"],tmScope:"source.diff",aceMode:"diff",codemirrorMode:"diff",codemirrorMimeType:"text/x-diff",languageId:88},"DirectX 3D File":{type:"data",color:"#aace60",extensions:[".x"],aceMode:"text",tmScope:"none",languageId:201049282},Dockerfile:{type:"programming",color:"#384d54",tmScope:"source.dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aceMode:"dockerfile",codemirrorMode:"dockerfile",codemirrorMimeType:"text/x-dockerfile",languageId:89},Dogescript:{type:"programming",color:"#cca760",extensions:[".djs"],tmScope:"none",aceMode:"text",languageId:90},Dylan:{type:"programming",color:"#6c616e",extensions:[".dylan",".dyl",".intr",".lid"],tmScope:"source.dylan",aceMode:"text",codemirrorMode:"dylan",codemirrorMimeType:"text/x-dylan",languageId:91},E:{type:"programming",color:"#ccce35",extensions:[".E"],interpreters:["rune"],tmScope:"none",aceMode:"text",languageId:92},"E-mail":{type:"data",aliases:["email","eml","mail","mbox"],extensions:[".eml",".mbox"],tmScope:"text.eml.basic",aceMode:"text",codemirrorMode:"mbox",codemirrorMimeType:"application/mbox",languageId:529653389},EBNF:{type:"data",extensions:[".ebnf"],tmScope:"source.ebnf",aceMode:"text",codemirrorMode:"ebnf",codemirrorMimeType:"text/x-ebnf",languageId:430},ECL:{type:"programming",color:"#8a1267",extensions:[".ecl",".eclxml"],tmScope:"source.ecl",aceMode:"text",codemirrorMode:"ecl",codemirrorMimeType:"text/x-ecl",languageId:93},ECLiPSe:{type:"programming",color:"#001d9d",group:"prolog",extensions:[".ecl"],tmScope:"source.prolog.eclipse",aceMode:"prolog",languageId:94},EJS:{type:"markup",color:"#a91e50",extensions:[".ejs",".ect",".jst"],tmScope:"text.html.js",aceMode:"ejs",languageId:95},EQ:{type:"programming",color:"#a78649",extensions:[".eq"],tmScope:"source.cs",aceMode:"csharp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csharp",languageId:96},Eagle:{type:"data",extensions:[".sch",".brd"],tmScope:"text.xml",aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",languageId:97},Easybuild:{type:"data",color:"#069406",group:"Python",aceMode:"python",codemirrorMode:"python",codemirrorMimeType:"text/x-python",tmScope:"source.python",extensions:[".eb"],languageId:342840477},"Ecere Projects":{type:"data",color:"#913960",group:"JavaScript",extensions:[".epj"],tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:98},EditorConfig:{type:"data",color:"#fff1f2",group:"INI",filenames:[".editorconfig"],aliases:["editor-config"],aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",tmScope:"source.editorconfig",languageId:96139566},"Edje Data Collection":{type:"data",extensions:[".edc"],tmScope:"source.c++",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-c++src",languageId:342840478},Eiffel:{type:"programming",color:"#4d6977",extensions:[".e"],tmScope:"source.eiffel",aceMode:"eiffel",codemirrorMode:"eiffel",codemirrorMimeType:"text/x-eiffel",languageId:99},Elixir:{type:"programming",color:"#6e4a7e",extensions:[".ex",".exs"],tmScope:"source.elixir",aceMode:"elixir",filenames:["mix.lock"],interpreters:["elixir"],languageId:100},Elm:{type:"programming",color:"#60B5CC",extensions:[".elm"],tmScope:"source.elm",aceMode:"elm",codemirrorMode:"elm",codemirrorMimeType:"text/x-elm",languageId:101},"Emacs Lisp":{type:"programming",tmScope:"source.emacs.lisp",color:"#c065db",aliases:["elisp","emacs"],filenames:[".abbrev_defs",".emacs",".emacs.desktop",".gnus",".spacemacs",".viper","Cask","Project.ede","_emacs","abbrev_defs"],extensions:[".el",".emacs",".emacs.desktop"],aceMode:"lisp",codemirrorMode:"commonlisp",codemirrorMimeType:"text/x-common-lisp",languageId:102},EmberScript:{type:"programming",color:"#FFF4F3",extensions:[".em",".emberscript"],tmScope:"source.coffee",aceMode:"coffee",codemirrorMode:"coffeescript",codemirrorMimeType:"text/x-coffeescript",languageId:103},Erlang:{type:"programming",color:"#B83998",extensions:[".erl",".app.src",".es",".escript",".hrl",".xrl",".yrl"],filenames:["Emakefile","rebar.config","rebar.config.lock","rebar.lock"],tmScope:"source.erlang",aceMode:"erlang",codemirrorMode:"erlang",codemirrorMimeType:"text/x-erlang",interpreters:["escript"],languageId:104},"F#":{type:"programming",color:"#b845fc",aliases:["fsharp"],extensions:[".fs",".fsi",".fsx"],tmScope:"source.fsharp",aceMode:"text",codemirrorMode:"mllike",codemirrorMimeType:"text/x-fsharp",languageId:105},"F*":{fsName:"Fstar",type:"programming",color:"#572e30",aliases:["fstar"],extensions:[".fst"],tmScope:"source.fstar",aceMode:"text",languageId:336943375},"FIGlet Font":{type:"data",color:"#FFDDBB",aliases:["FIGfont"],extensions:[".flf"],tmScope:"source.figfont",aceMode:"text",languageId:686129783},FLUX:{type:"programming",color:"#88ccff",extensions:[".fx",".flux"],tmScope:"none",aceMode:"text",languageId:106},Factor:{type:"programming",color:"#636746",extensions:[".factor"],filenames:[".factor-boot-rc",".factor-rc"],tmScope:"source.factor",aceMode:"text",codemirrorMode:"factor",codemirrorMimeType:"text/x-factor",languageId:108},Fancy:{type:"programming",color:"#7b9db4",extensions:[".fy",".fancypack"],filenames:["Fakefile"],tmScope:"source.fancy",aceMode:"text",languageId:109},Fantom:{type:"programming",color:"#14253c",extensions:[".fan"],tmScope:"source.fan",aceMode:"text",languageId:110},Faust:{type:"programming",color:"#c37240",extensions:[".dsp"],tmScope:"source.faust",aceMode:"text",languageId:622529198},Fennel:{type:"programming",tmScope:"source.fnl",aceMode:"text",color:"#fff3d7",interpreters:["fennel"],extensions:[".fnl"],languageId:239946126},"Filebench WML":{type:"programming",color:"#F6B900",extensions:[".f"],tmScope:"none",aceMode:"text",languageId:111},Filterscript:{type:"programming",group:"RenderScript",extensions:[".fs"],tmScope:"none",aceMode:"text",languageId:112},Fluent:{type:"programming",color:"#ffcc33",extensions:[".ftl"],tmScope:"source.ftl",aceMode:"text",languageId:206353404},Formatted:{type:"data",extensions:[".for",".eam.fs"],tmScope:"none",aceMode:"text",languageId:113},Forth:{type:"programming",color:"#341708",extensions:[".fth",".4th",".f",".for",".forth",".fr",".frt",".fs"],tmScope:"source.forth",aceMode:"forth",codemirrorMode:"forth",codemirrorMimeType:"text/x-forth",languageId:114},Fortran:{group:"Fortran",type:"programming",color:"#4d41b1",extensions:[".f",".f77",".for",".fpp"],tmScope:"source.fortran",aceMode:"text",codemirrorMode:"fortran",codemirrorMimeType:"text/x-fortran",languageId:107},"Fortran Free Form":{group:"Fortran",color:"#4d41b1",type:"programming",extensions:[".f90",".f03",".f08",".f95"],tmScope:"source.fortran.modern",aceMode:"text",codemirrorMode:"fortran",codemirrorMimeType:"text/x-fortran",languageId:761352333},FreeBasic:{type:"programming",color:"#867db1",extensions:[".bi",".bas"],tmScope:"source.vbnet",aliases:["fb"],aceMode:"text",codemirrorMode:"vb",codemirrorMimeType:"text/x-vb",languageId:472896659},FreeMarker:{type:"programming",color:"#0050b2",aliases:["ftl"],extensions:[".ftl"],tmScope:"text.html.ftl",aceMode:"ftl",languageId:115},Frege:{type:"programming",color:"#00cafe",extensions:[".fr"],tmScope:"source.haskell",aceMode:"haskell",languageId:116},Futhark:{type:"programming",color:"#5f021f",extensions:[".fut"],tmScope:"source.futhark",aceMode:"text",languageId:97358117},"G-code":{type:"programming",color:"#D08CF2",extensions:[".g",".cnc",".gco",".gcode"],tmScope:"source.gcode",aceMode:"gcode",languageId:117},GAML:{type:"programming",color:"#FFC766",extensions:[".gaml"],tmScope:"none",aceMode:"text",languageId:290345951},GAMS:{type:"programming",color:"#f49a22",extensions:[".gms"],tmScope:"none",aceMode:"text",languageId:118},GAP:{type:"programming",color:"#0000cc",extensions:[".g",".gap",".gd",".gi",".tst"],tmScope:"source.gap",aceMode:"text",languageId:119},"GCC Machine Description":{type:"programming",color:"#FFCFAB",extensions:[".md"],tmScope:"source.lisp",aceMode:"lisp",codemirrorMode:"commonlisp",codemirrorMimeType:"text/x-common-lisp",languageId:121},GDB:{type:"programming",extensions:[".gdb",".gdbinit"],tmScope:"source.gdb",aceMode:"text",languageId:122},GDScript:{type:"programming",color:"#355570",extensions:[".gd"],tmScope:"source.gdscript",aceMode:"text",languageId:123},GEDCOM:{type:"data",color:"#003058",aceMode:"text",extensions:[".ged"],tmScope:"source.gedcom",languageId:459577965},GLSL:{type:"programming",color:"#5686a5",extensions:[".glsl",".fp",".frag",".frg",".fs",".fsh",".fshader",".geo",".geom",".glslf",".glslv",".gs",".gshader",".shader",".tesc",".tese",".vert",".vrx",".vsh",".vshader"],tmScope:"source.glsl",aceMode:"glsl",languageId:124},GN:{type:"data",extensions:[".gn",".gni"],interpreters:["gn"],filenames:[".gn"],tmScope:"source.gn",aceMode:"python",codemirrorMode:"python",codemirrorMimeType:"text/x-python",languageId:302957008},"Game Maker Language":{type:"programming",color:"#71b417",extensions:[".gml"],tmScope:"source.c++",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-c++src",languageId:125},"Gemfile.lock":{type:"data",color:"#701516",searchable:!1,tmScope:"source.gemfile-lock",aceMode:"text",filenames:["Gemfile.lock"],languageId:907065713},Genie:{type:"programming",aceMode:"text",extensions:[".gs"],color:"#fb855d",tmScope:"none",languageId:792408528},Genshi:{type:"programming",color:"#951531",extensions:[".kid"],tmScope:"text.xml.genshi",aliases:["xml+genshi","xml+kid"],aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",languageId:126},"Gentoo Ebuild":{type:"programming",color:"#9400ff",group:"Shell",extensions:[".ebuild"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",languageId:127},"Gentoo Eclass":{type:"programming",color:"#9400ff",group:"Shell",extensions:[".eclass"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",languageId:128},"Gerber Image":{type:"data",color:"#d20b00",aliases:["rs-274x"],extensions:[".gbr",".cmp",".gbl",".gbo",".gbp",".gbs",".gko",".gml",".gpb",".gpt",".gtl",".gto",".gtp",".gts",".ncl",".sol"],interpreters:["gerbv","gerbview"],tmScope:"source.gerber",aceMode:"text",languageId:404627610},"Gettext Catalog":{type:"prose",aliases:["pot"],extensions:[".po",".pot"],tmScope:"source.po",aceMode:"text",languageId:129},Gherkin:{type:"programming",extensions:[".feature",".story"],tmScope:"text.gherkin.feature",aliases:["cucumber"],aceMode:"text",color:"#5B2063",languageId:76},"Git Attributes":{type:"data",color:"#F44D27",group:"INI",aliases:["gitattributes"],filenames:[".gitattributes"],tmScope:"source.gitattributes",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",languageId:956324166},"Git Config":{type:"data",color:"#F44D27",group:"INI",aliases:["gitconfig","gitmodules"],extensions:[".gitconfig"],filenames:[".gitconfig",".gitmodules"],aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",tmScope:"source.gitconfig",languageId:807968997},Glyph:{type:"programming",color:"#c1ac7f",extensions:[".glf"],tmScope:"source.tcl",aceMode:"tcl",codemirrorMode:"tcl",codemirrorMimeType:"text/x-tcl",languageId:130},"Glyph Bitmap Distribution Format":{type:"data",extensions:[".bdf"],tmScope:"source.bdf",aceMode:"text",languageId:997665271},Gnuplot:{type:"programming",color:"#f0a9f0",extensions:[".gp",".gnu",".gnuplot",".p",".plot",".plt"],interpreters:["gnuplot"],tmScope:"source.gnuplot",aceMode:"text",languageId:131},Go:{type:"programming",color:"#00ADD8",aliases:["golang"],extensions:[".go"],tmScope:"source.go",aceMode:"golang",codemirrorMode:"go",codemirrorMimeType:"text/x-go",languageId:132},"Go Checksums":{type:"data",color:"#00ADD8",aliases:["go.sum","go sum"],filenames:["go.sum"],tmScope:"go.sum",aceMode:"text",languageId:1054391671},"Go Module":{type:"data",color:"#00ADD8",aliases:["go.mod","go mod"],filenames:["go.mod"],tmScope:"go.mod",aceMode:"text",languageId:947461016},Golo:{type:"programming",color:"#88562A",extensions:[".golo"],tmScope:"source.golo",aceMode:"text",languageId:133},Gosu:{type:"programming",color:"#82937f",extensions:[".gs",".gst",".gsx",".vark"],tmScope:"source.gosu.2",aceMode:"text",languageId:134},Grace:{type:"programming",color:"#615f8b",extensions:[".grace"],tmScope:"source.grace",aceMode:"text",languageId:135},Gradle:{type:"data",color:"#02303a",extensions:[".gradle"],tmScope:"source.groovy.gradle",aceMode:"text",languageId:136},"Grammatical Framework":{type:"programming",aliases:["gf"],extensions:[".gf"],color:"#ff0000",tmScope:"source.gf",aceMode:"haskell",codemirrorMode:"haskell",codemirrorMimeType:"text/x-haskell",languageId:137},"Graph Modeling Language":{type:"data",extensions:[".gml"],tmScope:"none",aceMode:"text",languageId:138},GraphQL:{type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},"Graphviz (DOT)":{type:"data",color:"#2596be",tmScope:"source.dot",extensions:[".dot",".gv"],aceMode:"text",languageId:140},Groovy:{type:"programming",tmScope:"source.groovy",aceMode:"groovy",codemirrorMode:"groovy",codemirrorMimeType:"text/x-groovy",color:"#4298b8",extensions:[".groovy",".grt",".gtpl",".gvy"],interpreters:["groovy"],filenames:["Jenkinsfile"],languageId:142},"Groovy Server Pages":{type:"programming",color:"#4298b8",group:"Groovy",aliases:["gsp","java server page"],extensions:[".gsp"],tmScope:"text.html.jsp",aceMode:"jsp",codemirrorMode:"htmlembedded",codemirrorMimeType:"application/x-jsp",languageId:143},HAProxy:{type:"data",color:"#106da9",extensions:[".cfg"],filenames:["haproxy.cfg"],tmScope:"source.haproxy-config",aceMode:"text",languageId:366607477},HCL:{type:"programming",extensions:[".hcl",".nomad",".tf",".tfvars",".workflow"],aliases:["HashiCorp Configuration Language","terraform"],aceMode:"ruby",codemirrorMode:"ruby",codemirrorMimeType:"text/x-ruby",tmScope:"source.terraform",languageId:144},HLSL:{type:"programming",color:"#aace60",extensions:[".hlsl",".cginc",".fx",".fxh",".hlsli"],aceMode:"text",tmScope:"source.hlsl",languageId:145},HTML:{type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146},"HTML+ECR":{type:"markup",color:"#2e1052",tmScope:"text.html.ecr",group:"HTML",aliases:["ecr"],extensions:[".ecr"],aceMode:"text",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",languageId:148},"HTML+EEX":{type:"markup",color:"#6e4a7e",tmScope:"text.html.elixir",group:"HTML",aliases:["eex","leex"],extensions:[".eex",".html.leex"],aceMode:"text",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",languageId:149},"HTML+ERB":{type:"markup",color:"#701516",tmScope:"text.html.erb",group:"HTML",aliases:["erb","rhtml","html+ruby"],extensions:[".erb",".erb.deface",".rhtml"],aceMode:"text",codemirrorMode:"htmlembedded",codemirrorMimeType:"application/x-erb",languageId:150},"HTML+PHP":{type:"markup",color:"#4f5d95",tmScope:"text.html.php",group:"HTML",extensions:[".phtml"],aceMode:"php",codemirrorMode:"php",codemirrorMimeType:"application/x-httpd-php",languageId:151},"HTML+Razor":{type:"markup",color:"#512be4",tmScope:"text.html.cshtml",group:"HTML",aliases:["razor"],extensions:[".cshtml",".razor"],aceMode:"razor",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",languageId:479039817},HTTP:{type:"data",color:"#005C9C",extensions:[".http"],tmScope:"source.httpspec",aceMode:"text",codemirrorMode:"http",codemirrorMimeType:"message/http",languageId:152},HXML:{type:"data",color:"#f68712",aceMode:"text",extensions:[".hxml"],tmScope:"source.hxml",languageId:786683730},Hack:{type:"programming",aceMode:"php",codemirrorMode:"php",codemirrorMimeType:"application/x-httpd-php",extensions:[".hack",".hh",".hhi",".php"],tmScope:"source.hack",color:"#878787",languageId:153},Haml:{type:"markup",color:"#ece2a9",extensions:[".haml",".haml.deface"],tmScope:"text.haml",aceMode:"haml",codemirrorMode:"haml",codemirrorMimeType:"text/x-haml",languageId:154},Handlebars:{type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},Harbour:{type:"programming",color:"#0e60e3",extensions:[".hb"],tmScope:"source.harbour",aceMode:"text",languageId:156},Haskell:{type:"programming",color:"#5e5086",extensions:[".hs",".hs-boot",".hsc"],interpreters:["runghc","runhaskell","runhugs"],tmScope:"source.haskell",aceMode:"haskell",codemirrorMode:"haskell",codemirrorMimeType:"text/x-haskell",languageId:157},Haxe:{type:"programming",aceMode:"haxe",codemirrorMode:"haxe",codemirrorMimeType:"text/x-haxe",color:"#df7900",extensions:[".hx",".hxsl"],tmScope:"source.hx",languageId:158},HiveQL:{type:"programming",extensions:[".q",".hql"],color:"#dce200",tmScope:"source.hql",aceMode:"sql",languageId:931814087},HolyC:{type:"programming",color:"#ffefaf",extensions:[".hc"],tmScope:"source.hc",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",languageId:928121743},Hy:{type:"programming",aceMode:"text",color:"#7790B2",extensions:[".hy"],interpreters:["hy"],aliases:["hylang"],tmScope:"source.hy",languageId:159},HyPhy:{type:"programming",aceMode:"text",extensions:[".bf"],tmScope:"none",languageId:160},IDL:{type:"programming",color:"#a3522f",extensions:[".pro",".dlm"],tmScope:"source.idl",aceMode:"text",codemirrorMode:"idl",codemirrorMimeType:"text/x-idl",languageId:161},"IGOR Pro":{type:"programming",color:"#0000cc",extensions:[".ipf"],aliases:["igor","igorpro"],tmScope:"source.igor",aceMode:"text",languageId:162},INI:{type:"data",color:"#d1dbe0",extensions:[".ini",".cfg",".dof",".lektorproject",".prefs",".pro",".properties"],filenames:["buildozer.spec"],tmScope:"source.ini",aliases:["dosini"],aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",languageId:163},"IRC log":{type:"data",aliases:["irc","irc logs"],extensions:[".irclog",".weechatlog"],tmScope:"none",aceMode:"text",codemirrorMode:"mirc",codemirrorMimeType:"text/mirc",languageId:164},Idris:{type:"programming",color:"#b30000",extensions:[".idr",".lidr"],aceMode:"text",tmScope:"source.idris",languageId:165},"Ignore List":{type:"data",color:"#000000",group:"INI",aliases:["ignore","gitignore","git-ignore"],extensions:[".gitignore"],filenames:[".atomignore",".babelignore",".bzrignore",".coffeelintignore",".cvsignore",".dockerignore",".eleventyignore",".eslintignore",".gitignore",".markdownlintignore",".nodemonignore",".npmignore",".prettierignore",".stylelintignore",".vscodeignore","gitignore-global","gitignore_global"],aceMode:"gitignore",tmScope:"source.gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",languageId:74444240},"ImageJ Macro":{type:"programming",color:"#99AAFF",aliases:["ijm"],extensions:[".ijm"],aceMode:"text",tmScope:"none",languageId:575143428},"Inform 7":{type:"programming",wrap:!0,extensions:[".ni",".i7x"],tmScope:"source.inform7",aliases:["i7","inform7"],aceMode:"text",languageId:166},"Inno Setup":{type:"programming",color:"#264b99",extensions:[".iss",".isl"],tmScope:"source.inno",aceMode:"text",languageId:167},Io:{type:"programming",color:"#a9188d",extensions:[".io"],interpreters:["io"],tmScope:"source.io",aceMode:"io",languageId:168},Ioke:{type:"programming",color:"#078193",extensions:[".ik"],interpreters:["ioke"],tmScope:"source.ioke",aceMode:"text",languageId:169},Isabelle:{type:"programming",color:"#FEFE00",extensions:[".thy"],tmScope:"source.isabelle.theory",aceMode:"text",languageId:170},"Isabelle ROOT":{type:"programming",color:"#FEFE00",group:"Isabelle",filenames:["ROOT"],tmScope:"source.isabelle.root",aceMode:"text",languageId:171},J:{type:"programming",color:"#9EEDFF",extensions:[".ijs"],interpreters:["jconsole"],tmScope:"source.j",aceMode:"text",languageId:172},"JAR Manifest":{type:"data",color:"#b07219",filenames:["MANIFEST.MF"],tmScope:"source.yaml",aceMode:"text",languageId:447261135},JFlex:{type:"programming",color:"#DBCA00",group:"Lex",extensions:[".flex",".jflex"],tmScope:"source.jflex",aceMode:"text",languageId:173},JSON:{type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},"JSON with Comments":{type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".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"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},JSON5:{type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},JSONLD:{type:"data",color:"#0c479c",extensions:[".jsonld"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:176},JSONiq:{color:"#40d47e",type:"programming",aceMode:"jsoniq",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".jq"],tmScope:"source.jsoniq",languageId:177},Jasmin:{type:"programming",color:"#d03600",aceMode:"java",extensions:[".j"],tmScope:"source.jasmin",languageId:180},Java:{type:"programming",tmScope:"source.java",aceMode:"java",codemirrorMode:"clike",codemirrorMimeType:"text/x-java",color:"#b07219",extensions:[".java",".jav"],languageId:181},"Java Properties":{type:"data",color:"#2A6277",extensions:[".properties"],tmScope:"source.java-properties",aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",languageId:519377561},"Java Server Pages":{type:"programming",color:"#2A6277",group:"Java",aliases:["jsp"],extensions:[".jsp"],tmScope:"text.html.jsp",aceMode:"jsp",codemirrorMode:"htmlembedded",codemirrorMimeType:"application/x-jsp",languageId:182},JavaScript:{type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},"JavaScript+ERB":{type:"programming",color:"#f1e05a",tmScope:"source.js",group:"JavaScript",extensions:[".js.erb"],aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/javascript",languageId:914318960},"Jest Snapshot":{type:"data",color:"#15c213",tmScope:"source.jest.snap",extensions:[".snap"],aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/javascript",languageId:774635084},Jinja:{type:"markup",color:"#a52a22",aliases:["django","html+django","html+jinja","htmldjango"],extensions:[".jinja",".j2",".jinja2"],tmScope:"text.html.django",aceMode:"django",codemirrorMode:"django",codemirrorMimeType:"text/x-django",languageId:147},Jison:{type:"programming",color:"#56b3cb",group:"Yacc",extensions:[".jison"],tmScope:"source.jison",aceMode:"text",languageId:284531423},"Jison Lex":{type:"programming",color:"#56b3cb",group:"Lex",extensions:[".jisonlex"],tmScope:"source.jisonlex",aceMode:"text",languageId:406395330},Jolie:{type:"programming",extensions:[".ol",".iol"],interpreters:["jolie"],color:"#843179",aceMode:"text",tmScope:"source.jolie",languageId:998078858},Jsonnet:{color:"#0064bd",type:"programming",aceMode:"text",extensions:[".jsonnet",".libsonnet"],tmScope:"source.jsonnet",languageId:664885656},Julia:{type:"programming",extensions:[".jl"],interpreters:["julia"],color:"#a270ba",tmScope:"source.julia",aceMode:"julia",codemirrorMode:"julia",codemirrorMimeType:"text/x-julia",languageId:184},"Jupyter Notebook":{type:"markup",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",tmScope:"source.json",color:"#DA5B0B",extensions:[".ipynb"],filenames:["Notebook"],aliases:["IPython Notebook"],languageId:185},KRL:{type:"programming",color:"#28430A",extensions:[".krl"],tmScope:"none",aceMode:"text",languageId:186},"Kaitai Struct":{type:"programming",aliases:["ksy"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",color:"#773b37",extensions:[".ksy"],tmScope:"source.yaml",languageId:818804755},KakouneScript:{type:"programming",color:"#6f8042",tmScope:"source.kakscript",aliases:["kak","kakscript"],extensions:[".kak"],filenames:["kakrc"],aceMode:"text",languageId:603336474},"KiCad Layout":{type:"data",color:"#2f4aab",aliases:["pcbnew"],extensions:[".kicad_pcb",".kicad_mod",".kicad_wks"],filenames:["fp-lib-table"],tmScope:"source.pcb.sexp",aceMode:"lisp",codemirrorMode:"commonlisp",codemirrorMimeType:"text/x-common-lisp",languageId:187},"KiCad Legacy Layout":{type:"data",color:"#2f4aab",extensions:[".brd"],tmScope:"source.pcb.board",aceMode:"text",languageId:140848857},"KiCad Schematic":{type:"data",color:"#2f4aab",aliases:["eeschema schematic"],extensions:[".sch"],tmScope:"source.pcb.schematic",aceMode:"text",languageId:622447435},Kit:{type:"markup",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",extensions:[".kit"],tmScope:"text.html.basic",languageId:188},Kotlin:{type:"programming",color:"#A97BFF",extensions:[".kt",".ktm",".kts"],tmScope:"source.kotlin",aceMode:"text",codemirrorMode:"clike",codemirrorMimeType:"text/x-kotlin",languageId:189},Kusto:{type:"data",extensions:[".csl"],tmScope:"source.kusto",aceMode:"text",languageId:225697190},LFE:{type:"programming",color:"#4C3023",extensions:[".lfe"],tmScope:"source.lisp",aceMode:"lisp",codemirrorMode:"commonlisp",codemirrorMimeType:"text/x-common-lisp",languageId:190},LLVM:{type:"programming",extensions:[".ll"],tmScope:"source.llvm",aceMode:"text",color:"#185619",languageId:191},LOLCODE:{type:"programming",extensions:[".lol"],color:"#cc9900",tmScope:"none",aceMode:"text",languageId:192},LSL:{type:"programming",tmScope:"source.lsl",aceMode:"lsl",extensions:[".lsl",".lslp"],interpreters:["lsl"],color:"#3d9970",languageId:193},"LTspice Symbol":{type:"data",extensions:[".asy"],tmScope:"source.ltspice.symbol",aceMode:"text",codemirrorMode:"spreadsheet",codemirrorMimeType:"text/x-spreadsheet",languageId:1013566805},LabVIEW:{type:"programming",color:"#fede06",extensions:[".lvproj",".lvlib"],tmScope:"text.xml",aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",languageId:194},Lark:{type:"data",color:"#2980B9",extensions:[".lark"],tmScope:"source.lark",aceMode:"text",codemirrorMode:"ebnf",codemirrorMimeType:"text/x-ebnf",languageId:758480799},Lasso:{type:"programming",color:"#999999",extensions:[".lasso",".las",".lasso8",".lasso9"],tmScope:"file.lasso",aliases:["lassoscript"],aceMode:"text",languageId:195},Latte:{type:"markup",color:"#f2a542",extensions:[".latte"],tmScope:"text.html.smarty",aceMode:"smarty",codemirrorMode:"smarty",codemirrorMimeType:"text/x-smarty",languageId:196},Lean:{type:"programming",extensions:[".lean",".hlean"],tmScope:"source.lean",aceMode:"text",languageId:197},Less:{type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},Lex:{type:"programming",color:"#DBCA00",aliases:["flex"],extensions:[".l",".lex"],filenames:["Lexer.x","lexer.x"],tmScope:"source.lex",aceMode:"text",languageId:199},LilyPond:{type:"programming",color:"#9ccc7c",extensions:[".ly",".ily"],tmScope:"source.lilypond",aceMode:"text",languageId:200},Limbo:{type:"programming",extensions:[".b",".m"],tmScope:"none",aceMode:"text",languageId:201},"Linker Script":{type:"data",extensions:[".ld",".lds",".x"],filenames:["ld.script"],tmScope:"none",aceMode:"text",languageId:202},"Linux Kernel Module":{type:"data",extensions:[".mod"],tmScope:"none",aceMode:"text",languageId:203},Liquid:{type:"markup",color:"#67b8de",extensions:[".liquid"],tmScope:"text.html.liquid",aceMode:"liquid",languageId:204},"Literate Agda":{type:"programming",color:"#315665",group:"Agda",extensions:[".lagda"],tmScope:"none",aceMode:"text",languageId:205},"Literate CoffeeScript":{type:"programming",color:"#244776",tmScope:"source.litcoffee",group:"CoffeeScript",aceMode:"text",wrap:!0,aliases:["litcoffee"],extensions:[".litcoffee",".coffee.md"],languageId:206},"Literate Haskell":{type:"programming",color:"#5e5086",group:"Haskell",aliases:["lhaskell","lhs"],extensions:[".lhs"],tmScope:"text.tex.latex.haskell",aceMode:"text",codemirrorMode:"haskell-literate",codemirrorMimeType:"text/x-literate-haskell",languageId:207},LiveScript:{type:"programming",color:"#499886",aliases:["live-script","ls"],extensions:[".ls","._ls"],filenames:["Slakefile"],tmScope:"source.livescript",aceMode:"livescript",codemirrorMode:"livescript",codemirrorMimeType:"text/x-livescript",languageId:208},Logos:{type:"programming",extensions:[".xm",".x",".xi"],aceMode:"text",tmScope:"source.logos",languageId:209},Logtalk:{type:"programming",color:"#295b9a",extensions:[".lgt",".logtalk"],tmScope:"source.logtalk",aceMode:"text",languageId:210},LookML:{type:"programming",aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",color:"#652B81",extensions:[".lookml",".model.lkml",".view.lkml"],tmScope:"source.yaml",languageId:211},LoomScript:{type:"programming",extensions:[".ls"],tmScope:"source.loomscript",aceMode:"text",languageId:212},Lua:{type:"programming",tmScope:"source.lua",aceMode:"lua",codemirrorMode:"lua",codemirrorMimeType:"text/x-lua",color:"#000080",extensions:[".lua",".fcgi",".nse",".p8",".pd_lua",".rbxs",".rockspec",".wlua"],filenames:[".luacheckrc"],interpreters:["lua"],languageId:213},M:{type:"programming",aliases:["mumps"],extensions:[".mumps",".m"],aceMode:"text",codemirrorMode:"mumps",codemirrorMimeType:"text/x-mumps",languageId:214,tmScope:"none"},M4:{type:"programming",extensions:[".m4"],tmScope:"source.m4",aceMode:"text",languageId:215},M4Sugar:{type:"programming",group:"M4",aliases:["autoconf"],extensions:[".m4"],filenames:["configure.ac"],tmScope:"source.m4",aceMode:"text",languageId:216},MATLAB:{type:"programming",color:"#e16737",aliases:["octave"],extensions:[".matlab",".m"],tmScope:"source.matlab",aceMode:"matlab",codemirrorMode:"octave",codemirrorMimeType:"text/x-octave",languageId:225},MAXScript:{type:"programming",color:"#00a6a6",extensions:[".ms",".mcr"],tmScope:"source.maxscript",aceMode:"text",languageId:217},MLIR:{type:"programming",color:"#5EC8DB",extensions:[".mlir"],tmScope:"source.mlir",aceMode:"text",languageId:448253929},MQL4:{type:"programming",color:"#62A8D6",extensions:[".mq4",".mqh"],tmScope:"source.mql5",aceMode:"c_cpp",languageId:426},MQL5:{type:"programming",color:"#4A76B8",extensions:[".mq5",".mqh"],tmScope:"source.mql5",aceMode:"c_cpp",languageId:427},MTML:{type:"markup",color:"#b7e1f4",extensions:[".mtml"],tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",languageId:218},MUF:{type:"programming",group:"Forth",extensions:[".muf",".m"],tmScope:"none",aceMode:"forth",codemirrorMode:"forth",codemirrorMimeType:"text/x-forth",languageId:219},Macaulay2:{type:"programming",extensions:[".m2"],aliases:["m2"],interpreters:["M2"],aceMode:"text",tmScope:"source.m2",color:"#d8ffff",languageId:34167825},Makefile:{type:"programming",color:"#427819",aliases:["bsdmake","make","mf"],extensions:[".mak",".d",".make",".makefile",".mk",".mkfile"],filenames:["BSDmakefile","GNUmakefile","Kbuild","Makefile","Makefile.am","Makefile.boot","Makefile.frag","Makefile.in","Makefile.inc","Makefile.wat","makefile","makefile.sco","mkfile"],interpreters:["make"],tmScope:"source.makefile",aceMode:"makefile",codemirrorMode:"cmake",codemirrorMimeType:"text/x-cmake",languageId:220},Mako:{type:"programming",color:"#7e858d",extensions:[".mako",".mao"],tmScope:"text.html.mako",aceMode:"text",languageId:221},Markdown:{type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},Marko:{type:"markup",color:"#42bff2",tmScope:"text.marko",extensions:[".marko"],aliases:["markojs"],aceMode:"text",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",languageId:932782397},Mask:{type:"markup",color:"#f97732",aceMode:"mask",extensions:[".mask"],tmScope:"source.mask",languageId:223},Mathematica:{type:"programming",color:"#dd1100",extensions:[".mathematica",".cdf",".m",".ma",".mt",".nb",".nbp",".wl",".wlt"],aliases:["mma","wolfram","wolfram language","wolfram lang","wl"],tmScope:"source.mathematica",aceMode:"text",codemirrorMode:"mathematica",codemirrorMimeType:"text/x-mathematica",languageId:224},"Maven POM":{type:"data",group:"XML",tmScope:"text.xml.pom",filenames:["pom.xml"],aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",languageId:226},Max:{type:"programming",color:"#c4a79c",aliases:["max/msp","maxmsp"],extensions:[".maxpat",".maxhelp",".maxproj",".mxt",".pat"],tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:227},Mercury:{type:"programming",color:"#ff2b2b",aceMode:"prolog",interpreters:["mmi"],extensions:[".m",".moo"],tmScope:"source.mercury",languageId:229},Meson:{type:"programming",color:"#007800",filenames:["meson.build","meson_options.txt"],tmScope:"source.meson",aceMode:"text",languageId:799141244},Metal:{type:"programming",color:"#8f14e9",extensions:[".metal"],tmScope:"source.c++",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-c++src",languageId:230},"Microsoft Developer Studio Project":{type:"data",extensions:[".dsp"],tmScope:"none",aceMode:"text",languageId:800983837},"Microsoft Visual Studio Solution":{type:"data",extensions:[".sln"],tmScope:"source.solution",aceMode:"text",languageId:849523096},MiniD:{type:"programming",extensions:[".minid"],tmScope:"none",aceMode:"text",languageId:231},Mirah:{type:"programming",color:"#c7a938",extensions:[".druby",".duby",".mirah"],tmScope:"source.ruby",aceMode:"ruby",codemirrorMode:"ruby",codemirrorMimeType:"text/x-ruby",languageId:232},Modelica:{type:"programming",color:"#de1d31",extensions:[".mo"],tmScope:"source.modelica",aceMode:"text",codemirrorMode:"modelica",codemirrorMimeType:"text/x-modelica",languageId:233},"Modula-2":{type:"programming",color:"#10253f",extensions:[".mod"],tmScope:"source.modula2",aceMode:"text",languageId:234},"Modula-3":{type:"programming",extensions:[".i3",".ig",".m3",".mg"],color:"#223388",aceMode:"text",tmScope:"source.modula-3",languageId:564743864},"Module Management System":{type:"programming",extensions:[".mms",".mmk"],filenames:["descrip.mmk","descrip.mms"],tmScope:"none",aceMode:"text",languageId:235},Monkey:{type:"programming",extensions:[".monkey",".monkey2"],aceMode:"text",tmScope:"source.monkey",languageId:236},Moocode:{type:"programming",extensions:[".moo"],tmScope:"none",aceMode:"text",languageId:237},MoonScript:{type:"programming",color:"#ff4585",extensions:[".moon"],interpreters:["moon"],tmScope:"source.moonscript",aceMode:"text",languageId:238},"Motorola 68K Assembly":{type:"programming",color:"#005daa",group:"Assembly",aliases:["m68k"],extensions:[".asm",".i",".inc",".s",".x68"],tmScope:"source.m68k",aceMode:"assembly_x86",languageId:477582706},Muse:{type:"prose",extensions:[".muse"],tmScope:"text.muse",aceMode:"text",wrap:!0,languageId:474864066,aliases:["amusewiki","emacs muse"]},Mustache:{type:"markup",color:"#724b3b",extensions:[".mustache"],tmScope:"text.html.smarty",aceMode:"smarty",codemirrorMode:"smarty",codemirrorMimeType:"text/x-smarty",languageId:638334590},Myghty:{type:"programming",extensions:[".myt"],tmScope:"none",aceMode:"text",languageId:239},NASL:{type:"programming",extensions:[".nasl",".inc"],tmScope:"source.nasl",aceMode:"text",languageId:171666519},NCL:{type:"programming",color:"#28431f",extensions:[".ncl"],tmScope:"source.ncl",aceMode:"text",languageId:240},NEON:{type:"data",extensions:[".neon"],tmScope:"source.neon",aceMode:"text",aliases:["nette object notation","ne-on"],languageId:481192983},NL:{type:"data",extensions:[".nl"],tmScope:"none",aceMode:"text",languageId:241},"NPM Config":{type:"data",color:"#cb3837",group:"INI",aliases:["npmrc"],filenames:[".npmrc"],tmScope:"source.ini.npmrc",aceMode:"text",languageId:685022663},NSIS:{type:"programming",extensions:[".nsi",".nsh"],tmScope:"source.nsis",aceMode:"text",codemirrorMode:"nsis",codemirrorMimeType:"text/x-nsis",languageId:242},NWScript:{type:"programming",color:"#111522",extensions:[".nss"],tmScope:"source.c.nwscript",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",languageId:731233819},Nearley:{type:"programming",aceMode:"text",color:"#990000",extensions:[".ne",".nearley"],tmScope:"source.ne",languageId:521429430},Nemerle:{type:"programming",color:"#3d3c6e",extensions:[".n"],tmScope:"source.nemerle",aceMode:"text",languageId:243},NetLinx:{type:"programming",color:"#0aa0ff",extensions:[".axs",".axi"],tmScope:"source.netlinx",aceMode:"text",languageId:244},"NetLinx+ERB":{type:"programming",color:"#747faa",extensions:[".axs.erb",".axi.erb"],tmScope:"source.netlinx.erb",aceMode:"text",languageId:245},NetLogo:{type:"programming",color:"#ff6375",extensions:[".nlogo"],tmScope:"source.lisp",aceMode:"lisp",codemirrorMode:"commonlisp",codemirrorMimeType:"text/x-common-lisp",languageId:246},NewLisp:{type:"programming",color:"#87AED7",extensions:[".nl",".lisp",".lsp"],interpreters:["newlisp"],tmScope:"source.lisp",aceMode:"lisp",codemirrorMode:"commonlisp",codemirrorMimeType:"text/x-common-lisp",languageId:247},Nextflow:{type:"programming",aceMode:"groovy",tmScope:"source.nextflow",color:"#3ac486",extensions:[".nf"],filenames:["nextflow.config"],interpreters:["nextflow"],languageId:506780613},Nginx:{type:"data",color:"#009639",extensions:[".nginx",".nginxconf",".vhost"],filenames:["nginx.conf"],tmScope:"source.nginx",aliases:["nginx configuration file"],aceMode:"text",codemirrorMode:"nginx",codemirrorMimeType:"text/x-nginx-conf",languageId:248},Nim:{type:"programming",color:"#ffc200",extensions:[".nim",".nim.cfg",".nimble",".nimrod",".nims"],filenames:["nim.cfg"],aceMode:"text",tmScope:"source.nim",languageId:249},Ninja:{type:"data",tmScope:"source.ninja",extensions:[".ninja"],aceMode:"text",languageId:250},Nit:{type:"programming",color:"#009917",extensions:[".nit"],tmScope:"source.nit",aceMode:"text",languageId:251},Nix:{type:"programming",color:"#7e7eff",extensions:[".nix"],aliases:["nixos"],tmScope:"source.nix",aceMode:"nix",languageId:252},Nu:{type:"programming",color:"#c9df40",aliases:["nush"],extensions:[".nu"],filenames:["Nukefile"],tmScope:"source.nu",aceMode:"scheme",codemirrorMode:"scheme",codemirrorMimeType:"text/x-scheme",interpreters:["nush"],languageId:253},NumPy:{type:"programming",color:"#9C8AF9",group:"Python",extensions:[".numpy",".numpyw",".numsc"],tmScope:"none",aceMode:"text",codemirrorMode:"python",codemirrorMimeType:"text/x-python",languageId:254},Nunjucks:{type:"markup",color:"#3d8137",extensions:[".njk"],aliases:["njk"],tmScope:"text.html.nunjucks",aceMode:"nunjucks",languageId:461856962},OCaml:{type:"programming",aceMode:"ocaml",codemirrorMode:"mllike",codemirrorMimeType:"text/x-ocaml",color:"#3be133",extensions:[".ml",".eliom",".eliomi",".ml4",".mli",".mll",".mly"],interpreters:["ocaml","ocamlrun","ocamlscript"],tmScope:"source.ocaml",languageId:255},ObjDump:{type:"data",extensions:[".objdump"],tmScope:"objdump.x86asm",aceMode:"assembly_x86",languageId:256},"Object Data Instance Notation":{type:"data",extensions:[".odin"],tmScope:"source.odin-ehr",aceMode:"text",languageId:985227236},ObjectScript:{type:"programming",extensions:[".cls"],languageId:202735509,tmScope:"source.objectscript",color:"#424893",aceMode:"text"},"Objective-C":{type:"programming",tmScope:"source.objc",color:"#438eff",aliases:["obj-c","objc","objectivec"],extensions:[".m",".h"],aceMode:"objectivec",codemirrorMode:"clike",codemirrorMimeType:"text/x-objectivec",languageId:257},"Objective-C++":{type:"programming",tmScope:"source.objc++",color:"#6866fb",aliases:["obj-c++","objc++","objectivec++"],extensions:[".mm"],aceMode:"objectivec",codemirrorMode:"clike",codemirrorMimeType:"text/x-objectivec",languageId:258},"Objective-J":{type:"programming",color:"#ff0c5a",aliases:["obj-j","objectivej","objj"],extensions:[".j",".sj"],tmScope:"source.js.objj",aceMode:"text",languageId:259},Odin:{type:"programming",color:"#60AFFE",aliases:["odinlang","odin-lang"],extensions:[".odin"],tmScope:"source.odin",aceMode:"text",languageId:889244082},Omgrofl:{type:"programming",extensions:[".omgrofl"],color:"#cabbff",tmScope:"none",aceMode:"text",languageId:260},Opa:{type:"programming",extensions:[".opa"],tmScope:"source.opa",aceMode:"text",languageId:261},Opal:{type:"programming",color:"#f7ede0",extensions:[".opal"],tmScope:"source.opal",aceMode:"text",languageId:262},"Open Policy Agent":{type:"programming",color:"#7d9199",aceMode:"text",extensions:[".rego"],languageId:840483232,tmScope:"source.rego"},OpenCL:{type:"programming",color:"#ed2e2d",group:"C",extensions:[".cl",".opencl"],tmScope:"source.c",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",languageId:263},"OpenEdge ABL":{type:"programming",color:"#5ce600",aliases:["progress","openedge","abl"],extensions:[".p",".cls",".w"],tmScope:"source.abl",aceMode:"text",languageId:264},OpenQASM:{type:"programming",extensions:[".qasm"],color:"#AA70FF",tmScope:"source.qasm",aceMode:"text",languageId:153739399},"OpenRC runscript":{type:"programming",group:"Shell",aliases:["openrc"],interpreters:["openrc-run"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",languageId:265},OpenSCAD:{type:"programming",color:"#e5cd45",extensions:[".scad"],tmScope:"source.scad",aceMode:"scad",languageId:266},"OpenStep Property List":{type:"data",extensions:[".plist",".glyphs"],tmScope:"source.plist",aceMode:"text",languageId:598917541},"OpenType Feature File":{type:"data",aliases:["AFDKO"],extensions:[".fea"],tmScope:"source.opentype",aceMode:"text",languageId:374317347},Org:{type:"prose",color:"#77aa99",wrap:!0,extensions:[".org"],tmScope:"none",aceMode:"text",languageId:267},Ox:{type:"programming",extensions:[".ox",".oxh",".oxo"],tmScope:"source.ox",aceMode:"text",languageId:268},Oxygene:{type:"programming",color:"#cdd0e3",extensions:[".oxygene"],tmScope:"none",aceMode:"text",languageId:269},Oz:{type:"programming",color:"#fab738",extensions:[".oz"],tmScope:"source.oz",aceMode:"text",codemirrorMode:"oz",codemirrorMimeType:"text/x-oz",languageId:270},P4:{type:"programming",color:"#7055b5",extensions:[".p4"],tmScope:"source.p4",aceMode:"text",languageId:348895984},"PEG.js":{type:"programming",color:"#234d6b",extensions:[".pegjs"],tmScope:"source.pegjs",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",languageId:81442128},PHP:{type:"programming",tmScope:"text.html.php",aceMode:"php",codemirrorMode:"php",codemirrorMimeType:"application/x-httpd-php",color:"#4F5D95",extensions:[".php",".aw",".ctp",".fcgi",".inc",".php3",".php4",".php5",".phps",".phpt"],filenames:[".php",".php_cs",".php_cs.dist","Phakefile"],interpreters:["php"],aliases:["inc"],languageId:272},PLSQL:{type:"programming",aceMode:"sql",codemirrorMode:"sql",codemirrorMimeType:"text/x-plsql",tmScope:"none",color:"#dad8d8",extensions:[".pls",".bdy",".ddl",".fnc",".pck",".pkb",".pks",".plb",".plsql",".prc",".spc",".sql",".tpb",".tps",".trg",".vw"],languageId:273},PLpgSQL:{type:"programming",color:"#336790",aceMode:"pgsql",codemirrorMode:"sql",codemirrorMimeType:"text/x-sql",tmScope:"source.sql",extensions:[".pgsql",".sql"],languageId:274},"POV-Ray SDL":{type:"programming",color:"#6bac65",aliases:["pov-ray","povray"],extensions:[".pov",".inc"],tmScope:"source.pov-ray sdl",aceMode:"text",languageId:275},Pan:{type:"programming",color:"#cc0000",extensions:[".pan"],tmScope:"source.pan",aceMode:"text",languageId:276},Papyrus:{type:"programming",color:"#6600cc",extensions:[".psc"],tmScope:"source.papyrus.skyrim",aceMode:"text",languageId:277},Parrot:{type:"programming",color:"#f3ca0a",extensions:[".parrot"],tmScope:"none",aceMode:"text",languageId:278},"Parrot Assembly":{group:"Parrot",type:"programming",aliases:["pasm"],extensions:[".pasm"],interpreters:["parrot"],tmScope:"none",aceMode:"text",languageId:279},"Parrot Internal Representation":{group:"Parrot",tmScope:"source.parrot.pir",type:"programming",aliases:["pir"],extensions:[".pir"],interpreters:["parrot"],aceMode:"text",languageId:280},Pascal:{type:"programming",color:"#E3F171",aliases:["delphi","objectpascal"],extensions:[".pas",".dfm",".dpr",".inc",".lpr",".pascal",".pp"],interpreters:["instantfpc"],tmScope:"source.pascal",aceMode:"pascal",codemirrorMode:"pascal",codemirrorMimeType:"text/x-pascal",languageId:281},Pawn:{type:"programming",color:"#dbb284",extensions:[".pwn",".inc",".sma"],tmScope:"source.pawn",aceMode:"text",languageId:271},Pep8:{type:"programming",color:"#C76F5B",extensions:[".pep"],aceMode:"text",tmScope:"source.pep8",languageId:840372442},Perl:{type:"programming",tmScope:"source.perl",aceMode:"perl",codemirrorMode:"perl",codemirrorMimeType:"text/x-perl",color:"#0298c3",extensions:[".pl",".al",".cgi",".fcgi",".perl",".ph",".plx",".pm",".psgi",".t"],filenames:["Makefile.PL","Rexfile","ack","cpanfile"],interpreters:["cperl","perl"],aliases:["cperl"],languageId:282},Pic:{type:"markup",group:"Roff",tmScope:"source.pic",extensions:[".pic",".chem"],aceMode:"text",codemirrorMode:"troff",codemirrorMimeType:"text/troff",languageId:425},Pickle:{type:"data",extensions:[".pkl"],tmScope:"none",aceMode:"text",languageId:284},PicoLisp:{type:"programming",color:"#6067af",extensions:[".l"],interpreters:["picolisp","pil"],tmScope:"source.lisp",aceMode:"lisp",languageId:285},PigLatin:{type:"programming",color:"#fcd7de",extensions:[".pig"],tmScope:"source.pig_latin",aceMode:"text",languageId:286},Pike:{type:"programming",color:"#005390",extensions:[".pike",".pmod"],interpreters:["pike"],tmScope:"source.pike",aceMode:"text",languageId:287},PlantUML:{type:"data",extensions:[".puml",".iuml",".plantuml"],tmScope:"source.wsd",aceMode:"text",languageId:833504686},Pod:{type:"prose",aceMode:"perl",codemirrorMode:"perl",codemirrorMimeType:"text/x-perl",wrap:!0,extensions:[".pod"],interpreters:["perl"],tmScope:"none",languageId:288},"Pod 6":{type:"prose",aceMode:"perl",tmScope:"source.raku",wrap:!0,extensions:[".pod",".pod6"],interpreters:["perl6"],languageId:155357471},PogoScript:{type:"programming",color:"#d80074",extensions:[".pogo"],tmScope:"source.pogoscript",aceMode:"text",languageId:289},Pony:{type:"programming",extensions:[".pony"],tmScope:"source.pony",aceMode:"text",languageId:290},PostCSS:{type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},PostScript:{type:"markup",color:"#da291c",extensions:[".ps",".eps",".epsi",".pfa"],tmScope:"source.postscript",aliases:["postscr"],aceMode:"text",languageId:291},PowerBuilder:{type:"programming",color:"#8f0f8d",extensions:[".pbt",".sra",".sru",".srw"],tmScope:"none",aceMode:"text",languageId:292},PowerShell:{type:"programming",color:"#012456",tmScope:"source.powershell",aceMode:"powershell",codemirrorMode:"powershell",codemirrorMimeType:"application/x-powershell",aliases:["posh","pwsh"],extensions:[".ps1",".psd1",".psm1"],interpreters:["pwsh"],languageId:293},Prisma:{type:"data",color:"#0c344b",extensions:[".prisma"],tmScope:"source.prisma",aceMode:"text",languageId:499933428},Processing:{type:"programming",color:"#0096D8",extensions:[".pde"],tmScope:"source.processing",aceMode:"text",languageId:294},Proguard:{type:"data",extensions:[".pro"],tmScope:"none",aceMode:"text",languageId:716513858},Prolog:{type:"programming",color:"#74283c",extensions:[".pl",".pro",".prolog",".yap"],interpreters:["swipl","yap"],tmScope:"source.prolog",aceMode:"prolog",languageId:295},"Propeller Spin":{type:"programming",color:"#7fa2a7",extensions:[".spin"],tmScope:"source.spin",aceMode:"text",languageId:296},"Protocol Buffer":{type:"data",aliases:["protobuf","Protocol Buffers"],extensions:[".proto"],tmScope:"source.proto",aceMode:"protobuf",codemirrorMode:"protobuf",codemirrorMimeType:"text/x-protobuf",languageId:297},"Public Key":{type:"data",extensions:[".asc",".pub"],tmScope:"none",aceMode:"text",codemirrorMode:"asciiarmor",codemirrorMimeType:"application/pgp",languageId:298},Pug:{type:"markup",color:"#a86454",extensions:[".jade",".pug"],tmScope:"text.jade",aceMode:"jade",codemirrorMode:"pug",codemirrorMimeType:"text/x-pug",languageId:179},Puppet:{type:"programming",color:"#302B6D",extensions:[".pp"],filenames:["Modulefile"],aceMode:"text",codemirrorMode:"puppet",codemirrorMimeType:"text/x-puppet",tmScope:"source.puppet",languageId:299},"Pure Data":{type:"data",extensions:[".pd"],tmScope:"none",aceMode:"text",languageId:300},PureBasic:{type:"programming",color:"#5a6986",extensions:[".pb",".pbi"],tmScope:"none",aceMode:"text",languageId:301},PureScript:{type:"programming",color:"#1D222D",extensions:[".purs"],tmScope:"source.purescript",aceMode:"haskell",codemirrorMode:"haskell",codemirrorMimeType:"text/x-haskell",languageId:302},Python:{type:"programming",tmScope:"source.python",aceMode:"python",codemirrorMode:"python",codemirrorMimeType:"text/x-python",color:"#3572A5",extensions:[".py",".cgi",".fcgi",".gyp",".gypi",".lmi",".py3",".pyde",".pyi",".pyp",".pyt",".pyw",".rpy",".smk",".spec",".tac",".wsgi",".xpy"],filenames:[".gclient","DEPS","SConscript","SConstruct","Snakefile","wscript"],interpreters:["python","python2","python3"],aliases:["python3","rusthon"],languageId:303},"Python console":{type:"programming",color:"#3572A5",group:"Python",aliases:["pycon"],tmScope:"text.python.console",aceMode:"text",languageId:428},"Python traceback":{type:"data",color:"#3572A5",group:"Python",extensions:[".pytb"],tmScope:"text.python.traceback",aceMode:"text",languageId:304},"Q#":{type:"programming",extensions:[".qs"],aliases:["qsharp"],color:"#fed659",aceMode:"text",tmScope:"source.qsharp",languageId:697448245},QML:{type:"programming",color:"#44a51c",extensions:[".qml",".qbs"],tmScope:"source.qml",aceMode:"text",languageId:305},QMake:{type:"programming",extensions:[".pro",".pri"],interpreters:["qmake"],tmScope:"source.qmake",aceMode:"text",languageId:306},"Qt Script":{type:"programming",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",extensions:[".qs"],filenames:["installscript.qs","toolchain_installscript.qs"],color:"#00b841",tmScope:"source.js",languageId:558193693},Quake:{type:"programming",filenames:["m3makefile","m3overrides"],color:"#882233",aceMode:"text",tmScope:"source.quake",languageId:375265331},R:{type:"programming",color:"#198CE7",aliases:["R","Rscript","splus"],extensions:[".r",".rd",".rsx"],filenames:[".Rprofile","expr-dist"],interpreters:["Rscript"],tmScope:"source.r",aceMode:"r",codemirrorMode:"r",codemirrorMimeType:"text/x-rsrc",languageId:307},RAML:{type:"markup",aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",tmScope:"source.yaml",color:"#77d9fb",extensions:[".raml"],languageId:308},RDoc:{type:"prose",color:"#701516",aceMode:"rdoc",wrap:!0,extensions:[".rdoc"],tmScope:"text.rdoc",languageId:309},REALbasic:{type:"programming",extensions:[".rbbas",".rbfrm",".rbmnu",".rbres",".rbtbar",".rbuistate"],tmScope:"source.vbnet",aceMode:"text",languageId:310},REXX:{type:"programming",color:"#d90e09",aliases:["arexx"],extensions:[".rexx",".pprx",".rex"],interpreters:["regina","rexx"],tmScope:"source.rexx",aceMode:"text",languageId:311},RMarkdown:{type:"prose",color:"#198ce7",wrap:!0,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",extensions:[".rmd"],tmScope:"source.gfm",languageId:313},RPC:{type:"programming",aliases:["rpcgen","oncrpc","xdr"],aceMode:"c_cpp",extensions:[".x"],tmScope:"source.c",languageId:1031374237},"RPM Spec":{type:"data",tmScope:"source.rpm-spec",extensions:[".spec"],aliases:["specfile"],aceMode:"text",codemirrorMode:"rpm",codemirrorMimeType:"text/x-rpm-spec",languageId:314},RUNOFF:{type:"markup",color:"#665a4e",extensions:[".rnh",".rno"],wrap:!0,tmScope:"text.runoff",aceMode:"text",languageId:315},Racket:{type:"programming",color:"#3c5caa",extensions:[".rkt",".rktd",".rktl",".scrbl"],interpreters:["racket"],tmScope:"source.racket",aceMode:"lisp",languageId:316},Ragel:{type:"programming",color:"#9d5200",extensions:[".rl"],aliases:["ragel-rb","ragel-ruby"],tmScope:"none",aceMode:"text",languageId:317},Raku:{type:"programming",color:"#0000fb",extensions:[".6pl",".6pm",".nqp",".p6",".p6l",".p6m",".pl",".pl6",".pm",".pm6",".raku",".rakumod",".t"],interpreters:["perl6","raku","rakudo"],aliases:["perl6","perl-6"],tmScope:"source.raku",aceMode:"perl",codemirrorMode:"perl",codemirrorMimeType:"text/x-perl",languageId:283},Rascal:{type:"programming",color:"#fffaa0",extensions:[".rsc"],tmScope:"source.rascal",aceMode:"text",languageId:173616037},"Raw token data":{type:"data",aliases:["raw"],extensions:[".raw"],tmScope:"none",aceMode:"text",languageId:318},ReScript:{type:"programming",color:"#ed5051",aceMode:"rust",codemirrorMode:"rust",codemirrorMimeType:"text/x-rustsrc",extensions:[".res"],interpreters:["ocaml"],tmScope:"source.rescript",languageId:501875647},"Readline Config":{type:"data",group:"INI",aliases:["inputrc","readline"],filenames:[".inputrc","inputrc"],tmScope:"source.inputrc",aceMode:"text",languageId:538732839},Reason:{type:"programming",color:"#ff5847",aceMode:"rust",codemirrorMode:"rust",codemirrorMimeType:"text/x-rustsrc",extensions:[".re",".rei"],tmScope:"source.reason",languageId:869538413},Rebol:{type:"programming",color:"#358a5b",extensions:[".reb",".r",".r2",".r3",".rebol"],aceMode:"text",tmScope:"source.rebol",languageId:319},"Record Jar":{type:"data",filenames:["language-subtag-registry.txt"],tmScope:"source.record-jar",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",aceMode:"text",color:"#0673ba",languageId:865765202},Red:{type:"programming",color:"#f50000",extensions:[".red",".reds"],aliases:["red/system"],tmScope:"source.red",aceMode:"text",languageId:320},Redcode:{type:"programming",extensions:[".cw"],tmScope:"none",aceMode:"text",languageId:321},"Redirect Rules":{type:"data",aliases:["redirects"],filenames:["_redirects"],tmScope:"source.redirects",aceMode:"text",languageId:1020148948},"Regular Expression":{type:"data",color:"#009a00",extensions:[".regexp",".regex"],aliases:["regexp","regex"],aceMode:"text",tmScope:"source.regexp",languageId:363378884},"Ren'Py":{type:"programming",aliases:["renpy"],color:"#ff7f7f",extensions:[".rpy"],tmScope:"source.renpy",aceMode:"python",languageId:322},RenderScript:{type:"programming",extensions:[".rs",".rsh"],tmScope:"none",aceMode:"text",languageId:323},"Rich Text Format":{type:"markup",extensions:[".rtf"],tmScope:"text.rtf",aceMode:"text",languageId:51601661},Ring:{type:"programming",color:"#2D54CB",extensions:[".ring"],tmScope:"source.ring",aceMode:"text",languageId:431},Riot:{type:"markup",color:"#A71E49",aceMode:"html",extensions:[".riot"],tmScope:"text.html.riot",languageId:878396783},RobotFramework:{type:"programming",color:"#00c0b5",extensions:[".robot"],tmScope:"text.robot",aceMode:"text",languageId:324},Roff:{type:"markup",color:"#ecdebe",extensions:[".roff",".1",".1in",".1m",".1x",".2",".3",".3in",".3m",".3p",".3pm",".3qt",".3x",".4",".5",".6",".7",".8",".9",".l",".man",".mdoc",".me",".ms",".n",".nr",".rno",".tmac"],filenames:["eqnrc","mmn","mmt","troffrc","troffrc-end"],tmScope:"text.roff",aliases:["groff","man","manpage","man page","man-page","mdoc","nroff","troff"],wrap:!0,aceMode:"text",codemirrorMode:"troff",codemirrorMimeType:"text/troff",languageId:141},"Roff Manpage":{type:"markup",color:"#ecdebe",group:"Roff",extensions:[".1",".1in",".1m",".1x",".2",".3",".3in",".3m",".3p",".3pm",".3qt",".3x",".4",".5",".6",".7",".8",".9",".man",".mdoc"],wrap:!0,tmScope:"text.roff",aceMode:"text",codemirrorMode:"troff",codemirrorMimeType:"text/troff",languageId:612669833},Rouge:{type:"programming",aceMode:"clojure",codemirrorMode:"clojure",codemirrorMimeType:"text/x-clojure",color:"#cc0088",extensions:[".rg"],tmScope:"source.clojure",languageId:325},Ruby:{type:"programming",tmScope:"source.ruby",aceMode:"ruby",codemirrorMode:"ruby",codemirrorMimeType:"text/x-ruby",color:"#701516",aliases:["jruby","macruby","rake","rb","rbx"],extensions:[".rb",".builder",".eye",".fcgi",".gemspec",".god",".jbuilder",".mspec",".pluginspec",".podspec",".prawn",".rabl",".rake",".rbi",".rbuild",".rbw",".rbx",".ru",".ruby",".spec",".thor",".watchr"],interpreters:["ruby","macruby","rake","jruby","rbx"],filenames:[".irbrc",".pryrc",".simplecov","Appraisals","Berksfile","Brewfile","Buildfile","Capfile","Dangerfile","Deliverfile","Fastfile","Gemfile","Guardfile","Jarfile","Mavenfile","Podfile","Puppetfile","Rakefile","Snapfile","Thorfile","Vagrantfile","buildfile"],languageId:326},Rust:{type:"programming",aliases:["rs"],color:"#dea584",extensions:[".rs",".rs.in"],tmScope:"source.rust",aceMode:"rust",codemirrorMode:"rust",codemirrorMimeType:"text/x-rustsrc",languageId:327},SAS:{type:"programming",color:"#B34936",extensions:[".sas"],tmScope:"source.sas",aceMode:"text",codemirrorMode:"sas",codemirrorMimeType:"text/x-sas",languageId:328},SCSS:{type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},"SELinux Policy":{aliases:["SELinux Kernel Policy Language","sepolicy"],type:"data",tmScope:"source.sepolicy",extensions:[".te"],filenames:["file_contexts","genfs_contexts","initial_sids","port_contexts","security_classes"],aceMode:"text",languageId:880010326},SMT:{type:"programming",extensions:[".smt2",".smt"],interpreters:["boolector","cvc4","mathsat5","opensmt","smtinterpol","smt-rat","stp","verit","yices2","z3"],tmScope:"source.smt",aceMode:"text",languageId:330},SPARQL:{type:"data",color:"#0C4597",tmScope:"source.sparql",aceMode:"text",codemirrorMode:"sparql",codemirrorMimeType:"application/sparql-query",extensions:[".sparql",".rq"],languageId:331},SQF:{type:"programming",color:"#3F3F3F",extensions:[".sqf",".hqf"],tmScope:"source.sqf",aceMode:"text",languageId:332},SQL:{type:"data",color:"#e38c00",tmScope:"source.sql",aceMode:"sql",codemirrorMode:"sql",codemirrorMimeType:"text/x-sql",extensions:[".sql",".cql",".ddl",".inc",".mysql",".prc",".tab",".udf",".viw"],languageId:333},SQLPL:{type:"programming",color:"#e38c00",aceMode:"sql",codemirrorMode:"sql",codemirrorMimeType:"text/x-sql",tmScope:"source.sql",extensions:[".sql",".db2"],languageId:334},"SRecode Template":{type:"markup",color:"#348a34",tmScope:"source.lisp",aceMode:"lisp",codemirrorMode:"commonlisp",codemirrorMimeType:"text/x-common-lisp",extensions:[".srt"],languageId:335},"SSH Config":{type:"data",group:"INI",filenames:["ssh-config","ssh_config","sshconfig","sshconfig.snip","sshd-config","sshd_config"],aceMode:"text",tmScope:"source.ssh-config",languageId:554920715},STON:{type:"data",group:"Smalltalk",extensions:[".ston"],tmScope:"source.smalltalk",aceMode:"text",languageId:336},SVG:{type:"data",color:"#ff9900",extensions:[".svg"],tmScope:"text.xml.svg",aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",languageId:337},SWIG:{type:"programming",extensions:[".i"],tmScope:"source.c++",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-c++src",languageId:1066250075},Sage:{type:"programming",extensions:[".sage",".sagews"],tmScope:"source.python",aceMode:"python",codemirrorMode:"python",codemirrorMimeType:"text/x-python",languageId:338},SaltStack:{type:"programming",color:"#646464",aliases:["saltstate","salt"],extensions:[".sls"],tmScope:"source.yaml.salt",aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:339},Sass:{type:"markup",color:"#a53b70",tmScope:"source.sass",extensions:[".sass"],aceMode:"sass",codemirrorMode:"sass",codemirrorMimeType:"text/x-sass",languageId:340},Scala:{type:"programming",tmScope:"source.scala",aceMode:"scala",codemirrorMode:"clike",codemirrorMimeType:"text/x-scala",color:"#c22d40",extensions:[".scala",".kojo",".sbt",".sc"],interpreters:["scala"],languageId:341},Scaml:{type:"markup",color:"#bd181a",extensions:[".scaml"],tmScope:"source.scaml",aceMode:"text",languageId:342},Scheme:{type:"programming",color:"#1e4aec",extensions:[".scm",".sch",".sld",".sls",".sps",".ss"],interpreters:["scheme","guile","bigloo","chicken","csi","gosh","r6rs"],tmScope:"source.scheme",aceMode:"scheme",codemirrorMode:"scheme",codemirrorMimeType:"text/x-scheme",languageId:343},Scilab:{type:"programming",color:"#ca0f21",extensions:[".sci",".sce",".tst"],tmScope:"source.scilab",aceMode:"text",languageId:344},Self:{type:"programming",color:"#0579aa",extensions:[".self"],tmScope:"none",aceMode:"text",languageId:345},ShaderLab:{type:"programming",color:"#222c37",extensions:[".shader"],aceMode:"text",tmScope:"source.shaderlab",languageId:664257356},Shell:{type:"programming",color:"#89e051",aliases:["sh","shell-script","bash","zsh"],extensions:[".sh",".bash",".bats",".cgi",".command",".env",".fcgi",".ksh",".sh.in",".tmux",".tool",".zsh"],filenames:[".bash_aliases",".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".env",".env.example",".flaskenv",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_aliases","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],interpreters:["ash","bash","dash","ksh","mksh","pdksh","rc","sh","zsh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",languageId:346},ShellSession:{type:"programming",extensions:[".sh-session"],aliases:["bash session","console"],tmScope:"text.shell-session",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",languageId:347},Shen:{type:"programming",color:"#120F14",extensions:[".shen"],tmScope:"source.shen",aceMode:"text",languageId:348},Sieve:{type:"programming",tmScope:"source.sieve",aceMode:"text",extensions:[".sieve"],codemirrorMode:"sieve",codemirrorMimeType:"application/sieve",languageId:208976687},Singularity:{type:"programming",color:"#64E6AD",tmScope:"source.singularity",filenames:["Singularity"],aceMode:"text",languageId:987024632},Slash:{type:"programming",color:"#007eff",extensions:[".sl"],tmScope:"text.html.slash",aceMode:"text",languageId:349},Slice:{type:"programming",color:"#003fa2",tmScope:"source.slice",aceMode:"text",extensions:[".ice"],languageId:894641667},Slim:{type:"markup",color:"#2b2b2b",extensions:[".slim"],tmScope:"text.slim",aceMode:"text",codemirrorMode:"slim",codemirrorMimeType:"text/x-slim",languageId:350},SmPL:{type:"programming",extensions:[".cocci"],aliases:["coccinelle"],aceMode:"text",tmScope:"source.smpl",color:"#c94949",languageId:164123055},Smali:{type:"programming",extensions:[".smali"],aceMode:"text",tmScope:"source.smali",languageId:351},Smalltalk:{type:"programming",color:"#596706",extensions:[".st",".cs"],aliases:["squeak"],tmScope:"source.smalltalk",aceMode:"text",codemirrorMode:"smalltalk",codemirrorMimeType:"text/x-stsrc",languageId:352},Smarty:{type:"programming",color:"#f0c040",extensions:[".tpl"],aceMode:"smarty",codemirrorMode:"smarty",codemirrorMimeType:"text/x-smarty",tmScope:"text.html.smarty",languageId:353},Solidity:{type:"programming",color:"#AA6746",aceMode:"text",tmScope:"source.solidity",extensions:[".sol"],languageId:237469032},Soong:{type:"data",tmScope:"source.bp",aceMode:"text",filenames:["Android.bp"],languageId:222900098},SourcePawn:{type:"programming",color:"#f69e1d",aliases:["sourcemod"],extensions:[".sp",".inc"],tmScope:"source.sourcepawn",aceMode:"text",languageId:354},"Spline Font Database":{type:"data",extensions:[".sfd"],tmScope:"text.sfd",aceMode:"yaml",languageId:767169629},Squirrel:{type:"programming",color:"#800000",extensions:[".nut"],tmScope:"source.nut",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-c++src",languageId:355},Stan:{type:"programming",color:"#b2011d",extensions:[".stan"],aceMode:"text",tmScope:"source.stan",languageId:356},"Standard ML":{type:"programming",color:"#dc566d",aliases:["sml"],extensions:[".ml",".fun",".sig",".sml"],tmScope:"source.ml",aceMode:"text",codemirrorMode:"mllike",codemirrorMimeType:"text/x-ocaml",languageId:357},Starlark:{type:"programming",tmScope:"source.python",aceMode:"python",codemirrorMode:"python",codemirrorMimeType:"text/x-python",color:"#76d275",extensions:[".bzl"],filenames:["BUCK","BUILD","BUILD.bazel","Tiltfile","WORKSPACE"],aliases:["bazel","bzl"],languageId:960266174},Stata:{type:"programming",color:"#1a5f91",extensions:[".do",".ado",".doh",".ihlp",".mata",".matah",".sthlp"],tmScope:"source.stata",aceMode:"text",languageId:358},StringTemplate:{type:"markup",color:"#3fb34f",extensions:[".st"],tmScope:"source.string-template",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",languageId:89855901},Stylus:{type:"markup",color:"#ff6347",extensions:[".styl"],tmScope:"source.stylus",aceMode:"stylus",languageId:359},"SubRip Text":{type:"data",color:"#9e0101",extensions:[".srt"],aceMode:"text",tmScope:"text.srt",languageId:360},SugarSS:{type:"markup",color:"#2fcc9f",tmScope:"source.css.postcss.sugarss",group:"CSS",extensions:[".sss"],aceMode:"text",languageId:826404698},SuperCollider:{type:"programming",color:"#46390b",extensions:[".sc",".scd"],interpreters:["sclang","scsynth"],tmScope:"source.supercollider",aceMode:"text",languageId:361},Svelte:{type:"markup",color:"#ff3e00",tmScope:"source.svelte",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",extensions:[".svelte"],languageId:928734530},Swift:{type:"programming",color:"#F05138",extensions:[".swift"],tmScope:"source.swift",aceMode:"text",codemirrorMode:"swift",codemirrorMimeType:"text/x-swift",languageId:362},SystemVerilog:{type:"programming",color:"#DAE1C2",extensions:[".sv",".svh",".vh"],tmScope:"source.systemverilog",aceMode:"verilog",codemirrorMode:"verilog",codemirrorMimeType:"text/x-systemverilog",languageId:363},"TI Program":{type:"programming",aceMode:"text",color:"#A0AA87",extensions:[".8xp",".8xk",".8xk.txt",".8xp.txt"],languageId:422,tmScope:"none"},TLA:{type:"programming",color:"#4b0079",extensions:[".tla"],tmScope:"source.tla",aceMode:"text",languageId:364},TOML:{type:"data",color:"#9c4221",extensions:[".toml"],filenames:["Cargo.lock","Gopkg.lock","Pipfile","poetry.lock"],tmScope:"source.toml",aceMode:"toml",codemirrorMode:"toml",codemirrorMimeType:"text/x-toml",languageId:365},TSQL:{type:"programming",color:"#e38c00",extensions:[".sql"],aceMode:"sql",tmScope:"source.tsql",languageId:918334941},TSV:{type:"data",color:"#237346",aceMode:"text",tmScope:"source.generic-db",extensions:[".tsv"],languageId:1035892117},TSX:{type:"programming",color:"#2b7489",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},TXL:{type:"programming",color:"#0178b8",extensions:[".txl"],tmScope:"source.txl",aceMode:"text",languageId:366},Tcl:{type:"programming",color:"#e4cc98",extensions:[".tcl",".adp",".tcl.in",".tm"],filenames:["owh","starfield"],interpreters:["tclsh","wish"],tmScope:"source.tcl",aceMode:"tcl",codemirrorMode:"tcl",codemirrorMimeType:"text/x-tcl",languageId:367},Tcsh:{type:"programming",group:"Shell",extensions:[".tcsh",".csh"],interpreters:["tcsh","csh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",languageId:368},TeX:{type:"markup",color:"#3D6117",aceMode:"tex",codemirrorMode:"stex",codemirrorMimeType:"text/x-stex",tmScope:"text.tex.latex",wrap:!0,aliases:["latex"],extensions:[".tex",".aux",".bbx",".cbx",".cls",".dtx",".ins",".lbx",".ltx",".mkii",".mkiv",".mkvi",".sty",".toc"],languageId:369},Tea:{type:"markup",extensions:[".tea"],tmScope:"source.tea",aceMode:"text",languageId:370},Terra:{type:"programming",extensions:[".t"],color:"#00004c",tmScope:"source.terra",aceMode:"lua",codemirrorMode:"lua",codemirrorMimeType:"text/x-lua",interpreters:["lua"],languageId:371},Texinfo:{type:"prose",wrap:!0,extensions:[".texinfo",".texi",".txi"],aceMode:"text",tmScope:"text.texinfo",interpreters:["makeinfo"],languageId:988020015},Text:{type:"prose",wrap:!0,aliases:["fundamental","plain text"],extensions:[".txt",".fr",".nb",".ncl",".no"],filenames:["COPYING","COPYING.regex","COPYRIGHT.regex","FONTLOG","INSTALL","INSTALL.mysql","LICENSE","LICENSE.mysql","NEWS","README.me","README.mysql","README.nss","click.me","delete.me","keep.me","package.mask","package.use.mask","package.use.stable.mask","read.me","readme.1st","test.me","use.mask","use.stable.mask"],tmScope:"none",aceMode:"text",languageId:372},"TextMate Properties":{type:"data",color:"#df66e4",aliases:["tm-properties"],filenames:[".tm_properties"],aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",tmScope:"source.tm-properties",languageId:981795023},Textile:{type:"prose",color:"#ffe7ac",aceMode:"textile",codemirrorMode:"textile",codemirrorMimeType:"text/x-textile",wrap:!0,extensions:[".textile"],tmScope:"none",languageId:373},Thrift:{type:"programming",color:"#D12127",tmScope:"source.thrift",extensions:[".thrift"],aceMode:"text",languageId:374},Turing:{type:"programming",color:"#cf142b",extensions:[".t",".tu"],tmScope:"source.turing",aceMode:"text",languageId:375},Turtle:{type:"data",extensions:[".ttl"],tmScope:"source.turtle",aceMode:"text",codemirrorMode:"turtle",codemirrorMimeType:"text/turtle",languageId:376},Twig:{type:"markup",color:"#c1d026",extensions:[".twig"],tmScope:"text.html.twig",aceMode:"twig",codemirrorMode:"twig",codemirrorMimeType:"text/x-twig",languageId:377},"Type Language":{type:"data",aliases:["tl"],extensions:[".tl"],tmScope:"source.tl",aceMode:"text",languageId:632765617},TypeScript:{type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},"Unified Parallel C":{type:"programming",color:"#4e3617",group:"C",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",extensions:[".upc"],tmScope:"source.c",languageId:379},"Unity3D Asset":{type:"data",color:"#222c37",aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",extensions:[".anim",".asset",".mask",".mat",".meta",".prefab",".unity"],tmScope:"source.yaml",languageId:380},"Unix Assembly":{type:"programming",group:"Assembly",extensions:[".s",".ms"],tmScope:"source.x86",aceMode:"assembly_x86",languageId:120},Uno:{type:"programming",color:"#9933cc",extensions:[".uno"],aceMode:"csharp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csharp",tmScope:"source.cs",languageId:381},UnrealScript:{type:"programming",color:"#a54c4d",extensions:[".uc"],tmScope:"source.java",aceMode:"java",codemirrorMode:"clike",codemirrorMimeType:"text/x-java",languageId:382},UrWeb:{type:"programming",color:"#ccccee",aliases:["Ur/Web","Ur"],extensions:[".ur",".urs"],tmScope:"source.ur",aceMode:"text",languageId:383},V:{type:"programming",color:"#4f87c4",aliases:["vlang"],extensions:[".v"],tmScope:"source.v",aceMode:"golang",codemirrorMode:"go",codemirrorMimeType:"text/x-go",languageId:603371597},VBA:{type:"programming",color:"#867db1",extensions:[".bas",".cls",".frm",".frx",".vba"],tmScope:"source.vbnet",aliases:["vb6","visual basic 6","visual basic for applications"],aceMode:"text",codemirrorMode:"vb",codemirrorMimeType:"text/x-vb",languageId:399230729},VBScript:{type:"programming",color:"#15dcdc",extensions:[".vbs"],tmScope:"source.vbnet",aceMode:"text",codemirrorMode:"vbscript",codemirrorMimeType:"text/vbscript",languageId:408016005},VCL:{type:"programming",color:"#148AA8",extensions:[".vcl"],tmScope:"source.varnish.vcl",aceMode:"text",languageId:384},VHDL:{type:"programming",color:"#adb2cb",extensions:[".vhdl",".vhd",".vhf",".vhi",".vho",".vhs",".vht",".vhw"],tmScope:"source.vhdl",aceMode:"vhdl",codemirrorMode:"vhdl",codemirrorMimeType:"text/x-vhdl",languageId:385},Vala:{type:"programming",color:"#fbe5cd",extensions:[".vala",".vapi"],tmScope:"source.vala",aceMode:"vala",languageId:386},"Valve Data Format":{type:"data",color:"#f26025",aliases:["keyvalues","vdf"],extensions:[".vdf"],aceMode:"text",tmScope:"source.keyvalues",languageId:544060961},Verilog:{type:"programming",color:"#b2b7f8",extensions:[".v",".veo"],tmScope:"source.verilog",aceMode:"verilog",codemirrorMode:"verilog",codemirrorMimeType:"text/x-verilog",languageId:387},"Vim Help File":{type:"prose",color:"#199f4b",aliases:["help","vimhelp"],extensions:[".txt"],tmScope:"text.vim-help",aceMode:"text",languageId:508563686},"Vim Script":{type:"programming",color:"#199f4b",tmScope:"source.viml",aliases:["vim","viml","nvim"],extensions:[".vim",".vba",".vmb"],filenames:[".exrc",".gvimrc",".nvimrc",".vimrc","_vimrc","gvimrc","nvimrc","vimrc"],aceMode:"text",languageId:388},"Vim Snippet":{type:"markup",color:"#199f4b",aliases:["SnipMate","UltiSnip","UltiSnips","NeoSnippet"],extensions:[".snip",".snippet",".snippets"],tmScope:"source.vim-snippet",aceMode:"text",languageId:81265970},"Visual Basic .NET":{type:"programming",color:"#945db7",extensions:[".vb",".vbhtml"],aliases:["visual basic","vbnet","vb .net","vb.net"],tmScope:"source.vbnet",aceMode:"text",codemirrorMode:"vb",codemirrorMimeType:"text/x-vb",languageId:389},Volt:{type:"programming",color:"#1F1F1F",extensions:[".volt"],tmScope:"source.d",aceMode:"d",codemirrorMode:"d",codemirrorMimeType:"text/x-d",languageId:390},Vue:{type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},"Wavefront Material":{type:"data",extensions:[".mtl"],tmScope:"source.wavefront.mtl",aceMode:"text",languageId:392},"Wavefront Object":{type:"data",extensions:[".obj"],tmScope:"source.wavefront.obj",aceMode:"text",languageId:393},"Web Ontology Language":{type:"data",color:"#5b70bd",extensions:[".owl"],tmScope:"text.xml",aceMode:"xml",languageId:394},WebAssembly:{type:"programming",color:"#04133b",extensions:[".wast",".wat"],aliases:["wast","wasm"],tmScope:"source.webassembly",aceMode:"lisp",codemirrorMode:"commonlisp",codemirrorMimeType:"text/x-common-lisp",languageId:956556503},WebIDL:{type:"programming",extensions:[".webidl"],tmScope:"source.webidl",aceMode:"text",codemirrorMode:"webidl",codemirrorMimeType:"text/x-webidl",languageId:395},WebVTT:{type:"data",wrap:!0,extensions:[".vtt"],tmScope:"source.vtt",aceMode:"text",languageId:658679714},"Wget Config":{type:"data",group:"INI",aliases:["wgetrc"],filenames:[".wgetrc"],tmScope:"source.wgetrc",aceMode:"text",languageId:668457123},Wikitext:{type:"prose",color:"#fc5757",wrap:!0,aliases:["mediawiki","wiki"],extensions:[".mediawiki",".wiki",".wikitext"],tmScope:"text.html.mediawiki",aceMode:"text",languageId:228},"Windows Registry Entries":{type:"data",color:"#52d5ff",extensions:[".reg"],tmScope:"source.reg",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",languageId:969674868},Wollok:{type:"programming",color:"#a23738",extensions:[".wlk"],aceMode:"text",tmScope:"source.wollok",languageId:632745969},"World of Warcraft Addon Data":{type:"data",color:"#f7e43f",extensions:[".toc"],tmScope:"source.toc",aceMode:"text",languageId:396},"X BitMap":{type:"data",group:"C",aliases:["xbm"],extensions:[".xbm"],aceMode:"c_cpp",tmScope:"source.c",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",languageId:782911107},"X Font Directory Index":{type:"data",filenames:["encodings.dir","fonts.alias","fonts.dir","fonts.scale"],tmScope:"source.fontdir",aceMode:"text",languageId:208700028},"X PixMap":{type:"data",group:"C",aliases:["xpm"],extensions:[".xpm",".pm"],aceMode:"c_cpp",tmScope:"source.c",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",languageId:781846279},X10:{type:"programming",aliases:["xten"],aceMode:"text",extensions:[".x10"],color:"#4B6BEF",tmScope:"source.x10",languageId:397},XC:{type:"programming",color:"#99DA07",extensions:[".xc"],tmScope:"source.xc",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",languageId:398},XCompose:{type:"data",filenames:[".XCompose","XCompose","xcompose"],tmScope:"config.xcompose",aceMode:"text",languageId:225167241},XML:{type:"data",color:"#0060ac",tmScope:"text.xml",aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",aliases:["rss","xsd","wsdl"],extensions:[".xml",".adml",".admx",".ant",".axml",".builds",".ccproj",".ccxml",".clixml",".cproject",".cscfg",".csdef",".csl",".csproj",".ct",".depproj",".dita",".ditamap",".ditaval",".dll.config",".dotsettings",".filters",".fsproj",".fxml",".glade",".gml",".gmx",".grxml",".gst",".iml",".ivy",".jelly",".jsproj",".kml",".launch",".mdpolicy",".mjml",".mm",".mod",".mxml",".natvis",".ncl",".ndproj",".nproj",".nuspec",".odd",".osm",".pkgproj",".pluginspec",".proj",".props",".ps1xml",".psc1",".pt",".rdf",".res",".resx",".rs",".rss",".sch",".scxml",".sfproj",".shproj",".srdf",".storyboard",".sublime-snippet",".targets",".tml",".ts",".tsx",".ui",".urdf",".ux",".vbproj",".vcxproj",".vsixmanifest",".vssettings",".vstemplate",".vxml",".wixproj",".workflow",".wsdl",".wsf",".wxi",".wxl",".wxs",".x3d",".xacro",".xaml",".xib",".xlf",".xliff",".xmi",".xml.dist",".xmp",".xproj",".xsd",".xspec",".xul",".zcml"],filenames:[".classpath",".cproject",".project","App.config","NuGet.config","Settings.StyleCop","Web.Debug.config","Web.Release.config","Web.config","packages.config"],languageId:399},"XML Property List":{type:"data",color:"#0060ac",group:"XML",extensions:[".plist",".stTheme",".tmCommand",".tmLanguage",".tmPreferences",".tmSnippet",".tmTheme"],tmScope:"text.xml.plist",aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",languageId:75622871},XPages:{type:"data",extensions:[".xsp-config",".xsp.metadata"],tmScope:"text.xml",aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",languageId:400},XProc:{type:"programming",extensions:[".xpl",".xproc"],tmScope:"text.xml",aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",languageId:401},XQuery:{type:"programming",color:"#5232e7",extensions:[".xquery",".xq",".xql",".xqm",".xqy"],aceMode:"xquery",codemirrorMode:"xquery",codemirrorMimeType:"application/xquery",tmScope:"source.xq",languageId:402},XS:{type:"programming",extensions:[".xs"],tmScope:"source.c",aceMode:"c_cpp",codemirrorMode:"clike",codemirrorMimeType:"text/x-csrc",languageId:403},XSLT:{type:"programming",aliases:["xsl"],extensions:[".xslt",".xsl"],tmScope:"text.xml.xsl",aceMode:"xml",codemirrorMode:"xml",codemirrorMimeType:"text/xml",color:"#EB8CEB",languageId:404},Xojo:{type:"programming",color:"#81bd41",extensions:[".xojo_code",".xojo_menu",".xojo_report",".xojo_script",".xojo_toolbar",".xojo_window"],tmScope:"source.xojo",aceMode:"text",languageId:405},Xonsh:{type:"programming",color:"#285EEF",extensions:[".xsh"],tmScope:"source.python",aceMode:"text",codemirrorMode:"python",codemirrorMimeType:"text/x-python",languageId:614078284},Xtend:{type:"programming",color:"#24255d",extensions:[".xtend"],tmScope:"source.xtend",aceMode:"text",languageId:406},YAML:{type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},YANG:{type:"data",extensions:[".yang"],tmScope:"source.yang",aceMode:"text",languageId:408},YARA:{type:"programming",color:"#220000",aceMode:"text",extensions:[".yar",".yara"],tmScope:"source.yara",languageId:805122868},YASnippet:{type:"markup",aliases:["snippet","yas"],color:"#32AB90",extensions:[".yasnippet"],tmScope:"source.yasnippet",aceMode:"text",languageId:378760102},Yacc:{type:"programming",extensions:[".y",".yacc",".yy"],tmScope:"source.yacc",aceMode:"text",color:"#4B6C4B",languageId:409},ZAP:{type:"programming",color:"#0d665e",extensions:[".zap",".xzap"],tmScope:"source.zap",aceMode:"text",languageId:952972794},ZIL:{type:"programming",color:"#dc75e5",extensions:[".zil",".mud"],tmScope:"source.zil",aceMode:"text",languageId:973483626},Zeek:{type:"programming",aliases:["bro"],extensions:[".zeek",".bro"],tmScope:"source.zeek",aceMode:"text",languageId:40},ZenScript:{type:"programming",color:"#00BCD1",extensions:[".zs"],tmScope:"source.zenscript",aceMode:"text",languageId:494938890},Zephir:{type:"programming",color:"#118f9e",extensions:[".zep"],tmScope:"source.php.zephir",aceMode:"php",languageId:410},Zig:{type:"programming",color:"#ec915c",extensions:[".zig"],tmScope:"source.zig",aceMode:"text",languageId:646424281},Zimpl:{type:"programming",color:"#d67711",extensions:[".zimpl",".zmpl",".zpl"],tmScope:"none",aceMode:"text",languageId:411},"cURL Config":{type:"data",group:"INI",aliases:["curlrc"],filenames:[".curlrc","_curlrc"],tmScope:"source.curlrc",aceMode:"text",languageId:992375436},desktop:{type:"data",extensions:[".desktop",".desktop.in"],tmScope:"source.desktop",aceMode:"text",languageId:412},dircolors:{type:"data",extensions:[".dircolors"],filenames:[".dir_colors",".dircolors","DIR_COLORS","_dir_colors","_dircolors","dir_colors"],tmScope:"source.dircolors",aceMode:"text",languageId:691605112},eC:{type:"programming",color:"#913960",extensions:[".ec",".eh"],tmScope:"source.c.ec",aceMode:"text",languageId:413},edn:{type:"data",aceMode:"clojure",codemirrorMode:"clojure",codemirrorMimeType:"text/x-clojure",extensions:[".edn"],tmScope:"source.clojure",languageId:414},fish:{type:"programming",color:"#4aae47",group:"Shell",interpreters:["fish"],extensions:[".fish"],tmScope:"source.fish",aceMode:"text",languageId:415},jq:{color:"#c7254e",aceMode:"text",type:"programming",extensions:[".jq"],tmScope:"source.jq",languageId:905371884},"mIRC Script":{type:"programming",color:"#3d57c3",extensions:[".mrc"],tmScope:"source.msl",aceMode:"text",languageId:517654727},mcfunction:{type:"programming",color:"#E22837",extensions:[".mcfunction"],tmScope:"source.mcfunction",aceMode:"text",languageId:462488745},mupad:{type:"programming",color:"#244963",extensions:[".mu"],tmScope:"source.mupad",aceMode:"text",languageId:416},nanorc:{type:"data",color:"#2d004d",group:"INI",extensions:[".nanorc"],filenames:[".nanorc","nanorc"],tmScope:"source.nanorc",aceMode:"text",languageId:775996197},nesC:{type:"programming",color:"#94B0C7",extensions:[".nc"],aceMode:"text",tmScope:"source.nesc",languageId:417},ooc:{type:"programming",color:"#b0b77e",extensions:[".ooc"],tmScope:"source.ooc",aceMode:"text",languageId:418},q:{type:"programming",extensions:[".q"],tmScope:"source.q",aceMode:"text",color:"#0040cd",languageId:970539067},reStructuredText:{type:"prose",color:"#141414",wrap:!0,aliases:["rst"],extensions:[".rst",".rest",".rest.txt",".rst.txt"],tmScope:"text.restructuredtext",aceMode:"text",codemirrorMode:"rst",codemirrorMimeType:"text/x-rst",languageId:419},"robots.txt":{type:"data",aliases:["robots","robots txt"],filenames:["robots.txt"],aceMode:"text",tmScope:"text.robots-txt",languageId:674736065},sed:{type:"programming",color:"#64b970",extensions:[".sed"],interpreters:["gsed","minised","sed","ssed"],aceMode:"text",tmScope:"source.sed",languageId:847830017},wdl:{type:"programming",color:"#42f1f4",extensions:[".wdl"],tmScope:"source.wdl",aceMode:"text",languageId:374521672},wisp:{type:"programming",aceMode:"clojure",codemirrorMode:"clojure",codemirrorMimeType:"text/x-clojure",color:"#7582D1",extensions:[".wisp"],tmScope:"source.clojure",languageId:420},xBase:{type:"programming",color:"#403a40",aliases:["advpl","clipper","foxpro"],extensions:[".prg",".ch",".prw"],tmScope:"source.harbour",aceMode:"text",languageId:421}};var va=new Map;for(let[e,t]of Object.entries(Ta))if(t.color){if(!t.extensions)continue;for(let o of t.extensions){let r=o.startsWith(".")?o.slice(1):o;va.set(r,{lang:e,color:t.color})}}function Ca(e){let t=va.get(e);return t||null}var At=class{constructor(t,o,r,a){this.scale=(a-r)/(o-t),this.offset=t*this.scale-r,this.target_max=a,this.target_min=r}translate(t){return t*this.scale-this.offset}inverseTranslate(t){return this.target_max-this.translate(t)+this.target_min}};var ka=f(_());var q=f(j()),Nt=3,ue=class{constructor(t,o){this.color=t;this.weight=o}add(t){this.weight+=t}};function wa({metricCache:e}){let[t,o]=(0,ka.useState)(!0),r=Array.from(e.legend).sort(([,a],[,n])=>a.weight<n.weight?1:a.weight>n.weight?-1:0);return r.length===0?null:r.length<=Nt+1?(0,q.jsx)(So,{show:!0,items:r}):(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(So,{show:!0,items:r.slice(0,Nt)}),(0,q.jsx)(So,{show:!t,items:r.slice(Nt)}),(0,q.jsx)(Pi,{show:t,items:r.slice(Nt),toggle:()=>o(!t)}),(0,q.jsx)(et,{className:"absolute bottom-2 right-2",open:!t,onClick:()=>o(!t)})]})}function So(e){return e.show?(0,q.jsx)(q.Fragment,{children:e.items.map(t=>{let[o,r]=t;return(0,q.jsx)("div",{children:(0,q.jsxs)("div",{className:"relative flex items-center gap-2 text-sm leading-none",children:[(0,q.jsx)(xe,{dotColor:r.color}),(0,q.jsx)("span",{className:"font-bold",children:o})]})},o)})}):null}function Pi(e){return e.show?(0,q.jsx)("button",{className:"w-fit hover:opacity-70",onClick:e.toggle,children:(0,q.jsxs)("div",{className:"relative flex items-center gap-2 text-sm leading-none",children:[e.items.slice(0,14).map(([t,o],r)=>{let a=r===0?0:-16;return(0,q.jsx)(xe,{dotColor:o.color,style:{marginLeft:a}},`dot${t}`)}),(0,q.jsxs)("span",{className:"font-bold",children:[e.items.length," more"]})]})}):null}function ja(e,t){var n,i;let o=e.name.substring(e.name.lastIndexOf(".")+1),r=(n=Ca(o))==null?void 0:n.color,a=t.legend;r?(a.has(o)?(i=a.get(o))==null||i.add(1):a.set(o,new ue(r,1)),t.colormap.set(e.path,r)):(a.has("Other")||a.set("Other",new ue("#808080",0)),t.colormap.set(e.path,"#808080"))}function Aa(e,t,o,r){var l,p,g;let a="#e0e0e0",n="#404040",i=(p=(l=e.unionedAuthors)==null?void 0:l[o])!=null?p:{},s=t.legend,c=Object.keys(i);switch(c.length){case 0:{s.set("No authors",new ue(n,0)),t.colormap.set(e.path,n);return}case 1:{let m=(g=r.get(c[0]))!=null?g:n;s.set(c[0],new ue(m,2)),t.colormap.set(e.path,m);return}default:s.set("Multiple authors",new ue(a,1)),t.colormap.set(e.path,a)}}var Ot=class{constructor(t,o){this.min_lightness=50;this.max_lightness=95;this.translater=new At(t,o,this.min_lightness,this.max_lightness)}getColor(t){return Tt(20,100,this.translater.inverseTranslate(t))}setColor(t,o){typeof t.noCommits!="undefined"&&o.colormap.set(t.path,this.getColor(t.noCommits))}};function Na(e){return[{epoch:0,text:ia(e*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 Lt(e,t,o){let r=t-o,a=0;for(;a<e.length-1;){if(r<e[a+1].epoch)return a;a++}return a}function Oa(e,t,o,r){var l,p,g;let a=(l=t.unionedAuthors)==null?void 0:l[r];if(!a){console.warn("No author union found for file",t.path);return}let n=Object.entries(a).sort(([m,x],[h,u])=>x===0||u===0||!m||!h?-1:u-x);if(!n[0]){console.warn("No sorted authors for file",t.path);return}let[i]=n[0],s=o.legend,c=(p=e.get(i))!=null?p:"#808080";if(o.colormap.set(t.path,c),t.dominantAuthor&&(t.dominantAuthor[r]=n[0]),s.has(i)){(g=s.get(i))==null||g.add(1);return}s.set(i,new ue(c,1))}var Dt=class{constructor(t){this.min_lightness=50;this.max_lighness=90;this.step=t<=1?1:this.step=(this.max_lighness-this.min_lightness)/Math.floor(Math.log2(t))}getColor(t){let o=Math.floor(Math.log2(t)),r=this.min_lightness+o*this.step;return Tt(0,75,r)}setColor(t,o){var r,a;o.colormap.set(t.path,this.getColor(Object.entries((a=(r=t.unionedAuthors)==null?void 0:r.HISTORICAL)!=null?a:[]).length))}};var Da=f(La()),Ea={HISTORICAL:"Complete history"},tt={FILE_TYPE:"File type",TRUCK_FACTOR:"Truck factor",TOP_CONTRIBUTOR:"Top contributor",MOST_COMMITS:"Commits",SINGLE_AUTHOR:"Single author",LAST_CHANGED:"Last changed"};function _a(e,t){let o=Ri(e.authors,t);return[{HISTORICAL:Hi(e.commit.tree,Fi(e,"HISTORICAL",o))},o]}function Pa(e,t){switch(e){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 t==="HISTORICAL"?"Which files are authored by only one person, throughout the repository's history?":"Which files are authored by only one person, in the newest version?";case"TOP_CONTRIBUTOR":return t==="HISTORICAL"?"Which person has made the most line-changes to a file, throughout the repository's history?":"Which person has made the most line-changes to a file, in the newest version?";case"TRUCK_FACTOR":return"How many authors have contributed to a given file?";default:throw new Error("Uknown metric type: "+e)}}function Ra(e){switch(e){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: "+e)}}function Ri(e,t){let o=new Map;for(let r=0;r<e.length;r++){let a=e[r],n=t!=null?t:"",i=(0,Da.default)(a+n).color;o.set(a,i)}return o}function Fa(e){let t=Number.MAX_VALUE,o=Number.MIN_VALUE;return e.children.forEach(r=>{if(r.type=="blob")r.noCommits>o&&(o=r.noCommits),r.noCommits<t&&(t=r.noCommits);else if(r.type=="tree"){let[a,n]=Fa(r);n>o&&(o=n),a<t&&(t=a)}}),[t,o]}function Fi(e,t,o){let r=e.commit,[a,n]=Fa(r.tree),i=new Ot(a,n),s=new Dt(e.authorsUnion.length);return[["FILE_TYPE",(c,l)=>{l.legend||(l.legend=new Map),ja(c,l)}],["SINGLE_AUTHOR",(c,l)=>{l.legend||(l.legend=new Map),Aa(c,l,t,o)}],["MOST_COMMITS",(c,l)=>{l.legend||(l.legend=[`${a}`,`${n}`,void 0,void 0,i.getColor(a),i.getColor(n)]),i.setColor(c,l)}],["LAST_CHANGED",(c,l)=>{var m,x;let p=e.commit.newestLatestChangeEpoch,g=Na(p);l.legend||(l.legend=[Lt(g,p,e.commit.oldestLatestChangeEpoch)+1,h=>g[h].text,h=>g[h].color,h=>{var u,d;return(d=Lt(g,p,(u=h.lastChangeEpoch)!=null?u:0))!=null?d:-1}]),l.colormap.set(c.path,g[(x=Lt(g,p,(m=c.lastChangeEpoch)!=null?m:0))!=null?x:-1].color)}],["TOP_CONTRIBUTOR",(c,l)=>{c.dominantAuthor||(c.dominantAuthor={}),l.legend||(l.legend=new Map),Oa(o,c,l,t)}],["TRUCK_FACTOR",(c,l)=>{l.legend||(l.legend=[Math.floor(Math.log2(e.authorsUnion.length))+1,p=>`${Math.pow(2,p)}`,p=>`hsl(0,75%,${50+p*(40/(Math.floor(Math.log2(e.authorsUnion.length))+1))}%)`,p=>{var g,m;return Math.floor(Math.log2(Object.entries((m=(g=p.unionedAuthors)==null?void 0:g.HISTORICAL)!=null?m:[]).length))}]),s.setColor(c,l)}]]}function Hi(e,t){let o=new Map;return Ha(e,t,o),o}function Ha(e,t,o){var r;for(let a of e.children)switch(a.type){case"tree":Ha(a,t,o);break;case"blob":for(let[n,i]of t)o.has(n)||o.set(n,{legend:void 0,colormap:new Map}),i(a,(r=o.get(n))!=null?r:{legend:void 0,colormap:new Map});break}}var Et={FILE_SIZE:"File size",TRUCK_FACTOR:"Truck factor",MOST_COMMITS:"Commits",LAST_CHANGED:"Last changed",EQUAL_SIZE:"Equal"};var _t={Full:"Full",One:"1",Two:"2",Three:"3",Four:"4",Five:"5"},Ba={Full:Jr,One:Nr,Two:Or,Three:Lr,Four:Dr,Five:Er};var vo={BUBBLE_CHART:"Bubble chart",TREE_MAP:"Tree map"},Co={NESTED:"Nested",FLAT:"Flat"},Ee={DATE:"By date",AUTHOR:"By author"},st=e=>({ASCENDING:e?"Latest first":"Ascending",DESCENDING:e?"Oldest first":"Descending"}),ko=(0,Pt.createContext)(void 0);function K(){let e=(0,Pt.useContext)(ko);if(!e)throw new Error("useOptions must be used within a SearchProvider");return e}var Bi={hasLoadedSavedOptions:!1,metricType:Object.keys(tt)[0],chartType:Object.keys(vo)[0],depthType:Object.keys(_t)[0],hierarchyType:Object.keys(Co)[0],sizeMetric:Object.keys(Et)[0],authorshipType:Object.keys(Ea)[0],commitSortingMethodsType:Object.keys(Ee)[0],commitSortingOrdersType:Object.keys(st(!0))[0],commitSearch:"",transitionsEnabled:!0,labelsVisible:!0,renderCutoff:2};function Y(e={}){return{...Bi,...e,setChartType:()=>{throw new Error("No chartTypeSetter provided")},setMetricType:()=>{throw new Error("No metricTypeSetter provided")},setSizeMetricType:()=>{throw new Error("No sizeMetricTypeSetter provided")},setAuthorshipType:()=>{throw new Error("No AuthorshipTypeSetter provided")},setDepthType:()=>{throw new Error("No DepthTypeSetter provided")},setHierarchyType:()=>{throw new Error("No HiearchyTypeSetter provided")},setCommitSortingMethodsType:()=>{throw new Error("No CommitSortingMethodsTypeSetter provided")},setCommitSortingOrdersType:()=>{throw new Error("No CommitSortingOrdersTypeSetter provided")},setCommitSearch:()=>{throw new Error("No CommitSearchSetter provided")},setTransitionsEnabled:()=>{throw new Error("No transitionsEnabledSetter provided")},setLabelsVisible:()=>{throw new Error("No labelsVisibleSetter provided")},setRenderCutoff:()=>{throw new Error("No renderCutoffSetter provided")}}}var Rt=f(_()),wo=(0,Rt.createContext)(void 0);function ke(){let e=(0,Rt.useContext)(wo);if(!e)throw new Error("useOptions must be used within a PathProvider");return e}var $a={},Ga=new WeakMap,za={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"}]},jo=class{constructor(t,o){o=Object.assign({units:"metric",precision:1,locale:void 0},$a,o),Ga.set(this,o),Object.assign(za,o.customUnits);let r=t<0?"-":"";t=Math.abs(t);let a=za[o.units];if(a){let n=a.find(i=>t>=i.from&&t<i.to);if(n){let i=new Intl.NumberFormat(o.locale,{style:"decimal",minimumFractionDigits:o.precision,maximumFractionDigits:o.precision}),s=n.from===0?r+t:r+i.format(t/n.from);this.value=s,this.unit=n.unit,this.long=n.long}else this.value=r+t,this.unit="",this.long=""}else throw new Error(`Invalid units specified: ${o.units}`)}toString(){let t=Ga.get(this);return t.toStringFn?t.toStringFn.bind(this)():`${this.value} ${this.unit}`}};function qa(e,t){return new jo(e,t)}qa.defaultOptions=function(e){$a=e};var Ua=qa;var qe=f(re());var ot=f(_()),_e=f(j()),Va="MENUITEM",Ft=e=>e.children;Ft.defaultProps={__TYPE:Va};var Wa=e=>{let[t,o]=(0,ot.useState)(0),r=e.selectedItemIndex?e.selectedItemIndex:t,a=ot.Children.toArray(e.children).map(n=>(0,ot.isValidElement)(n)&&n.props.__TYPE&&n.props.__TYPE==Va?{title:n.props.title,children:n.props.children}:!1);return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)("div",{className:"flex w-full flex-row justify-center overflow-hidden",children:a.map((n,i)=>(0,_e.jsx)("button",{className:V("btn btn--outlined flex-1",{"opacity-50":r===i,"rounded-br-none rounded-tr-none":i!==a.length-1,"rounded-bl-none rounded-tl-none":i===a.length-1}),onClick:()=>{e.onChange&&e.onChange(i),o(s=>s!==i?i:s)},children:n.title},n.title+i+"--tab"))}),a.map((n,i)=>i==r?(0,_e.jsx)("div",{className:"border-t-0",children:n.children},r+n.title+"--selected"):null)]})};var ye=f(_());var Ja="/build/_assets/commit_icon-JEPGHU5X.png";var Ka=f(_());var $e=f(j());function zi({data:e,isOpen:t,btnOnClick:o,titleLabels:r}){return(0,$e.jsxs)("li",{className:"border-0 ",children:[(0,$e.jsx)("h2",{className:"m-0 w-full",children:(0,$e.jsx)("button",{className:V("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":r,"text-[14px] font-normal":!r,"after:-rotate-180":t,"after:rotate-0":!t}),onClick:o,title:e.title,children:e.title})}),(0,$e.jsx)("ul",{className:"m-0 block p-0 text-sm transition-[height] duration-[200ms] ease-out",style:{height:t?"auto":"0"},children:t&&(0,$e.jsx)("div",{children:e.content})})]})}var Xa=zi;var Ao=f(j());function $i({items:e,multipleOpen:t,openByDefault:o,titleLabels:r,currentState:a,actionClickLabels:n}){let[i,s]=(0,Ka.useState)(new Array),c=l=>{s(t?p=>p.includes(l)?p.filter(g=>g!==l):[...p,l]:p=>p.includes(l)?[]:[l])};return o&&!t&&s([0]),(0,Ao.jsx)("ul",{className:"m-0 block overflow-x-hidden pl-4",children:e.map((l,p)=>(0,Ao.jsx)(Xa,{data:l,isOpen:a&&a[p]?a[p]:o&&t?!i.includes(p):i.includes(p),titleLabels:r,btnOnClick:()=>{c(p),n&&n(p)}},l.title+p+"--accordion"))})}var Ht=$i;var U=f(j());function qi(e){let t=e.sortBy!==void 0?e.sortBy:"DATE",{commitSortingOrdersType:o,commitSortingMethodsType:r}=K(),a=r==Object.keys(Ee)[0],n=o==Object.keys(st(a))[0],i=Vi(e.items,t),s=new Array;for(let[c,l]of Object.entries(i))s.push({title:c,content:(0,U.jsx)(U.Fragment,{children:l.map(p=>(0,U.jsx)("li",{className:"cursor-auto",style:{listStyleImage:`url(${Ja})`},title:`By: ${p.author}`,children:(0,U.jsx)("button",{onClick:()=>e.handleOnClick?e.handleOnClick(p):null,children:p.message})},p.hash+"--itemContentAccordion"))})});return(0,U.jsx)(Ht,{titleLabels:!0,multipleOpen:!0,openByDefault:!0,items:n?s:s.reverse()},s.length>0?s[0].title:new Date().toDateString())}function Ui(e){let t=new Map;o(e);function o(a){for(let n of a.children)if(n)if(n.type==="blob"){if(!n.commits)continue;for(let i of n.commits)t.set(i.hash,i.time)}else n.type==="tree"&&o(n)}let r=[];for(let[a,n]of t)r.push({hash:a,time:n});return r.sort((a,n)=>n.time-a.time),r}function Ya(){let[e,t]=(0,ye.useState)([]),o=$(),[r,a]=(0,ye.useState)(null),[n,i]=(0,ye.useState)(0),s=5,{clickedObject:c}=ne(),l=io(),{commitSortingMethodsType:p,commitSearch:g}=K();function m(h,u){let d=new URLSearchParams,v=u!=null?u:e;d.set("commits",v.slice(h,h+s).join(",")),d.set("branch",o.repo.currentHead),d.set("repo",o.repo.path),l.load(`/commits?${d.toString()}`)}(0,ye.useEffect)(()=>{if(c){let h=[];c.type==="blob"?h=c.commits.map(u=>u.hash):h=Ui(c).map(u=>u.hash),t(h),a(null),i(0),m(0,h)}},[c]),(0,ye.useEffect)(()=>{!c||n===0||m(n)},[n]),(0,ye.useEffect)(()=>{if(l.state==="idle"){let h=l.data;if(!h)return;a(u=>!u||u.length===0?h:[...u,...h])}},[l.data,l.state]);let x=(0,ye.useMemo)(()=>c?`(${Math.min(e.length,n+s)} of ${e.length} loaded)`:"",[c,e,n]);return c?r?r.length===0?(0,U.jsx)("h3",{className:"font-bold",children:"No commit history"}):(0,U.jsx)(U.Fragment,{children:(0,U.jsxs)("div",{children:[(0,U.jsx)(qi,{items:g!=""?r.filter(h=>h.message.toLowerCase().includes(g.toLowerCase())):r,sortBy:p}),l.state==="idle"?n+s<e.length?(0,U.jsxs)("button",{onClick:()=>i(n+s),className:"whitespace-pre text-xs font-medium opacity-70 hover:cursor-pointer",children:["Load more commits ",x]}):(0,U.jsx)("span",{className:"whitespace-pre text-xs font-medium opacity-70",children:x}):(0,U.jsx)("h3",{children:"Loading commits..."})]})}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("h3",{className:"font-bold",children:"Commit history"}),(0,U.jsx)("h3",{children:"Loading commits..."})]}):null}function Vi(e,t){let o={};switch(t){case Object.keys(Ee)[1]:for(let r of e){let a=r.author;o[a]||(o[a]=[]),o[a].push(r)}break;case Object.keys(Ee)[0]:default:for(let r of e){let a=St(r.time);o[a]||(o[a]=[]),o[a].push(r)}}return o}var Bt=f(re());var Za=f(re());var ct=f(j());function Me(e){let t=Object.entries(e.enum);return(0,ct.jsx)("div",{className:"flex flex-wrap gap-0",children:t.map(([o,r])=>(0,ct.jsxs)("button",{className:V("btn flex h-auto w-max justify-between gap-2 rounded-lg px-1 py-1 text-xs/none",{"btn--primary":o===e.defaultValue,"btn--outlined border-transparent hover:text-blue-500":o!==e.defaultValue}),onClick:()=>e.onChange(o),children:[(0,ct.jsx)(Za.default,{path:e.iconMap[o],size:"1rem",color:"inherit"}),r]},o))})}var Qa=f(_()),W=f(j()),Wi={DATE:ir,AUTHOR:Ir};function Ji(e){return{ASCENDING:e?Vr:Pr,DESCENDING:e?Wr:Rr}}function en(){let e=(0,Qa.useId)(),t=new Array,{commitSearch:o,commitSortingMethodsType:r,commitSortingOrdersType:a,setCommitSearch:n,setCommitSortingMethodsType:i,setCommitSortingOrdersType:s}=K(),c=r==Object.keys(Ee)[0];return t.push({title:"Sorting and filtering",content:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,W.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,W.jsx)(Bt.default,{path:Ur,size:"1.25em"}),"Sorting"]}),(0,W.jsx)(Me,{enum:Ee,defaultValue:r,onChange:l=>i(l),iconMap:Wi})]}),(0,W.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,W.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,W.jsx)(Bt.default,{path:Fr,size:"1.25em"}),"Sorting order"]}),(0,W.jsx)(Me,{enum:st(c),defaultValue:a,onChange:l=>s(l),iconMap:Ji(c)})]}),(0,W.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,W.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,W.jsx)(Bt.default,{path:cr,size:"1.25em"}),"Part of the message"]}),(0,W.jsx)("input",{className:"input",id:e,type:"search",placeholder:"Search for a commit...",value:o,onChange:l=>{let p=l.target.value;n(p)}})]})]})}),(0,W.jsx)(Ht,{titleLabels:!0,multipleOpen:!1,openByDefault:!1,items:t},t.length>0?t[0].title:new Date().toDateString())}var we=f(j());function tn(){return(0,we.jsxs)(we.Fragment,{children:[(0,we.jsx)("div",{className:"card mb-2 bg-black/20",children:(0,we.jsx)(en,{})}),(0,we.jsx)("div",{className:"card bg-black/20",children:(0,we.jsx)(Ya,{})})]})}var y=f(j());function Xi(e){let t=e.lastIndexOf("/"),o=e.lastIndexOf("\\");return t!==-1?e.slice(0,t):o!==-1?e.slice(0,o):e}function rn({className:e="",showUnionAuthorsModal:t}){var D;let{setClickedObject:o,clickedObject:r}=ne(),a=We(),{metricType:n,authorshipType:i}=K(),{state:s}=pe(),{setPath:c,path:l}=ke(),{analyzerData:p}=$(),g=(0,ge.useRef)(!1),m=bt();(0,ge.useEffect)(()=>{g.current&&(o(null),g.current=!1)},[r,o,s]),(0,ge.useEffect)(()=>{o(E=>Ki(p.commit.tree,E))},[p,o]);let[x]=ae(),{backgroundColor:h,lightBackground:u}=(0,ge.useMemo)(()=>{var L,F,G;if(!r)return{backgroundColor:null,color:null};let E=(F=(L=x[i])==null?void 0:L.get(n))==null?void 0:F.colormap,B=(G=E==null?void 0:E.get(r.path))!=null?G:m?"#808080":"#262626",k=B?It(B):null;return{backgroundColor:B,color:k,lightBackground:k==="#000000"}},[r,x,n,i,m]);if(!r)return null;let d=r.type==="blob",v=la(r.name.split("."));return(0,y.jsxs)("div",{className:V(e,"card flex flex-col gap-2 transition-colors",{"text-gray-100":!u,"text-gray-800":u}),...h?{style:{backgroundColor:h}}:{},children:[(0,y.jsx)("div",{className:"flex",children:(0,y.jsxs)("h2",{className:"card__title grid w-full grid-cols-[auto,1fr,auto] gap-2",children:[(0,y.jsx)(qe.Icon,{path:r.type==="blob"?gr:Ke,size:"1.25em"}),(0,y.jsx)("span",{className:"truncate",title:r.name,children:r.name}),(0,y.jsx)(Ye,{absolute:!1,onClick:()=>o(null)})]})}),(0,y.jsxs)(Wa,{children:[(0,y.jsxs)(Ft,{title:"General",children:[(0,y.jsxs)("div",{className:"flex grow flex-col gap-2",children:[(0,y.jsxs)("div",{className:"grid grid-cols-[auto,1fr] gap-x-3 gap-y-1",children:[d?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(ts,{size:r.sizeInBytes,isBinary:r.isBinary}),(0,y.jsx)(Zi,{clickedBlob:r}),(0,y.jsx)(Qi,{clickedBlob:r})]}):(0,y.jsx)(Yi,{clickedTree:r}),(0,y.jsx)(es,{path:r.path})]}),(0,y.jsx)("div",{className:"card bg-black/20 shadow-inner",children:d?(0,y.jsx)(on,{authors:(D=r.unionedAuthors)==null?void 0:D[i]}):(0,y.jsx)(on,{authors:rs(r,i)})}),(0,y.jsxs)("button",{className:"btn btn--outlined",onClick:t,children:[(0,y.jsx)(qe.Icon,{path:Je}),"Group authors"]})]}),(0,y.jsx)("div",{className:"mt-2 flex gap-2",children:d?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(ve,{className:"w-max",method:"post",action:a.pathname,children:[(0,y.jsx)("input",{type:"hidden",name:"ignore",value:r.path}),(0,y.jsxs)("button",{className:"btn btn--outlined",type:"submit",disabled:s!=="idle",onClick:()=>{g.current=!0},title:"Hide this file",children:[(0,y.jsx)(qe.Icon,{path:xt}),"Hide"]})]}),r.name.includes(".")?(0,y.jsxs)(ve,{className:"w-max",method:"post",action:a.pathname,children:[(0,y.jsx)("input",{type:"hidden",name:"ignore",value:`*.${v}`}),(0,y.jsxs)("button",{className:"btn btn--outlined",type:"submit",disabled:s!=="idle",onClick:()=>{g.current=!0},children:[(0,y.jsx)(qe.Icon,{path:xt}),(0,y.jsxs)("span",{children:["Hide .",v," files"]})]})]}):null]}):(0,y.jsx)(y.Fragment,{children:(0,y.jsxs)(ve,{method:"post",action:a.pathname,children:[(0,y.jsx)("input",{type:"hidden",name:"ignore",value:r.path}),(0,y.jsxs)("button",{className:"btn btn--outlined",type:"submit",disabled:s!=="idle",onClick:()=>{g.current=!0,c(Xi(l))},children:[(0,y.jsx)(qe.Icon,{path:xt}),"Hide this folder"]})]})})})]}),(0,y.jsx)(Ft,{title:"Commits",children:(0,y.jsx)(tn,{})})]})]})}function Ki(e,t){if(t===null)return null;let o=e,r=t.path.split("/");for(let a=0;a<r.length;a++)for(let n of o.children){if(n.hash===t.hash)return n;if(n.type==="tree"){let i=n.name.split("/");if(i[0]===r[a]){o=n,a+=i.length-1;break}}}return o}function Yi(e){let t=e.clickedTree.children.filter(r=>r.type==="tree").length,o=e.clickedTree.children.length-t;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Files"}),(0,y.jsx)("p",{className:"break-all text-sm",children:o}),(0,y.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Folders"}),(0,y.jsx)("p",{className:"break-all text-sm",children:t})]})}function Zi(e){return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Commits"}),(0,y.jsx)("p",{className:"break-all text-sm",children:e.clickedBlob.noCommits?e.clickedBlob.noCommits:0})]})}function Qi(e){return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Last changed"}),(0,y.jsx)("p",{className:"break-all text-sm",children:St(e.clickedBlob.lastChangeEpoch)})]})}function es(e){let{state:t}=pe(),{clickedObject:o}=ne();return o?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Located at"}),(0,y.jsxs)("div",{className:"grid grid-cols-[1fr,auto] items-center justify-between gap-2 break-all text-sm",children:[(0,y.jsx)("p",{className:"truncate",title:e.path,children:e.path}),(0,y.jsxs)(ve,{method:"post",action:location.pathname,title:o.name,children:[(0,y.jsx)("input",{type:"hidden",name:"open",value:o.path}),(0,y.jsx)("button",{className:"btn--icon",disabled:t!=="idle",children:(0,y.jsx)(qe.Icon,{path:_r,size:"1.25em",className:"w-max",title:o.type==="blob"?"Open file in default app":"Browse folder in system explorer"})})]})]})]}):null}function ts(e){var o;let t=Ua((o=e.size)!=null?o:0);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"flex items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Size"}),(0,y.jsxs)("p",{className:"break-all text-sm",children:[t.value," ",t.unit," ",(0,y.jsx)("span",{className:"opacity-50",children:e.isBinary?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("br",{}),"(binary file)"]}):null})]})]})}var Gt=2;function on(e){var s;let t=(0,ge.useId)(),[o,r]=(0,ge.useState)(!0),a=Object.entries((s=e.authors)!=null?s:{}).sort((c,l)=>l[1]-c[1]),n=a.reduce((c,l)=>c+l[1],0),i=a.length>Gt+1;return(0,y.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,y.jsxs)("div",{className:`flex justify-between ${i?"cursor-pointer hover:opacity-70":""}`,children:[(0,y.jsx)("label",{className:"label grow",htmlFor:t,children:(0,y.jsx)("h3",{className:"font-bold",children:"Author distribution"})}),i?(0,y.jsx)(et,{id:t,open:!o,onClick:()=>r(!o)}):null]}),(0,y.jsx)("div",{className:"grid grid-cols-[1fr,auto] gap-1",children:i?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(kt,{show:!0,items:a.slice(0,Gt),contribSum:n}),(0,y.jsx)(kt,{show:!o,items:a.slice(Gt),contribSum:n}),o?(0,y.jsxs)("button",{className:"text-left text-xs opacity-70 hover:opacity-100",onClick:()=>r(!o),children:["+ ",a.slice(Gt).length," more"]}):null]}):(0,y.jsx)(y.Fragment,{children:a.length>0&&!os(e.authors)?(0,y.jsx)(kt,{show:!0,items:a,contribSum:n}):(0,y.jsx)("p",{children:"No authors found"})})})]})}function os(e){if(!e)return!0;let t=Object.entries(e);for(let[,o]of t)if(o>0)return!1;return!0}function rs(e,t){let o={};r(e);function r(a){var n,i;for(let s of a.children)if(s.type==="blob"){let c=(n=s.unionedAuthors)==null?void 0:n[t];if(!c)throw Error("No unioned authors");for(let[l,p]of Object.entries(c))o[l]=((i=o[l])!=null?i:0)+p}else s.type==="tree"&&r(s)}return o}var Pe=f(_());var zt=f(re());var P=f(j()),as="Git Truck",ns="Analyzing | Git Truck",an=(0,Pe.memo)(function(){var x,h;let t=Mt(),{analyzerData:o,repo:r}=$(),a=pe(),n=We(),i=Qo(),[s,c]=(0,Pe.useState)(!1),[l,p]=(0,Pe.useState)(!1);(0,Pe.useEffect)(()=>{document.title=s?ns:as},[s]);let g=u=>{c(!0),i(["",r.name,u].join("/"))};(0,Pe.useEffect)(()=>{a.state==="idle"&&c(!1)},[a.state]);let m=new Date(o.lastRunEpoch).toISOString();return(0,P.jsx)("div",{className:"flex flex-col gap-2",children:(0,P.jsxs)("div",{className:"card",children:[(0,P.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,P.jsxs)("div",{className:"relative flex items-center",children:[(0,P.jsx)("button",{className:"btn--icon btn--primary",title:"See analysis details",onClick:()=>p(!0),children:(0,P.jsx)(zt.Icon,{path:vr,size:"1.5em"})}),(0,P.jsxs)("div",{className:V("card absolute left-0 top-0 z-10 h-max w-max shadow transition-opacity",{"hidden opacity-0":!l}),children:[(0,P.jsx)("h2",{className:"card__title",children:"Analysis details"}),(0,P.jsx)(Ye,{onClick:()=>p(!1)}),(0,P.jsxs)("div",{className:"grid auto-rows-fr grid-cols-2 gap-0",children:[(0,P.jsx)("span",{children:"Analyzed"}),(0,P.jsx)("time",{className:"text-right",dateTime:m,title:m,children:t?sa(o.lastRunEpoch):""}),(0,P.jsx)("span",{children:"As of commit"}),(0,P.jsx)("span",{className:"text-right",title:(x=o.commit.message)!=null?x:"No commit message",children:(0,P.jsxs)(Ze,{inline:!0,children:["#",o.commit.hash.slice(0,7)]})}),(0,P.jsx)("span",{children:"Files analyzed"}),(0,P.jsx)("span",{className:"text-right",children:(h=o.commit.fileCount)!=null?h:0})]})]})]}),(0,P.jsx)("h2",{className:"card__title grow justify-start gap-2",title:r.name,children:r.name})]}),(0,P.jsxs)("div",{className:"flex w-full auto-cols-max place-items-stretch gap-2",children:[(0,P.jsxs)(ze,{className:"btn btn--primary grow",to:"/",title:"See all repositories",prefetch:"intent",children:[(0,P.jsx)(zt.Icon,{path:ar,size:.75}),(0,P.jsx)("p",{children:"See more repositories"})]}),(0,P.jsxs)(ve,{method:"post",action:n.pathname,onSubmit:()=>{c(!0)},children:[(0,P.jsx)("input",{type:"hidden",name:"refresh",value:"true"}),(0,P.jsxs)("button",{className:"btn",disabled:a.state!=="idle",children:[(0,P.jsx)(zt.Icon,{path:zr,size:"1.25em"}),s?"Analyzing...":"Refresh"]})]})]}),(0,P.jsx)(ga,{disabled:s,onChange:u=>g(u.target.value),defaultValue:o.branch,headGroups:r.refs,analyzedHeads:r.analyzedHeads},r.currentHead)]})})});var $t=f(re()),qt=f(_()),Q=f(j());function is(e){if(!e.includes("/"))return e;let t=e.split("/");return t[t.length-1]}var nn=(0,qt.memo)(function(){let t=We(),[o,r]=yt(!1),a=pe(),{analyzerData:n}=$(),i=(0,qt.useId)();return(0,Q.jsxs)("div",{className:"card flex flex-col gap-2",children:[(0,Q.jsx)("h2",{className:"card__title",children:(0,Q.jsxs)("button",{className:"flex justify-start gap-2 hover:opacity-70",onClick:()=>r(!o),children:[(0,Q.jsx)($t.Icon,{path:mo,size:"1.25em"}),"Hidden files (",n.hiddenFiles.length,")",(0,Q.jsx)(et,{id:i,className:"absolute right-2 top-2",open:o})]})}),o?(0,Q.jsx)("div",{children:n.hiddenFiles.map(s=>(0,Q.jsxs)("div",{className:"grid grid-cols-[auto_1fr] gap-2",title:s,children:[(0,Q.jsxs)(ve,{className:"w-4",method:"post",action:t.pathname,children:[(0,Q.jsx)("input",{type:"hidden",name:"unignore",value:s}),(0,Q.jsxs)("button",{className:"btn--icon btn--hover-swap h-4",title:"Show file",disabled:a.state!=="idle",children:[(0,Q.jsx)($t.Icon,{path:mo,className:"inline-block h-full"}),(0,Q.jsx)($t.Icon,{path:dr,className:"hover-swap inline-block h-full"})]})]}),(0,Q.jsx)("span",{className:"text-sm opacity-70",children:is(s)})]},s))}):null]})});var No=f(re());var H=f(j());function sn({hoveredObject:e,metricCache:t}){var p,g;let[o,r,a,n]=t.legend,i=100/o,s=!1,c=0,l=(g=(p=ne().clickedObject)!=null?p:e)!=null?g:null;return de(l)&&(s=!0,c=i/2+i*n(l)),(0,H.jsx)(H.Fragment,{children:(0,H.jsxs)("div",{className:"relative",children:[(0,H.jsx)("div",{className:"flex",children:[...Array(o)].map((m,x)=>o>=4?(0,H.jsx)(ss,{width:i,color:a(x),text:r(x),top:x%2===0},`legend-${x}`):(0,H.jsx)(cs,{width:i,color:a(x),text:r(x)},`legend-${x}`))}),(0,H.jsx)(ht,{offset:c,visible:s})]})})}function ss({width:e,color:t,text:o,top:r}){return r?(0,H.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:`${e}%`},children:[(0,H.jsx)("div",{style:{textAlign:"left",height:"20px",marginBottom:"-6px"},children:o}),(0,H.jsx)("div",{style:{textAlign:"left",height:"20px",marginBottom:"-2px"},children:"/"}),(0,H.jsx)("div",{style:{backgroundColor:t,height:"20px"}}),(0,H.jsx)("div",{style:{textAlign:"left",height:"40px"}})]}):(0,H.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:`${e}%`},children:[(0,H.jsx)("div",{style:{textAlign:"left",height:"32px"}}),(0,H.jsx)("div",{style:{backgroundColor:t,height:"20px"}}),(0,H.jsx)("div",{style:{textAlign:"left",height:"20px",marginTop:"-7px"},children:"\\"}),(0,H.jsx)("div",{style:{textAlign:"left",height:"20px",marginTop:"-4px"},children:o})]})}function cs({width:e,color:t,text:o}){return(0,H.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:`${e}%`},children:[(0,H.jsx)("div",{style:{textAlign:"left",height:"20px",marginBottom:"-6px"},children:o}),(0,H.jsx)("div",{style:{textAlign:"left",height:"20px",marginBottom:"-2px"},children:"/"}),(0,H.jsx)("div",{style:{backgroundColor:t,height:"20px"}})]})}var cn=f(_());var be=f(j());function ln({hoveredObject:e,metricCache:t}){var h,u;let[o,r,a,n,i,s]=t.legend,{clickedObject:c}=ne(),l=(u=(h=c==null?void 0:c.path)!=null?h:e==null?void 0:e.path)!=null?u:null,p=l?t.colormap.get(l):null,g=p?vt(p):-1,m=(0,cn.useMemo)(()=>{let d=vt(i),D=vt(s)-d;return D===0?1:(g-d)/D},[g,s,i]),x=l!==null;return(0,be.jsxs)(be.Fragment,{children:[(0,be.jsxs)("div",{className:"flex justify-between",children:[(0,be.jsx)("span",{className:"font-bold",title:a,children:o}),(0,be.jsx)("span",{className:"font-bold",title:n,children:r})]}),(0,be.jsx)("div",{className:"relative h-6 w-full rounded-full",style:{backgroundImage:`linear-gradient(to right, ${i}, ${s})`},children:(0,be.jsx)(ht,{offset:m*100,visible:x})})]})}var mn=f(_());var J=f(j());function pn({hoveredObject:e,showUnionAuthorsModal:t,className:o=""}){var x;let r=ft(),{metricType:a,authorshipType:n}=K(),[i]=ae(),s=(0,mn.useDeferredValue)(e),{repo:c}=$(),l=pe(),p=(x=i[n].get(a))!=null?x:void 0;if(p===void 0)return null;let g=(0,J.jsx)(J.Fragment,{});switch(Ra(a)){case"POINT":g=(0,J.jsx)(wa,{metricCache:p,hoveredObject:s});break;case"GRADIENT":g=(0,J.jsx)(ln,{metricCache:p,hoveredObject:s});break;case"SEGMENTS":g=(0,J.jsx)(sn,{metricCache:p,hoveredObject:s});break}function m(){let h=new FormData;h.append("rerollColors",""),r(h,{action:`/${De(c.name,c.currentHead)}`,method:"post"})}return(0,J.jsxs)("div",{className:`card flex-shrink-0 overflow-hidden ${o}`,children:[(0,J.jsx)("h2",{className:"card__title",children:"Legend"}),(0,J.jsx)("h3",{className:"card__subtitle",children:tt[a]}),(0,J.jsx)("p",{className:"card-p",children:Pa(a,n)}),a==="TOP_CONTRIBUTOR"||a==="SINGLE_AUTHOR"?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)("button",{className:"btn",onClick:t,children:[(0,J.jsx)(No.Icon,{path:Je}),"Group authors"]}),(0,J.jsxs)("button",{className:"btn",disabled:l.state!=="idle",onClick:m,children:[(0,J.jsx)(No.Icon,{path:pr}),"Generate new author colors"]})]}):null,g]})}var ce=f(re()),Ut=f(_());var A=f(j()),dn=(0,Ut.memo)(function(){let[t,o]=na();console.log(t);let{metricType:r,chartType:a,depthType:n,sizeMetric:i,hierarchyType:s,transitionsEnabled:c,renderCutoff:l,setTransitionsEnabled:p,labelsVisible:g,setLabelsVisible:m,setMetricType:x,setChartType:h,setDepthType:u,setHierarchyType:d,setSizeMetricType:v,setRenderCutoff:D}=K(),[E,B]=ta("LINK_METRIC_AND_SIZE_METRIC",!1),k={FILE_TYPE:fr,LAST_CHANGED:go,MOST_COMMITS:po,SINGLE_AUTHOR:rr,TOP_CONTRIBUTOR:Br,TRUCK_FACTOR:uo},L={FILE_SIZE:$r,EQUAL_SIZE:qr,MOST_COMMITS:po,TRUCK_FACTOR:uo,LAST_CHANGED:go},F={BUBBLE_CHART:sr,TREE_MAP:so},G={NESTED:hr,FLAT:so},S={SYSTEM:lo,LIGHT:Zr,DARK:Ar},M={FILE_TYPE:"FILE_SIZE",TRUCK_FACTOR:"TRUCK_FACTOR",TOP_CONTRIBUTOR:"TRUCK_FACTOR",MOST_COMMITS:"MOST_COMMITS",SINGLE_AUTHOR:"TRUCK_FACTOR",LAST_CHANGED:"LAST_CHANGED"},[b,T]=(0,Ut.useTransition)();return(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{className:"card",children:[(0,A.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,A.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,A.jsx)(ce.Icon,{path:Gr,size:"1.25em"}),"Layout"]}),(0,A.jsx)(Me,{enum:vo,defaultValue:a,onChange:C=>h(C),iconMap:F})]}),(0,A.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,A.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,A.jsx)(ce.Icon,{path:Hr,size:"1.25em"}),"Color"]}),(0,A.jsx)(Me,{enum:tt,defaultValue:r,onChange:C=>{if(x(C),!E)return;let w=M[C];w&&v(w)},iconMap:k})]}),(0,A.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,A.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,A.jsx)(ce.Icon,{path:Tr,size:"1.25em"}),"Size"]}),(0,A.jsx)(Me,{enum:Et,defaultValue:i,onChange:C=>v(C),iconMap:L})]}),(0,A.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,A.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,A.jsx)(ce.Icon,{path:ur,size:"1.25em"}),"Hiearchy"]}),(0,A.jsx)(Me,{enum:Co,defaultValue:s,onChange:C=>d(C),iconMap:G})]}),s==="NESTED"?(0,A.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,A.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,A.jsx)(ce.Icon,{path:Yr,size:"1.25em"}),"Depth"]}),(0,A.jsx)(Me,{enum:_t,defaultValue:n,onChange:C=>u(C),iconMap:Ba})]}):null,(0,A.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,A.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,A.jsx)(ce.Icon,{path:Xr,size:"1.25em"}),"Theme"]}),(0,A.jsx)(Me,{enum:aa,defaultValue:t,onChange:C=>o(C),iconMap:S})]}),(0,A.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,A.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,A.jsx)(ce.Icon,{path:lo,size:"1.25em"}),"Settings"]}),(0,A.jsxs)(Qe,{className:"text-sm",checked:Boolean(E),onChange:C=>{B(C.target.checked),C.target.checked&&v(M[r])},title:"Enable to sync size metric with color metric",children:[(0,A.jsx)(ce.Icon,{className:"ml-1.5",path:kr,size:"1.25em"}),(0,A.jsx)("span",{children:"Link size and color option"})]}),(0,A.jsxs)(Qe,{className:"text-sm",checked:c,onChange:C=>p(C.target.checked),title:"Disable to improve performance when zooming",children:[(0,A.jsx)(ce.Icon,{className:"ml-1.5",path:Kr,size:"1.25em"}),"Transitions"]}),(0,A.jsxs)(Qe,{className:"text-sm",checked:g,onChange:C=>m(C.target.checked),title:"Disable to improve performance",children:[(0,A.jsx)(ce.Icon,{className:"ml-1.5",path:Cr,size:"1.25em"}),"Labels"]}),(0,A.jsxs)("label",{className:"label flex w-full items-center justify-start gap-2 text-sm",title:"Adjust the item rendering size threshold",children:[(0,A.jsxs)("span",{className:"flex grow items-center gap-2",children:[(0,A.jsx)(ce.Icon,{className:"ml-1.5",path:mr,size:"1.25em"}),"Pixel render cut-off ",b?(0,A.jsx)("img",{src:Qr,alt:"...",className:"h-5"}):""]}),(0,A.jsx)("input",{type:"number",min:0,defaultValue:l,className:"mr-1 w-12 place-self-end border-b-2",onChange:C=>T(()=>D(C.target.valueAsNumber))})]})]})]})})});var ie=f(_());var Vt=f(_()),Oo=(0,Vt.createContext)(void 0);function lt(){let e=(0,Vt.useContext)(Oo);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e}var Wt="options";var Lo=f(_()),un=(0,Lo.createContext)(null);function Jt(){return{startDate:null,endDate:null,setStartDate:()=>{throw new Error("No setStartDate provided")},setEndDate:()=>{throw new Error("No setEndDate provided")}}}var Re=f(j());function gn({children:e,data:t}){let[o,r]=(0,ie.useState)(null),[a,n]=(0,ie.useState)(null),[i,s]=(0,ie.useState)({}),[c,l]=(0,ie.useState)(t.repo.name),[p,g]=(0,ie.useState)(null),m=(0,ie.useMemo)(()=>_a(t.analyzerData,t.truckConfig.colorSeed),[t]),x=(0,ie.useMemo)(()=>({...Jt(),...a,setStartDate:u=>{n(d=>({...d!=null?d:Jt(),startDate:u}))},setEndDate:u=>{n(d=>({...d!=null?d:Jt(),endDate:u}))}}),[a]),h=(0,ie.useMemo)(()=>({...Y(),...o,setMetricType:u=>r(d=>({...d!=null?d:Y(),metricType:u})),setChartType:u=>r(d=>({...d!=null?d:Y(),chartType:u})),setDepthType:u=>r(d=>({...d!=null?d:Y(),depthType:u})),setHierarchyType:u=>r(d=>({...d!=null?d:Y(),hierarchyType:u})),setCommitSortingMethodsType:u=>r(d=>({...d!=null?d:Y(),commitSortingMethodsType:u})),setCommitSortingOrdersType:u=>r(d=>({...d!=null?d:Y(),commitSortingOrdersType:u})),setCommitSearch:u=>r(d=>({...d!=null?d:Y(),commitSearch:u})),setAuthorshipType:u=>r(d=>({...d!=null?d:Y(),authorshipType:u})),setSizeMetricType:u=>r(d=>({...d!=null?d:Y(),sizeMetric:u})),setHoveredBlob:u=>r(d=>({...d!=null?d:Y(),hoveredBlob:u})),setClickedObject:u=>r(d=>({...d!=null?d:Y(),clickedObject:u})),setTransitionsEnabled:u=>r(d=>({...d!=null?d:Y(),transitionsEnabled:u})),setLabelsVisible:u=>r(d=>({...d!=null?d:Y(),labelsVisible:u})),setRenderCutoff:u=>r(d=>({...d!=null?d:Y(),renderCutoff:u}))}),[o]);return(0,ie.useEffect)(()=>{let u=!1;return o&&(typeof requestIdleCallback=="function"?requestIdleCallback(()=>{u||localStorage.setItem(Wt,JSON.stringify(o))}):localStorage.setItem(Wt,JSON.stringify(o))),()=>{u=!0}},[o]),(0,ie.useEffect)(()=>{let u=localStorage.getItem(Wt);u&&r({...Y(JSON.parse(u)),hasLoadedSavedOptions:!0})},[]),(0,Re.jsx)(bo.Provider,{value:t,children:(0,Re.jsx)(ho.Provider,{value:m,children:(0,Re.jsx)(ko.Provider,{value:h,children:(0,Re.jsx)(Oo.Provider,{value:{searchResults:i,setSearchResults:s},children:(0,Re.jsx)(wo.Provider,{value:{path:c,setPath:l},children:(0,Re.jsx)(Mo.Provider,{value:{clickedObject:p,setClickedObject:g},children:(0,Re.jsx)(un.Provider,{value:x,children:e})})})})})})})}var ee=f(_());var Do=f(re());var Z=f(j());function ls(e,t){let o={};function r(a){for(let n of a.children)n.name.toLowerCase().includes(t.toLowerCase())&&t?o[n.path]=n:n.isSearchResult=!1,n.type==="tree"&&r(n)}return r(e),o}var fn=(0,ee.memo)(function(){let t=(0,ee.useRef)(null),[o,r]=(0,ee.useTransition)(),[a,n]=(0,ee.useState)(""),{searchResults:i,setSearchResults:s}=lt(),c=(0,ee.useMemo)(()=>Object.values(i),[i]),l=(0,ee.useId)(),{analyzerData:p}=$();return(0,ee.useEffect)(()=>{let g=m=>{var x;m.ctrlKey&&m.key==="f"&&(m.preventDefault(),(x=t.current)==null||x.focus())};return document.body.addEventListener("keydown",g),()=>{document.body.removeEventListener("keydown",g)}},[]),(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)("div",{className:"card sticky top-0 z-10 flex flex-col gap-2",children:[(0,Z.jsxs)("h2",{className:"card__title justify-start gap-2",children:[(0,Z.jsx)(Do.Icon,{path:wr,size:"1.25em"}),"Search"]}),(0,Z.jsxs)("div",{className:"flex gap-2",children:[(0,Z.jsx)("input",{className:"input",ref:t,id:l,type:"search",placeholder:"Search for a file or folder...",value:a,onChange:g=>{let m=g.target.value;n(m),r(()=>{m.trim()===""&&s({}),s(ls(p.commit.tree,m))})}}),(0,Z.jsx)("button",{className:"btn btn--primary",onClick:()=>{t.current&&(n(""),r(()=>{s({})}))},disabled:a.trim()==="",children:"Clear"})]}),o||a.length>0?(0,Z.jsx)("p",{className:"card-p",children:o?"Searching...":a.length>0?`${c.length} results`:null}):null]}),c.length>0?(0,Z.jsx)(ms,{}):null]})}),ms=(0,ee.memo)(function(){let{setPath:t}=ke(),{setClickedObject:o}=ne(),{searchResults:r}=lt();function a(n){if(o(n),n.type==="tree")t(n.path);else{let i=da(n.path);t(ma(n.path.split(i)).join(i))}}return(0,Z.jsx)("div",{className:"card relative gap-0",children:Object.values(r).map(n=>(0,Z.jsxs)("button",{className:"flex items-center justify-start gap-2 text-sm font-bold opacity-70 hover:opacity-100",title:n.path,value:n.path,onClick:()=>a(n),children:[(0,Z.jsx)(Do.Icon,{path:n.type==="tree"?Ke:xr,size:.75,className:"shrink-0"}),(0,Z.jsx)("span",{className:"truncate",children:n.name})]},n.path))})});var je=f(_());var _o=f(re());var xn=f(or()),N=f(j());function hn({open:e,onClose:t}){var C;let{repo:o,analyzerData:r,truckConfig:a}=$(),n=ft(),{authors:i}=r,s=(C=a.unionedAuthors)!=null?C:[],[c,l]=(0,je.useState)([]),[p,g]=(0,je.useState)(""),m=pe(),[,x]=ae(),[,h]=(0,je.useTransition)(),u=(0,je.useRef)(null);(0,je.useEffect)(()=>{if(u.current){if(e){u.current.showModal();return}u.current.close()}},[e]);let d=s.reduce((w,O)=>[...w,...O],[]).sort(Eo);function v(w){let O=s.filter((z,oe)=>oe!==w),R=new FormData;R.append("unionedAuthors",JSON.stringify(O)),n(R,{action:`/${De(o.name,o.currentHead)}`,method:"post"})}function D(){let w=new FormData;w.append("unionedAuthors",JSON.stringify([])),n(w,{action:`/${De(o.name,o.currentHead)}`,method:"post"})}function E(){if(c.length===0)return;let w=new FormData;w.append("unionedAuthors",JSON.stringify([...s,c])),n(w,{action:`/${De(o.name,o.currentHead)}`,method:"post"}),l([])}function B(w,O){let R=s.map((oe,se)=>se===O?[w,...oe.filter(me=>me!==w)]:oe),z=new FormData;z.append("unionedAuthors",JSON.stringify(R)),n(z,{action:`/${De(o.name,o.currentHead)}`,method:"post"})}let k=m.state!=="idle",L=i.filter(w=>!d.includes(w)).slice(0).sort(Eo);ea("Escape",t);let F=w=>{var O;return(O=x.get(w))!=null?O:"#333"};if(!e)return null;let G=L.length===0?"All detected authors have been grouped":"Select the authors that you know are the same person",S=L.filter(w=>w.toLowerCase().includes(p.toLowerCase())),M=S.map(w=>(0,N.jsx)(Qe,{className:"hover:opacity-70",checked:c.includes(w),onChange:O=>{var z;let R=(z=O.target)!=null&&z.checked?[...c,w]:c.filter(oe=>oe!==w);l(R)},children:(0,N.jsxs)("div",{className:"inline-flex flex-row place-items-center gap-2",children:[(0,N.jsx)(xe,{dotColor:F(w)}),w]})},w)),b=s.map((w,O)=>{let R=w[0],z=m.state!=="idle",oe=F(R);return(0,N.jsxs)("div",{className:"card group m-0 flex h-full flex-col p-2",children:[(0,N.jsxs)("div",{className:"inline-flex flex-row place-items-center gap-2",children:[(0,N.jsx)(xe,{dotColor:oe}),(0,N.jsx)("b",{className:"truncate",title:R,children:R})]}),w.slice(1).sort(Eo).map(se=>(0,N.jsx)(T,{alias:se,onClick:()=>B(se,O),disabled:z},se)),(0,N.jsx)("div",{className:"grow"}),(0,N.jsxs)("div",{className:"flex items-end justify-end gap-2 opacity-0 transition-opacity duration-200 group-hover:opacity-100",children:[(0,N.jsx)("button",{className:"btn",title:"Add selected authors to this group",onClick:()=>{let se=s.map(([Ne,...Ge],Oe)=>Oe===O?[Ne,...Ge,...c]:[Ne,...Ge]),me=new FormData;me.append("unionedAuthors",JSON.stringify(se)),n(me,{action:`/${De(o.name,o.currentHead)}`,method:"post"}),l([])},disabled:z||c.length===0,children:"Add selected"}),(0,N.jsx)("button",{className:"btn",onClick:()=>v(O),title:"Ungroup",disabled:z,children:"Ungroup"})]})]},O)});return(0,xn.createPortal)((0,N.jsx)("dialog",{ref:u,"aria-modal":!0,className:"z-10 m-auto flex h-full w-full flex-col items-start justify-stretch bg-transparent text-inherit backdrop:bg-gray-500/75 backdrop:p-0",children:(0,N.jsxs)("div",{className:"card m-auto grid h-full w-full max-w-screen-2xl grow grid-cols-[1fr,1fr] grid-rows-[max-content_max-content_max-content_1fr_max-content] gap-2 overflow-hidden shadow",children:[(0,N.jsx)("h2",{className:"text-2xl",children:"Group authors"}),(0,N.jsx)(Ye,{absolute:!1,className:"justify-self-end",onClick:t}),(0,N.jsxs)("h3",{className:"text-center text-lg font-bold",children:["Ungrouped authors (",L.length,")"]}),(0,N.jsx)("h3",{className:"text-center text-lg font-bold",children:"Grouped authors"}),(0,N.jsx)("div",{className:"flex justify-end gap-2",children:(0,N.jsxs)("button",{className:"btn btn--primary justify-self-end",onClick:E,title:"Group the selected authors",disabled:k||c.length===0,children:[(0,N.jsx)(_o.Icon,{path:Je,size:1}),"Create group"]})}),(0,N.jsx)("div",{className:"flex justify-end gap-4",children:(0,N.jsx)("button",{className:"btn btn--danger",disabled:k||s.length===0,onClick:()=>{confirm("Are you sure you want to ungroup all grouped authors?")&&D()},children:"Ungroup all"})}),(0,N.jsx)("div",{className:"overflow-y-auto",children:(0,N.jsxs)("div",{className:"flex h-min min-h-0 flex-col gap-2 rounded-md bg-white p-4 pt-2 shadow dark:bg-gray-700",children:[(0,N.jsxs)("div",{className:"sticky top-0 flex gap-2 bg-inherit pt-2",children:[(0,N.jsx)("input",{className:"input min-w-0",type:"search",placeholder:"Filter...",disabled:L.length===0,onChange:w=>h(()=>g(w.target.value))}),(0,N.jsx)("button",{disabled:k||c.length===0,onClick:()=>l([]),className:"btn btn--outlined w-max flex-grow",title:"Clear selection",children:"Clear"}),(0,N.jsx)("button",{disabled:L.length===0,onClick:()=>c.length===S.length?l([]):l(w=>Array.from(new Set([...w,...S]))),className:"btn btn--outlined w-max flex-grow",title:"Clear selection",children:c.length===S.length?"Deselect all":"Select all"})]}),M.length>0?M:(0,N.jsx)("p",{className:"place-self-center",children:p.length>0?"No authors found":"All authors have been grouped"})]})}),(0,N.jsx)("div",{className:"overflow-y-auto",children:(0,N.jsx)("div",{className:"grid h-min min-h-0 grid-cols-1 gap-4 rounded-md bg-white p-4 shadow lg:grid-cols-2 xl:grid-cols-3 dark:bg-gray-700",children:s.length>0?b:(0,N.jsx)("p",{className:"place-self-center",children:"No authors have been grouped yet"})})}),(0,N.jsxs)("div",{className:"col-span-2 mr-6 grid w-full grid-cols-2 gap-4",children:[(0,N.jsx)("p",{children:G}),(0,N.jsx)("button",{className:"btn btn--primary justify-self-end",onClick:t,children:"Done"})]})]})}),document.body);function T({alias:w,onClick:O,disabled:R}){return(0,N.jsxs)("button",{className:"btn--icon flex grid-flow-col gap-2 text-sm [&:hover>svg]:opacity-50 [&>svg]:opacity-0",disabled:R,onClick:O,title:"Make display name for this grouping",children:[(0,N.jsx)(_o.Icon,{path:nr,size:.75}),(0,N.jsx)("label",{title:w,className:"label truncate",children:w})]},w)}}var Eo=(e,t)=>e.toLowerCase().localeCompare(t.toLowerCase());var Xt=f(re()),mt=f(_());var fe=f(j());function yn(){let{repo:e}=$(),{path:t,setPath:o}=ke(),r=(0,mt.useMemo)(()=>{let a=t,n=[];for(let i=0;i<8&&a!=="";i++){let s=a.lastIndexOf("/");n.push([a.substring(s+1),a]),a=a.substring(0,s)}return a!==""&&(n=n.slice(0,n.length-1),n.push(["...",""]),n.push([e.name,e.name])),n.reverse()},[t,e.name]);return(0,fe.jsx)("div",{className:"flex items-center gap-1",children:r.length>1?r.map(([a,n],i)=>n===""||i===r.length-1?n===""?(0,fe.jsxs)(mt.Fragment,{children:[(0,fe.jsx)("span",{className:"font-bold",children:a}),(0,fe.jsx)(Xt.default,{path:Xe,size:1})]},n):(0,fe.jsx)("span",{className:"font-bold",children:a},n):(0,fe.jsxs)(mt.Fragment,{children:[(0,fe.jsxs)("button",{className:"card flex flex-row gap-2 px-2 py-1 font-bold hover:opacity-70",onClick:()=>o(n),children:[i===0?(0,fe.jsx)(Xt.default,{path:Sr,size:1}):null,a]}),(0,fe.jsx)(Xt.default,{path:Xe,size:1})]},n)):null})}var Mn=f(re()),bn=f(_());var Ue=f(_(),1),Po=class extends Ue.PureComponent{constructor(t){super(t),this.$=Ue.default.createRef(),this._=Ue.default.createRef()}render(){return Ue.default.createElement("span",{ref:this.$},Ue.default.createElement("a",{...this.props,ref:this._},this.props.children))}componentDidMount(){this.paint()}getSnapshotBeforeUpdate(){return this.reset(),null}componentDidUpdate(){this.paint()}componentWillUnmount(){this.reset()}paint(){let t=this.$.current.appendChild(document.createElement("span"));import("/build/_shared/buttons.esm-NERHWBM5.js").then(({render:o})=>{this._.current!=null&&o(t.appendChild(this._.current),function(r){try{t.parentNode.replaceChild(r,t)}catch{}})})}reset(){this.$.current.replaceChild(this._.current,this.$.current.lastChild)}},Ro=Po;var Se=f(j()),Sn=(0,bn.memo)(function(){return(0,Se.jsxs)("div",{className:"card",children:[(0,Se.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Se.jsx)("h3",{className:"card__title",children:"Support Git Truck"}),(0,Se.jsx)(Mn.default,{path:yr,size:1})]}),(0,Se.jsx)("div",{className:"dark:hue-rotate-180 dark:filter",children:(0,Se.jsxs)("div",{className:"flex items-center justify-between dark:contrast-75 dark:invert dark:sepia dark:filter",children:[(0,Se.jsx)(Ro,{href:"https://github.com/git-truck/git-truck","data-icon":"octicon-star","data-size":"large","data-show-count":"true",children:"Star Git Truck"}),(0,Se.jsx)(Ro,{href:"https://github.com/git-truck/git-truck/issues/new?template=user-issue.md","data-icon":"octicon-issue-opened","data-size":"large","data-show-count":"true",children:"Open an issue"})]})})]})});function ps(e){var t=0,o=e.children,r=o&&o.length;if(!r)t=1;else for(;--r>=0;)t+=o[r].value;e.value=t}function In(){return this.eachAfter(ps)}function Tn(e,t){let o=-1;for(let r of this)e.call(t,r,++o,this);return this}function vn(e,t){for(var o=this,r=[o],a,n,i=-1;o=r.pop();)if(e.call(t,o,++i,this),a=o.children)for(n=a.length-1;n>=0;--n)r.push(a[n]);return this}function Cn(e,t){for(var o=this,r=[o],a=[],n,i,s,c=-1;o=r.pop();)if(a.push(o),n=o.children)for(i=0,s=n.length;i<s;++i)r.push(n[i]);for(;o=a.pop();)e.call(t,o,++c,this);return this}function kn(e,t){let o=-1;for(let r of this)if(e.call(t,r,++o,this))return r}function wn(e){return this.eachAfter(function(t){for(var o=+e(t.data)||0,r=t.children,a=r&&r.length;--a>=0;)o+=r[a].value;t.value=o})}function jn(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function An(e){for(var t=this,o=ds(t,e),r=[t];t!==o;)t=t.parent,r.push(t);for(var a=r.length;e!==o;)r.splice(a,0,e),e=e.parent;return r}function ds(e,t){if(e===t)return e;var o=e.ancestors(),r=t.ancestors(),a=null;for(e=o.pop(),t=r.pop();e===t;)a=e,e=o.pop(),t=r.pop();return a}function Nn(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function On(){return Array.from(this)}function Ln(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function Dn(){var e=this,t=[];return e.each(function(o){o!==e&&t.push({source:o.parent,target:o})}),t}function*En(){var e=this,t,o=[e],r,a,n;do for(t=o.reverse(),o=[];e=t.pop();)if(yield e,r=e.children)for(a=0,n=r.length;a<n;++a)o.push(r[a]);while(o.length)}function rt(e,t){e instanceof Map?(e=[void 0,e],t===void 0&&(t=fs)):t===void 0&&(t=gs);for(var o=new pt(e),r,a=[o],n,i,s,c;r=a.pop();)if((i=t(r.data))&&(c=(i=Array.from(i)).length))for(r.children=i,s=c-1;s>=0;--s)a.push(n=i[s]=new pt(i[s])),n.parent=r,n.depth=r.depth+1;return o.eachBefore(hs)}function us(){return rt(this).eachBefore(xs)}function gs(e){return e.children}function fs(e){return Array.isArray(e)?e[1]:null}function xs(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function hs(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function pt(e){this.data=e,this.depth=this.height=0,this.parent=null}pt.prototype=rt.prototype={constructor:pt,count:In,each:Tn,eachAfter:Cn,eachBefore:vn,find:kn,sum:wn,sort:jn,path:An,ancestors:Nn,descendants:On,leaves:Ln,links:Dn,copy:us,[Symbol.iterator]:En};function _n(e){return e==null?null:Fo(e)}function Fo(e){if(typeof e!="function")throw new Error;return e}function Ae(){return 0}function Fe(e){return function(){return e}}function Pn(){let e=1;return()=>(e=(1664525*e+1013904223)%4294967296)/4294967296}function Rn(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Fn(e,t){let o=e.length,r,a;for(;o;)a=t()*o--|0,r=e[o],e[o]=e[a],e[a]=r;return e}function Hn(e,t){for(var o=0,r=(e=Fn(Array.from(e),t)).length,a=[],n,i;o<r;)n=e[o],i&&Bn(i,n)?++o:(i=Ms(a=ys(a,n)),o=0);return i}function ys(e,t){var o,r;if(Ho(t,e))return[t];for(o=0;o<e.length;++o)if(Kt(t,e[o])&&Ho(dt(e[o],t),e))return[e[o],t];for(o=0;o<e.length-1;++o)for(r=o+1;r<e.length;++r)if(Kt(dt(e[o],e[r]),t)&&Kt(dt(e[o],t),e[r])&&Kt(dt(e[r],t),e[o])&&Ho(Gn(e[o],e[r],t),e))return[e[o],e[r],t];throw new Error}function Kt(e,t){var o=e.r-t.r,r=t.x-e.x,a=t.y-e.y;return o<0||o*o<r*r+a*a}function Bn(e,t){var o=e.r-t.r+Math.max(e.r,t.r,1)*1e-9,r=t.x-e.x,a=t.y-e.y;return o>0&&o*o>r*r+a*a}function Ho(e,t){for(var o=0;o<t.length;++o)if(!Bn(e,t[o]))return!1;return!0}function Ms(e){switch(e.length){case 1:return bs(e[0]);case 2:return dt(e[0],e[1]);case 3:return Gn(e[0],e[1],e[2])}}function bs(e){return{x:e.x,y:e.y,r:e.r}}function dt(e,t){var o=e.x,r=e.y,a=e.r,n=t.x,i=t.y,s=t.r,c=n-o,l=i-r,p=s-a,g=Math.sqrt(c*c+l*l);return{x:(o+n+c/g*p)/2,y:(r+i+l/g*p)/2,r:(g+a+s)/2}}function Gn(e,t,o){var r=e.x,a=e.y,n=e.r,i=t.x,s=t.y,c=t.r,l=o.x,p=o.y,g=o.r,m=r-i,x=r-l,h=a-s,u=a-p,d=c-n,v=g-n,D=r*r+a*a-n*n,E=D-i*i-s*s+c*c,B=D-l*l-p*p+g*g,k=x*h-m*u,L=(h*B-u*E)/(k*2)-r,F=(u*d-h*v)/k,G=(x*E-m*B)/(k*2)-a,S=(m*v-x*d)/k,M=F*F+S*S-1,b=2*(n+L*F+G*S),T=L*L+G*G-n*n,C=-(Math.abs(M)>1e-6?(b+Math.sqrt(b*b-4*M*T))/(2*M):T/b);return{x:r+L+F*C,y:a+G+S*C,r:C}}function zn(e,t,o){var r=e.x-t.x,a,n,i=e.y-t.y,s,c,l=r*r+i*i;l?(n=t.r+o.r,n*=n,c=e.r+o.r,c*=c,n>c?(a=(l+c-n)/(2*l),s=Math.sqrt(Math.max(0,c/l-a*a)),o.x=e.x-a*r-s*i,o.y=e.y-a*i+s*r):(a=(l+n-c)/(2*l),s=Math.sqrt(Math.max(0,n/l-a*a)),o.x=t.x+a*r-s*i,o.y=t.y+a*i+s*r)):(o.x=t.x+o.r,o.y=t.y)}function $n(e,t){var o=e.r+t.r-1e-6,r=t.x-e.x,a=t.y-e.y;return o>0&&o*o>r*r+a*a}function qn(e){var t=e._,o=e.next._,r=t.r+o.r,a=(t.x*o.r+o.x*t.r)/r,n=(t.y*o.r+o.y*t.r)/r;return a*a+n*n}function Yt(e){this._=e,this.next=null,this.previous=null}function Un(e,t){if(!(n=(e=Rn(e)).length))return 0;var o,r,a,n,i,s,c,l,p,g,m;if(o=e[0],o.x=0,o.y=0,!(n>1))return o.r;if(r=e[1],o.x=-r.r,r.x=o.r,r.y=0,!(n>2))return o.r+r.r;zn(r,o,a=e[2]),o=new Yt(o),r=new Yt(r),a=new Yt(a),o.next=a.previous=r,r.next=o.previous=a,a.next=r.previous=o;e:for(c=3;c<n;++c){zn(o._,r._,a=e[c]),a=new Yt(a),l=r.next,p=o.previous,g=r._.r,m=o._.r;do if(g<=m){if($n(l._,a._)){r=l,o.next=r,r.previous=o,--c;continue e}g+=l._.r,l=l.next}else{if($n(p._,a._)){o=p,o.next=r,r.previous=o,--c;continue e}m+=p._.r,p=p.previous}while(l!==p.next);for(a.previous=o,a.next=r,o.next=r.previous=r=a,i=qn(o);(a=a.next)!==r;)(s=qn(a))<i&&(o=a,i=s);r=o.next}for(o=[r._],a=r;(a=a.next)!==r;)o.push(a._);for(a=Hn(o,t),c=0;c<n;++c)o=e[c],o.x-=a.x,o.y-=a.y;return a.r}function Ss(e){return Math.sqrt(e.value)}function Go(){var e=null,t=1,o=1,r=Ae;function a(n){let i=Pn();return n.x=t/2,n.y=o/2,e?n.eachBefore(Vn(e)).eachAfter(Bo(r,.5,i)).eachBefore(Wn(1)):n.eachBefore(Vn(Ss)).eachAfter(Bo(Ae,1,i)).eachAfter(Bo(r,n.r/Math.min(t,o),i)).eachBefore(Wn(Math.min(t,o)/(2*n.r))),n}return a.radius=function(n){return arguments.length?(e=_n(n),a):e},a.size=function(n){return arguments.length?(t=+n[0],o=+n[1],a):[t,o]},a.padding=function(n){return arguments.length?(r=typeof n=="function"?n:Fe(+n),a):r},a}function Vn(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function Bo(e,t,o){return function(r){if(a=r.children){var a,n,i=a.length,s=e(r)*t||0,c;if(s)for(n=0;n<i;++n)a[n].r+=s;if(c=Un(a,o),s)for(n=0;n<i;++n)a[n].r-=s;r.r=c+s}}}function Wn(e){return function(t){var o=t.parent;t.r*=e,o&&(t.x=o.x+e*t.x,t.y=o.y+e*t.y)}}function Jn(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function Xn(e,t,o,r,a){for(var n=e.children,i,s=-1,c=n.length,l=e.value&&(r-t)/e.value;++s<c;)i=n[s],i.y0=o,i.y1=a,i.x0=t,i.x1=t+=i.value*l}function Kn(e,t,o,r,a){for(var n=e.children,i,s=-1,c=n.length,l=e.value&&(a-o)/e.value;++s<c;)i=n[s],i.x0=t,i.x1=r,i.y0=o,i.y1=o+=i.value*l}var Is=(1+Math.sqrt(5))/2;function Ts(e,t,o,r,a,n){for(var i=[],s=t.children,c,l,p=0,g=0,m=s.length,x,h,u=t.value,d,v,D,E,B,k,L;p<m;){x=a-o,h=n-r;do d=s[g++].value;while(!d&&g<m);for(v=D=d,k=Math.max(h/x,x/h)/(u*e),L=d*d*k,B=Math.max(D/L,L/v);g<m;++g){if(d+=l=s[g].value,l<v&&(v=l),l>D&&(D=l),L=d*d*k,E=Math.max(D/L,L/v),E>B){d-=l;break}B=E}i.push(c={value:d,dice:x<h,children:s.slice(p,g)}),c.dice?Xn(c,o,r,a,u?r+=h*d/u:n):Kn(c,o,r,u?o+=x*d/u:a,n),u-=d,p=g}return i}var Yn=function e(t){function o(r,a,n,i,s){Ts(t,r,a,n,i,s)}return o.ratio=function(r){return e((r=+r)>1?r:1)},o}(Is);function zo(){var e=Yn,t=!1,o=1,r=1,a=[0],n=Ae,i=Ae,s=Ae,c=Ae,l=Ae;function p(m){return m.x0=m.y0=0,m.x1=o,m.y1=r,m.eachBefore(g),a=[0],t&&m.eachBefore(Jn),m}function g(m){var x=a[m.depth],h=m.x0+x,u=m.y0+x,d=m.x1-x,v=m.y1-x;d<h&&(h=d=(h+d)/2),v<u&&(u=v=(u+v)/2),m.x0=h,m.y0=u,m.x1=d,m.y1=v,m.children&&(x=a[m.depth+1]=n(m)/2,h+=l(m)-x,u+=i(m)-x,d-=s(m)-x,v-=c(m)-x,d<h&&(h=d=(h+d)/2),v<u&&(u=v=(u+v)/2),e(m,h,u,d,v))}return p.round=function(m){return arguments.length?(t=!!m,p):t},p.size=function(m){return arguments.length?(o=+m[0],r=+m[1],p):[o,r]},p.tile=function(m){return arguments.length?(e=Fo(m),p):e},p.padding=function(m){return arguments.length?p.paddingInner(m).paddingOuter(m):p.paddingInner()},p.paddingInner=function(m){return arguments.length?(n=typeof m=="function"?m:Fe(+m),p):n},p.paddingOuter=function(m){return arguments.length?p.paddingTop(m).paddingRight(m).paddingBottom(m).paddingLeft(m):p.paddingTop()},p.paddingTop=function(m){return arguments.length?(i=typeof m=="function"?m:Fe(+m),p):i},p.paddingRight=function(m){return arguments.length?(s=typeof m=="function"?m:Fe(+m),p):s},p.paddingBottom=function(m){return arguments.length?(c=typeof m=="function"?m:Fe(+m),p):c},p.paddingLeft=function(m){return arguments.length?(l=typeof m=="function"?m:Fe(+m),p):l},p}function $o(e,t,o,r,a){var n=e.children,i,s=n.length,c,l=new Array(s+1);for(l[0]=c=i=0;i<s;++i)l[i+1]=c+=n[i].value;p(0,s,e.value,t,o,r,a);function p(g,m,x,h,u,d,v){if(g>=m-1){var D=n[g];D.x0=h,D.y0=u,D.x1=d,D.y1=v;return}for(var E=l[g],B=x/2+E,k=g+1,L=m-1;k<L;){var F=k+L>>>1;l[F]<B?k=F+1:L=F}B-l[k-1]<l[k]-B&&g+1<k&&--k;var G=l[k]-E,S=x-G;if(d-h>v-u){var M=x?(h*S+d*G)/x:d;p(g,k,G,h,u,M,v),p(k,m,S,M,u,d,v)}else{var b=x?(u*S+v*G)/x:v;p(g,k,G,h,u,d,b),p(k,m,S,h,b,d,v)}}}var Ie=f(_());var X=f(j()),oi=(0,Ie.memo)(function({setHoveredObject:t}){let[o,r]=ra(),{searchResults:a}=lt(),n=(0,Ie.useDeferredValue)(r),{analyzerData:i}=$(),{chartType:s,sizeMetric:c,depthType:l,hierarchyType:p,labelsVisible:g,renderCutoff:m}=K(),{path:x}=ke(),{clickedObject:h,setClickedObject:u}=ne(),{setPath:d}=ke(),v;switch(l){case"One":v=1;break;case"Two":v=2;break;case"Three":v=3;break;case"Four":v=4;break;case"Five":v=5;break;case"Full":default:v=void 0}let D=(0,Ie.useMemo)(()=>p==="NESTED"?i.commit:{...i.commit,tree:{...i.commit.tree,children:ri(i.commit.tree)}},[i.commit,p]),E=(0,Ie.useMemo)(()=>n.width===0||n.height===0?[]:Es(D,n,s,c,x,m).descendants(),[n,D,s,c,x,m]);(0,Ie.useEffect)(()=>{t(null)},[s,i.commit,n,t]);let B=(k,L)=>de(k.data)?{onClick:F=>(F.stopPropagation(),u(k.data)),onMouseOver:()=>t(k.data),onMouseOut:()=>t(null)}:{onClick:F=>{F.stopPropagation(),u(k.data),d(k.data.path)},onMouseOver:F=>{F.stopPropagation(),t(L?null:k.data)},onMouseOut:()=>t(null)};return(0,X.jsx)("div",{className:"relative grid place-items-center overflow-hidden",ref:o,children:(0,X.jsx)("svg",{className:V("grid h-full w-full place-items-center stroke-gray-300 dark:stroke-gray-700",{"cursor-zoom-out":x.includes("/")}),xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${n.width} ${n.height}`,onClick:()=>{let k=x.split("/").slice(0,-1).join("/");d(k===""?"/":k)},children:E.map((k,L)=>(0,X.jsx)("g",{className:V("transition-opacity hover:opacity-60",{"cursor-pointer":L===0,"cursor-zoom-in":L>0&&Ce(k.data),"animate-blink":(h==null?void 0:h.path)===k.data.path}),...B(k,L===0),children:(v===void 0||k.depth<=v)&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Ns,{d:k,isSearchMatch:Boolean(a[k.data.path])},k.data.path),g&&(0,X.jsx)(Ls,{d:k,children:Os({d:k,isRoot:L===0,path:x,displayText:k.data.name,chartType:s})},`text|${x}|${k.data.path}|${s}|${c}`)]})},k.data.path))},`svg|${n.width}|${n.height}`)})});function Ns({d:e,isSearchMatch:t}){let[o]=ae(),{chartType:r,metricType:a,authorshipType:n,transitionsEnabled:i}=K(),s=(0,Ie.useMemo)(()=>{var l,p;let c={strokeWidth:"1px",fill:de(e.data)?(p=(l=o[n].get(a))==null?void 0:l.colormap.get(e.data.path))!=null?p:"grey":"transparent"};if(r==="BUBBLE_CHART"){let g=e;c={...c,x:g.x-g.r,y:g.y-g.r+14-1,width:g.r*2,height:g.r*2,rx:g.r,ry:g.r}}else{let g=e;c={...c,x:g.x0,y:g.y0,width:g.x1-g.x0,height:g.y1-g.y0,rx:8,ry:8}}return c},[e,o,n,a,r]);return(0,X.jsx)("rect",{...s,className:it(t?"stroke-red-500":de(e.data)?"stroke-transparent":"",{"cursor-pointer":de(e.data),"transition-all duration-500 ease-in-out":i,"animate-stroke-pulse":t})})}function Os({d:e,isRoot:t,path:o,displayText:r,chartType:a}){let n,i;if(a==="BUBBLE_CHART"){let s=e;n=c=>s.r<50||s.r*Math.PI<c.length*10,i=()=>!1}else{let s=e;n=c=>s.x1-s.x0<c.length*10,i=()=>s.y1-s.y0-(de(e.data)?3:3)<14}if(t){let s=o.split("/"),c=r.split("/"),l=0,p=0;for(;l<s.length&&p<c.length;)s[l]!==c[p]?l++:(l++,p++);r=c.slice(p-1).join("/")}return n(r)&&(r=r.replace(/\/.+\//gm,"/.../"),n(r))||i&&i(r)&&(r=r.replace(/\/.+\//gm,"/.../"),i(r))?null:r}function Ls({d:e,children:t=null}){var p,g;let[o]=ae(),{authorshipType:r,metricType:a}=K(),n=bt(),i=Ds(e);if(t===null)return null;let s;if(i){let m=Ce(e.data)?13:14,x=e;s=_s(x.x,x.y+m,x.r)}else{let m=e;s=Ps(m.x0+(Ce(e.data)?8:4),m.y0+(Ce(e.data)?3:3),m.x1-m.x0,m.y1-m.y0,0)}let c=de(e.data)?It((g=(p=o[r].get(a))==null?void 0:p.colormap.get(e.data.path))!=null?g:"#333"):n?"#333":"#fff",l={startOffset:i?"50%":void 0,dominantBaseline:i&&Ce(e.data)?"central":"hanging",textAnchor:i?"middle":"start",href:`#path-${e.data.path}`};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)("path",{d:s,id:`path-${e.data.path}`,className:"hidden"}),Ce(e.data)&&i?(0,X.jsx)("text",{className:"pointer-events-none fill-none stroke-gray-100 stroke-[7px] font-mono text-sm font-bold dark:stroke-gray-800",strokeLinecap:"round",children:(0,X.jsx)("textPath",{...l,children:t})}):null,(0,X.jsx)("text",{fill:c,className:"pointer-events-none stroke-none",children:(0,X.jsx)("textPath",{...l,className:V("stroke-none font-mono",{"text-sm font-bold":Ce(e.data),"text-xs":!Ce(e.data)}),children:t})})]})}function Ds(e){return typeof e.r=="number"}function Es(e,t,o,r,a,n){let s=e.tree,c=a.substring(e.tree.name.length+1).split("/");for(let m=0;m<c.length;m++)for(let x of s.children)if(x.type==="tree"){let h=x.name.split("/");if(h[0]===c[m]){s=x,m+=h.length-1;break}}let p=rt(s).sum(m=>{var h,u,d;let x=m;switch(r){case"FILE_SIZE":return(h=x.sizeInBytes)!=null?h:1;case"MOST_COMMITS":return x.noCommits;case"EQUAL_SIZE":return 1;case"LAST_CHANGED":return((u=x.lastChangeEpoch)!=null?u:e.oldestLatestChangeEpoch)-e.oldestLatestChangeEpoch;case"TRUCK_FACTOR":return Object.keys((d=x.authors)!=null?d:{}).length}}),g=Number.isNaN(n)?2:n;switch(o){case"TREE_MAP":{let x=zo().tile($o).size([t.width,t.height]).paddingInner(2).paddingOuter(4).paddingTop(20)(p);return qo(x,h=>{let u=h;return u.x1-u.x0>=g&&u.y1-u.y0>=g}),x}case"BUBBLE_CHART":{let x=Go().size([t.width,t.height-14]).padding(10)(p);return qo(x,h=>h.r>=g),x}default:throw Error("Invalid chart type")}}function qo(e,t){var o,r,a,n;e.children=(o=e.children)==null?void 0:o.filter(i=>t(i));for(let i of(r=e.children)!=null?r:[])((n=(a=i.children)==null?void 0:a.length)!=null?n:0)>0&&qo(i,t)}function _s(e,t,o){return`M${e},${t}
|
|
5
|
-
m0,${o}
|
|
6
|
-
a${o},${o} 0 1,1 0,${-o*2}
|
|
7
|
-
a${o},${o} 0 1,1 0,${o*2}`}function Ps(e,t,o,r,a){return a=Math.min(a,Math.floor(o/3),Math.floor(r/3)),`M${e+a},${t}
|
|
8
|
-
h${o-a*2}
|
|
9
|
-
a${a},${a} 0 0 1 ${a},${a}
|
|
10
|
-
v${r-a*2}
|
|
11
|
-
a${a},${a} 0 0 1 ${-a},${a}
|
|
12
|
-
h${-o+a*2}
|
|
13
|
-
a${a},${a} 0 0 1 ${-a},${-a}
|
|
14
|
-
v${-r+a*2}
|
|
15
|
-
a${a},${a} 0 0 1 ${a},${-a}
|
|
16
|
-
z`}function ri(e){let t=[];for(let o of e.children)o.type==="blob"?t.push(o):t.push(...ri(o));return t}var no=f(re());var le=f(_());var Vo=f(re()),He=f(j()),ai=(0,le.memo)(function({hoveredObject:t,x:o,y:r}){var h;let a=(0,le.useRef)(null),{metricType:n,authorshipType:i}=K(),[s]=ae(),c=(0,le.useMemo)(()=>{var v,D,E;if(!t)return null;let u=(D=(v=s[i])==null?void 0:v.get(n))==null?void 0:D.colormap;return(E=u==null?void 0:u.get(t.path))!=null?E:"grey"},[t,s,n,i]),l=(0,le.useMemo)(()=>o<window.innerWidth/2,[o]),p=(0,le.useMemo)(()=>r<window.innerHeight/2,[r]),g=(0,le.useMemo)(()=>l?`calc(1rem + ${o}px)`:`calc(-1rem + ${o}px - 100%)`,[l,o]),m=(0,le.useMemo)(()=>p?`calc(1rem + ${r}px)`:`calc(-1rem + ${r}px - 100%)`,[p,r]),x=t!==null;return(0,He.jsxs)("div",{className:`card absolute left-0 top-0 z-50 flex w-max flex-row place-items-center rounded-full bg-gray-100/50 py-0 pl-1 pr-2 backdrop-blur will-change-transform dark:bg-gray-800/40 ${x?"visible":"hidden"}`,ref:a,style:{transform:x?`translate(${g}, ${m})`:"none"},children:[(t==null?void 0:t.type)==="blob"?c?(0,He.jsx)(xe,{dotColor:c}):null:(0,He.jsx)(Vo.default,{className:"ml-0.5",path:Ke,size:.75}),(0,He.jsx)("span",{className:"card__subtitle items-center font-bold",children:t&&de(t)?t==null?void 0:t.name:pa((h=t==null?void 0:t.path.split("/"))!=null?h:[]).map((u,d,v)=>(0,He.jsxs)(le.Fragment,{children:[u,v.length>1&&d<v.length-1?(0,He.jsx)(Vo.default,{path:jr,size:1}):null]},`segment-${d}${u}`))}),(t==null?void 0:t.type)==="blob"?Rs({metric:n,hoveredBlob:t,authorshipType:i}):null]})});function Rs(e){var t,o,r,a,n,i,s,c,l,p,g;switch(e.metric){case"MOST_COMMITS":{let m=(t=e.hoveredBlob)==null?void 0:t.noCommits;return m?`${m} commit${m>1?"s":""}`:null}case"LAST_CHANGED":{let m=(o=e.hoveredBlob)==null?void 0:o.lastChangeEpoch;return m?ca(m):null}case"SINGLE_AUTHOR":{let m=e.hoveredBlob?Object.entries((n=(a=(r=e.hoveredBlob)==null?void 0:r.unionedAuthors)==null?void 0:a[e.authorshipType])!=null?n:[]):[];switch(m.length){case 0:return null;case 1:return`${m[0][0]} is the only author`;default:return`${m.length} authors`}}case"TOP_CONTRIBUTOR":{let m=(c=(s=(i=e.hoveredBlob)==null?void 0:i.dominantAuthor)==null?void 0:s[e.authorshipType])!=null?c:void 0;return m?m[0]:null}case"TRUCK_FACTOR":{let m=Object.entries((g=(p=(l=e.hoveredBlob)==null?void 0:l.unionedAuthors)==null?void 0:p.HISTORICAL)!=null?g:[]).length;switch(m){case 0:return null;case 1:return"1 author";default:return`${m} authors`}}default:return null}}var Ti=f(or()),Zs=f(fi()),vi=f(Si());var I=f(j());var Qs=()=>{let e=er();if((0,te.useEffect)(()=>{console.error(e)},[e]),Zo(e))return(0,I.jsxs)("div",{className:"app-container",children:[(0,I.jsx)("div",{}),(0,I.jsxs)("div",{className:"card",children:[(0,I.jsx)("h1",{children:"An error occured!"}),(0,I.jsx)("p",{children:"See console for more infomation."}),(0,I.jsxs)("p",{children:["Message: ",e.data.message]}),(0,I.jsx)(Ze,{children:e.data.message}),(0,I.jsx)("div",{children:(0,I.jsx)(ze,{to:".",children:"Retry"})}),(0,I.jsx)("div",{children:(0,I.jsx)(ze,{to:"..",children:"Go back"})})]})]});let t="Unknown error";return typeof e=="string"?t=e:typeof e=="object"&&e!==null&&"message"in e&&typeof e.message=="string"&&(t=e.message),(0,I.jsxs)("div",{className:"app-container",children:[(0,I.jsx)("div",{}),(0,I.jsxs)("div",{className:"card",children:[(0,I.jsx)("h1",{children:"An error occured!"}),(0,I.jsx)("p",{children:"See console for more infomation."}),(0,I.jsx)(Ze,{children:t}),(0,I.jsx)("div",{children:(0,I.jsx)(ze,{to:".",children:"Retry"})}),(0,I.jsx)("div",{children:(0,I.jsx)(ze,{to:"..",children:"Go back"})})]})]})},ec=(0,te.memo)(function(){let{gitTruckInfo:t}=$();return(0,I.jsxs)("div",{className:"card",children:[(0,I.jsxs)("p",{children:["Update available: ",t.latestVersion]}),(0,I.jsxs)("p",{className:"card-p",children:["Currently installed: ",t.version]}),(0,I.jsxs)("p",{className:"card-p",children:["To update, close application and run: ",(0,I.jsx)(Ze,{inline:!0,children:"npx git-truck@latest"})]})]})});function Ci(){let e=Mt(),t=xo(),{analyzerData:o,gitTruckInfo:r}=t,[a,n]=(0,te.useState)(!1),[i,s]=(0,te.useState)(!1),[c,l]=(0,te.useState)(!1),[p,g]=yt(!1),[m,x]=(0,te.useState)(null),h=()=>g(!0),u=(0,te.useMemo)(function(){return c?"fullscreen":a&&i?"both-collapse":a?"left-collapse":i?"right-collapse":""},[c,a,i]);return o?(0,I.jsxs)(gn,{data:t,children:[(0,I.jsxs)("div",{className:it("app-container",u),children:[(0,I.jsxs)("aside",{className:V("grid auto-rows-min items-start gap-2 p-2 pr-0",{"overflow-y-auto":!c}),children:[a?null:(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(an,{}),(0,I.jsx)(dn,{}),o.hiddenFiles.length>0?(0,I.jsx)(nn,{}):null,(0,I.jsx)(fn,{})]}),c?null:(0,I.jsx)("div",{className:it("absolute z-10 justify-self-end",{"left-0":a}),children:(0,I.jsx)("button",{type:"button",onClick:()=>n(!a),className:V("btn btn--primary absolute left-0 top-[50vh] flex h-6 w-6 cursor-pointer items-center justify-center rounded-full p-0",{"left-arrow-space":!a}),children:(0,I.jsx)(no.Icon,{path:a?Xe:co,size:1})})})]}),(0,I.jsxs)("main",{className:"grid h-full min-w-[100px] grid-rows-[auto,1fr] gap-2 overflow-y-hidden p-2",children:[(0,I.jsxs)("header",{className:"grid grid-flow-col items-center justify-between gap-2",children:[(0,I.jsx)(yn,{}),(0,I.jsx)(tc,{setIsFullscreen:l,isFullscreen:c})]}),e?(0,I.jsx)(oc,{hoveredObject:m,setHoveredObject:x}):(0,I.jsx)("div",{})]}),(0,I.jsxs)("aside",{className:V("grid auto-rows-min items-start gap-2 p-2 pl-0",{"overflow-y-auto":!c}),children:[c?null:(0,I.jsx)("div",{className:"absolute z-10",children:(0,I.jsx)("button",{type:"button",onClick:()=>s(!i),className:"btn btn--primary absolute right-0 top-[50vh] flex h-6 w-6 cursor-pointer items-center justify-center rounded-full p-0",children:(0,I.jsx)(no.Icon,{path:i?co:Xe,size:1})})}),!i&&!c?(0,I.jsxs)(I.Fragment,{children:[r.latestVersion&&ua(r.latestVersion,r.version)===1?(0,I.jsx)(ec,{}):null,(0,I.jsx)(rn,{className:V({"absolute bottom-0 right-2 max-h-screen -translate-x-full overflow-y-auto shadow shadow-black/50":c}),showUnionAuthorsModal:h}),(0,I.jsx)(pn,{hoveredObject:m,showUnionAuthorsModal:h}),(0,I.jsx)(vi.Online,{children:(0,I.jsx)(Sn,{})})]}):null]})]}),(0,I.jsx)(hn,{open:p,onClose:()=>{g(!1)}})]}):null}var tc=(0,te.memo)(function({setIsFullscreen:t,isFullscreen:o}){return(0,I.jsx)("button",{className:"card btn btn--primary p-1",onClick:()=>t(r=>!r),title:"Toggle full view",children:(0,I.jsx)(no.Icon,{path:o?br:Mr,size:1})})});function oc({hoveredObject:e,setHoveredObject:t}){let o=(0,te.useRef)(null),r=(0,te.useRef)(document.body),a=oa(r);return(0,I.jsxs)("div",{className:"card grid overflow-y-hidden p-2",ref:o,children:[(0,I.jsx)(oi,{setHoveredObject:t}),(0,Ti.createPortal)((0,I.jsx)(ai,{hoveredObject:e,x:a.docX,y:a.docY,w:window.innerWidth}),document.body)]})}export{Qs as ErrorBoundary,Ci as default};
|
|
17
|
-
/*! Bundled license information:
|
|
18
|
-
|
|
19
|
-
uniqolor/dist/uniqolor.js:
|
|
20
|
-
(**
|
|
21
|
-
* Generate unique and beautiful colors from any texts or numbers
|
|
22
|
-
* @version v1.1.0
|
|
23
|
-
* @link https://github.com/dastoori/uniqolor#README
|
|
24
|
-
* @author Rasool Dastoori
|
|
25
|
-
* @license MIT License, http://www.opensource.org/licenses/MIT
|
|
26
|
-
*)
|
|
27
|
-
*/
|