module Cuckery.Types exposing (..)


type alias Cuck =
    { cuckImage : String
    , cuckName : String
    , cuckSocial : String
    , cuckDodges : List Dodge
    }


type alias Dodge =
    { dodgeLink : String
    , dodgeDescription : DodgeDescription
    , dodgeProposition : String
    , dodgeNicksDoxasticState : Maybe DoxasticState
    , dodgeNicksDoxasticReason : Evaluation
    }


type DodgeDescription
    = NoReply
    | RanAway
    | GhostedMe
    | OutrightNo
    | InTooDeep
    | KillScreen


type DoxasticState
    = Belief
    | Disbelief
    | Agnostic


type Evaluation
    = NoProp
    | VagueProp
    | SpecificProp String


type alias FormattedCuckName =
    String


type alias FormattedCuckSocial =
    String


formatCuckName : String -> FormattedCuckName
formatCuckName name =
    name
        |> String.toLower
        |> String.replace " " ""


formatCuckSocial : String -> FormattedCuckSocial
formatCuckSocial name =
    name
        |> String.replace "https://x.com/" "@"


noProposition : String
noProposition =
    "N/A"


type alias CommonProps =
    { propSeedOils : String
    , propLinoleicAcid : String
    }


commonProps : CommonProps
commonProps =
    { propSeedOils = "Seed oils are not a significant, independent risk factor for public health."
    , propLinoleicAcid = "Dietary linoleic acid is not a significant, independent concern for the development of chronic diseases."
    }


type alias PropReasons =
    { propSaturatedFatReason : String
    , propSeedOilsReason : String
    , propSeedOilsReasonCVD : String
    , propSeedOilsReasonCancer : String
    , propSeedOilsReasonInflammation : String
    , propSeedOilsReasonObesity : String
    , propSeedOilsReasonChronicDisease : String
    , propLDLCausality : String
    , propEmpiricalClaim : String
    , propAnalyticalTruth : String
    , propNutritionalEpidemiology : String
    , propPlantBasedDiets : String
    }


commonPropReasons : PropReasons
commonPropReasons =
    { propSaturatedFatReason = "The aggregate of the data overwhelmingly supports the hypothesis that heart disease risk can be influenced by changes in blood lipids as a function of saturated fat intake."
    , propSeedOilsReason = "The aggregate of the data suggests seed oils are beneficial for humans."
    , propSeedOilsReasonCVD = "The aggregate of the data suggests seed oils decrease the risk of heart disease."
    , propSeedOilsReasonCancer = "The aggregate of the data suggests seed oils decrease the risk of cancer."
    , propSeedOilsReasonInflammation = "There's no persuasive evidence that seed oils reliably influence inflammation in either direction."
    , propSeedOilsReasonObesity = "There's no persuasive evidence that seed oils reliably influence obesity in either direction."
    , propSeedOilsReasonChronicDisease = "The aggregate of the data suggests seed oils decrease the risk of chronic disease."
    , propLDLCausality = "The highest tiers of evidence show an overwhelmingly consistent linear and proportional relationship between the concentration of low-density lipoproteins in the blood and coronary heart disease, regardless of population characteristics."
    , propEmpiricalClaim = "This is an empirical claim that requires empirical evidence, and none was provided."
    , propAnalyticalTruth = "The proposition is simply a trivial analytical truth."
    , propNutritionalEpidemiology = "With exposures matched, nutritional epidemiology agrees with nutritional randomized controlled trials approximately 91% of the time."
    , propPlantBasedDiets = "The aggregate of the data suggests that appropriately supplemented plant-based diets decrease the risk of chronic disease compared to likewise meat-inclusive diets."
    }
