Engine bearing damage

Hello together, I’m new here, I bought my CBR 1100xx three weeks ago and have really fun with the motorcycle. but I found that in idle the engine clatters, I drove to the specialized factory the first diagnosis motor bearing damage. did any of you have something like this? how expensive was the repair? the CBR has only 36000 km away and is from 1999. you can imagine that my joy has greatly decreased, have bought the motorcycle privately from therefore nothing can do. in the cold condition there is no clapping can give me someone tips