@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,304 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-C5ckVeoz.mjs";
4
- import { $r as scope, Da as addFinalizer, Dr as matchCauseEffect, Ei as void_, Hn as die, Jr as runForkWith, Js as seconds, Kn as fail, Oa as addFinalizerExit, On as cached, Pa as provide$1, Qn as flatMap, Qr as runSync, Rc as makeUnsafe, Sa as succeed$1, Sr as map, Wc as fromNullishOr, Yl as flow, Zl as pipe, _i as tryPromise, _n as acquireRelease, ai as succeed, ba as provide, ci as suspend, di as tapCause, fa as effect, ga as fresh, gi as timeoutOrElse, ja as forkUnsafe, ki as withFiber, kn as callback, li as sync, lo as combine, nr as fnUntraced, pr as interruptible, qn as failCause, uo as die$1, vi as try_, vl as Class, xa as provideMerge, ya as mergeAll } from "./Schema-CTXk8IgN.mjs";
5
- import { Ht as makeUnsafe$1, M as map$1, q as runForEachArray, qt as runIn, rt as unwrap, z as orDie } from "./Path-Bwl3ltR5.mjs";
6
- import { f as fromReadable, h as toUint8Array, m as toString, p as toArrayBuffer } from "./NodeTerminal-_XekCzf-.mjs";
7
- import { n as layer$3, r as layer$2 } from "./NodeServices-Bqqy4DuH.mjs";
8
- import { $ as raw, At as toSetCookieHeaders, B as causeResponse, C as toPersisted, Ct as fromInput$1, Dt as merge, Et as fromRecordUnsafe, F as HttpServerError, H as layer$5, I as RequestParseError, K as layer$4, L as ResponseError, M as fromWebSocket, Ot as isEmpty, P as ClientAbort, S as makeConfig, T as make$4, Tt as fromInput, V as RequestInit, b as TypeId$1, dt as TypeId, ft as inspect, h as TypeId$2, kt as parseHeader, l as toHandled, n as layerTestClient, o as HttpPlatform, p as HttpServerRequest, q as layerWeak, r as make$5, s as make$3, t as HttpServer, ut as MaxBodySize, w as decodeField, y as MultipartError, z as ServeError } from "./HttpServer-ByyNdEXm.mjs";
9
- import { h as unwrap$1 } from "./Config-DrOyN3WS.mjs";
10
- import { t as Mime_default } from "./Mime-DyOxeoNi.mjs";
11
- import { Duplex, Readable } from "node:stream";
12
- import * as Fs from "node:fs";
13
- import * as Http from "node:http";
14
- import * as NodeStreamP from "node:stream/promises";
15
- import { pipeline } from "node:stream/promises";
16
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
17
- /**
18
- * @since 1.0.0
19
- */
20
- /**
21
- * @since 1.0.0
22
- * @category Constructors
23
- */
24
- var NodeHttpIncomingMessage = class extends Class {
25
- /**
26
- * @since 1.0.0
27
- */
28
- [TypeId];
29
- source;
30
- onError;
31
- remoteAddressOverride;
32
- constructor(source, onError, remoteAddressOverride) {
33
- super();
34
- this[TypeId] = TypeId;
35
- this.source = source;
36
- this.onError = onError;
37
- this.remoteAddressOverride = remoteAddressOverride;
38
- }
39
- get headers() {
40
- return fromInput(this.source.headers);
41
- }
42
- get remoteAddress() {
43
- return this.remoteAddressOverride ?? fromNullishOr(this.source.socket.remoteAddress);
44
- }
45
- textEffect;
46
- get text() {
47
- if (this.textEffect) return this.textEffect;
48
- this.textEffect = runSync(cached(flatMap(MaxBodySize.asEffect(), (maxBodySize) => toString(() => this.source, {
49
- onError: this.onError,
50
- maxBytes: maxBodySize
51
- }))));
52
- return this.textEffect;
53
- }
54
- get textUnsafe() {
55
- return runSync(this.text);
56
- }
57
- get json() {
58
- return flatMap(this.text, (text) => try_({
59
- try: () => text === "" ? null : JSON.parse(text),
60
- catch: this.onError
61
- }));
62
- }
63
- get jsonUnsafe() {
64
- return runSync(this.json);
65
- }
66
- get urlParamsBody() {
67
- return flatMap(this.text, (_) => try_({
68
- try: () => fromInput$1(new URLSearchParams(_)),
69
- catch: this.onError
70
- }));
71
- }
72
- get stream() {
73
- return fromReadable({
74
- evaluate: () => this.source,
75
- onError: this.onError
76
- });
77
- }
78
- get arrayBuffer() {
79
- return withFiber((fiber) => toArrayBuffer(() => this.source, {
80
- onError: this.onError,
81
- maxBytes: fiber.getRef(MaxBodySize)
82
- }));
83
- }
84
- };
85
- //#endregion
86
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
87
- /**
88
- * @since 1.0.0
89
- */
90
- /**
91
- * @since 1.0.0
92
- * @category Constructors
93
- */
94
- const make$2 = /* @__PURE__ */ make$3({
95
- fileResponse(path, status, statusText, headers, start, end, contentLength) {
96
- return raw(contentLength === 0 ? Readable.from([]) : Fs.createReadStream(path, {
97
- start,
98
- end: end === void 0 ? void 0 : end - 1
99
- }), {
100
- headers: {
101
- ...headers,
102
- "content-type": headers["content-type"] ?? Mime_default.getType(path) ?? "application/octet-stream",
103
- "content-length": contentLength.toString()
104
- },
105
- status,
106
- statusText
107
- });
108
- },
109
- fileWebResponse(file, status, statusText, headers, _options) {
110
- return raw(Readable.fromWeb(file.stream()), {
111
- headers: merge(headers, fromRecordUnsafe({
112
- "content-type": headers["content-type"] ?? Mime_default.getType(file.name) ?? "application/octet-stream",
113
- "content-length": file.size.toString()
114
- })),
115
- status,
116
- statusText
117
- });
118
- }
119
- });
120
- /**
121
- * @since 1.0.0
122
- * @category Layers
123
- */
124
- const layer$1 = /* @__PURE__ */ pipe(/* @__PURE__ */ effect(HttpPlatform)(make$2), /* @__PURE__ */ provide(layer$2), /* @__PURE__ */ provide(layer$4));
125
- //#endregion
126
- //#region ../../node_modules/.bun/multipasta@0.2.7/node_modules/multipasta/dist/esm/node.js
127
- var MultipastaStream = class extends Duplex {
128
- _parser;
129
- _canWrite = true;
130
- _writeCallback;
131
- constructor(config) {
132
- super({ readableObjectMode: true });
133
- let currentError;
134
- let currentFile;
135
- this._parser = make$4({
136
- ...config,
137
- onField: (info, value) => {
138
- if (currentError !== void 0) return;
139
- const field = {
140
- _tag: "Field",
141
- info,
142
- value
143
- };
144
- this.push(field);
145
- this.emit("field", field);
146
- },
147
- onFile: (info) => {
148
- if (currentError !== void 0) return (_) => {};
149
- const file = new FileStream(info, this);
150
- currentFile = file;
151
- this.push(file);
152
- this.emit("file", file);
153
- return (chunk) => {
154
- this._canWrite = file.push(chunk);
155
- if (chunk === null && !this._canWrite) {
156
- currentFile = void 0;
157
- this._resume();
158
- }
159
- };
160
- },
161
- onError: (error) => {
162
- this.emit("error", error);
163
- currentFile?.emit("error", error);
164
- currentError = error;
165
- },
166
- onDone: () => {
167
- this.push(null);
168
- }
169
- });
170
- }
171
- _resume() {
172
- this._canWrite = true;
173
- if (this._writeCallback !== void 0) {
174
- const callback = this._writeCallback;
175
- this._writeCallback = void 0;
176
- callback();
177
- }
178
- }
179
- _read(_size) {}
180
- _write(chunk, encoding, callback) {
181
- this._parser.write(chunk instanceof Uint8Array ? chunk : Buffer.from(chunk, encoding));
182
- if (this._canWrite) callback();
183
- else this._writeCallback = callback;
184
- }
185
- _final(callback) {
186
- this._parser.end();
187
- callback();
188
- }
189
- };
190
- const make$1 = (config) => new MultipastaStream(config);
191
- var FileStream = class extends Readable {
192
- info;
193
- _parent;
194
- _tag = "File";
195
- filename;
196
- constructor(info, _parent) {
197
- super();
198
- this.info = info;
199
- this._parent = _parent;
200
- this.filename = info.filename;
201
- }
202
- _read(_size) {
203
- if (this._parent._canWrite === false) this._parent._resume();
204
- }
205
- };
206
- //#endregion
207
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeMultipart.js
208
- /**
209
- * @since 1.0.0
210
- */
211
- /**
212
- * @since 1.0.0
213
- * @category constructors
214
- */
215
- const stream = (source, headers) => makeConfig(headers).pipe(map((config) => fromReadable({
216
- evaluate() {
217
- const parser = make$1(config);
218
- source.pipe(parser);
219
- return parser;
220
- },
221
- onError: (error) => convertError(error)
222
- })), unwrap, map$1(convertPart));
223
- /**
224
- * @since 1.0.0
225
- * @category constructors
226
- */
227
- const persisted = (source, headers) => toPersisted(stream(source, headers), (path, file) => tryPromise({
228
- try: (signal) => NodeStreamP.pipeline(file.file, Fs.createWriteStream(path), { signal }),
229
- catch: (cause) => MultipartError.fromReason("InternalError", cause)
230
- }));
231
- const convertPart = (part) => part._tag === "Field" ? new FieldImpl(part.info, part.value) : new FileImpl(part);
232
- var PartBase = class extends Class {
233
- [TypeId$1];
234
- constructor() {
235
- super();
236
- this[TypeId$1] = TypeId$1;
237
- }
238
- };
239
- var FieldImpl = class extends PartBase {
240
- _tag = "Field";
241
- key;
242
- contentType;
243
- value;
244
- constructor(info, value) {
245
- super();
246
- this.key = info.name;
247
- this.contentType = info.contentType;
248
- this.value = decodeField(info, value);
249
- }
250
- toJSON() {
251
- return {
252
- _id: "@effect/platform/Multipart/Part",
253
- _tag: "Field",
254
- key: this.key,
255
- value: this.value,
256
- contentType: this.contentType
257
- };
258
- }
259
- };
260
- var FileImpl = class extends PartBase {
261
- _tag = "File";
262
- key;
263
- name;
264
- contentType;
265
- content;
266
- contentEffect;
267
- file;
268
- constructor(file) {
269
- super();
270
- this.file = file;
271
- this.key = file.info.name;
272
- this.name = file.filename ?? file.info.name;
273
- this.contentType = file.info.contentType;
274
- this.content = fromReadable({
275
- evaluate: () => file,
276
- onError: (cause) => MultipartError.fromReason("InternalError", cause)
277
- });
278
- this.contentEffect = toUint8Array(() => file, { onError: (cause) => MultipartError.fromReason("InternalError", cause) });
279
- }
280
- toJSON() {
281
- return {
282
- _id: "@effect/platform/Multipart/Part",
283
- _tag: "File",
284
- key: this.key,
285
- name: this.name,
286
- contentType: this.contentType
287
- };
288
- }
289
- };
290
- function convertError(cause) {
291
- switch (cause._tag) {
292
- case "ReachedLimit": switch (cause.limit) {
293
- case "MaxParts": return MultipartError.fromReason("TooManyParts", cause);
294
- case "MaxFieldSize": return MultipartError.fromReason("FieldTooLarge", cause);
295
- case "MaxPartSize": return MultipartError.fromReason("FileTooLarge", cause);
296
- case "MaxTotalSize": return MultipartError.fromReason("BodyTooLarge", cause);
297
- }
298
- default: return MultipartError.fromReason("Parse", cause);
299
- }
300
- }
301
- //#endregion
302
4
  //#region ../../node_modules/.bun/ws@8.21.2/node_modules/ws/lib/constants.js
303
5
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
304
6
  const BINARY_TYPES = [
@@ -1467,7 +1169,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1467
1169
  //#endregion
1468
1170
  //#region ../../node_modules/.bun/ws@8.21.2/node_modules/ws/lib/sender.js
1469
1171
  var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1470
- const { Duplex: Duplex$4 } = __require("stream");
1172
+ const { Duplex: Duplex$3 } = __require("stream");
1471
1173
  const { randomFillSync } = __require("crypto");
1472
1174
  const { types: { isUint8Array } } = __require("util");
1473
1175
  const PerMessageDeflate = require_permessage_deflate();
@@ -2321,7 +2023,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2321
2023
  const net = __require("net");
2322
2024
  const tls = __require("tls");
2323
2025
  const { randomBytes, createHash: createHash$1 } = __require("crypto");
2324
- const { Duplex: Duplex$3, Readable: Readable$1 } = __require("stream");
2026
+ const { Duplex: Duplex$2, Readable } = __require("stream");
2325
2027
  const { URL } = __require("url");
2326
2028
  const PerMessageDeflate = require_permessage_deflate();
2327
2029
  const Receiver = require_receiver();
@@ -3305,7 +3007,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3305
3007
  //#region ../../node_modules/.bun/ws@8.21.2/node_modules/ws/lib/stream.js
3306
3008
  var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3307
3009
  require_websocket();
3308
- const { Duplex: Duplex$2 } = __require("stream");
3010
+ const { Duplex: Duplex$1 } = __require("stream");
3309
3011
  /**
3310
3012
  * Emits the `'close'` event on a stream.
3311
3013
  *
@@ -3344,7 +3046,7 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3344
3046
  */
3345
3047
  function createWebSocketStream(ws, options) {
3346
3048
  let terminateOnDestroy = true;
3347
- const duplex = new Duplex$2({
3049
+ const duplex = new Duplex$1({
3348
3050
  ...options,
3349
3051
  autoDestroy: false,
3350
3052
  emitClose: false,
@@ -3461,7 +3163,7 @@ var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3461
3163
  var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3462
3164
  const EventEmitter = __require("events");
3463
3165
  const http = __require("http");
3464
- const { Duplex: Duplex$1 } = __require("stream");
3166
+ const { Duplex } = __require("stream");
3465
3167
  const { createHash } = __require("crypto");
3466
3168
  const extension = require_extension();
3467
3169
  const PerMessageDeflate = require_permessage_deflate();
@@ -3848,311 +3550,1400 @@ require_permessage_deflate();
3848
3550
  require_receiver();
3849
3551
  require_sender();
3850
3552
  require_subprotocol();
3851
- require_websocket();
3553
+ var import_websocket = /* @__PURE__ */ __toESM(require_websocket(), 1);
3852
3554
  var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
3555
+ var wrapper_default = import_websocket.default;
3853
3556
  //#endregion
3854
- //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.45+6a386fbfc71a3ef3/node_modules/@effect/platform-node/dist/NodeHttpServer.js
3855
- /**
3856
- * @since 1.0.0
3857
- */
3858
- /**
3859
- * @since 1.0.0
3860
- * @category constructors
3861
- */
3862
- const make = /* @__PURE__ */ fnUntraced(function* (evaluate, options) {
3863
- const scope$1 = yield* scope;
3864
- const server = evaluate();
3865
- const shutdown = yield* callback((resume) => {
3866
- if (!server.listening) return resume(void_);
3867
- server.close((error) => {
3868
- if (error) resume(die(error));
3869
- else resume(void_);
3870
- });
3871
- }).pipe(cached);
3872
- const preemptiveShutdown = options.disablePreemptiveShutdown ? void_ : timeoutOrElse(shutdown, {
3873
- duration: options.gracefulShutdownTimeout ?? seconds(20),
3874
- orElse: () => void_
3875
- });
3876
- yield* addFinalizer(scope$1, shutdown);
3877
- yield* callback((resume) => {
3878
- function onError(cause) {
3879
- resume(fail(new ServeError({ cause })));
3880
- }
3881
- server.on("error", onError);
3882
- server.listen(options, () => {
3883
- server.off("error", onError);
3884
- resume(void_);
3885
- });
3886
- });
3887
- const address = server.address();
3888
- const wss = yield* acquireRelease(sync(() => new import_websocket_server.default({ noServer: true })), (wss) => callback((resume) => {
3889
- wss.close(() => resume(void_));
3890
- })).pipe(provide$1(scope$1), cached);
3891
- return make$5({
3892
- address: typeof address === "string" ? {
3893
- _tag: "UnixAddress",
3894
- path: address
3895
- } : {
3896
- _tag: "TcpAddress",
3897
- hostname: address.address === "::" ? "0.0.0.0" : address.address,
3898
- port: address.port
3899
- },
3900
- serve: fnUntraced(function* (httpApp, middleware) {
3901
- const serveScope = yield* scope;
3902
- const scope$2 = forkUnsafe(serveScope, "parallel");
3903
- const handler = yield* makeHandler(httpApp, {
3904
- middleware,
3905
- scope: scope$2
3906
- });
3907
- const upgradeHandler = yield* makeUpgradeHandler(wss, httpApp, {
3908
- middleware,
3909
- scope: scope$2
3910
- });
3911
- yield* addFinalizerExit(serveScope, () => {
3912
- server.off("request", handler);
3913
- server.off("upgrade", upgradeHandler);
3914
- return preemptiveShutdown;
3915
- });
3916
- server.on("request", handler);
3917
- server.on("upgrade", upgradeHandler);
3918
- })
3919
- });
3920
- });
3921
- /**
3922
- * @since 1.0.0
3923
- * @category Handlers
3924
- */
3925
- const makeHandler = (httpEffect, options) => {
3926
- const handled = toHandled(httpEffect, handleResponse, options.middleware);
3927
- return withFiber((parent) => {
3928
- const services = parent.context;
3929
- return succeed(function handler(nodeRequest, nodeResponse) {
3930
- const map = new Map(services.mapUnsafe);
3931
- map.set(HttpServerRequest.key, new ServerRequestImpl(nodeRequest, nodeResponse));
3932
- const fiber = runIn(runForkWith(makeUnsafe(map))(handled), options.scope);
3933
- nodeResponse.on("close", () => {
3934
- if (!nodeResponse.writableEnded) fiber.interruptUnsafe(parent.id, ClientAbort.annotation);
3935
- });
3936
- });
3937
- });
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"]
3938
4392
  };
3939
- /**
3940
- * @since 1.0.0
3941
- * @category Handlers
3942
- */
3943
- const makeUpgradeHandler = (lazyWss, httpEffect, options) => {
3944
- const handledApp = toHandled(httpEffect, handleResponse, options.middleware);
3945
- return withFiber((parent) => {
3946
- const services = parent.context;
3947
- return succeed(function handler(nodeRequest, socket, head) {
3948
- let nodeResponse_ = void 0;
3949
- const nodeResponse = () => {
3950
- if (nodeResponse_ === void 0) {
3951
- nodeResponse_ = new Http.ServerResponse(nodeRequest);
3952
- nodeResponse_.assignSocket(socket);
3953
- nodeResponse_.on("finish", () => {
3954
- socket.end();
3955
- });
3956
- }
3957
- return nodeResponse_;
3958
- };
3959
- const upgradeEffect = fromWebSocket(flatMap(lazyWss, (wss) => acquireRelease(callback((resume) => wss.handleUpgrade(nodeRequest, socket, head, (ws) => {
3960
- resume(succeed(ws));
3961
- })), (ws) => sync(() => ws.close()))));
3962
- const map = new Map(services.mapUnsafe);
3963
- map.set(HttpServerRequest.key, new ServerRequestImpl(nodeRequest, nodeResponse, upgradeEffect));
3964
- const fiber = runIn(runForkWith(makeUnsafe(map))(handledApp), options.scope);
3965
- socket.on("close", () => {
3966
- if (!socket.writableEnded) fiber.interruptUnsafe(parent.id, ClientAbort.annotation);
3967
- });
3968
- });
3969
- });
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"]
3970
4865
  };
3971
- var ServerRequestImpl = class ServerRequestImpl extends NodeHttpIncomingMessage {
3972
- [TypeId$2];
3973
- response;
3974
- upgradeEffect;
3975
- url;
3976
- headersOverride;
3977
- constructor(source, response, upgradeEffect, url = source.url, headersOverride, remoteAddressOverride) {
3978
- super(source, (cause) => new HttpServerError({ reason: new RequestParseError({
3979
- request: this,
3980
- cause
3981
- }) }), remoteAddressOverride);
3982
- this[TypeId$2] = TypeId$2;
3983
- this.response = response;
3984
- this.upgradeEffect = upgradeEffect;
3985
- this.url = url;
3986
- this.headersOverride = headersOverride;
3987
- }
3988
- cachedCookies;
3989
- get cookies() {
3990
- if (this.cachedCookies) return this.cachedCookies;
3991
- return this.cachedCookies = parseHeader(this.headers.cookie ?? "");
3992
- }
3993
- get resolvedResponse() {
3994
- return typeof this.response === "function" ? this.response() : this.response;
3995
- }
3996
- modify(options) {
3997
- return new ServerRequestImpl(this.source, this.response, this.upgradeEffect, options.url ?? this.url, options.headers ?? this.headersOverride, "remoteAddress" in options ? options.remoteAddress : this.remoteAddressOverride);
3998
- }
3999
- get originalUrl() {
4000
- return this.source.url;
4001
- }
4002
- get method() {
4003
- 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);
4004
4881
  }
4005
- get headers() {
4006
- this.headersOverride ??= this.source.headers;
4007
- 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;
4008
4902
  }
4009
- multipartEffect;
4010
- get multipart() {
4011
- if (this.multipartEffect) return this.multipartEffect;
4012
- this.multipartEffect = runSync(cached(persisted(this.source, this.source.headers)));
4013
- 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;
4014
4910
  }
4015
- get multipartStream() {
4016
- 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;
4017
4915
  }
4018
- get upgrade() {
4019
- return this.upgradeEffect ?? fail(new HttpServerError({ reason: new RequestParseError({
4020
- request: this,
4021
- description: "not an upgradeable ServerRequest"
4022
- }) }));
4916
+ getAllExtensions(type) {
4917
+ if (typeof type !== "string") return null;
4918
+ return __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type.toLowerCase()) ?? null;
4023
4919
  }
4024
- toString() {
4025
- 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;
4026
4927
  }
4027
- toJSON() {
4028
- return inspect(this, {
4029
- _id: "HttpServerRequest",
4030
- method: this.method,
4031
- url: this.originalUrl
4032
- });
4928
+ _getTestState() {
4929
+ return {
4930
+ types: __classPrivateFieldGet(this, _Mime_extensionToType, "f"),
4931
+ extensions: __classPrivateFieldGet(this, _Mime_typeToExtension, "f")
4932
+ };
4033
4933
  }
4034
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
4035
4938
  /**
4036
4939
  * @since 1.0.0
4037
- * @category Layers
4038
- */
4039
- const layerServer = /* @__PURE__ */ flow(make, /* @__PURE__ */ effect(HttpServer));
4040
- /**
4041
- * @since 1.0.0
4042
- * @category Layers
4043
- */
4044
- const layerHttpServices = /* @__PURE__ */ mergeAll(layer$1, layerWeak, layer$3);
4045
- /**
4046
- * @since 1.0.0
4047
- * @category Layers
4048
- */
4049
- const layer = (evaluate, options) => mergeAll(layerServer(evaluate, options), layerHttpServices);
4050
- /**
4051
- * @since 1.0.0
4052
- * @category Layers
4053
4940
  */
4054
- const layerConfig = (evaluate, options) => mergeAll(effect(HttpServer)(flatMap(unwrap$1(options).asEffect(), (options) => make(evaluate, options))), layerHttpServices);
4055
4941
  /**
4056
4942
  * @since 1.0.0
4057
- * @category Testing
4943
+ * @category re-exports
4058
4944
  */
4059
- const layerTest = /* @__PURE__ */ layerTestClient.pipe(/* @__PURE__ */ provide(/* @__PURE__ */ fresh(layer$5).pipe(/* @__PURE__ */ provide(/* @__PURE__ */ succeed$1(RequestInit)({ keepalive: false })))), /* @__PURE__ */ provideMerge(/* @__PURE__ */ layer(Http.createServer, { port: 0 })));
4060
- const handleResponse = (request, response) => {
4061
- const nodeResponse = request.resolvedResponse;
4062
- if (nodeResponse.writableEnded) return void_;
4063
- let headers = response.headers;
4064
- if (!isEmpty(response.cookies)) {
4065
- headers = { ...headers };
4066
- const toSet = toSetCookieHeaders(response.cookies);
4067
- if (headers["set-cookie"] !== void 0) toSet.push(headers["set-cookie"]);
4068
- headers["set-cookie"] = toSet;
4069
- }
4070
- if (request.method === "HEAD") {
4071
- nodeResponse.writeHead(response.status, headers);
4072
- return callback((resume) => {
4073
- nodeResponse.end(() => resume(void_));
4074
- });
4075
- }
4076
- const body = response.body;
4077
- switch (body._tag) {
4078
- case "Empty":
4079
- nodeResponse.writeHead(response.status, headers);
4080
- nodeResponse.end();
4081
- return void_;
4082
- case "Raw":
4083
- nodeResponse.writeHead(response.status, headers);
4084
- if (typeof body.body === "object" && body.body !== null && "pipe" in body.body && typeof body.body.pipe === "function") return tryPromise({
4085
- try: (signal) => pipeline(body.body, nodeResponse, {
4086
- signal,
4087
- end: true
4088
- }),
4089
- catch: (cause) => new HttpServerError({ reason: new ResponseError({
4090
- request,
4091
- response,
4092
- description: "Error writing raw response",
4093
- cause
4094
- }) })
4095
- }).pipe(interruptible, tapCause(handleCause(nodeResponse, response)));
4096
- return callback((resume) => {
4097
- nodeResponse.end(body.body, () => resume(void_));
4098
- });
4099
- case "Uint8Array":
4100
- nodeResponse.writeHead(response.status, headers);
4101
- if (body.body.length < 1024 * 1024) {
4102
- nodeResponse.end(body.body);
4103
- return void_;
4104
- }
4105
- return callback((resume) => {
4106
- nodeResponse.end(body.body, () => resume(void_));
4107
- });
4108
- case "FormData": return suspend(() => {
4109
- const r = new globalThis.Response(body.formData);
4110
- nodeResponse.writeHead(response.status, {
4111
- ...headers,
4112
- ...Object.fromEntries(r.headers)
4113
- });
4114
- return callback((resume, signal) => {
4115
- Readable.fromWeb(r.body, { signal }).pipe(nodeResponse).on("error", (cause) => {
4116
- resume(fail(new HttpServerError({ reason: new ResponseError({
4117
- request,
4118
- response,
4119
- description: "Error writing FormData response",
4120
- cause
4121
- }) })));
4122
- }).once("finish", () => {
4123
- resume(void_);
4124
- });
4125
- }).pipe(interruptible, tapCause(handleCause(nodeResponse, response)));
4126
- });
4127
- case "Stream": {
4128
- nodeResponse.writeHead(response.status, headers);
4129
- const drainLatch = makeUnsafe$1();
4130
- nodeResponse.on("drain", () => drainLatch.openUnsafe());
4131
- return body.stream.pipe(orDie, runForEachArray((array) => {
4132
- let needDrain = false;
4133
- for (let i = 0; i < array.length; i++) {
4134
- const written = nodeResponse.write(array[i]);
4135
- if (!written && !needDrain) {
4136
- needDrain = true;
4137
- drainLatch.closeUnsafe();
4138
- } else if (written && needDrain) needDrain = false;
4139
- }
4140
- if (!needDrain) return void_;
4141
- return drainLatch.await;
4142
- }), interruptible, matchCauseEffect({
4143
- onSuccess: () => sync(() => nodeResponse.end()),
4144
- onFailure: handleCause(nodeResponse, response)
4145
- }));
4146
- }
4147
- }
4148
- };
4149
- const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatMap(causeResponse(originalCause), ([response, cause]) => {
4150
- const headersSent = nodeResponse.headersSent;
4151
- if (!headersSent) nodeResponse.writeHead(response.status);
4152
- if (!nodeResponse.writableEnded) nodeResponse.end();
4153
- return failCause(headersSent ? combine(originalCause, die$1(originalResponse)) : cause);
4154
- });
4945
+ var Mime_default = new Mime(types, types$1)._freeze();
4155
4946
  //#endregion
4156
- export { layer, layerConfig, layerHttpServices, layerServer, layerTest, make, makeHandler, makeUpgradeHandler };
4947
+ export { import_websocket_server as n, wrapper_default as r, Mime_default as t };
4157
4948
 
4158
- //# sourceMappingURL=NodeHttpServer-Bz_E-Tc6.mjs.map
4949
+ //# sourceMappingURL=Mime-B75_d9aw.mjs.map