@synapse-research/synapse 0.1.11 → 0.1.12

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 (1349) hide show
  1. package/dist/.next/BUILD_ID +1 -1
  2. package/dist/.next/app-build-manifest.json +107 -107
  3. package/dist/.next/app-path-routes-manifest.json +31 -31
  4. package/dist/.next/build-manifest.json +2 -2
  5. package/dist/.next/server/app/(dashboard)/agents/page_client-reference-manifest.js +1 -1
  6. package/dist/.next/server/app/(dashboard)/compute/page_client-reference-manifest.js +1 -1
  7. package/dist/.next/server/app/(dashboard)/project-groups/[uuid]/page_client-reference-manifest.js +1 -1
  8. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/activity/page_client-reference-manifest.js +1 -1
  9. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/dashboard/page_client-reference-manifest.js +1 -1
  10. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/documents/[documentUuid]/page_client-reference-manifest.js +1 -1
  11. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/documents/page_client-reference-manifest.js +1 -1
  12. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-designs/[designUuid]/page_client-reference-manifest.js +1 -1
  13. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-designs/new/page_client-reference-manifest.js +1 -1
  14. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-designs/page_client-reference-manifest.js +1 -1
  15. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-runs/[runUuid]/page_client-reference-manifest.js +1 -1
  16. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-runs/page_client-reference-manifest.js +1 -1
  17. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiments/new/page_client-reference-manifest.js +1 -1
  18. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiments/page_client-reference-manifest.js +1 -1
  19. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/insights/page_client-reference-manifest.js +1 -1
  20. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/related-works/page_client-reference-manifest.js +1 -1
  21. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/research-questions/[questionUuid]/page_client-reference-manifest.js +1 -1
  22. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/research-questions/page_client-reference-manifest.js +1 -1
  23. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/settings/page_client-reference-manifest.js +1 -1
  24. package/dist/.next/server/app/(dashboard)/research-projects/new/page_client-reference-manifest.js +1 -1
  25. package/dist/.next/server/app/(dashboard)/research-projects/page_client-reference-manifest.js +1 -1
  26. package/dist/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  27. package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  28. package/dist/.next/server/app/_not-found.html +1 -1
  29. package/dist/.next/server/app/_not-found.rsc +1 -1
  30. package/dist/.next/server/app/admin/companies/[uuid]/page_client-reference-manifest.js +1 -1
  31. package/dist/.next/server/app/admin/companies/new/page_client-reference-manifest.js +1 -1
  32. package/dist/.next/server/app/admin/companies/new.html +1 -1
  33. package/dist/.next/server/app/admin/companies/new.rsc +1 -1
  34. package/dist/.next/server/app/admin/companies/page_client-reference-manifest.js +1 -1
  35. package/dist/.next/server/app/admin/companies.html +1 -1
  36. package/dist/.next/server/app/admin/companies.rsc +1 -1
  37. package/dist/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  38. package/dist/.next/server/app/admin.html +1 -1
  39. package/dist/.next/server/app/admin.rsc +1 -1
  40. package/dist/.next/server/app/api/admin/companies/[uuid]/route_client-reference-manifest.js +1 -1
  41. package/dist/.next/server/app/api/admin/companies/route_client-reference-manifest.js +1 -1
  42. package/dist/.next/server/app/api/admin/login/route_client-reference-manifest.js +1 -1
  43. package/dist/.next/server/app/api/admin/session/route_client-reference-manifest.js +1 -1
  44. package/dist/.next/server/app/api/admin/stats/route_client-reference-manifest.js +1 -1
  45. package/dist/.next/server/app/api/agents/[uuid]/route_client-reference-manifest.js +1 -1
  46. package/dist/.next/server/app/api/agents/[uuid]/sessions/route_client-reference-manifest.js +1 -1
  47. package/dist/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
  48. package/dist/.next/server/app/api/api-keys/[uuid]/route_client-reference-manifest.js +1 -1
  49. package/dist/.next/server/app/api/api-keys/route_client-reference-manifest.js +1 -1
  50. package/dist/.next/server/app/api/auth/callback/route_client-reference-manifest.js +1 -1
  51. package/dist/.next/server/app/api/auth/check-default/route_client-reference-manifest.js +1 -1
  52. package/dist/.next/server/app/api/auth/default-login/route_client-reference-manifest.js +1 -1
  53. package/dist/.next/server/app/api/auth/identify/route_client-reference-manifest.js +1 -1
  54. package/dist/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  55. package/dist/.next/server/app/api/auth/me/route_client-reference-manifest.js +1 -1
  56. package/dist/.next/server/app/api/auth/refresh/route_client-reference-manifest.js +1 -1
  57. package/dist/.next/server/app/api/auth/session/route_client-reference-manifest.js +1 -1
  58. package/dist/.next/server/app/api/auth/sync-token/route_client-reference-manifest.js +1 -1
  59. package/dist/.next/server/app/api/comments/route_client-reference-manifest.js +1 -1
  60. package/dist/.next/server/app/api/compute-nodes/[uuid]/route_client-reference-manifest.js +1 -1
  61. package/dist/.next/server/app/api/compute-nodes/route_client-reference-manifest.js +1 -1
  62. package/dist/.next/server/app/api/compute-pools/[uuid]/route_client-reference-manifest.js +1 -1
  63. package/dist/.next/server/app/api/compute-pools/route_client-reference-manifest.js +1 -1
  64. package/dist/.next/server/app/api/documents/[uuid]/route_client-reference-manifest.js +1 -1
  65. package/dist/.next/server/app/api/events/notifications/route_client-reference-manifest.js +1 -1
  66. package/dist/.next/server/app/api/events/route_client-reference-manifest.js +1 -1
  67. package/dist/.next/server/app/api/experiment-designs/[uuid]/approve/route_client-reference-manifest.js +1 -1
  68. package/dist/.next/server/app/api/experiment-designs/[uuid]/close/route_client-reference-manifest.js +1 -1
  69. package/dist/.next/server/app/api/experiment-designs/[uuid]/reject/route_client-reference-manifest.js +1 -1
  70. package/dist/.next/server/app/api/experiment-designs/[uuid]/route_client-reference-manifest.js +1 -1
  71. package/dist/.next/server/app/api/experiment-runs/[uuid]/claim/route_client-reference-manifest.js +1 -1
  72. package/dist/.next/server/app/api/experiment-runs/[uuid]/dependencies/[dependsOnRunUuid]/route_client-reference-manifest.js +1 -1
  73. package/dist/.next/server/app/api/experiment-runs/[uuid]/dependencies/route_client-reference-manifest.js +1 -1
  74. package/dist/.next/server/app/api/experiment-runs/[uuid]/evaluate-criteria/route_client-reference-manifest.js +1 -1
  75. package/dist/.next/server/app/api/experiment-runs/[uuid]/registry/route_client-reference-manifest.js +1 -1
  76. package/dist/.next/server/app/api/experiment-runs/[uuid]/release/route_client-reference-manifest.js +1 -1
  77. package/dist/.next/server/app/api/experiment-runs/[uuid]/route_client-reference-manifest.js +1 -1
  78. package/dist/.next/server/app/api/experiment-runs/[uuid]/sessions/route_client-reference-manifest.js +1 -1
  79. package/dist/.next/server/app/api/experiments/[uuid]/complete/route_client-reference-manifest.js +1 -1
  80. package/dist/.next/server/app/api/experiments/[uuid]/progress/route_client-reference-manifest.js +1 -1
  81. package/dist/.next/server/app/api/experiments/[uuid]/request-plan/route_client-reference-manifest.js +1 -1
  82. package/dist/.next/server/app/api/experiments/[uuid]/reset/route_client-reference-manifest.js +1 -1
  83. package/dist/.next/server/app/api/experiments/[uuid]/review/route_client-reference-manifest.js +1 -1
  84. package/dist/.next/server/app/api/experiments/[uuid]/route_client-reference-manifest.js +1 -1
  85. package/dist/.next/server/app/api/experiments/[uuid]/start/route_client-reference-manifest.js +1 -1
  86. package/dist/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
  87. package/dist/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -1
  88. package/dist/.next/server/app/api/me/assignments/route_client-reference-manifest.js +1 -1
  89. package/dist/.next/server/app/api/mentionables/route_client-reference-manifest.js +1 -1
  90. package/dist/.next/server/app/api/notifications/[uuid]/archive/route_client-reference-manifest.js +1 -1
  91. package/dist/.next/server/app/api/notifications/[uuid]/read/route_client-reference-manifest.js +1 -1
  92. package/dist/.next/server/app/api/notifications/preferences/route_client-reference-manifest.js +1 -1
  93. package/dist/.next/server/app/api/notifications/read-all/route_client-reference-manifest.js +1 -1
  94. package/dist/.next/server/app/api/notifications/route_client-reference-manifest.js +1 -1
  95. package/dist/.next/server/app/api/notifications/unread-count/route_client-reference-manifest.js +1 -1
  96. package/dist/.next/server/app/api/onboarding/status/route_client-reference-manifest.js +1 -1
  97. package/dist/.next/server/app/api/project-groups/[uuid]/dashboard/route_client-reference-manifest.js +1 -1
  98. package/dist/.next/server/app/api/project-groups/[uuid]/route_client-reference-manifest.js +1 -1
  99. package/dist/.next/server/app/api/project-groups/route_client-reference-manifest.js +1 -1
  100. package/dist/.next/server/app/api/research-projects/[uuid]/activity/route_client-reference-manifest.js +1 -1
  101. package/dist/.next/server/app/api/research-projects/[uuid]/agent-activity/route_client-reference-manifest.js +1 -1
  102. package/dist/.next/server/app/api/research-projects/[uuid]/available/route_client-reference-manifest.js +1 -1
  103. package/dist/.next/server/app/api/research-projects/[uuid]/baselines/route_client-reference-manifest.js +1 -1
  104. package/dist/.next/server/app/api/research-projects/[uuid]/documents/route_client-reference-manifest.js +1 -1
  105. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-designs/[designUuid]/validate/route_client-reference-manifest.js +1 -1
  106. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-designs/route_client-reference-manifest.js +1 -1
  107. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-designs/summary/route_client-reference-manifest.js +1 -1
  108. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-runs/dependencies/route_client-reference-manifest.js +1 -1
  109. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-runs/route_client-reference-manifest.js +1 -1
  110. package/dist/.next/server/app/api/research-projects/[uuid]/experiments/route_client-reference-manifest.js +1 -1
  111. package/dist/.next/server/app/api/research-projects/[uuid]/github/branches/route_client-reference-manifest.js +1 -1
  112. package/dist/.next/server/app/api/research-projects/[uuid]/group/route_client-reference-manifest.js +1 -1
  113. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/[workUuid]/route_client-reference-manifest.js +1 -1
  114. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/auto-search/complete/route_client-reference-manifest.js +1 -1
  115. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/auto-search/route_client-reference-manifest.js +1 -1
  116. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/deep-research/complete/route_client-reference-manifest.js +1 -1
  117. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/deep-research/route_client-reference-manifest.js +1 -1
  118. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/route_client-reference-manifest.js +1 -1
  119. package/dist/.next/server/app/api/research-projects/[uuid]/research-questions/route_client-reference-manifest.js +1 -1
  120. package/dist/.next/server/app/api/research-projects/[uuid]/route_client-reference-manifest.js +1 -1
  121. package/dist/.next/server/app/api/research-projects/route_client-reference-manifest.js +1 -1
  122. package/dist/.next/server/app/api/research-questions/[uuid]/claim/route_client-reference-manifest.js +1 -1
  123. package/dist/.next/server/app/api/research-questions/[uuid]/move/route_client-reference-manifest.js +1 -1
  124. package/dist/.next/server/app/api/research-questions/[uuid]/release/route_client-reference-manifest.js +1 -1
  125. package/dist/.next/server/app/api/research-questions/[uuid]/route_client-reference-manifest.js +1 -1
  126. package/dist/.next/server/app/api/sessions/[uuid]/route_client-reference-manifest.js +1 -1
  127. package/dist/.next/server/app/api/settings/integrations/route_client-reference-manifest.js +1 -1
  128. package/dist/.next/server/app/api/ssh-config/route_client-reference-manifest.js +1 -1
  129. package/dist/.next/server/app/index.html +1 -1
  130. package/dist/.next/server/app/index.rsc +1 -1
  131. package/dist/.next/server/app/login/admin/page_client-reference-manifest.js +1 -1
  132. package/dist/.next/server/app/login/admin.html +1 -1
  133. package/dist/.next/server/app/login/admin.rsc +1 -1
  134. package/dist/.next/server/app/login/callback/page_client-reference-manifest.js +1 -1
  135. package/dist/.next/server/app/login/callback.html +1 -1
  136. package/dist/.next/server/app/login/callback.rsc +1 -1
  137. package/dist/.next/server/app/login/page_client-reference-manifest.js +1 -1
  138. package/dist/.next/server/app/login/silent-refresh/page_client-reference-manifest.js +1 -1
  139. package/dist/.next/server/app/login/silent-refresh.html +1 -1
  140. package/dist/.next/server/app/login/silent-refresh.rsc +1 -1
  141. package/dist/.next/server/app/login.html +1 -1
  142. package/dist/.next/server/app/login.rsc +1 -1
  143. package/dist/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  144. package/dist/.next/server/app/page_client-reference-manifest.js +1 -1
  145. package/dist/.next/server/app/research-projects/new.html +1 -1
  146. package/dist/.next/server/app/research-projects/new.rsc +1 -1
  147. package/dist/.next/server/app/research-projects.html +1 -1
  148. package/dist/.next/server/app/research-projects.rsc +1 -1
  149. package/dist/.next/server/app/settings.html +1 -1
  150. package/dist/.next/server/app/settings.rsc +1 -1
  151. package/dist/.next/server/app-paths-manifest.json +31 -31
  152. package/dist/.next/server/middleware-manifest.json +1 -1
  153. package/dist/.next/server/pages/404.html +1 -1
  154. package/dist/.next/server/pages/500.html +1 -1
  155. package/dist/.next/server/server-reference-manifest.js +1 -1
  156. package/dist/.next/server/server-reference-manifest.json +1 -1
  157. package/dist/node_modules/@img/colour/color.cjs +1594 -0
  158. package/dist/node_modules/@img/colour/index.cjs +1 -0
  159. package/dist/node_modules/@img/colour/package.json +45 -0
  160. package/dist/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +1 -0
  161. package/dist/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  162. package/dist/node_modules/@img/sharp-libvips-linux-x64/package.json +42 -0
  163. package/dist/node_modules/@img/sharp-libvips-linux-x64/versions.json +30 -0
  164. package/dist/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
  165. package/dist/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  166. package/dist/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
  167. package/dist/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
  168. package/dist/node_modules/@img/sharp-linux-x64/LICENSE +191 -0
  169. package/dist/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
  170. package/dist/node_modules/@img/sharp-linux-x64/package.json +46 -0
  171. package/dist/node_modules/@img/sharp-linuxmusl-x64/LICENSE +191 -0
  172. package/dist/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  173. package/dist/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
  174. package/dist/node_modules/@next/env/dist/index.js +1 -0
  175. package/dist/node_modules/@next/env/package.json +36 -0
  176. package/dist/node_modules/@prisma/client-runtime-utils/dist/index.js +2552 -0
  177. package/dist/node_modules/@prisma/client-runtime-utils/package.json +39 -0
  178. package/dist/node_modules/@shikijs/core/dist/index.mjs +2446 -0
  179. package/dist/node_modules/@shikijs/core/package.json +56 -0
  180. package/dist/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +52 -0
  181. package/dist/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +22 -0
  182. package/dist/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
  183. package/dist/node_modules/@shikijs/engine-javascript/dist/shared/engine-javascript.hzpS1_41.mjs +93 -0
  184. package/dist/node_modules/@shikijs/engine-javascript/package.json +39 -0
  185. package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +448 -0
  186. package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
  187. package/dist/node_modules/@shikijs/engine-oniguruma/package.json +42 -0
  188. package/dist/node_modules/@shikijs/langs/dist/abap.mjs +5 -0
  189. package/dist/node_modules/@shikijs/langs/dist/actionscript-3.mjs +5 -0
  190. package/dist/node_modules/@shikijs/langs/dist/ada.mjs +5 -0
  191. package/dist/node_modules/@shikijs/langs/dist/angular-expression.mjs +5 -0
  192. package/dist/node_modules/@shikijs/langs/dist/angular-html.mjs +16 -0
  193. package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.mjs +8 -0
  194. package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.mjs +10 -0
  195. package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.mjs +8 -0
  196. package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.mjs +10 -0
  197. package/dist/node_modules/@shikijs/langs/dist/angular-template.mjs +8 -0
  198. package/dist/node_modules/@shikijs/langs/dist/angular-ts.mjs +18 -0
  199. package/dist/node_modules/@shikijs/langs/dist/apache.mjs +5 -0
  200. package/dist/node_modules/@shikijs/langs/dist/apex.mjs +5 -0
  201. package/dist/node_modules/@shikijs/langs/dist/apl.mjs +16 -0
  202. package/dist/node_modules/@shikijs/langs/dist/applescript.mjs +5 -0
  203. package/dist/node_modules/@shikijs/langs/dist/ara.mjs +5 -0
  204. package/dist/node_modules/@shikijs/langs/dist/asciidoc.mjs +5 -0
  205. package/dist/node_modules/@shikijs/langs/dist/asm.mjs +5 -0
  206. package/dist/node_modules/@shikijs/langs/dist/astro.mjs +18 -0
  207. package/dist/node_modules/@shikijs/langs/dist/awk.mjs +5 -0
  208. package/dist/node_modules/@shikijs/langs/dist/ballerina.mjs +5 -0
  209. package/dist/node_modules/@shikijs/langs/dist/bat.mjs +5 -0
  210. package/dist/node_modules/@shikijs/langs/dist/beancount.mjs +5 -0
  211. package/dist/node_modules/@shikijs/langs/dist/berry.mjs +5 -0
  212. package/dist/node_modules/@shikijs/langs/dist/bibtex.mjs +5 -0
  213. package/dist/node_modules/@shikijs/langs/dist/bicep.mjs +5 -0
  214. package/dist/node_modules/@shikijs/langs/dist/bird2.mjs +5 -0
  215. package/dist/node_modules/@shikijs/langs/dist/blade.mjs +20 -0
  216. package/dist/node_modules/@shikijs/langs/dist/bsl.mjs +8 -0
  217. package/dist/node_modules/@shikijs/langs/dist/c.mjs +5 -0
  218. package/dist/node_modules/@shikijs/langs/dist/c3.mjs +5 -0
  219. package/dist/node_modules/@shikijs/langs/dist/cadence.mjs +5 -0
  220. package/dist/node_modules/@shikijs/langs/dist/cairo.mjs +8 -0
  221. package/dist/node_modules/@shikijs/langs/dist/clarity.mjs +5 -0
  222. package/dist/node_modules/@shikijs/langs/dist/clojure.mjs +5 -0
  223. package/dist/node_modules/@shikijs/langs/dist/cmake.mjs +5 -0
  224. package/dist/node_modules/@shikijs/langs/dist/cobol.mjs +10 -0
  225. package/dist/node_modules/@shikijs/langs/dist/codeowners.mjs +5 -0
  226. package/dist/node_modules/@shikijs/langs/dist/codeql.mjs +5 -0
  227. package/dist/node_modules/@shikijs/langs/dist/coffee.mjs +8 -0
  228. package/dist/node_modules/@shikijs/langs/dist/common-lisp.mjs +5 -0
  229. package/dist/node_modules/@shikijs/langs/dist/coq.mjs +5 -0
  230. package/dist/node_modules/@shikijs/langs/dist/cpp-macro.mjs +12 -0
  231. package/dist/node_modules/@shikijs/langs/dist/cpp.mjs +14 -0
  232. package/dist/node_modules/@shikijs/langs/dist/crystal.mjs +18 -0
  233. package/dist/node_modules/@shikijs/langs/dist/csharp.mjs +5 -0
  234. package/dist/node_modules/@shikijs/langs/dist/css.mjs +5 -0
  235. package/dist/node_modules/@shikijs/langs/dist/csv.mjs +5 -0
  236. package/dist/node_modules/@shikijs/langs/dist/cue.mjs +5 -0
  237. package/dist/node_modules/@shikijs/langs/dist/cypher.mjs +5 -0
  238. package/dist/node_modules/@shikijs/langs/dist/d.mjs +5 -0
  239. package/dist/node_modules/@shikijs/langs/dist/dart.mjs +5 -0
  240. package/dist/node_modules/@shikijs/langs/dist/dax.mjs +5 -0
  241. package/dist/node_modules/@shikijs/langs/dist/desktop.mjs +5 -0
  242. package/dist/node_modules/@shikijs/langs/dist/diff.mjs +5 -0
  243. package/dist/node_modules/@shikijs/langs/dist/docker.mjs +5 -0
  244. package/dist/node_modules/@shikijs/langs/dist/dotenv.mjs +5 -0
  245. package/dist/node_modules/@shikijs/langs/dist/dream-maker.mjs +5 -0
  246. package/dist/node_modules/@shikijs/langs/dist/edge.mjs +12 -0
  247. package/dist/node_modules/@shikijs/langs/dist/elixir.mjs +8 -0
  248. package/dist/node_modules/@shikijs/langs/dist/elm.mjs +8 -0
  249. package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.mjs +5 -0
  250. package/dist/node_modules/@shikijs/langs/dist/erb.mjs +10 -0
  251. package/dist/node_modules/@shikijs/langs/dist/erlang.mjs +8 -0
  252. package/dist/node_modules/@shikijs/langs/dist/es-tag-css.mjs +12 -0
  253. package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.mjs +12 -0
  254. package/dist/node_modules/@shikijs/langs/dist/es-tag-html.mjs +12 -0
  255. package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.mjs +10 -0
  256. package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.mjs +8 -0
  257. package/dist/node_modules/@shikijs/langs/dist/fennel.mjs +5 -0
  258. package/dist/node_modules/@shikijs/langs/dist/fish.mjs +5 -0
  259. package/dist/node_modules/@shikijs/langs/dist/fluent.mjs +5 -0
  260. package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.mjs +8 -0
  261. package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.mjs +5 -0
  262. package/dist/node_modules/@shikijs/langs/dist/fsharp.mjs +8 -0
  263. package/dist/node_modules/@shikijs/langs/dist/gdresource.mjs +10 -0
  264. package/dist/node_modules/@shikijs/langs/dist/gdscript.mjs +5 -0
  265. package/dist/node_modules/@shikijs/langs/dist/gdshader.mjs +5 -0
  266. package/dist/node_modules/@shikijs/langs/dist/genie.mjs +5 -0
  267. package/dist/node_modules/@shikijs/langs/dist/gherkin.mjs +5 -0
  268. package/dist/node_modules/@shikijs/langs/dist/git-commit.mjs +8 -0
  269. package/dist/node_modules/@shikijs/langs/dist/git-rebase.mjs +8 -0
  270. package/dist/node_modules/@shikijs/langs/dist/gleam.mjs +5 -0
  271. package/dist/node_modules/@shikijs/langs/dist/glimmer-js.mjs +14 -0
  272. package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.mjs +14 -0
  273. package/dist/node_modules/@shikijs/langs/dist/glsl.mjs +8 -0
  274. package/dist/node_modules/@shikijs/langs/dist/gn.mjs +5 -0
  275. package/dist/node_modules/@shikijs/langs/dist/gnuplot.mjs +5 -0
  276. package/dist/node_modules/@shikijs/langs/dist/go.mjs +5 -0
  277. package/dist/node_modules/@shikijs/langs/dist/graphql.mjs +14 -0
  278. package/dist/node_modules/@shikijs/langs/dist/groovy.mjs +5 -0
  279. package/dist/node_modules/@shikijs/langs/dist/hack.mjs +10 -0
  280. package/dist/node_modules/@shikijs/langs/dist/haml.mjs +10 -0
  281. package/dist/node_modules/@shikijs/langs/dist/handlebars.mjs +14 -0
  282. package/dist/node_modules/@shikijs/langs/dist/haskell.mjs +5 -0
  283. package/dist/node_modules/@shikijs/langs/dist/haxe.mjs +5 -0
  284. package/dist/node_modules/@shikijs/langs/dist/hcl.mjs +5 -0
  285. package/dist/node_modules/@shikijs/langs/dist/hjson.mjs +5 -0
  286. package/dist/node_modules/@shikijs/langs/dist/hlsl.mjs +5 -0
  287. package/dist/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
  288. package/dist/node_modules/@shikijs/langs/dist/html.mjs +10 -0
  289. package/dist/node_modules/@shikijs/langs/dist/http.mjs +14 -0
  290. package/dist/node_modules/@shikijs/langs/dist/hurl.mjs +12 -0
  291. package/dist/node_modules/@shikijs/langs/dist/hxml.mjs +8 -0
  292. package/dist/node_modules/@shikijs/langs/dist/hy.mjs +5 -0
  293. package/dist/node_modules/@shikijs/langs/dist/imba.mjs +5 -0
  294. package/dist/node_modules/@shikijs/langs/dist/ini.mjs +5 -0
  295. package/dist/node_modules/@shikijs/langs/dist/java.mjs +5 -0
  296. package/dist/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
  297. package/dist/node_modules/@shikijs/langs/dist/jinja-html.mjs +8 -0
  298. package/dist/node_modules/@shikijs/langs/dist/jinja.mjs +8 -0
  299. package/dist/node_modules/@shikijs/langs/dist/jison.mjs +8 -0
  300. package/dist/node_modules/@shikijs/langs/dist/json.mjs +5 -0
  301. package/dist/node_modules/@shikijs/langs/dist/json5.mjs +5 -0
  302. package/dist/node_modules/@shikijs/langs/dist/jsonc.mjs +5 -0
  303. package/dist/node_modules/@shikijs/langs/dist/jsonl.mjs +5 -0
  304. package/dist/node_modules/@shikijs/langs/dist/jsonnet.mjs +5 -0
  305. package/dist/node_modules/@shikijs/langs/dist/jssm.mjs +5 -0
  306. package/dist/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
  307. package/dist/node_modules/@shikijs/langs/dist/julia.mjs +16 -0
  308. package/dist/node_modules/@shikijs/langs/dist/just.mjs +18 -0
  309. package/dist/node_modules/@shikijs/langs/dist/kdl.mjs +5 -0
  310. package/dist/node_modules/@shikijs/langs/dist/kotlin.mjs +5 -0
  311. package/dist/node_modules/@shikijs/langs/dist/kusto.mjs +5 -0
  312. package/dist/node_modules/@shikijs/langs/dist/latex.mjs +8 -0
  313. package/dist/node_modules/@shikijs/langs/dist/lean.mjs +5 -0
  314. package/dist/node_modules/@shikijs/langs/dist/less.mjs +5 -0
  315. package/dist/node_modules/@shikijs/langs/dist/liquid.mjs +14 -0
  316. package/dist/node_modules/@shikijs/langs/dist/llvm.mjs +5 -0
  317. package/dist/node_modules/@shikijs/langs/dist/log.mjs +5 -0
  318. package/dist/node_modules/@shikijs/langs/dist/logo.mjs +5 -0
  319. package/dist/node_modules/@shikijs/langs/dist/lua.mjs +8 -0
  320. package/dist/node_modules/@shikijs/langs/dist/luau.mjs +5 -0
  321. package/dist/node_modules/@shikijs/langs/dist/make.mjs +5 -0
  322. package/dist/node_modules/@shikijs/langs/dist/markdown-nix.mjs +5 -0
  323. package/dist/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
  324. package/dist/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
  325. package/dist/node_modules/@shikijs/langs/dist/marko.mjs +14 -0
  326. package/dist/node_modules/@shikijs/langs/dist/matlab.mjs +5 -0
  327. package/dist/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
  328. package/dist/node_modules/@shikijs/langs/dist/mdx.mjs +5 -0
  329. package/dist/node_modules/@shikijs/langs/dist/mermaid.mjs +5 -0
  330. package/dist/node_modules/@shikijs/langs/dist/mipsasm.mjs +5 -0
  331. package/dist/node_modules/@shikijs/langs/dist/mojo.mjs +5 -0
  332. package/dist/node_modules/@shikijs/langs/dist/moonbit.mjs +5 -0
  333. package/dist/node_modules/@shikijs/langs/dist/move.mjs +5 -0
  334. package/dist/node_modules/@shikijs/langs/dist/narrat.mjs +5 -0
  335. package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.mjs +5 -0
  336. package/dist/node_modules/@shikijs/langs/dist/nextflow.mjs +8 -0
  337. package/dist/node_modules/@shikijs/langs/dist/nginx.mjs +8 -0
  338. package/dist/node_modules/@shikijs/langs/dist/nim.mjs +20 -0
  339. package/dist/node_modules/@shikijs/langs/dist/nix.mjs +8 -0
  340. package/dist/node_modules/@shikijs/langs/dist/nushell.mjs +5 -0
  341. package/dist/node_modules/@shikijs/langs/dist/objective-c.mjs +5 -0
  342. package/dist/node_modules/@shikijs/langs/dist/objective-cpp.mjs +5 -0
  343. package/dist/node_modules/@shikijs/langs/dist/ocaml.mjs +5 -0
  344. package/dist/node_modules/@shikijs/langs/dist/odin.mjs +5 -0
  345. package/dist/node_modules/@shikijs/langs/dist/openscad.mjs +5 -0
  346. package/dist/node_modules/@shikijs/langs/dist/pascal.mjs +5 -0
  347. package/dist/node_modules/@shikijs/langs/dist/perl.mjs +16 -0
  348. package/dist/node_modules/@shikijs/langs/dist/php.mjs +18 -0
  349. package/dist/node_modules/@shikijs/langs/dist/pkl.mjs +5 -0
  350. package/dist/node_modules/@shikijs/langs/dist/plsql.mjs +5 -0
  351. package/dist/node_modules/@shikijs/langs/dist/po.mjs +5 -0
  352. package/dist/node_modules/@shikijs/langs/dist/polar.mjs +5 -0
  353. package/dist/node_modules/@shikijs/langs/dist/postcss.mjs +5 -0
  354. package/dist/node_modules/@shikijs/langs/dist/powerquery.mjs +5 -0
  355. package/dist/node_modules/@shikijs/langs/dist/powershell.mjs +5 -0
  356. package/dist/node_modules/@shikijs/langs/dist/prisma.mjs +5 -0
  357. package/dist/node_modules/@shikijs/langs/dist/prolog.mjs +5 -0
  358. package/dist/node_modules/@shikijs/langs/dist/proto.mjs +5 -0
  359. package/dist/node_modules/@shikijs/langs/dist/pug.mjs +12 -0
  360. package/dist/node_modules/@shikijs/langs/dist/puppet.mjs +5 -0
  361. package/dist/node_modules/@shikijs/langs/dist/purescript.mjs +5 -0
  362. package/dist/node_modules/@shikijs/langs/dist/python.mjs +5 -0
  363. package/dist/node_modules/@shikijs/langs/dist/qml.mjs +8 -0
  364. package/dist/node_modules/@shikijs/langs/dist/qmldir.mjs +5 -0
  365. package/dist/node_modules/@shikijs/langs/dist/qss.mjs +5 -0
  366. package/dist/node_modules/@shikijs/langs/dist/r.mjs +5 -0
  367. package/dist/node_modules/@shikijs/langs/dist/racket.mjs +5 -0
  368. package/dist/node_modules/@shikijs/langs/dist/raku.mjs +5 -0
  369. package/dist/node_modules/@shikijs/langs/dist/razor.mjs +10 -0
  370. package/dist/node_modules/@shikijs/langs/dist/reg.mjs +5 -0
  371. package/dist/node_modules/@shikijs/langs/dist/regexp.mjs +5 -0
  372. package/dist/node_modules/@shikijs/langs/dist/rel.mjs +5 -0
  373. package/dist/node_modules/@shikijs/langs/dist/riscv.mjs +5 -0
  374. package/dist/node_modules/@shikijs/langs/dist/ron.mjs +5 -0
  375. package/dist/node_modules/@shikijs/langs/dist/rosmsg.mjs +5 -0
  376. package/dist/node_modules/@shikijs/langs/dist/rst.mjs +22 -0
  377. package/dist/node_modules/@shikijs/langs/dist/ruby.mjs +30 -0
  378. package/dist/node_modules/@shikijs/langs/dist/rust.mjs +5 -0
  379. package/dist/node_modules/@shikijs/langs/dist/sas.mjs +8 -0
  380. package/dist/node_modules/@shikijs/langs/dist/sass.mjs +5 -0
  381. package/dist/node_modules/@shikijs/langs/dist/scala.mjs +5 -0
  382. package/dist/node_modules/@shikijs/langs/dist/scheme.mjs +5 -0
  383. package/dist/node_modules/@shikijs/langs/dist/scss.mjs +8 -0
  384. package/dist/node_modules/@shikijs/langs/dist/sdbl.mjs +5 -0
  385. package/dist/node_modules/@shikijs/langs/dist/shaderlab.mjs +8 -0
  386. package/dist/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
  387. package/dist/node_modules/@shikijs/langs/dist/shellsession.mjs +8 -0
  388. package/dist/node_modules/@shikijs/langs/dist/smalltalk.mjs +5 -0
  389. package/dist/node_modules/@shikijs/langs/dist/solidity.mjs +5 -0
  390. package/dist/node_modules/@shikijs/langs/dist/soy.mjs +8 -0
  391. package/dist/node_modules/@shikijs/langs/dist/sparql.mjs +8 -0
  392. package/dist/node_modules/@shikijs/langs/dist/splunk.mjs +5 -0
  393. package/dist/node_modules/@shikijs/langs/dist/sql.mjs +5 -0
  394. package/dist/node_modules/@shikijs/langs/dist/ssh-config.mjs +5 -0
  395. package/dist/node_modules/@shikijs/langs/dist/stata.mjs +8 -0
  396. package/dist/node_modules/@shikijs/langs/dist/stylus.mjs +5 -0
  397. package/dist/node_modules/@shikijs/langs/dist/surrealql.mjs +8 -0
  398. package/dist/node_modules/@shikijs/langs/dist/svelte.mjs +14 -0
  399. package/dist/node_modules/@shikijs/langs/dist/swift.mjs +5 -0
  400. package/dist/node_modules/@shikijs/langs/dist/system-verilog.mjs +5 -0
  401. package/dist/node_modules/@shikijs/langs/dist/systemd.mjs +5 -0
  402. package/dist/node_modules/@shikijs/langs/dist/talonscript.mjs +5 -0
  403. package/dist/node_modules/@shikijs/langs/dist/tasl.mjs +5 -0
  404. package/dist/node_modules/@shikijs/langs/dist/tcl.mjs +5 -0
  405. package/dist/node_modules/@shikijs/langs/dist/templ.mjs +12 -0
  406. package/dist/node_modules/@shikijs/langs/dist/terraform.mjs +5 -0
  407. package/dist/node_modules/@shikijs/langs/dist/tex.mjs +8 -0
  408. package/dist/node_modules/@shikijs/langs/dist/toml.mjs +5 -0
  409. package/dist/node_modules/@shikijs/langs/dist/ts-tags.mjs +18 -0
  410. package/dist/node_modules/@shikijs/langs/dist/tsv.mjs +5 -0
  411. package/dist/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
  412. package/dist/node_modules/@shikijs/langs/dist/turtle.mjs +5 -0
  413. package/dist/node_modules/@shikijs/langs/dist/twig.mjs +18 -0
  414. package/dist/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
  415. package/dist/node_modules/@shikijs/langs/dist/typespec.mjs +5 -0
  416. package/dist/node_modules/@shikijs/langs/dist/typst.mjs +5 -0
  417. package/dist/node_modules/@shikijs/langs/dist/v.mjs +5 -0
  418. package/dist/node_modules/@shikijs/langs/dist/vala.mjs +5 -0
  419. package/dist/node_modules/@shikijs/langs/dist/vb.mjs +5 -0
  420. package/dist/node_modules/@shikijs/langs/dist/verilog.mjs +5 -0
  421. package/dist/node_modules/@shikijs/langs/dist/vhdl.mjs +5 -0
  422. package/dist/node_modules/@shikijs/langs/dist/viml.mjs +5 -0
  423. package/dist/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
  424. package/dist/node_modules/@shikijs/langs/dist/vue-html.mjs +8 -0
  425. package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
  426. package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
  427. package/dist/node_modules/@shikijs/langs/dist/vue-vine.mjs +18 -0
  428. package/dist/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
  429. package/dist/node_modules/@shikijs/langs/dist/vyper.mjs +5 -0
  430. package/dist/node_modules/@shikijs/langs/dist/wasm.mjs +5 -0
  431. package/dist/node_modules/@shikijs/langs/dist/wenyan.mjs +5 -0
  432. package/dist/node_modules/@shikijs/langs/dist/wgsl.mjs +5 -0
  433. package/dist/node_modules/@shikijs/langs/dist/wikitext.mjs +5 -0
  434. package/dist/node_modules/@shikijs/langs/dist/wit.mjs +5 -0
  435. package/dist/node_modules/@shikijs/langs/dist/wolfram.mjs +5 -0
  436. package/dist/node_modules/@shikijs/langs/dist/xml.mjs +8 -0
  437. package/dist/node_modules/@shikijs/langs/dist/xsl.mjs +8 -0
  438. package/dist/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
  439. package/dist/node_modules/@shikijs/langs/dist/zenscript.mjs +5 -0
  440. package/dist/node_modules/@shikijs/langs/dist/zig.mjs +5 -0
  441. package/dist/node_modules/@shikijs/langs/package.json +384 -0
  442. package/dist/node_modules/@shikijs/themes/dist/andromeeda.mjs +2 -0
  443. package/dist/node_modules/@shikijs/themes/dist/aurora-x.mjs +2 -0
  444. package/dist/node_modules/@shikijs/themes/dist/ayu-dark.mjs +2 -0
  445. package/dist/node_modules/@shikijs/themes/dist/ayu-light.mjs +2 -0
  446. package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.mjs +2 -0
  447. package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.mjs +2 -0
  448. package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.mjs +2 -0
  449. package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.mjs +2 -0
  450. package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.mjs +2 -0
  451. package/dist/node_modules/@shikijs/themes/dist/dark-plus.mjs +2 -0
  452. package/dist/node_modules/@shikijs/themes/dist/dracula-soft.mjs +2 -0
  453. package/dist/node_modules/@shikijs/themes/dist/dracula.mjs +2 -0
  454. package/dist/node_modules/@shikijs/themes/dist/everforest-dark.mjs +2 -0
  455. package/dist/node_modules/@shikijs/themes/dist/everforest-light.mjs +2 -0
  456. package/dist/node_modules/@shikijs/themes/dist/github-dark-default.mjs +2 -0
  457. package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.mjs +2 -0
  458. package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.mjs +2 -0
  459. package/dist/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
  460. package/dist/node_modules/@shikijs/themes/dist/github-light-default.mjs +2 -0
  461. package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.mjs +2 -0
  462. package/dist/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
  463. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.mjs +2 -0
  464. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.mjs +2 -0
  465. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.mjs +2 -0
  466. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.mjs +2 -0
  467. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.mjs +2 -0
  468. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.mjs +2 -0
  469. package/dist/node_modules/@shikijs/themes/dist/horizon-bright.mjs +2 -0
  470. package/dist/node_modules/@shikijs/themes/dist/horizon.mjs +2 -0
  471. package/dist/node_modules/@shikijs/themes/dist/houston.mjs +2 -0
  472. package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.mjs +2 -0
  473. package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.mjs +2 -0
  474. package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.mjs +2 -0
  475. package/dist/node_modules/@shikijs/themes/dist/laserwave.mjs +2 -0
  476. package/dist/node_modules/@shikijs/themes/dist/light-plus.mjs +2 -0
  477. package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.mjs +2 -0
  478. package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.mjs +2 -0
  479. package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.mjs +2 -0
  480. package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.mjs +2 -0
  481. package/dist/node_modules/@shikijs/themes/dist/material-theme.mjs +2 -0
  482. package/dist/node_modules/@shikijs/themes/dist/min-dark.mjs +2 -0
  483. package/dist/node_modules/@shikijs/themes/dist/min-light.mjs +2 -0
  484. package/dist/node_modules/@shikijs/themes/dist/monokai.mjs +2 -0
  485. package/dist/node_modules/@shikijs/themes/dist/night-owl-light.mjs +2 -0
  486. package/dist/node_modules/@shikijs/themes/dist/night-owl.mjs +2 -0
  487. package/dist/node_modules/@shikijs/themes/dist/nord.mjs +2 -0
  488. package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.mjs +2 -0
  489. package/dist/node_modules/@shikijs/themes/dist/one-light.mjs +2 -0
  490. package/dist/node_modules/@shikijs/themes/dist/plastic.mjs +2 -0
  491. package/dist/node_modules/@shikijs/themes/dist/poimandres.mjs +2 -0
  492. package/dist/node_modules/@shikijs/themes/dist/red.mjs +2 -0
  493. package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.mjs +2 -0
  494. package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.mjs +2 -0
  495. package/dist/node_modules/@shikijs/themes/dist/rose-pine.mjs +2 -0
  496. package/dist/node_modules/@shikijs/themes/dist/slack-dark.mjs +2 -0
  497. package/dist/node_modules/@shikijs/themes/dist/slack-ochin.mjs +2 -0
  498. package/dist/node_modules/@shikijs/themes/dist/snazzy-light.mjs +2 -0
  499. package/dist/node_modules/@shikijs/themes/dist/solarized-dark.mjs +2 -0
  500. package/dist/node_modules/@shikijs/themes/dist/solarized-light.mjs +2 -0
  501. package/dist/node_modules/@shikijs/themes/dist/synthwave-84.mjs +2 -0
  502. package/dist/node_modules/@shikijs/themes/dist/tokyo-night.mjs +2 -0
  503. package/dist/node_modules/@shikijs/themes/dist/vesper.mjs +2 -0
  504. package/dist/node_modules/@shikijs/themes/dist/vitesse-black.mjs +2 -0
  505. package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.mjs +2 -0
  506. package/dist/node_modules/@shikijs/themes/dist/vitesse-light.mjs +2 -0
  507. package/dist/node_modules/@shikijs/themes/package.json +103 -0
  508. package/dist/node_modules/@shikijs/types/dist/index.mjs +8 -0
  509. package/dist/node_modules/@shikijs/types/package.json +36 -0
  510. package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
  511. package/dist/node_modules/@shikijs/vscode-textmate/package.json +46 -0
  512. package/dist/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +4 -0
  513. package/dist/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +4 -0
  514. package/dist/node_modules/@swc/helpers/_/_interop_require_default/package.json +4 -0
  515. package/dist/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +4 -0
  516. package/dist/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +10 -0
  517. package/dist/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +8 -0
  518. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
  519. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
  520. package/dist/node_modules/@swc/helpers/package.json +471 -0
  521. package/dist/node_modules/caniuse-lite/data/agents.js +1 -0
  522. package/dist/node_modules/caniuse-lite/data/browserVersions.js +1 -0
  523. package/dist/node_modules/caniuse-lite/data/browsers.js +1 -0
  524. package/dist/node_modules/caniuse-lite/data/features/aac.js +1 -0
  525. package/dist/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -0
  526. package/dist/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -0
  527. package/dist/node_modules/caniuse-lite/data/features/accelerometer.js +1 -0
  528. package/dist/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -0
  529. package/dist/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -0
  530. package/dist/node_modules/caniuse-lite/data/features/ambient-light.js +1 -0
  531. package/dist/node_modules/caniuse-lite/data/features/apng.js +1 -0
  532. package/dist/node_modules/caniuse-lite/data/features/array-find-index.js +1 -0
  533. package/dist/node_modules/caniuse-lite/data/features/array-find.js +1 -0
  534. package/dist/node_modules/caniuse-lite/data/features/array-flat.js +1 -0
  535. package/dist/node_modules/caniuse-lite/data/features/array-includes.js +1 -0
  536. package/dist/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -0
  537. package/dist/node_modules/caniuse-lite/data/features/asmjs.js +1 -0
  538. package/dist/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -0
  539. package/dist/node_modules/caniuse-lite/data/features/async-functions.js +1 -0
  540. package/dist/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -0
  541. package/dist/node_modules/caniuse-lite/data/features/audio-api.js +1 -0
  542. package/dist/node_modules/caniuse-lite/data/features/audio.js +1 -0
  543. package/dist/node_modules/caniuse-lite/data/features/audiotracks.js +1 -0
  544. package/dist/node_modules/caniuse-lite/data/features/autofocus.js +1 -0
  545. package/dist/node_modules/caniuse-lite/data/features/auxclick.js +1 -0
  546. package/dist/node_modules/caniuse-lite/data/features/av1.js +1 -0
  547. package/dist/node_modules/caniuse-lite/data/features/avif.js +1 -0
  548. package/dist/node_modules/caniuse-lite/data/features/background-attachment.js +1 -0
  549. package/dist/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -0
  550. package/dist/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -0
  551. package/dist/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -0
  552. package/dist/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -0
  553. package/dist/node_modules/caniuse-lite/data/features/background-sync.js +1 -0
  554. package/dist/node_modules/caniuse-lite/data/features/battery-status.js +1 -0
  555. package/dist/node_modules/caniuse-lite/data/features/beacon.js +1 -0
  556. package/dist/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -0
  557. package/dist/node_modules/caniuse-lite/data/features/bigint.js +1 -0
  558. package/dist/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -0
  559. package/dist/node_modules/caniuse-lite/data/features/bloburls.js +1 -0
  560. package/dist/node_modules/caniuse-lite/data/features/border-image.js +1 -0
  561. package/dist/node_modules/caniuse-lite/data/features/border-radius.js +1 -0
  562. package/dist/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -0
  563. package/dist/node_modules/caniuse-lite/data/features/brotli.js +1 -0
  564. package/dist/node_modules/caniuse-lite/data/features/calc.js +1 -0
  565. package/dist/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -0
  566. package/dist/node_modules/caniuse-lite/data/features/canvas-text.js +1 -0
  567. package/dist/node_modules/caniuse-lite/data/features/canvas.js +1 -0
  568. package/dist/node_modules/caniuse-lite/data/features/ch-unit.js +1 -0
  569. package/dist/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -0
  570. package/dist/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -0
  571. package/dist/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -0
  572. package/dist/node_modules/caniuse-lite/data/features/classlist.js +1 -0
  573. package/dist/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -0
  574. package/dist/node_modules/caniuse-lite/data/features/clipboard.js +1 -0
  575. package/dist/node_modules/caniuse-lite/data/features/colr-v1.js +1 -0
  576. package/dist/node_modules/caniuse-lite/data/features/colr.js +1 -0
  577. package/dist/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -0
  578. package/dist/node_modules/caniuse-lite/data/features/console-basic.js +1 -0
  579. package/dist/node_modules/caniuse-lite/data/features/console-time.js +1 -0
  580. package/dist/node_modules/caniuse-lite/data/features/const.js +1 -0
  581. package/dist/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -0
  582. package/dist/node_modules/caniuse-lite/data/features/contenteditable.js +1 -0
  583. package/dist/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -0
  584. package/dist/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -0
  585. package/dist/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -0
  586. package/dist/node_modules/caniuse-lite/data/features/cors.js +1 -0
  587. package/dist/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -0
  588. package/dist/node_modules/caniuse-lite/data/features/credential-management.js +1 -0
  589. package/dist/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -0
  590. package/dist/node_modules/caniuse-lite/data/features/cryptography.js +1 -0
  591. package/dist/node_modules/caniuse-lite/data/features/css-all.js +1 -0
  592. package/dist/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -0
  593. package/dist/node_modules/caniuse-lite/data/features/css-animation.js +1 -0
  594. package/dist/node_modules/caniuse-lite/data/features/css-any-link.js +1 -0
  595. package/dist/node_modules/caniuse-lite/data/features/css-appearance.js +1 -0
  596. package/dist/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -0
  597. package/dist/node_modules/caniuse-lite/data/features/css-autofill.js +1 -0
  598. package/dist/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -0
  599. package/dist/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -0
  600. package/dist/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -0
  601. package/dist/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -0
  602. package/dist/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -0
  603. package/dist/node_modules/caniuse-lite/data/features/css-canvas.js +1 -0
  604. package/dist/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -0
  605. package/dist/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -0
  606. package/dist/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -0
  607. package/dist/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -0
  608. package/dist/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -0
  609. package/dist/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -0
  610. package/dist/node_modules/caniuse-lite/data/features/css-color-function.js +1 -0
  611. package/dist/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -0
  612. package/dist/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -0
  613. package/dist/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -0
  614. package/dist/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -0
  615. package/dist/node_modules/caniuse-lite/data/features/css-containment.js +1 -0
  616. package/dist/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -0
  617. package/dist/node_modules/caniuse-lite/data/features/css-counters.js +1 -0
  618. package/dist/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -0
  619. package/dist/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -0
  620. package/dist/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -0
  621. package/dist/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -0
  622. package/dist/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -0
  623. package/dist/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -0
  624. package/dist/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -0
  625. package/dist/node_modules/caniuse-lite/data/features/css-element-function.js +1 -0
  626. package/dist/node_modules/caniuse-lite/data/features/css-env-function.js +1 -0
  627. package/dist/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -0
  628. package/dist/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -0
  629. package/dist/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -0
  630. package/dist/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -0
  631. package/dist/node_modules/caniuse-lite/data/features/css-filters.js +1 -0
  632. package/dist/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -0
  633. package/dist/node_modules/caniuse-lite/data/features/css-first-line.js +1 -0
  634. package/dist/node_modules/caniuse-lite/data/features/css-fixed.js +1 -0
  635. package/dist/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -0
  636. package/dist/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -0
  637. package/dist/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -0
  638. package/dist/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -0
  639. package/dist/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -0
  640. package/dist/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -0
  641. package/dist/node_modules/caniuse-lite/data/features/css-gradients.js +1 -0
  642. package/dist/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -0
  643. package/dist/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -0
  644. package/dist/node_modules/caniuse-lite/data/features/css-grid.js +1 -0
  645. package/dist/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -0
  646. package/dist/node_modules/caniuse-lite/data/features/css-has.js +1 -0
  647. package/dist/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -0
  648. package/dist/node_modules/caniuse-lite/data/features/css-if.js +1 -0
  649. package/dist/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -0
  650. package/dist/node_modules/caniuse-lite/data/features/css-image-set.js +1 -0
  651. package/dist/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -0
  652. package/dist/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -0
  653. package/dist/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -0
  654. package/dist/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -0
  655. package/dist/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -0
  656. package/dist/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -0
  657. package/dist/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -0
  658. package/dist/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -0
  659. package/dist/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -0
  660. package/dist/node_modules/caniuse-lite/data/features/css-masks.js +1 -0
  661. package/dist/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -0
  662. package/dist/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -0
  663. package/dist/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -0
  664. package/dist/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -0
  665. package/dist/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -0
  666. package/dist/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -0
  667. package/dist/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -0
  668. package/dist/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -0
  669. package/dist/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -0
  670. package/dist/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -0
  671. package/dist/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -0
  672. package/dist/node_modules/caniuse-lite/data/features/css-nesting.js +1 -0
  673. package/dist/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -0
  674. package/dist/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -0
  675. package/dist/node_modules/caniuse-lite/data/features/css-opacity.js +1 -0
  676. package/dist/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -0
  677. package/dist/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -0
  678. package/dist/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -0
  679. package/dist/node_modules/caniuse-lite/data/features/css-overflow.js +1 -0
  680. package/dist/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -0
  681. package/dist/node_modules/caniuse-lite/data/features/css-page-break.js +1 -0
  682. package/dist/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -0
  683. package/dist/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -0
  684. package/dist/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -0
  685. package/dist/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -0
  686. package/dist/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -0
  687. package/dist/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -0
  688. package/dist/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -0
  689. package/dist/node_modules/caniuse-lite/data/features/css-reflections.js +1 -0
  690. package/dist/node_modules/caniuse-lite/data/features/css-regions.js +1 -0
  691. package/dist/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -0
  692. package/dist/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -0
  693. package/dist/node_modules/caniuse-lite/data/features/css-resize.js +1 -0
  694. package/dist/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -0
  695. package/dist/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -0
  696. package/dist/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -0
  697. package/dist/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -0
  698. package/dist/node_modules/caniuse-lite/data/features/css-sel2.js +1 -0
  699. package/dist/node_modules/caniuse-lite/data/features/css-sel3.js +1 -0
  700. package/dist/node_modules/caniuse-lite/data/features/css-selection.js +1 -0
  701. package/dist/node_modules/caniuse-lite/data/features/css-shapes.js +1 -0
  702. package/dist/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -0
  703. package/dist/node_modules/caniuse-lite/data/features/css-sticky.js +1 -0
  704. package/dist/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -0
  705. package/dist/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -0
  706. package/dist/node_modules/caniuse-lite/data/features/css-table.js +1 -0
  707. package/dist/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -0
  708. package/dist/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -0
  709. package/dist/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -0
  710. package/dist/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -0
  711. package/dist/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -0
  712. package/dist/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -0
  713. package/dist/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -0
  714. package/dist/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -0
  715. package/dist/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -0
  716. package/dist/node_modules/caniuse-lite/data/features/css-transitions.js +1 -0
  717. package/dist/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -0
  718. package/dist/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -0
  719. package/dist/node_modules/caniuse-lite/data/features/css-variables.js +1 -0
  720. package/dist/node_modules/caniuse-lite/data/features/css-when-else.js +1 -0
  721. package/dist/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -0
  722. package/dist/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -0
  723. package/dist/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -0
  724. package/dist/node_modules/caniuse-lite/data/features/css-zoom.js +1 -0
  725. package/dist/node_modules/caniuse-lite/data/features/css3-attr.js +1 -0
  726. package/dist/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -0
  727. package/dist/node_modules/caniuse-lite/data/features/css3-colors.js +1 -0
  728. package/dist/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -0
  729. package/dist/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -0
  730. package/dist/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -0
  731. package/dist/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -0
  732. package/dist/node_modules/caniuse-lite/data/features/currentcolor.js +1 -0
  733. package/dist/node_modules/caniuse-lite/data/features/custom-elements.js +1 -0
  734. package/dist/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -0
  735. package/dist/node_modules/caniuse-lite/data/features/customevent.js +1 -0
  736. package/dist/node_modules/caniuse-lite/data/features/datalist.js +1 -0
  737. package/dist/node_modules/caniuse-lite/data/features/dataset.js +1 -0
  738. package/dist/node_modules/caniuse-lite/data/features/datauri.js +1 -0
  739. package/dist/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -0
  740. package/dist/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -0
  741. package/dist/node_modules/caniuse-lite/data/features/decorators.js +1 -0
  742. package/dist/node_modules/caniuse-lite/data/features/details.js +1 -0
  743. package/dist/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -0
  744. package/dist/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -0
  745. package/dist/node_modules/caniuse-lite/data/features/dialog.js +1 -0
  746. package/dist/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -0
  747. package/dist/node_modules/caniuse-lite/data/features/dnssec.js +1 -0
  748. package/dist/node_modules/caniuse-lite/data/features/do-not-track.js +1 -0
  749. package/dist/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -0
  750. package/dist/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -0
  751. package/dist/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -0
  752. package/dist/node_modules/caniuse-lite/data/features/document-policy.js +1 -0
  753. package/dist/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -0
  754. package/dist/node_modules/caniuse-lite/data/features/documenthead.js +1 -0
  755. package/dist/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -0
  756. package/dist/node_modules/caniuse-lite/data/features/dom-range.js +1 -0
  757. package/dist/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -0
  758. package/dist/node_modules/caniuse-lite/data/features/dommatrix.js +1 -0
  759. package/dist/node_modules/caniuse-lite/data/features/download.js +1 -0
  760. package/dist/node_modules/caniuse-lite/data/features/dragndrop.js +1 -0
  761. package/dist/node_modules/caniuse-lite/data/features/element-closest.js +1 -0
  762. package/dist/node_modules/caniuse-lite/data/features/element-from-point.js +1 -0
  763. package/dist/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -0
  764. package/dist/node_modules/caniuse-lite/data/features/eme.js +1 -0
  765. package/dist/node_modules/caniuse-lite/data/features/eot.js +1 -0
  766. package/dist/node_modules/caniuse-lite/data/features/es5.js +1 -0
  767. package/dist/node_modules/caniuse-lite/data/features/es6-class.js +1 -0
  768. package/dist/node_modules/caniuse-lite/data/features/es6-generators.js +1 -0
  769. package/dist/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -0
  770. package/dist/node_modules/caniuse-lite/data/features/es6-module.js +1 -0
  771. package/dist/node_modules/caniuse-lite/data/features/es6-number.js +1 -0
  772. package/dist/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -0
  773. package/dist/node_modules/caniuse-lite/data/features/es6.js +1 -0
  774. package/dist/node_modules/caniuse-lite/data/features/eventsource.js +1 -0
  775. package/dist/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -0
  776. package/dist/node_modules/caniuse-lite/data/features/feature-policy.js +1 -0
  777. package/dist/node_modules/caniuse-lite/data/features/fetch.js +1 -0
  778. package/dist/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -0
  779. package/dist/node_modules/caniuse-lite/data/features/fileapi.js +1 -0
  780. package/dist/node_modules/caniuse-lite/data/features/filereader.js +1 -0
  781. package/dist/node_modules/caniuse-lite/data/features/filereadersync.js +1 -0
  782. package/dist/node_modules/caniuse-lite/data/features/filesystem.js +1 -0
  783. package/dist/node_modules/caniuse-lite/data/features/flac.js +1 -0
  784. package/dist/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -0
  785. package/dist/node_modules/caniuse-lite/data/features/flexbox.js +1 -0
  786. package/dist/node_modules/caniuse-lite/data/features/flow-root.js +1 -0
  787. package/dist/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -0
  788. package/dist/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -0
  789. package/dist/node_modules/caniuse-lite/data/features/font-feature.js +1 -0
  790. package/dist/node_modules/caniuse-lite/data/features/font-kerning.js +1 -0
  791. package/dist/node_modules/caniuse-lite/data/features/font-loading.js +1 -0
  792. package/dist/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -0
  793. package/dist/node_modules/caniuse-lite/data/features/font-smooth.js +1 -0
  794. package/dist/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -0
  795. package/dist/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -0
  796. package/dist/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -0
  797. package/dist/node_modules/caniuse-lite/data/features/fontface.js +1 -0
  798. package/dist/node_modules/caniuse-lite/data/features/form-attribute.js +1 -0
  799. package/dist/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -0
  800. package/dist/node_modules/caniuse-lite/data/features/form-validation.js +1 -0
  801. package/dist/node_modules/caniuse-lite/data/features/forms.js +1 -0
  802. package/dist/node_modules/caniuse-lite/data/features/fullscreen.js +1 -0
  803. package/dist/node_modules/caniuse-lite/data/features/gamepad.js +1 -0
  804. package/dist/node_modules/caniuse-lite/data/features/geolocation.js +1 -0
  805. package/dist/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -0
  806. package/dist/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -0
  807. package/dist/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -0
  808. package/dist/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -0
  809. package/dist/node_modules/caniuse-lite/data/features/gyroscope.js +1 -0
  810. package/dist/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -0
  811. package/dist/node_modules/caniuse-lite/data/features/hashchange.js +1 -0
  812. package/dist/node_modules/caniuse-lite/data/features/heif.js +1 -0
  813. package/dist/node_modules/caniuse-lite/data/features/hevc.js +1 -0
  814. package/dist/node_modules/caniuse-lite/data/features/hidden.js +1 -0
  815. package/dist/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -0
  816. package/dist/node_modules/caniuse-lite/data/features/history.js +1 -0
  817. package/dist/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -0
  818. package/dist/node_modules/caniuse-lite/data/features/html5semantic.js +1 -0
  819. package/dist/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -0
  820. package/dist/node_modules/caniuse-lite/data/features/http2.js +1 -0
  821. package/dist/node_modules/caniuse-lite/data/features/http3.js +1 -0
  822. package/dist/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -0
  823. package/dist/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -0
  824. package/dist/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -0
  825. package/dist/node_modules/caniuse-lite/data/features/imagecapture.js +1 -0
  826. package/dist/node_modules/caniuse-lite/data/features/ime.js +1 -0
  827. package/dist/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -0
  828. package/dist/node_modules/caniuse-lite/data/features/import-maps.js +1 -0
  829. package/dist/node_modules/caniuse-lite/data/features/imports.js +1 -0
  830. package/dist/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -0
  831. package/dist/node_modules/caniuse-lite/data/features/indexeddb.js +1 -0
  832. package/dist/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -0
  833. package/dist/node_modules/caniuse-lite/data/features/inline-block.js +1 -0
  834. package/dist/node_modules/caniuse-lite/data/features/innertext.js +1 -0
  835. package/dist/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -0
  836. package/dist/node_modules/caniuse-lite/data/features/input-color.js +1 -0
  837. package/dist/node_modules/caniuse-lite/data/features/input-datetime.js +1 -0
  838. package/dist/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -0
  839. package/dist/node_modules/caniuse-lite/data/features/input-event.js +1 -0
  840. package/dist/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -0
  841. package/dist/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -0
  842. package/dist/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -0
  843. package/dist/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -0
  844. package/dist/node_modules/caniuse-lite/data/features/input-minlength.js +1 -0
  845. package/dist/node_modules/caniuse-lite/data/features/input-number.js +1 -0
  846. package/dist/node_modules/caniuse-lite/data/features/input-pattern.js +1 -0
  847. package/dist/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -0
  848. package/dist/node_modules/caniuse-lite/data/features/input-range.js +1 -0
  849. package/dist/node_modules/caniuse-lite/data/features/input-search.js +1 -0
  850. package/dist/node_modules/caniuse-lite/data/features/input-selection.js +1 -0
  851. package/dist/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -0
  852. package/dist/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -0
  853. package/dist/node_modules/caniuse-lite/data/features/internationalization.js +1 -0
  854. package/dist/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -0
  855. package/dist/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -0
  856. package/dist/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -0
  857. package/dist/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -0
  858. package/dist/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -0
  859. package/dist/node_modules/caniuse-lite/data/features/jpegxl.js +1 -0
  860. package/dist/node_modules/caniuse-lite/data/features/jpegxr.js +1 -0
  861. package/dist/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -0
  862. package/dist/node_modules/caniuse-lite/data/features/json.js +1 -0
  863. package/dist/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -0
  864. package/dist/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -0
  865. package/dist/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -0
  866. package/dist/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -0
  867. package/dist/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -0
  868. package/dist/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -0
  869. package/dist/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -0
  870. package/dist/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -0
  871. package/dist/node_modules/caniuse-lite/data/features/lazyload.js +1 -0
  872. package/dist/node_modules/caniuse-lite/data/features/let.js +1 -0
  873. package/dist/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -0
  874. package/dist/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -0
  875. package/dist/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -0
  876. package/dist/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -0
  877. package/dist/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -0
  878. package/dist/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -0
  879. package/dist/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -0
  880. package/dist/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -0
  881. package/dist/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -0
  882. package/dist/node_modules/caniuse-lite/data/features/localecompare.js +1 -0
  883. package/dist/node_modules/caniuse-lite/data/features/magnetometer.js +1 -0
  884. package/dist/node_modules/caniuse-lite/data/features/matchesselector.js +1 -0
  885. package/dist/node_modules/caniuse-lite/data/features/matchmedia.js +1 -0
  886. package/dist/node_modules/caniuse-lite/data/features/mathml.js +1 -0
  887. package/dist/node_modules/caniuse-lite/data/features/maxlength.js +1 -0
  888. package/dist/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -0
  889. package/dist/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -0
  890. package/dist/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -0
  891. package/dist/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -0
  892. package/dist/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -0
  893. package/dist/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -0
  894. package/dist/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -0
  895. package/dist/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -0
  896. package/dist/node_modules/caniuse-lite/data/features/media-fragments.js +1 -0
  897. package/dist/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -0
  898. package/dist/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -0
  899. package/dist/node_modules/caniuse-lite/data/features/mediasource.js +1 -0
  900. package/dist/node_modules/caniuse-lite/data/features/menu.js +1 -0
  901. package/dist/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -0
  902. package/dist/node_modules/caniuse-lite/data/features/meter.js +1 -0
  903. package/dist/node_modules/caniuse-lite/data/features/midi.js +1 -0
  904. package/dist/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -0
  905. package/dist/node_modules/caniuse-lite/data/features/mp3.js +1 -0
  906. package/dist/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -0
  907. package/dist/node_modules/caniuse-lite/data/features/mpeg4.js +1 -0
  908. package/dist/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -0
  909. package/dist/node_modules/caniuse-lite/data/features/multicolumn.js +1 -0
  910. package/dist/node_modules/caniuse-lite/data/features/mutation-events.js +1 -0
  911. package/dist/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -0
  912. package/dist/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -0
  913. package/dist/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -0
  914. package/dist/node_modules/caniuse-lite/data/features/nav-timing.js +1 -0
  915. package/dist/node_modules/caniuse-lite/data/features/netinfo.js +1 -0
  916. package/dist/node_modules/caniuse-lite/data/features/notifications.js +1 -0
  917. package/dist/node_modules/caniuse-lite/data/features/object-entries.js +1 -0
  918. package/dist/node_modules/caniuse-lite/data/features/object-fit.js +1 -0
  919. package/dist/node_modules/caniuse-lite/data/features/object-observe.js +1 -0
  920. package/dist/node_modules/caniuse-lite/data/features/object-values.js +1 -0
  921. package/dist/node_modules/caniuse-lite/data/features/objectrtc.js +1 -0
  922. package/dist/node_modules/caniuse-lite/data/features/offline-apps.js +1 -0
  923. package/dist/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -0
  924. package/dist/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -0
  925. package/dist/node_modules/caniuse-lite/data/features/ogv.js +1 -0
  926. package/dist/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -0
  927. package/dist/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -0
  928. package/dist/node_modules/caniuse-lite/data/features/online-status.js +1 -0
  929. package/dist/node_modules/caniuse-lite/data/features/opus.js +1 -0
  930. package/dist/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -0
  931. package/dist/node_modules/caniuse-lite/data/features/outline.js +1 -0
  932. package/dist/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -0
  933. package/dist/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -0
  934. package/dist/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -0
  935. package/dist/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -0
  936. package/dist/node_modules/caniuse-lite/data/features/passkeys.js +1 -0
  937. package/dist/node_modules/caniuse-lite/data/features/passwordrules.js +1 -0
  938. package/dist/node_modules/caniuse-lite/data/features/path2d.js +1 -0
  939. package/dist/node_modules/caniuse-lite/data/features/payment-request.js +1 -0
  940. package/dist/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -0
  941. package/dist/node_modules/caniuse-lite/data/features/permissions-api.js +1 -0
  942. package/dist/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -0
  943. package/dist/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -0
  944. package/dist/node_modules/caniuse-lite/data/features/picture.js +1 -0
  945. package/dist/node_modules/caniuse-lite/data/features/ping.js +1 -0
  946. package/dist/node_modules/caniuse-lite/data/features/png-alpha.js +1 -0
  947. package/dist/node_modules/caniuse-lite/data/features/pointer-events.js +1 -0
  948. package/dist/node_modules/caniuse-lite/data/features/pointer.js +1 -0
  949. package/dist/node_modules/caniuse-lite/data/features/pointerlock.js +1 -0
  950. package/dist/node_modules/caniuse-lite/data/features/portals.js +1 -0
  951. package/dist/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -0
  952. package/dist/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -0
  953. package/dist/node_modules/caniuse-lite/data/features/progress.js +1 -0
  954. package/dist/node_modules/caniuse-lite/data/features/promise-finally.js +1 -0
  955. package/dist/node_modules/caniuse-lite/data/features/promises.js +1 -0
  956. package/dist/node_modules/caniuse-lite/data/features/proximity.js +1 -0
  957. package/dist/node_modules/caniuse-lite/data/features/proxy.js +1 -0
  958. package/dist/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -0
  959. package/dist/node_modules/caniuse-lite/data/features/push-api.js +1 -0
  960. package/dist/node_modules/caniuse-lite/data/features/queryselector.js +1 -0
  961. package/dist/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -0
  962. package/dist/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -0
  963. package/dist/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -0
  964. package/dist/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -0
  965. package/dist/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -0
  966. package/dist/node_modules/caniuse-lite/data/features/rellist.js +1 -0
  967. package/dist/node_modules/caniuse-lite/data/features/rem.js +1 -0
  968. package/dist/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -0
  969. package/dist/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -0
  970. package/dist/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -0
  971. package/dist/node_modules/caniuse-lite/data/features/resource-timing.js +1 -0
  972. package/dist/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -0
  973. package/dist/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -0
  974. package/dist/node_modules/caniuse-lite/data/features/ruby.js +1 -0
  975. package/dist/node_modules/caniuse-lite/data/features/run-in.js +1 -0
  976. package/dist/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -0
  977. package/dist/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -0
  978. package/dist/node_modules/caniuse-lite/data/features/script-async.js +1 -0
  979. package/dist/node_modules/caniuse-lite/data/features/script-defer.js +1 -0
  980. package/dist/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -0
  981. package/dist/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -0
  982. package/dist/node_modules/caniuse-lite/data/features/sdch.js +1 -0
  983. package/dist/node_modules/caniuse-lite/data/features/selection-api.js +1 -0
  984. package/dist/node_modules/caniuse-lite/data/features/selectlist.js +1 -0
  985. package/dist/node_modules/caniuse-lite/data/features/server-timing.js +1 -0
  986. package/dist/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -0
  987. package/dist/node_modules/caniuse-lite/data/features/setimmediate.js +1 -0
  988. package/dist/node_modules/caniuse-lite/data/features/shadowdom.js +1 -0
  989. package/dist/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -0
  990. package/dist/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -0
  991. package/dist/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -0
  992. package/dist/node_modules/caniuse-lite/data/features/sni.js +1 -0
  993. package/dist/node_modules/caniuse-lite/data/features/spdy.js +1 -0
  994. package/dist/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -0
  995. package/dist/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -0
  996. package/dist/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -0
  997. package/dist/node_modules/caniuse-lite/data/features/sql-storage.js +1 -0
  998. package/dist/node_modules/caniuse-lite/data/features/srcset.js +1 -0
  999. package/dist/node_modules/caniuse-lite/data/features/stream.js +1 -0
  1000. package/dist/node_modules/caniuse-lite/data/features/streams.js +1 -0
  1001. package/dist/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -0
  1002. package/dist/node_modules/caniuse-lite/data/features/style-scoped.js +1 -0
  1003. package/dist/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -0
  1004. package/dist/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -0
  1005. package/dist/node_modules/caniuse-lite/data/features/svg-css.js +1 -0
  1006. package/dist/node_modules/caniuse-lite/data/features/svg-filters.js +1 -0
  1007. package/dist/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -0
  1008. package/dist/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -0
  1009. package/dist/node_modules/caniuse-lite/data/features/svg-html.js +1 -0
  1010. package/dist/node_modules/caniuse-lite/data/features/svg-html5.js +1 -0
  1011. package/dist/node_modules/caniuse-lite/data/features/svg-img.js +1 -0
  1012. package/dist/node_modules/caniuse-lite/data/features/svg-smil.js +1 -0
  1013. package/dist/node_modules/caniuse-lite/data/features/svg.js +1 -0
  1014. package/dist/node_modules/caniuse-lite/data/features/sxg.js +1 -0
  1015. package/dist/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -0
  1016. package/dist/node_modules/caniuse-lite/data/features/template-literals.js +1 -0
  1017. package/dist/node_modules/caniuse-lite/data/features/template.js +1 -0
  1018. package/dist/node_modules/caniuse-lite/data/features/temporal.js +1 -0
  1019. package/dist/node_modules/caniuse-lite/data/features/testfeat.js +1 -0
  1020. package/dist/node_modules/caniuse-lite/data/features/text-decoration.js +1 -0
  1021. package/dist/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -0
  1022. package/dist/node_modules/caniuse-lite/data/features/text-overflow.js +1 -0
  1023. package/dist/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -0
  1024. package/dist/node_modules/caniuse-lite/data/features/text-stroke.js +1 -0
  1025. package/dist/node_modules/caniuse-lite/data/features/textcontent.js +1 -0
  1026. package/dist/node_modules/caniuse-lite/data/features/textencoder.js +1 -0
  1027. package/dist/node_modules/caniuse-lite/data/features/tls1-1.js +1 -0
  1028. package/dist/node_modules/caniuse-lite/data/features/tls1-2.js +1 -0
  1029. package/dist/node_modules/caniuse-lite/data/features/tls1-3.js +1 -0
  1030. package/dist/node_modules/caniuse-lite/data/features/touch.js +1 -0
  1031. package/dist/node_modules/caniuse-lite/data/features/transforms2d.js +1 -0
  1032. package/dist/node_modules/caniuse-lite/data/features/transforms3d.js +1 -0
  1033. package/dist/node_modules/caniuse-lite/data/features/trusted-types.js +1 -0
  1034. package/dist/node_modules/caniuse-lite/data/features/ttf.js +1 -0
  1035. package/dist/node_modules/caniuse-lite/data/features/typedarrays.js +1 -0
  1036. package/dist/node_modules/caniuse-lite/data/features/u2f.js +1 -0
  1037. package/dist/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -0
  1038. package/dist/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -0
  1039. package/dist/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -0
  1040. package/dist/node_modules/caniuse-lite/data/features/url.js +1 -0
  1041. package/dist/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -0
  1042. package/dist/node_modules/caniuse-lite/data/features/use-strict.js +1 -0
  1043. package/dist/node_modules/caniuse-lite/data/features/user-select-none.js +1 -0
  1044. package/dist/node_modules/caniuse-lite/data/features/user-timing.js +1 -0
  1045. package/dist/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -0
  1046. package/dist/node_modules/caniuse-lite/data/features/vector-effect.js +1 -0
  1047. package/dist/node_modules/caniuse-lite/data/features/vibration.js +1 -0
  1048. package/dist/node_modules/caniuse-lite/data/features/video.js +1 -0
  1049. package/dist/node_modules/caniuse-lite/data/features/videotracks.js +1 -0
  1050. package/dist/node_modules/caniuse-lite/data/features/view-transitions.js +1 -0
  1051. package/dist/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -0
  1052. package/dist/node_modules/caniuse-lite/data/features/viewport-units.js +1 -0
  1053. package/dist/node_modules/caniuse-lite/data/features/wai-aria.js +1 -0
  1054. package/dist/node_modules/caniuse-lite/data/features/wake-lock.js +1 -0
  1055. package/dist/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -0
  1056. package/dist/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -0
  1057. package/dist/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -0
  1058. package/dist/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -0
  1059. package/dist/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -0
  1060. package/dist/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -0
  1061. package/dist/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -0
  1062. package/dist/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -0
  1063. package/dist/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -0
  1064. package/dist/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -0
  1065. package/dist/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -0
  1066. package/dist/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -0
  1067. package/dist/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -0
  1068. package/dist/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -0
  1069. package/dist/node_modules/caniuse-lite/data/features/wasm.js +1 -0
  1070. package/dist/node_modules/caniuse-lite/data/features/wav.js +1 -0
  1071. package/dist/node_modules/caniuse-lite/data/features/wbr-element.js +1 -0
  1072. package/dist/node_modules/caniuse-lite/data/features/web-animation.js +1 -0
  1073. package/dist/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -0
  1074. package/dist/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -0
  1075. package/dist/node_modules/caniuse-lite/data/features/web-serial.js +1 -0
  1076. package/dist/node_modules/caniuse-lite/data/features/web-share.js +1 -0
  1077. package/dist/node_modules/caniuse-lite/data/features/webauthn.js +1 -0
  1078. package/dist/node_modules/caniuse-lite/data/features/webcodecs.js +1 -0
  1079. package/dist/node_modules/caniuse-lite/data/features/webgl.js +1 -0
  1080. package/dist/node_modules/caniuse-lite/data/features/webgl2.js +1 -0
  1081. package/dist/node_modules/caniuse-lite/data/features/webgpu.js +1 -0
  1082. package/dist/node_modules/caniuse-lite/data/features/webhid.js +1 -0
  1083. package/dist/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -0
  1084. package/dist/node_modules/caniuse-lite/data/features/webm.js +1 -0
  1085. package/dist/node_modules/caniuse-lite/data/features/webnfc.js +1 -0
  1086. package/dist/node_modules/caniuse-lite/data/features/webp.js +1 -0
  1087. package/dist/node_modules/caniuse-lite/data/features/websockets.js +1 -0
  1088. package/dist/node_modules/caniuse-lite/data/features/webtransport.js +1 -0
  1089. package/dist/node_modules/caniuse-lite/data/features/webusb.js +1 -0
  1090. package/dist/node_modules/caniuse-lite/data/features/webvr.js +1 -0
  1091. package/dist/node_modules/caniuse-lite/data/features/webvtt.js +1 -0
  1092. package/dist/node_modules/caniuse-lite/data/features/webworkers.js +1 -0
  1093. package/dist/node_modules/caniuse-lite/data/features/webxr.js +1 -0
  1094. package/dist/node_modules/caniuse-lite/data/features/will-change.js +1 -0
  1095. package/dist/node_modules/caniuse-lite/data/features/woff.js +1 -0
  1096. package/dist/node_modules/caniuse-lite/data/features/woff2.js +1 -0
  1097. package/dist/node_modules/caniuse-lite/data/features/word-break.js +1 -0
  1098. package/dist/node_modules/caniuse-lite/data/features/wordwrap.js +1 -0
  1099. package/dist/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -0
  1100. package/dist/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -0
  1101. package/dist/node_modules/caniuse-lite/data/features/xhr2.js +1 -0
  1102. package/dist/node_modules/caniuse-lite/data/features/xhtml.js +1 -0
  1103. package/dist/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -0
  1104. package/dist/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -0
  1105. package/dist/node_modules/caniuse-lite/data/features/zstd.js +1 -0
  1106. package/dist/node_modules/caniuse-lite/data/features.js +1 -0
  1107. package/dist/node_modules/caniuse-lite/dist/lib/statuses.js +9 -0
  1108. package/dist/node_modules/caniuse-lite/dist/lib/supported.js +9 -0
  1109. package/dist/node_modules/caniuse-lite/dist/unpacker/agents.js +47 -0
  1110. package/dist/node_modules/caniuse-lite/dist/unpacker/browserVersions.js +1 -0
  1111. package/dist/node_modules/caniuse-lite/dist/unpacker/browsers.js +1 -0
  1112. package/dist/node_modules/caniuse-lite/dist/unpacker/feature.js +52 -0
  1113. package/dist/node_modules/caniuse-lite/dist/unpacker/features.js +6 -0
  1114. package/dist/node_modules/caniuse-lite/dist/unpacker/index.js +4 -0
  1115. package/dist/node_modules/caniuse-lite/dist/unpacker/region.js +22 -0
  1116. package/dist/node_modules/caniuse-lite/package.json +34 -0
  1117. package/dist/node_modules/ccount/index.js +27 -0
  1118. package/dist/node_modules/ccount/package.json +71 -0
  1119. package/dist/node_modules/character-entities-html4/index.js +259 -0
  1120. package/dist/node_modules/character-entities-html4/package.json +79 -0
  1121. package/dist/node_modules/character-entities-legacy/index.js +113 -0
  1122. package/dist/node_modules/character-entities-legacy/package.json +77 -0
  1123. package/dist/node_modules/client-only/index.js +0 -0
  1124. package/dist/node_modules/client-only/package.json +19 -0
  1125. package/dist/node_modules/comma-separated-tokens/index.js +74 -0
  1126. package/dist/node_modules/comma-separated-tokens/package.json +72 -0
  1127. package/dist/node_modules/detect-libc/lib/detect-libc.js +313 -0
  1128. package/dist/node_modules/detect-libc/lib/elf.js +39 -0
  1129. package/dist/node_modules/detect-libc/lib/filesystem.js +51 -0
  1130. package/dist/node_modules/detect-libc/lib/process.js +24 -0
  1131. package/dist/node_modules/detect-libc/package.json +44 -0
  1132. package/dist/node_modules/hast-util-to-html/index.js +8 -0
  1133. package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
  1134. package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
  1135. package/dist/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
  1136. package/dist/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
  1137. package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
  1138. package/dist/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
  1139. package/dist/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
  1140. package/dist/node_modules/hast-util-to-html/lib/index.js +257 -0
  1141. package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
  1142. package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
  1143. package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
  1144. package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
  1145. package/dist/node_modules/hast-util-to-html/package.json +106 -0
  1146. package/dist/node_modules/hast-util-whitespace/index.js +1 -0
  1147. package/dist/node_modules/hast-util-whitespace/lib/index.js +34 -0
  1148. package/dist/node_modules/hast-util-whitespace/package.json +83 -0
  1149. package/dist/node_modules/html-void-elements/index.js +27 -0
  1150. package/dist/node_modules/html-void-elements/package.json +79 -0
  1151. package/dist/node_modules/nanoid/non-secure/index.cjs +34 -0
  1152. package/dist/node_modules/nanoid/non-secure/package.json +6 -0
  1153. package/dist/node_modules/nanoid/package.json +89 -0
  1154. package/dist/node_modules/node-gyp-build/index.js +6 -0
  1155. package/dist/node_modules/node-gyp-build/node-gyp-build.js +207 -0
  1156. package/dist/node_modules/node-gyp-build/package.json +43 -0
  1157. package/dist/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
  1158. package/dist/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
  1159. package/dist/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
  1160. package/dist/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
  1161. package/dist/node_modules/oniguruma-parser/dist/utils.js +2 -0
  1162. package/dist/node_modules/oniguruma-parser/package.json +64 -0
  1163. package/dist/node_modules/oniguruma-to-es/dist/cjs/index.js +3146 -0
  1164. package/dist/node_modules/oniguruma-to-es/dist/cjs/package.json +1 -0
  1165. package/dist/node_modules/oniguruma-to-es/dist/esm/index.js +1876 -0
  1166. package/dist/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
  1167. package/dist/node_modules/oniguruma-to-es/package.json +61 -0
  1168. package/dist/node_modules/pg-cloudflare/dist/empty.js +6 -0
  1169. package/dist/node_modules/pg-cloudflare/dist/index.js +152 -0
  1170. package/dist/node_modules/pg-cloudflare/package.json +39 -0
  1171. package/dist/node_modules/pg-connection-string/index.js +231 -0
  1172. package/dist/node_modules/pg-connection-string/package.json +52 -0
  1173. package/dist/node_modules/pg-int8/index.js +100 -0
  1174. package/dist/node_modules/pg-int8/package.json +24 -0
  1175. package/dist/node_modules/pg-pool/index.js +481 -0
  1176. package/dist/node_modules/pg-pool/package.json +51 -0
  1177. package/dist/node_modules/pg-protocol/dist/buffer-reader.js +56 -0
  1178. package/dist/node_modules/pg-protocol/dist/buffer-writer.js +81 -0
  1179. package/dist/node_modules/pg-protocol/dist/index.js +15 -0
  1180. package/dist/node_modules/pg-protocol/dist/messages.js +160 -0
  1181. package/dist/node_modules/pg-protocol/dist/parser.js +324 -0
  1182. package/dist/node_modules/pg-protocol/dist/serializer.js +189 -0
  1183. package/dist/node_modules/pg-protocol/package.json +45 -0
  1184. package/dist/node_modules/pg-types/index.js +47 -0
  1185. package/dist/node_modules/pg-types/lib/arrayParser.js +11 -0
  1186. package/dist/node_modules/pg-types/lib/binaryParsers.js +257 -0
  1187. package/dist/node_modules/pg-types/lib/builtins.js +73 -0
  1188. package/dist/node_modules/pg-types/lib/textParsers.js +215 -0
  1189. package/dist/node_modules/pg-types/package.json +42 -0
  1190. package/dist/node_modules/pgpass/lib/helper.js +233 -0
  1191. package/dist/node_modules/pgpass/lib/index.js +23 -0
  1192. package/dist/node_modules/pgpass/package.json +41 -0
  1193. package/dist/node_modules/picocolors/package.json +25 -0
  1194. package/dist/node_modules/picocolors/picocolors.js +75 -0
  1195. package/dist/node_modules/postcss/lib/at-rule.js +25 -0
  1196. package/dist/node_modules/postcss/lib/comment.js +13 -0
  1197. package/dist/node_modules/postcss/lib/container.js +439 -0
  1198. package/dist/node_modules/postcss/lib/css-syntax-error.js +100 -0
  1199. package/dist/node_modules/postcss/lib/declaration.js +24 -0
  1200. package/dist/node_modules/postcss/lib/document.js +33 -0
  1201. package/dist/node_modules/postcss/lib/fromJSON.js +54 -0
  1202. package/dist/node_modules/postcss/lib/input.js +248 -0
  1203. package/dist/node_modules/postcss/lib/lazy-result.js +550 -0
  1204. package/dist/node_modules/postcss/lib/list.js +58 -0
  1205. package/dist/node_modules/postcss/lib/map-generator.js +359 -0
  1206. package/dist/node_modules/postcss/lib/no-work-result.js +135 -0
  1207. package/dist/node_modules/postcss/lib/node.js +381 -0
  1208. package/dist/node_modules/postcss/lib/parse.js +42 -0
  1209. package/dist/node_modules/postcss/lib/parser.js +610 -0
  1210. package/dist/node_modules/postcss/lib/postcss.js +101 -0
  1211. package/dist/node_modules/postcss/lib/previous-map.js +142 -0
  1212. package/dist/node_modules/postcss/lib/processor.js +67 -0
  1213. package/dist/node_modules/postcss/lib/result.js +42 -0
  1214. package/dist/node_modules/postcss/lib/root.js +61 -0
  1215. package/dist/node_modules/postcss/lib/rule.js +27 -0
  1216. package/dist/node_modules/postcss/lib/stringifier.js +353 -0
  1217. package/dist/node_modules/postcss/lib/stringify.js +11 -0
  1218. package/dist/node_modules/postcss/lib/symbols.js +5 -0
  1219. package/dist/node_modules/postcss/lib/terminal-highlight.js +70 -0
  1220. package/dist/node_modules/postcss/lib/tokenize.js +266 -0
  1221. package/dist/node_modules/postcss/lib/warn-once.js +13 -0
  1222. package/dist/node_modules/postcss/lib/warning.js +37 -0
  1223. package/dist/node_modules/postcss/package.json +88 -0
  1224. package/dist/node_modules/postgres-array/index.js +97 -0
  1225. package/dist/node_modules/postgres-array/package.json +35 -0
  1226. package/dist/node_modules/postgres-bytea/index.js +33 -0
  1227. package/dist/node_modules/postgres-bytea/package.json +34 -0
  1228. package/dist/node_modules/postgres-date/index.js +116 -0
  1229. package/dist/node_modules/postgres-date/package.json +33 -0
  1230. package/dist/node_modules/postgres-interval/index.js +125 -0
  1231. package/dist/node_modules/postgres-interval/package.json +36 -0
  1232. package/dist/node_modules/property-information/index.js +17 -0
  1233. package/dist/node_modules/property-information/lib/aria.js +61 -0
  1234. package/dist/node_modules/property-information/lib/find.js +97 -0
  1235. package/dist/node_modules/property-information/lib/hast-to-react.js +30 -0
  1236. package/dist/node_modules/property-information/lib/html.js +322 -0
  1237. package/dist/node_modules/property-information/lib/normalize.js +12 -0
  1238. package/dist/node_modules/property-information/lib/svg.js +567 -0
  1239. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +13 -0
  1240. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +11 -0
  1241. package/dist/node_modules/property-information/lib/util/create.js +69 -0
  1242. package/dist/node_modules/property-information/lib/util/defined-info.js +60 -0
  1243. package/dist/node_modules/property-information/lib/util/info.js +32 -0
  1244. package/dist/node_modules/property-information/lib/util/merge.js +27 -0
  1245. package/dist/node_modules/property-information/lib/util/schema.js +29 -0
  1246. package/dist/node_modules/property-information/lib/util/types.js +13 -0
  1247. package/dist/node_modules/property-information/lib/xlink.js +17 -0
  1248. package/dist/node_modules/property-information/lib/xml.js +9 -0
  1249. package/dist/node_modules/property-information/lib/xmlns.js +9 -0
  1250. package/dist/node_modules/property-information/package.json +121 -0
  1251. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +9877 -0
  1252. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +6603 -0
  1253. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +6692 -0
  1254. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +10601 -0
  1255. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.js +7410 -0
  1256. package/dist/node_modules/react-dom/cjs/react-dom-server.edge.development.js +10620 -0
  1257. package/dist/node_modules/react-dom/cjs/react-dom-server.edge.production.js +7512 -0
  1258. package/dist/node_modules/react-dom/cjs/react-dom-server.node.production.js +7707 -0
  1259. package/dist/node_modules/react-dom/cjs/react-dom.development.js +424 -0
  1260. package/dist/node_modules/react-dom/cjs/react-dom.production.js +210 -0
  1261. package/dist/node_modules/react-dom/index.js +38 -0
  1262. package/dist/node_modules/react-dom/package.json +117 -0
  1263. package/dist/node_modules/react-dom/server.browser.js +16 -0
  1264. package/dist/node_modules/react-dom/server.edge.js +17 -0
  1265. package/dist/node_modules/react-dom/server.js +3 -0
  1266. package/dist/node_modules/react-dom/server.node.js +18 -0
  1267. package/dist/node_modules/react-dom/static.js +3 -0
  1268. package/dist/node_modules/react-dom/static.node.js +14 -0
  1269. package/dist/node_modules/regex/package.json +60 -0
  1270. package/dist/node_modules/regex/src/atomic.js +224 -0
  1271. package/dist/node_modules/regex/src/internals.js +2 -0
  1272. package/dist/node_modules/regex/src/subclass.js +98 -0
  1273. package/dist/node_modules/regex/src/utils-internals.js +33 -0
  1274. package/dist/node_modules/regex-recursion/package.json +47 -0
  1275. package/dist/node_modules/regex-recursion/src/index.js +365 -0
  1276. package/dist/node_modules/regex-utilities/package.json +35 -0
  1277. package/dist/node_modules/regex-utilities/src/index.js +170 -0
  1278. package/dist/node_modules/semver/classes/comparator.js +143 -0
  1279. package/dist/node_modules/semver/classes/range.js +557 -0
  1280. package/dist/node_modules/semver/classes/semver.js +333 -0
  1281. package/dist/node_modules/semver/functions/cmp.js +54 -0
  1282. package/dist/node_modules/semver/functions/coerce.js +62 -0
  1283. package/dist/node_modules/semver/functions/compare.js +7 -0
  1284. package/dist/node_modules/semver/functions/eq.js +5 -0
  1285. package/dist/node_modules/semver/functions/gt.js +5 -0
  1286. package/dist/node_modules/semver/functions/gte.js +5 -0
  1287. package/dist/node_modules/semver/functions/lt.js +5 -0
  1288. package/dist/node_modules/semver/functions/lte.js +5 -0
  1289. package/dist/node_modules/semver/functions/neq.js +5 -0
  1290. package/dist/node_modules/semver/functions/parse.js +18 -0
  1291. package/dist/node_modules/semver/functions/satisfies.js +12 -0
  1292. package/dist/node_modules/semver/internal/constants.js +37 -0
  1293. package/dist/node_modules/semver/internal/debug.js +11 -0
  1294. package/dist/node_modules/semver/internal/identifiers.js +29 -0
  1295. package/dist/node_modules/semver/internal/lrucache.js +42 -0
  1296. package/dist/node_modules/semver/internal/parse-options.js +17 -0
  1297. package/dist/node_modules/semver/internal/re.js +223 -0
  1298. package/dist/node_modules/semver/package.json +78 -0
  1299. package/dist/node_modules/sharp/lib/channel.js +177 -0
  1300. package/dist/node_modules/sharp/lib/colour.js +195 -0
  1301. package/dist/node_modules/sharp/lib/composite.js +212 -0
  1302. package/dist/node_modules/sharp/lib/constructor.js +499 -0
  1303. package/dist/node_modules/sharp/lib/index.js +16 -0
  1304. package/dist/node_modules/sharp/lib/input.js +809 -0
  1305. package/dist/node_modules/sharp/lib/is.js +143 -0
  1306. package/dist/node_modules/sharp/lib/libvips.js +207 -0
  1307. package/dist/node_modules/sharp/lib/operation.js +1016 -0
  1308. package/dist/node_modules/sharp/lib/output.js +1666 -0
  1309. package/dist/node_modules/sharp/lib/resize.js +595 -0
  1310. package/dist/node_modules/sharp/lib/sharp.js +121 -0
  1311. package/dist/node_modules/sharp/lib/utility.js +291 -0
  1312. package/dist/node_modules/sharp/package.json +202 -0
  1313. package/dist/node_modules/source-map-js/lib/array-set.js +121 -0
  1314. package/dist/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  1315. package/dist/node_modules/source-map-js/lib/base64.js +67 -0
  1316. package/dist/node_modules/source-map-js/lib/binary-search.js +111 -0
  1317. package/dist/node_modules/source-map-js/lib/mapping-list.js +79 -0
  1318. package/dist/node_modules/source-map-js/lib/quick-sort.js +132 -0
  1319. package/dist/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  1320. package/dist/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  1321. package/dist/node_modules/source-map-js/lib/source-node.js +413 -0
  1322. package/dist/node_modules/source-map-js/lib/util.js +594 -0
  1323. package/dist/node_modules/source-map-js/package.json +71 -0
  1324. package/dist/node_modules/source-map-js/source-map.js +8 -0
  1325. package/dist/node_modules/space-separated-tokens/index.js +24 -0
  1326. package/dist/node_modules/space-separated-tokens/package.json +67 -0
  1327. package/dist/node_modules/split2/index.js +141 -0
  1328. package/dist/node_modules/split2/package.json +39 -0
  1329. package/dist/node_modules/stringify-entities/index.js +6 -0
  1330. package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
  1331. package/dist/node_modules/stringify-entities/lib/core.js +117 -0
  1332. package/dist/node_modules/stringify-entities/lib/index.js +36 -0
  1333. package/dist/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
  1334. package/dist/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
  1335. package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
  1336. package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
  1337. package/dist/node_modules/stringify-entities/lib/util/to-named.js +57 -0
  1338. package/dist/node_modules/stringify-entities/package.json +86 -0
  1339. package/dist/node_modules/styled-jsx/dist/index/index.js +499 -0
  1340. package/dist/node_modules/styled-jsx/index.js +1 -0
  1341. package/dist/node_modules/styled-jsx/package.json +132 -0
  1342. package/dist/node_modules/styled-jsx/style.js +1 -0
  1343. package/dist/node_modules/xtend/mutable.js +17 -0
  1344. package/dist/node_modules/xtend/package.json +55 -0
  1345. package/dist/node_modules/zwitch/index.js +118 -0
  1346. package/dist/node_modules/zwitch/package.json +72 -0
  1347. package/package.json +1 -1
  1348. /package/dist/.next/static/{SoceN9ZjJB6Xr18CQCupk → xhu9AXYQyz0Y3okpowwwf}/_buildManifest.js +0 -0
  1349. /package/dist/.next/static/{SoceN9ZjJB6Xr18CQCupk → xhu9AXYQyz0Y3okpowwwf}/_ssgManifest.js +0 -0
@@ -0,0 +1,1666 @@
1
+ /*!
2
+ Copyright 2013 Lovell Fuller and others.
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ const path = require('node:path');
7
+ const is = require('./is');
8
+ const sharp = require('./sharp');
9
+
10
+ const formats = new Map([
11
+ ['heic', 'heif'],
12
+ ['heif', 'heif'],
13
+ ['avif', 'avif'],
14
+ ['jpeg', 'jpeg'],
15
+ ['jpg', 'jpeg'],
16
+ ['jpe', 'jpeg'],
17
+ ['tile', 'tile'],
18
+ ['dz', 'tile'],
19
+ ['png', 'png'],
20
+ ['raw', 'raw'],
21
+ ['tiff', 'tiff'],
22
+ ['tif', 'tiff'],
23
+ ['webp', 'webp'],
24
+ ['gif', 'gif'],
25
+ ['jp2', 'jp2'],
26
+ ['jpx', 'jp2'],
27
+ ['j2k', 'jp2'],
28
+ ['j2c', 'jp2'],
29
+ ['jxl', 'jxl']
30
+ ]);
31
+
32
+ const jp2Regex = /\.(jp[2x]|j2[kc])$/i;
33
+
34
+ const errJp2Save = () => new Error('JP2 output requires libvips with support for OpenJPEG');
35
+
36
+ const bitdepthFromColourCount = (colours) => 1 << 31 - Math.clz32(Math.ceil(Math.log2(colours)));
37
+
38
+ /**
39
+ * Write output image data to a file.
40
+ *
41
+ * If an explicit output format is not selected, it will be inferred from the extension,
42
+ * with JPEG, PNG, WebP, AVIF, TIFF, GIF, DZI, and libvips' V format supported.
43
+ * Note that raw pixel data is only supported for buffer output.
44
+ *
45
+ * By default all metadata will be removed, which includes EXIF-based orientation.
46
+ * See {@link #withmetadata withMetadata} for control over this.
47
+ *
48
+ * The caller is responsible for ensuring directory structures and permissions exist.
49
+ *
50
+ * A `Promise` is returned when `callback` is not provided.
51
+ *
52
+ * @example
53
+ * sharp(input)
54
+ * .toFile('output.png', (err, info) => { ... });
55
+ *
56
+ * @example
57
+ * sharp(input)
58
+ * .toFile('output.png')
59
+ * .then(info => { ... })
60
+ * .catch(err => { ... });
61
+ *
62
+ * @param {string} fileOut - the path to write the image data to.
63
+ * @param {Function} [callback] - called on completion with two arguments `(err, info)`.
64
+ * `info` contains the output image `format`, `size` (bytes), `width`, `height`,
65
+ * `channels` and `premultiplied` (indicating if premultiplication was used).
66
+ * When using a crop strategy also contains `cropOffsetLeft` and `cropOffsetTop`.
67
+ * When using the attention crop strategy also contains `attentionX` and `attentionY`, the focal point of the cropped region.
68
+ * Animated output will also contain `pageHeight` and `pages`.
69
+ * May also contain `textAutofitDpi` (dpi the font was rendered at) if image was created from text.
70
+ * @returns {Promise<Object>} - when no callback is provided
71
+ * @throws {Error} Invalid parameters
72
+ */
73
+ function toFile (fileOut, callback) {
74
+ let err;
75
+ if (!is.string(fileOut)) {
76
+ err = new Error('Missing output file path');
77
+ } else if (is.string(this.options.input.file) && path.resolve(this.options.input.file) === path.resolve(fileOut)) {
78
+ err = new Error('Cannot use same file for input and output');
79
+ } else if (jp2Regex.test(path.extname(fileOut)) && !this.constructor.format.jp2k.output.file) {
80
+ err = errJp2Save();
81
+ }
82
+ if (err) {
83
+ if (is.fn(callback)) {
84
+ callback(err);
85
+ } else {
86
+ return Promise.reject(err);
87
+ }
88
+ } else {
89
+ this.options.fileOut = fileOut;
90
+ const stack = Error();
91
+ return this._pipeline(callback, stack);
92
+ }
93
+ return this;
94
+ }
95
+
96
+ /**
97
+ * Write output to a Buffer.
98
+ * JPEG, PNG, WebP, AVIF, TIFF, GIF and raw pixel data output are supported.
99
+ *
100
+ * Use {@link #toformat toFormat} or one of the format-specific functions such as {@link #jpeg jpeg}, {@link #png png} etc. to set the output format.
101
+ *
102
+ * If no explicit format is set, the output format will match the input image, except SVG input which becomes PNG output.
103
+ *
104
+ * By default all metadata will be removed, which includes EXIF-based orientation.
105
+ * See {@link #withmetadata withMetadata} for control over this.
106
+ *
107
+ * `callback`, if present, gets three arguments `(err, data, info)` where:
108
+ * - `err` is an error, if any.
109
+ * - `data` is the output image data.
110
+ * - `info` contains the output image `format`, `size` (bytes), `width`, `height`,
111
+ * `channels` and `premultiplied` (indicating if premultiplication was used).
112
+ * When using a crop strategy also contains `cropOffsetLeft` and `cropOffsetTop`.
113
+ * Animated output will also contain `pageHeight` and `pages`.
114
+ * May also contain `textAutofitDpi` (dpi the font was rendered at) if image was created from text.
115
+ *
116
+ * A `Promise` is returned when `callback` is not provided.
117
+ *
118
+ * @example
119
+ * sharp(input)
120
+ * .toBuffer((err, data, info) => { ... });
121
+ *
122
+ * @example
123
+ * sharp(input)
124
+ * .toBuffer()
125
+ * .then(data => { ... })
126
+ * .catch(err => { ... });
127
+ *
128
+ * @example
129
+ * sharp(input)
130
+ * .png()
131
+ * .toBuffer({ resolveWithObject: true })
132
+ * .then(({ data, info }) => { ... })
133
+ * .catch(err => { ... });
134
+ *
135
+ * @example
136
+ * const { data, info } = await sharp('my-image.jpg')
137
+ * // output the raw pixels
138
+ * .raw()
139
+ * .toBuffer({ resolveWithObject: true });
140
+ *
141
+ * // create a more type safe way to work with the raw pixel data
142
+ * // this will not copy the data, instead it will change `data`s underlying ArrayBuffer
143
+ * // so `data` and `pixelArray` point to the same memory location
144
+ * const pixelArray = new Uint8ClampedArray(data.buffer);
145
+ *
146
+ * // When you are done changing the pixelArray, sharp takes the `pixelArray` as an input
147
+ * const { width, height, channels } = info;
148
+ * await sharp(pixelArray, { raw: { width, height, channels } })
149
+ * .toFile('my-changed-image.jpg');
150
+ *
151
+ * @param {Object} [options]
152
+ * @param {boolean} [options.resolveWithObject] Resolve the Promise with an Object containing `data` and `info` properties instead of resolving only with `data`.
153
+ * @param {Function} [callback]
154
+ * @returns {Promise<Buffer>} - when no callback is provided
155
+ */
156
+ function toBuffer (options, callback) {
157
+ if (is.object(options)) {
158
+ this._setBooleanOption('resolveWithObject', options.resolveWithObject);
159
+ } else if (this.options.resolveWithObject) {
160
+ this.options.resolveWithObject = false;
161
+ }
162
+ this.options.fileOut = '';
163
+ const stack = Error();
164
+ return this._pipeline(is.fn(options) ? options : callback, stack);
165
+ }
166
+
167
+ /**
168
+ * Keep all EXIF metadata from the input image in the output image.
169
+ *
170
+ * EXIF metadata is unsupported for TIFF output.
171
+ *
172
+ * @since 0.33.0
173
+ *
174
+ * @example
175
+ * const outputWithExif = await sharp(inputWithExif)
176
+ * .keepExif()
177
+ * .toBuffer();
178
+ *
179
+ * @returns {Sharp}
180
+ */
181
+ function keepExif () {
182
+ this.options.keepMetadata |= 0b00001;
183
+ return this;
184
+ }
185
+
186
+ /**
187
+ * Set EXIF metadata in the output image, ignoring any EXIF in the input image.
188
+ *
189
+ * @since 0.33.0
190
+ *
191
+ * @example
192
+ * const dataWithExif = await sharp(input)
193
+ * .withExif({
194
+ * IFD0: {
195
+ * Copyright: 'The National Gallery'
196
+ * },
197
+ * IFD3: {
198
+ * GPSLatitudeRef: 'N',
199
+ * GPSLatitude: '51/1 30/1 3230/100',
200
+ * GPSLongitudeRef: 'W',
201
+ * GPSLongitude: '0/1 7/1 4366/100'
202
+ * }
203
+ * })
204
+ * .toBuffer();
205
+ *
206
+ * @param {Object<string, Object<string, string>>} exif Object keyed by IFD0, IFD1 etc. of key/value string pairs to write as EXIF data.
207
+ * @returns {Sharp}
208
+ * @throws {Error} Invalid parameters
209
+ */
210
+ function withExif (exif) {
211
+ if (is.object(exif)) {
212
+ for (const [ifd, entries] of Object.entries(exif)) {
213
+ if (is.object(entries)) {
214
+ for (const [k, v] of Object.entries(entries)) {
215
+ if (is.string(v)) {
216
+ this.options.withExif[`exif-${ifd.toLowerCase()}-${k}`] = v;
217
+ } else {
218
+ throw is.invalidParameterError(`${ifd}.${k}`, 'string', v);
219
+ }
220
+ }
221
+ } else {
222
+ throw is.invalidParameterError(ifd, 'object', entries);
223
+ }
224
+ }
225
+ } else {
226
+ throw is.invalidParameterError('exif', 'object', exif);
227
+ }
228
+ this.options.withExifMerge = false;
229
+ return this.keepExif();
230
+ }
231
+
232
+ /**
233
+ * Update EXIF metadata from the input image in the output image.
234
+ *
235
+ * @since 0.33.0
236
+ *
237
+ * @example
238
+ * const dataWithMergedExif = await sharp(inputWithExif)
239
+ * .withExifMerge({
240
+ * IFD0: {
241
+ * Copyright: 'The National Gallery'
242
+ * }
243
+ * })
244
+ * .toBuffer();
245
+ *
246
+ * @param {Object<string, Object<string, string>>} exif Object keyed by IFD0, IFD1 etc. of key/value string pairs to write as EXIF data.
247
+ * @returns {Sharp}
248
+ * @throws {Error} Invalid parameters
249
+ */
250
+ function withExifMerge (exif) {
251
+ this.withExif(exif);
252
+ this.options.withExifMerge = true;
253
+ return this;
254
+ }
255
+
256
+ /**
257
+ * Keep ICC profile from the input image in the output image.
258
+ *
259
+ * When input and output colour spaces differ, use with {@link /api-colour/#tocolourspace toColourspace} and optionally {@link /api-colour/#pipelinecolourspace pipelineColourspace}.
260
+ *
261
+ * @since 0.33.0
262
+ *
263
+ * @example
264
+ * const outputWithIccProfile = await sharp(inputWithIccProfile)
265
+ * .keepIccProfile()
266
+ * .toBuffer();
267
+ *
268
+ * @example
269
+ * const cmykOutputWithIccProfile = await sharp(cmykInputWithIccProfile)
270
+ * .pipelineColourspace('cmyk')
271
+ * .toColourspace('cmyk')
272
+ * .keepIccProfile()
273
+ * .toBuffer();
274
+ *
275
+ * @returns {Sharp}
276
+ */
277
+ function keepIccProfile () {
278
+ this.options.keepMetadata |= 0b01000;
279
+ return this;
280
+ }
281
+
282
+ /**
283
+ * Transform using an ICC profile and attach to the output image.
284
+ *
285
+ * This can either be an absolute filesystem path or
286
+ * built-in profile name (`srgb`, `p3`, `cmyk`).
287
+ *
288
+ * @since 0.33.0
289
+ *
290
+ * @example
291
+ * const outputWithP3 = await sharp(input)
292
+ * .withIccProfile('p3')
293
+ * .toBuffer();
294
+ *
295
+ * @param {string} icc - Absolute filesystem path to output ICC profile or built-in profile name (srgb, p3, cmyk).
296
+ * @param {Object} [options]
297
+ * @param {number} [options.attach=true] Should the ICC profile be included in the output image metadata?
298
+ * @returns {Sharp}
299
+ * @throws {Error} Invalid parameters
300
+ */
301
+ function withIccProfile (icc, options) {
302
+ if (is.string(icc)) {
303
+ this.options.withIccProfile = icc;
304
+ } else {
305
+ throw is.invalidParameterError('icc', 'string', icc);
306
+ }
307
+ this.keepIccProfile();
308
+ if (is.object(options)) {
309
+ if (is.defined(options.attach)) {
310
+ if (is.bool(options.attach)) {
311
+ if (!options.attach) {
312
+ this.options.keepMetadata &= ~0b01000;
313
+ }
314
+ } else {
315
+ throw is.invalidParameterError('attach', 'boolean', options.attach);
316
+ }
317
+ }
318
+ }
319
+ return this;
320
+ }
321
+
322
+ /**
323
+ * Keep XMP metadata from the input image in the output image.
324
+ *
325
+ * @since 0.34.3
326
+ *
327
+ * @example
328
+ * const outputWithXmp = await sharp(inputWithXmp)
329
+ * .keepXmp()
330
+ * .toBuffer();
331
+ *
332
+ * @returns {Sharp}
333
+ */
334
+ function keepXmp () {
335
+ this.options.keepMetadata |= 0b00010;
336
+ return this;
337
+ }
338
+
339
+ /**
340
+ * Set XMP metadata in the output image.
341
+ *
342
+ * Supported by PNG, JPEG, WebP, and TIFF output.
343
+ *
344
+ * @since 0.34.3
345
+ *
346
+ * @example
347
+ * const xmpString = `
348
+ * <?xml version="1.0"?>
349
+ * <x:xmpmeta xmlns:x="adobe:ns:meta/">
350
+ * <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
351
+ * <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
352
+ * <dc:creator><rdf:Seq><rdf:li>John Doe</rdf:li></rdf:Seq></dc:creator>
353
+ * </rdf:Description>
354
+ * </rdf:RDF>
355
+ * </x:xmpmeta>`;
356
+ *
357
+ * const data = await sharp(input)
358
+ * .withXmp(xmpString)
359
+ * .toBuffer();
360
+ *
361
+ * @param {string} xmp String containing XMP metadata to be embedded in the output image.
362
+ * @returns {Sharp}
363
+ * @throws {Error} Invalid parameters
364
+ */
365
+ function withXmp (xmp) {
366
+ if (is.string(xmp) && xmp.length > 0) {
367
+ this.options.withXmp = xmp;
368
+ this.options.keepMetadata |= 0b00010;
369
+ } else {
370
+ throw is.invalidParameterError('xmp', 'non-empty string', xmp);
371
+ }
372
+ return this;
373
+ }
374
+
375
+ /**
376
+ * Keep all metadata (EXIF, ICC, XMP, IPTC) from the input image in the output image.
377
+ *
378
+ * The default behaviour, when `keepMetadata` is not used, is to convert to the device-independent
379
+ * sRGB colour space and strip all metadata, including the removal of any ICC profile.
380
+ *
381
+ * @since 0.33.0
382
+ *
383
+ * @example
384
+ * const outputWithMetadata = await sharp(inputWithMetadata)
385
+ * .keepMetadata()
386
+ * .toBuffer();
387
+ *
388
+ * @returns {Sharp}
389
+ */
390
+ function keepMetadata () {
391
+ this.options.keepMetadata = 0b11111;
392
+ return this;
393
+ }
394
+
395
+ /**
396
+ * Keep most metadata (EXIF, XMP, IPTC) from the input image in the output image.
397
+ *
398
+ * This will also convert to and add a web-friendly sRGB ICC profile if appropriate.
399
+ *
400
+ * Allows orientation and density to be set or updated.
401
+ *
402
+ * @example
403
+ * const outputSrgbWithMetadata = await sharp(inputRgbWithMetadata)
404
+ * .withMetadata()
405
+ * .toBuffer();
406
+ *
407
+ * @example
408
+ * // Set output metadata to 96 DPI
409
+ * const data = await sharp(input)
410
+ * .withMetadata({ density: 96 })
411
+ * .toBuffer();
412
+ *
413
+ * @param {Object} [options]
414
+ * @param {number} [options.orientation] Used to update the EXIF `Orientation` tag, integer between 1 and 8.
415
+ * @param {number} [options.density] Number of pixels per inch (DPI).
416
+ * @returns {Sharp}
417
+ * @throws {Error} Invalid parameters
418
+ */
419
+ function withMetadata (options) {
420
+ this.keepMetadata();
421
+ this.withIccProfile('srgb');
422
+ if (is.object(options)) {
423
+ if (is.defined(options.orientation)) {
424
+ if (is.integer(options.orientation) && is.inRange(options.orientation, 1, 8)) {
425
+ this.options.withMetadataOrientation = options.orientation;
426
+ } else {
427
+ throw is.invalidParameterError('orientation', 'integer between 1 and 8', options.orientation);
428
+ }
429
+ }
430
+ if (is.defined(options.density)) {
431
+ if (is.number(options.density) && options.density > 0) {
432
+ this.options.withMetadataDensity = options.density;
433
+ } else {
434
+ throw is.invalidParameterError('density', 'positive number', options.density);
435
+ }
436
+ }
437
+ if (is.defined(options.icc)) {
438
+ this.withIccProfile(options.icc);
439
+ }
440
+ if (is.defined(options.exif)) {
441
+ this.withExifMerge(options.exif);
442
+ }
443
+ }
444
+ return this;
445
+ }
446
+
447
+ /**
448
+ * Force output to a given format.
449
+ *
450
+ * @example
451
+ * // Convert any input to PNG output
452
+ * const data = await sharp(input)
453
+ * .toFormat('png')
454
+ * .toBuffer();
455
+ *
456
+ * @param {(string|Object)} format - as a string or an Object with an 'id' attribute
457
+ * @param {Object} options - output options
458
+ * @returns {Sharp}
459
+ * @throws {Error} unsupported format or options
460
+ */
461
+ function toFormat (format, options) {
462
+ const actualFormat = formats.get((is.object(format) && is.string(format.id) ? format.id : format).toLowerCase());
463
+ if (!actualFormat) {
464
+ throw is.invalidParameterError('format', `one of: ${[...formats.keys()].join(', ')}`, format);
465
+ }
466
+ return this[actualFormat](options);
467
+ }
468
+
469
+ /**
470
+ * Use these JPEG options for output image.
471
+ *
472
+ * @example
473
+ * // Convert any input to very high quality JPEG output
474
+ * const data = await sharp(input)
475
+ * .jpeg({
476
+ * quality: 100,
477
+ * chromaSubsampling: '4:4:4'
478
+ * })
479
+ * .toBuffer();
480
+ *
481
+ * @example
482
+ * // Use mozjpeg to reduce output JPEG file size (slower)
483
+ * const data = await sharp(input)
484
+ * .jpeg({ mozjpeg: true })
485
+ * .toBuffer();
486
+ *
487
+ * @param {Object} [options] - output options
488
+ * @param {number} [options.quality=80] - quality, integer 1-100
489
+ * @param {boolean} [options.progressive=false] - use progressive (interlace) scan
490
+ * @param {string} [options.chromaSubsampling='4:2:0'] - set to '4:4:4' to prevent chroma subsampling otherwise defaults to '4:2:0' chroma subsampling
491
+ * @param {boolean} [options.optimiseCoding=true] - optimise Huffman coding tables
492
+ * @param {boolean} [options.optimizeCoding=true] - alternative spelling of optimiseCoding
493
+ * @param {boolean} [options.mozjpeg=false] - use mozjpeg defaults, equivalent to `{ trellisQuantisation: true, overshootDeringing: true, optimiseScans: true, quantisationTable: 3 }`
494
+ * @param {boolean} [options.trellisQuantisation=false] - apply trellis quantisation
495
+ * @param {boolean} [options.overshootDeringing=false] - apply overshoot deringing
496
+ * @param {boolean} [options.optimiseScans=false] - optimise progressive scans, forces progressive
497
+ * @param {boolean} [options.optimizeScans=false] - alternative spelling of optimiseScans
498
+ * @param {number} [options.quantisationTable=0] - quantization table to use, integer 0-8
499
+ * @param {number} [options.quantizationTable=0] - alternative spelling of quantisationTable
500
+ * @param {boolean} [options.force=true] - force JPEG output, otherwise attempt to use input format
501
+ * @returns {Sharp}
502
+ * @throws {Error} Invalid options
503
+ */
504
+ function jpeg (options) {
505
+ if (is.object(options)) {
506
+ if (is.defined(options.quality)) {
507
+ if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
508
+ this.options.jpegQuality = options.quality;
509
+ } else {
510
+ throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
511
+ }
512
+ }
513
+ if (is.defined(options.progressive)) {
514
+ this._setBooleanOption('jpegProgressive', options.progressive);
515
+ }
516
+ if (is.defined(options.chromaSubsampling)) {
517
+ if (is.string(options.chromaSubsampling) && is.inArray(options.chromaSubsampling, ['4:2:0', '4:4:4'])) {
518
+ this.options.jpegChromaSubsampling = options.chromaSubsampling;
519
+ } else {
520
+ throw is.invalidParameterError('chromaSubsampling', 'one of: 4:2:0, 4:4:4', options.chromaSubsampling);
521
+ }
522
+ }
523
+ const optimiseCoding = is.bool(options.optimizeCoding) ? options.optimizeCoding : options.optimiseCoding;
524
+ if (is.defined(optimiseCoding)) {
525
+ this._setBooleanOption('jpegOptimiseCoding', optimiseCoding);
526
+ }
527
+ if (is.defined(options.mozjpeg)) {
528
+ if (is.bool(options.mozjpeg)) {
529
+ if (options.mozjpeg) {
530
+ this.options.jpegTrellisQuantisation = true;
531
+ this.options.jpegOvershootDeringing = true;
532
+ this.options.jpegOptimiseScans = true;
533
+ this.options.jpegProgressive = true;
534
+ this.options.jpegQuantisationTable = 3;
535
+ }
536
+ } else {
537
+ throw is.invalidParameterError('mozjpeg', 'boolean', options.mozjpeg);
538
+ }
539
+ }
540
+ const trellisQuantisation = is.bool(options.trellisQuantization) ? options.trellisQuantization : options.trellisQuantisation;
541
+ if (is.defined(trellisQuantisation)) {
542
+ this._setBooleanOption('jpegTrellisQuantisation', trellisQuantisation);
543
+ }
544
+ if (is.defined(options.overshootDeringing)) {
545
+ this._setBooleanOption('jpegOvershootDeringing', options.overshootDeringing);
546
+ }
547
+ const optimiseScans = is.bool(options.optimizeScans) ? options.optimizeScans : options.optimiseScans;
548
+ if (is.defined(optimiseScans)) {
549
+ this._setBooleanOption('jpegOptimiseScans', optimiseScans);
550
+ if (optimiseScans) {
551
+ this.options.jpegProgressive = true;
552
+ }
553
+ }
554
+ const quantisationTable = is.number(options.quantizationTable) ? options.quantizationTable : options.quantisationTable;
555
+ if (is.defined(quantisationTable)) {
556
+ if (is.integer(quantisationTable) && is.inRange(quantisationTable, 0, 8)) {
557
+ this.options.jpegQuantisationTable = quantisationTable;
558
+ } else {
559
+ throw is.invalidParameterError('quantisationTable', 'integer between 0 and 8', quantisationTable);
560
+ }
561
+ }
562
+ }
563
+ return this._updateFormatOut('jpeg', options);
564
+ }
565
+
566
+ /**
567
+ * Use these PNG options for output image.
568
+ *
569
+ * By default, PNG output is full colour at 8 bits per pixel.
570
+ *
571
+ * Indexed PNG input at 1, 2 or 4 bits per pixel is converted to 8 bits per pixel.
572
+ * Set `palette` to `true` for slower, indexed PNG output.
573
+ *
574
+ * For 16 bits per pixel output, convert to `rgb16` via
575
+ * {@link /api-colour/#tocolourspace toColourspace}.
576
+ *
577
+ * @example
578
+ * // Convert any input to full colour PNG output
579
+ * const data = await sharp(input)
580
+ * .png()
581
+ * .toBuffer();
582
+ *
583
+ * @example
584
+ * // Convert any input to indexed PNG output (slower)
585
+ * const data = await sharp(input)
586
+ * .png({ palette: true })
587
+ * .toBuffer();
588
+ *
589
+ * @example
590
+ * // Output 16 bits per pixel RGB(A)
591
+ * const data = await sharp(input)
592
+ * .toColourspace('rgb16')
593
+ * .png()
594
+ * .toBuffer();
595
+ *
596
+ * @param {Object} [options]
597
+ * @param {boolean} [options.progressive=false] - use progressive (interlace) scan
598
+ * @param {number} [options.compressionLevel=6] - zlib compression level, 0 (fastest, largest) to 9 (slowest, smallest)
599
+ * @param {boolean} [options.adaptiveFiltering=false] - use adaptive row filtering
600
+ * @param {boolean} [options.palette=false] - quantise to a palette-based image with alpha transparency support
601
+ * @param {number} [options.quality=100] - use the lowest number of colours needed to achieve given quality, sets `palette` to `true`
602
+ * @param {number} [options.effort=7] - CPU effort, between 1 (fastest) and 10 (slowest), sets `palette` to `true`
603
+ * @param {number} [options.colours=256] - maximum number of palette entries, sets `palette` to `true`
604
+ * @param {number} [options.colors=256] - alternative spelling of `options.colours`, sets `palette` to `true`
605
+ * @param {number} [options.dither=1.0] - level of Floyd-Steinberg error diffusion, sets `palette` to `true`
606
+ * @param {boolean} [options.force=true] - force PNG output, otherwise attempt to use input format
607
+ * @returns {Sharp}
608
+ * @throws {Error} Invalid options
609
+ */
610
+ function png (options) {
611
+ if (is.object(options)) {
612
+ if (is.defined(options.progressive)) {
613
+ this._setBooleanOption('pngProgressive', options.progressive);
614
+ }
615
+ if (is.defined(options.compressionLevel)) {
616
+ if (is.integer(options.compressionLevel) && is.inRange(options.compressionLevel, 0, 9)) {
617
+ this.options.pngCompressionLevel = options.compressionLevel;
618
+ } else {
619
+ throw is.invalidParameterError('compressionLevel', 'integer between 0 and 9', options.compressionLevel);
620
+ }
621
+ }
622
+ if (is.defined(options.adaptiveFiltering)) {
623
+ this._setBooleanOption('pngAdaptiveFiltering', options.adaptiveFiltering);
624
+ }
625
+ const colours = options.colours || options.colors;
626
+ if (is.defined(colours)) {
627
+ if (is.integer(colours) && is.inRange(colours, 2, 256)) {
628
+ this.options.pngBitdepth = bitdepthFromColourCount(colours);
629
+ } else {
630
+ throw is.invalidParameterError('colours', 'integer between 2 and 256', colours);
631
+ }
632
+ }
633
+ if (is.defined(options.palette)) {
634
+ this._setBooleanOption('pngPalette', options.palette);
635
+ } else if ([options.quality, options.effort, options.colours, options.colors, options.dither].some(is.defined)) {
636
+ this._setBooleanOption('pngPalette', true);
637
+ }
638
+ if (this.options.pngPalette) {
639
+ if (is.defined(options.quality)) {
640
+ if (is.integer(options.quality) && is.inRange(options.quality, 0, 100)) {
641
+ this.options.pngQuality = options.quality;
642
+ } else {
643
+ throw is.invalidParameterError('quality', 'integer between 0 and 100', options.quality);
644
+ }
645
+ }
646
+ if (is.defined(options.effort)) {
647
+ if (is.integer(options.effort) && is.inRange(options.effort, 1, 10)) {
648
+ this.options.pngEffort = options.effort;
649
+ } else {
650
+ throw is.invalidParameterError('effort', 'integer between 1 and 10', options.effort);
651
+ }
652
+ }
653
+ if (is.defined(options.dither)) {
654
+ if (is.number(options.dither) && is.inRange(options.dither, 0, 1)) {
655
+ this.options.pngDither = options.dither;
656
+ } else {
657
+ throw is.invalidParameterError('dither', 'number between 0.0 and 1.0', options.dither);
658
+ }
659
+ }
660
+ }
661
+ }
662
+ return this._updateFormatOut('png', options);
663
+ }
664
+
665
+ /**
666
+ * Use these WebP options for output image.
667
+ *
668
+ * @example
669
+ * // Convert any input to lossless WebP output
670
+ * const data = await sharp(input)
671
+ * .webp({ lossless: true })
672
+ * .toBuffer();
673
+ *
674
+ * @example
675
+ * // Optimise the file size of an animated WebP
676
+ * const outputWebp = await sharp(inputWebp, { animated: true })
677
+ * .webp({ effort: 6 })
678
+ * .toBuffer();
679
+ *
680
+ * @param {Object} [options] - output options
681
+ * @param {number} [options.quality=80] - quality, integer 1-100
682
+ * @param {number} [options.alphaQuality=100] - quality of alpha layer, integer 0-100
683
+ * @param {boolean} [options.lossless=false] - use lossless compression mode
684
+ * @param {boolean} [options.nearLossless=false] - use near_lossless compression mode
685
+ * @param {boolean} [options.smartSubsample=false] - use high quality chroma subsampling
686
+ * @param {boolean} [options.smartDeblock=false] - auto-adjust the deblocking filter, can improve low contrast edges (slow)
687
+ * @param {string} [options.preset='default'] - named preset for preprocessing/filtering, one of: default, photo, picture, drawing, icon, text
688
+ * @param {number} [options.effort=4] - CPU effort, between 0 (fastest) and 6 (slowest)
689
+ * @param {number} [options.loop=0] - number of animation iterations, use 0 for infinite animation
690
+ * @param {number|number[]} [options.delay] - delay(s) between animation frames (in milliseconds)
691
+ * @param {boolean} [options.minSize=false] - prevent use of animation key frames to minimise file size (slow)
692
+ * @param {boolean} [options.mixed=false] - allow mixture of lossy and lossless animation frames (slow)
693
+ * @param {boolean} [options.force=true] - force WebP output, otherwise attempt to use input format
694
+ * @returns {Sharp}
695
+ * @throws {Error} Invalid options
696
+ */
697
+ function webp (options) {
698
+ if (is.object(options)) {
699
+ if (is.defined(options.quality)) {
700
+ if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
701
+ this.options.webpQuality = options.quality;
702
+ } else {
703
+ throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
704
+ }
705
+ }
706
+ if (is.defined(options.alphaQuality)) {
707
+ if (is.integer(options.alphaQuality) && is.inRange(options.alphaQuality, 0, 100)) {
708
+ this.options.webpAlphaQuality = options.alphaQuality;
709
+ } else {
710
+ throw is.invalidParameterError('alphaQuality', 'integer between 0 and 100', options.alphaQuality);
711
+ }
712
+ }
713
+ if (is.defined(options.lossless)) {
714
+ this._setBooleanOption('webpLossless', options.lossless);
715
+ }
716
+ if (is.defined(options.nearLossless)) {
717
+ this._setBooleanOption('webpNearLossless', options.nearLossless);
718
+ }
719
+ if (is.defined(options.smartSubsample)) {
720
+ this._setBooleanOption('webpSmartSubsample', options.smartSubsample);
721
+ }
722
+ if (is.defined(options.smartDeblock)) {
723
+ this._setBooleanOption('webpSmartDeblock', options.smartDeblock);
724
+ }
725
+ if (is.defined(options.preset)) {
726
+ if (is.string(options.preset) && is.inArray(options.preset, ['default', 'photo', 'picture', 'drawing', 'icon', 'text'])) {
727
+ this.options.webpPreset = options.preset;
728
+ } else {
729
+ throw is.invalidParameterError('preset', 'one of: default, photo, picture, drawing, icon, text', options.preset);
730
+ }
731
+ }
732
+ if (is.defined(options.effort)) {
733
+ if (is.integer(options.effort) && is.inRange(options.effort, 0, 6)) {
734
+ this.options.webpEffort = options.effort;
735
+ } else {
736
+ throw is.invalidParameterError('effort', 'integer between 0 and 6', options.effort);
737
+ }
738
+ }
739
+ if (is.defined(options.minSize)) {
740
+ this._setBooleanOption('webpMinSize', options.minSize);
741
+ }
742
+ if (is.defined(options.mixed)) {
743
+ this._setBooleanOption('webpMixed', options.mixed);
744
+ }
745
+ }
746
+ trySetAnimationOptions(options, this.options);
747
+ return this._updateFormatOut('webp', options);
748
+ }
749
+
750
+ /**
751
+ * Use these GIF options for the output image.
752
+ *
753
+ * The first entry in the palette is reserved for transparency.
754
+ *
755
+ * The palette of the input image will be re-used if possible.
756
+ *
757
+ * @since 0.30.0
758
+ *
759
+ * @example
760
+ * // Convert PNG to GIF
761
+ * await sharp(pngBuffer)
762
+ * .gif()
763
+ * .toBuffer();
764
+ *
765
+ * @example
766
+ * // Convert animated WebP to animated GIF
767
+ * await sharp('animated.webp', { animated: true })
768
+ * .toFile('animated.gif');
769
+ *
770
+ * @example
771
+ * // Create a 128x128, cropped, non-dithered, animated thumbnail of an animated GIF
772
+ * const out = await sharp('in.gif', { animated: true })
773
+ * .resize({ width: 128, height: 128 })
774
+ * .gif({ dither: 0 })
775
+ * .toBuffer();
776
+ *
777
+ * @example
778
+ * // Lossy file size reduction of animated GIF
779
+ * await sharp('in.gif', { animated: true })
780
+ * .gif({ interFrameMaxError: 8 })
781
+ * .toFile('optim.gif');
782
+ *
783
+ * @param {Object} [options] - output options
784
+ * @param {boolean} [options.reuse=true] - re-use existing palette, otherwise generate new (slow)
785
+ * @param {boolean} [options.progressive=false] - use progressive (interlace) scan
786
+ * @param {number} [options.colours=256] - maximum number of palette entries, including transparency, between 2 and 256
787
+ * @param {number} [options.colors=256] - alternative spelling of `options.colours`
788
+ * @param {number} [options.effort=7] - CPU effort, between 1 (fastest) and 10 (slowest)
789
+ * @param {number} [options.dither=1.0] - level of Floyd-Steinberg error diffusion, between 0 (least) and 1 (most)
790
+ * @param {number} [options.interFrameMaxError=0] - maximum inter-frame error for transparency, between 0 (lossless) and 32
791
+ * @param {number} [options.interPaletteMaxError=3] - maximum inter-palette error for palette reuse, between 0 and 256
792
+ * @param {boolean} [options.keepDuplicateFrames=false] - keep duplicate frames in the output instead of combining them
793
+ * @param {number} [options.loop=0] - number of animation iterations, use 0 for infinite animation
794
+ * @param {number|number[]} [options.delay] - delay(s) between animation frames (in milliseconds)
795
+ * @param {boolean} [options.force=true] - force GIF output, otherwise attempt to use input format
796
+ * @returns {Sharp}
797
+ * @throws {Error} Invalid options
798
+ */
799
+ function gif (options) {
800
+ if (is.object(options)) {
801
+ if (is.defined(options.reuse)) {
802
+ this._setBooleanOption('gifReuse', options.reuse);
803
+ }
804
+ if (is.defined(options.progressive)) {
805
+ this._setBooleanOption('gifProgressive', options.progressive);
806
+ }
807
+ const colours = options.colours || options.colors;
808
+ if (is.defined(colours)) {
809
+ if (is.integer(colours) && is.inRange(colours, 2, 256)) {
810
+ this.options.gifBitdepth = bitdepthFromColourCount(colours);
811
+ } else {
812
+ throw is.invalidParameterError('colours', 'integer between 2 and 256', colours);
813
+ }
814
+ }
815
+ if (is.defined(options.effort)) {
816
+ if (is.number(options.effort) && is.inRange(options.effort, 1, 10)) {
817
+ this.options.gifEffort = options.effort;
818
+ } else {
819
+ throw is.invalidParameterError('effort', 'integer between 1 and 10', options.effort);
820
+ }
821
+ }
822
+ if (is.defined(options.dither)) {
823
+ if (is.number(options.dither) && is.inRange(options.dither, 0, 1)) {
824
+ this.options.gifDither = options.dither;
825
+ } else {
826
+ throw is.invalidParameterError('dither', 'number between 0.0 and 1.0', options.dither);
827
+ }
828
+ }
829
+ if (is.defined(options.interFrameMaxError)) {
830
+ if (is.number(options.interFrameMaxError) && is.inRange(options.interFrameMaxError, 0, 32)) {
831
+ this.options.gifInterFrameMaxError = options.interFrameMaxError;
832
+ } else {
833
+ throw is.invalidParameterError('interFrameMaxError', 'number between 0.0 and 32.0', options.interFrameMaxError);
834
+ }
835
+ }
836
+ if (is.defined(options.interPaletteMaxError)) {
837
+ if (is.number(options.interPaletteMaxError) && is.inRange(options.interPaletteMaxError, 0, 256)) {
838
+ this.options.gifInterPaletteMaxError = options.interPaletteMaxError;
839
+ } else {
840
+ throw is.invalidParameterError('interPaletteMaxError', 'number between 0.0 and 256.0', options.interPaletteMaxError);
841
+ }
842
+ }
843
+ if (is.defined(options.keepDuplicateFrames)) {
844
+ if (is.bool(options.keepDuplicateFrames)) {
845
+ this._setBooleanOption('gifKeepDuplicateFrames', options.keepDuplicateFrames);
846
+ } else {
847
+ throw is.invalidParameterError('keepDuplicateFrames', 'boolean', options.keepDuplicateFrames);
848
+ }
849
+ }
850
+ }
851
+ trySetAnimationOptions(options, this.options);
852
+ return this._updateFormatOut('gif', options);
853
+ }
854
+
855
+ /**
856
+ * Use these JP2 options for output image.
857
+ *
858
+ * Requires libvips compiled with support for OpenJPEG.
859
+ * The prebuilt binaries do not include this - see
860
+ * {@link /install#custom-libvips installing a custom libvips}.
861
+ *
862
+ * @example
863
+ * // Convert any input to lossless JP2 output
864
+ * const data = await sharp(input)
865
+ * .jp2({ lossless: true })
866
+ * .toBuffer();
867
+ *
868
+ * @example
869
+ * // Convert any input to very high quality JP2 output
870
+ * const data = await sharp(input)
871
+ * .jp2({
872
+ * quality: 100,
873
+ * chromaSubsampling: '4:4:4'
874
+ * })
875
+ * .toBuffer();
876
+ *
877
+ * @since 0.29.1
878
+ *
879
+ * @param {Object} [options] - output options
880
+ * @param {number} [options.quality=80] - quality, integer 1-100
881
+ * @param {boolean} [options.lossless=false] - use lossless compression mode
882
+ * @param {number} [options.tileWidth=512] - horizontal tile size
883
+ * @param {number} [options.tileHeight=512] - vertical tile size
884
+ * @param {string} [options.chromaSubsampling='4:4:4'] - set to '4:2:0' to use chroma subsampling
885
+ * @returns {Sharp}
886
+ * @throws {Error} Invalid options
887
+ */
888
+ function jp2 (options) {
889
+ /* node:coverage ignore next 41 */
890
+ if (!this.constructor.format.jp2k.output.buffer) {
891
+ throw errJp2Save();
892
+ }
893
+ if (is.object(options)) {
894
+ if (is.defined(options.quality)) {
895
+ if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
896
+ this.options.jp2Quality = options.quality;
897
+ } else {
898
+ throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
899
+ }
900
+ }
901
+ if (is.defined(options.lossless)) {
902
+ if (is.bool(options.lossless)) {
903
+ this.options.jp2Lossless = options.lossless;
904
+ } else {
905
+ throw is.invalidParameterError('lossless', 'boolean', options.lossless);
906
+ }
907
+ }
908
+ if (is.defined(options.tileWidth)) {
909
+ if (is.integer(options.tileWidth) && is.inRange(options.tileWidth, 1, 32768)) {
910
+ this.options.jp2TileWidth = options.tileWidth;
911
+ } else {
912
+ throw is.invalidParameterError('tileWidth', 'integer between 1 and 32768', options.tileWidth);
913
+ }
914
+ }
915
+ if (is.defined(options.tileHeight)) {
916
+ if (is.integer(options.tileHeight) && is.inRange(options.tileHeight, 1, 32768)) {
917
+ this.options.jp2TileHeight = options.tileHeight;
918
+ } else {
919
+ throw is.invalidParameterError('tileHeight', 'integer between 1 and 32768', options.tileHeight);
920
+ }
921
+ }
922
+ if (is.defined(options.chromaSubsampling)) {
923
+ if (is.string(options.chromaSubsampling) && is.inArray(options.chromaSubsampling, ['4:2:0', '4:4:4'])) {
924
+ this.options.jp2ChromaSubsampling = options.chromaSubsampling;
925
+ } else {
926
+ throw is.invalidParameterError('chromaSubsampling', 'one of: 4:2:0, 4:4:4', options.chromaSubsampling);
927
+ }
928
+ }
929
+ }
930
+ return this._updateFormatOut('jp2', options);
931
+ }
932
+
933
+ /**
934
+ * Set animation options if available.
935
+ * @private
936
+ *
937
+ * @param {Object} [source] - output options
938
+ * @param {number} [source.loop=0] - number of animation iterations, use 0 for infinite animation
939
+ * @param {number[]} [source.delay] - list of delays between animation frames (in milliseconds)
940
+ * @param {Object} [target] - target object for valid options
941
+ * @throws {Error} Invalid options
942
+ */
943
+ function trySetAnimationOptions (source, target) {
944
+ if (is.object(source) && is.defined(source.loop)) {
945
+ if (is.integer(source.loop) && is.inRange(source.loop, 0, 65535)) {
946
+ target.loop = source.loop;
947
+ } else {
948
+ throw is.invalidParameterError('loop', 'integer between 0 and 65535', source.loop);
949
+ }
950
+ }
951
+ if (is.object(source) && is.defined(source.delay)) {
952
+ // We allow singular values as well
953
+ if (is.integer(source.delay) && is.inRange(source.delay, 0, 65535)) {
954
+ target.delay = [source.delay];
955
+ } else if (
956
+ Array.isArray(source.delay) &&
957
+ source.delay.every(is.integer) &&
958
+ source.delay.every(v => is.inRange(v, 0, 65535))) {
959
+ target.delay = source.delay;
960
+ } else {
961
+ throw is.invalidParameterError('delay', 'integer or an array of integers between 0 and 65535', source.delay);
962
+ }
963
+ }
964
+ }
965
+
966
+ /**
967
+ * Use these TIFF options for output image.
968
+ *
969
+ * The `density` can be set in pixels/inch via {@link #withmetadata withMetadata}
970
+ * instead of providing `xres` and `yres` in pixels/mm.
971
+ *
972
+ * @example
973
+ * // Convert SVG input to LZW-compressed, 1 bit per pixel TIFF output
974
+ * sharp('input.svg')
975
+ * .tiff({
976
+ * compression: 'lzw',
977
+ * bitdepth: 1
978
+ * })
979
+ * .toFile('1-bpp-output.tiff')
980
+ * .then(info => { ... });
981
+ *
982
+ * @param {Object} [options] - output options
983
+ * @param {number} [options.quality=80] - quality, integer 1-100
984
+ * @param {boolean} [options.force=true] - force TIFF output, otherwise attempt to use input format
985
+ * @param {string} [options.compression='jpeg'] - compression options: none, jpeg, deflate, packbits, ccittfax4, lzw, webp, zstd, jp2k
986
+ * @param {boolean} [options.bigtiff=false] - use BigTIFF variant (has no effect when compression is none)
987
+ * @param {string} [options.predictor='horizontal'] - compression predictor options: none, horizontal, float
988
+ * @param {boolean} [options.pyramid=false] - write an image pyramid
989
+ * @param {boolean} [options.tile=false] - write a tiled tiff
990
+ * @param {number} [options.tileWidth=256] - horizontal tile size
991
+ * @param {number} [options.tileHeight=256] - vertical tile size
992
+ * @param {number} [options.xres=1.0] - horizontal resolution in pixels/mm
993
+ * @param {number} [options.yres=1.0] - vertical resolution in pixels/mm
994
+ * @param {string} [options.resolutionUnit='inch'] - resolution unit options: inch, cm
995
+ * @param {number} [options.bitdepth=8] - reduce bitdepth to 1, 2 or 4 bit
996
+ * @param {boolean} [options.miniswhite=false] - write 1-bit images as miniswhite
997
+ * @returns {Sharp}
998
+ * @throws {Error} Invalid options
999
+ */
1000
+ function tiff (options) {
1001
+ if (is.object(options)) {
1002
+ if (is.defined(options.quality)) {
1003
+ if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
1004
+ this.options.tiffQuality = options.quality;
1005
+ } else {
1006
+ throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
1007
+ }
1008
+ }
1009
+ if (is.defined(options.bitdepth)) {
1010
+ if (is.integer(options.bitdepth) && is.inArray(options.bitdepth, [1, 2, 4, 8])) {
1011
+ this.options.tiffBitdepth = options.bitdepth;
1012
+ } else {
1013
+ throw is.invalidParameterError('bitdepth', '1, 2, 4 or 8', options.bitdepth);
1014
+ }
1015
+ }
1016
+ // tiling
1017
+ if (is.defined(options.tile)) {
1018
+ this._setBooleanOption('tiffTile', options.tile);
1019
+ }
1020
+ if (is.defined(options.tileWidth)) {
1021
+ if (is.integer(options.tileWidth) && options.tileWidth > 0) {
1022
+ this.options.tiffTileWidth = options.tileWidth;
1023
+ } else {
1024
+ throw is.invalidParameterError('tileWidth', 'integer greater than zero', options.tileWidth);
1025
+ }
1026
+ }
1027
+ if (is.defined(options.tileHeight)) {
1028
+ if (is.integer(options.tileHeight) && options.tileHeight > 0) {
1029
+ this.options.tiffTileHeight = options.tileHeight;
1030
+ } else {
1031
+ throw is.invalidParameterError('tileHeight', 'integer greater than zero', options.tileHeight);
1032
+ }
1033
+ }
1034
+ // miniswhite
1035
+ if (is.defined(options.miniswhite)) {
1036
+ this._setBooleanOption('tiffMiniswhite', options.miniswhite);
1037
+ }
1038
+ // pyramid
1039
+ if (is.defined(options.pyramid)) {
1040
+ this._setBooleanOption('tiffPyramid', options.pyramid);
1041
+ }
1042
+ // resolution
1043
+ if (is.defined(options.xres)) {
1044
+ if (is.number(options.xres) && options.xres > 0) {
1045
+ this.options.tiffXres = options.xres;
1046
+ } else {
1047
+ throw is.invalidParameterError('xres', 'number greater than zero', options.xres);
1048
+ }
1049
+ }
1050
+ if (is.defined(options.yres)) {
1051
+ if (is.number(options.yres) && options.yres > 0) {
1052
+ this.options.tiffYres = options.yres;
1053
+ } else {
1054
+ throw is.invalidParameterError('yres', 'number greater than zero', options.yres);
1055
+ }
1056
+ }
1057
+ // compression
1058
+ if (is.defined(options.compression)) {
1059
+ if (is.string(options.compression) && is.inArray(options.compression, ['none', 'jpeg', 'deflate', 'packbits', 'ccittfax4', 'lzw', 'webp', 'zstd', 'jp2k'])) {
1060
+ this.options.tiffCompression = options.compression;
1061
+ } else {
1062
+ throw is.invalidParameterError('compression', 'one of: none, jpeg, deflate, packbits, ccittfax4, lzw, webp, zstd, jp2k', options.compression);
1063
+ }
1064
+ }
1065
+ // bigtiff
1066
+ if (is.defined(options.bigtiff)) {
1067
+ this._setBooleanOption('tiffBigtiff', options.bigtiff);
1068
+ }
1069
+ // predictor
1070
+ if (is.defined(options.predictor)) {
1071
+ if (is.string(options.predictor) && is.inArray(options.predictor, ['none', 'horizontal', 'float'])) {
1072
+ this.options.tiffPredictor = options.predictor;
1073
+ } else {
1074
+ throw is.invalidParameterError('predictor', 'one of: none, horizontal, float', options.predictor);
1075
+ }
1076
+ }
1077
+ // resolutionUnit
1078
+ if (is.defined(options.resolutionUnit)) {
1079
+ if (is.string(options.resolutionUnit) && is.inArray(options.resolutionUnit, ['inch', 'cm'])) {
1080
+ this.options.tiffResolutionUnit = options.resolutionUnit;
1081
+ } else {
1082
+ throw is.invalidParameterError('resolutionUnit', 'one of: inch, cm', options.resolutionUnit);
1083
+ }
1084
+ }
1085
+ }
1086
+ return this._updateFormatOut('tiff', options);
1087
+ }
1088
+
1089
+ /**
1090
+ * Use these AVIF options for output image.
1091
+ *
1092
+ * AVIF image sequences are not supported.
1093
+ * Prebuilt binaries support a bitdepth of 8 only.
1094
+ *
1095
+ * This feature is experimental on the Windows ARM64 platform
1096
+ * and requires a CPU with ARM64v8.4 or later.
1097
+ *
1098
+ * @example
1099
+ * const data = await sharp(input)
1100
+ * .avif({ effort: 2 })
1101
+ * .toBuffer();
1102
+ *
1103
+ * @example
1104
+ * const data = await sharp(input)
1105
+ * .avif({ lossless: true })
1106
+ * .toBuffer();
1107
+ *
1108
+ * @since 0.27.0
1109
+ *
1110
+ * @param {Object} [options] - output options
1111
+ * @param {number} [options.quality=50] - quality, integer 1-100
1112
+ * @param {boolean} [options.lossless=false] - use lossless compression
1113
+ * @param {number} [options.effort=4] - CPU effort, between 0 (fastest) and 9 (slowest)
1114
+ * @param {string} [options.chromaSubsampling='4:4:4'] - set to '4:2:0' to use chroma subsampling
1115
+ * @param {number} [options.bitdepth=8] - set bitdepth to 8, 10 or 12 bit
1116
+ * @returns {Sharp}
1117
+ * @throws {Error} Invalid options
1118
+ */
1119
+ function avif (options) {
1120
+ return this.heif({ ...options, compression: 'av1' });
1121
+ }
1122
+
1123
+ /**
1124
+ * Use these HEIF options for output image.
1125
+ *
1126
+ * Support for patent-encumbered HEIC images using `hevc` compression requires the use of a
1127
+ * globally-installed libvips compiled with support for libheif, libde265 and x265.
1128
+ *
1129
+ * @example
1130
+ * const data = await sharp(input)
1131
+ * .heif({ compression: 'hevc' })
1132
+ * .toBuffer();
1133
+ *
1134
+ * @since 0.23.0
1135
+ *
1136
+ * @param {Object} options - output options
1137
+ * @param {string} options.compression - compression format: av1, hevc
1138
+ * @param {number} [options.quality=50] - quality, integer 1-100
1139
+ * @param {boolean} [options.lossless=false] - use lossless compression
1140
+ * @param {number} [options.effort=4] - CPU effort, between 0 (fastest) and 9 (slowest)
1141
+ * @param {string} [options.chromaSubsampling='4:4:4'] - set to '4:2:0' to use chroma subsampling
1142
+ * @param {number} [options.bitdepth=8] - set bitdepth to 8, 10 or 12 bit
1143
+ * @returns {Sharp}
1144
+ * @throws {Error} Invalid options
1145
+ */
1146
+ function heif (options) {
1147
+ if (is.object(options)) {
1148
+ if (is.string(options.compression) && is.inArray(options.compression, ['av1', 'hevc'])) {
1149
+ this.options.heifCompression = options.compression;
1150
+ } else {
1151
+ throw is.invalidParameterError('compression', 'one of: av1, hevc', options.compression);
1152
+ }
1153
+ if (is.defined(options.quality)) {
1154
+ if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
1155
+ this.options.heifQuality = options.quality;
1156
+ } else {
1157
+ throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
1158
+ }
1159
+ }
1160
+ if (is.defined(options.lossless)) {
1161
+ if (is.bool(options.lossless)) {
1162
+ this.options.heifLossless = options.lossless;
1163
+ } else {
1164
+ throw is.invalidParameterError('lossless', 'boolean', options.lossless);
1165
+ }
1166
+ }
1167
+ if (is.defined(options.effort)) {
1168
+ if (is.integer(options.effort) && is.inRange(options.effort, 0, 9)) {
1169
+ this.options.heifEffort = options.effort;
1170
+ } else {
1171
+ throw is.invalidParameterError('effort', 'integer between 0 and 9', options.effort);
1172
+ }
1173
+ }
1174
+ if (is.defined(options.chromaSubsampling)) {
1175
+ if (is.string(options.chromaSubsampling) && is.inArray(options.chromaSubsampling, ['4:2:0', '4:4:4'])) {
1176
+ this.options.heifChromaSubsampling = options.chromaSubsampling;
1177
+ } else {
1178
+ throw is.invalidParameterError('chromaSubsampling', 'one of: 4:2:0, 4:4:4', options.chromaSubsampling);
1179
+ }
1180
+ }
1181
+ if (is.defined(options.bitdepth)) {
1182
+ if (is.integer(options.bitdepth) && is.inArray(options.bitdepth, [8, 10, 12])) {
1183
+ if (options.bitdepth !== 8 && this.constructor.versions.heif) {
1184
+ throw is.invalidParameterError('bitdepth when using prebuilt binaries', 8, options.bitdepth);
1185
+ }
1186
+ this.options.heifBitdepth = options.bitdepth;
1187
+ } else {
1188
+ throw is.invalidParameterError('bitdepth', '8, 10 or 12', options.bitdepth);
1189
+ }
1190
+ }
1191
+ } else {
1192
+ throw is.invalidParameterError('options', 'Object', options);
1193
+ }
1194
+ return this._updateFormatOut('heif', options);
1195
+ }
1196
+
1197
+ /**
1198
+ * Use these JPEG-XL (JXL) options for output image.
1199
+ *
1200
+ * This feature is experimental, please do not use in production systems.
1201
+ *
1202
+ * Requires libvips compiled with support for libjxl.
1203
+ * The prebuilt binaries do not include this - see
1204
+ * {@link /install/#custom-libvips installing a custom libvips}.
1205
+ *
1206
+ * @since 0.31.3
1207
+ *
1208
+ * @param {Object} [options] - output options
1209
+ * @param {number} [options.distance=1.0] - maximum encoding error, between 0 (highest quality) and 15 (lowest quality)
1210
+ * @param {number} [options.quality] - calculate `distance` based on JPEG-like quality, between 1 and 100, overrides distance if specified
1211
+ * @param {number} [options.decodingTier=0] - target decode speed tier, between 0 (highest quality) and 4 (lowest quality)
1212
+ * @param {boolean} [options.lossless=false] - use lossless compression
1213
+ * @param {number} [options.effort=7] - CPU effort, between 1 (fastest) and 9 (slowest)
1214
+ * @param {number} [options.loop=0] - number of animation iterations, use 0 for infinite animation
1215
+ * @param {number|number[]} [options.delay] - delay(s) between animation frames (in milliseconds)
1216
+ * @returns {Sharp}
1217
+ * @throws {Error} Invalid options
1218
+ */
1219
+ function jxl (options) {
1220
+ if (is.object(options)) {
1221
+ if (is.defined(options.quality)) {
1222
+ if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
1223
+ // https://github.com/libjxl/libjxl/blob/0aeea7f180bafd6893c1db8072dcb67d2aa5b03d/tools/cjxl_main.cc#L640-L644
1224
+ this.options.jxlDistance = options.quality >= 30
1225
+ ? 0.1 + (100 - options.quality) * 0.09
1226
+ : 53 / 3000 * options.quality * options.quality - 23 / 20 * options.quality + 25;
1227
+ } else {
1228
+ throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
1229
+ }
1230
+ } else if (is.defined(options.distance)) {
1231
+ if (is.number(options.distance) && is.inRange(options.distance, 0, 15)) {
1232
+ this.options.jxlDistance = options.distance;
1233
+ } else {
1234
+ throw is.invalidParameterError('distance', 'number between 0.0 and 15.0', options.distance);
1235
+ }
1236
+ }
1237
+ if (is.defined(options.decodingTier)) {
1238
+ if (is.integer(options.decodingTier) && is.inRange(options.decodingTier, 0, 4)) {
1239
+ this.options.jxlDecodingTier = options.decodingTier;
1240
+ } else {
1241
+ throw is.invalidParameterError('decodingTier', 'integer between 0 and 4', options.decodingTier);
1242
+ }
1243
+ }
1244
+ if (is.defined(options.lossless)) {
1245
+ if (is.bool(options.lossless)) {
1246
+ this.options.jxlLossless = options.lossless;
1247
+ } else {
1248
+ throw is.invalidParameterError('lossless', 'boolean', options.lossless);
1249
+ }
1250
+ }
1251
+ if (is.defined(options.effort)) {
1252
+ if (is.integer(options.effort) && is.inRange(options.effort, 1, 9)) {
1253
+ this.options.jxlEffort = options.effort;
1254
+ } else {
1255
+ throw is.invalidParameterError('effort', 'integer between 1 and 9', options.effort);
1256
+ }
1257
+ }
1258
+ }
1259
+ trySetAnimationOptions(options, this.options);
1260
+ return this._updateFormatOut('jxl', options);
1261
+ }
1262
+
1263
+ /**
1264
+ * Force output to be raw, uncompressed pixel data.
1265
+ * Pixel ordering is left-to-right, top-to-bottom, without padding.
1266
+ * Channel ordering will be RGB or RGBA for non-greyscale colourspaces.
1267
+ *
1268
+ * @example
1269
+ * // Extract raw, unsigned 8-bit RGB pixel data from JPEG input
1270
+ * const { data, info } = await sharp('input.jpg')
1271
+ * .raw()
1272
+ * .toBuffer({ resolveWithObject: true });
1273
+ *
1274
+ * @example
1275
+ * // Extract alpha channel as raw, unsigned 16-bit pixel data from PNG input
1276
+ * const data = await sharp('input.png')
1277
+ * .ensureAlpha()
1278
+ * .extractChannel(3)
1279
+ * .toColourspace('b-w')
1280
+ * .raw({ depth: 'ushort' })
1281
+ * .toBuffer();
1282
+ *
1283
+ * @param {Object} [options] - output options
1284
+ * @param {string} [options.depth='uchar'] - bit depth, one of: char, uchar (default), short, ushort, int, uint, float, complex, double, dpcomplex
1285
+ * @returns {Sharp}
1286
+ * @throws {Error} Invalid options
1287
+ */
1288
+ function raw (options) {
1289
+ if (is.object(options)) {
1290
+ if (is.defined(options.depth)) {
1291
+ if (is.string(options.depth) && is.inArray(options.depth,
1292
+ ['char', 'uchar', 'short', 'ushort', 'int', 'uint', 'float', 'complex', 'double', 'dpcomplex']
1293
+ )) {
1294
+ this.options.rawDepth = options.depth;
1295
+ } else {
1296
+ throw is.invalidParameterError('depth', 'one of: char, uchar, short, ushort, int, uint, float, complex, double, dpcomplex', options.depth);
1297
+ }
1298
+ }
1299
+ }
1300
+ return this._updateFormatOut('raw');
1301
+ }
1302
+
1303
+ /**
1304
+ * Use tile-based deep zoom (image pyramid) output.
1305
+ *
1306
+ * Set the format and options for tile images via the `toFormat`, `jpeg`, `png` or `webp` functions.
1307
+ * Use a `.zip` or `.szi` file extension with `toFile` to write to a compressed archive file format.
1308
+ *
1309
+ * The container will be set to `zip` when the output is a Buffer or Stream, otherwise it will default to `fs`.
1310
+ *
1311
+ * @example
1312
+ * sharp('input.tiff')
1313
+ * .png()
1314
+ * .tile({
1315
+ * size: 512
1316
+ * })
1317
+ * .toFile('output.dz', function(err, info) {
1318
+ * // output.dzi is the Deep Zoom XML definition
1319
+ * // output_files contains 512x512 tiles grouped by zoom level
1320
+ * });
1321
+ *
1322
+ * @example
1323
+ * const zipFileWithTiles = await sharp(input)
1324
+ * .tile({ basename: "tiles" })
1325
+ * .toBuffer();
1326
+ *
1327
+ * @example
1328
+ * const iiififier = sharp().tile({ layout: "iiif" });
1329
+ * readableStream
1330
+ * .pipe(iiififier)
1331
+ * .pipe(writeableStream);
1332
+ *
1333
+ * @param {Object} [options]
1334
+ * @param {number} [options.size=256] tile size in pixels, a value between 1 and 8192.
1335
+ * @param {number} [options.overlap=0] tile overlap in pixels, a value between 0 and 8192.
1336
+ * @param {number} [options.angle=0] tile angle of rotation, must be a multiple of 90.
1337
+ * @param {string|Object} [options.background={r: 255, g: 255, b: 255, alpha: 1}] - background colour, parsed by the [color](https://www.npmjs.org/package/color) module, defaults to white without transparency.
1338
+ * @param {string} [options.depth] how deep to make the pyramid, possible values are `onepixel`, `onetile` or `one`, default based on layout.
1339
+ * @param {number} [options.skipBlanks=-1] Threshold to skip tile generation. Range is 0-255 for 8-bit images, 0-65535 for 16-bit images. Default is 5 for `google` layout, -1 (no skip) otherwise.
1340
+ * @param {string} [options.container='fs'] tile container, with value `fs` (filesystem) or `zip` (compressed file).
1341
+ * @param {string} [options.layout='dz'] filesystem layout, possible values are `dz`, `iiif`, `iiif3`, `zoomify` or `google`.
1342
+ * @param {boolean} [options.centre=false] centre image in tile.
1343
+ * @param {boolean} [options.center=false] alternative spelling of centre.
1344
+ * @param {string} [options.id='https://example.com/iiif'] when `layout` is `iiif`/`iiif3`, sets the `@id`/`id` attribute of `info.json`
1345
+ * @param {string} [options.basename] the name of the directory within the zip file when container is `zip`.
1346
+ * @returns {Sharp}
1347
+ * @throws {Error} Invalid parameters
1348
+ */
1349
+ function tile (options) {
1350
+ if (is.object(options)) {
1351
+ // Size of square tiles, in pixels
1352
+ if (is.defined(options.size)) {
1353
+ if (is.integer(options.size) && is.inRange(options.size, 1, 8192)) {
1354
+ this.options.tileSize = options.size;
1355
+ } else {
1356
+ throw is.invalidParameterError('size', 'integer between 1 and 8192', options.size);
1357
+ }
1358
+ }
1359
+ // Overlap of tiles, in pixels
1360
+ if (is.defined(options.overlap)) {
1361
+ if (is.integer(options.overlap) && is.inRange(options.overlap, 0, 8192)) {
1362
+ if (options.overlap > this.options.tileSize) {
1363
+ throw is.invalidParameterError('overlap', `<= size (${this.options.tileSize})`, options.overlap);
1364
+ }
1365
+ this.options.tileOverlap = options.overlap;
1366
+ } else {
1367
+ throw is.invalidParameterError('overlap', 'integer between 0 and 8192', options.overlap);
1368
+ }
1369
+ }
1370
+ // Container
1371
+ if (is.defined(options.container)) {
1372
+ if (is.string(options.container) && is.inArray(options.container, ['fs', 'zip'])) {
1373
+ this.options.tileContainer = options.container;
1374
+ } else {
1375
+ throw is.invalidParameterError('container', 'one of: fs, zip', options.container);
1376
+ }
1377
+ }
1378
+ // Layout
1379
+ if (is.defined(options.layout)) {
1380
+ if (is.string(options.layout) && is.inArray(options.layout, ['dz', 'google', 'iiif', 'iiif3', 'zoomify'])) {
1381
+ this.options.tileLayout = options.layout;
1382
+ } else {
1383
+ throw is.invalidParameterError('layout', 'one of: dz, google, iiif, iiif3, zoomify', options.layout);
1384
+ }
1385
+ }
1386
+ // Angle of rotation,
1387
+ if (is.defined(options.angle)) {
1388
+ if (is.integer(options.angle) && !(options.angle % 90)) {
1389
+ this.options.tileAngle = options.angle;
1390
+ } else {
1391
+ throw is.invalidParameterError('angle', 'positive/negative multiple of 90', options.angle);
1392
+ }
1393
+ }
1394
+ // Background colour
1395
+ this._setBackgroundColourOption('tileBackground', options.background);
1396
+ // Depth of tiles
1397
+ if (is.defined(options.depth)) {
1398
+ if (is.string(options.depth) && is.inArray(options.depth, ['onepixel', 'onetile', 'one'])) {
1399
+ this.options.tileDepth = options.depth;
1400
+ } else {
1401
+ throw is.invalidParameterError('depth', 'one of: onepixel, onetile, one', options.depth);
1402
+ }
1403
+ }
1404
+ // Threshold to skip blank tiles
1405
+ if (is.defined(options.skipBlanks)) {
1406
+ if (is.integer(options.skipBlanks) && is.inRange(options.skipBlanks, -1, 65535)) {
1407
+ this.options.tileSkipBlanks = options.skipBlanks;
1408
+ } else {
1409
+ throw is.invalidParameterError('skipBlanks', 'integer between -1 and 255/65535', options.skipBlanks);
1410
+ }
1411
+ } else if (is.defined(options.layout) && options.layout === 'google') {
1412
+ this.options.tileSkipBlanks = 5;
1413
+ }
1414
+ // Center image in tile
1415
+ const centre = is.bool(options.center) ? options.center : options.centre;
1416
+ if (is.defined(centre)) {
1417
+ this._setBooleanOption('tileCentre', centre);
1418
+ }
1419
+ // @id attribute for IIIF layout
1420
+ if (is.defined(options.id)) {
1421
+ if (is.string(options.id)) {
1422
+ this.options.tileId = options.id;
1423
+ } else {
1424
+ throw is.invalidParameterError('id', 'string', options.id);
1425
+ }
1426
+ }
1427
+ // Basename for zip container
1428
+ if (is.defined(options.basename)) {
1429
+ if (is.string(options.basename)) {
1430
+ this.options.tileBasename = options.basename;
1431
+ } else {
1432
+ throw is.invalidParameterError('basename', 'string', options.basename);
1433
+ }
1434
+ }
1435
+ }
1436
+ // Format
1437
+ if (is.inArray(this.options.formatOut, ['jpeg', 'png', 'webp'])) {
1438
+ this.options.tileFormat = this.options.formatOut;
1439
+ } else if (this.options.formatOut !== 'input') {
1440
+ throw is.invalidParameterError('format', 'one of: jpeg, png, webp', this.options.formatOut);
1441
+ }
1442
+ return this._updateFormatOut('dz');
1443
+ }
1444
+
1445
+ /**
1446
+ * Set a timeout for processing, in seconds.
1447
+ * Use a value of zero to continue processing indefinitely, the default behaviour.
1448
+ *
1449
+ * The clock starts when libvips opens an input image for processing.
1450
+ * Time spent waiting for a libuv thread to become available is not included.
1451
+ *
1452
+ * @example
1453
+ * // Ensure processing takes no longer than 3 seconds
1454
+ * try {
1455
+ * const data = await sharp(input)
1456
+ * .blur(1000)
1457
+ * .timeout({ seconds: 3 })
1458
+ * .toBuffer();
1459
+ * } catch (err) {
1460
+ * if (err.message.includes('timeout')) { ... }
1461
+ * }
1462
+ *
1463
+ * @since 0.29.2
1464
+ *
1465
+ * @param {Object} options
1466
+ * @param {number} options.seconds - Number of seconds after which processing will be stopped
1467
+ * @returns {Sharp}
1468
+ */
1469
+ function timeout (options) {
1470
+ if (!is.plainObject(options)) {
1471
+ throw is.invalidParameterError('options', 'object', options);
1472
+ }
1473
+ if (is.integer(options.seconds) && is.inRange(options.seconds, 0, 3600)) {
1474
+ this.options.timeoutSeconds = options.seconds;
1475
+ } else {
1476
+ throw is.invalidParameterError('seconds', 'integer between 0 and 3600', options.seconds);
1477
+ }
1478
+ return this;
1479
+ }
1480
+
1481
+ /**
1482
+ * Update the output format unless options.force is false,
1483
+ * in which case revert to input format.
1484
+ * @private
1485
+ * @param {string} formatOut
1486
+ * @param {Object} [options]
1487
+ * @param {boolean} [options.force=true] - force output format, otherwise attempt to use input format
1488
+ * @returns {Sharp}
1489
+ */
1490
+ function _updateFormatOut (formatOut, options) {
1491
+ if (!(is.object(options) && options.force === false)) {
1492
+ this.options.formatOut = formatOut;
1493
+ }
1494
+ return this;
1495
+ }
1496
+
1497
+ /**
1498
+ * Update a boolean attribute of the this.options Object.
1499
+ * @private
1500
+ * @param {string} key
1501
+ * @param {boolean} val
1502
+ * @throws {Error} Invalid key
1503
+ */
1504
+ function _setBooleanOption (key, val) {
1505
+ if (is.bool(val)) {
1506
+ this.options[key] = val;
1507
+ } else {
1508
+ throw is.invalidParameterError(key, 'boolean', val);
1509
+ }
1510
+ }
1511
+
1512
+ /**
1513
+ * Called by a WriteableStream to notify us it is ready for data.
1514
+ * @private
1515
+ */
1516
+ function _read () {
1517
+ if (!this.options.streamOut) {
1518
+ this.options.streamOut = true;
1519
+ const stack = Error();
1520
+ this._pipeline(undefined, stack);
1521
+ }
1522
+ }
1523
+
1524
+ /**
1525
+ * Invoke the C++ image processing pipeline
1526
+ * Supports callback, stream and promise variants
1527
+ * @private
1528
+ */
1529
+ function _pipeline (callback, stack) {
1530
+ if (typeof callback === 'function') {
1531
+ // output=file/buffer
1532
+ if (this._isStreamInput()) {
1533
+ // output=file/buffer, input=stream
1534
+ this.on('finish', () => {
1535
+ this._flattenBufferIn();
1536
+ sharp.pipeline(this.options, (err, data, info) => {
1537
+ if (err) {
1538
+ callback(is.nativeError(err, stack));
1539
+ } else {
1540
+ callback(null, data, info);
1541
+ }
1542
+ });
1543
+ });
1544
+ } else {
1545
+ // output=file/buffer, input=file/buffer
1546
+ sharp.pipeline(this.options, (err, data, info) => {
1547
+ if (err) {
1548
+ callback(is.nativeError(err, stack));
1549
+ } else {
1550
+ callback(null, data, info);
1551
+ }
1552
+ });
1553
+ }
1554
+ return this;
1555
+ } else if (this.options.streamOut) {
1556
+ // output=stream
1557
+ if (this._isStreamInput()) {
1558
+ // output=stream, input=stream
1559
+ this.once('finish', () => {
1560
+ this._flattenBufferIn();
1561
+ sharp.pipeline(this.options, (err, data, info) => {
1562
+ if (err) {
1563
+ this.emit('error', is.nativeError(err, stack));
1564
+ } else {
1565
+ this.emit('info', info);
1566
+ this.push(data);
1567
+ }
1568
+ this.push(null);
1569
+ this.on('end', () => this.emit('close'));
1570
+ });
1571
+ });
1572
+ if (this.streamInFinished) {
1573
+ this.emit('finish');
1574
+ }
1575
+ } else {
1576
+ // output=stream, input=file/buffer
1577
+ sharp.pipeline(this.options, (err, data, info) => {
1578
+ if (err) {
1579
+ this.emit('error', is.nativeError(err, stack));
1580
+ } else {
1581
+ this.emit('info', info);
1582
+ this.push(data);
1583
+ }
1584
+ this.push(null);
1585
+ this.on('end', () => this.emit('close'));
1586
+ });
1587
+ }
1588
+ return this;
1589
+ } else {
1590
+ // output=promise
1591
+ if (this._isStreamInput()) {
1592
+ // output=promise, input=stream
1593
+ return new Promise((resolve, reject) => {
1594
+ this.once('finish', () => {
1595
+ this._flattenBufferIn();
1596
+ sharp.pipeline(this.options, (err, data, info) => {
1597
+ if (err) {
1598
+ reject(is.nativeError(err, stack));
1599
+ } else {
1600
+ if (this.options.resolveWithObject) {
1601
+ resolve({ data, info });
1602
+ } else {
1603
+ resolve(data);
1604
+ }
1605
+ }
1606
+ });
1607
+ });
1608
+ });
1609
+ } else {
1610
+ // output=promise, input=file/buffer
1611
+ return new Promise((resolve, reject) => {
1612
+ sharp.pipeline(this.options, (err, data, info) => {
1613
+ if (err) {
1614
+ reject(is.nativeError(err, stack));
1615
+ } else {
1616
+ if (this.options.resolveWithObject) {
1617
+ resolve({ data, info });
1618
+ } else {
1619
+ resolve(data);
1620
+ }
1621
+ }
1622
+ });
1623
+ });
1624
+ }
1625
+ }
1626
+ }
1627
+
1628
+ /**
1629
+ * Decorate the Sharp prototype with output-related functions.
1630
+ * @module Sharp
1631
+ * @private
1632
+ */
1633
+ module.exports = (Sharp) => {
1634
+ Object.assign(Sharp.prototype, {
1635
+ // Public
1636
+ toFile,
1637
+ toBuffer,
1638
+ keepExif,
1639
+ withExif,
1640
+ withExifMerge,
1641
+ keepIccProfile,
1642
+ withIccProfile,
1643
+ keepXmp,
1644
+ withXmp,
1645
+ keepMetadata,
1646
+ withMetadata,
1647
+ toFormat,
1648
+ jpeg,
1649
+ jp2,
1650
+ png,
1651
+ webp,
1652
+ tiff,
1653
+ avif,
1654
+ heif,
1655
+ jxl,
1656
+ gif,
1657
+ raw,
1658
+ tile,
1659
+ timeout,
1660
+ // Private
1661
+ _updateFormatOut,
1662
+ _setBooleanOption,
1663
+ _read,
1664
+ _pipeline
1665
+ });
1666
+ };