def flip_iterable_dict(d: dict) -> dict:
    """Transform dictionary to unpack values to map to respective key."""

    value_keys = disjoint_union((cartesian_product((v, k))
                                 for k, v in d.items()))
    return dict(value_keys)