Module:User:Vorziblix/test

Hello, you have come here looking for the meaning of the word Module:User:Vorziblix/test. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Vorziblix/test, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Vorziblix/test in singular and plural. Everything you need to know about the word Module:User:Vorziblix/test you have here. The definition of the word Module:User:Vorziblix/test will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Vorziblix/test, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local export = {}

function export.concat(frame)
	return frame.args .. frame.args
end

function export.blahblahdebug(frame)
	local default_title = frame.args or mw.title.getCurrentTitle().text
	default_title = 'Alternative hieroglyphic writings of ' .. frame:expandTemplate{title = 'lang', args = {'egy', default_title, face = 'term'}}
	local tabletitle = frame.args or default_title
	local text = '<div class="NavFrame" style="clear:both;display:inline-block;">\n<div class="NavHead" style="">' .. tabletitle .. '&nbsp;&nbsp;</div>\n<div class="NavContent">\n{| style="text-align:center;"'
	local i = 1
	while frame.args do
		text = text .. '\n| style="background-color:#efefef"|<span style="margin:0px 6px;">' .. frame.args .. '</span>'
		i = i + 1
	end
	text = text .. '\n| nothing\n|}</div></div>'
	return text
end

function export.hieroforms(frame)
	local default_title = frame.args or mw.title.getCurrentTitle().text
	default_title = 'Alternative hieroglyphic writings of ' .. frame:expandTemplate{title = 'lang', args = {'egy', default_title, face = 'term'}}
	local tabletitle = frame.args or default_title
	local text = '<div class="NavFrame" style="clear:both;display:inline-block;">\n<div class="NavHead" style="">' .. tabletitle .. '&nbsp;&nbsp;</div>\n<div class="NavContent">\n{| style="text-align:center;"'
	local i = 1
	while frame.args do
		text = text .. '\n| style="background-color:#efefef"|<span style="margin:0px 6px;">' .. frame.args .. '</span>'
		i = i + 1
	end
	local j = 1
	local no_read = true
	local since_last = 1
	local read = 'read1'
	while j < i do
		if frame.args then
			if no_read then
				text = text .. '\n|-'
				no_read = false
			end
			while since_last > 0 do
				text = text .. '\n|'
				since_last = since_last - 1
			end
			text = text .. 'style="background-color:#efefef"|' .. frame:expandTemplate{title = 'm-self', args = {'egy', frame.args}}
		end
		since_last = since_last + 1
		j = j + 1
		read = 'read' .. j
	end
	j = 1
	local no_date = true
	since_last = 1
	local date = 'date1'
	while j < i do
		if frame.args then
			if no_date then
				text = text .. '\n|-'
				no_date = false
			end
			while since_last > 0 do
				text = text .. '\n|'
				since_last = since_last - 1
			end
			text = text .. 'style="background-color:#efefef"|' .. frame:expandTemplate{title = 'defdate', args = {frame.args}}
		end
		since_last = since_last + 1
		j = j + 1
		date = 'date' .. j
	end
	j = 1
	local no_note = true
	since_last = 1
	local since_note = 1
	local note = 'note1'
	while j < i do
		if frame.args then
			if no_note then
				text = text .. '\n|- style="font-size:70%"'
				no_note = false
			end
			while since_last > 0 do
				text = text .. '\n|'
				since_last = since_last - 1
			end
			text = text .. 'style="background-color:#efefef"|' .. frame.args
		end
		since_last = since_last + 1
		j = j + 1
		note = 'note' .. j
	end
	text = text .. '\n|}</div></div>'
	return text
end

function export.remove_comments(input)
	return mw.ustring.gsub(input, '<!%-%-(.-)%-%->', '')
end

function export.tokenize_hiero(input)
	input = mw.ustring.gsub(input, ' ', '-')
	input = mw.ustring.gsub(input, '\n', '-')
	input = mw.ustring.gsub(input, '\r', '-')
	input = mw.ustring.gsub(input, '\t', '-')
	input = mw.ustring.gsub(input, '%-%-+', '-')
	local quadrats = {}
	local i = 1
	while true do
		j = string.find(input, '-', i, true)
		if j ~= nil then
			table.insert(quadrats, string.sub(input, i, j - 1))
			i = j + 1
		else
			table.insert(quadrats, string.sub(input, i))
			break
		end
	end
	return quadrats
end

function export.mdc_to_image(mdc, height_in)
	local height = height_in or '38'
	local mirrored = ''
	if string.sub(mdc, -1) == '\\' then
		mirrored = '|class=mw-mirrored'
		mdc = string.sub(mdc, 1, -2)
	end
	local image = '<span style="margin: 1px;">\\]</span>'
	return image
end

function export.render_quadrat(unrendered)
	if unrendered == '!' then
		rendered = '</tr></table><table class="mw-hiero-table"><tr>'
	elseif unrendered == '<' then
		rendered = '<td>' .. '<span style="margin: 1px;">\\]</span>' .. '</td><td><table class="mw-hiero-table"><tr><td class="mw-hiero-box" style="height:2px;"></td></tr><tr><td><table class="mw-hiero-table"><tr><td>'
	elseif unrendered == '>' then
		rendered = '</td></tr></table></td></tr><tr><td class="mw-hiero-box" style="height:2px;"></td></tr></table></td><td>' .. '<span style="margin: 1px;">\\]</span>' .. '</td>'
	else
		stack = string.find(unrendered, ':')
		if stack ~= nil then
			upper = export.mdc_to_image(string.sub(unrendered, 1, stack - 1), '19')
			lower = export.mdc_to_image(string.sub(unrendered, stack + 1), '19')
			rendered = '<td height="40">' .. upper .. '<br>' .. lower .. '</td>'
		else
			rendered = export.mdc_to_image(unrendered)
			rendered = '<td height="40">' .. rendered .. '</td>'
		end
	end
	return rendered
end

function export.hiero(frame)
	local output = {}
	local hieros = frame.args
	hieros = export.remove_comments(hieros)
	local tokenized = export.tokenize_hiero(hieros)
	for k, v in ipairs(tokenized) do
		v = export.render_quadrat(v)
		table.insert(output, v)
	end
	return '<table class="mw-hiero-table mw-hiero-outer" style="display:inline-table;vertical-align:middle;" dir="ltr"><tr><td><table class="mw-hiero-table"><tr>' .. table.concat(output) .. '</tr></table></td></tr></table>'
end

local mdc_complex_group_normalization_map = {
     = "a:r*t",
     = "D&d:t",
     = "D&t:N17",
     = "D&t:tA",
     = "D&z:f",
     = "D52:t*r",
     = "f:r:t",
     = "ini:n:n",
     = "U7:r*t",
     = "n:n:a",
     = "n:n:f",
     = "pr:r*t",
     = "r:D&d",
     = "t:r:f",
     = "wr:r:t",
     = "x:r*t",
     = "z:A1*Z1",
}

local mdc_normalization_map = {
	 = "A1",
	 = "A2",
	 = "A21",
	 = "A25A",
	 = "A40",
	 = "B1",
	 = "D58",
	 = "F31",
	 = "F37A",
	 = "F51A",
	 = "F51",
	 = "F51C",
	 = "G1",
	 = "G5",
	 = "G7B",
	 = "G17",
	 = "G43",
	 = "I1",
	 = "M1A",
	 = "M12",
	 = "M17",
	 = "M23",
	 = "N33",
	 = "N33",
	 = "N35A",
	 = "O29A",
	 = "S29",
	 = "U35",
	 = "V11B",
	 = "V11A",
	 = "W19",
	 = "Y1A",
	 = "Z1",
	 = "Z2",
	 = "Z2A",
	 = "Z2C",
	 = "Z2D",
	 = "Z3A",
	 = "Z3B",
	 = "Z16",
	 = "Z16A",
	 = "Z16A",
	 = "Z16B",
	 = "Z16C",

     = "a:A1",
     = "a:b*t",
     = "a:D",
     = "a:F51:Z2",
     = "a:n:D",
     = "a:t:x",
     = "A@t",
     = "A1:n",
     = "A1:r",
     = "Aa8:D",
     = "Aa16:m",
     = "b:Hb",
     = "b:t",
     = "B2:Z2",
     = "bA:k",
     = "D&d",
     = "D&ra",
     = "D&t",
     = "d:w",
     = "D&z",
     = "f:n:d",
     = "F39:Z1",
     = "G14@t",
     = "kA𓐺Hm",
	 = "t:H8:Z2A",
     = "ini:n",
     = "D6:n:f",
     = "D6:n:k",
     = "D6:r:f",
     = "D6:t:f",
     = "D6:t:n",
     = "m:t",
     = "m:a",
     = "m:f",
     = "m:n",
     = "m:r",
     = "m@t",
     = "mn:n:t",
     = "mn:n:x",
     = "U7:r*r",
     = "U7:r:r",
     = "n:A1",
     = "n:D",
     = "n:f:n",
     = "n:f:t",
     = "n:nH",
     = "n:nm*m",
     = "n:t:f",
     = "n:t:k",
     = "n:t:t",
     = "n:U19:nw*W",
     = "n:w",
     = "n:wa:W",
     = "n:x:f",
     = "n:xAst:t*Z1",
     = "n:xt:x*t",
     = "sw:t-bit:t",
     = "n:n",
     = "p:z:f",
     = "r:a:k",
     = "r:a:t",
     = "r:A1",
     = "r:f:n",
     = "r:n:f",
     = "r*r:t:D6",
     = "r*r",
     = "r*t",
     = "S28:Z2",
     = "sSm:m",
     = "sti:t",
     = "stp&z",
     = "t:A",
     = "t:A19",
     = "t:H",
     = "t:I12",
     = "t:M30",
     = "t:n:nw*W",
     = "t*r",
     = "t:s",
     = "t:sti",
     = "t:T30",
     = "w:t",
     = "w@t",
     = "w@y",
     = "wa:W:a",
     = "wn:n:t",
     = "x:f:t",
     = "x:mt:t",
     = "Y1:A1",
     = "Y1:n:f",
     = "z:A1",
     = "z:Ab*b",
     = "z:Dr:r",
     = "z:w",
     = "z:X:k",
     = "z:x:r",
     = "Z6:A1",
     = "xAst:t*Z1:Z2",
     = "n:(bA:k)*A1",

	 = "t-w",
     = "D&t:N17",
	 = "sw:t-bit:t",
	 = "i-i",
	 = "sw-sw",
	 = "O30-O30-O30-O30",
	 = "H*Hz:z",
	 = "nw*nw*nw",

     = ".",
     = ".",
     = "..",
     = "..",
     = "O",
     = "o",
     = "<",
     = ">",
     = "<h1",
     = "h1>",

     = "Z15A",
     = "Z15B",
     = "Z16B",
}

local mdc_phonogram_map = {
	 = "A12",
	 = "A15",
	 = "A17",
	 = "A21",
	 = "A33",
	 = "A38",
	 = "A47",
	 = "A50",
	 = "A51",
	 = "Aa1",
	 = "Aa11",
	 = "Aa13",
	 = "Aa13",
	 = "Aa15",
	 = "Aa17",
	 = "Aa20",
	 = "Aa21",
	 = "Aa27",
	 = "Aa28",
	 = "Aa30",
	 = "Aa5",
	 = "Aa8",
	 = "B3",
	 = "C10",
	 = "C11",
	 = "C3",
	 = "C4",
	 = "C6",
	 = "C7",
	 = "C8",
	 = "D1",
	 = "D10",
	 = "D153",
	 = "D19",
	 = "D2",
	 = "D21",
	 = "D21",
	 = "D24",
	 = "D25",
	 = "D27",
	 = "D28",
	 = "D3",
	 = "D34",
	 = "D36",
	 = "D4",
	 = "D45",
	 = "D46",
	 = "D50",
	 = "D52",
	 = "D56",
	 = "D56",
	 = "D56",
	 = "D56",
	 = "D58",
	 = "D59",
	 = "D60",
	 = "D61",
	 = "D9",
	 = "E17",
	 = "E22",
	 = "E23",
	 = "E23",
	 = "E24",
	 = "E34",
	 = "E6",
	 = "F12",
	 = "F13",
	 = "F16",
	 = "F18",
	 = "F18",
	 = "F20",
	 = "F21",
	 = "F21",
	 = "F21",
	 = "F21",
	 = "F22",
	 = "F22",
	 = "F23",
	 = "F25",
	 = "F26",
	 = "F29",
	 = "F30",
	 = "F31",
	 = "F32",
	 = "F33",
	 = "F34",
	 = "F35",
	 = "F36",
	 = "F39",
	 = "F4",
	 = "F40",
	 = "F42",
	 = "F44",
	 = "F44",
	 = "F46",
	 = "F46",
	 = "F5",
	 = "G1",
	 = "G14",
	 = "G16",
	 = "G17",
	 = "G18",
	 = "G2",
	 = "G21",
	 = "G22",
	 = "G23",
	 = "G25",
	 = "G27",
	 = "G28",
	 = "G29",
	 = "G32",
	 = "G35",
	 = "G36",
	 = "G37",
	 = "G38",
	 = "G39",
	 = "G4",
	 = "G40",
	 = "G41",
	 = "G42",
	 = "G43",
	 = "G44",
	 = "G46",
	 = "G47",
	 = "G54",
	 = "H2",
	 = "H2",
	 = "H3",
	 = "H4",
	 = "H6",
	 = "I1",
	 = "I10",
	 = "I11",
	 = "I2",
	 = "I3",
	 = "I4",
	 = "I5",
	 = "I6",
	 = "I8",
	 = "I9",
	 = "K1",
	 = "K3",
	 = "K4",
	 = "K5",
	 = "K6",
	 = "L1",
	 = "L2",
	 = "L7",
	 = "M1",
	 = "M11",
	 = "M12",
	 = "M12",
	 = "M13",
	 = "M16",
	 = "M17",
	 = "M18",
	 = "M2",
	 = "M20",
	 = "M21",
	 = "M22A",
	 = "M23",
	 = "M24",
	 = "M26",
	 = "M29",
	 = "M3",
	 = "M30",
	 = "M34",
	 = "M36",
	 = "M4",
	 = "M40",
	 = "M6",
	 = "M8",
	 = "M9",
	 = "N1",
	 = "N11",
	 = "N11",
	 = "N14",
	 = "N14",
	 = "N15",
	 = "N16",
	 = "N18",
	 = "N20",
	 = "N24",
	 = "N25",
	 = "N26",
	 = "N27",
	 = "N28",
	 = "N29",
	 = "N30",
	 = "N35",
	 = "N35A",
	 = "N37",
	 = "N4",
	 = "N4",
	 = "N40",
	 = "N41",
	 = "N5",
	 = "N5",
	 = "N5",
	 = "N8",
	 = "N9",
	 = "O1",
	 = "O11",
	 = "O15",
	 = "O18",
	 = "O22",
	 = "O25",
	 = "O28",
	 = "O29",
	 = "O30",
	 = "O34",
	 = "O35",
	 = "O36",
	 = "O38A",
	 = "O4",
	 = "O42",
	 = "O45",
	 = "O47",
	 = "O49",
	 = "O50",
	 = "O51",
	 = "O6",
	 = "P4",
	 = "P5",
	 = "P5",
	 = "P6",
	 = "P8",
	 = "Q1",
	 = "Q2",
	 = "Q3",
	 = "Q6",
	 = "R1",
	 = "R1",
	 = "R11",
	 = "R11",
	 = "R14",
	 = "R15",
	 = "R16",
	 = "R22",
	 = "R4",
	 = "R5",
	 = "R5",
	 = "R7",
	 = "R8",
	 = "R8A",
	 = "R9",
	 = "S1",
	 = "S10",
	 = "S11",
	 = "S12",
	 = "S15",
	 = "S15",
	 = "S18",
	 = "S19",
	 = "S20",
	 = "S22",
	 = "S23",
	 = "S24",
	 = "S26",
	 = "S27",
	 = "S29",
	 = "S3",
	 = "S3",
	 = "S30",
	 = "S32",
	 = "S33",
	 = "S34",
	 = "S35",
	 = "S37",
	 = "S38",
	 = "S39",
	 = "S40",
	 = "S41",
	 = "S42",
	 = "S42",
	 = "S42",
	 = "S43",
	 = "S44",
	 = "S45",
	 = "S56",
	 = "S6",
	 = "S7",
	 = "S8",
	 = "S9",
	 = "T10",
	 = "T11",
	 = "T11",
	 = "T11",
	 = "T12",
	 = "T12",
	 = "T12",
	 = "T12",
	 = "T13",
	 = "T14",
	 = "T17",
	 = "T18",
	 = "T19",
	 = "T21",
	 = "T22",
	 = "T24",
	 = "T25",
	 = "T28",
	 = "T29",
	 = "T3",
	 = "T31",
	 = "T34",
	 = "T6",
	 = "T9",
	 = "U1",
	 = "U10",
	 = "U11",
	 = "U13",
	 = "U13",
	 = "U15",
	 = "U16",
	 = "U17",
	 = "U21",
	 = "U22",
	 = "U23",
	 = "U24",
	 = "U26",
	 = "U28",
	 = "U31",
	 = "U32",
	 = "U33",
	 = "U34",
	 = "U36",
	 = "U38",
	 = "U6",
	 = "V1",
	 = "V12",
	 = "V13",
	 = "V15",
	 = "V19",
	 = "V19",
	 = "V19",
	 = "V2",
	 = "V20",
	 = "V20",
	 = "V22",
	 = "V24",
	 = "V26",
	 = "V28",
	 = "V29",
	 = "V29",
	 = "V3",
	 = "V30",
	 = "V31",
	 = "V32",
	 = "V33",
	 = "V37",
	 = "V4",
	 = "V5",
	 = "V6",
	 = "V7",
	 = "W10",
	 = "W11",
	 = "W11",
	 = "W14",
	 = "W17",
	 = "W19",
	 = "W2",
	 = "W22",
	 = "W24",
	 = "W25",
	 = "W3",
	 = "W9",
	 = "X1",
	 = "X8",
	 = "X8",
	 = "Y1",
	 = "Y3",
	 = "Y3",
	 = "Y5",
	 = "Y6",
	 = "Y8",
	 = "Z11",
	 = "Z4",
	 = "Z7",
}

local hiero_map = {
     = "𓀀",
     = "𓀁",
     = "𓀂",
     = "𓀃",
     = "𓀄",
     = "𓀅",
     = "𓀆",
     = "𓀇",
     = "𓀈",
     = "𓀉",
     = "𓀊",
     = "𓀋",
     = "𓀌",
     = "𓀍",
     = "𓀎",
     = "𓀏",
     = "𓀐",
     = "𓀑",
     = "𓀒",
     = "𓀓",
     = "𓀔",
     = "𓀕",
     = "𓀖",
     = "𓀗",
     = "𓀘",
     = "𓀙",
     = "𓀚",
     = "𓀛",
     = "𓀜",
     = "𓀝",
     = "𓀞",
     = "𓀟",
     = "𓀠",
     = "𓀡",
     = "𓀢",
     = "𓀣",
     = "𓀤",
     = "𓀥",
     = "𓀦",
     = "𓀧",
     = "𓀨",
     = "𓀩",
     = "𓀪",
     = "𓀫",
     = "𓀬",
     = "𓀭",
     = "𓀮",
     = "𓀯",
     = "𓀰",
     = "𓀱",
     = "𓀲",
     = "𓀳",
     = "𓀴",
     = "𓀵",
     = "𓀶",
     = "𓀷",
     = "𓀸",
     = "𓀹",
     = "𓀺",
     = "𓀻",
     = "𓀼",
     = "𓀽",
     = "𓀾",
     = "𓀿",
     = "𓁀",
     = "𓁁",
     = "𓁂",
     = "𓁃",
     = "𓁄",
     = "𓁅",
     = "𓁆",
     = "𓁇",
     = "𓁈",
     = "𓁉",
     = "𓁊",
     = "𓁋",
     = "𓁌",
     = "𓁍",
     = "𓁎",
     = "𓁏",
     = "𓁐",
     = "𓁑",
     = "𓁒",
     = "𓁓",
     = "𓁔",
     = "𓁕",
     = "𓁖",
     = "𓁗",
     = "𓁘",
     = "𓁙",
     = "𓁚",
     = "𓁛",
     = "𓁜",
     = "𓁝",
     = "𓁞",
     = "𓁟",
     = "𓁠",
     = "𓁡",
     = "𓁢",
     = "𓁣",
     = "𓁤",
     = "𓁥",
     = "𓁦",
     = "𓁧",
     = "𓁨",
     = "𓁩",
     = "𓁪",
     = "𓁫",
     = "𓁬",
     = "𓁭",
     = "𓁮",
     = "𓁯",
     = "𓁰",
     = "𓁱",
     = "𓁲",
     = "𓁳",
     = "𓁴",
     = "𓁵",
     = "𓁶",
     = "𓁷",
     = "𓁸",
     = "𓁹",
     = "𓁺",
     = "𓁻",
     = "𓁼",
     = "𓁽",
     = "𓁾",
     = "𓁿",
     = "𓂀",
     = "𓂁",
     = "𓂂",
     = "𓂃",
     = "𓂄",
     = "𓂅",
     = "𓂆",
     = "𓂇",
     = "𓂈",
     = "𓂉",
     = "𓂊",
     = "𓂋",
     = "𓂌",
     = "𓂍",
     = "𓂎",
     = "𓂏",
     = "𓂐",
     = "𓂑",
     = "𓂒",
     = "𓂓",
     = "𓂔",
     = "𓂕",
     = "𓂖",
     = "𓂗",
     = "𓂘",
     = "𓂙",
     = "𓂚",
     = "𓂛",
     = "𓂜",
     = "𓂝",
     = "𓂞",
     = "𓂟",
     = "𓂠",
     = "𓂡",
     = "𓂢",
     = "𓂣",
     = "𓂤",
     = "𓂥",
     = "𓂦",
     = "𓂧",
     = "𓂨",
     = "𓂩",
     = "𓂪",
     = "𓂫",
     = "𓂬",
     = "𓂭",
     = "𓂮",
     = "𓂯",
     = "𓂰",
     = "𓂱",
     = "𓂲",
     = "𓂳",
     = "𓂴",
     = "𓂵",
     = "𓂶",
     = "𓂷",
     = "𓂸",
     = "𓂹",
     = "𓂺",
     = "𓂻",
     = "𓂼",
     = "𓂽",
     = "𓂾",
     = "𓂿",
     = "𓃀",
     = "𓃁",
     = "𓃂",
     = "𓃃",
     = "𓃄",
     = "𓃅",
     = "𓃆",
     = "𓃇",
     = "𓃈",
     = "𓃉",
     = "𓃊",
     = "𓃋",
     = "𓃌",
     = "𓃍",
     = "𓃎",
     = "𓃏",
     = "𓃐",
     = "𓃑",
     = "𓃒",
     = "𓃓",
     = "𓃔",
     = "𓃕",
     = "𓃖",
     = "𓃗",
     = "𓃘",
     = "𓃙",
     = "𓃚",
     = "𓃛",
     = "𓃜",
     = "𓃝",
     = "𓃞",
     = "𓃟",
     = "𓃠",
     = "𓃡",
     = "𓃢",
     = "𓃣",
     = "𓃤",
     = "𓃥",
     = "𓃦",
     = "𓃧",
     = "𓃨",
     = "𓃩",
     = "𓃪",
     = "𓃫",
     = "𓃬",
     = "𓃭",
     = "𓃮",
     = "𓃯",
     = "𓃰",
     = "𓃱",
     = "𓃲",
     = "𓃳",
     = "𓃴",
     = "𓃵",
     = "𓃶",
     = "𓃷",
     = "𓃸",
     = "𓃹",
     = "𓃺",
     = "𓃻",
     = "𓃼",
     = "𓃽",
     = "𓃾",
     = "𓃿",
     = "𓄀",
     = "𓄁",
     = "𓄂",
     = "𓄃",
     = "𓄄",
     = "𓄅",
     = "𓄆",
     = "𓄇",
     = "𓄈",
     = "𓄉",
     = "𓄊",
     = "𓄋",
     = "𓄌",
     = "𓄍",
     = "𓄎",
     = "𓄏",
     = "𓄐",
     = "𓄑",
     = "𓄒",
     = "𓄓",
     = "𓄔",
     = "𓄕",
     = "𓄖",
     = "𓄗",
     = "𓄘",
     = "𓄙",
     = "𓄚",
     = "𓄛",
     = "𓄜",
     = "𓄝",
     = "𓄞",
     = "𓄟",
     = "𓄠",
     = "𓄡",
     = "𓄢",
     = "𓄣",
     = "𓄤",
     = "𓄥",
     = "𓄦",
     = "𓄧",
     = "𓄨",
     = "𓄩",
     = "𓄪",
     = "𓄫",
     = "𓄬",
     = "𓄭",
     = "𓄮",
     = "𓄯",
     = "𓄰",
     = "𓄱",
     = "𓄲",
     = "𓄳",
     = "𓄴",
     = "𓄵",
     = "𓄶",
     = "𓄷",
     = "𓄸",
     = "𓄹",
     = "𓄺",
     = "𓄻",
     = "𓄼",
     = "𓄽",
     = "𓄾",
     = "𓄿",
     = "𓅀",
     = "𓅁",
     = "𓅂",
     = "𓅃",
     = "𓅄",
     = "𓅅",
     = "𓅆",
     = "𓅇",
     = "𓅈",
     = "𓅉",
     = "𓅊",
     = "𓅋",
     = "𓅌",
     = "𓅍",
     = "𓅎",
     = "𓅏",
     = "𓅐",
     = "𓅑",
     = "𓅒",
     = "𓅓",
     = "𓅔",
     = "𓅕",
     = "𓅖",
     = "𓅗",
     = "𓅘",
     = "𓅙",
     = "𓅚",
     = "𓅛",
     = "𓅜",
     = "𓅝",
     = "𓅞",
     = "𓅟",
     = "𓅠",
     = "𓅡",
     = "𓅢",
     = "𓅣",
     = "𓅤",
     = "𓅥",
     = "𓅦",
     = "𓅧",
     = "𓅨",
     = "𓅩",
     = "𓅪",
     = "𓅫",
     = "𓅬",
     = "𓅭",
     = "𓅮",
     = "𓅯",
     = "𓅰",
     = "𓅱",
     = "𓅲",
     = "𓅳",
     = "𓅴",
     = "𓅵",
     = "𓅶",
     = "𓅷",
     = "𓅸",
     = "𓅹",
     = "𓅺",
     = "𓅻",
     = "𓅼",
     = "𓅽",
     = "𓅾",
     = "𓅿",
     = "𓆀",
     = "𓆁",
     = "𓆂",
     = "𓆃",
     = "𓆄",
     = "𓆅",
     = "𓆆",
     = "𓆇",
     = "𓆈",
     = "𓆉",
     = "𓆊",
     = "𓆋",
     = "𓆌",
     = "𓆍",
     = "𓆎",
     = "𓆏",
     = "𓆐",
     = "𓆑",
     = "𓆒",
     = "𓆓",
     = "𓆔",
     = "𓆕",
     = "𓆖",
     = "𓆗",
     = "𓆘",
     = "𓆙",
     = "𓆚",
     = "𓆛",
     = "𓆜",
     = "𓆝",
     = "𓆞",
     = "𓆟",
     = "𓆠",
     = "𓆡",
     = "𓆢",
     = "𓆣",
     = "𓆤",
     = "𓆥",
     = "𓆦",
     = "𓆧",
     = "𓆨",
     = "𓆩",
     = "𓆪",
     = "𓆫",
     = "𓆬",
     = "𓆭",
     = "𓆮",
     = "𓆯",
     = "𓆰",
     = "𓆱",
     = "𓆲",
     = "𓆳",
     = "𓆴",
     = "𓆵",
     = "𓆶",
     = "𓆷",
     = "𓆸",
     = "𓆹",
     = "𓆺",
     = "𓆻",
     = "𓆼",
     = "𓆽",
     = "𓆾",
     = "𓆿",
     = "𓇀",
     = "𓇁",
     = "𓇂",
     = "𓇃",
     = "𓇄",
     = "𓇅",
     = "𓇆",
     = "𓇇",
     = "𓇈",
     = "𓇉",
     = "𓇊",
     = "𓇋",
     = "𓇌",
     = "𓇍",
     = "𓇎",
     = "𓇏",
     = "𓇐",
     = "𓇑",
     = "𓇒",
     = "𓇓",
     = "𓇔",
     = "𓇕",
     = "𓇖",
     = "𓇗",
     = "𓇘",
     = "𓇙",
     = "𓇚",
     = "𓇛",
     = "𓇜",
     = "𓇝",
     = "𓇞",
     = "𓇟",
     = "𓇠",
     = "𓇡",
     = "𓇢",
     = "𓇣",
     = "𓇤",
     = "𓇥",
     = "𓇦",
     = "𓇧",
     = "𓇨",
     = "𓇩",
     = "𓇪",
     = "𓇫",
     = "𓇬",
     = "𓇭",
     = "𓇮",
     = "𓇯",
     = "𓇰",
     = "𓇱",
     = "𓇲",
     = "𓇳",
     = "𓇴",
     = "𓇵",
     = "𓇶",
     = "𓇷",
     = "𓇸",
     = "𓇹",
     = "𓇺",
     = "𓇻",
     = "𓇼",
     = "𓇽",
     = "𓇾",
     = "𓇿",
     = "𓈀",
     = "𓈁",
     = "𓈂",
     = "𓈃",
     = "𓈄",
     = "𓈅",
     = "𓈆",
     = "𓈇",
     = "𓈈",
     = "𓈉",
     = "𓈊",
     = "𓈋",
     = "𓈌",
     = "𓈍",
     = "𓈎",
     = "𓈏",
     = "𓈐",
     = "𓈑",
     = "𓈒",
     = "𓈓",
     = "𓈔",
     = "𓈕",
     = "𓈖",
     = "𓈗",
     = "𓈘",
     = "𓈙",
     = "𓈚",
     = "𓈛",
     = "𓈜",
     = "𓈝",
     = "𓈞",
     = "𓈟",
     = "𓈠",
     = "𓈡",
     = "𓈢",
     = "𓈣",
     = "𓈤",
     = "𓈥",
     = "𓈦",
     = "𓈧",
     = "𓈨",
     = "𓈩",
     = "𓈪",
     = "𓈫",
     = "𓈬",
     = "𓈭",
     = "𓈮",
     = "𓈯",
     = "𓈰",
     = "𓈱",
     = "𓈲",
     = "𓈳",
     = "𓈴",
     = "𓈵",
     = "𓈶",
     = "𓈷",
     = "𓈸",
     = "𓈹",
     = "𓈺",
     = "𓈻",
     = "𓈼",
     = "𓈽",
     = "𓈾",
     = "𓈿",
     = "𓉀",
     = "𓉁",
     = "𓉂",
     = "𓉃",
     = "𓉄",
     = "𓉅",
     = "𓉆",
     = "𓉇",
     = "𓉈",
     = "𓉉",
     = "𓉊",
     = "𓉋",
     = "𓉌",
     = "𓉍",
     = "𓉎",
     = "𓉏",
     = "𓉐",
     = "𓉑",
     = "𓉒",
     = "𓉓",
     = "𓉔",
     = "𓉕",
     = "𓉖",
     = "𓉗",
     = "𓉘",
     = "𓉙",
     = "𓉚",
     = "𓉛",
     = "𓉜",
     = "𓉝",
     = "𓉞",
     = "𓉟",
     = "𓉠",
     = "𓉡",
     = "𓉢",
     = "𓉣",
     = "𓉤",
     = "𓉥",
     = "𓉦",
     = "𓉧",
     = "𓉨",
     = "𓉩",
     = "𓉪",
     = "𓉫",
     = "𓉬",
     = "𓉭",
     = "𓉮",
     = "𓉯",
     = "𓉰",
     = "𓉱",
     = "𓉲",
     = "𓉳",
     = "𓉴",
     = "𓉵",
     = "𓉶",
     = "𓉷",
     = "𓉸",
     = "𓉹",
     = "𓉺",
     = "𓉻",
     = "𓉼",
     = "𓉽",
     = "𓉾",
     = "𓉿",
     = "𓊀",
     = "𓊁",
     = "𓊂",
     = "𓊃",
     = "𓊄",
     = "𓊅",
     = "𓊆",
     = "𓊇",
     = "𓊈",
     = "𓊉",
     = "𓊊",
     = "𓊋",
     = "𓊌",
     = "𓊍",
     = "𓊎",
     = "𓊏",
     = "𓊐",
     = "𓊑",
     = "𓊒",
     = "𓊓",
     = "𓊔",
     = "𓊕",
     = "𓊖",
     = "𓊗",
     = "𓊘",
     = "𓊙",
     = "𓊚",
     = "𓊛",
     = "𓊜",
     = "𓊝",
     = "𓊞",
     = "𓊟",
     = "𓊠",
     = "𓊡",
     = "𓊢",
     = "𓊣",
     = "𓊤",
     = "𓊥",
     = "𓊦",
     = "𓊧",
     = "𓊨",
     = "𓊩",
     = "𓊪",
     = "𓊫",
     = "𓊬",
     = "𓊭",
     = "𓊮",
     = "𓊯",
     = "𓊰",
     = "𓊱",
     = "𓊲",
     = "𓊳",
     = "𓊴",
     = "𓊵",
     = "𓊶",
     = "𓊷",
     = "𓊸",
     = "𓊹",
     = "𓊺",
     = "𓊻",
     = "𓊼",
     = "𓊽",
     = "𓊾",
     = "𓊿",
     = "𓋀",
     = "𓋁",
     = "𓋂",
     = "𓋃",
     = "𓋄",
     = "𓋅",
     = "𓋆",
     = "𓋇",
     = "𓋈",
     = "𓋉",
     = "𓋊",
     = "𓋋",
     = "𓋌",
     = "𓋍",
     = "𓋎",
     = "𓋏",
     = "𓋐",
     = "𓋑",
     = "𓋒",
     = "𓋓",
     = "𓋔",
     = "𓋕",
     = "𓋖",
     = "𓋗",
     = "𓋘",
     = "𓋙",
     = "𓋚",
     = "𓋛",
     = "𓋜",
     = "𓋝",
     = "𓋞",
     = "𓋟",
     = "𓋠",
     = "𓋡",
     = "𓋢",
     = "𓋣",
     = "𓋤",
     = "𓋥",
     = "𓋦",
     = "𓋧",
     = "𓋨",
     = "𓋩",
     = "𓋪",
     = "𓋫",
     = "𓋬",
     = "𓋭",
     = "𓋮",
     = "𓋯",
     = "𓋰",
     = "𓋱",
     = "𓋲",
     = "𓋳",
     = "𓋴",
     = "𓋵",
     = "𓋶",
     = "𓋷",
     = "𓋸",
     = "𓋹",
     = "𓋺",
     = "𓋻",
     = "𓋼",
     = "𓋽",
     = "𓋾",
     = "𓋿",
     = "𓌀",
     = "𓌁",
     = "𓌂",
     = "𓌃",
     = "𓌄",
     = "𓌅",
     = "𓌆",
     = "𓌇",
     = "𓌈",
     = "𓌉",
     = "𓌊",
     = "𓌋",
     = "𓌌",
     = "𓌍",
     = "𓌎",
     = "𓌏",
     = "𓌐",
     = "𓌑",
     = "𓌒",
     = "𓌓",
     = "𓌔",
     = "𓌕",
     = "𓌖",
     = "𓌗",
     = "𓌘",
     = "𓌙",
     = "𓌚",
     = "𓌛",
     = "𓌜",
     = "𓌝",
     = "𓌞",
     = "𓌟",
     = "𓌠",
     = "𓌡",
     = "𓌢",
     = "𓌣",
     = "𓌤",
     = "𓌥",
     = "𓌦",
     = "𓌧",
     = "𓌨",
     = "𓌩",
     = "𓌪",
     = "𓌫",
     = "𓌬",
     = "𓌭",
     = "𓌮",
     = "𓌯",
     = "𓌰",
     = "𓌱",
     = "𓌲",
     = "𓌳",
     = "𓌴",
     = "𓌵",
     = "𓌶",
     = "𓌷",
     = "𓌸",
     = "𓌹",
     = "𓌺",
     = "𓌻",
     = "𓌼",
     = "𓌽",
     = "𓌾",
     = "𓌿",
     = "𓍀",
     = "𓍁",
     = "𓍂",
     = "𓍃",
     = "𓍄",
     = "𓍅",
     = "𓍆",
     = "𓍇",
     = "𓍈",
     = "𓍉",
     = "𓍊",
     = "𓍋",
     = "𓍌",
     = "𓍍",
     = "𓍎",
     = "𓍏",
     = "𓍐",
     = "𓍑",
     = "𓍒",
     = "𓍓",
     = "𓍔",
     = "𓍕",
     = "𓍖",
     = "𓍗",
     = "𓍘",
     = "𓍙",
     = "𓍚",
     = "𓍛",
     = "𓍜",
     = "𓍝",
     = "𓍞",
     = "𓍟",
     = "𓍠",
     = "𓍡",
     = "𓍢",
     = "𓍣",
     = "𓍤",
     = "𓍥",
     = "𓍦",
     = "𓍧",
     = "𓍨",
     = "𓍩",
     = "𓍪",
     = "𓍫",
     = "𓍬",
     = "𓍭",
     = "𓍮",
     = "𓍯",
     = "𓍰",
     = "𓍱",
     = "𓍲",
     = "𓍳",
     = "𓍴",
     = "𓍵",
     = "𓍶",
     = "𓍷",
     = "𓍸",
     = "𓍹",
     = "𓍺",
     = "𓍻",
     = "𓍼",
     = "𓍽",
     = "𓍾",
     = "𓍿",
     = "𓎀",
     = "𓎁",
     = "𓎂",
     = "𓎃",
     = "𓎄",
     = "𓎅",
     = "𓎆",
     = "𓎇",
     = "𓎈",
     = "𓎉",
     = "𓎊",
     = "𓎋",
     = "𓎌",
     = "𓎍",
     = "𓎎",
     = "𓎏",
     = "𓎐",
     = "𓎑",
     = "𓎒",
     = "𓎓",
     = "𓎔",
     = "𓎕",
     = "𓎖",
     = "𓎗",
     = "𓎘",
     = "𓎙",
     = "𓎚",
     = "𓎛",
     = "𓎜",
     = "𓎝",
     = "𓎞",
     = "𓎟",
     = "𓎠",
     = "𓎡",
     = "𓎢",
     = "𓎣",
     = "𓎤",
     = "𓎥",
     = "𓎦",
     = "𓎧",
     = "𓎨",
     = "𓎩",
     = "𓎪",
     = "𓎫",
     = "𓎬",
     = "𓎭",
     = "𓎮",
     = "𓎯",
     = "𓎰",
     = "𓎱",
     = "𓎲",
     = "𓎳",
     = "𓎴",
     = "𓎵",
     = "𓎶",
     = "𓎷",
     = "𓎸",
     = "𓎹",
     = "𓎺",
     = "𓎻",
     = "𓎼",
     = "𓎽",
     = "𓎾",
     = "𓎿",
     = "𓏀",
     = "𓏁",
     = "𓏂",
     = "𓏃",
     = "𓏄",
     = "𓏅",
     = "𓏆",
     = "𓏇",
     = "𓏈",
     = "𓏉",
     = "𓏊",
     = "𓏋",
     = "𓏌",
     = "𓏍",
     = "𓏎",
     = "𓏏",
     = "𓏐",
     = "𓏑",
     = "𓏒",
     = "𓏓",
     = "𓏔",
     = "𓏕",
     = "𓏖",
     = "𓏗",
     = "𓏘",
     = "𓏙",
     = "𓏚",
     = "𓏛",
     = "𓏜",
     = "𓏝",
     = "𓏞",
     = "𓏟",
     = "𓏠",
     = "𓏡",
     = "𓏢",
     = "𓏣",
     = "𓏤",
     = "𓏥",
     = "𓏦",
     = "𓏧",
     = "𓏨",
     = "𓏩",
     = "𓏪",
     = "𓏫",
     = "𓏬",
     = "𓏭",
     = "𓏮",
     = "𓏯",
     = "𓏰",
     = "𓏱",
     = "𓏲",
     = "𓏳",
     = "𓏴",
     = "𓏵",
     = "𓏶",
     = "𓏷",
     = "𓏸",
     = "𓏹",
     = "𓏺",
     = "𓏻",
     = "𓏼",
     = "𓏽",
     = "𓏾",
     = "𓏿",
     = "𓐀",
     = "𓐁",
     = "𓐂",
     = "𓐃",
     = "𓐄",
     = "𓐅",
     = "𓐆",
     = "𓐇",
     = "𓐈",
     = "𓐉",
     = "𓐊",
     = "𓐋",
     = "𓐌",
     = "𓐍",
     = "𓐎",
     = "𓐏",
     = "𓐐",
     = "𓐑",
     = "𓐒",
     = "𓐓",
     = "𓐔",
     = "𓐕",
     = "𓐖",
     = "𓐗",
     = "𓐘",
     = "𓐙",
     = "𓐚",
     = "𓐛",
     = "𓐜",
     = "𓐝",
     = "𓐞",
     = "𓐟",
     = "𓐠",
     = "𓐡",
     = "𓐢",
     = "𓐣",
     = "𓐤",
     = "𓐥",
     = "𓐦",
     = "𓐧",
     = "𓐨",
     = "𓐩",
     = "𓐪",
     = "𓐫",
     = "𓐬",
     = "𓐭",
     = "𓐮",

     = "𓑄",
     = "𓑆",
     = "𓑅",
     = "𓑃",
     = "𓑃𓑃",

     = "⬤",
     = "🔴",
     = "?",

     = "𓍹𓐼",
     = "𓐽𓍺",
     = "𓍹𓐼",
     = "𓐽𓍻",
     = "𓐯𓐼",
     = "𓐽𓍺",
     = "𓉘𓐼",
     = "𓐽𓉝",
     = "𓉙𓐼",
     = "𓐽𓉜",
     = "𓉚𓐼",
     = "𓐽𓉛",
}

local mdc_symbol_map = {
     = "𓑀",
     = "𓐰",
     = "𓐱",
     = "",
     = "</span><br><span class=\"Egyp\" lang=\"egy\">",
     = "𓑂",
     = ">𓐳<",
     = "𓐴",
     = "",
     = "",

     = "[",
    %]"] = "]",
     = "{",
    "] = "}",
     = "⟨",
    "] = "⟩",
     = "⟦",
    "] = "⟧",
     = "⸢",
    "] = "⸣",
}

local wikihiero_bracket_fix_map = {
    "] = "Ba16a",
     = "Ba18",
    "] = "Ba18a",
     = "Ba19",
    "] = "Ba19a",
}

local wikihiero_word_set = {
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
     = true,
}

function export.mdc_to_unicode(frame)
    local mdc = frame.args
    local unicode = export.remove_comments(mdc)

    unicode = mw.ustring.gsub(unicode, ":%*", ":")
    unicode = mw.ustring.gsub(unicode, "%*%*", "%*")
    unicode = mw.ustring.gsub(unicode, " ", "-")

    unicode = mw.ustring.gsub(unicode, "x&r&t&Y1", "x:r*t:Y1")

    for pat, repl in pairs(mdc_complex_group_normalization_map) do
        unicode = unicode:gsub("%f" .. pat .. "%f", repl)
    end

    for pat, repl in pairs(mdc_normalization_map) do
        unicode = unicode:gsub("%f" .. pat .. "%f", repl)
    end

    unicode = mw.ustring.gsub(unicode, "%f(.-)%f", "<span title=\"%1\">%1</span>")
    unicode = mw.ustring.gsub(unicode, "\"<", "\"&lt;")
    unicode = mw.ustring.gsub(unicode, ">\"", "&gt;\"")

    for pat, repl in pairs(mdc_phonogram_map) do
        unicode = unicode:gsub("\"(+)\">" .. pat .. "<", "\"" .. repl .. " %\">" .. repl .. "<")
    end

    for pat, repl in pairs(hiero_map) do
        unicode = unicode:gsub(">" .. pat .. "<", ">" .. repl .. "<")
    end

    unicode = mw.ustring.gsub(unicode, "%.%.", "𓑁")
    for pat, repl in pairs(mdc_symbol_map) do
        unicode = unicode:gsub(pat, repl)
    end

    unicode = "<span class=\"Egyp\" lang=\"egy\">" .. unicode .. "</span>"

    return unicode
end

function export.mdc_to_wikihiero(frame)
	local mdc = frame.args
    local wikihiero = export.remove_comments(mdc)

    for pat, repl in pairs(wikihiero_bracket_fix_map) do
        wikihiero = wikihiero:gsub(pat, repl)
    end

    for glyph in string.gmatch(wikihiero, "%f(.-)%f") do
        if (wikihiero_word_set == nil and mdc_phonogram_map == nil) then
            wikihiero = mw.ustring.gsub(wikihiero, glyph, frame:preprocess("</hiero>{{egy-glyph|" .. glyph .. "}}<hiero>"))
        end
    end

    wikihiero = mw.ustring.gsub(wikihiero, "!", frame:preprocess("</hiero><br><hiero>"))

    local wikihiero = frame:preprocess("<hiero>" .. wikihiero .. "</hiero>")
    return wikihiero
end

return export