The authority to order such persons into arrest or confinement may not be delegated.
"Arrest." The restraint of a person subject to this part by an order, not imposed as a punishment for an offense, directing him to remain within certain specified limits.
"Confinement." The physical restraint of a person subject to this part.
51 Pa.C.S. § 5203