src/index.ts
/**
* With this simple and little module you can convert the smiles in your text to emoji.
*
* @module
*/
/**
* A map of text to their emoji representation.
*/
export const emojiMap: { [key: string]: string } = {
'o/': '๐',
'</3': '๐',
'<3': '๐',
'8-D': '๐',
'8D': '๐',
':-D': '๐',
':-3': '๐',
':3': '๐',
':D': '๐',
'B^D': '๐',
'X-D': '๐',
XD: '๐',
'x-D': '๐',
xD: '๐',
":')": '๐',
":'-)": '๐',
':-))': '๐',
'8)': '๐',
':)': '๐',
':-)': '๐',
':]': '๐',
':^)': '๐',
':c)': '๐',
':o)': '๐',
':}': '๐',
':ใฃ)': '๐',
'0:)': '๐',
'0:-)': '๐',
'0:-3': '๐',
'0:3': '๐',
'0;^)': '๐',
'O:-)': '๐',
'3:)': '๐',
'3:-)': '๐',
'}:)': '๐',
'}:-)': '๐',
'*)': '๐',
'*-)': '๐',
':-,': '๐',
';)': '๐',
';-)': '๐',
';-]': '๐',
';D': '๐',
';]': '๐',
';^)': '๐',
':-|': '๐',
':|': '๐',
':(': '๐',
':-(': '๐',
':-<': '๐',
':-[': '๐',
':-c': '๐',
':<': '๐',
':[': '๐',
':c': '๐',
':{': '๐',
':ใฃC': '๐',
'%)': '๐',
'%-)': '๐',
':-P': '๐',
':-b': '๐',
':-p': '๐',
':-ร': '๐',
':-รพ': '๐',
':P': '๐',
':b': '๐',
':p': '๐',
':ร': '๐',
':รพ': '๐',
';(': '๐',
'X-P': '๐',
XP: '๐',
'd:': '๐',
'x-p': '๐',
xp: '๐',
':-||': '๐ ',
':@': '๐ ',
':-.': '๐ก',
':-/': '๐ก',
':/': '๐',
':L': '๐ก',
':S': '๐ก',
':\\': '๐ก',
":'(": '๐ข',
":'-(": '๐ข',
'^5': '๐ค',
'^<_<': '๐ค',
'o/\\o': '๐ค',
'|-O': '๐ซ',
'|;-)': '๐ซ',
':###..': '๐ฐ',
':#': '๐
',
':-###..': '๐ฐ',
"D-':": '๐ฑ',
D8: '๐ฑ',
'D:': '๐ฑ',
'D:<': '๐ฑ',
'D;': '๐ฑ',
DX: '๐ฑ',
'v.v': '๐ฑ',
'8-0': '๐ฒ',
':-O': '๐ฒ',
':-o': '๐ฒ',
':O': '๐ฒ',
':o': '๐ฒ',
'O-O': '๐ฒ',
O_O: '๐ฒ',
O_o: '๐ฒ',
'o-o': '๐ฒ',
o_O: '๐ฒ',
o_o: '๐ฒ',
':$': '๐ณ',
'#-)': '๐ต',
':&': '๐ถ',
':-#': '๐ถ',
':-&': '๐ถ',
':-X': '๐ถ',
':X': '๐ถ',
':-J': '๐ผ',
':*': '๐',
':^*': '๐ฝ',
เฒ _เฒ : '๐
',
'*\\0/*': '๐',
'\\o/': '๐',
':>': '๐',
'>.<': '๐ก',
'>:(': '๐ ',
'>:)': '๐',
'>:-)': '๐',
'>:/': '๐ก',
'>:O': '๐ฒ',
'>:P': '๐',
'>:[': '๐',
'>:\\': '๐ก',
'>;)': '๐',
'>_>^': '๐ค',
'^^': '๐',
':sweat:': '๐
',
':smile:': '๐',
':laughing:': '๐',
':blush:': '๐',
':smiley:': '๐',
':relaxed:': 'โบ๏ธ',
':smirk:': '๐',
':heart_eyes:': '๐',
':kissing_heart:': '๐',
':kissing_closed_eyes:': '๐',
':flushed:': '๐ณ',
':relieved:': '๐',
':satisfied:': '๐',
':grin:': '๐',
':wink:': '๐',
':stuck_out_tongue_winking_eye:': '๐',
':stuck_out_tongue_closed_eyes:': '๐',
':grinning:': '๐',
':kissing:': '๐',
':kissing_smiling_eyes:': '๐',
':stuck_out_tongue:': '๐',
':sleeping:': '๐ด',
':worried:': '๐',
':frowning:': '๐ฆ',
':anguished:': '๐ง',
':open_mouth:': '๐ฎ',
':grimacing:': '๐ฌ',
':confused:': '๐',
':hushed:': '๐ฏ',
':expressionless:': '๐',
':unamused:': '๐',
':sweat_smile:': '๐
',
':disappointed_relieved:': '๐ฅ',
':weary:': '๐ฉ',
':pensive:': '๐',
':disappointed:': '๐',
':confounded:': '๐',
':fearful:': '๐จ',
':cold_sweat:': '๐ฐ',
':persevere:': '๐ฃ',
':cry:': '๐ข',
':sob:': '๐ญ',
':joy:': '๐',
':astonished:': '๐ฒ',
':scream:': '๐ฑ',
':tired_face:': '๐ซ',
':angry:': '๐ ',
':rage:': '๐ก',
':triumph:': '๐ค',
':sleepy:': '๐ช',
':yum:': '๐',
':mask:': '๐ท',
':sunglasses:': '๐',
':dizzy_face:': '๐ต',
':imp:': '๐ฟ',
':smiling_imp:': '๐',
':neutral_face:': '๐',
':no_mouth:': '๐ถ',
':innocent:': '๐',
':alien:': '๐ฝ',
':yellow_heart:': '๐',
':blue_heart:': '๐',
':purple_heart:': '๐',
':heart:': 'โค๏ธ',
':green_heart:': '๐',
':broken_heart:': '๐',
':heartbeat:': '๐',
':heartpulse:': '๐',
':two_hearts:': '๐',
':revolving_hearts:': '๐',
':cupid:': '๐',
':sparkling_heart:': '๐',
':sparkles:': 'โจ',
':star:': 'โญ',
':star2:': '๐',
':dizzy:': '๐ซ',
':boom:': '๐ฅ',
':collision:': '๐ฅ',
':anger:': '๐ข',
':exclamation:': 'โ',
':question:': 'โ',
':grey_exclamation:': 'โ',
':grey_question:': 'โ',
':zzz:': '๐ค',
':dash:': '๐จ',
':sweat_drops:': '๐ฆ',
':notes:': '๐ถ',
':musical_note:': '๐ต',
':fire:': '๐ฅ',
':hankey:': '๐ฉ',
':poop:': '๐ฉ',
':shit:': '๐ฉ',
':+1:': '๐',
':thumbsup:': '๐',
':-1:': '๐',
':thumbsdown:': '๐',
':ok_hand:': '๐',
':punch:': '๐',
':facepunch:': '๐',
':fist:': 'โ',
':v:': 'โ๏ธ',
':wave:': '๐',
':hand:': 'โ',
':raised_hand:': 'โ',
':open_hands:': '๐',
':point_up:': 'โ๏ธ',
':point_down:': '๐',
':point_left:': '๐',
':point_right:': '๐',
':raised_hands:': '๐',
':pray:': '๐',
':point_up_2:': '๐',
':clap:': '๐',
':muscle:': '๐ช',
':metal:': '๐ค',
':fu:': '๐',
':walking:': '๐ถ',
':runner:': '๐',
':running:': '๐',
':couple:': '๐ซ',
':family:': '๐ช',
':two_men_holding_hands:': '๐ฌ',
':two_women_holding_hands:': '๐ญ',
':dancer:': '๐',
':dancers:': '๐ฏ',
':no_good:': '๐
',
':information_desk_person:': '๐',
':raising_hand:': '๐',
':bride_with_veil:': '๐ฐ',
':bow:': '๐',
':couplekiss:': '๐',
':couple_with_heart:': '๐',
':massage:': '๐',
':haircut:': '๐',
':nail_care:': '๐
',
':boy:': '๐ฆ',
':girl:': '๐ง',
':woman:': '๐ฉ',
':man:': '๐จ',
':baby:': '๐ถ',
':older_woman:': '๐ต',
':older_man:': '๐ด',
':man_with_gua_pi_mao:': '๐ฒ',
':construction_worker:': '๐ท',
':cop:': '๐ฎ',
':angel:': '๐ผ',
':princess:': '๐ธ',
':smiley_cat:': '๐บ',
':smile_cat:': '๐ธ',
':heart_eyes_cat:': '๐ป',
':kissing_cat:': '๐ฝ',
':smirk_cat:': '๐ผ',
':scream_cat:': '๐',
':crying_cat_face:': '๐ฟ',
':joy_cat:': '๐น',
':pouting_cat:': '๐พ',
':japanese_ogre:': '๐น',
':japanese_goblin:': '๐บ',
':see_no_evil:': '๐',
':hear_no_evil:': '๐',
':speak_no_evil:': '๐',
':skull:': '๐',
':feet:': '๐พ',
':lips:': '๐',
':kiss:': '๐',
':droplet:': '๐ง',
':ear:': '๐',
':eyes:': '๐',
':nose:': '๐',
':tongue:': '๐
',
':love_letter:': '๐',
':bust_in_silhouette:': '๐ค',
':busts_in_silhouette:': '๐ฅ',
':speech_balloon:': '๐ฌ',
':thought_balloon:': '๐ญ',
':sunny:': 'โ๏ธ',
':umbrella:': 'โ',
':cloud:': 'โ๏ธ',
':snowflake:': 'โ๏ธ',
':snowman:': 'โ',
':zap:': 'โก',
':cyclone:': '๐',
':foggy:': '๐',
':ocean:': '๐',
':cat:': '๐ฑ',
':dog:': '๐ถ',
':mouse:': '๐ญ',
':hamster:': '๐น',
':rabbit:': '๐ฐ',
':wolf:': '๐บ',
':frog:': '๐ธ',
':tiger:': '๐ฏ',
':koala:': '๐จ',
':bear:': '๐ป',
':pig:': '๐ท',
':pig_nose:': '๐ฝ',
':cow:': '๐ฎ',
':boar:': '๐',
':monkey_face:': '๐ต',
':monkey:': '๐',
':horse:': '๐ด',
':racehorse:': '๐',
':camel:': '๐ซ',
':sheep:': '๐',
':elephant:': '๐',
':panda_face:': '๐ผ',
':snake:': '๐',
':bird:': '๐ฆ',
':baby_chick:': '๐ค',
':hatched_chick:': '๐ฅ',
':hatching_chick:': '๐ฃ',
':chicken:': '๐',
':penguin:': '๐ง',
':turtle:': '๐ข',
':bug:': '๐',
':honeybee:': '๐',
':ant:': '๐',
':beetle:': '๐',
':snail:': '๐',
':octopus:': '๐',
':tropical_fish:': '๐ ',
':fish:': '๐',
':whale:': '๐ณ',
':whale2:': '๐',
':dolphin:': '๐ฌ',
':cow2:': '๐',
':ram:': '๐',
':rat:': '๐',
':water_buffalo:': '๐',
':tiger2:': '๐
',
':rabbit2:': '๐',
':dragon:': '๐',
':goat:': '๐',
':rooster:': '๐',
':dog2:': '๐',
':pig2:': '๐',
':mouse2:': '๐',
':ox:': '๐',
':dragon_face:': '๐ฒ',
':blowfish:': '๐ก',
':crocodile:': '๐',
':dromedary_camel:': '๐ช',
':leopard:': '๐',
':cat2:': '๐',
':poodle:': '๐ฉ',
':paw_prints:': '๐พ',
':bouquet:': '๐',
':cherry_blossom:': '๐ธ',
':tulip:': '๐ท',
':four_leaf_clover:': '๐',
':rose:': '๐น',
':sunflower:': '๐ป',
':hibiscus:': '๐บ',
':maple_leaf:': '๐',
':leaves:': '๐',
':fallen_leaf:': '๐',
':herb:': '๐ฟ',
':mushroom:': '๐',
':cactus:': '๐ต',
':palm_tree:': '๐ด',
':evergreen_tree:': '๐ฒ',
':deciduous_tree:': '๐ณ',
':chestnut:': '๐ฐ',
':seedling:': '๐ฑ',
':blossom:': '๐ผ',
':ear_of_rice:': '๐พ',
':shell:': '๐',
':globe_with_meridians:': '๐',
':sun_with_face:': '๐',
':full_moon_with_face:': '๐',
':new_moon_with_face:': '๐',
':new_moon:': '๐',
':waxing_crescent_moon:': '๐',
':first_quarter_moon:': '๐',
':waxing_gibbous_moon:': '๐',
':full_moon:': '๐',
':waning_gibbous_moon:': '๐',
':last_quarter_moon:': '๐',
':waning_crescent_moon:': '๐',
':last_quarter_moon_with_face:': '๐',
':first_quarter_moon_with_face:': '๐',
':moon:': '๐',
':earth_africa:': '๐',
':earth_americas:': '๐',
':earth_asia:': '๐',
':volcano:': '๐',
':milky_way:': '๐',
':partly_sunny:': 'โ
',
':bamboo:': '๐',
':gift_heart:': '๐',
':dolls:': '๐',
':school_satchel:': '๐',
':mortar_board:': '๐',
':flags:': '๐',
':fireworks:': '๐',
':sparkler:': '๐',
':wind_chime:': '๐',
':rice_scene:': '๐',
':jack_o_lantern:': '๐',
':ghost:': '๐ป',
':santa:': '๐
',
':christmas_tree:': '๐',
':gift:': '๐',
':bell:': '๐',
':no_bell:': '๐',
':tanabata_tree:': '๐',
':tada:': '๐',
':confetti_ball:': '๐',
':balloon:': '๐',
':crystal_ball:': '๐ฎ',
':cd:': '๐ฟ',
':dvd:': '๐',
':floppy_disk:': '๐พ',
':camera:': '๐ท',
':video_camera:': '๐น',
':movie_camera:': '๐ฅ',
':computer:': '๐ป',
':tv:': '๐บ',
':iphone:': '๐ฑ',
':phone:': 'โ๏ธ',
':telephone:': 'โ๏ธ',
':telephone_receiver:': '๐',
':pager:': '๐',
':fax:': '๐ ',
':minidisc:': '๐ฝ',
':vhs:': '๐ผ',
':sound:': '๐',
':speaker:': '๐',
':mute:': '๐',
':loudspeaker:': '๐ข',
':mega:': '๐ฃ',
':hourglass:': 'โ',
':hourglass_flowing_sand:': 'โณ',
':alarm_clock:': 'โฐ',
':watch:': 'โ',
':radio:': '๐ป',
':satellite:': '๐ก',
':loop:': 'โฟ',
':mag:': '๐',
':mag_right:': '๐',
':unlock:': '๐',
':lock:': '๐',
':lock_with_ink_pen:': '๐',
':closed_lock_with_key:': '๐',
':key:': '๐',
':bulb:': '๐ก',
':flashlight:': '๐ฆ',
':high_brightness:': '๐',
':low_brightness:': '๐
',
':electric_plug:': '๐',
':battery:': '๐',
':calling:': '๐ฒ',
':email:': 'โ๏ธ',
':mailbox:': '๐ซ',
':postbox:': '๐ฎ',
':bath:': '๐',
':bathtub:': '๐',
':shower:': '๐ฟ',
':toilet:': '๐ฝ',
':wrench:': '๐ง',
':nut_and_bolt:': '๐ฉ',
':hammer:': '๐จ',
':seat:': '๐บ',
':moneybag:': '๐ฐ',
':yen:': '๐ด',
':dollar:': '๐ต',
':pound:': '๐ท',
':euro:': '๐ถ',
':credit_card:': '๐ณ',
':money_with_wings:': '๐ธ',
':e-mail:': '๐ง',
':inbox_tray:': '๐ฅ',
':outbox_tray:': '๐ค',
':envelope:': 'โ๏ธ',
':incoming_envelope:': '๐จ',
':postal_horn:': '๐ฏ',
':mailbox_closed:': '๐ช',
':mailbox_with_mail:': '๐ฌ',
':mailbox_with_no_mail:': '๐ญ',
':package:': '๐ฆ',
':door:': '๐ช',
':smoking:': '๐ฌ',
':bomb:': '๐ฃ',
':gun:': '๐ซ',
':hocho:': '๐ช',
':pill:': '๐',
':syringe:': '๐',
':page_facing_up:': '๐',
':page_with_curl:': '๐',
':bookmark_tabs:': '๐',
':bar_chart:': '๐',
':chart_with_upwards_trend:': '๐',
':chart_with_downwards_trend:': '๐',
':scroll:': '๐',
':clipboard:': '๐',
':calendar:': '๐',
':date:': '๐
',
':card_index:': '๐',
':file_folder:': '๐',
':open_file_folder:': '๐',
':scissors:': 'โ๏ธ',
':pushpin:': '๐',
':paperclip:': '๐',
':black_nib:': 'โ๏ธ',
':pencil2:': 'โ๏ธ',
':straight_ruler:': '๐',
':triangular_ruler:': '๐',
':closed_book:': '๐',
':green_book:': '๐',
':blue_book:': '๐',
':orange_book:': '๐',
':notebook:': '๐',
':notebook_with_decorative_cover:': '๐',
':ledger:': '๐',
':books:': '๐',
':bookmark:': '๐',
':name_badge:': '๐',
':microscope:': '๐ฌ',
':telescope:': '๐ญ',
':newspaper:': '๐ฐ',
':football:': '๐',
':basketball:': '๐',
':soccer:': 'โฝ',
':baseball:': 'โพ',
':tennis:': '๐พ',
':8ball:': '๐ฑ',
':rugby_football:': '๐',
':bowling:': '๐ณ',
':golf:': 'โณ',
':mountain_bicyclist:': '๐ต',
':bicyclist:': '๐ด',
':horse_racing:': '๐',
':snowboarder:': '๐',
':swimmer:': '๐',
':surfer:': '๐',
':ski:': '๐ฟ',
':spades:': 'โ ๏ธ',
':hearts:': 'โฅ๏ธ',
':clubs:': 'โฃ๏ธ',
':diamonds:': 'โฆ๏ธ',
':gem:': '๐',
':ring:': '๐',
':trophy:': '๐',
':musical_score:': '๐ผ',
':musical_keyboard:': '๐น',
':violin:': '๐ป',
':space_invader:': '๐พ',
':video_game:': '๐ฎ',
':black_joker:': '๐',
':flower_playing_cards:': '๐ด',
':game_die:': '๐ฒ',
':dart:': '๐ฏ',
':mahjong:': '๐',
':clapper:': '๐ฌ',
':memo:': '๐',
':pencil:': '๐',
':book:': '๐',
':art:': '๐จ',
':microphone:': '๐ค',
':headphones:': '๐ง',
':trumpet:': '๐บ',
':saxophone:': '๐ท',
':guitar:': '๐ธ',
':shoe:': '๐',
':sandal:': '๐ก',
':high_heel:': '๐ ',
':lipstick:': '๐',
':boot:': '๐ข',
':shirt:': '๐',
':tshirt:': '๐',
':necktie:': '๐',
':womans_clothes:': '๐',
':dress:': '๐',
':running_shirt_with_sash:': '๐ฝ',
':jeans:': '๐',
':kimono:': '๐',
':bikini:': '๐',
':ribbon:': '๐',
':tophat:': '๐ฉ',
':crown:': '๐',
':womans_hat:': '๐',
':mans_shoe:': '๐',
':closed_umbrella:': '๐',
':briefcase:': '๐ผ',
':handbag:': '๐',
':pouch:': '๐',
':purse:': '๐',
':eyeglasses:': '๐',
':fishing_pole_and_fish:': '๐ฃ',
':coffee:': 'โ',
':tea:': '๐ต',
':sake:': '๐ถ',
':baby_bottle:': '๐ผ',
':beer:': '๐บ',
':beers:': '๐ป',
':cocktail:': '๐ธ',
':tropical_drink:': '๐น',
':wine_glass:': '๐ท',
':fork_and_knife:': '๐ด',
':pizza:': '๐',
':hamburger:': '๐',
':fries:': '๐',
':poultry_leg:': '๐',
':meat_on_bone:': '๐',
':spaghetti:': '๐',
':curry:': '๐',
':fried_shrimp:': '๐ค',
':bento:': '๐ฑ',
':sushi:': '๐ฃ',
':fish_cake:': '๐ฅ',
':rice_ball:': '๐',
':rice_cracker:': '๐',
':rice:': '๐',
':ramen:': '๐',
':stew:': '๐ฒ',
':oden:': '๐ข',
':dango:': '๐ก',
':egg:': '๐ฅ',
':bread:': '๐',
':doughnut:': '๐ฉ',
':custard:': '๐ฎ',
':icecream:': '๐ฆ',
':ice_cream:': '๐จ',
':shaved_ice:': '๐ง',
':birthday:': '๐',
':cake:': '๐ฐ',
':cookie:': '๐ช',
':chocolate_bar:': '๐ซ',
':candy:': '๐ฌ',
':lollipop:': '๐ญ',
':honey_pot:': '๐ฏ',
':apple:': '๐',
':green_apple:': '๐',
':tangerine:': '๐',
':lemon:': '๐',
':cherries:': '๐',
':grapes:': '๐',
':watermelon:': '๐',
':strawberry:': '๐',
':peach:': '๐',
':melon:': '๐',
':banana:': '๐',
':pear:': '๐',
':pineapple:': '๐',
':sweet_potato:': '๐ ',
':eggplant:': '๐',
':tomato:': '๐
',
':corn:': '๐ฝ',
':house:': '๐ ',
':house_with_garden:': '๐ก',
':school:': '๐ซ',
':office:': '๐ข',
':post_office:': '๐ฃ',
':hospital:': '๐ฅ',
':bank:': '๐ฆ',
':convenience_store:': '๐ช',
':love_hotel:': '๐ฉ',
':hotel:': '๐จ',
':wedding:': '๐',
':church:': 'โช',
':department_store:': '๐ฌ',
':european_post_office:': '๐ค',
':city_sunrise:': '๐',
':city_sunset:': '๐',
':japanese_castle:': '๐ฏ',
':european_castle:': '๐ฐ',
':tent:': 'โบ',
':factory:': '๐ญ',
':tokyo_tower:': '๐ผ',
':japan:': '๐พ',
':mount_fuji:': '๐ป',
':sunrise_over_mountains:': '๐',
':sunrise:': '๐
',
':stars:': '๐ ',
':statue_of_liberty:': '๐ฝ',
':bridge_at_night:': '๐',
':carousel_horse:': '๐ ',
':rainbow:': '๐',
':ferris_wheel:': '๐ก',
':fountain:': 'โฒ',
':roller_coaster:': '๐ข',
':ship:': '๐ข',
':speedboat:': '๐ค',
':boat:': 'โต',
':sailboat:': 'โต',
':rowboat:': '๐ฃ',
':anchor:': 'โ',
':rocket:': '๐',
':airplane:': 'โ๏ธ',
':helicopter:': '๐',
':steam_locomotive:': '๐',
':tram:': '๐',
':mountain_railway:': '๐',
':bike:': '๐ฒ',
':aerial_tramway:': '๐ก',
':suspension_railway:': '๐',
':mountain_cableway:': '๐ ',
':tractor:': '๐',
':blue_car:': '๐',
':oncoming_automobile:': '๐',
':car:': '๐',
':red_car:': '๐',
':taxi:': '๐',
':oncoming_taxi:': '๐',
':articulated_lorry:': '๐',
':bus:': '๐',
':oncoming_bus:': '๐',
':rotating_light:': '๐จ',
':police_car:': '๐',
':oncoming_police_car:': '๐',
':fire_engine:': '๐',
':ambulance:': '๐',
':minibus:': '๐',
':truck:': '๐',
':train:': '๐',
':station:': '๐',
':train2:': '๐',
':bullettrain_front:': '๐
',
':bullettrain_side:': '๐',
':light_rail:': '๐',
':monorail:': '๐',
':railway_car:': '๐',
':trolleybus:': '๐',
':ticket:': '๐ซ',
':fuelpump:': 'โฝ',
':vertical_traffic_light:': '๐ฆ',
':traffic_light:': '๐ฅ',
':warning:': 'โ ๏ธ',
':construction:': '๐ง',
':beginner:': '๐ฐ',
':atm:': '๐ง',
':slot_machine:': '๐ฐ',
':busstop:': '๐',
':barber:': '๐',
':hotsprings:': 'โจ๏ธ',
':checkered_flag:': '๐',
':crossed_flags:': '๐',
':izakaya_lantern:': '๐ฎ',
':moyai:': '๐ฟ',
':circus_tent:': '๐ช',
':performing_arts:': '๐ญ',
':round_pushpin:': '๐',
':triangular_flag_on_post:': '๐ฉ',
':jp:': '๐ฏ๐ต',
':kr:': '๐ฐ๐ท',
':cn:': '๐จ๐ณ',
':us:': '๐บ๐ธ',
':fr:': '๐ซ๐ท',
':es:': '๐ช๐ธ',
':it:': '๐ฎ๐น',
':ru:': '๐ท๐บ',
':gb:': '๐ฌ๐ง',
':uk:': '๐ฌ๐ง',
':de:': '๐ฉ๐ช',
':one:': '1๏ธโฃ',
':two:': '2๏ธโฃ',
':three:': '3๏ธโฃ',
':four:': '4๏ธโฃ',
':five:': '5๏ธโฃ',
':six:': '6๏ธโฃ',
':seven:': '7๏ธโฃ',
':eight:': '8๏ธโฃ',
':nine:': '9๏ธโฃ',
':keycap_ten:': '๐',
':1234:': '๐ข',
':zero:': '0๏ธโฃ',
':hash:': '#๏ธโฃ',
':symbols:': '๐ฃ',
':arrow_backward:': 'โ๏ธ',
':arrow_down:': 'โฌ๏ธ',
':arrow_forward:': 'โถ๏ธ',
':arrow_left:': 'โฌ
๏ธ',
':capital_abcd:': '๐ ',
':abcd:': '๐ก',
':abc:': '๐ค',
':arrow_lower_left:': 'โ๏ธ',
':arrow_lower_right:': 'โ๏ธ',
':arrow_right:': 'โก๏ธ',
':arrow_up:': 'โฌ๏ธ',
':arrow_upper_left:': 'โ๏ธ',
':arrow_upper_right:': 'โ๏ธ',
':arrow_double_down:': 'โฌ',
':arrow_double_up:': 'โซ',
':arrow_down_small:': '๐ฝ',
':arrow_heading_down:': 'โคต๏ธ',
':arrow_heading_up:': 'โคด๏ธ',
':leftwards_arrow_with_hook:': 'โฉ๏ธ',
':arrow_right_hook:': 'โช๏ธ',
':left_right_arrow:': 'โ๏ธ',
':arrow_up_down:': 'โ๏ธ',
':arrow_up_small:': '๐ผ',
':arrows_clockwise:': '๐',
':arrows_counterclockwise:': '๐',
':rewind:': 'โช',
':fast_forward:': 'โฉ',
':information_source:': 'โน๏ธ',
':ok:': '๐',
':twisted_rightwards_arrows:': '๐',
':repeat:': '๐',
':repeat_one:': '๐',
':new:': '๐',
':top:': '๐',
':up:': '๐',
':cool:': '๐',
':free:': '๐',
':ng:': '๐',
':cinema:': '๐ฆ',
':koko:': '๐',
':signal_strength:': '๐ถ',
':u5272:': '๐น',
':u5408:': '๐ด',
':u55b6:': '๐บ',
':u6307:': '๐ฏ',
':u6708:': '๐ท๏ธ',
':u6709:': '๐ถ',
':u6e80:': '๐ต',
':u7121:': '๐',
':u7533:': '๐ธ',
':u7a7a:': '๐ณ',
':u7981:': '๐ฒ',
':sa:': '๐๏ธ',
':restroom:': '๐ป',
':mens:': '๐น',
':womens:': '๐บ',
':baby_symbol:': '๐ผ',
':no_smoking:': '๐ญ',
':parking:': '๐
ฟ๏ธ',
':wheelchair:': 'โฟ',
':metro:': '๐',
':baggage_claim:': '๐',
':accept:': '๐',
':wc:': '๐พ',
':potable_water:': '๐ฐ',
':put_litter_in_its_place:': '๐ฎ',
':secret:': 'ใ๏ธ',
':congratulations:': 'ใ๏ธ',
':m:': 'โ๏ธ',
':passport_control:': '๐',
':left_luggage:': '๐
',
':customs:': '๐',
':ideograph_advantage:': '๐',
':cl:': '๐',
':sos:': '๐',
':id:': '๐',
':no_entry_sign:': '๐ซ',
':underage:': '๐',
':no_mobile_phones:': '๐ต',
':do_not_litter:': '๐ฏ',
':non-potable_water:': '๐ฑ',
':no_bicycles:': '๐ณ',
':no_pedestrians:': '๐ท',
':children_crossing:': '๐ธ',
':no_entry:': 'โ',
':eight_spoked_asterisk:': 'โณ๏ธ',
':sparkle:': 'โ๏ธ',
':eight_pointed_black_star:': 'โด๏ธ',
':heart_decoration:': '๐',
':vs:': '๐',
':vibration_mode:': '๐ณ',
':mobile_phone_off:': '๐ด',
':chart:': '๐น',
':currency_exchange:': '๐ฑ',
':aries:': 'โ',
':taurus:': 'โ',
':gemini:': 'โ',
':cancer:': 'โ',
':leo:': 'โ',
':virgo:': 'โ',
':libra:': 'โ',
':scorpius:': 'โ',
':sagittarius:': 'โ',
':capricorn:': 'โ',
':aquarius:': 'โ',
':pisces:': 'โ',
':ophiuchus:': 'โ',
':six_pointed_star:': '๐ฏ',
':negative_squared_cross_mark:': 'โ',
':a:': '๐
ฐ๏ธ',
':b:': '๐
ฑ๏ธ',
':ab:': '๐',
':o2:': '๐
พ๏ธ',
':diamond_shape_with_a_dot_inside:': '๐ ',
':recycle:': 'โป๏ธ',
':end:': '๐',
':back:': '๐',
':on:': '๐',
':soon:': '๐',
':clock1:': '๐',
':clock130:': '๐',
':clock10:': '๐',
':clock1030:': '๐ฅ',
':clock11:': '๐',
':clock1130:': '๐ฆ',
':clock12:': '๐',
':clock1230:': '๐ง',
':clock2:': '๐',
':clock230:': '๐',
':clock3:': '๐',
':clock330:': '๐',
':clock4:': '๐',
':clock430:': '๐',
':clock5:': '๐',
':clock530:': '๐ ',
':clock6:': '๐',
':clock630:': '๐ก',
':clock7:': '๐',
':clock730:': '๐ข',
':clock8:': '๐',
':clock830:': '๐ฃ',
':clock9:': '๐',
':clock930:': '๐ค',
':heavy_dollar_sign:': '๐ฒ',
':copyright:': 'ยฉ๏ธ',
':registered:': 'ยฎ๏ธ',
':tm:': 'โข๏ธ',
':x:': 'โ',
':heavy_exclamation_mark:': 'โ',
':bangbang:': 'โผ๏ธ',
':interrobang:': 'โ๏ธ',
':o:': 'โญ',
':heavy_multiplication_x:': 'โ๏ธ',
':heavy_plus_sign:': 'โ',
':heavy_minus_sign:': 'โ',
':heavy_division_sign:': 'โ',
':white_flower:': '๐ฎ',
':100:': '๐ฏ',
':heavy_check_mark:': 'โ๏ธ',
':ballot_box_with_check:': 'โ๏ธ',
':radio_button:': '๐',
':link:': '๐',
':curly_loop:': 'โฐ',
':wavy_dash:': 'ใฐ๏ธ',
':part_alternation_mark:': 'ใฝ๏ธ',
};
/**
* A map of unicode characters to their string representation.
*/
export const mapStringToUnicode: { [key: string]: string } = {
':100:': '1f4af',
':1234:': '1f522',
':interrobang:': '2049',
':tm:': '2122',
':information_source:': '2139',
':left_right_arrow:': '2194',
':arrow_up_down:': '2195',
':arrow_upper_left:': '2196',
':arrow_upper_right:': '2197',
':arrow_lower_right:': '2198',
':arrow_lower_left:': '2199',
':keyboard:': '2328',
':sunny:': '2600',
':cloud:': '2601',
':umbrella:': '2602',
':snowman:': '2603',
':comet:': '2604',
':ballot_box_with_check:': '2611',
':umbrella_with_rain_drops:': '2614',
':coffee:': '2615',
':shamrock:': '2618',
':skull_and_crossbones:': '2620',
':radioactive_sign:': '2622',
':biohazard_sign:': '2623',
':orthodox_cross:': '2626',
':wheel_of_dharma:': '2638',
':white_frowning_face:': '2639',
':aries:': '2648',
':taurus:': '2649',
':sagittarius:': '2650',
':capricorn:': '2651',
':aquarius:': '2652',
':pisces:': '2653',
':spades:': '2660',
':clubs:': '2663',
':hearts:': '2665',
':diamonds:': '2666',
':hotsprings:': '2668',
':hammer_and_pick:': '2692',
':anchor:': '2693',
':crossed_swords:': '2694',
':scales:': '2696',
':alembic:': '2697',
':gear:': '2699',
':scissors:': '2702',
':white_check_mark:': '2705',
':airplane:': '2708',
':email:': '2709',
':envelope:': '2709',
':black_nib:': '2712',
':heavy_check_mark:': '2714',
':heavy_multiplication_x:': '2716',
':star_of_david:': '2721',
':sparkles:': '2728',
':eight_spoked_asterisk:': '2733',
':eight_pointed_black_star:': '2734',
':snowflake:': '2744',
':sparkle:': '2747',
':question:': '2753',
':grey_question:': '2754',
':grey_exclamation:': '2755',
':exclamation:': '2757',
':heavy_exclamation_mark:': '2757',
':heavy_heart_exclamation_mark_ornament:': '2763',
':heart:': '2764',
':heavy_plus_sign:': '2795',
':heavy_minus_sign:': '2796',
':heavy_division_sign:': '2797',
':arrow_heading_up:': '2934',
':arrow_heading_down:': '2935',
':wavy_dash:': '3030',
':congratulations:': '3297',
':secret:': '3299',
':copyright:': '00a9',
':registered:': '00ae',
':bangbang:': '203c',
':leftwards_arrow_with_hook:': '21a9',
':arrow_right_hook:': '21aa',
':watch:': '231a',
':hourglass:': '231b',
':eject:': '23cf',
':fast_forward:': '23e9',
':rewind:': '23ea',
':arrow_double_up:': '23eb',
':arrow_double_down:': '23ec',
':black_right_pointing_double_triangle_with_vertical_bar:': '23ed',
':black_left_pointing_double_triangle_with_vertical_bar:': '23ee',
':black_right_pointing_triangle_with_double_vertical_bar:': '23ef',
':alarm_clock:': '23f0',
':stopwatch:': '23f1',
':timer_clock:': '23f2',
':hourglass_flowing_sand:': '23f3',
':double_vertical_bar:': '23f8',
':black_square_for_stop:': '23f9',
':black_circle_for_record:': '23fa',
':m:': '24c2',
':black_small_square:': '25aa',
':white_small_square:': '25ab',
':arrow_forward:': '25b6',
':arrow_backward:': '25c0',
':white_medium_square:': '25fb',
':black_medium_square:': '25fc',
':white_medium_small_square:': '25fd',
':black_medium_small_square:': '25fe',
':phone:': '260e',
':telephone:': '260e',
':point_up:': '261d',
':star_and_crescent:': '262a',
':peace_symbol:': '262e',
':yin_yang:': '262f',
':relaxed:': '263a',
':gemini:': '264a',
':cancer:': '264b',
':leo:': '264c',
':virgo:': '264d',
':libra:': '264e',
':scorpius:': '264f',
':recycle:': '267b',
':wheelchair:': '267f',
':atom_symbol:': '269b',
':fleur_de_lis:': '269c',
':warning:': '26a0',
':zap:': '26a1',
':white_circle:': '26aa',
':black_circle:': '26ab',
':coffin:': '26b0',
':funeral_urn:': '26b1',
':soccer:': '26bd',
':baseball:': '26be',
':snowman_without_snow:': '26c4',
':partly_sunny:': '26c5',
':thunder_cloud_and_rain:': '26c8',
':ophiuchus:': '26ce',
':pick:': '26cf',
':helmet_with_white_cross:': '26d1',
':chains:': '26d3',
':no_entry:': '26d4',
':shinto_shrine:': '26e9',
':church:': '26ea',
':mountain:': '26f0',
':umbrella_on_ground:': '26f1',
':fountain:': '26f2',
':golf:': '26f3',
':ferry:': '26f4',
':boat:': '26f5',
':sailboat:': '26f5',
':skier:': '26f7',
':ice_skate:': '26f8',
':person_with_ball:': '26f9',
':tent:': '26fa',
':fuelpump:': '26fd',
':fist:': '270a',
':hand:': '270b',
':raised_hand:': '270b',
':v:': '270c',
':writing_hand:': '270d',
':pencil2:': '270f',
':latin_cross:': '271d',
':x:': '274c',
':negative_squared_cross_mark:': '274e',
':arrow_right:': '27a1',
':curly_loop:': '27b0',
':loop:': '27bf',
':arrow_left:': '2b05',
':arrow_up:': '2b06',
':arrow_down:': '2b07',
':black_large_square:': '2b1b',
':white_large_square:': '2b1c',
':star:': '2b50',
':o:': '2b55',
':part_alternation_mark:': '303d',
':mahjong:': '1f004',
':black_joker:': '1f0cf',
':a:': '1f170',
':b:': '1f171',
':o2:': '1f17e',
':parking:': '1f17f',
':ab:': '1f18e',
':cl:': '1f191',
':cool:': '1f192',
':free:': '1f193',
':id:': '1f194',
':new:': '1f195',
':ng:': '1f196',
':ok:': '1f197',
':sos:': '1f198',
':up:': '1f199',
':vs:': '1f19a',
':koko:': '1f201',
':sa:': '1f202',
':u7121:': '1f21a',
':u6307:': '1f22f',
':u7981:': '1f232',
':u7a7a:': '1f233',
':u5408:': '1f234',
':u6e80:': '1f235',
':u6709:': '1f236',
':u6708:': '1f237',
':u7533:': '1f238',
':u5272:': '1f239',
':u55b6:': '1f23a',
':ideograph_advantage:': '1f250',
':accept:': '1f251',
':cyclone:': '1f300',
':foggy:': '1f301',
':closed_umbrella:': '1f302',
':night_with_stars:': '1f303',
':sunrise_over_mountains:': '1f304',
':sunrise:': '1f305',
':city_sunset:': '1f306',
':city_sunrise:': '1f307',
':rainbow:': '1f308',
':bridge_at_night:': '1f309',
':ocean:': '1f30a',
':volcano:': '1f30b',
':milky_way:': '1f30c',
':earth_africa:': '1f30d',
':earth_americas:': '1f30e',
':earth_asia:': '1f30f',
':globe_with_meridians:': '1f310',
':new_moon:': '1f311',
':waxing_crescent_moon:': '1f312',
':first_quarter_moon:': '1f313',
':moon:': '1f314',
':waxing_gibbous_moon:': '1f314',
':full_moon:': '1f315',
':waning_gibbous_moon:': '1f316',
':last_quarter_moon:': '1f317',
':waning_crescent_moon:': '1f318',
':crescent_moon:': '1f319',
':new_moon_with_face:': '1f31a',
':first_quarter_moon_with_face:': '1f31b',
':last_quarter_moon_with_face:': '1f31c',
':full_moon_with_face:': '1f31d',
':sun_with_face:': '1f31e',
':star2:': '1f31f',
':stars:': '1f320',
':thermometer:': '1f321',
':mostly_sunny:': '1f324',
':sun_small_cloud:': '1f324',
':barely_sunny:': '1f325',
':sun_behind_cloud:': '1f325',
':partly_sunny_rain:': '1f326',
':sun_behind_rain_cloud:': '1f326',
':rain_cloud:': '1f327',
':snow_cloud:': '1f328',
':lightning:': '1f329',
':lightning_cloud:': '1f329',
':tornado:': '1f32a',
':tornado_cloud:': '1f32a',
':fog:': '1f32b',
':wind_blowing_face:': '1f32c',
':hotdog:': '1f32d',
':taco:': '1f32e',
':burrito:': '1f32f',
':chestnut:': '1f330',
':seedling:': '1f331',
':evergreen_tree:': '1f332',
':deciduous_tree:': '1f333',
':palm_tree:': '1f334',
':cactus:': '1f335',
':hot_pepper:': '1f336',
':tulip:': '1f337',
':cherry_blossom:': '1f338',
':rose:': '1f339',
':hibiscus:': '1f33a',
':sunflower:': '1f33b',
':blossom:': '1f33c',
':corn:': '1f33d',
':ear_of_rice:': '1f33e',
':herb:': '1f33f',
':four_leaf_clover:': '1f340',
':maple_leaf:': '1f341',
':fallen_leaf:': '1f342',
':leaves:': '1f343',
':mushroom:': '1f344',
':tomato:': '1f345',
':eggplant:': '1f346',
':grapes:': '1f347',
':melon:': '1f348',
':watermelon:': '1f349',
':tangerine:': '1f34a',
':lemon:': '1f34b',
':banana:': '1f34c',
':pineapple:': '1f34d',
':apple:': '1f34e',
':green_apple:': '1f34f',
':pear:': '1f350',
':peach:': '1f351',
':cherries:': '1f352',
':strawberry:': '1f353',
':hamburger:': '1f354',
':pizza:': '1f355',
':meat_on_bone:': '1f356',
':poultry_leg:': '1f357',
':rice_cracker:': '1f358',
':rice_ball:': '1f359',
':rice:': '1f35a',
':curry:': '1f35b',
':ramen:': '1f35c',
':spaghetti:': '1f35d',
':bread:': '1f35e',
':fries:': '1f35f',
':sweet_potato:': '1f360',
':dango:': '1f361',
':oden:': '1f362',
':sushi:': '1f363',
':fried_shrimp:': '1f364',
':fish_cake:': '1f365',
':icecream:': '1f366',
':shaved_ice:': '1f367',
':ice_cream:': '1f368',
':doughnut:': '1f369',
':cookie:': '1f36a',
':chocolate_bar:': '1f36b',
':candy:': '1f36c',
':lollipop:': '1f36d',
':custard:': '1f36e',
':honey_pot:': '1f36f',
':cake:': '1f370',
':bento:': '1f371',
':stew:': '1f372',
':egg:': '1f373',
':fork_and_knife:': '1f374',
':tea:': '1f375',
':sake:': '1f376',
':wine_glass:': '1f377',
':cocktail:': '1f378',
':tropical_drink:': '1f379',
':beer:': '1f37a',
':beers:': '1f37b',
':baby_bottle:': '1f37c',
':knife_fork_plate:': '1f37d',
':champagne:': '1f37e',
':popcorn:': '1f37f',
':ribbon:': '1f380',
':gift:': '1f381',
':birthday:': '1f382',
':jack_o_lantern:': '1f383',
':christmas_tree:': '1f384',
':santa:': '1f385',
':fireworks:': '1f386',
':sparkler:': '1f387',
':balloon:': '1f388',
':tada:': '1f389',
':confetti_ball:': '1f38a',
':tanabata_tree:': '1f38b',
':crossed_flags:': '1f38c',
':bamboo:': '1f38d',
':dolls:': '1f38e',
':flags:': '1f38f',
':wind_chime:': '1f390',
':rice_scene:': '1f391',
':school_satchel:': '1f392',
':mortar_board:': '1f393',
':medal:': '1f396',
':reminder_ribbon:': '1f397',
':studio_microphone:': '1f399',
':level_slider:': '1f39a',
':control_knobs:': '1f39b',
':film_frames:': '1f39e',
':admission_tickets:': '1f39f',
':carousel_horse:': '1f3a0',
':ferris_wheel:': '1f3a1',
':roller_coaster:': '1f3a2',
':fishing_pole_and_fish:': '1f3a3',
':microphone:': '1f3a4',
':movie_camera:': '1f3a5',
':cinema:': '1f3a6',
':headphones:': '1f3a7',
':art:': '1f3a8',
':tophat:': '1f3a9',
':circus_tent:': '1f3aa',
':ticket:': '1f3ab',
':clapper:': '1f3ac',
':performing_arts:': '1f3ad',
':video_game:': '1f3ae',
':dart:': '1f3af',
':slot_machine:': '1f3b0',
':8ball:': '1f3b1',
':game_die:': '1f3b2',
':bowling:': '1f3b3',
':flower_playing_cards:': '1f3b4',
':musical_note:': '1f3b5',
':notes:': '1f3b6',
':saxophone:': '1f3b7',
':guitar:': '1f3b8',
':musical_keyboard:': '1f3b9',
':trumpet:': '1f3ba',
':violin:': '1f3bb',
':musical_score:': '1f3bc',
':running_shirt_with_sash:': '1f3bd',
':tennis:': '1f3be',
':ski:': '1f3bf',
':basketball:': '1f3c0',
':checkered_flag:': '1f3c1',
':snowboarder:': '1f3c2',
':runner:': '1f3c3',
':running:': '1f3c3',
':surfer:': '1f3c4',
':sports_medal:': '1f3c5',
':trophy:': '1f3c6',
':horse_racing:': '1f3c7',
':football:': '1f3c8',
':rugby_football:': '1f3c9',
':swimmer:': '1f3ca',
':weight_lifter:': '1f3cb',
':golfer:': '1f3cc',
':racing_motorcycle:': '1f3cd',
':racing_car:': '1f3ce',
':cricket_bat_and_ball:': '1f3cf',
':volleyball:': '1f3d0',
':field_hockey_stick_and_ball:': '1f3d1',
':ice_hockey_stick_and_puck:': '1f3d2',
':table_tennis_paddle_and_ball:': '1f3d3',
':snow_capped_mountain:': '1f3d4',
':camping:': '1f3d5',
':beach_with_umbrella:': '1f3d6',
':building_construction:': '1f3d7',
':house_buildings:': '1f3d8',
':cityscape:': '1f3d9',
':derelict_house_building:': '1f3da',
':classical_building:': '1f3db',
':desert:': '1f3dc',
':desert_island:': '1f3dd',
':national_park:': '1f3de',
':stadium:': '1f3df',
':house:': '1f3e0',
':house_with_garden:': '1f3e1',
':office:': '1f3e2',
':post_office:': '1f3e3',
':european_post_office:': '1f3e4',
':hospital:': '1f3e5',
':bank:': '1f3e6',
':atm:': '1f3e7',
':hotel:': '1f3e8',
':love_hotel:': '1f3e9',
':convenience_store:': '1f3ea',
':school:': '1f3eb',
':department_store:': '1f3ec',
':factory:': '1f3ed',
':izakaya_lantern:': '1f3ee',
':lantern:': '1f3ee',
':japanese_castle:': '1f3ef',
':european_castle:': '1f3f0',
':waving_white_flag:': '1f3f3',
':waving_black_flag:': '1f3f4',
':rosette:': '1f3f5',
':label:': '1f3f7',
':badminton_racquet_and_shuttlecock:': '1f3f8',
':bow_and_arrow:': '1f3f9',
':amphora:': '1f3fa',
':skin-tone-2:': '1f3fb',
':skin-tone-3:': '1f3fc',
':skin-tone-4:': '1f3fd',
':skin-tone-5:': '1f3fe',
':skin-tone-6:': '1f3ff',
':rat:': '1f400',
':mouse2:': '1f401',
':ox:': '1f402',
':water_buffalo:': '1f403',
':cow2:': '1f404',
':tiger2:': '1f405',
':leopard:': '1f406',
':rabbit2:': '1f407',
':cat2:': '1f408',
':dragon:': '1f409',
':crocodile:': '1f40a',
':whale2:': '1f40b',
':snail:': '1f40c',
':snake:': '1f40d',
':racehorse:': '1f40e',
':ram:': '1f40f',
':goat:': '1f410',
':sheep:': '1f411',
':monkey:': '1f412',
':rooster:': '1f413',
':chicken:': '1f414',
':dog2:': '1f415',
':pig2:': '1f416',
':boar:': '1f417',
':elephant:': '1f418',
':octopus:': '1f419',
':shell:': '1f41a',
':bug:': '1f41b',
':ant:': '1f41c',
':bee:': '1f41d',
':honeybee:': '1f41d',
':beetle:': '1f41e',
':fish:': '1f41f',
':tropical_fish:': '1f420',
':blowfish:': '1f421',
':turtle:': '1f422',
':hatching_chick:': '1f423',
':baby_chick:': '1f424',
':hatched_chick:': '1f425',
':bird:': '1f426',
':penguin:': '1f427',
':koala:': '1f428',
':poodle:': '1f429',
':dromedary_camel:': '1f42a',
':camel:': '1f42b',
':dolphin:': '1f42c',
':flipper:': '1f42c',
':mouse:': '1f42d',
':cow:': '1f42e',
':tiger:': '1f42f',
':rabbit:': '1f430',
':cat:': '1f431',
':dragon_face:': '1f432',
':whale:': '1f433',
':horse:': '1f434',
':monkey_face:': '1f435',
':dog:': '1f436',
':pig:': '1f437',
':frog:': '1f438',
':hamster:': '1f439',
':wolf:': '1f43a',
':bear:': '1f43b',
':panda_face:': '1f43c',
':pig_nose:': '1f43d',
':feet:': '1f43e',
':paw_prints:': '1f43e',
':chipmunk:': '1f43f',
':eyes:': '1f440',
':eye:': '1f441',
':ear:': '1f442',
':nose:': '1f443',
':lips:': '1f444',
':tongue:': '1f445',
':point_up_2:': '1f446',
':point_down:': '1f447',
':point_left:': '1f448',
':point_right:': '1f449',
':facepunch:': '1f44a',
':punch:': '1f44a',
':wave:': '1f44b',
':ok_hand:': '1f44c',
':+1:': '1f44d',
':thumbsup:': '1f44d',
':-1:': '1f44e',
':thumbsdown:': '1f44e',
':clap:': '1f44f',
':open_hands:': '1f450',
':crown:': '1f451',
':womans_hat:': '1f452',
':eyeglasses:': '1f453',
':necktie:': '1f454',
':shirt:': '1f455',
':tshirt:': '1f455',
':jeans:': '1f456',
':dress:': '1f457',
':kimono:': '1f458',
':bikini:': '1f459',
':womans_clothes:': '1f45a',
':purse:': '1f45b',
':handbag:': '1f45c',
':pouch:': '1f45d',
':mans_shoe:': '1f45e',
':shoe:': '1f45e',
':athletic_shoe:': '1f45f',
':high_heel:': '1f460',
':sandal:': '1f461',
':boot:': '1f462',
':footprints:': '1f463',
':bust_in_silhouette:': '1f464',
':busts_in_silhouette:': '1f465',
':boy:': '1f466',
':girl:': '1f467',
':man:': '1f468',
':woman:': '1f469',
':family:': '1f46a',
':man-woman-boy:': '1f46a',
':couple:': '1f46b',
':man_and_woman_holding_hands:': '1f46b',
':two_men_holding_hands:': '1f46c',
':two_women_holding_hands:': '1f46d',
':cop:': '1f46e',
':dancers:': '1f46f',
':bride_with_veil:': '1f470',
':person_with_blond_hair:': '1f471',
':man_with_gua_pi_mao:': '1f472',
':man_with_turban:': '1f473',
':older_man:': '1f474',
':older_woman:': '1f475',
':baby:': '1f476',
':construction_worker:': '1f477',
':princess:': '1f478',
':japanese_ogre:': '1f479',
':japanese_goblin:': '1f47a',
':ghost:': '1f47b',
':angel:': '1f47c',
':alien:': '1f47d',
':space_invader:': '1f47e',
':imp:': '1f47f',
':skull:': '1f480',
':information_desk_person:': '1f481',
':guardsman:': '1f482',
':dancer:': '1f483',
':lipstick:': '1f484',
':nail_care:': '1f485',
':massage:': '1f486',
':haircut:': '1f487',
':barber:': '1f488',
':syringe:': '1f489',
':pill:': '1f48a',
':kiss:': '1f48b',
':love_letter:': '1f48c',
':ring:': '1f48d',
':gem:': '1f48e',
':couplekiss:': '1f48f',
':bouquet:': '1f490',
':couple_with_heart:': '1f491',
':wedding:': '1f492',
':heartbeat:': '1f493',
':broken_heart:': '1f494',
':two_hearts:': '1f495',
':sparkling_heart:': '1f496',
':heartpulse:': '1f497',
':cupid:': '1f498',
':blue_heart:': '1f499',
':green_heart:': '1f49a',
':yellow_heart:': '1f49b',
':purple_heart:': '1f49c',
':gift_heart:': '1f49d',
':revolving_hearts:': '1f49e',
':heart_decoration:': '1f49f',
':diamond_shape_with_a_dot_inside:': '1f4a0',
':bulb:': '1f4a1',
':anger:': '1f4a2',
':bomb:': '1f4a3',
':zzz:': '1f4a4',
':boom:': '1f4a5',
':collision:': '1f4a5',
':sweat_drops:': '1f4a6',
':droplet:': '1f4a7',
':dash:': '1f4a8',
':hankey:': '1f4a9',
':poop:': '1f4a9',
':shit:': '1f4a9',
':muscle:': '1f4aa',
':dizzy:': '1f4ab',
':speech_balloon:': '1f4ac',
':thought_balloon:': '1f4ad',
':white_flower:': '1f4ae',
':moneybag:': '1f4b0',
':currency_exchange:': '1f4b1',
':heavy_dollar_sign:': '1f4b2',
':credit_card:': '1f4b3',
':yen:': '1f4b4',
':dollar:': '1f4b5',
':euro:': '1f4b6',
':pound:': '1f4b7',
':money_with_wings:': '1f4b8',
':chart:': '1f4b9',
':seat:': '1f4ba',
':computer:': '1f4bb',
':briefcase:': '1f4bc',
':minidisc:': '1f4bd',
':floppy_disk:': '1f4be',
':cd:': '1f4bf',
':dvd:': '1f4c0',
':file_folder:': '1f4c1',
':open_file_folder:': '1f4c2',
':page_with_curl:': '1f4c3',
':page_facing_up:': '1f4c4',
':date:': '1f4c5',
':calendar:': '1f4c6',
':card_index:': '1f4c7',
':chart_with_upwards_trend:': '1f4c8',
':chart_with_downwards_trend:': '1f4c9',
':bar_chart:': '1f4ca',
':clipboard:': '1f4cb',
':pushpin:': '1f4cc',
':round_pushpin:': '1f4cd',
':paperclip:': '1f4ce',
':straight_ruler:': '1f4cf',
':triangular_ruler:': '1f4d0',
':bookmark_tabs:': '1f4d1',
':ledger:': '1f4d2',
':notebook:': '1f4d3',
':notebook_with_decorative_cover:': '1f4d4',
':closed_book:': '1f4d5',
':book:': '1f4d6',
':open_book:': '1f4d6',
':green_book:': '1f4d7',
':blue_book:': '1f4d8',
':orange_book:': '1f4d9',
':books:': '1f4da',
':name_badge:': '1f4db',
':scroll:': '1f4dc',
':memo:': '1f4dd',
':pencil:': '1f4dd',
':telephone_receiver:': '1f4de',
':pager:': '1f4df',
':fax:': '1f4e0',
':satellite_antenna:': '1f4e1',
':loudspeaker:': '1f4e2',
':mega:': '1f4e3',
':outbox_tray:': '1f4e4',
':inbox_tray:': '1f4e5',
':package:': '1f4e6',
':e-mail:': '1f4e7',
':incoming_envelope:': '1f4e8',
':envelope_with_arrow:': '1f4e9',
':mailbox_closed:': '1f4ea',
':mailbox:': '1f4eb',
':mailbox_with_mail:': '1f4ec',
':mailbox_with_no_mail:': '1f4ed',
':postbox:': '1f4ee',
':postal_horn:': '1f4ef',
':newspaper:': '1f4f0',
':iphone:': '1f4f1',
':calling:': '1f4f2',
':vibration_mode:': '1f4f3',
':mobile_phone_off:': '1f4f4',
':no_mobile_phones:': '1f4f5',
':signal_strength:': '1f4f6',
':camera:': '1f4f7',
':camera_with_flash:': '1f4f8',
':video_camera:': '1f4f9',
':tv:': '1f4fa',
':radio:': '1f4fb',
':vhs:': '1f4fc',
':film_projector:': '1f4fd',
':prayer_beads:': '1f4ff',
':twisted_rightwards_arrows:': '1f500',
':repeat:': '1f501',
':repeat_one:': '1f502',
':arrows_clockwise:': '1f503',
':arrows_counterclockwise:': '1f504',
':low_brightness:': '1f505',
':high_brightness:': '1f506',
':mute:': '1f507',
':speaker:': '1f508',
':sound:': '1f509',
':loud_sound:': '1f50a',
':battery:': '1f50b',
':electric_plug:': '1f50c',
':mag:': '1f50d',
':mag_right:': '1f50e',
':lock_with_ink_pen:': '1f50f',
':closed_lock_with_key:': '1f510',
':key:': '1f511',
':lock:': '1f512',
':unlock:': '1f513',
':bell:': '1f514',
':no_bell:': '1f515',
':bookmark:': '1f516',
':link:': '1f517',
':radio_button:': '1f518',
':back:': '1f519',
':end:': '1f51a',
':on:': '1f51b',
':soon:': '1f51c',
':top:': '1f51d',
':underage:': '1f51e',
':keycap_ten:': '1f51f',
':capital_abcd:': '1f520',
':abcd:': '1f521',
':symbols:': '1f523',
':abc:': '1f524',
':fire:': '1f525',
':flashlight:': '1f526',
':wrench:': '1f527',
':hammer:': '1f528',
':nut_and_bolt:': '1f529',
':hocho:': '1f52a',
':knife:': '1f52a',
':gun:': '1f52b',
':microscope:': '1f52c',
':telescope:': '1f52d',
':crystal_ball:': '1f52e',
':six_pointed_star:': '1f52f',
':beginner:': '1f530',
':trident:': '1f531',
':black_square_button:': '1f532',
':white_square_button:': '1f533',
':red_circle:': '1f534',
':large_blue_circle:': '1f535',
':large_orange_diamond:': '1f536',
':large_blue_diamond:': '1f537',
':small_orange_diamond:': '1f538',
':small_blue_diamond:': '1f539',
':small_red_triangle:': '1f53a',
':small_red_triangle_down:': '1f53b',
':arrow_up_small:': '1f53c',
':arrow_down_small:': '1f53d',
':om_symbol:': '1f549',
':dove_of_peace:': '1f54a',
':kaaba:': '1f54b',
':mosque:': '1f54c',
':synagogue:': '1f54d',
':menorah_with_nine_branches:': '1f54e',
':clock1:': '1f550',
':clock2:': '1f551',
':clock3:': '1f552',
':clock4:': '1f553',
':clock5:': '1f554',
':clock6:': '1f555',
':clock7:': '1f556',
':clock8:': '1f557',
':clock9:': '1f558',
':clock10:': '1f559',
':clock11:': '1f55a',
':clock12:': '1f55b',
':clock130:': '1f55c',
':clock230:': '1f55d',
':clock330:': '1f55e',
':clock430:': '1f55f',
':clock530:': '1f560',
':clock630:': '1f561',
':clock730:': '1f562',
':clock830:': '1f563',
':clock930:': '1f564',
':clock1030:': '1f565',
':clock1130:': '1f566',
':clock1230:': '1f567',
':candle:': '1f56f',
':mantelpiece_clock:': '1f570',
':hole:': '1f573',
':man_in_business_suit_levitating:': '1f574',
':sleuth_or_spy:': '1f575',
':dark_sunglasses:': '1f576',
':spider:': '1f577',
':spider_web:': '1f578',
':joystick:': '1f579',
':linked_paperclips:': '1f587',
':lower_left_ballpoint_pen:': '1f58a',
':lower_left_fountain_pen:': '1f58b',
':lower_left_paintbrush:': '1f58c',
':lower_left_crayon:': '1f58d',
':raised_hand_with_fingers_splayed:': '1f590',
':middle_finger:': '1f595',
':reversed_hand_with_middle_finger_extended:': '1f595',
':spock-hand:': '1f596',
':desktop_computer:': '1f5a5',
':printer:': '1f5a8',
':three_button_mouse:': '1f5b1',
':trackball:': '1f5b2',
':frame_with_picture:': '1f5bc',
':card_index_dividers:': '1f5c2',
':card_file_box:': '1f5c3',
':file_cabinet:': '1f5c4',
':wastebasket:': '1f5d1',
':spiral_note_pad:': '1f5d2',
':spiral_calendar_pad:': '1f5d3',
':compression:': '1f5dc',
':old_key:': '1f5dd',
':rolled_up_newspaper:': '1f5de',
':dagger_knife:': '1f5e1',
':speaking_head_in_silhouette:': '1f5e3',
':left_speech_bubble:': '1f5e8',
':right_anger_bubble:': '1f5ef',
':ballot_box_with_ballot:': '1f5f3',
':world_map:': '1f5fa',
':mount_fuji:': '1f5fb',
':tokyo_tower:': '1f5fc',
':statue_of_liberty:': '1f5fd',
':japan:': '1f5fe',
':moyai:': '1f5ff',
':grinning:': '1f600',
':grin:': '1f601',
':joy:': '1f602',
':smiley:': '1f603',
':smile:': '1f604',
':sweat_smile:': '1f605',
':laughing:': '1f606',
':satisfied:': '1f606',
':innocent:': '1f607',
':smiling_imp:': '1f608',
':wink:': '1f609',
':blush:': '1f60a',
':yum:': '1f60b',
':relieved:': '1f60c',
':heart_eyes:': '1f60d',
':sunglasses:': '1f60e',
':smirk:': '1f60f',
':neutral_face:': '1f610',
':expressionless:': '1f611',
':unamused:': '1f612',
':sweat:': '1f613',
':pensive:': '1f614',
':confused:': '1f615',
':confounded:': '1f616',
':kissing:': '1f617',
':kissing_heart:': '1f618',
':kissing_smiling_eyes:': '1f619',
':kissing_closed_eyes:': '1f61a',
':stuck_out_tongue:': '1f61b',
':stuck_out_tongue_winking_eye:': '1f61c',
':stuck_out_tongue_closed_eyes:': '1f61d',
':disappointed:': '1f61e',
':worried:': '1f61f',
':angry:': '1f620',
':rage:': '1f621',
':cry:': '1f622',
':persevere:': '1f623',
':triumph:': '1f624',
':disappointed_relieved:': '1f625',
':frowning:': '1f626',
':anguished:': '1f627',
':fearful:': '1f628',
':weary:': '1f629',
':sleepy:': '1f62a',
':tired_face:': '1f62b',
':grimacing:': '1f62c',
':sob:': '1f62d',
':open_mouth:': '1f62e',
':hushed:': '1f62f',
':cold_sweat:': '1f630',
':scream:': '1f631',
':astonished:': '1f632',
':flushed:': '1f633',
':sleeping:': '1f634',
':dizzy_face:': '1f635',
':no_mouth:': '1f636',
':mask:': '1f637',
':smile_cat:': '1f638',
':joy_cat:': '1f639',
':smiley_cat:': '1f63a',
':heart_eyes_cat:': '1f63b',
':smirk_cat:': '1f63c',
':kissing_cat:': '1f63d',
':pouting_cat:': '1f63e',
':crying_cat_face:': '1f63f',
':scream_cat:': '1f640',
':slightly_frowning_face:': '1f641',
':slightly_smiling_face:': '1f642',
':upside_down_face:': '1f643',
':face_with_rolling_eyes:': '1f644',
':no_good:': '1f645',
':ok_woman:': '1f646',
':bow:': '1f647',
':see_no_evil:': '1f648',
':hear_no_evil:': '1f649',
':speak_no_evil:': '1f64a',
':raising_hand:': '1f64b',
':raised_hands:': '1f64c',
':person_frowning:': '1f64d',
':person_with_pouting_face:': '1f64e',
':pray:': '1f64f',
':rocket:': '1f680',
':helicopter:': '1f681',
':steam_locomotive:': '1f682',
':railway_car:': '1f683',
':bullettrain_side:': '1f684',
':bullettrain_front:': '1f685',
':train2:': '1f686',
':metro:': '1f687',
':light_rail:': '1f688',
':station:': '1f689',
':tram:': '1f68a',
':train:': '1f68b',
':bus:': '1f68c',
':oncoming_bus:': '1f68d',
':trolleybus:': '1f68e',
':busstop:': '1f68f',
':minibus:': '1f690',
':ambulance:': '1f691',
':fire_engine:': '1f692',
':police_car:': '1f693',
':oncoming_police_car:': '1f694',
':taxi:': '1f695',
':oncoming_taxi:': '1f696',
':car:': '1f697',
':red_car:': '1f697',
':oncoming_automobile:': '1f698',
':blue_car:': '1f699',
':truck:': '1f69a',
':articulated_lorry:': '1f69b',
':tractor:': '1f69c',
':monorail:': '1f69d',
':mountain_railway:': '1f69e',
':suspension_railway:': '1f69f',
':mountain_cableway:': '1f6a0',
':aerial_tramway:': '1f6a1',
':ship:': '1f6a2',
':rowboat:': '1f6a3',
':speedboat:': '1f6a4',
':traffic_light:': '1f6a5',
':vertical_traffic_light:': '1f6a6',
':construction:': '1f6a7',
':rotating_light:': '1f6a8',
':triangular_flag_on_post:': '1f6a9',
':door:': '1f6aa',
':no_entry_sign:': '1f6ab',
':smoking:': '1f6ac',
':no_smoking:': '1f6ad',
':put_litter_in_its_place:': '1f6ae',
':do_not_litter:': '1f6af',
':potable_water:': '1f6b0',
':non-potable_water:': '1f6b1',
':bike:': '1f6b2',
':no_bicycles:': '1f6b3',
':bicyclist:': '1f6b4',
':mountain_bicyclist:': '1f6b5',
':walking:': '1f6b6',
':no_pedestrians:': '1f6b7',
':children_crossing:': '1f6b8',
':mens:': '1f6b9',
':womens:': '1f6ba',
':restroom:': '1f6bb',
':baby_symbol:': '1f6bc',
':toilet:': '1f6bd',
':wc:': '1f6be',
':shower:': '1f6bf',
':bath:': '1f6c0',
':bathtub:': '1f6c1',
':passport_control:': '1f6c2',
':customs:': '1f6c3',
':baggage_claim:': '1f6c4',
':left_luggage:': '1f6c5',
':couch_and_lamp:': '1f6cb',
':sleeping_accommodation:': '1f6cc',
':shopping_bags:': '1f6cd',
':bellhop_bell:': '1f6ce',
':bed:': '1f6cf',
':place_of_worship:': '1f6d0',
':hammer_and_wrench:': '1f6e0',
':shield:': '1f6e1',
':oil_drum:': '1f6e2',
':motorway:': '1f6e3',
':railway_track:': '1f6e4',
':motor_boat:': '1f6e5',
':small_airplane:': '1f6e9',
':airplane_departure:': '1f6eb',
':airplane_arriving:': '1f6ec',
':satellite:': '1f6f0',
':passenger_ship:': '1f6f3',
':zipper_mouth_face:': '1f910',
':money_mouth_face:': '1f911',
':face_with_thermometer:': '1f912',
':nerd_face:': '1f913',
':thinking_face:': '1f914',
':face_with_head_bandage:': '1f915',
':robot_face:': '1f916',
':hugging_face:': '1f917',
':the_horns:': '1f918',
':sign_of_the_horns:': '1f918',
':crab:': '1f980',
':lion_face:': '1f981',
':scorpion:': '1f982',
':turkey:': '1f983',
':unicorn_face:': '1f984',
':cheese_wedge:': '1f9c0',
':hash:': '0023-20e3',
':keycap_star:': '002a-20e3',
':zero:': '0030-20e3',
':one:': '0031-20e3',
':two:': '0032-20e3',
':three:': '0033-20e3',
':four:': '0034-20e3',
':five:': '0035-20e3',
':six:': '0036-20e3',
':seven:': '0037-20e3',
':eight:': '0038-20e3',
':nine:': '0039-20e3',
':man-man-boy:': '1f468-200d-1f468-200d-1f466',
':man-man-boy-boy:': '1f468-200d-1f468-200d-1f466-200d-1f466',
':man-man-girl:': '1f468-200d-1f468-200d-1f467',
':man-man-girl-boy:': '1f468-200d-1f468-200d-1f467-200d-1f466',
':man-man-girl-girl:': '1f468-200d-1f468-200d-1f467-200d-1f467',
':man-woman-boy-boy:': '1f468-200d-1f469-200d-1f466-200d-1f466',
':man-woman-girl:': '1f468-200d-1f469-200d-1f467',
':man-woman-girl-boy:': '1f468-200d-1f469-200d-1f467-200d-1f466',
':man-woman-girl-girl:': '1f468-200d-1f469-200d-1f467-200d-1f467',
':man-heart-man:': '1f468-200d-2764-fe0f-200d-1f468',
':man-kiss-man:': '1f468-200d-2764-fe0f-200d-1f48b-200d-1f468',
':woman-woman-boy:': '1f469-200d-1f469-200d-1f466',
':woman-woman-boy-boy:': '1f469-200d-1f469-200d-1f466-200d-1f466',
':woman-woman-girl:': '1f469-200d-1f469-200d-1f467',
':woman-woman-girl-boy:': '1f469-200d-1f469-200d-1f467-200d-1f466',
':woman-woman-girl-girl:': '1f469-200d-1f469-200d-1f467-200d-1f467',
':woman-heart-woman:': '1f469-200d-2764-fe0f-200d-1f469',
':woman-kiss-woman:': '1f469-200d-2764-fe0f-200d-1f48b-200d-1f469',
};
/**
* Set of the functions that are in the prototype of the object and not to convert
*/
const objectPrototypesFunctions: Set<string> = new Set([
'__defineGetter__',
'__defineSetter__',
'__lookupGetter__',
'__lookupSetter__',
'__proto__',
'constructor',
'hasOwnProperty',
'isPrototypeOf',
'propertyIsEnumerable',
'toLocaleString',
'toString',
'valueOf',
]);
/**
*
* Function to check if in the string parameter there is some emoji and in case convert it.
*
* @param text
* @returns the text with the emojis converted
*/
export const checkText = (text: string): string => {
const words = text && text.trimStart().split(' ');
const newText: string[] = [];
if (words) {
words.forEach((word) => {
let w = word;
if (word in objectPrototypesFunctions) {
w = word;
} else if (word in emojiMap) {
w = emojiMap[word];
}
newText.push(w);
});
}
return newText.join(' ');
};
/**
*
* function to get the keys of an object that starts with a specific string
*
* @param obj
* @param start
* @returns string array
*/
export const keysStartingWith = (obj: { [key: string]: string }, start: string): string[] =>
Object.keys(obj).filter((key) => key.startsWith(start));
/**
*
* Function to check if in the string parameter there is some emoji but
* with autosuggestion, so if there is only one emoji key in the map starting with the string, it use it.
*
* @param text
* @returns the text with the emojis converted
*/
export const checkTextWithAutoSuggestions = (text: string): string => {
const words = text && text.trimStart().split(' ');
const newText: string[] = [];
if (words) {
words.forEach((word) => {
let w = word;
if (word in objectPrototypesFunctions) {
w = word;
} else if (word in emojiMap) {
w = emojiMap[word];
} else {
const emojiArray = keysStartingWith(emojiMap, word);
if (emojiArray.length === 1) {
w = emojiMap[emojiArray[0]];
}
}
newText.push(w);
});
}
return newText.join(' ');
};
/**
*
* Function to convert a unicode string to an emoji
*
* @param text
* @returns string emoji
*/
export const fromUnicodeToEmoji = (text: string): string => String.fromCodePoint(parseInt(text, 16));
/**
*
* Function to check if in the string parameter there is some emoji but
* it use the map with unicode char instead of emoji,
* so if there is only one emoji key in the map starting with the string, it use it.
*
* @param text
* @returns the text with the emojis converted
*/
export const checkTextWithAutoSuggestionsAndUnicode = (text: string): string => {
const words = text && text.trimStart().split(' ');
const newText: string[] = [];
if (words) {
words.forEach((word) => {
let w = word;
if (word in objectPrototypesFunctions) {
w = word;
} else if (word in mapStringToUnicode) {
w = fromUnicodeToEmoji(mapStringToUnicode[word]);
} else {
const emojiArray = keysStartingWith(mapStringToUnicode, word);
if (emojiArray.length === 1) {
w = fromUnicodeToEmoji(mapStringToUnicode[emojiArray[0]]);
}
}
newText.push(w);
});
}
return newText.join(' ');
};