Advertisement
ImNotSpam

Untitled

Jun 14th, 2016
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Copyright أƒئ’أ¢â‚¬إ،أƒâ€ڑأ‚آ© 2016 kod.teamspeak.me
  2. ! function(e, t) {
  3.     function a(e, t, a, i, o, s, n, r) {
  4.         this.id = e, this.x = t, this.y = a, this.lastX = t, this.lastY = a, this.mass = i, this.clanTag = o, this.setNick(s), this.skinURL = n, 7 == r.length && (this.color = r), this.alive = !0, this.updateTime = Date.now()
  5.     }
  6.     function i() {}
  7.     function o() {
  8.         if (null !== document.getElementById("canvas")) {
  9.             var t = document.getElementById("canvas");
  10.             return t.addEventListener("mousemove", function(t) {
  11.                 if (e.play && e.cursorTracking) {
  12.                     var a = 1 * t.clientX,
  13.                         i = 1 * t.clientY;
  14.                     e.cursorX = (a - e.innerW / 2) / e.viewScale + e.playerX, e.cursorY = (i - e.innerH / 2) / e.viewScale + e.playerY
  15.                 }
  16.             }, !1), void(e.gameCtx = t.getContext("2d"))
  17.         }
  18.         setTimeout(o, 50)
  19.     }
  20.     function s() {
  21.         return window.MC ? (window.MC._showNickDialog = window.MC.showNickDialog, window.MC.showNickDialog = function() {
  22.             window.MC._showNickDialog.apply(this, arguments), window.onkeydown = function() {}
  23.         }, window.MC._showStatsDialog = window.MC.showStatsDialog, window.MC.showStatsDialog = function() {
  24.             window.MC._showStatsDialog.apply(this, arguments), window.onkeydown = function() {}
  25.         }, window.MC._onPlayerSpawn = window.MC.onPlayerSpawn, window.MC.onPlayerSpawn = function() {
  26.             window.MC._onPlayerSpawn.apply(this, arguments), e.play = !0, f.sendPlayerSpawn()
  27.         }, window.MC._onPlayerDeath = window.MC.onPlayerDeath, void(window.MC.onPlayerDeath = function() {
  28.             window.MC._onPlayerDeath.apply(this, arguments), e.play = !1, f.sendPlayerDeath(), f.updateDeathLocations(e.playerX, e.playerY), window.onkeydown = function() {}
  29.         })) : void setTimeout(s, 50)
  30.     }
  31.     function n() {
  32.         var a = 1 * window.innerWidth,
  33.             i = 1 * window.innerHeight,
  34.             o = t("#helloContainer"),
  35.             s = o.innerHeight();
  36.         0 != s ? e.menuHeight = s : s = e.menuHeight || 760;
  37.         var n = Math.min(1, i / s),
  38.             r = s * n,
  39.             l = Math.round(i / 2 - .5 * r),
  40.             c = "translate(-50%, 0%) scale(" + n + ")";
  41.         o.css("transform", c), o.css("-ms-transform", c), o.css("-webkit-transform", c), o.css("top", "" + l + "px"), e.innerW = a, e.innerH = i
  42.     }
  43.     function r() {
  44.         return window.jQuery("#helloContainer").innerHeight() > 0 ? void n() : void setTimeout(r, 50)
  45.     }
  46.     function l() {
  47.         return e.play ? d[c].exit : void 0
  48.     }! function() {
  49.         window.core && (window.core = null, delete window.core), t.ajax("http://agar.io/agario.core.js", {
  50.             success: function(e) {
  51.                 var t = e;
  52.                 t = t.replace(/if\((\+\w\[\w>>3\])<1\.0\){/i, "if($1<window.ogario.zoom){"), t = t.replace(/(\d\.\d;return}function\s*)([\w$]+\(.,.\)){/i, "$1$2{return;"), t = t.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 gameCtx=null,ogario=null,nick=null,skin=null,cellSize=null,isFood=false,isVirus=false,isMyCell=false;do if($1=1,$1){cellSize=$4;$2 if(!$3){isFood=true;if(!window.ogario.showFood){break;}if(window.ogario.autoHideFood&&window.ogario.playerMass>1000){window.ogario.showFood=false;}if(!window.ogario.rainbowFood){window.ogario.foodCache.push({x:$6,y:$7,size:cellSize});break;}}$5$8 if($3){gameCtx=window.ogario.gameCtx;if(gameCtx){var ogario=window.ogario;ogario.globalApha=gameCtx.globalAlpha;if(gameCtx.lineJoin=='miter'){isVirus=true;if(ogario.setVirusColor&&ogario.setVirusStrokeColor){gameCtx.fillStyle=ogario.setVirusColor(cellSize);gameCtx.strokeStyle=ogario.setVirusStrokeColor(cellSize);}else{gameCtx.fillStyle=gameCtx.strokeStyle=ogario.virusColor;}gameCtx.stroke();gameCtx.globalAlpha*=ogario.virusAlpha;}else{if(ogario.cellMemOffset!==null&&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(nick&&nick.length>0){if(ogario.playerNick&&nick===ogario.playerNick){isMyCell=true;}if(ogario.customSkins&&ogario.getCustomSkin){skin=ogario.getCustomSkin(nick);}}if(ogario.play){if(ogario.oppColors&&ogario.setOppColor){gameCtx.fillStyle=ogario.setOppColor(cellSize,isMyCell);}else{$9}if(ogario.splitRange&&ogario.cacheBiggerCells){ogario.cacheBiggerCells($6,$7,cellSize);}}else{$9}if(ogario.transparentCells){gameCtx.globalAlpha*=ogario.cellsAlpha;}}$10gameCtx.globalAlpha=ogario.globalApha;if((ogario.transparentSkins||ogario.oppColors)&&!(isMyCell&&!ogario.ownTransparentSkin)){gameCtx.globalAlpha*=ogario.skinsAlpha;}if(skin){gameCtx.save();gameCtx.clip();gameCtx.drawImage(skin,$6-cellSize,$7-cellSize,2*cellSize,2*cellSize);gameCtx.restore();}}else{$9$10}break;"), t = t.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;}$1 var hideCellInfo=false;if(cellSize&&cellSize>=40){if(!isVirus&&!isMyCell&&ogario.autoHideCellsInfo&&ogario.setAutoHideCellsInfo){hideCellInfo=ogario.setAutoHideCellsInfo(cellSize);}if(!hideCellInfo){$2}}else{$2}"), t = t.replace(/(\w\[\w\+(\d+)>>3]=(\w);\w\[\w\+(\d+)>>3]=(\w);\w\[\w\+(\d+)>>3]=(\w);\w\[\w\+(\d+)>>3]=(\w);)/i, "$1 if(window.ogario.setMapCoords){window.ogario.setMapCoords($3,$5,$7,$9,$2,$8);}"), t = t.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, "window.ogario.playerCellsMass=[]; $1$2; window.ogario.playerCellsMass.push($2); $3 window.ogario.playerMass=$5; if(window.ogario.calculateMass){window.ogario.calculateMass();}"), t = t.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 window.ogario.viewScale=$2; window.ogario.playerX=$4; window.ogario.playerY=$5; if(window.ogario.customDraw){window.ogario.customDraw();}"), t = t.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}})/i, "$140.0$3"), t = t.replace(/(\w=~~\(\+\(\w\[\w\+\d+>>2\]\|0\)\/\w)\);([\w$]+\(\w\)\|0;)(\w=~~\(\+\(\w\[\w\+\d+>>2\]\|0\)\/\w)\);(if\(!\w\){\w=\w;return})/i, "$1/0.6);$2$3/0.6);$4"), t = t.replace(/(\w=\w\[\w>>2\]\|0;)(\w\[\w>>3\]=\w;)(\w\[\w>>0\]=a\[\w>>0\];)/i, "$1 if(window.ogario.autoZoom){$2}$3"), t = t.replace(/(function\s*([\w$]+)\(\w\){return\s*[\w$]+\(\w,\w\)})/i, "$1 window.ogario.getString=$2;"), t = t.replace(/(if\(\(\w\[\d+\]\|0\)!=0\?\(\w\[\d+\]\|\w\[(\w)\+\d+>>0\]\)<<24>>24==0:0\))((\w)=\w\[(\w)\+\d+>>2\]\|0;)else/i, "window.ogario.cellMemOffset=$2; $1 if(window.ogario.customSkins){$4=0;}else{$3}else"), t = t.replace(/(\w=\w\+(\d+)\|0;\w=~~\(\+\w\[\w\+\d+>>2\]\*\.3\);)/i, "$1 window.ogario.nameMemOffset=$2;"), t = t.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$3$4$5$6");
  53.                 var a = document.createElement("script");
  54.                 a.textContent = t, a.async = !0, document.body.appendChild(a)
  55.             },
  56.             dataType: "text",
  57.             method: "GET",
  58.             cache: !1,
  59.             crossDomain: !0
  60.         })
  61.     }();
  62.     var c = "en",
  63.         d = {
  64.             pl: {
  65.                 start: "Start",
  66.                 settings: "Ustawienia",
  67.                 autoZoom: "Auto zoom",
  68.                 autoHideCellsInfo: "Autoukrywanie nazw i masy",
  69.                 autoHideFood: "Autoukrywanie pokarmu",
  70.                 hideOwnName: "Ukryj wأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،asnأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â€ڑآ¬أ‚آ¦ nazwأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â‚¬إ¾أ‚آ¢",
  71.                 customSkins: "Wأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،asne skiny",
  72.                 rainbowFood: "Kolorowy pokarm",
  73.                 transparentCells: "Przezroczyste kulki",
  74.                 transparentSkins: "Przezroczyste skiny",
  75.                 ownTransparentSkin: "Wأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،asny przezroczysty skin",
  76.                 showBgSectors: "Sektory w tle",
  77.                 showMapBorders: "Granice mapy",
  78.                 showMiniMap: "Pokaأƒئ’أ¢â‚¬آ¦أƒâ€ڑأ‚آ¼ minimapأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â‚¬إ¾أ‚آ¢",
  79.                 oppColors: "Kolory przeciwnikأƒئ’أ†â€™أƒâ€ڑأ‚آ³w",
  80.                 splitRange: "Zasiأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â‚¬إ¾أ‚آ¢g podziaأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،u",
  81.                 showFPS: "Pokaأƒئ’أ¢â‚¬آ¦أƒâ€ڑأ‚آ¼ statystyki gry",
  82.                 textStroke: "Obwأƒئ’أ†â€™أƒâ€ڑأ‚آ³dki tekstu",
  83.                 disableShift: "Wyأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،أƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â€ڑآ¬أ‚آ¦cz Shift",
  84.                 disableAlt: "Wyأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،أƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â€ڑآ¬أ‚آ¦cz Alt",
  85.                 hideChat: "Ukryj czat",
  86.                 mouseControl: "Split/feed myszkأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â€ڑآ¬أ‚آ¦",
  87.                 mouseInvert: "Odwrأƒئ’أ†â€™أƒâ€ڑأ‚آ³أƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â€ڑآ¬أ‚آ، klawisze myszki",
  88.                 cursorTracking: "أƒئ’أ¢â‚¬آ¦أƒâ€¦أ‚آ،ledzenie kursora",
  89.                 keys: "Klawisze",
  90.                 qKey: "Podwأƒئ’أ†â€™أƒâ€ڑأ‚آ³jny podziaأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،",
  91.                 wKey: "Karmienie",
  92.                 eKey: "Pauza kulki",
  93.                 aKey: "Pokaأƒئ’أ¢â‚¬آ¦أƒâ€ڑأ‚آ¼/ukryj nazwy",
  94.                 sKey: "Pokaأƒئ’أ¢â‚¬آ¦أƒâ€ڑأ‚آ¼/ukryj skiny",
  95.                 dKey: "Pokaأƒئ’أ¢â‚¬آ¦أƒâ€ڑأ‚آ¼/ukryj sektory w tle",
  96.                 fKey: "Pokaأƒئ’أ¢â‚¬آ¦أƒâ€ڑأ‚آ¼/ukryj pokarm",
  97.                 hKey: "Ukryj czat",
  98.                 zKey: "Reset zoomu",
  99.                 cKey: "Historia czatu / Czyأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ‚آ؛أƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â€ڑآ¬أ‚آ، czat",
  100.                 shiftKey: "Szybki podziaأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ، n16",
  101.                 spaceKey: "Podziaأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،",
  102.                 space: "Spacja",
  103.                 enterKey: "Napisz wiadomoأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ‚آ؛أƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â€ڑآ¬أ‚آ،",
  104.                 tildeKey: "Szybki resp (party)",
  105.                 commands: "Komendy",
  106.                 saveComm: "Zapisz komendy",
  107.                 theme: "Wyglأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â€ڑآ¬أ‚آ¦d",
  108.                 themeType: "Motyw",
  109.                 darkTheme: "Ciemny motyw",
  110.                 lightTheme: "Jasny motyw",
  111.                 mainColor: "Kolor gأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،أƒئ’أ†â€™أƒâ€ڑأ‚آ³wny",
  112.                 bgColor: "Kolor tأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،a",
  113.                 foodColor: "Kolor pokarmu",
  114.                 gridColor: "Kolor sektorأƒئ’أ†â€™أƒâ€ڑأ‚آ³w",
  115.                 saveSett: "Zapisz ustawienia",
  116.                 hideChatMsg: "Ukryto czat!",
  117.                 activePartys: "Aktywne party",
  118.                 pause: "PAUZA!",
  119.                 visit: "Odwiedأƒئ’أ¢â‚¬آ¦أƒâ€ڑأ‚آ؛ ",
  120.                 exit: "OGARio by Sikaa: Czy na pewno chcesz opuأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ‚آ؛cic grأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â‚¬إ¾أ‚آ¢?"
  121.             },
  122.             en: {
  123.                 start: "Start",
  124.                 settings: "Settings",
  125.                 autoZoom: "Auto zoom",
  126.                 autoHideCellsInfo: "Auto hide names and mass",
  127.                 autoHideFood: "Auto hide food",
  128.                 hideOwnName: "Hide own name",
  129.                 customSkins: "Custom skins",
  130.                 rainbowFood: "Rainbow food",
  131.                 transparentCells: "Transparent cells",
  132.                 transparentSkins: "Transparent skins",
  133.                 ownTransparentSkin: "Own transparent skin",
  134.                 showBgSectors: "Show background sectors",
  135.                 showMapBorders: "Show map borders",
  136.                 showMiniMap: "Show minimap",
  137.                 oppColors: "Opponents colors",
  138.                 splitRange: "Split range",
  139.                 showFPS: "Show game stats",
  140.                 textStroke: "Text stroke",
  141.                 disableShift: "Disable Shift",
  142.                 disableAlt: "Disable Alt",
  143.                 hideChat: "Hide chat",
  144.                 mouseControl: "Mouse feed/split",
  145.                 mouseInvert: "Invert mouse buttons",
  146.                 cursorTracking: "Cursor tracking",
  147.                 keys: "Keys",
  148.                 qKey: "Double split",
  149.                 wKey: "Macro feed",
  150.                 eKey: "Cell pause",
  151.                 aKey: "Toggle names",
  152.                 sKey: "Toggle skins",
  153.                 dKey: "Toggle background sectors",
  154.                 fKey: "Toggle food",
  155.                 hKey: "Hide chat",
  156.                 zKey: "Reset zoom",
  157.                 cKey: "Chat history / Clear chat",
  158.                 shiftKey: "Split n16",
  159.                 spaceKey: "Split",
  160.                 space: "Space",
  161.                 enterKey: "Enter chat message",
  162.                 tildeKey: "Quick resp (party)",
  163.                 commands: "Commands",
  164.                 saveComm: "Save commands",
  165.                 theme: "Theme",
  166.                 themeType: "Theme type",
  167.                 darkTheme: "Dark theme",
  168.                 lightTheme: "Light theme",
  169.                 mainColor: "Main color",
  170.                 bgColor: "Background color",
  171.                 foodColor: "Food color",
  172.                 gridColor: "Grid color",
  173.                 saveSett: "Save settings",
  174.                 hideChatMsg: "Hide chat!",
  175.                 activePartys: "Active partys",
  176.                 pause: "PAUSE!",
  177.                 visit: "Visit ",
  178.                 exit: "OGARio by szymy: Are you sure you want to quit the game?"
  179.             }
  180.         };
  181.     if ("pl" == c) var h = {
  182.         comm1: "Feeduj!",
  183.         comm2: "Dziel siأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â‚¬إ¾أ‚آ¢!",
  184.         comm3: "Pomocy na %currentSector%!",
  185.         comm4: "Wrأƒئ’أ†â€™أƒâ€ڑأ‚آ³g na %currentSector%!",
  186.         comm5: "Zabij pomocnika!",
  187.         comm6: "Strzel z wirusa!",
  188.         comm7: "Zjedz wirusa!",
  189.         comm8: "Zjebaأƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،em, wybacz.",
  190.         comm9: "Ja pierdolأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â‚¬إ¾أ‚آ¢...",
  191.         comm0: "Kurwa maأƒئ’أ¢â‚¬إ¾أƒآ¢أ¢â€ڑآ¬أ‚آ،!",
  192.         comm10: "Trick!",
  193.         comm11: "Lewo!",
  194.         comm12: "Gأƒئ’أ†â€™أƒâ€ڑأ‚آ³ra!",
  195.         comm13: "Prawo!",
  196.         comm14: "Dأƒئ’أ†â€™أƒâ€ڑأ‚آ³أƒئ’أ¢â‚¬آ¦أƒآ¢أ¢â€ڑآ¬أ…آ،!"
  197.     };
  198.     else var h = {
  199.         comm1: "Feed me!",
  200.         comm2: "Split into me!",
  201.         comm3: "Need backup on %currentSector%!",
  202.         comm4: "Enemy spotted on %currentSector%!",
  203.         comm5: "Need a teammate!",
  204.         comm6: "Tank the virus!",
  205.         comm7: "Eat the virus!",
  206.         comm8: "Let's bait!",
  207.         comm9: "Fake tricksplit!",
  208.         comm0: "Fuck!",
  209.         comm10: "Tricksplit!",
  210.         comm11: "Left!",
  211.         comm12: "Up!",
  212.         comm13: "Right!",
  213.         comm14: "Bottom!"
  214.     };
  215.     var p = null,
  216.         m = {
  217.             mainColor: "#0D47A1",
  218.             bgColor: "#000000",
  219.             foodColor: "#0D47A1",
  220.             gridColor: "#0D47A1",
  221.             darkTheme: !0
  222.         },
  223.         u = {
  224.             nick: "I <3 szymy",
  225.             clanTag: "BNC",
  226.             skinURL: "",
  227.             color: m.mainColor
  228.         },
  229.         w = {
  230.             autoZoom: !0,
  231.             autoHideCellsInfo: !0,
  232.             autoHideFood: !1,
  233.             hideOwnName: !1,
  234.             customSkins: !0,
  235.             rainbowFood: !1,
  236.             transparentCells: !0,
  237.             transparentSkins: !0,
  238.             ownTransparentSkin: !1,
  239.             showBgSectors: !0,
  240.             showMapBorders: !0,
  241.             showMiniMap: !0,
  242.             oppColors: !0,
  243.             splitRange: !0,
  244.             showFPS: !0,
  245.             textStroke: !1,
  246.             disableShift: !1,
  247.             disableAlt: !0,
  248.             hideChat: !1,
  249.             mouseControl: !1,
  250.             mouseInvert: !1
  251.         };
  252.     a.prototype = {
  253.         id: 0,
  254.         x: 0,
  255.         y: 0,
  256.         lastX: 0,
  257.         lastY: 0,
  258.         mass: 0,
  259.         clanTag: "",
  260.         nick: "",
  261.         nickImg: null,
  262.         skinURL: "",
  263.         color: m.mainColor,
  264.         alive: !1,
  265.         updateTime: null,
  266.         pi2: 2 * Math.PI,
  267.         setNick: function(e) {
  268.             e && e != this.nick && (this.nick = e)
  269.         },
  270.         drawPosition: function(e, t, a) {
  271.             if (this.alive) {
  272.                 this.lastX = (29 * this.lastX + this.x) / 30, this.lastY = (29 * this.lastY + this.y) / 30;
  273.                 var i = (this.lastX + t) * a,
  274.                     o = (this.lastY + t) * a;
  275.                 this.nick.length > 0 && (e.fillStyle = "#FFFFFF", e.font = "9px Ubuntu", e.fillText(this.nick, i - e.measureText(this.nick).width / 2, o - 10)), e.beginPath(), e.arc(i, o, 4.5, 0, this.pi2, !1), e.closePath(), e.fillStyle = this.color, e.fill()
  276.             }
  277.         }
  278.     }, i.prototype = {
  279.         name: "OGARio LE by szymy",
  280.         version: "For more updates by SZYMY",
  281.         currentSector: "",
  282.         miniMap: null,
  283.         miniMapCtx: null,
  284.         miniMapSectors: null,
  285.         pi2: 2 * Math.PI,
  286.         sectors: 5,
  287.         mapBordersWidth: 20,
  288.         socket: null,
  289.         teamPlayers: [],
  290.         partys: [],
  291.         chatHistory: [],
  292.         customSkinsCache: {},
  293.         deathLocations: [],
  294.         lastDeath: 0,
  295.         gameMode: "",
  296.         partyToken: "",
  297.         playerIP: "",
  298.         playerMass: 0,
  299.         updateTick: 0,
  300.         rFps: 0,
  301.         renderedFrames: 0,
  302.         fpsLastRequest: null,
  303.         fpsHUD: null,
  304.         leaderboardInfo: null,
  305.         leaderboardPositionsHUD: null,
  306.         activePartys: null,
  307.         top5p: null,
  308.         lastMessageSend: Date.now(),
  309.         selectBiggestCell: !0,
  310.         setSkins: !0,
  311.         setNames: !0,
  312.         getPlayerX: function() {
  313.             return e.playerX + e.mapOffsetX
  314.         },
  315.         getPlayerY: function() {
  316.             return e.playerY + e.mapOffsetY
  317.         },
  318.         parseSettings: function(e, t) {
  319.             return "save" === t ? "string" == typeof e ? e : JSON.stringify(e) : "string" != typeof e ? JSON.stringify(e) : "true" == e || "false" == e ? JSON.parse(e) : e
  320.         },
  321.         loadSettings: function(e) {
  322.             for (var t in e) e.hasOwnProperty(t) && null != window.localStorage.getItem(t) && (e[t] = this.parseSettings(window.localStorage.getItem(t), "load"))
  323.         },
  324.         saveSettings: function(e) {
  325.             for (var t in e) e.hasOwnProperty(t) && window.localStorage.setItem(t, this.parseSettings(e[t], "save"))
  326.         },
  327.         setKeys: function() {
  328.             var a = {},
  329.                 i = {},
  330.                 o = {
  331.                     feed: null,
  332.                     split: null
  333.                 },
  334.                 s = null,
  335.                 n = !1;
  336.             window.addKeyListeners = function() {
  337.                 window.onkeydown = function(e) {
  338.                     if (!a[e.keyCode] && !window.jQuery("#overlays").is(":visible") && !window.jQuery("#message").is(":focus")) switch (a[e.keyCode] = !0, e.keyCode) {
  339.                         case 32:
  340.                             window.core && window.core.split && window.core.split();
  341.                             break;
  342.                         case 87:
  343.                             window.core && window.core.eject && window.core.eject();
  344.                             break;
  345.                         case 81:
  346.                             window.core && window.core.specialOn && window.core.specialOn();
  347.                             break;
  348.                         case 27:
  349.                             e.preventDefault(), window.MC.showNickDialog(300), window.jQuery("#oferwallContainer").is(":visible") && window.closeOfferwall(), window.jQuery("#videoContainer").is(":visible") && window.closeVideoContainer()
  350.                     }
  351.                 }, window.onkeyup = function(e) {
  352.                     a[e.keyCode] = !1, 81 == e.keyCode && window.specialOff && window.core.specialOff()
  353.                 }
  354.             }, window.addEventListener("keydown", function(a) {
  355.                 var s = a.keyCode;
  356.                 if (13 == s && this.focusOnChat(), !i[s] && !t("#overlays").is(":visible") && !t("#message").is(":focus")) switch (48 > s || s > 57 || this.sendCommand(s - 48), 37 > s || s > 40 || this.sendCommand(s - 26), i[s] = !0, s) {
  357.                     case 16:
  358.                         if (o.split || w.disableShift) break;
  359.                         var n = 0;
  360.                         window.core.split(), o.split = setInterval(function() {
  361.                             window.core.split(), 3 == ++n && (clearInterval(o.split), o.split = null)
  362.                         }, 50);
  363.                         break;
  364.                     case 18:
  365.                         if (w.disableAlt) break;
  366.                         this.sendCommand(10), a.preventDefault();
  367.                         break;
  368.                     case 65:
  369.                         this.setNames = !this.setNames, window.core.setNames(this.setNames);
  370.                         break;
  371.                     case 67:
  372.                         this.displayChatHistory(!0);
  373.                         break;
  374.                     case 68:
  375.                         w.showBgSectors = !w.showBgSectors;
  376.                         break;
  377.                     case 69:
  378.                         if (o.feed) break;
  379.                         o.feed = setInterval(function() {
  380.                             window.core.eject()
  381.                         }, 50);
  382.                         break;
  383.                     case 70:
  384.                         e.showFood = !e.showFood;
  385.                         break;
  386.                     case 71:
  387.                         window.core.split(), setTimeout(function() {
  388.                             window.core.split()
  389.                         }, 50);
  390.                         break;
  391.                     case 72:
  392.                         this.hideChat();
  393.                         break;
  394.                     case 81:
  395.                         window.core.split(), setTimeout(function() {
  396.                             window.core.split()
  397.                         }, 50);
  398.                         break;
  399.                     case 83:
  400.                         this.setSkins = !this.setSkins, window.core.setSkins(this.setSkins);
  401.                         break;
  402.                     case 84:
  403.                         if (o.split) break;
  404.                         var n = 0;
  405.                         window.core.split(), o.split = setInterval(function() {
  406.                             window.core.split(), 3 == ++n && (clearInterval(o.split), o.split = null)
  407.                         }, 50);
  408.                         break;
  409.                     case 87:
  410.                         if (o.feed) break;
  411.                         o.feed = setInterval(function() {
  412.                             window.core.eject()
  413.                         }, 50);
  414.                         break;
  415.                     case 88:
  416.                         this.switchDeathLocation();
  417.                         break;
  418.                     case 88:
  419.                         e.zoom = 1;
  420.                         break;
  421.                     case 192:
  422.                         window.quickPartyJoin()
  423.                 }
  424.             }.bind(this), !0), window.addEventListener("keyup", function(t) {
  425.                 switch (t.keyCode) {
  426.                     case 67:
  427.                         this.displayChatHistory(!1);
  428.                         break;
  429.                     case 69:
  430.                         null !== o.feed && (clearInterval(o.feed), o.feed = null);
  431.                         break;
  432.                     case 87:
  433.                         null !== o.feed && (clearInterval(o.feed), o.feed = null);
  434.                         break;
  435.                     case 88:
  436.                         e.zoom = 0
  437.                 }
  438.                 i[t.keyCode] = !1
  439.             }.bind(this), !0), window.onmousedown = function(e) {
  440.                 t("#overlays").is(":visible") || (2 == e.which && w.disableAlt ? (this.sendCommand(10), e.preventDefault()) : w.mouseControl && ((1 == e.which && !w.mouseInvert || 3 == e.which && w.mouseInvert) && window.core.split(), (3 == e.which && !w.mouseInvert || 1 == e.which && w.mouseInvert) && !n && null === s && (s = setInterval(function() {
  441.                     window.core.eject()
  442.                 }, 50), n = !0)))
  443.             }.bind(this), window.onmouseup = function(e) {
  444.                 w.mouseControl && (3 == e.which && !w.mouseInvert || 1 == e.which && w.mouseInvert) && (null !== s && (clearInterval(s), s = null), n = !1)
  445.             }
  446.         },
  447.   setMenu: function() {
  448.             var a = this;
  449.            eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--){d[c]=k[c]||c}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('0.1="2 3"',4,4,'document|title|OGARio|By Sika'.split('|'),0,{})), t("#mainPanel").before('<div id="main-menu" class="agario-panel"><ul class="menu-tabs"><li class="active"><a href="#mainPanel" class="active">' + d[c].start + '</a></li><li><a href="#og-settings">' + d[c].settings + '</a></li><li><a href="#keys">' + d[c].keys + '</a></li><li><a href="#commands">' + d[c].commands + '</a></li><li><a href="#theme">' + d[c].theme + '</a></li><li><a href="#more">' + d[c].more +  'More</a></li></ul><div id="og-settings" class="menu-panel"></div><div id="keys" class="menu-panel"></div><div id="commands" class="menu-panel"></div><div id="theme" class="menu-panel"></div><div id="more" class="menu-panel"></div></div>'), t("#mainPanel, #stats").appendTo(t("#main-menu")), t("#mainPanel, #stats").addClass("menu-panel"),t("#helloContainer div[role=form] .form-group:first").empty().append('<h1></h1><h2></h2><h3 style="color:white;">OGARio Modded By Sika </h3><h3 style="color:white; "align="center">TS3:kod.teamspeak.me</h3>'), t("#nick").before('<input id="clantag" class="form-control" placeholder="Tag, e.g. bnc" />'), t("#nick").after('<div class="input-group skin"><input id="skin" class="form-control" placeholder="Skin URL (imgur.com direct link)" /><input type="hidden" id="color" value="' + u.color + '" /><span class="input-group-addon"><i></i></span></div>'), t("#locationKnown, #locationUnknown").insertAfter(t(".skin")), t(".btn-spectate, .btn-logout").appendTo("#agario-main-buttons"), t("#agario-main-buttons").append('<br clear="both"/>'), t("#helloContainer div[role=form]").after('<div id="ogario-party"><input id="joinPartyToken" class="partyToken form-control" placeholder="Party token" /><button class="btn btn-info btn-copy-token copy-party-token">Copy</button></div>'), t("#create-party-btn, #join-party-btn").appendTo(t("#ogario-party")), t("#join-party-btn").addClass("btn-success"), t("#settingsChoice, #options").appendTo(t("#og-settings")), t(".right-container").append('<div class="agario-panel agario-side-panel leaderboard-panel"><span id="leaderboard-info"></span><button class="btn btn-sm btn-primary btn-copy-leaderboard" onclick="copyLeaderboard();">Copy</button></div>'), t(".agario-profile-panel").after('<div class="agario-panel agario-side-panel ogario-yt-panel"><div class="g-ytsubscribe" data-channelid="UCmZBc6O8GkxiQPdH2a2XGAA" data-layout="full" data-theme="dark" data-count="default"></div></div>'), t(".agario-profile-panel").after('<div class="agario-panel agario-side-panel vungo-yt-panel"><div class="g-ytsubscribe" data-channelid="UC8uA-7pknijs2rhn4qxeFZg" data-layout="full" data-theme="dark" data-count="default"></div></div>'), t(".ogario-yt-panel").after('<div class="agario-panel agario-side-panel show-more-panel <button type="button" id="hideshowmore" class="hideshowmore " value="hide/show"style=" background-color: #4CAF50;border: none;color:white;padding: 8px 60px;text-align: center;text-decoration: none;display: inline-block;font-size: 13px;border-radius: 4px;border: 0px solid #F51F1F;">Show More </button></div>'), t("#mainPanel").append('<div id="version"  class="main-color">' + this.version + " | " + d[c].visit + '<a href="http://ogario.ovh" target="_blank">ogario.ovh</a></div>'), t("#mainPanel").append('<h1> </h1>'), t(".agario-party-1 div:first, .agario-party-0, .agario-party-1 .clearfix, .agario-party-3, .agario-party-4, .agario-party-5 div:first, .agario-party-5 .clearfix").remove(), t("#mainPanel hr, .btn-settings, .text-muted, .tosBox, .agario-promo, #agario-web-incentive, span[data-itr='option_dark_theme'], #darkTheme").remove(), t("body").append('<div id="adsBottom" style="z-index: 200; display: none;"><div id="adsBottomInner"><div id="g728x90"></div><div id="a728x90"></div></div></div>'), t("#adbg, #a320x250, #g320x250, #adsBottom").css("display", "none"), t("#create-party-btn, #join-party-btn").css({
  450.                 width: "49%",
  451.                 margin: "6px 0 0 0",
  452.                 "float": "left"
  453.             }), t("#join-party-btn").css({
  454.                 "margin-left": "2%"
  455.             }), t(".ogario-yt-panel").css({
  456.                 margin: "10px 2px",
  457.                 "float": "right"
  458.             }), t(".vungo-yt-panel").css({
  459.                 margin: "10px 2px",
  460.                 "float": "right"
  461.             }), t(".show-more-panel").css({
  462.                 margin: "10px 2px",
  463.                 "float": "right"
  464.             }), t("#adsBottom").css({
  465.                 "z-index": "1",
  466.                 opacity: "0"
  467.             });
  468.             for (var i in w) w.hasOwnProperty(i) && t("#og-settings").append('<label><input type="checkbox" class="Mycheckbox" onchange="setSettings(\'' + i + "', $(this).is(':checked'));\" id=\"" + i + '">' + d[c][i] + "</label>");
  469.             t("#tags-container").appendTo(t("#og-settings")), t("#og-settings input:checkbox").each(function() {
  470.                 var e = t(this).attr("id");
  471.                 w.hasOwnProperty(e) && t(this).prop("checked", w[e])
  472.             }), t("#keys").append('<span class="key"><span class="bold main-color">[Q / G]</span> - ' + d[c].qKey + '</span> <span class="key"><span class="bold main-color">[W / E]</span> - ' + d[c].wKey + '</span> <span class="key"><span class="bold main-color">[A]</span> - ' + d[c].aKey + '</span> <span class="key"><span class="bold main-color">[S]</span> - ' + d[c].sKey + '</span> <span class="key"><span class="bold main-color">[D]</span> - ' + d[c].dKey + '</span> <span class="key"><span class="bold main-color">[F]</span> - ' + d[c].fKey + '</span> <span class="key"><span class="bold main-color">[Z]</span> - ' + d[c].zKey + '</span> <span class="key"><span class="bold main-color">[C]</span> - ' + d[c].cKey + '</span> <span class="key"><span class="bold main-color">[' + d[c].space + "]</span> - " + d[c].spaceKey + '</span> <span class="key"><span class="bold main-color">[Shift / T]</span> - ' + d[c].shiftKey + '</span> <span class="key"><span class="bold main-color">[Enter]</span> - ' + d[c].enterKey + '</span> <span class="key"><span class="bold main-color">[H]</span> - ' + d[c].hKey + '</span> <span class="key"><span class="bold main-color">[~]</span> - ' + d[c].tildeKey + "</span>");
  473.             var o = 0;
  474.             for (var s in h) h.hasOwnProperty(s) && (++o, 11 > o ? label = 10 == o ? 0 : o : (11 == o && (label = "Alt / Mouse Wheel"), 12 == o && (label = "Left Arrow"), 13 == o && (label = "Up Arrow"), 14 == o && (label = "Right Arrow"), 15 == o && (label = "Down Arrow")), t("#commands").append('<div class="input-group input-group-sm"><span class="input-group-addon" id="' + s + '">' + label + '</span><input type="text" class="form-control" placeholder="Command #' + label + '" value="' + h[s] + '"></div>'));
  475.             t("#commands").append('<button class="btn btn-block btn-sm btn-success btn-save" onclick="saveCommands();">' + d[c].saveComm + "</button>") , t("#theme").append('<div class="color-box theme-box"><span class="title">' + d[c].themeType + '</span><div id="theme-type" class="btn-group btn-group-justified" data-toggle="buttons"><label class="btn btn-default"><input type="radio" name="options" id="darktheme">' + d[c].darkTheme + '</label><label class="btn btn-default"><input type="radio" name="options" id="lighttheme">' + d[c].lightTheme + '</label></div></div> <div class="color-box"><span class="title">' + d[c].mainColor + '</span><div class="input-group main-color-picker"><input type="text" value="' + m.mainColor + '" id="maincolor" class="form-control" /><span class="input-group-addon"><i></i></span></div></div> <div class="color-box"><span class="title">' + d[c].bgColor + '</span><div class="input-group background-color-picker"><input type="text" value="' + m.bgColor + '" id="backgroundcolor" class="form-control" /><span class="input-group-addon"><i></i></span></div></div> <div class="color-box"><span class="title">' + d[c].foodColor + '</span><div class="input-group food-color-picker"><input type="text" value="' + m.foodColor + '" id="foodcolor" class="form-control" /><span class="input-group-addon"><i></i></span></div></div> <div class="color-box"><span class="title">' + d[c].gridColor + '</span><div class="input-group grid-color-picker"><input type="text" value="' + m.gridColor + '" id="gridcolor" class="form-control" /><span class="input-group-addon"><i></i></span></div></div>'), t("#theme .main-color-picker").colorpicker({
  476.                 format: "hex"
  477.             }).on("changeColor.colorpicker", function(e) {
  478.                 a.setMainColor(e.color.toHex())
  479.             }), t("#theme .background-color-picker").colorpicker({
  480.                 format: "hex"
  481.             }).on("changeColor.colorpicker", function(e) {
  482.                 m.bgColor = e.color.toHex(), t("body").css("background-color", m.bgColor)
  483.             }), t("#theme .food-color-picker").colorpicker({
  484.                 format: "hex"
  485.             }).on("changeColor.colorpicker", function(t) {
  486.                 m.foodColor = t.color.toHex(), e.foodColor = m.foodColor
  487.             }), t("#theme .grid-color-picker").colorpicker({
  488.                 format: "hex"
  489.             }).on("changeColor.colorpicker", function(e) {
  490.                 m.gridColor = e.color.toHex()
  491.             }), t("#theme").append('<button class="btn btn-block btn-sm btn-success btn-save" onclick="saveThemeSettings();">' + d[c].saveSett + "</button>"), m.darkTheme ? t("#darktheme").closest("label").addClass("active") : t("#lighttheme").closest("label").addClass("active"), t("#theme-type").change(function() {
  492.                 var e = t(this).find("input:checked").attr("id");
  493.                 a.changeTheme(e)
  494.             }), t("body").append('<div id="overlays-hud"><div id="fps-hud" class="hud main-color"></div> <div id="pause-hud" class="hud">' + d[c].pause + '</div> <div id="leaderboard-hud" class="hud-b"><h4 class="main-color">OGARio By Sika</h4><div id="leaderboard-positions"></div><div><h4 class="main-color">My Team</h4><font size="2"><ol id="top5"></ol></div></div> <div id="minimap-hud" class="hud-b"><canvas id="minimap-sectors"></canvas><canvas id="minimap"></canvas></div></div>'), t("body").append('<div id="overlays-hud"><div id="fps-hud" class="hud main-color"><div id="popuup_div" class="popup_msg"><img src=https://8816e02e10d04d444b59c1428b51268a3ea15b60.googledrive.com/host/0B07Gb_SdJ0FcRXVvVHRnTVFKcUE/ninja-logo.png></div></div>'), t("body").append('<ul id="messages"></ul>'), t("body").append('<input id="message" class="form-control" type="text" placeholder="' + d[c].enterKey + '..." maxlength="100" />'), t(".skin").colorpicker({
  495.                 format: "hex",
  496.                 input: "#color"
  497.             }), toastr.options = {
  498.                 newestOnTop: !1,
  499.                 positionClass: "toast-bottom-left",
  500.                 timeOut: "15000"
  501.             }, t(document).ready(function() {
  502.                 t(".menu-tabs a").click(function(e) {
  503.                     e.preventDefault();
  504.                     var a = t(this);
  505.                     a.addClass("active"), a.parent().addClass("active"), a.parent().siblings().removeClass("active"), a.parent().siblings().find("a").removeClass("active");
  506.                     var i = a.attr("href");
  507.                     t(".menu-panel").not(i).css("display", "none"), t(i).fadeIn()
  508.                 }), t(window).trigger("resize")
  509.             }), t("#gamemode").on("change", function() {
  510.                 a.gameMode = e.gameMode = this.value, ":party" !== this.value && a.isSocketOpen() && (a.socket.close(), t(".partyToken").val(""))
  511.             }), t("#cancel-party-btn").on("click", function() {
  512.                 a.gameMode = e.gameMode = "", a.socket.close(), t(".partyToken").val("")
  513.             }), t("#canvas").bind("contextmenu", function() {
  514.                 return !1
  515.             }), this.fpsHUD = document.getElementById("fps-hud"), this.activePartys = document.getElementById("activepartys"), this.top5p = document.getElementById("top5"), this.leaderboardInfo = document.getElementById("leaderboard-info"), this.leaderboardPositionsHUD = document.getElementById("leaderboard-positions"), t("#nick").val(u.nick), t("#clantag").val(u.clanTag), t("#skin").val(u.skinURL), t("#color").val(u.color)
  516.         },
  517.         setMainColor: function(e) {
  518.             m.mainColor = e, t("#main-menu").css("border-color", e), p || (p = t("<style type='text/css'>").appendTo("head")), p.html(".main-color, .menu-tabs .active, center, #cancel-party-btn { color: " + e + "; } #main-menu { border-color: " + e + "} .toast-warning { background-color: " + e + "; }")
  519.         },
  520.         changeTheme: function(e) {
  521.             "darktheme" == e ? (m.darkTheme = !0, m.bgColor = "#000000", m.gridColor = "#111111", t("#theme .background-color-picker").colorpicker("setValue", "#000000"), t("#theme .grid-color-picker").colorpicker("setValue", "#111111"), t("#minimap-sectors").css("opacity", "0.2")) : (m.darkTheme = !1, m.bgColor = "#F2FBFF", m.gridColor = "#D9E1E5", t("#theme .background-color-picker").colorpicker("setValue", "#F2FBFF"), t("#theme .grid-color-picker").colorpicker("setValue", "#D9E1E5"), t("#minimap-sectors").css("opacity", "0.4"))
  522.         },
  523.         setTheme: function() {
  524.             this.setMainColor(m.mainColor), t("body").css("background-color", m.bgColor), m.darkTheme ? t("#minimap-sectors").css("opacity", "0.2") : t("#minimap-sectors").css("opacity", "0.4")
  525.         },
  526.         setMiniMap: function() {
  527.             w.showMiniMap ? t("#minimap-hud").show() : t("#minimap-hud").hide()
  528.         },
  529.         setButtons: function() {
  530.             var t = document.getElementsByClassName("btn-play")[0],
  531.                 a = document.getElementsByClassName("btn-play-guest")[0],
  532.                 i = document.getElementsByClassName("btn-spectate")[0],
  533.                 o = document.getElementById("create-party-btn"),
  534.                 s = document.getElementById("join-party-btn"),
  535.                 n = document.getElementById("statsContinue");
  536.             t.addEventListener("click", function() {
  537.                 this.handleConnect(), this.play()
  538.             }.bind(this), !1), a.addEventListener("click", function() {
  539.                 this.handleConnect(), this.play()
  540.             }.bind(this), !1), i.addEventListener("click", function() {
  541.                 this.handleConnect(), this.sendPlayerDeath(), e.play = !1, e.spectate = !0, e.showFood = !1
  542.             }.bind(this), !1), o.addEventListener("click", function() {
  543.                 this.handleConnect(), this.sendPlayerDeath()
  544.             }.bind(this), !1), s.addEventListener("click", function() {
  545.                 this.handleConnect(), this.sendPlayerDeath()
  546.             }.bind(this), !1), n.addEventListener("click", function() {
  547.                 setTimeout(function() {
  548.                     window.onkeydown = function() {}
  549.                 }, 100)
  550.             }, !1)
  551.         },
  552.         play: function() {
  553.             this.sendPlayerSpawn(), e.play = !0, e.spectate = !1, e.showFood = !0, e.playerBestMass = 0, window.ga && window.ga("create", "UA-67142685-2", "auto", "ogarioTracker"), window.ga && window.ga("ogarioTracker.send", "pageview"), window.ga && window.ga("ogarioTracker.send", "event", "Nick", u.clanTag + u.nick)
  554.         },
  555.         setPlayerInfo: function() {
  556.             var a = t("#nick").val(),
  557.                 i = t("#clantag").val(),
  558.                 o = t("#skin").val(),
  559.                 s = t("#color").val();
  560.             u.nick = a || "", u.clanTag = i.trim() || "", u.skinURL = o.trim() || "", 7 == s.length && (u.color = s), e.playerNick = u.nick, u.clanTag.length > 0 && (e.clanTag = u.clanTag), this.saveSettings(u)
  561.         },
  562.         cacheSkin: function(e, t, a) {
  563.             a && (e[t] = new Image, e[t].crossOrigin = "Anonymous", e[t].src = a)
  564.         },
  565.         getCachedSkin: function(e, t) {
  566.             return e[t].width && e[t].complete ? e[t] : null
  567.         },
  568.         cacheCustomSkin: function(e, t, a) {
  569.             if (t.length > 0) {
  570.                 if (e.hasOwnProperty(t) && e[t].src == a) return;
  571.                 this.cacheSkin(e, t, a)
  572.             }
  573.         },
  574.         getCustomSkin: function(e) {
  575.             return e && 0 != e.length ? this.customSkinsCache.hasOwnProperty(e) ? this.getCachedSkin(this.customSkinsCache, e) : void 0 : null
  576.         },
  577.         setParty: function() {
  578.             if (this.gameMode = t("#gamemode").val(), ":party" === this.gameMode) {
  579.                 var e = t(".partyToken").val();
  580.                 e && e.length > 5 && (e = e.split("#"), this.partyToken = e[1])
  581.             }
  582.         },
  583.         calculateCurrentSector: function() {
  584.             if (!e.mapOffsetFixed) return void(this.currentSector = "");
  585.             var t = e.mapOffsetX + e.mapOffset,
  586.                 a = e.mapOffsetY + e.mapOffset,
  587.                 i = String.fromCharCode(65 + Math.floor((e.playerY + a) / (e.mapSize / this.sectors))),
  588.                 o = "" + (Math.floor((e.playerX + t) / (e.mapSize / this.sectors)) + 1);
  589.             this.currentSector = i + o
  590.         },
  591.         switchDeathLocation: function() {
  592.             this.lastDeath--, this.lastDeath < 0 && (this.lastDeath = this.deathLocations.length - 1)
  593.         },
  594.         updateDeathLocations: function(t, a) {
  595.             e.mapOffsetFixed && (this.deathLocations.push({
  596.                 x: t + e.mapOffsetX,
  597.                 y: a + e.mapOffsetY
  598.             }), 6 == this.deathLocations.length && this.deathLocations.splice(0, 1), this.lastDeath = this.deathLocations.length - 1)
  599.         },
  600.         drawMapBorders: function(t, a, i, o, s, n, r) {
  601.             e.mapOffsetFixed && w.showMapBorders && (t.save(), t.strokeStyle = n, t.lineWidth = r, t.beginPath(), t.moveTo(a, i), t.lineTo(o, i), t.lineTo(o, s), t.lineTo(a, s), t.closePath(), t.stroke(), t.restore())
  602.         },
  603.         drawMiniMap: function() {
  604.             if (e.mapOffsetFixed) {
  605.                 this.miniMap ? this.miniMapCtx.clearRect(0, 0, 200, 220) : (this.miniMap = document.getElementById("minimap"), this.miniMapCtx = this.miniMap.getContext("2d"), this.miniMapCtx.ogarioCtx = !0, this.miniMap.width = 200, this.miniMap.height = 220);
  606.                 var t = 182 / e.mapSize,
  607.                     a = e.mapOffsetX + e.mapOffset,
  608.                     i = e.mapOffsetY + e.mapOffset;
  609.                 if (this.calculateCurrentSector(), this.miniMapCtx.globalAlpha = 1, this.miniMapCtx.font = "16px Ubuntu", this.miniMapCtx.fillStyle = m.mainColor, this.miniMapCtx.fillText(this.currentSector, 10, 20), this.miniMapSectors || this.drawMiniMapSectors(this.sectors, this.sectors, 182, 182), this.miniMapCtx.save(), this.miniMapCtx.translate(9.5, 29.5), this.miniMapCtx.fillStyle = "#FFFFFF", this.miniMapCtx.beginPath(), this.miniMapCtx.arc((e.playerX + a) * t, (e.playerY + i) * t, 6, 0, this.pi2, !1), this.miniMapCtx.closePath(), this.miniMapCtx.fill(), ":party" === this.gameMode && this.teamPlayers.length > 0)
  610.                     for (var o = 0; o < this.teamPlayers.length; o++) this.teamPlayers[o].drawPosition(this.miniMapCtx, e.mapOffset, t);
  611.                 if (this.deathLocations.length > 0) {
  612.                     var s = Math.round((this.deathLocations[this.lastDeath].x + e.mapOffset) * t),
  613.                         n = Math.round((this.deathLocations[this.lastDeath].y + e.mapOffset) * t);
  614.                     this.miniMapCtx.lineWidth = 1, this.miniMapCtx.strokeStyle = this.deathLocations.length - 1 == this.lastDeath ? m.mainColor : "#FFFFFF", this.miniMapCtx.beginPath(), this.miniMapCtx.moveTo(s - 4.5, n), this.miniMapCtx.lineTo(s + 4.5, n), this.miniMapCtx.moveTo(s, n - 4.5), this.miniMapCtx.lineTo(s, n + 4.5), this.miniMapCtx.stroke()
  615.                 }
  616.                 this.miniMapCtx.restore()
  617.             }
  618.         },
  619.         drawMiniMapSectors: function(e, t, a, i) {
  620.             this.miniMapSectors = document.getElementById("minimap-sectors");
  621.             var o = this.miniMapSectors.getContext("2d");
  622.             o.ogarioCtx = !0, this.miniMapSectors.width = a, this.miniMapSectors.height = i, o.fillStyle = "#FFFFFF", this.drawSectors(o, e, t, .5, .5, a - .5, i - .5, "#FFFFFF", 1, !1)
  623.         },
  624.         drawSectors: function(t, a, i, o, s, n, r, l, c, d) {
  625.             if (!d || e.mapOffsetFixed && w.showBgSectors) {
  626.                 var h = Math.floor((n - o) / a),
  627.                     p = Math.floor((r - s) / i),
  628.                     m = .5 * p;
  629.                 t.save(), t.strokeStyle = l, t.fillStyle = l, t.lineWidth = c, t.beginPath();
  630.                 for (var u = 0; a + 1 > u; u++) t.moveTo(u == a ? n : o + h * u, s), t.lineTo(u == a ? n : o + h * u, r);
  631.                 for (var u = 0; i + 1 > u; u++) t.moveTo(o, u == i ? r : s + p * u), t.lineTo(n, u == i ? r : s + p * u);
  632.                 t.closePath(), t.stroke(), t.font = m + "px Ubuntu";
  633.                 for (var u = 0; i > u; u++)
  634.                     for (var f = 0; a > f; f++) {
  635.                         var g = String.fromCharCode(65 + u) + (f + 1);
  636.                         t.fillText(g, o + h / 2 + f * h - t.measureText(g).width / 2, s + p / 2 + u * p + .18 * p)
  637.                     }
  638.                 t.restore()
  639.             }
  640.         },
  641.         setVirusColor: function(e) {
  642.             var t = Math.floor(e * e / 100);
  643.             return t > 183 ? "#C80000" : m.darkTheme ? "#24FF24" : "#24FF24"
  644.         },
  645.         setVirusStrokeColor: function(t) {
  646.             if (e.play && 0 != e.playerMaxMass) {
  647.                 var a = Math.floor(t * t / 100),
  648.                     i = a / this.selectBiggestCell ? e.playerMaxMass : e.playerMinMass;
  649.                 return i > .76 ? "#FFDC00" : "#C80000"
  650.             }
  651.             return m.darkTheme ? "#999999" : "#666666"
  652.         },
  653.         setOppColor: function(t, a) {
  654.             if (a) return u.color;
  655.             var i = Math.floor(t * t / 100),
  656.                 o = this.selectBiggestCell ? e.playerMaxMass : e.playerMinMass,
  657.                 s = i / o;
  658.             if (s && s > 0) {
  659.                 var n = 1e3 > o ? .35 : .38;
  660.                 return s > 11 ? "#FF008C" : 2.5 > s ? 1.25 > s ? 1.25 > s && s > .75 ? "#FFDC00" : s > n ? "#00C8FF" : "#64FF00" : "#FF0A00" : "#BE00FF"
  661.             }
  662.         },
  663.         displayLeaderboard: function(e) {
  664.             this.leaderboardInfo && (this.leaderboardPositionsHUD.innerHTML = e, this.leaderboardInfo.innerHTML = e)
  665.         },
  666.         countFPS: function() {
  667.             if (!this.fpsLastRequest) return void(this.fpsLastRequest = Date.now());
  668.             var e = Date.now(),
  669.                 t = e - this.fpsLastRequest;
  670.             1e3 > t || (this.rFps = this.renderedFrames, this.renderedFrames = 0, this.fpsLastRequest = e), this.renderedFrames++
  671.         },
  672.         displayFPS: function() {
  673.             if (!w.showFPS) return void t("#fps-hud").hide();
  674.             var a = "";
  675.             e.play && (e.playerMass && (a += "Mass: " + e.playerMass + " | "), e.playerBestMass && (a += "Score: " + e.playerBestMass + " | "), e.ste && (a += "STE: " + e.ste + " | "), e.playerCellsMass && (a += e.playerCellsMass.length + "/16 | ")), a += "rFPS: " + this.rFps, this.fpsHUD.textContent = a, setTimeout(function() {
  676.                 this.displayFPS()
  677.             }.bind(this), 100)
  678.         },
  679.         connect: function() {
  680.             if (this.setParty(), this.socket) {
  681.                 this.socket.onopen = null, this.socket.onmessage = null;
  682.                 try {
  683.                     this.socket.close()
  684.                 } catch (e) {}
  685.                 this.socket = null
  686.             }
  687.             this.teamPlayers = [], this.partys = [], ":party" !== this.gameMode || this.partyToken.length > 5 || (console.log("SikaPlus By Sika: Connecting to server"), this.socket = new WebSocket("ws://91.134.143.136:3000"), this.socket.ogarioWS = !0, this.socket.binaryType = "arraybuffer", this.socket.onopen = function() {
  688.                 console.log("OGARio By Sika: Socket open"), this.sendBuffer(this.strToBuff(80, this.partyToken)), this.sendBuffer(this.strToBuff(81, this.playerIP)), this.sendBuffer(this.strToBuff(0, u.nick)), this.sendBuffer(this.strToBuff(1, u.clanTag))
  689.             }.bind(this), this.socket.onmessage = this.handleMessage.bind(this), this.socket.onclose = function() {
  690.                 console.log("Sikaplus By Sika: Socket close")
  691.             }, this.socket.onerror = function() {
  692.                 console.log("OGARio By Sika: Socket error")
  693.             })
  694.         },
  695.         handleConnect: function() {
  696.             this.setPlayerInfo(), this.isSocketOpen() || setTimeout(function() {
  697.                 this.connect()
  698.             }.bind(this), 1e3), this.updatePlayerInfo()
  699.         },
  700.         isSocketOpen: function() {
  701.             return null != this.socket && this.socket.readyState == this.socket.OPEN
  702.         },
  703.         createView: function(e) {
  704.             return new DataView(new ArrayBuffer(e))
  705.         },
  706.         strToBuff: function(e, t) {
  707.             var a = this.createView(1 + 2 * t.length);
  708.             a.setUint8(0, e);
  709.             for (var i = 0; i < t.length; i++) a.setUint16(1 + 2 * i, t.charCodeAt(i), !0);
  710.             return a
  711.         },
  712.         sendBuffer: function(e) {
  713.             this.socket.send(e.buffer)
  714.         },
  715.         handleMessage: function(e) {
  716.             this.readMessage(new DataView(e.data))
  717.         },
  718.         readMessage: function(e) {
  719.             var t = e.getUint8(0);
  720.             switch (t) {
  721.                 case 16:
  722.                     this.updateTeamPlayers(e), this.displayTop5();
  723.                     break;
  724.                 case 96:
  725.                     this.updatePartys(e), this.displayPartys();
  726.                     break;
  727.                 case 100:
  728.                     w.hideChat || this.readChatMessage(e)
  729.             }
  730.         },
  731.         checkPlayerID: function(e) {
  732.             for (var t = 0; t < this.teamPlayers.length; t++)
  733.                 if (this.teamPlayers[t].id == e) return t;
  734.             return null
  735.         },
  736.         updateTeamPlayers: function(e) {
  737.             function t() {
  738.                 for (var t = "";;) {
  739.                     var a = e.getUint16(s, !0);
  740.                     if (0 == a) break;
  741.                     t += String.fromCharCode(a), s += 2
  742.                 }
  743.                 return s += 2, t
  744.             }
  745.             for (var i = Date.now(), o = e.getUint8(1), s = 2, n = 0; o > n; n++) {
  746.                 var r = e.getUint32(s, !0),
  747.                     l = e.getInt32(s + 4, !0),
  748.                     c = e.getInt32(s + 8, !0),
  749.                     d = e.getUint32(s + 12, !0);
  750.                 s += 16;
  751.                 var h = t(),
  752.                     p = t(),
  753.                     m = t(),
  754.                     u = t(),
  755.                     w = this.checkPlayerID(r);
  756.                 if (null != w) this.teamPlayers[w].x = l, this.teamPlayers[w].y = c, this.teamPlayers[w].mass = d, this.teamPlayers[w].clanTag = h, this.teamPlayers[w].setNick(p), this.teamPlayers[w].skinURL = m, this.teamPlayers[w].color = u, this.teamPlayers[w].alive = !0, this.teamPlayers[w].updateTime = i;
  757.                 else {
  758.                     var f = new a(r, l, c, d, h, p, m, u);
  759.                     this.teamPlayers.push(f)
  760.                 }
  761.                 this.cacheCustomSkin(this.customSkinsCache, p, m)
  762.             }
  763.             if (this.updateTick++, 5 == this.updateTick) {
  764.                 for (var n = 0; n < this.teamPlayers.length; n++) i - this.teamPlayers[n].updateTime > 1e3 && (this.teamPlayers[n].alive = !1);
  765.                 this.updateTick = 0
  766.             }
  767.             this.teamPlayers.sort(function(e, t) {
  768.                 return t.mass - e.mass
  769.             }), this.top5 = [];
  770.             for (var n = 0; n < this.teamPlayers.length && (!this.teamPlayers[n].alive || (this.top5.push({
  771.                     nick: this.teamPlayers[n].nick,
  772.                     mass: this.teamPlayers[n].mass
  773.                 }), 5 != this.top5.length)); n++);
  774.         },
  775.         updatePartys: function(e) {
  776.             this.partys = [];
  777.             for (var t = e.getUint8(1), a = 2, i = 0; t > i; i++) {
  778.                 for (var o = "";;) {
  779.                     var s = e.getUint16(a, !0);
  780.                     if (0 == s) break;
  781.                     o += String.fromCharCode(s), a += 2
  782.                 }
  783.                 a += 2, this.partys.push(o)
  784.             }
  785.         },
  786.         displayPartys: function() {
  787.             for (var e = "", t = 0; t < this.partys.length; t++) e += '<li><a href="http://agar.io/#' + this.partys[t] + "\" onclick=\"$('#joinPartyToken').val('" + this.partys[t] + "'); $('#join-party-btn').click();\">http://agar.io/#" + this.partys[t] + "</a></li>";
  788.             this.activePartys.innerHTML = e
  789.         },
  790.         displayTop5: function() {
  791.             for (var e = "", t = 0; t < this.top5.length && (e += "<li>" + this.top5[t].nick + " [" + this.top5[t].mass + "]</li>", 4 != t); t++);
  792.             this.top5p.innerHTML = e
  793.         },
  794.         readChatMessage: function(e) {
  795.             for (var t = e.getUint8(1), a = "", i = 2; i < e.byteLength; i += 2) {
  796.                 var o = e.getUint16(i, !0);
  797.                 if (0 == o) break;
  798.                 a += String.fromCharCode(o)
  799.             }
  800.             if (a.length > 0) {
  801.                 var s = a.split(": ", 1);
  802.                 a = a.replace(s + ": ", ""), 101 == t ? (toastr.success('<span class="message-nick main-color">' + s + ": </span>" + a), this.chatHistory.push({
  803.                     nick: s,
  804.                     message: a
  805.                 }), this.chatHistory.length > 15 && this.chatHistory.splice(0, 1)) : toastr.warning(s + ": " + a)
  806.             }
  807.         },
  808.         displayChatHistory: function(e) {
  809.             if (e) {
  810.                 t("#messages").empty(), toastr.clear();
  811.                 for (var a = 0; a < this.chatHistory.length; a++) t("#messages").append('<li><span class="message-nick main-color">' + this.chatHistory[a].nick + ": </span>" + this.chatHistory[a].message + "</li>")
  812.             } else t("#messages").empty()
  813.         },
  814.         sendChatMessage: function(e, t) {
  815.             if (Date.now() - this.lastMessageSend >= 500 && 0 != t.length && 0 != u.nick.length && this.isSocketOpen()) {
  816.                 var t = u.nick + ": " + t,
  817.                     a = this.createView(2 + 2 * t.length);
  818.                 a.setUint8(0, 100), a.setUint8(1, e);
  819.                 for (var i = 0; i < t.length; i++) a.setUint16(2 + 2 * i, t.charCodeAt(i), !0);
  820.                 this.sendBuffer(a), this.lastMessageSend = Date.now()
  821.             }
  822.         },
  823.         prepareCommand: function(e) {
  824.             var t = e.replace("%currentSector%", this.currentSector);
  825.             return t
  826.         },
  827.         sendCommand: function(e) {
  828.             var t = this.prepareCommand(h["comm" + e]);
  829.             this.sendChatMessage(102, t)
  830.         },
  831.         focusOnChat: function() {
  832.             if (":party" === this.gameMode) {
  833.                 var a = t("#message");
  834.                 if (a.is(":visible")) {
  835.                     var i = a.val();
  836.                     i.length > 0 ? (this.sendChatMessage(101, i), e.play && (a.blur(), a.hide())) : (a.blur(), a.hide()), a.val("")
  837.                 } else a.show(), a.focus(), a.val("")
  838.             }
  839.         },
  840.         hideChat: function() {
  841.             ":party" === this.gameMode && (w.hideChat = !w.hideChat, w.hideChat && (toastr.error("[H] " + d[c].hideChatMsg), t("#message").hide()))
  842.         },
  843.         pause: function() {
  844.             e.pause = !e.pause, e.pause ? t("#pause-hud").show() : t("#pause-hud").hide()
  845.         },
  846.         updatePlayer: function() {
  847.             if (this.isSocketOpen())
  848.                 if (e.play) {
  849.                     var t = this.createView(13);
  850.                     t.setUint8(0, 16), t.setInt32(1, this.getPlayerX(), !0), t.setInt32(5, this.getPlayerY(), !0), e.playerMaxMass ? t.setUint32(9, e.playerMaxMass, !0) : t.setUint32(9, this.playerMass, !0), this.sendBuffer(t), this.sendPlayerSpawn()
  851.                 } else this.sendPlayerDeath()
  852.         },
  853.         sendPlayerSpawn: function() {
  854.             this.isSocketOpen() && (view = this.createView(2), view.setUint8(0, 64), view.setUint8(1, 1), this.sendBuffer(view))
  855.         },
  856.         sendPlayerDeath: function() {
  857.             this.isSocketOpen() && (view = this.createView(2), view.setUint8(0, 64), view.setUint8(1, 0), this.sendBuffer(view))
  858.         },
  859.         updatePlayerInfo: function() {
  860.             this.cacheCustomSkin(this.customSkinsCache, u.nick, u.skinURL), this.isSocketOpen() && (this.sendBuffer(this.strToBuff(0, u.nick)), this.sendBuffer(this.strToBuff(1, u.clanTag)), this.sendBuffer(this.strToBuff(2, u.skinURL)), this.sendBuffer(this.strToBuff(3, u.color)), setTimeout(function() {
  861.                 this.setParty(), this.sendBuffer(this.strToBuff(80, this.partyToken))
  862.             }.bind(this), 1e3))
  863.         },
  864.  
  865.         getPlayerIP: function() {
  866.             t.ajax("http://ogario.ovh/pingback.php", {
  867.                 success: function(e) {
  868.                     this.playerIP = e
  869.                 },
  870.                 dataType: "text",
  871.                 method: "GET",
  872.                 cache: !1,
  873.                 crossDomain: !0
  874.             })
  875.         },
  876.         init: function() {
  877.             this.getPlayerIP(), this.loadSettings(h), this.loadSettings(m), this.loadSettings(u), this.loadSettings(w), this.setTheme(), this.setMenu(), this.setKeys(), this.setButtons(), this.setMiniMap(), this.displayFPS(), setInterval(function() {
  878.                 this.drawMiniMap()
  879.             }.bind(this), 33), setInterval(function() {
  880.                 this.updatePlayer()
  881.             }.bind(this), 900)
  882.         }
  883.     };
  884.     var f = new i;
  885.     f.init(), o(), s(), window.addEventListener("resize", function() {
  886.         setTimeout(function() {
  887.             n()
  888.         }, 50)
  889.     }, !1), r(), window.onbeforeunload = l, window.saveCommands = function() {
  890.         t("#commands .input-group-addon").each(function() {
  891.             var e = t(this),
  892.                 a = e.attr("id");
  893.             if (h.hasOwnProperty(a)) {
  894.                 var i = e.parent().find("input:text").val();
  895.                 h[a] = i, window.localStorage.setItem(a, h[a])
  896.             }
  897.         }), f.loadSettings(h)
  898.     }, window.saveThemeSettings = function() {
  899.         f.saveSettings(m)
  900.     }, window.setSettings = function(a, i) {
  901.         if (w.hasOwnProperty(a) && null != i) {
  902.             switch (w[a] = i, e.hasOwnProperty(a) && (e[a] = i), a) {
  903.                 case "showMiniMap":
  904.                     f.setMiniMap();
  905.                     break;
  906.                 case "showFPS":
  907.                     f.displayFPS(), t("#fps-hud").show()
  908.             }
  909.             f.saveSettings(w)
  910.         }
  911.     }, window.copyLeaderboard = function() {
  912.         var e = t("<input>");
  913.         t("body").append(e), e.val(t("#leaderboard-info").text()).select();
  914.         try {
  915.             document.execCommand("copy")
  916.         } catch (a) {}
  917.         e.remove()
  918.     }, window.quickPartyJoin = function() {
  919.         ":party" === f.gameMode && (e.play = !1, t("#join-party-btn").click(), setTimeout(function() {
  920.             t(".btn-play").click()
  921.         }, 250))
  922.     };
  923.     for (var g in w) w.hasOwnProperty(g) && e.hasOwnProperty(g) && (e[g] = w[g]);
  924.     e.cellsAlpha = .9, e.skinsAlpha = .7, e.virusColor = m.darkTheme ? "#999999" : "#666666", e.virusAlpha = .6, e.foodColor = m.foodColor, e.displayLeaderboard = function() {
  925.         f.displayLeaderboard(e.leaderboardHTML)
  926.     }, e.customDraw = function() {
  927.         f.countFPS();
  928.         var t = e.gameCtx;
  929.         if (t) {
  930.             var a = e.mapMinX - e.mapOffsetX,
  931.                 i = e.mapMinY - e.mapOffsetY,
  932.                 o = e.mapMaxX - e.mapOffsetX,
  933.                 s = e.mapMaxY - e.mapOffsetY;
  934.             if (f.drawSectors(t, 5, 5, a, i, o, s, m.gridColor, 20, !0), f.drawMapBorders(t, a, i, o, s, m.mainColor, 20), e.foodCache && e.foodCache.length > 0) {
  935.                 t.beginPath();
  936.                 for (var n = 0; n < e.foodCache.length; n++) {
  937.                     var r = e.foodCache[n].x,
  938.                         l = e.foodCache[n].y;
  939.                     t.moveTo(r, l), t.arc(r, l, e.foodCache[n].size + 5, f.pi2, !1)
  940.                 }
  941.                 t.fillStyle = m.foodColor, t.globalAlpha = 1, t.fill(), e.foodCache = []
  942.             }
  943.             if (e.biggerCellsCache && e.biggerCellsCache.length > 0) {
  944.                 t.lineWidth = 4, t.strokeStyle = m.mainColor, t.globalAlpha = .4;
  945.                 for (var n = 0; n < e.biggerCellsCache.length; n++) {
  946.                     var r = e.biggerCellsCache[n].x,
  947.                         l = e.biggerCellsCache[n].y;
  948.                     t.beginPath(), t.arc(r, l, e.biggerCellsCache[n].size + 760, f.pi2, !1), t.closePath(), t.stroke()
  949.                 }
  950.                 t.globalAlpha = 1, e.biggerCellsCache = []
  951.             }
  952.             w.cursorTracking && e.play && (t.globalAlpha = m.darkTheme ? .7 : .35, t.lineWidth = 2, t.strokeStyle = m.darkTheme ? "#FFFFFF" : "#000000", t.beginPath(), t.moveTo(e.playerX, e.playerY), t.lineTo(e.cursorX, e.cursorY), t.stroke(), t.globalAlpha = 1)
  953.         }
  954.     }, e.getCustomSkin = function(e) {
  955.         return f.getCustomSkin(e)
  956.     }, e.setVirusColor = function(e) {
  957.         return f.setVirusColor(e)
  958.     }, e.setVirusStrokeColor = function(e) {
  959.         return f.setVirusStrokeColor(e)
  960.     }, e.setOppColor = function(e, t) {
  961.         return f.setOppColor(e, t)
  962.     }
  963. }(window.ogario, window.jQuery);
  964. var chatovodOnLoad = chatovodOnLoad || [];
  965. chatovodOnLoad.push(function() {
  966.     chatovod.addChatButton({
  967.         host: "vungo.chatovod.com",
  968.         align: "bottomRight",
  969.         width: 600,
  970.         height: 380,
  971.         defaultLanguage: "en"
  972.     });
  973. });
  974. (function() {
  975.     var po = document.createElement('script');
  976.     po.type = 'text/javascript';
  977.     po.charset = "UTF-8";
  978.     po.async = true;
  979.     po.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//a70215964876b3d703af93b4d0e6a3053cf515af.googledrive.com/host/0B07Gb_SdJ0FccnNWa3ZoX2lMNTA/ChatoVod.js';
  980.     var s = document.getElementsByTagName('script')[0];
  981.     s.parentNode.insertBefore(po, s);
  982. })();
  983. $("#overlays").append('<a target="_blank" href="http://pastebin.com/raw/tgAvka1M"><img style="width: 50px;margin-left: 45%;margin-top:10px;" src="https://8816e02e10d04d444b59c1428b51268a3ea15b60.googledrive.com/host/0B07Gb_SdJ0FcRXVvVHRnTVFKcUE/ninja-logo.png"><span style="position: absolute;top: 65px;margin-left: -78px;font-size: 12px;">Join our Teamspeak</span></a>')
  984.  
  985. $(document).ready(function() {
  986.     $('#hideshowmore').on('click', function(event) {
  987.         $('a[href$="#more"],.progress-bar-text,.progress-bar-star,.agario-exp-bar').toggle('show');
  988.     });
  989. });
  990. $('#hideshowmore').click(function(){
  991.         var $this = $(this);
  992.         $this.toggleClass('#hideshowmore');
  993.         if($this.hasClass('#hideshowmore')){
  994.             $this.text('Hide');        
  995.         } else {
  996.             $this.text('Show More');
  997.         }
  998. });
  999. $("#overlays").append('<a target="_blank" ><img style="width: 50px;margin-left: 90%;margin-top:10px;margin-left:10px;" src="http://files2.fatakat.com/2016/5/14637823281726.gif"><span style="position: absolute;top: 65px;margin-left: -78px;font-size: 12px;"></span></a>')
  1000.  $("#helloContainer").css("background-color","transparent");
  1001. //new update test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement