@muxcodecli/cli 1.15.16 → 1.15.18

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.
Files changed (204) hide show
  1. package/dist/bip-bop-01-ga21wr3r.mp3 +0 -0
  2. package/dist/bip-bop-03-kgfd4rq4.mp3 +0 -0
  3. package/dist/chunk-0hqmdrjr.js +3 -0
  4. package/dist/chunk-0npjzye0.js +2 -0
  5. package/dist/chunk-0pe6y883.js +2 -0
  6. package/dist/chunk-0qqpjj2h.js +3 -0
  7. package/dist/chunk-0r3h8jgj.js +2 -0
  8. package/dist/chunk-11285jfy.js +3 -0
  9. package/dist/chunk-11ant2kk.js +3 -0
  10. package/dist/chunk-124qmktt.js +18 -0
  11. package/dist/chunk-138ntz3h.js +2 -0
  12. package/dist/chunk-1e73ypg5.js +3 -0
  13. package/dist/chunk-1evcc54z.js +3 -0
  14. package/dist/chunk-1mqsg5s7.js +75 -0
  15. package/dist/chunk-1pv2317e.js +7 -0
  16. package/dist/chunk-1y3ssxx6.js +2 -0
  17. package/dist/chunk-20x8vsdn.js +7 -0
  18. package/dist/chunk-21x3anp4.js +9 -0
  19. package/dist/chunk-22qpzg37.js +212 -0
  20. package/dist/chunk-2bt5mtgm.js +3 -0
  21. package/dist/chunk-2d95ene8.js +2 -0
  22. package/dist/chunk-2h2zq5cp.js +2 -0
  23. package/dist/chunk-2pc63est.js +2 -0
  24. package/dist/chunk-33gs9z8d.js +2 -0
  25. package/dist/chunk-33vwwxjk.js +2 -0
  26. package/dist/chunk-3dq7hfxc.js +9 -0
  27. package/dist/chunk-3jvft1k1.js +2 -0
  28. package/dist/chunk-4jqh4mpm.js +2 -0
  29. package/dist/chunk-4mgyaytc.js +672 -0
  30. package/dist/chunk-4va8fzq1.js +2 -0
  31. package/dist/chunk-4wkq9y2z.js +7 -0
  32. package/dist/chunk-526nbm9e.js +2 -0
  33. package/dist/chunk-5a6895cv.js +37 -0
  34. package/dist/chunk-5e9dq2av.js +2 -0
  35. package/dist/chunk-5jn2z3nf.js +3 -0
  36. package/dist/chunk-5npr1qyq.js +574 -0
  37. package/dist/chunk-5sfky0gz.js +8 -0
  38. package/dist/chunk-5t7xqdvk.js +3 -0
  39. package/dist/chunk-5tpqj6ag.js +10 -0
  40. package/dist/chunk-5v5015am.js +12 -0
  41. package/dist/chunk-5wawdxv2.js +7 -0
  42. package/dist/chunk-6btrg3ff.js +2 -0
  43. package/dist/chunk-6skbzman.js +6 -0
  44. package/dist/chunk-6sz698ew.js +11 -0
  45. package/dist/chunk-6xzrzmsr.js +2 -0
  46. package/dist/chunk-7848rf5q.js +63 -0
  47. package/dist/chunk-7ep2edcv.js +12 -0
  48. package/dist/chunk-7svw66kw.js +13 -0
  49. package/dist/chunk-7xgr8vx6.js +2 -0
  50. package/dist/chunk-7zjn6m1m.js +2 -0
  51. package/dist/chunk-8atqb297.js +12 -0
  52. package/dist/chunk-8ebkxjar.js +7 -0
  53. package/dist/chunk-8j3aw4qg.js +3 -0
  54. package/dist/chunk-8jy0dvcn.js +3 -0
  55. package/dist/chunk-8refh038.js +2 -0
  56. package/dist/chunk-93cszp8k.js +3 -0
  57. package/dist/chunk-93ze3gcb.js +2 -0
  58. package/dist/chunk-98yxzxtd.js +2 -0
  59. package/dist/chunk-9g64kggy.js +3 -0
  60. package/dist/chunk-9h1pwxb2.js +8 -0
  61. package/dist/chunk-9j4j9nrm.js +2 -0
  62. package/dist/chunk-9kzczwh0.js +3 -0
  63. package/dist/chunk-9n629gtn.js +3 -0
  64. package/dist/chunk-9y59sxde.js +2 -0
  65. package/dist/chunk-a2m5jyd8.js +2 -0
  66. package/dist/chunk-a595cp8s.js +2 -0
  67. package/dist/chunk-ak0k3m4q.js +3 -0
  68. package/dist/chunk-apksmrz9.js +3 -0
  69. package/dist/chunk-b05r09sj.js +10 -0
  70. package/dist/chunk-b47e563q.js +2 -0
  71. package/dist/chunk-b57avnse.js +2 -0
  72. package/dist/chunk-bfjq7w7k.js +2 -0
  73. package/dist/chunk-bhc70qet.js +3 -0
  74. package/dist/chunk-bvtscj68.js +2 -0
  75. package/dist/chunk-bw2cy5v0.js +8 -0
  76. package/dist/chunk-c7dvyh2x.js +2 -0
  77. package/dist/chunk-cbz8b7g5.js +3 -0
  78. package/dist/chunk-cw4vbnet.js +3 -0
  79. package/dist/chunk-czcj3j9y.js +2 -0
  80. package/dist/chunk-dg466kdp.js +2 -0
  81. package/dist/chunk-dmscgnhq.js +2 -0
  82. package/dist/chunk-dtk4m8rm.js +3 -0
  83. package/dist/chunk-dy7akyj3.js +2 -0
  84. package/dist/chunk-e2wv2sp4.js +2 -0
  85. package/dist/chunk-e8j03wnd.js +3 -0
  86. package/dist/chunk-egkp6tct.js +2 -0
  87. package/dist/chunk-emfc800a.js +2 -0
  88. package/dist/chunk-envnht72.js +4 -0
  89. package/dist/chunk-eskw1cj2.js +3 -0
  90. package/dist/chunk-ezz15tyg.js +2 -0
  91. package/dist/chunk-fkmzj0qt.js +16 -0
  92. package/dist/chunk-fqt3c3g5.js +4 -0
  93. package/dist/chunk-frbht418.js +19 -0
  94. package/dist/chunk-ftz8cqfq.js +2 -0
  95. package/dist/chunk-g4jxdrr6.js +2 -0
  96. package/dist/chunk-g52xzmrr.js +2 -0
  97. package/dist/chunk-gbtvkje9.js +4 -0
  98. package/dist/chunk-gm9msqq5.js +8 -0
  99. package/dist/chunk-gxat3dpd.js +3 -0
  100. package/dist/chunk-hfppq1w5.js +4 -0
  101. package/dist/chunk-jdg870gy.js +1683 -0
  102. package/dist/chunk-jfz77m78.js +3 -0
  103. package/dist/chunk-jg9r58pf.js +16 -0
  104. package/dist/chunk-jgzt4945.js +2 -0
  105. package/dist/chunk-jh2epywq.js +2 -0
  106. package/dist/chunk-jpj6a56k.js +2 -0
  107. package/dist/chunk-jw4sgq23.js +2 -0
  108. package/dist/chunk-jws11ngd.js +2 -0
  109. package/dist/chunk-jxhz82qt.js +2 -0
  110. package/dist/chunk-k19y2psf.js +4 -0
  111. package/dist/chunk-k6cj14zk.js +2 -0
  112. package/dist/chunk-kktm0pdc.js +3 -0
  113. package/dist/chunk-kmr27ake.js +160 -0
  114. package/dist/chunk-kyhwvbvq.js +2 -0
  115. package/dist/chunk-mgn5pejx.js +2 -0
  116. package/dist/chunk-mskyzxb3.js +3 -0
  117. package/dist/chunk-my9cfmvt.js +5 -0
  118. package/dist/chunk-n4vx7kvs.js +389 -0
  119. package/dist/chunk-nc44rvs7.js +23 -0
  120. package/dist/chunk-ng3vbpmy.js +3 -0
  121. package/dist/chunk-nmnp5g5p.js +228 -0
  122. package/dist/chunk-nn0t3xmn.js +2 -0
  123. package/dist/chunk-npr41z9a.js +19 -0
  124. package/dist/chunk-ntvr3177.js +25 -0
  125. package/dist/chunk-pkc5hkha.js +2 -0
  126. package/dist/chunk-ppg6zhae.js +3 -0
  127. package/dist/chunk-pqwm9zk1.js +6 -0
  128. package/dist/chunk-ptvjmfqx.js +2 -0
  129. package/dist/chunk-q1r48y0y.js +34 -0
  130. package/dist/chunk-q9yddd1r.js +3 -0
  131. package/dist/chunk-qavtgsrh.js +2 -0
  132. package/dist/chunk-qvh8ghjw.js +7 -0
  133. package/dist/chunk-qx6r187q.js +2 -0
  134. package/dist/chunk-r093mfa8.js +32 -0
  135. package/dist/chunk-rbaj9ktq.js +2 -0
  136. package/dist/chunk-rkf9ynkx.js +3 -0
  137. package/dist/chunk-rpp44jtx.js +3 -0
  138. package/dist/chunk-rrvwp351.js +2 -0
  139. package/dist/chunk-rs8fsgqt.js +81 -0
  140. package/dist/chunk-s4gy87ft.js +8 -0
  141. package/dist/chunk-s5qq2ch2.js +12 -0
  142. package/dist/chunk-s92578qx.js +71 -0
  143. package/dist/chunk-snsb760m.js +2 -0
  144. package/dist/chunk-sp1cvejp.js +2 -0
  145. package/dist/chunk-spb3tm25.js +4 -0
  146. package/dist/chunk-srnmswkj.js +2 -0
  147. package/dist/chunk-sxgbzwrs.js +2 -0
  148. package/dist/chunk-t2s6m9t2.js +35 -0
  149. package/dist/chunk-t98sdxty.js +2 -0
  150. package/dist/chunk-tbnxx5na.js +2 -0
  151. package/dist/chunk-tfxm3qz4.js +2 -0
  152. package/dist/chunk-treb38pz.js +3 -0
  153. package/dist/chunk-tvw8tfpr.js +6 -0
  154. package/dist/chunk-v107htgw.js +101 -0
  155. package/dist/chunk-v8at4gnt.js +2 -0
  156. package/dist/chunk-vmr3get8.js +2 -0
  157. package/dist/chunk-vqrnejgj.js +71 -0
  158. package/dist/chunk-vvwy955j.js +3 -0
  159. package/dist/chunk-w5jxffnq.js +2 -0
  160. package/dist/chunk-wcbh5jqy.js +3 -0
  161. package/dist/chunk-wfmrnep1.js +2 -0
  162. package/dist/chunk-wk11yy8h.js +3 -0
  163. package/dist/chunk-wn5f1tfj.js +2 -0
  164. package/dist/chunk-wpm2p1gq.js +3 -0
  165. package/dist/chunk-wxkyv5gj.js +2 -0
  166. package/dist/chunk-wyed730e.js +2 -0
  167. package/dist/chunk-x65zs89t.js +3 -0
  168. package/dist/chunk-x6zjq78z.js +2 -0
  169. package/dist/chunk-xedav0qx.js +3 -0
  170. package/dist/chunk-xmftb9ad.js +38 -0
  171. package/dist/chunk-xvtkw7hj.js +3 -0
  172. package/dist/chunk-xy0txg0n.js +2 -0
  173. package/dist/chunk-y7s5cpwr.js +34 -0
  174. package/dist/chunk-yg48tfvv.js +16 -0
  175. package/dist/chunk-ygpen625.js +3 -0
  176. package/dist/chunk-ymb45bt6.js +2 -0
  177. package/dist/chunk-yp2zfcvh.js +8 -0
  178. package/dist/chunk-z3mx7n44.js +3 -0
  179. package/dist/chunk-zaj612bw.js +3 -0
  180. package/dist/chunk-zb3179f9.js +3 -0
  181. package/dist/chunk-zhd8f4pc.js +759 -0
  182. package/dist/chunk-zjpnyah2.js +3 -0
  183. package/dist/cli/cmd/tui/worker.js +2 -0
  184. package/dist/highlights-eq9cgrbb.scm +604 -0
  185. package/dist/highlights-ghv9g403.scm +205 -0
  186. package/dist/highlights-hk7bwhj4.scm +284 -0
  187. package/dist/highlights-r812a2qc.scm +150 -0
  188. package/dist/highlights-x6tmsnaa.scm +115 -0
  189. package/dist/index.js +146 -5742
  190. package/dist/injections-73j83es3.scm +27 -0
  191. package/dist/muxcode-linux-x64 +0 -0
  192. package/dist/nope-03-2z8weyjw.mp3 +0 -0
  193. package/dist/photon_rs_bg-bq08arze.wasm +0 -0
  194. package/dist/staplebops-06-rz29m246.mp3 +0 -0
  195. package/dist/tree-sitter-3jzf13jk.wasm +0 -0
  196. package/dist/tree-sitter-bash-hq5s6fxb.wasm +0 -0
  197. package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
  198. package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
  199. package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
  200. package/dist/tree-sitter-powershell-ryb2ffqs.wasm +0 -0
  201. package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
  202. package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
  203. package/dist/yup-01-30ecpeh9.mp3 +0 -0
  204. package/package.json +8 -7
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ import{RF as CH}from"./chunk-8j3aw4qg.js";var XH=CH((MH,D)=>{var P,j,I,b,y,g,f,k,m,u,x,l,_,h,A,d,c,v,q,n,p,i,s,a,o,t,r,e,F,HH,OH,TH;(function(U){var M=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(E){U(B(M,B(E)))});else if(typeof D==="object"&&typeof MH==="object")U(B(M,B(MH)));else U(B(M));function B(E,K){if(E!==M)if(typeof Object.create==="function")Object.defineProperty(E,"__esModule",{value:!0});else E.__esModule=!0;return function(H,O){return E[H]=K?K(H,O):O}}})(function(U){var M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,O){H.__proto__=O}||function(H,O){for(var T in O)if(Object.prototype.hasOwnProperty.call(O,T))H[T]=O[T]};P=function(H,O){if(typeof O!=="function"&&O!==null)throw TypeError("Class extends value "+String(O)+" is not a constructor or null");M(H,O);function T(){this.constructor=H}H.prototype=O===null?Object.create(O):(T.prototype=O.prototype,new T)},j=Object.assign||function(H){for(var O,T=1,C=arguments.length;T<C;T++){O=arguments[T];for(var L in O)if(Object.prototype.hasOwnProperty.call(O,L))H[L]=O[L]}return H},I=function(H,O){var T={};for(var C in H)if(Object.prototype.hasOwnProperty.call(H,C)&&O.indexOf(C)<0)T[C]=H[C];if(H!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var L=0,C=Object.getOwnPropertySymbols(H);L<C.length;L++)if(O.indexOf(C[L])<0&&Object.prototype.propertyIsEnumerable.call(H,C[L]))T[C[L]]=H[C[L]]}return T},b=function(H,O,T,C){var L=arguments.length,X=L<3?O:C===null?C=Object.getOwnPropertyDescriptor(O,T):C,$;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")X=Reflect.decorate(H,O,T,C);else for(var W=H.length-1;W>=0;W--)if($=H[W])X=(L<3?$(X):L>3?$(O,T,X):$(O,T))||X;return L>3&&X&&Object.defineProperty(O,T,X),X},y=function(H,O){return function(T,C){O(T,C,H)}},g=function(H,O,T,C,L,X){function $(S){if(S!==void 0&&typeof S!=="function")throw TypeError("Function expected");return S}var W=C.kind,N=W==="getter"?"get":W==="setter"?"set":"value",Q=!O&&H?C.static?H:H.prototype:null,Z=O||(Q?Object.getOwnPropertyDescriptor(Q,C.name):{}),J,V=!1;for(var Y=T.length-1;Y>=0;Y--){var G={};for(var w in C)G[w]=w==="access"?{}:C[w];for(var w in C.access)G.access[w]=C.access[w];G.addInitializer=function(S){if(V)throw TypeError("Cannot add initializers after decoration has completed");X.push($(S||null))};var R=(0,T[Y])(W==="accessor"?{get:Z.get,set:Z.set}:Z[N],G);if(W==="accessor"){if(R===void 0)continue;if(R===null||typeof R!=="object")throw TypeError("Object expected");if(J=$(R.get))Z.get=J;if(J=$(R.set))Z.set=J;if(J=$(R.init))L.unshift(J)}else if(J=$(R))if(W==="field")L.unshift(J);else Z[N]=J}if(Q)Object.defineProperty(Q,C.name,Z);V=!0},f=function(H,O,T){var C=arguments.length>2;for(var L=0;L<O.length;L++)T=C?O[L].call(H,T):O[L].call(H);return C?T:void 0},k=function(H){return typeof H==="symbol"?H:"".concat(H)},m=function(H,O,T){if(typeof O==="symbol")O=O.description?"[".concat(O.description,"]"):"";return Object.defineProperty(H,"name",{configurable:!0,value:T?"".concat(T," ",O):O})},u=function(H,O){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(H,O)},x=function(H,O,T,C){function L(X){return X instanceof T?X:new T(function($){$(X)})}return new(T||(T=Promise))(function(X,$){function W(Z){try{Q(C.next(Z))}catch(J){$(J)}}function N(Z){try{Q(C.throw(Z))}catch(J){$(J)}}function Q(Z){Z.done?X(Z.value):L(Z.value).then(W,N)}Q((C=C.apply(H,O||[])).next())})},l=function(H,O){var T={label:0,sent:function(){if(X[0]&1)throw X[1];return X[1]},trys:[],ops:[]},C,L,X,$=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return $.next=W(0),$.throw=W(1),$.return=W(2),typeof Symbol==="function"&&($[Symbol.iterator]=function(){return this}),$;function W(Q){return function(Z){return N([Q,Z])}}function N(Q){if(C)throw TypeError("Generator is already executing.");while($&&($=0,Q[0]&&(T=0)),T)try{if(C=1,L&&(X=Q[0]&2?L.return:Q[0]?L.throw||((X=L.return)&&X.call(L),0):L.next)&&!(X=X.call(L,Q[1])).done)return X;if(L=0,X)Q=[Q[0]&2,X.value];switch(Q[0]){case 0:case 1:X=Q;break;case 4:return T.label++,{value:Q[1],done:!1};case 5:T.label++,L=Q[1],Q=[0];continue;case 7:Q=T.ops.pop(),T.trys.pop();continue;default:if((X=T.trys,!(X=X.length>0&&X[X.length-1]))&&(Q[0]===6||Q[0]===2)){T=0;continue}if(Q[0]===3&&(!X||Q[1]>X[0]&&Q[1]<X[3])){T.label=Q[1];break}if(Q[0]===6&&T.label<X[1]){T.label=X[1],X=Q;break}if(X&&T.label<X[2]){T.label=X[2],T.ops.push(Q);break}if(X[2])T.ops.pop();T.trys.pop();continue}Q=O.call(H,T)}catch(Z){Q=[6,Z],L=0}finally{C=X=0}if(Q[0]&5)throw Q[1];return{value:Q[0]?Q[1]:void 0,done:!0}}},_=function(H,O){for(var T in H)if(T!=="default"&&!Object.prototype.hasOwnProperty.call(O,T))F(O,H,T)},F=Object.create?function(H,O,T,C){if(C===void 0)C=T;var L=Object.getOwnPropertyDescriptor(O,T);if(!L||("get"in L?!O.__esModule:L.writable||L.configurable))L={enumerable:!0,get:function(){return O[T]}};Object.defineProperty(H,C,L)}:function(H,O,T,C){if(C===void 0)C=T;H[C]=O[T]},h=function(H){var O=typeof Symbol==="function"&&Symbol.iterator,T=O&&H[O],C=0;if(T)return T.call(H);if(H&&typeof H.length==="number")return{next:function(){if(H&&C>=H.length)H=void 0;return{value:H&&H[C++],done:!H}}};throw TypeError(O?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(H,O){var T=typeof Symbol==="function"&&H[Symbol.iterator];if(!T)return H;var C=T.call(H),L,X=[],$;try{while((O===void 0||O-- >0)&&!(L=C.next()).done)X.push(L.value)}catch(W){$={error:W}}finally{try{if(L&&!L.done&&(T=C.return))T.call(C)}finally{if($)throw $.error}}return X},d=function(){for(var H=[],O=0;O<arguments.length;O++)H=H.concat(A(arguments[O]));return H},c=function(){for(var H=0,O=0,T=arguments.length;O<T;O++)H+=arguments[O].length;for(var C=Array(H),L=0,O=0;O<T;O++)for(var X=arguments[O],$=0,W=X.length;$<W;$++,L++)C[L]=X[$];return C},v=function(H,O,T){if(T||arguments.length===2){for(var C=0,L=O.length,X;C<L;C++)if(X||!(C in O)){if(!X)X=Array.prototype.slice.call(O,0,C);X[C]=O[C]}}return H.concat(X||Array.prototype.slice.call(O))},q=function(H){return this instanceof q?(this.v=H,this):new q(H)},n=function(H,O,T){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var C=T.apply(H,O||[]),L,X=[];return L=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),W("next"),W("throw"),W("return",$),L[Symbol.asyncIterator]=function(){return this},L;function $(Y){return function(G){return Promise.resolve(G).then(Y,J)}}function W(Y,G){if(C[Y]){if(L[Y]=function(w){return new Promise(function(R,S){X.push([Y,w,R,S])>1||N(Y,w)})},G)L[Y]=G(L[Y])}}function N(Y,G){try{Q(C[Y](G))}catch(w){V(X[0][3],w)}}function Q(Y){Y.value instanceof q?Promise.resolve(Y.value.v).then(Z,J):V(X[0][2],Y)}function Z(Y){N("next",Y)}function J(Y){N("throw",Y)}function V(Y,G){if(Y(G),X.shift(),X.length)N(X[0][0],X[0][1])}},p=function(H){var O,T;return O={},C("next"),C("throw",function(L){throw L}),C("return"),O[Symbol.iterator]=function(){return this},O;function C(L,X){O[L]=H[L]?function($){return(T=!T)?{value:q(H[L]($)),done:!1}:X?X($):$}:X}},i=function(H){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var O=H[Symbol.asyncIterator],T;return O?O.call(H):(H=typeof h==="function"?h(H):H[Symbol.iterator](),T={},C("next"),C("throw"),C("return"),T[Symbol.asyncIterator]=function(){return this},T);function C(X){T[X]=H[X]&&function($){return new Promise(function(W,N){$=H[X]($),L(W,N,$.done,$.value)})}}function L(X,$,W,N){Promise.resolve(N).then(function(Q){X({value:Q,done:W})},$)}},s=function(H,O){if(Object.defineProperty)Object.defineProperty(H,"raw",{value:O});else H.raw=O;return H};var B=Object.create?function(H,O){Object.defineProperty(H,"default",{enumerable:!0,value:O})}:function(H,O){H.default=O},E=function(H){return E=Object.getOwnPropertyNames||function(O){var T=[];for(var C in O)if(Object.prototype.hasOwnProperty.call(O,C))T[T.length]=C;return T},E(H)};a=function(H){if(H&&H.__esModule)return H;var O={};if(H!=null){for(var T=E(H),C=0;C<T.length;C++)if(T[C]!=="default")F(O,H,T[C])}return B(O,H),O},o=function(H){return H&&H.__esModule?H:{default:H}},t=function(H,O,T,C){if(T==="a"&&!C)throw TypeError("Private accessor was defined without a getter");if(typeof O==="function"?H!==O||!C:!O.has(H))throw TypeError("Cannot read private member from an object whose class did not declare it");return T==="m"?C:T==="a"?C.call(H):C?C.value:O.get(H)},r=function(H,O,T,C,L){if(C==="m")throw TypeError("Private method is not writable");if(C==="a"&&!L)throw TypeError("Private accessor was defined without a setter");if(typeof O==="function"?H!==O||!L:!O.has(H))throw TypeError("Cannot write private member to an object whose class did not declare it");return C==="a"?L.call(H,T):L?L.value=T:O.set(H,T),T},e=function(H,O){if(O===null||typeof O!=="object"&&typeof O!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof H==="function"?O===H:H.has(O)},HH=function(H,O,T){if(O!==null&&O!==void 0){if(typeof O!=="object"&&typeof O!=="function")throw TypeError("Object expected.");var C,L;if(T){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");C=O[Symbol.asyncDispose]}if(C===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(C=O[Symbol.dispose],T)L=C}if(typeof C!=="function")throw TypeError("Object not disposable.");if(L)C=function(){try{L.call(this)}catch(X){return Promise.reject(X)}};H.stack.push({value:O,dispose:C,async:T})}else if(T)H.stack.push({async:!0});return O};var K=typeof SuppressedError==="function"?SuppressedError:function(H,O,T){var C=Error(T);return C.name="SuppressedError",C.error=H,C.suppressed=O,C};OH=function(H){function O(X){H.error=H.hasError?new K(X,H.error,"An error was suppressed during disposal."):X,H.hasError=!0}var T,C=0;function L(){while(T=H.stack.pop())try{if(!T.async&&C===1)return C=0,H.stack.push(T),Promise.resolve().then(L);if(T.dispose){var X=T.dispose.call(T.value);if(T.async)return C|=2,Promise.resolve(X).then(L,function($){return O($),L()})}else C|=1}catch($){O($)}if(C===1)return H.hasError?Promise.reject(H.error):Promise.resolve();if(H.hasError)throw H.error}return L()},TH=function(H,O){if(typeof H==="string"&&/^\.\.?\//.test(H))return H.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(T,C,L,X,$){return C?O?".jsx":".js":L&&(!X||!$)?T:L+X+"."+$.toLowerCase()+"js"});return H},U("__extends",P),U("__assign",j),U("__rest",I),U("__decorate",b),U("__param",y),U("__esDecorate",g),U("__runInitializers",f),U("__propKey",k),U("__setFunctionName",m),U("__metadata",u),U("__awaiter",x),U("__generator",l),U("__exportStar",_),U("__createBinding",F),U("__values",h),U("__read",A),U("__spread",d),U("__spreadArrays",c),U("__spreadArray",v),U("__await",q),U("__asyncGenerator",n),U("__asyncDelegator",p),U("__asyncValues",i),U("__makeTemplateObject",s),U("__importStar",a),U("__importDefault",o),U("__classPrivateFieldGet",t),U("__classPrivateFieldSet",r),U("__classPrivateFieldIn",e),U("__addDisposableResource",HH),U("__disposeResources",OH),U("__rewriteRelativeImportExtension",TH)})});var ZH=CH((QH)=>{var LH={},z={};for(let U=0;U<256;U++){let M=U.toString(16).toLowerCase();if(M.length===1)M=`0${M}`;LH[U]=M,z[M]=U}function $H(U){if(U.length%2!==0)throw Error("Hex encoded strings must have an even number length");let M=new Uint8Array(U.length/2);for(let B=0;B<U.length;B+=2){let E=U.slice(B,B+2).toLowerCase();if(E in z)M[B/2]=z[E];else throw Error(`Cannot decode unrecognized sequence ${E} as hexadecimal`)}return M}function UH(U){let M="";for(let B=0;B<U.byteLength;B++)M+=LH[U[B]];return M}QH.fromHex=$H;QH.toHex=UH});
3
+ export{XH as Ks,ZH as Ls};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Bj as W,Cj as U,Dj as q}from"../../../chunk-bhc70qet.js";import{Gj as k,Lj as T}from"../../../chunk-vvwy955j.js";import{Nj as N}from"../../../chunk-2bt5mtgm.js";import{Zj as w}from"../../../chunk-jdg870gy.js";import"../../../chunk-11285jfy.js";import"../../../chunk-nmnp5g5p.js";import"../../../chunk-tvw8tfpr.js";import"../../../chunk-xmftb9ad.js";import"../../../chunk-rpp44jtx.js";import{el as $}from"../../../chunk-4mgyaytc.js";import"../../../chunk-pqwm9zk1.js";import"../../../chunk-22qpzg37.js";import"../../../chunk-93cszp8k.js";import"../../../chunk-n4vx7kvs.js";import"../../../chunk-v107htgw.js";import"../../../chunk-cbz8b7g5.js";import"../../../chunk-5jn2z3nf.js";import"../../../chunk-vqrnejgj.js";import{Ar as M,Kp as J,Yo as O,_o as Z,dp as S,jp as _}from"../../../chunk-zhd8f4pc.js";import"../../../chunk-ygpen625.js";import"../../../chunk-jfz77m78.js";import"../../../chunk-my9cfmvt.js";import{vs as Q}from"../../../chunk-8jy0dvcn.js";import"../../../chunk-frbht418.js";import"../../../chunk-8ebkxjar.js";import"../../../chunk-zjpnyah2.js";import"../../../chunk-0hqmdrjr.js";import"../../../chunk-1pv2317e.js";import"../../../chunk-21x3anp4.js";import"../../../chunk-ntvr3177.js";import"../../../chunk-9h1pwxb2.js";import"../../../chunk-fkmzj0qt.js";import"../../../chunk-q9yddd1r.js";import"../../../chunk-eskw1cj2.js";import"../../../chunk-k19y2psf.js";import"../../../chunk-ppg6zhae.js";import"../../../chunk-ng3vbpmy.js";import{eC as Y}from"../../../chunk-1mqsg5s7.js";import"../../../chunk-z3mx7n44.js";import"../../../chunk-0qqpjj2h.js";import"../../../chunk-9g64kggy.js";import"../../../chunk-8j3aw4qg.js";async function X(){let j=await N.runPromise(M.Service.use((L)=>L.getGlobal()));if(j.autoupdate===!1||Q.MUXCODE_DISABLE_AUTOUPDATE)return;let H=await w.method(),z=await w.latest(H).catch(()=>{});if(!z)return;if(Q.MUXCODE_ALWAYS_NOTIFY_UPDATE){J.emit("event",{directory:"global",payload:{type:w.Event.UpdateAvailable.type,properties:{version:z}}});return}if(S===z)return;let P=w.getReleaseType(S,z);if(j.autoupdate==="notify"||P!=="patch"){J.emit("event",{directory:"global",payload:{type:w.Event.UpdateAvailable.type,properties:{version:z}}});return}if(H==="unknown")return;await w.upgrade(H,z).then(()=>J.emit("event",{directory:"global",payload:{type:w.Event.Updated.type,properties:{version:z}}})).catch(()=>{})}import{writeHeapSnapshot as y}from"v8";_("worker");await Z({print:process.argv.includes("--print-logs"),dev:w.isLocal(),level:(()=>{if(w.isLocal())return"DEBUG";return"INFO"})()});q.start();process.on("unhandledRejection",(j)=>{O.error("rejection",{e:j instanceof Error?j.message:j})});process.on("uncaughtException",(j)=>{O.error("exception",{e:j instanceof Error?j.message:j})});J.on("event",(j)=>{W.emit("global.event",j)});var K,C={async fetch(j){let H={...j.headers},z=$.header();if(z&&!H.authorization&&!H.Authorization)H.Authorization=z;let P=new Request(j.url,{method:j.method,headers:H,body:j.body}),L=await T.Default().app.fetch(P),x=await L.text();return{status:L.status,headers:Object.fromEntries(L.headers.entries()),body:x}},snapshot(){return y("server.heapsnapshot")},async server(j){if(K)await K.stop(!0);return K=await T.listen(j),{url:K.url.toString()}},async checkUpgrade(j){await U.load({directory:j.directory}),await X().catch(()=>{})},async reload(){await N.runPromise(Y.gen(function*(){yield*(yield*M.Service).invalidate(),yield*k({swallowErrors:!0})}))},async shutdown(){if(O.info("worker shutting down"),await U.disposeAllInstances(),K)await K.stop(!0)}};W.listen(C);export{C as rpc};
@@ -0,0 +1,604 @@
1
+ ; Query from: https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/ecma/highlights.scm
2
+ ; Types
3
+ ; Javascript
4
+ ; Variables
5
+ ;-----------
6
+ (identifier) @variable
7
+
8
+ ; Properties
9
+ ;-----------
10
+ (property_identifier) @variable.member
11
+
12
+ (shorthand_property_identifier) @variable.member
13
+
14
+ (private_property_identifier) @variable.member
15
+
16
+ (object_pattern
17
+ (shorthand_property_identifier_pattern) @variable)
18
+
19
+ (object_pattern
20
+ (object_assignment_pattern
21
+ (shorthand_property_identifier_pattern) @variable))
22
+
23
+ ; Special identifiers
24
+ ;--------------------
25
+ ((identifier) @type
26
+ (#lua-match? @type "^[A-Z]"))
27
+
28
+ ((identifier) @constant
29
+ (#lua-match? @constant "^_*[A-Z][A-Z%d_]*$"))
30
+
31
+ ((shorthand_property_identifier) @constant
32
+ (#lua-match? @constant "^_*[A-Z][A-Z%d_]*$"))
33
+
34
+ ((identifier) @variable.builtin
35
+ (#any-of? @variable.builtin "arguments" "module" "console" "window" "document"))
36
+
37
+ ((identifier) @type.builtin
38
+ (#any-of? @type.builtin
39
+ "Object" "Function" "Boolean" "Symbol" "Number" "Math" "Date" "String" "RegExp" "Map" "Set"
40
+ "WeakMap" "WeakSet" "Promise" "Array" "Int8Array" "Uint8Array" "Uint8ClampedArray" "Int16Array"
41
+ "Uint16Array" "Int32Array" "Uint32Array" "Float32Array" "Float64Array" "ArrayBuffer" "DataView"
42
+ "Error" "EvalError" "InternalError" "RangeError" "ReferenceError" "SyntaxError" "TypeError"
43
+ "URIError"))
44
+
45
+ (statement_identifier) @label
46
+
47
+ ; Function and method definitions
48
+ ;--------------------------------
49
+ (function_expression
50
+ name: (identifier) @function)
51
+
52
+ (function_declaration
53
+ name: (identifier) @function)
54
+
55
+ (generator_function
56
+ name: (identifier) @function)
57
+
58
+ (generator_function_declaration
59
+ name: (identifier) @function)
60
+
61
+ (method_definition
62
+ name: [
63
+ (property_identifier)
64
+ (private_property_identifier)
65
+ ] @function.method)
66
+
67
+ (method_definition
68
+ name: (property_identifier) @constructor
69
+ (#eq? @constructor "constructor"))
70
+
71
+ (pair
72
+ key: (property_identifier) @function.method
73
+ value: (function_expression))
74
+
75
+ (pair
76
+ key: (property_identifier) @function.method
77
+ value: (arrow_function))
78
+
79
+ (assignment_expression
80
+ left: (member_expression
81
+ property: (property_identifier) @function.method)
82
+ right: (arrow_function))
83
+
84
+ (assignment_expression
85
+ left: (member_expression
86
+ property: (property_identifier) @function.method)
87
+ right: (function_expression))
88
+
89
+ (variable_declarator
90
+ name: (identifier) @function
91
+ value: (arrow_function))
92
+
93
+ (variable_declarator
94
+ name: (identifier) @function
95
+ value: (function_expression))
96
+
97
+ (assignment_expression
98
+ left: (identifier) @function
99
+ right: (arrow_function))
100
+
101
+ (assignment_expression
102
+ left: (identifier) @function
103
+ right: (function_expression))
104
+
105
+ ; Function and method calls
106
+ ;--------------------------
107
+ (call_expression
108
+ function: (identifier) @function.call)
109
+
110
+ (call_expression
111
+ function: (member_expression
112
+ property: [
113
+ (property_identifier)
114
+ (private_property_identifier)
115
+ ] @function.method.call))
116
+
117
+ (call_expression
118
+ function: (await_expression
119
+ (identifier) @function.call))
120
+
121
+ (call_expression
122
+ function: (await_expression
123
+ (member_expression
124
+ property: [
125
+ (property_identifier)
126
+ (private_property_identifier)
127
+ ] @function.method.call)))
128
+
129
+ ; Builtins
130
+ ;---------
131
+ ((identifier) @module.builtin
132
+ (#eq? @module.builtin "Intl"))
133
+
134
+ ((identifier) @function.builtin
135
+ (#any-of? @function.builtin
136
+ "eval" "isFinite" "isNaN" "parseFloat" "parseInt" "decodeURI" "decodeURIComponent" "encodeURI"
137
+ "encodeURIComponent" "require"))
138
+
139
+ ; Constructor
140
+ ;------------
141
+ (new_expression
142
+ constructor: (identifier) @constructor)
143
+
144
+ ; Decorators
145
+ ;----------
146
+ (decorator
147
+ "@" @attribute
148
+ (identifier) @attribute)
149
+
150
+ (decorator
151
+ "@" @attribute
152
+ (call_expression
153
+ (identifier) @attribute))
154
+
155
+ (decorator
156
+ "@" @attribute
157
+ (member_expression
158
+ (property_identifier) @attribute))
159
+
160
+ (decorator
161
+ "@" @attribute
162
+ (call_expression
163
+ (member_expression
164
+ (property_identifier) @attribute)))
165
+
166
+ ; Literals
167
+ ;---------
168
+ [
169
+ (this)
170
+ (super)
171
+ ] @variable.builtin
172
+
173
+ ((identifier) @variable.builtin
174
+ (#eq? @variable.builtin "self"))
175
+
176
+ [
177
+ (true)
178
+ (false)
179
+ ] @boolean
180
+
181
+ [
182
+ (null)
183
+ (undefined)
184
+ ] @constant.builtin
185
+
186
+ [
187
+ (comment)
188
+ (html_comment)
189
+ ] @comment @spell
190
+
191
+ ((comment) @comment.documentation
192
+ (#lua-match? @comment.documentation "^/[*][*][^*].*[*]/$"))
193
+
194
+ (hash_bang_line) @keyword.directive
195
+
196
+ ((string_fragment) @keyword.directive
197
+ (#eq? @keyword.directive "use strict"))
198
+
199
+ (string) @string
200
+
201
+ (template_string) @string
202
+
203
+ (escape_sequence) @string.escape
204
+
205
+ (regex_pattern) @string.regexp
206
+
207
+ (regex_flags) @character.special
208
+
209
+ (regex
210
+ "/" @punctuation.bracket) ; Regex delimiters
211
+
212
+ (number) @number
213
+
214
+ ((identifier) @number
215
+ (#any-of? @number "NaN" "Infinity"))
216
+
217
+ ; Punctuation
218
+ ;------------
219
+ [
220
+ ";"
221
+ "."
222
+ ","
223
+ ":"
224
+ ] @punctuation.delimiter
225
+
226
+ [
227
+ "--"
228
+ "-"
229
+ "-="
230
+ "&&"
231
+ "+"
232
+ "++"
233
+ "+="
234
+ "&="
235
+ "/="
236
+ "**="
237
+ "<<="
238
+ "<"
239
+ "<="
240
+ "<<"
241
+ "="
242
+ "=="
243
+ "==="
244
+ "!="
245
+ "!=="
246
+ "=>"
247
+ ">"
248
+ ">="
249
+ ">>"
250
+ "||"
251
+ "%"
252
+ "%="
253
+ "*"
254
+ "**"
255
+ ">>>"
256
+ "&"
257
+ "|"
258
+ "^"
259
+ "??"
260
+ "*="
261
+ ">>="
262
+ ">>>="
263
+ "^="
264
+ "|="
265
+ "&&="
266
+ "||="
267
+ "??="
268
+ "..."
269
+ ] @operator
270
+
271
+ (binary_expression
272
+ "/" @operator)
273
+
274
+ (ternary_expression
275
+ [
276
+ "?"
277
+ ":"
278
+ ] @keyword.conditional.ternary)
279
+
280
+ (unary_expression
281
+ [
282
+ "!"
283
+ "~"
284
+ "-"
285
+ "+"
286
+ ] @operator)
287
+
288
+ (unary_expression
289
+ [
290
+ "delete"
291
+ "void"
292
+ ] @keyword.operator)
293
+
294
+ [
295
+ "("
296
+ ")"
297
+ "["
298
+ "]"
299
+ "{"
300
+ "}"
301
+ ] @punctuation.bracket
302
+
303
+ (template_substitution
304
+ [
305
+ "${"
306
+ "}"
307
+ ] @punctuation.special) @none
308
+
309
+ ; Imports
310
+ ;----------
311
+ (namespace_import
312
+ "*" @character.special
313
+ (identifier) @module)
314
+
315
+ (namespace_export
316
+ "*" @character.special
317
+ (identifier) @module)
318
+
319
+ (export_statement
320
+ "*" @character.special)
321
+
322
+ ; Keywords
323
+ ;----------
324
+ [
325
+ "if"
326
+ "else"
327
+ "switch"
328
+ "case"
329
+ ] @keyword.conditional
330
+
331
+ [
332
+ "import"
333
+ "from"
334
+ "as"
335
+ "export"
336
+ ] @keyword.import
337
+
338
+ [
339
+ "for"
340
+ "of"
341
+ "do"
342
+ "while"
343
+ "continue"
344
+ ] @keyword.repeat
345
+
346
+ [
347
+ "break"
348
+ "const"
349
+ "debugger"
350
+ "extends"
351
+ "get"
352
+ "let"
353
+ "set"
354
+ "static"
355
+ "target"
356
+ "var"
357
+ "with"
358
+ ] @keyword
359
+
360
+ "class" @keyword.type
361
+
362
+ [
363
+ "async"
364
+ "await"
365
+ ] @keyword.coroutine
366
+
367
+ [
368
+ "return"
369
+ "yield"
370
+ ] @keyword.return
371
+
372
+ "function" @keyword.function
373
+
374
+ [
375
+ "new"
376
+ "delete"
377
+ "in"
378
+ "instanceof"
379
+ "typeof"
380
+ ] @keyword.operator
381
+
382
+ [
383
+ "throw"
384
+ "try"
385
+ "catch"
386
+ "finally"
387
+ ] @keyword.exception
388
+
389
+ (export_statement
390
+ "default" @keyword)
391
+
392
+ (switch_default
393
+ "default" @keyword.conditional)
394
+
395
+
396
+ ; Query from: https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/typescript/highlights.scm
397
+ ; inherits: ecma
398
+
399
+ "require" @keyword.import
400
+
401
+ (import_require_clause
402
+ source: (string) @string.special.url)
403
+
404
+ [
405
+ "declare"
406
+ "implements"
407
+ "type"
408
+ "override"
409
+ "module"
410
+ "asserts"
411
+ "infer"
412
+ "is"
413
+ "using"
414
+ ] @keyword
415
+
416
+ [
417
+ "namespace"
418
+ "interface"
419
+ "enum"
420
+ ] @keyword.type
421
+
422
+ [
423
+ "keyof"
424
+ "satisfies"
425
+ ] @keyword.operator
426
+
427
+ (as_expression
428
+ "as" @keyword.operator)
429
+
430
+ (mapped_type_clause
431
+ "as" @keyword.operator)
432
+
433
+ [
434
+ "abstract"
435
+ "private"
436
+ "protected"
437
+ "public"
438
+ "readonly"
439
+ ] @keyword.modifier
440
+
441
+ ; types
442
+ (type_identifier) @type
443
+
444
+ (predefined_type) @type.builtin
445
+
446
+ (import_statement
447
+ "type"
448
+ (import_clause
449
+ (named_imports
450
+ (import_specifier
451
+ name: (identifier) @type))))
452
+
453
+ (template_literal_type) @string
454
+
455
+ (non_null_expression
456
+ "!" @operator)
457
+
458
+ ; punctuation
459
+ (type_arguments
460
+ [
461
+ "<"
462
+ ">"
463
+ ] @punctuation.bracket)
464
+
465
+ (type_parameters
466
+ [
467
+ "<"
468
+ ">"
469
+ ] @punctuation.bracket)
470
+
471
+ (object_type
472
+ [
473
+ "{|"
474
+ "|}"
475
+ ] @punctuation.bracket)
476
+
477
+ (union_type
478
+ "|" @punctuation.delimiter)
479
+
480
+ (intersection_type
481
+ "&" @punctuation.delimiter)
482
+
483
+ (type_annotation
484
+ ":" @punctuation.delimiter)
485
+
486
+ (type_predicate_annotation
487
+ ":" @punctuation.delimiter)
488
+
489
+ (index_signature
490
+ ":" @punctuation.delimiter)
491
+
492
+ (omitting_type_annotation
493
+ "-?:" @punctuation.delimiter)
494
+
495
+ (adding_type_annotation
496
+ "+?:" @punctuation.delimiter)
497
+
498
+ (opting_type_annotation
499
+ "?:" @punctuation.delimiter)
500
+
501
+ "?." @punctuation.delimiter
502
+
503
+ (abstract_method_signature
504
+ "?" @punctuation.special)
505
+
506
+ (method_signature
507
+ "?" @punctuation.special)
508
+
509
+ (method_definition
510
+ "?" @punctuation.special)
511
+
512
+ (property_signature
513
+ "?" @punctuation.special)
514
+
515
+ (optional_parameter
516
+ "?" @punctuation.special)
517
+
518
+ (optional_type
519
+ "?" @punctuation.special)
520
+
521
+ (public_field_definition
522
+ [
523
+ "?"
524
+ "!"
525
+ ] @punctuation.special)
526
+
527
+ (flow_maybe_type
528
+ "?" @punctuation.special)
529
+
530
+ (template_type
531
+ [
532
+ "${"
533
+ "}"
534
+ ] @punctuation.special)
535
+
536
+ (conditional_type
537
+ [
538
+ "?"
539
+ ":"
540
+ ] @keyword.conditional.ternary)
541
+
542
+ ; Parameters
543
+ (required_parameter
544
+ pattern: (identifier) @variable.parameter)
545
+
546
+ (optional_parameter
547
+ pattern: (identifier) @variable.parameter)
548
+
549
+ (required_parameter
550
+ (rest_pattern
551
+ (identifier) @variable.parameter))
552
+
553
+ ; ({ a }) => null
554
+ (required_parameter
555
+ (object_pattern
556
+ (shorthand_property_identifier_pattern) @variable.parameter))
557
+
558
+ ; ({ a = b }) => null
559
+ (required_parameter
560
+ (object_pattern
561
+ (object_assignment_pattern
562
+ (shorthand_property_identifier_pattern) @variable.parameter)))
563
+
564
+ ; ({ a: b }) => null
565
+ (required_parameter
566
+ (object_pattern
567
+ (pair_pattern
568
+ value: (identifier) @variable.parameter)))
569
+
570
+ ; ([ a ]) => null
571
+ (required_parameter
572
+ (array_pattern
573
+ (identifier) @variable.parameter))
574
+
575
+ ; a => null
576
+ (arrow_function
577
+ parameter: (identifier) @variable.parameter)
578
+
579
+ ; global declaration
580
+ (ambient_declaration
581
+ "global" @module)
582
+
583
+ ; function signatures
584
+ (ambient_declaration
585
+ (function_signature
586
+ name: (identifier) @function))
587
+
588
+ ; method signatures
589
+ (method_signature
590
+ name: (_) @function.method)
591
+
592
+ (abstract_method_signature
593
+ name: (property_identifier) @function.method)
594
+
595
+ ; property signatures
596
+ (property_signature
597
+ name: (property_identifier) @function.method
598
+ type: (type_annotation
599
+ [
600
+ (union_type
601
+ (parenthesized_type
602
+ (function_type)))
603
+ (function_type)
604
+ ]))