@elgap/edukaai 0.1.0

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 (306) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/BHDzAs85.js +1 -0
  3. package/.output/public/_nuxt/BJzbfdL_.js +1 -0
  4. package/.output/public/_nuxt/BKGLlKXk.js +6 -0
  5. package/.output/public/_nuxt/BLuXzJk3.js +1 -0
  6. package/.output/public/_nuxt/BNOzzLI3.js +1 -0
  7. package/.output/public/_nuxt/BO5GMwXh.js +1 -0
  8. package/.output/public/_nuxt/BQRbsFGy.js +1 -0
  9. package/.output/public/_nuxt/Be4MVdOg.js +1 -0
  10. package/.output/public/_nuxt/Bu4d3Z1T.js +1 -0
  11. package/.output/public/_nuxt/BwpBBNv4.js +1 -0
  12. package/.output/public/_nuxt/C1Og9-6n.js +97 -0
  13. package/.output/public/_nuxt/C3CjAhtj.js +1 -0
  14. package/.output/public/_nuxt/C6E3Ty3z.js +1 -0
  15. package/.output/public/_nuxt/COct4B42.js +1 -0
  16. package/.output/public/_nuxt/CQ6g2dtj.js +1 -0
  17. package/.output/public/_nuxt/CURSW5TV.js +246 -0
  18. package/.output/public/_nuxt/CW57JW4s.js +1 -0
  19. package/.output/public/_nuxt/Cg2fM61o.js +18 -0
  20. package/.output/public/_nuxt/CgGOeWta.js +1 -0
  21. package/.output/public/_nuxt/CoyYbT7u.js +1 -0
  22. package/.output/public/_nuxt/D11MHbGc.js +133 -0
  23. package/.output/public/_nuxt/D24dz0S8.js +1 -0
  24. package/.output/public/_nuxt/D3EFPr8x.js +1 -0
  25. package/.output/public/_nuxt/Dvt4ZHil.js +1 -0
  26. package/.output/public/_nuxt/builds/latest.json +1 -0
  27. package/.output/public/_nuxt/builds/meta/ab87ba0e-6d0d-4466-8b12-00d44f8fb9d3.json +1 -0
  28. package/.output/public/_nuxt/default.C1K1-g4D.css +1 -0
  29. package/.output/public/_nuxt/entry.CH8k-Mga.css +1 -0
  30. package/.output/public/_nuxt/error-404.C-Ezrlz-.css +1 -0
  31. package/.output/public/_nuxt/error-500.DBWf9FGj.css +1 -0
  32. package/.output/public/_nuxt/first-training.wFDD65zm.css +1 -0
  33. package/.output/public/_nuxt/import.cUKYdCrq.css +1 -0
  34. package/.output/public/_nuxt/index.D-2VHyHA.css +1 -0
  35. package/.output/public/_nuxt/index.D4J_vHmL.css +1 -0
  36. package/.output/public/_nuxt/mPJeLIz7.js +1 -0
  37. package/.output/server/chunks/_/error-500.mjs +19 -0
  38. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  39. package/.output/server/chunks/build/ExampleCard-styles.BUOJhEg0.mjs +8 -0
  40. package/.output/server/chunks/build/ExampleCard-styles.BUOJhEg0.mjs.map +1 -0
  41. package/.output/server/chunks/build/ExampleForm-Bcpl0CfL.mjs +238 -0
  42. package/.output/server/chunks/build/ExampleForm-Bcpl0CfL.mjs.map +1 -0
  43. package/.output/server/chunks/build/ImportPreview-styles.CFmMl5Ok.mjs +8 -0
  44. package/.output/server/chunks/build/ImportPreview-styles.CFmMl5Ok.mjs.map +1 -0
  45. package/.output/server/chunks/build/_id_-BUSGcL-H.mjs +113 -0
  46. package/.output/server/chunks/build/_id_-BUSGcL-H.mjs.map +1 -0
  47. package/.output/server/chunks/build/axolotl-C-EXGgM8.mjs +112 -0
  48. package/.output/server/chunks/build/axolotl-C-EXGgM8.mjs.map +1 -0
  49. package/.output/server/chunks/build/best-practices-DsadorHb.mjs +38 -0
  50. package/.output/server/chunks/build/best-practices-DsadorHb.mjs.map +1 -0
  51. package/.output/server/chunks/build/client.precomputed.mjs +4 -0
  52. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
  53. package/.output/server/chunks/build/default-DPkqqHOE.mjs +354 -0
  54. package/.output/server/chunks/build/default-DPkqqHOE.mjs.map +1 -0
  55. package/.output/server/chunks/build/default-styles.DsqVVS7k.mjs +8 -0
  56. package/.output/server/chunks/build/default-styles.DsqVVS7k.mjs.map +1 -0
  57. package/.output/server/chunks/build/error-404-K4UfZNck.mjs +97 -0
  58. package/.output/server/chunks/build/error-404-K4UfZNck.mjs.map +1 -0
  59. package/.output/server/chunks/build/error-404-styles.DuDrf-v0.mjs +8 -0
  60. package/.output/server/chunks/build/error-404-styles.DuDrf-v0.mjs.map +1 -0
  61. package/.output/server/chunks/build/error-500-CA7TEPNg.mjs +79 -0
  62. package/.output/server/chunks/build/error-500-CA7TEPNg.mjs.map +1 -0
  63. package/.output/server/chunks/build/error-500-styles.8IYEHzz6.mjs +8 -0
  64. package/.output/server/chunks/build/error-500-styles.8IYEHzz6.mjs.map +1 -0
  65. package/.output/server/chunks/build/examples-BHK8MDrs.mjs +134 -0
  66. package/.output/server/chunks/build/examples-BHK8MDrs.mjs.map +1 -0
  67. package/.output/server/chunks/build/export-BzxFqqfP.mjs +233 -0
  68. package/.output/server/chunks/build/export-BzxFqqfP.mjs.map +1 -0
  69. package/.output/server/chunks/build/faq-DKch73dS.mjs +112 -0
  70. package/.output/server/chunks/build/faq-DKch73dS.mjs.map +1 -0
  71. package/.output/server/chunks/build/field-guide-qbukT8F0.mjs +38 -0
  72. package/.output/server/chunks/build/field-guide-qbukT8F0.mjs.map +1 -0
  73. package/.output/server/chunks/build/first-training-BbEOBcEW.mjs +343 -0
  74. package/.output/server/chunks/build/first-training-BbEOBcEW.mjs.map +1 -0
  75. package/.output/server/chunks/build/first-training-styles.BzOa_KRD.mjs +8 -0
  76. package/.output/server/chunks/build/first-training-styles.BzOa_KRD.mjs.map +1 -0
  77. package/.output/server/chunks/build/glossary-CxSGCJoH.mjs +397 -0
  78. package/.output/server/chunks/build/glossary-CxSGCJoH.mjs.map +1 -0
  79. package/.output/server/chunks/build/huggingface-TSmyUzZU.mjs +128 -0
  80. package/.output/server/chunks/build/huggingface-TSmyUzZU.mjs.map +1 -0
  81. package/.output/server/chunks/build/import-C0kYhRv9.mjs +247 -0
  82. package/.output/server/chunks/build/import-C0kYhRv9.mjs.map +1 -0
  83. package/.output/server/chunks/build/index-C1ntBEWd.mjs +235 -0
  84. package/.output/server/chunks/build/index-C1ntBEWd.mjs.map +1 -0
  85. package/.output/server/chunks/build/index-D3CxihcX.mjs +320 -0
  86. package/.output/server/chunks/build/index-D3CxihcX.mjs.map +1 -0
  87. package/.output/server/chunks/build/index-DgKa1cy0.mjs +360 -0
  88. package/.output/server/chunks/build/index-DgKa1cy0.mjs.map +1 -0
  89. package/.output/server/chunks/build/index-cG54gaKX.mjs +513 -0
  90. package/.output/server/chunks/build/index-cG54gaKX.mjs.map +1 -0
  91. package/.output/server/chunks/build/index-styles.BX2SZiiS.mjs +8 -0
  92. package/.output/server/chunks/build/index-styles.BX2SZiiS.mjs.map +1 -0
  93. package/.output/server/chunks/build/llm-training-DIqc0eiM.mjs +91 -0
  94. package/.output/server/chunks/build/llm-training-DIqc0eiM.mjs.map +1 -0
  95. package/.output/server/chunks/build/new-b3338aLF.mjs +92 -0
  96. package/.output/server/chunks/build/new-b3338aLF.mjs.map +1 -0
  97. package/.output/server/chunks/build/nuxt-link-Ceyd90PQ.mjs +290 -0
  98. package/.output/server/chunks/build/nuxt-link-Ceyd90PQ.mjs.map +1 -0
  99. package/.output/server/chunks/build/sample-datasets-CVLWMQUA.mjs +45 -0
  100. package/.output/server/chunks/build/sample-datasets-CVLWMQUA.mjs.map +1 -0
  101. package/.output/server/chunks/build/server.mjs +1979 -0
  102. package/.output/server/chunks/build/server.mjs.map +1 -0
  103. package/.output/server/chunks/build/styles.mjs +20 -0
  104. package/.output/server/chunks/build/styles.mjs.map +1 -0
  105. package/.output/server/chunks/build/test-router-BYM6Cpst.mjs +105 -0
  106. package/.output/server/chunks/build/test-router-BYM6Cpst.mjs.map +1 -0
  107. package/.output/server/chunks/nitro/nitro.mjs +5800 -0
  108. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  109. package/.output/server/chunks/routes/renderer.mjs +481 -0
  110. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  111. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  112. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  113. package/.output/server/index.mjs +12 -0
  114. package/.output/server/index.mjs.map +1 -0
  115. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/api.js +2 -0
  116. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/app.js +2 -0
  117. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/component.js +2 -0
  118. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/context.js +2 -0
  119. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/hooks.js +2 -0
  120. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/index.js +22 -0
  121. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/util.js +2 -0
  122. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/const.js +5 -0
  123. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/env.js +17 -0
  124. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/index.js +45 -0
  125. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/plugin.js +2 -0
  126. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/proxy.js +111 -0
  127. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/time.js +28 -0
  128. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/package.json +37 -0
  129. package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.9/dist/index.cjs +42 -0
  130. package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.9/package.json +32 -0
  131. package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.cjs +299 -0
  132. package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +49 -0
  133. package/.output/server/node_modules/.nitro/hookable@6.0.1/dist/index.mjs +266 -0
  134. package/.output/server/node_modules/.nitro/hookable@6.0.1/package.json +52 -0
  135. package/.output/server/node_modules/.nitro/perfect-debounce@1.0.0/dist/index.cjs +59 -0
  136. package/.output/server/node_modules/.nitro/perfect-debounce@1.0.0/package.json +44 -0
  137. package/.output/server/node_modules/.nitro/perfect-debounce@2.1.0/dist/index.mjs +89 -0
  138. package/.output/server/node_modules/.nitro/perfect-debounce@2.1.0/package.json +41 -0
  139. package/.output/server/node_modules/@babel/parser/lib/index.js +14582 -0
  140. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  141. package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +292 -0
  142. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +702 -0
  143. package/.output/server/node_modules/@iconify/utils/lib/css/common.js +76 -0
  144. package/.output/server/node_modules/@iconify/utils/lib/css/format.js +40 -0
  145. package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +52 -0
  146. package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +133 -0
  147. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +20 -0
  148. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +15 -0
  149. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +18 -0
  150. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +18 -0
  151. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +31 -0
  152. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +80 -0
  153. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +102 -0
  154. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +29 -0
  155. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +60 -0
  156. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +50 -0
  157. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +204 -0
  158. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +35 -0
  159. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +134 -0
  160. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +167 -0
  161. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +81 -0
  162. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +94 -0
  163. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +28 -0
  164. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +78 -0
  165. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +68 -0
  166. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +47 -0
  167. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +105 -0
  168. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +38 -0
  169. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +94 -0
  170. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +64 -0
  171. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +26 -0
  172. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +18 -0
  173. package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +58 -0
  174. package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +34 -0
  175. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +13 -0
  176. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +126 -0
  177. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +21 -0
  178. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +27 -0
  179. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +38 -0
  180. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +93 -0
  181. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +48 -0
  182. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +24 -0
  183. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +44 -0
  184. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +125 -0
  185. package/.output/server/node_modules/@iconify/utils/lib/index.js +53 -0
  186. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +32 -0
  187. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +28 -0
  188. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +42 -0
  189. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +63 -0
  190. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +27 -0
  191. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +27 -0
  192. package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +10 -0
  193. package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +115 -0
  194. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +32 -0
  195. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +15 -0
  196. package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +10 -0
  197. package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +42 -0
  198. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +23 -0
  199. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +69 -0
  200. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +55 -0
  201. package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +28 -0
  202. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +8 -0
  203. package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +23 -0
  204. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +9 -0
  205. package/.output/server/node_modules/@iconify/utils/package.json +118 -0
  206. package/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +1893 -0
  207. package/.output/server/node_modules/@iconify/vue/package.json +64 -0
  208. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6763 -0
  209. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  210. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
  211. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  212. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
  213. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  214. package/.output/server/node_modules/@vue/devtools-kit/dist/index.cjs +6850 -0
  215. package/.output/server/node_modules/@vue/devtools-kit/package.json +44 -0
  216. package/.output/server/node_modules/@vue/devtools-shared/dist/index.cjs +378 -0
  217. package/.output/server/node_modules/@vue/devtools-shared/package.json +34 -0
  218. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1870 -0
  219. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  220. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6810 -0
  221. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  222. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1750 -0
  223. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  224. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +883 -0
  225. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  226. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
  227. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  228. package/.output/server/node_modules/birpc/dist/index.cjs +296 -0
  229. package/.output/server/node_modules/birpc/package.json +57 -0
  230. package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
  231. package/.output/server/node_modules/consola/dist/core.mjs +512 -0
  232. package/.output/server/node_modules/consola/dist/index.mjs +651 -0
  233. package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
  234. package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
  235. package/.output/server/node_modules/consola/package.json +136 -0
  236. package/.output/server/node_modules/devalue/index.js +4 -0
  237. package/.output/server/node_modules/devalue/package.json +37 -0
  238. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  239. package/.output/server/node_modules/devalue/src/constants.js +7 -0
  240. package/.output/server/node_modules/devalue/src/parse.js +246 -0
  241. package/.output/server/node_modules/devalue/src/stringify.js +350 -0
  242. package/.output/server/node_modules/devalue/src/uneval.js +490 -0
  243. package/.output/server/node_modules/devalue/src/utils.js +148 -0
  244. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  245. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  246. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  247. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  248. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  249. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  250. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  251. package/.output/server/node_modules/entities/package.json +120 -0
  252. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  253. package/.output/server/node_modules/estree-walker/package.json +37 -0
  254. package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +719 -0
  255. package/.output/server/node_modules/pinia/package.json +94 -0
  256. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  257. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  258. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  259. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  260. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  261. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  262. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  263. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  264. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  265. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  266. package/.output/server/node_modules/source-map-js/package.json +71 -0
  267. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  268. package/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +1 -0
  269. package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
  270. package/.output/server/node_modules/tailwindcss/package.json +89 -0
  271. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  272. package/.output/server/node_modules/ufo/package.json +48 -0
  273. package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
  274. package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
  275. package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
  276. package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
  277. package/.output/server/node_modules/unhead/dist/server.mjs +180 -0
  278. package/.output/server/node_modules/unhead/dist/shared/unhead.BPM0-cfG.mjs +44 -0
  279. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
  280. package/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +269 -0
  281. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
  282. package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
  283. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
  284. package/.output/server/node_modules/unhead/dist/shared/unhead.D_nrZZPH.mjs +182 -0
  285. package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
  286. package/.output/server/node_modules/unhead/dist/shared/unhead.fVVqDC1O.mjs +203 -0
  287. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
  288. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  289. package/.output/server/node_modules/unhead/package.json +105 -0
  290. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  291. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  292. package/.output/server/node_modules/vue/index.js +7 -0
  293. package/.output/server/node_modules/vue/index.mjs +1 -0
  294. package/.output/server/node_modules/vue/package.json +112 -0
  295. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  296. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
  297. package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
  298. package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
  299. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
  300. package/.output/server/node_modules/vue-router/package.json +153 -0
  301. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  302. package/.output/server/package.json +37 -0
  303. package/LICENSE +21 -0
  304. package/README.md +132 -0
  305. package/bin/cli.js +75 -0
  306. package/package.json +71 -0
@@ -0,0 +1,645 @@
1
+ const n = /[^\0-\x7E]/;
2
+ const t = /[\x2E\u3002\uFF0E\uFF61]/g;
3
+ const o = {
4
+ overflow: "Overflow Error",
5
+ "not-basic": "Illegal Input",
6
+ "invalid-input": "Invalid Input"
7
+ };
8
+ const e = Math.floor;
9
+ const r = String.fromCharCode;
10
+ function s(n2) {
11
+ throw new RangeError(o[n2]);
12
+ }
13
+ const c = function(n2, t2) {
14
+ return n2 + 22 + 75 * (n2 < 26) - ((t2 != 0) << 5);
15
+ };
16
+ const u = function(n2, t2, o2) {
17
+ let r2 = 0;
18
+ for (n2 = o2 ? e(n2 / 700) : n2 >> 1, n2 += e(n2 / t2); n2 > 455; r2 += 36) {
19
+ n2 = e(n2 / 35);
20
+ }
21
+ return e(r2 + 36 * n2 / (n2 + 38));
22
+ };
23
+ function toASCII(o2) {
24
+ return (function(n2, o3) {
25
+ const e2 = n2.split("@");
26
+ let r2 = "";
27
+ e2.length > 1 && (r2 = e2[0] + "@", n2 = e2[1]);
28
+ const s2 = (function(n3, t2) {
29
+ const o4 = [];
30
+ let e3 = n3.length;
31
+ for (; e3--; ) {
32
+ o4[e3] = t2(n3[e3]);
33
+ }
34
+ return o4;
35
+ })((n2 = n2.replace(t, ".")).split("."), o3).join(".");
36
+ return r2 + s2;
37
+ })(o2, function(t2) {
38
+ return n.test(t2) ? "xn--" + (function(n2) {
39
+ const t3 = [];
40
+ const o3 = (n2 = (function(n3) {
41
+ const t4 = [];
42
+ let o4 = 0;
43
+ const e2 = n3.length;
44
+ for (; o4 < e2; ) {
45
+ const r2 = n3.charCodeAt(o4++);
46
+ if (r2 >= 55296 && r2 <= 56319 && o4 < e2) {
47
+ const e3 = n3.charCodeAt(o4++);
48
+ (64512 & e3) == 56320 ? t4.push(((1023 & r2) << 10) + (1023 & e3) + 65536) : (t4.push(r2), o4--);
49
+ } else {
50
+ t4.push(r2);
51
+ }
52
+ }
53
+ return t4;
54
+ })(n2)).length;
55
+ let f = 128;
56
+ let i = 0;
57
+ let l = 72;
58
+ for (const o4 of n2) {
59
+ o4 < 128 && t3.push(r(o4));
60
+ }
61
+ const h = t3.length;
62
+ let p = h;
63
+ for (h && t3.push("-"); p < o3; ) {
64
+ let o4 = 2147483647;
65
+ for (const t4 of n2) {
66
+ t4 >= f && t4 < o4 && (o4 = t4);
67
+ }
68
+ const a = p + 1;
69
+ o4 - f > e((2147483647 - i) / a) && s("overflow"), i += (o4 - f) * a, f = o4;
70
+ for (const o5 of n2) {
71
+ if (o5 < f && ++i > 2147483647 && s("overflow"), o5 == f) {
72
+ let n3 = i;
73
+ for (let o6 = 36; ; o6 += 36) {
74
+ const s2 = o6 <= l ? 1 : o6 >= l + 26 ? 26 : o6 - l;
75
+ if (n3 < s2) {
76
+ break;
77
+ }
78
+ const u2 = n3 - s2;
79
+ const f2 = 36 - s2;
80
+ t3.push(r(c(s2 + u2 % f2, 0))), n3 = e(u2 / f2);
81
+ }
82
+ t3.push(r(c(n3, 0))), l = u(i, a, p == h), i = 0, ++p;
83
+ }
84
+ }
85
+ ++i, ++f;
86
+ }
87
+ return t3.join("");
88
+ })(t2) : t2;
89
+ });
90
+ }
91
+
92
+ const HASH_RE = /#/g;
93
+ const AMPERSAND_RE = /&/g;
94
+ const SLASH_RE = /\//g;
95
+ const EQUAL_RE = /=/g;
96
+ const IM_RE = /\?/g;
97
+ const PLUS_RE = /\+/g;
98
+ const ENC_CARET_RE = /%5e/gi;
99
+ const ENC_BACKTICK_RE = /%60/gi;
100
+ const ENC_CURLY_OPEN_RE = /%7b/gi;
101
+ const ENC_PIPE_RE = /%7c/gi;
102
+ const ENC_CURLY_CLOSE_RE = /%7d/gi;
103
+ const ENC_SPACE_RE = /%20/gi;
104
+ const ENC_SLASH_RE = /%2f/gi;
105
+ const ENC_ENC_SLASH_RE = /%252f/gi;
106
+ function encode(text) {
107
+ return encodeURI("" + text).replace(ENC_PIPE_RE, "|");
108
+ }
109
+ function encodeHash(text) {
110
+ return encode(text).replace(ENC_CURLY_OPEN_RE, "{").replace(ENC_CURLY_CLOSE_RE, "}").replace(ENC_CARET_RE, "^");
111
+ }
112
+ function encodeQueryValue(input) {
113
+ return encode(typeof input === "string" ? input : JSON.stringify(input)).replace(PLUS_RE, "%2B").replace(ENC_SPACE_RE, "+").replace(HASH_RE, "%23").replace(AMPERSAND_RE, "%26").replace(ENC_BACKTICK_RE, "`").replace(ENC_CARET_RE, "^").replace(SLASH_RE, "%2F");
114
+ }
115
+ function encodeQueryKey(text) {
116
+ return encodeQueryValue(text).replace(EQUAL_RE, "%3D");
117
+ }
118
+ function encodePath(text) {
119
+ return encode(text).replace(HASH_RE, "%23").replace(IM_RE, "%3F").replace(ENC_ENC_SLASH_RE, "%2F").replace(AMPERSAND_RE, "%26").replace(PLUS_RE, "%2B");
120
+ }
121
+ function encodeParam(text) {
122
+ return encodePath(text).replace(SLASH_RE, "%2F");
123
+ }
124
+ function decode(text = "") {
125
+ try {
126
+ return decodeURIComponent("" + text);
127
+ } catch {
128
+ return "" + text;
129
+ }
130
+ }
131
+ function decodePath(text) {
132
+ return decode(text.replace(ENC_SLASH_RE, "%252F"));
133
+ }
134
+ function decodeQueryKey(text) {
135
+ return decode(text.replace(PLUS_RE, " "));
136
+ }
137
+ function decodeQueryValue(text) {
138
+ return decode(text.replace(PLUS_RE, " "));
139
+ }
140
+ function encodeHost(name = "") {
141
+ return toASCII(name);
142
+ }
143
+
144
+ function parseQuery(parametersString = "") {
145
+ const object = /* @__PURE__ */ Object.create(null);
146
+ if (parametersString[0] === "?") {
147
+ parametersString = parametersString.slice(1);
148
+ }
149
+ for (const parameter of parametersString.split("&")) {
150
+ const s = parameter.match(/([^=]+)=?(.*)/) || [];
151
+ if (s.length < 2) {
152
+ continue;
153
+ }
154
+ const key = decodeQueryKey(s[1]);
155
+ if (key === "__proto__" || key === "constructor") {
156
+ continue;
157
+ }
158
+ const value = decodeQueryValue(s[2] || "");
159
+ if (object[key] === void 0) {
160
+ object[key] = value;
161
+ } else if (Array.isArray(object[key])) {
162
+ object[key].push(value);
163
+ } else {
164
+ object[key] = [object[key], value];
165
+ }
166
+ }
167
+ return object;
168
+ }
169
+ function encodeQueryItem(key, value) {
170
+ if (typeof value === "number" || typeof value === "boolean") {
171
+ value = String(value);
172
+ }
173
+ if (!value) {
174
+ return encodeQueryKey(key);
175
+ }
176
+ if (Array.isArray(value)) {
177
+ return value.map(
178
+ (_value) => `${encodeQueryKey(key)}=${encodeQueryValue(_value)}`
179
+ ).join("&");
180
+ }
181
+ return `${encodeQueryKey(key)}=${encodeQueryValue(value)}`;
182
+ }
183
+ function stringifyQuery(query) {
184
+ return Object.keys(query).filter((k) => query[k] !== void 0).map((k) => encodeQueryItem(k, query[k])).filter(Boolean).join("&");
185
+ }
186
+
187
+ const PROTOCOL_STRICT_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{1,2})/;
188
+ const PROTOCOL_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{2})?/;
189
+ const PROTOCOL_RELATIVE_REGEX = /^([/\\]\s*){2,}[^/\\]/;
190
+ const PROTOCOL_SCRIPT_RE = /^[\s\0]*(blob|data|javascript|vbscript):$/i;
191
+ const TRAILING_SLASH_RE = /\/$|\/\?|\/#/;
192
+ const JOIN_LEADING_SLASH_RE = /^\.?\//;
193
+ function isRelative(inputString) {
194
+ return ["./", "../"].some((string_) => inputString.startsWith(string_));
195
+ }
196
+ function hasProtocol(inputString, opts = {}) {
197
+ if (typeof opts === "boolean") {
198
+ opts = { acceptRelative: opts };
199
+ }
200
+ if (opts.strict) {
201
+ return PROTOCOL_STRICT_REGEX.test(inputString);
202
+ }
203
+ return PROTOCOL_REGEX.test(inputString) || (opts.acceptRelative ? PROTOCOL_RELATIVE_REGEX.test(inputString) : false);
204
+ }
205
+ function isScriptProtocol(protocol) {
206
+ return !!protocol && PROTOCOL_SCRIPT_RE.test(protocol);
207
+ }
208
+ function hasTrailingSlash(input = "", respectQueryAndFragment) {
209
+ if (!respectQueryAndFragment) {
210
+ return input.endsWith("/");
211
+ }
212
+ return TRAILING_SLASH_RE.test(input);
213
+ }
214
+ function withoutTrailingSlash(input = "", respectQueryAndFragment) {
215
+ if (!respectQueryAndFragment) {
216
+ return (hasTrailingSlash(input) ? input.slice(0, -1) : input) || "/";
217
+ }
218
+ if (!hasTrailingSlash(input, true)) {
219
+ return input || "/";
220
+ }
221
+ let path = input;
222
+ let fragment = "";
223
+ const fragmentIndex = input.indexOf("#");
224
+ if (fragmentIndex !== -1) {
225
+ path = input.slice(0, fragmentIndex);
226
+ fragment = input.slice(fragmentIndex);
227
+ }
228
+ const [s0, ...s] = path.split("?");
229
+ const cleanPath = s0.endsWith("/") ? s0.slice(0, -1) : s0;
230
+ return (cleanPath || "/") + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
231
+ }
232
+ function withTrailingSlash(input = "", respectQueryAndFragment) {
233
+ if (!respectQueryAndFragment) {
234
+ return input.endsWith("/") ? input : input + "/";
235
+ }
236
+ if (hasTrailingSlash(input, true)) {
237
+ return input || "/";
238
+ }
239
+ let path = input;
240
+ let fragment = "";
241
+ const fragmentIndex = input.indexOf("#");
242
+ if (fragmentIndex !== -1) {
243
+ path = input.slice(0, fragmentIndex);
244
+ fragment = input.slice(fragmentIndex);
245
+ if (!path) {
246
+ return fragment;
247
+ }
248
+ }
249
+ const [s0, ...s] = path.split("?");
250
+ return s0 + "/" + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
251
+ }
252
+ function hasLeadingSlash(input = "") {
253
+ return input.startsWith("/");
254
+ }
255
+ function withoutLeadingSlash(input = "") {
256
+ return (hasLeadingSlash(input) ? input.slice(1) : input) || "/";
257
+ }
258
+ function withLeadingSlash(input = "") {
259
+ return hasLeadingSlash(input) ? input : "/" + input;
260
+ }
261
+ function cleanDoubleSlashes(input = "") {
262
+ return input.split("://").map((string_) => string_.replace(/\/{2,}/g, "/")).join("://");
263
+ }
264
+ function withBase(input, base) {
265
+ if (isEmptyURL(base) || hasProtocol(input)) {
266
+ return input;
267
+ }
268
+ const _base = withoutTrailingSlash(base);
269
+ if (input.startsWith(_base)) {
270
+ const nextChar = input[_base.length];
271
+ if (!nextChar || nextChar === "/" || nextChar === "?") {
272
+ return input;
273
+ }
274
+ }
275
+ return joinURL(_base, input);
276
+ }
277
+ function withoutBase(input, base) {
278
+ if (isEmptyURL(base)) {
279
+ return input;
280
+ }
281
+ const _base = withoutTrailingSlash(base);
282
+ if (!input.startsWith(_base)) {
283
+ return input;
284
+ }
285
+ const nextChar = input[_base.length];
286
+ if (nextChar && nextChar !== "/" && nextChar !== "?") {
287
+ return input;
288
+ }
289
+ const trimmed = input.slice(_base.length);
290
+ return trimmed[0] === "/" ? trimmed : "/" + trimmed;
291
+ }
292
+ function withQuery(input, query) {
293
+ const parsed = parseURL(input);
294
+ const mergedQuery = { ...parseQuery(parsed.search), ...query };
295
+ parsed.search = stringifyQuery(mergedQuery);
296
+ return stringifyParsedURL(parsed);
297
+ }
298
+ function filterQuery(input, predicate) {
299
+ if (!input.includes("?")) {
300
+ return input;
301
+ }
302
+ const parsed = parseURL(input);
303
+ const query = parseQuery(parsed.search);
304
+ const filteredQuery = Object.fromEntries(
305
+ Object.entries(query).filter(([key, value]) => predicate(key, value))
306
+ );
307
+ parsed.search = stringifyQuery(filteredQuery);
308
+ return stringifyParsedURL(parsed);
309
+ }
310
+ function getQuery(input) {
311
+ return parseQuery(parseURL(input).search);
312
+ }
313
+ function isEmptyURL(url) {
314
+ return !url || url === "/";
315
+ }
316
+ function isNonEmptyURL(url) {
317
+ return url && url !== "/";
318
+ }
319
+ function joinURL(base, ...input) {
320
+ let url = base || "";
321
+ for (const segment of input.filter((url2) => isNonEmptyURL(url2))) {
322
+ if (url) {
323
+ const _segment = segment.replace(JOIN_LEADING_SLASH_RE, "");
324
+ url = withTrailingSlash(url) + _segment;
325
+ } else {
326
+ url = segment;
327
+ }
328
+ }
329
+ return url;
330
+ }
331
+ function joinRelativeURL(..._input) {
332
+ const JOIN_SEGMENT_SPLIT_RE = /\/(?!\/)/;
333
+ const input = _input.filter(Boolean);
334
+ const segments = [];
335
+ let segmentsDepth = 0;
336
+ for (const i of input) {
337
+ if (!i || i === "/") {
338
+ continue;
339
+ }
340
+ for (const [sindex, s] of i.split(JOIN_SEGMENT_SPLIT_RE).entries()) {
341
+ if (!s || s === ".") {
342
+ continue;
343
+ }
344
+ if (s === "..") {
345
+ if (segments.length === 1 && hasProtocol(segments[0])) {
346
+ continue;
347
+ }
348
+ segments.pop();
349
+ segmentsDepth--;
350
+ continue;
351
+ }
352
+ if (sindex === 1 && segments[segments.length - 1]?.endsWith(":/")) {
353
+ segments[segments.length - 1] += "/" + s;
354
+ continue;
355
+ }
356
+ segments.push(s);
357
+ segmentsDepth++;
358
+ }
359
+ }
360
+ let url = segments.join("/");
361
+ if (segmentsDepth >= 0) {
362
+ if (input[0]?.startsWith("/") && !url.startsWith("/")) {
363
+ url = "/" + url;
364
+ } else if (input[0]?.startsWith("./") && !url.startsWith("./")) {
365
+ url = "./" + url;
366
+ }
367
+ } else {
368
+ url = "../".repeat(-1 * segmentsDepth) + url;
369
+ }
370
+ if (input[input.length - 1]?.endsWith("/") && !url.endsWith("/")) {
371
+ url += "/";
372
+ }
373
+ return url;
374
+ }
375
+ function withHttp(input) {
376
+ return withProtocol(input, "http://");
377
+ }
378
+ function withHttps(input) {
379
+ return withProtocol(input, "https://");
380
+ }
381
+ function withoutProtocol(input) {
382
+ return withProtocol(input, "");
383
+ }
384
+ function withProtocol(input, protocol) {
385
+ let match = input.match(PROTOCOL_REGEX);
386
+ if (!match) {
387
+ match = input.match(/^\/{2,}/);
388
+ }
389
+ if (!match) {
390
+ return protocol + input;
391
+ }
392
+ return protocol + input.slice(match[0].length);
393
+ }
394
+ function normalizeURL(input) {
395
+ const parsed = parseURL(input);
396
+ parsed.pathname = encodePath(decodePath(parsed.pathname));
397
+ parsed.hash = encodeHash(decode(parsed.hash));
398
+ parsed.host = encodeHost(decode(parsed.host));
399
+ parsed.search = stringifyQuery(parseQuery(parsed.search));
400
+ return stringifyParsedURL(parsed);
401
+ }
402
+ function resolveURL(base = "", ...inputs) {
403
+ if (typeof base !== "string") {
404
+ throw new TypeError(
405
+ `URL input should be string received ${typeof base} (${base})`
406
+ );
407
+ }
408
+ const filteredInputs = inputs.filter((input) => isNonEmptyURL(input));
409
+ if (filteredInputs.length === 0) {
410
+ return base;
411
+ }
412
+ const url = parseURL(base);
413
+ for (const inputSegment of filteredInputs) {
414
+ const urlSegment = parseURL(inputSegment);
415
+ if (urlSegment.pathname) {
416
+ url.pathname = withTrailingSlash(url.pathname) + withoutLeadingSlash(urlSegment.pathname);
417
+ }
418
+ if (urlSegment.hash && urlSegment.hash !== "#") {
419
+ url.hash = urlSegment.hash;
420
+ }
421
+ if (urlSegment.search && urlSegment.search !== "?") {
422
+ if (url.search && url.search !== "?") {
423
+ const queryString = stringifyQuery({
424
+ ...parseQuery(url.search),
425
+ ...parseQuery(urlSegment.search)
426
+ });
427
+ url.search = queryString.length > 0 ? "?" + queryString : "";
428
+ } else {
429
+ url.search = urlSegment.search;
430
+ }
431
+ }
432
+ }
433
+ return stringifyParsedURL(url);
434
+ }
435
+ function isSamePath(p1, p2) {
436
+ return decode(withoutTrailingSlash(p1)) === decode(withoutTrailingSlash(p2));
437
+ }
438
+ function isEqual(a, b, options = {}) {
439
+ if (!options.trailingSlash) {
440
+ a = withTrailingSlash(a);
441
+ b = withTrailingSlash(b);
442
+ }
443
+ if (!options.leadingSlash) {
444
+ a = withLeadingSlash(a);
445
+ b = withLeadingSlash(b);
446
+ }
447
+ if (!options.encoding) {
448
+ a = decode(a);
449
+ b = decode(b);
450
+ }
451
+ return a === b;
452
+ }
453
+ function withFragment(input, hash) {
454
+ if (!hash || hash === "#") {
455
+ return input;
456
+ }
457
+ const parsed = parseURL(input);
458
+ parsed.hash = hash === "" ? "" : "#" + encodeHash(hash);
459
+ return stringifyParsedURL(parsed);
460
+ }
461
+ function withoutFragment(input) {
462
+ return stringifyParsedURL({ ...parseURL(input), hash: "" });
463
+ }
464
+ function withoutHost(input) {
465
+ const parsed = parseURL(input);
466
+ return (parsed.pathname || "/") + parsed.search + parsed.hash;
467
+ }
468
+
469
+ const protocolRelative = Symbol.for("ufo:protocolRelative");
470
+ function parseURL(input = "", defaultProto) {
471
+ const _specialProtoMatch = input.match(
472
+ /^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i
473
+ );
474
+ if (_specialProtoMatch) {
475
+ const [, _proto, _pathname = ""] = _specialProtoMatch;
476
+ return {
477
+ protocol: _proto.toLowerCase(),
478
+ pathname: _pathname,
479
+ href: _proto + _pathname,
480
+ auth: "",
481
+ host: "",
482
+ search: "",
483
+ hash: ""
484
+ };
485
+ }
486
+ if (!hasProtocol(input, { acceptRelative: true })) {
487
+ return defaultProto ? parseURL(defaultProto + input) : parsePath(input);
488
+ }
489
+ const [, protocol = "", auth, hostAndPath = ""] = input.replace(/\\/g, "/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/) || [];
490
+ let [, host = "", path = ""] = hostAndPath.match(/([^#/?]*)(.*)?/) || [];
491
+ if (protocol === "file:") {
492
+ path = path.replace(/\/(?=[A-Za-z]:)/, "");
493
+ }
494
+ const { pathname, search, hash } = parsePath(path);
495
+ return {
496
+ protocol: protocol.toLowerCase(),
497
+ auth: auth ? auth.slice(0, Math.max(0, auth.length - 1)) : "",
498
+ host,
499
+ pathname,
500
+ search,
501
+ hash,
502
+ [protocolRelative]: !protocol
503
+ };
504
+ }
505
+ function parsePath(input = "") {
506
+ const [pathname = "", search = "", hash = ""] = (input.match(/([^#?]*)(\?[^#]*)?(#.*)?/) || []).splice(1);
507
+ return {
508
+ pathname,
509
+ search,
510
+ hash
511
+ };
512
+ }
513
+ function parseAuth(input = "") {
514
+ const [username, password] = input.split(":");
515
+ return {
516
+ username: decode(username),
517
+ password: decode(password)
518
+ };
519
+ }
520
+ function parseHost(input = "") {
521
+ const [hostname, port] = (input.match(/([^/:]*):?(\d+)?/) || []).splice(1);
522
+ return {
523
+ hostname: decode(hostname),
524
+ port
525
+ };
526
+ }
527
+ function stringifyParsedURL(parsed) {
528
+ const pathname = parsed.pathname || "";
529
+ const search = parsed.search ? (parsed.search.startsWith("?") ? "" : "?") + parsed.search : "";
530
+ const hash = parsed.hash || "";
531
+ const auth = parsed.auth ? parsed.auth + "@" : "";
532
+ const host = parsed.host || "";
533
+ const proto = parsed.protocol || parsed[protocolRelative] ? (parsed.protocol || "") + "//" : "";
534
+ return proto + auth + host + pathname + search + hash;
535
+ }
536
+ const FILENAME_STRICT_REGEX = /\/([^/]+\.[^/]+)$/;
537
+ const FILENAME_REGEX = /\/([^/]+)$/;
538
+ function parseFilename(input = "", opts) {
539
+ const { pathname } = parseURL(input);
540
+ const matches = opts?.strict ? pathname.match(FILENAME_STRICT_REGEX) : pathname.match(FILENAME_REGEX);
541
+ return matches ? matches[1] : void 0;
542
+ }
543
+
544
+ class $URL {
545
+ protocol;
546
+ host;
547
+ auth;
548
+ pathname;
549
+ query = {};
550
+ hash;
551
+ constructor(input = "") {
552
+ if (typeof input !== "string") {
553
+ throw new TypeError(
554
+ `URL input should be string received ${typeof input} (${input})`
555
+ );
556
+ }
557
+ const parsed = parseURL(input);
558
+ this.protocol = decode(parsed.protocol);
559
+ this.host = decode(parsed.host);
560
+ this.auth = decode(parsed.auth);
561
+ this.pathname = decodePath(parsed.pathname);
562
+ this.query = parseQuery(parsed.search);
563
+ this.hash = decode(parsed.hash);
564
+ }
565
+ get hostname() {
566
+ return parseHost(this.host).hostname;
567
+ }
568
+ get port() {
569
+ return parseHost(this.host).port || "";
570
+ }
571
+ get username() {
572
+ return parseAuth(this.auth).username;
573
+ }
574
+ get password() {
575
+ return parseAuth(this.auth).password || "";
576
+ }
577
+ get hasProtocol() {
578
+ return this.protocol.length;
579
+ }
580
+ get isAbsolute() {
581
+ return this.hasProtocol || this.pathname[0] === "/";
582
+ }
583
+ get search() {
584
+ const q = stringifyQuery(this.query);
585
+ return q.length > 0 ? "?" + q : "";
586
+ }
587
+ get searchParams() {
588
+ const p = new URLSearchParams();
589
+ for (const name in this.query) {
590
+ const value = this.query[name];
591
+ if (Array.isArray(value)) {
592
+ for (const v of value) {
593
+ p.append(name, v);
594
+ }
595
+ } else {
596
+ p.append(
597
+ name,
598
+ typeof value === "string" ? value : JSON.stringify(value)
599
+ );
600
+ }
601
+ }
602
+ return p;
603
+ }
604
+ get origin() {
605
+ return (this.protocol ? this.protocol + "//" : "") + encodeHost(this.host);
606
+ }
607
+ get fullpath() {
608
+ return encodePath(this.pathname) + this.search + encodeHash(this.hash);
609
+ }
610
+ get encodedAuth() {
611
+ if (!this.auth) {
612
+ return "";
613
+ }
614
+ const { username, password } = parseAuth(this.auth);
615
+ return encodeURIComponent(username) + (password ? ":" + encodeURIComponent(password) : "");
616
+ }
617
+ get href() {
618
+ const auth = this.encodedAuth;
619
+ const originWithAuth = (this.protocol ? this.protocol + "//" : "") + (auth ? auth + "@" : "") + encodeHost(this.host);
620
+ return this.hasProtocol && this.isAbsolute ? originWithAuth + this.fullpath : this.fullpath;
621
+ }
622
+ append(url) {
623
+ if (url.hasProtocol) {
624
+ throw new Error("Cannot append a URL with protocol");
625
+ }
626
+ Object.assign(this.query, url.query);
627
+ if (url.pathname) {
628
+ this.pathname = withTrailingSlash(this.pathname) + withoutLeadingSlash(url.pathname);
629
+ }
630
+ if (url.hash) {
631
+ this.hash = url.hash;
632
+ }
633
+ }
634
+ toJSON() {
635
+ return this.href;
636
+ }
637
+ toString() {
638
+ return this.href;
639
+ }
640
+ }
641
+ function createURL(input) {
642
+ return new $URL(input);
643
+ }
644
+
645
+ export { $URL, cleanDoubleSlashes, createURL, decode, decodePath, decodeQueryKey, decodeQueryValue, encode, encodeHash, encodeHost, encodeParam, encodePath, encodeQueryItem, encodeQueryKey, encodeQueryValue, filterQuery, getQuery, hasLeadingSlash, hasProtocol, hasTrailingSlash, isEmptyURL, isEqual, isNonEmptyURL, isRelative, isSamePath, isScriptProtocol, joinRelativeURL, joinURL, normalizeURL, parseAuth, parseFilename, parseHost, parsePath, parseQuery, parseURL, resolveURL, stringifyParsedURL, stringifyQuery, withBase, withFragment, withHttp, withHttps, withLeadingSlash, withProtocol, withQuery, withTrailingSlash, withoutBase, withoutFragment, withoutHost, withoutLeadingSlash, withoutProtocol, withoutTrailingSlash };
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "ufo",
3
+ "version": "1.6.3",
4
+ "description": "URL utils for humans",
5
+ "repository": "unjs/ufo",
6
+ "license": "MIT",
7
+ "sideEffects": false,
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.cjs",
13
+ "default": "./dist/index.mjs"
14
+ },
15
+ "./*": "./*"
16
+ },
17
+ "main": "./dist/index.cjs",
18
+ "module": "./dist/index.mjs",
19
+ "types": "./dist/index.d.ts",
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "scripts": {
24
+ "build": "automd && unbuild",
25
+ "automd": "automd",
26
+ "dev": "vitest",
27
+ "lint": "eslint . && prettier -c src test",
28
+ "lint:fix": "eslint --fix . && prettier -w src test",
29
+ "prepack": "pnpm build",
30
+ "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
31
+ "test": "pnpm lint && vitest run --typecheck"
32
+ },
33
+ "devDependencies": {
34
+ "@types/node": "^25.0.8",
35
+ "@vitest/coverage-v8": "^4.0.17",
36
+ "automd": "^0.4.2",
37
+ "changelogen": "^0.6.2",
38
+ "eslint": "^9.39.2",
39
+ "eslint-config-unjs": "^0.6.2",
40
+ "jiti": "^2.6.1",
41
+ "prettier": "^3.7.4",
42
+ "typescript": "^5.9.3",
43
+ "unbuild": "^3.6.1",
44
+ "untyped": "^2.0.0",
45
+ "vitest": "^4.0.17"
46
+ },
47
+ "packageManager": "pnpm@10.28.0"
48
+ }
@@ -0,0 +1,9 @@
1
+ export { u as useHead, a as useHeadSafe, b as useSeoMeta, c as useServerHead, d as useServerHeadSafe, e as useServerSeoMeta } from './shared/unhead.BPM0-cfG.mjs';
2
+ export { c as createHeadCore, a as createUnhead } from './shared/unhead.D_nrZZPH.mjs';
3
+ export { u as useScript } from './shared/unhead.BnoAbrHA.mjs';
4
+ import './shared/unhead.CApf5sj3.mjs';
5
+ import './shared/unhead.DQc16pHI.mjs';
6
+ import './shared/unhead.yem5I2v_.mjs';
7
+ import 'hookable';
8
+ import './shared/unhead.fVVqDC1O.mjs';
9
+ import './shared/unhead.CbpEuj3y.mjs';