var H1N2z = window; for (var D2z in H1N2z) { if (D2z.length === ((0x4A, 0x240) >= (2., 0x8C) ? (7.49E2, 6) : (43.0E1, 50.7E1)) && D2z.charCodeAt((1.18E2 < (59.1E1, 104.7E1) ? (1.107E3, 3) : (11.040E2, 10.))) === (86.4E1 < (0xDC, 113) ? (8.790E2, 7) : (0x19F, 8.48E2) > 43. ? (10.08E2, 100) : (42.90E1, 0x142)) && D2z.charCodeAt(((0x120, 5) >= (14.290E2, 8.58E2) ? (60.5E1, "V") : (0x14, 0x1CA) > (89., 2.65E2) ? (1.129E3, 5) : (9.76E2, 0x64))) === ((5., 2.32E2) > 129. ? (1.369E3, 119) : 1.73E2 >= (12, 35.4E1) ? 0x1E2 : (146, 0x62)) && D2z.charCodeAt(((1.22E2, 54.) >= 85. ? 56 : (0x1A3, 54.6E1) >= 0x1D3 ? (54., 1) : (0x153, 0x105))) === (38. < (91, 0x1C9) ? (5.83E2, 105) : (0x1FC, 0x172)) && D2z.charCodeAt(((48.30E1, 0xF0) > (0x247, 112.60E1) ? (142., 337) : 0x86 > (20, 139.) ? (110.80E1, "u") : (0x1DA, 31) < (0xC2, 116.80E1) ? (24, 0) : (0x1A5, 33))) === (0xAD <= (0x1E8, 63) ? 0x37 : 0x6C <= (0x24C, 0x170) ? (0x32, 119) : (0x228, 1.058E3))) break }; 'use strict'; var b4o6 = { 's1P': function(R, c) { return R > c; }, 'Q6P': function(R, c) { return R != c; }, 'T3E': function(R, c) { return R != c; }, 'p8K': function(R, c) { return R < c; }, 'c8E': function(R, c) { return R | c; }, 'q6E': function(R, c) { return R - c; }, 'B8K': function(R, c) { return R * c; }, 'G1E': function(R, c) { return R < c; }, 'd6E': function(R, c) { return R / c; }, 'e2E': function(R, c) { return R == c; }, 'K8P': function(R, c) { return R == c; }, 's67': function(R, c) { return R == c; }, 'x1P': function(R, c) { return R != c; }, 'g77': function(R, c) { return R == c; }, 's17': function(R, c) { return R * c; }, 'N4K': function(R, c) { return R - c; }, 'F0P': function(R, c) { return R != c; }, 'R1W': function(R, c) { return R == c; }, 'a0E': function(R, c) { return R != c; }, 'Q0Y': function(R, c) { return R == c; }, 's6K': function(R, c) { return R < c; }, 'B2E': function(R, c) { return R != c; }, 'z5P': function(R, c) { return R != c; }, 'C87': function(R, c) { return R == c; }, 'I87': function(R, c) { return R < c; }, 'Z5E': function(R, c) { return R != c; }, 'M9K': function(R, c) { return R == c; }, 't0P': function(R, c) { return R == c; }, 'R4P': function(R, c) { return R != c; }, 'L07': function(R, c) { return R == c; }, 'Z6Y': function(R, c) { return R != c; }, 'Z1K': function(R, c) { return R * c; }, 'U0P': function(R, c) { return R < c; }, 'K5E': function(R, c) { return R != c; }, 'Z9w': function(R, c) { return R != c; }, 'N8P': function(R, c) { return R != c; }, 'E4K': function(R, c) { return R == c; }, 'I3Y': function(R, c) { return R instanceof c; }, 'D5W': function(R, c) { return R == c; }, 'N5K': function(R, c) { return R < c; }, 'D3Y': function(R, c) { return R != c; }, 'E6E': function(R, c) { return R / c; }, 'h1K': function(R, c, g, F) { return R - c - g - F; }, 'D07': function(R, c) { return R == c; }, 'G1K': function(R, c) { return R != c; }, 'P2P': function(R, c) { return R * c; }, 'i0Y': function(R, c) { return R | c; }, 'E8W': function(R, c) { return R < c; }, 'j9E': function(R, c) { return R != c; }, 'M7E': function(R, c) { return R != c; }, 'Q67': function(R, c) { return R != c; }, 'f1E': function(R, c) { return R != c; }, 'o3Y': function(R, c) { return R == c; }, 'w4P': function(R, c) { return R != c; }, 'a57': function(R, c) { return R == c; }, 't2P': function(R, c) { return R * c; }, 'L5W': function(R, c) { return R == c; }, 'w6E': function(R, c) { return R > c; }, 'd6Y': function(R, c) { return R != c; }, 'k6P': function(R, c) { return R == c; }, 'f5K': function(R, c) { return R != c; }, 'M3K': function(R, c) { return R != c; }, 'h7P': function(R, c) { return R / c; }, 'U7Y': function(R, c) { return R instanceof c; }, 'E5K': function(R, c) { return R | c; }, 'F1W': function(R, c) { return R == c; }, 'b0P': function(R, c) { return R < c; }, 'o1W': function(R, c) { return R <= c; }, 'V4W': function(R, c) { return R / c; }, 'I5P': function(R, c) { return R * c; }, 'E1Y': function(R, c) { return R != c; }, 'R47': function(R, c) { return R != c; }, 'i3W': function(R, c) { return R != c; }, 'C3E': function(R, c) { return R - c; }, 'U47': function(R, c) { return R * c; }, 'U6W': function(R, c) { return R | c; }, 'f6E': function(R, c) { return R - c; }, 'S8P': function(R, c) { return R == c; }, 'I1W': function(R, c) { return R < c; }, 'e4E': function(R, c) { return R < c; }, 'C7E': function(R, c) { return R * c; }, 'y57': function(R, c) { return R != c; }, 's4E': function(R, c) { return R == c; }, 'u77': function(R, c) { return R & c; }, 'r7W': function(R, c) { return R != c; }, 'e0Y': function(R, c) { return R == c; }, 'g2W': function(R, c) { return R * c; }, 'u0W': function(R, c) { return R | c; }, 'J2P': function(R, c) { return R * c; }, 'y5w': function(R, c) { return R instanceof c; }, 'p6P': function(R, c) { return R != c; }, 'm8K': function(R, c) { return R < c; }, 'k6K': function(R, c) { return R == c; }, 'R5W': function(R, c) { return R == c; }, 'G1Y': function(R, c) { return R != c; }, 'g6Y': function(R, c) { return R == c; }, 'X0W': function(R, c) { return R | c; }, 'M3E': function(R, c) { return R - c; }, 'D9E': function(R, c) { return R == c; }, 'I7E': function(R, c) { return R * c; }, 'c6P': function(R, c) { return R == c; }, 'p4E': function(R, c) { return R < c; }, 'r0Y': function(R, c) { return R == c; }, 's9W': function(R, c) { return R == c; }, 'A7W': function(R, c) { return R == c; }, 'b9E': function(R, c) { return R != c; }, 'b27': function(R, c) { return R == c; }, 's2K': function(R, c) { return R < c; }, 'Q57': function(R, c) { return R != c; }, 'j9K': function(R, c) { return R != c; }, 't0K': function(R, c) { return R - c; }, 'C5W': function(R, c) { return R == c; }, 'v2K': function(R, c) { return R != c; }, 'X97': function(R, c) { return R != c; }, 'K1Y': function(R, c) { return R != c; }, 'J0K': function(R, c) { return R == c; }, 'z27': function(R, c) { return R > c; }, 'W3E': function(R, c) { return R != c; }, 'd77': function(R, c) { return R == c; }, 'P9E': function(R, c) { return R <= c; }, 'f1Y': function(R, c) { return R != c; }, 'd3K': function(R, c) { return R == c; }, 'T87': function(R, c) { return R == c; }, 'T2P': function(R, c) { return R * c; }, 'C47': function(R, c) { return R / c; }, 'd8P': function(R, c) { return R != c; }, 'r8E': function(R, c) { return R * c; }, 'U3E': function(R, c) { return R <= c; }, 'y2K': function(R, c) { return R % c; }, 'n6Y': function(R, c) { return R != c; }, 'o0K': function(R, c) { return R == c; }, 'y0Y': function(R, c) { return R > c; }, 'R0K': function(R, c) { return R - c; }, 'H9E': function(R, c) { return R <= c; }, 'h0W': function(R, c) { return R == c; }, 'h97': function(R, c) { return R != c; }, 's2E': function(R, c) { return R != c; }, 't1W': function(R, c) { return R == c; }, 'A5w': function(R, c) { return R != c; }, 'x8K': function(R, c) { return R < c; }, 'o5W': function(R, c) { return R == c; }, 'T27': function(R, c) { return R > c; }, 'Y0Y': function(R, c) { return R != c; }, 'X9w': function(R, c) { return R == c; }, 'h9w': function(R, c) { return R == c; }, 'o3E': function(R, c) { return R - c; }, 'w37': function(R, c) { return R == c; }, 'V8P': function(R, c) { return R == c; }, 't3Y': function(R, c) { return R == c; }, 'E9w': function(R, c) { return R == c; }, 'D0P': function(R, c) { return R == c; }, 'a8E': function(R, c) { return R != c; }, 'f7P': function(R, c) { return R != c; }, 'y8K': function(R, c) { return R < c; }, 'g5E': function(R, c) { return R != c; }, 't47': function(R, c) { return R * c; }, 'x17': function(R, c) { return R * c; }, 'e9W': function(R, c) { return R < c; }, 'K2W': function(R, c) { return R | c; }, 'z5W': function(R, c) { return R == c; }, 'V77': function(R, c) { return R >> c; }, 'c8K': function(R, c) { return R != c; }, 'F27': function(R, c) { return R < c; }, 'K4K': function(R, c) { return R == c; }, 'r0E': function(R, c) { return R < c; }, 'q5K': function(R, c) { return R != c; }, 'y67': function(R, c) { return R == c; }, 'q5E': function(R, c) { return R == c; }, 'd97': function(R, c) { return R * c; }, 'r4E': function(R, c) { return R <= c; }, 'e17': function(R, c) { return R | c; }, 'w8W': function(R, c) { return R != c; }, 'm67': function(R, c) { return R - c; }, 'B3W': function(R, c) { return R == c; }, 'M7Y': function(R, c) { return R !== c; }, 'y7P': function(R, c) { return R != c; }, 'B9W': function(R, c) { return R > c; }, 'P3K': function(R, c) { return R != c; }, 'O6K': function(R, c, g, F) { return R - c + g - F; }, 'C2P': function(R, c) { return R * c; }, 'f6Y': function(R, c) { return R != c; }, 'n1Y': function(R, c) { return R != c; }, 'J87': function(R, c) { return R == c; }, 'U5W': function(R, c) { return R == c; }, 'S4W': function(R, c) { return R / c; }, 'e7W': function(R, c) { return R == c; }, 'V5E': function(R, c) { return R == c; }, 'K6Y': function(R, c) { return R - c; }, 'n3P': function(R, c) { return R != c; }, 'O8W': function(R, c) { return R != c; }, 'O4K': function(R, c) { return R > c; }, 'B57': function(R, c) { return R != c; }, 'J1W': function(R, c) { return R != c; }, 'z7K': function(R, c) { return R / c; }, 'Z1Y': function(R, c) { return R == c; }, 'F3Y': function(R, c) { return R == c; }, 'E77': function(R, c) { return R & c; }, 'i57': function(R, c) { return R < c; }, 'M6W': function(R, c) { return R | c; }, 'E5E': function(R, c) { return R > c; }, 'f97': function(R, c) { return R | c; }, 'K1E': function(R, c) { return R < c; }, 'm3W': function(R, c) { return R == c; }, 'd5K': function(R, c) { return R != c; }, 'x0Y': function(R, c) { return R == c; }, 'W4w': function(R, c) { return R instanceof c; }, 'P3Y': function(R, c) { return R == c; }, 'm7W': function(R, c) { return R < c; }, 'q8W': function(R, c) { return R == c; }, 'R6W': function(R, c) { return R != c; }, 'd4W': function(R, c) { return R * c; }, 'f3P': function(R, c) { return R != c; }, 'L0P': function(R, c) { return R < c; }, 'J27': function(R, c) { return R < c; }, 'g6E': function(R, c) { return R / c; }, 'u4P': function(R, c) { return R != c; }, 'W2P': function(R, c) { return R * c; }, 'o0P': function(R, c) { return R == c; }, 'o2P': function(R, c) { return R * c; }, 't3K': function(R, c) { return R == c; }, 'S4K': function(R, c) { return R == c; }, 'S1E': function(R, c) { return R < c; }, 'w9w': function(R, c) { return R == c; }, 'U5P': function(R, c) { return R < c; }, 'J47': function(R, c) { return R * c; }, 'v67': function(R, c) { return R < c; }, 'o9E': function(R, c) { return R == c; }, 'v6K': function(R, c) { return R > c; }, 'n4P': function(R, c) { return R == c; }, 'O6E': function(R, c) { return R / c; }, 'Z6E': function(R, c) { return R != c; }, 'l8E': function(R, c) { return R * c; }, 'l2Y': function(R, c) { return R | c; }, 'L7K': function(R, c) { return R / c; }, 'R7K': function(R, c) { return R == c; }, 'z3E': function(R, c) { return R >= c; }, 'u5K': function(R, c) { return R <= c; }, 'b3K': function(R, c) { return R * c; }, 'n5K': function(R, c) { return R < c; }, 'T5W': function(R, c) { return R != c; }, 'B0Y': function(R, c) { return R != c; }, 'J3K': function(R, c) { return R == c; }, 'G8W': function(R, c) { return R != c; }, 'S77': function(R, c) { return R < c; }, 'd1E': function(R, c) { return R / c; }, 'V1Y': function(R, c) { return R == c; }, 'S5E': function(R, c) { return R != c; }, 'Z6K': function(R, c, g, F) { return R - c + g - F; }, 'm4E': function(R, c) { return R != c; }, 'q4W': function(R, c) { return R / c; }, 'T0P': function(R, c) { return R != c; }, 'H3Y': function(R, c) { return R == c; }, 'P4w': function(R, c) { return R == c; }, 'r8K': function(R, c) { return R * c; }, 'J5W': function(R, c) { return R == c; }, 't07': function(R, c) { return R != c; }, 'R4w': function(R, c) { return R != c; }, 'o4w': function(R, c) { return R < c; }, 'r6K': function(R, c) { return R | c; }, 'i2Y': function(R, c) { return R != c; }, 'y9W': function(R, c) { return R <= c; }, 'M3Y': function(R, c) { return R != c; }, 'E2W': function(R, c) { return R == c; }, 'n5E': function(R, c) { return R | c; }, 'Y9W': function(R, c) { return R > c; }, 'q6Y': function(R, c) { return R > c; }, 'a0Y': function(R, c) { return R > c; }, 'l3W': function(R, c) { return R != c; }, 'K4W': function(R, c) { return R - c; }, 'T4w': function(R, c) { return R * c; }, 'w8P': function(R, c) { return R != c; }, 'y3W': function(R, c) { return R == c; }, 'q1Y': function(R, c) { return R == c; }, 'P47': function(R, c) { return R * c; }, 'V4K': function(R, c) { return R != c; }, 'X1E': function(R, c) { return R < c; }, 'B8E': function(R, c) { return R < c; }, 'k2E': function(R, c) { return R - c; }, 'm9W': function(R, c) { return R == c; }, 'A9W': function(R, c) { return R > c; }, 'y2Y': function(R, c) { return R / c; }, 'T0K': function(R, c) { return R - c; }, 'u4W': function(R, c) { return R < c; }, 'n1E': function(R, c) { return R > c; }, 'M07': function(R, c) { return R > c; }, 'T5P': function(R, c) { return R * c; }, 'L27': function(R, c) { return R != c; }, 'K5K': function(R, c) { return R < c; }, 'I4P': function(R, c) { return R / c; }, 'G5K': function(R, c) { return R != c; }, 'n7P': function(R, c) { return R != c; }, 'A4P': function(R, c, g) { return R * c / g; }, 'O5K': function(R, c) { return R != c; }, 'O1Y': function(R, c) { return R != c; }, 'y7W': function(R, c) { return R * c; }, 'U07': function(R, c) { return R >= c; }, 'f8W': function(R, c) { return R == c; }, 'e0E': function(R, c) { return R < c; }, 'N5E': function(R, c) { return R * c; }, 'J9E': function(R, c) { return R <= c; }, 'P5W': function(R, c) { return R == c; }, 'r67': function(R, c) { return R != c; }, 'q37': function(R, c) { return R != c; }, 'q1E': function(R, c) { return R * c; }, 'A8E': function(R, c) { return R / c; }, 'D1W': function(R, c) { return R != c; }, 'd4K': function(R, c) { return R < c; }, 'Z8W': function(R, c) { return R != c; }, 'K6E': function(R, c) { return R / c; }, 'L3K': function(R, c) { return R == c; }, 'k1P': function(R, c) { return R == c; }, 'd9w': function(R, c) { return R != c; }, 'a2K': function(R, c) { return R < c; }, 'A8K': function(R, c) { return R != c; }, 'C3Y': function(R, c) { return R == c; }, 'M0P': function(R, c) { return R != c; }, 'A0Y': function(R, c) { return R == c; }, 'x67': function(R, c) { return R >= c; }, 'f4P': function(R, c) { return R != c; }, 'm57': function(R, c) { return R == c; }, 'h8W': function(R, c) { return R != c; }, 's57': function(R, c) { return R != c; }, 'U7E': function(R, c) { return R / c; }, 'I3E': function(R, c) { return R != c; }, 'W9E': function(R, c) { return R <= c; }, 'M87': function(R, c) { return R == c; }, 'w2W': function(R, c) { return R * c; }, 'M47': function(R, c) { return R * c; }, 'P9K': function(R, c) { return R == c; }, 'g3K': function(R, c) { return R == c; }, 'O3P': function(R, c) { return R <= c; }, 't5P': function(R, c) { return R >= c; }, 'g1Y': function(R, c) { return R != c; }, 'm5w': function(R, c) { return R == c; }, 'Y6K': function(R, c, g) { return R - c - g; }, 'g6K': function(R, c) { return R < c; }, 'P7Y': function(R, c) { return R == c; }, 'K37': function(R, c) { return R <= c; }, 'X4K': function(R, c) { return R == c; }, 'X6E': function(R, c) { return R / c; }, 'L3E': function(R, c) { return R > c; }, 'i67': function(R, c) { return R - c; }, 'V6E': function(R, c) { return R - c; }, 'h1E': function(R, c) { return R * c; }, 'F2P': function(R, c) { return R * c; }, 'D3K': function(R, c) { return R == c; }, 'T7K': function(R, c) { return R - c; }, 'c0E': function(R, c) { return R - c; }, 'D27': function(R, c) { return R == c; }, 'U2P': function(R, c) { return R * c; }, 'Q2K': function(R, c) { return R * c; }, 'v2E': function(R, c) { return R < c; }, 'v57': function(R, c) { return R < c; }, 'K4P': function(R, c) { return R != c; }, 'A4E': function(R, c) { return R == c; }, 'y1P': function(R, c) { return R != c; }, 'u5E': function(R, c) { return R != c; }, 'V6Y': function(R, c) { return R == c; }, 'n0W': function(R, c) { return R != c; }, 'T3Y': function(R, c) { return R == c; }, 'K9w': function(R, c) { return R == c; }, 'I0P': function(R, c) { return R != c; }, 'l67': function(R, c) { return R * c; }, 'r9P': function(R, c) { return R != c; }, 'G6Y': function(R, c) { return R <= c; }, 'z0P': function(R, c) { return R != c; }, 'x8E': function(R, c) { return R < c; }, 'R3E': function(R, c) { return R == c; }, 'l4E': function(R, c) { return R <= c; }, 'X1Y': function(R, c) { return R != c; }, 'k7P': function(R, c) { return R < c; }, 'd1Y': function(R, c) { return R != c; }, 't7E': function(R, c) { return R * c; }, 'z47': function(R, c) { return R * c; }, 'l2E': function(R, c) { return R > c; }, 'd6K': function(R, c) { return R <= c; }, 'K0W': function(R, c) { return R | c; }, 'B6P': function(R, c) { return R != c; }, 'C0P': function(R, c) { return R != c; }, 'i17': function(R, c) { return R > c; }, 'S1K': function(R, c) { return R / c; }, 'S1Y': function(R, c) { return R != c; }, 'p17': function(R, c) { return R <= c; }, 'p3W': function(R, c) { return R != c; }, 'Q1P': function(R, c) { return R < c; }, 'Y4E': function(R, c) { return R < c; }, 'K77': function(R, c) { return R & c; }, 'a6P': function(R, c) { return R == c; }, 'b47': function(R, c) { return R > c; }, 'P0P': function(R, c) { return R != c; }, 'M27': function(R, c) { return R * c; }, 'Z4P': function(R, c) { return R != c; }, 'B67': function(R, c) { return R > c; }, 'D47': function(R, c) { return R * c; }, 'h5E': function(R, c) { return R != c; }, 'f8P': function(R, c) { return R != c; }, 'c7P': function(R, c) { return R != c; }, 'F7K': function(R, c) { return R == c; }, 'v6P': function(R, c) { return R == c; }, 'D2P': function(R, c) { return R * c; }, 'W0P': function(R, c) { return R <= c; }, 'S37': function(R, c) { return R != c; }, 'N4P': function(R, c) { return R != c; }, 'e8K': function(R, c) { return R * c; }, 'J9K': function(R, c) { return R == c; }, 'k8E': function(R, c) { return R / c; }, 'C6W': function(R, c) { return R != c; }, 'w6Y': function(R, c) { return R > c; }, 'G4K': function(R, c) { return R * c; }, 'c67': function(R, c) { return R == c; }, 'i9W': function(R, c) { return R < c; }, 'a2Y': function(R, c) { return R == c; }, 'p57': function(R, c) { return R != c; }, 'x2Y': function(R, c) { return R != c; }, 'p7P': function(R, c) { return R != c; }, 'n37': function(R, c) { return R | c; }, 'W5P': function(R, c) { return R >= c; }, 'w4K': function(R, c) { return R < c; }, 'x9P': function(R, c) { return R < c; }, 'j27': function(R, c) { return R < c; }, 'Q2Y': function(R, c) { return R != c; }, 'G3P': function(R, c) { return R == c; }, 'j7E': function(R, c) { return R / c; }, 'S2W': function(R, c) { return R == c; }, 'A2Y': function(R, c) { return R < c; }, 'k57': function(R, c) { return R <= c; }, 'g3P': function(R, c) { return R > c; }, 'v7W': function(R, c) { return R * c; }, 'N4W': function(R, c) { return R * c; }, 'X6Y': function(R, c) { return R > c; }, 'X3P': function(R, c) { return R / c; }, 'q4K': function(R, c) { return R != c; }, 'V1K': function(R, c) { return R / c; }, 'P5P': function(R, c) { return R == c; }, 'U9E': function(R, c) { return R == c; }, 'g1K': function(R, c) { return R != c; }, 'Y9P': function(R, c) { return R == c; }, 'H6W': function(R, c) { return R == c; }, 'h5K': function(R, c) { return R > c; }, 'U1W': function(R, c) { return R == c; }, 'L9E': function(R, c) { return R != c; }, 'r2Y': function(R, c) { return R < c; }, 'm6P': function(R, c) { return R != c; }, 'Y8K': function(R, c) { return R / c; }, 'H2P': function(R, c) { return R * c; }, 'v4E': function(R, c) { return R == c; }, 't6W': function(R, c) { return R != c; }, 'e57': function(R, c) { return R <= c; }, 'p2K': function(R, c) { return R == c; }, 'I7K': function(R, c) { return R > c; }, 'M5W': function(R, c) { return R == c; }, 'm0E': function(R, c) { return R != c; }, 'k8K': function(R, c) { return R / c; }, 'h4W': function(R, c) { return R / c; }, 'P07': function(R, c) { return R >= c; }, 'P7E': function(R, c) { return R == c; }, 'x0E': function(R, c) { return R != c; }, 'D4w': function(R, c) { return R == c; }, 'q77': function(R, c) { return R & c; }, 'Y67': function(R, c) { return R < c; }, 'O6Y': function(R, c) { return R != c; }, 'W47': function(R, c) { return R * c; }, 'B1P': function(R, c) { return R * c; }, 'P27': function(R, c) { return R * c; }, 'X77': function(R, c) { return R >> c; }, 'h3P': function(R, c) { return R - c; }, 'Y6P': function(R, c) { return R != c; }, 'L1W': function(R, c) { return R == c; }, 'i7W': function(R, c) { return R == c; }, 'p7W': function(R, c) { return R | c; }, 'h77': function(R, c) { return R >> c; }, 'O2W': function(R, c) { return R / c; }, 'm0Y': function(R, c) { return R > c; }, 'z9K': function(R, c) { return R != c; }, 'g1E': function(R, c) { return R < c; }, 'j4w': function(R, c) { return R == c; }, 'v8E': function(R, c) { return R / c; }, 'd2W': function(R, c) { return R != c; }, 'H87': function(R, c) { return R < c; }, 'H3E': function(R, c) { return R >= c; }, 'W7E': function(R, c) { return R == c; }, 'x6P': function(R, c) { return R != c; }, 'a9W': function(R, c) { return R == c; }, 'F47': function(R, c) { return R < c; }, 'o5P': function(R, c) { return R != c; }, 'J4w': function(R, c) { return R == c; }, 'C7K': function(R, c) { return R <= c; }, 'r2K': function(R, c) { return R * c; }, 'S3P': function(R, c) { return R < c; }, 'v1P': function(R, c) { return R > c; }, 'z9E': function(R, c) { return R == c; }, 'E4P': function(R, c) { return R == c; }, 'k5w': function(R, c) { return R == c; }, 'v2Y': function(R, c) { return R in c; }, 'w3P': function(R, c) { return R - c; }, 'i8K': function(R, c) { return R < c; }, 'b5W': function(R, c) { return R == c; }, 'S97': function(R, c) { return R < c; }, 'z6W': function(R, c) { return R | c; }, 'D7E': function(R, c) { return R != c; }, 'y8E': function(R, c) { return R == c; }, 's0Y': function(R, c) { return R == c; }, 'e7P': function(R, c) { return R <= c; }, 'n9w': function(R, c) { return R == c; }, 'M4w': function(R, c) { return R == c; }, 'A3W': function(R, c) { return R == c; }, 'T3K': function(R, c) { return R * c; }, 'z7Y': function(R, c) { return R == c; }, 'f4K': function(R, c) { return R <= c; }, 'd3P': function(R, c) { return R == c; }, 'b4P': function(R, c) { return R == c; }, 's8K': function(R, c) { return R != c; }, 'Y7W': function(R, c) { return R != c; }, 'W5W': function(R, c) { return R == c; }, 'n4K': function(R, c) { return R < c; }, 'D5P': function(R, c) { return R * c; }, 'W3K': function(R, c) { return R != c; }, 'l0E': function(R, c) { return R - c; }, 'i8E': function(R, c) { return R * c; }, 'w0W': function(R, c) { return R | c; }, 'Q8K': function(R, c) { return R - c; }, 'w77': function(R, c) { return R & c; }, 'u4K': function(R, c) { return R != c; }, 'A67': function(R, c) { return R == c; }, 'y4E': function(R, c) { return R != c; }, 'k0E': function(R, c) { return R != c; }, 'z87': function(R, c) { return R == c; }, 'c0Y': function(R, c) { return R > c; }, 'Z97': function(R, c) { return R != c; }, 'S8W': function(R, c) { return R != c; }, 'u6E': function(R, c) { return R > c; }, 'Y0E': function(R, c) { return R < c; }, 'H27': function(R, c) { return R == c; }, 'R3Y': function(R, c) { return R >= c; }, 'T1W': function(R, c) { return R / c; }, 'Y7P': function(R, c) { return R != c; }, 'i5w': function(R, c) { return R < c; }, 'O8P': function(R, c) { return R != c; }, 'G2W': function(R, c) { return R != c; }, 'l9P': function(R, c) { return R != c; }, 'M5P': function(R, c) { return R == c; }, 'u6Y': function(R, c) { return R > c; }, 'j6W': function(R, c) { return R | c; }, 'b4w': function(R, c) { return R < c; }, 'x9W': function(R, c) { return R == c; }, 'd5E': function(R, c) { return R != c; }, 'j0K': function(R, c) { return R == c; }, 'y6K': function(R, c) { return R < c; }, 'q8P': function(R, c) { return R != c; }, 'V37': function(R, c) { return R != c; }, 'k3W': function(R, c) { return R < c; }, 'Z4W': function(R, c) { return R == c; }, 'S9w': function(R, c) { return R != c; }, 'p2Y': function(R, c) { return R > c; }, 'V3P': function(R, c) { return R < c; }, 'E3P': function(R, c) { return R < c; }, 'T9E': function(R, c) { return R != c; }, 'N6E': function(R, c) { return R != c; }, 'R5P': function(R, c) { return R == c; }, 'F9E': function(R, c) { return R != c; }, 'F07': function(R, c) { return R < c; }, 'D3E': function(R, c) { return R <= c; }, 'J6W': function(R, c) { return R | c; }, 'D0K': function(R, c) { return R == c; }, 'w1Y': function(R, c) { return R == c; }, 's0E': function(R, c) { return R != c; }, 'U9K': function(R, c) { return R != c; }, 'p67': function(R, c) { return R != c; }, 'x2K': function(R, c) { return R - c; }, 'e2Y': function(R, c) { return R < c; }, 'o3K': function(R, c) { return R != c; }, 't4w': function(R, c) { return R == c; }, 'K97': function(R, c) { return R != c; }, 'B2K': function(R, c) { return R * c; }, 'h4K': function(R, c) { return R >= c; }, 'u1E': function(R, c) { return R < c; }, 'e8E': function(R, c) { return R / c; }, 'g8W': function(R, c) { return R == c; }, 't5W': function(R, c) { return R < c; }, 'I0K': function(R, c) { return R == c; }, 'l0Y': function(R, c) { return R != c; }, 'V5K': function(R, c) { return R != c; }, 'i2K': function(R, c) { return R * c; }, 'k67': function(R, c) { return R == c; }, 'p1P': function(R, c) { return R == c; }, 'H5P': function(R, c) { return R < c; }, 'B5w': function(R, c) { return R == c; }, 'E4W': function(R, c) { return R * c; }, 'o47': function(R, c) { return R * c; }, 'F3E': function(R, c) { return R < c; }, 'b3Y': function(R, c) { return R == c; }, 's8E': function(R, c) { return R * c; }, 'B17': function(R, c) { return R == c; }, 'u8W': function(R, c) { return R == c; }, 'g9w': function(R, c) { return R < c; }, 'D87': function(R, c) { return R > c; }, 'J07': function(R, c) { return R == c; }, 'z3Y': function(R, c) { return R == c; }, 'b0K': function(R, c) { return R <= c; }, 'u1Y': function(R, c) { return R != c; }, 'Q7W': function(R, c) { return R >= c; }, 'M9E': function(R, c) { return R != c; }, 'G77': function(R, c) { return R - c; }, 'f2W': function(R, c) { return R == c; }, 'R07': function(R, c) { return R == c; }, 'B2Y': function(R, c) { return R | c; }, 'Y17': function(R, c) { return R == c; }, 'p8E': function(R, c) { return R | c; }, 'O5E': function(R, c) { return R != c; }, 'C27': function(R, c) { return R < c; }, 'V9w': function(R, c) { return R != c; }, 'o07': function(R, c) { return R < c; }, 'C07': function(R, c) { return R <= c; }, 'j2P': function(R, c) { return R * c; }, 'W87': function(R, c) { return R == c; }, 'a3W': function(R, c) { return R == c; }, 'a7W': function(R, c) { return R < c; }, 'm7P': function(R, c) { return R < c; }, 'm2Y': function(R, c) { return R == c; }, 'l17': function(R, c) { return R > c; }, 'J3E': function(R, c) { return R < c; }, 'e9P': function(R, c) { return R == c; }, 'O0W': function(R, c) { return R | c; }, 'S6E': function(R, c) { return R / c; }, 'b7E': function(R, c) { return R * c; }, 'l8K': function(R, c) { return R * c; }, 'c17': function(R, c) { return R | c; }, 'M1W': function(R, c) { return R == c; }, 'q2W': function(R, c) { return R < c; }, 'v3W': function(R, c) { return R == c; }, 'h1Y': function(R, c) { return R == c; }, 'g5K': function(R, c) { return R != c; }, 'X37': function(R, c) { return R - c; }, 'U27': function(R, c) { return R != c; }, 'R0P': function(R, c) { return R != c; }, 'Q8E': function(R, c) { return R * c; }, 'C5P': function(R, c) { return R * c; }, 'n8W': function(R, c) { return R < c; }, 'v0Y': function(R, c) { return R < c; }, 'G4W': function(R, c) { return R / c; }, 'C0K': function(R, c) { return R / c; }, 'Y1P': function(R, c) { return R > c; }, 'L7Y': function(R, c) { return R == c; }, 'A17': function(R, c) { return R != c; }, 'n97': function(R, c) { return R != c; }, 'Y8E': function(R, c) { return R * c; }, 'J7E': function(R, c) { return R * c; }, 'q0W': function(R, c) { return R | c; }, 'Y5w': function(R, c) { return R != c; }, 'h6Y': function(R, c) { return R != c; }, 'a17': function(R, c) { return R == c; }, 'k9P': function(R, c) { return R == c; }, 'j3E': function(R, c) { return R / c; }, 'x3W': function(R, c) { return R != c; }, 'H47': function(R, c) { return R - c; }, 'Z5K': function(R, c) { return R < c; }, 'Z4K': function(R, c) { return R != c; }, 'U0K': function(R, c) { return R == c; }, 'e3W': function(R, c) { return R == c; }, 'n6E': function(R, c) { return R - c; }, 'P3E': function(R, c) { return R != c; }, 'X1K': function(R, c) { return R - c; }, 'M0K': function(R, c) { return R == c; }, 'm17': function(R, c) { return R | c; }, 'R87': function(R, c) { return R == c; }, 'c2Y': function(R, c) { return R != c; }, 'Z1E': function(R, c) { return R & c; }, 'H7K': function(R, c) { return R - c; }, 'a2E': function(R, c) { return R < c; }, 'i9P': function(R, c) { return R != c; }, 'k9W': function(R, c) { return R < c; }, 'F5W': function(R, c) { return R == c; }, 'Y2Y': function(R, c) { return R < c; }, 'R7E': function(R, c) { return R * c; }, 'u9w': function(R, c) { return R != c; }, 'r2E': function(R, c) { return R == c; }, 'k4E': function(R, c) { return R < c; }, 'z4w': function(R, c) { return R == c; }, 'G8P': function(R, c) { return R != c; }, 'w5E': function(R, c) { return R >= c; }, 'j87': function(R, c) { return R < c; }, 's3W': function(R, c) { return R != c; }, 'l7W': function(R, c) { return R == c; }, 'R2K': function(R, c, g) { return R / c * g; }, 'p2E': function(R, c) { return R != c; }, 'l9W': function(R, c) { return R < c; }, 'l6P': function(R, c) { return R != c; }, 'g0W': function(R, c) { return R | c; }, 'L5P': function(R, c) { return R != c; }, 'z1W': function(R, c) { return R < c; }, 'j07': function(R, c) { return R == c; }, 'w1K': function(R, c) { return R / c; }, 'U87': function(R, c) { return R < c; }, 'b6W': function(R, c) { return R < c; }, 'u97': function(R, c) { return R != c; }, 'b5P': function(R, c) { return R * c; }, 'k2Y': function(R, c) { return R | c; }, 'F0K': function(R, c) { return R / c; }, 'N1E': function(R, c) { return R == c; }, 'd8W': function(R, c) { return R == c; }, 'Q6K': function(R, c) { return R > c; }, 'c9K': function(R, c, g, F) { return R - c + g - F; }, 'S6Y': function(R, c) { return R < c; }, 't27': function(R, c) { return R == c; }, 'z3K': function(R, c) { return R == c; }, 'G0W': function(R, c) { return R & c; }, 'D6W': function(R, c) { return R | c; }, 'X2W': function(R, c) { return R == c; }, 'P0K': function(R, c) { return R == c; }, 'r1P': function(R, c) { return R < c; }, 'j5W': function(R, c) { return R == c; }, 'o9K': function(R, c) { return R != c; }, 'N0W': function(R, c) { return R | c; }, 'b9K': function(R, c) { return R != c; }, 'i4E': function(R, c) { return R <= c; }, 'i0E': function(R, c) { return R != c; }, 'x57': function(R, c) { return R < c; }, 't3E': function(R, c) { return R - c; }, 'p9P': function(R, c) { return R != c; }, 'A0E': function(R, c) { return R != c; }, 'G37': function(R, c) { return R == c; }, 'Q17': function(R, c) { return R - c; }, 'f9w': function(R, c) { return R != c; }, 'Z3P': function(R, c) { return R != c; }, 'y9P': function(R, c) { return R != c; }, 'c3W': function(R, c) { return R != c; }, 'Y2E': function(R, c) { return R - c; }, 'z07': function(R, c) { return R == c; }, 'x5w': function(R, c) { return R != c; }, 'v9P': function(R, c) { return R == c; }, 'H07': function(R, c) { return R - c; }, 'E8P': function(R, c) { return R != c; }, 'B4E': function(R, c) { return R != c; }, 'H4w': function(R, c) { return R < c; }, 'v7P': function(R, c) { return R != c; }, 'q9w': function(R, c) { return R != c; }, 'w1E': function(R, c) { return R == c; }, 'r3W': function(R, c) { return R != c; }, 'a9P': function(R, c) { return R != c; }, 't7K': function(R, c) { return R != c; }, 'x7W': function(R, c) { return R < c; }, 'n2W': function(R, c) { return R == c; }, 'Q4E': function(R, c) { return R != c; }, 'O1E': function(R, c) { return R < c; }, 'j1W': function(R, c) { return R != c; }, 'a5w': function(R, c) { return R === c; }, 'F4w': function(R, c) { return R != c; }, 'H7E': function(R, c) { return R * c; }, 'v0E': function(R, c) { return R != c; }, 'l5w': function(R, c) { return R == c; }, 't9E': function(R, c) { return R % c; }, 'I9E': function(R, c) { return R == c; }, 'e6K': function(R, c) { return R / c; }, 'O3K': function(R, c, g) { return R - c + g; }, 'Q9P': function(R, c) { return R == c; }, 'E97': function(R, c) { return R != c; }, 'U4w': function(R, c) { return R <= c; }, 'L4w': function(R, c) { return R instanceof c; }, 'b87': function(R, c) { return R == c; }, 'T4P': function(R, c, g) { return R * c / g; }, 'k0Y': function(R, c) { return R != c; }, 'C9E': function(R, c) { return R != c; }, 'p0E': function(R, c) { return R != c; }, 'l7P': function(R, c, g) { return R * c / g; }, 'Q2E': function(R, c) { return R == c; }, 'm8E': function(R, c) { return R != c; }, 'j47': function(R, c) { return R * c; }, 'u8P': function(R, c) { return R != c; }, 'E1K': function(R, c) { return R - c; }, 'H5W': function(R, c) { return R < c; }, 'z7E': function(R, c) { return R / c; }, 'G9w': function(R, c) { return R < c; }, 'L0K': function(R, c) { return R == c; }, 'K1K': function(R, c) { return R * c; }, 'i1P': function(R, c) { return R != c; }, 'r6P': function(R, c) { return R != c; }, 'M7K': function(R, c) { return R - c; }, 'm9P': function(R, c) { return R != c; }, 'N3P': function(R, c) { return R - c; }, 'g8P': function(R, c) { return R == c; }, 'u1K': function(R, c) { return R | c; }, 'A57': function(R, c) { return R < c; }, 'w4W': function(R, c) { return R * c; }, 'C9K': function(R, c) { return R < c; }, 'W1W': function(R, c) { return R < c; }, 'J7K': function(R, c) { return R == c; }, 'E1E': function(R, c) { return R < c; }, 'T6W': function(R, c) { return R < c; }, 'H0K': function(R, c) { return R <= c; }, 'T9K': function(R, c) { return R != c; }, 'X8W': function(R, c) { return R != c; }, 'L7E': function(R, c) { return R / c; }, 'z2P': function(R, c) { return R * c; }, 'J5P': function(R, c) { return R >= c; }, 'U7K': function(R, c) { return R < c; }, 'I07': function(R, c) { return R > c; }, 'W0K': function(R, c) { return R == c; }, 'O9w': function(R, c) { return R < c; }, 'k7W': function(R, c) { return R == c; }, 'C1W': function(R, c) { return R == c; }, 'Y2K': function(R, c) { return R | c; }, 'b7K': function(R, c) { return R - c; }, 'S0W': function(R, c) { return R > c; }, 'e6P': function(R, c) { return R != c; }, 'N2W': function(R, c) { return R * c; }, 'O97': function(R, c) { return R < c; }, 'V2W': function(R, c) { return R == c; }, 'w5K': function(R, c) { return R > c; }, 'H1W': function(R, c) { return R | c; }, 'I47': function(R, c) { return R != c; }, 's9P': function(R, c) { return R * c; }, 'D9K': function(R, c) { return R == c; }, 'k17': function(R, c) { return R < c; }, 'e2K': function(R, c) { return R * c; }, 'j7Y': function(R, c) { return R == c; }, 'f5E': function(R, c) { return R | c; }, 'y17': function(R, c) { return R | c; }, 'P87': function(R, c) { return R < c; }, 'y2E': function(R, c) { return R < c; }, 'I9K': function(R, c) { return R != c; }, 'd0W': function(R, c) { return R | c; }, 'n8P': function(R, c) { return R != c; }, 'C4P': function(R, c) { return R != c; }, 'X4P': function(R, c) { return R != c; }, 'n4W': function(R, c) { return R / c; }, 'j7K': function(R, c) { return R | c; }, 'T07': function(R, c) { return R == c; }, 'B0E': function(R, c) { return R != c; }, 'b1W': function(R, c) { return R < c; }, 'L2P': function(R, c) { return R * c; }, 'c4E': function(R, c) { return R != c; }, 'S5K': function(R, c) { return R != c; }, 'E37': function(R, c) { return R * c; }, 'H0P': function(R, c) { return R == c; }, 'c7W': function(R, c) { return R | c; }, 'N9w': function(R, c) { return R == c; }, 'a7P': function(R, c) { return R != c; }, 'T7E': function(R, c) { return R * c; }, 'c9P': function(R, c) { return R != c; }, 'Q0E': function(R, c) { return R < c; }, 'Z2W': function(R, c) { return R | c; }, 'h6E': function(R, c) { return R - c; }, 'N6Y': function(R, c) { return R > c; }, 'L3Y': function(R, c) { return R != c; }, 'N8W': function(R, c) { return R != c; }, 'Y57': function(R, c) { return R < c; }, 'V0W': function(R, c) { return R | c; }, 'X8P': function(R, c) { return R != c; }, 'o6W': function(R, c) { return R < c; }, 'P1W': function(R, c) { return R != c; }, 'y0E': function(R, c) { return R != c; }, 'G5E': function(R, c) { return R != c; }, 'q3P': function(R, c) { return R == c; }, 'e5w': function(R, c) { return R instanceof c; }, 'f4W': function(R, c) { return R == c; }, 'd37': function(R, c) { return R != c; }, 'k2K': function(R, c) { return R * c; }, 'i6P': function(R, c) { return R == c; }, 'g37': function(R, c) { return R == c; }, 'm2E': function(R, c) { return R < c; }, 'j3K': function(R, c) { return R != c; }, 'a67': function(R, c) { return R < c; }, 'G97': function(R, c) { return R / c; }, 'x2E': function(R, c) { return R <= c; }, 'v8K': function(R, c) { return R < c; }, 'A2K': function(R, c) { return R == c; }, 'N97': function(R, c) { return R != c; }, 'R9E': function(R, c) { return R != c; }, 'T47': function(R, c) { return R - c; }, 'a8K': function(R, c) { return R == c; }, 'L9K': function(R, c) { return R == c; }, 'U3Y': function(R, c) { return R instanceof c; }, 'B6K': function(R, c) { return R < c; }, 'U3K': function(R, c) { return R == c; }, 's6P': function(R, c) { return R != c; }, 'F5P': function(R, c) { return R == c; }, 'L47': function(R, c) { return R * c; }, 'f37': function(R, c) { return R | c; }, 'c5w': function(R, c) { return R < c; }, 'h8P': function(R, c) { return R > c; }, 'r9W': function(R, c) { return R <= c; }, 'Q5w': function(R, c) { return R != c; }, 'N77': function(R, c) { return R == c; }, 'I27': function(R, c) { return R == c; }, 'W07': function(R, c) { return R > c; }, 'c57': function(R, c) { return R != c; }, 'A7P': function(R, c) { return R != c; }, 'Q9W': function(R, c) { return R == c; }, 'c2E': function(R, c) { return R * c; }, 'P7K': function(R, c) { return R < c; }, 'Z77': function(R, c) { return R == c; }, 'N1Y': function(R, c) { return R != c; }, 'A1P': function(R, c) { return R != c; }, 'a4E': function(R, c) { return R < c; }, 's7W': function(R, c) { return R != c; }, 'D7K': function(R, c) { return R != c; }, 'I2P': function(R, c) { return R * c; }, 'O1K': function(R, c) { return R != c; }, 'j3Y': function(R, c) { return R != c; }, 'B7W': function(R, c) { return R == c; }, 'x4E': function(R, c) { return R == c; }, 'b07': function(R, c) { return R == c; }, 'c1P': function(R, c) { return R != c; }, 's2Y': function(R, c) { return R == c; }, 'W7K': function(R, c) { return R == c; }, 'j0P': function(R, c) { return R < c; }, 'd1K': function(R, c) { return R == c; }, 'N1K': function(R, c) { return R == c; }, 'X5K': function(R, c) { return R == c; }, 'p0Y': function(R, c) { return R == c; }, 'L6W': function(R, c) { return R | c; }, 'q97': function(R, c) { return R != c; }, 'C4w': function(R, c) { return R * c; }, 'E0W': function(R, c) { return R | c; }, 'o7E': function(R, c) { return R * c; }, 'h4P': function(R, c) { return R == c; }, 'g4W': function(R, c) { return R * c; }, 'J0P': function(R, c) { return R == c; }, 'l2K': function(R, c) { return R < c; }, 'v17': function(R, c) { return R == c; }, 'M2P': function(R, c) { return R * c; }, 'O4W': function(R, c) { return R == c; }, 'F7E': function(R, c) { return R * c; }, 'J3Y': function(R, c) { return R != c; }, 'R2P': function(R, c) { return R == c; }, 'I4w': function(R, c) { return R < c; }, 'e1P': function(R, c) { return R != c; }, 'o7K': function(R, c) { return R != c; }, 'h37': function(R, c) { return R < c; }, 'u37': function(R, c) { return R < c; }, 'H3K': function(R, c) { return R == c; }, 'Z0W': function(R, c) { return R != c; }, 's5w': function(R, c) { return R <= c; }, 'r7P': function(R, c) { return R <= c; }, 'q1K': function(R, c) { return R | c; }, 'l57': function(R, c) { return R < c; }, 'Q1K': function(R, c) { return R - c; }, 'V1E': function(R, c) { return R < c; }, 'z0K': function(R, c) { return R == c; }, 'f0W': function(R, c) { return R != c; }, 'I6W': function(R, c) { return R >= c; }, 'f77': function(R, c) { return R == c; }, 'r5w': function(R, c) { return R != c; }, 'P6W': function(R, c) { return R | c; }, 'e67': function(R, c) { return R != c; }, 'y6P': function(R, c) { return R == c; }, 'N37': function(R, c) { return R & c; }, 'A9P': function(R, c) { return R == c; }, 't87': function(R, c) { return R == c; }, 'Z37': function(R, c) { return R - c; }, 'B9P': function(R, c) { return R == c; }, 'A6P': function(R, c) { return R == c; }, 'O37': function(R, c) { return R != c; }, 'Z7P': function(R, c) { return R / c; }, 'u2W': function(R, c) { return R < c; }, 'F4P': function(R, c) { return R == c; }, 'v5w': function(R, c) { return R == c; }, 'X5E': function(R, c) { return R * c; }, 'c9W': function(R, c) { return R == c; }, 'o27': function(R, c) { return R == c; }, 'O77': function(R, c) { return R == c; }, 'h2W': function(R, c) { return R != c; }, 'o87': function(R, c) { return R == c; }, 'w97': function(R, c) { return R != c; }, 'Y3W': function(R, c) { return R != c; }, 'l1P': function(R, c) { return R != c; }, 'm1P': function(R, c) { return R == c; }, 'V97': function(R, c) { return R == c; }, 'A2E': function(R, c) { return R < c; }, 'b3E': function(R, c) { return R != c; }, 'G6E': function(R, c) { return R / c; }, 'r17': function(R, c) { return R & c; }, 'b2P': function(R, c) { return R * c; }, 'H9K': function(R, c) { return R != c; }, 'W3Y': function(R, c) { return R == c; }, 'W6W': function(R, c) { return R | c; }, 'W27': function(R, c) { return R * c; }, 'm2K': function(R, c) { return R == c; }, 'A6K': function(R, c) { return R / c; }, 'Z8P': function(R, c) { return R >= c; }, 'L87': function(R, c) { return R == c; }, 'K8W': function(R, c) { return R != c; }, 'B7P': function(R, c) { return R < c; }, 'E6Y': function(R, c) { return R - c; }, 'F6W': function(R, c) { return R == c; }, 'p5w': function(R, c) { return R == c; }, 't9K': function(R, c) { return R != c; }, 'X4W': function(R, c) { return R * c; }, 'p9W': function(R, c) { return R == c; }, 'g4K': function(R, c) { return R > c; }, 'V8W': function(R, c) { return R < c; }, 'I5W': function(R, c) { return R < c; }, 'Q3W': function(R, c) { return R != c; }, 'K3P': function(R, c) { return R == c; }, 'R27': function(R, c) { return R - c; }, 'F87': function(R, c) { return R == c; }, 'g97': function(R, c) { return R * c; }, 'n77': function(R, c) { return R & c; }, 'r57': function(R, c) { return R < c; }, 'v9W': function(R, c) { return R > c; }, 'i2E': function(R, c) { return R < c; }, 'a1P': function(R, c) { return R > c; }, 'K6K': function(R, c) { return R <= c; }, 'W9K': function(R, c) { return R == c; }, 'j5P': function(R, c) { return R == c; }, 'u3P': function(R, c) { return R < c; } }; (function() { for (var s4y in H1N2z[D2z]) { if (s4y.length === (68.8E1 == (87., 6.88E2) ? (66.0E1, 9) : 148 < (0x19C, 0x14) ? (0xB9, 14) : (100, 0x11E)) && s4y.charCodeAt(6) === 116 && s4y.charCodeAt(8) === 114 && s4y.charCodeAt(4) === 103 && s4y.charCodeAt(0) === 110) break }; for (var n4y in H1N2z[D2z][s4y]) { if (n4y.length == 9 && n4y.charCodeAt(8) == 116 && n4y.charCodeAt((43.7E1 >= (40, 0x139) ? (125., 7) : 38.80E1 < (49.1E1, 11) ? 0xE1 : (141., 0x4E))) == (20 >= (97.80E1, 0x252) ? (111., 0x205) : 0x10C < (79., 12.52E2) ? (114, 110) : (92, 82.) > 0x152 ? "A" : (0x24, 64)) && n4y.charCodeAt(0) == 117) break }; var a4 = function() {}, n4 = function() {}, I5 = function() { W.TObject = ["TObject", 4]; }, v9 = function() { S7.__name__ = ["flambe", "asset", "File"]; }, Y4 = function(R) { X.Type1.__enum__ = R; }, B5 = function() { x0.__name__ = ["Float"]; }, D5 = function() { x4.__name__ = ["hexcon", "library", "Button"]; }, L4 = function(R) { this._storage = R; }, Y5 = function(R) { V.OGG.toString = R; }, W5 = function(R) { I["flambe.util.Signal1"] = R; }, a5 = function() { J.__name__ = ["flambe", "display", "Sprite"]; }, Q4 = function() { m9.__name__ = ["flambe", "math", "Rectangle"]; }, C9 = function(R) { I["flambe.scene.Scene"] = R; }, r9 = function(R) { e5.count = R; }, Z9 = function() { U6.__name__ = ["flambe", "platform", "html", "WebGLBatcher"]; }, O9 = function() {}, f4 = function() { Z7.__name__ = ["flambe", "animation", "Behavior"]; }, m9 = function(R, c, g, F) { b4o6.c9W(null, F) && (F = 0); b4o6.p9W(null, g) && (g = 0); b4o6.m9W(null, c) && (c = 0); b4o6.a9W(null, R) && (R = 0); this.set(R, c, g, F); }, O8 = function(R) { V.WAV.toString = R; }, P5 = function(R) { I["flambe.script._Script.Handle"] = R; }, n8 = function(R) { V.DDS.__enum__ = R; }, N9 = function(R) { I["flambe.input.PointerEvent"] = R; }, d6 = function(R) { I["hexcon.gameplay.Tile"] = R; }, I9 = function() { this._transitor = null; w.call(this); this.scenes = []; this.occludedScenes = []; this._root = new T; }, x9 = function() { $b.__name__ = ["flambe", "input", "PointerEvent"]; }, A9 = function(R, c, g) { for (var B2z in H1N2z[D2z]) { if (B2z.length === 8 && B2z.charCodeAt(5) === 101 && B2z.charCodeAt(7) === 116 && B2z.charCodeAt(3) === (84 >= (139., 0x82) ? (17., 53.80E1) : (24., 34) <= 107. ? (3.75E2, 117) : (24, 80.80E1) <= (146., 1.5E1) ? (0x22D, 143.) : (7.83E2, 126.)) && B2z.charCodeAt(0) === 100) break }; var F = this; this._sound = R; this._tickableAdded = !1; this._clonedElement = H1N2z[D2z][B2z]['createElement']("audio"); this._clonedElement.loop = g; this._clonedElement.src = R.audioElement.src; this.volume = new Q(c, function() { F.updateVolume(); }); this.updateVolume(); this._complete = new X4(!1); this.playAudio(); e.hidden._value && this.set_paused(!0); }, V9 = function() {}, I8 = function(R) { V.OGG.__enum__ = R; }, L8 = function(R) { I["flambe.platform.html.CanvasTexture"] = R; }, j4 = function() { X8.__name__ = ["flambe", "platform", "EventGroup"]; }, m6 = function() { F4.__name__ = ["hexcon", "gameplay", "GameConstants"]; }, F4 = function() {}, j8 = function(R) { S9.Button.toString = R; }, b8 = function() { l0.__name__ = ["flambe", "subsystem", "MouseSystem"]; }, G8 = function(R) { V.PVR.toString = R; }, f8 = function(R) { F4.CenterY = R; }; function L(R) { return b4o6.U7Y(R, Array) ? function() { return U.iter(R); } : "function" == typeof R.iterator ? K9(R, R.iterator) : R.iterator; } var z4 = function(R) { I["flambe.util.SignalConnection"] = R; }, p4 = function() { this.h = {}; }, T8 = function() { y0.__name__ = ["hexcon", "scene", "PreloaderScene"]; }, r4 = function(R) { I["flambe.platform.TextureRoot"] = R; }, B = function(R) { I["flambe.scene.Transition"] = R; }, a9 = function() { O4.__name__ = ["flambe", "asset", "Manifest"]; }, S8 = function() { g6.__name__ = ["flambe", "display", "Texture"]; }, b5 = function() { l9.USE_ENUM_INDEX = !1; }, T4 = function(R) { M.Prev.__enum__ = R; }, y5 = function(R) { V.PKM.__enum__ = R; }, E4 = function(R) { U4.call(this, R, "attribute highp vec2 a_pos;\nattribute lowp vec3 a_rgb;\nattribute lowp float a_alpha;\nvarying lowp vec4 v_color;\nvoid main (void) {\nv_color = vec4(a_rgb*a_alpha, a_alpha);\ngl_Position = vec4(a_pos, 0, 1);\n}", "varying lowp vec4 v_color;\nvoid main (void) {\ngl_FragColor = v_color;\n}"); this.a_pos = this.getAttribLocation("a_pos"); this.a_rgb = this.getAttribLocation("a_rgb"); this.a_alpha = this.getAttribLocation("a_alpha"); }, G4 = function() { this.down = new C4; this.move = new C4; this.up = new C4; }, c4 = function(R, c) { this.name = R; var g = b4o6.j3E(1, c.length); this.frames = []; for (var F = 0; b4o6.g1E(F, c.length);) { var p = c[F]; ++F; this.frames.push(new N6(p, g)); } }, P = function() { I4.Mask = ["Mask", 4]; }, V8 = function() { k5.__interfaces__ = [u9]; }, e9 = function(R) { E4.__super__ = R; }, P4 = function() { this.connectedTile = this.reverseConnectedTile = this.targetTile = this._baseSprite = this._sprite = null; this.isChangable = !0; this.animalSprite = null; this._animal = 0; this._isConnecting = !1; this._col = this._row = 0; w.call(this); }, R9 = function(R) { I["flambe.platform.DummySound"] = R; }, M5 = function(R) { I["flambe.platform.shader.ShaderGL"] = R; }, q9 = function(R) { U4.call(this, R, "attribute highp vec2 a_pos;\nattribute mediump vec2 a_uv;\nattribute lowp float a_alpha;\nvarying mediump vec2 v_uv;\nvarying lowp float v_alpha;\nvoid main (void) {\nv_uv = a_uv;\nv_alpha = a_alpha;\ngl_Position = vec4(a_pos, 0, 1);\n}", "varying mediump vec2 v_uv;\nvarying lowp float v_alpha;\nuniform lowp sampler2D u_texture;\nuniform mediump vec4 u_region;\nvoid main (void) {\ngl_FragColor = texture2D(u_texture, u_region.xy + mod(v_uv, u_region.zw)) * v_alpha;\n}"); this.a_pos = this.getAttribLocation("a_pos"); this.a_uv = this.getAttribLocation("a_uv"); this.a_alpha = this.getAttribLocation("a_alpha"); this.u_texture = this.getUniformLocation("u_texture"); this.u_region = this.getUniformLocation("u_region"); this.setTexture(0); }, H = function() { C8.__name__ = ["flambe", "display", "_Font", "ConfigParser"]; }, l5 = function() { X.Type1 = ["Type1", 1]; }, x6 = function(R) { V.PNG.__enum__ = R; }, z6 = function() { Z4.__interfaces__ = [u4]; }, H8 = function(R) { I["flambe.platform.html.WebGLGraphics"] = R; }, q8 = function() { W.TBool = ["TBool", 3]; }, O6 = function(R) { V.MP3.toString = R; }, z = function() { this._disposed = !1; this._playback = new y7(this); }, m4 = function() { q7.__interfaces__ = [u9]; }, h6 = function(R) { J.__super__ = R; }, k0 = function(R) { V.M4A.__enum__ = R; }, n6 = function(R) { I["hexcon.scene.RotateScene"] = R; }, J0 = function() { C5.Landscape = ["Landscape", 1]; }, T5 = function() {}, w0 = function(R) { I["hexcon.scene.PlayScene"] = R; }, i5 = function() {}, s6 = function(R) { W.TInt.toString = R; }, O4 = function() { this._localBase = this._remoteBase = null; this._entries = []; }, B9 = function(R) { w.call(this); this._minCol = R; }, c7 = function() { e5.__name__ = ["haxe", "ds", "ObjectMap"]; }, $ = function(R) { this._pointer = R; this._source = F6.Mouse($._sharedEvent); this.down = new C4; this.move = new C4; this.up = new C4; this.scroll = new C4; this._y = this._x = 0; this._cursor = S9.Default; this._buttonStates = new p4; }, v5 = function(R, c, g, F) { this._from = R; this._to = c; this._duration = g; this.elapsed = 0; this._easing = b4o6.o5P(null, F) ? F : i4.linear; }, B0 = function(R) { I["flambe.platform.html.WebGLTextureRoot"] = R; }, L6 = function(R) { I["flambe.script.Action"] = R; }, D0 = function() { V7.__name__ = ["flambe", "script", "_Script", "Handle"]; }, r0 = function(R) { M.Cancel.__enum__ = R; }, N0 = function(R) { q9.__super__ = R; }, a6 = function() { V.PKM = ["PKM", 7]; }, x5 = function() {}, U5 = function() {}, Q = function(R, c) { this._behavior = null; X4.call(this, R, c); }, l4 = function(R) { for (var P2z in H1N2z[D2z]) { if (P2z.length === 8 && P2z.charCodeAt(5) === 101 && P2z.charCodeAt(7) === 116 && P2z.charCodeAt(((0x2B, 107) >= 1.411E3 ? 25 : (92.5E1, 74) < (1.034E3, 88) ? (88.2E1, 3) : 32 < (0x8A, 26.) ? (6.100E2, 'Y') : (74., 112))) === 117 && P2z.charCodeAt(0) === ((6.04E2, 119.10E1) < 94.0E1 ? 1 : 88. < (58.7E1, 68.) ? (0x13E, 106.) : (0xD, 55.90E1) > 7.7E1 ? (39., 100) : (0x7C, 0x42))) break }; var c = this; this._canvas = R; this.resize = new P8; this.scaleFactor = l4.computeScaleFactor(); b4o6.d2W(1, this.scaleFactor) && (k.setVendorStyle(this._canvas, "transform-origin", "top left"), k.setVendorStyle(this._canvas, "transform", "scale(" + b4o6.O2W(1, this.scaleFactor) + ")")); k.SHOULD_HIDE_MOBILE_BROWSER && (H1N2z[D2z]['addEventListener']("orientationchange", function() { k.callLater(K9(c, c.hideMobileBrowser), 200); }, !1), this.hideMobileBrowser()); H1N2z[D2z]['addEventListener']("resize", function() { k.callLater(K9(c, c.onWindowResizeWithNull), 200); }, !1); this.onWindowResize(null); this.orientation = new X4(null); b4o6.G2W(null, H1N2z[D2z].orientation) && (H1N2z[D2z]['addEventListener']("orientationchange", function() { k.callLater(K9(c, c.onOrientationChangeWithNull), 200); }, !1), this.onOrientationChange(null)); this.fullscreen = new X4(!1); k.addVendorListener(H1N2z[D2z][P2z], "fullscreenchange", function() { c.updateFullscreen(); }, !1); this.updateFullscreen(); }, X0 = function() { v4.__name__ = ["js", "Boot"]; }, g7 = function(R) { z.__super__ = R; }, G6 = function() { r7.__name__ = ["flambe", "swf", "MovieSymbol"]; }, E0 = function(R) { I["flambe.util.Value"] = R; }, Y0 = function(R) { I.Std = R; }, W0 = function(R) { j.__super__ = R; }, t8 = function(R, c) { this.key = R; this._value = c; }, Q6 = function() { U5.__name__ = ["Lambda"]; }, o8 = function(R) { X.Empty.toString = R; }, P0 = function() { l7.__name__ = ["flambe", "platform", "html", "_WebGLGraphics", "DrawingState"]; }, O7 = function() { o6.__name__ = ["flambe", "util", "_SignalBase", "Task"]; }, K4 = function() { G9.__interfaces__ = [W8]; }, z5 = function(R) { I.Math = R; }, h9 = function(R) { w.call(this); this._type = R; }, u8 = function() { n7.__name__ = ["flambe", "animation", "Sine"]; }, p7 = function() { M.OK = ["OK", 3]; }, d7 = function() { j.__interfaces__ = [a4]; }, m7 = function(R) { F9.Stage3D.__enum__ = R; }, G7 = function() { M.Exit = ["Exit", 6]; }, w8 = function() { d8.__interfaces__ = [Z8]; }, X9 = function(R) { N7.__super__ = R; }, M0 = function(R) { V.Data.toString = R; }, j6 = function(R) { I["flambe.platform.DummyTouch"] = R; }, y6 = function(R) { V.WAV.__enum__ = R; }, a7 = function(R) { I["flambe.platform.html.WebGLRenderer"] = R; }, f6 = function(R) { I["haxe.ds.IntMap"] = R; }, H5 = function(R, c) { this._firstDraw = !1; this._canvasCtx = R.getContext("2d", { alpha: c }); }, A5 = function(R) { this._texture = R.texture; this._anchorX = R.anchorX; this._anchorY = R.anchorY; }, M4 = function(R) { X.Type6.__enum__ = R; }, E = function(R) { J.call(this); this.texture = R; }, S6 = function() { G9.__name__ = ["flambe", "platform", "html", "WebGLGraphics"]; }, F0 = function(R) { I["flambe.util.Assert"] = R; }, p0 = function(R) { I["flambe.swf._Flipbook.FrameSymbol"] = R; }, e4 = function() { I9.__name__ = ["flambe", "scene", "Director"]; }, i = function() { c6.__interfaces__ = [u9]; }, R0 = function() { h7.__name__ = ["flambe", "swf", "Symbol"]; }, t5 = function(R) { I["hexcon.ContextManager"] = R; }, g0 = function(R) { X.Type5.__enum__ = R; }, i0 = function(R) { V.MP3.__enum__ = R; }, c0 = function() { q9.__name__ = ["flambe", "platform", "shader", "DrawPatternGL"]; }, C0 = function(R) { I4.Screen.__enum__ = R; }, d0 = function(R) { I["flambe.platform.BasicFile"] = R; }, m0 = function() { w4.__interfaces__ = [u4]; }, v6 = function() { E.__name__ = ["flambe", "display", "ImageSprite"]; }, s5 = function(R) { X.Type7.toString = R; }, J8 = function(R) { I4.Mask.toString = R; }, s9 = function(R) { V.OPUS.__enum__ = R; }, A4 = function(R) { w7.__super__ = R; }, u4 = function() {}, c9 = function(R) { i9.Warning.__enum__ = R; }, L5 = function(R) { I["flambe.display.TextSprite"] = R; }, Q9 = function(R) { I["flambe.sound.Sound"] = R; }, l = function(R) { I["flambe.platform.InternalRenderer"] = R; }, V6 = function(R) { V.JPG.__enum__ = R; }, q6 = function(R) { F8.__super__ = R; }, A6 = function(R) { I["flambe.platform.shader.DrawPatternGL"] = R; }, I0 = function(R) { I["flambe.platform.BasicTouch"] = R; }, e = function() {}, O0 = function(R) { I["flambe.scene.Director"] = R; }, U = function() {}, n9 = function() {}, Q5 = function(R) { this.id = R; this._source = F6.Touch(this); }, b0 = function(R) { I["flambe.display.Graphics"] = R; }, e6 = function() { W.TUnknown = ["TUnknown", 8]; }, Z0 = function() { W8.__interfaces__ = [u6]; }, G0 = function() {}, n0 = function(R) { F4.CenterX = R; }, L0 = function() { B7.__name__ = ["StringBuf"]; }, a0 = function() {}, h0 = function() { E9.__name__ = ["hexcon", "Transition"]; }, z0 = function(R) { I["flambe.input.TouchPoint"] = R; }, s0 = function() { u7.__name__ = ["flambe", "platform", "html", "_WebAudioSound", "WebAudioPlayback"]; }, d3 = function(R) { I["flambe.swf.MovieSprite"] = R; }, y7 = function(R) { this._sound = R; this.volume = new Q(0); this._complete = new X4(!0); }, p3 = function(R) { I["flambe.platform.html.WebAudioSound"] = R; }, F3 = function() { $.__name__ = ["flambe", "platform", "BasicMouse"]; }, g3 = function() { c4.__name__ = ["flambe", "swf", "Flipbook"]; }, c3 = function() { s4.__name__ = ["flambe", "math", "FMath"]; }, R3 = function(R) { I["hexcon.library.Vector2"] = R; }, j0 = function() { Math.__name__ = ["Math"]; }, f0 = function() { X.Type2 = ["Type2", 2]; }, Q0 = function(R) { V.PKM.toString = R; }, b3 = function(R) { I["flambe.platform.InternalGraphics"] = R; }, y3 = function(R) { I["js.html._CanvasElement.CanvasUtil"] = R; }, G3 = function() { Z4.__name__ = ["flambe", "script", "Delay"]; }; function K(c, g) { var F = function(R) { d[C] = R[C]; }; function p() {} p.prototype = c; var d = new p, C; for (C in g) F(g); b4o6.M7Y(g.toString, Object.prototype.toString) && (d.toString = g.toString); return d; } var a3 = function() { t4.__interfaces__ = [k5]; }, u6 = function() {}, I3 = function() { c5.__name__ = ["flambe", "display", "Font"]; }, O3 = function(R) { F9.WebGL.toString = R; }, b4 = function() {}, m3 = function(R) { g4.Center.__enum__ = R; }, C3 = function() { S9.None = ["None", 2]; }, o3 = function() { R6.__name__ = ["flambe", "platform", "html", "CanvasTexture"]; }, e3 = function(R) { I["hexcon.Background"] = R; }, u3 = function() { M.Cancel = ["Cancel", 4]; }, k3 = function(R) { I["flambe.platform.html._WebAudioSound.WebAudioPlayback"] = R; }, w = function() { this._flags = 0; this.owner = this.next = null; }, r3 = function() { A9.__interfaces__ = [A7, c6]; }, N3 = function(R) { I["flambe.script.Script"] = R; }, J3 = function(R) { M.Prev.toString = R; }, X3 = function() { M8.__interfaces__ = [S7]; }, D3 = function(R) { F4.RowSize = R; }, B3 = function() { J4.Right = ["Right", 2]; }, T3 = function() { w9.__name__ = ["flambe", "platform", "BasicTexture"]; }, S3 = function(R) { l6.__super__ = R; }, V3 = function() { u0.__name__ = ["haxe", "io", "Eof"]; }, v3 = function() { Q5.__name__ = ["flambe", "input", "TouchPoint"]; }, S7 = function() {}, A3 = function() { n.__name__ = ["Std"]; }, H3 = function() { A0.__name__ = ["hexcon", "scene", "PlayScene"]; }, $a = function() { this.length = 0; }, t3 = function(R) { I["flambe.animation.Behavior"] = R; }, q3 = function() { H0.__interfaces__ = [g6]; }, z3 = function() { e._calledInit = !1; }, s3 = function(R) { I4.Copy.toString = R; }, n3 = function() { f9.__interfaces__ = [x5]; }, L3 = function() { F8.__name__ = ["hexcon", "Popup"]; }, o6 = function(R) { this.next = null; this.fn = R; }, Q3 = function() { h8.__interfaces__ = [a4]; }, f3 = function(R) { I["flambe.display._Font.ConfigParser"] = R; }, j3 = function(R) { X.Type6.toString = R; }, R1 = function() { x7.__name__ = ["flambe", "platform", "DummyStorage"]; }, c1 = function() { S9.Default = ["Default", 0]; }, g1 = function() { G4.__interfaces__ = [G0]; }, W3 = function(R) { V.M4A.toString = R; }, E3 = function(R) { C5.Landscape.__enum__ = R; }, Y3 = function(R) { I4.Mask.__enum__ = R; }, P3 = function() { e5.__interfaces__ = [k6]; }, l3 = function(R) { y9.__super__ = R; }, N8 = function(R, c, g) { b4o6.p1P(null, g) && (g = -1); b4o6.m1P(null, c) && (c = -1); J.call(this); this.texture = R; b4o6.a1P(0, c) && (c = b4o6.y1P(null, R) ? R.get_width() : 0); this.width = new Q(c); b4o6.v1P(0, g) && (g = b4o6.A1P(null, R) ? R.get_height() : 0); this.height = new Q(g); }, M3 = function() { Date.__name__ = ["Date"]; }, K3 = function(R) { I["flambe.math.Point"] = R; }, Z3 = function(R) { S9.None.toString = R; }, i3 = function() { j._detectSupport = !0; }, x3 = function(R) { I["flambe.platform.shader.DrawTextureGL"] = R; }, U3 = function(R) { F5.__super__ = R; }, h3 = function() { V.JPG = ["JPG", 3]; }, A1 = function() { l6.__name__ = ["flambe", "SpeedAdjuster"]; }, A7 = function() {}, k6 = function() {}, H1 = function() { g4.Right = ["Right", 2]; }, V1 = function(R) { I["hexcon.scene.TitleScene"] = R; }, e1 = function(R) { J4.Left.toString = R; }, l0 = function() {}, t1 = function() { e7.__interfaces__ = [G0]; }, i4 = function() {}, q1 = function(R) { I.HxOverrides = R; }, o4 = function() {}, I1 = function() { d4.__name__ = ["hexcon", "gameplay", "GameManager"]; }, O1 = function() { X.Type6 = ["Type6", 6]; }, m1 = function(R) { I["flambe.platform.html.WebGLBatcher"] = R; }, C1 = function() { N6.__name__ = ["flambe", "swf", "FlipbookFrame"]; }, d1 = function(R) { I["flambe.Component"] = R; }, p1 = function() { X.Type5 = ["Type5", 5]; }, F1 = function() { j7.__name__ = ["flambe", "platform", "html", "WebGLRenderer"]; }, V7 = function(R) { this.removed = !1; this.action = R; }, v1 = function(R) { I["flambe.util.Strings"] = R; }, T1 = function(R) { J4.Middle.__enum__ = R; }, S1 = function(R) { I["flambe.script.Sequence"] = R; }, y1 = function(R) { W.TBool.toString = R; }, D4 = function() {}, b1 = function(R) { E9.__super__ = R; }, G1 = function(R) { F9.WebGL.__enum__ = R; }, a1 = function(R) { I["flambe.display.Sprite"] = R; }, K1 = function(R) { J4.Left.__enum__ = R; }, M1 = function(R) { R6.__super__ = R; }, i1 = function(R) { I["flambe.util.Disposable"] = R; }, Z1 = function(R) { V.PNG.toString = R; }, Y1 = function(R) { V.GIF.__enum__ = R; }, E1 = function(R) { I["flambe.subsystem.PointerSystem"] = R; }, P1 = function(R) { V.WEBP.__enum__ = R; }, l1 = function() { f.__name__ = ["flambe", "platform", "html", "HtmlAssetPackLoader"]; }, z1 = function() { E8.__name__ = ["flambe", "util", "Signal2"]; }, s1 = function(R) { I["flambe.System"] = R; }, n1 = function() { t0.__name__ = ["js", "html", "_CanvasElement", "CanvasUtil"]; }, L1 = function(R) { I["hexcon.library.ResponsiveScene"] = R; }, U1 = function() { A5.__name__ = ["flambe", "swf", "_Flipbook", "FrameSymbol"]; }, q7 = function() {}, x1 = function() { v5.__name__ = ["flambe", "animation", "Tween"]; }, h1 = function() { n4.__name__ = ["flambe", "platform", "html", "HtmlExternal"]; }, w1 = function() { E7.__name__ = ["flambe", "display", "Glyph"]; }, k1 = function() { u4.__name__ = ["flambe", "script", "Action"]; }, D8 = function() {}, J1 = function() { e0.__name__ = ["hexcon", "scene", "TitleScene"]; }, w6 = function(R) { this.keyframeIdx = 0; this.needsKeyframeUpdate = !1; this.layer = R; this.content = new T; if (R.empty) this._sprites = null; else { this._sprites = Array(R.keyframes.length); for (var c = 0, g = this._sprites.length; b4o6.v2E(c, g);) { var F = c++, p = R.keyframes[F]; this._sprites[F] = b4o6.A2E(0, F) && b4o6.e2E(R.keyframes[F - 1].symbol, p.symbol) ? this._sprites[b4o6.k2E(F, 1)] : b4o6.r2E(null, p.symbol) ? new J : p.symbol.createSprite(); } this.content.add(this._sprites[0]); } }, f = function(R, c) { o5.call(this, R, c); }, o1 = function(R) { I.Type = R; }, u1 = function(R) { I4.Multiply.__enum__ = R; }, y0 = function() {}, B1 = function(R) { Q.__super__ = R; }, W1 = function(R) { I4.Screen.toString = R; }, X1 = function() { g8.__name__ = ["flambe", "util", "SignalConnection"]; }, r1 = function(R) { I["haxe.io.Eof"] = R; }, B4 = function(c) { var g = function(R) { c = R.DEFAULT_RESOLVER; }; this.buf = c; this.length = c.length; this.pos = 0; this.scache = []; this.cache = []; g(B4); b4o6.y67(null, c) && (c = b4, B4.DEFAULT_RESOLVER = c); this.setResolver(c); }, D1 = function() { H5.__interfaces__ = [W8]; }, N1 = function() { h4.__name__ = ["haxe", "ds", "StringMap"]; }, v2 = function(R) { X.Empty.__enum__ = R; }, T2 = function(R) { l9.BASE64 = R; }, S2 = function(R) { I["flambe.script.CallFunction"] = R; }, y2 = function(R) { i9.Clear.toString = R; }, A2 = function(R) { I["flambe.platform.DummyPlayback"] = R; }, H2 = function(R) { I["hexcon.gameplay.GameConstants"] = R; }, N6 = function(R, c) { this.label = null; this.anchorX = this.anchorY = 0; this.texture = R; this.duration = c; }, V2 = function(R) { I["flambe.swf.MovieLayer"] = R; }, O2 = function() { I4.Add = ["Add", 1]; }, m2 = function(R) { F9.Canvas.__enum__ = R; }, f9 = function() {}, r6 = function() {}, b2 = function(R) { I["flambe.Entity"] = R; }, G2 = function() { J5.__name__ = ["flambe", "platform", "html", "WebGLTextureRoot"]; }, a2 = function() { L4.__interfaces__ = [X7]; }, I2 = function(R) { I4.Add.__enum__ = R; }, F2 = function() { Y7.__name__ = ["hexcon", "stageselect", "StageUIManager"]; }, G9 = function(R, c) { this._inverseProjection = this._stateList = null; b4o6.W7E(null, G9._scratchQuadArray) && (G9._scratchQuadArray = new Float32Array(8)); this._batcher = R; this._renderTarget = c; }, c2 = function() { v0.__name__ = ["hexcon", "scene", "RotateScene"]; }, g2 = function(R) { I.List = R; }, C2 = function(R) { I["flambe.swf.Symbol"] = R; }, E9 = function(R, c) { w.call(this); this._sceneType = R; this._stageType = c; }, p2 = function(R) { I["hexcon.gameplay.GameUIManager"] = R; }, d2 = function() { K7.__name__ = ["flambe", "platform", "_BasicAssetPackLoader", "BasicAssetPack"]; }, f1 = function() { R8.__name__ = ["haxe", "io", "Bytes"]; }, j1 = function(R) { I["flambe.util.PackageLog"] = R; }, Q1 = function() { r7.__interfaces__ = [h7]; }, G = function(c, g) { var F = function(R) { p = R; }; this._levelDatas = this._languageDatas = this._currentLanguageData = null; this._soundOption = 0; G.Instance = this; this._pack = c; this._director = g; var p = this._pack.getTexture("Animals").split(8, 8); this._library = K8.fromFlipbooks([(new c4("1_dance", [p[0], p[1], p[8], p[9], p[2], p[9], p[8], p[1]])).setDuration(0.4).setAnchor(55, 70), (new c4("1_idle", [p[10], p[3], p[11], p[16], p[11], p[3]])).setDuration(0.5).setAnchor(55, 70), (new c4("4_dance", [p[24], p[17], p[18], p[25], p[26], p[25], p[18], p[17]])).setDuration(0.4).setAnchor(55, 70), (new c4("4_idle", [p[19], p[27], p[4], p[5], p[4], p[27]])).setDuration(0.5).setAnchor(55, 70), (new c4("2_dance", [p[12], p[6], p[13], p[20], p[21], p[20], p[13], p[6]])).setDuration(0.4).setAnchor(55, 70), (new c4("2_idle", [p[28], p[14], p[7], p[15], p[7], p[14]])).setDuration(0.5).setAnchor(55, 70), (new c4("6_dance", [p[22], p[29], p[30], p[23], p[31], p[23], p[30], p[29]])).setDuration(0.4).setAnchor(55, 70), (new c4("6_idle", [p[32], p[33], p[40], p[41], p[40], p[33]])).setDuration(0.5).setAnchor(55, 70), (new c4("7_dance", [p[48], p[34], p[49], p[56], p[42], p[56], p[49], p[34]])).setDuration(0.4).setAnchor(55, 70), (new c4("7_idle", [p[35], p[36], p[50], p[57], p[50], p[36]])).setDuration(0.5).setAnchor(55, 70), (new c4("3_dance", [p[43], p[58], p[44], p[51], p[37], p[51], p[44], p[58]])).setDuration(0.4).setAnchor(55, 70), (new c4("3_idle", [p[52], p[59], p[38], p[45], p[38], p[59]])).setDuration(0.5).setAnchor(55, 70), (new c4("5_dance", [p[46], p[53], p[60], p[39], p[61], p[39], p[60], p[53]])).setDuration(0.4).setAnchor(55, 70), (new c4("5_idle", [p[47], p[54], p[55], p[62], p[55], p[54]])).setDuration(0.5).setAnchor(55, 70)]); this._font = new c5(this._pack, "font/BasicL"); this._fontB = new c5(this._pack, "font/BasicLB"); p = G.getTexture("Tile").split(6, 4); this._tileTextures = []; this._tileTextures.push(p[0]); this._tileTextures.push(p[6]); this._tileTextures.push(p[3]); this._tileTextures.push(p[5]); this._tileTextures.push(p[12]); this._tileTextures.push(p[14]); this._tileTextures.push(p[20]); this._tileTextures.push(p[17]); this._tileTextures.push(p[2]); this._tileTextures.push(p[8]); this._tileTextures.push(p[9]); this._tileTextures.push(p[11]); this._tileTextures.push(p[18]); this._tileTextures.push(p[15]); this._tileTextures.push(p[21]); this._tileTextures.push(p[1]); this._tileTextures.push(p[7]); this._tileTextures.push(p[4]); this._tileTextures.push(p[10]); this._tileTextures.push(p[13]); this._tileTextures.push(p[19]); this._tileTextures.push(p[16]); this._buttonTextures = G.getTexture("UI/Buttons").split(6, 4); this._sounds = []; this._sounds.push(this._pack.getSound("sound/button")); this._sounds.push(this._pack.getSound("sound/connected")); this._sounds.push(this._pack.getSound("sound/popup")); this._sounds.push(this._pack.getSound("sound/stagecomplete")); this._levelDatas = JSON.parse(this._pack.getFile("level/level.json").toString()); this._languageDatas = new h4; for (var p = 0, d = JSON.parse(this._pack.getFile("language.json").toString()).language; b4o6.F27(p, d.length);) { var C = d[p]; ++p; this._languageDatas.set(C.code, C.data); } this._currentLanguageData = this._languageDatas.get("en"); p = e._platform.getExternal().call("SG_Hooks.getLanguage", ["en,ge,sp,it,fr,pt,tr,ru".split(",")]); this._languageDatas.exists(p) && (this._currentLanguageData = this._languageDatas.get(p)); e._platform.getStage().resize.connect(K9(this, this.onResize)); this._stageState = []; this._stageState.push(0); F(0); for (d = F4.StagePageCount; b4o6.C27(p, d);) { var O = function(R) { C = R; }; C = p++; C = e._platform.getStorage().get("StageState_" + C); if (b4o6.I27(null, C) || b4o6.b27(0, C.length)) O("000000000000000000000000000000"); for (var a = 0; b4o6.T27(30, a);) { var S = a++; switch (C.charAt(S)) { case "0": this._stageState.push(0); break; case "1": this._stageState.push(1); break; case "2": this._stageState.push(2); } } } this._lastPlayedStage = e._platform.getStorage().get("LastStage"); if (b4o6.H27(null, this._lastPlayedStage) || b4o6.t27(0, this._lastPlayedStage)) this._lastPlayedStage = 1; this._soundOption = e._platform.getStorage().get("Sound"); b4o6.o27(null, this._soundOption) && (this._soundOption = 0); }, u9 = function() {}, J6 = function(R) { this.empty = !0; this.name = R.name; var c = null; this.keyframes = Array(R.keyframes.length); for (var g = 0, F = this.keyframes.length; b4o6.S97(g, F);) { var p = g++, c = new Z6(R.keyframes[p], c); this.keyframes[p] = c; this.empty = this.empty && b4o6.V97(null, c.symbolName); } this.frames = b4o6.q97(null, c) ? c.index + c.duration : 0; }, R2 = function() { e7.__name__ = ["flambe", "platform", "BasicTouch"]; }, Y9 = function(R, c) { this._x = R; this._y = c; }, E2 = function(R) { I["hexcon.library.Button"] = R; }, X8 = function() { this._entries = []; }, P2 = function() { m5.__name__ = ["EReg"]; }, b9 = function() {}, K2 = function() { I4.Screen = ["Screen", 3]; }, l2 = function(R) { Math.POSITIVE_INFINITY = R.POSITIVE_INFINITY; }, M2 = function(R) { g4.Left.toString = R; }, T0 = function() {}, k4 = function(R, c, g) { b4o6.j5W(null, g) && (g = !1); b4o6.g8W(null, c) && (c = 0); b4o6.d8W(null, R) && (R = 0); this.down = new C4; this.move = new C4; this.up = new C4; this._x = R; this._y = c; this._isDown = g; }, B2 = function() { M.Next = ["Next", 2]; }, n = function() {}, X2 = function() { A5.__interfaces__ = [h7]; }, q4 = function(R, c) { var g = function() { F._flags |= 128; }; b4o6.k1P(null, c) && (c = ""); this._layout = null; var F = this; J.call(this); this._font = R; this._text = c; this._align = g4.Left; this._flags |= 128; this.wrapWidth = new Q(0, g); this.letterSpacing = new Q(0, g); this.lineSpacing = new Q(0, g); }, W2 = function() { K8.__name__ = ["flambe", "swf", "Library"]; }, l9 = function() { this.buf = new B7; this.cache = []; this.useCache = l9.USE_CACHE; this.useEnumIndex = l9.USE_ENUM_INDEX; this.shash = new h4; this.scount = 0; }, Y2 = function(R) { x4._globalButtonIndex = R; }, u7 = function(c, g, F) { var p = this; this._sound = c; this._head = j.gain; this._complete = new X4(!1); this._sourceNode = j.ctx.createBufferSource(); this._sourceNode.buffer = c.buffer; this._sourceNode.loop = F; this._sourceNode.onended = function() { p._complete.set__(!0); }; j.start(this._sourceNode, 0); this.playAudio(); this.volume = new Q(g, function(R) { p.setVolume(R); }); b4o6.b9E(1, g) && this.setVolume(g); e.hidden._value && this.set_paused(!0); }, k2 = function() { n9.__name__ = ["haxe", "rtti", "Meta"]; }, w2 = function() { P8.__name__ = ["flambe", "util", "Signal0"]; }, J2 = function(R) { I["hexcon.stageselect.StageList"] = R; }, r2 = function() { W8.__name__ = ["flambe", "platform", "InternalGraphics"]; }, s4 = function() {}, N2 = function() { r6.__name__ = ["flambe", "subsystem", "PointerSystem"]; }, D2 = function(R) { f._mediaRefCount = R; }, q2 = function(R) { i9.Warning.toString = R; }, t2 = function() { p5.__interfaces__ = [u4]; }, e2 = function() { z.__name__ = ["flambe", "platform", "DummySound"]; }, u2 = function() { o4.__name__ = ["flambe", "util", "Strings"]; }, S0 = function() {}, e7 = function(R, c) { b4o6.e7W(null, c) && (c = 4); this._pointer = R; this._maxPoints = c; this._pointMap = new p4; this._points = []; this.down = new C4; this.move = new C4; this.up = new C4; }, o2 = function() { H5.__name__ = ["flambe", "platform", "html", "CanvasGraphics"]; }, W8 = function() {}, b4a = function() { w.__interfaces__ = [u9]; }, G4a = function(R) { I["hexcon.gameplay.GridManager"] = R; }, a4a = function(R) { M.Restart.__enum__ = R; }, X6 = function(R, c, g, F) { this._from = R; this._to = c; this._transition = g; this._onComplete = F; }, I4a = function(R) { V.JXR.__enum__ = R; }, v0 = function() {}, O4a = function() { z.__interfaces__ = [a4]; }, m4a = function(R) { V.DDS.toString = R; }, C4a = function() { M.None = ["None", 0]; }, d4a = function(R) { I["flambe.platform.shader.FillRectGL"] = R; }, p4a = function(R) { X.Type3.toString = R; }, $b = function() { this.init(0, 0, 0, null, null); }, F4a = function() { q4.__name__ = ["flambe", "display", "TextSprite"]; }, g4a = function(R) { P8.__super__ = R; }, c4a = function() { T5.__name__ = ["flambe", "scene", "Transition"]; }, e5 = function() { this.h = {}; this.h.__keys__ = {}; }, R4a = function() { y7.__interfaces__ = [c6]; }, f2 = function() { X6.__name__ = ["flambe", "scene", "_Director", "Transitor"]; }, j2 = function(R) { I["haxe.ds.ObjectMap"] = R; }, L2 = function() { a4.__name__ = ["flambe", "sound", "Sound"]; }, Q2 = function(R) { M.None.toString = R; }, s2 = function() { for (var l2z in H1N2z[D2z]) { if (l2z.length == 3 && l2z.charCodeAt(2) == ((98.0E1, 2.97E2) <= 0x14C ? (0x22, 112) : (74, 0x136) <= 29.20E1 ? 13.0E2 : 0x1E6 >= (131., 0x215) ? 0xB : (60.2E1, 82.)) && l2z.charCodeAt(1) == 111 && l2z.charCodeAt(0) == 116) break }; for (var K2z in H1N2z[D2z]) { if (K2z.length === 9 && K2z.charCodeAt(6) === 116 && K2z.charCodeAt(8) === ((5.41E2, 0x60) <= 47. ? 0x255 : 86. > (101., 67) ? (1.0E2, 114) : (81.60E1, 85.4E1) <= 0x5B ? "H" : (116, 90.4E1)) && K2z.charCodeAt(4) === ((1.16E3, 59.40E1) >= (16.90E1, 101.4E1) ? (146, 10.) : (0x236, 0x1CB) >= 2.84E2 ? (19.1E1, 103) : 9. > (1.21E3, 0x21) ? (0x225, "k") : (68.7E1, 145.20E1)) && K2z.charCodeAt(0) === 110) break }; for (var M2z in H1N2z[D2z][K2z]) { if (M2z.length == 9 && M2z.charCodeAt(8) == 116 && M2z.charCodeAt(7) == ((13.5E2, 0xB5) < (11.07E2, 0x244) ? (0x12A, 110) : (0xAF, 6.28E2)) && M2z.charCodeAt((133. > (0xF9, 23) ? (91., 0) : (0x29, 32.1E1) > (0x14D, 7.12E2) ? (15., 'Y') : (141., 39.))) == 117) break }; k.SHOULD_HIDE_MOBILE_BROWSER = b4o6.P7Y(H1N2z[D2z][l2z], window) && (new m5("Mobile(/.*)? Safari", "")).match(H1N2z[D2z][K2z][M2z]); }, n2 = function(R) { I["flambe.platform.html.HtmlStorage"] = R; }, D6 = function() {}, z2 = function(R) { q4.__super__ = R; }, x2 = function() { K7.__interfaces__ = [q7]; }, h2 = function() { I4.Normal = ["Normal", 0]; }, Z2 = function() { X.Type3 = ["Type3", 3]; }, U2 = function() { k4.__name__ = ["flambe", "platform", "BasicPointer"]; }, i2 = function() { w4.__name__ = ["flambe", "script", "CallFunction"]; }, k7 = function(R) { U4.call(this, R, "attribute highp vec2 a_pos;\nattribute mediump vec2 a_uv;\nattribute lowp float a_alpha;\nvarying mediump vec2 v_uv;\nvarying lowp float v_alpha;\nvoid main (void) {\nv_uv = a_uv;\nv_alpha = a_alpha;\ngl_Position = vec4(a_pos, 0, 1);\n}", "varying mediump vec2 v_uv;\nvarying lowp float v_alpha;\nuniform lowp sampler2D u_texture;\nvoid main (void) {\ngl_FragColor = texture2D(u_texture, v_uv) * v_alpha;\n}"); this.a_pos = this.getAttribLocation("a_pos"); this.a_uv = this.getAttribLocation("a_uv"); this.a_alpha = this.getAttribLocation("a_alpha"); this.u_texture = this.getUniformLocation("u_texture"); this.setTexture(0); }, W6 = function() {}, M4a = function(R) { W.TUnknown.toString = R; }, i4a = function(R) { I["flambe.math.Matrix"] = R; }, V0 = function() {}, l4a = function(R) { V.JPG.toString = R; }, w7 = function(R) { this._fillAllPopup = null; w.call(this); this._nextStage = R; }, r7 = function(R, c) { this._name = c.id; this.frameRate = R.frameRate; this.frames = 0; this.layers = Array(c.layers.length); for (var g = 0, F = this.layers.length; b4o6.O97(g, F);) { var p = g++, d = new J6(c.layers[p]); this.frames = Math.max(d.frames, this.frames); this.layers[p] = d; } this.duration = b4o6.G97(this.frames, this.frameRate); }, K4a = function() { Y6.__name__ = ["flambe", "subsystem", "RendererSystem"]; }, Y4a = function(R) { I["flambe.input.MouseEvent"] = R; }, W4a = function() { P6.__name__ = ["flambe", "platform", "_EventGroup", "Entry"]; }, P4a = function() { f9.__name__ = ["flambe", "platform", "html", "HtmlPlatform"]; }, E4a = function() { u6.__name__ = ["flambe", "display", "Graphics"]; }, D4a = function(R) { x4.__super__ = R; }, N4a = function() { S0.__name__ = ["flambe", "util", "PackageLog"]; }, X4a = function(R) { I["flambe.util.Signal2"] = R; }, B4a = function(R) { I["flambe.platform.MouseCodes"] = R; }, k4a = function(R) { I.IMap = R; }, w4a = function(R) { Math.NaN = R.NaN; }, J4a = function(R) { I["flambe.asset.AssetPack"] = R; }, r4a = function(R) { F4.StagePageCount = R; }, t4a = function() { W.TFloat = ["TFloat", 2]; }, e4a = function(R) { F4.ColSize = R; }, u4a = function(R) { d4.__super__ = R; }, o4a = function() { j.__name__ = ["flambe", "platform", "html", "WebAudioSound"]; }, V4a = function(R) { V.Data.__enum__ = R; }, H4a = function(R) { I["flambe.platform._BasicAssetPackLoader.BasicAssetPack"] = R; }, A4a = function() { W.TInt = ["TInt", 1]; }, q4a = function(R) { h9.__super__ = R; }, y4a = function() { l9.USE_CACHE = !1; }, S4a = function() { c6.__name__ = ["flambe", "sound", "Playback"]; }, T4a = function() { D4.__name__ = ["Reflect"]; }, v4a = function() { Z8.__name__ = ["flambe", "platform", "InternalRenderer"]; }, A9a = function() { r5.__name__ = ["flambe", "display", "TextLayout"]; }, q9a = function() { l4.__name__ = ["flambe", "platform", "html", "HtmlStage"]; }, t9a = function(R) { W.TFloat.__enum__ = R; }, e9a = function() { N7.__name__ = ["flambe", "platform", "html", "WebGLTexture"]; }, T9a = function() { l4.__interfaces__ = [M6]; }, v9a = function(R) { I["hexcon.gameplay.GameManager"] = R; }, V9a = function() { V.JXR = ["JXR", 1]; }, H9a = function() { i5.__name__ = ["flambe", "platform", "TextureRoot"]; }, w9a = function(R) { I["hexcon.Transition"] = R; }, J9a = function() { V0.__name__ = ["js", "Browser"]; }, r9a = function() { E4.__name__ = ["flambe", "platform", "shader", "FillRectGL"]; }, N9a = function(R) { I["js.Boot"] = R; }, u9a = function() { X.Type7 = ["Type7", 7]; }, o9a = function(R) { N8.__super__ = R; }, k9a = function(R) { I["flambe.Log"] = R; }, Y7 = function() { this._currentPage = 0; w.call(this); }, Y9a = function(R) { F9.Canvas.toString = R; }, W9a = function(R) { I9.__super__ = R; }, P9a = function() { K6.__name__ = ["flambe", "math", "Point"]; }, E9a = function() { U4.__name__ = ["flambe", "platform", "shader", "ShaderGL"]; }, B9a = function(R) { z8.__super__ = R; }, D9a = function(R) { X.Type1.toString = R; }, X9a = function(R) { M8.__super__ = R; }, R5 = function() { w.call(this); this.stopAll(); }, U9a = function(R) { J4.Middle.toString = R; }, Z9a = function() { q0.__name__ = ["flambe", "util", "BitSets"]; }, h9a = function(R) { W.TFunction.__enum__ = R; }, x9a = function() { V4.__name__ = ["flambe", "util", "SignalBase"]; }, K9a = function() { I4.Copy = ["Copy", 5]; }, l9a = function() { y7.__name__ = ["flambe", "platform", "DummyPlayback"]; }, i9a = function() { k5.__name__ = ["flambe", "asset", "Asset"]; }, M9a = function(R) { I["flambe.script.Delay"] = R; }, n4a = function(R) { I["flambe.asset.File"] = R; }, L4a = function(R) { I["hexcon.stageselect.StageUIManager"] = R; }, z4a = function(R) { I["flambe.platform.html.HtmlUtil"] = R; }, s4a = function(R) { W.TObject.__enum__ = R; }, x4a = function() { J4.Left = ["Left", 0]; }, h4a = function(R) { i9.Clear.__enum__ = R; }, Z4a = function() { A7.__name__ = ["flambe", "platform", "Tickable"]; }, U4a = function() { Z6.__name__ = ["flambe", "swf", "MovieKeyframe"]; }, g9a = function() { w9.__interfaces__ = [H0]; }, F9a = function(R) { I["flambe.display.TextLayout"] = R; }, Y6 = function() {}, c9a = function(R) { W.TInt.__enum__ = R; }, j4a = function(R) { I["haxe.rtti.Meta"] = R; }, R9a = function(R) { W.TObject.toString = R; }, Q4a = function() { l9.__name__ = ["haxe", "Serializer"]; }, f4a = function(R) { V.GIF.toString = R; }, O9a = function() { h4.__interfaces__ = [k6]; }, m9a = function(R) { J4.Right.toString = R; }, C9a = function() { T0.__name__ = ["flambe", "util", "Assert"]; }, j5 = function() { this._tickables = []; }, d9a = function() { A9.__name__ = ["flambe", "platform", "html", "_HtmlSound", "HtmlPlayback"]; }, p9a = function() { V.PNG = ["PNG", 2]; }, N7 = function(R, c, g) { w9.call(this, R, c, g); }, k9 = function() { this.identity(); }, S9a = function(R) { E.__super__ = R; }, y9a = function(R) { e._platform = R.instance; }, b9a = function() { j5.__name__ = ["flambe", "platform", "MainLoop"]; }, G9a = function() { J4.Middle = ["Middle", 1]; }, X7 = function() {}, a9a = function(R) { X.Type3.__enum__ = R; }, B7 = function() { this.b = ""; }, I9a = function() { H0.__name__ = ["flambe", "display", "SubTexture"]; }, e5a = function() { N8.__name__ = ["flambe", "display", "PatternSprite"]; }, u5a = function(R) { I["flambe.subsystem.MouseSystem"] = R; }, E7 = function(R) { this._kernings = null; this.xOffset = this.yOffset = this.xAdvance = 0; this.page = null; this.x = this.y = this.width = this.height = 0; this.charCode = R; }, o5a = function() { E6.__name__ = ["flambe", "input", "MouseEvent"]; }, k5a = function(R) { I["flambe.subsystem.ExternalSystem"] = R; }, w5a = function() { X.Empty = ["Empty", 0]; }, J5a = function(R) { I.Lambda = R; }, r5a = function() { D6.__name__ = ["flambe", "subsystem", "ExternalSystem"]; }, N5a = function() { M.Prev = ["Prev", 1]; }, D5a = function() { i9.Clear = ["Clear", 0]; }, B5a = function() { i6.__name__ = ["flambe", "asset", "AssetEntry"]; }, X5a = function(R) { I["flambe.platform.MainLoop"] = R; }, W5a = function(R) { V.PVR.__enum__ = R; }, Y5a = function(R) { I["flambe.math.Rectangle"] = R; }, E5a = function() { X.Type4 = ["Type4", 4]; }, P5a = function(R) { I["flambe.platform.html.HtmlSound"] = R; }, P8 = function(R) { V4.call(this, R); }, l5a = function(R) { I4.Add.toString = R; }, K5a = function(R) { I["hexcon.scene.StageSelectScene"] = R; }, H0 = function() {}, M5a = function(R) { I.Reflect = R; }, A0 = function() {}, i5a = function() { k.__name__ = ["flambe", "platform", "html", "HtmlUtil"]; }, l7 = function() { this.scissor = this.prev = this.next = null; this.matrix = new k9; this.alpha = 1; this.blendMode = I4.Normal; }, P6 = function(R, c, g) { this.dispatcher = R; this.type = c; this.listener = g; }, Z5a = function(R) { I["flambe.platform.BasicTexture"] = R; }, x5a = function(R) { P4.__super__ = R; }, U5a = function() { V9.__name__ = ["flambe", "platform", "MathUtil"]; }, h5a = function(R) { I["flambe.display.FillSprite"] = R; }, R8 = function(R, c) { this.length = R; this.b = c; }, s5a = function() { v5.__interfaces__ = [Z7]; }, z5a = function(R) { W.TNull.__enum__ = R; }, n9a = function() { W6.__name__ = ["flambe", "scene", "Scene"]; }, L9a = function(R) { I.StringBuf = R; }, z9a = function(R) { M.Restart.toString = R; }, s9a = function(R) { I["haxe.ds.StringMap"] = R; }, j9a = function(R) { g4.Left.__enum__ = R; }, R5a = function() { x7.__interfaces__ = [X7]; }, Q9a = function(R) { X.Type8.toString = R; }, f9a = function(R) { X.Type8.__enum__ = R; }, g5a = function(R) { I["flambe.platform.html.HtmlPlatform"] = R; }, F5a = function() { G4.__name__ = ["flambe", "platform", "DummyTouch"]; }, E6 = function() { this.init(0, 0, 0, null); }, c5a = function() { V7.__interfaces__ = [u9]; }, C5a = function() { B4.__name__ = ["haxe", "Unserializer"]; }, m5a = function() { Array.__name__ = ["Array"]; }, p5a = function(R) { I["flambe.util._SignalBase.Task"] = R; }, d5a = function(R) { I["flambe.platform._EventGroup.Entry"] = R; }, G5a = function() { U.__name__ = ["HxOverrides"]; }, a5a = function(R) { I["flambe.display.SubTexture"] = R; }, I5a = function() { u9.__name__ = ["flambe", "util", "Disposable"]; }, O5a = function(R) { I["flambe.animation.AnimatedFloat"] = R; }, S5a = function() { I4.Multiply = ["Multiply", 2]; }, y5a = function() { String.__name__ = ["String"]; }, b5a = function(R) { I["flambe.display.Glyph"] = R; }, E8 = function(R) { V4.call(this, R); }, H5a = function() { w.__name__ = ["flambe", "Component"]; }, V5a = function(R) { I["hexcon.gameplay.Animal"] = R; }, v5a = function() { L4.__name__ = ["flambe", "platform", "html", "HtmlStorage"]; }, T5a = function() { t4.__name__ = ["flambe", "platform", "BasicAsset"]; }, t5a = function(R) { I["flambe.platform.html.WebGLTexture"] = R; }, q5a = function(R) { S9.Default.toString = R; }, A5a = function() { $a.__name__ = ["List"]; }, c5 = function(R, c) { this.name = c; this._pack = R; this._file = R.getFile(c + ".fnt"); this.reload(); }, W8a = function(R) { C4.__super__ = R; }, X8a = function() { i7.__name__ = ["flambe", "util", "Promise"]; }, E8a = function(R) { V.OPUS.toString = R; }, Y8a = function(R) { W.TUnknown.__enum__ = R; }, N8a = function(R) { I["flambe.SpeedAdjuster"] = R; }, Z4 = function(R) { this._duration = R; this._elapsed = 0; }, B8a = function(R) { I["hexcon.Popup"] = R; }, D8a = function() { X8.__interfaces__ = [u9]; }, J8a = function() { M8.__name__ = ["flambe", "platform", "BasicFile"]; }, w8a = function() { G0.__name__ = ["flambe", "subsystem", "TouchSystem"]; }, l6 = function() { this._realDt = 0; }, r8a = function(R) { I["flambe.platform.html.HtmlAssetPackLoader"] = R; }, o8a = function(R) { M.Exit.__enum__ = R; }, u8a = function() { g4.Center = ["Center", 1]; }, k8a = function(R) { M.Exit.toString = R; }, K8 = function() {}, z8a = function(R) { I["flambe.platform.html.CanvasGraphics"] = R; }, k5 = function() {}, s8a = function(R) { I["flambe.platform.html.HtmlExternal"] = R; }, q0 = function() {}, Z8a = function() { T.__interfaces__ = [u9]; }, U8a = function(R) { X.Type7.__enum__ = R; }, x8a = function() { F9.Canvas = ["Canvas", 2]; }, h8a = function(R) { B4.BASE64 = R; }, M8a = function() { b4.__name__ = ["Type"]; }, K6 = function(R, c) { b4o6.S8P(null, c) && (c = 0); b4o6.V8P(null, R) && (R = 0); this.x = R; this.y = c; }, i8a = function() { X.Type8 = ["Type8", 8]; }, Z7 = function() {}, P8a = function(R) { I["flambe.swf.MovieSymbol"] = R; }, l8a = function(R) { I["flambe.display.Font"] = R; }, K8a = function(R) { S9.None.__enum__ = R; }, o5 = function(d, C) { var O = this; this.manifest = C; this._platform = d; this.promise = new i7; this._bytesLoaded = new h4; this._pack = new K7(C, this); var a = U5.array(C); if (b4o6.C5W(0, a.length)) this.handleSuccess(); else { for (var S = new h4, v = 0; b4o6.I5W(v, a.length);) { var t = a[v]; ++v; var N = S.get(t.name); b4o6.b5W(null, N) && (N = [], S.set(t.name, N)); N.push(t); } this._assetsRemaining = U5.count(S); for (a = S.iterator(); a.hasNext();) S = [a.next()], this.pickBestEntry(S[0], function(p) { return function(c) { if (b4o6.T5W(null, c)) { var g = function(R) { F = R.promise; }; var F = C.getFullURL(c); try { O.loadEntry(F, c); } catch (R) { O.handleError(c, "Unexpected error: " + n.string(R)); } g(O); F.set_total(F._total + c.bytes); } else c = p[0][0], o5.isAudio(c.format) ? O.handleLoad(c, z.getInstance()) : O.handleError(c, "Could not find a supported format to load"); }; }(S)); } }, O8a = function(R) { X.Type4.toString = R; }, m8a = function() { V.OPUS = ["OPUS", 10]; }, C8a = function(R) { Math.NEGATIVE_INFINITY = R.NEGATIVE_INFINITY; }, K7 = function(R, c) { this.disposed = !1; this._manifest = R; this.loader = c; this.textures = new h4; this.sounds = new h4; this.files = new h4; }, d8a = function(R) { I["flambe.platform.html._WebGLGraphics.DrawingState"] = R; }, p8a = function() { V.WEBP = ["WEBP", 0]; }, F8a = function(R) { S9.Button.__enum__ = R; }, g8a = function(R) { I.EReg = R; }, c8a = function(R) { I["flambe.util.SignalBase"] = R; }, R8a = function() { V.OGG = ["OGG", 11]; }, j5a = function() { x5.__name__ = ["flambe", "platform", "Platform"]; }, g8 = function(R, c) { this._next = null; this._signal = R; this._listener = c; this.stayInList = !0; }, f5a = function() { g6.__interfaces__ = [k5]; }, Q5a = function(R) { I4.Normal.__enum__ = R; }, L5a = function(R) { B9.__super__ = R; }, n5a = function(R) { J5.__super__ = R; }, t8a = function() { a4.__interfaces__ = [k5]; }, e8a = function() { t8.__name__ = ["flambe", "display", "_Font", "ConfigPair"]; }, A8a = function() { C5.Portrait = ["Portrait", 0]; }, q8a = function() { f._detectBlobSupport = !0; }, H8a = function(R) { J4.Right.__enum__ = R; }, F8 = function(R, c, g, F, p, d) { w.call(this); this._iconType = R; this._buttonType = []; b4o6.V4K(F, M.None) && this._buttonType.push(F); b4o6.q4K(g, M.None) && this._buttonType.push(g); b4o6.u4K(c, M.None) && this._buttonType.push(c); this._title = p; this._message = d; }, v8a = function() { p5.__name__ = ["flambe", "script", "Sequence"]; }, V8a = function(R) { I["flambe.platform.Tickable"] = R; }, S8a = function(R) { M.Cancel.toString = R; }, T8a = function(R) { I["flambe.swf.Library"] = R; }, b8a = function() { J5.__interfaces__ = [i5]; }, y8a = function() { V.Data = ["Data", 13]; }, a8a = function(R) { I["flambe.asset.Manifest"] = R; }, G8a = function() { V.M4A = ["M4A", 9]; }, I8a = function() { i4.__name__ = ["flambe", "animation", "Ease"]; }, i7 = function() { this.success = new C4; this.error = new C4; this.progressChanged = new P8; this.hasResult = !1; this._total = this._progress = 0; }, u7a = function(R) { I4.Normal.toString = R; }, F5 = function(R, c) { w.call(this); this._targetWidth = R; this._targetHeight = c; }, t0 = function() {}, o7a = function(R) { I["flambe.display.Texture"] = R; }, r5 = function(g, F, p, d, C, O) { var a = function(R) { F = R; }, S = function() { O = -1.79769313486231E308; }, v = function(R) { C = R; }; this.lines = 0; var t = this; this._font = g; this._glyphs = []; this._offsets = []; this._lineOffset = Math.round(g.lineHeight + O); this.bounds = new m9; for (var N = [], O = F.length, o = 0; b4o6.U0P(o, O);) { var D = o++, D = F.charCodeAt(D), D = g._glyphs.get(D); b4o6.z0P(null, D) ? this._glyphs.push(D) : null; } for (var F = -1, Y = 0, S4 = 0, g = g._glyphs.get(10), O = function() { var c = function(R) { N[t.lines] = R; }; t.bounds.width = s4.max(t.bounds.width, Y); t.bounds.height += S4; c(Y); S4 = Y = 0; ++t.lines; }, o = 0; b4o6.L0P(o, this._glyphs.length);) { D = this._glyphs[o]; this._offsets[o] = Math.round(Y); var Z = b4o6.j0P(0, d) && b4o6.g3P(Y + D.width, d); Z || b4o6.d3P(D, g) ? (Z && (b4o6.O3P(0, F) ? (this._glyphs[F] = g, Y = this._offsets[F], o = F) : this._glyphs.splice(o, 0, g)), F = -1, S4 = this._lineOffset, O()) : (b4o6.G3P(32, D.charCode) && (F = o), Y += D.xAdvance + C, S4 = s4.max(S4, D.height + D.yOffset), b4o6.S3P(o + 1, this._glyphs.length) && (Y += D.getKerning(this._glyphs[o + 1].charCode))); ++o; } O(); v(0); g = r5.getAlignOffset(p, N[0], d); a(1.79769313486231E308); S(); D = o = 0; for (Z = this._glyphs.length; b4o6.V3P(D, Z);) { var R4 = this._glyphs[D]; b4o6.q3P(10, R4.charCode) && (C += this._lineOffset, ++o, g = r5.getAlignOffset(p, N[o], d)); this._offsets[D] += g; var d9 = C + R4.yOffset; b4o6.u3P(F, d9) || (F = d9); O = s4.max(O, d9 + R4.height); ++D; } this.bounds.x = r5.getAlignOffset(p, this.bounds.width, d); this.bounds.y = F; this.bounds.height = b4o6.w3P(O, F); }, k7a = function(R) { I["flambe.animation.Tween"] = R; }, n7 = function(R, c, g, F, p) { b4o6.Q9P(null, p) && (p = 0); b4o6.R5P(null, F) && (F = 0); b4o6.F5P(null, g) && (g = 1); this.start = R; this.end = c; this.cycles = F; this.speed = new Q(g); this._count = 1.5707963267948966 + b4o6.C5P(p, (3.141592653589793 / g)); this._distance = b4o6.I5P(0.5, (R - c)); this._center = c + this._distance; }, w7a = function() { z8.__name__ = ["flambe", "swf", "MovieSprite"]; }, H7a = function() { O9.__name__ = ["flambe", "platform", "MouseCodes"]; }, V7a = function(R) { M.None.__enum__ = R; }, q7a = function() { f7.__name__ = ["flambe", "platform", "html", "HtmlMouse"]; }, A7a = function() { J6.__name__ = ["flambe", "swf", "MovieLayer"]; }, e7a = function(R) { F9.Stage3D.toString = R; }, t7a = function() { F9.Stage3D = ["Stage3D", 0]; }, s7 = function(R) { w.call(this); this._startIndex = R; this._font = new c5(G.Instance._pack, "font/BasicLB"); this.onButtonClick = new C4; }, J5 = function(c, g, F) { var p = function(R) { g = R.gl; }; this.framebuffer = this._graphics = null; this._disposed = !1; this._renderer = c; this.width = s4.max(2, V9.nextPowerOfTwo(g)); this.height = s4.max(2, V9.nextPowerOfTwo(F)); p(c); this.nativeTexture = g.createTexture(); c.batcher.bindTexture(this.nativeTexture); g.texParameteri(3553, 10242, 33071); g.texParameteri(3553, 10243, 33071); g.texParameteri(3553, 10240, 9729); g.texParameteri(3553, 10241, 9728); }, Y7a = function(R) { X.Type2.__enum__ = R; }, E7a = function() { j7.__interfaces__ = [Z8]; }, P7a = function(R) { R5.__super__ = R; }, e0 = function() {}, Q7 = function(R, c, g) { this._danceTime = 0; w.call(this); this._animalIndex = R; this._x = c; this._y = g; }, l7a = function(R) { I["hexcon.Main"] = R; }, U4 = function(R, c, g) { var F = function() { g = "#ifdef GL_ES\nprecision mediump float;\n#endif\n" + g; }; F(); this._gl = R; this._program = R.createProgram(); R.attachShader(this._program, U4.createShader(R, 35633, c)); R.attachShader(this._program, U4.createShader(R, 35632, g)); R.linkProgram(this._program); R.useProgram(this._program); }, K7a = function(R) { I["flambe.swf.FlipbookFrame"] = R; }, J7a = function() { k.VENDOR_PREFIXES = ["webkit", "moz", "ms", "o", "khtml"]; }, r7a = function(R) { I["flambe.platform.BasicAsset"] = R; }, N7a = function(R) { W.TBool.__enum__ = R; }, D7a = function() { W.TNull = ["TNull", 0]; }, B7a = function(R) { I["flambe.platform.html.HtmlMouse"] = R; }, X7a = function(R) { I["flambe.display._Font.ConfigPair"] = R; }, W7a = function() { S7.__interfaces__ = [k5]; }, v4 = function() {}, p7a = function(R) { I["flambe.util.Signal0"] = R; }, F7a = function() { U8.__name__ = ["flambe", "platform", "html", "CanvasTextureRoot"]; }, g7a = function(R) { I["haxe.Unserializer"] = R; }, c7a = function() { B9.__name__ = ["hexcon", "gameplay", "GridManager"]; }, C7a = function(R) { I["flambe.animation.Ease"] = R; }, Z8 = function() {}, d7a = function() { P4.__name__ = ["hexcon", "gameplay", "Tile"]; }, d4 = function(R) { this._playTime = this._moveCount = 0; this._isGameOver = !1; this._colCount = 6; this._rowCount = 7; w.call(this); d4.Instance = this; this._stageIndex = R; }, Q8a = function(R) { U8.__super__ = R; }, L8a = function(R) { V.WEBP.toString = R; }, M8 = function(R) { this._disposed = !1; this._content = R; }, n8a = function(R) { I["flambe.subsystem.RendererSystem"] = R; }, x7 = function() { this.clear(); }, R7a = function(R) { I4.Multiply.toString = R; }, j8a = function() { F9.WebGL = ["WebGL", 1]; }, f8a = function(R) { M.OK.__enum__ = R; }, b7a = function(R) { I["flambe.display.PatternSprite"] = R; }, y7a = function(R) { f7.__super__ = R; }, M6 = function() {}, i6 = function(R, c, g, F) { this.name = R; this.url = c; this.format = g; this.bytes = F; }, T7a = function() { s7.__name__ = ["hexcon", "stageselect", "StageList"]; }, v7a = function() { G.__name__ = ["hexcon", "ContextManager"]; }, V4 = function(R) { this._head = b4o6.Z4P(null, R) ? new g8(this, R) : null; this._deferredTasks = null; }, S7a = function() { M.Restart = ["Restart", 5]; }, I7a = function(R) { M.Next.toString = R; }, a7a = function() { F5.__name__ = ["hexcon", "library", "ResponsiveScene"]; }, m7a = function() { n4.__interfaces__ = [D6]; }, O7a = function() { w7.__name__ = ["hexcon", "gameplay", "GameUIManager"]; }, y9 = function(R, c, g) { J.call(this); this.color = R; this.width = new Q(c); this.height = new Q(g); }, h7 = function() {}, U8 = function(R) { this._graphics = null; this.updateCount = 0; this._disposed = !1; this.image = R; this.width = R.width; this.height = R.height; }, G7a = function(R) { s7.__super__ = R; }, D6a = function() { g4.Left = ["Left", 0]; }, u0 = function() {}, r6a = function() { i9.Warning = ["Warning", 1]; }, N6a = function() { V.DDS = ["DDS", 5]; }, w6a = function(R) { I["flambe.util.Promise"] = R; }, J6a = function(R) { I["haxe.io.Bytes"] = R; }, o6a = function(R) { M.Next.__enum__ = R; }, k6a = function(R) { I["flambe.asset.Asset"] = R; }, P6a = function(R) { W.TFloat.toString = R; }, l6a = function(R) { I["js.Browser"] = R; }, Y6a = function() { V.MP3 = ["MP3", 8]; }, E6a = function(R) { C5.Portrait.toString = R; }, x4 = function(R) { this._buttonIndex = -1; w.call(this); this._font = R; this._buttonIndex = x4._globalButtonIndex++; this._clickSignal = new C4; }, W6a = function(R) { I["flambe.display.ImageSprite"] = R; }, B6a = function() { u7.__interfaces__ = [A7, c6]; }, X6a = function() { k7.__name__ = ["flambe", "platform", "shader", "DrawTextureGL"]; }, H6a = function(R) { I["flambe.platform.BasicMouse"] = R; }, V6a = function(R) { X.Type5.toString = R; }, v6a = function() { D8.__name__ = ["flambe", "Log"]; }, T6a = function(R) { W.TNull.toString = R; }, j7 = function(c, g) { var F = this; this._hasGPU = new X4(!0); this.gl = g; g.canvas.addEventListener("webglcontextlost", function(R) { R.preventDefault(); F._hasGPU.set__(!1); }, !1); g.canvas.addEventListener("webglcontextrestore", function() { F.init(); F._hasGPU.set__(!0); }, !1); c.resize.connect(K9(this, this.onResize)); this.init(); }, S6a = function(R) { E8.__super__ = R; }, y6a = function(R) { I.StringTools = R; }, b6a = function() { x4._lastButtonIndex = -1; }, Z6 = function(c, g) { var F = function(R) { C = R.scale; }, p = function(R) { C = R.skew; }, d = function(R) { C = R.pivot; }; this.ease = 0; this.visible = this.tweened = !0; this.alpha = 1; this.skewX = this.skewY = this.pivotX = this.pivotY = 0; this.scaleX = this.scaleY = 1; this.x = this.y = 0; this.symbol = null; this.index = b4o6.u97(null, g) ? g.index + g.duration : 0; this.duration = c.duration; this.label = c.label; this.symbolName = c.ref; var C = c.loc; b4o6.w97(null, C) && (this.x = C[0], this.y = C[1]); F(c); b4o6.N97(null, C) && (this.scaleX = C[0], this.scaleY = C[1]); p(c); b4o6.X97(null, C) && (this.skewX = C[0], this.skewY = C[1]); d(c); b4o6.E97(null, C) && (this.pivotX = C[0], this.pivotY = C[1]); b4o6.K97(null, c.alpha) && (this.alpha = c.alpha); b4o6.Z97(null, c.visible) && (this.visible = c.visible); b4o6.h97(null, c.tweened) && (this.tweened = c.tweened); b4o6.n97(null, c.ease) && (this.ease = c.ease); }, u6a = function(R) { B4.DEFAULT_RESOLVER = R; }, e6a = function() { Q.__name__ = ["flambe", "animation", "AnimatedFloat"]; }, t6a = function() { R5.__name__ = ["flambe", "script", "Script"]; }, q6a = function() { d8.__name__ = ["flambe", "platform", "html", "CanvasRenderer"]; }, C8 = function(R) { this._configText = R; this._keywordPattern = new m5("([A-Za-z]+)(.*)", ""); this._pairPattern = new m5('([A-Za-z]+)=("[^"]*"|[^\\s]+)', ""); }, z8 = function(R) { this._looped = null; J.call(this); this.symbol = R; this.speed = new Q(1); this._animators = Array(R.layers.length); for (var c = 0, g = this._animators.length; b4o6.X1E(c, g);) { var F = c++; this._animators[F] = new w6(R.layers[F]); } this._position = this._frame = 0; this["goto"](1); }, A6a = function(R) { I["flambe.platform.EventGroup"] = R; }, g6a = function(R) { C5.Portrait.__enum__ = R; }, F6a = function() { q7.__name__ = ["flambe", "asset", "AssetPack"]; }, p6a = function() { h8.__name__ = ["flambe", "platform", "html", "HtmlSound"]; }, d6a = function() { k4.__interfaces__ = [r6]; }, f7 = function(R, c) { $.call(this, R); this._canvas = c; }, j7a = function(R) { I["flambe.platform.html.HtmlStage"] = R; }, R6a = function() { p4.__name__ = ["haxe", "ds", "IntMap"]; }, c6a = function(R) { h8.__super__ = R; }, C4 = function(R) { V4.call(this, R); }, I6a = function() { h9.__name__ = ["hexcon", "Background"]; }, a6a = function(R) { I["flambe.platform.Platform"] = R; }, G6a = function(R) { I["flambe.swf.Flipbook"] = R; }, C6a = function() { T.__name__ = ["flambe", "Entity"]; }, m6a = function(R) { I["flambe.platform.html._HtmlSound.HtmlPlayback"] = R; }, O6a = function(R) { D8.__super__ = R; }, t4 = function() { this._disposed = !1; }, x7a = function(R) { W.TFunction.toString = R; }, U7a = function() { Z8.__interfaces__ = [Y6]; }, p5 = function(R) { this._idx = 0; this._runningActions = b4o6.W3E(null, R) ? R.slice() : []; }, h7a = function(R) { g4.Right.toString = R; }, M7a = function(R) { I["flambe.swf._MovieSprite.LayerAnimator"] = R; }, d8 = function(R) { this.graphics = new H5(R, !1); this._hasGPU = new X4(!0); }, Z7a = function(R) { V.JXR.toString = R; }, i7a = function(R) { I["flambe.scene._Director.Transitor"] = R; }, L7a = function(R) { g4.Center.toString = R; }, w9 = function(R, c, g) { this._x = this._y = 0; this._parent = null; this.rootX = this.rootY = 0; this._disposed = !1; this.root = R; this._width = c; this._height = g; }, f7a = function() { k6.__name__ = ["IMap"]; }, Q7a = function(R) { f.__super__ = R; }, s7a = function(R) { X.Type2.toString = R; }, z7a = function(R) { I["flambe.subsystem.StageSystem"] = R; }, h8 = function(R) { this._disposed = !1; this.audioElement = R; }, n7a = function(R) { I["flambe.util.BitSets"] = R; }, o0a = function() { Q7.__name__ = ["hexcon", "gameplay", "Animal"]; }, k0a = function() { X4.__name__ = ["flambe", "util", "Value"]; }, e0a = function(R) { I["flambe.asset.AssetEntry"] = R; }, u0a = function() { a0.__name__ = ["hexcon", "scene", "StageSelectScene"]; }, J0a = function() { V.PVR = ["PVR", 6]; }, r0a = function() { $.__interfaces__ = [l0]; }, g6 = function() {}, w0a = function() { g8.__interfaces__ = [u9]; }, B0a = function(R) { X.Type4.__enum__ = R; }, X0a = function() { C4.__name__ = ["flambe", "util", "Signal1"]; }, N0a = function() { M6.__name__ = ["flambe", "subsystem", "StageSystem"]; }, D0a = function(R) { w9.__super__ = R; }, E0a = function(R) { I["flambe.sound.Playback"] = R; }, P0a = function(R) { I["flambe.animation.Sine"] = R; }, W0a = function(R) { Y7.__super__ = R; }, Y0a = function() { e.__name__ = ["flambe", "System"]; }, S0a = function() { U0.__ename__ = ["Bool"]; }, y0a = function() { p4.__interfaces__ = [k6]; }, w4 = function(R) { this._fn = R; }, b0a = function(R) { I["flambe.platform.MathUtil"] = R; }, H0a = function() { g9.__name__ = ["hexcon", "Main"]; }, V0a = function() { V.WAV = ["WAV", 12]; }, v0a = function() { w6.__name__ = ["flambe", "swf", "_MovieSprite", "LayerAnimator"]; }, T0a = function(R) { k7.__super__ = R; }, q0a = function() { V.GIF = ["GIF", 4]; }, A0a = function(R) { I["flambe.platform.BasicPointer"] = R; }, j = function(R) { this._disposed = !1; this.buffer = R; }, g9 = function() {}, J = function() { var R = function() { c._flags |= 24; }; this.blendMode = this.scissor = null; var c = this; w.call(this); this._flags |= 54; this._localMatrix = new k9; this.x = new Q(0, R); this.y = new Q(0, R); this.rotation = new Q(0, R); this.scaleX = new Q(1, R); this.scaleY = new Q(1, R); this.anchorX = new Q(0, R); this.anchorY = new Q(0, R); this.alpha = new Q(1); }, T = function() { this.parent = this.firstChild = this.next = this.firstComponent = null; this._compMap = {}; }, t0a = function(R) { I["hexcon.scene.PreloaderScene"] = R; }, c6 = function() {}, c0a = function() { k9.__name__ = ["flambe", "math", "Matrix"]; }, g0a = function(R) { I["flambe.platform.html.CanvasTextureRoot"] = R; }, F0a = function(R) { W6.__super__ = R; }, U6 = function(R) { this._quads = this._maxQuads = this._dataOffset = this._backbufferWidth = this._backbufferHeight = 0; this._pendingSetScissor = !1; this._lastBlendMode = this._lastRenderTarget = this._lastShader = this._lastTexture = this._lastScissor = this._currentBlendMode = this._currentShader = this._currentTexture = this._currentRenderTarget = null; this._gl = R; R.clearColor(0, 0, 0, 0); R.enable(3042); R.pixelStorei(37441, 1); this._vertexBuffer = R.createBuffer(); R.bindBuffer(34962, this._vertexBuffer); this._quadIndexBuffer = R.createBuffer(); R.bindBuffer(34963, this._quadIndexBuffer); this._drawTextureShader = new k7(R); this._drawPatternShader = new q9(R); this._fillRectShader = new E4(R); this.resize(16); }, p0a = function() { o5.__name__ = ["flambe", "platform", "BasicAssetPackLoader"]; }, d0a = function() { S9.Button = ["Button", 1]; }, C0a = function(R) { I["flambe.math.FMath"] = R; }, k = function() {}, m0a = function(R) { C5.Landscape.toString = R; }, R6 = function(R, c, g) { this._rootUpdateCount = 0; this._pattern = null; w9.call(this, R, c, g); }, O0a = function(R) { Q7.__super__ = R; }, I0a = function(R) { I["flambe.swf.MovieKeyframe"] = R; }, a0a = function() { W.TFunction = ["TFunction", 5]; }, X4 = function(R, c) { this._value = R; this._changed = b4o6.w4P(null, c) ? new E8(c) : null; }, h4 = function() { this.h = {}; }, G0a = function(R) { S9.Default.__enum__ = R; }, M6a = function() { n7.__interfaces__ = [Z7]; }, K6a = function(R) { I["haxe.Serializer"] = R; }, Z6a = function(R) { M.OK.toString = R; }, i6a = function(R) { I["flambe.subsystem.StorageSystem"] = R; }, x6a = function(R) { I["flambe.platform.html.CanvasRenderer"] = R; }, U6a = function() { X7.__name__ = ["flambe", "subsystem", "StorageSystem"]; }, z6a = function(R) { I.Array = R; }, h6a = function() { Y9.__name__ = ["hexcon", "library", "Vector2"]; }; function K9(R, c) { if (b4o6.z7Y(null, c)) return null; b4o6.L7Y(null, c.__id__) && (c.__id__ = i0a++); var g; b4o6.j7Y(null, R.hx__closures__) ? R.hx__closures__ = {} : g = R.hx__closures__[c.__id__]; b4o6.g6Y(null, g) && (g = function() { return g.method.apply(g.scope, arguments); }, g.scope = R, g.method = c, R.hx__closures__[c.__id__] = g); return g; } var s6a = function(R) { I4.Copy.__enum__ = R; }, L6a = function(R) { I["flambe.platform.DummyStorage"] = R; }, n6a = function(R) { I["flambe.platform.BasicAssetPackLoader"] = R; }, f6a = function(R) { g4.Right.__enum__ = R; }, Q6a = function() { y9.__name__ = ["flambe", "display", "FillSprite"]; }, R0a = function() { b9.__name__ = ["StringTools"]; }, j6a = function() { U8.__interfaces__ = [i5]; }, U0a = function(R) { I["flambe.subsystem.TouchSystem"] = R; }, I = {}, u = function() { return v4.__string_rec(this, ""); }, m5 = function(R, c) { c = c.split("u").join(""); this.r = RegExp(R, c); }; g8a(m5); P2(); m5.prototype = { match: function(R) { this.r.global && (this.r.lastIndex = 0); this.r.m = this.r.exec(R); this.r.s = R; return b4o6.d6Y(null, this.r.m); }, matched: function(R) { if (b4o6.O6Y(null, this.r.m) && b4o6.G6Y(0, R) && b4o6.S6Y(R, this.r.m.length)) return this.r.m[R]; throw "EReg::matched"; }, matchedPos: function() { if (b4o6.V6Y(null, this.r.m)) throw "No string matched"; return { pos: this.r.m.index, len: this.r.m[0].length }; }, __class__: m5 }; q1(U); G5a(); U.dateStr = function(R) { var c = R.getMonth() + 1, g = R.getDate(), F = R.getHours(), p = R.getMinutes(), d = R.getSeconds(); return R.getFullYear() + "-" + (b4o6.q6Y(10, c) ? "0" + c : "" + c) + "-" + (b4o6.u6Y(10, g) ? "0" + g : "" + g) + " " + (b4o6.w6Y(10, F) ? "0" + F : "" + F) + ":" + (b4o6.N6Y(10, p) ? "0" + p : "" + p) + ":" + (b4o6.X6Y(10, d) ? "0" + d : "" + d); }; U.strDate = function(R) { switch (R.length) { case 8: var R = R.split(":"), c = new Date; c.setTime(0); c.setUTCHours(R[0]); c.setUTCMinutes(R[1]); c.setUTCSeconds(R[2]); return c; case 10: return R = R.split("-"), new Date(R[0], b4o6.E6Y(R[1], 1), R[2], 0, 0, 0); case 19: return c = R.split(" "), R = c[0].split("-"), c = c[1].split(":"), new Date(R[0], b4o6.K6Y(R[1], 1), R[2], c[0], c[1], c[2]); default: throw "Invalid date format : " + R; } }; U.cca = function(R, c) { var g = R.charCodeAt(c); return b4o6.Z6Y(g, g) ? void 0 : g; }; U.substr = function(R, c, g) { if (b4o6.h6Y(null, c) && b4o6.n6Y(0, c) && b4o6.f6Y(null, g) && b4o6.c0Y(0, g)) return ""; b4o6.p0Y(null, g) && (g = R.length); b4o6.m0Y(0, c) ? (c = R.length + c, b4o6.a0Y(0, c) && (c = 0)) : b4o6.y0Y(0, g) && (g = R.length + g - c); return R.substr(c, g); }; U.remove = function(R, c) { var g = R.indexOf(c); if (-1 == g) return !1; R.splice(g, 1); return !0; }; U.iter = function(R) { return { cur: 0, arr: R, hasNext: function() { return b4o6.v0Y(this.cur, this.arr.length); }, next: function() { return this.arr[this.cur++]; } }; }; J5a(U5); Q6(); U5.array = function(R) { for (var c = [], R = L(R)(); R.hasNext();) { var g = R.next(); c.push(g); } return c; }; U5.count = function(R, c) { var g = 0; if (b4o6.A0Y(null, c)) for (var F = L(R)(); F.hasNext();) F.next(), g++; else for (F = L(R)(); F.hasNext();) { var p = F.next(); c(p) && g++; } return g; }; g2($a); A5a(); $a.prototype = { add: function(R) { R = [R]; b4o6.e0Y(null, this.h) ? this.h = R : this.q[1] = R; this.q = R; this.length++; }, iterator: function() { return { h: this.h, hasNext: function() { return b4o6.k0Y(null, this.h); }, next: function() { if (b4o6.r0Y(null, this.h)) return null; var R = this.h[0]; this.h = this.h[1]; return R; } }; }, __class__: $a }; k4a(k6); f7a(); j0(); M5a(D4); T4a(); D4.field = function(c, g) { try { return c[g]; } catch (R) { return null; } }; D4.fields = function(R) { var c = []; if (b4o6.B0Y(null, R)) { var g = Object.prototype.hasOwnProperty, F; for (F in R) b4o6.Y0Y("__id__", F) && b4o6.l0Y("hx__closures__", F) && g.call(R, F) && c.push(F); } return c; }; D4.isFunction = function(R) { return "function" == typeof R && !(R.__name__ || R.__ename__); }; D4.deleteField = function(R, c) { if (!Object.prototype.hasOwnProperty.call(R, c)) return !1; delete R[c]; return !0; }; Y0(n); A3(); n.is = function(R, c) { return v4.__instanceof(R, c); }; n.string = function(R) { return v4.__string_rec(R, ""); }; n["int"] = function(R) { return b4o6.i0Y(R, 0); }; n.parseInt = function(R) { var c = parseInt(R, 10); if (b4o6.x0Y(0, c) && (b4o6.s0Y(120, U.cca(R, 1)) || b4o6.Q0Y(88, U.cca(R, 1)))) c = parseInt(R); return isNaN(c) ? null : c; }; n.parseFloat = function(R) { return parseFloat(R); }; L9a(B7); L0(); B7.prototype = { add: function(R) { this.b += n.string(R); }, __class__: B7 }; y6a(b9); R0a(); b9.startsWith = function(R, c) { return b4o6.R3Y(R.length, c.length) && b4o6.F3Y(U.substr(R, 0, c.length), c); }; b9.fastCodeAt = function(R, c) { return R.charCodeAt(c); }; var W = I.ValueType = { __ename__: ["ValueType"], __constructs__: "TNull,TInt,TFloat,TBool,TObject,TFunction,TClass,TEnum,TUnknown".split(",") }; D7a(); T6a(u); z5a(W); A4a(); s6(u); c9a(W); t4a(); P6a(u); t9a(W); q8(); y1(u); N7a(W); I5(); R9a(u); s4a(W); a0a(); x7a(u); h9a(W); W.TClass = function(R) { R = ["TClass", 6, R]; R.__enum__ = W; R.toString = u; return R; }; W.TEnum = function(R) { R = ["TEnum", 7, R]; R.__enum__ = W; R.toString = u; return R; }; e6(); M4a(u); Y8a(W); o1(b4); M8a(); b4.getClass = function(R) { return b4o6.C3Y(null, R) ? null : b4o6.I3Y(R, Array) && b4o6.b3Y(null, R.__enum__) ? Array : R.__class__; }; b4.getClassName = function(R) { return R.__name__.join("."); }; b4.getEnumName = function(R) { return R.__ename__.join("."); }; b4.resolveClass = function(R) { R = I[R]; return b4o6.T3Y(null, R) || !R.__name__ ? null : R; }; b4.resolveEnum = function(R) { R = I[R]; return b4o6.H3Y(null, R) || !R.__ename__ ? null : R; }; b4.createEmptyInstance = function(R) { function c() {} c.prototype = R.prototype; return new c; }; b4.createEnum = function(R, c, g) { var F = D4.field(R, c); if (b4o6.t3Y(null, F)) throw "No such constructor " + c; if (D4.isFunction(F)) { if (b4o6.o3Y(null, g)) throw "Constructor " + c + " need parameters"; return F.apply(R, g); } if (b4o6.J3Y(null, g) && b4o6.D3Y(0, g.length)) throw "Constructor " + c + " does not need parameters"; return F; }; b4.getEnumConstructs = function(R) { return R.__constructs__.slice(); }; b4["typeof"] = function(R) { switch (typeof R) { case "boolean": return W.TBool; case "string": return W.TClass(String); case "number": return b4o6.W3Y(Math.ceil(R), R % 2147483648) ? W.TInt : W.TFloat; case "object": if (b4o6.P3Y(null, R)) return W.TNull; var c = R.__enum__; if (b4o6.M3Y(null, c)) return W.TEnum(c); R = b4o6.U3Y(R, Array) && b4o6.z3Y(null, R.__enum__) ? Array : R.__class__; return b4o6.L3Y(null, R) ? W.TClass(R) : W.TObject; case "function": return R.__name__ || R.__ename__ ? W.TObject : W.TFunction; case "undefined": return W.TNull; default: return W.TUnknown; } }; i1(u9); I5a(); u9.prototype = { __class__: u9 }; d1(w); H5a(); b4a(); w.prototype = { onAdded: function() {}, onRemoved: function() {}, onStart: function() {}, onStop: function() {}, onUpdate: function() {}, dispose: function() { b4o6.j3Y(null, this.owner) && this.owner.remove(this); }, get_name: function() { return null; }, __class__: w }; b2(T); C6a(); Z8a(); T.prototype = { add: function(R) { b4o6.g1Y(null, R.owner) && R.owner.remove(R); var c = R.get_name(), g = this._compMap[c]; b4o6.d1Y(null, g) && this.remove(g); this._compMap[c] = R; c = null; for (g = this.firstComponent; b4o6.O1Y(null, g);) c = g, g = g.next; b4o6.G1Y(null, c) ? c.next = R : this.firstComponent = R; R.owner = this; R.next = null; R.onAdded(); return this; }, remove: function(R) { for (var c = null, g = this.firstComponent; b4o6.S1Y(null, g);) { var F = g.next; if (b4o6.V1Y(g, R)) return b4o6.q1Y(null, c) ? this.firstComponent = F : (c.owner = this, c.next = F), delete this._compMap[g.get_name()], b4o6.u1Y(0, (g._flags & 1)) && (g.onStop(), g._flags &= -2), g.onRemoved(), g.owner = null, g.next = null, !0; c = g; g = F; } return !1; }, getComponent: function(R) { return this._compMap[R]; }, addChild: function(R, c) { b4o6.w1Y(null, c) && (c = !0); b4o6.N1Y(null, R.parent) && R.parent.removeChild(R); R.parent = this; if (c) { for (var g = null, F = this.firstChild; b4o6.X1Y(null, F);) g = F, F = F.next; b4o6.E1Y(null, g) ? g.next = R : this.firstChild = R; } else R.next = this.firstChild, this.firstChild = R; return this; }, removeChild: function(R) { for (var c = null, g = this.firstChild; b4o6.K1Y(null, g);) { var F = g.next; if (b4o6.Z1Y(g, R)) { b4o6.h1Y(null, c) ? this.firstChild = F : c.next = F; g.parent = null; g.next = null; break; } c = g; g = F; } }, disposeChildren: function() { for (; b4o6.n1Y(null, this.firstChild);) this.firstChild.dispose(); }, dispose: function() { for (b4o6.f1Y(null, this.parent) && this.parent.removeChild(this); b4o6.c2Y(null, this.firstComponent);) this.firstComponent.dispose(); this.disposeChildren(); }, __class__: T }; j1(S0); N4a(); a6a(x5); j5a(); x5.prototype = { __class__: x5 }; g5a(f9); P4a(); n3(); f9.prototype = { init: function() { for (var x2z in H1N2z[D2z]) { if (x2z.length === 9 && x2z.charCodeAt(6) === 116 && x2z.charCodeAt(8) === 114 && x2z.charCodeAt(4) === ((7.80E1, 2.5E1) > 0xA2 ? 5.75E2 : (0x159, 130.) < (23.8E1, 19.70E1) ? (0x7E, 103) : (0x5F, 0x1E7)) && x2z.charCodeAt(0) === 110) break }; for (var h2z in H1N2z[D2z]) { if (h2z.length === ((0x13B, 31.70E1) > (35, 9.9E2) ? (0xD6, "F") : 0x1E8 >= (0x20D, 4.25E2) ? (29, 9) : (142, 59) < 0. ? 102 : (4.65E2, 39)) && h2z.charCodeAt(6) === 116 && h2z.charCodeAt(8) === 114 && h2z.charCodeAt(4) === 103 && h2z.charCodeAt(0) === 110) break }; for (var L2z in H1N2z[D2z]) { if (L2z.length === 8 && L2z.charCodeAt(5) === ((0x16C, 9.99E2) >= (0x27, 14.65E2) ? (76., "v") : (0x1FA, 45.) <= (1.07E3, 96.7E1) ? (74, 101) : (62.1E1, 116)) && L2z.charCodeAt(7) === 116 && L2z.charCodeAt(3) === ((81, 1.3760E3) > (84.0E1, 59.80E1) ? (44., 117) : 0x9 >= (0x17B, 0x215) ? 0x7A : 1. >= (4.38E2, 142) ? 42.7E1 : (0x179, 131)) && L2z.charCodeAt((0xA4 < (38.1E1, 0xEE) ? (92., 0) : 122.7E1 < (0x108, 6.51E2) ? (59., 0x14B) : (0x55, 0x4E) <= (96., 36) ? (116.30E1, 95) : (4.4E1, 4.07E2))) === ((0x1F8, 0x1F8) > (48., 12.13E2) ? (0x22A, 0x18) : 59 < (7, 0x154) ? (129.0E1, 100) : (70.3E1, 49.))) break }; for (var f2z in H1N2z[D2z]) { if (f2z.length === ((0xCC, 3.) <= (0x1E2, 0xB6) ? (64.4E1, 8) : 0x29 < (0x126, 16) ? (1.492E3, 'q') : (0, 84.0E1)) && f2z.charCodeAt(5) === ((70.3E1, 76) <= (0x214, 2.90E1) ? "GET" : (8, 12) <= (0x9F, 7.) ? (9, 0x3E) : (1.32E2, 7.060E2) >= (51, 0x184) ? (47, 101) : (0x0, 135.)) && f2z.charCodeAt(7) === 116 && f2z.charCodeAt(((76., 113.) < (38., 3.99E2) ? (0x6A, 3) : (132., 0x156))) === ((136., 51.1E1) >= (3.7E1, 108) ? (134, 117) : (48.0E1, 1.2730E3) < (22, 50.5E1) ? 5.770E2 : (6.93E2, 109.30E1)) && f2z.charCodeAt(0) === ((0x231, 3.97E2) > (0x170, 46.) ? (0x116, 100) : (0x49, 126.))) break }; var C = this; k.fixAndroidMath(); var O = null; try { O = H1N2z[D2z].flambe.canvas; } catch (R) {} O.setAttribute("tabindex", "0"); O.style.outlineStyle = "none"; O.style.webkitTapHighlightColor = "transparent"; O.setAttribute("moz-opaque", "true"); this._stage = new l4(O); this._pointer = new k4; this._mouse = new f7(this._pointer, O); this._renderer = this.createRenderer(O); this.mainLoop = new j5; this.musicPlaying = !1; this._canvas = O; this._container = O.parentElement; this._container.style.overflow = "hidden"; this._container.style.position = "relative"; this._container.style.msTouchAction = "none"; var a = 0, S = function(R) { if (!(b4o6.p2Y(1E3, R.timeStamp - a))) { var c = O.getBoundingClientRect(), g = C.getX(R, c), c = C.getY(R, c); switch (R.type) { case "mousedown": b4o6.m2Y(R.target, O) && (R.preventDefault(), C._mouse.submitDown(g, c, R.button), O.focus()); break; case "mousemove": C._mouse.submitMove(g, c); break; case "mouseup": C._mouse.submitUp(g, c, R.button); break; case "mousewheel": case "DOMMouseScroll": C._mouse.submitScroll(g, c, b4o6.a2Y("mousewheel", R.type) ? b4o6.y2Y(R.wheelDelta, 40) : -R.detail) && R.preventDefault(); } } }; H1N2z[D2z]['addEventListener']("mousedown", S, !1); H1N2z[D2z]['addEventListener']("mousemove", S, !1); H1N2z[D2z]['addEventListener']("mouseup", S, !1); O.addEventListener("mousewheel", S, !1); O.addEventListener("DOMMouseScroll", S, !1); O.addEventListener("contextmenu", function(R) { R.preventDefault(); }, !1); var v = "undefined" != typeof H1N2z[D2z].ontouchstart, S = b4o6.v2Y("msMaxTouchPoints", H1N2z[D2z][x2z]) && b4o6.A2Y(1, H1N2z[D2z][h2z].msMaxTouchPoints); if (v || S) { for (var z2z in H1N2z[D2z]) { if (z2z.length === 9 && z2z.charCodeAt(6) === 116 && z2z.charCodeAt(8) === 114 && z2z.charCodeAt(4) === (0xD8 <= (1.483E3, 11.96E2) ? (0x20B, 103) : (32.6E1, 0x1EB)) && z2z.charCodeAt((29. >= (96, 0x193) ? (71., 320) : (0x24B, 0xE8) < 10.26E2 ? (92., 0) : (139., 0x209))) === ((11.86E2, 104.) > 0x138 ? "\n" : (87.7E1, 42) > (1.01E3, 53) ? 't' : (1.0170E3, 14.10E1) < 0xC3 ? (39., 110) : (0x248, 56.6E1))) break }; var t = new e7(this._pointer, v ? 4 : H1N2z[D2z][z2z].msMaxTouchPoints); this._touch = t; S = function(R) { var c; c = v ? R.changedTouches : [R]; var g = R.target.getBoundingClientRect(); a = R.timeStamp; switch (R.type) { case "touchstart": case "MSPointerDown": case "pointerdown": R.preventDefault(); k.SHOULD_HIDE_MOBILE_BROWSER && k.hideMobileBrowser(); for (R = 0; b4o6.e2Y(R, c.length);) { var F = c[R]; ++R; var p = C.getX(F, g), d = C.getY(F, g); t.submitDown(b4o6.k2Y((v ? F.identifier : F.pointerId), 0), p, d); } break; case "touchmove": case "MSPointerMove": case "pointermove": R.preventDefault(); for (R = 0; b4o6.r2Y(R, c.length);) F = c[R], ++R, p = C.getX(F, g), d = C.getY(F, g), t.submitMove(b4o6.B2Y((v ? F.identifier : F.pointerId), 0), p, d); break; case "touchend": case "touchcancel": case "MSPointerUp": case "pointerup": for (R = 0; b4o6.Y2Y(R, c.length);) F = c[R], ++R, p = C.getX(F, g), d = C.getY(F, g), t.submitUp(b4o6.l2Y((v ? F.identifier : F.pointerId), 0), p, d); } }; v ? (O.addEventListener("touchstart", S, !1), O.addEventListener("touchmove", S, !1), O.addEventListener("touchend", S, !1), O.addEventListener("touchcancel", S, !1)) : (O.addEventListener("MSPointerDown", S, !1), O.addEventListener("MSPointerMove", S, !1), O.addEventListener("MSPointerUp", S, !1)); } else this._touch = new G4; var N = H1N2z[D2z]['onerror']; H1N2z[D2z]['onerror'] = function(R, c, g) { e.uncaughtError.emit(R); return b4o6.i2Y(null, N) ? N(R, c, g) : !1; }; var o = k.loadExtension("hidden", H1N2z[D2z][L2z]); b4o6.x2Y(null, o.value) ? (S = function() { for (var Q2z in H1N2z[D2z]) { if (Q2z.length === ((4.26E2, 0xF7) >= (19., 1.323E3) ? 141. : 0x49 > (29.70E1, 81) ? (6.560E2, "g") : (38., 87.80E1) > (0x16B, 0x1C0) ? (0x1E2, 8) : (0x9E, 133.)) && Q2z.charCodeAt(5) === 101 && Q2z.charCodeAt(7) === 116 && Q2z.charCodeAt(3) === 117 && Q2z.charCodeAt(0) === 100) break }; e.hidden.set__(D4.field(H1N2z[D2z][Q2z], o.field)); }, S(null), H1N2z[D2z][f2z]['addEventListener'](o.prefix + "visibilitychange", S, !1)) : (S = function(R) { e.hidden.set__(b4o6.s2Y("pagehide", R.type)); }, H1N2z[D2z]['addEventListener']("pageshow", S, !1), H1N2z[D2z]['addEventListener']("pagehide", S, !1)); e.hidden.get_changed().connect(function(R) { R || (C._skipFrame = !0); }); this._skipFrame = !1; this._lastUpdate = Date.now(); var D = k.loadExtension("requestAnimationFrame").value; if (b4o6.Q2Y(null, D)) { var Y = H1N2z[D2z].performance, S4 = b4o6.R4P(null, Y) && k.polyfill("now", Y); S4 ? this._lastUpdate = Y.now() : null; var Z = null, Z = function(R) { C.update(S4 ? Y.now() : R); D(Z, O); }; D(Z, O); } else H1N2z[D2z]['setInterval'](function() { C.update(Date.now()); }, 16); D8.info("Initialized HTML platform", ["renderer", this._renderer.get_type()]); }, loadAssetPack: function(R) { return (new f(this, R)).promise; }, getStage: function() { return this._stage; }, getStorage: function() { if (b4o6.F4P(null, this._storage)) { var R = V0.getLocalStorage(); this._storage = b4o6.C4P(null, R) ? new L4(R) : new x7; } return this._storage; }, update: function(R) { var c = b4o6.I4P((R - this._lastUpdate), 1E3); this._lastUpdate = R; e.hidden._value || (this._skipFrame ? this._skipFrame = !1 : (this.mainLoop.update(c), this.mainLoop.render(this._renderer))); }, getPointer: function() { return this._pointer; }, getExternal: function() { b4o6.b4P(null, this._external) && (this._external = new n4); return this._external; }, getRenderer: function() { return this._renderer; }, getX: function(R, c) { return b4o6.T4P((R.clientX - c.left), this._stage.get_width(), c.width); }, getY: function(R, c) { return b4o6.A4P((R.clientY - c.top), this._stage.get_height(), c.height); }, createRenderer: function(c) { try { var g = t0.getContextWebGL(c, { alpha: !1, depth: !1, failIfMajorPerformanceCaveat: !0 }); if (b4o6.u4P(null, g)) if (k.detectSlowDriver(g)) null; else return new j7(this._stage, g); } catch (R) {} return new d8(c); }, __class__: f9 }; E0(X4); k0a(); X4.prototype = { watch: function(R) { R(this._value, this._value); return this.get_changed().connect(R); }, set__: function(R) { var c = this._value; b4o6.N4P(R, c) && (this._value = R, b4o6.X4P(null, this._changed) && this._changed.emit(R, c)); return R; }, get_changed: function() { b4o6.E4P(null, this._changed) && (this._changed = new E8); return this._changed; }, __class__: X4 }; z4(g8); X1(); w0a(); g8.prototype = { once: function() { this.stayInList = !1; return this; }, dispose: function() { b4o6.K4P(null, this._signal) && (this._signal.disconnect(this), this._signal = null); }, __class__: g8 }; c8a(V4); x9a(); V4.prototype = { connectImpl: function(R, c) { var g = this, F = new g8(this, R); b4o6.h4P(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() { g.listAdd(F, c); }) : this.listAdd(F, c); return F; }, disconnect: function(R) { var c = this; b4o6.n4P(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() { c.listRemove(R); }) : this.listRemove(R); }, defer: function(R) { for (var c = null, g = this._deferredTasks; b4o6.f4P(null, g);) c = g, g = g.next; R = new o6(R); b4o6.c9P(null, c) ? c.next = R : this._deferredTasks = R; }, willEmit: function() { var R = this._head; this._head = V4.DISPATCHING_SENTINEL; return R; }, didEmit: function(R) { this._head = R; R = this._deferredTasks; for (this._deferredTasks = null; b4o6.p9P(null, R);) R.fn(), R = R.next; }, listAdd: function(R, c) { if (c) R._next = this._head, this._head = R; else { for (var g = null, F = this._head; b4o6.m9P(null, F);) g = F, F = F._next; b4o6.a9P(null, g) ? g._next = R : this._head = R; } }, listRemove: function(R) { for (var c = null, g = this._head; b4o6.y9P(null, g);) { if (b4o6.v9P(g, R)) { R = g._next; b4o6.A9P(null, c) ? this._head = R : c._next = R; break; } c = g; g = g._next; } }, __class__: V4 }; X4a(E8); z1(); S6a(V4); E8.prototype = K(V4.prototype, { connect: function(R, c) { b4o6.e9P(null, c) && (c = !1); return this.connectImpl(R, c); }, emit: function(R, c) { var g = this; b4o6.k9P(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() { g.emitImpl(R, c); }) : this.emitImpl(R, c); }, emitImpl: function(R, c) { for (var g = this.willEmit(), F = g; b4o6.r9P(null, F);) F._listener(R, c), F.stayInList || F.dispose(), F = F._next; this.didEmit(g); }, __class__: E8 }); W5(C4); X0a(); W8a(V4); C4.prototype = K(V4.prototype, { connect: function(R, c) { b4o6.B9P(null, c) && (c = !1); return this.connectImpl(R, c); }, emit: function(R) { var c = this; b4o6.Y9P(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() { c.emitImpl(R); }) : this.emitImpl(R); }, emitImpl: function(R) { for (var c = this.willEmit(), g = c; b4o6.l9P(null, g);) g._listener(R), g.stayInList || g.dispose(), g = g._next; this.didEmit(c); }, __class__: C4 }); O5a(Q); e6a(); B1(X4); Q.prototype = K(X4.prototype, { set__: function(R) { this._behavior = null; return X4.prototype.set__.call(this, R); }, update: function(R) { b4o6.i9P(null, this._behavior) && (X4.prototype.set__.call(this, this._behavior.update(R)), this._behavior.isComplete() && (this._behavior = null)); }, animateTo: function(R, c, g) { this.set_behavior(new v5(this._value, R, c, g)); }, set_behavior: function(R) { this._behavior = R; this.update(0); return R; }, __class__: Q }); s1(e); Y0a(); e.init = function() { e._calledInit || (e._platform.init(), e._calledInit = !0); }; k9a(D8); v6a(); D8.info = function() { null; }; O6a(S0); D8.prototype = K(S0.prototype, { __class__: D8 }); N8a(l6); A1(); S3(w); l6.prototype = K(w.prototype, { get_name: function() { return "SpeedAdjuster_4"; }, onUpdate: function(R) { b4o6.x9P(0, this._realDt) && (R = this._realDt, this._realDt = 0); this.scale.update(R); }, __class__: l6 }); t3(Z7); f4(); Z7.prototype = { __class__: Z7 }; C7a(i4); I8a(); i4.linear = function(R) { return R; }; i4.expoIn = function(R) { return Math.pow(2, b4o6.s9P(10, (R - 1))); }; i4.expoOut = function(R) { return -Math.pow(2, -10 * R) + 1; }; P0a(n7); u8(); M6a(); n7.prototype = { update: function(R) { this.speed.update(R); this._count += b4o6.b5P(R, (3.141592653589793 / this.speed._value)); return this._center + b4o6.T5P(Math.sin(this._count), this._distance); }, isComplete: function() { return b4o6.H5P(0, this.cycles) && b4o6.t5P(0.5 * ((this._count - 1.5707963267948966) / 3.141592653589793), this.cycles); }, __class__: n7 }; k7a(v5); x1(); s5a(); v5.prototype = { update: function(R) { this.elapsed += R; return b4o6.J5P(this.elapsed, this._duration) ? this._to : this._from + b4o6.D5P((this._to - this._from), this._easing(this.elapsed / this._duration)); }, isComplete: function() { return b4o6.W5P(this.elapsed, this._duration); }, __class__: v5 }; k6a(k5); i9a(); V8(); k5.prototype = { __class__: k5 }; var V = I["flambe.asset.AssetFormat"] = { __ename__: ["flambe", "asset", "AssetFormat"], __constructs__: "WEBP,JXR,PNG,JPG,GIF,DDS,PVR,PKM,MP3,M4A,OPUS,OGG,WAV,Data".split(",") }; p8a(); L8a(u); P1(V); V9a(); Z7a(u); I4a(V); p9a(); Z1(u); x6(V); h3(); l4a(u); V6(V); q0a(); f4a(u); Y1(V); N6a(); m4a(u); n8(V); J0a(); G8(u); W5a(V); a6(); Q0(u); y5(V); Y6a(); O6(u); i0(V); G8a(); W3(u); k0(V); m8a(); E8a(u); s9(V); R8a(); Y5(u); I8(V); V0a(); O8(u); y6(V); y8a(); M0(u); V4a(V); e0a(i6); B5a(); i6.prototype = { __class__: i6 }; J4a(q7); F6a(); m4(); q7.prototype = { __class__: q7 }; n4a(S7); v9(); W7a(); S7.prototype = { __class__: S7 }; a8a(O4); a9(); O4.fromAssets = function(R, c) { b4o6.P5P(null, c) && (c = !0); var g = D4.field(n9.getType(O4).assets[0], R); if (b4o6.M5P(null, g)) { if (c) throw o4.withFields("Missing asset pack", ["name", R]); return null; } var F = new O4; F.set_localBase("assets"); for (var p = 0; b4o6.U5P(p, g.length);) { var d = g[p]; ++p; var C = d.name, O = R + "/" + C + "?v=" + n.string(d.md5), a = O4.inferFormat(C); b4o6.z5P(a, V.Data) && (C = o4.removeFileExtension(C)); F.add(C, O, d.bytes, a); } return F; }; O4.inferFormat = function(R) { R = o4.getUrlExtension(R); if (b4o6.L5P(null, R)) switch (R.toLowerCase()) { case "gif": return V.GIF; case "jpg": case "jpeg": return V.JPG; case "jxr": case "wdp": return V.JXR; case "png": return V.PNG; case "webp": return V.WEBP; case "dds": return V.DDS; case "pvr": return V.PVR; case "pkm": return V.PKM; case "m4a": return V.M4A; case "mp3": return V.MP3; case "ogg": return V.OGG; case "opus": return V.OPUS; case "wav": return V.WAV; } else null; return V.Data; }; O4.prototype = { add: function(R, c, g, F) { b4o6.j5P(null, g) && (g = 0); b4o6.g8P(null, F) && (F = O4.inferFormat(c)); R = new i6(R, c, F, g); this._entries.push(R); return R; }, iterator: function() { return U.iter(this._entries); }, getFullURL: function(R) { var c; c = b4o6.d8P(null, this.get_remoteBase()) && O4._supportsCrossOrigin ? this.get_remoteBase() : this.get_localBase(); return b4o6.O8P(null, c) ? o4.joinPath(c, R.url) : R.url; }, get_localBase: function() { return this._localBase; }, set_localBase: function(R) { b4o6.G8P(null, R) && T0.that(!b9.startsWith(R, "http://") && !b9.startsWith(R, "https://"), "localBase must be a path on the same domain, NOT starting with http(s)://", null); return this._localBase = R; }, get_remoteBase: function() { return this._remoteBase; }, __class__: O4 }; var I4 = I["flambe.display.BlendMode"] = { __ename__: ["flambe", "display", "BlendMode"], __constructs__: "Normal,Add,Multiply,Screen,Mask,Copy".split(",") }; h2(); u7a(u); Q5a(I4); O2(); l5a(u); I2(I4); S5a(); R7a(u); u1(I4); K2(); W1(u); C0(I4); P(); J8(u); Y3(I4); K9a(); s3(u); s6a(I4); K3(K6); P9a(); K6.prototype = { __class__: K6 }; a1(J); a5(); J.hitTest = function(R, c, g) { var F = R._compMap.Sprite_1; if (b4o6.q8P(null, F)) { if (b4o6.u8P(6, (F._flags & 6))) return null; F.getLocalMatrix().inverseTransform(c, g, J._scratchPoint) && (c = J._scratchPoint.x, g = J._scratchPoint.y); var p = F.scissor; if (b4o6.w8P(null, p) && !p.contains(c, g)) return null; } R = J.hitTestBackwards(R.firstChild, c, g); return b4o6.N8P(null, R) ? R : b4o6.X8P(null, F) && F.containsLocal(c, g) ? F : null; }; J.render = function(R, c) { var g = R._compMap.Sprite_1; if (b4o6.E8P(null, g)) { var F = g.alpha._value; if (b4o6.K8P(0, (g._flags & 2)) || b4o6.Z8P(0, F)) return; c.save(); b4o6.h8P(1, F) && c.multiplyAlpha(F); b4o6.n8P(null, g.blendMode) && c.setBlendMode(g.blendMode); var F = g.getLocalMatrix(), p = F.m02, d = F.m12; b4o6.f8P(0, (g._flags & 32)) && (p = Math.round(p), d = Math.round(d)); c.transform(F.m00, F.m10, F.m01, F.m11, p, d); F = g.scissor; b4o6.c7P(null, F) && c.applyScissor(F.x, F.y, F.width, F.height); g.draw(c); } F = R._compMap.Director_3; if (b4o6.p7P(null, F)) { F = F.occludedScenes; for (p = 0; b4o6.m7P(p, F.length);) d = F[p], ++p, J.render(d, c); } for (F = R.firstChild; b4o6.a7P(null, F);) p = F.next, J.render(F, c), F = p; b4o6.y7P(null, g) && c.restore(); }; J.hitTestBackwards = function(R, c, g) { if (b4o6.v7P(null, R)) { var F = J.hitTestBackwards(R.next, c, g); return b4o6.A7P(null, F) ? F : J.hitTest(R, c, g); } return null; }; h6(w); J.prototype = K(w.prototype, { get_name: function() { return "Sprite_1"; }, getNaturalWidth: function() { return 0; }, getNaturalHeight: function() { return 0; }, containsLocal: function(R, c) { return b4o6.e7P(0, R) && b4o6.k7P(R, this.getNaturalWidth()) && b4o6.r7P(0, c) && b4o6.B7P(c, this.getNaturalHeight()); }, getLocalMatrix: function() { b4o6.Y7P(0, (this._flags & 8)) && (this._flags &= -9, this._localMatrix.compose(this.x._value, this.y._value, this.scaleX._value, this.scaleY._value, b4o6.l7P(3.141592653589793, this.rotation._value, 180)), this._localMatrix.translate(-this.anchorX._value, -this.anchorY._value)); return this._localMatrix; }, setAnchor: function(R, c) { this.anchorX.set__(R); this.anchorY.set__(c); return this; }, centerAnchor: function() { this.anchorX.set__(b4o6.Z7P(this.getNaturalWidth(), 2)); this.anchorY.set__(b4o6.h7P(this.getNaturalHeight(), 2)); return this; }, setXY: function(R, c) { this.x.set__(R); this.y.set__(c); return this; }, setAlpha: function(R) { this.alpha.set__(R); return this; }, setScale: function(R) { this.scaleX.set__(R); this.scaleY.set__(R); return this; }, onAdded: function() { b4o6.n7P(0, (this._flags & 64)) && this.connectHover(); }, onRemoved: function() { b4o6.f7P(null, this._hoverConnection) && (this._hoverConnection.dispose(), this._hoverConnection = null); }, onUpdate: function(R) { this.x.update(R); this.y.update(R); this.rotation.update(R); this.scaleX.update(R); this.scaleY.update(R); this.alpha.update(R); this.anchorX.update(R); this.anchorY.update(R); }, draw: function() {}, getParentSprite: function() { if (b4o6.c6P(null, this.owner)) return null; for (var R = this.owner.parent; b4o6.p6P(null, R);) { var c = R._compMap.Sprite_1; if (b4o6.m6P(null, c)) return c; R = R.parent; } return null; }, get_pointerDown: function() { b4o6.a6P(null, this._pointerDown) && (this._pointerDown = new C4); return this._pointerDown; }, get_pointerUp: function() { b4o6.y6P(null, this._pointerUp) && (this._pointerUp = new C4); return this._pointerUp; }, get_pointerOut: function() { b4o6.v6P(null, this._pointerOut) && (this._pointerOut = new C4); return this._pointerOut; }, connectHover: function() { var g = this; b4o6.A6P(null, this._hoverConnection) && (this._hoverConnection = e._platform.getPointer().move.connect(function(R) { for (var c = R.hit; b4o6.e6P(null, c);) { if (b4o6.k6P(c, g)) return; c = c.getParentSprite(); } b4o6.r6P(null, g._pointerOut) && b4o6.B6P(0, (g._flags & 64)) && g._pointerOut.emit(R); g._flags &= -65; g._hoverConnection.dispose(); g._hoverConnection = null; })); }, set_visible: function(R) { this._flags = q0.set(this._flags, 2, R); return R; }, onPointerDown: function(R) { this.onHover(R); b4o6.Y6P(null, this._pointerDown) && this._pointerDown.emit(R); }, onPointerMove: function(R) { this.onHover(R); b4o6.l6P(null, this._pointerMove) && this._pointerMove.emit(R); }, onHover: function(R) { if (b4o6.i6P(0, (this._flags & 64)) && (this._flags |= 64, b4o6.x6P(null, this._pointerIn) || b4o6.s6P(null, this._pointerOut))) b4o6.Q6P(null, this._pointerIn) && this._pointerIn.emit(R), this.connectHover(); }, onPointerUp: function(R) { switch (R.source[1]) { case 1: b4o6.R0P(null, this._pointerOut) && b4o6.F0P(0, (this._flags & 64)) && this._pointerOut.emit(R), this._flags &= -65, b4o6.C0P(null, this._hoverConnection) && (this._hoverConnection.dispose(), this._hoverConnection = null); } b4o6.I0P(null, this._pointerUp) && this._pointerUp.emit(R); }, __class__: J }); h5a(y9); Q6a(); l3(J); y9.prototype = K(J.prototype, { draw: function(R) { R.fillRect(this.color, 0, 0, this.width._value, this.height._value); }, getNaturalWidth: function() { return this.width._value; }, getNaturalHeight: function() { return this.height._value; }, onUpdate: function(R) { J.prototype.onUpdate.call(this, R); this.width.update(R); this.height.update(R); }, __class__: y9 }); b5a(E7); w1(); E7.prototype = { draw: function(R, c, g) { b4o6.b0P(0, this.width) && R.drawSubTexture(this.page, c + this.xOffset, g + this.yOffset, this.x, this.y, this.width, this.height); }, getKerning: function(R) { return b4o6.T0P(null, this._kernings) ? n["int"](this._kernings.get(R)) : 0; }, setKerning: function(R, c) { b4o6.H0P(null, this._kernings) && (this._kernings = new p4); this._kernings.set(R, c); }, __class__: E7 }; l8a(c5); I3(); c5.prototype = { layoutText: function(R, c, g, F, p) { b4o6.t0P(null, p) && (p = 0); b4o6.o0P(null, F) && (F = 0); b4o6.J0P(null, g) && (g = 0); b4o6.D0P(null, c) && (c = g4.Left); return new r5(this, R, c, g, F, p); }, reload: function() { this._glyphs = new p4; this._glyphs.set(c5.NEWLINE.charCode, c5.NEWLINE); for (var R = new C8(this._file.toString()), c = new p4, g = this.name.lastIndexOf("/"), g = b4o6.W0P(0, g) ? U.substr(this.name, 0, g + 1) : "", F = R.keywords(); F.hasNext();) switch (F.next()) { case "info": for (var p = R.pairs(); p.hasNext();) { var d = p.next(); switch (d.key) { case "size": this.size = d.getInt(); } } break; case "common": for (p = R.pairs(); p.hasNext();) switch (d = p.next(), d.key) { case "lineHeight": this.lineHeight = d.getInt(); } break; case "page": for (var p = 0, d = null, C = R.pairs(); C.hasNext();) { var O = C.next(); switch (O.key) { case "id": p = O.getInt(); break; case "file": d = O.getString(); } } d = this._pack.getTexture(g + o4.removeFileExtension(d)); c.set(p, d); break; case "char": p = null; for (d = R.pairs(); d.hasNext();) switch (C = d.next(), C.key) { case "id": p = new E7(C.getInt()); break; case "x": p.x = C.getInt(); break; case "y": p.y = C.getInt(); break; case "width": p.width = C.getInt(); break; case "height": p.height = C.getInt(); break; case "page": C = C.getInt(); p.page = c.get(C); break; case "xoffset": p.xOffset = C.getInt(); break; case "yoffset": p.yOffset = C.getInt(); break; case "xadvance": p.xAdvance = C.getInt(); } this._glyphs.set(p.charCode, p); break; case "kerning": p = null; C = d = 0; for (O = R.pairs(); O.hasNext();) { var a = O.next(); switch (a.key) { case "first": p = this._glyphs.get(a.getInt()); break; case "second": d = a.getInt(); break; case "amount": C = a.getInt(); } } b4o6.P0P(null, p) && b4o6.M0P(0, C) && p.setKerning(d, C); } }, __class__: c5 }; var g4 = I["flambe.display.TextAlign"] = { __ename__: ["flambe", "display", "TextAlign"], __constructs__: ["Left", "Center", "Right"] }; D6a(); M2(u); j9a(g4); u8a(); L7a(u); m3(g4); H1(); h7a(u); f6a(g4); F9a(r5); A9a(); r5.getAlignOffset = function(R, c, g) { switch (R[1]) { case 0: return 0; case 2: return b4o6.N3P(g, c); case 1: return Math.round(b4o6.X3P((g - c), 2)); } }; r5.prototype = { draw: function(R) { for (var c = 0, g = 0, F = this._glyphs.length; b4o6.E3P(g, F);) { var p = this._glyphs[g]; b4o6.K3P(10, p.charCode) ? c += this._lineOffset : p.draw(R, this._offsets[g], c); ++g; } }, __class__: r5 }; f3(C8); H(); C8.advance = function(R, c) { var g = c.matchedPos(); return U.substr(R, g.pos + g.len, R.length); }; C8.prototype = { keywords: function() { var R = this, c = this._configText; return { next: function() { c = C8.advance(c, R._keywordPattern); R._pairText = R._keywordPattern.matched(2); return R._keywordPattern.matched(1); }, hasNext: function() { return R._keywordPattern.match(c); } }; }, pairs: function() { var R = this, c = this._pairText; return { next: function() { c = C8.advance(c, R._pairPattern); return new t8(R._pairPattern.matched(1), R._pairPattern.matched(2)); }, hasNext: function() { return R._pairPattern.match(c); } }; }, __class__: C8 }; X7a(t8); e8a(); t8.prototype = { getInt: function() { return n.parseInt(this._value); }, getString: function() { return b4o6.Z3P(34, this._value.charCodeAt(0)) ? null : U.substr(this._value, 1, b4o6.h3P(this._value.length, 2)); }, __class__: t8 }; b0(u6); E4a(); u6.prototype = { __class__: u6 }; W6a(E); v6(); S9a(J); E.prototype = K(J.prototype, { draw: function(R) { b4o6.n3P(null, this.texture) && R.drawTexture(this.texture, 0, 0); }, getNaturalWidth: function() { return b4o6.f3P(null, this.texture) ? this.texture.get_width() : 0; }, getNaturalHeight: function() { return b4o6.c1P(null, this.texture) ? this.texture.get_height() : 0; }, __class__: E }); var C5 = I["flambe.display.Orientation"] = { __ename__: ["flambe", "display", "Orientation"], __constructs__: ["Portrait", "Landscape"] }; A8a(); E6a(u); g6a(C5); J0(); m0a(u); E3(C5); b7a(N8); e5a(); o9a(J); N8.prototype = K(J.prototype, { draw: function(R) { b4o6.e1P(null, this.texture) && R.drawPattern(this.texture, 0, 0, this.width._value, this.height._value); }, getNaturalWidth: function() { return this.width._value; }, getNaturalHeight: function() { return this.height._value; }, onUpdate: function(R) { J.prototype.onUpdate.call(this, R); this.width.update(R); this.height.update(R); }, __class__: N8 }); o7a(g6); S8(); f5a(); g6.prototype = { __class__: g6 }; a5a(H0); I9a(); q3(); L5(q4); F4a(); z2(J); q4.prototype = K(J.prototype, { draw: function(R) { this.updateLayout(); this._layout.draw(R); }, getNaturalWidth: function() { this.updateLayout(); return b4o6.r1P(0, this.wrapWidth._value) ? this.wrapWidth._value : this._layout.bounds.width; }, getNaturalHeight: function() { this.updateLayout(); var R = b4o6.B1P(this._layout.lines, (this._font.lineHeight + this.lineSpacing._value)), c = this._layout.bounds.height; return b4o6.Y1P(R, c) ? R : c; }, containsLocal: function(R, c) { this.updateLayout(); return this._layout.bounds.contains(R, c); }, setAlign: function(R) { this.set_align(R); return this; }, set_text: function(R) { b4o6.l1P(R, this._text) && (this._text = R, this._flags |= 128); return R; }, set_align: function(R) { b4o6.i1P(R, this._align) && (this._align = R, this._flags |= 128); return R; }, updateLayout: function() { b4o6.x1P(0, (this._flags & 128)) && (this._flags &= -129, this._layout = this._font.layoutText(this._text, this._align, this.wrapWidth._value, this.letterSpacing._value, this.lineSpacing._value)); }, onUpdate: function(R) { J.prototype.onUpdate.call(this, R); this.wrapWidth.update(R); this.letterSpacing.update(R); this.lineSpacing.update(R); }, __class__: q4 }); var J4 = I["flambe.input.MouseButton"] = { __ename__: ["flambe", "input", "MouseButton"], __constructs__: ["Left", "Middle", "Right", "Unknown"] }; x4a(); e1(u); K1(J4); G9a(); U9a(u); T1(J4); B3(); m9a(u); H8a(J4); J4.Unknown = function(R) { R = ["Unknown", 3, R]; R.__enum__ = J4; R.toString = u; return R; }; var S9 = I["flambe.input.MouseCursor"] = { __ename__: ["flambe", "input", "MouseCursor"], __constructs__: ["Default", "Button", "None"] }; c1(); q5a(u); G0a(S9); d0a(); j8(u); F8a(S9); C3(); Z3(u); K8a(S9); Y4a(E6); o5a(); E6.prototype = { init: function(R, c, g, F) { this.id = R; this.viewX = c; this.viewY = g; this.button = F; }, __class__: E6 }; var F6 = I["flambe.input.EventSource"] = { __ename__: ["flambe", "input", "EventSource"], __constructs__: ["Mouse", "Touch"] }; F6.Mouse = function(R) { R = ["Mouse", 0, R]; R.__enum__ = F6; R.toString = u; return R; }; F6.Touch = function(R) { R = ["Touch", 1, R]; R.__enum__ = F6; R.toString = u; return R; }; N9($b); x9(); $b.prototype = { init: function(R, c, g, F, p) { this.id = R; this.viewX = c; this.viewY = g; this.hit = F; this.source = p; this._stopped = !1; }, __class__: $b }; z0(Q5); v3(); Q5.prototype = { init: function(R, c) { this.viewX = R; this.viewY = c; }, __class__: Q5 }; C0a(s4); c3(); s4.max = function(R, c) { return b4o6.s1P(R, c) ? R : c; }; s4.min = function(R, c) { return b4o6.Q1P(R, c) ? R : c; }; i4a(k9); c0a(); k9.multiply = function(R, c, g) { b4o6.R2P(null, g) && (g = new k9); var F = b4o6.F2P(R.m00, c.m00) + b4o6.C2P(R.m01, c.m10), p = b4o6.I2P(R.m00, c.m01) + b4o6.b2P(R.m01, c.m11), d = b4o6.T2P(R.m00, c.m02) + b4o6.H2P(R.m01, c.m12) + R.m02; g.m00 = F; g.m01 = p; g.m02 = d; F = b4o6.t2P(R.m10, c.m00) + b4o6.o2P(R.m11, c.m10); p = b4o6.J2P(R.m10, c.m01) + b4o6.D2P(R.m11, c.m11); d = b4o6.W2P(R.m10, c.m02) + b4o6.P2P(R.m11, c.m12) + R.m12; g.m10 = F; g.m11 = p; g.m12 = d; return g; }; k9.prototype = { set: function(R, c, g, F, p, d) { this.m00 = R; this.m01 = g; this.m02 = p; this.m10 = c; this.m11 = F; this.m12 = d; }, identity: function() { this.set(1, 0, 0, 1, 0, 0); }, compose: function(R, c, g, F, p) { var d = Math.sin(p), p = Math.cos(p); this.set(b4o6.M2P(p, g), b4o6.U2P(d, g), -d * F, b4o6.z2P(p, F), R, c); }, translate: function(R, c) { this.m02 += b4o6.L2P(this.m00, R) + b4o6.j2P(this.m01, c); this.m12 += b4o6.g4W(this.m11, c) + b4o6.d4W(this.m10, R); }, invert: function() { var R = this.determinant(); if (b4o6.O4W(0, R)) return !1; this.set(b4o6.G4W(this.m11, R), -this.m01 / R, -this.m10 / R, b4o6.S4W(this.m00, R), b4o6.V4W((this.m01 * this.m12 - this.m11 * this.m02), R), b4o6.q4W((this.m10 * this.m02 - this.m00 * this.m12), R)); return !0; }, transformArray: function(R, c, g) { for (var F = 0; b4o6.u4W(F, c);) { var p = R[F], d = R[F + 1]; g[F++] = b4o6.w4W(p, this.m00) + b4o6.N4W(d, this.m01) + this.m02; g[F++] = b4o6.X4W(p, this.m10) + b4o6.E4W(d, this.m11) + this.m12; } }, determinant: function() { return b4o6.K4W(this.m00 * this.m11, this.m01 * this.m10); }, inverseTransform: function(R, c, g) { var F = this.determinant(); if (b4o6.Z4W(0, F)) return !1; R -= this.m02; c -= this.m12; g.x = b4o6.h4W((R * this.m11 - c * this.m01), F); g.y = b4o6.n4W((c * this.m00 - R * this.m10), F); return !0; }, clone: function(R) { b4o6.f4W(null, R) && (R = new k9); R.set(this.m00, this.m10, this.m01, this.m11, this.m02, this.m12); return R; }, __class__: k9 }; Y5a(m9); Q4(); m9.prototype = { set: function(R, c, g, F) { this.x = R; this.y = c; this.width = g; this.height = F; }, contains: function(R, c) { R -= this.x; if (b4o6.y9W(0, this.width)) { if (b4o6.v9W(0, R) || b4o6.A9W(R, this.width)) return !1; } else if (b4o6.e9W(0, R) || b4o6.k9W(R, this.width)) return !1; c -= this.y; if (b4o6.r9W(0, this.height)) { if (b4o6.B9W(0, c) || b4o6.Y9W(c, this.height)) return !1; } else if (b4o6.l9W(0, c) || b4o6.i9W(c, this.height)) return !1; return !0; }, clone: function(R) { b4o6.x9W(null, R) && (R = new m9); R.set(this.x, this.y, this.width, this.height); return R; }, equals: function(R) { return b4o6.s9W(this.x, R.x) && b4o6.Q9W(this.y, R.y) && b4o6.R5W(this.width, R.width) && b4o6.F5W(this.height, R.height); }, __class__: m9 }; r7a(t4); T5a(); a3(); t4.prototype = { dispose: function() { this._disposed || (this._disposed = !0, this.onDisposed()); }, onDisposed: function() { null; }, __class__: t4 }; n6a(o5); p0a(); o5.isAudio = function(R) { switch (R[1]) { case 8: case 9: case 10: case 11: case 12: return !0; default: return !1; } }; o5.prototype = { onDisposed: function() {}, pickBestEntry: function(d, C) { this.getAssetFormats(function(R) { for (var c = 0; b4o6.H5W(c, R.length);) { var g = R[c]; ++c; for (var F = 0; b4o6.t5W(F, d.length);) { var p = d[F]; ++F; if (b4o6.o5W(p.format, g)) { C(p); return; } } } C(null); }); }, loadEntry: function() { null; }, getAssetFormats: function() { null; }, handleLoad: function(R, c) { if (!this._pack.disposed) { this.handleProgress(R, R.bytes); var g; switch (R.format[1]) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: g = this._pack.textures; break; case 8: case 9: case 10: case 11: case 12: g = this._pack.sounds; break; case 13: g = this._pack.files; } g.set(R.name, c); this._assetsRemaining -= 1; b4o6.J5W(0, this._assetsRemaining) && this.handleSuccess(); } }, handleProgress: function(R, c) { this._bytesLoaded.set(R.name, c); for (var g = 0, F = this._bytesLoaded.iterator(); F.hasNext();) var p = F.next(), g = g + p; this.promise.set_progress(g); }, handleSuccess: function() { this.promise.set_result(this._pack); }, handleError: function(R, c) { this.promise.error.emit(o4.withFields(c, ["url", R.url])); }, handleTextureError: function(R) { this.handleError(R, "Failed to create texture. Is the GPU context unavailable?"); }, __class__: o5 }; H4a(K7); d2(); x2(); K7.prototype = { getTexture: function(R, c) { b4o6.D5W(null, c) && (c = !0); var g = this.textures.get(R); if (b4o6.W5W(null, g) && c) throw o4.withFields("Missing texture", ["name", R]); return g; }, getSound: function(R, c) { b4o6.P5W(null, c) && (c = !0); var g = this.sounds.get(R); if (b4o6.M5W(null, g) && c) throw o4.withFields("Missing sound", ["name", R]); return g; }, getFile: function(R, c) { b4o6.U5W(null, c) && (c = !0); var g = this.files.get(R); if (b4o6.z5W(null, g) && c) throw o4.withFields("Missing file", ["name", R]); return g; }, dispose: function() { if (!this.disposed) { this.disposed = !0; for (var R = this.textures.iterator(); R.hasNext();) R.next().dispose(); this.textures = null; for (R = this.sounds.iterator(); R.hasNext();) R.next().dispose(); this.sounds = null; for (R = this.files.iterator(); R.hasNext();) R.next().dispose(); this.files = null; this.loader.onDisposed(); } }, __class__: K7 }; d0(M8); J8a(); X3(); X9a(t4); M8.prototype = K(t4.prototype, { toString: function() { return this._content; }, onDisposed: function() { this._content = null; }, __class__: M8 }); u5a(l0); b8(); H6a($); F3(); r0a(); $.prototype = { submitDown: function(R, c, g) { this._buttonStates.exists(g) || (this._buttonStates.set(g, !0), this.prepare(R, c, O9.toButton(g)), this._pointer.submitDown(R, c, this._source), this.down.emit($._sharedEvent)); }, submitMove: function(R, c) { this.prepare(R, c, null); this._pointer.submitMove(R, c, this._source); this.move.emit($._sharedEvent); }, submitUp: function(R, c, g) { this._buttonStates.exists(g) && (this._buttonStates.remove(g), this.prepare(R, c, O9.toButton(g)), this._pointer.submitUp(R, c, this._source), this.up.emit($._sharedEvent)); }, submitScroll: function(R, c, g) { this._x = R; this._y = c; if (b4o6.L5W(null, this.scroll._head)) return !1; this.scroll.emit(g); return !0; }, prepare: function(R, c, g) { this._x = R; this._y = c; $._sharedEvent.init($._sharedEvent.id + 1, R, c, g); }, __class__: $ }; E1(r6); N2(); r6.prototype = { __class__: r6 }; A0a(k4); U2(); d6a(); k4.prototype = { submitDown: function(R, c, g) { if (!this._isDown) { this.submitMove(R, c, g); this._isDown = !0; var F = [], p = J.hitTest(e.root, R, c); if (b4o6.O8W(null, p)) { var d = p.owner; do { var C = d._compMap.Sprite_1; b4o6.G8W(null, C) && F.push(C); d = d.parent; } while (b4o6.S8W(null, d)) } this.prepare(R, c, p, g); for (R = 0; b4o6.V8W(R, F.length);) if (c = F[R], ++R, c.onPointerDown(k4._sharedEvent), k4._sharedEvent._stopped) return; this.down.emit(k4._sharedEvent); } }, submitMove: function(R, c, g) { if (!(b4o6.q8W(R, this._x) && b4o6.u8W(c, this._y))) { var F = [], p = J.hitTest(e.root, R, c); if (b4o6.w8W(null, p)) { var d = p.owner; do { var C = d._compMap.Sprite_1; b4o6.N8W(null, C) && F.push(C); d = d.parent; } while (b4o6.X8W(null, d)) } this.prepare(R, c, p, g); for (R = 0; b4o6.E8W(R, F.length);) if (c = F[R], ++R, c.onPointerMove(k4._sharedEvent), k4._sharedEvent._stopped) return; this.move.emit(k4._sharedEvent); } }, submitUp: function(R, c, g) { if (this._isDown) { this.submitMove(R, c, g); this._isDown = !1; var F = [], p = J.hitTest(e.root, R, c); if (b4o6.K8W(null, p)) { var d = p.owner; do { var C = d._compMap.Sprite_1; b4o6.Z8W(null, C) && F.push(C); d = d.parent; } while (b4o6.h8W(null, d)) } this.prepare(R, c, p, g); for (R = 0; b4o6.n8W(R, F.length);) if (c = F[R], ++R, c.onPointerUp(k4._sharedEvent), k4._sharedEvent._stopped) return; this.up.emit(k4._sharedEvent); } }, prepare: function(R, c, g, F) { this._x = R; this._y = c; k4._sharedEvent.init(k4._sharedEvent.id + 1, R, c, g, F); }, __class__: k4 }; Z5a(w9); T3(); g9a(); D0a(t4); w9.prototype = K(t4.prototype, { subTexture: function(R, c, g, F) { g = this.root.createTexture(g, F); g._parent = this; g._x = R; g._y = c; g.rootX = this.rootX + R; g.rootY = this.rootY + c; return g; }, split: function(R, c) { b4o6.f8W(null, c) && (c = 1); for (var g = [], F = b4o6.c7W(this._width / R, 0), p = b4o6.p7W(this._height / c, 0), d = 0; b4o6.m7W(d, c);) for (var C = d++, O = 0; b4o6.a7W(O, R);) { var a = O++; g.push(this.subTexture(b4o6.y7W(a, F), b4o6.v7W(C, p), F, p)); } return g; }, onDisposed: function() { b4o6.A7W(null, this._parent) && this.root.dispose(); }, get_width: function() { return this._width; }, get_height: function() { return this._height; }, __class__: w9 }); U0a(G0); w8a(); I0(e7); R2(); t1(); e7.prototype = { submitDown: function(R, c, g) { if (!this._pointMap.exists(R)) { var F = new Q5(R); F.init(c, g); this._pointMap.set(R, F); this._points.push(F); b4o6.k7W(null, this._pointerTouch) && (this._pointerTouch = F, this._pointer.submitDown(c, g, F._source)); this.down.emit(F); } }, submitMove: function(R, c, g) { R = this._pointMap.get(R); b4o6.r7W(null, R) && (R.init(c, g), b4o6.B7W(this._pointerTouch, R) && this._pointer.submitMove(c, g, R._source), this.move.emit(R)); }, submitUp: function(R, c, g) { var F = this._pointMap.get(R); b4o6.Y7W(null, F) && (F.init(c, g), this._pointMap.remove(R), U.remove(this._points, F), b4o6.l7W(this._pointerTouch, F) && (this._pointerTouch = null, this._pointer.submitUp(c, g, F._source)), this.up.emit(F)); }, __class__: e7 }; Q9(a4); L2(); t8a(); a4.prototype = { __class__: a4 }; R9(z); e2(); O4a(); z.getInstance = function() { b4o6.i7W(null, z._instance) && (z._instance = new z); return z._instance; }; g7(t4); z.prototype = K(t4.prototype, { play: function() { return this._playback; }, onDisposed: function() {}, __class__: z }); E0a(c6); S4a(); i(); A2(y7); l9a(); R4a(); y7.prototype = { dispose: function() {}, __class__: y7 }; i6a(X7); U6a(); X7.prototype = { __class__: X7 }; L6a(x7); R1(); R5a(); x7.prototype = { set: function(R, c) { this._hash.set(R, c); return !0; }, get: function(R, c) { return this._hash.exists(R) ? this._hash.get(R) : c; }, clear: function() { this._hash = new h4; }, __class__: x7 }; j6(G4); F5a(); g1(); G4.prototype = { __class__: G4 }; A6a(X8); j4(); D8a(); X8.prototype = { addListener: function(R, c, g) { R.addEventListener(c, g, !1); this._entries.push(new P6(R, c, g)); }, addDisposingListener: function(c, g, F) { var p = this; this.addListener(c, g, function(R) { p.dispose(); F(R); }); }, dispose: function() { for (var R = 0, c = this._entries; b4o6.x7W(R, c.length);) { var g = c[R]; ++R; g.dispatcher.removeEventListener(g.type, g.listener, !1); } this._entries = []; }, __class__: X8 }; d5a(P6); W4a(); P6.prototype = { __class__: P6 }; b3(W8); r2(); Z0(); W8.prototype = { __class__: W8 }; n8a(Y6); K4a(); Y6.prototype = { __class__: Y6 }; l(Z8); v4a(); U7a(); Z8.prototype = { __class__: Z8 }; X5a(j5); b9a(); j5.updateEntity = function(R, c) { var g = R._compMap.SpeedAdjuster_4; if (b4o6.s7W(null, g) && (g._realDt = c, c *= g.scale._value, b4o6.Q7W(0, c))) { g.onUpdate(c); return; } for (g = R.firstComponent; b4o6.R6W(null, g);) { var F = g.next; b4o6.F6W(0, (g._flags & 1)) && (g._flags |= 1, g.onStart()); g.onUpdate(c); g = F; } for (g = R.firstChild; b4o6.C6W(null, g);) F = g.next, j5.updateEntity(g, c), g = F; }; j5.prototype = { update: function(R) { if (!(b4o6.I6W(0, R))) { b4o6.b6W(1, R) && (R = 1); for (var c = 0; b4o6.T6W(c, this._tickables.length);) { var g = this._tickables[c]; b4o6.H6W(null, g) || g.update(R) ? this._tickables.splice(c, 1) : ++c; } e.volume.update(R); j5.updateEntity(e.root, R); } }, render: function(R) { var c = R.graphics; b4o6.t6W(null, c) && (R.willRender(), J.render(e.root, c), R.didRender()); }, addTickable: function(R) { this._tickables.push(R); }, __class__: j5 }; b0a(V9); U5a(); V9.nextPowerOfTwo = function(R) { for (var c = 1; b4o6.o6W(c, R);) c <<= 1; return c; }; B4a(O9); H7a(); O9.toButton = function(R) { switch (R) { case 0: return J4.Left; case 1: return J4.Middle; case 2: return J4.Right; } return J4.Unknown(R); }; r4(i5); H9a(); i5.prototype = { __class__: i5 }; V8a(A7); Z4a(); A7.prototype = { __class__: A7 }; z8a(H5); o2(); D1(); H5.prototype = { save: function() { this._canvasCtx.save(); }, transform: function(R, c, g, F, p, d) { this._canvasCtx.transform(R, c, g, F, p, d); }, restore: function() { this._canvasCtx.restore(); }, drawTexture: function(R, c, g) { this.drawSubTexture(R, c, g, 0, 0, R.get_width(), R.get_height()); }, drawSubTexture: function(R, c, g, F, p, d, C) { this._firstDraw ? (this._firstDraw = !1, this._canvasCtx.globalCompositeOperation = "copy", this.drawSubTexture(R, c, g, F, p, d, C), this._canvasCtx.globalCompositeOperation = "source-over") : this._canvasCtx.drawImage(R.root.image, b4o6.J6W(R.rootX + F, 0), b4o6.D6W(R.rootY + p, 0), b4o6.W6W(d, 0), b4o6.P6W(C, 0), b4o6.M6W(c, 0), b4o6.U6W(g, 0), b4o6.z6W(d, 0), b4o6.L6W(C, 0)); }, drawPattern: function(R, c, g, F, p) { this._firstDraw ? (this._firstDraw = !1, this._canvasCtx.globalCompositeOperation = "copy", this.drawPattern(R, c, g, F, p), this._canvasCtx.globalCompositeOperation = "source-over") : (this._canvasCtx.fillStyle = R.getPattern(), this._canvasCtx.fillRect(b4o6.j6W(c, 0), b4o6.g0W(g, 0), b4o6.d0W(F, 0), b4o6.O0W(p, 0))); }, fillRect: function(R, c, g, F, p) { if (this._firstDraw) this._firstDraw = !1, this._canvasCtx.globalCompositeOperation = "copy", this.fillRect(R, c, g, F, p), this._canvasCtx.globalCompositeOperation = "source-over"; else { for (R = (b4o6.G0W(16777215, R)).toString(16); b4o6.S0W(6, R.length);) R = "0" + n.string(R); this._canvasCtx.fillStyle = "#" + n.string(R); this._canvasCtx.fillRect(b4o6.V0W(c, 0), b4o6.q0W(g, 0), b4o6.u0W(F, 0), b4o6.w0W(p, 0)); } }, multiplyAlpha: function(R) { this._canvasCtx.globalAlpha *= R; }, setBlendMode: function(R) { var c; switch (R[1]) { case 0: c = "source-over"; break; case 1: c = "lighter"; break; case 2: c = "multiply"; break; case 3: c = "screen"; break; case 4: c = "destination-in"; break; case 5: c = "copy"; } this._canvasCtx.globalCompositeOperation = c; }, applyScissor: function(R, c, g, F) { this._canvasCtx.beginPath(); this._canvasCtx.rect(b4o6.N0W(R, 0), b4o6.X0W(c, 0), b4o6.E0W(g, 0), b4o6.K0W(F, 0)); this._canvasCtx.clip(); }, willRender: function() { this._firstDraw = !0; }, didRender: function() {}, onResize: function() {}, __class__: H5 }; x6a(d8); q6a(); w8(); d8.prototype = { get_type: function() { return F9.Canvas; }, createTextureFromImage: function(R) { R = new U8(d8.CANVAS_TEXTURES ? k.createCanvas(R) : R); return R.createTexture(R.width, R.height); }, getCompressedTextureFormats: function() { return []; }, createCompressedTexture: function() { return null; }, willRender: function() { this.graphics.willRender(); }, didRender: function() { this.graphics.didRender(); }, __class__: d8 }; L8(R6); o3(); M1(w9); R6.prototype = K(w9.prototype, { getPattern: function() { if (b4o6.Z0W(this._rootUpdateCount, this.root.updateCount) || b4o6.h0W(null, this._pattern)) this._rootUpdateCount = this.root.updateCount, this._pattern = this.root.createPattern(this.rootX, this.rootY, this._width, this._height); return this._pattern; }, __class__: R6 }); g0a(U8); F7a(); j6a(); Q8a(t4); U8.prototype = K(t4.prototype, { createTexture: function(R, c) { return new R6(this, R, c); }, createPattern: function(R, c, g, F) { var p = this.getContext2d(), d = this.image; if (b4o6.n0W(0, R) || b4o6.f0W(0, c) || b4o6.c3W(g, this.width) || b4o6.p3W(F, this.height)) d = k.createEmptyCanvas(g, F), g = d.getContext("2d"), g.globalCompositeOperation = "copy", g.drawImage(this.image, -R, -c); return p.createPattern(d, "repeat"); }, getContext2d: function() { v4.__instanceof(this.image, HTMLCanvasElement) || (this.image = k.createCanvas(this.image)); return this.image.getContext("2d"); }, onDisposed: function() { this._graphics = this.image = null; }, __class__: U8 }); r8a(f); l1(); f.detectImageFormats = function(R) { for (var F4y in H1N2z[D2z]) { if (F4y.length === 8 && F4y.charCodeAt(5) === 101 && F4y.charCodeAt(7) === 116 && F4y.charCodeAt(3) === (91.5E1 >= (48., 0x203) ? (0x1D7, 117) : (47, 0x59) > (8.17E2, 39.0E1) ? 13. : 13 >= (0xD4, 33) ? (0x1FC, 'B') : (0x101, 0.)) && F4y.charCodeAt(0) === ((2.4E2, 143.3E1) >= 19. ? (0xB3, 100) : (16, 16.1E1) <= 24 ? (102., 50) : (86.9E1, 69.))) break }; for (var d4y in H1N2z[D2z]) { if (d4y.length === 8 && d4y.charCodeAt(((1.6E2, 14.44E2) < 0x99 ? (0x9E, "m") : (8., 69) >= (3.6E1, 12.950E2) ? 'm' : 103. <= (0x108, 0x177) ? (135, 5) : (3.84E2, 0x79))) === 101 && d4y.charCodeAt(7) === 116 && d4y.charCodeAt(3) === 117 && d4y.charCodeAt(0) === 100) break }; var c = [V.PNG, V.JPG, V.GIF], g = 2, F; F = H1N2z[D2z][F4y]['createElement']("img"); F.onload = F.onerror = function() { b4o6.m3W(1, F.width) && c.unshift(V.WEBP); --g; b4o6.a3W(0, g) && R(c); }; F.src = "data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA=="; var p; p = H1N2z[D2z][d4y]['createElement']("img"); p.onload = p.onerror = function() { b4o6.y3W(1, p.width) && c.unshift(V.JXR); --g; b4o6.v3W(0, g) && R(c); }; p.src = "data:image/vnd.ms-photo;base64,SUm8AQgAAAAFAAG8AQAQAAAASgAAAIC8BAABAAAAAQAAAIG8BAABAAAAAQAAAMC8BAABAAAAWgAAAMG8BAABAAAAHwAAAAAAAAAkw91vA07+S7GFPXd2jckNV01QSE9UTwAZAYBxAAAAABP/gAAEb/8AAQAAAQAAAA=="; }; f.detectAudioFormats = function() { for (var m4y in H1N2z[D2z]) { if (m4y.length === 8 && m4y.charCodeAt((0xE8 > (85, 21) ? (0x1F9, 5) : (32., 1E0))) === 101 && m4y.charCodeAt(((0xD5, 85.4E1) <= 0xE9 ? (47., 910) : 0xC8 >= (14.870E2, 41.30E1) ? 0x1C2 : (32.9E1, 0x16F) > 8 ? (120, 7) : (0x31, 128.))) === ((79., 131.3E1) <= (0x5D, 140) ? 'F' : (1.342E3, 97.4E1) > (0x105, 0x216) ? (69.60E1, 116) : (29., 133.9E1)) && m4y.charCodeAt(3) === 117 && m4y.charCodeAt(0) === (0x84 > (8.290E2, 0x143) ? "mp3" : 94. <= (9.24E2, 0x1E9) ? (56.7E1, 100) : (8.88E2, 127.) <= 90 ? 0x152 : (0x220, 4.020E2))) break }; for (var I4y in H1N2z[D2z]) { if (I4y.length === 9 && I4y.charCodeAt(6) === 116 && I4y.charCodeAt(8) === 114 && I4y.charCodeAt(4) === 103 && I4y.charCodeAt(0) === 110) break }; for (var a4y in H1N2z[D2z][I4y]) { if (a4y.length == 9 && a4y.charCodeAt(8) == 116 && a4y.charCodeAt(((25, 73.) < 79 ? (6.88E2, 7) : (1.01E2, 140.) <= 57. ? (0x12C, 'o') : (80, 0x99) < (0x1CB, 0x18) ? (19.40E1, 78.4E1) : (99., 101))) == 110 && a4y.charCodeAt(0) == 117) break }; var c; c = H1N2z[D2z][m4y]['createElement']("audio"); if (b4o6.A3W(null, c) || b4o6.e3W(null, K9(c, c.canPlayType))) return []; var g = new m5("\\b(iPhone|iPod|iPad|Android|Windows Phone)\\b", ""), F = H1N2z[D2z][I4y][a4y]; if (!j.get_supported() && g.match(F)) return []; for (var g = [{ format: V.M4A, mimeType: "audio/mp4; codecs=mp4a" }, { format: V.MP3, mimeType: "audio/mpeg" }, { format: V.OPUS, mimeType: "audio/ogg; codecs=opus" }, { format: V.OGG, mimeType: "audio/ogg; codecs=vorbis" }, { format: V.WAV, mimeType: "audio/wav" }], F = [], p = 0; b4o6.k3W(p, g.length);) { var d = g[p]; ++p; var C = ""; try { C = c.canPlayType(d.mimeType); } catch (R) {} b4o6.r3W("", C) && F.push(d.format); } return F; }; f.supportsBlob = function() { if (f._detectBlobSupport) { for (var G4y in H1N2z[D2z]) { if (G4y.length === 9 && G4y.charCodeAt(((46., 114.9E1) > 16 ? (3., 6) : 4.51E2 < (84., 0x153) ? (53.1E1, 0x218) : (54., 3.800E2))) === 116 && G4y.charCodeAt((30.5E1 <= (0x127, 0x2A) ? (26., 0x33) : (0x9C, 102.4E1) >= (0xC8, 9.67E2) ? (7.520E2, 8) : (0x12B, 9.86E2) < 2.35E2 ? 8.73E2 : (0x1E0, 0xCD))) === 114 && G4y.charCodeAt(4) === 103 && G4y.charCodeAt(0) === 110) break }; for (var b4y in H1N2z[D2z][G4y]) { if (b4y.length == 9 && b4y.charCodeAt(8) == 116 && b4y.charCodeAt(7) == 110 && b4y.charCodeAt(0) == (0x1C5 < (0x77, 70.7E1) ? (0x1B9, 117) : (35, 116))) break }; f._detectBlobSupport = !1; if ((new m5("\\bSilk\\b", "")).match(H1N2z[D2z][G4y][b4y]) || b4o6.B3W(null, H1N2z[D2z].Blob)) return !1; var R = new XMLHttpRequest; R.open("GET", ".", !0); if (b4o6.Y3W("", R.responseType)) return !1; R.responseType = "blob"; if (b4o6.l3W("blob", R.responseType)) return !1; f._URL = k.loadExtension("URL").value; } return b4o6.i3W(null, f._URL) && b4o6.x3W(null, f._URL.createObjectURL); }; Q7a(o5); f.prototype = K(o5.prototype, { loadEntry: function(g, F) { for (var y4y in H1N2z[D2z]) { if (y4y.length === 8 && y4y.charCodeAt(((0x97, 0x141) < 21 ? (0x248, 54.6E1) : 0x1F3 >= (9.65E2, 114) ? (0xE, 5) : (3.34E2, 0xA0) < 0x2E ? (14.31E2, "h") : (1.195E3, 134.))) === (99.5E1 > (80., 73.7E1) ? (0x79, 101) : 0x1DD <= (1.328E3, 64) ? 13 : (15., 66.)) && y4y.charCodeAt(7) === 116 && y4y.charCodeAt(3) === 117 && y4y.charCodeAt(0) === 100) break }; var p = this; switch (F.format[1]) { case 0: case 1: case 2: case 3: case 4: var d; d = H1N2z[D2z][y4y]['createElement']("img"); var C = new X8; C.addDisposingListener(d, "load", function() { f.supportsBlob() && f._URL.revokeObjectURL(d.src); var R = p._platform.getRenderer().createTextureFromImage(d); b4o6.s3W(null, R) ? p.handleLoad(F, R) : p.handleTextureError(F); }); C.addDisposingListener(d, "error", function() { p.handleError(F, "Failed to load image"); }); f.supportsBlob() ? this.download(g, F, "blob", function(R) { d.src = f._URL.createObjectURL(R); }) : d.src = g; break; case 5: case 6: case 7: this.download(g, F, "arraybuffer", function() { var R = p._platform.getRenderer().createCompressedTexture(F.format, null); b4o6.Q3W(null, R) ? p.handleLoad(F, R) : p.handleTextureError(F); }); break; case 8: case 9: case 10: case 11: case 12: if (j.get_supported()) this.download(g, F, "arraybuffer", function(c) { j.ctx.decodeAudioData(c, function(R) { p.handleLoad(F, new j(R)); }, function() { p.handleLoad(F, z.getInstance()); }); }); else { for (var T4y in H1N2z[D2z]) { if (T4y.length === ((7.54E2, 111.) > (79, 0xBE) ? (106.5E1, 73) : 0x5E < (3.33E2, 136.) ? (0x136, 8) : (0x1DC, 57.90E1)) && T4y.charCodeAt(5) === ((95.7E1, 44.0E1) > 121.5E1 ? (20, 6.71E2) : 98.7E1 >= (2., 7.43E2) ? (0xAB, 101) : (0x5B, 1.161E3) < (98., 0.) ? "R" : (50., 140.70E1)) && T4y.charCodeAt(7) === 116 && T4y.charCodeAt(3) === 117 && T4y.charCodeAt(0) === (0x3B <= (138., 90.4E1) ? (63., 100) : (71., 0x23C))) break }; var O; O = H1N2z[D2z][T4y]['createElement']("audio"); O.preload = "auto"; var a = ++f._mediaRefCount; b4o6.R1W(null, f._mediaElements) && (f._mediaElements = new p4); f._mediaElements.set(a, O); C = new X8; C.addDisposingListener(O, "canplaythrough", function() { f._mediaElements.remove(a); p.handleLoad(F, new h8(O)); }); C.addDisposingListener(O, "error", function() { f._mediaElements.remove(a); var R = O.error.code; b4o6.F1W(3, R) || b4o6.C1W(4, R) ? p.handleLoad(F, z.getInstance()) : p.handleError(F, "Failed to load audio: " + O.error.code); }); C.addListener(O, "progress", function() { if (b4o6.I1W(0, O.buffered.length) && b4o6.b1W(0, O.duration)) { var R = b4o6.T1W(O.buffered.end(0), O.duration); p.handleProgress(F, b4o6.H1W(R * F.bytes, 0)); } }); O.src = g; O.load(); } break; case 13: this.download(g, F, "text", function(R) { p.handleLoad(F, new M8(R)); }); } }, getAssetFormats: function(c) { var g = this; b4o6.t1W(null, f._supportedFormats) && (f._supportedFormats = new i7, f.detectImageFormats(function(R) { f._supportedFormats.set_result(g._platform.getRenderer().getCompressedTextureFormats().concat(R).concat(f.detectAudioFormats()).concat([V.Data])); })); f._supportedFormats.get(c); }, download: function(g, F, p, d) { var C = this, O = null, a = null, S = 0, v = !1, t = function() { v && (v = !1, H1N2z[D2z]['clearInterval'](S)); }, N = 3, o = function() { --N; return b4o6.o1W(0, N) ? (a(), !0) : !1; }, a = function() { t(); b4o6.J1W(null, O) && O.abort(); O = new XMLHttpRequest; O.open("GET", g, !0); O.responseType = p; var c = 0; O.onprogress = function(R) { v || (v = !0, S = H1N2z[D2z]['setInterval'](function() { b4o6.D1W(4, O.readyState) && b4o6.W1W(5E3, Date.now() - c) && !o() && (t(), C.handleError(F, "Download stalled")); }, 1E3)); c = Date.now(); C.handleProgress(F, R.loaded); }; O.onerror = function() { if (b4o6.P1W(0, O.status) || !o()) t(), C.handleError(F, "HTTP error " + O.status); }; O.onload = function() { var R = O.response; b4o6.M1W(null, R) && (R = O.responseText); t(); d(R); }; O.send(); }; a(); }, __class__: f }); k5a(D6); r5a(); D6.prototype = { __class__: D6 }; s8a(n4); h1(); m7a(); n4.prototype = { call: function(R, c) { b4o6.U1W(null, c) && (c = []); for (var g = window, F = g, p = 0, d = R.split("."); b4o6.z1W(p, d.length);) { var C = d[p]; ++p; g = F; F = D4.field(g, C); } return F.apply(g, c); }, __class__: n4 }; B7a(f7); q7a(); y7a($); f7.prototype = K($.prototype, { __class__: f7 }); P5a(h8); p6a(); Q3(); c6a(t4); h8.prototype = K(t4.prototype, { play: function(R) { b4o6.L1W(null, R) && (R = 1); return new A9(this, R, !1); }, onDisposed: function() { this.audioElement = null; }, __class__: h8 }); m6a(A9); d9a(); r3(); A9.prototype = { set_paused: function(R) { b4o6.j1W(this._clonedElement.paused, R) && (R ? this._clonedElement.pause() : this.playAudio()); return R; }, update: function(R) { this.volume.update(R); this._complete.set__(this._clonedElement.ended); return this._complete._value || this._clonedElement.paused ? (this._tickableAdded = !1, this._volumeBinding.dispose(), this._hideBinding.dispose(), !0) : !1; }, dispose: function() { this.set_paused(!0); this._complete.set__(!0); }, playAudio: function() { var c = this; this._clonedElement.play(); this._tickableAdded || (f9.instance.mainLoop.addTickable(this), this._tickableAdded = !0, this._volumeBinding = e.volume.get_changed().connect(function() { c.updateVolume(); }), this._hideBinding = e.hidden.get_changed().connect(function(R) { R ? (c._wasPaused = c._clonedElement.paused, c.set_paused(!0)) : c.set_paused(c._wasPaused); })); }, updateVolume: function() { this._clonedElement.volume = b4o6.g2W(e.volume._value, this.volume._value); }, __class__: A9 }; z7a(M6); N0a(); M6.prototype = { __class__: M6 }; j7a(l4); q9a(); T9a(); l4.computeScaleFactor = function() { for (var q4y in H1N2z[D2z]) { if (q4y.length === 8 && q4y.charCodeAt(5) === 101 && q4y.charCodeAt(7) === 116 && q4y.charCodeAt(3) === ((3.04E2, 0xEF) > 10.85E2 ? 'Z' : (4.12E2, 38.) <= 76 ? (0x14D, 117) : (35., 9.96E2) <= (1., 104) ? "Z" : (145.4E1, 0x16A)) && q4y.charCodeAt(0) === 100) break }; for (var e4y in H1N2z[D2z]) { if (e4y.length === 6 && e4y.charCodeAt(3) === 101 && e4y.charCodeAt(5) === 110 && e4y.charCodeAt((0x14E <= (133., 42) ? (2.21E2, 128) : 94.30E1 > (76.9E1, 48.2E1) ? (98, 1) : (6.84E2, 0x124))) === 99 && e4y.charCodeAt(0) === 115) break }; for (var o4y in H1N2z[D2z]) { if (o4y.length === 6 && o4y.charCodeAt(3) === 101 && o4y.charCodeAt(((8.11E2, 76.2E1) < (9.64E2, 37.) ? 4.9E2 : 0xB5 >= (0x240, 0x147) ? (10.44E2, "O") : 97. < (0x23C, 0xEE) ? (0x16F, 5) : (0x210, 106.60E1))) === (3.34E2 <= (0x97, 11.07E2) ? (107, 110) : (105, 1.46E3) <= (95.30E1, 84.) ? (97., 97.) : (119, 139.20E1)) && o4y.charCodeAt(1) === 99 && o4y.charCodeAt(0) === 115) break }; var R = H1N2z[D2z]['devicePixelRatio']; b4o6.S2W(null, R) && (R = 1); var c = H1N2z[D2z][q4y]['createElement']("canvas").getContext("2d"), c = k.loadExtension("backingStorePixelRatio", c).value; b4o6.V2W(null, c) && (c = 1); R /= c; c = H1N2z[D2z][e4y]['height']; return b4o6.q2W(1136, R * H1N2z[D2z][o4y]['width']) || b4o6.u2W(1136, R * c) ? 1 : R; }; l4.prototype = { get_width: function() { return this._canvas.width; }, get_height: function() { return this._canvas.height; }, onWindowResizeWithNull: function() { this.onWindowResize(null); }, onWindowResize: function() { var R = this._canvas.parentElement.getBoundingClientRect(); this.resizeCanvas(R.width, R.height); }, resizeCanvas: function(R, c) { var g = b4o6.w2W(this.scaleFactor, R), F = b4o6.N2W(this.scaleFactor, c); if (b4o6.X2W(this._canvas.width, g) && b4o6.E2W(this._canvas.height, F)) return !1; this._canvas.width = b4o6.K2W(g, 0); this._canvas.height = b4o6.Z2W(F, 0); this.resize.emit(); return !0; }, hideMobileBrowser: function() { for (var w4y in H1N2z[D2z]) { if (w4y.length === 8 && w4y.charCodeAt(5) === 101 && w4y.charCodeAt(7) === 116 && w4y.charCodeAt(3) === 117 && w4y.charCodeAt(0) === (0x76 <= (7.4E2, 0xF8) ? (2.12E2, 100) : (127.10E1, 0x85) >= 69.0E1 ? "S" : (0x1C7, 1.471E3))) break }; for (var J4y in H1N2z[D2z][w4y]) { if (J4y.length == 15 && J4y.charCodeAt(14) == 116 && J4y.charCodeAt(13) == 110 && J4y.charCodeAt(0) == 100) break }; var R = this, c = H1N2z[D2z][w4y][J4y]['style']; c.height = H1N2z[D2z]['innerHeight'] + 100 + "px"; c.width = H1N2z[D2z]['innerWidth'] + "px"; c.overflow = "visible"; k.callLater(function() { k.hideMobileBrowser(); k.callLater(function() { c.height = H1N2z[D2z]['innerHeight'] + "px"; R.onWindowResize(null); }, 100); }); }, onOrientationChangeWithNull: function() { this.onOrientationChange(null); }, onOrientationChange: function() { this.orientation.set__(k.orientation(H1N2z[D2z].orientation)); }, updateFullscreen: function() { for (var X4y in H1N2z[D2z]) { if (X4y.length === 8 && X4y.charCodeAt(((0x248, 0x249) >= (57.30E1, 147.20E1) ? (5.43E2, 147.1E1) : (0x117, 0x18) <= 0x143 ? (0x15A, 5) : (0x212, 0x1CC))) === 101 && X4y.charCodeAt(7) === 116 && X4y.charCodeAt(((59., 102.2E1) >= (13.55E2, 127.) ? (3.570E2, 3) : (1.218E3, 0xCD))) === 117 && X4y.charCodeAt(0) === ((0x190, 39.) > (0x1D, 36.) ? (0x9A, 100) : 0x135 <= (11.61E2, 137) ? (40, 1.041E3) : (4.80E1, 6.60E1))) break }; this.fullscreen.set__(!0 == k.loadFirstExtension(["fullscreen", "fullScreen", "isFullScreen"], H1N2z[D2z][X4y]).value); }, __class__: l4 }; n2(L4); v5a(); a2(); L4.prototype = { set: function(c, g) { var F; try { var p = new l9; p.useCache = !0; p.useEnumIndex = !1; p.serialize(g); F = p.toString(); } catch (R) { return !1; } try { this._storage.setItem("flambe:" + c, F); } catch (R) { return !1; } return !0; }, get: function(c, g) { var F = null; try { F = this._storage.getItem("flambe:" + c); } catch (R) { null; } if (b4o6.h2W(null, F)) try { return B4.run(F); } catch (R) { null; } return g; }, __class__: L4 }; z4a(k); i5a(); k.callLater = function(R, c) { b4o6.n2W(null, c) && (c = 0); H1N2z[D2z]['setTimeout'](R, c); }; k.hideMobileBrowser = function() { H1N2z[D2z]['scrollTo'](1, 0); }; k.loadExtension = function(R, c) { b4o6.f2W(null, c) && (c = window); var g = D4.field(c, R); if (b4o6.c4E(null, g)) return { prefix: "", field: R, value: g }; for (var g = R.charAt(0).toUpperCase() + U.substr(R, 1, null), F = 0, p = k.VENDOR_PREFIXES; b4o6.p4E(F, p.length);) { var d = p[F]; ++F; var C = d + g, O = D4.field(c, C); if (b4o6.m4E(null, O)) return { prefix: d, field: C, value: O }; } return { prefix: null, field: null, value: null }; }; k.loadFirstExtension = function(R, c) { for (var g = 0; b4o6.a4E(g, R.length);) { var F = R[g]; ++g; F = k.loadExtension(F, c); if (b4o6.y4E(null, F.field)) return F; } return { prefix: null, field: null, value: null }; }; k.polyfill = function(R, c) { b4o6.v4E(null, c) && (c = window); var g = k.loadExtension(R, c).value; if (b4o6.A4E(null, g)) return !1; c[R] = g; return !0; }; k.setVendorStyle = function(R, c, g) { for (var R = R.style, F = 0, p = k.VENDOR_PREFIXES; b4o6.e4E(F, p.length);) { var d = p[F]; ++F; R.setProperty("-" + d + "-" + c, g); } R.setProperty(c, g); }; k.addVendorListener = function(R, c, g, F) { for (var p = 0, d = k.VENDOR_PREFIXES; b4o6.k4E(p, d.length);) { var C = d[p]; ++p; R.addEventListener(C + c, g, F); } R.addEventListener(c, g, F); }; k.orientation = function(R) { switch (R) { case -90: case 90: return C5.Landscape; default: return C5.Portrait; } }; k.createEmptyCanvas = function(R, c) { for (var E4y in H1N2z[D2z]) { if (E4y.length === 8 && E4y.charCodeAt((51 > (82, 89.4E1) ? 'N' : (8, 0x1E7) <= 0x6D ? (2.08E2, 1.99E2) : (41.80E1, 0.) <= 0x1C3 ? (42., 5) : (0x49, 22.))) === 101 && E4y.charCodeAt(7) === (92 < (57, 0xF4) ? (65., 116) : (0x83, 0x113) < 0x6F ? (34.80E1, 1.343E3) : (142, 6.75E2)) && E4y.charCodeAt(((13.68E2, 0x7F) > (0x247, 148.20E1) ? 5E3 : 48 < (2.030E2, 64.) ? (52., 3) : (0x84, 32))) === 117 && E4y.charCodeAt((11.99E2 >= (0x15, 8.65E2) ? (0x9, 0) : (6.770E2, 142.))) === 100) break }; var g; g = H1N2z[D2z][E4y]['createElement']("canvas"); g.width = R; g.height = c; return g; }; k.createCanvas = function(R) { var c = k.createEmptyCanvas(R.width, R.height), g = c.getContext("2d"); g.save(); g.globalCompositeOperation = "copy"; g.drawImage(R, 0, 0); g.restore(); return c; }; k.detectSlowDriver = function(R) { for (var l4y in H1N2z[D2z]) { if (l4y.length === 9 && l4y.charCodeAt(6) === (40 < (45.2E1, 33.) ? 1.5 : (25.40E1, 0x1FE) <= (5.33E2, 2.010E2) ? 1.448E3 : 0x1D0 > (0x7B, 119) ? (1.155E3, 116) : (0x243, 0x1DB)) && l4y.charCodeAt(8) === ((1.156E3, 113.) > (0xA5, 9.52E2) ? 31 : 0x1A9 >= (0x7E, 133.) ? (87.4E1, 114) : (56., 1.0210E3)) && l4y.charCodeAt(((0x118, 143.) > 50. ? (88, 4) : 81.4E1 < (76, 106.) ? (135, 'A') : (0x239, 101))) === 103 && l4y.charCodeAt(0) === 110) break }; for (var K4y in H1N2z[D2z][l4y]) { if (K4y.length == ((138.4E1, 1.1E1) < 8.36E2 ? (0x19D, 8) : (96.2E1, 0.)) && K4y.charCodeAt(7) == (0xD3 < (0x16E, 6.5E2) ? (71, 109) : (0x1A9, 6.62E2) <= (11.14E2, 110) ? 9.950E2 : (111, 0x1CE)) && K4y.charCodeAt(((84., 0x12E) >= (19, 0x108) ? (91., 6) : (75, 69.) > (1.446E3, 4.65E2) ? (5.7E2, 'W') : (101, 1.167E3))) == 114 && K4y.charCodeAt(0) == 112) break }; if (b4o6.r4E(0, H1N2z[D2z][l4y][K4y].indexOf("Win")) && b4o6.B4E(null, H1N2z[D2z]['chrome'])) { for (var c = 0, R = R.getSupportedExtensions(); b4o6.Y4E(c, R.length);) { var g = R[c]; ++c; if (b4o6.l4E(0, g.indexOf("WEBGL_compressed_texture"))) return !1; } return !0; } return !1; }; k.fixAndroidMath = function() { for (var i4y in H1N2z[D2z]) { if (i4y.length === 9 && i4y.charCodeAt(6) === 116 && i4y.charCodeAt(8) === 114 && i4y.charCodeAt(((1., 0x23A) >= 0x7F ? (0xC1, 4) : (0xD4, 0x157) <= (0x249, 29.) ? 109 : (1E0, 141.5E1) <= (4.350E2, 4.67E2) ? 51.2E1 : (0x6A, 0x1E7))) === ((0x164, 1.187E3) < (0x125, 29.) ? 'D' : 0x54 > (4.65E2, 0x5) ? (0xCB, 103) : (137, 1.064E3)) && i4y.charCodeAt(0) === 110) break }; for (var Z4y in H1N2z[D2z][i4y]) { if (Z4y.length == 9 && Z4y.charCodeAt(8) == 116 && Z4y.charCodeAt(7) == ((41., 28) >= 0x1E ? " " : 0x23A >= (149., 0x5E) ? (52, 110) : (40.1E1, 0xD9)) && Z4y.charCodeAt(0) == 117) break }; if (b4o6.i4E(0, H1N2z[D2z][i4y][Z4y].indexOf("Linux; U; Android 4"))) { var c = Math.sin, g = Math.cos; Math.sin = function(R) { return b4o6.x4E(0, R) ? 0 : c(R); }; Math.cos = function(R) { return b4o6.s4E(0, R) ? 1 : g(R); }; } }; p3(j); o4a(); d7(); j.get_supported = function() { if (j._detectSupport) { j._detectSupport = !1; var c = k.loadExtension("AudioContext").value; b4o6.Q4E(null, c) && (j.ctx = new c, j.gain = j.createGain(), j.gain.connect(j.ctx.destination), e.volume.watch(function(R) { j.gain.gain.value = R; })); } return b4o6.R9E(null, j.ctx); }; j.createGain = function() { return b4o6.F9E(null, j.ctx.createGain) ? j.ctx.createGain() : j.ctx.createGainNode(); }; j.start = function(R, c) { b4o6.C9E(null, R.start) ? R.start(c) : R.noteOn(c); }; W0(t4); j.prototype = K(t4.prototype, { play: function(R) { b4o6.I9E(null, R) && (R = 1); return new u7(this, R, !1); }, get_duration: function() { return this.buffer.duration; }, onDisposed: function() { this.buffer = null; }, __class__: j }); k3(u7); s0(); B6a(); u7.prototype = { set_paused: function(R) { b4o6.T9E(R, 0 <= this._pausedAt) && (R ? (this._sourceNode.disconnect(), this._pausedAt = this.get_position()) : this.playAudio()); return R; }, get_position: function() { return this._complete._value ? this._sound.get_duration() : b4o6.H9E(0, this._pausedAt) ? this._pausedAt : b4o6.t9E((j.ctx.currentTime - this._startedAt), this._sound.get_duration()); }, update: function(R) { this.volume.update(R); b4o6.o9E(3, this._sourceNode.playbackState) && this._complete.set__(!0); return this._complete._value || b4o6.J9E(0, this._pausedAt) ? (this._tickableAdded = !1, this._hideBinding.dispose(), !0) : !1; }, dispose: function() { this.set_paused(!0); this._complete.set__(!0); }, setVolume: function(R) { b4o6.D9E(null, this._gainNode) && (this._gainNode = j.createGain(), this.insertNode(this._gainNode)); this._gainNode.gain.value = R; }, insertNode: function(R) { b4o6.W9E(0, this._pausedAt) || (this._sourceNode.disconnect(), this._sourceNode.connect(R)); R.connect(this._head); this._head = R; }, playAudio: function() { var c = this; this._sourceNode.connect(this._head); this._startedAt = j.ctx.currentTime; this._pausedAt = -1; this._tickableAdded || (f9.instance.mainLoop.addTickable(this), this._tickableAdded = !0, this._hideBinding = e.hidden.get_changed().connect(function(R) { R ? (c._wasPaused = b4o6.P9E(0, c._pausedAt), c.set_paused(!0)) : c.set_paused(c._wasPaused); })); }, __class__: u7 }; m1(U6); Z9(); U6.prototype = { resizeBackbuffer: function(R, c) { this._gl.viewport(0, 0, R, c); this._backbufferWidth = R; this._backbufferHeight = c; }, willRender: function() {}, didRender: function() { this.flush(); }, bindTexture: function(R) { this.flush(); this._currentTexture = this._lastTexture = null; this._gl.bindTexture(3553, R); }, deleteTexture: function(R) { b4o6.M9E(null, this._lastTexture) && b4o6.U9E(this._lastTexture.root, R) && (this.flush(), this._currentTexture = this._lastTexture = null); this._gl.deleteTexture(R.nativeTexture); }, deleteFramebuffer: function(R) { b4o6.z9E(R, this._lastRenderTarget) && (this.flush(), this._currentRenderTarget = this._lastRenderTarget = null); this._gl.deleteFramebuffer(R.framebuffer); }, prepareDrawTexture: function(R, c, g, F) { b4o6.L9E(F, this._lastTexture) && (this.flush(), this._lastTexture = F); return this.prepareQuad(5, R, c, g, this._drawTextureShader); }, prepareDrawPattern: function(R, c, g, F) { b4o6.j9E(F, this._lastTexture) && (this.flush(), this._lastTexture = F); return this.prepareQuad(5, R, c, g, this._drawPatternShader); }, prepareFillRect: function(R, c, g) { return this.prepareQuad(6, R, c, g, this._fillRectShader); }, prepareQuad: function(R, c, g, F, p) { b4o6.g5E(c, this._lastRenderTarget) && (this.flush(), this._lastRenderTarget = c); b4o6.d5E(g, this._lastBlendMode) && (this.flush(), this._lastBlendMode = g); b4o6.O5E(p, this._lastShader) && (this.flush(), this._lastShader = p); if (b4o6.G5E(null, F) || b4o6.S5E(null, this._lastScissor)) if (b4o6.V5E(null, F) || b4o6.q5E(null, this._lastScissor) || !this._lastScissor.equals(F)) this.flush(), this._lastScissor = b4o6.u5E(null, F) ? F.clone(this._lastScissor) : null, this._pendingSetScissor = !0; b4o6.w5E(this._quads, this._maxQuads) && this.resize(b4o6.N5E(2, this._maxQuads)); ++this._quads; c = this._dataOffset; this._dataOffset += b4o6.X5E(4, R); return c; }, flush: function() { if (!(b4o6.E5E(1, this._quads))) { b4o6.K5E(this._lastRenderTarget, this._currentRenderTarget) && this.bindRenderTarget(this._lastRenderTarget); if (b4o6.Z5E(this._lastBlendMode, this._currentBlendMode)) { switch (this._lastBlendMode[1]) { case 0: this._gl.blendFunc(1, 771); break; case 1: this._gl.blendFunc(1, 1); break; case 2: this._gl.blendFunc(774, 771); break; case 3: this._gl.blendFunc(1, 769); break; case 4: this._gl.blendFunc(0, 770); break; case 5: this._gl.blendFunc(1, 0); } this._currentBlendMode = this._lastBlendMode; } this._pendingSetScissor && (b4o6.h5E(null, this._lastScissor) ? (this._gl.enable(3089), this._gl.scissor(b4o6.n5E(this._lastScissor.x, 0), b4o6.f5E(this._lastScissor.y, 0), b4o6.c8E(this._lastScissor.width, 0), b4o6.p8E(this._lastScissor.height, 0))) : this._gl.disable(3089), this._pendingSetScissor = !1); b4o6.m8E(this._lastTexture, this._currentTexture) && (this._gl.bindTexture(3553, this._lastTexture.root.nativeTexture), this._currentTexture = this._lastTexture); b4o6.a8E(this._lastShader, this._currentShader) && (this._lastShader.useProgram(), this._lastShader.prepare(), this._currentShader = this._lastShader); if (b4o6.y8E(this._lastShader, this._drawPatternShader)) { var R = this._lastTexture, c = R.root; this._drawPatternShader.setRegion(b4o6.v8E(R.rootX, c.width), b4o6.A8E(R.rootY, c.height), b4o6.e8E(R._width, c.width), b4o6.k8E(R._height, c.height)); } this._gl.bufferData(34962, this.data.subarray(0, this._dataOffset), 35040); this._gl.drawElements(4, b4o6.r8E(6, this._quads), 5123, 0); this._dataOffset = this._quads = 0; } }, resize: function(R) { this.flush(); if (!(b4o6.B8E(1024, R))) { this._maxQuads = R; this.data = new Float32Array(b4o6.Y8E(24, R)); this._gl.bufferData(34962, b4o6.l8E(4, this.data.length), 35040); for (var c = new Uint16Array(b4o6.i8E(6, R)), g = 0; b4o6.x8E(g, R);) { var F = g++; c[b4o6.s8E(6, F)] = b4o6.Q8E(4, F); c[b4o6.R7E(6, F) + 1] = b4o6.F7E(4, F) + 1; c[b4o6.C7E(6, F) + 2] = b4o6.I7E(4, F) + 2; c[b4o6.b7E(6, F) + 3] = b4o6.T7E(4, F) + 2; c[b4o6.H7E(6, F) + 4] = b4o6.t7E(4, F) + 3; c[b4o6.o7E(6, F) + 5] = b4o6.J7E(4, F); } this._gl.bufferData(34963, c, 35044); } }, bindRenderTarget: function(R) { b4o6.D7E(null, R) ? (this._gl.bindFramebuffer(36160, R.framebuffer), this._gl.viewport(0, 0, R.width, R.height)) : (this._gl.bindFramebuffer(36160, null), this._gl.viewport(0, 0, this._backbufferWidth, this._backbufferHeight)); this._lastRenderTarget = this._currentRenderTarget = R; }, __class__: U6 }; H8(G9); S6(); K4(); G9.prototype = { save: function() { var R = this._stateList, c = this._stateList.next; b4o6.P7E(null, c) && (c = new l7, c.prev = R, R.next = c); R.matrix.clone(c.matrix); c.alpha = R.alpha; c.blendMode = R.blendMode; c.scissor = b4o6.M7E(null, R.scissor) ? R.scissor.clone(c.scissor) : null; this._stateList = c; }, transform: function(R, c, g, F, p, d) { var C = this._stateList; G9._scratchMatrix.set(R, c, g, F, p, d); k9.multiply(C.matrix, G9._scratchMatrix, C.matrix); }, restore: function() { this._stateList = this._stateList.prev; }, drawTexture: function(R, c, g) { this.drawSubTexture(R, c, g, 0, 0, R.get_width(), R.get_height()); }, drawSubTexture: function(R, c, g, F, p, d, C) { var O = this._stateList, a = R.root, c = this.transformQuad(c, g, d, C), g = a.width, a = a.height, F = b4o6.U7E((R.rootX + F), g), p = b4o6.z7E((R.rootY + p), a), d = F + b4o6.L7E(d, g), C = p + b4o6.j7E(C, a), g = O.alpha, R = this._batcher.prepareDrawTexture(this._renderTarget, O.blendMode, O.scissor, R), O = this._batcher.data; O[R] = c[0]; O[++R] = c[1]; O[++R] = F; O[++R] = p; O[++R] = g; O[++R] = c[2]; O[++R] = c[3]; O[++R] = d; O[++R] = p; O[++R] = g; O[++R] = c[4]; O[++R] = c[5]; O[++R] = d; O[++R] = C; O[++R] = g; O[++R] = c[6]; O[++R] = c[7]; O[++R] = F; O[++R] = C; O[++R] = g; }, drawPattern: function(R, c, g, F, p) { var d = this._stateList, C = R.root, c = this.transformQuad(c, g, F, p), F = b4o6.g6E(F, C.width), p = b4o6.d6E(p, C.height), C = d.alpha, R = this._batcher.prepareDrawPattern(this._renderTarget, d.blendMode, d.scissor, R), d = this._batcher.data; d[R] = c[0]; d[++R] = c[1]; d[++R] = 0; d[++R] = 0; d[++R] = C; d[++R] = c[2]; d[++R] = c[3]; d[++R] = F; d[++R] = 0; d[++R] = C; d[++R] = c[4]; d[++R] = c[5]; d[++R] = F; d[++R] = p; d[++R] = C; d[++R] = c[6]; d[++R] = c[7]; d[++R] = 0; d[++R] = p; d[++R] = C; }, fillRect: function(R, c, g, F, p) { var d = this._stateList, c = this.transformQuad(c, g, F, p), g = b4o6.O6E((R & 16711680), 16711680), F = b4o6.G6E((R & 65280), 65280), R = b4o6.S6E((R & 255), 255), p = d.alpha, d = this._batcher.prepareFillRect(this._renderTarget, d.blendMode, d.scissor), C = this._batcher.data; C[d] = c[0]; C[++d] = c[1]; C[++d] = g; C[++d] = F; C[++d] = R; C[++d] = p; C[++d] = c[2]; C[++d] = c[3]; C[++d] = g; C[++d] = F; C[++d] = R; C[++d] = p; C[++d] = c[4]; C[++d] = c[5]; C[++d] = g; C[++d] = F; C[++d] = R; C[++d] = p; C[++d] = c[6]; C[++d] = c[7]; C[++d] = g; C[++d] = F; C[++d] = R; C[++d] = p; }, multiplyAlpha: function(R) { this._stateList.alpha *= R; }, setBlendMode: function(R) { this._stateList.blendMode = R; }, applyScissor: function(R, c, g, F) { var p = this._stateList, d = G9._scratchQuadArray; d[0] = R; d[1] = c; d[2] = R + g; d[3] = c + F; p.matrix.transformArray(d, 4, d); this._inverseProjection.transformArray(d, 4, d); R = d[0]; c = d[1]; g = b4o6.V6E(d[2], R); F = b4o6.q6E(d[3], c); b4o6.u6E(0, g) && (R += g, g = -g); b4o6.w6E(0, F) && (c += F, F = -F); p.applyScissor(R, c, g, F); }, willRender: function() { this._batcher.willRender(); }, didRender: function() { this._batcher.didRender(); }, onResize: function(R, c) { this._stateList = new l7; var g; g = b4o6.N6E(null, this._renderTarget) ? -1 : 1; this._stateList.matrix.set(b4o6.X6E(2, R), 0, 0, -2 * g / c, -1, g); this._inverseProjection = new k9; this._inverseProjection.set(b4o6.E6E(2, R), 0, 0, b4o6.K6E(2, c), -1, -1); this._inverseProjection.invert(); }, transformQuad: function(R, c, g, F) { var g = R + g, F = c + F, p = G9._scratchQuadArray; p[0] = R; p[1] = c; p[2] = g; p[3] = c; p[4] = g; p[5] = F; p[6] = R; p[7] = F; this._stateList.matrix.transformArray(p, 8, p); return p; }, __class__: G9 }; d8a(l7); P0(); l7.prototype = { applyScissor: function(R, c, g, F) { if (b4o6.Z6E(null, this.scissor)) var p = s4.max(this.scissor.x, R), d = s4.max(this.scissor.y, c), g = s4.min(this.scissor.x + this.scissor.width, R + g), F = s4.min(this.scissor.y + this.scissor.height, c + F), R = p, c = d, g = b4o6.h6E(g, p), F = b4o6.n6E(F, d); else this.scissor = new m9; this.scissor.set(Math.round(R), Math.round(c), Math.round(g), Math.round(F)); }, __class__: l7 }; a7(j7); F1(); E7a(); j7.prototype = { get_type: function() { return F9.WebGL; }, createTextureFromImage: function(R) { if (this.gl.isContextLost()) return null; var c = new J5(this, R.width, R.height); c.uploadImageData(R); return c.createTexture(R.width, R.height); }, getCompressedTextureFormats: function() { return []; }, createCompressedTexture: function() { this.gl.isContextLost(); return null; }, willRender: function() { this.graphics.willRender(); }, didRender: function() { this.graphics.didRender(); }, onResize: function() { this.batcher.resizeBackbuffer(640, 960); this.graphics.onResize(640, 960); }, init: function() { this.batcher = new U6(this.gl); this.graphics = new G9(this.batcher, null); this.onResize(); }, __class__: j7 }; t5a(N7); e9a(); X9(w9); N7.prototype = K(w9.prototype, { __class__: N7 }); B0(J5); G2(); b8a(); J5.drawBorder = function(R, c, g) { var F = R.getContext("2d"); F.drawImage(R, b4o6.f6E(c, 1), 0, 1, g, c, 0, 1, g); F.drawImage(R, 0, b4o6.c0E(g, 1), c, 1, 0, g, c, 1); }; n5a(t4); J5.prototype = K(t4.prototype, { createTexture: function(R, c) { return new N7(this, R, c); }, uploadImageData: function(R) { if (b4o6.p0E(this.width, R.width) || b4o6.m0E(this.height, R.height)) { var c = k.createEmptyCanvas(this.width, this.height); c.getContext("2d").drawImage(R, 0, 0); J5.drawBorder(c, R.width, R.height); R = c; } this._renderer.batcher.bindTexture(this.nativeTexture); this._renderer.gl.texImage2D(3553, 0, 6408, 6408, 5121, R); }, onDisposed: function() { var R = this._renderer.batcher; R.deleteTexture(this); b4o6.a0E(null, this.framebuffer) && R.deleteFramebuffer(this); this._graphics = this.framebuffer = this.nativeTexture = null; }, __class__: J5 }); M5(U4); E9a(); U4.createShader = function(R, c, g) { c = R.createShader(c); R.shaderSource(c, g); R.compileShader(c); return c; }; U4.prototype = { useProgram: function() { this._gl.useProgram(this._program); }, prepare: function() { null; }, getAttribLocation: function(R) { return this._gl.getAttribLocation(this._program, R); }, getUniformLocation: function(R) { return this._gl.getUniformLocation(this._program, R); }, __class__: U4 }; A6(q9); c0(); N0(U4); q9.prototype = K(U4.prototype, { setTexture: function(R) { this._gl.uniform1i(this.u_texture, R); }, setRegion: function(R, c, g, F) { this._gl.uniform4f(this.u_region, R, c, g, F); }, prepare: function() { this._gl.enableVertexAttribArray(this.a_pos); this._gl.enableVertexAttribArray(this.a_uv); this._gl.enableVertexAttribArray(this.a_alpha); this._gl.vertexAttribPointer(this.a_pos, 2, 5126, !1, 20, 0); this._gl.vertexAttribPointer(this.a_uv, 2, 5126, !1, 20, 8); this._gl.vertexAttribPointer(this.a_alpha, 1, 5126, !1, 20, 16); }, __class__: q9 }); x3(k7); X6a(); T0a(U4); k7.prototype = K(U4.prototype, { setTexture: function(R) { this._gl.uniform1i(this.u_texture, R); }, prepare: function() { this._gl.enableVertexAttribArray(this.a_pos); this._gl.enableVertexAttribArray(this.a_uv); this._gl.enableVertexAttribArray(this.a_alpha); this._gl.vertexAttribPointer(this.a_pos, 2, 5126, !1, 20, 0); this._gl.vertexAttribPointer(this.a_uv, 2, 5126, !1, 20, 8); this._gl.vertexAttribPointer(this.a_alpha, 1, 5126, !1, 20, 16); }, __class__: k7 }); d4a(E4); r9a(); e9(U4); E4.prototype = K(U4.prototype, { prepare: function() { this._gl.enableVertexAttribArray(this.a_pos); this._gl.enableVertexAttribArray(this.a_rgb); this._gl.enableVertexAttribArray(this.a_alpha); this._gl.vertexAttribPointer(this.a_pos, 2, 5126, !1, 24, 0); this._gl.vertexAttribPointer(this.a_rgb, 3, 5126, !1, 24, 8); this._gl.vertexAttribPointer(this.a_alpha, 1, 5126, !1, 24, 20); }, __class__: E4 }); O0(I9); e4(); W9a(w); I9.prototype = K(w.prototype, { get_name: function() { return "Director_3"; }, pushScene: function(R, c) { var g = this; this.completeTransition(); var F = this.get_topScene(); b4o6.y0E(null, F) ? this.playTransition(F, R, c, function() { g.hide(F); }) : (this.add(R), this.invalidateVisibility()); }, unwindToScene: function(R, c) { var g = this; this.completeTransition(); var F = this.get_topScene(); if (b4o6.v0E(null, F)) { if (b4o6.A0E(F, R)) { for (this.scenes.pop(); b4o6.e0E(0, this.scenes.length) && b4o6.k0E(this.scenes[this.scenes.length - 1], R);) this.scenes.pop().dispose(); this.playTransition(F, R, c, function() { g.hideAndDispose(F); }); } } else this.pushScene(R, c); }, onAdded: function() { this.owner.addChild(this._root); }, onRemoved: function() { this.completeTransition(); for (var R = 0, c = this.scenes; b4o6.r0E(R, c.length);) { var g = c[R]; ++R; g.dispose(); } this.scenes = []; this.occludedScenes = []; this._root.dispose(); }, onUpdate: function(R) { b4o6.B0E(null, this._transitor) && this._transitor.update(R) && this.completeTransition(); }, get_topScene: function() { var R = this.scenes.length; return b4o6.Y0E(0, R) ? this.scenes[b4o6.l0E(R, 1)] : null; }, add: function(R) { var c = this.get_topScene(); b4o6.i0E(null, c) && this._root.removeChild(c); U.remove(this.scenes, R); this.scenes.push(R); this._root.addChild(R); }, hide: function(R) { R = R._compMap.Scene_5; b4o6.x0E(null, R) && R.hidden.emit(); }, hideAndDispose: function(R) { this.hide(R); R.dispose(); }, show: function(R) { R = R._compMap.Scene_5; b4o6.s0E(null, R) && R.shown.emit(); }, invalidateVisibility: function() { for (var R = this.scenes.length; b4o6.Q0E(0, R);) { var c = this.scenes[--R]._compMap.Scene_5; if (b4o6.R3E(null, c) || c.opaque) break; } this.occludedScenes = b4o6.F3E(0, this.scenes.length) ? this.scenes.slice(R, b4o6.C3E(this.scenes.length, 1)) : []; R = this.get_topScene(); b4o6.I3E(null, R) && this.show(R); }, completeTransition: function() { b4o6.b3E(null, this._transitor) && (this._transitor.complete(), this._transitor = null, this.invalidateVisibility()); }, playTransition: function(R, c, g, F) { this.completeTransition(); this.add(c); b4o6.T3E(null, g) ? (this.occludedScenes.push(R), this._transitor = new X6(R, c, g, F), this._transitor.init(this)) : (F(), this.invalidateVisibility()); }, __class__: I9 }); i7a(X6); f2(); X6.prototype = { init: function(R) { this._transition.init(R, this._from, this._to); }, update: function(R) { return this._transition.update(R); }, complete: function() { this._transition.complete(); this._onComplete(); }, __class__: X6 }; B(T5); c4a(); T5.prototype = { init: function(R, c, g) { this._director = R; this._from = c; this._to = g; }, update: function() { return !0; }, complete: function() {}, __class__: T5 }; C9(W6); n9a(); F0a(w); W6.prototype = K(w.prototype, { get_name: function() { return "Scene_5"; }, __class__: W6 }); L6(u4); k1(); u4.prototype = { __class__: u4 }; S2(w4); i2(); m0(); w4.prototype = { update: function() { this._fn(); return 0; }, __class__: w4 }; M9a(Z4); G3(); z6(); Z4.prototype = { update: function(R) { this._elapsed += R; if (b4o6.H3E(this._elapsed, this._duration)) { var c = b4o6.t3E(this._elapsed, this._duration); this._elapsed = 0; return b4o6.o3E(R, c); } return -1; }, __class__: Z4 }; N3(R5); t6a(); P7a(w); R5.prototype = K(w.prototype, { get_name: function() { return "Script_9"; }, run: function(R) { R = new V7(R); this._handles.push(R); return R; }, stopAll: function() { this._handles = []; }, onUpdate: function(R) { for (var c = 0; b4o6.J3E(c, this._handles.length);) { var g = this._handles[c]; g.removed || b4o6.D3E(0, g.action.update(R, this.owner)) ? this._handles.splice(c, 1) : ++c; } }, __class__: R5 }); P5(V7); D0(); c5a(); V7.prototype = { dispose: function() { this.removed = !0; this.action = null; }, __class__: V7 }; S1(p5); v8a(); t2(); p5.prototype = { update: function(R, c) { for (var g = 0;;) { var F = this._runningActions[this._idx]; if (b4o6.P3E(null, F)) if (F = F.update(b4o6.M3E(R, g), c), b4o6.U3E(0, F)) g += F; else return -1;++this._idx; if (b4o6.z3E(this._idx, this._runningActions.length)) { this._idx = 0; break; } else if (b4o6.L3E(g, R)) return -1; } return g; }, __class__: p5 }; var F9 = I["flambe.subsystem.RendererType"] = { __ename__: ["flambe", "subsystem", "RendererType"], __constructs__: ["Stage3D", "WebGL", "Canvas"] }; t7a(); e7a(u); m7(F9); j8a(); O3(u); G1(F9); x8a(); Y9a(u); m2(F9); C2(h7); R0(); h7.prototype = { __class__: h7 }; G6a(c4); g3(); c4.prototype = { setDuration: function(R) { for (var R = b4o6.d1E(R, this.frames.length), c = 0, g = this.frames; b4o6.O1E(c, g.length);) { var F = g[c]; ++c; F.duration = R; } return this; }, setAnchor: function(R, c) { for (var g = 0, F = this.frames; b4o6.G1E(g, F.length);) { var p = F[g]; ++g; p.anchorX = R; p.anchorY = c; } return this; }, __class__: c4 }; K7a(N6); C1(); N6.prototype = { toSymbol: function() { return new A5(this); }, __class__: N6 }; p0(A5); U1(); X2(); A5.prototype = { createSprite: function() { var R = new E(this._texture); R.setAnchor(this._anchorX, this._anchorY); return R; }, __class__: A5 }; T8a(K8); W2(); K8.fromFlipbooks = function(R) { var c = b4.createEmptyInstance(K8); c._symbols = new h4; c.frameRate = 60; c._file = null; for (var g = 0; b4o6.S1E(g, R.length);) { var F = R[g]; ++g; for (var p = [], d = 0, C = F.frames; b4o6.V1E(d, C.length);) { var O = C[d]; ++d; p.push({ duration: b4o6.q1E(O.duration, c.frameRate), label: O.label, pivot: [O.anchorX, O.anchorY], ref: "" }); } p = new r7(c, { id: F.name, layers: [{ name: "flipbook", flipbook: !0, keyframes: p }] }); c._symbols.set(F.name, p); p = p.layers[0].keyframes; d = 0; for (C = F.frames.length; b4o6.u1E(d, C);) O = d++, p[O].setSymbol(F.frames[O].toSymbol()); } return c; }; K8.prototype = { createSprite: function(R, c) { b4o6.w1E(null, c) && (c = !0); var g = this._symbols.get(R); if (b4o6.N1E(null, g)) { if (c) throw o4.withFields("Missing symbol", ["name", R]); return null; } return g.createSprite(); }, __class__: K8 }; d3(z8); w7a(); B9a(J); z8.prototype = K(J.prototype, { onAdded: function() { J.prototype.onAdded.call(this); for (var R = 0, c = this._animators; b4o6.E1E(R, c.length);) { var g = c[R]; ++R; this.owner.addChild(g.content); } }, onRemoved: function() { J.prototype.onRemoved.call(this); for (var R = 0, c = this._animators; b4o6.K1E(R, c.length);) { var g = c[R]; ++R; this.owner.removeChild(g.content); } }, onUpdate: function(R) { J.prototype.onUpdate.call(this, R); this.speed.update(R); switch (b4o6.Z1E(this._flags, 384)) { case 0: this._position += b4o6.h1E(this.speed._value, R); b4o6.n1E(this._position, this.symbol.duration) && (this._position %= this.symbol.duration, b4o6.f1E(null, this._looped) && this._looped.emit()); break; case 256: this._flags &= -257; } this["goto"](b4o6.c2E(this._position, this.symbol.frameRate)); }, "goto": function(R) { if (b4o6.p2E(this._frame, R)) { if (b4o6.m2E(R, this._frame)) for (var c = 0, g = this._animators; b4o6.a2E(c, g.length);) { var F = g[c]; ++c; F.needsKeyframeUpdate = !0; F.keyframeIdx = 0; } c = 0; for (g = this._animators; b4o6.y2E(c, g.length);) F = g[c], ++c, F.composeFrame(R); this._frame = R; } }, rewind: function() { this._position = 0; this._flags |= 256; }, __class__: z8 }); M7a(w6); v0a(); w6.prototype = { composeFrame: function(R) { if (b4o6.B2E(null, this._sprites)) { var c = this.layer.keyframes, g = b4o6.Y2E(c.length, 1); if (b4o6.l2E(R, this.layer.frames)) this.content._compMap.Sprite_1.set_visible(!1), this.keyframeIdx = g, this.needsKeyframeUpdate = !0; else { for (; b4o6.i2E(this.keyframeIdx, g) && b4o6.x2E(c[this.keyframeIdx + 1].index, R);) ++this.keyframeIdx, this.needsKeyframeUpdate = !0; var F; this.needsKeyframeUpdate ? (this.needsKeyframeUpdate = !1, F = this._sprites[this.keyframeIdx], b4o6.s2E(F, this.content._compMap.Sprite_1) && (b4o6.Q2E(b4.getClass(F), z8) && F.rewind(), this.content.add(F))) : F = this.content._compMap.Sprite_1; var p = c[this.keyframeIdx], d = p.visible && b4o6.R47(null, p.symbol); F.set_visible(d); if (d) { var d = p.x, C = p.y, O = p.scaleX, a = p.scaleY, S = p.skewX, v = p.skewY, t = p.alpha; if (p.tweened && b4o6.F47(this.keyframeIdx, g)) { R = b4o6.C47((R - p.index), p.duration); g = p.ease; if (b4o6.I47(0, g)) { var N; b4o6.b47(0, g) ? (N = b4o6.T47(1, R), N = b4o6.H47(1, N * N), g = -g) : N = b4o6.t47(R, R); R = b4o6.o47(g, N) + b4o6.J47((1 - g), R); } c = c[this.keyframeIdx + 1]; d += b4o6.D47((c.x - d), R); C += b4o6.W47((c.y - C), R); O += b4o6.P47((c.scaleX - O), R); a += b4o6.M47((c.scaleY - a), R); S += b4o6.U47((c.skewX - S), R); v += b4o6.z47((c.skewY - v), R); t += b4o6.L47((c.alpha - t), R); } c = F.getLocalMatrix(); R = Math.sin(S); S = Math.cos(S); g = Math.sin(v); v = Math.cos(v); c.set(b4o6.j47(v, O), b4o6.g97(g, O), -R * a, b4o6.d97(S, a), d, C); c.translate(-p.pivotX, -p.pivotY); F.alpha.set__(t); } } } }, __class__: w6 }; P8a(r7); G6(); Q1(); r7.prototype = { createSprite: function() { return new z8(this); }, __class__: r7 }; V2(J6); A7a(); J6.prototype = { __class__: J6 }; I0a(Z6); U4a(); Z6.prototype = { setSymbol: function(R) { this.symbol = R; }, __class__: Z6 }; F0(T0); C9a(); T0.that = function() {}; n7a(q0); Z9a(); q0.set = function(R, c, g) { return g ? b4o6.f97(R, c) : R & ~c; }; w6a(i7); X8a(); i7.prototype = { set_result: function(R) { if (this.hasResult) throw "Promise result already assigned"; this._result = R; this.hasResult = !0; this.success.emit(R); return R; }, get: function(R) { return this.hasResult ? (R(this._result), null) : this.success.connect(R).once(); }, set_progress: function(R) { b4o6.c57(this._progress, R) && (this._progress = R, this.progressChanged.emit()); return R; }, set_total: function(R) { b4o6.p57(this._total, R) && (this._total = R, this.progressChanged.emit()); return R; }, __class__: i7 }; p7a(P8); w2(); g4a(V4); P8.prototype = K(V4.prototype, { connect: function(R, c) { b4o6.m57(null, c) && (c = !1); return this.connectImpl(R, c); }, emit: function() { var R = this; b4o6.a57(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() { R.emitImpl(); }) : this.emitImpl(); }, emitImpl: function() { for (var R = this.willEmit(), c = R; b4o6.y57(null, c);) c._listener(), c.stayInList || c.dispose(), c = c._next; this.didEmit(R); }, __class__: P8 }); p5a(o6); O7(); o6.prototype = { __class__: o6 }; v1(o4); u2(); o4.getFileExtension = function(R) { var c = R.lastIndexOf("."); return b4o6.v57(0, c) ? U.substr(R, c + 1, null) : null; }; o4.removeFileExtension = function(R) { var c = R.lastIndexOf("."); return b4o6.A57(0, c) ? U.substr(R, 0, c) : R; }; o4.getUrlExtension = function(R) { var c = R.lastIndexOf("?"); b4o6.e57(0, c) && (R = U.substr(R, 0, c)); c = R.lastIndexOf("/"); b4o6.k57(0, c) && (R = U.substr(R, c + 1, null)); return o4.getFileExtension(R); }; o4.joinPath = function(R, c) { b4o6.r57(0, R.length) && b4o6.B57(47, R.charCodeAt(R.length - 1)) && (R += "/"); return R + c; }; o4.withFields = function(R, c) { var g = c.length; if (b4o6.Y57(0, g)) { for (var R = b4o6.l57(0, R.length) ? R + " [" : R + "[", F = 0; b4o6.i57(F, g);) { b4o6.x57(0, F) && (R += ", "); var p = c[F], d = c[F + 1]; if (n.is(d, Error)) { var C = d.stack; b4o6.s57(null, C) && (d = C); } R += p + "=" + n.string(d); F += 2; } R += "]"; } return R; }; K6a(l9); Q4a(); l9.prototype = { toString: function() { return this.buf.b; }, serializeString: function(R) { var c = this.shash.get(R); b4o6.Q57(null, c) ? (this.buf.b += "R", this.buf.b = b4o6.R87(null, c) ? this.buf.b + "null" : this.buf.b + ("" + c)) : (this.shash.set(R, this.scount++), this.buf.b += "y", R = encodeURIComponent(R), this.buf.b = b4o6.F87(null, R.length) ? this.buf.b + "null" : this.buf.b + ("" + R.length), this.buf.b += ":", this.buf.b = b4o6.C87(null, R) ? this.buf.b + "null" : this.buf.b + ("" + R)); }, serializeRef: function(R) { for (var c = typeof R, g = 0, F = this.cache.length; b4o6.I87(g, F);) { var p = g++, d = this.cache[p]; if (typeof d == c && b4o6.b87(d, R)) return this.buf.b += "r", this.buf.b = b4o6.T87(null, p) ? this.buf.b + "null" : this.buf.b + ("" + p), !0; } this.cache.push(R); return !1; }, serializeFields: function(R) { for (var c = 0, g = D4.fields(R); b4o6.H87(c, g.length);) { var F = g[c]; ++c; this.serializeString(F); this.serialize(D4.field(R, F)); } this.buf.b += "g"; }, serialize: function(R) { var c = b4["typeof"](R); switch (c[1]) { case 0: this.buf.b += "n"; break; case 1: if (b4o6.t87(0, R)) { this.buf.b += "z"; break; } this.buf.b += "i"; this.buf.b = b4o6.o87(null, R) ? this.buf.b + "null" : this.buf.b + ("" + R); break; case 2: Math.isNaN(R) ? this.buf.b += "k" : Math.isFinite(R) ? (this.buf.b += "d", this.buf.b = b4o6.J87(null, R) ? this.buf.b + "null" : this.buf.b + ("" + R)) : this.buf.b = b4o6.D87(0, R) ? this.buf.b + "m" : this.buf.b + "p"; break; case 3: this.buf.b = R ? this.buf.b + "t" : this.buf.b + "f"; break; case 6: c = c[2]; if (b4o6.W87(c, String)) { this.serializeString(R); break; } if (this.useCache && this.serializeRef(R)) break; switch (c) { case Array: c = 0; this.buf.b += "a"; for (var g = R.length, F = 0; b4o6.P87(F, g);) { var p = F++; b4o6.M87(null, R[p]) ? c++ : (b4o6.U87(0, c) && (b4o6.z87(1, c) ? this.buf.b += "n" : (this.buf.b += "u", this.buf.b = b4o6.L87(null, c) ? this.buf.b + "null" : this.buf.b + ("" + c)), c = 0), this.serialize(R[p])); } b4o6.j87(0, c) && (b4o6.g77(1, c) ? this.buf.b += "n" : (this.buf.b += "u", this.buf.b = b4o6.d77(null, c) ? this.buf.b + "null" : this.buf.b + ("" + c))); this.buf.b += "h"; break; case $a: this.buf.b += "l"; for (R = R.iterator(); R.hasNext();) this.serialize(R.next()); this.buf.b += "h"; break; case Date: this.buf.b += "v"; this.buf.add(U.dateStr(R)); break; case h4: this.buf.b += "b"; for (c = R.keys(); c.hasNext();) g = c.next(), this.serializeString(g), this.serialize(R.get(g)); this.buf.b += "h"; break; case p4: this.buf.b += "q"; for (c = R.keys(); c.hasNext();) g = c.next(), this.buf.b += ":", this.buf.b = b4o6.O77(null, g) ? this.buf.b + "null" : this.buf.b + ("" + g), this.serialize(R.get(g)); this.buf.b += "h"; break; case e5: this.buf.b += "M"; for (c = R.keys(); c.hasNext();) g = c.next(), F = D4.field(g, "__id__"), D4.deleteField(g, "__id__"), this.serialize(g), g.__id__ = F, this.serialize(R.h[g.__id__]); this.buf.b += "h"; break; case R8: F = 0; p = b4o6.G77(R.length, 2); c = new B7; for (g = l9.BASE64; b4o6.S77(F, p);) { var d = R.get(F++), C = R.get(F++), O = R.get(F++); c.add(g.charAt(b4o6.V77(d, 2))); c.add(g.charAt(b4o6.q77((d << 4 | C >> 4), 63))); c.add(g.charAt(b4o6.u77((C << 2 | O >> 6), 63))); c.add(g.charAt(b4o6.w77(O, 63))); } b4o6.N77(F, p) ? (p = R.get(F++), R = R.get(F++), c.add(g.charAt(b4o6.X77(p, 2))), c.add(g.charAt(b4o6.E77((p << 4 | R >> 4), 63))), c.add(g.charAt(b4o6.K77(R << 2, 63)))) : b4o6.Z77(F, p + 1) && (R = R.get(F++), c.add(g.charAt(b4o6.h77(R, 2))), c.add(g.charAt(b4o6.n77(R << 4, 63)))); R = c.b; this.buf.b += "s"; this.buf.b = b4o6.f77(null, R.length) ? this.buf.b + "null" : this.buf.b + ("" + R.length); this.buf.b += ":"; this.buf.b = b4o6.c67(null, R) ? this.buf.b + "null" : this.buf.b + ("" + R); break; default: this.useCache && this.cache.pop(), b4o6.p67(null, R.hxSerialize) ? (this.buf.b += "C", this.serializeString(b4.getClassName(c)), this.useCache && this.cache.push(R), R.hxSerialize(this), this.buf.b += "g") : (this.buf.b += "c", this.serializeString(b4.getClassName(c)), this.useCache && this.cache.push(R), this.serializeFields(R)); } break; case 4: if (this.useCache && this.serializeRef(R)) break; this.buf.b += "o"; this.serializeFields(R); break; case 7: c = c[2]; if (this.useCache) { if (this.serializeRef(R)) break; this.cache.pop(); } this.buf.b = this.useEnumIndex ? this.buf.b + "j" : this.buf.b + "w"; this.serializeString(b4.getEnumName(c)); this.useEnumIndex ? (this.buf.b += ":", this.buf.b += n.string(R[1])) : this.serializeString(R[0]); this.buf.b += ":"; c = R.length; this.buf.b += n.string(b4o6.m67(c, 2)); for (g = 2; b4o6.a67(g, c);) F = g++, this.serialize(R[F]); this.useCache && this.cache.push(R); break; case 5: throw "Cannot serialize function"; default: throw "Cannot serialize " + n.string(R); } }, __class__: l9 }; g7a(B4); C5a(); B4.initCodes = function() { for (var R = [], c = 0, g = B4.BASE64.length; b4o6.v67(c, g);) { var F = c++; R[B4.BASE64.charCodeAt(F)] = F; } return R; }; B4.run = function(R) { return (new B4(R)).unserialize(); }; B4.prototype = { setResolver: function(R) { this.resolver = b4o6.A67(null, R) ? { resolveClass: function() { return null; }, resolveEnum: function() { return null; } } : R; }, get: function(R) { return this.buf.charCodeAt(R); }, readDigits: function() { for (var R = 0, c = !1, g = this.pos;;) { var F = this.buf.charCodeAt(this.pos); if (b4o6.e67(F, F)) break; if (b4o6.k67(45, F)) { if (b4o6.r67(this.pos, g)) break; c = !0; } else { if (b4o6.B67(48, F) || b4o6.Y67(57, F)) break; R = b4o6.l67(10, R) + (b4o6.i67(F, 48)); } this.pos++; } c && (R *= -1); return R; }, unserializeObject: function(R) { for (;;) { if (b4o6.x67(this.pos, this.length)) throw "Invalid object"; if (b4o6.s67(103, this.buf.charCodeAt(this.pos))) break; var c = this.unserialize(); if ("string" != typeof c) throw "Invalid object key"; var g = this.unserialize(); R[c] = g; } this.pos++; }, unserializeEnum: function(R, c) { if (b4o6.Q67(58, this.get(this.pos++))) throw "Invalid enum format"; var g = this.readDigits(); if (b4o6.R07(0, g)) return b4.createEnum(R, c); for (var F = []; b4o6.F07(0, g--);) F.push(this.unserialize()); return b4.createEnum(R, c, F); }, unserialize: function() { switch (this.get(this.pos++)) { case 110: return null; case 116: return !0; case 102: return !1; case 122: return 0; case 105: return this.readDigits(); case 100: for (var R = this.pos;;) { var c = this.buf.charCodeAt(this.pos); if (b4o6.C07(43, c) && b4o6.I07(58, c) || b4o6.b07(101, c) || b4o6.T07(69, c)) this.pos++; else break; } return n.parseFloat(U.substr(this.buf, R, b4o6.H07(this.pos, R))); case 121: R = this.readDigits(); if (b4o6.t07(58, this.get(this.pos++)) || b4o6.o07(this.length - this.pos, R)) throw "Invalid string length"; c = U.substr(this.buf, this.pos, R); this.pos += R; c = decodeURIComponent(c.split("+").join(" ")); this.scache.push(c); return c; case 107: return Math.NaN; case 109: return Math.NEGATIVE_INFINITY; case 112: return Math.POSITIVE_INFINITY; case 97: R = []; for (this.cache.push(R);;) { c = this.buf.charCodeAt(this.pos); if (b4o6.J07(104, c)) { this.pos++; break; } b4o6.D07(117, c) ? (this.pos++, c = this.readDigits(), R[R.length + c - 1] = null) : R.push(this.unserialize()); } return R; case 111: return R = {}, this.cache.push(R), this.unserializeObject(R), R; case 114: R = this.readDigits(); if (b4o6.W07(0, R) || b4o6.P07(R, this.cache.length)) throw "Invalid reference"; return this.cache[R]; case 82: R = this.readDigits(); if (b4o6.M07(0, R) || b4o6.U07(R, this.scache.length)) throw "Invalid string reference"; return this.scache[R]; case 120: throw this.unserialize(); case 99: R = this.unserialize(); c = this.resolver.resolveClass(R); if (b4o6.z07(null, c)) throw "Class not found " + R; R = b4.createEmptyInstance(c); this.cache.push(R); this.unserializeObject(R); return R; case 119: R = this.unserialize(); c = this.resolver.resolveEnum(R); if (b4o6.L07(null, c)) throw "Enum not found " + R; R = this.unserializeEnum(c, this.unserialize()); this.cache.push(R); return R; case 106: R = this.unserialize(); c = this.resolver.resolveEnum(R); if (b4o6.j07(null, c)) throw "Enum not found " + R; this.pos++; var g = this.readDigits(), F = b4.getEnumConstructs(c)[g]; if (b4o6.g37(null, F)) throw "Unknown enum index " + R + "@" + g; R = this.unserializeEnum(c, F); this.cache.push(R); return R; case 108: R = new $a; for (this.cache.push(R); b4o6.d37(104, this.buf.charCodeAt(this.pos));) R.add(this.unserialize()); this.pos++; return R; case 98: R = new h4; for (this.cache.push(R); b4o6.O37(104, this.buf.charCodeAt(this.pos));) c = this.unserialize(), R.set(c, this.unserialize()); this.pos++; return R; case 113: R = new p4; this.cache.push(R); for (c = this.get(this.pos++); b4o6.G37(58, c);) c = this.readDigits(), R.set(c, this.unserialize()), c = this.get(this.pos++); if (b4o6.S37(104, c)) throw "Invalid IntMap format"; return R; case 77: R = new e5; for (this.cache.push(R); b4o6.V37(104, this.buf.charCodeAt(this.pos));) c = this.unserialize(), R.set(c, this.unserialize()); this.pos++; return R; case 118: return R = U.substr(this.buf, this.pos, 19), R = U.strDate(R), this.cache.push(R), this.pos += 19, R; case 115: R = this.readDigits(); F = this.buf; if (b4o6.q37(58, this.get(this.pos++)) || b4o6.u37(this.length - this.pos, R)) throw "Invalid bytes length"; var p = B4.CODES; b4o6.w37(null, p) && (p = B4.initCodes(), B4.CODES = p); for (var d = this.pos, C = b4o6.N37(R, 3), O = d + (b4o6.X37(R, C)), c = R8.alloc(b4o6.E37(3, (R >> 2)) + (b4o6.K37(2, C) ? b4o6.Z37(C, 1) : 0)), g = 0; b4o6.h37(d, O);) { var a = p[b9.fastCodeAt(F, d++)], S = p[b9.fastCodeAt(F, d++)]; c.set(g++, b4o6.n37(a << 2, S >> 4)); a = p[b9.fastCodeAt(F, d++)]; c.set(g++, b4o6.f37(S << 4, a >> 2)); S = p[b9.fastCodeAt(F, d++)]; c.set(g++, b4o6.c17(a << 6, S)); } b4o6.p17(2, C) && (S = p[b9.fastCodeAt(F, d++)], O = p[b9.fastCodeAt(F, d++)], c.set(g++, b4o6.m17(S << 2, O >> 4)), b4o6.a17(3, C) && (F = p[b9.fastCodeAt(F, d++)], c.set(g++, b4o6.y17(O << 4, F >> 2)))); this.pos += R; this.cache.push(c); return c; case 67: R = this.unserialize(); c = this.resolver.resolveClass(R); if (b4o6.v17(null, c)) throw "Class not found " + R; R = b4.createEmptyInstance(c); this.cache.push(R); R.hxUnserialize(this); if (b4o6.A17(103, this.get(this.pos++))) throw "Invalid custom data"; return R; } this.pos--; throw "Invalid char " + this.buf.charAt(this.pos) + " at position " + this.pos; }, __class__: B4 }; f6(p4); R6a(); y0a(); p4.prototype = { set: function(R, c) { this.h[R] = c; }, get: function(R) { return this.h[R]; }, exists: function(R) { return this.h.hasOwnProperty(R); }, remove: function(R) { if (!this.h.hasOwnProperty(R)) return !1; delete this.h[R]; return !0; }, keys: function() { var R = [], c; for (c in this.h) this.h.hasOwnProperty(c) && R.push(b4o6.e17(c, 0)); return U.iter(R); }, __class__: p4 }; j2(e5); c7(); P3(); e5.prototype = { set: function(R, c) { var g = R.__id__ || (R.__id__ = ++e5.count); this.h[g] = c; this.h.__keys__[g] = R; }, keys: function() { var R = [], c; for (c in this.h.__keys__) this.h.hasOwnProperty(c) && R.push(this.h.__keys__[c]); return U.iter(R); }, __class__: e5 }; s9a(h4); N1(); O9a(); h4.prototype = { set: function(R, c) { this.h["$" + R] = c; }, get: function(R) { return this.h["$" + R]; }, exists: function(R) { return this.h.hasOwnProperty("$" + R); }, keys: function() { var R = [], c; for (c in this.h) this.h.hasOwnProperty(c) && R.push(c.substr(1)); return U.iter(R); }, iterator: function() { return { ref: this.h, it: this.keys(), hasNext: function() { return this.it.hasNext(); }, next: function() { return this.ref["$" + this.it.next()]; } }; }, __class__: h4 }; J6a(R8); f1(); R8.alloc = function(R) { for (var c = [], g = 0; b4o6.k17(g, R);) g++, c.push(0); return new R8(R, c); }; R8.prototype = { get: function(R) { return this.b[R]; }, set: function(R, c) { this.b[R] = b4o6.r17(c, 255); }, __class__: R8 }; r1(u0); V3(); u0.prototype = { toString: function() { return "Eof"; }, __class__: u0 }; j4a(n9); k2(); n9.getType = function(R) { R = R.__meta__; return b4o6.B17(null, R) || b4o6.Y17(null, R.obj) ? {} : R.obj; }; e3(h9); I6a(); q4a(w); h9.prototype = K(w.prototype, { get_name: function() { return "Background_14"; }, onAdded: function() { this._sprite = new J; this.owner.add(this._sprite); for (var R = "Background_" + n.string(this._type), c = 0; b4o6.l17(4, c);) for (var g = c++, F = 0; b4o6.i17(3, F);) { var p = F++; this.owner.addChild((new T).add((new E(G.Instance._pack.getTexture(R))).setScale(2).setXY(b4o6.x17(510, p), b4o6.s17(510, g)))); } }, onUpdate: function(R) { var c = this._sprite.x; c.set__(b4o6.Q17(c._value, 100 * R)); c = this._sprite.y; c.set__(b4o6.R27(c._value, 100 * R)); - 510 >= this._sprite.x._value && this._sprite.x.set__(0); - 510 >= this._sprite.y._value && this._sprite.y.set__(0); }, __class__: h9 }); t5(G); v7a(); G.getTexture = function(R) { return G.Instance._pack.getTexture(R); }; G.getStageState = function(R) { return G.Instance._stageState[R]; }; G.setStageState = function(R, c) { b4o6.J27(G.Instance._stageState[R], c) && (G.Instance._stageState[R] = c, G.Instance.saveStageState()); }; G.playSound = function(R) { b4o6.D27(0, G.Instance._soundOption) && G.Instance._sounds[R].play(); }; G.getLevelData = function(R) { return G.Instance._levelDatas.levels[R]; }; G.createButton = function(R) { return (new x4(null)).initTexture(G.Instance._buttonTextures[b4o6.W27(2, R)], G.Instance._buttonTextures[b4o6.P27(2, R)], G.Instance._buttonTextures[b4o6.M27(2, R) + 1]); }; G.getString = function(R) { return G.Instance._currentLanguageData[R]; }; G.prototype = { enterTitleScene: function() { this._director.get_topScene().addChild((new T).add(new E9(0, 0))); }, enterStageScene: function() { this._director.get_topScene().addChild((new T).add(new E9(1, 0))); }, enterPlayScene: function(R) { this._director.get_topScene().addChild((new T).add(new E9(2, R))); }, enterTitleScene_impl: function() { this._director.unwindToScene(e0.create()); this._director.get_topScene().addChild((new T).add(new E9(-1, 0))); d4.Instance = null; }, enterStageScene_impl: function() { this._director.unwindToScene(a0.create()); this._director.get_topScene().addChild((new T).add(new E9(-1, 0))); d4.Instance = null; }, enterPlayScene_impl: function(R) { this._director.unwindToScene(A0.create(R)); this._director.get_topScene().addChild((new T).add(new E9(-1, 0))); }, showOrientationScene: function() { var R; this._director.get_topScene(); R = this._director.get_topScene().getComponent("ResponsiveScene_2"); b4o6.U27(null, R) && b4o6.z27(960, R._targetWidth) && (this.lastScene = this._director.get_topScene(), this._director.pushScene(v0.create())); }, hideOrientationScene: function() { var R; this._director.get_topScene(); R = this._director.get_topScene().getComponent("ResponsiveScene_2"); b4o6.L27(null, R) && b4o6.j27(640, R._targetWidth) && this._director.pushScene(this.lastScene); }, onResize: function() { b4o6.g4K(e._platform.getStage().get_width(), e._platform.getStage().get_height()) ? this.showOrientationScene() : this.hideOrientationScene(); }, saveStageState: function() { for (var R = 0, c = F4.StagePageCount; b4o6.d4K(R, c);) { for (var g = R++, F = "StageState_" + g, p = "", d = 0; b4o6.O4K(30, d);) var C = d++, p = p + n.string(this._stageState[b4o6.G4K(30, g) + C + 1]); e._platform.getStorage().set(F, p); } }, saveLastStage: function(R) { this._lastPlayedStage = R; e._platform.getStorage().set("LastStage", this._lastPlayedStage); }, saveSoundOption: function(R) { this._soundOption = R; e._platform.getStorage().set("Sound", this._soundOption); }, getTileTexture: function(R, c, g) { return b4o6.S4K(0, R) ? this._tileTextures[0] : !0 == c ? this._tileTextures[R] : !0 == g ? this._tileTextures[14 + R] : this._tileTextures[7 + R]; }, __class__: G }; l7a(g9); H0a(); g9.main = function() { e.init(); g9._director = new I9; e.root.add(g9._director); var R = O4.fromAssets("bootstrap"); e._platform.loadAssetPack(R).get(g9.onSuccessPreload); }; g9.onSuccessPreload = function(R) { g9._bootstrapResources = R; var c = O4.fromAssets("game"), c = e._platform.loadAssetPack(c); c.get(g9.onSuccessLoad); R = y0.create(R, c); g9._director.unwindToScene(R); }; g9.onSuccessLoad = function(R) { (new G(R, g9._director)).enterTitleScene_impl(); g9._bootstrapResources.dispose(); }; var i9 = I["hexcon.PopupIconType"] = { __ename__: ["hexcon", "PopupIconType"], __constructs__: ["Clear", "Warning"] }; D5a(); y2(u); h4a(i9); r6a(); q2(u); c9(i9); var M = I["hexcon.PopupButtonType"] = { __ename__: ["hexcon", "PopupButtonType"], __constructs__: "None,Prev,Next,OK,Cancel,Restart,Exit".split(",") }; C4a(); Q2(u); V7a(M); N5a(); J3(u); T4(M); B2(); I7a(u); o6a(M); p7(); Z6a(u); f8a(M); u3(); S8a(u); r0(M); S7a(); z9a(u); a4a(M); G7(); k8a(u); o8a(M); B8a(F8); L3(); q6(w); F8.prototype = K(w.prototype, { get_name: function() { return "Popup_8"; }, onAdded: function() { var R = this; this._backEntity = (new T).add((new y9(0, 640, 960)).setAlpha(0.7)); this.owner.addChild(this._backEntity); this._popupEntity = (new T).add((new E(G.Instance._pack.getTexture("UI/Panel_Popup"))).centerAnchor().setXY(960, 480)); this.owner.addChild(this._popupEntity); var c = "UI/Icon_Clear"; switch (this._iconType[1]) { case 0: c = "UI/Icon_Clear"; break; case 1: c = "UI/Icon_Warning"; } this._titleEntity = (new T).add((new J).setXY(640, 0)); this._titleEntity.addChild((new T).add((new E(G.Instance._pack.getTexture(c))).centerAnchor().setXY(60, 40))); this._titleEntity.addChild((new T).add((new q4(G.Instance._fontB, this._title)).setAlign(g4.Left).setXY(100, 17))); this._popupEntity.addChild(this._titleEntity); this._contentEntity = (new T).add((new J).setXY(640, 0)); this._contentEntity.addChild((new T).add((new q4(G.Instance._fontB, this._message)).setAlign(g4.Center).setXY(320, 90))); this._popupEntity.addChild(this._contentEntity); this._buttonEntity = (new T).add((new J).setXY(640, 0)); this._buttons = []; for (var g = c = 0, F = this._buttonType; b4o6.w4K(g, F.length);) { var p = F[g]; ++g; var d = 0; switch (p[1]) { case 1: d = 0; break; case 2: d = 1; break; case 3: d = 6; break; case 4: d = 3; break; case 0: d = 6; break; case 5: d = 8; break; case 6: d = 4; } p = G.createButton(d); this._buttons.push(p); this._buttonEntity.addChild((new T).add(p)); p.setXY(b4o6.N4K(580, 100 * c), 221); c++; } c = G.createButton(7); this._buttonEntity.addChild((new T).add(c)); c.setXY(60, 221); c.connectOnClick(function() { SG.redirectToPortal(); }); this._popupEntity.addChild(this._buttonEntity); c = new R5; this.owner.add(c); c.run(new p5([new w4(function() { R._popupEntity._compMap.Sprite_1.x.animateTo(320, 0.3, i4.expoOut); }), new Z4(0.15), new w4(function() { R._titleEntity._compMap.Sprite_1.x.animateTo(0, 0.3, i4.expoOut); }), new Z4(0.15), new w4(function() { R._contentEntity._compMap.Sprite_1.x.animateTo(0, 0.3, i4.expoOut); }), new Z4(0.15), new w4(function() { R._buttonEntity._compMap.Sprite_1.x.animateTo(0, 0.3, i4.expoOut); })])); G.playSound(2); }, Hide: function() { var R = this, c = new R5; this.owner.add(c); c.run(new p5([new w4(function() { R._buttonEntity._compMap.Sprite_1.x.animateTo(-640, 0.3, i4.expoIn); }), new Z4(0.15), new w4(function() { R._contentEntity._compMap.Sprite_1.x.animateTo(-640, 0.3, i4.expoIn); }), new Z4(0.15), new w4(function() { R._titleEntity._compMap.Sprite_1.x.animateTo(-640, 0.3, i4.expoIn); }), new Z4(0.15), new w4(function() { R._popupEntity._compMap.Sprite_1.x.animateTo(-960, 0.3, i4.expoIn); }), new Z4(0.15), new w4(function() { R._backEntity._compMap.Sprite_1.alpha.animateTo(0, 0.2); }), new Z4(0.2), new w4(function() { R.owner.dispose(); })])); }, connectButtonEvent: function(R, c) { this._buttons[R].connectOnClick(c); }, __class__: F8 }); w9a(E9); h0(); b1(w); E9.prototype = K(w.prototype, { get_name: function() { return "Transition_15"; }, onAdded: function() { var R = this; if (-1 == this._sceneType) { this._sprite = (new E(G.getTexture("UI/CutIn_1"))).setXY(0, 0); this._sprite.x.animateTo(-640, 0.3, i4.expoIn); this.owner.add(this._sprite); var c = new R5; this.owner.add(c); c.run(new p5([new Z4(0.31), new w4(function() { R.owner.dispose(); })])); } else this._sprite = (new E(G.getTexture("UI/CutIn_1"))).setXY(640, 0), this._sprite.x.animateTo(0, 0.3, i4.expoOut), this.owner.add(this._sprite), c = new R5, this.owner.add(c), c.run(new p5([new Z4(0.31), new w4(function() { b4o6.X4K(0, R._sceneType) && G.Instance.enterTitleScene_impl(); b4o6.E4K(1, R._sceneType) ? G.Instance.enterStageScene_impl() : b4o6.K4K(2, R._sceneType) && G.Instance.enterPlayScene_impl(R._stageType); })])); }, __class__: E9 }); V5a(Q7); o0a(); O0a(w); Q7.prototype = K(w.prototype, { get_name: function() { return "Animal_12"; }, onAdded: function() { this._idleSprite = G.Instance._library.createSprite(n.string(this._animalIndex) + "_idle").setXY(this._x, this._y); this.owner.addChild((new T).add(this._idleSprite)); this._danceSprite = G.Instance._library.createSprite(n.string(this._animalIndex) + "_dance").setXY(this._x, this._y); this.owner.addChild((new T).add(this._danceSprite)); this._danceSprite.set_visible(!1); }, onUpdate: function(R) { !0 == (b4o6.Z4K(0, (this._danceSprite._flags & 2))) && (this._danceTime -= R, b4o6.h4K(0, this._danceTime) && (this._idleSprite.set_visible(!0), this._danceSprite.set_visible(!1))); }, connected: function() { this._danceTime = 1.5; this._idleSprite.set_visible(!1); this._danceSprite.set_visible(!0); }, __class__: Q7 }); H2(F4); m6(); v9a(d4); I1(); u4a(w); d4.prototype = K(w.prototype, { get_name: function() { return "GameManager_6"; }, get_isGameOver: function() { return this._isGameOver; }, get_minCol: function() { return this._levelData.mincol; }, get_moveCount: function() { return this._moveCount; }, onAdded: function() { var F = this; this.loadLevel(this._stageIndex); this._tileLayer = new T; this.owner.addChild(this._tileLayer); this._tileList = []; this._rowCount = this._levelData.size; this._colCount -= 1; for (var p = 0, d = this._rowCount; b4o6.n4K(p, d);) { var C = p++, O = [], a; a = b4o6.f4K(C, this._rowCount / 2) ? this._levelData.mincol + C : b4o6.c9K(this._levelData.mincol, 1, this._rowCount, C); for (var S = 0; b4o6.C9K(S, a);) { var v = S++, t = new P4; this._tileLayer.addChild((new T).add(t)); t.set_row(C); t.set_col(v); O.push(t); } this._tileList.push(O); } this._gridManager = new B9(this._levelData.mincol); this._lineLayer = (new T).add(this._gridManager); this.owner.addChild(this._lineLayer); this.setFigure(); this._downSignal = e._platform.getPointer().down.connect(function(R) { if (!0 != F._isGameOver) { var c = F.touchXtoScreenX(R.viewX), R = F.touchYtoScreenY(R.viewY), g = F.findTileByPos(c, R); if (b4o6.I9K(null, g) && b4o6.b9K(0, g.get_animal())) { G.playSound(0); F._pickedTile = g; F.removeGridFromTile(F._pickedTile); F._pickedTile.connect(null); b4o6.T9K(null, F._pickedTile.targetTile) && (F.removeGridFromTile(F._pickedTile.targetTile), F._pickedTile.targetTile.connect(null), F._pickedTile.targetTile.set_isConnecting(!1)); F._pickedTile.set_isConnecting(!0); for (g = F._pickedTile.getHead(); b4o6.H9K(null, g);) g.set_isConnecting(!0), g = g.connectedTile; F._uiManager.showFocus(F._pickedTile.get_animal()); F._uiManager.moveFocus(c, R); }!0 == F.checkConnectedAll() ? !0 == F.checkFillAll() ? F._uiManager.hideFillAllPopup() : F._uiManager.showFillAllPopup() : F._uiManager.hideFillAllPopup(); } }); this._moveSignal = e._platform.getPointer().move.connect(function(R) { if (!0 != F._isGameOver) { var c = F.touchXtoScreenX(R.viewX), R = F.touchYtoScreenY(R.viewY), g = F.findTileByPos(c, R); if (b4o6.t9K(null, F._pickedTile) && b4o6.o9K(null, g)) if (!0 == P4.isTileConnected(F._pickedTile, g)) if (b4o6.J9K(0, g.get_animal())) { if (b4o6.D9K(null, F._pickedTile.targetTile) || b4o6.W9K(null, F._pickedTile.reverseConnectedTile)) F._gridManager.setState(F._pickedTile.get_row(), F._pickedTile.get_col(), g.get_row(), g.get_col(), !0), F._pickedTile.connect(g), F._pickedTile = g, F._pickedTile.set_isConnecting(!0); } else { if (b4o6.P9K(g.get_animal(), F._pickedTile.get_animal())) if (!1 == g.isChangable && !1 == g.equals(F._pickedTile.getHead())) b4o6.M9K(null, g.reverseConnectedTile) && (F._gridManager.setState(F._pickedTile.get_row(), F._pickedTile.get_col(), g.get_row(), g.get_col(), !0), F._pickedTile.connect(g), F._pickedTile = g); else { F._pickedTile = g; for (g = F._pickedTile; b4o6.U9K(null, g) && b4o6.z9K(null, g.connectedTile);) F._gridManager.setState(g.get_row(), g.get_col(), g.connectedTile.get_row(), g.connectedTile.get_col(), !1), g = g.connectedTile; F._pickedTile.connect(null); } } else if (b4o6.L9K(g.get_animal(), F._pickedTile.get_animal()) && !1 == g.equals(F._pickedTile) && b4o6.j9K(null, g.connectedTile)) { F._pickedTile = g; for (g = F._pickedTile; b4o6.g5K(null, g) && b4o6.d5K(null, g.connectedTile);) F._gridManager.setState(g.get_row(), g.get_col(), g.connectedTile.get_row(), g.connectedTile.get_col(), !1), g = g.connectedTile; F._pickedTile.connect(null); } F._uiManager.moveFocus(c, R); !0 == F.checkConnectedAll() ? !0 == F.checkFillAll() ? F._uiManager.hideFillAllPopup() : F._uiManager.showFillAllPopup() : F._uiManager.hideFillAllPopup(); } }); this._upSignal = e._platform.getPointer().up.connect(function() { var R = !1; if (!0 != F._isGameOver) { if (b4o6.O5K(null, F._pickedTile)) { var c = F._pickedTile.getHead(); b4o6.G5K(null, F._pickedTile.animalSprite) && b4o6.S5K(null, c) && b4o6.V5K(null, c.animalSprite) && (R = !0, F._pickedTile.animalSprite.connected(), c.animalSprite.connected()); for (; b4o6.q5K(null, c);) c.set_isConnecting(!1), c = c.connectedTile; F._moveCount++; } F._pickedTile = null; F._uiManager.hideFocus(); !0 == F.checkConnectedAll() ? !0 == F.checkFillAll() ? (F._isGameOver = !0, F._uiManager.showClearPopup(F._moveCount, F.perfectMoveCount), F.danceAll(), b4o6.u5K(F._moveCount, F.perfectMoveCount) ? G.setStageState(F._stageIndex, 2) : G.setStageState(F._stageIndex, 1), F._uiManager.hideFillAllPopup(), e._platform.getExternal().call("SG_Hooks.levelUp", [F._stageIndex, F._moveCount])) : F._uiManager.showFillAllPopup() : F._uiManager.hideFillAllPopup(); !0 == R && !1 == F._isGameOver && G.playSound(1); } }); this._uiLayer = new T; this._uiManager = new w7(this._stageIndex + 1); this.owner.addChild(this._uiLayer.add(this._uiManager)); e._platform.getExternal().call("SG_Hooks.start"); }, onRemoved: function() { e._platform.getPointer().down.disconnect(this._downSignal); e._platform.getPointer().move.disconnect(this._moveSignal); e._platform.getPointer().up.disconnect(this._upSignal); }, loadLevel: function(R) { this._levelData = G.getLevelData(R); }, setFigure: function() { this._figureLayer = new T; this._figureList = []; this.owner.addChild(this._figureLayer); for (var R = [], c = 0; b4o6.w5K(10, c);) c++, R.push(null); for (var c = 0, g = this._levelData.figure; b4o6.N5K(c, g.length);) { var F = g[c]; ++c; var p = this._tileList[F[0]][F[1]], d = p.get_borderPosition(); p.animalSprite = new Q7(F[2], d.get_x(), d.get_y()); this.owner.addChild((new T).add(p.animalSprite)); p.set_animal(F[2]); p.isChangable = !1; this._figureList.push(p); b4o6.X5K(null, R[F[2]]) ? R[F[2]] = p : (p.targetTile = R[F[2]], R[F[2]].targetTile = p); } this.perfectMoveCount = b4o6.E5K(this._figureList.length / 2, 0); }, findTileByPos: function(R, c) { for (var g = null, F = 1E6, p = new Y9(R, c), d = 0, C = this._tileList; b4o6.K5K(d, C.length);) { var O = C[d]; ++d; for (var a = 0; b4o6.Z5K(a, O.length);) { var S = O[a]; ++a; var v = Y9.Distance(p, S.get_borderPosition()); b4o6.h5K(40, v) && b4o6.n5K(v, F) && (F = v, g = S); } } return g; }, removeGridFromTile: function(R) { for (; b4o6.f5K(null, R) && b4o6.c8K(null, R.connectedTile);) this._gridManager.setState(R.get_row(), R.get_col(), R.connectedTile.get_row(), R.connectedTile.get_col(), !1), R = R.connectedTile; }, checkFillAll: function() { for (var R = 0, c = this._tileList; b4o6.p8K(R, c.length);) { var g = c[R]; ++R; for (var F = 0; b4o6.m8K(F, g.length);) { var p = g[F]; ++F; if (b4o6.a8K(0, p.get_animal())) return !1; } } return !0; }, checkConnectedAll: function() { for (var R = 0, c = this._tileList; b4o6.y8K(R, c.length);) { var g = c[R]; ++R; for (var F = 0; b4o6.v8K(F, g.length);) { var p = g[F]; ++F; if (b4o6.A8K(null, p.targetTile)) { var d = p.getHead(), C = p.getTail(); if (!1 == p.targetTile.equals(d) && !1 == p.targetTile.equals(C)) return !1; } } } return !0; }, onUpdate: function(R) { this._playTime += R; }, touchXtoScreenX: function(R) { var c = b4o6.e8K(640, s4.min(e._platform.getStage().get_width() / 640, e._platform.getStage().get_height() / 960)), g = b4o6.k8K((e._platform.getStage().get_width() - c), 2); return b4o6.r8K(640, ((R - g) / c)); }, touchYtoScreenY: function(R) { var c = b4o6.B8K(960, s4.min(e._platform.getStage().get_width() / 640, e._platform.getStage().get_height() / 960)), g = b4o6.Y8K((e._platform.getStage().get_height() - c), 2); return b4o6.l8K(960, ((R - g) / c)); }, danceAll: function() { G.playSound(3); for (var R = 0, c = this._tileList; b4o6.i8K(R, c.length);) { var g = c[R]; ++R; for (var F = 0; b4o6.x8K(F, g.length);) { var p = g[F]; ++F; b4o6.s8K(null, p.animalSprite) && p.animalSprite.connected(); } } }, __class__: d4 }); p2(w7); O7a(); A4(w); w7.prototype = K(w.prototype, { get_name: function() { return "GameUIManager_7"; }, onAdded: function() { var R = this; this._focusSprite = new E(G.Instance._pack.getTexture("UI/Highlight_1")); this._focusSprite.set_visible(!1); this._focusSprite.setAlpha(0.5).centerAnchor().setScale(1.5); this.owner.addChild((new T).add(this._focusSprite)); this.owner.addChild((new T).add(new E(G.Instance._pack.getTexture("UI/Waku")))); this.owner.addChild((new T).add((new q4(G.Instance._fontB, n.string(b4o6.Q8K(this._nextStage, 1)))).setAlign(g4.Center).setXY(320, 10).setScale(1.2))); this._timeLabel = (new q4(G.Instance._font, n.string(d4.Instance.get_moveCount()))).setAlign(g4.Left); this._timeLabel.setXY(105, 882); this.owner.addChild((new T).add(this._timeLabel)); var c = G.createButton(4); this.owner.addChild((new T).add(c)); c.setXY(480, 906); c.connectOnClick(function() { R.showExitPopup(); }); c = G.createButton(8); this.owner.addChild((new T).add(c)); c.setXY(580, 906); c.connectOnClick(function() { R.showRestartPopup(); }); b4o6.R7K(2, this._nextStage) ? (this.owner.addChild((new T).add((new E(G.getTexture("Tutorial1"))).centerAnchor().setXY(320, 320))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(8))).setAlign(g4.Center).setXY(210, 236))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(9))).setAlign(g4.Center).setXY(430, 236)))) : b4o6.F7K(3, this._nextStage) && (this.owner.addChild((new T).add((new E(G.getTexture("Tutorial1"))).centerAnchor().setXY(320, 240))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(8))).setAlign(g4.Center).setXY(210, 156))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(9))).setAlign(g4.Center).setXY(430, 156))), this.owner.addChild((new T).add((new E(G.getTexture("Tutorial2"))).centerAnchor().setXY(320, 720))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(10))).setAlign(g4.Center).setXY(320, 686)))); }, showClearPopup: function(g, F) { var p = this, d = new R5; this.owner.add(d); d.run(new p5([new Z4(1), new w4(function() { var R = "", R = b4o6.C7K(g, F) ? G.getString(0) + " (" + g + "/" + F + ")" : G.getString(1) + " (" + g + "/" + F + ")", c = b4o6.I7K(p._nextStage, 25 * F4.StagePageCount), R = new F8(i9.Clear, M.Exit, M.Restart, !0 == c ? M.None : M.Next, G.getString(2), R); p.owner.addChild((new T).add(R)); !0 == c ? (R.connectButtonEvent(1, function() { G.Instance.enterStageScene(); }), R.connectButtonEvent(0, function() { G.Instance.enterPlayScene(b4o6.b7K(p._nextStage, 1)); })) : (R.connectButtonEvent(2, function() { G.Instance.enterStageScene(); }), R.connectButtonEvent(1, function() { G.Instance.enterPlayScene(b4o6.T7K(p._nextStage, 1)); }), R.connectButtonEvent(0, function() { G.Instance.enterPlayScene(p._nextStage); })); })])); }, showRestartPopup: function() { var R = this; if (!0 != d4.Instance.get_isGameOver()) { var c = new F8(i9.Warning, M.Cancel, M.OK, M.None, G.getString(3), G.getString(5)); this.owner.addChild((new T).add(c)); c.connectButtonEvent(1, function() { c.Hide(); }); c.connectButtonEvent(0, function() { G.Instance.enterPlayScene(b4o6.H7K(R._nextStage, 1)); }); } }, showExitPopup: function() { if (!0 != d4.Instance.get_isGameOver()) { var R = new F8(i9.Warning, M.Cancel, M.OK, M.None, G.getString(4), G.getString(5)); this.owner.addChild((new T).add(R)); R.connectButtonEvent(1, function() { R.Hide(); }); R.connectButtonEvent(0, function() { G.Instance.enterStageScene(); }); } }, onUpdate: function() { b4o6.t7K(null, d4.Instance) && this._timeLabel.set_text(n.string(d4.Instance.get_moveCount()) + "/" + n.string(d4.Instance.perfectMoveCount)); }, showFocus: function(R) { this._focusSprite.set_visible(!0); this._focusSprite.texture = G.getTexture("UI/Highlight_" + R); }, moveFocus: function(R, c) { this._focusSprite.setXY(R, c); }, hideFocus: function() { this._focusSprite.set_visible(!1); }, showFillAllPopup: function() { b4o6.o7K(null, this._fillAllPopup) || b4o6.J7K(3, this._nextStage) || (this._fillAllPopup = new T, this.owner.addChild(this._fillAllPopup), this._fillAllPopup.addChild((new T).add((new y9(0, 640, 70)).setAlpha(0.7).setXY(0, 760))), this._fillAllPopup.addChild((new T).add((new q4(G.Instance._font, G.getString(6))).setAlign(g4.Center).setXY(320, 770)))); }, hideFillAllPopup: function() { b4o6.D7K(null, this._fillAllPopup) && (this._fillAllPopup.dispose(), this._fillAllPopup = null); }, __class__: w7 }); G4a(B9); c7a(); L5a(w); B9.prototype = K(w.prototype, { get_name: function() { return "GridManager_10"; }, addGrid: function(R, c, g) { b4o6.W7K(null, this._gridList) && (this._gridList = new p4); !1 == this._gridList.exists(R) && this._gridList.set(R, new p4); this._gridList.get(R).set(c, g); }, onAdded: function() { var R = d4.Instance._rowCount, c = d4.Instance._tileList; this._gridList = new p4; for (var g = 0; b4o6.P7K(g, R);) for (var F = g++, p = 0, d = b4o6.M7K((F <= R / 2 ? this._minCol + F : this._minCol - 1 + R - F), 1); b4o6.U7K(p, d);) { var C = p++, O = c[F][C].get_borderPosition(), a = c[F][C + 1].get_borderPosition(), O = new Y9(b4o6.z7K((O.get_x() + a.get_x()), 2), b4o6.L7K((O.get_y() + a.get_y()), 2)), a = new E(G.Instance._pack.getTexture("Line_46")); a.centerAnchor().setXY(O.get_x(), O.get_y()); a.set_visible(!1); this.owner.addChild((new T).add(a)); this.addGrid(F + F, C + C + 1, a); } g = 0; for (F = b4o6.j7K(R / 2, 0); b4o6.g6K(g, F);) { p = g++; d = b4o6.d6K(p, R / 2) ? this._minCol + p : b4o6.O6K(this._minCol, 1, R, p); for (C = 0; b4o6.y6K(C, d);) { O = C++; for (a = 0; b4o6.v6K(2, a);) { var S = a++, v = c[p][O].get_borderPosition(), t = c[p + 1][O + S].get_borderPosition(), v = new Y9(b4o6.A6K((v.get_x() + t.get_x()), 2), b4o6.e6K((v.get_y() + t.get_y()), 2)), t = new E(G.Instance._pack.getTexture(b4o6.k6K(0, S) ? "Line_19" : "Line_37")); t.centerAnchor().setXY(v.get_x(), v.get_y()); t.set_visible(!1); this.owner.addChild((new T).add(t)); this.addGrid(p + p + 1, O + O + S, t); } } } g = 0; for (F = b4o6.r6K(R / 2, 0); b4o6.B6K(g, F);) { p = g++; p = b4o6.Y6K(R, p, 1); d = b4o6.K6K(p, R / 2) ? this._minCol + p : b4o6.Z6K(this._minCol, 1, R, p); for (C = 0; b4o6.s6K(C, d);) { O = C++; for (a = 0; b4o6.Q6K(2, a);) S = a++, v = c[p][O].get_borderPosition(), t = c[b4o6.R0K(p, 1)][O + S].get_borderPosition(), v = new Y9(b4o6.F0K((v.get_x() + t.get_x()), 2), b4o6.C0K((v.get_y() + t.get_y()), 2)), t = new E(G.Instance._pack.getTexture(b4o6.I0K(0, S) ? "Line_37" : "Line_19")), t.centerAnchor().setXY(v.get_x(), v.get_y()), t.set_visible(!1), this.owner.addChild((new T).add(t)), this.addGrid(p + p - 1, O + O + S, t); } } }, setState: function(R, c, g, F, p) { !0 == this._gridList.exists(R + g) && (R = this._gridList.get(R + g), !0 == R.exists(c + F) && R.get(c + F).set_visible(p)); }, __class__: B9 }); var X = I["hexcon.gameplay.TileType"] = { __ename__: ["hexcon", "gameplay", "TileType"], __constructs__: "Empty,Type1,Type2,Type3,Type4,Type5,Type6,Type7,Type8".split(",") }; w5a(); o8(u); v2(X); l5(); D9a(u); Y4(X); f0(); s7a(u); Y7a(X); Z2(); p4a(u); a9a(X); E5a(); O8a(u); B0a(X); p1(); V6a(u); g0(X); O1(); j3(u); M4(X); u9a(); s5(u); U8a(X); i8a(); Q9a(u); f9a(X); d6(P4); d7a(); P4.isTileConnected = function(R, c) { var g = R._row, F; F = R._col + (b4o6.b0K(g, d4.Instance._rowCount / 2) ? 0 : b4o6.T0K(R._row, (d4.Instance._rowCount / 2 | 0))); var p = c._row, d; d = c._col + (b4o6.H0K(p, d4.Instance._rowCount / 2) ? 0 : b4o6.t0K(c._row, (d4.Instance._rowCount / 2 | 0))); return b4o6.o0K(g - 1, p) && b4o6.J0K(F - 1, d) || b4o6.D0K(g - 1, p) && b4o6.W0K(F, d) || b4o6.P0K(g, p) && b4o6.M0K(F - 1, d) || b4o6.U0K(g, p) && b4o6.z0K(F + 1, d) || b4o6.L0K(g + 1, p) && b4o6.j0K(F, d) || b4o6.g3K(g + 1, p) && b4o6.d3K(F + 1, d) ? !0 : !1; }; x5a(w); P4.prototype = K(w.prototype, { get_name: function() { return "Tile_11"; }, get_col: function() { return this._col; }, set_col: function(R) { this._col = R; R = b4o6.O3K(this._col, (this._row <= d4.Instance._rowCount / 2 ? d4.Instance.get_minCol() + this._row : d4.Instance.get_minCol() - 1 + d4.Instance._rowCount - this._row) / 2, 0.5); this._baseSprite.x.set__(F4.CenterX + b4o6.b3K(R, F4.ColSize)); return this._col; }, get_row: function() { return this._row; }, set_row: function(R) { this._row = R; this._baseSprite.y.set__(F4.CenterY + b4o6.T3K((this._row - (d4.Instance._rowCount / 2 | 0)), F4.RowSize)); return this._row; }, get_borderPosition: function() { return new Y9(this._baseSprite.x._value, this._baseSprite.y._value); }, get_isConnecting: function() { return this._isConnecting; }, set_isConnecting: function(R) { this._isConnecting = R; this.set_tileType(this._tileType); return this._isConnecting; }, get_animal: function() { return this._animal; }, set_animal: function(R) { this._animal = R; switch (R) { case 1: this.set_tileType(X.Type1); break; case 2: this.set_tileType(X.Type2); break; case 3: this.set_tileType(X.Type3); break; case 4: this.set_tileType(X.Type4); break; case 5: this.set_tileType(X.Type5); break; case 6: this.set_tileType(X.Type6); break; case 7: this.set_tileType(X.Type7); break; default: this.set_tileType(X.Empty); } return this._animal; }, set_tileType: function(R) { this._tileType = R; b4o6.H3K(null, this._baseSprite) && (this._baseSprite = new J, this._baseSprite.setAnchor(42, 42), this.owner.add(this._baseSprite)); b4o6.t3K(null, this._sprite) && (this._sprite = new E(G.Instance.getTileTexture(this.get_animal(), !1, !1)), this.owner.addChild((new T).add(this._sprite))); !0 == this.isChangable && !0 == this.get_isConnecting() ? this._sprite.texture = G.Instance.getTileTexture(this.get_animal(), !0, !1) : (R = this.getTail(), this._sprite.texture = !1 == this.isChangable && b4o6.o3K(null, this.reverseConnectedTile) ? G.Instance.getTileTexture(this.get_animal(), !1, !0) : b4o6.J3K(null, R) || !0 == R.isChangable ? G.Instance.getTileTexture(this.get_animal(), !1, !1) : G.Instance.getTileTexture(this.get_animal(), !1, !0)); return this._tileType; }, onAdded: function() { this.set_tileType(X.Empty); }, connect: function(R) { b4o6.D3K(null, R) ? b4o6.W3K(null, this.connectedTile) && (!0 == this.connectedTile.isChangable && this.connectedTile.set_animal(0), this.connectedTile.connect(null), this.connectedTile = this.connectedTile.reverseConnectedTile = null) : (this.connectedTile = R, R.set_animal(this.get_animal()), R.reverseConnectedTile = this); }, getTail: function() { for (var R = this.connectedTile, c = null; b4o6.P3K(null, R);) c = R, R = R.connectedTile; return c; }, getHead: function() { for (var R = this.reverseConnectedTile, c = null; b4o6.M3K(null, R);) c = R, R = R.reverseConnectedTile; return c; }, equals: function(R) { return b4o6.U3K(null, R) ? !1 : b4o6.z3K(this.get_row(), R.get_row()) && b4o6.L3K(this.get_col(), R.get_col()); }, __class__: P4 }); E2(x4); D5(); D4a(w); x4.prototype = K(w.prototype, { get_name: function() { return "Button_13"; }, initString: function(R, c, g, F) { this._normalTexture = R.getTexture(c); this._downTexture = R.getTexture(F); return this; }, initTexture: function(R, c, g) { this._normalTexture = R; this._downTexture = g; return this; }, onAdded: function() { this._sprite = new E(this._normalTexture); this._sprite.centerAnchor(); this.owner.add(this._sprite); b4o6.j3K(null, this._font) && (this._textSprite = (new q4(this._font, "")).setAlign(g4.Center), this._textSprite.centerAnchor().setXY(45, 40), this.owner.addChild((new T).add(this._textSprite))); this._sprite.get_pointerDown().connect(K9(this, this.onTouchDown)); this._sprite.get_pointerUp().connect(K9(this, this.onTouchUp)); this._sprite.get_pointerOut().connect(K9(this, this.onTouchOut)); }, set_text: function(R) { return b4o6.g1K(null, this._textSprite) ? (this._textSprite.set_text(R), this._textSprite._text) : ""; }, setXY: function(R, c) { this._sprite.setXY(R, c); return this; }, connectOnClick: function(R) { this._clickSignal.connect(R); }, onTouchDown: function() { x4._lastButtonIndex = this._buttonIndex; this._sprite.texture = this._downTexture; G.playSound(0); }, onTouchOut: function() { this._sprite.texture = this._normalTexture; }, onTouchUp: function(R) { this._sprite.texture = this._normalTexture; b4o6.d1K(x4._lastButtonIndex, this._buttonIndex) && this._clickSignal.emit(R); }, setVisible: function(R) { b4o6.O1K(null, this._sprite) && this._sprite.set_visible(R); b4o6.G1K(null, this._textSprite) && this._textSprite.set_visible(R); }, __class__: x4 }); L1(F5); a7a(); U3(w); F5.prototype = K(w.prototype, { get_name: function() { return "ResponsiveScene_2"; }, onAdded: function() { this.owner.add(new J); this._resizeConnection = e._platform.getStage().resize.connect(K9(this, this.onResize)); this.onResize(); }, onRemoved: function() { e._platform.getStage().resize.disconnect(this._resizeConnection); }, onResize: function() { var R; R = v4.__cast(e._platform.getStage(), l4); var c = R._canvas.parentElement.parentElement.getBoundingClientRect(), g = Math.min(b4o6.S1K(c.width, this._targetWidth), b4o6.V1K(c.height, this._targetHeight)); R._canvas.width = b4o6.q1K(this._targetWidth, 0); R._canvas.height = b4o6.u1K(this._targetHeight, 0); k.setVendorStyle(R._canvas.parentElement, "position", "absolute"); k.setVendorStyle(R._canvas.parentElement, "transform-origin", "top left"); k.setVendorStyle(R._canvas.parentElement, "transform", "scale(" + g + ")"); k.setVendorStyle(R._canvas, "transform", "scale(1)"); k.setVendorStyle(R._canvas.parentElement.parentElement, "transform", "scale(1)"); k.setVendorStyle(R._canvas.parentElement.parentElement.parentElement, "transform", "scale(1)"); c = b4o6.w1K((c.width - this._targetWidth * g), 2); k.setVendorStyle(R._canvas.parentElement, "margin-left", (b4o6.N1K(null, c) ? "null" : "" + c) + "px"); }, __class__: F5 }); R3(Y9); h6a(); Y9.Distance = function(R, c) { var g = b4o6.X1K(c.get_x(), R.get_x()), F = b4o6.E1K(c.get_y(), R.get_y()); return Math.sqrt(b4o6.K1K(g, g) + b4o6.Z1K(F, F)); }; Y9.prototype = { get_x: function() { return this._x; }, get_y: function() { return this._y; }, __class__: Y9 }; w0(A0); H3(); A0.create = function(R) { var c = (new T).add(new F5(640, 960)); c.addChild((new T).add(new h9(2))); R = new d4(R); c.addChild((new T).add(R)); return c; }; t0a(y0); T8(); y0.create = function(R, c) { var g = (new T).add(new F5(640, 960)), F = new y9(0, e._platform.getStage().get_width(), e._platform.getStage().get_height()); g.addChild((new T).add(F)); var F = new E(R.getTexture("Left")), p = new E(R.getTexture("Right")), d = b4o6.h1K(640, F.texture.get_width(), p.texture.get_width(), 40), C = b4o6.Q1K(480, F.texture.get_height()); F.setXY(20, C); g.addChild((new T).add(F)); var O = new N8(R.getTexture("Background"), d); O.setXY(F.x._value + F.texture.get_width(), C); g.addChild((new T).add(O)); var a = new N8(R.getTexture("Fill")); a.setXY(O.x._value, C); c.progressChanged.connect(function() { a.width.set__(Math.min(d, b4o6.R2K(c._progress, c._total, d))); }); g.addChild((new T).add(a)); p.setXY(a.x._value + d, C); g.addChild((new T).add(p)); F = (new E(R.getTexture("logo"))).centerAnchor().setXY(320, 290); F.get_pointerDown().connect(function() { H1N2z[D2z]['open']("http://m.softgames.de", ""); }); g.addChild((new T).add(F)); return g; }; n6(v0); c2(); v0.create = function() { var R = (new T).add(new F5(960, 640)), c = new y9(0, e._platform.getStage().get_width(), e._platform.getStage().get_height()); R.addChild((new T).add(c)); c = (new E(G.Instance._pack.getTexture("Rotate"))).setXY(480, 320).centerAnchor(); R.addChild((new T).add(c)); return R; }; K5a(a0); u0a(); a0.create = function() { var R = (new T).add(new F5(640, 960)); R.addChild((new T).add(new h9(2))); R.addChild((new T).add(new Y7)); return R; }; V1(e0); J1(); e0.create = function() { var R = (new T).add(new F5(640, 960)); R.addChild((new T).add(new h9(2))); R.addChild((new T).add((new y9(16777215, 640, 365)).setXY(0, 55))); R.addChild((new T).add((new y9(8026746, 640, 6)).setXY(0, 420))); R.addChild((new T).add((new y9(16777215, 640, 120)).setXY(0, 700))); R.addChild((new T).add((new y9(8026746, 640, 6)).setXY(0, 820))); var c = (new E(G.getTexture("Logo"))).centerAnchor().setXY(320, 250); c.y.set_behavior(new n7(230, 250)); R.addChild((new T).add(c)); c = G.createButton(9); R.addChild((new T).add(c)); c.setXY(250, 760); c.connectOnClick(function() { G.Instance.enterStageScene(); }); var g = G.createButton(5); R.addChild((new T).add(g)); g.setXY(390, 760); g.setVisible(b4o6.p2K(0, G.Instance._soundOption)); var F = G.createButton(2); R.addChild((new T).add(F)); F.setXY(390, 760); F.setVisible(b4o6.m2K(1, G.Instance._soundOption)); g.connectOnClick(function() { g.setVisible(!1); F.setVisible(!0); G.Instance.saveSoundOption(1); }); F.connectOnClick(function() { g.setVisible(!0); F.setVisible(!1); G.Instance.saveSoundOption(0); }); c = G.createButton(7); R.addChild((new T).add(c)); c.connectOnClick(function() { SG.redirectToPortal(); }); c.setXY(320, 910); return R; }; J2(s7); T7a(); G7a(w); s7.prototype = K(w.prototype, { get_name: function() { return "StageList_17"; }, onAdded: function() { this._sprite = new J; this.owner.add(this._sprite); for (var R = this._startIndex, c = this._startIndex + 25; b4o6.a2K(R, c);) this.addButton(R++); }, addButton: function(R) { var c = this, g = b4o6.y2K(R, 25), F = null; if (b4o6.v2K(0, R) && b4o6.A2K(0, G.getStageState(R))) F = (new x4(null)).initString(G.Instance._pack, "UI/Button_Lock", "UI/Button_Lock", "UI/Button_Lock"); else { switch (G.getStageState(R + 1)) { case 0: F = (new x4(this._font)).initString(G.Instance._pack, "UI/Button_Stage", "UI/Button_Stage", "UI/Button_Stage_Down"); break; case 1: F = (new x4(this._font)).initString(G.Instance._pack, "UI/Button_Stage_Clear", "UI/Button_Stage_Clear", "UI/Button_Stage_Clear_Down"); break; case 2: F = (new x4(this._font)).initString(G.Instance._pack, "UI/Button_Stage_Perfect", "UI/Button_Stage_Perfect", "UI/Button_Stage_Perfect_Down"); } F.connectOnClick(function() { c.onButtonClick.emit(R + 1); }); } this.owner.addChild((new T).add(F)); F.setXY(100 + b4o6.e2K(110, (g % 5)), 250 + b4o6.k2K(130, (g / 5 | 0))); F.set_text(n.string(R + 1)); }, setVisible: function(R) { this._sprite.set_visible(R); }, __class__: s7 }); L4a(Y7); F2(); W0a(w); Y7.prototype = K(w.prototype, { get_name: function() { return "StageUIManager_16"; }, onAdded: function() { var c = this; this.owner.addChild((new T).add((new E(G.getTexture("UI/StageStatePanel"))).setXY(0, 0))); this.owner.addChild((new T).add((new q4(G.Instance._fontB, G.getString(7))).centerAnchor().setXY(320, 56).setScale(1.6))); this.owner.addChild((new T).add((new q4(G.Instance._font, n.string(this.calcClearCount()) + "/" + b4o6.r2K(25, F4.StagePageCount))).setAlign(g4.Center).setXY(180, 110))); this.owner.addChild((new T).add((new q4(G.Instance._font, n.string(this.calcPerfectCount()) + "/" + b4o6.B2K(25, F4.StagePageCount))).setAlign(g4.Center).setXY(500, 110))); var g = G.createButton(0); this.owner.addChild((new T).add(g)); g.setXY(170, 910); g.connectOnClick(function() { c.prevPage(); }); g = G.createButton(1); this.owner.addChild((new T).add(g)); g.setXY(470, 910); g.connectOnClick(function() { c.nextPage(); }); g = (new x4(null)).initString(G.Instance._pack, "UI/Button_Back", "UI/Button_Back", "UI/Button_Back"); this.owner.addChild((new T).add(g)); g.setXY(40, 58); g.connectOnClick(function() { G.Instance.enterTitleScene(); }); this._currentPage = b4o6.Y2K((G.Instance._lastPlayedStage - 1) / 25, 0); this._stageLists = []; for (var g = 0, F = F4.StagePageCount; b4o6.l2K(g, F);) { var p = g++, p = new s7(b4o6.i2K(25, p)); p.onButtonClick.connect(function(R) { G.Instance.saveLastStage(R); G.Instance.enterPlayScene(R); }); this.owner.addChild((new T).add(p)); this._stageLists.push(p); p.setVisible(!1); } this._pageIndicators = []; g = b4o6.x2K(320, 50 * (F4.StagePageCount - 1) / 2); F = 0; for (p = F4.StagePageCount; b4o6.s2K(F, p);) { var d = F++, C = new E(G.getTexture("UI/Page_Off")); C.centerAnchor().setXY(g + b4o6.Q2K(50, d), 910); this.owner.addChild((new T).add(C)); this._pageIndicators.push(C); } this.updatePage(this._currentPage); }, prevPage: function() { b4o6.R4w(0, this._currentPage) && (this._currentPage--, this.updatePage(this._currentPage)); }, nextPage: function() { b4o6.F4w(this._currentPage, F4.StagePageCount - 1) && (this._currentPage++, this.updatePage(this._currentPage)); }, calcClearCount: function() { for (var R = 0, c = 1, g = b4o6.C4w(25, F4.StagePageCount) + 1; b4o6.I4w(c, g);) { var F = c++; b4o6.b4w(0, G.getStageState(F)) && R++; } return R; }, calcPerfectCount: function() { for (var R = 0, c = 1, g = b4o6.T4w(25, F4.StagePageCount) + 1; b4o6.H4w(c, g);) { var F = c++; b4o6.t4w(2, G.getStageState(F)) && R++; } return R; }, updatePage: function(R) { for (var c = 0, g = this._pageIndicators.length; b4o6.o4w(c, g);) { var F = c++; this._stageLists[F].setVisible(b4o6.J4w(F, R)); this._pageIndicators[F].texture = b4o6.D4w(F, R) ? G.getTexture("UI/Page_On") : G.getTexture("UI/Page_Off"); } }, __class__: Y7 }); N9a(v4); X0(); v4.getClass = function(R) { return b4o6.W4w(R, Array) && b4o6.P4w(null, R.__enum__) ? Array : R.__class__; }; v4.__string_rec = function(c, g) { if (b4o6.M4w(null, c)) return "null"; if (b4o6.U4w(5, g.length)) return "<...>"; var F = typeof c; if (b4o6.z4w("function", F) && (c.__name__ || c.__ename__)) F = "object"; switch (F) { case "object": if (b4o6.L4w(c, Array)) { if (c.__enum__) { if (b4o6.j4w(2, c.length)) return c[0]; for (var F = c[0] + "(", g = g + "\t", p = 2, d = c.length; b4o6.g9w(p, d);) var C = p++, F = b4o6.d9w(2, C) ? F + ("," + v4.__string_rec(c[C], g)) : F + v4.__string_rec(c[C], g); return F + ")"; } F = c.length; p = "["; g += "\t"; for (d = 0; b4o6.O9w(d, F);) C = d++, p += (b4o6.G9w(0, C) ? "," : "") + v4.__string_rec(c[C], g); return p + "]"; } try { p = c.toString; } catch (R) { return "???"; } if (b4o6.S9w(null, p) && b4o6.V9w(p, Object.toString) && (F = c.toString(), b4o6.q9w("[object Object]", F))) return F; F = null; p = "{\n"; g += "\t"; d = b4o6.u9w(null, c.hasOwnProperty); for (F in c) if (!d || c.hasOwnProperty(F)) b4o6.w9w("prototype", F) || b4o6.N9w("__class__", F) || b4o6.X9w("__super__", F) || b4o6.E9w("__interfaces__", F) || b4o6.K9w("__properties__", F) || (b4o6.Z9w(2, p.length) && (p += ", \n"), p += g + F + " : " + v4.__string_rec(c[F], g)); g = g.substring(1); return p + ("\n" + g + "}"); case "function": return ""; case "string": return c; default: return "" + c; } }; v4.__interfLoop = function(R, c) { if (b4o6.h9w(null, R)) return !1; if (b4o6.n9w(R, c)) return !0; var g = R.__interfaces__; if (b4o6.f9w(null, g)) for (var F = 0, p = g.length; b4o6.c5w(F, p);) { var d = F++, d = g[d]; if (b4o6.p5w(d, c) || v4.__interfLoop(d, c)) return !0; } return v4.__interfLoop(R.__super__, c); }; v4.__instanceof = function(R, c) { if (b4o6.m5w(null, c)) return !1; switch (c) { case Z0a: return b4o6.a5w((R | 0), R); case x0: return "number" == typeof R; case U0: return "boolean" == typeof R; case String: return "string" == typeof R; case Array: return b4o6.y5w(R, Array) && b4o6.v5w(null, R.__enum__); case M0a: return !0; default: if (b4o6.A5w(null, R)) { if ("function" == typeof c && (b4o6.e5w(R, c) || v4.__interfLoop(v4.getClass(R), c))) return !0; } else return !1; return b4o6.k5w(c, K0a) && b4o6.r5w(null, R.__name__) || b4o6.B5w(c, l0a) && b4o6.Y5w(null, R.__ename__) ? !0 : b4o6.l5w(R.__enum__, c); } }; v4.__cast = function(R, c) { if (v4.__instanceof(R, c)) return R; throw "Cannot cast " + n.string(R) + " to " + n.string(c); }; l6a(V0); J9a(); V0.getLocalStorage = function() { try { var c = H1N2z[D2z]['localStorage']; c.getItem(""); return c; } catch (R) { return null; } }; y3(t0); n1(); t0.getContextWebGL = function(R, c) { for (var g = 0, F = ["webgl", "experimental-webgl"]; b4o6.i5w(g, F.length);) { var p = F[g]; ++g; p = R.getContext(p, c); if (b4o6.x5w(null, p)) return p; } return null; }; var i0a = 0; w4a(Number); C8a(Number); l2(Number); z5(Math); Math.isFinite = function(R) { return isFinite(R); }; Math.isNaN = function(R) { return isNaN(R); }; String.prototype.__class__ = I.String = String; y5a(); z6a(Array); m5a(); Date.prototype.__class__ = I.Date = Date; M3(); var Z0a = I.Int = { __name__: ["Int"] }, M0a = I.Dynamic = { __name__: ["Dynamic"] }, x0 = I.Float = Number; B5(); var U0 = I.Bool = Boolean; S0a(); var K0a = I.Class = { __name__: ["Class"] }, l0a = {}; f9.instance = new f9; V4.DISPATCHING_SENTINEL = new g8(null, null); e.root = new T; e.uncaughtError = new C4; e.hidden = new X4(!1); e.volume = new Q(1); y9a(f9); z3(); O4.__meta__ = { obj: { assets: [{ bootstrap: [{ bytes: 236, md5: "34b7888d4dc22ec17c6d25c41e1a57b7", name: "Background.png" }, { bytes: 233, md5: "d613aae715f9d2c1b55956b808f90f86", name: "Fill.png" }, { bytes: 1802, md5: "44b1bf482e12d3cc29d5e975c2a81268", name: "Left.png" }, { bytes: 36059, md5: "3a61328cdd7db1bf61d2f442c1c3261e", name: "logo.png" }, { bytes: 1812, md5: "86b2bcf01a1c11269cd915976564f623", name: "Right.png" }], game: [{ bytes: 65079, md5: "12af16399b5b71425b936aaf545ed982", name: "Animals.png" }, { bytes: 469, md5: "efdae87d94713a70f4f403ae924828a2", name: "Background_1.png" }, { bytes: 416, md5: "f2f058902a2dc43d1c09d4d42b87eee2", name: "Background_2.png" }, { bytes: 98837, md5: "dfb8f534e4a61db97d70fcc08013a5f9", name: "font/BasicL.fnt" }, { bytes: 98838, md5: "d58f095afeccb630ca1f5b65db327266", name: "font/BasicLB.fnt" }, { bytes: 43670, md5: "39e18d8990f5c327bdd13e4b84501784", name: "font/BasicLB_0.png" }, { bytes: 39919, md5: "671459c9cae6bb360bf428e1afa1f848", name: "font/BasicL_0.png" }, { bytes: 2797, md5: "a1787a71a91fdb634740e932136806d8", name: "language.json" }, { bytes: 18043, md5: "5bd4d90a8f5f3676c0d82a03bbdf3f53", name: "level/level.json" }, { bytes: 568, md5: "03f81806b1a08af881290978c7cd7e65", name: "Line_19.png" }, { bytes: 576, md5: "5c061be9d5ba910bca2224f5b421be08", name: "Line_37.png" }, { bytes: 342, md5: "074bc5c3485df260663ecadbecf396b7", name: "Line_46.png" }, { bytes: 6947, md5: "b8ce0ae9945f834e2c1508306d373c50", name: "Logo.png" }, { bytes: 15502, md5: "a5741dff082faa6c0810fff7e90edc62", name: "Rotate.png" }, { bytes: 7038, md5: "477282df31a088fd31c750d83c383448", name: "sound/button.m4a" }, { bytes: 8440, md5: "ef9512046bd952621e14b553d791016a", name: "sound/button.ogg" }, { bytes: 24092, md5: "0b74d71dfd538d03a7c3e3aa22001005", name: "sound/connected.m4a" }, { bytes: 15473, md5: "f12e889442de00eb53b2676e6c967a96", name: "sound/connected.ogg" }, { bytes: 25914, md5: "7103956d9cbbe649b7aefa2ad3b7b7c8", name: "sound/popup.m4a" }, { bytes: 13818, md5: "9937277f0dddad1b6bdd26474d3c5ea5", name: "sound/popup.ogg" }, { bytes: 24091, md5: "bc29f5334e2e4708d8506d42a82e7ab6", name: "sound/stagecomplete.m4a" }, { bytes: 16151, md5: "35e1b421e4c99bf7a39b9e79863e634c", name: "sound/stagecomplete.ogg" }, { bytes: 10940, md5: "5c5f94aca77f615fba54b8f8ecd86424", name: "Tile.png" }, { bytes: 767, md5: "a032fbe3c9fb1cb266f1b36c9c9355e3", name: "Tutorial1.png" }, { bytes: 619, md5: "0309d69019c0571f8bc354926a790b49", name: "Tutorial2.png" }, { bytes: 6199, md5: "7a5843eb59857bf3fcf52cf5527ff12f", name: "UI/Buttons.png" }, { bytes: 780, md5: "7117565736ddf6c829ba637f724292c2", name: "UI/Button_Back.png" }, { bytes: 3948, md5: "60ccccc92ec08bd2868f0fa5de4c15f2", name: "UI/Button_Lock.png" }, { bytes: 129, md5: "b05553afef4b078c637a81d5fc8d84fc", name: "UI/Button_Stage.png" }, { bytes: 187, md5: "d5b240aa2473445516432de8b396871b", name: "UI/Button_Stage_Clear.png" }, { bytes: 213, md5: "533ea749146830e302402892158c2939", name: "UI/Button_Stage_Clear_Down.png" }, { bytes: 129, md5: "1838d4a099b5d7040d3f39ff544f7b7b", name: "UI/Button_Stage_Down.png" }, { bytes: 337, md5: "72c7e657077aff41e5b5c610a9798a3d", name: "UI/Button_Stage_Perfect.png" }, { bytes: 406, md5: "b83948a58dab0c7174182c6bebe3caad", name: "UI/Button_Stage_Perfect_Down.png" }, { bytes: 6898, md5: "24489fb2c359c6675c85ca4b2200d152", name: "UI/CutIn_1.png" }, { bytes: 531, md5: "a4ddd8d850ac9bc3fc98381d579be848", name: "UI/Highlight_1.png" }, { bytes: 542, md5: "35427d80280d36951a81b0b5b018a0f0", name: "UI/Highlight_2.png" }, { bytes: 498, md5: "2176171d5a48f548ace21a46b879b232", name: "UI/Highlight_3.png" }, { bytes: 522, md5: "28bc6d40ca6dd4acf8814a1980693781", name: "UI/Highlight_4.png" }, { bytes: 491, md5: "e2c1d45db233036a01ab76df37e71c65", name: "UI/Highlight_5.png" }, { bytes: 526, md5: "be9b64b7b4d0849821e2644c4ab980d2", name: "UI/Highlight_6.png" }, { bytes: 510, md5: "d5ab13a06ac025c81c98c873c39e801c", name: "UI/Highlight_7.png" }, { bytes: 682, md5: "2cdcb160a432fa330cdf8741e7f24339", name: "UI/Icon_Clear.png" }, { bytes: 478, md5: "3b96e5e1139023bdb30f44753a24a2e4", name: "UI/Icon_Warning.png" }, { bytes: 83, md5: "f83b103d78a591fa115fe52c4747f59c", name: "UI/Page_Off.png" }, { bytes: 83, md5: "fabd32612bb3626988a3aacc16ced8c8", name: "UI/Page_On.png" }, { bytes: 125, md5: "45c0bb66b83757b6e52b2f3aa0caa623", name: "UI/Panel_Popup.png" }, { bytes: 5264, md5: "a5b3141acec49167b282d150b78900d3", name: "UI/StageStatePanel.png" }, { bytes: 6934, md5: "5ef01e19e95a79548f1ef860bace8b51", name: "UI/Waku.png" }] }] } }; O4._supportsCrossOrigin = function() { for (var h4y in H1N2z[D2z]) { if (h4y.length === ((12.19E2, 1.81E2) >= (0xC9, 0xCE) ? 'O' : 63.90E1 >= (45, 55.6E1) ? (26., 9) : (7.2E2, 64.5E1)) && h4y.charCodeAt(6) === 116 && h4y.charCodeAt(8) === 114 && h4y.charCodeAt(((0xDE, 117) > 75. ? (0x21C, 4) : (1.92E2, 4.7E2))) === ((118.30E1, 95.9E1) > (0x15A, 12) ? (1.11E3, 103) : 115 < (0x1D4, 1.8E1) ? "" : (0x199, 48)) && h4y.charCodeAt(0) === 110) break }; for (var z4y in H1N2z[D2z][h4y]) { if (z4y.length == 9 && z4y.charCodeAt(8) == 116 && z4y.charCodeAt(((0xC7, 103.80E1) < 10.21E2 ? (69., 0.15) : (146.6E1, 128.) >= 105 ? (35., 7) : (65, 110.4E1))) == 110 && z4y.charCodeAt(0) == 117) break }; var R; R = b4o6.s5w(0, H1N2z[D2z][h4y][z4y].indexOf("Linux; U; Android")) ? !1 : b4o6.Q5w(null, (new XMLHttpRequest).withCredentials); R || null; return R; }(); J._scratchPoint = new K6; c5.NEWLINE = new E7(10); $._sharedEvent = new E6; k4._sharedEvent = new $b; d8.CANVAS_TEXTURES = (new m5("(iPhone|iPod|iPad)", "")).match(H1N2z[D2z][s4y][n4y]); D2(0); q8a(); J7a(); s2(); i3(); G9._scratchMatrix = new k9; y4a(); b5(); T2("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:选择关卡完美普通过关重新开始?退出你本关卡的进度将会丢失必须填满每个格子才能过关点击一个动物连到另一个动物"); u6a(b4); h8a("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:选择关卡完美普通过关重新开始?退出你本关卡的进度将会丢失必须填满每个格子才能过关点击一个动物连到另一个动物"); r9(0); e4a(84); D3(61); n0(320); f8(480); r4a(3); Y2(0); b6a(); g9.main(); })();