@jjlmoya/utils-astronomy 1.5.0 → 1.7.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 (76) hide show
  1. package/package.json +59 -58
  2. package/src/category/i18n/de.ts +57 -0
  3. package/src/category/i18n/id.ts +57 -0
  4. package/src/category/i18n/it.ts +57 -0
  5. package/src/category/i18n/ja.ts +57 -0
  6. package/src/category/i18n/ko.ts +57 -0
  7. package/src/category/i18n/nl.ts +57 -0
  8. package/src/category/i18n/pl.ts +57 -0
  9. package/src/category/i18n/pt.ts +57 -0
  10. package/src/category/i18n/ru.ts +57 -0
  11. package/src/category/i18n/sv.ts +57 -0
  12. package/src/category/i18n/tr.ts +57 -0
  13. package/src/category/i18n/zh.ts +57 -0
  14. package/src/category/index.ts +13 -1
  15. package/src/tests/faq_count.test.ts +9 -14
  16. package/src/tests/i18n_coverage.test.ts +36 -0
  17. package/src/tests/locale_completeness.test.ts +42 -0
  18. package/src/tests/no_h1_in_components.test.ts +48 -0
  19. package/src/tests/schemas_fulfillment.test.ts +23 -0
  20. package/src/tests/seo_length.test.ts +3 -38
  21. package/src/tests/slug_uniqueness.test.ts +81 -0
  22. package/src/tests/title_quality.test.ts +55 -0
  23. package/src/tests/tool_validation.test.ts +5 -5
  24. package/src/tool/bortleVisualizer/i18n/de.ts +167 -0
  25. package/src/tool/bortleVisualizer/i18n/fr.ts +1 -1
  26. package/src/tool/bortleVisualizer/i18n/id.ts +167 -0
  27. package/src/tool/bortleVisualizer/i18n/it.ts +167 -0
  28. package/src/tool/bortleVisualizer/i18n/ja.ts +167 -0
  29. package/src/tool/bortleVisualizer/i18n/ko.ts +167 -0
  30. package/src/tool/bortleVisualizer/i18n/nl.ts +167 -0
  31. package/src/tool/bortleVisualizer/i18n/pl.ts +167 -0
  32. package/src/tool/bortleVisualizer/i18n/pt.ts +167 -0
  33. package/src/tool/bortleVisualizer/i18n/ru.ts +167 -0
  34. package/src/tool/bortleVisualizer/i18n/sv.ts +167 -0
  35. package/src/tool/bortleVisualizer/i18n/tr.ts +167 -0
  36. package/src/tool/bortleVisualizer/i18n/zh.ts +167 -0
  37. package/src/tool/bortleVisualizer/index.ts +15 -7
  38. package/src/tool/deepSpaceScope/i18n/de.ts +178 -0
  39. package/src/tool/deepSpaceScope/i18n/id.ts +178 -0
  40. package/src/tool/deepSpaceScope/i18n/it.ts +178 -0
  41. package/src/tool/deepSpaceScope/i18n/ja.ts +178 -0
  42. package/src/tool/deepSpaceScope/i18n/ko.ts +178 -0
  43. package/src/tool/deepSpaceScope/i18n/nl.ts +178 -0
  44. package/src/tool/deepSpaceScope/i18n/pl.ts +178 -0
  45. package/src/tool/deepSpaceScope/i18n/pt.ts +178 -0
  46. package/src/tool/deepSpaceScope/i18n/ru.ts +178 -0
  47. package/src/tool/deepSpaceScope/i18n/sv.ts +178 -0
  48. package/src/tool/deepSpaceScope/i18n/tr.ts +178 -0
  49. package/src/tool/deepSpaceScope/i18n/zh.ts +178 -0
  50. package/src/tool/deepSpaceScope/index.ts +15 -7
  51. package/src/tool/starExposureCalculator/i18n/de.ts +163 -0
  52. package/src/tool/starExposureCalculator/i18n/id.ts +163 -0
  53. package/src/tool/starExposureCalculator/i18n/it.ts +163 -0
  54. package/src/tool/starExposureCalculator/i18n/ja.ts +163 -0
  55. package/src/tool/starExposureCalculator/i18n/ko.ts +163 -0
  56. package/src/tool/starExposureCalculator/i18n/nl.ts +163 -0
  57. package/src/tool/starExposureCalculator/i18n/pl.ts +163 -0
  58. package/src/tool/starExposureCalculator/i18n/pt.ts +163 -0
  59. package/src/tool/starExposureCalculator/i18n/ru.ts +163 -0
  60. package/src/tool/starExposureCalculator/i18n/sv.ts +163 -0
  61. package/src/tool/starExposureCalculator/i18n/tr.ts +163 -0
  62. package/src/tool/starExposureCalculator/i18n/zh.ts +163 -0
  63. package/src/tool/starExposureCalculator/index.ts +15 -7
  64. package/src/tool/telescopeResolution/i18n/de.ts +176 -0
  65. package/src/tool/telescopeResolution/i18n/id.ts +176 -0
  66. package/src/tool/telescopeResolution/i18n/it.ts +176 -0
  67. package/src/tool/telescopeResolution/i18n/ja.ts +176 -0
  68. package/src/tool/telescopeResolution/i18n/ko.ts +176 -0
  69. package/src/tool/telescopeResolution/i18n/nl.ts +176 -0
  70. package/src/tool/telescopeResolution/i18n/pl.ts +176 -0
  71. package/src/tool/telescopeResolution/i18n/pt.ts +176 -0
  72. package/src/tool/telescopeResolution/i18n/ru.ts +176 -0
  73. package/src/tool/telescopeResolution/i18n/sv.ts +176 -0
  74. package/src/tool/telescopeResolution/i18n/tr.ts +176 -0
  75. package/src/tool/telescopeResolution/i18n/zh.ts +176 -0
  76. package/src/tool/telescopeResolution/index.ts +15 -7
@@ -34,11 +34,11 @@ function extractSectionText(section: any): string {
34
34
  }
35
35
 
36
36
  function countWords(text: string): number {
37
- return text
38
- .replace(/<[^>]*>/g, '')
39
- .trim()
40
- .split(/\s+/)
41
- .filter((w) => w.length > 0).length;
37
+ const cleanText = text.replace(/<[^>]*>/g, '').trim();
38
+ const standardWords = cleanText.split(/\s+/).filter((w) => w.length > 0).length;
39
+ const cjkChars = cleanText.match(/[\u4e00-\u9fa5\u3040-\u30ff\uac00-\ud7af]/g)?.length || 0;
40
+ const cjkBlocks = cleanText.split(/[^\u4e00-\u9fa5\u3040-\u30ff\uac00-\ud7af]+/).filter(w => w.length > 0).length;
41
+ return standardWords - cjkBlocks + cjkChars;
42
42
  }
43
43
 
44
44
  describe('Tool Validation Suite', () => {
@@ -0,0 +1,167 @@
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { BortleVisualizerUI, BortleVisualizerLocaleContent } from '../index';
3
+
4
+ const slug = 'simulator-dunkler-himmel';
5
+ const title = 'Dark Sky Simulator (Bortle Skala)';
6
+ const description = 'Visualisieren Sie interaktiv die 9 Stufen der Bortle-Skala und entdecken Sie, wie die Lichtverschmutzung den sternenklaren Nachthimmel verblassen lässt.';
7
+
8
+ const ui: BortleVisualizerUI = {
9
+ toolTitle: 'Dark Sky Simulator',
10
+ sliderLabel: 'Ziehen, um die Lichtverschmutzung anzupassen',
11
+ classLabel: 'Bortle-Klasse',
12
+ nelmLabel: 'NELM',
13
+ sqmLabel: 'SQM',
14
+ classPrefix: 'KLASSE',
15
+ bortleData: {
16
+ 1: { title: 'Exzellenter dunkler Himmel', description: 'Das Paradies für Astronomen. Die Milchstraße wirft Schatten. Zodiakallicht sichtbar und farbenfroh. M33 mit bloßem Auge erkennbar.', nelm: 8.0, sqm: '21.99 - 22.0', starsVisible: true, milkyWayVisible: true, cloudsLit: false, skyBrightness: 0.0 },
17
+ 2: { title: 'Echt dunkel', description: 'Wirklich dunkle Orte. Die Milchstraße ist stark strukturiert. Wolken sind nur als schwarze Löcher am Himmel sichtbar.', nelm: 7.5, sqm: '21.89 - 21.99', starsVisible: true, milkyWayVisible: true, cloudsLit: false, skyBrightness: 0.1 },
18
+ 3: { title: 'Ländlicher Himmel', description: 'Komplexe Milchstraße. Etwas Lichtverschmutzung am Horizont. Wolken am Horizont beleuchtet, aber direkt über einem dunkel.', nelm: 7.0, sqm: '21.69 - 21.89', starsVisible: true, milkyWayVisible: true, cloudsLit: true, skyBrightness: 0.2 },
19
+ 4: { title: 'Ländlich/Vorstädtisch', description: 'Die Milchstraße verliert an Details, bleibt aber sichtbar. Lichtkuppeln am Horizont. Wolken von unten beleuchtet.', nelm: 6.5, sqm: '20.49 - 21.69', starsVisible: true, milkyWayVisible: true, cloudsLit: true, skyBrightness: 0.35 },
20
+ 5: { title: 'Vorstädtischer Himmel', description: 'Milchstraße sehr schwach oder am Horizont unsichtbar. Zodiakallicht selten sichtbar. Der Himmel erscheint gräulich.', nelm: 6.0, sqm: '19.50 - 20.49', starsVisible: true, milkyWayVisible: true, cloudsLit: true, skyBrightness: 0.5 },
21
+ 6: { title: 'Heller Vorstadthimmel', description: 'Milchstraße unsichtbar. Der Himmel ist hellgrau. Wolken sind sehr hell. M31 kaum sichtbar.', nelm: 5.5, sqm: '18.94 - 19.50', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.65 },
22
+ 7: { title: 'Vorstädtisch/Städtisch', description: 'Himmel grau-weißlich. Starke Lichtquellen in allen Richtungen. Nur die hellsten Sterne sind sichtbar.', nelm: 5.0, sqm: '18.38 - 18.94', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.8 },
23
+ 8: { title: 'Städtischer Himmel', description: 'Himmel ist grau-weißlich oder orange. Schlagzeilen einer Zeitung können gelesen werden. Nur die wichtigsten Sternbilder sind sichtbar.', nelm: 4.5, sqm: '< 18.38', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.9 },
24
+ 9: { title: 'Stadtzentrum', description: 'Himmel so hell wie während der Dämmerung. Mond sichtbar, aber keine Sternbilder. Nur Planeten und der Mond sind zu sehen.', nelm: 4.0, sqm: '< 18.00', starsVisible: false, milkyWayVisible: false, cloudsLit: true, skyBrightness: 1.0 },
25
+ },
26
+ };
27
+
28
+ const faq: BortleVisualizerLocaleContent['faq'] = [
29
+ {
30
+ question: 'Was ist die Bortle-Skala?',
31
+ answer: 'Es handelt sich um eine 9-stufige numerische Skala, die die Helligkeit des Nachthimmels an einem bestimmten Ort misst. Sie wurde 2001 vom Amateurastronomen John E. Bortle entwickelt und in Sky & Telescope veröffentlicht. Stufe 1 steht für den dunkelstmöglichen Himmel (entlegene Wüsten) und Stufe 9 für den am stärksten lichtverschmutzten (Stadtzentren).',
32
+ },
33
+ {
34
+ question: 'Ab welcher Bortle-Stufe ist die Milchstraße sichtbar?',
35
+ answer: 'Die Milchstraße beginnt ab Bortle 4 (ländliche/vorstädtische Zone) deutlich sichtbarer zu werden. Auf den Stufen 1 und 2 ist sie spektakulär, mit detaillierten Strukturen, die sogar schwache Schatten werfen können. Ab Bortle 6 ist sie für das bloße Auge praktisch unsichtbar.',
36
+ },
37
+ {
38
+ question: 'Was bedeuten NELM und SQM?',
39
+ answer: 'NELM (Naked Eye Limiting Magnitude) gibt die Helligkeit des schwächsten Sterns an, der unter diesen Bedingungen mit bloßem Auge noch sichtbar ist. SQM (Sky Quality Meter) misst die Himmelshelligkeit in Magnituden pro Quadratbogensekunde und ist der objektive wissenschaftliche Standard.',
40
+ },
41
+ {
42
+ question: 'Wie finde ich dunklere Himmelszonen in meiner Nähe?',
43
+ answer: 'Nutzen Sie Lichtverschmutzungskarten wie lightpollutionmap.info, um Bortle 3- oder dunklere Zonen zu finden, die oft nur wenige Autostunden entfernt liegen. Nationalparks, Hochgebirgsregionen und ausgewiesene Sternenparks bieten die besten Bedingungen.',
44
+ },
45
+ ];
46
+
47
+ const howTo: BortleVisualizerLocaleContent['howTo'] = [
48
+ { name: '1. Bortle-Stufe anpassen', text: 'Ziehen Sie den Schieberegler, um zu simulieren, wie die Lichtverschmutzung von Stufe 1 (Wüste) bis Stufe 9 (Stadtzentrum) zunimmt.' },
49
+ { name: '2. Visuelle Effekte beobachten', text: 'Achten Sie darauf, wie schwache Sterne verschwinden, die Milchstraße verblasst und der Himmel mit jeder Stufe einen orangefarbenen oder grauen Ton annimmt.' },
50
+ { name: '3. Die eigene Stufe bestimmen', text: 'Vergleichen Sie den Anblick von Ihrem gewöhnlichen Beobachtungsort mit den Simulationen, um Ihre lokale Bortle-Stufe zu identifizieren.' },
51
+ ];
52
+
53
+ const bibliography: BortleVisualizerLocaleContent['bibliography'] = [
54
+ { name: 'Originaler Bortle-Artikel (Sky & Telescope, 2001)', url: 'https://skyandtelescope.org/astronomy-resources/light-pollution-and-astronomy-the-bortle-dark-sky-scale/' },
55
+ { name: 'Lichtverschmutzungskarte - Weltkarte', url: 'https://www.lightpollutionmap.info/' },
56
+ { name: 'International Dark-Sky Association', url: 'https://www.darksky.org/' },
57
+ { name: 'Globe at Night - Bürgerwissenschaft', url: 'https://www.globeatnight.org/' },
58
+ ];
59
+
60
+ const seo: BortleVisualizerLocaleContent['seo'] = [
61
+ {
62
+ type: 'summary',
63
+ title: 'Kernpunkte der Bortle Skala',
64
+ items: [
65
+ 'Bortle 1-2: Referenz für dunklen Himmel, Milchstraße wirft Schatten, NELM > 7.5.',
66
+ 'Bortle 3-4: Optimaler ländlicher Himmel, Milchstraße detailliert sichtbar, aber Horizont aufgehellt.',
67
+ 'Bortle 5-6: Vorstädtisch, schwache oder unsichtbare Milchstraße, gut für Planeten und den Mond.',
68
+ 'Bortle 7-9: Städtischer Himmel, nur helle Objekte mit bloßem Auge sichtbar.',
69
+ ],
70
+ },
71
+ { type: 'title', text: 'Die Bortle-Skala: Die Dunkelheit des Himmels messen', level: 2 },
72
+ {
73
+ type: 'paragraph',
74
+ html: 'Die <strong>Bortle-Skala</strong> ist das internationale Standardsystem, das von Amateurastronomen weltweit verwendet wird, um die Qualität des Nachthimmels zu quantifizieren. Sie wurde von John E. Bortle, einem erfahrenen Beobachter von Kometen und Deep-Sky-Objekten aus New York, entwickelt und 2001 im Magazin Sky & Telescope veröffentlicht. Ziel war es, eine objektive und reproduzierbare Skala zur Kommunikation von Beobachtungsbedingungen bereitzustellen.',
75
+ },
76
+ {
77
+ type: 'paragraph',
78
+ html: 'Die Skala reicht von <strong>Stufe 1</strong> (der dunkelste denkbare Himmel, den man nur in entlegenen Wüsten und im Hochgebirge fern jeder Zivilisation findet) bis zu <strong>Stufe 9</strong> (das Innere großer Städte, wo der Himmel in permanentem Orange oder Weiß leuchtet und nur der Mond sowie die hellsten Planeten sichtbar sind). Jede Stufe verfügt über spezifische Deskriptoren, die eine Identifizierung ohne Instrumente ermöglichen.',
79
+ },
80
+ { type: 'title', text: 'Lichtverschmutzung: Eine stille globale Krise', level: 2 },
81
+ {
82
+ type: 'paragraph',
83
+ html: 'Die Zunahme der Lichtverschmutzung ist eines der am wenigsten diskutierten, aber am weitesten verbreiteten Umweltprobleme. Jüngsten Studien zufolge leben mehr als <strong>80 % der Weltbevölkerung</strong> unter lichtverschmutztem Himmel, in Europa und Nordamerika liegt der Anteil sogar bei über 99 %. Die Folgen gehen über die Astronomie hinaus: Künstliches Licht bei Nacht stört den zirkadianen Rhythmus von Mensch und Tier, desorientiert Zugvögel, beeinträchtigt die Fortpflanzung von Meeresschildkröten und unterdrückt die Melatoninproduktion bei Säugetieren.',
84
+ },
85
+ {
86
+ type: 'table',
87
+ headers: ['Bortle-Klasse', 'NELM', 'SQM (mag/arcsec²)', 'Milky Way', 'Hauptmerkmal'],
88
+ rows: [
89
+ ['1 - Exzellent', '8.0', '21.99 - 22.0', 'Wirft Schatten', 'M33 mit bloßem Auge sichtbar'],
90
+ ['2 - Dunkel', '7.5', '21.89 - 21.99', 'Stark strukturiert', 'Wolken = schwarze Löcher'],
91
+ ['3 - Ländlich', '7.0', '21.69 - 21.89', 'Komplex', 'Leichte Horizontaufhellung'],
92
+ ['4 - Ländlich/Vorst.', '6.5', '20.49 - 21.69', 'Sichtbar', 'Lichtdome am Horizont'],
93
+ ['5 - Vorstädtisch', '6.0', '19.50 - 20.49', 'Schwach', 'Gräulicher Himmel'],
94
+ ['6 - Hell Vorstädt.', '5.5', '18.94 - 19.50', 'Unsichtbar', 'M31 kaum sichtbar'],
95
+ ['7 - Vorst./Städt.', '5.0', '18.38 - 18.94', 'Abwesend', 'Hellgrauer Himmel'],
96
+ ['8 - Städtisch', '4.5', '< 18.38', 'Abwesend', 'Nur Hauptsternbilder'],
97
+ ['9 - Großstadt', '4.0', '< 18.00', 'Abwesend', 'Nur Mond und Planeten'],
98
+ ],
99
+ },
100
+ {
101
+ type: 'tip',
102
+ title: 'Objektive Messung: Das Sky Quality Meter',
103
+ html: 'Für präzise und reproduzierbare Messungen verwenden Astronomen das <strong>Sky Quality Meter (SQM)</strong>, ein Gerät, das die Himmelsleuchtdichte in Magnituden pro Quadratbogensekunde (mag/arcsec²) misst. Ein SQM von 22.0 entspricht einem exzellenten Bortle-1-Himmel, während ein Wert von 18.0 auf einen Bortle-8-9-Himmel hindeutet. Sie können Echtzeitmessungen im Globe at Night-Netzwerk abrufen.',
104
+ },
105
+ { type: 'title', text: 'Dunkle Himmelsschutzgebiete in Ihrer Nähe finden', level: 2 },
106
+ {
107
+ type: 'paragraph',
108
+ html: 'Trotz weit verbreiteter Lichtverschmutzung gibt es immer noch dunkle Oasen. Nationalparks, ausgewiesene Sternenparks und entlegene Hochlandgebiete bieten Bortle 2-4 Bedingungen, die von den meisten Großstädten aus innerhalb weniger Stunden erreichbar sind. Die IDA (International Dark-Sky Association) führt ein globales Register zertifizierter Orte mit dunklem Himmel, von kleinen Parks bis hin zu ganzen Inselreservaten. Die Planung eines nächtlichen Ausflugs an einen dunkleren Ort wird Ihre astronomische Erfahrung stärker verändern als jedes Hardware-Upgrade.',
109
+ },
110
+ {
111
+ type: 'diagnostic',
112
+ variant: 'success',
113
+ title: 'Planungswerkzeug',
114
+ icon: 'mdi:map-marker-star',
115
+ badge: 'Profi-Tipp',
116
+ html: 'Prüfen Sie vor jedem Beobachtungsausflug die Lichtverschmutzungskarte unter lightpollutionmap.info, um Zonen mit Bortle 3 oder dunkler in einem Umkreis von 1-2 Stunden zu identifizieren. Kombinieren Sie dies mit astronomischen Wettervorhersagen von Clear Outside oder Meteoblue Astro, um die perfekte Nacht zu wählen.',
117
+ },
118
+ ];
119
+
120
+ const faqSchema: WithContext<FAQPage> = {
121
+ '@context': 'https://schema.org',
122
+ '@type': 'FAQPage',
123
+ mainEntity: faq.map((item) => ({
124
+ '@type': 'Question',
125
+ name: item.question,
126
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
127
+ })),
128
+ };
129
+
130
+ const howToSchema: WithContext<HowTo> = {
131
+ '@context': 'https://schema.org',
132
+ '@type': 'HowTo',
133
+ name: title,
134
+ description,
135
+ step: howTo.map((step) => ({
136
+ '@type': 'HowToStep',
137
+ name: step.name,
138
+ text: step.text,
139
+ })),
140
+ };
141
+
142
+ const appSchema: WithContext<SoftwareApplication> = {
143
+ '@context': 'https://schema.org',
144
+ '@type': 'SoftwareApplication',
145
+ name: title,
146
+ description,
147
+ applicationCategory: 'UtilitiesApplication',
148
+ operatingSystem: 'Web',
149
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
150
+ inLanguage: 'de',
151
+ };
152
+
153
+
154
+ export const content: BortleVisualizerLocaleContent = {
155
+ slug,
156
+ title,
157
+ description,
158
+ ui,
159
+ seo,
160
+ faq,
161
+ faqTitle: 'Häufig gestellte Fragen (FAQ)',
162
+ bibliography,
163
+ bibliographyTitle: 'Bibliographische Referenzen',
164
+ howTo,
165
+ bortleData: ui.bortleData,
166
+ schemas: [faqSchema as any, howToSchema as any, appSchema],
167
+ };
@@ -21,7 +21,7 @@ const ui: BortleVisualizerUI = {
21
21
  6: { title: 'Suburbain Brillant', description: 'Voie lactée invisible. Ciel gris clair. Nuages très brillants. M31 à peine visible.', nelm: 5.5, sqm: '18.94 - 19.50', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.65 },
22
22
  7: { title: 'Suburbain/Urbain', description: 'Ciel gris clair. Sources lumineuses fortes dans toutes les directions. Seules les plus brillantes étoiles visibles.', nelm: 5.0, sqm: '18.38 - 18.94', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.8 },
23
23
  8: { title: 'Ciel Urbain', description: 'Ciel gris-blanc ou orange. Peut lire les gros titres des journaux. Seules les principales constellations visibles.', nelm: 4.5, sqm: '< 18.38', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.9 },
24
- 9: { title: 'Centre-Ville', description: 'Ciel lumineux comme le crépuscule. Lune visible mais constellations non. Seulement planètes et Lune visibles.', nelm: 4.0, sqm: '< 18.00', starsVisible: false, milkyWayVisible: false, cloudsLit: true, skyBrightness: 1.0 },
24
+ 9: { title: 'Centre Ville', description: 'Ciel lumineux comme le crépuscule. Lune visible mais constellations non. Seulement planètes et Lune visibles.', nelm: 4.0, sqm: '< 18.00', starsVisible: false, milkyWayVisible: false, cloudsLit: true, skyBrightness: 1.0 },
25
25
  },
26
26
  };
27
27
 
@@ -0,0 +1,167 @@
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { BortleVisualizerUI, BortleVisualizerLocaleContent } from '../index';
3
+
4
+ const slug = 'simulator-langit-gelap';
5
+ const title = 'Simulator Langit Gelap (Skala Bortle)';
6
+ const description = 'Visualisasikan secara interaktif 9 level Skala Bortle dan temukan bagaimana polusi cahaya menghapus keindahan langit malam berbintang.';
7
+
8
+ const ui: BortleVisualizerUI = {
9
+ toolTitle: 'Simulator Langit Gelap',
10
+ sliderLabel: 'Geser untuk menyesuaikan tingkat polusi cahaya',
11
+ classLabel: 'Kelas Bortle',
12
+ nelmLabel: 'NELM',
13
+ sqmLabel: 'SQM',
14
+ classPrefix: 'KELAS',
15
+ bortleData: {
16
+ 1: { title: 'Langit Gelap Sempurna', description: 'Surga bagi astronom. Galaksi Bima Sakti mampu membayangkan bayangan. Cahaya zodiak terlihat jelas dan berwarna. M33 terlihat dengan mata telanjang.', nelm: 8.0, sqm: '21.99 - 22.0', starsVisible: true, milkyWayVisible: true, cloudsLit: false, skyBrightness: 0.0 },
17
+ 2: { title: 'Benar Benar Gelap', description: 'Lokasi yang sangat gelap. Bima Sakti terlihat sangat terstruktur. Awan hanya terlihat sebagai "lubang hitam" di langit.', nelm: 7.5, sqm: '21.89 - 21.99', starsVisible: true, milkyWayVisible: true, cloudsLit: false, skyBrightness: 0.1 },
18
+ 3: { title: 'Langit Pedesaan', description: 'Struktur Bima Sakti yang kompleks. Sedikit polusi cahaya di ufuk. Awan terlihat terang di dekat ufuk tapi gelap di atas kepala.', nelm: 7.0, sqm: '21.69 - 21.89', starsVisible: true, milkyWayVisible: true, cloudsLit: true, skyBrightness: 0.2 },
19
+ 4: { title: 'Pedesaan/Pinggiran Kota', description: 'Bima Sakti mulai kehilangan detail tapi tetap terlihat. Kubah cahaya di ufuk. Awan diterangi dari bawah.', nelm: 6.5, sqm: '20.49 - 21.69', starsVisible: true, milkyWayVisible: true, cloudsLit: true, skyBrightness: 0.35 },
20
+ 5: { title: 'Langit Pinggiran Kota', description: 'Bima Sakti terlihat sangat redup atau tidak terlihat di dekat ufuk. Cahaya zodiak jarang terlihat. Langit tampak keabu-abuan.', nelm: 6.0, sqm: '19.50 - 20.49', starsVisible: true, milkyWayVisible: true, cloudsLit: true, skyBrightness: 0.5 },
21
+ 6: { title: 'Pinggiran Kota Terang', description: 'Bima Sakti tidak terlihat. Langit berwarna abu-abu terang. Awan sangat terang. M31 nyaris tidak terlihat.', nelm: 5.5, sqm: '18.94 - 19.50', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.65 },
22
+ 7: { title: 'Pinggiran Kota/Perkotaan', description: 'Langit berwarna abu-abu keputihan. Sumber cahaya kuat dari segala arah. Hanya bintang paling terang yang terlihat.', nelm: 5.0, sqm: '18.38 - 18.94', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.8 },
23
+ 8: { title: 'Langit Perkotaan', description: 'Langit berwarna abu-abu keputihan atau oranye. Judul surat kabar bisa dibaca. Hanya rasi bintang utama yang terlihat.', nelm: 4.5, sqm: '< 18.38', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.9 },
24
+ 9: { title: 'Pusat Kota', description: 'Langit seterang saat senja. Bulan terlihat tapi rasi bintang tidak. Hanya planet dan Bulan yang terlihat.', nelm: 4.0, sqm: '< 18.00', starsVisible: false, milkyWayVisible: false, cloudsLit: true, skyBrightness: 1.0 },
25
+ },
26
+ };
27
+
28
+ const faq: BortleVisualizerLocaleContent['faq'] = [
29
+ {
30
+ question: 'Apa itu Skala Bortle?',
31
+ answer: 'Ini adalah skala numerik 9 poin yang mengukur kecerahan langit malam di lokasi tertentu. Skala ini dibuat oleh astronom amatir John E. Bortle pada tahun 2001 dan diterbitkan di Sky & Telescope. Level 1 mewakili langit tergelap yang mungkin (gurun terpencil) dan Level 9 yang paling terpolusi cahaya (pusat kota).',
32
+ },
33
+ {
34
+ question: 'Berapa level Bortle minimum untuk melihat Bima Sakti?',
35
+ answer: 'Bima Sakti mulai terlihat jelas dari Bortle 4 (zona pedesaan/pinggiran kota). Pada level 1 dan 2, Bima Sakti terlihat spektakuler dengan detail struktur yang bahkan mampu menghasilkan bayangan redup. Dari Bortle 6 ke atas, Bima Sakti praktis tidak terlihat oleh mata telanjang.',
36
+ },
37
+ {
38
+ question: 'Apa arti NELM dan SQM?',
39
+ answer: 'NELM (Naked Eye Limiting Magnitude) adalah magnitudo bintang paling redup yang terlihat oleh mata telanjang dalam kondisi tersebut. SQM (Sky Quality Meter) mengukur kecerahan langit dalam magnitudo per detik busur persegi, yang merupakan standar ilmiah objektif.',
40
+ },
41
+ {
42
+ question: 'Bagaimana cara menemukan langit yang lebih gelap di dekat saya?',
43
+ answer: 'Gunakan peta polusi cahaya seperti lightpollutionmap.info untuk menemukan zona Bortle 3 atau lebih gelap dalam beberapa jam berkendara. Taman nasional, area pegunungan tinggi, dan cagar langit gelap yang ditunjuk menawarkan kondisi terbaik.',
44
+ },
45
+ ];
46
+
47
+ const howTo: BortleVisualizerLocaleContent['howTo'] = [
48
+ { name: '1. Sesuaikan level Bortle', text: 'Geser slider untuk mensimulasikan bagaimana polusi cahaya meningkat dari level 1 (gurun) ke level 9 (pusat kota).' },
49
+ { name: '2. Amati efek visualnya', text: 'Perhatikan bagaimana bintang-bintang redup menghilang, galaksi Bima Sakti memudar, dan langit berubah warna menjadi oranye atau abu-abu di setiap level.' },
50
+ { name: '3. Identifikasi level Anda saat ini', text: 'Bandingkan apa yang Anda lihat dari tempat pengamatan biasa dengan simulasi kami untuk menentukan level Bortle lokal Anda.' },
51
+ ];
52
+
53
+ const bibliography: BortleVisualizerLocaleContent['bibliography'] = [
54
+ { name: 'Artikel Asli Bortle (Sky & Telescope, 2001)', url: 'https://skyandtelescope.org/astronomy-resources/light-pollution-and-astronomy-the-bortle-dark-sky-scale/' },
55
+ { name: 'Peta Polusi Cahaya Dunia', url: 'https://www.lightpollutionmap.info/' },
56
+ { name: 'International Dark-Sky Association', url: 'https://www.darksky.org/' },
57
+ { name: 'Globe at Night - Sains Warga', url: 'https://www.globeatnight.org/' },
58
+ ];
59
+
60
+ const seo: BortleVisualizerLocaleContent['seo'] = [
61
+ {
62
+ type: 'summary',
63
+ title: 'Poin Kunci Skala Bortle',
64
+ items: [
65
+ 'Bortle 1-2: Referensi langit gelap, Bima Sakti menghasilkan bayangan, NELM > 7.5.',
66
+ 'Bortle 3-4: Langit pedesaan optimal, Bima Sakti terlihat detail tapi ufuk tercemar cahaya.',
67
+ 'Bortle 5-6: Pinggiran kota, Bima Sakti redup atau tidak terlihat, baik untuk planet dan bulan.',
68
+ 'Bortle 7-9: Langit perkotaan, hanya objek terang yang terlihat oleh mata telanjang.',
69
+ ],
70
+ },
71
+ { type: 'title', text: 'Skala Bortle: Mengukur Kegelapan Langit', level: 2 },
72
+ {
73
+ type: 'paragraph',
74
+ html: '<strong>Skala Bortle</strong> adalah sistem standar internasional yang digunakan oleh astronom amatir di seluruh dunia untuk mengukur kualitas langit malam. Dibuat oleh John E. Bortle, pengamat veteran komet dan objek langit dalam dari New York, skala ini diterbitkan pada tahun 2001 di majalah Sky & Telescope dengan tujuan menyediakan skala objektif dan dapat direproduksi untuk mengomunikasikan kondisi pengamatan.',
75
+ },
76
+ {
77
+ type: 'paragraph',
78
+ html: 'Skala ini berkisar dari <strong>level 1</strong> (langit tergelap yang mungkin, hanya ditemukan di gurun terpencil dan pegunungan tinggi jauh dari peradaban apa pun) hingga <strong>level 9</strong> (pusat kota besar, di mana langit bercahaya dengan kecerahan oranye atau keputihan permanen dan hanya Bulan serta planet paling terang yang terlihat). Setiap level memiliki deskriptor khusus yang memungkinkan identifikasi tanpa instrumen.',
79
+ },
80
+ { type: 'title', text: 'Polusi Cahaya: Krisis Global yang Sunyi', level: 2 },
81
+ {
82
+ type: 'paragraph',
83
+ html: 'Pertumbuhan polusi cahaya adalah salah satu masalah lingkungan yang paling jarang dibahas namun paling meluas. Menurut studi terbaru, lebih dari <strong>80% populasi dunia</strong> hidup di bawah langit yang terpolusi cahaya, dan di Eropa serta Amerika Utara persentasenya melebihi 99%. Konsekuensinya melampaui astronomi: cahaya buatan di malam hari mengganggu ritme sirkadian manusia dan hewan, membingungkan burung yang bermigrasi, memengaruhi reproduksi penyu, dan menekan produksi melatonin pada mamalia.',
84
+ },
85
+ {
86
+ type: 'table',
87
+ headers: ['Kelas Bortle', 'NELM', 'SQM (mag/arcsec²)', 'Bima Sakti', 'Fitur Utama'],
88
+ rows: [
89
+ ['1 - Sempurna', '8.0', '21.99 - 22.0', 'Membayangkan bayangan', 'M33 terlihat mata telanjang'],
90
+ ['2 - Gelap Tipikal', '7.5', '21.89 - 21.99', 'Sangat terstruktur', 'Awan = lubang hitam'],
91
+ ['3 - Pedesaan', '7.0', '21.69 - 21.89', 'Kompleks', 'Sedikit pendaran ufuk'],
92
+ ['4 - Pedesaan/Pinggir', '6.5', '20.49 - 21.69', 'Terlihat', 'Kubah cahaya di ufuk'],
93
+ ['5 - Pinggiran Kota', '6.0', '19.50 - 20.49', 'Redup', 'Langit keabu-abuan'],
94
+ ['6 - Pinggir Terang', '5.5', '18.94 - 19.50', 'Tidak terlihat', 'M31 nyaris tak terlihat'],
95
+ ['7 - Pinggir/Kota', '5.0', '18.38 - 18.94', 'Absen', 'Langit abu-abu terang'],
96
+ ['8 - Kota', '4.5', '< 18.38', 'Absen', 'Hanya rasi bintang utama'],
97
+ ['9 - Pusat Kota', '4.0', '< 18.00', 'Absen', 'Hanya Bulan dan planet'],
98
+ ],
99
+ },
100
+ {
101
+ type: 'tip',
102
+ title: 'Pengukuran Objektif: Sky Quality Meter',
103
+ html: 'Untuk pengukuran yang presisi dan dapat direproduksi, astronom menggunakan <strong>Sky Quality Meter (SQM)</strong>, perangkat yang mengukur luminans langit dalam magnitudo per detik busur persegi (mag/arcsec²). SQM 22.0 setara dengan langit Bortle 1 yang sempurna, sementara nilai 18.0 menunjukkan langit Bortle 8-9. Anda dapat memeriksa pengukuran real-time di jaringan Globe at Night.',
104
+ },
105
+ { type: 'title', text: 'Menemukan Tempat Langit Gelap di Dekat Anda', level: 2 },
106
+ {
107
+ type: 'paragraph',
108
+ html: 'Meskipun polusi cahaya meluas, tempat perlindungan langit gelap masih ada. Taman nasional, cagar langit gelap yang ditunjuk, dan area dataran tinggi terpencil menawarkan kondisi Bortle 2-4 yang dapat diakses dalam beberapa jam dari sebagian besar kota besar. IDA (International Dark-Sky Association) mengelola pendaftaran global tempat-tempat langit gelap bersertifikat, dari taman kecil hingga seluruh cagar pulau. Merencanakan perjalanan malam ke lokasi yang lebih gelap akan mengubah pengalaman astronomi Anda lebih dari sekadar peningkatan peralatan.',
109
+ },
110
+ {
111
+ type: 'diagnostic',
112
+ variant: 'success',
113
+ title: 'Alat Perencanaan',
114
+ icon: 'mdi:map-marker-star',
115
+ badge: 'Tips Pro',
116
+ html: 'Sebelum melakukan pengamatan, periksa peta polusi cahaya di lightpollutionmap.info untuk mengidentifikasi zona Bortle 3 atau lebih gelap dalam radius 1-2 jam. Gabungkan ini dengan prakiraan cuaca astronomi dari Clear Outside atau Meteoblue Astro untuk memilih malam yang sempurna.',
117
+ },
118
+ ];
119
+
120
+ const faqSchema: WithContext<FAQPage> = {
121
+ '@context': 'https://schema.org',
122
+ '@type': 'FAQPage',
123
+ mainEntity: faq.map((item) => ({
124
+ '@type': 'Question',
125
+ name: item.question,
126
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
127
+ })),
128
+ };
129
+
130
+ const howToSchema: WithContext<HowTo> = {
131
+ '@context': 'https://schema.org',
132
+ '@type': 'HowTo',
133
+ name: title,
134
+ description,
135
+ step: howTo.map((step) => ({
136
+ '@type': 'HowToStep',
137
+ name: step.name,
138
+ text: step.text,
139
+ })),
140
+ };
141
+
142
+ const appSchema: WithContext<SoftwareApplication> = {
143
+ '@context': 'https://schema.org',
144
+ '@type': 'SoftwareApplication',
145
+ name: title,
146
+ description,
147
+ applicationCategory: 'UtilitiesApplication',
148
+ operatingSystem: 'Web',
149
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
150
+ inLanguage: 'id',
151
+ };
152
+
153
+
154
+ export const content: BortleVisualizerLocaleContent = {
155
+ slug,
156
+ title,
157
+ description,
158
+ ui,
159
+ seo,
160
+ faq,
161
+ faqTitle: 'Pertanyaan yang Sering Diajukan',
162
+ bibliography,
163
+ bibliographyTitle: 'Referensi Bibliografi',
164
+ howTo,
165
+ bortleData: ui.bortleData,
166
+ schemas: [faqSchema as any, howToSchema as any, appSchema],
167
+ };
@@ -0,0 +1,167 @@
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { BortleVisualizerUI, BortleVisualizerLocaleContent } from '../index';
3
+
4
+ const slug = 'simulatore-cielo-scuro';
5
+ const title = 'Simulatore di Cielo Buio (Scala di Bortle)';
6
+ const description = 'Visualizza in modo interattivo i 9 livelli della Scala di Bortle e scopri come l\'inquinamento luminoso cancella il cielo notturno stellato.';
7
+
8
+ const ui: BortleVisualizerUI = {
9
+ toolTitle: 'Simulatore di Cielo Buio',
10
+ sliderLabel: 'Trascina per regolare il livello di inquinamento luminoso',
11
+ classLabel: 'Classe di Bortle',
12
+ nelmLabel: 'NELM',
13
+ sqmLabel: 'SQM',
14
+ classPrefix: 'CLASSE',
15
+ bortleData: {
16
+ 1: { title: 'Cielo Buio Eccellente', description: 'Il paradiso degli astronomi. La Via Lattea proietta ombre. Luce zodiacale visibile e colorata. M33 visibile a occhio nudo.', nelm: 8.0, sqm: '21.99 - 22.0', starsVisible: true, milkyWayVisible: true, cloudsLit: false, skyBrightness: 0.0 },
17
+ 2: { title: 'Veramente Buio', description: 'Luoghi davvero oscuri. La Via Lattea è altamente strutturata. Nuvole visibili solo come buchi neri nel cielo.', nelm: 7.5, sqm: '21.89 - 21.99', starsVisible: true, milkyWayVisible: true, cloudsLit: false, skyBrightness: 0.1 },
18
+ 3: { title: 'Cielo Rurale', description: 'Via Lattea complessa. Un po\' di inquinamento luminoso all\'orizzonte. Nuvole illuminate vicino all\'orizzonte ma scure allo zenit.', nelm: 7.0, sqm: '21.69 - 21.89', starsVisible: true, milkyWayVisible: true, cloudsLit: true, skyBrightness: 0.2 },
19
+ 4: { title: 'Rurale/Suburbano', description: 'La Via Lattea perde dettagli ma resta visibile. Cupole di luce all\'orizzonte. Nuvole illuminate dal basso.', nelm: 6.5, sqm: '20.49 - 21.69', starsVisible: true, milkyWayVisible: true, cloudsLit: true, skyBrightness: 0.35 },
20
+ 5: { title: 'Cielo Suburbano', description: 'Via Lattea molto debole o invisibile all\'orizzonte. Luce zodiacale raramente visibile. Il cielo appare grigiastro.', nelm: 6.0, sqm: '19.50 - 20.49', starsVisible: true, milkyWayVisible: true, cloudsLit: true, skyBrightness: 0.5 },
21
+ 6: { title: 'Suburbano Luminoso', description: 'Via Lattea invisibile. Il cielo è grigio chiaro. Nuvole molto luminose. M31 appena visibile.', nelm: 5.5, sqm: '18.94 - 19.50', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.65 },
22
+ 7: { title: 'Suburbano/Urbano', description: 'Cielo bianco-grigiastro. Forti fonti di luce in tutte le direzioni. Solo le stelle più luminose sono visibili.', nelm: 5.0, sqm: '18.38 - 18.94', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.8 },
23
+ 8: { title: 'Cielo Urbano', description: 'Il cielo è bianco-grigiastro o arancione. Si possono leggere i titoli dei giornali. Visibili solo le costellazioni principali.', nelm: 4.5, sqm: '< 18.38', starsVisible: true, milkyWayVisible: false, cloudsLit: true, skyBrightness: 0.9 },
24
+ 9: { title: 'Centro Città', description: 'Cielo luminoso come al crepuscolo. Luna visibile ma costellazioni no. Visibili solo i pianeti e la Luna.', nelm: 4.0, sqm: '< 18.00', starsVisible: false, milkyWayVisible: false, cloudsLit: true, skyBrightness: 1.0 },
25
+ },
26
+ };
27
+
28
+ const faq: BortleVisualizerLocaleContent['faq'] = [
29
+ {
30
+ question: 'Cos\'è la Scala di Bortle?',
31
+ answer: 'È una scala numerica a 9 punti che misura la luminosità del cielo notturno in una determinata posizione. È stata creata dall\'astronomo dilettante John E. Bortle nel 2001 e pubblicata su Sky & Telescope. Il livello 1 rappresenta il cielo più buio possibile (deserti remoti) e il livello 9 quello più inquinato (centri cittadini).',
32
+ },
33
+ {
34
+ question: 'Qual è il livello Bortle minimo per vedere la Via Lattea?',
35
+ answer: 'La Via Lattea inizia a essere chiaramente visibile da Bortle 4 (zona rurale/suburbana). Ai livelli 1 e 2 è spettacolare, con una struttura dettagliata capace persino di proiettare ombre deboli. Da Bortle 6 in poi è praticamente invisibile a occhio nudo.',
36
+ },
37
+ {
38
+ question: 'Cosa significano NELM e SQM?',
39
+ answer: 'NELM (Naked Eye Limiting Magnitude) è la magnitudine della stella più debole visibile a occhio nudo in quelle condizioni. SQM (Sky Quality Meter) misura la luminosità del cielo in magnitudini per secondo d\'arco quadrato, essendo lo standard scientifico oggettivo.',
40
+ },
41
+ {
42
+ question: 'Come posso trovare cieli più bui vicino a me?',
43
+ answer: 'Usa mappe dell\'inquinamento luminoso come lightpollutionmap.info per trovare zone Bortle 3 o più buie a poche ore di auto. Parchi nazionali, zone di alta montagna e riserve del cielo buio offrono le migliori condizioni.',
44
+ },
45
+ ];
46
+
47
+ const howTo: BortleVisualizerLocaleContent['howTo'] = [
48
+ { name: '1. Regola il livello Bortle', text: 'Trascina lo slider per simulare come l\'inquinamento luminoso aumenta dal livello 1 (deserto) al livello 9 (centro città).' },
49
+ { name: '2. Osserva gli effetti visivi', text: 'Nota come le stelle deboli scompaiono, la Via Lattea svanisce e il cielo assume un tono arancione o grigio a ogni livello.' },
50
+ { name: '3. Identifica il tuo livello attuale', text: 'Confronta ciò che vedi dal tuo solito punto di osservazione con le simulazioni per identificare il tuo livello Bortle locale.' },
51
+ ];
52
+
53
+ const bibliography: BortleVisualizerLocaleContent['bibliography'] = [
54
+ { name: 'Articolo originale di Bortle (Sky & Telescope, 2001)', url: 'https://skyandtelescope.org/astronomy-resources/light-pollution-and-astronomy-the-bortle-dark-sky-scale/' },
55
+ { name: 'Mappa dell\'inquinamento luminoso - Mappa mondiale', url: 'https://www.lightpollutionmap.info/' },
56
+ { name: 'International Dark-Sky Association', url: 'https://www.darksky.org/' },
57
+ { name: 'Globe at Night - Scienza dei cittadini', url: 'https://www.globeatnight.org/' },
58
+ ];
59
+
60
+ const seo: BortleVisualizerLocaleContent['seo'] = [
61
+ {
62
+ type: 'summary',
63
+ title: 'Punti chiave della Scala di Bortle',
64
+ items: [
65
+ 'Bortle 1-2: Cielo buio di riferimento, la Via Lattea proietta ombre, NELM > 7.5.',
66
+ 'Bortle 3-4: Ottimo cielo rurale, Via Lattea visibile in dettaglio ma orizzonte contaminato.',
67
+ 'Bortle 5-6: Suburbano, Via Lattea debole o invisibile, buono per pianeti e Luna.',
68
+ 'Bortle 7-9: Cielo urbano, solo oggetti luminosi visibili a occhio nudo.',
69
+ ],
70
+ },
71
+ { type: 'title', text: 'La Scala di Bortle: Misurare l\'Oscurità del Cielo', level: 2 },
72
+ {
73
+ type: 'paragraph',
74
+ html: 'La <strong>Scala di Bortle</strong> è il sistema standard internazionale utilizzato dagli astronomi dilettanti di tutto il mondo per quantificare la qualità del cielo notturno. Creata da John E. Bortle, un veterano osservatore di comete e oggetti del cielo profondo di New York, è stata pubblicata nel 2001 sulla rivista Sky & Telescope con l\'obiettivo di fornire una scala oggettiva e riproducibile per comunicare le condizioni di osservazione.',
75
+ },
76
+ {
77
+ type: 'paragraph',
78
+ html: 'La scala va dal <strong>livello 1</strong> (il cielo più buio possibile, che si trova solo in deserti remoti e alte montagne lontano da ogni civiltà) al <strong>livello 9</strong> (l\'interno delle grandi città, dove il cielo brilla di una luminosità arancione o biancastra permanente e sono visibili solo la Luna e i pianeti più luminosi). Ogni livello ha descrittori specifici che permettono l\'identificazione senza strumentazione.',
79
+ },
80
+ { type: 'title', text: 'Inquinamento Luminoso: Una Crisi Globale Silenziosa', level: 2 },
81
+ {
82
+ type: 'paragraph',
83
+ html: 'La crescita dell\'inquinamento luminoso è uno dei problemi ambientali meno discussi ma più diffusi. Secondo studi recenti, oltre l\'<strong>80% della popolazione mondiale</strong> vive sotto cieli inquinati dalla luce, e in Europa e Nord America la percentuale supera il 99%. Le conseguenze vanno oltre l\'astronomia: la luce artificiale notturna interrompe i ritmi circadiani di esseri umani e animali, disorienta gli uccelli migratori, influisce sulla riproduzione delle tartarughe marine e sopprime la produzione di melatonina nei mammiferi.',
84
+ },
85
+ {
86
+ type: 'table',
87
+ headers: ['Classe di Bortle', 'NELM', 'SQM (mag/arcsec²)', 'Via Lattea', 'Caratteristica Chiave'],
88
+ rows: [
89
+ ['1 - Eccellente', '8.0', '21.99 - 22.0', 'Proietta ombre', 'M33 visibile a occhio nudo'],
90
+ ['2 - Buio Tipico', '7.5', '21.89 - 21.99', 'Molto strutturata', 'Nuvole = buchi neri'],
91
+ ['3 - Rurale', '7.0', '21.69 - 21.89', 'Complessa', 'Lieve bagliore all\'orizzonte'],
92
+ ['4 - Rurale/Suburb.', '6.5', '20.49 - 21.69', 'Visibile', 'Cupole di luce all\'orizzonte'],
93
+ ['5 - Suburbano', '6.0', '19.50 - 20.49', 'Debole', 'Cielo grigiastro'],
94
+ ['6 - Suburb. Lumin.', '5.5', '18.94 - 19.50', 'Invisibile', 'M31 appena visibile'],
95
+ ['7 - Sub/Urbano', '5.0', '18.38 - 18.94', 'Assente', 'Cielo grigio chiaro'],
96
+ ['8 - Urbano', '4.5', '< 18.38', 'Assente', 'Solo costellazioni principali'],
97
+ ['9 - Centro Città', '4.0', '< 18.00', 'Assente', 'Solo Luna e pianeti'],
98
+ ],
99
+ },
100
+ {
101
+ type: 'tip',
102
+ title: 'Misurazione Oggettiva: Lo Sky Quality Meter',
103
+ html: 'Per misurazioni precise e riproducibili, gli astronomi utilizzano lo <strong>Sky Quality Meter (SQM)</strong>, un dispositivo che misura la luminanza del cielo in magnitudini per secondo d\'arco quadrato (mag/arcsec²). Un SQM di 22.0 corrisponde a un eccellente cielo Bortle 1, mentre un valore di 18.0 indica un cielo Bortle 8-9. È possibile controllare le misurazioni in tempo reale sulla rete Globe at Night.',
104
+ },
105
+ { type: 'title', text: 'Trovare Santuari del Cielo Buio Vicino a Te', level: 2 },
106
+ {
107
+ type: 'paragraph',
108
+ html: 'Nonostante il diffuso inquinamento luminoso, esistono ancora santuari del cielo buio. Parchi nazionali, riserve designate del cielo buio e remote aree montuose offrono condizioni Bortle 2-4 accessibili in poche ore dalla maggior parte delle grandi città. L\'IDA (International Dark-Sky Association) mantiene un registro globale di luoghi certificati per il cielo buio, dai piccoli parchi a intere riserve insulari. Pianificare un viaggio notturno in una posizione più buia trasformerà la tua esperienza astronomica più di qualsiasi aggiornamento dell\'attrezzatura.',
109
+ },
110
+ {
111
+ type: 'diagnostic',
112
+ variant: 'success',
113
+ title: 'Strumento di Pianificazione',
114
+ icon: 'mdi:map-marker-star',
115
+ badge: 'Consiglio Pro',
116
+ html: 'Prima di ogni uscita osservativa, controlla la mappa dell\'inquinamento luminoso su lightpollutionmap.info per identificare zone Bortle 3 o più buie in un raggio di 1-2 ore. Combina questo con le previsioni meteo astronomiche di Clear Outside o Meteoblue Astro per scegliere la notte perfetta.',
117
+ },
118
+ ];
119
+
120
+ const faqSchema: WithContext<FAQPage> = {
121
+ '@context': 'https://schema.org',
122
+ '@type': 'FAQPage',
123
+ mainEntity: faq.map((item) => ({
124
+ '@type': 'Question',
125
+ name: item.question,
126
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
127
+ })),
128
+ };
129
+
130
+ const howToSchema: WithContext<HowTo> = {
131
+ '@context': 'https://schema.org',
132
+ '@type': 'HowTo',
133
+ name: title,
134
+ description,
135
+ step: howTo.map((step) => ({
136
+ '@type': 'HowToStep',
137
+ name: step.name,
138
+ text: step.text,
139
+ })),
140
+ };
141
+
142
+ const appSchema: WithContext<SoftwareApplication> = {
143
+ '@context': 'https://schema.org',
144
+ '@type': 'SoftwareApplication',
145
+ name: title,
146
+ description,
147
+ applicationCategory: 'UtilitiesApplication',
148
+ operatingSystem: 'Web',
149
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
150
+ inLanguage: 'it',
151
+ };
152
+
153
+
154
+ export const content: BortleVisualizerLocaleContent = {
155
+ slug,
156
+ title,
157
+ description,
158
+ ui,
159
+ seo,
160
+ faq,
161
+ faqTitle: 'Domande Frequenti',
162
+ bibliography,
163
+ bibliographyTitle: 'Riferimenti Bibliografici',
164
+ howTo,
165
+ bortleData: ui.bortleData,
166
+ schemas: [faqSchema as any, howToSchema as any, appSchema],
167
+ };