404 lines
30 KiB
JavaScript
404 lines
30 KiB
JavaScript
var commentFormID;
|
|
|
|
function commentForm(form) {
|
|
commentFormID = form;
|
|
};
|
|
|
|
const TEXTAREA_POS_ATTR = 'data-curr-pos'
|
|
const EMOJI_BOX_ID = 'EMOJIS_favorite'
|
|
const EMOJI_FORM_DESTINATION_ATTR = 'data-form-destination'
|
|
const EMOJIS_STRINGS = [
|
|
{
|
|
type:'marsey',
|
|
tagged: {
|
|
marsey666: ['demon','devil','halloween'],
|
|
marsey666black: ['demon','devil','halloween'],
|
|
marseyagree: ['reaction','judgment'],
|
|
marseyairquotes: ['reaction'],
|
|
marseyakshually: ['neckbeard','weeb'],
|
|
marseyangel: ['reaction'],
|
|
marseyannoyed: ['reaction'],
|
|
marseyanticarp: ['reaction'],
|
|
marseyaward: ['reaction'],
|
|
marseybaited: ['reaction'],
|
|
marseybaphomet: ['devil','evil','halloween','satan'],
|
|
marseybased: ['reaction'],
|
|
marseybear2: ['bear','costume','skin','animal'],
|
|
marseybegging: ['reaction'],
|
|
marseybigdog: ['bussy'],
|
|
marseybiting: ['reaction'],
|
|
marseyblowkiss: ['reaction'],
|
|
marseyblueanime: ['touhou','cirno'],
|
|
marseybluecheck: ['twitter','drool'],
|
|
marseyblush: ['reaction'],
|
|
marseybowl: ['reaction'],
|
|
marseybunny: ['costume','animal','bunny','skin'],
|
|
marseybye: ['reaction'],
|
|
marseycapy: ['rodent','aevann','happy'],
|
|
marseycarp: ['reaction'],
|
|
marseycarp2: ['reaction'],
|
|
marseycarp3: ['reaction'],
|
|
marseycarpcrying: ['reaction','fish','tear','sob'],
|
|
marseycat: ['costume','animal','cat','skin'],
|
|
marseycenter: ['reaction'],
|
|
marseycheeky: ['reaction'],
|
|
marseycheerup: ['pat','reaction','pet','comfort','console'],
|
|
marseychonker: ['obese','reaction','fat'],
|
|
marseychristmaself: ['worker','christmas','xmas'],
|
|
marseychucky: ['stab','doll','kill','halloween'],
|
|
marseyclapping: ['reaction','judgment'],
|
|
marseycolossal: ['skin','halloween'],
|
|
marseycommitted: ['reaction'],
|
|
marseyconfused: ['reaction'],
|
|
marseycontemplate: ['reaction'],
|
|
marseycool: ['reaction','judgment'],
|
|
marseycope: ['reaction'],
|
|
marseycopeseethedilate: ['reaction'],
|
|
marseycow: ['cow','costume','skin','animal'],
|
|
marseycowboy: ['reaction'],
|
|
marseycreepy: ['reaction'],
|
|
marseycrusader: ['knight','deusvult'],
|
|
marseycry: ['reaction','sob','tear'],
|
|
marseycrying: ['reaction','sob','tear'],
|
|
marseycthulhu: ['scary','evil','halloween','monster'],
|
|
marseycut: ['reaction'],
|
|
marseycwc: ['chris','sonichu'],
|
|
marseydab: ['reaction'],
|
|
marseydead: ['reaction'],
|
|
marseydeadinside: ['reaction'],
|
|
marseydealwithit: ['reaction'],
|
|
marseydepressed: ['reaction'],
|
|
marseydespair: ['reaction','judgment'],
|
|
marseydevil: ['mischievous','evil','halloween','satan'],
|
|
marseydicklet: ['reaction','judgment'],
|
|
marseydisagree: ['reaction','judgment'],
|
|
marseydizzy: ['reaction'],
|
|
marseydog: ['costume','animal','dog','skin'],
|
|
marseydoubt: ['reaction'],
|
|
marseyeldritch: ['halloween','monster'],
|
|
marseyespeonheadpat: ['reaction'],
|
|
marseyexcited: ['reaction'],
|
|
marseyeyeroll: ['reaction'],
|
|
marseyface: ['murder','scary','evil','halloween','stab','kill'],
|
|
marseyfacepalm: ['reaction','judgment'],
|
|
marseyfeelsgood: ['pepe','happy'],
|
|
marseyfinger: ['reaction','judgment'],
|
|
marseyflamewar: ['reaction'],
|
|
marseyflareonpat: ['reaction'],
|
|
marseyfreezepeach: ['reaction'],
|
|
marseyfrozen: ['reaction'],
|
|
marseyfrozenpat: ['reaction'],
|
|
marseyfuckoffcarp: ['reaction'],
|
|
marseyfunko: ['soy'],
|
|
marseygasp: ['reaction'],
|
|
marseyghost: ['costume','spooky','halloween'],
|
|
marseygigachad: ['reaction'],
|
|
marseygivecrown: ['reaction'],
|
|
marseygiveup: ['reaction'],
|
|
marseyglaceonpat: ['reaction'],
|
|
marseyglow: ['feds','fbi','cia'],
|
|
marseyglow2: ['reaction','feds','fbi','cia'],
|
|
marseygodzilla: ['bug','evil','halloween'],
|
|
marseygoodnight: ['kazakh','reaction','women'],
|
|
marseygrass: ['reaction'],
|
|
marseygroomer: ['discord','pedo'],
|
|
marseygroomer2: ['discord','pedo'],
|
|
marseyhacker: ['reaction'],
|
|
marseyhandsup: ['reaction'],
|
|
marseyhannibal: ['flesh','cannibal','psycho','halloween','eat'],
|
|
marseyhappy: ['reaction'],
|
|
marseyhearts: ['reaction'],
|
|
marseyhellraiser: ['evil','halloween'],
|
|
marseyhippo: ['costume','hippo','skin','animal'],
|
|
marseyhmm: ['reaction','judgment'],
|
|
marseyhmmm: ['reaction','judgment'],
|
|
marseyhomofascist: ['kiss'],
|
|
marseyhope: ['reaction'],
|
|
marseyisis: ['terrorist','islam'],
|
|
marseyit: ['clown','evil','halloween'],
|
|
marseyjam: ['dance','rave','happy'],
|
|
marseyjason: ['knife','evil','halloween','stab','kill'],
|
|
marseyjolteonpat: ['reaction'],
|
|
marseyjourno: ['photo','camera','pic'],
|
|
marseyjunkie: ['reaction'],
|
|
marseyking: ['reaction'],
|
|
marseykiwipat: ['reaction'],
|
|
marseykkk: ['klan','costume'],
|
|
marseykys: ['reaction'],
|
|
marseylaugh: ['reaction','judgment'],
|
|
marseylawlz: ['reaction'],
|
|
marseyleafeonpat: ['reaction'],
|
|
marseylolcow: ['reaction','judgment'],
|
|
marseylongpost: ['reaction','words'],
|
|
marseylongpost: ['reaction','judgment'],
|
|
marseylongpost2: ['reaction','words','judgment'],
|
|
marseylove: ['reaction'],
|
|
marseylovedrama: ['reaction'],
|
|
marseyloveyou: ['reaction'],
|
|
marseymad: ['reaction'],
|
|
marseymancer: ['dead','zombie','evil','halloween'],
|
|
marseymati: ['reaction'],
|
|
marseymayo: ['reaction'],
|
|
marseymeds: ['reaction'],
|
|
marseymummy: ['halloween','monster'],
|
|
marseymummy2: ['halloween','monster'],
|
|
marseyneat: ['photo','camera','pic'],
|
|
marseyneckbeard: ['fedora','bodypillow','weeb','dakimakura'],
|
|
marseyniggawut: ['reaction','judgment'],
|
|
marseyno: ['reaction'],
|
|
marseynooo: ['reaction'],
|
|
marseynpc2: ['reaction'],
|
|
marseynut: ['reaction'],
|
|
marseyobese: ['chonker','chonk','fat'],
|
|
marseyobesescale: ['chonker','chonk','fat'],
|
|
marseyohno: ['afraid','scared','shock','reaction','scream'],
|
|
marseyowow: ['reaction'],
|
|
marseypainter: ['reaction'],
|
|
marseypanda2: ['costume','animal','panda','skin'],
|
|
marseypanties: ['reaction'],
|
|
marseypat: ['reaction'],
|
|
marseypearlclutch: ['reaction'],
|
|
marseypearlclutch2: ['reaction'],
|
|
marseypepe: ['reaction'],
|
|
marseypepe2: ['reaction'],
|
|
marseypikachu2: ['reaction'],
|
|
marseypixel: ['reaction'],
|
|
marseypokerface: ['reaction'],
|
|
marseyproctologist: ['reaction'],
|
|
marseyprotestno: ['reaction'],
|
|
marseyprotestyes: ['reaction'],
|
|
marseypsycho: ['reaction'],
|
|
marseypuke: ['reaction','judgment'],
|
|
marseypumpkin: ['halloween'],
|
|
marseypumpkin2: ['halloween'],
|
|
marseypumpkin3: ['halloween'],
|
|
marseypumpkin4: ['halloween'],
|
|
marseypumpkincloak: ['costume','halloween'],
|
|
marseypumpking: ['halloween'],
|
|
marseypumpkinglow: ['halloween'],
|
|
marseypunching: ['fighting','boxing','reaction','battle','fistfight'],
|
|
marseyracist: ['reaction'],
|
|
marseyrage: ['reaction'],
|
|
marseyrain: ['reaction'],
|
|
marseyrave: ['dance','crab','party'],
|
|
marseyreading: ['reaction'],
|
|
marseyready: ['reaction'],
|
|
marseyreich: ['hitler','pol','nazi'],
|
|
marseyrentfree: ['reaction'],
|
|
marseyretard: ['reaction'],
|
|
marseyrick: ['reaction'],
|
|
marseyrope: ['reaction'],
|
|
marseyropeyourself: ['reaction'],
|
|
marseyropeyourself2: ['reaction'],
|
|
marseyrowling: ['terf'],
|
|
marseysad: ['reaction'],
|
|
marseysad2: ['reaction'],
|
|
marseysadcat: ['reaction'],
|
|
marseysaw: ['game','evil','halloween'],
|
|
marseyscared: ['hide','afraid','nervous'],
|
|
marseyschizo: ['reaction'],
|
|
marseyshiftyeyes: ['reaction'],
|
|
marseyshook: ['reaction'],
|
|
marseysick: ['reaction','judgment'],
|
|
marseysigh: ['reaction'],
|
|
marseysipping: ['reaction'],
|
|
marseysjw: ['reaction'],
|
|
marseyskeleton: ['bones','dead','halloween'],
|
|
marseyskeleton2: ['bones','spooky','halloween'],
|
|
marseyskeletor: ['halloween','mask'],
|
|
marseysleep: ['reaction'],
|
|
marseysmirk: ['reaction'],
|
|
marseysmoothbrain: ['reaction'],
|
|
marseysmug: ['reaction'],
|
|
marseysmug2: ['reaction','judgment'],
|
|
marseysmug3: ['reaction','judgment'],
|
|
marseysnappypat: ['reaction'],
|
|
marseysneed: ['reaction'],
|
|
marseysniff: ['reaction'],
|
|
marseysnoo: ['reaction','schizo','reddit','redditor'],
|
|
marseysob: ['reaction','cry','tear'],
|
|
marseysombrero: ['mexican','mexico'],
|
|
marseysoypoint: ['reaction'],
|
|
marseyspecial: ['reaction'],
|
|
marseyspecialpat: ['reaction'],
|
|
marseyspit: ['reaction'],
|
|
marseyspooky: ['scary','evil','halloween'],
|
|
marseyspookysmile: ['scary','evil','halloween'],
|
|
marseysrdine: ['reaction'],
|
|
marseysrdine2: ['reaction'],
|
|
marseystars: ['reaction'],
|
|
marseystein: ['halloween','monster'],
|
|
marseystonetoss: ['reaction'],
|
|
marseystroke: ['derp','reaction','stupid'],
|
|
marseysulk: ['reaction'],
|
|
marseysurprised: ['reaction'],
|
|
marseysus: ['amogus','amongus'],
|
|
marseysweating: ['wipe','stressed','nervous','worried','reaction'],
|
|
marseysylveonpat: ['reaction'],
|
|
marseytaliban: ['mujahideen','islam'],
|
|
marseytalibanpat: ['reaction','mujahideen','islam'],
|
|
marseytears: ['reaction','cry','sob'],
|
|
marseything: ['halloween','monster'],
|
|
marseythinkorino: ['reaction'],
|
|
marseythinkorino: ['reaction','judgment'],
|
|
marseythonk: ['reaction'],
|
|
marseythumbsup: ['reaction'],
|
|
marseytrickortreat: ['candy','halloween'],
|
|
marseytroll: ['reaction'],
|
|
marseyumbreonpat: ['reaction'],
|
|
marseyunabomber: ['society','industrial','kaczynski'],
|
|
marseyvampire: ['spooky','halloween','monster'],
|
|
marseyvan: ['groomer','pedo'],
|
|
marseyvaporeonpat: ['reaction'],
|
|
marseyvaxmaxx: ['hazmat','corona','mask'],
|
|
marseywagie: ['reaction'],
|
|
marseyweeb: ['fedora','neckbeard'],
|
|
marseywheredrama: ['reaction'],
|
|
marseywhirlyhat: ['hat','stupid','kid'],
|
|
marseywinner: ['reaction'],
|
|
marseywitch: ['spooky','scary','halloween','evil'],
|
|
marseywitch2: ['bardfinn','feminist','halloween','monster'],
|
|
marseywitch3: ['wave','halloween'],
|
|
marseywoah: ['reaction'],
|
|
marseywolf: ['scary','halloween'],
|
|
marseywords: ['longpost','reaction'],
|
|
marseywords2: ['longpost','reaction'],
|
|
marseyworried: ['sweat','scared','stressed'],
|
|
marseywtf: ['reaction'],
|
|
marseywtf2: ['reaction'],
|
|
marseyxd: ['reaction'],
|
|
marseyyass: ['reaction'],
|
|
marseyyes: ['reaction','judgment'],
|
|
marseyyikes: ['reaction','judgment'],
|
|
marseyzombie: ['dead','halloween'],
|
|
marseyzwei: ['beer','drinking','germany','lederhosen','bavarian'],
|
|
mersyapat: ['reaction']
|
|
},
|
|
|
|
emojis: ['marseylaugh','marseyblowkiss','marseyshook','marseythumbsup','marseylove','marseyreading','marseywave','marseyjamming','marseyready','marseyscarf','marseymad','marseycry','marseyinabox','marseysad','marseyexcited','marseysleep','marseyangel','marseydead','marseyparty','marseyrain','marseyagree','marseydisagree','marseyjam','marseygasp','marseytwerking','marseysipping','marseyshrug','marseyglow','marseycope','marseyseethe','marseymerchant','marseyno','marseywalking','marseyhearts','marseybegging','marseytrans2','marseygigaretard','marseysneed','marseybaited','marseyeyeroll','marseydepressed','marseypat','marseyking','marseylong1','marseylong2','marseylong3',
|
|
|
|
'marseybadluck','marseyblackfacexmas','marseycensored','marseycherokee','marseychristmasbulb','marseycleonpeterson','marseycomradehandshake','marseycrucified','marseydeadhorse','marseyfattie','marseyfrozenchosen','marseyglowaward','marseyhappytears','marseyimposter','marseykweenxmas','marseylaptop','marseyliquidator','marseynoyouglow','marseyparty1','marseyparty2','marseyparty3','marseyraging','marseyrare','marseyreindeer','marseyreindeer2','marseyroo','marseysanta','marseysanta2','marseysteer','marseysuffragette','marseykys','chudsey','marseyakumu','marseybadger','marseyben10','marseycalarts','marseycheesehead','marseychristmaself','marseychristmastree','marseycoal','marseydolphin','marseyelephant','marseyfeelsgood','marseyhomofascist','marseyhomosupremacist','marseyinshallah','marseykfc','marseypilgrim','marseypresents','marseyracistgrandpa','marseyrevolution','marseyrs','marseysalty','marseyshroom','marseysonic','marseyteaparty','marseytears','marseyturkey','marseyuglyxmasweater','marseytalibanpat','marseyanime','marseyanticarp','marseyarmy','marseyaward','marseybateman','marseybath','marseybear2','marseybigdog','marseybunny','marseycat','marseychristmas','marseycow','marseydeadinside','marseydog','marseyfrog2','marseygondola','marseyhippo','marseylion','marseymyspacetom','marseynails','marseyobese','marseyobesescale','marseypanda2','marseypig','marseyprotestno','marseyprotestyes','marseyreportercnn','marseyreporterfox','marseyropeyourself','marseyropeyourself2','marseysalad','marseysalat','marseysheep','marseytiger','marseytrollcrazy','marseytrollgun','marseytroublemaker','marseyvietnam','marseyairquotes','marseybyeceps','marseycarpcrying','marseycatgirljanny','marseydisabled','marseyegg_irl','marseyfrog','marseyhope','marseymao','marseymoose','marseypunisher','marseytoilet','thinbluefeline','marseycatgirl2','marseycatgirl3','marseycapywalking','marseyatsume','marseybeggar','marseyceiling','marseyclapping','marseydab','marseydealwithit','marseyduck','marseyduck2','marseyflareon','marseyflareonpat','marseyfox','marseyfreezepeach','marseyfrozen','marseyglaceon','marseyglaceonpat','marseygroomer2','marseyhacker2','marseyhillary','marseyinvisible','marseyjolteon','marseyjolteonpat','marseyleafeon','marseyleafeonpat','marseynoyou','marseypedobear','marseyplanecrash','marseypleading','marseypoor','marseyschrodinger','marseysulk','marseytheorist','marseyvaporeon','marseyvaporeonpat','marseywheredrama2','marseyspecialpat','marseyautism','marseybaphomet','marseybear','marseybrap','marseybrianna','marseybrianna2','marseyemo','marseyespeon','marseyespeonheadpat','marseyglow2','marseyhannibal','marseyhypno','marseykingcrown','marseyliondanc','marseyllama','marseyllama1','marseyllama2','marseyllama3','marseyniggawut','marseyorthodoxpat','marseypirate2','marseypumpkinglow','marseyrussiadolls','marseysnappypat','marseysylveon','marseysylveonpat','marseytime','marseytrickortreat','marseytrollolol','marseytwins','marseyumbreon','marseyumbreonpat','mersyapat','marchipmunklove','marseyban','marseycheerup','marseyfry','marseygroomer','marseymalding','marseyplush','marseysalutenavy','marseytunaktunak','marseyza','marsheep','marchipmunk','marseybased','marseydawnbreaker','marseyfurry','marseyhorseshoe','marseypop2','marseysheepdog','marseywallst','marsheen','marseyantiwork','marseycarppat','marseydrama','marseygiveup','marseykitty','marseymini','marseyteruteru','marseyyass','marsheepnpc','marseyfuckoffcarp','marseyneet','marseyxoxo','marseychungus','marseypopcorntime','mersya2','marseycontemplate','marseysob','mersya','marseyderp','marseytinfoil2','marseylovedrama','marseytv','marseyloveyou','marseywheredrama','firecat','marseyannoyed','marseybye','marseycapypat','marseycheeky','marseydicklet','marseydisgust','marseydracula','marseydrone','marseygossip','marseykween','marseymugshot','marseymutt','marseyneon','marseynerd','marseyoceania','marseyohno','marseyramen','marseyrave','marseysadge','marseysalutearmy','marseysalutecop','marseyshy','marseysonofman','marseytroll2','marseyvibing','marseywendy','marseyhungry','marseyaoc','marseybrave','marseycoin','marseycopeseethedilate','marseyeldritch','marseyjiangshi','marseymayo','marseynintendo','marseyracist','marseysrdine2','marseywtf2','marseylongpost','marseylongpost2','marseyminimalism','marseyminimalism2','marseymonk','marseypharaoh','marseypharaoh2','marseything','marseydarwin','marseygodel','marseyjudge','marseykiwipat','marseynyan','marseypaint','marseyplaty','marseypostmodern','marseyprisma','marseyrussel','marseystinky','marseywagie','karlmarxey','marsey300','marsey666','marsey666black','marseycapitalistmanlet','marseychad','marseychucky','marseyclown3','marseycolossal','marseydream','marseyhappening','marseyhellraiser','marseyit','marseyjason','marseyjesus','marseyjourno','marseykiwi','marseykiwi2','marseyliondance','marseymati','marseyneat','marseynightmare','marseynosleep','marseypepe2','marseypumpking','marseysaint','marseysaw','marseysharingan','marseyshark','marseysigh','marseysmug3','marseytrad','marcerberus','marscientist','marseyamazon','marseybug2','marseycapy','marseyclown2','marseycrying','marseydio','marseydragon','marseyfans','marseyfine','marseygrilling2','marseyhead','marseyjeans','marseymancer','marseymexican','marseypikachu','marseypikachu2','marseysmug2','marseyspit','marseysweating','marseywoah','marseywolf','marseyyes','marseyzombie','mcmarsey','owlsey','marfield','marlion','marppy','marseyargentina','marseyascii2','marseyayy','marseybaby','marseybackstab','marseybigbrain','marseybiker','marseyblackface','marseybug','marseycarp2','marseycarp3','marseycreepy','marseydetective','marseyfellowkids','marseygandalf','marseygigachad','marseyhandsup','marseyjapanese','marseykink','marseylowpoly','marseyminion','marseymodelo2','marseymorph','marseyonacid','marseypearlclutch','marseypearlclutch2','marseypenguin','marseypride','marseypunching','marseyseven','marseysexylibrarian','marseyshapiro','marseyshiftyeyes','marseyshooting','marseysjw','marseysmoothbrain','marseysniff','marseyspecial','marseysuper','marseythinkorino','marseythroatsinging','marseywarhol','marseyweeb','marseywinner','marseywtf','mlm','plarsy','marseyalice','marseyalien','marseyascii','marseybait','marseyballerina','marseyblueanime','marseybluehands','marseybowl','marseybruh','marseybuff','marseycountryclub','marseycool2','marseycrusader','marseycut','marseydaemon','marseydeuxfoid','marseydevil','marseyditzy','marseydoubt','marseyunpettable','marseyfeynman','marseyfocault','marseyfrozenpat','marseygarfield','marseygivecrown','marseygodzilla','marseygunned','marseyheathcliff','marseyheavymetal','marseyhoodwink','marseyjoint','marseymissing','marseymodelo','marseymonke','marseynooo','marseynpc2','marseyoctopus','marseypepe','marseypimp','marseypixel','marseypretty','marseypumpkin','marseypumpkin2','marseypumpkin3','marseypumpkin4','marseypumpkincloak','marseyquadmagyar','marseyrpgcharacter','marseysartre','marseyscared','marseyskater','marseyskeleton','marseyskeleton2','marseysmudge','marseysombrero','marseyspider2','marseyspirit','marseyspooky','marseyspookysmile','marseystars','marseystonetoss','marseythegrey','marseyvaporwave','marseywise','marseywitch','marseywords','marseywords2','marseywut','marseyyikes','marseywhirlyhat','marsey173','marseycthulhu','marseycuck','marseyemperor','marseyface','marseyjohnson','marseykneel','marseymummy','marseymummy2','marseypanda','marseypumpkin','marseyskeletor','marseystein','marseyvampire','marseyvengeance','marseywitch3','marseypop','marseyqueenlizard','marseybane','marseybog','marseybux','marseycommitted','marseydizzy','marseyfunko','marseyhealthy','marseykaiser','marseykyle','marseymask','marseymeds','marseykvlt','marseyn8','marseynietzsche','marseyobey','marseypatriot','marseypedo','marseypony','marseypuke','marseyqueen','marseyrage','marseysnek','marseytinfoil','marseywitch2','marseycenter','marseyauthleft','marseyauthright','marseylibleft','marseylibright','marseybinladen','marseycool','marseyjanny2','marseyjones','marseynapoleon','marseysanders','marseysnoo','marseysoypoint','marseybiting','marseyblush','marseybountyhunter','marseycoonass','marseyfinger','marseyglancing','marseyhappy','marseyluther','marseypizzashill','marseypokerface','marseypopcorn','marseyrasta','marseysad2','marseysmirk','marseysurprised','marseythomas','marseywitch','marseyyawn','marcusfootball','marje','marmsey','marsey1984','marsey420','marsey4chan','marsey69','marseyakshually','marseyandmarcus','marseyasian','marseybattered','marseybiden','marseybingus','marseyblm','marseybluecheck','marseybong','marseybooba','marseyboomer','marseybrainlet','marseybride','marseyburger','marseybush','marseycamus','marseycanned','marseycarp','marseycatgirl','marseychef','marseychonker','marseyclown','marseycomrade','marseyconfused','marseycoomer','marseycop','marseycorn','marseycowboy','marseycumjar1','marseycumjar2','marseycumjar3','marseycwc','marseydespair','marseydeux','marseydildo','marseydoomer','marseydrunk','marseydynamite','marseyfacepalm','marseyfamily','marseyfbi','marseyfeet','marseyfeminist','marseyflamethrower','marseyflamewar','marseyfloyd','marseyfug','marseyghost','marseygift','marseygigavaxxer','marseyglam','marseygodfather','marseygoodnight','marseygrass','marseygrilling','marseyhacker','marseyhmm','marseyhmmm','marseyilluminati','marseyira','marseyisis','marseyjanny','marseyjunkie','marseykkk','marseylawlz','marseylifting','marseylizard','marseylolcow','marseymanlet','marseymaoist','marseymcarthur','marseymermaid','marseymouse','marseymyeisha','marseyneckbeard','marseyniqab','marseynpc','marseynun','marseynut','marseyorthodox','marseyowow','marseypainter','marseypanties','marseypeacekeeper','marseypickle','marseypinochet','marseypipe','marseypirate','marseypoggers','marseypope','marseyproctologist','marseypsycho','marseyqoomer','marseyradioactive','marseyrat','marseyreich','marseyrentfree','marseyretard','marseyrick','marseyrope','marseyrowling','marseysadcat','marseysick','marseyschizo','marseyshisha','marseysmug','marseysociety','marseyspider','marseysrdine','marseystroke','marseysus','marseytaliban','marseytank','marseytankushanka','marseytea','marseythonk','marseytrain','marseytrans','marseytroll','marseytrump','marseyunabomber','marseyuwuw','marseyvan','marseyvaxmaxx','marseyworried','marseyxd','marseyyeezus','marseyzoomer','marseyzwei','marsoy','marsoyhype']
|
|
},
|
|
{
|
|
type:'platy',
|
|
emojis: ['plarsy','platyabused','platyblizzard','platyboxer','platydevil','platyfear','platygirlmagic','platygolong','platyhaes','platyking','platylove','platyneet','platyold','platypatience','platypopcorn','platyrich','platysarcasm','platysilly','platysleeping','platythink','platytired','platytuxedomask','platyblush','platybruh','platycaveman','platycheer','platydown','platyeyes','platyheart','platylol','platymicdrop','platynooo','platysalute','platyseethe','platythumbsup','platywave']
|
|
},
|
|
{
|
|
type: 'tay',
|
|
emojis: ['taylove','tayaaa','tayadmire','taycat','taycelebrate','taychefkiss','taychristmas','tayclap','taycold','taycrown','tayflex','tayflirt','taygrimacing','tayhappy','tayheart','tayhmm','tayhuh','tayhyperdab','tayjammin','taylaugh','taymindblown','tayno','taynod','taypeace','taypray','tayrun','tayscrunch','tayshake','tayshrug','taysilly','tayslide','taysmart','taystop','taytantrum','taytea','taythink','tayvibin','taywhat','taywine','taywine2','taywink','tayyes']
|
|
},
|
|
{
|
|
type: 'classic',
|
|
emojis: ['idhitit','2thumbsup','aliendj','ambulance','angry','angrywhip','argue','aroused','ashamed','badass','banana','band','banghead','batman','bigeyes','bite','blind','blowkiss','blush','bong','bounce','bow','breakheart','bs','cartwheel','cat','celebrate','chainsaw','cheers','clap','cold','confused','crazyeyes','cry','cthulhu','cute','d','daydream','ddr','deadpool','devilsmile','diddle','die','distress','disturbing','dizzy','domo','doughboy','drink','drool','dudeweedlmao','edward','electro','elephant','embarrassed','emo','emo2','evil','evilclown','evilgrin','facepalm','fap','flamethrower','flipbird','flirt','frown','gasp','glomp','go','gooby','grr','gtfo','guitar','haha','handshake','happydance','headbang','heart','heartbeat','hearts','highfive','hmm','hmph','holdhands','horny','hug','hugging','hugs','hump','humpbed','hysterical','ily','inlove','jason','jawdrop','jedi','jester','kaboom','kick','kiss','kitty','laughchair','lick','link','lol','lolbeat','loving','makeout','medal','megaman','megamanguitar','meow','metime','mooning','mummy','na','nauseous','nervous','ninja','nod','nono','omg','onfire','ooo','orly','p','paddle','panda','pandabutt','paranoid','party','pat','peek','pikachu','pimp','plzdie','poke','popcorn','pout','probe','puke','punch','quote','raccoon','roar','rofl','roflmao','rolleyes','sad','sadeyes','sadhug','samurai','sarcasm','scoot','scream','shmoopy','shrug','skull','slap','slapfight','sleepy','smackfish','smackhead','smh','smile','smoke','sonic','spank','sparta','sperm','spiderman','stab','star','stare','stfu','suicide','surprisehug','suspicious','sweat','swordfight','taco','talk2hand','tantrum','teehee','thinking','threesome','throw','throwaway','tickle','typing','uhuh','vampbat','viking','violin','vulgar','wah','wat','whip','whipping','wink','witch','wizard','woah','worm','woo','work','worship','wow','xd','yay','zzz']
|
|
},
|
|
{
|
|
type: 'rage',
|
|
emojis: ['clueless','troll','bitchplease','spit','challengeaccepted','contentiouscereal','cryingatcuteness','derp','derpcornsyrup','derpcrying','derpcute','derpdumb','derpeuphoria','derpinahd','derpinapokerface','derpinasnickering','derpprocessing','derprealization','derpsnickering','derptalking','derpthinking','derpthumbsup','derpunimpressed','derpwhy','donotwant','epicfacefeatures','fancywithwine','fffffffuuuuuuuuuuuu','flipthetable','foreveralone','foreveralonehappy','hewillnever','idontknow','interuptedreading','iseewhatyoudidthere','killherkillher','ledesire','leexcited','legenius','lelolidk','lemiddlefinger','lemindblown','leokay','lepanicrunning','lepokerface','lepokerface2','lerageface','leseriousface','likeaboss','lolface','longwhiskers','manymiddlefingers','megusta','motherfucker','motherofgod','mysides','ohgodwhy','pervertedspiderman','picard','ragestrangle','rukiddingme','tfwyougettrolled','trollolol','truestorybro','xallthey','yuno']
|
|
},
|
|
{
|
|
type: 'wojak',
|
|
emojis: ['soymad','boomerportrait','soycry','punchjak','seethejak','chadyes','chadno','abusivewife','ancap','bardfinn','bloomer','boomer','boomermonster','brainletbush','brainletcaved','brainletchair','brainletchest','brainletmaga','brainletpit','chad','chadarab','chadasian','chadblack','chadjesus','chadjew','chadjihadi','chadlatino','chadlibleft','chadnordic','chadsikh','chadusa','coomer','doomer','doomerfront','doomergirl','ethot','fatbrain','fatpriest','femboy','gogetter','grug','monke','nazijak','npc','npcfront','npcmaga','psychojak','ragejak','ragemask','ramonajak','soyjackwow','soyjak','soyjakfront','soyjakhipster','soyjakmaga','soyjakyell','tomboy','zoomer','zoomersoy']
|
|
},
|
|
{
|
|
type: 'flags',
|
|
emojis: ['niger','lgbt','saudi','animesexual','blacknation','blm','blueline','dreamgender','fatpride','incelpride','israel','kazakhstan','landlordlove','scalperpride','superstraight','trans','translord','transracial','usa']
|
|
},
|
|
{
|
|
type: 'misc',
|
|
emojis: ['bruh','autism','doot','kylieface','queenyes','wholesomeseal','chadyescapy','gigachadglow','gigachadorthodox','gigachad','gigachad2','gigachad3']
|
|
},
|
|
]
|
|
|
|
function getEmoji(searchTerm) {
|
|
const form = document.getElementById(EMOJI_BOX_ID).getAttribute(EMOJI_FORM_DESTINATION_ATTR)
|
|
const commentBox = document.getElementById(form);
|
|
const old = commentBox.value;
|
|
const curPos = parseInt(commentBox.getAttribute(TEXTAREA_POS_ATTR));
|
|
|
|
const firstHalf = old.slice(0, curPos)
|
|
const lastHalf = old.slice(curPos)
|
|
|
|
let emoji = ':' + searchTerm + ':'
|
|
const previousChar = firstHalf.slice(-1)
|
|
if (firstHalf.length > 0 && previousChar !== " " && previousChar !== "\n") {
|
|
emoji = " " + emoji
|
|
}
|
|
if (lastHalf.length > 0 && lastHalf[0] !== " ") {
|
|
emoji = emoji + " "
|
|
}
|
|
|
|
commentBox.value = firstHalf + emoji + lastHalf;
|
|
|
|
const newPos = curPos + emoji.length
|
|
|
|
commentBox.setAttribute(TEXTAREA_POS_ATTR, newPos.toString());
|
|
|
|
if (typeof checkForRequired === "function") checkForRequired();
|
|
}
|
|
|
|
function loadEmojis(form) {
|
|
|
|
let search_bar = document.getElementById("emoji_search");
|
|
let search_container = document.getElementById('emoji-tab-search')
|
|
|
|
let container = document.getElementById(EMOJI_BOX_ID)
|
|
container.setAttribute(EMOJI_FORM_DESTINATION_ATTR, form)
|
|
|
|
const commentBox = document.getElementById(form);
|
|
commentBox.setAttribute(TEXTAREA_POS_ATTR, commentBox.selectionStart);
|
|
|
|
if (search_bar.value == "") {
|
|
|
|
for (let i = 0; i < EMOJIS_STRINGS.length; i++) {
|
|
|
|
let container = document.getElementById(`EMOJIS_${EMOJIS_STRINGS[i].type}`)
|
|
let str = ''
|
|
let arr = EMOJIS_STRINGS[i].emojis
|
|
|
|
for (let j = 0; j < arr.length; j++) {
|
|
if (arr[j].match(search_bar.value)) {
|
|
str += `<button class="btn m-1 px-0 emoji2" onclick="getEmoji('${arr[j]}')" style="background: None!important; width:60px; overflow: hidden; border: none;" data-bs-toggle="tooltip" title=":${arr[j]}:" delay:="0"><img loading="lazy" width=50 src="/assets/images/emojis/${arr[j]}.webp" alt="${arr[j]}-emoji"></button>`;
|
|
}
|
|
}
|
|
|
|
container.innerHTML = str
|
|
search_container.innerHTML = ""
|
|
}
|
|
} else {
|
|
let str = ''
|
|
for (let i = 0; i < EMOJIS_STRINGS.length; i++) {
|
|
let arr = EMOJIS_STRINGS[i].emojis
|
|
|
|
let container = document.getElementById(`EMOJIS_${EMOJIS_STRINGS[i].type}`)
|
|
for (let j = 0; j < arr.length; j++) {
|
|
if (arr[j].match(search_bar.value.toLowerCase()) || search_bar.value.toLowerCase().match(arr[j])) {
|
|
str += `<button class="btn m-1 px-0 emoji2" onclick="getEmoji('${arr[j]}')" style="background: None!important; width:60px; overflow: hidden; border: none;" data-bs-toggle="tooltip" title=":${arr[j]}:" delay:="0"><img loading="lazy" width=50 src="/assets/images/emojis/${arr[j]}.webp" alt="${arr[j]}-emoji"></button>`;
|
|
}
|
|
}
|
|
|
|
if (i == 0)
|
|
{
|
|
let arr2 = EMOJIS_STRINGS[i].tagged;
|
|
for (const [key, value] of Object.entries(arr2)) {
|
|
if (str.includes(`${key}`)) continue;
|
|
if (key.match(search_bar.value.toLowerCase()) || search_bar.value.toLowerCase().match(key)) {
|
|
str += `<button class="btn m-1 px-0 emoji2" onclick="getEmoji('${key}')" data-bs-toggle="tooltip" title=":${key}:" delay:="0"><img loading="lazy" width=50 src="/assets/images/emojis/${key}.webp" alt="${key}-emoji"></button>`;
|
|
}
|
|
else {
|
|
for (let j = 0; j < value.length; j++) {
|
|
if (value[j].match(search_bar.value.toLowerCase()) || search_bar.value.toLowerCase().match(value[j])) {
|
|
str += `<button class="btn m-1 px-0 emoji2" onclick="getEmoji('${key}')" data-bs-toggle="tooltip" title=":${key}:" delay:="0"><img loading="lazy" width=50 src="/assets/images/emojis/${key}.webp" alt="${key}-emoji"></button>`;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
container.innerHTML = ""
|
|
}
|
|
}
|
|
search_container.innerHTML = str
|
|
}
|
|
search_bar.oninput = function () {
|
|
loadEmojis(form);
|
|
};
|
|
}
|