@maincode-ai/matilda-code 0.21.12 → 0.21.13-nightly.20261026.e0eae1d8c

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 (194) hide show
  1. package/bundled/mainy/SKILL.md +0 -2
  2. package/bundled/mainy/docs/_meta.ts +0 -2
  3. package/bundled/mainy/docs/configuration/auth.md +5 -10
  4. package/bundled/mainy/docs/configuration/model-providers.md +31 -217
  5. package/bundled/mainy/docs/configuration/settings.md +32 -4
  6. package/bundled/mainy/docs/features/auto-mode.md +1 -1
  7. package/bundled/mainy/docs/features/channels/_meta.ts +0 -3
  8. package/bundled/mainy/docs/features/channels/overview.md +8 -16
  9. package/bundled/mainy/docs/features/commands.md +4 -4
  10. package/bundled/mainy/docs/features/hooks.md +9 -7
  11. package/bundled/mainy/docs/features/language.md +2 -29
  12. package/bundled/mainy/docs/features/sub-agents.md +1 -1
  13. package/bundled/mainy/docs/features/worktree.md +3 -5
  14. package/bundled/mainy/docs/integration-github-action.md +3 -3
  15. package/bundled/mainy/docs/matilda-serve.md +1 -1
  16. package/bundled/mainy/docs/quickstart.md +2 -2
  17. package/bundled/mainy/docs/support/troubleshooting.md +3 -10
  18. package/chunks/agent-4FTU3WN6.js +3 -0
  19. package/chunks/agent-headless-QJUVHPFC.js +3 -0
  20. package/chunks/{askUserQuestion-2QI4NSFJ.js → askUserQuestion-QKX4NEFX.js} +1 -1
  21. package/chunks/{ca-I2HEEIL7.js → ca-C2V7I65K.js} +6 -6
  22. package/chunks/{chunk-6E766NPX.js → chunk-2ONZZ46N.js} +2 -2
  23. package/chunks/chunk-36K4HBVM.js +7 -0
  24. package/chunks/{chunk-EQGA7LH7.js → chunk-3B2HABK7.js} +1 -1
  25. package/chunks/{chunk-MCQUPLRE.js → chunk-5NMK4Y7C.js} +1 -1
  26. package/chunks/chunk-5YT4GCK7.js +14 -0
  27. package/chunks/{chunk-27Q5KW3A.js → chunk-62AFAL4I.js} +10 -10
  28. package/chunks/chunk-75KP2FVD.js +81 -0
  29. package/chunks/chunk-7ZODGQO6.js +4 -0
  30. package/chunks/chunk-BZB7HYRC.js +37 -0
  31. package/chunks/{chunk-YRQP3SLC.js → chunk-EXNHJQCD.js} +1 -1
  32. package/chunks/chunk-FCGYRGV4.js +9 -0
  33. package/chunks/chunk-G4YMVWG4.js +8 -0
  34. package/chunks/{chunk-6T2GIM76.js → chunk-HDARIAVM.js} +1 -1
  35. package/chunks/{chunk-YJAKOETP.js → chunk-HM5LCKDB.js} +2 -2
  36. package/chunks/chunk-IIQ5YERM.js +120 -0
  37. package/chunks/{chunk-CSJTA7NE.js → chunk-JGJ7BVZN.js} +18 -18
  38. package/chunks/{chunk-GTVCJCHR.js → chunk-JIKQI4MZ.js} +1 -1
  39. package/chunks/{chunk-WV3IUPZS.js → chunk-LHDCAN7Z.js} +1 -1
  40. package/chunks/chunk-LZDHANXA.js +89 -0
  41. package/chunks/{chunk-PGXQZVLX.js → chunk-NOE4UNQN.js} +1 -1
  42. package/chunks/chunk-OEZS5R3S.js +207 -0
  43. package/chunks/{chunk-OOEH6ZSV.js → chunk-PTMCLADZ.js} +1 -1
  44. package/chunks/{chunk-2HTPVSGT.js → chunk-PYZNGIIR.js} +1 -1
  45. package/chunks/chunk-QJJTUDDA.js +56 -0
  46. package/chunks/{chunk-LUNDTQ3G.js → chunk-R34HYLL4.js} +1 -1
  47. package/chunks/{chunk-QVCGLQCI.js → chunk-RK4LPGBV.js} +3 -3
  48. package/chunks/{chunk-DE3HKC2W.js → chunk-RYHMPK5G.js} +1 -1
  49. package/chunks/chunk-SR7ARGUY.js +13 -0
  50. package/chunks/{chunk-JRECUFB3.js → chunk-SY6JRCN3.js} +636 -654
  51. package/chunks/chunk-TUKNB5CQ.js +33 -0
  52. package/chunks/{chunk-VTGICC67.js → chunk-TZ4FRU6B.js} +1 -1
  53. package/chunks/chunk-U7V7APDV.js +9 -0
  54. package/chunks/{chunk-CZGZ3KK7.js → chunk-UVWZ44ZW.js} +1 -1
  55. package/chunks/{chunk-HYVP4472.js → chunk-V6UPUMP3.js} +1 -1
  56. package/chunks/{chunk-DOOFGSRV.js → chunk-VLDZBRTL.js} +1 -1
  57. package/chunks/{computer-use-WKDNUTLD.js → computer-use-OXAMR75N.js} +1 -1
  58. package/chunks/contextCommand-ERLW5VWL.js +3 -0
  59. package/chunks/{cron-create-F2LXM2OA.js → cron-create-AUDQ6STP.js} +1 -1
  60. package/chunks/{cron-delete-DE6Q2S2L.js → cron-delete-P5HE3PDD.js} +1 -1
  61. package/chunks/{cron-list-IAQEJVV7.js → cron-list-NR5FZBK2.js} +1 -1
  62. package/chunks/{de-AQXFJYZI.js → de-KOUI2CEW.js} +5 -5
  63. package/chunks/{devtools-5JRKK3E7.js → devtools-G5DWLP2N.js} +1 -1
  64. package/chunks/dist-XXTQNTKQ.js +42 -0
  65. package/chunks/dist-ZFZZLIQU.js +3 -0
  66. package/chunks/{edit-QQNJZ55P.js → edit-REFR5ROS.js} +1 -1
  67. package/chunks/{en-EJLDYIBM.js → en-RMYRLXC2.js} +4 -4
  68. package/chunks/{enter-worktree-5X5SAMBJ.js → enter-worktree-WO3DT2G7.js} +1 -1
  69. package/chunks/{enterPlanMode-HP35SPLN.js → enterPlanMode-PLRHEU5A.js} +1 -1
  70. package/chunks/{exit-worktree-SRKZBEYF.js → exit-worktree-J5PW6DCV.js} +1 -1
  71. package/chunks/{exitPlanMode-WSPTGGVN.js → exitPlanMode-KXUPNLCJ.js} +2 -2
  72. package/chunks/{fr-6TDHK7F2.js → fr-R3QF3LA2.js} +5 -5
  73. package/chunks/glob-ZVTVRDQO.js +22 -0
  74. package/chunks/{goal-tools-C6BSBHCF.js → goal-tools-XVKQJL5I.js} +1 -1
  75. package/chunks/{grep-MVCOBUYW.js → grep-R7CWUNNE.js} +1 -1
  76. package/chunks/{ja-GGNJR7AR.js → ja-A5OQLXUZ.js} +5 -5
  77. package/chunks/{keychain-token-storage-KQK6MNOJ.js → keychain-token-storage-IM4UB4P4.js} +1 -1
  78. package/chunks/{ls-JYJXFSXN.js → ls-DEAFYDVV.js} +1 -1
  79. package/chunks/{lsp-DYDK6XCS.js → lsp-DL7W47VY.js} +1 -1
  80. package/chunks/matildaAgentContentGenerator-57EIU5XE.js +8 -0
  81. package/chunks/mcp-client-X7LEGSP3.js +3 -0
  82. package/chunks/monitor-KPWTMH3V.js +32 -0
  83. package/chunks/{multipart-parser-JI75T2O5.js → multipart-parser-FKHYAVGR.js} +1 -1
  84. package/chunks/notebook-edit-3ZH5M2TC.js +17 -0
  85. package/chunks/openaiContentGenerator-6PXSD3T7.js +37 -0
  86. package/chunks/{pt-D6L2QTDM.js → pt-RG3S3KA7.js} +5 -5
  87. package/chunks/read-file-JNS7WRUP.js +3 -0
  88. package/chunks/ripGrep-ICJDGIIV.js +3 -0
  89. package/chunks/{ru-BNJCHDYO.js → ru-5S5HLRT7.js} +5 -5
  90. package/chunks/scheduler-QC2PPMFP.js +8 -0
  91. package/chunks/{send-message-P3SMWNEE.js → send-message-V2WYLN5X.js} +1 -1
  92. package/chunks/{serve-FXH6EBQ6.js → serve-NUVQULZJ.js} +59 -48
  93. package/chunks/shell-5LNI7URE.js +3 -0
  94. package/chunks/{skill-HZPFEAPF.js → skill-QFATRHQW.js} +1 -1
  95. package/chunks/src-6UPZ7TVB.js +3 -0
  96. package/chunks/src-LZEU4AYF.js +5 -0
  97. package/chunks/{symbol-search-EAIZPWN7.js → symbol-search-WL6ZHUUN.js} +1 -1
  98. package/chunks/{syntheticOutput-432LXITX.js → syntheticOutput-3KW6SQAF.js} +1 -1
  99. package/chunks/task-create-PNW5SN27.js +3 -0
  100. package/chunks/{task-detach-XMSJ3HBM.js → task-detach-B7PDPFBA.js} +1 -1
  101. package/chunks/task-list-GGZATGK5.js +9 -0
  102. package/chunks/{task-stop-NTS62FLG.js → task-stop-UKBBE2KG.js} +1 -1
  103. package/chunks/{task-update-AR26UFYZ.js → task-update-4RHVUBUV.js} +1 -1
  104. package/chunks/{team-create-PYXFVIR5.js → team-create-2TJC3X57.js} +1 -1
  105. package/chunks/team-delete-4UJ7SU65.js +8 -0
  106. package/chunks/todoWrite-NEBVKOSG.js +3 -0
  107. package/chunks/{tool-search-RKZDSRYS.js → tool-search-R5GS64YR.js} +1 -1
  108. package/chunks/{web-fetch-VW3SVDQ6.js → web-fetch-H3XJMAEF.js} +17 -17
  109. package/chunks/{web-search-XQUIZARL.js → web-search-Q6RWPEIB.js} +1 -1
  110. package/chunks/{workflow-YXNXDRWZ.js → workflow-3A7KN3E3.js} +2 -2
  111. package/chunks/write-file-O7Q6SKZC.js +15 -0
  112. package/cli.js +502 -498
  113. package/locales/ca.js +1 -28
  114. package/locales/de.js +1 -28
  115. package/locales/en.js +1 -30
  116. package/locales/fr.js +1 -30
  117. package/locales/ja.js +1 -28
  118. package/locales/pt.js +1 -28
  119. package/locales/ru.js +1 -28
  120. package/package.json +2 -2
  121. package/sandbox-macos-permissive-closed.sb +0 -1
  122. package/sandbox-macos-permissive-open.sb +0 -1
  123. package/sandbox-macos-permissive-proxied.sb +0 -1
  124. package/sandbox-macos-restrictive-closed.sb +0 -1
  125. package/sandbox-macos-restrictive-open.sb +0 -1
  126. package/sandbox-macos-restrictive-proxied.sb +0 -1
  127. package/bundled/mainy/docs/features/channels/dingtalk.md +0 -134
  128. package/bundled/mainy/docs/features/channels/feishu.md +0 -186
  129. package/bundled/mainy/docs/features/channels/weixin.md +0 -106
  130. package/bundled/mainy/docs/integration-jetbrains.md +0 -81
  131. package/bundled/mainy/docs/integration-zed.md +0 -72
  132. package/chunks/agent-WM63A6NK.js +0 -3
  133. package/chunks/agent-headless-QIUBDKPW.js +0 -3
  134. package/chunks/anthropicContentGenerator-VKFTAIU3.js +0 -39
  135. package/chunks/chunk-2MOGYHWM.js +0 -8
  136. package/chunks/chunk-3IRGBRSP.js +0 -113
  137. package/chunks/chunk-3YLXGE6T.js +0 -8
  138. package/chunks/chunk-4F4DA5UI.js +0 -8
  139. package/chunks/chunk-4J6DC24J.js +0 -59
  140. package/chunks/chunk-4Q2SNBUH.js +0 -18
  141. package/chunks/chunk-5C2RJ5RR.js +0 -37
  142. package/chunks/chunk-6EQMZNIY.js +0 -8
  143. package/chunks/chunk-6GBNB5Z2.js +0 -3
  144. package/chunks/chunk-6Z2MV7ZY.js +0 -186
  145. package/chunks/chunk-BVOCFLC4.js +0 -56
  146. package/chunks/chunk-FPO57O66.js +0 -39
  147. package/chunks/chunk-G7R2XEEF.js +0 -7
  148. package/chunks/chunk-GOJCMVJJ.js +0 -8
  149. package/chunks/chunk-JCE3JAVC.js +0 -25
  150. package/chunks/chunk-KHHJYBR5.js +0 -9
  151. package/chunks/chunk-LJR4RZZ2.js +0 -3
  152. package/chunks/chunk-MO2HXJG5.js +0 -9
  153. package/chunks/chunk-O44XK65C.js +0 -8
  154. package/chunks/chunk-OA56BXPD.js +0 -3
  155. package/chunks/chunk-PA6532AY.js +0 -6
  156. package/chunks/chunk-QN6Y6NPA.js +0 -3
  157. package/chunks/chunk-S3CWEVTS.js +0 -15
  158. package/chunks/chunk-SDTWBD62.js +0 -8
  159. package/chunks/chunk-U347OO7S.js +0 -9
  160. package/chunks/chunk-UIRBHC5X.js +0 -3
  161. package/chunks/chunk-VI74YQQO.js +0 -8
  162. package/chunks/chunk-VYZOOSMP.js +0 -30
  163. package/chunks/chunk-WC2VTVCE.js +0 -27
  164. package/chunks/chunk-WVY2P6WH.js +0 -26
  165. package/chunks/chunk-WZ75OGYY.js +0 -14
  166. package/chunks/chunk-XMZIY7XX.js +0 -13
  167. package/chunks/chunk-YV3PUOBU.js +0 -65
  168. package/chunks/contextCommand-DAB3HOHY.js +0 -3
  169. package/chunks/dist-7UYRLSLE.js +0 -3
  170. package/chunks/dist-ME6647DQ.js +0 -195
  171. package/chunks/dist-P6SLWL5V.js +0 -42
  172. package/chunks/dist-VG3ZDJ2A.js +0 -28
  173. package/chunks/dist-YTCHM57U.js +0 -23
  174. package/chunks/fileFromPath-7UCWPD4W.js +0 -3
  175. package/chunks/geminiContentGenerator-RJ73DQAP.js +0 -8
  176. package/chunks/glob-QQ6LGKDX.js +0 -22
  177. package/chunks/matildaAgentContentGenerator-YUYS4336.js +0 -8
  178. package/chunks/matildaContentGenerator-O4Z2QPCP.js +0 -8
  179. package/chunks/matildaOAuth2-7COTQQR2.js +0 -3
  180. package/chunks/mcp-client-RXVQU5VI.js +0 -3
  181. package/chunks/monitor-77KXDXPR.js +0 -32
  182. package/chunks/notebook-edit-TKJD2EQZ.js +0 -17
  183. package/chunks/openaiContentGenerator-2EALAM3U.js +0 -3
  184. package/chunks/read-file-3KUAH6ND.js +0 -3
  185. package/chunks/ripGrep-U2PLKXMY.js +0 -3
  186. package/chunks/scheduler-J7VU2V5Y.js +0 -8
  187. package/chunks/shell-PXR2AXDD.js +0 -3
  188. package/chunks/src-RFAEPLY7.js +0 -3
  189. package/chunks/src-WZTRMETQ.js +0 -5
  190. package/chunks/task-create-Z3QRCMX4.js +0 -3
  191. package/chunks/task-list-GXAJW3JP.js +0 -9
  192. package/chunks/team-delete-OMYVUAQU.js +0 -8
  193. package/chunks/todoWrite-5NZ7CHTC.js +0 -3
  194. package/chunks/write-file-XDDLTGSG.js +0 -15
@@ -1,26 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import{b as w}from"./chunk-GZPNIYVZ.js";import{a as ht,d as L}from"./chunk-OWGSC52X.js";var Ft=L((We,It)=>{"use strict";w();It.exports=Ie;function Ie(i,t){for(var e=new Array(arguments.length-1),n=0,s=2,u=!0;s<arguments.length;)e[n++]=arguments[s++];return new Promise(function(g,f){e[n]=function(d){if(u)if(u=!1,d)f(d);else{for(var O=new Array(arguments.length-1),v=0;v<O.length;)O[v++]=arguments[v];g.apply(null,O)}};try{i.apply(t||null,e)}catch(o){u&&(u=!1,f(o))}})}});var Mt=L(Dt=>{"use strict";w();var rt=Dt;rt.length=function(t){var e=t.length;if(!e)return 0;for(var n=0;--e%4>1&&t.charAt(e)==="=";)++n;return Math.ceil(t.length*3)/4-n};var J=new Array(64),Ct=new Array(123);for(k=0;k<64;)Ct[J[k]=k<26?k+65:k<52?k+71:k<62?k-4:k-59|43]=k++;var k;rt.encode=function(t,e,n){for(var s=null,u=[],a=0,g=0,f;e<n;){var o=t[e++];switch(g){case 0:u[a++]=J[o>>2],f=(o&3)<<4,g=1;break;case 1:u[a++]=J[f|o>>4],f=(o&15)<<2,g=2;break;case 2:u[a++]=J[f|o>>6],u[a++]=J[o&63],g=0;break}a>8191&&((s||(s=[])).push(String.fromCharCode.apply(String,u)),a=0)}return g&&(u[a++]=J[f],u[a++]=61,g===1&&(u[a++]=61)),s?(a&&s.push(String.fromCharCode.apply(String,u.slice(0,a))),s.join("")):String.fromCharCode.apply(String,u.slice(0,a))};var St="invalid encoding";rt.decode=function(t,e,n){for(var s=n,u=0,a,g=0;g<t.length;){var f=t.charCodeAt(g++);if(f===61&&u>1)break;if((f=Ct[f])===void 0)throw Error(St);switch(u){case 0:a=f,u=1;break;case 1:e[n++]=a<<2|(f&48)>>4,a=f,u=2;break;case 2:e[n++]=(a&15)<<4|(f&60)>>2,a=f,u=3;break;case 3:e[n++]=(a&3)<<6|f,u=0;break}}if(u===1)throw Error(St);return n-s};rt.test=function(t){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}});var Ut=L((Ve,Tt)=>{"use strict";w();Tt.exports=it;function it(){this._listeners=Object.create(null)}it.prototype.on=function(t,e,n){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:e,ctx:n||this}),this};it.prototype.off=function(t,e){if(t===void 0)this._listeners=Object.create(null);else if(e===void 0)this._listeners[t]=[];else{var n=this._listeners[t];if(!n)return this;for(var s=0;s<n.length;)n[s].fn===e?n.splice(s,1):++s}return this};it.prototype.emit=function(t){var e=this._listeners[t];if(e){for(var n=[],s=1;s<arguments.length;)n.push(arguments[s++]);for(s=0;s<e.length;)e[s].fn.apply(e[s++].ctx,n)}return this}});var Zt=L((Xe,zt)=>{"use strict";w();zt.exports=jt(jt);function jt(i){return typeof Float32Array<"u"?function(){var t=new Float32Array([-0]),e=new Uint8Array(t.buffer),n=e[3]===128;function s(f,o,d){t[0]=f,o[d]=e[0],o[d+1]=e[1],o[d+2]=e[2],o[d+3]=e[3]}function u(f,o,d){t[0]=f,o[d]=e[3],o[d+1]=e[2],o[d+2]=e[1],o[d+3]=e[0]}i.writeFloatLE=n?s:u,i.writeFloatBE=n?u:s;function a(f,o){return e[0]=f[o],e[1]=f[o+1],e[2]=f[o+2],e[3]=f[o+3],t[0]}function g(f,o){return e[3]=f[o],e[2]=f[o+1],e[1]=f[o+2],e[0]=f[o+3],t[0]}i.readFloatLE=n?a:g,i.readFloatBE=n?g:a}():function(){function t(n,s,u,a){var g=s<0?1:0;if(g&&(s=-s),s===0)n(1/s>0?0:2147483648,u,a);else if(isNaN(s))n(2143289344,u,a);else if(s>34028234663852886e22)n((g<<31|2139095040)>>>0,u,a);else if(s<11754943508222875e-54)n((g<<31|Math.round(s/1401298464324817e-60))>>>0,u,a);else{var f=Math.floor(Math.log(s)/Math.LN2),o=Math.round(s*Math.pow(2,-f)*8388608)&8388607;n((g<<31|f+127<<23|o)>>>0,u,a)}}i.writeFloatLE=t.bind(null,kt),i.writeFloatBE=t.bind(null,Pt);function e(n,s,u){var a=n(s,u),g=(a>>31)*2+1,f=a>>>23&255,o=a&8388607;return f===255?o?NaN:g*(1/0):f===0?g*1401298464324817e-60*o:g*Math.pow(2,f-150)*(o+8388608)}i.readFloatLE=e.bind(null,Rt),i.readFloatBE=e.bind(null,Wt)}(),typeof Float64Array<"u"?function(){var t=new Float64Array([-0]),e=new Uint8Array(t.buffer),n=e[7]===128;function s(f,o,d){t[0]=f,o[d]=e[0],o[d+1]=e[1],o[d+2]=e[2],o[d+3]=e[3],o[d+4]=e[4],o[d+5]=e[5],o[d+6]=e[6],o[d+7]=e[7]}function u(f,o,d){t[0]=f,o[d]=e[7],o[d+1]=e[6],o[d+2]=e[5],o[d+3]=e[4],o[d+4]=e[3],o[d+5]=e[2],o[d+6]=e[1],o[d+7]=e[0]}i.writeDoubleLE=n?s:u,i.writeDoubleBE=n?u:s;function a(f,o){return e[0]=f[o],e[1]=f[o+1],e[2]=f[o+2],e[3]=f[o+3],e[4]=f[o+4],e[5]=f[o+5],e[6]=f[o+6],e[7]=f[o+7],t[0]}function g(f,o){return e[7]=f[o],e[6]=f[o+1],e[5]=f[o+2],e[4]=f[o+3],e[3]=f[o+4],e[2]=f[o+5],e[1]=f[o+6],e[0]=f[o+7],t[0]}i.readDoubleLE=n?a:g,i.readDoubleBE=n?g:a}():function(){function t(n,s,u,a,g,f){var o=a<0?1:0;if(o&&(a=-a),a===0)n(0,g,f+s),n(1/a>0?0:2147483648,g,f+u);else if(isNaN(a))n(0,g,f+s),n(2146959360,g,f+u);else if(a>17976931348623157e292)n(0,g,f+s),n((o<<31|2146435072)>>>0,g,f+u);else{var d;if(a<22250738585072014e-324)d=a/5e-324,n(d>>>0,g,f+s),n((o<<31|d/4294967296)>>>0,g,f+u);else{var O=Math.floor(Math.log(a)/Math.LN2);O===1024&&(O=1023),d=a*Math.pow(2,-O),n(d*4503599627370496>>>0,g,f+s),n((o<<31|O+1023<<20|d*1048576&1048575)>>>0,g,f+u)}}}i.writeDoubleLE=t.bind(null,kt,0,4),i.writeDoubleBE=t.bind(null,Pt,4,0);function e(n,s,u,a,g){var f=n(a,g+s),o=n(a,g+u),d=(o>>31)*2+1,O=o>>>20&2047,v=4294967296*(o&1048575)+f;return O===2047?v?NaN:d*(1/0):O===0?d*5e-324*v:d*Math.pow(2,O-1075)*(v+4503599627370496)}i.readDoubleLE=e.bind(null,Rt,0,4),i.readDoubleBE=e.bind(null,Wt,4,0)}(),i}function kt(i,t,e){t[e]=i&255,t[e+1]=i>>>8&255,t[e+2]=i>>>16&255,t[e+3]=i>>>24}function Pt(i,t,e){t[e]=i>>>24,t[e+1]=i>>>16&255,t[e+2]=i>>>8&255,t[e+3]=i&255}function Rt(i,t){return(i[t]|i[t+1]<<8|i[t+2]<<16|i[t+3]<<24)>>>0}function Wt(i,t){return(i[t]<<24|i[t+1]<<16|i[t+2]<<8|i[t+3])>>>0}});var Vt=L((Je,Ht)=>{"use strict";w();Ht.exports=Fe;function Fe(i){try{if(typeof ht!="function")return null;var t=ht(i);return t&&(t.length||Object.keys(t).length)?t:null}catch{return null}}});var Xt=L(Gt=>{"use strict";w();var ut=Gt,ft="\uFFFD";ut.length=function(t){for(var e=0,n=0,s=0;s<t.length;++s)n=t.charCodeAt(s),n<128?e+=1:n<2048?e+=2:(n&64512)===55296&&(t.charCodeAt(s+1)&64512)===56320?(++s,e+=4):e+=3;return e};ut.read=function(t,e,n){if(n-e<1)return"";for(var s="",u=e;u<n;){var a=t[u++];if(a<=127)s+=String.fromCharCode(a);else if(a>=192&&a<224){var g=(a&31)<<6|t[u++]&63;s+=g>=128?String.fromCharCode(g):ft}else if(a>=224&&a<240){var f=(a&15)<<12|(t[u++]&63)<<6|t[u++]&63;s+=f>=2048?String.fromCharCode(f):ft}else if(a>=240){var o=(a&7)<<18|(t[u++]&63)<<12|(t[u++]&63)<<6|t[u++]&63;o<65536||o>1114111?s+=ft:(o-=65536,s+=String.fromCharCode(55296+(o>>10)),s+=String.fromCharCode(56320+(o&1023)))}}return s};ut.write=function(t,e,n){for(var s=n,u,a,g=0;g<t.length;++g)u=t.charCodeAt(g),u<128?e[n++]=u:u<2048?(e[n++]=u>>6|192,e[n++]=u&63|128):(u&64512)===55296&&((a=t.charCodeAt(g+1))&64512)===56320?(u=65536+((u&1023)<<10)+(a&1023),++g,e[n++]=u>>18|240,e[n++]=u>>12&63|128,e[n++]=u>>6&63|128,e[n++]=u&63|128):(e[n++]=u>>12|224,e[n++]=u>>6&63|128,e[n++]=u&63|128);return n-s}});var Jt=L((er,$t)=>{"use strict";w();$t.exports=Se;function Se(i,t,e){var n=e||8192,s=n>>>1,u=null,a=n;return function(f){if(f<1||f>s)return i(f);a+f>n&&(u=i(n),a=0);var o=t.call(u,a,a+=f);return a&7&&(a=(a|7)+1),o}}});var Qt=L((ir,Kt)=>{"use strict";w();Kt.exports=A;var K=Z();function A(i,t){this.lo=i>>>0,this.hi=t>>>0}var V=A.zero=new A(0,0);V.toNumber=function(){return 0};V.zzEncode=V.zzDecode=function(){return this};V.length=function(){return 1};var Ce=A.zeroHash="\0\0\0\0\0\0\0\0";A.fromNumber=function(t){if(t===0)return V;var e=t<0;e&&(t=-t);var n=t>>>0,s=(t-n)/4294967296>>>0;return e&&(s=~s>>>0,n=~n>>>0,++n>4294967295&&(n=0,++s>4294967295&&(s=0))),new A(n,s)};A.from=function(t){if(typeof t=="number")return A.fromNumber(t);if(K.isString(t))if(K.Long)t=K.Long.fromString(t);else return A.fromNumber(parseInt(t,10));return t.low||t.high?new A(t.low>>>0,t.high>>>0):V};A.prototype.toNumber=function(t){if(!t&&this.hi>>>31){var e=~this.lo+1>>>0,n=~this.hi>>>0;return e||(n=n+1>>>0),-(e+n*4294967296)}return this.lo+this.hi*4294967296};A.prototype.toLong=function(t){return K.Long?new K.Long(this.lo|0,this.hi|0,!!t):{low:this.lo|0,high:this.hi|0,unsigned:!!t}};var z=String.prototype.charCodeAt;A.fromHash=function(t){return t===Ce?V:new A((z.call(t,0)|z.call(t,1)<<8|z.call(t,2)<<16|z.call(t,3)<<24)>>>0,(z.call(t,4)|z.call(t,5)<<8|z.call(t,6)<<16|z.call(t,7)<<24)>>>0)};A.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)};A.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this};A.prototype.zzDecode=function(){var t=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this};A.prototype.length=function(){var t=this.lo,e=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return n===0?e===0?t<16384?t<128?1:2:t<2097152?3:4:e<16384?e<128?5:6:e<2097152?7:8:n<128?9:10}});var Yt=L((Q,at)=>{w();(function(i,t){function e(n){return n.default||n}typeof define=="function"&&define.amd?define([],function(){var n={};return t(n),e(n)}):typeof Q=="object"?(t(Q),typeof at=="object"&&(at.exports=e(Q))):function(){var n={};t(n),i.Long=e(n)}()})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:Q,function(i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function e(h,r,c){this.low=h|0,this.high=r|0,this.unsigned=!!c}e.prototype.__isLong__,Object.defineProperty(e.prototype,"__isLong__",{value:!0});function n(h){return(h&&h.__isLong__)===!0}function s(h){var r=Math.clz32(h&-h);return h?31-r:r}e.isLong=n;var u={},a={};function g(h,r){var c,y,E;return r?(h>>>=0,(E=0<=h&&h<256)&&(y=a[h],y)?y:(c=o(h,0,!0),E&&(a[h]=c),c)):(h|=0,(E=-128<=h&&h<128)&&(y=u[h],y)?y:(c=o(h,h<0?-1:0,!1),E&&(u[h]=c),c))}e.fromInt=g;function f(h,r){if(isNaN(h))return r?W:j;if(r){if(h<0)return W;if(h>=Bt)return qt}else{if(h<=-Lt)return I;if(h+1>=Lt)return Ot}return h<0?f(-h,r).neg():o(h%X|0,h/X|0,r)}e.fromNumber=f;function o(h,r,c){return new e(h,r,c)}e.fromBits=o;var d=Math.pow;function O(h,r,c){if(h.length===0)throw Error("empty string");if(typeof r=="number"?(c=r,r=!1):r=!!r,h==="NaN"||h==="Infinity"||h==="+Infinity"||h==="-Infinity")return r?W:j;if(c=c||10,c<2||36<c)throw RangeError("radix");var y;if((y=h.indexOf("-"))>0)throw Error("interior hyphen");if(y===0)return O(h.substring(1),r,c).neg();for(var E=f(d(c,8)),m=j,B=0;B<h.length;B+=8){var F=Math.min(8,h.length-B),D=parseInt(h.substring(B,B+F),c);if(F<8){var q=f(d(c,F));m=m.mul(q).add(f(D))}else m=m.mul(E),m=m.add(f(D))}return m.unsigned=r,m}e.fromString=O;function v(h,r){return typeof h=="number"?f(h,r):typeof h=="string"?O(h,r):o(h.low,h.high,typeof r=="boolean"?r:h.unsigned)}e.fromValue=v;var xt=65536,qe=1<<24,X=xt*xt,Bt=X*X,Lt=Bt/2,Nt=g(qe),j=g(0);e.ZERO=j;var W=g(0,!0);e.UZERO=W;var $=g(1);e.ONE=$;var At=g(1,!0);e.UONE=At;var st=g(-1);e.NEG_ONE=st;var Ot=o(-1,2147483647,!1);e.MAX_VALUE=Ot;var qt=o(-1,-1,!0);e.MAX_UNSIGNED_VALUE=qt;var I=o(0,-2147483648,!1);e.MIN_VALUE=I;var l=e.prototype;l.toInt=function(){return this.unsigned?this.low>>>0:this.low},l.toNumber=function(){return this.unsigned?(this.high>>>0)*X+(this.low>>>0):this.high*X+(this.low>>>0)},l.toString=function(r){if(r=r||10,r<2||36<r)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(this.eq(I)){var c=f(r),y=this.div(c),E=y.mul(c).sub(this);return y.toString(r)+E.toInt().toString(r)}else return"-"+this.neg().toString(r);for(var m=f(d(r,6),this.unsigned),B=this,F="";;){var D=B.div(m),q=B.sub(D.mul(m)).toInt()>>>0,x=q.toString(r);if(B=D,B.isZero())return x+F;for(;x.length<6;)x="0"+x;F=""+x+F}},l.getHighBits=function(){return this.high},l.getHighBitsUnsigned=function(){return this.high>>>0},l.getLowBits=function(){return this.low},l.getLowBitsUnsigned=function(){return this.low>>>0},l.getNumBitsAbs=function(){if(this.isNegative())return this.eq(I)?64:this.neg().getNumBitsAbs();for(var r=this.high!=0?this.high:this.low,c=31;c>0&&(r&1<<c)==0;c--);return this.high!=0?c+33:c+1},l.isSafeInteger=function(){var r=this.high>>21;return r?this.unsigned?!1:r===-1&&!(this.low===0&&this.high===-2097152):!0},l.isZero=function(){return this.high===0&&this.low===0},l.eqz=l.isZero,l.isNegative=function(){return!this.unsigned&&this.high<0},l.isPositive=function(){return this.unsigned||this.high>=0},l.isOdd=function(){return(this.low&1)===1},l.isEven=function(){return(this.low&1)===0},l.equals=function(r){return n(r)||(r=v(r)),this.unsigned!==r.unsigned&&this.high>>>31===1&&r.high>>>31===1?!1:this.high===r.high&&this.low===r.low},l.eq=l.equals,l.notEquals=function(r){return!this.eq(r)},l.neq=l.notEquals,l.ne=l.notEquals,l.lessThan=function(r){return this.comp(r)<0},l.lt=l.lessThan,l.lessThanOrEqual=function(r){return this.comp(r)<=0},l.lte=l.lessThanOrEqual,l.le=l.lessThanOrEqual,l.greaterThan=function(r){return this.comp(r)>0},l.gt=l.greaterThan,l.greaterThanOrEqual=function(r){return this.comp(r)>=0},l.gte=l.greaterThanOrEqual,l.ge=l.greaterThanOrEqual,l.compare=function(r){if(n(r)||(r=v(r)),this.eq(r))return 0;var c=this.isNegative(),y=r.isNegative();return c&&!y?-1:!c&&y?1:this.unsigned?r.high>>>0>this.high>>>0||r.high===this.high&&r.low>>>0>this.low>>>0?-1:1:this.sub(r).isNegative()?-1:1},l.comp=l.compare,l.negate=function(){return!this.unsigned&&this.eq(I)?I:this.not().add($)},l.neg=l.negate,l.add=function(r){n(r)||(r=v(r));var c=this.high>>>16,y=this.high&65535,E=this.low>>>16,m=this.low&65535,B=r.high>>>16,F=r.high&65535,D=r.low>>>16,q=r.low&65535,x=0,M=0,N=0,C=0;return C+=m+q,N+=C>>>16,C&=65535,N+=E+D,M+=N>>>16,N&=65535,M+=y+F,x+=M>>>16,M&=65535,x+=c+B,x&=65535,o(N<<16|C,x<<16|M,this.unsigned)},l.subtract=function(r){return n(r)||(r=v(r)),this.add(r.neg())},l.sub=l.subtract,l.multiply=function(r){if(this.isZero())return this;if(n(r)||(r=v(r)),t){var c=t.mul(this.low,this.high,r.low,r.high);return o(c,t.get_high(),this.unsigned)}if(r.isZero())return this.unsigned?W:j;if(this.eq(I))return r.isOdd()?I:j;if(r.eq(I))return this.isOdd()?I:j;if(this.isNegative())return r.isNegative()?this.neg().mul(r.neg()):this.neg().mul(r).neg();if(r.isNegative())return this.mul(r.neg()).neg();if(this.lt(Nt)&&r.lt(Nt))return f(this.toNumber()*r.toNumber(),this.unsigned);var y=this.high>>>16,E=this.high&65535,m=this.low>>>16,B=this.low&65535,F=r.high>>>16,D=r.high&65535,q=r.low>>>16,x=r.low&65535,M=0,N=0,C=0,et=0;return et+=B*x,C+=et>>>16,et&=65535,C+=m*x,N+=C>>>16,C&=65535,C+=B*q,N+=C>>>16,C&=65535,N+=E*x,M+=N>>>16,N&=65535,N+=m*q,M+=N>>>16,N&=65535,N+=B*D,M+=N>>>16,N&=65535,M+=y*x+E*q+m*D+B*F,M&=65535,o(C<<16|et,M<<16|N,this.unsigned)},l.mul=l.multiply,l.divide=function(r){if(n(r)||(r=v(r)),r.isZero())throw Error("division by zero");if(t){if(!this.unsigned&&this.high===-2147483648&&r.low===-1&&r.high===-1)return this;var c=(this.unsigned?t.div_u:t.div_s)(this.low,this.high,r.low,r.high);return o(c,t.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?W:j;var y,E,m;if(this.unsigned){if(r.unsigned||(r=r.toUnsigned()),r.gt(this))return W;if(r.gt(this.shru(1)))return At;m=W}else{if(this.eq(I)){if(r.eq($)||r.eq(st))return I;if(r.eq(I))return $;var B=this.shr(1);return y=B.div(r).shl(1),y.eq(j)?r.isNegative()?$:st:(E=this.sub(r.mul(y)),m=y.add(E.div(r)),m)}else if(r.eq(I))return this.unsigned?W:j;if(this.isNegative())return r.isNegative()?this.neg().div(r.neg()):this.neg().div(r).neg();if(r.isNegative())return this.div(r.neg()).neg();m=j}for(E=this;E.gte(r);){y=Math.max(1,Math.floor(E.toNumber()/r.toNumber()));for(var F=Math.ceil(Math.log(y)/Math.LN2),D=F<=48?1:d(2,F-48),q=f(y),x=q.mul(r);x.isNegative()||x.gt(E);)y-=D,q=f(y,this.unsigned),x=q.mul(r);q.isZero()&&(q=$),m=m.add(q),E=E.sub(x)}return m},l.div=l.divide,l.modulo=function(r){if(n(r)||(r=v(r)),t){var c=(this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,r.low,r.high);return o(c,t.get_high(),this.unsigned)}return this.sub(this.div(r).mul(r))},l.mod=l.modulo,l.rem=l.modulo,l.not=function(){return o(~this.low,~this.high,this.unsigned)},l.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},l.clz=l.countLeadingZeros,l.countTrailingZeros=function(){return this.low?s(this.low):s(this.high)+32},l.ctz=l.countTrailingZeros,l.and=function(r){return n(r)||(r=v(r)),o(this.low&r.low,this.high&r.high,this.unsigned)},l.or=function(r){return n(r)||(r=v(r)),o(this.low|r.low,this.high|r.high,this.unsigned)},l.xor=function(r){return n(r)||(r=v(r)),o(this.low^r.low,this.high^r.high,this.unsigned)},l.shiftLeft=function(r){return n(r)&&(r=r.toInt()),(r&=63)===0?this:r<32?o(this.low<<r,this.high<<r|this.low>>>32-r,this.unsigned):o(0,this.low<<r-32,this.unsigned)},l.shl=l.shiftLeft,l.shiftRight=function(r){return n(r)&&(r=r.toInt()),(r&=63)===0?this:r<32?o(this.low>>>r|this.high<<32-r,this.high>>r,this.unsigned):o(this.high>>r-32,this.high>=0?0:-1,this.unsigned)},l.shr=l.shiftRight,l.shiftRightUnsigned=function(r){return n(r)&&(r=r.toInt()),(r&=63)===0?this:r<32?o(this.low>>>r|this.high<<32-r,this.high>>>r,this.unsigned):r===32?o(this.high,0,this.unsigned):o(this.high>>>r-32,0,this.unsigned)},l.shru=l.shiftRightUnsigned,l.shr_u=l.shiftRightUnsigned,l.rotateLeft=function(r){var c;return n(r)&&(r=r.toInt()),(r&=63)===0?this:r===32?o(this.high,this.low,this.unsigned):r<32?(c=32-r,o(this.low<<r|this.high>>>c,this.high<<r|this.low>>>c,this.unsigned)):(r-=32,c=32-r,o(this.high<<r|this.low>>>c,this.low<<r|this.high>>>c,this.unsigned))},l.rotl=l.rotateLeft,l.rotateRight=function(r){var c;return n(r)&&(r=r.toInt()),(r&=63)===0?this:r===32?o(this.high,this.low,this.unsigned):r<32?(c=32-r,o(this.high<<c|this.low>>>r,this.low<<c|this.high>>>r,this.unsigned)):(r-=32,c=32-r,o(this.low<<c|this.high>>>r,this.high<<c|this.low>>>r,this.unsigned))},l.rotr=l.rotateRight,l.toSigned=function(){return this.unsigned?o(this.low,this.high,!1):this},l.toUnsigned=function(){return this.unsigned?this:o(this.low,this.high,!0)},l.toBytes=function(r){return r?this.toBytesLE():this.toBytesBE()},l.toBytesLE=function(){var r=this.high,c=this.low;return[c&255,c>>>8&255,c>>>16&255,c>>>24,r&255,r>>>8&255,r>>>16&255,r>>>24]},l.toBytesBE=function(){var r=this.high,c=this.low;return[r>>>24,r>>>16&255,r>>>8&255,r&255,c>>>24,c>>>16&255,c>>>8&255,c&255]},e.fromBytes=function(r,c,y){return y?e.fromBytesLE(r,c):e.fromBytesBE(r,c)},e.fromBytesLE=function(r,c){return new e(r[0]|r[1]<<8|r[2]<<16|r[3]<<24,r[4]|r[5]<<8|r[6]<<16|r[7]<<24,c)},e.fromBytesBE=function(r,c){return new e(r[4]<<24|r[5]<<16|r[6]<<8|r[7],r[0]<<24|r[1]<<16|r[2]<<8|r[3],c)},typeof BigInt=="function"&&(e.fromBigInt=function(r,c){var y=Number(BigInt.asIntN(32,r)),E=Number(BigInt.asIntN(32,r>>BigInt(32)));return o(y,E,c)},e.fromValue=function(r,c){return typeof r=="bigint"?e.fromBigInt(r,c):v(r,c)},l.toBigInt=function(){var r=BigInt(this.low>>>0),c=BigInt(this.unsigned?this.high>>>0:this.high);return c<<BigInt(32)|r});var Re=i.default=e})});var Z=L(lt=>{"use strict";w();var p=lt;p.asPromise=Ft();p.base64=Mt();p.EventEmitter=Ut();p.float=Zt();p.inquire=Vt();p.utf8=Xt();p.pool=Jt();p.LongBits=Qt();function te(i){return i==="__proto__"||i==="prototype"||i==="constructor"}p.isUnsafeProperty=te;p.isNode=!!(typeof globalThis<"u"&&globalThis&&globalThis.process&&globalThis.process.versions&&globalThis.process.versions.node);p.global=p.isNode&&globalThis||typeof window<"u"&&window||typeof self<"u"&&self||lt;p.emptyArray=Object.freeze?Object.freeze([]):[];p.emptyObject=Object.freeze?Object.freeze({}):{};p.isInteger=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t};p.isString=function(t){return typeof t=="string"||t instanceof String};p.isObject=function(t){return t&&typeof t=="object"};p.isset=p.isSet=function(t,e){var n=t[e];return n!=null&&t.hasOwnProperty(e)?typeof n!="object"||(Array.isArray(n)?n.length:Object.keys(n).length)>0:!1};p.Buffer=function(){try{var i=p.global.Buffer;return i.prototype.utf8Write?i:null}catch{return null}}();p._Buffer_from=null;p._Buffer_allocUnsafe=null;p.newBuffer=function(t){return typeof t=="number"?p.Buffer?p._Buffer_allocUnsafe(t):new p.Array(t):p.Buffer?p._Buffer_from(t):typeof Uint8Array>"u"?t:new Uint8Array(t)};p.Array=typeof Uint8Array<"u"?Uint8Array:Array;p.Long=p.global.dcodeIO&&p.global.dcodeIO.Long||p.global.Long||function(){try{var i=Yt();return i&&i.isLong?i:null}catch{return null}}();p.key2Re=/^true|false|0|1$/;p.key32Re=/^-?(?:0|[1-9][0-9]*)$/;p.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;p.longToHash=function(t){return t?p.LongBits.from(t).toHash():p.LongBits.zeroHash};p.longFromHash=function(t,e){var n=p.LongBits.fromHash(t);return p.Long?p.Long.fromBits(n.lo,n.hi,e):n.toNumber(!!e)};function ee(i){var t=typeof arguments[arguments.length-1]=="boolean",e=t?arguments.length-1:arguments.length;t=t&&arguments[arguments.length-1];for(var n=1;n<e;++n){var s=arguments[n];if(s)for(var u=Object.keys(s),a=0;a<u.length;++a)!te(u[a])&&(i[u[a]]===void 0||!t)&&(i[u[a]]=s[u[a]])}return i}p.merge=ee;p.nestingLimit=32;p.recursionLimit=100;p.makeProp=function(t,e){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,writable:!0})};p.lcFirst=function(t){return t.charAt(0).toLowerCase()+t.substring(1)};function re(i){function t(e,n){if(!(this instanceof t))return new t(e,n);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:new Error().stack||""}),n&&ee(this,n)}return t.prototype=Object.create(Error.prototype,{constructor:{value:t,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return i},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}p.newError=re;p.ProtocolError=re("ProtocolError");p.oneOfGetter=function(t){for(var e={},n=0;n<t.length;++n)e[t[n]]=1;return function(){for(var s=Object.keys(this),u=s.length-1;u>-1;--u)if(e[s[u]]===1&&this[s[u]]!==void 0&&this[s[u]]!==null)return s[u]}};p.oneOfSetter=function(t){return function(e){for(var n=0;n<t.length;++n)t[n]!==e&&delete this[t[n]]}};p.toJSONOptions={longs:String,enums:String,bytes:String,json:!0};p._configure=function(){var i=p.Buffer;if(!i){p._Buffer_from=p._Buffer_allocUnsafe=null;return}p._Buffer_from=i.from!==Uint8Array.from&&i.from||function(e,n){return new i(e,n)},p._Buffer_allocUnsafe=i.allocUnsafe||function(e){return new i(e)}}});var _t=L((fr,se)=>{"use strict";w();se.exports=_;var T=Z(),ct,nt=T.LongBits,ie=T.base64,ne=T.utf8;function Y(i,t,e){this.fn=i,this.len=t,this.next=void 0,this.val=e}function pt(){}function De(i){this.head=i.head,this.tail=i.tail,this.len=i.len,this.next=i.states}function _(){this.len=0,this.head=new Y(pt,0,0),this.tail=this.head,this.states=null}var oe=function(){return T.Buffer?function(){return(_.create=function(){return new ct})()}:function(){return new _}};_.create=oe();_.alloc=function(t){return new T.Array(t)};T.Array!==Array&&(_.alloc=T.pool(_.alloc,T.Array.prototype.subarray));_.prototype._push=function(t,e,n){return this.tail=this.tail.next=new Y(t,e,n),this.len+=e,this};function dt(i,t,e){t[e]=i&255}function Me(i,t,e){for(;i>127;)t[e++]=i&127|128,i>>>=7;t[e]=i}function wt(i,t){this.len=i,this.next=void 0,this.val=t}wt.prototype=Object.create(Y.prototype);wt.prototype.fn=Me;_.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new wt((t=t>>>0)<128?1:t<16384?2:t<2097152?3:t<268435456?4:5,t)).len,this};_.prototype.int32=function(t){return(t|=0)<0?this._push(yt,10,nt.fromNumber(t)):this.uint32(t)};_.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0)};function yt(i,t,e){for(var n=i.lo,s=i.hi;s;)t[e++]=n&127|128,n=(n>>>7|s<<25)>>>0,s>>>=7;for(;n>127;)t[e++]=n&127|128,n=n>>>7;t[e++]=n}_.prototype.uint64=function(t){var e=nt.from(t);return this._push(yt,e.length(),e)};_.prototype.int64=_.prototype.uint64;_.prototype.sint64=function(t){var e=nt.from(t).zzEncode();return this._push(yt,e.length(),e)};_.prototype.bool=function(t){return this._push(dt,1,t?1:0)};function gt(i,t,e){t[e]=i&255,t[e+1]=i>>>8&255,t[e+2]=i>>>16&255,t[e+3]=i>>>24}_.prototype.fixed32=function(t){return this._push(gt,4,t>>>0)};_.prototype.sfixed32=_.prototype.fixed32;_.prototype.fixed64=function(t){var e=nt.from(t);return this._push(gt,4,e.lo)._push(gt,4,e.hi)};_.prototype.sfixed64=_.prototype.fixed64;_.prototype.float=function(t){return this._push(T.float.writeFloatLE,4,t)};_.prototype.double=function(t){return this._push(T.float.writeDoubleLE,8,t)};var Te=T.Array.prototype.set?function(t,e,n){e.set(t,n)}:function(t,e,n){for(var s=0;s<t.length;++s)e[n+s]=t[s]};_.prototype.bytes=function(t){var e=t.length>>>0;if(!e)return this._push(dt,1,0);if(T.isString(t)){var n=_.alloc(e=ie.length(t));ie.decode(t,n,0),t=n}return this.uint32(e)._push(Te,e,t)};_.prototype.string=function(t){var e=ne.length(t);return e?this.uint32(e)._push(ne.write,e,t):this._push(dt,1,0)};_.prototype.fork=function(){return this.states=new De(this),this.head=this.tail=new Y(pt,0,0),this.len=0,this};_.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new Y(pt,0,0),this.len=0),this};_.prototype.ldelim=function(){var t=this.head,e=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=t.next,this.tail=e,this.len+=n),this};_.prototype.finish=function(){for(var t=this.head.next,e=this.constructor.alloc(this.len),n=0;t;)t.fn(t.val,e,n),n+=t.len,t=t.next;return e};_._configure=function(i){ct=i,_.create=oe(),ct._configure()}});var ue=L((ar,fe)=>{"use strict";w();fe.exports=R;var he=_t();(R.prototype=Object.create(he.prototype)).constructor=R;var H=Z();function R(){he.call(this)}R._configure=function(){R.alloc=H._Buffer_allocUnsafe,R.writeBytesBuffer=H.Buffer&&H.Buffer.prototype instanceof Uint8Array&&H.Buffer.prototype.set.name==="set"?function(t,e,n){e.set(t,n)}:function(t,e,n){if(t.copy)t.copy(e,n,0,t.length);else for(var s=0;s<t.length;)e[n++]=t[s++]}};R.prototype.bytes=function(t){H.isString(t)&&(t=H._Buffer_from(t,"base64"));var e=t.length>>>0;return this.uint32(e),e&&this._push(R.writeBytesBuffer,e,t),this};function Ue(i,t,e){i.length<40?H.utf8.write(i,t,e):t.utf8Write?t.utf8Write(i,e):t.write(i,e)}R.prototype.string=function(t){var e=H.Buffer.byteLength(t);return this.uint32(e),e&&this._push(Ue,e,t),this};R._configure()});var bt=L((cr,pe)=>{"use strict";w();pe.exports=b;var U=Z(),Et,ce=U.LongBits,je=U.utf8;function P(i,t){return RangeError("index out of range: "+i.pos+" + "+(t||1)+" > "+i.len)}function b(i){this.buf=i,this.pos=0,this.len=i.length}var ae=typeof Uint8Array<"u"?function(t){if(t instanceof Uint8Array||Array.isArray(t))return new b(t);throw Error("illegal buffer")}:function(t){if(Array.isArray(t))return new b(t);throw Error("illegal buffer")},ge=function(){return U.Buffer?function(e){return(b.create=function(s){return U.Buffer.isBuffer(s)?new Et(s):ae(s)})(e)}:ae};b.create=ge();b.prototype._slice=U.Array.prototype.subarray||U.Array.prototype.slice;b.prototype.uint32=function(){var t=4294967295;return function(){if(t=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(t=(t|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(t=(t|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(t=(t|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(t=(t|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return t;if((this.pos+=5)>this.len)throw this.pos=this.len,P(this,10);return t}}();b.prototype.int32=function(){return this.uint32()|0};b.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(t&1)|0};function mt(){var i=new ce(0,0),t=0;if(this.len-this.pos>4){for(;t<4;++t)if(i.lo=(i.lo|(this.buf[this.pos]&127)<<t*7)>>>0,this.buf[this.pos++]<128)return i;if(i.lo=(i.lo|(this.buf[this.pos]&127)<<28)>>>0,i.hi=(i.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return i;t=0}else{for(;t<3;++t){if(this.pos>=this.len)throw P(this);if(i.lo=(i.lo|(this.buf[this.pos]&127)<<t*7)>>>0,this.buf[this.pos++]<128)return i}return i.lo=(i.lo|(this.buf[this.pos++]&127)<<t*7)>>>0,i}if(this.len-this.pos>4){for(;t<5;++t)if(i.hi=(i.hi|(this.buf[this.pos]&127)<<t*7+3)>>>0,this.buf[this.pos++]<128)return i}else for(;t<5;++t){if(this.pos>=this.len)throw P(this);if(i.hi=(i.hi|(this.buf[this.pos]&127)<<t*7+3)>>>0,this.buf[this.pos++]<128)return i}throw Error("invalid varint encoding")}b.prototype.bool=function(){return this.uint32()!==0};function ot(i,t){return(i[t-4]|i[t-3]<<8|i[t-2]<<16|i[t-1]<<24)>>>0}b.prototype.fixed32=function(){if(this.pos+4>this.len)throw P(this,4);return ot(this.buf,this.pos+=4)};b.prototype.sfixed32=function(){if(this.pos+4>this.len)throw P(this,4);return ot(this.buf,this.pos+=4)|0};function le(){if(this.pos+8>this.len)throw P(this,8);return new ce(ot(this.buf,this.pos+=4),ot(this.buf,this.pos+=4))}b.prototype.float=function(){if(this.pos+4>this.len)throw P(this,4);var t=U.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t};b.prototype.double=function(){if(this.pos+8>this.len)throw P(this,4);var t=U.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t};b.prototype.bytes=function(){var t=this.uint32(),e=this.pos,n=this.pos+t;if(n>this.len)throw P(this,t);if(this.pos+=t,Array.isArray(this.buf))return this.buf.slice(e,n);if(e===n){var s=U.Buffer;return s?s.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,e,n)};b.prototype.string=function(){var t=this.bytes();return je.read(t,0,t.length)};b.prototype.skip=function(t){if(typeof t=="number"){if(this.pos+t>this.len)throw P(this,t);this.pos+=t}else do if(this.pos>=this.len)throw P(this);while(this.buf[this.pos++]&128);return this};b.recursionLimit=U.recursionLimit;b.prototype.skipType=function(i,t){if(t===void 0&&(t=0),t>b.recursionLimit)throw Error("maximum nesting depth exceeded");switch(i){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(i=this.uint32()&7)!==4;)this.skipType(i,t+1);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+i+" at offset "+this.pos)}return this};b._configure=function(i){Et=i,b.create=ge(),Et._configure();var t=U.Long?"toLong":"toNumber";U.merge(b.prototype,{int64:function(){return mt.call(this)[t](!1)},uint64:function(){return mt.call(this)[t](!0)},sint64:function(){return mt.call(this).zzDecode()[t](!1)},fixed64:function(){return le.call(this)[t](!0)},sfixed64:function(){return le.call(this)[t](!1)}})}});var _e=L((pr,ye)=>{"use strict";w();ye.exports=G;var we=bt();(G.prototype=Object.create(we.prototype)).constructor=G;var de=Z();function G(i){we.call(this,i)}G._configure=function(){de.Buffer&&(G.prototype._slice=de.Buffer.prototype.slice)};G.prototype.string=function(){var t=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+t,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+t,this.len))};G._configure()});var Ee=L((wr,me)=>{"use strict";w();me.exports=tt;var vt=Z();(tt.prototype=Object.create(vt.EventEmitter.prototype)).constructor=tt;function tt(i,t,e){if(typeof i!="function")throw TypeError("rpcImpl must be a function");vt.EventEmitter.call(this),this.rpcImpl=i,this.requestDelimited=!!t,this.responseDelimited=!!e}tt.prototype.rpcCall=function i(t,e,n,s,u){if(!s)throw TypeError("request must be specified");var a=this;if(!u)return vt.asPromise(i,a,t,e,n,s);if(!a.rpcImpl){setTimeout(function(){u(Error("already ended"))},0);return}try{return a.rpcImpl(t,e[a.requestDelimited?"encodeDelimited":"encode"](s).finish(),function(f,o){if(f)return a.emit("error",f,t),u(f);if(o===null){a.end(!0);return}if(!(o instanceof n))try{o=n[a.responseDelimited?"decodeDelimited":"decode"](o)}catch(d){return a.emit("error",d,t),u(d)}return a.emit("data",o,t),u(null,o)})}catch(g){a.emit("error",g,t),setTimeout(function(){u(g)},0);return}};tt.prototype.end=function(t){return this.rpcImpl&&(t||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}});var ve=L(be=>{"use strict";w();var ke=be;ke.Service=Ee()});var Be=L((Er,xe)=>{"use strict";w();xe.exports={}});var Ae=L(Ne=>{"use strict";w();var S=Ne;S.build="minimal";S.Writer=_t();S.BufferWriter=ue();S.Reader=bt();S.BufferReader=_e();S.util=Z();S.rpc=ve();S.roots=Be();S.configure=Le;function Le(){S.util._configure(),S.Writer._configure(S.BufferWriter),S.Reader._configure(S.BufferReader)}Le()});var Pe=L((Br,Oe)=>{"use strict";w();Oe.exports=Ae()});export{Ft as a,Yt as b,Z as c,_t as d,bt as e,ve as f,Be as g,Ae as h,Pe as i};
4
- /*! Bundled license information:
5
-
6
- long/umd/index.js:
7
- (**
8
- * @license
9
- * Copyright 2009 The Closure Library Authors
10
- * Copyright 2020 Daniel Wirtz / The long.js Authors.
11
- *
12
- * Licensed under the Apache License, Version 2.0 (the "License");
13
- * you may not use this file except in compliance with the License.
14
- * You may obtain a copy of the License at
15
- *
16
- * http://www.apache.org/licenses/LICENSE-2.0
17
- *
18
- * Unless required by applicable law or agreed to in writing, software
19
- * distributed under the License is distributed on an "AS IS" BASIS,
20
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
- * See the License for the specific language governing permissions and
22
- * limitations under the License.
23
- *
24
- * SPDX-License-Identifier: Apache-2.0
25
- *)
26
- */
@@ -1,14 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import{a as Ke,b as $e,c as Ge,e as Ve}from"./chunk-XMZIY7XX.js";import{b as ee}from"./chunk-UIRBHC5X.js";import{a as Me}from"./chunk-G7R2XEEF.js";import{b as o}from"./chunk-GZPNIYVZ.js";import{a as _,d as l}from"./chunk-OWGSC52X.js";var ie=l((rr,re)=>{o();var te=_("stream").Stream,We=_("util");re.exports=g;function g(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}We.inherits(g,te);g.create=function(e,r){var t=new this;r=r||{};for(var i in r)t[i]=r[i];t.source=e;var n=e.emit;return e.emit=function(){return t._handleEmit(arguments),n.apply(e,arguments)},e.on("error",function(){}),t.pauseStream&&e.pause(),t};Object.defineProperty(g.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});g.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};g.prototype.resume=function(){this._released||this.release(),this.source.resume()};g.prototype.pause=function(){this.source.pause()};g.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};g.prototype.pipe=function(){var e=te.prototype.pipe.apply(this,arguments);return this.resume(),e};g.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};g.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var ae=l((nr,oe)=>{o();var Xe=_("util"),se=_("stream").Stream,ne=ie();oe.exports=p;function p(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}Xe.inherits(p,se);p.create=function(e){var r=new this;e=e||{};for(var t in e)r[t]=e[t];return r};p.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};p.prototype.append=function(e){var r=p.isStreamLike(e);if(r){if(!(e instanceof ne)){var t=ne.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};p.prototype.pipe=function(e,r){return se.prototype.pipe.call(this,e,r),this.resume(),e};p.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};p.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var r=e;r(function(t){var i=p.isStreamLike(t);i&&(t.on("data",this._checkDataSize.bind(this)),this._handleErrors(t)),this._pipeNext(t)}.bind(this))};p.prototype._pipeNext=function(e){this._currentStream=e;var r=p.isStreamLike(e);if(r){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var t=e;this.write(t),this._getNext()};p.prototype._handleErrors=function(e){var r=this;e.on("error",function(t){r._emitError(t)})};p.prototype.write=function(e){this.emit("data",e)};p.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};p.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};p.prototype.end=function(){this._reset(),this.emit("end")};p.prototype.destroy=function(){this._reset(),this.emit("close")};p.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};p.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};p.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(r){r.dataSize&&(e.dataSize+=r.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};p.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var he=l(m=>{"use strict";o();var B=Ke(),Ye=_("path").extname,ue=/^\s*([^;\s]*)(?:;|\s|$)/,Je=/^text\//i;m.charset=fe;m.charsets={lookup:fe};m.contentType=Qe;m.extension=Ze;m.extensions=Object.create(null);m.lookup=et;m.types=Object.create(null);tt(m.extensions,m.types);function fe(e){if(!e||typeof e!="string")return!1;var r=ue.exec(e),t=r&&B[r[1].toLowerCase()];return t&&t.charset?t.charset:r&&Je.test(r[1])?"UTF-8":!1}function Qe(e){if(!e||typeof e!="string")return!1;var r=e.indexOf("/")===-1?m.lookup(e):e;if(!r)return!1;if(r.indexOf("charset")===-1){var t=m.charset(r);t&&(r+="; charset="+t.toLowerCase())}return r}function Ze(e){if(!e||typeof e!="string")return!1;var r=ue.exec(e),t=r&&m.extensions[r[1].toLowerCase()];return!t||!t.length?!1:t[0]}function et(e){if(!e||typeof e!="string")return!1;var r=Ye("x."+e).toLowerCase().substr(1);return r&&m.types[r]||!1}function tt(e,r){var t=["nginx","apache",void 0,"iana"];Object.keys(B).forEach(function(n){var s=B[n],a=s.extensions;if(!(!a||!a.length)){e[n]=a;for(var h=0;h<a.length;h++){var d=a[h];if(r[d]){var c=t.indexOf(B[r[d]].source),f=t.indexOf(s.source);if(r[d]!=="application/octet-stream"&&(c>f||c===f&&r[d].substr(0,12)==="application/"))continue}r[d]=n}}})}});var pe=l((ur,ce)=>{o();ce.exports=rt;function rt(e){var r=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;r?r(e):setTimeout(e,0)}});var N=l((hr,le)=>{o();var de=pe();le.exports=it;function it(e){var r=!1;return de(function(){r=!0}),function(i,n){r?e(i,n):de(function(){e(i,n)})}}});var k=l((pr,_e)=>{o();_e.exports=nt;function nt(e){Object.keys(e.jobs).forEach(st.bind(e)),e.jobs={}}function st(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var z=l((lr,ye)=>{o();var me=N(),ot=k();ye.exports=at;function at(e,r,t,i){var n=t.keyedList?t.keyedList[t.index]:t.index;t.jobs[n]=ut(r,n,e[n],function(s,a){n in t.jobs&&(delete t.jobs[n],s?ot(t):t.results[n]=a,i(s,t.results))})}function ut(e,r,t,i){var n;return e.length==2?n=e(t,me(i)):n=e(t,r,me(i)),n}});var U=l((mr,ge)=>{o();ge.exports=ft;function ft(e,r){var t=!Array.isArray(e),i={index:0,keyedList:t||r?Object.keys(e):null,jobs:{},results:t?{}:[],size:t?Object.keys(e).length:e.length};return r&&i.keyedList.sort(t?r:function(n,s){return r(e[n],e[s])}),i}});var j=l((gr,ve)=>{o();var ht=k(),ct=N();ve.exports=pt;function pt(e){Object.keys(this.jobs).length&&(this.index=this.size,ht(this),ct(e)(null,this.results))}});var be=l((xr,xe)=>{o();var dt=z(),lt=U(),_t=j();xe.exports=mt;function mt(e,r,t){for(var i=lt(e);i.index<(i.keyedList||e).length;)dt(e,r,i,function(n,s){if(n){t(n,s);return}if(Object.keys(i.jobs).length===0){t(null,i.results);return}}),i.index++;return _t.bind(i,t)}});var C=l((Er,O)=>{o();var Ee=z(),yt=U(),gt=j();O.exports=vt;O.exports.ascending=Se;O.exports.descending=xt;function vt(e,r,t,i){var n=yt(e,t);return Ee(e,r,n,function s(a,h){if(a){i(a,h);return}if(n.index++,n.index<(n.keyedList||e).length){Ee(e,r,n,s);return}i(null,n.results)}),gt.bind(n,i)}function Se(e,r){return e<r?-1:e>r?1:0}function xt(e,r){return-1*Se(e,r)}});var qe=l((Lr,Le)=>{o();var bt=C();Le.exports=Et;function Et(e,r,t){return bt(e,r,null,t)}});var Re=l((wr,we)=>{o();we.exports={parallel:be(),serial:qe(),serialOrdered:C()}});var Be=l((Tr,Te)=>{"use strict";o();var St=Ge();Te.exports=function(){return St()&&!!Symbol.toStringTag}});var Ne=l((Or,De)=>{"use strict";o();var Lt=Ve(),Oe=Lt("%Object.defineProperty%",!0),qt=Be()(),wt=ee(),Rt=$e(),D=qt?Symbol.toStringTag:null;De.exports=function(r,t){var i=arguments.length>2&&!!arguments[2]&&arguments[2].force,n=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof i<"u"&&typeof i!="boolean"||typeof n<"u"&&typeof n!="boolean")throw new Rt("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");D&&(i||!wt(r,D))&&(Oe?Oe(r,D,{configurable:!n,enumerable:!1,value:t,writable:!1}):r[D]=t)}});var ze=l((Nr,ke)=>{"use strict";o();ke.exports=function(e,r){return Object.keys(r).forEach(function(t){e[t]=e[t]||r[t]}),e}});var Ct=l((zr,Ue)=>{"use strict";o();var H=ae(),Tt=_("util"),A=_("path"),Bt=_("http"),Ot=_("https"),Dt=_("url").parse,Nt=_("fs"),kt=_("stream").Stream,zt=_("crypto"),P=he(),Ut=Re(),jt=Ne(),v=ee(),I=ze();function u(e){if(!(this instanceof u))return new u(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],H.call(this),e=e||{};for(var r in e)this[r]=e[r]}Tt.inherits(u,H);u.LINE_BREAK=`\r
4
- `;u.DEFAULT_CONTENT_TYPE="application/octet-stream";u.prototype.append=function(e,r,t){t=t||{},typeof t=="string"&&(t={filename:t});var i=H.prototype.append.bind(this);if((typeof r=="number"||r==null)&&(r=String(r)),Array.isArray(r)){this._error(new Error("Arrays are not supported."));return}var n=this._multiPartHeader(e,r,t),s=this._multiPartFooter();i(n),i(r),i(s),this._trackLength(n,r,t)};u.prototype._trackLength=function(e,r,t){var i=0;t.knownLength!=null?i+=Number(t.knownLength):Buffer.isBuffer(r)?i=r.length:typeof r=="string"&&(i=Buffer.byteLength(r)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+u.LINE_BREAK.length,!(!r||!r.path&&!(r.readable&&v(r,"httpVersion"))&&!(r instanceof kt))&&(t.knownLength||this._valuesToMeasure.push(r))};u.prototype._lengthRetriever=function(e,r){v(e,"fd")?e.end!=null&&e.end!=1/0&&e.start!=null?r(null,e.end+1-(e.start?e.start:0)):Nt.stat(e.path,function(t,i){if(t){r(t);return}var n=i.size-(e.start?e.start:0);r(null,n)}):v(e,"httpVersion")?r(null,Number(e.headers["content-length"])):v(e,"httpModule")?(e.on("response",function(t){e.pause(),r(null,Number(t.headers["content-length"]))}),e.resume()):r("Unknown stream")};u.prototype._multiPartHeader=function(e,r,t){if(typeof t.header=="string")return t.header;var i=this._getContentDisposition(r,t),n=this._getContentType(r,t),s="",a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(n||[])};typeof t.header=="object"&&I(a,t.header);var h;for(var d in a)if(v(a,d)){if(h=a[d],h==null)continue;Array.isArray(h)||(h=[h]),h.length&&(s+=d+": "+h.join("; ")+u.LINE_BREAK)}return"--"+this.getBoundary()+u.LINE_BREAK+s+u.LINE_BREAK};u.prototype._getContentDisposition=function(e,r){var t;if(typeof r.filepath=="string"?t=A.normalize(r.filepath).replace(/\\/g,"/"):r.filename||e&&(e.name||e.path)?t=A.basename(r.filename||e&&(e.name||e.path)):e&&e.readable&&v(e,"httpVersion")&&(t=A.basename(e.client._httpMessage.path||"")),t)return'filename="'+t+'"'};u.prototype._getContentType=function(e,r){var t=r.contentType;return!t&&e&&e.name&&(t=P.lookup(e.name)),!t&&e&&e.path&&(t=P.lookup(e.path)),!t&&e&&e.readable&&v(e,"httpVersion")&&(t=e.headers["content-type"]),!t&&(r.filepath||r.filename)&&(t=P.lookup(r.filepath||r.filename)),!t&&e&&typeof e=="object"&&(t=u.DEFAULT_CONTENT_TYPE),t};u.prototype._multiPartFooter=function(){return function(e){var r=u.LINE_BREAK,t=this._streams.length===0;t&&(r+=this._lastBoundary()),e(r)}.bind(this)};u.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+u.LINE_BREAK};u.prototype.getHeaders=function(e){var r,t={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(r in e)v(e,r)&&(t[r.toLowerCase()]=e[r]);return t};u.prototype.setBoundary=function(e){if(typeof e!="string")throw new TypeError("FormData boundary must be a string");this._boundary=e};u.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};u.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),r=this.getBoundary(),t=0,i=this._streams.length;t<i;t++)typeof this._streams[t]!="function"&&(Buffer.isBuffer(this._streams[t])?e=Buffer.concat([e,this._streams[t]]):e=Buffer.concat([e,Buffer.from(this._streams[t])]),(typeof this._streams[t]!="string"||this._streams[t].substring(2,r.length+2)!==r)&&(e=Buffer.concat([e,Buffer.from(u.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};u.prototype._generateBoundary=function(){this._boundary="--------------------------"+zt.randomBytes(12).toString("hex")};u.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};u.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};u.prototype.getLength=function(e){var r=this._overheadLength+this._valueLength;if(this._streams.length&&(r+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,r));return}Ut.parallel(this._valuesToMeasure,this._lengthRetriever,function(t,i){if(t){e(t);return}i.forEach(function(n){r+=n}),e(null,r)})};u.prototype.submit=function(e,r){var t,i,n={method:"post"};return typeof e=="string"?(e=Dt(e),i=I({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},n)):(i=I(e,n),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol==="https:"?t=Ot.request(i):t=Bt.request(i),this.getLength(function(s,a){if(s&&s!=="Unknown stream"){this._error(s);return}if(a&&t.setHeader("Content-Length",a),this.pipe(t),r){var h,d=function(c,f){return t.removeListener("error",d),t.removeListener("response",h),r.call(this,c,f)};h=d.bind(this,null),t.on("error",d),t.on("response",h)}}.bind(this)),t};u.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};u.prototype.toString=function(){return"[object FormData]"};jt(u.prototype,"FormData");Ue.exports=u});var Mt=l(je=>{"use strict";o();var At=_("url").parse,Pt={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},It=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function Ht(e){var r=typeof e=="string"?At(e):e||{},t=r.protocol,i=r.host,n=r.port;if(typeof i!="string"||!i||typeof t!="string"||(t=t.split(":",1)[0],i=i.replace(/:\d*$/,""),n=parseInt(n)||Pt[t]||0,!Ft(i,n)))return"";var s=S("npm_config_"+t+"_proxy")||S(t+"_proxy")||S("npm_config_proxy")||S("all_proxy");return s&&s.indexOf("://")===-1&&(s=t+"://"+s),s}function Ft(e,r){var t=(S("npm_config_no_proxy")||S("no_proxy")).toLowerCase();return t?t==="*"?!1:t.split(/[,\s]/).every(function(i){if(!i)return!0;var n=i.match(/^(.+):(\d+)$/),s=n?n[1]:i,a=n?parseInt(n[2]):0;return a&&a!==r?!0:/^[.*]/.test(s)?(s.charAt(0)==="*"&&(s=s.slice(1)),!It.call(e,s)):e!==s}):!0}function S(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}je.getProxyForUrl=Ht});var Ae=l((Ar,Ce)=>{o();var L;Ce.exports=function(){if(!L){try{L=Me()("follow-redirects")}catch{}typeof L!="function"&&(L=function(){})}L.apply(null,arguments)}});var tr=l((Ir,Z)=>{o();var w=_("url"),q=w.URL,Kt=_("http"),$t=_("https"),G=_("stream").Writable,V=_("assert"),Pe=Ae();(function(){var r=typeof process<"u",t=typeof window<"u"&&typeof document<"u",i=E(Error.captureStackTrace);!r&&(t||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var W=!1;try{V(new q(""))}catch(e){W=e.code==="ERR_INVALID_URL"}var Gt=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],X=["abort","aborted","connect","error","socket","timeout"],Y=Object.create(null);X.forEach(function(e){Y[e]=function(r,t,i){this._redirectable.emit(e,r,t,i)}});var M=R("ERR_INVALID_URL","Invalid URL",TypeError),K=R("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Vt=R("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",K),Wt=R("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Xt=R("ERR_STREAM_WRITE_AFTER_END","write after end"),Yt=G.prototype.destroy||He;function y(e,r){G.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],r&&this.on("response",r);var t=this;this._onNativeResponse=function(i){try{t._processResponse(i)}catch(n){t.emit("error",n instanceof K?n:new K({cause:n}))}},this._performRequest()}y.prototype=Object.create(G.prototype);y.prototype.abort=function(){Q(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};y.prototype.destroy=function(e){return Q(this._currentRequest,e),Yt.call(this,e),this};y.prototype.write=function(e,r,t){if(this._ending)throw new Xt;if(!b(e)&&!Zt(e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(E(r)&&(t=r,r=null),e.length===0){t&&t();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:r}),this._currentRequest.write(e,r,t)):(this.emit("error",new Wt),this.abort())};y.prototype.end=function(e,r,t){if(E(e)?(t=e,e=r=null):E(r)&&(t=r,r=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,t);else{var i=this,n=this._currentRequest;this.write(e,r,function(){i._ended=!0,n.end(null,null,t)}),this._ending=!0}};y.prototype.setHeader=function(e,r){this._options.headers[e]=r,this._currentRequest.setHeader(e,r)};y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};y.prototype.setTimeout=function(e,r){var t=this;function i(a){a.setTimeout(e),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy)}function n(a){t._timeout&&clearTimeout(t._timeout),t._timeout=setTimeout(function(){t.emit("timeout"),s()},e),i(a)}function s(){t._timeout&&(clearTimeout(t._timeout),t._timeout=null),t.removeListener("abort",s),t.removeListener("error",s),t.removeListener("response",s),t.removeListener("close",s),r&&t.removeListener("timeout",r),t.socket||t._currentRequest.removeListener("socket",n)}return r&&this.on("timeout",r),this.socket?n(this.socket):this._currentRequest.once("socket",n),this.on("socket",i),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){y.prototype[e]=function(r,t){return this._currentRequest[e](r,t)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})});y.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var r=e.path.indexOf("?");r<0?e.pathname=e.path:(e.pathname=e.path.substring(0,r),e.search=e.path.substring(r))}};y.prototype._performRequest=function(){var e=this._options.protocol,r=this._options.nativeProtocols[e];if(!r)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var t=e.slice(0,-1);this._options.agent=this._options.agents[t]}var i=this._currentRequest=r.request(this._options,this._onNativeResponse);i._redirectable=this;for(var n of X)i.on(n,Y[n]);if(this._currentUrl=/^\//.test(this._options.path)?w.format(this._options):this._options.path,this._isRedirect){var s=0,a=this,h=this._requestBodyBuffers;(function d(c){if(i===a._currentRequest)if(c)a.emit("error",c);else if(s<h.length){var f=h[s++];i.finished||i.write(f.data,f.encoding,d)}else a._ended&&i.end()})()}};y.prototype._processResponse=function(e){var r=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:r});var t=e.headers.location;if(!t||this._options.followRedirects===!1||r<300||r>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(Q(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Vt;var i,n=this._options.beforeRedirect;n&&(i=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((r===301||r===302)&&this._options.method==="POST"||r===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],F(/^content-/i,this._options.headers));var a=F(/^host$/i,this._options.headers),h=J(this._currentUrl),d=a||h.host,c=/^\w+:/.test(t)?this._currentUrl:w.format(Object.assign(h,{host:d})),f=Jt(t,c);if(Pe("redirecting to",f.href),this._isRedirect=!0,$(f,this._options),(f.protocol!==h.protocol&&f.protocol!=="https:"||f.host!==d&&!Qt(f.host,d))&&F(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),E(n)){var x={headers:e.headers,statusCode:r},T={url:c,method:s,headers:i};n(this._options,x,T),this._sanitizeOptions(this._options)}this._performRequest()};function Ie(e){var r={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(e).forEach(function(i){var n=i+":",s=t[n]=e[i],a=r[i]=Object.create(s);function h(c,f,x){return er(c)?c=$(c):b(c)?c=$(J(c)):(x=f,f=Fe(c),c={protocol:n}),E(f)&&(x=f,f=null),f=Object.assign({maxRedirects:r.maxRedirects,maxBodyLength:r.maxBodyLength},c,f),f.nativeProtocols=t,!b(f.host)&&!b(f.hostname)&&(f.hostname="::1"),V.equal(f.protocol,n,"protocol mismatch"),Pe("options",f),new y(f,x)}function d(c,f,x){var T=a.request(c,f,x);return T.end(),T}Object.defineProperties(a,{request:{value:h,configurable:!0,enumerable:!0,writable:!0},get:{value:d,configurable:!0,enumerable:!0,writable:!0}})}),r}function He(){}function J(e){var r;if(W)r=new q(e);else if(r=Fe(w.parse(e)),!b(r.protocol))throw new M({input:e});return r}function Jt(e,r){return W?new q(e,r):J(w.resolve(r,e))}function Fe(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new M({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new M({input:e.href||e});return e}function $(e,r){var t=r||{};for(var i of Gt)t[i]=e[i];return t.hostname.startsWith("[")&&(t.hostname=t.hostname.slice(1,-1)),t.port!==""&&(t.port=Number(t.port)),t.path=t.search?t.pathname+t.search:t.pathname,t}function F(e,r){var t;for(var i in r)e.test(i)&&(t=r[i],delete r[i]);return t===null||typeof t>"u"?void 0:String(t).trim()}function R(e,r,t){function i(n){E(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?r+": "+this.cause.message:r}return i.prototype=new(t||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function Q(e,r){for(var t of X)e.removeListener(t,Y[t]);e.on("error",He),e.destroy(r)}function Qt(e,r){V(b(e)&&b(r));var t=e.length-r.length-1;return t>0&&e[t]==="."&&e.endsWith(r)}function b(e){return typeof e=="string"||e instanceof String}function E(e){return typeof e=="function"}function Zt(e){return typeof e=="object"&&"length"in e}function er(e){return q&&e instanceof q}Z.exports=Ie({http:Kt,https:$t});Z.exports.wrap=Ie});export{Ct as a,Mt as b,tr as c};
5
- /*! Bundled license information:
6
-
7
- mime-types/index.js:
8
- (*!
9
- * mime-types
10
- * Copyright(c) 2014 Jonathan Ong
11
- * Copyright(c) 2015 Douglas Christopher Wilson
12
- * MIT Licensed
13
- *)
14
- */