truthy_values = [ True, "tak", "yes", "true", "prawda", "on", "aktywny", "garaż", "balkon",
                 "balkony", "piwnica", "winda", "taras", "prąd", "woda", "gaz", 
                 "gas", "telefon", "internet", "oddzielna kuchnia", "media", 
                 "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12",
              ]
falsy_values = [ False, "nie", "no", "false", "fałsz", "off", "nieaktywny", ]

advertiser_type_true = ["osoba prywatna", "prywatna", ""]
advertiser_type_false = ["", "agent", "agencja"]

property_mapping = {
    "apartment": ["mieszkanie", "flat", "flats", "apartment", "apt"],
    "studio": ["kawalerka", "studio", "small apartment"],
    "house": ["dom", "dom jednorodzinny", "house", "villa"],
    "office": ["biuro", "office", "workspace"],
    "": [],
    "": [],
}

map_building_type = {
    "": [],
    "": [],
}

map_estate_type = {
    "": [],
    "": [],
}

map_estate_condition = {
    "": [],
    "": [],
}

map_market_type = {
    "": [],
    "": [],
}

roman_numerals = [
    "", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X",
    "XI", "XII", "XIII", "XIV", "XV", "XVI", "XVII", "XVIII", "XIX", "XX",
    "XXI", "XXII", "XXIII", "XXIV", "XXV", "XXVI", "XXVII", "XXVIII", "XXIX", "XXX",
    "XXXI", "XXXII", "XXXIII", "XXXIV", "XXXV", "XXXVI", "XXXVII", "XXXVIII", "XXXIX", "XL",
    "XLI", "XLII", "XLIII", "XLIV", "XLV", "XLVI", "XLVII", "XLVIII", "XLIX", "L"
]

ordinal_polish = [
    "", "pierwsze", "drugie", "trzecie", "czwarte", "piąte", "szóste", "siódme", "ósme", "dziewiąte", "dziesiąte",
    "jedenaste", "dwunaste", "trzynaste", "czternaste", "piętnaste", "szesnaste", "siedemnaste", "osiemnaste", "dziewiętnaste", "dwudzieste",
    "dwudzieste pierwsze", "dwudzieste drugie", "dwudzieste trzecie", "dwudzieste czwarte", "dwudzieste piąte",
    "dwudzieste szóste", "dwudzieste siódme", "dwudzieste ósme", "dwudzieste dziewiąte", "trzydzieste",
    "trzydzieste pierwsze", "trzydzieste drugie", "trzydzieste trzecie", "trzydzieste czwarte", "trzydzieste piąte",
    "trzydzieste szóste", "trzydzieste siódme", "trzydzieste ósme", "trzydzieste dziewiąte", "czterdzieste",
    "czterdzieste pierwsze", "czterdzieste drugie", "czterdzieste trzecie", "czterdzieste czwarte", "czterdzieste piąte",
    "czterdzieste szóste", "czterdzieste siódme", "czterdzieste ósme", "czterdzieste dziewiąte", "pięćdziesiąte"
]

ordinal_english = [
    "", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth",
    "eleventh", "twelfth", "thirteenth", "fourteenth", "fifteenth", "sixteenth", "seventeenth", "eighteenth", "nineteenth", "twentieth",
    "twenty first", "twenty second", "twenty third", "twenty fourth", "twenty fifth",
    "twenty sixth", "twenty seventh", "twenty eighth", "twenty ninth", "thirtieth",
    "thirty first", "thirty second", "thirty third", "thirty fourth", "thirty fifth",
    "thirty sixth", "thirty seventh", "thirty eighth", "thirty ninth", "fortieth",
    "forty first", "forty second", "forty third", "forty fourth", "forty fifth",
    "forty sixth", "forty seventh", "forty eighth", "forty ninth", "fiftieth"
]

floor_mapping = {
    0: [
        "parter", "ground floor", "groundfloor", "0", "floor 0", "floor0",
        "f0", "lvl 0", "level 0", "level0", "piętro 0", "0 piętro",
        "na parterze", "parterze", "parterowy"
    ],
}

# Następnie update floor_mapping o pozostałe piętra
floor_mapping.update({
    i: list(filter(None, [
        str(i),
        f"{ordinal_english[i]} floor",
        f"floor {i}",
        f"{i}th floor",
        f"{ordinal_english[i]}",
        f"floor{i}",
        f"f{i}",
        f"lvl {i}",
        f"level {i}",
        f"level{i}",
        f"piętro {i}",
        f"{i} piętro",
        f"{roman_numerals[i]} piętro" if roman_numerals[i] else None,
        roman_numerals[i] if roman_numerals[i] else None,
        f"piętro {ordinal_polish[i]}" if ordinal_polish[i] else None,
        f"{ordinal_polish[i]} piętro" if ordinal_polish[i] else None,
        f"na {ordinal_polish[i]} piętrze" if ordinal_polish[i] else None
    ]))
    for i in range(1, 51)
})



currency_mapping = {
    "pln": "PLN",
    "zł": "PLN",
    "złotówki": "PLN",
    "zloty": "PLN",
    "zl": "PLN",
    "usd": "USD",
    "dolar": "USD",
    "dolary": "USD",
    "euro": "EUR",
    "eur": "EUR",
    "€": "EUR",
    "$": "USD"
}