// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com 'use strict'; function s() { return function() {} } function ca(l) { return function() { return this[l] } } function w(l) { return function() { return l } } var da = {}, ea, fa, ga, y, ha, B, F, la, ma, na, G, oa, pa, qa, ra, sa, ta, ua, va, wa, J, xa, ya, za, Ba, Ca, Da, Ea, Fa, Ga, Ha, Ia, Ja, Ka, M, La, Ma, Na, Oa, Pa, Qa, Ra, Sa, Ta, Ua, Va, Wa, Xa, Ya, Za, $a, ab, bb, cb, db, eb, fb, gb, hb, ib, jb, kb, lb, mb, nb, ob, pb, qb, rb, sb, tb, ub, vb, wb, xb, yb, zb, Ab, N, Bb, Cb, Db, O, Eb, Fb = {}, Gb = {}; "function" !== typeof Object.getPrototypeOf && (Object.getPrototypeOf = "object" === typeof "test".__proto__ ? function(l) { return l.__proto__ }: function(l) { return l.constructor.prototype }); (function() { function l(b, m, k, n) { this.set(b, m, k, n) } function q() { this.Wa = this.Va = this.Ya = this.Xa = this.cb = this.bb = this.ra = this.qa = 0 } function a(b, m, k, n) { b < m ? k < n ? (t = b < k ? b: k, r = m > n ? m: n) : (t = b < n ? b: n, r = m > k ? m: k) : k < n ? (t = m < k ? m: k, r = b > n ? b: n) : (t = m < n ? m: n, r = b > k ? b: k) } function g() { this.Ec = this.nc = null; this.ie = 0; m && (this.nc = new Set); this.ze = []; this.$c = !0 } function d(b) { n[ka++] = b } function u() { this.ja = this.Kg = this.y = this.kh = 0 } function h(b) { this.qe = []; this.Aj = this.Cj = this.Dj = this.Bj = 0; this.sf(b) } function c(b, m) { this.Hm = b; this.Gm = m; this.cells = {} } function f(b, m, k) { var n; return x.length ? (n = x.pop(), n.Sn = b, n.x = m, n.y = k, n) : new fa(b, m, k) } function e(b, m, k) { this.Sn = b; this.x = m; this.y = k; this.rg = new ga } y = function(b) { window.console && window.console.log && window.console.log(b) }; ea = function(b) { return b }; ha = function(b) { return "undefined" === typeof b }; B = function(b) { return "number" === typeof b }; F = function(b) { return "string" === typeof b }; la = function(b) { return 0 > b ? -b: b }; ma = function(b, m) { return b < m ? b: m }; na = Math.PI; G = function(b) { return 0 <= b ? b | 0 : (b | 0) - 1 }; oa = function(b) { var m = b | 0; return m === b ? m: m + 1 }; pa = function(b, m, k, n, d, c, x, e) { var v, h, f, r; b < k ? (h = b, v = k) : (h = k, v = b); d < x ? (r = d, f = x) : (r = x, f = d); if (v < r || h > f) return ! 1; m < n ? (h = m, v = n) : (h = n, v = m); c < e ? (r = c, f = e) : (r = e, f = c); if (v < r || h > f) return ! 1; v = d - b + x - k; h = c - m + e - n; b = k - b; m = n - m; d = x - d; c = e - c; e = la(m * d - c * b); return la(d * h - c * v) > e ? !1 : la(b * h - m * v) <= e }; l.prototype.set = function(b, m, k, n) { this.left = b; this.top = m; this.right = k; this.bottom = n }; l.prototype.copy = function(b) { this.left = b.left; this.top = b.top; this.right = b.right; this.bottom = b.bottom }; l.prototype.width = function() { return this.right - this.left }; l.prototype.height = function() { return this.bottom - this.top }; l.prototype.offset = function(b, m) { this.left += b; this.top += m; this.right += b; this.bottom += m; return this }; l.prototype.normalize = function() { var b = 0; this.left > this.right && (b = this.left, this.left = this.right, this.right = b); this.top > this.bottom && (b = this.top, this.top = this.bottom, this.bottom = b) }; l.prototype.ec = function(b, m) { return b >= this.left && b <= this.right && m >= this.top && m <= this.bottom }; l.prototype.Tm = function(b) { return this.left === b.left && this.top === b.top && this.right === b.right && this.bottom === b.bottom }; qa = l; q.prototype.Eg = function(b) { this.qa = b.left; this.ra = b.top; this.bb = b.right; this.cb = b.top; this.Xa = b.right; this.Ya = b.bottom; this.Va = b.left; this.Wa = b.bottom }; q.prototype.fl = function(b, m) { if (0 === m) this.Eg(b); else { var k = Math.sin(m), n = Math.cos(m), d = b.left * k, c = b.top * k, e = b.right * k, k = b.bottom * k, x = b.left * n, v = b.top * n, h = b.right * n, n = b.bottom * n; this.qa = x - c; this.ra = v + d; this.bb = h - c; this.cb = v + e; this.Xa = h - k; this.Ya = n + e; this.Va = x - k; this.Wa = n + d } }; q.prototype.offset = function(b, m) { this.qa += b; this.ra += m; this.bb += b; this.cb += m; this.Xa += b; this.Ya += m; this.Va += b; this.Wa += m; return this }; var t = 0, r = 0; q.prototype.Fj = function(b) { a(this.qa, this.bb, this.Xa, this.Va); b.left = t; b.right = r; a(this.ra, this.cb, this.Ya, this.Wa); b.top = t; b.bottom = r }; q.prototype.ec = function(b, m) { var k = this.bb - this.qa, n = this.cb - this.ra, d = this.Xa - this.qa, c = this.Ya - this.ra, e = b - this.qa, x = m - this.ra, v = k * k + n * n, h = k * d + n * c, n = k * e + n * x, f = d * d + c * c, r = d * e + c * x, a = 1 / (v * f - h * h), k = (f * n - h * r) * a, v = (v * r - h * n) * a; if (0 <= k && 0 < v && 1 > k + v) return ! 0; k = this.Va - this.qa; n = this.Wa - this.ra; v = k * k + n * n; h = k * d + n * c; n = k * e + n * x; a = 1 / (v * f - h * h); k = (f * n - h * r) * a; v = (v * r - h * n) * a; return 0 <= k && 0 < v && 1 > k + v }; q.prototype.hh = function(b, m) { if (m) switch (b) { case 0: return this.qa; case 1: return this.bb; case 2: return this.Xa; case 3: return this.Va; case 4: return this.qa; default: return this.qa } else switch (b) { case 0: return this.ra; case 1: return this.cb; case 2: return this.Ya; case 3: return this.Wa; case 4: return this.ra; default: return this.ra } }; ra = q; sa = function(b, m) { for (var k in m) m.hasOwnProperty(k) && (b[k] = m[k]); return b }; ta = function(b, m) { var k, n; m = G(m); if (! (0 > m || m >= b.length)) { k = m; for (n = b.length - 1; k < n; k++) b[k] = b[k + 1]; b.length = n } }; ua = function(b, m) { b.length = m.length; var k, n; k = 0; for (n = m.length; k < n; k++) b[k] = m[k] }; va = function(b, m) { var k, n; k = 0; for (n = b.length; k < n; ++k) if (b[k] === m) return k; return - 1 }; wa = function(b, m) { var k = va(b, m); - 1 !== k && ta(b, k) }; J = function(b) { return b / (180 / na) }; xa = function(b) { return b * (180 / na) }; ya = function(b) { b %= 360; 0 > b && (b += 360); return b }; za = function(b) { b %= 2 * na; 0 > b && (b += 2 * na); return b }; Ba = function(b) { return ya(xa(b)) }; Ca = function(b) { return za(J(b)) }; Da = function(b, m, k, n) { return Math.atan2(n - m, k - b) }; Ea = function(b, m) { if (b === m) return 0; var k = Math.sin(b), n = Math.cos(b), d = Math.sin(m), c = Math.cos(m), k = k * d + n * c; return 1 <= k ? 0 : -1 >= k ? na: Math.acos(k) }; Fa = function(b, m, k) { var n = Math.sin(b), d = Math.cos(b), c = Math.sin(m), e = Math.cos(m); return Math.acos(n * c + d * e) > k ? 0 < d * c - n * e ? za(b + k) : za(b - k) : za(m) }; Ga = function(b, m) { var k = Math.sin(b), n = Math.cos(b), d = Math.sin(m), c = Math.cos(m); return 0 >= n * d - k * c }; Ha = function(b, m, k, n) { b = k - b; m = n - m; return Math.sqrt(b * b + m * m) }; Ia = function(b, m) { return ! b !== !m }; Ja = function(b) { for (var m in b) if (b.hasOwnProperty(m)) return ! 0; return ! 1 }; Ka = function(b) { for (var m in b) b.hasOwnProperty(m) && delete b[m] }; var p = +new Date; M = function() { if ("undefined" !== typeof window.performance) { var b = window.performance; if ("undefined" !== typeof b.now) return b.now(); if ("undefined" !== typeof b.webkitNow) return b.webkitNow(); if ("undefined" !== typeof b.mozNow) return b.mozNow(); if ("undefined" !== typeof b.msNow) return b.msNow() } return Date.now() - p }; var b = !1, k = b = !1, v = !1; "undefined" !== typeof window && (b = /chrome/i.test(navigator.userAgent) || /chromium/i.test(navigator.userAgent), b = !b && /safari/i.test(navigator.userAgent), k = /(iphone|ipod|ipad)/i.test(navigator.userAgent), v = window.c2ejecta); var m = !b && !v && !k && "undefined" !== typeof Set && "undefined" !== typeof Set.prototype.forEach; g.prototype.contains = function(b) { return this.Vb() ? !1 : m ? this.nc.has(b) : this.Ec && this.Ec.hasOwnProperty(b) }; g.prototype.add = function(b) { if (m) this.nc.has(b) || (this.nc.add(b), this.$c = !1); else { var k = b.toString(), n = this.Ec; n ? n.hasOwnProperty(k) || (n[k] = b, this.ie++, this.$c = !1) : (this.Ec = {}, this.Ec[k] = b, this.ie = 1, this.$c = !1) } }; g.prototype.remove = function(b) { if (!this.Vb()) if (m) this.nc.has(b) && (this.nc["delete"](b), this.$c = !1); else if (this.Ec) { b = b.toString(); var k = this.Ec; k.hasOwnProperty(b) && (delete k[b], this.ie--, this.$c = !1) } }; g.prototype.clear = function() { this.Vb() || (m ? this.nc.clear() : (this.Ec = null, this.ie = 0), this.ze.length = 0, this.$c = !0) }; g.prototype.Vb = function() { return 0 === this.count() }; g.prototype.count = function() { return m ? this.nc.size: this.ie }; var n = null, ka = 0; g.prototype.bp = function() { if (!this.$c) { if (m) this.ze.length = this.nc.size, n = this.ze, ka = 0, this.nc.forEach(d), n = null, ka = 0; else { var b = this.ze; b.length = this.ie; var k, c = 0, e = this.Ec; if (e) for (k in e) e.hasOwnProperty(k) && (b[c++] = e[k]) } this.$c = !0 } }; g.prototype.ye = function() { this.bp(); return this.ze }; ga = g; new ga; u.prototype.add = function(b) { this.y = b - this.kh; this.Kg = this.ja + this.y; this.kh = this.Kg - this.ja - this.y; this.ja = this.Kg }; u.prototype.reset = function() { this.ja = this.Kg = this.y = this.kh = 0 }; La = u; Ma = function(b) { return b.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&") }; h.prototype.sf = function(b) { this.Xk = b; this.xg = b.length / 2; this.qe.length = b.length; this.nh = this.oh = -1; this.Gj = 0 }; h.prototype.jo = function() { return ! this.Xk.length }; h.prototype.Qa = function() { for (var b = this.qe, m = b[0], k = m, n = b[1], d = n, c, e, x = 1, v = this.xg; x < v; ++x) e = 2 * x, c = b[e], e = b[e + 1], c < m && (m = c), c > k && (k = c), e < n && (n = e), e > d && (d = e); this.Bj = m; this.Cj = k; this.Dj = n; this.Aj = d }; h.prototype.Eg = function(b, m, k) { this.qe.length = 8; this.xg = 4; var n = this.qe; n[0] = b.left - m; n[1] = b.top - k; n[2] = b.right - m; n[3] = b.top - k; n[4] = b.right - m; n[5] = b.bottom - k; n[6] = b.left - m; n[7] = b.bottom - k; this.oh = b.right - b.left; this.nh = b.bottom - b.top; this.Qa() }; h.prototype.Fm = function(b, m, k) { if (this.oh !== b || this.nh !== m || this.Gj !== k) { this.oh = b; this.nh = m; this.Gj = k; var n, d, c, e, x, v = 0, h = 1, f = this.Xk, r = this.qe; 0 !== k && (v = Math.sin(k), h = Math.cos(k)); k = 0; for (c = this.xg; k < c; k++) n = 2 * k, d = n + 1, e = f[n] * b, x = f[d] * m, r[n] = e * h - x * v, r[d] = x * h + e * v; this.Qa() } }; h.prototype.ec = function(b, m) { var k = this.qe; if (b === k[0] && m === k[1]) return ! 0; var n, d, c, e = this.xg, x = this.Bj - 110, v = this.Dj - 101, h = this.Cj + 131, f = this.Aj + 120, r, a, ka = 0, L = 0; for (n = 0; n < e; n++) d = 2 * n, c = 2 * ((n + 1) % e), r = k[d], d = k[d + 1], a = k[c], c = k[c + 1], pa(x, v, b, m, r, d, a, c) && ka++, pa(h, f, b, m, r, d, a, c) && L++; return 1 === ka % 2 || 1 === L % 2 }; Na = h; c.prototype.Xj = function(b, m, k) { var n; n = this.cells[b]; return n ? (n = n[m]) ? n: k ? (n = f(this, b, m), this.cells[b][m] = n) : null: k ? (n = f(this, b, m), this.cells[b] = {}, this.cells[b][m] = n) : null }; c.prototype.pj = function(b) { return G(b / this.Hm) }; c.prototype.qj = function(b) { return G(b / this.Gm) }; c.prototype.update = function(b, m, k) { var n, d, c, e, v; if (m) for (n = m.left, d = m.right; n <= d; ++n) for (c = m.top, e = m.bottom; c <= e; ++c) if (!k || !k.ec(n, c)) if (v = this.Xj(n, c, !1)) v.remove(b), v.Vb() && (v.rg.clear(), 1E3 > x.length && x.push(v), this.cells[n][c] = null); if (k) for (n = k.left, d = k.right; n <= d; ++n) for (c = k.top, e = k.bottom; c <= e; ++c) m && m.ec(n, c) || this.Xj(n, c, !0).Wn(b) }; Oa = c; var x = []; e.prototype.Vb = function() { return this.rg.Vb() }; e.prototype.Wn = function(b) { this.rg.add(b) }; e.prototype.remove = function(b) { this.rg.remove(b) }; fa = e; var L = "lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" "); Pa = function(b) { return 0 >= b || 11 <= b ? "source-over": L[b - 1] }; Qa = function(b, m, k) { if (k) switch (b.Pa = k.ONE, b.Oa = k.ONE_MINUS_SRC_ALPHA, m) { case 1: b.Pa = k.ONE; b.Oa = k.ONE; break; case 3: b.Pa = k.ONE; b.Oa = k.ZERO; break; case 4: b.Pa = k.ONE_MINUS_DST_ALPHA; b.Oa = k.ONE; break; case 5: b.Pa = k.DST_ALPHA; b.Oa = k.ZERO; break; case 6: b.Pa = k.ZERO; b.Oa = k.SRC_ALPHA; break; case 7: b.Pa = k.ONE_MINUS_DST_ALPHA; b.Oa = k.ZERO; break; case 8: b.Pa = k.ZERO; b.Oa = k.ONE_MINUS_SRC_ALPHA; break; case 9: b.Pa = k.DST_ALPHA; b.Oa = k.ONE_MINUS_SRC_ALPHA; break; case 10: b.Pa = k.ONE_MINUS_DST_ALPHA, b.Oa = k.SRC_ALPHA } }; Ra = function(b) { return Math.round(1E6 * b) / 1E6 }; Sa = function(b, m) { return "string" !== typeof b || "string" !== typeof m || b.length !== m.length ? !1 : b === m ? !0 : b.toLowerCase() === m.toLowerCase() }; Ta = function(b) { b = b.target; return ! b || b === document || b === window || document && document.body && b === document.body || Sa(b.tagName, "canvas") ? !0 : !1 } })(); (function() { function l(b) { if (b && (b.getContext || b.dc) && !b.c2runtime) { b.c2runtime = this; var k = this; this.Wh = /crosswalk/i.test(navigator.userAgent) || /xwalk/i.test(navigator.userAgent) || !("undefined" === typeof window.c2isCrosswalk || !window.c2isCrosswalk); this.kc = !this.Wh && "undefined" !== typeof window.device && ("undefined" !== typeof window.device.cordova || "undefined" !== typeof window.device.phonegap) || "undefined" !== typeof window.c2isphonegap && window.c2isphonegap; this.ic = !!b.dc; this.Ve = "undefined" !== typeof window.AppMobi || this.ic; this.Ob = !!window.c2cocoonjs; this.Dc = !!window.c2ejecta; this.Ob && (CocoonJS.App.onSuspended.addEventListener(function() { k.setSuspended(!0) }), CocoonJS.App.onActivated.addEventListener(function() { k.setSuspended(!1) })); this.Dc && (document.addEventListener("pagehide", function() { k.setSuspended(!0) }), document.addEventListener("pageshow", function() { k.setSuspended(!1) }), document.addEventListener("resize", function() { k.setSize(window.innerWidth, window.innerHeight) })); this.ma = this.ic || this.Ob || this.Dc; this.Xh = /msie/i.test(navigator.userAgent) || /trident/i.test(navigator.userAgent) || /iemobile/i.test(navigator.userAgent); this.nk = /tizen/i.test(navigator.userAgent); this.mk = /android/i.test(navigator.userAgent) && !this.nk && !this.Xh; this.ei = (/iphone/i.test(navigator.userAgent) || /ipod/i.test(navigator.userAgent)) && !this.Xh; this.sk = /ipad/i.test(navigator.userAgent); this.rk = this.ei || this.sk || this.Dc; this.ko = this.ei && /os\s6/i.test(navigator.userAgent); this.bg = /chrome/i.test(navigator.userAgent) || /chromium/i.test(navigator.userAgent); this.Xn = /amazonwebappplatform/i.test(navigator.userAgent); this.ao = /firefox/i.test(navigator.userAgent); this.eo = /safari/i.test(navigator.userAgent) && !this.bg && !this.Xh; this.gd = "undefined" !== typeof window.c2nodewebkit || /nodewebkit/i.test(navigator.userAgent); this.ho = !("undefined" === typeof window.c2isWindows8 || !window.c2isWindows8); this.io = !("undefined" === typeof window.c2isWindows8Capable || !window.c2isWindows8Capable); this.bi = !("undefined" === typeof window.c2isWindowsPhone8 || !window.c2isWindowsPhone8); this.ci = !("undefined" === typeof window.c2isWindowsPhone81 || !window.c2isWindowsPhone81); this.ok = this.ho || this.io || this.ci; this.Zn = !("undefined" === typeof window.c2isBlackberry10 || !window.c2isBlackberry10); this.Yn = this.mk && !this.bg && !this.ao && !this.Xn && !this.ma; this.devicePixelRatio = 1; this.jc = this.kc || this.Wh || this.Ve || this.Ob || this.mk || this.rk || this.bi || this.ci || this.Zn || this.nk || this.Dc; this.jc || (this.jc = /(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent)); "undefined" === typeof cr_is_preview || this.gd || "?nw" !== window.location.search && !/nodewebkit/i.test(navigator.userAgent) || (this.gd = !0); this.$n = "undefined" !== typeof cr_is_preview && -1 < window.location.search.indexOf("debug"); this.canvas = b; this.Hj = document.getElementById("c2canvasdiv"); this.T = this.r = this.Ac = null; this.Fh = ""; this.Uf = !1; this.Lk = this.Mk = 0; this.canvas.oncontextmenu = function(b) { b.preventDefault && b.preventDefault(); return ! 1 }; this.canvas.onselectstart = function(b) { b.preventDefault && b.preventDefault(); return ! 1 }; this.ic && (window.c2runtime = this); this.gd && (window.ondragover = function(b) { b.preventDefault(); return ! 1 }, window.ondrop = function(b) { b.preventDefault(); return ! 1 }, require("nw.gui").App.clearCache()); this.width = b.width; this.height = b.height; this.G = this.width; this.F = this.height; this.Nf = this.width; this.Mf = this.height; this.$e = window.innerWidth; this.Ze = window.innerHeight; this.N = !0; this.Xe = !1; Date.now || (Date.now = function() { return + new Date }); this.plugins = []; this.types = {}; this.m = []; this.ka = []; this.ii = {}; this.Xb = []; this.Ch = {}; this.wc = []; this.Be = []; this.Sg = []; this.xm = []; this.ym = []; this.fc = new ga; this.Yh = !1; this.Wb = 0; this.$h = !1; this.kb = []; this.Fc = this.Sa = this.lg = this.Li = ""; this.vf = this.hl = !1; this.uh = this.ef = this.cd = this.Zd = 0; this.xf = 1; this.jd = new La; this.gg = 0; this.Ek = !0; this.qg = this.Wf = this.Rf = this.Nc = this.bf = this.Eh = 0; this.rh = null; this.Mj = []; this.Bh = []; this.Qf = -1; this.mi = [[]]; this.Xi = this.ng = 0; this.yg(null); this.ni = []; this.og = -1; this.Me = this.Ik = this.gf = 0; this.wf = []; this.Pg = this.zg = -1; this.fg = !0; this.ke = 0; this.We = !1; this.Ro = 0; this.Fe = null; this.Tn = !1; this.fi = 0; this.fd = this.Nh = this.Di = !1; this.Kk = new ga; this.qi = new ga; this.ri = new ga; this.Ho = []; new Na([]); new Na([]); this.Xd = []; this.fe = {}; this.Yd = {}; this.Wd = {}; this.Ae = {}; this.Ej = {}; this.Ck = this.kg = this.ob = this.Cb = this.Bk = this.jg = this.S = null; this.xe = this.di = !1; this.Gh = [null, null]; this.Cd = 0; this.ld = {}; this.Gg = this.je = null; this.load(); this.devicePixelRatio = (this.Gd = (!this.ma || this.Dc) && this.cp && !this.Yn) ? window.devicePixelRatio || window.webkitDevicePixelRatio || window.mozDevicePixelRatio || window.msDevicePixelRatio || 1 : 1; this.Ma(); var c, m = this.eh && !(this.gd || this.ok || this.bi || this.Wh); 0 < this.mb && this.setSize(window.innerWidth, window.innerHeight, !0); try { this.Rm && (this.Ob || this.Dc || !this.ma) && (c = { alpha: m, depth: !1, antialias: !1, failIfMajorPerformanceCaveat: !0 }, this.Ac = b.getContext("webgl", c) || b.getContext("experimental-webgl", c)) } catch(n) {} if (this.Ac) { this.ma || (this.Ha = document.createElement("canvas"), jQuery(this.Ha).appendTo(this.canvas.parentNode), this.Ha.oncontextmenu = w(!1), this.Ha.onselectstart = w(!1), this.Ha.width = this.Nf, this.Ha.height = this.Mf, jQuery(this.Ha).css({ width: this.Nf + "px", height: this.Mf + "px" }), this.Vk(), this.xi = this.Ha.getContext("2d")); this.r = new da.up(this.Ac, this.jc); this.r.Nd(b.width, b.height); this.r.rq = 0 !== this.Pm; this.T = null; this.canvas.addEventListener("webglcontextlost", function(b) { b.preventDefault(); k.so(); console.log("[Construct 2] WebGL context lost"); window.cr_setSuspended(!0) }, !1); this.canvas.addEventListener("webglcontextrestored", function() { k.r.Cq(); k.r.Nd(k.r.width, k.r.height, !0); k.Cb = null; k.ob = null; k.Gh[0] = null; k.Gh[1] = null; k.to(); k.N = !0; console.log("[Construct 2] WebGL context restored"); window.cr_setSuspended(!1) }, !1); var d, e, h, f, r, a; b = 0; for (c = this.m.length; b < c; b++) for (e = this.m[b], m = 0, d = e.A.length; m < d; m++) f = e.A[m], f.Ja = this.r.ek(f.id), this.xe = this.xe || this.r.wg(f.Ja); b = 0; for (c = this.Xb.length; b < c; b++) { r = this.Xb[b]; m = 0; for (d = r.A.length; m < d; m++) f = r.A[m], f.Ja = this.r.ek(f.id); m = 0; for (d = r.I.length; m < d; m++) for (a = r.I[m], e = 0, h = a.A.length; e < h; e++) f = a.A[e], f.Ja = this.r.ek(f.id), this.xe = this.xe || this.r.wg(f.Ja) } } else { if (0 < this.mb && this.ic) { this.canvas = null; document.oncontextmenu = w(!1); document.onselectstart = w(!1); this.T = AppMobi.canvas.getContext("2d"); try { this.T.samplingMode = this.M ? "smooth": "sharp", this.T.globalScale = 1, this.T.HTML5CompatibilityMode = !0, this.T.imageSmoothingEnabled = this.M } catch(g) {} 0 !== this.width && 0 !== this.height && (this.T.width = this.width, this.T.height = this.height) } this.T || (c = this.Ob ? { antialias: !!this.M, alpha: m }: { alpha: m }, this.T = b.getContext("2d", c), this.T.webkitImageSmoothingEnabled = this.M, this.T.mozImageSmoothingEnabled = this.M, this.T.msImageSmoothingEnabled = this.M, this.T.imageSmoothingEnabled = this.M); this.xi = this.Ha = null } this.Ng = function() { k.pc(!1) }; window == window.top || this.ma || this.ok || this.bi || (document.addEventListener("mousedown", function() { window.focus() }, !0), document.addEventListener("touchstart", function() { window.focus() }, !0)); "undefined" !== typeof cr_is_preview && (this.Ob && console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"), -1 < window.location.search.indexOf("continuous") && (y("Reloading for continuous preview"), this.lg = "__c2_continuouspreview", this.vf = !0), this.zo && !this.jc && (jQuery(window).focus(function() { k.setSuspended(!1) }), jQuery(window).blur(function() { k.setSuspended(!0) }))); 0 === this.mb && this.Gd && 1 < this.devicePixelRatio && this.setSize(this.Aa, this.za, !0); this.ol(); this.Qn(); this.go(); this.R = {} } } function q(b) { b.target.result.createObjectStore("saves", { keyPath: "slot" }) } function a(b, k, c, m) { var n = indexedDB.open("_C2SaveStates"); n.onupgradeneeded = q; n.onerror = m; n.onsuccess = function(n) { n = n.target.result; n.onerror = m; n.transaction(["saves"], "readwrite").objectStore("saves").put({ slot: b, data: k }).onsuccess = c } } function g(b, k, c) { var m = indexedDB.open("_C2SaveStates"); m.onupgradeneeded = q; m.onerror = c; m.onsuccess = function(m) { m = m.target.result; m.onerror = c; var d = m.transaction(["saves"]).objectStore("saves").get(b); d.onsuccess = function() { d.result ? k(d.result.data) : k(null) } } } function d() { y("Reloading for continuous preview"); window.c2cocoonjs ? CocoonJS.App.reload() : -1 < window.location.search.indexOf("continuous") ? window.location.reload(!0) : window.location += "?continuous" } function u(b) { var k, c = {}; for (k in b) ! b.hasOwnProperty(k) || b[k] instanceof ga || b[k] && "undefined" !== typeof b[k].pq || (c[k] = b[k]); return c } l.prototype.setSize = function(b, k, c) { var m = 0, n = 0, d = 0, e = 0, e = 0, h = this.ko && this.eo && !navigator.standalone && !this.ma && !this.kc; h && (k += 60); if (this.$e !== b || this.Ze !== k || c) { this.$e = b; this.Ze = k; var f = this.mb, r = (document.mozFullScreen || document.webkitIsFullScreen || !!document.msFullscreenElement || document.fullScreen || this.We) && !this.kc; if (r || 0 !== this.mb || c) r && 0 < this.Cd && (f = this.Cd), c = this.devicePixelRatio, 4 <= f ? (d = this.Aa / this.za, b / k > d ? (d *= k, 5 === f ? (e = d * c / this.Aa, 1 < e ? e = Math.floor(e) : 1 > e && (e = 1 / Math.ceil(1 / e)), d = this.Aa * e / c, e = this.za * e / c, m = (b - d) / 2, n = (k - e) / 2, b = d, k = e) : (m = (b - d) / 2, b = d)) : (e = b / d, 5 === f ? (e = e * c / this.za, 1 < e ? e = Math.floor(e) : 1 > e && (e = 1 / Math.ceil(1 / e)), d = this.Aa * e / c, e = this.za * e / c, m = (b - d) / 2, n = (k - e) / 2, b = d) : n = (k - e) / 2, k = e), r && !this.gd && (n = m = 0)) : this.gd && this.We && 0 === this.Vj && (m = Math.floor((b - this.Aa) / 2), n = Math.floor((k - this.za) / 2), b = this.Aa, k = this.za), 2 > f && (this.Ee = c), this.Gd && this.sk && 1 < c && (1024 <= b && (b = 1023), 1024 <= k && (k = 1023)), this.Nf = Math.round(b), this.Mf = Math.round(k), this.width = Math.round(b * c), this.height = Math.round(k * c), this.N = !0, this.xl ? (this.G = this.width, this.F = this.height, this.Nb = !0) : this.width < this.Aa && this.height < this.za || 1 === f ? (this.G = this.width, this.F = this.height, this.Nb = !0) : (this.G = this.Aa, this.F = this.za, this.Nb = !1, 2 === f ? (d = this.Aa / this.za, f = this.$e / this.Ze, f < d ? this.G = this.F * f: f > d && (this.F = this.G / f)) : 3 === f && (d = this.Aa / this.za, f = this.$e / this.Ze, f > d ? this.G = this.F * f: f < d && (this.F = this.G / f))), this.Hj && !this.ma && (jQuery(this.Hj).css({ width: Math.round(b) + "px", height: Math.round(k) + "px", "margin-left": Math.floor(m) + "px", "margin-top": Math.floor(n) + "px" }), "undefined" !== typeof cr_is_preview && jQuery("#borderwrap").css({ width: Math.round(b) + "px", height: Math.round(k) + "px" })), this.canvas && (this.canvas.width = Math.round(b * c), this.canvas.height = Math.round(k * c), this.Dc ? (this.canvas.style.left = Math.floor(m) + "px", this.canvas.style.top = Math.floor(n) + "px", this.canvas.style.width = Math.round(b) + "px", this.canvas.style.height = Math.round(k) + "px") : this.Gd && !this.ma && jQuery(this.canvas).css({ width: Math.round(b) + "px", height: Math.round(k) + "px" })), this.Ha && (this.Ha.width = Math.round(b), this.Ha.height = Math.round(k), jQuery(this.Ha).css({ width: Math.round(b) + "px", height: Math.round(k) + "px" })), this.r && this.r.Nd(Math.round(b * c), Math.round(k * c)), this.ic && this.T && (this.T.width = Math.round(b), this.T.height = Math.round(k)), this.T && (this.T.webkitImageSmoothingEnabled = this.M, this.T.mozImageSmoothingEnabled = this.M, this.T.msImageSmoothingEnabled = this.M, this.T.imageSmoothingEnabled = this.M), this.ol(), this.ma || !h && !this.ei || window.setTimeout(function() { window.scrollTo(0, 1) }, 100) } }; l.prototype.ol = function() { if (this.Am && 0 !== this.wi) { var b = "portrait"; 2 === this.wi && (b = "landscape"); screen.lockOrientation ? screen.lockOrientation(b) : screen.webkitLockOrientation ? screen.webkitLockOrientation(b) : screen.mozLockOrientation ? screen.mozLockOrientation(b) : screen.msLockOrientation && screen.msLockOrientation(b) } }; l.prototype.so = function() { this.di = !0; var b, k, c; b = 0; for (k = this.m.length; b < k; b++) c = this.m[b], c.sg && c.sg() }; l.prototype.to = function() { this.di = !1; var b, k, c; b = 0; for (k = this.m.length; b < k; b++) c = this.m[b], c.ti && c.ti() }; l.prototype.Vk = function() { if (!this.ma) { var b = (document.mozFullScreen || document.webkitIsFullScreen || document.fullScreen || document.msFullscreenElement || this.We) && !this.kc ? jQuery(this.canvas).offset() : jQuery(this.canvas).position(); b.position = "absolute"; jQuery(this.Ha).css(b) } }; var h = window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.webkitCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; l.prototype.setSuspended = function(b) { var k; if (b && !this.Xe) for (y("[Construct 2] Suspending"), this.Xe = !0, -1 !== this.zg && h && h(this.zg), -1 !== this.Pg && clearTimeout(this.Pg), b = 0, k = this.wf.length; b < k; b++) this.wf[b](!0); else if (!b && this.Xe) { y("[Construct 2] Resuming"); this.Xe = !1; this.gg = M(); this.bf = M(); b = this.ef = this.Wf = 0; for (k = this.wf.length; b < k; b++) this.wf[b](!1); this.pc(!1) } }; l.prototype.wm = function(b) { this.wf.push(b) }; l.prototype.load = function() { var b = Hb(); this.name = b[0]; this.Uj = b[1]; this.mb = b[12]; this.Vj = b[12]; this.Aa = b[10]; this.za = b[11]; this.Rk = this.Aa / 2; this.Sk = this.za / 2; this.ma && !this.Dc && (4 <= b[12] || 0 === b[12]) && (y("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"), this.Vj = this.mb = 3); this.aj = b[18]; this.df = b[19]; 0 === this.df && (this.je = new Image, this.je.src = "images/loading-logo.png"); this.gf = b[21]; this.oc = new R(this); var k, c, m, n, d, e, f, h, r; k = 0; for (c = b[2].length; k < c; k++) f = b[2][k], Ua(f), r = new f[0](this), r.Fg = f[1], r.hd = f[2], r.Fk = f[9], r.K && r.K(), this.plugins.push(r); b = Hb(); k = 0; for (c = b[3].length; k < c; k++) { f = b[3][k]; d = f[1]; r = null; m = 0; for (n = this.plugins.length; m < n; m++) if (this.plugins[m] instanceof d) { r = this.plugins[m]; break } var a = new r.ea(r); a.name = f[0]; a.B = f[2]; a.Uh = f[3].slice(0); a.ep = f[3].length; a.Bm = f[4]; a.tn = f[5]; a.H = f[11]; a.B ? (a.pg = [], a.xc = this.Me++, a.ba = null) : (a.pg = null, a.xc = -1, a.ba = []); a.Tf = null; a.be = null; a.Qj = null; a.Bb = !1; a.jb = null; f[6] ? (a.Ri = f[6][0], a.Si = f[6][1], a.Ti = f[6][2]) : (a.Ri = null, a.Si = 0, a.Ti = 0); a.hb = f[7] ? f[7] : null; a.index = k; a.d = []; a.Pf = []; a.rd = [new Va(a)]; a.vc = 0; a.Lb = null; a.Mm = 0; a.ve = !0; a.Tg = Wa; a.yn = Xa; a.Dn = Ya; a.V = Za; a.nf = $a; a.re = ab; a.Ic = bb; a.Xf = cb; a.Hh = db; a.Kh = eb; a.Xc = fb; a.ak = gb; a.Ij = new Oa(this.Aa, this.za); a.xj = !0; a.yj = !1; a.R = {}; a.toString = hb; a.ka = []; m = 0; for (n = f[8].length; m < n; m++) { h = f[8][m]; var g = h[1], t = null; d = 0; for (e = this.ka.length; d < e; d++) if (this.ka[d] instanceof g) { t = this.ka[d]; break } t || (t = new g(this), t.Gk = [], t.pi = new ga, t.K && t.K(), this.ka.push(t)); - 1 === t.Gk.indexOf(a) && t.Gk.push(a); d = new t.ea(t, a); d.name = h[0]; d.H = h[2]; d.K(); a.ka.push(d) } a.global = f[9]; a.Zh = f[10]; a.A = []; m = 0; for (n = f[12].length; m < n; m++) a.A.push({ id: f[12][m][0], name: f[12][m][1], Ja: -1, wb: !0, index: m }); a.Nq = f[13]; this.aj && !a.B && !a.Zh && r.hd || a.K(); a.name && (this.types[a.name] = a); this.m.push(a); r.Fg && (m = new r.$(a), m.uid = this.gf++, m.Yk = this.Ik++, m.Ed = 0, m.Re = ib, m.toString = jb, m.J = f[14], m.K(), a.d.push(m), this.ld[m.uid.toString()] = m) } k = 0; for (c = b[4].length; k < c; k++) for (d = b[4][k], e = this.m[d[0]], m = 1, n = d.length; m < n; m++) f = this.m[d[m]], f.ba.push(e), e.pg.push(f); k = 0; for (c = b[26].length; k < c; k++) { d = b[26][k]; e = []; m = 0; for (n = d.length; m < n; m++) e.push(this.m[d[m]]); m = 0; for (n = e.length; m < n; m++) e[m].Bb = !0, e[m].jb = e } if (0 < this.Me) for (k = 0, c = this.m.length; k < c; k++) if (f = this.m[k], !f.B && f.ba.length) { f.Tf = Array(this.Me); f.be = Array(this.Me); f.Qj = Array(this.Me); a = []; m = t = g = h = 0; for (n = f.ba.length; m < n; m++) for (r = f.ba[m], f.Tf[r.xc] = h, h += r.ep, f.be[r.xc] = g, g += r.Bm, f.Qj[r.xc] = t, t += r.tn, d = 0, e = r.A.length; d < e; d++) a.push(sa({}, r.A[d])); f.A = a.concat(f.A); m = 0; for (n = f.A.length; m < n; m++) f.A[m].index = m } k = 0; for (c = b[5].length; k < c; k++) f = b[5][k], m = new kb(this, f), this.ii[m.name] = m, this.Xb.push(m); k = 0; for (c = b[6].length; k < c; k++) f = b[6][k], m = new lb(this, f), this.Ch[m.name] = m, this.wc.push(m); k = 0; for (c = this.wc.length; k < c; k++) this.wc[k].ia(); k = 0; for (c = this.wc.length; k < c; k++) this.wc[k].$i(); k = 0; for (c = this.Sg.length; k < c; k++) this.Sg[k].ia(); this.Sg.length = 0; this.zm = b[7]; this.mc = b[9]; this.Ee = 1; this.Rm = b[13]; this.M = b[14]; this.eh = b[15]; this.cp = b[17]; this.wi = b[20]; this.Am = 0 < this.wi; this.zo = b[22]; this.Nb = this.xl = b[23]; this.Pm = b[24]; this.Eo = b[25]; this.Hg = Date.now() }; var c = !1; l.prototype.wl = function(b) { b.onerror = function(k) { c = b.Dm = !0; console && console.error && console.error("Error loading image '" + b.src + "': ", k) }; this.Be.push(b) }; l.prototype.sn = function(b) { var k, c; k = 0; for (c = this.Be.length; k < c; k++) if (this.Be[k].Jm === b) return this.Be[k]; return null }; var f = 0, e = !1; l.prototype.Qn = function() { this.Fe && (f = this.Fe.Kq(this.zm)) }; l.prototype.zj = function() { var b = f, k = 0, c = 0, m = !0, n, d, c = 0; for (n = this.Be.length; c < n; c++) { d = this.Be[c]; var a = d.Kj; if (!a || 0 >= a) a = 5E4; b += a; ! d.complete && !d.loaded || d.Dm ? m = !1 : k += a } m && this.Eo && this.Fe && (e || (this.Fe.Lq(), e = !0), c = this.Fe.xq(), k += c, c < f && (m = !1)); this.Md = 0 == b ? 0 : k / b; return m }; l.prototype.go = function() { if (this.T || this.r) { var b = this.T || this.xi; this.Ha && this.Vk(); this.Md = 0; this.Ak = -1; if (this.zj()) this.Rn(); else { var k = Date.now() - this.Hg; if (b) { var d = this.width, m = this.height, n = this.devicePixelRatio; this.Ha && (d = this.Nf, m = this.Mf, n = 1); if (3 !== this.df && (this.Ob || 500 <= k && this.Ak != this.Md)) { b.clearRect(0, 0, d, m); var k = d / 2, m = m / 2, d = 0 === this.df && this.je.complete, e = 40 * n, f = 0, a = 80 * n, h; d && (a = this.je.width * n, h = this.je.height * n, e = a / 2, f = h / 2, b.drawImage(this.je, G(k - e), G(m - f), a, h)); 1 >= this.df ? (k = G(k - e) + 0.5, m = G(m + (f + (d ? 12 * n: 0))) + 0.5, b.fillStyle = c ? "red": "DodgerBlue", b.fillRect(k, m, Math.floor(a * this.Md), 6 * n), b.strokeStyle = "black", b.strokeRect(k, m, a, 6 * n), b.strokeStyle = "white", b.strokeRect(k - 1 * n, m - 1 * n, a + 2 * n, 8 * n)) : 2 === this.df && (b.font = this.Dc ? "12pt ArialMT": "12pt Arial", b.fillStyle = c ? "#f00": "#999", b.Mq = "middle", n = Math.round(100 * this.Md) + "%", d = b.measureText ? b.measureText(n) : null, b.fillText(n, k - (d ? d.width: 0) / 2, m)) } this.Ak = this.Md } setTimeout(function(b) { return function() { b.go() } } (this), this.Ob ? 10 : 100) } } }; l.prototype.Rn = function() { this.Ha && (this.canvas.parentNode.removeChild(this.Ha), this.Ha = this.xi = null); this.Hg = Date.now(); this.bf = M(); var b, k, c; if (this.aj) for (b = 0, k = this.m.length; b < k; b++) c = this.m[b], c.B || c.Zh || !c.Y.hd || c.K(); else this.fg = !1; b = 0; for (k = this.Xb.length; b < k; b++) this.Xb[b].Km(); 2 <= this.mb && (b = this.Aa / this.za, k = this.width / this.height, this.Ee = 2 !== this.mb && k > b || 2 === this.mb && k < b ? this.height / this.za: this.width / this.Aa); this.Uj ? this.ii[this.Uj].Pi() : this.Xb[0].Pi(); this.aj || (this.ke = 1, this.trigger(R.prototype.g.ah, null)); navigator.splashscreen && navigator.splashscreen.hide && navigator.splashscreen.hide(); b = 0; for (k = this.m.length; b < k; b++) c = this.m[b], c.ro && c.ro(); this.pc(!1); this.ic && AppMobi.webview.execute("onGameReady();") }; var t = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.msRequestAnimationFrame || window.oRequestAnimationFrame; l.prototype.pc = function(b) { if (this.S) { var k = M(); if (this.Tn && this.Di && 29 > k - this.fi) this.Di = !1, this.fi = k, t ? this.zg = t(this.Ng, this.canvas) : this.Pg = setTimeout(this.Ng, this.jc ? 1 : 16); else { this.Di = !0; this.fi = k; var c = this.mb, m = (document.mozFullScreen || document.webkitIsFullScreen || document.fullScreen || !!document.msFullscreenElement) && !this.kc; (m || this.We) && 0 < this.Cd && (c = this.Cd); if (0 < c && (!this.rk || window.self !== window.top)) { var c = window.innerWidth, n = window.innerHeight; this.$e === c && this.Ze === n || this.setSize(c, n) } this.ma || (m ? (this.Uf || (this.Fh = jQuery(this.canvas).css("margin") || "0", this.Uf = !0), this.bg || this.gd || jQuery(this.canvas).css({ "margin-left": "" + Math.floor((screen.width - this.width / this.devicePixelRatio) / 2) + "px", "margin-top": "" + Math.floor((screen.height - this.height / this.devicePixelRatio) / 2) + "px" })) : this.Uf ? (this.bg || this.gd || jQuery(this.canvas).css("margin", this.Fh), this.Fh = "", this.Uf = !1, 0 === this.mb && this.setSize(Math.round(this.Mk / this.devicePixelRatio), Math.round(this.Lk / this.devicePixelRatio), !0)) : (this.Mk = this.width, this.Lk = this.height)); this.fg && (m = this.zj(), this.ke = this.Md, m && (this.fg = !1, this.Md = 1, this.trigger(R.prototype.g.ah, null))); this.oo(); ! this.N && !this.Ob || this.di || this.vf || b || (this.N = !1, this.r ? this.yb() : this.Ub(), this.Gg && (this.canvas && this.canvas.toDataURL && (this.canvas.toDataURL(this.Gg[0], this.Gg[1]), this.trigger(R.prototype.g.Ll, null)), this.Gg = null)); this.Bq || (this.Nc++, this.Rf++, this.Wf++); this.ef += M() - k; this.Xe || b || (t ? this.zg = t(this.Ng, this.canvas) : this.Pg = setTimeout(this.Ng, this.jc ? 1 : 16)) } } }; l.prototype.oo = function() { var b, k, c, m, n, d, e, f, a; b = M(); 1E3 <= b - this.bf && (this.bf += 1E3, this.Eh = this.Wf, this.Wf = 0, this.uh = this.ef, this.ef = 0); this.Ek && (0 !== this.gg && (k = b - this.gg, 0 !== k || this.$n ? (this.cd = k / 1E3, 0.5 < this.cd ? this.cd = 0 : 0.1 < this.cd && (this.cd = 0.1)) : (10 <= this.Rq && (this.Ek = !1), this.cd = 1 / 60)), this.gg = b); this.Zd = this.cd * this.xf; this.jd.add(this.Zd); b = (document.mozFullScreen || document.webkitIsFullScreen || document.fullScreen || !!document.msFullscreenElement || this.We) && !this.kc; 2 <= this.mb || b && 0 < this.Cd ? (k = this.Aa / this.za, c = this.width / this.height, m = this.mb, b && 0 < this.Cd && (m = this.Cd), this.Ee = 2 !== m && c > k || 2 === m && c < k ? this.height / this.za: this.width / this.Aa, this.S && (this.S.bl(this.S.scrollX), this.S.cl(this.S.scrollY))) : this.Ee = this.Gd ? this.devicePixelRatio: 1; this.Ma(); this.Wb++; this.oc.Jo(); this.Wb--; this.Ma(); this.Wb++; c = this.Kk.ye(); b = 0; for (k = c.length; b < k; b++) c[b].Fq(); b = 0; for (k = this.m.length; b < k; b++) if (e = this.m[b], !e.B && (e.ka.length || e.ba.length)) for (c = 0, m = e.d.length; c < m; c++) for (f = e.d[c], n = 0, d = f.C.length; n < d; n++) f.C[n].pc(); b = 0; for (k = this.m.length; b < k; b++) if (e = this.m[b], !e.B && (e.ka.length || e.ba.length)) for (c = 0, m = e.d.length; c < m; c++) for (f = e.d[c], n = 0, d = f.C.length; n < d; n++) a = f.C[n], a.Do && a.Do(); c = this.qi.ye(); b = 0; for (k = c.length; b < k; b++) c[b].pc(); this.Wb--; this.Un(); for (b = 0; this.rh && 10 > b++;) this.Oj(this.rh); b = 0; for (k = this.wc.length; b < k; b++) this.wc[b].Ph = !1; this.S.Ad && this.S.Ad.oa(); this.Ho.length = 0; this.Wb++; b = 0; for (k = this.m.length; b < k; b++) if (e = this.m[b], !e.B && (e.ka.length || e.ba.length)) for (c = 0, m = e.d.length; c < m; c++) for (f = e.d[c], n = 0, d = f.C.length; n < d; n++) a = f.C[n], a.Ui && a.Ui(); c = this.ri.ye(); b = 0; for (k = c.length; b < k; b++) c[b].Ui(); this.Wb-- }; l.prototype.Oj = function(b) { var k = this.S; this.S.So(); var c, m, n, d, e, f, a; if (this.r) for (c = 0, m = this.m.length; c < m; c++) e = this.m[c], e.B || !e.Zi || e.global && 0 !== e.d.length || -1 !== b.Ue.indexOf(e) || e.Zi(); k == b && (this.oc.eb.length = 0); b.Pi(); c = 0; for (m = this.m.length; c < m; c++) if (e = this.m[c], e.global || e.Y.Fg) for (b = 0, k = e.d.length; b < k; b++) if (f = e.d[b], f.si && f.si(), f.C) for (n = 0, d = f.C.length; n < d; n++) a = f.C[n], a.si && a.si(); this.N = !0; this.Ma() }; l.prototype.Og = function(b) { this.qi.add(b) }; l.prototype.To = function(b) { this.ri.add(b) }; l.prototype.Ih = function(b) { return b && -1 !== b.ff ? this.cd * b.ff: this.Zd }; l.prototype.Ub = function() { this.S.Ub(this.T); this.ic && this.T.present() }; l.prototype.yb = function() { this.S.yb(this.r); this.r.Eq() }; l.prototype.dk = function(b) { b = b.toString(); return this.ld.hasOwnProperty(b) ? this.ld[b] : null }; l.prototype.Tc = function(b) { var k, c; if (!this.fc.contains(b)) { this.fc.add(b); if (b.Bb) for (k = 0, c = b.siblings.length; k < c; k++) this.Tc(b.siblings[k]); this.Yh && this.fc.ze.push(b); this.Wb++; this.trigger(Object.getPrototypeOf(b.type.Y).g.Nl, b); this.Wb-- } }; l.prototype.Ma = function() { var b, k, c, m, n, d, e, f, a, h; this.Yh = !0; m = 0; for (d = this.kb.length; m < d; m++) for (b = this.kb[m], k = b.type, k.d.push(b), n = 0, e = k.ba.length; n < e; n++) k.ba[n].d.push(b), k.ba[n].ve = !0; this.kb.length = 0; d = this.fc.ye(); for (m = 0; m < d.length; m++) { b = d[m]; k = b.type; c = k.d; n = 0; for (e = this.Mj.length; n < e; n++) this.Mj[n](b); wa(c, b); 0 === c.length && (k.yj = !1); b.Kf && k.Ij.update(b, b.Kf, null); b.i && (ta(b.i.d, b.Ab()), b.i.ub = !0); n = 0; for (e = k.ba.length; n < e; n++) wa(k.ba[n].d, b), k.ba[n].ve = !0; if (b.C) for (n = 0, e = b.C.length; n < e; n++) c = b.C[n], c.Ld && c.Ld(), c.Ib.pi.remove(b); this.Kk.remove(b); this.qi.remove(b); this.ri.remove(b); n = 0; for (e = this.oc.eb.length; n < e; n++) if (a = this.oc.eb[n], a.Ta.hasOwnProperty(k.index) && wa(a.Ta[k.index].Cc, b), !k.B) for (c = 0, f = k.ba.length; c < f; c++) h = k.ba[c], a.Ta.hasOwnProperty(h.index) && wa(a.Ta[h.index].Cc, b); b.Ld && b.Ld(); this.ld.hasOwnProperty(b.uid.toString()) && delete this.ld[b.uid.toString()]; this.qg--; 64 > k.Pf.length && k.Pf.push(b); k.ve = !0 } this.fc.Vb() || (this.N = !0); this.fc.clear(); this.Yh = !1 }; l.prototype.Lj = function(b, k, c, m) { if (b.B) { var n = G(Math.random() * b.pg.length); return this.Lj(b.pg[n], k, c, m) } return b.Lb ? this.bd(b.Lb, k, !1, c, m, !1) : null }; var r = []; l.prototype.bd = function(b, k, c, m, n, d) { var e, f, a, h; if (!b) return null; var g = this.m[b[1]], t = g.Y.hd; if (this.fg && t && !g.Zh || t && !this.r && 11 === b[0][11]) return null; var u = k; t || (k = null); var p; g.Pf.length ? (p = g.Pf.pop(), p.qb = !0, g.Y.$.call(p, g)) : (p = new g.Y.$(g), p.qb = !1); p.uid = c && !d ? b[2] : this.gf++; this.ld[p.uid.toString()] = p; p.Yk = this.Ik++; p.Ed = g.d.length; e = 0; for (f = this.kb.length; e < f; ++e) this.kb[e].type === g && p.Ed++; p.Re = ib; a = b[3]; if (p.qb) Ka(p.R); else { p.R = {}; if ("undefined" !== typeof cr_is_preview) for (p.lk = [], p.lk.length = a.length, e = 0, f = a.length; e < f; e++) p.lk[e] = a[e][1]; p.wa = []; p.wa.length = a.length } e = 0; for (f = a.length; e < f; e++) p.wa[e] = a[e][0]; if (t) { var l = b[0]; p.x = ha(m) ? l[0] : m; p.y = ha(n) ? l[1] : n; p.z = l[2]; p.width = l[3]; p.height = l[4]; p.depth = l[5]; p.j = l[6]; p.opacity = l[7]; p.Za = l[8]; p.$a = l[9]; p.Ua = l[10]; e = l[11]; ! this.r && g.A.length && (p.Ua = e); p.He = Pa(p.Ua); this.Ac && Qa(p, p.Ua, this.Ac); if (p.qb) { e = 0; for (f = l[12].length; e < f; e++) for (a = 0, h = l[12][e].length; a < h; a++) p.ga[e][a] = l[12][e][a]; p.Na.set(0, 0, 0, 0); p.Kf.set(0, 0, -1, -1); p.Zc.Eg(p.Na); p.jh.length = 0 } else { p.ga = l[12].slice(0); e = 0; for (f = p.ga.length; e < f; e++) p.ga[e] = l[12][e].slice(0); p.L = []; p.Vc = []; p.Vc.length = g.A.length; p.Na = new qa(0, 0, 0, 0); p.Kf = new qa(0, 0, -1, -1); p.Zc = new ra; p.jh = []; p.Ia = mb; p.oq = nb; p.ec = ob; p.Qa = pb; p.Pq = qb; p.Ab = rb } p.Vo = !1; p.Xo = 0; p.Wo = 0; p.Uo = null; 14 === l.length && (p.Vo = !0, p.Xo = l[13][0], p.Wo = l[13][1], p.Uo = l[13][2]); e = 0; for (f = g.A.length; e < f; e++) p.Vc[e] = !0; p.Pc = sb; p.Pc(); p.ul = !!p.L.length; p.ih = !0; p.ph = !0; g.xj = !0; p.visible = !0; p.ff = -1; p.i = k; p.Rd = k.d.length; "undefined" === typeof p.cc && (p.cc = null); this.N = p.Ge = !0 } p.toString = jb; var q; e = r.length = 0; for (f = g.ba.length; e < f; e++) r.push.apply(r, g.ba[e].ka); r.push.apply(r, g.ka); if (p.qb) for (e = 0, f = r.length; e < f; e++) { var A = r[e]; q = p.C[e]; q.qb = !0; A.Ib.$.call(q, A, p); l = b[4][e]; a = 0; for (h = l.length; a < h; a++) q.J[a] = l[a]; q.K(); A.Ib.pi.add(p) } else for (p.C = [], e = 0, f = r.length; e < f; e++) A = r[e], q = new A.Ib.$(A, p), q.qb = !1, q.J = b[4][e].slice(0), q.K(), p.C.push(q), A.Ib.pi.add(p); l = b[5]; if (p.qb) for (e = 0, f = l.length; e < f; e++) p.J[e] = l[e]; else p.J = l.slice(0); this.kb.push(p); k && (k.d.push(p), 1 !== k.Gc || 1 !== k.Hc) && (g.yj = !0); this.qg++; if (g.Bb) { if (p.Bb = !0, p.qb ? p.siblings.length = 0 : p.siblings = [], !c && !d) { e = 0; for (f = g.jb.length; e < f; e++) if (g.jb[e] !== g) { if (!g.jb[e].Lb) return null; p.siblings.push(this.bd(g.jb[e].Lb, u, !1, t ? p.x: m, t ? p.y: n, !0)) } e = 0; for (f = p.siblings.length; e < f; e++) for (p.siblings[e].siblings.push(p), a = 0; a < f; a++) e !== a && p.siblings[e].siblings.push(p.siblings[a]) } } else p.Bb = !1, p.siblings = null; p.K(); e = 0; for (f = p.C.length; e < f; e++) p.C[e].Co && p.C[e].Co(); return p }; l.prototype.Mh = function(b) { var k, e; k = 0; for (e = this.S.I.length; k < e; k++) { var m = this.S.I[k]; if (Sa(m.name, b)) return m } return null }; l.prototype.Pe = function(b) { b = G(b); 0 > b && (b = 0); b >= this.S.I.length && (b = this.S.I.length - 1); return this.S.I[b] }; l.prototype.sh = function(b) { var k, e; k = 0; for (e = b.length; k < e; k++) b[k].V().Z = !0 }; l.prototype.nf = function(b) { var e, c; e = 0; for (c = b.length; e < c; e++) b[e].nf() }; l.prototype.re = function(b) { var e, c; e = 0; for (c = b.length; e < c; e++) b[e].re() }; l.prototype.Ic = function(b) { var e, c; e = 0; for (c = b.length; e < c; e++) b[e].Ic() }; l.prototype.Lg = function(b, e, c) { var m = b.V(), n, d, f, a, h, r; if (m.Z) for (m.Z = !1, n = m.d.length = 0, a = b.d.length; n < a; n++) f = b.d[n], f.Qa(), h = f.i.ib(e, c, !0), r = f.i.ib(e, c, !1), f.ec(h, r) && m.d.push(f); else { n = d = 0; for (a = m.d.length; n < a; n++) f = m.d[n], f.Qa(), h = f.i.ib(e, c, !0), r = f.i.ib(e, c, !1), f.ec(h, r) && (m.d[d] = m.d[n], d++); m.d.length = d } b.Xc(); return m.Oh() }; new ra; new qa(0, 0, 0, 0); l.prototype.pl = function(b, e) { if (!e) return ! 1; var c, m, n, d, f; c = 0; for (m = b.ka.length; c < m; c++) if (b.ka[c].Ib instanceof e) return ! 0; if (!b.B) for (c = 0, m = b.ba.length; c < m; c++) for (f = b.ba[c], n = 0, d = f.ka.length; n < d; n++) if (f.ka[n].Ib instanceof e) return ! 0; return ! 1 }; l.prototype.ql = function(b) { return this.pl(b, Gb.Mp) }; l.prototype.Yi = function(b) { return this.pl(b, Gb.Np) }; var p = -1; l.prototype.trigger = function(b, e, c) { if (!this.S) return ! 1; var m = this.S.Ad; if (!m) return ! 1; var d = !1, f, a, h; p++; var r = m.xh; a = 0; for (h = r.length; a < h; ++a) f = this.ml(b, e, r[a], c), d = d || f; f = this.ml(b, e, m, c); p--; return d || f }; l.prototype.ml = function(b, e, c, m) { var d = !1, f, a, h, r; if (e) for (h = this.Wi(b, e, e.type.name, c, m), d = d || h, r = e.type.ba, f = 0, a = r.length; f < a; ++f) h = this.Wi(b, e, r[f].name, c, m), d = d || h; else h = this.Wi(b, e, "system", c, m), d = d || h; return d }; l.prototype.Wi = function(b, e, c, m, d) { var f, a = !1, h = !1, h = "undefined" !== typeof d, r = (h ? m.Sj: m.nl)[c]; if (!r) return a; var g = null; m = 0; for (f = r.length; m < f; ++m) if (r[m].method == b) { g = r[m].Ke; break } if (!g) return a; b = h ? g[d] : g; if (!b) return null; m = 0; for (f = b.length; m < f; m++) d = b[m][0], h = b[m][1], h = this.rn(e, c, d, h), a = a || h; return a }; l.prototype.rn = function(b, e, c, m) { var d, f, a = !1; this.Xi++; var h = this.Fa().Da; h && this.nf(h.pd); var r = 1 < this.Xi; this.nf(c.pd); r && this.Fo(); var g = this.yg(c); g.Da = c; b && (d = this.types[e].V(), d.Z = !1, d.d.length = 1, d.d[0] = b, this.types[e].Xc()); b = !0; if (c.parent) { e = g.il; for (d = c.parent; d;) e.push(d), d = d.parent; e.reverse(); d = 0; for (f = e.length; d < f; d++) if (!e[d].Lo()) { b = !1; break } } b && (this.Rf++, c.Zb ? c.Ko(m) : c.oa(), a = a || g.Hd); this.vg(); r && this.Ao(); this.Ic(c.pd); h && this.Ic(h.pd); 0 !== this.Wb || 0 !== p || this.$h || this.fc.Vb() && !this.kb.length || this.Ma(); this.Xi--; return a }; l.prototype.Yj = function() { var b = this.Fa(); return b.Da.ua[b.la] }; l.prototype.Fo = function() { this.ng++; this.ng >= this.mi.length && this.mi.push([]) }; l.prototype.Ao = function() { this.ng-- }; l.prototype.Zj = function() { return this.mi[this.ng] }; l.prototype.yg = function(b) { this.Qf++; this.Qf >= this.Bh.length && this.Bh.push(new tb); var e = this.Fa(); e.reset(b); return e }; l.prototype.vg = function() { this.Qf-- }; l.prototype.Fa = function() { return this.Bh[this.Qf] }; l.prototype.Go = function(b) { this.og++; this.og >= this.ni.length && this.ni.push(ea({ name: b, index: 0, uf: !1 })); var e = this.xn(); e.name = b; e.index = 0; e.uf = !1; return e }; l.prototype.Bo = function() { this.og-- }; l.prototype.xn = function() { return this.ni[this.og] }; l.prototype.$j = function(b, e) { for (var c, m, d, f, a, h; e;) { c = 0; for (m = e.Qb.length; c < m; c++) if (h = e.Qb[c], h instanceof ub && Sa(b, h.name)) return h; e = e.parent } c = 0; for (m = this.wc.length; c < m; c++) for (a = this.wc[c], d = 0, f = a.dd.length; d < f; d++) if (h = a.dd[d], h instanceof ub && Sa(b, h.name)) return h; return null }; l.prototype.bk = function(b) { var e, c; e = 0; for (c = this.Xb.length; e < c; e++) if (this.Xb[e].H === b) return this.Xb[e]; return null }; l.prototype.Zf = function(b) { var e, c; e = 0; for (c = this.m.length; e < c; e++) if (this.m[e].H === b) return this.m[e]; return null }; l.prototype.zn = function(b) { var e, c; e = 0; for (c = this.Xd.length; e < c; e++) if (this.Xd[e].H === b) return this.Xd[e]; return null }; l.prototype.Un = function() { var b = this, e = this.Li, c = this.Fc, m = this.lg, f = !1; this.hl && (f = !0, e = "__c2_continuouspreview", this.hl = !1); if (e.length) { this.Ma(); c = this.Po(); if (window.indexedDB && !this.Ob) a(e, c, function() { y("Saved state to IndexedDB storage (" + c.length + " bytes)"); b.Fc = c; b.trigger(R.prototype.g.bh, null); b.Fc = ""; f && d() }, function(m) { try { localStorage.setItem("__c2save_" + e, c), y("Saved state to WebStorage (" + c.length + " bytes)"), b.Fc = c, b.trigger(R.prototype.g.bh, null), b.Fc = "", f && d() } catch(a) { y("Failed to save game state: " + m + "; " + a) } }); else try { localStorage.setItem("__c2save_" + e, c), y("Saved state to WebStorage (" + c.length + " bytes)"), b.Fc = c, this.trigger(R.prototype.g.bh, null), b.Fc = "", f && d() } catch(h) { y("Error saving to WebStorage: " + h) } this.Sa = this.lg = this.Li = "" } m.length && (window.indexedDB && !this.Ob ? g(m, function(e) { e ? (b.Sa = e, y("Loaded state from IndexedDB storage (" + b.Sa.length + " bytes)")) : (b.Sa = localStorage.getItem("__c2save_" + m) || "", y("Loaded state from WebStorage (" + b.Sa.length + " bytes)")); b.vf = !1; b.Sa.length || b.trigger(R.prototype.g.$g, null) }, function() { b.Sa = localStorage.getItem("__c2save_" + m) || ""; y("Loaded state from WebStorage (" + b.Sa.length + " bytes)"); b.vf = !1; b.Sa.length || b.trigger(R.prototype.g.$g, null) }) : (this.Sa = localStorage.getItem("__c2save_" + m) || "", y("Loaded state from WebStorage (" + this.Sa.length + " bytes)"), this.vf = !1, b.Sa.length || b.trigger(R.prototype.g.$g, null)), this.Li = this.lg = ""); this.Sa.length && (this.Ma(), this.no(this.Sa), this.Fc = this.Sa, this.trigger(R.prototype.g.Wl, null), this.Sa = this.Fc = "") }; l.prototype.Po = function() { var b, e, c, m, d, f, a, h = { c2save: !0, version: 1, rt: { time: this.jd.ja, timescale: this.xf, tickcount: this.Nc, execcount: this.Rf, next_uid: this.gf, running_layout: this.S.H, start_time_offset: Date.now() - this.Hg }, types: {}, layouts: {}, events: { groups: {}, cnds: {}, acts: {}, vars: {} } }; b = 0; for (e = this.m.length; b < e; b++) if (d = this.m[b], !d.B && !this.ql(d)) { f = { instances: [] }; Ja(d.R) && (f.ex = u(d.R)); c = 0; for (m = d.d.length; c < m; c++) f.instances.push(this.Ki(d.d[c])); h.types[d.H.toString()] = f } b = 0; for (e = this.Xb.length; b < e; b++) c = this.Xb[b], h.layouts[c.H.toString()] = c.Db(); m = h.events.groups; b = 0; for (e = this.Xd.length; b < e; b++) c = this.Xd[b], m[c.H.toString()] = this.fe[c.Se].ed; e = h.events.cnds; for (a in this.Yd) this.Yd.hasOwnProperty(a) && (b = this.Yd[a], Ja(b.R) && (e[a] = { ex: u(b.R) })); e = h.events.acts; for (a in this.Wd) this.Wd.hasOwnProperty(a) && (b = this.Wd[a], Ja(b.R) && (e[a] = { ex: b.R })); e = h.events.vars; for (a in this.Ae) this.Ae.hasOwnProperty(a) && (b = this.Ae[a], b.cg || b.parent && !b.Ye || (e[a] = b.data)); h.system = this.oc.Db(); return JSON.stringify(h) }; l.prototype.Zk = function() { var b, e, c, m, d, f; this.ld = {}; b = 0; for (e = this.m.length; b < e; b++) if (c = this.m[b], !c.B) for (m = 0, d = c.d.length; m < d; m++) f = c.d[m], this.ld[f.uid.toString()] = f }; l.prototype.no = function(b) { b = JSON.parse(b); if (b.c2save && !(1 < b.version)) { var e = b.rt; this.jd.reset(); this.jd.ja = e.time; this.xf = e.timescale; this.Nc = e.tickcount; this.Hg = Date.now() - e.start_time_offset; var c = e.running_layout; if (c !== this.S.H) if (c = this.bk(c)) this.Oj(c); else return; var m, d, f, a, h, r, g; r = b.types; for (d in r) if (r.hasOwnProperty(d) && (a = this.Zf(parseInt(d, 10))) && !a.B && !this.ql(a)) { r[d].ex ? a.R = r[d].ex: Ka(a.R); h = a.d; f = r[d].instances; c = 0; for (m = ma(h.length, f.length); c < m; c++) this.mg(h[c], f[c]); c = f.length; for (m = h.length; c < m; c++) this.Tc(h[c]); c = h.length; for (m = f.length; c < m; c++) { h = null; if (a.Y.hd && (h = this.S.Yf(f[c].w.l), !h)) continue; h = this.bd(a.Lb, h, !1, 0, 0, !0); this.mg(h, f[c]) } a.ve = !0 } this.Ma(); this.Zk(); m = b.layouts; for (d in m) m.hasOwnProperty(d) && (c = this.bk(parseInt(d, 10))) && c.Yb(m[d]); m = b.events.groups; for (d in m) m.hasOwnProperty(d) && (c = this.zn(parseInt(d, 10))) && this.fe[c.Se] && (this.fe[c.Se].ed = m[d]); c = b.events.cnds; for (d in c) c.hasOwnProperty(d) && this.Yd.hasOwnProperty(d) && (this.Yd[d].R = c[d].ex); c = b.events.acts; for (d in c) c.hasOwnProperty(d) && this.Wd.hasOwnProperty(d) && (this.Wd[d].R = c[d].ex); c = b.events.vars; for (d in c) c.hasOwnProperty(d) && this.Ae.hasOwnProperty(d) && (this.Ae[d].data = c[d]); this.gf = e.next_uid; this.oc.Yb(b.system); c = 0; for (m = this.m.length; c < m; c++) if (a = this.m[c], !a.B) for (d = 0, b = a.d.length; d < b; d++) { h = a.d[d]; if (a.Bb) for (r = h.Re(), e = h.siblings.length = 0, f = a.jb.length; e < f; e++) g = a.jb[e], a !== g && h.siblings.push(g.d[r]); h.Wc && h.Wc(); if (h.C) for (e = 0, f = h.C.length; e < f; e++) r = h.C[e], r.Wc && r.Wc() } this.N = !0 } }; l.prototype.Ki = function(b, c) { var e, m, d, f, a; f = b.type; d = f.Y; var h = {}; c ? h.c2 = !0 : h.uid = b.uid; Ja(b.R) && (h.ex = u(b.R)); if (b.wa && b.wa.length) for (h.ivs = {}, e = 0, m = b.wa.length; e < m; e++) h.ivs[b.type.Uh[e].toString()] = b.wa[e]; if (d.hd) { d = { x: b.x, y: b.y, w: b.width, h: b.height, l: b.i.H, zi: b.Ab() }; 0 !== b.j && (d.a = b.j); 1 !== b.opacity && (d.o = b.opacity); 0.5 !== b.Za && (d.hX = b.Za); 0.5 !== b.$a && (d.hY = b.$a); 0 !== b.Ua && (d.bm = b.Ua); b.visible || (d.v = b.visible); b.Ge || (d.ce = b.Ge); - 1 !== b.ff && (d.mts = b.ff); if (f.A.length) for (d.fx = [], e = 0, m = f.A.length; e < m; e++) a = f.A[e], d.fx.push({ name: a.name, active: b.Vc[a.index], params: b.ga[a.index] }); h.w = d } if (b.C && b.C.length) for (h.behs = {}, e = 0, m = b.C.length; e < m; e++) f = b.C[e], f.Db && (h.behs[f.type.H.toString()] = f.Db()); b.Db && (h.data = b.Db()); return h }; l.prototype.Bn = function(b, e) { var c, m; c = 0; for (m = b.Uh.length; c < m; c++) if (b.Uh[c] === e) return c; return - 1 }; l.prototype.wn = function(b, e) { var c, m; c = 0; for (m = b.C.length; c < m; c++) if (b.C[c].type.H === e) return c; return - 1 }; l.prototype.mg = function(b, e, c) { var m, d, f, a, h; h = b.type; f = h.Y; if (c) { if (!e.c2) return } else b.uid = e.uid; e.ex ? b.R = e.ex: Ka(b.R); if (d = e.ivs) for (m in d) d.hasOwnProperty(m) && (c = this.Bn(h, parseInt(m, 10)), 0 > c || c >= b.wa.length || (b.wa[c] = d[m])); if (f.hd) { f = e.w; b.i.H !== f.l && (c = b.i, b.i = this.S.Yf(f.l), b.i ? (b.i.d.push(b), b.i.ub = !0, wa(c.d, b), c.ub = !0) : (b.i = c, this.Tc(b))); b.x = f.x; b.y = f.y; b.width = f.w; b.height = f.h; b.Rd = f.zi; b.j = f.hasOwnProperty("a") ? f.a: 0; b.opacity = f.hasOwnProperty("o") ? f.o: 1; b.Za = f.hasOwnProperty("hX") ? f.hX: 0.5; b.$a = f.hasOwnProperty("hY") ? f.hY: 0.5; b.visible = f.hasOwnProperty("v") ? f.v: !0; b.Ge = f.hasOwnProperty("ce") ? f.ce: !0; b.ff = f.hasOwnProperty("mts") ? f.mts: -1; b.Ua = f.hasOwnProperty("bm") ? f.bm: 0; b.He = Pa(b.Ua); this.Ac && Qa(b, b.Ua, this.Ac); b.Ia(); if (f.hasOwnProperty("fx")) for (c = 0, d = f.fx.length; c < d; c++) a = h.Kh(f.fx[c].name), 0 > a || (b.Vc[a] = f.fx[c].active, b.ga[a] = f.fx[c].params); b.Pc() } if (h = e.behs) for (m in h) h.hasOwnProperty(m) && (f = this.wn(b, parseInt(m, 10)), 0 > f || b.C[f].Yb(h[m])); e.data && b.Yb(e.data) }; vb = function(b) { return new l(document.getElementById(b)) }; wb = function(b, c) { return new l({ dc: !0, width: b, height: c }) }; window.cr_createRuntime = vb; window.cr_createDCRuntime = wb; window.createCocoonJSRuntime = function() { window.c2cocoonjs = !0; var b = document.createElement("screencanvas") || document.createElement("canvas"); b.Iq = !0; document.body.appendChild(b); b = new l(b); window.c2runtime = b; window.addEventListener("orientationchange", function() { window.c2runtime.setSize(window.innerWidth, window.innerHeight) }); window.c2runtime.setSize(window.innerWidth, window.innerHeight); return b }; window.createEjectaRuntime = function() { var b = new l(document.getElementById("canvas")); window.c2runtime = b; window.c2runtime.setSize(window.innerWidth, window.innerHeight); return b } })(); window.cr_getC2Runtime = function() { var l = document.getElementById("c2canvas"); return l ? l.c2runtime: window.c2runtime ? window.c2runtime: null }; window.cr_sizeCanvas = function(l, q) { if (0 !== l && 0 !== q) { var a = window.cr_getC2Runtime(); a && a.setSize(l, q) } }; window.cr_setSuspended = function(l) { var q = window.cr_getC2Runtime(); q && q.setSuspended(l) }; (function() { function l(d, a) { this.b = d; this.Ad = null; this.scrollX = this.b.Aa / 2; this.scrollY = this.b.za / 2; this.scale = 1; this.j = 0; this.Oe = !0; this.name = a[0]; this.width = a[1]; this.height = a[2]; this.rl = a[3]; this.gl = a[4]; this.H = a[5]; var h = a[6], c, f; this.I = []; this.Ue = []; c = 0; for (f = h.length; c < f; c++) { var e = new xb(this, h[c]); e.Jk = c; this.I.push(e) } h = a[7]; this.Fd = []; c = 0; for (f = h.length; c < f; c++) { var e = h[c], g = this.b.m[e[1]]; g.Lb || (g.Lb = e); this.Fd.push(e); - 1 === this.Ue.indexOf(g) && this.Ue.push(g) } this.A = []; this.L = []; this.ga = []; c = 0; for (f = a[8].length; c < f; c++) this.A.push({ id: a[8][c][0], name: a[8][c][1], Ja: -1, wb: !0, index: c }), this.ga.push(a[8][c][2].slice(0)); this.Pc(); this.nd = new qa(0, 0, 1, 1); this.Ei = new qa(0, 0, 1, 1); this.md = {} } function q(d, a) { this.W = d; this.b = d.b; this.d = []; this.scale = 1; this.j = 0; this.zd = !1; this.Oc = new qa(0, 0, 0, 0); this.ll = new ra; this.sb = this.La = this.tb = this.Ka = 0; this.ub = !1; this.name = a[0]; this.index = a[1]; this.H = a[2]; this.visible = a[3]; this.Yc = a[4]; this.Qd = a[5]; this.Gc = a[6]; this.Hc = a[7]; this.opacity = a[8]; this.Dh = a[9]; this.Rc = a[10]; this.Ua = a[11]; this.Qm = a[12]; this.He = "source-over"; this.Oa = this.Pa = 0; this.od = !1; var h = a[13], c, f; this.ge = []; c = 0; for (f = h.length; c < f; c++) { var e = h[c], g = this.b.m[e[1]]; g.Lb || (g.Lb = e, g.Mm = this.index); this.ge.push(e); - 1 === this.W.Ue.indexOf(g) && this.W.Ue.push(g) } this.A = []; this.L = []; this.ga = []; c = 0; for (f = a[14].length; c < f; c++) this.A.push({ id: a[14][c][0], name: a[14][c][1], Ja: -1, wb: !0, index: c }), this.ga.push(a[14][c][2].slice(0)); this.Pc(); this.nd = new qa(0, 0, 1, 1); this.Ei = new qa(0, 0, 1, 1) } function a(d, a) { return d.Rd - a.Rd } l.prototype.Oo = function(d) { var a = d.type.H.toString(); this.md.hasOwnProperty(a) || (this.md[a] = []); this.md[a].push(this.b.Ki(d)) }; l.prototype.fk = function() { var d = this.I[0]; return ! d.Qd && 1 === d.opacity && !d.Dh && d.visible }; l.prototype.Pc = function() { this.L.length = 0; var d, a, h; d = 0; for (a = this.A.length; d < a; d++) h = this.A[d], h.wb && this.L.push(h) }; l.prototype.Jh = function(d) { var a, h, c; a = 0; for (h = this.A.length; a < h; a++) if (c = this.A[a], c.name === d) return c; return null }; var g = []; l.prototype.Pi = function() { this.gl && (this.Ad = this.b.Ch[this.gl], this.Ad.$i()); this.b.S = this; this.scrollX = this.b.Aa / 2; this.scrollY = this.b.za / 2; var d, u, h, c, f, e, t; d = 0; for (h = this.b.m.length; d < h; d++) if (u = this.b.m[d], !u.B) for (f = u.d, u = 0, c = f.length; u < c; u++) if (e = f[u], e.i) { var r = e.i.Jk; r >= this.I.length && (r = this.I.length - 1); e.i = this.I[r]; e.i.d.push(e); e.i.ub = !0 } g.length = 0; this.Cm(); d = 0; for (h = this.I.length; d < h; d++) e = this.I[d], e.Lm(), e.zd = !0, u = e.ib(0, 0, !0, !0), c = e.ib(0, 0, !1, !0), e.zd = !1, this.b.mc && (u = u + 0.5 | 0, c = c + 0.5 | 0), e.Hi(u, c, null); f = !1; if (!this.Oe) { for (t in this.md) if (this.md.hasOwnProperty(t) && (u = this.b.Zf(parseInt(t, 10))) && !u.B && this.b.Yi(u)) { c = this.md[t]; d = 0; for (h = c.length; d < h; d++) { e = null; if (u.Y.hd && (e = this.Yf(c[d].w.l), !e)) continue; e = this.b.bd(u.Lb, e, !1, 0, 0, !0); this.b.mg(e, c[d]); f = !0; g.push(e) } c.length = 0 } d = 0; for (h = this.I.length; d < h; d++) this.I[d].d.sort(a), this.I[d].ub = !0 } f && (this.b.Ma(), this.b.Zk()); for (d = 0; d < g.length; d++) if (e = g[d], e.type.Bb) for (h = e.Re(), u = 0, c = e.type.jb.length; u < c; u++) t = e.type.jb[u], e.type !== t && (t.d.length > h ? e.siblings.push(t.d[h]) : t.Lb && (f = this.b.bd(t.Lb, e.i, !0, e.x, e.y, !0), this.b.Ma(), t.Tg(), e.siblings.push(f), g.push(f))); d = 0; for (h = this.Fd.length; d < h; d++) this.b.bd(this.Fd[d], null, !0); this.b.rh = null; this.b.Ma(); if (this.b.T && !this.b.ma) for (d = 0, h = this.b.m.length; d < h; d++) t = this.b.m[d], !t.B && t.d.length && t.yi && t.yi(this.b.T); d = 0; for (h = g.length; d < h; d++) e = g[d], this.b.trigger(Object.getPrototypeOf(e.type.Y).g.Zg, e); g.length = 0; this.b.trigger(R.prototype.g.Vl, null); this.Oe = !1 }; l.prototype.Km = function() { var d, a, h, c, f; a = d = 0; for (h = this.Fd.length; d < h; d++) c = this.Fd[d], f = this.b.m[c[1]], f.global ? this.b.bd(c, null, !0) : (this.Fd[a] = c, a++); this.Fd.length = a }; l.prototype.So = function() { this.b.trigger(R.prototype.g.Ul, null); this.b.oc.eb.length = 0; var d, a, h, c, f, e; d = 0; for (a = this.I.length; d < a; d++) { f = this.I[d].d; h = 0; for (c = f.length; h < c; h++) e = f[h], e.type.global || (this.b.Yi(e.type) && this.Oo(e), this.b.Tc(e)); this.b.Ma(); f.length = 0; this.I[d].ub = !0 } d = 0; for (a = this.b.m.length; d < a; d++) if (f = this.b.m[d], !(f.global || f.Y.hd || f.Y.Fg || f.B)) { h = 0; for (c = f.d.length; h < c; h++) this.b.Tc(f.d[h]); this.b.Ma() } }; l.prototype.Ub = function(d) { var a, h = d, c = !1, f = !this.b.Nb; f && (this.b.kg || (this.b.kg = document.createElement("canvas"), a = this.b.kg, a.width = this.b.G, a.height = this.b.F, this.b.Ck = a.getContext("2d"), c = !0), a = this.b.kg, h = this.b.Ck, a.width !== this.b.G && (a.width = this.b.G, c = !0), a.height !== this.b.F && (a.height = this.b.F, c = !0), c && (h.webkitImageSmoothingEnabled = this.b.M, h.mozImageSmoothingEnabled = this.b.M, h.msImageSmoothingEnabled = this.b.M, h.imageSmoothingEnabled = this.b.M)); h.globalAlpha = 1; h.globalCompositeOperation = "source-over"; this.b.eh && !this.fk() && h.clearRect(0, 0, this.b.G, this.b.F); var e, g, c = 0; for (e = this.I.length; c < e; c++) g = this.I[c], g.visible && 0 < g.opacity && 11 !== g.Ua && g.Ub(h); f && d.drawImage(a, 0, 0, this.b.width, this.b.height) }; l.prototype.yb = function(d) { var a = 0 < this.L.length || this.b.xe || !this.b.Nb; if (a) { this.b.ob || (this.b.ob = d.ad(this.b.G, this.b.F, this.b.M)); if (this.b.ob.mh !== this.b.G || this.b.ob.lh !== this.b.F) d.deleteTexture(this.b.ob), this.b.ob = d.ad(this.b.G, this.b.F, this.b.M); d.Lc(this.b.ob); this.b.Nb || d.Nd(this.b.G, this.b.F) } else this.b.ob && (d.Lc(null), d.deleteTexture(this.b.ob), this.b.ob = null); this.b.eh && !this.fk() && d.clear(0, 0, 0, 0); var h, c; h = 0; for (c = this.I.length; h < c; h++) this.I[h].visible && 0 < this.I[h].opacity && this.I[h].yb(d); a && (0 === this.L.length || 1 === this.L.length && this.b.Nb ? (1 === this.L.length ? (a = this.L[0].index, d.sd(this.L[0].Ja), d.rf(null, 1 / this.b.G, 1 / this.b.F, 0, 0, 1, 1, this.scale, this.j, 0, 0, this.ga[a]), d.Ai(this.L[0].Ja) && (this.b.N = !0)) : d.sd(0), this.b.Nb || d.Nd(this.b.width, this.b.height), d.Lc(null), d.te(1), d.Eb(this.b.ob), d.Qo(), d.Kc(), d.Qc(), a = this.b.width / 2, h = this.b.height / 2, d.Ci( - a, h, a, h, a, -h, -a, -h), d.Eb(null)) : this.Fi(d, null, null, null)) }; l.prototype.Qe = function() { return 0 < this.L.length || this.b.xe || !this.b.Nb ? this.b.ob: null }; l.prototype.ck = function() { var d = this.I[0].nb(), a, h, c; a = 1; for (h = this.I.length; a < h; a++) c = this.I[a], (0 !== c.Gc || 0 !== c.Hc) && c.nb() < d && (d = c.nb()); return d }; l.prototype.bl = function(d) { if (!this.rl) { var a = this.b.G * (1 / this.ck()) / 2; d > this.width - a && (d = this.width - a); d < a && (d = a) } this.scrollX !== d && (this.scrollX = d, this.b.N = !0) }; l.prototype.cl = function(d) { if (!this.rl) { var a = this.b.F * (1 / this.ck()) / 2; d > this.height - a && (d = this.height - a); d < a && (d = a) } this.scrollY !== d && (this.scrollY = d, this.b.N = !0) }; l.prototype.Cm = function() { this.bl(this.scrollX); this.cl(this.scrollY) }; l.prototype.Fi = function(d, a, h, c) { var f = h ? h.L: a ? a.L: this.L, e = 1, g = 0, r = 0, p = 0; h ? (e = h.i.nb(), g = h.i.zb(), r = h.i.Ka, p = h.i.La) : a && (e = a.nb(), g = a.zb(), r = a.Ka, p = a.La); var b = this.b.Gh, k, l, m, n, q = 0, x = 1, L, D = this.b.G, C = this.b.F, ia = D / 2, ja = C / 2, P = a ? a.nd: this.nd, E = a ? a.Ei: this.Ei, H = 0, Y = 0, A = 0, Z = 0, I = D, ba = D, z = C, K = C, W = m = 0, aa = h ? h.i.zb() : 0; if (h) { k = 0; for (l = f.length; k < l; k++) m += d.yq(f[k].Ja), W += d.zq(f[k].Ja); n = h.Na; H = a.da(n.left, n.top, !0, !0); A = a.da(n.left, n.top, !1, !0); I = a.da(n.right, n.bottom, !0, !0); z = a.da(n.right, n.bottom, !1, !0); 0 !== aa && (k = a.da(n.right, n.top, !0, !0), l = a.da(n.right, n.top, !1, !0), Y = a.da(n.left, n.bottom, !0, !0), Z = a.da(n.left, n.bottom, !1, !0), n = Math.min(H, I, k, Y), I = Math.max(H, I, k, Y), H = n, n = Math.min(A, z, l, Z), z = Math.max(A, z, l, Z), A = n); H -= m; A -= W; I += m; z += W; E.left = H / D; E.top = 1 - A / C; E.right = I / D; E.bottom = 1 - z / C; Y = H = G(H); Z = A = G(A); ba = I = oa(I); K = z = oa(z); Y -= m; Z -= W; ba += m; K += W; 0 > H && (H = 0); 0 > A && (A = 0); I > D && (I = D); z > C && (z = C); 0 > Y && (Y = 0); 0 > Z && (Z = 0); ba > D && (ba = D); K > C && (K = C); P.left = H / D; P.top = 1 - A / C; P.right = I / D; P.bottom = 1 - z / C } else P.left = E.left = 0, P.top = E.top = 0, P.right = E.right = 1, P.bottom = E.bottom = 1; W = h && ((h.j || aa) && d.wg(f[0].Ja) || 0 !== m || 0 !== W || 1 !== h.opacity || h.type.Y.Fk) || a && !h && 1 !== a.opacity; d.Qo(); if (W) { b[q] || (b[q] = d.ad(D, C, this.b.M)); if (b[q].mh !== D || b[q].lh !== C) d.deleteTexture(b[q]), b[q] = d.ad(D, C, this.b.M); d.sd(0); d.Lc(b[q]); L = K - Z; d.clearRect(Y, C - Z - L, ba - Y, L); h ? h.yb(d) : (d.Eb(this.b.Cb), d.te(a.opacity), d.Kc(), d.translate( - ia, -ja), d.Qc(), d.Jc(H, z, I, z, I, A, H, A, P)); E.left = E.top = 0; E.right = E.bottom = 1; h && (n = P.top, P.top = P.bottom, P.bottom = n); q = 1; x = 0 } d.te(1); m = f.length - 1; var aa = d.Wk(f[m].Ja) || !a && !h && !this.b.Nb, Q = 0; k = 0; for (l = f.length; k < l; k++) { b[q] || (b[q] = d.ad(D, C, this.b.M)); if (b[q].mh !== D || b[q].lh !== C) d.deleteTexture(b[q]), b[q] = d.ad(D, C, this.b.M); d.sd(f[k].Ja); Q = f[k].index; d.Ai(f[k].Ja) && (this.b.N = !0); 0 != k || W ? (d.rf(c, 1 / D, 1 / C, E.left, E.top, E.right, E.bottom, e, g, r, p, h ? h.ga[Q] : a ? a.ga[Q] : this.ga[Q]), d.Eb(null), k !== m || aa ? (d.Lc(b[q]), L = K - Z, n = C - Z - L, d.clearRect(Y, n, ba - Y, L)) : (h ? d.se(h.Pa, h.Oa) : a && d.se(a.Pa, a.Oa), d.Lc(c)), d.Eb(b[x]), d.Kc(), d.translate( - ia, -ja), d.Qc(), d.Jc(H, z, I, z, I, A, H, A, P), k !== m || aa || d.Eb(null)) : (d.Lc(b[q]), L = K - Z, n = C - Z - L, d.clearRect(Y, n, ba - Y, L), h ? (d.rf(c, 1 / h.width, 1 / h.height, E.left, E.top, E.right, E.bottom, e, g, r, p, h.ga[Q]), h.yb(d)) : (d.rf(c, 1 / D, 1 / C, 0, 0, 1, 1, e, g, r, p, a ? a.ga[Q] : this.ga[Q]), d.Eb(a ? this.b.Cb: this.b.ob), d.Kc(), d.translate( - ia, -ja), d.Qc(), d.Jc(H, z, I, z, I, A, H, A, P)), E.left = E.top = 0, E.right = E.bottom = 1, h && !aa && (n = z, z = A, A = n)); q = 0 === q ? 1 : 0; x = 0 === q ? 1 : 0 } aa && (d.sd(0), h ? d.se(h.Pa, h.Oa) : a ? d.se(a.Pa, a.Oa) : this.b.Nb || (d.Nd(this.b.width, this.b.height), ia = this.b.width / 2, ja = this.b.height / 2, A = H = 0, I = this.b.width, z = this.b.height), d.Lc(c), d.Eb(b[x]), d.Kc(), d.translate( - ia, -ja), d.Qc(), h && 1 === f.length && !W ? d.Jc(H, A, I, A, I, z, H, z, P) : d.Jc(H, z, I, z, I, A, H, A, P), d.Eb(null)) }; l.prototype.Yf = function(d) { var a, h; a = 0; for (h = this.I.length; a < h; a++) if (this.I[a].H === d) return this.I[a]; return null }; l.prototype.Db = function() { var d, a, h, c = { sx: this.scrollX, sy: this.scrollY, s: this.scale, a: this.j, w: this.width, h: this.height, fv: this.Oe, persist: this.md, fx: [], layers: {} }; d = 0; for (a = this.A.length; d < a; d++) h = this.A[d], c.fx.push({ name: h.name, active: h.wb, params: this.ga[h.index] }); d = 0; for (a = this.I.length; d < a; d++) h = this.I[d], c.layers[h.H.toString()] = h.Db(); return c }; l.prototype.Yb = function(a) { var g, h, c, f; this.scrollX = a.sx; this.scrollY = a.sy; this.scale = a.s; this.j = a.a; this.width = a.w; this.height = a.h; this.md = a.persist; "undefined" !== typeof a.fv && (this.Oe = a.fv); var e = a.fx; g = 0; for (h = e.length; g < h; g++) if (c = this.Jh(e[g].name)) c.wb = e[g].active, this.ga[c.index] = e[g].params; this.Pc(); g = a.layers; for (f in g) g.hasOwnProperty(f) && (a = this.Yf(parseInt(f, 10))) && a.Yb(g[f]) }; kb = l; q.prototype.Pc = function() { this.L.length = 0; var a, g, h; a = 0; for (g = this.A.length; a < g; a++) h = this.A[a], h.wb && this.L.push(h) }; q.prototype.Jh = function(a) { var g, h, c; g = 0; for (h = this.A.length; g < h; g++) if (c = this.A[g], c.name === a) return c; return null }; q.prototype.Lm = function() { var a, l, h, c, f, e; l = a = 0; for (h = this.ge.length; a < h; a++) { c = this.ge[a]; f = this.b.m[c[1]]; e = this.b.Yi(f); f = !0; if (!e || this.W.Oe) c = this.b.bd(c, this, !0), g.push(c), c.type.global && (f = !1); f && (this.ge[l] = this.ge[a], l++) } this.ge.length = l; this.b.Ma(); ! this.b.r && this.A.length && (this.Ua = this.Qm); this.He = Pa(this.Ua); this.b.Ac && Qa(this, this.Ua, this.b.Ac) }; q.prototype.$o = function() { if (this.ub) { var a, g; a = 0; for (g = this.d.length; a < g; a++) this.d[a].Rd = a; this.ub = !1 } }; q.prototype.nb = function(a) { return this.Cn() * (this.b.Nb || a ? this.b.Ee: 1) }; q.prototype.Cn = function() { return (this.scale * this.W.scale - 1) * this.Rc + 1 }; q.prototype.zb = function() { return this.zd ? 0 : za(this.W.j + this.j) }; q.prototype.Ub = function(a) { this.od = this.Dh || 1 !== this.opacity || 0 !== this.Ua; var g = this.b.canvas, h = a, c = !1; this.od && (this.b.jg || (this.b.jg = document.createElement("canvas"), g = this.b.jg, g.width = this.b.G, g.height = this.b.F, this.b.Bk = g.getContext("2d"), c = !0), g = this.b.jg, h = this.b.Bk, g.width !== this.b.G && (g.width = this.b.G, c = !0), g.height !== this.b.F && (g.height = this.b.F, c = !0), c && (h.webkitImageSmoothingEnabled = this.b.M, h.mozImageSmoothingEnabled = this.b.M, h.msImageSmoothingEnabled = this.b.M, h.imageSmoothingEnabled = this.b.M), this.Qd && h.clearRect(0, 0, this.b.G, this.b.F)); h.globalAlpha = 1; h.globalCompositeOperation = "source-over"; this.Qd || (h.fillStyle = "rgb(" + this.Yc[0] + "," + this.Yc[1] + "," + this.Yc[2] + ")", h.fillRect(0, 0, this.b.G, this.b.F)); h.save(); this.zd = !0; var c = this.ib(0, 0, !0, !0), f = this.ib(0, 0, !1, !0); this.zd = !1; this.b.mc && (c = c + 0.5 | 0, f = f + 0.5 | 0); this.Hi(c, f, h); var e = this.nb(); h.scale(e, e); h.translate( - c, -f); for (var t, c = 0, f = this.d.length; c < f; c++) e = this.d[c], e.visible && 0 !== e.width && 0 !== e.height && (e.Qa(), t = e.Na, t.right < this.Ka || t.bottom < this.La || t.left > this.tb || t.top > this.sb || (h.globalCompositeOperation = e.He, e.Ub(h))); h.restore(); this.od && (a.globalCompositeOperation = this.He, a.globalAlpha = this.opacity, a.drawImage(g, 0, 0)) }; q.prototype.Hi = function(a, g, h) { var c = this.nb(); this.Ka = a; this.La = g; this.tb = a + this.b.G * (1 / c); this.sb = g + this.b.F * (1 / c); a = this.zb(); 0 !== a && (h && (h.translate(this.b.G / 2, this.b.F / 2), h.rotate( - a), h.translate(this.b.G / -2, this.b.F / -2)), this.Oc.set(this.Ka, this.La, this.tb, this.sb), this.Oc.offset((this.Ka + this.tb) / -2, (this.La + this.sb) / -2), this.ll.fl(this.Oc, a), this.ll.Fj(this.Oc), this.Oc.offset((this.Ka + this.tb) / 2, (this.La + this.sb) / 2), this.Ka = this.Oc.left, this.La = this.Oc.top, this.tb = this.Oc.right, this.sb = this.Oc.bottom) }; q.prototype.yb = function(a) { var g = this.b.G, h = this.b.F, c = 0, f = 0; if (this.od = this.Dh || 1 !== this.opacity || 0 < this.L.length || 0 !== this.Ua) { this.b.Cb || (this.b.Cb = a.ad(this.b.G, this.b.F, this.b.M)); if (this.b.Cb.mh !== this.b.G || this.b.Cb.lh !== this.b.F) a.deleteTexture(this.b.Cb), this.b.Cb = a.ad(this.b.G, this.b.F, this.b.M); a.Lc(this.b.Cb); this.Qd && a.clear(0, 0, 0, 0) } this.Qd || a.clear(this.Yc[0] / 255, this.Yc[1] / 255, this.Yc[2] / 255, 1); this.zd = !0; var f = this.ib(0, 0, !0, !0), e = this.ib(0, 0, !1, !0); this.zd = !1; this.b.mc && (f = f + 0.5 | 0, e = e + 0.5 | 0); this.Hi(f, e, null); e = this.nb(); a.Kc(); a.scale(e, e); a.$k( - this.zb()); a.translate((this.Ka + this.tb) / -2, (this.La + this.sb) / -2); a.Qc(); var t, r, p; t = 0; for (r = this.d.length; t < r; t++) if (p = this.d[t], p.visible && 0 !== p.width && 0 !== p.height && (p.Qa(), c = p.Na, !(c.right < this.Ka || c.bottom < this.La || c.left > this.tb || c.top > this.sb))) if (p.ul) if (c = p.L[0].Ja, f = p.L[0].index, 1 !== p.L.length || a.Wk(c) || a.Gq(c) || (p.j || p.i.zb()) && a.wg(c) || 1 !== p.opacity || p.type.Y.Fk) this.W.Fi(a, this, p, this.od ? this.b.Cb: this.W.Qe()), a.Kc(), a.scale(e, e), a.$k( - this.zb()), a.translate((this.Ka + this.tb) / -2, (this.La + this.sb) / -2), a.Qc(); else { a.sd(c); a.se(p.Pa, p.Oa); a.Ai(c) && (this.b.N = !0); var b = 0, k = 0, l = 0, m = 0; a.wg(c) && (c = p.Na, b = this.da(c.left, c.top, !0, !0), k = this.da(c.left, c.top, !1, !0), l = this.da(c.right, c.bottom, !0, !0), c = this.da(c.right, c.bottom, !1, !0), b /= g, k = 1 - k / h, l /= g, m = 1 - c / h); a.rf(this.od ? this.b.Cb: this.W.Qe(), 1 / p.width, 1 / p.height, b, k, l, m, this.nb(), this.zb(), this.Ka, this.La, p.ga[f]); p.yb(a) } else a.sd(0), a.se(p.Pa, p.Oa), p.yb(a); this.od && (c = this.L.length ? this.L[0].Ja: 0, f = this.L.length ? this.L[0].index: 0, 0 === this.L.length || 1 === this.L.length && !a.Wk(c) && 1 === this.opacity ? (1 === this.L.length ? (a.sd(c), a.rf(this.W.Qe(), 1 / this.b.G, 1 / this.b.F, 0, 0, 1, 1, this.nb(), this.zb(), this.Ka, this.La, this.ga[f]), a.Ai(c) && (this.b.N = !0)) : a.sd(0), a.Lc(this.W.Qe()), a.te(this.opacity), a.Eb(this.b.Cb), a.se(this.Pa, this.Oa), a.Kc(), a.Qc(), g = this.b.G / 2, h = this.b.F / 2, a.Ci( - g, h, g, h, g, -h, -g, -h), a.Eb(null)) : this.W.Fi(a, this, null, this.W.Qe())) }; q.prototype.ib = function(a, g, h, c) { var f = this.b.devicePixelRatio; this.b.Gd && (a *= f, g *= f); var f = this.b.Rk, e = this.b.Sk, f = (this.W.scrollX - f) * this.Gc + f, e = (this.W.scrollY - e) * this.Hc + e, t = 1 / this.nb(!c); c ? (f -= this.b.G * t / 2, e -= this.b.F * t / 2) : (f -= this.b.width * t / 2, e -= this.b.height * t / 2); f += a * t; e += g * t; g = this.zb(); 0 !== g && (f -= this.W.scrollX, e -= this.W.scrollY, a = Math.cos(g), g = Math.sin(g), c = f * a - e * g, e = e * a + f * g, f = c + this.W.scrollX, e += this.W.scrollY); return h ? f: e }; q.prototype.da = function(a, g, h, c) { var f = this.zb(); if (0 !== f) { a -= this.W.scrollX; g -= this.W.scrollY; var e = Math.cos( - f), f = Math.sin( - f), t = a * e - g * f; g = g * e + a * f; a = t + this.W.scrollX; g += this.W.scrollY } e = this.b.Rk; f = this.b.Sk; e = (this.W.scrollX - e) * this.Gc + e; f = (this.W.scrollY - f) * this.Hc + f; t = 1 / this.nb(!c); c ? (e -= this.b.G * t / 2, f -= this.b.F * t / 2) : (e -= this.b.width * t / 2, f -= this.b.height * t / 2); e = (a - e) / t; f = (g - f) / t; a = this.b.devicePixelRatio; this.b.Gd && !c && (e /= a, f /= a); return h ? e: f }; q.prototype.Db = function() { var a, g, h, c = { s: this.scale, a: this.j, vl: this.Ka, vt: this.La, vr: this.tb, vb: this.sb, v: this.visible, bc: this.Yc, t: this.Qd, px: this.Gc, py: this.Hc, o: this.opacity, zr: this.Rc, fx: [], instances: [] }; a = 0; for (g = this.A.length; a < g; a++) h = this.A[a], c.fx.push({ name: h.name, active: h.wb, params: this.ga[h.index] }); return c }; q.prototype.Yb = function(d) { var g, h; this.scale = d.s; this.j = d.a; this.Ka = d.vl; this.La = d.vt; this.tb = d.vr; this.sb = d.vb; this.visible = d.v; this.Yc = d.bc; this.Qd = d.t; this.Gc = d.px; this.Hc = d.py; this.opacity = d.o; this.Rc = d.zr; var c = d.fx; d = 0; for (g = c.length; d < g; d++) if (h = this.Jh(c[d].name)) h.wb = c[d].active, this.ga[h.index] = c[d].params; this.Pc(); this.d.sort(a); this.ub = !0 }; xb = q })(); (function() { function l(b, a) { var c, e = b.length; switch (e) { case 0: return ! 0; case 1: return b[0] === a[0]; case 2: return b[0] === a[0] && b[1] === a[1]; default: for (c = 0; c < e; c++) if (b[c] !== a[c]) return ! 1; return ! 0 } } function q(b, a) { return b.index - a.index } function a(a) { var c, e, f, d; 2 === a.length ? a[0].index > a[1].index && (c = a[0], a[0] = a[1], a[1] = c) : 2 < a.length && a.sort(q); a.length >= b.length && (b.length = a.length + 1); b[a.length] || (b[a.length] = []); d = b[a.length]; c = 0; for (e = d.length; c < e; c++) if (f = d[c], l(a, f)) return f; d.push(a); return a } function g(b, a) { this.b = b; this.nl = {}; this.Sj = {}; this.Ph = !1; this.ik = new ga; this.xh = []; this.fh = []; this.name = a[0]; var c = a[1]; this.dd = []; var e, f; e = 0; for (f = c.length; e < f; e++) this.jk(c[e], null, this.dd) } function d(b) { this.type = b; this.d = []; this.Q = []; this.Z = !0 } function u(b, a, c) { this.sheet = b; this.parent = a; this.b = b.b; this.P = []; this.pd = []; this.gk = this.Qg = this.Vi = this.Th = this.group = this.Oi = !1; this.ua = []; this.Sb = []; this.Qb = []; this.Se = ""; this.ed = this.Th = this.group = !1; this.Lf = null; c[1] && (this.Se = c[1][1].toLowerCase(), this.group = !0, this.Th = !!c[1][0], this.Lf = [], this.ed = this.Th, this.b.Xd.push(this), this.b.fe[this.Se] = this); this.Zb = c[2]; this.H = c[4]; this.group || (this.b.Ej[this.H.toString()] = this); var e = c[5]; b = 0; for (a = e.length; b < a; b++) { var f = new yb(this, e[b]); f.index = b; this.ua.push(f); this.vj(f.type) } e = c[6]; b = 0; for (a = e.length; b < a; b++) f = new zb(this, e[b]), f.index = b, this.Sb.push(f); if (8 === c.length) for (c = c[7], b = 0, a = c.length; b < a; b++) this.sheet.jk(c[b], this, this.Qb); this.dg = !1; this.ua.length && (this.dg = null == this.ua[0].type && this.ua[0].Ea == R.prototype.g.Wg) } function h(b, a) { var c, e, f; if (b && ( - 1 === a.indexOf(b) && a.push(b), b.Bb)) for (c = 0, e = b.jb.length; c < e; c++) f = b.jb[c], b !== f && -1 === a.indexOf(f) && a.push(f) } function c(b, a) { this.xb = b; this.sheet = b.sheet; this.b = b.b; this.U = []; this.X = []; this.R = {}; this.index = -1; this.De = !1; this.Ea = a[1]; this.trigger = 0 < a[3]; this.Rj = 2 === a[3]; this.Vh = a[5]; this.lo = a[6]; this.H = a[7]; this.b.Yd[this.H.toString()] = this; - 1 === a[0] ? (this.type = null, this.oa = this.Ji, this.yd = null, this.Hb = -1) : (this.type = this.b.m[a[0]], this.oa = this.lo ? this.Mo: this.Ii, a[2] ? (this.yd = this.type.Xf(a[2]), this.Hb = this.type.Hh(a[2])) : (this.yd = null, this.Hb = -1), this.xb.parent && this.xb.parent.Dg()); this.Rj && (this.oa = this.No); if (10 === a.length) { var c, e, f = a[9]; c = 0; for (e = f.length; c < e; c++) { var d = new Ab(this, f[c]); this.U.push(d) } this.X.length = f.length } } function f(b, a) { this.xb = b; this.sheet = b.sheet; this.b = b.b; this.U = []; this.X = []; this.R = {}; this.index = -1; this.De = !1; this.Ea = a[1]; - 1 === a[0] ? (this.type = null, this.oa = this.Ji, this.yd = null, this.Hb = -1) : (this.type = this.b.m[a[0]], this.oa = this.Ii, a[2] ? (this.yd = this.type.Xf(a[2]), this.Hb = this.type.Hh(a[2])) : (this.yd = null, this.Hb = -1)); this.H = a[3]; this.b.Wd[this.H.toString()] = this; if (6 === a.length) { var c, e, f = a[5]; c = 0; for (e = f.length; c < e; c++) { var d = new Ab(this, f[c]); this.U.push(d) } this.X.length = f.length } } function e(b, a) { this.p = b; this.xb = b.xb; this.sheet = b.sheet; this.b = b.b; this.type = a[0]; this.gc = null; this.qd = 0; this.get = null; this.Jj = 0; this.W = null; this.key = 0; this.object = null; this.index = 0; this.zf = this.Od = this.zf = this.Od = this.Tj = this.Bd = this.Af = null; this.Rb = !1; var c, e, f; switch (a[0]) { case 0: case 7: this.gc = new N(this, a[1]); this.qd = 0; this.get = this.Hn; break; case 1: this.gc = new N(this, a[1]); this.qd = 0; this.get = this.In; break; case 5: this.gc = new N(this, a[1]); this.qd = 0; this.get = this.Mn; break; case 3: case 8: this.Jj = a[1]; this.get = this.Fn; break; case 6: this.W = this.b.ii[a[1]]; this.get = this.Nn; break; case 9: this.key = a[1]; this.get = this.Ln; break; case 4: this.object = this.b.m[a[1]]; this.get = this.On; this.xb.vj(this.object); this.p instanceof zb ? this.xb.Dg() : this.xb.parent && this.xb.parent.Dg(); break; case 10: this.index = a[1]; b.type.B ? (this.get = this.Jn, this.Rb = !0) : this.get = this.Kn; break; case 11: this.Af = a[1]; this.Bd = null; this.get = this.Gn; break; case 2: case 12: this.Tj = a[1]; this.get = this.En; break; case 13: for (this.get = this.Pn, this.Od = [], this.zf = [], c = 1, e = a.length; c < e; c++) f = new Ab(this.p, a[c]), this.Od.push(f), this.zf.push(0) } } function t(b, a, c) { this.sheet = b; this.parent = a; this.b = b.b; this.P = []; this.name = c[1]; this.Bf = c[2]; this.Sh = c[3]; this.Ye = !!c[4]; this.cg = !!c[5]; this.H = c[6]; this.b.Ae[this.H.toString()] = this; this.data = this.Sh; this.parent ? (this.Id = this.Ye || this.cg ? -1 : this.b.Ro++, this.b.ym.push(this)) : (this.Id = -1, this.b.xm.push(this)) } function r(b, a, c) { this.sheet = b; this.parent = a; this.b = b.b; this.P = []; this.Te = null; this.Vn = c[1]; this.wb = !0 } function p() { this.il = []; this.reset(null) } var b = []; g.prototype.toString = ca("name"); g.prototype.jk = function(b, a, c) { switch (b[0]) { case 0: b = new Bb(this, a, b); if (b.Zb) for (c.push(b), c = 0, a = b.ua.length; c < a; c++) b.ua[c].trigger && this.kk(b, c); else b.qk() ? this.kk(b, 0) : c.push(b); break; case 1: b = new ub(this, a, b); c.push(b); break; case 2: b = new Cb(this, a, b), c.push(b) } }; g.prototype.ia = function() { var b, a; b = 0; for (a = this.dd.length; b < a; b++) this.dd[b].ia(b < a - 1 && this.dd[b + 1].dg) }; g.prototype.$i = function() { this.xh.length = 0; this.fh.length = 0; this.uj(this); this.fh.length = 0 }; g.prototype.uj = function(b) { var a, c, e, f, d = b.xh, h = b.fh, k = this.ik.ye(); a = 0; for (c = k.length; a < c; ++a) e = k[a], f = e.Te, !e.wb || b === f || -1 < h.indexOf(f) || (h.push(f), f.uj(b), d.push(f)) }; g.prototype.oa = function(b) { this.b.Hq || (this.Ph = !0, b || (this.b.$h = !0)); var a, c; a = 0; for (c = this.dd.length; a < c; a++) { var e = this.dd[a]; e.oa(); this.b.sh(e.P); this.b.fc.Vb() && !this.b.kb.length || this.b.Ma() } b || (this.b.$h = !1) }; g.prototype.kk = function(b, a) { b.Zb || this.b.Sg.push(b); var c, e, f = b.ua[a], d; d = f.type ? f.type.name: "system"; var h = (c = f.Rj) ? this.Sj: this.nl; h[d] || (h[d] = []); d = h[d]; h = f.Ea; if (c) { if (f.U.length && (f = f.U[0], 1 === f.type && 2 === f.gc.type)) { f = f.gc.value.toLowerCase(); c = 0; for (e = d.length; c < e; c++) if (d[c].method == h) { c = d[c].Ke; c[f] ? c[f].push([b, a]) : c[f] = [[b, a]]; return } c = {}; c[f] = [[b, a]]; d.push({ method: h, Ke: c }) } } else { c = 0; for (e = d.length; c < e; c++) if (d[c].method == h) { d[c].Ke.push([b, a]); return } S && h === S.prototype.g.Ud ? d.unshift({ method: h, Ke: [[b, a]] }) : d.push({ method: h, Ke: [[b, a]] }) } }; lb = g; d.prototype.Oh = function() { return this.Z ? this.type.d.length: this.d.length }; d.prototype.hc = function() { return this.Z ? this.type.d: this.d }; d.prototype.lf = function(b) { b && (b.b.Fa().Da.Zb ? (this.Z && (this.d.length = 0, ua(this.Q, b.type.d), this.Z = !1), b = this.Q.indexOf(b), -1 !== b && (this.d.push(this.Q[b]), this.Q.splice(b, 1))) : (this.Z = !1, this.d.length = 1, this.d[0] = b)) }; Va = d; window._c2hh_ = "9AD7BB199F23B22D48C5FE5FE9A5A9A64FC93A93"; u.prototype.ia = function(b) { var c, e = this.parent; if (this.group) for (this.Qg = !0; e;) { if (!e.group) { this.Qg = !1; break } e = e.parent } this.Vi = !this.qk() && (!this.parent || this.parent.group && this.parent.Qg); this.gk = !!b; this.pd = this.P.slice(0); for (e = this.parent; e;) { b = 0; for (c = e.P.length; b < c; b++) this.vm(e.P[b]); e = e.parent } this.P = a(this.P); this.pd = a(this.pd); b = 0; for (c = this.ua.length; b < c; b++) this.ua[b].ia(); b = 0; for (c = this.Sb.length; b < c; b++) this.Sb[b].ia(); b = 0; for (c = this.Qb.length; b < c; b++) this.Qb[b].ia(b < c - 1 && this.Qb[b + 1].dg) }; u.prototype.Mi = function(b) { if (this.ed !== !!b) { this.ed = !!b; var a; b = 0; for (a = this.Lf.length; b < a; ++b) this.Lf[b].sl(); 0 < a && this.b.S.Ad && this.b.S.Ad.$i() } }; u.prototype.vj = function(b) { h(b, this.P) }; u.prototype.vm = function(b) { h(b, this.pd) }; u.prototype.Dg = function() { this.Oi = !0; this.parent && this.parent.Dg() }; u.prototype.qk = function() { return this.ua.length ? this.ua[0].trigger: !1 }; u.prototype.oa = function() { var b, a = !1, c, e = this.b, f = this.b.Fa(); f.Da = this; var d = this.ua; this.dg || (f.Ah = !1); if (this.Zb) { 0 === d.length && (a = !0); f.la = 0; for (b = d.length; f.la < b; f.la++) d[f.la].trigger || (c = d[f.la].oa()) && (a = !0); (f.Hd = a) && this.Bg() } else { f.la = 0; for (b = d.length; f.la < b; f.la++) if (c = d[f.la].oa(), !c) { f.Hd = !1; ! this.Vi || e.fc.Vb() && !e.kb.length || e.Ma(); return } f.Hd = !0; this.Bg() } this.Sm(f) }; u.prototype.Sm = function(b) { b.Hd && this.gk && (b.Ah = !0); ! this.Vi || this.b.fc.Vb() && !this.b.kb.length || this.b.Ma() }; u.prototype.Ko = function(b) { this.b.Fa().Da = this; this.ua[b].oa() && (this.Bg(), this.b.Fa().Hd = !0) }; u.prototype.Bg = function() { var b = this.b.Fa(), a; b.gb = 0; for (a = this.Sb.length; b.gb < a; b.gb++) if (this.Sb[b.gb].oa()) return; this.al() }; u.prototype.Io = function() { var b = this.b.Fa(), a; for (a = this.Sb.length; b.gb < a; b.gb++) if (this.Sb[b.gb].oa()) return; this.al() }; u.prototype.al = function() { if (this.Qb.length) { var b, a, c, e, f = this.Qb.length - 1; this.b.yg(this); if (this.Oi) for (b = 0, a = this.Qb.length; b < a; b++) c = this.Qb[b], (e = !this.Qg || !this.group && b < f) && this.b.re(c.P), c.oa(), e ? this.b.Ic(c.P) : this.b.sh(c.P); else for (b = 0, a = this.Qb.length; b < a; b++) this.Qb[b].oa(); this.b.vg() } }; u.prototype.Lo = function() { var b = this.b.Fa(); b.Da = this; var a = !1, c; b.la = 0; for (c = this.ua.length; b.la < c; b.la++) if (this.ua[b.la].oa()) a = !0; else if (!this.Zb) return ! 1; return this.Zb ? a: !0 }; u.prototype.pf = function() { this.b.Rf++; var b = this.b.Fa().la, a = this.b.yg(this); if (!this.Zb) for (a.la = b + 1, b = this.ua.length; a.la < b; a.la++) if (!this.ua[a.la].oa()) { this.b.vg(); return } this.Bg(); this.b.vg() }; u.prototype.bo = function(b) { var a = b.index; if (0 === a) return ! 0; for (--a; 0 <= a; --a) if (this.ua[a].type === b.type) return ! 1; return ! 0 }; Bb = u; c.prototype.ia = function() { var b, a, c; b = 0; for (a = this.U.length; b < a; b++) c = this.U[b], c.ia(), c.Rb && (this.De = !0) }; c.prototype.No = w(!0); c.prototype.Ji = function() { var b, a; b = 0; for (a = this.U.length; b < a; b++) this.X[b] = this.U[b].get(); return Ia(this.Ea.apply(this.b.oc, this.X), this.Vh) }; c.prototype.Mo = function() { var b, a; b = 0; for (a = this.U.length; b < a; b++) this.X[b] = this.U[b].get(); b = this.Ea.apply(this.yd ? this.yd: this.type, this.X); this.type.Xc(); return b }; c.prototype.Ii = function() { var b, a, c, e, f, d, h, k, g = this.type, r = g.V(), p = this.xb.Zb && !this.trigger; a = 0; var t = g.Bb, l = g.B, q = g.xc, v = this.Hb, u = -1 < v, ba = this.De, z = this.U, K = this.X, W = this.Vh, aa = this.Ea, Q; if (ba) for (a = 0, f = z.length; a < f; ++a) d = z[a], d.Rb || (K[a] = d.get(0)); else for (a = 0, f = z.length; a < f; ++a) K[a] = z[a].get(0); if (r.Z) { r.d.length = 0; r.Q.length = 0; Q = g.d; b = 0; for (e = Q.length; b < e; ++b) { k = Q[b]; if (ba) for (a = 0, f = z.length; a < f; ++a) d = z[a], d.Rb && (K[a] = d.get(b)); u ? (a = 0, l && (a = k.type.be[q]), a = aa.apply(k.C[v + a], K)) : a = aa.apply(k, K); (h = Ia(a, W)) ? r.d.push(k) : p && r.Q.push(k) } g.finish && g.finish(!0); r.Z = !1; g.Xc(); return r.Oh() } c = 0; Q = (h = p && !this.xb.bo(this)) ? r.Q: r.d; var Aa = !1; b = 0; for (e = Q.length; b < e; ++b) { k = Q[b]; if (ba) for (a = 0, f = z.length; a < f; ++a) d = z[a], d.Rb && (K[a] = d.get(b)); u ? (a = 0, l && (a = k.type.be[q]), a = aa.apply(k.C[v + a], K)) : a = aa.apply(k, K); if (Ia(a, W)) if (Aa = !0, h) { if (r.d.push(k), t) for (a = 0, f = k.siblings.length; a < f; a++) d = k.siblings[a], d.type.V().d.push(d) } else { Q[c] = k; if (t) for (a = 0, f = k.siblings.length; a < f; a++) d = k.siblings[a], d.type.V().d[c] = d; c++ } else if (h) { Q[c] = k; if (t) for (a = 0, f = k.siblings.length; a < f; a++) d = k.siblings[a], d.type.V().Q[c] = d; c++ } else if (p && (r.Q.push(k), t)) for (a = 0, f = k.siblings.length; a < f; a++) d = k.siblings[a], d.type.V().Q.push(d) } Q.length = c; if (t) for (l = g.jb, b = 0, e = l.length; b < e; b++) k = l[b].V(), h ? k.Q.length = c: k.d.length = c; c = Aa; if (h && !Aa) for (b = 0, e = r.d.length; b < e; b++) { k = r.d[b]; if (ba) for (a = 0, f = z.length; a < f; a++) d = z[a], d.Rb && (K[a] = d.get(b)); a = u ? aa.apply(k.C[v], K) : aa.apply(k, K); if (Ia(a, W)) { Aa = !0; break } } g.finish && g.finish(c || p); return p ? Aa: r.Oh() }; yb = c; f.prototype.ia = function() { var b, a, c; b = 0; for (a = this.U.length; b < a; b++) c = this.U[b], c.ia(), c.Rb && (this.De = !0) }; f.prototype.Ji = function() { var b, a; b = 0; for (a = this.U.length; b < a; b++) this.X[b] = this.U[b].get(); return this.Ea.apply(this.b.oc, this.X) }; f.prototype.Ii = function() { var b = this.type.V().hc(), a = this.type.B, c = this.type.xc, e = this.Hb, f = -1 < e, d = this.De, k = this.U, h = this.X, g = this.Ea, r, p, t, l, q, v; if (d) for (p = 0, l = k.length; p < l; ++p) q = k[p], q.Rb || (h[p] = q.get(0)); else for (p = 0, l = k.length; p < l; ++p) h[p] = k[p].get(0); r = 0; for (t = b.length; r < t; ++r) { v = b[r]; if (d) for (p = 0, l = k.length; p < l; ++p) q = k[p], q.Rb && (h[p] = q.get(r)); f ? (p = 0, a && (p = v.type.be[c]), g.apply(v.C[e + p], h)) : g.apply(v, h) } return ! 1 }; zb = f; var k = [], v = -1; e.prototype.ia = function() { var b, a; if (11 === this.type) this.Bd = this.b.$j(this.Af, this.xb.parent); else if (13 === this.type) for (b = 0, a = this.Od.length; b < a; b++) this.Od[b].ia(); this.gc && this.gc.ia() }; e.prototype.qo = function(b) { this.Rb || !b || b.Y.Fg || (this.Rb = !0) }; e.prototype.dl = function() { this.Rb = !0 }; e.prototype.xa = function() { v++; k.length === v && k.push(new Db); return k[v] }; e.prototype.na = function() { v-- }; e.prototype.Hn = function(b) { this.qd = b || 0; b = this.xa(); this.gc.get(b); this.na(); return b.data }; e.prototype.In = function(b) { this.qd = b || 0; b = this.xa(); this.gc.get(b); this.na(); return F(b.data) ? b.data: "" }; e.prototype.On = ca("object"); e.prototype.Fn = ca("Jj"); e.prototype.Mn = function(b) { this.qd = b || 0; b = this.xa(); this.gc.get(b); this.na(); return b.ya() ? this.b.Pe(b.data) : this.b.Mh(b.data) }; e.prototype.Nn = ca("W"); e.prototype.Ln = ca("key"); e.prototype.Kn = ca("index"); e.prototype.Jn = function(b) { b = b || 0; var a = this.p.type, c = null, c = a.V(), e = c.hc(); if (e.length) c = e[b % e.length].type; else if (c.Q.length) c = c.Q[b % c.Q.length].type; else if (a.d.length) c = a.d[b % a.d.length].type; else return 0; return this.index + c.Tf[a.xc] }; e.prototype.Gn = ca("Bd"); e.prototype.En = ca("Tj"); e.prototype.Pn = function() { var b, a; b = 0; for (a = this.Od.length; b < a; b++) this.zf[b] = this.Od[b].get(); return this.zf }; Ab = e; t.prototype.ia = function() { this.P = a(this.P) }; t.prototype.Mc = function(b) { var a = this.b.Zj(); this.parent && !this.Ye && a ? (this.Id >= a.length && (a.length = this.Id + 1), a[this.Id] = b) : this.data = b }; t.prototype.Dd = function() { var b = this.b.Zj(); return ! this.parent || this.Ye || !b || this.cg ? this.data: this.Id >= b.length || "undefined" === typeof b[this.Id] ? this.Sh: b[this.Id] }; t.prototype.oa = function() { ! this.parent || this.Ye || this.cg || this.Mc(this.Sh) }; ub = t; r.prototype.toString = function() { return "include:" + this.Te.toString() }; r.prototype.ia = function() { this.Te = this.b.Ch[this.Vn]; this.sheet.ik.add(this); this.P = a(this.P); for (var b = this.parent; b;) b.group && b.Lf.push(this), b = b.parent; this.sl() }; r.prototype.oa = function() { this.parent && this.b.nf(this.b.m); this.Te.Ph || this.Te.oa(!0); this.parent && this.b.Ic(this.b.m) }; r.prototype.sl = function() { for (var b = this.parent; b;) { if (b.group && !b.ed) { this.wb = !1; return } b = b.parent } this.wb = !0 }; Cb = r; p.prototype.reset = function(b) { this.Da = b; this.gb = this.la = 0; this.il.length = 0; this.Ah = this.Hd = !1 }; p.prototype.co = function() { return this.Da.Oi ? !0 : this.la < this.Da.ua.length - 1 ? !!this.Da.P.length: !1 }; tb = p })(); (function() { function l(a, g) { this.p = a; this.b = a.b; this.type = g[0]; this.get = [this.dn, this.$m, this.nn, this.qn, this.Um, this.on, this.jn, this.Xm, this.hn, this.mn, this.Vm, this.ln, this.Ym, this.kn, this.en, this.gn, this.an, this.bn, this.Wm, this.pn, this.Pj, this.cn, this.Pj, this.Zm][this.type]; var d = null; this.ab = this.U = this.X = this.Ea = this.Mg = this.Ba = this.first = this.value = null; this.Hb = -1; this.Bc = null; this.bj = -1; this.Bd = this.Af = null; this.qf = !1; switch (this.type) { case 0: case 1: case 2: this.value = g[1]; break; case 3: this.first = new N(a, g[1]); break; case 18: this.first = new N(a, g[1]); this.Ba = new N(a, g[2]); this.Mg = new N(a, g[3]); break; case 19: this.Ea = g[1]; this.Ea !== R.prototype.k.random && this.Ea !== R.prototype.k.If || this.p.dl(); this.X = []; this.U = []; 3 === g.length ? (d = g[2], this.X.length = d.length + 1) : this.X.length = 1; break; case 20: this.ab = this.b.m[g[1]]; this.Hb = -1; this.Ea = g[2]; this.qf = g[3]; Ib && this.Ea === Ib.prototype.k.yl && this.p.dl(); this.Bc = g[4] ? new N(a, g[4]) : null; this.X = []; this.U = []; 6 === g.length ? (d = g[5], this.X.length = d.length + 1) : this.X.length = 1; break; case 21: this.ab = this.b.m[g[1]]; this.qf = g[2]; this.Bc = g[3] ? new N(a, g[3]) : null; this.bj = g[4]; break; case 22: this.ab = this.b.m[g[1]]; this.ab.Xf(g[2]); this.Hb = this.ab.Hh(g[2]); this.Ea = g[3]; this.qf = g[4]; this.Bc = g[5] ? new N(a, g[5]) : null; this.X = []; this.U = []; 7 === g.length ? (d = g[6], this.X.length = d.length + 1) : this.X.length = 1; break; case 23: this.Af = g[1], this.Bd = null } this.p.qo(this.ab); 4 <= this.type && 17 >= this.type && (this.first = new N(a, g[1]), this.Ba = new N(a, g[2])); if (d) { var l, h; l = 0; for (h = d.length; l < h; l++) this.U.push(new N(a, d[l])) } } function q(a, g) { this.type = a || O.Td; this.data = g || 0; this.me = null; this.type == O.Td && (this.data = Math.floor(this.data)) } l.prototype.ia = function() { 23 === this.type && (this.Bd = this.p.b.$j(this.Af, this.p.xb.parent)); this.first && this.first.ia(); this.Ba && this.Ba.ia(); this.Mg && this.Mg.ia(); this.Bc && this.Bc.ia(); if (this.U) { var a, g; a = 0; for (g = this.U.length; a < g; a++) this.U[a].ia() } }; l.prototype.pn = function(a) { this.X[0] = a; a = this.p.xa(); var g, d; g = 0; for (d = this.U.length; g < d; g++) this.U[g].get(a), this.X[g + 1] = a.data; this.p.na(); this.Ea.apply(this.b.oc, this.X) }; l.prototype.Pj = function(a) { var g = this.ab.V(), d = g.hc(); if (!d.length) if (g.Q.length) d = g.Q; else { this.qf ? a.pa("") : a.O(0); return } this.X[0] = a; a.me = this.ab; a = this.p.xa(); var l, g = 0; for (l = this.U.length; g < l; g++) this.U[g].get(a), this.X[g + 1] = a.data; g = this.p.qd; this.Bc && (this.Bc.get(a), a.ya() && (g = a.data, d = this.ab.d)); this.p.na(); g %= d.length; 0 > g && (g += d.length); d = d[g]; - 1 < this.Hb ? (a = 0, this.ab.B && (a = d.type.be[this.ab.xc]), this.Ea.apply(d.C[this.Hb + a], this.X)) : this.Ea.apply(d, this.X) }; l.prototype.cn = function(a) { var g = this.ab.V(), d = g.hc(); if (!d.length) if (g.Q.length) d = g.Q; else { this.qf ? a.pa("") : a.O(0); return } g = this.p.qd; if (this.Bc) { var l = this.p.xa(); this.Bc.get(l); if (l.ya()) { g = l.data; d = this.ab.d; g %= d.length; 0 > g && (g += d.length); d = d[g].wa[this.bj]; F(d) ? a.pa(d) : a.u(d); this.p.na(); return } this.p.na() } g %= d.length; 0 > g && (g += d.length); d = d[g]; g = 0; this.ab.B && (g = d.type.Tf[this.ab.xc]); d = d.wa[this.bj + g]; F(d) ? a.pa(d) : a.u(d) }; l.prototype.dn = function(a) { a.type = O.Td; a.data = this.value }; l.prototype.$m = function(a) { a.type = O.Sd; a.data = this.value }; l.prototype.nn = function(a) { a.type = O.Gf; a.data = this.value }; l.prototype.qn = function(a) { this.first.get(a); a.ya() && (a.data = -a.data) }; l.prototype.Um = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.ya() && g.ya() && (a.data += g.data, g.he() && a.le()); this.p.na() }; l.prototype.on = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.ya() && g.ya() && (a.data -= g.data, g.he() && a.le()); this.p.na() }; l.prototype.jn = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.ya() && g.ya() && (a.data *= g.data, g.he() && a.le()); this.p.na() }; l.prototype.Xm = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.ya() && g.ya() && (a.data /= g.data, a.le()); this.p.na() }; l.prototype.hn = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.ya() && g.ya() && (a.data %= g.data, g.he() && a.le()); this.p.na() }; l.prototype.mn = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.ya() && g.ya() && (a.data = Math.pow(a.data, g.data), g.he() && a.le()); this.p.na() }; l.prototype.Vm = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.ya() ? g.eg() ? a.pa(a.data.toString() + g.data) : a.data && g.data ? a.O(1) : a.O(0) : a.eg() && (a.data = g.eg() ? a.data + g.data: a.data + (Math.round(1E10 * g.data) / 1E10).toString()); this.p.na() }; l.prototype.ln = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.ya() && g.ya() && (a.data || g.data ? a.O(1) : a.O(0)); this.p.na() }; l.prototype.Wm = function(a) { this.first.get(a); a.data ? this.Ba.get(a) : this.Mg.get(a) }; l.prototype.Ym = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.O(a.data === g.data ? 1 : 0); this.p.na() }; l.prototype.kn = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.O(a.data !== g.data ? 1 : 0); this.p.na() }; l.prototype.en = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.O(a.data < g.data ? 1 : 0); this.p.na() }; l.prototype.gn = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.O(a.data <= g.data ? 1 : 0); this.p.na() }; l.prototype.an = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.O(a.data > g.data ? 1 : 0); this.p.na() }; l.prototype.bn = function(a) { this.first.get(a); var g = this.p.xa(); this.Ba.get(g); a.O(a.data >= g.data ? 1 : 0); this.p.na() }; l.prototype.Zm = function(a) { var g = this.Bd.Dd(); B(g) ? a.u(g) : a.pa(g) }; N = l; q.prototype.he = function() { return this.type === O.Sd }; q.prototype.ya = function() { return this.type === O.Td || this.type === O.Sd }; q.prototype.eg = function() { return this.type === O.Gf }; q.prototype.le = function() { this.he() || (this.eg() && (this.data = parseFloat(this.data)), this.type = O.Sd) }; q.prototype.O = function(a) { this.type = O.Td; this.data = Math.floor(a) }; q.prototype.u = function(a) { this.type = O.Sd; this.data = a }; q.prototype.pa = function(a) { this.type = O.Gf; this.data = a }; q.prototype.el = function(a) { B(a) ? (this.type = O.Sd, this.data = a) : F(a) ? (this.type = O.Gf, this.data = a.toString()) : (this.type = O.Td, this.data = 0) }; Db = q; O = { Td: 0, Sd: 1, Gf: 2 } })(); function R(l) { this.b = l; this.eb = [] } R.prototype.Db = function() { var l = {}, q, a, g, d, u, h, c, f; l.waits = []; var e = l.waits, t; q = 0; for (a = this.eb.length; q < a; q++) { h = this.eb[q]; t = { t: h.time, ev: h.$d.H, sm: [], sols: {} }; h.$d.Sb[h.gb] && (t.act = h.$d.Sb[h.gb].H); g = 0; for (d = h.P.length; g < d; g++) t.sm.push(h.P[g].H); for (u in h.Ta) if (h.Ta.hasOwnProperty(u)) { c = this.b.m[parseInt(u, 10)]; f = { sa: h.Ta[u].Cg, insts: [] }; g = 0; for (d = h.Ta[u].Cc.length; g < d; g++) f.insts.push(h.Ta[u].Cc[g].uid); t.sols[c.H.toString()] = f } e.push(t) } return l }; R.prototype.Yb = function(l) { l = l.waits; var q, a, g, d, u, h, c, f, e, t, r; q = this.eb.length = 0; for (a = l.length; q < a; q++) if (h = l[q], f = this.b.Ej[h.ev.toString()]) { e = -1; g = 0; for (d = f.Sb.length; g < d; g++) if (f.Sb[g].H === h.act) { e = g; break } if ( - 1 !== e) { c = { Ta: {}, P: [], yh: !1 }; c.time = h.t; c.$d = f; c.gb = e; g = 0; for (d = h.sm.length; g < d; g++)(f = this.b.Zf(h.sm[g])) && c.P.push(f); for (u in h.sols) if (h.sols.hasOwnProperty(u) && (f = this.b.Zf(parseInt(u, 10)))) { e = h.sols[u]; t = { Cg: e.sa, Cc: [] }; g = 0; for (d = e.insts.length; g < d; g++)(r = this.b.dk(e.insts[g])) && t.Cc.push(r); c.Ta[f.index.toString()] = t } this.eb.push(c) } } }; (function() { function l() {} function q() {} function a() {} var g = R.prototype; l.prototype.Cl = w(!0); l.prototype.Vl = w(!0); l.prototype.Ul = w(!0); l.prototype.ej = function(a, c, f) { return Eb(a, c, f) }; l.prototype.Ef = function(a, c, f) { var e = this.b.Fa(), d = e.Da, e = e.co(); a = this.b.Go(a); if (f < c) if (e) for (; c >= f && !a.uf; --c) this.b.re(d.P), a.index = c, d.pf(), this.b.Ic(d.P); else for (; c >= f && !a.uf; --c) a.index = c, d.pf(); else if (e) for (; c <= f && !a.uf; ++c) this.b.re(d.P), a.index = c, d.pf(), this.b.Ic(d.P); else for (; c <= f && !a.uf; ++c) a.index = c, d.pf(); this.b.Bo(); return ! 1 }; l.prototype.gj = function(a) { var c = this.b.Yj(), f = c.R.Df || 0, e = this.b.jd.ja; "undefined" === typeof c.R.Xg && (c.R.Xg = a); var d = c.R.Xg; if (e >= f + d) return c.R.Df = f + d, e >= c.R.Df + 0.04 && (c.R.Df = e), c.R.Xg = a, !0; e < f - 0.1 && (c.R.Df = e); return ! 1 }; l.prototype.ta = function(a, c, f) { return Eb(a.Dd(), c, f) }; l.prototype.td = function(a) { return (a = this.b.fe[a.toLowerCase()]) && a.ed }; l.prototype.Wg = function() { var a = this.b.Fa(); return a.Ah ? !1 : !a.Hd }; l.prototype.ah = w(!0); l.prototype.Ll = w(!0); l.prototype.bh = w(!0); l.prototype.Wl = w(!0); l.prototype.$g = w(!0); g.g = new l; q.prototype.Gb = function(a, c, f, e) { if (c && a && (c = this.b.Lj(a, c, f, e))) { this.b.Wb++; var d; this.b.trigger(Object.getPrototypeOf(a.Y).g.Zg, c); if (c.Bb) for (f = 0, e = c.siblings.length; f < e; f++) d = c.siblings[f], this.b.trigger(Object.getPrototypeOf(d.type.Y).g.Zg, d); this.b.Wb--; a = a.V(); a.Z = !1; a.d.length = 1; a.d[0] = c; if (c.Bb) for (f = 0, e = c.siblings.length; f < e; f++) d = c.siblings[f], a = d.type.V(), a.Z = !1, a.d.length = 1, a.d[0] = d } }; q.prototype.ca = function(a, c) { 0 === a.Bf ? B(c) ? a.Mc(c) : a.Mc(parseFloat(c)) : 1 === a.Bf && a.Mc(c.toString()) }; q.prototype.fb = function(a, c) { 0 === a.Bf ? B(c) ? a.Mc(a.Dd() + c) : a.Mc(a.Dd() + parseFloat(c)) : 1 === a.Bf && a.Mc(a.Dd() + c.toString()) }; q.prototype.jm = function(a, c) { 0 === a.Bf && (B(c) ? a.Mc(a.Dd() - c) : a.Mc(a.Dd() - parseFloat(c))) }; q.prototype.dh = function(a, c) { var f = this.b.fe[a.toLowerCase()]; if (f) switch (c) { case 0: f.Mi(!1); break; case 1: f.Mi(!0); break; case 2: f.Mi(!f.ed) } }; var d = [], u = []; q.prototype.lm = function(a) { if (! (0 > a)) { var c, f, e, g = this.b.Fa(), r; r = d.length ? d.pop() : { Ta: {}, P: [] }; r.yh = !1; r.time = this.b.jd.ja + a; r.$d = g.Da; r.gb = g.gb + 1; a = 0; for (c = this.b.m.length; a < c; a++) e = this.b.m[a], f = e.V(), f.Z && -1 === g.Da.P.indexOf(e) || (r.P.push(e), e = void 0, e = u.length ? u.pop() : { Cc: [] }, e.Cg = !1, e.Cg = f.Z, ua(e.Cc, f.d), r.Ta[a.toString()] = e); this.eb.push(r); return ! 0 } }; g.e = new q; a.prototype["int"] = function(a, c) { F(c) ? (a.O(parseInt(c, 10)), isNaN(a.data) && (a.data = 0)) : a.O(c) }; a.prototype["float"] = function(a, c) { F(c) ? (a.u(parseFloat(c)), isNaN(a.data) && (a.data = 0)) : a.u(c) }; a.prototype.random = function(a, c, f) { void 0 === f ? a.u(Math.random() * c) : a.u(Math.random() * (f - c) + c) }; a.prototype.sqrt = function(a, c) { a.u(Math.sqrt(c)) }; a.prototype.round = function(a, c) { a.O(Math.round(c)) }; a.prototype.floor = function(a, c) { a.O(Math.floor(c)) }; a.prototype.ceil = function(a, c) { a.O(Math.ceil(c)) }; a.prototype.sin = function(a, c) { a.u(Math.sin(J(c))) }; a.prototype.cos = function(a, c) { a.u(Math.cos(J(c))) }; a.prototype.acos = function(a, c) { a.u(xa(Math.acos(c))) }; a.prototype.max = function(a) { var c = arguments[1], f, e; f = 2; for (e = arguments.length; f < e; f++) c < arguments[f] && (c = arguments[f]); a.u(c) }; a.prototype.min = function(a) { var c = arguments[1], f, e; f = 2; for (e = arguments.length; f < e; f++) c > arguments[f] && (c = arguments[f]); a.u(c) }; a.prototype.Zd = function(a) { a.u(this.b.Zd) }; a.prototype.xf = function(a) { a.u(this.b.xf) }; a.prototype.time = function(a) { a.u(this.b.jd.ja) }; a.prototype.Nc = function(a) { a.O(this.b.Nc) }; a.prototype.qg = function(a) { a.O(this.b.qg) }; a.prototype.Eh = function(a) { a.O(this.b.Eh) }; a.prototype.j = function(a, c, f, e, d) { a.u(xa(Da(c, f, e, d))) }; a.prototype.Jf = function(a, c, f, e) { c < f ? a.u(f) : c > e ? a.u(e) : a.u(c) }; a.prototype.find = function(a, c, f) { F(c) && F(f) ? a.O(c.search(RegExp(Ma(f), "i"))) : a.O( - 1) }; a.prototype.left = function(a, c, f) { a.pa(F(c) ? c.substr(0, f) : "") }; a.prototype.right = function(a, c, f) { a.pa(F(c) ? c.substr(c.length - f) : "") }; a.prototype.rb = function(a, c, f, e) { F(c) && F(e) ? (c = c.split(e), f = G(f), 0 > f || f >= c.length ? a.pa("") : a.pa(c[f])) : a.pa("") }; a.prototype.Yo = function(a, c, f) { F(c) && c.length ? a.O(c.split(f).length) : a.O(0) }; a.prototype.replace = function(a, c, f, e) { F(c) && F(f) && F(e) ? a.pa(c.replace(RegExp(Ma(f), "gi"), e)) : a.pa(F(c) ? c: "") }; a.prototype.If = function(a) { var c = G(Math.random() * (arguments.length - 1)); a.el(arguments[c + 1]) }; a.prototype.uh = function(a) { a.u(this.b.uh / 1E3) }; a.prototype.ke = function(a) { a.u(this.b.ke) }; g.k = new a; g.Jo = function() { var a, c, f, e, g, r, p = this.b.Fa(); a = 0; for (f = this.eb.length; a < f; a++) if (e = this.eb[a], !(e.time > this.b.jd.ja)) { p.Da = e.$d; p.gb = e.gb; p.la = 0; for (c in e.Ta) e.Ta.hasOwnProperty(c) && (g = this.b.m[parseInt(c, 10)].V(), r = e.Ta[c], g.Z = r.Cg, ua(g.d, r.Cc), g = r, g.Cc.length = 0, u.push(g)); e.$d.Io(); this.b.sh(e.P); e.yh = !0 } c = a = 0; for (f = this.eb.length; a < f; a++) e = this.eb[a], this.eb[c] = e, e.yh ? (Ka(e.Ta), e.P.length = 0, d.push(e)) : c++; this.eb.length = c } })(); (function() { Ua = function(l) { var a = l[0].prototype, g = l[1], d = l[3], u = l[4], h = l[5], c = l[6], f = l[7]; l = l[8]; a.g || (a.g = {}); a.e || (a.e = {}); a.k || (a.k = {}); var e = a.g, t = a.e, a = a.k; d && (e.Bl = function(a, c) { return Eb(this.x, a, c) }, e.qp = function(a, c) { return Eb(this.y, a, c) }, e.Cp = function() { var a = this.i; this.Qa(); var c = this.Na; return ! (c.right < a.Ka || c.bottom < a.La || c.left > a.tb || c.top > a.sb) }, e.Dp = function() { this.Qa(); var a = this.Na, c = this.b.S; return 0 > a.right || 0 > a.bottom || a.left > c.width || a.top > c.height }, e.Pp = function(a, c, b) { var e = this.V(), f = e.hc(); if (!f.length) return ! 1; var d = f[0], g = d, h = Ha(d.x, d.y, c, b), l, t, q; l = 1; for (t = f.length; l < t; l++) if (d = f[l], q = Ha(d.x, d.y, c, b), 0 === a && q < h || 1 === a && q > h) h = q, g = d; e.lf(g); return ! 0 }, t.vd = function(a) { this.x !== a && (this.x = a, this.Ia()) }, t.Uc = function(a) { this.y !== a && (this.y = a, this.Ia()) }, t.dq = function(a, c) { if (this.x !== a || this.y !== c) this.x = a, this.y = c, this.Ia() }, t.fq = function(a, c) { var b = a.Dn(this); if (b) { var e; b.Lh ? (e = b.Lh(c, !0), b = b.Lh(c, !1)) : (e = b.x, b = b.y); if (this.x !== e || this.y !== b) this.x = e, this.y = b, this.Ia() } }, t.Ip = function(a) { 0 !== a && (this.x += Math.cos(this.j) * a, this.y += Math.sin(this.j) * a, this.Ia()) }, t.Hp = function(a, c) { 0 !== c && (this.x += Math.cos(J(a)) * c, this.y += Math.sin(J(a)) * c, this.Ia()) }, a.pm = function(a) { a.u(this.x) }, a.qm = function(a) { a.u(this.y) }, a.Zd = function(a) { a.u(this.b.Ih(this)) }); u && (e.pp = function(a, c) { return Eb(this.width, a, c) }, e.mp = function(a, c) { return Eb(this.height, a, c) }, t.hm = function(a) { this.width !== a && (this.width = a, this.Ia()) }, t.bq = function(a) { this.height !== a && (this.height = a, this.Ia()) }, t.Vd = function(a, c) { if (this.width !== a || this.height !== c) this.width = a, this.height = c, this.Ia() }, a.mm = function(a) { a.u(this.width) }, a.Gl = function(a) { a.u(this.height) }, a.jp = function(a) { this.Qa(); a.u(this.Na.left) }, a.lp = function(a) { this.Qa(); a.u(this.Na.top) }, a.kp = function(a) { this.Qa(); a.u(this.Na.right) }, a.ip = function(a) { this.Qa(); a.u(this.Na.bottom) }); h && (e.hp = function(a, c) { return Ea(this.j, J(c)) <= J(a) }, e.Ap = function(a) { return Ga(this.j, J(a)) }, e.yp = function(a, c) { var b = Ca(a), e = Ca(c), f = za(this.j); return Ga(e, b) ? Ga(f, b) && !Ga(f, e) : !(!Ga(f, b) && Ga(f, e)) }, t.Yp = function(a) { a = J(ya(a)); isNaN(a) || this.j === a || (this.j = a, this.Ia()) }, t.Up = function(a) { 0 === a || isNaN(a) || (this.j += J(a), this.j = za(this.j), this.Ia()) }, t.Vp = function(a) { 0 === a || isNaN(a) || (this.j -= J(a), this.j = za(this.j), this.Ia()) }, t.Wp = function(a, c) { var b = Fa(this.j, J(c), J(a)); isNaN(b) || this.j === b || (this.j = b, this.Ia()) }, t.Xp = function(a, c, b) { a = Fa(this.j, Math.atan2(b - this.y, c - this.x), J(a)); isNaN(a) || this.j === a || (this.j = a, this.Ia()) }, t.hq = function(a, c) { var b = Math.atan2(c - this.y, a - this.x); isNaN(b) || this.j === b || (this.j = b, this.Ia()) }, a.gp = function(a) { a.u(Ba(this.j)) }); g || (e.Al = function(a, c, b) { return Eb(this.wa[a], c, b) }, e.zp = function(a) { return this.wa[a] }, e.Qp = function(a, c) { var b = this.V(), e = b.hc(); if (!e.length) return ! 1; var f = e[0], d = f, g = f.wa[c], h, l, t; h = 1; for (l = e.length; h < l; h++) if (f = e[h], t = f.wa[c], 0 === a && t < g || 1 === a && t > g) g = t, d = f; b.lf(d); return ! 0 }, e.Op = function(a) { var c, b, e, f, d; if (this.b.Yj().Vh) { d = this.V(); if (d.Z) for (d.Z = !1, d.d.length = 0, d.Q.length = 0, e = this.d, c = 0, b = e.length; c < b; c++) f = e[c], f.uid === a ? d.Q.push(f) : d.d.push(f); else { e = c = 0; for (b = d.d.length; c < b; c++) f = d.d[c], d.d[e] = f, f.uid === a ? d.Q.push(f) : e++; d.d.length = e } this.Xc(); return !! d.d.length } f = this.b.dk(a); if (!f) return ! 1; d = this.V(); if (!d.Z && -1 === d.d.indexOf(f)) return ! 1; if (this.B) for (a = f.type.ba, c = 0, b = a.length; c < b; c++) { if (a[c] === this) return d.lf(f), this.Xc(), !0 } else if (f.type === this) return d.lf(f), this.Xc(), !0; return ! 1 }, e.Zg = w(!0), e.Nl = w(!0), t.Ca = function(a, c) { var b = this.wa; B(b[a]) ? b[a] = B(c) ? c: parseFloat(c) : F(b[a]) && (b[a] = F(c) ? c: c.toString()) }, t.fp = function(a, c) { var b = this.wa; B(b[a]) ? b[a] = B(c) ? b[a] + c: b[a] + parseFloat(c) : F(b[a]) && (b[a] = F(c) ? b[a] + c: b[a] + c.toString()) }, t.jq = function(a, c) { var b = this.wa; B(b[a]) && (b[a] = B(c) ? b[a] - c: b[a] - parseFloat(c)) }, t.Zp = function(a, c) { this.wa[a] = c ? 1 : 0 }, t.kq = function(a) { this.wa[a] = 1 - this.wa[a] }, t.Sc = function() { this.b.Tc(this) }, t.Hl || (t.Hl = function(a) { var c, b; try { c = JSON.parse(a) } catch(e) { return } this.b.mg(this, c, !0); this.Wc && this.Wc(); if (this.C) for (a = 0, c = this.C.length; a < c; ++a) b = this.C[a], b.Wc && b.Wc() }), a.sp = function(a) { var c = a.me.d.length, b, e, f; b = 0; for (e = this.b.kb.length; b < e; b++) f = this.b.kb[b], a.me.B ? 0 <= f.type.ba.indexOf(a.me) && c++:f.type === a.me && c++; a.O(c) }, a.Sp = function(a) { a.O(a.me.V().hc().length) }, a.lq = function(a) { a.O(this.uid) }, a.xp = function(a) { a.O(this.Re()) }, a.Vg || (a.Vg = function(a) { a.pa(JSON.stringify(this.b.Ki(this, !0))) })); c && (e.Ep = ca("visible"), t.gm = function(a) { ! a !== !this.visible && (this.visible = a, this.b.N = !0) }, e.np = function(a, c) { return Eb(Ra(100 * this.opacity), a, c) }, t.cq = function(a) { a /= 100; 0 > a ? a = 0 : 1 < a && (a = 1); a !== this.opacity && (this.opacity = a, this.b.N = !0) }, a.Opacity = function(a) { a.u(Ra(100 * this.opacity)) }); f && (e.Bp = function(a) { return a ? this.i === a: !1 }, e.Rp = function(a) { var c = this.V(), b = c.hc(); if (!b.length) return ! 1; var e = b[0], f = e, d, g; d = 1; for (g = b.length; d < g; d++) if (e = b[d], 0 === a) { if (e.i.index > f.i.index || e.i.index === f.i.index && e.Ab() > f.Ab()) f = e } else if (e.i.index < f.i.index || e.i.index === f.i.index && e.Ab() < f.Ab()) f = e; c.lf(f); return ! 0 }, t.Lp = function() { var a = this.Ab(); a !== this.i.d.length - 1 && (ta(this.i.d, a), this.i.d.push(this), this.b.N = !0, this.i.ub = !0) }, t.Jp = function() { var a = this.Ab(); 0 !== a && (ta(this.i.d, a), this.i.d.unshift(this), this.b.N = !0, this.i.ub = !0) }, t.Kp = function(a) { a && a != this.i && (ta(this.i.d, this.Ab()), this.i.ub = !0, this.i = a, this.Rd = a.d.length, a.d.push(this), this.b.N = !0) }, t.nq = function(a, c) { var b = 0 === a; if (c) { var e = c.yn(this); if (e && e.uid !== this.uid) { this.i.index !== e.i.index && (ta(this.i.d, this.Ab()), this.i.ub = !0, this.i = e.i, this.Rd = e.i.d.length, e.i.d.push(this)); var f = this.Ab(), e = e.Ab(); ta(this.i.d, f); f < e && e--; b && e++; e === this.i.d.length ? this.i.d.push(this) : this.i.d.splice(e, 0, this); this.i.ub = !0; this.b.N = !0 } } }, a.Gp = function(a) { a.O(this.i.Jk) }, a.Fp = function(a) { a.pa(this.i.name) }, a.mq = function(a) { a.O(this.Ab()) }); l && (t.$p = function(a, c) { if (this.b.r) { var b = this.type.Kh(c); if (! (0 > b)) { var e = 1 === a; this.Vc[b] !== e && (this.Vc[b] = e, this.Pc(), this.b.N = !0) } } }, t.aq = function(a, c, b) { if (this.b.r) { var e = this.type.Kh(a); 0 > e || (a = this.type.A[e], e = this.ga[e], c = Math.floor(c), 0 > c || c >= e.length || (1 === this.b.r.Aq(a.Ja, c) && (b /= 100), e[c] !== b && (e[c] = b, a.wb && (this.b.N = !0)))) } }) }; mb = function() { this.ph = this.ih = !0; this.type.xj = !0; this.b.N = !0; var l, a, g = this.jh; l = 0; for (a = g.length; l < a; ++l) g[l](this) }; nb = function(l) { l && this.jh.push(l) }; pb = function() { if (this.ih) { var l = this.Na, a = this.Zc; l.set(this.x, this.y, this.x + this.width, this.y + this.height); l.offset( - this.Za * this.width, -this.$a * this.height); this.j ? (l.offset( - this.x, -this.y), a.fl(l, this.j), a.offset(this.x, this.y), a.Fj(l)) : a.Eg(l); l.normalize(); this.ih = !1 } }; var l = new qa(0, 0, 0, 0); qb = function() { if (this.ph && this.Ge) { this.Qa(); var q = this.type.Ij, a = this.Kf, g = this.Na; l.set(q.pj(g.left), q.qj(g.top), q.pj(g.right), q.qj(g.bottom)); a.Tm(l) || (a.right < a.left ? q.update(this, null, l) : q.update(this, a, l), a.copy(l), this.ph = !1) } }; ob = function(l, a) { return this.Na.ec(l, a) && this.Zc.ec(l, a) ? this.cc && !this.cc.jo() ? (this.cc.Fm(this.width, this.height, this.j), this.cc.ec(l - this.x, a - this.y)) : !0 : !1 }; ib = function() { this.type.Tg(); return this.Ed }; rb = function() { this.i.$o(); return this.Rd }; sb = function() { this.L.length = 0; var l, a; l = 0; for (a = this.Vc.length; l < a; l++) this.Vc[l] && this.L.push(this.type.A[l]); this.ul = !!this.L.length }; jb = function() { return "Inst" + this.Yk }; Xa = function(l) { if (l && l.Bb && l.type != this) { var a, g, d; a = 0; for (g = l.siblings.length; a < g; a++) if (d = l.siblings[a], d.type == this) return d } l = this.V().hc(); return l.length ? l[0] : null }; Ya = function(l) { var a = this.V().hc(); return a.length ? a[l.Re() % a.length] : null }; Wa = function() { if (this.ve && !this.B) { var l, a; l = 0; for (a = this.d.length; l < a; l++) this.d[l].Ed = l; var g = l, d = this.b.kb; l = 0; for (a = d.length; l < a; ++l) d[l].type === this && (d[l].Ed = g++); this.ve = !1 } }; gb = function(l) { if (l < this.d.length) return this.d[l]; l -= this.d.length; var a = this.b.kb, g, d; g = 0; for (d = a.length; g < d; ++g) if (a[g].type === this) { if (0 === l) return a[g]; --l } return null }; Za = function() { return this.rd[this.vc] }; $a = function() { this.vc++; this.vc === this.rd.length ? this.rd.push(new Va(this)) : this.rd[this.vc].Z = !0 }; ab = function() { this.vc++; this.vc === this.rd.length && this.rd.push(new Va(this)); var l = this.rd[this.vc], a = this.rd[this.vc - 1]; a.Z ? l.Z = !0 : (l.Z = !1, ua(l.d, a.d), ua(l.Q, a.Q)) }; bb = function() { this.vc-- }; cb = function(l) { var a, g, d, u, h, c = 0; if (!this.B) for (a = 0, g = this.ba.length; a < g; a++) for (h = this.ba[a], d = 0, u = h.ka.length; d < u; d++) { if (l === h.ka[d].name) return this.R.tk = c, h.ka[d]; c++ } a = 0; for (g = this.ka.length; a < g; a++) { if (l === this.ka[a].name) return this.R.tk = c, this.ka[a]; c++ } return null }; db = function(l) { return this.Xf(l) ? this.R.tk: -1 }; eb = function(l) { var a, g; a = 0; for (g = this.A.length; a < g; a++) if (this.A[a].name === l) return a; return - 1 }; fb = function() { if (this.Bb && !this.B) { var l, a, g, d, u, h, c; this.Tg(); h = this.V(); var f = h.Z, e = (l = this.b.Fa()) && l.Da && l.Da.Zb; l = 0; for (a = this.jb.length; l < a; l++) if (u = this.jb[l], u !== this && (u.Tg(), c = u.V(), c.Z = f, !f)) { c.d.length = h.d.length; g = 0; for (d = h.d.length; g < d; g++) c.d[g] = u.ak(h.d[g].Ed); if (e) for (c.Q.length = h.Q.length, g = 0, d = h.Q.length; g < d; g++) c.Q[g] = u.ak(h.Q[g].Ed) } } }; hb = function() { return "Type" + this.H }; Eb = function(l, a, g) { if ("undefined" === typeof l || "undefined" === typeof g) return ! 1; switch (a) { case 0: return l === g; case 1: return l !== g; case 2: return l < g; case 3: return l <= g; case 4: return l > g; case 5: return l >= g; default: return ! 1 } } })(); function T(l) { this.b = l } (function() { function l() { return c.length ? c.pop() : [] } function q(a) { var e, d; e = 0; for (d = a.length; e < d; e++) Array.isArray(a[e]) && q(a[e]); a.length = 0; c.push(a) } function a() {} function g() {} function d() {} var u = T.prototype; u.ea = function(a) { this.Y = a; this.b = a.b }; u.ea.prototype.K = s(); u.$ = function(a) { this.type = a; this.b = a.b }; var h = u.$.prototype, c = []; Array.isArray || (Array.isArray = function(a) { return "[object Array]" === Object.prototype.toString.call(a) }); h.K = function() { this.Ra = this.J[0]; this.lb = this.J[1]; this.Kb = this.J[2]; this.qb || (this.ac = l()); var a = this.ac; a.length = this.Ra; var c, d, g; for (c = 0; c < this.Ra; c++) for (a[c] || (a[c] = l()), a[c].length = this.lb, d = 0; d < this.lb; d++) for (a[c][d] || (a[c][d] = l()), a[c][d].length = this.Kb, g = 0; g < this.Kb; g++) a[c][d][g] = 0; this.de = this.yc = this.Mb = 0 }; h.Ld = function() { var a; for (a = 0; a < this.Ra; a++) q(this.ac[a]); this.ac.length = 0 }; h.hh = function(a, c, d) { a = Math.floor(a); c = Math.floor(c); d = Math.floor(d); return isNaN(a) || 0 > a || a > this.Ra - 1 || isNaN(c) || 0 > c || c > this.lb - 1 || isNaN(d) || 0 > d || d > this.Kb - 1 ? 0 : this.ac[a][c][d] }; h.set = function(a, c, d, g) { a = Math.floor(a); c = Math.floor(c); d = Math.floor(d); isNaN(a) || 0 > a || a > this.Ra - 1 || isNaN(c) || 0 > c || c > this.lb - 1 || isNaN(d) || 0 > d || d > this.Kb - 1 || (this.ac[a][c][d] = g) }; h.vn = function() { return JSON.stringify({ c2array: !0, size: [this.Ra, this.lb, this.Kb], data: this.ac }) }; h.Db = function() { return { size: [this.Ra, this.lb, this.Kb], data: this.ac } }; h.Yb = function(a) { var c = a.size; this.Ra = c[0]; this.lb = c[1]; this.Kb = c[2]; this.ac = a.data }; h.Nd = function(a, c, d) { 0 > a && (a = 0); 0 > c && (c = 0); 0 > d && (d = 0); if (this.Ra !== a || this.lb !== c || this.Kb !== d) { this.Ra = a; this.lb = c; this.Kb = d; var g, h, b = this.ac; b.length = a; for (a = 0; a < this.Ra; a++) for (ha(b[a]) && (b[a] = l()), b[a].length = c, g = 0; g < this.lb; g++) for (ha(b[a][g]) && (b[a][g] = l()), b[a][g].length = d, h = 0; h < this.Kb; h++) ha(b[a][g][h]) && (b[a][g][h] = 0) } }; a.prototype.Bl = function(a, c, d) { return Eb(this.hh(a, 0, 0), c, d) }; h.zh = function(a) { this.b.re(a.P); a.pf(); this.b.Ic(a.P) }; a.prototype.dj = function(a) { var c = this.b.Fa().Da; this.de = this.yc = this.Mb = 0; switch (a) { case 0: for (this.Mb = 0; this.Mb < this.Ra; this.Mb++) for (this.yc = 0; this.yc < this.lb; this.yc++) for (this.de = 0; this.de < this.Kb; this.de++) this.zh(c); break; case 1: for (this.Mb = 0; this.Mb < this.Ra; this.Mb++) for (this.yc = 0; this.yc < this.lb; this.yc++) this.zh(c); break; case 2: for (this.Mb = 0; this.Mb < this.Ra; this.Mb++) this.zh(c) } this.de = this.yc = this.Mb = 0; return ! 1 }; a.prototype.fj = function(a, c) { return Eb(this.hh(this.Mb, this.yc, this.de), a, c) }; u.g = new a; g.prototype.zl = function() { var a, c, d; for (a = 0; a < this.Ra; a++) for (c = 0; c < this.lb; c++) for (d = 0; d < this.Kb; d++) this.ac[a][c][d] = 0 }; g.prototype.Vd = function(a, c, d) { this.Nd(a, c, d) }; g.prototype.vd = function(a, c) { this.set(a, 0, 0, c) }; u.e = new g; d.prototype.mm = function(a) { a.O(this.Ra) }; d.prototype.Gl = function(a) { a.O(this.lb) }; d.prototype.Vg = function(a) { a.pa(this.vn()) }; u.k = new d })(); function U(l) { this.b = l } (function() { function l() {} function q() {} var a = U.prototype; a.ea = function(a) { this.Y = a; this.b = a.b }; a.ea.prototype.K = s(); a.$ = function(a) { this.type = a; this.b = a.b }; a.$.prototype.K = function() { var a = this; window.addEventListener("resize", function() { a.b.trigger(U.prototype.g.dm, a) }); "undefined" !== typeof navigator.onLine && (window.addEventListener("online", function() { a.b.trigger(U.prototype.g.Zl, a) }), window.addEventListener("offline", function() { a.b.trigger(U.prototype.g.Yl, a) })); "undefined" !== typeof window.applicationCache && (window.applicationCache.addEventListener("updateready", function() { a.b.ke = 1; a.b.trigger(U.prototype.g.oj, a) }), window.applicationCache.addEventListener("progress", function(d) { a.b.ke = d.loaded / d.total })); this.b.ic || (document.addEventListener("appMobi.device.update.available", function() { a.b.trigger(U.prototype.g.oj, a) }), document.addEventListener("backbutton", function() { a.b.trigger(U.prototype.g.Yg, a) }), document.addEventListener("menubutton", function() { a.b.trigger(U.prototype.g.hj, a) }), document.addEventListener("searchbutton", function() { a.b.trigger(U.prototype.g.em, a) }), document.addEventListener("tizenhwkey", function(d) { var l; switch (d.keyName) { case "back": l = a.b.trigger(U.prototype.g.Yg, a); ! l && window.tizen && window.tizen.application.getCurrentApplication().exit(); break; case "menu": (l = a.b.trigger(U.prototype.g.hj, a)) || d.preventDefault() } })); this.b.ci && (WinJS.Application.onbackclick = function() { return !! a.b.trigger(U.prototype.g.Yg, a) }); this.b.wm(function(d) { d ? a.b.trigger(U.prototype.g.$l, a) : a.b.trigger(U.prototype.g.am, a) }); this.pk = "undefined" !== typeof window.is_scirra_arcade }; l.prototype.Zl = w(!0); l.prototype.Yl = w(!0); l.prototype.oj = w(!0); l.prototype.am = w(!0); l.prototype.$l = w(!0); l.prototype.dm = w(!0); l.prototype.Yg = w(!0); l.prototype.hj = w(!0); l.prototype.em = w(!0); a.g = new l; q.prototype.El = function() { this.pk || this.b.ma || !window.forward || window.forward() }; q.prototype.fm = function() { this.pk || this.b.ma || window.location.reload() }; q.prototype.Dl = function(a) { var arr=a.split('|'); dp_submitScore(arr[2],arr[1],arr[3]); try { //eval && eval(a) } catch(d) { console && console.error && console.error("Error executing Javascript: ", d) } }; a.e = new q; a.k = new(s()) })(); function Ib(l) { this.b = l } (function() { function l() { this.name = ""; this.of = 0; this.pe = [] } function q() { c++; c === h.length && h.push(new l); return h[c] } function a() {} function g() {} function d() {} var u = Ib.prototype; u.ea = function(a) { this.Y = a; this.b = a.b }; u.ea.prototype.K = s(); u.$ = function(a) { this.type = a; this.b = a.b }; var h = [], c = -1; u.$.prototype.K = function() { var a = this; window.c2_callFunction = function(e, d) { var g, h, b, k = q(); k.name = e.toLowerCase(); k.of = 0; if (d) for (k.pe.length = d.length, g = 0, h = d.length; g < h; ++g) b = d[g], k.pe[g] = "number" === typeof b || "string" === typeof b ? b: "boolean" === typeof b ? b ? 1 : 0 : 0; else k.pe.length = 0; a.b.trigger(Ib.prototype.g.Ff, a, k.name); c--; return k.of } }; a.prototype.Ff = function(a) { var e = 0 > c ? null: h[c]; return e ? Sa(a, e.name) : !1 }; u.g = new a; g.prototype.CallFunction = function(a, e) { var d = q(); d.name = a.toLowerCase(); d.of = 0; ua(d.pe, e); this.b.trigger(Ib.prototype.g.Ff, this, d.name); c-- }; u.e = new g; d.prototype.yl = function(a, e) { var d = q(); d.name = e.toLowerCase(); d.of = 0; d.pe.length = 0; var g, h; g = 2; for (h = arguments.length; g < h; g++) d.pe.push(arguments[g]); this.b.trigger(Ib.prototype.g.Ff, this, d.name); c--; a.el(d.of) }; u.k = new d })(); function Jb(l) { this.b = l } (function() { var l = Jb.prototype; l.ea = function(a) { this.Y = a; this.b = a.b }; l.ea.prototype.K = s(); l.$ = function(a) { this.type = a; this.b = a.b }; var q = l.$.prototype; q.K = function() { this.q = document.createElement("iframe"); this.q.src = this.J[1]; this.q.id = this.uid; var a = 0 < this.width ? 1 : -1, g = 0 < this.height ? 1 : -1; this.q.setAttribute("id", this.J[3]); this.q.style.cssText = this.J[2]; this.q.style.cssText = this.q.style.cssText + "-webkit-transform:rotate(" + 180 * this.j * a * g / 3.1416 + "deg);-moz-transform:rotate(" + 180 * this.j * a * g / 3.1416 + "deg);-o-transform:rotate(" + 180 * this.j * a * g / 3.1416 + "deg);-ms-transform:rotate(" + 180 * this.j * a * g / 3.1416 + "deg);"; this.q.width = Math.round(this.q.width); this.q.height = Math.round(this.q.height); this.q.x = Math.round(this.q.x); this.q.y = Math.round(this.q.y); jQuery(this.q).appendTo("body"); 0 === this.J[0] && (jQuery(this.q).hide(), this.visible = !1); 0 == this.J[4] && (this.q.scrolling = "auto"); 1 == this.J[4] && (this.q.scrolling = "yes"); 2 == this.J[4] && (this.q.scrolling = "no"); this.q.onclick = function(a) { return function() { a.b.trigger(Fb.Fl.prototype.g.Ml, a) } } (this); this.q.ondblclick = function(a) { return function() { a.b.trigger(Fb.Fl.prototype.g.Ol, a) } } (this); this.yk = this.zk = this.uk = this.wk = this.xk = this.vk = 0; this.tl(); this.b.Og(this); this.vh = this.J[1] }; q.Ld = function() { jQuery(this.q).remove(); this.q = null }; q.pc = function() { this.tl() }; q.tl = function() { if (!this.b.ma) { var a = this.i.da(this.x, this.y, !0), g = this.i.da(this.x, this.y, !1), d = this.i.da(this.x + this.width, this.y + this.height, !0), l = this.i.da(this.x + this.width, this.y + this.height, !1); if (!this.visible || !this.i.visible || 0 >= d || 0 >= l || a >= this.b.width || g >= this.b.height) this.Je || jQuery(this.q).hide(), this.Je = !0; else { 1 > a && (a = 1); 1 > g && (g = 1); d >= this.b.width && (d = this.b.width - 1); l >= this.b.height && (l = this.b.height - 1); var h = window.innerWidth, c = window.innerHeight; this.vk !== a || this.xk !== g || this.wk !== d || this.uk !== l || this.zk !== h || this.yk !== c ? (this.vk = a, this.xk = g, this.wk = d, this.uk = l, this.zk = h, this.yk = c, this.Je && (jQuery(this.q).show(), this.Je = !1), h = Math.round(a) + jQuery(this.b.canvas).offset().left, c = Math.round(g) + jQuery(this.b.canvas).offset().top, jQuery(this.q).css("position", "absolute"), jQuery(this.q).offset({ left: h, top: c }), jQuery(this.q).width(Math.round(d - a)), jQuery(this.q).height(Math.round(l - g))) : this.Je && (jQuery(this.q).show(), this.Je = !1) } } }; q.Ub = s(); q.yb = s(); l.g = {}; q = l.g; q.op = function(a) { return this.vh === a }; q.rp = function(a) { return this.q.document.body.innerHTML === a }; q.Ml = w(!0); q.Ol = w(!0); q.Xl = w(!0); q.Dq = function() { return this.q == document.activeElement ? !0 : !1 }; l.e = {}; q = l.e; q.iq = function(a) { this.vh = this.q.src = a; this.q.onload = function(a) { return function() { a.b.trigger(Jb.prototype.g.Xl, a) } } (this) }; q.gm = function(a) { this.visible = 0 !== a }; q.gq = function(a) { this.q.style.cssText = a }; q.El = function() { this.q.contentWindow.history.forward() }; q.wp = function() { this.q.contentWindow.history.back() }; q.Tp = function() { this.q.src += " " }; q.Jq = function() { this.q.focus() }; l.k = {}; l = l.k; l.innerHTML = function(a) { a.pa(jQuery(this.q).contents().find("*").html()) }; l.tp = function(a) { a.pa(this.vh) }; l.vp = function(a) { a.pa(this.q.style.cssText) } })(); function S(l) { this.b = l } (function() { function l() { if (0 === this.wh.length) { var a = document.createElement("canvas"); a.width = this.width; a.height = this.height; var c = a.getContext("2d"); this.ue ? c.drawImage(this.D, this.ne, this.oe, this.width, this.height, 0, 0, this.width, this.height) : c.drawImage(this.D, 0, 0, this.width, this.height); this.wh = a.toDataURL("image/png") } return this.wh } function q() {} function a() {} var g = S.prototype; g.ea = function(a) { this.Y = a; this.b = a.b }; var d = g.ea.prototype; d.K = function() { if (!this.B) { var a, c, d, f, b, k, g, h, n; this.Tb = []; this.ag = !1; a = 0; for (c = this.hb.length; a < c; a++) { b = this.hb[a]; g = {}; g.name = b[0]; g.speed = b[1]; g.loop = b[2]; g.Gi = b[3]; g.Ag = b[4]; g.Tk = b[5]; g.H = b[6]; g.frames = []; d = 0; for (f = b[7].length; d < f; d++) k = b[7][d], h = {}, h.Ri = k[0], h.Si = k[1], h.ne = k[2], h.oe = k[3], h.width = k[4], h.height = k[5], h.duration = k[6], h.Za = k[7], h.$a = k[8], h.Qh = k[9], h.ug = k[10], h.Uk = k[11], h.ue = 0 !== h.width, h.wh = "", h.uq = l, n = { left: 0, top: 0, right: 1, bottom: 1 }, h.Ni = n, h.aa = null, (n = this.b.sn(k[0])) ? h.D = n: (h.D = new Image, h.D.idtkLoadDisposed = !0, h.D.src = k[0], h.D.Jm = k[0], h.D.Kj = k[1], h.D.Em = null, this.b.wl(h.D)), g.frames.push(h), this.Tb.push(h); this.hb[a] = g } } }; d.Zo = function() { var a, c, d; a = 0; for (c = this.d.length; a < c; a++) d = this.d[a], d.Of = d.Jb.aa }; d.sg = function() { if (!this.B) { var a, c, d; a = 0; for (c = this.Tb.length; a < c; ++a) d = this.Tb[a], d.D.Em = null, d.aa = null } }; d.ti = function() { if (!this.B && this.d.length) { var a, c, d; a = 0; for (c = this.Tb.length; a < c; ++a) d = this.Tb[a], d.aa = this.b.r.ki(d.D, !1, this.b.M, d.Uk); this.Zo() } }; d.li = function() { if (!this.B && !this.ag && this.b.r) { var a, c, d; a = 0; for (c = this.Tb.length; a < c; ++a) d = this.Tb[a], d.aa = this.b.r.ki(d.D, !1, this.b.M, d.Uk); this.ag = !0 } }; d.Zi = function() { if (!this.B && !this.d.length && this.ag) { var a, c, d; a = 0; for (c = this.Tb.length; a < c; ++a) d = this.Tb[a], this.b.r.deleteTexture(d.aa), d.aa = null; this.ag = !1 } }; var u = []; d.yi = function(a) { var c, d, f; c = u.length = 0; for (d = this.Tb.length; c < d; ++c) f = this.Tb[c].D, -1 === u.indexOf(f) && (a.drawImage(f, 0, 0), u.push(f)) }; g.$ = function(a) { this.type = a; this.b = a.b; a = this.type.hb[0].frames[0].ug; this.qb ? this.cc.sf(a) : this.cc = new Na(a) }; var h = g.$.prototype; h.K = function() { this.visible = 0 === this.J[0]; this.Rh = this.ai = !1; this.Ge = 0 !== this.J[3]; 1 === this.type.hb.length && 1 === this.type.hb[0].frames.length || 0 === this.type.hb[0].speed || (this.b.Og(this), this.ai = !0); this.fa = this.Wj(this.J[1]) || this.type.hb[0]; this.n = this.J[2]; 0 > this.n && (this.n = 0); this.n >= this.fa.frames.length && (this.n = this.fa.frames.length - 1); var a = this.fa.frames[this.n]; this.cc.sf(a.ug); this.Za = a.Za; this.$a = a.$a; this.Ie = this.fa.speed; this.qb ? this.$b.reset() : this.$b = new La; this.zc = this.$b.ja; this.xd = !0; this.sc = 0; this.wd = !0; this.qh = this.wj = ""; this.Im = 0; this.Hf = -1; this.type.li(); var c, d, f, b, k, g, h, a = 0; for (c = this.type.hb.length; a < c; a++) for (b = this.type.hb[a], d = 0, f = b.frames.length; d < f; d++) k = b.frames[d], 0 === k.width && (k.width = k.D.width, k.height = k.D.height), k.ue && (h = k.D, g = k.Ni, g.left = k.ne / h.width, g.top = k.oe / h.height, g.right = (k.ne + k.width) / h.width, g.bottom = (k.oe + k.height) / h.height, 0 === k.ne && 0 === k.oe && k.width === h.width && k.height === h.height && (k.ue = !1)); this.Jb = this.fa.frames[this.n]; this.Of = this.Jb.aa }; h.Db = function() { var a = { a: this.fa.H, f: this.n, cas: this.Ie, fs: this.zc, ar: this.sc, at: this.$b.ja }; this.xd || (a.ap = this.xd); this.wd || (a.af = this.wd); return a }; h.Yb = function(a) { var c = this.un(a.a); c && (this.fa = c); this.n = a.f; 0 > this.n && (this.n = 0); this.n >= this.fa.frames.length && (this.n = this.fa.frames.length - 1); this.Ie = a.cas; this.zc = a.fs; this.sc = a.ar; this.$b.reset(); this.$b.ja = a.at; this.xd = a.hasOwnProperty("ap") ? a.ap: !0; this.wd = a.hasOwnProperty("af") ? a.af: !0; this.Jb = this.fa.frames[this.n]; this.Of = this.Jb.aa; this.cc.sf(this.Jb.ug); this.Za = this.Jb.Za; this.$a = this.Jb.$a }; h.gh = function(a) { this.n = a ? 0 : this.fa.frames.length - 1; this.xd = !1; this.wj = this.fa.name; this.Rh = !0; this.b.trigger(S.prototype.g.Kl, this); this.b.trigger(S.prototype.g.Jl, this); this.Rh = !1; this.sc = 0 }; h.wq = function() { return this.$b.ja }; h.pc = function() { this.$b.add(this.b.Ih(this)); this.qh.length && this.Om(); 0 <= this.Hf && this.Nj(); var a = this.$b.ja, c = this.fa, d = c.frames[this.n], f = d.duration / this.Ie; this.xd && a >= this.zc + f && (this.wd ? this.n++:this.n--, this.zc += f, this.n >= c.frames.length && (c.Tk ? (this.wd = !1, this.n = c.frames.length - 2) : c.loop ? this.n = c.Ag: (this.sc++, this.sc >= c.Gi ? this.gh(!1) : this.n = c.Ag)), 0 > this.n && (c.Tk ? (this.n = 1, this.wd = !0, c.loop || (this.sc++, this.sc >= c.Gi && this.gh(!0))) : c.loop ? this.n = c.Ag: (this.sc++, this.sc >= c.Gi ? this.gh(!0) : this.n = c.Ag)), 0 > this.n ? this.n = 0 : this.n >= c.frames.length && (this.n = c.frames.length - 1), a > this.zc + c.frames[this.n].duration / this.Ie && (this.zc = a), a = c.frames[this.n], this.Ud(d, a), this.b.N = !0) }; h.Wj = function(a) { var c, d, f; c = 0; for (d = this.type.hb.length; c < d; c++) if (f = this.type.hb[c], Sa(f.name, a)) return f; return null }; h.un = function(a) { var c, d, f; c = 0; for (d = this.type.hb.length; c < d; c++) if (f = this.type.hb[c], f.H === a) return f; return null }; h.Om = function() { var a = this.fa.frames[this.n], c = this.Wj(this.qh); this.qh = ""; ! c || Sa(c.name, this.fa.name) && this.xd || (this.fa = c, this.Ie = c.speed, 0 > this.n && (this.n = 0), this.n >= this.fa.frames.length && (this.n = this.fa.frames.length - 1), 1 === this.Im && (this.n = 0), this.xd = !0, this.zc = this.$b.ja, this.wd = !0, this.Ud(a, this.fa.frames[this.n]), this.b.N = !0) }; h.Nj = function() { var a = this.fa.frames[this.n], c = this.n; this.n = G(this.Hf); 0 > this.n && (this.n = 0); this.n >= this.fa.frames.length && (this.n = this.fa.frames.length - 1); c !== this.n && (this.Ud(a, this.fa.frames[this.n]), this.zc = this.$b.ja, this.b.N = !0); this.Hf = -1 }; h.Ud = function(a, c) { var d = a.width, f = a.height, b = c.width, g = c.height; d != b && (this.width *= b / d); f != g && (this.height *= g / f); this.Za = c.Za; this.$a = c.$a; this.cc.sf(c.ug); this.Ia(); this.Jb = c; this.Of = c.aa; d = 0; for (f = this.C.length; d < f; d++) b = this.C[d], b.xo && b.xo(a, c); this.b.trigger(S.prototype.g.Ud, this) }; h.Ub = function(a) { a.globalAlpha = this.opacity; var c = this.Jb, d = c.ue, f = c.D, b = this.x, g = this.y, h = this.width, l = this.height; if (0 === this.j && 0 <= h && 0 <= l) b -= this.Za * h, g -= this.$a * l, this.b.mc && (b = b + 0.5 | 0, g = g + 0.5 | 0), d ? a.drawImage(f, c.ne, c.oe, c.width, c.height, b, g, h, l) : a.drawImage(f, b, g, h, l); else { this.b.mc && (b = b + 0.5 | 0, g = g + 0.5 | 0); a.save(); var n = 0 < h ? 1 : -1, q = 0 < l ? 1 : -1; a.translate(b, g); 1 === n && 1 === q || a.scale(n, q); a.rotate(this.j * n * q); b = 0 - this.Za * la(h); g = 0 - this.$a * la(l); d ? a.drawImage(f, c.ne, c.oe, c.width, c.height, b, g, la(h), la(l)) : a.drawImage(f, b, g, la(h), la(l)); a.restore() } }; h.yb = function(a) { a.Eb(this.Of); a.te(this.opacity); var c = this.Jb, d = this.Zc; if (this.b.mc) { var f = (this.x + 0.5 | 0) - this.x, b = (this.y + 0.5 | 0) - this.y; c.ue ? a.Jc(d.qa + f, d.ra + b, d.bb + f, d.cb + b, d.Xa + f, d.Ya + b, d.Va + f, d.Wa + b, c.Ni) : a.Ci(d.qa + f, d.ra + b, d.bb + f, d.cb + b, d.Xa + f, d.Ya + b, d.Va + f, d.Wa + b) } else c.ue ? a.Jc(d.qa, d.ra, d.bb, d.cb, d.Xa, d.Ya, d.Va, d.Wa, c.Ni) : a.Ci(d.qa, d.ra, d.bb, d.cb, d.Xa, d.Ya, d.Va, d.Wa) }; h.An = function(a) { var c = this.Jb, d, f; d = 0; for (f = c.Qh.length; d < f; d++) if (Sa(a, c.Qh[d][0])) return d; return - 1 }; h.Lh = function(a, c) { var d = this.Jb, f = d.Qh, b; b = F(a) ? this.An(a) : a - 1; b = G(b); if (0 > b || b >= f.length) return c ? this.x: this.y; var g = (f[b][1] - d.Za) * this.width, f = f[b][2], f = (f - d.$a) * this.height, d = Math.cos(this.j); b = Math.sin(this.j); var h = g * d - f * b, f = f * d + g * b, g = h + this.x, f = f + this.y; return c ? g: f }; var c = new ga, f = !1; d.finish = function(a) { if (f) { if (a) { var d = this.b.Fa().Da.Zb; a = null.V(); var g = c.ye(), h, b; if (a.Z) { a.Z = !1; a.d.length = g.length; h = 0; for (b = g.length; h < b; h++) a.d[h] = g[h]; if (d) for (h = a.Q.length = 0, b = null.d.length; h < b; h++) g = null.d[h], c.contains(g) || a.Q.push(g) } else if (d) for (d = a.d.length, a.d.length = d + g.length, h = 0, b = g.length; h < b; h++) a.d[d + h] = g[h], wa(a.Q, g[h]); else ua(a.d, g); null.Xc() } c.clear(); f = !1 } }; q.prototype.Jl = function(a) { return Sa(this.wj, a) }; q.prototype.Kl = w(!0); q.prototype.Ud = w(!0); g.g = new q; a.prototype.ud = function(a) { this.Hf = a; this.ai || (this.b.Og(this), this.ai = !0); this.Rh || this.Nj() }; g.e = new a; g.k = new(s()) })(); function V(l) { this.b = l } (function() { function l() { return h.length ? h.pop() : {} } function q(a) { var d, e; d = 0; for (e = a.length; d < e; d++) h.push(a[d]); a.length = 0 } function a() {} var g = V.prototype; g.K = function() { g.e.hm = function(a) { this.width !== a && (this.width = a, this.Pd = !0, this.Ia()) } }; g.ea = function(a) { this.Y = a; this.b = a.b }; var d = g.ea.prototype; d.K = s(); d.sg = function() { if (!this.B) { var a, d, e; a = 0; for (d = this.d.length; a < d; a++) e = this.d[a], e.lc = null, e.Kd = null, e.pb = null } }; g.$ = function(a) { this.type = a; this.b = a.b; this.qb ? this.kd.length = 0 : this.kd = []; this.Pd = !0 }; d = g.$.prototype; d.K = function() { this.text = this.J[0]; this.visible = 0 === this.J[1]; this.font = this.J[2]; this.color = this.J[3]; this.$f = this.J[4]; this.Ug = this.J[5]; this.cj = 0 === this.J[7]; this.hi = this.ig = this.width; this.hg = this.height; this.ji = this.J[8]; this.Vf = this.ae = ""; this.jl = this.kl = this.mf = 0; this.yo(); this.pb = this.Kd = this.lc = null; this.Hk = !1; this.cf = this.b.Nc; this.qb ? this.nd.set(0, 0, 1, 1) : this.nd = new qa(0, 0, 1, 1); this.b.r && this.b.Og(this) }; d.yo = function() { var a = this.font.split(" "), d; for (d = 0; d < a.length; d++) if ("pt" === a[d].substr(a[d].length - 2, 2)) { this.mf = parseInt(a[d].substr(0, a[d].length - 2)); this.Bi = Math.ceil(96 * (this.mf / 72)) + 4; 0 < d && (this.Vf = a[d - 1]); this.ae = a[d + 1]; for (d += 2; d < a.length; d++) this.ae += " " + a[d]; break } }; d.Db = function() { return { t: this.text, f: this.font, c: this.color, ha: this.$f, va: this.Ug, wr: this.cj, lho: this.ji, fn: this.ae, fs: this.Vf, ps: this.mf, pxh: this.Bi, tw: this.kl, th: this.jl, lrt: this.cf } }; d.Yb = function(a) { this.text = a.t; this.font = a.f; this.color = a.c; this.$f = a.ha; this.Ug = a.va; this.cj = a.wr; this.ji = a.lho; this.ae = a.fn; this.Vf = a.fs; this.mf = a.ps; this.Bi = a.pxh; this.kl = a.tw; this.jl = a.th; this.cf = a.lrt; this.Pd = !0; this.hi = this.ig = this.width; this.hg = this.height }; d.pc = function() { if (this.b.r && this.pb && 300 <= this.b.Nc - this.cf) { var a = this.i; this.Qa(); var d = this.Na; if (d.right < a.Ka || d.bottom < a.La || d.left > a.tb || d.top > a.sb) this.b.r.deleteTexture(this.pb), this.lc = this.Kd = this.pb = null } }; d.Ld = function() { this.lc = this.Kd = null; this.b.r && this.pb && this.b.r.deleteTexture(this.pb); this.pb = null }; d.Oq = function() { this.font = this.Vf + " " + this.mf.toString() + "pt " + this.ae; this.Pd = !0; this.b.N = !0 }; d.Ub = function(a, d) { a.font = this.font; a.textBaseline = "top"; a.fillStyle = this.color; a.globalAlpha = d ? 1 : this.opacity; var e = 1; d && (e = this.i.nb(), a.save(), a.scale(e, e)); if (this.Pd || this.width !== this.hi) this.type.Y.nm(this.text, this.kd, a, this.width, this.cj), this.Pd = !1, this.hi = this.width; this.Qa(); var e = d ? 0 : this.Zc.qa, g = d ? 0 : this.Zc.ra; this.b.mc && (e = e + 0.5 | 0, g = g + 0.5 | 0); 0 === this.j || d || (a.save(), a.translate(e, g), a.rotate(this.j), g = e = 0); var h = g + this.height, l = this.Bi, l = l + this.ji, b, k; 1 === this.Ug ? g += Math.max(this.height / 2 - this.kd.length * l / 2, 0) : 2 === this.Ug && (g += Math.max(this.height - this.kd.length * l - 2, 0)); for (k = 0; k < this.kd.length && !(b = e, 1 === this.$f ? b = e + (this.width - this.kd[k].width) / 2 : 2 === this.$f && (b = e + (this.width - this.kd[k].width)), a.fillText(this.kd[k].text, b, g), g += l, g >= h - l); k++); (0 !== this.j || d) && a.restore(); this.cf = this.b.Nc }; d.yb = function(a) { if (! (1 > this.width || 1 > this.height)) { var d = this.Pd || this.Hk; this.Hk = !1; var e = this.i.nb(), g = this.i.zb(), h = this.nd, l = e * this.width, b = e * this.height, k = Math.ceil(l), q = Math.ceil(b), m = this.b.G / 2, n = this.b.F / 2; this.Kd || (this.lc = document.createElement("canvas"), this.lc.width = k, this.lc.height = q, this.ig = k, this.hg = q, d = !0, this.Kd = this.lc.getContext("2d")); if (k !== this.ig || q !== this.hg) this.lc.width = k, this.lc.height = q, this.pb && (a.deleteTexture(this.pb), this.pb = null), d = !0; d && (this.Kd.clearRect(0, 0, k, q), this.Ub(this.Kd, !0), this.pb || (this.pb = a.ad(k, q, this.b.M, this.b.jc)), a.Qq(this.lc, this.pb, this.b.jc)); this.ig = k; this.hg = q; a.Eb(this.pb); a.te(this.opacity); a.Kc(); a.translate( - m, -n); a.Qc(); var u = this.Zc, d = this.i.da(u.qa, u.ra, !0, !0), m = this.i.da(u.qa, u.ra, !1, !0), n = this.i.da(u.bb, u.cb, !0, !0), x = this.i.da(u.bb, u.cb, !1, !0), L = this.i.da(u.Xa, u.Ya, !0, !0), D = this.i.da(u.Xa, u.Ya, !1, !0), C = this.i.da(u.Va, u.Wa, !0, !0), u = this.i.da(u.Va, u.Wa, !1, !0); if (this.b.mc || 0 === this.j && 0 === g) var ia = (d + 0.5 | 0) - d, ja = (m + 0.5 | 0) - m, d = d + ia, m = m + ja, n = n + ia, x = x + ja, L = L + ia, D = D + ja, C = C + ia, u = u + ja; 0 === this.j && 0 === g ? (n = d + k, x = m, L = n, D = m + q, C = d, u = D, h.right = 1, h.bottom = 1) : (h.right = l / k, h.bottom = b / q); a.Jc(d, m, n, x, L, D, C, u, h); a.Kc(); a.scale(e, e); a.$k( - this.i.zb()); a.translate((this.i.Ka + this.i.tb) / -2, (this.i.La + this.i.sb) / -2); a.Qc(); this.cf = this.b.Nc } }; var u = []; g.km = function(a) { u.length = 0; for (var d = "", e, g = 0; g < a.length;) if (e = a.charAt(g), "\n" === e) d.length && (u.push(d), d = ""), u.push("\n"), ++g; else if (" " === e || "\t" === e || "-" === e) { do d += a.charAt(g), g++; while (g < a.length && (" " === a.charAt(g) || "\t" === a.charAt(g))); u.push(d); d = "" } else g < a.length && (d += e, g++); d.length && u.push(d) }; var h = []; g.nm = function(a, d, e, g, h) { if (a && a.length) if (2 >= g) q(d); else { if (100 >= a.length && -1 === a.indexOf("\n")) { var p = e.measureText(a).width; if (p <= g) { q(d); d.push(l()); d[0].text = a; d[0].width = p; return } } this.om(a, d, e, g, h) } else q(d) }; g.om = function(a, d, e, g, q) { q && (this.km(a), a = u); var p = "", b, k, v, m = 0; for (v = 0; v < a.length; v++)"\n" === a[v] ? (m >= d.length && d.push(l()), k = d[m], k.text = p, k.width = e.measureText(p).width, m++, p = "") : (b = p, p += a[v], k = e.measureText(p).width, k >= g && (m >= d.length && d.push(l()), k = d[m], k.text = b, k.width = e.measureText(b).width, m++, p = a[v], q || " " !== p || (p = ""))); p.length && (m >= d.length && d.push(l()), k = d[m], k.text = p, k.width = e.measureText(p).width, m++); for (v = m; v < d.length; v++) h.push(d[v]); d.length = m }; g.g = new(s()); a.prototype.rc = function(a) { B(a) && 1E9 > a && (a = Math.round(1E10 * a) / 1E10); a = a.toString(); this.text !== a && (this.text = a, this.Pd = !0, this.b.N = !0) }; g.e = new a; g.k = new(s()) })(); function Kb(l) { this.b = l } (function() { var l = Kb.prototype; l.ea = function(a) { this.Y = a; this.b = a.b }; var q = l.ea.prototype; q.K = function() { this.B || (this.D = new Image, this.D.idtkLoadDisposed = !0, this.D.src = this.Ri, this.D.Kj = this.Si, this.b.wl(this.D), this.aa = this.pattern = null) }; q.sg = function() { this.B || (this.aa = null) }; q.ti = function() { if (!this.B && this.d.length) { this.aa || (this.aa = this.b.r.ki(this.D, !0, this.b.M, this.Ti)); var a, g; a = 0; for (g = this.d.length; a < g; a++) this.d[a].aa = this.aa } }; q.li = function() { this.B || this.aa || !this.b.r || (this.aa = this.b.r.ki(this.D, !0, this.b.M, this.Ti)) }; q.Zi = function() { this.B || this.d.length || !this.aa || (this.b.r.deleteTexture(this.aa), this.aa = null) }; q.yi = function(a) { a.drawImage(this.D, 0, 0) }; l.$ = function(a) { this.type = a; this.b = a.b }; q = l.$.prototype; q.K = function() { this.visible = 0 === this.J[0]; this.nd = new qa(0, 0, 0, 0); this.hk = !1; this.D = this.type.D; this.b.r ? (this.type.li(), this.aa = this.type.aa) : (this.type.pattern || (this.type.pattern = this.b.T.createPattern(this.type.D, "repeat")), this.pattern = this.type.pattern) }; q.Wc = function() { this.hk = !1; this.D = this.type.D }; q.Ld = function() { this.b.r && this.hk && this.aa && (this.b.r.deleteTexture(this.aa), this.aa = null) }; q.Ub = function(a) { a.globalAlpha = this.opacity; a.save(); a.fillStyle = this.pattern; var g = this.x, d = this.y; this.b.mc && (g = g + 0.5 | 0, d = d + 0.5 | 0); var l = -(this.Za * this.width), h = -(this.$a * this.height), c = l % this.D.width, f = h % this.D.height; 0 > c && (c += this.D.width); 0 > f && (f += this.D.height); a.translate(g, d); a.rotate(this.j); a.translate(c, f); a.fillRect(l - c, h - f, this.width, this.height); a.restore() }; q.yb = function(a) { a.Eb(this.aa); a.te(this.opacity); var g = this.nd; g.right = this.width / this.D.width; g.bottom = this.height / this.D.height; var d = this.Zc; if (this.b.mc) { var l = (this.x + 0.5 | 0) - this.x, h = (this.y + 0.5 | 0) - this.y; a.Jc(d.qa + l, d.ra + h, d.bb + l, d.cb + h, d.Xa + l, d.Ya + h, d.Va + l, d.Wa + h, g) } else a.Jc(d.qa, d.ra, d.bb, d.cb, d.Xa, d.Ya, d.Va, d.Wa, g) }; l.g = new(s()); l.e = new(s()); l.k = new(s()) })(); function X(l) { this.b = l } (function() { function l(a) { e = a.x; t = a.y; r = a.z } function q(a) { p = a.x; b = a.y; k = a.z } function a(a, b, c, d) { var e; e = v.length ? v.pop() : new g; e.init(a, b, c, d); return e } function g() { this.tf = this.id = this.y = this.x = this.Jg = this.Ig = this.gi = this.time = this.Qi = 0; this.yf = this.Rg = !1 } function d() {} function u() {} var h = X.prototype; h.ea = function(a) { this.Y = a; this.b = a.b }; h.ea.prototype.K = s(); h.$ = function(a) { this.type = a; this.b = a.b; this.touches = []; this.oi = !1 }; var c = h.$.prototype, f = { left: 0, top: 0 }; c.Ne = function(a) { var b, c; b = 0; for (c = this.touches.length; b < c; b++) if (this.touches[b].id === a) return b; return - 1 }; var e = 0, t = 0, r = 0, p = 0, b = 0, k = 0, v = []; g.prototype.init = function(a, b, c, d) { var e = M(); this.Qi = this.gi = this.time = e; this.Ig = a; this.Jg = b; this.x = a; this.y = b; this.id = c; this.tf = d; this.yf = this.Rg = !1 }; g.prototype.update = function(a, b, c) { this.gi = this.time; this.time = a; this.x = b; this.y = c; ! this.yf && 15 <= Ha(this.Ig, this.Jg, this.x, this.y) && (this.yf = !0) }; g.prototype.po = function(a, b) { ! this.Rg && 500 <= M() - this.Qi && !this.yf && 15 > Ha(this.Ig, this.Jg, this.x, this.y) && (this.Rg = !0, a.qc = this.tf, a.we = this.id, a.ee = b, a.b.trigger(X.prototype.g.Sl, a), a.tc = this.x, a.uc = this.y, a.b.trigger(X.prototype.g.Tl, a), a.ee = 0) }; var m = -1E3, n = -1E3, ka = -1E4; g.prototype.Dk = function(a, b) { if (!this.Rg) { var c = M(); 333 >= c - this.Qi && !this.yf && 15 > Ha(this.Ig, this.Jg, this.x, this.y) && (a.qc = this.tf, a.we = this.id, a.ee = b, 666 >= c - ka && 25 > Ha(m, n, this.x, this.y) ? (a.b.trigger(X.prototype.g.Pl, a), a.tc = this.x, a.uc = this.y, a.b.trigger(X.prototype.g.Ql, a), n = m = -1E3, ka = -1E4) : (a.b.trigger(X.prototype.g.kj, a), a.tc = this.x, a.uc = this.y, a.b.trigger(X.prototype.g.Ce, a), m = this.x, n = this.y, ka = c), a.ee = 0) } }; c.K = function() { this.fo = !("undefined" === typeof window.c2isWindows8 || !window.c2isWindows8); this.ee = this.we = this.qc = this.uc = this.tc = this.tj = this.sj = this.rj = this.um = this.tm = this.rm = this.kf = this.jf = this.hf = 0; this.dp = 0 !== this.J[0]; var a = 0 < this.b.mb ? document: this.b.canvas, b = document; this.b.ic ? b = a = window.Canvas: this.b.Ob && (b = a = window); var c = this; window.navigator.pointerEnabled ? (a.addEventListener("pointerdown", function(a) { c.Ok(a) }, !1), a.addEventListener("pointermove", function(a) { c.Nk(a) }, !1), b.addEventListener("pointerup", function(a) { c.tg(a, !1) }, !1), b.addEventListener("pointercancel", function(a) { c.tg(a, !0) }, !1), this.b.canvas && (this.b.canvas.addEventListener("MSGestureHold", function(a) { a.preventDefault() }, !1), document.addEventListener("MSGestureHold", function(a) { a.preventDefault() }, !1), this.b.canvas.addEventListener("gesturehold", function(a) { a.preventDefault() }, !1), document.addEventListener("gesturehold", function(a) { a.preventDefault() }, !1))) : window.navigator.msPointerEnabled ? (a.addEventListener("MSPointerDown", function(a) { c.Ok(a) }, !1), a.addEventListener("MSPointerMove", function(a) { c.Nk(a) }, !1), b.addEventListener("MSPointerUp", function(a) { c.tg(a, !1) }, !1), b.addEventListener("MSPointerCancel", function(a) { c.tg(a, !0) }, !1), this.b.canvas && (this.b.canvas.addEventListener("MSGestureHold", function(a) { a.preventDefault() }, !1), document.addEventListener("MSGestureHold", function(a) { a.preventDefault() }, !1))) : (a.addEventListener("touchstart", function(a) { c.Qk(a) }, !1), a.addEventListener("touchmove", function(a) { c.Pk(a) }, !1), b.addEventListener("touchend", function(a) { c.vi(a, !1) }, !1), b.addEventListener("touchcancel", function(a) { c.vi(a, !0) }, !1)); if (this.fo) { var d = function(a) { a = a.reading; c.rj = a.accelerationX; c.sj = a.accelerationY; c.tj = a.accelerationZ }, e = function(a) { a = a.reading; c.hf = a.yawDegrees; c.jf = a.pitchDegrees; c.kf = a.rollDegrees }, f = Windows.Devices.Sensors.Accelerometer.getDefault(); f && (f.reportInterval = Math.max(f.minimumReportInterval, 16), f.addEventListener("readingchanged", d)); var g = Windows.Devices.Sensors.Inclinometer.getDefault(); g && (g.reportInterval = Math.max(g.minimumReportInterval, 16), g.addEventListener("readingchanged", e)); document.addEventListener("visibilitychange", function() { document.hidden || document.msHidden ? (f && f.removeEventListener("readingchanged", d), g && g.removeEventListener("readingchanged", e)) : (f && f.addEventListener("readingchanged", d), g && g.addEventListener("readingchanged", e)) }, !1) } else window.addEventListener("deviceorientation", function(a) { c.hf = a.alpha || 0; c.jf = a.beta || 0; c.kf = a.gamma || 0 }, !1), window.addEventListener("devicemotion", function(a) { a.accelerationIncludingGravity && (c.rm = a.accelerationIncludingGravity.x || 0, c.tm = a.accelerationIncludingGravity.y || 0, c.um = a.accelerationIncludingGravity.z || 0); a.acceleration && (c.rj = a.acceleration.x || 0, c.sj = a.acceleration.y || 0, c.tj = a.acceleration.z || 0) }, !1); this.dp && !this.b.ma && (jQuery(document).mousemove(function(a) { c.vo(a) }), jQuery(document).mousedown(function(a) { c.uo(a) }), jQuery(document).mouseup(function(a) { c.wo(a) })); this.b.Ve && !this.b.ic && AppMobi.accelerometer.watchAcceleration(l, { frequency: 40, adjustForRotation: !0 }); this.b.kc && navigator.accelerometer && navigator.accelerometer.watchAcceleration && navigator.accelerometer.watchAcceleration(q, null, { frequency: 40 }); this.b.To(this) }; c.Nk = function(a) { if (a.pointerType !== a.MSPOINTER_TYPE_MOUSE && "mouse" !== a.pointerType) { a.preventDefault && a.preventDefault(); var b = this.Ne(a.pointerId), c = M(); if (0 <= b) { var d = this.b.ma ? f: jQuery(this.b.canvas).offset(), b = this.touches[b]; 2 > c - b.time || b.update(c, a.pageX - d.left, a.pageY - d.top) } } }; c.Ok = function(b) { if (b.pointerType !== b.MSPOINTER_TYPE_MOUSE && "mouse" !== b.pointerType) { b.preventDefault && Ta(b) && b.preventDefault(); var c = this.b.ma ? f: jQuery(this.b.canvas).offset(), d = b.pageX - c.left, c = b.pageY - c.top; M(); this.qc = this.touches.length; this.we = b.pointerId; this.touches.push(a(d, c, b.pointerId, this.qc)); this.b.fd = !0; this.b.trigger(X.prototype.g.jj, this); this.b.trigger(X.prototype.g.nj, this); this.tc = d; this.uc = c; this.b.trigger(X.prototype.g.mj, this); this.b.fd = !1 } }; c.tg = function(a, b) { if (a.pointerType !== a.MSPOINTER_TYPE_MOUSE && "mouse" !== a.pointerType) { a.preventDefault && Ta(a) && a.preventDefault(); var c = this.Ne(a.pointerId); this.qc = 0 <= c ? this.touches[c].tf: -1; this.we = 0 <= c ? this.touches[c].id: -1; this.b.fd = !0; this.b.trigger(X.prototype.g.ij, this); this.b.trigger(X.prototype.g.lj, this); 0 <= c && (b || this.touches[c].Dk(this, c), 100 > v.length && v.push(this.touches[c]), this.touches.splice(c, 1)); this.b.fd = !1 } }; c.Pk = function(a) { a.preventDefault && a.preventDefault(); var b = M(), c, d, e, g; c = 0; for (d = a.changedTouches.length; c < d; c++) if (e = a.changedTouches[c], g = this.Ne(e.identifier), 0 <= g) { var h = this.b.ma ? f: jQuery(this.b.canvas).offset(); g = this.touches[g]; 2 > b - g.time || g.update(b, e.pageX - h.left, e.pageY - h.top) } }; c.Qk = function(b) { b.preventDefault && Ta(b) && b.preventDefault(); var c = this.b.ma ? f: jQuery(this.b.canvas).offset(); M(); this.b.fd = !0; var d, e, g, h; d = 0; for (e = b.changedTouches.length; d < e; d++) if (g = b.changedTouches[d], h = this.Ne(g.identifier), -1 === h) { h = g.pageX - c.left; var k = g.pageY - c.top; this.qc = this.touches.length; this.we = g.identifier; this.touches.push(a(h, k, g.identifier, this.qc)); this.b.trigger(X.prototype.g.jj, this); this.b.trigger(X.prototype.g.nj, this); this.tc = h; this.uc = k; this.b.trigger(X.prototype.g.mj, this) } this.b.fd = !1 }; c.vi = function(a, b) { a.preventDefault && Ta(a) && a.preventDefault(); this.b.fd = !0; var c, d, e; c = 0; for (d = a.changedTouches.length; c < d; c++) e = a.changedTouches[c], e = this.Ne(e.identifier), 0 <= e && (this.qc = this.touches[e].tf, this.we = this.touches[e].id, this.b.trigger(X.prototype.g.ij, this), this.b.trigger(X.prototype.g.lj, this), b || this.touches[e].Dk(this, e), 100 > v.length && v.push(this.touches[e]), this.touches.splice(e, 1)); this.b.fd = !1 }; c.sq = function() { return this.b.Ve && 0 === this.hf && 0 !== r ? 90 * r: this.b.kc && 0 === this.hf && 0 !== k ? 90 * k: this.hf }; c.tq = function() { return this.b.Ve && 0 === this.jf && 0 !== t ? -90 * t: this.b.kc && 0 === this.jf && 0 !== b ? -90 * b: this.jf }; c.vq = function() { return this.b.Ve && 0 === this.kf && 0 !== e ? 90 * e: this.b.kc && 0 === this.kf && 0 !== p ? 90 * p: this.kf }; c.uo = function(a) { a.preventDefault && this.b.Nh && !this.b.jc && a.preventDefault(); this.Qk({ changedTouches: [{ pageX: a.pageX, pageY: a.pageY, identifier: 0 }] }); this.oi = !0 }; c.vo = function(a) { this.oi && this.Pk({ changedTouches: [{ pageX: a.pageX, pageY: a.pageY, identifier: 0 }] }) }; c.wo = function(a) { a.preventDefault && this.b.Nh && !this.b.jc && a.preventDefault(); this.b.Nh = !0; this.vi({ changedTouches: [{ pageX: a.pageX, pageY: a.pageY, identifier: 0 }] }); this.oi = !1 }; c.Ui = function() { var a, b, c, d = M(); a = 0; for (b = this.touches.length; a < b; ++a) c = this.touches[a], c.time <= d - 50 && (c.gi = d), c.po(this, a) }; d.prototype.nj = w(!0); d.prototype.lj = w(!0); d.prototype.mj = function(a) { return a ? this.b.Lg(a, this.tc, this.uc) : !1 }; d.prototype.jj = function(a) { a = Math.floor(a); return a === this.qc }; d.prototype.ij = function(a) { a = Math.floor(a); return a === this.qc }; d.prototype.Sl = w(!0); d.prototype.kj = w(!0); d.prototype.Pl = w(!0); d.prototype.Tl = function(a) { return a ? this.b.Lg(a, this.tc, this.uc) : !1 }; d.prototype.Ce = function(a) { return a ? this.b.Lg(a, this.tc, this.uc) : !1 }; d.prototype.Ql = function(a) { return a ? this.b.Lg(a, this.tc, this.uc) : !1 }; h.g = new d; u.prototype.pm = function(a, b) { var c = this.ee; if (0 > c || c >= this.touches.length) a.u(0); else { var d, e, f, g, h; ha(b) ? (d = this.b.Pe(0), e = d.scale, f = d.Rc, g = d.Gc, h = d.j, d.scale = this.b.S.scale, d.Rc = 1, d.Gc = 1, d.j = this.b.S.j, a.u(d.ib(this.touches[c].x, this.touches[c].y, !0)), d.scale = e, d.Rc = f, d.Gc = g, d.j = h) : (d = B(b) ? this.b.Pe(b) : this.b.Mh(b)) ? a.u(d.ib(this.touches[c].x, this.touches[c].y, !0)) : a.u(0) } }; u.prototype.qm = function(a, b) { var c = this.ee; if (0 > c || c >= this.touches.length) a.u(0); else { var d, e, f, g, h; ha(b) ? (d = this.b.Pe(0), e = d.scale, f = d.Rc, g = d.Hc, h = d.j, d.scale = this.b.S.scale, d.Rc = 1, d.Hc = 1, d.j = this.b.S.j, a.u(d.ib(this.touches[c].x, this.touches[c].y, !1)), d.scale = e, d.Rc = f, d.Hc = g, d.j = h) : (d = B(b) ? this.b.Pe(b) : this.b.Mh(b)) ? a.u(d.ib(this.touches[c].x, this.touches[c].y, !1)) : a.u(0) } }; h.k = new u })(); function Lb(l) { this.b = l } (function() { function l() {} function q() {} function a() {} var g = Lb.prototype; g.ea = function(a) { this.Y = a; this.b = a.b }; g.ea.prototype.K = s(); g.$ = function(a) { this.type = a; this.b = a.b }; var d = g.$.prototype, u = "", h = "undefined" !== typeof window.is_scirra_arcade; h && (u = "arcade" + window.scirra_arcade_id); d.K = s(); l.prototype.cm = w(!0); g.g = new l; q.prototype.im = function(a, d) { try { localStorage.setItem(u + a, d) } catch(e) { this.b.trigger(Lb.prototype.g.cm, this) } }; g.e = new q; a.prototype.Il = function(a, d) { a.pa(localStorage.getItem(u + d) || "") }; a.prototype.Vg = function(a) { var d = {}, e, g, l; e = 0; for (g = localStorage.length; e < g; e++) l = localStorage.key(e), h ? l.substr(0, u.length) === u && (d[l.substr(u.length)] = localStorage.getItem(l)) : d[l] = localStorage.getItem(l); a.pa(JSON.stringify({ c2dictionary: !0, data: d })) }; g.k = new a })(); function Mb(l) { this.b = l } (function() { function l() {} var q = Mb.prototype; q.ea = function(a) { this.Ib = a; this.b = a.b }; q.ea.prototype.K = s(); q.$ = function(a, d) { this.type = a; this.Ib = a.Ib; this.Ga = d; this.b = a.b }; var a = q.$.prototype; a.K = function() { var a = 1 === this.J[0]; this.Le = this.J[1]; this.Cf = this.J[2]; this.Sf = this.J[3]; this.Nm = this.J[4]; this.Fb = a ? 0 : 3; this.qb ? this.Pb.reset() : this.Pb = new La; this.Jd = this.Ga.opacity ? this.Ga.opacity: 1; a && (0 === this.Le ? (this.Fb = 1, 0 === this.Cf && (this.Fb = 2)) : (this.Ga.opacity = 0, this.b.N = !0)) }; a.Db = function() { return { fit: this.Le, wt: this.Cf, fot: this.Sf, s: this.Fb, st: this.Pb.ja, mo: this.Jd } }; a.Yb = function(a) { this.Le = a.fit; this.Cf = a.wt; this.Sf = a.fot; this.Fb = a.s; this.Pb.reset(); this.Pb.ja = a.st; this.Jd = a.mo }; a.pc = function() { this.Pb.add(this.b.Ih(this.Ga)); 0 === this.Fb && (this.Ga.opacity = this.Pb.ja / this.Le * this.Jd, this.b.N = !0, this.Ga.opacity >= this.Jd && (this.Ga.opacity = this.Jd, this.Fb = 1, this.Pb.reset())); 1 === this.Fb && this.Pb.ja >= this.Cf && (this.Fb = 2, this.Pb.reset()); 2 === this.Fb && 0 !== this.Sf && (this.Ga.opacity = this.Jd - this.Pb.ja / this.Sf * this.Jd, this.b.N = !0, 0 > this.Ga.opacity && (this.Ga.opacity = 0, this.Fb = 3, this.Pb.reset(), this.b.trigger(Mb.prototype.g.Rl, this.Ga), 1 === this.Nm && this.b.Tc(this.Ga))) }; a.qq = function() { this.Fb = 0; this.Pb.reset(); 0 === this.Le ? (this.Fb = 1, 0 === this.Cf && (this.Fb = 2)) : (this.Ga.opacity = 0, this.b.N = !0) }; l.prototype.Rl = w(!0); q.g = new l; q.e = new(s()) })(); function Nb(l) { this.b = l } (function() { var l = Nb.prototype; l.ea = function(l) { this.Ib = l; this.b = l.b }; l.ea.prototype.K = s(); l.$ = function(l, a) { this.type = l; this.Ib = l.Ib; this.Ga = a; this.b = l.b }; l = l.$.prototype; l.K = s(); l.pc = function() { this.Ga.Qa(); var l = this.Ga.Na, a = this.Ga.i.W; (0 > l.right || 0 > l.bottom || l.left > a.width || l.top > a.height) && this.b.Tc(this.Ga) } })(); function Hb() { return [null, null, [[U, !0, !1, !1, !1, !1, !1, !1, !1, !1], [T, !1, !1, !1, !1, !1, !1, !1, !1, !1], [Ib, !0, !1, !1, !1, !1, !1, !1, !1, !1], [Jb, !1, !0, !0, !0, !0, !1, !1, !1, !1], [S, !1, !0, !0, !0, !0, !0, !0, !0, !1], [V, !1, !0, !0, !0, !0, !0, !0, !0, !1], [Kb, !1, !0, !0, !0, !0, !0, !0, !0, !0], [X, !0, !1, !1, !1, !1, !1, !1, !1, !1], [Lb, !0, !1, !1, !1, !1, !1, !1, !1, !1]], [["t0", X, !1, [], 0, 0, null, null, [], !1, !1, 0xf94d1b2a3ecfa, [], null, [1]], ["t1", V, !1, [], 0, 0, null, null, [], !1, !1, 0xda5ccc89b605, [], null], ["t2", V, !1, [], 0, 0, null, null, [], !1, !1, 0xc3dd4dd45aaf5, [], null], ["t3", V, !1, [], 0, 0, null, null, [], !1, !1, 6205728733219292, [], null], ["t4", V, !1, [], 0, 0, null, null, [], !1, !1, 0xd772867d1d3e8, [], null], ["t5", V, !1, [], 1, 0, null, null, [["Fade", Mb, 869346729990702]], !1, !1, 8925630662382042, [], null], ["t6", V, !1, [], 1, 0, null, null, [["Fade", Mb, 9510880906266236]], !1, !1, 0xcb14b10e09127, [], null], ["t7", V, !1, [], 0, 0, null, null, [], !1, !1, 7598069977819439, [], null], ["t8", U, !1, [], 0, 0, null, null, [], !1, !1, 5515226481900354, [], null, []], ["t9", S, !1, [], 0, 0, null, [["Default", 5, !1, 1, 0, !1, 7581965143295931, [["images/arw-sheet0.png", 280, 0, 0, 89, 82, 1, 0.5056179761886597, 0.5, [], [ - 0.02247196435928345, 0.02438998222351074, -0.01123598217964172, -0.4268293082714081, 0.4269660115242004, -0.4268293082714081, 0.08988803625106812, 0, 0.06741601228713989, 0.03658497333526611, -0.01123598217964172, 0.1097559928894043, -0.5056179761886597, 0.5, -0.01123598217964172, 0], 3]]]], [], !1, !1, 556126341322379, [], null], ["t10", S, !1, [], 0, 0, null, [["Default", 5, !1, 1, 0, !1, 0x629a25e646fa3, [["images/sharebg-sheet0.png", 105, 0, 0, 5, 5, 1, 0.6000000238418579, 0.6000000238418579, [], [], 0]]]], [], !1, !1, 873059039988732, [], null], ["t11", V, !1, [], 0, 0, null, null, [], !1, !1, 0xffce207ac57d7, [], null], ["t12", V, !1, [], 0, 0, null, null, [], !1, !1, 8753677058651271, [], null], ["t13", Jb, !1, [], 0, 0, null, null, [], !1, !1, 6084897573218804, [], null], ["t14", T, !1, [], 0, 0, null, null, [], !0, !1, 9587886386844038, [], null], ["t15", S, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 0x9cde368e5d296, [["images/chun-sheet0.png", 6235, 0, 0, 266, 150, 1, 0.4624060094356537, 0.5066666603088379, [], [ - 0.3479480147361755, -0.1971426606178284, -0.001563012599945068, -0.4399999678134918, 0.3960280120372772, -0.2780956625938416, 0.4622929990291596, -0.001904666423797607, 0.380966991186142, 0.2504763603210449, -0.001563012599945068, 0.4695233106613159, -0.4112012088298798, 0.2933333516120911, -0.4232494235038757, -0.001904666423797607], 0]]]], [["Fade", Mb, 0x5eb8fb04cdbf5]], !1, !1, 7427885814041977, [], null], ["t16", S, !1, [9507576288474780, 7798132949118078, 579919847236918, 0x3e12fb27683fd], 1, 0, null, [["Default", 0, !1, 1, 0, !1, 0x3c564b50a183f, [["images/tile-sheet0.png", 363928, 1, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 118, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 235, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 352, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 1, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 118, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 235, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 352, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 1, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 118, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 235, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 352, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 1, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 118, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 235, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet0.png", 363928, 352, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 1, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 118, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 235, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 352, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 1, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 118, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 235, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 352, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 1, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 118, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 235, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 352, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 1, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 118, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 235, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet1.png", 368205, 352, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 1, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 118, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 235, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 352, 1, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 1, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 118, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 235, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 352, 118, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 1, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 118, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 235, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 352, 235, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 1, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 118, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 235, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0], ["images/tile-sheet2.png", 386007, 352, 352, 115, 115, 1, 0.5043478012084961, 0.5043478012084961, [], [], 0]]]], [["DestroyOutsideLayout", Nb, 8183923838585385]], !1, !1, 0x46826e63f0474, [], null], ["t17", Ib, !1, [], 0, 0, null, null, [], !1, !1, 9551747637700524, [], null, []], ["t18", S, !1, [], 0, 0, null, [["Default", 5, !1, 1, 0, !1, 7968125673324191, [["images/cursorhand_grey-sheet0.png", 623, 0, 0, 27, 28, 1, 0.5185185074806213, 0.5, [], [ - 0.4814814925193787, -0.4642857015132904, 0.2962964773178101, -0.3214290142059326, 0.4814814925193787, 0, 0.2962964773178101, 0.3214290142059326, -0.03703752160072327, 0.3928570151329041, -0.2592595219612122, 0.25, -0.4814814925193787, 0], 0]]]], [], !1, !1, 6738809493591891, [], null], ["t19", V, !1, [], 0, 0, null, null, [], !1, !1, 6045589488437217, [], null], ["t20", Lb, !1, [], 0, 0, null, null, [], !1, !1, 6656137981101817, [], null, []], ["t21", Kb, !1, [], 0, 0, ["images/tiledbackground.png", 645, 0], null, [], !1, !1, 6126612524504257, [], null], ["t22", Kb, !1, [], 0, 0, ["images/tiledbackground2.png", 105, 0], null, [], !1, !1, 8224839133421809, [], null]], [], [["game", 640, 1136, !1, "Event sheet 1", 8873350371196689, [["back", 0, 8722530541249526, !0, [255, 255, 255], !1, 1, 1, 1, !1, 1, 0, 0, [[[0, 0, 0, 639, 1135, 0, 0, 1, 0, 0, 0, 0, []], 21, 7, [], [], [0, 0]]], []], ["tile", 1, 0x4f0611bcb0455, !0, [255, 255, 255], !0, 1, 1, 1, !1, 1, 0, 0, [], []], ["chun", 2, 7438187641589173, !0, [255, 255, 255], !0, 1, 1, 1, !1, 1, 0, 0, [], []], ["ui", 3, 0x7c229a0a9d8d7, !0, [255, 255, 255], !0, 1, 1, 1, !1, 1, 0, 0, [[[0, 131, 0, 480, 78, 0, 0, 1, 0, 0, 0, 0, []], 7, 11, [], [], ["\u70b9\u51fb\u56fe\u6807\u4f7f\u4ed6\u4eec\u53d8\u5f97\u4e00\u81f4", 0, "18pt \u5fae\u8f6f\u96c5\u9ed1", "rgb(153,0,204)", 1, 0, 0, 0, 0]], [[272, 12, 0, 200, 32, 0, 0, 1, 0, 0, 0, 0, []], 2, 4, [], [], ["Text", 0, "15pt \u5fae\u8f6f\u96c5\u9ed1", "rgb(255,0,204)", 2, 0, 0, 0, 0]], [[7, 12, 0, 200, 30, 0, 0, 1, 0, 0, 0, 0, []], 1, 3, [], [], ["Text", 0, "15pt \u5fae\u8f6f\u96c5\u9ed1", "rgb(255,0,204)", 0, 0, 0, 0, 0]], [[0, 39, 0, 477, 93, 0, 0, 1, 0, 0, 0, 0, []], 4, 8, [], [], ["\u6da8\u59ff\u52bf\uff01", 0, "bold 42pt \u5fae\u8f6f\u96c5\u9ed1", "rgb(153,0,204)", 1, 0, 0, 0, 0]], [[245, 521, 0, 200, 66, 0, 0, 1, 0, 0, 0, 0, []], 19, 21, [], [], ["\u70b9\u51fb\u8fd9\u4e2a\u56fe\u6848 \u4f7f\u4e4b\u4e0e\u5176\u4ed6\u56fe\u6848\u4e00\u81f4", 0, "15pt \u5fae\u8f6f\u96c5\u9ed1", "rgb(255,0,204)", 1, 0, 0, 0, 0]], [[287, 504, 0, 27, 28, 0, 0.5667307376861572, 1, 0.5185185074806213, 0.5, 0, 0, []], 18, 2, [], [], [0, "Default", 0, 1]], [[0, 736, 0, 480, 104, 0, 0, 1, 0, 0, 0, 0, []], 13, 17, [], [], [1, "", "border: 0;", "my_iframe", 2]]], []], ["share", 4, 710626183291664, !0, [255, 255, 255], !0, 1, 1, 1, !1, 1, 0, 0, [], []]], [[null, 14, 18, [], [], [10, 1, 1]]], []], ["item", 1708, 960, !1, null, 0x3994654c106fb, [["Layer 0", 0, 7845173731529697, !0, [255, 255, 255], !1, 1, 1, 1, !1, 1, 0, 0, [[[184, 122, 0, 266, 150, 0, 0, 1, 0.4624060094356537, 0.5066666603088379, 0, 0, []], 15, 22, [], [[1, 0, 0, 0.5, 1]], [0, "Default", 0, 1]], [[338, 209, 0, 235, 23, 0, 0, 1, 0, 0, 0, 0, []], 3, 23, [], [], ["Text", 0, "11pt Arial", "rgb(255,0,0)", 1, 0, 0, 0, 0]], [[155, 683, 0, 115, 115, 0, 0, 1, 0.5043478012084961, 0.5043478012084961, 0, 0, []], 16, 5, [[0], [0], [0], [0]], [[]], [0, "Default", 0, 1]], [[378, 494, 0, 179, 50, 0, 0, 1, 0.5, 0.5, 0, 0, []], 6, 20, [], [[1, 1, 0, 0, 1]], ["\u5206\u4eab\u7ed9\u597d\u53cb", 0, "24pt \u5fae\u8f6f\u96c5\u9ed1", "rgb(255,0,204)", 1, 0, 1, 0, 0]], [[184, 496, 0, 150, 50, 0, 0, 1, 0.5, 0.5, 0, 0, []], 5, 24, [], [[1, 1, 0, 0, 1]], ["\u518d\u6765\u4e00\u6b21", 0, "24pt \u5fae\u8f6f\u96c5\u9ed1", "rgb(255,0,204)", 1, 0, 1, 0, 0]], [[163, 312, 0, 5, 5, 0, 0, 1, 0.6000000238418579, 0.6000000238418579, 0, 0, []], 10, 25, [], [], [0, "Default", 0, 1]], [[160, 219, 0, 49.83289337158203, 45.9134521484375, 0, 0, 1, 0.5056179761886597, 0.5, 0, 0, []], 9, 26, [], [], [0, "Default", 0, 1]], [[90, 338, 0, 284, 40, 0, 0, 1, 0, 0, 0, 0, []], 11, 27, [], [], ["Text", 0, "22pt \u5fae\u8f6f\u96c5\u9ed1", "rgb(255,255,255)", 2, 0, 0, 0, 0]], [[186, 320, 0, 200, 46, 0, 0, 1, 0, 0, 0, 0, []], 12, 28, [], [], ["Text", 0, "22pt \u5fae\u8f6f\u96c5\u9ed1", "rgb(255,255,255)", 2, 0, 0, 0, 0]], [[233, 252, 0, 99, 97, 0, 0, 1, 0, 0, 0, 0, []], 22, 9, [], [], [0, 0]]], []]], [], []]], [["Event sheet 1", [[1, "allStep", 0, 0, !1, !1, 7829794336433874, !1], [1, "altime", 0, 30, !1, !1, 8806000227071718, !1], [1, "newtile", 0, -2, !1, !1, 0x6738435c351df, !1], [1, "alltile", 0, 0, !1, !1, 6848927134097075, !1], [1, "myTileList", 1, "", !1, !1, 5996427334966738, !1], [1, "state", 0, 0, !1, !1, 7590962164872429, !1], [1, "mapM", 0, 0, !1, !1, 0x6e9d0e502f575, !1], [1, "winWord", 1, "99.9999|99.99|99.12|95.41|89.56|75.21|61.42|45.51|32.18|19.70|3.15", !1, !1, 9790225597145276, !1], [1, "winTitle", 1, "\u64b8\u795e|\u64b8\u795e|\u64b8\u4ed9|\u64b8\u5927\u5e08|\u64b8\u81f3\u6df1|\u64b8\u8fc5|\u64b8\u901f|\u64b8\u73ed|\u64b8\u63d0\u778e|\u64b8\u4e32|\u64b8\u4e0d\u51fa", !1, !1, 7216036116395405, !1], [1, "level", 1, "4|4|4|4|4|9|9|9|9|16", !1, !1, 9859418748036384, !1], [1, "nowLv", 0, 0, !1, !1, 7876067774709284, !1], [1, "nowSet", 0, 4, !1, !1, 0x9cf322dd02be1, !1], [1, "mapHeader", 0, 230, !1, !1, 8448505834635232, !1], [1, "rndn1", 0, 0, !1, !1, 0xd99f7141abf36, !1], [1, "rndn2", 0, 0, !1, !1, 0x41cbf92fcc4f9, !1], [1, "wintest1", 0, 0, !1, !1, 0xface98f666c75, !1], [1, "wintest2", 0, 0, !1, !1, 9757244597927244, !1], [1, "mywin", 0, 0, !1, !1, 9290006532671788, !1], [1, "debug", 1, "", !1, !1, 0x7b7caf4a9d027, !1], [0, null, !1, null, 0xadb75ac2f16f6, [[ - 1, R.prototype.g.ah, null, 1, !1, !1, !1, 82509603634152, !1], [ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 6971807587501048, !1, [[11, "state"], [8, 0], [7, [0, 0]]]]], [[ - 1, R.prototype.e.ca, null, 0x4b863ba416622, !1, [[11, "myTileList"], [7, [20, 20, Lb.prototype.k.Il, !0, null, [[2, "zskt_mytiles"]]]]]]]], [0, null, !1, null, 6401505462570405, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 665190475013387, !1, [[11, "myTileList"], [8, 0], [7, [2, ""]]]]], [[ - 1, R.prototype.e.ca, null, 6983000246518801, !1, [[11, "myTileList"], [7, [2, "|"]]]]]], [0, [!0, "create"], !1, null, 463309410371381, [[ - 1, R.prototype.g.td, null, 0, !1, !1, !1, 463309410371381, !1, [[1, [2, "create"]]]]], [], [[1, "tilei", 0, 0, !1, !1, 5563475558722623, !1], [1, "set4x", 1, "177|303|177|303", !1, !1, 8642190851402124, !1], [1, "set4y", 1, "58|58|183|183", !1, !1, 6457726155660816, !1], [1, "set9x", 1, "115|240|365|115|240|365|115|240|365", !1, !1, 0xfbdc7c2614efa, !1], [1, "set9y", 1, "58|58|58|183|183|183|308|308|308", !1, !1, 0x94854390c34f1, !1], [1, "set16x", 1, "55|179|301|425|55|179|301|425|55|179|301|425|55|179|301|425", !1, !1, 9002331020565369, !1], [1, "set16y", 1, "58|58|58|58|183|183|183|183|308|308|308|308|433|433|433|433", !1, !1, 4871211386269639, !1], [1, "set25x", 1, "52|146|240|334|428|52|146|240|334|428|52|146|240|334|428|52|146|240|334|428|52|146|240|334|428", !1, !1, 4584498050197125, !1], [1, "set25y", 1, "42|42|42|42|42|136|136|136|136|136|230|230|230|230|230|324|324|324|324|324|418|418|418|418|418", !1, !1, 5531018612652659, !1], [1, "firstLv", 1, "", !1, !1, 5429421173565426, !1], [0, null, !1, null, 6264986531600359, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 0xf13d718c29e84, !1, [[11, "mapM"], [8, 0], [7, [0, 0]]]]], [[ - 1, R.prototype.e.ca, null, 9519807724619284, !1, [[11, "mapM"], [7, [0, 1]]]], [ - 1, R.prototype.e.ca, null, 5299899243543115, !1, [[11, "nowSet"], [7, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "level"], [19, R.prototype.k.min, [[23, "nowLv"], [0, 9]]], [2, "|"]]]]]]]], [ - 1, R.prototype.e.fb, null, 9507182194703264, !1, [[11, "nowLv"], [7, [0, 1]]]], [ - 1, R.prototype.e.fb, null, 8720330804479547, !1, [[11, "newtile"], [7, [0, 2]]]], [ - 1, R.prototype.e.fb, null, 6862298287118858, !1, [[11, "alltile"], [7, [23, "nowSet"]]]], [ - 1, R.prototype.e.ca, null, 9473992373992448, !1, [[11, "rndn1"], [7, [19, R.prototype.k["int"], [[19, R.prototype.k.random, [[0, 0], [0, 39]]]]]]]], [ - 1, R.prototype.e.ca, null, 0x83e0201ea79f0, !1, [[11, "rndn2"], [7, [4, [23, "rndn1"], [19, R.prototype.k["int"], [[19, R.prototype.k.random, [[0, 1], [0, 8]]]]]]]]]], [[0, null, !1, null, 9757177966866232, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 8180133035444653, !1, [[11, "nowLv"], [8, 0], [7, [0, 1]]]]], [[ - 1, R.prototype.e.ca, null, 0x77ba5da87a004, !1, [[11, "firstLv"], [7, [10, [10, [10, [10, [10, [10, [23, "rndn1"], [2, "|"]], [23, "rndn1"]], [2, "|"]], [23, "rndn1"]], [2, "|"]], [23, "rndn2"]]]]]]], [0, null, !1, null, 0x9d9ebd3d5497d, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 0xae156b05b26b0, !1, [[11, "nowLv"], [8, 0], [7, [0, 2]]]]], [[ - 1, R.prototype.e.ca, null, 400052974136517, !1, [[11, "firstLv"], [7, [10, [10, [10, [10, [10, [10, [23, "rndn1"], [2, "|"]], [23, "rndn2"]], [2, "|"]], [23, "rndn1"]], [2, "|"]], [23, "rndn1"]]]]]]], [0, null, !1, null, 5653066037309235, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 4909985140751356, !1, [[11, "nowLv"], [8, 0], [7, [0, 3]]]]], [[ - 1, R.prototype.e.ca, null, 0x828216e572da3, !1, [[11, "firstLv"], [7, [10, [10, [10, [10, [10, [10, [23, "rndn2"], [2, "|"]], [23, "rndn1"]], [2, "|"]], [23, "rndn1"]], [2, "|"]], [23, "rndn2"]]]]]]], [0, null, !1, null, 6670144778699386, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 8863502857990735, !1, [[11, "nowLv"], [8, 0], [7, [0, 4]]]]], [[ - 1, R.prototype.e.ca, null, 8924815912764964, !1, [[11, "firstLv"], [7, [10, [10, [10, [10, [10, [10, [23, "rndn1"], [2, "|"]], [23, "rndn1"]], [2, "|"]], [23, "rndn2"]], [2, "|"]], [23, "rndn2"]]]]]]], [0, null, !1, null, 566617174706205, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 7833242696527362, !1, [[11, "nowLv"], [8, 0], [7, [0, 5]]]]], [[ - 1, R.prototype.e.ca, null, 6584270991991598, !1, [[11, "firstLv"], [7, [10, [10, [10, [10, [10, [10, [23, "rndn2"], [2, "|"]], [23, "rndn1"]], [2, "|"]], [23, "rndn1"]], [2, "|"]], [23, "rndn2"]]]]]]], [0, null, !1, null, 5632307651096084, [[ - 1, R.prototype.g.ej, null, 0, !1, !1, !1, 8053142908741583, !1, [[7, [19, R.prototype.k.find, [[23, "myTileList"], [10, [10, [2, "|"], [23, "rndn1"]], [2, "|"]]]]], [8, 0], [7, [0, -1]]]]], [[ - 1, R.prototype.e.ca, null, 7712944154935735, !1, [[11, "myTileList"], [7, [10, [10, [2, "|"], [23, "rndn1"]], [23, "myTileList"]]]]]]], [0, null, !1, null, 9091126502233716, [[ - 1, R.prototype.g.ej, null, 0, !1, !1, !1, 0xdc1b09fcfd9fc, !1, [[7, [19, R.prototype.k.find, [[23, "myTileList"], [10, [10, [2, "|"], [23, "rndn2"]], [2, "|"]]]]], [8, 0], [7, [0, -1]]]]], [[ - 1, R.prototype.e.ca, null, 8028722784964185, !1, [[11, "myTileList"], [7, [10, [10, [2, "|"], [23, "rndn2"]], [23, "myTileList"]]]]]]], [0, null, !1, null, 9726043312566432, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 5987606039813666, !1, [[11, "nowSet"], [8, 0], [7, [0, 4]]]]], [[14, T.prototype.e.Vd, null, 0xd8337fae33838, !1, [[0, [0, 4]], [0, [0, 1]], [0, [0, 1]]]], [ - 1, R.prototype.e.ca, null, 360995174267328, !1, [[11, "mapHeader"], [7, [0, 260]]]]], [[0, null, !1, null, 0xa02c62aa85904, [[ - 1, R.prototype.g.Ef, null, 0, !0, !1, !1, 6591065965931896, !1, [[1, [2, "make4"]], [0, [0, 0]], [0, [0, 3]]]]], [[ - 1, R.prototype.e.Gb, null, 0x558083755653e, !1, [[4, 16], [5, [0, 1]], [0, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "set4x"], [23, "tilei"], [2, "|"]]]]]], [0, [4, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "set4y"], [23, "tilei"], [2, "|"]]]]], [23, "mapHeader"]]]]], [16, S.prototype.e.Ca, null, 723148900509741, !1, [[10, 0], [7, [23, "rndn1"]]]], [16, S.prototype.e.Ca, null, 0xa94c8da3a3d22, !1, [[10, 1], [7, [23, "rndn2"]]]], [16, S.prototype.e.Ca, null, 5838429079176084, !1, [[10, 2], [7, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "firstLv"], [23, "tilei"], [2, "|"]]]]]]]], [16, S.prototype.e.ud, null, 8265870308761009, !1, [[0, [21, 16, !1, null, 2]]]], [16, S.prototype.e.Ca, null, 6401887803340462, !1, [[10, 3], [7, [23, "tilei"]]]], [14, T.prototype.e.vd, null, 5351252249169243, !1, [[0, [23, "tilei"]], [7, [21, 16, !1, null, 2]]]], [ - 1, R.prototype.e.fb, null, 6066333131298112, !1, [[11, "tilei"], [7, [0, 1]]]]]]]], [0, null, !1, null, 9134094344884104, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 0x61ccf83a85ede, !1, [[11, "nowSet"], [8, 0], [7, [0, 9]]]]], [[14, T.prototype.e.Vd, null, 0x82f1db24d34d4, !1, [[0, [0, 9]], [0, [0, 1]], [0, [0, 1]]]], [ - 1, R.prototype.e.ca, null, 8430065267235837, !1, [[11, "mapHeader"], [7, [0, 230]]]]], [[0, null, !1, null, 7319670059070996, [[ - 1, R.prototype.g.Ef, null, 0, !0, !1, !1, 0xc15d05f91d4b0, !1, [[1, [2, "make9"]], [0, [0, 0]], [0, [0, 8]]]]], [[ - 1, R.prototype.e.Gb, null, 0x9cd14b38e9456, !1, [[4, 16], [5, [0, 1]], [0, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "set9x"], [23, "tilei"], [2, "|"]]]]]], [0, [4, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "set9y"], [23, "tilei"], [2, "|"]]]]], [23, "mapHeader"]]]]], [16, S.prototype.e.Ca, null, 0x9c32b2b8ab243, !1, [[10, 0], [7, [23, "rndn1"]]]], [16, S.prototype.e.Ca, null, 0x6f995e3fe9780, !1, [[10, 1], [7, [23, "rndn2"]]]], [16, S.prototype.e.Ca, null, 4632419454413709, !1, [[10, 2], [7, [19, R.prototype.k.If, [[21, 16, !1, null, 0], [21, 16, !1, null, 1]]]]]], [16, S.prototype.e.ud, null, 0x3b129cf63dcc1, !1, [[0, [21, 16, !1, null, 2]]]], [16, S.prototype.e.Ca, null, 8364861341815985, !1, [[10, 3], [7, [23, "tilei"]]]], [14, T.prototype.e.vd, null, 0xd5759627e15eb, !1, [[0, [23, "tilei"]], [7, [21, 16, !1, null, 2]]]], [ - 1, R.prototype.e.fb, null, 638646311351623, !1, [[11, "tilei"], [7, [0, 1]]]]]]]], [0, null, !1, null, 742180817330754, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 7040151954223154, !1, [[11, "nowSet"], [8, 0], [7, [0, 16]]]]], [[14, T.prototype.e.Vd, null, 8041195867780814, !1, [[0, [0, 16]], [0, [0, 1]], [0, [0, 1]]]], [ - 1, R.prototype.e.ca, null, 5385109956986515, !1, [[11, "mapHeader"], [7, [0, 200]]]]], [[0, null, !1, null, 4851363118618029, [[ - 1, R.prototype.g.Ef, null, 0, !0, !1, !1, 8797460341041133, !1, [[1, [2, "make16"]], [0, [0, 0]], [0, [0, 15]]]]], [[ - 1, R.prototype.e.Gb, null, 0x720584f19cbdd, !1, [[4, 16], [5, [0, 1]], [0, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "set16x"], [23, "tilei"], [2, "|"]]]]]], [0, [4, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "set16y"], [23, "tilei"], [2, "|"]]]]], [23, "mapHeader"]]]]], [16, S.prototype.e.Ca, null, 580478962495951, !1, [[10, 0], [7, [23, "rndn1"]]]], [16, S.prototype.e.Ca, null, 8221872776271937, !1, [[10, 1], [7, [23, "rndn2"]]]], [16, S.prototype.e.Ca, null, 0xbd52e4532d70a, !1, [[10, 2], [7, [19, R.prototype.k.If, [[21, 16, !1, null, 0], [21, 16, !1, null, 1]]]]]], [16, S.prototype.e.ud, null, 8611496128967101, !1, [[0, [21, 16, !1, null, 2]]]], [16, S.prototype.e.Ca, null, 4939167056420164, !1, [[10, 3], [7, [23, "tilei"]]]], [14, T.prototype.e.vd, null, 6608357974757323, !1, [[0, [23, "tilei"]], [7, [21, 16, !1, null, 2]]]], [ - 1, R.prototype.e.fb, null, 9826246727543096, !1, [[11, "tilei"], [7, [0, 1]]]]]]]], [0, null, !1, null, 4813055375253347, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 5464143607745079, !1, [[11, "nowSet"], [8, 0], [7, [0, 25]]]]], [[14, T.prototype.e.Vd, null, 0xcebea7b7c4686, !1, [[0, [0, 25]], [0, [0, 1]], [0, [0, 1]]]]], [[0, null, !1, null, 7381978883440369, [[ - 1, R.prototype.g.Ef, null, 0, !0, !1, !1, 8458880606138151, !1, [[1, [2, "make25"]], [0, [0, 0]], [0, [0, 24]]]]], [[ - 1, R.prototype.e.Gb, null, 8569090695176074, !1, [[4, 16], [5, [0, 1]], [0, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "set25x"], [23, "tilei"], [2, "|"]]]]]], [0, [4, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "set25y"], [23, "tilei"], [2, "|"]]]]], [23, "mapHeader"]]]]], [16, S.prototype.e.Ca, null, 8515974274000636, !1, [[10, 0], [7, [23, "rndn1"]]]], [16, S.prototype.e.Ca, null, 9902805642094732, !1, [[10, 1], [7, [23, "rndn2"]]]], [16, S.prototype.e.Ca, null, 0x9e0efa8e8225c, !1, [[10, 2], [7, [19, R.prototype.k.If, [[21, 16, !1, null, 0], [21, 16, !1, null, 1]]]]]], [16, S.prototype.e.ud, null, 8314940907032919, !1, [[0, [21, 16, !1, null, 2]]]], [16, S.prototype.e.Ca, null, 6598939636633567, !1, [[10, 3], [7, [23, "tilei"]]]], [14, T.prototype.e.vd, null, 0x71f200190fde6, !1, [[0, [23, "tilei"]], [7, [21, 16, !1, null, 2]]]], [ - 1, R.prototype.e.fb, null, 0x650ef7845d899, !1, [[11, "tilei"], [7, [0, 1]]]]]]]]]]]], [0, [!0, "touch"], !1, null, 5688060081980735, [[ - 1, R.prototype.g.td, null, 0, !1, !1, !1, 5688060081980735, !1, [[1, [2, "touch"]]]]], [], [[0, null, !1, null, 9668656310205238, [[0, X.prototype.g.Ce, null, 1, !1, !1, !1, 0xa3c106b6ca463, !1, [[4, 16]]]], [[ - 1, R.prototype.e.fb, null, 6331418765221178, !1, [[11, "allStep"], [7, [0, 1]]]]], [[0, null, !1, null, 9030540104582984, [[16, S.prototype.g.Al, null, 0, !1, !1, !1, 0x88908ed989419, !1, [[10, 0], [8, 0], [7, [21, 16, !1, null, 2]]]]], [[16, S.prototype.e.Ca, null, 7118351437801164, !1, [[10, 2], [7, [21, 16, !1, null, 1]]]], [16, S.prototype.e.ud, null, 0x8e504a4c2d87e, !1, [[0, [21, 16, !1, null, 2]]]], [14, T.prototype.e.vd, null, 352486168237451, !1, [[0, [21, 16, !1, null, 3]], [7, [21, 16, !1, null, 2]]]], [17, Ib.prototype.e.CallFunction, null, 704235080614782, !1, [[1, [2, "checkArray"]], [13]]]]], [0, null, !1, null, 0xd489f2406ca38, [[ - 1, R.prototype.g.Wg, null, 0, !1, !1, !1, 57976889158522, !1]], [[16, S.prototype.e.Ca, null, 8108315549557503, !1, [[10, 2], [7, [21, 16, !1, null, 0]]]], [16, S.prototype.e.ud, null, 0x79b6fe9a2dca1, !1, [[0, [21, 16, !1, null, 2]]]], [14, T.prototype.e.vd, null, 7960197734489039, !1, [[0, [21, 16, !1, null, 3]], [7, [21, 16, !1, null, 2]]]], [17, Ib.prototype.e.CallFunction, null, 6104991323796697, !1, [[1, [2, "checkArray"]], [13]]]]]]]]], [0, [!0, "win"], !1, null, 0x9ae83c20a7704, [[ - 1, R.prototype.g.td, null, 0, !1, !1, !1, 0x9ae83c20a7704, !1, [[1, [2, "win"]]]]], [], [[0, null, !0, null, 5635761793353455, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 6357667036403598, !1, [[11, "wintest1"], [8, 5], [7, [23, "nowSet"]]]], [ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 8459400258045691, !1, [[11, "wintest2"], [8, 5], [7, [23, "nowSet"]]]]], [[ - 1, R.prototype.e.Gb, null, 9270279745790516, !1, [[4, 15], [5, [0, 3]], [0, [0, 240]], [0, [0, 440]]]], [16, S.prototype.e.Sc, null, 0xba1ab1eed35f8, !1], [14, T.prototype.e.zl, null, 4874908531080859, !1], [ - 1, R.prototype.e.ca, null, 8863517634898938, !1, [[11, "mapM"], [7, [0, 0]]]], [ - 1, R.prototype.e.ca, null, 803503613049771, !1, [[11, "wintest1"], [7, [0, 0]]]], [ - 1, R.prototype.e.ca, null, 0x82b9d449d3214, !1, [[11, "wintest2"], [7, [0, 0]]]]]], [0, null, !1, null, 8090203816526591, [[ - 1, R.prototype.g.Wg, null, 0, !1, !1, !1, 7795125709927437, !1]], [[ - 1, R.prototype.e.ca, null, 5873562223711468, !1, [[11, "wintest1"], [7, [0, 0]]]], [ - 1, R.prototype.e.ca, null, 6297107317420286, !1, [[11, "wintest2"], [7, [0, 0]]]]]], [0, null, !1, null, 8527462817187793, [[ - 1, R.prototype.g.Cl, null, 0, !1, !1, !1, 0x69785fee30459, !1]], [[1, V.prototype.e.rc, null, 5661054604260627, !1, [[7, [10, [2, "\u59ff\u52bf: "], [23, "newtile"]]]]], [2, V.prototype.e.rc, null, 0x455892582567c, !1, [[7, [10, [2, "\u64b8: "], [23, "allStep"]]]]]]]]], [0, [!0, "firstTouch"], !1, null, 6520097567065134, [[ - 1, R.prototype.g.td, null, 0, !1, !1, !1, 6520097567065134, !1, [[1, [2, "firstTouch"]]]]], [], [[0, null, !1, null, 0xbfe560400df96, [[0, X.prototype.g.kj, null, 1, !1, !1, !1, 665449462250912, !1]], [[18, S.prototype.e.Sc, null, 7086957559433478, !1], [19, V.prototype.e.Sc, null, 6819141328407858, !1], [ - 1, R.prototype.e.fb, null, 5859446879068699, !1, [[11, "state"], [7, [0, 1]]]], [4, V.prototype.e.rc, null, 0xeb0a0041fd286, !1, [[7, [2, "0:30s"]]]], [ - 1, R.prototype.e.dh, null, 0xec4d620f8708f, !1, [[1, [2, "timer"]], [3, 1]]], [ - 1, R.prototype.e.dh, null, 7782912429107848, !1, [[1, [2, "firstTouch"]], [3, 0]]], [7, V.prototype.e.rc, null, 97704176875328, !1, [[7, [2, "\u8ba1\u65f6\u5f00\u59cb\uff01"]]]]]]]], [0, [!0, "function"], !1, null, 0xf5ff9f4ce7058, [[ - 1, R.prototype.g.td, null, 0, !1, !1, !1, 0xf5ff9f4ce7058, !1, [[1, [2, "function"]]]]], [], [[0, null, !1, null, 0x5580229f4bd2d, [[17, Ib.prototype.g.Ff, null, 2, !1, !1, !1, 467792644028138, !1, [[1, [2, "checkArray"]]]]], [], [[0, null, !1, null, 6516505179307372, [[14, T.prototype.g.dj, null, 0, !0, !1, !1, 0xc4fff62d6433d, !1, [[3, 2]]], [14, T.prototype.g.fj, null, 0, !1, !1, !1, 8377370364483197, !1, [[8, 0], [7, [23, "rndn1"]]]]], [[ - 1, R.prototype.e.fb, null, 0x4acd811f6f33f, !1, [[11, "wintest1"], [7, [0, 1]]]]]], [0, null, !1, null, 6299650794570212, [[14, T.prototype.g.dj, null, 0, !0, !1, !1, 0x7b1ddb3f62b95, !1, [[3, 2]]], [14, T.prototype.g.fj, null, 0, !1, !1, !1, 8877190438200088, !1, [[8, 0], [7, [23, "rndn2"]]]]], [[ - 1, R.prototype.e.fb, null, 4672813432312855, !1, [[11, "wintest2"], [7, [0, 1]]]]]]]]]], [0, [!1, "timer"], !1, null, 0x82e5eec07e187, [[ - 1, R.prototype.g.td, null, 0, !1, !1, !1, 0x82e5eec07e187, !1, [[1, [2, "timer"]]]]], [], [[1, "tileid", 0, 1, !0, !1, 6642817951285725, !1], [0, null, !1, null, 4858281284855332, [[ - 1, R.prototype.g.gj, null, 0, !1, !1, !1, 5294835524464211, !1, [[0, [1, 1]]]], [ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 9438101616507164, !1, [[11, "state"], [8, 0], [7, [0, 1]]]]], [[ - 1, R.prototype.e.jm, null, 0xaa0b6f910a28a, !1, [[11, "altime"], [7, [0, 1]]]], [4, V.prototype.e.rc, null, 7252057416347254, !1, [[7, [10, [10, [2, "0:"], [23, "altime"]], [2, "s"]]]]]]], [0, null, !1, null, 0xdc831a4949e87, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 626443217452192, !1, [[11, "altime"], [8, 3], [7, [0, 0]]]], [ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 0xb37d50664e139, !1, [[11, "state"], [8, 0], [7, [0, 1]]]]], [[ - 1, R.prototype.e.fb, null, 8155674551104864, !1, [[11, "state"], [7, [0, 1]]]], [ - 1, R.prototype.e.dh, null, 908086306007648, !1, [[1, [2, "touch"]], [3, 0]]], [16, S.prototype.e.Sc, null, 9688231096536448, !1], [ - 1, R.prototype.e.ca, null, 0x5573cb12d67e7, !1, [[11, "altime"], [7, [0, 0]]]], [ - 1, R.prototype.e.ca, null, 0x935d4c5c35ecf, !1, [[11, "mywin"], [7, [19, R.prototype.k.Jf, [[5, [0, 11], [19, R.prototype.k["int"], [[5, [7, [23, "newtile"], [0, 4]], [7, [5, [23, "allStep"], [7, [23, "alltile"], [0, 2]]], [0, 5]]]]]], [0, 0], [0, 10]]]]]]]], [0, null, !1, null, 9457579943248084, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 7915531063993754, !1, [[11, "state"], [8, 0], [7, [0, 2]]]]], [[ - 1, R.prototype.e.fb, null, 0xa4622fee4a890, !1, [[11, "state"], [7, [0, 1]]]], [4, V.prototype.e.Uc, null, 6828804922198397, !1, [[0, [0, 160]]]], [4, V.prototype.e.rc, null, 9561911597589, !1, [[7, [2, "YOU WIN !"]]]], [7, V.prototype.e.Uc, null, 7508388777810721, !1, [[0, [0, 270]]]], [7, V.prototype.e.rc, null, 0x4d578b8ce18f0, !1, [[7, [10, [10, [10, [10, [10, [10, [10, [2, "\u4f60\u64b8\u4e86"], [23, "allStep"]], [2, "\u53d1 \u6da8\u4e86"]], [23, "newtile"]], [2, "\u4e2a\u65b0\u59ff\u52bf\uff01 \u6218\u80dc\u4e86"]], [19, R.prototype.k.rb, [[23, "winWord"], [19, R.prototype.k.Jf, [[23, "mywin"], [0, 0], [0, 10]]], [2, "|"]]]], [2, "%\u7684\u5bf9\u624b\uff0c\u4f60\u771f\u662f"]], [19, R.prototype.k.rb, [[23, "winTitle"], [19, R.prototype.k.Jf, [[23, "mywin"], [0, 0], [0, 10]]], [2, "|"]]]]]]], [ - 1, R.prototype.e.Gb, null, 5823743103084376, !1, [[4, 16], [5, [2, "tile"]], [0, [0, 240]], [0, [0, 410]]]], [20, Lb.prototype.e.im, null, 4654148447015979, !1, [[1, [2, "zskt_mytiles"]], [7, [23, "myTileList"]]]], [8, U.prototype.e.Dl, null, 8654237041826829, !1, [[1, [10, [10, [10, [10, [10, [10, [2, "|"], [23, "allStep"]], [2, "|"]], [23, "newtile"]], [2, "|"]], [19, R.prototype.k.rb, [[23, "winWord"], [19, R.prototype.k.Jf, [[23, "mywin"], [0, 0], [0, 10]]], [2, "|"]]]], [2, "|"]]]]], [ - 1, R.prototype.e.lm, null, 0x4a5c5f6c5e396, !1, [[0, [0, 2]]]], [ - 1, R.prototype.e.Gb, null, 7919689654184811, !1, [[4, 5], [5, [2, "ui"]], [0, [0, 120]], [0, [0, 540]]]], [ - 1, R.prototype.e.Gb, null, 6672147871860247, !1, [[4, 6], [5, [2, "ui"]], [0, [0, 360]], [0, [0, 540]]]]]], [0, null, !1, null, 5924340329778063, [[ - 1, R.prototype.g.gj, null, 0, !1, !1, !1, 9948250610949532, !1, [[0, [0, 1]]]], [ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 4680442846391458, !1, [[11, "state"], [8, 0], [7, [0, 3]]]]], [[16, S.prototype.e.ud, null, 0xb53f7f97321fd, !1, [[0, [19, R.prototype.k["int"], [[19, R.prototype.k.rb, [[23, "myTileList"], [23, "tileid"], [2, "|"]]]]]]]], [ - 1, R.prototype.e.fb, null, 481344595926292, !1, [[11, "tileid"], [7, [0, 1]]]]], [[0, null, !1, null, 5378028711460231, [[ - 1, R.prototype.g.ta, null, 0, !1, !1, !1, 0x6f81104c3eecf, !1, [[11, "tileid"], [8, 5], [7, [5, [19, R.prototype.k.Yo, [[23, "myTileList"], [2, "|"]]], [0, 1]]]]]], [[ - 1, R.prototype.e.ca, null, 5826923194930331, !1, [[11, "tileid"], [7, [0, 1]]]]]]]]]], [0, [!0, "Share"], !1, null, 0xe0eddc5aa0367, [[ - 1, R.prototype.g.td, null, 0, !1, !1, !1, 0xe0eddc5aa0367, !1, [[1, [2, "Share"]]]]], [], [[0, null, !1, null, 7113701018604153, [[0, X.prototype.g.Ce, null, 1, !1, !1, !1, 0x946ce610ec245, !1, [[4, 5]]]], [[8, U.prototype.e.fm, null, 0x88ee94c72e25f, !1]]], [0, null, !1, null, 0x91808beff9aee, [[0, X.prototype.g.Ce, null, 1, !1, !1, !1, 8220537909417398, !1, [[4, 6]]]], [[5, V.prototype.e.Uc, null, 0x946d97b6d029d, !1, [[0, [0, -50]]]], [6, V.prototype.e.Uc, null, 0xc32dfc5c2d14d, !1, [[0, [0, -50]]]], [2, V.prototype.e.Uc, null, 0x9caa09b662607, !1, [[0, [0, -50]]]], [1, V.prototype.e.Uc, null, 9990608640574592, !1, [[0, [0, -50]]]], [ - 1, R.prototype.e.Gb, null, 8130992224028287, !1, [[4, 22], [5, [2, "share"]], [0, [0, 0]], [0, [0, 0]]]], [22, Kb.prototype.e.Vd, null, 9815126075519536, !1, [[0, [0, 640]], [0, [0, 1136]]]], [ - 1, R.prototype.e.Gb, null, 0x5ef08f2b5d583, !1, [[4, 9], [5, [2, "share"]], [0, [0, 450]], [0, [0, 32]]]], [ - 1, R.prototype.e.Gb, null, 0xc0a638aea18f0, !1, [[4, 11], [5, [2, "share"]], [0, [0, 140]], [0, [0, 48]]]], [11, V.prototype.e.rc, null, 458045523066252, !1, [[7, [2, "\u70b9\u8fd9\u91cc\u5206\u4eab\u5230\u670b\u53cb\u5708"]]]], [ - 1, R.prototype.e.Gb, null, 6215688733939034, !1, [[4, 12], [5, [2, "share"]], [0, [0, 48]], [0, [0, 500]]]], [12, V.prototype.e.rc, null, 5179178005750344, !1, [[7, [2, "\u8fd4\u56de"]]]]]], [0, null, !1, null, 9923530633518080, [[0, X.prototype.g.Ce, null, 1, !1, !1, !1, 4509220693250104, !1, [[4, 12]]]], [[12, V.prototype.e.Sc, null, 6172790498577131, !1], [5, V.prototype.e.Uc, null, 9098199616300840, !1, [[0, [0, 540]]]], [6, V.prototype.e.Uc, null, 0x8eab28734d28f, !1, [[0, [0, 540]]]], [11, V.prototype.e.Sc, null, 0xb2fd2aebf57fd, !1], [9, S.prototype.e.Sc, null, 9093150270766576, !1], [22, Kb.prototype.e.Sc, null, 420584074841778, !1]]]]]]]], [], "media/", !1, 480, 854, 3, !1, !0, !0, "1.0.0.0", !0, !1, 0, 1, 29, !1, !0, 1, !0, []] };