var forwardTimeout, backwardTimeout; $(document).ready(function() { if ($.cookie('recenttext')){ $('#your-text').val($.cookie('recenttext')); var english = $('#your-text').val(); $.cookie('recenttext', english, { expires: 365 }); var fancytextguru = translate(english); $('#stylish-text').html(fancytextguru); $('#stylish-text-two').html(translateone(english)); $('#stylish-text-three').html(translatetwo(english)); } $('.container .your-text').on("input", function(e) { clearTimeout(forwardTimeout); forwardTimeout = setTimeout(function() { var english = $('#your-text').val(); $.cookie('recenttext', english, { expires: 365 }); var fancytextguru = translate(english); $('#stylish-text').html(fancytextguru); $('#stylish-text-two').html(translateone(english)); $('#stylish-text-three').html(translatetwo(english)); }, 200); }); }); var phrases1 = new Array(); var phrases2 = new Array(); var words1 = new Array(); var words2 = new Array(); var intraword1 = new Array(); var intraword2 = new Array(); var prefixes1 = new Array(); var prefixes2 = new Array(); var suffixes1 = new Array(); var suffixes2 = new Array(); var regex1 = new Array(); var regex2 = new Array(); var rev_regex1 = new Array(); var rev_regex2 = new Array(); var ordering1 = new Array(); var ordering2 = new Array(); function numRules() { return phrases1.length + phrases2.length + words1.length + words2.length + intraword1.length + intraword2.length + prefixes1.length + prefixes2.length + suffixes1.length + suffixes2.length + regex1.length + regex2.length + rev_regex1.length + rev_regex2.length + ordering1.length + ordering2.length; } var doneToken = "����}�"; var sentenceCount = 0; var useWebWorker = false; function translate(text, direction) { if (text == "") return ""; var translatedText = ""; if (!([].concat(phrases1, phrases2, words1, words2, intraword1, intraword2, prefixes1, prefixes2, suffixes1, suffixes2, regex1, regex2, rev_regex1, rev_regex2, ordering1, ordering2).join("").length === 0)) { sentenceCount = 0; sentenceArray = text.split(/(\.)/g); sentenceArray = sentenceArray.filter(function(s) { return s !== ""; }) } else { translatedText = text; } if (direction == "backward" && typeof backward === "function") { translatedText = backward(translatedText); } else if (typeof forward === "function") { translatedText = forward(translatedText); } return translatedText; } function translateone(text, direction) { if (text == "") return ""; var translatedoneText = ""; if (!([].concat(phrases1, phrases2, words1, words2, intraword1, intraword2, prefixes1, prefixes2, suffixes1, suffixes2, regex1, regex2, rev_regex1, rev_regex2, ordering1, ordering2).join("").length === 0)) { sentenceCount = 0; sentenceArray = text.split(/(\.)/g); sentenceArray = sentenceArray.filter(function(s) { return s !== ""; }) } else { translatedoneText = text; } if (direction == "backward" && typeof backward === "function") { translatedoneText = backward(translatedoneText); } else if (typeof forwardone === "function") { translatedoneText = forwardone(translatedoneText); } return translatedoneText; } function translatetwo(text, direction) { if (text == "") return ""; var translatedtwoText = ""; if (!([].concat(phrases1, phrases2, words1, words2, intraword1, intraword2, prefixes1, prefixes2, suffixes1, suffixes2, regex1, regex2, rev_regex1, rev_regex2, ordering1, ordering2).join("").length === 0)) { sentenceCount = 0; sentenceArray = text.split(/(\.)/g); sentenceArray = sentenceArray.filter(function(s) { return s !== ""; }) } else { translatedtwoText = text; } if (direction == "backward" && typeof backward === "function") { translatedtwoText = backward(translatedtwoText); } else if (typeof forwardthree === "function") { translatedtwoText = forwardthree(translatedtwoText); } return translatedtwoText; } var worker; var workerStarted = false; var waitingForTypingToFinish = false; var translationInQueue = false; var queuedTranslationDirection = false; var translationInProgress = false; var workerInitStarted = false; var fancytextguruPlaceholderText = document.querySelector("#stylish-text").getAttribute("placeholder"); var englishPlaceholderText = document.querySelector("#your-text").getAttribute("placeholder"); //try { var reverseIsDisabled = false; //<![CDATA[ var luni = new Lunicode(); luni.tools.creepify.options.maxHeight = 10; function backward(text) { return $("#your-text").val(); } function createMap(chars) { var alphanum = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; var i = 0; var map = {}; for(var c of chars) { map[ alphanum[i] ] = c; i++; } return JSON.stringify(map); } //createMap("ð•’ð•“ð•”ð••ð•–ð•—ð•˜ð•™ð•šð•›ð•œð•ð•žð•Ÿð• ð•¡ð•¢ð•£ð•¤ð•¥ð•¦ð•§ð•¨ð•©ð•ªð•«ð”¸ð”¹â„‚ð”»ð”¼ð”½ð”¾â„ð•€ð•ð•‚ð•ƒð•„â„•ð•†â„™â„šâ„ð•Šð•‹ð•Œð•ð•Žð•ð•ℤðŸ˜ðŸ™ðŸšðŸ›ðŸœðŸðŸžðŸŸðŸ ðŸ¡") function forward(text) { text = text.trim(); if(text === "") { return ""; } var finalText = ""; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(squaresCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(oldEnglishCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+luni.tools.flip.encode(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(medievalCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(invertedSquaresCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(wideTextCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+luni.tools.tiny.encode(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(cursiveCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+luni.tools.roundsquares.encode(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+scriptify(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(doubleStruckCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+luni.tools.mirror.encode(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)" style="padding:50px 0">'+luni.tools.creepify.encode(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(subscriptCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(superscriptCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(bentTextCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(neonCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(futureAlienCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+strikeThrough(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+tildeStrikeThrough(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+slashThrough(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+underline(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+doubleUnderline(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+luni.tools.bubbles.encode(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(squiggleCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(squiggle2CharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(squiggle3CharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(squiggle4CharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(squiggle5CharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(squiggle6CharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(boldCharMap, text) + ' </p></div>'; return finalText.trim(); } function forwardone(text) { text = text.trim(); if(text === "") { return ""; } var finalText = ""; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+luni.tools.squares.encode(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(italicCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(boldItalicCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(monospaceCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(upperAnglesCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(greekCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(symbolsCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(currencyCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(asianStyleCharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+applyCharMap(asianStyle2CharMap, text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+thickBlockFramed(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+diametricAngleFrame(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+wavyJoiner(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+dottyJoiner(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+kirbyHug(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+littleSparkles(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+weirdBox(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+firework(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+stinky(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+heartsBetween(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+arrowBelow(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crossAboveBelow(text) + ' </p></div>'; finalText += vaporwaveText(text); finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+"Wingdings: "+wingdings(text) + ' </p></div>'; return finalText.trim(); } function forwardthree(text) { text = text.trim(); if(text === "") { return ""; } var finalText = ""; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+cuteText(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+cuteText(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+cuteText(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+cuteText(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+cuteText(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+crazyWithFlourishOrSymbols(text) + ' </p></div>'; finalText += '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+fullCrazy(text) + ' </p></div>'; return finalText.trim(); } function crazyWithFlourishOrSymbols(text) { if(Math.random() < 0.7) return wrapInSymbols(crazifyText(text), 2); else return wrapInFlourish(crazifyText(text), 2); } function strikeThrough(text) { return text.split("").join("̶")+"̶"; } function tildeStrikeThrough(text) { return text.split("").join("̴")+"̴"; } function underline(text) { return text.split("").join("̲")+"̲"; } function doubleUnderline(text) { return text.split("").join("̳")+"̳"; } function slashThrough(text) { return text.split("").join("̷")+"̷"; } function stinky(text) { return text.split("").join("̾")+"̾" } function heartsBetween(text) { return text.split("").join("♥"); } function arrowBelow(text) { return text.split("").join("͎")+"͎"; } function crossAboveBelow(text) { return text.split("").join("͓̽")+"͓̽"; } const wingdingsCharMap = {"0":"ðŸ“︎","1":"📂︎","2":"📄︎","3":"ðŸ—︎","4":"ðŸ—︎","5":"🗄︎","6":"⌛︎","7":"🖮︎","8":"🖰︎","9":"🖲︎","!":"✏︎","\"":"✂︎","#":"✁︎","$":"👓︎","%":"ðŸ•︎","&":"🕮︎","'":"🕯︎","(":"🕿︎",")":"✆︎","*":"🖂︎","+":"🖃︎",",":"📪︎","-":"📫︎",".":"📬︎","/":"ðŸ“︎",":":"🖳︎",";":"🖴︎","<":"🖫︎","=":"🖬︎",">":"✇︎","?":"✍︎","A":"✌︎","B":"👌︎","C":"ðŸ‘︎","D":"👎︎","E":"☜︎","F":"☞︎","G":"☝︎","H":"☟︎","I":"✋︎","J":"☺︎","K":"ðŸ˜︎","L":"☹︎","M":"💣︎","N":"☠︎","O":"⚐︎","P":"ðŸ±︎","Q":"✈︎","R":"☼︎","S":"💧︎","T":"❄︎","U":"🕆︎","V":"✞︎","W":"🕈︎","X":"✠︎","Y":"✡︎","Z":"☪︎","[":"☯︎","\\":"à¥︎","]":"☸︎","^":"♈︎","_":"♉︎","`":"♊︎","a":"♋︎","b":"♌︎","c":"♍︎","d":"♎︎","e":"♏︎","f":"♐︎","g":"♑︎","h":"♒︎","i":"♓︎","j":"🙰","k":"🙵","l":"●︎","m":"❍︎","n":"■︎","o":"□︎","p":"◻︎","q":"❑︎","r":"❒︎","s":"⬧︎","t":"⧫︎","u":"◆︎","v":"❖︎","w":"⬥︎","x":"⌧︎","y":"⍓︎","z":"⌘︎","{":"❀︎","|":"✿︎","}":"❝︎","~":"❞︎"," ":"▯︎","€":"⓪︎"," ":"①︎","‚":"②︎","Æ’":"③︎","„":"④︎","…":"⑤︎","†":"⑥︎","‡":"⑦︎","ˆ":"⑧︎","‰":"⑨︎","Å ":"⑩︎","‹":"⓿︎","Å’":"❶︎"," ":"❷︎","Ž":"❸︎"," ":"❹︎"," ":"❺︎","‘":"❻︎","’":"❼︎","“":"❽︎","”":"❾︎","•":"❿︎","–":"◻︎","—":"◻︎","˜":"◻︎","™":"◻︎","Å¡":"◻︎","›":"◻︎","Å“":"◻︎"," ":"◻︎","ž":"·︎","Ÿ":"•︎","¡":"○︎","¢":"⭕︎","£":"◻︎","¤":"◉︎","¥":"◎︎","¦":"◻︎","§":"▪︎","¨":"◻︎","©":"◻︎","ª":"✦︎","«":"★︎","¬":"✶︎","®":"✹︎","¯":"✵︎","°":"◻︎","±":"⌖︎","²":"⟡︎","³":"⌑︎","´":"◻︎","µ":"✪︎","¶":"✰︎","·":"ðŸ•︎","¸":"🕑︎","¹":"🕒︎","º":"🕓︎","»":"🕔︎","¼":"🕕︎","½":"🕖︎","¾":"🕗︎","¿":"🕘︎","À":"🕙︎","Ã":"🕚︎","Â":"🕛︎","Ã":"◻︎","Ä":"◻︎","Ã…":"◻︎","Æ":"◻︎","Ç":"◻︎","È":"◻︎","É":"◻︎","Ê":"◻︎","Ë":"◻︎","ÃŒ":"◻︎","Ã":"◻︎","ÃŽ":"◻︎","Ã":"◻︎","Ã":"◻︎","Ñ":"◻︎","Ã’":"◻︎","Ó":"◻︎","Ô":"◻︎","Õ":"⌫︎","Ö":"⌦︎","×":"◻︎","Ø":"➢︎","Ù":"◻︎","Ú":"◻︎","Û":"◻︎","Ü":"➲︎","Ã":"◻︎","Þ":"◻︎","ß":"◻︎","à ":"◻︎","á":"◻︎","â":"◻︎","ã":"◻︎","ä":"◻︎","Ã¥":"◻︎","æ":"◻︎","ç":"◻︎","è":"➔︎","é":"◻︎","ê":"◻︎","ë":"◻︎","ì":"◻︎","Ã":"◻︎","î":"◻︎","ï":"⇦︎","ð":"⇨︎","ñ":"⇧︎","ò":"⇩︎","ó":"⬄︎","ô":"⇳︎","õ":"⬀︎","ö":"⬁︎","÷":"⬃︎","ø":"⬂︎","ù":"▭︎","ú":"▫︎","û":"✗︎","ü":"✓︎","ý":"☒︎","þ":"☑︎","ÿ":"◻︎"}; function wingdings(text) { return text.split("").map(function(a) {return wingdingsCharMap[a] ? wingdingsCharMap[a] : a}).join(""); } const vaporwaveCharMap = {" ":" ", "`" : "`","1" : "1","2" : "ï¼’","3" : "3","4" : "ï¼”","5" : "5","6" : "ï¼–","7" : "ï¼—","8" : "8","9" : "ï¼™","0" : "ï¼","-" : "-","=" : "=","~" : "~","!" : "!","@" : "@","#" : "#","$" : "$","%" : "%","^" : "^","&" : "&","*" : "*","(" : "(",")" : ")","_" : "_","+" : "+","q" : "q","w" : "ï½—","e" : "ï½…","r" : "ï½’","t" : "ï½”","y" : "ï½™","u" : "u","i" : "i","o" : "ï½","p" : "ï½","[" : "[","]" : "]","\\" : "\\","Q" : "ï¼±","W" : "ï¼·","E" : "ï¼¥","R" : "ï¼²","T" : "ï¼´","Y" : "ï¼¹","U" : "ï¼µ","I" : "I","O" : "O","P" : "ï¼°","{" : "{","}" : "}","|" : "|","a" : "ï½","s" : "s","d" : "d","f" : "f","g" : "g","h" : "h","j" : "j","k" : "k","l" : "l",";" : ";","'" : "'","A" : "A","S" : "ï¼³","D" : "D","F" : "F","G" : "ï¼§","H" : "H","J" : "J","K" : "K","L" : "L",":" : ":","\"" : "\"","z" : "z","x" : "x","c" : "c","v" : "ï½–","b" : "b","n" : "n","m" : "ï½","," : ",","." : ".","/" : "/","Z" : "Z","X" : "X","C" : "ï¼£","V" : "ï¼¶","B" : "ï¼¢","N" : "ï¼®","M" : "ï¼","<" : "<",">" : ">","?" : "?"}; function vaporwaveText(text) { var numSpaces = text.split(" ").length; text = applyCharMap(vaporwaveCharMap, text); var asianChars = getAsianChars(Math.max(3, numSpaces)); if(numSpaces > 6) asianChars = asianChars.split("").map(c => c+["",""][Math.round(Math.random()*0.6)]).join(""); var outputs = []; outputs.push( '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+ text+'</p></div>'); outputs.push( '<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+text.replace(/ /g, "░").replace(/ï½ï½…/, "æ").replace(/A/g, "Λ").replace(/ï¼¥/g, function() { return Math.random() > 0.5 ? "Ξ" : "Σ"; }).replace(/O/g, "♢")+'</p></div>'); outputs.push('<div class="yt-prakash"><p onclick="select_all_and_copy(this)">'+"【"+text+"】"+'</p></div>'); return outputs.join(); } function getAsianChars(n) { if(!n) n = 1; var chars = "リサフランクç¾ä»£ã®ã‚³ãƒ³ãƒ”ュ竹内 ã¾ã‚Šã‚„若者ãŒå±¥ãæµè¡Œã®ã‚¹ãƒ‹ãƒ¼ã‚«ãƒ¼çœŸå¤œä¸ã®ãƒ‰ã‚¢ãƒ›ãƒƒãƒˆãƒ‰ãƒƒã‚°ãƒžã‚¹ã‚¿ãƒ¼ã‚¹ãƒˆãƒ©ã‚¤ã‚«ãƒ¼ã‚½ãƒ‹ãƒ¼ãƒ–ギ新ã—ã„æ—¥ã®èª•生ライフ - ヒスイ蒸気波 ç„¡ç·š゠ァアィイゥウェエォオカガã‚ギクグケゲコゴサザシジスズセゼソゾタダãƒãƒ‚ッツヅテデトドナニヌãƒãƒŽãƒãƒãƒ‘ヒビピフブプヘベペホボãƒãƒžãƒŸãƒ メモャヤュユョヨラリルレãƒãƒ®ãƒ¯ãƒ°ãƒ±ãƒ²ãƒ³ãƒ´ãƒµãƒ¶ãƒ·ãƒ¸ãƒ¹ãƒº・ーヽヾヿãã‚ãƒã„ã…ã†ã‡ãˆã‰ãŠã‹ãŒããŽããã‘ã’ã“ã”ã•ã–ã—ã˜ã™ãšã›ãœããžãŸã ã¡ã¢ã£ã¤ã¥ã¦ã§ã¨ã©ãªã«ã¬ãã®ã¯ã°ã±ã²ã³ã´ãµã¶ã·ã¸ã¹ãºã»ã¼ã½ã¾ã¿ã‚€ã‚もゃやゅゆょよらりるれã‚ゎã‚ã‚ゑをんゔゕゖ゙゚゛゜ã‚ゞゟ亜哀挨愛曖悪æ¡åœ§æ‰±å®›åµå®‰æ¡ˆæš—以衣ä½å›²åŒ»ä¾å§”å¨ç‚ºç•胃尉異移èŽå‰æ¤…å½™æ„é•ç¶æ…°éºç·¯åŸŸè‚²å£±é€¸èŒ¨èЋ引å°å› å’½å§»å“¡é™¢æ·«é™°é£²éš éŸ»å³å®‡ç¾½é›¨å”„é¬±ç•æµ¦é‹é›²æ°¸æ³³è‹±æ˜ æ „å–¶è© å½±é‹è¡›æ˜“疫益液駅悦越è¬é–²å††å»¶æ²¿ç‚Žæ€¨å®´åª›æ´åœ’煙猿é 鉛塩演ç¸è‰¶æ±šçŽ‹å‡¹å¤®å¿œå¾€æŠ¼æ—ºæ¬§æ®´æ¡œç¿å¥¥æ¨ªå²¡å±‹å„„憶臆虞乙俺å¸éŸ³æ©æ¸©ç©ä¸‹åŒ–ç«åŠ å¯ä»®ä½•花佳価果河苛科"; var str = ""; for(var i = 0; i < n; i++) { str += chars[Math.floor(Math.random()*chars.length)]; } return str; } const flourishArray = ["★·.·´¯`·.·★ [[text]] ★·.·´¯`·.·★", "▁ ▂ ▄ ▅ ▆ ▇ █ [[text]] █ ▇ ▆ ▅ ▄ ▂ ▁", "°°°·.°·..·°¯°·._.· [[text]] ·._.·°¯°·.·° .·°°°", "¸,ø¤Âº°`°Âº¤Ã¸,¸¸,ø¤Âº° [[text]] °Âº¤Ã¸,¸¸,ø¤Âº°`°Âº¤Ã¸,¸", "ıllıllı [[text]] ıllıllı", "•?((¯°·._.• [[text]] •._.·°¯))؟•", "▌│█║▌║▌║ [[text]] ║▌║▌║█│▌", "׺°”˜`”°Âº× [[text]] ׺°”˜`”°Âº×", "•]••´Âº´•» [[text]] «•´Âº´••[•", "*•.¸♡ [[text]] ♡¸.•*", "╰☆☆ [[text]] ☆☆╮", ".•°¤*(¯`★´¯)*¤° [[text]] °¤*(¯´★`¯)*¤°•.", "(¯´•._.• [[text]] •._.•´¯)", "¸„.-•~¹°”ˆ˜¨ [[text]] ¨˜Ë†”°¹~•-.„¸", "░▒▓█ [[text]] █▓▒░", "░▒▓█►─═ [[text]] ═─◄█▓▒░", "★彡 [[text]] 彡★", "•´¯`•. [[text]] .•´¯`•", "§.•´¨'°÷•..× [[text]] ×,.•´¨'°÷•..§", "•°¯`•• [[text]] ••´¯°•", "(¯`*•.¸,¤°´✿.。.:* [[text]] *.:。.✿`°¤,¸.•*´¯)", "|!¤*'~``~'*¤!| [[text]] |!¤*'~``~'*¤!|", "•._.••´¯``•.¸¸.•` [[text]] `•.¸¸.•´´¯`••._.•", "¸„.-•~¹°”ˆ˜¨ [[text]] ¨˜Ë†”°¹~•-.„¸", "(¯´•._.• [[text]] •._.•´¯)", "••¤(`×[¤ [[text]] ¤]×´)¤••", "•´¯`•» [[text]] «•´¯`•", " .o0×X×0o. [[text]] .o0×X×0o.", "¤¸¸.•´¯`•¸¸.•..>> [[text]] <<..•.¸¸•´¯`•.¸¸¤", "—(••÷[ [[text]] ]÷••)—", "¸,ø¤Âº°`°Âº¤Ã¸,¸ [[text]] ¸,ø¤Âº°`°Âº¤Ã¸,¸", "`•.¸¸.•´´¯`••._.• [[text]] •._.••`¯´´•.¸¸.•`", ",-*' ^ '~*-.,_,.-*~ [[text]] ~*-.,_,.-*~' ^ '*-,", "`•.,¸¸,.•´¯ [[text]] ¯`•.,¸¸,.•´", "↤↤↤↤↤ [[text]] ↦↦↦↦↦", "➶➶➶➶➶ [[text]] ➷➷➷➷➷", "↫↫↫↫↫ [[text]] ↬↬↬↬↬", "·.¸¸.·♩♪♫ [[text]] ♫♪♩·.¸¸.·", "【。_。】 [[text]] 【。_。】", "]|I{•------» [[text]] «------•}I|[", "▀▄▀▄▀▄ [[text]] ▄▀▄▀▄▀", "(-_-) [[text]] (-_-)", "•´¯`•. [[text]] .•´¯`•", "-漫~*'¨¯¨'*·èˆž~ [[text]] ~舞*'¨¯¨'*·~漫-", "๑۞๑,¸¸,ø¤Âº°`°à¹‘۩ [[text]] ๑۩ ,¸¸,ø¤Âº°`°à¹‘۞๑", ".•°¤*(¯`★´¯)*¤° [[text]] °¤*(¯´★`¯)*¤°•.", "••.•´¯`•.•• [[text]] ••.•´¯`•.••", "¤¸¸.•´¯`•¸¸.•..>> [[text]] <<..•.¸¸•´¯`•.¸¸¤", "◦•●◉✿ [[text]] ✿◉●•◦", "╚»★«╝ [[text]] ╚»★«╝", "-·=»‡«=·- [[text]] -·=»‡«=·-", "∙∙·▫▫ᵒᴼᵒ▫â‚’â‚’▫ᵒᴼᵒ▫â‚’â‚’▫ᵒᴼᵒ [[text]] ᵒᴼᵒ▫â‚’â‚’▫ᵒᴼᵒ▫â‚’â‚’▫ᵒᴼᵒ▫▫·∙∙", "¸¸♬·¯·♩¸¸♪·¯·♫¸¸ [[text]] ¸¸♫·¯·♪¸¸♩·¯·♬¸¸", "ஜ۩۞۩ஜ [[text]] ஜ۩۞۩ஜ", "¤ (¯´☆✭.¸_)¤ [[text]] ¤(_¸.✭☆´¯) ¤", "(¯`·.¸¸.·´¯`·.¸¸.-> [[text]] <-.¸¸.·´¯`·.¸¸.·´¯)", "✿.。.:* ☆:**:. [[text]] .:**:.☆*.:。.✿", ".•♫•♬• [[text]] •♬•♫•.", "ღ(¯`◕‿◕´¯) ♫ ♪ ♫ [[text]] ♫ ♪ ♫ (¯`◕‿◕´¯)ღ", "«-(¯`v´¯)-« [[text]] »-(¯`v´¯)-»"]; function wrapInFlourish(text) { return flourishArray[Math.floor(Math.random()*flourishArray.length)].replace("[[text]]", text); } function wrapInSymbols(text, number) { return randomSymbols(number) +" "+ text +" "+ randomSymbols(number) } function firework(text) { return text.split("").join("҉")+ "҉"; } function weirdBox(text) { return text.replace(/([^\s])/g,"[̲̅$1]"); } function littleSparkles(text) { return "˜”*°•.˜”*°• "+text+" •°*”˜.•°*”˜"; } function kirbyHug(text) { return "(ã£◔◡◔)㣠♥ " + text + " ♥" } function dottyJoiner(text) { return "░" + text.split("").join("░") + "░"; } function wavyJoiner(text) { return "≋" + text.split("").join("≋") + "≋"; } function diametricAngleFrame(text) { return text.replace(/([^\s])/g,"『$1』"); } function thickBlockFramed(text) { return text.replace(/([^\s])/g,"【$1】"); } function applyCharMap(map, text) { let out = ""; for(let c of text.split("")) { if(map[c] !== undefined) out += map[c]; else if(map[c.toLowerCase()] !== undefined) out += map[c.toLowerCase()]; else out += c; } return out; } /* eslint-disable */ const futureAlienCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"á—©","b":"á—·","c":"á‘¢","d":"ᕲ","e":"ᘿ","f":"á–´","g":"ᘜ","h":"ᕼ","i":"á“°","j":"á’š","k":"á–½á¸","l":"á’ª","m":"ᘻ","n":"ᘉ","o":"á“","p":"ᕵ","q":"á•´","r":"á–‡","s":"S","t":"á–¶","u":"ᑘ","v":"áº","w":"ᘺ","x":"᙭","y":"á–»","z":"á—±","A":"á—©","B":"á—·","C":"á‘¢","D":"ᕲ","E":"ᘿ","F":"á–´","G":"ᘜ","H":"ᕼ","I":"á“°","J":"á’š","K":"á–½á¸","L":"á’ª","M":"ᘻ","N":"ᘉ","O":"á“","P":"ᕵ","Q":"á•´","R":"á–‡","S":"S","T":"á–¶","U":"ᑘ","V":"áº","W":"ᘺ","X":"᙭","Y":"á–»","Z":"á—±"}; const squiggle6CharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"ค","b":"๖","c":"¢","d":"໓","e":"Ä“","f":"f","g":"ງ","h":"h","i":"i","j":"ว","k":"k","l":"l","m":"๓","n":"ຖ","o":"à»","p":"p","q":"๑","r":"r","s":"Åž","t":"t","u":"น","v":"ง","w":"ຟ","x":"x","y":"ฯ","z":"ຊ","A":"ค","B":"๖","C":"¢","D":"໓","E":"Ä“","F":"f","G":"ງ","H":"h","I":"i","J":"ว","K":"k","L":"l","M":"๓","N":"ຖ","O":"à»","P":"p","Q":"๑","R":"r","S":"Åž","T":"t","U":"น","V":"ง","W":"ຟ","X":"x","Y":"ฯ","Z":"ຊ"}; const squiggle5CharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"Ä…","b":"ც","c":"ƈ","d":"É–","e":"É›","f":"Ê„","g":"É ","h":"ɧ","i":"ı","j":"Ê","k":"Æ™","l":"Æ–","m":"ɱ","n":"Å‹","o":"Æ¡","p":"℘","q":"Õ¦","r":"ཞ","s":"Ê‚","t":"ɬ","u":"ų","v":"Û·","w":"ῳ","x":"Ò³","y":"ყ","z":"Ê‘","A":"Ä…","B":"ც","C":"ƈ","D":"É–","E":"É›","F":"Ê„","G":"É ","H":"ɧ","I":"ı","J":"Ê","K":"Æ™","L":"Æ–","M":"ɱ","N":"Å‹","O":"Æ¡","P":"℘","Q":"Õ¦","R":"ཞ","S":"Ê‚","T":"ɬ","U":"ų","V":"Û·","W":"ῳ","X":"Ò³","Y":"ყ","Z":"Ê‘"}; const asianStyle2CharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"ム","b":"乃","c":"ᄃ","d":"り","e":"乇","f":"ï½·","g":"ム","h":"ã‚“","i":"ノ","j":"フ","k":"ズ","l":"レ","m":"ï¾¶","n":"刀","o":"ã®","p":"ï½±","q":"ã‚","r":"å°º","s":"丂","t":"ï½²","u":"ã²","v":"√","w":"W","x":"ï¾’","y":"リ","z":"ä¹™","A":"ム","B":"乃","C":"ᄃ","D":"り","E":"乇","F":"ï½·","G":"ム","H":"ã‚“","I":"ノ","J":"フ","K":"ズ","L":"レ","M":"ï¾¶","N":"刀","O":"ã®","P":"ï½±","Q":"ã‚","R":"å°º","S":"丂","T":"ï½²","U":"ã²","V":"√","W":"W","X":"ï¾’","Y":"リ","Z":"ä¹™"}; const asianStyleCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"å‚","b":"乃","c":"匚","d":"á—ª","e":"乇","f":"åƒ","g":"Ꮆ","h":"å„","i":"丨","j":"フ","k":"Òœ","l":"ã„¥","m":"爪","n":"å‡ ","o":"ã„–","p":"å©","q":"ÉŠ","r":"å°º","s":"丂","t":"ã„’","u":"ã„©","v":"á¯","w":"å±±","x":"乂","y":"ㄚ","z":"ä¹™","A":"å‚","B":"乃","C":"匚","D":"á—ª","E":"乇","F":"åƒ","G":"Ꮆ","H":"å„","I":"丨","J":"フ","K":"Òœ","L":"ã„¥","M":"爪","N":"å‡ ","O":"ã„–","P":"å©","Q":"ÉŠ","R":"å°º","S":"丂","T":"ã„’","U":"ã„©","V":"á¯","W":"å±±","X":"乂","Y":"ㄚ","Z":"ä¹™"}; const squaresCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"🄰","b":"🄱","c":"🄲","d":"🄳","e":"🄴","f":"🄵","g":"🄶","h":"🄷","i":"🄸","j":"🄹","k":"🄺","l":"🄻","m":"🄼","n":"🄽","o":"🄾","p":"🄿","q":"🅀","r":"ðŸ…","s":"🅂","t":"🅃","u":"🅄","v":"🅅","w":"🅆","x":"🅇","y":"🅈","z":"🅉","A":"🄰","B":"🄱","C":"🄲","D":"🄳","E":"🄴","F":"🄵","G":"🄶","H":"🄷","I":"🄸","J":"🄹","K":"🄺","L":"🄻","M":"🄼","N":"🄽","O":"🄾","P":"🄿","Q":"🅀","R":"ðŸ…","S":"🅂","T":"🅃","U":"🅄","V":"🅅","W":"🅆","X":"🅇","Y":"🅈","Z":"🅉"}; const squiggle4CharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"á—","b":"á°","c":"áˆ","d":"Ꮄ","e":"á‹","f":"Ꭶ","g":"Ꮆ","h":"á‚","i":"Ꭵ","j":"á ","k":"á¦","l":"á","m":"Ꮇ","n":"á","o":"Ꭷ","p":"Ꭾ","q":"Ꭴ","r":"á’","s":"á•","t":"á–","u":"á¬","v":"á‰","w":"á‡","x":"ጀ","y":"Ꭹ","z":"áš","A":"á—","B":"á°","C":"áˆ","D":"Ꮄ","E":"á‹","F":"Ꭶ","G":"Ꮆ","H":"á‚","I":"Ꭵ","J":"á ","K":"á¦","L":"á","M":"Ꮇ","N":"á","O":"Ꭷ","P":"Ꭾ","Q":"Ꭴ","R":"á’","S":"á•","T":"á–","U":"á¬","V":"á‰","W":"á‡","X":"ጀ","Y":"Ꭹ","Z":"áš"}; const neonCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"á—©","b":"á—·","c":"á‘•","d":"á—ª","e":"E","f":"á–´","g":"G","h":"ᕼ","i":"I","j":"á’","k":"K","l":"á’ª","m":"á—°","n":"ᑎ","o":"O","p":"á‘","q":"á‘«","r":"á–‡","s":"ᔕ","t":"T","u":"ᑌ","v":"á¯","w":"á—¯","x":"᙭","y":"Y","z":"ᘔ","A":"á—©","B":"á—·","C":"á‘•","D":"á—ª","E":"E","F":"á–´","G":"G","H":"ᕼ","I":"I","J":"á’","K":"K","L":"á’ª","M":"á—°","N":"ᑎ","O":"O","P":"á‘","Q":"á‘«","R":"á–‡","S":"ᔕ","T":"T","U":"ᑌ","V":"á¯","W":"á—¯","X":"᙭","Y":"Y","Z":"ᘔ"}; const squiggle3CharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"ÇŸ","b":"É®","c":"ƈ","d":"É–","e":"É›","f":"Ê„","g":"É¢","h":"ɦ","i":"ɨ","j":"Ê","k":"Ó„","l":"ÊŸ","m":"Ê","n":"Õ¼","o":"Ö…","p":"Ö„","q":"Õ¦","r":"Ê€","s":"Ö†","t":"ȶ","u":"ÊŠ","v":"Ê‹","w":"Õ¡","x":"Ó¼","y":"Ê","z":"Ê","A":"ÇŸ","B":"É®","C":"ƈ","D":"É–","E":"É›","F":"Ê„","G":"É¢","H":"ɦ","I":"ɨ","J":"Ê","K":"Ó„","L":"ÊŸ","M":"Ê","N":"Õ¼","O":"Ö…","P":"Ö„","Q":"Õ¦","R":"Ê€","S":"Ö†","T":"ȶ","U":"ÊŠ","V":"Ê‹","W":"Õ¡","X":"Ó¼","Y":"Ê","Z":"Ê"}; const monospaceCharMap = {"0":"ðŸ¶","1":"ðŸ·","2":"ðŸ¸","3":"ðŸ¹","4":"ðŸº","5":"ðŸ»","6":"ðŸ¼","7":"ðŸ½","8":"ðŸ¾","9":"ðŸ¿","a":"ðšŠ","b":"ðš‹","c":"ðšŒ","d":"ðš","e":"ðšŽ","f":"ðš","g":"ðš","h":"ðš‘","i":"ðš’","j":"ðš“","k":"ðš”","l":"ðš•","m":"ðš–","n":"ðš—","o":"ðš˜","p":"ðš™","q":"ðšš","r":"ðš›","s":"ðšœ","t":"ðš","u":"ðšž","v":"ðšŸ","w":"ðš ","x":"ðš¡","y":"ðš¢","z":"ðš£","A":"ð™°","B":"ð™±","C":"ð™²","D":"ð™³","E":"ð™´","F":"ð™µ","G":"ð™¶","H":"ð™·","I":"ð™¸","J":"ð™¹","K":"ð™º","L":"ð™»","M":"ð™¼","N":"ð™½","O":"ð™¾","P":"ð™¿","Q":"ðš€","R":"ðš","S":"ðš‚","T":"ðšƒ","U":"ðš„","V":"ðš…","W":"ðš†","X":"ðš‡","Y":"ðšˆ","Z":"ðš‰"}; const boldItalicCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"ð™–","b":"ð™—","c":"ð™˜","d":"ð™™","e":"ð™š","f":"ð™›","g":"ð™œ","h":"ð™","i":"ð™ž","j":"ð™Ÿ","k":"ð™ ","l":"ð™¡","m":"ð™¢","n":"ð™£","o":"ð™¤","p":"ð™¥","q":"ð™¦","r":"ð™§","s":"ð™¨","t":"ð™©","u":"ð™ª","v":"ð™«","w":"ð™¬","x":"ð™","y":"ð™®","z":"ð™¯","A":"ð˜¼","B":"ð˜½","C":"ð˜¾","D":"ð˜¿","E":"ð™€","F":"ð™","G":"ð™‚","H":"ð™ƒ","I":"ð™„","J":"ð™…","K":"ð™†","L":"ð™‡","M":"ð™ˆ","N":"ð™‰","O":"ð™Š","P":"ð™‹","Q":"ð™Œ","R":"ð™","S":"ð™Ž","T":"ð™","U":"ð™","V":"ð™‘","W":"ð™’","X":"ð™“","Y":"ð™”","Z":"ð™•"}; const boldCharMap = {"0":"ðŸŽ","1":"ðŸ","2":"ðŸ","3":"ðŸ‘","4":"ðŸ’","5":"ðŸ“","6":"ðŸ”","7":"ðŸ•","8":"ðŸ–","9":"ðŸ—","a":"ðš","b":"ð›","c":"ðœ","d":"ð","e":"ðž","f":"ðŸ","g":"ð ","h":"ð¡","i":"ð¢","j":"ð£","k":"ð¤","l":"ð¥","m":"ð¦","n":"ð§","o":"ð¨","p":"ð©","q":"ðª","r":"ð«","s":"ð¬","t":"ð","u":"ð®","v":"ð¯","w":"ð°","x":"ð±","y":"ð²","z":"ð³","A":"ð€","B":"ð","C":"ð‚","D":"ðƒ","E":"ð„","F":"ð…","G":"ð†","H":"ð‡","I":"ðˆ","J":"ð‰","K":"ðŠ","L":"ð‹","M":"ðŒ","N":"ð","O":"ðŽ","P":"ð","Q":"ð","R":"ð‘","S":"ð’","T":"ð“","U":"ð”","V":"ð•","W":"ð–","X":"ð—","Y":"ð˜","Z":"ð™"}; const italicCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"ð˜¢","b":"ð˜£","c":"ð˜¤","d":"ð˜¥","e":"ð˜¦","f":"ð˜§","g":"ð˜¨","h":"ð˜©","i":"ð˜ª","j":"ð˜«","k":"ð˜¬","l":"ð˜","m":"ð˜®","n":"ð˜¯","o":"ð˜°","p":"ð˜±","q":"ð˜²","r":"ð˜³","s":"ð˜´","t":"ð˜µ","u":"ð˜¶","v":"ð˜·","w":"ð˜¸","x":"ð˜¹","y":"ð˜º","z":"ð˜»","A":"ð˜ˆ","B":"ð˜‰","C":"ð˜Š","D":"ð˜‹","E":"ð˜Œ","F":"ð˜","G":"ð˜Ž","H":"ð˜","I":"ð˜","J":"ð˜‘","K":"ð˜’","L":"ð˜“","M":"ð˜”","N":"ð˜•","O":"ð˜–","P":"ð˜—","Q":"ð˜˜","R":"ð˜™","S":"ð˜š","T":"ð˜›","U":"ð˜œ","V":"ð˜","W":"ð˜ž","X":"ð˜Ÿ","Y":"ð˜ ","Z":"ð˜¡"}; const squiggle2CharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"α","b":"Ⴆ","c":"ƈ","d":"Ôƒ","e":"Ò½","f":"Ï","g":"É ","h":"Ô‹","i":"ι","j":"Ê","k":"Æ™","l":"Ê…","m":"ɱ","n":"ɳ","o":"σ","p":"Ï","q":"Ï™","r":"ɾ","s":"Ê‚","t":"Æš","u":"Ï…","v":"Ê‹","w":"ɯ","x":"x","y":"ყ","z":"È¥","A":"A","B":"B","C":"C","D":"D","E":"E","F":"F","G":"G","H":"H","I":"I","J":"J","K":"K","L":"L","M":"M","N":"N","O":"O","P":"P","Q":"Q","R":"R","S":"S","T":"T","U":"U","V":"V","W":"W","X":"X","Y":"Y","Z":"Z"}; const currencyCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"₳","b":"฿","c":"₵","d":"Ä","e":"Ɇ","f":"₣","g":"₲","h":"â±§","i":"Å‚","j":"J","k":"₭","l":"â± ","m":"₥","n":"₦","o":"Ø","p":"₱","q":"Q","r":"Ɽ","s":"₴","t":"₮","u":"É„","v":"V","w":"₩","x":"Ó¾","y":"ÉŽ","z":"Ⱬ","A":"₳","B":"฿","C":"₵","D":"Ä","E":"Ɇ","F":"₣","G":"₲","H":"â±§","I":"Å‚","J":"J","K":"₭","L":"â± ","M":"₥","N":"₦","O":"Ø","P":"₱","Q":"Q","R":"Ɽ","S":"₴","T":"₮","U":"É„","V":"V","W":"₩","X":"Ó¾","Y":"ÉŽ","Z":"Ⱬ"}; const symbolsCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"Ã¥","b":"ß","c":"¢","d":"Ã","e":"ê","f":"£","g":"g","h":"h","i":"ï","j":"j","k":"k","l":"l","m":"m","n":"ñ","o":"ð","p":"þ","q":"q","r":"r","s":"§","t":"†","u":"µ","v":"v","w":"w","x":"x","y":"¥","z":"z","A":"Ä","B":"ß","C":"Ç","D":"Ã","E":"È","F":"£","G":"G","H":"H","I":"ÃŒ","J":"J","K":"K","L":"L","M":"M","N":"ñ","O":"Ö","P":"þ","Q":"Q","R":"R","S":"§","T":"†","U":"Ú","V":"V","W":"W","X":"×","Y":"¥","Z":"Z"}; const greekCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"α","b":"в","c":"¢","d":"∂","e":"Ñ”","f":"Æ’","g":"g","h":"н","i":"ι","j":"× ","k":"к","l":"â„“","m":"м","n":"η","o":"σ","p":"Ï","q":"q","r":"Ñ","s":"Ñ•","t":"Ñ‚","u":"Ï…","v":"ν","w":"ω","x":"χ","y":"у","z":"z","A":"α","B":"в","C":"¢","D":"∂","E":"Ñ”","F":"Æ’","G":"g","H":"н","I":"ι","J":"× ","K":"к","L":"â„“","M":"м","N":"η","O":"σ","P":"Ï","Q":"q","R":"Ñ","S":"Ñ•","T":"Ñ‚","U":"Ï…","V":"ν","W":"ω","X":"χ","Y":"у","Z":"z"}; const bentTextCharMap = {"0":"⊘","1":"ðŸ™","2":"Ï©","3":"Ó ","4":"५","5":"Ƽ","6":"Ϭ","7":"7","8":"ðŸ ","9":"९","a":"Ä…","b":"Ò","c":"ç","d":"Õª","e":"Ò½","f":"Æ’","g":"Ö","h":"Õ°","i":"ì","j":"Ê","k":"ÒŸ","l":"Ó€","m":"Ê","n":"Õ²","o":"Ö…","p":"Ö„","q":"Õ¦","r":"ɾ","s":"Ê‚","t":"Õ§","u":"Õ´","v":"ѵ","w":"Õ¡","x":"×","y":"Õ¾","z":"Õ€","A":"Ⱥ","B":"β","C":"↻","D":"Ꭰ","E":"Æ","F":"Æ‘","G":"Æ“","H":"Ƕ","I":"į","J":"Ù„","K":"Ò ","L":"êˆ","M":"â±®","N":"áž ","O":"à¶§","P":"φ","Q":"Ò¨","R":"འ","S":"Ïš","T":"Ͳ","U":"Ô±","V":"Ỽ","W":"à°š","X":"ჯ","Y":"Ó‹","Z":"É€"}; const upperAnglesCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"Λ","b":"B","c":"ᄃ","d":"D","e":"Σ","f":"F","g":"G","h":"Ή","i":"I","j":"J","k":"K","l":"á„‚","m":"M","n":"П","o":"Ó¨","p":"P","q":"Q","r":"Я","s":"Ƨ","t":"Ƭ","u":"Ц","v":"V","w":"Щ","x":"X","y":"Y","z":"Z","A":"Λ","B":"B","C":"ᄃ","D":"D","E":"Σ","F":"F","G":"G","H":"Ή","I":"I","J":"J","K":"K","L":"á„‚","M":"M","N":"П","O":"Ó¨","P":"P","Q":"Q","R":"Я","S":"Ƨ","T":"Ƭ","U":"Ц","V":"V","W":"Щ","X":"X","Y":"Y","Z":"Z"}; const subscriptCharMap = {"0":"₀","1":"₁","2":"₂","3":"₃","4":"₄","5":"₅","6":"₆","7":"₇","8":"₈","9":"₉","a":"â‚","b":"b","c":"c","d":"d","e":"â‚‘","f":"f","g":"g","h":"â‚•","i":"áµ¢","j":"â±¼","k":"â‚–","l":"â‚—","m":"ₘ","n":"â‚™","o":"â‚’","p":"ₚ","q":"q","r":"áµ£","s":"â‚›","t":"ₜ","u":"ᵤ","v":"áµ¥","w":"w","x":"â‚“","y":"y","z":"z","A":"â‚","B":"B","C":"C","D":"D","E":"â‚‘","F":"F","G":"G","H":"â‚•","I":"áµ¢","J":"â±¼","K":"â‚–","L":"â‚—","M":"ₘ","N":"â‚™","O":"â‚’","P":"ₚ","Q":"Q","R":"áµ£","S":"â‚›","T":"ₜ","U":"ᵤ","V":"áµ¥","W":"W","X":"â‚“","Y":"Y","Z":"Z","+":"₊","-":"₋","=":"₌","(":"₍",")":"₎"}; const superscriptCharMap = {"0":"⁰","1":"¹","2":"²","3":"³","4":"⁴","5":"⁵","6":"⁶","7":"⁷","8":"⁸","9":"⁹","a":"ᵃ","b":"ᵇ","c":"á¶œ","d":"ᵈ","e":"ᵉ","f":"á¶ ","g":"áµ","h":"ʰ","i":"â±","j":"ʲ","k":"áµ","l":"Ë¡","m":"áµ","n":"â¿","o":"áµ’","p":"áµ–","q":"q","r":"ʳ","s":"Ë¢","t":"áµ—","u":"ᵘ","v":"áµ›","w":"Ê·","x":"Ë£","y":"ʸ","z":"á¶»","A":"á´¬","B":"á´®","C":"á¶œ","D":"á´°","E":"á´±","F":"á¶ ","G":"á´³","H":"á´´","I":"á´µ","J":"á´¶","K":"á´·","L":"á´¸","M":"á´¹","N":"á´º","O":"á´¼","P":"á´¾","Q":"Q","R":"á´¿","S":"Ë¢","T":"áµ€","U":"áµ","V":"â±½","W":"ᵂ","X":"Ë£","Y":"ʸ","Z":"á¶»","+":"⁺","-":"⁻","=":"⁼","(":"⁽",")":"⁾"}; const squiggleCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"ค","b":"๒","c":"Ï‚","d":"๔","e":"Ñ”","f":"Ŧ","g":"ï»®","h":"Ñ’","i":"เ","j":"ן","k":"к","l":"É","m":"๓","n":"ภ","o":"๏","p":"×§","q":"ợ","r":"г","s":"ร","t":"Õ‡","u":"ย","v":"ש","w":"ฬ","x":"×","y":"×¥","z":"Õ¹","A":"ค","B":"๒","C":"Ï‚","D":"๔","E":"Ñ”","F":"Ŧ","G":"ï»®","H":"Ñ’","I":"เ","J":"ן","K":"к","L":"É","M":"๓","N":"ภ","O":"๏","P":"×§","Q":"ợ","R":"г","S":"ร","T":"Õ‡","U":"ย","V":"ש","W":"ฬ","X":"×","Y":"×¥","Z":"Õ¹"}; const doubleStruckCharMap = {"0":"ðŸ˜","1":"ðŸ™","2":"ðŸš","3":"ðŸ›","4":"ðŸœ","5":"ðŸ","6":"ðŸž","7":"ðŸŸ","8":"ðŸ ","9":"ðŸ¡","a":"ð•’","b":"ð•“","c":"ð•”","d":"ð••","e":"ð•–","f":"ð•—","g":"ð•˜","h":"ð•™","i":"ð•š","j":"ð•›","k":"ð•œ","l":"ð•","m":"ð•ž","n":"ð•Ÿ","o":"ð• ","p":"ð•¡","q":"ð•¢","r":"ð•£","s":"ð•¤","t":"ð•¥","u":"ð•¦","v":"ð•§","w":"ð•¨","x":"ð•©","y":"ð•ª","z":"ð•«","A":"ð”¸","B":"ð”¹","C":"â„‚","D":"ð”»","E":"ð”¼","F":"ð”½","G":"ð”¾","H":"â„","I":"ð•€","J":"ð•","K":"ð•‚","L":"ð•ƒ","M":"ð•„","N":"â„•","O":"ð•†","P":"â„™","Q":"ℚ","R":"â„","S":"ð•Š","T":"ð•‹","U":"ð•Œ","V":"ð•","W":"ð•Ž","X":"ð•","Y":"ð•","Z":"ℤ"}; const medievalCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"ð–†","b":"ð–‡","c":"ð–ˆ","d":"ð–‰","e":"ð–Š","f":"ð–‹","g":"ð–Œ","h":"ð–","i":"ð–Ž","j":"ð–","k":"ð–","l":"ð–‘","m":"ð–’","n":"ð–“","o":"ð–”","p":"ð–•","q":"ð––","r":"ð–—","s":"ð–˜","t":"ð–™","u":"ð–š","v":"ð–›","w":"ð–œ","x":"ð–","y":"ð–ž","z":"ð–Ÿ","A":"ð•¬","B":"ð•","C":"ð•®","D":"ð•¯","E":"ð•°","F":"ð•±","G":"ð•²","H":"ð•³","I":"ð•´","J":"ð•µ","K":"ð•¶","L":"ð•·","M":"ð•¸","N":"ð•¹","O":"ð•º","P":"ð•»","Q":"ð•¼","R":"ð•½","S":"ð•¾","T":"ð•¿","U":"ð–€","V":"ð–","W":"ð–‚","X":"ð–ƒ","Y":"ð–„","Z":"ð–…"}; const invertedSquaresCharMap = {q:"🆀",w:"🆆",e:"🅴",r:"ðŸ†",t:"🆃",y:"🆈",u:"🆄",i:"🅸",o:"🅾",p:"🅿",a:"🅰",s:"🆂",d:"🅳",f:"🅵",g:"🅶",h:"🅷",j:"🅹",k:"🅺",l:"🅻",z:"🆉",x:"🆇",c:"🅲",v:"🆅",b:"🅱",n:"🅽",m:"🅼"} const cursiveCharMap = {"0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","a":"ð“ª","b":"ð“«","c":"ð“¬","d":"ð“","e":"ð“®","f":"ð“¯","g":"ð“°","h":"ð“±","i":"ð“²","j":"ð“³","k":"ð“´","l":"ð“µ","m":"ð“¶","n":"ð“·","o":"ð“¸","p":"ð“¹","q":"ð“º","r":"ð“»","s":"ð“¼","t":"ð“½","u":"ð“¾","v":"ð“¿","w":"ð”€","x":"ð”","y":"ð”‚","z":"ð”ƒ","A":"ð“","B":"ð“‘","C":"ð“’","D":"ð““","E":"ð“”","F":"ð“•","G":"ð“–","H":"ð“—","I":"ð“˜","J":"ð“™","K":"ð“š","L":"ð“›","M":"ð“œ","N":"ð“","O":"ð“ž","P":"ð“Ÿ","Q":"ð“ ","R":"ð“¡","S":"ð“¢","T":"ð“£","U":"ð“¤","V":"ð“¥","W":"ð“¦","X":"ð“§","Y":"ð“¨","Z":"ð“©"}; const oldEnglishCharMap = {"a":"ð”ž","b":"ð”Ÿ","c":"ð” ","d":"ð”¡","e":"ð”¢","f":"ð”£","g":"ð”¤","h":"ð”¥","i":"ð”¦","j":"ð”§","k":"ð”¨","l":"ð”©","m":"ð”ª","n":"ð”«","o":"ð”¬","p":"ð”","q":"ð”®","r":"ð”¯","s":"ð”°","t":"ð”±","u":"ð”²","v":"ð”³","w":"ð”´","x":"ð”µ","y":"ð”¶","z":"ð”·","A":"ð”„","B":"ð”…","C":"â„","D":"ð”‡","E":"ð”ˆ","F":"ð”‰","G":"ð”Š","H":"ℌ","I":"â„‘","J":"ð”","K":"ð”Ž","L":"ð”","M":"ð”","N":"ð”‘","O":"ð”’","P":"ð”“","Q":"ð””","R":"ℜ","S":"ð”–","T":"ð”—","U":"ð”˜","V":"ð”™","W":"ð”š","X":"ð”›","Y":"ð”œ","Z":"ℨ"}; const wideTextCharMap = {"`" : "`","1" : "1","2" : "ï¼’","3" : "3","4" : "ï¼”","5" : "5","6" : "ï¼–","7" : "ï¼—","8" : "8","9" : "ï¼™","0" : "ï¼","-" : "-","=" : "=","~" : "~","!" : "!","@" : "@","#" : "#","$" : "$","%" : "%","^" : "^","&" : "&","*" : "*","(" : "(",")" : ")","_" : "_","+" : "+","q" : "q","w" : "ï½—","e" : "ï½…","r" : "ï½’","t" : "ï½”","y" : "ï½™","u" : "u","i" : "i","o" : "ï½","p" : "ï½","[" : "[","]" : "]","\\" : "\\","Q" : "ï¼±","W" : "ï¼·","E" : "ï¼¥","R" : "ï¼²","T" : "ï¼´","Y" : "ï¼¹","U" : "ï¼µ","I" : "I","O" : "O","P" : "ï¼°","{" : "{","}" : "}","|" : "|","a" : "ï½","s" : "s","d" : "d","f" : "f","g" : "g","h" : "h","j" : "j","k" : "k","l" : "l",";" : ";","'" : "'","A" : "A","S" : "ï¼³","D" : "D","F" : "F","G" : "ï¼§","H" : "H","J" : "J","K" : "K","L" : "L",":" : ":","\"" : "\"","z" : "z","x" : "x","c" : "c","v" : "ï½–","b" : "b","n" : "n","m" : "ï½","," : ",","." : ".","/" : "/","Z" : "Z","X" : "X","C" : "ï¼£","V" : "ï¼¶","B" : "ï¼¢","N" : "ï¼®","M" : "ï¼","<" : "<",">" : ">","?" : "?"} // Lunicode.js // from lunicode.com // on GitHub: https://github.com/combatwombat/Lunicode.js // Copyright © 2012 Robert Gerlach - robsite.net function Lunicode(){this.tools={flip:{init:function(){for(i in this.map)this.map[this.map[i]]=i},encode:function(i){for(var r,t=[],o=0,h=i.length;h>o;o++)r=i.charAt(o),o>0&&("̤"==r||"̗"==r||"̖"==r||"̮"==r)?(r=this.map[i.charAt(o-1)+r],t.pop()):(r=this.map[r],"undefined"==typeof r&&(r=i.charAt(o))),t.push(r);return t.reverse().join("")},decode:function(i){for(var r,t=[],o=0,h=i.length;h>o;o++)r=i.charAt(o),o>0&&("̤"==r||"̗"==r||"̖"==r||"̮"==r)?(r=this.map[i.charAt(o-1)+r],t.pop()):(r=this.map[r],"undefined"==typeof r&&(r=i.charAt(o))),t.push(r);return t.reverse().join("")},map:{a:"É",b:"q",c:"É”",d:"p",e:"Ç",f:"ÉŸ",g:"É“",h:"É¥",i:"ı",j:"ɾ",k:"Êž",l:"l",m:"ɯ",n:"u",r:"ɹ",t:"ʇ",v:"ÊŒ",w:"Ê",y:"ÊŽ",A:"∀",B:"á™ ",C:"Ɔ",D:"á—¡",E:"ÆŽ",F:"Ⅎ",G:"⅁",J:"Å¿",K:"⋊",L:"˥",M:"W",P:"Ô€",Q:"ÎŒ",R:"á´š",T:"⊥",U:"∩",V:"Λ",Y:"⅄",1:"⇂",2:"á„…",3:"Æ",4:"ã„£",5:"ÞŽ",6:"9",7:"ã„¥","&":"⅋",".":"˙",'"':"„",";":"؛","[":"]","(":")","{":"}","?":"¿","!":"¡","'":",","<":">","‾":"_","¯":"_","‿":"⁀","⁅":"⁆","∴":"∵","\r":"\n","ß":"á™ ","̈":"̤","ä":"É̤","ö":"o̤","ü":"n̤","Ä":"∀̤","Ö":"O̤","Ü":"∩̤","´":" ̗","é":"Ç̗","á":"É̗","ó":"o̗","ú":"n̗","É":"ÆŽ̗","Ã":"∀̗","Ó":"O̗","Ú":"∩̗","`":" ̖","è":"Ç̖","à ":"É̖","ò":"o̖","ù":"n̖","È":"ÆŽ̖","À":"∀̖","Ã’":"O̖","Ù":"∩̖","^":" ̮","ê":"Ç̮","â":"É̮","ô":"o̮","û":"n̮","Ê":"ÆŽ̮","Â":"∀̮","Ô":"O̮","Û":"∩̮"}},mirror:{init:function(){for(i in this.map)this.map[this.map[i]]=i},encode:function(i){for(var r,t=[],o=[],h=0,n=i.length;n>h;h++)r=i.charAt(h),h>0&&("̈"==r||"̀"==r||"́"==r||"̂"==r)?(r=this.map[i.charAt(h-1)+r],t.pop()):(r=this.map[r],"undefined"==typeof r&&(r=i.charAt(h))),"\n"==r?(o.push(t.reverse().join("")),t=[]):t.push(r);return o.push(t.reverse().join("")),o.join("\n")},decode:function(i){for(var r,t=[],o=[],h=0,n=i.length;n>h;h++)r=i.charAt(h),h>0&&("̈"==r||"̀"==r||"́"==r||"̂"==r)?(r=this.map[i.charAt(h-1)+r],t.pop()):(r=this.map[r],"undefined"==typeof r&&(r=i.charAt(h))),"\n"==r?(o.push(t.reverse().join("")),t=[]):t.push(r);return o.push(t.reverse().join("")),o.join("\n")},map:{a:"É’",b:"d",c:"É”",e:"ɘ",f:"Ꮈ",g:"Ç«",h:"Êœ",j:"êž",k:"Êž",l:"|",n:"á´Ž",p:"q",r:"É¿",s:"ê™…",t:"Æš",y:"Ê",z:"ƹ",B:"á™ ",C:"Ɔ",D:"á—¡",E:"ÆŽ",F:"ꟻ",G:"Ꭾ",J:"Ⴑ",K:"⋊",L:"⅃",N:"Ͷ",P:"ꟼ",Q:"Ọ",R:"Я",S:"Ꙅ",Z:"Ƹ",1:"",2:"",3:"",4:"",5:"",6:"",7:"","&":"",";":"","[":"]","(":")","{":"}","?":"⸮","<":">","ä":"É’̈","ß":"á™ ","´":"`","é":"ɘ̀","á":"É’̀","ó":"ò","ú":"ù","É":"ÆŽ̀","Ã":"À","Ó":"Ã’","Ú":"Ù","`":"´","è":"ɘ́","à ":"É’́","È":"ÆŽ́","ê":"ɘ̂","â":"É’̂","Ê":"ÆŽ̂","Ø":"á´“","ø":"á´“"}},creepify:{init:function(){for(var i=768;789>=i;i++)this.diacriticsTop.push(String.fromCharCode(i));for(var i=790;819>=i;i++)794!=i&&795!=i&&this.diacriticsBottom.push(String.fromCharCode(i));this.diacriticsTop.push(String.fromCharCode(794)),this.diacriticsTop.push(String.fromCharCode(795));for(var i=820;824>=i;i++)this.diacriticsMiddle.push(String.fromCharCode(i));for(var i=825;828>=i;i++)this.diacriticsBottom.push(String.fromCharCode(i));for(var i=829;836>=i;i++)this.diacriticsTop.push(String.fromCharCode(i));this.diacriticsTop.push(String.fromCharCode(836)),this.diacriticsBottom.push(String.fromCharCode(837)),this.diacriticsTop.push(String.fromCharCode(838)),this.diacriticsBottom.push(String.fromCharCode(839)),this.diacriticsBottom.push(String.fromCharCode(840)),this.diacriticsBottom.push(String.fromCharCode(841)),this.diacriticsTop.push(String.fromCharCode(842)),this.diacriticsTop.push(String.fromCharCode(843)),this.diacriticsTop.push(String.fromCharCode(844)),this.diacriticsBottom.push(String.fromCharCode(845)),this.diacriticsBottom.push(String.fromCharCode(846)),this.diacriticsTop.push(String.fromCharCode(848)),this.diacriticsTop.push(String.fromCharCode(849)),this.diacriticsTop.push(String.fromCharCode(850)),this.diacriticsBottom.push(String.fromCharCode(851)),this.diacriticsBottom.push(String.fromCharCode(852)),this.diacriticsBottom.push(String.fromCharCode(853)),this.diacriticsBottom.push(String.fromCharCode(854)),this.diacriticsTop.push(String.fromCharCode(855)),this.diacriticsTop.push(String.fromCharCode(856)),this.diacriticsBottom.push(String.fromCharCode(857)),this.diacriticsBottom.push(String.fromCharCode(858)),this.diacriticsTop.push(String.fromCharCode(859)),this.diacriticsBottom.push(String.fromCharCode(860)),this.diacriticsTop.push(String.fromCharCode(861)),this.diacriticsTop.push(String.fromCharCode(861)),this.diacriticsBottom.push(String.fromCharCode(863)),this.diacriticsTop.push(String.fromCharCode(864)),this.diacriticsTop.push(String.fromCharCode(865))},encode:function(r){var t,o="";for(i in r){if(t=r[i],this.options.middle&&(t+=this.diacriticsMiddle[Math.floor(Math.random()*this.diacriticsMiddle.length)]),this.options.top)for(var h=this.diacriticsTop.length-1,n=0,a=this.options.maxHeight-Math.random()*(this.options.randomization/100*this.options.maxHeight);a>n;n++)t+=this.diacriticsTop[Math.floor(Math.random()*h)];if(this.options.bottom)for(var s=this.diacriticsBottom.length-1,n=0,a=this.options.maxHeight-Math.random()*(this.options.randomization/100*this.options.maxHeight);a>n;n++)t+=this.diacriticsBottom[Math.floor(Math.random()*s)];o+=t}return o},decode:function(r){var t,o="";for(i in r)t=r[i].charCodeAt(0),(768>t||t>865)&&(o+=r[i]);return o},diacriticsTop:[],diacriticsMiddle:[],diacriticsBottom:[],options:{top:!0,middle:!0,bottom:!0,maxHeight:15,randomization:100}},bubbles:{init:function(){for(var i=49;57>=i;i++)this.map[String.fromCharCode(i)]=String.fromCharCode(i+9263);this.map[0]="⓪";for(var i=65;90>=i;i++)this.map[String.fromCharCode(i)]=String.fromCharCode(i+9333);for(var i=97;122>=i;i++)this.map[String.fromCharCode(i)]=String.fromCharCode(i+9327);for(i in this.map)this.mapInverse[this.map[i]]=i},encode:function(r){var t,o="",h=!0;for(i in r)t=this.map[r[i]],"undefined"==typeof t&&(r[i].charCodeAt(0)>=33?(t=r[i]+String.fromCharCode(8413),h||(t=String.fromCharCode(8239)+String.fromCharCode(160)+String.fromCharCode(160)+String.fromCharCode(8239)+t)):t=r[i]),o+=t,h="\n"==t;return o},decode:function(r){var t,o="",h="";for(i in r)t=this.mapInverse[r[i]],o+="undefined"==typeof t?r[i]:t;for(i in o)t=o[i].charCodeAt(0),160!=t&&8239!=t&&8413!=t&&(h+=o[i]);return h},map:{},mapInverse:{}},squares:{init:function(){},encode:function(r){var t,o="",h=!0;for(i in r)r[i].charCodeAt(0)>=33?(t=r[i]+String.fromCharCode(8414),h||(t=String.fromCharCode(8239)+String.fromCharCode(160)+String.fromCharCode(160)+String.fromCharCode(8239)+t)):t=r[i],o+=t,h="\n"==t;return o},decode:function(r){var t,o="";for(i in r)t=r[i].charCodeAt(0),160!=t&&8239!=t&&8414!=t&&(o+=r[i]);return o}},roundsquares:{init:function(){},encode:function(r){var t,o="",h=!0;for(i in r)r[i].charCodeAt(0)>=33?(t=r[i]+String.fromCharCode(8419),h||(t=String.fromCharCode(160)+String.fromCharCode(160)+String.fromCharCode(160)+t)):t=r[i],o+=t,h="\n"==t;return o},decode:function(r){var t,o="";for(i in r)t=r[i].charCodeAt(0),160!=t&&8239!=t&&8419!=t&&(o+=r[i]);return o}},bent:{init:function(){for(i in this.map)this.map[this.map[i]]=i},encode:function(i){for(var r,t="",o=0,h=i.length;h>o;o++)r=this.map[i.charAt(o)],"undefined"==typeof r&&(r=i.charAt(o)),t+=r;return t},decode:function(i){for(var r,t="",o=0,h=i.length;h>o;o++)r=this.map[i.charAt(o)],"undefined"==typeof r&&(r=i.charAt(o)),t+=r;return t},map:{a:"Ä…",b:"Ò",c:"ç",d:"Õª",e:"Ò½",f:"Æ’",g:"Ö",h:"Õ°",i:"ì",j:"Ê",k:"ÒŸ",l:"Ó€",m:"Ê",n:"Õ²",o:"Ö…",p:"Ö„",q:"Õ¦",r:"ɾ",s:"Ê‚",t:"Õ§",u:"Õ´",v:"ѵ",w:"Õ¡",x:"×",y:"Õ¾",z:"Õ€",A:"Ⱥ",B:"β",C:"↻",D:"Ꭰ",E:"Æ",F:"Æ‘",G:"Æ“",H:"Ƕ",I:"į",J:"Ù„",K:"Ò ",L:"êˆ",M:"â±®",N:"áž ",O:"à¶§",P:"φ",Q:"Ò¨",R:"འ",S:"Ïš",T:"Ͳ",U:"Ô±",V:"Ỽ",W:"à°š",X:"ჯ",Y:"Ó‹",Z:"É€",0:"⊘",1:"������",2:"Ï©",3:"Ó ",4:"५",5:"Ƽ",6:"Ϭ",7:"7",8:"������",9:"९","&":"⅋","(":"{",")":"}","{":"(","}":")","ä":"Ä…̈","ö":"Ö…̈","ü":"Õ´̈","Ä":"Ⱥ̈","Ö":"à¶§̈","Ü":"Ô±̈","é":"Ò½́","á":"Ä…́","ó":"Ö…́","ú":"Õ´́","É":"Ǽ","Ã":"Ⱥ́","Ó":"à¶§́","Ú":"Ô±́","è":"Ò½̀","à ":"Ä…̀","ò":"Ö…̀","ù":"Õ´̀","È":"Æ̀","À":"Ⱥ̀","Ã’":"à¶§̀","Ù":"Ô±̀","ê":"Ò½̂","â":"Ä…̂","ô":"Ö…̂","û":"Õ´̂","Ê":"Æ̂","Â":"Ⱥ̂","Ô":"à¶§̂","Û":"Ô±̂"}},tiny:{init:function(){for(i in this.map)this.map[this.map[i]]=i},encode:function(i){var r,t="";i=i.toUpperCase();for(var o=0,h=i.length;h>o;o++)r=this.map[i.charAt(o)],"undefined"==typeof r&&(r=i.charAt(o)),t+=r;return t},decode:function(i){for(var r,t="",o=0,h=i.length;h>o;o++)r=this.map[i.charAt(o)],"undefined"==typeof r&&(r=i.charAt(o)),t+=r;return t},map:{A:"á´€",B:"Ê™",C:"á´„",D:"á´…",E:"á´‡",F:"ꜰ",G:"É¢",H:"Êœ",I:"ɪ",J:"á´Š",K:"á´‹",L:"ÊŸ",M:"á´",N:"É´",O:"á´",P:"á´˜",Q:"Q",R:"Ê€",S:"ꜱ",T:"á´›",U:"á´œ",V:"á´ ",W:"á´¡",X:"x",Y:"Ê",Z:"á´¢"}}};for(i in this.tools)this.tools[i].init();this.getHTML=function(i){for(var r,t="",o=!0,h=0,n=0,a=0,s=i.length;s>a;a++)r=i.charCodeAt(a),10==r||13==r?(t+="<br>\n",o=!0):32==r?o?(t+=" ",o=!1):(t+=" ",o=!0):(r>=55296&&56319>=r?(h=r,n=0):h>0?(r>=56320&&57343>=r&&(n=1024*(h-55296)+(r-56320)+65536),h=0):n=r,0!=n&&(t+="&#x"+n.toString(16)+";",o=!0));return t}} // CUTE TEXT: function cuteText(text) { if(text.trim() === "") return ""; qi = -1; var bounds = boundingString(Math.floor(Math.random()*2)+1); return bounds + " 🎀 " + text.split(/([!?.]+)/gi).map(cuteSentence).join("") + " 🎀 " + esrever.reverse(bounds); } function cuteSentence(sentence) { return sentence.split(/([\s,]+)/gi).map(cuteWord).join(""); } function cuteWord(word) { //remember to handle exclamations, empty strings, commas etc. etc.!! if(word === "" || /[[!?.\s,]+]/gi.test(word)) return word; //TODO: random turn o's into flowers, turn quotes into unicode and ! and ? word = roundReplace(word); word = punctReplace(word); word = emojiReplace(word); return scriptify(word); } var qi = -1; var qa = ["❝","❞"]; function quotes() { qi++; if(qi === 2) qi = 0; return qa[qi]; } function punctReplace(word) { return word.split("").map(function(a) { if(a === "!") return randomElement(["❣","❢"]); else if(a === "?") return randomElement(["¿","?"]); else if(a === "\"") return quotes(); else return a; }).join(""); } function emojiReplace(word) { return word .replace(":)", randomElement(emoji[":)"])) .replace("(:", randomElement(emoji[":)"])) .replace("^^", randomElement(emoji["^^"])) .replace(":P", randomElement(emoji[":p"])) .replace(":p", randomElement(emoji[":p"])) .replace(":D", randomElement(emoji[":D"])) .replace("<3", randomElement(emoji["<3"])) .replace("(y)", randomElement(emoji["(y)"])) .replace("(Y)", randomElement(emoji["(y)"])); } function roundReplace(text) { return text.split("").map(function(a) { if(a.toLowerCase() === "o" || a === "0") { return randomElement(round); } else { return a; } }).join(""); } var emoji = { ":)" : ["Ù©(˘◡˘)Û¶","(•◡•)","(É”◔‿◔)É”","❀◕‿◕❀","(。◕‿◕。)","●‿●","◕‿◕","ðŸ˜","ツ","(✿ヘᴥヘ)","🌘‿🌘","(ã¥。◕‿‿◕。)ã¥","(/◔◡◔)/","s(^‿^)-b","(人◕‿◕)","(✿╹◡╹)","◔◡◔"], "^^" : ["(^▽^)","(✿^▽^)","áµ”⌣áµ”","ᵔᴥᵔ","(≧◡≦)","^ã……^","^ã…‚^","(⌒‿⌒)","◠◡◠","⁀‿⁀",""], ":p" : [":Þ",""], ":D" : ["(ノ◕ヮ◕)ノ*:・゚✧","(✿◕á—œ◕)━♫.*・。゚","á••(á›)á•—"], "<3" : ["♡","❤","♥","❥","💘","💙","💗","💖","💕","💓","💞","ðŸ’","💟"], "(y)" : ["ðŸ‘","👌"], }; var round = ["❁","🌺","❀","💮","ðŸµ","🌸","☯","ðŸ˜","♡","ðŸ©","ðŸ¬","💙","🌞","ðŸ’","ðŸª","❤","💗","ðŸ‘","💞"]; var food = ["ðŸ¬","ðŸ","ðŸ’","ðŸŽ","ðŸ‰","ðŸ‡","ðŸ“","ðŸŒ","ðŸ‘","ðŸ°","🎂","ðŸ©","ðŸª","ðŸ§","ðŸ¦","ðŸ«","ðŸ¡"]; var flowers = ["✿","⚘","❦","❧","✾","❁","❀","ðŸ’","🌸","💮","ðŸµ","🌹","🌺","🌻","🌷","☘","🌱","🌲","🌳","🌴","🌿","ðŸ‚"]; var twinkles = ["⚛","🌌","🌠","*",":","。","・゚","✧","✮","★","✩","⋆",".","°","`","✴","。","✴","⋆","✳","✶","✷","❈"]; var animals = ["ðŸ¯","ðŸŽ","ðŸ–","ðŸ·","ðŸ","ðŸ‘","ðŸ","ðŸ«","ðŸ˜","ðŸ","ðŸ","ðŸ€","ðŸ¹","ðŸ°","ðŸ‡","ðŸ¿","ðŸ»","ðŸ¨","ðŸ¼","ðŸ¾","ðŸ”","ðŸ“","ðŸ£","ðŸ¤","ðŸ¥","ðŸ¦","ðŸ§","🕊","ðŸ¸","ðŸ¢","ðŸ³","ðŸ‹","ðŸ¬","ðŸŸ","ðŸ ","ðŸ¡","ðŸ™","ðŸš","ðŸŒ","ðŸž"]; var plants = ["✿","⚘","❦","❧","✾","❁","❀","ðŸ’","🌸","💮","ðŸµ","🌹","🌺","🌻","🌷","☘","🌱","🌲","🌳","🌴","🌿","ðŸ‚"]; var misc = ["🌌","🌠","🎉","🎊","🎈","💌","🎎","ðŸŽ","🎀","🕯","🔮","🛀","🎖","ðŸ†","ðŸ…","👑","ðŸ’","👶","👼","👸","👯","👒","👻"]; var music = ["♫","♬","♪","♩","°","。","✧","🎻","🎺","🎸","🎷","📯"]; var flourish = ["•?((¯°·._.• ","ıllıllı ","¸,ø¤Âº°`°Âº¤Ã¸,¸¸,ø¤Âº° ","°°°·.°·..·°¯°·._.· ","•´¯`•. ","׺°”˜`”°Âº× ","•]••´Âº´•» ","]|I{•------» ","§.•´¨'°÷•..× ","•°¯`•• ","(¯`·.¸¸.·´¯`·.¸¸.-> ","*´¯`*.¸¸.*´¯`* ","(¯`·.¸¸.-> °Âº ","°·.¸.·°¯°·.¸.·°¯°·.¸.-> ","•._.••´¯``•.¸¸.•` ","¸„.-•~¹°”ˆ˜¨ ","(¯´•._.• ","••¤(`×","•´¯`•» ","`•.,¸¸,.•´¯ ","¸,ø¤Âº°`°Âº¤Ã¸,¸ ",".o0×X×0o. ",",-*'^'~*-.,_,.-*~ ","`•.¸¸.•´´¯`••._.• ","—(••÷","¤¸¸.•´¯`•¸¸.•..>> ","••.•´¯`•.•• ",".•°¤*(¯`★´¯)*¤° ","๑۞๑,¸¸,ø¤Âº°`°à¹‘۩ ","-漫~*'¨¯¨'*·èˆž~ ","★·.·´¯`·.·★ ","▁ ▂ ▄ ▅ ▆ ▇ █ ","▀▄▀▄▀▄ ","▌│█║▌║▌║ "]; function boundingString(n) { return randomElement([foodString,twinkleString,animalString,flourishString])(n); } function foodString(n) { return new Array(n+1).join('0').split('').map(function(a){ return randomElement(food); }).join(' ⋆ '); } function twinkleString(n) { return new Array(n+1).join('0').split('').map(function(){ return randomElement(twinkles); }).join(""); } function animalString(n) { return new Array(n+1).join('0').split('').map(function(a){ return randomElement(animals); }).join(' ⋆ '); } function flourishString(n) { return randomElement(flourish); } function scriptify(text) { var map = {"0":"ðŸ¢","1":"ðŸ£","2":"ðŸ¤","3":"ðŸ¥","4":"ðŸ¦","5":"ðŸ§","6":"ðŸ¨","7":"ðŸ©","8":"ðŸª","9":"ðŸ«","a":"ð’¶","b":"ð’·","c":"ð’¸","d":"ð’¹","e":"ð‘’","f":"ð’»","g":"ð‘”","h":"ð’½","i":"ð’¾","j":"ð’¿","k":"ð“€","l":"ð“","m":"ð“‚","n":"ð“ƒ","o":"ð‘œ","p":"ð“…","q":"ð“†","r":"ð“‡","s":"ð“ˆ","t":"ð“‰","u":"ð“Š","v":"ð“‹","w":"ð“Œ","x":"ð“","y":"ð“Ž","z":"ð“","A":"ð’œ","B":"ðµ","C":"ð’ž","D":"ð’Ÿ","E":"ð¸","F":"ð¹","G":"ð’¢","H":"ð»","I":"ð¼","J":"ð’¥","K":"ð’¦","L":"ð¿","M":"ð‘€","N":"ð’©","O":"ð’ª","P":"ð’«","Q":"ð’¬","R":"ð‘…","S":"ð’®","T":"ð’¯","U":"ð’°","V":"ð’±","W":"ð’²","X":"ð’³","Y":"ð’´","Z":"ð’µ"}; var charArray = text.split(""); for(var i = 0; i < charArray.length; i++) { if( map[charArray[i].toLowerCase()] ) { charArray[i] = map[charArray[i]]; } } text = charArray.join(""); return text; } function shuffleArray(array) { var currentIndex = array.length, temporaryValue, randomIndex; // While there remain elements to shuffle... while (0 !== currentIndex) { // Pick a remaining element... randomIndex = Math.floor(Math.random() * currentIndex); currentIndex -= 1; // And swap it with the current element. temporaryValue = array[currentIndex]; array[currentIndex] = array[randomIndex]; array[randomIndex] = temporaryValue; } return array; } function randomElement(a) { return a[Math.floor(Math.random()*a.length)]; } //https://github.com/mathiasbynens/esrever !function(e){var o="object"==typeof exports&&exports,r="object"==typeof module&&module&&module.exports==o&&module,n="object"==typeof global&&global;(n.global===n||n.window===n)&&(e=n);var t=/(<%= allExceptCombiningMarks %>)(<%= combiningMarks %>+)/g,i=/([\uD800-\uDBFF])([\uDC00-\uDFFF])/g,f=function(e){e=e.replace(t,function(e,o,r){return f(r)+o}).replace(i,"$2$1");for(var o="",r=e.length;r--;)o+=e.charAt(r);return o},l={version:"<%= version %>",reverse:f};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return l});else if(o&&!o.nodeType)if(r)r.exports=l;else for(var a in l)l.hasOwnProperty(a)&&(o[a]=l[a]);else e.esrever=l}(this); // CRAZY TEXT function fullCrazy(text) { if(text.trim() === "") return ""; return randomSymbols(2) +" "+ crazifyText(text) +" "+ randomSymbols(2) } function crazifyText(text) { text = text.split(""); for(var i = 0; i < text.length; i++) { text[i] = crazifyCharacter(text[i]); } return text.join(""); } function crazifyCharacter(c) { c = c.toLowerCase(); var map = {"&":"⅋","%":["⅍","℀","℁","℆","℅"],"0":["ï¼","Ѳ","ʘ"],"1":["➀","❶","1"],"2":["ï¼’","❷","➁"],"3":["3","❸","➂"],"4":["ï¼”","❹","➃"],"5":["❺","➄","5"],"6":["ï¼–","❻","➅"],"7":["ï¼—","❼","➆"],"8":["8","➇","❽"],"9":["➈","❾","ï¼™"],"<":["≼","≺","≪","☾","≾","⋜","⋞","⋐","⊂","⊏","⊑","《","<","❮","❰","⫷"],">":"☽≫≻≽≿⋝⋟⋑⊃⊐⊒⫸》>❯❱","[":"【〖〘〚[","]":"】〗〙〛]","*":"✨✩✪✫✬✭✮✯✰✦✱✲✳✴✵✶✷֍֎✸✹✺✻✼✽✾✿❀❁❂❃❄★☆*","a":["Ⓐ","ⓐ","α","A","ï½","á—©","å‚","Δ","ค","α","ά","Ã","ð”ž","ð“ª","ð’¶","ð“","ð€","ðš","ð”¸","ð•’","ᵃ"],"b":["Ⓑ","ⓑ","в","ï¼¢","乃","b","á—·","β","๒","в","в","β","ð”Ÿ","ð“«","ð’·","ð“‘","ð","ð›","ð”¹","ð•“","ᵇ"],"c":["Ⓒ","ⓒ","匚","¢","ï¼£","c","á‘•","Ć","Ï‚","c","Ï‚","ÄŒ","℃","ð” ","ð“¬","ð’¸","ð“’","ð‚","ðœ","â„‚","ð•”","á¶œ"],"d":["Ⓓ","ⓓ","∂","D","d","á—ª","Ä","๔","∂","Ä‘","ÄŽ","ð”¡","ð“","ð’¹","ð““","ðƒ","á—ª","ð","ð”»","ð••","ᵈ"],"e":["Ⓔ","乇","ⓔ","Ñ”","ï¼¥","ï½…","á—´","€","Ñ”","ε","Î","Ẹ","ð”¢","ð’†","ð‘’","ð“”","ð„","ðž","ð”¼","ð•–","ᵉ"],"f":["Ⓕ","ⓕ","Æ’","F","f","åƒ","á–´","ℱ","Ŧ","Ò“","Ò“","Æ‘","ð”£","ð’‡","ð’»","ð“•","ð…","ðŸ","ð”½","ð•—","á¶ "],"g":["Ⓖ","ⓖ","Ù‚","g","ï¼§","g","Ǥ","Ꮆ","ï»®","g","Ä£","Äž","ð”¤","ð“°","ð‘”","ð“–","ð†","ð ","ð”¾","ð•˜","áµ","Ꮆ"],"h":["Ⓗ","å„","ⓗ","н","H","h","ᕼ","Ħ","Ñ’","н","ħ","Ĥ","ð”¥","ð“±","ð’½","ð“—","ð‡","ð¡","â„","ð•™","ʰ"],"i":["Ⓘ","ⓘ","ι","I","i","Ꭵ","丨","Æ—","เ","ι","ί","Ä®","ð”¦","ð“²","ð’¾","ð“˜","ðˆ","ð¢","ð•€","ð•š","ᶤ"],"j":["Ⓙ","ⓙ","× ","J","Ú¶","j","á’Ž","Ä´","ן","× ","ј","Ä´","ð”§","ð“³","ð’¿","ð“™","ð‰","ð£","ð•","ð•›","ʲ"],"k":["Ⓚ","ⓚ","к","K","k","ᛕ","Òœ","к","к","Ä·","ÐŒ","ð”¨","ð“´","ð“€","ð“š","ðŠ","ð¤","ð•‚","ð•œ","áµ","Òœ"],"l":["Ⓛ","ⓛ","â„“","ã„¥","L","l","á’ª","Å","l","â„“","Ä»","Ĺ","ð”©","ð“µ","ð“","ð“›","ð‹","ð¥","ð•ƒ","ð•","Ë¡"],"m":["Ⓜ","ⓜ","м","ï¼","ï½","á—°","Μ","๓","м","м","Ï»","ð”ª","ð“¶","ð“‚","ð“œ","ðŒ","ð¦","ð•„","ð•ž","áµ","爪"],"n":["Ⓝ","å‡ ","ⓝ","η","ï¼®","n","ᑎ","Ň","ภ","η","ή","Ň","ð”«","ð“·","ð“ƒ","ð“","ð","ð§","â„•","ð•Ÿ","á¶°"],"o":["Ⓞ","ã„–","ⓞ","σ","O","ï½","á—","Ø","๏","σ","ÏŒ","á»–","ð”¬","ð“¸","ð‘œ","ð“ž","ðŽ","ð¨","ð•†","ð• ","áµ’"],"p":["Ⓟ","ⓟ","Ï","ï¼°","ï½","å©","á‘","Ƥ","×§","Ï","Ï","Ƥ","ð”","ð“¹","ð“…","ð“Ÿ","ð","ð©","â„™","ð•¡","áµ–"],"q":["Ⓠ","ⓠ","q","ï¼±","q","ÉŠ","Ω","ợ","q","q","Ǫ","ð”®","ð“º","ð“†","ð“ ","ð","ðª","ℚ","ð•¢","áµ "],"r":["Ⓡ","ⓡ","Ñ","å°º","ï¼²","ï½’","á–‡","Ř","г","Ñ","Å•","Ř","ð”¯","ð“»","ð“‡","ð“¡","ð‘","ð«","â„","ð•£","ʳ"],"s":["Ⓢ","ⓢ","Ñ•","ï¼³","丂","s","ᔕ","Åž","ร","s","ÅŸ","Åœ","ð”°","ð“¼","ð“ˆ","ð“¢","ð’","ð¬","ð•Š","ð•¤","Ë¢"],"t":["Ⓣ","ⓣ","Ñ‚","ï¼´","ï½”","丅","Ŧ","t","Ñ‚","Å£","Ť","ð”±","ð“½","ð“‰","ð“£","ð“","ð","ð•‹","ð•¥","áµ—"],"u":["Ⓤ","ⓤ","Ï…","ï¼µ","u","ᑌ","á»®","ย","Ï…","ù","Ç—","ð”²","ð“¾","ð“Š","ð“¤","ð”","ð®","ð•Œ","ð•¦","ᵘ"],"v":["Ⓥ","ⓥ","ν","ï¼¶","ï½–","á¯","V","ש","v","ν","Ѷ","ð”³","ð“¿","ð“‹","ð“¥","ð•","ð¯","ð•","ð•§","áµ›"],"w":["Ⓦ","ⓦ","ω","ï¼·","ï½—","á—¯","Å´","ฬ","ω","ÏŽ","Å´","ð”´","ð”€","ð“Œ","ð“¦","ð–","ð°","ð•Ž","ð•¨","Ê·","å±±"],"x":["Ⓧ","ⓧ","χ","X","乂","x","᙭","Ж","×","x","x","Ж","ð”µ","ð”","ð“","ð“§","ð—","ð±","ð•","ð•©","Ë£"],"y":["Ⓨ","ㄚ","ⓨ","у","ï¼¹","ï½™","Ƴ","¥","×¥","Ò¯","ч","ÐŽ","ð”¶","ð”‚","ð“Ž","ð“¨","ð˜","ð²","ð•","ð•ª","ʸ"],"z":["Ⓩ","ⓩ","z","ä¹™","Z","z","Ƶ","Ž","z","z","ž","Å»","ð”·","ð”ƒ","ð“","ð“©","ð™","ð³","ℤ","ð•«","á¶»"]}; if(map[c]) { return randomElement(map[c]); } else { return c; } } function randomElement(array) { return array[Math.floor(Math.random() * array.length)] } function randomSymbols(n) { var symbols = ["ðŸ™","ðŸ‰","ðŸŠ","ðŸ’","ðŸ","ðŸœ","ðŸš","ðŸ²","ðŸ³","ðŸ¸","👑","👹","👺","👤","💲","💣","💙","💚","💛","💜","ðŸ’","💗","💘","💞","💔","💥","ðŸ¯","ðŸ¼","ðŸ»","ðŸº","👌","ðŸ","ðŸ§","ðŸŸ","ðŸ ","ðŸ¨","🎯","ðŸ†","ðŸŽ","🎀","🎉","🎈","ðŸ®","ðŸ","ðŸ¬","ðŸ«","ðŸª","ðŸ§","🌷","ðŸ“","😺","😾","✎","😎","ðŸ˜","😂","😈","😡","😲","😳","ðŸ”","ðŸŸ","ðŸ©","🎃","🎄","🎅","ðŸ£","ðŸ¤","ðŸ‘","👊","👻","👽","👮","💎","💋","👣","💀","💢","🔥","♔","♕","♖","♗","♘","♙","♚","♛","♜","♝","♞","♟","♠","♡","♢","♣","♤","♥","♦","♧","♨","♩","♪","♬","★","☆","☺","☹","☯","☮","☢","☠","☟","☞","☝","☜","✌","✋","✊","⛵","ൠ","✌","à¶"]; var s = []; for(var i = 0; i < n; i++) s.push( randomElement(symbols) ); return s.join(""); } function randInt(min, max) { return min + Math.floor(Math.random()*(max-min+1)); } reverseIsDisabled = true; function backward(text) { return $('#your-text').val(); } try { var jsonData = {"phrases1":"","phrases2":"","words1":"","words2":"","intraword1":"","intraword2":"","prefixes1":"","prefixes2":"","suffixes1":"","suffixes2":"","regex1":"","regex2":"","rev_regex1":"","rev_regex2":"","ordering1":"","ordering2":""}; phrases1 = jsonData.phrases1.split("\n"); phrases2 = jsonData.phrases2.split("\n"); words1 = jsonData.words1.split("\n"); words2 = jsonData.words2.split("\n"); intraword1 = jsonData.intraword1.split("\n"); intraword2 = jsonData.intraword2.split("\n"); prefixes1 = jsonData.prefixes1.split("\n"); prefixes2 = jsonData.prefixes2.split("\n"); suffixes1 = jsonData.suffixes1.split("\n"); suffixes2 = jsonData.suffixes2.split("\n"); regex1 = jsonData.regex1.split("\n"); regex2 = jsonData.regex2.split("\n"); rev_regex1 = jsonData.rev_regex1.split("\n"); rev_regex2 = jsonData.rev_regex2.split("\n"); ordering1 = jsonData.ordering1.split("\n"); ordering2 = jsonData.ordering2.split("\n"); } catch(err) { alert("Ahh an error! Please contact me via hello@josephrocca.com and I'll fix it asap. Error log: "+err.message); } evenUpSizes(phrases1,phrases2); evenUpSizes(words1,words2); evenUpSizes(intraword1,intraword2); evenUpSizes(prefixes1,prefixes2); evenUpSizes(suffixes1,suffixes2); //fix for mysql trailing newline deletion problem function evenUpSizes(a,b) { if(a.length > b.length) { while(a.length > b.length) b.push(""); } else if(b.length > a.length) { while(b.length > a.length) a.push(""); } } /* Initial translate for default text */ if($('#your-text').val() != "") { var english = $('#your-text').val(); var fancytextguru = translate(english); $('#stylish-text').val(fancytextguru); } $(document).on("click", ".yt-prakash p", function () { $(".copied").fadeOut(1000); }); $(document).on("click", ".input-group", function () { $(this).append('<span class="copied"></span>'); // select_all_and_copy($('.input-group input').val()); $(".copied").fadeOut(2000); }); function select_all_and_copy(el) { // Copy textarea, pre, div, etc. if (document.body.createTextRange) { // IE var textRange = document.body.createTextRange(); textRange.moveToElementText(el); textRange.select(); textRange.execCommand("Copy"); //tooltip(el, "Copied!"); } else if (window.getSelection && document.createRange) { // non-IE var editable = el.contentEditable; // Record contentEditable status of element var readOnly = el.readOnly; // Record readOnly status of element el.contentEditable = true; // iOS will only select text on non-form elements if contentEditable = true; el.readOnly = true; // iOS will not select in a read only form element // Version 1.2c - Changed from false to true; Prevents keyboard from appearing when copying from textarea var range = document.createRange(); range.selectNodeContents(el); var sel = window.getSelection(); sel.removeAllRanges(); sel.addRange(range); // Does not work for Firefox if a textarea or input if (el.nodeName == "TEXTAREA" || el.nodeName == "INPUT") el.select(); // Firefox will only select a form element with select() //if (el.setSelectionRange && navigator.userAgent.match(/ipad|ipod|iphone/i)) // Version 1.2c - iOS 12 might be defaulting to desktop mode so removed if (el.setSelectionRange) // Version 1.2c - iOS 12 might be defaulting to desktop mode and no longer has iphone in user agent el.setSelectionRange(0, 999999); // iOS only selects "form" elements with SelectionRange el.contentEditable = editable; // Restore previous contentEditable status el.readOnly = readOnly; // Restore previous readOnly status if (document.queryCommandSupported("copy")) { var successful = document.execCommand('copy'); if (successful) console.log("Copied to clipboard."); else console.log(el, "Press CTRL+C to copy"); } else { if (!navigator.userAgent.match(/ipad|ipod|iphone|android|silk/i)) tooltip(el, "Press CTRL+C to copy"); } } } function make_copy_button(el) { var copy_btn = document.createElement('span'); copy_btn.style.border = "1px solid black"; copy_btn.style.padding = "5px"; copy_btn.style.cursor = "pointer"; copy_btn.style.display = "inline-block"; copy_btn.style.background = "lightgrey"; copy_btn.setAttribute("role", "button"); copy_btn.setAttribute("tabindex", 0); el.parentNode.insertBefore(copy_btn, el.nextSibling); copy_btn.onclick = function() { select_all_and_copy(el); }; if (document.queryCommandSupported("copy")) { copy_btn.innerHTML = "Copy to Clipboard"; } else { copy_btn.innerHTML = "Select All"; } } $( "#load-more" ).click(function() { $(".lds-circle").fadeIn(); clearTimeout(forwardTimeout); forwardTimeout = setTimeout(function() { var english = $('#your-text').val(); var fancytextguru = translate(english); $('#stylish-text-three').append(translatetwo(english)); }, 200); $(".lds-circle").fadeOut(1000); }); $(document).ready(function() { var url = window.location.href; var params = url.split('?='); strings = params[1]; if (strings){ //alert(decodeURIComponent(strings)); clearTimeout(forwardTimeout); forwardTimeout = setTimeout(function() { var english = decodeURIComponent(strings); var fancytextguru = translate(english); $('#stylish-text').html(fancytextguru); $('#stylish-text-two').html(translateone(english)); $('#stylish-text-three').html(translatetwo(english)); $('#your-text').val(english); }, 200); } }); var windowWidth = $(window).width(); if (windowWidth > 1040) {$(document).ready(function () {$(".your-text").sticky({ topSpacing: 0 });$(".your-age").sticky({ topSpacing: 130 });}); } $(document).ready(function() { $(".lds-circle").hide(); }); $(document).ready(function(){ $(window).scroll(function(){ if ($(this).scrollTop() > 100) { $('#scroll').fadeIn(); } else { $('#scroll').fadeOut(); } }); $('#scroll').click(function(){ $("html, body").animate({ scrollTop: 0 }, 600); return false; }); }); document.addEventListener("DOMContentLoaded", function () { var lazyImages = [].slice.call(document.querySelectorAll("img.lazy")); if ("IntersectionObserver" in window) { let lazyImageObserver = new IntersectionObserver(function (entries, observer) { entries.forEach(function (entry) { if (entry.isIntersecting) { let lazyImage = entry.target; lazyImage.src = lazyImage.dataset.src; lazyImage.classList.remove("lazy"); lazyImageObserver.unobserve(lazyImage); } }); }); lazyImages.forEach(function (lazyImage) { lazyImageObserver.observe(lazyImage); }); } else { // Possibly fall back to a more compatible method here } });