@jjlmoya/utils-alcohol 1.24.0 → 1.26.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 (144) hide show
  1. package/package.json +1 -1
  2. package/src/entries.ts +7 -1
  3. package/src/index.ts +1 -0
  4. package/src/pages/[locale]/[slug].astro +7 -3
  5. package/src/tests/locale_completeness.test.ts +4 -9
  6. package/src/tests/tool_validation.test.ts +2 -2
  7. package/src/tool/alcoholClearance/alcohol-clearance-calculator.css +23 -23
  8. package/src/tool/alcoholClearance/bibliography.ts +6 -0
  9. package/src/tool/alcoholClearance/entry.ts +1 -0
  10. package/src/tool/alcoholClearance/i18n/de.ts +1 -12
  11. package/src/tool/alcoholClearance/i18n/en.ts +1 -12
  12. package/src/tool/alcoholClearance/i18n/es.ts +1 -12
  13. package/src/tool/alcoholClearance/i18n/fr.ts +1 -12
  14. package/src/tool/alcoholClearance/i18n/id.ts +1 -12
  15. package/src/tool/alcoholClearance/i18n/it.ts +1 -12
  16. package/src/tool/alcoholClearance/i18n/ja.ts +1 -12
  17. package/src/tool/alcoholClearance/i18n/ko.ts +1 -12
  18. package/src/tool/alcoholClearance/i18n/nl.ts +1 -12
  19. package/src/tool/alcoholClearance/i18n/pl.ts +1 -12
  20. package/src/tool/alcoholClearance/i18n/pt.ts +1 -12
  21. package/src/tool/alcoholClearance/i18n/ru.ts +1 -12
  22. package/src/tool/alcoholClearance/i18n/sv.ts +1 -12
  23. package/src/tool/alcoholClearance/i18n/tr.ts +1 -12
  24. package/src/tool/alcoholClearance/i18n/zh.ts +1 -12
  25. package/src/tool/beerCooler/beer-cooler.css +22 -22
  26. package/src/tool/beerCooler/bibliography.ts +6 -0
  27. package/src/tool/beerCooler/entry.ts +1 -0
  28. package/src/tool/beerCooler/i18n/de.ts +1 -12
  29. package/src/tool/beerCooler/i18n/en.ts +1 -12
  30. package/src/tool/beerCooler/i18n/es.ts +1 -12
  31. package/src/tool/beerCooler/i18n/fr.ts +1 -12
  32. package/src/tool/beerCooler/i18n/id.ts +1 -12
  33. package/src/tool/beerCooler/i18n/it.ts +1 -12
  34. package/src/tool/beerCooler/i18n/ja.ts +1 -12
  35. package/src/tool/beerCooler/i18n/ko.ts +1 -12
  36. package/src/tool/beerCooler/i18n/nl.ts +1 -12
  37. package/src/tool/beerCooler/i18n/pl.ts +1 -12
  38. package/src/tool/beerCooler/i18n/pt.ts +1 -12
  39. package/src/tool/beerCooler/i18n/ru.ts +1 -12
  40. package/src/tool/beerCooler/i18n/sv.ts +1 -12
  41. package/src/tool/beerCooler/i18n/tr.ts +1 -12
  42. package/src/tool/beerCooler/i18n/zh.ts +1 -12
  43. package/src/tool/carbonationCalculator/beer-carbonation-calculator.css +19 -19
  44. package/src/tool/carbonationCalculator/bibliography.ts +6 -0
  45. package/src/tool/carbonationCalculator/entry.ts +1 -0
  46. package/src/tool/carbonationCalculator/i18n/de.ts +1 -12
  47. package/src/tool/carbonationCalculator/i18n/en.ts +1 -12
  48. package/src/tool/carbonationCalculator/i18n/es.ts +1 -12
  49. package/src/tool/carbonationCalculator/i18n/fr.ts +1 -12
  50. package/src/tool/carbonationCalculator/i18n/id.ts +1 -12
  51. package/src/tool/carbonationCalculator/i18n/it.ts +1 -12
  52. package/src/tool/carbonationCalculator/i18n/ja.ts +1 -12
  53. package/src/tool/carbonationCalculator/i18n/ko.ts +1 -12
  54. package/src/tool/carbonationCalculator/i18n/nl.ts +1 -12
  55. package/src/tool/carbonationCalculator/i18n/pl.ts +1 -12
  56. package/src/tool/carbonationCalculator/i18n/pt.ts +1 -12
  57. package/src/tool/carbonationCalculator/i18n/ru.ts +1 -12
  58. package/src/tool/carbonationCalculator/i18n/sv.ts +1 -12
  59. package/src/tool/carbonationCalculator/i18n/tr.ts +1 -12
  60. package/src/tool/carbonationCalculator/i18n/zh.ts +1 -12
  61. package/src/tool/cocktailBalancer/bibliography.ts +7 -0
  62. package/src/tool/cocktailBalancer/cocktail-balancer.css +59 -59
  63. package/src/tool/cocktailBalancer/entry.ts +1 -0
  64. package/src/tool/cocktailBalancer/i18n/de.ts +1 -16
  65. package/src/tool/cocktailBalancer/i18n/en.ts +1 -16
  66. package/src/tool/cocktailBalancer/i18n/es.ts +1 -16
  67. package/src/tool/cocktailBalancer/i18n/fr.ts +1 -16
  68. package/src/tool/cocktailBalancer/i18n/id.ts +1 -16
  69. package/src/tool/cocktailBalancer/i18n/it.ts +1 -16
  70. package/src/tool/cocktailBalancer/i18n/ja.ts +1 -16
  71. package/src/tool/cocktailBalancer/i18n/ko.ts +1 -16
  72. package/src/tool/cocktailBalancer/i18n/nl.ts +1 -16
  73. package/src/tool/cocktailBalancer/i18n/pl.ts +1 -16
  74. package/src/tool/cocktailBalancer/i18n/pt.ts +1 -16
  75. package/src/tool/cocktailBalancer/i18n/ru.ts +1 -16
  76. package/src/tool/cocktailBalancer/i18n/sv.ts +1 -16
  77. package/src/tool/cocktailBalancer/i18n/tr.ts +1 -16
  78. package/src/tool/cocktailBalancer/i18n/zh.ts +1 -16
  79. package/src/tool/fortifiedWine/bibliography.astro +14 -0
  80. package/src/tool/fortifiedWine/bibliography.ts +7 -0
  81. package/src/tool/fortifiedWine/component.astro +331 -0
  82. package/src/tool/fortifiedWine/entry.ts +62 -0
  83. package/src/tool/fortifiedWine/fortified-wine-builder.css +534 -0
  84. package/src/tool/fortifiedWine/i18n/de.ts +66 -0
  85. package/src/tool/fortifiedWine/i18n/en.ts +140 -0
  86. package/src/tool/fortifiedWine/i18n/es.ts +140 -0
  87. package/src/tool/fortifiedWine/i18n/fr.ts +91 -0
  88. package/src/tool/fortifiedWine/i18n/id.ts +91 -0
  89. package/src/tool/fortifiedWine/i18n/it.ts +91 -0
  90. package/src/tool/fortifiedWine/i18n/ja.ts +91 -0
  91. package/src/tool/fortifiedWine/i18n/ko.ts +91 -0
  92. package/src/tool/fortifiedWine/i18n/nl.ts +91 -0
  93. package/src/tool/fortifiedWine/i18n/pl.ts +91 -0
  94. package/src/tool/fortifiedWine/i18n/pt.ts +91 -0
  95. package/src/tool/fortifiedWine/i18n/ru.ts +91 -0
  96. package/src/tool/fortifiedWine/i18n/sv.ts +91 -0
  97. package/src/tool/fortifiedWine/i18n/tr.ts +91 -0
  98. package/src/tool/fortifiedWine/i18n/zh.ts +91 -0
  99. package/src/tool/fortifiedWine/index.ts +8 -0
  100. package/src/tool/fortifiedWine/logic.ts +46 -0
  101. package/src/tool/fortifiedWine/seo.astro +41 -0
  102. package/src/tool/jelloShotLab/bibliography.astro +14 -0
  103. package/src/tool/jelloShotLab/bibliography.ts +8 -0
  104. package/src/tool/jelloShotLab/component.astro +183 -0
  105. package/src/tool/jelloShotLab/entry.ts +62 -0
  106. package/src/tool/jelloShotLab/i18n/de.ts +156 -0
  107. package/src/tool/jelloShotLab/i18n/en.ts +156 -0
  108. package/src/tool/jelloShotLab/i18n/es.ts +156 -0
  109. package/src/tool/jelloShotLab/i18n/fr.ts +156 -0
  110. package/src/tool/jelloShotLab/i18n/id.ts +156 -0
  111. package/src/tool/jelloShotLab/i18n/it.ts +156 -0
  112. package/src/tool/jelloShotLab/i18n/ja.ts +156 -0
  113. package/src/tool/jelloShotLab/i18n/ko.ts +156 -0
  114. package/src/tool/jelloShotLab/i18n/nl.ts +156 -0
  115. package/src/tool/jelloShotLab/i18n/pl.ts +156 -0
  116. package/src/tool/jelloShotLab/i18n/pt.ts +156 -0
  117. package/src/tool/jelloShotLab/i18n/ru.ts +156 -0
  118. package/src/tool/jelloShotLab/i18n/sv.ts +156 -0
  119. package/src/tool/jelloShotLab/i18n/tr.ts +156 -0
  120. package/src/tool/jelloShotLab/i18n/zh.ts +156 -0
  121. package/src/tool/jelloShotLab/index.ts +11 -0
  122. package/src/tool/jelloShotLab/jello-shot-lab.css +229 -0
  123. package/src/tool/jelloShotLab/logic.ts +29 -0
  124. package/src/tool/jelloShotLab/seo.astro +53 -0
  125. package/src/tool/partyKeg/bibliography.ts +6 -0
  126. package/src/tool/partyKeg/entry.ts +1 -0
  127. package/src/tool/partyKeg/i18n/de.ts +1 -12
  128. package/src/tool/partyKeg/i18n/en.ts +1 -12
  129. package/src/tool/partyKeg/i18n/es.ts +1 -12
  130. package/src/tool/partyKeg/i18n/fr.ts +1 -12
  131. package/src/tool/partyKeg/i18n/id.ts +1 -12
  132. package/src/tool/partyKeg/i18n/it.ts +1 -12
  133. package/src/tool/partyKeg/i18n/ja.ts +1 -12
  134. package/src/tool/partyKeg/i18n/ko.ts +1 -12
  135. package/src/tool/partyKeg/i18n/nl.ts +1 -12
  136. package/src/tool/partyKeg/i18n/pl.ts +1 -12
  137. package/src/tool/partyKeg/i18n/pt.ts +1 -12
  138. package/src/tool/partyKeg/i18n/ru.ts +1 -12
  139. package/src/tool/partyKeg/i18n/sv.ts +1 -12
  140. package/src/tool/partyKeg/i18n/tr.ts +1 -12
  141. package/src/tool/partyKeg/i18n/zh.ts +1 -12
  142. package/src/tool/partyKeg/party-stock-calculator.css +23 -23
  143. package/src/tools.ts +5 -0
  144. package/src/types.ts +1 -1
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Perguntas Frequentes';
34
- const bibliographyTitle = 'Referências e Fontes';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Alcohol calculations and their uncertainty - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Alcohol Metabolism: How the body processes alcohol - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Часто задаваемые вопросы';
34
- const bibliographyTitle = 'Источники и литература';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Расчёты алкоголя и их неопределённость - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Метаболизм алкоголя: как организм перерабатывает спирт - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Vanliga frågor';
34
- const bibliographyTitle = 'Litteraturreferenser';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Alkoholberäkningar och deras osäkerhet - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Alkoholmetabolism: Hur kroppen bryter ner alkohol - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle: string = 'Sıkça Sorulan Sorular';
34
- const bibliographyTitle: string = 'Bibliyografi ve Kaynaklar';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: 'Alkol hesaplamaları ve belirsizliği - PMC',
66
- url: 'https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/',
67
- },
68
- {
69
- name: 'Alkol Metabolizması: Vücudun alkoli nasıl işler - NIH',
70
- url: 'https://www.niaaa.nih.gov/publications/alcohol-metabolism',
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -173,7 +163,6 @@ export const content: AlcoholClearanceLocaleContent = {
173
163
  seo,
174
164
  faqTitle,
175
165
  faq,
176
- bibliographyTitle,
177
166
  bibliography,
178
167
  howTo,
179
168
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = '常见问题';
34
- const bibliographyTitle = '参考文献和来源';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "酒精计算及其不确定性 - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "酒精代谢:身体如何处理酒精 - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -13,7 +13,7 @@
13
13
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
14
14
  color: #1e293b;
15
15
  }
16
- :global(.theme-dark) .beer-card {
16
+ .theme-dark .beer-card {
17
17
  background: #0f172a;
18
18
  border-color: #1e293b;
19
19
  color: #f1f5f9;
@@ -37,7 +37,7 @@
37
37
  padding: 1.25rem 1.5rem;
38
38
  border-bottom: 1px solid #e2e8f0;
39
39
  }
40
- :global(.theme-dark) .beer-sec { border-color: #1e293b; }
40
+ .theme-dark .beer-sec { border-color: #1e293b; }
41
41
  .beer-sec:last-child { border-bottom: none; }
42
42
 
43
43
  .step-header {
@@ -50,7 +50,7 @@
50
50
  color: #1e293b;
51
51
  }
52
52
 
53
- :global(.theme-dark) .step-header { color: #f1f5f9; }
53
+ .theme-dark .step-header { color: #f1f5f9; }
54
54
  .step-number {
55
55
  width: 1.75rem;
56
56
  height: 1.75rem;
@@ -63,7 +63,7 @@
63
63
  font-size: 0.75rem;
64
64
  flex-shrink: 0;
65
65
  }
66
- :global(.theme-dark) .step-number {
66
+ .theme-dark .step-number {
67
67
  background: #fff;
68
68
  color: #0f172a;
69
69
  }
@@ -86,12 +86,12 @@
86
86
  background: #f8fafc;
87
87
  cursor: pointer;
88
88
  }
89
- :global(.theme-dark) .selector-card {
89
+ .theme-dark .selector-card {
90
90
  border-color: #1e293b;
91
91
  background: #0c1527;
92
92
  }
93
93
  .selector-card:hover { border-color: #cbd5e1; }
94
- :global(.theme-dark) .selector-card:hover { border-color: #334155; }
94
+ .theme-dark .selector-card:hover { border-color: #334155; }
95
95
 
96
96
  .selector-content {
97
97
  position: relative;
@@ -118,7 +118,7 @@
118
118
  color: #1e293b;
119
119
  }
120
120
 
121
- :global(.theme-dark) .selector-label { color: #f1f5f9; }
121
+ .theme-dark .selector-label { color: #f1f5f9; }
122
122
 
123
123
  .selector-sub {
124
124
  font-size: 0.7rem;
@@ -128,7 +128,7 @@
128
128
  letter-spacing: 0.05em;
129
129
  }
130
130
 
131
- :global(.theme-dark) .selector-sub { color: #94a3b8; }
131
+ .theme-dark .selector-sub { color: #94a3b8; }
132
132
 
133
133
  .bg-el {
134
134
  position: absolute;
@@ -163,7 +163,7 @@
163
163
  letter-spacing: 0.1em;
164
164
  }
165
165
 
166
- :global(.theme-dark) .slider-label { color: #94a3b8; }
166
+ .theme-dark .slider-label { color: #94a3b8; }
167
167
 
168
168
  .temp-display {
169
169
  font-size: 1rem;
@@ -174,7 +174,7 @@
174
174
  border-radius: 0.4rem;
175
175
  }
176
176
 
177
- :global(.theme-dark) .temp-display {
177
+ .theme-dark .temp-display {
178
178
  background: #1e293b;
179
179
  color: #f1f5f9;
180
180
  }
@@ -187,9 +187,9 @@
187
187
  cursor: pointer;
188
188
  background: #e2e8f0;
189
189
  }
190
- :global(.theme-dark) .slider-custom { background: #334155; }
190
+ .theme-dark .slider-custom { background: #334155; }
191
191
  .slider-dark { accent-color: #0f172a; }
192
- :global(.theme-dark) .slider-dark { accent-color: #fff; }
192
+ .theme-dark .slider-dark { accent-color: #fff; }
193
193
  .slider-blue { accent-color: #3b82f6; }
194
194
  .slider-custom::-webkit-slider-thumb {
195
195
  -webkit-appearance: none;
@@ -217,12 +217,12 @@
217
217
 
218
218
  @media (min-width: 1024px) { .beer-result-panel { border-left: 1px solid #e2e8f0; } }
219
219
 
220
- :global(.theme-dark) .beer-result-panel {
220
+ .theme-dark .beer-result-panel {
221
221
  background: linear-gradient(to bottom right, #1e293b, #020617);
222
222
  color: #fff;
223
223
  }
224
224
 
225
- @media (min-width: 1024px) { :global(.theme-dark) .beer-result-panel { border-left-color: #334155; } }
225
+ @media (min-width: 1024px) { .theme-dark .beer-result-panel { border-left-color: #334155; } }
226
226
 
227
227
  .result-inner {
228
228
  width: 100%;
@@ -253,7 +253,7 @@
253
253
  color: #6366f1;
254
254
  }
255
255
 
256
- :global(.theme-dark) .empty-icon {
256
+ .theme-dark .empty-icon {
257
257
  background: #1e293b;
258
258
  color: #475569;
259
259
  }
@@ -268,7 +268,7 @@
268
268
  margin: 0;
269
269
  }
270
270
 
271
- :global(.theme-dark) .empty-title { color: #64748b; }
271
+ .theme-dark .empty-title { color: #64748b; }
272
272
 
273
273
  .empty-desc {
274
274
  color: #94a3b8;
@@ -276,7 +276,7 @@
276
276
  font-size: 0.875rem;
277
277
  }
278
278
 
279
- :global(.theme-dark) .empty-desc { color: #475569; }
279
+ .theme-dark .empty-desc { color: #475569; }
280
280
 
281
281
  .result-content {
282
282
  flex-direction: column;
@@ -305,7 +305,7 @@
305
305
  line-height: 1;
306
306
  }
307
307
 
308
- :global(.theme-dark) .result-time-num { color: #fff; }
308
+ .theme-dark .result-time-num { color: #fff; }
309
309
 
310
310
  .result-time-unit {
311
311
  position: absolute;
@@ -326,7 +326,7 @@
326
326
  margin: 0 0 0.5rem;
327
327
  }
328
328
 
329
- :global(.theme-dark) .result-est-label { color: #60a5fa; }
329
+ .theme-dark .result-est-label { color: #60a5fa; }
330
330
 
331
331
  .result-finish-time {
332
332
  font-size: 1.5rem;
@@ -335,7 +335,7 @@
335
335
  margin: 0;
336
336
  }
337
337
 
338
- :global(.theme-dark) .result-finish-time { color: #fff; }
338
+ .theme-dark .result-finish-time { color: #fff; }
339
339
 
340
340
  .result-meta-grid {
341
341
  display: grid;
@@ -351,7 +351,7 @@
351
351
  border: 1px solid #e2e8f0;
352
352
  }
353
353
 
354
- :global(.theme-dark) .result-meta-item {
354
+ .theme-dark .result-meta-item {
355
355
  background: rgba(30,41,59,0.5);
356
356
  border-color: #334155;
357
357
  }
@@ -370,7 +370,7 @@
370
370
  font-size: 0.875rem;
371
371
  }
372
372
 
373
- :global(.theme-dark) .result-meta-value { color: #fff; }
373
+ .theme-dark .result-meta-value { color: #fff; }
374
374
 
375
375
  .bubbles-layer {
376
376
  position: absolute;
@@ -0,0 +1,6 @@
1
+ import type { BibliographyEntry } from '../../types';
2
+
3
+ export const bibliography: BibliographyEntry[] = [
4
+ { name: "Newton's Law of Cooling - Wikipedia", url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling' },
5
+ { name: 'Advanced Chemistry of Beer and Brewing - American Chemical Society', url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html' },
6
+ ];
@@ -1,4 +1,5 @@
1
1
  import type { AlcoholToolEntry, ToolLocaleContent } from '../../types';
2
+ export { bibliography } from './bibliography';
2
3
 
3
4
  export interface BeerCoolerUI {
4
5
  [key: string]: string;
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Häufig gestellte Fragen';
33
- const bibliographyTitle = 'Bibliografie & Quellen';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'Newtonsches Abkühlungsgesetz - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'Fortgeschrittene Chemie von Bier und Brauen - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Frequently Asked Questions';
33
- const bibliographyTitle = 'Bibliography & Sources';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: "Newton's Law of Cooling - Wikipedia",
76
- url: "https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling",
77
- },
78
- {
79
- name: "Advanced Chemistry of Beer and Brewing - American Chemical Society",
80
- url: "https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html",
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Preguntas Frecuentes';
33
- const bibliographyTitle = 'Bibliografía y Fuentes';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: "Ley del enfriamiento de Newton - Wikipedia",
76
- url: "https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling",
77
- },
78
- {
79
- name: "Advanced Chemistry of Beer and Brewing - American Chemical Society",
80
- url: "https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html",
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -203,7 +193,6 @@ export const content: BeerCoolerLocaleContent = {
203
193
  seo,
204
194
  faqTitle,
205
195
  faq,
206
- bibliographyTitle,
207
196
  bibliography,
208
197
  howTo,
209
198
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Foire Aux Questions';
33
- const bibliographyTitle = 'Bibliographie & Sources';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: "Loi du refroidissement de Newton - Wikipedia",
76
- url: "https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling",
77
- },
78
- {
79
- name: "Advanced Chemistry of Beer and Brewing - American Chemical Society",
80
- url: "https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html",
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Pertanyaan yang Sering Diajukan';
33
- const bibliographyTitle = 'Bibliografi & Sumber';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'Hukum Pendinginan Newton - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'Kimia Lanjut Bir dan Pembuatan - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Domande Frequenti';
33
- const bibliographyTitle = 'Bibliografia & Fonti';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'Legge di Raffreddamento di Newton - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'Chimica Avanzata della Birra e della Produzione - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'よくあるご質問';
33
- const bibliographyTitle = '参考文献 & 情報源';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'ニュートンの冷却法則 - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'ビールおよび醸造の高度な化学 - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = '자주 묻는 질문';
33
- const bibliographyTitle = '참고문헌 & 출처';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: '뉴턴의 냉각 법칙 - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: '맥주 및 양조의 고급 화학 - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,