Advertisement
ImNotSpam

Untitled

Nov 28th, 2016
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.77 KB | None | 0 0
  1. ! function(e, o, t) {
  2. function a() {}
  3.  
  4. function i(e, o, t, a, i) {
  5. this.id = e, this.nick = o, this.skinID = t, this.skinURL = a, 7 == i.length && (this.color = i)
  6. }
  7.  
  8. function s() {}
  9.  
  10. function n() {
  11. if (document.getElementById("canvas")) {
  12. var e = document.getElementById("canvas");
  13. return void e.addEventListener("mousemove", function(e) {
  14. o.play && o.cursorTracking && o.setCursorPosition && (o.clientX = e.clientX, o.clientY = e.clientY, o.setCursorPosition())
  15. }, !1)
  16. }
  17. setTimeout(n, 50)
  18. }
  19.  
  20. function r() {
  21. return e.MC && e.MC.showNickDialog ? (e.MC._showNickDialog = e.MC.showNickDialog, e.MC.showNickDialog = function() {
  22. e.MC._showNickDialog.apply(this, arguments), t(".ogario-menu").show(), e.onkeydown = function() {}
  23. }, e.MC._showStatsDialog = e.MC.showStatsDialog, e.MC.showStatsDialog = function() {
  24. e.MC._showStatsDialog.apply(this, arguments), e.onkeydown = function() {}
  25. }, e.MC._onPlayerSpawn = e.MC.onPlayerSpawn, e.MC.onPlayerSpawn = function() {
  26. e.MC._onPlayerSpawn.apply(this, arguments), o.playerColor = null, M && M.onPlayerSpawn()
  27. }, e.MC._onPlayerDeath = e.MC.onPlayerDeath, e.MC.onPlayerDeath = function() {
  28. e.MC._onPlayerDeath.apply(this, arguments), M && M.onPlayerDeath()
  29. }, e.MC._onAgarioCoreLoaded = e.MC.onAgarioCoreLoaded, e.MC.onAgarioCoreLoaded = function() {
  30. e.MC._onAgarioCoreLoaded.apply(this, arguments), l()
  31. }, e.MC._wasInitialized = e.MC.wasInitialized, e.MC.wasInitialized = function() {
  32. e.MC._wasInitialized.apply(this, arguments), setTimeout(function() {
  33. l(), M && (M && M.getDefaultSettings(), t("#nick").val(w.nick).blur()), t(".btn-spectate").prop("disabled", !1), e.onkeydown = function() {}
  34. }, 1e3)
  35. }, void(e.MC.onPlayerBanned = function() {})) : void setTimeout(r, 50)
  36. }
  37.  
  38. function l() {
  39. var a = 1 * e.innerWidth,
  40. i = 1 * e.innerHeight,
  41. s = t("#helloContainer"),
  42. n = s.innerHeight();
  43. n > 0 ? o.menuHeight = n : n = o.menuHeight || 618;
  44. var r = Math.min(1, i / n),
  45. l = n * r,
  46. c = Math.round(i / 2 - .5 * l),
  47. p = "translate(-50%, 0%) scale(" + r + ")";
  48. s.css("transform", p), s.css("-ms-transform", p), s.css("-webkit-transform", p), s.css("top", "" + c + "px"), o.innerW = a, o.innerH = i
  49. }
  50.  
  51. function c() {
  52. return o.play ? u[d].exit : void 0
  53. }
  54.  
  55. function p() {}
  56. /*var h = function() {
  57. var e = !0;
  58. return function(o, t) {
  59. var a = e ? function() {
  60. if (t) {
  61. var e = t.apply(o, arguments);
  62. return t = null, e
  63. }
  64. } : function() {};
  65. return e = !1, a
  66. }
  67. }();*/
  68. "/ogario" == e.location.pathname && e.history && e.history.replaceState && e.history.replaceState({}, e.document.title, "/" + e.location.hash),
  69. function() {
  70. /*var o = h(this, function() {
  71. var e = function() {
  72. return "dev"
  73. },
  74. o = function() {
  75. return "window"
  76. },
  77. t = function() {
  78. var o = RegExp("\\w+ *\\(\\) *{\\w+ *['|\"].+['|\"];? *}");
  79. return !o.test("" + e)
  80. },
  81. a = function() {
  82. var e = RegExp("(\\\\[x|u](\\w){2,4})+");
  83. return e.test("" + o)
  84. },
  85. i = function(e) {
  86. var o = 0;
  87. e.indexOf("i" === o) && s(e)
  88. },
  89. s = function(e) {
  90. var o = 3;
  91. e.indexOf((!0 + "")[3]) !== o && i(e)
  92. };
  93. i(t() ? "indеxOf" : a() ? "indexOf" : "indеxOf")
  94. });
  95. o(), */e.NREUM && (e.NREUM = null, delete e.NREUM), e.core && (e.core = null, delete e.core), t.ajax("http://agar.io/agario.core.js", {
  96. success: function(e) {
  97. var o = e;
  98. o = o.replace(/(\(function\(([\w$]+)\){)/i, "$1 var ogario=$2.ogario,gameCtx=null;"), o = o.replace(/(~~[\w]+)\+"px Ubuntu"/i, 'ogario.namesFontWeight+" "+$1+"px "+ogario.namesFontFamily'), o = o.replace(/(([\w$]+)=[\w$]+\.getContext\(\"2d\"\);)/i, 'if($2.id==="canvas"){$1 gameCtx=$2;}else{$1}'), o = o.replace(/(setTarget:function\((\w),(\w)\)\{)([\w$]+\(\w,\w\)})/i, "$1if(!ogario.play&&ogario.targeting){$2=ogario.targetX;$3=ogario.targetY;}if(ogario.pause){$2=ogario.innerW/2*ogario.canvasScale; $3=ogario.innerH/2*ogario.canvasScale;}$4"), o = o.replace(/(function\s*([\w$]+)\(\w\){return\s*[\w$]+\(\w,\w\)})/i, "$1 ogario.getString=$2;"), o = o.replace(/(\w\[\w\+(\d+)>>3]=(\w);\w\[\w\+(\d+)>>3]=(\w);\w\[\w\+(\d+)>>3]=(\w);\w\[\w\+(\d+)>>3]=(\w);)/i, "$1 if(ogario.setMapCoords){ogario.setMapCoords($3,$5,$7,$9,$2,$8);}"), o = o.replace(/if\((\+\w\[\w>>3\])<1\.0\){/i, "if($1<ogario.zoomResetValue){"), o = o.replace(/(\w)(=\+(\w\[\w>>3\])\*\+\w\()(\.\d)(,\+\w\);)/i, "if(!ogario.autoZoom){$3=ogario.zoomValue;} $1$2 (ogario.zoomSpeedValue||0.9) $5 ogario.zoomValue=$1;"), o = o.replace(/(\w=\w\[\w>>2\]\|0;)((\w\[\w>>3\])=(\w);)(\w\[\w>>0\]=a\[\w>>0\];)/i, "$1 if(!ogario.autoZoom){$3=ogario.zoomValue;}else{$2}$5"), o = o.replace(/(do{\w=\+\w\[\(\w\[\w>>2\]\|0\)\+\d+>>2];\w=\w\+\s*)(\+\(~~\+\w\(\+\(\w\*\w\/100\.0\)\)\|0\))(;\w=\w\+4\|0}while\(\(\w\|0\)!=\(\w\|0\)\);(\w)=(\w);)/i, "ogario.playerCellsMass=[]; $1$2; ogario.playerCellsMass.push($2)$3 ogario.playerMass=$5; if(ogario.calculateMass){ogario.calculateMass();}"), o = o.replace(/([\w$]+\(\d+,\w\[\w>>2\]\|0,(\+\w),(\+\w)\)\|0;[\w$]+\(\d+,\w\[\w>>2\]\|0,\+-(\+\w\[\w\+\d+>>3\]),\+-(\+\w\[\w\+\d+>>3\])\)\|0;)/i, "$1 ogario.viewScale=$2; ogario.playerX=$4; ogario.playerY=$5; if(ogario.customDraw){ogario.customDraw(gameCtx);}"), o = o.replace(/(while\(0\);)([\w$]+\(\w,\w\);)([\w$]+\(\w,\w\);)([\w$]+\(\w,\w\);)([\w$]+\(\w,\w\);)(\w\[\w\+\d+>>0\]=1;\w=\w;return})/i, "$1$6"), o = o.replace(/[\w$]+\(\w,\d+,15\);else/i, "{}"), o = o.replace(/(\d\.\d;return}function\s*)([\w$]+\(.,.\)){/i, "$1$2{if(ogario.drawGrid){ogario.drawGrid(gameCtx);} return;"), o = o.replace(/(if\(\(\w\[\d+\]\|0\)!=0\?\(\w\[\d+\]\|\w\[(\w)\+\d+>>0\]\)<<24>>24==0:0\))((\w)=\w\[(\w)\+\d+>>2\]\|0;)else/i, "ogario.cellMemOffset=$2; $1 if(!ogario.vanillaSkins&&ogario.customSkins){$4=0;}else{$3}else"), o = o.replace(/if\((\(\w\|0\)!=0\?\(\w\[\w\+\d+>>2\]&2\|0\)!=0:0)\){/i, "if(($1)&&!ogario.customSkins){"), o = o.replace(/do\s*if\((\w)\){((\w)=!\((\+\w\[\w>>2\])<=20\.0\);)([\w$]+\(\d+,\w\[\w>>2]\|0\)\|0;[\w$]+\(\d+,\w\[\w>>2]\|0,(\+\(\+\w\[\w>>2\]\)),(\+\(\+\w\[\w>>2\]\)),\+\(\+\w\[\w>>2\])\+5\.0(\),0\.0,6\.283185307179586,0\)\|0;[\w$]+\(\d+,\w\[\w>>2]\|0\)\|0;\w=\w\[\w>>2\]\|0;)if\(\w\){([\w$]+\(\d+,\w\|0,(\w&255\|0),(\w&255\|0),(\w&255\|0)\)\|0;)([\w$]+\(\d+,\w\[\w>>2]\|0\)\|0;)/i, "var nick=null,color=null,skin=null,cellX=null,cellY=null,cellSize=null,isFood=false,isVirus=false,isPlayerCell=false,skipCell=false;do if($1=1,$1){cellSize=$4;$2 if(!$3){isFood=true;if(!ogario.showFood){break;} if(ogario.autoHideFood&&!ogario.foodIsHidden&&ogario.playerMass>1000){ogario.showFood=false;ogario.foodIsHidden=true;} if(!ogario.rainbowFood){ogario.foodCache.push({x:$6,y:$7,size:cellSize});break;}} if(ogario.hideSmallBots&&cellSize<=36){skipCell=true;break;}$5$8 if($3){if(gameCtx){ogario.globalApha=gameCtx.globalAlpha;cellX=$6;cellY=$7;if(gameCtx.lineJoin==='miter'){isVirus=true;if(ogario.play&&ogario.virColors&&ogario.setVirusColor&&ogario.setVirusStrokeColor){gameCtx.fillStyle=ogario.setVirusColor(cellSize);gameCtx.strokeStyle=ogario.setVirusStrokeColor(cellSize);}else{gameCtx.fillStyle=ogario.virusColor;gameCtx.strokeStyle=ogario.virusStrokeColor;} if(ogario.transparentViruses){gameCtx.globalAlpha*=ogario.virusAlpha;} if(ogario.virusesRange&&ogario.play){ogario.virusesCache.push({x:cellX,y:cellY,size:cellSize});}}else{if(ogario.nameMemOffset&&ogario.cellMemOffset&&ogario.getString){if((a[ogario.cellMemOffset+ogario.nameMemOffset+4>>0]&1)==0|0){nick=ogario.getString(ogario.cellMemOffset+ogario.nameMemOffset+5);}else{nick=ogario.getString(c[ogario.cellMemOffset+ogario.nameMemOffset+12>>2]|0);}} if(ogario.rgb2Hex){color=ogario.rgb2Hex($10,$11,$12);} if(nick&&nick.length>0&&color){if(ogario.showCustomSkins&&ogario.customSkins&&ogario.getCustomSkin){skin=ogario.getCustomSkin(nick,color);}} if(ogario.play){if(ogario.cellMemOffset&&ogario.idOffset&&ogario.idMemOffset){var idA=c[ogario.cellMemOffset+ogario.idOffset>>2]|0;var idB=c[ogario.idMemOffset]|0;var idC=c[ogario.idMemOffset+1]|0;loop:do{if((idB|0)!=(idC|0)){while(true){if((c[idB>>2]|0)==(idA|0)){break loop;}idB=idB+4|0;if((idB|0)==(idC|0)){idB=idC;break;}}}}while(false);isPlayerCell=(idB|0)!=(idC|0);} if(isPlayerCell&&ogario.playerCells){ogario.playerCells.push({x:cellX,y:cellY,size:cellSize});ogario.playerColor=color;} if(((ogario.oppColors&&!ogario.oppRings)||(ogario.myCustomColor&&isPlayerCell))&&ogario.setOppColor){gameCtx.fillStyle=ogario.setOppColor(cellSize,isPlayerCell);}else{$9} if(!isPlayerCell&&(ogario.splitRange||ogario.oppRings)&&ogario.cacheCells){ogario.cacheCells(cellX,cellY,cellSize);}}else{$9} if(ogario.transparentCells){gameCtx.globalAlpha*=ogario.cellsAlpha;}}$13gameCtx.globalAlpha=ogario.globalApha;if(isVirus){gameCtx.lineWidth=ogario.virusStrokeSize;gameCtx.stroke();}if(((ogario.transparentSkins||(ogario.play&&ogario.oppColors))&&!(isPlayerCell&&!ogario.myTransparentSkin))||isPlayerCell&&ogario.myTransparentSkin){gameCtx.globalAlpha*=ogario.skinsAlpha;} if(skin){gameCtx.save();gameCtx.clip();gameCtx.drawImage(skin,cellX-cellSize,cellY-cellSize,2*cellSize,2*cellSize);gameCtx.restore();}}else{$9$13}break;"), o = o.replace(/(if\(\(\w\[\w\+\d+>>0\]\|0\)==0\?\(\(\(\(\w\[\w\+\d+>>2\]\|0\)\+\(\w\[\d+\]\|0\)\|0\)>>>0\)%10\|0\|0\)!=0:0\){\w=\w\[\w>>2\]\|0;[\w$]+\(\d+,\w\|0\)\|0;\w=\w;return})([\w$]+\(\w,\w\);)/i, "if(gameCtx&&ogario){gameCtx.globalAlpha=ogario.globalApha; if(ogario.teammatesInd&&ogario.indicator&&skin&&!isPlayerCell&&cellSize<=200){gameCtx.drawImage(ogario.indicator,cellX-45,cellY-cellSize-90);}}$1 if(!(skipCell||(ogario.autoHideCellsInfo&&ogario.setAutoHideCellsInfo&&cellSize&&!isFood&&!isVirus&&!isPlayerCell&&ogario.setAutoHideCellsInfo(cellSize)))){$2}"), o = o.replace(/([\w$]+\(\d+\,\w\[\w>>2\]\|0\)\|0}}while\(0\);do\s*if\()(\w)\)/i, "$1$2&&ogario.vanillaSkins&&!skin)"), o = o.replace(/(\w=0;\w=\w\[\w\+(\d+)>>2\]\|0;\w=\w\[(\d+)\]\|0;\w=\w\[\d+\]\|0;)(\w:do)/i, "$1 ogario.idOffset=$2; ogario.idMemOffset=$3; $4"), o = o.replace(/(\w=\w\+5\+\(\(\w\|0\)\/)2(\|0\)\|0)/i, "$1 ogario.massScaleMargin $2"), o = o.replace(/((\w)=\+[\w$]+\(\+\(\+[\w$]+\(\d+\)\*10.0\)\)\/10.0;)/i, "$1 if($2<0.3){$2=0.3}"), o = o.replace(/((\w)=\(\w\|0\)<20\?20.0:\+\(\w\|0\);)/i, "$1 $2*=ogario.massScale;"), o = o.replace(/do\s+if\((\w)\|(\(\w\[\d+\]\|0\)\!=0)\){/i, "do if(($2&&!($1&&ogario.hideMyName))||!ogario.nameMemOffset){"), o = o.replace(/(\w=\w\+(\d+)\|0;\w=~~\(\+\w\[\w\+\d+>>2\]\*\.3\);)((\w)=\(\w\|0\)<26\?26.0:\+\(\w\|0\);)/i, "$1 ogario.nameMemOffset=$2; $3 $4*=ogario.nameScale;"), o = o.replace(/(if\(\w<=)(20\.0)(\){\w=\w;return})(if\(!(\w)\){if\(\(\w\[\d+\]\|0\)!=\(\w\[\d+\]\|0\)\){\w=\w;return}if\(\(\w\[\w\+\d+>>0\]\|0\)!=0\?\(\w\[\w>>0\]\|0\)==0:0\){\w=\w;return}})((\w\[\w>>2\])=~~\+[\w$]+\(\+\((\w)\*\w\/100\.0\)\);)/i, "$140.0||$5&&ogario.hideMyMass||!$5&&ogario.hideEnemiesMass$3$6");
  99. var t = document.createElement("script");
  100. t.textContent = o, t.async = !0, document.body.appendChild(t)
  101. },
  102. dataType: "text",
  103. method: "GET",
  104. cache: !1,
  105. crossDomain: !0
  106. })
  107. }();
  108. var d = "en",
  109. m = e.navigator.language || e.navigator.userLanguage;
  110. "pl" === m && (d = "pl");
  111. var u = {
  112. pl: {
  113. start: "Start",
  114. settings: "Ustawienia",
  115. restoreSettings: "Przywróc ustawienia domyślne",
  116. respGroup: "Odrodzenie",
  117. zoomGroup: "Zoom",
  118. namesGroup: "Nazwy",
  119. massGroup: "Masa",
  120. skinsGroup: "Skiny",
  121. foodGroup: "Pokarm",
  122. transparencyGroup: "Przezroczystość / kolory",
  123. gridGroup: "Siatka / sektory",
  124. miniMapGroup: "Minimapa",
  125. helpersGroup: "Wspomagacze",
  126. mouseGroup: "Sterowanie myszką",
  127. hudGroup: "HUD",
  128. chatGroup: "Czat",
  129. statsGroup: "Statystyki",
  130. extrasGroup: "Dodatkowe",
  131. noSkins: "Wyłącz skiny",
  132. noNames: "Wyłącz nazwy",
  133. noColors: "Wyłącz kolory",
  134. showMass: "Pokaż masę",
  135. skipStats: "Pomiń statystyki po śmierci",
  136. quickResp: "Szybkie odrodzenie (klawisz)",
  137. autoResp: "Auto odrodzenie",
  138. autoZoom: "Auto zoom",
  139. zoomSpeed: "Szybkość zoomu",
  140. autoHideCellsInfo: "Autoukrywanie nazw i masy",
  141. autoHideFood: "Autoukrywanie pokarmu",
  142. hideMyName: "Ukryj własną nazwę",
  143. hideMyMass: "Ukryj własną masę",
  144. hideEnemiesMass: "Ukryj masę przeciwników",
  145. vanillaSkins: "Podstawowe skiny",
  146. customSkins: "Własne skiny",
  147. myTransparentSkin: "Mój przezroczysty skin",
  148. myCustomColor: "Mój własny kolor",
  149. transparentCells: "Przezroczyste kulki",
  150. transparentViruses: "Przezroczyste wirusy",
  151. transparentSkins: "Przezroczyste skiny",
  152. showGrid: "Siatka",
  153. showBgSectors: "Sektory w tle",
  154. showMapBorders: "Granice mapy",
  155. showMiniMap: "Pokaż minimapę",
  156. showMiniMapGrid: "Pokaż siatkę minimapy",
  157. showMiniMapGuides: "Pokaż prowadnice na minimapie",
  158. oneColoredTeammates: "Jednokolorowi gracze",
  159. rainbowFood: "Kolorowy pokarm",
  160. oppColors: "Kolory przeciwników",
  161. oppRings: "Ringi przeciwników",
  162. virColors: "Kolory wirusów",
  163. splitRange: "Zasięg podziału",
  164. virusesRange: "Zasięg wirusów",
  165. textStroke: "Obwódki nazw i masy",
  166. cursorTracking: "Śledzenie kursora",
  167. teammatesInd: "Wskaźniki graczy",
  168. mouseSplit: "LPM - Split myszką",
  169. mouseFeed: "PPM - Feed myszką",
  170. mouseInvert: "Odwróć klawisze myszki",
  171. disableChat: "Wyłącz czat",
  172. hideChat: "Ukryj czat",
  173. showChatBox: "Czatbox zamiast wyskakujących wiadomości",
  174. showChatImages: "Pokaż obrazki na czacie",
  175. showChatVideos: "Pokaż filmiki na czacie",
  176. showTop5: "Pokaż top 5 teamu",
  177. showTargeting: "Pokaż namierzanie",
  178. showTime: "Pokaż aktualny czas",
  179. normalLb: 'Nagłówek "Topka"',
  180. centeredLb: "Wyśrodkowana topka",
  181. fpsAtTop: "Statystyki na górze",
  182. showStats: "Pokaż statystyki",
  183. showStatsMass: "Statystyki: Masa",
  184. showStatsSTE: "Statystyki: STE",
  185. showStatsN16: "Statystyki: n/16",
  186. showStatsFPS: "Statystyki: FPS",
  187. blockPopups: "Blokuj popupy (reklamy/sklep)",
  188. hotkeys: "Skróty klawiszowe",
  189. "hk-inst-assign": "Aby ustawić skrót klawiszowy kliknij na polu skrótu i naciśnij wybrany klawisz.",
  190. "hk-inst-delete": "Aby usunąć skrót klawiszowy kliknij na polu skrótu i naciśnij klawisz DELETE.",
  191. "hk-inst-keys": "Możliwe kombinacje skrótów klawiszowych z użyciem klawiszy CTRL oraz ALT.",
  192. "hk-feed": "Feed",
  193. "hk-macroFeed": "Szybki feed",
  194. "hk-split": "Podział",
  195. "hk-doubleSplit": "Podwójny podział",
  196. "hk-split16": "Podział na 16",
  197. "hk-pause": "Pauza kulki",
  198. "hk-showTop5": "Pokaż/ukryj top 5 teamu",
  199. "hk-showTime": "Pokaż/ukryj aktualny czas",
  200. "hk-showSplitRange": "Pokaż/ukryj zasięg podziału",
  201. "hk-showSplitInd": "Pokaż/ukryj zasięg podziału z ringami",
  202. "hk-showTeammatesInd": "Pokaż/ukryj wskaźniki graczy",
  203. "hk-showOppColors": "Pokaż/ukryj kolory przeciwników",
  204. "hk-toggleSkins": "Przełącz skiny (własne/standardowe)",
  205. "hk-showSkins": "Pokaż/ukryj skiny",
  206. "hk-showStats": "Pokaż/ukryj statystyki gry",
  207. "hk-toggleCells": "Przełącz kulkę (najmniejsza/największa)",
  208. "hk-showFood": "Pokaż/ukryj pokarm",
  209. "hk-showGrid": "Pokaż/ukryj siatkę",
  210. "hk-showMiniMapGuides": "Pokaż/ukryj prowadnice na minimapie",
  211. "hk-hideChat": "Pokaż/ukryj czat",
  212. "hk-showHUD": "Pokaż/ukryj HUD",
  213. "hk-copyLb": "Kopiuj topkę",
  214. "hk-showLb": "Pokaż/ukryj topkę",
  215. "hk-toggleAutoZoom": "Włącz/wyłącz auto zoom",
  216. "hk-resetZoom": "Reset zoomu",
  217. "hk-zoomLevel": "Zoom - poziom",
  218. "hk-toggleDeath": "Przełącz miejsce śmierci",
  219. "hk-clearChat": "Pokaż historię czatu / Czyść czat",
  220. "hk-showBgSectors": "Pokaż/ukryj sektory w tle",
  221. "hk-hideBots": "Pokaż/ukryj małe boty",
  222. "hk-showNames": "Pokaż/ukryj nazwy",
  223. "hk-showMass": "Pokaż/ukryj masę",
  224. "hk-showMiniMap": "Pokaż/ukryj minimapę",
  225. "hk-chatMessage": "Napisz wiadomość na czacie",
  226. "hk-quickResp": "Szybkie odrodzenie (respawn)",
  227. "hk-autoResp": "Włącz/wyłacz auto odrodzenie",
  228. "hk-switchServerMode": "Przełącz serwer [publiczny/prywatny]",
  229. "hk-showTargeting": "Pokaż/ukryj panel namierzania",
  230. "hk-setTargeting": "Włącz/wyłącz namierzanie (śledzenie)",
  231. "hk-cancelTargeting": "Zatrzymaj namierzanie",
  232. "hk-changeTarget": "Zmień cel",
  233. "hk-privateMiniMap": "Pokaż cel na minimapie",
  234. commands: "Komendy",
  235. comm1: "Feeduj!",
  236. comm2: "Dziel się!",
  237. comm3: "Pomocy na %currentSector%!",
  238. comm4: "Wróg na %currentSector%!",
  239. comm5: "Zabij pomocnika!",
  240. comm6: "Strzel z wirusa!",
  241. comm7: "Zjedz wirusa!",
  242. comm8: "Zjebałem, wybacz.",
  243. comm9: "Ja pierdolę...",
  244. comm0: "Kurwa mać!",
  245. comm10: "Trick!",
  246. comm11: "Lewo!",
  247. comm12: "Góra!",
  248. comm13: "Prawo!",
  249. comm14: "Dół!",
  250. saveComm: "Zapisz komendy",
  251. theme: "Wygląd",
  252. restoreThemeSettings: "Przywróc ustawienia domyślne wyglądu",
  253. basicTheming: "Podstawowy",
  254. themePreset: "Motyw",
  255. themeType: "Typ motywu",
  256. darkTheme: "Ciemny motyw",
  257. lightTheme: "Jasny motyw",
  258. mainColor: "Kolor główny",
  259. bgColor: "Tło",
  260. foodColor: "Pokarm",
  261. gridColor: "Siatka / sektory",
  262. bordersColor: "Granice mapy",
  263. virusColor: "Wirusy",
  264. virusStrokeColor: "Obwódki wirusów",
  265. namesFont: "Czcionka nazw i masy",
  266. sectorsFont: "Czcionka sektorów",
  267. nameScale: "Skala nazw",
  268. massScale: "Skala masy",
  269. foodSize: "Wielkość pokarmu",
  270. bordersWidth: "Grubość granic mapy",
  271. sectorsWidth: "Grubość siatki sektorów",
  272. sectorsFontSize: "Rozmiar czcionki sektorów",
  273. cellsAlpha: "Przezroczystość kulek",
  274. skinsAlpha: "Przezroczystość skinów",
  275. virusAlpha: "Przezroczystość wirusów",
  276. virusStrokeSize: "Grubość obwódki wirusów",
  277. cursorTrackingColor: "Śledzenie kursora",
  278. splitRangeColor: "Zasięg podziału",
  279. menuTheming: "Menu",
  280. menuPreset: "Motyw menu",
  281. menuMainColor: "Kolor główny",
  282. menuBtnTextColor: "Tekst przycisku",
  283. menuPanelColor: "Panel",
  284. menuPanelColor2: "Panel (2)",
  285. menuTextColor: "Tekst panelu",
  286. menuTextColor2: "Tekst panelu (2)",
  287. btn1Color: "Przycisk #1",
  288. btn1Color2: "Przycisk #1 (2)",
  289. btn2Color: "Przycisk #2",
  290. btn2Color2: "Przycisk #2 (2)",
  291. btn3Color: "Przycisk #3",
  292. btn3Color2: "Przycisk #3 (2)",
  293. btn4Color: "Przycisk #4",
  294. btn4Color2: "Przycisk #4 (2)",
  295. menuBg: "Grafika tła panelu",
  296. menuOpacity: "Przezroczystość",
  297. hudTheming: "HUD",
  298. hudMainColor: "Kolor główny",
  299. hudColor: "Tło",
  300. hudTextColor: "Tekst",
  301. statsHudColor: "Statystyki",
  302. timeHudColor: "Czas",
  303. top5MassColor: "Masa w top 5",
  304. lbMeColor: "Topka - ja",
  305. lbTeammateColor: "Topka - team",
  306. hudFont: "Czcionka HUD",
  307. hudScale: "Skala HUD",
  308. chatTheming: "Czat",
  309. messageColor: "Tło wiadomości",
  310. messageTextColor: "Tekst wiadomości",
  311. messageTimeColor: "Czas wiadomości",
  312. messageNickColor: "Nick wiadomości",
  313. commandsColor: "Tło komendy",
  314. commandsTextColor: "Tekst komendy",
  315. commandsTimeColor: "Czas komendy",
  316. commandsNickColor: "Nick komendy",
  317. chatBoxColor: "Tło czatboxu",
  318. chatScale: "Skala czatu",
  319. miniMapTheming: "Minimapa",
  320. miniMapSectorColor: "Sektor",
  321. miniMapGuidesColor: "Prowadnice",
  322. miniMapNickColor: "Nick",
  323. miniMapNickStrokeColor: "Obwódka nicku",
  324. miniMapMyCellColor: "Moja kulka",
  325. miniMapMyCellStrokeColor: "Obwódka mojej kulki",
  326. miniMapTeammatesColor: "Gracze",
  327. miniMapDeathLocationColor: "Miejsce śmierci",
  328. miniMapFont: "Czcionka minimapy",
  329. miniMapNickFont: "Czcionka nicku",
  330. miniMapWidth: "Szerokość minimapy",
  331. miniMapSectorsOpacity: "Przezroczystość sektorów",
  332. miniMapNickSize: "Rozmiar nicku",
  333. miniMapNickStrokeSize: "Grubość obwódki nicku",
  334. miniMapMyCellSize: "Wielkość mojej kulki",
  335. miniMapMyCellStrokeSize: "Grubość obwódki mojej kulki",
  336. miniMapTeammatesSize: "Wielkość graczy",
  337. imagesTheming: "Grafika / kursory",
  338. customBackground: "Grafika tła",
  339. customCursor: "Grafika kursora",
  340. hideChatMsgA: "Czat jest aktywny!",
  341. hideChatMsgB: "Czat został ukryty!",
  342. showSkinsMsgA: "Skiny są widoczne!",
  343. showSkinsMsgB: "Skiny zostały ukryte!",
  344. hideSmallBotsMsgA: "Małe boty są widoczne!",
  345. hideSmallBotsMsgB: "Małe boty zostały ukryte!",
  346. autoRespMsgA: "Auto odrodzenie zostało włączone!",
  347. autoRespMsgB: "Auto odrodzenie zostało wyłączone!",
  348. autoZoomMsgA: "Auto zoom został włączony!",
  349. autoZoomMsgB: "Auto zoom został wyłączony!",
  350. targetNotSet: "Brak celu",
  351. targetDead: "Nie żyje",
  352. targetDistance: "Dystans",
  353. targetMass: "Masa razem",
  354. totalPartyPlayers: "Aktywnych graczy",
  355. totalPartyMass: "Łącznie masy",
  356. exportImport: "Eksport / import ustawień",
  357. exportSettings: "Eksportuj ustawienia",
  358. exportInfo: "Aby wyeksportować wybrane ustawienia skopiuj poniższy kod i zapisz go w pliku tekstowym z kodowaniem Unicode.",
  359. importSettings: "Importuj ustawienia",
  360. importInfo: 'Aby zaimportować wybrane ustawienia wklej poniżej wyeksportowany wcześniej kod i naciśnij przycisk "Importuj ustawienia".',
  361. profile: "Profil",
  362. profiles: "Profile",
  363. skins: "Skiny",
  364. moreSkins: "Dodaj skiny",
  365. thanks: "Dzięki Awesome!",
  366. saveSett: "Zapisz ustawienia",
  367. saved: "Zapisano!",
  368. resetSett: "Resetuj ustawienia",
  369. close: "Zamknij",
  370. enterChatMsg: "Napisz wiadomość",
  371. activeParties: "Aktywne party",
  372. noActiveParties: "Brak aktywnych party ;(",
  373. playlist: "Playlista",
  374. pause: "PAUZA!",
  375. visit: "Odwiedź",
  376. exit: "OGARio by szymy: Czy na pewno chcesz opuścic grę?",
  377. blockWarn: "UWAGA! Popupy zostały zablokowane w ustawieniach.",
  378. unblockPopups: "Odblokuj tymczasowo",
  379. mass: "Masa",
  380. score: "Top",
  381. leaderboard: "Topka",
  382. page_back_button: "Wróć",
  383. page_create_party: "Stwórz party",
  384. page_join_party: "Dołącz",
  385. page_login_and_play: "Zaloguj",
  386. page_logout: "Wyloguj",
  387. page_menu_login_facebook: "Zaloguj z Facebook",
  388. page_menu_login_google: "Zaloguj z Google",
  389. page_menu_main_free_coins: "Darmowe Monety",
  390. page_menu_main_gifts: "Prezenty",
  391. page_party_join_error: "Nie można dołączyć do tego party. Upewnij się, że token jest prawidłowy lub stwórz nowy.",
  392. page_play: "Graj",
  393. page_play_as_guest: "Graj jako gość",
  394. page_shop: "Sklep",
  395. page_spectate: "Obserwuj",
  396. page_stats: "Statystyki"
  397. },
  398. en: {
  399. start: "Home",
  400. settings: "Settings",
  401. restoreSettings: "Restore default settings",
  402. respGroup: "Respawn",
  403. zoomGroup: "Zoom",
  404. namesGroup: "Names",
  405. massGroup: "Mass",
  406. skinsGroup: "Skins",
  407. foodGroup: "Food",
  408. transparencyGroup: "Transparency / colors",
  409. gridGroup: "Grid / sectors",
  410. miniMapGroup: "Minimap",
  411. helpersGroup: "Helpers",
  412. mouseGroup: "Mouse control",
  413. hudGroup: "HUD",
  414. chatGroup: "Chat",
  415. statsGroup: "Stats",
  416. extrasGroup: "Extras",
  417. noSkins: "No skins",
  418. noNames: "No names",
  419. noColors: "No colors",
  420. showMass: "Show mass",
  421. skipStats: "Skip stats after death",
  422. quickResp: "Quick respawn (hotkey)",
  423. autoResp: "Auto respawn",
  424. autoZoom: "Auto zoom",
  425. zoomSpeed: "Zoom speed",
  426. autoHideCellsInfo: "Auto hide names and mass",
  427. autoHideFood: "Auto hide food",
  428. hideMyName: "Hide my name",
  429. hideMyMass: "Hide my mass",
  430. hideEnemiesMass: "Hide enemies mass",
  431. vanillaSkins: "Vanilla skins",
  432. customSkins: "Custom skins",
  433. myTransparentSkin: "My transparent skin",
  434. myCustomColor: "My custom color",
  435. transparentCells: "Transparent cells",
  436. transparentViruses: "Transparent viruses",
  437. transparentSkins: "Transparent skins",
  438. showGrid: "Show grid",
  439. showBgSectors: "Show background sectors",
  440. showMapBorders: "Show map borders",
  441. showMiniMap: "Show minimap",
  442. showMiniMapGrid: "Show minimap grid",
  443. showMiniMapGuides: "Show minimap guides",
  444. oneColoredTeammates: "One-colored teammates",
  445. rainbowFood: "Rainbow food",
  446. oppColors: "Opponents colors",
  447. oppRings: "Opponents rings",
  448. virColors: "Viruses colors",
  449. splitRange: "Split range",
  450. virusesRange: "Viruses range",
  451. textStroke: "Names and mass stroke",
  452. cursorTracking: "Cursor tracking",
  453. teammatesInd: "Teammates indicators",
  454. mouseSplit: "LMB - Mouse split",
  455. mouseFeed: "RMB - Mouse feed",
  456. mouseInvert: "Invert mouse buttons",
  457. disableChat: "Disable chat",
  458. hideChat: "Hide chat",
  459. showChatBox: "Chatbox instead of popups",
  460. showChatImages: "Show images on chat",
  461. showChatVideos: "Show videos on chat",
  462. showTop5: "Show team top 5",
  463. showTargeting: "Show targeting",
  464. showTime: "Show current time",
  465. normalLb: '"Leaderboard" header',
  466. centeredLb: "Centered leaderboard",
  467. fpsAtTop: "Game stats at the top",
  468. showStats: "Show game stats",
  469. showStatsMass: "Game stats: Mass",
  470. showStatsSTE: "Game stats: STE",
  471. showStatsN16: "Game stats: n/16",
  472. showStatsFPS: "Game stats: FPS",
  473. blockPopups: "Block popups (ads/shop)",
  474. hotkeys: "Hotkeys",
  475. "hk-inst-assign": "To assign a hotkey click on the input field and press your chosen key.",
  476. "hk-inst-delete": "To delete a hotkey click on the input field and press the DELETE key.",
  477. "hk-inst-keys": "Possible key combinations with the CTRL and ALT keys.",
  478. "hk-feed": "Feed",
  479. "hk-macroFeed": "Macro feed",
  480. "hk-split": "Split",
  481. "hk-doubleSplit": "Double split",
  482. "hk-split16": "Split 16",
  483. "hk-pause": "Cell pause",
  484. "hk-showTop5": "Show/hide team top 5",
  485. "hk-showTime": "Show/hide current time",
  486. "hk-showSplitRange": "Show/hide split range",
  487. "hk-showSplitInd": "Show/hide split indicators",
  488. "hk-showTeammatesInd": "Show/hide teammates indicators",
  489. "hk-showOppColors": "Show/hide opponents colors",
  490. "hk-toggleSkins": "Toggle skins (custom/default)",
  491. "hk-showSkins": "Show/hide skins",
  492. "hk-showStats": "Show/hide game stats",
  493. "hk-toggleCells": "Toggle own cells (smallest/biggest)",
  494. "hk-showFood": "Show/hide food",
  495. "hk-showGrid": "Show/hide grid",
  496. "hk-showMiniMapGuides": "Show/hide minimap guides",
  497. "hk-hideChat": "Show/hide chat",
  498. "hk-showHUD": "Show/hide HUD",
  499. "hk-copyLb": "Copy leaderboard",
  500. "hk-showLb": "Show/hide leaderboard",
  501. "hk-toggleAutoZoom": "Toggle auto zoom",
  502. "hk-resetZoom": "Reset zoom",
  503. "hk-zoomLevel": "Zoom level",
  504. "hk-toggleDeath": "Toggle death location",
  505. "hk-clearChat": "Show chat history / Clear chat",
  506. "hk-showBgSectors": "Show/hide background sectors",
  507. "hk-hideBots": "Show/hide small bots",
  508. "hk-showNames": "Show/hide names",
  509. "hk-showMass": "Show/hide mass",
  510. "hk-showMiniMap": "Show/hide minimap",
  511. "hk-chatMessage": "Enter chat message",
  512. "hk-quickResp": "Quick respawn",
  513. "hk-autoResp": "Toggle auto respawn",
  514. "hk-switchServerMode": "Switch server [public/private]",
  515. "hk-showTargeting": "Show/hide targeting panel",
  516. "hk-setTargeting": "Start/stop targeting (following)",
  517. "hk-cancelTargeting": "Cancel targeting",
  518. "hk-changeTarget": "Change target",
  519. "hk-privateMiniMap": "Show target on the minimap",
  520. commands: "Commands",
  521. comm1: "Feed me!",
  522. comm2: "Split into me!",
  523. comm3: "Need backup at %currentSector%!",
  524. comm4: "Enemy spotted at %currentSector%!",
  525. comm5: "Need a teammate!",
  526. comm6: "Tank the virus!",
  527. comm7: "Eat the virus!",
  528. comm8: "Let's bait!",
  529. comm9: "Fake tricksplit!",
  530. comm0: "Fuck!",
  531. comm10: "Tricksplit!",
  532. comm11: "Left!",
  533. comm12: "Up!",
  534. comm13: "Right!",
  535. comm14: "Bottom!",
  536. saveComm: "Save commands",
  537. theme: "Theme",
  538. restoreThemeSettings: "Restore theme default settings",
  539. basicTheming: "Basic theming",
  540. themePreset: "Theme preset",
  541. themeType: "Theme type",
  542. darkTheme: "Dark theme",
  543. lightTheme: "Light theme",
  544. mainColor: "Main color",
  545. bgColor: "Background",
  546. foodColor: "Food",
  547. gridColor: "Grid / sectors",
  548. bordersColor: "Map borders",
  549. virusColor: "Virus",
  550. virusStrokeColor: "Virus stroke",
  551. namesFont: "Names & mass font",
  552. sectorsFont: "Sectors font",
  553. nameScale: "Name scale",
  554. massScale: "Mass scale",
  555. foodSize: "Food size",
  556. bordersWidth: "Map borders width",
  557. sectorsWidth: "Sectors grid width",
  558. sectorsFontSize: "Sectors font size",
  559. cellsAlpha: "Cells transparency",
  560. skinsAlpha: "Skins transparency",
  561. virusAlpha: "Virus transparency",
  562. virusStrokeSize: "Virus stroke size",
  563. cursorTrackingColor: "Cursor tracking",
  564. splitRangeColor: "Split range",
  565. menuTheming: "Menu",
  566. menuPreset: "Menu theme",
  567. menuMainColor: "Main color",
  568. menuBtnTextColor: "Button text",
  569. menuPanelColor: "Panel",
  570. menuPanelColor2: "Panel (2)",
  571. menuTextColor: "Panel text",
  572. menuTextColor2: "Panel text (2)",
  573. btn1Color: "Button #1",
  574. btn1Color2: "Button #1 (2)",
  575. btn2Color: "Button #2",
  576. btn2Color2: "Button #2 (2)",
  577. btn3Color: "Button #3",
  578. btn3Color2: "Button #3 (2)",
  579. btn4Color: "Button #4",
  580. btn4Color2: "Button #4 (2)",
  581. menuBg: "Panel background image",
  582. menuOpacity: "Transparency",
  583. hudTheming: "HUD",
  584. hudMainColor: "Main color",
  585. hudColor: "Background",
  586. hudTextColor: "Text",
  587. statsHudColor: "Stats",
  588. timeHudColor: "Time",
  589. top5MassColor: "Top 5 mass",
  590. lbMeColor: "Leaderboard - me",
  591. lbTeammateColor: "Leaderboard - teammate",
  592. hudFont: "HUD font",
  593. hudScale: "HUD scale",
  594. chatTheming: "Chat",
  595. messageColor: "Message background",
  596. messageTextColor: "Message text",
  597. messageTimeColor: "Message time",
  598. messageNickColor: "Message nick",
  599. commandsColor: "Command background",
  600. commandsTextColor: "Command text",
  601. commandsTimeColor: "Command time",
  602. commandsNickColor: "Command nick",
  603. chatBoxColor: "Chatbox color",
  604. chatScale: "Chat scale",
  605. miniMapTheming: "Minimap",
  606. miniMapSectorColor: "Sector",
  607. miniMapGuidesColor: "Guides",
  608. miniMapNickColor: "Nick",
  609. miniMapNickStrokeColor: "Nick stroke",
  610. miniMapMyCellColor: "My cell",
  611. miniMapMyCellStrokeColor: "My cell stroke",
  612. miniMapTeammatesColor: "Teammates",
  613. miniMapDeathLocationColor: "Death location",
  614. miniMapFont: "Minimap font",
  615. miniMapNickFont: "Nick font",
  616. miniMapWidth: "Minimap width",
  617. miniMapSectorsOpacity: "Sectors transparency",
  618. miniMapNickSize: "Nick size",
  619. miniMapNickStrokeSize: "Nick stroke size",
  620. miniMapMyCellSize: "My cell size",
  621. miniMapMyCellStrokeSize: "My cell stroke size",
  622. miniMapTeammatesSize: "Teammates size",
  623. imagesTheming: "Graphics / cursors",
  624. customBackground: "Custom background image",
  625. customCursor: "Custom cursor image",
  626. hideChatMsgA: "Chat is visible!",
  627. hideChatMsgB: "Chat is hidden!",
  628. showSkinsMsgA: "Skins are visible!",
  629. showSkinsMsgB: "Skins are hidden!",
  630. hideSmallBotsMsgA: "Small bots are visible!",
  631. hideSmallBotsMsgB: "Small bots are hidden!",
  632. autoRespMsgA: "Auto respawn is on!",
  633. autoRespMsgB: "Auto respawn is off!",
  634. autoZoomMsgA: "Auto zoom is on!",
  635. autoZoomMsgB: "Auto zoom is off!",
  636. targetNotSet: "Target not set",
  637. targetDead: "Dead",
  638. targetDistance: "Distance",
  639. targetMass: "Mass altogether",
  640. totalPartyPlayers: "Active players",
  641. totalPartyMass: "Total mass",
  642. exportImport: "Export / import settings",
  643. exportSettings: "Export settings",
  644. exportInfo: "To export selected settings copy the code below and save it to a text file encoded in Unicode.",
  645. importSettings: "Import settings",
  646. importInfo: 'To import selected settings paste an exported code below and press the "Import settings" button.',
  647. profile: "Profile",
  648. profiles: "Profiles",
  649. skins: "Skins",
  650. moreSkins: "Add skins",
  651. thanks: "Thanks to Awesome!",
  652. saveSett: "Save settings",
  653. saved: "Saved!",
  654. resetSett: "Reset to default",
  655. close: "Close",
  656. enterChatMsg: "Enter chat message",
  657. activeParties: "Active parties",
  658. noActiveParties: "No active parties ;(",
  659. playlist: "Playlist",
  660. pause: "PAUSE!",
  661. visit: "Visit",
  662. exit: "OGARio by szymy: Are you sure you want to quit the game?",
  663. blockWarn: "WARNING! Popups are blocked in the settings.",
  664. unblockPopups: "Temporary unblock",
  665. mass: "Mass",
  666. score: "Score",
  667. leaderboard: "Leaderboard",
  668. page_menu_main_free_coins: "Free Coins",
  669. page_menu_main_gifts: "Gifts",
  670. page_shop: "Shop"
  671. }
  672. },
  673. g = {
  674. comm1: u[d].comm1,
  675. comm2: u[d].comm2,
  676. comm3: u[d].comm3,
  677. comm4: u[d].comm4,
  678. comm5: u[d].comm5,
  679. comm6: u[d].comm6,
  680. comm7: u[d].comm7,
  681. comm8: u[d].comm8,
  682. comm9: u[d].comm9,
  683. comm0: u[d].comm0,
  684. comm10: u[d].comm10,
  685. comm11: u[d].comm11,
  686. comm12: u[d].comm12,
  687. comm13: u[d].comm13,
  688. comm14: u[d].comm14
  689. },
  690. f = {
  691. "&": "&amp;",
  692. "<": "&lt;",
  693. ">": "&gt;",
  694. '"': "&quot;",
  695. "'": "&#39;",
  696. "/": "&#x2F;"
  697. },
  698. k = {
  699. "ogario-v3": {
  700. name: "OGARio v3",
  701. darkTheme: !0,
  702. mainColor: "#01d9cc",
  703. bgColor: "#000a11",
  704. gridColor: "#00243e",
  705. bordersColor: "#01d9cc",
  706. foodColor: "#5000ff",
  707. virusColor: "#002f52",
  708. virusStrokeColor: "#00b9e8",
  709. cursorTrackingColor: "#ffffff",
  710. splitRangeColor: "#ffffff",
  711. namesFont: "ubuntu-bold",
  712. sectorsFont: "ubuntu",
  713. nameScale: 1,
  714. massScale: 3,
  715. foodSize: 5,
  716. bordersWidth: 40,
  717. sectorsWidth: 40,
  718. sectorsFontSize: 1200,
  719. cellsAlpha: .9,
  720. skinsAlpha: .7,
  721. virusAlpha: .6,
  722. virusStrokeSize: 14,
  723. menuPreset: "ogario-v3",
  724. menuMainColor: "#01d9cc",
  725. menuBtnTextColor: "#ffffff",
  726. menuPanelColor: "#00243e",
  727. menuPanelColor2: "#002f52",
  728. menuTextColor: "#ffffff",
  729. menuTextColor2: "#8096a7",
  730. btn1Color: "#018cf6",
  731. btn1Color2: "#0176ce",
  732. btn2Color: "#00b9e8",
  733. btn2Color2: "#0099c0",
  734. btn3Color: "#8d5fe6",
  735. btn3Color2: "#814ee3",
  736. btn4Color: "#bf00aa",
  737. btn4Color2: "#a80096",
  738. menuBg: "http://cdn.ogario.ovh/static/img/pattern.png",
  739. menuOpacity: .96,
  740. hudMainColor: "#01d9cc",
  741. hudColor: "rgba(0,0,0,0.4)",
  742. hudTextColor: "#ffffff",
  743. statsHudColor: "#ffffff",
  744. timeHudColor: "#01d9cc",
  745. top5MassColor: "#bf00aa",
  746. lbMeColor: "#bf00aa",
  747. lbTeammateColor: "#018cf6",
  748. hudFont: "ubuntu-bold",
  749. hudScale: 1,
  750. messageColor: "rgba(0,0,0,0.4)",
  751. messageTextColor: "#ffffff",
  752. messageTimeColor: "#018cf6",
  753. messageNickColor: "#01d9cc",
  754. commandsColor: "rgba(191,0,170,0.9)",
  755. commandsTextColor: "#ffffff",
  756. commandsTimeColor: "#bf00aa",
  757. commandsNickColor: "#ffffff",
  758. chatBoxColor: "rgba(0,0,0,0.4)",
  759. chatScale: 1,
  760. miniMapSectorColor: "#01d9cc",
  761. miniMapGuidesColor: "#bf00aa",
  762. miniMapNickColor: "#ffffff",
  763. miniMapNickStrokeColor: "#000000",
  764. miniMapMyCellColor: "#ffffff",
  765. miniMapMyCellStrokeColor: "#bf00aa",
  766. miniMapTeammatesColor: "#01d9cc",
  767. miniMapDeathLocationColor: "#bf00aa",
  768. miniMapFont: "ubuntu-bold",
  769. miniMapNickFont: "ubuntu-bold",
  770. miniMapWidth: 240,
  771. miniMapSectorsOpacity: .1,
  772. miniMapNickSize: 11,
  773. miniMapNickStrokeSize: 2,
  774. miniMapMyCellSize: 7.5,
  775. miniMapMyCellStrokeSize: 4,
  776. miniMapTeammatesSize: 5.5,
  777. customBackground: "",
  778. customCursor: "http://cdn.ogario.ovh/static/img/cursors/cursor_02.cur"
  779. },
  780. "ogario-orange": {
  781. name: "OGARio v2",
  782. darkTheme: !0,
  783. mainColor: "#ff7800",
  784. bgColor: "#111111",
  785. gridColor: "#292929",
  786. bordersColor: "#ff7800",
  787. foodColor: "#e16400",
  788. virusColor: "#666666",
  789. virusStrokeColor: "#666666",
  790. hudMainColor: "#ff7800",
  791. statsHudColor: "#ff7800",
  792. top5MassColor: "#ff7800",
  793. timeHudColor: "#ff7800",
  794. messageNickColor: "#ff7800",
  795. commandsColor: "rgba(255,120,0,0.9)",
  796. commandsTimeColor: "#ff7800",
  797. commandsTextColor: "#ffffff",
  798. miniMapSectorColor: "#ff7800",
  799. miniMapGuidesColor: "#ff7800",
  800. miniMapMyCellColor: "#ffffff",
  801. miniMapMyCellStrokeColor: "#ff7800",
  802. miniMapTeammatesColor: "#ff7800",
  803. miniMapDeathLocationColor: "#ff7800",
  804. miniMapSectorsOpacity: .1
  805. },
  806. "ogario-gold": {
  807. name: "OGARio LE",
  808. darkTheme: !0,
  809. mainColor: "#b5a642",
  810. bgColor: "#000000",
  811. gridColor: "#111111",
  812. bordersColor: "#b5a642",
  813. foodColor: "#998c36",
  814. virusColor: "#666666",
  815. virusStrokeColor: "#666666",
  816. hudMainColor: "#b5a642",
  817. statsHudColor: "#b5a642",
  818. top5MassColor: "#b5a642",
  819. timeHudColor: "#b5a642",
  820. messageNickColor: "#b5a642",
  821. commandsColor: "rgba(181,166,66,0.9)",
  822. commandsTimeColor: "#b5a642",
  823. commandsTextColor: "#ffffff",
  824. miniMapSectorColor: "#b5a642",
  825. miniMapGuidesColor: "#b5a642",
  826. miniMapMyCellColor: "#ffffff",
  827. miniMapMyCellStrokeColor: "#b5a642",
  828. miniMapTeammatesColor: "#b5a642",
  829. miniMapDeathLocationColor: "#b5a642",
  830. miniMapSectorsOpacity: .1
  831. },
  832. "sniikz-style": {
  833. name: "SniiKz's Style",
  834. darkTheme: !0,
  835. mainColor: "#01d9cc",
  836. bgColor: "#000000",
  837. gridColor: "#00243e",
  838. bordersColor: "#ffffff",
  839. foodColor: "#5000ff",
  840. virusColor: "#3b3b3b",
  841. virusStrokeColor: "#ffffff",
  842. cursorTrackingColor: "#ffffff",
  843. splitRangeColor: "#ffffff",
  844. massScale: 4,
  845. foodSize: 1,
  846. bordersWidth: 40,
  847. sectorsWidth: 40,
  848. sectorsFontSize: 1200,
  849. cellsAlpha: .99,
  850. skinsAlpha: .7,
  851. virusAlpha: .4,
  852. virusStrokeSize: 10,
  853. menuPreset: "ogario-v3",
  854. menuMainColor: "#fc0079",
  855. menuBtnTextColor: "#ffffff",
  856. menuPanelColor: "#050008",
  857. menuPanelColor2: "#1d0526",
  858. menuTextColor: "#ffffff",
  859. menuTextColor2: "#65458f",
  860. btn1Color: "#4f0242",
  861. btn1Color2: "#3b0431",
  862. btn2Color: "#6b0036",
  863. btn2Color2: "#4d0227",
  864. btn3Color: "#aa084e",
  865. btn3Color2: "#80063b",
  866. btn4Color: "#aa084e",
  867. btn4Color2: "#8a063f",
  868. menuBg: "http://cdn.ogario.ovh/static/img/pattern.png",
  869. menuOpacity: 1,
  870. hudMainColor: "#5974ff",
  871. hudColor: "rgba(36,36,36,0.49)",
  872. hudTextColor: "#ffffff",
  873. statsHudColor: "#ffffff",
  874. timeHudColor: "#737373",
  875. top5MassColor: "#1fe000",
  876. lbMeColor: "#bf00aa",
  877. lbTeammateColor: "#018cf6",
  878. hudScale: 1.15,
  879. messageColor: "rgba(0,0,0,0.4)",
  880. messageTextColor: "#e8e8e8",
  881. messageTimeColor: "#545454",
  882. messageNickColor: "#05ff00",
  883. commandsColor: "rgba(36,36,36,0.9)",
  884. commandsTextColor: "#ffffff",
  885. commandsTimeColor: "#545454",
  886. commandsNickColor: "#ffffff",
  887. chatBoxColor: "rgba(0,0,0,0.4)",
  888. chatScale: 1,
  889. miniMapSectorColor: "#000000",
  890. miniMapGuidesColor: "#ff00a8",
  891. miniMapNickColor: "#ffffff",
  892. miniMapNickStrokeColor: "#4d4d4d",
  893. miniMapMyCellColor: "#f0ff3d",
  894. miniMapMyCellStrokeColor: "#acba07",
  895. miniMapTeammatesColor: "#305eff",
  896. miniMapDeathLocationColor: "#2b2b2b",
  897. miniMapWidth: 250,
  898. miniMapSectorsOpacity: .1,
  899. miniMapNickSize: 9,
  900. miniMapNickStrokeSize: 0,
  901. miniMapMyCellSize: 5,
  902. miniMapMyCellStrokeSize: 0,
  903. miniMapTeammatesSize: 5,
  904. customBackground: "",
  905. customCursor: "http://cdn.ogario.ovh/static/img/cursors/cursor_01.cur"
  906. },
  907. "hkg-style": {
  908. name: "HKG Style",
  909. darkTheme: !0,
  910. mainColor: "#651fff",
  911. bgColor: "#000000",
  912. gridColor: "#111111",
  913. bordersColor: "#ffffff",
  914. foodColor: "#651fff",
  915. virusColor: "#666666",
  916. virusStrokeColor: "#666666",
  917. hudMainColor: "#651fff",
  918. statsHudColor: "#651fff",
  919. top5MassColor: "#651fff",
  920. timeHudColor: "#651fff",
  921. messageNickColor: "#651fff",
  922. commandsColor: "rgba(101,31,255,0.9)",
  923. commandsTimeColor: "#651fff",
  924. commandsTextColor: "#ffffff",
  925. miniMapSectorColor: "#651fff",
  926. miniMapGuidesColor: "#651fff",
  927. miniMapMyCellColor: "#ffffff",
  928. miniMapMyCellStrokeColor: "#651fff",
  929. miniMapTeammatesColor: "#651fff",
  930. miniMapDeathLocationColor: "#651fff",
  931. miniMapSectorsOpacity: .1
  932. },
  933. "agario-light": {
  934. name: "Agar.io Light",
  935. darkTheme: !1,
  936. mainColor: "#ffffff",
  937. bgColor: "#f2fbff",
  938. gridColor: "#ced6d9",
  939. bordersColor: "#858a8c",
  940. foodColor: "#2de52d",
  941. virusColor: "#33ff33",
  942. virusStrokeColor: "#2de52d",
  943. hudMainColor: "#ffffff",
  944. statsHudColor: "#ffffff",
  945. top5MassColor: "#ffffff",
  946. timeHudColor: "#ffffff",
  947. messageNickColor: "#ffffff",
  948. commandsColor: "rgba(255,255,255,0.9)",
  949. commandsTimeColor: "#ffffff",
  950. commandsTextColor: "#000000",
  951. miniMapSectorColor: "#ffffff",
  952. miniMapGuidesColor: "#ffffff",
  953. miniMapMyCellColor: "#ffffff",
  954. miniMapMyCellStrokeColor: "#ffffff",
  955. miniMapTeammatesColor: "#ffffff",
  956. miniMapDeathLocationColor: "#ffffff",
  957. miniMapSectorsOpacity: .25
  958. },
  959. "agario-dark": {
  960. name: "Agar.io Dark",
  961. darkTheme: !0,
  962. mainColor: "#ffffff",
  963. bgColor: "#111111",
  964. gridColor: "#333333",
  965. bordersColor: "#999999",
  966. foodColor: "#2de52d",
  967. virusColor: "#33ff33",
  968. virusStrokeColor: "#2de52d",
  969. hudMainColor: "#ffffff",
  970. statsHudColor: "#ffffff",
  971. top5MassColor: "#ffffff",
  972. timeHudColor: "#ffffff",
  973. messageNickColor: "#ffffff",
  974. commandsColor: "rgba(255,255,255,0.9)",
  975. commandsTimeColor: "#ffffff",
  976. commandsTextColor: "#ffffff",
  977. miniMapSectorColor: "#ffffff",
  978. miniMapGuidesColor: "#ffffff",
  979. miniMapMyCellColor: "#ffffff",
  980. miniMapMyCellStrokeColor: "#ffffff",
  981. miniMapTeammatesColor: "#ffffff",
  982. miniMapDeathLocationColor: "#ffffff",
  983. miniMapSectorsOpacity: .1
  984. }
  985. },
  986. y = {
  987. "ogario-v3": {
  988. name: "OGARio v3",
  989. menuMainColor: "#01d9cc",
  990. menuBtnTextColor: "#ffffff",
  991. menuPanelColor: "#00243e",
  992. menuPanelColor2: "#002f52",
  993. menuTextColor: "#ffffff",
  994. menuTextColor2: "#8096a7",
  995. btn1Color: "#018cf6",
  996. btn1Color2: "#0176ce",
  997. btn2Color: "#00b9e8",
  998. btn2Color2: "#0099c0",
  999. btn3Color: "#8d5fe6",
  1000. btn3Color2: "#814ee3",
  1001. btn4Color: "#f300d8",
  1002. btn4Color2: "#df00c6",
  1003. menuBg: "http://cdn.ogario.ovh/static/img/pattern.png"
  1004. },
  1005. "ogario-v2": {
  1006. name: "OGARio v2",
  1007. menuMainColor: "#ff7800",
  1008. menuBtnTextColor: "#ffffff",
  1009. menuPanelColor: "#222222",
  1010. menuPanelColor2: "#333333",
  1011. menuTextColor: "#bbbbbb",
  1012. menuTextColor2: "#bbbbbb",
  1013. btn1Color: "#428bca",
  1014. btn1Color2: "#3071a9",
  1015. btn2Color: "#5cb85c",
  1016. btn2Color2: "#449d44",
  1017. btn3Color: "#f0ad4e",
  1018. btn3Color2: "#ec971f",
  1019. btn4Color: "#d9534f",
  1020. btn4Color2: "#c9302c",
  1021. menuBg: ""
  1022. },
  1023. agario: {
  1024. name: "Agar.io",
  1025. menuMainColor: "#5bc0de",
  1026. menuBtnTextColor: "#ffffff",
  1027. menuPanelColor: "#ffffff",
  1028. menuPanelColor2: "#cccccc",
  1029. menuTextColor: "#333333",
  1030. menuTextColor2: "#999999",
  1031. btn1Color: "#428bca",
  1032. btn1Color2: "#3071a9",
  1033. btn2Color: "#5cb85c",
  1034. btn2Color2: "#449d44",
  1035. btn3Color: "#f0ad4e",
  1036. btn3Color2: "#ec971f",
  1037. btn4Color: "#d9534f",
  1038. btn4Color2: "#c9302c",
  1039. menuBg: ""
  1040. }
  1041. },
  1042. C = {
  1043. preset: "ogario-v3",
  1044. darkTheme: !0,
  1045. mainColor: "#01d9cc",
  1046. bgColor: "#000a11",
  1047. gridColor: "#00243e",
  1048. bordersColor: "#01d9cc",
  1049. foodColor: "#5000ff",
  1050. virusColor: "#002f52",
  1051. virusStrokeColor: "#00b9e8",
  1052. cursorTrackingColor: "#ffffff",
  1053. splitRangeColor: "#ffffff",
  1054. namesFont: "ubuntu-bold",
  1055. namesFontFamily: "Ubuntu",
  1056. namesFontWeight: 700,
  1057. sectorsFont: "ubuntu",
  1058. sectorsFontFamily: "Ubuntu",
  1059. sectorsFontWeight: 400,
  1060. sectorsX: 5,
  1061. sectorsY: 5,
  1062. nameScale: 1,
  1063. massScale: 3,
  1064. massScaleMargin: 1.25,
  1065. foodSize: 5,
  1066. bordersWidth: 40,
  1067. sectorsWidth: 40,
  1068. sectorsFontSize: 1200,
  1069. cellsAlpha: .9,
  1070. skinsAlpha: .7,
  1071. virusAlpha: .6,
  1072. virusStrokeSize: 14,
  1073. menuPreset: "ogario-v3",
  1074. menuMainColor: "#01d9cc",
  1075. menuBtnTextColor: "#ffffff",
  1076. menuPanelColor: "#00243e",
  1077. menuPanelColor2: "#002f52",
  1078. menuTextColor: "#ffffff",
  1079. menuTextColor2: "#8096a7",
  1080. btn1Color: "#018cf6",
  1081. btn1Color2: "#0176ce",
  1082. btn2Color: "#00b9e8",
  1083. btn2Color2: "#0099c0",
  1084. btn3Color: "#8d5fe6",
  1085. btn3Color2: "#814ee3",
  1086. btn4Color: "#bf00aa",
  1087. btn4Color2: "#a80096",
  1088. menuBg: "http://cdn.ogario.ovh/static/img/pattern.png",
  1089. menuOpacity: .96,
  1090. hudMainColor: "#01d9cc",
  1091. hudColor: "rgba(0,0,0,0.4)",
  1092. hudTextColor: "#ffffff",
  1093. statsHudColor: "#ffffff",
  1094. timeHudColor: "#01d9cc",
  1095. top5MassColor: "#bf00aa",
  1096. lbMeColor: "#bf00aa",
  1097. lbTeammateColor: "#018cf6",
  1098. hudFont: "ubuntu-bold",
  1099. hudFontFamily: "Ubuntu",
  1100. hudFontWeight: 700,
  1101. hudScale: 1,
  1102. messageColor: "rgba(0,0,0,0.4)",
  1103. messageTextColor: "#ffffff",
  1104. messageTimeColor: "#018cf6",
  1105. messageNickColor: "#01d9cc",
  1106. commandsColor: "rgba(191,0,170,0.9)",
  1107. commandsTextColor: "#ffffff",
  1108. commandsTimeColor: "#bf00aa",
  1109. commandsNickColor: "#ffffff",
  1110. chatBoxColor: "rgba(0,0,0,0.4)",
  1111. chatScale: 1,
  1112. miniMapSectorColor: "#01d9cc",
  1113. miniMapGuidesColor: "#bf00aa",
  1114. miniMapNickColor: "#ffffff",
  1115. miniMapNickStrokeColor: "#000000",
  1116. miniMapMyCellColor: "#ffffff",
  1117. miniMapMyCellStrokeColor: "#bf00aa",
  1118. miniMapTeammatesColor: "#01d9cc",
  1119. miniMapDeathLocationColor: "#bf00aa",
  1120. miniMapFont: "ubuntu-bold",
  1121. miniMapFontFamily: "Ubuntu",
  1122. miniMapFontWeight: 700,
  1123. miniMapNickFont: "ubuntu-bold",
  1124. miniMapNickFontFamily: "Ubuntu",
  1125. miniMapNickFontWeight: 700,
  1126. miniMapWidth: 240,
  1127. miniMapTop: 24,
  1128. miniMapSectorsOpacity: .1,
  1129. miniMapNickSize: 11,
  1130. miniMapNickStrokeSize: 2,
  1131. miniMapMyCellSize: 7.5,
  1132. miniMapMyCellStrokeSize: 4,
  1133. miniMapTeammatesSize: 5.5,
  1134. customBackground: "",
  1135. customCursor: "http://cdn.ogario.ovh/static/img/cursors/cursor_02.cur"
  1136. };
  1137. a.prototype = {
  1138. menuMainColorCSS: null,
  1139. menuPanelColorCSS: null,
  1140. menuTextlColorCSS: null,
  1141. menuButtonsCSS: null,
  1142. hudCSS: null,
  1143. chatCSS: null,
  1144. chatScaleCSS: null,
  1145. cursorCSS: null,
  1146. loadThemeSettings: function() {
  1147. var t = null;
  1148. null !== e.localStorage.getItem("ogarioThemeSettings") && (t = JSON.parse(e.localStorage.getItem("ogarioThemeSettings")));
  1149. for (var a in C) C.hasOwnProperty(a) && (t && t.hasOwnProperty(a) && (C[a] = t[a]), o.hasOwnProperty(a) && (o[a] = C[a]))
  1150. },
  1151. saveThemeSettings: function() {
  1152. e.localStorage.setItem("ogarioThemeSettings", JSON.stringify(C))
  1153. },
  1154. restoreThemeSettings: function() {
  1155. null !== e.localStorage.getItem("ogarioThemeSettings") && (e.localStorage.removeItem("ogarioThemeSettings"), e.location.reload())
  1156. },
  1157. addCustomCSS: function(e, o) {
  1158. this[e] || (this[e] = t("<style type='text/css'>").appendTo("head")), this[e].html(o)
  1159. },
  1160. addPresetBox: function(e, o, a, i, s) {
  1161. t(e).append('<div class="preset-box"><span class="title">' + u[d][o] + '</span><div class="select-wrapper"><select id="' + o + '" class="form-control"></select></div></div>');
  1162. for (var n in a) a.hasOwnProperty(n) && t("#" + o).append('<option value="' + n + '">' + a[n].name + "</option>");
  1163. t("#" + o).val(C[i]);
  1164. var r = this;
  1165. t("#" + o).on("change", function() {
  1166. var e = t(this).val();
  1167. C[i] = e, r[s](e)
  1168. })
  1169. },
  1170. addColorBox: function(e, a, i) {
  1171. if (t(e).append('<div class="color-box"><span class="title">' + u[d][a] + '</span><div class="input-group ' + a + '-picker"><input type="text" value="' + C[a] + '" id="' + a + '" class="form-control" /><span class="input-group-addon"><i></i></span></div></div>'), i) {
  1172. var s = this;
  1173. t(e + " ." + a + "-picker").colorpicker({
  1174. format: "hex"
  1175. }).on("changeColor.colorpicker", function(e) {
  1176. C[a] = e.color.toHex(), o.hasOwnProperty(a) && (o[a] = C[a]), s[i]()
  1177. })
  1178. } else t(e + " ." + a + "-picker").colorpicker({
  1179. format: "hex"
  1180. }).on("changeColor.colorpicker", function(e) {
  1181. C[a] = e.color.toHex(), o.hasOwnProperty(a) && (o[a] = C[a])
  1182. })
  1183. },
  1184. addRgbaColorBox: function(e, a, i) {
  1185. if (t(e).append('<div class="color-box"><span class="title">' + u[d][a] + '</span><div class="input-group ' + a + '-picker"><input type="text" value="' + C[a] + '" id="' + a + '" class="form-control" /><span class="input-group-addon"><i></i></span></div></div>'), i) {
  1186. var s = this;
  1187. t(e + " ." + a + "-picker").colorpicker({
  1188. format: "rgba"
  1189. }).on("changeColor.colorpicker", function(e) {
  1190. var t = e.color.toRGB();
  1191. C[a] = "rgba(" + t.r + "," + t.g + "," + t.b + "," + t.a + ")", o.hasOwnProperty(a) && (o[a] = C[a]), s[i]()
  1192. })
  1193. } else t(e + " ." + a + "-picker").colorpicker({
  1194. format: "rgba"
  1195. }).on("changeColor.colorpicker", function(e) {
  1196. var t = e.color.toRGB();
  1197. C[a] = "rgba(" + t.r + "," + t.g + "," + t.b + "," + t.a + ")", o.hasOwnProperty(a) && (o[a] = C[a])
  1198. })
  1199. },
  1200. addSliderBox: function(e, a, i, s, n, r) {
  1201. if (t(e).append('<div class="slider-box"><div class="box-label"><span class="value-label">' + u[d][a] + ': </span><span id="' + a + '-value" class="value">' + C[a] + '</span></div><input id="' + a + '-slider" type="range" min="' + i + '" max="' + s + '" step="' + n + '" value="' + C[a] + '"></div>'), r) {
  1202. var l = this;
  1203. t("#" + a + "-slider").on("input", function() {
  1204. var e = parseFloat(t(this).val());
  1205. t("#" + a + "-value").text(e), C[a] = e, o.hasOwnProperty(a) && (o[a] = e), l[r]()
  1206. })
  1207. } else t("#" + a + "-slider").on("input", function() {
  1208. var e = parseFloat(t(this).val());
  1209. t("#" + a + "-value").text(e), C[a] = e, o.hasOwnProperty(a) && (o[a] = e)
  1210. })
  1211. },
  1212. addInputBox: function(e, o, a, i) {
  1213. t(e).append('<div class="input-box"><span class="title">' + u[d][o] + '</span><input id="' + o + '" class="form-control" placeholder="' + a + '" value="' + C[o] + '" /></div>');
  1214. var s = this;
  1215. t("#" + o).on("input", function() {
  1216. var e = t(this).val();
  1217. C[o] = e, s[i]()
  1218. })
  1219. },
  1220. addCursorBox: function(e, o) {
  1221. t(e).append(o === C.customCursor ? '<div class="cursor-box"><a href="#" class="active"><img src="' + o + '"></a></div>' : '<div class="cursor-box"><a href="#"><img src="' + o + '"></a></div>')
  1222. },
  1223. setFont: function(e, t) {
  1224. C[e] = t, C[e + "Family"] = this.setFontFamily(t), C[e + "Weight"] = this.setFontWeight(t), o.hasOwnProperty(e + "Family") && (o[e + "Family"] = C[e + "Family"]), o.hasOwnProperty(e + "Weight") && (o[e + "Weight"] = C[e + "Weight"])
  1225. },
  1226. addFontBox: function(e, o, a) {
  1227. t(e).append('<div class="font-box"><span class="title">' + u[d][o] + '</span><div class="select-wrapper"><select id="' + o + '" class="form-control"></select></div></div>'), t("#" + o).append('<option value="ubuntu">Ubuntu</option><option value="ubuntu-bold">Ubuntu Bold</option>'), t("#" + o).append('<option value="roboto">Roboto</option><option value="roboto-bold">Roboto Bold</option>'), t("#" + o).append('<option value="oswald">Oswald</option><option value="oswald-bold">Oswald Bold</option>'), t("#" + o).val(C[o]);
  1228. var i = this;
  1229. a ? t("#" + o).on("change", function() {
  1230. var e = t(this).val();
  1231. i.setFont(o, e), i[a]()
  1232. }) : t("#" + o).on("change", function() {
  1233. var e = t(this).val();
  1234. i.setFont(o, e)
  1235. })
  1236. },
  1237. setFontFamily: function(e) {
  1238. return -1 != e.indexOf("roboto") ? "Roboto" : -1 != e.indexOf("oswald") ? "Oswald" : "Ubuntu"
  1239. },
  1240. setFontWeight: function(e) {
  1241. return -1 != e.indexOf("bold") ? 700 : 400
  1242. },
  1243. setThemeMenu: function() {
  1244. var e = this;
  1245. t("#theme").append('<ul class="submenu-tabs"><li class="theme-main-tab active"><a href="#theme-main" class="active icon-paint-format" data-toggle="tab-tooltip" data-container="body" title="' + u[d].basicTheming + '"></a></li><li class="theme-menu-tab"><a href="#theme-menu" class="icon-menu" data-toggle="tab-tooltip" data-container="body" title="' + u[d].menuTheming + '"></a></li><li class="theme-hud-tab"><a href="#theme-hud" class="icon-display" data-toggle="tab-tooltip" data-container="body" title="' + u[d].hudTheming + '"></a></li><li class="theme-chat-tab"><a href="#theme-chat" class="icon-bubbles" data-toggle="tab-tooltip" data-container="body" title="' + u[d].chatTheming + '"></a></li><li class="theme-minimap-tab"><a href="#theme-minimap" class="icon-location2" data-toggle="tab-tooltip" data-container="body" title="' + u[d].miniMapTheming + '"></a></li><li class="theme-images-tab"><a href="#theme-images" class="icon-image" data-toggle="tab-tooltip" data-container="body" title="' + u[d].imagesTheming + '"></a></li></ul><div id="theme-main" class="submenu-panel"></div><div id="theme-menu" class="submenu-panel"></div><div id="theme-hud" class="submenu-panel"></div><div id="theme-chat" class="submenu-panel"></div><div id="theme-minimap" class="submenu-panel"></div><div id="theme-images" class="submenu-panel"></div>'), this.addPresetBox("#theme-main", "themePreset", k, "preset", "changeThemePreset"), this.addColorBox("#theme-main", "bgColor", "setBgColor"), this.addColorBox("#theme-main", "foodColor"), this.addColorBox("#theme-main", "gridColor"), this.addColorBox("#theme-main", "bordersColor"), this.addColorBox("#theme-main", "virusColor"), this.addColorBox("#theme-main", "virusStrokeColor"), this.addColorBox("#theme-main", "cursorTrackingColor"), this.addColorBox("#theme-main", "splitRangeColor"), this.addFontBox("#theme-main", "namesFont"), this.addFontBox("#theme-main", "sectorsFont"), this.addSliderBox("#theme-main", "sectorsFontSize", 200, 2e3, 10), this.addSliderBox("#theme-main", "nameScale", .5, 2, .1, "setMassScale"), this.addSliderBox("#theme-main", "massScale", 1, 5, 1, "setMassScale"), this.addSliderBox("#theme-main", "foodSize", 1, 50, 1), this.addSliderBox("#theme-main", "virusStrokeSize", 2, 40, 1), this.addSliderBox("#theme-main", "bordersWidth", 2, 200, 2), this.addSliderBox("#theme-main", "sectorsWidth", 2, 200, 2), this.addSliderBox("#theme-main", "cellsAlpha", .01, .99, .01), this.addSliderBox("#theme-main", "skinsAlpha", .01, .99, .01), this.addSliderBox("#theme-main", "virusAlpha", 0, 1, .01), this.addPresetBox("#theme-menu", "menuPreset", y, "menuPreset", "changeMenuPreset"), this.addSliderBox("#theme-menu", "menuOpacity", .1, 1, .01, "setMenuOpacity"), this.addColorBox("#theme-menu", "menuMainColor", "setMenuMainColor"), this.addColorBox("#theme-menu", "menuBtnTextColor", "setMenuButtons"), this.addColorBox("#theme-menu", "menuPanelColor", "setMenuPanelColor"), this.addColorBox("#theme-menu", "menuPanelColor2", "setMenuPanelColor"), this.addColorBox("#theme-menu", "menuTextColor", "setMenuTextColor"), this.addColorBox("#theme-menu", "menuTextColor2", "setMenuTextColor"), this.addColorBox("#theme-menu", "btn1Color", "setMenuButtons"), this.addColorBox("#theme-menu", "btn1Color2", "setMenuButtons"), this.addColorBox("#theme-menu", "btn2Color", "setMenuButtons"), this.addColorBox("#theme-menu", "btn2Color2", "setMenuButtons"), this.addColorBox("#theme-menu", "btn3Color", "setMenuButtons"), this.addColorBox("#theme-menu", "btn3Color2", "setMenuButtons"), this.addColorBox("#theme-menu", "btn4Color", "setMenuButtons"), this.addColorBox("#theme-menu", "btn4Color2", "setMenuButtons"), this.addInputBox("#theme-menu", "menuBg", "Image URL", "setMenuBg"), this.addColorBox("#theme-hud", "hudMainColor", "setHudColors"), this.addRgbaColorBox("#theme-hud", "hudColor", "setHudColors"), this.addColorBox("#theme-hud", "hudTextColor", "setHudColors"), this.addColorBox("#theme-hud", "statsHudColor", "setHudColors"), this.addColorBox("#theme-hud", "timeHudColor", "setHudColors"), this.addColorBox("#theme-hud", "top5MassColor", "setHudColors"), this.addColorBox("#theme-hud", "lbMeColor", "setHudColors"), this.addColorBox("#theme-hud", "lbTeammateColor", "setHudColors"), this.addFontBox("#theme-hud", "hudFont", "setHudFont"), this.addSliderBox("#theme-hud", "hudScale", 1, 2, .01, "setHudScale"), this.addRgbaColorBox("#theme-chat", "messageColor", "setChatColors"), this.addColorBox("#theme-chat", "messageTextColor", "setChatColors"), this.addColorBox("#theme-chat", "messageTimeColor", "setChatColors"), this.addColorBox("#theme-chat", "messageNickColor", "setChatColors"), this.addRgbaColorBox("#theme-chat", "commandsColor", "setChatColors"), this.addColorBox("#theme-chat", "commandsTextColor", "setChatColors"), this.addColorBox("#theme-chat", "commandsTimeColor", "setChatColors"), this.addColorBox("#theme-chat", "commandsNickColor", "setChatColors"), this.addRgbaColorBox("#theme-chat", "chatBoxColor", "setChatColors"), this.addSliderBox("#theme-chat", "chatScale", 1, 2, .01, "setChatScale"), this.addColorBox("#theme-minimap", "miniMapSectorColor"), this.addColorBox("#theme-minimap", "miniMapGuidesColor"), this.addColorBox("#theme-minimap", "miniMapNickColor"), this.addColorBox("#theme-minimap", "miniMapNickStrokeColor"), this.addColorBox("#theme-minimap", "miniMapMyCellColor"), this.addColorBox("#theme-minimap", "miniMapMyCellStrokeColor"), this.addColorBox("#theme-minimap", "miniMapTeammatesColor"), this.addColorBox("#theme-minimap", "miniMapDeathLocationColor"), this.addFontBox("#theme-minimap", "miniMapFont", "setMiniMapFont"), this.addFontBox("#theme-minimap", "miniMapNickFont"), this.addSliderBox("#theme-minimap", "miniMapWidth", 200, 400, 2, "setMiniMapWidth"), this.addSliderBox("#theme-minimap", "miniMapSectorsOpacity", 0, 1, .01, "setMiniMapSectorsOpacity"), this.addSliderBox("#theme-minimap", "miniMapNickSize", 8, 16, 1), this.addSliderBox("#theme-minimap", "miniMapNickStrokeSize", 0, 6, 1), this.addSliderBox("#theme-minimap", "miniMapMyCellSize", 4, 10, .5), this.addSliderBox("#theme-minimap", "miniMapMyCellStrokeSize", 0, 10, 1), this.addSliderBox("#theme-minimap", "miniMapTeammatesSize", 4, 10, .5), this.addInputBox("#theme-images", "customBackground", "Image URL", "setCustomBackground"), this.addInputBox("#theme-images", "customCursor", "Cursor image URL", "setCustomCursor");
  1246. for (var o = "http://cdn.ogario.ovh/static/img/cursors/cursor_", a = 0; 35 > a; a++) 9 > a ? this.addCursorBox("#theme-images", o + "0" + (a + 1) + ".cur") : this.addCursorBox("#theme-images", o + "" + (a + 1) + ".cur");
  1247. t("#theme-images .cursor-box a").on("click", function(o) {
  1248. o.preventDefault();
  1249. var a = t("img", this).attr("src");
  1250. C.customCursor = a, e.setCustomCursor(), t("#customCursor").val(a), t("#theme-images .cursor-box a").removeClass("active"), t(this).addClass("active")
  1251. }), t("#theme").append('<button class="btn btn-block btn-success btn-save"">' + u[d].saveSett + "</button>"), t("#theme .btn-save").on("click", function(o) {
  1252. o.preventDefault();
  1253. var a = t(this);
  1254. a.text(u[d].saved), e.saveThemeSettings(), setTimeout(function() {
  1255. a.text(u[d].saveSett)
  1256. }, 500)
  1257. }), t("#theme").append('<div class="restore-settings"><a href="#">' + u[d].restoreThemeSettings + "</a></div>"), t("#theme .restore-settings a").on("click", function(o) {
  1258. o.preventDefault(), e.restoreThemeSettings()
  1259. }), t(".skin").colorpicker({
  1260. format: "hex",
  1261. input: "#color"
  1262. })
  1263. },
  1264. changePreset: function(e, a) {
  1265. if (a[e]) {
  1266. C[e] = e;
  1267. var e = a[e];
  1268. for (var i in e) e.hasOwnProperty(i) && C.hasOwnProperty(i) && (C[i] = e[i], o.hasOwnProperty(i) && (o[i] = C[i]), t("#theme ." + i + "-picker") && t("#theme ." + i + "-picker").colorpicker("setValue", C[i]), t("#" + i + "-slider") && t("#" + i + "-slider").val(C[i]).change(), (t("input[type=text]#" + i) || t("select#" + i)) && t("#" + i).val(C[i]))
  1269. }
  1270. },
  1271. changeThemePreset: function(e) {
  1272. this.changePreset(e, k), this.setTheme()
  1273. },
  1274. setFonts: function() {
  1275. this.setFont("namesFont", C.namesFont), this.setFont("sectorsFont", C.sectorsFont)
  1276. },
  1277. setMassScale: function() {
  1278. switch (C.massScale) {
  1279. case 5:
  1280. o.massScaleMargin = C.massScaleMargin = 1 * C.nameScale;
  1281. break;
  1282. case 4:
  1283. o.massScaleMargin = C.massScaleMargin = 1.125 * C.nameScale;
  1284. break;
  1285. case 3:
  1286. o.massScaleMargin = C.massScaleMargin = 1.25 * C.nameScale;
  1287. break;
  1288. case 2:
  1289. o.massScaleMargin = C.massScaleMargin = 1.5 * C.nameScale;
  1290. break;
  1291. default:
  1292. o.massScaleMargin = C.massScaleMargin = 2 * C.nameScale
  1293. }
  1294. },
  1295. setBgColor: function() {
  1296. t("body").css("background-color", C.bgColor)
  1297. },
  1298. setCustomBackground: function() {
  1299. C.customBackground ? t("body").css("background-image", "url(" + C.customBackground + ")") : t("body").css("background-image", "none")
  1300. },
  1301. setCustomCursor: function() {
  1302. if (C.customCursor) var e = "*{cursor:url(" + C.customCursor + "), auto !important}";
  1303. else var e = "*{cursor: auto}";
  1304. this.addCustomCSS("cursorCSS", e)
  1305. },
  1306. setMenu: function() {
  1307. this.setMenuOpacity(), this.setMenuMainColor(), this.setMenuPanelColor(), this.setMenuTextColor(), this.setMenuButtons(), this.setMenuBg()
  1308. },
  1309. changeMenuPreset: function(e) {
  1310. this.changePreset(e, y), this.setMenu()
  1311. },
  1312. setMenuOpacity: function() {
  1313. t("#helloContainer, #hotkeys, #exp-imp").css("opacity", C.menuOpacity)
  1314. },
  1315. setMenuMainColor: function() {
  1316. var e = "::-moz-selection{background-color:" + C.menuMainColor + "!important}::selection{background-color:" + C.menuMainColor + "!important}.menu-main-color,#quick-menu a:hover,.quick,.quick:focus,.menu-tabs a:hover,.menu-tabs .active,.submenu-tabs a:hover,.submenu-tabs .active,#stats center,#exp-imp h1{color:" + C.menuMainColor + "}#exp-bar .progress-bar-striped,.quick:hover,.rangeslider__fill{background-color:" + C.menuMainColor + "}#main-menu,.agario-side-panel,#hotkeys,#exp-imp{border-color:" + C.menuMainColor + "}.ps-scrollbar-y{background-color:" + C.menuMainColor + "!important}";
  1317. this.addCustomCSS("menuMainColorCSS", e)
  1318. },
  1319. setMenuPanelColor: function() {
  1320. var e = "#main-menu,.agario-side-panel,#hotkeys,#exp-imp{background-color: " + C.menuPanelColor + "}label:hover,.agario-panel input,.agario-panel select,.agario-side-panel input,.agario-side-panel select,.input-group-addon,.nick .input-group-btn,.skin .input-group-btn,#stream-mode,#hide-url,.menu-tabs a:hover,.menu-tabs .active,.submenu-tabs,#exp-bar .progress,#quick-menu a:hover,.quick,.select-wrapper,#hotkeys-cfg div.row:hover,#hotkeys-cfg .command-in,#exp-imp-settings textarea,.restore-settings{background-color: " + C.menuPanelColor2 + "}.agario-panel h5,.agario-side-panel h5,#stats h2,.menu-tabs,.submenu-tabs,#skins a.default,#stats hr,#hotkeys-cfg div.row, #exp-imp h1{border-color: " + C.menuPanelColor2 + "}.quick:hover,#skins a,#profiles{color:" + C.menuPanelColor2 + "}input.stream-mode,input.hide-url{color:" + C.menuPanelColor2 + "!important}";
  1321. this.addCustomCSS("menuPanelColorCSS", e)
  1322. },
  1323. setMenuTextColor: function() {
  1324. var e = ".agario-panel,.agario-side-panel,.agario-panel input,.agario-panel select,.agario-side-panel input,.agario-side-panel select,.input-group-addon,.dark .yt-username,#stream-mode,#hide-url,.menu-tabs a,.submenu-tabs a,#skins a.default:hover,#quick-menu a,#prev-profile.default:hover,#next-profile.default:hover,#statsText,#hotkeys,#hotkeys-cfg .command-in,#exp-imp{color:" + C.menuTextColor + "}#skins a.default:hover{border-color:" + C.menuTextColor + "}::-webkit-input-placeholder{color:" + C.menuTextColor2 + "!important}::-moz-placeholder{color:" + C.menuTextColor2 + "!important}#user-id-tag, #version-tag,#statsSubtext,#hotkeys-inst,#exp-imp textarea,.restore-settings a,.restore-settings a:hover{color:" + C.menuTextColor2 + "}#hotkeys-cfg .command-in,#theme .color-box{border-color:" + C.menuTextColor2 + "}";
  1325. this.addCustomCSS("menuTextColorCSS", e)
  1326. },
  1327. setMenuButtons: function() {
  1328. var e = "a,a:hover{color:" + C.btn1Color + "}.btn,#hotkeys-cfg .custom-key-in{color:" + C.menuBtnTextColor + "}.btn-primary{background-color:" + C.btn1Color + "!important}.btn-primary:active,.btn-primary:disabled,.btn-primary:focus,.btn-primary:hover{background-color:" + C.btn1Color2 + "!important}.btn-success{background-color:" + C.btn2Color + "!important}.btn-success:active,.btn-success:disabled,.btn-success:focus,.btn-success:hover{background-color:" + C.btn2Color2 + "!important}.btn-warning{background-color:" + C.btn3Color + "!important}.btn-warning:active,.btn-warning:disabled,.btn-warning:focus,.btn-warning:hover{background-color:" + C.btn3Color2 + "!important}.btn-danger{background-color:" + C.btn4Color + "!important}.btn-danger:active,.btn-danger:disabled,.btn-danger:focus,.btn-danger:hover{background-color:" + C.btn4Color2 + "!important}#hotkeys-cfg .custom-key-in{background-color:" + C.btn4Color2 + ";border-color:" + C.btn4Color2 + "}";
  1329. this.addCustomCSS("menuButtonsCSS", e)
  1330. },
  1331. setMenuBg: function() {
  1332. t("#menuBg").val(C.menuBg), C.menuBg ? t(".menu-panel, .agario-side-panel, #hotkeys, #exp-imp").css("background-image", "url(" + C.menuBg + ")") : t(".menu-panel, .agario-side-panel, #hotkeys, #exp-imp").css("background-image", "none")
  1333. },
  1334. setHud: function() {
  1335. this.setHudColors(), this.setHudFont(), this.setHudScale()
  1336. },
  1337. setHudColors: function() {
  1338. var e = ".hud-main-color,#top5-pos a,#target-panel-hud a:hover,#target-panel-hud a.active{color:" + C.hudMainColor + "}.hud,.hud-b{color:" + C.hudTextColor + ";background-color:" + C.hudColor + "}#top5-pos a:hover,#target-panel-hud a{color:" + C.hudTextColor + "}.stats-hud-color{color:" + C.statsHudColor + "}.time-hud-color{color:" + C.timeHudColor + "}.top5-mass-color{color:" + C.top5MassColor + "}#leaderboard-positions .me{color:" + C.lbMeColor + "}#leaderboard-positions .teammate{color:" + C.lbTeammateColor + "}";
  1339. this.addCustomCSS("hudCSS", e)
  1340. },
  1341. setHudFont: function() {
  1342. this.setFont("hudFont", C.hudFont), t("#overlays-hud").css({
  1343. "font-family": C.hudFontFamily,
  1344. "font-weight": C.hudFontWeight
  1345. })
  1346. },
  1347. setHudScale: function() {
  1348. var e = Math.round(20 * C.hudScale),
  1349. o = Math.round(200 * C.hudScale),
  1350. a = Math.floor(55 * C.hudScale),
  1351. i = Math.floor(15 * C.hudScale),
  1352. s = Math.floor(260 * C.hudScale),
  1353. n = Math.floor(85 * C.hudScale),
  1354. r = Math.floor(20 * C.hudScale);
  1355. t("#overlays-hud").css("font-size", e + "px"), t("#top5-hud, #leaderboard-hud, #time-hud").width(o), t("#top5-hud").css("top", a + "px"), t("#top5-pos").css("padding-left", i + "px"), t("#time-hud").css("top", s + "px"), t("#pause-hud").css("top", n + "px"), t("#target-hud").css("padding-top", r + "px")
  1356. },
  1357. setChat: function() {
  1358. this.setChatColors(), this.setChatScale()
  1359. },
  1360. setChatColors: function() {
  1361. var e = "#message,.toast-success{background-color:" + C.messageColor + "}.message-text,.toast-success .message-text{color:" + C.messageTextColor + "}.message-nick,.toast-success .message-nick{color:" + C.messageNickColor + "}.message-time{color:" + C.messageTimeColor + "}.toast-warning{background-color:" + C.commandsColor + "}.command-text,.toast-warning .command-text{color:" + C.commandsTextColor + "}.command-nick,.toast-warning .command-nick{color:" + C.commandsNickColor + "}.command-time{color:" + C.commandsTimeColor + "}#chat-box{background-color:" + C.chatBoxColor + "}";
  1362. this.addCustomCSS("chatCSS", e)
  1363. },
  1364. setChatScale: function() {
  1365. var e = Math.round(14 * C.chatScale),
  1366. o = Math.round(280 * C.chatScale),
  1367. a = Math.round(350 * C.chatScale),
  1368. i = Math.round(300 * C.chatScale);
  1369. t("#message, #messages, #toast-container, #chat-box").css("font-size", e + "px"), t("#messages, #toast-container, #chat-box").width(o), t("#message").width(a), t("#chat-box").height(i);
  1370. var s = "#toast-container{width:" + o + "px;font-size:" + e + "px}";
  1371. this.addCustomCSS("chatScaleCSS", s)
  1372. },
  1373. setMiniMap: function() {
  1374. this.setMiniMapFont(), this.setMiniMapWidth(), this.setMiniMapSectorsOpacity()
  1375. },
  1376. setMiniMapFont: function() {
  1377. this.setFont("miniMapFont", C.miniMapFont), M && M.resetMiniMapSectors()
  1378. },
  1379. setMiniMapWidth: function() {
  1380. var e = C.miniMapWidth / 200;
  1381. C.miniMapTop = Math.round(20 * e), t("#minimap-hud").css({
  1382. width: C.miniMapWidth,
  1383. height: C.miniMapWidth + C.miniMapTop
  1384. }), M && M.resetMiniMapSectors()
  1385. },
  1386. setMiniMapSectorsOpacity: function() {
  1387. t("#minimap-sectors").css("opacity", C.miniMapSectorsOpacity)
  1388. },
  1389. setTheme: function() {
  1390. this.setFonts(), this.setMassScale(), this.setBgColor(), this.setCustomBackground(), this.setCustomCursor(), this.setMenu(), this.setHud(), this.setChat(), this.setMiniMap()
  1391. },
  1392. init: function() {
  1393. this.loadThemeSettings()
  1394. }
  1395. };
  1396. var b = new a;
  1397. b.init();
  1398. var S = [],
  1399. w = {
  1400. nick: "I <3 OGARio",
  1401. clanTag: "Ⓜ",
  1402. skinURL: "",
  1403. color: C.mainColor
  1404. },
  1405. v = {
  1406. quickResp: !0,
  1407. autoResp: !1,
  1408. autoZoom: !0,
  1409. autoHideCellsInfo: !0,
  1410. autoHideFood: !1,
  1411. hideMyName: !0,
  1412. hideMyMass: !1,
  1413. hideEnemiesMass: !1,
  1414. vanillaSkins: !1,
  1415. customSkins: !0,
  1416. myTransparentSkin: !1,
  1417. myCustomColor: !1,
  1418. transparentCells: !1,
  1419. transparentViruses: !0,
  1420. transparentSkins: !1,
  1421. showGrid: !1,
  1422. showBgSectors: !1,
  1423. showMapBorders: !0,
  1424. showMiniMap: !0,
  1425. showMiniMapGrid: !1,
  1426. showMiniMapGuides: !0,
  1427. oneColoredTeammates: !1,
  1428. rainbowFood: !1,
  1429. oppColors: !1,
  1430. oppRings: !1,
  1431. virColors: !1,
  1432. splitRange: !1,
  1433. virusesRange: !1,
  1434. textStroke: !1,
  1435. cursorTracking: !0,
  1436. teammatesInd: !1,
  1437. mouseSplit: !1,
  1438. mouseFeed: !1,
  1439. mouseInvert: !1,
  1440. disableChat: !1,
  1441. hideChat: !1,
  1442. showChatBox: !1,
  1443. showChatImages: !0,
  1444. showChatVideos: !0,
  1445. showTop5: !0,
  1446. showTargeting: !0,
  1447. showTime: !0,
  1448. normalLb: !1,
  1449. centeredLb: !0,
  1450. fpsAtTop: !0,
  1451. showStats: !0,
  1452. showStatsMass: !0,
  1453. showStatsSTE: !1,
  1454. showStatsN16: !1,
  1455. showStatsFPS: !0,
  1456. blockPopups: !1,
  1457. streamMode: !1,
  1458. hideSkinUrl: !1,
  1459. showQuickMenu: !0,
  1460. showSkinsPanel: !0,
  1461. zoomSpeedValue: .9
  1462. };
  1463. i.prototype = {
  1464. id: 0,
  1465. skinID: "",
  1466. x: 0,
  1467. y: 0,
  1468. lastX: 0,
  1469. lastY: 0,
  1470. mass: 0,
  1471. nick: "",
  1472. clanTag: "",
  1473. skinURL: "",
  1474. color: C.miniMapTeammatesColor,
  1475. alive: !1,
  1476. updateTime: null,
  1477. pi2: 2 * Math.PI,
  1478. drawPosition: function(e, o, t, a, i) {
  1479. if (!(!this.alive || a && i && this.id != i)) {
  1480. this.lastX = (29 * this.lastX + this.x) / 30, this.lastY = (29 * this.lastY + this.y) / 30;
  1481. var s = (this.lastX + o) * t,
  1482. n = (this.lastY + o) * t;
  1483. this.nick.length > 0 && (e.font = C.miniMapNickFontWeight + " " + C.miniMapNickSize + "px " + C.miniMapNickFontFamily, e.textAlign = "center", C.miniMapNickStrokeSize > 0 && (e.lineWidth = C.miniMapNickStrokeSize, e.strokeStyle = C.miniMapNickStrokeColor, e.strokeText(this.nick, s, n - (2 * C.miniMapTeammatesSize + 2))), e.fillStyle = C.miniMapNickColor, e.fillText(this.nick, s, n - (2 * C.miniMapTeammatesSize + 2))), e.beginPath(), e.arc(s, n, C.miniMapTeammatesSize, 0, this.pi2, !1), e.closePath(), e.fillStyle = v.oneColoredTeammates ? C.miniMapTeammatesColor : this.color, e.fill()
  1484. }
  1485. }
  1486. }, s.prototype = {
  1487. name: "OGARio by szymy v3",
  1488. version: "v3 (3.0.2)",
  1489. privateMode: !1,
  1490. publicIP: "ws://164.132.227.101:3000",
  1491. privateIP: null,
  1492. updateInterval: 1e3,
  1493. updateTick: 0,
  1494. updateMaxTick: 2,
  1495. currentSector: "",
  1496. miniMap: null,
  1497. miniMapCtx: null,
  1498. miniMapSectors: null,
  1499. pi2: 2 * Math.PI,
  1500. socket: null,
  1501. teamPlayers: [],
  1502. parties: [],
  1503. chatHistory: [],
  1504. customSkinsCache: {},
  1505. customSkinsMap: {},
  1506. deathLocations: [],
  1507. playerID: null,
  1508. playerMass: 0,
  1509. selectedProfile: 0,
  1510. lastDeath: 0,
  1511. gameMode: "",
  1512. partyToken: "",
  1513. lastSentNick: "",
  1514. lastSentClanTag: null,
  1515. lastSentSkinURL: "",
  1516. lastSentCustomColor: "",
  1517. lastSentPartyToken: "",
  1518. lastMessageSentTime: Date.now(),
  1519. rFps: 0,
  1520. renderedFrames: 0,
  1521. fpsLastRequest: null,
  1522. statsHUD: null,
  1523. leaderboardPositionsHUD: null,
  1524. activeParties: null,
  1525. top5pos: null,
  1526. top5total: null,
  1527. timeHUD: null,
  1528. retryResp: 0,
  1529. token: "b2dhcmlvLm92aA==",
  1530. canvasScale: 1,
  1531. selectBiggestCell: !0,
  1532. noSkins: !1,
  1533. noNames: !1,
  1534. noColors: !1,
  1535. showMass: !0,
  1536. skipStats: !1,
  1537. showSplitInd: !1,
  1538. pause: !1,
  1539. targetID: 0,
  1540. targetStatus: 0,
  1541. targetNick: "",
  1542. targetSkinURL: "",
  1543. targeting: !1,
  1544. privateChat: !1,
  1545. privateMiniMap: !1,
  1546. feedInterval: null,
  1547. getPlayerX: function() {
  1548. return o.playerX + o.mapOffsetX
  1549. },
  1550. getPlayerY: function() {
  1551. return o.playerY + o.mapOffsetY
  1552. },
  1553. feed: function() {
  1554. e.core && e.core.eject && e.core.eject()
  1555. },
  1556. macroFeed: function(e) {
  1557. if (e) {
  1558. if (this.feedInterval) return;
  1559. var o = this;
  1560. this.feed(), this.feedInterval = setInterval(function() {
  1561. o.feed()
  1562. }, 80)
  1563. } else this.feedInterval && (clearInterval(this.feedInterval), this.feedInterval = null)
  1564. },
  1565. split: function() {
  1566. e.core && e.core.split && e.core.split()
  1567. },
  1568. doubleSplit: function() {
  1569. var e = this;
  1570. e.split(), setTimeout(function() {
  1571. e.split()
  1572. }, 40)
  1573. },
  1574. popSplit: function() {
  1575. var e = this;
  1576. e.split(), setTimeout(function() {
  1577. e.split()
  1578. }, 200)
  1579. },
  1580. split16: function() {
  1581. var e = this;
  1582. e.split(), setTimeout(function() {
  1583. e.split()
  1584. }, 40), setTimeout(function() {
  1585. e.split()
  1586. }, 80), setTimeout(function() {
  1587. e.split()
  1588. }, 120)
  1589. },
  1590. toggleSkins: function() {
  1591. o.vanillaSkins && o.customSkins ? o.vanillaSkins = !1 : !o.vannillaSkins && o.customSkins ? (o.vanillaSkins = !0, o.customSkins = !1) : (o.vanillaSkins = !0, o.customSkins = !0)
  1592. },
  1593. toggleCells: function() {
  1594. this.selectBiggestCell = !this.selectBiggestCell, o.selectBiggestCell = this.selectBiggestCell
  1595. },
  1596. setShowTop5: function() {
  1597. ":party" === this.gameMode && (v.showTop5 = !v.showTop5, this.setTop5())
  1598. },
  1599. setTop5: function() {
  1600. v.showTop5 && ":party" === this.gameMode ? t("#top5-hud").show() : t("#top5-hud").hide()
  1601. },
  1602. setShowTargeting: function() {
  1603. ":party" === this.gameMode && (v.showTargeting = !v.showTargeting, this.setTargetingHUD())
  1604. },
  1605. setTargetingHUD: function() {
  1606. v.showTargeti
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement