A divided state appeals panel last week upheld social media restrictions imposed on a juvenile offender, finding the state has a compelling interest in preventing gang-related communication.R.H. was sentenced to two years of probation after he was adjudicated in May for aggravated unlawful use of a weapon, unlawful possession of cannabis and unlawful possession of cannabis with the intent to deliver.As part of his sentence, Cook County Circuit Judge William G. Gamboney ordered R.H. to have no contact with “any gangs, …