static bool isValidTarget(String target) { return const ['_self', '_blank', '_parent', '_top'].contains(target); }