Exotic matter produced in neutron star mergers