from __future__ import annotations

# Ported from the upstream iztro (TypeScript) `src/data/heavenlyStems.ts`.

heavenly_stems = {
    "jiaHeavenly": {
        "yin_yang": "阳",
        "five_elements": "木",
        "crash": "gengHeavenly",
        "mutagen": ["lianzhenMaj", "pojunMaj", "wuquMaj", "taiyangMaj"],
    },
    "yiHeavenly": {
        "yin_yang": "阴",
        "five_elements": "木",
        "crash": "xinHeavenly",
        "mutagen": ["tianjiMaj", "tianliangMaj", "ziweiMaj", "taiyinMaj"],
    },
    "bingHeavenly": {
        "yin_yang": "阳",
        "five_elements": "火",
        "crash": "renHeavenly",
        "mutagen": ["tiantongMaj", "tianjiMaj", "wenchangMin", "lianzhenMaj"],
    },
    "dingHeavenly": {
        "yin_yang": "阴",
        "five_elements": "火",
        "crash": "guiHeavenly",
        "mutagen": ["taiyinMaj", "tiantongMaj", "tianjiMaj", "jumenMaj"],
    },
    "wuHeavenly": {"yin_yang": "阳", "five_elements": "土", "mutagen": ["tanlangMaj", "taiyinMaj", "youbiMin", "tianjiMaj"]},
    "jiHeavenly": {"yin_yang": "阴", "five_elements": "土", "mutagen": ["wuquMaj", "tanlangMaj", "tianliangMaj", "wenquMin"]},
    "gengHeavenly": {
        "yin_yang": "阳",
        "five_elements": "金",
        "crash": "jiaHeavenly",
        "mutagen": ["taiyangMaj", "wuquMaj", "taiyinMaj", "tiantongMaj"],
    },
    "xinHeavenly": {
        "yin_yang": "阴",
        "five_elements": "金",
        "crash": "yiHeavenly",
        "mutagen": ["jumenMaj", "taiyangMaj", "wenquMin", "wenchangMin"],
    },
    "renHeavenly": {
        "yin_yang": "阳",
        "five_elements": "水",
        "crash": "bingHeavenly",
        "mutagen": ["tianliangMaj", "ziweiMaj", "zuofuMin", "wuquMaj"],
    },
    "guiHeavenly": {
        "yin_yang": "阴",
        "five_elements": "水",
        "crash": "dingHeavenly",
        "mutagen": ["pojunMaj", "jumenMaj", "taiyinMaj", "tanlangMaj"],
    },
}
