@pubinfo-nightly/devtools 2025.12.9 → 2026.2.7

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 (365) hide show
  1. package/dist/client/assets/core-DZ0_U_pO.js +6115 -0
  2. package/dist/client/assets/css-D-vtiAqw.js +2 -0
  3. package/dist/client/assets/css-DbgpCiOq.js +2 -0
  4. package/dist/client/assets/engine-oniguruma-Cxk0otvy.js +392 -0
  5. package/dist/client/assets/fetch-Df05JmPt.js +991 -0
  6. package/dist/client/assets/html-74krLQbR.js +2 -0
  7. package/dist/client/assets/html-Tu6OX5Eq.js +9 -0
  8. package/dist/client/assets/{index-Co6hzA6u.css → index-Blntvu93.css} +1 -1
  9. package/dist/client/assets/{index-BSkduMKH.js → index-Cn9-H915.js} +3456 -1729
  10. package/dist/client/assets/javascript-QnJdw8u5.js +2 -0
  11. package/dist/client/assets/javascript-_FvKZjd1.js +2 -0
  12. package/dist/client/assets/json-CzPoZe0r.js +2 -0
  13. package/dist/client/assets/json-WgRhEAOB.js +2 -0
  14. package/dist/client/assets/pages-BdQpgtx4.js +20 -0
  15. package/dist/client/assets/{server-router-BiZSSnZD.css → server-router-8PynUpe5.css} +2 -2
  16. package/dist/client/assets/server-router-BHD-n_Wi.js +2261 -0
  17. package/dist/client/assets/typescript-BEfC8S_c.js +2 -0
  18. package/dist/client/assets/typescript-C5tShSk5.js +2 -0
  19. package/dist/client/assets/vue-Be3tcD1h.js +27 -0
  20. package/dist/client/assets/wasm-D0Echd05.js +5 -0
  21. package/dist/client/index.html +2 -2
  22. package/dist/dirs.mjs +3 -0
  23. package/dist/{index.js → index.mjs} +2 -2
  24. package/dist/panel/{index.js → index.mjs} +3 -3
  25. package/package.json +19 -19
  26. package/dist/client/assets/abap-C4bT1QEl.js +0 -3
  27. package/dist/client/assets/actionscript-3-BCWJ3mFB.js +0 -3
  28. package/dist/client/assets/ada-BwfYJ3cr.js +0 -3
  29. package/dist/client/assets/andromeeda-B_6dIUNk.js +0 -2
  30. package/dist/client/assets/angular-html-BPWgfvBc.js +0 -23
  31. package/dist/client/assets/angular-html-CAmvPqke.js +0 -5
  32. package/dist/client/assets/angular-ts-DGzTDMev.js +0 -24
  33. package/dist/client/assets/apache-kfYmMYjJ.js +0 -3
  34. package/dist/client/assets/apex-BEradrtF.js +0 -3
  35. package/dist/client/assets/apl-BPuavpVx.js +0 -16
  36. package/dist/client/assets/applescript-CuHZw4Cf.js +0 -3
  37. package/dist/client/assets/ara-BkKR-TQQ.js +0 -3
  38. package/dist/client/assets/asciidoc-CBayNp_C.js +0 -3
  39. package/dist/client/assets/asm-BwfqIsue.js +0 -3
  40. package/dist/client/assets/astro-S5XuEH5N.js +0 -17
  41. package/dist/client/assets/aurora-x-BXNTnfne.js +0 -2
  42. package/dist/client/assets/awk-BTtzreuE.js +0 -3
  43. package/dist/client/assets/ayu-dark-DqipJzHd.js +0 -2
  44. package/dist/client/assets/ballerina-Cr0e12Uh.js +0 -3
  45. package/dist/client/assets/bat--mz103Th.js +0 -3
  46. package/dist/client/assets/beancount-CFAdYWr2.js +0 -3
  47. package/dist/client/assets/berry-Bzd2YdCH.js +0 -3
  48. package/dist/client/assets/bibtex-DT-WcF1n.js +0 -3
  49. package/dist/client/assets/bicep-DUXUP27W.js +0 -3
  50. package/dist/client/assets/blade-BD3Ti8S8.js +0 -20
  51. package/dist/client/assets/bsl-FJCc2ZjR.js +0 -4
  52. package/dist/client/assets/c-0S9FUYVg.js +0 -2
  53. package/dist/client/assets/c-DcdCmnmu.js +0 -3
  54. package/dist/client/assets/cadence-Du0qqjuO.js +0 -3
  55. package/dist/client/assets/cairo-CT1kFY4g.js +0 -4
  56. package/dist/client/assets/catppuccin-frappe-DZIny9D9.js +0 -2
  57. package/dist/client/assets/catppuccin-latte-HfmdJgD2.js +0 -2
  58. package/dist/client/assets/catppuccin-macchiato-1ffQHJ6s.js +0 -2
  59. package/dist/client/assets/catppuccin-mocha-DRYMSOp4.js +0 -2
  60. package/dist/client/assets/clarity-CW1NMBSy.js +0 -3
  61. package/dist/client/assets/clojure-DkHpOkH2.js +0 -3
  62. package/dist/client/assets/cmake-87ADX9pg.js +0 -2
  63. package/dist/client/assets/cmake-CXVvo3Mh.js +0 -3
  64. package/dist/client/assets/cobol-CE0tFF5i.js +0 -11
  65. package/dist/client/assets/codeowners-DYf_YsrY.js +0 -3
  66. package/dist/client/assets/codeql-BeSKjUdD.js +0 -3
  67. package/dist/client/assets/coffee-D8rtNx1a.js +0 -4
  68. package/dist/client/assets/common-lisp-CsedMwlK.js +0 -3
  69. package/dist/client/assets/coq-Cfs5oQ5z.js +0 -3
  70. package/dist/client/assets/cpp-B4kRV-Mr.js +0 -6
  71. package/dist/client/assets/cpp-C4U1u9xk.js +0 -19
  72. package/dist/client/assets/crystal-C51LLczf.js +0 -17
  73. package/dist/client/assets/csharp-CxX8v9Z1.js +0 -2
  74. package/dist/client/assets/csharp-DYqgfnaO.js +0 -3
  75. package/dist/client/assets/css-BmwDvvHL.js +0 -2
  76. package/dist/client/assets/css-DVW7ZXKV.js +0 -3
  77. package/dist/client/assets/csv-B2eUHTA8.js +0 -2
  78. package/dist/client/assets/csv-rLH0WuQO.js +0 -3
  79. package/dist/client/assets/cue-CzLrU992.js +0 -3
  80. package/dist/client/assets/cypher-C2RENEAP.js +0 -3
  81. package/dist/client/assets/d-BJOAQFpK.js +0 -3
  82. package/dist/client/assets/dark-plus-Db9rRSHq.js +0 -2
  83. package/dist/client/assets/dart-B-KTJ0-J.js +0 -3
  84. package/dist/client/assets/dax-B7qtS36S.js +0 -3
  85. package/dist/client/assets/desktop-DfgAqZ8-.js +0 -3
  86. package/dist/client/assets/diff-akky_HM9.js +0 -3
  87. package/dist/client/assets/diff-pjHYd3BC.js +0 -2
  88. package/dist/client/assets/docker-CRnIvYqh.js +0 -3
  89. package/dist/client/assets/dotenv-CwGZ7tJA.js +0 -3
  90. package/dist/client/assets/dracula-C0nacXF8.js +0 -2
  91. package/dist/client/assets/dracula-soft-wdVBcfBY.js +0 -2
  92. package/dist/client/assets/dream-maker-B9ezz9kX.js +0 -3
  93. package/dist/client/assets/edge-WSoBDjCt.js +0 -13
  94. package/dist/client/assets/elixir-4Bcc41kI.js +0 -6
  95. package/dist/client/assets/elm-DisSriNR.js +0 -5
  96. package/dist/client/assets/emacs-lisp-fLGPzin6.js +0 -3
  97. package/dist/client/assets/erb-BuJIU0wX.js +0 -26
  98. package/dist/client/assets/erlang-BbsDmeCk.js +0 -4
  99. package/dist/client/assets/everforest-dark-NN95DCJl.js +0 -2
  100. package/dist/client/assets/everforest-light-idPY23JU.js +0 -2
  101. package/dist/client/assets/fennel-CSR5Mk7N.js +0 -3
  102. package/dist/client/assets/fetch-CTfoU6yt.js +0 -873
  103. package/dist/client/assets/fish-BlTQgKCk.js +0 -3
  104. package/dist/client/assets/fluent-TT7fQWak.js +0 -3
  105. package/dist/client/assets/fortran-fixed-form-DvnLkzBN.js +0 -4
  106. package/dist/client/assets/fortran-free-form-B1QQVoTU.js +0 -3
  107. package/dist/client/assets/fortran-free-form-xkm1udFL.js +0 -2
  108. package/dist/client/assets/fsharp-DyWqhI4o.js +0 -4
  109. package/dist/client/assets/gdresource-Ddtxl8Ni.js +0 -9
  110. package/dist/client/assets/gdscript-DLFBRMyo.js +0 -2
  111. package/dist/client/assets/gdscript-DLJhaHhX.js +0 -3
  112. package/dist/client/assets/gdshader-BFRlv_nM.js +0 -3
  113. package/dist/client/assets/gdshader-tCO8fx4f.js +0 -2
  114. package/dist/client/assets/genie-BmogPuVq.js +0 -3
  115. package/dist/client/assets/gherkin-uh-Mxnsi.js +0 -3
  116. package/dist/client/assets/git-commit-4JodcKYl.js +0 -4
  117. package/dist/client/assets/git-rebase-DZ3MZg-o.js +0 -4
  118. package/dist/client/assets/github-dark-C6J_EBvu.js +0 -2
  119. package/dist/client/assets/github-dark-default-DQDadoHp.js +0 -2
  120. package/dist/client/assets/github-dark-dimmed-DU7K1EZq.js +0 -2
  121. package/dist/client/assets/github-dark-high-contrast-BfsjVJDY.js +0 -2
  122. package/dist/client/assets/github-light-CM4f7fBZ.js +0 -2
  123. package/dist/client/assets/github-light-default-B_A-12O3.js +0 -2
  124. package/dist/client/assets/github-light-high-contrast-BhG28-t6.js +0 -2
  125. package/dist/client/assets/gleam-BByYw7_b.js +0 -3
  126. package/dist/client/assets/glimmer-js-Dw1YG46K.js +0 -13
  127. package/dist/client/assets/glimmer-ts-BoTKtLAn.js +0 -13
  128. package/dist/client/assets/glsl-BcvqNIzr.js +0 -4
  129. package/dist/client/assets/glsl-D7d1_ns-.js +0 -3
  130. package/dist/client/assets/gnuplot-CgWtMBol.js +0 -3
  131. package/dist/client/assets/go-B0RP9LHI.js +0 -3
  132. package/dist/client/assets/go-C2ti7VbT.js +0 -2
  133. package/dist/client/assets/graphql-CZtSUIVW.js +0 -13
  134. package/dist/client/assets/graphql-CeZ4pvez.js +0 -6
  135. package/dist/client/assets/groovy-Bpl59neu.js +0 -3
  136. package/dist/client/assets/gruvbox-dark-hard-BddnLFai.js +0 -2
  137. package/dist/client/assets/gruvbox-dark-medium-DClLifyq.js +0 -2
  138. package/dist/client/assets/gruvbox-dark-soft-CoL2WoEr.js +0 -2
  139. package/dist/client/assets/gruvbox-light-hard-CF2FUQYG.js +0 -2
  140. package/dist/client/assets/gruvbox-light-medium-DdKpn-Z3.js +0 -2
  141. package/dist/client/assets/gruvbox-light-soft-CXnF8CjV.js +0 -2
  142. package/dist/client/assets/hack-BYb9BCJH.js +0 -11
  143. package/dist/client/assets/haml-BImF9_sT.js +0 -9
  144. package/dist/client/assets/haml-DW6kjLLA.js +0 -4
  145. package/dist/client/assets/handlebars-BioaJ5nM.js +0 -13
  146. package/dist/client/assets/haskell-BmWZ6TRE.js +0 -3
  147. package/dist/client/assets/haxe-D-HM2q7w.js +0 -3
  148. package/dist/client/assets/haxe-DIufun--.js +0 -2
  149. package/dist/client/assets/hcl-S6uG4iQ0.js +0 -3
  150. package/dist/client/assets/hjson-mO0ORdeS.js +0 -3
  151. package/dist/client/assets/hlsl-C0jZ0PCe.js +0 -2
  152. package/dist/client/assets/hlsl-hj232ngO.js +0 -3
  153. package/dist/client/assets/houston-CdK1CUz1.js +0 -2
  154. package/dist/client/assets/html-BLAmfzfF.js +0 -9
  155. package/dist/client/assets/html-BpqLChx7.js +0 -4
  156. package/dist/client/assets/html-derivative-D5DGRC4b.js +0 -5
  157. package/dist/client/assets/html-derivative-EjRHFpnu.js +0 -4
  158. package/dist/client/assets/http-lZvWEzFG.js +0 -18
  159. package/dist/client/assets/hurl-Cq9E8TWb.js +0 -16
  160. package/dist/client/assets/hxml-ee_Yi0Bv.js +0 -4
  161. package/dist/client/assets/hy-DICTrdi3.js +0 -3
  162. package/dist/client/assets/imba-kv1YCcqW.js +0 -3
  163. package/dist/client/assets/ini-CeoNvVsQ.js +0 -3
  164. package/dist/client/assets/java-BUOns_Ip.js +0 -2
  165. package/dist/client/assets/java-DvTil0N3.js +0 -3
  166. package/dist/client/assets/javascript-239S-npV.js +0 -3
  167. package/dist/client/assets/javascript-qk0JMc6B.js +0 -2
  168. package/dist/client/assets/jinja-Bg3R28jD.js +0 -8
  169. package/dist/client/assets/jison-BC1q7dZB.js +0 -4
  170. package/dist/client/assets/json-B7uypvxJ.js +0 -2
  171. package/dist/client/assets/json-DugJQEGz.js +0 -3
  172. package/dist/client/assets/json5-7yQVqemE.js +0 -3
  173. package/dist/client/assets/jsonc-D8JMlU2y.js +0 -3
  174. package/dist/client/assets/jsonl-C08qrvBf.js +0 -3
  175. package/dist/client/assets/jsonnet-BvmZyW4T.js +0 -3
  176. package/dist/client/assets/jssm-DKBgqWqY.js +0 -3
  177. package/dist/client/assets/jsx-CT1RQ-OJ.js +0 -3
  178. package/dist/client/assets/jsx-CsU_AUfl.js +0 -2
  179. package/dist/client/assets/julia-EKUZwWmm.js +0 -18
  180. package/dist/client/assets/kanagawa-dragon-CT0GKJCY.js +0 -2
  181. package/dist/client/assets/kanagawa-lotus-BnTLrrY2.js +0 -2
  182. package/dist/client/assets/kanagawa-wave-DZKSoWHj.js +0 -2
  183. package/dist/client/assets/kdl-DVROzgs-.js +0 -3
  184. package/dist/client/assets/kotlin-DccTc7ae.js +0 -3
  185. package/dist/client/assets/kusto-DfjJ0A2b.js +0 -3
  186. package/dist/client/assets/laserwave-tIFKC5tj.js +0 -2
  187. package/dist/client/assets/latex-CflrJF-D.js +0 -5
  188. package/dist/client/assets/lean-CPP8F_7u.js +0 -3
  189. package/dist/client/assets/less-C1zBW-s6.js +0 -3
  190. package/dist/client/assets/less-CICUgOj-.js +0 -2
  191. package/dist/client/assets/light-plus-DhWyKCGQ.js +0 -2
  192. package/dist/client/assets/liquid-PHiGTwj1.js +0 -13
  193. package/dist/client/assets/llvm-I5QJoasC.js +0 -3
  194. package/dist/client/assets/log-gyTYf2xU.js +0 -3
  195. package/dist/client/assets/logo-DfMKoOqX.js +0 -3
  196. package/dist/client/assets/lua-CBf0ggeL.js +0 -4
  197. package/dist/client/assets/lua-crOEWYZ0.js +0 -3
  198. package/dist/client/assets/luau-B17X0UH2.js +0 -3
  199. package/dist/client/assets/make-B8j2I5oP.js +0 -3
  200. package/dist/client/assets/markdown-BIZO6UqW.js +0 -2
  201. package/dist/client/assets/markdown-DVA_ZXYg.js +0 -3
  202. package/dist/client/assets/marko-CE_g888v.js +0 -13
  203. package/dist/client/assets/material-theme-CoPt-P4I.js +0 -2
  204. package/dist/client/assets/material-theme-darker-FEG2rAOf.js +0 -2
  205. package/dist/client/assets/material-theme-lighter-BF7TTIIN.js +0 -2
  206. package/dist/client/assets/material-theme-ocean-DLZ8d_BI.js +0 -2
  207. package/dist/client/assets/material-theme-palenight-DDSTuCs0.js +0 -2
  208. package/dist/client/assets/matlab-k1xjK_b6.js +0 -3
  209. package/dist/client/assets/mdc-CTYOzD1j.js +0 -14
  210. package/dist/client/assets/mdx-BQUZJDaf.js +0 -3
  211. package/dist/client/assets/mermaid-DJ04LSyL.js +0 -3
  212. package/dist/client/assets/min-dark-B0gHld8V.js +0 -2
  213. package/dist/client/assets/min-light-DsiXGiCk.js +0 -2
  214. package/dist/client/assets/mipsasm-eWlP57CF.js +0 -3
  215. package/dist/client/assets/mojo-DPKjCktn.js +0 -3
  216. package/dist/client/assets/monokai-wE1Oe3ZE.js +0 -2
  217. package/dist/client/assets/move-jfk5_q-h.js +0 -3
  218. package/dist/client/assets/narrat-pUgLLkv0.js +0 -3
  219. package/dist/client/assets/nextflow-Cc6ZMjG9.js +0 -3
  220. package/dist/client/assets/nginx-Dj2-Xu09.js +0 -5
  221. package/dist/client/assets/night-owl-Bhwe1yQ8.js +0 -2
  222. package/dist/client/assets/nim-Btzc76t3.js +0 -20
  223. package/dist/client/assets/nix-D9NfD_az.js +0 -3
  224. package/dist/client/assets/nord-BSQfXDuM.js +0 -2
  225. package/dist/client/assets/nushell-BRDcl2mr.js +0 -3
  226. package/dist/client/assets/objective-c-DlHl8NyP.js +0 -3
  227. package/dist/client/assets/objective-cpp-B0dcjsTM.js +0 -3
  228. package/dist/client/assets/ocaml-F3DDYO_6.js +0 -3
  229. package/dist/client/assets/one-dark-pro-B5HIL-pf.js +0 -2
  230. package/dist/client/assets/one-light-hd3TKOg4.js +0 -2
  231. package/dist/client/assets/pages-BPB-93sD.js +0 -18
  232. package/dist/client/assets/pascal-k-jf8TbO.js +0 -3
  233. package/dist/client/assets/perl-DLie958B.js +0 -16
  234. package/dist/client/assets/php-CeVstFNC.js +0 -17
  235. package/dist/client/assets/php-Dqyegpf1.js +0 -9
  236. package/dist/client/assets/pkl-CTBspQUg.js +0 -3
  237. package/dist/client/assets/plastic-DTqiHuTe.js +0 -2
  238. package/dist/client/assets/plsql-CronX4zK.js +0 -3
  239. package/dist/client/assets/po-DIoaMCjY.js +0 -3
  240. package/dist/client/assets/poimandres-Ct2BSofG.js +0 -2
  241. package/dist/client/assets/polar-B5raTfsD.js +0 -3
  242. package/dist/client/assets/postcss-4oWH01ol.js +0 -3
  243. package/dist/client/assets/postcss-C4klqPVI.js +0 -2
  244. package/dist/client/assets/powerquery-Cq13nLq4.js +0 -3
  245. package/dist/client/assets/powershell-u1gI72JX.js +0 -3
  246. package/dist/client/assets/prisma-HKQ5cqp8.js +0 -3
  247. package/dist/client/assets/prolog-BesjPHql.js +0 -3
  248. package/dist/client/assets/proto-AagVn4-5.js +0 -3
  249. package/dist/client/assets/pug-D9BazAbt.js +0 -11
  250. package/dist/client/assets/puppet-DH-RAFaa.js +0 -3
  251. package/dist/client/assets/purescript-DfNGfmFP.js +0 -3
  252. package/dist/client/assets/python-BmLHvQtk.js +0 -2
  253. package/dist/client/assets/python-Dn88StJc.js +0 -3
  254. package/dist/client/assets/qml-Dsl5qRow.js +0 -4
  255. package/dist/client/assets/qmldir-DDMrTfWZ.js +0 -3
  256. package/dist/client/assets/qss-CHdy7svE.js +0 -3
  257. package/dist/client/assets/r-CbolghQs.js +0 -2
  258. package/dist/client/assets/r-DT24G0Sx.js +0 -3
  259. package/dist/client/assets/racket-B79KAvJY.js +0 -3
  260. package/dist/client/assets/raku-CTMhaGVX.js +0 -3
  261. package/dist/client/assets/razor-BjH6275R.js +0 -11
  262. package/dist/client/assets/red-CEj0QRPt.js +0 -2
  263. package/dist/client/assets/reg-Cypx77mL.js +0 -3
  264. package/dist/client/assets/regexp-ClZtLNbS.js +0 -3
  265. package/dist/client/assets/regexp-DJtnbMg9.js +0 -2
  266. package/dist/client/assets/rel-BpE3syVu.js +0 -3
  267. package/dist/client/assets/riscv-DyE_5IvB.js +0 -3
  268. package/dist/client/assets/rose-pine-6IUiFzUI.js +0 -2
  269. package/dist/client/assets/rose-pine-dawn-DoRlotcg.js +0 -2
  270. package/dist/client/assets/rose-pine-moon-B5Df1HyW.js +0 -2
  271. package/dist/client/assets/rosmsg-CIAJEgNV.js +0 -3
  272. package/dist/client/assets/rst-Pxh4TKKn.js +0 -35
  273. package/dist/client/assets/ruby-CAlvFaP5.js +0 -29
  274. package/dist/client/assets/ruby-Y14tynbZ.js +0 -20
  275. package/dist/client/assets/rust-DJhGYCa5.js +0 -3
  276. package/dist/client/assets/sas-BQQp9-K3.js +0 -4
  277. package/dist/client/assets/sass-DeLGkK3L.js +0 -3
  278. package/dist/client/assets/scala-cReyE3Yh.js +0 -3
  279. package/dist/client/assets/scheme-B1Lo-75f.js +0 -3
  280. package/dist/client/assets/scss-BP3WrVDm.js +0 -3
  281. package/dist/client/assets/scss-CJyb8K_U.js +0 -4
  282. package/dist/client/assets/sdbl-BKlGfwqV.js +0 -3
  283. package/dist/client/assets/sdbl-CLmP1IYn.js +0 -2
  284. package/dist/client/assets/server-router-BPUoghL2.js +0 -8930
  285. package/dist/client/assets/shaderlab-C8C8_BgV.js +0 -4
  286. package/dist/client/assets/shellscript-Bd0FHBYA.js +0 -2
  287. package/dist/client/assets/shellscript-DsF2JDJS.js +0 -3
  288. package/dist/client/assets/shellsession-YAJaKmo5.js +0 -4
  289. package/dist/client/assets/slack-dark-BmjvCrQc.js +0 -2
  290. package/dist/client/assets/slack-ochin-PXT7PX3o.js +0 -2
  291. package/dist/client/assets/smalltalk-B3peVJF-.js +0 -3
  292. package/dist/client/assets/snazzy-light-DJv4SeqQ.js +0 -2
  293. package/dist/client/assets/solarized-dark-BvCiP_16.js +0 -2
  294. package/dist/client/assets/solarized-light-Bcu-a8JZ.js +0 -2
  295. package/dist/client/assets/solidity-2avG4OxK.js +0 -3
  296. package/dist/client/assets/soy-BwO6v7SS.js +0 -6
  297. package/dist/client/assets/sparql-Ctv9JmsW.js +0 -4
  298. package/dist/client/assets/splunk-UTnMmJ7Q.js +0 -3
  299. package/dist/client/assets/sql-DJRi7-HS.js +0 -3
  300. package/dist/client/assets/sql-DxeQhHVR.js +0 -2
  301. package/dist/client/assets/ssh-config-Du7ucyU5.js +0 -3
  302. package/dist/client/assets/stata-CBQSMhJu.js +0 -4
  303. package/dist/client/assets/stylus-BcbGHyGm.js +0 -2
  304. package/dist/client/assets/stylus-ESl0ir-D.js +0 -3
  305. package/dist/client/assets/svelte-C7A5FsG_.js +0 -13
  306. package/dist/client/assets/swift-BEUwwDAA.js +0 -3
  307. package/dist/client/assets/synthwave-84-BIVTX2kK.js +0 -2
  308. package/dist/client/assets/system-verilog-jIIGzizp.js +0 -3
  309. package/dist/client/assets/systemd-Do-I7Dk6.js +0 -3
  310. package/dist/client/assets/talonscript-B8BQ8lUi.js +0 -3
  311. package/dist/client/assets/tasl-Yr56vlbD.js +0 -3
  312. package/dist/client/assets/tcl-DHCz_jpi.js +0 -3
  313. package/dist/client/assets/templ-Dan_9-H5.js +0 -11
  314. package/dist/client/assets/terraform-CFJJDCa4.js +0 -3
  315. package/dist/client/assets/tex-CrNYpU8F.js +0 -3
  316. package/dist/client/assets/tex-DQvqQIPT.js +0 -4
  317. package/dist/client/assets/tokyo-night-C-8sx9_4.js +0 -2
  318. package/dist/client/assets/toml-CBSc9ib7.js +0 -3
  319. package/dist/client/assets/ts-tags-BSSXKo8m.js +0 -49
  320. package/dist/client/assets/tsv-B0JD-xkP.js +0 -3
  321. package/dist/client/assets/tsx-BV_Ie_mt.js +0 -3
  322. package/dist/client/assets/tsx-BzJMQxCY.js +0 -2
  323. package/dist/client/assets/turtle-kxVyEHLU.js +0 -3
  324. package/dist/client/assets/turtle-vZsG0FWM.js +0 -2
  325. package/dist/client/assets/twig-CUV6hi0h.js +0 -34
  326. package/dist/client/assets/typescript-Crma8FE2.js +0 -3
  327. package/dist/client/assets/typescript-nzfneafv.js +0 -2
  328. package/dist/client/assets/typespec-DCuJQu6m.js +0 -3
  329. package/dist/client/assets/typst-BDgLoDzV.js +0 -3
  330. package/dist/client/assets/v-DMA-YYXE.js +0 -3
  331. package/dist/client/assets/vala-BtBKHkJB.js +0 -3
  332. package/dist/client/assets/vb-CyVTXibQ.js +0 -3
  333. package/dist/client/assets/verilog-CC_Yo3jQ.js +0 -3
  334. package/dist/client/assets/vesper-BLuvFGfg.js +0 -2
  335. package/dist/client/assets/vhdl-C7ADyr0o.js +0 -3
  336. package/dist/client/assets/viml-hax2M4w6.js +0 -3
  337. package/dist/client/assets/vitesse-black-58mZKXM9.js +0 -2
  338. package/dist/client/assets/vue-BuGHx9kw.js +0 -8
  339. package/dist/client/assets/vue-CahofuY8.js +0 -29
  340. package/dist/client/assets/vue-html-B9xEgjjB.js +0 -14
  341. package/dist/client/assets/vue-vine-B9sh5nZz.js +0 -23
  342. package/dist/client/assets/vyper-BDpDemAA.js +0 -3
  343. package/dist/client/assets/wasm-BuJrhBgW.js +0 -5
  344. package/dist/client/assets/wasm-C9wAFEif.js +0 -3
  345. package/dist/client/assets/wenyan-DSsQqdmG.js +0 -3
  346. package/dist/client/assets/wgsl-CMOam7bY.js +0 -3
  347. package/dist/client/assets/wikitext-BqkWeRVY.js +0 -3
  348. package/dist/client/assets/wit-CHHZn0fR.js +0 -3
  349. package/dist/client/assets/wolfram-DhJOgCbz.js +0 -3
  350. package/dist/client/assets/xml-dAX-08G9.js +0 -4
  351. package/dist/client/assets/xml-yLaOmctb.js +0 -3
  352. package/dist/client/assets/xsl-mTp08Xh_.js +0 -5
  353. package/dist/client/assets/yaml-C5_iem5C.js +0 -2
  354. package/dist/client/assets/yaml-CN2n3pDD.js +0 -3
  355. package/dist/client/assets/zenscript-BmWf_m5U.js +0 -3
  356. package/dist/client/assets/zig-QOlp4jTZ.js +0 -3
  357. package/dist/dirs.js +0 -3
  358. /package/dist/client/assets/{vitesse-dark-BE2jsHp9.js → vitesse-dark-Bz6RXfkV.js} +0 -0
  359. /package/dist/client/assets/{vitesse-light-Bko17iRe.js → vitesse-light-NvDlvJl2.js} +0 -0
  360. /package/dist/{constants.d.ts → constants.d.mts} +0 -0
  361. /package/dist/{constants.js → constants.mjs} +0 -0
  362. /package/dist/{dirs.d.ts → dirs.d.mts} +0 -0
  363. /package/dist/{dirs2.js → dirs2.mjs} +0 -0
  364. /package/dist/{index.d.ts → index.d.mts} +0 -0
  365. /package/dist/panel/{index.d.ts → index.d.mts} +0 -0
@@ -0,0 +1,991 @@
1
+ import { B as effectScope, C as nextTick, F as watch, G as readonly, H as isRef, J as shallowRef, K as ref, T as onMounted, U as onScopeDispose, V as getCurrentScope, X as toValue, Y as toRef$1, Z as unref, _ as defineComponent, q as shallowReadonly, u as computed, v as getCurrentInstance, z as customRef } from "./index-Cn9-H915.js";
2
+ function tryOnScopeDispose(fn, failSilently) {
3
+ if (getCurrentScope()) {
4
+ onScopeDispose(fn, failSilently);
5
+ return true;
6
+ }
7
+ return false;
8
+ }
9
+ function createEventHook() {
10
+ const fns = /* @__PURE__ */ new Set();
11
+ const off = (fn) => {
12
+ fns.delete(fn);
13
+ };
14
+ const clear = () => {
15
+ fns.clear();
16
+ };
17
+ const on = (fn) => {
18
+ fns.add(fn);
19
+ const offFn = () => off(fn);
20
+ tryOnScopeDispose(offFn);
21
+ return { off: offFn };
22
+ };
23
+ const trigger = (...args) => {
24
+ return Promise.all(Array.from(fns).map((fn) => fn(...args)));
25
+ };
26
+ return {
27
+ on,
28
+ off,
29
+ trigger,
30
+ clear
31
+ };
32
+ }
33
+ var isClient = typeof window !== "undefined" && typeof document !== "undefined";
34
+ typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
35
+ var isDef = (val) => typeof val !== "undefined";
36
+ var toString = Object.prototype.toString;
37
+ var isObject = (val) => toString.call(val) === "[object Object]";
38
+ var noop = () => {};
39
+ var isIOS = /* @__PURE__ */ getIsIOS();
40
+ function getIsIOS() {
41
+ var _window, _window2, _window3;
42
+ return isClient && !!((_window = window) === null || _window === void 0 || (_window = _window.navigator) === null || _window === void 0 ? void 0 : _window.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.navigator) === null || _window2 === void 0 ? void 0 : _window2.maxTouchPoints) > 2 && /iPad|Macintosh/.test((_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.navigator.userAgent));
43
+ }
44
+ function toRef(...args) {
45
+ if (args.length !== 1) return toRef$1(...args);
46
+ const r = args[0];
47
+ return typeof r === "function" ? readonly(customRef(() => ({
48
+ get: r,
49
+ set: noop
50
+ }))) : ref(r);
51
+ }
52
+ function createFilterWrapper(filter, fn) {
53
+ function wrapper(...args) {
54
+ return new Promise((resolve, reject) => {
55
+ Promise.resolve(filter(() => fn.apply(this, args), {
56
+ fn,
57
+ thisArg: this,
58
+ args
59
+ })).then(resolve).catch(reject);
60
+ });
61
+ }
62
+ return wrapper;
63
+ }
64
+ var bypassFilter = (invoke$1) => {
65
+ return invoke$1();
66
+ };
67
+ function pausableFilter(extendFilter = bypassFilter, options = {}) {
68
+ const { initialState = "active" } = options;
69
+ const isActive = toRef(initialState === "active");
70
+ function pause() {
71
+ isActive.value = false;
72
+ }
73
+ function resume() {
74
+ isActive.value = true;
75
+ }
76
+ const eventFilter = (...args) => {
77
+ if (isActive.value) extendFilter(...args);
78
+ };
79
+ return {
80
+ isActive: readonly(isActive),
81
+ pause,
82
+ resume,
83
+ eventFilter
84
+ };
85
+ }
86
+ function promiseTimeout(ms, throwOnTimeout = false, reason = "Timeout") {
87
+ return new Promise((resolve, reject) => {
88
+ if (throwOnTimeout) setTimeout(() => reject(reason), ms);
89
+ else setTimeout(resolve, ms);
90
+ });
91
+ }
92
+ function containsProp(obj, ...props) {
93
+ return props.some((k) => k in obj);
94
+ }
95
+ function toArray(value) {
96
+ return Array.isArray(value) ? value : [value];
97
+ }
98
+ function cacheStringFunction(fn) {
99
+ const cache = Object.create(null);
100
+ return ((str) => {
101
+ return cache[str] || (cache[str] = fn(str));
102
+ });
103
+ }
104
+ var hyphenateRE = /\B([A-Z])/g;
105
+ cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
106
+ var camelizeRE = /-(\w)/g;
107
+ var camelize = cacheStringFunction((str) => {
108
+ return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
109
+ });
110
+ function getLifeCycleTarget(target) {
111
+ return target || getCurrentInstance();
112
+ }
113
+ function createSharedComposable(composable) {
114
+ if (!isClient) return composable;
115
+ let subscribers = 0;
116
+ let state;
117
+ let scope;
118
+ const dispose = () => {
119
+ subscribers -= 1;
120
+ if (scope && subscribers <= 0) {
121
+ scope.stop();
122
+ state = void 0;
123
+ scope = void 0;
124
+ }
125
+ };
126
+ return ((...args) => {
127
+ subscribers += 1;
128
+ if (!scope) {
129
+ scope = effectScope(true);
130
+ state = scope.run(() => composable(...args));
131
+ }
132
+ tryOnScopeDispose(dispose);
133
+ return state;
134
+ });
135
+ }
136
+ /* @__NO_SIDE_EFFECTS__ */
137
+ function makeDestructurable(obj, arr) {
138
+ if (typeof Symbol !== "undefined") {
139
+ const clone = { ...obj };
140
+ Object.defineProperty(clone, Symbol.iterator, {
141
+ enumerable: false,
142
+ value() {
143
+ let index = 0;
144
+ return { next: () => ({
145
+ value: arr[index++],
146
+ done: index > arr.length
147
+ }) };
148
+ }
149
+ });
150
+ return clone;
151
+ } else return Object.assign([...arr], obj);
152
+ }
153
+ function watchWithFilter(source, cb, options = {}) {
154
+ const { eventFilter = bypassFilter, ...watchOptions } = options;
155
+ return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);
156
+ }
157
+ function watchPausable(source, cb, options = {}) {
158
+ const { eventFilter: filter, initialState = "active", ...watchOptions } = options;
159
+ const { eventFilter, pause, resume, isActive } = pausableFilter(filter, { initialState });
160
+ return {
161
+ stop: watchWithFilter(source, cb, {
162
+ ...watchOptions,
163
+ eventFilter
164
+ }),
165
+ pause,
166
+ resume,
167
+ isActive
168
+ };
169
+ }
170
+ var pausableWatch = watchPausable;
171
+ function tryOnMounted(fn, sync = true, target) {
172
+ if (getLifeCycleTarget(target)) onMounted(fn, target);
173
+ else if (sync) fn();
174
+ else nextTick(fn);
175
+ }
176
+ function createUntil(r, isNot = false) {
177
+ function toMatch(condition, { flush = "sync", deep = false, timeout, throwOnTimeout } = {}) {
178
+ let stop = null;
179
+ const promises = [new Promise((resolve) => {
180
+ stop = watch(r, (v) => {
181
+ if (condition(v) !== isNot) {
182
+ if (stop) stop();
183
+ else nextTick(() => stop === null || stop === void 0 ? void 0 : stop());
184
+ resolve(v);
185
+ }
186
+ }, {
187
+ flush,
188
+ deep,
189
+ immediate: true
190
+ });
191
+ })];
192
+ if (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop === null || stop === void 0 ? void 0 : stop()));
193
+ return Promise.race(promises);
194
+ }
195
+ function toBe(value, options) {
196
+ if (!isRef(value)) return toMatch((v) => v === value, options);
197
+ const { flush = "sync", deep = false, timeout, throwOnTimeout } = options !== null && options !== void 0 ? options : {};
198
+ let stop = null;
199
+ const promises = [new Promise((resolve) => {
200
+ stop = watch([r, value], ([v1, v2]) => {
201
+ if (isNot !== (v1 === v2)) {
202
+ if (stop) stop();
203
+ else nextTick(() => stop === null || stop === void 0 ? void 0 : stop());
204
+ resolve(v1);
205
+ }
206
+ }, {
207
+ flush,
208
+ deep,
209
+ immediate: true
210
+ });
211
+ })];
212
+ if (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => {
213
+ stop === null || stop === void 0 || stop();
214
+ return toValue(r);
215
+ }));
216
+ return Promise.race(promises);
217
+ }
218
+ function toBeTruthy(options) {
219
+ return toMatch((v) => Boolean(v), options);
220
+ }
221
+ function toBeNull(options) {
222
+ return toBe(null, options);
223
+ }
224
+ function toBeUndefined(options) {
225
+ return toBe(void 0, options);
226
+ }
227
+ function toBeNaN(options) {
228
+ return toMatch(Number.isNaN, options);
229
+ }
230
+ function toContains(value, options) {
231
+ return toMatch((v) => {
232
+ const array = Array.from(v);
233
+ return array.includes(value) || array.includes(toValue(value));
234
+ }, options);
235
+ }
236
+ function changed(options) {
237
+ return changedTimes(1, options);
238
+ }
239
+ function changedTimes(n = 1, options) {
240
+ let count = -1;
241
+ return toMatch(() => {
242
+ count += 1;
243
+ return count >= n;
244
+ }, options);
245
+ }
246
+ if (Array.isArray(toValue(r))) return {
247
+ toMatch,
248
+ toContains,
249
+ changed,
250
+ changedTimes,
251
+ get not() {
252
+ return createUntil(r, !isNot);
253
+ }
254
+ };
255
+ else return {
256
+ toMatch,
257
+ toBe,
258
+ toBeTruthy,
259
+ toBeNull,
260
+ toBeNaN,
261
+ toBeUndefined,
262
+ changed,
263
+ changedTimes,
264
+ get not() {
265
+ return createUntil(r, !isNot);
266
+ }
267
+ };
268
+ }
269
+ function until(r) {
270
+ return createUntil(r);
271
+ }
272
+ function useTimeoutFn(cb, interval, options = {}) {
273
+ const { immediate = true, immediateCallback = false } = options;
274
+ const isPending = shallowRef(false);
275
+ let timer;
276
+ function clear() {
277
+ if (timer) {
278
+ clearTimeout(timer);
279
+ timer = void 0;
280
+ }
281
+ }
282
+ function stop() {
283
+ isPending.value = false;
284
+ clear();
285
+ }
286
+ function start(...args) {
287
+ if (immediateCallback) cb();
288
+ clear();
289
+ isPending.value = true;
290
+ timer = setTimeout(() => {
291
+ isPending.value = false;
292
+ timer = void 0;
293
+ cb(...args);
294
+ }, toValue(interval));
295
+ }
296
+ if (immediate) {
297
+ isPending.value = true;
298
+ if (isClient) start();
299
+ }
300
+ tryOnScopeDispose(stop);
301
+ return {
302
+ isPending: shallowReadonly(isPending),
303
+ start,
304
+ stop
305
+ };
306
+ }
307
+ function watchImmediate(source, cb, options) {
308
+ return watch(source, cb, {
309
+ ...options,
310
+ immediate: true
311
+ });
312
+ }
313
+ function createReusableTemplate(options = {}) {
314
+ const { inheritAttrs = true } = options;
315
+ const render = shallowRef();
316
+ const define = defineComponent({ setup(_, { slots }) {
317
+ return () => {
318
+ render.value = slots.default;
319
+ };
320
+ } });
321
+ const reuse = defineComponent({
322
+ inheritAttrs,
323
+ props: options.props,
324
+ setup(props, { attrs, slots }) {
325
+ return () => {
326
+ var _render$value;
327
+ if (!render.value && true) throw new Error("[VueUse] Failed to find the definition of reusable template");
328
+ const vnode = (_render$value = render.value) === null || _render$value === void 0 ? void 0 : _render$value.call(render, {
329
+ ...options.props == null ? keysToCamelKebabCase(attrs) : props,
330
+ $slots: slots
331
+ });
332
+ return inheritAttrs && (vnode === null || vnode === void 0 ? void 0 : vnode.length) === 1 ? vnode[0] : vnode;
333
+ };
334
+ }
335
+ });
336
+ return /* @__PURE__ */ makeDestructurable({
337
+ define,
338
+ reuse
339
+ }, [define, reuse]);
340
+ }
341
+ function keysToCamelKebabCase(obj) {
342
+ const newObj = {};
343
+ for (const key in obj) newObj[camelize(key)] = obj[key];
344
+ return newObj;
345
+ }
346
+ var defaultWindow = isClient ? window : void 0;
347
+ isClient && window.document;
348
+ isClient && window.navigator;
349
+ isClient && window.location;
350
+ function unrefElement(elRef) {
351
+ var _$el;
352
+ const plain = toValue(elRef);
353
+ return (_$el = plain === null || plain === void 0 ? void 0 : plain.$el) !== null && _$el !== void 0 ? _$el : plain;
354
+ }
355
+ function useEventListener(...args) {
356
+ const register = (el, event, listener, options) => {
357
+ el.addEventListener(event, listener, options);
358
+ return () => el.removeEventListener(event, listener, options);
359
+ };
360
+ const firstParamTargets = computed(() => {
361
+ const test = toArray(toValue(args[0])).filter((e) => e != null);
362
+ return test.every((e) => typeof e !== "string") ? test : void 0;
363
+ });
364
+ return watchImmediate(() => {
365
+ var _firstParamTargets$va, _firstParamTargets$va2;
366
+ return [
367
+ (_firstParamTargets$va = (_firstParamTargets$va2 = firstParamTargets.value) === null || _firstParamTargets$va2 === void 0 ? void 0 : _firstParamTargets$va2.map((e) => unrefElement(e))) !== null && _firstParamTargets$va !== void 0 ? _firstParamTargets$va : [defaultWindow].filter((e) => e != null),
368
+ toArray(toValue(firstParamTargets.value ? args[1] : args[0])),
369
+ toArray(unref(firstParamTargets.value ? args[2] : args[1])),
370
+ toValue(firstParamTargets.value ? args[3] : args[2])
371
+ ];
372
+ }, ([raw_targets, raw_events, raw_listeners, raw_options], _, onCleanup) => {
373
+ if (!(raw_targets === null || raw_targets === void 0 ? void 0 : raw_targets.length) || !(raw_events === null || raw_events === void 0 ? void 0 : raw_events.length) || !(raw_listeners === null || raw_listeners === void 0 ? void 0 : raw_listeners.length)) return;
374
+ const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
375
+ const cleanups = raw_targets.flatMap((el) => raw_events.flatMap((event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))));
376
+ onCleanup(() => {
377
+ cleanups.forEach((fn) => fn());
378
+ });
379
+ }, { flush: "post" });
380
+ }
381
+ var _iOSWorkaround = false;
382
+ function onClickOutside(target, handler, options = {}) {
383
+ const { window: window$1 = defaultWindow, ignore = [], capture = true, detectIframe = false, controls = false } = options;
384
+ if (!window$1) return controls ? {
385
+ stop: noop,
386
+ cancel: noop,
387
+ trigger: noop
388
+ } : noop;
389
+ if (isIOS && !_iOSWorkaround) {
390
+ _iOSWorkaround = true;
391
+ const listenerOptions = { passive: true };
392
+ Array.from(window$1.document.body.children).forEach((el) => el.addEventListener("click", noop, listenerOptions));
393
+ window$1.document.documentElement.addEventListener("click", noop, listenerOptions);
394
+ }
395
+ let shouldListen = true;
396
+ const shouldIgnore = (event) => {
397
+ return toValue(ignore).some((target$1) => {
398
+ if (typeof target$1 === "string") return Array.from(window$1.document.querySelectorAll(target$1)).some((el) => el === event.target || event.composedPath().includes(el));
399
+ else {
400
+ const el = unrefElement(target$1);
401
+ return el && (event.target === el || event.composedPath().includes(el));
402
+ }
403
+ });
404
+ };
405
+ function hasMultipleRoots(target$1) {
406
+ const vm = toValue(target$1);
407
+ return vm && vm.$.subTree.shapeFlag === 16;
408
+ }
409
+ function checkMultipleRoots(target$1, event) {
410
+ const vm = toValue(target$1);
411
+ const children = vm.$.subTree && vm.$.subTree.children;
412
+ if (children == null || !Array.isArray(children)) return false;
413
+ return children.some((child) => child.el === event.target || event.composedPath().includes(child.el));
414
+ }
415
+ const listener = (event) => {
416
+ const el = unrefElement(target);
417
+ if (event.target == null) return;
418
+ if (!(el instanceof Element) && hasMultipleRoots(target) && checkMultipleRoots(target, event)) return;
419
+ if (!el || el === event.target || event.composedPath().includes(el)) return;
420
+ if ("detail" in event && event.detail === 0) shouldListen = !shouldIgnore(event);
421
+ if (!shouldListen) {
422
+ shouldListen = true;
423
+ return;
424
+ }
425
+ handler(event);
426
+ };
427
+ let isProcessingClick = false;
428
+ const cleanup = [
429
+ useEventListener(window$1, "click", (event) => {
430
+ if (!isProcessingClick) {
431
+ isProcessingClick = true;
432
+ setTimeout(() => {
433
+ isProcessingClick = false;
434
+ }, 0);
435
+ listener(event);
436
+ }
437
+ }, {
438
+ passive: true,
439
+ capture
440
+ }),
441
+ useEventListener(window$1, "pointerdown", (e) => {
442
+ const el = unrefElement(target);
443
+ shouldListen = !shouldIgnore(e) && !!(el && !e.composedPath().includes(el));
444
+ }, { passive: true }),
445
+ detectIframe && useEventListener(window$1, "blur", (event) => {
446
+ setTimeout(() => {
447
+ var _window$document$acti;
448
+ const el = unrefElement(target);
449
+ if (((_window$document$acti = window$1.document.activeElement) === null || _window$document$acti === void 0 ? void 0 : _window$document$acti.tagName) === "IFRAME" && !(el === null || el === void 0 ? void 0 : el.contains(window$1.document.activeElement))) handler(event);
450
+ }, 0);
451
+ }, { passive: true })
452
+ ].filter(Boolean);
453
+ const stop = () => cleanup.forEach((fn) => fn());
454
+ if (controls) return {
455
+ stop,
456
+ cancel: () => {
457
+ shouldListen = false;
458
+ },
459
+ trigger: (event) => {
460
+ shouldListen = true;
461
+ listener(event);
462
+ shouldListen = false;
463
+ }
464
+ };
465
+ return stop;
466
+ }
467
+ function useMounted() {
468
+ const isMounted = shallowRef(false);
469
+ const instance = getCurrentInstance();
470
+ if (instance) onMounted(() => {
471
+ isMounted.value = true;
472
+ }, instance);
473
+ return isMounted;
474
+ }
475
+ /* @__NO_SIDE_EFFECTS__ */
476
+ function useSupported(callback) {
477
+ const isMounted = useMounted();
478
+ return computed(() => {
479
+ isMounted.value;
480
+ return Boolean(callback());
481
+ });
482
+ }
483
+ function cloneFnJSON(source) {
484
+ return JSON.parse(JSON.stringify(source));
485
+ }
486
+ var _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
487
+ var globalKey = "__vueuse_ssr_handlers__";
488
+ var handlers = /* @__PURE__ */ getHandlers();
489
+ function getHandlers() {
490
+ if (!(globalKey in _global)) _global[globalKey] = _global[globalKey] || {};
491
+ return _global[globalKey];
492
+ }
493
+ function getSSRHandler(key, fallback) {
494
+ return handlers[key] || fallback;
495
+ }
496
+ function guessSerializerType(rawInit) {
497
+ return rawInit == null ? "any" : rawInit instanceof Set ? "set" : rawInit instanceof Map ? "map" : rawInit instanceof Date ? "date" : typeof rawInit === "boolean" ? "boolean" : typeof rawInit === "string" ? "string" : typeof rawInit === "object" ? "object" : !Number.isNaN(rawInit) ? "number" : "any";
498
+ }
499
+ var StorageSerializers = {
500
+ boolean: {
501
+ read: (v) => v === "true",
502
+ write: (v) => String(v)
503
+ },
504
+ object: {
505
+ read: (v) => JSON.parse(v),
506
+ write: (v) => JSON.stringify(v)
507
+ },
508
+ number: {
509
+ read: (v) => Number.parseFloat(v),
510
+ write: (v) => String(v)
511
+ },
512
+ any: {
513
+ read: (v) => v,
514
+ write: (v) => String(v)
515
+ },
516
+ string: {
517
+ read: (v) => v,
518
+ write: (v) => String(v)
519
+ },
520
+ map: {
521
+ read: (v) => new Map(JSON.parse(v)),
522
+ write: (v) => JSON.stringify(Array.from(v.entries()))
523
+ },
524
+ set: {
525
+ read: (v) => new Set(JSON.parse(v)),
526
+ write: (v) => JSON.stringify(Array.from(v))
527
+ },
528
+ date: {
529
+ read: (v) => new Date(v),
530
+ write: (v) => v.toISOString()
531
+ }
532
+ };
533
+ var customStorageEventName = "vueuse-storage";
534
+ function useStorage(key, defaults$1, storage, options = {}) {
535
+ var _options$serializer;
536
+ const { flush = "pre", deep = true, listenToStorageChanges = true, writeDefaults = true, mergeDefaults = false, shallow, window: window$1 = defaultWindow, eventFilter, onError = (e) => {
537
+ console.error(e);
538
+ }, initOnMounted } = options;
539
+ const data = (shallow ? shallowRef : ref)(typeof defaults$1 === "function" ? defaults$1() : defaults$1);
540
+ const keyComputed = computed(() => toValue(key));
541
+ if (!storage) try {
542
+ storage = getSSRHandler("getDefaultStorage", () => defaultWindow === null || defaultWindow === void 0 ? void 0 : defaultWindow.localStorage)();
543
+ } catch (e) {
544
+ onError(e);
545
+ }
546
+ if (!storage) return data;
547
+ const rawInit = toValue(defaults$1);
548
+ const type = guessSerializerType(rawInit);
549
+ const serializer = (_options$serializer = options.serializer) !== null && _options$serializer !== void 0 ? _options$serializer : StorageSerializers[type];
550
+ const { pause: pauseWatch, resume: resumeWatch } = pausableWatch(data, (newValue) => write(newValue), {
551
+ flush,
552
+ deep,
553
+ eventFilter
554
+ });
555
+ watch(keyComputed, () => update(), { flush });
556
+ let firstMounted = false;
557
+ const onStorageEvent = (ev) => {
558
+ if (initOnMounted && !firstMounted) return;
559
+ update(ev);
560
+ };
561
+ const onStorageCustomEvent = (ev) => {
562
+ if (initOnMounted && !firstMounted) return;
563
+ updateFromCustomEvent(ev);
564
+ };
565
+ if (window$1 && listenToStorageChanges) if (storage instanceof Storage) useEventListener(window$1, "storage", onStorageEvent, { passive: true });
566
+ else useEventListener(window$1, customStorageEventName, onStorageCustomEvent);
567
+ if (initOnMounted) tryOnMounted(() => {
568
+ firstMounted = true;
569
+ update();
570
+ });
571
+ else update();
572
+ function dispatchWriteEvent(oldValue, newValue) {
573
+ if (window$1) {
574
+ const payload = {
575
+ key: keyComputed.value,
576
+ oldValue,
577
+ newValue,
578
+ storageArea: storage
579
+ };
580
+ window$1.dispatchEvent(storage instanceof Storage ? new StorageEvent("storage", payload) : new CustomEvent(customStorageEventName, { detail: payload }));
581
+ }
582
+ }
583
+ function write(v) {
584
+ try {
585
+ const oldValue = storage.getItem(keyComputed.value);
586
+ if (v == null) {
587
+ dispatchWriteEvent(oldValue, null);
588
+ storage.removeItem(keyComputed.value);
589
+ } else {
590
+ const serialized = serializer.write(v);
591
+ if (oldValue !== serialized) {
592
+ storage.setItem(keyComputed.value, serialized);
593
+ dispatchWriteEvent(oldValue, serialized);
594
+ }
595
+ }
596
+ } catch (e) {
597
+ onError(e);
598
+ }
599
+ }
600
+ function read(event) {
601
+ const rawValue = event ? event.newValue : storage.getItem(keyComputed.value);
602
+ if (rawValue == null) {
603
+ if (writeDefaults && rawInit != null) storage.setItem(keyComputed.value, serializer.write(rawInit));
604
+ return rawInit;
605
+ } else if (!event && mergeDefaults) {
606
+ const value = serializer.read(rawValue);
607
+ if (typeof mergeDefaults === "function") return mergeDefaults(value, rawInit);
608
+ else if (type === "object" && !Array.isArray(value)) return {
609
+ ...rawInit,
610
+ ...value
611
+ };
612
+ return value;
613
+ } else if (typeof rawValue !== "string") return rawValue;
614
+ else return serializer.read(rawValue);
615
+ }
616
+ function update(event) {
617
+ if (event && event.storageArea !== storage) return;
618
+ if (event && event.key == null) {
619
+ data.value = rawInit;
620
+ return;
621
+ }
622
+ if (event && event.key !== keyComputed.value) return;
623
+ pauseWatch();
624
+ try {
625
+ const serializedData = serializer.write(data.value);
626
+ if (event === void 0 || (event === null || event === void 0 ? void 0 : event.newValue) !== serializedData) data.value = read(event);
627
+ } catch (e) {
628
+ onError(e);
629
+ } finally {
630
+ if (event) nextTick(resumeWatch);
631
+ else resumeWatch();
632
+ }
633
+ }
634
+ function updateFromCustomEvent(event) {
635
+ update(event.detail);
636
+ }
637
+ return data;
638
+ }
639
+ function useResizeObserver(target, callback, options = {}) {
640
+ const { window: window$1 = defaultWindow, ...observerOptions } = options;
641
+ let observer;
642
+ const isSupported = /* @__PURE__ */ useSupported(() => window$1 && "ResizeObserver" in window$1);
643
+ const cleanup = () => {
644
+ if (observer) {
645
+ observer.disconnect();
646
+ observer = void 0;
647
+ }
648
+ };
649
+ const stopWatch = watch(computed(() => {
650
+ const _targets = toValue(target);
651
+ return Array.isArray(_targets) ? _targets.map((el) => unrefElement(el)) : [unrefElement(_targets)];
652
+ }), (els) => {
653
+ cleanup();
654
+ if (isSupported.value && window$1) {
655
+ observer = new ResizeObserver(callback);
656
+ for (const _el of els) if (_el) observer.observe(_el, observerOptions);
657
+ }
658
+ }, {
659
+ immediate: true,
660
+ flush: "post"
661
+ });
662
+ const stop = () => {
663
+ cleanup();
664
+ stopWatch();
665
+ };
666
+ tryOnScopeDispose(stop);
667
+ return {
668
+ isSupported,
669
+ stop
670
+ };
671
+ }
672
+ function useElementSize(target, initialSize = {
673
+ width: 0,
674
+ height: 0
675
+ }, options = {}) {
676
+ const { window: window$1 = defaultWindow, box = "content-box" } = options;
677
+ const isSVG = computed(() => {
678
+ var _unrefElement;
679
+ return (_unrefElement = unrefElement(target)) === null || _unrefElement === void 0 || (_unrefElement = _unrefElement.namespaceURI) === null || _unrefElement === void 0 ? void 0 : _unrefElement.includes("svg");
680
+ });
681
+ const width = shallowRef(initialSize.width);
682
+ const height = shallowRef(initialSize.height);
683
+ const { stop: stop1 } = useResizeObserver(target, ([entry]) => {
684
+ const boxSize = box === "border-box" ? entry.borderBoxSize : box === "content-box" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;
685
+ if (window$1 && isSVG.value) {
686
+ const $elem = unrefElement(target);
687
+ if ($elem) {
688
+ const rect = $elem.getBoundingClientRect();
689
+ width.value = rect.width;
690
+ height.value = rect.height;
691
+ }
692
+ } else if (boxSize) {
693
+ const formatBoxSize = toArray(boxSize);
694
+ width.value = formatBoxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0);
695
+ height.value = formatBoxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);
696
+ } else {
697
+ width.value = entry.contentRect.width;
698
+ height.value = entry.contentRect.height;
699
+ }
700
+ }, options);
701
+ tryOnMounted(() => {
702
+ const ele = unrefElement(target);
703
+ if (ele) {
704
+ width.value = "offsetWidth" in ele ? ele.offsetWidth : initialSize.width;
705
+ height.value = "offsetHeight" in ele ? ele.offsetHeight : initialSize.height;
706
+ }
707
+ });
708
+ const stop2 = watch(() => unrefElement(target), (ele) => {
709
+ width.value = ele ? initialSize.width : 0;
710
+ height.value = ele ? initialSize.height : 0;
711
+ });
712
+ function stop() {
713
+ stop1();
714
+ stop2();
715
+ }
716
+ return {
717
+ width,
718
+ height,
719
+ stop
720
+ };
721
+ }
722
+ var payloadMapping = {
723
+ json: "application/json",
724
+ text: "text/plain"
725
+ };
726
+ function isFetchOptions(obj) {
727
+ return obj && containsProp(obj, "immediate", "refetch", "initialData", "timeout", "beforeFetch", "afterFetch", "onFetchError", "fetch", "updateDataOnError");
728
+ }
729
+ function headersToObject(headers) {
730
+ if (typeof Headers !== "undefined" && headers instanceof Headers) return Object.fromEntries(headers.entries());
731
+ return headers;
732
+ }
733
+ function useFetch(url, ...args) {
734
+ var _defaultWindow$fetch, _globalThis;
735
+ const supportsAbort = typeof AbortController === "function";
736
+ let fetchOptions = {};
737
+ let options = {
738
+ immediate: true,
739
+ refetch: false,
740
+ timeout: 0,
741
+ updateDataOnError: false
742
+ };
743
+ const config = {
744
+ method: "GET",
745
+ type: "text",
746
+ payload: void 0
747
+ };
748
+ if (args.length > 0) if (isFetchOptions(args[0])) options = {
749
+ ...options,
750
+ ...args[0]
751
+ };
752
+ else fetchOptions = args[0];
753
+ if (args.length > 1) {
754
+ if (isFetchOptions(args[1])) options = {
755
+ ...options,
756
+ ...args[1]
757
+ };
758
+ }
759
+ const { fetch = (_defaultWindow$fetch = defaultWindow === null || defaultWindow === void 0 ? void 0 : defaultWindow.fetch) !== null && _defaultWindow$fetch !== void 0 ? _defaultWindow$fetch : (_globalThis = globalThis) === null || _globalThis === void 0 ? void 0 : _globalThis.fetch, initialData, timeout } = options;
760
+ const responseEvent = createEventHook();
761
+ const errorEvent = createEventHook();
762
+ const finallyEvent = createEventHook();
763
+ const isFinished = shallowRef(false);
764
+ const isFetching = shallowRef(false);
765
+ const aborted = shallowRef(false);
766
+ const statusCode = shallowRef(null);
767
+ const response = shallowRef(null);
768
+ const error = shallowRef(null);
769
+ const data = shallowRef(initialData || null);
770
+ const canAbort = computed(() => supportsAbort && isFetching.value);
771
+ let controller;
772
+ let timer;
773
+ const abort = (reason) => {
774
+ if (supportsAbort) {
775
+ controller === null || controller === void 0 || controller.abort(reason);
776
+ controller = new AbortController();
777
+ controller.signal.onabort = () => aborted.value = true;
778
+ fetchOptions = {
779
+ ...fetchOptions,
780
+ signal: controller.signal
781
+ };
782
+ }
783
+ };
784
+ const loading = (isLoading) => {
785
+ isFetching.value = isLoading;
786
+ isFinished.value = !isLoading;
787
+ };
788
+ if (timeout) timer = useTimeoutFn(abort, timeout, { immediate: false });
789
+ let executeCounter = 0;
790
+ const execute = async (throwOnFailed = false) => {
791
+ var _context$options;
792
+ abort();
793
+ loading(true);
794
+ error.value = null;
795
+ statusCode.value = null;
796
+ aborted.value = false;
797
+ executeCounter += 1;
798
+ const currentExecuteCounter = executeCounter;
799
+ const defaultFetchOptions = {
800
+ method: config.method,
801
+ headers: {}
802
+ };
803
+ const payload = toValue(config.payload);
804
+ if (payload) {
805
+ var _payloadMapping$confi;
806
+ const headers = headersToObject(defaultFetchOptions.headers);
807
+ const proto = Object.getPrototypeOf(payload);
808
+ if (!config.payloadType && payload && (proto === Object.prototype || Array.isArray(proto)) && !(payload instanceof FormData)) config.payloadType = "json";
809
+ if (config.payloadType) headers["Content-Type"] = (_payloadMapping$confi = payloadMapping[config.payloadType]) !== null && _payloadMapping$confi !== void 0 ? _payloadMapping$confi : config.payloadType;
810
+ defaultFetchOptions.body = config.payloadType === "json" ? JSON.stringify(payload) : payload;
811
+ }
812
+ let isCanceled = false;
813
+ const context = {
814
+ url: toValue(url),
815
+ options: {
816
+ ...defaultFetchOptions,
817
+ ...fetchOptions
818
+ },
819
+ cancel: () => {
820
+ isCanceled = true;
821
+ }
822
+ };
823
+ if (options.beforeFetch) Object.assign(context, await options.beforeFetch(context));
824
+ if (isCanceled || !fetch) {
825
+ loading(false);
826
+ return Promise.resolve(null);
827
+ }
828
+ let responseData = null;
829
+ if (timer) timer.start();
830
+ return fetch(context.url, {
831
+ ...defaultFetchOptions,
832
+ ...context.options,
833
+ headers: {
834
+ ...headersToObject(defaultFetchOptions.headers),
835
+ ...headersToObject((_context$options = context.options) === null || _context$options === void 0 ? void 0 : _context$options.headers)
836
+ }
837
+ }).then(async (fetchResponse) => {
838
+ response.value = fetchResponse;
839
+ statusCode.value = fetchResponse.status;
840
+ responseData = await fetchResponse.clone()[config.type]();
841
+ if (!fetchResponse.ok) {
842
+ data.value = initialData || null;
843
+ throw new Error(fetchResponse.statusText);
844
+ }
845
+ if (options.afterFetch) ({data: responseData} = await options.afterFetch({
846
+ data: responseData,
847
+ response: fetchResponse,
848
+ context,
849
+ execute
850
+ }));
851
+ data.value = responseData;
852
+ responseEvent.trigger(fetchResponse);
853
+ return fetchResponse;
854
+ }).catch(async (fetchError) => {
855
+ let errorData = fetchError.message || fetchError.name;
856
+ if (options.onFetchError) ({error: errorData, data: responseData} = await options.onFetchError({
857
+ data: responseData,
858
+ error: fetchError,
859
+ response: response.value,
860
+ context,
861
+ execute
862
+ }));
863
+ error.value = errorData;
864
+ if (options.updateDataOnError) data.value = responseData;
865
+ errorEvent.trigger(fetchError);
866
+ if (throwOnFailed) throw fetchError;
867
+ return null;
868
+ }).finally(() => {
869
+ if (currentExecuteCounter === executeCounter) loading(false);
870
+ if (timer) timer.stop();
871
+ finallyEvent.trigger(null);
872
+ });
873
+ };
874
+ const refetch = toRef(options.refetch);
875
+ watch([refetch, toRef(url)], ([refetch$1]) => refetch$1 && execute(), { deep: true });
876
+ const shell = {
877
+ isFinished: readonly(isFinished),
878
+ isFetching: readonly(isFetching),
879
+ statusCode,
880
+ response,
881
+ error,
882
+ data,
883
+ canAbort,
884
+ aborted,
885
+ abort,
886
+ execute,
887
+ onFetchResponse: responseEvent.on,
888
+ onFetchError: errorEvent.on,
889
+ onFetchFinally: finallyEvent.on,
890
+ get: setMethod("GET"),
891
+ put: setMethod("PUT"),
892
+ post: setMethod("POST"),
893
+ delete: setMethod("DELETE"),
894
+ patch: setMethod("PATCH"),
895
+ head: setMethod("HEAD"),
896
+ options: setMethod("OPTIONS"),
897
+ json: setType("json"),
898
+ text: setType("text"),
899
+ blob: setType("blob"),
900
+ arrayBuffer: setType("arrayBuffer"),
901
+ formData: setType("formData")
902
+ };
903
+ function setMethod(method) {
904
+ return (payload, payloadType) => {
905
+ if (!isFetching.value) {
906
+ config.method = method;
907
+ config.payload = payload;
908
+ config.payloadType = payloadType;
909
+ if (isRef(config.payload)) watch([refetch, toRef(config.payload)], ([refetch$1]) => refetch$1 && execute(), { deep: true });
910
+ return {
911
+ ...shell,
912
+ then(onFulfilled, onRejected) {
913
+ return waitUntilFinished().then(onFulfilled, onRejected);
914
+ }
915
+ };
916
+ }
917
+ };
918
+ }
919
+ function waitUntilFinished() {
920
+ return new Promise((resolve, reject) => {
921
+ until(isFinished).toBe(true).then(() => resolve(shell)).catch(reject);
922
+ });
923
+ }
924
+ function setType(type) {
925
+ return () => {
926
+ if (!isFetching.value) {
927
+ config.type = type;
928
+ return {
929
+ ...shell,
930
+ then(onFulfilled, onRejected) {
931
+ return waitUntilFinished().then(onFulfilled, onRejected);
932
+ }
933
+ };
934
+ }
935
+ };
936
+ }
937
+ if (options.immediate) Promise.resolve().then(() => execute());
938
+ return {
939
+ ...shell,
940
+ then(onFulfilled, onRejected) {
941
+ return waitUntilFinished().then(onFulfilled, onRejected);
942
+ }
943
+ };
944
+ }
945
+ function useLocalStorage(key, initialValue, options = {}) {
946
+ const { window: window$1 = defaultWindow } = options;
947
+ return useStorage(key, initialValue, window$1 === null || window$1 === void 0 ? void 0 : window$1.localStorage, options);
948
+ }
949
+ Number.POSITIVE_INFINITY;
950
+ function useVModel(props, key, emit, options = {}) {
951
+ var _vm$$emit, _vm$proxy;
952
+ const { clone = false, passive = false, eventName, deep = false, defaultValue, shouldEmit } = options;
953
+ const vm = getCurrentInstance();
954
+ const _emit = emit || (vm === null || vm === void 0 ? void 0 : vm.emit) || (vm === null || vm === void 0 || (_vm$$emit = vm.$emit) === null || _vm$$emit === void 0 ? void 0 : _vm$$emit.bind(vm)) || (vm === null || vm === void 0 || (_vm$proxy = vm.proxy) === null || _vm$proxy === void 0 || (_vm$proxy = _vm$proxy.$emit) === null || _vm$proxy === void 0 ? void 0 : _vm$proxy.bind(vm === null || vm === void 0 ? void 0 : vm.proxy));
955
+ let event = eventName;
956
+ if (!key) key = "modelValue";
957
+ event = event || `update:${key.toString()}`;
958
+ const cloneFn = (val) => !clone ? val : typeof clone === "function" ? clone(val) : cloneFnJSON(val);
959
+ const getValue$1 = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;
960
+ const triggerEmit = (value) => {
961
+ if (shouldEmit) {
962
+ if (shouldEmit(value)) _emit(event, value);
963
+ } else _emit(event, value);
964
+ };
965
+ if (passive) {
966
+ const proxy = ref(getValue$1());
967
+ let isUpdating = false;
968
+ watch(() => props[key], (v) => {
969
+ if (!isUpdating) {
970
+ isUpdating = true;
971
+ proxy.value = cloneFn(v);
972
+ nextTick(() => isUpdating = false);
973
+ }
974
+ });
975
+ watch(proxy, (v) => {
976
+ if (!isUpdating && (v !== props[key] || deep)) triggerEmit(v);
977
+ }, { deep });
978
+ return proxy;
979
+ } else return computed({
980
+ get() {
981
+ return getValue$1();
982
+ },
983
+ set(value) {
984
+ triggerEmit(value);
985
+ }
986
+ });
987
+ }
988
+ var API_ROOT = "/__pubinfo_devtools_api";
989
+ const infoFetch = useFetch(`${API_ROOT}`).json();
990
+ const apiListFetch = useFetch(`${API_ROOT}/api-list`, { immediate: false }).json();
991
+ export { useElementSize as a, createSharedComposable as c, onClickOutside as i, infoFetch as n, useLocalStorage as o, createReusableTemplate as r, useVModel as s, apiListFetch as t };