Файловый менеджер - Редактировать - /home/jogoso94/public_html/jogos/ahoy_pirates_adventure/js/main.js
�азад
/* Platform.js <https://mths.be/platform> Copyright 2014-2018 Benjamin Tan <https://bnjmnt4n.now.sh/> Copyright 2011-2013 John-David Dalton Available under MIT license <https://mths.be/mit> */ (function() { function a(a) { a = String(a); return a.charAt(0).toUpperCase() + a.slice(1) } function m(a, b) { var k = -1, e = a ? a.length : 0; if ("number" == typeof e && -1 < e && e <= f) for (; ++k < e;) b(a[k], k, a); else t(a, b) } function h(b) { b = String(b).replace(/^ +| +$/g, ""); return /^(?:webOS|i(?:OS|P))/.test(b) ? b : a(b) } function t(a, b) { for (var k in a) n.call(a, k) && b(a[k], k, a) } function d(b) { return null == b ? a(b) : x.call(b).slice(8, -1) } function q(a, b) { var k = null != a ? typeof a[b] : "number"; return !/^(?:boolean|number|string|undefined)$/.test(k) && ("object" == k ? !!a[b] : !0) } function e(a) { return String(a).replace(/([ -])(?!$)/g, "$1?") } function p(a, b) { var k = null; m(a, function(f, e) { k = b(k, f, e, a) }); return k } function r(a) { function k(b) { return p(b, function(b, k) { var f = k.pattern || e(k); !b && (b = RegExp("\\b" + f + " *\\d+[.\\w_]*", "i").exec(a) || RegExp("\\b" + f + " *\\w+-[\\w]*", "i").exec(a) || RegExp("\\b" + f + "(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)", "i").exec(a)) && ((b = String(k.label && !RegExp(f, "i").test(k.label) ? k.label : b).split("/"))[1] && !/[\d.]+/.test(b[0]) && (b[0] += " " + b[1]), k = k.label || k, b = h(b[0].replace(RegExp(f, "i"), k).replace(RegExp("; *(?:" + k + "[_-])?", "i"), " ").replace(RegExp("(" + k + ")[-_.]?(\\w)", "i"), "$1 $2"))); return b }) } function f(b) { return p(b, function(b, k) { return b || (RegExp(k + "(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)", "i").exec(a) || 0)[1] || null }) } var c = b, n = a && "object" == typeof a && "String" != d(a); n && (c = a, a = null); var m = c.navigator || {}, g = m.userAgent || ""; a || (a = g); var v = n ? !!m.likeChrome : /\bChrome\b/.test(a) && !/internal|\n/i.test(x.toString()), z = n ? "Object" : "ScriptBridgingProxyObject", A = n ? "Object" : "Environment", N = n && c.java ? "JavaPackage" : d(c.java), W = n ? "Object" : "RuntimeObject"; A = (N = /\bJava/.test(N) && c.java) && d(c.environment) == A; var R = N ? "a" : "\u03b1", O = N ? "b" : "\u03b2", L = c.document || {}, F = c.operamini || c.opera, S = D.test(S = n && F ? F["[[Class]]"] : d(F)) ? S : F = null, l, G = a; n = []; var C = null, H = a == g; g = H && F && "function" == typeof F.version && F.version(); var B = function(b) { return p(b, function(b, k) { return b || RegExp("\\b" + (k.pattern || e(k)) + "\\b", "i").exec(a) && (k.label || k) }) }([{ label: "EdgeHTML", pattern: "Edge" }, "Trident", { label: "WebKit", pattern: "AppleWebKit" }, "iCab", "Presto", "NetFront", "Tasman", "KHTML", "Gecko"]), u = function(b) { return p(b, function(b, k) { return b || RegExp("\\b" + (k.pattern || e(k)) + "\\b", "i").exec(a) && (k.label || k) }) }(["Adobe AIR", "Arora", "Avant Browser", "Breach", "Camino", "Electron", "Epiphany", "Fennec", "Flock", "Galeon", "GreenBrowser", "iCab", "Iceweasel", "K-Meleon", "Konqueror", "Lunascape", "Maxthon", { label: "Microsoft Edge", pattern: "Edge" }, "Midori", "Nook Browser", "PaleMoon", "PhantomJS", "Raven", "Rekonq", "RockMelt", { label: "Samsung Internet", pattern: "SamsungBrowser" }, "SeaMonkey", { label: "Silk", pattern: "(?:Cloud9|Silk-Accelerated)" }, "Sleipnir", "SlimBrowser", { label: "SRWare Iron", pattern: "Iron" }, "Sunrise", "Swiftfox", "Waterfox", "WebPositive", "Opera Mini", { label: "Opera Mini", pattern: "OPiOS" }, "Opera", { label: "Opera", pattern: "OPR" }, "Chrome", { label: "Chrome Mobile", pattern: "(?:CriOS|CrMo)" }, { label: "Firefox", pattern: "(?:Firefox|Minefield)" }, { label: "Firefox for iOS", pattern: "FxiOS" }, { label: "IE", pattern: "IEMobile" }, { label: "IE", pattern: "MSIE" }, "Safari" ]), y = k([{ label: "BlackBerry", pattern: "BB10" }, "BlackBerry", { label: "Galaxy S", pattern: "GT-I9000" }, { label: "Galaxy S2", pattern: "GT-I9100" }, { label: "Galaxy S3", pattern: "GT-I9300" }, { label: "Galaxy S4", pattern: "GT-I9500" }, { label: "Galaxy S5", pattern: "SM-G900" }, { label: "Galaxy S6", pattern: "SM-G920" }, { label: "Galaxy S6 Edge", pattern: "SM-G925" }, { label: "Galaxy S7", pattern: "SM-G930" }, { label: "Galaxy S7 Edge", pattern: "SM-G935" }, "Google TV", "Lumia", "iPad", "iPod", "iPhone", "Kindle", { label: "Kindle Fire", pattern: "(?:Cloud9|Silk-Accelerated)" }, "Nexus", "Nook", "PlayBook", "PlayStation Vita", "PlayStation", "TouchPad", "Transformer", { label: "Wii U", pattern: "WiiU" }, "Wii", "Xbox One", { label: "Xbox 360", pattern: "Xbox" }, "Xoom" ]), T = function(b) { return p(b, function(b, k, f) { return b || (k[y] || k[/^[a-z]+(?: +[a-z]+\b)*/i.exec(y)] || RegExp("\\b" + e(f) + "(?:\\b|\\w*\\d)", "i").exec(a)) && f }) }({ Apple: { iPad: 1, iPhone: 1, iPod: 1 }, Archos: {}, Amazon: { Kindle: 1, "Kindle Fire": 1 }, Asus: { Transformer: 1 }, "Barnes & Noble": { Nook: 1 }, BlackBerry: { PlayBook: 1 }, Google: { "Google TV": 1, Nexus: 1 }, HP: { TouchPad: 1 }, HTC: {}, LG: {}, Microsoft: { Xbox: 1, "Xbox One": 1 }, Motorola: { Xoom: 1 }, Nintendo: { "Wii U": 1, Wii: 1 }, Nokia: { Lumia: 1 }, Samsung: { "Galaxy S": 1, "Galaxy S2": 1, "Galaxy S3": 1, "Galaxy S4": 1 }, Sony: { PlayStation: 1, "PlayStation Vita": 1 } }), w = function(b) { return p(b, function(b, k) { var f = k.pattern || e(k); if (!b && (b = RegExp("\\b" + f + "(?:/[\\d.]+|[ \\w.]*)", "i").exec(a))) { var c = b, n = k.label || k, U = { "10.0": "10", "6.4": "10 Technical Preview", "6.3": "8.1", "6.2": "8", "6.1": "Server 2008 R2 / 7", "6.0": "Server 2008 / Vista", "5.2": "Server 2003 / XP 64-bit", "5.1": "XP", "5.01": "2000 SP1", "5.0": "2000", "4.0": "NT", "4.90": "ME" }; f && n && /^Win/i.test(c) && !/^Windows Phone /i.test(c) && (U = U[/[\d.]+$/.exec(c)]) && (c = "Windows " + U); c = String(c); f && n && (c = c.replace(RegExp(f, "i"), n)); b = c = h(c.replace(/ ce$/i, " CE").replace(/\bhpw/i, "web").replace(/\bMacintosh\b/, "Mac OS").replace(/_PowerPC\b/i, " OS").replace(/\b(OS X) [^ \d]+/i, "$1").replace(/\bMac (OS X)\b/, "$1").replace(/\/(\d)/, " $1").replace(/_/g, ".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i, "").replace(/\bx86\.64\b/gi, "x86_64").replace(/\b(Windows Phone) OS\b/, "$1").replace(/\b(Chrome OS \w+) [\d.]+\b/, "$1").split(" on ")[0]) } return b }) }(["Windows Phone", "Android", "CentOS", { label: "Chrome OS", pattern: "CrOS" }, "Debian", "Fedora", "FreeBSD", "Gentoo", "Haiku", "Kubuntu", "Linux Mint", "OpenBSD", "Red Hat", "SuSE", "Ubuntu", "Xubuntu", "Cygwin", "Symbian OS", "hpwOS", "webOS ", "webOS", "Tablet OS", "Tizen", "Linux", "Mac OS X", "Macintosh", "Mac", "Windows 98;", "Windows " ]); B && (B = [B]); T && !y && (y = k([T])); if (l = /\bGoogle TV\b/.exec(y)) y = l[0]; /\bSimulator\b/i.test(a) && (y = (y ? y + " " : "") + "Simulator"); "Opera Mini" == u && /\bOPiOS\b/.test(a) && n.push("running in Turbo/Uncompressed mode"); "IE" == u && /\blike iPhone OS\b/.test(a) ? (l = r(a.replace(/like iPhone OS/, "")), T = l.manufacturer, y = l.product) : /^iP/.test(y) ? (u || (u = "Safari"), w = "iOS" + ((l = / OS ([\d_]+)/i.exec(a)) ? " " + l[1].replace(/_/g, ".") : "")) : "Konqueror" != u || /buntu/i.test(w) ? T && "Google" != T && (/Chrome/.test(u) && !/\bMobile Safari\b/i.test(a) || /\bVita\b/.test(y)) || /\bAndroid\b/.test(w) && /^Chrome/.test(u) && /\bVersion\//i.test(a) ? (u = "Android Browser", w = /\bAndroid\b/.test(w) ? w : "Android") : "Silk" == u ? (/\bMobi/i.test(a) || (w = "Android", n.unshift("desktop mode")), /Accelerated *= *true/i.test(a) && n.unshift("accelerated")) : "PaleMoon" == u && (l = /\bFirefox\/([\d.]+)\b/.exec(a)) ? n.push("identifying as Firefox " + l[1]) : "Firefox" == u && (l = /\b(Mobile|Tablet|TV)\b/i.exec(a)) ? (w || (w = "Firefox OS"), y || (y = l[1])) : !u || (l = !/\bMinefield\b/i.test(a) && /\b(?:Firefox|Safari)\b/.exec(u)) ? (u && !y && /[\/,]|^[^(]+?\)/.test(a.slice(a.indexOf(l + "/") + 8)) && (u = null), (l = y || T || w) && (y || T || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(w)) && (u = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(w) ? w : l) + " Browser")) : "Electron" == u && (l = (/\bChrome\/([\d.]+)\b/.exec(a) || 0)[1]) && n.push("Chromium " + l) : w = "Kubuntu"; g || (g = f(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))", "Version", e(u), "(?:Firefox|Minefield|NetFront)"])); if (l = "iCab" == B && 3 < parseFloat(g) && "WebKit" || /\bOpera\b/.test(u) && (/\bOPR\b/.test(a) ? "Blink" : "Presto") || /\b(?:Midori|Nook|Safari)\b/i.test(a) && !/^(?:Trident|EdgeHTML)$/.test(B) && "WebKit" || !B && /\bMSIE\b/i.test(a) && ("Mac OS" == w ? "Tasman" : "Trident") || "WebKit" == B && /\bPlayStation\b(?! Vita\b)/i.test(u) && "NetFront") B = [l]; "IE" == u && (l = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(a) || 0)[1]) ? (u += " Mobile", w = "Windows Phone " + (/\+$/.test(l) ? l : l + ".x"), n.unshift("desktop mode")) : /\bWPDesktop\b/i.test(a) ? (u = "IE Mobile", w = "Windows Phone 8.x", n.unshift("desktop mode"), g || (g = (/\brv:([\d.]+)/.exec(a) || 0)[1])) : "IE" != u && "Trident" == B && (l = /\brv:([\d.]+)/.exec(a)) && (u && n.push("identifying as " + u + (g ? " " + g : "")), u = "IE", g = l[1]); if (H) { if (q(c, "global")) if (N && (l = N.lang.System, G = l.getProperty("os.arch"), w = w || l.getProperty("os.name") + " " + l.getProperty("os.version")), A) { try { g = c.require("ringo/engine").version.join("."), u = "RingoJS" } catch (aa) { (l = c.system) && l.global.system == c.system && (u = "Narwhal", w || (w = l[0].os || null)) } u || (u = "Rhino") } else "object" == typeof c.process && !c.process.browser && (l = c.process) && ("object" == typeof l.versions && ("string" == typeof l.versions.electron ? (n.push("Node " + l.versions.node), u = "Electron", g = l.versions.electron) : "string" == typeof l.versions.nw && (n.push("Chromium " + g, "Node " + l.versions.node), u = "NW.js", g = l.versions.nw)), u || (u = "Node.js", G = l.arch, w = l.platform, g = (g = /[\d.]+/.exec(l.version)) ? g[0] : null)); else d(l = c.runtime) == z ? (u = "Adobe AIR", w = l.flash.system.Capabilities.os) : d(l = c.phantom) == W ? (u = "PhantomJS", g = (l = l.version || null) && l.major + "." + l.minor + "." + l.patch) : "number" == typeof L.documentMode && (l = /\bTrident\/(\d+)/i.exec(a)) ? (g = [g, L.documentMode], (l = +l[1] + 4) != g[1] && (n.push("IE " + g[1] + " mode"), B && (B[1] = ""), g[1] = l), g = "IE" == u ? String(g[1].toFixed(1)) : g[0]) : "number" == typeof L.documentMode && /^(?:Chrome|Firefox)\b/.test(u) && (n.push("masking as " + u + " " + g), u = "IE", g = "11.0", B = ["Trident"], w = "Windows"); w = w && h(w) } g && (l = /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(g) || /(?:alpha|beta)(?: ?\d)?/i.exec(a + ";" + (H && m.appMinorVersion)) || /\bMinefield\b/i.test(a) && "a") && (C = /b/i.test(l) ? "beta" : "alpha", g = g.replace(RegExp(l + "\\+?$"), "") + ("beta" == C ? O : R) + (/\d+\+?/.exec(l) || "")); if ("Fennec" == u || "Firefox" == u && /\b(?:Android|Firefox OS)\b/.test(w)) u = "Firefox Mobile"; else if ("Maxthon" == u && g) g = g.replace(/\.[\d.]+/, ".x"); else if (/\bXbox\b/i.test(y)) "Xbox 360" == y && (w = null), "Xbox 360" == y && /\bIEMobile\b/.test(a) && n.unshift("mobile mode"); else if (!/^(?:Chrome|IE|Opera)$/.test(u) && (!u || y || /Browser|Mobi/.test(u)) || "Windows CE" != w && !/Mobi/i.test(a)) if ("IE" == u && H) try { null === c.external && n.unshift("platform preview") } catch (aa) { n.unshift("embedded") } else(/\bBlackBerry\b/.test(y) || /\bBB10\b/.test(a)) && (l = (RegExp(y.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(a) || 0)[1] || g) ? (l = [l, /BB10/.test(a)], w = (l[1] ? (y = null, T = "BlackBerry") : "Device Software") + " " + l[0], g = null) : this != t && "Wii" != y && (H && F || /Opera/.test(u) && /\b(?:MSIE|Firefox)\b/i.test(a) || "Firefox" == u && /\bOS X (?:\d+\.){2,}/.test(w) || "IE" == u && (w && !/^Win/.test(w) && 5.5 < g || /\bWindows XP\b/.test(w) && 8 < g || 8 == g && !/\bTrident\b/.test(a))) && !D.test(l = r.call(t, a.replace(D, "") + ";")) && l.name && (l = "ing as " + l.name + ((l = l.version) ? " " + l : ""), D.test(u) ? (/\bIE\b/.test(l) && "Mac OS" == w && (w = null), l = "identify" + l) : (l = "mask" + l, u = S ? h(S.replace(/([a-z])([A-Z])/g, "$1 $2")) : "Opera", /\bIE\b/.test(l) && (w = null), H || (g = null)), B = ["Presto"], n.push(l)); else u += " Mobile"; if (l = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(a) || 0)[1]) { l = [parseFloat(l.replace(/\.(\d)$/, ".0$1")), l]; if ("Safari" == u && "+" == l[1].slice(-1)) u = "WebKit Nightly", C = "alpha", g = l[1].slice(0, -1); else if (g == l[1] || g == (l[2] = (/\bSafari\/([\d.]+\+?)/i.exec(a) || 0)[1])) g = null; l[1] = (/\bChrome\/([\d.]+)/i.exec(a) || 0)[1]; 537.36 == l[0] && 537.36 == l[2] && 28 <= parseFloat(l[1]) && "WebKit" == B && (B = ["Blink"]); H && (v || l[1]) ? (B && (B[1] = "like Chrome"), l = l[1] || (l = l[0], 530 > l ? 1 : 532 > l ? 2 : 532.05 > l ? 3 : 533 > l ? 4 : 534.03 > l ? 5 : 534.07 > l ? 6 : 534.1 > l ? 7 : 534.13 > l ? 8 : 534.16 > l ? 9 : 534.24 > l ? 10 : 534.3 > l ? 11 : 535.01 > l ? 12 : 535.02 > l ? "13+" : 535.07 > l ? 15 : 535.11 > l ? 16 : 535.19 > l ? 17 : 536.05 > l ? 18 : 536.1 > l ? 19 : 537.01 > l ? 20 : 537.11 > l ? "21+" : 537.13 > l ? 23 : 537.18 > l ? 24 : 537.24 > l ? 25 : 537.36 > l ? 26 : "Blink" != B ? "27" : "28")) : (B && (B[1] = "like Safari"), l = (l = l[0], 400 > l ? 1 : 500 > l ? 2 : 526 > l ? 3 : 533 > l ? 4 : 534 > l ? "4+" : 535 > l ? 5 : 537 > l ? 6 : 538 > l ? 7 : 601 > l ? 8 : "8")); B && (B[1] += " " + (l += "number" == typeof l ? ".x" : /[.+]/.test(l) ? "" : "+")); "Safari" == u && (!g || 45 < parseInt(g)) && (g = l) } "Opera" == u && (l = /\bzbov|zvav$/.exec(w)) ? (u += " ", n.unshift("desktop mode"), "zvav" == l ? (u += "Mini", g = null) : u += "Mobile", w = w.replace(RegExp(" *" + l + "$"), "")) : "Safari" == u && /\bChrome\b/.exec(B && B[1]) && (n.unshift("desktop mode"), u = "Chrome Mobile", g = null, /\bOS X\b/.test(w) ? (T = "Apple", w = "iOS 4.3+") : w = null); g && 0 == g.indexOf(l = /[\d.]+$/.exec(w)) && -1 < a.indexOf("/" + l + "-") && (w = String(w.replace(l, "")).replace(/^ +| +$/g, "")); B && !/\b(?:Avant|Nook)\b/.test(u) && (/Browser|Lunascape|Maxthon/.test(u) || "Safari" != u && /^iOS/.test(w) && /\bSafari\b/.test(B[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(u) && B[1]) && (l = B[B.length - 1]) && n.push(l); n.length && (n = ["(" + n.join("; ") + ")"]); T && y && 0 > y.indexOf(T) && n.push("on " + T); y && n.push((/^on /.test(n[n.length - 1]) ? "" : "on ") + y); if (w) { var Z = (l = / ([\d.+]+)$/.exec(w)) && "/" == w.charAt(w.length - l[0].length - 1); w = { architecture: 32, family: l && !Z ? w.replace(l[0], "") : w, version: l ? l[1] : null, toString: function() { var a = this.version; return this.family + (a && !Z ? " " + a : "") + (64 == this.architecture ? " 64-bit" : "") } } }(l = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(G)) && !/\bi686\b/i.test(G) ? (w && (w.architecture = 64, w.family = w.family.replace(RegExp(" *" + l), "")), u && (/\bWOW64\b/i.test(a) || H && /\w(?:86|32)$/.test(m.cpuClass || m.platform) && !/\bWin64; x64\b/i.test(a)) && n.unshift("32-bit")) : w && /^OS X/.test(w.family) && "Chrome" == u && 39 <= parseFloat(g) && (w.architecture = 64); a || (a = null); c = {}; c.description = a; c.layout = B && B[0]; c.manufacturer = T; c.name = u; c.prerelease = C; c.product = y; c.ua = a; c.version = u && g; c.os = w || { architecture: null, family: null, version: null, toString: function() { return "null" } }; c.parse = r; c.toString = function() { return this.description || "" }; c.version && n.unshift(g); c.name && n.unshift(u); w && u && (w != String(w).split(" ")[0] || w != u.split(" ")[0] && !y) && n.push(y ? "(" + w + ")" : "on " + w); n.length && (c.description = n.join(" ")); return c } var c = { "function": !0, object: !0 }, b = c[typeof window] && window || this, v = c[typeof exports] && exports; c = c[typeof module] && module && !module.nodeType && module; var k = v && c && "object" == typeof global && global; !k || k.global !== k && k.window !== k && k.self !== k || (b = k); var f = Math.pow(2, 53) - 1, D = /\bOpera/; k = Object.prototype; var n = k.hasOwnProperty, x = k.toString, z = r(); "function" == typeof define && "object" == typeof define.amd && define.amd ? (b.platform = z, define(function() { return z })) : v && c ? t(z, function(a, b) { v[b] = a }) : b.platform = z }).call(this); (function() { var a = "undefined" !== typeof window && "undefined" !== typeof window.document ? window.document : {}, m = "undefined" !== typeof module && module.exports, h = "undefined" !== typeof Element && "ALLOW_KEYBOARD_INPUT" in Element, t = function() { for (var e, d = ["requestFullscreen exitFullscreen fullscreenElement fullscreenEnabled fullscreenchange fullscreenerror".split(" "), "webkitRequestFullscreen webkitExitFullscreen webkitFullscreenElement webkitFullscreenEnabled webkitfullscreenchange webkitfullscreenerror".split(" "), "webkitRequestFullScreen webkitCancelFullScreen webkitCurrentFullScreenElement webkitCancelFullScreen webkitfullscreenchange webkitfullscreenerror".split(" "), "mozRequestFullScreen mozCancelFullScreen mozFullScreenElement mozFullScreenEnabled mozfullscreenchange mozfullscreenerror".split(" "), "msRequestFullscreen msExitFullscreen msFullscreenElement msFullscreenEnabled MSFullscreenChange MSFullscreenError".split(" ") ], r = 0, c = d.length, b = {}; r < c; r++) if ((e = d[r]) && e[1] in a) { for (r = 0; r < e.length; r++) b[d[0][r]] = e[r]; return b } return !1 }(), d = { change: t.fullscreenchange, error: t.fullscreenerror }, q = { request: function(e) { var d = t.requestFullscreen; e = e || a.documentElement; if (/5\.1[.\d]* Safari/.test(navigator.userAgent)) e[d](); else e[d](h && Element.ALLOW_KEYBOARD_INPUT) }, exit: function() { a[t.exitFullscreen]() }, toggle: function(a) { this.isFullscreen ? this.exit() : this.request(a) }, onchange: function(a) { this.on("change", a) }, onerror: function(a) { this.on("error", a) }, on: function(e, p) { var r = d[e]; r && a.addEventListener(r, p, !1) }, off: function(e, p) { var r = d[e]; r && a.removeEventListener(r, p, !1) }, raw: t }; t ? (Object.defineProperties(q, { isFullscreen: { get: function() { return !!a[t.fullscreenElement] } }, element: { enumerable: !0, get: function() { return a[t.fullscreenElement] } }, enabled: { enumerable: !0, get: function() { return !!a[t.fullscreenEnabled] } } }), m ? module.exports = q : window.screenfull = q) : m ? module.exports = !1 : window.screenfull = !1 })(); var s_iScaleFactor = 1, s_bIsIphone = !1, s_iOffsetX, s_iOffsetY, s_oCanvasLeft, s_oCanvasTop; (function(a) { (jQuery.browser = jQuery.browser || {}).mobile = /android|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(ad|hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|tablet|treo|up\.(browser|link)|vodafone|wap|webos|windows (ce|phone)|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4)) })(navigator.userAgent || navigator.vendor || window.opera); $(window).resize(function() { sizeHandler() }); function trace(a) { console.log(a) } function isChrome() { return /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor) } function isIOS() { var a = "iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";"); for (-1 !== navigator.userAgent.toLowerCase().indexOf("iphone") && (s_bIsIphone = !0); a.length;) if (navigator.platform === a.pop()) return !0; return s_bIsIphone = !1 } function getSize(a) { var m = a.toLowerCase(), h = window.document, t = h.documentElement; if (void 0 === window["inner" + a]) a = t["client" + a]; else if (window["inner" + a] != t["client" + a]) { var d = h.createElement("body"); d.id = "vpw-test-b"; d.style.cssText = "overflow:scroll"; var q = h.createElement("div"); q.id = "vpw-test-d"; q.style.cssText = "position:absolute;top:-1000px"; q.innerHTML = "<style>@media(" + m + ":" + t["client" + a] + "px){body#vpw-test-b div#vpw-test-d{" + m + ":7px!important}}</style>"; d.appendChild(q); t.insertBefore(d, h.head); a = 7 == q["offset" + a] ? t["client" + a] : window["inner" + a]; t.removeChild(d) } else a = window["inner" + a]; return a } window.addEventListener("orientationchange", onOrientationChange); function onOrientationChange() { window.matchMedia("(orientation: portrait)").matches && sizeHandler(); window.matchMedia("(orientation: landscape)").matches && sizeHandler() } function getIOSWindowHeight() { return document.documentElement.clientWidth / window.innerWidth * window.innerHeight } function getHeightOfIOSToolbars() { var a = (0 === window.orientation ? screen.height : screen.width) - getIOSWindowHeight(); return 1 < a ? a : 0 } function sizeHandler() { window.scrollTo(0, 1); if ($("#canvas")) { var a = "safari" === platform.name.toLowerCase() ? getIOSWindowHeight() : getSize("Height"); var m = getSize("Width"); _checkOrientation(m, a); var h = Math.min(a / CANVAS_HEIGHT, m / CANVAS_WIDTH), t = CANVAS_WIDTH * h; h *= CANVAS_HEIGHT; if (h < a) { var d = a - h; h += d; t += CANVAS_WIDTH / CANVAS_HEIGHT * d } else t < m && (d = m - t, t += d, h += CANVAS_HEIGHT / CANVAS_WIDTH * d); d = a / 2 - h / 2; var q = m / 2 - t / 2, e = CANVAS_WIDTH / t; if (q * e < -EDGEBOARD_X || d * e < -EDGEBOARD_Y) h = Math.min(a / (CANVAS_HEIGHT - 2 * EDGEBOARD_Y), m / (CANVAS_WIDTH - 2 * EDGEBOARD_X)), t = CANVAS_WIDTH * h, h *= CANVAS_HEIGHT, d = (a - h) / 2, q = (m - t) / 2, e = CANVAS_WIDTH / t; s_iOffsetX = -1 * q * e; s_iOffsetY = -1 * d * e; 0 <= d && (s_iOffsetY = 0); 0 <= q && (s_iOffsetX = 0); null !== s_oInterface && s_oInterface.refreshButtonPos(s_iOffsetX, s_iOffsetY); null !== s_oMenu && s_oMenu.refreshButtonPos(s_iOffsetX, s_iOffsetY); s_bIsIphone ? (canvas = document.getElementById("canvas"), s_oStage.canvas.width = 2 * t, s_oStage.canvas.height = 2 * h, canvas.style.width = t + "px", canvas.style.height = h + "px", s_iScaleFactor = 2 * Math.min(t / CANVAS_WIDTH, h / CANVAS_HEIGHT), s_oStage.scaleX = s_oStage.scaleY = s_iScaleFactor) : s_bMobile || isChrome() ? ($("#canvas").css("width", t + "px"), $("#canvas").css("height", h + "px")) : (s_oStage.canvas.width = t, s_oStage.canvas.height = h, s_iScaleFactor = Math.min(t / CANVAS_WIDTH, h / CANVAS_HEIGHT), s_oStage.scaleX = s_oStage.scaleY = s_iScaleFactor); 0 > d || (d = (a - h) / 2); $("#canvas").css("top", d + "px"); $("#canvas").css("left", q + "px"); fullscreenHandler() } } function _checkOrientation(a, m) { s_bMobile && ENABLE_CHECK_ORIENTATION && (a > m ? "landscape" === $(".orientation-msg-container").attr("data-orientation") ? ($(".orientation-msg-container").css("display", "none"), s_oMain.startUpdate()) : ($(".orientation-msg-container").css("display", "block"), s_oMain.stopUpdate()) : "portrait" === $(".orientation-msg-container").attr("data-orientation") ? ($(".orientation-msg-container").css("display", "none"), s_oMain.startUpdate()) : ($(".orientation-msg-container").css("display", "block"), s_oMain.stopUpdate())) } function createBitmap(a, m, h) { var t = new createjs.Bitmap(a), d = new createjs.Shape; m && h ? d.graphics.beginFill("#fff").drawRect(0, 0, m, h) : d.graphics.beginFill("#ff0").drawRect(0, 0, a.width, a.height); t.hitArea = d; return t } function createSprite(a, m, h, t, d, q) { a = null !== m ? new createjs.Sprite(a, m) : new createjs.Sprite(a); m = new createjs.Shape; m.graphics.beginFill("#000000").drawRect(-h, -t, d, q); a.hitArea = m; return a } function randomFloatBetween(a, m, h) { "undefined" === typeof h && (h = 2); return parseFloat(Math.min(a + Math.random() * (m - a), m).toFixed(h)) } function formatTime(a) { a /= 1E3; var m = Math.floor(a / 60); a = Math.floor(a - 60 * m); var h = ""; h = 10 > m ? h + ("0" + m + ":") : h + (m + ":"); return 10 > a ? h + ("0" + a) : h + a } function NoClickDelay(a) { this.element = a; window.Touch && this.element.addEventListener("touchstart", this, !1) } function shuffle(a) { for (var m = a.length, h, t; 0 < m;) t = Math.floor(Math.random() * m), m--, h = a[m], a[m] = a[t], a[t] = h; return a } NoClickDelay.prototype = { handleEvent: function(a) { switch (a.type) { case "touchstart": this.onTouchStart(a); break; case "touchmove": this.onTouchMove(a); break; case "touchend": this.onTouchEnd(a) } }, onTouchStart: function(a) { a.preventDefault(); this.moved = !1; this.element.addEventListener("touchmove", this, !1); this.element.addEventListener("touchend", this, !1) }, onTouchMove: function(a) { this.moved = !0 }, onTouchEnd: function(a) { this.element.removeEventListener("touchmove", this, !1); this.element.removeEventListener("touchend", this, !1); if (!this.moved) { a = document.elementFromPoint(a.changedTouches[0].clientX, a.changedTouches[0].clientY); 3 == a.nodeType && (a = a.parentNode); var m = document.createEvent("MouseEvents"); m.initEvent("click", !0, !0); a.dispatchEvent(m) } } }; function ctlArcadeResume() { null !== s_oMain && s_oMain.startUpdate() } function ctlArcadePause() { null !== s_oMain && s_oMain.stopUpdate() } function getParamValue(a) { for (var m = window.location.search.substring(1).split("&"), h = 0; h < m.length; h++) { var t = m[h].split("="); if (t[0] == a) return t[1] } } function playSound(a, m, h) { return !1 === DISABLE_SOUND_MOBILE || !1 === s_bMobile ? (s_aSounds[a].play(), s_aSounds[a].volume(m), s_aSounds[a].loop(h), s_aSounds[a]) : null } function stopSound(a) { !1 !== DISABLE_SOUND_MOBILE && !1 !== s_bMobile || s_aSounds[a].stop() } function setVolume(a, m) { !1 !== DISABLE_SOUND_MOBILE && !1 !== s_bMobile || s_aSounds[a].volume(m) } function setMute(a, m) { !1 !== DISABLE_SOUND_MOBILE && !1 !== s_bMobile || s_aSounds[a].mute(m) } function easeLinear(a, m, h, t) { return h * a / t + m } function collisionWithCircle(a, m, h) { var t = a.getX() - m.getX(), d = a.getY() - m.getY(); return Math.sqrt(t * t + d * d) < a.getCollision() * h + m.getCollision() * h ? !0 : !1 } (function() { function a(a) { var h = { focus: "visible", focusin: "visible", pageshow: "visible", blur: "hidden", focusout: "hidden", pagehide: "hidden" }; a = a || window.event; a.type in h ? document.body.className = h[a.type] : (document.body.className = this[m] ? "hidden" : "visible", "hidden" === document.body.className ? s_oMain.stopUpdate() : s_oMain.startUpdate()) } var m = "hidden"; m in document ? document.addEventListener("visibilitychange", a) : (m = "mozHidden") in document ? document.addEventListener("mozvisibilitychange", a) : (m = "webkitHidden") in document ? document.addEventListener("webkitvisibilitychange", a) : (m = "msHidden") in document ? document.addEventListener("msvisibilitychange", a) : "onfocusin" in document ? document.onfocusin = document.onfocusout = a : window.onpageshow = window.onpagehide = window.onfocus = window.onblur = a })(); function fullscreenHandler() { ENABLE_FULLSCREEN && !1 !== screenfull.enabled && (s_bFullscreen = screenfull.isFullscreen, null !== s_oInterface && s_oInterface.resetFullscreenBut(), null !== s_oMenu && s_oMenu.resetFullscreenBut()) } if (screenfull.enabled) screenfull.on("change", function() { s_bFullscreen = screenfull.isFullscreen; null !== s_oInterface && s_oInterface.resetFullscreenBut(); null !== s_oMenu && s_oMenu.resetFullscreenBut() }); function CSpriteLibrary() { var a = {}, m, h, t, d, q, e; this.init = function(a, r, c) { m = {}; t = h = 0; d = a; q = r; e = c }; this.addSprite = function(e, d) { if (!a.hasOwnProperty(e)) { var c = new Image; a[e] = m[e] = { szPath: d, oSprite: c, bLoaded: !1 }; h++ } }; this.getSprite = function(e) { return a.hasOwnProperty(e) ? a[e].oSprite : null }; this._onSpritesLoaded = function() { h = 0; q.call(e) }; this._onSpriteLoaded = function() { d.call(e); ++t === h && this._onSpritesLoaded() }; this.loadSprites = function() { for (var a in m) m[a].oSprite.oSpriteLibrary = this, m[a].oSprite.szKey = a, m[a].oSprite.onload = function() { this.oSpriteLibrary.setLoaded(this.szKey); this.oSpriteLibrary._onSpriteLoaded(this.szKey) }, m[a].oSprite.onerror = function(a) { var c = a.currentTarget; setTimeout(function() { m[c.szKey].oSprite.src = m[c.szKey].szPath }, 500) }, m[a].oSprite.src = m[a].szPath }; this.setLoaded = function(e) { a[e].bLoaded = !0 }; this.isLoaded = function(e) { return a[e].bLoaded }; this.getNumSprites = function() { return h } } var FLOOR_LEVEL_POSITION; FLOOR_LEVEL_POSITION = []; var FLOOR_LEVEL_DIAGRAM; FLOOR_LEVEL_DIAGRAM = []; FLOOR_LEVEL_POSITION[0] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 17, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 90 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 2, rotation: 90 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 11, rotation: 0 }, { type: 4, rotation: 0 }, { type: 12, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 8, rotation: 0 }, { type: 10, rotation: 0 }, { type: 9, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 6, rotation: 0 }, { type: 5, rotation: 0 }, { type: 7, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 2, rotation: 90 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }] ]; FLOOR_LEVEL_POSITION[1] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 17, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 14, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: 14, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 17, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ] ]; FLOOR_LEVEL_POSITION[2] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 11, rotation: 0 }, { type: 4, rotation: 0 }, { type: 12, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 8, rotation: 0 }, { type: 10, rotation: 0 }, { type: 9, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 6, rotation: 0 }, { type: 5, rotation: 0 }, { type: 7, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 15, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ] ]; FLOOR_LEVEL_POSITION[3] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 17, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 17, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: 14, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 11, rotation: 0 }, { type: 4, rotation: 0 }, { type: 12, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 8, rotation: 0 }, { type: 10, rotation: 0 }, { type: 9, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: 6, rotation: 0 }, { type: 5, rotation: 0 }, { type: 7, rotation: 0 }, { type: -1, rotation: 0 }, { type: 15, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }] ]; FLOOR_LEVEL_POSITION[4] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 17, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 14, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }] ]; FLOOR_LEVEL_POSITION[5] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 17, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 14, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 11, rotation: 0 }, { type: 4, rotation: 0 }, { type: 12, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 8, rotation: 0 }, { type: 10, rotation: 0 }, { type: 9, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 11, rotation: 0 }, { type: 4, rotation: 0 }, { type: 12, rotation: 0 }, { type: -1, rotation: 0 }, { type: 6, rotation: 0 }, { type: 5, rotation: 0 }, { type: 7, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 8, rotation: 0 }, { type: 10, rotation: 0 }, { type: 9, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 6, rotation: 0 }, { type: 5, rotation: 0 }, { type: 7, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }] ]; FLOOR_LEVEL_POSITION[6] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 14, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 11, rotation: 0 }, { type: 4, rotation: 0 }, { type: 12, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 8, rotation: 0 }, { type: 10, rotation: 0 }, { type: 9, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 6, rotation: 0 }, { type: 5, rotation: 0 }, { type: 7, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }] ]; FLOOR_LEVEL_POSITION[7] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 17, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 14, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }] ]; FLOOR_LEVEL_POSITION[8] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 17, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 14, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 3, rotation: 180 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 15, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }] ]; FLOOR_LEVEL_POSITION[9] = [ [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 13, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 14, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 19, rotation: 0 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 11, rotation: 0 }, { type: 4, rotation: 0 }, { type: 12, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 8, rotation: 0 }, { type: 10, rotation: 0 }, { type: 9, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 0, rotation: 0 }, { type: 18, rotation: 0 }, { type: -1, rotation: 0 }, { type: 6, rotation: 0 }, { type: 5, rotation: 0 }, { type: 7, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 11, rotation: 0 }, { type: 4, rotation: 0 }, { type: 12, rotation: 0 }, { type: -1, rotation: 0 }, { type: 7, rotation: 180 }, { type: 5, rotation: 180 }, { type: 6, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 16, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 180 }, { type: 2, rotation: 0 }, { type: -1, rotation: 0 }, { type: 8, rotation: 0 }, { type: 10, rotation: 0 }, { type: 9, rotation: 0 }, { type: -1, rotation: 0 }, { type: 9, rotation: 180 }, { type: 10, rotation: 180 }, { type: 8, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 6, rotation: 0 }, { type: 5, rotation: 0 }, { type: 7, rotation: 0 }, { type: -1, rotation: 0 }, { type: 12, rotation: 180 }, { type: 4, rotation: 180 }, { type: 11, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 11, rotation: 0 }, { type: 4, rotation: 0 }, { type: 12, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 8, rotation: 0 }, { type: 10, rotation: 0 }, { type: 9, rotation: 0 }, { type: -1, rotation: 0 }, { type: 2, rotation: 180 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 3, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 0, rotation: 0 }, { type: 19, rotation: 180 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 6, rotation: 0 }, { type: 5, rotation: 0 }, { type: 7, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: 15, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }], [{ type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 }, { type: -1, rotation: 0 } ] ]; FLOOR_LEVEL_DIAGRAM[0] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2, -1, -1, -1, -1], [-1, -1, 2, 0, 3, 0, 0, 3, 0, 0, 2, -1, -1, 1, -1, -1, -1, -1], [-1, -1, 1, -1, 1, -1, -1, 1, -1, -1, 3, 0, 3, 3, 2, -1, -1, -1], [-1, -1, 2, 3, 3, 0, 0, 3, 0, 0, 2, -1, 1, -1, 1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1, -1], [-1, -1, -1, 1, -1, 2, 0, 0, 3, 0, 0, 3, 2, -1, 1, -1, -1, -1], [-1, -1, -1, 3, 0, 3, -1, 11, 4, 12, -1, 1, -1, -1, 1, -1, -1, -1 ], [-1, -1, -1, 1, -1, 1, -1, 8, -1, 9, -1, 2, 0, 0, 2, -1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, 6, 5, 7, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, 2, 0, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; FLOOR_LEVEL_DIAGRAM[1] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 17, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16, 0, 2, -1, -1, -1, -1], [-1, -1, 14, 3, 0, 0, 0, 2, -1, 14, 0, 18, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, 1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, 16, -1, 19, 0, 2, -1, 1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, 19, 2, -1, -1, -1], [-1, -1, -1, 16, 0, 3, 0, 0, 0, 18, -1, 1, -1, -1, 1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, -1, -1, -1, 16, 0, 18, -1, -1, 1, -1, -1, -1 ], [-1, -1, -1, 1, -1, 19, 0, 0, 3, 2, -1, 1, -1, -1, 1, -1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, -1, 1, -1, -1, 16, 0, 0, 2, -1, -1, -1], [-1, -1, -1, 2, 0, 3, 0, 0, 3, 0, 0, 2, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; FLOOR_LEVEL_DIAGRAM[2] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, 19, 0, 0, 0, 0, 3, 0, 3, 0, 0, 0, 0, 2, -1, -1, -1], [-1, -1, 1, -1, -1, -1, -1, 1, -1, 1, -1, -1, -1, -1, 1, -1, -1, -1], [-1, -1, 1, -1, -1, 19, 0, 3, 3, 3, 0, 2, -1, -1, 1, -1, -1, -1], [-1, -1, 1, -1, -1, 1, -1, -1, 1, -1, -1, 1, -1, -1, 1, -1, -1, -1], [-1, -1, 1, -1, -1, 1, -1, 11, 4, 12, -1, 1, -1, -1, 1, -1, -1, -1], [-1, -1, 16, 0, 0, 18, -1, 8, -1, 9, -1, 16, 0, 0, 18, -1, -1, -1], [-1, -1, 1, -1, -1, 1, -1, 6, 5, 7, -1, 1, -1, -1, 1, -1, -1, -1 ], [-1, -1, 1, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, -1, 1, -1, -1, -1], [-1, -1, 1, -1, -1, 2, 0, 0, 3, 0, 0, 19, -1, -1, 1, -1, -1, -1], [-1, -1, 1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, 15, -1, -1, -1], [-1, -1, 2, 0, 0, 0, 0, 0, 3, 0, 0, 13, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; FLOOR_LEVEL_DIAGRAM[3] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 17, -1, -1, -1, -1, -1, -1], [-1, -1, -1, 2, 0, 0, 3, 0, 0, 0, 0, 19, -1, -1, 17, -1, -1, -1], [-1, -1, -1, 1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1], [-1, -1, -1, 16, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 19, -1, -1, -1], [-1, 14, 0, 18, -1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1], [-1, -1, -1, 16, 0, 3, 0, 0, 3, 0, 0, 3, 3, 0, 3, 13, -1, -1], [-1, -1, -1, 1, -1, 1, -1, -1, 1, -1, -1, 1, -1, -1, 1, -1, -1, -1 ], [-1, -1, -1, 16, 0, 18, -1, 11, 4, 12, -1, 1, -1, -1, 1, -1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, 8, 10, 9, -1, 16, 0, 0, 19, -1, -1, -1], [-1, -1, -1, 2, 0, 19, -1, 6, 5, 7, -1, 15, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; FLOOR_LEVEL_DIAGRAM[4] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, 19, 0, 2, -1, -1, -1, -1, -1, -1], [-1, -1, 17, -1, -1, -1, -1, -1, -1, 1, -1, 16, 0, 2, -1, -1, -1, -1], [-1, -1, 2, 3, 0, 3, 0, 2, -1, 16, -1, 18, -1, 16, 0, 0, 13, -1], [-1, -1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, 16, 0, 18, -1, 16, 0, 18, -1, -1, -1, -1], [-1, -1, -1, 16, 0, 18, -1, 1, -1, 1, -1, 1, -1, 16, 0, 2, -1, -1], [-1, -1, -1, 1, -1, 16, 0, 18, -1, 16, 0, 18, -1, 1, -1, 1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, -1 ], [-1, -1, -1, 16, 0, 18, -1, 16, 0, 18, -1, 1, -1, 1, -1, 1, -1, -1], [-1, -1, -1, 1, -1, 16, 0, 19, -1, 16, 0, 18, -1, 16, 0, 19, -1, -1], [-1, -1, 14, 3, 0, 19, -1, -1, -1, 1, -1, 16, 0, 19, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, 2, 0, 19, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; FLOOR_LEVEL_DIAGRAM[5] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 17, -1, -1, -1, -1, -1, -1], [-1, -1, 14, 3, 0, 0, 3, 0, 0, 0, 3, 3, 0, 3, 0, 13, -1, -1], [-1, -1, -1, 1, -1, -1, 1, -1, -1, -1, 1, -1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, 16, 0, 13, -1, 1, -1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 16, 0, 0, 18, -1, -1, 11, 4, 12, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, 1, -1, -1, 8, -1, 9, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, 11, 4, 12, -1, 6, 5, 7, -1, 16, 0, 2, -1, -1], [-1, -1, -1, 1, -1, 8, 10, 9, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1 ], [-1, -1, -1, 1, -1, 6, 5, 7, -1, 19, 0, 0, 0, 19, -1, 1, -1, -1], [-1, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, -1], [-1, -1, -1, 2, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 19, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; FLOOR_LEVEL_DIAGRAM[6] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, 19, 0, 0, 0, 3, 0, 2, -1, -1, -1, -1], [-1, -1, 14, 3, 0, 2, -1, 1, -1, -1, -1, 1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, 2, 3, 3, 2, -1, -1, 16, 0, 18, -1, -1, -1, -1], [-1, -1, 11, 4, 12, -1, 1, -1, 16, 0, 0, 18, -1, 1, -1, -1, -1, -1], [-1, -1, 8, -1, 9, -1, 16, 0, 18, -1, -1, 1, -1, 1, -1, -1, -1, -1], [-1, -1, 6, 5, 7, -1, 1, -1, 16, 0, 0, 18, -1, 1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1, 1, -1, 2, 3, 0, 13, -1], [-1, -1, -1, -1, 19, 0, 3, 0, 3, 3, 0, 18, -1, -1, 1, -1, -1, -1 ], [-1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, 1, -1, -1, 1, -1, -1, -1], [-1, -1, -1, -1, 16, 0, 0, 3, 0, 3, 3, 3, 0, 0, 19, -1, -1, -1], [-1, -1, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, 2, 0, 0, 3, 0, 0, 19, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; FLOOR_LEVEL_DIAGRAM[7] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 17, -1, -1, -1, -1, -1, -1], [-1, -1, 14, 3, 0, 0, 3, 0, 3, 0, 3, 3, 0, 3, 0, 13, -1, -1], [-1, -1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 16, 0, 0, 18, -1, 1, -1, 16, 0, 0, 18, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, 1, -1, 16, 0, 18, -1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 16, 0, 0, 18, -1, 1, -1, 1, -1, -1, 16, 0, 13, -1, -1], [-1, -1, -1, 1, -1, -1, 1, -1, 16, 0, 18, -1, -1, 1, -1, -1, -1, -1 ], [-1, -1, -1, 16, 0, 0, 18, -1, 1, -1, 16, 0, 0, 18, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 2, 0, 0, 3, 0, 3, 0, 3, 0, 0, 19, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; FLOOR_LEVEL_DIAGRAM[8] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, 19, 0, 3, 0, 3, 0, 3, 0, 2, -1, -1, -1, -1], [-1, -1, -1, 17, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, 16, 0, 18, -1, 16, -1, 18, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, -1, -1, -1], [-1, -1, 14, 3, 0, 3, 0, 3, 3, 3, 0, 3, 0, 19, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, 19, 0, 3, 0, 3, 3, 3, 0, 3, 0, 3, 13, -1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, -1, -1, -1 ], [-1, -1, -1, 1, -1, 16, -1, 18, -1, 16, 0, 18, -1, 1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 15, -1, -1, -1, -1], [-1, -1, -1, 2, 0, 3, 0, 3, 0, 3, 0, 19, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; FLOOR_LEVEL_DIAGRAM[9] = [ [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, 19, 0, 0, 3, 0, 0, 3, 13, -1, -1, -1, -1], [-1, -1, 14, 3, 0, 0, 19, -1, -1, 1, -1, -1, 1, -1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, -1, 19, 0, 18, -1, 11, 4, 12, -1, -1, -1, -1], [-1, -1, -1, 1, -1, -1, -1, 1, -1, 1, -1, 8, 10, 9, -1, -1, -1, -1], [-1, -1, -1, 16, 0, 3, 0, 3, 0, 18, -1, 6, 5, 7, -1, -1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, 1, -1, 1, -1, -1, 11, 4, 12, -1, 7, 5, 6, -1, -1, -1], [-1, -1, -1, 16, 0, 3, 2, -1, 8, -1, 9, -1, 9, -1, 8, -1, -1, -1 ], [-1, -1, -1, 1, -1, -1, 1, -1, 6, 5, 7, -1, 12, 4, 11, -1, -1, -1], [-1, -1, 11, 4, 12, -1, 1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1], [-1, -1, 8, 10, 9, -1, 2, 0, 0, 3, 0, 0, 0, 3, -1, -1, -1, -1], [-1, -1, 6, 5, 7, -1, -1, -1, -1, 15, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] ]; var OBJECTS_LEVEL_POSITION; OBJECTS_LEVEL_POSITION = [ [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 }], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: -1 }, { id: 24, type: -1 }, { id: 25, type: -1 }, { id: 26, type: -1 }, { id: 27, type: -1 }, { id: 28, type: -1 }, { id: 29, type: -1 }, { id: 30, type: -1 }, { id: 31, type: -1 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 }], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: -1 }, { id: 39, type: -1 }, { id: 40, type: -1 }, { id: 41, type: -1 }, { id: 42, type: -1 }, { id: 43, type: -1 }, { id: 44, type: -1 }, { id: 45, type: -1 }, { id: 46, type: -1 }, { id: 47, type: -1 }, { id: 48, type: 4 }, { id: 49, type: 9 }, { id: 50, type: -1 }, { id: 51, type: -1 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 }], [{ id: 55, type: -1 }, { id: 56, type: -1 }, { id: 57, type: 4 }, { id: 58, type: 1 }, { id: 59, type: 7 }, { id: 60, type: 10 }, { id: 61, type: 0 }, { id: 62, type: 1 }, { id: 63, type: 8 }, { id: 64, type: 7 }, { id: 65, type: 1 }, { id: 66, type: -1 }, { id: 67, type: 8 }, { id: 68, type: 2 }, { id: 69, type: 1 }, { id: 70, type: -1 }, { id: 71, type: 10 }, { id: 72, type: -1 } ], [{ id: 73, type: -1 }, { id: 74, type: 8 }, { id: 75, type: -1 }, { id: 76, type: -1 }, { id: 77, type: 2 }, { id: 78, type: -1 }, { id: 79, type: -1 }, { id: 80, type: 2 }, { id: 81, type: -1 }, { id: 82, type: -1 }, { id: 83, type: 2 }, { id: 84, type: 0 }, { id: 85, type: 1 }, { id: 86, type: -1 }, { id: 87, type: 4 }, { id: 88, type: 1 }, { id: 89, type: -1 }, { id: 90, type: -1 }], [{ id: 91, type: -1 }, { id: 92, type: 0 }, { id: 93, type: -1 }, { id: 94, type: 1 }, { id: 95, type: -1 }, { id: 96, type: 0 }, { id: 97, type: 1 }, { id: 98, type: -1 }, { id: 99, type: 1 }, { id: 100, type: 8 }, { id: 101, type: -1 }, { id: 102, type: -1 }, { id: 103, type: 2 }, { id: 104, type: -1 }, { id: 105, type: 2 }, { id: 106, type: 0 }, { id: 107, type: 10 }, { id: 108, type: -1 }], [{ id: 109, type: -1 }, { id: 110, type: 4 }, { id: 111, type: 2 }, { id: 112, type: -1 }, { id: 113, type: 2 }, { id: 114, type: -1 }, { id: 115, type: -1 }, { id: 116, type: 2 }, { id: 117, type: -1 }, { id: 118, type: -1 }, { id: 119, type: 2 }, { id: 120, type: 0 }, { id: 121, type: -1 }, { id: 122, type: 0 }, { id: 123, type: -1 }, { id: 124, type: 10 }, { id: 125, type: -1 }, { id: 126, type: -1 } ], [{ id: 127, type: -1 }, { id: 128, type: -1 }, { id: 129, type: 4 }, { id: 130, type: -1 }, { id: 131, type: 10 }, { id: 132, type: 1 }, { id: 133, type: 0 }, { id: 134, type: 8 }, { id: 135, type: 1 }, { id: 136, type: 7 }, { id: 137, type: 1 }, { id: 138, type: 4 }, { id: 139, type: -1 }, { id: 140, type: 10 }, { id: 141, type: -1 }, { id: 142, type: 1 }, { id: 143, type: -1 }, { id: 144, type: -1 }], [{ id: 145, type: -1 }, { id: 146, type: -1 }, { id: 147, type: 8 }, { id: 148, type: -1 }, { id: 149, type: 1 }, { id: 150, type: 2 }, { id: 151, type: -1 }, { id: 152, type: -1 }, { id: 153, type: 2 }, { id: 154, type: -1 }, { id: 155, type: -1 }, { id: 156, type: -1 }, { id: 157, type: 2 }, { id: 158, type: 4 }, { id: 159, type: -1 }, { id: 160, type: 0 }, { id: 161, type: -1 }, { id: 162, type: -1 } ], [{ id: 163, type: -1 }, { id: 164, type: -1 }, { id: 165, type: 0 }, { id: 166, type: 2 }, { id: 167, type: -1 }, { id: 168, type: 2 }, { id: 169, type: 1 }, { id: 170, type: -1 }, { id: 171, type: -1 }, { id: 172, type: -1 }, { id: 173, type: 7 }, { id: 174, type: -1 }, { id: 175, type: 4 }, { id: 176, type: 7 }, { id: 177, type: -1 }, { id: 178, type: 4 }, { id: 179, type: -1 }, { id: 180, type: -1 }], [{ id: 181, type: -1 }, { id: 182, type: -1 }, { id: 183, type: 8 }, { id: 184, type: -1 }, { id: 185, type: 4 }, { id: 186, type: -1 }, { id: 187, type: 10 }, { id: 188, type: -1 }, { id: 189, type: 5 }, { id: 190, type: -1 }, { id: 191, type: 1 }, { id: 192, type: 2 }, { id: 193, type: -1 }, { id: 194, type: -1 }, { id: 195, type: 2 }, { id: 196, type: 1 }, { id: 197, type: -1 }, { id: 198, type: -1 } ], [{ id: 199, type: -1 }, { id: 200, type: -1 }, { id: 201, type: 10 }, { id: 202, type: -1 }, { id: 203, type: 0 }, { id: 204, type: -1 }, { id: 205, type: 1 }, { id: 206, type: -1 }, { id: 207, type: -1 }, { id: 208, type: -1 }, { id: 209, type: 8 }, { id: 210, type: 4 }, { id: 211, type: 1 }, { id: 212, type: 0 }, { id: 213, type: 1 }, { id: 214, type: -1 }, { id: 215, type: -1 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: -1 }, { id: 219, type: 4 }, { id: 220, type: 2 }, { id: 221, type: -1 }, { id: 222, type: 3 }, { id: 223, type: 8 }, { id: 224, type: 4 }, { id: 225, type: 0 }, { id: 226, type: 1 }, { id: 227, type: -1 }, { id: 228, type: -1 }, { id: 229, type: -1 }, { id: 230, type: -1 }, { id: 231, type: -1 }, { id: 232, type: -1 }, { id: 233, type: -1 }, { id: 234, type: -1 }], [{ id: 235, type: -1 }, { id: 236, type: -1 }, { id: 237, type: 10 }, { id: 238, type: 1 }, { id: 239, type: 4 }, { id: 240, type: 1 }, { id: 241, type: -1 }, { id: 242, type: -1 }, { id: 243, type: -1 }, { id: 244, type: -1 }, { id: 245, type: -1 }, { id: 246, type: -1 }, { id: 247, type: -1 }, { id: 248, type: -1 }, { id: 249, type: -1 }, { id: 250, type: -1 }, { id: 251, type: -1 }, { id: 252, type: -1 }], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: -1 }, { id: 256, type: -1 }, { id: 257, type: -1 }, { id: 258, type: -1 }, { id: 259, type: -1 }, { id: 260, type: -1 }, { id: 261, type: -1 }, { id: 262, type: -1 }, { id: 263, type: -1 }, { id: 264, type: -1 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 }], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 } ], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 }], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 }] ], [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 } ], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: -1 }, { id: 24, type: -1 }, { id: 25, type: -1 }, { id: 26, type: -1 }, { id: 27, type: -1 }, { id: 28, type: -1 }, { id: 29, type: 4 }, { id: 30, type: -1 }, { id: 31, type: -1 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 }], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: -1 }, { id: 39, type: -1 }, { id: 40, type: -1 }, { id: 41, type: -1 }, { id: 42, type: -1 }, { id: 43, type: -1 }, { id: 44, type: -1 }, { id: 45, type: -1 }, { id: 46, type: 8 }, { id: 47, type: 2 }, { id: 48, type: 1 }, { id: 49, type: 10 }, { id: 50, type: -1 }, { id: 51, type: -1 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 }], [{ id: 55, type: -1 }, { id: 56, type: -1 }, { id: 57, type: 1 }, { id: 58, type: 0 }, { id: 59, type: 7 }, { id: 60, type: 10 }, { id: 61, type: 0 }, { id: 62, type: 1 }, { id: 63, type: -1 }, { id: 64, type: 7 }, { id: 65, type: 1 }, { id: 66, type: -1 }, { id: 67, type: -1 }, { id: 68, type: 2 }, { id: 69, type: 1 }, { id: 70, type: -1 }, { id: 71, type: -1 }, { id: 72, type: -1 }], [{ id: 73, type: -1 }, { id: 74, type: 1 }, { id: 75, type: -1 }, { id: 76, type: -1 }, { id: 77, type: -1 }, { id: 78, type: -1 }, { id: 79, type: -1 }, { id: 80, type: 2 }, { id: 81, type: 10 }, { id: 82, type: 3 }, { id: 83, type: 2 }, { id: 84, type: -1 }, { id: 85, type: 1 }, { id: 86, type: -1 }, { id: 87, type: 4 }, { id: 88, type: -1 }, { id: 89, type: -1 }, { id: 90, type: -1 }], [{ id: 91, type: -1 }, { id: 92, type: -1 }, { id: 93, type: 8 }, { id: 94, type: -1 }, { id: 95, type: 10 }, { id: 96, type: 0 }, { id: 97, type: 1 }, { id: 98, type: -1 }, { id: 99, type: 1 }, { id: 100, type: 8 }, { id: 101, type: 0 }, { id: 102, type: -1 }, { id: 103, type: 10 }, { id: 104, type: -1 }, { id: 105, type: 10 }, { id: 106, type: 0 }, { id: 107, type: -1 }, { id: 108, type: -1 }], [{ id: 109, type: -1 }, { id: 110, type: 0 }, { id: 111, type: 10 }, { id: 112, type: -1 }, { id: 113, type: 4 }, { id: 114, type: 2 }, { id: 115, type: 10 }, { id: 116, type: -1 }, { id: 117, type: 2 }, { id: 118, type: -1 }, { id: 119, type: 10 }, { id: 120, type: -1 }, { id: 121, type: 7 }, { id: 122, type: -1 }, { id: 123, type: 7 }, { id: 124, type: -1 }, { id: 125, type: -1 }, { id: 126, type: -1 }], [{ id: 127, type: -1 }, { id: 128, type: -1 }, { id: 129, type: 1 }, { id: 130, type: -1 }, { id: 131, type: 0 }, { id: 132, type: 6 }, { id: 133, type: 0 }, { id: 134, type: 8 }, { id: 135, type: 1 }, { id: 136, type: -1 }, { id: 137, type: 1 }, { id: 138, type: -1 }, { id: 139, type: 8 }, { id: 140, type: -1 }, { id: 141, type: -1 }, { id: 142, type: 1 }, { id: 143, type: -1 }, { id: 144, type: -1 }], [{ id: 145, type: -1 }, { id: 146, type: -1 }, { id: 147, type: 7 }, { id: 148, type: 2 }, { id: 149, type: -1 }, { id: 150, type: -1 }, { id: 151, type: -1 }, { id: 152, type: -1 }, { id: 153, type: -1 }, { id: 154, type: -1 }, { id: 155, type: 8 }, { id: 156, type: 2 }, { id: 157, type: 10 }, { id: 158, type: 4 }, { id: 159, type: -1 }, { id: 160, type: 10 }, { id: 161, type: -1 }, { id: 162, type: -1 }], [{ id: 163, type: -1 }, { id: 164, type: -1 }, { id: 165, type: 0 }, { id: 166, type: -1 }, { id: 167, type: 10 }, { id: 168, type: 10 }, { id: 169, type: 1 }, { id: 170, type: 10 }, { id: 171, type: 8 }, { id: 172, type: -1 }, { id: 173, type: -1 }, { id: 174, type: -1 }, { id: 175, type: 10 }, { id: 176, type: 1 }, { id: 177, type: -1 }, { id: 178, type: 4 }, { id: 179, type: -1 }, { id: 180, type: -1 }], [{ id: 181, type: -1 }, { id: 182, type: -1 }, { id: 183, type: 8 }, { id: 184, type: -1 }, { id: 185, type: 4 }, { id: 186, type: -1 }, { id: 187, type: -1 }, { id: 188, type: -1 }, { id: 189, type: 2 }, { id: 190, type: -1 }, { id: 191, type: 1 }, { id: 192, type: -1 }, { id: 193, type: 4 }, { id: 194, type: 10 }, { id: 195, type: 2 }, { id: 196, type: 1 }, { id: 197, type: -1 }, { id: 198, type: -1 }], [{ id: 199, type: -1 }, { id: 200, type: -1 }, { id: 201, type: 8 }, { id: 202, type: -1 }, { id: 203, type: 0 }, { id: 204, type: -1 }, { id: 205, type: 1 }, { id: 206, type: 10 }, { id: 207, type: -1 }, { id: 208, type: 7 }, { id: 209, type: 8 }, { id: 210, type: 2 }, { id: 211, type: -1 }, { id: 212, type: -1 }, { id: 213, type: -1 }, { id: 214, type: 0 }, { id: 215, type: -1 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: -1 }, { id: 219, type: 4 }, { id: 220, type: 2 }, { id: 221, type: -1 }, { id: 222, type: -1 }, { id: 223, type: -1 }, { id: 224, type: -1 }, { id: 225, type: -1 }, { id: 226, type: -1 }, { id: 227, type: -1 }, { id: 228, type: -1 }, { id: 229, type: 10 }, { id: 230, type: 1 }, { id: 231, type: 10 }, { id: 232, type: -1 }, { id: 233, type: -1 }, { id: 234, type: -1 }], [{ id: 235, type: -1 }, { id: 236, type: -1 }, { id: 237, type: 10 }, { id: 238, type: 1 }, { id: 239, type: 4 }, { id: 240, type: 1 }, { id: 241, type: 10 }, { id: 242, type: 0 }, { id: 243, type: 8 }, { id: 244, type: 10 }, { id: 245, type: 1 }, { id: 246, type: 0 }, { id: 247, type: -1 }, { id: 248, type: -1 }, { id: 249, type: -1 }, { id: 250, type: -1 }, { id: 251, type: -1 }, { id: 252, type: -1 }], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: -1 }, { id: 256, type: -1 }, { id: 257, type: -1 }, { id: 258, type: -1 }, { id: 259, type: -1 }, { id: 260, type: -1 }, { id: 261, type: -1 }, { id: 262, type: -1 }, { id: 263, type: -1 }, { id: 264, type: -1 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 }], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 } ], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 }], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 }] ], [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 }], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: -1 }, { id: 24, type: -1 }, { id: 25, type: -1 }, { id: 26, type: -1 }, { id: 27, type: -1 }, { id: 28, type: -1 }, { id: 29, type: 0 }, { id: 30, type: -1 }, { id: 31, type: -1 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 }], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: 10 }, { id: 39, type: 10 }, { id: 40, type: 4 }, { id: 41, type: 10 }, { id: 42, type: 7 }, { id: 43, type: 8 }, { id: 44, type: 10 }, { id: 45, type: 0 }, { id: 46, type: 10 }, { id: 47, type: 7 }, { id: 48, type: 10 }, { id: 49, type: 1 }, { id: 50, type: 10 }, { id: 51, type: -1 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 }], [{ id: 55, type: -1 }, { id: 56, type: 10 }, { id: 57, type: -1 }, { id: 58, type: -1 }, { id: 59, type: -1 }, { id: 60, type: -1 }, { id: 61, type: -1 }, { id: 62, type: 2 }, { id: 63, type: -1 }, { id: 64, type: 2 }, { id: 65, type: -1 }, { id: 66, type: -1 }, { id: 67, type: -1 }, { id: 68, type: -1 }, { id: 69, type: 2 }, { id: 70, type: 1 }, { id: 71, type: -1 }, { id: 72, type: -1 }], [{ id: 73, type: -1 }, { id: 74, type: 1 }, { id: 75, type: -1 }, { id: 76, type: 1 }, { id: 77, type: 10 }, { id: 78, type: 10 }, { id: 79, type: 8 }, { id: 80, type: -1 }, { id: 81, type: 4 }, { id: 82, type: -1 }, { id: 83, type: 8 }, { id: 84, type: 10 }, { id: 85, type: 10 }, { id: 86, type: 1 }, { id: 87, type: -1 }, { id: 88, type: 7 }, { id: 89, type: -1 }, { id: 90, type: -1 }], [{ id: 91, type: -1 }, { id: 92, type: 7 }, { id: 93, type: -1 }, { id: 94, type: 10 }, { id: 95, type: 10 }, { id: 96, type: 2 }, { id: 97, type: -1 }, { id: 98, type: 2 }, { id: 99, type: 2 }, { id: 100, type: 2 }, { id: 101, type: -1 }, { id: 102, type: 2 }, { id: 103, type: 10 }, { id: 104, type: 10 }, { id: 105, type: -1 }, { id: 106, type: 0 }, { id: 107, type: -1 }, { id: 108, type: -1 }], [{ id: 109, type: -1 }, { id: 110, type: 0 }, { id: 111, type: -1 }, { id: 112, type: 10 }, { id: 113, type: 10 }, { id: 114, type: -1 }, { id: 115, type: 1 }, { id: 116, type: 8 }, { id: 117, type: -1 }, { id: 118, type: 8 }, { id: 119, type: 1 }, { id: 120, type: -1 }, { id: 121, type: 10 }, { id: 122, type: 10 }, { id: 123, type: -1 }, { id: 124, type: 10 }, { id: 125, type: -1 }, { id: 126, type: -1 }], [{ id: 127, type: -1 }, { id: 128, type: 10 }, { id: 129, type: -1 }, { id: 130, type: 8 }, { id: 131, type: 1 }, { id: 132, type: -1 }, { id: 133, type: 8 }, { id: 134, type: -1 }, { id: 135, type: -1 }, { id: 136, type: -1 }, { id: 137, type: 8 }, { id: 138, type: -1 }, { id: 139, type: 1 }, { id: 140, type: 8 }, { id: 141, type: -1 }, { id: 142, type: 1 }, { id: 143, type: -1 }, { id: 144, type: -1 }], [{ id: 145, type: -1 }, { id: 146, type: 10 }, { id: 147, type: 2 }, { id: 148, type: -1 }, { id: 149, type: -1 }, { id: 150, type: 2 }, { id: 151, type: 8 }, { id: 152, type: -1 }, { id: 153, type: 5 }, { id: 154, type: -1 }, { id: 155, type: 8 }, { id: 156, type: 2 }, { id: 157, type: -1 }, { id: 158, type: -1 }, { id: 159, type: 2 }, { id: 160, type: 10 }, { id: 161, type: -1 }, { id: 162, type: -1 }], [{ id: 163, type: -1 }, { id: 164, type: 10 }, { id: 165, type: -1 }, { id: 166, type: 8 }, { id: 167, type: 1 }, { id: 168, type: -1 }, { id: 169, type: 8 }, { id: 170, type: -1 }, { id: 171, type: -1 }, { id: 172, type: -1 }, { id: 173, type: 8 }, { id: 174, type: -1 }, { id: 175, type: 1 }, { id: 176, type: 8 }, { id: 177, type: -1 }, { id: 178, type: 4 }, { id: 179, type: -1 }, { id: 180, type: -1 }], [{ id: 181, type: -1 }, { id: 182, type: 10 }, { id: 183, type: -1 }, { id: 184, type: 10 }, { id: 185, type: 10 }, { id: 186, type: -1 }, { id: 187, type: 1 }, { id: 188, type: 8 }, { id: 189, type: 8 }, { id: 190, type: 8 }, { id: 191, type: 1 }, { id: 192, type: -1 }, { id: 193, type: 10 }, { id: 194, type: 10 }, { id: 195, type: -1 }, { id: 196, type: 1 }, { id: 197, type: -1 }, { id: 198, type: -1 }], [{ id: 199, type: -1 }, { id: 200, type: 10 }, { id: 201, type: -1 }, { id: 202, type: 10 }, { id: 203, type: 10 }, { id: 204, type: 2 }, { id: 205, type: -1 }, { id: 206, type: -1 }, { id: 207, type: 2 }, { id: 208, type: -1 }, { id: 209, type: -1 }, { id: 210, type: 2 }, { id: 211, type: 10 }, { id: 212, type: 10 }, { id: 213, type: -1 }, { id: 214, type: 7 }, { id: 215, type: -1 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: 10 }, { id: 219, type: -1 }, { id: 220, type: 1 }, { id: 221, type: 10 }, { id: 222, type: 10 }, { id: 223, type: 10 }, { id: 224, type: 8 }, { id: 225, type: -1 }, { id: 226, type: 8 }, { id: 227, type: 10 }, { id: 228, type: 10 }, { id: 229, type: 10 }, { id: 230, type: 7 }, { id: 231, type: 3 }, { id: 232, type: 0 }, { id: 233, type: -1 }, { id: 234, type: -1 }], [{ id: 235, type: -1 }, { id: 236, type: 10 }, { id: 237, type: 2 }, { id: 238, type: -1 }, { id: 239, type: -1 }, { id: 240, type: -1 }, { id: 241, type: -1 }, { id: 242, type: -1 }, { id: 243, type: 2 }, { id: 244, type: -1 }, { id: 245, type: -1 }, { id: 246, type: 3 }, { id: 247, type: 9 }, { id: 248, type: -1 }, { id: 249, type: 10 }, { id: 250, type: -1 }, { id: 251, type: -1 }, { id: 252, type: -1 }], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: 10 }, { id: 256, type: 10 }, { id: 257, type: 10 }, { id: 258, type: 10 }, { id: 259, type: 10 }, { id: 260, type: 10 }, { id: 261, type: 0 }, { id: 262, type: 10 }, { id: 263, type: 10 }, { id: 264, type: 10 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 }], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 }], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 } ], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 }] ], [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 }], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: -1 }, { id: 24, type: -1 }, { id: 25, type: -1 }, { id: 26, type: -1 }, { id: 27, type: -1 }, { id: 28, type: -1 }, { id: 29, type: 0 }, { id: 30, type: -1 }, { id: 31, type: -1 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 }], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: -1 }, { id: 39, type: 10 }, { id: 40, type: 4 }, { id: 41, type: 10 }, { id: 42, type: 7 }, { id: 43, type: 8 }, { id: 44, type: 10 }, { id: 45, type: 0 }, { id: 46, type: 10 }, { id: 47, type: 2 }, { id: 48, type: 10 }, { id: 49, type: 1 }, { id: 50, type: 10 }, { id: 51, type: -1 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 }], [{ id: 55, type: -1 }, { id: 56, type: -1 }, { id: 57, type: 10 }, { id: 58, type: -1 }, { id: 59, type: -1 }, { id: 60, type: -1 }, { id: 61, type: -1 }, { id: 62, type: -1 }, { id: 63, type: 2 }, { id: 64, type: -1 }, { id: 65, type: 2 }, { id: 66, type: -1 }, { id: 67, type: 10 }, { id: 68, type: 10 }, { id: 69, type: 2 }, { id: 70, type: 1 }, { id: 71, type: -1 }, { id: 72, type: -1 } ], [{ id: 73, type: -1 }, { id: 74, type: -1 }, { id: 75, type: 1 }, { id: 76, type: -1 }, { id: 77, type: 0 }, { id: 78, type: 10 }, { id: 79, type: -1 }, { id: 80, type: 7 }, { id: 81, type: 10 }, { id: 82, type: 10 }, { id: 83, type: 8 }, { id: 84, type: 4 }, { id: 85, type: 10 }, { id: 86, type: 1 }, { id: 87, type: -1 }, { id: 88, type: 7 }, { id: 89, type: -1 }, { id: 90, type: -1 }], [{ id: 91, type: -1 }, { id: 92, type: 7 }, { id: 93, type: 10 }, { id: 94, type: 2 }, { id: 95, type: -1 }, { id: 96, type: -1 }, { id: 97, type: 2 }, { id: 98, type: -1 }, { id: 99, type: 2 }, { id: 100, type: -1 }, { id: 101, type: -1 }, { id: 102, type: 2 }, { id: 103, type: -1 }, { id: 104, type: -1 }, { id: 105, type: 2 }, { id: 106, type: 0 }, { id: 107, type: -1 }, { id: 108, type: -1 } ], [{ id: 109, type: 10 }, { id: 110, type: 3 }, { id: 111, type: -1 }, { id: 112, type: -1 }, { id: 113, type: 10 }, { id: 114, type: 10 }, { id: 115, type: 1 }, { id: 116, type: 8 }, { id: 117, type: 0 }, { id: 118, type: 8 }, { id: 119, type: 1 }, { id: 120, type: 10 }, { id: 121, type: -1 }, { id: 122, type: 10 }, { id: 123, type: 7 }, { id: 124, type: -1 }, { id: 125, type: -1 }, { id: 126, type: -1 }], [{ id: 127, type: -1 }, { id: 128, type: 10 }, { id: 129, type: 1 }, { id: 130, type: -1 }, { id: 131, type: 1 }, { id: 132, type: 10 }, { id: 133, type: 8 }, { id: 134, type: 10 }, { id: 135, type: 10 }, { id: 136, type: 10 }, { id: 137, type: 8 }, { id: 138, type: 10 }, { id: 139, type: -1 }, { id: 140, type: 1 }, { id: 141, type: 10 }, { id: 142, type: 1 }, { id: 143, type: -1 }, { id: 144, type: -1 }], [{ id: 145, type: -1 }, { id: 146, type: -1 }, { id: 147, type: 0 }, { id: 148, type: -1 }, { id: 149, type: 2 }, { id: 150, type: -1 }, { id: 151, type: -1 }, { id: 152, type: -1 }, { id: 153, type: 2 }, { id: 154, type: -1 }, { id: 155, type: 2 }, { id: 156, type: -1 }, { id: 157, type: -1 }, { id: 158, type: -1 }, { id: 159, type: -1 }, { id: 160, type: 2 }, { id: 161, type: 1 }, { id: 162, type: -1 }], [{ id: 163, type: -1 }, { id: 164, type: -1 }, { id: 165, type: 10 }, { id: 166, type: -1 }, { id: 167, type: 1 }, { id: 168, type: -1 }, { id: 169, type: 10 }, { id: 170, type: 0 }, { id: 171, type: -1 }, { id: 172, type: 0 }, { id: 173, type: 10 }, { id: 174, type: -1 }, { id: 175, type: 1 }, { id: 176, type: 10 }, { id: 177, type: -1 }, { id: 178, type: 4 }, { id: 179, type: -1 }, { id: 180, type: -1 }], [{ id: 181, type: -1 }, { id: 182, type: -1 }, { id: 183, type: 4 }, { id: 184, type: -1 }, { id: 185, type: 2 }, { id: 186, type: -1 }, { id: 187, type: 1 }, { id: 188, type: -1 }, { id: 189, type: -1 }, { id: 190, type: -1 }, { id: 191, type: 1 }, { id: 192, type: -1 }, { id: 193, type: 10 }, { id: 194, type: 8 }, { id: 195, type: -1 }, { id: 196, type: 1 }, { id: 197, type: -1 }, { id: 198, type: -1 }], [{ id: 199, type: -1 }, { id: 200, type: -1 }, { id: 201, type: 10 }, { id: 202, type: -1 }, { id: 203, type: 8 }, { id: 204, type: -1 }, { id: 205, type: 10 }, { id: 206, type: -1 }, { id: 207, type: -1 }, { id: 208, type: -1 }, { id: 209, type: 10 }, { id: 210, type: 2 }, { id: 211, type: -1 }, { id: 212, type: -1 }, { id: 213, type: 2 }, { id: 214, type: 10 }, { id: 215, type: -1 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: -1 }, { id: 219, type: 7 }, { id: 220, type: -1 }, { id: 221, type: 2 }, { id: 222, type: -1 }, { id: 223, type: 8 }, { id: 224, type: -1 }, { id: 225, type: -1 }, { id: 226, type: -1 }, { id: 227, type: 8 }, { id: 228, type: -1 }, { id: 229, type: 10 }, { id: 230, type: 7 }, { id: 231, type: 10 }, { id: 232, type: 0 }, { id: 233, type: -1 }, { id: 234, type: -1 }], [{ id: 235, type: -1 }, { id: 236, type: -1 }, { id: 237, type: -1 }, { id: 238, type: 1 }, { id: 239, type: 7 }, { id: 240, type: 1 }, { id: 241, type: -1 }, { id: 242, type: 1 }, { id: 243, type: 10 }, { id: 244, type: 8 }, { id: 245, type: -1 }, { id: 246, type: 0 }, { id: 247, type: -1 }, { id: 248, type: -1 }, { id: 249, type: -1 }, { id: 250, type: -1 }, { id: 251, type: -1 }, { id: 252, type: -1 }], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: -1 }, { id: 256, type: -1 }, { id: 257, type: -1 }, { id: 258, type: -1 }, { id: 259, type: -1 }, { id: 260, type: -1 }, { id: 261, type: 4 }, { id: 262, type: -1 }, { id: 263, type: -1 }, { id: 264, type: -1 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 }], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 } ], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 }], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 }] ], [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 } ], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: -1 }, { id: 24, type: 0 }, { id: 25, type: -1 }, { id: 26, type: -1 }, { id: 27, type: 10 }, { id: 28, type: 10 }, { id: 29, type: 0 }, { id: 30, type: -1 }, { id: 31, type: -1 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 }], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: 10 }, { id: 39, type: -1 }, { id: 40, type: -1 }, { id: 41, type: -1 }, { id: 42, type: -1 }, { id: 43, type: -1 }, { id: 44, type: 1 }, { id: 45, type: 2 }, { id: 46, type: -1 }, { id: 47, type: 2 }, { id: 48, type: 1 }, { id: 49, type: 8 }, { id: 50, type: -1 }, { id: 51, type: -1 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 }], [{ id: 55, type: -1 }, { id: 56, type: 10 }, { id: 57, type: -1 }, { id: 58, type: 10 }, { id: 59, type: 7 }, { id: 60, type: 8 }, { id: 61, type: 10 }, { id: 62, type: 0 }, { id: 63, type: 10 }, { id: 64, type: -1 }, { id: 65, type: 8 }, { id: 66, type: -1 }, { id: 67, type: -1 }, { id: 68, type: 2 }, { id: 69, type: 10 }, { id: 70, type: 1 }, { id: 71, type: 10 }, { id: 72, type: -1 }], [{ id: 73, type: -1 }, { id: 74, type: 1 }, { id: 75, type: -1 }, { id: 76, type: -1 }, { id: 77, type: -1 }, { id: 78, type: -1 }, { id: 79, type: -1 }, { id: 80, type: 2 }, { id: 81, type: 4 }, { id: 82, type: 2 }, { id: 83, type: 6 }, { id: 84, type: 2 }, { id: 85, type: 10 }, { id: 86, type: -1 }, { id: 87, type: -1 }, { id: 88, type: -1 }, { id: 89, type: 3 }, { id: 90, type: 10 }], [{ id: 91, type: -1 }, { id: 92, type: -1 }, { id: 93, type: 4 }, { id: 94, type: -1 }, { id: 95, type: 1 }, { id: 96, type: -1 }, { id: 97, type: 1 }, { id: 98, type: -1 }, { id: 99, type: 7 }, { id: 100, type: -1 }, { id: 101, type: 8 }, { id: 102, type: -1 }, { id: 103, type: 1 }, { id: 104, type: -1 }, { id: 105, type: 10 }, { id: 106, type: 0 }, { id: 107, type: 10 }, { id: 108, type: -1 }], [{ id: 109, type: -1 }, { id: 110, type: -1 }, { id: 111, type: 10 }, { id: 112, type: -1 }, { id: 113, type: 10 }, { id: 114, type: -1 }, { id: 115, type: 8 }, { id: 116, type: -1 }, { id: 117, type: 2 }, { id: 118, type: -1 }, { id: 119, type: 1 }, { id: 120, type: -1 }, { id: 121, type: 2 }, { id: 122, type: -1 }, { id: 123, type: 7 }, { id: 124, type: 10 }, { id: 125, type: -1 }, { id: 126, type: -1 }], [{ id: 127, type: -1 }, { id: 128, type: -1 }, { id: 129, type: 1 }, { id: 130, type: -1 }, { id: 131, type: 2 }, { id: 132, type: -1 }, { id: 133, type: 1 }, { id: 134, type: -1 }, { id: 135, type: 8 }, { id: 136, type: -1 }, { id: 137, type: 8 }, { id: 138, type: -1 }, { id: 139, type: 4 }, { id: 140, type: -1 }, { id: 141, type: -1 }, { id: 142, type: 2 }, { id: 143, type: 10 }, { id: 144, type: -1 }], [{ id: 145, type: -1 }, { id: 146, type: -1 }, { id: 147, type: 0 }, { id: 148, type: -1 }, { id: 149, type: 7 }, { id: 150, type: -1 }, { id: 151, type: 2 }, { id: 152, type: -1 }, { id: 153, type: 0 }, { id: 154, type: 2 }, { id: 155, type: -1 }, { id: 156, type: 2 }, { id: 157, type: 10 }, { id: 158, type: -1 }, { id: 159, type: 0 }, { id: 160, type: -1 }, { id: 161, type: 1 }, { id: 162, type: -1 }], [{ id: 163, type: -1 }, { id: 164, type: -1 }, { id: 165, type: 10 }, { id: 166, type: -1 }, { id: 167, type: 1 }, { id: 168, type: -1 }, { id: 169, type: 10 }, { id: 170, type: -1 }, { id: 171, type: 4 }, { id: 172, type: -1 }, { id: 173, type: 1 }, { id: 174, type: -1 }, { id: 175, type: 1 }, { id: 176, type: -1 }, { id: 177, type: 10 }, { id: 178, type: 2 }, { id: 179, type: 9 }, { id: 180, type: -1 }], [{ id: 181, type: -1 }, { id: 182, type: -1 }, { id: 183, type: 1 }, { id: 184, type: -1 }, { id: 185, type: 2 }, { id: 186, type: -1 }, { id: 187, type: 1 }, { id: 188, type: -1 }, { id: 189, type: 2 }, { id: 190, type: -1 }, { id: 191, type: 7 }, { id: 192, type: -1 }, { id: 193, type: 0 }, { id: 194, type: -1 }, { id: 195, type: 0 }, { id: 196, type: -1 }, { id: 197, type: 10 }, { id: 198, type: -1 } ], [{ id: 199, type: -1 }, { id: 200, type: -1 }, { id: 201, type: 10 }, { id: 202, type: -1 }, { id: 203, type: 8 }, { id: 204, type: -1 }, { id: 205, type: 2 }, { id: 206, type: -1 }, { id: 207, type: 0 }, { id: 208, type: 2 }, { id: 209, type: -1 }, { id: 210, type: 2 }, { id: 211, type: 8 }, { id: 212, type: 2 }, { id: 213, type: -1 }, { id: 214, type: 2 }, { id: 215, type: 10 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: 0 }, { id: 219, type: 3 }, { id: 220, type: -1 }, { id: 221, type: -1 }, { id: 222, type: -1 }, { id: 223, type: 8 }, { id: 224, type: 10 }, { id: 225, type: 1 }, { id: 226, type: -1 }, { id: 227, type: 8 }, { id: 228, type: -1 }, { id: 229, type: -1 }, { id: 230, type: -1 }, { id: 231, type: 1 }, { id: 232, type: 0 }, { id: 233, type: -1 }, { id: 234, type: -1 } ], [{ id: 235, type: -1 }, { id: 236, type: -1 }, { id: 237, type: 10 }, { id: 238, type: 1 }, { id: 239, type: 7 }, { id: 240, type: 1 }, { id: 241, type: -1 }, { id: 242, type: -1 }, { id: 243, type: 10 }, { id: 244, type: 2 }, { id: 245, type: -1 }, { id: 246, type: -1 }, { id: 247, type: 10 }, { id: 248, type: 10 }, { id: 249, type: -1 }, { id: 250, type: -1 }, { id: 251, type: -1 }, { id: 252, type: -1 }], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: -1 }, { id: 256, type: -1 }, { id: 257, type: -1 }, { id: 258, type: -1 }, { id: 259, type: -1 }, { id: 260, type: -1 }, { id: 261, type: 4 }, { id: 262, type: 1 }, { id: 263, type: 10 }, { id: 264, type: 8 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 } ], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 } ], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 }], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 }] ], [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 }], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: -1 }, { id: 24, type: -1 }, { id: 25, type: -1 }, { id: 26, type: -1 }, { id: 27, type: -1 }, { id: 28, type: -1 }, { id: 29, type: 8 }, { id: 30, type: -1 }, { id: 31, type: -1 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 }], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: 10 }, { id: 39, type: 0 }, { id: 40, type: 10 }, { id: 41, type: 8 }, { id: 42, type: 10 }, { id: 43, type: 4 }, { id: 44, type: 1 }, { id: 45, type: 10 }, { id: 46, type: 10 }, { id: 47, type: 2 }, { id: 48, type: 1 }, { id: 49, type: 8 }, { id: 50, type: 10 }, { id: 51, type: 10 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 }], [{ id: 55, type: -1 }, { id: 56, type: 10 }, { id: 57, type: -1 }, { id: 58, type: 2 }, { id: 59, type: -1 }, { id: 60, type: 2 }, { id: 61, type: -1 }, { id: 62, type: 2 }, { id: 63, type: -1 }, { id: 64, type: 2 }, { id: 65, type: -1 }, { id: 66, type: 2 }, { id: 67, type: -1 }, { id: 68, type: -1 }, { id: 69, type: -1 }, { id: 70, type: 2 }, { id: 71, type: 1 }, { id: 72, type: -1 }], [{ id: 73, type: -1 }, { id: 74, type: -1 }, { id: 75, type: 0 }, { id: 76, type: -1 }, { id: 77, type: 7 }, { id: 78, type: 8 }, { id: 79, type: -1 }, { id: 80, type: 1 }, { id: 81, type: 10 }, { id: 82, type: 1 }, { id: 83, type: -1 }, { id: 84, type: 1 }, { id: 85, type: 7 }, { id: 86, type: -1 }, { id: 87, type: 8 }, { id: 88, type: 10 }, { id: 89, type: -1 }, { id: 90, type: -1 }], [{ id: 91, type: -1 }, { id: 92, type: 0 }, { id: 93, type: 10 }, { id: 94, type: 2 }, { id: 95, type: 8 }, { id: 96, type: 7 }, { id: 97, type: 2 }, { id: 98, type: -1 }, { id: 99, type: 2 }, { id: 100, type: 7 }, { id: 101, type: -1 }, { id: 102, type: 7 }, { id: 103, type: 1 }, { id: 104, type: 2 }, { id: 105, type: 10 }, { id: 106, type: 0 }, { id: 107, type: -1 }, { id: 108, type: -1 }], [{ id: 109, type: -1 }, { id: 110, type: -1 }, { id: 111, type: 10 }, { id: 112, type: -1 }, { id: 113, type: 2 }, { id: 114, type: 2 }, { id: 115, type: -1 }, { id: 116, type: 0 }, { id: 117, type: 4 }, { id: 118, type: 2 }, { id: 119, type: -1 }, { id: 120, type: 2 }, { id: 121, type: 10 }, { id: 122, type: -1 }, { id: 123, type: 7 }, { id: 124, type: -1 }, { id: 125, type: -1 }, { id: 126, type: -1 }], [{ id: 127, type: -1 }, { id: 128, type: -1 }, { id: 129, type: 4 }, { id: 130, type: 2 }, { id: 131, type: 8 }, { id: 132, type: 7 }, { id: 133, type: -1 }, { id: 134, type: 0 }, { id: 135, type: 8 }, { id: 136, type: -1 }, { id: 137, type: 5 }, { id: 138, type: -1 }, { id: 139, type: 4 }, { id: 140, type: 2 }, { id: 141, type: 10 }, { id: 142, type: 8 }, { id: 143, type: 10 }, { id: 144, type: -1 }], [{ id: 145, type: -1 }, { id: 146, type: -1 }, { id: 147, type: 0 }, { id: 148, type: -1 }, { id: 149, type: 10 }, { id: 150, type: -1 }, { id: 151, type: 2 }, { id: 152, type: -1 }, { id: 153, type: 0 }, { id: 154, type: 2 }, { id: 155, type: -1 }, { id: 156, type: 2 }, { id: 157, type: 10 }, { id: 158, type: -1 }, { id: 159, type: -1 }, { id: 160, type: -1 }, { id: 161, type: 1 }, { id: 162, type: -1 } ], [{ id: 163, type: -1 }, { id: 164, type: -1 }, { id: 165, type: 10 }, { id: 166, type: 2 }, { id: 167, type: 1 }, { id: 168, type: 2 }, { id: 169, type: -1 }, { id: 170, type: 2 }, { id: 171, type: 4 }, { id: 172, type: 10 }, { id: 173, type: 1 }, { id: 174, type: 10 }, { id: 175, type: 1 }, { id: 176, type: 2 }, { id: 177, type: 8 }, { id: 178, type: 2 }, { id: 179, type: 0 }, { id: 180, type: -1 }], [{ id: 181, type: -1 }, { id: 182, type: -1 }, { id: 183, type: 1 }, { id: 184, type: -1 }, { id: 185, type: 10 }, { id: 186, type: -1 }, { id: 187, type: 2 }, { id: 188, type: -1 }, { id: 189, type: 10 }, { id: 190, type: -1 }, { id: 191, type: 2 }, { id: 192, type: -1 }, { id: 193, type: 2 }, { id: 194, type: -1 }, { id: 195, type: 0 }, { id: 196, type: -1 }, { id: 197, type: 10 }, { id: 198, type: -1 }], [{ id: 199, type: -1 }, { id: 200, type: -1 }, { id: 201, type: 10 }, { id: 202, type: 2 }, { id: 203, type: 7 }, { id: 204, type: 10 }, { id: 205, type: 8 }, { id: 206, type: 10 }, { id: 207, type: 0 }, { id: 208, type: 2 }, { id: 209, type: 8 }, { id: 210, type: 1 }, { id: 211, type: 8 }, { id: 212, type: 1 }, { id: 213, type: 10 }, { id: 214, type: 2 }, { id: 215, type: 10 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: -1 }, { id: 219, type: 4 }, { id: 220, type: 3 }, { id: 221, type: 2 }, { id: 222, type: -1 }, { id: 223, type: 2 }, { id: 224, type: -1 }, { id: 225, type: 2 }, { id: 226, type: -1 }, { id: 227, type: 2 }, { id: 228, type: -1 }, { id: 229, type: 2 }, { id: 230, type: -1 }, { id: 231, type: 2 }, { id: 232, type: -1 }, { id: 233, type: 10 }, { id: 234, type: -1 }], [{ id: 235, type: -1 }, { id: 236, type: -1 }, { id: 237, type: 10 }, { id: 238, type: 0 }, { id: 239, type: 10 }, { id: 240, type: 4 }, { id: 241, type: 10 }, { id: 242, type: 10 }, { id: 243, type: 10 }, { id: 244, type: 8 }, { id: 245, type: 10 }, { id: 246, type: 0 }, { id: 247, type: 4 }, { id: 248, type: 10 }, { id: 249, type: 10 }, { id: 250, type: 10 }, { id: 251, type: -1 }, { id: 252, type: -1 } ], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: -1 }, { id: 256, type: -1 }, { id: 257, type: -1 }, { id: 258, type: -1 }, { id: 259, type: -1 }, { id: 260, type: -1 }, { id: 261, type: 9 }, { id: 262, type: -1 }, { id: 263, type: -1 }, { id: 264, type: -1 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 } ], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 }], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 }], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 }] ], [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 } ], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: -1 }, { id: 24, type: -1 }, { id: 25, type: 10 }, { id: 26, type: 10 }, { id: 27, type: 10 }, { id: 28, type: 10 }, { id: 29, type: 0 }, { id: 30, type: 10 }, { id: 31, type: 10 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 } ], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: 10 }, { id: 39, type: 10 }, { id: 40, type: 4 }, { id: 41, type: 10 }, { id: 42, type: 8 }, { id: 43, type: 2 }, { id: 44, type: -1 }, { id: 45, type: -1 }, { id: 46, type: -1 }, { id: 47, type: 2 }, { id: 48, type: -1 }, { id: 49, type: 2 }, { id: 50, type: 0 }, { id: 51, type: -1 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 }], [{ id: 55, type: -1 }, { id: 56, type: 10 }, { id: 57, type: -1 }, { id: 58, type: -1 }, { id: 59, type: -1 }, { id: 60, type: -1 }, { id: 61, type: 7 }, { id: 62, type: -1 }, { id: 63, type: 8 }, { id: 64, type: 10 }, { id: 65, type: 8 }, { id: 66, type: -1 }, { id: 67, type: 7 }, { id: 68, type: -1 }, { id: 69, type: 8 }, { id: 70, type: -1 }, { id: 71, type: -1 }, { id: 72, type: -1 } ], [{ id: 73, type: -1 }, { id: 74, type: -1 }, { id: 75, type: 1 }, { id: 76, type: -1 }, { id: 77, type: 0 }, { id: 78, type: -1 }, { id: 79, type: -1 }, { id: 80, type: -1 }, { id: 81, type: -1 }, { id: 82, type: 1 }, { id: 83, type: 7 }, { id: 84, type: 2 }, { id: 85, type: -1 }, { id: 86, type: 2 }, { id: 87, type: 10 }, { id: 88, type: -1 }, { id: 89, type: 0 }, { id: 90, type: -1 }], [{ id: 91, type: -1 }, { id: 92, type: 7 }, { id: 93, type: -1 }, { id: 94, type: -1 }, { id: 95, type: -1 }, { id: 96, type: 7 }, { id: 97, type: -1 }, { id: 98, type: 8 }, { id: 99, type: 2 }, { id: 100, type: -1 }, { id: 101, type: -1 }, { id: 102, type: -1 }, { id: 103, type: 1 }, { id: 104, type: -1 }, { id: 105, type: 10 }, { id: 106, type: 0 }, { id: 107, type: -1 }, { id: 108, type: -1 } ], [{ id: 109, type: -1 }, { id: 110, type: 0 }, { id: 111, type: -1 }, { id: 112, type: 5 }, { id: 113, type: -1 }, { id: 114, type: 10 }, { id: 115, type: 2 }, { id: 116, type: -1 }, { id: 117, type: -1 }, { id: 118, type: 8 }, { id: 119, type: 1 }, { id: 120, type: -1 }, { id: 121, type: 10 }, { id: 122, type: -1 }, { id: 123, type: 8 }, { id: 124, type: -1 }, { id: 125, type: -1 }, { id: 126, type: -1 }], [{ id: 127, type: -1 }, { id: 128, type: 10 }, { id: 129, type: -1 }, { id: 130, type: -1 }, { id: 131, type: -1 }, { id: 132, type: 1 }, { id: 133, type: -1 }, { id: 134, type: 7 }, { id: 135, type: 2 }, { id: 136, type: -1 }, { id: 137, type: -1 }, { id: 138, type: 2 }, { id: 139, type: 1 }, { id: 140, type: -1 }, { id: 141, type: 7 }, { id: 142, type: 1 }, { id: 143, type: 10 }, { id: 144, type: -1 } ], [{ id: 145, type: -1 }, { id: 146, type: -1 }, { id: 147, type: 0 }, { id: 148, type: 1 }, { id: 149, type: 8 }, { id: 150, type: 10 }, { id: 151, type: -1 }, { id: 152, type: 8 }, { id: 153, type: -1 }, { id: 154, type: 1 }, { id: 155, type: 8 }, { id: 156, type: -1 }, { id: 157, type: 10 }, { id: 158, type: -1 }, { id: 159, type: 2 }, { id: 160, type: -1 }, { id: 161, type: 3 }, { id: 162, type: 10 }], [{ id: 163, type: -1 }, { id: 164, type: -1 }, { id: 165, type: -1 }, { id: 166, type: 8 }, { id: 167, type: 2 }, { id: 168, type: -1 }, { id: 169, type: -1 }, { id: 170, type: 2 }, { id: 171, type: -1 }, { id: 172, type: 2 }, { id: 173, type: -1 }, { id: 174, type: 2 }, { id: 175, type: 1 }, { id: 176, type: 8 }, { id: 177, type: -1 }, { id: 178, type: 4 }, { id: 179, type: 10 }, { id: 180, type: -1 }], [{ id: 181, type: -1 }, { id: 182, type: -1 }, { id: 183, type: -1 }, { id: 184, type: 10 }, { id: 185, type: -1 }, { id: 186, type: 1 }, { id: 187, type: 8 }, { id: 188, type: 8 }, { id: 189, type: 1 }, { id: 190, type: 6 }, { id: 191, type: 8 }, { id: 192, type: -1 }, { id: 193, type: 7 }, { id: 194, type: 8 }, { id: 195, type: -1 }, { id: 196, type: 1 }, { id: 197, type: -1 }, { id: 198, type: -1 }], [{ id: 199, type: -1 }, { id: 200, type: -1 }, { id: 201, type: -1 }, { id: 202, type: 1 }, { id: 203, type: 2 }, { id: 204, type: -1 }, { id: 205, type: -1 }, { id: 206, type: 2 }, { id: 207, type: -1 }, { id: 208, type: 2 }, { id: 209, type: -1 }, { id: 210, type: 2 }, { id: 211, type: -1 }, { id: 212, type: -1 }, { id: 213, type: 2 }, { id: 214, type: 10 }, { id: 215, type: -1 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: 0 }, { id: 219, type: -1 }, { id: 220, type: 10 }, { id: 221, type: -1 }, { id: 222, type: 7 }, { id: 223, type: 8 }, { id: 224, type: 6 }, { id: 225, type: 8 }, { id: 226, type: 7 }, { id: 227, type: -1 }, { id: 228, type: 7 }, { id: 229, type: 10 }, { id: 230, type: 7 }, { id: 231, type: 10 }, { id: 232, type: 0 }, { id: 233, type: -1 }, { id: 234, type: -1 }], [{ id: 235, type: -1 }, { id: 236, type: -1 }, { id: 237, type: -1 }, { id: 238, type: 4 }, { id: 239, type: 2 }, { id: 240, type: -1 }, { id: 241, type: -1 }, { id: 242, type: 2 }, { id: 243, type: -1 }, { id: 244, type: -1 }, { id: 245, type: -1 }, { id: 246, type: 0 }, { id: 247, type: -1 }, { id: 248, type: -1 }, { id: 249, type: 10 }, { id: 250, type: -1 }, { id: 251, type: -1 }, { id: 252, type: -1 } ], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: 10 }, { id: 256, type: 10 }, { id: 257, type: 10 }, { id: 258, type: 10 }, { id: 259, type: 10 }, { id: 260, type: 10 }, { id: 261, type: 0 }, { id: 262, type: 10 }, { id: 263, type: 10 }, { id: 264, type: 10 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 }], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 }], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 }], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 } ] ], [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 } ], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: -1 }, { id: 24, type: -1 }, { id: 25, type: -1 }, { id: 26, type: -1 }, { id: 27, type: -1 }, { id: 28, type: -1 }, { id: 29, type: 0 }, { id: 30, type: -1 }, { id: 31, type: -1 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 }], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: 10 }, { id: 39, type: 10 }, { id: 40, type: 0 }, { id: 41, type: 10 }, { id: 42, type: 8 }, { id: 43, type: 1 }, { id: 44, type: 10 }, { id: 45, type: 4 }, { id: 46, type: 10 }, { id: 47, type: 3 }, { id: 48, type: 8 }, { id: 49, type: 10 }, { id: 50, type: 0 }, { id: 51, type: 10 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 }], [{ id: 55, type: -1 }, { id: 56, type: 10 }, { id: 57, type: -1 }, { id: 58, type: -1 }, { id: 59, type: -1 }, { id: 60, type: -1 }, { id: 61, type: 2 }, { id: 62, type: -1 }, { id: 63, type: 2 }, { id: 64, type: -1 }, { id: 65, type: 2 }, { id: 66, type: -1 }, { id: 67, type: -1 }, { id: 68, type: 2 }, { id: 69, type: -1 }, { id: 70, type: 2 }, { id: 71, type: 0 }, { id: 72, type: -1 }], [{ id: 73, type: -1 }, { id: 74, type: -1 }, { id: 75, type: 1 }, { id: 76, type: -1 }, { id: 77, type: 0 }, { id: 78, type: 8 }, { id: 79, type: -1 }, { id: 80, type: 1 }, { id: 81, type: -1 }, { id: 82, type: 1 }, { id: 83, type: -1 }, { id: 84, type: 1 }, { id: 85, type: 10 }, { id: 86, type: -1 }, { id: 87, type: 8 }, { id: 88, type: 10 }, { id: 89, type: 10 }, { id: 90, type: -1 }], [{ id: 91, type: -1 }, { id: 92, type: -1 }, { id: 93, type: 10 }, { id: 94, type: -1 }, { id: 95, type: 8 }, { id: 96, type: 8 }, { id: 97, type: -1 }, { id: 98, type: 8 }, { id: 99, type: -1 }, { id: 100, type: 10 }, { id: 101, type: -1 }, { id: 102, type: 0 }, { id: 103, type: 1 }, { id: 104, type: -1 }, { id: 105, type: 10 }, { id: 106, type: -1 }, { id: 107, type: -1 }, { id: 108, type: -1 }], [{ id: 109, type: -1 }, { id: 110, type: -1 }, { id: 111, type: 0 }, { id: 112, type: 2 }, { id: 113, type: -1 }, { id: 114, type: -1 }, { id: 115, type: 2 }, { id: 116, type: 10 }, { id: 117, type: -1 }, { id: 118, type: 8 }, { id: 119, type: 2 }, { id: 120, type: -1 }, { id: 121, type: -1 }, { id: 122, type: 2 }, { id: 123, type: 8 }, { id: 124, type: -1 }, { id: 125, type: -1 }, { id: 126, type: -1 }], [{ id: 127, type: -1 }, { id: 128, type: -1 }, { id: 129, type: 8 }, { id: 130, type: -1 }, { id: 131, type: 8 }, { id: 132, type: 1 }, { id: 133, type: -1 }, { id: 134, type: 8 }, { id: 135, type: -1 }, { id: 136, type: 2 }, { id: 137, type: -1 }, { id: 138, type: 4 }, { id: 139, type: 1 }, { id: 140, type: -1 }, { id: 141, type: 1 }, { id: 142, type: 0 }, { id: 143, type: -1 }, { id: 144, type: -1 }], [{ id: 145, type: -1 }, { id: 146, type: -1 }, { id: 147, type: 0 }, { id: 148, type: 2 }, { id: 149, type: -1 }, { id: 150, type: -1 }, { id: 151, type: 2 }, { id: 152, type: 8 }, { id: 153, type: -1 }, { id: 154, type: 1 }, { id: 155, type: -1 }, { id: 156, type: 10 }, { id: 157, type: 10 }, { id: 158, type: 2 }, { id: 159, type: -1 }, { id: 160, type: 2 }, { id: 161, type: 9 }, { id: 162, type: -1 }], [{ id: 163, type: -1 }, { id: 164, type: -1 }, { id: 165, type: 10 }, { id: 166, type: -1 }, { id: 167, type: 4 }, { id: 168, type: 0 }, { id: 169, type: -1 }, { id: 170, type: 10 }, { id: 171, type: -1 }, { id: 172, type: 2 }, { id: 173, type: -1 }, { id: 174, type: 0 }, { id: 175, type: 1 }, { id: 176, type: -1 }, { id: 177, type: 10 }, { id: 178, type: 4 }, { id: 179, type: -1 }, { id: 180, type: -1 }], [{ id: 181, type: -1 }, { id: 182, type: -1 }, { id: 183, type: 4 }, { id: 184, type: 2 }, { id: 185, type: -1 }, { id: 186, type: -1 }, { id: 187, type: 2 }, { id: 188, type: 8 }, { id: 189, type: -1 }, { id: 190, type: 1 }, { id: 191, type: 2 }, { id: 192, type: -1 }, { id: 193, type: -1 }, { id: 194, type: -1 }, { id: 195, type: 0 }, { id: 196, type: -1 }, { id: 197, type: -1 }, { id: 198, type: -1 }], [{ id: 199, type: -1 }, { id: 200, type: -1 }, { id: 201, type: 10 }, { id: 202, type: -1 }, { id: 203, type: 8 }, { id: 204, type: 8 }, { id: 205, type: -1 }, { id: 206, type: 1 }, { id: 207, type: -1 }, { id: 208, type: 0 }, { id: 209, type: -1 }, { id: 210, type: 1 }, { id: 211, type: 8 }, { id: 212, type: 2 }, { id: 213, type: 10 }, { id: 214, type: -1 }, { id: 215, type: -1 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: -1 }, { id: 219, type: 0 }, { id: 220, type: 2 }, { id: 221, type: -1 }, { id: 222, type: -1 }, { id: 223, type: 2 }, { id: 224, type: -1 }, { id: 225, type: 2 }, { id: 226, type: -1 }, { id: 227, type: 2 }, { id: 228, type: -1 }, { id: 229, type: 2 }, { id: 230, type: -1 }, { id: 231, type: 0 }, { id: 232, type: -1 }, { id: 233, type: -1 }, { id: 234, type: -1 } ], [{ id: 235, type: -1 }, { id: 236, type: -1 }, { id: 237, type: -1 }, { id: 238, type: 4 }, { id: 239, type: 10 }, { id: 240, type: 0 }, { id: 241, type: 8 }, { id: 242, type: 10 }, { id: 243, type: 0 }, { id: 244, type: 10 }, { id: 245, type: 0 }, { id: 246, type: 10 }, { id: 247, type: 4 }, { id: 248, type: 10 }, { id: 249, type: -1 }, { id: 250, type: -1 }, { id: 251, type: -1 }, { id: 252, type: -1 }], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: -1 }, { id: 256, type: -1 }, { id: 257, type: -1 }, { id: 258, type: -1 }, { id: 259, type: -1 }, { id: 260, type: -1 }, { id: 261, type: -1 }, { id: 262, type: -1 }, { id: 263, type: -1 }, { id: 264, type: -1 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 } ], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 }], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 }], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 } ] ], [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 }], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: 10 }, { id: 24, type: 0 }, { id: 25, type: 10 }, { id: 26, type: 10 }, { id: 27, type: 10 }, { id: 28, type: 10 }, { id: 29, type: 4 }, { id: 30, type: 10 }, { id: 31, type: 10 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 }], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: -1 }, { id: 39, type: 10 }, { id: 40, type: 10 }, { id: 41, type: 2 }, { id: 42, type: -1 }, { id: 43, type: 2 }, { id: 44, type: -1 }, { id: 45, type: 2 }, { id: 46, type: -1 }, { id: 47, type: 2 }, { id: 48, type: -1 }, { id: 49, type: 2 }, { id: 50, type: 0 }, { id: 51, type: -1 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 }], [{ id: 55, type: -1 }, { id: 56, type: -1 }, { id: 57, type: 0 }, { id: 58, type: -1 }, { id: 59, type: 8 }, { id: 60, type: -1 }, { id: 61, type: 1 }, { id: 62, type: -1 }, { id: 63, type: 10 }, { id: 64, type: -1 }, { id: 65, type: 8 }, { id: 66, type: -1 }, { id: 67, type: 1 }, { id: 68, type: -1 }, { id: 69, type: 8 }, { id: 70, type: -1 }, { id: 71, type: -1 }, { id: 72, type: -1 } ], [{ id: 73, type: -1 }, { id: 74, type: 1 }, { id: 75, type: 10 }, { id: 76, type: -1 }, { id: 77, type: 10 }, { id: 78, type: 2 }, { id: 79, type: -1 }, { id: 80, type: 2 }, { id: 81, type: 4 }, { id: 82, type: 2 }, { id: 83, type: 6 }, { id: 84, type: 2 }, { id: 85, type: 10 }, { id: 86, type: -1 }, { id: 87, type: 10 }, { id: 88, type: -1 }, { id: 89, type: -1 }, { id: 90, type: -1 } ], [{ id: 91, type: -1 }, { id: 92, type: -1 }, { id: 93, type: 4 }, { id: 94, type: -1 }, { id: 95, type: 1 }, { id: 96, type: -1 }, { id: 97, type: 1 }, { id: 98, type: -1 }, { id: 99, type: 7 }, { id: 100, type: -1 }, { id: 101, type: 8 }, { id: 102, type: -1 }, { id: 103, type: 1 }, { id: 104, type: -1 }, { id: 105, type: 0 }, { id: 106, type: -1 }, { id: 107, type: -1 }, { id: 108, type: -1 }], [{ id: 109, type: -1 }, { id: 110, type: 0 }, { id: 111, type: 2 }, { id: 112, type: -1 }, { id: 113, type: -1 }, { id: 114, type: 2 }, { id: 115, type: -1 }, { id: 116, type: -1 }, { id: 117, type: 2 }, { id: 118, type: -1 }, { id: 119, type: 2 }, { id: 120, type: -1 }, { id: 121, type: -1 }, { id: 122, type: 2 }, { id: 123, type: 8 }, { id: 124, type: -1 }, { id: 125, type: -1 }, { id: 126, type: -1 } ], [{ id: 127, type: -1 }, { id: 128, type: -1 }, { id: 129, type: 10 }, { id: 130, type: 1 }, { id: 131, type: 10 }, { id: 132, type: 8 }, { id: 133, type: 1 }, { id: 134, type: 8 }, { id: 135, type: -1 }, { id: 136, type: 0 }, { id: 137, type: 10 }, { id: 138, type: 7 }, { id: 139, type: 4 }, { id: 140, type: 10 }, { id: 141, type: 7 }, { id: 142, type: -1 }, { id: 143, type: -1 }, { id: 144, type: -1 }], [{ id: 145, type: -1 }, { id: 146, type: -1 }, { id: 147, type: 0 }, { id: 148, type: 2 }, { id: 149, type: -1 }, { id: 150, type: -1 }, { id: 151, type: 2 }, { id: 152, type: -1 }, { id: 153, type: -1 }, { id: 154, type: 2 }, { id: 155, type: -1 }, { id: 156, type: 2 }, { id: 157, type: -1 }, { id: 158, type: -1 }, { id: 159, type: 3 }, { id: 160, type: 9 }, { id: 161, type: -1 }, { id: 162, type: -1 } ], [{ id: 163, type: -1 }, { id: 164, type: -1 }, { id: 165, type: 10 }, { id: 166, type: -1 }, { id: 167, type: 1 }, { id: 168, type: -1 }, { id: 169, type: 7 }, { id: 170, type: -1 }, { id: 171, type: 4 }, { id: 172, type: -1 }, { id: 173, type: 1 }, { id: 174, type: -1 }, { id: 175, type: 1 }, { id: 176, type: -1 }, { id: 177, type: 10 }, { id: 178, type: -1 }, { id: 179, type: -1 }, { id: 180, type: -1 } ], [{ id: 181, type: -1 }, { id: 182, type: -1 }, { id: 183, type: 1 }, { id: 184, type: -1 }, { id: 185, type: 0 }, { id: 186, type: 2 }, { id: 187, type: 6 }, { id: 188, type: 2 }, { id: 189, type: 7 }, { id: 190, type: 2 }, { id: 191, type: -1 }, { id: 192, type: 2 }, { id: 193, type: 0 }, { id: 194, type: -1 }, { id: 195, type: 0 }, { id: 196, type: -1 }, { id: 197, type: -1 }, { id: 198, type: -1 }], [{ id: 199, type: -1 }, { id: 200, type: -1 }, { id: 201, type: 10 }, { id: 202, type: -1 }, { id: 203, type: 8 }, { id: 204, type: -1 }, { id: 205, type: 8 }, { id: 206, type: -1 }, { id: 207, type: 0 }, { id: 208, type: -1 }, { id: 209, type: 8 }, { id: 210, type: -1 }, { id: 211, type: 10 }, { id: 212, type: 2 }, { id: 213, type: 10 }, { id: 214, type: -1 }, { id: 215, type: -1 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: -1 }, { id: 219, type: 4 }, { id: 220, type: 2 }, { id: 221, type: -1 }, { id: 222, type: 2 }, { id: 223, type: -1 }, { id: 224, type: 2 }, { id: 225, type: -1 }, { id: 226, type: 2 }, { id: 227, type: -1 }, { id: 228, type: -1 }, { id: 229, type: 0 }, { id: 230, type: 1 }, { id: 231, type: -1 }, { id: 232, type: -1 }, { id: 233, type: -1 }, { id: 234, type: -1 }], [{ id: 235, type: -1 }, { id: 236, type: -1 }, { id: 237, type: 10 }, { id: 238, type: 1 }, { id: 239, type: 7 }, { id: 240, type: 1 }, { id: 241, type: 10 }, { id: 242, type: 8 }, { id: 243, type: 10 }, { id: 244, type: 0 }, { id: 245, type: 7 }, { id: 246, type: 1 }, { id: 247, type: 10 }, { id: 248, type: 10 }, { id: 249, type: -1 }, { id: 250, type: -1 }, { id: 251, type: -1 }, { id: 252, type: -1 }], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: -1 }, { id: 256, type: -1 }, { id: 257, type: -1 }, { id: 258, type: -1 }, { id: 259, type: -1 }, { id: 260, type: -1 }, { id: 261, type: -1 }, { id: 262, type: -1 }, { id: 263, type: -1 }, { id: 264, type: -1 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 }], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 }], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 } ], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 }] ], [ [{ id: 0, type: -1 }, { id: 1, type: -1 }, { id: 2, type: -1 }, { id: 3, type: -1 }, { id: 4, type: -1 }, { id: 5, type: -1 }, { id: 6, type: -1 }, { id: 7, type: -1 }, { id: 8, type: -1 }, { id: 9, type: -1 }, { id: 10, type: -1 }, { id: 11, type: -1 }, { id: 12, type: -1 }, { id: 13, type: -1 }, { id: 14, type: -1 }, { id: 15, type: -1 }, { id: 16, type: -1 }, { id: 17, type: -1 } ], [{ id: 18, type: -1 }, { id: 19, type: -1 }, { id: 20, type: -1 }, { id: 21, type: -1 }, { id: 22, type: -1 }, { id: 23, type: -1 }, { id: 24, type: 0 }, { id: 25, type: 10 }, { id: 26, type: 10 }, { id: 27, type: 10 }, { id: 28, type: 10 }, { id: 29, type: 4 }, { id: 30, type: 10 }, { id: 31, type: 10 }, { id: 32, type: -1 }, { id: 33, type: -1 }, { id: 34, type: -1 }, { id: 35, type: -1 }], [{ id: 36, type: -1 }, { id: 37, type: -1 }, { id: 38, type: 10 }, { id: 39, type: 10 }, { id: 40, type: 10 }, { id: 41, type: -0 }, { id: 42, type: -1 }, { id: 43, type: 2 }, { id: 44, type: -1 }, { id: 45, type: 2 }, { id: 46, type: -1 }, { id: 47, type: 2 }, { id: 48, type: -1 }, { id: 49, type: 2 }, { id: 50, type: 0 }, { id: 51, type: -1 }, { id: 52, type: -1 }, { id: 53, type: -1 }, { id: 54, type: -1 } ], [{ id: 55, type: -1 }, { id: 56, type: 10 }, { id: 57, type: -1 }, { id: 58, type: -1 }, { id: 59, type: -1 }, { id: 60, type: -1 }, { id: 61, type: -1 }, { id: 62, type: 8 }, { id: 63, type: 7 }, { id: 64, type: -1 }, { id: 65, type: 7 }, { id: 66, type: 8 }, { id: 67, type: -1 }, { id: 68, type: 8 }, { id: 69, type: -1 }, { id: 70, type: -1 }, { id: 71, type: -1 }, { id: 72, type: -1 } ], [{ id: 73, type: -1 }, { id: 74, type: -1 }, { id: 75, type: 8 }, { id: 76, type: -1 }, { id: 77, type: 10 }, { id: 78, type: 4 }, { id: 79, type: 10 }, { id: 80, type: 2 }, { id: 81, type: -1 }, { id: 82, type: 2 }, { id: 83, type: 10 }, { id: 84, type: 2 }, { id: 85, type: 2 }, { id: 86, type: 2 }, { id: 87, type: 10 }, { id: 88, type: -1 }, { id: 89, type: 0 }, { id: 90, type: -1 }], [{ id: 91, type: -1 }, { id: 92, type: -1 }, { id: 93, type: 10 }, { id: 94, type: -1 }, { id: 95, type: 1 }, { id: 96, type: 10 }, { id: 97, type: 1 }, { id: 98, type: -1 }, { id: 99, type: 7 }, { id: 100, type: -1 }, { id: 101, type: 8 }, { id: 102, type: 2 }, { id: 103, type: 2 }, { id: 104, type: 2 }, { id: 105, type: 0 }, { id: 106, type: -1 }, { id: 107, type: -1 }, { id: 108, type: -1 } ], [{ id: 109, type: -1 }, { id: 110, type: -1 }, { id: 111, type: 8 }, { id: 112, type: 2 }, { id: 113, type: -1 }, { id: 114, type: 2 }, { id: 115, type: -1 }, { id: 116, type: -1 }, { id: 117, type: 2 }, { id: 118, type: -1 }, { id: 119, type: 10 }, { id: 120, type: 2 }, { id: 121, type: 2 }, { id: 122, type: 2 }, { id: 123, type: 8 }, { id: 124, type: -1 }, { id: 125, type: -1 }, { id: 126, type: -1 }], [{ id: 127, type: -1 }, { id: 128, type: -1 }, { id: 129, type: 7 }, { id: 130, type: -1 }, { id: 131, type: 1 }, { id: 132, type: -1 }, { id: 133, type: 1 }, { id: 134, type: 8 }, { id: 135, type: 9 }, { id: 136, type: -1 }, { id: 137, type: 9 }, { id: 138, type: 7 }, { id: 139, type: 4 }, { id: 140, type: 10 }, { id: 141, type: 7 }, { id: 142, type: -1 }, { id: 143, type: -1 }, { id: 144, type: -1 }], [{ id: 145, type: -1 }, { id: 146, type: -1 }, { id: 147, type: 0 }, { id: 148, type: -1 }, { id: 149, type: 7 }, { id: 150, type: -1 }, { id: 151, type: 0 }, { id: 152, type: 10 }, { id: 153, type: 2 }, { id: 154, type: 2 }, { id: 155, type: 2 }, { id: 156, type: 10 }, { id: 157, type: 2 }, { id: 158, type: 2 }, { id: 159, type: 2 }, { id: 160, type: 9 }, { id: 161, type: -1 }, { id: 162, type: -1 } ], [{ id: 163, type: -1 }, { id: 164, type: -1 }, { id: 165, type: 10 }, { id: 166, type: 2 }, { id: 167, type: -1 }, { id: 168, type: 2 }, { id: 169, type: -1 }, { id: 170, type: 4 }, { id: 171, type: 2 }, { id: 172, type: 5 }, { id: 173, type: 2 }, { id: 174, type: 0 }, { id: 175, type: 2 }, { id: 176, type: 5 }, { id: 177, type: 2 }, { id: 178, type: 8 }, { id: 179, type: -1 }, { id: 180, type: -1 }], [{ id: 181, type: -1 }, { id: 182, type: -1 }, { id: 183, type: 1 }, { id: 184, type: -1 }, { id: 185, type: 0 }, { id: 186, type: 8 }, { id: 187, type: -1 }, { id: 188, type: 7 }, { id: 189, type: 2 }, { id: 190, type: 2 }, { id: 191, type: 2 }, { id: 192, type: 0 }, { id: 193, type: 2 }, { id: 194, type: 2 }, { id: 195, type: 2 }, { id: 196, type: 7 }, { id: 197, type: -1 }, { id: 198, type: -1 }], [{ id: 199, type: -1 }, { id: 200, type: 10 }, { id: 201, type: 2 }, { id: 202, type: 2 }, { id: 203, type: 2 }, { id: 204, type: 10 }, { id: 205, type: -1 }, { id: 206, type: 10 }, { id: 207, type: 0 }, { id: 208, type: 10 }, { id: 209, type: 8 }, { id: 210, type: 1 }, { id: 211, type: 9 }, { id: 212, type: 2 }, { id: 213, type: 9 }, { id: 214, type: -1 }, { id: 215, type: -1 }, { id: 216, type: -1 }], [{ id: 217, type: -1 }, { id: 218, type: 10 }, { id: 219, type: 2 }, { id: 220, type: 2 }, { id: 221, type: 2 }, { id: 222, type: 1 }, { id: 223, type: -1 }, { id: 224, type: 2 }, { id: 225, type: -1 }, { id: 226, type: 2 }, { id: 227, type: -1 }, { id: 228, type: -1 }, { id: 229, type: -1 }, { id: 230, type: -1 }, { id: 231, type: 0 }, { id: 232, type: -1 }, { id: 233, type: -1 }, { id: 234, type: -1 } ], [{ id: 235, type: -1 }, { id: 236, type: 10 }, { id: 237, type: 2 }, { id: 238, type: 2 }, { id: 239, type: 2 }, { id: 240, type: 10 }, { id: 241, type: 10 }, { id: 242, type: 8 }, { id: 243, type: 10 }, { id: 244, type: 3 }, { id: 245, type: 7 }, { id: 246, type: 1 }, { id: 247, type: 10 }, { id: 248, type: 10 }, { id: 249, type: -1 }, { id: 250, type: -1 }, { id: 251, type: -1 }, { id: 252, type: -1 }], [{ id: 253, type: -1 }, { id: 254, type: -1 }, { id: 255, type: 10 }, { id: 256, type: 10 }, { id: 257, type: 10 }, { id: 258, type: -1 }, { id: 259, type: -1 }, { id: 260, type: -1 }, { id: 261, type: -1 }, { id: 262, type: 9 }, { id: 263, type: -1 }, { id: 264, type: -1 }, { id: 265, type: -1 }, { id: 266, type: -1 }, { id: 267, type: -1 }, { id: 268, type: -1 }, { id: 269, type: -1 }, { id: 270, type: -1 }], [{ id: 271, type: -1 }, { id: 272, type: -1 }, { id: 273, type: -1 }, { id: 274, type: -1 }, { id: 275, type: -1 }, { id: 276, type: -1 }, { id: 277, type: -1 }, { id: 278, type: -1 }, { id: 279, type: -1 }, { id: 280, type: -1 }, { id: 281, type: -1 }, { id: 282, type: -1 }, { id: 283, type: -1 }, { id: 284, type: -1 }, { id: 285, type: -1 }, { id: 286, type: -1 }, { id: 287, type: -1 }, { id: 288, type: -1 }], [{ id: 289, type: -1 }, { id: 290, type: -1 }, { id: 291, type: -1 }, { id: 292, type: -1 }, { id: 293, type: -1 }, { id: 294, type: -1 }, { id: 295, type: -1 }, { id: 296, type: -1 }, { id: 297, type: -1 }, { id: 298, type: -1 }, { id: 299, type: -1 }, { id: 300, type: -1 }, { id: 301, type: -1 }, { id: 302, type: -1 }, { id: 303, type: -1 }, { id: 304, type: -1 }, { id: 305, type: -1 }, { id: 306, type: -1 }], [{ id: 307, type: -1 }, { id: 308, type: -1 }, { id: 309, type: -1 }, { id: 310, type: -1 }, { id: 311, type: -1 }, { id: 312, type: -1 }, { id: 313, type: -1 }, { id: 314, type: -1 }, { id: 315, type: -1 }, { id: 316, type: -1 }, { id: 317, type: -1 }, { id: 318, type: -1 }, { id: 319, type: -1 }, { id: 320, type: -1 }, { id: 321, type: -1 }, { id: 322, type: -1 }, { id: 323, type: -1 }, { id: 324, type: -1 } ] ] ]; var CANVAS_WIDTH = 960, CANVAS_HEIGHT = 1440, EDGEBOARD_X = 50, EDGEBOARD_Y = 130, FPS_TIME = 1E3 / 30, DISABLE_SOUND_MOBILE = !1, PRIMARY_FONT = "rocks__gregular", TOT_LEVEL = 10, OUTLINE_TEXT = 4, STATE_LOADING = 0, STATE_MENU = 1, STATE_HELP = 1, STATE_GAME = 3, ON_MOUSE_DOWN = 0, ON_MOUSE_UP = 1, ON_MOUSE_OVER = 2, ON_MOUSE_OUT = 3, ON_DRAG_START = 4, ON_DRAG_END = 5, TYPES_OF_OBJECT = 10, TYPES_OF_FLOOR = 20, TYPES_OF_ENEMY = 1, MAX_BALL_SPAWN = 4, MAX_VELOCITY_LIMIT = 1.5, MIN_VELOCITY_LIMIT = .5, MAX_TIME_SHOT_BONUS = 100, BRICKS_LEVEL_POSITION, OBJECTS_TYPE_PROPERTY, ENEMY_LEVEL, NODE_LEVEL, MAX_FRAME = 1E3, OFFSET_OBJECTS_SECTION_X = 0, OFFSET_OBJECTS_SECTION_Y = 0, OFFSET_SCROLL, OFFSET_LEVEL_MAP_RIGHT = -438, OFFSET_LEVEL_MAP_LEFT = 0, OFFSET_LEVEL_MAP_DOWN = -30, OFFSET_LEVEL_MAP_UP = 0, TIME_REFLECT_IRON_BRICK = 100, DIR_DELAY = 0, OFFSET_CHARACTER = -20, OFFSET_COLLLISION_ENEMY = -30, DIE_RESTART_LEVEL_TIME = 1.5, DISPLAY_SHOCK_X = 80, DISPLAY_SHOCK_Y = 100, SPAWN_BONUS_PROBABILITY, SHOW_CELL = !1, SHOW_ID_OBJ = !1, CELL_SIZE = 80, CELL_HALF_SIZE = 40, OFFSET_COLLISION_ENEMY, OBJECT_COLLISION, OFFSET_REG_OBJECT, OFFSET_COLLISION_OBJECT, SHOW_FPS = !1, OFFSET_COLLISION = 0, STAGE_POSITION_LEVEL, WALKABLE_CELL, OBJECT_SPRITESHEET_NUM, CHARACTER_OFFSET_REG, COLLISION_DETECTION_OFFSET = .1, ITERATIONS_PER_CALCULATION = 1E3, RANGE_ENEMY_DETECTION, ENEMY_OFFSET_REG, BLINK_BEFORE_EXPLOSION = 5, BORROW_EXPLOSION_RANGE = 100, TIME_TRAP = 3; RANGE_ENEMY_DETECTION = []; OFFSET_REG_OBJECT = []; OFFSET_COLLISION_OBJECT = []; ENEMY_OFFSET_REG = []; OFFSET_COLLISION_ENEMY = []; OFFSET_SCROLL = []; CHARACTER_CELL_LEVEL = []; STAGE_POSITION_LEVEL = []; ENEMY_LEVEL = []; for (var i = 0; i < TOT_LEVEL; i++) ENEMY_LEVEL[i] = []; OFFSET_SCROLL[0] = { left: CANVAS_WIDTH / 2 - 100, right: CANVAS_WIDTH / 2 + 100, up: CANVAS_HEIGHT / 2 - 100, down: CANVAS_HEIGHT / 2 + 100 }; CHARACTER_CELL_LEVEL[0] = 74; STAGE_POSITION_LEVEL[0] = { x: 0, y: 0 }; OFFSET_SCROLL[1] = { left: CANVAS_WIDTH / 2 - 100, right: CANVAS_WIDTH / 2 + 100, up: CANVAS_HEIGHT / 2 - 100, down: CANVAS_HEIGHT / 2 + 100 }; CHARACTER_CELL_LEVEL[1] = 75; STAGE_POSITION_LEVEL[1] = { x: 0, y: 0 }; OFFSET_SCROLL[2] = { left: CANVAS_WIDTH / 2 - 100, right: CANVAS_WIDTH / 2 + 100, up: CANVAS_HEIGHT / 2 - 100, down: CANVAS_HEIGHT / 2 + 100 }; CHARACTER_CELL_LEVEL[2] = 56; STAGE_POSITION_LEVEL[2] = { x: 0, y: 0 }; OFFSET_SCROLL[3] = { left: CANVAS_WIDTH / 2 + 60, right: CANVAS_WIDTH / 2 + 260, up: CANVAS_HEIGHT / 2 - 60, down: CANVAS_HEIGHT / 2 + 140 }; CHARACTER_CELL_LEVEL[3] = 206; STAGE_POSITION_LEVEL[3] = { x: -160, y: -40 }; OFFSET_SCROLL[4] = { left: CANVAS_WIDTH / 2 - 100, right: CANVAS_WIDTH / 2 + 100, up: CANVAS_HEIGHT / 2 - 100, down: CANVAS_HEIGHT / 2 + 100 }; CHARACTER_CELL_LEVEL[4] = 56; STAGE_POSITION_LEVEL[4] = { x: 0, y: 0 }; OFFSET_SCROLL[5] = { left: CANVAS_WIDTH / 2 - 100, right: CANVAS_WIDTH / 2 + 100, up: CANVAS_HEIGHT / 2 - 100, down: CANVAS_HEIGHT / 2 + 100 }; CHARACTER_CELL_LEVEL[5] = 56; STAGE_POSITION_LEVEL[5] = { x: 0, y: 0 }; OFFSET_SCROLL[6] = { left: CANVAS_WIDTH / 2 - 100, right: CANVAS_WIDTH / 2 + 100, up: CANVAS_HEIGHT / 2 - 100, down: CANVAS_HEIGHT / 2 + 100 }; CHARACTER_CELL_LEVEL[6] = 56; STAGE_POSITION_LEVEL[6] = { x: 0, y: 0 }; OFFSET_SCROLL[7] = { left: CANVAS_WIDTH / 2 - 100, right: CANVAS_WIDTH / 2 + 100, up: CANVAS_HEIGHT / 2 - 100, down: CANVAS_HEIGHT / 2 + 100 }; CHARACTER_CELL_LEVEL[7] = 56; STAGE_POSITION_LEVEL[7] = { x: 0, y: 0 }; OFFSET_SCROLL[8] = { left: CANVAS_WIDTH / 2 - 100, right: CANVAS_WIDTH / 2 + 100, up: CANVAS_HEIGHT / 2 - 100, down: CANVAS_HEIGHT / 2 + 100 }; CHARACTER_CELL_LEVEL[8] = 57; STAGE_POSITION_LEVEL[8] = { x: 0, y: 0 }; OFFSET_SCROLL[9] = { left: CANVAS_WIDTH / 2 - 100, right: CANVAS_WIDTH / 2 + 100, up: CANVAS_HEIGHT / 2 - 100, down: CANVAS_HEIGHT / 2 + 100 }; CHARACTER_CELL_LEVEL[9] = 57; STAGE_POSITION_LEVEL[9] = { x: 0, y: 0 }; CHARACTER_OFFSET_REG = { x: -10, y: 60 }; ENEMY_OFFSET_REG[0] = { x: 0, y: 60 }; WALKABLE_CELL = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]; OFFSET_REG_OBJECT = [{ x: 0, y: 0 }, { x: -23, y: 25 }, { x: 0, y: 0 }, { x: 0, y: 0 }, { x: 0, y: 40 }, { x: -1, y: 16 }, { x: 0, y: 0 }, { x: 0, y: -10 }, { x: 0, y: 0 }, { x: 0, y: 0 }]; OFFSET_COLLISION_OBJECT = [0, 0, 0, 0, 0, 10, 0, 0, 0, 0]; OFFSET_COLLISION_ENEMY[0] = -40; RANGE_ENEMY_DETECTION[0] = 400; OBJECT_SPRITESHEET_NUM = [{ width: 0, height: 0 }, { width: 0, height: 0 }, { width: 10, height: 2, animations: { normal: [0, 19, "normal", .5] } }, { width: 9, height: 2, animations: { normal: [0, 17, "normal", .6] } }, { width: 0, height: 0 }, { width: 8, height: 5, animations: { normal: [0], blink: [1, 9], explosion: [10, 39] } }, { width: 6, height: 1, animations: { normal: [0], out: [0, 5], "in": { frames: [5, 4, 3, 2, 1, 0] }, released: [5] } }, { width: 0, height: 0 }, { width: 0, height: 0 }]; ENEMY_LEVEL[0][0] = { type: 0, start_cell: 207 }; ENEMY_LEVEL[0][1] = { type: 0, start_cell: 185 }; ENEMY_LEVEL[0][2] = { type: 0, start_cell: 194 }; ENEMY_LEVEL[1][0] = { type: 0, start_cell: 140 }; ENEMY_LEVEL[1][1] = { type: 0, start_cell: 153 }; ENEMY_LEVEL[1][2] = { type: 0, start_cell: 226 }; ENEMY_LEVEL[2][0] = { type: 0, start_cell: 169 }; ENEMY_LEVEL[2][1] = { type: 0, start_cell: 171 }; ENEMY_LEVEL[2][2] = { type: 0, start_cell: 133 }; ENEMY_LEVEL[2][3] = { type: 0, start_cell: 135 }; ENEMY_LEVEL[3][0] = { type: 0, start_cell: 47 }; ENEMY_LEVEL[3][1] = { type: 0, start_cell: 213 }; ENEMY_LEVEL[3][2] = { type: 0, start_cell: 69 }; ENEMY_LEVEL[4][0] = { type: 0, start_cell: 88 }; ENEMY_LEVEL[4][1] = { type: 0, start_cell: 142 }; ENEMY_LEVEL[4][2] = { type: 0, start_cell: 214 }; ENEMY_LEVEL[4][3] = { type: 0, start_cell: 228 }; ENEMY_LEVEL[5][0] = { type: 0, start_cell: 154 }; ENEMY_LEVEL[5][1] = { type: 0, start_cell: 159 }; ENEMY_LEVEL[5][2] = { type: 0, start_cell: 168 }; ENEMY_LEVEL[5][3] = { type: 0, start_cell: 231 }; ENEMY_LEVEL[6][0] = { type: 0, start_cell: 244 }; ENEMY_LEVEL[6][1] = { type: 0, start_cell: 159 }; ENEMY_LEVEL[6][2] = { type: 0, start_cell: 191 }; ENEMY_LEVEL[7][0] = { type: 0, start_cell: 170 }; ENEMY_LEVEL[7][1] = { type: 0, start_cell: 229 }; ENEMY_LEVEL[7][2] = { type: 0, start_cell: 159 }; ENEMY_LEVEL[7][3] = { type: 0, start_cell: 69 }; ENEMY_LEVEL[8][0] = { type: 0, start_cell: 183 }; ENEMY_LEVEL[8][1] = { type: 0, start_cell: 227 }; ENEMY_LEVEL[8][2] = { type: 0, start_cell: 211 }; ENEMY_LEVEL[8][3] = { type: 0, start_cell: 159 }; ENEMY_LEVEL[8][4] = { type: 0, start_cell: 134 }; ENEMY_LEVEL[9][0] = { type: 0, start_cell: 156 }; ENEMY_LEVEL[9][1] = { type: 0, start_cell: 158 }; ENEMY_LEVEL[9][2] = { type: 0, start_cell: 174 }; ENEMY_LEVEL[9][3] = { type: 0, start_cell: 176 }; ENEMY_LEVEL[9][4] = { type: 0, start_cell: 192 }; ENEMY_LEVEL[9][5] = { type: 0, start_cell: 194 }; var SOUNDTRACK_VOLUME_IN_GAME = .4, SHOW_CREDITS = !0, ENABLE_FULLSCREEN, ENABLE_CHECK_ORIENTATION; TEXT_SCORE = "SCORE"; TEXT_SCORE_CASE = "Score"; TEXT_SCORE_GAMEOVER = "Total Score"; TEXT_LEVEL = "Level"; TEXT_LEVEL_UPPERCASE = "LEVEL"; TEXT_GAMEOVER = "GAME OVER"; TEXT_COMPLETE = "Complete"; TEXT_GAME_COMPLETED = "GAME COMPLETED"; TEXT_HOW_TO_PLAY = "HOW TO PLAY"; TEXT_HELP_PAGE_1_PC = "Use the arrow keys to move your character!"; TEXT_HELP_PAGE_1_MOBILE = "Swipe your finger to control the character!"; TEXT_HELP_ENEMY = "Escape from him"; TEXT_SELECT_A_LEVEL = "SELECT A LEVEL"; TEXT_PAUSE = "Pause"; TEXT_HELP_TNT = "Touch this to trigger an explosion"; TEXT_HELP_COIN_PART1 = "Collect all coins to complete the level and earn 100 PT for each one"; TEXT_HELP_COIN_PART2 = "PT every coin"; TEXT_HELP_SWORD = "Take this to get rid of all enemies"; TEXT_TITLE = "AHOY!!!"; TEXT_FINAL_SCORE = "FINAL SCORE"; TEXT_YOU_ARE_DEAD = "YOU'RE DEAD"; TEXT_CREDITS_DEVELOPED = "DEVELOPED BY"; var TEXT_PRELOADER_CONTINUE = "START"; TEXT_SHARE_IMAGE = "200x200.jpg"; TEXT_SHARE_TITLE = "Congratulations!"; TEXT_SHARE_MSG1 = "You collected <strong>"; TEXT_SHARE_MSG2 = " points</strong>!<br><br>Share your score with your friends!"; TEXT_SHARE_SHARE1 = "My score is "; TEXT_SHARE_SHARE2 = " points! Can you do better"; function CPreloader() { var a, m, h, t, d, q, e, p, r, c; this._init = function() { s_oSpriteLibrary.init(this._onImagesLoaded, this._onAllImagesLoaded, this); s_oSpriteLibrary.addSprite("progress_bar", "./sprites/progress_bar.png"); s_oSpriteLibrary.addSprite("200x200", "./sprites/200x200.jpg"); s_oSpriteLibrary.addSprite("but_start", "./sprites/but_start.png"); s_oSpriteLibrary.loadSprites(); c = new createjs.Container; s_oStage.addChild(c) }; this.unload = function() { c.removeAllChildren(); r.unload() }; this._onImagesLoaded = function() {}; this._onAllImagesLoaded = function() { this.attachSprites(); s_oMain.preloaderReady() }; this.attachSprites = function() { var b = new createjs.Shape; b.graphics.beginFill("black").drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT); c.addChild(b); b = s_oSpriteLibrary.getSprite("200x200"); e = createBitmap(b); e.regX = .5 * b.width; e.regY = .5 * b.height; e.x = CANVAS_WIDTH / 2; e.y = CANVAS_HEIGHT / 2 - 180; c.addChild(e); p = new createjs.Shape; p.graphics.beginFill("rgba(0,0,0,0.01)").drawRoundRect(e.x - 100, e.y - 100, 200, 200, 10); c.addChild(p); e.mask = p; b = s_oSpriteLibrary.getSprite("progress_bar"); t = createBitmap(b); t.x = CANVAS_WIDTH / 2 - b.width / 2; t.y = CANVAS_HEIGHT / 2 + 50; c.addChild(t); a = b.width; m = b.height; d = new createjs.Shape; d.graphics.beginFill("rgba(0,0,0,0.01)").drawRect(t.x, t.y, 1, m); c.addChild(d); t.mask = d; h = new createjs.Text("", "40px " + PRIMARY_FONT, "#fff"); h.x = CANVAS_WIDTH / 2; h.y = CANVAS_HEIGHT / 2 + 110; h.textBaseline = "alphabetic"; h.textAlign = "center"; c.addChild(h); b = s_oSpriteLibrary.getSprite("but_start"); r = new CTextButton(CANVAS_WIDTH / 2, CANVAS_HEIGHT / 2, b, TEXT_PRELOADER_CONTINUE, "Arial", "#000", "bold 50", c); r.addEventListener(ON_MOUSE_UP, this._onButStartRelease, this); r.setVisible(!1); q = new createjs.Shape; q.graphics.beginFill("black").drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT); c.addChild(q); createjs.Tween.get(q).to({ alpha: 0 }, 500).call(function() { createjs.Tween.removeTweens(q); c.removeChild(q) }) }; this._onButStartRelease = function() { s_oMain._onRemovePreloader() }; this.refreshLoader = function(b) { h.text = b + "%"; 100 === b && (s_oMain._onRemovePreloader(), h.visible = !1, t.visible = !1); d.graphics.clear(); b = Math.floor(b * a / 100); d.graphics.beginFill("rgba(0,0,0,0.01)").drawRect(t.x, t.y, b, m) }; this._init() } function CMain(a) { var m, h = 0, t = 0, d = STATE_LOADING, q, e; this.initContainer = function() { s_oCanvas = document.getElementById("canvas"); s_oStage = new createjs.Stage(s_oCanvas); s_oStage.preventSelection = !1; createjs.Touch.enable(s_oStage); s_bMobile = jQuery.browser.mobile; !1 === s_bMobile && (s_oStage.enableMouseOver(20), $("body").on("contextmenu", "#canvas", function(a) { return !1 })); s_iPrevTime = (new Date).getTime(); createjs.Ticker.addEventListener("tick", this._update); createjs.Ticker.framerate = 30; navigator.userAgent.match(/Windows Phone/i) && (DISABLE_SOUND_MOBILE = !0); s_oSpriteLibrary = new CSpriteLibrary; q = new CPreloader; }; this.preloaderReady = function() { this._loadImages(); !1 !== DISABLE_SOUND_MOBILE && !1 !== s_bMobile || this._initSounds(); m = !0 }; this.soundLoaded = function() { h++; q.refreshLoader(Math.floor(h / t * 100)) }; this._initSounds = function() { Howler.mute(!s_bAudioActive); s_aSoundsInfo = []; s_aSoundsInfo.push({ path: "./sounds/", filename: "game_over", loop: !1, volume: 1, ingamename: "game_over" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "click", loop: !1, volume: 1, ingamename: "click" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "game_completed", loop: !1, volume: 1, ingamename: "game_completed" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "barrel_active", loop: !1, volume: 1, ingamename: "barrel_active" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "barrel_explosion", loop: !1, volume: 1, ingamename: "barrel_explosion" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "enemy_death", loop: !1, volume: 1, ingamename: "enemy_death" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "money", loop: !1, volume: 1, ingamename: "money" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "pirate_death", loop: !1, volume: 1, ingamename: "pirate_death" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "power_up", loop: !1, volume: 1, ingamename: "power_up" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "stage_clear", loop: !1, volume: 1, ingamename: "stage_clear" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "trap_floor_in", loop: !1, volume: 1, ingamename: "trap_floor_in" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "trap_floor_out", loop: !1, volume: 1, ingamename: "trap_floor_out" }); s_aSoundsInfo.push({ path: "./sounds/", filename: "soundtrack", loop: !0, volume: 1, ingamename: "soundtrack" }); t += s_aSoundsInfo.length; s_aSounds = []; for (var a = 0; a < s_aSoundsInfo.length; a++) this.tryToLoadSound(s_aSoundsInfo[a], !1) }; this.tryToLoadSound = function(a, c) { setTimeout(function() { s_aSounds[a.ingamename] = new Howl({ src: [a.path + a.filename + ".mp3"], autoplay: !1, preload: !0, loop: a.loop, volume: a.volume, onload: s_oMain.soundLoaded, onloaderror: function(a, c) { for (var b = 0; b < s_aSoundsInfo.length; b++) if (a === s_aSounds[s_aSoundsInfo[b].ingamename]._sounds[0]._id) { s_oMain.tryToLoadSound(s_aSoundsInfo[b], !0); break } }, onplayerror: function(a) { for (var b = 0; b < s_aSoundsInfo.length; b++) if (a === s_aSounds[s_aSoundsInfo[b].ingamename]._sounds[0]._id) { s_aSounds[s_aSoundsInfo[b].ingamename].once("unlock", function() { s_aSounds[s_aSoundsInfo[b].ingamename].play(); "soundtrack" === s_aSoundsInfo[b].ingamename && null !== s_oGame && setVolume("soundtrack", SOUNDTRACK_VOLUME_IN_GAME) }); break } } }) }, c ? 200 : 0) }; this._loadImages = function() { s_oSpriteLibrary.init(this._onImagesLoaded, this._onAllImagesLoaded, this); s_oSpriteLibrary.addSprite("bg_menu", "./sprites/bg_menu.jpg"); s_oSpriteLibrary.addSprite("bg_game_completed", "./sprites/bg_game_completed.png"); s_oSpriteLibrary.addSprite("bg_game_over", "./sprites/bg_game_over.png"); s_oSpriteLibrary.addSprite("bg_level_1", "./sprites/bg_level_1.jpg"); s_oSpriteLibrary.addSprite("but_exit", "./sprites/but_exit.png"); s_oSpriteLibrary.addSprite("but_pause", "./sprites/but_pause.png"); s_oSpriteLibrary.addSprite("icon_audio", "./sprites/icon_audio.png"); s_oSpriteLibrary.addSprite("but_play", "./sprites/but_play.png"); s_oSpriteLibrary.addSprite("but_restart", "./sprites/but_restart.png"); s_oSpriteLibrary.addSprite("but_continue", "./sprites/but_continue.png"); s_oSpriteLibrary.addSprite("but_level", "./sprites/but_level.png"); s_oSpriteLibrary.addSprite("but_home", "./sprites/but_home.png"); s_oSpriteLibrary.addSprite("hero_bottom", "./sprites/hero_bottom.png"); s_oSpriteLibrary.addSprite("hero_left", "./sprites/hero_left.png"); s_oSpriteLibrary.addSprite("hero_right", "./sprites/hero_right.png"); s_oSpriteLibrary.addSprite("hero_top", "./sprites/hero_top.png"); s_oSpriteLibrary.addSprite("life", "./sprites/life.png"); s_oSpriteLibrary.addSprite("bg_level", "./sprites/bg_level.png"); s_oSpriteLibrary.addSprite("cell", "./sprites/cell.png"); s_oSpriteLibrary.addSprite("keyboard", "./sprites/keyboard.png"); s_oSpriteLibrary.addSprite("hand_touch", "./sprites/hand_touch.png"); s_oSpriteLibrary.addSprite("swipe", "./sprites/swipe.png"); s_oSpriteLibrary.addSprite("msg_box", "./sprites/msg_box.png"); s_oSpriteLibrary.addSprite("but_credits", "./sprites/but_credits.png"); s_oSpriteLibrary.addSprite("logo_ctl", "./sprites/logo_ctl.png"); s_oSpriteLibrary.addSprite("but_fullscreen", "./sprites/but_fullscreen.png"); for (var a = 0; a < TYPES_OF_OBJECT; a++) s_oSpriteLibrary.addSprite("object_" + a, "./sprites/object_" + a + ".png"); for (a = 0; a < TYPES_OF_FLOOR; a++) s_oSpriteLibrary.addSprite("floor_" + a, "./sprites/floor_" + a + ".jpg"); for (a = 0; a < TYPES_OF_ENEMY; a++) s_oSpriteLibrary.addSprite("enemy_bottom_" + a, "./sprites/enemy_bottom_" + a + ".png"), s_oSpriteLibrary.addSprite("enemy_top_" + a, "./sprites/enemy_top_" + a + ".png"), s_oSpriteLibrary.addSprite("enemy_left_right_" + a, "./sprites/enemy_left_right_" + a + ".png"); t += s_oSpriteLibrary.getNumSprites(); s_oSpriteLibrary.loadSprites() }; this._onImagesLoaded = function() { h++; q.refreshLoader(Math.floor(h / t * 100)) }; this._onAllImagesLoaded = function() {}; this._onRemovePreloader = function() { q.unload(); s_oSoundTrack = playSound("soundtrack", 1, !0); this.gotoMenu() }; this.gotoMenu = function() { new CMenu; d = STATE_MENU }; this.gotoGame = function(a) { e = new CGame(p, a); d = STATE_GAME; $(s_oMain).trigger("start_session") }; this.gotoLevelMenu = function() { new CLevelMenu; d = STATE_MENU }; this.stopUpdate = function() { m = !1; createjs.Ticker.paused = !0; $("#block_game").css("display", "block"); !1 !== DISABLE_SOUND_MOBILE && !1 !== s_bMobile || Howler.mute(!0) }; this.startUpdate = function() { s_iPrevTime = (new Date).getTime(); m = !0; createjs.Ticker.paused = !1; $("#block_game").css("display", "none"); (!1 === DISABLE_SOUND_MOBILE || !1 === s_bMobile) && s_bAudioActive && Howler.mute(!1) }; this._update = function(a) { if (!1 !== m) { var c = (new Date).getTime(); s_iTimeElaps = c - s_iPrevTime; s_iCntTime += s_iTimeElaps; s_iCntFps++; s_iPrevTime = c; 1E3 <= s_iCntTime && (s_iCurFps = s_iCntFps, s_iCntTime -= 1E3, s_iCntFps = 0); d === STATE_GAME && e.update(); s_oStage.update(a) } }; s_oMain = this; var p = a; ENABLE_FULLSCREEN = a.fullscreen; ENABLE_CHECK_ORIENTATION = a.check_orientation; this.initContainer() } var s_bMobile, s_bAudioActive = !1, s_bFullscreen = !1, s_iCntTime = 0, s_iTimeElaps = 0, s_iPrevTime = 0, s_iCntFps = 0, s_iCurFps = 0, s_iLevelReached = 1, s_oStage, s_oMain, s_oSpriteLibrary, s_oSoundTrack = null, s_oCanvas, s_aSounds, s_aSoundsInfo; function CTextButton(a, m, h, t, d, q, e, p) { var r, c, b, v, k, f, D, n, x, z, A, J; this._init = function(a, f, e, n, d, h, m, q) { r = !1; v = []; k = []; J = createBitmap(e); c = e.width; b = e.height; var g = Math.ceil(m / 20); z = new createjs.Text(n, m + "px " + d, "#000000"); var p = z.getBounds(); z.textAlign = "center"; z.lineWidth = .9 * c; z.textBaseline = "alphabetic"; z.x = e.width / 2 + g; z.y = Math.floor(e.height / 2) + p.height / 3 + g; A = new createjs.Text(n, m + "px " + d, h); A.textAlign = "center"; A.textBaseline = "alphabetic"; A.lineWidth = .9 * c; A.x = e.width / 2; A.y = Math.floor(e.height / 2) + p.height / 3; x = new createjs.Container; x.x = a; x.y = f; x.regX = e.width / 2; x.regY = e.height / 2; s_bMobile || (x.cursor = "pointer"); x.addChild(J, z, A); !1 !== q && s_oStage.addChild(x); this._initListener() }; this.unload = function() { x.off("mousedown", f); x.off("pressup", D); s_oStage.removeChild(x) }; this.setVisible = function(a) { x.visible = a }; this.setAlign = function(a) { A.textAlign = a; z.textAlign = a }; this.enable = function() { r = !1; J.filters = []; J.cache(0, 0, c, b) }; this.disable = function() { r = !0; var a = (new createjs.ColorMatrix).adjustSaturation(-100).adjustBrightness(40); J.filters = [new createjs.ColorMatrixFilter(a)]; J.cache(0, 0, c, b) }; this._initListener = function() { f = x.on("mousedown", this.buttonDown); D = x.on("pressup", this.buttonRelease) }; this.addEventListener = function(a, b, f) { v[a] = b; k[a] = f }; this.addEventListenerWithParams = function(a, b, f, c) { v[a] = b; k[a] = f; n = c }; this.buttonRelease = function() { r || (playSound("click", 1, !1), x.scaleX = 1, x.scaleY = 1, v[ON_MOUSE_UP] && v[ON_MOUSE_UP].call(k[ON_MOUSE_UP], n)) }; this.buttonDown = function() { r || (x.scaleX = .9, x.scaleY = .9, v[ON_MOUSE_DOWN] && v[ON_MOUSE_DOWN].call(k[ON_MOUSE_DOWN])) }; this.setPosition = function(a, b) { x.x = a; x.y = b }; this.changeText = function(a) { A.text = a; z.text = a }; this.setX = function(a) { x.x = a }; this.setY = function(a) { x.y = a }; this.getButtonImage = function() { return x }; this.getX = function() { return x.x }; this.getY = function() { return x.y }; this.getSprite = function() { return x }; this._init(a, m, h, t, d, q, e, p); return this } function CToggle(a, m, h, t) { var d, q, e, p = [], r, c, b; this._init = function(a, k, f, c) { q = []; e = []; var n = new createjs.SpriteSheet({ images: [f], frames: { width: f.width / 2, height: f.height, regX: f.width / 2 / 2, regY: f.height / 2 }, animations: { state_true: [0], state_false: [1] } }); d = c; b = createSprite(n, "state_" + d, f.width / 2 / 2, f.height / 2, f.width / 2, f.height); b.mouseEnabled = !0; b.x = a; b.y = k; b.stop(); s_bMobile || (b.cursor = "pointer"); s_oStage.addChild(b); this._initListener() }; this.unload = function() { b.off("mousedown", r); b.off("pressup", c); b.mouseEnabled = !1; s_oStage.removeChild(b) }; this._initListener = function() { r = b.on("mousedown", this.buttonDown); c = b.on("pressup", this.buttonRelease) }; this.addEventListener = function(a, b, f) { q[a] = b; e[a] = f }; this.addEventListenerWithParams = function(a, b, f, c) { q[a] = b; e[a] = f; p = c }; this.setActive = function(a) { d = a; b.gotoAndStop("state_" + d) }; this.buttonRelease = function() { b.scaleX = 1; b.scaleY = 1; playSound("click", 1, !1); d = !d; b.gotoAndStop("state_" + d); q[ON_MOUSE_UP] && q[ON_MOUSE_UP].call(e[ON_MOUSE_UP], p) }; this.buttonDown = function() { b.scaleX = .9; b.scaleY = .9; q[ON_MOUSE_DOWN] && q[ON_MOUSE_DOWN].call(e[ON_MOUSE_DOWN], p) }; this.setPosition = function(a, k) { b.x = a; b.y = k }; this.setVisible = function(a) { b.visible = a }; this._init(a, m, h, t) } function CNumToggle(a, m, h, t) { var d, q, e, p, r, c, b, v = []; this._init = function(a, f, h, n) { q = !1; e = []; p = []; r = new createjs.Container; r.x = a; r.y = f; n.addChild(r); a = s_oSpriteLibrary.getSprite("num_button"); f = { images: [a], framerate: 5, frames: { width: a.width / 2, height: a.height, regX: a.width / 2 / 2, regY: a.height / 2 }, animations: { state_true: [0], state_false: [1] } }; f = new createjs.SpriteSheet(f); d = !1; c = createSprite(f, "state_" + d, a.width / 2 / 2, a.height / 2, a.width / 2, a.height); c.stop(); a = s_oSpriteLibrary.getSprite("ball"); f = { images: [a], frames: { width: a.width / NUM_DIFFERENT_BALLS, height: a.height, regX: a.width / NUM_DIFFERENT_BALLS / 2, regY: a.height / 2 }, animations: { red: [0], green: [1], cyan: [0], violet: [1], blue: [1] } }; f = new createjs.SpriteSheet(f); b = createSprite(f, "red", a.width / NUM_DIFFERENT_BALLS / 2, a.height / 2, a.width / NUM_DIFFERENT_BALLS, a.height); b.gotoAndStop(0); b.visible = !1; r.addChild(c, b); this._initListener() }; this.unload = function() { r.off("mousedown", this.buttonDown); r.off("pressup", this.buttonRelease); t.removeChild(r) }; this._initListener = function() { r.on("mousedown", this.buttonDown); r.on("pressup", this.buttonRelease) }; this.addEventListener = function(a, b, c) { e[a] = b; p[a] = c }; this.addEventListenerWithParams = function(a, b, c, n) { e[a] = b; p[a] = c; v = n }; this.setActive = function(a) { d = a; c.gotoAndStop("state_" + d) }; this.buttonRelease = function() { q || (playSound("click", 1, !1), d = !d, c.gotoAndStop("state_" + d), e[ON_MOUSE_UP] && e[ON_MOUSE_UP].call(p[ON_MOUSE_UP], v)) }; this.buttonDown = function() { q || e[ON_MOUSE_DOWN] && e[ON_MOUSE_DOWN].call(p[ON_MOUSE_DOWN], v) }; this.setPosition = function(a, b) { r.x = a; r.y = b }; this.getGlobalPosition = function() { return { x: r.localToGlobal(0, 0).x, y: r.localToGlobal(0, 0).y } }; this.block = function(a) { q = a }; this.setExtracted = function(a, c) { b.visible = a; b.gotoAndStop(c) }; this.highlight = function() { c.gotoAndPlay(0) }; this.stopHighlight = function() { c.gotoAndStop(1) }; this._init(a, m, h, t) } function CGfxButton(a, m, h) { var t, d, q, e, p = [], r, c, b, v; this._init = function(a, c, h) { t = d = 1; q = []; e = []; b = createBitmap(h); b.x = a; b.y = c; b.regX = h.width / 2; b.regY = h.height / 2; s_bMobile || (b.cursor = "pointer"); s_oStage.addChild(b); v = !1; this._initListener() }; this.unload = function() { b.off("mousedown", r); b.off("pressup", c); s_oStage.removeChild(b) }; this.setVisible = function(a) { b.visible = a }; this._initListener = function() { r = b.on("mousedown", this.buttonDown); c = b.on("pressup", this.buttonRelease) }; this.addEventListener = function(a, b, c) { q[a] = b; e[a] = c }; this.addEventListenerWithParams = function(a, b, c, n) { q[a] = b; e[a] = c; p = n }; this.buttonRelease = function() { v || (playSound("click", 1, !1), b.scaleX = d, b.scaleY = t, q[ON_MOUSE_UP] && q[ON_MOUSE_UP].call(e[ON_MOUSE_UP], p)) }; this.buttonDown = function() { v || (b.scaleX = .9 * d, b.scaleY = .9 * t, q[ON_MOUSE_DOWN] && q[ON_MOUSE_DOWN].call(e[ON_MOUSE_DOWN], p)) }; this.setScale = function(a) { t = d = a; b.scaleX = a; b.scaleY = a }; this.setScaleX = function(a) { d = a; b.scaleX = a }; this.setPosition = function(a, c) { b.x = a; b.y = c }; this.setX = function(a) { b.x = a }; this.setY = function(a) { b.y = a }; this.getButtonImage = function() { return b }; this.getX = function() { return b.x }; this.getY = function() { return b.y }; this.block = function(a) { v = a }; this._init(a, m, h); return this } function CMenu() { var a, m, h, t, d, q, e, p, r, c, b, v = null, k, f = null, D = null; this._init = function() { e = createBitmap(s_oSpriteLibrary.getSprite("bg_menu")); s_oStage.addChild(e); var n = s_oSpriteLibrary.getSprite("but_play"); p = new CGfxButton(CANVAS_WIDTH / 2, CANVAS_HEIGHT / 2 + 350, n); p.addEventListener(ON_MOUSE_UP, this._onButPlayRelease, this); SHOW_CREDITS ? (n = s_oSpriteLibrary.getSprite("but_credits"), h = 20 + n.width / 2, t = n.height / 2 + 20, b = new CGfxButton(h, t, n), b.addEventListener(ON_MOUSE_UP, this._onCredits, this), n = s_oSpriteLibrary.getSprite("but_fullscreen"), a = h + n.width / 2 + 10, m = t) : (n = s_oSpriteLibrary.getSprite("but_fullscreen"), a = n.width / 4 + 10, m = n.height / 2 + 10); if (!1 === DISABLE_SOUND_MOBILE || !1 === s_bMobile) n = s_oSpriteLibrary.getSprite("icon_audio"), d = CANVAS_WIDTH - n.width / 4 - 20, q = n.height / 2 + 20, c = new CToggle(d, q, n, s_bAudioActive), c.addEventListener(ON_MOUSE_UP, this._onAudioToggle, this); n = window.document; var v = n.documentElement; f = v.requestFullscreen || v.mozRequestFullScreen || v.webkitRequestFullScreen || v.msRequestFullscreen; D = n.exitFullscreen || n.mozCancelFullScreen || n.webkitExitFullscreen || n.msExitFullscreen; !1 === ENABLE_FULLSCREEN && (f = !1); f && screenfull.enabled && (n = s_oSpriteLibrary.getSprite("but_fullscreen"), k = new CToggle(a, m, n, s_bFullscreen, !0), k.addEventListener(ON_MOUSE_UP, this._onFullscreenRelease, this)); r = new createjs.Shape; r.graphics.beginFill("black").drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT); s_oStage.addChild(r); createjs.Tween.get(r).to({ alpha: 0 }, 1E3).call(function() { s_oStage.removeChild(r) }); this.refreshButtonPos(s_iOffsetX, s_iOffsetY) }; this.unload = function() { p.unload(); p = null; SHOW_CREDITS && b.unload(); s_oStage.removeChild(e); e = null; if (!1 === DISABLE_SOUND_MOBILE || !1 === s_bMobile) c.unload(), c = null; f && screenfull.enabled && k.unload(); s_oMenu = null }; this.refreshButtonPos = function(e, p) { !1 !== DISABLE_SOUND_MOBILE && !1 !== s_bMobile || c.setPosition(d - e, q + p); f && screenfull.enabled && k.setPosition(a + e, m + p); SHOW_CREDITS && b.setPosition(h + e, t + p); null !== v && v.refreshButtonPos(e, p) }; this.exitFromCredits = function() { v = null }; this._onAudioToggle = function() { Howler.mute(s_bAudioActive); s_bAudioActive = !s_bAudioActive }; this._onCredits = function() { v = new CCreditsPanel }; this._onButPlayRelease = function() { this.unload(); s_oMain.gotoLevelMenu() }; this.resetFullscreenBut = function() { f && screenfull.enabled && k.setActive(s_bFullscreen) }; this._onFullscreenRelease = function() { s_bFullscreen ? D.call(window.document) : f.call(window.document.documentElement); sizeHandler() }; s_oMenu = this; this._init() } var s_oMenu = null; function CGame(a, m) { var h, t, d, q; function e(a) { x || (37 === a.keyCode ? (y = "left", x = !0) : 39 === a.keyCode ? (y = "right", x = !0) : 38 === a.keyCode ? (y = "up", x = !0) : 40 === a.keyCode && (y = "down", x = !0)); if (80 === a.keyCode) if (v) c.onButContinueRelease(); else c.onButPauseRelease(); da && 32 === a.keyCode && (s_oGame.nextLevelSpaceBar(!1), c._onButNextLevelRelease()); a.preventDefault(); return !1 } function p(a) { x && (37 === a.keyCode ? x = !1 : 39 === a.keyCode ? x = !1 : 38 === a.keyCode ? x = !1 : 40 === a.keyCode && (x = !1)); a.preventDefault(); return !1 } var r, c, b, v, k, f, D, n, x, z, A, J, I, P, E, K, g, M, Q, V, N, W, R, O = new EasyStar.js, L, F, S, l, G, C, H, B, u, y, T, w, Z, aa, ba, X, ca, da, Y; this._init = function() { setVolume("soundtrack", SOUNDTRACK_VOLUME_IN_GAME); this.setPause(!0); s_oScrollStage = new createjs.Container; s_oStage.addChild(s_oScrollStage); r = createBitmap(s_oSpriteLibrary.getSprite("bg_level_1")); s_oScrollStage.addChild(r); b = m; s_oScrollStage.x = STAGE_POSITION_LEVEL[b].x; s_oScrollStage.y = STAGE_POSITION_LEVEL[b].y; J = 0; V = LIVES; B = ca = S = 0; l = da = !1; X = H = 0; f = []; D = []; g = []; u = []; Z = []; M = !1; L = []; F = 0; Q = DIE_RESTART_LEVEL_TIME; s_oSpriteLibrary.getSprite("object_0"); ba = z = 0; G = !1; w = !0; R = N = 0; this.setLevelFloor(); this.setLevelObject(); this.createCharacter(); this.layerCharacter(); u.left = !1; u.right = !1; u.up = !1; u.down = !1; !1 === s_bMobile ? (document.onkeydown = e, document.onkeyup = p) : (Y = new Hammer(s_oCanvas), Y.get("swipe").set({ direction: Hammer.DIRECTION_ALL }), Y.get("swipe").set({ velocity: .005 }), Y.get("swipe").set({ threshold: .1 }), Y.on("swipeleft", function() { y = "left" }), Y.on("swiperight", function() { y = "right" }), Y.on("swipeup", function() { y = "up" }), Y.on("swipedown", function() { y = "down" })); x = !1; I = OFFSET_SCROLL[b].left; P = OFFSET_SCROLL[b].right; K = OFFSET_SCROLL[b].down; E = OFFSET_SCROLL[b].up; c = new CInterface; W = CELL_HALF_SIZE - 2; A = ""; c.setTotCoin(F); c.refreshTokenMoney(ca); 0 === b ? c.helpPag1(b) : c.showLevelNum(b); $(s_oMain).trigger("start_level", b) }; this.setPause = function(a) { v = a }; this.onExit = function() { setVolume("soundtrack", 1); s_oGame.unload(); s_oMain.gotoMenu(); $(s_oMain).trigger("end_level", b); $(s_oMain).trigger("end_session"); $(s_oMain).trigger("show_interlevel_ad") }; this.unload = function() { s_bMobile ? (Y.off("swipeleft", function() { _oParent._swipeControl("left") }), Y.off("swiperight", function() { _oParent._swipeControl("right") }), Y.off("swipeup", function() { _oParent._swipeControl("up") }), Y.off("swipedown", function() { _oParent._swipeControl("down") })) : (document.onkeydown = null, document.onkeyup = null); c.unload(); createjs.Tween.removeAllTweens(); s_oStage.removeAllChildren() }; this.setLevelFloor = function() { for (var a = FLOOR_LEVEL_POSITION[b], c = FLOOR_LEVEL_DIAGRAM[b], f = a.length, e = a[0].length, k, n, d = 0; d < f; d++) for (var g = 0; g < e; g++) if (k = CELL_SIZE * g + CELL_HALF_SIZE, n = CELL_SIZE * d + CELL_HALF_SIZE, -1 !== a[d][g].type) { var l = s_oSpriteLibrary.getSprite("floor_" + a[d][g].type); D.push(new CFloor(k, n, l, a[d][g].rotation)); L.push({ x: k, y: n }) } aa = s_oScrollStage.numChildren - 1; O.setGrid(c); O.setAcceptableTiles(WALKABLE_CELL); O.setIterationsPerCalculation(ITERATIONS_PER_CALCULATION) }; this.setLevelObject = function() { var a = OBJECTS_LEVEL_POSITION[b]; n = a.length; R = a[0].length; for (var c = 0, e, k, d = 0; d < n; d++) { f[d] = []; for (var g = 0; g < R; g++) { e = CELL_SIZE * g + CELL_HALF_SIZE; k = CELL_SIZE * d + CELL_HALF_SIZE; if (-1 !== a[d][g].type) { var l = s_oSpriteLibrary.getSprite("object_" + a[d][g].type); f[d][g] = new CCell(e, k, l, a[d][g].type, c, g, d); 2 === a[d][g].type ? (F++, f[d][g].setTag("item"), f[d][g].setOccupied(!0), f[d][g].setChildIndex(aa)) : 3 === a[d][g].type || 5 === a[d][g].type || 6 === a[d][g].type ? (f[d][g].setTag("item"), f[d][g].setOccupied(!0), 6 === a[d][g].type && (Z.push(f[d][g]), f[d][g].setTag("trap"), f[d][g].setChildIndex(aa))) : f[d][g].setTag("object"); f[d][g].setCollision(CELL_SIZE + OFFSET_COLLISION_OBJECT[a[d][g].type]) } else f[d][g] = new CCell(e, k, null, a[d][g].type, c, g, d), f[d][g].setCollision(CELL_SIZE), L.push({ x: e, y: k }); c++ } }!0 === SHOW_ID_OBJ && this.textIdObj(a); this.enemyCreation() }; this.canInput = function(a) { l = a }; this.textIdObj = function(a) { for (var b, U, c, f, d = 0; d < n; d++) for (var e = 0; e < R; e++) - 1 !== a[d][e].type && (c = CELL_SIZE * e + CELL_HALF_SIZE, f = CELL_SIZE * d + CELL_HALF_SIZE, b = new createjs.Text(a[d][e].id, "normal 32px " + PRIMARY_FONT, "#fff"), b.textAlign = "center", b.textBaseline = "alphabetic", b.x = c, b.y = f, U = new createjs.Text(a[d][e].id, "normal 32px " + PRIMARY_FONT, "#000"), U.textAlign = "center", U.textBaseline = "alphabetic", U.x = c, U.y = f, U.outline = OUTLINE_TEXT, s_oScrollStage.addChild(U, b)) }; this.createCharacter = function() { for (var a = 0; a < n; a++) for (var c = 0; c < R; c++) CHARACTER_CELL_LEVEL[b] === f[a][c].getID() && (k = new CCharacter(f[a][c].getX(), f[a][c].getY(), f[a][c].getRow(), f[a][c].getCol()), k.setCollision(CELL_SIZE + OFFSET_CHARACTER), d = f[a][c].getX(), q = f[a][c].getY(), h = f[a][c].getRow(), t = f[a][c].getCol(), this.layerCharacter()) }; this.enemyCreation = function() { for (var a = ENEMY_LEVEL[b], c = 0; c < a.length; c++) for (var d = 0; d < n; d++) for (var e = 0; e < R; e++) if (f[d][e].getID() === a[c].start_cell) { var k = f[d][e].getX(), l = f[d][e].getY(); g[c] = new CEnemy(k, l, a[c].type, f[d][e].getCol(), f[d][e].getRow(), f[d + 1][0].getObjectID()); g[c].setID(c); g[c].setCell(a[c].start_cell); g[c].setCollision(CELL_SIZE + OFFSET_COLLISION_ENEMY[a[c].type]); g[c].setMatrix(e, d); this.layerEnemy(c, d); this.enemyAI(c) } }; this.enemyAI = function(a) { var b = g[a].getMatrix(), c = Math.floor(Math.random() * L.length); O.findPath(b.r, b.c, Math.floor(L[c].x / CELL_SIZE), Math.floor(L[c].y / CELL_SIZE), function(b) { null === b ? s_oGame.enemyAI(a) : 2 < b.length ? g[a].setTrajectory(b) : s_oGame.enemyAI(a) }); O.calculate() }; this._control = function(a) { if (A !== a && l && w) switch (a) { case "right": !1 === G ? this.setCharacterState(1, "walk", "right", 1) : this.setCharacterState(1, "attack", "right", 1); break; case "left": !1 === G ? this.setCharacterState(2, "walk", "left", -1) : this.setCharacterState(2, "attack", "left", -1); break; case "up": !1 === G ? this.setCharacterState(3, "walk", "up", -1) : this.setCharacterState(3, "attack", "up", -1); break; case "down": !1 === G ? this.setCharacterState(0, "walk", "down", 1) : this.setCharacterState(0, "attack", "down", 1) } }; this.setCharacterState = function(a, b, c, d) { A = c; z = d; k.switchHero(a); k.playState(b) }; this.nextLevel = function() { this.unloadLevel(); b++; this.resetParamForNewLevel(); this.setLevelFloor(); this.setLevelObject(); this.createCharacter(); this.layerCharacter(); c.setTotCoin(F); c.refreshTokenMoney(ca); c.showLevelNum(b); $(s_oMain).trigger("start_level", b) }; this.resetParamForNewLevel = function() { M = !1; B = -1; z = 0; A = null; y = ""; F = ca = X = ba = 0; s_oScrollStage.x = STAGE_POSITION_LEVEL[b].x; s_oScrollStage.y = STAGE_POSITION_LEVEL[b].y; I = OFFSET_SCROLL[b].left; P = OFFSET_SCROLL[b].right; K = OFFSET_SCROLL[b].down; E = OFFSET_SCROLL[b].up; c.refreshTokenMoney(ca) }; this.manageObjects = function() { for (var a = -1; 2 > a; a++) for (var b = N + a, c = -1; 2 > c; c++) { var d = k.getRow() + c; if (!0 === f[b][d].getOccupied() && "item" === f[b][d].getTag()) { var e = collisionWithCircle(f[b][d], k, .5); if (!0 === e) { this.collisionObject(d, b, A); break } } else if (!0 === f[b][d].getOccupied() && "trap" === f[b][d].getTag() && (e = collisionWithCircle(f[b][d], k, .5), !0 === e)) { this.collisionObject(d, b, A); break } } }; this.prevDirection = function() { var a = k.getRow() - 1, b = k.getRow() + 1, c = k.getCol() - 1, d = k.getCol() + 1; "object" !== f[k.getCol()][a].getTag() ? (u.left = !0, this.prevAction("left")) : (u.left = !1, this.prevCollision("left")); "object" !== f[k.getCol()][b].getTag() ? (u.right = !0, this.prevAction("right")) : (u.right = !1, this.prevCollision("right")); "object" !== f[c][k.getRow()].getTag() ? (u.up = !0, this.prevAction("up")) : (u.up = !1, this.prevCollision("up")); "object" !== f[d][k.getRow()].getTag() ? (u.down = !0, this.prevAction("down")) : (u.down = !1, this.prevCollision("down")) }; this.prevAction = function(a) { y === a && (this._control(y), y = "") }; this.prevCollision = function(a) { A === a && (z = 0, k.playState("idle"), A = "") }; this.collisionObject = function(a, b, c) { if (!(0 < T)) { T = COLLISION_DETECTION_OFFSET; var d = f[b][a].getX(), e = f[b][a].getY(), U = f[b][a].getType(); if (0 === U || 1 === U || 4 === U || 5 === U) { switch (c) { case "left": k.getX() > d && k.setPosition(f[b][a + 1].getX(), k.getY()); break; case "right": k.getX() < d && k.setPosition(f[b][a - 1].getX(), k.getY()); break; case "up": k.getY() > e && k.setPosition(k.getX(), f[b + 1][a].getY()); break; case "down": k.getY() < e && k.setPosition(k.getX(), f[b - 1][a].getY()) } z = 0; k.playState("idle"); 5 === U && f[b][a].activeExplosive() } else 2 === U ? (this.refreshScore(COIN_SCORE), this.addEffectCoin(d, e), this.unloadObject(b, a), F--, playSound("money", 1, !1), this.totCoins()) : 3 === U ? (this.unloadObject(b, a), this.activeBonusAttack()) : 6 === U && !0 === f[b][a].getTrapOut() && this.characterDead() } }; this.borrowExplosion = function(a, b) { this.displayShock(); playSound("barrel_explosion", 1, !1); for (var c = 0; c < g.length; c++) { var d = g[c].getX() - a, e = g[c].getY() - b; d = Math.sqrt(d * d + e * e); d < .5 * g[c].getCollision() + BORROW_EXPLOSION_RANGE && (g[c].dead(), this.addEffectScore(g[c].getX(), g[c].getY(), ENEMY_SCORE_COMBO[H]), this.addScoreEnemy()) } d = k.getX() - a; e = k.getY() - b; d = Math.sqrt(d * d + e * e); d < .5 * k.getCollision() + BORROW_EXPLOSION_RANGE && this.characterDead(); H = 0 }; this.activeBonusAttack = function() { !1 === G && (G = !0, k.playState("attack"), playSound("power_up", 1, !1)); C = TIME_BONUS_ATTACK }; this.totCoins = function() { ca++; c.refreshTokenMoney(ca); 0 < F || (this.setPause(!0), this.canInput(!1), c.levelComplete(b, J, ba, X), S++, k.playState("idle"), this.killAllEnemy(), S === NUM_LEVELS_FOR_ADS && (S = 0, $(s_oMain).trigger("show_interlevel_ad")), s_iLevelReached < b + 2 && (s_iLevelReached = b + 2), $(s_oMain).trigger("end_level", b)) }; this.nextLevelSpaceBar = function(a) { da = a }; this.killAllEnemy = function() { for (var a = 0; a < g.length; a++) g[a].dead() }; this.scrollWorld = function(a, c) { a < I && "left" === A ? s_oScrollStage.x < OFFSET_LEVEL_MAP_LEFT ? (s_oScrollStage.x += CHARACTER_SPEED, I -= CHARACTER_SPEED, P -= CHARACTER_SPEED) : I = OFFSET_SCROLL[b].left : a > P && "right" === A ? s_oScrollStage.x > OFFSET_LEVEL_MAP_RIGHT && (s_oScrollStage.x -= CHARACTER_SPEED, I += CHARACTER_SPEED, P += CHARACTER_SPEED) : c < E && "up" === A ? s_oScrollStage.y < OFFSET_LEVEL_MAP_UP && (s_oScrollStage.y += CHARACTER_SPEED, E -= CHARACTER_SPEED, K -= CHARACTER_SPEED) : c > K && "down" === A && s_oScrollStage.y > OFFSET_LEVEL_MAP_DOWN && (s_oScrollStage.y -= CHARACTER_SPEED, E += CHARACTER_SPEED, K += CHARACTER_SPEED) }; this.restartLevelFromGameOver = function() { V = LIVES + 1; c.refreshLife(V); ca = J = 0; c.refreshScore(J); $(s_oMain).trigger("restart_level", b); for (var a = 0; a < f.length; a++) for (var e = 0; e < f[a].length; e++) f[a][e].unload(); for (a = e = 0; a < g.length; a++) g[a].unload(), e++; g.splice(0, e); k.switchHero(0); k.playState("idle"); k.setPosition(d, q); k.setRow(h); k.setCol(t); A = null; y = ""; c.refreshTokenMoney(ca); s_oScrollStage.x = STAGE_POSITION_LEVEL[b].x; s_oScrollStage.y = STAGE_POSITION_LEVEL[b].y; I = OFFSET_SCROLL[b].left; P = OFFSET_SCROLL[b].right; K = OFFSET_SCROLL[b].down; E = OFFSET_SCROLL[b].up; f = []; g = []; B = -1; ba = F = z = X = 0; this.setLevelObject(); this.layerCharacter(); c.showLevelNum(b) }; this.startAnimEnemy = function(a) { for (var b = 0; b < g.length; b++) g[b].changeState(a) }; this.characterDead = function() { this.setPause(!0); M = !0; playSound("pirate_death", 1, !1); k.playState("die"); this.canInput(!1) }; this.enemyCollision = function() { for (var a = 0; a < R; a++) for (var b = 0; b < g.length; b++) if (!1 === g[b].getDead()) { var c = collisionWithCircle(g[b], k, .5); if (!0 === c && !1 === G) { g[b].playerKilled(!0); this.characterDead(); break } else if (!0 === c && !0 === G) { c = g[b].getMatrix(); this.addEffectScore(g[b].getX(), g[b].getY(), ENEMY_SCORE_COMBO[H]); g[b].dead(); this.addScoreEnemy(); ba++; playSound("enemy_death", 1, !1); "enemy" === f[c.r][c.c].getTag() && (f[c.r][c.c].setOccupied(!1), f[c.r][c.c].setTag("nothing")); break } } }; this.addScoreEnemy = function() { this.refreshScore(ENEMY_SCORE_COMBO[H]); H < ENEMY_SCORE_COMBO.length - 1 && H++ }; this.addEffectScore = function(a, b, c) { var d = new createjs.Text("+" + c, "normal 50px " + PRIMARY_FONT, "#ffb400"); d.textAlign = "center"; d.textBaseline = "alphabetic"; d.x = 0; d.y = 0; c = new createjs.Text("+" + c, "normal 50px " + PRIMARY_FONT, "#000000"); c.textAlign = "center"; c.textBaseline = "alphabetic"; c.x = 2; c.y = 2; var e = new createjs.Container; e.addChild(c, d); e.alpha = 0; e.x = a; e.y = b; s_oScrollStage.addChild(e); createjs.Tween.get(e).to({ alpha: 1, y: b - 50 }, 1E3, createjs.Ease.cubicOut).call(function() { createjs.Tween.get(e).to({ alpha: 0, y: b - 100 }, 1E3, createjs.Ease.cubicIn).call(function() { s_oScrollStage.removeChild(e) }) }) }; this.enemyMovement = function() { for (var a = 0; a < g.length; a++) { var b = !1; if (!1 === g[a].getDead()) { for (var c = 0; c < n; c++) for (var d = 0; d < R; d++) { if (!0 === collisionWithCircle(g[a], f[c][d], .5)) { if (!1 === f[c][d].getOccupied() && "item" !== f[c][d].getTag() || "object" !== f[c][d].getTag()) g[a].getMatrix().c !== c && this.layerEnemy(a, c), g[a].setCell(f[c][d].getID()), g[a].setMatrix(d, c), b = !0; break } else "enemy" === f[c][d].getTag() && (f[c][d].setOccupied(!1), f[c][d].setTag("nothing")); if (b) break } this.canEnemyAttackThePlayer(a); g[a].update(); !1 === G ? (g[a].getEscape() && (g[a].setEscape(!1), g[a].changeState("walk")), g[a].getFollowMode() && this.targetMovement(a)) : (g[a].getEscape() || (g[a].setEscape(!0), g[a].changeState("escape")), g[a].getFollowMode() && (this.enemyAI(a), g[a].followMode(!1))); !0 === g[a].pathFinished() && !1 === g[a].getFollowMode() && this.enemyAI(a) } } }; this.layerEnemy = function(a, b) { for (var c = 0; c < f[b].length; c++) if ("object" === f[b][c].getTag() && !1 === f[b][c].onlyCollision()) { g[a].setChildIndex(f[b][c].getObjectID()); break } }; this.canEnemyAttackThePlayer = function(a) { !0 === G || g[a].getIgnorePlayer() ? g[a].canFollow(!1) : g[a].canFollow(!0) }; this.findTarget = function(a, b) { var c = g[a].getCurrentCell(), d = g[a].getX() - k.getX(), e = g[a].getY() - k.getY(); if (!0 === (Math.sqrt(d * d + e * e) < .5 * k.getCollision() + .5 * RANGE_ENEMY_DETECTION[g[a].getType()] ? !0 : !1)) { d = c.r; c = c.c; var f = k.getRow(), n = k.getCol(); O.findPath(d, c, f, n, function(c) { null === c || 1 > c.length ? (g[a].existingPath(!1), g[a].ignorePlayer(!0), g[a].canFollow(!1), g[a].followMode(!1), s_oGame.enemyAI(a)) : (g[a].existingPath(!0), !0 === b && g[a].setTrajectory(c), g[a].setTargetCoordinate(f, n), g[a].setTargetMove(!1)) }) } else g[a].existingPath(!1), g[a].followMode(!1) }; this.targetMovement = function(a) { var b = g[a].getTargetCoordinate(), c = b.r; b = b.c; k.getCol() === b && k.getRow() === c || g[a].targetMoved(!0) }; this.timeRestartLevel = function() { Q -= 1 / createjs.Ticker.framerate; 0 >= Q && (M = !1, s_oGame.restartLevel(), Q = DIE_RESTART_LEVEL_TIME) }; this.life = function(a) { V += a; c.refreshLife(V) }; this.restartLevel = function() { if (0 < V) { s_oGame.life(-1); for (var a = 0, e = 0; e < g.length; e++) g[e].unload(), a++; g.splice(0, a); this.enemyCreation(); k.switchHero(0); k.playState("idle"); k.setPosition(d, q); k.setRow(h); k.setCol(t); B = -1; this.layerCharacter(); z = 0; A = null; y = ""; c.showLevelNum(b); s_oScrollStage.x = STAGE_POSITION_LEVEL[b].x; s_oScrollStage.y = STAGE_POSITION_LEVEL[b].y; I = OFFSET_SCROLL[b].left; P = OFFSET_SCROLL[b].right; K = OFFSET_SCROLL[b].down; E = OFFSET_SCROLL[b].up } else c.refreshScore(J), c.gameOver(J) }; this.timeBonusAttack = function(a) { 0 < C ? C -= 1 / a : !0 === G && (G = !1, 0 === z ? k.playState("idle") : k.playState("walk"), H = 0) }; this.layerCharacter = function() { for (var a = 0; a < n; a++) if (k.getY() > f[a][0].getY() - W && k.getY() < f[a][0].getY() + W) { N = a; for (a = 0; a < f[k.getCol()].length; a++) if ("object" === f[k.getCol()][a].getTag() && !1 === f[k.getCol()][a].onlyCollision() && N !== B) { k.setChildIndex(f[k.getCol()][a].getObjectID()); B = k.getCol(); break } break } }; this.displayShock = function() { var a = DISPLAY_SHOCK_X, b = DISPLAY_SHOCK_Y; createjs.Tween.get(s_oStage).to({ x: Math.round(Math.random() * a), y: Math.round(Math.random() * b) }, 50).call(function() { createjs.Tween.get(s_oStage).to({ x: Math.round(Math.random() * a * .8), y: -Math.round(Math.random() * b * .8) }, 50).call(function() { createjs.Tween.get(s_oStage).to({ x: Math.round(Math.random() * a * .6), y: Math.round(Math.random() * b * .6) }, 50).call(function() { createjs.Tween.get(s_oStage).to({ x: Math.round(Math.random() * a * .4), y: -Math.round(Math.random() * b * .4) }, 50).call(function() { createjs.Tween.get(s_oStage).to({ x: Math.round(Math.random() * a * .2), y: Math.round(Math.random() * b * .2) }, 50).call(function() { createjs.Tween.get(s_oStage).to({ x: Math.round(Math.random() * a), y: -Math.round(Math.random() * b) }, 50).call(function() { createjs.Tween.get(s_oStage).to({ y: 0, x: 0 }, 50).call(function() {}) }) }) }) }) }) }) }; this.characterCell = function() { for (var a = !1, b = -1; 2 > b; b++) { var c = k.getCol() + b; if (0 < c && c < n) for (var d = 0; d < R; d++) if (!0 === collisionWithCircle(k, f[c][d], .05)) { a = !0; k.setCol(f[c][d].getCol()); k.setRow(f[c][d].getRow()); !1 === f[c][d].getOccupied() && "object" !== f[c][d].getTag() && (k.setCell(f[c][d].getID()), "trap" !== f[c][d].getTag() || "item" !== f[c][d].getTag()) && (f[c][d].setOccupied(!0), f[c][d].setTag("player")); break } else "player" === f[c][d].getTag() && (f[c][d].setOccupied(!1), f[c][d].setTag("nothing")) } a ? (w = !0, this.prevDirection()) : w = !1 === u[A] ? !1 : !0 }; this.manageTrap = function(a) { for (var b = 0; b < Z.length; b++) Z[b].update(a) }; this.refreshScore = function(a) { J += a; X += a; c.refreshScore(J) }; this.unloadLevel = function() { for (var a = 0; a < f.length; a++) for (var b = 0; b < f[a].length; b++) f[a][b].unload(); for (a = 0; a < D.length; a++) D[a].unload(); for (a = b = 0; a < g.length; a++) g[a].unload(), b++; g.splice(0, b); k.unload(); f = []; D = []; g = []; u = []; Z = []; L = []; C = 0; G = !1 }; this.addEffectCoin = function(a, b) { var d = s_oSpriteLibrary.getSprite("object_2"), e = new createjs.SpriteSheet({ images: [d], frames: { width: d.width / OBJECT_SPRITESHEET_NUM[2].width, height: d.height / OBJECT_SPRITESHEET_NUM[2].height, regX: d.width / 2 / OBJECT_SPRITESHEET_NUM[2].width + OFFSET_REG_OBJECT[2].x, regY: d.height / 2 / OBJECT_SPRITESHEET_NUM[2].height + OFFSET_REG_OBJECT[2].y }, animations: OBJECT_SPRITESHEET_NUM[2].animations }); var f = createSprite(e, "normal", d.width / 2 / OBJECT_SPRITESHEET_NUM[2].width + OFFSET_REG_OBJECT[2].x, d.height / 2 / OBJECT_SPRITESHEET_NUM[2].height + OFFSET_REG_OBJECT[2].y, d.width / OBJECT_SPRITESHEET_NUM[2].width, d.height / OBJECT_SPRITESHEET_NUM[2].height); f.gotoAndStop(0); f.x = a + s_oScrollStage.x; f.y = b; s_oStage.addChild(f); var g = c.getCoinSpriteCoordinate(); createjs.Tween.get(f).to({ x: g.x }, 1E3, createjs.Ease.cubicOut).call(function() { createjs.Tween.get(f).to({ y: g.y }, 1E3, createjs.Ease.cubicOut).call(function() { s_oStage.removeChild(f) }) }) }; this.pauseEnemyAnimation = function() { for (var a = 0; a < g.length; a++) g[a].pauseAnimation() }; this.resumeEnemyAnimation = function() { for (var a = 0; a < g.length; a++) g[a].resumeAnimation() }; this.unloadObject = function(a, b) { f[a][b].setOccupied(!1); f[a][b].setTag("nothing"); f[a][b].unload() }; this.unloadEnemy = function(a) { g[a].unload(); g.splice(a, 1); for (a = 0; a < g.length; a++) g[a].setID(a) }; this.update = function() { var a = createjs.Ticker.framerate; if (!1 === v) { var b = k.getX(), d = k.getY(); this.scrollWorld(b, d); this.layerCharacter(); this.characterCell(); this.enemyMovement(); this.enemyCollision(); this.manageObjects(); this.manageTrap(a); k.update(z, A); this.timeBonusAttack(a); O.calculate() }!0 === M && this.timeRestartLevel(); 0 < T && (T -= 1 / a); !0 === SHOW_FPS && c.refreshFPS() }; s_oGame = this; CHARACTER_SPEED = a.character_speed; ENEMY_SPEED = a.enemy_speed; LIVES = a.life_character; COIN_SCORE = a.coin_score; ENEMY_SCORE_COMBO = a.score_kill_enemy; TIME_BONUS_ATTACK = a.time_bonus_attack; NUM_LEVELS_FOR_ADS = a.num_levels_for_ads; this._init() } var s_oGame, s_oScrollStage; function CInterface() { var a, m, h, t, d, q, e, p, r, c, b, v, k = null, f = null, D, n, x, z, A, J, I, P, E, K, g, M, Q, V, N, W, R, O, L, F, S, l, G, C, H, B, u, y, T, w, Z, aa, ba, X; this._init = function() { var g, n = s_oSpriteLibrary.getSprite("but_pause"); r = g = CANVAS_WIDTH - n.width / 2 - 110; c = n.height / 2 + 20; D = new CGfxButton(r, c, n); D.addEventListener(ON_MOUSE_UP, this.onButPauseRelease, this); !1 === DISABLE_SOUND_MOBILE || !1 === s_bMobile ? (n = s_oSpriteLibrary.getSprite("icon_audio"), e = g = CANVAS_WIDTH - n.width / 2 - 170, p = n.height / 2 + 20, b = new CToggle(e, p, n, s_bAudioActive), b.addEventListener(ON_MOUSE_UP, this._onAudioToggle, this), h = e - n.width / 2 - 10, t = p) : (h = r - n.width - 10, t = c); n = s_oSpriteLibrary.getSprite("but_exit"); d = g = CANVAS_WIDTH - n.width / 2 - 10; q = n.height / 2 + 20; x = new CGfxButton(d, q, n); x.addEventListener(ON_MOUSE_UP, this._onExit, this); g = window.document; n = g.documentElement; k = n.requestFullscreen || n.mozRequestFullScreen || n.webkitRequestFullScreen || n.msRequestFullscreen; f = g.exitFullscreen || g.mozCancelFullScreen || g.webkitExitFullscreen || g.msExitFullscreen; !1 === ENABLE_FULLSCREEN && (k = !1); k && screenfull.enabled && (n = s_oSpriteLibrary.getSprite("but_fullscreen"), v = new CToggle(h, t, n, s_bFullscreen, !0), v.addEventListener(ON_MOUSE_UP, this._onFullscreenRelease, this)); S = new createjs.Container; S.x = CANVAS_WIDTH / 2 - 100; S.y = CANVAS_HEIGHT / 2 + 550; J = new createjs.Text(TEXT_SCORE + " 0", "normal 60px " + PRIMARY_FONT, "#ffb400"); J.textAlign = "left"; J.textBaseline = "alphabetic"; J.x = 0; J.y = 0; I = new createjs.Text(TEXT_SCORE + " 0", "normal 60px " + PRIMARY_FONT, "#000000"); I.textAlign = "left"; I.textBaseline = "alphabetic"; I.x = 2; I.y = 2; S.addChild(I, J); s_oStage.addChild(S); a = CANVAS_WIDTH / 2; m = CANVAS_HEIGHT / 2 - 680; F = new createjs.Container; F.x = a; F.y = m; g = s_oSpriteLibrary.getSprite("life"); V = createBitmap(g); V.x = -360; V.y = .5 * CANVAS_HEIGHT - 600; V.regX = g.width; V.regY = g.height; N = new createjs.Text("x" + LIVES, "normal 60px " + PRIMARY_FONT, "#ffb400"); N.textAlign = "center"; N.textBaseline = "alphabetic"; N.x = V.x + 30; N.y = V.y - 10; W = new createjs.Text("x" + LIVES, "normal 60px " + PRIMARY_FONT, "#000000"); W.textAlign = "center"; W.textBaseline = "alphabetic"; W.x = N.x + 2; W.y = N.y + 2; !0 === SHOW_FPS && (l = new createjs.Text("", "normal 60px " + PRIMARY_FONT, "#ffb400"), l.textAlign = "center", l.textBaseline = "alphabetic", l.x = .5 * CANVAS_WIDTH + -330, l.y = .5 * CANVAS_HEIGHT + 550, G = new createjs.Text("", "normal 60px " + PRIMARY_FONT, "#000000"), G.textAlign = "center", G.textBaseline = "alphabetic", G.x = .5 * CANVAS_WIDTH + -328, G.y = .5 * CANVAS_HEIGHT + 552, s_oStage.addChild(G, l)); F.addChild(W, V, N); s_oStage.addChild(F); this.moneyCount(); this.refreshButtonPos(s_iOffsetX, s_iOffsetY) }; this.refreshButtonPos = function(a, f) { !1 !== DISABLE_SOUND_MOBILE && !1 !== s_bMobile || b.setPosition(e - a, p + f); k && screenfull.enabled && v.setPosition(h - a, t + f); D.setPosition(r - a, c + f); x.setPosition(d - a, q + f); F.y = m + f; y.y = T.y + f }; this.levelComplete = function(a, b, c, d) { a += 1; setVolume("soundtrack", .1); if (a < OBJECTS_LEVEL_POSITION.length) { D.block(!0); g = new createjs.Container; g.alpha = 0; s_oStage.addChild(g); var e = createBitmap(s_oSpriteLibrary.getSprite("msg_box")); g.addChild(e); (new CTLText(g, CANVAS_WIDTH / 2 - 300, 450, 600, 100, 100, "center", "#000000", PRIMARY_FONT, 1, 0, 0, TEXT_TITLE, !0, !0, !1, !1)).setOutline(OUTLINE_TEXT); new CTLText(g, CANVAS_WIDTH / 2 - 300, 450, 600, 100, 100, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_TITLE, !0, !0, !1, !1); (new CTLText(g, CANVAS_WIDTH / 2 - 300, 580, 600, 100, 70, "center", "#000000", PRIMARY_FONT, 1, 0, 0, TEXT_LEVEL + " " + a + " " + TEXT_COMPLETE, !0, !0, !1, !1)).setOutline(OUTLINE_TEXT); new CTLText(g, CANVAS_WIDTH / 2 - 300, 580, 600, 100, 70, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_LEVEL + " " + a + " " + TEXT_COMPLETE, !0, !0, !1, !1); a = s_oSpriteLibrary.getSprite("enemy_left_right_0"); e = new createjs.SpriteSheet({ images: [a], frames: { width: a.width / 9, height: a.height / 6, regX: a.width / 2 / 9 + ENEMY_OFFSET_REG[0].x, regY: a.height / 2 / 6 + ENEMY_OFFSET_REG[0].y }, animations: { walk: [0, 15, "walk", 1], escape: [16, 31, "attack", 1], die: [32, 53, "die", 1] } }); a = createSprite(e, 53, a.width / 2 / 9 + ENEMY_OFFSET_REG[0].x, a.height / 2 / 6 + ENEMY_OFFSET_REG[0].y, a.width / 9, a.height / 6); a.gotoAndStop(53); a.x = CANVAS_WIDTH / 2 - 50; a.y = 750; g.addChild(a); a = new createjs.Text("x" + c, "normal 80px " + PRIMARY_FONT, "#000000"); a.textAlign = "center"; a.textBaseline = "alphabetic"; a.x = CANVAS_WIDTH / 2 + 50; a.y = 760; a.outline = OUTLINE_TEXT; g.addChild(a); c = new createjs.Text("x" + c, "normal 80px " + PRIMARY_FONT, "#ffb400"); c.textAlign = "center"; c.textBaseline = "alphabetic"; c.x = CANVAS_WIDTH / 2 + 50; c.y = 760; g.addChild(c); (new CTLText(g, CANVAS_WIDTH / 2 - 300, 840, 600, 100, 70, "center", "#000000", PRIMARY_FONT, 1, 0, 0, TEXT_LEVEL + " " + TEXT_SCORE_CASE + " " + d, !0, !0, !1, !1)).setOutline(OUTLINE_TEXT); new CTLText(g, CANVAS_WIDTH / 2 - 300, 840, 600, 100, 70, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_LEVEL + " " + TEXT_SCORE_CASE + " " + d, !0, !0, !1, !1); (new CTLText(g, CANVAS_WIDTH / 2 - 300, 980, 600, 100, 70, "center", "#000000", PRIMARY_FONT, 1, 0, 0, TEXT_SCORE_GAMEOVER + " " + b, !0, !0, !1, !1)).setOutline(OUTLINE_TEXT); new CTLText(g, CANVAS_WIDTH / 2 - 300, 980, 600, 100, 70, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_SCORE_GAMEOVER + " " + b, !0, !0, !1, !1); createjs.Tween.get(g).to({ alpha: 1 }, 1E3, createjs.Ease.cubicOut).call(function() { var a = s_oSpriteLibrary.getSprite("but_continue"); K = new CGfxButton(CANVAS_WIDTH / 2, CANVAS_HEIGHT / 2 + 450, a); K.addEventListener(ON_MOUSE_UP, s_oInterface._onButNextLevelRelease, this); s_oGame.nextLevelSpaceBar(!0) }); playSound("stage_clear", 1, !1) } else this.finishGame(b, c) }; this.moneyCount = function() { B = new createjs.Text("0/10", "normal 70px " + PRIMARY_FONT, "#ffb400"); B.textAlign = "center"; B.textBaseline = "alphabetic"; B.x = .5 * CANVAS_WIDTH + -290; B.y = .5 * CANVAS_HEIGHT + -650; u = new createjs.Text("0/10", "normal 70px " + PRIMARY_FONT, "#000000"); u.textAlign = "center"; u.textBaseline = "alphabetic"; u.x = .5 * CANVAS_WIDTH + -288; u.y = .5 * CANVAS_HEIGHT + -648; var a = s_oSpriteLibrary.getSprite("object_2"), b = new createjs.SpriteSheet({ images: [a], frames: { width: a.width / OBJECT_SPRITESHEET_NUM[2].width, height: a.height / OBJECT_SPRITESHEET_NUM[2].height, regX: a.width / 2 / OBJECT_SPRITESHEET_NUM[2].width + OFFSET_REG_OBJECT[2].x, regY: a.height / 2 / OBJECT_SPRITESHEET_NUM[2].height + OFFSET_REG_OBJECT[2].y }, animations: OBJECT_SPRITESHEET_NUM[2].animations }); w = createSprite(b, "normal", a.width / 2 / OBJECT_SPRITESHEET_NUM[2].width + OFFSET_REG_OBJECT[2].x, a.height / 2 / OBJECT_SPRITESHEET_NUM[2].height + OFFSET_REG_OBJECT[2].y, a.width / OBJECT_SPRITESHEET_NUM[2].width, a.height / OBJECT_SPRITESHEET_NUM[2].height); w.gotoAndStop(0); w.x = .5 * CANVAS_WIDTH - 400; w.y = .5 * CANVAS_HEIGHT - 677; y = new createjs.Container; y.x = 0; y.y = 0; y.addChild(u, B, w); T = { x: 0, y: 0 }; s_oStage.addChild(y) }; this.getCoinSpriteCoordinate = function() { return { x: w.x, y: w.y + y.y } }; this.finishGame = function(a, b) { s_oGame.setPause(!0); D.block(!0); M = new createjs.Container; M.x = .5 * CANVAS_WIDTH; M.y = -100; s_oStage.addChild(M); var c = createBitmap(s_oSpriteLibrary.getSprite("bg_game_completed")); c.x = .5 * -CANVAS_WIDTH; c.y = .5 * -CANVAS_HEIGHT; M.addChild(c); (new CTLText(M, -300, -520, 600, 100, 100, "center", "#000000", PRIMARY_FONT, 1, 0, 0, TEXT_TITLE, !0, !0, !1, !1)).setOutline(OUTLINE_TEXT); new CTLText(M, -300, -520, 600, 100, 100, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_TITLE, !0, !0, !1, !1); (new CTLText(M, -300, -60, 600, 150, 100, "center", "#000000", PRIMARY_FONT, 1, 0, 0, TEXT_GAME_COMPLETED, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(M, -300, -60, 600, 150, 100, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_GAME_COMPLETED, !0, !0, !0, !1); c = s_oSpriteLibrary.getSprite("enemy_left_right_0"); var d = new createjs.SpriteSheet({ images: [c], frames: { width: c.width / 9, height: c.height / 6, regX: c.width / 2 / 9 + ENEMY_OFFSET_REG[0].x, regY: c.height / 2 / 6 + ENEMY_OFFSET_REG[0].y }, animations: { walk: [0, 15, "walk", 1], escape: [16, 31, "attack", 1], die: [32, 53, "die", 1] } }); c = createSprite(d, 53, c.width / 2 / 9 + ENEMY_OFFSET_REG[0].x, c.height / 2 / 6 + ENEMY_OFFSET_REG[0].y, c.width / 9, c.height / 6); c.gotoAndStop(53); c.x = -35; c.y = 160; M.addChild(c); c = new createjs.Text("x" + b, "normal 80px " + PRIMARY_FONT, "#000000"); c.textAlign = "center"; c.textBaseline = "alphabetic"; c.x = 35; c.y = 180; c.outline = OUTLINE_TEXT; M.addChild(c); c = new createjs.Text("x" + b, "normal 80px " + PRIMARY_FONT, "#ffb400"); c.textAlign = "center"; c.textBaseline = "alphabetic"; c.x = 35; c.y = 180; M.addChild(c); (new CTLText(M, -300, 230, 600, 150, 100, "center", "#000000", PRIMARY_FONT, 1, 0, 0, TEXT_FINAL_SCORE + "\n" + a, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(M, -300, 230, 600, 150, 100, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_FINAL_SCORE + "\n" + a, !0, !0, !0, !1); createjs.Tween.get(M).to({ y: .5 * CANVAS_HEIGHT }, 1E3, createjs.Ease.bounceOut).call(function() { var a = s_oSpriteLibrary.getSprite("but_home"); E = new CGfxButton(CANVAS_WIDTH / 2, CANVAS_HEIGHT / 2 + 480, a); E.addEventListener(ON_MOUSE_UP, s_oInterface._onButReturnToMenuRelease, this) }); playSound("game_completed", 1, !1); $(s_oMain).trigger("save_score", a); $(s_oMain).trigger("share_event", a) }; this._onButNextLevelRelease = function() { s_oStage.removeChild(g); g = null; setVolume("soundtrack", SOUNDTRACK_VOLUME_IN_GAME); K.unload(); K = null; D.block(!1); s_oGame.nextLevel() }; this._onButReturnToMenuRelease = function() { s_oGame.onExit() }; this.refreshScore = function(a) { J.text = TEXT_SCORE + " " + a; I.text = TEXT_SCORE + " " + a }; this.refreshTokenMoney = function(a) { B.text = a + "/" + Z; u.text = a + "/" + Z }; this.setTotCoin = function(a) { Z = a }; this.onButPauseRelease = function() { ba = createBitmap(s_oSpriteLibrary.getSprite("bg_level")); ba.on("click", function() {}); var a = new createjs.Text(TEXT_PAUSE, "normal 120px " + PRIMARY_FONT, "#ffb400"); a.textAlign = "center"; a.textBaseline = "alphabetic"; a.x = CANVAS_WIDTH / 2; a.y = CANVAS_HEIGHT / 2 - 180; var b = new createjs.Text(TEXT_PAUSE, "normal 120px " + PRIMARY_FONT, "#000000"); b.textAlign = "center"; b.textBaseline = "alphabetic"; b.x = CANVAS_WIDTH / 2; b.y = CANVAS_HEIGHT / 2 - 180; b.outline = 2 * OUTLINE_TEXT; n = new createjs.Container; n.addChild(ba, b, a); s_oStage.addChild(n); D.block(!0); x.block(!0); a = s_oSpriteLibrary.getSprite("but_continue"); z = new CGfxButton(CANVAS_WIDTH / 2, CANVAS_HEIGHT / 2, a); z.addEventListener(ON_MOUSE_UP, this.onButContinueRelease, this); s_oGame.pauseEnemyAnimation(); createjs.Ticker.paused = !0; s_oGame.setPause(!0) }; this.onButContinueRelease = function() { z.unload(); z = null; ba.off("click", function() {}); s_oStage.removeChild(n); n = null; D.block(!1); x.block(!1); s_oGame.resumeEnemyAnimation(); createjs.Ticker.paused = !1; s_oGame.setPause(!1) }; this.helpPag1 = function(a) { C = new createjs.Container; C.x = .5 * CANVAS_WIDTH; C.y = .5 * CANVAS_HEIGHT; var b = s_oSpriteLibrary.getSprite("msg_box"); Q || (Q = createBitmap(b), Q.on("click", function() { s_oInterface.unloadHelp(a) }, null, !0), s_oStage.addChild(Q)); H = new createjs.Container; (new CTLText(H, -250, -280, 500, 100, 80, "center", "#000", PRIMARY_FONT, 1, 0, 0, TEXT_HOW_TO_PLAY, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(H, -250, -280, 500, 100, 80, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_HOW_TO_PLAY, !0, !0, !0, !1); if (!0 === s_bMobile) { b = TEXT_HELP_PAGE_1_MOBILE; var c = s_oSpriteLibrary.getSprite("swipe"); var d = createBitmap(c); d.regX = .5 * d.width; d.regY = .5 * d.height; d.x = 0; d.y = -120; var e = s_oSpriteLibrary.getSprite("hand_touch"); c = createBitmap(e); c.regX = .5 * e.width; c.regY = .5 * e.height; c.x = -120; c.y = 0; aa = c.x; this.handMovement(c, d) } else { b = TEXT_HELP_PAGE_1_PC; var f = createBitmap(s_oSpriteLibrary.getSprite("keyboard")); f.x = -170; f.y = -150 }(new CTLText(H, -250, 150, 500, 150, 80, "center", "#000", PRIMARY_FONT, 1, 0, 0, b, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(H, -250, 150, 500, 150, 80, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, b, !0, !0, !0, !1); s_bMobile ? C.addChild(H, d, c) : C.addChild(f, H); f = s_oSpriteLibrary.getSprite("but_continue"); z = new CGfxButton(.5 * CANVAS_WIDTH + 350, .5 * CANVAS_HEIGHT + 450, f); z.addEventListenerWithParams(ON_MOUSE_UP, this.onButNextPrevPage, this, { level: a, page: 2 }); s_oStage.addChild(C) }; this.handMovement = function(a, b) { b.x = aa - 120; b.scaleX = 1; b.alpha = 1; createjs.Tween.get(b).to({ alpha: 0 }, 500); createjs.Tween.get(a).to({ x: aa + 240 }, 1E3, createjs.Ease.cubicOut).call(function() { b.x = aa + 300; b.scaleX = -1; b.alpha = 1; createjs.Tween.get(b).to({ alpha: 0 }, 500); createjs.Tween.get(a).to({ x: aa }, 1E3, createjs.Ease.cubicOut).call(function() { s_oInterface.handMovement(a, b) }) }) }; this.helpPag2 = function(a) { Q.on("click", function() { s_oInterface.unloadHelp(a) }, null, !0); s_oStage.addChild(Q); C = new createjs.Container; C.x = .5 * CANVAS_WIDTH; C.y = .5 * CANVAS_HEIGHT - 20; (new CTLText(C, -250, -280, 500, 100, 80, "center", "#000", PRIMARY_FONT, 1, 0, 0, TEXT_HOW_TO_PLAY, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(C, -250, -280, 500, 100, 80, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_HOW_TO_PLAY, !0, !0, !0, !1); (new CTLText(C, -200, -170, 500, 100, 80, "center", "#000", PRIMARY_FONT, 1, 0, 0, TEXT_HELP_ENEMY, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(C, -200, -170, 500, 100, 80, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_HELP_ENEMY, !0, !0, !0, !1); var b = s_oSpriteLibrary.getSprite("enemy_left_right_0"); var c = { images: [b], frames: { width: b.width / 9, height: b.height / 6, regX: b.width / 2 / 9 + ENEMY_OFFSET_REG[0].x, regY: b.height / 2 / 6 + ENEMY_OFFSET_REG[0].y }, animations: { walk: [0, 15, "walk", 1], escape: [16, 31, "attack", 1], die: [32, 53, "die", 1] } }, d = new createjs.SpriteSheet(c); b = createSprite(d, "walk", b.width / 2 / 9 + ENEMY_OFFSET_REG[0].x, b.height / 2 / 6 + ENEMY_OFFSET_REG[0].y, b.width / 9, b.height / 6); b.x = -250; b.y = -100; (new CTLText(C, -200, -70, 500, 120, 80, "left", "#000", PRIMARY_FONT, 1, 0, 0, TEXT_HELP_TNT, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(C, -200, -70, 500, 120, 80, "left", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_HELP_TNT, !0, !0, !0, !1); d = 5; var e = s_oSpriteLibrary.getSprite("object_" + d); c = { images: [e], frames: { width: e.width / OBJECT_SPRITESHEET_NUM[d].width, height: e.height / OBJECT_SPRITESHEET_NUM[d].height, regX: e.width / 2 / OBJECT_SPRITESHEET_NUM[d].width + OFFSET_REG_OBJECT[d].x, regY: e.height / 2 / OBJECT_SPRITESHEET_NUM[d].height + OFFSET_REG_OBJECT[d].y }, animations: OBJECT_SPRITESHEET_NUM[d].animations }; c = new createjs.SpriteSheet(c); e = createSprite(c, "blink", e.width / 2 / OBJECT_SPRITESHEET_NUM[d].width + OFFSET_REG_OBJECT[d].x, e.height / 2 / OBJECT_SPRITESHEET_NUM[d].height + OFFSET_REG_OBJECT[d].y, e.width / OBJECT_SPRITESHEET_NUM[d].width, e.height / OBJECT_SPRITESHEET_NUM[d].height); e.x = -250; e.y = 0; (new CTLText(C, -200, 110, 500, 150, 80, "left", "#000", PRIMARY_FONT, 1, 0, 0, TEXT_HELP_COIN_PART1 + " " + COIN_SCORE + " " + TEXT_HELP_COIN_PART2, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(C, -200, 110, 500, 150, 80, "left", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_HELP_COIN_PART1 + " " + COIN_SCORE + " " + TEXT_HELP_COIN_PART2, !0, !0, !0, !1); d = 2; var f = s_oSpriteLibrary.getSprite("object_" + d); c = { images: [f], frames: { width: f.width / OBJECT_SPRITESHEET_NUM[d].width, height: f.height / OBJECT_SPRITESHEET_NUM[d].height, regX: f.width / 2 / OBJECT_SPRITESHEET_NUM[d].width + OFFSET_REG_OBJECT[d].x, regY: f.height / 2 / OBJECT_SPRITESHEET_NUM[d].height + OFFSET_REG_OBJECT[d].y }, animations: OBJECT_SPRITESHEET_NUM[d].animations }; c = new createjs.SpriteSheet(c); f = createSprite(c, "normal", f.width / 2 / OBJECT_SPRITESHEET_NUM[d].width + OFFSET_REG_OBJECT[d].x, f.height / 2 / OBJECT_SPRITESHEET_NUM[d].height + OFFSET_REG_OBJECT[d].y, f.width / OBJECT_SPRITESHEET_NUM[d].width, f.height / OBJECT_SPRITESHEET_NUM[d].height); f.x = -250; f.y = 180; (new CTLText(C, -200, 280, 500, 150, 80, "left", "#000", PRIMARY_FONT, 1, 0, 0, TEXT_HELP_SWORD, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(C, -200, 280, 500, 150, 80, "left", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_HELP_SWORD, !0, !0, !0, !1); d = 3; var g = s_oSpriteLibrary.getSprite("object_" + d); c = { images: [g], frames: { width: g.width / OBJECT_SPRITESHEET_NUM[d].width, height: g.height / OBJECT_SPRITESHEET_NUM[d].height, regX: g.width / 2 / OBJECT_SPRITESHEET_NUM[d].width + OFFSET_REG_OBJECT[d].x, regY: g.height / 2 / OBJECT_SPRITESHEET_NUM[d].height + OFFSET_REG_OBJECT[d].y }, animations: OBJECT_SPRITESHEET_NUM[d].animations }; c = new createjs.SpriteSheet(c); d = createSprite(c, "normal", g.width / 2 / OBJECT_SPRITESHEET_NUM[d].width + OFFSET_REG_OBJECT[d].x, g.height / 2 / OBJECT_SPRITESHEET_NUM[d].height + OFFSET_REG_OBJECT[d].y, g.width / OBJECT_SPRITESHEET_NUM[d].width, g.height / OBJECT_SPRITESHEET_NUM[d].height); d.x = -250; d.y = 360; C.addChild(b, e, f, d); b = s_oSpriteLibrary.getSprite("but_continue"); A = new CGfxButton(.5 * CANVAS_WIDTH - 350, .5 * CANVAS_HEIGHT + 450, b); A.setScaleX(-1); A.addEventListenerWithParams(ON_MOUSE_UP, this.onButNextPrevPage, this, { level: a, page: 1 }); z = new CGfxButton(.5 * CANVAS_WIDTH + 350, .5 * CANVAS_HEIGHT + 450, b); z.addEventListenerWithParams(ON_MOUSE_UP, this.onButNextPrevPage, this, { level: a, page: 3 }); s_oStage.addChild(C) }; this.onButNextPrevPage = function(a) { switch (a.page) { case 1: s_oStage.removeChild(C); A.unload(); z.unload(); this.helpPag1(a.level); break; case 2: s_oStage.removeChild(C); z.unload(); this.helpPag2(a.level); break; case 3: this.unloadHelp(a.level) } }; this.gameOver = function(a) { s_oGame.setPause(!0); x.block(!0); O = new createjs.Container; X = createBitmap(s_oSpriteLibrary.getSprite("bg_game_over")); X.x = .5 * -CANVAS_WIDTH; X.y = .5 * -CANVAS_HEIGHT; X.on("click", function() {}); O.addChild(X); (new CTLText(O, -300, -350, 600, 120, 120, "center", "#000", PRIMARY_FONT, 1, 0, 0, TEXT_YOU_ARE_DEAD, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(O, -300, -350, 600, 120, 120, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_YOU_ARE_DEAD, !0, !0, !0, !1); (new CTLText(O, -250, 80, 500, 160, 120, "center", "#000", PRIMARY_FONT, 1, 0, 0, TEXT_GAMEOVER + " " + a, !0, !0, !0, !1)).setOutline(OUTLINE_TEXT); new CTLText(O, -250, 80, 500, 160, 120, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_GAMEOVER + " " + a, !0, !0, !0, !1); O.x = CANVAS_WIDTH / 2; O.y = CANVAS_HEIGHT / 2; O.alpha = 0; s_oStage.addChild(O); createjs.Tween.get(O).to({ alpha: 1 }, 1E3, createjs.Ease.cubicOut).call(function() { var a = s_oSpriteLibrary.getSprite("but_restart"), b = s_oSpriteLibrary.getSprite("but_home"); E = new CGfxButton(CANVAS_WIDTH / 2 + 150, CANVAS_HEIGHT / 2 + 390, b); E.addEventListener(ON_MOUSE_UP, s_oInterface._onButReturnToMenuRelease, this); L = new CGfxButton(CANVAS_WIDTH / 2 - 150, CANVAS_HEIGHT / 2 + 390, a); L.addEventListener(ON_MOUSE_UP, s_oInterface._onButRestartLevelRelease, this) }); $(s_oMain).trigger("save_score", a); $(s_oMain).trigger("share_event", a) }; this.unloadHelp = function(a) { createjs.Tween.get(Q).to({ alpha: 0 }, 1E3, createjs.Ease.cubicOut).call(function() { s_oStage.removeChild(Q) }); createjs.Tween.get(C).to({ alpha: 0 }, 1E3, createjs.Ease.cubicOut).call(function() { s_oStage.removeChild(C); s_oInterface.showLevelNum(a) }); A && (A.unload(), A = null); z && (z.unload(), z = null); s_oStage.removeChild(H) }; this._onButRestartLevelRelease = function() { X.off("click", function() {}); s_oStage.removeChild(O); L.unload(); E.unload(); O = E = L = null; $(s_oMain).trigger("show_interlevel_ad"); s_oGame.restartLevelFromGameOver(); x.block(!1) }; this.showLevelNum = function(a) { var b = a + 1; a = new createjs.Text(TEXT_LEVEL + " " + b, "normal 90px " + PRIMARY_FONT, "#ffffff"); a.textAlign = "left"; a.textBaseline = "alphabetic"; a.x = -90; a.y = 0; b = new createjs.Text(TEXT_LEVEL + " " + b, "normal 90px " + PRIMARY_FONT, "#000000"); b.textAlign = "left"; b.textBaseline = "alphabetic"; b.x = -90; b.y = 0; b.outline = OUTLINE_TEXT + 1; var c = new createjs.Container; c.addChild(b, a); c.scaleX = 0; c.scaleY = 0; c.x = CANVAS_WIDTH / 2; c.y = CANVAS_HEIGHT / 2; s_oStage.addChild(c); createjs.Tween.get(c).to({ scaleX: 1, scaleY: 1 }, 1E3, createjs.Ease.elasticOut).call(function() { createjs.Tween.get(c).wait(500).to({ scaleX: 0, scaleY: 0 }, 1E3, createjs.Ease.elasticIn).call(function() { s_oStage.removeChild(c); s_oGame.setPause(!1); s_oGame.canInput(!0); s_oGame.startAnimEnemy("walk") }) }) }; this.refreshLife = function(a) { N.text = "x" + a; W.text = "x" + a }; this.numLevel = function(a) {}; this.unload = function() { s_oStage.removeChild(R, E, P); P = E = R = null; if (!1 === DISABLE_SOUND_MOBILE || !1 === s_bMobile) b.unload(), b = null; k && screenfull.enabled && v.unload(); s_oInterface = null }; this.refreshFPS = function() { var a = Math.ceil(createjs.Ticker.getMeasuredFPS()); l.text = "FPS:" + a; G.text = "FPS:" + a }; this._onExit = function() { s_oGame.onExit() }; this._onAudioToggle = function() { Howler.mute(s_bAudioActive); s_bAudioActive = !s_bAudioActive }; this.resetFullscreenBut = function() { k && screenfull.enabled && v.setActive(s_bFullscreen) }; this._onFullscreenRelease = function() { s_bFullscreen ? f.call(window.document) : k.call(window.document.documentElement); sizeHandler() }; s_oInterface = this; this._init(); return this } var s_oInterface = null; function CCell(a, m, h, t, d, q, e) { var p, r, c, b, v, k, f, D, n, x, z = null, A = null, J = !1; this._init = function(a, d, e, h, g, m, q) { k = h; p = a; r = d; D = m; n = q; x = BLINK_BEFORE_EXPLOSION; if (-1 !== h && 10 !== h) { g = OFFSET_REG_OBJECT[h].x; m = OFFSET_REG_OBJECT[h].y; if (0 === h || 1 === h || 4 === h || 7 === h || 8 === h || 9 === h) c = createBitmap(e), c.regX = .5 * e.width + g, c.regY = .5 * e.height + m; else if (2 === h || 3 === h || 5 === h || 6 === h) g = new createjs.SpriteSheet({ images: [e], frames: { width: e.width / OBJECT_SPRITESHEET_NUM[h].width, height: e.height / OBJECT_SPRITESHEET_NUM[h].height, regX: e.width / 2 / OBJECT_SPRITESHEET_NUM[h].width + OFFSET_REG_OBJECT[h].x, regY: e.height / 2 / OBJECT_SPRITESHEET_NUM[h].height + OFFSET_REG_OBJECT[h].y }, animations: OBJECT_SPRITESHEET_NUM[h].animations }), c = createSprite(g, "normal", e.width / 2 / OBJECT_SPRITESHEET_NUM[h].width + OFFSET_REG_OBJECT[h].x, e.height / 2 / OBJECT_SPRITESHEET_NUM[h].height + OFFSET_REG_OBJECT[h].y, e.width / OBJECT_SPRITESHEET_NUM[h].width, e.height / OBJECT_SPRITESHEET_NUM[h].height), 6 === h && (A = TIME_TRAP, z = !1); v = 6 !== h ? !0 : !1; c.x = a; c.y = d; s_oScrollStage.addChild(c) } else - 1 === h ? (v = !1, b = "nothing", f = CELL_SIZE) : 10 === h && (v = !0, b = "object", J = !0, f = CELL_SIZE); !0 === SHOW_CELL && (h = s_oSpriteLibrary.getSprite("cell"), e = createBitmap(h), e.x = a, e.y = d, e.regX = .5 * h.width, e.regY = .5 * h.height, s_oScrollStage.addChild(e)) }; this.getX = function() { return p }; this.getY = function() { return r }; this.setObjectPosition = function(a, b) { c && (c.x = a, c.y = b) }; this.activeExplosive = function() { c.gotoAndPlay("blink"); playSound("barrel_active", 1, !1); c.on("animationend", function() { x--; 0 === x && (s_oGame.borrowExplosion(c.x, c.y), c.removeAllEventListeners(), c.gotoAndPlay("explosion"), c.on("animationend", function() { c.removeAllEventListeners(); s_oGame.unloadObject(n, D) })) }) }; this.onlyCollision = function() { return J }; this.getTag = function() { return b }; this.setTag = function(a) { b = a }; this.getRow = function() { return D }; this.getCol = function() { return n }; this.getOccupied = function() { return v }; this.setOccupied = function(a) { v = a }; this.getType = function() { return k }; this.setType = function(a) { k = a }; this.getID = function() { return d }; this.getCollision = function() { return f }; this.setCollision = function(a) { f = a }; this.getObjectID = function() { return s_oScrollStage.getChildIndex(c) }; this.setPosition = function(a, b) { c.x = a; c.y = b }; this.setTrapState = function(a) { c.gotoAndPlay(a); A = TIME_TRAP; c.on("animationend", function() { "out" === a ? (c.gotoAndStop("released"), z = !0) : "in" === a && (c.gotoAndStop("normal"), z = !1); c.removeAllEventListeners() }) }; this.getTrapOut = function() { return z }; this.setChildIndex = function(a) { s_oScrollStage.setChildIndex(c, a) }; this.unload = function() { c && s_oScrollStage.removeChild(c); s_oCell = null }; this.update = function() { 0 < A ? A -= 1 / createjs.Ticker.framerate : !1 === z ? (this.setTrapState("out"), playSound("trap_floor_out", 1, !1)) : !0 === z && (this.setTrapState("in"), playSound("trap_floor_in", 1, !1)) }; s_oCell = this; this._init(a, m, h, t, d, q, e) } var s_oCell; function CCharacter(a, m, h, t) { var d, q, e, p, r, c, b, v, k, f, D; this._init = function(a, b, c, e) { var n = s_oSpriteLibrary.getSprite("hero_bottom"), k = new createjs.SpriteSheet({ images: [n], frames: { width: n.width / 13, height: n.height / 6, regX: n.width / 2 / 13 + CHARACTER_OFFSET_REG.x, regY: n.height / 2 / 6 + CHARACTER_OFFSET_REG.y }, animations: { idle: [0, 23, "idle", 1], walk: [24, 39, "walk", 1], attack: [40, 55, "attack", 1], die: [56, 77, "die", 1] } }); f = c; D = e; d = createSprite(k, "idle", n.width / 2 / 13 + CHARACTER_OFFSET_REG.x, n.height / 2 / 6 + CHARACTER_OFFSET_REG.y, n.width / 13, n.height / 6); v = 0; this.createHeroLeft(); this.createHeroRight(); this.createHeroTop(); d.x = a; d.y = b; r = CHARACTER_SPEED; s_oScrollStage.addChild(d) }; this.getX = function() { switch (v) { case 0: return d.x; case 1: return q.x; case 2: return e.x; case 3: return p.x } }; this.getY = function() { switch (v) { case 0: return d.y; case 1: return q.y; case 2: return e.y; case 3: return p.y } }; this.setPosition = function(a, b) { switch (v) { case 0: d.x = a; d.y = b; break; case 1: q.x = a; q.y = b; break; case 2: e.x = a; e.y = b; break; case 3: p.x = a, p.y = b } }; this.setCell = function(a) { c = a }; this.getCell = function() { return c }; this.getRow = function() { return f }; this.getCol = function() { return D }; this.setRow = function(a) { f = a }; this.setCol = function(a) { D = a }; this.setCollision = function(a) { b = a }; this.getCollision = function() { return b }; this.playState = function(a) { switch (v) { case 0: d.gotoAndPlay(a); if ("die" === a) d.on("animationend", this.stopStateDie); break; case 1: q.gotoAndPlay(a); if ("die" === a) q.on("animationend", this.stopStateDie); break; case 2: e.gotoAndPlay(a); if ("die" === a) e.on("animationend", this.stopStateDie); break; case 3: if (p.gotoAndPlay(a), "die" === a) p.on("animationend", this.stopStateDie) } }; this.stopStateDie = function() { switch (v) { case 0: d.gotoAndStop(77); d.removeAllEventListeners(); break; case 1: q.gotoAndStop(77); q.removeAllEventListeners(); break; case 2: e.gotoAndStop(77); e.removeAllEventListeners(); break; case 3: p.gotoAndStop(77), p.removeAllEventListeners() } }; this.setChildIndex = function(a) { k = a; switch (v) { case 0: s_oScrollStage.setChildIndex(d, k); break; case 1: s_oScrollStage.setChildIndex(q, k); break; case 2: s_oScrollStage.setChildIndex(e, k); break; case 3: s_oScrollStage.setChildIndex(p, k) } s_oScrollStage.setChildIndex(d, a) }; this.unload = function() { s_oScrollStage.removeChild(d); s_oScrollStage.removeChild(q); s_oScrollStage.removeChild(e); s_oScrollStage.removeChild(p); s_oCharacter = null }; this.setSpeed = function(a) { r = a }; this.switchHero = function(a) { switch (a) { case 0: 0 !== v && (1 === v ? (d.x = q.x, d.y = q.y, s_oScrollStage.removeChild(q)) : 2 === v ? (d.x = e.x, d.y = e.y, s_oScrollStage.removeChild(e)) : 3 === v && (d.x = p.x, d.y = p.y, s_oScrollStage.removeChild(p)), s_oScrollStage.addChild(d), s_oScrollStage.setChildIndex(d, k), v = a); break; case 1: 1 !== v && (0 === v ? (q.x = d.x, q.y = d.y, s_oScrollStage.removeChild(d)) : 2 === v ? (q.x = e.x, q.y = e.y, s_oScrollStage.removeChild(e)) : 3 === v && (q.x = p.x, q.y = p.y, s_oScrollStage.removeChild(p)), s_oScrollStage.addChild(q), s_oScrollStage.setChildIndex(q, k), v = a); break; case 2: 2 !== v && (0 === v ? (e.x = d.x, e.y = d.y, s_oScrollStage.removeChild(d)) : 1 === v ? (e.x = q.x, e.y = q.y, s_oScrollStage.removeChild(q)) : 3 === v && (e.x = p.x, e.y = p.y, s_oScrollStage.removeChild(p)), s_oScrollStage.addChild(e), s_oScrollStage.setChildIndex(e, k), v = a); break; case 3: 3 !== v && (0 === v ? (p.x = d.x, p.y = d.y, s_oScrollStage.removeChild(d)) : 1 === v ? (p.x = q.x, p.y = q.y, s_oScrollStage.removeChild(q)) : 2 === v && (p.x = e.x, p.y = e.y, s_oScrollStage.removeChild(e)), s_oScrollStage.addChild(p), s_oScrollStage.setChildIndex(p, k), v = a) } }; this.createHeroLeft = function() { var a = s_oSpriteLibrary.getSprite("hero_left"), b = new createjs.SpriteSheet({ images: [a], frames: { width: a.width / 10, height: a.height / 8, regX: a.width / 2 / 10 + CHARACTER_OFFSET_REG.x, regY: a.height / 2 / 8 + CHARACTER_OFFSET_REG.y }, animations: { idle: [0, 23, "idle", 1], walk: [24, 39, "walk", 1], attack: [40, 55, "attack", 1], die: [56, 77, "die", 1] } }); q = createSprite(b, "idle", a.width / 2 / 10 + CHARACTER_OFFSET_REG.x, a.height / 2 / 8 + CHARACTER_OFFSET_REG.y, a.width / 10, a.height / 8) }; this.createHeroRight = function() { var a = s_oSpriteLibrary.getSprite("hero_right"), b = new createjs.SpriteSheet({ images: [a], frames: { width: a.width / 10, height: a.height / 8, regX: a.width / 2 / 10 + CHARACTER_OFFSET_REG.x, regY: a.height / 2 / 8 + CHARACTER_OFFSET_REG.y }, animations: { idle: [0, 23, "idle", 1], walk: [24, 39, "walk", 1], attack: [40, 55, "attack", 1], die: [56, 77, "die", 1] } }); e = createSprite(b, "idle", a.width / 2 / 10 + CHARACTER_OFFSET_REG.x, a.height / 2 / 8 + CHARACTER_OFFSET_REG.y, a.width / 10, a.height / 8) }; this.createHeroTop = function() { var a = s_oSpriteLibrary.getSprite("hero_top"), b = new createjs.SpriteSheet({ images: [a], frames: { width: a.width / 10, height: a.height / 8, regX: a.width / 2 / 10 + CHARACTER_OFFSET_REG.x, regY: a.height / 2 / 8 + CHARACTER_OFFSET_REG.y }, animations: { idle: [0, 23, "idle", 1], walk: [24, 39, "walk", 1], attack: [40, 55, "attack", 1], die: [56, 77, "die", 1] } }); p = createSprite(b, "idle", a.width / 2 / 10 + CHARACTER_OFFSET_REG.x, a.height / 2 / 8 + CHARACTER_OFFSET_REG.y, a.width / 10, a.height / 8) }; this.update = function(a, b) { switch (v) { case 0: "right" === b || "left" === b ? d.x += r * a : d.y += r * a; break; case 1: "right" === b || "left" === b ? q.x += r * a : q.y += r * a; break; case 2: "right" === b || "left" === b ? e.x += r * a : e.y += r * a; break; case 3: "right" === b || "left" === b ? p.x += r * a : p.y += r * a } }; s_oCharacter = this; this._init(a, m, h, t) } var s_oCharacter; function CEnemy(a, m, h, t, d, q) { var e, p, r, c = null, b, v, k, f, D, n = !1, x = !1, z = !1, A = !0, J, I, P = !0, E = !1, K = !1, g = !1, M, Q, V, N, W, R = !1, O = 1, L = 0, F = 0, S = ENEMY_SPEED[h], l = 0, G = !1, C = 0, H = 0; this._init = function(a, b, c, d, g, k) { I = c; Q = k; c = s_oSpriteLibrary.getSprite("enemy_bottom_" + c); k = new createjs.SpriteSheet({ images: [c], frames: { width: c.width / 9, height: c.height / 6, regX: c.width / 2 / 9 + ENEMY_OFFSET_REG[I].x, regY: c.height / 2 / 6 + ENEMY_OFFSET_REG[I].y }, animations: { walk: [0, 15, "walk", 1], escape: [16, 31, "attack", 1], die: [32, 53, "die", 1] } }); e = createSprite(k, 0, c.width / 2 / 9 + ENEMY_OFFSET_REG[I].x, c.height / 2 / 6 + ENEMY_OFFSET_REG[I].y, c.width / 9, c.height / 6); e.stop(); this.createEnemyTop(); this.createEnemyLeftRight(); e.x = a; e.y = b; f = { r: d, c: g }; W = 0; N = D = !1; s_oScrollStage.addChild(e); s_oScrollStage.setChildIndex(e, Q); M = "walk" }; this.getX = function() { if (!0 === P) return e.x; if (!0 === E) return p.x; if (K) return r.x }; this.getY = function() { if (!0 === P) return e.y; if (!0 === E) return p.y; if (K) return r.y }; this.setPosition = function(a, b) { !0 === P ? (e.x = a, e.y = b) : !0 === E ? (p.x = a, p.y = b) : !0 === K && (r.x = a, r.y = b) }; this.setID = function(a) { b = a }; this.getID = function() { return b }; this.setCell = function(a) { v = a }; this.setChildIndex = function(a) { Q = a; P ? s_oScrollStage.setChildIndex(e, Q) : E ? s_oScrollStage.setChildIndex(p, Q) : K && s_oScrollStage.setChildIndex(r, Q) }; this.getCell = function() { return v }; this.createEnemyTop = function() { var a = s_oSpriteLibrary.getSprite("enemy_top_" + h), b = new createjs.SpriteSheet({ images: [a], frames: { width: a.width / 9, height: a.height / 6, regX: a.width / 2 / 9 + ENEMY_OFFSET_REG[I].x, regY: a.height / 2 / 6 + ENEMY_OFFSET_REG[I].y }, animations: { walk: [0, 15, "walk", 1], escape: [16, 31, "attack", 1], die: [32, 53, "die", 1] } }); p = createSprite(b, 0, a.width / 2 / 9 + ENEMY_OFFSET_REG[I].x, a.height / 2 / 6 + ENEMY_OFFSET_REG[I].y, a.width / 9, a.height / 6) }; this.createEnemyLeftRight = function() { var a = s_oSpriteLibrary.getSprite("enemy_left_right_" + h), b = new createjs.SpriteSheet({ images: [a], frames: { width: a.width / 9, height: a.height / 6, regX: a.width / 2 / 9 + ENEMY_OFFSET_REG[I].x, regY: a.height / 2 / 6 + ENEMY_OFFSET_REG[I].y }, animations: { walk: [0, 15, "walk", 1], escape: [16, 31, "attack", 1 ], die: [32, 53, "die", 1] } }); r = createSprite(b, 0, a.width / 2 / 9 + ENEMY_OFFSET_REG[I].x, a.height / 2 / 6 + ENEMY_OFFSET_REG[I].y, a.width / 9, a.height / 6) }; this.setCollision = function(a) { k = a }; this.setFound = function(a) { D = a }; this.getFound = function() { return D }; this.getCollision = function() { return k }; this.getMatrix = function() { return f }; this.pauseAnimation = function() { P ? e.stop() : E ? p.stop() : K && r.stop() }; this.resumeAnimation = function() { P ? e.play() : E ? p.play() : K && r.play() }; this.setMatrix = function(a, b) { f = { r: a, c: b } }; this.getType = function() { return I }; this.unload = function() { s_oScrollStage.removeChild(e); s_oScrollStage.removeChild(p); s_oScrollStage.removeChild(r); s_oEnemy = c = null }; this.setSpeed = function(a) {}; this.getCurrentCell = function() { if (null !== c) return c[L] }; this.setTrajectory = function(a, b) { this.newPath(); c = []; for (var d = 0; d < a.length; d++) c.push({ r: a[d].x, c: a[d].y, y: a[d].y * CELL_SIZE + CELL_HALF_SIZE, x: a[d].x * CELL_SIZE + CELL_HALF_SIZE }) }; this.setPlayerKilled = function(a) {}; this.newPath = function() { O = 1; F = L = 0; S = ENEMY_SPEED[h]; H = C = l = 0; R = G = !1 }; this.pathFinished = function() { return G }; this.__moveEnemy = function() { if (!0 === G) R = !1; else { var a = l + s_iTimeElaps; a >= S ? (a = S, R = !1, l = a - S) : l = a; var b = easeLinear(a, 0, CELL_SIZE, S); a = c[L].x + C * b; b = c[L].y + H * b; !0 === P ? (e.x = a, e.y = b) : !0 === E ? (p.x = a, p.y = b) : !0 === K && (r.x = a, r.y = b); !1 === R && (L = F) } }; this.getTargetCoordinate = function() { return J }; this.setTargetCoordinate = function(a) { J = { r: a.r, c: a.c } }; this.__followNextCellPath = function() { L + O === c.length ? G = !0 : (F = L + O, l = 0, C = c[L].x < c[F].x ? 1 : c[L].x > c[F].x ? -1 : 0, H = c[L].y < c[F].y ? 1 : c[L].y > c[F].y ? -1 : 0, this.changeAnimDirection()) }; this.changeAnimDirection = function() { if (!1 === P && 1 === H) { if (!0 === E) { var a = p.x; var b = p.y; s_oScrollStage.removeChild(p); E = !1 } else !0 === K && (a = r.x, b = r.y, s_oScrollStage.removeChild(r), K = !1); P = !0; e.x = a; e.y = b; s_oScrollStage.addChild(e); s_oScrollStage.setChildIndex(e, Q); e.gotoAndPlay(M) } else if (!1 === E && -1 === H) !0 === P ? (a = e.x, b = e.y, s_oScrollStage.removeChild(e), P = !1) : !0 === K && (a = r.x, b = r.y, s_oScrollStage.removeChild(r), K = !1), E = !0, p.x = a, p.y = b, s_oScrollStage.addChild(p), s_oScrollStage.setChildIndex(p, Q), p.gotoAndPlay(M); else if (1 === C || -1 === C) !1 === K && (!0 === P ? (a = e.x, b = e.y, s_oScrollStage.removeChild(e), P = !1) : !0 === E && (a = p.x, b = p.y, s_oScrollStage.removeChild(p), E = !1), K = !0, r.x = a, r.y = b, s_oScrollStage.addChild(r), s_oScrollStage.setChildIndex(r, Q), r.gotoAndPlay(M)), r.scaleX = 1 === C ? 1 : -1 }; this.changeState = function(a) { if (!0 === P) { if (e.gotoAndPlay(a), "die" === a) e.on("animationend", this.stopStateDie) } else if (!0 === E) { if (p.gotoAndPlay(a), "die" === a) p.on("animationend", this.stopStateDie) } else if (!0 === K && (r.gotoAndPlay(a), "die" === a)) r.on("animationend", this.stopStateDie); M = a }; this.stopStateDie = function() { !0 === P ? (e.gotoAndStop(53), e.removeAllEventListeners(), createjs.Tween.get(e).to({ alpha: 0 }, 500).call(function() { s_oGame.unloadEnemy(b) })) : !0 === E ? (p.gotoAndStop(53), p.removeAllEventListeners(), createjs.Tween.get(p).to({ alpha: 0 }, 500).call(function() { s_oGame.unloadEnemy(b) })) : !0 === K && (r.gotoAndStop(53), r.removeAllEventListeners(), createjs.Tween.get(r).to({ alpha: 0 }, 500).call(function() { s_oGame.unloadEnemy(b) })) }; this.getChildIndex = function() { return Q }; this.setTargetMove = function(a) { A = a }; this.canFollow = function(a) { n = a }; this.getIgnorePlayer = function() { return N }; this.ignorePlayer = function(a) { N = a; !0 === a && (W = 3) }; this.existingPath = function(a) { x = a }; this.followMode = function(a) { z = a }; this.getFollowMode = function() { return z }; this.getEscape = function() { return V }; this.setEscape = function(a) { V = a }; this.targetMoved = function(a) { A = a }; this.playerKilled = function() {}; this.dead = function() { g = !0; this.changeState("die") }; this.getDead = function() { return g }; this.update = function() { 0 < W ? W -= 1 / createjs.Ticker.framerate : N = !1; null !== c && (!0 !== R && (!1 === N && (!0 === n && !1 === z && s_oGame.findTarget(b, !1), !0 === x && !0 === n && this.followMode(!0), !0 === z && !0 === A && s_oGame.findTarget(b, !0)), this.__followNextCellPath(), R = !0), this.__moveEnemy(), !0 === z && this.playerKilled()) }; s_oEnemy = this; this._init(a, m, h, t, d, q) } var s_oEnemy; function CFloor(a, m, h, t) { var d; this._init = function(a, e, h, m) { d = createBitmap(h); d.regX = .5 * h.width; d.regY = .5 * h.height; d.x = a; d.y = e; d.rotation = m; s_oScrollStage.addChild(d) }; this.unload = function() { s_oScrollStage.removeChild(d); s_oFloor = d = null }; s_oFloor = this; this._init(a, m, h, t) } var s_oFloor; function CLevelMenu() { var a, m, h, t, d, q = [], e, p, r, c; this._init = function() { e = createBitmap(s_oSpriteLibrary.getSprite("bg_menu")); e.x = 0; e.y = 0; s_oStage.addChild(e); e = createBitmap(s_oSpriteLibrary.getSprite("bg_level")); s_oStage.addChild(e); d = new createjs.Container; d.x = 0; d.y = 0; (new CTLText(d, CANVAS_WIDTH / 2 - 250, 420, 500, 100, 100, "center", "#000", PRIMARY_FONT, 1, 0, 0, TEXT_SELECT_A_LEVEL, !0, !0, !1, !1)).setOutline(OUTLINE_TEXT); new CTLText(d, CANVAS_WIDTH / 2 - 250, 420, 500, 100, 100, "center", "#ffb400", PRIMARY_FONT, 1, 0, 0, TEXT_SELECT_A_LEVEL, !0, !0, !1, !1); s_oStage.addChild(d); for (var b = .5 * CANVAS_WIDTH - 20, v = -50, k = 170, f = 0; f < FLOOR_LEVEL_POSITION.length; f++, v += 135) 550 < v && (v = -50, k += 150), f < s_iLevelReached ? (q[f] = new CLevelBut(b - 200 + v, 425 + k, s_oSpriteLibrary.getSprite("but_level"), !0, f + 1), q[f].addEventListenerWithParams(ON_MOUSE_DOWN, this._onClick, this, f)) : q[f] = new CLevelBut(b - 200 + v, 425 + k, s_oSpriteLibrary.getSprite("but_level"), !1, f + 1), s_bFirstTime = !0; if (!1 === DISABLE_SOUND_MOBILE || !1 === s_bMobile) v = s_oSpriteLibrary.getSprite("icon_audio"), a = b = CANVAS_WIDTH - v.width / 2 - 60, m = v.height / 2 + 20, r = new CToggle(a, m, v, s_bAudioActive), r.addEventListener(ON_MOUSE_UP, this._onAudioToggle, this); v = s_oSpriteLibrary.getSprite("but_exit"); b = CANVAS_WIDTH - v.width / 2 - 100; h = b + 85; t = v.height / 2 + 20; p = new CGfxButton(h, t, v); p.addEventListener(ON_MOUSE_UP, this._onExit, this); c = new createjs.Shape; c.graphics.beginFill("black").drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT); s_oStage.addChild(c); createjs.Tween.get(c).to({ alpha: 0 }, 1E3).call(function() { s_oStage.removeChild(c) }); this.refreshButtonPos(s_iOffsetX, s_iOffsetY) }; this.unload = function() { for (var a = 0; a < FLOOR_LEVEL_POSITION.length; a++) q[a].unload(); s_oLevelMenu = null; s_oStage.removeAllChildren() }; this.refreshButtonPos = function(b, c) { !1 !== DISABLE_SOUND_MOBILE && !1 !== s_bMobile || r.setPosition(a - b, m + c); p.setPosition(h - b, t + c) }; this._onNumModeToggle = function(a) { a === NUM_ACTIVE ? ((void 0).setActive(!1), (void 0).setActive(!0)) : ((void 0).setActive(!0), (void 0).setActive(!1)) }; this._onAudioToggle = function() { Howler.mute(s_bAudioActive); s_bAudioActive = !s_bAudioActive }; this._onClick = function(a) { q[a].ifClickable() && (s_oLevelMenu.unload(), s_oMain.gotoGame(a)) }; this._onExit = function() { s_oLevelMenu.unload(); s_oMain.gotoMenu() }; s_oLevelMenu = this; this._init() } var s_oLevelMenu = null; function CLevelBut(a, m, h, t, d) { var q, e, p, r = [], c = [], b; this._init = function(a, c, f, h) { e = []; p = []; var k = new createjs.SpriteSheet({ images: [f], frames: { width: f.width / 2, height: f.height, regX: f.width / 2 / 2, regY: f.height / 2 }, animations: { state_true: [0], state_false: [1] } }); q = h; b = createSprite(k, "state_" + q, f.width / 2 / 2, f.height / 2, f.width / 2, f.height); b.mouseEnabled = h; b.x = a; b.y = c; b.stop(); s_bMobile || (b.cursor = "pointer"); s_oStage.addChild(b); r.push(b); f = new createjs.Text(d, "70px " + PRIMARY_FONT, "#000000"); f.x = a; f.y = c + 20; f.textAlign = "center"; f.textBaseline = "alphabetic"; f.lineWidth = 200; f.outline = 6; s_oStage.addChild(f); f = new createjs.Text(d, "70px " + PRIMARY_FONT, "#6a3006"); f.x = a; f.y = c + 20; f.textAlign = "center"; f.textBaseline = "alphabetic"; f.lineWidth = 200; s_oStage.addChild(f); this._initListener() }; this.unload = function() { b.off("mousedown", this.buttonDown); b.off("pressup", this.buttonRelease); s_oStage.removeChild(b) }; this._initListener = function() { b.on("mousedown", this.buttonDown); b.on("pressup", this.buttonRelease) }; this.viewBut = function(a) { s_oStage.addChild(a) }; this.addEventListener = function(a, b, c) { e[a] = b; p[a] = c }; this.addEventListenerWithParams = function(a, b, d, h) { e[a] = b; p[a] = d; c = h }; this.ifClickable = function() { return !0 === b.mouseEnabled ? 1 : 0 }; this.setActive = function(a, b) { q = b; r[a].gotoAndStop("state_" + q); r[a].mouseEnabled = !0 }; this.buttonRelease = function() { b.scaleX = 1; b.scaleY = 1; playSound("click", 1, !1); q = !q; b.gotoAndStop("state_" + q); e[ON_MOUSE_UP] && e[ON_MOUSE_UP].call(p[ON_MOUSE_UP], c) }; this.buttonDown = function() { b.scaleX = .9; b.scaleY = .9; e[ON_MOUSE_DOWN] && e[ON_MOUSE_DOWN].call(p[ON_MOUSE_DOWN], c) }; this.setPosition = function(a, c) { b.x = a; b.y = c }; this.setVisible = function(a) { b.visible = a }; this._init(a, m, h, t) } function CCreditsPanel() { var a, m, h, t, d, q, e, p, r, c; this._init = function() { c = new createjs.Container; s_oStage.addChild(c); m = createBitmap(s_oSpriteLibrary.getSprite("bg_game_completed")); c.addChild(m); e = new createjs.Shape; e.graphics.beginFill("#0f0f0f").drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT); e.alpha = .01; a = e.on("click", this._onLogoButRelease); c.addChild(e); var b = s_oSpriteLibrary.getSprite("but_exit"); t = new CGfxButton(170, 250, b, c); t.addEventListener(ON_MOUSE_UP, this.unload, this); q = new createjs.Text(TEXT_CREDITS_DEVELOPED, "60px " + PRIMARY_FONT, "#000"); q.textAlign = "center"; q.textBaseline = "alphabetic"; q.x = CANVAS_WIDTH / 2; q.y = 820; q.outline = OUTLINE_TEXT; c.addChild(q); d = new createjs.Text(TEXT_CREDITS_DEVELOPED, "60px " + PRIMARY_FONT, "#ffb400"); d.textAlign = "center"; d.textBaseline = "alphabetic"; d.x = CANVAS_WIDTH / 2; d.y = 820; c.addChild(d); b = s_oSpriteLibrary.getSprite("logo_ctl"); h = createBitmap(b); h.regX = b.width / 2; h.regY = b.height / 2; h.x = CANVAS_WIDTH / 2; h.y = 900; c.addChild(h); r = new createjs.Text("www.codethislab.com", "60px " + PRIMARY_FONT, "#000"); r.textAlign = "center"; r.textBaseline = "alphabetic"; r.x = CANVAS_WIDTH / 2; r.y = 1030; r.outline = OUTLINE_TEXT; c.addChild(r); p = new createjs.Text("www.codethislab.com", "60px " + PRIMARY_FONT, "#ffb400"); p.textAlign = "center"; p.textBaseline = "alphabetic"; p.x = CANVAS_WIDTH / 2; p.y = 1030; c.addChild(p); this.refreshButtonPos(s_iOffsetX, s_iOffsetY) }; this.refreshButtonPos = function(a, c) {}; this.unload = function() { e.off("click", a); t.unload(); t = null; s_oStage.removeChild(c); s_oMenu.exitFromCredits() }; this._onLogoButRelease = function() { window.open("http://www.codethislab.com/index.php?&l=en", "_blank") }; this._init() } CTLText.prototype = { constructor: CTLText, __autofit: function() { if (this._bFitText) { for (var a = this._iFontSize; (this._oText.getBounds().height > this._iHeight - 2 * this._iPaddingV || this._oText.getBounds().width > this._iWidth - 2 * this._iPaddingH) && !(a--, this._oText.font = a + "px " + this._szFont, this._oText.lineHeight = Math.round(a * this._fLineHeightFactor), this.__updateY(), this.__verticalAlign(), 8 > a);); this._iFontSize = a } }, __verticalAlign: function() { if (this._bVerticalAlign) { var a = this._oText.getBounds().height; this._oText.y -= (a - this._iHeight) / 2 + this._iPaddingV } }, __updateY: function() { this._oText.y = this._y + this._iPaddingV; switch (this._oText.textBaseline) { case "middle": this._oText.y += this._oText.lineHeight / 2 + (this._iFontSize * this._fLineHeightFactor - this._iFontSize) } }, __createText: function(a) { this._bDebug && (this._oDebugShape = new createjs.Shape, this._oDebugShape.graphics.beginFill("rgba(255,0,0,0.5)").drawRect(this._x, this._y, this._iWidth, this._iHeight), this._oContainer.addChild(this._oDebugShape)); this._oText = new createjs.Text(a, this._iFontSize + "px " + this._szFont, this._szColor); this._oText.textBaseline = "middle"; this._oText.lineHeight = Math.round(this._iFontSize * this._fLineHeightFactor); this._oText.textAlign = this._szAlign; this._oText.lineWidth = this._bMultiline ? this._iWidth - 2 * this._iPaddingH : null; switch (this._szAlign) { case "center": this._oText.x = this._x + this._iWidth / 2; break; case "left": this._oText.x = this._x + this._iPaddingH; break; case "right": this._oText.x = this._x + this._iWidth - this._iPaddingH } this._oContainer.addChild(this._oText); this.refreshText(a) }, setVerticalAlign: function(a) { this._bVerticalAlign = a }, setOutline: function(a) { null !== this._oText && (this._oText.outline = a) }, setShadow: function(a, m, h, t) { null !== this._oText && (this._oText.shadow = new createjs.Shadow(a, m, h, t)) }, setColor: function(a) { this._oText.color = a }, setAlpha: function(a) { this._oText.alpha = a }, removeTweens: function() { createjs.Tween.removeTweens(this._oText) }, getText: function() { return this._oText }, getY: function() { return this._y }, getFontSize: function() { return this._iFontSize }, refreshText: function(a) { "" === a && (a = " "); null === this._oText && this.__createText(a); this._oText.text = a; this._oText.font = this._iFontSize + "px " + this._szFont; this._oText.lineHeight = Math.round(this._iFontSize * this._fLineHeightFactor); this.__autofit(); this.__updateY(); this.__verticalAlign() } }; function CTLText(a, m, h, t, d, q, e, p, r, c, b, v, k, f, D, n, x) { this._oContainer = a; this._x = m; this._y = h; this._iWidth = t; this._iHeight = d; this._bMultiline = n; this._iFontSize = q; this._szAlign = e; this._szColor = p; this._szFont = r; this._iPaddingH = b; this._iPaddingV = v; this._bVerticalAlign = D; this._bFitText = f; this._bDebug = x; this._oDebugShape = null; this._fLineHeightFactor = c; this._oText = null; k && this.__createText(k) } function extractHostname(a) { a = -1 < a.indexOf("://") ? a.split("/")[2] : a.split("/")[0]; a = a.split(":")[0]; return a = a.split("?")[0] } function extractRootDomain(a) { a = extractHostname(a); var m = a.split("."), h = m.length; 2 < h && (a = m[h - 2] + "." + m[h - 1]); return a } var getClosestTop = function() { var a = window, m = !1; try { for (; a.parent.document !== a.document;) if (a.parent.document) a = a.parent; else { m = !0; break } } catch (h) { m = !0 } return { topFrame: a, err: m } }, getBestPageUrl = function(a) { var m = a.topFrame, h = ""; if (a.err) try { try { h = window.top.location.href } catch (d) { var t = window.location.ancestorOrigins; h = t[t.length - 1] } } catch (d) { h = m.document.referrer } else h = m.location.href; return h }, TOPFRAMEOBJ = getClosestTop(), PAGE_URL = getBestPageUrl(TOPFRAMEOBJ); function seekAndDestroy() { for (var a = extractRootDomain(PAGE_URL), m = [String.fromCharCode(99, 111, 100, 101, 116, 104, 105, 115, 108, 97, 98, 46, 99, 111, 109), String.fromCharCode(101, 110, 118, 97, 116, 111, 46, 99, 111, 109), String.fromCharCode(99, 111, 100, 101, 99, 97, 110, 121, 111, 110, 46, 99, 111, 109), String.fromCharCode(99, 111, 100, 101, 99, 97, 110, 121, 111, 110, 46, 110, 101, 116)], h = 0; h < m.length; h++) if (m[h] === a) return !0; return !1 };
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генераци� �траницы: 0.01 |
proxy
|
phpinfo
|
�а�тройка