You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tables10.0.0.go
    path of file: ./repos/faasd/vendor/golang.org/x/net/idna
    
    the code of the file until where you have to start completion: // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.

//go:build go1.10 && !go1.13

package idna

// UnicodeVersion is the Unicode version from which the tables in this package are derived.
const UnicodeVersion = "10.0.0"

var mappings string = "" + // Size: 8175 bytes
	"\x00\x01 \x03 Ìˆ\x01a\x03 Ì„\x012\x013\x03 Ì\x03 Ì§\x011\x01o\x051â„4\x051â„2" +
	"\x053â„4\x03iÌ‡\x03lÂ·\x03Ê¼n\x01s\x03dÅ¾\x03â±¥\x03â±¦\x01h\x01j\x01r\x01w\x01y" +
	"\x03 Ì†\x03 Ì‡\x03 ÌŠ\x03 Ì¨\x03 Ìƒ\x03 Ì‹\x01l\x01x\x04ÌˆÌ\x03 Î¹\x01;\x05 ÌˆÌ" +
	"\x04Õ¥Ö‚\x04Ø§Ù´\x04ÙˆÙ´\x04Û‡Ù´\x04ÙŠÙ´\x06à¤•à¤¼\x06à¤–à¤¼\x06à¤—à¤¼\x06à¤œà¤¼\x06à¤¡à¤¼\x06à¤¢à¤¼\x06à¤«à¤¼" +
	"\x06à¤¯à¤¼\x06à¦¡à¦¼\x06à¦¢à¦¼\x06à¦¯à¦¼\x06à¨²à¨¼\x06à¨¸à¨¼\x06à¨–à¨¼\x06à¨—à¨¼\x06à¨œà¨¼\x06à¨«à¨¼\x06à¬¡à¬¼\x06à¬¢à¬¼" +
	"\x06à¹à¸²\x06à»àº²\x06àº«àº™\x06àº«àº¡\x06à½‚à¾·\x06à½Œà¾·\x06à½‘à¾·\x06à½–à¾·\x06à½›à¾·\x06à½€à¾µ\x06à½±à½²\x06à½±à½´" +
	"\x06à¾²à¾€\x09à¾²à½±à¾€\x06à¾³à¾€\x09à¾³à½±à¾€\x06à½±à¾€\x06à¾’à¾·\x06à¾œà¾·\x06à¾¡à¾·\x06à¾¦à¾·\x06à¾«à¾·\x06à¾à¾µ\x02" +
	"Ğ²\x02Ğ´\x02Ğ¾\x02Ñ\x02Ñ‚\x02ÑŠ\x02Ñ£\x02Ã¦\x01b\x01d\x01e\x02Ç\x01g\x01i\x01k" +
	"\x01m\x01n\x02È£\x01p\x01t\x01u\x02É\x02É‘\x02É™\x02É›\x02Éœ\x02Å‹\x02É”\x02É¯" +
	"\x01v\x02Î²\x02Î³\x02Î´\x02Ï†\x02Ï‡\x02Ï
    
func (t *idnaTrie) lookup(s []byte) (v uint16, sz int) {
	c0 := s[0]
	switch {
	case c0 < 0x80: // is ASCII
		return idnaValues[c0], 1
	case c0 < 0xC2:
		return 0, 1 // Illegal UTF-8: not a starter, not ASCII.
	case c0 < 0xE0: // 2-byte UTF-8
		if len(s) < 2 {
			return 0, 0
		}
		i := idnaIndex[c0]
		c1 := s[1]
		if c1 < 0x80 || 0xC0 <= c1 {
			return 0, 1 // Illegal UTF-8: not a continuation byte.
		}
		return t.lookupValue(uint32(i), c1), 2
	case c0 < 0xF0: // 3-byte UTF-8
		if len(s) < 3 {
			return 0, 0
		}
		i := idnaIndex[c0]
		c1 := s[1]
		if c1 < 0x80 || 0xC0 <= c1 {
			return 0, 1 // Illegal UTF-8: not a continuation byte.
		}
		o := uint32(i)<<6 + uint32(c1)
		i = idnaIndex[o]
		c2 := s[2]
		if c2 < 0x80 || 0xC0 <= c2 {
			return 0, 2 // Illegal UTF-8: not a continuation byte.
		}
		return t.lookupValue(uint32(i), c2), 3
	case c0 < 0xF8: // 4-byte UTF-8
		if len(s) < 4 {
			return 0, 0
		}
		i := idnaIndex[c0]
		c1 := s[1]
		if c1 < 0x80 || 0xC0 <= c1 {
			return 0, 1 // Illegal UTF-8: not a continuation byte.
		}
		o := uint32(i)<<6 + uint32(c1)
		i = idnaIndex[o]
		c2 := s[2]
		if c2 < 0x80 || 0xC0 <= c2 {
			return 0, 2 // Illegal UTF-8: not a continuation byte.
		}
		o = uint32(i)<<6 + uint32(c2)
		i = idnaIndex[o]
		c3 := s[3]
		if c3 < 0x80 || 0xC0 <= c3 {
			return 0, 3 // Illegal UTF-8: not a continuation byte.
		}
		return t.lookupValue(uint32(i), c3), 4
	}
	// Illegal rune
	return 0, 1
}