@funkai/models 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/.generated/entries.json +23 -0
  2. package/.generated/req.txt +1 -0
  3. package/.turbo/turbo-build.log +145 -0
  4. package/.turbo/turbo-typecheck.log +4 -0
  5. package/CHANGELOG.md +23 -0
  6. package/README.md +95 -0
  7. package/dist/alibaba-B6q4Ng1R.mjs +957 -0
  8. package/dist/alibaba-B6q4Ng1R.mjs.map +1 -0
  9. package/dist/amazon-bedrock-Cv9AHQBH.mjs +2070 -0
  10. package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -0
  11. package/dist/anthropic-yB7ST97_.mjs +651 -0
  12. package/dist/anthropic-yB7ST97_.mjs.map +1 -0
  13. package/dist/cerebras-COfl7XM-.mjs +95 -0
  14. package/dist/cerebras-COfl7XM-.mjs.map +1 -0
  15. package/dist/cohere-B7TgO0hT.mjs +271 -0
  16. package/dist/cohere-B7TgO0hT.mjs.map +1 -0
  17. package/dist/deepinfra-B0GxUwCG.mjs +636 -0
  18. package/dist/deepinfra-B0GxUwCG.mjs.map +1 -0
  19. package/dist/deepseek-D64ZEsvS.mjs +50 -0
  20. package/dist/deepseek-D64ZEsvS.mjs.map +1 -0
  21. package/dist/fireworks-ai-DJYvdAi_.mjs +304 -0
  22. package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -0
  23. package/dist/google-BypRl349.mjs +833 -0
  24. package/dist/google-BypRl349.mjs.map +1 -0
  25. package/dist/google-vertex-DbS-zTGD.mjs +730 -0
  26. package/dist/google-vertex-DbS-zTGD.mjs.map +1 -0
  27. package/dist/groq-ei_PerYi.mjs +381 -0
  28. package/dist/groq-ei_PerYi.mjs.map +1 -0
  29. package/dist/huggingface-DaM1EeLP.mjs +456 -0
  30. package/dist/huggingface-DaM1EeLP.mjs.map +1 -0
  31. package/dist/inception-CspEzqNV.mjs +101 -0
  32. package/dist/inception-CspEzqNV.mjs.map +1 -0
  33. package/dist/index.d.mts +30314 -0
  34. package/dist/index.d.mts.map +1 -0
  35. package/dist/index.mjs +271 -0
  36. package/dist/index.mjs.map +1 -0
  37. package/dist/llama-Cf3-koap.mjs +161 -0
  38. package/dist/llama-Cf3-koap.mjs.map +1 -0
  39. package/dist/mistral-BI9MdAO4.mjs +579 -0
  40. package/dist/mistral-BI9MdAO4.mjs.map +1 -0
  41. package/dist/nvidia-COHacuoa.mjs +1625 -0
  42. package/dist/nvidia-COHacuoa.mjs.map +1 -0
  43. package/dist/openai-C0nCfZUq.mjs +1023 -0
  44. package/dist/openai-C0nCfZUq.mjs.map +1 -0
  45. package/dist/openrouter-DSFzxKQb.mjs +4608 -0
  46. package/dist/openrouter-DSFzxKQb.mjs.map +1 -0
  47. package/dist/perplexity-zeZ2WlBU.mjs +96 -0
  48. package/dist/perplexity-zeZ2WlBU.mjs.map +1 -0
  49. package/dist/providers/alibaba.d.mts +1795 -0
  50. package/dist/providers/alibaba.d.mts.map +1 -0
  51. package/dist/providers/alibaba.mjs +39 -0
  52. package/dist/providers/alibaba.mjs.map +1 -0
  53. package/dist/providers/amazon-bedrock.d.mts +3713 -0
  54. package/dist/providers/amazon-bedrock.d.mts.map +1 -0
  55. package/dist/providers/amazon-bedrock.mjs +39 -0
  56. package/dist/providers/amazon-bedrock.mjs.map +1 -0
  57. package/dist/providers/anthropic.d.mts +1109 -0
  58. package/dist/providers/anthropic.d.mts.map +1 -0
  59. package/dist/providers/anthropic.mjs +39 -0
  60. package/dist/providers/anthropic.mjs.map +1 -0
  61. package/dist/providers/cerebras.d.mts +219 -0
  62. package/dist/providers/cerebras.d.mts.map +1 -0
  63. package/dist/providers/cerebras.mjs +39 -0
  64. package/dist/providers/cerebras.mjs.map +1 -0
  65. package/dist/providers/cohere.d.mts +555 -0
  66. package/dist/providers/cohere.d.mts.map +1 -0
  67. package/dist/providers/cohere.mjs +39 -0
  68. package/dist/providers/cohere.mjs.map +1 -0
  69. package/dist/providers/deepinfra.d.mts +1245 -0
  70. package/dist/providers/deepinfra.d.mts.map +1 -0
  71. package/dist/providers/deepinfra.mjs +39 -0
  72. package/dist/providers/deepinfra.mjs.map +1 -0
  73. package/dist/providers/deepseek.d.mts +139 -0
  74. package/dist/providers/deepseek.d.mts.map +1 -0
  75. package/dist/providers/deepseek.mjs +39 -0
  76. package/dist/providers/deepseek.mjs.map +1 -0
  77. package/dist/providers/fireworks-ai.d.mts +611 -0
  78. package/dist/providers/fireworks-ai.d.mts.map +1 -0
  79. package/dist/providers/fireworks-ai.mjs +39 -0
  80. package/dist/providers/fireworks-ai.mjs.map +1 -0
  81. package/dist/providers/google-vertex.d.mts +1227 -0
  82. package/dist/providers/google-vertex.d.mts.map +1 -0
  83. package/dist/providers/google-vertex.mjs +39 -0
  84. package/dist/providers/google-vertex.mjs.map +1 -0
  85. package/dist/providers/google.d.mts +1359 -0
  86. package/dist/providers/google.d.mts.map +1 -0
  87. package/dist/providers/google.mjs +39 -0
  88. package/dist/providers/google.mjs.map +1 -0
  89. package/dist/providers/groq.d.mts +765 -0
  90. package/dist/providers/groq.d.mts.map +1 -0
  91. package/dist/providers/groq.mjs +39 -0
  92. package/dist/providers/groq.mjs.map +1 -0
  93. package/dist/providers/huggingface.d.mts +901 -0
  94. package/dist/providers/huggingface.d.mts.map +1 -0
  95. package/dist/providers/huggingface.mjs +39 -0
  96. package/dist/providers/huggingface.mjs.map +1 -0
  97. package/dist/providers/inception.d.mts +231 -0
  98. package/dist/providers/inception.d.mts.map +1 -0
  99. package/dist/providers/inception.mjs +39 -0
  100. package/dist/providers/inception.mjs.map +1 -0
  101. package/dist/providers/llama.d.mts +345 -0
  102. package/dist/providers/llama.d.mts.map +1 -0
  103. package/dist/providers/llama.mjs +39 -0
  104. package/dist/providers/llama.mjs.map +1 -0
  105. package/dist/providers/mistral.d.mts +1143 -0
  106. package/dist/providers/mistral.d.mts.map +1 -0
  107. package/dist/providers/mistral.mjs +39 -0
  108. package/dist/providers/mistral.mjs.map +1 -0
  109. package/dist/providers/nvidia.d.mts +3117 -0
  110. package/dist/providers/nvidia.d.mts.map +1 -0
  111. package/dist/providers/nvidia.mjs +39 -0
  112. package/dist/providers/nvidia.mjs.map +1 -0
  113. package/dist/providers/openai.d.mts +1963 -0
  114. package/dist/providers/openai.d.mts.map +1 -0
  115. package/dist/providers/openai.mjs +39 -0
  116. package/dist/providers/openai.mjs.map +1 -0
  117. package/dist/providers/openrouter.d.mts +8531 -0
  118. package/dist/providers/openrouter.d.mts.map +1 -0
  119. package/dist/providers/openrouter.mjs +39 -0
  120. package/dist/providers/openrouter.mjs.map +1 -0
  121. package/dist/providers/perplexity.d.mts +221 -0
  122. package/dist/providers/perplexity.d.mts.map +1 -0
  123. package/dist/providers/perplexity.mjs +39 -0
  124. package/dist/providers/perplexity.mjs.map +1 -0
  125. package/dist/providers/togetherai.d.mts +767 -0
  126. package/dist/providers/togetherai.d.mts.map +1 -0
  127. package/dist/providers/togetherai.mjs +39 -0
  128. package/dist/providers/togetherai.mjs.map +1 -0
  129. package/dist/providers/xai.d.mts +1161 -0
  130. package/dist/providers/xai.d.mts.map +1 -0
  131. package/dist/providers/xai.mjs +39 -0
  132. package/dist/providers/xai.mjs.map +1 -0
  133. package/dist/togetherai-BvcxUfPE.mjs +382 -0
  134. package/dist/togetherai-BvcxUfPE.mjs.map +1 -0
  135. package/dist/types-DjdaZckF.d.mts +71 -0
  136. package/dist/types-DjdaZckF.d.mts.map +1 -0
  137. package/dist/xai-fSuAkQJo.mjs +587 -0
  138. package/dist/xai-fSuAkQJo.mjs.map +1 -0
  139. package/docs/catalog/filtering.md +102 -0
  140. package/docs/catalog/overview.md +168 -0
  141. package/docs/catalog/providers.md +73 -0
  142. package/docs/cost/overview.md +125 -0
  143. package/docs/guides/filter-models.md +113 -0
  144. package/docs/guides/setup-resolver.md +106 -0
  145. package/docs/guides/track-costs.md +133 -0
  146. package/docs/overview.md +139 -0
  147. package/docs/provider/configuration.md +100 -0
  148. package/docs/provider/openrouter.md +105 -0
  149. package/docs/provider/overview.md +131 -0
  150. package/docs/troubleshooting.md +100 -0
  151. package/package.json +142 -0
  152. package/providers.json +39 -0
  153. package/scripts/generate-models.ts +392 -0
  154. package/src/catalog/index.test.ts +124 -0
  155. package/src/catalog/index.ts +65 -0
  156. package/src/catalog/providers/alibaba.ts +468 -0
  157. package/src/catalog/providers/amazon-bedrock.ts +941 -0
  158. package/src/catalog/providers/anthropic.ts +270 -0
  159. package/src/catalog/providers/cerebras.ts +61 -0
  160. package/src/catalog/providers/cohere.ts +149 -0
  161. package/src/catalog/providers/deepinfra.ts +325 -0
  162. package/src/catalog/providers/deepseek.ts +39 -0
  163. package/src/catalog/providers/fireworks-ai.ts +160 -0
  164. package/src/catalog/providers/google-vertex.ts +314 -0
  165. package/src/catalog/providers/google.ts +347 -0
  166. package/src/catalog/providers/groq.ts +204 -0
  167. package/src/catalog/providers/huggingface.ts +237 -0
  168. package/src/catalog/providers/inception.ts +61 -0
  169. package/src/catalog/providers/index.ts +59 -0
  170. package/src/catalog/providers/llama.ts +94 -0
  171. package/src/catalog/providers/mistral.ts +303 -0
  172. package/src/catalog/providers/nvidia.ts +820 -0
  173. package/src/catalog/providers/openai.ts +501 -0
  174. package/src/catalog/providers/openrouter.ts +2201 -0
  175. package/src/catalog/providers/perplexity.ts +61 -0
  176. package/src/catalog/providers/togetherai.ts +204 -0
  177. package/src/catalog/providers/xai.ts +292 -0
  178. package/src/catalog/types.ts +86 -0
  179. package/src/cost/calculate.test.ts +157 -0
  180. package/src/cost/calculate.ts +43 -0
  181. package/src/cost/index.ts +2 -0
  182. package/src/cost/types.ts +25 -0
  183. package/src/index.ts +25 -0
  184. package/src/provider/index.ts +9 -0
  185. package/src/provider/openrouter.test.ts +125 -0
  186. package/src/provider/openrouter.ts +110 -0
  187. package/src/provider/resolver.test.ts +138 -0
  188. package/src/provider/resolver.ts +125 -0
  189. package/src/provider/types.ts +39 -0
  190. package/src/providers/alibaba.ts +65 -0
  191. package/src/providers/amazon-bedrock.ts +67 -0
  192. package/src/providers/anthropic.ts +65 -0
  193. package/src/providers/cerebras.ts +65 -0
  194. package/src/providers/cohere.ts +65 -0
  195. package/src/providers/deepinfra.ts +65 -0
  196. package/src/providers/deepseek.ts +65 -0
  197. package/src/providers/fireworks-ai.ts +65 -0
  198. package/src/providers/google-vertex.ts +67 -0
  199. package/src/providers/google.ts +65 -0
  200. package/src/providers/groq.ts +65 -0
  201. package/src/providers/huggingface.ts +67 -0
  202. package/src/providers/inception.ts +65 -0
  203. package/src/providers/llama.ts +65 -0
  204. package/src/providers/mistral.ts +65 -0
  205. package/src/providers/nvidia.ts +65 -0
  206. package/src/providers/openai.ts +65 -0
  207. package/src/providers/openrouter.ts +67 -0
  208. package/src/providers/perplexity.ts +67 -0
  209. package/src/providers/togetherai.ts +65 -0
  210. package/src/providers/xai.ts +65 -0
  211. package/tsconfig.json +25 -0
  212. package/tsdown.config.ts +23 -0
  213. package/vitest.config.ts +29 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-vertex-DbS-zTGD.mjs","names":[],"sources":["../src/catalog/providers/google-vertex.ts"],"sourcesContent":["// ──────────────────────────────────────────────────────────────\n// ███████╗██╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ██╗\n// ██╔════╝██║ ██║████╗ ██║██║ ██╔╝██╔══██╗██║\n// █████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║██║\n// ██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██║\n// ██║ ╚██████╔╝██║ ╚████║██║ ██╗██║ ██║██║\n// ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝\n//\n// AUTO-GENERATED — DO NOT EDIT\n// Source: https://models.dev\n// Update: pnpm --filter=@funkai/models generate:models\n// ──────────────────────────────────────────────────────────────\n\nimport type { ModelDefinition } from \"../types.js\";\n\nexport const GOOGLE_VERTEX_MODELS = [\n {\n id: \"gemini-embedding-001\",\n name: \"Gemini Embedding 001\",\n provider: \"google-vertex\",\n family: \"gemini\",\n pricing: { input: 1.5e-7, output: 0 },\n contextWindow: 2048,\n maxOutput: 3072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },\n },\n {\n id: \"gemini-2.5-flash-lite-preview-09-2025\",\n name: \"Gemini 2.5 Flash Lite Preview 09-25\",\n provider: \"google-vertex\",\n family: \"gemini-flash-lite\",\n pricing: { input: 1e-7, output: 4e-7, cacheRead: 2.5e-8 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-3.1-pro-preview-customtools\",\n name: \"Gemini 3.1 Pro Preview Custom Tools\",\n provider: \"google-vertex\",\n family: \"gemini-pro\",\n pricing: { input: 0.000002, output: 0.000012, cacheRead: 2e-7 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"video\", \"audio\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },\n },\n {\n id: \"gemini-2.5-pro-preview-06-05\",\n name: \"Gemini 2.5 Pro Preview 06-05\",\n provider: \"google-vertex\",\n family: \"gemini-pro\",\n pricing: { input: 0.00000125, output: 0.00001, cacheRead: 3.1e-7 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-2.5-flash-preview-04-17\",\n name: \"Gemini 2.5 Flash Preview 04-17\",\n provider: \"google-vertex\",\n family: \"gemini-flash\",\n pricing: { input: 1.5e-7, output: 6e-7, cacheRead: 3.75e-8 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-2.5-flash-preview-09-2025\",\n name: \"Gemini 2.5 Flash Preview 09-25\",\n provider: \"google-vertex\",\n family: \"gemini-flash\",\n pricing: { input: 3e-7, output: 0.0000025, cacheRead: 7.5e-8, cacheWrite: 3.83e-7 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-2.5-pro-preview-05-06\",\n name: \"Gemini 2.5 Pro Preview 05-06\",\n provider: \"google-vertex\",\n family: \"gemini-pro\",\n pricing: { input: 0.00000125, output: 0.00001, cacheRead: 3.1e-7 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-2.5-flash-preview-05-20\",\n name: \"Gemini 2.5 Flash Preview 05-20\",\n provider: \"google-vertex\",\n family: \"gemini-flash\",\n pricing: { input: 1.5e-7, output: 6e-7, cacheRead: 3.75e-8 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-2.5-flash\",\n name: \"Gemini 2.5 Flash\",\n provider: \"google-vertex\",\n family: \"gemini-flash\",\n pricing: { input: 3e-7, output: 0.0000025, cacheRead: 7.5e-8, cacheWrite: 3.83e-7 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-3-flash-preview\",\n name: \"Gemini 3 Flash Preview\",\n provider: \"google-vertex\",\n family: \"gemini-flash\",\n pricing: { input: 5e-7, output: 0.000003, cacheRead: 5e-8 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"video\", \"audio\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },\n },\n {\n id: \"gemini-2.5-flash-lite\",\n name: \"Gemini 2.5 Flash Lite\",\n provider: \"google-vertex\",\n family: \"gemini-flash-lite\",\n pricing: { input: 1e-7, output: 4e-7, cacheRead: 2.5e-8 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-3.1-pro-preview\",\n name: \"Gemini 3.1 Pro Preview\",\n provider: \"google-vertex\",\n family: \"gemini-pro\",\n pricing: { input: 0.000002, output: 0.000012, cacheRead: 2e-7 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"video\", \"audio\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },\n },\n {\n id: \"gemini-flash-latest\",\n name: \"Gemini Flash Latest\",\n provider: \"google-vertex\",\n family: \"gemini-flash\",\n pricing: { input: 3e-7, output: 0.0000025, cacheRead: 7.5e-8, cacheWrite: 3.83e-7 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-2.5-flash-lite-preview-06-17\",\n name: \"Gemini 2.5 Flash Lite Preview 06-17\",\n provider: \"google-vertex\",\n family: \"gemini-flash-lite\",\n pricing: { input: 1e-7, output: 4e-7, cacheRead: 2.5e-8 },\n contextWindow: 65536,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-3-pro-preview\",\n name: \"Gemini 3 Pro Preview\",\n provider: \"google-vertex\",\n family: \"gemini-pro\",\n pricing: { input: 0.000002, output: 0.000012, cacheRead: 2e-7 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"video\", \"audio\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },\n },\n {\n id: \"gemini-2.0-flash-lite\",\n name: \"Gemini 2.0 Flash Lite\",\n provider: \"google-vertex\",\n family: \"gemini-flash-lite\",\n pricing: { input: 7.5e-8, output: 3e-7 },\n contextWindow: 1048576,\n maxOutput: 8192,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-flash-lite-latest\",\n name: \"Gemini Flash-Lite Latest\",\n provider: \"google-vertex\",\n family: \"gemini-flash-lite\",\n pricing: { input: 1e-7, output: 4e-7, cacheRead: 2.5e-8 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-2.5-pro\",\n name: \"Gemini 2.5 Pro\",\n provider: \"google-vertex\",\n family: \"gemini-pro\",\n pricing: { input: 0.00000125, output: 0.00001, cacheRead: 3.1e-7 },\n contextWindow: 1048576,\n maxOutput: 65536,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"gemini-2.0-flash\",\n name: \"Gemini 2.0 Flash\",\n provider: \"google-vertex\",\n family: \"gemini-flash\",\n pricing: { input: 1.5e-7, output: 6e-7, cacheRead: 2.5e-8 },\n contextWindow: 1048576,\n maxOutput: 8192,\n modalities: { input: [\"text\", \"image\", \"audio\", \"video\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"zai-org/glm-5-maas\",\n name: \"GLM-5\",\n provider: \"google-vertex\",\n family: \"glm\",\n pricing: { input: 0.000001, output: 0.0000032, cacheRead: 1e-7 },\n contextWindow: 202752,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"zai-org/glm-4.7-maas\",\n name: \"GLM-4.7\",\n provider: \"google-vertex\",\n family: \"glm\",\n pricing: { input: 6e-7, output: 0.0000022 },\n contextWindow: 200000,\n maxOutput: 128000,\n modalities: { input: [\"text\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },\n },\n {\n id: \"deepseek-ai/deepseek-v3.1-maas\",\n name: \"DeepSeek V3.1\",\n provider: \"google-vertex\",\n family: \"deepseek\",\n pricing: { input: 6e-7, output: 0.0000017 },\n contextWindow: 163840,\n maxOutput: 32768,\n modalities: { input: [\"text\", \"pdf\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },\n },\n {\n id: \"qwen/qwen3-235b-a22b-instruct-2507-maas\",\n name: \"Qwen3 235B A22B Instruct\",\n provider: \"google-vertex\",\n family: \"qwen\",\n pricing: { input: 2.2e-7, output: 8.8e-7 },\n contextWindow: 262144,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },\n },\n {\n id: \"meta/llama-4-maverick-17b-128e-instruct-maas\",\n name: \"Llama 4 Maverick 17B 128E Instruct\",\n provider: \"google-vertex\",\n family: \"llama\",\n pricing: { input: 3.5e-7, output: 0.00000115 },\n contextWindow: 524288,\n maxOutput: 8192,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: true },\n },\n {\n id: \"meta/llama-3.3-70b-instruct-maas\",\n name: \"Llama 3.3 70B Instruct\",\n provider: \"google-vertex\",\n family: \"llama\",\n pricing: { input: 7.2e-7, output: 7.2e-7 },\n contextWindow: 128000,\n maxOutput: 8192,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },\n },\n {\n id: \"openai/gpt-oss-20b-maas\",\n name: \"GPT OSS 20B\",\n provider: \"google-vertex\",\n family: \"gpt-oss\",\n pricing: { input: 7e-8, output: 2.5e-7 },\n contextWindow: 131072,\n maxOutput: 32768,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"openai/gpt-oss-120b-maas\",\n name: \"GPT OSS 120B\",\n provider: \"google-vertex\",\n family: \"gpt-oss\",\n pricing: { input: 9e-8, output: 3.6e-7 },\n contextWindow: 131072,\n maxOutput: 32768,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n] as const satisfies readonly ModelDefinition[];\n"],"mappings":";AAeA,MAAa,uBAAuB;CAClC;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAQ,QAAQ;GAAG;EACrC,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAO,UAAU;GAAO,YAAY;GAAO,kBAAkB;G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AO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC9F;CACF"}
@@ -0,0 +1,381 @@
1
+ //#region src/catalog/providers/groq.ts
2
+ const GROQ_MODELS = [
3
+ {
4
+ id: "llama3-70b-8192",
5
+ name: "Llama 3 70B",
6
+ provider: "groq",
7
+ family: "llama",
8
+ pricing: {
9
+ input: 59e-8,
10
+ output: 79e-8
11
+ },
12
+ contextWindow: 8192,
13
+ maxOutput: 8192,
14
+ modalities: {
15
+ input: ["text"],
16
+ output: ["text"]
17
+ },
18
+ capabilities: {
19
+ reasoning: false,
20
+ toolCall: true,
21
+ attachment: false,
22
+ structuredOutput: false
23
+ }
24
+ },
25
+ {
26
+ id: "qwen-qwq-32b",
27
+ name: "Qwen QwQ 32B",
28
+ provider: "groq",
29
+ family: "qwen",
30
+ pricing: {
31
+ input: 29e-8,
32
+ output: 39e-8
33
+ },
34
+ contextWindow: 131072,
35
+ maxOutput: 16384,
36
+ modalities: {
37
+ input: ["text"],
38
+ output: ["text"]
39
+ },
40
+ capabilities: {
41
+ reasoning: true,
42
+ toolCall: true,
43
+ attachment: false,
44
+ structuredOutput: false
45
+ }
46
+ },
47
+ {
48
+ id: "llama-3.1-8b-instant",
49
+ name: "Llama 3.1 8B Instant",
50
+ provider: "groq",
51
+ family: "llama",
52
+ pricing: {
53
+ input: 5e-8,
54
+ output: 8e-8
55
+ },
56
+ contextWindow: 131072,
57
+ maxOutput: 131072,
58
+ modalities: {
59
+ input: ["text"],
60
+ output: ["text"]
61
+ },
62
+ capabilities: {
63
+ reasoning: false,
64
+ toolCall: true,
65
+ attachment: false,
66
+ structuredOutput: false
67
+ }
68
+ },
69
+ {
70
+ id: "llama-guard-3-8b",
71
+ name: "Llama Guard 3 8B",
72
+ provider: "groq",
73
+ family: "llama",
74
+ pricing: {
75
+ input: 2e-7,
76
+ output: 2e-7
77
+ },
78
+ contextWindow: 8192,
79
+ maxOutput: 8192,
80
+ modalities: {
81
+ input: ["text"],
82
+ output: ["text"]
83
+ },
84
+ capabilities: {
85
+ reasoning: false,
86
+ toolCall: false,
87
+ attachment: false,
88
+ structuredOutput: false
89
+ }
90
+ },
91
+ {
92
+ id: "deepseek-r1-distill-llama-70b",
93
+ name: "DeepSeek R1 Distill Llama 70B",
94
+ provider: "groq",
95
+ family: "deepseek-thinking",
96
+ pricing: {
97
+ input: 75e-8,
98
+ output: 99e-8
99
+ },
100
+ contextWindow: 131072,
101
+ maxOutput: 8192,
102
+ modalities: {
103
+ input: ["text"],
104
+ output: ["text"]
105
+ },
106
+ capabilities: {
107
+ reasoning: true,
108
+ toolCall: true,
109
+ attachment: false,
110
+ structuredOutput: false
111
+ }
112
+ },
113
+ {
114
+ id: "llama3-8b-8192",
115
+ name: "Llama 3 8B",
116
+ provider: "groq",
117
+ family: "llama",
118
+ pricing: {
119
+ input: 5e-8,
120
+ output: 8e-8
121
+ },
122
+ contextWindow: 8192,
123
+ maxOutput: 8192,
124
+ modalities: {
125
+ input: ["text"],
126
+ output: ["text"]
127
+ },
128
+ capabilities: {
129
+ reasoning: false,
130
+ toolCall: true,
131
+ attachment: false,
132
+ structuredOutput: false
133
+ }
134
+ },
135
+ {
136
+ id: "mistral-saba-24b",
137
+ name: "Mistral Saba 24B",
138
+ provider: "groq",
139
+ family: "mistral",
140
+ pricing: {
141
+ input: 79e-8,
142
+ output: 79e-8
143
+ },
144
+ contextWindow: 32768,
145
+ maxOutput: 32768,
146
+ modalities: {
147
+ input: ["text"],
148
+ output: ["text"]
149
+ },
150
+ capabilities: {
151
+ reasoning: false,
152
+ toolCall: true,
153
+ attachment: false,
154
+ structuredOutput: false
155
+ }
156
+ },
157
+ {
158
+ id: "llama-3.3-70b-versatile",
159
+ name: "Llama 3.3 70B Versatile",
160
+ provider: "groq",
161
+ family: "llama",
162
+ pricing: {
163
+ input: 59e-8,
164
+ output: 79e-8
165
+ },
166
+ contextWindow: 131072,
167
+ maxOutput: 32768,
168
+ modalities: {
169
+ input: ["text"],
170
+ output: ["text"]
171
+ },
172
+ capabilities: {
173
+ reasoning: false,
174
+ toolCall: true,
175
+ attachment: false,
176
+ structuredOutput: false
177
+ }
178
+ },
179
+ {
180
+ id: "gemma2-9b-it",
181
+ name: "Gemma 2 9B",
182
+ provider: "groq",
183
+ family: "gemma",
184
+ pricing: {
185
+ input: 2e-7,
186
+ output: 2e-7
187
+ },
188
+ contextWindow: 8192,
189
+ maxOutput: 8192,
190
+ modalities: {
191
+ input: ["text"],
192
+ output: ["text"]
193
+ },
194
+ capabilities: {
195
+ reasoning: false,
196
+ toolCall: true,
197
+ attachment: false,
198
+ structuredOutput: false
199
+ }
200
+ },
201
+ {
202
+ id: "moonshotai/kimi-k2-instruct",
203
+ name: "Kimi K2 Instruct",
204
+ provider: "groq",
205
+ family: "kimi",
206
+ pricing: {
207
+ input: 1e-6,
208
+ output: 3e-6
209
+ },
210
+ contextWindow: 131072,
211
+ maxOutput: 16384,
212
+ modalities: {
213
+ input: ["text"],
214
+ output: ["text"]
215
+ },
216
+ capabilities: {
217
+ reasoning: false,
218
+ toolCall: true,
219
+ attachment: false,
220
+ structuredOutput: false
221
+ }
222
+ },
223
+ {
224
+ id: "moonshotai/kimi-k2-instruct-0905",
225
+ name: "Kimi K2 Instruct 0905",
226
+ provider: "groq",
227
+ family: "kimi",
228
+ pricing: {
229
+ input: 1e-6,
230
+ output: 3e-6
231
+ },
232
+ contextWindow: 262144,
233
+ maxOutput: 16384,
234
+ modalities: {
235
+ input: ["text"],
236
+ output: ["text"]
237
+ },
238
+ capabilities: {
239
+ reasoning: false,
240
+ toolCall: true,
241
+ attachment: false,
242
+ structuredOutput: true
243
+ }
244
+ },
245
+ {
246
+ id: "qwen/qwen3-32b",
247
+ name: "Qwen3 32B",
248
+ provider: "groq",
249
+ family: "qwen",
250
+ pricing: {
251
+ input: 29e-8,
252
+ output: 59e-8
253
+ },
254
+ contextWindow: 131072,
255
+ maxOutput: 16384,
256
+ modalities: {
257
+ input: ["text"],
258
+ output: ["text"]
259
+ },
260
+ capabilities: {
261
+ reasoning: true,
262
+ toolCall: true,
263
+ attachment: false,
264
+ structuredOutput: false
265
+ }
266
+ },
267
+ {
268
+ id: "meta-llama/llama-4-scout-17b-16e-instruct",
269
+ name: "Llama 4 Scout 17B",
270
+ provider: "groq",
271
+ family: "llama",
272
+ pricing: {
273
+ input: 11e-8,
274
+ output: 34e-8
275
+ },
276
+ contextWindow: 131072,
277
+ maxOutput: 8192,
278
+ modalities: {
279
+ input: ["text", "image"],
280
+ output: ["text"]
281
+ },
282
+ capabilities: {
283
+ reasoning: false,
284
+ toolCall: true,
285
+ attachment: false,
286
+ structuredOutput: true
287
+ }
288
+ },
289
+ {
290
+ id: "meta-llama/llama-guard-4-12b",
291
+ name: "Llama Guard 4 12B",
292
+ provider: "groq",
293
+ family: "llama",
294
+ pricing: {
295
+ input: 2e-7,
296
+ output: 2e-7
297
+ },
298
+ contextWindow: 131072,
299
+ maxOutput: 1024,
300
+ modalities: {
301
+ input: ["text", "image"],
302
+ output: ["text"]
303
+ },
304
+ capabilities: {
305
+ reasoning: false,
306
+ toolCall: false,
307
+ attachment: false,
308
+ structuredOutput: false
309
+ }
310
+ },
311
+ {
312
+ id: "meta-llama/llama-4-maverick-17b-128e-instruct",
313
+ name: "Llama 4 Maverick 17B",
314
+ provider: "groq",
315
+ family: "llama",
316
+ pricing: {
317
+ input: 2e-7,
318
+ output: 6e-7
319
+ },
320
+ contextWindow: 131072,
321
+ maxOutput: 8192,
322
+ modalities: {
323
+ input: ["text", "image"],
324
+ output: ["text"]
325
+ },
326
+ capabilities: {
327
+ reasoning: false,
328
+ toolCall: true,
329
+ attachment: false,
330
+ structuredOutput: true
331
+ }
332
+ },
333
+ {
334
+ id: "openai/gpt-oss-120b",
335
+ name: "GPT OSS 120B",
336
+ provider: "groq",
337
+ family: "gpt-oss",
338
+ pricing: {
339
+ input: 15e-8,
340
+ output: 6e-7
341
+ },
342
+ contextWindow: 131072,
343
+ maxOutput: 65536,
344
+ modalities: {
345
+ input: ["text"],
346
+ output: ["text"]
347
+ },
348
+ capabilities: {
349
+ reasoning: true,
350
+ toolCall: true,
351
+ attachment: false,
352
+ structuredOutput: true
353
+ }
354
+ },
355
+ {
356
+ id: "openai/gpt-oss-20b",
357
+ name: "GPT OSS 20B",
358
+ provider: "groq",
359
+ family: "gpt-oss",
360
+ pricing: {
361
+ input: 75e-9,
362
+ output: 3e-7
363
+ },
364
+ contextWindow: 131072,
365
+ maxOutput: 65536,
366
+ modalities: {
367
+ input: ["text"],
368
+ output: ["text"]
369
+ },
370
+ capabilities: {
371
+ reasoning: true,
372
+ toolCall: true,
373
+ attachment: false,
374
+ structuredOutput: true
375
+ }
376
+ }
377
+ ];
378
+ //#endregion
379
+ export { GROQ_MODELS as t };
380
+
381
+ //# sourceMappingURL=groq-ei_PerYi.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groq-ei_PerYi.mjs","names":[],"sources":["../src/catalog/providers/groq.ts"],"sourcesContent":["// ──────────────────────────────────────────────────────────────\n// ███████╗██╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ██╗\n// ██╔════╝██║ ██║████╗ ██║██║ ██╔╝██╔══██╗██║\n// █████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║██║\n// ██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██║\n// ██║ ╚██████╔╝██║ ╚████║██║ ██╗██║ ██║██║\n// ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝\n//\n// AUTO-GENERATED — DO NOT EDIT\n// Source: https://models.dev\n// Update: pnpm --filter=@funkai/models generate:models\n// ──────────────────────────────────────────────────────────────\n\nimport type { ModelDefinition } from \"../types.js\";\n\nexport const GROQ_MODELS = [\n {\n id: \"llama3-70b-8192\",\n name: \"Llama 3 70B\",\n provider: \"groq\",\n family: \"llama\",\n pricing: { input: 5.9e-7, output: 7.9e-7 },\n contextWindow: 8192,\n maxOutput: 8192,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"qwen-qwq-32b\",\n name: \"Qwen QwQ 32B\",\n provider: \"groq\",\n family: \"qwen\",\n pricing: { input: 2.9e-7, output: 3.9e-7 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"llama-3.1-8b-instant\",\n name: \"Llama 3.1 8B Instant\",\n provider: \"groq\",\n family: \"llama\",\n pricing: { input: 5e-8, output: 8e-8 },\n contextWindow: 131072,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"llama-guard-3-8b\",\n name: \"Llama Guard 3 8B\",\n provider: \"groq\",\n family: \"llama\",\n pricing: { input: 2e-7, output: 2e-7 },\n contextWindow: 8192,\n maxOutput: 8192,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },\n },\n {\n id: \"deepseek-r1-distill-llama-70b\",\n name: \"DeepSeek R1 Distill Llama 70B\",\n provider: \"groq\",\n family: \"deepseek-thinking\",\n pricing: { input: 7.5e-7, output: 9.9e-7 },\n contextWindow: 131072,\n maxOutput: 8192,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"llama3-8b-8192\",\n name: \"Llama 3 8B\",\n provider: \"groq\",\n family: \"llama\",\n pricing: { input: 5e-8, output: 8e-8 },\n contextWindow: 8192,\n maxOutput: 8192,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"mistral-saba-24b\",\n name: \"Mistral Saba 24B\",\n provider: \"groq\",\n family: \"mistral\",\n pricing: { input: 7.9e-7, output: 7.9e-7 },\n contextWindow: 32768,\n maxOutput: 32768,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"llama-3.3-70b-versatile\",\n name: \"Llama 3.3 70B Versatile\",\n provider: \"groq\",\n family: \"llama\",\n pricing: { input: 5.9e-7, output: 7.9e-7 },\n contextWindow: 131072,\n maxOutput: 32768,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"gemma2-9b-it\",\n name: \"Gemma 2 9B\",\n provider: \"groq\",\n family: \"gemma\",\n pricing: { input: 2e-7, output: 2e-7 },\n contextWindow: 8192,\n maxOutput: 8192,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"moonshotai/kimi-k2-instruct\",\n name: \"Kimi K2 Instruct\",\n provider: \"groq\",\n family: \"kimi\",\n pricing: { input: 0.000001, output: 0.000003 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"moonshotai/kimi-k2-instruct-0905\",\n name: \"Kimi K2 Instruct 0905\",\n provider: \"groq\",\n family: \"kimi\",\n pricing: { input: 0.000001, output: 0.000003 },\n contextWindow: 262144,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },\n },\n {\n id: \"qwen/qwen3-32b\",\n name: \"Qwen3 32B\",\n provider: \"groq\",\n family: \"qwen\",\n pricing: { input: 2.9e-7, output: 5.9e-7 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"meta-llama/llama-4-scout-17b-16e-instruct\",\n name: \"Llama 4 Scout 17B\",\n provider: \"groq\",\n family: \"llama\",\n pricing: { input: 1.1e-7, output: 3.4e-7 },\n contextWindow: 131072,\n maxOutput: 8192,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },\n },\n {\n id: \"meta-llama/llama-guard-4-12b\",\n name: \"Llama Guard 4 12B\",\n provider: \"groq\",\n family: \"llama\",\n pricing: { input: 2e-7, output: 2e-7 },\n contextWindow: 131072,\n maxOutput: 1024,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },\n },\n {\n id: \"meta-llama/llama-4-maverick-17b-128e-instruct\",\n name: \"Llama 4 Maverick 17B\",\n provider: \"groq\",\n family: \"llama\",\n pricing: { input: 2e-7, output: 6e-7 },\n contextWindow: 131072,\n maxOutput: 8192,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: true },\n },\n {\n id: \"openai/gpt-oss-120b\",\n name: \"GPT OSS 120B\",\n provider: \"groq\",\n family: \"gpt-oss\",\n pricing: { input: 1.5e-7, output: 6e-7 },\n contextWindow: 131072,\n maxOutput: 65536,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },\n },\n {\n id: \"openai/gpt-oss-20b\",\n name: \"GPT OSS 20B\",\n provider: \"groq\",\n family: \"gpt-oss\",\n pricing: { input: 7.5e-8, output: 3e-7 },\n contextWindow: 131072,\n maxOutput: 65536,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },\n },\n] as const satisfies readonly ModelDefinition[];\n"],"mappings":";AAeA,MAAa,cAAc;CACzB;EACE,IA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