@pubinfo-pr/devtools 0.171.2 → 0.171.3

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 (369) hide show
  1. package/dist/client/assets/Navbar-Dn_FwmwT.js +218 -0
  2. package/dist/client/assets/PanelGrids-Dr3Hj3fq.js +9 -0
  3. package/dist/client/assets/SelectTabs-DGbhp-SJ.js +171 -0
  4. package/dist/client/assets/component-BYcFX5o9.js +468 -0
  5. package/dist/client/assets/core-Deo0dKjJ.js +6012 -0
  6. package/dist/client/assets/css-D-vtiAqw.js +2 -0
  7. package/dist/client/assets/css-DbgpCiOq.js +2 -0
  8. package/dist/client/assets/engine-oniguruma-BR9-eBKQ.js +392 -0
  9. package/dist/client/assets/fetch-X85SI-zj.js +1112 -0
  10. package/dist/client/assets/html-C5tHi8hG.js +2 -0
  11. package/dist/client/assets/html-mHHj5Mh3.js +9 -0
  12. package/dist/client/assets/import-8bGFSBml.js +375 -0
  13. package/dist/client/assets/{index-r9fa78NA.css → index-C1hERR5y.css} +1 -1
  14. package/dist/client/assets/{index-BCCYVO0H.js → index-C74Jw2V-.js} +3461 -1728
  15. package/dist/client/assets/javascript-CZLwsMB1.js +2 -0
  16. package/dist/client/assets/javascript-DIagQh28.js +2 -0
  17. package/dist/client/assets/json-CzPoZe0r.js +2 -0
  18. package/dist/client/assets/json-WgRhEAOB.js +2 -0
  19. package/dist/client/assets/pages-Dj7OCD93.js +300 -0
  20. package/dist/client/assets/{server-router-6GvTqPc1.css → server-router-B1AB70as.css} +2 -2
  21. package/dist/client/assets/server-router-Byd0xUzV.js +2049 -0
  22. package/dist/client/assets/typescript-CzrZyZmM.js +2 -0
  23. package/dist/client/assets/typescript-DkhbmgdN.js +2 -0
  24. package/dist/client/assets/vue-Co3JBzx2.js +27 -0
  25. package/dist/client/assets/wasm-D0Echd05.js +5 -0
  26. package/dist/client/import.svg +1 -0
  27. package/dist/client/index.html +2 -2
  28. package/dist/dirs.mjs +3 -0
  29. package/dist/{index.js → index.mjs} +518 -170
  30. package/dist/panel/{index.js → index.mjs} +39 -3
  31. package/package.json +17 -17
  32. package/dist/client/assets/Navbar-f6u8nv1A.js +0 -190
  33. package/dist/client/assets/PanelGrids-B1uPlpXo.js +0 -8
  34. package/dist/client/assets/abap-BneqOAQn.js +0 -3
  35. package/dist/client/assets/actionscript-3-JJevXHHI.js +0 -3
  36. package/dist/client/assets/ada-Sz8xeSJ2.js +0 -3
  37. package/dist/client/assets/andromeeda-B43VcKOE.js +0 -2
  38. package/dist/client/assets/angular-html-C_XNpd6d.js +0 -5
  39. package/dist/client/assets/angular-html-xcXDdDxt.js +0 -23
  40. package/dist/client/assets/angular-ts-DD9ACpiD.js +0 -24
  41. package/dist/client/assets/apache-CH7oaL9w.js +0 -3
  42. package/dist/client/assets/apex-BpA7UqIt.js +0 -3
  43. package/dist/client/assets/apl-DmHUHJpj.js +0 -16
  44. package/dist/client/assets/applescript-CINTpQFD.js +0 -3
  45. package/dist/client/assets/ara-C4GBn5cG.js +0 -3
  46. package/dist/client/assets/asciidoc-CRs92jJ9.js +0 -3
  47. package/dist/client/assets/asm-Dcn9XRtC.js +0 -3
  48. package/dist/client/assets/astro-DDh1X0zj.js +0 -17
  49. package/dist/client/assets/aurora-x-Blua-2Ng.js +0 -2
  50. package/dist/client/assets/awk-i3TwHhsk.js +0 -3
  51. package/dist/client/assets/ayu-dark-rqcwfyq7.js +0 -2
  52. package/dist/client/assets/ballerina-XubCZIu_.js +0 -3
  53. package/dist/client/assets/bat-CJDZmMbE.js +0 -3
  54. package/dist/client/assets/beancount-Bz84L4pZ.js +0 -3
  55. package/dist/client/assets/berry-CPchONJa.js +0 -3
  56. package/dist/client/assets/bibtex-DVvKgGnw.js +0 -3
  57. package/dist/client/assets/bicep-AnktATo6.js +0 -3
  58. package/dist/client/assets/blade-DSiefmOm.js +0 -20
  59. package/dist/client/assets/bsl-B5rPHHQR.js +0 -4
  60. package/dist/client/assets/c-vo15i6HS.js +0 -3
  61. package/dist/client/assets/c-z_CBvR-7.js +0 -2
  62. package/dist/client/assets/cadence-ClJ3N6y1.js +0 -3
  63. package/dist/client/assets/cairo-CibIWXXr.js +0 -4
  64. package/dist/client/assets/catppuccin-frappe-DZStY-Pp.js +0 -2
  65. package/dist/client/assets/catppuccin-latte-DN5l0gng.js +0 -2
  66. package/dist/client/assets/catppuccin-macchiato-CQ07VMBV.js +0 -2
  67. package/dist/client/assets/catppuccin-mocha-BZQavwvR.js +0 -2
  68. package/dist/client/assets/clarity-2rxwVrD_.js +0 -3
  69. package/dist/client/assets/clojure-C0jiC_f1.js +0 -3
  70. package/dist/client/assets/cmake-es1DOjpX.js +0 -3
  71. package/dist/client/assets/cmake-hgeKAf6L.js +0 -2
  72. package/dist/client/assets/cobol-D4I6b-S-.js +0 -11
  73. package/dist/client/assets/codeowners-DQKqJDHd.js +0 -3
  74. package/dist/client/assets/codeql-Dz54F1mo.js +0 -3
  75. package/dist/client/assets/coffee-De9Ahhbk.js +0 -4
  76. package/dist/client/assets/common-lisp-DMXHEDsU.js +0 -3
  77. package/dist/client/assets/component-CAiGJCHL.js +0 -517
  78. package/dist/client/assets/coq-B3EyCE2_.js +0 -3
  79. package/dist/client/assets/cpp-BZS_uuBN.js +0 -6
  80. package/dist/client/assets/cpp-DQfrxaSK.js +0 -19
  81. package/dist/client/assets/crystal-DPw2ul3_.js +0 -17
  82. package/dist/client/assets/csharp-9SPrJBrf.js +0 -3
  83. package/dist/client/assets/csharp-C36TKsxo.js +0 -2
  84. package/dist/client/assets/css-BIIpc795.js +0 -3
  85. package/dist/client/assets/css-DR-9FJvj.js +0 -2
  86. package/dist/client/assets/csv-De8OeUXw.js +0 -3
  87. package/dist/client/assets/cue-bqy7mysW.js +0 -3
  88. package/dist/client/assets/cypher-CnGGPPF8.js +0 -3
  89. package/dist/client/assets/d-_v-0qIMo.js +0 -3
  90. package/dist/client/assets/dark-plus-B5VW4UtG.js +0 -2
  91. package/dist/client/assets/dart-D7mvjjnO.js +0 -3
  92. package/dist/client/assets/dax-id_v9k01.js +0 -3
  93. package/dist/client/assets/desktop-C63sB2uB.js +0 -3
  94. package/dist/client/assets/diff-B5GyjU4M.js +0 -3
  95. package/dist/client/assets/diff-DaXl9_BL.js +0 -2
  96. package/dist/client/assets/docker-5gOQFWt6.js +0 -3
  97. package/dist/client/assets/dotenv-CBz9ZAVs.js +0 -3
  98. package/dist/client/assets/dracula-CVkeaATE.js +0 -2
  99. package/dist/client/assets/dracula-soft-CMoFpNDM.js +0 -2
  100. package/dist/client/assets/dream-maker-DA2xoZVW.js +0 -3
  101. package/dist/client/assets/edge-Rvj64lc9.js +0 -13
  102. package/dist/client/assets/elixir-CoeM723j.js +0 -6
  103. package/dist/client/assets/elm-Bd7OM9qn.js +0 -5
  104. package/dist/client/assets/emacs-lisp-BegAz5NS.js +0 -3
  105. package/dist/client/assets/erb-MtET9AJK.js +0 -26
  106. package/dist/client/assets/erlang-C2LMbUyn.js +0 -4
  107. package/dist/client/assets/everforest-dark-7_cjN5Ls.js +0 -2
  108. package/dist/client/assets/everforest-light-CZ9uP19Z.js +0 -2
  109. package/dist/client/assets/fennel-CD-2iDIW.js +0 -3
  110. package/dist/client/assets/fetch-Vqmvg8bB.js +0 -969
  111. package/dist/client/assets/fish-Dg2ABucE.js +0 -3
  112. package/dist/client/assets/fluent-DVPJ3-hM.js +0 -3
  113. package/dist/client/assets/fortran-fixed-form-2tZ26fHw.js +0 -4
  114. package/dist/client/assets/fortran-free-form-1RD0EiW1.js +0 -3
  115. package/dist/client/assets/fortran-free-form-DHi82dZv.js +0 -2
  116. package/dist/client/assets/fsharp-BLIM__N6.js +0 -4
  117. package/dist/client/assets/gdresource-BqLhMx8o.js +0 -9
  118. package/dist/client/assets/gdscript-Bf4AGzTd.js +0 -2
  119. package/dist/client/assets/gdscript-Ct_7YOkG.js +0 -3
  120. package/dist/client/assets/gdshader-D8eohhwr.js +0 -2
  121. package/dist/client/assets/gdshader-DirlFY6X.js +0 -3
  122. package/dist/client/assets/genie-AuuHiNUM.js +0 -3
  123. package/dist/client/assets/gherkin-DFKTJFbA.js +0 -3
  124. package/dist/client/assets/git-commit-CuACZQ6M.js +0 -4
  125. package/dist/client/assets/git-rebase-BpEGiwgf.js +0 -4
  126. package/dist/client/assets/github-dark-CPRAlY9A.js +0 -2
  127. package/dist/client/assets/github-dark-default-CZbASOwg.js +0 -2
  128. package/dist/client/assets/github-dark-dimmed-DhBVNpZK.js +0 -2
  129. package/dist/client/assets/github-dark-high-contrast-Sr2JvhDL.js +0 -2
  130. package/dist/client/assets/github-light-default-CcwDY4o-.js +0 -2
  131. package/dist/client/assets/github-light-high-contrast-DiYFdlG4.js +0 -2
  132. package/dist/client/assets/github-light-nsZZ__b4.js +0 -2
  133. package/dist/client/assets/gleam-BHyqnKuN.js +0 -3
  134. package/dist/client/assets/glimmer-js-BYOiNDSp.js +0 -13
  135. package/dist/client/assets/glimmer-ts-DQ3A-M4A.js +0 -13
  136. package/dist/client/assets/glsl-B38FqIrO.js +0 -4
  137. package/dist/client/assets/glsl-xv19v6C3.js +0 -3
  138. package/dist/client/assets/gnuplot-BLvFISGO.js +0 -3
  139. package/dist/client/assets/go-C3PtlDL7.js +0 -2
  140. package/dist/client/assets/go-DdZjW6By.js +0 -3
  141. package/dist/client/assets/graphql-DazeCgwe.js +0 -13
  142. package/dist/client/assets/graphql-v1D07dEi.js +0 -6
  143. package/dist/client/assets/groovy-cVQ6ZwgN.js +0 -3
  144. package/dist/client/assets/gruvbox-dark-hard-BAs6lRWB.js +0 -2
  145. package/dist/client/assets/gruvbox-dark-medium-3GYOc_7i.js +0 -2
  146. package/dist/client/assets/gruvbox-dark-soft-CLjRrw1t.js +0 -2
  147. package/dist/client/assets/gruvbox-light-hard-B5pDyJmT.js +0 -2
  148. package/dist/client/assets/gruvbox-light-medium-Czo7iHvp.js +0 -2
  149. package/dist/client/assets/gruvbox-light-soft-MdVOuSwf.js +0 -2
  150. package/dist/client/assets/hack-AkEaSIiG.js +0 -11
  151. package/dist/client/assets/haml-12DF4L6t.js +0 -4
  152. package/dist/client/assets/haml-D7SdiIb2.js +0 -9
  153. package/dist/client/assets/handlebars-BF5SsGSc.js +0 -13
  154. package/dist/client/assets/haskell-Btp_MfgK.js +0 -3
  155. package/dist/client/assets/haxe-BRg8mBSK.js +0 -3
  156. package/dist/client/assets/haxe-qVl2C22S.js +0 -2
  157. package/dist/client/assets/hcl-CApdjmWo.js +0 -3
  158. package/dist/client/assets/hjson-B8yyLN8N.js +0 -3
  159. package/dist/client/assets/hlsl-7q7KfwR3.js +0 -2
  160. package/dist/client/assets/hlsl-DWQGecR0.js +0 -3
  161. package/dist/client/assets/houston-Dq9ylkJH.js +0 -2
  162. package/dist/client/assets/html-CygGKEU-.js +0 -9
  163. package/dist/client/assets/html-XPHP1ctB.js +0 -4
  164. package/dist/client/assets/html-derivative-BRUyLBYr.js +0 -5
  165. package/dist/client/assets/html-derivative-CDHXe1rc.js +0 -4
  166. package/dist/client/assets/http-BTiGLdVM.js +0 -18
  167. package/dist/client/assets/hxml-eH6B7Ggs.js +0 -4
  168. package/dist/client/assets/hy-BeCIpdlw.js +0 -3
  169. package/dist/client/assets/imba-DpPztiU8.js +0 -3
  170. package/dist/client/assets/ini-DebGZPuX.js +0 -3
  171. package/dist/client/assets/java-CSuGW7pk.js +0 -3
  172. package/dist/client/assets/java-JqMAxu8h.js +0 -2
  173. package/dist/client/assets/javascript-D8V2UVzz.js +0 -3
  174. package/dist/client/assets/javascript-LJ6D4L7Q.js +0 -2
  175. package/dist/client/assets/jinja-DPlrL6lm.js +0 -8
  176. package/dist/client/assets/jison-0ZlyxLzz.js +0 -4
  177. package/dist/client/assets/json-DiZTWJxw.js +0 -2
  178. package/dist/client/assets/json-N1bXK1S4.js +0 -3
  179. package/dist/client/assets/json5-BJHJ0To6.js +0 -3
  180. package/dist/client/assets/jsonc-BRhkMZMN.js +0 -3
  181. package/dist/client/assets/jsonl-Dqt2JMW8.js +0 -3
  182. package/dist/client/assets/jsonnet-f3ibr2Yq.js +0 -3
  183. package/dist/client/assets/jssm-Cnr_fb09.js +0 -3
  184. package/dist/client/assets/jsx-BcRPVPD9.js +0 -3
  185. package/dist/client/assets/jsx-kOdHP25g.js +0 -2
  186. package/dist/client/assets/julia-BSZQ7UdI.js +0 -18
  187. package/dist/client/assets/kanagawa-dragon-BV9Zk8qt.js +0 -2
  188. package/dist/client/assets/kanagawa-lotus-Axn-Auo6.js +0 -2
  189. package/dist/client/assets/kanagawa-wave-DUnLhLrF.js +0 -2
  190. package/dist/client/assets/kotlin-B35H-nQ1.js +0 -3
  191. package/dist/client/assets/kusto-JpEPj3V4.js +0 -3
  192. package/dist/client/assets/laserwave-DiD8Onb6.js +0 -2
  193. package/dist/client/assets/latex-eg89ZWIS.js +0 -5
  194. package/dist/client/assets/lean-CI_7uWok.js +0 -3
  195. package/dist/client/assets/less-DYcvZ1vs.js +0 -3
  196. package/dist/client/assets/less-DyvK2mij.js +0 -2
  197. package/dist/client/assets/light-plus-m_bgcHIo.js +0 -2
  198. package/dist/client/assets/liquid-ChIPyGY6.js +0 -13
  199. package/dist/client/assets/llvm-ClGsJD4P.js +0 -3
  200. package/dist/client/assets/log-BUigt4UI.js +0 -3
  201. package/dist/client/assets/logo-BCINIXU4.js +0 -3
  202. package/dist/client/assets/lua-DE8lfN39.js +0 -4
  203. package/dist/client/assets/lua-DmTtkYij.js +0 -3
  204. package/dist/client/assets/luau-BZzhLdC_.js +0 -3
  205. package/dist/client/assets/make-kRm5bKuA.js +0 -3
  206. package/dist/client/assets/markdown-6PLSK6_0.js +0 -3
  207. package/dist/client/assets/markdown-mlSUc649.js +0 -2
  208. package/dist/client/assets/marko-DgW77q7w.js +0 -13
  209. package/dist/client/assets/material-theme-darker-C4z_i_mu.js +0 -2
  210. package/dist/client/assets/material-theme-kKgGr_7i.js +0 -2
  211. package/dist/client/assets/material-theme-lighter-DbQ48hUl.js +0 -2
  212. package/dist/client/assets/material-theme-ocean-CpswQGq-.js +0 -2
  213. package/dist/client/assets/material-theme-palenight-B9YdP00v.js +0 -2
  214. package/dist/client/assets/matlab-DFqu3muE.js +0 -3
  215. package/dist/client/assets/mdc-D-3CUGp6.js +0 -14
  216. package/dist/client/assets/mdx-CDUtDhJ1.js +0 -3
  217. package/dist/client/assets/mermaid-J0yr3y0m.js +0 -3
  218. package/dist/client/assets/min-dark-fcEqhRpI.js +0 -2
  219. package/dist/client/assets/min-light-DWVresoN.js +0 -2
  220. package/dist/client/assets/mipsasm-5ppLD5jH.js +0 -3
  221. package/dist/client/assets/mojo-Bk5yI3fr.js +0 -3
  222. package/dist/client/assets/monokai-BN_TBhb9.js +0 -2
  223. package/dist/client/assets/move-XM2padQY.js +0 -3
  224. package/dist/client/assets/narrat-C6VnUWXS.js +0 -3
  225. package/dist/client/assets/nextflow-sVcVU_R2.js +0 -3
  226. package/dist/client/assets/nginx-CtF2jNry.js +0 -5
  227. package/dist/client/assets/night-owl-B29_KAmr.js +0 -2
  228. package/dist/client/assets/nim-TErUbZAu.js +0 -20
  229. package/dist/client/assets/nix-YSTOikLh.js +0 -3
  230. package/dist/client/assets/nord-DH5uOgoE.js +0 -2
  231. package/dist/client/assets/nushell-stskKkpE.js +0 -3
  232. package/dist/client/assets/objective-c-BNhcDvrR.js +0 -3
  233. package/dist/client/assets/objective-cpp-H1Owc-ej.js +0 -3
  234. package/dist/client/assets/ocaml-BDFFD8DR.js +0 -3
  235. package/dist/client/assets/one-dark-pro-Hhca3JzB.js +0 -2
  236. package/dist/client/assets/one-light-CkAyoF0j.js +0 -2
  237. package/dist/client/assets/pages-Bx84dNCY.js +0 -239
  238. package/dist/client/assets/pascal-datMNmKx.js +0 -3
  239. package/dist/client/assets/perl-BBy5Zwm3.js +0 -16
  240. package/dist/client/assets/php-BxmWfIjG.js +0 -17
  241. package/dist/client/assets/php-Dwoa08mV.js +0 -9
  242. package/dist/client/assets/plastic-1ETRJ1D-.js +0 -2
  243. package/dist/client/assets/plsql-DdbZbPNj.js +0 -3
  244. package/dist/client/assets/po-C6c1vTCK.js +0 -3
  245. package/dist/client/assets/poimandres-CnlY1rVk.js +0 -2
  246. package/dist/client/assets/polar-2mcakGk2.js +0 -3
  247. package/dist/client/assets/postcss-DRXKdNvs.js +0 -3
  248. package/dist/client/assets/postcss-mk7NO3GE.js +0 -2
  249. package/dist/client/assets/powerquery-Bskx_J2g.js +0 -3
  250. package/dist/client/assets/powershell-BDMMRQG8.js +0 -3
  251. package/dist/client/assets/prisma-B9kjRwd3.js +0 -3
  252. package/dist/client/assets/prolog-krySb6Vx.js +0 -3
  253. package/dist/client/assets/proto-BaKE0120.js +0 -3
  254. package/dist/client/assets/pug-_0lXH97N.js +0 -11
  255. package/dist/client/assets/puppet-Do5i4j8B.js +0 -3
  256. package/dist/client/assets/purescript-BRN1yDPC.js +0 -3
  257. package/dist/client/assets/python-CSI6xDEM.js +0 -3
  258. package/dist/client/assets/python-wZG5a_HU.js +0 -2
  259. package/dist/client/assets/qml-BbSTJdwY.js +0 -4
  260. package/dist/client/assets/qmldir-CH4NwF2P.js +0 -3
  261. package/dist/client/assets/qss-Dy8PrTp1.js +0 -3
  262. package/dist/client/assets/r-B4QMIUOL.js +0 -3
  263. package/dist/client/assets/r-C_0je1kM.js +0 -2
  264. package/dist/client/assets/racket-wuRvcgGp.js +0 -3
  265. package/dist/client/assets/raku-DsVSEccV.js +0 -3
  266. package/dist/client/assets/razor-B-gWLra0.js +0 -11
  267. package/dist/client/assets/red-CSHNpN1R.js +0 -2
  268. package/dist/client/assets/reg-DYEGF8g9.js +0 -3
  269. package/dist/client/assets/regexp-BV7LsrGP.js +0 -2
  270. package/dist/client/assets/regexp-BYt9QUJK.js +0 -3
  271. package/dist/client/assets/rel-B2-IkXcx.js +0 -3
  272. package/dist/client/assets/riscv-DVzb-nnG.js +0 -3
  273. package/dist/client/assets/rose-pine-CpIPLGs4.js +0 -2
  274. package/dist/client/assets/rose-pine-dawn-BruRtD0n.js +0 -2
  275. package/dist/client/assets/rose-pine-moon-CuLUPl8L.js +0 -2
  276. package/dist/client/assets/rst-vq3PUEe9.js +0 -35
  277. package/dist/client/assets/ruby-Py1CEke6.js +0 -29
  278. package/dist/client/assets/ruby-djifmDsY.js +0 -20
  279. package/dist/client/assets/rust-DIxn70Bc.js +0 -3
  280. package/dist/client/assets/sas-Crv05x8i.js +0 -4
  281. package/dist/client/assets/sass-PfnQUa_g.js +0 -3
  282. package/dist/client/assets/scala-BBzrXTKG.js +0 -3
  283. package/dist/client/assets/scheme-YR9NA8ZM.js +0 -3
  284. package/dist/client/assets/scss-Cl-VEz3E.js +0 -3
  285. package/dist/client/assets/scss-Cw2rR0Nw.js +0 -4
  286. package/dist/client/assets/sdbl-ZdJzdy9k.js +0 -2
  287. package/dist/client/assets/sdbl-t_ZuHY19.js +0 -3
  288. package/dist/client/assets/server-router-DLDLUF9W.js +0 -8698
  289. package/dist/client/assets/shaderlab-BhQ9G_fS.js +0 -4
  290. package/dist/client/assets/shellscript-3NHz9REQ.js +0 -2
  291. package/dist/client/assets/shellscript-DudglamS.js +0 -3
  292. package/dist/client/assets/shellsession-GL5OwgNh.js +0 -4
  293. package/dist/client/assets/slack-dark-D6KJ2ZHk.js +0 -2
  294. package/dist/client/assets/slack-ochin-CgGPHUxy.js +0 -2
  295. package/dist/client/assets/smalltalk-9xhKYkIL.js +0 -3
  296. package/dist/client/assets/snazzy-light-CYNZ3aPZ.js +0 -2
  297. package/dist/client/assets/solarized-dark-C-DYAQzw.js +0 -2
  298. package/dist/client/assets/solarized-light-klFMqjBj.js +0 -2
  299. package/dist/client/assets/solidity-Ozd5FRLq.js +0 -3
  300. package/dist/client/assets/soy-DWTMTRvm.js +0 -6
  301. package/dist/client/assets/sparql-Bhv-NULD.js +0 -4
  302. package/dist/client/assets/splunk-BeKRTE5f.js +0 -3
  303. package/dist/client/assets/sql-BNXsYZV2.js +0 -3
  304. package/dist/client/assets/sql-D9X2mMUX.js +0 -2
  305. package/dist/client/assets/ssh-config-CrEKc8er.js +0 -3
  306. package/dist/client/assets/stata-BlmwGy5v.js +0 -4
  307. package/dist/client/assets/stylus-BwRZfacm.js +0 -3
  308. package/dist/client/assets/stylus-CltJUoH-.js +0 -2
  309. package/dist/client/assets/svelte-Cz0fJMJu.js +0 -13
  310. package/dist/client/assets/swift-BCxbwyiK.js +0 -3
  311. package/dist/client/assets/synthwave-84-DrmUwzTK.js +0 -2
  312. package/dist/client/assets/system-verilog-BxAPtrDd.js +0 -3
  313. package/dist/client/assets/systemd-BUuSsiDV.js +0 -3
  314. package/dist/client/assets/talonscript-Cuu-B8IR.js +0 -3
  315. package/dist/client/assets/tasl-i94Nm9X2.js +0 -3
  316. package/dist/client/assets/tcl-JtwPeyJe.js +0 -3
  317. package/dist/client/assets/templ-DJEM4Dsn.js +0 -11
  318. package/dist/client/assets/terraform-H_gFhmGE.js +0 -3
  319. package/dist/client/assets/tex-V5JgLFQ3.js +0 -4
  320. package/dist/client/assets/tex-k6SW7rO1.js +0 -3
  321. package/dist/client/assets/tokyo-night-DJ3fbRL-.js +0 -2
  322. package/dist/client/assets/toml-Czn4TMmG.js +0 -3
  323. package/dist/client/assets/ts-tags-DftD3xuW.js +0 -49
  324. package/dist/client/assets/tsv-D7JVv6cM.js +0 -3
  325. package/dist/client/assets/tsx-B7G7qOdJ.js +0 -2
  326. package/dist/client/assets/tsx-CSxn0co8.js +0 -3
  327. package/dist/client/assets/turtle-Bg9WlzE1.js +0 -2
  328. package/dist/client/assets/turtle-gL243zka.js +0 -3
  329. package/dist/client/assets/twig-BH71GbCE.js +0 -34
  330. package/dist/client/assets/typescript-D838FC1-.js +0 -2
  331. package/dist/client/assets/typescript-Dx74cANe.js +0 -3
  332. package/dist/client/assets/typespec-ChNe-9Bn.js +0 -3
  333. package/dist/client/assets/typst-lzp37gIG.js +0 -3
  334. package/dist/client/assets/v-pJSB2935.js +0 -3
  335. package/dist/client/assets/vala-DQwyfTuQ.js +0 -3
  336. package/dist/client/assets/vb-DG-y450E.js +0 -3
  337. package/dist/client/assets/verilog-CGyXGbfs.js +0 -3
  338. package/dist/client/assets/vesper-onTZvQE4.js +0 -2
  339. package/dist/client/assets/vhdl-Bmc1tQry.js +0 -3
  340. package/dist/client/assets/viml-HNAopjhZ.js +0 -3
  341. package/dist/client/assets/vitesse-black-Dpu_nmGn.js +0 -2
  342. package/dist/client/assets/vue-CtiaKG90.js +0 -29
  343. package/dist/client/assets/vue-TeT-q0PM.js +0 -8
  344. package/dist/client/assets/vue-html-Dn0drGR_.js +0 -14
  345. package/dist/client/assets/vue-vine-Cl9MyVkQ.js +0 -23
  346. package/dist/client/assets/vyper-BcdH-HiN.js +0 -3
  347. package/dist/client/assets/wasm-B7JigFSi.js +0 -3
  348. package/dist/client/assets/wasm-CGqR8-aw.js +0 -5
  349. package/dist/client/assets/wenyan-BTFknrNi.js +0 -3
  350. package/dist/client/assets/wgsl-BPUHKtQI.js +0 -3
  351. package/dist/client/assets/wikitext-DUrIafj7.js +0 -3
  352. package/dist/client/assets/wit-CQC-whBg.js +0 -3
  353. package/dist/client/assets/wolfram-DNZpEQsI.js +0 -3
  354. package/dist/client/assets/xml-CbEHzi2l.js +0 -3
  355. package/dist/client/assets/xml-DNc0do_Y.js +0 -4
  356. package/dist/client/assets/xsl-HF12enVp.js +0 -5
  357. package/dist/client/assets/yaml-C44YtPPc.js +0 -2
  358. package/dist/client/assets/yaml-QnybJTzt.js +0 -3
  359. package/dist/client/assets/zenscript-CK7CgSxa.js +0 -3
  360. package/dist/client/assets/zig-CHGlMKvF.js +0 -3
  361. package/dist/dirs.js +0 -3
  362. /package/dist/client/assets/{vitesse-dark-COIKPj8_.js → vitesse-dark-Bz6RXfkV.js} +0 -0
  363. /package/dist/client/assets/{vitesse-light-BGqXUuET.js → vitesse-light-NvDlvJl2.js} +0 -0
  364. /package/dist/{constants.d.ts → constants.d.mts} +0 -0
  365. /package/dist/{constants.js → constants.mjs} +0 -0
  366. /package/dist/{dirs.d.ts → dirs.d.mts} +0 -0
  367. /package/dist/{dirs2.js → dirs2.mjs} +0 -0
  368. /package/dist/{index.d.ts → index.d.mts} +0 -0
  369. /package/dist/panel/{index.d.ts → index.d.mts} +0 -0
@@ -1,969 +0,0 @@
1
- import { $ as toValue, B as onMounted, C as openBlock, F as renderSlot, L as watch, P as customRef, Q as effectScope, R as getCurrentScope, S as isRef, T as onScopeDispose, V as readonly, W as ref, X as shallowReadonly, Y as shallowRef, Z as toRaw, _ as toRef, a1 as unref, l as computed, p as createElementBlock, t as defineComponent, u as getCurrentInstance, z as nextTick } from "./index-BCCYVO0H.js";
2
- function tryOnScopeDispose(fn) {
3
- return getCurrentScope() ? (onScopeDispose(fn), true) : false;
4
- }
5
- /* @__NO_SIDE_EFFECTS__ */
6
- function createEventHook() {
7
- const fns = /* @__PURE__ */ new Set(), off = (fn) => {
8
- fns.delete(fn);
9
- }, clear = () => {
10
- fns.clear();
11
- }, on = (fn) => {
12
- fns.add(fn);
13
- const offFn = () => off(fn);
14
- return tryOnScopeDispose(offFn), { off: offFn };
15
- }, trigger = (...args) => {
16
- return Promise.all(Array.from(fns).map((fn) => fn(...args)));
17
- };
18
- return {
19
- on,
20
- off,
21
- trigger,
22
- clear
23
- };
24
- }
25
- /* @__NO_SIDE_EFFECTS__ */
26
- function createSharedComposable(composable) {
27
- let subscribers = 0, state, scope;
28
- const dispose = () => {
29
- if (subscribers -= 1, scope && subscribers <= 0) scope.stop(), state = void 0, scope = void 0;
30
- };
31
- return (...args) => {
32
- if (subscribers += 1, !scope) scope = effectScope(true), state = scope.run(() => composable(...args));
33
- return tryOnScopeDispose(dispose), state;
34
- };
35
- }
36
- /* @__NO_SIDE_EFFECTS__ */
37
- function makeDestructurable(obj, arr) {
38
- if (typeof Symbol !== "undefined") {
39
- const clone = { ...obj };
40
- return Object.defineProperty(clone, Symbol.iterator, {
41
- enumerable: false,
42
- value() {
43
- let index = 0;
44
- return { next: () => ({
45
- value: arr[index++],
46
- done: index > arr.length
47
- }) };
48
- }
49
- }), clone;
50
- } else return Object.assign([...arr], obj);
51
- }
52
- const isClient = typeof window !== "undefined" && typeof document !== "undefined", isWorker = typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope, isDef = (val) => typeof val !== "undefined", toString = Object.prototype.toString, isObject = (val) => toString.call(val) === "[object Object]", noop = () => {}, isIOS = /* @__PURE__ */ getIsIOS();
53
- function getIsIOS() {
54
- var _a, _b;
55
- return isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b = window == null ? void 0 : window.navigator) == null ? void 0 : _b.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
56
- }
57
- function toRef$1(...args) {
58
- if (args.length !== 1) return toRef(...args);
59
- const r = args[0];
60
- return typeof r === "function" ? readonly(customRef(() => ({
61
- get: r,
62
- set: noop
63
- }))) : ref(r);
64
- }
65
- function createFilterWrapper(filter, fn) {
66
- function wrapper(...args) {
67
- return new Promise((resolve, reject) => {
68
- Promise.resolve(filter(() => fn.apply(this, args), {
69
- fn,
70
- thisArg: this,
71
- args
72
- })).then(resolve).catch(reject);
73
- });
74
- }
75
- return wrapper;
76
- }
77
- const bypassFilter = (invoke) => {
78
- return invoke();
79
- };
80
- function pausableFilter(extendFilter = bypassFilter, options = {}) {
81
- const { initialState = "active" } = options, isActive = toRef$1(initialState === "active");
82
- function pause() {
83
- isActive.value = false;
84
- }
85
- function resume() {
86
- isActive.value = true;
87
- }
88
- const eventFilter = (...args) => {
89
- if (isActive.value) extendFilter(...args);
90
- };
91
- return {
92
- isActive: readonly(isActive),
93
- pause,
94
- resume,
95
- eventFilter
96
- };
97
- }
98
- function promiseTimeout(ms, throwOnTimeout = false, reason = "Timeout") {
99
- return new Promise((resolve, reject) => {
100
- if (throwOnTimeout) setTimeout(() => reject(reason), ms);
101
- else setTimeout(resolve, ms);
102
- });
103
- }
104
- function createSingletonPromise(fn) {
105
- let _promise;
106
- function wrapper() {
107
- if (!_promise) _promise = fn();
108
- return _promise;
109
- }
110
- return wrapper.reset = async () => {
111
- const _prev = _promise;
112
- if (_promise = void 0, _prev) await _prev;
113
- }, wrapper;
114
- }
115
- function containsProp(obj, ...props) {
116
- return props.some((k) => k in obj);
117
- }
118
- function toArray(value) {
119
- return Array.isArray(value) ? value : [value];
120
- }
121
- function cacheStringFunction(fn) {
122
- const cache = /* @__PURE__ */ Object.create(null);
123
- return (str) => {
124
- const hit = cache[str];
125
- return hit || (cache[str] = fn(str));
126
- };
127
- }
128
- const hyphenateRE = /\B([A-Z])/g, hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase()), camelizeRE = /-(\w)/g, camelize = cacheStringFunction((str) => {
129
- return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
130
- });
131
- function getLifeCycleTarget(target) {
132
- return target || getCurrentInstance();
133
- }
134
- function watchWithFilter(source, cb, options = {}) {
135
- const { eventFilter = bypassFilter,...watchOptions } = options;
136
- return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);
137
- }
138
- function watchPausable(source, cb, options = {}) {
139
- const { eventFilter: filter, initialState = "active",...watchOptions } = options, { eventFilter, pause, resume, isActive } = pausableFilter(filter, { initialState }), stop = watchWithFilter(source, cb, {
140
- ...watchOptions,
141
- eventFilter
142
- });
143
- return {
144
- stop,
145
- pause,
146
- resume,
147
- isActive
148
- };
149
- }
150
- function tryOnMounted(fn, sync = true, target) {
151
- const instance = getLifeCycleTarget(target);
152
- if (instance) onMounted(fn, target);
153
- else if (sync) fn();
154
- else nextTick(fn);
155
- }
156
- function createUntil(r, isNot = false) {
157
- function toMatch(condition, { flush = "sync", deep = false, timeout, throwOnTimeout } = {}) {
158
- let stop = null;
159
- const watcher = new Promise((resolve) => {
160
- stop = watch(r, (v) => {
161
- if (condition(v) !== isNot) {
162
- if (stop) stop();
163
- else nextTick(() => stop == null ? void 0 : stop());
164
- resolve(v);
165
- }
166
- }, {
167
- flush,
168
- deep,
169
- immediate: true
170
- });
171
- }), promises = [watcher];
172
- if (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop == null ? void 0 : stop()));
173
- return Promise.race(promises);
174
- }
175
- function toBe(value, options) {
176
- if (!isRef(value)) return toMatch((v) => v === value, options);
177
- const { flush = "sync", deep = false, timeout, throwOnTimeout } = options != null ? options : {};
178
- let stop = null;
179
- const watcher = new Promise((resolve) => {
180
- stop = watch([r, value], ([v1, v2]) => {
181
- if (isNot !== (v1 === v2)) {
182
- if (stop) stop();
183
- else nextTick(() => stop == null ? void 0 : stop());
184
- resolve(v1);
185
- }
186
- }, {
187
- flush,
188
- deep,
189
- immediate: true
190
- });
191
- }), promises = [watcher];
192
- if (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => {
193
- return stop?.(), toValue(r);
194
- }));
195
- return Promise.race(promises);
196
- }
197
- function toBeTruthy(options) {
198
- return toMatch((v) => Boolean(v), options);
199
- }
200
- function toBeNull(options) {
201
- return toBe(null, options);
202
- }
203
- function toBeUndefined(options) {
204
- return toBe(void 0, options);
205
- }
206
- function toBeNaN(options) {
207
- return toMatch(Number.isNaN, options);
208
- }
209
- function toContains(value, options) {
210
- return toMatch((v) => {
211
- const array = Array.from(v);
212
- return array.includes(value) || array.includes(toValue(value));
213
- }, options);
214
- }
215
- function changed(options) {
216
- return changedTimes(1, options);
217
- }
218
- function changedTimes(n = 1, options) {
219
- let count = -1;
220
- return toMatch(() => {
221
- return count += 1, count >= n;
222
- }, options);
223
- }
224
- if (Array.isArray(toValue(r))) {
225
- const instance = {
226
- toMatch,
227
- toContains,
228
- changed,
229
- changedTimes,
230
- get not() {
231
- return createUntil(r, !isNot);
232
- }
233
- };
234
- return instance;
235
- } else {
236
- const instance = {
237
- toMatch,
238
- toBe,
239
- toBeTruthy,
240
- toBeNull,
241
- toBeNaN,
242
- toBeUndefined,
243
- changed,
244
- changedTimes,
245
- get not() {
246
- return createUntil(r, !isNot);
247
- }
248
- };
249
- return instance;
250
- }
251
- }
252
- function until(r) {
253
- return createUntil(r);
254
- }
255
- function useTimeoutFn(cb, interval, options = {}) {
256
- const { immediate = true, immediateCallback = false } = options, isPending = shallowRef(false);
257
- let timer;
258
- function clear() {
259
- if (timer) clearTimeout(timer), timer = void 0;
260
- }
261
- function stop() {
262
- isPending.value = false, clear();
263
- }
264
- function start(...args) {
265
- if (immediateCallback) cb();
266
- clear(), isPending.value = true, timer = setTimeout(() => {
267
- isPending.value = false, timer = void 0, cb(...args);
268
- }, toValue(interval));
269
- }
270
- if (immediate) {
271
- if (isPending.value = true, isClient) start();
272
- }
273
- return tryOnScopeDispose(stop), {
274
- isPending: shallowReadonly(isPending),
275
- start,
276
- stop
277
- };
278
- }
279
- function watchImmediate(source, cb, options) {
280
- return watch(source, cb, {
281
- ...options,
282
- immediate: true
283
- });
284
- }
285
- /* @__NO_SIDE_EFFECTS__ */
286
- function createReusableTemplate(options = {}) {
287
- const { inheritAttrs = true } = options, render = shallowRef(), define = /* @__PURE__ */ defineComponent({ setup(_, { slots }) {
288
- return () => {
289
- render.value = slots.default;
290
- };
291
- } }), reuse = /* @__PURE__ */ defineComponent({
292
- inheritAttrs,
293
- props: options.props,
294
- setup(props, { attrs, slots }) {
295
- return () => {
296
- var _a;
297
- if (!render.value && false);
298
- const vnode = (_a = render.value) == null ? void 0 : _a.call(render, {
299
- ...options.props == null ? keysToCamelKebabCase(attrs) : props,
300
- $slots: slots
301
- });
302
- return inheritAttrs && (vnode == null ? void 0 : vnode.length) === 1 ? vnode[0] : vnode;
303
- };
304
- }
305
- });
306
- return /* @__PURE__ */ makeDestructurable({
307
- define,
308
- reuse
309
- }, [define, reuse]);
310
- }
311
- function keysToCamelKebabCase(obj) {
312
- const newObj = {};
313
- for (const key in obj) newObj[camelize(key)] = obj[key];
314
- return newObj;
315
- }
316
- const defaultWindow = isClient ? window : void 0, defaultDocument = isClient ? window.document : void 0, defaultNavigator = isClient ? window.navigator : void 0, defaultLocation = isClient ? window.location : void 0;
317
- function unrefElement(elRef) {
318
- var _a;
319
- const plain = toValue(elRef);
320
- return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
321
- }
322
- function useEventListener(...args) {
323
- const cleanups = [], cleanup = () => {
324
- cleanups.forEach((fn) => fn()), cleanups.length = 0;
325
- }, register = (el, event, listener, options) => {
326
- return el.addEventListener(event, listener, options), () => el.removeEventListener(event, listener, options);
327
- }, firstParamTargets = computed(() => {
328
- const test = toArray(toValue(args[0])).filter((e) => e != null);
329
- return test.every((e) => typeof e !== "string") ? test : void 0;
330
- }), stopWatch = watchImmediate(() => {
331
- var _a, _b;
332
- return [
333
- (_b = (_a = firstParamTargets.value) == null ? void 0 : _a.map((e) => unrefElement(e))) != null ? _b : [defaultWindow].filter((e) => e != null),
334
- toArray(toValue(firstParamTargets.value ? args[1] : args[0])),
335
- toArray(unref(firstParamTargets.value ? args[2] : args[1])),
336
- toValue(firstParamTargets.value ? args[3] : args[2])
337
- ];
338
- }, ([raw_targets, raw_events, raw_listeners, raw_options]) => {
339
- if (cleanup(), !(raw_targets == null ? void 0 : raw_targets.length) || !(raw_events == null ? void 0 : raw_events.length) || !(raw_listeners == null ? void 0 : raw_listeners.length)) return;
340
- const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
341
- cleanups.push(...raw_targets.flatMap((el) => raw_events.flatMap((event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone)))));
342
- }, { flush: "post" }), stop = () => {
343
- stopWatch(), cleanup();
344
- };
345
- return tryOnScopeDispose(cleanup), stop;
346
- }
347
- let _iOSWorkaround = false;
348
- function onClickOutside(target, handler, options = {}) {
349
- const { window: window$1 = defaultWindow, ignore = [], capture = true, detectIframe = false, controls = false } = options;
350
- if (!window$1) return controls ? {
351
- stop: noop,
352
- cancel: noop,
353
- trigger: noop
354
- } : noop;
355
- if (isIOS && !_iOSWorkaround) {
356
- _iOSWorkaround = true;
357
- const listenerOptions = { passive: true };
358
- Array.from(window$1.document.body.children).forEach((el) => el.addEventListener("click", noop, listenerOptions)), window$1.document.documentElement.addEventListener("click", noop, listenerOptions);
359
- }
360
- let shouldListen = true;
361
- const shouldIgnore = (event) => {
362
- return toValue(ignore).some((target2) => {
363
- if (typeof target2 === "string") return Array.from(window$1.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
364
- {
365
- const el = unrefElement(target2);
366
- return el && (event.target === el || event.composedPath().includes(el));
367
- }
368
- });
369
- };
370
- function hasMultipleRoots(target2) {
371
- const vm = toValue(target2);
372
- return vm && vm.$.subTree.shapeFlag === 16;
373
- }
374
- function checkMultipleRoots(target2, event) {
375
- const vm = toValue(target2), children = vm.$.subTree && vm.$.subTree.children;
376
- return children == null || !Array.isArray(children) ? false : children.some((child) => child.el === event.target || event.composedPath().includes(child.el));
377
- }
378
- const listener = (event) => {
379
- const el = unrefElement(target);
380
- if (event.target != null && !(!(el instanceof Element) && hasMultipleRoots(target) && checkMultipleRoots(target, event)) && !(!el || el === event.target || event.composedPath().includes(el))) {
381
- if ("detail" in event && event.detail === 0) shouldListen = !shouldIgnore(event);
382
- if (!shouldListen) {
383
- shouldListen = true;
384
- return;
385
- }
386
- handler(event);
387
- }
388
- };
389
- let isProcessingClick = false;
390
- const cleanup = [
391
- useEventListener(window$1, "click", (event) => {
392
- if (!isProcessingClick) isProcessingClick = true, setTimeout(() => {
393
- isProcessingClick = false;
394
- }, 0), listener(event);
395
- }, {
396
- passive: true,
397
- capture
398
- }),
399
- useEventListener(window$1, "pointerdown", (e) => {
400
- const el = unrefElement(target);
401
- shouldListen = !shouldIgnore(e) && !!(el && !e.composedPath().includes(el));
402
- }, { passive: true }),
403
- detectIframe && useEventListener(window$1, "blur", (event) => {
404
- setTimeout(() => {
405
- var _a;
406
- const el = unrefElement(target);
407
- if (((_a = window$1.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window$1.document.activeElement))) handler(event);
408
- }, 0);
409
- }, { passive: true })
410
- ].filter(Boolean), stop = () => cleanup.forEach((fn) => fn());
411
- return controls ? {
412
- stop,
413
- cancel: () => {
414
- shouldListen = false;
415
- },
416
- trigger: (event) => {
417
- shouldListen = true, listener(event), shouldListen = false;
418
- }
419
- } : stop;
420
- }
421
- /* @__NO_SIDE_EFFECTS__ */
422
- function useMounted() {
423
- const isMounted = shallowRef(false), instance = getCurrentInstance();
424
- if (instance) onMounted(() => {
425
- isMounted.value = true;
426
- }, instance);
427
- return isMounted;
428
- }
429
- /* @__NO_SIDE_EFFECTS__ */
430
- function useSupported(callback) {
431
- const isMounted = /* @__PURE__ */ useMounted();
432
- return computed(() => {
433
- return isMounted.value, Boolean(callback());
434
- });
435
- }
436
- const ssrWidthSymbol = Symbol("vueuse-ssr-width");
437
- /* @__NO_SIDE_EFFECTS__ */
438
- function usePermission(permissionDesc, options = {}) {
439
- const { controls = false, navigator: navigator$1 = defaultNavigator } = options, isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && "permissions" in navigator$1), permissionStatus = shallowRef(), desc = typeof permissionDesc === "string" ? { name: permissionDesc } : permissionDesc, state = shallowRef(), update = () => {
440
- var _a, _b;
441
- state.value = (_b = (_a = permissionStatus.value) == null ? void 0 : _a.state) != null ? _b : "prompt";
442
- };
443
- useEventListener(permissionStatus, "change", update, { passive: true });
444
- const query = createSingletonPromise(async () => {
445
- if (isSupported.value) {
446
- if (!permissionStatus.value) try {
447
- permissionStatus.value = await navigator$1.permissions.query(desc);
448
- } catch (e) {
449
- permissionStatus.value = void 0;
450
- } finally {
451
- update();
452
- }
453
- if (controls) return toRaw(permissionStatus.value);
454
- }
455
- });
456
- return query(), controls ? {
457
- state,
458
- isSupported,
459
- query
460
- } : state;
461
- }
462
- function useClipboard(options = {}) {
463
- const { navigator: navigator$1 = defaultNavigator, read = false, source, copiedDuring = 1500, legacy = false } = options, isClipboardApiSupported = /* @__PURE__ */ useSupported(() => navigator$1 && "clipboard" in navigator$1), permissionRead = /* @__PURE__ */ usePermission("clipboard-read"), permissionWrite = /* @__PURE__ */ usePermission("clipboard-write"), isSupported = computed(() => isClipboardApiSupported.value || legacy), text = shallowRef(""), copied = shallowRef(false), timeout = useTimeoutFn(() => copied.value = false, copiedDuring, { immediate: false });
464
- async function updateText() {
465
- let useLegacy = !(isClipboardApiSupported.value && isAllowed(permissionRead.value));
466
- if (!useLegacy) try {
467
- text.value = await navigator$1.clipboard.readText();
468
- } catch (e) {
469
- useLegacy = true;
470
- }
471
- if (useLegacy) text.value = legacyRead();
472
- }
473
- if (isSupported.value && read) useEventListener(["copy", "cut"], updateText, { passive: true });
474
- async function copy(value = toValue(source)) {
475
- if (isSupported.value && value != null) {
476
- let useLegacy = !(isClipboardApiSupported.value && isAllowed(permissionWrite.value));
477
- if (!useLegacy) try {
478
- await navigator$1.clipboard.writeText(value);
479
- } catch (e) {
480
- useLegacy = true;
481
- }
482
- if (useLegacy) legacyCopy(value);
483
- text.value = value, copied.value = true, timeout.start();
484
- }
485
- }
486
- function legacyCopy(value) {
487
- const ta = document.createElement("textarea");
488
- ta.value = value != null ? value : "", ta.style.position = "absolute", ta.style.opacity = "0", document.body.appendChild(ta), ta.select(), document.execCommand("copy"), ta.remove();
489
- }
490
- function legacyRead() {
491
- var _a, _b, _c;
492
- return (_c = (_b = (_a = document == null ? void 0 : document.getSelection) == null ? void 0 : _a.call(document)) == null ? void 0 : _b.toString()) != null ? _c : "";
493
- }
494
- function isAllowed(status) {
495
- return status === "granted" || status === "prompt";
496
- }
497
- return {
498
- isSupported,
499
- text,
500
- copied,
501
- copy
502
- };
503
- }
504
- function cloneFnJSON(source) {
505
- return JSON.parse(JSON.stringify(source));
506
- }
507
- const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}, globalKey = "__vueuse_ssr_handlers__", handlers = /* @__PURE__ */ getHandlers();
508
- function getHandlers() {
509
- if (!(globalKey in _global)) _global[globalKey] = _global[globalKey] || {};
510
- return _global[globalKey];
511
- }
512
- function getSSRHandler(key, fallback) {
513
- return handlers[key] || fallback;
514
- }
515
- function guessSerializerType(rawInit) {
516
- 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";
517
- }
518
- const StorageSerializers = {
519
- boolean: {
520
- read: (v) => v === "true",
521
- write: (v) => String(v)
522
- },
523
- object: {
524
- read: (v) => JSON.parse(v),
525
- write: (v) => JSON.stringify(v)
526
- },
527
- number: {
528
- read: (v) => Number.parseFloat(v),
529
- write: (v) => String(v)
530
- },
531
- any: {
532
- read: (v) => v,
533
- write: (v) => String(v)
534
- },
535
- string: {
536
- read: (v) => v,
537
- write: (v) => String(v)
538
- },
539
- map: {
540
- read: (v) => new Map(JSON.parse(v)),
541
- write: (v) => JSON.stringify(Array.from(v.entries()))
542
- },
543
- set: {
544
- read: (v) => new Set(JSON.parse(v)),
545
- write: (v) => JSON.stringify(Array.from(v))
546
- },
547
- date: {
548
- read: (v) => new Date(v),
549
- write: (v) => v.toISOString()
550
- }
551
- }, customStorageEventName = "vueuse-storage";
552
- function useStorage(key, defaults, storage, options = {}) {
553
- var _a;
554
- const { flush = "pre", deep = true, listenToStorageChanges = true, writeDefaults = true, mergeDefaults = false, shallow, window: window$1 = defaultWindow, eventFilter, onError = (e) => {
555
- console.error(e);
556
- }, initOnMounted } = options, data = (shallow ? shallowRef : ref)(typeof defaults === "function" ? defaults() : defaults), keyComputed = computed(() => toValue(key));
557
- if (!storage) try {
558
- storage = getSSRHandler("getDefaultStorage", () => {
559
- var _a2;
560
- return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;
561
- })();
562
- } catch (e) {
563
- onError(e);
564
- }
565
- if (!storage) return data;
566
- const rawInit = toValue(defaults), type = guessSerializerType(rawInit), serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type], { pause: pauseWatch, resume: resumeWatch } = watchPausable(data, (newValue) => write(newValue), {
567
- flush,
568
- deep,
569
- eventFilter
570
- });
571
- watch(keyComputed, () => update(), { flush });
572
- let firstMounted = false;
573
- const onStorageEvent = (ev) => {
574
- initOnMounted && !firstMounted || update(ev);
575
- }, onStorageCustomEvent = (ev) => {
576
- initOnMounted && !firstMounted || updateFromCustomEvent(ev);
577
- };
578
- if (window$1 && listenToStorageChanges) if (storage instanceof Storage) useEventListener(window$1, "storage", onStorageEvent, { passive: true });
579
- else useEventListener(window$1, customStorageEventName, onStorageCustomEvent);
580
- if (initOnMounted) tryOnMounted(() => {
581
- firstMounted = true, update();
582
- });
583
- else update();
584
- function dispatchWriteEvent(oldValue, newValue) {
585
- if (window$1) {
586
- const payload = {
587
- key: keyComputed.value,
588
- oldValue,
589
- newValue,
590
- storageArea: storage
591
- };
592
- window$1.dispatchEvent(storage instanceof Storage ? new StorageEvent("storage", payload) : new CustomEvent(customStorageEventName, { detail: payload }));
593
- }
594
- }
595
- function write(v) {
596
- try {
597
- const oldValue = storage.getItem(keyComputed.value);
598
- if (v == null) dispatchWriteEvent(oldValue, null), storage.removeItem(keyComputed.value);
599
- else {
600
- const serialized = serializer.write(v);
601
- if (oldValue !== serialized) storage.setItem(keyComputed.value, serialized), dispatchWriteEvent(oldValue, serialized);
602
- }
603
- } catch (e) {
604
- onError(e);
605
- }
606
- }
607
- function read(event) {
608
- const rawValue = event ? event.newValue : storage.getItem(keyComputed.value);
609
- if (rawValue == null) {
610
- if (writeDefaults && rawInit != null) storage.setItem(keyComputed.value, serializer.write(rawInit));
611
- return rawInit;
612
- } else if (!event && mergeDefaults) {
613
- const value = serializer.read(rawValue);
614
- return typeof mergeDefaults === "function" ? mergeDefaults(value, rawInit) : type === "object" && !Array.isArray(value) ? {
615
- ...rawInit,
616
- ...value
617
- } : value;
618
- } else if (typeof rawValue !== "string") return rawValue;
619
- else return serializer.read(rawValue);
620
- }
621
- function update(event) {
622
- if (!(event && event.storageArea !== storage)) {
623
- if (event && event.key == null) {
624
- data.value = rawInit;
625
- return;
626
- }
627
- if (!(event && event.key !== keyComputed.value)) {
628
- pauseWatch();
629
- try {
630
- const serializedData = serializer.write(data.value);
631
- if (event === void 0 || (event == null ? void 0 : event.newValue) !== serializedData) data.value = read(event);
632
- } catch (e) {
633
- onError(e);
634
- } finally {
635
- if (event) nextTick(resumeWatch);
636
- else resumeWatch();
637
- }
638
- }
639
- }
640
- }
641
- function updateFromCustomEvent(event) {
642
- update(event.detail);
643
- }
644
- return data;
645
- }
646
- function useResizeObserver(target, callback, options = {}) {
647
- const { window: window$1 = defaultWindow,...observerOptions } = options;
648
- let observer;
649
- const isSupported = /* @__PURE__ */ useSupported(() => window$1 && "ResizeObserver" in window$1), cleanup = () => {
650
- if (observer) observer.disconnect(), observer = void 0;
651
- }, targets = computed(() => {
652
- const _targets = toValue(target);
653
- return Array.isArray(_targets) ? _targets.map((el) => unrefElement(el)) : [unrefElement(_targets)];
654
- }), stopWatch = watch(targets, (els) => {
655
- if (cleanup(), isSupported.value && window$1) {
656
- observer = new ResizeObserver(callback);
657
- for (const _el of els) if (_el) observer.observe(_el, observerOptions);
658
- }
659
- }, {
660
- immediate: true,
661
- flush: "post"
662
- }), stop = () => {
663
- cleanup(), stopWatch();
664
- };
665
- return tryOnScopeDispose(stop), {
666
- isSupported,
667
- stop
668
- };
669
- }
670
- function useElementSize(target, initialSize = {
671
- width: 0,
672
- height: 0
673
- }, options = {}) {
674
- const { window: window$1 = defaultWindow, box = "content-box" } = options, isSVG = computed(() => {
675
- var _a, _b;
676
- return (_b = (_a = unrefElement(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes("svg");
677
- }), width = shallowRef(initialSize.width), height = shallowRef(initialSize.height), { stop: stop1 } = useResizeObserver(target, ([entry]) => {
678
- const boxSize = box === "border-box" ? entry.borderBoxSize : box === "content-box" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;
679
- if (window$1 && isSVG.value) {
680
- const $elem = unrefElement(target);
681
- if ($elem) {
682
- const rect = $elem.getBoundingClientRect();
683
- width.value = rect.width, height.value = rect.height;
684
- }
685
- } else if (boxSize) {
686
- const formatBoxSize = toArray(boxSize);
687
- width.value = formatBoxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0), height.value = formatBoxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);
688
- } else width.value = entry.contentRect.width, height.value = entry.contentRect.height;
689
- }, options);
690
- tryOnMounted(() => {
691
- const ele = unrefElement(target);
692
- if (ele) width.value = "offsetWidth" in ele ? ele.offsetWidth : initialSize.width, height.value = "offsetHeight" in ele ? ele.offsetHeight : initialSize.height;
693
- });
694
- const stop2 = watch(() => unrefElement(target), (ele) => {
695
- width.value = ele ? initialSize.width : 0, height.value = ele ? initialSize.height : 0;
696
- });
697
- function stop() {
698
- stop1(), stop2();
699
- }
700
- return {
701
- width,
702
- height,
703
- stop
704
- };
705
- }
706
- const payloadMapping = {
707
- json: "application/json",
708
- text: "text/plain"
709
- };
710
- function isFetchOptions(obj) {
711
- return obj && containsProp(obj, "immediate", "refetch", "initialData", "timeout", "beforeFetch", "afterFetch", "onFetchError", "fetch", "updateDataOnError");
712
- }
713
- function headersToObject(headers) {
714
- return typeof Headers !== "undefined" && headers instanceof Headers ? Object.fromEntries(headers.entries()) : headers;
715
- }
716
- function useFetch(url, ...args) {
717
- var _a, _b;
718
- const supportsAbort = typeof AbortController === "function";
719
- let fetchOptions = {}, options = {
720
- immediate: true,
721
- refetch: false,
722
- timeout: 0,
723
- updateDataOnError: false
724
- };
725
- const config = {
726
- method: "GET",
727
- type: "text",
728
- payload: void 0
729
- };
730
- if (args.length > 0) if (isFetchOptions(args[0])) options = {
731
- ...options,
732
- ...args[0]
733
- };
734
- else fetchOptions = args[0];
735
- if (args.length > 1) {
736
- if (isFetchOptions(args[1])) options = {
737
- ...options,
738
- ...args[1]
739
- };
740
- }
741
- const { fetch = (_b = (_a = defaultWindow) == null ? void 0 : _a.fetch) != null ? _b : globalThis == null ? void 0 : globalThis.fetch, initialData, timeout } = options, responseEvent = /* @__PURE__ */ createEventHook(), errorEvent = /* @__PURE__ */ createEventHook(), finallyEvent = /* @__PURE__ */ createEventHook(), isFinished = shallowRef(false), isFetching = shallowRef(false), aborted = shallowRef(false), statusCode = shallowRef(null), response = shallowRef(null), error = shallowRef(null), data = shallowRef(initialData || null), canAbort = computed(() => supportsAbort && isFetching.value);
742
- let controller, timer;
743
- const abort = (reason) => {
744
- if (supportsAbort) controller?.abort(reason), controller = new AbortController(), controller.signal.onabort = () => aborted.value = true, fetchOptions = {
745
- ...fetchOptions,
746
- signal: controller.signal
747
- };
748
- }, loading = (isLoading) => {
749
- isFetching.value = isLoading, isFinished.value = !isLoading;
750
- };
751
- if (timeout) timer = useTimeoutFn(abort, timeout, { immediate: false });
752
- let executeCounter = 0;
753
- const execute = async (throwOnFailed = false) => {
754
- var _a2, _b2;
755
- abort(), loading(true), error.value = null, statusCode.value = null, aborted.value = false, executeCounter += 1;
756
- const currentExecuteCounter = executeCounter, defaultFetchOptions = {
757
- method: config.method,
758
- headers: {}
759
- }, payload = toValue(config.payload);
760
- if (payload) {
761
- const headers = headersToObject(defaultFetchOptions.headers), proto = Object.getPrototypeOf(payload);
762
- if (!config.payloadType && payload && (proto === Object.prototype || Array.isArray(proto)) && !(payload instanceof FormData)) config.payloadType = "json";
763
- if (config.payloadType) headers["Content-Type"] = (_a2 = payloadMapping[config.payloadType]) != null ? _a2 : config.payloadType;
764
- defaultFetchOptions.body = config.payloadType === "json" ? JSON.stringify(payload) : payload;
765
- }
766
- let isCanceled = false;
767
- const context = {
768
- url: toValue(url),
769
- options: {
770
- ...defaultFetchOptions,
771
- ...fetchOptions
772
- },
773
- cancel: () => {
774
- isCanceled = true;
775
- }
776
- };
777
- if (options.beforeFetch) Object.assign(context, await options.beforeFetch(context));
778
- if (isCanceled || !fetch) return loading(false), Promise.resolve(null);
779
- let responseData = null;
780
- if (timer) timer.start();
781
- return fetch(context.url, {
782
- ...defaultFetchOptions,
783
- ...context.options,
784
- headers: {
785
- ...headersToObject(defaultFetchOptions.headers),
786
- ...headersToObject((_b2 = context.options) == null ? void 0 : _b2.headers)
787
- }
788
- }).then(async (fetchResponse) => {
789
- if (response.value = fetchResponse, statusCode.value = fetchResponse.status, responseData = await fetchResponse.clone()[config.type](), !fetchResponse.ok) throw data.value = initialData || null, new Error(fetchResponse.statusText);
790
- if (options.afterFetch) ({data: responseData} = await options.afterFetch({
791
- data: responseData,
792
- response: fetchResponse,
793
- context,
794
- execute
795
- }));
796
- return data.value = responseData, responseEvent.trigger(fetchResponse), fetchResponse;
797
- }).catch(async (fetchError) => {
798
- let errorData = fetchError.message || fetchError.name;
799
- if (options.onFetchError) ({error: errorData, data: responseData} = await options.onFetchError({
800
- data: responseData,
801
- error: fetchError,
802
- response: response.value,
803
- context,
804
- execute
805
- }));
806
- if (error.value = errorData, options.updateDataOnError) data.value = responseData;
807
- if (errorEvent.trigger(fetchError), throwOnFailed) throw fetchError;
808
- return null;
809
- }).finally(() => {
810
- if (currentExecuteCounter === executeCounter) loading(false);
811
- if (timer) timer.stop();
812
- finallyEvent.trigger(null);
813
- });
814
- }, refetch = toRef$1(options.refetch);
815
- watch([refetch, toRef$1(url)], ([refetch2]) => refetch2 && execute(), { deep: true });
816
- const shell = {
817
- isFinished: readonly(isFinished),
818
- isFetching: readonly(isFetching),
819
- statusCode,
820
- response,
821
- error,
822
- data,
823
- canAbort,
824
- aborted,
825
- abort,
826
- execute,
827
- onFetchResponse: responseEvent.on,
828
- onFetchError: errorEvent.on,
829
- onFetchFinally: finallyEvent.on,
830
- get: setMethod("GET"),
831
- put: setMethod("PUT"),
832
- post: setMethod("POST"),
833
- delete: setMethod("DELETE"),
834
- patch: setMethod("PATCH"),
835
- head: setMethod("HEAD"),
836
- options: setMethod("OPTIONS"),
837
- json: setType("json"),
838
- text: setType("text"),
839
- blob: setType("blob"),
840
- arrayBuffer: setType("arrayBuffer"),
841
- formData: setType("formData")
842
- };
843
- function setMethod(method) {
844
- return (payload, payloadType) => {
845
- if (!isFetching.value) {
846
- if (config.method = method, config.payload = payload, config.payloadType = payloadType, isRef(config.payload)) watch([refetch, toRef$1(config.payload)], ([refetch2]) => refetch2 && execute(), { deep: true });
847
- return {
848
- ...shell,
849
- then(onFulfilled, onRejected) {
850
- return waitUntilFinished().then(onFulfilled, onRejected);
851
- }
852
- };
853
- }
854
- return void 0;
855
- };
856
- }
857
- function waitUntilFinished() {
858
- return new Promise((resolve, reject) => {
859
- until(isFinished).toBe(true).then(() => resolve(shell)).catch(reject);
860
- });
861
- }
862
- function setType(type) {
863
- return () => {
864
- return isFetching.value ? void 0 : (config.type = type, {
865
- ...shell,
866
- then(onFulfilled, onRejected) {
867
- return waitUntilFinished().then(onFulfilled, onRejected);
868
- }
869
- });
870
- };
871
- }
872
- if (options.immediate) Promise.resolve().then(() => execute());
873
- return {
874
- ...shell,
875
- then(onFulfilled, onRejected) {
876
- return waitUntilFinished().then(onFulfilled, onRejected);
877
- }
878
- };
879
- }
880
- function useLocalStorage(key, initialValue, options = {}) {
881
- const { window: window$1 = defaultWindow } = options;
882
- return useStorage(key, initialValue, window$1 == null ? void 0 : window$1.localStorage, options);
883
- }
884
- const DEFAULT_UNITS = [
885
- {
886
- max: 6e4,
887
- value: 1e3,
888
- name: "second"
889
- },
890
- {
891
- max: 276e4,
892
- value: 6e4,
893
- name: "minute"
894
- },
895
- {
896
- max: 72e6,
897
- value: 36e5,
898
- name: "hour"
899
- },
900
- {
901
- max: 5184e5,
902
- value: 864e5,
903
- name: "day"
904
- },
905
- {
906
- max: 24192e5,
907
- value: 6048e5,
908
- name: "week"
909
- },
910
- {
911
- max: 28512e6,
912
- value: 2592e6,
913
- name: "month"
914
- },
915
- {
916
- max: Number.POSITIVE_INFINITY,
917
- value: 31536e6,
918
- name: "year"
919
- }
920
- ];
921
- /* @__NO_SIDE_EFFECTS__ */
922
- function useVModel(props, key, emit, options = {}) {
923
- var _a, _b, _c;
924
- const { clone = false, passive = false, eventName, deep = false, defaultValue, shouldEmit } = options, vm = getCurrentInstance(), _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));
925
- let event = eventName;
926
- if (!key) key = "modelValue";
927
- event = event || `update:${key.toString()}`;
928
- const cloneFn = (val) => !clone ? val : typeof clone === "function" ? clone(val) : cloneFnJSON(val), getValue = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue, triggerEmit = (value) => {
929
- if (shouldEmit) {
930
- if (shouldEmit(value)) _emit(event, value);
931
- } else _emit(event, value);
932
- };
933
- if (passive) {
934
- const initialValue = getValue(), proxy = ref(initialValue);
935
- let isUpdating = false;
936
- return watch(() => props[key], (v) => {
937
- if (!isUpdating) isUpdating = true, proxy.value = cloneFn(v), nextTick(() => isUpdating = false);
938
- }), watch(proxy, (v) => {
939
- if (!isUpdating && (v !== props[key] || deep)) triggerEmit(v);
940
- }, { deep }), proxy;
941
- } else return computed({
942
- get() {
943
- return getValue();
944
- },
945
- set(value) {
946
- triggerEmit(value);
947
- }
948
- });
949
- }
950
- var __plugin_vue_export_helper_default = (sfc, props) => {
951
- const target = sfc.__vccOpts || sfc;
952
- for (const [key, val] of props) target[key] = val;
953
- return target;
954
- };
955
- const _hoisted_1 = { class: "n-badge" };
956
- var Badge_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
957
- name: "Badge",
958
- __name: "Badge",
959
- setup(__props) {
960
- return (_ctx, _cache) => {
961
- return openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "default")]);
962
- };
963
- }
964
- }), Badge_default = Badge_vue_vue_type_script_setup_true_lang_default;
965
- const API_ROOT = "/__pubinfo_devtools_api", overviewFetch = useFetch(`${API_ROOT}/overview`, { immediate: false }).json(), apiListFetch = useFetch(`${API_ROOT}/api-list`, { immediate: false }).json(), componentUsageFetch = useFetch(`${API_ROOT}/component-usage`, { immediate: false }).json();
966
- function usePackageVersion(packageName) {
967
- return useFetch(`${API_ROOT}/package-version?package=${encodeURIComponent(packageName)}`, { immediate: false }).json();
968
- }
969
- export { apiListFetch as b, componentUsageFetch as c, overviewFetch as d, usePackageVersion as e, Badge_default as f, __plugin_vue_export_helper_default as g, createReusableTemplate as h, onClickOutside as i, useClipboard as j, useElementSize as k, useLocalStorage as l, useVModel as m, createEventHook as n, createSharedComposable as o };