Ron would probably be shocked. He always looks up to Hermione as the one who follows the rules. He might try to defend her at first, but then realize she was in the wrong. Harry, on the other hand, would be more understanding. He knows that sometimes there are more important things than just following the rules blindly.
Dumbledore would likely be more lenient. He sees the bigger picture and might believe that Hermione had a valid reason for her actions, even if she was cutting class. He might have a private conversation with her to understand her motives rather than immediately punishing her like Snape would. Teachers like McGonagall might be disappointed in Hermione as she is one of the top students, but also might give her a chance to explain herself before passing judgment.
Harry would be extremely shocked. He has always seen Snape as a complex figure, and Hermione capturing him would make him question a lot of things. He would likely try to get to the bottom of it and mediate between Hermione and Snape if possible.
She might get detention. Snape is strict, and cutting class is a serious offense in Hogwarts. He could assign her to clean the potions classroom or help with sorting ingredients in the dungeon.
Sirius would be deeply affected. He'd see Harry as a sort of surrogate family, and seeing Harry in such a state would make him feel like he failed in protecting him. He'd do everything he could to make Harry feel better, from getting him medical help to just sitting and talking with him for hours about what's wrong.
He could also be secretly amused. Despite his stern exterior, Snape might see a bit of his own unrequited love in their relationship. So, he might give them a stern warning but not be as severe as he usually is.
Snape might also keep what he saw to himself at first. Instead of immediately confronting them, he could choose to observe them further. He might be curious about what they were really up to and use his skills as a spy to find out more. This way, he could gather more information before deciding on the best course of action, whether it be punishment or something else entirely.
Remus would be horrified. He'd probably quickly take the cutting tool away from Harry.
Harry would probably be very confused at first. He knows Hermione is usually a rule - follower, so her wanting to be punished would seem out of the ordinary. He might try to talk her out of it, thinking there must be some misunderstanding. Ron, on the other hand, would be more straightforward. He'd likely say something like 'Hermione, you're mad!' and try to convince her that she doesn't deserve any punishment. The teachers, such as Professor McGonagall, would be taken aback as well. She would probably question Hermione carefully to understand her motives before deciding on any action.
Dumbledore would be a key figure in the reactions. If he believed in Snape's innocence, he would try to find a way to free Snape while also not alienating Harry. He might start his own investigation to uncover the truth. The other Hogwarts teachers would be in shock. Some might believe Harry is right, especially those who have always been a bit suspicious of Snape, while others would be outraged and demand an explanation from Harry.
Snape might initially be taken aback. He's used to students being intimidated by him, so Hermione's outburst could shock him into momentary silence. Then he might retaliate with his usual sarcasm, trying to put her in her place.
Snape would probably be quite surprised at first. Hermione is known for her academic prowess and self - sufficiency. His reaction could range from being dismissive, thinking she should be able to solve her own problems, to being intrigued by the nature of her request. If it's something related to the dark arts or a mystery in the wizarding world, his interest might be piqued, but he'd still be guarded in his response. He might even try to use her request as a way to gain some advantage or information for himself.