@cmmd-center/forge 0.9.0 → 0.9.1

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 (362) hide show
  1. package/dist/{NodeHttpServer-Bz_E-Tc6.mjs → Mime-B75_d9aw.mjs} +1382 -591
  2. package/dist/{NodeHttpServer-BNIz9o3J.cjs → Mime-aSilaQX9.cjs} +1392 -594
  3. package/dist/NodeHttpServer-C7YMYP5R.cjs +616 -0
  4. package/dist/NodeHttpServer-D5-EtRwc.mjs +605 -0
  5. package/dist/bin.cjs +39802 -32457
  6. package/dist/bin.mjs +33185 -25842
  7. package/dist/{open-DV4yE_Ex.mjs → open-Cf0bgbyx.mjs} +8 -8
  8. package/package.json +35 -41
  9. package/dist/Mime-DScmpfRF.cjs +0 -1400
  10. package/dist/Mime-DyOxeoNi.mjs +0 -1395
  11. package/dist/client/apple-touch-icon.png +0 -0
  12. package/dist/client/apple-touch-icon.png.publish-bak +0 -0
  13. package/dist/client/assets/CanvasPanel-3rA_1Duc.js +0 -441
  14. package/dist/client/assets/CompositeItem-Cri8je9D.js +0 -2
  15. package/dist/client/assets/DiffPanel-DjYjvDqQ.js +0 -64
  16. package/dist/client/assets/DiffPanel.logic-BC-Ita_E.js +0 -21
  17. package/dist/client/assets/DiffPanelShell-RhpdhrM8.js +0 -2531
  18. package/dist/client/assets/DiffWorkerPoolProvider-BxFap7OD.js +0 -73
  19. package/dist/client/assets/PullRequestCodePanel-CNmmm4rN.js +0 -5
  20. package/dist/client/assets/Stream-BMdvXqG9.js +0 -15
  21. package/dist/client/assets/Virtualizer-BXHF0wby.js +0 -2
  22. package/dist/client/assets/__vite-browser-external-2W3EstLn.js +0 -2
  23. package/dist/client/assets/abap-CLvhMVsD.js +0 -2
  24. package/dist/client/assets/actionscript-3--17pq3dv.js +0 -2
  25. package/dist/client/assets/ada-C5qYipkI.js +0 -2
  26. package/dist/client/assets/andromeeda-vGVdxbeo.js +0 -2
  27. package/dist/client/assets/angular-html-B8mrqUL5.js +0 -2
  28. package/dist/client/assets/angular-ts-Bzix210W.js +0 -2
  29. package/dist/client/assets/apache-U0d_L8uA.js +0 -2
  30. package/dist/client/assets/apex-CGTLDQj6.js +0 -2
  31. package/dist/client/assets/apl-Dhin1L29.js +0 -2
  32. package/dist/client/assets/applescript-CCn79oCD.js +0 -2
  33. package/dist/client/assets/ara-4CJ0cIlV.js +0 -2
  34. package/dist/client/assets/asciidoc-DE70LPWp.js +0 -2
  35. package/dist/client/assets/asm-Cmm7eHzH.js +0 -2
  36. package/dist/client/assets/astro-B-4NNgOP.js +0 -2
  37. package/dist/client/assets/atomRegistry-BeRUHdbd.js +0 -3
  38. package/dist/client/assets/aurora-x-CDeNXAV0.js +0 -2
  39. package/dist/client/assets/awk-BWXHIvNe.js +0 -2
  40. package/dist/client/assets/ayu-dark-DluEY0Gj.js +0 -2
  41. package/dist/client/assets/ayu-light-C3h-C4tm.js +0 -2
  42. package/dist/client/assets/ayu-mirage-Bqwy1Gya.js +0 -2
  43. package/dist/client/assets/ballerina-B7ZEbQpA.js +0 -2
  44. package/dist/client/assets/bat-Bo4NYOV-.js +0 -2
  45. package/dist/client/assets/beancount-D-usSTwE.js +0 -2
  46. package/dist/client/assets/berry-DKpUyyne.js +0 -2
  47. package/dist/client/assets/bibtex-Ci_nEsc7.js +0 -2
  48. package/dist/client/assets/bicep-CUHmPFLl.js +0 -2
  49. package/dist/client/assets/bird2-C6vDhewU.js +0 -2
  50. package/dist/client/assets/blade-Wr94ul2N.js +0 -2
  51. package/dist/client/assets/bsl-BkkzgIyY.js +0 -2
  52. package/dist/client/assets/c-iCihek07.js +0 -2
  53. package/dist/client/assets/c3-CnJL0r0V.js +0 -2
  54. package/dist/client/assets/cadence-CQ2zXKGN.js +0 -2
  55. package/dist/client/assets/cairo-DLTphjLi.js +0 -2
  56. package/dist/client/assets/canvasStateStore-CNUwMFbA.js +0 -2
  57. package/dist/client/assets/catppuccin-frappe-3VR1Za6u.js +0 -2
  58. package/dist/client/assets/catppuccin-latte-DwIHMF0Q.js +0 -2
  59. package/dist/client/assets/catppuccin-macchiato-DYnBP6_5.js +0 -2
  60. package/dist/client/assets/catppuccin-mocha-DYhrFGRu.js +0 -2
  61. package/dist/client/assets/clarity-SemFz856.js +0 -2
  62. package/dist/client/assets/clojure-DqKBuwfJ.js +0 -2
  63. package/dist/client/assets/cmake-Bj61d0ZC.js +0 -2
  64. package/dist/client/assets/cmmdAuthRedirect-Csm6xK2d.js +0 -2
  65. package/dist/client/assets/cobol-Cw2-KvLW.js +0 -2
  66. package/dist/client/assets/codeowners-C8r90Shi.js +0 -2
  67. package/dist/client/assets/codeql-oeQT6MSM.js +0 -2
  68. package/dist/client/assets/coffee-CiiSLhB6.js +0 -2
  69. package/dist/client/assets/common-lisp-Cv5bFMCO.js +0 -2
  70. package/dist/client/assets/coq-BrsZFFmf.js +0 -2
  71. package/dist/client/assets/cpp-DjoE5qBx.js +0 -2
  72. package/dist/client/assets/crystal-wCJpIkgB.js +0 -2
  73. package/dist/client/assets/csharp-Ct8U2NOr.js +0 -2
  74. package/dist/client/assets/css-CNuuLpMC.js +0 -2
  75. package/dist/client/assets/csv-Dx-8-gkx.js +0 -2
  76. package/dist/client/assets/cue-CE9AQfxI.js +0 -2
  77. package/dist/client/assets/cypher-ClKdZ_lG.js +0 -2
  78. package/dist/client/assets/d-qD-0Kul2.js +0 -2
  79. package/dist/client/assets/dark-plus-Cs2F2srj.js +0 -2
  80. package/dist/client/assets/dart-CnvKMtbv.js +0 -2
  81. package/dist/client/assets/dax-BkyTk9wS.js +0 -2
  82. package/dist/client/assets/desktop-Dlh5hvp9.js +0 -2
  83. package/dist/client/assets/diff-woXpYk--.js +0 -2
  84. package/dist/client/assets/docker-IyjqRm3v.js +0 -2
  85. package/dist/client/assets/dotenv-_5a1GRtc.js +0 -2
  86. package/dist/client/assets/dracula-BHWKrbxM.js +0 -2
  87. package/dist/client/assets/dracula-soft-5eyTD99u.js +0 -2
  88. package/dist/client/assets/dream-maker-DW3nJb8Q.js +0 -2
  89. package/dist/client/assets/edge-DCY0a-ow.js +0 -2
  90. package/dist/client/assets/elixir-DP304Xio.js +0 -2
  91. package/dist/client/assets/elm-o4NJxfws.js +0 -2
  92. package/dist/client/assets/emacs-lisp-B4R74twV.js +0 -2
  93. package/dist/client/assets/erb-BcNYoZVd.js +0 -2
  94. package/dist/client/assets/erlang-Cphh6RMH.js +0 -2
  95. package/dist/client/assets/everforest-dark-sB-x3p7T.js +0 -2
  96. package/dist/client/assets/everforest-light-Df2xbC6M.js +0 -2
  97. package/dist/client/assets/fennel-DQxkIbk2.js +0 -2
  98. package/dist/client/assets/fish-BJitypiv.js +0 -2
  99. package/dist/client/assets/fluent-C03EYrpw.js +0 -2
  100. package/dist/client/assets/fortran-fixed-form-DEKoE2YW.js +0 -2
  101. package/dist/client/assets/fortran-free-form-CYNrtFtB.js +0 -2
  102. package/dist/client/assets/fsharp-D13ZGOAj.js +0 -2
  103. package/dist/client/assets/gdresource-C0sCabJj.js +0 -2
  104. package/dist/client/assets/gdscript-Cp2uCuqX.js +0 -2
  105. package/dist/client/assets/gdshader-CBce3t8t.js +0 -2
  106. package/dist/client/assets/genie-CV2tkWYe.js +0 -2
  107. package/dist/client/assets/gherkin-DExj1W_8.js +0 -2
  108. package/dist/client/assets/git-commit-BSykSTBG.js +0 -2
  109. package/dist/client/assets/git-rebase-BDPpS8w6.js +0 -2
  110. package/dist/client/assets/github-dark-C-LZuMrd.js +0 -2
  111. package/dist/client/assets/github-dark-default-DXG-b-1a.js +0 -2
  112. package/dist/client/assets/github-dark-dimmed-Bx1FflLF.js +0 -2
  113. package/dist/client/assets/github-dark-high-contrast-B_tTalzw.js +0 -2
  114. package/dist/client/assets/github-light-EUqPIrTm.js +0 -2
  115. package/dist/client/assets/github-light-default-BXViO-2h.js +0 -2
  116. package/dist/client/assets/github-light-high-contrast-B68TUdTA.js +0 -2
  117. package/dist/client/assets/gleam-CSRkHgEL.js +0 -2
  118. package/dist/client/assets/glimmer-js-BONyzAsu.js +0 -2
  119. package/dist/client/assets/glimmer-ts-f9c0GCOe.js +0 -2
  120. package/dist/client/assets/glsl-D5MA2a_X.js +0 -2
  121. package/dist/client/assets/gn-ilITqXS6.js +0 -2
  122. package/dist/client/assets/gnuplot-7GGW24-e.js +0 -2
  123. package/dist/client/assets/go-rLFTqkRN.js +0 -2
  124. package/dist/client/assets/graphql-Ctjuxyvl.js +0 -2
  125. package/dist/client/assets/groovy-CacY0gHj.js +0 -2
  126. package/dist/client/assets/gruvbox-dark-hard-C820rvS2.js +0 -2
  127. package/dist/client/assets/gruvbox-dark-medium-BPjhmG05.js +0 -2
  128. package/dist/client/assets/gruvbox-dark-soft-MrdJrrXF.js +0 -2
  129. package/dist/client/assets/gruvbox-light-hard-BC_s9l72.js +0 -2
  130. package/dist/client/assets/gruvbox-light-medium-BAWPOn9u.js +0 -2
  131. package/dist/client/assets/gruvbox-light-soft-BSMLrYjP.js +0 -2
  132. package/dist/client/assets/hack-7ztQ7Up-.js +0 -2
  133. package/dist/client/assets/haml-CwEpbK1d.js +0 -2
  134. package/dist/client/assets/handlebars-ryMP1rBR.js +0 -2
  135. package/dist/client/assets/haskell-D8IpX4py.js +0 -2
  136. package/dist/client/assets/haxe-OTjmBuCE.js +0 -2
  137. package/dist/client/assets/hcl-Dh228itO.js +0 -2
  138. package/dist/client/assets/hjson-CxZEssPk.js +0 -2
  139. package/dist/client/assets/hlsl-Cvrh5tZx.js +0 -2
  140. package/dist/client/assets/horizon-CE9ld1lL.js +0 -2
  141. package/dist/client/assets/horizon-bright-DSNQnXHK.js +0 -2
  142. package/dist/client/assets/houston-CsvMBhTu.js +0 -2
  143. package/dist/client/assets/html-XwrE-1r6.js +0 -2
  144. package/dist/client/assets/html-derivative-i4STDFnl.js +0 -2
  145. package/dist/client/assets/html2canvas-CA7kyov8.js +0 -6
  146. package/dist/client/assets/http-kmH8AyfE.js +0 -2
  147. package/dist/client/assets/hurl-DCZHXKU4.js +0 -2
  148. package/dist/client/assets/hxml-B0Qn7Nwc.js +0 -2
  149. package/dist/client/assets/hy-CZbG8q4J.js +0 -2
  150. package/dist/client/assets/imba-DsUTQ-LC.js +0 -2
  151. package/dist/client/assets/index-BpibLjVJ.js +0 -151
  152. package/dist/client/assets/index-Cgryohjr.css +0 -1
  153. package/dist/client/assets/index.es-DH1ipSb3.js +0 -6
  154. package/dist/client/assets/ini-B5eOa1yu.js +0 -2
  155. package/dist/client/assets/java-DdHNQ9hk.js +0 -2
  156. package/dist/client/assets/javascript-obGGvMPs.js +0 -2
  157. package/dist/client/assets/jinja-B-tLrNsM.js +0 -2
  158. package/dist/client/assets/jison-CBjhYtSs.js +0 -2
  159. package/dist/client/assets/json-DAgxKhMr.js +0 -2
  160. package/dist/client/assets/json5-BR5RXkoi.js +0 -2
  161. package/dist/client/assets/jsonc-CYpm1nAK.js +0 -2
  162. package/dist/client/assets/jsonl-CmCQp5Yx.js +0 -2
  163. package/dist/client/assets/jsonnet-CJTPZ8u_.js +0 -2
  164. package/dist/client/assets/jspdf.es.min-Hx4pHu4X.js +0 -80
  165. package/dist/client/assets/jssm-DXw9l8Rf.js +0 -2
  166. package/dist/client/assets/jsx-gTgmArGx.js +0 -2
  167. package/dist/client/assets/julia-CjHxn3vf.js +0 -2
  168. package/dist/client/assets/just-CZ9bduw9.js +0 -2
  169. package/dist/client/assets/kanagawa-dragon-CXtmUGW6.js +0 -2
  170. package/dist/client/assets/kanagawa-lotus-BN08jTvb.js +0 -2
  171. package/dist/client/assets/kanagawa-wave-CTweb8Dz.js +0 -2
  172. package/dist/client/assets/kdl-CsD5j6eV.js +0 -2
  173. package/dist/client/assets/kotlin-DhhofPvG.js +0 -2
  174. package/dist/client/assets/kusto-C7mF5XQf.js +0 -2
  175. package/dist/client/assets/laserwave-C_8bwKvT.js +0 -2
  176. package/dist/client/assets/latex-D9bvcAJr.js +0 -2
  177. package/dist/client/assets/lean-CewbzKMR.js +0 -2
  178. package/dist/client/assets/less-DVTAwKKz.js +0 -2
  179. package/dist/client/assets/light-plus-DVQuIRkW.js +0 -2
  180. package/dist/client/assets/liquid-G0MH4h_m.js +0 -2
  181. package/dist/client/assets/llvm-Cm23YOpf.js +0 -2
  182. package/dist/client/assets/log-BNLmms1o.js +0 -2
  183. package/dist/client/assets/logo-Cluzi2Zq.js +0 -2
  184. package/dist/client/assets/lua-FONpmTUP.js +0 -2
  185. package/dist/client/assets/luau-CNKltnaQ.js +0 -2
  186. package/dist/client/assets/make-Dixweg8N.js +0 -2
  187. package/dist/client/assets/markdown-BYOwaDjH.js +0 -2
  188. package/dist/client/assets/marko-DV5GrDmo.js +0 -2
  189. package/dist/client/assets/material-theme-Bm3Qr25_.js +0 -2
  190. package/dist/client/assets/material-theme-darker-2IIEA8gg.js +0 -2
  191. package/dist/client/assets/material-theme-lighter-uhdI0v04.js +0 -2
  192. package/dist/client/assets/material-theme-ocean-CHQ94UKr.js +0 -2
  193. package/dist/client/assets/material-theme-palenight-B5W6OYN7.js +0 -2
  194. package/dist/client/assets/matlab-D7qyCx1q.js +0 -2
  195. package/dist/client/assets/mdc-cg1lnqpW.js +0 -2
  196. package/dist/client/assets/mdx-DQZ5AkYe.js +0 -2
  197. package/dist/client/assets/mermaid-Bk4SNUv9.js +0 -2
  198. package/dist/client/assets/min-dark-BSWPekZh.js +0 -2
  199. package/dist/client/assets/min-light-DDpmG2fV.js +0 -2
  200. package/dist/client/assets/mipsasm-BMqwQI7S.js +0 -2
  201. package/dist/client/assets/module-CPO4cjSm.js +0 -4
  202. package/dist/client/assets/mojo-BgCJLMeH.js +0 -2
  203. package/dist/client/assets/monokai-CdkpiU2Y.js +0 -2
  204. package/dist/client/assets/moonbit-CaWjb8XO.js +0 -2
  205. package/dist/client/assets/move-B1IS1UjX.js +0 -2
  206. package/dist/client/assets/narrat-_X_XdTYD.js +0 -2
  207. package/dist/client/assets/nextflow-BJtWHP5T.js +0 -2
  208. package/dist/client/assets/nextflow-groovy-DJMQeKeT.js +0 -2
  209. package/dist/client/assets/nginx-BTMw9COX.js +0 -2
  210. package/dist/client/assets/night-owl-DhmEMT88.js +0 -2
  211. package/dist/client/assets/night-owl-light-eJ-hLW7d.js +0 -2
  212. package/dist/client/assets/nim-B6yJ_yaC.js +0 -2
  213. package/dist/client/assets/nix-IvuFDN5E.js +0 -2
  214. package/dist/client/assets/nord-Cb4Vim4T.js +0 -2
  215. package/dist/client/assets/nushell-DcLAeLz5.js +0 -2
  216. package/dist/client/assets/objective-c-D1A_Heim.js +0 -2
  217. package/dist/client/assets/objective-cpp-BsSzOQcm.js +0 -2
  218. package/dist/client/assets/ocaml-O90oeIOV.js +0 -2
  219. package/dist/client/assets/odin-B1RWQWA5.js +0 -2
  220. package/dist/client/assets/one-dark-pro-CLwyXe_n.js +0 -2
  221. package/dist/client/assets/one-light-D7Lr4KcI.js +0 -2
  222. package/dist/client/assets/openscad-BUDT5pXO.js +0 -2
  223. package/dist/client/assets/pascal-4ZHwLPI5.js +0 -2
  224. package/dist/client/assets/perl-BAov3eih.js +0 -2
  225. package/dist/client/assets/php-Cg76ANFt.js +0 -2
  226. package/dist/client/assets/pierre-dark-CpLgRqie.js +0 -2
  227. package/dist/client/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +0 -2
  228. package/dist/client/assets/pierre-dark-soft-kZQmAZld.js +0 -2
  229. package/dist/client/assets/pierre-dark-tritanopia-CpjhbsIL.js +0 -2
  230. package/dist/client/assets/pierre-dark-vibrant-CpQYzh95.js +0 -2
  231. package/dist/client/assets/pierre-light-CoaEpmwp.js +0 -2
  232. package/dist/client/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +0 -2
  233. package/dist/client/assets/pierre-light-soft-lWLdNTOI.js +0 -2
  234. package/dist/client/assets/pierre-light-tritanopia-CEbqgOJL.js +0 -2
  235. package/dist/client/assets/pierre-light-vibrant-D80Fkn33.js +0 -2
  236. package/dist/client/assets/pkl-ot-7Btpt.js +0 -2
  237. package/dist/client/assets/plastic-DQwYfKfQ.js +0 -2
  238. package/dist/client/assets/plsql-DGHpHOYJ.js +0 -2
  239. package/dist/client/assets/po-BiJDBrnU.js +0 -2
  240. package/dist/client/assets/poimandres-DRFjx7u4.js +0 -2
  241. package/dist/client/assets/polar-C7UOKdEL.js +0 -2
  242. package/dist/client/assets/postcss-BXeXVLqQ.js +0 -2
  243. package/dist/client/assets/powerquery-DNMTfnFr.js +0 -2
  244. package/dist/client/assets/powershell-DshXNtvi.js +0 -2
  245. package/dist/client/assets/preload-helper-Czpn1I53.js +0 -1
  246. package/dist/client/assets/prisma-BsRQq5mF.js +0 -2
  247. package/dist/client/assets/prolog-iXnhIJG7.js +0 -2
  248. package/dist/client/assets/proto-DB4EqR-F.js +0 -2
  249. package/dist/client/assets/pug-DkgDHZci.js +0 -2
  250. package/dist/client/assets/puppet-CDv2pdJW.js +0 -2
  251. package/dist/client/assets/purescript-9MfHhQsQ.js +0 -2
  252. package/dist/client/assets/purify.es-BlKBIatO.js +0 -4
  253. package/dist/client/assets/python-gzcpVVnB.js +0 -2
  254. package/dist/client/assets/qml-_a-QhfPD.js +0 -2
  255. package/dist/client/assets/qmldir-DCQb3MpD.js +0 -2
  256. package/dist/client/assets/qss-Fe1Jh2GI.js +0 -2
  257. package/dist/client/assets/r-D6UWEOL2.js +0 -2
  258. package/dist/client/assets/racket-DcIDlBhZ.js +0 -2
  259. package/dist/client/assets/raku-B3gFvitq.js +0 -2
  260. package/dist/client/assets/razor-D3EoCAik.js +0 -2
  261. package/dist/client/assets/red-CJ3rzSJv.js +0 -2
  262. package/dist/client/assets/reg-CRGYupPL.js +0 -2
  263. package/dist/client/assets/regexp-DR20uMnK.js +0 -2
  264. package/dist/client/assets/rel-BtDbiS_P.js +0 -2
  265. package/dist/client/assets/riscv-Ckw8ddFX.js +0 -2
  266. package/dist/client/assets/rolldown-runtime-hePW80VL.js +0 -1
  267. package/dist/client/assets/ron-VUp2lXgN.js +0 -2
  268. package/dist/client/assets/rose-pine-BthvhNj6.js +0 -2
  269. package/dist/client/assets/rose-pine-dawn-Dg85fqjY.js +0 -2
  270. package/dist/client/assets/rose-pine-moon-hon4tzzS.js +0 -2
  271. package/dist/client/assets/rosmsg-CAekHB0j.js +0 -2
  272. package/dist/client/assets/rst-YTmaoyaq.js +0 -2
  273. package/dist/client/assets/ruby-2bd251b9.js +0 -2
  274. package/dist/client/assets/rust-Cfkwpbl8.js +0 -2
  275. package/dist/client/assets/sas-B6p8-ynO.js +0 -2
  276. package/dist/client/assets/sass-DXrisJhu.js +0 -2
  277. package/dist/client/assets/scala-DKOlJaKm.js +0 -2
  278. package/dist/client/assets/scheme-DQCgrYNe.js +0 -2
  279. package/dist/client/assets/scss-YesllqfO.js +0 -2
  280. package/dist/client/assets/sdbl-bTVj8UrX.js +0 -2
  281. package/dist/client/assets/shaderlab-TOUzSsQk.js +0 -2
  282. package/dist/client/assets/shellscript-Da78Ox-3.js +0 -2
  283. package/dist/client/assets/shellsession-CVsQGYfZ.js +0 -2
  284. package/dist/client/assets/slack-dark-DnToyrRv.js +0 -2
  285. package/dist/client/assets/slack-ochin-B2OO5cIa.js +0 -2
  286. package/dist/client/assets/smalltalk-B16xEiuN.js +0 -2
  287. package/dist/client/assets/snazzy-light-4G7pJPwS.js +0 -2
  288. package/dist/client/assets/solarized-dark-DV17i1UV.js +0 -2
  289. package/dist/client/assets/solarized-light-DSh2HLQt.js +0 -2
  290. package/dist/client/assets/solidity-CKzVLygQ.js +0 -2
  291. package/dist/client/assets/soy-DEd-qcad.js +0 -2
  292. package/dist/client/assets/sparql-D_iOobhT.js +0 -2
  293. package/dist/client/assets/splunk-BC2Px7Mm.js +0 -2
  294. package/dist/client/assets/sql-ClgswhA6.js +0 -2
  295. package/dist/client/assets/src-DIz6MF7Y.js +0 -3
  296. package/dist/client/assets/ssh-config-BgfXC-Er.js +0 -2
  297. package/dist/client/assets/stata-RoaAgbqU.js +0 -2
  298. package/dist/client/assets/stylus-B6D30XZt.js +0 -2
  299. package/dist/client/assets/surrealql-DIn4NJsS.js +0 -2
  300. package/dist/client/assets/svelte-Bj3Hmc9F.js +0 -2
  301. package/dist/client/assets/swift-DonLKvLd.js +0 -2
  302. package/dist/client/assets/synthwave-84-nFMaYfgc.js +0 -2
  303. package/dist/client/assets/system-verilog-DJ5XKQeo.js +0 -2
  304. package/dist/client/assets/systemd-BxMlprV5.js +0 -2
  305. package/dist/client/assets/talonscript-CohzipZa.js +0 -2
  306. package/dist/client/assets/tasl-DMoTqEGO.js +0 -2
  307. package/dist/client/assets/tcl-CZd0xW_V.js +0 -2
  308. package/dist/client/assets/templ-TjxbArHn.js +0 -2
  309. package/dist/client/assets/terraform-DswuEJGm.js +0 -2
  310. package/dist/client/assets/tex-0w6-Dtgt.js +0 -2
  311. package/dist/client/assets/toggle-Cs1dDm-P.js +0 -2
  312. package/dist/client/assets/tokyo-night-oM2G3aXe.js +0 -2
  313. package/dist/client/assets/toml-CcmNWLt0.js +0 -2
  314. package/dist/client/assets/transport-CgH8pQK3.js +0 -2
  315. package/dist/client/assets/ts-tags-DFwAVxhO.js +0 -2
  316. package/dist/client/assets/tsv-sltzmVWM.js +0 -2
  317. package/dist/client/assets/tsx-CUOciP0b.js +0 -2
  318. package/dist/client/assets/turtle-ByJddavk.js +0 -2
  319. package/dist/client/assets/twig-BbcH-NR0.js +0 -2
  320. package/dist/client/assets/typeof-B5XbjTb1.js +0 -2
  321. package/dist/client/assets/typescript-BydbNFcO.js +0 -2
  322. package/dist/client/assets/typespec-BRdr0IET.js +0 -2
  323. package/dist/client/assets/typst-DI99ib-x.js +0 -2
  324. package/dist/client/assets/useTriggerFocusGuards-w66TPlKd.js +0 -2
  325. package/dist/client/assets/v-DETTlOr0.js +0 -2
  326. package/dist/client/assets/vala-zf12oZj6.js +0 -2
  327. package/dist/client/assets/vb-Djn5o6TS.js +0 -2
  328. package/dist/client/assets/verilog-CiiDBU1e.js +0 -2
  329. package/dist/client/assets/vesper-D5bVUKB1.js +0 -2
  330. package/dist/client/assets/vhdl-BroJfC0k.js +0 -2
  331. package/dist/client/assets/viml-DvXPmvsu.js +0 -2
  332. package/dist/client/assets/vitesse-black-fwtXNY1n.js +0 -2
  333. package/dist/client/assets/vitesse-dark-BZCL-v6S.js +0 -2
  334. package/dist/client/assets/vitesse-light-VbXTXTou.js +0 -2
  335. package/dist/client/assets/vue-BNi0qJZP.js +0 -2
  336. package/dist/client/assets/vue-html-DkKkQnZL.js +0 -2
  337. package/dist/client/assets/vue-vine-DFaKYU4X.js +0 -2
  338. package/dist/client/assets/vyper-CgoNMtux.js +0 -2
  339. package/dist/client/assets/wasm-BnjxR4X6.js +0 -2
  340. package/dist/client/assets/wasm-ByWQv1Qj.js +0 -2
  341. package/dist/client/assets/wenyan-C8pVoKbM.js +0 -2
  342. package/dist/client/assets/wgsl-BsKzXJz4.js +0 -2
  343. package/dist/client/assets/wikitext-ClFFjSW2.js +0 -2
  344. package/dist/client/assets/wit-DdvCle-K.js +0 -2
  345. package/dist/client/assets/wolfram-DLL8P-h_.js +0 -2
  346. package/dist/client/assets/worker-Cvq2iJN1.js +0 -162
  347. package/dist/client/assets/workspaceReadinessAtom-BTyIyjks.js +0 -2
  348. package/dist/client/assets/xml-BlnrEAEy.js +0 -2
  349. package/dist/client/assets/xsl-BOPS8gLt.js +0 -2
  350. package/dist/client/assets/yaml-Du_6cdrH.js +0 -2
  351. package/dist/client/assets/zenscript-BnlCZFoB.js +0 -2
  352. package/dist/client/assets/zig-CMLA9XwU.js +0 -2
  353. package/dist/client/favicon-16x16.png +0 -0
  354. package/dist/client/favicon-16x16.png.publish-bak +0 -0
  355. package/dist/client/favicon-32x32.png +0 -0
  356. package/dist/client/favicon-32x32.png.publish-bak +0 -0
  357. package/dist/client/favicon.ico +0 -0
  358. package/dist/client/favicon.ico.publish-bak +0 -0
  359. package/dist/client/forge-mark.svg +0 -5
  360. package/dist/client/index.html +0 -131
  361. package/dist/client/mockServiceWorker.js +0 -336
  362. package/dist/client/sidebar/forge-ember-field.webp +0 -0
@@ -1,307 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const require_chunk = require("./chunk-BhaIgcZK.cjs");
4
- const require_Schema = require("./Schema-Bij_WAra.cjs");
5
- const require_Path = require("./Path-CsbBuCFB.cjs");
6
- const require_NodeTerminal = require("./NodeTerminal-B9u7fFYa.cjs");
7
- const require_NodeServices = require("./NodeServices-BISZRY3e.cjs");
8
- const require_HttpServer = require("./HttpServer-aJkhz6yu.cjs");
9
- const require_Config = require("./Config-DMA9WqtC.cjs");
10
- const require_Mime = require("./Mime-DScmpfRF.cjs");
11
- let node_stream = require("node:stream");
12
- let node_fs = require("node:fs");
13
- node_fs = require_chunk.__toESM(node_fs);
14
- let node_http = require("node:http");
15
- node_http = require_chunk.__toESM(node_http);
16
- let node_stream_promises = require("node:stream/promises");
17
- node_stream_promises = require_chunk.__toESM(node_stream_promises);
18
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
19
- /**
20
- * @since 1.0.0
21
- */
22
- /**
23
- * @since 1.0.0
24
- * @category Constructors
25
- */
26
- var NodeHttpIncomingMessage = class extends require_Schema.Class$2 {
27
- /**
28
- * @since 1.0.0
29
- */
30
- [require_HttpServer.TypeId$3];
31
- source;
32
- onError;
33
- remoteAddressOverride;
34
- constructor(source, onError, remoteAddressOverride) {
35
- super();
36
- this[require_HttpServer.TypeId$3] = require_HttpServer.TypeId$3;
37
- this.source = source;
38
- this.onError = onError;
39
- this.remoteAddressOverride = remoteAddressOverride;
40
- }
41
- get headers() {
42
- return require_HttpServer.fromInput$1(this.source.headers);
43
- }
44
- get remoteAddress() {
45
- return this.remoteAddressOverride ?? require_Schema.fromNullishOr(this.source.socket.remoteAddress);
46
- }
47
- textEffect;
48
- get text() {
49
- if (this.textEffect) return this.textEffect;
50
- this.textEffect = require_Schema.runSync(require_Schema.cached(require_Schema.flatMap(require_HttpServer.MaxBodySize.asEffect(), (maxBodySize) => require_NodeTerminal.toString(() => this.source, {
51
- onError: this.onError,
52
- maxBytes: maxBodySize
53
- }))));
54
- return this.textEffect;
55
- }
56
- get textUnsafe() {
57
- return require_Schema.runSync(this.text);
58
- }
59
- get json() {
60
- return require_Schema.flatMap(this.text, (text) => require_Schema.try_({
61
- try: () => text === "" ? null : JSON.parse(text),
62
- catch: this.onError
63
- }));
64
- }
65
- get jsonUnsafe() {
66
- return require_Schema.runSync(this.json);
67
- }
68
- get urlParamsBody() {
69
- return require_Schema.flatMap(this.text, (_) => require_Schema.try_({
70
- try: () => require_HttpServer.fromInput(new URLSearchParams(_)),
71
- catch: this.onError
72
- }));
73
- }
74
- get stream() {
75
- return require_NodeTerminal.fromReadable({
76
- evaluate: () => this.source,
77
- onError: this.onError
78
- });
79
- }
80
- get arrayBuffer() {
81
- return require_Schema.withFiber((fiber) => require_NodeTerminal.toArrayBuffer(() => this.source, {
82
- onError: this.onError,
83
- maxBytes: fiber.getRef(require_HttpServer.MaxBodySize)
84
- }));
85
- }
86
- };
87
- //#endregion
88
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
89
- /**
90
- * @since 1.0.0
91
- */
92
- /**
93
- * @since 1.0.0
94
- * @category Constructors
95
- */
96
- const make$2 = /* @__PURE__ */ require_HttpServer.make$1({
97
- fileResponse(path, status, statusText, headers, start, end, contentLength) {
98
- const stream = contentLength === 0 ? node_stream.Readable.from([]) : node_fs.createReadStream(path, {
99
- start,
100
- end: end === void 0 ? void 0 : end - 1
101
- });
102
- return require_HttpServer.raw(stream, {
103
- headers: {
104
- ...headers,
105
- "content-type": headers["content-type"] ?? require_Mime.Mime_default.getType(path) ?? "application/octet-stream",
106
- "content-length": contentLength.toString()
107
- },
108
- status,
109
- statusText
110
- });
111
- },
112
- fileWebResponse(file, status, statusText, headers, _options) {
113
- return require_HttpServer.raw(node_stream.Readable.fromWeb(file.stream()), {
114
- headers: require_HttpServer.merge(headers, require_HttpServer.fromRecordUnsafe({
115
- "content-type": headers["content-type"] ?? require_Mime.Mime_default.getType(file.name) ?? "application/octet-stream",
116
- "content-length": file.size.toString()
117
- })),
118
- status,
119
- statusText
120
- });
121
- }
122
- });
123
- /**
124
- * @since 1.0.0
125
- * @category Layers
126
- */
127
- const layer$1 = /* @__PURE__ */ require_Schema.pipe(/* @__PURE__ */ require_Schema.effect(require_HttpServer.HttpPlatform)(make$2), /* @__PURE__ */ require_Schema.provide$1(require_NodeServices.layer$1), /* @__PURE__ */ require_Schema.provide$1(require_HttpServer.layer$1));
128
- //#endregion
129
- //#region ../../node_modules/.bun/multipasta@0.2.7/node_modules/multipasta/dist/esm/node.js
130
- var MultipastaStream = class extends node_stream.Duplex {
131
- _parser;
132
- _canWrite = true;
133
- _writeCallback;
134
- constructor(config) {
135
- super({ readableObjectMode: true });
136
- let currentError;
137
- let currentFile;
138
- this._parser = require_HttpServer.make$2({
139
- ...config,
140
- onField: (info, value) => {
141
- if (currentError !== void 0) return;
142
- const field = {
143
- _tag: "Field",
144
- info,
145
- value
146
- };
147
- this.push(field);
148
- this.emit("field", field);
149
- },
150
- onFile: (info) => {
151
- if (currentError !== void 0) return (_) => {};
152
- const file = new FileStream(info, this);
153
- currentFile = file;
154
- this.push(file);
155
- this.emit("file", file);
156
- return (chunk) => {
157
- this._canWrite = file.push(chunk);
158
- if (chunk === null && !this._canWrite) {
159
- currentFile = void 0;
160
- this._resume();
161
- }
162
- };
163
- },
164
- onError: (error) => {
165
- this.emit("error", error);
166
- currentFile?.emit("error", error);
167
- currentError = error;
168
- },
169
- onDone: () => {
170
- this.push(null);
171
- }
172
- });
173
- }
174
- _resume() {
175
- this._canWrite = true;
176
- if (this._writeCallback !== void 0) {
177
- const callback = this._writeCallback;
178
- this._writeCallback = void 0;
179
- callback();
180
- }
181
- }
182
- _read(_size) {}
183
- _write(chunk, encoding, callback) {
184
- this._parser.write(chunk instanceof Uint8Array ? chunk : Buffer.from(chunk, encoding));
185
- if (this._canWrite) callback();
186
- else this._writeCallback = callback;
187
- }
188
- _final(callback) {
189
- this._parser.end();
190
- callback();
191
- }
192
- };
193
- const make$1 = (config) => new MultipastaStream(config);
194
- var FileStream = class extends node_stream.Readable {
195
- info;
196
- _parent;
197
- _tag = "File";
198
- filename;
199
- constructor(info, _parent) {
200
- super();
201
- this.info = info;
202
- this._parent = _parent;
203
- this.filename = info.filename;
204
- }
205
- _read(_size) {
206
- if (this._parent._canWrite === false) this._parent._resume();
207
- }
208
- };
209
- //#endregion
210
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeMultipart.js
211
- /**
212
- * @since 1.0.0
213
- */
214
- /**
215
- * @since 1.0.0
216
- * @category constructors
217
- */
218
- const stream = (source, headers) => require_HttpServer.makeConfig(headers).pipe(require_Schema.map((config) => require_NodeTerminal.fromReadable({
219
- evaluate() {
220
- const parser = make$1(config);
221
- source.pipe(parser);
222
- return parser;
223
- },
224
- onError: (error) => convertError(error)
225
- })), require_Path.unwrap, require_Path.map(convertPart));
226
- /**
227
- * @since 1.0.0
228
- * @category constructors
229
- */
230
- const persisted = (source, headers) => require_HttpServer.toPersisted(stream(source, headers), (path, file) => require_Schema.tryPromise({
231
- try: (signal) => node_stream_promises.pipeline(file.file, node_fs.createWriteStream(path), { signal }),
232
- catch: (cause) => require_HttpServer.MultipartError.fromReason("InternalError", cause)
233
- }));
234
- const convertPart = (part) => part._tag === "Field" ? new FieldImpl(part.info, part.value) : new FileImpl(part);
235
- var PartBase = class extends require_Schema.Class$2 {
236
- [require_HttpServer.TypeId$1];
237
- constructor() {
238
- super();
239
- this[require_HttpServer.TypeId$1] = require_HttpServer.TypeId$1;
240
- }
241
- };
242
- var FieldImpl = class extends PartBase {
243
- _tag = "Field";
244
- key;
245
- contentType;
246
- value;
247
- constructor(info, value) {
248
- super();
249
- this.key = info.name;
250
- this.contentType = info.contentType;
251
- this.value = require_HttpServer.decodeField(info, value);
252
- }
253
- toJSON() {
254
- return {
255
- _id: "@effect/platform/Multipart/Part",
256
- _tag: "Field",
257
- key: this.key,
258
- value: this.value,
259
- contentType: this.contentType
260
- };
261
- }
262
- };
263
- var FileImpl = class extends PartBase {
264
- _tag = "File";
265
- key;
266
- name;
267
- contentType;
268
- content;
269
- contentEffect;
270
- file;
271
- constructor(file) {
272
- super();
273
- this.file = file;
274
- this.key = file.info.name;
275
- this.name = file.filename ?? file.info.name;
276
- this.contentType = file.info.contentType;
277
- this.content = require_NodeTerminal.fromReadable({
278
- evaluate: () => file,
279
- onError: (cause) => require_HttpServer.MultipartError.fromReason("InternalError", cause)
280
- });
281
- this.contentEffect = require_NodeTerminal.toUint8Array(() => file, { onError: (cause) => require_HttpServer.MultipartError.fromReason("InternalError", cause) });
282
- }
283
- toJSON() {
284
- return {
285
- _id: "@effect/platform/Multipart/Part",
286
- _tag: "File",
287
- key: this.key,
288
- name: this.name,
289
- contentType: this.contentType
290
- };
291
- }
292
- };
293
- function convertError(cause) {
294
- switch (cause._tag) {
295
- case "ReachedLimit": switch (cause.limit) {
296
- case "MaxParts": return require_HttpServer.MultipartError.fromReason("TooManyParts", cause);
297
- case "MaxFieldSize": return require_HttpServer.MultipartError.fromReason("FieldTooLarge", cause);
298
- case "MaxPartSize": return require_HttpServer.MultipartError.fromReason("FileTooLarge", cause);
299
- case "MaxTotalSize": return require_HttpServer.MultipartError.fromReason("BodyTooLarge", cause);
300
- }
301
- default: return require_HttpServer.MultipartError.fromReason("Parse", cause);
302
- }
303
- }
304
- //#endregion
305
4
  //#region ../../node_modules/.bun/ws@8.21.2/node_modules/ws/lib/constants.js
306
5
  var require_constants = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
307
6
  const BINARY_TYPES = [
@@ -2324,7 +2023,7 @@ var require_websocket = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
2324
2023
  const net = require("net");
2325
2024
  const tls = require("tls");
2326
2025
  const { randomBytes, createHash: createHash$1 } = require("crypto");
2327
- const { Duplex: Duplex$2, Readable: Readable$1 } = require("stream");
2026
+ const { Duplex: Duplex$2, Readable } = require("stream");
2328
2027
  const { URL } = require("url");
2329
2028
  const PerMessageDeflate = require_permessage_deflate();
2330
2029
  const Receiver = require_receiver();
@@ -3851,318 +3550,1417 @@ require_permessage_deflate();
3851
3550
  require_receiver();
3852
3551
  require_sender();
3853
3552
  require_subprotocol();
3854
- require_websocket();
3553
+ var import_websocket = /* @__PURE__ */ require_chunk.__toESM(require_websocket(), 1);
3855
3554
  var import_websocket_server = /* @__PURE__ */ require_chunk.__toESM(require_websocket_server(), 1);
3555
+ var wrapper_default = import_websocket.default;
3856
3556
  //#endregion
3857
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeHttpServer.js
3858
- /**
3859
- * @since 1.0.0
3860
- */
3861
- /**
3862
- * @since 1.0.0
3863
- * @category constructors
3864
- */
3865
- const make = /* @__PURE__ */ require_Schema.fnUntraced(function* (evaluate, options) {
3866
- const scope$1 = yield* require_Schema.scope;
3867
- const server = evaluate();
3868
- const shutdown = yield* require_Schema.callback((resume) => {
3869
- if (!server.listening) return resume(require_Schema.void_);
3870
- server.close((error) => {
3871
- if (error) resume(require_Schema.die(error));
3872
- else resume(require_Schema.void_);
3873
- });
3874
- }).pipe(require_Schema.cached);
3875
- const preemptiveShutdown = options.disablePreemptiveShutdown ? require_Schema.void_ : require_Schema.timeoutOrElse(shutdown, {
3876
- duration: options.gracefulShutdownTimeout ?? require_Schema.seconds(20),
3877
- orElse: () => require_Schema.void_
3878
- });
3879
- yield* require_Schema.addFinalizer$1(scope$1, shutdown);
3880
- yield* require_Schema.callback((resume) => {
3881
- function onError(cause) {
3882
- resume(require_Schema.fail(new require_HttpServer.ServeError({ cause })));
3883
- }
3884
- server.on("error", onError);
3885
- server.listen(options, () => {
3886
- server.off("error", onError);
3887
- resume(require_Schema.void_);
3888
- });
3889
- });
3890
- const address = server.address();
3891
- const wss = yield* require_Schema.acquireRelease(require_Schema.sync(() => new import_websocket_server.default({ noServer: true })), (wss) => require_Schema.callback((resume) => {
3892
- wss.close(() => resume(require_Schema.void_));
3893
- })).pipe(require_Schema.provide$2(scope$1), require_Schema.cached);
3894
- return require_HttpServer.make({
3895
- address: typeof address === "string" ? {
3896
- _tag: "UnixAddress",
3897
- path: address
3898
- } : {
3899
- _tag: "TcpAddress",
3900
- hostname: address.address === "::" ? "0.0.0.0" : address.address,
3901
- port: address.port
3902
- },
3903
- serve: require_Schema.fnUntraced(function* (httpApp, middleware) {
3904
- const serveScope = yield* require_Schema.scope;
3905
- const scope$2 = require_Schema.forkUnsafe(serveScope, "parallel");
3906
- const handler = yield* makeHandler(httpApp, {
3907
- middleware,
3908
- scope: scope$2
3909
- });
3910
- const upgradeHandler = yield* makeUpgradeHandler(wss, httpApp, {
3911
- middleware,
3912
- scope: scope$2
3913
- });
3914
- yield* require_Schema.addFinalizerExit(serveScope, () => {
3915
- server.off("request", handler);
3916
- server.off("upgrade", upgradeHandler);
3917
- return preemptiveShutdown;
3918
- });
3919
- server.on("request", handler);
3920
- server.on("upgrade", upgradeHandler);
3921
- })
3922
- });
3923
- });
3924
- /**
3925
- * @since 1.0.0
3926
- * @category Handlers
3927
- */
3928
- const makeHandler = (httpEffect, options) => {
3929
- const handled = require_HttpServer.toHandled(httpEffect, handleResponse, options.middleware);
3930
- return require_Schema.withFiber((parent) => {
3931
- const services = parent.context;
3932
- return require_Schema.succeed(function handler(nodeRequest, nodeResponse) {
3933
- const map = new Map(services.mapUnsafe);
3934
- map.set(require_HttpServer.HttpServerRequest.key, new ServerRequestImpl(nodeRequest, nodeResponse));
3935
- const fiber = require_Path.runIn(require_Schema.runForkWith(require_Schema.makeUnsafe$3(map))(handled), options.scope);
3936
- nodeResponse.on("close", () => {
3937
- if (!nodeResponse.writableEnded) fiber.interruptUnsafe(parent.id, require_HttpServer.ClientAbort.annotation);
3938
- });
3939
- });
3940
- });
3557
+ //#region ../../node_modules/.bun/mime@4.1.0/node_modules/mime/dist/types/other.js
3558
+ const types$1 = {
3559
+ "application/prs.cww": ["cww"],
3560
+ "application/prs.xsf+xml": ["xsf"],
3561
+ "application/vnd.1000minds.decision-model+xml": ["1km"],
3562
+ "application/vnd.3gpp.pic-bw-large": ["plb"],
3563
+ "application/vnd.3gpp.pic-bw-small": ["psb"],
3564
+ "application/vnd.3gpp.pic-bw-var": ["pvb"],
3565
+ "application/vnd.3gpp2.tcap": ["tcap"],
3566
+ "application/vnd.3m.post-it-notes": ["pwn"],
3567
+ "application/vnd.accpac.simply.aso": ["aso"],
3568
+ "application/vnd.accpac.simply.imp": ["imp"],
3569
+ "application/vnd.acucobol": ["acu"],
3570
+ "application/vnd.acucorp": ["atc", "acutc"],
3571
+ "application/vnd.adobe.air-application-installer-package+zip": ["air"],
3572
+ "application/vnd.adobe.formscentral.fcdt": ["fcdt"],
3573
+ "application/vnd.adobe.fxp": ["fxp", "fxpl"],
3574
+ "application/vnd.adobe.xdp+xml": ["xdp"],
3575
+ "application/vnd.adobe.xfdf": ["*xfdf"],
3576
+ "application/vnd.age": ["age"],
3577
+ "application/vnd.ahead.space": ["ahead"],
3578
+ "application/vnd.airzip.filesecure.azf": ["azf"],
3579
+ "application/vnd.airzip.filesecure.azs": ["azs"],
3580
+ "application/vnd.amazon.ebook": ["azw"],
3581
+ "application/vnd.americandynamics.acc": ["acc"],
3582
+ "application/vnd.amiga.ami": ["ami"],
3583
+ "application/vnd.android.package-archive": ["apk"],
3584
+ "application/vnd.anser-web-certificate-issue-initiation": ["cii"],
3585
+ "application/vnd.anser-web-funds-transfer-initiation": ["fti"],
3586
+ "application/vnd.antix.game-component": ["atx"],
3587
+ "application/vnd.apple.installer+xml": ["mpkg"],
3588
+ "application/vnd.apple.keynote": ["key"],
3589
+ "application/vnd.apple.mpegurl": ["m3u8"],
3590
+ "application/vnd.apple.numbers": ["numbers"],
3591
+ "application/vnd.apple.pages": ["pages"],
3592
+ "application/vnd.apple.pkpass": ["pkpass"],
3593
+ "application/vnd.aristanetworks.swi": ["swi"],
3594
+ "application/vnd.astraea-software.iota": ["iota"],
3595
+ "application/vnd.audiograph": ["aep"],
3596
+ "application/vnd.autodesk.fbx": ["fbx"],
3597
+ "application/vnd.balsamiq.bmml+xml": ["bmml"],
3598
+ "application/vnd.blueice.multipass": ["mpm"],
3599
+ "application/vnd.bmi": ["bmi"],
3600
+ "application/vnd.businessobjects": ["rep"],
3601
+ "application/vnd.chemdraw+xml": ["cdxml"],
3602
+ "application/vnd.chipnuts.karaoke-mmd": ["mmd"],
3603
+ "application/vnd.cinderella": ["cdy"],
3604
+ "application/vnd.citationstyles.style+xml": ["csl"],
3605
+ "application/vnd.claymore": ["cla"],
3606
+ "application/vnd.cloanto.rp9": ["rp9"],
3607
+ "application/vnd.clonk.c4group": [
3608
+ "c4g",
3609
+ "c4d",
3610
+ "c4f",
3611
+ "c4p",
3612
+ "c4u"
3613
+ ],
3614
+ "application/vnd.cluetrust.cartomobile-config": ["c11amc"],
3615
+ "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
3616
+ "application/vnd.commonspace": ["csp"],
3617
+ "application/vnd.contact.cmsg": ["cdbcmsg"],
3618
+ "application/vnd.cosmocaller": ["cmc"],
3619
+ "application/vnd.crick.clicker": ["clkx"],
3620
+ "application/vnd.crick.clicker.keyboard": ["clkk"],
3621
+ "application/vnd.crick.clicker.palette": ["clkp"],
3622
+ "application/vnd.crick.clicker.template": ["clkt"],
3623
+ "application/vnd.crick.clicker.wordbank": ["clkw"],
3624
+ "application/vnd.criticaltools.wbs+xml": ["wbs"],
3625
+ "application/vnd.ctc-posml": ["pml"],
3626
+ "application/vnd.cups-ppd": ["ppd"],
3627
+ "application/vnd.curl.car": ["car"],
3628
+ "application/vnd.curl.pcurl": ["pcurl"],
3629
+ "application/vnd.dart": ["dart"],
3630
+ "application/vnd.data-vision.rdz": ["rdz"],
3631
+ "application/vnd.dbf": ["dbf"],
3632
+ "application/vnd.dcmp+xml": ["dcmp"],
3633
+ "application/vnd.dece.data": [
3634
+ "uvf",
3635
+ "uvvf",
3636
+ "uvd",
3637
+ "uvvd"
3638
+ ],
3639
+ "application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
3640
+ "application/vnd.dece.unspecified": ["uvx", "uvvx"],
3641
+ "application/vnd.dece.zip": ["uvz", "uvvz"],
3642
+ "application/vnd.denovo.fcselayout-link": ["fe_launch"],
3643
+ "application/vnd.dna": ["dna"],
3644
+ "application/vnd.dolby.mlp": ["mlp"],
3645
+ "application/vnd.dpgraph": ["dpg"],
3646
+ "application/vnd.dreamfactory": ["dfac"],
3647
+ "application/vnd.ds-keypoint": ["kpxx"],
3648
+ "application/vnd.dvb.ait": ["ait"],
3649
+ "application/vnd.dvb.service": ["svc"],
3650
+ "application/vnd.dynageo": ["geo"],
3651
+ "application/vnd.ecowin.chart": ["mag"],
3652
+ "application/vnd.enliven": ["nml"],
3653
+ "application/vnd.epson.esf": ["esf"],
3654
+ "application/vnd.epson.msf": ["msf"],
3655
+ "application/vnd.epson.quickanime": ["qam"],
3656
+ "application/vnd.epson.salt": ["slt"],
3657
+ "application/vnd.epson.ssf": ["ssf"],
3658
+ "application/vnd.eszigno3+xml": ["es3", "et3"],
3659
+ "application/vnd.ezpix-album": ["ez2"],
3660
+ "application/vnd.ezpix-package": ["ez3"],
3661
+ "application/vnd.fdf": ["*fdf"],
3662
+ "application/vnd.fdsn.mseed": ["mseed"],
3663
+ "application/vnd.fdsn.seed": ["seed", "dataless"],
3664
+ "application/vnd.flographit": ["gph"],
3665
+ "application/vnd.fluxtime.clip": ["ftc"],
3666
+ "application/vnd.framemaker": [
3667
+ "fm",
3668
+ "frame",
3669
+ "maker",
3670
+ "book"
3671
+ ],
3672
+ "application/vnd.frogans.fnc": ["fnc"],
3673
+ "application/vnd.frogans.ltf": ["ltf"],
3674
+ "application/vnd.fsc.weblaunch": ["fsc"],
3675
+ "application/vnd.fujitsu.oasys": ["oas"],
3676
+ "application/vnd.fujitsu.oasys2": ["oa2"],
3677
+ "application/vnd.fujitsu.oasys3": ["oa3"],
3678
+ "application/vnd.fujitsu.oasysgp": ["fg5"],
3679
+ "application/vnd.fujitsu.oasysprs": ["bh2"],
3680
+ "application/vnd.fujixerox.ddd": ["ddd"],
3681
+ "application/vnd.fujixerox.docuworks": ["xdw"],
3682
+ "application/vnd.fujixerox.docuworks.binder": ["xbd"],
3683
+ "application/vnd.fuzzysheet": ["fzs"],
3684
+ "application/vnd.genomatix.tuxedo": ["txd"],
3685
+ "application/vnd.geogebra.file": ["ggb"],
3686
+ "application/vnd.geogebra.slides": ["ggs"],
3687
+ "application/vnd.geogebra.tool": ["ggt"],
3688
+ "application/vnd.geometry-explorer": ["gex", "gre"],
3689
+ "application/vnd.geonext": ["gxt"],
3690
+ "application/vnd.geoplan": ["g2w"],
3691
+ "application/vnd.geospace": ["g3w"],
3692
+ "application/vnd.gmx": ["gmx"],
3693
+ "application/vnd.google-apps.document": ["gdoc"],
3694
+ "application/vnd.google-apps.drawing": ["gdraw"],
3695
+ "application/vnd.google-apps.form": ["gform"],
3696
+ "application/vnd.google-apps.jam": ["gjam"],
3697
+ "application/vnd.google-apps.map": ["gmap"],
3698
+ "application/vnd.google-apps.presentation": ["gslides"],
3699
+ "application/vnd.google-apps.script": ["gscript"],
3700
+ "application/vnd.google-apps.site": ["gsite"],
3701
+ "application/vnd.google-apps.spreadsheet": ["gsheet"],
3702
+ "application/vnd.google-earth.kml+xml": ["kml"],
3703
+ "application/vnd.google-earth.kmz": ["kmz"],
3704
+ "application/vnd.gov.sk.xmldatacontainer+xml": ["xdcf"],
3705
+ "application/vnd.grafeq": ["gqf", "gqs"],
3706
+ "application/vnd.groove-account": ["gac"],
3707
+ "application/vnd.groove-help": ["ghf"],
3708
+ "application/vnd.groove-identity-message": ["gim"],
3709
+ "application/vnd.groove-injector": ["grv"],
3710
+ "application/vnd.groove-tool-message": ["gtm"],
3711
+ "application/vnd.groove-tool-template": ["tpl"],
3712
+ "application/vnd.groove-vcard": ["vcg"],
3713
+ "application/vnd.hal+xml": ["hal"],
3714
+ "application/vnd.handheld-entertainment+xml": ["zmm"],
3715
+ "application/vnd.hbci": ["hbci"],
3716
+ "application/vnd.hhe.lesson-player": ["les"],
3717
+ "application/vnd.hp-hpgl": ["hpgl"],
3718
+ "application/vnd.hp-hpid": ["hpid"],
3719
+ "application/vnd.hp-hps": ["hps"],
3720
+ "application/vnd.hp-jlyt": ["jlt"],
3721
+ "application/vnd.hp-pcl": ["pcl"],
3722
+ "application/vnd.hp-pclxl": ["pclxl"],
3723
+ "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
3724
+ "application/vnd.ibm.minipay": ["mpy"],
3725
+ "application/vnd.ibm.modcap": [
3726
+ "afp",
3727
+ "listafp",
3728
+ "list3820"
3729
+ ],
3730
+ "application/vnd.ibm.rights-management": ["irm"],
3731
+ "application/vnd.ibm.secure-container": ["sc"],
3732
+ "application/vnd.iccprofile": ["icc", "icm"],
3733
+ "application/vnd.igloader": ["igl"],
3734
+ "application/vnd.immervision-ivp": ["ivp"],
3735
+ "application/vnd.immervision-ivu": ["ivu"],
3736
+ "application/vnd.insors.igm": ["igm"],
3737
+ "application/vnd.intercon.formnet": ["xpw", "xpx"],
3738
+ "application/vnd.intergeo": ["i2g"],
3739
+ "application/vnd.intu.qbo": ["qbo"],
3740
+ "application/vnd.intu.qfx": ["qfx"],
3741
+ "application/vnd.ipunplugged.rcprofile": ["rcprofile"],
3742
+ "application/vnd.irepository.package+xml": ["irp"],
3743
+ "application/vnd.is-xpr": ["xpr"],
3744
+ "application/vnd.isac.fcs": ["fcs"],
3745
+ "application/vnd.jam": ["jam"],
3746
+ "application/vnd.jcp.javame.midlet-rms": ["rms"],
3747
+ "application/vnd.jisp": ["jisp"],
3748
+ "application/vnd.joost.joda-archive": ["joda"],
3749
+ "application/vnd.kahootz": ["ktz", "ktr"],
3750
+ "application/vnd.kde.karbon": ["karbon"],
3751
+ "application/vnd.kde.kchart": ["chrt"],
3752
+ "application/vnd.kde.kformula": ["kfo"],
3753
+ "application/vnd.kde.kivio": ["flw"],
3754
+ "application/vnd.kde.kontour": ["kon"],
3755
+ "application/vnd.kde.kpresenter": ["kpr", "kpt"],
3756
+ "application/vnd.kde.kspread": ["ksp"],
3757
+ "application/vnd.kde.kword": ["kwd", "kwt"],
3758
+ "application/vnd.kenameaapp": ["htke"],
3759
+ "application/vnd.kidspiration": ["kia"],
3760
+ "application/vnd.kinar": ["kne", "knp"],
3761
+ "application/vnd.koan": [
3762
+ "skp",
3763
+ "skd",
3764
+ "skt",
3765
+ "skm"
3766
+ ],
3767
+ "application/vnd.kodak-descriptor": ["sse"],
3768
+ "application/vnd.las.las+xml": ["lasxml"],
3769
+ "application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
3770
+ "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
3771
+ "application/vnd.lotus-1-2-3": ["123"],
3772
+ "application/vnd.lotus-approach": ["apr"],
3773
+ "application/vnd.lotus-freelance": ["pre"],
3774
+ "application/vnd.lotus-notes": ["nsf"],
3775
+ "application/vnd.lotus-organizer": ["org"],
3776
+ "application/vnd.lotus-screencam": ["scm"],
3777
+ "application/vnd.lotus-wordpro": ["lwp"],
3778
+ "application/vnd.macports.portpkg": ["portpkg"],
3779
+ "application/vnd.mapbox-vector-tile": ["mvt"],
3780
+ "application/vnd.mcd": ["mcd"],
3781
+ "application/vnd.medcalcdata": ["mc1"],
3782
+ "application/vnd.mediastation.cdkey": ["cdkey"],
3783
+ "application/vnd.mfer": ["mwf"],
3784
+ "application/vnd.mfmp": ["mfm"],
3785
+ "application/vnd.micrografx.flo": ["flo"],
3786
+ "application/vnd.micrografx.igx": ["igx"],
3787
+ "application/vnd.mif": ["mif"],
3788
+ "application/vnd.mobius.daf": ["daf"],
3789
+ "application/vnd.mobius.dis": ["dis"],
3790
+ "application/vnd.mobius.mbk": ["mbk"],
3791
+ "application/vnd.mobius.mqy": ["mqy"],
3792
+ "application/vnd.mobius.msl": ["msl"],
3793
+ "application/vnd.mobius.plc": ["plc"],
3794
+ "application/vnd.mobius.txf": ["txf"],
3795
+ "application/vnd.mophun.application": ["mpn"],
3796
+ "application/vnd.mophun.certificate": ["mpc"],
3797
+ "application/vnd.mozilla.xul+xml": ["xul"],
3798
+ "application/vnd.ms-artgalry": ["cil"],
3799
+ "application/vnd.ms-cab-compressed": ["cab"],
3800
+ "application/vnd.ms-excel": [
3801
+ "xls",
3802
+ "xlm",
3803
+ "xla",
3804
+ "xlc",
3805
+ "xlt",
3806
+ "xlw"
3807
+ ],
3808
+ "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
3809
+ "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
3810
+ "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
3811
+ "application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
3812
+ "application/vnd.ms-fontobject": ["eot"],
3813
+ "application/vnd.ms-htmlhelp": ["chm"],
3814
+ "application/vnd.ms-ims": ["ims"],
3815
+ "application/vnd.ms-lrm": ["lrm"],
3816
+ "application/vnd.ms-officetheme": ["thmx"],
3817
+ "application/vnd.ms-outlook": ["msg"],
3818
+ "application/vnd.ms-pki.seccat": ["cat"],
3819
+ "application/vnd.ms-pki.stl": ["*stl"],
3820
+ "application/vnd.ms-powerpoint": [
3821
+ "ppt",
3822
+ "pps",
3823
+ "pot"
3824
+ ],
3825
+ "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
3826
+ "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
3827
+ "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
3828
+ "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
3829
+ "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
3830
+ "application/vnd.ms-project": ["*mpp", "mpt"],
3831
+ "application/vnd.ms-visio.viewer": ["vdx"],
3832
+ "application/vnd.ms-word.document.macroenabled.12": ["docm"],
3833
+ "application/vnd.ms-word.template.macroenabled.12": ["dotm"],
3834
+ "application/vnd.ms-works": [
3835
+ "wps",
3836
+ "wks",
3837
+ "wcm",
3838
+ "wdb"
3839
+ ],
3840
+ "application/vnd.ms-wpl": ["wpl"],
3841
+ "application/vnd.ms-xpsdocument": ["xps"],
3842
+ "application/vnd.mseq": ["mseq"],
3843
+ "application/vnd.musician": ["mus"],
3844
+ "application/vnd.muvee.style": ["msty"],
3845
+ "application/vnd.mynfc": ["taglet"],
3846
+ "application/vnd.nato.bindingdataobject+xml": ["bdo"],
3847
+ "application/vnd.neurolanguage.nlu": ["nlu"],
3848
+ "application/vnd.nitf": ["ntf", "nitf"],
3849
+ "application/vnd.noblenet-directory": ["nnd"],
3850
+ "application/vnd.noblenet-sealer": ["nns"],
3851
+ "application/vnd.noblenet-web": ["nnw"],
3852
+ "application/vnd.nokia.n-gage.ac+xml": ["*ac"],
3853
+ "application/vnd.nokia.n-gage.data": ["ngdat"],
3854
+ "application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
3855
+ "application/vnd.nokia.radio-preset": ["rpst"],
3856
+ "application/vnd.nokia.radio-presets": ["rpss"],
3857
+ "application/vnd.novadigm.edm": ["edm"],
3858
+ "application/vnd.novadigm.edx": ["edx"],
3859
+ "application/vnd.novadigm.ext": ["ext"],
3860
+ "application/vnd.oasis.opendocument.chart": ["odc"],
3861
+ "application/vnd.oasis.opendocument.chart-template": ["otc"],
3862
+ "application/vnd.oasis.opendocument.database": ["odb"],
3863
+ "application/vnd.oasis.opendocument.formula": ["odf"],
3864
+ "application/vnd.oasis.opendocument.formula-template": ["odft"],
3865
+ "application/vnd.oasis.opendocument.graphics": ["odg"],
3866
+ "application/vnd.oasis.opendocument.graphics-template": ["otg"],
3867
+ "application/vnd.oasis.opendocument.image": ["odi"],
3868
+ "application/vnd.oasis.opendocument.image-template": ["oti"],
3869
+ "application/vnd.oasis.opendocument.presentation": ["odp"],
3870
+ "application/vnd.oasis.opendocument.presentation-template": ["otp"],
3871
+ "application/vnd.oasis.opendocument.spreadsheet": ["ods"],
3872
+ "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
3873
+ "application/vnd.oasis.opendocument.text": ["odt"],
3874
+ "application/vnd.oasis.opendocument.text-master": ["odm"],
3875
+ "application/vnd.oasis.opendocument.text-template": ["ott"],
3876
+ "application/vnd.oasis.opendocument.text-web": ["oth"],
3877
+ "application/vnd.olpc-sugar": ["xo"],
3878
+ "application/vnd.oma.dd2+xml": ["dd2"],
3879
+ "application/vnd.openblox.game+xml": ["obgx"],
3880
+ "application/vnd.openofficeorg.extension": ["oxt"],
3881
+ "application/vnd.openstreetmap.data+xml": ["osm"],
3882
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"],
3883
+ "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"],
3884
+ "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"],
3885
+ "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"],
3886
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
3887
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"],
3888
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"],
3889
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"],
3890
+ "application/vnd.osgeo.mapguide.package": ["mgp"],
3891
+ "application/vnd.osgi.dp": ["dp"],
3892
+ "application/vnd.osgi.subsystem": ["esa"],
3893
+ "application/vnd.palm": [
3894
+ "pdb",
3895
+ "pqa",
3896
+ "oprc"
3897
+ ],
3898
+ "application/vnd.pawaafile": ["paw"],
3899
+ "application/vnd.pg.format": ["str"],
3900
+ "application/vnd.pg.osasli": ["ei6"],
3901
+ "application/vnd.picsel": ["efif"],
3902
+ "application/vnd.pmi.widget": ["wg"],
3903
+ "application/vnd.pocketlearn": ["plf"],
3904
+ "application/vnd.powerbuilder6": ["pbd"],
3905
+ "application/vnd.previewsystems.box": ["box"],
3906
+ "application/vnd.procrate.brushset": ["brushset"],
3907
+ "application/vnd.procreate.brush": ["brush"],
3908
+ "application/vnd.procreate.dream": ["drm"],
3909
+ "application/vnd.proteus.magazine": ["mgz"],
3910
+ "application/vnd.publishare-delta-tree": ["qps"],
3911
+ "application/vnd.pvi.ptid1": ["ptid"],
3912
+ "application/vnd.pwg-xhtml-print+xml": ["xhtm"],
3913
+ "application/vnd.quark.quarkxpress": [
3914
+ "qxd",
3915
+ "qxt",
3916
+ "qwd",
3917
+ "qwt",
3918
+ "qxl",
3919
+ "qxb"
3920
+ ],
3921
+ "application/vnd.rar": ["rar"],
3922
+ "application/vnd.realvnc.bed": ["bed"],
3923
+ "application/vnd.recordare.musicxml": ["mxl"],
3924
+ "application/vnd.recordare.musicxml+xml": ["musicxml"],
3925
+ "application/vnd.rig.cryptonote": ["cryptonote"],
3926
+ "application/vnd.rim.cod": ["cod"],
3927
+ "application/vnd.rn-realmedia": ["rm"],
3928
+ "application/vnd.rn-realmedia-vbr": ["rmvb"],
3929
+ "application/vnd.route66.link66+xml": ["link66"],
3930
+ "application/vnd.sailingtracker.track": ["st"],
3931
+ "application/vnd.seemail": ["see"],
3932
+ "application/vnd.sema": ["sema"],
3933
+ "application/vnd.semd": ["semd"],
3934
+ "application/vnd.semf": ["semf"],
3935
+ "application/vnd.shana.informed.formdata": ["ifm"],
3936
+ "application/vnd.shana.informed.formtemplate": ["itp"],
3937
+ "application/vnd.shana.informed.interchange": ["iif"],
3938
+ "application/vnd.shana.informed.package": ["ipk"],
3939
+ "application/vnd.simtech-mindmapper": ["twd", "twds"],
3940
+ "application/vnd.smaf": ["mmf"],
3941
+ "application/vnd.smart.teacher": ["teacher"],
3942
+ "application/vnd.software602.filler.form+xml": ["fo"],
3943
+ "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
3944
+ "application/vnd.spotfire.dxp": ["dxp"],
3945
+ "application/vnd.spotfire.sfs": ["sfs"],
3946
+ "application/vnd.stardivision.calc": ["sdc"],
3947
+ "application/vnd.stardivision.draw": ["sda"],
3948
+ "application/vnd.stardivision.impress": ["sdd"],
3949
+ "application/vnd.stardivision.math": ["smf"],
3950
+ "application/vnd.stardivision.writer": ["sdw", "vor"],
3951
+ "application/vnd.stardivision.writer-global": ["sgl"],
3952
+ "application/vnd.stepmania.package": ["smzip"],
3953
+ "application/vnd.stepmania.stepchart": ["sm"],
3954
+ "application/vnd.sun.wadl+xml": ["wadl"],
3955
+ "application/vnd.sun.xml.calc": ["sxc"],
3956
+ "application/vnd.sun.xml.calc.template": ["stc"],
3957
+ "application/vnd.sun.xml.draw": ["sxd"],
3958
+ "application/vnd.sun.xml.draw.template": ["std"],
3959
+ "application/vnd.sun.xml.impress": ["sxi"],
3960
+ "application/vnd.sun.xml.impress.template": ["sti"],
3961
+ "application/vnd.sun.xml.math": ["sxm"],
3962
+ "application/vnd.sun.xml.writer": ["sxw"],
3963
+ "application/vnd.sun.xml.writer.global": ["sxg"],
3964
+ "application/vnd.sun.xml.writer.template": ["stw"],
3965
+ "application/vnd.sus-calendar": ["sus", "susp"],
3966
+ "application/vnd.svd": ["svd"],
3967
+ "application/vnd.symbian.install": ["sis", "sisx"],
3968
+ "application/vnd.syncml+xml": ["xsm"],
3969
+ "application/vnd.syncml.dm+wbxml": ["bdm"],
3970
+ "application/vnd.syncml.dm+xml": ["xdm"],
3971
+ "application/vnd.syncml.dmddf+xml": ["ddf"],
3972
+ "application/vnd.tao.intent-module-archive": ["tao"],
3973
+ "application/vnd.tcpdump.pcap": [
3974
+ "pcap",
3975
+ "cap",
3976
+ "dmp"
3977
+ ],
3978
+ "application/vnd.tmobile-livetv": ["tmo"],
3979
+ "application/vnd.trid.tpt": ["tpt"],
3980
+ "application/vnd.triscape.mxs": ["mxs"],
3981
+ "application/vnd.trueapp": ["tra"],
3982
+ "application/vnd.ufdl": ["ufd", "ufdl"],
3983
+ "application/vnd.uiq.theme": ["utz"],
3984
+ "application/vnd.umajin": ["umj"],
3985
+ "application/vnd.unity": ["unityweb"],
3986
+ "application/vnd.uoml+xml": ["uoml", "uo"],
3987
+ "application/vnd.vcx": ["vcx"],
3988
+ "application/vnd.visio": [
3989
+ "vsd",
3990
+ "vst",
3991
+ "vss",
3992
+ "vsw",
3993
+ "vsdx",
3994
+ "vtx"
3995
+ ],
3996
+ "application/vnd.visionary": ["vis"],
3997
+ "application/vnd.vsf": ["vsf"],
3998
+ "application/vnd.wap.wbxml": ["wbxml"],
3999
+ "application/vnd.wap.wmlc": ["wmlc"],
4000
+ "application/vnd.wap.wmlscriptc": ["wmlsc"],
4001
+ "application/vnd.webturbo": ["wtb"],
4002
+ "application/vnd.wolfram.player": ["nbp"],
4003
+ "application/vnd.wordperfect": ["wpd"],
4004
+ "application/vnd.wqd": ["wqd"],
4005
+ "application/vnd.wt.stf": ["stf"],
4006
+ "application/vnd.xara": ["xar"],
4007
+ "application/vnd.xfdl": ["xfdl"],
4008
+ "application/vnd.yamaha.hv-dic": ["hvd"],
4009
+ "application/vnd.yamaha.hv-script": ["hvs"],
4010
+ "application/vnd.yamaha.hv-voice": ["hvp"],
4011
+ "application/vnd.yamaha.openscoreformat": ["osf"],
4012
+ "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
4013
+ "application/vnd.yamaha.smaf-audio": ["saf"],
4014
+ "application/vnd.yamaha.smaf-phrase": ["spf"],
4015
+ "application/vnd.yellowriver-custom-menu": ["cmp"],
4016
+ "application/vnd.zul": ["zir", "zirz"],
4017
+ "application/vnd.zzazz.deck+xml": ["zaz"],
4018
+ "application/x-7z-compressed": ["7z"],
4019
+ "application/x-abiword": ["abw"],
4020
+ "application/x-ace-compressed": ["ace"],
4021
+ "application/x-apple-diskimage": ["*dmg"],
4022
+ "application/x-arj": ["arj"],
4023
+ "application/x-authorware-bin": [
4024
+ "aab",
4025
+ "x32",
4026
+ "u32",
4027
+ "vox"
4028
+ ],
4029
+ "application/x-authorware-map": ["aam"],
4030
+ "application/x-authorware-seg": ["aas"],
4031
+ "application/x-bcpio": ["bcpio"],
4032
+ "application/x-bdoc": ["*bdoc"],
4033
+ "application/x-bittorrent": ["torrent"],
4034
+ "application/x-blender": ["blend"],
4035
+ "application/x-blorb": ["blb", "blorb"],
4036
+ "application/x-bzip": ["bz"],
4037
+ "application/x-bzip2": ["bz2", "boz"],
4038
+ "application/x-cbr": [
4039
+ "cbr",
4040
+ "cba",
4041
+ "cbt",
4042
+ "cbz",
4043
+ "cb7"
4044
+ ],
4045
+ "application/x-cdlink": ["vcd"],
4046
+ "application/x-cfs-compressed": ["cfs"],
4047
+ "application/x-chat": ["chat"],
4048
+ "application/x-chess-pgn": ["pgn"],
4049
+ "application/x-chrome-extension": ["crx"],
4050
+ "application/x-cocoa": ["cco"],
4051
+ "application/x-compressed": ["*rar"],
4052
+ "application/x-conference": ["nsc"],
4053
+ "application/x-cpio": ["cpio"],
4054
+ "application/x-csh": ["csh"],
4055
+ "application/x-debian-package": ["*deb", "udeb"],
4056
+ "application/x-dgc-compressed": ["dgc"],
4057
+ "application/x-director": [
4058
+ "dir",
4059
+ "dcr",
4060
+ "dxr",
4061
+ "cst",
4062
+ "cct",
4063
+ "cxt",
4064
+ "w3d",
4065
+ "fgd",
4066
+ "swa"
4067
+ ],
4068
+ "application/x-doom": ["wad"],
4069
+ "application/x-dtbncx+xml": ["ncx"],
4070
+ "application/x-dtbook+xml": ["dtb"],
4071
+ "application/x-dtbresource+xml": ["res"],
4072
+ "application/x-dvi": ["dvi"],
4073
+ "application/x-envoy": ["evy"],
4074
+ "application/x-eva": ["eva"],
4075
+ "application/x-font-bdf": ["bdf"],
4076
+ "application/x-font-ghostscript": ["gsf"],
4077
+ "application/x-font-linux-psf": ["psf"],
4078
+ "application/x-font-pcf": ["pcf"],
4079
+ "application/x-font-snf": ["snf"],
4080
+ "application/x-font-type1": [
4081
+ "pfa",
4082
+ "pfb",
4083
+ "pfm",
4084
+ "afm"
4085
+ ],
4086
+ "application/x-freearc": ["arc"],
4087
+ "application/x-futuresplash": ["spl"],
4088
+ "application/x-gca-compressed": ["gca"],
4089
+ "application/x-glulx": ["ulx"],
4090
+ "application/x-gnumeric": ["gnumeric"],
4091
+ "application/x-gramps-xml": ["gramps"],
4092
+ "application/x-gtar": ["gtar"],
4093
+ "application/x-hdf": ["hdf"],
4094
+ "application/x-httpd-php": ["php"],
4095
+ "application/x-install-instructions": ["install"],
4096
+ "application/x-ipynb+json": ["ipynb"],
4097
+ "application/x-iso9660-image": ["*iso"],
4098
+ "application/x-iwork-keynote-sffkey": ["*key"],
4099
+ "application/x-iwork-numbers-sffnumbers": ["*numbers"],
4100
+ "application/x-iwork-pages-sffpages": ["*pages"],
4101
+ "application/x-java-archive-diff": ["jardiff"],
4102
+ "application/x-java-jnlp-file": ["jnlp"],
4103
+ "application/x-keepass2": ["kdbx"],
4104
+ "application/x-latex": ["latex"],
4105
+ "application/x-lua-bytecode": ["luac"],
4106
+ "application/x-lzh-compressed": ["lzh", "lha"],
4107
+ "application/x-makeself": ["run"],
4108
+ "application/x-mie": ["mie"],
4109
+ "application/x-mobipocket-ebook": ["*prc", "mobi"],
4110
+ "application/x-ms-application": ["application"],
4111
+ "application/x-ms-shortcut": ["lnk"],
4112
+ "application/x-ms-wmd": ["wmd"],
4113
+ "application/x-ms-wmz": ["wmz"],
4114
+ "application/x-ms-xbap": ["xbap"],
4115
+ "application/x-msaccess": ["mdb"],
4116
+ "application/x-msbinder": ["obd"],
4117
+ "application/x-mscardfile": ["crd"],
4118
+ "application/x-msclip": ["clp"],
4119
+ "application/x-msdos-program": ["*exe"],
4120
+ "application/x-msdownload": [
4121
+ "*exe",
4122
+ "*dll",
4123
+ "com",
4124
+ "bat",
4125
+ "*msi"
4126
+ ],
4127
+ "application/x-msmediaview": [
4128
+ "mvb",
4129
+ "m13",
4130
+ "m14"
4131
+ ],
4132
+ "application/x-msmetafile": [
4133
+ "*wmf",
4134
+ "*wmz",
4135
+ "*emf",
4136
+ "emz"
4137
+ ],
4138
+ "application/x-msmoney": ["mny"],
4139
+ "application/x-mspublisher": ["pub"],
4140
+ "application/x-msschedule": ["scd"],
4141
+ "application/x-msterminal": ["trm"],
4142
+ "application/x-mswrite": ["wri"],
4143
+ "application/x-netcdf": ["nc", "cdf"],
4144
+ "application/x-ns-proxy-autoconfig": ["pac"],
4145
+ "application/x-nzb": ["nzb"],
4146
+ "application/x-perl": ["pl", "pm"],
4147
+ "application/x-pilot": ["*prc", "*pdb"],
4148
+ "application/x-pkcs12": ["p12", "pfx"],
4149
+ "application/x-pkcs7-certificates": ["p7b", "spc"],
4150
+ "application/x-pkcs7-certreqresp": ["p7r"],
4151
+ "application/x-rar-compressed": ["*rar"],
4152
+ "application/x-redhat-package-manager": ["rpm"],
4153
+ "application/x-research-info-systems": ["ris"],
4154
+ "application/x-sea": ["sea"],
4155
+ "application/x-sh": ["sh"],
4156
+ "application/x-shar": ["shar"],
4157
+ "application/x-shockwave-flash": ["swf"],
4158
+ "application/x-silverlight-app": ["xap"],
4159
+ "application/x-sql": ["*sql"],
4160
+ "application/x-stuffit": ["sit"],
4161
+ "application/x-stuffitx": ["sitx"],
4162
+ "application/x-subrip": ["srt"],
4163
+ "application/x-sv4cpio": ["sv4cpio"],
4164
+ "application/x-sv4crc": ["sv4crc"],
4165
+ "application/x-t3vm-image": ["t3"],
4166
+ "application/x-tads": ["gam"],
4167
+ "application/x-tar": ["tar"],
4168
+ "application/x-tcl": ["tcl", "tk"],
4169
+ "application/x-tex": ["tex"],
4170
+ "application/x-tex-tfm": ["tfm"],
4171
+ "application/x-texinfo": ["texinfo", "texi"],
4172
+ "application/x-tgif": ["*obj"],
4173
+ "application/x-ustar": ["ustar"],
4174
+ "application/x-virtualbox-hdd": ["hdd"],
4175
+ "application/x-virtualbox-ova": ["ova"],
4176
+ "application/x-virtualbox-ovf": ["ovf"],
4177
+ "application/x-virtualbox-vbox": ["vbox"],
4178
+ "application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
4179
+ "application/x-virtualbox-vdi": ["vdi"],
4180
+ "application/x-virtualbox-vhd": ["vhd"],
4181
+ "application/x-virtualbox-vmdk": ["vmdk"],
4182
+ "application/x-wais-source": ["src"],
4183
+ "application/x-web-app-manifest+json": ["webapp"],
4184
+ "application/x-x509-ca-cert": [
4185
+ "der",
4186
+ "crt",
4187
+ "pem"
4188
+ ],
4189
+ "application/x-xfig": ["fig"],
4190
+ "application/x-xliff+xml": ["*xlf"],
4191
+ "application/x-xpinstall": ["xpi"],
4192
+ "application/x-xz": ["xz"],
4193
+ "application/x-zip-compressed": ["*zip"],
4194
+ "application/x-zmachine": [
4195
+ "z1",
4196
+ "z2",
4197
+ "z3",
4198
+ "z4",
4199
+ "z5",
4200
+ "z6",
4201
+ "z7",
4202
+ "z8"
4203
+ ],
4204
+ "audio/vnd.dece.audio": ["uva", "uvva"],
4205
+ "audio/vnd.digital-winds": ["eol"],
4206
+ "audio/vnd.dra": ["dra"],
4207
+ "audio/vnd.dts": ["dts"],
4208
+ "audio/vnd.dts.hd": ["dtshd"],
4209
+ "audio/vnd.lucent.voice": ["lvp"],
4210
+ "audio/vnd.ms-playready.media.pya": ["pya"],
4211
+ "audio/vnd.nuera.ecelp4800": ["ecelp4800"],
4212
+ "audio/vnd.nuera.ecelp7470": ["ecelp7470"],
4213
+ "audio/vnd.nuera.ecelp9600": ["ecelp9600"],
4214
+ "audio/vnd.rip": ["rip"],
4215
+ "audio/x-aac": ["*aac"],
4216
+ "audio/x-aiff": [
4217
+ "aif",
4218
+ "aiff",
4219
+ "aifc"
4220
+ ],
4221
+ "audio/x-caf": ["caf"],
4222
+ "audio/x-flac": ["flac"],
4223
+ "audio/x-m4a": ["*m4a"],
4224
+ "audio/x-matroska": ["mka"],
4225
+ "audio/x-mpegurl": ["m3u"],
4226
+ "audio/x-ms-wax": ["wax"],
4227
+ "audio/x-ms-wma": ["wma"],
4228
+ "audio/x-pn-realaudio": ["ram", "ra"],
4229
+ "audio/x-pn-realaudio-plugin": ["rmp"],
4230
+ "audio/x-realaudio": ["*ra"],
4231
+ "audio/x-wav": ["*wav"],
4232
+ "chemical/x-cdx": ["cdx"],
4233
+ "chemical/x-cif": ["cif"],
4234
+ "chemical/x-cmdf": ["cmdf"],
4235
+ "chemical/x-cml": ["cml"],
4236
+ "chemical/x-csml": ["csml"],
4237
+ "chemical/x-xyz": ["xyz"],
4238
+ "image/prs.btif": ["btif", "btf"],
4239
+ "image/prs.pti": ["pti"],
4240
+ "image/vnd.adobe.photoshop": ["psd"],
4241
+ "image/vnd.airzip.accelerator.azv": ["azv"],
4242
+ "image/vnd.blockfact.facti": ["facti"],
4243
+ "image/vnd.dece.graphic": [
4244
+ "uvi",
4245
+ "uvvi",
4246
+ "uvg",
4247
+ "uvvg"
4248
+ ],
4249
+ "image/vnd.djvu": ["djvu", "djv"],
4250
+ "image/vnd.dvb.subtitle": ["*sub"],
4251
+ "image/vnd.dwg": ["dwg"],
4252
+ "image/vnd.dxf": ["dxf"],
4253
+ "image/vnd.fastbidsheet": ["fbs"],
4254
+ "image/vnd.fpx": ["fpx"],
4255
+ "image/vnd.fst": ["fst"],
4256
+ "image/vnd.fujixerox.edmics-mmr": ["mmr"],
4257
+ "image/vnd.fujixerox.edmics-rlc": ["rlc"],
4258
+ "image/vnd.microsoft.icon": ["ico"],
4259
+ "image/vnd.ms-dds": ["dds"],
4260
+ "image/vnd.ms-modi": ["mdi"],
4261
+ "image/vnd.ms-photo": ["wdp"],
4262
+ "image/vnd.net-fpx": ["npx"],
4263
+ "image/vnd.pco.b16": ["b16"],
4264
+ "image/vnd.tencent.tap": ["tap"],
4265
+ "image/vnd.valve.source.texture": ["vtf"],
4266
+ "image/vnd.wap.wbmp": ["wbmp"],
4267
+ "image/vnd.xiff": ["xif"],
4268
+ "image/vnd.zbrush.pcx": ["pcx"],
4269
+ "image/x-3ds": ["3ds"],
4270
+ "image/x-adobe-dng": ["dng"],
4271
+ "image/x-cmu-raster": ["ras"],
4272
+ "image/x-cmx": ["cmx"],
4273
+ "image/x-freehand": [
4274
+ "fh",
4275
+ "fhc",
4276
+ "fh4",
4277
+ "fh5",
4278
+ "fh7"
4279
+ ],
4280
+ "image/x-icon": ["*ico"],
4281
+ "image/x-jng": ["jng"],
4282
+ "image/x-mrsid-image": ["sid"],
4283
+ "image/x-ms-bmp": ["*bmp"],
4284
+ "image/x-pcx": ["*pcx"],
4285
+ "image/x-pict": ["pic", "pct"],
4286
+ "image/x-portable-anymap": ["pnm"],
4287
+ "image/x-portable-bitmap": ["pbm"],
4288
+ "image/x-portable-graymap": ["pgm"],
4289
+ "image/x-portable-pixmap": ["ppm"],
4290
+ "image/x-rgb": ["rgb"],
4291
+ "image/x-tga": ["tga"],
4292
+ "image/x-xbitmap": ["xbm"],
4293
+ "image/x-xpixmap": ["xpm"],
4294
+ "image/x-xwindowdump": ["xwd"],
4295
+ "message/vnd.wfa.wsc": ["wsc"],
4296
+ "model/vnd.bary": ["bary"],
4297
+ "model/vnd.cld": ["cld"],
4298
+ "model/vnd.collada+xml": ["dae"],
4299
+ "model/vnd.dwf": ["dwf"],
4300
+ "model/vnd.gdl": ["gdl"],
4301
+ "model/vnd.gtw": ["gtw"],
4302
+ "model/vnd.mts": ["*mts"],
4303
+ "model/vnd.opengex": ["ogex"],
4304
+ "model/vnd.parasolid.transmit.binary": ["x_b"],
4305
+ "model/vnd.parasolid.transmit.text": ["x_t"],
4306
+ "model/vnd.pytha.pyox": ["pyo", "pyox"],
4307
+ "model/vnd.sap.vds": ["vds"],
4308
+ "model/vnd.usda": ["usda"],
4309
+ "model/vnd.usdz+zip": ["usdz"],
4310
+ "model/vnd.valve.source.compiled-map": ["bsp"],
4311
+ "model/vnd.vtu": ["vtu"],
4312
+ "text/prs.lines.tag": ["dsc"],
4313
+ "text/vnd.curl": ["curl"],
4314
+ "text/vnd.curl.dcurl": ["dcurl"],
4315
+ "text/vnd.curl.mcurl": ["mcurl"],
4316
+ "text/vnd.curl.scurl": ["scurl"],
4317
+ "text/vnd.dvb.subtitle": ["sub"],
4318
+ "text/vnd.familysearch.gedcom": ["ged"],
4319
+ "text/vnd.fly": ["fly"],
4320
+ "text/vnd.fmi.flexstor": ["flx"],
4321
+ "text/vnd.graphviz": ["gv"],
4322
+ "text/vnd.in3d.3dml": ["3dml"],
4323
+ "text/vnd.in3d.spot": ["spot"],
4324
+ "text/vnd.sun.j2me.app-descriptor": ["jad"],
4325
+ "text/vnd.wap.wml": ["wml"],
4326
+ "text/vnd.wap.wmlscript": ["wmls"],
4327
+ "text/x-asm": ["s", "asm"],
4328
+ "text/x-c": [
4329
+ "c",
4330
+ "cc",
4331
+ "cxx",
4332
+ "cpp",
4333
+ "h",
4334
+ "hh",
4335
+ "dic"
4336
+ ],
4337
+ "text/x-component": ["htc"],
4338
+ "text/x-fortran": [
4339
+ "f",
4340
+ "for",
4341
+ "f77",
4342
+ "f90"
4343
+ ],
4344
+ "text/x-handlebars-template": ["hbs"],
4345
+ "text/x-java-source": ["java"],
4346
+ "text/x-lua": ["lua"],
4347
+ "text/x-markdown": ["mkd"],
4348
+ "text/x-nfo": ["nfo"],
4349
+ "text/x-opml": ["opml"],
4350
+ "text/x-org": ["*org"],
4351
+ "text/x-pascal": ["p", "pas"],
4352
+ "text/x-processing": ["pde"],
4353
+ "text/x-sass": ["sass"],
4354
+ "text/x-scss": ["scss"],
4355
+ "text/x-setext": ["etx"],
4356
+ "text/x-sfv": ["sfv"],
4357
+ "text/x-suse-ymp": ["ymp"],
4358
+ "text/x-uuencode": ["uu"],
4359
+ "text/x-vcalendar": ["vcs"],
4360
+ "text/x-vcard": ["vcf"],
4361
+ "video/vnd.dece.hd": ["uvh", "uvvh"],
4362
+ "video/vnd.dece.mobile": ["uvm", "uvvm"],
4363
+ "video/vnd.dece.pd": ["uvp", "uvvp"],
4364
+ "video/vnd.dece.sd": ["uvs", "uvvs"],
4365
+ "video/vnd.dece.video": ["uvv", "uvvv"],
4366
+ "video/vnd.dvb.file": ["dvb"],
4367
+ "video/vnd.fvt": ["fvt"],
4368
+ "video/vnd.mpegurl": ["mxu", "m4u"],
4369
+ "video/vnd.ms-playready.media.pyv": ["pyv"],
4370
+ "video/vnd.uvvu.mp4": ["uvu", "uvvu"],
4371
+ "video/vnd.vivo": ["viv"],
4372
+ "video/x-f4v": ["f4v"],
4373
+ "video/x-fli": ["fli"],
4374
+ "video/x-flv": ["flv"],
4375
+ "video/x-m4v": ["m4v"],
4376
+ "video/x-matroska": [
4377
+ "mkv",
4378
+ "mk3d",
4379
+ "mks"
4380
+ ],
4381
+ "video/x-mng": ["mng"],
4382
+ "video/x-ms-asf": ["asf", "asx"],
4383
+ "video/x-ms-vob": ["vob"],
4384
+ "video/x-ms-wm": ["wm"],
4385
+ "video/x-ms-wmv": ["wmv"],
4386
+ "video/x-ms-wmx": ["wmx"],
4387
+ "video/x-ms-wvx": ["wvx"],
4388
+ "video/x-msvideo": ["avi"],
4389
+ "video/x-sgi-movie": ["movie"],
4390
+ "video/x-smv": ["smv"],
4391
+ "x-conference/x-cooltalk": ["ice"]
3941
4392
  };
3942
- /**
3943
- * @since 1.0.0
3944
- * @category Handlers
3945
- */
3946
- const makeUpgradeHandler = (lazyWss, httpEffect, options) => {
3947
- const handledApp = require_HttpServer.toHandled(httpEffect, handleResponse, options.middleware);
3948
- return require_Schema.withFiber((parent) => {
3949
- const services = parent.context;
3950
- return require_Schema.succeed(function handler(nodeRequest, socket, head) {
3951
- let nodeResponse_ = void 0;
3952
- const nodeResponse = () => {
3953
- if (nodeResponse_ === void 0) {
3954
- nodeResponse_ = new node_http.ServerResponse(nodeRequest);
3955
- nodeResponse_.assignSocket(socket);
3956
- nodeResponse_.on("finish", () => {
3957
- socket.end();
3958
- });
3959
- }
3960
- return nodeResponse_;
3961
- };
3962
- const upgradeEffect = require_HttpServer.fromWebSocket(require_Schema.flatMap(lazyWss, (wss) => require_Schema.acquireRelease(require_Schema.callback((resume) => wss.handleUpgrade(nodeRequest, socket, head, (ws) => {
3963
- resume(require_Schema.succeed(ws));
3964
- })), (ws) => require_Schema.sync(() => ws.close()))));
3965
- const map = new Map(services.mapUnsafe);
3966
- map.set(require_HttpServer.HttpServerRequest.key, new ServerRequestImpl(nodeRequest, nodeResponse, upgradeEffect));
3967
- const fiber = require_Path.runIn(require_Schema.runForkWith(require_Schema.makeUnsafe$3(map))(handledApp), options.scope);
3968
- socket.on("close", () => {
3969
- if (!socket.writableEnded) fiber.interruptUnsafe(parent.id, require_HttpServer.ClientAbort.annotation);
3970
- });
3971
- });
3972
- });
4393
+ Object.freeze(types$1);
4394
+ //#endregion
4395
+ //#region ../../node_modules/.bun/mime@4.1.0/node_modules/mime/dist/types/standard.js
4396
+ const types = {
4397
+ "application/andrew-inset": ["ez"],
4398
+ "application/appinstaller": ["appinstaller"],
4399
+ "application/applixware": ["aw"],
4400
+ "application/appx": ["appx"],
4401
+ "application/appxbundle": ["appxbundle"],
4402
+ "application/atom+xml": ["atom"],
4403
+ "application/atomcat+xml": ["atomcat"],
4404
+ "application/atomdeleted+xml": ["atomdeleted"],
4405
+ "application/atomsvc+xml": ["atomsvc"],
4406
+ "application/atsc-dwd+xml": ["dwd"],
4407
+ "application/atsc-held+xml": ["held"],
4408
+ "application/atsc-rsat+xml": ["rsat"],
4409
+ "application/automationml-aml+xml": ["aml"],
4410
+ "application/automationml-amlx+zip": ["amlx"],
4411
+ "application/bdoc": ["bdoc"],
4412
+ "application/calendar+xml": ["xcs"],
4413
+ "application/ccxml+xml": ["ccxml"],
4414
+ "application/cdfx+xml": ["cdfx"],
4415
+ "application/cdmi-capability": ["cdmia"],
4416
+ "application/cdmi-container": ["cdmic"],
4417
+ "application/cdmi-domain": ["cdmid"],
4418
+ "application/cdmi-object": ["cdmio"],
4419
+ "application/cdmi-queue": ["cdmiq"],
4420
+ "application/cpl+xml": ["cpl"],
4421
+ "application/cu-seeme": ["cu"],
4422
+ "application/cwl": ["cwl"],
4423
+ "application/dash+xml": ["mpd"],
4424
+ "application/dash-patch+xml": ["mpp"],
4425
+ "application/davmount+xml": ["davmount"],
4426
+ "application/dicom": ["dcm"],
4427
+ "application/docbook+xml": ["dbk"],
4428
+ "application/dssc+der": ["dssc"],
4429
+ "application/dssc+xml": ["xdssc"],
4430
+ "application/ecmascript": ["ecma"],
4431
+ "application/emma+xml": ["emma"],
4432
+ "application/emotionml+xml": ["emotionml"],
4433
+ "application/epub+zip": ["epub"],
4434
+ "application/exi": ["exi"],
4435
+ "application/express": ["exp"],
4436
+ "application/fdf": ["fdf"],
4437
+ "application/fdt+xml": ["fdt"],
4438
+ "application/font-tdpfr": ["pfr"],
4439
+ "application/geo+json": ["geojson"],
4440
+ "application/gml+xml": ["gml"],
4441
+ "application/gpx+xml": ["gpx"],
4442
+ "application/gxf": ["gxf"],
4443
+ "application/gzip": ["gz"],
4444
+ "application/hjson": ["hjson"],
4445
+ "application/hyperstudio": ["stk"],
4446
+ "application/inkml+xml": ["ink", "inkml"],
4447
+ "application/ipfix": ["ipfix"],
4448
+ "application/its+xml": ["its"],
4449
+ "application/java-archive": [
4450
+ "jar",
4451
+ "war",
4452
+ "ear"
4453
+ ],
4454
+ "application/java-serialized-object": ["ser"],
4455
+ "application/java-vm": ["class"],
4456
+ "application/javascript": ["*js"],
4457
+ "application/json": ["json", "map"],
4458
+ "application/json5": ["json5"],
4459
+ "application/jsonml+json": ["jsonml"],
4460
+ "application/ld+json": ["jsonld"],
4461
+ "application/lgr+xml": ["lgr"],
4462
+ "application/lost+xml": ["lostxml"],
4463
+ "application/mac-binhex40": ["hqx"],
4464
+ "application/mac-compactpro": ["cpt"],
4465
+ "application/mads+xml": ["mads"],
4466
+ "application/manifest+json": ["webmanifest"],
4467
+ "application/marc": ["mrc"],
4468
+ "application/marcxml+xml": ["mrcx"],
4469
+ "application/mathematica": [
4470
+ "ma",
4471
+ "nb",
4472
+ "mb"
4473
+ ],
4474
+ "application/mathml+xml": ["mathml"],
4475
+ "application/mbox": ["mbox"],
4476
+ "application/media-policy-dataset+xml": ["mpf"],
4477
+ "application/mediaservercontrol+xml": ["mscml"],
4478
+ "application/metalink+xml": ["metalink"],
4479
+ "application/metalink4+xml": ["meta4"],
4480
+ "application/mets+xml": ["mets"],
4481
+ "application/mmt-aei+xml": ["maei"],
4482
+ "application/mmt-usd+xml": ["musd"],
4483
+ "application/mods+xml": ["mods"],
4484
+ "application/mp21": ["m21", "mp21"],
4485
+ "application/mp4": [
4486
+ "*mp4",
4487
+ "*mpg4",
4488
+ "mp4s",
4489
+ "m4p"
4490
+ ],
4491
+ "application/msix": ["msix"],
4492
+ "application/msixbundle": ["msixbundle"],
4493
+ "application/msword": ["doc", "dot"],
4494
+ "application/mxf": ["mxf"],
4495
+ "application/n-quads": ["nq"],
4496
+ "application/n-triples": ["nt"],
4497
+ "application/node": ["cjs"],
4498
+ "application/octet-stream": [
4499
+ "bin",
4500
+ "dms",
4501
+ "lrf",
4502
+ "mar",
4503
+ "so",
4504
+ "dist",
4505
+ "distz",
4506
+ "pkg",
4507
+ "bpk",
4508
+ "dump",
4509
+ "elc",
4510
+ "deploy",
4511
+ "exe",
4512
+ "dll",
4513
+ "deb",
4514
+ "dmg",
4515
+ "iso",
4516
+ "img",
4517
+ "msi",
4518
+ "msp",
4519
+ "msm",
4520
+ "buffer"
4521
+ ],
4522
+ "application/oda": ["oda"],
4523
+ "application/oebps-package+xml": ["opf"],
4524
+ "application/ogg": ["ogx"],
4525
+ "application/omdoc+xml": ["omdoc"],
4526
+ "application/onenote": [
4527
+ "onetoc",
4528
+ "onetoc2",
4529
+ "onetmp",
4530
+ "onepkg",
4531
+ "one",
4532
+ "onea"
4533
+ ],
4534
+ "application/oxps": ["oxps"],
4535
+ "application/p2p-overlay+xml": ["relo"],
4536
+ "application/patch-ops-error+xml": ["xer"],
4537
+ "application/pdf": ["pdf"],
4538
+ "application/pgp-encrypted": ["pgp"],
4539
+ "application/pgp-keys": ["asc"],
4540
+ "application/pgp-signature": ["sig", "*asc"],
4541
+ "application/pics-rules": ["prf"],
4542
+ "application/pkcs10": ["p10"],
4543
+ "application/pkcs7-mime": ["p7m", "p7c"],
4544
+ "application/pkcs7-signature": ["p7s"],
4545
+ "application/pkcs8": ["p8"],
4546
+ "application/pkix-attr-cert": ["ac"],
4547
+ "application/pkix-cert": ["cer"],
4548
+ "application/pkix-crl": ["crl"],
4549
+ "application/pkix-pkipath": ["pkipath"],
4550
+ "application/pkixcmp": ["pki"],
4551
+ "application/pls+xml": ["pls"],
4552
+ "application/postscript": [
4553
+ "ai",
4554
+ "eps",
4555
+ "ps"
4556
+ ],
4557
+ "application/provenance+xml": ["provx"],
4558
+ "application/pskc+xml": ["pskcxml"],
4559
+ "application/raml+yaml": ["raml"],
4560
+ "application/rdf+xml": ["rdf", "owl"],
4561
+ "application/reginfo+xml": ["rif"],
4562
+ "application/relax-ng-compact-syntax": ["rnc"],
4563
+ "application/resource-lists+xml": ["rl"],
4564
+ "application/resource-lists-diff+xml": ["rld"],
4565
+ "application/rls-services+xml": ["rs"],
4566
+ "application/route-apd+xml": ["rapd"],
4567
+ "application/route-s-tsid+xml": ["sls"],
4568
+ "application/route-usd+xml": ["rusd"],
4569
+ "application/rpki-ghostbusters": ["gbr"],
4570
+ "application/rpki-manifest": ["mft"],
4571
+ "application/rpki-roa": ["roa"],
4572
+ "application/rsd+xml": ["rsd"],
4573
+ "application/rss+xml": ["rss"],
4574
+ "application/rtf": ["rtf"],
4575
+ "application/sbml+xml": ["sbml"],
4576
+ "application/scvp-cv-request": ["scq"],
4577
+ "application/scvp-cv-response": ["scs"],
4578
+ "application/scvp-vp-request": ["spq"],
4579
+ "application/scvp-vp-response": ["spp"],
4580
+ "application/sdp": ["sdp"],
4581
+ "application/senml+xml": ["senmlx"],
4582
+ "application/sensml+xml": ["sensmlx"],
4583
+ "application/set-payment-initiation": ["setpay"],
4584
+ "application/set-registration-initiation": ["setreg"],
4585
+ "application/shf+xml": ["shf"],
4586
+ "application/sieve": ["siv", "sieve"],
4587
+ "application/smil+xml": ["smi", "smil"],
4588
+ "application/sparql-query": ["rq"],
4589
+ "application/sparql-results+xml": ["srx"],
4590
+ "application/sql": ["sql"],
4591
+ "application/srgs": ["gram"],
4592
+ "application/srgs+xml": ["grxml"],
4593
+ "application/sru+xml": ["sru"],
4594
+ "application/ssdl+xml": ["ssdl"],
4595
+ "application/ssml+xml": ["ssml"],
4596
+ "application/swid+xml": ["swidtag"],
4597
+ "application/tei+xml": ["tei", "teicorpus"],
4598
+ "application/thraud+xml": ["tfi"],
4599
+ "application/timestamped-data": ["tsd"],
4600
+ "application/toml": ["toml"],
4601
+ "application/trig": ["trig"],
4602
+ "application/ttml+xml": ["ttml"],
4603
+ "application/ubjson": ["ubj"],
4604
+ "application/urc-ressheet+xml": ["rsheet"],
4605
+ "application/urc-targetdesc+xml": ["td"],
4606
+ "application/voicexml+xml": ["vxml"],
4607
+ "application/wasm": ["wasm"],
4608
+ "application/watcherinfo+xml": ["wif"],
4609
+ "application/widget": ["wgt"],
4610
+ "application/winhlp": ["hlp"],
4611
+ "application/wsdl+xml": ["wsdl"],
4612
+ "application/wspolicy+xml": ["wspolicy"],
4613
+ "application/xaml+xml": ["xaml"],
4614
+ "application/xcap-att+xml": ["xav"],
4615
+ "application/xcap-caps+xml": ["xca"],
4616
+ "application/xcap-diff+xml": ["xdf"],
4617
+ "application/xcap-el+xml": ["xel"],
4618
+ "application/xcap-ns+xml": ["xns"],
4619
+ "application/xenc+xml": ["xenc"],
4620
+ "application/xfdf": ["xfdf"],
4621
+ "application/xhtml+xml": ["xhtml", "xht"],
4622
+ "application/xliff+xml": ["xlf"],
4623
+ "application/xml": [
4624
+ "xml",
4625
+ "xsl",
4626
+ "xsd",
4627
+ "rng"
4628
+ ],
4629
+ "application/xml-dtd": ["dtd"],
4630
+ "application/xop+xml": ["xop"],
4631
+ "application/xproc+xml": ["xpl"],
4632
+ "application/xslt+xml": ["*xsl", "xslt"],
4633
+ "application/xspf+xml": ["xspf"],
4634
+ "application/xv+xml": [
4635
+ "mxml",
4636
+ "xhvml",
4637
+ "xvml",
4638
+ "xvm"
4639
+ ],
4640
+ "application/yang": ["yang"],
4641
+ "application/yin+xml": ["yin"],
4642
+ "application/zip": ["zip"],
4643
+ "application/zip+dotlottie": ["lottie"],
4644
+ "audio/3gpp": ["*3gpp"],
4645
+ "audio/aac": ["adts", "aac"],
4646
+ "audio/adpcm": ["adp"],
4647
+ "audio/amr": ["amr"],
4648
+ "audio/basic": ["au", "snd"],
4649
+ "audio/midi": [
4650
+ "mid",
4651
+ "midi",
4652
+ "kar",
4653
+ "rmi"
4654
+ ],
4655
+ "audio/mobile-xmf": ["mxmf"],
4656
+ "audio/mp3": ["*mp3"],
4657
+ "audio/mp4": [
4658
+ "m4a",
4659
+ "mp4a",
4660
+ "m4b"
4661
+ ],
4662
+ "audio/mpeg": [
4663
+ "mpga",
4664
+ "mp2",
4665
+ "mp2a",
4666
+ "mp3",
4667
+ "m2a",
4668
+ "m3a"
4669
+ ],
4670
+ "audio/ogg": [
4671
+ "oga",
4672
+ "ogg",
4673
+ "spx",
4674
+ "opus"
4675
+ ],
4676
+ "audio/s3m": ["s3m"],
4677
+ "audio/silk": ["sil"],
4678
+ "audio/wav": ["wav"],
4679
+ "audio/wave": ["*wav"],
4680
+ "audio/webm": ["weba"],
4681
+ "audio/xm": ["xm"],
4682
+ "font/collection": ["ttc"],
4683
+ "font/otf": ["otf"],
4684
+ "font/ttf": ["ttf"],
4685
+ "font/woff": ["woff"],
4686
+ "font/woff2": ["woff2"],
4687
+ "image/aces": ["exr"],
4688
+ "image/apng": ["apng"],
4689
+ "image/avci": ["avci"],
4690
+ "image/avcs": ["avcs"],
4691
+ "image/avif": ["avif"],
4692
+ "image/bmp": ["bmp", "dib"],
4693
+ "image/cgm": ["cgm"],
4694
+ "image/dicom-rle": ["drle"],
4695
+ "image/dpx": ["dpx"],
4696
+ "image/emf": ["emf"],
4697
+ "image/fits": ["fits"],
4698
+ "image/g3fax": ["g3"],
4699
+ "image/gif": ["gif"],
4700
+ "image/heic": ["heic"],
4701
+ "image/heic-sequence": ["heics"],
4702
+ "image/heif": ["heif"],
4703
+ "image/heif-sequence": ["heifs"],
4704
+ "image/hej2k": ["hej2"],
4705
+ "image/ief": ["ief"],
4706
+ "image/jaii": ["jaii"],
4707
+ "image/jais": ["jais"],
4708
+ "image/jls": ["jls"],
4709
+ "image/jp2": ["jp2", "jpg2"],
4710
+ "image/jpeg": [
4711
+ "jpg",
4712
+ "jpeg",
4713
+ "jpe"
4714
+ ],
4715
+ "image/jph": ["jph"],
4716
+ "image/jphc": ["jhc"],
4717
+ "image/jpm": ["jpm", "jpgm"],
4718
+ "image/jpx": ["jpx", "jpf"],
4719
+ "image/jxl": ["jxl"],
4720
+ "image/jxr": ["jxr"],
4721
+ "image/jxra": ["jxra"],
4722
+ "image/jxrs": ["jxrs"],
4723
+ "image/jxs": ["jxs"],
4724
+ "image/jxsc": ["jxsc"],
4725
+ "image/jxsi": ["jxsi"],
4726
+ "image/jxss": ["jxss"],
4727
+ "image/ktx": ["ktx"],
4728
+ "image/ktx2": ["ktx2"],
4729
+ "image/pjpeg": ["jfif"],
4730
+ "image/png": ["png"],
4731
+ "image/sgi": ["sgi"],
4732
+ "image/svg+xml": ["svg", "svgz"],
4733
+ "image/t38": ["t38"],
4734
+ "image/tiff": ["tif", "tiff"],
4735
+ "image/tiff-fx": ["tfx"],
4736
+ "image/webp": ["webp"],
4737
+ "image/wmf": ["wmf"],
4738
+ "message/disposition-notification": ["disposition-notification"],
4739
+ "message/global": ["u8msg"],
4740
+ "message/global-delivery-status": ["u8dsn"],
4741
+ "message/global-disposition-notification": ["u8mdn"],
4742
+ "message/global-headers": ["u8hdr"],
4743
+ "message/rfc822": [
4744
+ "eml",
4745
+ "mime",
4746
+ "mht",
4747
+ "mhtml"
4748
+ ],
4749
+ "model/3mf": ["3mf"],
4750
+ "model/gltf+json": ["gltf"],
4751
+ "model/gltf-binary": ["glb"],
4752
+ "model/iges": ["igs", "iges"],
4753
+ "model/jt": ["jt"],
4754
+ "model/mesh": [
4755
+ "msh",
4756
+ "mesh",
4757
+ "silo"
4758
+ ],
4759
+ "model/mtl": ["mtl"],
4760
+ "model/obj": ["obj"],
4761
+ "model/prc": ["prc"],
4762
+ "model/step": [
4763
+ "step",
4764
+ "stp",
4765
+ "stpnc",
4766
+ "p21",
4767
+ "210"
4768
+ ],
4769
+ "model/step+xml": ["stpx"],
4770
+ "model/step+zip": ["stpz"],
4771
+ "model/step-xml+zip": ["stpxz"],
4772
+ "model/stl": ["stl"],
4773
+ "model/u3d": ["u3d"],
4774
+ "model/vrml": ["wrl", "vrml"],
4775
+ "model/x3d+binary": ["*x3db", "x3dbz"],
4776
+ "model/x3d+fastinfoset": ["x3db"],
4777
+ "model/x3d+vrml": ["*x3dv", "x3dvz"],
4778
+ "model/x3d+xml": ["x3d", "x3dz"],
4779
+ "model/x3d-vrml": ["x3dv"],
4780
+ "text/cache-manifest": ["appcache", "manifest"],
4781
+ "text/calendar": ["ics", "ifb"],
4782
+ "text/coffeescript": ["coffee", "litcoffee"],
4783
+ "text/css": ["css"],
4784
+ "text/csv": ["csv"],
4785
+ "text/html": [
4786
+ "html",
4787
+ "htm",
4788
+ "shtml"
4789
+ ],
4790
+ "text/jade": ["jade"],
4791
+ "text/javascript": ["js", "mjs"],
4792
+ "text/jsx": ["jsx"],
4793
+ "text/less": ["less"],
4794
+ "text/markdown": ["md", "markdown"],
4795
+ "text/mathml": ["mml"],
4796
+ "text/mdx": ["mdx"],
4797
+ "text/n3": ["n3"],
4798
+ "text/plain": [
4799
+ "txt",
4800
+ "text",
4801
+ "conf",
4802
+ "def",
4803
+ "list",
4804
+ "log",
4805
+ "in",
4806
+ "ini"
4807
+ ],
4808
+ "text/richtext": ["rtx"],
4809
+ "text/rtf": ["*rtf"],
4810
+ "text/sgml": ["sgml", "sgm"],
4811
+ "text/shex": ["shex"],
4812
+ "text/slim": ["slim", "slm"],
4813
+ "text/spdx": ["spdx"],
4814
+ "text/stylus": ["stylus", "styl"],
4815
+ "text/tab-separated-values": ["tsv"],
4816
+ "text/troff": [
4817
+ "t",
4818
+ "tr",
4819
+ "roff",
4820
+ "man",
4821
+ "me",
4822
+ "ms"
4823
+ ],
4824
+ "text/turtle": ["ttl"],
4825
+ "text/uri-list": [
4826
+ "uri",
4827
+ "uris",
4828
+ "urls"
4829
+ ],
4830
+ "text/vcard": ["vcard"],
4831
+ "text/vtt": ["vtt"],
4832
+ "text/wgsl": ["wgsl"],
4833
+ "text/xml": ["*xml"],
4834
+ "text/yaml": ["yaml", "yml"],
4835
+ "video/3gpp": ["3gp", "3gpp"],
4836
+ "video/3gpp2": ["3g2"],
4837
+ "video/h261": ["h261"],
4838
+ "video/h263": ["h263"],
4839
+ "video/h264": ["h264"],
4840
+ "video/iso.segment": ["m4s"],
4841
+ "video/jpeg": ["jpgv"],
4842
+ "video/jpm": ["*jpm", "*jpgm"],
4843
+ "video/mj2": ["mj2", "mjp2"],
4844
+ "video/mp2t": [
4845
+ "ts",
4846
+ "m2t",
4847
+ "m2ts",
4848
+ "mts"
4849
+ ],
4850
+ "video/mp4": [
4851
+ "mp4",
4852
+ "mp4v",
4853
+ "mpg4"
4854
+ ],
4855
+ "video/mpeg": [
4856
+ "mpeg",
4857
+ "mpg",
4858
+ "mpe",
4859
+ "m1v",
4860
+ "m2v"
4861
+ ],
4862
+ "video/ogg": ["ogv"],
4863
+ "video/quicktime": ["qt", "mov"],
4864
+ "video/webm": ["webm"]
3973
4865
  };
3974
- var ServerRequestImpl = class ServerRequestImpl extends NodeHttpIncomingMessage {
3975
- [require_HttpServer.TypeId];
3976
- response;
3977
- upgradeEffect;
3978
- url;
3979
- headersOverride;
3980
- constructor(source, response, upgradeEffect, url = source.url, headersOverride, remoteAddressOverride) {
3981
- super(source, (cause) => new require_HttpServer.HttpServerError({ reason: new require_HttpServer.RequestParseError({
3982
- request: this,
3983
- cause
3984
- }) }), remoteAddressOverride);
3985
- this[require_HttpServer.TypeId] = require_HttpServer.TypeId;
3986
- this.response = response;
3987
- this.upgradeEffect = upgradeEffect;
3988
- this.url = url;
3989
- this.headersOverride = headersOverride;
3990
- }
3991
- cachedCookies;
3992
- get cookies() {
3993
- if (this.cachedCookies) return this.cachedCookies;
3994
- return this.cachedCookies = require_HttpServer.parseHeader(this.headers.cookie ?? "");
3995
- }
3996
- get resolvedResponse() {
3997
- return typeof this.response === "function" ? this.response() : this.response;
3998
- }
3999
- modify(options) {
4000
- return new ServerRequestImpl(this.source, this.response, this.upgradeEffect, options.url ?? this.url, options.headers ?? this.headersOverride, "remoteAddress" in options ? options.remoteAddress : this.remoteAddressOverride);
4001
- }
4002
- get originalUrl() {
4003
- return this.source.url;
4004
- }
4005
- get method() {
4006
- return this.source.method.toUpperCase();
4866
+ Object.freeze(types);
4867
+ //#endregion
4868
+ //#region ../../node_modules/.bun/mime@4.1.0/node_modules/mime/dist/src/Mime.js
4869
+ var __classPrivateFieldGet = function(receiver, state, kind, f) {
4870
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
4871
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4872
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
4873
+ };
4874
+ var _Mime_extensionToType, _Mime_typeToExtension, _Mime_typeToExtensions;
4875
+ var Mime = class {
4876
+ constructor(...args) {
4877
+ _Mime_extensionToType.set(this, /* @__PURE__ */ new Map());
4878
+ _Mime_typeToExtension.set(this, /* @__PURE__ */ new Map());
4879
+ _Mime_typeToExtensions.set(this, /* @__PURE__ */ new Map());
4880
+ for (const arg of args) this.define(arg);
4007
4881
  }
4008
- get headers() {
4009
- this.headersOverride ??= this.source.headers;
4010
- return this.headersOverride;
4882
+ define(typeMap, force = false) {
4883
+ for (let [type, extensions] of Object.entries(typeMap)) {
4884
+ type = type.toLowerCase();
4885
+ extensions = extensions.map((ext) => ext.toLowerCase());
4886
+ if (!__classPrivateFieldGet(this, _Mime_typeToExtensions, "f").has(type)) __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").set(type, /* @__PURE__ */ new Set());
4887
+ const allExtensions = __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type);
4888
+ let first = true;
4889
+ for (let extension of extensions) {
4890
+ const starred = extension.startsWith("*");
4891
+ extension = starred ? extension.slice(1) : extension;
4892
+ allExtensions?.add(extension);
4893
+ if (first) __classPrivateFieldGet(this, _Mime_typeToExtension, "f").set(type, extension);
4894
+ first = false;
4895
+ if (starred) continue;
4896
+ const currentType = __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(extension);
4897
+ if (currentType && currentType != type && !force) throw new Error(`"${type} -> ${extension}" conflicts with "${currentType} -> ${extension}". Pass \`force=true\` to override this definition.`);
4898
+ __classPrivateFieldGet(this, _Mime_extensionToType, "f").set(extension, type);
4899
+ }
4900
+ }
4901
+ return this;
4011
4902
  }
4012
- multipartEffect;
4013
- get multipart() {
4014
- if (this.multipartEffect) return this.multipartEffect;
4015
- this.multipartEffect = require_Schema.runSync(require_Schema.cached(persisted(this.source, this.source.headers)));
4016
- return this.multipartEffect;
4903
+ getType(path) {
4904
+ if (typeof path !== "string") return null;
4905
+ const last = path.replace(/^.*[/\\]/s, "").toLowerCase();
4906
+ const ext = last.replace(/^.*\./s, "").toLowerCase();
4907
+ const hasPath = last.length < path.length;
4908
+ if (!(ext.length < last.length - 1) && hasPath) return null;
4909
+ return __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(ext) ?? null;
4017
4910
  }
4018
- get multipartStream() {
4019
- return stream(this.source, this.source.headers);
4911
+ getExtension(type) {
4912
+ if (typeof type !== "string") return null;
4913
+ type = type?.split?.(";")[0];
4914
+ return (type && __classPrivateFieldGet(this, _Mime_typeToExtension, "f").get(type.trim().toLowerCase())) ?? null;
4020
4915
  }
4021
- get upgrade() {
4022
- return this.upgradeEffect ?? require_Schema.fail(new require_HttpServer.HttpServerError({ reason: new require_HttpServer.RequestParseError({
4023
- request: this,
4024
- description: "not an upgradeable ServerRequest"
4025
- }) }));
4916
+ getAllExtensions(type) {
4917
+ if (typeof type !== "string") return null;
4918
+ return __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type.toLowerCase()) ?? null;
4026
4919
  }
4027
- toString() {
4028
- return `ServerRequest(${this.method} ${this.url})`;
4920
+ _freeze() {
4921
+ this.define = () => {
4922
+ throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
4923
+ };
4924
+ Object.freeze(this);
4925
+ for (const extensions of __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").values()) Object.freeze(extensions);
4926
+ return this;
4029
4927
  }
4030
- toJSON() {
4031
- return require_HttpServer.inspect(this, {
4032
- _id: "HttpServerRequest",
4033
- method: this.method,
4034
- url: this.originalUrl
4035
- });
4928
+ _getTestState() {
4929
+ return {
4930
+ types: __classPrivateFieldGet(this, _Mime_extensionToType, "f"),
4931
+ extensions: __classPrivateFieldGet(this, _Mime_typeToExtension, "f")
4932
+ };
4036
4933
  }
4037
4934
  };
4935
+ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
4936
+ //#endregion
4937
+ //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/Mime.js
4038
4938
  /**
4039
4939
  * @since 1.0.0
4040
- * @category Layers
4041
- */
4042
- const layerServer = /* @__PURE__ */ require_Schema.flow(make, /* @__PURE__ */ require_Schema.effect(require_HttpServer.HttpServer));
4043
- /**
4044
- * @since 1.0.0
4045
- * @category Layers
4046
- */
4047
- const layerHttpServices = /* @__PURE__ */ require_Schema.mergeAll(layer$1, require_HttpServer.layerWeak, require_NodeServices.layer);
4048
- /**
4049
- * @since 1.0.0
4050
- * @category Layers
4051
- */
4052
- const layer = (evaluate, options) => require_Schema.mergeAll(layerServer(evaluate, options), layerHttpServices);
4053
- /**
4054
- * @since 1.0.0
4055
- * @category Layers
4056
4940
  */
4057
- const layerConfig = (evaluate, options) => require_Schema.mergeAll(require_Schema.effect(require_HttpServer.HttpServer)(require_Schema.flatMap(require_Config.unwrap(options).asEffect(), (options) => make(evaluate, options))), layerHttpServices);
4058
4941
  /**
4059
4942
  * @since 1.0.0
4060
- * @category Testing
4943
+ * @category re-exports
4061
4944
  */
4062
- const layerTest = /* @__PURE__ */ require_HttpServer.layerTestClient.pipe(/* @__PURE__ */ require_Schema.provide$1(/* @__PURE__ */ require_Schema.fresh(require_HttpServer.layer).pipe(/* @__PURE__ */ require_Schema.provide$1(/* @__PURE__ */ require_Schema.succeed$1(require_HttpServer.RequestInit)({ keepalive: false })))), /* @__PURE__ */ require_Schema.provideMerge(/* @__PURE__ */ layer(node_http.createServer, { port: 0 })));
4063
- const handleResponse = (request, response) => {
4064
- const nodeResponse = request.resolvedResponse;
4065
- if (nodeResponse.writableEnded) return require_Schema.void_;
4066
- let headers = response.headers;
4067
- if (!require_HttpServer.isEmpty(response.cookies)) {
4068
- headers = { ...headers };
4069
- const toSet = require_HttpServer.toSetCookieHeaders(response.cookies);
4070
- if (headers["set-cookie"] !== void 0) toSet.push(headers["set-cookie"]);
4071
- headers["set-cookie"] = toSet;
4945
+ var Mime_default = new Mime(types, types$1)._freeze();
4946
+ //#endregion
4947
+ Object.defineProperty(exports, "Mime_default", {
4948
+ enumerable: true,
4949
+ get: function() {
4950
+ return Mime_default;
4072
4951
  }
4073
- if (request.method === "HEAD") {
4074
- nodeResponse.writeHead(response.status, headers);
4075
- return require_Schema.callback((resume) => {
4076
- nodeResponse.end(() => resume(require_Schema.void_));
4077
- });
4952
+ });
4953
+ Object.defineProperty(exports, "import_websocket_server", {
4954
+ enumerable: true,
4955
+ get: function() {
4956
+ return import_websocket_server;
4078
4957
  }
4079
- const body = response.body;
4080
- switch (body._tag) {
4081
- case "Empty":
4082
- nodeResponse.writeHead(response.status, headers);
4083
- nodeResponse.end();
4084
- return require_Schema.void_;
4085
- case "Raw":
4086
- nodeResponse.writeHead(response.status, headers);
4087
- if (typeof body.body === "object" && body.body !== null && "pipe" in body.body && typeof body.body.pipe === "function") return require_Schema.tryPromise({
4088
- try: (signal) => (0, node_stream_promises.pipeline)(body.body, nodeResponse, {
4089
- signal,
4090
- end: true
4091
- }),
4092
- catch: (cause) => new require_HttpServer.HttpServerError({ reason: new require_HttpServer.ResponseError({
4093
- request,
4094
- response,
4095
- description: "Error writing raw response",
4096
- cause
4097
- }) })
4098
- }).pipe(require_Schema.interruptible, require_Schema.tapCause(handleCause(nodeResponse, response)));
4099
- return require_Schema.callback((resume) => {
4100
- nodeResponse.end(body.body, () => resume(require_Schema.void_));
4101
- });
4102
- case "Uint8Array":
4103
- nodeResponse.writeHead(response.status, headers);
4104
- if (body.body.length < 1024 * 1024) {
4105
- nodeResponse.end(body.body);
4106
- return require_Schema.void_;
4107
- }
4108
- return require_Schema.callback((resume) => {
4109
- nodeResponse.end(body.body, () => resume(require_Schema.void_));
4110
- });
4111
- case "FormData": return require_Schema.suspend$1(() => {
4112
- const r = new globalThis.Response(body.formData);
4113
- nodeResponse.writeHead(response.status, {
4114
- ...headers,
4115
- ...Object.fromEntries(r.headers)
4116
- });
4117
- return require_Schema.callback((resume, signal) => {
4118
- node_stream.Readable.fromWeb(r.body, { signal }).pipe(nodeResponse).on("error", (cause) => {
4119
- resume(require_Schema.fail(new require_HttpServer.HttpServerError({ reason: new require_HttpServer.ResponseError({
4120
- request,
4121
- response,
4122
- description: "Error writing FormData response",
4123
- cause
4124
- }) })));
4125
- }).once("finish", () => {
4126
- resume(require_Schema.void_);
4127
- });
4128
- }).pipe(require_Schema.interruptible, require_Schema.tapCause(handleCause(nodeResponse, response)));
4129
- });
4130
- case "Stream": {
4131
- nodeResponse.writeHead(response.status, headers);
4132
- const drainLatch = require_Path.makeUnsafe$1();
4133
- nodeResponse.on("drain", () => drainLatch.openUnsafe());
4134
- return body.stream.pipe(require_Path.orDie, require_Path.runForEachArray((array) => {
4135
- let needDrain = false;
4136
- for (let i = 0; i < array.length; i++) {
4137
- const written = nodeResponse.write(array[i]);
4138
- if (!written && !needDrain) {
4139
- needDrain = true;
4140
- drainLatch.closeUnsafe();
4141
- } else if (written && needDrain) needDrain = false;
4142
- }
4143
- if (!needDrain) return require_Schema.void_;
4144
- return drainLatch.await;
4145
- }), require_Schema.interruptible, require_Schema.matchCauseEffect({
4146
- onSuccess: () => require_Schema.sync(() => nodeResponse.end()),
4147
- onFailure: handleCause(nodeResponse, response)
4148
- }));
4149
- }
4958
+ });
4959
+ Object.defineProperty(exports, "wrapper_default", {
4960
+ enumerable: true,
4961
+ get: function() {
4962
+ return wrapper_default;
4150
4963
  }
4151
- };
4152
- const handleCause = (nodeResponse, originalResponse) => (originalCause) => require_Schema.flatMap(require_HttpServer.causeResponse(originalCause), ([response, cause]) => {
4153
- const headersSent = nodeResponse.headersSent;
4154
- if (!headersSent) nodeResponse.writeHead(response.status);
4155
- if (!nodeResponse.writableEnded) nodeResponse.end();
4156
- return require_Schema.failCause(headersSent ? require_Schema.combine(originalCause, require_Schema.die$2(originalResponse)) : cause);
4157
4964
  });
4158
- //#endregion
4159
- exports.layer = layer;
4160
- exports.layerConfig = layerConfig;
4161
- exports.layerHttpServices = layerHttpServices;
4162
- exports.layerServer = layerServer;
4163
- exports.layerTest = layerTest;
4164
- exports.make = make;
4165
- exports.makeHandler = makeHandler;
4166
- exports.makeUpgradeHandler = makeUpgradeHandler;
4167
4965
 
4168
- //# sourceMappingURL=NodeHttpServer-BNIz9o3J.cjs.map
4966
+ //# sourceMappingURL=Mime-aSilaQX9.cjs.map