varCore=function(e){vart={};functions(n){if(t[n])returnt[n].exports;vari=t[n]={i:n,l:!1,exports:{}};returne[n].call(i.exports,i,i.exports,s),i.l=!0,i.exports}returns.m=e,s.c=t,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varn=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(variine)s.d(n,i,function(t){returne[t]}.bind(null,i));returnn},s.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returns.d(t,"a",t),t},s.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=6)}([function(e,t){e.exports=require("fs")},function(e,t){e.exports=require("path")},function(e,t){e.exports=require("electron")},function(e,t){e.exports=require("module")},function(e,t){e.exports=require("events")},function(e,t){e.exports=require("request")},function(e,t,s){"use strict";s.r(t);varn={};s.r(n),s.d(n,"Menu",function(){returnge}),s.d(n,"Card",function(){returnme}),s.d(n,"Layer",function(){returnfe});vari={};s.r(i),s.d(i,"VoiceMode",function(){returnke}),s.d(i,"ClassNormalizer",function(){returnMe}),s.d(i,"DeveloperMode",function(){returnNe}),s.d(i,"PublicServers",function(){returnBe}),s.d(i,"DarkMode",function(){returnTe}),s.d(i,"MinimalMode",function(){return$e}),s.d(i,"TwentyFourHour",function(){returnFe}),s.d(i,"ColoredText",function(){returnLe}),s.d(i,"VoiceDisconnect",function(){returnOe}),s.d(i,"EmoteMenu",function(){return_e}),s.d(i,"EmoteAutocaps",function(){returnHe}),s.d(i,"EmoteModule",function(){returnze}),s.d(i,"WindowPrefs",function(){returnZe}),s.d(i,"CustomCSS",function(){returnQe});varr={local:!1,localServer:"//localhost:8080",minified:!0,version:"0.3.0",branch:"master",repo:"rauenzi",minSupportedVersion:"0.3.0",bbdVersion:"0.2.17"},o={TwitchGlobal:{url:"https://twitchemotes.com/api_cache/v3/global.json",backup:"https://rauenzi.github.io/BetterDiscordApp/data/emotedata_twitch_global.json",variable:"TwitchGlobal",getEmoteURL:e=>`https://static-cdn.jtvnw.net/emoticons/v1/${e.id}/1.0`,getOldData:(e,t)=>({id:e.match(/\/([0-9]+)\//)[1],code:t,emoticon_set:0,description:null})},TwitchSubscriber:{url:"https://rauenzi.github.io/BetterDiscordApp/data/emotedata_twitch_subscriber.json",variable:"TwitchSubscriber",getEmoteURL:e=>`https://static-cdn.jtvnw.net/emoticons/v1/${e}/1.0`,getOldData:e=>e.match(/\/([0-9]+)\//)[1]},FrankerFaceZ:{url:"https://rauenzi.github.io/BetterDiscordApp/data/emotedata_ffz.json",variable:"FrankerFaceZ",getEmoteURL:e=>`https://cdn.frankerfacez.com/emoticon/${e}/1`,getOldData:e=>e.match(/\/([0-9]+)\//)[1]},BTTV:{url:"https://api.betterttv.net/emotes",variable:"BTTV",parser:e=>{constt={};for(lets=0,n=e.emotes.length;s<n;s++){constn=e.emotes[s];t[n.regex]=n.url}returnt},getEmoteURL:e=>`${e}`,getOldData:e=>e},BTTV2:{url:"https://rauenzi.github.io/BetterDiscordApp/data/emotedata_bttv.json",variable:"BTTV2",oldVariable:"emotesBTTV2",getEmoteURL:e=>`https://cdn.betterttv.net/emote/${e}/1x`,getOldData:e=>e.match(/emote\/(.+)\//)[1]}},a=[{type:"category",id:"general",name:"General",collapsible:!0,settings:[{type:"switch",id:"download",name:"Download Emotes",note:"Download emotes once a week to stay up to date",value:!0},{type:"switch",id:"emoteMenu",name:"Emote Menu",note:"Show Twitch/Favourite emotes in emote menu",value:!0},{type:"switch",id:"hideEmojiMenu",name:"Hide Emoji Menu",note:"Hides Discord's emoji menu when using emote menu",value:!1,enableWith:"emoteMenu"},{type:"switch",id:"autoCaps",name:"Emote Autocapitalization",note:"Autocapitalize emote commands",value:!1},{type:"switch",id:"showNames",name:"Show Names",note:"Show emote names on hover",value:!0},{type:"switch",id:"modifiers",name:"Show Emote Modifiers",note:"Enableemotemods(flip,spi