@jjlmoya/utils-science 1.50.0 → 1.52.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 (338) hide show
  1. package/package.json +2 -2
  2. package/src/category/i18n/es.ts +3 -4
  3. package/src/category/i18n/fr.ts +2 -2
  4. package/src/category/i18n/it.ts +2 -2
  5. package/src/category/i18n/pt.ts +2 -2
  6. package/src/category/index.ts +25 -25
  7. package/src/components/PreviewNavSidebar.astro +1 -1
  8. package/src/components/PreviewToolbar.astro +1 -1
  9. package/src/data.ts +1 -1
  10. package/src/env.d.ts +1 -1
  11. package/src/layouts/PreviewLayout.astro +1 -1
  12. package/src/pages/index.astro +1 -1
  13. package/src/tests/bibliography_wellformed_export.test.ts +46 -0
  14. package/src/tests/category_seo_quality.test.ts +76 -0
  15. package/src/tests/faq_count.test.ts +19 -19
  16. package/src/tests/i18n_coverage.test.ts +36 -36
  17. package/src/tests/mocks/astro_mock.js +1 -1
  18. package/src/tests/no_h1_in_components.test.ts +1 -1
  19. package/src/tests/script_density.test.ts +94 -94
  20. package/src/tests/seo_length.test.ts +24 -24
  21. package/src/tests/seo_parity.test.ts +5 -5
  22. package/src/tests/seo_translation_completeness.test.ts +76 -0
  23. package/src/tests/seo_wellformed_export.test.ts +65 -0
  24. package/src/tests/spanish_leakage.test.ts +175 -153
  25. package/src/tool/asteroid-impact/component.astro +251 -251
  26. package/src/tool/asteroid-impact/helpers.ts +17 -17
  27. package/src/tool/asteroid-impact/i18n/de.ts +2 -2
  28. package/src/tool/asteroid-impact/i18n/en.ts +2 -2
  29. package/src/tool/asteroid-impact/i18n/es.ts +2 -2
  30. package/src/tool/asteroid-impact/i18n/fr.ts +2 -2
  31. package/src/tool/asteroid-impact/i18n/id.ts +2 -2
  32. package/src/tool/asteroid-impact/i18n/it.ts +2 -2
  33. package/src/tool/asteroid-impact/i18n/ja.ts +2 -2
  34. package/src/tool/asteroid-impact/i18n/ko.ts +2 -2
  35. package/src/tool/asteroid-impact/i18n/nl.ts +2 -2
  36. package/src/tool/asteroid-impact/i18n/pl.ts +2 -2
  37. package/src/tool/asteroid-impact/i18n/pt.ts +2 -2
  38. package/src/tool/asteroid-impact/i18n/ru.ts +2 -2
  39. package/src/tool/asteroid-impact/i18n/sv.ts +2 -2
  40. package/src/tool/asteroid-impact/i18n/tr.ts +2 -2
  41. package/src/tool/asteroid-impact/i18n/zh.ts +2 -2
  42. package/src/tool/asteroid-impact/script.ts +262 -262
  43. package/src/tool/asteroid-impact/seo.astro +15 -15
  44. package/src/tool/asteroid-impact/ui.ts +69 -69
  45. package/src/tool/black-hole-event-horizon-simulator/i18n/de.ts +249 -241
  46. package/src/tool/black-hole-event-horizon-simulator/i18n/fr.ts +252 -247
  47. package/src/tool/black-hole-event-horizon-simulator/i18n/id.ts +259 -259
  48. package/src/tool/black-hole-event-horizon-simulator/i18n/it.ts +255 -252
  49. package/src/tool/black-hole-event-horizon-simulator/i18n/ja.ts +254 -252
  50. package/src/tool/black-hole-event-horizon-simulator/i18n/ko.ts +258 -258
  51. package/src/tool/black-hole-event-horizon-simulator/i18n/nl.ts +256 -252
  52. package/src/tool/black-hole-event-horizon-simulator/i18n/pl.ts +258 -258
  53. package/src/tool/black-hole-event-horizon-simulator/i18n/pt.ts +256 -252
  54. package/src/tool/black-hole-event-horizon-simulator/i18n/ru.ts +258 -258
  55. package/src/tool/black-hole-event-horizon-simulator/i18n/sv.ts +257 -252
  56. package/src/tool/black-hole-event-horizon-simulator/i18n/tr.ts +256 -251
  57. package/src/tool/black-hole-event-horizon-simulator/i18n/zh.ts +261 -252
  58. package/src/tool/cellular-renewal/component.astro +126 -126
  59. package/src/tool/cellular-renewal/i18n/de.ts +1 -1
  60. package/src/tool/cellular-renewal/i18n/en.ts +1 -1
  61. package/src/tool/cellular-renewal/i18n/es.ts +1 -1
  62. package/src/tool/cellular-renewal/i18n/fr.ts +1 -1
  63. package/src/tool/cellular-renewal/i18n/id.ts +1 -1
  64. package/src/tool/cellular-renewal/i18n/it.ts +1 -1
  65. package/src/tool/cellular-renewal/i18n/ja.ts +1 -1
  66. package/src/tool/cellular-renewal/i18n/ko.ts +1 -1
  67. package/src/tool/cellular-renewal/i18n/nl.ts +1 -1
  68. package/src/tool/cellular-renewal/i18n/pl.ts +1 -1
  69. package/src/tool/cellular-renewal/i18n/pt.ts +1 -1
  70. package/src/tool/cellular-renewal/i18n/ru.ts +1 -1
  71. package/src/tool/cellular-renewal/i18n/sv.ts +1 -1
  72. package/src/tool/cellular-renewal/i18n/tr.ts +1 -1
  73. package/src/tool/cellular-renewal/i18n/zh.ts +1 -1
  74. package/src/tool/cellular-renewal/seo.astro +15 -15
  75. package/src/tool/colony-counter/i18n/de.ts +1 -1
  76. package/src/tool/colony-counter/i18n/en.ts +1 -1
  77. package/src/tool/colony-counter/i18n/es.ts +1 -1
  78. package/src/tool/colony-counter/i18n/fr.ts +1 -1
  79. package/src/tool/colony-counter/i18n/id.ts +1 -1
  80. package/src/tool/colony-counter/i18n/it.ts +1 -1
  81. package/src/tool/colony-counter/i18n/ja.ts +1 -1
  82. package/src/tool/colony-counter/i18n/ko.ts +1 -1
  83. package/src/tool/colony-counter/i18n/nl.ts +1 -1
  84. package/src/tool/colony-counter/i18n/pl.ts +1 -1
  85. package/src/tool/colony-counter/i18n/pt.ts +1 -1
  86. package/src/tool/colony-counter/i18n/ru.ts +1 -1
  87. package/src/tool/colony-counter/i18n/sv.ts +1 -1
  88. package/src/tool/colony-counter/i18n/tr.ts +1 -1
  89. package/src/tool/colony-counter/i18n/zh.ts +1 -1
  90. package/src/tool/colony-counter/seo.astro +15 -15
  91. package/src/tool/conway-life-rule-lab/component.astro +1 -1
  92. package/src/tool/conway-life-rule-lab/i18n/de.ts +145 -141
  93. package/src/tool/conway-life-rule-lab/i18n/es.ts +146 -142
  94. package/src/tool/conway-life-rule-lab/i18n/fr.ts +146 -142
  95. package/src/tool/conway-life-rule-lab/i18n/id.ts +146 -145
  96. package/src/tool/conway-life-rule-lab/i18n/it.ts +146 -145
  97. package/src/tool/conway-life-rule-lab/i18n/ja.ts +146 -145
  98. package/src/tool/conway-life-rule-lab/i18n/ko.ts +146 -145
  99. package/src/tool/conway-life-rule-lab/i18n/nl.ts +147 -145
  100. package/src/tool/conway-life-rule-lab/i18n/pl.ts +147 -145
  101. package/src/tool/conway-life-rule-lab/i18n/pt.ts +147 -145
  102. package/src/tool/conway-life-rule-lab/i18n/ru.ts +147 -145
  103. package/src/tool/conway-life-rule-lab/i18n/sv.ts +147 -145
  104. package/src/tool/conway-life-rule-lab/i18n/tr.ts +147 -145
  105. package/src/tool/conway-life-rule-lab/i18n/zh.ts +147 -145
  106. package/src/tool/conway-life-rule-lab/logic/LifeLabRuntime.ts +2 -2
  107. package/src/tool/cosmic-inflation/i18n/ru.ts +105 -105
  108. package/src/tool/crystal-lattice-structure-finder/i18n/de.ts +217 -217
  109. package/src/tool/crystal-lattice-structure-finder/i18n/en.ts +1 -1
  110. package/src/tool/crystal-lattice-structure-finder/i18n/es.ts +217 -217
  111. package/src/tool/crystal-lattice-structure-finder/i18n/fr.ts +217 -217
  112. package/src/tool/crystal-lattice-structure-finder/i18n/id.ts +217 -217
  113. package/src/tool/crystal-lattice-structure-finder/i18n/it.ts +217 -217
  114. package/src/tool/crystal-lattice-structure-finder/i18n/ja.ts +217 -217
  115. package/src/tool/crystal-lattice-structure-finder/i18n/ko.ts +217 -217
  116. package/src/tool/crystal-lattice-structure-finder/i18n/nl.ts +217 -217
  117. package/src/tool/crystal-lattice-structure-finder/i18n/pl.ts +217 -217
  118. package/src/tool/crystal-lattice-structure-finder/i18n/pt.ts +217 -217
  119. package/src/tool/crystal-lattice-structure-finder/i18n/ru.ts +217 -217
  120. package/src/tool/crystal-lattice-structure-finder/i18n/sv.ts +217 -217
  121. package/src/tool/crystal-lattice-structure-finder/i18n/tr.ts +217 -217
  122. package/src/tool/crystal-lattice-structure-finder/i18n/zh.ts +217 -217
  123. package/src/tool/double-slit-decoherence/i18n/de.ts +181 -181
  124. package/src/tool/double-slit-decoherence/i18n/fr.ts +180 -180
  125. package/src/tool/double-slit-decoherence/i18n/id.ts +181 -181
  126. package/src/tool/double-slit-decoherence/i18n/it.ts +180 -180
  127. package/src/tool/double-slit-decoherence/i18n/ja.ts +181 -181
  128. package/src/tool/double-slit-decoherence/i18n/ko.ts +181 -181
  129. package/src/tool/double-slit-decoherence/i18n/nl.ts +181 -181
  130. package/src/tool/double-slit-decoherence/i18n/pl.ts +181 -181
  131. package/src/tool/double-slit-decoherence/i18n/pt.ts +178 -174
  132. package/src/tool/double-slit-decoherence/i18n/ru.ts +180 -180
  133. package/src/tool/double-slit-decoherence/i18n/sv.ts +176 -172
  134. package/src/tool/double-slit-decoherence/i18n/tr.ts +180 -180
  135. package/src/tool/double-slit-decoherence/i18n/zh.ts +181 -181
  136. package/src/tool/dyson-sphere-energy-capture/component.astro +253 -253
  137. package/src/tool/dyson-sphere-energy-capture/i18n/de.ts +194 -194
  138. package/src/tool/dyson-sphere-energy-capture/i18n/en.ts +6 -6
  139. package/src/tool/dyson-sphere-energy-capture/i18n/es.ts +6 -6
  140. package/src/tool/dyson-sphere-energy-capture/i18n/fr.ts +194 -194
  141. package/src/tool/dyson-sphere-energy-capture/i18n/id.ts +195 -195
  142. package/src/tool/dyson-sphere-energy-capture/i18n/it.ts +194 -194
  143. package/src/tool/dyson-sphere-energy-capture/i18n/ja.ts +194 -190
  144. package/src/tool/dyson-sphere-energy-capture/i18n/ko.ts +194 -193
  145. package/src/tool/dyson-sphere-energy-capture/i18n/nl.ts +197 -197
  146. package/src/tool/dyson-sphere-energy-capture/i18n/pl.ts +168 -166
  147. package/src/tool/dyson-sphere-energy-capture/i18n/pt.ts +194 -193
  148. package/src/tool/dyson-sphere-energy-capture/i18n/ru.ts +195 -193
  149. package/src/tool/dyson-sphere-energy-capture/i18n/sv.ts +195 -193
  150. package/src/tool/dyson-sphere-energy-capture/i18n/tr.ts +168 -166
  151. package/src/tool/dyson-sphere-energy-capture/i18n/zh.ts +194 -193
  152. package/src/tool/epidemic-sir-simulator/i18n/de.ts +347 -347
  153. package/src/tool/epidemic-sir-simulator/i18n/es.ts +347 -347
  154. package/src/tool/epidemic-sir-simulator/i18n/fr.ts +347 -347
  155. package/src/tool/epidemic-sir-simulator/i18n/it.ts +346 -346
  156. package/src/tool/epidemic-sir-simulator/i18n/nl.ts +347 -347
  157. package/src/tool/epidemic-sir-simulator/i18n/ru.ts +347 -347
  158. package/src/tool/epidemic-sir-simulator/i18n/sv.ts +347 -347
  159. package/src/tool/epidemic-sir-simulator/i18n/zh.ts +347 -347
  160. package/src/tool/exoplanet-biosignature-detector/i18n/de.ts +186 -186
  161. package/src/tool/exoplanet-biosignature-detector/i18n/en.ts +195 -195
  162. package/src/tool/exoplanet-biosignature-detector/i18n/es.ts +194 -194
  163. package/src/tool/exoplanet-biosignature-detector/i18n/fr.ts +183 -183
  164. package/src/tool/exoplanet-biosignature-detector/i18n/id.ts +193 -193
  165. package/src/tool/exoplanet-biosignature-detector/i18n/it.ts +194 -194
  166. package/src/tool/exoplanet-biosignature-detector/i18n/ja.ts +194 -194
  167. package/src/tool/exoplanet-biosignature-detector/i18n/ko.ts +194 -194
  168. package/src/tool/exoplanet-biosignature-detector/i18n/nl.ts +194 -194
  169. package/src/tool/exoplanet-biosignature-detector/i18n/pl.ts +144 -144
  170. package/src/tool/exoplanet-biosignature-detector/i18n/pt.ts +146 -146
  171. package/src/tool/exoplanet-biosignature-detector/i18n/ru.ts +143 -143
  172. package/src/tool/exoplanet-biosignature-detector/i18n/sv.ts +144 -144
  173. package/src/tool/exoplanet-biosignature-detector/i18n/tr.ts +145 -145
  174. package/src/tool/exoplanet-biosignature-detector/i18n/zh.ts +194 -194
  175. package/src/tool/global-albedo-snowball-simulator/component.astro +1 -1
  176. package/src/tool/global-albedo-snowball-simulator/i18n/de.ts +169 -169
  177. package/src/tool/global-albedo-snowball-simulator/i18n/fr.ts +169 -169
  178. package/src/tool/global-albedo-snowball-simulator/i18n/id.ts +169 -169
  179. package/src/tool/global-albedo-snowball-simulator/i18n/it.ts +87 -87
  180. package/src/tool/global-albedo-snowball-simulator/i18n/ja.ts +87 -87
  181. package/src/tool/global-albedo-snowball-simulator/i18n/ko.ts +169 -169
  182. package/src/tool/global-albedo-snowball-simulator/i18n/nl.ts +169 -169
  183. package/src/tool/global-albedo-snowball-simulator/i18n/pl.ts +169 -169
  184. package/src/tool/global-albedo-snowball-simulator/i18n/pt.ts +169 -169
  185. package/src/tool/global-albedo-snowball-simulator/i18n/ru.ts +165 -161
  186. package/src/tool/global-albedo-snowball-simulator/i18n/sv.ts +169 -169
  187. package/src/tool/global-albedo-snowball-simulator/i18n/tr.ts +169 -169
  188. package/src/tool/global-albedo-snowball-simulator/i18n/zh.ts +169 -169
  189. package/src/tool/lorenz-attractor/i18n/de.ts +144 -143
  190. package/src/tool/lorenz-attractor/i18n/fr.ts +144 -144
  191. package/src/tool/lorenz-attractor/i18n/id.ts +149 -149
  192. package/src/tool/lorenz-attractor/i18n/it.ts +149 -149
  193. package/src/tool/lorenz-attractor/i18n/ja.ts +149 -149
  194. package/src/tool/lorenz-attractor/i18n/ko.ts +149 -149
  195. package/src/tool/lorenz-attractor/i18n/nl.ts +149 -149
  196. package/src/tool/lorenz-attractor/i18n/pl.ts +149 -149
  197. package/src/tool/lorenz-attractor/i18n/pt.ts +142 -141
  198. package/src/tool/lorenz-attractor/i18n/ru.ts +149 -149
  199. package/src/tool/lorenz-attractor/i18n/sv.ts +149 -149
  200. package/src/tool/lorenz-attractor/i18n/tr.ts +149 -149
  201. package/src/tool/lorenz-attractor/i18n/zh.ts +149 -149
  202. package/src/tool/mandelbrot-fractal/i18n/de.ts +158 -158
  203. package/src/tool/mandelbrot-fractal/i18n/fr.ts +158 -158
  204. package/src/tool/mandelbrot-fractal/i18n/id.ts +159 -159
  205. package/src/tool/mandelbrot-fractal/i18n/it.ts +155 -151
  206. package/src/tool/mandelbrot-fractal/i18n/ja.ts +159 -159
  207. package/src/tool/mandelbrot-fractal/i18n/ko.ts +159 -159
  208. package/src/tool/mandelbrot-fractal/i18n/nl.ts +159 -159
  209. package/src/tool/mandelbrot-fractal/i18n/pl.ts +157 -153
  210. package/src/tool/mandelbrot-fractal/i18n/pt.ts +158 -158
  211. package/src/tool/mandelbrot-fractal/i18n/ru.ts +159 -159
  212. package/src/tool/mandelbrot-fractal/i18n/sv.ts +159 -150
  213. package/src/tool/mandelbrot-fractal/i18n/tr.ts +159 -159
  214. package/src/tool/mandelbrot-fractal/i18n/zh.ts +159 -159
  215. package/src/tool/microwave-detector/component.astro +238 -238
  216. package/src/tool/microwave-detector/i18n/de.ts +1 -1
  217. package/src/tool/microwave-detector/i18n/en.ts +1 -1
  218. package/src/tool/microwave-detector/i18n/es.ts +1 -1
  219. package/src/tool/microwave-detector/i18n/fr.ts +1 -1
  220. package/src/tool/microwave-detector/i18n/id.ts +1 -1
  221. package/src/tool/microwave-detector/i18n/it.ts +1 -1
  222. package/src/tool/microwave-detector/i18n/ja.ts +1 -1
  223. package/src/tool/microwave-detector/i18n/ko.ts +1 -1
  224. package/src/tool/microwave-detector/i18n/nl.ts +1 -1
  225. package/src/tool/microwave-detector/i18n/pl.ts +1 -1
  226. package/src/tool/microwave-detector/i18n/pt.ts +1 -1
  227. package/src/tool/microwave-detector/i18n/ru.ts +1 -1
  228. package/src/tool/microwave-detector/i18n/sv.ts +1 -1
  229. package/src/tool/microwave-detector/i18n/tr.ts +1 -1
  230. package/src/tool/microwave-detector/i18n/zh.ts +1 -1
  231. package/src/tool/microwave-detector/seo.astro +15 -15
  232. package/src/tool/natural-selection-drift/component.astro +135 -135
  233. package/src/tool/natural-selection-drift/i18n/de.ts +164 -160
  234. package/src/tool/natural-selection-drift/i18n/fr.ts +204 -204
  235. package/src/tool/natural-selection-drift/i18n/id.ts +156 -154
  236. package/src/tool/natural-selection-drift/i18n/it.ts +197 -193
  237. package/src/tool/natural-selection-drift/i18n/ja.ts +155 -154
  238. package/src/tool/natural-selection-drift/i18n/ko.ts +155 -154
  239. package/src/tool/natural-selection-drift/i18n/nl.ts +164 -163
  240. package/src/tool/natural-selection-drift/i18n/pl.ts +168 -166
  241. package/src/tool/natural-selection-drift/i18n/pt.ts +200 -195
  242. package/src/tool/natural-selection-drift/i18n/ru.ts +186 -184
  243. package/src/tool/natural-selection-drift/i18n/sv.ts +157 -154
  244. package/src/tool/natural-selection-drift/i18n/tr.ts +186 -184
  245. package/src/tool/natural-selection-drift/i18n/zh.ts +160 -154
  246. package/src/tool/natural-selection-drift/natural-selection-drift.css +563 -563
  247. package/src/tool/phase-diagram-critical-points/i18n/de.ts +178 -178
  248. package/src/tool/phase-diagram-critical-points/i18n/fr.ts +178 -178
  249. package/src/tool/phase-diagram-critical-points/i18n/id.ts +179 -179
  250. package/src/tool/phase-diagram-critical-points/i18n/it.ts +179 -179
  251. package/src/tool/phase-diagram-critical-points/i18n/ja.ts +179 -179
  252. package/src/tool/phase-diagram-critical-points/i18n/ko.ts +179 -179
  253. package/src/tool/phase-diagram-critical-points/i18n/nl.ts +179 -179
  254. package/src/tool/phase-diagram-critical-points/i18n/pl.ts +179 -179
  255. package/src/tool/phase-diagram-critical-points/i18n/pt.ts +179 -179
  256. package/src/tool/phase-diagram-critical-points/i18n/ru.ts +179 -179
  257. package/src/tool/phase-diagram-critical-points/i18n/sv.ts +179 -179
  258. package/src/tool/phase-diagram-critical-points/i18n/tr.ts +179 -179
  259. package/src/tool/phase-diagram-critical-points/i18n/zh.ts +179 -179
  260. package/src/tool/planet-atmosphere-survival/i18n/de.ts +255 -255
  261. package/src/tool/planet-atmosphere-survival/i18n/fr.ts +255 -255
  262. package/src/tool/planet-atmosphere-survival/i18n/id.ts +255 -255
  263. package/src/tool/planet-atmosphere-survival/i18n/it.ts +255 -255
  264. package/src/tool/planet-atmosphere-survival/i18n/ja.ts +255 -255
  265. package/src/tool/planet-atmosphere-survival/i18n/ko.ts +255 -255
  266. package/src/tool/planet-atmosphere-survival/i18n/nl.ts +255 -255
  267. package/src/tool/planet-atmosphere-survival/i18n/pl.ts +255 -255
  268. package/src/tool/planet-atmosphere-survival/i18n/pt.ts +255 -255
  269. package/src/tool/planet-atmosphere-survival/i18n/ru.ts +227 -223
  270. package/src/tool/planet-atmosphere-survival/i18n/sv.ts +255 -255
  271. package/src/tool/planet-atmosphere-survival/i18n/tr.ts +255 -255
  272. package/src/tool/planet-atmosphere-survival/i18n/zh.ts +255 -255
  273. package/src/tool/radioactive-decay/i18n/de.ts +168 -164
  274. package/src/tool/radioactive-decay/i18n/fr.ts +76 -75
  275. package/src/tool/radioactive-decay/i18n/id.ts +169 -165
  276. package/src/tool/radioactive-decay/i18n/it.ts +76 -74
  277. package/src/tool/radioactive-decay/i18n/ja.ts +168 -167
  278. package/src/tool/radioactive-decay/i18n/ko.ts +168 -167
  279. package/src/tool/radioactive-decay/i18n/nl.ts +170 -168
  280. package/src/tool/radioactive-decay/i18n/pl.ts +170 -168
  281. package/src/tool/radioactive-decay/i18n/pt.ts +169 -167
  282. package/src/tool/radioactive-decay/i18n/ru.ts +170 -168
  283. package/src/tool/radioactive-decay/i18n/sv.ts +170 -168
  284. package/src/tool/radioactive-decay/i18n/tr.ts +171 -168
  285. package/src/tool/radioactive-decay/i18n/zh.ts +171 -167
  286. package/src/tool/roche-limit-satellite-disruption/i18n/de.ts +241 -241
  287. package/src/tool/roche-limit-satellite-disruption/i18n/fr.ts +241 -241
  288. package/src/tool/roche-limit-satellite-disruption/i18n/id.ts +241 -241
  289. package/src/tool/roche-limit-satellite-disruption/i18n/it.ts +241 -241
  290. package/src/tool/roche-limit-satellite-disruption/i18n/ja.ts +241 -241
  291. package/src/tool/roche-limit-satellite-disruption/i18n/ko.ts +241 -241
  292. package/src/tool/roche-limit-satellite-disruption/i18n/nl.ts +241 -241
  293. package/src/tool/roche-limit-satellite-disruption/i18n/pl.ts +237 -229
  294. package/src/tool/roche-limit-satellite-disruption/i18n/pt.ts +241 -241
  295. package/src/tool/roche-limit-satellite-disruption/i18n/ru.ts +241 -241
  296. package/src/tool/roche-limit-satellite-disruption/i18n/sv.ts +241 -241
  297. package/src/tool/roche-limit-satellite-disruption/i18n/tr.ts +241 -241
  298. package/src/tool/roche-limit-satellite-disruption/i18n/zh.ts +241 -241
  299. package/src/tool/simulation-probability/component.astro +138 -138
  300. package/src/tool/simulation-probability/i18n/de.ts +1 -1
  301. package/src/tool/simulation-probability/i18n/en.ts +1 -1
  302. package/src/tool/simulation-probability/i18n/es.ts +1 -1
  303. package/src/tool/simulation-probability/i18n/fr.ts +1 -1
  304. package/src/tool/simulation-probability/i18n/id.ts +1 -1
  305. package/src/tool/simulation-probability/i18n/it.ts +1 -1
  306. package/src/tool/simulation-probability/i18n/ja.ts +1 -1
  307. package/src/tool/simulation-probability/i18n/ko.ts +1 -1
  308. package/src/tool/simulation-probability/i18n/nl.ts +1 -1
  309. package/src/tool/simulation-probability/i18n/pl.ts +1 -1
  310. package/src/tool/simulation-probability/i18n/pt.ts +1 -1
  311. package/src/tool/simulation-probability/i18n/ru.ts +1 -1
  312. package/src/tool/simulation-probability/i18n/sv.ts +1 -1
  313. package/src/tool/simulation-probability/i18n/tr.ts +1 -1
  314. package/src/tool/simulation-probability/i18n/zh.ts +1 -1
  315. package/src/tool/simulation-probability/seo.astro +15 -15
  316. package/src/tool/stellar-habitability-zone/i18n/ru.ts +189 -189
  317. package/src/tool/temperature-timeline/i18n/de.ts +2 -1
  318. package/src/tool/temperature-timeline/i18n/fr.ts +177 -177
  319. package/src/tool/temperature-timeline/i18n/it.ts +142 -141
  320. package/src/tool/temperature-timeline/i18n/pt.ts +3 -1
  321. package/src/tool/temperature-timeline/i18n/ru.ts +116 -114
  322. package/src/tool/three-body-problem/app.ts +4 -4
  323. package/src/tool/three-body-problem/component.astro +6 -6
  324. package/src/tool/twin-paradox-visualizer/i18n/de.ts +168 -168
  325. package/src/tool/twin-paradox-visualizer/i18n/es.ts +165 -165
  326. package/src/tool/twin-paradox-visualizer/i18n/fr.ts +168 -168
  327. package/src/tool/twin-paradox-visualizer/i18n/id.ts +168 -168
  328. package/src/tool/twin-paradox-visualizer/i18n/it.ts +168 -168
  329. package/src/tool/twin-paradox-visualizer/i18n/ja.ts +168 -168
  330. package/src/tool/twin-paradox-visualizer/i18n/ko.ts +168 -168
  331. package/src/tool/twin-paradox-visualizer/i18n/nl.ts +168 -168
  332. package/src/tool/twin-paradox-visualizer/i18n/pl.ts +168 -168
  333. package/src/tool/twin-paradox-visualizer/i18n/pt.ts +164 -160
  334. package/src/tool/twin-paradox-visualizer/i18n/ru.ts +168 -168
  335. package/src/tool/twin-paradox-visualizer/i18n/sv.ts +168 -168
  336. package/src/tool/twin-paradox-visualizer/i18n/tr.ts +168 -168
  337. package/src/tool/twin-paradox-visualizer/i18n/zh.ts +168 -168
  338. package/src/types.ts +1 -1
@@ -1,168 +1,168 @@
1
- import { bibliography } from '../bibliography';
2
- import type { ToolLocaleContent } from '../../../types';
3
-
4
- const slug = 'twin-paradox-visualizer';
5
- const title = '双生子悖论可视化器: 狭义相对论的时间膨胀';
6
- const description = '直观展示狭义相对论如何让高速旅行的双胞胎比留在地球上的那个更年轻地返回。';
7
-
8
- const howTo = [
9
- {
10
- name: '设置飞船速度',
11
- text: '使用速度滑块选择光速的百分比,观察洛伦兹因子如何增加。',
12
- },
13
- {
14
- name: '选择地球参考系的任务时长',
15
- text: '调整留在参考系中的双胞胎在整个往返旅程中度过的年数。',
16
- },
17
- {
18
- name: '比较时钟和世界线',
19
- text: '读取年龄差、飞船经过时间、地球参考系距离以及标志着旅行双胞胎变换惯性系的弯曲世界线。',
20
- },
21
- ];
22
-
23
- const faq = [
24
- {
25
- question: '狭义相对论中的双生子悖论是什么?',
26
- answer: '双生子悖论是一个思想实验,其中一个双胞胎以相对论速度在太空旅行,后来返回地球时比留在家里的双胞胎更年轻。它感觉上是悖论,因为一开始每个双胞胎都可以描述对方在运动,但旅行双胞胎在折返时改变了惯性系,因此通过时空的两条路径并不对称。',
27
- },
28
- {
29
- question: '为什么旅行双胞胎衰老得更慢?',
30
- answer: '在狭义相对论中,经过的固有时取决于通过时空的路径。相对于惯性观测者以速度v运动的时钟,其走时慢了一个洛伦兹因子gamma。旅行者在去程和返程中积累的固有时比留在地球上的双胞胎少。',
31
- },
32
- {
33
- question: '加速度是导致年龄差异的原因吗?',
34
- answer: '加速度很重要,因为它让旅行者能够反转方向并与地球重逢,但年龄差是根据完整的时空路径计算的,而不仅仅是加速度。即使折返非常短暂,旅行路径仍然会比地球路径包含更少的固有时。',
35
- },
36
- {
37
- question: '洛伦兹因子gamma是什么意思?',
38
- answer: '洛伦兹因子gamma等于1除以1减去v平方除以c平方的平方根。它告诉你惯性系之间的时间间隔、长度和能量有多大差异。在日常速度下,gamma几乎为1,但在接近光速时会急剧上升。',
39
- },
40
- {
41
- question: '这种效应能在现实生活中测量到吗?',
42
- answer: '能。时间膨胀已经通过快速粒子、飞机上的原子钟、卫星定位系统和粒子加速器测量过。双生子悖论使用了一个极端的旅行故事,但其背后的时钟效应是现代物理学中经常验证的一部分。',
43
- },
44
- ];
45
-
46
- export const content: ToolLocaleContent = {
47
- slug,
48
- title,
49
- description,
50
- ui: {
51
- visualTitle: '双生子悖论时空可视化',
52
- controlsTitle: '双生子悖论控制',
53
- worldlineLabel: '地球双胞胎与旅行双胞胎的世界线图',
54
- earthTwin: '地球双胞胎年龄',
55
- travelingTwin: '旅行者年龄',
56
- presetCruise: '巡航',
57
- presetRelativistic: '相对论性',
58
- presetExtreme: '极端',
59
- velocityLabel: '飞船速度',
60
- earthYearsLabel: '地球经过时间',
61
- ageGapLabel: '重逢时年龄差',
62
- gammaLabel: '洛伦兹因子',
63
- shipTimeLabel: '旅行者固有时',
64
- distanceLabel: '折返距离',
65
- yearsUnit: '年',
66
- yearsShortUnit: '年',
67
- },
68
- seo: [
69
- {
70
- type: 'title',
71
- text: '狭义相对论双生子悖论计算器',
72
- level: 2,
73
- },
74
- {
75
- type: 'paragraph',
76
- html: '双生子悖论可视化器将狭义相对论中最著名的思想之一转化为交互式时空图。将飞船速度设为光速的一个百分比,选择地球上经过多少年,计算器就会算出洛伦兹因子、旅行者固有时、重逢时的年龄差以及到折返点的距离。视觉布局将地球时钟与飞船时钟分开,使得不对称性显而易见,而不是隐藏在公式之中。',
77
- },
78
- {
79
- type: 'title',
80
- text: '计算原理',
81
- level: 3,
82
- },
83
- {
84
- type: 'paragraph',
85
- html: '核心量是洛伦兹因子: gamma = 1 / sqrt(1 - v^2 / c^2)。对于恒定巡航速度的简单往返旅程,旅行者经历的时间等于地球参考系任务时长除以gamma。这两个时长之差就是双胞胎重逢时的年龄差。该工具还显示地球参考系中的折返距离,等于总地球时间的一半乘以以光年每年为单位的飞船速度。',
86
- },
87
- {
88
- type: 'table',
89
- headers: ['速度', '洛伦兹因子', '旅行者时钟速率', '物理意义'],
90
- rows: [
91
- ['0.50c', '1.155', '地球速率的86.6%', '显著但适度的相对论效应。'],
92
- ['0.86c', '1.960', '地球速率的51.0%', '旅行者在巡航期间衰老速度大约减半。'],
93
- ['0.98c', '5.025', '地球速率的19.9%', '极端的时间膨胀主导了任务结果。'],
94
- ],
95
- },
96
- {
97
- type: 'title',
98
- text: '为什么情况不对称',
99
- level: 3,
100
- },
101
- {
102
- type: 'paragraph',
103
- html: '乍一看,每个双胞胎都可以说对方在运动,这使得结果看似矛盾。解决之道在于,地球双胞胎大致保持在一个惯性系中,而旅行双胞胎则离开、反转方向并返回。这种惯性系的改变给旅行者带来了通过时空的不同路径。本工具绘制的世界线在折返事件处弯曲,而地球双胞胎的世界线保持笔直。',
104
- },
105
- {
106
- type: 'title',
107
- text: '如何阅读世界线图',
108
- level: 3,
109
- },
110
- {
111
- type: 'paragraph',
112
- html: '世界线是一个物体通过时空而非仅仅通过空间的图谱。在本可视化器中,垂直的地球线代表留在家中的双胞胎。倾斜的红色路径代表离开地球并返回的旅行者。增加速度会使旅行者路径的倾斜更加明显,并减少飞船时钟上积累的固有时。',
113
- },
114
- {
115
- type: 'list',
116
- items: [
117
- '<strong>年龄差:</strong> 重逢时旅行者年轻了多少。',
118
- '<strong>洛伦兹因子:</strong> 将地球参考系时间与旅行者固有时联系起来的倍数。',
119
- '<strong>旅行者固有时:</strong> 飞船时钟测量的实际经过时间。',
120
- '<strong>折返距离:</strong> 旅行者反转航向前在地球参考系中的向外距离。',
121
- ],
122
- },
123
- {
124
- type: 'title',
125
- text: '时间膨胀的实际证据',
126
- level: 3,
127
- },
128
- {
129
- type: 'paragraph',
130
- html: '双生子悖论是一个简洁的思想实验,但时间膨胀并非推测。上层大气中产生的缪子之所以能存活足够长的时间到达地面,是因为从地球视角看,它们运动的时钟变慢了。飞机上的原子钟实验和精密卫星导航也需要相对论修正。本可视化器背后的数学原理与现代GPS系统使用的时间基础设施是相同的。',
131
- },
132
- ],
133
- faq,
134
- bibliography,
135
- howTo,
136
- schemas: [
137
- {
138
- '@context': 'https://schema.org',
139
- '@type': 'SoftwareApplication',
140
- name: title,
141
- description,
142
- applicationCategory: 'ScientificApplication',
143
- operatingSystem: 'Any',
144
- },
145
- {
146
- '@context': 'https://schema.org',
147
- '@type': 'FAQPage',
148
- mainEntity: faq.map((item) => ({
149
- '@type': 'Question',
150
- name: item.question,
151
- acceptedAnswer: {
152
- '@type': 'Answer',
153
- text: item.answer,
154
- },
155
- })),
156
- },
157
- {
158
- '@context': 'https://schema.org',
159
- '@type': 'HowTo',
160
- name: title,
161
- step: howTo.map((step) => ({
162
- '@type': 'HowToStep',
163
- name: step.name,
164
- text: step.text,
165
- })),
166
- },
167
- ],
168
- };
1
+ import { bibliography } from '../bibliography';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ const slug = 'twin-paradox-visualizer';
5
+ const title = '双生子悖论可视化器: 狭义相对论的时间膨胀';
6
+ const description = '直观展示狭义相对论如何让高速旅行的双胞胎比留在地球上的那个更年轻地返回。';
7
+
8
+ const howTo = [
9
+ {
10
+ name: '设置飞船速度',
11
+ text: '使用速度滑块选择光速的百分比,观察洛伦兹因子如何增加。',
12
+ },
13
+ {
14
+ name: '选择地球参考系的任务时长',
15
+ text: '调整留在参考系中的双胞胎在整个往返旅程中度过的年数。',
16
+ },
17
+ {
18
+ name: '比较时钟和世界线',
19
+ text: '读取年龄差、飞船经过时间、地球参考系距离以及标志着旅行双胞胎变换惯性系的弯曲世界线。',
20
+ },
21
+ ];
22
+
23
+ const faq = [
24
+ {
25
+ question: '狭义相对论中的双生子悖论是什么?',
26
+ answer: '双生子悖论是一个思想实验,其中一个双胞胎以相对论速度在太空旅行,后来返回地球时比留在家里的双胞胎更年轻。它感觉上是悖论,因为一开始每个双胞胎都可以描述对方在运动,但旅行双胞胎在折返时改变了惯性系,因此通过时空的两条路径并不对称。',
27
+ },
28
+ {
29
+ question: '为什么旅行双胞胎衰老得更慢?',
30
+ answer: '在狭义相对论中,经过的固有时取决于通过时空的路径。相对于惯性观测者以速度v运动的时钟,其走时慢了一个洛伦兹因子gamma。旅行者在去程和返程中积累的固有时比留在地球上的双胞胎少。',
31
+ },
32
+ {
33
+ question: '加速度是导致年龄差异的原因吗?',
34
+ answer: '加速度很重要,因为它让旅行者能够反转方向并与地球重逢,但年龄差是根据完整的时空路径计算的,而不仅仅是加速度。即使折返非常短暂,旅行路径仍然会比地球路径包含更少的固有时。',
35
+ },
36
+ {
37
+ question: '洛伦兹因子gamma是什么意思?',
38
+ answer: '洛伦兹因子gamma等于1除以1减去v平方除以c平方的平方根。它告诉你惯性系之间的时间间隔、长度和能量有多大差异。在日常速度下,gamma几乎为1,但在接近光速时会急剧上升。',
39
+ },
40
+ {
41
+ question: '这种效应能在现实生活中测量到吗?',
42
+ answer: '能。时间膨胀已经通过快速粒子、飞机上的原子钟、卫星定位系统和粒子加速器测量过。双生子悖论使用了一个极端的旅行故事,但其背后的时钟效应是现代物理学中经常验证的一部分。',
43
+ },
44
+ ];
45
+
46
+ export const content: ToolLocaleContent = {
47
+ slug,
48
+ title,
49
+ description,
50
+ ui: {
51
+ visualTitle: '双生子悖论时空可视化',
52
+ controlsTitle: '双生子悖论控制',
53
+ worldlineLabel: '地球双胞胎与旅行双胞胎的世界线图',
54
+ earthTwin: '地球双胞胎年龄',
55
+ travelingTwin: '旅行者年龄',
56
+ presetCruise: '巡航',
57
+ presetRelativistic: '相对论性',
58
+ presetExtreme: '极端',
59
+ velocityLabel: '飞船速度',
60
+ earthYearsLabel: '地球经过时间',
61
+ ageGapLabel: '重逢时年龄差',
62
+ gammaLabel: '洛伦兹因子',
63
+ shipTimeLabel: '旅行者固有时',
64
+ distanceLabel: '折返距离',
65
+ yearsUnit: '年',
66
+ yearsShortUnit: '年',
67
+ },
68
+ seo: [
69
+ {
70
+ type: 'title',
71
+ text: '狭义相对论双生子悖论计算器',
72
+ level: 2,
73
+ },
74
+ {
75
+ type: 'paragraph',
76
+ html: '双生子悖论可视化器将狭义相对论中最著名的思想之一转化为交互式时空图。将飞船速度设为光速的一个百分比,选择地球上经过多少年,计算器就会算出洛伦兹因子、旅行者固有时、重逢时的年龄差以及到折返点的距离。视觉布局将地球时钟与飞船时钟分开,使得不对称性显而易见,而不是隐藏在公式之中。',
77
+ },
78
+ {
79
+ type: 'title',
80
+ text: '计算原理',
81
+ level: 3,
82
+ },
83
+ {
84
+ type: 'paragraph',
85
+ html: '核心量是洛伦兹因子: gamma = 1 / sqrt(1 - v^2 / c^2)。对于恒定巡航速度的简单往返旅程,旅行者经历的时间等于地球参考系任务时长除以gamma。这两个时长之差就是双胞胎重逢时的年龄差。该工具还显示地球参考系中的折返距离,等于总地球时间的一半乘以以光年每年为单位的飞船速度。',
86
+ },
87
+ {
88
+ type: 'table',
89
+ headers: ['速度', '洛伦兹因子', '旅行者时钟速率', '物理意义'],
90
+ rows: [
91
+ ['0.50c', '1.155', '地球速率的86.6%', '显著但适度的相对论效应。'],
92
+ ['0.86c', '1.960', '地球速率的51.0%', '旅行者在巡航期间衰老速度大约减半。'],
93
+ ['0.98c', '5.025', '地球速率的19.9%', '极端的时间膨胀主导了任务结果。'],
94
+ ],
95
+ },
96
+ {
97
+ type: 'title',
98
+ text: '为什么情况不对称',
99
+ level: 3,
100
+ },
101
+ {
102
+ type: 'paragraph',
103
+ html: '乍一看,每个双胞胎都可以说对方在运动,这使得结果看似矛盾。解决之道在于,地球双胞胎大致保持在一个惯性系中,而旅行双胞胎则离开、反转方向并返回。这种惯性系的改变给旅行者带来了通过时空的不同路径。本工具绘制的世界线在折返事件处弯曲,而地球双胞胎的世界线保持笔直。',
104
+ },
105
+ {
106
+ type: 'title',
107
+ text: '如何阅读世界线图',
108
+ level: 3,
109
+ },
110
+ {
111
+ type: 'paragraph',
112
+ html: '世界线是一个物体通过时空而非仅仅通过空间的图谱。在本可视化器中,垂直的地球线代表留在家中的双胞胎。倾斜的红色路径代表离开地球并返回的旅行者。增加速度会使旅行者路径的倾斜更加明显,并减少飞船时钟上积累的固有时。',
113
+ },
114
+ {
115
+ type: 'list',
116
+ items: [
117
+ '<strong>年龄差:</strong> 重逢时旅行者年轻了多少。',
118
+ '<strong>洛伦兹因子:</strong> 将地球参考系时间与旅行者固有时联系起来的倍数。',
119
+ '<strong>旅行者固有时:</strong> 飞船时钟测量的实际经过时间。',
120
+ '<strong>折返距离:</strong> 旅行者反转航向前在地球参考系中的向外距离。',
121
+ ],
122
+ },
123
+ {
124
+ type: 'title',
125
+ text: '时间膨胀的实际证据',
126
+ level: 3,
127
+ },
128
+ {
129
+ type: 'paragraph',
130
+ html: '双生子悖论是一个简洁的思想实验,但时间膨胀并非推测。上层大气中产生的缪子之所以能存活足够长的时间到达地面,是因为从地球视角看,它们运动的时钟变慢了。飞机上的原子钟实验和精密卫星导航也需要相对论修正。本可视化器背后的数学原理与现代GPS系统使用的时间基础设施是相同的。',
131
+ },
132
+ ],
133
+ faq,
134
+ bibliography,
135
+ howTo,
136
+ schemas: [
137
+ {
138
+ '@context': 'https://schema.org',
139
+ '@type': 'SoftwareApplication',
140
+ name: title,
141
+ description,
142
+ applicationCategory: 'ScientificApplication',
143
+ operatingSystem: 'Any',
144
+ },
145
+ {
146
+ '@context': 'https://schema.org',
147
+ '@type': 'FAQPage',
148
+ mainEntity: faq.map((item) => ({
149
+ '@type': 'Question',
150
+ name: item.question,
151
+ acceptedAnswer: {
152
+ '@type': 'Answer',
153
+ text: item.answer,
154
+ },
155
+ })),
156
+ },
157
+ {
158
+ '@context': 'https://schema.org',
159
+ '@type': 'HowTo',
160
+ name: title,
161
+ step: howTo.map((step) => ({
162
+ '@type': 'HowToStep',
163
+ name: step.name,
164
+ text: step.text,
165
+ })),
166
+ },
167
+ ],
168
+ };
package/src/types.ts CHANGED
@@ -67,4 +67,4 @@ export interface ToolDefinition {
67
67
  SEOComponent: unknown;
68
68
  BibliographyComponent: unknown;
69
69
  }
70
-
70
+