@jjlmoya/utils-finance 1.3.0 → 1.6.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.
- package/package.json +2 -1
- package/src/tests/faq_count.test.ts +1 -1
- package/src/tests/i18n_coverage.test.ts +36 -0
- package/src/tests/locale_completeness.test.ts +3 -0
- package/src/tests/slug_uniqueness.test.ts +81 -0
- package/src/tests/title_quality.test.ts +1 -1
- package/src/tool/compoundInterest/i18n/de.ts +208 -0
- package/src/tool/compoundInterest/i18n/id.ts +208 -0
- package/src/tool/compoundInterest/i18n/it.ts +208 -0
- package/src/tool/compoundInterest/i18n/ja.ts +207 -0
- package/src/tool/compoundInterest/i18n/ko.ts +207 -0
- package/src/tool/compoundInterest/i18n/nl.ts +208 -0
- package/src/tool/compoundInterest/i18n/pl.ts +208 -0
- package/src/tool/compoundInterest/i18n/pt.ts +208 -0
- package/src/tool/compoundInterest/i18n/ru.ts +208 -0
- package/src/tool/compoundInterest/i18n/sv.ts +208 -0
- package/src/tool/compoundInterest/i18n/tr.ts +208 -0
- package/src/tool/compoundInterest/i18n/zh.ts +202 -0
- package/src/tool/compoundInterest/index.ts +15 -7
- package/src/tool/courtFeeCalculator/i18n/de.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/fr.ts +1 -1
- package/src/tool/courtFeeCalculator/i18n/id.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/it.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/ja.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/ko.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/nl.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/pl.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/pt.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/ru.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/sv.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/tr.ts +152 -0
- package/src/tool/courtFeeCalculator/i18n/zh.ts +152 -0
- package/src/tool/courtFeeCalculator/index.ts +16 -8
- package/src/tool/debtSnowball/i18n/de.ts +160 -0
- package/src/tool/debtSnowball/i18n/id.ts +160 -0
- package/src/tool/debtSnowball/i18n/it.ts +160 -0
- package/src/tool/debtSnowball/i18n/ja.ts +157 -0
- package/src/tool/debtSnowball/i18n/ko.ts +160 -0
- package/src/tool/debtSnowball/i18n/nl.ts +160 -0
- package/src/tool/debtSnowball/i18n/pl.ts +160 -0
- package/src/tool/debtSnowball/i18n/pt.ts +160 -0
- package/src/tool/debtSnowball/i18n/ru.ts +160 -0
- package/src/tool/debtSnowball/i18n/sv.ts +160 -0
- package/src/tool/debtSnowball/i18n/tr.ts +160 -0
- package/src/tool/debtSnowball/i18n/zh.ts +160 -0
- package/src/tool/debtSnowball/index.ts +17 -9
- package/src/tool/fireCalculator/component.astro +12 -3
- package/src/tool/fireCalculator/i18n/de.ts +261 -0
- package/src/tool/fireCalculator/i18n/en.ts +5 -5
- package/src/tool/fireCalculator/i18n/es.ts +2 -2
- package/src/tool/fireCalculator/i18n/fr.ts +5 -5
- package/src/tool/fireCalculator/i18n/id.ts +261 -0
- package/src/tool/fireCalculator/i18n/it.ts +261 -0
- package/src/tool/fireCalculator/i18n/ja.ts +261 -0
- package/src/tool/fireCalculator/i18n/ko.ts +261 -0
- package/src/tool/fireCalculator/i18n/nl.ts +261 -0
- package/src/tool/fireCalculator/i18n/pl.ts +261 -0
- package/src/tool/fireCalculator/i18n/pt.ts +261 -0
- package/src/tool/fireCalculator/i18n/ru.ts +261 -0
- package/src/tool/fireCalculator/i18n/sv.ts +261 -0
- package/src/tool/fireCalculator/i18n/tr.ts +261 -0
- package/src/tool/fireCalculator/i18n/zh.ts +261 -0
- package/src/tool/fireCalculator/index.ts +15 -7
- package/src/tool/ibanBicSwiftConverter/i18n/de.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/id.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/it.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/ja.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/ko.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/nl.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/pl.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/pt.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/ru.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/sv.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/tr.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/i18n/zh.ts +128 -0
- package/src/tool/ibanBicSwiftConverter/index.ts +15 -7
- package/src/tool/inflation/i18n/de.ts +297 -0
- package/src/tool/inflation/i18n/id.ts +297 -0
- package/src/tool/inflation/i18n/it.ts +297 -0
- package/src/tool/inflation/i18n/ja.ts +297 -0
- package/src/tool/inflation/i18n/ko.ts +297 -0
- package/src/tool/inflation/i18n/nl.ts +297 -0
- package/src/tool/inflation/i18n/pl.ts +297 -0
- package/src/tool/inflation/i18n/pt.ts +297 -0
- package/src/tool/inflation/i18n/ru.ts +297 -0
- package/src/tool/inflation/i18n/sv.ts +297 -0
- package/src/tool/inflation/i18n/tr.ts +297 -0
- package/src/tool/inflation/i18n/zh.ts +297 -0
- package/src/tool/inflation/index.ts +17 -9
- package/src/tool/lateInterest/i18n/de.ts +224 -0
- package/src/tool/lateInterest/i18n/id.ts +224 -0
- package/src/tool/lateInterest/i18n/it.ts +224 -0
- package/src/tool/lateInterest/i18n/ja.ts +224 -0
- package/src/tool/lateInterest/i18n/ko.ts +224 -0
- package/src/tool/lateInterest/i18n/nl.ts +224 -0
- package/src/tool/lateInterest/i18n/pl.ts +224 -0
- package/src/tool/lateInterest/i18n/pt.ts +224 -0
- package/src/tool/lateInterest/i18n/ru.ts +224 -0
- package/src/tool/lateInterest/i18n/sv.ts +224 -0
- package/src/tool/lateInterest/i18n/tr.ts +224 -0
- package/src/tool/lateInterest/i18n/zh.ts +224 -0
- package/src/tool/lateInterest/index.ts +17 -9
- package/src/tool/legalInterestRate/i18n/de.ts +143 -0
- package/src/tool/legalInterestRate/i18n/id.ts +143 -0
- package/src/tool/legalInterestRate/i18n/it.ts +143 -0
- package/src/tool/legalInterestRate/i18n/ja.ts +143 -0
- package/src/tool/legalInterestRate/i18n/ko.ts +143 -0
- package/src/tool/legalInterestRate/i18n/nl.ts +143 -0
- package/src/tool/legalInterestRate/i18n/pl.ts +143 -0
- package/src/tool/legalInterestRate/i18n/pt.ts +143 -0
- package/src/tool/legalInterestRate/i18n/ru.ts +143 -0
- package/src/tool/legalInterestRate/i18n/sv.ts +143 -0
- package/src/tool/legalInterestRate/i18n/tr.ts +143 -0
- package/src/tool/legalInterestRate/i18n/zh.ts +143 -0
- package/src/tool/legalInterestRate/index.ts +17 -9
- package/src/tool/lotteryOptimizer/i18n/de.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/id.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/it.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/ja.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/ko.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/nl.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/pl.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/pt.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/ru.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/sv.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/tr.ts +177 -0
- package/src/tool/lotteryOptimizer/i18n/zh.ts +177 -0
- package/src/tool/lotteryOptimizer/index.ts +17 -9
- package/src/tool/mortgage/i18n/de.ts +223 -0
- package/src/tool/mortgage/i18n/id.ts +219 -0
- package/src/tool/mortgage/i18n/it.ts +223 -0
- package/src/tool/mortgage/i18n/ja.ts +219 -0
- package/src/tool/mortgage/i18n/ko.ts +219 -0
- package/src/tool/mortgage/i18n/nl.ts +219 -0
- package/src/tool/mortgage/i18n/pl.ts +219 -0
- package/src/tool/mortgage/i18n/pt.ts +219 -0
- package/src/tool/mortgage/i18n/ru.ts +219 -0
- package/src/tool/mortgage/i18n/sv.ts +219 -0
- package/src/tool/mortgage/i18n/tr.ts +219 -0
- package/src/tool/mortgage/i18n/zh.ts +219 -0
- package/src/tool/mortgage/index.ts +15 -7
- package/src/tool/percentageCalculator/i18n/de.ts +229 -0
- package/src/tool/percentageCalculator/i18n/id.ts +229 -0
- package/src/tool/percentageCalculator/i18n/it.ts +229 -0
- package/src/tool/percentageCalculator/i18n/ja.ts +229 -0
- package/src/tool/percentageCalculator/i18n/ko.ts +229 -0
- package/src/tool/percentageCalculator/i18n/nl.ts +229 -0
- package/src/tool/percentageCalculator/i18n/pl.ts +229 -0
- package/src/tool/percentageCalculator/i18n/pt.ts +229 -0
- package/src/tool/percentageCalculator/i18n/ru.ts +229 -0
- package/src/tool/percentageCalculator/i18n/sv.ts +229 -0
- package/src/tool/percentageCalculator/i18n/tr.ts +229 -0
- package/src/tool/percentageCalculator/i18n/zh.ts +229 -0
- package/src/tool/percentageCalculator/index.ts +15 -7
- package/src/tool/rentIncreaseCalculator/i18n/de.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/id.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/it.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/ja.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/ko.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/nl.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/pl.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/pt.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/ru.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/sv.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/tr.ts +136 -0
- package/src/tool/rentIncreaseCalculator/i18n/zh.ts +136 -0
- package/src/tool/rentIncreaseCalculator/index.ts +17 -9
- package/src/types.ts +1 -1
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { LotteryOptimizerUI } from '../ui';
|
|
4
|
+
|
|
5
|
+
const slug = 'lotto-optimierer-wahrscheinlichkeitsrechner';
|
|
6
|
+
const title = 'Lotto Optimierer und Wahrscheinlichkeitsrechner';
|
|
7
|
+
const description = 'Analysieren Sie Ihre Chancen bei Weihnachtslotterie, EuroMillions und mehr. Berechnen Sie die optimale Anzahl an Losen und den Erwartungswert.';
|
|
8
|
+
|
|
9
|
+
const faqData = [
|
|
10
|
+
{
|
|
11
|
+
question: 'Was ist der Erwartungswert beim Lotto?',
|
|
12
|
+
answer: 'Es ist der durchschnittliche Wert, den Sie pro gesetztem Euro erwarten können zu gewinnen. Bei fast allen Lotterien ist dieser negativ, was bedeutet, dass die Bank langfristig immer gewinnt.',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
question: 'Ist es besser, viele verschiedene Nummern oder viele Lose derselben Nummer zu spielen?',
|
|
16
|
+
answer: 'Wenn Sie "etwas" gewinnen wollen, erhöht die Diversifizierung der Nummern Ihre Chancen auf kleinere Gewinne. Wenn Sie den Jackpot wollen, bietet ein einziges Los dieselbe Chance auf den Hauptpreis.',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
question: 'Lohnt sich die spanische Weihnachtslotterie wirklich?',
|
|
20
|
+
answer: 'Rein mathematisch gesehen nein, da nur 70 % der Einnahmen ausgeschüttet werden. Dennoch ist die Chance auf den Hauptpreis (1 zu 100.000) viel höher als bei EuroMillions (1 zu 140 Millionen).',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
question: 'Kann ich meine Chancen durch Statistiken verbessern?',
|
|
24
|
+
answer: 'Nein. Jede Ziehung ist ein unabhängiger Zufallsprozess. Frühere Ergebnisse haben keinen Einfluss auf zukünftige Ziehungen.',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
question: 'Was bedeutet "Schwierigkeit" in der Vergleichstabelle?',
|
|
28
|
+
answer: 'Es ist ein Maß dafür, wie schwer es ist, den Hauptpreis zu gewinnen. Zugänglich (unter 200k), Schwierig (unter 20M), Extrem (über 20M).',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
const howToData = [
|
|
33
|
+
{
|
|
34
|
+
name: 'Lotterie auswählen',
|
|
35
|
+
text: 'Wählen Sie zwischen Weihnachtslotterie, Primitiva, EuroMillions oder Bonoloto.',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'Einsatz festlegen',
|
|
39
|
+
text: 'Geben Sie an, wie viele Lose oder Wetten Sie kaufen möchten.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Wahrscheinlichkeiten analysieren',
|
|
43
|
+
text: 'Sehen Sie sich die realen Chancen auf den Hauptpreis im Vergleich zu kleineren Gewinnen an.',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Risiko/Nutzen bewerten',
|
|
47
|
+
text: 'Prüfen Sie den Erwartungswert, um zu verstehen, wie viel Geld Sie statistisch gesehen pro investiertem Euro "verschenken".',
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
|
|
51
|
+
const bibliographyData = [
|
|
52
|
+
{
|
|
53
|
+
name: 'Loterías y Apuestas del Estado (SELAE) - Transparenzportal',
|
|
54
|
+
url: 'https://www.selae.es/',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'Mathematik der Weihnachtslotterie - RSME',
|
|
58
|
+
url: 'https://rsme.es/',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Kelly-Kriterium und Risikomanagement',
|
|
62
|
+
url: 'https://www.investopedia.com/',
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
|
|
66
|
+
const seoData = [
|
|
67
|
+
{
|
|
68
|
+
type: 'title',
|
|
69
|
+
text: 'Die Mathematik der Hoffnung',
|
|
70
|
+
level: 2,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
type: 'paragraph',
|
|
74
|
+
html: 'Lotto zu spielen ist für viele der Kauf einer Illusion für ein paar Euro. Doch hinter den Kulissen steckt faszinierende Mathematik: die Statistik extremer Wahrscheinlichkeiten.',
|
|
75
|
+
},
|
|
76
|
+
];
|
|
77
|
+
|
|
78
|
+
const gameTranslations = {
|
|
79
|
+
gordo: {
|
|
80
|
+
name: 'Weihnachtslotterie (El Gordo)',
|
|
81
|
+
description: 'Die größte Preisausschüttung der Welt. Hohe Chance, etwas zu gewinnen.',
|
|
82
|
+
},
|
|
83
|
+
nino: {
|
|
84
|
+
name: 'Dreikönigslotterie (El Niño)',
|
|
85
|
+
description: 'Verdreifacht die Chancen auf einen Rückgewinn im Vergleich zu Weihnachten.',
|
|
86
|
+
},
|
|
87
|
+
euromillones: {
|
|
88
|
+
name: 'EuroMillions',
|
|
89
|
+
description: 'Astronomische Preise, fast unmögliche Wahrscheinlichkeiten.',
|
|
90
|
+
},
|
|
91
|
+
primitiva: {
|
|
92
|
+
name: 'La Primitiva',
|
|
93
|
+
description: 'Die älteste Lotterie Spaniens. Schwierig, aber günstig.',
|
|
94
|
+
},
|
|
95
|
+
bonoloto: {
|
|
96
|
+
name: 'Bonoloto',
|
|
97
|
+
description: 'Die preiswerteste. Ideal für tägliches Spielen mit kleinem Budget.',
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
102
|
+
'@context': 'https://schema.org',
|
|
103
|
+
'@type': 'FAQPage',
|
|
104
|
+
mainEntity: faqData.map((item) => ({
|
|
105
|
+
'@type': 'Question',
|
|
106
|
+
name: item.question,
|
|
107
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
108
|
+
})),
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
const howToSchema: WithContext<HowTo> = {
|
|
112
|
+
'@context': 'https://schema.org',
|
|
113
|
+
'@type': 'HowTo',
|
|
114
|
+
name: title,
|
|
115
|
+
description,
|
|
116
|
+
step: howToData.map((step, i) => ({
|
|
117
|
+
'@type': 'HowToStep',
|
|
118
|
+
position: i + 1,
|
|
119
|
+
name: step.name,
|
|
120
|
+
text: step.text,
|
|
121
|
+
})),
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
125
|
+
'@context': 'https://schema.org',
|
|
126
|
+
'@type': 'SoftwareApplication',
|
|
127
|
+
name: title,
|
|
128
|
+
description,
|
|
129
|
+
applicationCategory: 'FinanceApplication',
|
|
130
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export const content: ToolLocaleContent<LotteryOptimizerUI> = {
|
|
134
|
+
slug,
|
|
135
|
+
title,
|
|
136
|
+
description,
|
|
137
|
+
faqTitle: 'Häufig gestellte Fragen',
|
|
138
|
+
bibliographyTitle: 'Quellen und Referenzen',
|
|
139
|
+
ui: {
|
|
140
|
+
gameTranslations,
|
|
141
|
+
labelTitle: 'Lotto Optimierer',
|
|
142
|
+
labelDescription: 'Vergleichen Sie Ziehungen, berechnen Sie den Erwartungswert und spielen Sie mit Köpfchen.',
|
|
143
|
+
labelSelectGame: 'Lotterie auswählen',
|
|
144
|
+
labelConfigurePlay: 'Spiel konfigurieren',
|
|
145
|
+
labelAdjustQuantity: 'Passen Sie die Anzahl der Lose an, um Ihre reale Wahrscheinlichkeit zu sehen.',
|
|
146
|
+
labelTotalInvestment: 'Gesamtinvestition',
|
|
147
|
+
labelTickets: 'Anzahl der Lose / Wetten',
|
|
148
|
+
labelUnits: 'Stück',
|
|
149
|
+
labelExposureAnalysis: 'Risikoanalyse',
|
|
150
|
+
labelSelectLottery: 'Wählen Sie eine Lotterie für die Risikoanalyse.',
|
|
151
|
+
labelOptimalCutoff: 'Vorgeschlagener Grenzwert',
|
|
152
|
+
labelProbabilitySuccess: 'Erfolgswahrscheinlichkeit',
|
|
153
|
+
labelExpectedValue: 'Erwartungswert (EV)',
|
|
154
|
+
labelReturnTheoretical: 'Theoretische Rückzahlung pro Spiel.',
|
|
155
|
+
labelSocialReturnIndex: 'Sozialer Rendite-Index',
|
|
156
|
+
labelLow: 'Niedrig',
|
|
157
|
+
labelMedium: 'Mittel',
|
|
158
|
+
labelHigh: 'Hoch',
|
|
159
|
+
labelComparison: 'Preisvergleich',
|
|
160
|
+
labelLottery: 'Lotterie',
|
|
161
|
+
labelCost: 'Kosten',
|
|
162
|
+
labelTypicalPrize: 'Typischer Preis',
|
|
163
|
+
labelDifficulty: 'Schwierigkeit',
|
|
164
|
+
labelAccessible: 'Zugänglich',
|
|
165
|
+
labelDifficult: 'Schwierig',
|
|
166
|
+
labelExtreme: 'Extrem',
|
|
167
|
+
labelNote: 'Hinweis: Preise für Weihnachten/El Niño gelten pro Zehntellos (20 €). EuroMillions etc. sind typische Jackpots.',
|
|
168
|
+
currencySymbol: '€',
|
|
169
|
+
currencyCode: 'EUR',
|
|
170
|
+
currencyLocale: 'de-DE',
|
|
171
|
+
},
|
|
172
|
+
faq: faqData,
|
|
173
|
+
howTo: howToData,
|
|
174
|
+
bibliography: bibliographyData,
|
|
175
|
+
seo: seoData,
|
|
176
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
177
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { LotteryOptimizerUI } from '../ui';
|
|
4
|
+
|
|
5
|
+
const slug = 'pengoptimal-lotre-kalkulator-peluang';
|
|
6
|
+
const title = 'Pengoptimal Lotre dan Kalkulator Peluang';
|
|
7
|
+
const description = 'Analisis peluang Anda dalam Lotre Natal Spanyol, Euromillions, dan Bonoloto. Hitung jumlah tiket optimal dan nilai gairah dari taruhan Anda.';
|
|
8
|
+
|
|
9
|
+
const faqData = [
|
|
10
|
+
{
|
|
11
|
+
question: 'Apa itu ekspektasi matematika dalam lotre?',
|
|
12
|
+
answer: 'Ini adalah nilai rata-rata yang Anda harapkan untuk menang untuk setiap euro yang dipertaruhkan. Di hampir semua lotre, ekspektasi matematikanya negatif (biasanya Anda kehilangan 0,50€ untuk setiap 1€ yang dimainkan), yang berarti dalam jangka panjang, bandar selalu menang.',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
question: 'Mana yang lebih baik, memainkan banyak nomor berbeda atau banyak tiket dengan nomor yang sama?',
|
|
16
|
+
answer: 'Jika Anda ingin memenangkan "sesuatu", diversifikasi nomor meningkatkan peluang Anda untuk mendapatkan hadiah kecil. Jika Anda mengincar hadiah utama, memainkan satu nomor memberikan peluang yang sama untuk jackpot, tetapi hadiahnya lebih besar jika kena.',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
question: 'Apakah benar-benar menguntungkan bermain Lotre Natal Spanyol (El Gordo)?',
|
|
20
|
+
answer: 'Dari sudut pandang matematika murni, tidak. Hanya 70% dari hasil penjualan yang dikembalikan sebagai hadiah. Namun, peluang hadiah utamanya (1 berbanding 100.000) jauh lebih tinggi daripada Euromillions (1 berbanding 140 juta).',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
question: 'Dapatkah saya meningkatkan peluang saya dengan statistik?',
|
|
24
|
+
answer: 'Tidak. Pengundian lotre adalah proses acak yang independen. Fakta bahwa sebuah nomor keluar kemarin sama sekali tidak mempengaruhi peluangnya untuk keluar hari ini.',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
question: 'Apa arti "kesulitan" dalam tabel perbandingan?',
|
|
28
|
+
answer: 'Ini adalah ukuran relatif seberapa sulit untuk memenangkan hadiah pertama. Terjangkau (kurang dari 200rb), Sulit (kurang dari 20jt), Ekstrem (lebih dari 20jt).',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
const howToData = [
|
|
33
|
+
{
|
|
34
|
+
name: 'Pilih jenis undian',
|
|
35
|
+
text: 'Pilih antara Lotre Natal, Primitiva, Euromillions, atau Bonoloto untuk menganalisis aturan spesifiknya.',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'Tentukan investasi Anda',
|
|
39
|
+
text: 'Tentukan berapa banyak tiket atau taruhan yang Anda rencanakan untuk dibeli.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Analisis peluang kritis',
|
|
43
|
+
text: 'Lihat peluang nyata untuk memenangkan hadiah utama dibandingkan dengan hadiah kecil atau pengembalian modal.',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Evaluasi risiko/manfaat',
|
|
47
|
+
text: 'Tinjau ekspektasi matematika untuk memahami berapa banyak uang yang secara statistik Anda "berikan" untuk setiap euro yang diinvestasikan.',
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
|
|
51
|
+
const bibliographyData = [
|
|
52
|
+
{
|
|
53
|
+
name: 'Loterías y Apuestas del Estado (SELAE) - Portal Transparansi',
|
|
54
|
+
url: 'https://www.selae.es/',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'Matematika Lotre Natal - RSME',
|
|
58
|
+
url: 'https://rsme.es/',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Kriteria Kelly dan Manajemen Risiko',
|
|
62
|
+
url: 'https://www.investopedia.com/',
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
|
|
66
|
+
const seoData = [
|
|
67
|
+
{
|
|
68
|
+
type: 'title',
|
|
69
|
+
text: 'Matematika dari Sebuah Harapan',
|
|
70
|
+
level: 2,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
type: 'paragraph',
|
|
74
|
+
html: 'Bermain lotre bagi banyak orang adalah membeli sebuah ilusi dengan harga beberapa euro. Namun, di balik itu semua terdapat salah satu cabang matematika yang paling menarik: statistik peluang ekstrem.',
|
|
75
|
+
},
|
|
76
|
+
];
|
|
77
|
+
|
|
78
|
+
const gameTranslations = {
|
|
79
|
+
gordo: {
|
|
80
|
+
name: 'Lotre Natal (El Gordo)',
|
|
81
|
+
description: 'Pembagian hadiah terbesar di dunia. Peluang tinggi untuk memenangkan sesuatu.',
|
|
82
|
+
},
|
|
83
|
+
nino: {
|
|
84
|
+
name: 'Lotre Anak (El Niño)',
|
|
85
|
+
description: 'Peluang pengembalian modal tiga kali lipat dibandingkan Lotre Natal.',
|
|
86
|
+
},
|
|
87
|
+
euromillones: {
|
|
88
|
+
name: 'Euromillions',
|
|
89
|
+
description: 'Hadiah astronomis, peluang yang hampir mustahil.',
|
|
90
|
+
},
|
|
91
|
+
primitiva: {
|
|
92
|
+
name: 'La Primitiva',
|
|
93
|
+
description: 'Lotre tertua di Spanyol. Sulit tetapi lebih murah.',
|
|
94
|
+
},
|
|
95
|
+
bonoloto: {
|
|
96
|
+
name: 'Bonoloto',
|
|
97
|
+
description: 'Yang paling ekonomis. Ideal untuk bermain harian dengan anggaran kecil.',
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
102
|
+
'@context': 'https://schema.org',
|
|
103
|
+
'@type': 'FAQPage',
|
|
104
|
+
mainEntity: faqData.map((item) => ({
|
|
105
|
+
'@type': 'Question',
|
|
106
|
+
name: item.question,
|
|
107
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
108
|
+
})),
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
const howToSchema: WithContext<HowTo> = {
|
|
112
|
+
'@context': 'https://schema.org',
|
|
113
|
+
'@type': 'HowTo',
|
|
114
|
+
name: title,
|
|
115
|
+
description,
|
|
116
|
+
step: howToData.map((step, i) => ({
|
|
117
|
+
'@type': 'HowToStep',
|
|
118
|
+
position: i + 1,
|
|
119
|
+
name: step.name,
|
|
120
|
+
text: step.text,
|
|
121
|
+
})),
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
125
|
+
'@context': 'https://schema.org',
|
|
126
|
+
'@type': 'SoftwareApplication',
|
|
127
|
+
name: title,
|
|
128
|
+
description,
|
|
129
|
+
applicationCategory: 'FinanceApplication',
|
|
130
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export const content: ToolLocaleContent<LotteryOptimizerUI> = {
|
|
134
|
+
slug,
|
|
135
|
+
title,
|
|
136
|
+
description,
|
|
137
|
+
faqTitle: 'Pertanyaan Umum',
|
|
138
|
+
bibliographyTitle: 'Sumber dan Referensi',
|
|
139
|
+
ui: {
|
|
140
|
+
gameTranslations,
|
|
141
|
+
labelTitle: 'Pengoptimal Lotre',
|
|
142
|
+
labelDescription: 'Bandingkan undian, hitung ekspektasi matematika Anda, dan bermainlah dengan cerdas.',
|
|
143
|
+
labelSelectGame: 'Pilih lotre',
|
|
144
|
+
labelConfigurePlay: 'Konfigurasi Permainan',
|
|
145
|
+
labelAdjustQuantity: 'Sesuaikan jumlah tiket untuk melihat peluang nyata Anda.',
|
|
146
|
+
labelTotalInvestment: 'Total Investasi',
|
|
147
|
+
labelTickets: 'Jumlah Tiket / Taruhan',
|
|
148
|
+
labelUnits: 'unit',
|
|
149
|
+
labelExposureAnalysis: 'Analisis Eksposur',
|
|
150
|
+
labelSelectLottery: 'Pilih lotre untuk melihat analisis risiko.',
|
|
151
|
+
labelOptimalCutoff: 'Titik Potong yang Disarankan',
|
|
152
|
+
labelProbabilitySuccess: 'Peluang Berhasil',
|
|
153
|
+
labelExpectedValue: 'Nilai Ekspektasi (EV)',
|
|
154
|
+
labelReturnTheoretical: 'Pengembalian teoritis untuk setiap permainan yang dilakukan.',
|
|
155
|
+
labelSocialReturnIndex: 'Indeks Keuntungan Sosial',
|
|
156
|
+
labelLow: 'Rendah',
|
|
157
|
+
labelMedium: 'Sedang',
|
|
158
|
+
labelHigh: 'Tinggi',
|
|
159
|
+
labelComparison: 'Perbandingan Hadiah',
|
|
160
|
+
labelLottery: 'Lotre',
|
|
161
|
+
labelCost: 'Biaya',
|
|
162
|
+
labelTypicalPrize: 'Hadiah Tipikal',
|
|
163
|
+
labelDifficulty: 'Kesulitan',
|
|
164
|
+
labelAccessible: 'Terjangkau',
|
|
165
|
+
labelDifficult: 'Sulit',
|
|
166
|
+
labelExtreme: 'Ekstrem',
|
|
167
|
+
labelNote: 'Catatan: Hadiah Natal dan El Niño adalah per tiket (20€). Euromillions, dll. adalah jackpot tipikal.',
|
|
168
|
+
currencySymbol: '€',
|
|
169
|
+
currencyCode: 'EUR',
|
|
170
|
+
currencyLocale: 'id-ID',
|
|
171
|
+
},
|
|
172
|
+
faq: faqData,
|
|
173
|
+
howTo: howToData,
|
|
174
|
+
bibliography: bibliographyData,
|
|
175
|
+
seo: seoData,
|
|
176
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
177
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { LotteryOptimizerUI } from '../ui';
|
|
4
|
+
|
|
5
|
+
const slug = 'ottimizzatore-lotterie-calcolatore-probabilita';
|
|
6
|
+
const title = 'Ottimizzatore di Lotterie e Calcolatore di Probabilità';
|
|
7
|
+
const description = 'Analizza le tue probabilità nella Lotteria di Natale, EuroMillions e Bonoloto. Calcola il numero ottimale di biglietti e il valore atteso della tua scommessa.';
|
|
8
|
+
|
|
9
|
+
const faqData = [
|
|
10
|
+
{
|
|
11
|
+
question: 'Cos’è la speranza matematica nella lotteria?',
|
|
12
|
+
answer: 'È il valore medio che ti aspetti di vincere per ogni euro scommesso. In quasi tutte le lotterie, la speranza matematica è negativa (solitamente perdi 0,50€ per ogni 1€ giocato), il che significa che a lungo termine il banco vince sempre.',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
question: 'È meglio giocare molti numeri o molti biglietti dello stesso numero?',
|
|
16
|
+
answer: 'Se cerchi di vincere "qualcosa", diversificare i numeri aumenta la tua probabilità di ottenere premi minori. Se cerchi il primo premio, giocare un solo numero ti dà la stessa probabilità, ma un premio maggiore se indovini.',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
question: 'Conviene davvero giocare alla Lotteria di Natale spagnola?',
|
|
20
|
+
answer: 'Da un punto di vista puramente matematico, no. Viene restituito solo il 70% della raccolta. Tuttavia, ha una probabilità di vincere il primo premio (1 su 100.000) molto più alta rispetto all’EuroMillions (1 su 140 milioni).',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
question: 'Posso migliorare le mie possibilità con le statistiche?',
|
|
24
|
+
answer: 'No. Le estrazioni della lotteria sono processi casuali indipendenti. Il fatto che un numero sia uscito ieri non influisce affatto sull’estrazione di oggi.',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
question: 'Cosa significa la "difficoltà" nella tabella comparativa?',
|
|
28
|
+
answer: 'È una misura relativa di quanto sia difficile vincere il primo premio. Accessibile (meno di 200k), Difficile (meno di 20M), Estrema (oltre 20M).',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
const howToData = [
|
|
33
|
+
{
|
|
34
|
+
name: 'Selezionare il tipo di estrazione',
|
|
35
|
+
text: 'Scegli tra Lotteria di Natale, Primitiva, EuroMillions o Bonoloto per analizzare le regole specifiche.',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'Definire l’investimento',
|
|
39
|
+
text: 'Indica quanti biglietti o scommesse intendi acquistare per questa estrazione.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Analizzare le probabilità critiche',
|
|
43
|
+
text: 'Osserva le possibilità reali di vincere il primo premio rispetto a premi minori o al rimborso.',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Valutare il rischio/beneficio',
|
|
47
|
+
text: 'Controlla la speranza matematica per capire quanto denaro stai "regalando" statisticamente per ogni euro investito.',
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
|
|
51
|
+
const bibliographyData = [
|
|
52
|
+
{
|
|
53
|
+
name: 'Loterías y Apuestas del Estado (SELAE) - Portale Trasparenza',
|
|
54
|
+
url: 'https://www.selae.es/',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'Matematica della Lotteria di Natale - RSME',
|
|
58
|
+
url: 'https://rsme.es/',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Il Criterio di Kelly e la Gestione del Rischio',
|
|
62
|
+
url: 'https://www.investopedia.com/',
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
|
|
66
|
+
const seoData = [
|
|
67
|
+
{
|
|
68
|
+
type: 'title',
|
|
69
|
+
text: 'La Matematica della Speranza',
|
|
70
|
+
level: 2,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
type: 'paragraph',
|
|
74
|
+
html: 'Giocare alla lotteria è, per molti, l’acquisto di un’illusione per pochi euro. Tuttavia, dietro le estrazioni risiede una delle branche più affascinanti della matematica: la statistica delle probabilità estreme.',
|
|
75
|
+
},
|
|
76
|
+
];
|
|
77
|
+
|
|
78
|
+
const gameTranslations = {
|
|
79
|
+
gordo: {
|
|
80
|
+
name: 'Lotteria di Natale (El Gordo)',
|
|
81
|
+
description: 'La più grande distribuzione di premi al mondo. Alta probabilità di vincere qualcosa.',
|
|
82
|
+
},
|
|
83
|
+
nino: {
|
|
84
|
+
name: 'Lotteria del Bambino (El Niño)',
|
|
85
|
+
description: 'Triplica le possibilità di rimborso rispetto al Natale.',
|
|
86
|
+
},
|
|
87
|
+
euromillones: {
|
|
88
|
+
name: 'EuroMillions',
|
|
89
|
+
description: 'Premi astronomici, probabilità quasi impossibili.',
|
|
90
|
+
},
|
|
91
|
+
primitiva: {
|
|
92
|
+
name: 'La Primitiva',
|
|
93
|
+
description: 'La lotteria più antica di Spagna. Difficile ma più economica.',
|
|
94
|
+
},
|
|
95
|
+
bonoloto: {
|
|
96
|
+
name: 'Bonoloto',
|
|
97
|
+
description: 'La più economica. Ideale per giocare quotidianamente con un budget ridotto.',
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
102
|
+
'@context': 'https://schema.org',
|
|
103
|
+
'@type': 'FAQPage',
|
|
104
|
+
mainEntity: faqData.map((item) => ({
|
|
105
|
+
'@type': 'Question',
|
|
106
|
+
name: item.question,
|
|
107
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
108
|
+
})),
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
const howToSchema: WithContext<HowTo> = {
|
|
112
|
+
'@context': 'https://schema.org',
|
|
113
|
+
'@type': 'HowTo',
|
|
114
|
+
name: title,
|
|
115
|
+
description,
|
|
116
|
+
step: howToData.map((step, i) => ({
|
|
117
|
+
'@type': 'HowToStep',
|
|
118
|
+
position: i + 1,
|
|
119
|
+
name: step.name,
|
|
120
|
+
text: step.text,
|
|
121
|
+
})),
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
125
|
+
'@context': 'https://schema.org',
|
|
126
|
+
'@type': 'SoftwareApplication',
|
|
127
|
+
name: title,
|
|
128
|
+
description,
|
|
129
|
+
applicationCategory: 'FinanceApplication',
|
|
130
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export const content: ToolLocaleContent<LotteryOptimizerUI> = {
|
|
134
|
+
slug,
|
|
135
|
+
title,
|
|
136
|
+
description,
|
|
137
|
+
faqTitle: 'Domande Frequenti',
|
|
138
|
+
bibliographyTitle: 'Fonti e Riferimenti',
|
|
139
|
+
ui: {
|
|
140
|
+
gameTranslations,
|
|
141
|
+
labelTitle: 'Ottimizzatore di Lotterie',
|
|
142
|
+
labelDescription: 'Confronta le estrazioni, calcola la tua speranza matematica e gioca con intelligenza.',
|
|
143
|
+
labelSelectGame: 'Seleziona una lotteria',
|
|
144
|
+
labelConfigurePlay: 'Configura la tua giocata',
|
|
145
|
+
labelAdjustQuantity: 'Regola la quantità di giocate per vedere la tua probabilità reale.',
|
|
146
|
+
labelTotalInvestment: 'Investimento Totale',
|
|
147
|
+
labelTickets: 'Quantità di Biglietti / Scommesse',
|
|
148
|
+
labelUnits: 'unità',
|
|
149
|
+
labelExposureAnalysis: 'Analisi dell’Esposizione',
|
|
150
|
+
labelSelectLottery: 'Seleziona una lotteria per vedere l’analisi del rischio.',
|
|
151
|
+
labelOptimalCutoff: 'Punto di Interruzione Suggerito',
|
|
152
|
+
labelProbabilitySuccess: 'Probabilità di Successo',
|
|
153
|
+
labelExpectedValue: 'Valore Atteso (EV)',
|
|
154
|
+
labelReturnTheoretical: 'Ritorno teorico per ogni giocata effettuata.',
|
|
155
|
+
labelSocialReturnIndex: 'Indice di Redditività Sociale',
|
|
156
|
+
labelLow: 'Bassa',
|
|
157
|
+
labelMedium: 'Media',
|
|
158
|
+
labelHigh: 'Alta',
|
|
159
|
+
labelComparison: 'Confronto Premi',
|
|
160
|
+
labelLottery: 'Lotteria',
|
|
161
|
+
labelCost: 'Costo',
|
|
162
|
+
labelTypicalPrize: 'Premio Tipico',
|
|
163
|
+
labelDifficulty: 'Difficoltà',
|
|
164
|
+
labelAccessible: 'Accessibile',
|
|
165
|
+
labelDifficult: 'Difficile',
|
|
166
|
+
labelExtreme: 'Estrema',
|
|
167
|
+
labelNote: 'Nota: I premi di Natale ed El Niño sono per "décimo" (20€). Euromillions, ecc. sono jackpot tipici.',
|
|
168
|
+
currencySymbol: '€',
|
|
169
|
+
currencyCode: 'EUR',
|
|
170
|
+
currencyLocale: 'it-IT',
|
|
171
|
+
},
|
|
172
|
+
faq: faqData,
|
|
173
|
+
howTo: howToData,
|
|
174
|
+
bibliography: bibliographyData,
|
|
175
|
+
seo: seoData,
|
|
176
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
177
|
+
};
|