Given a string of characters, find the largest substring with no repeating characters.
Implement longest_unique_substring(s) and return the substring itself. If multiple substrings have the maximum length, return the one that appears first. The input may contain letters, digits, symbols, spaces, or Unicode characters.
Function signature: def longest_unique_substring(s):
Input: A string s.
Output: The longest substring containing no repeated characters. Return an empty string when s is empty.
def longest_unique_substring(s):