retro-bowl/js/main_unpacked.js
2021-10-22 10:56:23 -04:00

96709 lines
3.3 MiB

Array.prototype._62 = 0;
var _72 = {
_82: [],
_92: { _a2: {}, _b2: {} },
_c2: [
{ _d2: "snd_audience_dis", _e2: 0, _f2: "", _g2: "snd_audience_dis", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_audience_fg", _e2: 0, _f2: "", _g2: "snd_audience_fg", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_audience_idle", _e2: 0, _f2: "", _g2: "snd_audience_idle", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_beep", _e2: 0, _f2: "", _g2: "snd_beep", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_beep2", _e2: 0, _f2: "", _g2: "snd_beep2", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_bounce", _e2: 0, _f2: "", _g2: "snd_bounce", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_click", _e2: 0, _f2: "", _g2: "snd_click", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_kick", _e2: 0, _f2: "", _g2: "snd_kick", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_oof1", _e2: 0, _f2: "", _g2: "snd_oof1", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_oof2", _e2: 0, _f2: "", _g2: "snd_oof2", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_oof3", _e2: 0, _f2: "", _g2: "snd_oof3", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_post", _e2: 0, _f2: "", _g2: "snd_post", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_throw", _e2: 0, _f2: "", _g2: "snd_throw", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_tackle", _e2: 0, _f2: "", _g2: "snd_tackle", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0 },
{ _d2: "snd_music", _e2: 1, _f2: "", _g2: "snd_music", _h2: 0, volume: 1, _i2: 0, preload: !1, _j2: 0, duration: 0 },
],
_k2: [{ name: "audiogroup_default", _l2: !0 }],
_m2: [
{ _d2: "spr_field", width: 1300, height: 270, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 1299, _r2: 269, _s2: 0, _t2: [5, 2, 1, 4, 0, 6, 3] },
{ _d2: "spr_ball", width: 10, height: 5, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 5, _w2: 2, _x2: 1, _q2: 8, _r2: 4, _s2: 7, _t2: [393, 394, 395, 396] },
{ _d2: "spr_blur", width: 10, height: 5, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 5, _w2: 1, _x2: 1, _q2: 8, _r2: 4, _s2: 7, _t2: [390] },
{ _d2: "spr_chains", width: 32, height: 27, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 16, _w2: 26, _x2: 6, _q2: 26, _r2: 26, _s2: 15, _t2: [187, 186] },
{ _d2: "spr_cheerleaders", width: 100, height: 25, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 50, _w2: 24, _x2: 5, _q2: 94, _y2: 1, _r2: 23, _s2: 2, _t2: [42, 40] },
{ _d2: "spr_dummy", _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 13, _x2: 2, _q2: 12, _y2: 9, _r2: 18, _s2: 0, _t2: [268, 340, 284] },
{ _d2: "spr_cone", width: 7, height: 4, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 3, _w2: 2, _q2: 6, _r2: 3, _s2: 15, _t2: [380] },
{ _d2: "spr_goal_stand", width: 10, height: 37, _n2: !1, _o2: !1, preload: !1, _p2: !1, _w2: 32, _q2: 9, _y2: 5, _r2: 36, _s2: 0, _t2: [201, 200] },
{ _d2: "spr_goal_post", width: 17, height: 90, _n2: !1, _o2: !1, preload: !1, _p2: !1, _w2: 85, _x2: 10, _q2: 16, _r2: 61, _s2: 0, _t2: [216, 202, 190] },
{ _d2: "spr_goal_shadow", width: 32, height: 35, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 3, _w2: 17, _x2: 7, _q2: 24, _r2: 34, _s2: 0, _t2: [184] },
{ _d2: "spr_rain", width: 2, height: 8, _n2: !1, _o2: !1, preload: !1, _p2: !1, _w2: 7, _q2: 1, _r2: 7, _s2: 8, _t2: [400, 404] },
{ _d2: "spr_splash", width: 13, height: 12, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 6, _w2: 9, _x2: 2, _q2: 11, _y2: 6, _r2: 11, _s2: 3, _t2: [406, 378, 368, 369, 405] },
{ _d2: "spr_snow", width: 3, height: 3, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 1, _w2: 1, _q2: 2, _r2: 2, _s2: 9, _t2: [401] },
{ _d2: "spr_grass", width: 32, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 31, _r2: 31, _s2: 15, _t2: [46] },
{ _d2: "spr_coach", width: 10, height: 21, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 5, _w2: 19, _q2: 9, _y2: 1, _r2: 19, _s2: 15, _t2: [252] },
{ _d2: "spr_stand_highlight", height: 24, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 22, _x2: 2, _q2: 12, _y2: 9, _r2: 18, _s2: 0, _t2: [244, 251, 243] },
{ _d2: "spr_stand", _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 15, _x2: 2, _q2: 12, _y2: 9, _r2: 18, _s2: 0, _t2: [294, 299, 295] },
{ _d2: "spr_qb_walk", height: 17, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 16, _x2: 2, _q2: 12, _y2: 9, _r2: 18, _s2: 6, _t2: [285, 258] },
{ _d2: "spr_qb_aim", width: 15, height: 17, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 16, _x2: 2, _q2: 12, _y2: 9, _r2: 18, _s2: 6, _t2: [220] },
{ _d2: "spr_qb_throw", width: 12, height: 17, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 6, _w2: 16, _x2: 2, _q2: 12, _y2: 9, _r2: 18, _s2: 1, _t2: [238] },
{ _d2: "spr_handoff", _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 15, _x2: 2, _q2: 12, _y2: 9, _r2: 18, _s2: 4, _t2: [280, 292] },
{ _d2: "spr_run", height: 17, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 16, _x2: 4, _q2: 11, _y2: 12, _r2: 18, _s2: 8, _t2: [311, 260, 240, 312, 259, 239] },
{ _d2: "spr_run_ball", _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 15, _x2: 4, _q2: 11, _y2: 12, _r2: 18, _s2: 8, _t2: [317, 274, 265, 316, 275, 266] },
{ _d2: "spr_getup", _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 15, _x2: 2, _q2: 12, _y2: 9, _r2: 18, _s2: 4, _t2: [298, 291] },
{ _d2: "spr_stiffarm", height: 17, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 15, _x2: 4, _q2: 11, _y2: 12, _r2: 18, _s2: 8, _t2: [296, 261, 241, 297, 262, 242] },
{ _d2: "spr_jump_catch", width: 7, height: 28, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 3, _w2: 27, _x2: 4, _q2: 11, _y2: 12, _r2: 18, _s2: 8, _t2: [349, 313, 314, 315, 348] },
{ _d2: "spr_jump_catch_ball", width: 7, height: 28, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 3, _w2: 27, _x2: 4, _q2: 11, _y2: 12, _r2: 18, _s2: 8, _t2: [350, 307, 305, 306, 339] },
{ _d2: "spr_jump", height: 24, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 22, _x2: 4, _q2: 11, _y2: 12, _r2: 18, _s2: 8, _t2: [257, 263, 235] },
{ _d2: "spr_jockey", height: 17, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 15, _x2: 4, _q2: 11, _y2: 12, _r2: 18, _s2: 8, _t2: [309, 256, 308, 255] },
{ _d2: "spr_wrestle", _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 9, _w2: 15, _x2: 2, _q2: 14, _y2: 9, _r2: 18, _s2: 4, _t2: [282, 303] },
{ _d2: "spr_falling", width: 24, height: 24, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 12, _w2: 22, _x2: 8, _q2: 17, _y2: 17, _r2: 23, _s2: 3, _t2: [341, 352] },
{ _d2: "spr_falling_ball", width: 24, height: 24, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 12, _w2: 22, _x2: 8, _q2: 17, _y2: 17, _r2: 23, _s2: 3, _t2: [342, 365] },
{ _d2: "spr_dive_ball", width: 32, height: 26, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 16, _w2: 25, _x2: 13, _q2: 24, _y2: 10, _r2: 13, _s2: 8, _t2: [269, 254, 267] },
{ _d2: "spr_dive", width: 32, height: 26, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 16, _w2: 25, _x2: 11, _q2: 24, _y2: 20, _r2: 24, _s2: 8, _t2: [276, 253, 272] },
{ _d2: "spr_kick1", height: 20, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 17, _q2: 12, _y2: 3, _r2: 19, _s2: 8, _t2: [236, 310, 231] },
{ _d2: "spr_kick2", height: 20, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 17, _x2: 1, _q2: 14, _y2: 3, _r2: 19, _s2: 9, _t2: [237, 232, 281, 270, 293] },
{ _d2: "spr_place", height: 13, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 6, _w2: 11, _x2: 2, _q2: 14, _r2: 11, _s2: 0, _t2: [283, 338] },
{ _d2: "spr_spike", height: 20, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 19, _q2: 13, _r2: 19, _s2: 9, _t2: [217, 264, 300] },
{ _d2: "spr_celebrate", height: 20, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 19, _x2: 3, _q2: 11, _y2: 1, _r2: 19, _s2: 2, _t2: [304, 290] },
{ _d2: "spr_route_pointR", _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 7, _x2: -1, _q2: 5, _y2: -1, _r2: 3, _s2: 15, _t2: [347] },
{ _d2: "spr_bouncespot", _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 4, _w2: 3, _x2: 1, _q2: 7, _y2: 1, _r2: 5, _s2: 15, _t2: [379] },
{ _d2: "spr_kickpoint", width: 25, height: 7, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 6, _w2: 3, _x2: 12, _q2: 24, _r2: 6, _s2: 15, _t2: [353] },
{ _d2: "spr_highlight", _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 7, _q2: 15, _r2: 14, _s2: 15, _t2: [225] },
{ _d2: "spr_aim", width: 7, height: 7, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 2, _w2: 3, _x2: 1, _q2: 4, _y2: 1, _r2: 4, _s2: 15, _t2: [397] },
{ _d2: "spr_wind", width: 22, height: 21, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 9, _w2: 10, _q2: 21, _r2: 20, _s2: 15, _t2: [185] },
{ _d2: "spr_pointer", width: 9, height: 12, _u2: 2, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 4, _w2: 6, _x2: 2, _q2: 12, _y2: 9, _r2: 18, _s2: 0, _t2: [343, 344] },
{ _d2: "spr_star_s", width: 5, height: 4, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 2, _w2: 2, _q2: 4, _r2: 3, _s2: 15, _t2: [392] },
{ _d2: "spr_attitude_s", width: 5, height: 5, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 2, _w2: 2, _q2: 4, _r2: 4, _s2: 15, _t2: [389, 385, 383, 386, 384, 387, 388] },
{ _d2: "spr_attitude_s2", width: 4, height: 4, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 1, _w2: 1, _q2: 4, _r2: 3, _s2: 15, _t2: [391, 410, 411, 407, 412, 409, 408] },
{
_d2: "spr_press_conf",
width: 100,
height: 40,
_n2: !1,
_o2: !1,
preload: !1,
_p2: !1,
_q2: 99,
_r2: 39,
_s2: 15,
_t2: [26],
},
{ _d2: "spr_team_celebration", width: 100, height: 40, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 99, _r2: 39, _s2: 15, _t2: [27] },
{ _d2: "spr_helmet", width: 60, height: 60, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 30, _w2: 30, _x2: 6, _q2: 56, _y2: 6, _r2: 56, _s2: 0, _t2: [37, 38] },
{ _d2: "spr_matchline_dot", width: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 16, _w2: 8, _x2: 4, _q2: 28, _y2: 2, _r2: 15, _s2: 15, _t2: [195] },
{ _d2: "spr_star", width: 7, height: 7, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 3, _w2: 4, _q2: 6, _r2: 6, _s2: 15, _t2: [375] },
{ _d2: "spr_connect", width: 7, height: 7, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 3, _w2: 3, _q2: 6, _r2: 6, _s2: 15, _t2: [374] },
{ _d2: "spr_star_b", width: 9, height: 9, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 4, _w2: 4, _q2: 8, _r2: 8, _s2: 15, _t2: [360] },
{ _d2: "spr_xp", width: 14, height: 7, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 3, _q2: 13, _r2: 6, _s2: 15, _t2: [351] },
{ _d2: "spr_credit", width: 9, height: 9, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 4, _w2: 4, _q2: 8, _r2: 8, _s2: 0, _t2: [358, 356, 357] },
{ _d2: "spr_attitude", width: 11, height: 11, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 5, _w2: 5, _q2: 10, _r2: 10, _s2: 15, _t2: [322, 328, 327, 323, 325, 326, 324] },
{ _d2: "spr_trade", width: 11, height: 11, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 5, _w2: 5, _q2: 10, _r2: 10, _s2: 15, _t2: [335] },
{ _d2: "spr_rookie", width: 11, height: 11, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 5, _w2: 5, _q2: 10, _r2: 10, _s2: 0, _t2: [333] },
{ _d2: "spr_condition", width: 11, height: 11, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 5, _w2: 5, _q2: 10, _r2: 10, _s2: 15, _t2: [330, 332, 331, 329] },
{ _d2: "spr_morale", width: 9, height: 9, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 4, _w2: 4, _q2: 8, _r2: 8, _s2: 15, _t2: [359] },
{ _d2: "spr_heart", width: 9, height: 9, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 4, _w2: 5, _q2: 8, _y2: 1, _r2: 8, _s2: 15, _t2: [366] },
{ _d2: "spr_star_rating", width: 39, height: 7, _n2: !1, _o2: !1, preload: !1, _p2: !1, _w2: 3, _q2: 38, _r2: 6, _s2: 15, _t2: [413, 382, 376, 354, 345, 301, 278, 250, 233, 222, 210] },
{ _d2: "spr_star_rating_b", width: 41, height: 9, _n2: !1, _o2: !1, preload: !1, _p2: !1, _w2: 4, _q2: 40, _r2: 8, _s2: 15, _t2: [414, 370, 361, 318, 286, 245, 227, 212, 205, 196, 191] },
{ _d2: "spr_star_rating_bn", width: 41, height: 9, _n2: !1, _o2: !1, preload: !1, _p2: !1, _w2: 4, _q2: 40, _r2: 8, _s2: 15, _t2: [415, 371, 362, 319, 287, 246, 228, 213, 206, 197, 192] },
{ _d2: "spr_star_rating_c", width: 39, height: 7, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 19, _w2: 3, _q2: 38, _r2: 6, _s2: 15, _t2: [416, 381, 377, 355, 346, 302, 279, 249, 234, 221, 211] },
{ _d2: "spr_star_rating_cb", width: 41, height: 9, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 20, _w2: 4, _q2: 40, _r2: 8, _s2: 15, _t2: [417, 372, 363, 320, 288, 247, 229, 214, 207, 198, 193] },
{ _d2: "spr_star_rating_cbn", width: 41, height: 9, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 20, _w2: 4, _q2: 40, _r2: 8, _s2: 15, _t2: [418, 373, 364, 321, 289, 248, 230, 215, 208, 199, 194] },
{ _d2: "spr_cup", width: 15, height: 15, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 7, _x2: 1, _q2: 13, _y2: 1, _r2: 13, _s2: 15, _t2: [271] },
{ _d2: "spr_store", width: 15, height: 15, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 7, _x2: 1, _q2: 11, _y2: 2, _r2: 12, _s2: 15, _t2: [334] },
{ _d2: "spr_spangle", width: 23, height: 7, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 11, _w2: 4, _q2: 22, _r2: 6, _s2: 15, _t2: [277] },
{ _d2: "spr_fans", width: 12, height: 14, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 6, _w2: 7, _q2: 11, _r2: 13, _s2: 15, _t2: [273] },
{ _d2: "spr_box_208x64", width: 208, height: 64, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 207, _r2: 63, _s2: 15, _t2: [21] },
{ _d2: "spr_button_90", width: 90, height: 34, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 89, _r2: 33, _s2: 0, _t2: [34, 35, 39] },
{ _d2: "spr_button_104", width: 106, height: 34, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 105, _r2: 33, _s2: 0, _t2: [30, 33, 36] },
{ _d2: "spr_button_32", width: 33, height: 34, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 32, _r2: 33, _s2: 0, _t2: [45, 48, 183] },
{ _d2: "spr_button_40", width: 41, height: 34, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 40, _r2: 33, _s2: 0, _t2: [43, 44, 49] },
{ _d2: "spr_box_208x80", width: 208, height: 80, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 207, _r2: 79, _s2: 15, _t2: [18] },
{ _d2: "spr_box_208x32", width: 208, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 207, _r2: 31, _s2: 15, _t2: [22] },
{ _d2: "spr_meter", width: 192, height: 20, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 191, _r2: 19, _s2: 15, _t2: [28] },
{ _d2: "spr_box_416x144", width: 416, height: 144, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 415, _r2: 143, _s2: 15, _t2: [9] },
{ _d2: "spr_box_416x144_fill", width: 416, height: 144, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 413, _y2: 2, _r2: 141, _s2: 15, _t2: [10] },
{ _d2: "spr_box_448x80", width: 448, height: 80, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 447, _r2: 79, _s2: 15, _t2: [14] },
{ _d2: "spr_box_288x160", width: 288, height: 160, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 287, _r2: 159, _s2: 15, _t2: [11] },
{ _d2: "spr_details", width: 32, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 16, _w2: 16, _x2: 6, _q2: 26, _y2: 6, _r2: 24, _s2: 15, _t2: [188] },
{ _d2: "spr_arrowL", width: 32, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 16, _w2: 16, _x2: 9, _q2: 24, _y2: 8, _r2: 22, _s2: 15, _t2: [223] },
{ _d2: "spr_arrowL2", width: 8, height: 15, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 7, _w2: 7, _q2: 7, _r2: 14, _s2: 15, _t2: [336] },
{ _d2: "spr_arrowR", width: 32, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 16, _w2: 16, _x2: 7, _q2: 22, _y2: 8, _r2: 22, _s2: 15, _t2: [224] },
{ _d2: "spr_arrowR2", width: 8, height: 15, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 2, _w2: 7, _q2: 7, _r2: 14, _s2: 15, _t2: [337] },
{ _d2: "spr_arrowR3", width: 6, height: 13, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 2, _w2: 6, _q2: 5, _y2: 1, _r2: 11, _s2: 15, _t2: [367] },
{ _d2: "spr_tick", width: 32, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 16, _w2: 16, _x2: 6, _q2: 25, _y2: 8, _r2: 26, _s2: 15, _t2: [189] },
{ _d2: "spr_profile", width: 32, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 16, _w2: 16, _x2: 8, _q2: 22, _y2: 6, _r2: 25, _s2: 15, _t2: [204] },
{ _d2: "spr_box_208x176", width: 208, height: 176, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 207, _r2: 175, _s2: 15, _t2: [13] },
{ _d2: "spr_box_224x176", width: 224, height: 176, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 223, _r2: 175, _s2: 15, _t2: [12] },
{ _d2: "spr_box_160x160", width: 160, height: 160, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 159, _r2: 159, _s2: 15, _t2: [16] },
{ _d2: "spr_box_160x128", width: 160, height: 128, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 159, _r2: 127, _s2: 15, _t2: [17] },
{ _d2: "spr_box", width: 4, height: 4, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 3, _r2: 3, _s2: 15, _t2: [398, 399, 402, 403] },
{ _d2: "spr_spanner", width: 32, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 15, _w2: 15, _x2: 7, _q2: 23, _y2: 7, _r2: 23, _s2: 15, _t2: [209] },
{ _d2: "spr_home", width: 32, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 15, _w2: 15, _x2: 7, _q2: 23, _y2: 8, _r2: 25, _s2: 15, _t2: [203] },
{ _d2: "spr_msg_bg", width: 64, height: 64, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 63, _r2: 63, _s2: 15, _t2: [25] },
{ _d2: "spr_textbox64", width: 64, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 32, _w2: 8, _q2: 63, _r2: 15, _s2: 15, _t2: [47] },
{ _d2: "spr_textbox48", width: 48, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 24, _w2: 8, _q2: 47, _r2: 15, _s2: 15, _t2: [182] },
{ _d2: "spr_box_176x176", width: 176, height: 176, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 175, _r2: 175, _s2: 15, _t2: [15] },
{ _d2: "spr_training", height: 23, _n2: !1, _o2: !1, preload: !1, _p2: !1, _v2: 8, _w2: 11, _x2: 2, _q2: 13, _y2: 2, _r2: 20, _s2: 15, _t2: [226] },
{ _d2: "spr_box_128x128", width: 128, height: 128, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 127, _r2: 127, _s2: 15, _t2: [20] },
{ _d2: "spr_box_64x64", width: 64, height: 64, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 63, _r2: 63, _s2: 15, _t2: [24] },
{ _d2: "spr_box_64x32", width: 64, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 63, _r2: 31, _s2: 15, _t2: [41] },
{ _d2: "spr_box_64x80", width: 64, height: 80, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 63, _r2: 79, _s2: 15, _t2: [23] },
{ _d2: "spr_info", _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 15, _r2: 15, _s2: 15, _t2: [218] },
{ _d2: "spr_scanlines", width: 64, height: 60, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 63, _r2: 57, _s2: 15, _t2: [29] },
{ _d2: "spr_square", _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 15, _r2: 15, _s2: 15, _t2: [219] },
{ _d2: "spr_app_apple", width: 110, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 109, _r2: 31, _s2: 15, _t2: [31] },
{ _d2: "spr_app_google", width: 110, height: 32, _n2: !1, _o2: !1, preload: !1, _p2: !1, _q2: 109, _r2: 31, _s2: 15, _t2: [32] },
{ _d2: "spr_light_001", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 29, _y2: 3, _r2: 35, _s2: 15, _t2: [176, 175, 154, 118, 117, 152, 153, 155] },
{ _d2: "spr_light_002", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 29, _y2: 3, _r2: 35, _s2: 15, _t2: [157, 119, 123, 177, 156, 121, 120, 122] },
{ _d2: "spr_light_003", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 29, _y2: 3, _r2: 35, _s2: 15, _t2: [158, 163, 162, 124, 160, 161, 159, 178] },
{ _d2: "spr_mix_001", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 29, _y2: 1, _r2: 35, _s2: 15, _t2: [125, 127, 60, 164, 74, 126, 165, 75] },
{ _d2: "spr_dark_001", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 31, _y2: 1, _r2: 35, _s2: 15, _t2: [93, 138, 52, 92, 169, 139, 170, 91] },
{ _d2: "spr_dark_002", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 31, _y2: 1, _r2: 35, _s2: 15, _t2: [94, 65, 67, 68, 53, 95, 140, 66] },
{ _d2: "spr_dark_003", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 31, _r2: 35, _s2: 15, _t2: [142, 143, 97, 141, 55, 96, 50, 54] },
{ _d2: "spr_dark_004", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 31, _y2: 3, _r2: 35, _s2: 15, _t2: [100, 102, 144, 171, 145, 99, 101, 98] },
{ _d2: "spr_dark_005", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 31, _y2: 1, _r2: 35, _s2: 15, _t2: [105, 104, 69, 57, 70, 56, 103, 146] },
{ _d2: "spr_dark_006", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 31, _y2: 3, _r2: 35, _s2: 15, _t2: [172, 147, 109, 107, 106, 110, 148, 108] },
{ _d2: "spr_dark_007", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 31, _y2: 1, _r2: 35, _s2: 15, _t2: [112, 149, 72, 113, 111, 58, 73, 71] },
{ _d2: "spr_dark_008", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 31, _y2: 1, _r2: 35, _s2: 15, _t2: [150, 114, 59, 174, 116, 151, 173, 115] },
{ _d2: "spr_coaches_01", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 29, _y2: 2, _r2: 35, _s2: 15, _t2: [130, 76, 129, 131, 128, 132, 77, 78, 166] },
{ _d2: "spr_coaches_02", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 29, _y2: 2, _r2: 35, _s2: 15, _t2: [81, 79, 61, 134, 135, 133, 80, 167, 179] },
{ _d2: "spr_coaches_03", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 29, _y2: 1, _r2: 35, _s2: 15, _t2: [83, 82, 51, 84, 63, 136, 85, 62, 180] },
{ _d2: "spr_coaches_04", width: 32, height: 36, _n2: !1, _o2: !1, preload: !1, _p2: !1, _x2: 2, _q2: 29, _y2: 2, _r2: 35, _s2: 15, _t2: [64, 90, 89, 88, 168, 137, 87, 86, 181] },
],
_z2: [],
_A2: [
{
_d2: "route_flat",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 32, y: -64, _E2: 100 },
{ x: 64, y: -64, _E2: 100 },
],
},
{
_d2: "route_slant",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 96, y: 0, _E2: 100 },
{
x: 160,
y: 96,
_E2: 100,
},
],
},
{
_d2: "route_slant2",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 128, y: 0, _E2: 100 },
{ x: 192, y: 96, _E2: 100 },
],
},
{
_d2: "route_quick_out",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 96, y: 0, _E2: 100 },
{ x: 96, y: -32, _E2: 100 },
],
},
{
_d2: "route_curl",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 224, y: 0, _E2: 100 },
{ x: 160, y: 32, _E2: 100 },
],
},
{
_d2: "route_comeback",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 256, y: 0, _E2: 100 },
{ x: 192, y: -32, _E2: 100 },
],
},
{
_d2: "route_out",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 224, y: 0, _E2: 100 },
{ x: 224, y: -32, _E2: 100 },
],
},
{
_d2: "route_dig",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 224, y: 0, _E2: 100 },
{ x: 224, y: 32, _E2: 100 },
],
},
{
_d2: "route_dig2",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 160, y: 0, _E2: 100 },
{ x: 160, y: 32, _E2: 100 },
],
},
{
_d2: "route_post",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 192, y: 0, _E2: 100 },
{ x: 256, y: 32, _E2: 100 },
],
},
{
_d2: "route_corner",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 192, y: 0, _E2: 100 },
{ x: 256, y: -32, _E2: 100 },
],
},
{
_d2: "route_streak",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{
x: 0,
y: 0,
_E2: 100,
},
{ x: 224, y: 0, _E2: 100 },
{ x: 256, y: 0, _E2: 100 },
],
},
{
_d2: "route_fb_1",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 32, y: -32, _E2: 100 },
{ x: 128, y: -32, _E2: 100 },
],
},
{
_d2: "route_fb_2",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 128, y: 0, _E2: 100 },
],
},
{
_d2: "route_fb_3",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 32, y: 32, _E2: 100 },
{ x: 128, y: 32, _E2: 100 },
],
},
{
_d2: "route_fb_flat",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 32, y: -48, _E2: 100 },
{ x: 64, y: -48, _E2: 100 },
],
},
{
_d2: "route_fb_flat2",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{
x: 0,
y: 0,
_E2: 100,
},
{ x: 64, y: -48, _E2: 100 },
{ x: 96, y: -48, _E2: 100 },
],
},
{
_d2: "route_te_block",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: 32, y: 0, _E2: 100 },
],
},
{
_d2: "route_qb",
_e2: 0,
_B2: !1,
_C2: 1,
_D2: [
{ x: 0, y: 0, _E2: 100 },
{ x: -64, y: 0, _E2: 100 },
],
},
],
_F2: [
_G2,
_H2,
_I2,
_J2,
_K2,
_L2,
_M2,
_N2,
_O2,
_P2,
_Q2,
_R2,
_S2,
_T2,
_U2,
_V2,
_W2,
_X2,
_Y2,
_Z2,
__2,
_03,
_13,
_23,
_33,
_43,
_53,
_63,
_73,
_83,
_93,
_a3,
_b3,
_c3,
_d3,
_e3,
_f3,
_g3,
_h3,
_i3,
_j3,
_k3,
_l3,
_m3,
_n3,
_o3,
_p3,
_q3,
_r3,
_s3,
_t3,
_u3,
_v3,
_w3,
_x3,
_y3,
_z3,
_A3,
_B3,
_C3,
_D3,
_E3,
_F3,
_G3,
_H3,
_I3,
_J3,
_K3,
_L3,
_M3,
_N3,
_O3,
_P3,
_Q3,
_R3,
_S3,
_T3,
_U3,
_V3,
_W3,
_X3,
_Y3,
_Z3,
__3,
_04,
_14,
_24,
_34,
_44,
_54,
_64,
_74,
_84,
_94,
_a4,
_b4,
_c4,
_d4,
_e4,
_f4,
_g4,
_h4,
_i4,
_j4,
_k4,
_l4,
_m4,
_n4,
_o4,
_p4,
_q4,
_r4,
_s4,
_t4,
_u4,
_v4,
_w4,
_x4,
_y4,
_z4,
_A4,
_B4,
_C4,
_D4,
_E4,
_F4,
_G4,
_H4,
_I4,
_J4,
_K4,
_L4,
_M4,
_N4,
_O4,
_P4,
_Q4,
_R4,
_S4,
_T4,
_U4,
_V4,
_W4,
_X4,
_Y4,
_Z4,
__4,
_05,
_15,
_25,
_35,
_45,
_55,
_65,
_75,
_85,
_95,
_a5,
_b5,
_c5,
_d5,
_e5,
_f5,
_g5,
_h5,
_i5,
_j5,
_k5,
_l5,
_m5,
_n5,
_o5,
_p5,
_q5,
_r5,
_s5,
_t5,
_u5,
_v5,
_w5,
_x5,
_y5,
_z5,
_A5,
_B5,
_C5,
_D5,
_E5,
_F5,
_G5,
_H5,
_I5,
_J5,
_K5,
_L5,
_M5,
_N5,
_O5,
_P5,
_Q5,
_R5,
_S5,
_T5,
_U5,
_V5,
_W5,
_X5,
_Y5,
_Z5,
__5,
_06,
_16,
_26,
_36,
_46,
_56,
_66,
_76,
_86,
_96,
_a6,
_b6,
_c6,
_d6,
_e6,
_f6,
_g6,
_h6,
_i6,
_j6,
_k6,
_l6,
_m6,
_n6,
_o6,
_p6,
_q6,
_r6,
_s6,
_t6,
_u6,
_v6,
_w6,
_x6,
_y6,
_z6,
_A6,
_B6,
_C6,
_D6,
_E6,
_F6,
_G6,
_H6,
_I6,
_J6,
_K6,
_L6,
_M6,
_N6,
_O6,
_P6,
_Q6,
_R6,
_S6,
_T6,
_U6,
_V6,
_W6,
_X6,
_Y6,
_Z6,
__6,
_07,
_17,
_27,
_37,
_47,
_57,
_67,
_77,
_87,
_97,
_a7,
_b7,
_c7,
_d7,
_e7,
_f7,
_g7,
_h7,
_i7,
_j7,
_k7,
_l7,
_m7,
_n7,
_o7,
_p7,
_q7,
_r7,
_s7,
_t7,
_u7,
_v7,
_w7,
_x7,
_y7,
_z7,
_A7,
_B7,
_C7,
_D7,
_E7,
_F7,
_G7,
_H7,
_I7,
_J7,
_K7,
_L7,
_M7,
_N7,
_O7,
_P7,
_Q7,
_R7,
_S7,
_T7,
_U7,
_V7,
_W7,
_X7,
_Y7,
_Z7,
__7,
_08,
_18,
_28,
_38,
_48,
_58,
_68,
_78,
_88,
_98,
_a8,
_b8,
_c8,
_d8,
_e8,
_f8,
_g8,
_h8,
_i8,
_j8,
_k8,
_l8,
_m8,
_n8,
_o8,
_p8,
_q8,
_r8,
_s8,
_t8,
_u8,
_v8,
_w8,
_x8,
_y8,
_z8,
_A8,
_B8,
_C8,
_D8,
_E8,
_F8,
_G8,
_H8,
_I8,
_J8,
_K8,
_L8,
_M8,
_N8,
_O8,
_P8,
_Q8,
_R8,
_S8,
_T8,
_U8,
_V8,
_W8,
_X8,
_Y8,
_Z8,
__8,
_09,
_19,
_29,
_39,
_49,
_59,
_69,
_79,
_89,
_99,
_a9,
_b9,
_c9,
_d9,
_e9,
_f9,
_g9,
_h9,
_i9,
_j9,
_k9,
_l9,
_m9,
_n9,
_o9,
_p9,
_q9,
_r9,
_s9,
_t9,
_u9,
_v9,
_w9,
_x9,
_y9,
_z9,
_A9,
_B9,
_C9,
_D9,
_E9,
_F9,
_G9,
_H9,
_I9,
_J9,
],
_K9: [
"s_get_achievement",
"s_count_achievement",
"s_get_achievement_percentage",
"s_complete_achievement",
"s_sort_retrobowl_list",
"btn_click_FacilityStadium",
"btn_click_FacilityTraining",
"btn_click_FacilityStaff",
"btn_click_LeagueBack",
"btn_click_LeaguePanel",
"btn_click_LeagueNFC",
"btn_click_LeagueAFC",
"btn_click_LeagueSchedule",
"btn_click_SchedulePrev",
"btn_click_ScheduleNext",
"btn_click_PlayOffs",
"btn_click_PlayOffsBack",
"btn_click_PlayOffsPlay",
"btn_click_PlayOffsSkip",
"btn_click_Change_Favourite",
"btn_click_ChooseAFC",
"btn_click_ChooseNFC",
"btn_click_ChooseTeam",
"btn_click_ChooseTeamNew",
"btn_click_ChooseReject",
"btn_click_Continue",
"btn_click_Details_Continue",
"btn_click_FrontOffice",
"btn_click_FreeAgents2",
"btn_click_HallOfFame",
"btn_click_Home",
"btn_click_League",
"btn_click_Options",
"btn_click_Profile",
"btn_click_OptionsNewGame",
"btn_click_OptionsDriveLeft",
"btn_click_OptionsDriveRight",
"btn_click_OptionsDriveBoth",
"btn_click_OptionsScanlines",
"btn_click_OptionsTips",
"btn_click_OptionsSoundFX",
"btn_click_OptionsWeather",
"btn_click_OptionsZoom",
"btn_click_OptionsMusic",
"btn_click_PlayerProfile",
"btn_click_PlayerProfile2",
"btn_click_ProfilePrev",
"btn_click_ProfileNext",
"btn_click_Profile_Back",
"btn_click_Profile_Pick",
"btn_click_Profile_Cut",
"btn_click_Profile_Meeting",
"btn_click_Profile_Trade",
"btn_click_Profile_Stats",
"btn_click_Profile_Rest",
"btn_click_Profile_Not_Interested",
"btn_click_AddSkill",
"btn_click_AddSpeed",
"btn_click_AddStrength",
"btn_click_AddStamina",
"btn_click_StatsNext",
"btn_click_StatsPrev",
"btn_click_StatsView1",
"btn_click_StatsView2",
"btn_click_FieldGoal",
"btn_click_Running",
"btn_click_Passing",
"btn_click_Training",
"btn_click_Roster",
"btn_click_Roster_Back",
"btn_click_DraftPrev",
"btn_click_DraftNext",
"btn_click_DraftDone",
"btn_click_FreeAgents",
"btn_click_FreeAgentsBack",
"btn_click_RosterDetails",
"btn_click_StaffProfile",
"btn_click_StaffProfileNext",
"btn_click_StaffProfilePrev",
"btn_click_StaffProfileBack",
"btn_click_HireStaff",
"btn_click_ViewHires",
"btn_click_ViewHiresProfile",
"btn_click_ViewHiresBack",
"btn_click_XP_Continue",
"btn_click_XP_Back",
"btn_click_BoostCondition",
"btn_click_BoostMorale",
"btn_response_quit_yes",
"btn_response_newgame_yes",
"btn_response_kick_no",
"btn_response_punt_yes",
"btn_response_fg_yes",
"btn_response_1pt",
"btn_response_2pt",
"btn_response_cut_player_yes",
"btn_response_skip_draft_yes",
"btn_response_pick_player_yes",
"btn_response_in_trade_player_yes",
"btn_response_out_trade_player_yes",
"btn_response_player_meeting_yes",
"s_confirm_upgrade_stadium",
"s_confirm_upgrade_training",
"s_confirm_upgrade_rehab",
"btn_response_hirestaff",
"btn_response_clearfreeagents",
"btn_response_boost_condition",
"btn_response_boost_morale",
"btn_response_rest_player_yes",
"btn_response_cointoss_kick",
"btn_response_cointoss_receive",
"btn_response_skip_tutorial",
"btn_response_confirm_new_team",
"s_store_cant_afford",
"s_tip_continue",
"s_do_prematch_dilemma",
"s_do_postmatch_dilemma",
"s_parse_dilemma",
"s_create_dilemma",
"s_choose_dilemma",
"s_dilemma_choice_1",
"s_dilemma_choice_2",
"s_dilemma_choice",
"s_convert_string_to_sprite",
"s_check_draft",
"s_create_freeagentlist",
"s_create_freeagent",
"s_create_tradelist",
"s_create_draftlist",
"s_create_hirelist",
"s_create_storelist",
"s_create_player_storelist",
"s_count_hires_by_position",
"s_count_players_by_position_store",
"s_get_hire_shortlist",
"s_reset_draft_picks",
"s_update_draft_page",
"s_update_freeagents_page",
"s_remaining_picks",
"s_remaining_picks_by_round",
"s_get_trade_value",
"s_get_trade_value_by_rating",
"s_get_offer_team",
"s_clear_trade_offers",
"s_clear_freeagents",
"s_end_draft_round",
"s_update_contracts",
"s_get_new_salary",
"s_check_expired_contract_message",
"s_savegame",
"s_loadgame",
"s_create_map_options",
"s_load_options",
"s_save_options",
"s_load_strings",
"s_load_teams",
"s_load_retrobowl_hof",
"s_load_achievements",
"s_load_schedule",
"s_split_string",
"s_create_my_fixture_list",
"s_create_fixdata",
"s_create_playoffs",
"s_do_schedule",
"s_do_playoff_schedule",
"s_get_random_scoredata",
"s_promote_playoff_winner",
"s_add_to_human_fixtures",
"s_update_human_playoff_fixtures",
"s_get_playoff_fixture_by_week",
"s_get_human_fixture_by_week",
"s_get_human_fixture_previous",
"s_get_human_fixture_next",
"s_count_remaining_fixtures",
"s_get_division_winner",
"s_get_team_position_by_id",
"s_get_division_winner_name",
"s_get_division_winner_by_seed",
"s_get_division_winner_name_by_seed",
"s_skip_to_week",
"s_populate_division",
"s_populate_infobox_QB",
"s_populate_schedulebox",
"s_create_credit",
"s_set_up_xp_headers",
"s_iap_init",
"s_set_up_purchase_ids",
"s_iap_async_android",
"s_iap_async_ios",
"s_iap_purchase_FullVersion",
"s_iap_purchase_Credits_20",
"s_iap_purchase_Credits_50",
"s_iap_purchase_Credits_100",
"s_iap_restore",
"s_open_store",
"s_do_purchase_message",
"btn_step_check_fullversion",
"btn_step_check_credits",
"s_do_info_position",
"s_do_info_skills",
"s_do_info_coachtrait",
"s_do_info_draftpicks",
"s_do_info",
"s_play",
"s_pre_match",
"s_do_next_week",
"s_start_new_season",
"s_update_team_buttons",
"s_update_job_offer_buttons",
"s_update_options",
"s_get_morale",
"s_get_condition_squad",
"s_get_attitude_icon",
"s_get_credit",
"s_decline_facilities",
"s_reset_player_meetings",
"s_has_xp_gain",
"s_is_bye_week",
"s_do_bye_week",
"s_do_postmatch_effects",
"s_do_postmatch_fans",
"s_check_intro",
"s_do_result_news",
"s_count_joboffers",
"s_team_interested",
"s_update_history",
"s_update_history_finish",
"s_get_history_by_year",
"s_update_music",
"s_get_kick_direction",
"s_aiming",
"s_update_ball",
"s_update_ball_fieldgoal",
"s_update_ball_movement",
"s_update_ball_offset",
"s_is_ball_dead",
"s_check_ball_position",
"s_check_ball_collision",
"s_check_tipped",
"s_drop_ball",
"s_check_dummy_collision",
"s_kick_ball",
"s_spike_ball",
"s_set_ball_down",
"s_receive_ball",
"s_set_up_play",
"s_choose_defensive_formation",
"s_set_up_fieldgoal",
"s_update_gamespeed",
"s_subtract_time",
"s_update_game_timer",
"s_update_game_clock",
"s_update_commentary",
"s_update_yard_gain",
"s_switch_drivedirection",
"s_destroy_match_objects",
"s_action_result",
"s_is_quarter_over",
"s_is_on_pitch",
"s_is_on_pitch_xy",
"s_end_match",
"s_update_stats",
"s_convert_scrimmage_to_goal_distance",
"s_kick_off",
"s_punt",
"s_change_possession",
"s_tackle_failure",
"s_last_secs_of_half",
"s_reset_wind",
"s_force_quit",
"s_set_anim",
"s_set_position_offense",
"s_set_position_defense",
"s_get_nearest_opponent_by_position",
"s_set_position_defense_fg",
"s_set_position_offense_fg",
"s_set_skills_and_skin",
"s_get_skin_colour_by_index",
"s_point_to_path",
"s_intercept_object",
"s_cover_object",
"s_get_nearest_opponent",
"s_aim_for_nearest_opponent",
"s_get_distance_to_nearest_opponent",
"s_get_distance_to_furthest_teammate",
"s_get_destination",
"s_check_human_control",
"s_check_tackling",
"s_check_dive",
"s_get_quarterback",
"s_get_kicker",
"s_can_run",
"s_is_in_the_clear",
"s_ball_holder_goalside",
"s_opponent_goalside",
"s_y_on_myside",
"s_aim_AI_offense",
"s_aim_AI_defense",
"s_received_AI",
"s_can_throw",
"s_sprite_holding_ball",
"s_is_falling",
"s_update_camera",
"s_fieldtxt",
"s_fieldtxt_yards",
"s_create_match_message",
"s_draw_commentary",
"s_draw_scoreboard",
"s_draw_scrimmage",
"s_draw_wind",
"s_draw_kicking_power",
"s_draw_my_route",
"s_draw_kick_cone",
"s_set_up_practice",
"s_practice_running",
"s_practice_passing",
"s_create_dummy",
"s_create_boundary",
"s_sound_kick",
"s_sound_throw",
"s_sound_post",
"s_sound_audience_dis",
"s_sound_audience_fg",
"s_sound_bounce",
"s_sound_tackle",
"s_sound_oof",
"s_sound_dive",
"s_sound_loop",
"s_create_message",
"s_meter_change",
"s_meter_change_end",
"s_notification",
"s_msg_clear",
"s_msg_clear_info_draft",
"s_add_news",
"s_check_for_news",
"s_news_clear",
"s_do_banner_draft",
"s_do_review_message",
"btn_response_review_yes",
"s_create_player",
"s_create_new_roster",
"s_lastname_already_on_roster",
"s_position_already_on_roster",
"s_get_required_position",
"s_get_player_rating",
"s_get_player_potential",
"s_sort_players",
"s_get_player_by_position",
"s_get_player_by_lname",
"s_get_random_player",
"s_get_random_player_by_position",
"s_get_random_player_defensive",
"s_get_random_player_offensive",
"s_get_random_coach",
"s_count_players_by_position",
"s_get_position_colour",
"s_increase_player_attribute",
"s_player_at_max_potential",
"s_is_offensive_player",
"s_is_defensive_player",
"s_get_average_yards",
"s_get_player_name",
"s_get_meeting_cost",
"s_get_match_rating",
"s_reset_match_stats",
"s_adjust_team_morale",
"s_set_team_morale",
"s_toxic_effect_on_morale",
"s_match_rating_effect_on_morale",
"s_injury_effect_on_attitude",
"s_rehab_effect",
"s_check_for_injury",
"s_count_injuries",
"s_count_injuries_weeks",
"s_choose_face",
"s_create_new_stafflist",
"s_create_staff",
"s_sort_hirelist",
"s_get_staff",
"s_is_staff",
"s_get_coach_cost",
"s_coach_trait_experience",
"s_coach_trait_talentspotter",
"s_coach_trait_motivator",
"s_count_trait_fanfavorite",
"s_fire_coach",
"s_check_contracts_expiring",
"s_str",
"s_parse_news",
"s_parse_intro",
"s_parse_player_message",
"s_strP",
"s_parse_string",
"s_crop_text",
"s_get_string_ball_state",
"s_get_string_state",
"s_get_string_sex",
"s_get_string_heshe",
"s_get_string_time",
"s_string_rand",
"s_get_string_downand",
"s_get_string_float",
"s_get_string_division",
"s_get_string_conference",
"s_get_string_week",
"s_get_string_year",
"s_get_string_commstage",
"s_get_string_position",
"s_get_string_position_full",
"s_get_string_attitude",
"s_get_string_trade_value",
"s_get_string_anim",
"s_get_string_condition",
"s_get_string_record",
"s_get_string_trait",
"s_get_string_action_result",
"s_get_team_by_id",
"s_set_up_uniforms",
"s_set_up_uniforms_training",
"s_get_team_name_by_id",
"s_sort_teams",
"s_get_team_by_seed",
"s_get_team_id_by_seed",
"s_get_team_name_by_seed",
"s_get_team_offense",
"s_get_team_defense",
"s_set_up_uniform_shader",
"s_get_salary_total",
"s_refactor_team_strengths",
"s_col_hex_to_r",
"s_col_hex_to_g",
"s_col_hex_to_b",
"s_hex_string_to_col",
"s_rgb_to_bgr",
"slog",
"s_sound",
"s_make_random_colour",
"s_lines_intersect",
"s_log_player",
"s_get_random_college_name",
"s_get_random_charity",
"s_get_aim_direction",
"s_get_random_first_name",
"s_get_random_last_name",
],
_L9: [
{
_M9:
"#define LOWPREC lowp\n#define MATRIX_VIEW 0\n#define MATRIX_PROJECTION 1\n#define MATRIX_WORLD 2\n#define MATRIX_WORLD_VIEW 3\n#define MATRIX_WORLD_VIEW_PROJECTION 4\n#define MATRICES_MAX 5\n\nuniform mat4 gm_Matrices[MATRICES_MAX]; \n\nuniform bool gm_LightingEnabled;\nuniform bool gm_VS_FogEnabled;\nuniform float gm_FogStart;\nuniform float gm_RcpFogRange;\n\n#define MAX_VS_LIGHTS 8\n#define MIRROR_WIN32_LIGHTING_EQUATION\n\n\n//#define MAX_VS_LIGHTS 8\nuniform vec4 gm_AmbientColour; // rgb=colour, a=1\nuniform vec4 gm_Lights_Direction[MAX_VS_LIGHTS]; // normalised direction\nuniform vec4 gm_Lights_PosRange[MAX_VS_LIGHTS]; // X,Y,Z position, W range\nuniform vec4 gm_Lights_Colour[MAX_VS_LIGHTS]; // rgb=colour, a=1\n\nfloat CalcFogFactor(vec4 pos)\n{\n if (gm_VS_FogEnabled)\n {\n vec4 viewpos = gm_Matrices[MATRIX_WORLD_VIEW] * pos;\n float fogfactor = ((viewpos.z - gm_FogStart) * gm_RcpFogRange);\n return fogfactor;\n }\n else\n {\n return 0.0;\n }\n}\n\nvec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n{\n float dotresult = dot(ws_normal, dir.xyz);\n dotresult = max(0.0, dotresult);\n\n return dotresult * diffusecol;\n}\n\nvec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n{\n vec3 diffvec = ws_pos - posrange.xyz;\n float veclen = length(diffvec);\n diffvec /= veclen; // normalise\n#ifdef MIRROR_WIN32_LIGHTING_EQUATION\n // This is based on the Win32 D3D and OpenGL falloff model, where:\n // Attenuation = 1.0f / (factor0 + (d * factor1) + (d*d * factor2))\n // For some reason, factor0 is set to 0.0f while factor1 is set to 1.0f/lightrange (on both D3D and OpenGL)\n // This'll result in no visible falloff as 1.0f / (d / lightrange) will always be larger than 1.0f (if the vertex is within range)\n float atten = 1.0 / (veclen / posrange.w);\n if (veclen > posrange.w)\n {\n atten = 0.0;\n }\n#else\n float atten = clamp( (1.0 - (veclen / posrange.w)), 0.0, 1.0); // storing 1.0f/range instead would save a rcp\n#endif\n float dotresult = dot(ws_normal, diffvec);\n dotresult = max(0.0, dotresult);\n\n return dotresult * atten * diffusecol;\n}\n\nvec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n{\n if (gm_LightingEnabled)\n {\n // Normally we'd have the light positions\\directions back-transformed from world to object space\n // But to keep things simple for the moment we'll just transform the normal to world space\n vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n vec3 ws_normal;\n ws_normal = (gm_Matrices[MATRIX_WORLD_VIEW] * objectspacenormal4).xyz;\n ws_normal = -normalize(ws_normal);\n\n vec3 ws_pos;\n ws_pos = (gm_Matrices[MATRIX_WORLD] * objectspacepos).xyz;\n\n // Accumulate lighting from different light types\n vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0); \n for(int i = 0; i < MAX_VS_LIGHTS; i++)\n {\n accumcol += DoDirLight(ws_normal, gm_Lights_Direction[i], gm_Lights_Colour[i]);\n }\n\n for(int i = 0; i < MAX_VS_LIGHTS; i++)\n {\n accumcol += DoPointLight(ws_pos, ws_normal, gm_Lights_PosRange[i], gm_Lights_Colour[i]);\n }\n\n accumcol *= vertexcolour;\n accumcol += gm_AmbientColour;\n accumcol = min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n accumcol.a = vertexcolour.a;\n return accumcol;\n }\n else\n {\n return vertexcolour;\n }\n}\n\n#define _YY_GLSLES_ 1\n//\n// Simple passthrough vertex shader\n//\nattribute vec3 in_Position; // (x,y,z)\n//attribute vec3 in_Normal; // (x,y,z) unused in this shader.\nattribute vec4 in_Colour; // (r,g,b,a)\nattribute vec2 in_TextureCoord; // (u,v)\n\nvarying vec2 v_vTexcoord;\nvarying vec4 v_vColour;\n\nvoid main()\n{\n vec4 object_space_pos = vec4( in_Position.x, in_Position.y, in_Position.z, 1.0);\n gl_Position = gm_Matrices[MATRIX_WORLD_VIEW_PROJECTION] * object_space_pos;\n \n v_vColour = in_Colour;\n v_vTexcoord = in_TextureCoord;\n}\n",
_N9:
"precision mediump float;\n#define LOWPREC lowp\n// Uniforms look like they're shared between vertex and fragment shaders in GLSL, so we have to be careful to avoid name clashes\n\nuniform sampler2D gm_BaseTexture;\n\nuniform bool gm_PS_FogEnabled;\nuniform vec4 gm_FogColour;\nuniform bool gm_AlphaTestEnabled;\nuniform float gm_AlphaRefValue;\n\nvoid DoAlphaTest(vec4 SrcColour)\n{\n if (gm_AlphaTestEnabled)\n {\n if (SrcColour.a <= gm_AlphaRefValue)\n {\n discard;\n }\n }\n}\n\nvoid DoFog(inout vec4 SrcColour, float fogval)\n{\n if (gm_PS_FogEnabled)\n {\n SrcColour = mix(SrcColour, gm_FogColour, clamp(fogval, 0.0, 1.0)); \n }\n}\n\n#define _YY_GLSLES_ 1\nvarying vec2 v_vTexcoord;\n\nuniform vec3 colorHelmet;\nuniform vec3 colorShirt;\nuniform vec3 colorShirt_b;\nuniform vec3 colorPants;\nuniform vec3 colorPants_b;\nuniform vec3 colorSkin;\nuniform vec3 colorCleats;\n\nuniform vec3 replaceHelmet;\nuniform vec3 replaceShirt;\nuniform vec3 replaceShirt_b;\nuniform vec3 replacePants;\nuniform vec3 replacePants_b;\nuniform vec3 replaceSkin;\nuniform vec3 replaceCleats;\n\nvoid main()\n{\n vec4 pixel = texture2D( gm_BaseTexture, v_vTexcoord );\n vec3 eps = vec3(0.009, 0.009, 0.009);\n\n if( all( greaterThanEqual(pixel, vec4(colorHelmet - eps, 1.0)) ) && all( lessThanEqual(pixel, vec4(colorHelmet + eps, 1.0)) ) )\n pixel = vec4(replaceHelmet, 1.0);\n \n if( all( greaterThanEqual(pixel, vec4(colorShirt - eps, 1.0)) ) && all( lessThanEqual(pixel, vec4(colorShirt + eps, 1.0)) ) )\n pixel = vec4(replaceShirt, 1.0);\n \n if( all( greaterThanEqual(pixel, vec4(colorShirt_b - eps, 1.0)) ) && all( lessThanEqual(pixel, vec4(colorShirt_b + eps, 1.0)) ) )\n pixel = vec4(replaceShirt_b, 1.0);\n \n if( all( greaterThanEqual(pixel, vec4(colorPants - eps, 1.0)) ) && all( lessThanEqual(pixel, vec4(colorPants + eps, 1.0)) ) )\n pixel = vec4(replacePants, 1.0);\n \n if( all( greaterThanEqual(pixel, vec4(colorPants_b - eps, 1.0)) ) && all( lessThanEqual(pixel, vec4(colorPants_b + eps, 1.0)) ) )\n pixel = vec4(replacePants_b, 1.0);\n \n if( all( greaterThanEqual(pixel, vec4(colorSkin - eps, 1.0)) ) && all( lessThanEqual(pixel, vec4(colorSkin + eps, 1.0)) ) )\n pixel = vec4(replaceSkin, 1.0);\n \n if( all( greaterThanEqual(pixel, vec4(colorCleats - eps, 1.0)) ) && all( lessThanEqual(pixel, vec4(colorCleats + eps, 1.0)) ) )\n pixel = vec4(replaceCleats, 1.0);\n\n gl_FragColor = pixel;\n}\n\n\n/* sh_ColorReplaceBlend\n//\n// Replaces one color with another. Can replace \n// similar colors while preserving shading.\n//\n// colorIn color to replace (vec4)\n// colorOut replacement color (vec4)\n//\n// GMLscripts.com\n//\nvarying vec2 v_vTexcoord;\nvarying vec4 v_vColour;\n\nuniform vec4 colorIn;\nuniform vec4 colorOut;\n\nvoid main()\n{\n vec4 colorPixel = texture2D( gm_BaseTexture, v_vTexcoord );\n \n if (colorPixel.r == 255.0)\n {\n gl_FragColor = v_vColour * colorOut;\n }\n else\n {\n gl_FragColor = v_vColour * colorPixel;\n }\n}\n\n/*\n// Simple passthrough fragment shader\n//\nvarying vec2 v_vTexcoord;\nvarying vec4 v_vColour;\nuniform float pixelW;\nuniform float pixelH;\n\nvoid main()\n{\n vec2 offsetx;\n offsetx.x = pixelW;\n vec2 offsety;\n offsety.y = pixelH;\n \n float alpha = texture2D( gm_BaseTexture, v_vTexcoord ).a;\n \n alpha = max(alpha, texture2D( gm_BaseTexture, v_vTexcoord + offsetx ).a);\n alpha = max(alpha, texture2D( gm_BaseTexture, v_vTexcoord - offsetx ).a);\n alpha = max(alpha, texture2D( gm_BaseTexture, v_vTexcoord + offsety ).a);\n alpha = max(alpha, texture2D( gm_BaseTexture, v_vTexcoord - offsetx ).a);\n \n gl_FragColor = v_vColour * texture2D( gm_BaseTexture, v_vTexcoord );\n gl_FragColor.a = alpha;\n}\n*/\n",
_O9: ["in_Position", "in_Colour", "in_TextureCoord"],
},
],
_P9: [
{
_d2: "fnt_tecmo_small",
size: 9,
bold: !0,
_Q9: !1,
first: 32,
_R9: 126,
_S9: 0,
antialias: 0,
_T9: "8-bit Operator+ 8",
_U9: 0,
_V9: 19,
scaleX: 1,
scaleY: 1,
_W9: [
{ _X9: 32, _Y9: " ", x: 2, y: 2, _Z9: 4, __9: 14, shift: 4, offset: 0 },
{ _X9: 33, _Y9: "!", x: 29, y: 66, _Z9: 2, __9: 14, shift: 4, offset: 1 },
{ _X9: 34, _Y9: '"', x: 20, y: 66, _Z9: 7, __9: 14, shift: 9, offset: 1 },
{ _X9: 35, _Y9: "#", x: 10, y: 66, _Z9: 8, __9: 14, shift: 10, offset: 1 },
{ _X9: 36, _Y9: "$", x: 2, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 37, _Y9: "%", x: 112, y: 50, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 38, _Y9: "&", x: 104, y: 50, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 39, _Y9: "'", x: 99, y: 50, _Z9: 3, __9: 14, shift: 5, offset: 1 },
{ _X9: 40, _Y9: "(", x: 93, y: 50, _Z9: 4, __9: 14, shift: 6, offset: 1 },
{ _X9: 41, _Y9: ")", x: 87, y: 50, _Z9: 4, __9: 14, shift: 6, offset: 1 },
{ _X9: 42, _Y9: "*", x: 33, y: 66, _Z9: 8, __9: 14, shift: 10, offset: 1 },
{ _X9: 43, _Y9: "+", x: 79, y: 50, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 44, _Y9: ",", x: 66, y: 50, _Z9: 3, __9: 14, shift: 5, offset: 1 },
{ _X9: 45, _Y9: "-", x: 60, y: 50, _Z9: 4, __9: 14, shift: 6, offset: 1 },
{ _X9: 46, _Y9: ".", x: 56, y: 50, _Z9: 2, __9: 14, shift: 4, offset: 1 },
{ _X9: 47, _Y9: "/", x: 49, y: 50, _Z9: 5, __9: 14, shift: 7, offset: 1 },
{ _X9: 48, _Y9: "0", x: 41, y: 50, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 49, _Y9: "1", x: 35, y: 50, _Z9: 4, __9: 14, shift: 6, offset: 1 },
{ _X9: 50, _Y9: "2", x: 27, y: 50, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 51, _Y9: "3", x: 19, y: 50, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 52, _Y9: "4", x: 11, y: 50, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 53, _Y9: "5", x: 71, y: 50, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 54, _Y9: "6", x: 51, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 55, _Y9: "7", x: 18, y: 82, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 56, _Y9: "8", x: 59, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 57, _Y9: "9", x: 91, y: 82, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 58, _Y9: ":", x: 87, y: 82, _Z9: 2, __9: 14, shift: 4, offset: 1 },
{ _X9: 59, _Y9: ";", x: 82, y: 82, _Z9: 3, __9: 14, shift: 5, offset: 1 },
{ _X9: 60, _Y9: "<", x: 75, y: 82, _Z9: 5, __9: 14, shift: 7, offset: 1 },
{ _X9: 61, _Y9: "=", x: 67, y: 82, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 62, _Y9: ">", x: 60, y: 82, _Z9: 5, __9: 14, shift: 7, offset: 1 },
{ _X9: 63, _Y9: "?", x: 52, y: 82, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 64, _Y9: "@", x: 42, y: 82, _Z9: 8, __9: 14, shift: 10, offset: 1 },
{ _X9: 65, _Y9: "A", x: 34, y: 82, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 66, _Y9: "B", x: 99, y: 82, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 67, _Y9: "C", x: 26, y: 82, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 68, _Y9: "D", x: 10, y: 82, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 69, _Y9: "E", x: 2, y: 82, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 70, _Y9: "F", x: 113, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 71, _Y9: "G", x: 105, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 72, _Y9: "H", x: 97, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 73, _Y9: "I", x: 91, y: 66, _Z9: 4, __9: 14, shift: 6, offset: 1 },
{ _X9: 74, _Y9: "J", x: 83, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 75, _Y9: "K", x: 75, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 76, _Y9: "L", x: 67, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 77, _Y9: "M", x: 2, y: 50, _Z9: 7, __9: 14, shift: 9, offset: 1 },
{ _X9: 78, _Y9: "N", x: 43, y: 66, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 79, _Y9: "O", x: 111, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 80, _Y9: "P", x: 42, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 81, _Y9: "Q", x: 26, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 82, _Y9: "R", x: 18, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 83, _Y9: "S", x: 10, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 84, _Y9: "T", x: 2, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 85, _Y9: "U", x: 119, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 86, _Y9: "V", x: 111, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 87, _Y9: "W", x: 102, y: 2, _Z9: 7, __9: 14, shift: 9, offset: 1 },
{ _X9: 88, _Y9: "X", x: 94, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 89, _Y9: "Y", x: 86, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 90, _Y9: "Z", x: 34, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 91, _Y9: "[", x: 80, y: 2, _Z9: 4, __9: 14, shift: 6, offset: 1 },
{ _X9: 92, _Y9: "\\", x: 65, y: 2, _Z9: 5, __9: 14, shift: 7, offset: 1 },
{ _X9: 93, _Y9: "]", x: 59, y: 2, _Z9: 4, __9: 14, shift: 6, offset: 1 },
{ _X9: 94, _Y9: "^", x: 51, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 95, _Y9: "_", x: 45, y: 2, _Z9: 4, __9: 14, shift: 4, offset: 0 },
{ _X9: 96, _Y9: "`", x: 40, y: 2, _Z9: 3, __9: 14, shift: 5, offset: 1 },
{ _X9: 97, _Y9: "a", x: 32, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 98, _Y9: "b", x: 24, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 99, _Y9: "c", x: 16, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 100, _Y9: "d", x: 8, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 101, _Y9: "e", x: 72, y: 2, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 102, _Y9: "f", x: 50, y: 18, _Z9: 5, __9: 14, shift: 7, offset: 1 },
{ _X9: 103, _Y9: "g", x: 9, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 104, _Y9: "h", x: 57, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 105, _Y9: "i", x: 89, y: 34, _Z9: 4, __9: 14, shift: 6, offset: 1 },
{ _X9: 106, _Y9: "j", x: 81, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 107, _Y9: "k", x: 73, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 108, _Y9: "l", x: 67, y: 34, _Z9: 4, __9: 14, shift: 6, offset: 1 },
{ _X9: 109, _Y9: "m", x: 57, y: 34, _Z9: 8, __9: 14, shift: 10, offset: 1 },
{ _X9: 110, _Y9: "n", x: 49, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 111, _Y9: "o", x: 41, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 112, _Y9: "p", x: 33, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 113, _Y9: "q", x: 25, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 114, _Y9: "r", x: 95, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 115, _Y9: "s", x: 17, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 116, _Y9: "t", x: 2, y: 34, _Z9: 5, __9: 14, shift: 7, offset: 1 },
{ _X9: 117, _Y9: "u", x: 118, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 118, _Y9: "v", x: 110, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 119, _Y9: "w", x: 101, y: 18, _Z9: 7, __9: 14, shift: 9, offset: 1 },
{ _X9: 120, _Y9: "x", x: 93, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 121, _Y9: "y", x: 85, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 122, _Y9: "z", x: 77, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 123, _Y9: "{", x: 69, y: 18, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 124, _Y9: "|", x: 65, y: 18, _Z9: 2, __9: 14, shift: 4, offset: 1 },
{ _X9: 125, _Y9: "}", x: 103, y: 34, _Z9: 6, __9: 14, shift: 8, offset: 1 },
{ _X9: 126, _Y9: "~", x: 107, y: 82, _Z9: 7, __9: 14, shift: 9, offset: 1 },
],
},
{
_d2: "fnt_tecmo",
size: 11,
bold: !1,
_Q9: !1,
first: 32,
_R9: 126,
_S9: 0,
antialias: 0,
_T9: "Emulogic",
_U9: 0,
_V9: 8,
scaleX: 1,
scaleY: 1,
_W9: [
{ _X9: 32, _Y9: " ", x: 2, y: 2, _Z9: 15, __9: 19, shift: 15, offset: 0 },
{ _X9: 33, _Y9: "!", x: 176, y: 65, _Z9: 5, __9: 19, shift: 15, offset: 6 },
{ _X9: 34, _Y9: '"', x: 165, y: 65, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 35, _Y9: "#", x: 150, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 36, _Y9: "$", x: 135, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 37, _Y9: "%", x: 120, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 38, _Y9: "&", x: 105, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 39, _Y9: "'", x: 99, y: 65, _Z9: 4, __9: 19, shift: 15, offset: 4 },
{ _X9: 40, _Y9: "(", x: 90, y: 65, _Z9: 7, __9: 19, shift: 15, offset: 4 },
{ _X9: 41, _Y9: ")", x: 81, y: 65, _Z9: 7, __9: 19, shift: 15, offset: 6 },
{ _X9: 42, _Y9: "*", x: 183, y: 65, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 43, _Y9: "+", x: 70, y: 65, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 44, _Y9: ",", x: 48, y: 65, _Z9: 5, __9: 19, shift: 15, offset: 4 },
{ _X9: 45, _Y9: "-", x: 37, y: 65, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 46, _Y9: ".", x: 32, y: 65, _Z9: 3, __9: 19, shift: 15, offset: 6 },
{ _X9: 47, _Y9: "/", x: 17, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 48, _Y9: "0", x: 2, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 49, _Y9: "1", x: 236, y: 44, _Z9: 11, __9: 19, shift: 15, offset: 4 },
{ _X9: 50, _Y9: "2", x: 221, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 51, _Y9: "3", x: 206, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 52, _Y9: "4", x: 191, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 53, _Y9: "5", x: 55, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 54, _Y9: "6", x: 209, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 55, _Y9: "7", x: 120, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 56, _Y9: "8", x: 224, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 57, _Y9: "9", x: 240, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 58, _Y9: ":", x: 235, y: 86, _Z9: 3, __9: 19, shift: 15, offset: 6 },
{ _X9: 59, _Y9: ";", x: 228, y: 86, _Z9: 5, __9: 19, shift: 15, offset: 4 },
{ _X9: 60, _Y9: "<", x: 217, y: 86, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 61, _Y9: "=", x: 206, y: 86, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 62, _Y9: ">", x: 195, y: 86, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 63, _Y9: "?", x: 180, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 64, _Y9: "@", x: 165, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 65, _Y9: "A", x: 150, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 66, _Y9: "B", x: 2, y: 107, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 67, _Y9: "C", x: 135, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 68, _Y9: "D", x: 105, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 69, _Y9: "E", x: 90, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 70, _Y9: "F", x: 75, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 71, _Y9: "G", x: 60, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 72, _Y9: "H", x: 45, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 73, _Y9: "I", x: 32, y: 86, _Z9: 11, __9: 19, shift: 15, offset: 4 },
{ _X9: 74, _Y9: "J", x: 17, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 75, _Y9: "K", x: 2, y: 86, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 76, _Y9: "L", x: 239, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 77, _Y9: "M", x: 176, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 78, _Y9: "N", x: 194, y: 65, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 79, _Y9: "O", x: 161, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 80, _Y9: "P", x: 62, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 81, _Y9: "Q", x: 32, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 82, _Y9: "R", x: 17, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 83, _Y9: "S", x: 2, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 84, _Y9: "T", x: 233, y: 2, _Z9: 11, __9: 19, shift: 15, offset: 4 },
{ _X9: 85, _Y9: "U", x: 218, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 86, _Y9: "V", x: 203, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 87, _Y9: "W", x: 188, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 88, _Y9: "X", x: 173, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 89, _Y9: "Y", x: 160, y: 2, _Z9: 11, __9: 19, shift: 15, offset: 4 },
{ _X9: 90, _Y9: "Z", x: 47, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 91, _Y9: "[", x: 151, y: 2, _Z9: 7, __9: 19, shift: 15, offset: 6 },
{ _X9: 92, _Y9: "\\", x: 121, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 93, _Y9: "]", x: 112, y: 2, _Z9: 7, __9: 19, shift: 15, offset: 4 },
{ _X9: 94, _Y9: "^", x: 101, y: 2, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 95, _Y9: "_", x: 86, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 96, _Y9: "`", x: 79, y: 2, _Z9: 5, __9: 19, shift: 15, offset: 8 },
{ _X9: 97, _Y9: "a", x: 64, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 98, _Y9: "b", x: 49, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 99, _Y9: "c", x: 34, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 100, _Y9: "d", x: 19, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 101, _Y9: "e", x: 136, y: 2, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 102, _Y9: "f", x: 77, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 103, _Y9: "g", x: 224, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 104, _Y9: "h", x: 92, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 105, _Y9: "i", x: 122, y: 44, _Z9: 11, __9: 19, shift: 15, offset: 4 },
{ _X9: 106, _Y9: "j", x: 107, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 107, _Y9: "k", x: 92, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 108, _Y9: "l", x: 77, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 109, _Y9: "m", x: 62, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 110, _Y9: "n", x: 47, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 111, _Y9: "o", x: 32, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 112, _Y9: "p", x: 17, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 113, _Y9: "q", x: 2, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 114, _Y9: "r", x: 135, y: 44, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 115, _Y9: "s", x: 239, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 116, _Y9: "t", x: 211, y: 23, _Z9: 11, __9: 19, shift: 15, offset: 4 },
{ _X9: 117, _Y9: "u", x: 196, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 118, _Y9: "v", x: 181, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 119, _Y9: "w", x: 166, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 120, _Y9: "x", x: 151, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 121, _Y9: "y", x: 138, y: 23, _Z9: 11, __9: 19, shift: 15, offset: 4 },
{ _X9: 122, _Y9: "z", x: 123, y: 23, _Z9: 13, __9: 19, shift: 15, offset: 2 },
{ _X9: 123, _Y9: "{", x: 112, y: 23, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 124, _Y9: "|", x: 107, y: 23, _Z9: 3, __9: 19, shift: 15, offset: 6 },
{ _X9: 125, _Y9: "}", x: 150, y: 44, _Z9: 9, __9: 19, shift: 15, offset: 4 },
{ _X9: 126, _Y9: "~", x: 17, y: 107, _Z9: 7, __9: 19, shift: 9, offset: 1 },
],
},
{
_d2: "fnt_tecmo_big",
size: 16,
bold: !0,
_Q9: !1,
first: 32,
_R9: 126,
_S9: 0,
antialias: 0,
_T9: "8-bit Operator+ SC",
_U9: 0,
_V9: 7,
scaleX: 1,
scaleY: 1,
_W9: [
{ _X9: 32, _Y9: " ", x: 2, y: 2, _Z9: 7, __9: 30, shift: 7, offset: 0 },
{ _X9: 33, _Y9: "!", x: 93, y: 98, _Z9: 4, __9: 30, shift: 8, offset: 2 },
{ _X9: 34, _Y9: '"', x: 78, y: 98, _Z9: 13, __9: 30, shift: 17, offset: 2 },
{ _X9: 35, _Y9: "#", x: 61, y: 98, _Z9: 15, __9: 30, shift: 19, offset: 2 },
{ _X9: 36, _Y9: "$", x: 48, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 37, _Y9: "%", x: 33, y: 98, _Z9: 13, __9: 30, shift: 17, offset: 2 },
{ _X9: 38, _Y9: "&", x: 20, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 39, _Y9: "'", x: 12, y: 98, _Z9: 6, __9: 30, shift: 10, offset: 2 },
{ _X9: 40, _Y9: "(", x: 2, y: 98, _Z9: 8, __9: 30, shift: 12, offset: 2 },
{ _X9: 41, _Y9: ")", x: 239, y: 66, _Z9: 8, __9: 30, shift: 12, offset: 2 },
{ _X9: 42, _Y9: "*", x: 99, y: 98, _Z9: 15, __9: 30, shift: 19, offset: 2 },
{ _X9: 43, _Y9: "+", x: 226, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 44, _Y9: ",", x: 205, y: 66, _Z9: 6, __9: 30, shift: 10, offset: 2 },
{ _X9: 45, _Y9: "-", x: 196, y: 66, _Z9: 7, __9: 30, shift: 11, offset: 2 },
{ _X9: 46, _Y9: ".", x: 190, y: 66, _Z9: 4, __9: 30, shift: 8, offset: 2 },
{ _X9: 47, _Y9: "/", x: 180, y: 66, _Z9: 8, __9: 30, shift: 12, offset: 2 },
{ _X9: 48, _Y9: "0", x: 167, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 49, _Y9: "1", x: 158, y: 66, _Z9: 7, __9: 30, shift: 11, offset: 2 },
{ _X9: 50, _Y9: "2", x: 145, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 51, _Y9: "3", x: 132, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 52, _Y9: "4", x: 119, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 53, _Y9: "5", x: 213, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 54, _Y9: "6", x: 129, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 55, _Y9: "7", x: 15, y: 130, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 56, _Y9: "8", x: 142, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 57, _Y9: "9", x: 133, y: 130, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 58, _Y9: ":", x: 127, y: 130, _Z9: 4, __9: 30, shift: 8, offset: 2 },
{ _X9: 59, _Y9: ";", x: 119, y: 130, _Z9: 6, __9: 30, shift: 10, offset: 2 },
{ _X9: 60, _Y9: "<", x: 108, y: 130, _Z9: 9, __9: 30, shift: 13, offset: 2 },
{ _X9: 61, _Y9: "=", x: 95, y: 130, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 62, _Y9: ">", x: 84, y: 130, _Z9: 9, __9: 30, shift: 13, offset: 2 },
{ _X9: 63, _Y9: "?", x: 71, y: 130, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 64, _Y9: "@", x: 54, y: 130, _Z9: 15, __9: 30, shift: 19, offset: 2 },
{ _X9: 65, _Y9: "A", x: 41, y: 130, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 66, _Y9: "B", x: 146, y: 130, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 67, _Y9: "C", x: 28, y: 130, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 68, _Y9: "D", x: 2, y: 130, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 69, _Y9: "E", x: 242, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 70, _Y9: "F", x: 229, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 71, _Y9: "G", x: 216, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 72, _Y9: "H", x: 203, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 73, _Y9: "I", x: 194, y: 98, _Z9: 7, __9: 30, shift: 11, offset: 2 },
{ _X9: 74, _Y9: "J", x: 181, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 75, _Y9: "K", x: 168, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 76, _Y9: "L", x: 155, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 77, _Y9: "M", x: 104, y: 66, _Z9: 13, __9: 30, shift: 17, offset: 2 },
{ _X9: 78, _Y9: "N", x: 116, y: 98, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 79, _Y9: "O", x: 91, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 80, _Y9: "P", x: 15, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 81, _Y9: "Q", x: 241, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 82, _Y9: "R", x: 228, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 83, _Y9: "S", x: 215, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 84, _Y9: "T", x: 202, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 85, _Y9: "U", x: 189, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 86, _Y9: "V", x: 176, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 87, _Y9: "W", x: 161, y: 2, _Z9: 13, __9: 30, shift: 17, offset: 2 },
{ _X9: 88, _Y9: "X", x: 148, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 89, _Y9: "Y", x: 135, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 90, _Y9: "Z", x: 2, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 91, _Y9: "[", x: 125, y: 2, _Z9: 8, __9: 30, shift: 11, offset: 2 },
{ _X9: 92, _Y9: "\\", x: 102, y: 2, _Z9: 8, __9: 30, shift: 12, offset: 2 },
{ _X9: 93, _Y9: "]", x: 93, y: 2, _Z9: 7, __9: 30, shift: 11, offset: 2 },
{ _X9: 94, _Y9: "^", x: 80, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 95, _Y9: "_", x: 71, y: 2, _Z9: 7, __9: 30, shift: 7, offset: 0 },
{ _X9: 96, _Y9: "`", x: 63, y: 2, _Z9: 6, __9: 30, shift: 10, offset: 2 },
{ _X9: 97, _Y9: "a", x: 50, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 98, _Y9: "b", x: 37, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 99, _Y9: "c", x: 24, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 100, _Y9: "d", x: 11, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 101, _Y9: "e", x: 112, y: 2, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 102, _Y9: "f", x: 28, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 103, _Y9: "g", x: 166, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 104, _Y9: "h", x: 41, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 105, _Y9: "i", x: 56, y: 66, _Z9: 7, __9: 30, shift: 11, offset: 2 },
{ _X9: 106, _Y9: "j", x: 43, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 107, _Y9: "k", x: 30, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 108, _Y9: "l", x: 17, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 109, _Y9: "m", x: 2, y: 66, _Z9: 13, __9: 30, shift: 17, offset: 2 },
{ _X9: 110, _Y9: "n", x: 231, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 111, _Y9: "o", x: 218, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 112, _Y9: "p", x: 205, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 113, _Y9: "q", x: 192, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 114, _Y9: "r", x: 65, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 115, _Y9: "s", x: 179, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 116, _Y9: "t", x: 153, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 117, _Y9: "u", x: 140, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 118, _Y9: "v", x: 127, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 119, _Y9: "w", x: 112, y: 34, _Z9: 13, __9: 30, shift: 17, offset: 2 },
{ _X9: 120, _Y9: "x", x: 99, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 121, _Y9: "y", x: 86, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 122, _Y9: "z", x: 73, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 123, _Y9: "{", x: 60, y: 34, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 124, _Y9: "|", x: 54, y: 34, _Z9: 4, __9: 30, shift: 8, offset: 2 },
{ _X9: 125, _Y9: "}", x: 78, y: 66, _Z9: 11, __9: 30, shift: 15, offset: 2 },
{ _X9: 126, _Y9: "~", x: 159, y: 130, _Z9: 13, __9: 30, shift: 17, offset: 2 },
],
},
],
_0a: [],
_1a: [{}],
_2a: [
{ _d2: "obj_roomtitle", _3a: -1, _4a: !0, parent: -100, _5a: _6a, _7a: _8a, _9a: _aa, _ba: [], _ca: [] },
{ _d2: "obj_input_box", _3a: 112, _4a: !0, parent: -100, _da: _ea, _7a: _fa, _5a: _ga, _ha: _ia, _9a: _ja, _ba: [], _ca: [] },
{ _d2: "obj_text", _3a: 103, _4a: !0, parent: -100, _7a: _ka, _5a: _la, _9a: _ma, _ba: [], _ca: [] },
{ _d2: "obj_text_exp", _3a: 103, _4a: !0, parent: -100, _7a: _na, _5a: _oa, _9a: _pa, _ba: [], _ca: [] },
{ _d2: "obj_division", _3a: 79, _4a: !0, parent: 7, _5a: _qa, _7a: _ra, _9a: _sa, _ba: [], _ca: [] },
{ _d2: "obj_msgbg", _3a: 101, _4a: !0, parent: -100, _ta: _ua, _va: _wa, _7a: _xa, _5a: _ya, _za: _Aa, _9a: _Ba, _ba: [], _ca: [] },
{ _d2: "obj_messagebox", _3a: 83, _4a: !0, parent: -100, _5a: _Ca, _7a: _Da, _9a: _Ea, _ba: [], _ca: [] },
{ _d2: "obj_button", _3a: 75, _4a: !0, parent: -100, _ta: _Fa, _da: _Ga, _5a: _Ha, _7a: _Ia, _9a: _Ja, _ba: [], _ca: [] },
{ _d2: "obj_button_sqr", _3a: 77, _4a: !0, parent: 7, _7a: _Ka, _9a: _La, _ba: [], _ca: [] },
{ _d2: "obj_button_small", _3a: 78, _4a: !0, parent: 7, _7a: _Ma, _9a: _Na, _ba: [], _ca: [] },
{ _d2: "obj_button_big", _3a: 76, _4a: !0, parent: 7, _9a: _Oa, _ba: [], _ca: [] },
{ _d2: "obj_vbox", _3a: 97, _4a: !0, parent: -100, _7a: _Pa, _5a: _Qa, _9a: _Ra, _ba: [], _ca: [] },
{ _d2: "obj_conference", _3a: 97, _4a: !0, parent: -100, _ta: _Sa, _Ta: _Ua, _7a: _Va, _5a: _Wa, _9a: _Xa, _ba: [], _ca: [] },
{ _d2: "obj_infobox", _3a: 74, _4a: !0, parent: -100, _5a: _Ya, _7a: _Za, _9a: __a, _ba: [], _ca: [] },
{ _d2: "obj_smallbox", _3a: 108, _4a: !0, parent: -100, _5a: _0b, _7a: _1b, _9a: _2b, _ba: [], _ca: [] },
{ _d2: "obj_matchline", _3a: 52, _4a: !0, parent: -100, _ta: _3b, _da: _4b, _5a: _5b, _7a: _6b, _7b: _8b, _9a: _9b, _ba: [], _ca: [] },
{ _d2: "obj_player_profile", _3a: 109, _4a: !0, parent: -100, _ta: _ab, _da: _bb, _5a: _cb, _7a: _db, _9a: _eb, _ba: [], _ca: [] },
{ _d2: "obj_schedulebox", _3a: 82, _4a: !0, parent: -100, _ta: _fb, _5a: _gb, _7a: _hb, _9a: _ib, _ba: [], _ca: [] },
{ _d2: "obj_box_offense", _3a: 108, _4a: !0, parent: -100, _ta: _jb, _da: _kb, _5a: _lb, _7a: _mb, _9a: _nb, _ba: [], _ca: [] },
{ _d2: "obj_box_defense", _3a: 108, _4a: !0, parent: -100, _ta: _ob, _5a: _pb, _7a: _qb, _9a: _rb, _ba: [], _ca: [] },
{ _d2: "obj_box_coachcredit", _3a: 108, _4a: !0, parent: -100, _ta: _sb, _da: _tb, _5a: _ub, _7a: _vb, _9a: _wb, _ba: [], _ca: [] },
{ _d2: "obj_box_morale", _3a: 108, _4a: !0, parent: -100, _ta: _xb, _da: _yb, _5a: _zb, _7a: _Ab, _9a: _Bb, _ba: [], _ca: [] },
{ _d2: "obj_attribute", _3a: 81, _4a: !0, parent: -100, _5a: _Cb, _7a: _Db, _9a: _Eb, _ba: [], _ca: [] },
{ _d2: "obj_xp_player", _3a: 80, _4a: !0, parent: -100, _5a: _Fb, _7a: _Gb, _9a: _Hb, _ba: [], _ca: [] },
{ _d2: "obj_salarycap", _3a: 80, _4a: !0, parent: -100, _ta: _Ib, _5a: _Jb, _7a: _Kb, _9a: _Lb, _ba: [], _ca: [] },
{ _d2: "obj_meter_fans", _3a: 80, _4a: !0, parent: -100, _ta: _Mb, _da: _Nb, _7a: _Ob, _5a: _Pb, _9a: _Qb, _ba: [], _ca: [] },
{ _d2: "obj_meter_morale", _3a: 80, _4a: !0, parent: -100, _ta: _Rb, _da: _Sb, _5a: _Tb, _7a: _Ub, _9a: _Vb, _ba: [], _ca: [] },
{ _d2: "obj_meter_condition", _3a: 80, _4a: !0, parent: -100, _ta: _Wb, _da: _Xb, _5a: _Yb, _7a: _Zb, _9a: __b, _ba: [], _ca: [] },
{ _d2: "obj_meter_stadium", _3a: 80, _4a: !0, parent: -100, _ta: _0c, _5a: _1c, _7a: _2c, _9a: _3c, _ba: [], _ca: [] },
{ _d2: "obj_meter_training", _3a: 80, _4a: !0, parent: -100, _ta: _4c, _5a: _5c, _7a: _6c, _9a: _7c, _ba: [], _ca: [] },
{ _d2: "obj_meter_staff", _3a: 80, _4a: !0, parent: -100, _ta: _8c, _5a: _9c, _7a: _ac, _9a: _bc, _ba: [], _ca: [] },
{ _d2: "obj_info", _3a: 110, _4a: !0, parent: -100, _da: _cc, _7a: _dc, _9a: _ec, _ba: [], _ca: [] },
{ _d2: "obj_notification", _3a: -1, _4a: !0, _fc: !0, parent: 6, _ta: _gc, _va: _hc, _da: _ic, _7a: _jc, _9a: _kc, _ba: [], _ca: [] },
{ _d2: "obj_achievements", _3a: 96, _4a: !0, parent: 11, _ta: _lc, _da: _mc, _7a: _nc, _7b: _oc, _9a: _pc, _ba: [], _ca: [] },
{ _d2: "obj_hof_retrobowls", _3a: 96, _4a: !0, parent: 11, _ta: _qc, _Ta: _rc, _7a: _sc, _9a: _tc, _ba: [], _ca: [] },
{ _d2: "obj_history", _3a: 96, _4a: !0, parent: 11, _ta: _uc, _da: _vc, _7a: _wc, _7b: _xc, _9a: _yc, _ba: [], _ca: [] },
{ _d2: "obj_credits", _3a: -1, _4a: !0, parent: 3, _9a: _zc, _ba: [], _ca: [] },
{ _d2: "obj_btn_store", _3a: 77, _4a: !0, parent: 8, _ta: _Ac, _da: _Bc, _9a: _Cc, _ba: [], _ca: [] },
{ _d2: "obj_btn_restore", _3a: 75, _4a: !0, parent: 7, _ta: _Dc, _va: _Ec, _da: _Fc, _9a: _Gc, _ba: [], _ca: [] },
{ _d2: "obj_btn_buy", _3a: 75, _4a: !0, parent: 7, _va: _Hc, _da: _Ic, _9a: _Jc, _ba: [], _ca: [] },
{ _d2: "obj_txt_credit", _3a: 103, _4a: !0, parent: 2, _ta: _Kc, _da: _Lc, _9a: _Mc, _ba: [], _ca: [] },
{ _d2: "obj_appstore_btn", _3a: 113, _4a: !0, parent: -100, _ta: _Nc, _Oc: _Pc, _9a: _Qc, _ba: [], _ca: [] },
{ _d2: "obj_master", _3a: -1, parent: -100, _ta: _Rc, _va: _Sc, _Tc: _Uc, _Vc: _Wc, _Xc: _Yc, _Zc: __c, _0d: _1d, _2d: _3d, _9a: _4d, _ba: [], _ca: [] },
{ _d2: "obj_camera", _3a: -1, _4a: !0, parent: -100, _ta: _5d, _va: _6d, _7d: _8d, _9d: _ad, _bd: _cd, _9a: _dd, _ba: [], _ca: [] },
{ _d2: "obj_splash", _3a: -1, _4a: !0, parent: -100, _ta: _ed, _va: _fd, _gd: _hd, _9a: _id, _ba: [], _ca: [] },
{ _d2: "obj_scanlines", _3a: -1, _4a: !0, _fc: !0, parent: -100, _ta: _jd, _kd: _ld, _9a: _md, _ba: [], _ca: [] },
{ _d2: "obj_intercept_point", _3a: -1, _4a: !0, parent: -100, _ta: _nd, _9a: _od, _ba: [], _ca: [] },
{ _d2: "obj_credit", _3a: 57, _4a: !0, parent: -100, _ta: _pd, _da: _qd, _5a: _rd, _kd: _sd, _9a: _td, _ba: [], _ca: [] },
{ _d2: "obj_controller", _3a: -1, _4a: !0, parent: -100, _ta: _ud, _Ta: _vd, _va: _wd, _Tc: _xd, _da: _yd, _7a: _zd, _Ad: _Bd, _5a: _Cd, _ha: _Dd, _2d: _Ed, _Fd: _Gd, _Hd: _Id, _Jd: _Kd, _7b: _Ld, _9a: _Md, _ba: [], _ca: [] },
{ _d2: "obj_player", _3a: -1, _4a: !0, parent: -100, _ta: _Nd, _Ta: _Od, _da: _Pd, _7d: _Qd, _Rd: _Sd, _5a: _Td, _Ad: _Ud, _9a: _Vd, _ba: [], _ca: [] },
{ _d2: "obj_playerOF", _3a: 21, _4a: !0, parent: 49, _ta: _Wd, _9a: _Xd, _ba: [], _ca: [] },
{ _d2: "obj_playerDF", _3a: 21, _4a: !0, parent: 49, _ta: _Yd, _9a: _Zd, _ba: [], _ca: [] },
{ _d2: "obj_ball", _3a: 1, _4a: !0, parent: -100, _ta: __d, _va: _0e, _da: _1e, _5a: _2e, _7a: _3e, _9a: _4e, _ba: [], _ca: [58, _5e] },
{ _d2: "obj_metaball", _3a: -1, _4a: !0, parent: 52, _ta: _6e, _da: _7e, _5a: _8e, _9e: _ae, _9a: _be, _ba: [], _ca: [] },
{ _d2: "obj_match_msg", _3a: -1, _4a: !0, parent: -100, _va: _ce, _7a: _de, _9a: _ee, _ba: [], _ca: [] },
{ _d2: "obj_fieldtxt", _3a: -1, _4a: !0, parent: -100, _da: _fe, _5a: _ge, _9a: _he, _ba: [], _ca: [] },
{ _d2: "obj_goal_stand", _3a: 7, _4a: !0, parent: -100, _ta: _ie, _da: _je, _9a: _ke, _ba: [], _ca: [] },
{ _d2: "obj_goal_post", _3a: 8, _4a: !0, parent: -100, _ta: _le, _da: _me, _9a: _ne, _ba: [], _ca: [] },
{ _d2: "obj_dummy", _3a: 5, _4a: !0, parent: -100, _da: _oe, _5a: _pe, _Ad: _qe, _9a: _re, _ba: [], _ca: [49, _se] },
{ _d2: "obj_boundary", _3a: 6, _4a: !0, parent: -100, _da: _te, _5a: _ue, _9a: _ve, _ba: [], _ca: [] },
{ _d2: "obj_weather", _3a: -1, _4a: !0, parent: -100, _ta: _we, _da: _xe, _7a: _ye, _9a: _ze, _ba: [], _ca: [] },
{ _d2: "obj_raindrop", _3a: 10, _4a: !0, parent: -100, _ta: _Ae, _da: _Be, _5a: _Ce, _9a: _De, _ba: [], _ca: [] },
{ _d2: "obj_snowflake", _3a: 12, _4a: !0, parent: -100, _ta: _Ee, _da: _Fe, _9e: _Ge, _5a: _He, _9a: _Ie, _ba: [], _ca: [] },
{ _d2: "obj_details", _3a: -1, _4a: !0, parent: -100, _ta: _Je, _9a: _Ke, _ba: [], _ca: [] },
{ _d2: "obj_choose_team", _3a: -1, _4a: !0, parent: -100, _ta: _Le, _9a: _Me, _ba: [], _ca: [] },
{ _d2: "obj_frontoffice", _3a: -1, _4a: !0, parent: -100, _ta: _Ne, _9a: _Oe, _ba: [], _ca: [] },
{ _d2: "obj_freeagents2", _3a: -1, _4a: !0, parent: -100, _ta: _Pe, _9a: _Qe, _ba: [], _ca: [] },
{ _d2: "obj_viewhires", _3a: -1, _4a: !0, parent: -100, _ta: _Re, _9a: _Se, _ba: [], _ca: [] },
{ _d2: "obj_home", _3a: -1, _4a: !0, parent: -100, _ta: _Te, _da: _Ue, _5a: _Ve, _9a: _We, _ba: [], _ca: [] },
{ _d2: "obj_options", _3a: -1, _4a: !0, parent: -100, _ta: _Xe, _da: _Ye, _9a: _Ze, _ba: [], _ca: [] },
{ _d2: "obj_league", _3a: -1, _4a: !0, parent: -100, _ta: __e, _9a: _0f, _ba: [], _ca: [] },
{ _d2: "obj_playoffs", _3a: -1, _4a: !0, parent: -100, _ta: _1f, _9a: _2f, _ba: [], _ca: [] },
{ _d2: "obj_prematch", _3a: -1, _4a: !0, parent: -100, _ta: _3f, _9a: _4f, _ba: [], _ca: [] },
{ _d2: "obj_helmet", _3a: 51, _4a: !0, parent: -100, _ta: _5f, _5a: _6f, _7a: _7f, _9a: _8f, _ba: [], _ca: [] },
{ _d2: "obj_postmatch", _3a: -1, _4a: !0, parent: -100, _ta: _9f, _da: _af, _9a: _bf, _ba: [], _ca: [] },
{ _d2: "obj_xp_update", _3a: -1, _4a: !0, parent: -100, _ta: _cf, _Ta: _df, _da: _ef, _5a: _ff, _7a: _gf, _9a: _hf, _ba: [], _ca: [] },
{ _d2: "obj_playerprofile", _3a: -1, _4a: !0, parent: -100, _ta: _if, _da: _jf, _7a: _kf, _lf: _mf, _9a: _nf, _ba: [], _ca: [] },
{ _d2: "obj_stats_player", _3a: -1, _4a: !0, parent: -100, _ta: _of, _Ta: _pf, _5a: _qf, _7a: _rf, _9a: _sf, _ba: [], _ca: [] },
{ _d2: "obj_staffprofile", _3a: -1, _4a: !0, parent: -100, _ta: _tf, _da: _uf, _7a: _vf, _9a: _wf, _ba: [], _ca: [] },
{ _d2: "obj_roster", _3a: -1, _4a: !0, parent: -100, _ta: _xf, _9a: _yf, _ba: [], _ca: [] },
{ _d2: "obj_draft", _3a: -1, _4a: !0, parent: -100, _ta: _zf, _9a: _Af, _ba: [], _ca: [] },
{ _d2: "obj_freeagents", _3a: -1, _4a: !0, parent: -100, _ta: _Bf, _9a: _Cf, _ba: [], _ca: [] },
{ _d2: "obj_stats", _3a: -1, _4a: !0, parent: -100, _ta: _Df, _5a: _Ef, _9a: _Ff, _ba: [], _ca: [] },
{ _d2: "obj_training", _3a: -1, _4a: !0, parent: -100, _9a: _Gf, _ba: [], _ca: [] },
],
_Hf: [
{
_d2: "rm_master",
width: 960,
height: 540,
_E2: 0,
_If: 0,
_Jf: 2,
_Kf: !1,
_Lf: !1,
_Mf: [],
_Nf: [
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 0, y: 0, index: 42, id: 100000, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 0, index: 44, id: 100002, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: -32, index: 45, id: 100003, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 416, y: 192, index: 0, id: 100001, _Tf: _Uf, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "Instances", id: 0, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 4, _0g: [100000, 100001, 100002, 100003] },
{ _d2: "Background", id: 1, type: 1, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -16777216, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_details",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _cg,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 224, y: 8, index: 0, id: 100004, _Tf: _dg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 80, y: 40, index: 11, id: 100005, _Tf: _eg, rotation: 0, scaleX: 1.95, scaleY: 0.5625, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100008, _Tf: _fg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 80, y: 128, index: 11, id: 100010, _Tf: _gg, rotation: 0, scaleX: 1.95, scaleY: 0.6875, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 144, index: 7, id: 100011, _Tf: _hg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 208, y: 56, index: 1, id: 100006, _Tf: _ig, rotation: 0, scaleX: 9.5, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 208, y: 80, index: 1, id: 100007, _Tf: _jg, rotation: 0, scaleX: 9.5, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 192, y: 64, index: 3, id: 100013, _Tf: _kg, rotation: 0, scaleX: 4, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 192, y: 88, index: 3, id: 100014, _Tf: _lg, rotation: 0, scaleX: 4, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 240, y: 196, index: 3, id: 100015, _Tf: _mg, rotation: 0, scaleX: 6, scaleY: 1.5, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 96, y: 144, index: 11, id: 100009, _Tf: _ng, rotation: 0, scaleX: 1.15, scaleY: 0.25, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 188, y: 160, index: 2, id: 100016, _Tf: _og, rotation: 0, scaleX: 3.5, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 0, index: 63, id: 100012, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 2, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 3, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 13, _0g: [100004, 100005, 100006, 100007, 100008, 100009, 100010, 100011, 100012, 100013, 100014, 100015, 100016] },
{ _d2: "Background", id: 4, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_choose_team",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _pg,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 232, y: 8, index: 0, id: 100017, _Tf: _qg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 128, y: 32, index: 7, id: 100019, _Tf: _rg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 32, index: 7, id: 100018, _Tf: _sg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 0, index: 64, id: 100021, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100020, _Tf: _tg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 5, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 6, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 5, _0g: [100017, 100018, 100019, 100020, 100021] },
{ _d2: "Background", id: 7, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_draft",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _ug,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 224, y: 8, index: 0, id: 100022, _Tf: _vg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 48, y: 232, index: 24, id: 100023, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 396, y: 252, index: 2, id: 100024, _Tf: _wg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 396, y: 236, index: 2, id: 100025, _Tf: _xg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 112, index: 8, id: 100026, _Tf: _yg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 448, y: 112, index: 8, id: 100027, _Tf: _zg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 240, y: 35, index: 2, id: 100028, _Tf: _Ag, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: -16, index: 80, id: 100029, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 264, y: 232, index: 7, id: 100030, _Tf: _Bg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 440, y: 232, index: 8, id: 100031, _Tf: _Cg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 456, y: 8, index: 31, id: 100032, _Tf: _Dg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: -240, index: 3, id: 100033, _Tf: _Eg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 40, id: 100034, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 8, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 9, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 13, _0g: [100022, 100023, 100024, 100025, 100026, 100027, 100028, 100029, 100030, 100031, 100032, 100033, 100034] },
{ _d2: "Background", id: 10, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_home",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_bg: _Fg,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 240, y: 72, index: 15, id: 100035, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100036, _Tf: _Gg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 232, y: 8, index: 0, id: 100038, _Tf: _Hg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 128, index: 4, id: 100039, _Tf: _Ig, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100037, _Tf: _Jg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 192, y: 232, index: 7, id: 100040, _Tf: _Kg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 96, y: 232, index: 7, id: 100042, _Tf: _Lg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 320, y: 176, index: 18, id: 100043, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 392, y: 176, index: 19, id: 100044, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 176, index: 21, id: 100045, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 128, index: 25, id: 100046, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 448, y: 16, index: 3, id: 100047, _Tf: _Mg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 232, index: 7, id: 100048, _Tf: _Ng, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: -16, index: 68, id: 100041, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 776, y: 220, index: 3, id: 100049, _Tf: _Og, rotation: 0, scaleX: 12.5, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 40, id: 100050, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 11, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{
_d2: "Instances",
id: 12,
type: 2,
_Xf: 100,
x: 0,
y: 0,
_Yf: 0,
_Zf: 0,
_4a: 1,
__f: 16,
_0g: [100035, 100036, 100037, 100038, 100039, 100040, 100041, 100042, 100043, 100044, 100045, 100046, 100047, 100048, 100049, 100050],
},
{ _d2: "Background", id: 13, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -16777216, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_options",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _Pg,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 24, y: 48, index: 7, id: 100055, _Tf: _Qg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 224, y: 8, index: 0, id: 100051, _Tf: _Rg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{
x: 8,
y: 232,
index: 8,
id: 100056,
_Tf: _Sg,
rotation: 0,
scaleX: 1,
scaleY: 1,
imageSpeed: 1,
imageIndex: 0,
_If: 4294967295,
},
{ x: 144, y: 48, index: 7, id: 100057, _Tf: _Tg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 240, y: 48, index: 7, id: 100058, _Tf: _Ug, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 336, y: 48, index: 7, id: 100059, _Tf: _Vg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 108, index: 7, id: 100060, _Tf: _Wg, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 136, y: 40, index: 11, id: 100053, _Tf: _Xg, rotation: 0, scaleX: 2.05, scaleY: 0.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 40, index: 11, id: 100052, _Tf: _Yg, rotation: 0, scaleX: 0.6499999, scaleY: 0.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 100, index: 11, id: 100054, _Tf: _Zg, rotation: 0, scaleX: 0.6499999, scaleY: 0.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 436, y: 56, index: 31, id: 100061, _Tf: __g, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 464, y: 16, index: 2, id: 100062, _Tf: _0h, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: 160, index: 11, id: 100063, _Tf: _1h, rotation: 0, scaleX: 0.6499999, scaleY: 0.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 264, y: 168, index: 7, id: 100064, _Tf: _2h, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 440, y: 232, index: 37, id: 100065, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 160, index: 11, id: 100066, _Tf: _3h, rotation: 0, scaleX: 0.6499999, scaleY: 0.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 168, index: 7, id: 100067, _Tf: _4h, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 144, y: 108, index: 7, id: 100069, _Tf: _5h, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 136, y: 100, index: 11, id: 100068, _Tf: _6h, rotation: 0, scaleX: 0.6499999, scaleY: 0.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: 100, index: 11, id: 100070, _Tf: _7h, rotation: 0, scaleX: 0.6499999, scaleY: 0.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 264, y: 108, index: 7, id: 100071, _Tf: _8h, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 136, y: 160, index: 11, id: 100072, _Tf: _9h, rotation: 0, scaleX: 0.6499999, scaleY: 0.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 144, y: 168, index: 7, id: 100073, _Tf: _ah, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 1112, y: 220, index: 3, id: 100074, _Tf: _bh, rotation: 0, scaleX: 26.16667, scaleY: -1.5, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 56, y: 232, index: 41, id: 100075, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 184, y: 232, index: 41, id: 100076, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 0, index: 69, id: 100077, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 14, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{
_d2: "Instances",
id: 15,
type: 2,
_Xf: 100,
x: 0,
y: 0,
_Yf: 0,
_Zf: 0,
_4a: 1,
__f: 27,
_0g: [
100051,
100052,
100053,
100054,
100055,
100056,
100057,
100058,
100059,
100060,
100061,
100062,
100063,
100064,
100065,
100066,
100067,
100068,
100069,
100070,
100071,
100072,
100073,
100074,
100075,
100076,
100077,
],
},
{ _d2: "Background", id: 16, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_freeagents",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _ch,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 48, y: 232, index: 24, id: 100078, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100079, _Tf: _dh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 264, y: 232, index: 7, id: 100080, _Tf: _eh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 224, y: 8, index: 0, id: 100081, _Tf: _fh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: -16, index: 81, id: 100082, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 456, y: 8, index: 31, id: 100083, _Tf: _gh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: -224, index: 3, id: 100084, _Tf: _hh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 40, id: 100085, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 17, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 18, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 8, _0g: [100078, 100079, 100080, 100081, 100082, 100083, 100084, 100085] },
{ _d2: "Background", id: 19, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_freeagents2",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _ih,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 48, y: 232, index: 24, id: 100086, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100087, _Tf: _jh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 264, y: 232, index: 7, id: 100088, _Tf: _kh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 224, y: 8, index: 0, id: 100089, _Tf: _lh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 208, y: -240, index: 3, id: 100090, _Tf: _mh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 81, y: 117, index: 2, id: 100091, _Tf: _nh, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 161, y: 117, index: 2, id: 100092, _Tf: _oh, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 241, y: 117, index: 2, id: 100093, _Tf: _ph, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 321, y: 117, index: 2, id: 100094, _Tf: _qh, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 401, y: 117, index: 2, id: 100095, _Tf: _rh, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 121, y: 217, index: 2, id: 100096, _Tf: _sh, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 48, y: 32, index: 16, id: 100097, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 128, y: 32, index: 16, id: 100098, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 208, y: 32, index: 16, id: 100099, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 32, index: 16, id: 100100, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 368, y: 32, index: 16, id: 100101, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 88, y: 132, index: 16, id: 100102, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 201, y: 217, index: 2, id: 100104, _Tf: _th, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 168, y: 132, index: 16, id: 100105, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 281, y: 217, index: 2, id: 100106, _Tf: _uh, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 132, index: 16, id: 100107, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 361, y: 217, index: 2, id: 100108, _Tf: _vh, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 328, y: 132, index: 16, id: 100109, rotation: 0, scaleX: 1.017544, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: -16, y: -16, index: 66, id: 100103, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 456, y: 8, index: 31, id: 100110, _Tf: _wh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 440, y: 232, index: 37, id: 100111, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 40, id: 100112, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 20, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{
_d2: "Instances",
id: 21,
type: 2,
_Xf: 100,
x: 0,
y: 0,
_Yf: 0,
_Zf: 0,
_4a: 1,
__f: 27,
_0g: [
100086,
100087,
100088,
100089,
100090,
100091,
100092,
100093,
100094,
100095,
100096,
100097,
100098,
100099,
100100,
100101,
100102,
100103,
100104,
100105,
100106,
100107,
100108,
100109,
100110,
100111,
100112,
],
},
{ _d2: "Background", id: 22, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_frontoffice",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _xh,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 224, y: 8, index: 0, id: 100113, _Tf: _yh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100114, _Tf: _zh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 88, index: 28, id: 100115, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 136, index: 29, id: 100116, _Tf: _Ah, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 184, index: 30, id: 100117, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 232, y: 88, index: 9, id: 100118, _Tf: _Bh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 232, y: 136, index: 9, id: 100119, _Tf: _Ch, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 232, y: 184, index: 9, id: 100120, _Tf: _Dh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 280, y: 88, index: 31, id: 100122, _Tf: _Eh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 280, y: 136, index: 31, id: 100123, _Tf: _Fh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 280, y: 184, index: 31, id: 100124, _Tf: _Gh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 312, y: 50, index: 16, id: 100128, _Tf: _Hh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 392, y: 50, index: 16, id: 100129, _Tf: _Ih, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 312, y: 136, index: 18, id: 100126, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 392, y: 136, index: 19, id: 100127, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 304, y: 40, index: 11, id: 100125, _Tf: _Jh, rotation: 0, scaleX: 1, scaleY: 1.0625, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 40, index: 24, id: 100130, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 204, index: 2, id: 100132, _Tf: _Kh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 444, y: 196, index: 31, id: 100133, _Tf: _Lh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 304, y: 192, index: 11, id: 100131, _Tf: _Mh, rotation: 0, scaleX: 1, scaleY: 0.1875, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 240, y: -256, index: 3, id: 100134, _Tf: _Nh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 232, y: 40, index: 21, id: 100135, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100136, _Tf: _Oh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 232, index: 7, id: 100137, _Tf: _Ph, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: -16, y: -24, index: 65, id: 100121, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 232, index: 37, id: 100138, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 40, id: 100139, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 23, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{
_d2: "Instances",
id: 24,
type: 2,
_Xf: 100,
x: 0,
y: 0,
_Yf: 0,
_Zf: 0,
_4a: 1,
__f: 27,
_0g: [
100113,
100114,
100115,
100116,
100117,
100118,
100119,
100120,
100121,
100122,
100123,
100124,
100125,
100126,
100127,
100128,
100129,
100130,
100131,
100132,
100133,
100134,
100135,
100136,
100137,
100138,
100139,
],
},
{ _d2: "Background", id: 25, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_halloffame",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _Qh,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 232, y: 8, index: 0, id: 100140, _Tf: _Rh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100141, _Tf: _Sh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 40, index: 33, id: 100142, _Tf: _Th, rotation: 0, scaleX: 1.55, scaleY: 1.15, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 272, y: 40, index: 34, id: 100143, _Tf: _Uh, rotation: 0, scaleX: 1.25, scaleY: 0.5, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 272, y: 128, index: 35, id: 100144, _Tf: _Vh, rotation: 0, scaleX: 1.25, scaleY: 0.6, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 26, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 27, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 5, _0g: [100140, 100141, 100142, 100143, 100144] },
{ _d2: "Background", id: 28, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_league",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 4,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _Wh,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 232, y: 8, index: 0, id: 100149, _Tf: _Xh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100148, _Tf: _Yh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 136, index: 4, id: 100150, _Tf: _Zh, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 136, index: 4, id: 100151, _Tf: __h, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 40, index: 4, id: 100152, _Tf: _0i, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 40, index: 4, id: 100153, _Tf: _1i, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 192, y: 232, index: 7, id: 100156, _Tf: _2i, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 232, index: 7, id: 100155, _Tf: _3i, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100157, _Tf: _4i, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 48, index: 17, id: 100145, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 104, index: 8, id: 100146, _Tf: _5i, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 448, y: 104, index: 8, id: 100147, _Tf: _6i, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 0, index: 70, id: 100154, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 96, y: 232, index: 7, id: 100158, _Tf: _7i, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 29, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances2", id: 30, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 3, _0g: [100145, 100146, 100147] },
{ _d2: "Instances1", id: 31, type: 2, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 11, _0g: [100148, 100149, 100150, 100151, 100152, 100153, 100154, 100155, 100156, 100157, 100158] },
{ _d2: "Background", id: 32, type: 1, _Xf: 300, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_match",
width: 2600,
height: 540,
_E2: 0,
_If: 0,
_Jf: 7,
_Kf: !1,
_ag: !0,
_Lf: !1,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 960, _Pf: 540, _Qf: 960, _Rf: 540, _8i: 320, _9i: 320 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 0, y: -32, index: 48, id: 100159, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: -64, index: 43, id: 100160, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 33, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Text", id: 34, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Weather", id: 35, type: 2, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Ball", id: 36, type: 2, _Xf: 300, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Players", id: 37, type: 2, _Xf: 400, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Shadows", id: 38, type: 2, _Xf: 500, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 2, _0g: [100159, 100160] },
{ _d2: "Background", id: 39, type: 1, _Xf: 600, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 0, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -1, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_playoffs",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 5,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _ai,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 64, y: 56, index: 2, id: 100164, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 64, y: 88, index: 2, id: 100165, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 64, y: 200, index: 2, id: 100166, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 64, y: 168, index: 2, id: 100167, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 120, y: 72, index: 2, id: 100168, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 120, y: 104, index: 2, id: 100169, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 120, y: 184, index: 2, id: 100170, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 120, y: 152, index: 2, id: 100171, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 176, y: 88, index: 2, id: 100172, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 176, y: 168, index: 2, id: 100173, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 240, y: 104, index: 2, id: 100174, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 240, y: 152, index: 2, id: 100185, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 416, y: 56, index: 2, id: 100175, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 416, y: 88, index: 2, id: 100176, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 416, y: 200, index: 2, id: 100177, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 416, y: 168, index: 2, id: 100178, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 360, y: 72, index: 2, id: 100179, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 360, y: 104, index: 2, id: 100180, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 360, y: 184, index: 2, id: 100181, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 360, y: 152, index: 2, id: 100182, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 304, y: 88, index: 2, id: 100183, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 304, y: 168, index: 2, id: 100184, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 240, y: 128, index: 2, id: 100186, _Tf: _bi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100189, _Tf: _ci, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 232, y: 16, index: 0, id: 100190, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100191, _Tf: _di, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 232, index: 7, id: 100192, _Tf: _ei, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 40, index: 11, id: 100187, _Tf: _fi, rotation: 0, scaleX: 1.1, scaleY: 1.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 272, y: 40, index: 11, id: 100188, _Tf: _gi, rotation: 0, scaleX: 1.1, scaleY: 1.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 40, index: 12, id: 100161, _Tf: _hi, rotation: 0, scaleX: 1.2, scaleY: 1.4375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: 40, index: 12, id: 100162, _Tf: _ii, rotation: 0, scaleX: 1.2, scaleY: 1.4375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 0, index: 71, id: 100163, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 40, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances2", id: 41, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 2, _0g: [100161, 100162] },
{
_d2: "Instances1",
id: 42,
type: 2,
_Xf: 200,
x: 0,
y: 0,
_Yf: 0,
_Zf: 0,
_4a: 0,
__f: 26,
_0g: [100163, 100164, 100165, 100166, 100167, 100168, 100169, 100170, 100171, 100172, 100173, 100174, 100175, 100176, 100177, 100178, 100179, 100180, 100181, 100182, 100183, 100184, 100185, 100186, 100187, 100188],
},
{ _d2: "Instances_Btn", id: 43, type: 2, _Xf: 300, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 4, _0g: [100189, 100190, 100191, 100192] },
{ _d2: "Background", id: 44, type: 1, _Xf: 400, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_post_match",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _ji,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 24, y: 80, index: 2, id: 100194, _Tf: _ki, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 56, index: 2, id: 100195, _Tf: _li, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 216, y: 56, index: 2, id: 100196, _Tf: _mi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 216, y: 80, index: 2, id: 100197, _Tf: _ni, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100198, _Tf: _oi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 232, index: 7, id: 100200, _Tf: _pi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 224, y: 8, index: 0, id: 100199, _Tf: _qi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 192, index: 25, id: 100201, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 40, index: 11, id: 100193, _Tf: _ri, rotation: 0, scaleX: 1.3, scaleY: 0.4375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 3, id: 100202, _Tf: _si, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 104, index: 4, id: 100203, _Tf: _ti, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 0, index: 74, id: 100205, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: 40, index: 12, id: 100204, rotation: 0, scaleX: 1.3, scaleY: 1.4375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 45, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 46, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 13, _0g: [100193, 100194, 100195, 100196, 100197, 100198, 100199, 100200, 100201, 100202, 100203, 100204, 100205] },
{ _d2: "Background", id: 47, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_pre_match",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _ui,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 8, y: 232, index: 8, id: 100206, _Tf: _vi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100207, _Tf: _wi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 224, y: 16, index: 0, id: 100208, _Tf: _xi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 144, y: 232, index: 11, id: 100209, _Tf: _yi, rotation: 0, scaleX: 1.2, scaleY: 0.25, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 240, y: 248, index: 2, id: 100210, _Tf: _zi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 0, index: 72, id: 100211, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 48, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 49, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 6, _0g: [100206, 100207, 100208, 100209, 100210, 100211] },
{ _d2: "Background", id: 50, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -16777216, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_profile_player",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 9,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _Ai,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 200, y: -32, index: 0, id: 100226, _Tf: _Bi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 40, y: 72, index: 2, id: 100230, _Tf: _Ci, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 40, y: 104, index: 2, id: 100231, _Tf: _Di, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 40, index: 11, id: 100228, _Tf: _Ei, rotation: 0, scaleX: 1.3, scaleY: 1.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 40, index: 11, id: 100227, _Tf: _Fi, rotation: 0, scaleX: 1.3, scaleY: 1.375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: 64, index: 22, id: 100233, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: 144, index: 22, id: 100234, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: 104, index: 22, id: 100235, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 40, y: 88, index: 2, id: 100236, _Tf: _Gi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 80, y: 152, index: 2, id: 100237, _Tf: _Hi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 40, y: 56, index: 2, id: 100238, _Tf: _Ii, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 16, index: 2, id: 100229, _Tf: _Ji, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 256, y: 184, index: 22, id: 100239, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 176, y: 152, index: 2, id: 100240, _Tf: _Ki, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 184, index: 23, id: 100241, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 448, y: 104, index: 8, id: 100212, _Tf: _Li, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 104, index: 8, id: 100213, _Tf: _Mi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100221, _Tf: _Ni, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 232, index: 7, id: 100222, _Tf: _Oi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100219, _Tf: _Pi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 51, y: 232, index: 7, id: 100215, _Tf: _Qi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 243, y: 232, index: 7, id: 100216, _Tf: _Ri, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 147, y: 232, index: 7, id: 100217, _Tf: _Si, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 339, y: 232, index: 7, id: 100218, _Tf: _Ti, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100214, _Tf: _Ui, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 40, y: 120, index: 2, id: 100242, _Tf: _Vi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 40, y: 136, index: 2, id: 100243, _Tf: _Wi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 212, y: 44, index: 31, id: 100244, _Tf: _Xi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 436, y: 44, index: 31, id: 100245, _Tf: _Yi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 3, id: 100246, _Tf: _Zi, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 192, y: 232, index: 7, id: 100223, _Tf: __i, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100225, _Tf: _0j, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 96, y: 232, index: 7, id: 100224, _Tf: _1j, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: -16, index: 76, id: 100232, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 232, index: 7, id: 100220, _Tf: _2j, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 51, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Buttons_Navigate", id: 52, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 0, __f: 2, _0g: [100212, 100213] },
{ _d2: "Buttons_XP_Continue", id: 53, type: 2, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 0, __f: 1, _0g: [100214] },
{ _d2: "Buttons_XP", id: 54, type: 2, _Xf: 300, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 0, __f: 4, _0g: [100215, 100216, 100217, 100218] },
{ _d2: "Buttons_Pick", id: 55, type: 2, _Xf: 400, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 0, __f: 2, _0g: [100219, 100220] },
{ _d2: "Buttons_Main", id: 56, type: 2, _Xf: 500, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 0, __f: 4, _0g: [100221, 100222, 100223, 100224] },
{ _d2: "Buttons_Back", id: 57, type: 2, _Xf: 600, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 1, _0g: [100225] },
{
_d2: "Instances",
id: 58,
type: 2,
_Xf: 700,
x: 0,
y: 0,
_Yf: 0,
_Zf: 0,
_4a: 1,
__f: 21,
_0g: [100226, 100227, 100228, 100229, 100230, 100231, 100232, 100233, 100234, 100235, 100236, 100237, 100238, 100239, 100240, 100241, 100242, 100243, 100244, 100245, 100246],
},
{ _d2: "Background", id: 59, type: 1, _Xf: 800, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_profile_staff",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 6,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _3j,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 232, y: 8, index: 0, id: 100252, _Tf: _4j, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 188, y: 70, index: 2, id: 100254, _Tf: _5j, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 188, y: 102, index: 2, id: 100255, _Tf: _6j, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 188, y: 86, index: 2, id: 100256, _Tf: _7j, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 104, y: 48, index: 11, id: 100253, _Tf: _8j, rotation: 0, scaleX: 1.7, scaleY: 1.1875, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 456, y: 8, index: 31, id: 100258, _Tf: _9j, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 112, y: 62, index: 16, id: 100257, _Tf: _aj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 64, y: 104, index: 8, id: 100249, _Tf: _bj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 104, index: 8, id: 100250, _Tf: _cj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 3, id: 100260, _Tf: _dj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100251, _Tf: _ej, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 136, y: 152, index: 23, id: 100261, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100248, _Tf: _fj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 188, y: 118, index: 2, id: 100262, _Tf: _gj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 352, y: 112, index: 31, id: 100263, _Tf: _hj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 192, y: 232, index: 7, id: 100247, _Tf: _ij, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 188, y: 134, index: 2, id: 100264, _Tf: _jj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: -16, index: 78, id: 100259, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 60, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances_Hire", id: 61, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 1, _0g: [100247] },
{ _d2: "Instances_XP_Continue", id: 62, type: 2, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 0, __f: 1, _0g: [100248] },
{ _d2: "Instances_Nav", id: 63, type: 2, _Xf: 300, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 3, _0g: [100249, 100250, 100251] },
{ _d2: "Instances", id: 64, type: 2, _Xf: 400, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 13, _0g: [100252, 100253, 100254, 100255, 100256, 100257, 100258, 100259, 100260, 100261, 100262, 100263, 100264] },
{ _d2: "Background", id: 65, type: 1, _Xf: 500, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_roster",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _kj,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 224, y: 8, index: 0, id: 100265, _Tf: _lj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100266, _Tf: _mj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 48, y: 232, index: 24, id: 100268, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 336, y: 232, index: 18, id: 100269, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 408, y: 232, index: 19, id: 100270, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 456, y: 8, index: 31, id: 100271, _Tf: _nj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 264, y: 232, index: 21, id: 100272, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: -184, index: 3, id: 100273, _Tf: _oj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 192, index: 8, id: 100274, _Tf: _pj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: -16, index: 79, id: 100267, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 40, id: 100275, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 66, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 67, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 11, _0g: [100265, 100266, 100267, 100268, 100269, 100270, 100271, 100272, 100273, 100274, 100275] },
{ _d2: "Background", id: 68, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_stats",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _qj,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 16, y: 32, index: 13, id: 100276, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 104, index: 13, id: 100278, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 232, y: 8, index: 0, id: 100279, _Tf: _rj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100280, _Tf: _sj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 0, index: 82, id: 100277, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 69, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 70, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 5, _0g: [100276, 100277, 100278, 100279, 100280] },
{ _d2: "Background", id: 71, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_stats_player",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 4,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _tj,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 8, y: 232, index: 8, id: 100283, _Tf: _uj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 40, index: 11, id: 100284, _Tf: _vj, rotation: 0, scaleX: 0.9000001, scaleY: 1.4375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 168, y: 40, index: 11, id: 100285, _Tf: _wj, rotation: 0, scaleX: 0.9000001, scaleY: 1.4375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 320, y: 40, index: 11, id: 100286, _Tf: _xj, rotation: 0, scaleX: 0.9000001, scaleY: 1.4375, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 248, y: 16, index: 2, id: 100288, _Tf: _yj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 40, index: 77, id: 100287, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 168, y: 40, index: 77, id: 100289, _Tf: _zj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 320, y: 40, index: 77, id: 100290, _Tf: _Aj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: -1, y: 0, index: 8, id: 100291, _Tf: _Bj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 447, y: 0, index: 8, id: 100292, _Tf: _Cj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 288, y: 232, index: 7, id: 100281, _bg: _Dj, _Tf: _Ej, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 384, y: 232, index: 7, id: 100282, _bg: _Fj, _Tf: _Gj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 72, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances_StatType", id: 73, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 2, _0g: [100281, 100282] },
{ _d2: "Instances", id: 74, type: 2, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 10, _0g: [100283, 100284, 100285, 100286, 100287, 100288, 100289, 100290, 100291, 100292] },
{ _d2: "Background", id: 75, type: 1, _Xf: 300, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_training",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _Hj,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 224, y: 8, index: 0, id: 100293, _Tf: _Ij, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 184, y: 48, index: 7, id: 100295, _Tf: _Jj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 184, y: 96, index: 7, id: 100297, _Tf: _Kj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100294, _Tf: _Lj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: 0, index: 83, id: 100296, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 184, y: 144, index: 7, id: 100298, _Tf: _Mj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 76, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 77, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 6, _0g: [100293, 100294, 100295, 100296, 100297, 100298] },
{ _d2: "Background", id: 78, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_viewhires",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _Nj,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 232, y: 8, index: 0, id: 100299, _Tf: _Oj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 216, y: -192, index: 3, id: 100300, _Tf: _Pj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 144, y: 36, index: 11, id: 100301, _Tf: _Qj, rotation: 0, scaleX: 1.95, scaleY: 1.46875, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 160, y: 136, index: 16, id: 100302, _Tf: _Rj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 232, y: 136, index: 16, id: 100303, _Tf: _Sj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 304, y: 136, index: 16, id: 100304, _Tf: _Tj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 376, y: 136, index: 16, id: 100305, _Tf: _Uj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100306, _Tf: _Vj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 36, index: 11, id: 100308, _Tf: _Wj, rotation: 0, scaleX: 0.6, scaleY: 1.46875, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 40, y: 48, index: 16, id: 100309, _Tf: _Xj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 40, y: 136, index: 16, id: 100310, _Tf: _Yj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 160, y: 48, index: 16, id: 100311, _Tf: _Zj, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 232, y: 48, index: 16, id: 100312, _Tf: __j, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 304, y: 48, index: 16, id: 100313, _Tf: _0k, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 376, y: 48, index: 16, id: 100314, _Tf: _1k, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 0, y: -16, index: 67, id: 100307, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 440, y: 232, index: 37, id: 100315, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 40, id: 100316, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 79, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{
_d2: "Instances",
id: 80,
type: 2,
_Xf: 100,
x: 0,
y: 0,
_Yf: 0,
_Zf: 0,
_4a: 1,
__f: 18,
_0g: [100299, 100300, 100301, 100302, 100303, 100304, 100305, 100306, 100307, 100308, 100309, 100310, 100311, 100312, 100313, 100314, 100315, 100316],
},
{ _d2: "Background", id: 81, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
{
_d2: "rm_xp",
width: 480,
height: 270,
_E2: 0,
_If: 0,
_Jf: 3,
_Kf: !1,
_ag: !0,
_Lf: !1,
_bg: _2k,
_Mf: [],
_Nf: [
{ _4a: !0, _Of: 480, _Pf: 270, _Qf: 480, _Rf: 270 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
{ _Of: 1024, _Pf: 768, _Qf: 1024, _Rf: 768 },
],
_Sf: [
{ x: 384, y: 232, index: 7, id: 100317, _Tf: _3k, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 224, y: 8, index: 0, id: 100318, _Tf: _4k, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 80, index: 11, id: 100319, _Tf: _5k, rotation: 0, scaleX: 2.8, scaleY: 1.125, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 240, y: 40, index: 21, id: 100320, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 320, y: 40, index: 18, id: 100321, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 400, y: 40, index: 19, id: 100322, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 8, y: 232, index: 8, id: 100323, _Tf: _6k, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 16, y: 40, index: 27, id: 100324, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 24, y: 76, index: 75, id: 100325, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
{ x: 32, y: 16, index: 40, id: 100326, rotation: 0, scaleX: 1, scaleY: 1, imageSpeed: 1, imageIndex: 0, _If: 4294967295 },
],
_Vf: [],
_Wf: [
{ _d2: "PopUps", id: 82, type: 2, _Xf: 0, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 0, _0g: [] },
{ _d2: "Instances", id: 83, type: 2, _Xf: 100, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, __f: 10, _0g: [100317, 100318, 100319, 100320, 100321, 100322, 100323, 100324, 100325, 100326] },
{ _d2: "Background", id: 84, type: 1, _Xf: 200, x: 0, y: 0, _Yf: 0, _Zf: 0, _4a: 1, _1g: !0, _2g: !1, _3g: -1, _4g: !1, _5g: !1, _6g: !1, _7g: -499648, _8g: 0, _9g: -1 },
],
},
],
_7k: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22],
_8k: [
{ x: 2, y: 2, _Z9: 1300, __9: 270, _9k: 0, _ak: 0, _bk: 1300, _ck: 270, _dk: 1300, _ek: 270, _fk: 0 },
{ x: 2, y: 276, _Z9: 1300, __9: 270, _9k: 0, _ak: 0, _bk: 1300, _ck: 270, _dk: 1300, _ek: 270, _fk: 0 },
{ x: 2, y: 550, _Z9: 1300, __9: 270, _9k: 0, _ak: 0, _bk: 1300, _ck: 270, _dk: 1300, _ek: 270, _fk: 0 },
{ x: 2, y: 824, _Z9: 1300, __9: 270, _9k: 0, _ak: 0, _bk: 1300, _ck: 270, _dk: 1300, _ek: 270, _fk: 0 },
{ x: 2, y: 1098, _Z9: 1300, __9: 270, _9k: 0, _ak: 0, _bk: 1300, _ck: 270, _dk: 1300, _ek: 270, _fk: 0 },
{ x: 2, y: 1372, _Z9: 1300, __9: 270, _9k: 0, _ak: 0, _bk: 1300, _ck: 270, _dk: 1300, _ek: 270, _fk: 0 },
{ x: 2, y: 1646, _Z9: 1300, __9: 270, _9k: 0, _ak: 0, _bk: 1300, _ck: 270, _dk: 1300, _ek: 270, _fk: 0 },
{ x: 1306, y: 2, _Z9: 256, __9: 256, _9k: 0, _ak: 0, _bk: 256, _ck: 256, _dk: 256, _ek: 256, _fk: 0 },
{ x: 1566, y: 2, _Z9: 256, __9: 256, _9k: 0, _ak: 0, _bk: 256, _ck: 256, _dk: 256, _ek: 256, _fk: 0 },
{ x: 1306, y: 262, _Z9: 416, __9: 144, _9k: 0, _ak: 0, _bk: 416, _ck: 144, _dk: 416, _ek: 144, _fk: 0 },
{ x: 1306, y: 410, _Z9: 412, __9: 140, _9k: 2, _ak: 2, _bk: 412, _ck: 140, _dk: 416, _ek: 144, _fk: 0 },
{ x: 1726, y: 262, _Z9: 288, __9: 160, _9k: 0, _ak: 0, _bk: 288, _ck: 160, _dk: 288, _ek: 160, _fk: 0 },
{ x: 1722, y: 426, _Z9: 224, __9: 176, _9k: 0, _ak: 0, _bk: 224, _ck: 176, _dk: 224, _ek: 176, _fk: 0 },
{ x: 1826, y: 2, _Z9: 208, __9: 176, _9k: 0, _ak: 0, _bk: 208, _ck: 176, _dk: 208, _ek: 176, _fk: 0 },
{ x: 2, y: 1920, _Z9: 448, __9: 80, _9k: 0, _ak: 0, _bk: 448, _ck: 80, _dk: 448, _ek: 80, _fk: 0 },
{ x: 1306, y: 554, _Z9: 176, __9: 176, _9k: 0, _ak: 0, _bk: 176, _ck: 176, _dk: 176, _ek: 176, _fk: 0 },
{ x: 1486, y: 554, _Z9: 160, __9: 160, _9k: 0, _ak: 0, _bk: 160, _ck: 160, _dk: 160, _ek: 160, _fk: 0 },
{ x: 1650, y: 606, _Z9: 160, __9: 128, _9k: 0, _ak: 0, _bk: 160, _ck: 128, _dk: 160, _ek: 128, _fk: 0 },
{ x: 454, y: 1920, _Z9: 208, __9: 80, _9k: 0, _ak: 0, _bk: 208, _ck: 80, _dk: 208, _ek: 80, _fk: 0 },
{ x: 1814, y: 606, _Z9: 128, __9: 128, _9k: 0, _ak: 0, _bk: 128, _ck: 128, _dk: 128, _ek: 128, _fk: 0 },
{ x: 1486, y: 718, _Z9: 128, __9: 128, _9k: 0, _ak: 0, _bk: 128, _ck: 128, _dk: 128, _ek: 128, _fk: 0 },
{ x: 1826, y: 182, _Z9: 208, __9: 64, _9k: 0, _ak: 0, _bk: 208, _ck: 64, _dk: 208, _ek: 64, _fk: 0 },
{ x: 2, y: 2004, _Z9: 208, __9: 32, _9k: 0, _ak: 0, _bk: 208, _ck: 32, _dk: 208, _ek: 32, _fk: 0 },
{ x: 1950, y: 426, _Z9: 64, __9: 80, _9k: 0, _ak: 0, _bk: 64, _ck: 80, _dk: 64, _ek: 80, _fk: 0 },
{ x: 666, y: 1920, _Z9: 64, __9: 64, _9k: 0, _ak: 0, _bk: 64, _ck: 64, _dk: 64, _ek: 64, _fk: 0 },
{ x: 1946, y: 606, _Z9: 64, __9: 64, _9k: 0, _ak: 0, _bk: 64, _ck: 64, _dk: 64, _ek: 64, _fk: 0 },
{ x: 1306, y: 734, _Z9: 100, __9: 40, _9k: 0, _ak: 0, _bk: 100, _ck: 40, _dk: 100, _ek: 40, _fk: 0 },
{ x: 1618, y: 738, _Z9: 100, __9: 40, _9k: 0, _ak: 0, _bk: 100, _ck: 40, _dk: 100, _ek: 40, _fk: 0 },
{ x: 214, y: 2004, _Z9: 192, __9: 20, _9k: 0, _ak: 0, _bk: 192, _ck: 20, _dk: 192, _ek: 20, _fk: 0 },
{ x: 734, y: 1920, _Z9: 64, __9: 58, _9k: 0, _ak: 0, _bk: 64, _ck: 58, _dk: 64, _ek: 60, _fk: 0 },
{ x: 666, y: 1988, _Z9: 106, __9: 34, _9k: 0, _ak: 0, _bk: 106, _ck: 34, _dk: 106, _ek: 34, _fk: 0 },
{ x: 1306, y: 778, _Z9: 110, __9: 32, _9k: 0, _ak: 0, _bk: 110, _ck: 32, _dk: 110, _ek: 32, _fk: 0 },
{ x: 1722, y: 738, _Z9: 110, __9: 32, _9k: 0, _ak: 0, _bk: 110, _ck: 32, _dk: 110, _ek: 32, _fk: 0 },
{ x: 1618, y: 782, _Z9: 104, __9: 32, _9k: 0, _ak: 2, _bk: 104, _ck: 32, _dk: 106, _ek: 34, _fk: 0 },
{ x: 1946, y: 674, _Z9: 90, __9: 34, _9k: 0, _ak: 0, _bk: 90, _ck: 34, _dk: 90, _ek: 34, _fk: 0 },
{ x: 1950, y: 510, _Z9: 88, __9: 32, _9k: 0, _ak: 2, _bk: 88, _ck: 32, _dk: 90, _ek: 34, _fk: 0 },
{ x: 802, y: 1920, _Z9: 100, __9: 28, _9k: 4, _ak: 2, _bk: 100, _ck: 28, _dk: 106, _ek: 34, _fk: 0 },
{ x: 776, y: 1982, _Z9: 51, __9: 51, _9k: 6, _ak: 6, _bk: 51, _ck: 51, _dk: 60, _ek: 60, _fk: 0 },
{ x: 1420, y: 734, _Z9: 51, __9: 51, _9k: 6, _ak: 6, _bk: 51, _ck: 51, _dk: 60, _ek: 60, _fk: 0 },
{ x: 410, y: 2004, _Z9: 84, __9: 28, _9k: 4, _ak: 2, _bk: 84, _ck: 28, _dk: 90, _ek: 34, _fk: 0 },
{ x: 1306, y: 814, _Z9: 90, __9: 23, _9k: 5, _ak: 1, _bk: 90, _ck: 23, _dk: 100, _ek: 25, _fk: 0 },
{ x: 1650, y: 554, _Z9: 64, __9: 32, _9k: 0, _ak: 0, _bk: 64, _ck: 32, _dk: 64, _ek: 32, _fk: 0 },
{ x: 1836, y: 738, _Z9: 89, __9: 21, _9k: 6, _ak: 3, _bk: 89, _ck: 21, _dk: 100, _ek: 25, _fk: 0 },
{ x: 1726, y: 774, _Z9: 41, __9: 34, _9k: 0, _ak: 0, _bk: 41, _ck: 34, _dk: 41, _ek: 34, _fk: 0 },
{ x: 1946, y: 712, _Z9: 39, __9: 32, _9k: 0, _ak: 2, _bk: 39, _ck: 32, _dk: 41, _ek: 34, _fk: 0 },
{ x: 1950, y: 546, _Z9: 33, __9: 34, _9k: 0, _ak: 0, _bk: 33, _ck: 34, _dk: 33, _ek: 34, _fk: 0 },
{ x: 2014, y: 546, _Z9: 32, __9: 32, _9k: 0, _ak: 0, _bk: 32, _ck: 32, _dk: 32, _ek: 32, _fk: 0 },
{ x: 1618, y: 818, _Z9: 64, __9: 16, _9k: 0, _ak: 0, _bk: 64, _ck: 16, _dk: 64, _ek: 16, _fk: 0 },
{ x: 906, y: 1920, _Z9: 31, __9: 32, _9k: 0, _ak: 2, _bk: 31, _ck: 32, _dk: 33, _ek: 34, _fk: 0 },
{ x: 1420, y: 789, _Z9: 35, __9: 28, _9k: 4, _ak: 2, _bk: 35, _ck: 28, _dk: 41, _ek: 34, _fk: 0 },
{ x: 2018, y: 250, _Z9: 27, __9: 36, _9k: 3, _ak: 0, _bk: 27, _ck: 36, _dk: 32, _ek: 36, _fk: 0 },
{ x: 498, y: 2004, _Z9: 27, __9: 35, _9k: 3, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1836, y: 763, _Z9: 27, __9: 35, _9k: 4, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1989, y: 712, _Z9: 27, __9: 35, _9k: 3, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 2014, y: 582, _Z9: 27, __9: 35, _9k: 3, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 941, y: 1920, _Z9: 27, __9: 35, _9k: 3, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 831, y: 1952, _Z9: 27, __9: 35, _9k: 3, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 2018, y: 290, _Z9: 27, __9: 35, _9k: 5, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 529, y: 2004, _Z9: 27, __9: 35, _9k: 3, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1867, y: 763, _Z9: 27, __9: 35, _9k: 4, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1771, y: 774, _Z9: 27, __9: 35, _9k: 3, _ak: 1, _bk: 27, _ck: 35, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1929, y: 748, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 2014, y: 621, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 972, y: 1920, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 862, y: 1952, _Z9: 27, __9: 34, _9k: 2, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 831, y: 1991, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 2018, y: 329, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 560, y: 2004, _Z9: 27, __9: 34, _9k: 4, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1802, y: 774, _Z9: 27, __9: 34, _9k: 5, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1726, y: 812, _Z9: 27, __9: 34, _9k: 4, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1960, y: 751, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1898, y: 763, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1003, y: 1920, _Z9: 27, __9: 34, _9k: 4, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 972, y: 1958, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 893, y: 1956, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 2018, y: 367, _Z9: 27, __9: 34, _9k: 3, _ak: 2, _bk: 27, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 591, y: 2004, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1833, y: 802, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1991, y: 751, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1929, y: 786, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1034, y: 1920, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1003, y: 1958, _Z9: 27, __9: 33, _9k: 2, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 862, y: 1996, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 924, y: 1959, _Z9: 27, __9: 33, _9k: 2, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 2018, y: 405, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 622, y: 2004, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1802, y: 812, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1991, y: 788, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1898, y: 801, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1065, y: 1920, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1034, y: 1957, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1003, y: 1995, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 893, y: 1994, _Z9: 27, __9: 33, _9k: 5, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 2018, y: 442, _Z9: 27, __9: 33, _9k: 2, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1757, y: 813, _Z9: 27, __9: 33, _9k: 2, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1960, y: 789, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1864, y: 802, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1096, y: 1920, _Z9: 27, __9: 33, _9k: 4, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1065, y: 1957, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1034, y: 1994, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 924, y: 1996, _Z9: 27, __9: 33, _9k: 2, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1127, y: 1920, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1096, y: 1957, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1065, y: 1994, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 955, y: 1996, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1158, y: 1920, _Z9: 27, __9: 33, _9k: 2, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1127, y: 1957, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1096, y: 1994, _Z9: 27, __9: 33, _9k: 5, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1189, y: 1920, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1158, y: 1957, _Z9: 27, __9: 33, _9k: 4, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1127, y: 1994, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1220, y: 1920, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1189, y: 1957, _Z9: 27, __9: 33, _9k: 2, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1158, y: 1994, _Z9: 27, __9: 33, _9k: 5, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1251, y: 1920, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1220, y: 1957, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1189, y: 1994, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1251, y: 1957, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1220, y: 1994, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1251, y: 1994, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1686, y: 818, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1400, y: 821, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1431, y: 821, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1929, y: 823, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1991, y: 825, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1960, y: 826, _Z9: 27, __9: 33, _9k: 2, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1282, y: 1920, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1282, y: 1957, _Z9: 27, __9: 33, _9k: 3, _ak: 3, _bk: 27, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1282, y: 1994, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1618, y: 838, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1895, y: 838, _Z9: 27, __9: 32, _9k: 2, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1649, y: 838, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1833, y: 839, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1864, y: 839, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1313, y: 841, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1344, y: 841, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1788, y: 849, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1462, y: 850, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1717, y: 850, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1493, y: 850, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1748, y: 850, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1524, y: 850, _Z9: 27, __9: 32, _9k: 5, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1555, y: 850, _Z9: 27, __9: 32, _9k: 2, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1586, y: 850, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1680, y: 855, _Z9: 27, __9: 32, _9k: 4, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1375, y: 858, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1406, y: 858, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1926, y: 860, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1991, y: 862, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1957, y: 863, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1617, y: 874, _Z9: 27, __9: 32, _9k: 2, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1895, y: 874, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1648, y: 874, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1819, y: 875, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1850, y: 875, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1313, y: 877, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1344, y: 877, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1779, y: 885, _Z9: 27, __9: 32, _9k: 2, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1437, y: 886, _Z9: 27, __9: 32, _9k: 2, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1711, y: 886, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1468, y: 886, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1742, y: 886, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1499, y: 886, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1530, y: 886, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1561, y: 886, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1679, y: 891, _Z9: 27, __9: 32, _9k: 3, _ak: 4, _bk: 27, _ck: 32, _dk: 32, _ek: 36, _fk: 0 },
{ x: 2020, y: 712, _Z9: 25, __9: 34, _9k: 4, _ak: 2, _bk: 25, _ck: 34, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1375, y: 894, _Z9: 27, __9: 31, _9k: 3, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1406, y: 894, _Z9: 27, __9: 31, _9k: 3, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1926, y: 896, _Z9: 27, __9: 31, _9k: 3, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1988, y: 898, _Z9: 27, __9: 31, _9k: 3, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 2019, y: 898, _Z9: 27, __9: 31, _9k: 5, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1957, y: 899, _Z9: 27, __9: 31, _9k: 2, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1592, y: 910, _Z9: 27, __9: 31, _9k: 3, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1881, y: 910, _Z9: 27, __9: 31, _9k: 5, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1623, y: 910, _Z9: 27, __9: 31, _9k: 3, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1810, y: 911, _Z9: 27, __9: 31, _9k: 2, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1841, y: 911, _Z9: 27, __9: 31, _9k: 3, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1313, y: 913, _Z9: 27, __9: 31, _9k: 3, _ak: 5, _bk: 27, _ck: 31, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1344, y: 913, _Z9: 25, __9: 33, _9k: 4, _ak: 3, _bk: 25, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1773, y: 921, _Z9: 25, __9: 33, _9k: 4, _ak: 3, _bk: 25, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 1437, y: 922, _Z9: 25, __9: 33, _9k: 4, _ak: 3, _bk: 25, _ck: 33, _dk: 32, _ek: 36, _fk: 0 },
{ x: 214, y: 2028, _Z9: 48, __9: 16, _9k: 0, _ak: 0, _bk: 48, _ck: 16, _dk: 48, _ek: 16, _fk: 0 },
{ x: 1710, y: 922, _Z9: 27, __9: 28, _9k: 4, _ak: 2, _bk: 27, _ck: 28, _dk: 33, _ek: 34, _fk: 0 },
{ x: 1987, y: 546, _Z9: 18, __9: 35, _9k: 7, _ak: 0, _bk: 18, _ck: 35, _dk: 32, _ek: 35, _fk: 0 },
{ x: 802, y: 1952, _Z9: 22, __9: 21, _9k: 0, _ak: 0, _bk: 22, _ck: 21, _dk: 22, _ek: 21, _fk: 0 },
{ x: 2018, y: 479, _Z9: 15, __9: 27, _9k: 12, _ak: 0, _bk: 15, _ck: 27, _dk: 32, _ek: 27, _fk: 0 },
{ x: 1459, y: 789, _Z9: 15, __9: 27, _9k: 6, _ak: 0, _bk: 15, _ck: 27, _dk: 32, _ek: 27, _fk: 0 },
{ x: 653, y: 2026, _Z9: 21, __9: 19, _9k: 6, _ak: 6, _bk: 21, _ck: 19, _dk: 32, _ek: 32, _fk: 0 },
{ x: 1437, y: 858, _Z9: 20, __9: 19, _9k: 6, _ak: 8, _bk: 20, _ck: 19, _dk: 32, _ek: 32, _fk: 0 },
{ x: 2038, y: 2, _Z9: 7, __9: 53, _9k: 10, _ak: 0, _bk: 7, _ck: 53, _dk: 17, _ek: 90, _fk: 0 },
{ x: 1650, y: 590, _Z9: 41, __9: 9, _9k: 0, _ak: 0, _bk: 41, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 831, y: 2033, _Z9: 41, __9: 9, _9k: 0, _ak: 0, _bk: 41, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1650, y: 590, _Z9: 41, __9: 9, _9k: 0, _ak: 0, _bk: 41, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 831, y: 2033, _Z9: 41, __9: 9, _9k: 0, _ak: 0, _bk: 41, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1618, y: 718, _Z9: 25, __9: 14, _9k: 4, _ak: 2, _bk: 25, _ck: 14, _dk: 32, _ek: 16, _fk: 0 },
{ x: 1034, y: 2031, _Z9: 38, __9: 9, _9k: 0, _ak: 0, _bk: 38, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1988, y: 933, _Z9: 38, __9: 9, _9k: 0, _ak: 0, _bk: 38, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1912, y: 931, _Z9: 38, __9: 9, _9k: 1, _ak: 0, _bk: 38, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1802, y: 946, _Z9: 38, __9: 9, _9k: 1, _ak: 0, _bk: 38, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 986, y: 1996, _Z9: 10, __9: 32, _9k: 0, _ak: 5, _bk: 10, _ck: 32, _dk: 10, _ek: 37, _fk: 0 },
{ x: 955, y: 1959, _Z9: 10, __9: 32, _9k: 0, _ak: 5, _bk: 10, _ck: 32, _dk: 10, _ek: 37, _fk: 0 },
{ x: 2022, y: 750, _Z9: 6, __9: 53, _9k: 10, _ak: 0, _bk: 6, _ck: 53, _dk: 17, _ek: 90, _fk: 0 },
{ x: 1592, y: 886, _Z9: 17, __9: 18, _9k: 7, _ak: 8, _bk: 17, _ck: 18, _dk: 32, _ek: 32, _fk: 0 },
{ x: 1654, y: 910, _Z9: 15, __9: 20, _9k: 8, _ak: 6, _bk: 15, _ck: 20, _dk: 32, _ek: 32, _fk: 0 },
{ x: 1466, y: 922, _Z9: 33, __9: 9, _9k: 0, _ak: 0, _bk: 33, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1373, y: 929, _Z9: 33, __9: 9, _9k: 0, _ak: 0, _bk: 33, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 266, y: 2028, _Z9: 33, __9: 9, _9k: 4, _ak: 0, _bk: 33, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1466, y: 945, _Z9: 33, __9: 9, _9k: 4, _ak: 0, _bk: 33, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1741, y: 922, _Z9: 17, __9: 17, _9k: 7, _ak: 7, _bk: 17, _ck: 17, _dk: 32, _ek: 32, _fk: 0 },
{ x: 1826, y: 250, _Z9: 39, __9: 7, _9k: 0, _ak: 0, _bk: 39, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1826, y: 250, _Z9: 39, __9: 7, _9k: 0, _ak: 0, _bk: 39, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 2014, y: 659, _Z9: 30, __9: 9, _9k: 1, _ak: 0, _bk: 30, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1950, y: 584, _Z9: 30, __9: 9, _9k: 0, _ak: 0, _bk: 30, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 678, y: 2026, _Z9: 30, __9: 9, _9k: 5, _ak: 0, _bk: 30, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1076, y: 2031, _Z9: 30, __9: 9, _9k: 5, _ak: 0, _bk: 30, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1475, y: 734, _Z9: 6, __9: 44, _9k: 10, _ak: 18, _bk: 6, _ck: 44, _dk: 17, _ek: 90, _fk: 0 },
{ x: 1462, y: 820, _Z9: 13, __9: 20, _9k: 1, _ak: 0, _bk: 13, _ck: 20, _dk: 16, _ek: 20, _fk: 0 },
{ x: 1282, y: 2030, _Z9: 16, __9: 16, _9k: 0, _ak: 0, _bk: 16, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 2030, y: 933, _Z9: 16, __9: 16, _9k: 0, _ak: 0, _bk: 16, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1954, y: 934, _Z9: 15, __9: 17, _9k: 0, _ak: 0, _bk: 15, _ck: 17, _dk: 15, _ek: 17, _fk: 0 },
{ x: 986, y: 2032, _Z9: 36, __9: 7, _9k: 1, _ak: 0, _bk: 36, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1654, y: 934, _Z9: 36, __9: 7, _9k: 0, _ak: 0, _bk: 36, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 893, y: 2031, _Z9: 16, __9: 15, _9k: 9, _ak: 8, _bk: 16, _ck: 15, _dk: 32, _ek: 32, _fk: 0 },
{ x: 2022, y: 807, _Z9: 16, __9: 15, _9k: 7, _ak: 8, _bk: 16, _ck: 15, _dk: 32, _ek: 32, _fk: 0 },
{ x: 1503, y: 922, _Z9: 16, __9: 15, _9k: 0, _ak: 0, _bk: 16, _ck: 15, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1410, y: 929, _Z9: 12, __9: 19, _9k: 2, _ak: 2, _bk: 12, _ck: 19, _dk: 16, _ek: 23, _fk: 0 },
{ x: 303, y: 2028, _Z9: 25, __9: 9, _9k: 0, _ak: 0, _bk: 25, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1503, y: 945, _Z9: 25, __9: 9, _9k: 0, _ak: 0, _bk: 25, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1741, y: 943, _Z9: 25, __9: 9, _9k: 8, _ak: 0, _bk: 25, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1984, y: 585, _Z9: 25, __9: 9, _9k: 8, _ak: 0, _bk: 25, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 712, y: 2026, _Z9: 13, __9: 17, _9k: 0, _ak: 3, _bk: 13, _ck: 17, _dk: 16, _ek: 20, _fk: 0 },
{ x: 2022, y: 826, _Z9: 13, __9: 17, _9k: 2, _ak: 3, _bk: 13, _ck: 17, _dk: 16, _ek: 20, _fk: 0 },
{ x: 1306, y: 948, _Z9: 31, __9: 7, _9k: 0, _ak: 0, _bk: 31, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1869, y: 250, _Z9: 31, __9: 7, _9k: 4, _ak: 0, _bk: 31, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1694, y: 927, _Z9: 12, __9: 17, _9k: 1, _ak: 6, _bk: 12, _ck: 17, _dk: 16, _ek: 24, _fk: 0 },
{ x: 2032, y: 750, _Z9: 12, __9: 17, _9k: 1, _ak: 3, _bk: 12, _ck: 17, _dk: 16, _ek: 20, _fk: 0 },
{ x: 332, y: 2028, _Z9: 12, __9: 17, _9k: 1, _ak: 3, _bk: 12, _ck: 17, _dk: 16, _ek: 20, _fk: 0 },
{ x: 1532, y: 922, _Z9: 12, __9: 17, _9k: 0, _ak: 0, _bk: 12, _ck: 17, _dk: 12, _ek: 17, _fk: 0 },
{ x: 729, y: 2026, _Z9: 12, __9: 17, _9k: 1, _ak: 0, _bk: 12, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 2022, y: 847, _Z9: 12, __9: 17, _9k: 1, _ak: 0, _bk: 12, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 2032, y: 771, _Z9: 12, __9: 17, _9k: 1, _ak: 0, _bk: 12, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 348, y: 2028, _Z9: 12, __9: 17, _9k: 1, _ak: 0, _bk: 12, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 1973, y: 934, _Z9: 11, __9: 18, _9k: 3, _ak: 6, _bk: 11, _ck: 18, _dk: 16, _ek: 24, _fk: 0 },
{ x: 1548, y: 922, _Z9: 11, __9: 18, _9k: 2, _ak: 6, _bk: 11, _ck: 18, _dk: 16, _ek: 24, _fk: 0 },
{ x: 1695, y: 590, _Z9: 22, __9: 9, _9k: 1, _ak: 0, _bk: 22, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1110, y: 2031, _Z9: 22, __9: 9, _9k: 0, _ak: 0, _bk: 22, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1872, y: 945, _Z9: 22, __9: 9, _9k: 9, _ak: 0, _bk: 22, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1912, y: 944, _Z9: 22, __9: 9, _9k: 9, _ak: 0, _bk: 22, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 913, y: 2033, _Z9: 28, __9: 7, _9k: 5, _ak: 0, _bk: 28, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1373, y: 942, _Z9: 28, __9: 7, _9k: 0, _ak: 0, _bk: 28, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1375, y: 841, _Z9: 15, __9: 13, _9k: 0, _ak: 11, _bk: 15, _ck: 13, _dk: 16, _ek: 24, _fk: 0 },
{ x: 1788, y: 813, _Z9: 10, __9: 19, _9k: 0, _ak: 1, _bk: 10, _ck: 19, _dk: 10, _ek: 21, _fk: 0 },
{ x: 1532, y: 945, _Z9: 21, __9: 9, _9k: 6, _ak: 15, _bk: 21, _ck: 9, _dk: 32, _ek: 26, _fk: 0 },
{ x: 745, y: 2026, _Z9: 21, __9: 9, _9k: 6, _ak: 15, _bk: 21, _ck: 9, _dk: 32, _ek: 26, _fk: 0 },
{ x: 2022, y: 868, _Z9: 11, __9: 17, _9k: 1, _ak: 0, _bk: 11, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 364, y: 2028, _Z9: 11, __9: 17, _9k: 1, _ak: 0, _bk: 11, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 1563, y: 922, _Z9: 11, __9: 17, _9k: 1, _ak: 6, _bk: 11, _ck: 17, _dk: 16, _ek: 24, _fk: 0 },
{ x: 379, y: 2028, _Z9: 11, __9: 17, _9k: 3, _ak: 0, _bk: 11, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 394, y: 2028, _Z9: 11, __9: 17, _9k: 1, _ak: 0, _bk: 11, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 1563, y: 943, _Z9: 11, __9: 17, _9k: 1, _ak: 0, _bk: 11, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 1938, y: 944, _Z9: 11, __9: 17, _9k: 1, _ak: 0, _bk: 11, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 1578, y: 945, _Z9: 11, __9: 17, _9k: 1, _ak: 0, _bk: 11, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 1988, y: 946, _Z9: 13, __9: 14, _9k: 1, _ak: 4, _bk: 13, _ck: 14, _dk: 16, _ek: 24, _fk: 0 },
{ x: 1136, y: 2031, _Z9: 13, __9: 14, _9k: 0, _ak: 6, _bk: 13, _ck: 14, _dk: 16, _ek: 20, _fk: 0 },
{ x: 1844, y: 946, _Z9: 12, __9: 15, _9k: 0, _ak: 1, _bk: 12, _ck: 15, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1593, y: 945, _Z9: 12, __9: 15, _9k: 0, _ak: 1, _bk: 12, _ck: 15, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1904, y: 250, _Z9: 22, __9: 8, _9k: 6, _ak: 18, _bk: 22, _ck: 8, _dk: 32, _ek: 26, _fk: 0 },
{ x: 2005, y: 946, _Z9: 11, __9: 16, _9k: 2, _ak: 0, _bk: 11, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 945, y: 2033, _Z9: 19, __9: 9, _9k: 7, _ak: 13, _bk: 19, _ck: 9, _dk: 32, _ek: 26, _fk: 0 },
{ x: 1819, y: 849, _Z9: 10, __9: 17, _9k: 5, _ak: 3, _bk: 10, _ck: 17, _dk: 16, _ek: 20, _fk: 0 },
{ x: 876, y: 2033, _Z9: 13, __9: 13, _9k: 1, _ak: 1, _bk: 13, _ck: 13, _dk: 15, _ek: 15, _fk: 0 },
{ x: 1341, y: 950, _Z9: 21, __9: 8, _9k: 6, _ak: 18, _bk: 21, _ck: 8, _dk: 32, _ek: 26, _fk: 0 },
{ x: 1153, y: 2031, _Z9: 12, __9: 14, _9k: 0, _ak: 0, _bk: 12, _ck: 14, _dk: 12, _ek: 14, _fk: 0 },
{ x: 1609, y: 945, _Z9: 11, __9: 15, _9k: 0, _ak: 1, _bk: 11, _ck: 15, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1169, y: 2031, _Z9: 11, __9: 15, _9k: 0, _ak: 1, _bk: 11, _ck: 15, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1405, y: 952, _Z9: 18, __9: 9, _9k: 7, _ak: 13, _bk: 18, _ck: 9, _dk: 32, _ek: 26, _fk: 0 },
{ x: 678, y: 2039, _Z9: 23, __9: 7, _9k: 0, _ak: 0, _bk: 23, _ck: 7, _dk: 23, _ek: 7, _fk: 0 },
{ x: 770, y: 2037, _Z9: 23, __9: 7, _9k: 0, _ak: 0, _bk: 23, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 409, y: 2036, _Z9: 23, __9: 7, _9k: 8, _ak: 0, _bk: 23, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1881, y: 875, _Z9: 10, __9: 16, _9k: 4, _ak: 0, _bk: 10, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1912, y: 910, _Z9: 10, __9: 16, _9k: 5, _ak: 4, _bk: 10, _ck: 16, _dk: 16, _ek: 20, _fk: 0 },
{ x: 1898, y: 945, _Z9: 10, __9: 16, _9k: 1, _ak: 0, _bk: 10, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 968, y: 2033, _Z9: 13, __9: 12, _9k: 2, _ak: 0, _bk: 13, _ck: 12, _dk: 16, _ek: 13, _fk: 0 },
{ x: 1624, y: 945, _Z9: 11, __9: 14, _9k: 2, _ak: 1, _bk: 11, _ck: 14, _dk: 16, _ek: 16, _fk: 0 },
{ x: 2037, y: 479, _Z9: 9, __9: 17, _9k: 3, _ak: 0, _bk: 9, _ck: 17, _dk: 16, _ek: 17, _fk: 0 },
{ x: 2020, y: 953, _Z9: 17, __9: 9, _9k: 0, _ak: 0, _bk: 17, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1184, y: 2031, _Z9: 17, __9: 9, _9k: 0, _ak: 0, _bk: 17, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1366, y: 953, _Z9: 17, __9: 9, _9k: 12, _ak: 0, _bk: 17, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 797, y: 2037, _Z9: 17, __9: 9, _9k: 12, _ak: 0, _bk: 17, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 653, y: 2004, _Z9: 9, __9: 16, _9k: 3, _ak: 4, _bk: 9, _ck: 16, _dk: 16, _ek: 20, _fk: 0 },
{ x: 2037, y: 868, _Z9: 9, __9: 16, _9k: 3, _ak: 0, _bk: 9, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1639, y: 945, _Z9: 9, __9: 16, _9k: 3, _ak: 0, _bk: 9, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1578, y: 922, _Z9: 9, __9: 16, _9k: 4, _ak: 4, _bk: 9, _ck: 16, _dk: 16, _ek: 20, _fk: 0 },
{ x: 1639, y: 945, _Z9: 9, __9: 16, _9k: 3, _ak: 0, _bk: 9, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1652, y: 945, _Z9: 9, __9: 16, _9k: 4, _ak: 0, _bk: 9, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1665, y: 945, _Z9: 9, __9: 16, _9k: 2, _ak: 1, _bk: 9, _ck: 16, _dk: 16, _ek: 17, _fk: 0 },
{ x: 1678, y: 945, _Z9: 9, __9: 16, _9k: 2, _ak: 1, _bk: 9, _ck: 16, _dk: 16, _ek: 17, _fk: 0 },
{ x: 2032, y: 792, _Z9: 13, __9: 11, _9k: 1, _ak: 5, _bk: 13, _ck: 11, _dk: 16, _ek: 16, _fk: 0 },
{ x: 2032, y: 792, _Z9: 13, __9: 11, _9k: 1, _ak: 5, _bk: 13, _ck: 11, _dk: 16, _ek: 16, _fk: 0 },
{ x: 436, y: 2036, _Z9: 14, __9: 10, _9k: 0, _ak: 10, _bk: 14, _ck: 10, _dk: 16, _ek: 20, _fk: 0 },
{ x: 1930, y: 250, _Z9: 20, __9: 7, _9k: 0, _ak: 0, _bk: 20, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 745, y: 2039, _Z9: 20, __9: 7, _9k: 9, _ak: 0, _bk: 20, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1205, y: 2031, _Z9: 9, __9: 15, _9k: 3, _ak: 0, _bk: 9, _ck: 15, _dk: 16, _ek: 16, _fk: 0 },
{ x: 2038, y: 59, _Z9: 7, __9: 19, _9k: 4, _ak: 1, _bk: 7, _ck: 19, _dk: 16, _ek: 20, _fk: 0 },
{ x: 1410, y: 734, _Z9: 6, __9: 22, _9k: 0, _ak: 1, _bk: 6, _ck: 22, _dk: 7, _ek: 28, _fk: 0 },
{ x: 2040, y: 672, _Z9: 6, __9: 22, _9k: 0, _ak: 4, _bk: 6, _ck: 22, _dk: 7, _ek: 28, _fk: 0 },
{ x: 2040, y: 672, _Z9: 6, __9: 22, _9k: 0, _ak: 4, _bk: 6, _ck: 22, _dk: 7, _ek: 28, _fk: 0 },
{ x: 1860, y: 946, _Z9: 8, __9: 16, _9k: 3, _ak: 1, _bk: 8, _ck: 16, _dk: 16, _ek: 17, _fk: 0 },
{ x: 2038, y: 847, _Z9: 8, __9: 16, _9k: 3, _ak: 1, _bk: 8, _ck: 16, _dk: 16, _ek: 17, _fk: 0 },
{ x: 2038, y: 82, _Z9: 8, __9: 16, _9k: 3, _ak: 4, _bk: 8, _ck: 16, _dk: 16, _ek: 20, _fk: 0 },
{ x: 2038, y: 102, _Z9: 8, __9: 16, _9k: 3, _ak: 1, _bk: 8, _ck: 16, _dk: 16, _ek: 17, _fk: 0 },
{ x: 2038, y: 122, _Z9: 8, __9: 16, _9k: 3, _ak: 1, _bk: 8, _ck: 16, _dk: 16, _ek: 17, _fk: 0 },
{ x: 2038, y: 142, _Z9: 6, __9: 21, _9k: 0, _ak: 5, _bk: 6, _ck: 21, _dk: 7, _ek: 28, _fk: 0 },
{ x: 1427, y: 929, _Z9: 6, __9: 21, _9k: 0, _ak: 2, _bk: 6, _ck: 21, _dk: 7, _ek: 28, _fk: 0 },
{ x: 2038, y: 142, _Z9: 6, __9: 21, _9k: 0, _ak: 5, _bk: 6, _ck: 21, _dk: 7, _ek: 28, _fk: 0 },
{ x: 1691, y: 948, _Z9: 9, __9: 14, _9k: 2, _ak: 2, _bk: 9, _ck: 14, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1218, y: 2031, _Z9: 9, __9: 14, _9k: 3, _ak: 2, _bk: 9, _ck: 14, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1387, y: 953, _Z9: 14, __9: 9, _9k: 0, _ak: 0, _bk: 14, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 454, y: 2036, _Z9: 14, __9: 9, _9k: 0, _ak: 0, _bk: 14, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1231, y: 2031, _Z9: 14, __9: 9, _9k: 14, _ak: 0, _bk: 14, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 472, y: 2036, _Z9: 14, __9: 9, _9k: 14, _ak: 0, _bk: 14, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1249, y: 2031, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1264, y: 2031, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1704, y: 954, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1719, y: 954, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1953, y: 955, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1734, y: 956, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1968, y: 956, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1749, y: 956, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1912, y: 957, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1466, y: 958, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1872, y: 958, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1764, y: 958, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 1481, y: 958, _Z9: 11, __9: 11, _9k: 1, _ak: 2, _bk: 11, _ck: 11, _dk: 15, _ek: 15, _fk: 0 },
{ x: 1779, y: 958, _Z9: 11, __9: 11, _9k: 0, _ak: 0, _bk: 11, _ck: 11, _dk: 11, _ek: 11, _fk: 0 },
{ x: 2038, y: 167, _Z9: 8, __9: 15, _9k: 0, _ak: 0, _bk: 8, _ck: 15, _dk: 8, _ek: 15, _fk: 0 },
{ x: 2038, y: 186, _Z9: 8, __9: 15, _9k: 0, _ak: 0, _bk: 8, _ck: 15, _dk: 8, _ek: 15, _fk: 0 },
{ x: 1496, y: 958, _Z9: 10, __9: 12, _9k: 2, _ak: 0, _bk: 10, _ck: 12, _dk: 16, _ek: 13, _fk: 0 },
{ x: 1762, y: 922, _Z9: 7, __9: 17, _9k: 0, _ak: 11, _bk: 7, _ck: 17, _dk: 7, _ek: 28, _fk: 0 },
{ x: 1302, y: 2030, _Z9: 7, __9: 16, _9k: 4, _ak: 0, _bk: 7, _ck: 16, _dk: 16, _ek: 16, _fk: 0 },
{ x: 2039, y: 826, _Z9: 7, __9: 16, _9k: 8, _ak: 6, _bk: 7, _ck: 16, _dk: 24, _ek: 24, _fk: 0 },
{ x: 2038, y: 205, _Z9: 7, __9: 16, _9k: 9, _ak: 6, _bk: 7, _ck: 16, _dk: 24, _ek: 24, _fk: 0 },
{ x: 1510, y: 958, _Z9: 9, __9: 12, _9k: 0, _ak: 0, _bk: 9, _ck: 12, _dk: 9, _ek: 12, _fk: 0 },
{ x: 1523, y: 958, _Z9: 9, __9: 12, _9k: 0, _ak: 0, _bk: 9, _ck: 12, _dk: 9, _ek: 12, _fk: 0 },
{ x: 1313, y: 959, _Z9: 15, __9: 7, _9k: 0, _ak: 0, _bk: 15, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1954, y: 250, _Z9: 15, __9: 7, _9k: 12, _ak: 0, _bk: 15, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 2038, y: 225, _Z9: 8, __9: 13, _9k: 8, _ak: 2, _bk: 8, _ck: 13, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1427, y: 954, _Z9: 6, __9: 17, _9k: 0, _ak: 11, _bk: 6, _ck: 17, _dk: 7, _ek: 28, _fk: 0 },
{ x: 1427, y: 954, _Z9: 6, __9: 17, _9k: 0, _ak: 11, _bk: 6, _ck: 17, _dk: 7, _ek: 28, _fk: 0 },
{ x: 1427, y: 954, _Z9: 6, __9: 17, _9k: 0, _ak: 11, _bk: 6, _ck: 17, _dk: 7, _ek: 28, _fk: 0 },
{ x: 1593, y: 964, _Z9: 14, __9: 7, _9k: 0, _ak: 0, _bk: 14, _ck: 7, _dk: 14, _ek: 7, _fk: 0 },
{ x: 2, y: 2040, _Z9: 16, __9: 6, _9k: 4, _ak: 17, _bk: 16, _ck: 6, _dk: 24, _ek: 24, _fk: 0 },
{ x: 1983, y: 964, _Z9: 13, __9: 7, _9k: 12, _ak: 0, _bk: 13, _ck: 7, _dk: 25, _ek: 7, _fk: 0 },
{ x: 1794, y: 959, _Z9: 12, __9: 7, _9k: 0, _ak: 0, _bk: 12, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1536, y: 958, _Z9: 12, __9: 7, _9k: 14, _ak: 0, _bk: 12, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1788, y: 836, _Z9: 9, __9: 9, _9k: 0, _ak: 0, _bk: 9, _ck: 9, _dk: 9, _ek: 9, _fk: 0 },
{ x: 1881, y: 895, _Z9: 9, __9: 9, _9k: 0, _ak: 0, _bk: 9, _ck: 9, _dk: 9, _ek: 9, _fk: 0 },
{ x: 818, y: 2037, _Z9: 9, __9: 9, _9k: 0, _ak: 0, _bk: 9, _ck: 9, _dk: 9, _ek: 9, _fk: 0 },
{ x: 1332, y: 962, _Z9: 9, __9: 9, _9k: 0, _ak: 0, _bk: 9, _ck: 9, _dk: 9, _ek: 9, _fk: 0 },
{ x: 1437, y: 959, _Z9: 9, __9: 9, _9k: 0, _ak: 0, _bk: 9, _ck: 9, _dk: 9, _ek: 9, _fk: 0 },
{ x: 1810, y: 959, _Z9: 9, __9: 9, _9k: 1, _ak: 0, _bk: 9, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1345, y: 962, _Z9: 9, __9: 9, _9k: 0, _ak: 0, _bk: 9, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1450, y: 959, _Z9: 9, __9: 9, _9k: 16, _ak: 0, _bk: 9, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1823, y: 959, _Z9: 9, __9: 9, _9k: 16, _ak: 0, _bk: 9, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1624, y: 963, _Z9: 11, __9: 7, _9k: 6, _ak: 15, _bk: 11, _ck: 7, _dk: 24, _ek: 24, _fk: 0 },
{ x: 1973, y: 250, _Z9: 9, __9: 8, _9k: 0, _ak: 1, _bk: 9, _ck: 8, _dk: 9, _ek: 9, _fk: 0 },
{ x: 1410, y: 760, _Z9: 6, __9: 11, _9k: 0, _ak: 1, _bk: 6, _ck: 11, _dk: 6, _ek: 13, _fk: 0 },
{ x: 1929, y: 738, _Z9: 10, __9: 6, _9k: 2, _ak: 6, _bk: 10, _ck: 6, _dk: 13, _ek: 12, _fk: 0 },
{ x: 1466, y: 935, _Z9: 10, __9: 6, _9k: 2, _ak: 6, _bk: 10, _ck: 6, _dk: 13, _ek: 12, _fk: 0 },
{ x: 2040, y: 698, _Z9: 6, __9: 9, _9k: 0, _ak: 0, _bk: 6, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1927, y: 957, _Z9: 6, __9: 9, _9k: 0, _ak: 0, _bk: 6, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1887, y: 958, _Z9: 6, __9: 9, _9k: 17, _ak: 0, _bk: 6, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1552, y: 958, _Z9: 6, __9: 9, _9k: 17, _ak: 0, _bk: 6, _ck: 9, _dk: 41, _ek: 9, _fk: 0 },
{ x: 1611, y: 964, _Z9: 7, __9: 7, _9k: 0, _ak: 0, _bk: 7, _ck: 7, _dk: 7, _ek: 7, _fk: 0 },
{ x: 1986, y: 250, _Z9: 7, __9: 7, _9k: 0, _ak: 0, _bk: 7, _ck: 7, _dk: 7, _ek: 7, _fk: 0 },
{ x: 1986, y: 250, _Z9: 7, __9: 7, _9k: 0, _ak: 0, _bk: 7, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1562, y: 964, _Z9: 7, __9: 7, _9k: 16, _ak: 0, _bk: 7, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 560, y: 2042, _Z9: 10, __9: 4, _9k: 2, _ak: 6, _bk: 10, _ck: 4, _dk: 13, _ek: 12, _fk: 0 },
{ x: 591, y: 2041, _Z9: 7, __9: 5, _9k: 1, _ak: 1, _bk: 7, _ck: 5, _dk: 16, _ek: 16, _fk: 0 },
{ x: 1950, y: 597, _Z9: 7, __9: 4, _9k: 0, _ak: 0, _bk: 7, _ck: 4, _dk: 7, _ek: 4, _fk: 0 },
{ x: 1717, y: 818, _Z9: 4, __9: 7, _9k: 17, _ak: 0, _bk: 4, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1779, y: 850, _Z9: 4, __9: 7, _9k: 0, _ak: 0, _bk: 4, _ck: 7, _dk: 39, _ek: 7, _fk: 0 },
{ x: 1810, y: 885, _Z9: 5, __9: 5, _9k: 0, _ak: 0, _bk: 5, _ck: 5, _dk: 5, _ek: 5, _fk: 0 },
{ x: 266, y: 2041, _Z9: 5, __9: 5, _9k: 0, _ak: 0, _bk: 5, _ck: 5, _dk: 5, _ek: 5, _fk: 0 },
{ x: 1523, y: 922, _Z9: 5, __9: 5, _9k: 0, _ak: 0, _bk: 5, _ck: 5, _dk: 5, _ek: 5, _fk: 0 },
{ x: 1872, y: 911, _Z9: 5, __9: 5, _9k: 0, _ak: 0, _bk: 5, _ck: 5, _dk: 5, _ek: 5, _fk: 0 },
{ x: 2022, y: 889, _Z9: 5, __9: 5, _9k: 0, _ak: 0, _bk: 5, _ck: 5, _dk: 5, _ek: 5, _fk: 0 },
{ x: 2037, y: 500, _Z9: 5, __9: 5, _9k: 0, _ak: 0, _bk: 5, _ck: 5, _dk: 5, _ek: 5, _fk: 0 },
{ x: 2041, y: 953, _Z9: 5, __9: 5, _9k: 0, _ak: 0, _bk: 5, _ck: 5, _dk: 5, _ek: 5, _fk: 0 },
{ x: 1400, y: 814, _Z9: 8, __9: 3, _9k: 1, _ak: 1, _bk: 8, _ck: 3, _dk: 10, _ek: 5, _fk: 0 },
{ x: 2037, y: 888, _Z9: 5, __9: 4, _9k: 0, _ak: 0, _bk: 5, _ck: 4, _dk: 5, _ek: 4, _fk: 0 },
{ x: 2038, y: 242, _Z9: 5, __9: 4, _9k: 0, _ak: 0, _bk: 5, _ck: 4, _dk: 5, _ek: 4, _fk: 0 },
{ x: 1475, y: 782, _Z9: 6, __9: 3, _9k: 2, _ak: 1, _bk: 6, _ck: 3, _dk: 10, _ek: 5, _fk: 0 },
{ x: 1673, y: 927, _Z9: 6, __9: 3, _9k: 2, _ak: 1, _bk: 6, _ck: 3, _dk: 10, _ek: 5, _fk: 0 },
{ x: 985, y: 2043, _Z9: 6, __9: 3, _9k: 2, _ak: 1, _bk: 6, _ck: 3, _dk: 10, _ek: 5, _fk: 0 },
{ x: 2020, y: 946, _Z9: 6, __9: 3, _9k: 2, _ak: 1, _bk: 6, _ck: 3, _dk: 10, _ek: 5, _fk: 0 },
{ x: 1802, y: 921, _Z9: 4, __9: 4, _9k: 1, _ak: 1, _bk: 4, _ck: 4, _dk: 7, _ek: 7, _fk: 0 },
{ x: 1026, y: 2032, _Z9: 4, __9: 4, _9k: 0, _ak: 0, _bk: 4, _ck: 4, _dk: 4, _ek: 4, _fk: 0 },
{ x: 490, y: 2036, _Z9: 4, __9: 4, _9k: 0, _ak: 0, _bk: 4, _ck: 4, _dk: 4, _ek: 4, _fk: 0 },
{ x: 1680, y: 838, _Z9: 2, __9: 8, _9k: 0, _ak: 0, _bk: 2, _ck: 8, _dk: 2, _ek: 8, _fk: 0 },
{ x: 1306, y: 841, _Z9: 3, __9: 3, _9k: 0, _ak: 0, _bk: 3, _ck: 3, _dk: 3, _ek: 3, _fk: 0 },
{ x: 734, y: 1982, _Z9: 4, __9: 2, _9k: 0, _ak: 0, _bk: 4, _ck: 2, _dk: 4, _ek: 4, _fk: 0 },
{ x: 1711, y: 855, _Z9: 2, __9: 4, _9k: 0, _ak: 0, _bk: 2, _ck: 4, _dk: 4, _ek: 4, _fk: 0 },
{ x: 1773, y: 886, _Z9: 2, __9: 4, _9k: 0, _ak: 4, _bk: 2, _ck: 4, _dk: 2, _ek: 8, _fk: 0 },
{ x: 862, y: 1990, _Z9: 2, __9: 2, _9k: 6, _ak: 8, _bk: 2, _ck: 2, _dk: 13, _ek: 12, _fk: 0 },
{ x: 1462, y: 844, _Z9: 2, __9: 2, _9k: 6, _ak: 8, _bk: 2, _ck: 2, _dk: 13, _ek: 12, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 16, _ek: 16, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 16, _ek: 16, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 16, _ek: 16, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 16, _ek: 16, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 16, _ek: 16, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 16, _ek: 16, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 39, _ek: 7, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 41, _ek: 9, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 41, _ek: 9, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 39, _ek: 7, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 41, _ek: 9, _fk: 0 },
{ x: 802, y: 1977, _Z9: 1, __9: 1, _9k: 0, _ak: 0, _bk: 1, _ck: 1, _dk: 41, _ek: 9, _fk: 0 },
],
_gk: ["RetroBowl_texture_0.png"],
_hk: [{ MipsToGenerate: 0 }],
_ik: [
{
_d2: "Default",
_jk: [0],
_kk: [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
],
_lk: [],
_mk: [0, 1, 2],
_nk: [],
},
],
_ok: {
_pk: !1,
_qk: 2,
_rk: 0,
_sk: 0,
_tk: 60,
_uk: 4294967295,
_vk: 960,
_wk: 540,
_xk: 0,
_yk: "ed95fd8c-09de-40b5-85cc-555cf926959e",
_zk: !1,
_Ak: !1,
_Bk: !0,
scale: 1,
_Ck: !1,
_Dk: !1,
_Ek: !1,
_Fk: !0,
_Gk: !1,
_Hk: !1,
_Ik: !0,
_Jk: !0,
_Kk: 1,
_Lk: 0,
_Mk: !0,
_Nk: "html5game",
_Ok: "default",
_Pk: 0,
_Qk: !1,
_Rk: !1,
_Sk: !1,
_Tk: !0,
_Uk: 0,
_Vk: [16, 171, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
_Wk: 1,
_Xk: 0,
_Yk: 0,
_Zk: 0,
__k: "Made in GameMaker Studio 2",
_0l: !1,
_1l: 1580404148,
_2l: "True",
},
};
function _G2(_3l, _4l, _5l) {
var _6l = _5l;
{
var _7l = _8l(42);
for (var _9l in _7l) {
if (!_7l.hasOwnProperty(_9l)) continue;
var _al = _7l[_9l];
if (_al._bl) continue;
if (!_al._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_al._fl)); _dl++) {
{
var _gl = _hl(_al._fl, _dl);
if (yyfequal(_il(_gl, "tag"), _6l)) {
return _gl;
}
}
}
}
}
}
return -4;
}
function _H2(_3l, _4l, _5l) {
var _6l = _5l;
{
var _jl = _8l(42);
for (var _kl in _jl) {
if (!_jl.hasOwnProperty(_kl)) continue;
var _ll = _jl[_kl];
if (_ll._bl) continue;
if (!_ll._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_ll._fl)); _dl++) {
{
var _gl = _hl(_ll._fl, _dl);
if (yyfequal(_il(_gl, "tag"), _6l)) {
return _ml(_il(_gl, "achieved"));
}
}
}
}
}
}
return 0;
}
function _I2(_3l, _4l) {
{
var _nl = _8l(42);
for (var _ol in _nl) {
if (!_nl.hasOwnProperty(_ol)) continue;
var _pl = _nl[_ol];
if (_pl._bl) continue;
if (!_pl._cl) continue;
{
var _ql = _el(_pl._fl);
var _rl = 0;
var _dl = 0;
for (; yyfless(_dl, _ql); _dl++) {
{
var _gl = _hl(_pl._fl, _dl);
if (yyfgreater(_ml(_il(_gl, "achieved")), 0)) {
_rl++;
}
}
}
}
}
}
return round(yyftime(_sl(yyfdivide(_sl(_rl), _sl(_ql))), 100));
}
function _J2(_3l, _4l, _5l) {
var _gl = _G2(_3l, _4l, _5l);
if (!yyGetBool(_tl(_gl, 1))) {
return;
}
var _rl = _ml(_il(_gl, "achieved"));
if (yyfequal(_rl, 0)) {
{
_W7(_3l, _4l, _il(_gl, "description"));
_A9(_3l, _4l, yyfplus(yyfplus(yyfplus("Achievement: ", _sl(_il(_gl, "description"))), " = "), _sl(_ul(_rl))));
}
}
_vl(_gl, "achieved", yyfplus(_sl(_rl), 1));
}
function _K2(_3l, _4l, _5l) {
_A9(_3l, _4l, "s_sort_retrobowl_list");
var _wl = _5l;
var _xl = _yl();
while (yyfgreater(_el(_wl), 0)) {
{
var _zl = -4;
var _Al = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_wl)); _dl++) {
{
var _Bl = _hl(_wl, _dl);
var _rl = _ml(_il(_Bl, "count"));
if (yyGetBool(!yyGetBool(_zl)) || yyGetBool(yyfgreater(_rl, _Al))) {
{
_zl = _Bl;
_Al = _rl;
}
}
}
}
_Cl(_xl, _zl);
var _dl = _Dl(_wl, _zl);
_El(_wl, _dl);
}
}
_Fl(_wl);
return _xl;
}
function _L2(_3l, _4l) {
{
var _Gl = _8l(42);
for (var _Hl in _Gl) {
if (!_Gl.hasOwnProperty(_Hl)) continue;
var _Il = _Gl[_Hl];
if (_Il._bl) continue;
if (!_Il._cl) continue;
{
if (yyfless(_Il._Jl, yyfplus(_sl(_Il._Kl), 1))) {
{
_T7(_Il, _3l, "", _Q8(_Il, _3l, "msg_NoCreditFacility"), _Q8(_Il, _3l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
if (yyfequal(_Il._Ml, _Il._Nl)) {
{
_T7(_Il, _3l, "", _Q8(_Il, _3l, "msg_FacilityTooSoon"), _Q8(_Il, _3l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
var _Ol = _Q8(_Il, _3l, "msg_facility_Stadium");
_Ol = _Pl(_Ol, "$num", yyfplus(_sl(_Il._Kl), 1));
_T7(_Il, _3l, "", _Ol, _Q8(_Il, _3l, "ui_Cancel"), _Q8(_Il, _3l, "ui_Confirm"), 332, 101, global._Ll, 1);
}
}
}
}
function _M2(_3l, _4l) {
{
var _Ql = _8l(42);
for (var _Rl in _Ql) {
if (!_Ql.hasOwnProperty(_Rl)) continue;
var _Sl = _Ql[_Rl];
if (_Sl._bl) continue;
if (!_Sl._cl) continue;
{
if (yyfless(_Sl._Jl, yyfplus(_sl(_Sl._Tl), 1))) {
{
_T7(_Sl, _3l, "", _Q8(_Sl, _3l, "msg_NoCreditFacility"), _Q8(_Sl, _3l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
if (yyfequal(_Sl._Ul, _Sl._Nl)) {
{
_T7(_Sl, _3l, "", _Q8(_Sl, _3l, "msg_FacilityTooSoon"), _Q8(_Sl, _3l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
var _Ol = _Q8(_Sl, _3l, "msg_facility_Training");
_Ol = _Pl(_Ol, "$num", yyfplus(_sl(_Sl._Tl), 1));
_T7(_Sl, _3l, "", _Ol, _Q8(_Sl, _3l, "ui_Cancel"), _Q8(_Sl, _3l, "ui_Confirm"), 332, 102, global._Ll, 1);
}
}
}
}
function _N2(_3l, _4l) {
{
var _Vl = _8l(42);
for (var _Wl in _Vl) {
if (!_Vl.hasOwnProperty(_Wl)) continue;
var _Xl = _Vl[_Wl];
if (_Xl._bl) continue;
if (!_Xl._cl) continue;
{
if (yyfless(_Xl._Jl, yyfplus(_sl(_Xl._Yl), 1))) {
{
_T7(_Xl, _3l, "", _Q8(_Xl, _3l, "msg_NoCreditFacility"), _Q8(_Xl, _3l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
if (yyfequal(_Xl._Zl, _Xl._Nl)) {
{
_T7(_Xl, _3l, "", _Q8(_Xl, _3l, "msg_FacilityTooSoon"), _Q8(_Xl, _3l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
var _Ol = _Q8(_Xl, _3l, "msg_facility_Rehab");
_Ol = _Pl(_Ol, "$num", yyfplus(_sl(_Xl._Yl), 1));
_T7(_Xl, _3l, "", _Ol, _Q8(_Xl, _3l, "ui_Cancel"), _Q8(_Xl, _3l, "ui_Confirm"), 332, 103, global._Ll, 1);
}
}
}
}
function _O2(_3l, _4l) {
var __l = _0m(_3l, _4l, 42)._1m;
var _2m = -1;
if (yyCompareVal(__l, 3, g_GMLMathEpsilon) == 0) {
_2m = 0;
} else if (yyCompareVal(__l, 5, g_GMLMathEpsilon) == 0) {
_2m = 1;
}
switch (_2m) {
case 0: {
_3m(14);
break;
}
case 1: {
_3m(13);
break;
}
default: {
_3m(4);
break;
}
}
}
function _P2(_3l, _4l, _5l) {
_0m(_3l, _4l, 100152)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100153)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100150)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100151)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100145)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100146)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100147)._4a = 1 ? 1 : 0;
{
var _4m = _8l(70);
for (var _5m in _4m) {
if (!_4m.hasOwnProperty(_5m)) continue;
var _6m = _4m[_5m];
if (_6m._bl) continue;
if (!_6m._cl) continue;
{
_6m._7m = _5l;
var _8m = _6m._7m;
var _9m = -1;
if (yyCompareVal(_8m, 0, g_GMLMathEpsilon) == 0) {
_9m = 0;
} else if (yyCompareVal(_8m, 1, g_GMLMathEpsilon) == 0) {
_9m = 1;
} else if (yyCompareVal(_8m, 2, g_GMLMathEpsilon) == 0) {
_9m = 2;
}
switch (_9m) {
case 0: {
_0m(_3l, _4l, 100156)._am = global._bm;
_0m(_3l, _4l, 100155)._am = global._Ll;
_0m(_3l, _4l, 100157)._am = global._Ll;
_0m(_3l, _4l, 100145)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100146)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100147)._4a = 0 ? 1 : 0;
break;
}
case 1: {
_0m(_3l, _4l, 100156)._am = global._Ll;
_0m(_3l, _4l, 100155)._am = global._bm;
_0m(_3l, _4l, 100157)._am = global._Ll;
_0m(_3l, _4l, 100145)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100146)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100147)._4a = 0 ? 1 : 0;
break;
}
case 2: {
_0m(_3l, _4l, 100156)._am = global._Ll;
_0m(_3l, _4l, 100155)._am = global._Ll;
_0m(_3l, _4l, 100157)._am = global._bm;
_0m(_3l, _4l, 100152)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100153)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100150)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100151)._4a = 0 ? 1 : 0;
break;
}
}
_x5(_6m, _3l, 100152, _6m._7m, 0);
_x5(_6m, _3l, 100153, _6m._7m, 1);
_x5(_6m, _3l, 100150, _6m._7m, 2);
_x5(_6m, _3l, 100151, _6m._7m, 3);
_z5(_6m, _3l);
}
}
}
}
function _Q2(_3l, _4l) {
_P2(_3l, _4l, 1);
}
function _R2(_3l, _4l) {
_P2(_3l, _4l, 0);
}
function _S2(_3l, _4l) {
_P2(_3l, _4l, 2);
}
function _T2(_3l, _4l) {
_0m(_3l, _4l, 100145)._Nl = _cm(yyfminus(_sl(_0m(_3l, _4l, 100145)._Nl), 1), 1, 17);
_z5(_3l, _4l);
}
function _U2(_3l, _4l) {
_0m(_3l, _4l, 100145)._Nl = _cm(yyfplus(_sl(_0m(_3l, _4l, 100145)._Nl), 1), 1, 17);
_z5(_3l, _4l);
}
function _V2(_3l, _4l) {
_3m(12);
}
function _W2(_3l, _4l) {
_0m(_3l, _4l, 42)._dm = 0 ? 1 : 0;
_3m(10);
}
function _X2(_3l, _4l) {
if (!yyGetBool(_g5(_3l, _4l, 0))) {
return;
}
_0m(_3l, _4l, 42)._dm = 0 ? 1 : 0;
_0m(_3l, _4l, 42)._1m = 6;
_U5(_3l, _4l, 1);
}
function _Y2(_3l, _4l) {
{
var _em = _8l(42);
for (var _fm in _em) {
if (!_em.hasOwnProperty(_fm)) continue;
var _gm = _em[_fm];
if (_gm._bl) continue;
if (!_gm._cl) continue;
{
while (yyGetBool(!yyGetBool(_n5(_gm, _3l, _gm._Nl))) && yyGetBool(yyflessequal(_gm._Nl, 28))) {
{
_A9(_gm, _3l, yyfplus("SKIP PLAY-OFFS wk=", _sl(_ul(_gm._Nl))));
if (!yyGetBool(_g5(_gm, _3l, 0))) {
return;
}
_gm._Nl++;
}
}
_gm._Nl--;
var _ql = 0;
if (yyfgreaterequal(_gm._Nl, 28)) {
_ql = 1;
}
while (yyfgreater(_el(_gm._hm), _ql)) {
_El(_gm._hm, 0);
}
_gm._dm = 0 ? 1 : 0;
_gm._1m = 6;
_U5(_gm, _3l, 1);
}
}
}
}
function _Z2(_3l, _4l) {
{
var _im = _8l(42);
for (var _jm in _im) {
if (!_im.hasOwnProperty(_jm)) continue;
var _km = _im[_jm];
if (_km._bl) continue;
if (!_km._cl) continue;
{
_km._lm = _0m(_3l, _4l, 100006)._mm;
_km._nm = _0m(_3l, _4l, 100007)._mm;
}
}
}
_3m(2);
}
function __2(_3l, _4l) {
{
var _om = _8l(64);
for (var _pm in _om) {
if (!_om.hasOwnProperty(_pm)) continue;
var _qm = _om[_pm];
if (_qm._bl) continue;
if (!_qm._cl) continue;
{
_qm._rm = 0;
if (yyGetBool(yyfequal(_0m(_3l, _4l, 42)._sm, 1)) && yyGetBool(yyfequal(_0m(_3l, _4l, 42)._Nl, 1))) {
_Y5(_qm, _3l);
} else {
_Z5(_qm, _3l);
}
}
}
}
}
function _03(_3l, _4l) {
{
var _tm = _8l(64);
for (var _um in _tm) {
if (!_tm.hasOwnProperty(_um)) continue;
var _vm = _tm[_um];
if (_vm._bl) continue;
if (!_vm._cl) continue;
{
_vm._rm = 1;
if (yyGetBool(yyfequal(_0m(_3l, _4l, 42)._sm, 1)) && yyGetBool(yyfequal(_0m(_3l, _4l, 42)._Nl, 1))) {
_Y5(_vm, _3l);
} else {
_Z5(_vm, _3l);
}
}
}
}
}
function _13(_3l, _4l) {
var _wm = _3l._mm;
{
var _xm = _8l(42);
for (var _ym in _xm) {
if (!_xm.hasOwnProperty(_ym)) continue;
var _zm = _xm[_ym];
if (_zm._bl) continue;
if (!_zm._cl) continue;
{
var _Am = 0;
for (; yyfless(_Am, _el(_zm._Bm)); _Am++) {
{
var _Cm = _hl(_zm._Bm, _Am);
if (yyfequal(_il(_Cm, "name_sub13"), _wm)) {
{
_zm._Dm = _Cm;
}
}
}
}
_zm._Em = _il(_zm._Dm, "uid");
if (yyfgreater(17, _zm._Nl)) {
{
_3m(1);
return;
}
} else {
{
_zm._Fm = _il(_zm._Dm, "uid");
_zm._Gm = _il(_zm._Dm, "conference");
_zm._Hm = _il(_zm._Dm, "division");
_Fl(_zm._Im);
_zm._Im = _d5(_zm, _3l);
}
}
}
}
}
_3m(4);
}
function _23(_3l, _4l) {
_A9(_3l, _4l, "btn_click_ChooseTeamNew");
var _wm = _3l._mm;
{
var _Jm = _8l(42);
for (var _Km in _Jm) {
if (!_Jm.hasOwnProperty(_Km)) continue;
var _Lm = _Jm[_Km];
if (_Lm._bl) continue;
if (!_Lm._cl) continue;
{
var _Am = 0;
for (; yyfless(_Am, _el(_Lm._Bm)); _Am++) {
{
var _Cm = _hl(_Lm._Bm, _Am);
if (yyfequal(_il(_Cm, "name_sub13"), _wm)) {
{
_Lm._Mm = _Cm;
var _Ol = _Q8(_Lm, _3l, "msg_ChooseNewTeam");
_Ol = _Pl(_Ol, "$teamname", _il(_Cm, "name"));
_T7(_Lm, _3l, "", _Ol, _Q8(_Lm, _3l, "ui_Cancel"), _Q8(_Lm, _3l, "ui_Confirm"), 332, 112, global._Ll, 1);
}
}
}
}
}
}
}
}
function _33(_3l, _4l) {
_X5(_3l, _4l);
}
function _43(_3l, _4l) {
_U5(_3l, _4l, 1);
}
function _53(_3l, _4l) {
{
var _Nm = _8l(42);
for (var _Om in _Nm) {
if (!_Nm.hasOwnProperty(_Om)) continue;
var _Pm = _Nm[_Om];
if (_Pm._bl) continue;
if (!_Pm._cl) continue;
{
_Pm._lm = _0m(_3l, _4l, 100006)._mm;
_Pm._nm = _0m(_3l, _4l, 100007)._mm;
if (yyfequal(_Pm._lm, "")) {
_Pm._lm = _I9(_Pm, _3l, 1);
}
if (yyfequal(_Pm._nm, "")) {
_Pm._nm = _J9(_Pm, _3l);
}
{
_w5(_Pm, _3l);
}
_Pm._Em = _il(_Pm._Dm, "uid");
var _Qm = _yl();
_Rm(_Qm, _Pm._Bm);
_Qm = _m9(_Pm, _3l, _Qm, 0, 0);
var _dl = 0;
for (; yyfless(_dl, _el(_Qm)); _dl++) {
{
_Pm._Dm = _hl(_Qm, _dl);
_Pm._Fm = _il(_Pm._Dm, "uid");
_Pm._Gm = _il(_Pm._Dm, "conference");
_Pm._Hm = _il(_Pm._Dm, "division");
if (yyGetBool(yyfnotequal(_Pm._Fm, _Pm._Em)) && yyGetBool(!yyGetBool(_Sm(1)))) {
break;
}
}
}
_Fl(_Qm);
_v8(_Pm, _3l, 60, 90);
var _dl = 0;
for (; yyfless(_dl, _el(_Pm._Im)); _dl++) {
_Tm(_hl(_Pm._Im, _dl));
}
_Fl(_Pm._Im);
_Pm._Im = _d5(_Pm, _3l);
var _dl = 0;
for (; yyfless(_dl, _el(_Pm._Um)); _dl++) {
{
_Pm._Bl = _hl(_Pm._Um, _dl);
_vl(_Pm._Bl, "teamid", _Pm._Fm);
_vl(_Pm._Bl, "condition", _Vm(80, 100));
}
}
var _Ol = _Q8(_Pm, _3l, "news_NewCareer");
_Ol = _Wm(_Ol, "$teamname", _l9(_Pm, _3l, _Pm._Fm));
_Ol = _Pl(_Ol, "$coachname", yyfplus(yyfplus(_sl(_Pm._lm), " "), _sl(_Pm._nm)));
_Ol = _Pl(_Ol, "$num", _ul(yyfminus(18, _sl(_Pm._Nl))));
if (yyfgreater(_ul(yyfminus(18, _sl(_Pm._Nl))), 1)) {
_Ol = _Pl(_Ol, "$weeks", _Xm(_Q8(_Pm, _3l, "ui_Weeks")));
} else {
_Ol = _Pl(_Ol, "$weeks", _Xm(_Q8(_Pm, _3l, "ui_Week")));
}
_Ol = _Pl(_Ol, "$lname", _Pm._nm);
_Ol = _Pl(_Ol, "$randomcollegename", _F9(_Pm, _3l));
_Z7(_Pm, _3l, _Ol);
}
}
}
_U5(_3l, _4l, 0);
}
function _63(_3l, _4l) {
_3m(8);
}
function _73(_3l, _4l) {
_0m(_3l, _4l, 42)._Ym = 1 ? 1 : 0;
_3m(7);
}
function _83(_3l, _4l) {
_3m(9);
}
function _93(_3l, _4l) {
_0m(_3l, _4l, 42)._1m = 1;
_3m(4);
}
function _a3(_3l, _4l) {
_3m(10);
}
function _b3(_3l, _4l) {
_3m(5);
}
function _c3(_3l, _4l) {
_3m(18);
}
function _d3(_3l, _4l) {
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_NewGame"), _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 89, global._Ll, 1);
}
function _e3(_3l, _4l) {
{
var _Zm = _8l(42);
for (var __m in _Zm) {
if (!_Zm.hasOwnProperty(__m)) continue;
var _0n = _Zm[__m];
if (_0n._bl) continue;
if (!_0n._cl) continue;
{
_vl(_0n._1n, "op_drivedir", -1);
__5(_0n, _3l);
}
}
}
}
function _f3(_3l, _4l) {
{
var _2n = _8l(42);
for (var _3n in _2n) {
if (!_2n.hasOwnProperty(_3n)) continue;
var _4n = _2n[_3n];
if (_4n._bl) continue;
if (!_4n._cl) continue;
{
_vl(_4n._1n, "op_drivedir", 1);
__5(_4n, _3l);
}
}
}
}
function _g3(_3l, _4l) {
{
var _5n = _8l(42);
for (var _6n in _5n) {
if (!_5n.hasOwnProperty(_6n)) continue;
var _7n = _5n[_6n];
if (_7n._bl) continue;
if (!_7n._cl) continue;
{
_vl(_7n._1n, "op_drivedir", 0);
__5(_7n, _3l);
}
}
}
}
function _h3(_3l, _4l) {
{
var _8n = _8l(42);
for (var _9n in _8n) {
if (!_8n.hasOwnProperty(_9n)) continue;
var _an = _8n[_9n];
if (_an._bl) continue;
if (!_an._cl) continue;
{
_vl(_an._1n, "op_scanlines", !yyGetBool(_il(_an._1n, "op_scanlines")));
_0m(_3l, _4l, 45)._bn = _il(_an._1n, "op_scanlines");
__5(_an, _3l);
}
}
}
}
function _i3(_3l, _4l) {
{
var _cn = _8l(42);
for (var _dn in _cn) {
if (!_cn.hasOwnProperty(_dn)) continue;
var _en = _cn[_dn];
if (_en._bl) continue;
if (!_en._cl) continue;
{
_vl(_en._1n, "op_tips", !yyGetBool(_il(_en._1n, "op_tips")));
__5(_en, _3l);
}
}
}
}
function _j3(_3l, _4l) {
{
var _fn = _8l(42);
for (var _gn in _fn) {
if (!_fn.hasOwnProperty(_gn)) continue;
var _hn = _fn[_gn];
if (_hn._bl) continue;
if (!_hn._cl) continue;
{
_vl(_hn._1n, "op_soundfx", !yyGetBool(_il(_hn._1n, "op_soundfx")));
__5(_hn, _3l);
}
}
}
}
function _k3(_3l, _4l) {
{
var _in = _8l(42);
for (var _jn in _in) {
if (!_in.hasOwnProperty(_jn)) continue;
var _kn = _in[_jn];
if (_kn._bl) continue;
if (!_kn._cl) continue;
{
_vl(_kn._1n, "op_weather", !yyGetBool(_il(_kn._1n, "op_weather")));
__5(_kn, _3l);
}
}
}
}
function _l3(_3l, _4l) {
{
var _ln = _8l(42);
for (var _mn in _ln) {
if (!_ln.hasOwnProperty(_mn)) continue;
var _nn = _ln[_mn];
if (_nn._bl) continue;
if (!_nn._cl) continue;
{
_vl(_nn._1n, "op_zoom", !yyGetBool(_il(_nn._1n, "op_zoom")));
__5(_nn, _3l);
}
}
}
}
function _m3(_3l, _4l) {
{
var _on = _8l(42);
for (var _pn in _on) {
if (!_on.hasOwnProperty(_pn)) continue;
var _qn = _on[_pn];
if (_qn._bl) continue;
if (!_qn._cl) continue;
{
_vl(_qn._1n, "op_music", yyfplus(_sl(_il(_qn._1n, "op_music")), 1));
if (yyfgreater(_il(_qn._1n, "op_music"), 2)) {
_vl(_qn._1n, "op_music", 0);
}
__5(_qn, _3l);
}
}
}
}
function _n3(_3l, _4l) {
if (yyfequal(_rn._sn(), 15)) {
return;
}
_0m(_3l, _4l, 42)._tn = _3l._Bl;
_3m(15);
}
function _o3(_3l, _4l) {
_3m(15);
}
function _p3(_3l, _4l) {
{
var _un = _8l(42);
for (var _vn in _un) {
if (!_un.hasOwnProperty(_vn)) continue;
var _wn = _un[_vn];
if (_wn._bl) continue;
if (!_wn._cl) continue;
{
var _xn = -4;
var _yn = _Dl(_wn._Um, _wn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _wn._Um;
}
} else {
{
_yn = _Dl(_wn._zn, _wn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _wn._zn;
}
} else {
{
_yn = _Dl(_wn._An, _wn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _wn._An;
}
} else {
{
_yn = _Dl(_wn._Bn, _wn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _wn._Bn;
}
} else {
{
_yn = _Dl(_wn._Cn, _wn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _wn._Cn;
}
}
}
}
}
}
}
}
}
}
if (yyGetBool(_xn)) {
{
_yn--;
if (yyfless(_yn, 0)) {
_yn = yyfminus(_sl(_el(_xn)), 1);
}
_wn._tn = _hl(_xn, _yn);
}
}
}
}
}
_3m(15);
}
function _q3(_3l, _4l) {
{
var _Dn = _8l(42);
for (var _En in _Dn) {
if (!_Dn.hasOwnProperty(_En)) continue;
var _Fn = _Dn[_En];
if (_Fn._bl) continue;
if (!_Fn._cl) continue;
{
var _xn = -4;
var _yn = _Dl(_Fn._Um, _Fn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _Fn._Um;
}
} else {
{
_yn = _Dl(_Fn._zn, _Fn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _Fn._zn;
}
} else {
{
_yn = _Dl(_Fn._An, _Fn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _Fn._An;
}
} else {
{
_yn = _Dl(_Fn._Bn, _Fn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _Fn._Bn;
}
} else {
{
_yn = _Dl(_Fn._Cn, _Fn._tn);
if (yyfgreaterequal(_yn, 0)) {
{
_xn = _Fn._Cn;
}
}
}
}
}
}
}
}
}
}
if (yyGetBool(_xn)) {
{
_yn++;
if (yyfgreaterequal(_yn, _el(_xn))) {
_yn = 0;
}
_Fn._tn = _hl(_xn, _yn);
}
}
}
}
}
_3m(15);
}
function _r3(_3l, _4l) {
{
var _Gn = _8l(42);
for (var _Hn in _Gn) {
if (!_Gn.hasOwnProperty(_Hn)) continue;
var _In = _Gn[_Hn];
if (_In._bl) continue;
if (!_In._cl) continue;
{
if (yyfgreaterequal(_Dl(_In._Cn, _In._tn), 0)) {
_3m(7);
} else {
if (yyfgreaterequal(_Dl(_In._Um, _In._tn), 0)) {
_3m(17);
} else {
if (yyfgreaterequal(_Dl(_In._zn, _In._tn), 0)) {
_3m(3);
} else {
if (yyfgreaterequal(_Dl(_In._An, _In._tn), 0)) {
_3m(6);
} else {
if (yyfgreaterequal(_Dl(_In._Bn, _In._tn), 0)) {
_3m(6);
} else {
_3m(4);
}
}
}
}
}
}
}
}
}
function _s3(_3l, _4l) {
var _xn = _0m(_3l, _4l, 42)._Um;
if (yyfgreaterequal(_Dl(_0m(_3l, _4l, 42)._Cn, _0m(_3l, _4l, 42)._tn), 0)) {
{
_xn = _0m(_3l, _4l, 42)._Cn;
}
} else {
if (yyfgreaterequal(_Dl(_0m(_3l, _4l, 42)._zn, _0m(_3l, _4l, 42)._tn), 0)) {
{
_xn = _0m(_3l, _4l, 42)._zn;
}
} else {
if (yyfgreaterequal(_Dl(_0m(_3l, _4l, 42)._An, _0m(_3l, _4l, 42)._tn), 0)) {
{
_xn = _0m(_3l, _4l, 42)._An;
}
} else {
if (yyfgreaterequal(_Dl(_0m(_3l, _4l, 42)._Bn, _0m(_3l, _4l, 42)._tn), 0)) {
{
_xn = _0m(_3l, _4l, 42)._Bn;
}
}
}
}
}
var _Jn = yyfplus(yyfplus(_sl(_il(_0m(_3l, _4l, 42)._tn, "fname")), " "), _sl(_il(_0m(_3l, _4l, 42)._tn, "lname")));
if (yyfgreaterequal(_el(_0m(_3l, _4l, 42)._Um), 10)) {
{
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_RosterLimit"), _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
} else {
if (yyfgreater(yyfplus(_sl(_il(_0m(_3l, _4l, 42)._tn, "salary")), _sl(_t9(_3l, _4l))), _0m(_3l, _4l, 42)._Kn)) {
{
var _Ol = _Q8(_3l, _4l, "ui_ExceedSalaryCap");
_Ol = _Pl(_Ol, "$playername", _Jn);
_Ol = _Pl(_Ol, "$num", _ul(yyfminus(_sl(_0m(_3l, _4l, 42)._Kn), _sl(_t9(_3l, _4l)))));
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Roster"), 332, 68, global._Ll, 1);
return;
}
} else {
if (yyGetBool(yyfequal(_xn, _0m(_3l, _4l, 42)._An)) && yyGetBool(yyfequal(_il(_0m(_3l, _4l, 42)._tn, "teamid"), _0m(_3l, _4l, 42)._Fm)) && yyGetBool(yyflessequal(_il(_0m(_3l, _4l, 42)._tn, "attitude"), 15))) {
{
var _Ol = _Q8(_3l, _4l, "msg_CannotSignToxic");
_Ol = _Pl(_Ol, "$playername", _Jn);
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
} else {
{
var _yn = _il(_0m(_3l, _4l, 42)._tn, "position");
var _rl = _j8(_3l, _4l, _yn);
var _Ln = 1;
var _Mn = _yn;
var _Nn = -1;
if (yyCompareVal(_Mn, 5, g_GMLMathEpsilon) == 0) {
_Nn = 0;
} else if (yyCompareVal(_Mn, 3, g_GMLMathEpsilon) == 0) {
_Nn = 1;
} else if (yyCompareVal(_Mn, 4, g_GMLMathEpsilon) == 0) {
_Nn = 2;
} else if (yyCompareVal(_Mn, 6, g_GMLMathEpsilon) == 0) {
_Nn = 3;
} else if (yyCompareVal(_Mn, 7, g_GMLMathEpsilon) == 0) {
_Nn = 4;
} else if (yyCompareVal(_Mn, 9, g_GMLMathEpsilon) == 0 || yyCompareVal(_Mn, 8, g_GMLMathEpsilon) == 0) {
_Nn = 5;
}
switch (_Nn) {
case 0: {
_Ln = 5;
break;
}
case 1: {
_Ln = 2;
break;
}
case 2: {
_Ln = 2;
break;
}
case 3: {
_Ln = 4;
break;
}
case 4: {
_Ln = 3;
break;
}
case 5: {
_Ln = 4;
break;
}
default: {
_Ln = 1;
break;
}
}
if (yyfgreaterequal(_rl, _Ln)) {
{
var _Ol = _Q8(_3l, _4l, "msg_CannotSign1");
if (yyfgreater(_Ln, 1)) {
_Ol = _Q8(_3l, _4l, "msg_CannotSign2");
}
_Ol = _Pl(_Ol, "$num", _rl);
_Ol = _Pl(_Ol, "$position", _a9(_3l, _4l, _yn));
_Ol = _Pl(_Ol, "$position", _a9(_3l, _4l, _yn));
_Ol = _Pl(_Ol, "$playername", _Jn);
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Roster"), 332, 68, global._Ll, 1);
return;
}
}
}
}
}
}
if (yyfequal(_xn, _0m(_3l, _4l, 42)._Bn)) {
{
var _On = _il(_0m(_3l, _4l, 42)._tn, "teamid");
var _Pn = _hl(_0m(_3l, _4l, 42)._Bm, _On);
var _Qn = _il(_Pn, "name");
var _Rn = _U4(_3l, _4l, _0m(_3l, _4l, 42)._tn);
if (yyfgreater(_il(_0m(_3l, _4l, 42)._tn, "intrade_pick"), 0)) {
_Rn = _il(_0m(_3l, _4l, 42)._tn, "intrade_pick");
}
if (yyfless(_0m(_3l, _4l, 42)._Sn[_Tn(yyfminus(_sl(_Rn), 1), _0m(_3l, _4l, 42)._Sn)], 1)) {
{
var _Ol = _Q8(_3l, _4l, "ui_NoMorePicksToTrade");
_Ol = _Pl(_Ol, "$num", _ul(_Rn));
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
_vl(_0m(_3l, _4l, 42)._tn, "intrade_pick", _Rn);
var _Ol = _Q8(_3l, _4l, "msg_TradeOfferSign");
_Ol = _Pl(_Ol, "$teamname", _Qn);
_Ol = _Pl(_Ol, "$position", _a9(_3l, _4l, _il(_0m(_3l, _4l, 42)._tn, "position")));
_Ol = _Pl(_Ol, "$playername", _Jn);
_Ol = _Pl(_Ol, "$num", _ul(_Rn));
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_TradePlayer"), _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Confirm"), 332, 98, global._Ll, 1);
}
} else {
if (yyfequal(_xn, _0m(_3l, _4l, 42)._Cn)) {
{
var _Un = _il(_0m(_3l, _4l, 42)._tn, "creditcost");
if (yyfless(_0m(_3l, _4l, 42)._Jl, _Un)) {
{
var _Ol = _Q8(_3l, _4l, "msg_SignPlayerStoreNoCredit");
_Ol = _Pl(_Ol, "$num", _ul(_Un));
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_SignPlayer"), _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 113, "", global._Ll, 1);
return;
}
}
var _Ol = _Q8(_3l, _4l, "msg_SignPlayerStore");
_Ol = _Pl(_Ol, "$num", _ul(_Un));
_Ol = _Pl(_Ol, "$position", _a9(_3l, _4l, _il(_0m(_3l, _4l, 42)._tn, "position")));
_Ol = _Pl(_Ol, "$playername", _Jn);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_SignPlayer"), _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 97, global._Ll, 1);
}
} else {
{
var _Ol = _Q8(_3l, _4l, "msg_SignPlayer");
if (yyfequal(_il(_0m(_3l, _4l, 42)._tn, "age"), 21)) {
_Ol = _Q8(_3l, _4l, "msg_SignRookie");
}
_Ol = _Pl(_Ol, "$position", _a9(_3l, _4l, _il(_0m(_3l, _4l, 42)._tn, "position")));
_Ol = _Pl(_Ol, "$playername", _Jn);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_SignPlayer"), _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 97, global._Ll, 1);
}
}
}
}
function _t3(_3l, _4l) {
var _Vn = yyfplus(yyfplus(_sl(_il(_0m(_3l, _4l, 42)._tn, "fname")), " "), _sl(_il(_0m(_3l, _4l, 42)._tn, "lname")));
var _Ol = _Pl(_Q8(_3l, _4l, "msg_CutPlayer"), "$playername", _Vn);
_Ol = _Pl(_Ol, "$position", _a9(_3l, _4l, _il(_0m(_3l, _4l, 42)._tn, "position")));
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_CutPlayer"), _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 95, global._Ll, 1);
}
function _u3(_3l, _4l) {
var _Vn = yyfplus(yyfplus(_sl(_il(_0m(_3l, _4l, 42)._tn, "fname")), " "), _sl(_il(_0m(_3l, _4l, 42)._tn, "lname")));
var _Ol = _Q8(_3l, _4l, "msg_Meeting");
var _Wn = _r8(_3l, _4l, _0m(_3l, _4l, 42)._tn);
if (yyfgreaterequal(_il(_0m(_3l, _4l, 42)._tn, "attitude"), 90)) {
{
_Ol = _Q8(_3l, _4l, "msg_MeetingNotNeeded");
_Ol = _Pl(_Ol, "$playername", _Vn);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_Meeting"), _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
} else {
if (yyGetBool(_Xn(_0m(_3l, _4l, 42)._tn, "meetingdone")) && yyGetBool(yyfgreater(_il(_0m(_3l, _4l, 42)._tn, "meetingdone"), 0))) {
{
_Ol = _Q8(_3l, _4l, "msg_MeetingDone");
_Ol = _Pl(_Ol, "$playername", _Vn);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_Meeting"), _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
} else {
if (yyfgreater(_Wn, _0m(_3l, _4l, 42)._Jl)) {
{
_Ol = _Q8(_3l, _4l, "msg_NoCreditMeeting");
_Ol = _Pl(_Ol, "$playername", _Vn);
_Ol = _Pl(_Ol, "$num", _ul(_Wn));
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_Meeting"), _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
} else {
{
_Ol = _Pl(_Ol, "$playername", _Vn);
_Ol = _Pl(_Ol, "$num", _ul(_Wn));
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_Meeting"), _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 100, global._Ll, 1);
}
}
}
}
}
function _v3(_3l, _4l) {
var _Bl = _0m(_3l, _4l, 42)._tn;
var _Jn = yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname")));
var _Yn = yyfgreater(_il(_Bl, "outtrade_pick"), 0) ? 1 : 0;
if (yyGetBool(!yyGetBool(_Yn)) && yyGetBool(yyfgreater(_0m(_3l, _4l, 42)._Nl, 8))) {
{
var _Ol = _Q8(_3l, _4l, "msg_CannotTradeWeek");
_Ol = _Pl(_Ol, "$playername", _Jn);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_TradePlayer"), _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Cut"), 332, 95, global._Ll, 1);
}
} else {
if (yyGetBool(!yyGetBool(_Yn)) && yyGetBool(yyfequal(_il(_Bl, "signed_year"), _0m(_3l, _4l, 42)._sm)) && yyGetBool(yyGetBool(yyfgreater(_0m(_3l, _4l, 42)._Zn, 3)) || yyGetBool(yyfequal(_il(_Bl, "age"), 21)))) {
{
var _Ol = _Q8(_3l, _4l, "msg_CannotTradeRookie");
_Ol = _Pl(_Ol, "$playername", _Jn);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_TradePlayer"), _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Cut"), 332, 95, global._Ll, 1);
}
} else {
if (yyGetBool(!yyGetBool(_Yn)) && yyGetBool(yyflessequal(_il(_Bl, "condition"), -1))) {
{
var _Ol = _Q8(_3l, _4l, "msg_CannotTradeInjured");
_Ol = _Pl(_Ol, "$playername", _Jn);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_TradePlayer"), _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Cut"), 332, 95, global._Ll, 1);
}
} else {
if (yyGetBool(!yyGetBool(_Yn)) && yyGetBool(yyflessequal(_il(_Bl, "attitude"), 15))) {
{
var _Ol = _Q8(_3l, _4l, "msg_CannotTradeToxic");
_Ol = _Pl(_Ol, "$playername", _Jn);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_TradePlayer"), _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Cut"), 332, 95, global._Ll, 1);
}
} else {
{
var _Pn = _W4(_3l, _4l, _Bl);
var _Qn = _il(_Pn, "name");
var _Jn = yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname")));
if (yyfequal(_il(_Bl, "outtrade_pick"), 0)) {
_vl(_Bl, "outtrade_pick", _U4(_3l, _4l, _Bl));
}
var _Ol = _Q8(_3l, _4l, "msg_TradePlayerThis");
if (yyfless(_il(_Bl, "outtrade_pick"), _0m(_3l, _4l, 42)._Zn)) {
_Ol = _Q8(_3l, _4l, "msg_TradePlayerNext");
}
_Ol = _Pl(_Ol, "$position", _a9(_3l, _4l, _il(_Bl, "position")));
_Ol = _Pl(_Ol, "$teamname", _Qn);
_Ol = _Pl(_Ol, "$playername", _Jn);
_Ol = _Pl(_Ol, "$num", _ul(_il(_Bl, "outtrade_pick")));
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_TradePlayer"), _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Trade"), 332, 99, global._Ll, 1);
}
}
}
}
}
}
function _w3(_3l, _4l) {
{
var __n = _8l(42);
for (var _0o in __n) {
if (!__n.hasOwnProperty(_0o)) continue;
var _1o = __n[_0o];
if (_1o._bl) continue;
if (!_1o._cl) continue;
{
if (yyfequal(_il(_1o._tn, "position"), 1)) {
_1o._2o = 1;
}
if (yyfequal(_il(_1o._tn, "position"), 2)) {
_1o._2o = 2;
}
}
}
}
_3m(19);
}
function _x3(_3l, _4l) {
_A9(_3l, _4l, "btn_profile_rest");
{
var _3o = _8l(42);
for (var _4o in _3o) {
if (!_3o.hasOwnProperty(_4o)) continue;
var _5o = _3o[_4o];
if (_5o._bl) continue;
if (!_5o._cl) continue;
{
var _6o = _il(_5o._tn, "resting");
var _7o = -1;
if (yyCompareVal(_6o, 0, g_GMLMathEpsilon) == 0) {
_7o = 0;
} else if (yyCompareVal(_6o, 1, g_GMLMathEpsilon) == 0) {
_7o = 1;
}
switch (_7o) {
case 0: {
var _Ol = _T8(_5o, _3l, _Q8(_5o, _3l, "msg_Rest"), _5o._tn);
_T7(_5o, _3l, _Q8(_5o, _3l, "ui_RestPlayer"), _Ol, _Q8(_5o, _3l, "ui_No"), _Q8(_5o, _3l, "ui_Yes"), 332, 108, global._Ll, 1);
break;
}
case 1: {
if (yyfless(_il(_5o._tn, "condition"), 40)) {
_vl(_5o._tn, "attitude", _cm(yyfminus(_sl(_il(_5o._tn, "attitude")), 15), 1, 100));
}
_vl(_5o._tn, "resting", 0);
_3m(15);
break;
}
}
}
}
}
}
function _y3(_3l, _4l) {
{
var _8o = _8l(42);
for (var _9o in _8o) {
if (!_8o.hasOwnProperty(_9o)) continue;
var _ao = _8o[_9o];
if (_ao._bl) continue;
if (!_ao._cl) continue;
{
_ao._1m = 1;
var _yn = _Dl(_ao._An, _ao._tn);
if (yyfgreater(_yn, -1)) {
{
_Tm(_hl(_ao._An, _yn));
_El(_ao._An, _yn);
if (yyfgreater(_el(_ao._An), 0)) {
{
_3m(6);
return;
}
}
}
}
_yn = _Dl(_ao._Bn, _ao._tn);
if (yyfgreater(_yn, -1)) {
{
_Tm(_hl(_ao._Bn, _yn));
_El(_ao._Bn, _yn);
if (yyfgreater(_el(_ao._Bn), 0)) {
{
_3m(6);
return;
}
}
}
}
}
}
}
_3m(4);
}
function _z3(_3l, _4l) {
_l8(_3l, _4l, _0m(_3l, _4l, 42)._tn, 1);
{
var _bo = _8l(76);
for (var _co in _bo) {
if (!_bo.hasOwnProperty(_co)) continue;
var _do = _bo[_co];
if (_do._bl) continue;
if (!_do._cl) continue;
{
_0m(_3l, _4l, 100233)._eo = yyftime(_sl(_il(_do._Bl, "skill")), 10);
_0m(_3l, _4l, 100233)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100234)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100235)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100239)._fo = 0 ? 1 : 0;
_go(_do._ho, 0);
_go(_do._io, 0);
_go(_do._jo, 0);
_go(_do._ko, 0);
_go(_do._lo, 1);
}
}
}
}
function _A3(_3l, _4l) {
_l8(_3l, _4l, _0m(_3l, _4l, 42)._tn, 2);
{
var _mo = _8l(76);
for (var _no in _mo) {
if (!_mo.hasOwnProperty(_no)) continue;
var _oo = _mo[_no];
if (_oo._bl) continue;
if (!_oo._cl) continue;
{
_0m(_3l, _4l, 100234)._eo = yyftime(_sl(_il(_oo._Bl, "speed")), 10);
_0m(_3l, _4l, 100233)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100234)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100235)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100239)._fo = 0 ? 1 : 0;
_go(_oo._ho, 0);
_go(_oo._io, 0);
_go(_oo._jo, 0);
_go(_oo._ko, 0);
_go(_oo._lo, 1);
}
}
}
}
function _B3(_3l, _4l) {
_l8(_3l, _4l, _0m(_3l, _4l, 42)._tn, 3);
{
var _po = _8l(76);
for (var _qo in _po) {
if (!_po.hasOwnProperty(_qo)) continue;
var _ro = _po[_qo];
if (_ro._bl) continue;
if (!_ro._cl) continue;
{
_0m(_3l, _4l, 100235)._eo = yyftime(_sl(_il(_0m(_3l, _4l, 42)._tn, "strength")), 10);
_0m(_3l, _4l, 100233)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100234)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100235)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100239)._fo = 0 ? 1 : 0;
_go(_ro._ho, 0);
_go(_ro._io, 0);
_go(_ro._jo, 0);
_go(_ro._ko, 0);
_go(_ro._lo, 1);
}
}
}
}
function _C3(_3l, _4l) {
_l8(_3l, _4l, _0m(_3l, _4l, 42)._tn, 4);
{
var _so = _8l(76);
for (var _to in _so) {
if (!_so.hasOwnProperty(_to)) continue;
var _uo = _so[_to];
if (_uo._bl) continue;
if (!_uo._cl) continue;
{
_0m(_3l, _4l, 100239)._eo = yyftime(_sl(_il(_uo._Bl, "stamina")), 10);
_0m(_3l, _4l, 100233)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100234)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100235)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, 100239)._fo = 0 ? 1 : 0;
_go(_uo._ho, 0);
_go(_uo._io, 0);
_go(_uo._jo, 0);
_go(_uo._ko, 0);
_go(_uo._lo, 1);
}
}
}
}
function _D3(_3l, _4l) {
{
var _vo = _8l(42);
for (var _wo in _vo) {
if (!_vo.hasOwnProperty(_wo)) continue;
var _xo = _vo[_wo];
if (_xo._bl) continue;
if (!_xo._cl) continue;
{
_xo._yn = yyfplus(_sl(_Dl(_xo._Um, _xo._tn)), 1);
if (yyfgreaterequal(_xo._yn, _el(_xo._Um))) {
_xo._yn = 0;
}
_xo._tn = _hl(_xo._Um, _xo._yn);
if (yyfequal(_il(_xo._tn, "position"), 1)) {
_xo._2o = 1;
}
if (yyfequal(_il(_xo._tn, "position"), 2)) {
_xo._2o = 2;
}
}
}
}
_3m(19);
}
function _E3(_3l, _4l) {
{
var _yo = _8l(42);
for (var _zo in _yo) {
if (!_yo.hasOwnProperty(_zo)) continue;
var _Ao = _yo[_zo];
if (_Ao._bl) continue;
if (!_Ao._cl) continue;
{
_Ao._yn = yyfminus(_sl(_Dl(_Ao._Um, _Ao._tn)), 1);
if (yyfless(_Ao._yn, 0)) {
_Ao._yn = yyfminus(_sl(_el(_Ao._Um)), 1);
}
_Ao._tn = _hl(_Ao._Um, _Ao._yn);
if (yyfequal(_il(_Ao._tn, "position"), 1)) {
_Ao._2o = 1;
}
if (yyfequal(_il(_Ao._tn, "position"), 2)) {
_Ao._2o = 2;
}
}
}
}
_3m(19);
}
function _F3(_3l, _4l) {
_0m(_3l, _4l, 42)._2o = 1;
_3m(19);
}
function _G3(_3l, _4l) {
_0m(_3l, _4l, 42)._2o = 2;
_3m(19);
}
function _H3(_3l, _4l) {
_0m(_3l, _4l, 42)._Bo = 1;
_k9(_3l, _4l);
_3m(11);
}
function _I3(_3l, _4l) {
_0m(_3l, _4l, 42)._Bo = 2;
_k9(_3l, _4l);
_3m(11);
}
function _J3(_3l, _4l) {
_0m(_3l, _4l, 42)._Bo = 3;
_k9(_3l, _4l);
_3m(11);
}
function _K3(_3l, _4l) {
_3m(20);
}
function _L3(_3l, _4l) {
if (yyGetBool(yyfequal(_rn._sn(), 4)) && yyGetBool(_el(_0m(_3l, _4l, 42)._An))) {
{
_3l._1m = 1;
_3m(6);
return;
}
}
_3m(17);
}
function _M3(_3l, _4l) {
{
var _Co = _8l(42);
for (var _Do in _Co) {
if (!_Co.hasOwnProperty(_Do)) continue;
var _Eo = _Co[_Do];
if (_Eo._bl) continue;
if (!_Eo._cl) continue;
{
if (yyGetBool(_Eo._Ym)) {
_3m(7);
} else {
if (yyfgreater(_el(_Eo._zn), 0)) {
_3m(3);
} else {
if (yyfgreater(_el(_Eo._An), 0)) {
_3m(6);
} else {
if (yyfgreater(_el(_Eo._Bn), 0)) {
_3m(6);
} else {
_3m(4);
}
}
}
}
}
}
}
}
function _N3(_3l, _4l) {
{
var _Fo = _8l(80);
for (var _Go in _Fo) {
if (!_Fo.hasOwnProperty(_Go)) continue;
var _Ho = _Fo[_Go];
if (_Ho._bl) continue;
if (!_Ho._cl) continue;
{
_0m(_3l, _4l, 42)._Io--;
if (yyfless(_0m(_3l, _4l, 42)._Io, 1)) {
_0m(_3l, _4l, 42)._Io = _Ho._Jo;
}
_Q4(_Ho, _3l);
}
}
}
}
function _O3(_3l, _4l) {
{
var _Ko = _8l(80);
for (var _Lo in _Ko) {
if (!_Ko.hasOwnProperty(_Lo)) continue;
var _Mo = _Ko[_Lo];
if (_Mo._bl) continue;
if (!_Mo._cl) continue;
{
_0m(_3l, _4l, 42)._Io++;
if (yyfgreater(_0m(_3l, _4l, 42)._Io, _Mo._Jo)) {
_0m(_3l, _4l, 42)._Io = 1;
}
_Q4(_Mo, _3l);
}
}
}
}
function _P3(_3l, _4l) {
_A9(_3l, _4l, "btn_click_DraftRound");
var _No = _0m(_3l, _4l, 42)._Sn[_Tn(yyfminus(_sl(_0m(_3l, _4l, 42)._Zn), 1), _0m(_3l, _4l, 42)._Sn)];
_A9(_3l, _4l, yyfplus("Picks = ", _sl(_ul(_No))));
if (yyfgreater(_No, 0)) {
{
var _Oo = yyftime(_sl(_No), _sl(yyfminus(4, _sl(_0m(_3l, _4l, 42)._Zn))));
var _Ol = _Q8(_3l, _4l, "msg_SkipDraft");
if (yyfequal(_No, 1)) {
_Ol = _Q8(_3l, _4l, "msg_SkipDraft1");
}
_Ol = _Pl(_Ol, "$num", _ul(_No));
_Ol = _Pl(_Ol, "$value", _ul(_Oo));
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 96, global._Ll, 1);
}
} else {
{
_Z4(_3l, _4l, 0);
}
}
}
function _Q3(_3l, _4l) {
_3m(6);
}
function _R3(_3l, _4l) {
_A9(_3l, _4l, "btn_click_FreeAgentBack");
{
var _Po = _8l(42);
for (var _Qo in _Po) {
if (!_Po.hasOwnProperty(_Qo)) continue;
var _Ro = _Po[_Qo];
if (_Ro._bl) continue;
if (!_Ro._cl) continue;
{
_A9(_Ro, _3l, yyfplus("FreeAgents=", _sl(_ul(_el(_Ro._An)))));
_A9(_Ro, _3l, yyfplus("TradeList=", _sl(_ul(_el(_Ro._Bn)))));
if (yyfgreater(_el(_Ro._An), 0)) {
{
var _Ol = _Q8(_Ro, _3l, "msg_ClearFreeAgent");
if (yyfgreater(_el(_Ro._An), 1)) {
_Ol = _Q8(_Ro, _3l, "msg_ClearFreeAgents");
}
_T7(_Ro, _3l, "", _Ol, _Q8(_Ro, _3l, "ui_No"), _Q8(_Ro, _3l, "ui_Yes"), 332, 105, global._Ll, 1);
return;
}
} else {
if (yyfgreater(_el(_Ro._Bn), 0)) {
{
var _Ol = _Q8(_Ro, _3l, "msg_ClearTradeOffer");
_T7(_Ro, _3l, "", _Ol, _Q8(_Ro, _3l, "ui_No"), _Q8(_Ro, _3l, "ui_Yes"), 332, 105, global._Ll, 1);
return;
}
}
}
}
}
}
_3m(4);
}
function _S3(_3l, _4l) {
_3m(22);
}
function _T3(_3l, _4l) {
if (yyfequal(_rn._sn(), 16)) {
return;
}
_0m(_3l, _4l, 42)._tn = _3l._Bl;
_3m(16);
}
function _U3(_3l, _4l) {
{
var _So = _8l(42);
for (var _To in _So) {
if (!_So.hasOwnProperty(_To)) continue;
var _Uo = _So[_To];
if (_Uo._bl) continue;
if (!_Uo._cl) continue;
{
if (yyfgreater(_Dl(_Uo._Vo, _Uo._tn), -1)) {
{
var _yn = yyfplus(_sl(_Dl(_Uo._Vo, _Uo._tn)), 1);
if (yyfgreaterequal(_yn, _el(_Uo._Vo))) {
_yn = 0;
}
_Uo._tn = _hl(_Uo._Vo, _yn);
}
} else {
if (yyfgreater(_Dl(_Uo._Wo, _Uo._tn), -1)) {
{
var _Xo = _O4(_Uo, _3l, _il(_Uo._tn, "position"));
var _yn = yyfplus(_sl(_Dl(_Xo, _Uo._tn)), 1);
if (yyfgreaterequal(_yn, _el(_Xo))) {
_yn = 0;
}
_Uo._tn = _hl(_Xo, _yn);
_Fl(_Xo);
}
}
}
}
}
}
_3m(16);
}
function _V3(_3l, _4l) {
{
var _Yo = _8l(42);
for (var _Zo in _Yo) {
if (!_Yo.hasOwnProperty(_Zo)) continue;
var __o = _Yo[_Zo];
if (__o._bl) continue;
if (!__o._cl) continue;
{
if (yyfgreater(_Dl(__o._Vo, __o._tn), -1)) {
{
var _yn = yyfminus(_sl(_Dl(__o._Vo, __o._tn)), 1);
if (yyfless(_yn, 0)) {
_yn = yyfminus(_sl(_el(__o._Vo)), 1);
}
__o._tn = _hl(__o._Vo, _yn);
}
} else {
if (yyfgreater(_Dl(__o._Wo, __o._tn), -1)) {
{
var _Xo = _O4(__o, _3l, _il(__o._tn, "position"));
var _yn = yyfminus(_sl(_Dl(_Xo, __o._tn)), 1);
if (yyfless(_yn, 0)) {
_yn = yyfminus(_sl(_el(_Xo)), 1);
}
__o._tn = _hl(_Xo, _yn);
_Fl(_Xo);
}
}
}
}
}
}
_3m(16);
}
function _W3(_3l, _4l) {
{
var _0p = _8l(42);
for (var _1p in _0p) {
if (!_0p.hasOwnProperty(_1p)) continue;
var _2p = _0p[_1p];
if (_2p._bl) continue;
if (!_2p._cl) continue;
{
if (yyfgreaterequal(_Dl(_2p._Vo, _2p._tn), 0)) {
_3m(8);
} else {
_Y3(_2p, _3l);
}
}
}
}
}
function _X3(_3l, _4l) {
var _Bl = _0m(_3l, _4l, 42)._tn;
var _Ol = _Q8(_3l, _4l, "msg_HireStaff");
var _3p = 2;
var _Un = _J8(_3l, _4l, _Bl);
if (yyfless(_Dl(_0m(_3l, _4l, 42)._Vo, _Bl), 0)) {
{
if (yyfgreater(_Un, _0m(_3l, _4l, 42)._Jl)) {
{
_Ol = _Q8(_3l, _4l, "msg_HireStaffNoCost");
_Ol = _Pl(_Ol, "$hirename", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_Ol = _Pl(_Ol, "$num", _Un);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_HireStaff"), _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
_Ol = _Pl(_Ol, "$hirename", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_Ol = _Pl(_Ol, "$position", _a9(_3l, _4l, _il(_Bl, "position")));
_Ol = _Pl(_Ol, "$year", _ul(_3p));
_Ol = _Pl(_Ol, "$num", _Un);
_0m(_3l, _4l, 42)._4p = _Bl;
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_HireStaff"), _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 104, global._Ll, 1);
}
} else {
{
_Un = round(yyftime(_sl(_Un), 0.5));
if (yyfless(_Un, 1)) {
_Un = 1;
}
if (yyfgreaterequal(_il(_Bl, "age"), 65)) {
{
_Ol = _Q8(_3l, _4l, "msg_StaffExtendNoAge");
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_HireStaff"), _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
} else {
if (yyfgreater(_Un, _0m(_3l, _4l, 42)._Jl)) {
{
_Ol = _Q8(_3l, _4l, "msg_StaffExtendNoCost");
if (yyfless(_Un, 2)) {
_Ol = _Q8(_3l, _4l, "msg_StaffExtendNoCost1");
}
_Ol = _Pl(_Ol, "$hirename", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_Ol = _Pl(_Ol, "$num", _Un);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_HireStaff"), _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
}
_0m(_3l, _4l, 42)._4p = _Bl;
_Ol = _Q8(_3l, _4l, "msg_StaffExtend");
if (yyfless(_Un, 2)) {
_Ol = _Q8(_3l, _4l, "msg_StaffExtend1");
}
if (yyfless(_il(_Bl, "contract"), 2)) {
_Ol = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "msg_StaffExpiring")), " "), _sl(_Ol));
}
_Ol = _Wm(_Ol, "$hirename", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_Ol = _Wm(_Ol, "$position", _a9(_3l, _4l, _il(_Bl, "position")));
_Ol = _Wm(_Ol, "$num", _Un);
_T7(_3l, _4l, _Q8(_3l, _4l, "ui_HireStaff"), _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 104, global._Ll, 1);
}
}
}
function _Y3(_3l, _4l) {
_3m(21);
}
function _Z3(_3l, _4l) {
_0m(_3l, _4l, 42)._tn = _3l._Bl;
_3m(16);
}
function __3(_3l, _4l) {
_3m(8);
}
function _04(_3l, _4l) {
{
var _5p = _8l(42);
for (var _6p in _5p) {
if (!_5p.hasOwnProperty(_6p)) continue;
var _7p = _5p[_6p];
if (_7p._bl) continue;
if (!_7p._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_7p._Um)); _dl++) {
{
var _Bl = _hl(_7p._Um, _dl);
if (!yyGetBool(_66(_7p, _3l, _Bl))) {
{
_vl(_Bl, "xp", round(yyfplus(_sl(_il(_Bl, "xp")), _sl(_il(_Bl, "xp_gain")))));
_vl(_Bl, "xp_gain", 0);
}
}
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_7p._Vo)); _dl++) {
{
var _Bl = _hl(_7p._Vo, _dl);
if (!yyGetBool(_66(_7p, _3l, _Bl))) {
{
_vl(_Bl, "xp", round(yyfplus(_sl(_il(_Bl, "xp")), _sl(_il(_Bl, "xp_gain")))));
_vl(_Bl, "xp_gain", 0);
}
}
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_7p._Um)); _dl++) {
{
var _Bl = _hl(_7p._Um, _dl);
if (yyGetBool(_66(_7p, _3l, _Bl))) {
{
_7p._tn = _Bl;
_3m(15);
return;
}
}
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_7p._Vo)); _dl++) {
{
var _Bl = _hl(_7p._Vo, _dl);
if (yyGetBool(_66(_7p, _3l, _Bl))) {
{
_7p._tn = _Bl;
_3m(16);
return;
}
}
}
}
}
}
}
if (yyfequal(_0m(_3l, _4l, 42)._1m, 6)) {
_U5(_3l, _4l, 1);
} else {
_3m(8);
}
}
function _14(_3l, _4l) {
_3m(17);
}
function _24(_3l, _4l) {
if (yyfgreater(_16(_3l, _4l), 75)) {
{
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_BoostConditionNotNeeded"), _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
} else {
if (yyfless(_0m(_3l, _4l, 42)._Jl, 5)) {
{
var _Ol = _Q8(_3l, _4l, "msg_BoostConditionTooExpensive");
_Ol = _Pl(_Ol, "$num", _ul(5));
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
} else {
{
var _Ol = _Q8(_3l, _4l, "msg_BoostCondition");
_Ol = _Pl(_Ol, "$num", _ul(5));
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 106, global._Ll, 1);
}
}
}
}
function _34(_3l, _4l) {
if (yyfgreater(_06(_3l, _4l), 85)) {
{
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_BoostMoraleNotNeeded"), _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
} else {
if (yyfless(_0m(_3l, _4l, 42)._Jl, 5)) {
{
var _Ol = _Q8(_3l, _4l, "msg_BoostMoraleTooExpensive");
_Ol = _Pl(_Ol, "$num", _ul(5));
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
} else {
{
var _Ol = _Q8(_3l, _4l, "msg_BoostMorale");
_Ol = _Pl(_Ol, "$num", _ul(5));
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 107, global._Ll, 1);
}
}
}
}
function _44(_3l, _4l) {
_X7(_3l, _4l);
_8p();
}
function _54(_3l, _4l) {
_9p(global._ap);
if (yyfequal(_rn._bp(), -1)) {
_9p(global._cp);
}
_X7(_3l, _4l);
{
var _dp = _8l(42);
for (var _ep in _dp) {
if (!_dp.hasOwnProperty(_ep)) continue;
var _fp = _dp[_ep];
if (_fp._bl) continue;
if (!_fp._cl) continue;
{
_Tm(_fp._1n);
_Tm(_fp._gp);
var _dl = 0;
for (; yyfless(_dl, _el(_fp._Bm)); _dl++) {
_Tm(_hl(_fp._Bm, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._hp)); _dl++) {
_Tm(_hl(_fp._hp, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._fl)); _dl++) {
_Tm(_hl(_fp._fl, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._ip)); _dl++) {
_Tm(_hl(_fp._ip, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._Im)); _dl++) {
_Tm(_hl(_fp._Im, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._jp)); _dl++) {
_Tm(_hl(_fp._jp, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._zn)); _dl++) {
_Tm(_hl(_fp._zn, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._Wo)); _dl++) {
_Tm(_hl(_fp._Wo, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._Cn)); _dl++) {
_Tm(_hl(_fp._Cn, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._Bn)); _dl++) {
_Tm(_hl(_fp._Bn, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._An)); _dl++) {
_Tm(_hl(_fp._An, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._Um)); _dl++) {
_Tm(_hl(_fp._Um, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_fp._Vo)); _dl++) {
_Tm(_hl(_fp._Vo, _dl));
}
_Fl(_fp._hm);
_Fl(_fp._kp);
_Fl(_fp._Bm);
_Fl(_fp._hp);
_Fl(_fp._fl);
_Fl(_fp._ip);
_Fl(_fp._Im);
_Fl(_fp._jp);
_Fl(_fp._zn);
_Fl(_fp._Wo);
_Fl(_fp._Cn);
_Fl(_fp._Bn);
_Fl(_fp._An);
_Fl(_fp._Um);
_Fl(_fp._Vo);
_lp(_fp);
}
}
}
_3m(0);
}
function _64(_3l, _4l) {
_X7(_3l, _4l);
}
function _74(_3l, _4l) {
_K6(_3l, _4l, 5);
_X7(_3l, _4l);
}
function _84(_3l, _4l) {
_B6(_3l, _4l, 0);
_X7(_3l, _4l);
}
function _94(_3l, _4l) {
_B6(_3l, _4l, 1);
_X7(_3l, _4l);
}
function _a4(_3l, _4l) {
_X7(_3l, _4l);
}
function _b4(_3l, _4l) {
_X7(_3l, _4l);
{
var _mp = _8l(42);
for (var _np in _mp) {
if (!_mp.hasOwnProperty(_np)) continue;
var _op = _mp[_np];
if (_op._bl) continue;
if (!_op._cl) continue;
{
var _pp = _il(_op._tn, "attitude");
_El(_op._Um, _Dl(_op._Um, _op._tn));
_Tm(_op._tn);
_J2(_op, _3l, "ACH_CUT");
if (yyfgreater(_pp, 15)) {
{
_U7(_op, _3l, 4, _06(_op, _3l), 17, "");
var _dl = _sl(-_sl(_26(_op, _3l, _pp)));
_u8(_op, _3l, yyftime(_sl(_dl), 2), _dl);
return;
}
}
}
}
}
_3m(17);
}
function _c4(_3l, _4l) {
_X7(_3l, _4l);
var _No = _0m(_3l, _4l, 42)._Sn[_Tn(yyfminus(_sl(_0m(_3l, _4l, 42)._Zn), 1), _0m(_3l, _4l, 42)._Sn)];
if (yyfgreater(_No, 0)) {
{
var _Oo = yyftime(_sl(_No), _sl(yyfminus(4, _sl(_0m(_3l, _4l, 42)._Zn))));
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, _Oo);
}
}
_Z4(_3l, _4l, 0);
}
function _d4(_3l, _4l) {
_X7(_3l, _4l);
{
var _qp = _8l(42);
for (var _rp in _qp) {
if (!_qp.hasOwnProperty(_rp)) continue;
var _sp = _qp[_rp];
if (_sp._bl) continue;
if (!_sp._cl) continue;
{
var _tp = _il(_sp._tn, "teamid");
_A9(_sp, _3l, yyfplus("Pick player yes. TeamId = ", _sl(_ul(_tp))));
_vl(_sp._tn, "signed_year", _0m(_3l, _4l, 42)._sm);
_vl(_sp._tn, "teamid", _0m(_3l, _4l, 42)._Fm);
_vl(_sp._tn, "flash_time", _rn._up());
_Cl(_sp._Um, _sp._tn);
var _yn = _Dl(_sp._An, _sp._tn);
if (yyfgreater(_yn, -1)) {
{
var _Ol = _Q8(_sp, _3l, "news_SignFreeAgent");
if (yyfequal(_tp, _sp._Fm)) {
_Ol = _Q8(_sp, _3l, "news_ResignedPlayer");
}
_Ol = _T8(_sp, _3l, _Ol, _sp._tn);
_Z7(_sp, _3l, _Ol);
_J2(_sp, _3l, "ACH_FREEAGENT");
_El(_sp._An, _yn);
_3m(17);
return;
}
}
_yn = _Dl(_sp._Bn, _sp._tn);
if (yyfgreater(_yn, -1)) {
{
var _Ol = _Q8(_sp, _3l, "news_SignTrade");
_Ol = _T8(_sp, _3l, _Ol, _sp._tn);
_Ol = _Pl(_Ol, "$otherteamname", _l9(_sp, _3l, _tp));
_Z7(_sp, _3l, _Ol);
_J2(_sp, _3l, "ACH_TRADEIN");
_El(_sp._Bn, _yn);
_3m(17);
return;
}
}
_yn = _Dl(_sp._zn, _sp._tn);
if (yyfgreater(_yn, -1)) {
{
_sp._Sn = _vp(_sp._Sn, 2420954013);
_sp._Sn[_wp(yyfminus(_sl(_sp._Zn), 1))]--;
_El(_sp._zn, _yn);
_3m(17);
_J2(_sp, _3l, "ACH_DRAFT");
return;
}
}
_yn = _Dl(_sp._Cn, _sp._tn);
if (yyfgreater(_yn, -1)) {
{
var _Ol = _Q8(_sp, _3l, "news_SignTrade2");
_Ol = _T8(_sp, _3l, _Ol, _sp._tn);
_Z7(_sp, _3l, _Ol);
_sp._Jl = yyfminus(_sp._Jl, _il(_sp._tn, "creditcost"));
_El(_sp._Cn, _yn);
_sp._Ym = 0 ? 1 : 0;
_25(_sp, _3l);
_3m(17);
_J2(_sp, _3l, "ACH_FREEAGENT");
return;
}
}
}
}
}
_3m(17);
}
function _e4(_3l, _4l) {
_X7(_3l, _4l);
{
var _xp = _8l(42);
for (var _yp in _xp) {
if (!_xp.hasOwnProperty(_yp)) continue;
var _zp = _xp[_yp];
if (_zp._bl) continue;
if (!_zp._cl) continue;
{
var _Rn = _il(_zp._tn, "intrade_pick");
var _tp = _il(_zp._tn, "teamid");
_zp._Sn = _vp(_zp._Sn, 3612767882);
_zp._Sn[_wp(yyfminus(_sl(_Rn), 1))]--;
_vl(_zp._tn, "signed_year", _0m(_3l, _4l, 42)._sm);
_vl(_zp._tn, "teamid", _0m(_3l, _4l, 42)._Fm);
_vl(_zp._tn, "intrade_pick", 0);
_vl(_zp._tn, "flash_time", _rn._up());
var _Ol = _Q8(_zp, _3l, "news_SignTrade");
_Ol = _T8(_zp, _3l, _Ol, _zp._tn);
_Ol = _Pl(_Ol, "$otherteamname", _l9(_zp, _3l, _tp));
_Z7(_zp, _3l, _Ol);
_J2(_zp, _3l, "ACH_TRADEIN");
_Cl(_zp._Um, _zp._tn);
_El(_zp._Bn, _Dl(_zp._Bn, _zp._tn));
_25(_zp, _3l);
_3m(17);
}
}
}
}
function _f4(_3l, _4l) {
_X7(_3l, _4l);
{
var _Ap = _8l(42);
for (var _Bp in _Ap) {
if (!_Ap.hasOwnProperty(_Bp)) continue;
var _Cp = _Ap[_Bp];
if (_Cp._bl) continue;
if (!_Cp._cl) continue;
{
_Cp._Sn = _vp(_Cp._Sn, 508132917);
_Cp._Sn[_wp(yyfminus(_sl(_il(_Cp._tn, "outtrade_pick")), 1))]++;
_vl(_Cp._tn, "outtrade_pick", 0);
_vl(_Cp._tn, "teamid", -1);
_El(_Cp._Um, _Dl(_Cp._Um, _Cp._tn));
_Tm(_Cp._tn);
_J2(_Cp, _3l, "ACH_TRADEOUT");
_25(_Cp, _3l);
_3m(17);
}
}
}
}
function _g4(_3l, _4l) {
_X7(_3l, _4l);
var _Wn = _r8(_3l, _4l, _0m(_3l, _4l, 42)._tn);
{
var _Dp = _8l(42);
for (var _Ep in _Dp) {
if (!_Dp.hasOwnProperty(_Ep)) continue;
var _Fp = _Dp[_Ep];
if (_Fp._bl) continue;
if (!_Fp._cl) continue;
{
var _pp = _il(_0m(_3l, _4l, 42)._tn, "attitude");
var _Gp = _pp;
_Fp._Jl = yyfminus(_Fp._Jl, _Wn);
if (yyfless(_Fp._Jl, 0)) {
_Fp._Jl = 0;
}
_pp = _cm(yyfplus(_sl(_pp), 15), 1, 100);
_vl(_0m(_3l, _4l, 42)._tn, "attitude", _pp);
_vl(_0m(_3l, _4l, 42)._tn, "meetingdone", 1);
_U7(_Fp, _3l, 5, _Gp, 15, "");
}
}
}
}
function _h4(_3l, _4l) {
{
var _Hp = _8l(42);
for (var _Ip in _Hp) {
if (!_Hp.hasOwnProperty(_Ip)) continue;
var _Jp = _Hp[_Ip];
if (_Jp._bl) continue;
if (!_Jp._cl) continue;
{
_X7(_Jp, _3l);
_Jp._Ml = _Jp._Nl;
_Jp._Kl = _cm(yyfplus(_sl(_Jp._Kl), 1), 1, 10);
_Jp._Jl = yyfminus(_Jp._Jl, _Jp._Kl);
if (yyfless(_Jp._Jl, 0)) {
_Jp._Jl = 0;
}
_J2(_Jp, _3l, "ACH_UPGRADE_STADIUM");
if (yyfequal(_Jp._Kl, 10)) {
_J2(_Jp, _3l, "ACH_MAX_STADIUM");
}
var _Kp = _Jp._Lp;
var _Mp = yyftime(_sl(yyfminus(100, _sl(_Jp._Lp))), 0.1);
_Jp._Lp = _cm(yyfplus(_sl(_Jp._Lp), _sl(_Mp)), 1, 100);
if (yyfgreater(_Jp._Lp, yyfplus(_sl(_Kp), 2))) {
{
_U7(_Jp, _3l, 1, _Kp, 8, "");
}
} else {
_3m(8);
}
}
}
}
}
function _i4(_3l, _4l) {
{
var _Np = _8l(42);
for (var _Op in _Np) {
if (!_Np.hasOwnProperty(_Op)) continue;
var _Pp = _Np[_Op];
if (_Pp._bl) continue;
if (!_Pp._cl) continue;
{
_X7(_Pp, _3l);
_Pp._Ul = _Pp._Nl;
_Pp._Tl = _cm(yyfplus(_sl(_Pp._Tl), 1), 1, 10);
_Pp._Jl = yyfminus(_Pp._Jl, _Pp._Tl);
if (yyfless(_Pp._Jl, 0)) {
_Pp._Jl = 0;
}
_J2(_Pp, _3l, "ACH_UPGRADE_TRAINING");
if (yyfequal(_Pp._Tl, 10)) {
_J2(_Pp, _3l, "ACH_MAX_TRAINING");
}
var _Qp = _06(_Pp, _3l);
var _dl = 0;
for (; yyfless(_dl, _el(_Pp._Um)); _dl++) {
{
var _Bl = _hl(_Pp._Um, _dl);
var _Mp = yyftime(_sl(yyfminus(100, _sl(_il(_Bl, "attitude")))), 0.1);
_vl(_Bl, "attitude", _cm(yyfplus(_sl(_il(_Bl, "attitude")), _sl(round(_Mp))), 1, 100));
}
}
if (yyfgreater(_06(_Pp, _3l), yyfplus(_sl(_Qp), 2))) {
{
_U7(_Pp, _3l, 4, _Qp, 8, "");
}
} else {
_3m(8);
}
}
}
}
}
function _j4(_3l, _4l) {
{
var _Rp = _8l(42);
for (var _Sp in _Rp) {
if (!_Rp.hasOwnProperty(_Sp)) continue;
var _Tp = _Rp[_Sp];
if (_Tp._bl) continue;
if (!_Tp._cl) continue;
{
_X7(_Tp, _3l);
_Tp._Zl = _Tp._Nl;
_Tp._Yl = _cm(yyfplus(_sl(_Tp._Yl), 1), 1, 10);
_Tp._Jl = yyfminus(_Tp._Jl, _Tp._Yl);
if (yyfless(_Tp._Jl, 0)) {
_Tp._Jl = 0;
}
_J2(_Tp, _3l, "ACH_UPGRADE_REHAB");
if (yyfequal(_Tp._Yl, 10)) {
_J2(_Tp, _3l, "ACH_MAX_REHAB");
}
var _Up = _16(_Tp, _3l);
var _dl = 0;
for (; yyfless(_dl, _el(_Tp._Um)); _dl++) {
{
var _Bl = _hl(_Tp._Um, _dl);
if (yyfgreater(_il(_Bl, "condition"), 0)) {
{
var _Mp = yyftime(_sl(yyfminus(100, _sl(_il(_Bl, "condition")))), 0.1);
_vl(_Bl, "condition", _cm(yyfplus(_sl(_il(_Bl, "condition")), _sl(_Mp)), 1, 100));
}
}
}
}
if (yyfgreater(_16(_Tp, _3l), yyfplus(_sl(_Up), 2))) {
{
_U7(_Tp, _3l, 2, _Up, 8, "");
}
} else {
_3m(8);
}
}
}
}
}
function _k4(_3l, _4l) {
_X7(_3l, _4l);
{
var _Vp = _8l(42);
for (var _Wp in _Vp) {
if (!_Vp.hasOwnProperty(_Wp)) continue;
var _Xp = _Vp[_Wp];
if (_Xp._bl) continue;
if (!_Xp._cl) continue;
{
if (yyfless(_Dl(_0m(_3l, _4l, 42)._Vo, _Xp._4p), 0)) {
{
var _Yp = 0;
if (yyfequal(_il(_Xp._4p, "position"), 101)) {
{
_Yp = _r9(_Xp, _3l, _Xp._Dm);
_O8(_Xp, _3l, _H8(_Xp, _3l, 101));
_J2(_Xp, _3l, "ACH_HIRE_DF");
if (yyfequal(_il(_Xp._4p, "rating"), 10)) {
_J2(_Xp, _3l, "ACH_HIRE_DF5");
}
if (yyfequal(_Yp, 10)) {
_J2(_Xp, _3l, "ACH_DEFENSE5");
}
}
} else {
{
_Yp = _q9(_Xp, _3l, _Xp._Dm);
_O8(_Xp, _3l, _H8(_Xp, _3l, 102));
_J2(_Xp, _3l, "ACH_HIRE_OF");
if (yyfequal(_il(_Xp._4p, "rating"), 10)) {
_J2(_Xp, _3l, "ACH_HIRE_OF5");
}
if (yyfequal(_Yp, 10)) {
_J2(_Xp, _3l, "ACH_OFFENSE5");
}
}
}
_El(_Xp._Wo, _Dl(_Xp._Wo, _Xp._4p));
_Cl(_Xp._Vo, _Xp._4p);
_vl(_Xp._4p, "contract", 2);
if (yyfgreater(_Xp._Nl, 8)) {
_vl(_Xp._4p, "contract", 3);
}
_Xp._Jl = yyfminus(_Xp._Jl, _J8(_Xp, _3l, _Xp._4p));
var _Zp = _il(_Xp._4p, "trait");
var __p = -1;
if (yyCompareVal(_Zp, 1, g_GMLMathEpsilon) == 0) {
__p = 0;
} else if (yyCompareVal(_Zp, 3, g_GMLMathEpsilon) == 0) {
__p = 1;
} else if (yyCompareVal(_Zp, 2, g_GMLMathEpsilon) == 0) {
__p = 2;
}
switch (__p) {
case 0: {
_K8(_Xp, _3l, _Xp._4p);
break;
}
case 1: {
_M8(_Xp, _3l, _Xp._4p);
break;
}
case 2: {
_L8(_Xp, _3l, _Xp._4p);
}
default: {
if (yyfequal(_il(_Xp._4p, "position"), 101)) {
{
if (yyfnotequal(_Yp, _r9(_Xp, _3l, _Xp._Dm))) {
_U7(_Xp, _3l, 7, _Yp, 8, "");
} else {
_3m(8);
}
}
} else {
{
if (yyfnotequal(_Yp, _q9(_Xp, _3l, _Xp._Dm))) {
_U7(_Xp, _3l, 6, _Yp, 8, "");
} else {
_3m(8);
}
}
}
break;
}
}
var _Ol = _Q8(_Xp, _3l, "news_HireStaff");
_Ol = _Pl(_Ol, "$teamname", _il(_Xp._Dm, "name"));
_Ol = _Pl(_Ol, "$position", _a9(_Xp, _3l, _il(_Xp._4p, "position")));
_Ol = _Pl(_Ol, "$hirename", yyfplus(yyfplus(_sl(_il(_Xp._4p, "fname")), " "), _sl(_il(_Xp._4p, "lname"))));
_Ol = _Pl(_Ol, "$num", _ul(_il(_Xp._4p, "contract")));
_Z7(_Xp, _3l, _Ol);
}
} else {
{
var _Un = round(yyftime(_sl(_J8(_Xp, _3l, _Xp._4p)), 0.5));
if (yyfless(_Un, 1)) {
_Un = 1;
}
_Xp._Jl = yyfminus(_Xp._Jl, _Un);
_vl(_Xp._4p, "contract", yyfplus(_sl(_il(_Xp._4p, "contract")), 1));
_3m(8);
}
}
}
}
}
}
function _l4(_3l, _4l) {
_X7(_3l, _4l);
_Y4(_3l, _4l);
_3m(4);
}
function _m4(_3l, _4l) {
{
var _0q = _8l(42);
for (var _1q in _0q) {
if (!_0q.hasOwnProperty(_1q)) continue;
var _2q = _0q[_1q];
if (_2q._bl) continue;
if (!_2q._cl) continue;
{
_2q._Jl = yyfminus(_2q._Jl, 5);
if (yyfless(_2q._Jl, 0)) {
_2q._Jl = 0;
}
var _dl = 0;
for (; yyfless(_dl, _el(_2q._Um)); _dl++) {
{
var _Bl = _hl(_2q._Um, _dl);
if (yyfgreater(_il(_Bl, "condition"), 0)) {
{
_vl(_Bl, "condition", min(yyfplus(_sl(_il(_Bl, "condition")), 25), 100));
}
}
}
}
}
}
}
_3m(22);
}
function _n4(_3l, _4l) {
{
var _3q = _8l(42);
for (var _4q in _3q) {
if (!_3q.hasOwnProperty(_4q)) continue;
var _5q = _3q[_4q];
if (_5q._bl) continue;
if (!_5q._cl) continue;
{
_5q._Jl = yyfminus(_5q._Jl, 5);
if (yyfless(_5q._Jl, 0)) {
_5q._Jl = 0;
}
var _dl = 0;
for (; yyfless(_dl, _el(_5q._Um)); _dl++) {
{
var _Bl = _hl(_5q._Um, _dl);
_vl(_Bl, "attitude", min(yyfplus(_sl(_il(_Bl, "attitude")), 15), 100));
}
}
}
}
}
_3m(22);
}
function _o4(_3l, _4l) {
{
var _6q = _8l(42);
for (var _7q in _6q) {
if (!_6q.hasOwnProperty(_7q)) continue;
var _8q = _6q[_7q];
if (_8q._bl) continue;
if (!_8q._cl) continue;
{
_vl(_8q._tn, "resting", 1);
if (yyfless(_il(_8q._tn, "condition"), 40)) {
_vl(_8q._tn, "attitude", _cm(yyfplus(_sl(_il(_8q._tn, "attitude")), 15), 1, 100));
}
}
}
}
_3m(15);
}
function _p4(_3l, _4l) {
_0m(_3l, _4l, 48)._9q = _0m(_3l, _4l, 48)._aq;
_0m(_3l, _4l, 48)._bq = 0;
_X7(_3l, _4l);
}
function _q4(_3l, _4l) {
_0m(_3l, _4l, 48)._9q = !yyGetBool(_0m(_3l, _4l, 48)._aq) ? 1 : 0;
_0m(_3l, _4l, 48)._bq = 0;
_X7(_3l, _4l);
}
function _r4(_3l, _4l) {
_A9(_3l, _4l, "btn_skip_tutorial");
_X7(_3l, _4l);
_0m(_3l, _4l, 42)._cq = 0;
_3m(4);
}
function _s4(_3l, _4l) {
{
var _dq = _8l(42);
for (var _eq in _dq) {
if (!_dq.hasOwnProperty(_eq)) continue;
var _fq = _dq[_eq];
if (_fq._bl) continue;
if (!_fq._cl) continue;
{
var _gq = _il(_fq._Dm, "name");
_fq._Dm = _fq._Mm;
_fq._Mm = -4;
_fq._Fm = _il(_fq._Dm, "uid");
_fq._Gm = _il(_fq._Dm, "conference");
_fq._Hm = _il(_fq._Dm, "division");
_fq._Kl = 1;
_fq._Tl = 1;
_fq._Yl = 1;
_fq._Lp = yyfplus(10, _sl(_Sm(10)));
for (var _hq = 0, _iq = yyGetInt32(3); _hq < _iq; _hq++) {
{
var _jq = _Sm(3);
var _kq = -1;
if (yyCompareVal(_jq, 0, g_GMLMathEpsilon) == 0) {
_kq = 0;
} else if (yyCompareVal(_jq, 1, g_GMLMathEpsilon) == 0) {
_kq = 1;
} else if (yyCompareVal(_jq, 2, g_GMLMathEpsilon) == 0) {
_kq = 2;
} else if (yyCompareVal(_jq, 3, g_GMLMathEpsilon) == 0) {
_kq = 3;
}
switch (_kq) {
case 0: {
_fq._Kl++;
break;
}
case 1: {
_fq._Tl++;
break;
}
case 2: {
_fq._Yl++;
break;
}
case 3: {
_fq._Lp = yyfplus(_fq._Lp, 10);
break;
}
}
}
}
_fq._Ml = 1;
_fq._Ul = 1;
_fq._Zl = 1;
_58(_fq, _3l);
_E8(_fq, _3l);
_v8(_fq, _3l, 15, 100);
var _Ol = _Q8(_fq, _3l, yyfplus("news_NewJob", _sl(_ul(yyfplus(1, _sl(_Sm(2)))))));
if (yyfequal(_fq._Fm, _fq._Em)) {
_Ol = yyfplus(_Ol, yyfplus("##", _sl(_Q8(_fq, _3l, yyfplus("news_FavoriteTeam", _sl(_ul(yyfplus(1, _sl(_Sm(2))))))))));
}
_Ol = _Wm(_Ol, "$oldteamname", _gq);
_Ol = _Wm(_Ol, "$newteamname", _il(_fq._Dm, "name"));
_Ol = _Wm(_Ol, "$yourname", yyfplus(yyfplus(_sl(_fq._lm), " "), _sl(_fq._nm)));
_Ol = _Wm(_Ol, "$yourlastname", _fq._nm);
_Ol = _lq(_Ol);
_Z7(_fq, _3l, _Ol);
_J2(_fq, _3l, "ACH_TEAMS2");
_X5(_fq, _3l);
}
}
}
}
function _t4(_3l, _4l) {
_X7(_3l, _4l);
_3m(7);
}
function _u4(_3l, _4l) {
_X7(_3l, _4l);
_U5(_3l, _4l, 1);
} // if (year == 1 or string_count("@", msg))
function _v4(_3l, _4l) {
{
var _mq = _8l(42);
for (var _nq in _mq) {
if (!_mq.hasOwnProperty(_nq)) continue;
var _oq = _mq[_nq];
if (_oq._bl) continue;
if (!_oq._cl) continue;
{
_0m(_3l, _4l, 42)._pq = 1 ? 1 : 0;
if (!yyGetBool(_p5(_oq, _3l))) {
return 0;
}
var _Ol = "";
var _Bl = _e8(_oq, _3l, 1);
var _qq = _H8(_oq, _3l, 101);
var _rq = _yl();
if (yyGetBool(_Sm(2)) && yyGetBool(yyfgreater(_oq._sm, 1))) {
{
_Cl(_rq, "dilemma_Owner");
if (yyGetBool(_Bl)) {
{
if (yyGetBool(_n8(_oq, _3l, _Bl))) {
_qq = _H8(_oq, _3l, 102);
}
if (yyGetBool(!yyGetBool(_il(_Bl, "resting"))) && yyGetBool(yyfgreater(_il(_Bl, "condition"), 0)) && yyGetBool(yyfless(_il(_Bl, "condition"), 20)) && yyGetBool(yyfless(_oq._Nl, 17))) {
_Cl(_rq, "dilemma_RestPlayer");
}
if (yyflessequal(_il(_Bl, "attitude"), 30)) {
_Cl(_rq, "dilemma_toxic");
}
if (yyGetBool(_qq) && yyGetBool(yyGetBool(yyflessequal(_il(_Bl, "attitude"), 30)) || yyGetBool(yyflessequal(_il(_qq, "attitude"), 30)))) {
_Cl(_rq, "dilemma_Coach_BustUp");
}
if (yyflessequal(_il(_Bl, "attitude"), 60)) {
_Cl(_rq, "dilemma_late");
}
if (yyGetBool(yyfgreater(_il(_Bl, "attitude"), 90)) && yyGetBool(yyfless(_0m(_3l, _4l, 42)._Lp, 98))) {
_Cl(_rq, "news_CharityWork");
} else {
_Cl(_rq, "dilemma_random");
}
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_rq)); _dl++) {
{
_A9(_oq, _3l, yyfplus("List: ", _sl(_hl(_rq, _dl))));
}
}
_sq(_rq);
_Ol = _z4(_oq, _3l, _hl(_rq, 0));
_A9(_oq, _3l, yyfplus("s_do_prematch_dilemma: ", _sl(_Ol)));
}
}
if (yyGetBool(_tq("dilemma_", _Ol))) {
{
_Tm(_oq._uq);
_oq._uq = _x4(_oq, _3l, _Ol, _Bl, "ui_Dilemma");
_0m(_3l, _4l, 42)._tn = _Bl;
_y4(_oq, _3l, _oq._uq);
_Fl(_rq);
return 1;
}
} else {
if (yyGetBool(_tq("news_", _Ol))) {
{
if (yyGetBool(_tq("news_CharityWork", _Ol))) {
{
_Ol = _T8(_oq, _3l, _Q8(_oq, _3l, _Ol), _Bl);
_U7(_oq, _3l, 1, _0m(_3l, _4l, 42)._Lp, _rn._sn(), _Ol);
_0m(_3l, _4l, 42)._Lp = yyfplus(_0m(_3l, _4l, 42)._Lp, 2);
}
} else {
{
_Ol = _T8(_oq, _3l, _Q8(_oq, _3l, _Ol), _Bl);
_T7(_oq, _3l, _Q8(_oq, _3l, "ui_News"), _Ol, _Q8(_oq, _3l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
}
_Fl(_rq);
return 1;
}
}
}
_Fl(_rq);
_A9(_oq, _3l, yyfplus("Check tip ", _sl(_ul(_0m(_3l, _4l, 42)._vq))));
var _Ol = _Q8(_oq, _3l, yyfplus("tip_", _sl(_ul(_0m(_3l, _4l, 42)._vq))));
if (yyGetBool(yyfequal(_oq._sm, 1)) || yyGetBool(_tq("@", _Ol))) {
return 0;
} else {
{
_0m(_3l, _4l, 42)._vq++;
_T7(_oq, _3l, _Q8(_oq, _3l, "ui_Tip"), _Ol, _Q8(_oq, _3l, "ui_Continue"), "", 114, "", global._Ll, 1);
return 1;
}
}
}
}
}
}
function _w4(_3l, _4l) {
{
var _wq = _8l(42);
for (var _xq in _wq) {
if (!_wq.hasOwnProperty(_xq)) continue;
var _yq = _wq[_xq];
if (_yq._bl) continue;
if (!_yq._cl) continue;
{
var _Bl = _e8(_yq, _3l, 0);
var _Ol = "";
var _zq = _n5(_yq, _3l, _yq._Nl);
if (yyGetBool(yyfgreater(_yq._Nl, 4)) && yyGetBool(yyfless(_yq._Nl, 28)) && yyGetBool(_Bl) && yyGetBool(yyflessequal(_il(_Bl, "attitude"), 15))) {
_Ol = _z4(_yq, _3l, "postmatch_toxic");
} else {
if (yyGetBool(_Bl) && yyGetBool(yyfgreater(_s8(_yq, _3l, _Bl), 7))) {
_Ol = _z4(_yq, _3l, "postmatch_performance_good");
} else {
if (yyGetBool(_Bl) && yyGetBool(yyfless(_s8(_yq, _3l, _Bl), 4))) {
_Ol = _z4(_yq, _3l, "postmatch_performance_bad");
} else {
if (yyfequal(_il(_zq, "human_win"), "loss")) {
_Ol = _z4(_yq, _3l, "postmatch_loss");
} else {
if (yyfequal(_il(_zq, "human_win"), "win")) {
_Ol = _z4(_yq, _3l, "postmatch_win");
}
}
}
}
}
if (yyfnotequal(_Ol, "")) {
{
_Aq(_yq._uq);
_yq._uq = _x4(_yq, _3l, _Ol, _Bl, "ui_PressInterview");
_0m(_3l, _4l, 42)._tn = _Bl;
_y4(_yq, _3l, _yq._uq);
}
} else {
{
_U5(_yq, _3l, 1);
}
}
}
}
}
}
function _x4(_3l, _4l, _5l, _Bq, _Cq) {
var _Ol = _Q8(_3l, _4l, _5l);
var _Bl = _Bq;
var _uq = _Dq();
_A9(_3l, _4l, _Ol);
_vl(_uq, "title", _Q8(_3l, _4l, _Cq));
_vl(_uq, "effect_on1", "");
_vl(_uq, "effect_on2", "");
var _Eq = "1";
if (yyGetBool(_tq("-choice_DefendPlayer", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_DefendPlayer"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_DefendPlayer");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -1);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_credit");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "player");
_Ol = _Wm(_Ol, "-choice_DefendPlayer", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_PraisePlayer", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_PraisePlayer"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_PraisePlayer");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 15);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "player");
_Ol = _Wm(_Ol, "-choice_PraisePlayer", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_CriticisePlayer", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_CriticisePlayer"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_CriticisePlayer");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -15);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "player");
_Ol = _Wm(_Ol, "-choice_CriticisePlayer", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_SideWithPlayer", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_SideWithPlayer"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_SideWithPlayer");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 10);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "player");
_Ol = _Wm(_Ol, "-choice_SideWithPlayer", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_RestYes", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_RestYes"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_RestYes");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 15);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "player");
_Ol = _Wm(_Ol, "-choice_RestYes", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_RestNo", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_RestNo"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_RestNo");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -5);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "player");
_Ol = _Wm(_Ol, "-choice_RestNo", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_FinePlayer", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_FinePlayer"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_FinePlayer");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -5);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "player");
_Ol = _Wm(_Ol, "-choice_FinePlayer", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_IgnoreFine", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_IgnoreFine"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_IgnoreFine");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -5);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "team");
_Ol = _Wm(_Ol, "-choice_IgnoreFine", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_PraiseTeam", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_PraiseTeam"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_PraiseTeam");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 5);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "team");
_Ol = _Wm(_Ol, "-choice_PraiseTeam", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_CriticiseTeam", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_CriticiseTeam"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_CriticiseTeam");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -15);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "team");
_Ol = _Wm(_Ol, "-choice_CriticiseTeam", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_FocusTeam", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_FocusTeam"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_FocusTeam");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 300);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_xp");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "team");
_Ol = _Wm(_Ol, "-choice_FocusTeam", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_MeetTeam", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_MeetTeam"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_MeetTeam");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 10);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "team");
_Ol = _Wm(_Ol, "-choice_MeetTeam", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_PraiseFans", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_PraiseFans"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_PraiseFans");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 5);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_fans");
_Ol = _Wm(_Ol, "-choice_PraiseFans", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_CriticiseFans", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_CriticiseFans"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_CriticiseFans");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -10);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_fans");
_Ol = _Wm(_Ol, "-choice_CriticiseFans", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_FocusMedia", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_FocusMedia"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_FocusMedia");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 10);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_fans");
_Ol = _Wm(_Ol, "-choice_FocusMedia", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_MeetMedia", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_MeetMedia"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_MeetMedia");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 5);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_fans");
_Ol = _Wm(_Ol, "-choice_MeetMedia", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_PraiseCoaches", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_PraiseCoaches"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_PraiseCoaches");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 15);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "coaches");
_Ol = _Wm(_Ol, "-choice_PraiseCoaches", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_CriticiseCoaches", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_CriticiseCoaches"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_CriticiseCoaches");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -15);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "coaches");
_Ol = _Wm(_Ol, "-choice_CriticiseCoaches", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_FocusCoaches", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_FocusCoaches"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_FocusCoaches");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 100);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_xp");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "coaches");
_Ol = _Wm(_Ol, "-choice_FocusCoaches", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_MeetCoaches", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_MeetCoaches"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_MeetCoaches");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 15);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "coaches");
_Ol = _Wm(_Ol, "-choice_MeetCoaches", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_SideWithCoach", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_SideWithCoach"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_SideWithCoach");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 10);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_attitude");
_vl(_uq, yyfplus("effect_on", _sl(_Eq)), "coaches");
_Ol = _Wm(_Ol, "-choice_SideWithCoach", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_CriticiseSelf", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_CriticiseSelf"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_CriticiseSelf");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -1);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_credit");
_Ol = _Wm(_Ol, "-choice_CriticiseSelf", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_PraiseOwner", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_PraiseOwner"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_PraiseOwner");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 1);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_credit");
_Ol = _Wm(_Ol, "-choice_PraiseOwner", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_FocusOwner", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_FocusOwner"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_FocusOwner");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 2);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_credit");
_Ol = _Wm(_Ol, "-choice_FocusOwner", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_MeetOwner", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_MeetOwner"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_MeetOwner");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), 1);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_credit");
_Ol = _Wm(_Ol, "-choice_MeetOwner", "");
_Eq = "2";
}
}
if (yyGetBool(_tq("-choice_CriticiseOfficials", _Ol))) {
{
_vl(_uq, yyfplus("btn_txt", _sl(_Eq)), _Q8(_3l, _4l, "choice_CriticiseOfficials"));
_vl(_uq, yyfplus("cost_typ", _sl(_Eq)), "choice_CriticiseOfficials");
_vl(_uq, yyfplus("cost_amt", _sl(_Eq)), -1);
_vl(_uq, yyfplus("cost_img", _sl(_Eq)), "spr_credit");
_Ol = _Wm(_Ol, "-choice_CriticiseOfficials", "");
_Eq = "2";
}
}
if (yyflessequal(_0m(_3l, _4l, 42)._Jl, 0)) {
{
if (yyGetBool(yyfequal(_il(_uq, "cost_img1"), "spr_credit")) && yyGetBool(yyfless(_il(_uq, "cost_amt1"), 0))) {
{
_vl(_uq, "cost_typ1", "choice_CriticiseTeam");
_vl(_uq, "cost_amt1", -15);
_vl(_uq, "cost_img1", "spr_attitude");
_vl(_uq, "effect_on1", "team");
}
}
if (yyGetBool(yyfequal(_il(_uq, "cost_img2"), "spr_credit")) && yyGetBool(yyfless(_il(_uq, "cost_amt2"), 0))) {
{
_vl(_uq, "cost_typ2", "choice_CriticiseTeam");
_vl(_uq, "cost_amt2", -15);
_vl(_uq, "cost_img2", "spr_attitude");
_vl(_uq, "effect_on2", "team");
}
}
}
}
if (yyGetBool(_Bl)) {
{
_Ol = _T8(_3l, _4l, _Ol, _Bl);
_A9(_3l, _4l, yyfplus("Dilemma about: ", _sl(_il(_Bl, "lname"))));
}
}
_vl(_uq, "msg", _Ol);
_A9(_3l, _4l, yyfplus("Dilemma: ", _sl(_Ol)));
return _uq;
}
function _y4(_3l, _4l, _5l) {
var _uq = _5l;
var _Fq = _il(_uq, "title");
var _Gq = _il(_uq, "msg");
var _Hq = _il(_uq, "btn_txt1");
var _Iq = _il(_uq, "btn_txt2");
var _Jq = _ul(_il(_uq, "cost_amt1"));
var _Kq = _ul(_il(_uq, "cost_amt2"));
var _Lq = _il(_uq, "cost_img1");
var _Mq = _il(_uq, "cost_img2");
var _Nq = _Oq(0, 0, "PopUps", 5);
var _Pq = _Oq(yyftime(_sl(_Qq()), 0.5), 32, "PopUps", 0);
var _Ol = _Oq(yyftime(_sl(_Qq()), 0.5), yyftime(_sl(_Rq()), 0.5), "PopUps", 6);
var _Sq = _Oq(104, 224, "PopUps", 10);
var _Tq = _Oq(272, 224, "PopUps", 10);
var _Uq = _Oq(32, 224, "PopUps", 14);
var _Vq = _Oq(384, 224, "PopUps", 14);
var _Wq = _Oq(32, 16, "PopUps", 3);
var _Xq = _Oq(32, 136, "PopUps", 16);
var _Yq = _Oq(384, 136, "PopUps", 16);
var _Zq = _Oq(32, 184, "PopUps", 21);
var __q = _Oq(384, 184, "PopUps", 21);
_0m(_3l, _4l, _Nq)._am = global._Ll;
_0m(_3l, _4l, _Nq)._0r = 1;
_0m(_3l, _4l, _Pq)._1r = 32;
_0m(_3l, _4l, _Pq)._2r = 0 ? 1 : 0;
_0m(_3l, _4l, _Pq)._mm = _ul(_Fq);
_0m(_3l, _4l, _Ol)._mm = _Gq;
_0m(_3l, _4l, _Ol)._am = global._Ll;
_0m(_3l, _4l, _Ol)._3r = 260;
_0m(_3l, _4l, _Sq)._mm = _Hq;
_0m(_3l, _4l, _Tq)._mm = _Iq;
_0m(_3l, _4l, _Sq)._4r = 120;
_0m(_3l, _4l, _Tq)._4r = 121;
_0m(_3l, _4l, _Uq)._Pq = _Q8(_3l, _4l, "ui_Effect");
_0m(_3l, _4l, _Vq)._Pq = _Q8(_3l, _4l, "ui_Effect");
_0m(_3l, _4l, _Uq)._mm = _Jq;
_0m(_3l, _4l, _Vq)._mm = _Kq;
_0m(_3l, _4l, _Uq)._5r = _D4(_3l, _4l, _Lq);
_0m(_3l, _4l, _Vq)._5r = _D4(_3l, _4l, _Mq);
_0m(_3l, _4l, _Xq)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, _Yq)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, _Zq)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, __q)._4a = 0 ? 1 : 0;
var _7r = _il(_uq, "effect_on1");
var _8r = -1;
if (yyCompareVal(_7r, "player", g_GMLMathEpsilon) == 0) {
_8r = 0;
} else if (yyCompareVal(_7r, "coaches", g_GMLMathEpsilon) == 0) {
_8r = 1;
} else if (yyCompareVal(_7r, "team", g_GMLMathEpsilon) == 0) {
_8r = 2;
}
switch (_8r) {
case 0: {
_0m(_3l, _4l, _Xq)._Bl = _0m(_3l, _4l, 42)._tn;
_A9(_3l, _4l, yyfplus("DILEMMA1: ", _sl(_il(_0m(_3l, _4l, _Xq)._Bl, "lname"))));
break;
}
case 1: {
var _9r = 1 ? 1 : 0;
if (yyGetBool(_0m(_3l, _4l, 42)._tn) && yyGetBool(!yyGetBool(_n8(_3l, _4l, _0m(_3l, _4l, 42)._tn)))) {
_9r = 0 ? 1 : 0;
}
var _ar = _9r;
var _br = -1;
if (yyCompareVal(_ar, 1, g_GMLMathEpsilon) == 0) {
_br = 0;
} else if (yyCompareVal(_ar, 0, g_GMLMathEpsilon) == 0) {
_br = 1;
}
switch (_br) {
case 0: {
_0m(_3l, _4l, _Xq)._Bl = _H8(_3l, _4l, 102);
break;
}
case 1: {
_0m(_3l, _4l, _Xq)._Bl = _H8(_3l, _4l, 101);
break;
}
}
break;
}
case 2: {
_0m(_3l, _4l, _Zq)._4a = 1 ? 1 : 0;
break;
}
}
if (yyfequal(_0m(_3l, _4l, _Uq)._5r, 58)) {
{
_0m(_3l, _4l, _Uq)._cr = 2;
if (yyfgreater(_il(_uq, "cost_amt1"), 0)) {
_0m(_3l, _4l, _Uq)._cr = 5;
}
_0m(_3l, _4l, _Uq)._mm = "";
}
} else {
if (yyfgreater(_ml(_il(_uq, "cost_amt1")), 0)) {
_0m(_3l, _4l, _Uq)._mm = yyfplus("+", _sl(_0m(_3l, _4l, _Uq)._mm));
}
}
var _dr = _il(_uq, "effect_on2");
var _er = -1;
if (yyCompareVal(_dr, "player", g_GMLMathEpsilon) == 0) {
_er = 0;
} else if (yyCompareVal(_dr, "coaches", g_GMLMathEpsilon) == 0) {
_er = 1;
} else if (yyCompareVal(_dr, "team", g_GMLMathEpsilon) == 0) {
_er = 2;
}
switch (_er) {
case 0: {
_0m(_3l, _4l, _Yq)._Bl = _0m(_3l, _4l, 42)._tn;
break;
}
case 1: {
var _9r = 1 ? 1 : 0;
if (yyGetBool(_0m(_3l, _4l, 42)._tn) && yyGetBool(!yyGetBool(_n8(_3l, _4l, _0m(_3l, _4l, 42)._tn)))) {
_9r = 0 ? 1 : 0;
}
var _fr = _9r;
var _gr = -1;
if (yyCompareVal(_fr, 1, g_GMLMathEpsilon) == 0) {
_gr = 0;
} else if (yyCompareVal(_fr, 0, g_GMLMathEpsilon) == 0) {
_gr = 1;
}
switch (_gr) {
case 0: {
_0m(_3l, _4l, _Yq)._Bl = _H8(_3l, _4l, 102);
break;
}
case 1: {
_0m(_3l, _4l, _Yq)._Bl = _H8(_3l, _4l, 101);
break;
}
}
break;
}
case 2: {
_0m(_3l, _4l, __q)._4a = 1 ? 1 : 0;
break;
}
}
if (yyfequal(_0m(_3l, _4l, _Vq)._5r, 58)) {
{
_0m(_3l, _4l, _Vq)._cr = 2;
if (yyfgreater(_il(_uq, "cost_amt2"), 0)) {
_0m(_3l, _4l, _Vq)._cr = 5;
}
_0m(_3l, _4l, _Vq)._mm = "";
}
} else {
if (yyfgreater(_ml(_il(_uq, "cost_amt2")), 0)) {
_0m(_3l, _4l, _Vq)._mm = yyfplus("+", _sl(_0m(_3l, _4l, _Vq)._mm));
}
}
_0m(_3l, _4l, _Wq)._hr = 57;
_0m(_3l, _4l, _Wq)._mm = _36(_3l, _4l);
if (yyfequal(_0m(_3l, _4l, _Uq)._5r, 56)) {
_0m(_3l, _4l, _Uq)._mm = "+";
}
if (yyfequal(_0m(_3l, _4l, _Vq)._5r, 56)) {
_0m(_3l, _4l, _Vq)._mm = "+";
}
_0m(_3l, _4l, _Pq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Ol)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Sq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Tq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Uq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Vq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Wq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Xq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 2));
_0m(_3l, _4l, _Yq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 2));
_0m(_3l, _4l, _Zq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 2));
_0m(_3l, _4l, __q)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 2));
if (yyfequal(_Fq, "")) {
_0m(_3l, _4l, _Pq)._4a = 0 ? 1 : 0;
}
if (yyfequal(_Hq, "")) {
{
_0m(_3l, _4l, _Sq)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, _Tq)._kr(360);
}
}
if (yyfequal(_Iq, "")) {
{
_0m(_3l, _4l, _Tq)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, _Sq)._kr(360);
}
}
if (yyfequal(_Jq, "")) {
_0m(_3l, _4l, _Uq)._4a = 0 ? 1 : 0;
}
if (yyfequal(_Kq, "")) {
_0m(_3l, _4l, _Vq)._4a = 0 ? 1 : 0;
}
}
function _z4(_3l, _4l, _5l) {
var _6l = _5l;
{
var _lr = _8l(42);
for (var _mr in _lr) {
if (!_lr.hasOwnProperty(_mr)) continue;
var _nr = _lr[_mr];
if (_nr._bl) continue;
if (!_nr._cl) continue;
{
_sq(_nr._kp);
var _dl = 0;
for (; yyfless(_dl, _el(_nr._kp)); _dl++) {
{
var _or = _hl(_nr._kp, _dl);
if (yyGetBool(_tq(_6l, _or))) {
{
_El(_nr._kp, _dl);
return _or;
}
}
}
}
_A9(_nr, _3l, "Repopulate dilemma_tags...");
var _pr = _qr("LanguageUS.txt");
while (!yyGetBool(_rr(_pr))) {
{
var _sr = _tr(_pr);
_ur(_pr);
if (yyGetBool(_tq(_6l, _sr))) {
{
var _yn = _vr(" ", _sr);
_sr = _wr(_sr, 1, yyfminus(_sl(_yn), 1));
_Cl(_nr._kp, _sr);
_A9(_nr, _3l, _sr);
}
}
}
}
_xr(_pr);
return _z4(_nr, _3l, _6l);
}
}
}
}
function _A4(_3l, _4l) {
_X7(_3l, _4l);
_C4(_3l, _4l, 1);
}
function _B4(_3l, _4l) {
_X7(_3l, _4l);
_C4(_3l, _4l, 2);
}
function _C4(_3l, _4l, _5l) {
var _Eq = _ul(_5l);
{
var _yr = _8l(42);
for (var _zr in _yr) {
if (!_yr.hasOwnProperty(_zr)) continue;
var _Ar = _yr[_zr];
if (_Ar._bl) continue;
if (!_Ar._cl) continue;
{
var _Br = _il(_Ar._uq, yyfplus("cost_img", _sl(_Eq)));
var _Cr = -1;
if (yyCompareVal(_Br, "spr_xp", g_GMLMathEpsilon) == 0) {
_Cr = 0;
} else if (yyCompareVal(_Br, "spr_credit", g_GMLMathEpsilon) == 0) {
_Cr = 1;
} else if (yyCompareVal(_Br, "spr_attitude", g_GMLMathEpsilon) == 0) {
_Cr = 2;
} else if (yyCompareVal(_Br, "spr_fans", g_GMLMathEpsilon) == 0) {
_Cr = 3;
}
switch (_Cr) {
case 0: {
var _Dr = _il(_Ar._uq, yyfplus("effect_on", _sl(_Eq)));
var _Er = -1;
if (yyCompareVal(_Dr, "team", g_GMLMathEpsilon) == 0) {
_Er = 0;
} else if (yyCompareVal(_Dr, "coaches", g_GMLMathEpsilon) == 0) {
_Er = 1;
}
switch (_Er) {
case 0: {
var _Mp = yyfdivide(_sl(_ml(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq))))), _sl(_cm(_el(_Ar._Um), 1, 10)));
_Mp = round(_Mp);
_A9(_Ar, _3l, yyfplus("XP gain per player = ", _sl(_ul(_Mp))));
var _dl = 0;
for (; yyfless(_dl, _el(_Ar._Um)); _dl++) {
{
var _Bl = _hl(_Ar._Um, _dl);
_vl(_Bl, "xp_gain", round(yyfplus(_sl(_il(_Bl, "xp_gain")), _sl(_Mp))));
}
}
break;
}
case 1: {
var _Mp = yyfdivide(_sl(_ml(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq))))), _sl(_el(_Ar._Vo)));
_A9(_Ar, _3l, yyfplus("XP gain per coach = ", _sl(_ul(_Mp))));
var _dl = 0;
for (; yyfless(_dl, _el(_Ar._Vo)); _dl++) {
{
var _Bl = _hl(_Ar._Vo, _dl);
_vl(_Bl, "xp_gain", round(yyfplus(_sl(_il(_Bl, "xp_gain")), _sl(_Mp))));
}
}
break;
}
}
_U5(_Ar, _3l, 1);
break;
}
case 1: {
if (yyfless(yyfplus(_sl(_Ar._Jl), _sl(_ml(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq)))))), 0)) {
{
_Ar._Jl = 0;
var _Fr = _06(_Ar, _3l);
_u8(_Ar, _3l, -5, -10);
_U7(_Ar, _3l, 4, _Fr, -4, "");
return;
}
}
if (yyfequal(_il(_Ar._uq, yyfplus("cost_typ", _sl(_Eq))), "choice_DefendPlayer")) {
{
_Ar._Jl = yyfplus(_Ar._Jl, _ml(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq)))));
_Bl = _Ar._tn;
var _Gr = _il(_Bl, "attitude");
_vl(_Bl, "attitude", _cm(yyfplus(_sl(_il(_Bl, "attitude")), 5), 1, 100));
_U7(_Ar, _3l, 5, _Gr, -4, "");
return;
}
} else {
{
_U7(_Ar, _3l, 8, _Ar._Jl, -4, "");
_Ar._Jl = yyfplus(_Ar._Jl, _ml(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq)))));
return;
}
}
_U5(_Ar, _3l, 1);
break;
}
case 2: {
var _Bl = -4;
var _Hr = _il(_Ar._uq, yyfplus("effect_on", _sl(_Eq)));
var _Ir = -1;
if (yyCompareVal(_Hr, "team", g_GMLMathEpsilon) == 0) {
_Ir = 0;
} else if (yyCompareVal(_Hr, "coaches", g_GMLMathEpsilon) == 0) {
_Ir = 1;
} else if (yyCompareVal(_Hr, "player", g_GMLMathEpsilon) == 0) {
_Ir = 2;
}
switch (_Ir) {
case 0: {
_U7(_Ar, _3l, 4, _06(_Ar, _3l), -4, "");
var _Mp = _ml(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq))));
_u8(_Ar, _3l, _Mp, _Mp);
break;
}
case 1: {
if (yyGetBool(_0m(_3l, _4l, 42)._tn)) {
{
if (yyfequal(_il(_Ar._uq, yyfplus("cost_typ", _sl(_Eq))), "choice_SideWithCoach")) {
_vl(_0m(_3l, _4l, 42)._tn, "attitude", _cm(yyfplus(_sl(_il(_0m(_3l, _4l, 42)._tn, "attitude")), _sl(_ml(_sl(-_sl(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq)))))))), 1, 100));
}
var _Jr = _n8(_Ar, _3l, _0m(_3l, _4l, 42)._tn);
var _Kr = -1;
if (yyCompareVal(_Jr, 1, g_GMLMathEpsilon) == 0) {
_Kr = 0;
} else if (yyCompareVal(_Jr, 0, g_GMLMathEpsilon) == 0) {
_Kr = 1;
}
switch (_Kr) {
case 0: {
_Bl = _H8(_Ar, _3l, 102);
break;
}
case 1: {
_Bl = _H8(_Ar, _3l, 101);
break;
}
}
}
}
if (yyfequal(_Bl, -4)) {
{
_Bl = _i8(_Ar, _3l);
}
}
_0m(_3l, _4l, 42)._tn = _Bl;
var _Gp = _il(_Bl, "attitude");
_vl(_Bl, "attitude", _cm(yyfplus(_sl(_il(_Bl, "attitude")), _sl(_ml(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq)))))), 1, 100));
_U7(_Ar, _3l, 5, _Gp, -4, "");
break;
}
case 2: {
if (yyfequal(_il(_Ar._uq, yyfplus("cost_typ", _sl(_Eq))), "choice_SideWithPlayer")) {
{
var _qq = _H8(_Ar, _3l, 101);
if (yyGetBool(_n8(_Ar, _3l, _Ar._tn))) {
_qq = _H8(_Ar, _3l, 102);
}
_vl(_qq, "attitude", _cm(yyfplus(_sl(_il(_qq, "attitude")), _sl(_ml(_sl(-_sl(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq)))))))), 1, 100));
}
} else {
if (yyfequal(_il(_Ar._uq, yyfplus("cost_typ", _sl(_Eq))), "choice_RestYes")) {
{
_vl(_Ar._tn, "resting", 1);
}
}
}
_Bl = _Ar._tn;
var _Gp = _il(_Bl, "attitude");
_vl(_Bl, "attitude", _cm(yyfplus(_sl(_il(_Bl, "attitude")), _sl(_ml(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq)))))), 1, 100));
_U7(_Ar, _3l, 5, _Gp, -4, "");
break;
}
}
break;
}
case 3: {
_U7(_Ar, _3l, 1, _Ar._Lp, -4, "");
_Ar._Lp = _cm(yyfplus(_sl(_Ar._Lp), _sl(_ml(_il(_Ar._uq, yyfplus("cost_amt", _sl(_Eq)))))), 1, 100);
break;
}
}
}
}
}
}
function _D4(_3l, _4l, _5l) {
var _Lr = _5l;
var _Mr = -1;
if (yyCompareVal(_Lr, "spr_attitude", g_GMLMathEpsilon) == 0) {
_Mr = 0;
} else if (yyCompareVal(_Lr, "spr_star", g_GMLMathEpsilon) == 0) {
_Mr = 1;
} else if (yyCompareVal(_Lr, "spr_credit", g_GMLMathEpsilon) == 0) {
_Mr = 2;
} else if (yyCompareVal(_Lr, "spr_fans", g_GMLMathEpsilon) == 0) {
_Mr = 3;
} else if (yyCompareVal(_Lr, "spr_xp", g_GMLMathEpsilon) == 0) {
_Mr = 4;
}
switch (_Mr) {
case 0: {
return 58;
break;
}
case 1: {
return 53;
break;
}
case 2: {
return 57;
break;
}
case 3: {
return 73;
break;
}
case 4: {
return 56;
break;
}
}
}
function _E4(_3l, _4l) {
{
var _Nr = _8l(42);
for (var _Or in _Nr) {
if (!_Nr.hasOwnProperty(_Or)) continue;
var _Pr = _Nr[_Or];
if (_Pr._bl) continue;
if (!_Pr._cl) continue;
{
_A9(_Pr, _3l, "s_check_draft");
_A9(_Pr, _3l, yyfplus("Week = ", _sl(_ul(_Pr._Nl))));
_A9(_Pr, _3l, yyfplus("Draft = ", _sl(_ul(_Pr._Zn))));
if (yyfgreater(_Pr._cq, 0)) {
{
}
} else {
if (yyfequal(_Pr._Nl, 1)) {
{
if (yyGetBool(_el(_0m(_3l, _4l, 42)._An))) {
{
_Pr._1m = 1;
_3m(6);
return;
}
} else {
{
var _Qr = _Pr._Zn;
var _Rr = -1;
if (yyCompareVal(_Qr, 1, g_GMLMathEpsilon) == 0) {
_Rr = 0;
} else if (yyCompareVal(_Qr, 2, g_GMLMathEpsilon) == 0) {
_Rr = 1;
} else if (yyCompareVal(_Qr, 3, g_GMLMathEpsilon) == 0) {
_Rr = 2;
}
switch (_Rr) {
case 0: {
if (yyfless(_el(_Pr._zn), 50)) {
_I4(_Pr, _3l);
}
_3m(3);
return;
break;
}
case 1: {
_3m(3);
return;
break;
}
case 2: {
_3m(3);
return;
break;
}
}
}
}
}
} else {
if (yyfgreaterequal(_el(_0m(_3l, _4l, 42)._Um), 10)) {
{
_Y4(_Pr, _3l);
}
} else {
if (yyGetBool(yyfless(_Pr._Nl, 8)) && yyGetBool(!yyGetBool(_Pr._Sr))) {
{
_Pr._Sr = 1 ? 1 : 0;
if (yyGetBool(_el(_0m(_3l, _4l, 42)._An)) || yyGetBool(_el(_0m(_3l, _4l, 42)._Bn))) {
{
_3m(6);
return;
}
}
var _Tr = _Sm(2);
var _Ur = -1;
if (yyCompareVal(_Tr, 0, g_GMLMathEpsilon) == 0) {
_Ur = 0;
} else if (yyCompareVal(_Tr, 1, g_GMLMathEpsilon) == 0) {
_Ur = 1;
} else if (yyCompareVal(_Tr, 2, g_GMLMathEpsilon) == 0) {
_Ur = 2;
}
switch (_Ur) {
case 0: {
_F4(_Pr, _3l, 1);
var _Bl = _hl(_0m(_3l, _4l, 42)._An, 0);
if (yyGetBool(_Bl)) {
{
if (yyGetBool(_78(_Pr, _3l, _il(_Bl, "position"))) || yyGetBool(yyfgreater(yyfplus(_sl(_il(_Bl, "salary")), _sl(_t9(_Pr, _3l))), _0m(_3l, _4l, 42)._Kn))) {
{
_Y4(_Pr, _3l);
break;
}
}
_0m(_3l, _4l, 42)._tn = _Bl;
var _Vr = -4;
var _Ol = _Q8(_Pr, _3l, "msg_FreeAgentOffer");
if (yyfequal(_il(_Bl, "age"), 21)) {
{
_Ol = _Q8(_Pr, _3l, "msg_FreeAgentOffer_Rookie");
if (yyGetBool(_n8(_Pr, _3l, _Bl))) {
_Vr = _H8(_Pr, _3l, 102);
} else {
_Vr = _H8(_Pr, _3l, 101);
}
}
}
_Ol = _Pl(_Ol, "$playername", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_Ol = _Pl(_Ol, "$position", _a9(_Pr, _3l, _il(_Bl, "position")));
if (yyGetBool(_Vr)) {
_Ol = _Pl(_Ol, "$coachname", _q8(_Pr, _3l, _Vr, 1));
}
_T7(_Pr, _3l, _Q8(_Pr, _3l, "ui_FreeAgent"), _Ol, _Q8(_Pr, _3l, "ui_Continue"), "", 45, "", global._Ll, 1);
_25(_Pr, _3l);
return;
}
}
break;
}
case 1: {
_H4(_Pr, _3l, 1);
var _Bl = _hl(_0m(_3l, _4l, 42)._Bn, 0);
if (yyGetBool(_Bl)) {
{
if (yyfgreater(yyfplus(_sl(_il(_Bl, "salary")), _sl(_t9(_Pr, _3l))), _0m(_3l, _4l, 42)._Kn)) {
{
_Y4(_Pr, _3l);
break;
}
}
_0m(_3l, _4l, 42)._tn = _Bl;
var _Yp = _cm(yyfminus(_sl(_98(_Pr, _3l, _Bl)), 4), 1, 10);
if (yyflessequal(_il(_Bl, "attitude"), 15)) {
_Yp = 1;
}
var _Rn = _V4(_Pr, _3l, _Yp);
if (yyfgreater(_T4(_Pr, _3l, _Rn), 0)) {
{
_vl(_Bl, "intrade_pick", _Rn);
_25(_Pr, _3l);
var _Ol = _Q8(_Pr, _3l, "msg_TradeOffer");
_Ol = _Pl(_Ol, "$teamname", _l9(_Pr, _3l, _il(_Bl, "teamid")));
_Ol = _Pl(_Ol, "$playername", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_Ol = _Pl(_Ol, "$position", _a9(_Pr, _3l, _il(_Bl, "position")));
_Ol = _Pl(_Ol, "$num", _ul(_Rn));
_T7(_Pr, _3l, _Q8(_Pr, _3l, "ui_TradeOffer"), _Ol, _Q8(_Pr, _3l, "ui_Continue"), "", 45, "", global._Ll, 1);
return;
}
} else {
{
_Y4(_Pr, _3l);
break;
}
}
}
}
break;
}
case 2: {
var _Wr = _el(_0m(_3l, _4l, 42)._Um);
if (yyfless(_Wr, 4)) {
break;
}
var _Bl = _e8(_Pr, _3l, 0);
if (yyGetBool(_Bl)) {
{
if (yyGetBool(yyfgreater(_il(_Bl, "age"), 31)) || yyGetBool(yyfequal(_il(_Bl, "signed_year"), _0m(_3l, _4l, 42)._sm)) || yyGetBool(yyflessequal(_il(_Bl, "attitude"), 15))) {
{
break;
}
}
_0m(_3l, _4l, 42)._tn = _Bl;
var _Yp = _cm(yyfplus(_sl(_98(_Pr, _3l, _Bl)), 4), 1, 10);
_vl(_Bl, "outtrade_pick", _V4(_Pr, _3l, _Yp));
_25(_Pr, _3l);
var _Pn = _W4(_Pr, _3l, _Bl);
var _Ol = _Q8(_Pr, _3l, "msg_TradeRequest");
_Ol = _Pl(_Ol, "$teamname", _il(_Pn, "name"));
_Ol = _Pl(_Ol, "$playername", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_Ol = _Pl(_Ol, "$position", _a9(_Pr, _3l, _il(_Bl, "position")));
_Ol = _Pl(_Ol, "$num", _ul(_il(_Bl, "outtrade_pick")));
_T7(_Pr, _3l, _Q8(_Pr, _3l, "ui_TradeRequest"), _Ol, _Q8(_Pr, _3l, "ui_Continue"), "", 45, "", global._Ll, 1);
return;
}
}
break;
}
}
}
}
}
}
}
if (yyGetBool(!yyGetBool(_Pr._Xr)) && yyGetBool(_P8(_Pr, _3l))) {
{
return;
}
} else {
if (yyGetBool(!yyGetBool(_0m(_3l, _4l, 42)._pq)) && yyGetBool(_v4(_Pr, _3l))) {
{
return;
}
}
}
_0m(_3l, _4l, 42)._pq = 1 ? 1 : 0;
_25(_Pr, _3l);
_U5(_Pr, _3l, 1);
}
}
}
}
function _F4(_3l, _4l, _5l) {
{
var _Yr = _8l(42);
for (var _Zr in _Yr) {
if (!_Yr.hasOwnProperty(_Zr)) continue;
var __r = _Yr[_Zr];
if (__r._bl) continue;
if (!__r._cl) continue;
{
while (yyfless(_el(__r._An), _5l)) {
_Cl(__r._An, _G4(__r, _3l));
}
__r._An = _b8(__r, _3l, __r._An, 2);
}
}
}
}
function _G4(_3l, _4l) {
var _0s = _Sm(2);
var _1s = -1;
if (yyCompareVal(_0s, 0, g_GMLMathEpsilon) == 0) {
_1s = 0;
} else if (yyCompareVal(_0s, 1, g_GMLMathEpsilon) == 0) {
_1s = 1;
} else if (yyCompareVal(_0s, 2, g_GMLMathEpsilon) == 0) {
_1s = 2;
}
switch (_1s) {
case 0: {
var _Bl = _48(_3l, _4l, _88(_3l, _4l, 0), 21, 1, 2);
_vl(_Bl, "attitude", _Vm(30, 90));
return _Bl;
break;
}
case 1: {
var _Bl = _48(_3l, _4l, _88(_3l, _4l, 0), _Vm(33, 40), 1, 3);
_vl(_Bl, "stamina", 1);
_vl(_Bl, "max_stamina", 1);
return _Bl;
break;
}
case 2: {
var _Bl = _48(_3l, _4l, _88(_3l, _4l, 0), 0, 1, 4);
_vl(_Bl, "attitude", _Vm(5, 15));
return _Bl;
break;
}
}
}
function _H4(_3l, _4l, _5l) {
{
var _2s = _8l(42);
for (var _3s in _2s) {
if (!_2s.hasOwnProperty(_3s)) continue;
var _4s = _2s[_3s];
if (_4s._bl) continue;
if (!_4s._cl) continue;
{
while (yyfless(_el(_4s._Bn), _5l)) {
{
var _Bl = _48(_4s, _3l, _88(_4s, _3l, 0), _Vm(22, 40), 1, 10);
do {
{
_vl(_Bl, "teamid", _Sm(31));
}
} while (!yyfnotequal(_il(_Bl, "teamid"), _0m(_3l, _4l, 42)._Fm));
_Cl(_4s._Bn, _Bl);
}
}
_4s._Bn = _b8(_4s, _3l, _4s._Bn, 2);
}
}
}
}
function _I4(_3l, _4l) {
_A9(_3l, _4l, "s_create_draftlist");
{
var _5s = _8l(42);
for (var _6s in _5s) {
if (!_5s.hasOwnProperty(_6s)) continue;
var _7s = _5s[_6s];
if (_7s._bl) continue;
if (!_7s._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_7s._zn)); _dl++) {
_Tm(_hl(_7s._zn, _dl));
}
_8s(_7s._zn);
var _dl = 1;
for (; yyflessequal(_dl, 50); _dl++) {
{
var _9s = _cm(yyfminus(11, _sl(yyfdivide(_sl(_7s._as), 5))), 7, 10);
if (yyfequal(_7s._sm, 2)) {
_9s = 8;
}
var _bs = yyfmod(_sl(_dl), 6);
var _cs = -1;
if (yyCompareVal(_bs, 0, g_GMLMathEpsilon) == 0 || yyCompareVal(_bs, 1, g_GMLMathEpsilon) == 0 || yyCompareVal(_bs, 2, g_GMLMathEpsilon) == 0) {
_cs = 0;
} else if (yyCompareVal(_bs, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_bs, 4, g_GMLMathEpsilon) == 0) {
_cs = 1;
} else if (yyCompareVal(_bs, 5, g_GMLMathEpsilon) == 0) {
_cs = 2;
}
switch (_cs) {
case 0: {
_7s._yn = _Vm(1, 5);
break;
}
case 1: {
_7s._yn = _Vm(6, 9);
break;
}
case 2: {
_7s._yn = 10;
_9s = yyftime(_9s, 0.7);
break;
}
}
var _Bl = _48(_7s, _3l, _7s._yn, 21, 1, round(_9s));
_9s = yyftime(_9s, 0.9);
if (yyGetBool(yyfequal(_7s._yn, 1)) && yyGetBool(yyfgreater(_il(_Bl, "strength"), 4))) {
_vl(_Bl, "strength", 4);
}
_Cl(_7s._zn, _Bl);
}
}
_7s._zn = _b8(_7s, _3l, _7s._zn, 2);
_25(_7s, _3l);
}
}
}
}
function _J4(_3l, _4l, _5l) {
_A9(_3l, _4l, "s_create_hirelist");
var _ds = _5l;
var _es = _H8(_3l, _4l, 102);
var _fs = _H8(_3l, _4l, 101);
var _gs = _il(_es, "rating");
var _hs = _il(_fs, "rating");
{
var _is = _8l(42);
for (var _js in _is) {
if (!_is.hasOwnProperty(_js)) continue;
var _ks = _is[_js];
if (_ks._bl) continue;
if (!_ks._cl) continue;
{
if (yyGetBool(_ds)) {
{
var _Wr = _el(_ks._Wo);
if (yyGetBool(_Wr)) {
{
var _dl = _Sm(yyfminus(_sl(_Wr), 1));
_Tm(_hl(_ks._Wo, _dl));
_El(_ks._Wo, _dl);
}
}
}
}
while (yyfless(_M4(_ks, _3l, 102), 4)) {
{
_Cl(_ks._Wo, _F8(_ks, _3l, 102, _cm(yyfplus(_sl(_gs), _sl(_Sm(6))), 2, 10)));
}
}
while (yyfless(_M4(_ks, _3l, 101), 4)) {
{
_Cl(_ks._Wo, _F8(_ks, _3l, 101, _cm(yyfplus(_sl(_hs), _sl(_Sm(6))), 2, 10)));
}
}
_ks._Wo = _G8(_ks, _3l, _ks._Wo);
}
}
}
}
function _K4(_3l, _4l, _5l) {
_A9(_3l, _4l, "s_create_storelist");
var _ds = _5l;
{
var _ls = _8l(42);
for (var _ms in _ls) {
if (!_ls.hasOwnProperty(_ms)) continue;
var _ns = _ls[_ms];
if (_ns._bl) continue;
if (!_ns._cl) continue;
{
var _Wr = _el(_ns._Cn);
if (yyGetBool(_ds) && yyGetBool(_Wr)) {
{
var _dl = _Sm(yyfminus(_sl(_Wr), 1));
_Tm(_hl(_ns._Cn, _dl));
_El(_ns._Cn, _dl);
_Wr = yyfminus(_Wr, 1);
}
}
var _dl = 1;
for (; yyfless(_dl, 11); _dl++) {
{
if (yyfequal(_N4(_ns, _3l, _dl), 0)) {
{
if (yyfequal(_dl, 9)) {
continue;
}
_Cl(_ns._Cn, _L4(_ns, _3l, _dl));
}
}
}
}
_A9(_ns, _3l, yyfplus("Storelist size = ", _sl(_ul(_el(_ns._Cn)))));
_ns._Cn = _G8(_ns, _3l, _ns._Cn);
}
}
}
}
function _L4(_3l, _4l, _5l) {
_A9(_3l, _4l, "s_create_player_storelist");
var _yn = _5l;
var _Bl = _48(_3l, _4l, _yn, yyfplus(22, _sl(_Sm(6))), 8, 10);
_vl(_Bl, "attitude", _Vm(50, 100));
_vl(_Bl, "creditcost", round(yyfplus(_sl(_98(_3l, _4l, _Bl)), _sl(yyftime(_sl(_il(_Bl, "salary")), 0.4)))));
_vl(_Bl, "contract", 3);
return _Bl;
}
function _M4(_3l, _4l, _5l) {
{
var _os = _8l(42);
for (var _ps in _os) {
if (!_os.hasOwnProperty(_ps)) continue;
var _qs = _os[_ps];
if (_qs._bl) continue;
if (!_qs._cl) continue;
{
var _rl = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_qs._Wo)); _dl++) {
{
var _Bl = _hl(_qs._Wo, _dl);
if (yyfequal(_il(_Bl, "position"), _5l)) {
_rl++;
}
}
}
return _rl;
}
}
}
}
function _N4(_3l, _4l, _5l) {
{
var _rs = _8l(42);
for (var _ss in _rs) {
if (!_rs.hasOwnProperty(_ss)) continue;
var _ts = _rs[_ss];
if (_ts._bl) continue;
if (!_ts._cl) continue;
{
var _rl = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_ts._Cn)); _dl++) {
{
var _Bl = _hl(_ts._Cn, _dl);
if (yyfequal(_il(_Bl, "position"), _5l)) {
_rl++;
}
}
}
return _rl;
}
}
}
}
function _O4(_3l, _4l, _5l) {
{
var _us = _8l(42);
for (var _vs in _us) {
if (!_us.hasOwnProperty(_vs)) continue;
var _ws = _us[_vs];
if (_ws._bl) continue;
if (!_ws._cl) continue;
{
var _Xo = _yl();
var _xs = _5l;
var _dl = 0;
for (; yyfless(_dl, _el(_ws._Wo)); _dl++) {
{
var _Bl = _hl(_ws._Wo, _dl);
if (yyfequal(_il(_Bl, "position"), _xs)) {
_Cl(_Xo, _Bl);
}
}
}
return _Xo;
}
}
}
}
function _P4(_3l, _4l) {
{
var _ys = _8l(42);
for (var _zs in _ys) {
if (!_ys.hasOwnProperty(_zs)) continue;
var _As = _ys[_zs];
if (_As._bl) continue;
if (!_As._cl) continue;
{
_As._Sn = _vp(_As._Sn, 1958150832);
_As._Sn[_wp(0)] = yyfplus(_As._Sn[_wp(0)], 1);
_As._Sn[_wp(1)] = yyfplus(_As._Sn[_wp(1)], 1);
_As._Sn[_wp(2)] = yyfplus(_As._Sn[_wp(2)], 1);
_25(_As, _3l);
}
}
}
}
function _Q4(_3l, _4l) {
{
var _Bs = _8l(16);
for (var _Cs in _Bs) {
if (!_Bs.hasOwnProperty(_Cs)) continue;
var _Ds = _Bs[_Cs];
if (_Ds._bl) continue;
if (!_Ds._cl) continue;
_lp(_Ds);
}
}
var _Es = 48;
var _Fs = 48;
var _Gs = yyftime(_sl(yyfminus(_sl(_0m(_3l, _4l, 42)._Io), 1)), 10);
var _Hs = min(yyfplus(_sl(_Gs), 10), _el(_0m(_3l, _4l, 42)._zn));
var _rl = 0;
var _Is = _Gs;
for (; yyfless(_Is, _Hs); _Is++) {
{
_3l._Js = _vp(_3l._Js, 4083195518);
_3l._Js[_wp(_rl)] = _Oq(_Es, _Fs, "Instances", 16);
_Es = yyfplus(_Es, 80);
_0m(_3l, _4l, _3l._Js[_Tn(_rl, _3l._Js)])._Bl = _hl(_0m(_3l, _4l, 42)._zn, _Is);
if (yyfequal(_rl++, 4)) {
{
_Es = 48;
_Fs = yyfplus(_Fs, 88);
}
}
}
}
var _Ks = yyfplus(yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Page")), " "), _sl(_ul(_0m(_3l, _4l, 42)._Io))), "/"), _sl(_ul(_3l._Jo)));
if (yyflessequal(_3l._Jo, 1)) {
_Ks = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Page")), " "), _sl(_ul(_0m(_3l, _4l, 42)._Io)));
}
_0m(_3l, _4l, 100028)._mm = _Ks;
_0m(_3l, _4l, 100026)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100027)._4a = 1 ? 1 : 0;
if (yyfequal(_0m(_3l, _4l, 42)._Io, 1)) {
_0m(_3l, _4l, 100026)._4a = 0 ? 1 : 0;
}
if (yyfequal(_0m(_3l, _4l, 42)._Io, _3l._Jo)) {
_0m(_3l, _4l, 100027)._4a = 0 ? 1 : 0;
}
}
function _R4(_3l, _4l) {
_A9(_3l, _4l, "s_update_freeagents");
{
var _Ls = _8l(16);
for (var _Ms in _Ls) {
if (!_Ls.hasOwnProperty(_Ms)) continue;
var _Ns = _Ls[_Ms];
if (_Ns._bl) continue;
if (!_Ns._cl) continue;
_lp(_Ns);
}
}
var _xn = _0m(_3l, _4l, 42)._An;
var _Wr = _el(_xn);
if (yyfless(_Wr, 1)) {
{
_A9(_3l, _4l, "tradeoffer");
_xn = _0m(_3l, _4l, 42)._Bn;
_Wr = _el(_xn);
_0m(_3l, _4l, 100081)._mm = _Q8(_3l, _4l, "ui_TradeOffer");
}
}
var _Os = round(yyftime(_sl(_rn._Ps), 0.5));
var _Qs = round(yyftime(_sl(_rn._Rs), 0.45));
var _Ss = yyfplus(_sl(_Ts(109)), 8);
if (yyfgreater(_Wr, 5)) {
{
_Qs = yyfminus(_Qs, 44);
_Os = yyfminus(_Os, yyftime(4, _sl(yyftime(_sl(_Ss), 0.5))));
}
} else {
{
_Os = yyfminus(_Os, yyftime(_sl(yyfminus(_sl(_Wr), 1)), _sl(yyftime(_sl(_Ss), 0.5))));
}
}
var _dl = 0;
for (; yyfless(_dl, _Wr); _dl++) {
{
_3l._Js = _vp(_3l._Js, 4083195518);
_3l._Js[_wp(_dl)] = _Oq(0, 0, "Instances", 16);
_0m(_3l, _4l, _3l._Js[_Tn(_dl, _3l._Js)])._Bl = _hl(_xn, _dl);
_0m(_3l, _4l, _3l._Js[_Tn(_dl, _3l._Js)])._kr(yyfminus(_sl(_Os), _sl(yyftime(_sl(_Ss), 0.5))));
_0m(_3l, _4l, _3l._Js[_Tn(_dl, _3l._Js)])._Us(yyfminus(_sl(_Qs), _sl(yyftime(_sl(_0m(_3l, _4l, _3l._Js[_Tn(0, _3l._Js)])._Vs()), 0.5))));
_Os = yyfplus(_Os, _Ss);
if (yyfequal(_dl, 4)) {
{
var _ql = yyfminus(_sl(_Wr), 5);
_Os = yyftime(_sl(_rn._Ps), 0.5);
_Os = yyfminus(_Os, yyftime(_sl(yyfminus(_sl(_ql), 1)), _sl(yyftime(_sl(_Ss), 0.5))));
_Qs = yyfplus(_Qs, 88);
}
}
}
}
}
function _S4(_3l, _4l) {
{
var _Ws = _8l(42);
for (var _Xs in _Ws) {
if (!_Ws.hasOwnProperty(_Xs)) continue;
var _Ys = _Ws[_Xs];
if (_Ys._bl) continue;
if (!_Ys._cl) continue;
{
if (yyfless(_Ys._Zn, 1)) {
return 0;
}
if (yyfgreater(_Ys._Zn, 3)) {
return 0;
}
return _Ys._Sn[_Tn(yyfminus(_sl(_Ys._Zn), 1), _Ys._Sn)];
}
}
}
}
function _T4(_3l, _4l, _5l) {
var _Zs = _5l;
{
var __s = _8l(42);
for (var _0t in __s) {
if (!__s.hasOwnProperty(_0t)) continue;
var _1t = __s[_0t];
if (_1t._bl) continue;
if (!_1t._cl) continue;
{
if (yyfless(_Zs, 1)) {
return 0;
}
if (yyfgreater(_Zs, 3)) {
return 0;
}
return _1t._Sn[_Tn(yyfminus(_sl(_Zs), 1), _1t._Sn)];
}
}
}
}
function _U4(_3l, _4l, _5l) {
var _Yp = _98(_3l, _4l, _5l);
if (yyfgreaterequal(_Yp, 8)) {
return 1;
}
if (yyfgreaterequal(_Yp, 4)) {
return 2;
}
return 3;
}
function _V4(_3l, _4l, _5l) {
var _Yp = _5l;
if (yyfgreaterequal(_Yp, 8)) {
return 1;
}
if (yyfgreaterequal(_Yp, 4)) {
return 2;
}
return 3;
}
function _W4(_3l, _4l, _5l) {
var _Bl = _5l;
var _On = yyfmod(
_sl(
round(
yyfplus(
yyfplus(yyfplus(yyfplus(yyfplus(yyfplus(_sl(_0m(_3l, _4l, 42)._Nl), _sl(_il(_Bl, "skill"))), _sl(_il(_Bl, "strength"))), _sl(_il(_Bl, "stamina"))), _sl(_il(_Bl, "speed"))), _sl(_il(_Bl, "age"))),
_sl(_il(_Bl, "attitude"))
)
)
),
32
);
if (yyfequal(_On, _0m(_3l, _4l, 42)._Fm)) {
_On++;
}
if (yyfless(_On, 0)) {
_On = 31;
}
if (yyfgreater(_On, 31)) {
_On = 0;
}
return _i9(_3l, _4l, _On);
}
function _X4(_3l, _4l) {
var _dl = 0;
for (; yyfless(_dl, _el(_0m(_3l, _4l, 42)._Um)); _dl++) {
{
var _Bl = _hl(_0m(_3l, _4l, 42)._Um, _dl);
_vl(_Bl, "outtrade_pick", 0);
_vl(_Bl, "intrade_pick", 0);
}
}
_25(_3l, _4l);
}
function _Y4(_3l, _4l) {
{
var _2t = _8l(42);
for (var _3t in _2t) {
if (!_2t.hasOwnProperty(_3t)) continue;
var _4t = _2t[_3t];
if (_4t._bl) continue;
if (!_4t._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_4t._Bn)); _dl++) {
_Tm(_hl(_4t._Bn, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_4t._An)); _dl++) {
_Tm(_hl(_4t._An, _dl));
}
_8s(_4t._Bn);
_8s(_4t._An);
}
}
}
_25(_3l, _4l);
}
function _Z4(_3l, _4l, _5l) {
var _5t = _5l;
_A9(_3l, _4l, "s_end_draft_round");
{
var _6t = _8l(42);
for (var _7t in _6t) {
if (!_6t.hasOwnProperty(_7t)) continue;
var _8t = _6t[_7t];
if (_8t._bl) continue;
if (!_8t._cl) continue;
{
var _9t = _8t._Zn;
var _at = -1;
if (yyCompareVal(_9t, 1, g_GMLMathEpsilon) == 0) {
_at = 0;
} else if (yyCompareVal(_9t, 2, g_GMLMathEpsilon) == 0) {
_at = 1;
} else if (yyCompareVal(_9t, 3, g_GMLMathEpsilon) == 0) {
_at = 2;
}
switch (_at) {
case 0: {
while (yyfgreater(_el(_8t._zn), 35)) {
{
var _dl = _Sm(5);
_Tm(_hl(_8t._zn, _dl));
_El(_8t._zn, _dl);
}
}
break;
}
case 1: {
while (yyfgreater(_el(_8t._zn), 20)) {
{
var _dl = _Sm(5);
_Tm(_hl(_8t._zn, _dl));
_El(_8t._zn, _dl);
}
}
break;
}
case 2: {
var _Wr = _el(_8t._zn);
if (yyfgreater(_Wr, yyftime(_sl(_8t._Sn[_Tn(2, _8t._Sn)]), 2))) {
{
var _dl = _Sm(yyfminus(_sl(_Wr), 1));
_Tm(_hl(_8t._zn, _dl));
_El(_8t._zn, _dl);
}
}
break;
}
}
_8t._Sn = _vp(_8t._Sn, 1962719203);
_8t._Sn[_wp(yyfminus(_sl(_8t._Zn), 1))] = 0;
_8t._Zn++;
_8t._Io = 1;
if (yyGetBool(_5t)) {
_8t._Zn = 4;
}
if (yyfgreater(_8t._Zn, 3)) {
{
var _dl = 0;
for (; yyfless(_dl, _el(_8t._zn)); _dl++) {
_Tm(_hl(_8t._zn, _dl));
}
_8s(_8t._zn);
_P4(_8t, _3l);
_Z7(_8t, _3l, _Q8(_8t, _3l, "news_DraftEnded"));
_8t._1m = 1;
_3m(4);
}
} else {
{
_0m(_3l, _4l, 42)._bt = 1 ? 1 : 0;
_3m(3);
}
}
}
}
}
}
function __4(_3l, _4l) {
{
var _ct = _8l(42);
for (var _dt in _ct) {
if (!_ct.hasOwnProperty(_dt)) continue;
var _et = _ct[_dt];
if (_et._bl) continue;
if (!_et._cl) continue;
{
_Y4(_et, _3l);
var _ft = _yl();
var _dl = 0;
for (; yyfless(_dl, _el(_et._Um)); _dl++) {
{
var _Bl = _hl(_et._Um, _dl);
_vl(_Bl, "age", yyfplus(_sl(_il(_Bl, "age")), 1));
_vl(_Bl, "contract", yyfminus(_sl(_il(_Bl, "contract")), 1));
_vl(_Bl, "condition", _Vm(90, 100));
if (yyfgreater(_il(_Bl, "age"), 30)) {
_vl(_Bl, "stamina", _cm(yyfminus(_sl(_il(_Bl, "stamina")), 1), 1, 10));
}
if (yyfgreater(_il(_Bl, "age"), 30)) {
{
var _gt = _Sm(1);
var _ht = -1;
if (yyCompareVal(_gt, 0, g_GMLMathEpsilon) == 0) {
_ht = 0;
} else if (yyCompareVal(_gt, 1, g_GMLMathEpsilon) == 0) {
_ht = 1;
}
switch (_ht) {
case 0: {
_vl(_Bl, "speed", _cm(yyfminus(_sl(_il(_Bl, "speed")), 1), 1, 10));
break;
}
case 1: {
_vl(_Bl, "strength", _cm(yyfminus(_sl(_il(_Bl, "strength")), 1), 1, 10));
break;
}
}
}
}
if (yyfgreaterequal(_il(_Bl, "age"), 35)) {
{
_Cl(_ft, _Bl);
var _Ol = _Q8(_et, _3l, "news_PlayerRetired");
_Ol = _Pl(_Ol, "$teamname", _l9(_et, _3l, _et._Fm));
_Ol = _T8(_et, _3l, _Ol, _Bl);
_Z7(_et, _3l, _Ol);
}
} else {
if (yyfless(_il(_Bl, "contract"), 1)) {
{
_vl(_Bl, "salary", _05(_et, _3l, _Bl));
_vl(_Bl, "contract", _Vm(2, 3));
if (yyfgreater(_il(_Bl, "age"), 32)) {
_vl(_Bl, "contract", 1);
}
if (yyfless(_il(_Bl, "age"), 35)) {
{
_Cl(_et._An, _Bl);
}
}
}
}
}
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_et._An)); _dl++) {
{
var _yn = _Dl(_et._Um, _hl(_et._An, _dl));
_El(_et._Um, _yn);
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_ft)); _dl++) {
{
var _yn = _Dl(_et._Um, _hl(_ft, _dl));
_El(_et._Um, _yn);
_Tm(_hl(_ft, _dl));
}
}
_Fl(_ft);
_et._it = 0 ? 1 : 0;
var _jt = _yl();
var _dl = 0;
for (; yyfless(_dl, _el(_et._Vo)); _dl++) {
{
var _Bl = _hl(_et._Vo, _dl);
_vl(_Bl, "age", yyfplus(_sl(_il(_Bl, "age")), 1));
_vl(_Bl, "contract", yyfminus(_sl(_il(_Bl, "contract")), 1));
if (yyfgreater(_il(_Bl, "age"), 65)) {
{
var _Ol = _Q8(_et, _3l, "msg_StaffRetired");
_Ol = _Pl(_Ol, "$position", _a9(_et, _3l, _il(_Bl, "position")));
_Ol = _Pl(_Ol, "$hirename", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_Z7(_et, _3l, _Ol);
_Cl(_jt, _Bl);
}
} else {
if (yyfless(_il(_Bl, "contract"), 1)) {
{
var _Ol = _Q8(_et, _3l, "msg_StaffExpired");
_Ol = _Pl(_Ol, "$position", _a9(_et, _3l, _il(_Bl, "position")));
_Ol = _Pl(_Ol, "$hirename", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_Z7(_et, _3l, _Ol);
_Cl(_jt, _Bl);
}
}
}
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_jt)); _dl++) {
{
var _yn = _Dl(_et._Vo, _hl(_jt, _dl));
_El(_et._Vo, _yn);
_Tm(_hl(_jt, _dl));
}
}
_Fl(_jt);
if (yyfequal(_H8(_et, _3l, 101), -4)) {
{
_Cl(_et._Vo, _F8(_et, _3l, 101, 1));
}
}
if (yyfequal(_H8(_et, _3l, 102), -4)) {
{
_Cl(_et._Vo, _F8(_et, _3l, 102, 1));
}
}
}
}
}
}
function _05(_3l, _4l, _5l) {
var _Bl = _5l;
var _Yp = _98(_3l, _4l, _Bl);
var _kt = 0;
var _lt = _il(_Bl, "position");
var _mt = -1;
if (yyCompareVal(_lt, 1, g_GMLMathEpsilon) == 0) {
_mt = 0;
} else if (yyCompareVal(_lt, 2, g_GMLMathEpsilon) == 0) {
_mt = 1;
} else if (yyCompareVal(_lt, 3, g_GMLMathEpsilon) == 0) {
_mt = 2;
} else if (yyCompareVal(_lt, 4, g_GMLMathEpsilon) == 0) {
_mt = 3;
} else if (yyCompareVal(_lt, 5, g_GMLMathEpsilon) == 0) {
_mt = 4;
} else if (yyCompareVal(_lt, 6, g_GMLMathEpsilon) == 0) {
_mt = 5;
} else if (yyCompareVal(_lt, 7, g_GMLMathEpsilon) == 0) {
_mt = 6;
} else if (yyCompareVal(_lt, 8, g_GMLMathEpsilon) == 0) {
_mt = 7;
} else if (yyCompareVal(_lt, 9, g_GMLMathEpsilon) == 0) {
_mt = 8;
} else if (yyCompareVal(_lt, 10, g_GMLMathEpsilon) == 0) {
_mt = 9;
}
switch (_mt) {
case 0: {
_kt = yyftime(_sl(_Yp), 2);
break;
}
case 1: {
_kt = yyftime(_sl(_Yp), 1);
break;
}
case 2: {
_kt = yyftime(_sl(_Yp), 0.75);
break;
}
case 3: {
_kt = yyftime(_sl(_Yp), 1.25);
break;
}
case 4: {
_kt = yyftime(_sl(_Yp), 1.2);
break;
}
case 5: {
_kt = yyftime(_sl(_Yp), 1.2);
break;
}
case 6: {
_kt = yyftime(_sl(_Yp), 1.1);
break;
}
case 7: {
_kt = yyftime(_sl(_Yp), 1.1);
break;
}
case 8: {
_kt = yyftime(_sl(_Yp), 0.9);
break;
}
case 9: {
_kt = yyftime(_sl(_Yp), 0.5);
break;
}
}
_kt = yyftime(_kt, 3);
if (yyfequal(_il(_Bl, "age"), 21)) {
_kt = yyftime(_kt, 0.5);
}
if (yyfequal(_il(_Bl, "age"), 32)) {
_kt = yyftime(_kt, 0.75);
}
if (yyfgreaterequal(_il(_Bl, "age"), 33)) {
_kt = yyftime(_kt, 0.5);
}
return round(_kt);
}
function _15(_3l, _4l) {
{
var _nt = _8l(42);
for (var _ot in _nt) {
if (!_nt.hasOwnProperty(_ot)) continue;
var _pt = _nt[_ot];
if (_pt._bl) continue;
if (!_pt._cl) continue;
{
if (!yyGetBool(_pt._it)) {
{
var _dl = 0;
for (; yyfless(_dl, _el(_pt._An)); _dl++) {
{
var _Bl = _hl(_pt._An, _dl);
if (yyfnotequal(_il(_Bl, "signed_year"), 0)) {
{
var _Ol = _Q8(_pt, _3l, "msg_OutOfContractPlayers");
if (yyfequal(_el(_pt._An), 1)) {
{
_Ol = _Q8(_pt, _3l, "msg_OutOfContractPlayer");
_Ol = _Pl(_Ol, "$position", _a9(_pt, _3l, _il(_Bl, "position")));
_Ol = _Pl(_Ol, "$playername", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
}
}
_T7(_pt, _3l, "", _Ol, _Q8(_pt, _3l, "ui_Continue"), "", 332, "", global._Ll, 1);
_pt._it = 1 ? 1 : 0;
return;
}
}
}
}
}
}
}
}
}
}
function _25(_3l, _4l) {
_A9(_3l, _4l, "<<< s_savegame >>>");
_65(_3l, _4l);
{
var _qt = _8l(42);
for (var _rt in _qt) {
if (!_qt.hasOwnProperty(_rt)) continue;
var _st = _qt[_rt];
if (_st._bl) continue;
if (!_st._cl) continue;
{
_tt(global._ap);
_ut("savegame", "year", _st._sm);
_ut("savegame", "week", _st._Nl);
_ut("savegame", "stage", _st._1m);
_ut("savegame", "intro", _st._cq);
_vt("savegame", "fname", _st._lm);
_vt("savegame", "lname", _st._nm);
_ut("savegame", "myteam_id", _st._Fm);
_ut("savegame", "favourite_team_id", _st._Em);
_ut("savegame", "suppress_difficulty", _st._wt);
_ut("savegame", "salary_cap", _st._Kn);
_ut("savegame", "prematch_dilemma_done", _st._pq);
_ut("savegame", "tip_count", _st._vq);
_ut("savegame", "matchcount", _st._xt);
_ut("savegame", "coach_credit", _st._Jl);
_ut("savegame", "coach_rating", _st._as);
_ut("savegame", "fans", _st._Lp);
_ut("savegame", "facility_stadium", _st._Kl);
_ut("savegame", "facility_training", _st._Tl);
_ut("savegame", "facility_rehab", _st._Yl);
_ut("savegame", "facility_upgraded_stadium", _st._Ml);
_ut("savegame", "facility_upgraded_training", _st._Ul);
_ut("savegame", "facility_upgraded_rehab", _st._Zl);
_ut("savegame", "draft_round", _st._Zn);
_ut("savegame", "draft_picks_0", _st._Sn[_Tn(0, _st._Sn)]);
_ut("savegame", "draft_picks_1", _st._Sn[_Tn(1, _st._Sn)]);
_ut("savegame", "draft_picks_2", _st._Sn[_Tn(2, _st._Sn)]);
_ut("savegame", "draft_info_done", _st._yt);
_ut("savegame", "expiredcontract_msg_done", _st._it);
_ut("savegame", "offers_done", _st._Sr);
var _dl = 0;
for (; yyfless(_dl, 3); _dl++) {
{
_ut("savegame", yyfplus("stat_games", _sl(_ul(_dl))), _st._zt[_Tn(_dl, _st._zt)]);
_ut("savegame", yyfplus("stat_comp", _sl(_ul(_dl))), _st._At[_Tn(_dl, _st._At)]);
_ut("savegame", yyfplus("stat_att", _sl(_ul(_dl))), _st._Bt[_Tn(_dl, _st._Bt)]);
_ut("savegame", yyfplus("stat_yds", _sl(_ul(_dl))), _st._Ct[_Tn(_dl, _st._Ct)]);
_ut("savegame", yyfplus("stat_td", _sl(_ul(_dl))), _st._Dt[_Tn(_dl, _st._Dt)]);
_ut("savegame", yyfplus("stat_int", _sl(_ul(_dl))), _st._Et[_Tn(_dl, _st._Et)]);
_ut("savegame", yyfplus("stat_sck", _sl(_ul(_dl))), _st._Ft[_Tn(_dl, _st._Ft)]);
}
}
_vt("savegame", "news", _Gt(_st._hm));
_vt("savegame", "dilemma_tags", _Gt(_st._kp));
var _Wr = _el(_st._Bm);
_A9(_st, _3l, yyfplus("teamlist size = ", _sl(_ul(_Wr))));
_ut("savegame", "teamlist", _Wr);
var _Ht = 0;
for (; yyfless(_Ht, _Wr); _Ht++) {
{
var _or = _It(_hl(_st._Bm, _Ht));
_vt("savegame", yyfplus("teamlist_", _sl(_ul(_Ht))), _or);
}
}
var _Wr = _el(_st._fl);
_ut("savegame", "achievements", _Wr);
var _Ht = 0;
for (; yyfless(_Ht, _Wr); _Ht++) {
{
var _Jt = _hl(_st._fl, _Ht);
_vt("savegame", yyfplus("achievements_", _sl(_ul(_Ht))), _It(_Jt));
}
}
var _Wr = _el(_st._hp);
_ut("savegame", "history", _Wr);
var _Ht = 0;
for (; yyfless(_Ht, _Wr); _Ht++) {
{
var _or = _It(_hl(_st._hp, _Ht));
_vt("savegame", yyfplus("history_", _sl(_ul(_Ht))), _or);
}
}
_Wr = _el(_st._ip);
_ut("savegame", "schedule", _Wr);
var _Ht = 0;
for (; yyfless(_Ht, _Wr); _Ht++) {
{
var _or = _It(_hl(_st._ip, _Ht));
_vt("savegame", yyfplus("schedule_", _sl(_ul(_Ht))), _or);
}
}
_Wr = _el(_st._Im);
_ut("savegame", "fixturelist", _Wr);
var _Ht = 0;
for (; yyfless(_Ht, _Wr); _Ht++) {
{
var _or = _It(_hl(_st._Im, _Ht));
_vt("savegame", yyfplus("fixture_", _sl(_ul(_Ht))), _or);
}
}
_Wr = _el(_st._jp);
_ut("savegame", "playoffs", _Wr);
var _Ht = 0;
for (; yyfless(_Ht, _Wr); _Ht++) {
{
var _or = _It(_hl(_st._jp, _Ht));
_vt("savegame", yyfplus("playoff_", _sl(_ul(_Ht))), _or);
}
}
_Wr = _el(_st._zn);
_ut("savegame", "draftlist", _Wr);
var _Is = 0;
for (; yyfless(_Is, _Wr); _Is++) {
{
var _or = _It(_hl(_st._zn, _Is));
_vt("savegame", yyfplus("draftlist_", _sl(_ul(_Is))), _or);
}
}
_Wr = _el(_st._Wo);
_ut("savegame", "hirelist", _Wr);
var _Is = 0;
for (; yyfless(_Is, _Wr); _Is++) {
{
var _or = _It(_hl(_st._Wo, _Is));
_vt("savegame", yyfplus("hirelist_", _sl(_ul(_Is))), _or);
}
}
_Wr = _el(_st._Cn);
_ut("savegame", "storelist", _Wr);
var _Is = 0;
for (; yyfless(_Is, _Wr); _Is++) {
{
var _or = _It(_hl(_st._Cn, _Is));
_vt("savegame", yyfplus("storelist_", _sl(_ul(_Is))), _or);
}
}
_Wr = _el(_st._Bn);
_ut("savegame", "tradelist", _Wr);
var _Is = 0;
for (; yyfless(_Is, _Wr); _Is++) {
{
var _or = _It(_hl(_st._Bn, _Is));
_vt("savegame", yyfplus("tradelist_", _sl(_ul(_Is))), _or);
}
}
_Wr = _el(_st._An);
_ut("savegame", "freeagentlist", _Wr);
var _Is = 0;
for (; yyfless(_Is, _Wr); _Is++) {
{
var _or = _It(_hl(_st._An, _Is));
_vt("savegame", yyfplus("freeagentlist_", _sl(_ul(_Is))), _or);
}
}
_Wr = _el(_st._Um);
_ut("savegame", "roster", _Wr);
var _Is = 0;
for (; yyfless(_Is, _Wr); _Is++) {
{
var _or = _It(_hl(_st._Um, _Is));
_vt("savegame", yyfplus("roster_", _sl(_ul(_Is))), _or);
}
}
_Wr = _el(_st._Vo);
_ut("savegame", "stafflist", _Wr);
var _Is = 0;
for (; yyfless(_Is, _Wr); _Is++) {
{
var _or = _It(_hl(_st._Vo, _Is));
_vt("savegame", yyfplus("stafflist_", _sl(_ul(_Is))), _or);
}
}
_vt("savegame", "face_grid_L", _Kt(_st._Lt));
_vt("savegame", "face_grid_M", _Kt(_st._Mt));
_vt("savegame", "face_grid_D", _Kt(_st._Nt));
_vt("savegame", "face_grid_C", _Kt(_st._Ot));
_Pt();
}
}
}
}
function _35(_3l, _4l, _5l) {
var _Qt = _5l;
{
var _Rt = _8l(42);
for (var _St in _Rt) {
if (!_Rt.hasOwnProperty(_St)) continue;
var _Tt = _Rt[_St];
if (_Tt._bl) continue;
if (!_Tt._cl) continue;
{
_tt(_Qt);
_A9(_Tt, _3l, yyfplus("loading save data: ", _sl(_Qt)));
_Tt._sm = _Ut("savegame", "year", 1);
_Tt._Nl = _Ut("savegame", "week", 1);
_Tt._1m = _Ut("savegame", "stage", 1);
_Tt._cq = _Ut("savegame", "intro", 1);
_Tt._lm = _Vt("savegame", "fname", "");
_Tt._nm = _Vt("savegame", "lname", "");
_Tt._Fm = _Ut("savegame", "myteam_id", 0);
_Tt._Em = _Ut("savegame", "favourite_team_id", 0);
_Tt._wt = _Ut("savegame", "suppress_difficulty", 5);
_Tt._Kn = _Ut("savegame", "salary_cap", 100);
_Tt._pq = _Ut("savegame", "prematch_dilemma_done", 0);
_Tt._vq = _Ut("savegame", "tip_count", 0);
_Tt._xt = _Ut("savegame", "matchcount", 0);
_Tt._Jl = _Ut("savegame", "coach_credit", 0);
_Tt._as = _Ut("savegame", "coach_rating", 1);
_Tt._Lp = _Ut("savegame", "fans", 30);
_Tt._Kl = _Ut("savegame", "facility_stadium", 1);
_Tt._Tl = _Ut("savegame", "facility_training", 1);
_Tt._Yl = _Ut("savegame", "facility_rehab", 1);
_Tt._Ml = _Ut("savegame", "facility_upgraded_stadium", 0);
_Tt._Ul = _Ut("savegame", "facility_upgraded_training", 0);
_Tt._Zl = _Ut("savegame", "facility_upgraded_rehab", 0);
_Tt._Zn = _Ut("savegame", "draft_round", 0);
_Tt._Sn = _vp(_Tt._Sn, 3258718046);
_Tt._Sn[_wp(0)] = _Ut("savegame", "draft_picks_0", 0);
_Tt._Sn[_wp(1)] = _Ut("savegame", "draft_picks_1", 0);
_Tt._Sn[_wp(2)] = _Ut("savegame", "draft_picks_2", 0);
_Tt._yt = _Ut("savegame", "draft_info_done", 0);
_Tt._it = _Ut("savegame", "expiredcontract_msg_done", 0);
_Tt._Sr = _Ut("savegame", "offers_done", 0);
_A9(_Tt, _3l, "stats...");
var _dl = 0;
for (; yyfless(_dl, 3); _dl++) {
{
_Tt._zt = _vp(_Tt._zt, 4036674392);
_Tt._zt[_wp(_dl)] = _Ut("savegame", yyfplus("stat_games", _sl(_ul(_dl))), 0);
_Tt._At = _vp(_Tt._At, 1721998117);
_Tt._At[_wp(_dl)] = _Ut("savegame", yyfplus("stat_comp", _sl(_ul(_dl))), 0);
_Tt._Bt = _vp(_Tt._Bt, 4220152282);
_Tt._Bt[_wp(_dl)] = _Ut("savegame", yyfplus("stat_att", _sl(_ul(_dl))), 0);
_Tt._Ct = _vp(_Tt._Ct, 190261364);
_Tt._Ct[_wp(_dl)] = _Ut("savegame", yyfplus("stat_yds", _sl(_ul(_dl))), 0);
_Tt._Dt = _vp(_Tt._Dt, 3594773744);
_Tt._Dt[_wp(_dl)] = _Ut("savegame", yyfplus("stat_td", _sl(_ul(_dl))), 0);
_Tt._Et = _vp(_Tt._Et, 679304268);
_Tt._Et[_wp(_dl)] = _Ut("savegame", yyfplus("stat_int", _sl(_ul(_dl))), 0);
_Tt._Ft = _vp(_Tt._Ft, 3036720114);
_Tt._Ft[_wp(_dl)] = _Ut("savegame", yyfplus("stat_sck", _sl(_ul(_dl))), 0);
}
}
_Tt._hm = _yl();
_Tt._kp = _yl();
_Tt._Bm = _yl();
_Tt._fl = _yl();
_Tt._hp = _yl();
_Tt._ip = _yl();
_Tt._Im = _yl();
_Tt._jp = _yl();
_Tt._zn = _yl();
_Tt._Wo = _yl();
_Tt._Cn = _yl();
_Tt._Bn = _yl();
_Tt._An = _yl();
_Tt._Um = _yl();
_Tt._Vo = _yl();
_Tt._Lt = _Wt(8, 3);
_Tt._Mt = _Wt(8, 1);
_Tt._Nt = _Wt(8, 8);
_Tt._Ot = _Wt(9, 4);
_Xt(_Tt._Lt, 0);
_Xt(_Tt._Mt, 0);
_Xt(_Tt._Nt, 0);
_Xt(_Tt._Ot, 0);
_Yt(_Tt._hm, _Vt("savegame", "news", "0"));
_Yt(_Tt._kp, _Vt("savegame", "dilemma_tags", "0"));
_Tt._Wr = _Ut("savegame", "teamlist", 0);
_A9(_Tt, _3l, yyfplus("teamlist size=", _sl(_ul(_Tt._Wr))));
var _Ht = 0;
for (; yyfless(_Ht, _Tt._Wr); _Ht++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("teamlist_", _sl(_ul(_Ht))), ""));
_Cl(_Tt._Bm, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "achievements", 0);
_A9(_Tt, _3l, yyfplus("achievements size=", _sl(_ul(_Tt._Wr))));
var _Ht = 0;
for (; yyfless(_Ht, _Tt._Wr); _Ht++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("achievements_", _sl(_ul(_Ht))), ""));
_Cl(_Tt._fl, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "history", 0);
_A9(_Tt, _3l, yyfplus("history size=", _sl(_ul(_Tt._Wr))));
var _Ht = 0;
for (; yyfless(_Ht, _Tt._Wr); _Ht++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("history_", _sl(_ul(_Ht))), ""));
_Cl(_Tt._hp, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "schedule", 0);
_A9(_Tt, _3l, yyfplus("schedule size=", _sl(_ul(_Tt._Wr))));
var _Ht = 0;
for (; yyfless(_Ht, _Tt._Wr); _Ht++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("schedule_", _sl(_ul(_Ht))), ""));
_Cl(_Tt._ip, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "fixturelist", 0);
_A9(_Tt, _3l, yyfplus("fixture size=", _sl(_ul(_Tt._Wr))));
var _Ht = 0;
for (; yyfless(_Ht, _Tt._Wr); _Ht++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("fixture_", _sl(_ul(_Ht))), ""));
_Cl(_Tt._Im, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "playoffs", 0);
_A9(_Tt, _3l, yyfplus("play-off size=", _sl(_ul(_Tt._Wr))));
var _Ht = 0;
for (; yyfless(_Ht, _Tt._Wr); _Ht++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("playoff_", _sl(_ul(_Ht))), ""));
_Cl(_Tt._jp, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "draftlist", 0);
_A9(_Tt, _3l, yyfplus("draft size=", _sl(_ul(_Tt._Wr))));
var _0u = 0;
for (; yyfless(_0u, _Tt._Wr); _0u++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("draftlist_", _sl(_ul(_0u))), ""));
_Cl(_Tt._zn, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "hirelist", 0);
_A9(_Tt, _3l, yyfplus("hire list size=", _sl(_ul(_Tt._Wr))));
var _0u = 0;
for (; yyfless(_0u, _Tt._Wr); _0u++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("hirelist_", _sl(_ul(_0u))), ""));
_Cl(_Tt._Wo, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "storelist", 0);
_A9(_Tt, _3l, yyfplus("storelist size=", _sl(_ul(_Tt._Wr))));
var _0u = 0;
for (; yyfless(_0u, _Tt._Wr); _0u++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("storelist_", _sl(_ul(_0u))), ""));
_Cl(_Tt._Cn, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "tradelist", 0);
_A9(_Tt, _3l, yyfplus("tradelist size=", _sl(_ul(_Tt._Wr))));
var _Is = 0;
for (; yyfless(_Is, _Tt._Wr); _Is++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("tradelist_", _sl(_ul(_Is))), ""));
_Cl(_Tt._Bn, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "freeagentlist", 0);
_A9(_Tt, _3l, yyfplus("freeagentlist size=", _sl(_ul(_Tt._Wr))));
var _Is = 0;
for (; yyfless(_Is, _Tt._Wr); _Is++) {
{
var _Zt = _Dq();
__t(_Zt, _Vt("savegame", yyfplus("freeagentlist_", _sl(_ul(_Is))), ""));
_Cl(_Tt._An, _Zt);
}
}
_Tt._Wr = _Ut("savegame", "roster", 0);
_A9(_Tt, _3l, yyfplus("roster size=", _sl(_ul(_Tt._Wr))));
var _Is = 0;
for (; yyfless(_Is, _Tt._Wr); _Is++) {
{
var _Bl = _Dq();
__t(_Bl, _Vt("savegame", yyfplus("roster_", _sl(_ul(_Is))), ""));
_vl(_Bl, "flash_time", -9999);
_Cl(_Tt._Um, _Bl);
}
}
_Tt._Wr = _Ut("savegame", "stafflist", 0);
_A9(_Tt, _3l, yyfplus("stafflist size=", _sl(_ul(_Tt._Wr))));
var _Is = 0;
for (; yyfless(_Is, _Tt._Wr); _Is++) {
{
var _Bl = _Dq();
__t(_Bl, _Vt("savegame", yyfplus("stafflist_", _sl(_ul(_Is))), ""));
_vl(_Bl, "flash_time", -9999);
if (!yyGetBool(_Xn(_Tt._Vo, "xp_level"))) {
{
_vl(_Bl, "xp_level", _il(_Bl, "rating"));
_vl(_Bl, "xp", 0);
_vl(_Bl, "xp_gain", 0);
}
}
_Cl(_Tt._Vo, _Bl);
}
}
_1u(_Tt._Lt, _Vt("savegame", "face_grid_L", ""));
_1u(_Tt._Mt, _Vt("savegame", "face_grid_M", ""));
_1u(_Tt._Nt, _Vt("savegame", "face_grid_D", ""));
_1u(_Tt._Ot, _Vt("savegame", "face_grid_C", ""));
_Pt();
if (yyfequal(_rn._bp(), -1)) {
{
if (yyGetBool(_2u(global._cp))) {
_9p(global._cp);
}
_3u(_Qt, global._cp);
}
}
_Tt._1m = 1;
}
}
}
_l5(_3l, _4l);
return 1;
}
function _45(_3l, _4l) {
_A9(_3l, _4l, "creating options map...");
{
var _4u = _8l(42);
for (var _5u in _4u) {
if (!_4u.hasOwnProperty(_5u)) continue;
var _6u = _4u[_5u];
if (_6u._bl) continue;
if (!_6u._cl) continue;
{
_6u._1n = _Dq();
_vl(_6u._1n, "my_version", 0);
_vl(_6u._1n, "fullversion", 0);
if (!yyGetBool(global._7u)) {
_vl(_6u._1n, "fullversion", 1);
}
_vl(_6u._1n, "op_soundfx", 1);
_vl(_6u._1n, "op_drivedir", 0);
if (yyGetBool(global._7u)) {
_vl(_6u._1n, "op_drivedir", -1);
}
_vl(_6u._1n, "op_scanlines", 0);
if (!yyGetBool(global._7u)) {
_vl(_6u._1n, "op_scanlines", 1);
}
_vl(_6u._1n, "op_weather", 1);
_vl(_6u._1n, "op_tips", 1);
_vl(_6u._1n, "op_soundfx", 1);
_vl(_6u._1n, "done_review_reward", 0);
_vl(_6u._1n, "op_zoom", 1);
_65(_6u, _3l);
}
}
}
}
function _55(_3l, _4l) {
_A9(_3l, _4l, "loading options...");
{
var _8u = _8l(42);
for (var _9u in _8u) {
if (!_8u.hasOwnProperty(_9u)) continue;
var _au = _8u[_9u];
if (_au._bl) continue;
if (!_au._cl) continue;
{
_au._1n = _bu(global._cu);
if (yyGetBool(_du(_il(_au._1n, "op_tips")))) {
_vl(_au._1n, "op_tips", 1);
}
if (yyGetBool(_du(_il(_au._1n, "op_soundfx")))) {
_vl(_au._1n, "op_soundfx", 1);
}
if (yyGetBool(_du(_il(_au._1n, "op_zoom")))) {
_vl(_au._1n, "op_zoom", 1);
}
if (yyGetBool(_du(_il(_au._1n, "op_music")))) {
_vl(_au._1n, "op_music", 1);
}
}
}
}
}
function _65(_3l, _4l) {
_A9(_3l, _4l, "saving options...");
{
var _eu = _8l(42);
for (var _fu in _eu) {
if (!_eu.hasOwnProperty(_fu)) continue;
var _gu = _eu[_fu];
if (_gu._bl) continue;
if (!_gu._cl) continue;
{
_vl(_gu._1n, "my_version", global._hu);
_iu(_gu._1n, global._cu);
}
}
}
}
function _75(_3l, _4l) {
var _Zt = _Dq();
var _pr = _qr("LanguageUS.txt");
while (!yyGetBool(_rr(_pr))) {
{
var _sr = _tr(_pr);
_ur(_pr);
var _yn = _vr(" ", _sr);
var _ju = _ku(_sr);
_lu(_Zt, _wr(_sr, 1, yyfminus(_sl(_yn), 1)), _wr(_sr, yyfplus(_sl(_yn), 1), yyfminus(_sl(_ju), 1)));
}
}
_xr(_pr);
return _Zt;
}
function _85(_3l, _4l) {
_A9(_3l, _4l, "s_load_teams");
var _xn = _yl();
var _pr = _qr("Teams.txt");
var _mu = _c5(_3l, _4l, _tr(_pr));
_ur(_pr);
while (!yyGetBool(_rr(_pr))) {
{
var _Zt = _Dq();
var _nu = _c5(_3l, _4l, _tr(_pr));
_ur(_pr);
var _dl = 0;
for (; yyfless(_dl, _ou(_mu)); _dl++) {
{
_lu(_Zt, _mu[_Tn(_dl, _mu)], _nu[_Tn(_dl, _nu)]);
}
}
_Cl(_xn, _Zt);
}
}
_xr(_pr);
return _xn;
}
function _95(_3l, _4l) {
_A9(_3l, _4l, "s_load_retrobowl_hof");
var _xn = _yl();
var _pr = _qr("RetroBowlHOF.txt");
var _yn = 0;
var _mu = _c5(_3l, _4l, _tr(_pr));
_ur(_pr);
while (!yyGetBool(_rr(_pr))) {
{
var _Zt = _Dq();
var _nu = _c5(_3l, _4l, _tr(_pr));
_ur(_pr);
var _dl = 0;
for (; yyfless(_dl, _ou(_mu)); _dl++) {
{
_lu(_Zt, _mu[_Tn(_dl, _mu)], _nu[_Tn(_dl, _nu)]);
}
}
_Cl(_xn, _Zt);
}
}
_xr(_pr);
return _xn;
}
function _a5(_3l, _4l) {
_A9(_3l, _4l, "s_load_achievements");
var _xn = _yl();
var _yn = 0;
var _pr = _qr("Achievements.txt");
var _mu = _c5(_3l, _4l, _tr(_pr));
_ur(_pr);
while (!yyGetBool(_rr(_pr))) {
{
var _Zt = _Dq();
var _nu = _c5(_3l, _4l, _tr(_pr));
_ur(_pr);
var _dl = 0;
for (; yyfless(_dl, _ou(_mu)); _dl++) {
{
_lu(_Zt, _mu[_Tn(_dl, _mu)], _nu[_Tn(_dl, _nu)]);
}
}
_Cl(_xn, _Zt);
}
}
_xr(_pr);
return _xn;
} // // slog ("adding fix: "+string(map[? "week"])+":"+string(map[? "away_team"])+"@"+string(map[? "home_team"]));
function _b5(_3l, _4l) {
var _xn = _yl();
var _pr = _qr("Schedule.txt");
var _mu = _c5(_3l, _4l, _tr(_pr));
_ur(_pr);
var _yn = 0;
while (!yyGetBool(_rr(_pr))) {
{
var _Zt = _Dq();
var _nu = _c5(_3l, _4l, _tr(_pr));
_ur(_pr);
var _dl = 0;
for (; yyfless(_dl, _ou(_mu)); _dl++) {
{
_lu(_Zt, _mu[_Tn(_dl, _mu)], _ml(_nu[_Tn(_dl, _nu)]));
}
}
if (yyfequal(yyfminus(_sl(_ml(_il(_Zt, "year"))), 1), yyfmod(_sl(_0m(_3l, _4l, 42)._sm), 4))) {
{
_Cl(_xn, _Zt);
}
} else {
_Tm(_Zt);
}
}
}
_xr(_pr);
return _xn;
}
function _c5(_3l, _4l, _5l) {
var _Ol = _5l;
var _pu = " ";
var _qu = 0;
var _ru;
var _su = "";
var _dl = 1;
for (; yyfless(_dl, yyfplus(_sl(_ku(_Ol)), 1)); _dl++) {
{
var _tu = _wr(_Ol, _dl, 1);
if (yyfequal(_tu, _pu)) {
{
_ru = _vp(_ru, -558);
_ru[_wp(_qu)] = _su;
_qu++;
_su = "";
}
} else {
{
_su = yyfplus(_sl(_su), _sl(_tu));
_ru = _vp(_ru, -558);
_ru[_wp(_qu)] = _su;
}
}
}
}
return _ru;
} // // slog ("Week: "+string(fix[? "week"])+" team "+string(team_id1)+" @ "+string(team_id2));
function _d5(_3l, _4l) {
_A9(_3l, _4l, "s_create_my_fixture_list");
var _uu = _yl();
var _vu = 0;
for (; yyfless(_vu, _el(_3l._ip)); _vu++) {
{
var _wu = _hl(_3l._ip, _vu);
var _xu = _il(_wu, "away_team");
var _yu = _il(_wu, "home_team");
if (yyGetBool(yyfequal(_xu, _3l._Fm)) || yyGetBool(yyfequal(_yu, _3l._Fm))) {
{
var _Zt = _Dq();
_vl(_Zt, "week", _il(_wu, "week"));
_vl(_Zt, "away_team", _xu);
_vl(_Zt, "home_team", _yu);
_vl(_Zt, "away_score", _il(_wu, "away_score"));
_vl(_Zt, "home_score", _il(_wu, "home_score"));
_vl(_Zt, "human_win", "unplayed");
if (yyfgreater(_il(_wu, "away_score"), -1)) {
{
if (yyfequal(_il(_wu, "away_score"), _il(_wu, "home_score"))) {
_vl(_Zt, "human_win", "tie");
} else {
if (yyGetBool(yyfequal(_il(_wu, "away_team"), _3l._Fm)) && yyGetBool(yyfgreater(_il(_wu, "away_score"), _il(_wu, "home_score")))) {
_vl(_Zt, "human_win", "win");
} else {
if (yyGetBool(yyfequal(_il(_wu, "home_team"), _3l._Fm)) && yyGetBool(yyfgreater(_il(_wu, "home_score"), _il(_wu, "away_score")))) {
_vl(_Zt, "human_win", "win");
} else {
_vl(_Zt, "human_win", "loss");
}
}
}
}
}
_Cl(_uu, _Zt);
}
}
}
}
return _uu;
} // slog("create fixture "+string(away_id)+" @ "+string(home_id));
function _e5(_3l, _4l, _5l, _Bq, _Cq, _zu) {
var _xn = _5l;
var _Au = _Bq;
var _Bu = _Cq;
var _Cu = _zu;
_A9(_3l, _4l, yyfplus(yyfplus(yyfplus("create fixture ", _sl(_ul(_Bu))), " @ "), _sl(_ul(_Cu))));
var _wu = _Dq();
_vl(_wu, "week", _Au);
_vl(_wu, "away_team", _Bu);
_vl(_wu, "home_team", _Cu);
_vl(_wu, "away_score", -1);
_vl(_wu, "home_score", -1);
_Cl(_xn, _wu);
if (yyGetBool(yyfequal(_Bu, _0m(_3l, _4l, 42)._Fm)) || yyGetBool(yyfequal(_Cu, _0m(_3l, _4l, 42)._Fm))) {
{
_k5(_3l, _4l, _Au, _Bu, _Cu);
}
}
}
function _f5(_3l, _4l) {
if (yyGetBool(_tl(_0m(_3l, _4l, 42)._jp, 2))) {
{
var _dl = 0;
for (; yyfless(_dl, _el(_3l._jp)); _dl++) {
_Tm(_hl(_0m(_3l, _4l, 42)._jp, _dl));
}
_8s(_0m(_3l, _4l, 42)._jp);
}
}
var _Du = _u5(_3l, _4l, 0, 4);
var _Eu = _n9(_3l, _4l, 0, 5);
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 18, _il(_Eu, "uid"), _il(_Du, "uid"));
var _Fu = _u5(_3l, _4l, 0, 3);
var _Gu = _n9(_3l, _4l, 0, 6);
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 19, _il(_Gu, "uid"), _il(_Fu, "uid"));
var _Hu = _u5(_3l, _4l, 1, 4);
var _Iu = _n9(_3l, _4l, 1, 5);
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 20, _il(_Iu, "uid"), _il(_Hu, "uid"));
var _Ju = _u5(_3l, _4l, 1, 3);
var _Ku = _n9(_3l, _4l, 1, 6);
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 21, _il(_Ku, "uid"), _il(_Ju, "uid"));
var _Lu = _u5(_3l, _4l, 0, 1);
var _Mu = _u5(_3l, _4l, 0, 2);
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 22, -1, _il(_Lu, "uid"));
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 23, _il(_Mu, "uid"), -1);
var _Nu = _u5(_3l, _4l, 1, 1);
var _Ou = _u5(_3l, _4l, 1, 2);
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 24, -1, _il(_Nu, "uid"));
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 25, _il(_Ou, "uid"), -1);
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 26, -1, -1);
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 27, -1, -1);
_e5(_3l, _4l, _0m(_3l, _4l, 42)._jp, 28, -1, -1);
}
function _g5(_3l, _4l, _5l) {
_A9(_3l, _4l, "s_do_schedule");
var _Pu = _5l;
{
var _Qu = _8l(42);
for (var _Ru in _Qu) {
if (!_Qu.hasOwnProperty(_Ru)) continue;
var _Su = _Qu[_Ru];
if (_Su._bl) continue;
if (!_Su._cl) continue;
{
if (yyfgreater(_Su._Nl, 17)) {
{
return _h5(_Su, _3l);
}
}
var _Tu = -4;
var _Uu = -4;
var _Vu = -4;
var _Wu = -4;
var _Xu = -4;
var _Yu = -4;
var _Zu = -4;
var __u = -4;
var _vu = 0;
for (; yyfless(_vu, _el(_Su._ip)); _vu++) {
{
var _wu = _hl(_Su._ip, _vu);
if (yyfequal(_il(_wu, "week"), _Su._Nl)) {
{
var _0v = _il(_wu, "away_team");
var _1v = _il(_wu, "home_team");
var _2v = _hl(_Su._Bm, _0v);
var _3v = _hl(_Su._Bm, _1v);
var _4v = _ml(_il(_2v, "offense"));
_4v = yyfplus(_4v, _ml(_il(_2v, "defense")));
var _5v = _ml(_il(_3v, "offense"));
_5v = yyfplus(_5v, _ml(_il(_3v, "defense")));
_5v = yyfplus(_5v, 1);
var _6v = _i5(_Su, _3l);
var _7v = _i5(_Su, _3l);
if (yyGetBool(yyfequal(_il(_6v, "points"), _il(_7v, "points"))) && yyGetBool(_Sm(2))) {
{
_vl(_7v, "points", yyfplus(_sl(_il(_7v, "points")), 3));
}
}
var _8v = 0 ? 1 : 0;
var _9v = 99;
_9v = abs(yyfminus(_sl(_4v), _sl(_5v)));
_9v = round(yyftime(_sl(_9v), 0.25));
if (yyfgreater(_il(_6v, "points"), _il(_7v, "points"))) {
{
if (yyfless(_4v, _5v)) {
_8v = _Sm(_9v);
}
}
} else {
{
if (yyfgreater(_4v, _5v)) {
_8v = _Sm(_9v);
}
}
}
if (yyGetBool(_8v)) {
{
var _av = _Dq();
_bv(_av, _6v);
_bv(_6v, _7v);
_bv(_7v, _av);
_Tm(_av);
}
}
if (!yyGetBool(_Pu)) {
{
if (yyfequal(_0v, _0m(_3l, _4l, 42)._Fm)) {
{
_vl(_6v, "points", _0m(_3l, _4l, 42)._cv[_Tn(0, _0m(_3l, _4l, 42)._cv)]);
_vl(_6v, "yards", _0m(_3l, _4l, 42)._Ct[_Tn(0, _0m(_3l, _4l, 42)._Ct)]);
_vl(_6v, "tds", _0m(_3l, _4l, 42)._Dt[_Tn(0, _0m(_3l, _4l, 42)._Dt)]);
_vl(_6v, "sacks", _0m(_3l, _4l, 42)._Ft[_Tn(0, _0m(_3l, _4l, 42)._Ft)]);
_vl(_6v, "ints", _0m(_3l, _4l, 42)._Et[_Tn(0, _0m(_3l, _4l, 42)._Et)]);
_vl(_7v, "points", _0m(_3l, _4l, 42)._cv[_Tn(1, _0m(_3l, _4l, 42)._cv)]);
_vl(_7v, "yards", _0m(_3l, _4l, 42)._dv);
_vl(_7v, "tds", _0m(_3l, _4l, 42)._ev);
_vl(_7v, "sacks", _0m(_3l, _4l, 42)._fv);
_vl(_7v, "ints", _0m(_3l, _4l, 42)._gv);
}
} else {
if (yyfequal(_1v, _0m(_3l, _4l, 42)._Fm)) {
{
_vl(_7v, "points", _0m(_3l, _4l, 42)._cv[_Tn(1, _0m(_3l, _4l, 42)._cv)]);
_vl(_7v, "yards", _0m(_3l, _4l, 42)._Ct[_Tn(0, _0m(_3l, _4l, 42)._Ct)]);
_vl(_7v, "tds", _0m(_3l, _4l, 42)._Dt[_Tn(0, _0m(_3l, _4l, 42)._Dt)]);
_vl(_7v, "sacks", _0m(_3l, _4l, 42)._Ft[_Tn(0, _0m(_3l, _4l, 42)._Ft)]);
_vl(_7v, "ints", _0m(_3l, _4l, 42)._Et[_Tn(0, _0m(_3l, _4l, 42)._Et)]);
_vl(_6v, "points", _0m(_3l, _4l, 42)._cv[_Tn(0, _0m(_3l, _4l, 42)._cv)]);
_vl(_6v, "yards", _0m(_3l, _4l, 42)._dv);
_vl(_6v, "tds", _0m(_3l, _4l, 42)._ev);
_vl(_6v, "sacks", _0m(_3l, _4l, 42)._fv);
_vl(_6v, "ints", _0m(_3l, _4l, 42)._gv);
}
}
}
}
}
_vl(_wu, "away_score", _il(_6v, "points"));
_vl(_wu, "home_score", _il(_7v, "points"));
_vl(_2v, "stat_games", yyfplus(_sl(_ml(_il(_2v, "stat_games"))), 1));
_vl(_2v, "stat_yds", yyfplus(_sl(_ml(_il(_2v, "stat_yds"))), _sl(_ml(_il(_6v, "yards")))));
_vl(_2v, "stat_td", yyfplus(_sl(_ml(_il(_2v, "stat_td"))), _sl(_ml(_il(_6v, "tds")))));
_vl(_2v, "stat_sck", yyfplus(_sl(_ml(_il(_2v, "stat_sck"))), _sl(_ml(_il(_6v, "sacks")))));
_vl(_2v, "stat_int", yyfplus(_sl(_ml(_il(_2v, "stat_int"))), _sl(_ml(_il(_6v, "ints")))));
_vl(_2v, "match_yds", _ml(_il(_6v, "yards")));
_vl(_2v, "match_td", _ml(_il(_6v, "tds")));
_vl(_2v, "match_sck", _ml(_il(_6v, "sacks")));
_vl(_2v, "match_int", _ml(_il(_6v, "ints")));
_vl(_3v, "stat_games", yyfplus(_sl(_ml(_il(_3v, "stat_games"))), 1));
_vl(_3v, "stat_yds", yyfplus(_sl(_ml(_il(_3v, "stat_yds"))), _sl(_ml(_il(_7v, "yards")))));
_vl(_3v, "stat_td", yyfplus(_sl(_ml(_il(_3v, "stat_td"))), _sl(_ml(_il(_7v, "tds")))));
_vl(_3v, "stat_sck", yyfplus(_sl(_ml(_il(_3v, "stat_sck"))), _sl(_ml(_il(_7v, "sacks")))));
_vl(_3v, "stat_int", yyfplus(_sl(_ml(_il(_3v, "stat_int"))), _sl(_ml(_il(_7v, "ints")))));
_vl(_3v, "match_yds", _ml(_il(_7v, "yards")));
_vl(_3v, "match_td", _ml(_il(_7v, "tds")));
_vl(_3v, "match_sck", _ml(_il(_7v, "sacks")));
_vl(_3v, "match_int", _ml(_il(_7v, "ints")));
if (yyfgreater(_il(_6v, "points"), _il(_7v, "points"))) {
{
_vl(_2v, "wins", yyfplus(_sl(_ml(_il(_2v, "wins"))), 1));
_vl(_3v, "losses", yyfplus(_sl(_ml(_il(_3v, "losses"))), 1));
}
} else {
if (yyfless(_il(_6v, "points"), _il(_7v, "points"))) {
{
_vl(_2v, "losses", yyfplus(_sl(_ml(_il(_2v, "losses"))), 1));
_vl(_3v, "wins", yyfplus(_sl(_ml(_il(_3v, "wins"))), 1));
}
} else {
{
_vl(_2v, "ties", yyfplus(_sl(_ml(_il(_2v, "ties"))), 1));
_vl(_3v, "ties", yyfplus(_sl(_ml(_il(_3v, "ties"))), 1));
}
}
}
if (yyGetBool(!yyGetBool(_Tu)) || yyGetBool(yyfgreaterequal(_il(_2v, "match_yds"), _il(_Tu, "match_yds")))) {
{
_Tu = _2v;
_Xu = _3v;
}
}
if (yyGetBool(!yyGetBool(_Tu)) || yyGetBool(yyfgreaterequal(_il(_3v, "match_yds"), _il(_Tu, "match_yds")))) {
{
_Tu = _3v;
_Xu = _2v;
}
}
if (yyGetBool(!yyGetBool(_Uu)) || yyGetBool(yyfgreater(_il(_2v, "match_td"), _il(_Uu, "match_td")))) {
{
_Uu = _2v;
_Yu = _3v;
}
}
if (yyGetBool(!yyGetBool(_Uu)) || yyGetBool(yyfgreater(_il(_3v, "match_td"), _il(_Uu, "match_td")))) {
{
_Uu = _3v;
_Yu = _2v;
}
}
if (yyGetBool(!yyGetBool(_Wu)) || yyGetBool(yyfgreaterequal(_il(_2v, "match_sck"), _il(_Wu, "match_sck")))) {
{
_Wu = _2v;
__u = _3v;
}
}
if (yyGetBool(!yyGetBool(_Wu)) || yyGetBool(yyfgreaterequal(_il(_3v, "match_sck"), _il(_Wu, "match_sck")))) {
{
_Wu = _3v;
__u = _2v;
}
}
if (yyGetBool(!yyGetBool(_Vu)) || yyGetBool(yyfgreater(_il(_2v, "match_int"), _il(_Vu, "match_int")))) {
{
_Vu = _2v;
_Zu = _3v;
}
}
if (yyGetBool(!yyGetBool(_Vu)) || yyGetBool(yyfgreater(_il(_3v, "match_int"), _il(_Vu, "match_int")))) {
{
_Vu = _3v;
_Zu = _2v;
}
}
_Tm(_6v);
_Tm(_7v);
}
}
}
}
}
}
}
{
var _hv = _8l(42);
for (var _iv in _hv) {
if (!_hv.hasOwnProperty(_iv)) continue;
var _jv = _hv[_iv];
if (_jv._bl) continue;
if (!_jv._cl) continue;
{
if (yyfequal(_jv._Nl, 17)) {
{
if (yyfgreater(_il(_jv._Dm, "wins"), _il(_jv._Dm, "losses"))) {
_J2(_jv, _3l, "ACH_WINNING_SEASON");
}
if (yyfequal(_il(_jv._Dm, "wins"), 16)) {
_J2(_jv, _3l, "ACH_UNBEATEN_SEASON");
}
_f6(_jv, _3l);
}
}
}
}
}
var _kv = "";
if (yyGetBool(yyfequal(_Tu, _Uu)) && yyGetBool(yyfequal(_Tu, _0m(_3l, _4l, 42)._Fm))) {
{
if (yyGetBool(_Tu)) {
_kv = yyfplus(_kv, yyfplus(_sl(_R8(_3l, _4l, "news_qbYardsTDs", _Tu, _Xu, 0, 0)), "\n\n"));
}
}
} else {
{
if (yyfequal(_Tu, _0m(_3l, _4l, 42)._Fm)) {
_kv = yyfplus(_kv, yyfplus(_sl(_R8(_3l, _4l, "news_qbYards", _Tu, _Xu, 0, 0)), "\n\n"));
}
if (yyfequal(_Uu, _0m(_3l, _4l, 42)._Fm)) {
_kv = yyfplus(_kv, yyfplus(_sl(_R8(_3l, _4l, "news_qbTouchDowns", _Uu, _Yu, 0, 0)), "\n\n"));
}
}
}
if (yyGetBool(yyfequal(_Wu, _Vu)) && yyGetBool(yyfnotequal(_Tu, _Wu)) && yyGetBool(yyfnotequal(_Uu, _Wu))) {
{
if (yyfequal(_Tu, _0m(_3l, _4l, 42)._Fm)) {
_kv = yyfplus(_kv, yyfplus(_sl(_R8(_3l, _4l, "news_qbSacksInts", _Tu, _Xu, 0, 0)), "\n\n"));
}
}
} else {
{
if (yyGetBool(yyfequal(_Wu, _0m(_3l, _4l, 42)._Fm)) && yyGetBool(yyfnotequal(_Tu, _Wu)) && yyGetBool(yyfnotequal(_Uu, _Wu))) {
_kv = yyfplus(_kv, yyfplus(_sl(_R8(_3l, _4l, "news_qbSacks", _Wu, __u, 0, 0)), "\n\n"));
}
if (yyGetBool(yyfequal(_Vu, _0m(_3l, _4l, 42)._Fm)) && yyGetBool(yyfnotequal(_Tu, _Vu)) && yyGetBool(yyfnotequal(_Uu, _Vu))) {
_kv = yyfplus(_kv, yyfplus(_sl(_R8(_3l, _4l, "news_qbInterceptions", _Vu, _Zu, 0, 0)), "\n\n"));
}
}
}
}
function _h5(_3l, _4l) {
{
var _lv = _8l(42);
for (var _mv in _lv) {
if (!_lv.hasOwnProperty(_mv)) continue;
var _nv = _lv[_mv];
if (_nv._bl) continue;
if (!_nv._cl) continue;
{
_A9(_nv, _3l, yyfplus("s_do_playoff_schedule:", _sl(_ul(_nv._Nl))));
var _wu = _m5(_nv, _3l, _nv._Nl);
if (!yyGetBool(_tl(_wu, 1))) {
{
_A9(_nv, _3l, "Fixture error! Trying to recreate playoffs");
_f5(_nv, _3l);
_wu = _m5(_nv, _3l, _nv._Nl);
if (!yyGetBool(_tl(_wu, 1))) {
{
_A9(_nv, _3l, "Fixture error! Skipping season");
_X5(_nv, _3l);
return 0;
}
}
}
}
var _0v = _il(_wu, "away_team");
var _1v = _il(_wu, "home_team");
var _2v = _hl(_nv._Bm, _0v);
var _3v = _hl(_nv._Bm, _1v);
var _4v = _ml(_il(_2v, "offense"));
_4v = yyfplus(_4v, _ml(_il(_2v, "defense")));
var _5v = _ml(_il(_3v, "offense"));
_5v = yyfplus(_5v, _ml(_il(_3v, "defense")));
_5v = yyfplus(_5v, 1);
var _6v = _i5(_nv, _3l);
var _7v = _i5(_nv, _3l);
if (yyfequal(_il(_6v, "points"), _il(_7v, "points"))) {
{
_vl(_7v, "points", yyfplus(_sl(_il(_7v, "points")), 3));
}
}
if (yyGetBool(!yyGetBool(_Sm(4))) && yyGetBool(yyfgreater(_il(_6v, "points"), _il(_7v, "points"))) && yyGetBool(yyfless(_4v, _5v))) {
{
var _av = _Dq();
_bv(_av, _6v);
_bv(_6v, _7v);
_bv(_7v, _av);
_Tm(_av);
}
}
if (yyGetBool(yyfequal(_0v, _0m(_3l, _4l, 42)._Fm)) || yyGetBool(yyfequal(_1v, _0m(_3l, _4l, 42)._Fm))) {
{
_vl(_6v, "points", _0m(_3l, _4l, 42)._cv[_Tn(0, _0m(_3l, _4l, 42)._cv)]);
_vl(_7v, "points", _0m(_3l, _4l, 42)._cv[_Tn(1, _0m(_3l, _4l, 42)._cv)]);
}
}
_vl(_wu, "away_score", _il(_6v, "points"));
_vl(_wu, "home_score", _il(_7v, "points"));
var _ov = _2v;
var _pv = _3v;
if (yyfless(_il(_6v, "points"), _il(_7v, "points"))) {
{
_ov = _3v;
_pv = _2v;
}
}
if (yyfequal(_nv._Nl, 28)) {
_Z7(_nv, _3l, _R8(_nv, _3l, "msg_SuperBowlWinner", _ov, _pv, _il(_wu, "away_score"), _il(_wu, "home_score")));
} else {
{
_Z7(_nv, _3l, _R8(_nv, _3l, "msg_PlayOffResult", _ov, _pv, _il(_wu, "away_score"), _il(_wu, "home_score")));
_j5(_nv, _3l, _nv._Nl, _il(_ov, "uid"));
}
}
_Tm(_6v);
_Tm(_7v);
}
}
}
return 1;
}
function _i5(_3l, _4l) {
var _Zt = _Dq();
_vl(_Zt, "points", 0);
_vl(_Zt, "yards", 0);
_vl(_Zt, "tds", 0);
_vl(_Zt, "sacks", 0);
_vl(_Zt, "ints", 0);
var _qv = _Vm(6, 12);
var _rv = 0;
for (; yyfless(_rv, _qv); _rv++) {
{
var _sv = _Sm(2);
var _tv = -1;
if (yyCompareVal(_sv, 0, g_GMLMathEpsilon) == 0) {
_tv = 0;
} else if (yyCompareVal(_sv, 1, g_GMLMathEpsilon) == 0) {
_tv = 1;
}
switch (_tv) {
case 0: {
if (yyGetBool(_Sm(1))) {
{
_vl(_Zt, "tds", yyfplus(_sl(_il(_Zt, "tds")), 1));
_vl(_Zt, "yards", yyfplus(_sl(_il(_Zt, "yards")), _sl(yyfplus(40, _sl(_Sm(40))))));
}
}
_vl(_Zt, "points", yyfplus(_sl(_il(_Zt, "points")), 7));
if (yyfgreater(_Sm(99), 93)) {
_vl(_Zt, "points", yyfminus(_sl(_il(_Zt, "points")), 1));
}
break;
}
case 1: {
_vl(_Zt, "yards", yyfplus(_sl(_il(_Zt, "yards")), _sl(_Sm(20))));
_vl(_Zt, "points", yyfplus(_sl(_il(_Zt, "points")), 3));
if (yyfequal(_Sm(5), 0)) {
_vl(_Zt, "points", yyfminus(_sl(_il(_Zt, "points")), 3));
}
break;
}
default: {
_vl(_Zt, "yards", yyfplus(_sl(_il(_Zt, "yards")), _sl(_Sm(10))));
var _uv = _Sm(2);
var _vv = -1;
if (yyCompareVal(_uv, 0, g_GMLMathEpsilon) == 0) {
_vv = 0;
} else if (yyCompareVal(_uv, 1, g_GMLMathEpsilon) == 0) {
_vv = 1;
} else if (yyCompareVal(_uv, 2, g_GMLMathEpsilon) == 0) {
_vv = 2;
}
switch (_vv) {
case 0: {
_vl(_Zt, "sacks", yyfplus(_sl(_il(_Zt, "sacks")), 1));
break;
}
case 1: {
_vl(_Zt, "ints", yyfplus(_sl(_il(_Zt, "ints")), 1));
break;
}
case 2: {
break;
}
}
break;
}
}
}
}
return _Zt;
}
function _j5(_3l, _4l, _5l, _Bq) {
var _Au = _5l;
var _On = _Bq;
_A9(_3l, _4l, yyfplus("s_promote_playoff_winner", _sl(_ul(_On))));
var _wv;
var _xv = _Au;
var _yv = -1;
if (yyCompareVal(_xv, 18, g_GMLMathEpsilon) == 0) {
_yv = 0;
} else if (yyCompareVal(_xv, 19, g_GMLMathEpsilon) == 0) {
_yv = 1;
} else if (yyCompareVal(_xv, 20, g_GMLMathEpsilon) == 0) {
_yv = 2;
} else if (yyCompareVal(_xv, 21, g_GMLMathEpsilon) == 0) {
_yv = 3;
} else if (yyCompareVal(_xv, 22, g_GMLMathEpsilon) == 0) {
_yv = 4;
} else if (yyCompareVal(_xv, 23, g_GMLMathEpsilon) == 0) {
_yv = 5;
} else if (yyCompareVal(_xv, 24, g_GMLMathEpsilon) == 0) {
_yv = 6;
} else if (yyCompareVal(_xv, 25, g_GMLMathEpsilon) == 0) {
_yv = 7;
} else if (yyCompareVal(_xv, 26, g_GMLMathEpsilon) == 0) {
_yv = 8;
} else if (yyCompareVal(_xv, 27, g_GMLMathEpsilon) == 0) {
_yv = 9;
}
switch (_yv) {
case 0: {
_wv = _m5(_3l, _4l, 22);
break;
}
case 1: {
_wv = _m5(_3l, _4l, 23);
break;
}
case 2: {
_wv = _m5(_3l, _4l, 24);
break;
}
case 3: {
_wv = _m5(_3l, _4l, 25);
break;
}
case 4: {
_wv = _m5(_3l, _4l, 26);
break;
}
case 5: {
_wv = _m5(_3l, _4l, 26);
break;
}
case 6: {
_wv = _m5(_3l, _4l, 27);
break;
}
case 7: {
_wv = _m5(_3l, _4l, 27);
break;
}
case 8: {
_wv = _m5(_3l, _4l, 28);
break;
}
case 9: {
_wv = _m5(_3l, _4l, 28);
break;
}
default: {
return;
break;
}
}
if (yyGetBool(_wv)) {
{
_A9(_3l, _4l, yyfplus("Got next round fix: ", _sl(_ul(_il(_wv, "week")))));
if (yyfequal(_il(_wv, "away_team"), -1)) {
{
_vl(_wv, "away_team", _On);
}
} else {
if (yyfequal(_il(_wv, "home_team"), -1)) {
{
_vl(_wv, "home_team", _On);
}
}
}
}
}
_l5(_3l, _4l);
}
function _k5(_3l, _4l, _5l, _Bq, _Cq) {
var _Zt = _Dq();
_vl(_Zt, "week", _5l);
_vl(_Zt, "away_team", _Bq);
_vl(_Zt, "home_team", _Cq);
_vl(_Zt, "away_score", 0);
_vl(_Zt, "home_score", 0);
_vl(_Zt, "human_win", "unplayed");
_Cl(_0m(_3l, _4l, 42)._Im, _Zt);
}
function _l5(_3l, _4l) {
var _vu = 0;
for (; yyfless(_vu, _el(_0m(_3l, _4l, 42)._jp)); _vu++) {
{
var _zv = _hl(_0m(_3l, _4l, 42)._jp, _vu);
if (yyGetBool(yyfequal(_il(_zv, "away_team"), _0m(_3l, _4l, 42)._Fm)) || yyGetBool(yyfequal(_il(_zv, "home_team"), _0m(_3l, _4l, 42)._Fm))) {
{
var _Av = _ml(_il(_zv, "week"));
var _Bv = _n5(_3l, _4l, _Av);
if (!yyGetBool(_Bv)) {
{
_k5(_3l, _4l, _Av, _il(_zv, "away_team"), _il(_zv, "home_team"));
}
} else {
{
_vl(_Bv, "away_team", _il(_zv, "away_team"));
_vl(_Bv, "home_team", _il(_zv, "home_team"));
}
}
}
}
}
}
}
function _m5(_3l, _4l, _5l) {
var _vu = 0;
for (; yyfless(_vu, _el(_0m(_3l, _4l, 42)._jp)); _vu++) {
{
var _wu = _hl(_0m(_3l, _4l, 42)._jp, _vu);
var _Av = _ml(_il(_wu, "week"));
if (yyfequal(_Av, _5l)) {
return _wu;
}
}
}
return -4;
}
function _n5(_3l, _4l, _5l) {
{
var _Cv = _8l(42);
for (var _Dv in _Cv) {
if (!_Cv.hasOwnProperty(_Dv)) continue;
var _Ev = _Cv[_Dv];
if (_Ev._bl) continue;
if (!_Ev._cl) continue;
{
var _vu = 0;
for (; yyfless(_vu, _el(_Ev._Im)); _vu++) {
{
var _wu = _hl(_Ev._Im, _vu);
if (yyGetBool(_wu) && yyGetBool(!yyGetBool(_du(_il(_wu, "week")))) && yyGetBool(yyfequal(_ml(_il(_wu, "week")), _5l))) {
return _wu;
}
}
}
}
}
}
return -4;
}
function _o5(_3l, _4l) {
{
var _Fv = _8l(42);
for (var _Gv in _Fv) {
if (!_Fv.hasOwnProperty(_Gv)) continue;
var _Hv = _Fv[_Gv];
if (_Hv._bl) continue;
if (!_Hv._cl) continue;
{
var _Iv = -4;
var _vu = 0;
for (; yyfless(_vu, _el(_Hv._Im)); _vu++) {
{
var _wu = _hl(_Hv._Im, _vu);
if (yyGetBool(_wu) && yyGetBool(yyfequal(_il(_wu, "human_win"), "unplayed"))) {
return _Iv;
}
_Iv = _wu;
}
}
return _Iv;
}
}
}
}
function _p5(_3l, _4l) {
{
var _Jv = _8l(42);
for (var _Kv in _Jv) {
if (!_Jv.hasOwnProperty(_Kv)) continue;
var _Lv = _Jv[_Kv];
if (_Lv._bl) continue;
if (!_Lv._cl) continue;
{
var _vu = 0;
for (; yyfless(_vu, _el(_Lv._Im)); _vu++) {
{
var _wu = _hl(_Lv._Im, _vu);
if (yyGetBool(_wu) && yyGetBool(yyfequal(_il(_wu, "human_win"), "unplayed"))) {
return _wu;
}
}
}
}
}
}
return -4;
}
function _q5(_3l, _4l) {
{
var _Mv = _8l(42);
for (var _Nv in _Mv) {
if (!_Mv.hasOwnProperty(_Nv)) continue;
var _Ov = _Mv[_Nv];
if (_Ov._bl) continue;
if (!_Ov._cl) continue;
{
var _rl = 0;
var _vu = 0;
for (; yyfless(_vu, _el(_Ov._Im)); _vu++) {
{
var _wu = _hl(_Ov._Im, _vu);
if (yyGetBool(_wu) && yyGetBool(yyfequal(_il(_wu, "human_win"), "unplayed"))) {
_rl++;
}
}
}
return _rl;
}
}
}
}
function _r5(_3l, _4l, _5l, _Bq) {
var _Pv = _5l;
var _Qv = _Bq;
var _Rv = _yl();
var _dl = 0;
for (; yyfless(_dl, _el(_0m(_3l, _4l, 42)._Bm)); _dl++) {
{
var _Cm = _hl(_0m(_3l, _4l, 42)._Bm, _dl);
if (yyGetBool(yyfequal(_ml(_il(_Cm, "conference")), _Pv)) && yyGetBool(yyfequal(_ml(_il(_Cm, "division")), _Qv))) {
{
_Cl(_Rv, _Cm);
}
}
}
}
_Rv = _m9(_3l, _4l, _Rv, 0, 1);
var _Cm = _hl(_Rv, 0);
_Fl(_Rv);
return _Cm;
}
function _s5(_3l, _4l, _5l) {
var _Pn = _i9(_3l, _4l, _5l);
var _Pv = _il(_Pn, "conference");
var _Qv = _il(_Pn, "division");
var _Rv = _yl();
var _dl = 0;
for (; yyfless(_dl, _el(_0m(_3l, _4l, 42)._Bm)); _dl++) {
{
var _Cm = _hl(_0m(_3l, _4l, 42)._Bm, _dl);
if (yyGetBool(yyfequal(_ml(_il(_Cm, "conference")), _Pv)) && yyGetBool(yyfequal(_ml(_il(_Cm, "division")), _Qv))) {
{
_Cl(_Rv, _Cm);
}
}
}
}
_Rv = _m9(_3l, _4l, _Rv, 0, 1);
var _Sv = 1;
if (yyfequal(_hl(_Rv, 0), _Pn)) {
_Sv = 1;
}
if (yyfequal(_hl(_Rv, 1), _Pn)) {
_Sv = 2;
}
if (yyfequal(_hl(_Rv, 2), _Pn)) {
_Sv = 3;
}
if (yyfequal(_hl(_Rv, 3), _Pn)) {
_Sv = 4;
}
_Fl(_Rv);
return _Sv;
}
function _t5(_3l, _4l, _5l, _Bq, _Cq) {
var _Pv = _5l;
var _Qv = _Bq;
var _Tv = _Cq;
var _Cm = _r5(_3l, _4l, _Pv, _Qv);
var _Uv = _Tv;
var _Vv = -1;
if (yyCompareVal(_Uv, 0, g_GMLMathEpsilon) == 0) {
_Vv = 0;
} else if (yyCompareVal(_Uv, 1, g_GMLMathEpsilon) == 0) {
_Vv = 1;
}
switch (_Vv) {
case 0: {
return _il(_Cm, "name");
break;
}
case 1: {
return _il(_Cm, "tla");
break;
}
}
}
function _u5(_3l, _4l, _5l, _Bq) {
var _Pv = _5l;
var _Wv = _Bq;
var _Xv = _yl();
_Cl(_Xv, _r5(_3l, _4l, _Pv, 0));
_Cl(_Xv, _r5(_3l, _4l, _Pv, 1));
_Cl(_Xv, _r5(_3l, _4l, _Pv, 2));
_Cl(_Xv, _r5(_3l, _4l, _Pv, 3));
_Xv = _m9(_3l, _4l, _Xv, 0, 1);
var _Cm = _hl(_Xv, yyfminus(_sl(_Wv), 1));
_Fl(_Xv);
return _Cm;
}
function _v5(_3l, _4l, _5l, _Bq, _Cq) {
var _Pv = _5l;
var _Wv = _Bq;
var _Tv = _Cq;
var _Cm = _u5(_3l, _4l, _Pv, _Wv);
var _Yv = _Tv;
var _Zv = -1;
if (yyCompareVal(_Yv, 0, g_GMLMathEpsilon) == 0) {
_Zv = 0;
} else if (yyCompareVal(_Yv, 1, g_GMLMathEpsilon) == 0) {
_Zv = 1;
}
switch (_Zv) {
case 0: {
return _il(_Cm, "name");
break;
}
case 1: {
return _il(_Cm, "tla");
break;
}
}
}
function _w5(_3l, _4l) {
{
var __v = _8l(42);
for (var _0w in __v) {
if (!__v.hasOwnProperty(_0w)) continue;
var _1w = __v[_0w];
if (_1w._bl) continue;
if (!_1w._cl) continue;
{
do {
{
_g5(_1w, _3l, 1);
_1w._Nl++;
}
} while (!yyfequal(_1w._Nl, 17));
_1w._Zn = 4;
}
}
}
}
function _x5(_3l, _4l, _5l, _Bq, _Cq) {
_A9(_3l, _4l, "s_populate_division");
var _2w = _5l;
var _rm = _Bq;
var _Qv = _Cq;
if (yyfgreater(_rm, 1)) {
return;
}
_0m(_3l, _4l, _2w)._Pq = yyfplus(yyfplus(_sl(_59(_3l, _4l, _rm)), " "), _sl(_49(_3l, _4l, _Qv)));
var _3w = _yl();
var _4w = _0m(_3l, _4l, 42)._Fm;
var _5w = _0m(_3l, _4l, 42)._Gm;
var _6w = _0m(_3l, _4l, 42)._Hm;
_0m(_3l, _4l, _2w)._0r = 0.6;
if (yyGetBool(yyfequal(_rm, _5w)) && yyGetBool(yyfequal(_Qv, _6w))) {
_0m(_3l, _4l, _2w)._0r = 1;
}
var _dl = 0;
for (; yyfless(_dl, _el(_0m(_3l, _4l, 42)._Bm)); _dl++) {
{
var _Cm = _hl(_0m(_3l, _4l, 42)._Bm, _dl);
if (yyGetBool(yyfequal(_il(_Cm, "conference"), _rm)) && yyGetBool(yyfequal(_il(_Cm, "division"), _Qv))) {
_Cl(_3w, _Cm);
}
}
}
_3w = _m9(_3l, _4l, _3w, 0, 1);
var _dl = 0;
for (; yyfless(_dl, _el(_3w)); _dl++) {
{
var _Cm = _hl(_3w, _dl);
var _sr = _il(_Cm, "name");
var _7w = _ul(_il(_Cm, "wins"));
var _8w = _ul(_il(_Cm, "losses"));
var _9w = _ul(_il(_Cm, "ties"));
var _aw = 16777215;
if (yyfequal(_il(_Cm, "uid"), _4w)) {
_aw = global._bm;
}
var _bw = _dl;
var _cw = -1;
if (yyCompareVal(_bw, 0, g_GMLMathEpsilon) == 0) {
_cw = 0;
} else if (yyCompareVal(_bw, 1, g_GMLMathEpsilon) == 0) {
_cw = 1;
} else if (yyCompareVal(_bw, 2, g_GMLMathEpsilon) == 0) {
_cw = 2;
} else if (yyCompareVal(_bw, 3, g_GMLMathEpsilon) == 0) {
_cw = 3;
}
switch (_cw) {
case 0: {
_0m(_3l, _4l, _2w)._dw = _vp(_0m(_3l, _4l, _2w)._dw, 3121750312);
_0m(_3l, _4l, _2w)._dw[_wp(0)] = _sr;
_0m(_3l, _4l, _2w)._ew = _vp(_0m(_3l, _4l, _2w)._ew, 372587872);
_0m(_3l, _4l, _2w)._ew[_wp(0)] = _aw;
_0m(_3l, _4l, _2w)._7w = _vp(_0m(_3l, _4l, _2w)._7w, 1467464228);
_0m(_3l, _4l, _2w)._7w[_wp(0)] = _7w;
_0m(_3l, _4l, _2w)._8w = _vp(_0m(_3l, _4l, _2w)._8w, 3978844290);
_0m(_3l, _4l, _2w)._8w[_wp(0)] = _8w;
_0m(_3l, _4l, _2w)._9w = _vp(_0m(_3l, _4l, _2w)._9w, 251214534);
_0m(_3l, _4l, _2w)._9w[_wp(0)] = _9w;
break;
}
case 1: {
_0m(_3l, _4l, _2w)._dw[_wp(1)] = _sr;
_0m(_3l, _4l, _2w)._ew[_wp(1)] = _aw;
_0m(_3l, _4l, _2w)._7w[_wp(1)] = _7w;
_0m(_3l, _4l, _2w)._8w[_wp(1)] = _8w;
_0m(_3l, _4l, _2w)._9w[_wp(1)] = _9w;
break;
}
case 2: {
_0m(_3l, _4l, _2w)._dw[_wp(2)] = _sr;
_0m(_3l, _4l, _2w)._ew[_wp(2)] = _aw;
_0m(_3l, _4l, _2w)._7w[_wp(2)] = _7w;
_0m(_3l, _4l, _2w)._8w[_wp(2)] = _8w;
_0m(_3l, _4l, _2w)._9w[_wp(2)] = _9w;
break;
}
case 3: {
_0m(_3l, _4l, _2w)._dw[_wp(3)] = _sr;
_0m(_3l, _4l, _2w)._ew[_wp(3)] = _aw;
_0m(_3l, _4l, _2w)._7w[_wp(3)] = _7w;
_0m(_3l, _4l, _2w)._8w[_wp(3)] = _8w;
_0m(_3l, _4l, _2w)._9w[_wp(3)] = _9w;
break;
}
}
}
}
_Fl(_3w);
}
function _y5(_3l, _4l, _5l, _Bq) {
var _2w = _5l;
var _fw = _Bq;
var _gw = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "tla_Attempts")), ": "), _sl(_ul(_0m(_3l, _4l, 42)._Bt[_Tn(_fw, _0m(_3l, _4l, 42)._Bt)])));
_gw = yyfplus(_gw, yyfplus(yyfplus(yyfplus(" ", _sl(_Q8(_3l, _4l, "tla_Completed"))), ": "), _sl(_ul(_0m(_3l, _4l, 42)._At[_Tn(_fw, _0m(_3l, _4l, 42)._At)]))));
var _hw = 0;
if (yyfgreater(_0m(_3l, _4l, 42)._Bt[_Tn(_fw, _0m(_3l, _4l, 42)._Bt)], 0)) {
_hw = yyfdivide(_sl(_0m(_3l, _4l, 42)._At[_Tn(_fw, _0m(_3l, _4l, 42)._At)]), _sl(_0m(_3l, _4l, 42)._Bt[_Tn(_fw, _0m(_3l, _4l, 42)._Bt)]));
}
_hw = yyftime(_hw, 100);
_gw = yyfplus(_gw, yyfplus(yyfplus(" (", _sl(_39(_3l, _4l, _hw, 0))), "%)"));
var _iw = 0;
if (yyfgreater(_0m(_3l, _4l, 42)._At[_Tn(_fw, _0m(_3l, _4l, 42)._At)], 0)) {
_iw = yyfdivide(_sl(_0m(_3l, _4l, 42)._Ct[_Tn(_fw, _0m(_3l, _4l, 42)._Ct)]), _sl(_0m(_3l, _4l, 42)._At[_Tn(_fw, _0m(_3l, _4l, 42)._At)]));
}
var _jw = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "tla_Yards")), ": "), _sl(_ul(round(_0m(_3l, _4l, 42)._Ct[_Tn(_fw, _0m(_3l, _4l, 42)._Ct)]))));
_jw = yyfplus(_jw, yyfplus(yyfplus(yyfplus(" ", _sl(_Q8(_3l, _4l, "tla_Average"))), ": "), _sl(_39(_3l, _4l, _iw, 1))));
var _kw = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "tla_TouchDowns")), ": "), _sl(_ul(_0m(_3l, _4l, 42)._Dt[_Tn(_fw, _0m(_3l, _4l, 42)._Dt)])));
_kw = yyfplus(_kw, yyfplus(yyfplus(yyfplus(" ", _sl(_Q8(_3l, _4l, "tla_Interceptions"))), ": "), _sl(_ul(_0m(_3l, _4l, 42)._Et[_Tn(_fw, _0m(_3l, _4l, 42)._Et)]))));
_kw = yyfplus(_kw, yyfplus(yyfplus(yyfplus(" ", _sl(_Q8(_3l, _4l, "tla_Sacks"))), ": "), _sl(_ul(_0m(_3l, _4l, 42)._Ft[_Tn(_fw, _0m(_3l, _4l, 42)._Ft)]))));
var _lw = _fw;
var _mw = -1;
if (yyCompareVal(_lw, 0, g_GMLMathEpsilon) == 0) {
_mw = 0;
} else if (yyCompareVal(_lw, 1, g_GMLMathEpsilon) == 0) {
_mw = 1;
} else if (yyCompareVal(_lw, 2, g_GMLMathEpsilon) == 0) {
_mw = 2;
}
switch (_mw) {
case 0: {
_0m(_3l, _4l, _2w)._Pq = _Q8(_3l, _4l, "ui_StatsMatch");
break;
}
case 1: {
_0m(_3l, _4l, _2w)._Pq = _Q8(_3l, _4l, "ui_StatsSeason");
break;
}
case 2: {
_0m(_3l, _4l, _2w)._Pq = _Q8(_3l, _4l, "ui_StatsCareer");
break;
}
}
_0m(_3l, _4l, _2w)._nw = _gw;
_0m(_3l, _4l, _2w)._ow = _jw;
_0m(_3l, _4l, _2w)._pw = _kw;
}
function _z5(_3l, _4l) {
_A9(_3l, _4l, "s_populate_schedulebox");
{
var _qw = _8l(100145);
for (var _rw in _qw) {
if (!_qw.hasOwnProperty(_rw)) continue;
var _sw = _qw[_rw];
if (_sw._bl) continue;
if (!_sw._cl) continue;
{
_sw._tw = -1;
var _uw = _cm(_sw._Nl, 1, 17);
var _rl = 0;
var _vu = 0;
for (; yyfless(_vu, 16); _vu++) {
{
_sw._vw = _vp(_sw._vw, 3372158738);
_sw._vw[_wp(_vu)] = "";
_sw._ww = _vp(_sw._ww, 423474267);
_sw._ww[_wp(_vu)] = "";
_sw._xw = _vp(_sw._xw, 958626320);
_sw._xw[_wp(_vu)] = "";
_sw._yw = _vp(_sw._yw, 3907109209);
_sw._yw[_wp(_vu)] = "";
_sw._zw = _vp(_sw._zw, 563601582);
_sw._zw[_wp(_vu)] = "";
_sw._Aw = _vp(_sw._Aw, 3045124931);
_sw._Aw[_wp(_vu)] = 0.6;
}
}
var _vu = 0;
for (; yyfless(_vu, _el(_0m(_3l, _4l, 42)._ip)); _vu++) {
{
var _wu = _hl(_0m(_3l, _4l, 42)._ip, _vu);
if (yyfequal(_il(_wu, "week"), _uw)) {
{
var _xu = _il(_wu, "away_team");
var _yu = _il(_wu, "home_team");
var _Bw = _il(_wu, "away_score");
var _Cw = _il(_wu, "home_score");
var _Dw = _hl(_0m(_3l, _4l, 42)._Bm, _xu);
var _Ew = _hl(_0m(_3l, _4l, 42)._Bm, _yu);
var _Fw = _il(_Dw, "tla");
var _Gw = _il(_Ew, "tla");
var _Hw = _il(_Dw, "conference");
var _Iw = _il(_Ew, "conference");
var _Jw = _il(_Dw, "division");
var _Kw = _il(_Ew, "division");
_sw._vw = _vp(_sw._vw, 3372158738);
_sw._vw[_wp(_rl)] = _Fw;
_sw._ww = _vp(_sw._ww, 423474267);
_sw._ww[_wp(_rl)] = _Gw;
_sw._xw = _vp(_sw._xw, 958626320);
_sw._xw[_wp(_rl)] = "";
_sw._yw = _vp(_sw._yw, 3907109209);
_sw._yw[_wp(_rl)] = "";
_sw._zw = _vp(_sw._zw, 563601582);
_sw._zw[_wp(_rl)] = yyfplus(_sl(_Q8(_sw, _3l, "tla_At")), " ");
_sw._Aw = _vp(_sw._Aw, 3045124931);
_sw._Aw[_wp(_rl)] = 0.6;
if (yyGetBool(yyfequal(_Hw, _0m(_3l, _4l, 42)._Gm)) && yyGetBool(yyfequal(_Jw, _0m(_3l, _4l, 42)._Hm))) {
_sw._Aw[_wp(_rl)] = 1;
} else {
if (yyGetBool(yyfequal(_Kw, _0m(_3l, _4l, 42)._Hm)) && yyGetBool(yyfequal(_Iw, _0m(_3l, _4l, 42)._Gm))) {
_sw._Aw[_wp(_rl)] = 1;
}
}
if (yyfgreater(_Bw, -1)) {
{
_sw._Lw = 40;
_sw._zw[_wp(_rl)] = "";
_sw._xw[_wp(_rl)] = _ul(_Bw);
_sw._yw[_wp(_rl)] = _ul(_Cw);
}
}
if (yyGetBool(yyfequal(_xu, _0m(_3l, _4l, 42)._Fm)) || yyGetBool(yyfequal(_yu, _0m(_3l, _4l, 42)._Fm))) {
_sw._tw = _rl;
}
_rl++;
}
}
}
}
}
}
}
}
function _A5(_3l, _4l, _5l, _Bq, _Cq, _zu, _Mw, _Nw, _Ow) {
var _Pw = _Oq(0, 0, "Instances", 47);
_0m(_3l, _4l, _Pw)._kr(_5l);
_0m(_3l, _4l, _Pw)._Us(_Bq);
_0m(_3l, _4l, _Pw)._Qw = _Cq;
_0m(_3l, _4l, _Pw)._Rw = _zu;
_0m(_3l, _4l, _Pw)._Oo = _Mw;
_0m(_3l, _4l, _Pw)._Sw = _Nw;
_0m(_3l, _4l, _Pw)._Bl = _Ow;
var _Tw = _0m(_3l, _4l, _Pw)._Sw;
var _Uw = -1;
if (yyCompareVal(_Tw, 1, g_GMLMathEpsilon) == 0) {
_Uw = 0;
} else if (yyCompareVal(_Tw, 2, g_GMLMathEpsilon) == 0) {
_Uw = 1;
}
switch (_Uw) {
case 0: {
_0m(_3l, _4l, _Pw)._Vw(57);
break;
}
case 1: {
_0m(_3l, _4l, _Pw)._Vw(53);
break;
}
}
}
function _B5(_3l, _4l, _5l, _Bq) {
var _Ww = _5l;
var _Xw = _Bq;
if (yyGetBool(_Ww)) {
{
_Cl(_3l._Yw, _Q8(_3l, _4l, "tla_Attitude"));
_Cl(_3l._Zw, _Q8(_3l, _4l, "ui_Name"));
_Cl(_3l.__w, _Q8(_3l, _4l, "tla_Position"));
_Cl(_3l._0x, _Q8(_3l, _4l, "tla_Condition"));
_Cl(_3l._1x, _Q8(_3l, _4l, "tla_Skill"));
_Cl(_3l._2x, _Q8(_3l, _4l, "tla_Strength"));
_Cl(_3l._3x, _Q8(_3l, _4l, "tla_Speed"));
_Cl(_3l._4x, _Q8(_3l, _4l, "tla_Stamina"));
_Cl(_3l._5x, _Q8(_3l, _4l, "tla_Salary"));
_Cl(_3l._6x, _Q8(_3l, _4l, "tla_Contract"));
if (yyGetBool(_Xw)) {
{
_Cl(_3l._7x, yyfplus("+", _sl(_Q8(_3l, _4l, "ui_XP"))));
_Cl(_3l._8x, _Q8(_3l, _4l, "short_LevelUp"));
}
} else {
{
_Cl(_3l._7x, _Q8(_3l, _4l, "tla_Age"));
_Cl(_3l._8x, _Q8(_3l, _4l, "short_LevelXP"));
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_0m(_3l, _4l, 42)._Um)); _dl++) {
{
var _Bl = _hl(_0m(_3l, _4l, 42)._Um, _dl);
_Cl(_3l._Yw, _il(_Bl, "attitude"));
_Cl(_3l._Zw, _q8(_3l, _4l, _Bl, 1));
_Cl(_3l.__w, _il(_Bl, "position"));
_Cl(_3l._0x, _il(_Bl, "condition"));
_Cl(_3l._1x, _il(_Bl, "skill"));
_Cl(_3l._2x, _il(_Bl, "strength"));
_Cl(_3l._3x, _il(_Bl, "speed"));
_Cl(_3l._4x, _il(_Bl, "stamina"));
_Cl(_3l._5x, yyfplus(yyfplus("$", _sl(_ul(_il(_Bl, "salary")))), _sl(_Q8(_3l, _4l, "sla_Million"))));
_Cl(_3l._6x, yyfplus(_sl(_ul(_il(_Bl, "contract"))), _sl(_Q8(_3l, _4l, "sla_Year"))));
if (yyGetBool(_Xw)) {
{
_Cl(_3l._7x, _il(_Bl, "xp_gain"));
if (yyGetBool(_66(_3l, _4l, _Bl))) {
_Cl(_3l._8x, yyfplus("flash_", _sl(_Q8(_3l, _4l, "ui_Yes"))));
} else {
_Cl(_3l._8x, _Q8(_3l, _4l, "ui_No"));
}
}
} else {
{
_Cl(_3l._7x, _il(_Bl, "age"));
_Cl(_3l._8x, _il(_Bl, "xp_level"));
}
}
}
}
}
} else {
{
_Cl(_3l._Yw, _Q8(_3l, _4l, "tla_Attitude"));
_Cl(_3l._Zw, _Q8(_3l, _4l, "ui_Name"));
_Cl(_3l.__w, _Q8(_3l, _4l, "tla_Position"));
_Cl(_3l._0x, _Q8(_3l, _4l, "tla_Condition"));
_Cl(_3l._1x, _Q8(_3l, _4l, "ui_stat_yards"));
_Cl(_3l._2x, _Q8(_3l, _4l, "ui_stat_touchdowns"));
_Cl(_3l._3x, _Q8(_3l, _4l, "ui_stat_tackles"));
_Cl(_3l._4x, _Q8(_3l, _4l, "ui_stat_intsacks"));
_Cl(_3l._5x, _Q8(_3l, _4l, "ui_stat_fumbles"));
_Cl(_3l._6x, _Q8(_3l, _4l, "tla_Rating"));
_Cl(_3l._7x, yyfplus("+", _sl(_Q8(_3l, _4l, "ui_XP"))));
_Cl(_3l._8x, _Q8(_3l, _4l, "short_LevelUp"));
var _dl = 0;
for (; yyfless(_dl, _el(_0m(_3l, _4l, 42)._Um)); _dl++) {
{
var _Bl = _hl(_0m(_3l, _4l, 42)._Um, _dl);
var _yn = _il(_Bl, "position");
var _9x = _il(_Bl, "condition");
var _ax = _il(_Bl, "attitude");
var _bx = _ul(round(yyfplus(_sl(_il(_Bl, "stat_yards")), _sl(_il(_Bl, "stat_rush_yards")))));
var _cx = _ul(yyfplus(_sl(_il(_Bl, "stat_touchdowns")), _sl(_il(_Bl, "stat_rush_touchdowns"))));
var _dx = _ul(_il(_Bl, "stat_fumbles"));
var _ex = _ul(_il(_Bl, "stat_tackles"));
var _fx = "-";
var _gx = _il(_Bl, "xp_gain");
var _hx = _yn;
var _ix = -1;
if (yyCompareVal(_hx, 1, g_GMLMathEpsilon) == 0) {
_ix = 0;
} else if (yyCompareVal(_hx, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_hx, 7, g_GMLMathEpsilon) == 0 || yyCompareVal(_hx, 8, g_GMLMathEpsilon) == 0 || yyCompareVal(_hx, 9, g_GMLMathEpsilon) == 0) {
_ix = 1;
} else if (yyCompareVal(_hx, 10, g_GMLMathEpsilon) == 0) {
_ix = 2;
}
switch (_ix) {
case 0: {
_ex = "-";
_fx = yyfplus(yyfplus(_sl(_ul(_il(_Bl, "stat_int"))), "/"), _sl(_ul(_il(_Bl, "stat_sacks"))));
break;
}
case 1: {
_dx = "-";
_fx = yyfplus(yyfplus(_sl(_ul(_il(_Bl, "stat_int"))), "/"), _sl(_ul(_il(_Bl, "stat_sacks"))));
break;
}
case 2: {
_ex = "-";
_cx = "-";
_dx = "-";
break;
}
}
var _jx = _ul(_s8(_3l, _4l, _Bl));
if (yyGetBool(yyGetBool(yyfless(_il(_Bl, "condition"), 0)) && yyGetBool(yyfnotequal(_il(_Bl, "injury_week"), _0m(_3l, _4l, 42)._Nl))) || yyGetBool(_il(_Bl, "resting"))) {
{
_bx = "-";
_cx = "-";
_dx = "-";
_ex = "-";
_fx = "-";
_jx = "-";
_gx = "-";
}
}
_Cl(_3l._Zw, _q8(_3l, _4l, _Bl, 1));
_Cl(_3l._Yw, _ax);
_Cl(_3l.__w, _yn);
_Cl(_3l._0x, _9x);
_Cl(_3l._1x, _bx);
_Cl(_3l._2x, _cx);
_Cl(_3l._5x, _dx);
_Cl(_3l._3x, _ex);
_Cl(_3l._4x, _fx);
_Cl(_3l._6x, _jx);
_Cl(_3l._7x, _gx);
if (yyGetBool(_66(_3l, _4l, _Bl))) {
_Cl(_3l._8x, yyfplus("flash_", _sl(_Q8(_3l, _4l, "ui_Yes"))));
} else {
_Cl(_3l._8x, _Q8(_3l, _4l, "ui_No"));
}
}
}
}
}
}
function _C5(_3l, _4l) {
_A9(_3l, _4l, "___________________");
var _kx = _rn._lx();
var _mx = -1;
if (yyCompareVal(_kx, 4, g_GMLMathEpsilon) == 0) {
_mx = 0;
} else if (yyCompareVal(_kx, 3, g_GMLMathEpsilon) == 0) {
_mx = 1;
}
switch (_mx) {
case 0: {
_A9(_3l, _4l, "s_iap_android");
global._nx = _yl();
global._ox = _yl();
var _px = _qx();
if (yyfequal(_px, -1)) {
{
_A9(_3l, _4l, "ERROR - Billing API Has Not Connected!");
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
}
break;
}
case 1: {
_A9(_3l, _4l, "s_iap_init: ios");
if (yyGetBool(!yyGetBool(global._tx)) && yyGetBool(_qx())) {
{
_A9(_3l, _4l, "ios_iap_IsAuthorisedForPayment == true");
_qx(global._ux[_Tn(0, global._ux)][~~0]);
_qx(global._ux[_Tn(1, global._ux)][~~0]);
_qx(global._ux[_Tn(2, global._ux)][~~0]);
_qx(global._ux[_Tn(3, global._ux)][~~0]);
_qx();
}
} else {
{
_A9(_3l, _4l, "ios_iap_IsAuthorisedForPayment == false");
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
}
break;
}
}
}
function _D5(_3l, _4l) {
global._ux = _vp(global._ux, 3134966082);
_vx(global._ux, 0, 0, "rb_full_version");
_vx(global._ux, 1, 0, "credits_20");
_vx(global._ux, 2, 0, "credits_50");
_vx(global._ux, 3, 0, "credits_100");
var _dl = 1;
for (; yyfless(_dl, 4); _dl++) {
{
_vx(global._ux, 0, _dl, "");
_vx(global._ux, 1, _dl, "");
_vx(global._ux, 2, _dl, "");
_vx(global._ux, 3, _dl, "");
}
}
}
function _E5(_3l, _4l) {
var _wx = _il(_rn._xx(), "id");
var _yx = _wx;
var _zx = -1;
if (yyCompareVal(_yx, 12005, g_GMLMathEpsilon) == 0) {
_zx = 0;
} else if (yyCompareVal(_yx, 12006, g_GMLMathEpsilon) == 0) {
_zx = 1;
} else if (yyCompareVal(_yx, 12003, g_GMLMathEpsilon) == 0) {
_zx = 2;
} else if (yyCompareVal(_yx, 12001, g_GMLMathEpsilon) == 0) {
_zx = 3;
} else if (yyCompareVal(_yx, 12007, g_GMLMathEpsilon) == 0) {
_zx = 4;
} else if (yyCompareVal(_yx, 12008, g_GMLMathEpsilon) == 0) {
_zx = 5;
}
switch (_zx) {
case 0: {
_A9(_3l, _4l, "gpb_store_connect");
_qx(global._ux[_Tn(0, global._ux)][~~0]);
_qx(global._ux[_Tn(1, global._ux)][~~0]);
_qx(global._ux[_Tn(2, global._ux)][~~0]);
_qx(global._ux[_Tn(3, global._ux)][~~0]);
_qx();
break;
}
case 1: {
_A9(_3l, _4l, "gpb_store_connect_failed");
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
break;
}
case 2: {
_A9(_3l, _4l, "gpb_product_data_response");
var _Ax = _il(_rn._xx(), "response_json");
var _Bx = _Cx(_Ax);
if (yyfequal(_il(_Bx, "success"), 1)) {
{
global._tx = 1 ? 1 : 0;
var _Dx = _il(_Bx, "skuDetails");
var _dl = 0;
for (; yyfless(_dl, _el(_Dx)); ++_dl) {
{
var _Ex = _hl(_Dx, _dl);
var _Fx = 0;
while (yyfnotequal(_il(_Ex, "productId"), global._ux[_Tn(_Fx, global._ux)][~~0])) {
{
++_Fx;
}
}
_A9(_3l, _4l, _il(_Ex, "productId"));
_A9(_3l, _4l, _il(_Ex, "price"));
_A9(_3l, _4l, _il(_Ex, "title"));
_A9(_3l, _4l, _il(_Ex, "description"));
global._ux = _vp(global._ux, 3134966082);
_vx(global._ux, _Fx, 0, _il(_Ex, "productId"));
_vx(global._ux, _Fx, 1, _il(_Ex, "price"));
_vx(global._ux, _Fx, 3, _il(_Ex, "title"));
_vx(global._ux, _Fx, 2, _il(_Ex, "description"));
}
}
var _Gx = _Hx('"inapp"');
var _Ix = _Cx(_Gx);
if (yyfequal(_il(_Ix, "success"), 1)) {
{
var _Jx = _il(_Ix, "purchases");
var _Kx = _el(_Jx);
var _dl = 0;
for (; yyfless(_dl, _Kx); ++_dl) {
{
var _Bx = _hl(_Jx, _dl);
if (yyfequal(_il(_Bx, "purchaseState"), 0)) {
{
var _Lx = _il(_Bx, "productId");
var _Mx = _il(_Bx, "purchaseToken");
var _Nx = 0 ? 1 : 0;
if (yyfequal(_Lx, global._ux[_Tn(0, global._ux)][~~0])) {
{
_A9(_3l, _4l, yyfplus("acknowledged = ", _sl(_ul(_il(_Bx, "acknowledged")))));
if (yyfequal(_il(_Bx, "acknowledged"), 0)) {
{
_qx(_Mx);
}
} else {
if (yyfequal(_il(_Bx, "acknowledged"), 1)) {
{
_vl(_0m(_3l, _4l, 42)._1n, "fullversion", 1);
}
}
}
_Nx = 1 ? 1 : 0;
}
} else {
if (
yyGetBool(yyfequal(_Lx, global._ux[_Tn(1, global._ux)][~~0])) ||
yyGetBool(yyfequal(_Lx, global._ux[_Tn(2, global._ux)][~~0])) ||
yyGetBool(yyfequal(_Lx, global._ux[_Tn(3, global._ux)][~~0]))
) {
{
_qx(_Mx);
_Nx = 1 ? 1 : 0;
}
}
}
if (yyGetBool(_Nx)) {
{
_Cl(global._nx, _Mx);
_Cl(global._ox, _Lx);
}
}
}
}
}
}
}
}
_Tm(_Ix);
}
}
_Tm(_Bx);
break;
}
case 3: {
_A9(_3l, _4l, "gpb_iap_receipt");
var _Ax = _il(_rn._xx(), "response_json");
var _Bx = _Cx(_Ax);
if (yyfequal(_il(_Bx, "success"), 1)) {
{
if (yyGetBool(_Xn(_Bx, "purchases"))) {
{
var _Dx = _il(_Bx, "purchases");
var _dl = 0;
for (; yyfless(_dl, _el(_Dx)); ++_dl) {
{
var _Ex = _hl(_Dx, _dl);
var _Ox = _il(_Ex, "purchaseToken");
var _Px = _Hx(_Ox);
var _Qx = _Hx(_Ox);
if (yyGetBool(_qx(_Qx, _Px))) {
{
if (yyfequal(_il(_Ex, "productId"), global._ux[_Tn(0, global._ux)][~~0])) {
_qx(_Ox);
} else {
_qx(_Ox);
}
_Cl(global._nx, _Ox);
_Cl(global._ox, _il(_Ex, "productId"));
}
}
}
}
}
}
}
}
_Tm(_Bx);
break;
}
case 4: {
_A9(_3l, _4l, "gpb_product_consume_response");
var _Ax = _il(_rn._xx(), "response_json");
var _Bx = _Cx(_Ax);
var _Fx = -1;
if (yyGetBool(_Xn(_Bx, "purchaseToken"))) {
{
var _dl = 0;
for (; yyfless(_dl, _el(global._nx)); ++_dl) {
{
if (yyfequal(_il(_Bx, "purchaseToken"), _hl(global._nx, _dl))) {
{
if (yyfequal(_hl(global._ox, _dl), global._ux[_Tn(1, global._ux)][~~0])) {
{
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 25);
_Fx = _dl;
break;
}
} else {
if (yyfequal(_hl(global._ox, _dl), global._ux[_Tn(2, global._ux)][~~0])) {
{
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 50);
_Fx = _dl;
break;
}
} else {
if (yyfequal(_hl(global._ox, _dl), global._ux[_Tn(3, global._ux)][~~0])) {
{
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 100);
_Fx = _dl;
break;
}
}
}
}
}
}
}
}
_25(_3l, _4l);
if (yyfgreater(_Fx, -1)) {
{
_El(global._ox, _Fx);
_El(global._nx, _Fx);
}
}
}
} else {
{
}
}
_Tm(_Bx);
break;
}
case 5: {
_A9(_3l, _4l, "gpb_acknowledge_purchase_response");
var _Bx = _Cx(_il(_rn._xx(), "response_json"));
var _Fx = -1;
if (yyGetBool(_Xn(_Bx, "responseCode"))) {
{
if (yyfequal(_il(_Bx, "responseCode"), 0)) {
{
var _dl = 0;
for (; yyfless(_dl, _el(global._ox)); ++_dl) {
{
if (yyfequal(_hl(global._ox, _dl), global._ux[_Tn(0, global._ux)][~~0])) {
{
_vl(_0m(_3l, _4l, 42)._1n, "fullversion", 1);
_Fx = _dl;
break;
}
}
}
}
_25(_3l, _4l);
if (yyfgreater(_Fx, -1)) {
{
_El(global._ox, _Fx);
_El(global._nx, _Fx);
}
}
}
} else {
{
}
}
}
}
_Tm(_Bx);
break;
}
}
}
function _F5(_3l, _4l) {
if (!yyGetBool(_Rx(global._ux))) {
_D5(_3l, _4l);
}
if (!yyGetBool(_tl(_0m(_3l, _4l, 42)._1n, 1))) {
_45(_3l, _4l);
}
var _wx = _il(_rn._xx(), "id");
var _Sx = _wx;
var _Tx = -1;
if (yyCompareVal(_Sx, 23004, g_GMLMathEpsilon) == 0) {
_Tx = 0;
} else if (yyCompareVal(_Sx, 23000, g_GMLMathEpsilon) == 0) {
_Tx = 1;
}
switch (_Tx) {
case 0: {
_A9(_3l, _4l, "s_iap_async: ios_product_update");
global._tx = 1 ? 1 : 0;
var _Ax = _il(_rn._xx(), "response_json");
_A9(_3l, _4l, _Ax);
var _Bx = _Cx(_Ax);
var _Dx = _il(_Bx, "valid");
var _Kx = _el(_Dx);
var _dl = 0;
for (; yyfless(_dl, _Kx); ++_dl) {
{
var _Ex = _hl(_Dx, _dl);
_A9(_3l, _4l, _il(_Ex, "productId"));
var _Ux = _il(_Ex, "productId");
var _Vx = -1;
if (yyCompareVal(_Ux, "rb_full_version", g_GMLMathEpsilon) == 0) {
_Vx = 0;
} else if (yyCompareVal(_Ux, "credits_20", g_GMLMathEpsilon) == 0) {
_Vx = 1;
} else if (yyCompareVal(_Ux, "credits_50", g_GMLMathEpsilon) == 0) {
_Vx = 2;
} else if (yyCompareVal(_Ux, "credits_100", g_GMLMathEpsilon) == 0) {
_Vx = 3;
}
switch (_Vx) {
case 0: {
global._ux = _vp(global._ux, 3134966082);
_vx(global._ux, 0, 1, _il(_Ex, "price"));
_vx(global._ux, 0, 2, _il(_Ex, "localizedDescription"));
_vx(global._ux, 0, 3, _il(_Ex, "localizedTitle"));
break;
}
case 1: {
_vx(global._ux, 1, 1, _il(_Ex, "price"));
_vx(global._ux, 1, 2, _il(_Ex, "localizedDescription"));
_vx(global._ux, 1, 3, _il(_Ex, "localizedTitle"));
break;
}
case 2: {
_vx(global._ux, 2, 1, _il(_Ex, "price"));
_vx(global._ux, 2, 2, _il(_Ex, "localizedDescription"));
_vx(global._ux, 2, 3, _il(_Ex, "localizedTitle"));
break;
}
case 3: {
_vx(global._ux, 3, 1, _il(_Ex, "price"));
_vx(global._ux, 3, 2, _il(_Ex, "localizedDescription"));
_vx(global._ux, 3, 3, _il(_Ex, "localizedTitle"));
break;
}
}
}
}
_Tm(_Bx);
var _Ax = _Hx();
if (yyfnotequal(_Ax, "")) {
{
var _Bx = _Cx(_Ax);
var _Dx = _il(_Bx, "purchases");
var _Kx = _el(_Dx);
var _dl = 0;
for (; yyfless(_dl, _Kx); ++_dl) {
{
var _Ex = _hl(_Dx, _dl);
var _Ox = _il(_Ex, "purchaseToken");
if (yyfnotequal(_il(_Ex, "purchaseState"), 23002)) {
{
var _Wx = _Hx();
if (yyfequal(_qx(), 1)) {
{
var _Xx = _il(_Ex, "productId");
var _Yx = -1;
if (yyCompareVal(_Xx, "rb_full_version", g_GMLMathEpsilon) == 0) {
_Yx = 0;
} else if (yyCompareVal(_Xx, "credits_20", g_GMLMathEpsilon) == 0) {
_Yx = 1;
} else if (yyCompareVal(_Xx, "credits_50", g_GMLMathEpsilon) == 0) {
_Yx = 2;
} else if (yyCompareVal(_Xx, "credits_100", g_GMLMathEpsilon) == 0) {
_Yx = 3;
}
switch (_Yx) {
case 0: {
_vl(_0m(_3l, _4l, 42)._1n, "fullversion", 1);
break;
}
case 1: {
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 20);
break;
}
case 2: {
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 50);
break;
}
case 3: {
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 100);
break;
}
}
_25(_3l, _4l);
}
} else {
{
}
}
}
} else {
{
}
}
_qx(_Ox);
_Tm(_Ex);
}
}
_Tm(_Bx);
}
}
break;
}
case 1: {
_A9(_3l, _4l, "s_iap_async: ios_payment_queue_update");
var _Ax = _il(_rn._xx(), "response_json");
if (yyfnotequal(_Ax, "")) {
{
var _Bx = _Cx(_Ax);
var _Dx = _il(_Bx, "purchases");
var _Kx = _el(_Dx);
var _dl = 0;
for (; yyfless(_dl, _Kx); ++_dl) {
{
var _Ex = _hl(_Dx, _dl);
var _Ox = _il(_Ex, "purchaseToken");
if (yyfnotequal(_il(_Ex, "purchaseState"), 23002)) {
{
var _Wx = _Hx();
if (yyfequal(_qx(), 1)) {
{
var _Zx = _il(_Ex, "productId");
var __x = -1;
if (yyCompareVal(_Zx, "rb_full_version", g_GMLMathEpsilon) == 0) {
__x = 0;
} else if (yyCompareVal(_Zx, "credits_20", g_GMLMathEpsilon) == 0) {
__x = 1;
} else if (yyCompareVal(_Zx, "credits_50", g_GMLMathEpsilon) == 0) {
__x = 2;
} else if (yyCompareVal(_Zx, "credits_100", g_GMLMathEpsilon) == 0) {
__x = 3;
}
switch (__x) {
case 0: {
_vl(_0m(_3l, _4l, 42)._1n, "fullversion", 1);
break;
}
case 1: {
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 20);
break;
}
case 2: {
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 50);
break;
}
case 3: {
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 100);
break;
}
}
_25(_3l, _4l);
}
} else {
{
}
}
}
} else {
{
}
}
_qx(_Ox);
_Tm(_Ex);
}
}
_Tm(_Bx);
}
}
break;
}
}
}
function _G5(_3l, _4l) {
var _0y = _rn._lx();
var _1y = -1;
if (yyCompareVal(_0y, 4, g_GMLMathEpsilon) == 0) {
_1y = 0;
} else if (yyCompareVal(_0y, 3, g_GMLMathEpsilon) == 0) {
_1y = 1;
}
switch (_1y) {
case 0: {
if (yyGetBool(_qx()) && yyGetBool(global._tx)) {
{
{
var _2y = _8l(39);
for (var _3y in _2y) {
if (!_2y.hasOwnProperty(_3y)) continue;
var _4y = _2y[_3y];
if (_4y._bl) continue;
if (!_4y._cl) continue;
{
_4y._6r = 0 ? 1 : 0;
_4y._rx = _vp(_4y._rx, 3634134516);
_4y._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 5);
}
}
}
var _5y = _qx(global._ux[_Tn(0, global._ux)][~~0]);
if (yyfnotequal(_5y, 0)) {
{
}
}
}
} else {
{
global._tx = 0 ? 1 : 0;
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
}
break;
}
case 1: {
if (yyGetBool(global._tx)) {
{
{
var _6y = _8l(39);
for (var _7y in _6y) {
if (!_6y.hasOwnProperty(_7y)) continue;
var _8y = _6y[_7y];
if (_8y._bl) continue;
if (!_8y._cl) continue;
{
_8y._6r = 0 ? 1 : 0;
_8y._rx = _vp(_8y._rx, 1547637657);
_8y._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 5);
}
}
}
_qx(global._ux[_Tn(0, global._ux)][~~0]);
}
} else {
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
break;
}
}
}
function _H5(_3l, _4l) {
var _9y = _rn._lx();
var _ay = -1;
if (yyCompareVal(_9y, 4, g_GMLMathEpsilon) == 0) {
_ay = 0;
} else if (yyCompareVal(_9y, 3, g_GMLMathEpsilon) == 0) {
_ay = 1;
}
switch (_ay) {
case 0: {
if (yyGetBool(_qx()) && yyGetBool(global._tx)) {
{
{
var _by = _8l(39);
for (var _cy in _by) {
if (!_by.hasOwnProperty(_cy)) continue;
var _dy = _by[_cy];
if (_dy._bl) continue;
if (!_dy._cl) continue;
{
_dy._6r = 0 ? 1 : 0;
_dy._rx = _vp(_dy._rx, 179021679);
_dy._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 5);
}
}
}
var _5y = _qx(global._ux[_Tn(1, global._ux)][~~0]);
if (yyfnotequal(_5y, 0)) {
{
}
}
}
} else {
{
global._tx = 0 ? 1 : 0;
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
}
break;
}
case 1: {
if (yyGetBool(global._tx)) {
{
{
var _ey = _8l(39);
for (var _fy in _ey) {
if (!_ey.hasOwnProperty(_fy)) continue;
var _gy = _ey[_fy];
if (_gy._bl) continue;
if (!_gy._cl) continue;
{
_gy._6r = 0 ? 1 : 0;
_gy._rx = _vp(_gy._rx, 3959098643);
_gy._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 5);
}
}
}
_qx(global._ux[_Tn(1, global._ux)][~~0]);
}
} else {
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
break;
}
}
}
function _I5(_3l, _4l) {
var _hy = _rn._lx();
var _iy = -1;
if (yyCompareVal(_hy, 4, g_GMLMathEpsilon) == 0) {
_iy = 0;
} else if (yyCompareVal(_hy, 3, g_GMLMathEpsilon) == 0) {
_iy = 1;
}
switch (_iy) {
case 0: {
if (yyGetBool(_qx()) && yyGetBool(global._tx)) {
{
{
var _jy = _8l(39);
for (var _ky in _jy) {
if (!_jy.hasOwnProperty(_ky)) continue;
var _ly = _jy[_ky];
if (_ly._bl) continue;
if (!_ly._cl) continue;
{
_ly._6r = 0 ? 1 : 0;
_ly._rx = _vp(_ly._rx, 2385946579);
_ly._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 5);
}
}
}
var _5y = _qx(global._ux[_Tn(2, global._ux)][~~0]);
if (yyfnotequal(_5y, 0)) {
{
}
}
}
} else {
{
global._tx = 0 ? 1 : 0;
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
}
break;
}
case 1: {
if (yyGetBool(global._tx)) {
{
{
var _my = _8l(39);
for (var _ny in _my) {
if (!_my.hasOwnProperty(_ny)) continue;
var _oy = _my[_ny];
if (_oy._bl) continue;
if (!_oy._cl) continue;
{
_oy._6r = 0 ? 1 : 0;
_oy._rx = _vp(_oy._rx, 969725832);
_oy._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 5);
}
}
}
_qx(global._ux[_Tn(2, global._ux)][~~0]);
}
} else {
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
break;
}
}
}
function _J5(_3l, _4l) {
var _py = _rn._lx();
var _qy = -1;
if (yyCompareVal(_py, 4, g_GMLMathEpsilon) == 0) {
_qy = 0;
} else if (yyCompareVal(_py, 3, g_GMLMathEpsilon) == 0) {
_qy = 1;
}
switch (_qy) {
case 0: {
if (yyGetBool(_qx()) && yyGetBool(global._tx)) {
{
{
var _ry = _8l(39);
for (var _sy in _ry) {
if (!_ry.hasOwnProperty(_sy)) continue;
var _ty = _ry[_sy];
if (_ty._bl) continue;
if (!_ty._cl) continue;
{
_ty._6r = 0 ? 1 : 0;
_ty._rx = _vp(_ty._rx, 2780008695);
_ty._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 5);
}
}
}
var _5y = _qx(global._ux[_Tn(3, global._ux)][~~0]);
if (yyfnotequal(_5y, 0)) {
{
}
}
}
} else {
{
global._tx = 0 ? 1 : 0;
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
}
break;
}
case 1: {
if (yyGetBool(global._tx)) {
{
{
var _uy = _8l(39);
for (var _vy in _uy) {
if (!_uy.hasOwnProperty(_vy)) continue;
var _wy = _uy[_vy];
if (_wy._bl) continue;
if (!_wy._cl) continue;
{
_wy._6r = 0 ? 1 : 0;
_wy._rx = _vp(_wy._rx, 554761882);
_wy._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 5);
}
}
}
_qx(global._ux[_Tn(3, global._ux)][~~0]);
}
} else {
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
break;
}
}
}
function _K5(_3l, _4l) {
var _xy = _rn._lx();
var _yy = -1;
if (yyCompareVal(_xy, 4, g_GMLMathEpsilon) == 0) {
_yy = 0;
} else if (yyCompareVal(_xy, 3, g_GMLMathEpsilon) == 0) {
_yy = 1;
}
switch (_yy) {
case 0: {
break;
}
case 1: {
_3l._rx = _vp(_3l._rx, 1584050178);
_3l._rx[_wp(1)] = yyftime(_sl(_rn._sx()), 4);
{
var _zy = _8l(38);
for (var _Ay in _zy) {
if (!_zy.hasOwnProperty(_Ay)) continue;
var _By = _zy[_Ay];
if (_By._bl) continue;
if (!_By._cl) continue;
{
_By._6r = 0 ? 1 : 0;
_By._rx = _vp(_By._rx, 1567742785);
_By._rx[_wp(0)] = yyftime(5, _sl(_rn._sx()));
}
}
}
_qx();
break;
}
}
}
function _L5(_3l, _4l) {
_X7(_3l, _4l);
if (!yyGetBool(global._tx)) {
{
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_StoreConnect"), _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
return;
}
}
{
var _Cy = _8l(42);
for (var _Dy in _Cy) {
if (!_Cy.hasOwnProperty(_Dy)) continue;
var _Ey = _Cy[_Dy];
if (_Ey._bl) continue;
if (!_Ey._cl) continue;
{
var _Nq = _Oq(0, 0, "PopUps", 5);
_0m(_3l, _4l, _Nq)._am = global._Ll;
_0m(_3l, _4l, _Nq)._0r = 1;
var _Pq = _Oq(yyftime(_sl(_Qq()), 0.5), 32, "PopUps", 0);
_0m(_3l, _4l, _Pq)._mm = _Q8(_Ey, _3l, "ui_Store");
_0m(_3l, _4l, _Pq)._2r = 1 ? 1 : 0;
_0m(_3l, _4l, _Pq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
var _Sq = _Oq(8, 232, "PopUps", 8);
_0m(_3l, _4l, _Sq)._5r = 87;
_0m(_3l, _4l, _Sq)._4r = 332;
_0m(_3l, _4l, _Sq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
var _Sq = _Oq(384, 232, "PopUps", 38);
_0m(_3l, _4l, _Sq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
var _Fy = _Oq(16, 16, "PopUps", 20);
_0m(_3l, _4l, _Fy)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
var _Gy = 64;
var _Hy = 40;
var _dl = 0;
for (; yyfless(_dl, 4); ++_dl) {
{
var _Iy = "";
var _Jy = 0;
var _Ky = "";
_A9(_Ey, _3l, "_______________________");
var _Ly = _rn._lx();
var _My = -1;
if (yyCompareVal(_Ly, 4, g_GMLMathEpsilon) == 0) {
_My = 0;
} else if (yyCompareVal(_Ly, 3, g_GMLMathEpsilon) == 0) {
_My = 1;
}
switch (_My) {
case 0: {
_A9(_Ey, _3l, "Get store details: android");
_Iy = _Hx(global._ux[_Tn(_dl, global._ux)][~~0]);
_Iy = _Pl(_Iy, " (Retro Bowl)", "");
_Jy = _Hx(global._ux[_Tn(_dl, global._ux)][~~0]);
_Ky = _Hx(global._ux[_Tn(_dl, global._ux)][~~0]);
break;
}
case 1: {
_A9(_Ey, _3l, "Get store details: ios");
_Jy = global._ux[_Tn(_dl, global._ux)][~~1];
_Iy = global._ux[_Tn(_dl, global._ux)][~~3];
_Ky = global._ux[_Tn(_dl, global._ux)][~~2];
break;
}
}
_A9(_Ey, _3l, yyfplus("Product name = ", _sl(_ul(_Iy))));
_A9(_Ey, _3l, yyfplus("Product price = ", _sl(_ul(_Jy))));
_A9(_Ey, _3l, yyfplus("Product desc = ", _sl(_ul(_Ky))));
_Ey._Ny = _vp(_Ey._Ny, 314600701);
_Ey._Ny[_wp(_dl)] = _Oq(80, _Gy, "PopUps", 11);
_0m(_3l, _4l, _Ey._Ny[_Tn(_dl, _Ey._Ny)])._Oy(1.3);
_0m(_3l, _4l, _Ey._Ny[_Tn(_dl, _Ey._Ny)])._Py(0.25);
_0m(_3l, _4l, _Ey._Ny[_Tn(_dl, _Ey._Ny)])._Pq = "";
_0m(_3l, _4l, _Ey._Ny[_Tn(_dl, _Ey._Ny)])._mm = _Iy;
_0m(_3l, _4l, _Ey._Ny[_Tn(_dl, _Ey._Ny)])._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_Ey._Qy = _vp(_Ey._Qy, 1184488228);
_Ey._Qy[_wp(_dl)] = _Oq(294, _Gy, "PopUps", 39);
_0m(_3l, _4l, _Ey._Qy[_Tn(_dl, _Ey._Qy)])._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Ey._Qy[_Tn(_dl, _Ey._Qy)])._mm = _Jy;
var _Ry = _dl;
var _Sy = -1;
if (yyCompareVal(_Ry, 0, g_GMLMathEpsilon) == 0) {
_Sy = 0;
} else if (yyCompareVal(_Ry, 1, g_GMLMathEpsilon) == 0) {
_Sy = 1;
} else if (yyCompareVal(_Ry, 2, g_GMLMathEpsilon) == 0) {
_Sy = 2;
} else if (yyCompareVal(_Ry, 3, g_GMLMathEpsilon) == 0) {
_Sy = 3;
}
switch (_Sy) {
case 0: {
_0m(_3l, _4l, _Ey._Qy[_Tn(_dl, _Ey._Qy)])._4r = 189;
break;
}
case 1: {
_0m(_3l, _4l, _Ey._Qy[_Tn(_dl, _Ey._Qy)])._4r = 190;
break;
}
case 2: {
_0m(_3l, _4l, _Ey._Qy[_Tn(_dl, _Ey._Qy)])._4r = 191;
break;
}
case 3: {
_0m(_3l, _4l, _Ey._Qy[_Tn(_dl, _Ey._Qy)])._4r = 192;
break;
}
}
_Gy = yyfplus(_Gy, _Hy);
}
}
_0m(_3l, _4l, _Ey._Qy[_Tn(0, _Ey._Qy)])._Ty = 196;
_0m(_3l, _4l, _Ey._Qy[_Tn(1, _Ey._Qy)])._Ty = 197;
_0m(_3l, _4l, _Ey._Qy[_Tn(2, _Ey._Qy)])._Ty = 197;
_0m(_3l, _4l, _Ey._Qy[_Tn(3, _Ey._Qy)])._Ty = 197;
if (yyGetBool(_il(_Ey._1n, "fullversion"))) {
_0m(_3l, _4l, _Ey._Qy[_Tn(0, _Ey._Qy)])._6r = 0 ? 1 : 0;
}
}
}
}
}
function _M5(_3l, _4l) {
var _Uy = _rn._lx();
var _Vy = -1;
if (yyCompareVal(_Uy, 4, g_GMLMathEpsilon) == 0) {
_Vy = 0;
} else if (yyCompareVal(_Uy, 3, g_GMLMathEpsilon) == 0) {
_Vy = 1;
}
switch (_Vy) {
case 0: {
if (yyGetBool(global._tx) && yyGetBool(_qx())) {
{
var _Ol = _Q8(_3l, _4l, "msg_PurchaseUnlock");
_Ol = _Pl(_Ol, "$price", global._ux[_Tn(0, global._ux)][~~1]);
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Yes"), 332, 194, global._Ll, 1);
}
} else {
{
global._tx = 0 ? 1 : 0;
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_StoreConnect_Unlock"), _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
}
break;
}
case 1: {
if (yyGetBool(global._tx)) {
{
var _Ol = _Q8(_3l, _4l, "msg_PurchaseUnlock");
_Ol = _Pl(_Ol, "$price", global._ux[_Tn(0, global._ux)][~~1]);
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Cancel"), _Q8(_3l, _4l, "ui_Yes"), 332, 194, global._Ll, 1);
}
} else {
{
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_StoreConnect_Unlock"), _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
}
break;
}
}
}
function _N5(_3l, _4l) {
if (yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "fullversion"))) {
{
_3l._6r = 0 ? 1 : 0;
_3l._mm = _Q8(_3l, _4l, "ui_Purchased");
}
}
}
function _O5(_3l, _4l) {
_3l._6r = 1 ? 1 : 0;
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "fullversion"))) {
_3l._6r = 0 ? 1 : 0;
}
}
function _P5(_3l, _4l) {
var _Ol = yyfplus("info_", _sl(_99(_3l, _4l, _il(_0m(_3l, _4l, 42)._tn, "position"))));
_T7(_3l, _4l, "", _Q8(_3l, _4l, _Ol), _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
function _Q5(_3l, _4l) {
var _Ol = "";
var _Wy = _il(_0m(_3l, _4l, 42)._tn, "position");
var _Xy = -1;
if (yyCompareVal(_Wy, 1, g_GMLMathEpsilon) == 0) {
_Xy = 0;
} else if (yyCompareVal(_Wy, 10, g_GMLMathEpsilon) == 0) {
_Xy = 1;
} else if (
yyCompareVal(_Wy, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_Wy, 6, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_Wy, 7, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_Wy, 9, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_Wy, 8, g_GMLMathEpsilon) == 0
) {
_Xy = 2;
}
switch (_Xy) {
case 0: {
_Ol = _Q8(_3l, _4l, "info_Skill_Throwing");
break;
}
case 1: {
_Ol = _Q8(_3l, _4l, "info_Skill_Kicking");
break;
}
case 2: {
_Ol = _Q8(_3l, _4l, "info_Skill_Tackling");
break;
}
default: {
_Ol = _Q8(_3l, _4l, "info_Skill_Catching");
break;
}
}
_Ol = yyfplus(_Ol, yyfplus("\n\n", _sl(_Q8(_3l, _4l, "info_Skill_Strength"))));
_Ol = yyfplus(_Ol, yyfplus("\n\n", _sl(_Q8(_3l, _4l, "info_Skill_Speed"))));
_Ol = yyfplus(_Ol, yyfplus("\n\n", _sl(_Q8(_3l, _4l, "info_Skill_Stamina"))));
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
function _R5(_3l, _4l) {
var _Ol = yyfplus("info_coachtrait_", _sl(_ul(_il(_0m(_3l, _4l, 42)._tn, "trait"))));
_Ol = _Q8(_3l, _4l, _Ol);
var _Yy = _il(_0m(_3l, _4l, 42)._tn, "position");
var _Zy = -1;
if (yyCompareVal(_Yy, 101, g_GMLMathEpsilon) == 0) {
_Zy = 0;
} else if (yyCompareVal(_Yy, 102, g_GMLMathEpsilon) == 0) {
_Zy = 1;
}
switch (_Zy) {
case 0: {
_Ol = _Wm(_Ol, "$pos", _Xm(_Q8(_3l, _4l, "ui_Defensive")));
break;
}
case 1: {
_Ol = _Wm(_Ol, "$pos", _Xm(_Q8(_3l, _4l, "ui_Offensive")));
break;
}
}
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
function _S5(_3l, _4l) {
var _Ol = _Q8(_3l, _4l, "info_DraftPicks");
{
var __y = _8l(42);
for (var _0z in __y) {
if (!__y.hasOwnProperty(_0z)) continue;
var _1z = __y[_0z];
if (_1z._bl) continue;
if (!_1z._cl) continue;
{
_Ol = _Pl(_Ol, "$num1", _ul(_1z._Sn[_Tn(0, _1z._Sn)]));
_Ol = _Pl(_Ol, "$num2", _ul(_1z._Sn[_Tn(1, _1z._Sn)]));
_Ol = _Pl(_Ol, "$num3", _ul(_1z._Sn[_Tn(2, _1z._Sn)]));
}
}
}
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
function _T5(_3l, _4l, _5l) {
var _2z = _5l;
var _3z = -1;
if (yyCompareVal(_2z, "info_Skills", g_GMLMathEpsilon) == 0) {
_3z = 0;
} else if (yyCompareVal(_2z, "info_Position", g_GMLMathEpsilon) == 0) {
_3z = 1;
} else if (yyCompareVal(_2z, "info_DraftPicks", g_GMLMathEpsilon) == 0) {
_3z = 2;
} else if (yyCompareVal(_2z, "info_CoachTrait", g_GMLMathEpsilon) == 0) {
_3z = 3;
}
switch (_3z) {
case 0: {
_P5(_3l, _4l);
break;
}
case 1: {
_Q5(_3l, _4l);
break;
}
case 2: {
_S5(_3l, _4l);
break;
}
case 3: {
_R5(_3l, _4l);
break;
}
default: {
_T7(_3l, _4l, "", _Q8(_3l, _4l, _5l), _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
break;
}
}
}
function _U5(_3l, _4l, _5l) {
if (yyGetBool(_5l)) {
_0m(_3l, _4l, 42)._1m = yyfplus(_0m(_3l, _4l, 42)._1m, 1);
}
if (yyfgreater(_0m(_3l, _4l, 42)._1m, 7)) {
_0m(_3l, _4l, 42)._1m = 1;
}
_4z(yyfplus(yyfplus(yyfplus("s_play(", _sl(_ul(_5l))), ") STAGE = "), _sl(_ul(_0m(_3l, _4l, 42)._1m))));
var _5z = _0m(_3l, _4l, 42)._1m;
var _6z = -1;
if (yyCompareVal(_5z, 1, g_GMLMathEpsilon) == 0) {
_6z = 0;
} else if (yyCompareVal(_5z, 2, g_GMLMathEpsilon) == 0) {
_6z = 1;
} else if (yyCompareVal(_5z, 3, g_GMLMathEpsilon) == 0) {
_6z = 2;
} else if (yyCompareVal(_5z, 4, g_GMLMathEpsilon) == 0) {
_6z = 3;
} else if (yyCompareVal(_5z, 5, g_GMLMathEpsilon) == 0) {
_6z = 4;
} else if (yyCompareVal(_5z, 6, g_GMLMathEpsilon) == 0) {
_6z = 5;
} else if (yyCompareVal(_5z, 7, g_GMLMathEpsilon) == 0) {
_6z = 6;
}
switch (_6z) {
case 0: {
_3m(4);
break;
}
case 1: {
_E4(_3l, _4l);
break;
}
case 2: {
if (yyGetBool(global._7u) && yyGetBool(!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "fullversion")))) {
{
if (yyfgreaterequal(_0m(_3l, _4l, 42)._xt, 5)) {
{
_M5(_3l, _4l);
_0m(_3l, _4l, 42)._1m = 1;
return;
}
}
}
} else {
if (yyGetBool(!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "done_review_reward"))) && yyGetBool(yyfgreaterequal(_0m(_3l, _4l, 42)._sm, 2)) && yyGetBool(yyfgreaterequal(_0m(_3l, _4l, 42)._Nl, 8))) {
{
_28(_3l, _4l);
_0m(_3l, _4l, 42)._1m = 1;
return;
}
}
}
_V5(_3l, _4l);
break;
}
case 3: {
if (!yyGetBool(_n5(_3l, _4l, _0m(_3l, _4l, 42)._Nl))) {
{
_0m(_3l, _4l, 42)._1m = 1;
return;
}
}
_3m(11);
break;
}
case 4: {
_g5(_3l, _4l, 0);
_3m(13);
break;
}
case 5: {
_3m(22);
break;
}
case 6: {
_W5(_3l, _4l);
_U5(_3l, _4l, 1);
break;
}
}
}
function _V5(_3l, _4l) {
_A9(_3l, _4l, "s_next_match");
_0m(_3l, _4l, 42)._Bo = 0;
var _Nl = _0m(_3l, _4l, 42)._Nl;
var _wu = _n5(_3l, _4l, _Nl);
if (yyGetBool(_wu) && yyGetBool(yyfnotequal(_il(_wu, "human_win"), "unplayed"))) {
{
_0m(_3l, _4l, 42)._Nl++;
_0m(_3l, _4l, 42)._1m = 2;
return;
}
}
if (yyGetBool(_wu)) {
{
_3m(14);
}
} else {
if (yyfless(_Nl, 18)) {
{
_86(_3l, _4l);
}
} else {
if (yyfless(_Nl, 29)) {
{
_0m(_3l, _4l, 42)._dm = 1 ? 1 : 0;
_t8(_3l, _4l, 0);
_z8(_3l, _4l, 2, 0);
_3m(12);
}
} else {
if (yyfgreater(_d6(_3l, _4l), 0)) {
{
_3m(2);
}
} else {
{
_X5(_3l, _4l);
}
}
}
}
}
}
function _W5(_3l, _4l) {
_A9(_3l, _4l, "s_do_next_week");
{
var _7z = _8l(42);
for (var _8z in _7z) {
if (!_7z.hasOwnProperty(_8z)) continue;
var _9z = _7z[_8z];
if (_9z._bl) continue;
if (!_9z._cl) continue;
{
_9z._Nl = yyfplus(_9z._Nl, 1);
_9z._Sr = 0 ? 1 : 0;
_9z._az = 0 ? 1 : 0;
_9z._pq = 0 ? 1 : 0;
_9z._Xr = 0 ? 1 : 0;
_X4(_9z, _3l);
_56(_9z, _3l);
_c6(_9z, _3l);
if (yyfequal(_9z._Nl, 9)) {
_46(_9z, _3l);
}
if (yyfequal(_9z._Nl, 18)) {
_f5(_9z, _3l);
}
_J4(_9z, _3l, 1);
_K4(_9z, _3l, 1);
_25(_9z, _3l);
_A9(_9z, _3l, yyfplus(">>>>> NEW WEEK = ", _sl(_ul(_9z._Nl))));
}
}
}
}
function _X5(_3l, _4l) {
{
var _bz = _8l(42);
for (var _cz in _bz) {
if (!_bz.hasOwnProperty(_cz)) continue;
var _dz = _bz[_cz];
if (_dz._bl) continue;
if (!_dz._cl) continue;
{
_t8(_dz, _3l, 1);
_dz._ez = 0 ? 1 : 0;
if (yyfgreater(_dz._sm, 1)) {
_J2(_dz, _3l, "ACH_SEASON1");
}
if (yyfgreaterequal(_H2(_dz, _3l, "ACH_SEASON1"), 5)) {
_J2(_dz, _3l, "ACH_SEASON5");
}
if (yyfgreaterequal(_H2(_dz, _3l, "ACH_SEASON1"), 10)) {
_J2(_dz, _3l, "ACH_SEASON10");
}
_dz._Nl = 1;
_dz._sm = yyfplus(_dz._sm, 1);
var _dl = 0;
for (; yyfless(_dl, _el(_dz._ip)); _dl++) {
_Tm(_hl(_dz._ip, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_dz._Im)); _dl++) {
_Tm(_hl(_dz._Im, _dl));
}
var _dl = 0;
for (; yyfless(_dl, _el(_dz._jp)); _dl++) {
_Tm(_hl(_dz._jp, _dl));
}
_Fl(_dz._jp);
_Fl(_dz._ip);
_Fl(_dz._Im);
_dz._jp = _yl();
_dz._ip = _b5(_dz, _3l);
_dz._Im = _d5(_dz, _3l);
var _Ol = _Q8(_dz, _3l, "msg_NewSeason");
_Cl(_dz._hm, _Ol);
if (yyGetBool(yyfless(_dz._Kn, 150)) && yyGetBool(yyfgreater(_dz._sm, 2))) {
{
_dz._Kn = yyfplus(_dz._Kn, 10);
var _Ol = _Q8(_dz, _3l, "msg_SalaryCapIncrease");
_Ol = _Pl(_Ol, "$num", _dz._Kn);
_Cl(_dz._hm, _Ol);
}
}
_dz._Zn = 1;
_dz._Jl = yyfplus(_dz._Jl, 3);
var _dl = 0;
for (; yyfless(_dl, 2); _dl++) {
{
_dz._zt = _vp(_dz._zt, 2715679943);
_dz._zt[_wp(_dl)] = 0;
_dz._At = _vp(_dz._At, 1347883046);
_dz._At[_wp(_dl)] = 0;
_dz._Bt = _vp(_dz._Bt, 1479056974);
_dz._Bt[_wp(_dl)] = 0;
_dz._Ct = _vp(_dz._Ct, 2834685920);
_dz._Ct[_wp(_dl)] = 0;
_dz._Dt = _vp(_dz._Dt, 542240354);
_dz._Dt[_wp(_dl)] = 0;
_dz._Et = _vp(_dz._Et, 2346691544);
_dz._Et[_wp(_dl)] = 0;
_dz._Ft = _vp(_dz._Ft, 379739238);
_dz._Ft[_wp(_dl)] = 0;
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_dz._Bm)); _dl++) {
{
var _Cm = _hl(_0m(_3l, _4l, 42)._Bm, _dl);
_vl(_Cm, "wins", 0);
_vl(_Cm, "losses", 0);
_vl(_Cm, "ties", 0);
_vl(_Cm, "stat_games", 0);
_vl(_Cm, "stat_att", 0);
_vl(_Cm, "stat_comp", 0);
_vl(_Cm, "stat_yds", 0);
_vl(_Cm, "stat_td", 0);
_vl(_Cm, "stat_int", 0);
_vl(_Cm, "stat_sck", 0);
_vl(_Cm, "match_yds", 0);
_vl(_Cm, "match_td", 0);
_vl(_Cm, "match_int", 0);
_vl(_Cm, "match_sck", 0);
if (yyfequal(_il(_Cm, "name"), "Oakland")) {
{
_vl(_Cm, "name", "Las Vegas");
_vl(_Cm, "name_sub13", "Las Vegas");
_vl(_Cm, "tla", "L.V");
_Z7(_dz, _3l, _Q8(_dz, _3l, "news_OaklandMove"));
}
}
_vl(_Cm, "defense", _cm(yyfplus(_sl(_ml(_il(_Cm, "defense"))), _sl(_Vm(-1, 1))), 1, 10));
_vl(_Cm, "offense", _cm(yyfplus(_sl(_ml(_il(_Cm, "offense"))), _sl(_Vm(-1, 1))), 1, 10));
}
}
_u9(_dz, _3l);
_46(_dz, _3l);
__4(_dz, _3l);
_3m(4);
_dz._1m = 1;
}
}
}
}
function _Y5(_3l, _4l) {
_A9(_3l, _4l, yyfplus("s_update_team_buttons:", _sl(_ul(_3l._rm))));
var _fz = _yl();
var _Am = 0;
for (; yyfless(_Am, _el(_0m(_3l, _4l, 42)._Bm)); _Am++) {
{
var _Pn = _hl(_0m(_3l, _4l, 42)._Bm, _Am);
if (yyfequal(_il(_Pn, "conference"), _3l._rm)) {
_Cl(_fz, _Pn);
}
}
}
_fz = _m9(_3l, _4l, _fz, 1, 1);
var _gz = 0;
for (; yyfless(_gz, 16); _gz++) {
{
var _Cm = _hl(_fz, _gz);
_0m(_3l, _4l, _3l._Eq[_Tn(_gz, _3l._Eq)])._mm = _il(_Cm, "name_sub13");
}
}
_Fl(_fz);
var _hz = _3l._rm;
var _iz = -1;
if (yyCompareVal(_hz, 0, g_GMLMathEpsilon) == 0) {
_iz = 0;
} else if (yyCompareVal(_hz, 1, g_GMLMathEpsilon) == 0) {
_iz = 1;
}
switch (_iz) {
case 0: {
_0m(_3l, _4l, 100019)._am = global._bm;
_0m(_3l, _4l, 100018)._am = global._Ll;
break;
}
case 1: {
_0m(_3l, _4l, 100019)._am = global._Ll;
_0m(_3l, _4l, 100018)._am = global._bm;
break;
}
}
}
function _Z5(_3l, _4l) {
_A9(_3l, _4l, yyfplus("s_update_job_offer_buttons: ", _sl(_ul(_3l._rm))));
var _fz = _yl();
_Rm(_fz, _0m(_3l, _4l, 42)._Bm);
_fz = _m9(_3l, _4l, _fz, 1, 1);
var _Am = 0;
for (; yyfless(_Am, _el(_fz)); _Am++) {
{
var _Cm = _hl(_fz, _Am);
if (yyfnotequal(_il(_Cm, "conference"), _3l._rm)) {
_El(_fz, _Am--);
}
}
}
var _gz = 0;
for (; yyfless(_gz, 16); _gz++) {
{
var _Cm = _hl(_fz, _gz);
_0m(_3l, _4l, _3l._Eq[_Tn(_gz, _3l._Eq)])._mm = _il(_Cm, "name_sub13");
_0m(_3l, _4l, _3l._Eq[_Tn(_gz, _3l._Eq)])._6r = 1 ? 1 : 0;
if (!yyGetBool(_e6(_3l, _4l, _Cm))) {
_0m(_3l, _4l, _3l._Eq[_Tn(_gz, _3l._Eq)])._6r = 0 ? 1 : 0;
}
}
}
_Fl(_fz);
var _jz = _3l._rm;
var _kz = -1;
if (yyCompareVal(_jz, 0, g_GMLMathEpsilon) == 0) {
_kz = 0;
} else if (yyCompareVal(_jz, 1, g_GMLMathEpsilon) == 0) {
_kz = 1;
}
switch (_kz) {
case 0: {
_0m(_3l, _4l, 100019)._am = global._bm;
_0m(_3l, _4l, 100018)._am = global._Ll;
break;
}
case 1: {
_0m(_3l, _4l, 100019)._am = global._Ll;
_0m(_3l, _4l, 100018)._am = global._bm;
break;
}
}
}
function __5(_3l, _4l) {
_0m(_3l, _4l, 100057)._am = global._Ll;
_0m(_3l, _4l, 100058)._am = global._Ll;
_0m(_3l, _4l, 100059)._am = global._Ll;
var _lz = _il(_0m(_3l, _4l, 42)._1n, "op_drivedir");
var _mz = -1;
if (yyCompareVal(_lz, -1, g_GMLMathEpsilon) == 0) {
_mz = 0;
} else if (yyCompareVal(_lz, 0, g_GMLMathEpsilon) == 0) {
_mz = 1;
} else if (yyCompareVal(_lz, 1, g_GMLMathEpsilon) == 0) {
_mz = 2;
}
switch (_mz) {
case 0: {
_0m(_3l, _4l, 100057)._am = global._bm;
break;
}
case 1: {
_0m(_3l, _4l, 100059)._am = global._bm;
break;
}
case 2: {
_0m(_3l, _4l, 100058)._am = global._bm;
break;
}
}
var _nz = _il(_0m(_3l, _4l, 42)._1n, "op_scanlines");
var _oz = -1;
if (yyCompareVal(_nz, 1, g_GMLMathEpsilon) == 0) {
_oz = 0;
} else if (yyCompareVal(_nz, 0, g_GMLMathEpsilon) == 0) {
_oz = 1;
}
switch (_oz) {
case 0: {
_0m(_3l, _4l, 100060)._mm = _Q8(_3l, _4l, "ui_On");
break;
}
case 1: {
_0m(_3l, _4l, 100060)._mm = _Q8(_3l, _4l, "ui_Off");
break;
}
}
var _pz = _il(_0m(_3l, _4l, 42)._1n, "op_weather");
var _qz = -1;
if (yyCompareVal(_pz, 1, g_GMLMathEpsilon) == 0) {
_qz = 0;
} else if (yyCompareVal(_pz, 0, g_GMLMathEpsilon) == 0) {
_qz = 1;
}
switch (_qz) {
case 0: {
_0m(_3l, _4l, 100064)._mm = _Q8(_3l, _4l, "ui_On");
break;
}
case 1: {
_0m(_3l, _4l, 100064)._mm = _Q8(_3l, _4l, "ui_Off");
break;
}
}
var _rz = _il(_0m(_3l, _4l, 42)._1n, "op_tips");
var _sz = -1;
if (yyCompareVal(_rz, 1, g_GMLMathEpsilon) == 0) {
_sz = 0;
} else if (yyCompareVal(_rz, 0, g_GMLMathEpsilon) == 0) {
_sz = 1;
}
switch (_sz) {
case 0: {
_0m(_3l, _4l, 100067)._mm = _Q8(_3l, _4l, "ui_On");
break;
}
case 1: {
_0m(_3l, _4l, 100067)._mm = _Q8(_3l, _4l, "ui_Off");
break;
}
}
var _tz = _il(_0m(_3l, _4l, 42)._1n, "op_soundfx");
var _uz = -1;
if (yyCompareVal(_tz, 1, g_GMLMathEpsilon) == 0) {
_uz = 0;
} else if (yyCompareVal(_tz, 0, g_GMLMathEpsilon) == 0) {
_uz = 1;
}
switch (_uz) {
case 0: {
_0m(_3l, _4l, 100069)._mm = _Q8(_3l, _4l, "ui_On");
break;
}
case 1: {
_0m(_3l, _4l, 100069)._mm = _Q8(_3l, _4l, "ui_Off");
break;
}
}
var _vz = _il(_0m(_3l, _4l, 42)._1n, "op_zoom");
var _wz = -1;
if (yyCompareVal(_vz, 1, g_GMLMathEpsilon) == 0) {
_wz = 0;
} else if (yyCompareVal(_vz, 0, g_GMLMathEpsilon) == 0) {
_wz = 1;
}
switch (_wz) {
case 0: {
_0m(_3l, _4l, 100071)._mm = _Q8(_3l, _4l, "ui_On");
break;
}
case 1: {
_0m(_3l, _4l, 100071)._mm = _Q8(_3l, _4l, "ui_Off");
break;
}
}
var _xz = _il(_0m(_3l, _4l, 42)._1n, "op_music");
var _yz = -1;
if (yyCompareVal(_xz, 0, g_GMLMathEpsilon) == 0) {
_yz = 0;
} else if (yyCompareVal(_xz, 1, g_GMLMathEpsilon) == 0) {
_yz = 1;
} else if (yyCompareVal(_xz, 2, g_GMLMathEpsilon) == 0) {
_yz = 2;
}
switch (_yz) {
case 0: {
_0m(_3l, _4l, 100073)._mm = _Q8(_3l, _4l, "ui_Off");
break;
}
case 1: {
_0m(_3l, _4l, 100073)._mm = _Q8(_3l, _4l, "ui_Menus");
break;
}
case 2: {
_0m(_3l, _4l, 100073)._mm = _Q8(_3l, _4l, "ui_Continuous");
break;
}
}
_0m(_3l, _4l, 100062)._mm = "v1.0.0.0";
_65(_3l, _4l);
_i6(_3l, _4l);
}
function _06(_3l, _4l) {
var _Qp = 0;
{
var _zz = _8l(42);
for (var _Az in _zz) {
if (!_zz.hasOwnProperty(_Az)) continue;
var _Bz = _zz[_Az];
if (_Bz._bl) continue;
if (!_Bz._cl) continue;
{
var _Wr = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_Bz._Um)); _dl++) {
{
var _Bl = _hl(_Bz._Um, _dl);
_Qp = yyfplus(_Qp, _il(_Bl, "attitude"));
_Wr++;
}
}
var _dl = 0;
for (; yyfless(_dl, _el(_Bz._Vo)); _dl++) {
{
var _Bl = _hl(_Bz._Vo, _dl);
_Qp = yyfplus(_Qp, _il(_Bl, "attitude"));
_Wr++;
}
}
_Qp = yyfdivide(_Qp, _Wr);
return round(_Qp);
}
}
}
}
function _16(_3l, _4l) {
var _9x = 0;
{
var _Cz = _8l(42);
for (var _Dz in _Cz) {
if (!_Cz.hasOwnProperty(_Dz)) continue;
var _Ez = _Cz[_Dz];
if (_Ez._bl) continue;
if (!_Ez._cl) continue;
{
var _Wr = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_Ez._Um)); _dl++) {
{
var _Bl = _hl(_Ez._Um, _dl);
if (yyGetBool(yyfgreater(_il(_Bl, "condition"), 0)) && yyGetBool(!yyGetBool(_il(_Bl, "resting")))) {
{
_9x = yyfplus(_9x, _il(_Bl, "condition"));
_Wr++;
}
}
}
}
_9x = yyfdivide(_9x, _Wr);
return round(_9x);
}
}
}
}
function _26(_3l, _4l, _5l) {
var _Qp = _5l;
if (yyflessequal(_Qp, 15)) {
return 0;
}
if (yyflessequal(_Qp, 30)) {
return 1;
}
if (yyflessequal(_Qp, 45)) {
return 2;
}
if (yyflessequal(_Qp, 60)) {
return 3;
}
if (yyflessequal(_Qp, 75)) {
return 4;
}
if (yyflessequal(_Qp, 90)) {
return 5;
}
return 6;
}
function _36(_3l, _4l) {
return _0m(_3l, _4l, 42)._Jl;
}
function _46(_3l, _4l) {
{
var _Fz = _8l(42);
for (var _Gz in _Fz) {
if (!_Fz.hasOwnProperty(_Gz)) continue;
var _Hz = _Fz[_Gz];
if (_Hz._bl) continue;
if (!_Hz._cl) continue;
{
var _Iz = _Sm(2);
var _Jz = -1;
if (yyCompareVal(_Iz, 0, g_GMLMathEpsilon) == 0) {
_Jz = 0;
} else if (yyCompareVal(_Iz, 1, g_GMLMathEpsilon) == 0) {
_Jz = 1;
} else if (yyCompareVal(_Iz, 2, g_GMLMathEpsilon) == 0) {
_Jz = 2;
}
switch (_Jz) {
case 0: {
if (yyGetBool(yyfequal(_Hz._Ml, 0)) && yyGetBool(yyfgreater(_Hz._Kl, 1))) {
{
_Hz._Kl--;
var _Ol = _Q8(_Hz, _3l, "msg_FacilityDeclineStadium");
_Cl(_Hz._hm, _Ol);
}
}
break;
}
case 1: {
if (yyGetBool(yyfequal(_Hz._Ul, 0)) && yyGetBool(yyfgreater(_Hz._Tl, 1))) {
{
_Hz._Tl--;
var _Ol = _Q8(_Hz, _3l, "msg_FacilityDeclineTraining");
_Cl(_Hz._hm, _Ol);
}
}
}
case 2: {
if (yyGetBool(yyfequal(_Hz._Zl, 0)) && yyGetBool(yyfgreater(_Hz._Yl, 1))) {
{
_Hz._Yl--;
var _Ol = _Q8(_Hz, _3l, "msg_FacilityDeclineRehab");
_Cl(_Hz._hm, _Ol);
}
}
}
}
_Hz._Ml = 0;
_Hz._Ul = 0;
_Hz._Zl = 0;
}
}
}
}
function _56(_3l, _4l) {
{
var _Kz = _8l(42);
for (var _Lz in _Kz) {
if (!_Kz.hasOwnProperty(_Lz)) continue;
var _Mz = _Kz[_Lz];
if (_Mz._bl) continue;
if (!_Mz._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_Mz._Um)); _dl++) {
{
var _Bl = _hl(_Mz._Um, _dl);
_vl(_Bl, "meetingdone", 0);
}
}
}
}
}
}
function _66(_3l, _4l, _5l) {
var _Bl = _5l;
if (yyfless(yyfplus(_sl(_il(_Bl, "xp")), _sl(_il(_Bl, "xp_gain"))), yyftime(_sl(_il(_Bl, "xp_level")), 100))) {
return 0;
}
return 1;
}
function _76(_3l, _4l) {
{
var _Nz = _8l(42);
for (var _Oz in _Nz) {
if (!_Nz.hasOwnProperty(_Oz)) continue;
var _Pz = _Nz[_Oz];
if (_Pz._bl) continue;
if (!_Pz._cl) continue;
{
var _wu = _n5(_Pz, _3l, _Pz._Nl);
if (yyGetBool(!yyGetBool(_wu)) && yyGetBool(yyfless(_Pz._Nl, 18))) {
return 1;
}
}
}
}
return 0;
}
function _86(_3l, _4l) {
{
var _Qz = _8l(42);
for (var _Rz in _Qz) {
if (!_Qz.hasOwnProperty(_Rz)) continue;
var _Sz = _Qz[_Rz];
if (_Sz._bl) continue;
if (!_Sz._cl) continue;
{
_g5(_Sz, _3l, 0);
_t8(_Sz, _3l, 0);
_z8(_Sz, _3l, yyftime(_sl(_Sz._Yl), 10), 0);
_y8(_Sz, _3l);
_w8(_Sz, _3l);
var _Ol = _z4(_Sz, _3l, "dilemma_ByeWeek");
_Aq(_Sz._uq);
_Sz._uq = _x4(_Sz, _3l, _Ol, -4, "ui_ByeWeek");
_y4(_Sz, _3l, _Sz._uq);
_Sz._1m = 5;
}
}
}
}
function _96(_3l, _4l) {
{
var _Tz = _8l(42);
for (var _Uz in _Tz) {
if (!_Tz.hasOwnProperty(_Uz)) continue;
var _Vz = _Tz[_Uz];
if (_Vz._bl) continue;
if (!_Vz._cl) continue;
{
_z8(_Vz, _3l, yyfplus(55, _sl(yyftime(_sl(_Vz._Yl), 1.5))), 1);
_y8(_Vz, _3l);
var _wu = _o5(_Vz, _3l);
if (yyGetBool(_wu) && yyGetBool(yyfnotequal(_il(_wu, "human_win"), "win"))) {
_w8(_Vz, _3l);
}
}
}
}
}
function _a6(_3l, _4l) {
{
var _Wz = _8l(42);
for (var _Xz in _Wz) {
if (!_Wz.hasOwnProperty(_Xz)) continue;
var _Yz = _Wz[_Xz];
if (_Yz._bl) continue;
if (!_Yz._cl) continue;
{
var _zq = _n5(_Yz, _3l, _Yz._Nl);
var _Zz = 0;
if (yyGetBool(_zq)) {
{
_Zz = yyfminus(_sl(_Yz._Kl), 5);
if (yyfequal(_il(_zq, "human_win"), "loss")) {
{
_Zz = yyfminus(_Zz, 10);
}
} else {
if (yyfequal(_il(_zq, "human_win"), "win")) {
{
_Zz = yyfplus(_Zz, 8);
}
} else {
_Zz = yyfminus(_Zz, 2);
}
}
_Zz = yyfplus(_Zz, _N8(_Yz, _3l));
if (yyfless(_0m(_3l, _4l, 42)._wt, 1)) {
_Zz--;
}
}
}
_Yz._Lp = _cm(yyfplus(_sl(_Yz._Lp), _sl(_Zz)), 1, 100);
_Yz._az = 1 ? 1 : 0;
}
}
}
}
function _b6(_3l, _4l) {
var __z = 0.85;
{
var _0A = _8l(42);
for (var _1A in _0A) {
if (!_0A.hasOwnProperty(_1A)) continue;
var _2A = _0A[_1A];
if (_2A._bl) continue;
if (!_2A._cl) continue;
{
_A9(_2A, _3l, yyfplus("s_check_intro: ", _sl(_ul(_2A._cq))));
var _3A = _2A._cq;
var _4A = -1;
if (yyCompareVal(_3A, 1, g_GMLMathEpsilon) == 0) {
_4A = 0;
} else if (yyCompareVal(_3A, 2, g_GMLMathEpsilon) == 0) {
_4A = 1;
} else if (yyCompareVal(_3A, 3, g_GMLMathEpsilon) == 0) {
_4A = 2;
} else if (yyCompareVal(_3A, 4, g_GMLMathEpsilon) == 0) {
_4A = 3;
} else if (yyCompareVal(_3A, 5, g_GMLMathEpsilon) == 0) {
_4A = 4;
} else if (yyCompareVal(_3A, 6, g_GMLMathEpsilon) == 0) {
_4A = 5;
} else if (yyCompareVal(_3A, 7, g_GMLMathEpsilon) == 0) {
_4A = 6;
} else if (yyCompareVal(_3A, 8, g_GMLMathEpsilon) == 0) {
_4A = 7;
}
switch (_4A) {
case 0: {
if (yyfequal(_rn._sn(), 4)) {
{
var _Ol = _S8(_2A, _3l, "msg_Intro_1");
_T7(_2A, _3l, "", _Ol, _Q8(_2A, _3l, "ui_SkipTutorial"), _Q8(_2A, _3l, "ui_Ok"), 111, 332, global._Ll, __z);
_2A._cq++;
}
}
break;
}
case 1: {
if (yyfequal(_rn._sn(), 8)) {
{
var _Ol = _S8(_2A, _3l, "msg_Intro_2");
_T7(_2A, _3l, "", _Ol, "", _Q8(_2A, _3l, "ui_Ok"), "", 332, global._Ll, __z);
_2A._cq++;
_0m(_3l, _4l, 100114)._fo = 1 ? 1 : 0;
}
}
break;
}
case 2: {
if (yyfequal(_rn._sn(), 8)) {
_0m(_3l, _4l, 100114)._fo = 1 ? 1 : 0;
}
if (yyfequal(_rn._sn(), 4)) {
{
var _Ol = _S8(_2A, _3l, "msg_Intro_3");
_T7(_2A, _3l, "", _Ol, "", _Q8(_2A, _3l, "ui_Ok"), "", 332, global._Ll, __z);
_2A._cq++;
}
}
break;
}
case 3: {
if (yyfequal(_rn._sn(), 17)) {
{
var _Ol = _S8(_2A, _3l, "msg_Intro_4");
_T7(_2A, _3l, "", _Ol, "", _Q8(_2A, _3l, "ui_Ok"), "", 332, global._Ll, __z);
_2A._cq++;
}
}
break;
}
case 4: {
if (yyfequal(_rn._sn(), 15)) {
{
var _Ol = _S8(_2A, _3l, "msg_Intro_5");
_T7(_2A, _3l, "", _Ol, "", _Q8(_2A, _3l, "ui_Ok"), "", 332, global._Ll, __z);
_2A._cq++;
_0m(_3l, _4l, 100225)._fo = 1 ? 1 : 0;
}
}
break;
}
case 5: {
if (yyfequal(_rn._sn(), 4)) {
{
var _Ol = _S8(_2A, _3l, "msg_Intro_6");
_T7(_2A, _3l, "", _Ol, "", _Q8(_2A, _3l, "ui_Ok"), "", 332, global._Ll, __z);
_2A._cq++;
}
}
break;
}
case 6: {
if (yyfequal(_rn._sn(), 14)) {
{
_J3(_2A, _3l);
_2A._cq++;
}
}
break;
}
case 7: {
if (yyfequal(_rn._sn(), 4)) {
{
var _Ol = _S8(_2A, _3l, "msg_Intro_8");
_T7(_2A, _3l, "", _Ol, "", _Q8(_2A, _3l, "ui_Ok"), "", 332, global._Ll, __z);
_2A._cq = 0;
_2A._1m = 1;
}
}
break;
}
}
}
}
}
}
function _c6(_3l, _4l) {
_A9(_3l, _4l, "s_do_result_news");
_A9(_3l, _4l, yyfplus("Year=", _sl(_ul(_3l._sm))));
_A9(_3l, _4l, yyfplus("Week=", _sl(_ul(_3l._Nl))));
{
var _5A = _8l(42);
for (var _6A in _5A) {
if (!_5A.hasOwnProperty(_6A)) continue;
var _7A = _5A[_6A];
if (_7A._bl) continue;
if (!_7A._cl) continue;
{
var _wu = _o5(_7A, _3l);
if (yyGetBool(_wu)) {
{
var _8A = "";
if (yyGetBool(yyfequal(_7A._sm, 1)) && yyGetBool(yyfequal(_7A._Nl, 18))) {
{
var _9A = _il(_wu, "human_win");
var _aA = -1;
if (yyCompareVal(_9A, "win", g_GMLMathEpsilon) == 0) {
_aA = 0;
} else if (yyCompareVal(_9A, "loss", g_GMLMathEpsilon) == 0) {
_aA = 1;
} else if (yyCompareVal(_9A, "tie", g_GMLMathEpsilon) == 0) {
_aA = 2;
}
switch (_aA) {
case 0: {
_8A = "news_firstmatchWin";
break;
}
case 1: {
_8A = "news_firstmatchLoss";
break;
}
case 2: {
_8A = "news_firstmatchTie";
break;
}
}
}
}
var _bA = _il(_wu, "away_team");
if (yyfequal(_bA, _7A._Fm)) {
_bA = _il(_wu, "home_team");
}
var _cA = _i9(_7A, _3l, _bA);
if (yyfnotequal(_8A, "")) {
{
_Z7(_7A, _3l, _R8(_7A, _3l, _8A, _7A._Dm, _cA, 0, 0));
}
}
}
}
}
}
}
}
function _d6(_3l, _4l) {
_A9(_3l, _4l, "Count job offers");
{
var _dA = _8l(42);
for (var _eA in _dA) {
if (!_dA.hasOwnProperty(_eA)) continue;
var _fA = _dA[_eA];
if (_fA._bl) continue;
if (!_fA._cl) continue;
{
if (yyfequal(_fA._sm, 1)) {
return 0;
}
var _rl = 0;
var _Am = 0;
for (; yyfless(_Am, _el(_fA._Bm)); _Am++) {
{
if (yyGetBool(_e6(_fA, _3l, _hl(_fA._Bm, _Am)))) {
_rl++;
}
}
}
return _rl;
}
}
}
}
function _e6(_3l, _4l, _5l) {
var _Cm = _5l;
var _gA = yyfplus(_sl(_ml(_il(_Cm, "offense"))), _sl(_ml(_il(_Cm, "defense"))));
{
var _hA = _8l(42);
for (var _iA in _hA) {
if (!_hA.hasOwnProperty(_iA)) continue;
var _jA = _hA[_iA];
if (_jA._bl) continue;
if (!_jA._cl) continue;
{
_A9(_jA, _3l, yyfplus("s_team_interested: ", _sl(_il(_Cm, "name"))));
_A9(_jA, _3l, yyfplus("coach_rating: ", _sl(_ul(_jA._as))));
_A9(_jA, _3l, yyfplus("team_rating: ", _sl(_ul(_gA))));
if (yyfequal(_ml(_il(_Cm, "uid")), _jA._Fm)) {
return 0;
}
if (yyfless(_jA._as, _gA)) {
return 0;
}
if (yyGetBool(yyfless(_jA._sm, 3)) && yyGetBool(yyfequal(_ml(_il(_Cm, "uid")), _jA._Em))) {
return 0;
}
}
}
}
return 1;
}
function _f6(_3l, _4l) {
{
var _kA = _8l(42);
for (var _lA in _kA) {
if (!_kA.hasOwnProperty(_lA)) continue;
var _mA = _kA[_lA];
if (_mA._bl) continue;
if (!_mA._cl) continue;
{
var _Zt = _Dq();
_vl(_Zt, "year", _mA._sm);
_vl(_Zt, "uid", _il(_mA._Dm, "uid"));
_vl(_Zt, "name", _il(_mA._Dm, "name"));
_vl(_Zt, "tla", _il(_mA._Dm, "tla"));
_vl(_Zt, "wins", _il(_mA._Dm, "wins"));
_vl(_Zt, "losses", _il(_mA._Dm, "losses"));
_vl(_Zt, "ties", _il(_mA._Dm, "ties"));
_vl(_Zt, "finish", _Q8(_mA, _3l, "conf_AFC"));
if (yyfequal(_mA._Gm, 1)) {
_vl(_Zt, "finish", _Q8(_mA, _3l, "conf_NFC"));
}
var _nA = _mA._Hm;
var _oA = -1;
if (yyCompareVal(_nA, 0, g_GMLMathEpsilon) == 0) {
_oA = 0;
} else if (yyCompareVal(_nA, 1, g_GMLMathEpsilon) == 0) {
_oA = 1;
} else if (yyCompareVal(_nA, 2, g_GMLMathEpsilon) == 0) {
_oA = 2;
} else if (yyCompareVal(_nA, 3, g_GMLMathEpsilon) == 0) {
_oA = 3;
}
switch (_oA) {
case 0: {
_vl(_Zt, "finish", yyfplus(_sl(_il(_Zt, "finish")), _sl(yyfplus(" ", _sl(_Q8(_mA, _3l, "sla_East"))))));
break;
}
case 1: {
_vl(_Zt, "finish", yyfplus(_sl(_il(_Zt, "finish")), _sl(yyfplus(" ", _sl(_Q8(_mA, _3l, "sla_West"))))));
break;
}
case 2: {
_vl(_Zt, "finish", yyfplus(_sl(_il(_Zt, "finish")), _sl(yyfplus(" ", _sl(_Q8(_mA, _3l, "sla_North"))))));
break;
}
case 3: {
_vl(_Zt, "finish", yyfplus(_sl(_il(_Zt, "finish")), _sl(yyfplus(" ", _sl(_Q8(_mA, _3l, "sla_South"))))));
break;
}
}
var _yn = _s5(_mA, _3l, _mA._Fm);
_vl(_Zt, "finish", yyfplus(_sl(_il(_Zt, "finish")), _sl(yyfplus(" ", _sl(_Q8(_mA, _3l, yyfplus("pos_", _sl(_ul(_yn)))))))));
_Cl(_mA._hp, _Zt);
}
}
}
}
function _g6(_3l, _4l, _5l) {
var _pA = _5l;
{
var _qA = _8l(42);
for (var _rA in _qA) {
if (!_qA.hasOwnProperty(_rA)) continue;
var _sA = _qA[_rA];
if (_sA._bl) continue;
if (!_sA._cl) continue;
{
var _Zt = _h6(_sA, _3l, _sA._sm);
if (yyGetBool(_tl(_Zt, 1))) {
{
var _tA = _pA;
var _uA = -1;
if (yyCompareVal(_tA, 1, g_GMLMathEpsilon) == 0) {
_uA = 0;
} else if (yyCompareVal(_tA, 2, g_GMLMathEpsilon) == 0) {
_uA = 1;
} else if (yyCompareVal(_tA, 3, g_GMLMathEpsilon) == 0) {
_uA = 2;
} else if (yyCompareVal(_tA, 4, g_GMLMathEpsilon) == 0) {
_uA = 3;
} else if (yyCompareVal(_tA, 5, g_GMLMathEpsilon) == 0) {
_uA = 4;
}
switch (_uA) {
case 0: {
_vl(_Zt, "finish", _Q8(_sA, _3l, "finish_WildCard"));
break;
}
case 1: {
_vl(_Zt, "finish", _Q8(_sA, _3l, "finish_Divisional"));
break;
}
case 2: {
_vl(_Zt, "finish", _Q8(_sA, _3l, "finish_Championship"));
break;
}
case 3: {
_vl(_Zt, "finish", _Q8(_sA, _3l, "finish_Champ_AFC"));
if (yyfequal(_sA._Gm, 1)) {
_vl(_Zt, "finish", _Q8(_sA, _3l, "finish_Champ_NFC"));
}
break;
}
case 4: {
_vl(_Zt, "finish", _Q8(_sA, _3l, "finish_SuperBowl"));
break;
}
}
}
}
}
}
}
}
function _h6(_3l, _4l, _5l) {
var _vA = _5l;
{
var _wA = _8l(42);
for (var _xA in _wA) {
if (!_wA.hasOwnProperty(_xA)) continue;
var _yA = _wA[_xA];
if (_yA._bl) continue;
if (!_yA._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_yA._hp)); _dl++) {
{
var _Zt = _hl(_yA._hp, _dl);
if (yyfequal(_il(_Zt, "year"), _vA)) {
return _Zt;
}
}
}
return -4;
}
}
}
}
function _i6(_3l, _4l) {
var _zA = _il(_0m(_3l, _4l, 42)._1n, "op_music");
var _AA = -1;
if (yyCompareVal(_zA, 0, g_GMLMathEpsilon) == 0) {
_AA = 0;
} else if (yyCompareVal(_zA, 1, g_GMLMathEpsilon) == 0) {
_AA = 1;
} else if (yyCompareVal(_zA, 2, g_GMLMathEpsilon) == 0) {
_AA = 2;
}
switch (_AA) {
case 0: {
if (yyGetBool(_BA(14))) {
{
_CA(14);
}
}
break;
}
case 1: {
if (yyGetBool(_DA(48)) && yyGetBool(_BA(14))) {
{
_EA(14, 0, 2500);
return;
}
}
}
case 2: {
if (!yyGetBool(_BA(14))) {
_FA(14, 0, 1);
} else {
_EA(14, 1, 5000);
}
break;
}
}
}
function _j6(_3l, _4l) {
var _GA = yyfminus(6, _sl(yyfdivide(_sl(_0m(_3l, _4l, _3l._HA)._IA), 4)));
_3l._JA = yyfplus(_3l._JA, yyftime(_sl(_3l._KA), _sl(_GA)));
var _LA = 100;
if (yyGetBool(yyfgreater(_3l._JA, yyfplus(300, _sl(_LA)))) || yyGetBool(yyfless(_3l._JA, yyfminus(300, _sl(_LA))))) {
_3l._KA = _sl(-_sl(_3l._KA));
}
var _MA = _0m(_3l, _4l, 48)._NA;
var _OA = -1;
if (yyCompareVal(_MA, -1, g_GMLMathEpsilon) == 0) {
_OA = 0;
} else if (yyCompareVal(_MA, 1, g_GMLMathEpsilon) == 0) {
_OA = 1;
}
switch (_OA) {
case 0: {
return _sl(-_sl(_PA(_0m(_3l, _4l, _3l._HA).x, _0m(_3l, _4l, _3l._HA).y, _3l._QA, _3l._JA)));
break;
}
case 1: {
return _sl(-_sl(_PA(_0m(_3l, _4l, _3l._HA).x, _0m(_3l, _4l, _3l._HA).y, _3l._QA, _3l._JA)));
break;
}
}
}
function _k6(_3l, _4l) {
{
var _RA = _8l(global._SA);
for (var _TA in _RA) {
if (!_RA.hasOwnProperty(_TA)) continue;
var _UA = _RA[_TA];
if (_UA._bl) continue;
if (!_UA._cl) continue;
{
var _VA = _UA._WA;
var _XA = -1;
if (
yyCompareVal(_VA, 0, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_VA, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_VA, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_VA, 18, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_VA, 19, g_GMLMathEpsilon) == 0
) {
_XA = 0;
}
switch (_XA) {
case 0: {
return 1;
}
default: {
return 0;
}
}
}
}
}
return 0;
}
function _l6(_3l, _4l) {
var _YA = _ZA(0);
var __A = _0B(0);
var _1B = 48;
var _2B = _3l._WA;
var _3B = -1;
if (yyCompareVal(_2B, 18, g_GMLMathEpsilon) == 0) {
_3B = 0;
} else if (yyCompareVal(_2B, 0, g_GMLMathEpsilon) == 0) {
_3B = 1;
} else if (yyCompareVal(_2B, 1, g_GMLMathEpsilon) == 0) {
_3B = 2;
} else if (yyCompareVal(_2B, 2, g_GMLMathEpsilon) == 0) {
_3B = 3;
} else if (yyCompareVal(_2B, 3, g_GMLMathEpsilon) == 0) {
_3B = 4;
} else if (
yyCompareVal(_2B, 4, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_2B, 6, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_2B, 7, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_2B, 8, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_2B, 11, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_2B, 13, g_GMLMathEpsilon) == 0
) {
_3B = 5;
} else if (yyCompareVal(_2B, 19, g_GMLMathEpsilon) == 0 || yyCompareVal(_2B, 9, g_GMLMathEpsilon) == 0 || yyCompareVal(_2B, 10, g_GMLMathEpsilon) == 0 || yyCompareVal(_2B, 5, g_GMLMathEpsilon) == 0) {
_3B = 6;
} else if (yyCompareVal(_2B, 14, g_GMLMathEpsilon) == 0 || yyCompareVal(_2B, 15, g_GMLMathEpsilon) == 0 || yyCompareVal(_2B, 16, g_GMLMathEpsilon) == 0) {
_3B = 7;
} else if (yyCompareVal(_2B, 17, g_GMLMathEpsilon) == 0) {
_3B = 8;
}
switch (_3B) {
case 0: {
if (yyGetBool(_q7(_3l, _4l)) && yyGetBool(_4B(1)) && yyGetBool(yyfless(_5B(_3l.x, _3l.y, _rn._6B(), _rn._7B()), 40))) {
{
_3l._8B = _YA;
_3l._9B = __A;
_3l._WA = 1;
}
}
if (yyGetBool(_3l._HA)) {
{
_o6(_3l, _4l);
}
}
break;
}
case 1: {
_3l._kr(_0m(_3l, _4l, _1B)._aB);
_3l._Us(_0m(_3l, _4l, _1B)._bB);
var _cB = _0m(_3l, _4l, 42)._Bo;
var _dB = -1;
if (yyCompareVal(_cB, 3, g_GMLMathEpsilon) == 0) {
_dB = 0;
} else if (yyCompareVal(_cB, 2, g_GMLMathEpsilon) == 0) {
_dB = 1;
}
switch (_dB) {
case 0: {
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Throw1");
break;
}
case 1: {
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Running1");
if (yyGetBool(global._fB)) {
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Running1b");
}
break;
}
}
if (yyGetBool(_4B(1))) {
{
{
var _gB = _8l(50);
for (var _hB in _gB) {
if (!_gB.hasOwnProperty(_hB)) continue;
var _iB = _gB[_hB];
if (_iB._bl) continue;
if (!_iB._cl) continue;
{
if (yyGetBool(yyfequal(_iB._jB, 2)) && yyGetBool(yyfless(_5B(_iB.x, _iB.y, _rn._6B(), _rn._7B()), 20))) {
{
_A9(_iB, _3l, "global.master_ball.state = BALL_HANDOFF;");
_0m(_3l, _4l, global._SA)._WA = 19;
_K7(_iB, _3l);
break;
}
}
}
}
}
if (yyfnotequal(_0m(_3l, _4l, 42)._Bo, 2)) {
{
if (yyfnotequal(_3l._WA, 19)) {
{
_3l._8B = _YA;
_3l._9B = __A;
_3l._WA = 1;
}
}
}
}
}
}
break;
}
case 2: {
if (yyGetBool(_4B(1))) {
{
_3l._kB = _5B(_3l._8B, _3l._9B, _YA, __A);
if (yyfgreater(_3l._kB, 20)) {
{
_3l._WA = 2;
_K7(_3l, _4l);
}
}
}
} else {
{
if (!yyGetBool(global._7u)) {
{
if (yyGetBool(_0m(_3l, _4l, global._SA)._rx[_Tn(0, _0m(_3l, _4l, global._SA)._rx)])) {
{
{
var _lB = _8l(48);
for (var _mB in _lB) {
if (!_lB.hasOwnProperty(_mB)) continue;
var _nB = _lB[_mB];
if (_nB._bl) continue;
if (!_nB._cl) continue;
_z6(_nB, _3l, 1);
}
}
_0m(_3l, _4l, global._SA)._rx = _vp(_0m(_3l, _4l, global._SA)._rx, 1387474851);
_0m(_3l, _4l, global._SA)._rx[_wp(0)] = 0;
return;
}
} else {
_0m(_3l, _4l, global._SA)._rx = _vp(_0m(_3l, _4l, global._SA)._rx, 1387474851);
_0m(_3l, _4l, global._SA)._rx[_wp(0)] = 15;
}
}
}
_3l._WA = 0;
return;
}
}
break;
}
case 3: {
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 3)) {
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Throw2");
}
{
var _oB = _8l(_3l._HA);
for (var _pB in _oB) {
if (!_oB.hasOwnProperty(_pB)) continue;
var _qB = _oB[_pB];
if (_qB._bl) continue;
if (!_qB._cl) continue;
{
if (yyGetBool(!yyGetBool(_rB(_qB._sB))) && yyGetBool(!yyGetBool(_s7(_qB, _3l))) && yyGetBool(yyfless(_qB._tB, 10))) {
_Y6(_qB, _3l, 11);
}
_o6(_3l, _qB);
}
}
}
_3l._kB = min(_5B(_3l._8B, _3l._9B, _YA, __A), 100);
if (yyGetBool(_4B(1))) {
{
_3l._uB = yyfplus(_sl(_sl(-_sl(_PA(_3l._8B, _3l._9B, _YA, __A)))), 180);
_3l._vB = yyftime(_sl(_3l._kB), _sl(_0m(_3l, _4l, _3l._HA)._wB));
_3l._xB = yyftime(_sl(_3l._vB), 0.35);
}
} else {
if (yyfless(_3l._kB, 20)) {
{
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 3)) {
_3l._WA = 0;
} else {
{
_3l._WA = 5;
_3l._yB = _3l._HA;
{
var _zB = _8l(_3l._HA);
for (var _AB in _zB) {
if (!_zB.hasOwnProperty(_AB)) continue;
var _BB = _zB[_AB];
if (_BB._bl) continue;
if (!_BB._cl) continue;
{
_BB._jB = 2;
_Y6(_BB, _3l, 2);
}
}
}
}
}
}
} else {
{
{
var _CB = _8l(_3l._HA);
for (var _DB in _CB) {
if (!_CB.hasOwnProperty(_DB)) continue;
var _EB = _CB[_DB];
if (_EB._bl) continue;
if (!_EB._cl) continue;
{
_Y6(_EB, _3l, 12);
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
{
if (yyGetBool(_EB._Bl)) {
_FB(_EB._Bl, "stat_attempts", yyfplus(_sl(_il(_EB._Bl, "stat_attempts")), 1));
}
}
}
}
}
}
var _GB = _0m(_3l, _4l, _1B)._NA;
var _HB = -1;
if (yyCompareVal(_GB, -1, g_GMLMathEpsilon) == 0) {
_HB = 0;
} else if (yyCompareVal(_GB, 1, g_GMLMathEpsilon) == 0) {
_HB = 1;
}
switch (_HB) {
case 0: {
if (yyfgreater(abs(_3l._uB), 90)) {
_0m(_3l, _4l, _1B)._IB = 0 ? 1 : 0;
}
break;
}
case 1: {
if (yyfless(abs(_3l._uB), 90)) {
_0m(_3l, _4l, _1B)._IB = 0 ? 1 : 0;
}
break;
}
}
if (yyGetBool(_0m(_3l, _4l, _1B)._IB)) {
_A9(_3l, _4l, yyfplus(_sl(_ul(_3l._uB)), " RUNNING PLAY"));
} else {
_A9(_3l, _4l, yyfplus(_sl(_ul(_3l._uB)), " PASSING PLAY"));
}
_3l._JB = _3l.x;
_3l._KB = _3l.y;
_3l._WA = 3;
_3l._HA = -4;
_0m(_3l, _4l, 42)._Bt = _vp(_0m(_3l, _4l, 42)._Bt, 3820261910);
_0m(_3l, _4l, 42)._Bt[_wp(0)]++;
}
}
}
break;
}
case 4: {
_0m(_3l, _4l, _1B)._eB = "";
_n6(_3l, _4l, 0);
break;
}
case 5: {
if (yyGetBool(_3l._HA)) {
_o6(_3l, _4l);
} else {
_n6(_3l, _4l, 0);
}
break;
}
case 6: {
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 2)) {
{
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Running2");
if (yyGetBool(global._fB)) {
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Running2b");
}
}
} else {
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 3)) {
{
_0m(_3l, _4l, _1B)._eB = "";
_3l._WA = 16;
}
} else {
if (yyGetBool(_3l._HA) && yyGetBool(_0m(_3l, _4l, _3l._HA)._LB)) {
{
_J2(_3l, _4l, "ACH_PASS");
}
}
}
}
_o6(_3l, _4l);
break;
}
case 7: {
if (yyGetBool(_3l._HA)) {
{
_o6(_3l, _4l);
return;
}
}
}
case 8: {
_n6(_3l, _4l, 0);
break;
}
}
}
function _m6(_3l, _4l) {
var _1B = 48;
var _MB = _3l._WA;
var _NB = -1;
if (yyCompareVal(_MB, 0, g_GMLMathEpsilon) == 0) {
_NB = 0;
} else if (yyCompareVal(_MB, 1, g_GMLMathEpsilon) == 0) {
_NB = 1;
} else if (yyCompareVal(_MB, 2, g_GMLMathEpsilon) == 0) {
_NB = 2;
} else if (yyCompareVal(_MB, 3, g_GMLMathEpsilon) == 0) {
_NB = 3;
} else if (
yyCompareVal(_MB, 4, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 6, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 7, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 8, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 11, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 12, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 13, g_GMLMathEpsilon) == 0
) {
_NB = 4;
} else if (
yyCompareVal(_MB, 9, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 10, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 14, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 15, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 16, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_MB, 17, g_GMLMathEpsilon) == 0
) {
_NB = 5;
}
switch (_NB) {
case 0: {
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 1)) {
{
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Kick1");
if (yyGetBool(global._fB)) {
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Kick1b");
}
}
}
_3l._kr(_0m(_3l, _4l, _1B)._aB);
_3l._Us(_0m(_3l, _4l, _1B)._bB);
var _GA = yyfminus(1.4, _sl(yyftime(_sl(_0m(_3l, _4l, _3l._HA)._IA), 0.05)));
var _OB = _3l._KA;
var _PB = -1;
if (yyCompareVal(_OB, -1, g_GMLMathEpsilon) == 0) {
_PB = 0;
} else if (yyCompareVal(_OB, 1, g_GMLMathEpsilon) == 0) {
_PB = 1;
}
switch (_PB) {
case 0: {
_3l._QB = yyfminus(_3l._QB, 5);
break;
}
case 1: {
_3l._QB = yyfplus(_3l._QB, _GA);
break;
}
}
if (yyfgreaterequal(_3l._QB, 55)) {
{
_3l._QB = 55;
_3l._KA = _sl(-_sl(_3l._KA));
_A9(_3l, _4l, "flipping 1");
}
}
if (yyflessequal(_3l._QB, 0)) {
{
_3l._QB = 0;
_3l._KA = _sl(-_sl(_3l._KA));
_A9(_3l, _4l, "flipping 0");
}
}
if (yyGetBool(_4B(1))) {
{
_3l._WA = 1;
}
}
break;
}
case 1: {
if (!yyGetBool(_4B(1))) {
{
_3l._WA = 2;
{
var _RB = _8l(_3l._HA);
for (var _SB in _RB) {
if (!_RB.hasOwnProperty(_SB)) continue;
var _TB = _RB[_SB];
if (_TB._bl) continue;
if (!_TB._cl) continue;
_Y6(_TB, _3l, 14);
}
}
}
}
break;
}
case 2: {
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 1)) {
{
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Kick2");
if (yyGetBool(global._fB)) {
_0m(_3l, _4l, _1B)._eB = _Q8(_3l, _4l, "training_Kick2b");
}
}
}
if (yyGetBool(_3l._HA)) {
{
_o6(_3l, _4l);
var _0u = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _3l._HA).x, _0m(_3l, _4l, _3l._HA).y);
if (yyfless(_0u, 30)) {
{
{
var _UB = _8l(50);
for (var _VB in _UB) {
if (!_UB.hasOwnProperty(_VB)) continue;
var _WB = _UB[_VB];
if (_WB._bl) continue;
if (!_WB._cl) continue;
if (yyfequal(_WB._jB, 11)) {
_WB._XB(1);
}
}
}
}
}
if (yyfgreater(_0u, 25)) {
break;
}
}
}
if (yyfless(_3l._QB, 15)) {
{
_3l._uB = _YB(-5, 5);
if (yyfequal(_0m(_3l, _4l, _3l._HA)._ZB, -1)) {
_3l._uB = yyfplus(180, _sl(_Vm(-5, 5)));
}
_3l._vB = yyftime(_sl(yyfplus(50, _sl(_3l._QB))), _sl(_0m(_3l, _4l, _3l._HA).__B));
_3l._xB = yyftime(_sl(_3l._vB), 0.4);
_v6(_3l, _4l);
break;
}
}
_3l._uB = _j6(_3l, _4l);
_3l._vB = yyftime(_sl(yyfplus(50, _sl(_3l._QB))), _sl(_0m(_3l, _4l, _3l._HA).__B));
_3l._xB = yyftime(_sl(_3l._vB), 0.4);
if (yyGetBool(_4B(1))) {
_v6(_3l, _4l);
}
break;
}
case 3: {
_n6(_3l, _4l, 0);
break;
}
case 4: {
if (yyGetBool(_3l._HA)) {
_o6(_3l, _4l);
} else {
_n6(_3l, _4l, 0);
}
break;
}
case 5: {
_n6(_3l, _4l, 0);
break;
}
}
}
function _n6(_3l, _4l, _5l) {
_3l._0C = _3l.x;
_3l._1C = _3l.y;
var _2C = _0m(_3l, _4l, 48)._3C;
var _4C = -1;
if (yyCompareVal(_2C, 0, g_GMLMathEpsilon) == 0) {
_4C = 0;
} else if (yyCompareVal(_2C, 1, g_GMLMathEpsilon) == 0) {
_4C = 1;
}
switch (_4C) {
case 0: {
_3l._vB = yyftime(_3l._vB, 0.986);
_3l._xB = yyfminus(_3l._xB, 0.08);
break;
}
case 1: {
_3l._vB = yyftime(_3l._vB, 0.9995);
_3l._xB = yyfminus(_3l._xB, 0.03);
break;
}
}
_3l._kr(_3l.x + yyftime(_sl(_5C(_3l._uB)), _sl(_3l._vB)));
_3l._Us(_3l.y + yyftime(_sl(_6C(_3l._uB)), _sl(_3l._vB)));
_3l._7C = _3l._8C;
_3l._8C = yyfplus(_3l._8C, _3l._xB);
_3l._9C = yyfplus(_3l._9C, _3l._aC);
if (yyGetBool(_5l)) {
return;
}
if (yyflessequal(_3l._8C, 1)) {
{
if (yyfnotequal(_3l._WA, 6)) {
{
if (yyGetBool(_3l._yB)) {
{
if (yyGetBool(_0m(_3l, _4l, _3l._yB)._LB)) {
{
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
_3l._WA = 13;
}
}
} else {
{
_x6(_3l, _4l);
}
}
}
}
}
}
if (yyfless(_3l._xB, -1)) {
_O7(_3l, _4l);
}
_3l._bC = yyfplus(_3l._bC, 1);
_3l._8C = 1;
_3l._xB = yyftime(_3l._xB, -0.5);
_3l._vB = yyftime(_3l._vB, _YB(0.2, 0.4));
_3l._uB = yyfplus(_3l._uB, _YB(-45, 45));
_3l._aC = _Sm(10);
}
}
if (yyfless(_3l._vB, 0.1)) {
{
_3l._vB = 0;
_3l._aC = 0;
_3l._9C = 0;
}
}
if (yyGetBool(yyfequal(_3l._bC, 0)) && yyGetBool(_0m(_3l, _4l, 48)._3C)) {
{
{
var _cC = _8l(60);
for (var _dC in _cC) {
if (!_cC.hasOwnProperty(_dC)) continue;
var _eC = _cC[_dC];
if (_eC._bl) continue;
if (!_eC._cl) continue;
{
_eC._fC = _cm(yyfplus(_sl(_eC._fC), 0.007), 0, _eC._gC);
_3l._kr(_3l.x + yyftime(_sl(_5C(yyftime(_sl(_eC._hC), 45))), _sl(_eC._fC)));
_3l._Us(_3l.y + yyftime(_sl(_6C(yyftime(_sl(_sl(-_sl(_eC._hC))), 45))), _sl(_eC._fC)));
}
}
}
}
}
_u6(_3l, _4l);
}
function _o6(_3l, _4l) {
var _iC = 0;
var _jC = 0;
_3l._aC = 0;
_3l._9C = 0;
if (yyGetBool(_0m(_3l, _4l, 48)._3C) && yyGetBool(yyfequal(_0m(_3l, _4l, _3l._HA)._jB, 1))) {
{
_iC = 11;
_jC = 1;
_3l._8C = 1;
_3l._9C = 90;
}
} else {
{
var _kC = _0m(_3l, _4l, _3l._HA)._lC;
var _mC = -1;
if (yyCompareVal(_kC, 0, g_GMLMathEpsilon) == 0) {
_mC = 0;
} else if (yyCompareVal(_kC, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_kC, 1, g_GMLMathEpsilon) == 0) {
_mC = 1;
} else if (yyCompareVal(_kC, 7, g_GMLMathEpsilon) == 0 || yyCompareVal(_kC, 2, g_GMLMathEpsilon) == 0) {
_mC = 2;
} else if (yyCompareVal(_kC, 3, g_GMLMathEpsilon) == 0) {
_mC = 3;
} else if (yyCompareVal(_kC, 4, g_GMLMathEpsilon) == 0) {
_mC = 4;
} else if (yyCompareVal(_kC, 5, g_GMLMathEpsilon) == 0) {
_mC = 5;
} else if (yyCompareVal(_kC, 8, g_GMLMathEpsilon) == 0) {
_mC = 6;
} else if (yyCompareVal(_kC, 9, g_GMLMathEpsilon) == 0) {
_mC = 7;
} else if (yyCompareVal(_kC, 10, g_GMLMathEpsilon) == 0) {
_mC = 8;
}
switch (_mC) {
case 0: {
_iC = 1;
_jC = 2;
_3l._8C = yyftime(7, _sl(_0m(_3l, _4l, _3l._HA)._nC));
break;
}
case 1: {
_iC = 3;
_jC = -2;
_3l._8C = 0;
break;
}
case 2: {
_iC = yyfplus(1, _sl(yyfdivide(_sl(_0m(_3l, _4l, _3l._HA)._oC), 2)));
_jC = 2;
_3l._8C = yyftime(10, _sl(_0m(_3l, _4l, _3l._HA)._nC));
break;
}
case 3: {
_iC = 4;
_jC = -2;
_3l._8C = yyftime(8, _sl(_0m(_3l, _4l, _3l._HA)._nC));
break;
}
case 4: {
if (yyfless(_0m(_3l, _4l, _3l._HA)._oC, 1)) {
{
_iC = 2;
_jC = -2;
_3l._8C = yyftime(9, _sl(_0m(_3l, _4l, _3l._HA)._nC));
}
} else {
{
_iC = 0;
_jC = -2;
_3l._8C = yyftime(9, _sl(_0m(_3l, _4l, _3l._HA)._nC));
if (yyfless(_0m(_3l, _4l, _3l._HA)._E2, 1)) {
_3l._8C = 0;
}
}
}
break;
}
case 5: {
_iC = 9;
_jC = -2;
_3l._8C = 0;
if (yyfless(_0m(_3l, _4l, _3l._HA)._oC, 2)) {
{
_jC = -3;
_3l._8C = 4;
}
}
break;
}
case 6: {
_iC = yyfplus(1, _sl(yyfdivide(_sl(_0m(_3l, _4l, _3l._HA)._oC), 2)));
_jC = 2;
_3l._8C = yyftime(10, _sl(_0m(_3l, _4l, _3l._HA)._nC));
var _pC = _0m(_3l, _4l, _3l._HA)._oC;
var _qC = -1;
if (yyCompareVal(_pC, 0, g_GMLMathEpsilon) == 0) {
_qC = 0;
} else if (yyCompareVal(_pC, 1, g_GMLMathEpsilon) == 0) {
_qC = 1;
} else if (yyCompareVal(_pC, 2, g_GMLMathEpsilon) == 0) {
_qC = 2;
}
switch (_qC) {
case 0: {
_3l._8C = yyfminus(_3l._8C, 1);
break;
}
case 1: {
_3l._8C = yyfminus(_3l._8C, 2);
break;
}
case 2: {
_3l._8C = yyfminus(_3l._8C, 1);
break;
}
}
break;
}
case 7: {
_iC = 1;
_jC = 2;
_3l._8C = yyftime(10, _sl(_0m(_3l, _4l, _3l._HA)._nC));
break;
}
case 8: {
_iC = 1;
_jC = 0;
var _rC = _0m(_3l, _4l, _3l._HA)._oC;
var _sC = -1;
if (yyCompareVal(_rC, 0, g_GMLMathEpsilon) == 0) {
_sC = 0;
} else if (yyCompareVal(_rC, 1, g_GMLMathEpsilon) == 0) {
_sC = 1;
} else if (yyCompareVal(_rC, 2, g_GMLMathEpsilon) == 0) {
_sC = 2;
} else if (yyCompareVal(_rC, 4, g_GMLMathEpsilon) == 0) {
_sC = 3;
} else if (yyCompareVal(_rC, 5, g_GMLMathEpsilon) == 0) {
_sC = 4;
}
switch (_sC) {
case 0: {
_3l._8C = 36;
break;
}
case 1: {
_3l._8C = 38;
break;
}
case 2: {
_3l._8C = 40;
break;
}
case 3: {
_3l._8C = 38;
break;
}
case 4: {
_3l._8C = 36;
break;
}
}
break;
}
}
}
}
_iC = yyftime(_iC, _0m(_3l, _4l, _3l._HA)._tC);
_jC = yyftime(_jC, _0m(_3l, _4l, _3l._HA)._nC);
var _uC = _vC(_3l, _0m(_3l, _4l, _3l._HA).x, _0m(_3l, _4l, _3l._HA).y);
if (yyGetBool(yyfless(_uC, 3)) && yyGetBool(_r7(_3l, _4l, _0m(_3l, _4l, _3l._HA)._wC))) {
{
_3l._kr(yyfplus(_sl(_0m(_3l, _4l, _3l._HA).x), _sl(_iC)));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, _3l._HA).y), _sl(_jC)));
}
} else {
{
_3l._kr(_xC(_3l.x, yyfplus(_sl(_0m(_3l, _4l, _3l._HA).x), _sl(_iC)), 0.2));
_3l._Us(_xC(_3l.y, yyfplus(_sl(_0m(_3l, _4l, _3l._HA).y), _sl(_jC)), 0.2));
}
}
}
function _p6(_3l, _4l) {
{
var _yC = _8l(global._SA);
for (var _zC in _yC) {
if (!_yC.hasOwnProperty(_zC)) continue;
var _AC = _yC[_zC];
if (_AC._bl) continue;
if (!_AC._cl) continue;
{
_AC._BC = 0 ? 1 : 0;
var _CC = _AC._WA;
var _DC = -1;
if (yyCompareVal(_CC, 9, g_GMLMathEpsilon) == 0 || yyCompareVal(_CC, 10, g_GMLMathEpsilon) == 0) {
_DC = 0;
} else if (
yyCompareVal(_CC, 18, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 19, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 0, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 3, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 13, g_GMLMathEpsilon) == 0
) {
_DC = 1;
} else if (
yyCompareVal(_CC, 4, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 6, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 7, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 8, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 11, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 12, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 14, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 15, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 16, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_CC, 17, g_GMLMathEpsilon) == 0
) {
_DC = 2;
}
switch (_DC) {
case 0: {
if (yyGetBool(_AC._HA)) {
{
_A9(_AC, _3l, yyfplus("Facing = ", _sl(_ul(_0m(_3l, _4l, _AC._HA)._ZB))));
var _EC = _0m(_3l, _4l, _AC._HA)._ZB;
var _FC = -1;
if (yyCompareVal(_EC, -1, g_GMLMathEpsilon) == 0) {
_FC = 0;
} else if (yyCompareVal(_EC, 1, g_GMLMathEpsilon) == 0) {
_FC = 1;
}
switch (_FC) {
case 0: {
if (yyfgreaterequal(_AC.x, 2300)) {
_AC._BC = 1 ? 1 : 0;
}
return _AC._BC;
break;
}
case 1: {
if (yyflessequal(_AC.x, 300)) {
_AC._BC = 1 ? 1 : 0;
}
return _AC._BC;
break;
}
}
}
}
}
case 1: {
_AC._BC = 0 ? 1 : 0;
break;
}
case 2: {
_AC._BC = 1 ? 1 : 0;
break;
}
}
return _AC._BC;
}
}
}
}
function _q6(_3l, _4l) {
if (!yyGetBool(_p6(_3l, _4l))) {
{
var _1B = 48;
var _Gy = _3l.y;
if (yyGetBool(_DA(_3l._HA))) {
{
_Gy = _0m(_3l, _4l, _3l._HA).y;
}
}
if (yyGetBool(_0m(_3l, _4l, _1B)._3C)) {
{
if (yyGetBool(yyfgreater(_3l._bC, 0)) || yyGetBool(yyfless(_3l.y, 132)) || yyGetBool(yyfgreater(_3l.y, 468))) {
{
_3l._WA = 15;
}
} else {
if (yyGetBool(yyfless(_3l.x, 100)) || yyGetBool(yyfgreater(_3l.x, 2500))) {
{
var _GC = 100;
if (yyfgreater(_3l.x, 1300)) {
_GC = 2500;
}
var _HC = _D9(_3l, _4l, _3l._0C, _3l._1C, _3l.x, _3l.y, _GC, 270, _GC, 336);
_A9(_3l, _4l, yyfplus("intercept = ", _sl(_ul(_0m(_3l, _4l, _HC)._IC))));
var _JC = _3l.x;
var _KC = yyfminus(_sl(_3l.x), 80);
if (yyfequal(_0m(_3l, _4l, _1B)._NA, -1)) {
_KC = yyfplus(_sl(_3l.x), 80);
}
if (yyGetBool(_0m(_3l, _4l, _HC)._IC)) {
{
if (yyfless(_3l._8C, 60)) {
{
_3l._kr(_KC);
_u7(_3l, _4l, yyfplus(_sl(_Q8(_3l, _4l, "match_TooLow")), "!"));
_3l._kr(_JC);
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
_M7(_3l, _4l);
}
_3l._WA = 15;
return;
}
} else {
if (yyfless(_3l._8C, 140)) {
{
if (yyGetBool(yyfless(_0m(_3l, _4l, _HC)._LC, 0.1)) || yyGetBool(yyfgreater(_0m(_3l, _4l, _HC)._LC, 0.9))) {
{
_3l._kr(_KC);
_u7(_3l, _4l, yyfplus(_sl(_Q8(_3l, _4l, "match_Doink")), "!"));
_3l._kr(_JC);
_L7(_3l, _4l);
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
_M7(_3l, _4l);
}
_3l._WA = 15;
_3l._uB = yyfplus(_3l._uB, yyfplus(180, _sl(_Vm(-35, 35))));
_3l._vB = yyftime(_3l._vB, 0.1);
_3l._aC = yyftime(_3l._aC, 2);
_3l._kr(_3l._0C);
_3l._Us(_3l._1C);
return;
}
} else {
if (yyGetBool(yyfless(_0m(_3l, _4l, _HC)._LC, 0.2)) || yyGetBool(yyfgreater(_0m(_3l, _4l, _HC)._LC, 0.8))) {
{
_3l._kr(_KC);
_u7(_3l, _4l, yyfplus(_sl(_Q8(_3l, _4l, "match_Doink")), "!"));
_3l._kr(_JC);
_L7(_3l, _4l);
{
var _MC = _8l(60);
for (var _NC in _MC) {
if (!_MC.hasOwnProperty(_NC)) continue;
var _OC = _MC[_NC];
if (_OC._bl) continue;
if (!_OC._cl) continue;
_OC._fC = 0;
}
}
var _PC = 468;
if (yyfless(_3l.y, 300)) {
_PC = 132;
}
_A9(_3l, _4l, _ul(_3l._uB));
var _QC = _0m(_3l, _4l, _1B)._NA;
var _RC = -1;
if (yyCompareVal(_QC, -1, g_GMLMathEpsilon) == 0) {
_RC = 0;
} else if (yyCompareVal(_QC, 1, g_GMLMathEpsilon) == 0) {
_RC = 1;
}
switch (_RC) {
case 0: {
_3l._uB = _PA(_3l.x, _3l.y, yyfminus(_sl(_GC), 210), _PC);
break;
}
case 1: {
_3l._uB = _PA(_3l.x, _3l.y, yyfplus(_sl(_GC), 210), _PC);
break;
}
}
_A9(_3l, _4l, _ul(_3l._uB));
_3l._uB = yyfplus(_3l._uB, _Vm(-5, 5));
_3l._vB = yyftime(_3l._vB, 0.25);
_3l._aC = yyftime(_3l._aC, 2);
_3l._kr(_3l._0C);
_3l._Us(_3l._1C);
}
}
}
}
}
}
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
{
_N7(_3l, _4l);
var _SC = _h7(_3l, _4l);
if (yyGetBool(_SC) && yyGetBool(_0m(_3l, _4l, _SC)._Bl)) {
{
_FB(_0m(_3l, _4l, _SC)._Bl, "stat_complete", yyfplus(_sl(_il(_0m(_3l, _4l, _SC)._Bl, "stat_complete")), 1));
_vl(_0m(_3l, _4l, _SC)._Bl, "stat_yards", yyfplus(_sl(_il(_0m(_3l, _4l, _SC)._Bl, "stat_yards")), _sl(_0m(_3l, _4l, _1B)._TC)));
if (yyfgreater(_0m(_3l, _4l, _1B)._TC, _il(_0m(_3l, _4l, _SC)._Bl, "stat_longest"))) {
_vl(_0m(_3l, _4l, _SC)._Bl, "stat_longest", _0m(_3l, _4l, _1B)._TC);
}
}
}
if (yyGetBool(_0m(_3l, _4l, _1B)._UC)) {
{
_J2(_3l, _4l, "ACH_POINTAFTER1");
}
} else {
{
_J2(_3l, _4l, "ACH_FIELDGOAL");
if (yyfgreaterequal(_0m(_3l, _4l, _1B)._TC, 25)) {
_J2(_3l, _4l, "ACH_FIELDGOAL25");
}
if (yyfgreaterequal(_0m(_3l, _4l, _1B)._TC, 50)) {
_J2(_3l, _4l, "ACH_FIELDGOAL50");
}
}
}
}
}
_3l._WA = 14;
_3l._VC = _0m(_3l, _4l, _HC)._Os;
_3l._WC = _0m(_3l, _4l, _HC)._Qs;
return;
}
}
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
_M7(_3l, _4l);
}
_3l._WA = 15;
}
}
}
}
} else {
if (yyGetBool(yyfless(_Gy, 132)) || yyGetBool(yyfgreater(_Gy, 468))) {
{
_3l._WA = 7;
if (yyGetBool(_3l._HA) || yyGetBool(yyfgreater(_3l._XC, 0))) {
{
_3l._WA = 8;
_0m(_3l, _4l, _1B)._YC = _Gy;
_H6(_3l, _4l);
}
}
}
} else {
if (yyGetBool(yyfless(_3l.x, 100)) || yyGetBool(yyfgreater(_3l.x, 2500))) {
{
_3l._WA = 7;
}
} else {
if (yyGetBool(_3l._HA)) {
{
if (yyGetBool(yyGetBool(yyfgreater(_3l.x, 2300)) && yyGetBool(yyfequal(_0m(_3l, _4l, _3l._HA)._ZB, 1))) || yyGetBool(yyGetBool(yyfless(_3l.x, 300)) && yyGetBool(yyfequal(_0m(_3l, _4l, _3l._HA)._ZB, -1)))) {
{
_3l._WA = 6;
_0m(_3l, _4l, _1B)._YC = _Gy;
_0m(_3l, _4l, _1B)._ZC = _rn._up();
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 2)) {
{
_0m(_3l, _4l, _1B)._eB = "";
_3l._WA = 16;
}
} else {
if (yyGetBool(_0m(_3l, _4l, _3l._HA)._LB)) {
{
if (yyfless(_0m(_3l, _4l, _1B).__C, 6)) {
{
_J2(_3l, _4l, "ACH_TOUCHDOWN1");
_0m(_3l, _4l, 42)._Dt = _vp(_0m(_3l, _4l, 42)._Dt, 3117667177);
_0m(_3l, _4l, 42)._Dt[_wp(0)]++;
if (yyfequal(_0m(_3l, _4l, 42)._Dt[_Tn(0, _0m(_3l, _4l, 42)._Dt)], 3)) {
_J2(_3l, _4l, "ACH_TOUCHDOWN3");
}
if (yyfequal(_0m(_3l, _4l, 42)._Dt[_Tn(0, _0m(_3l, _4l, 42)._Dt)], 5)) {
_J2(_3l, _4l, "ACH_TOUCHDOWN5");
}
var _rl = _H2(_3l, _4l, "ACH_TOUCHDOWN1");
if (yyfgreaterequal(_rl, 50)) {
_J2(_3l, _4l, "ACH_CAREER_TD50");
}
if (yyfgreaterequal(_rl, 100)) {
_J2(_3l, _4l, "ACH_CAREER_TD100");
}
if (yyfgreaterequal(_rl, 250)) {
_J2(_3l, _4l, "ACH_CAREER_TD250");
}
if (yyfgreaterequal(_rl, 500)) {
_J2(_3l, _4l, "ACH_CAREER_TD500");
}
}
} else {
{
_J2(_3l, _4l, "ACH_POINTAFTER2");
}
}
_H6(_3l, _4l);
_N7(_3l, _4l);
}
} else {
{
_N7(_3l, _4l);
}
}
}
if (yyGetBool(_3l._HA)) {
{
{
var _0D = _8l(49);
for (var _1D in _0D) {
if (!_0D.hasOwnProperty(_1D)) continue;
var _2D = _0D[_1D];
if (_2D._bl) continue;
if (!_2D._cl) continue;
{
if (yyGetBool(yyfnotequal(_0m(_3l, _4l, _3l._HA).id, _2D.id)) && yyGetBool(yyfequal(_0m(_3l, _4l, _3l._HA)._LB, _2D._LB))) {
{
if (yyGetBool(yyfequal(_2D._lC, 2)) || yyGetBool(yyfequal(_2D._lC, 0)) || yyGetBool(yyfequal(_2D._lC, 1))) {
_Y6(_2D, _3l, 17);
}
}
}
}
}
}
}
}
}
} else {
if (yyfless(_3l._8C, 1)) {
{
_x6(_3l, _4l);
}
}
}
}
} else {
{
if (yyGetBool(yyfgreater(_3l._bC, 0)) && yyGetBool(yyfequal(_3l._WA, 3))) {
{
_3l._WA = 7;
var _3D = _0m(_3l, _4l, 42)._Bo;
var _4D = -1;
if (yyCompareVal(_3D, 1, g_GMLMathEpsilon) == 0) {
_4D = 0;
} else if (yyCompareVal(_3D, 2, g_GMLMathEpsilon) == 0) {
_4D = 1;
} else if (yyCompareVal(_3D, 3, g_GMLMathEpsilon) == 0) {
_4D = 2;
}
switch (_4D) {
case 0: {
break;
}
case 1: {
break;
}
case 2: {
_3l._WA = 17;
break;
}
}
}
}
}
}
}
}
}
if (yyGetBool(_p6(_3l, _4l))) {
{
_3l._WC = round(_3l.y);
if (yyGetBool(_3l._HA) && yyGetBool(yyfnotequal(_0m(_3l, _4l, _3l._HA)._jB, 1))) {
{
var _5D = _0m(_3l, _4l, _1B)._NA;
var _6D = -1;
if (yyCompareVal(_5D, -1, g_GMLMathEpsilon) == 0) {
_6D = 0;
} else if (yyCompareVal(_5D, 1, g_GMLMathEpsilon) == 0) {
_6D = 1;
}
switch (_6D) {
case 0: {
_3l._VC = _0m(_3l, _4l, _3l._HA)._7D;
if (!yyGetBool(_0m(_3l, _4l, _3l._HA)._LB)) {
_3l._VC = _0m(_3l, _4l, _3l._HA)._8D;
}
if (yyfequal(_3l._WA, 6)) {
_3l._VC = 300;
}
break;
}
case 1: {
_3l._VC = _0m(_3l, _4l, _3l._HA)._8D;
if (!yyGetBool(_0m(_3l, _4l, _3l._HA)._LB)) {
_3l._VC = _0m(_3l, _4l, _3l._HA)._7D;
}
if (yyfequal(_3l._WA, 6)) {
_3l._VC = 2300;
}
break;
}
}
}
} else {
{
_3l._VC = round(_3l.x);
}
}
}
}
}
}
}
function _r6(_3l, _4l) {
if (yyfgreater(_3l._tB, 20)) {
return 0;
}
if (yyGetBool(_3l._9D)) {
return;
}
if (yyGetBool(_3l._aD)) {
return;
}
if (yyfequal(_3l._lC, 4)) {
return;
}
if (yyfequal(_3l._jB, 5)) {
return;
}
var _bD = global._SA;
var _1B = 48;
if (yyGetBool(yyfequal(_3l._jB, 1)) && yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 3))) {
return;
}
if (yyfless(_rn._up(), yyfplus(_sl(_0m(_3l, _4l, _bD)._XC), 750))) {
return;
}
if (yyGetBool(_0m(_3l, _4l, _bD)._BC)) {
return;
}
if (yyGetBool(_0m(_3l, _4l, _bD)._HA)) {
return;
}
var _cD = 0;
_cD = yyfdivide(_sl(yyfminus(_sl(_3l.x), _sl(_0m(_3l, _4l, _1B)._aB))), 20);
if (yyfequal(_3l._ZB, -1)) {
_cD = yyfdivide(_sl(yyfminus(_sl(_0m(_3l, _4l, _1B)._aB), _sl(_3l.x))), 20);
}
var _dD = _3l._lC;
var _eD = -1;
if (yyCompareVal(_dD, 10, g_GMLMathEpsilon) == 0) {
_eD = 0;
} else if (yyCompareVal(_dD, 5, g_GMLMathEpsilon) == 0) {
_eD = 1;
}
switch (_eD) {
case 0: {
if (yyfgreater(_0m(_3l, _4l, _bD)._8C, 60)) {
return 0;
}
break;
}
case 1: {
if (yyfgreater(_0m(_3l, _4l, _bD)._8C, 15)) {
return 0;
}
break;
}
default: {
if (yyfgreater(_0m(_3l, _4l, _bD)._8C, 30)) {
return 0;
}
break;
}
}
var _fD = _3l._LB;
var _gD = -1;
if (yyCompareVal(_fD, 1, g_GMLMathEpsilon) == 0) {
_gD = 0;
} else if (yyCompareVal(_fD, 0, g_GMLMathEpsilon) == 0) {
_gD = 1;
}
switch (_gD) {
case 0: {
if (yyGetBool(_0m(_3l, _4l, _1B)._3C)) {
return 0;
}
if (yyfgreater(_vC(_3l, _0m(_3l, _4l, 53)._hD, _0m(_3l, _4l, 53)._iD), 100)) {
return 0;
}
_O7(_3l, _4l);
if (yyfequal(_0m(_3l, _4l, _bD)._WA, 13)) {
{
_0m(_3l, _4l, _bD)._HA = _3l.id;
_0m(_3l, _4l, _bD)._WA = 5;
_u7(_3l, _4l, yyfplus(_sl(_Q8(_3l, _4l, "match_Recovered")), "!"));
if (yyfnotequal(_3l._lC, 5)) {
_Y6(_3l, _4l, 5);
}
}
} else {
if (yyGetBool(yyflessequal(_cD, 0)) || yyGetBool(!yyGetBool(_s6(_3l, _4l)))) {
{
_y6(_3l, _4l);
_0m(_3l, _4l, 42)._At = _vp(_0m(_3l, _4l, 42)._At, 730017997);
_0m(_3l, _4l, 42)._At[_wp(0)]++;
if (yyGetBool(!yyGetBool(_0m(_3l, _4l, _1B)._IB)) && yyGetBool(!yyGetBool(_0m(_3l, _4l, 42)._Bo))) {
{
var _jD = _g7(_3l, _4l);
if (yyGetBool(_jD) && yyGetBool(_0m(_3l, _4l, _jD)._Bl)) {
_FB(_0m(_3l, _4l, _jD)._Bl, "stat_complete", yyfplus(_sl(_il(_0m(_3l, _4l, _jD)._Bl, "stat_complete")), 1));
}
}
}
if (yyfgreater(_cD, 0)) {
{
_u7(_3l, _4l, yyfplus(_sl(_Q8(_3l, _4l, "match_Caught")), "!"));
if (yyfgreater(_cD, 200)) {
_N7(_3l, _4l);
}
}
}
}
}
}
break;
}
case 1: {
if (yyfgreater(_3l._tB, 12)) {
return 0;
}
if (yyfless(_vC(_3l, _0m(_3l, _4l, _bD)._JB, _0m(_3l, _4l, _bD)._KB), 100)) {
return 0;
}
_O7(_3l, _4l);
if (yyfequal(_0m(_3l, _4l, _bD)._WA, 13)) {
{
_0m(_3l, _4l, _bD)._HA = _3l.id;
_0m(_3l, _4l, _bD)._WA = 10;
_w7(_3l, _4l, 10);
if (yyfnotequal(_3l._lC, 5)) {
_Y6(_3l, _4l, 5);
}
_M7(_3l, _4l);
}
} else {
if (!yyGetBool(_s6(_3l, _4l))) {
{
_y6(_3l, _4l);
_0m(_3l, _4l, _bD)._WA = 9;
_0m(_3l, _4l, 42)._Et = _vp(_0m(_3l, _4l, 42)._Et, 809740160);
_0m(_3l, _4l, 42)._Et[_wp(0)]++;
if (yyGetBool(!yyGetBool(_0m(_3l, _4l, _1B)._IB)) && yyGetBool(!yyGetBool(_0m(_3l, _4l, 42)._Bo))) {
{
var _jD = _g7(_3l, _4l);
if (yyGetBool(_jD) && yyGetBool(_0m(_3l, _4l, _jD)._Bl)) {
_FB(_0m(_3l, _4l, _jD)._Bl, "stat_int", yyfplus(_sl(_il(_0m(_3l, _4l, _jD)._Bl, "stat_int")), 1));
}
}
}
_w7(_3l, _4l, 9);
_M7(_3l, _4l);
}
}
}
break;
}
}
}
function _s6(_3l, _4l) {
if (yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
return 0;
}
if (yyGetBool(_3l._LB) && yyGetBool(_3l._kD)) {
return 0;
}
if (yyfequal(_3l._lC, 5)) {
return 0;
}
if (!yyGetBool(_3l._lD)) {
return 0;
}
var _mD = yyftime(_sl(_3l._nD), 0.1);
_mD = max(_mD, 5);
var _oD = _0m(_3l, _4l, _3l._lD)._tB;
if (yyGetBool(_3l._LB)) {
{
_mD = yyfplus(_mD, yyftime(_sl(_3l._pD), 0.5));
_oD = yyfplus(_oD, _3l._pD);
}
}
if (yyfgreater(_0m(_3l, _4l, global._SA)._XC, 0)) {
_mD = yyfplus(_mD, 2);
}
if (yyGetBool(!yyGetBool(_Sm(_mD))) || yyGetBool(yyfless(_oD, _3l._tB)) || yyGetBool(_0m(_3l, _4l, 48)._3C)) {
{
_t6(_3l, _4l, 0);
return 1;
}
}
return 0;
}
function _t6(_3l, _4l, _5l) {
_A9(_3l, _4l, "Dropped!");
var _qD = _5l;
{
var _rD = _8l(global._SA);
for (var _sD in _rD) {
if (!_rD.hasOwnProperty(_sD)) continue;
var _tD = _rD[_sD];
if (_tD._bl) continue;
if (!_tD._cl) continue;
{
_tD._uB = yyfplus(_sl(_3l._uD), _sl(_Vm(-30, 30)));
_tD._vB = yyfplus(1, _sl(_YB(0.1, 1)));
_tD._xB = yyfplus(1, _sl(random(0.5)));
_tD._aC = yyfplus(5, _sl(_Sm(5)));
_tD._XC = yyfminus(_sl(_rn._up()), _sl(_Sm(250)));
if (yyGetBool(_qD) && yyGetBool(!yyGetBool(_0m(_3l, _4l, 42)._Bo)) && yyGetBool(_tD._HA) && yyGetBool(_0m(_3l, _4l, _tD._HA)._Bl)) {
_FB(_0m(_3l, _4l, _tD._HA)._Bl, "stat_fumbles", yyfplus(_sl(_il(_0m(_3l, _4l, _tD._HA)._Bl, "stat_fumbles")), 1));
}
_tD._WA = 3;
_tD._HA = -4;
if (yyGetBool(_qD)) {
_u7(_tD, _3l, yyfplus(_sl(_Q8(_tD, _3l, "match_Fumble")), "!"));
}
}
}
}
}
function _u6(_3l, _4l) {
if (yyGetBool(yyfless(_3l._8C, 24)) && yyGetBool(!yyGetBool(_0m(_3l, _4l, global._SA)._BC))) {
{
if (yyfless(_vD(_3l, 58), 8)) {
{
_A9(_3l, _4l, yyfplus("bheight:", _sl(_ul(_3l._8C))));
_O7(_3l, _4l);
if (yyfgreaterequal(_3l._7C, 22)) {
{
_4l._xB = 1;
}
} else {
{
_3l._uB = yyfplus(_3l._uB, yyfplus(180, _sl(_YB(-30, 30))));
}
}
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 3)) {
{
_0m(_3l, _4l, 48)._eB = "";
_3l._WA = 16;
}
} else {
{
_3l._WA = 17;
}
}
}
}
}
}
}
function _v6(_3l, _4l) {
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
{
{
var _wD = _8l(_3l._HA);
for (var _xD in _wD) {
if (!_wD.hasOwnProperty(_xD)) continue;
var _yD = _wD[_xD];
if (_yD._bl) continue;
if (!_yD._cl) continue;
if (yyGetBool(_yD._Bl)) {
_FB(_yD._Bl, "stat_attempts", yyfplus(_sl(_il(_yD._Bl, "stat_attempts")), 1));
}
}
}
}
}
{
var _zD = _8l(_3l._HA);
for (var _AD in _zD) {
if (!_zD.hasOwnProperty(_AD)) continue;
var _BD = _zD[_AD];
if (_BD._bl) continue;
if (!_BD._cl) continue;
_Y6(_BD, _3l, 15);
}
}
_3l._JB = _3l.x;
_3l._KB = _3l.y;
_3l._WA = 3;
_3l._aC = yyfplus(9, _sl(_Sm(9)));
_3l._HA = -4;
_J7(_3l, _4l);
if (yyfnotequal(_0m(_3l, _4l, 48)._eB, "")) {
_A9(_3l, _4l, "s_kick_ball");
}
_0m(_3l, _4l, 48)._eB = "";
}
function _w6(_3l, _4l) {
_A9(_3l, _4l, "s_spike_ball");
{
var _CD = _8l(global._SA);
for (var _DD in _CD) {
if (!_CD.hasOwnProperty(_DD)) continue;
var _ED = _CD[_DD];
if (_ED._bl) continue;
if (!_ED._cl) continue;
{
if (yyGetBool(_ED._HA)) {
{
_ED._kr(yyfplus(_sl(_0m(_3l, _4l, _ED._HA).x), _sl(yyftime(_sl(_0m(_3l, _4l, _ED._HA)._ZB), 4))));
_ED._Us(yyfplus(_sl(_0m(_3l, _4l, _ED._HA).y), 2));
_ED._uB = _0m(_3l, _4l, _ED._HA)._uD;
}
}
_ED._8C = 1;
_ED._vB = 4;
_ED._xB = -5;
_ED._HA = -4;
_O7(_ED, _3l);
}
}
}
}
function _x6(_3l, _4l) {
{
var _FD = _8l(global._SA);
for (var _GD in _FD) {
if (!_FD.hasOwnProperty(_GD)) continue;
var _HD = _FD[_GD];
if (_HD._bl) continue;
if (!_HD._cl) continue;
{
_HD._WA = 4;
_0m(_3l, _4l, 48)._YC = _HD.y;
if (yyGetBool(_HD._HA)) {
_0m(_3l, _4l, 48)._YC = _0m(_3l, _4l, _HD._HA).y;
}
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 2)) {
{
_HD._WA = 17;
}
} else {
if (yyGetBool(_HD._HA)) {
{
if (yyfequal(_0m(_3l, _4l, _HD._HA)._jB, 1)) {
{
_HD._WA = 11;
_0m(_3l, _4l, 42)._Ft = _vp(_0m(_3l, _4l, 42)._Ft, 2906542142);
_0m(_3l, _4l, 42)._Ft[_wp(0)]++;
if (yyGetBool(_0m(_3l, _4l, _HD._HA)._Bl)) {
_FB(_0m(_3l, _4l, _HD._HA)._Bl, "stat_sacks", yyfplus(_sl(_il(_0m(_3l, _4l, _HD._HA)._Bl, "stat_sacks")), 1));
}
_M7(_HD, _3l);
}
}
var _ID = _0m(_3l, _4l, 48)._NA;
var _JD = -1;
if (yyCompareVal(_ID, -1, g_GMLMathEpsilon) == 0) {
_JD = 0;
} else if (yyCompareVal(_ID, 1, g_GMLMathEpsilon) == 0) {
_JD = 1;
}
switch (_JD) {
case 0: {
if (yyfgreater(_HD.x, 2300)) {
{
_HD._WA = 12;
return;
}
}
break;
}
case 1: {
if (yyfless(_HD.x, 300)) {
{
_HD._WA = 12;
return;
}
}
break;
}
}
{
_H6(_HD, _3l);
}
}
}
}
}
}
}
}
function _y6(_3l, _4l) {
_A9(_3l, _4l, "s_receive_ball");
{
var _KD = _8l(global._SA);
for (var _LD in _KD) {
if (!_KD.hasOwnProperty(_LD)) continue;
var _MD = _KD[_LD];
if (_MD._bl) continue;
if (!_MD._cl) continue;
{
_MD._HA = _3l.id;
_MD._yB = _3l.id;
_MD._WA = 5;
_MD._ND = _MD.x;
_MD._OD = _MD.y;
}
}
}
global._PD = 0;
global._QD = 0;
}
function _z6(_3l, _4l, _5l) {
_4z(yyfplus("s_set_up_play Suppress_Difficulty = ", _sl(_ul(_0m(_3l, _4l, 42)._wt))));
var _RD = _5l;
_3l._SD = _rn._up();
_3l._3C = 0 ? 1 : 0;
_3l._IB = 1 ? 1 : 0;
_3l._UC = 0 ? 1 : 0;
var _TD = _3l.__C;
var _UD = -1;
if (yyCompareVal(_TD, 4, g_GMLMathEpsilon) == 0) {
_UD = 0;
} else if (yyCompareVal(_TD, 5, g_GMLMathEpsilon) == 0) {
_UD = 1;
} else if (yyCompareVal(_TD, 6, g_GMLMathEpsilon) == 0) {
_UD = 2;
} else if (yyCompareVal(_TD, 7, g_GMLMathEpsilon) == 0) {
_UD = 3;
}
switch (_UD) {
case 0: {
if (yyGetBool(yyflessequal(_0m(_3l, _4l, 48)._VD, 0)) && yyGetBool(yyflessequal(_0m(_3l, _4l, 48)._WD, 0))) {
{
_K6(_3l, _4l, 9);
return;
}
} else {
if (!yyGetBool(_RD)) {
{
if (yyfless(_3l._XD, 5)) {
{
_T7(_3l, _4l, "", _Q8(_3l, _4l, "matchmsg_PlayPunt"), _Q8(_3l, _4l, "down_4"), _Q8(_3l, _4l, "Punt"), 90, 91, 16777215, 0.7);
}
} else {
{
var _YD = _Q8(_3l, _4l, yyfplus("down_", _sl(_ul(_3l.__C))));
var _Ol = _Q8(_3l, _4l, "matchmsg_PlayFG");
_Ol = _Pl(_Ol, "$down", _YD);
_T7(_3l, _4l, "", _Ol, _YD, _Q8(_3l, _4l, "Field Goal"), 90, 92, 16777215, 0.7);
}
}
}
}
}
break;
}
case 1: {
_K6(_3l, _4l, 4);
return;
break;
}
case 2: {
_3l._ZD = 2;
_3l._XD = 48;
break;
}
case 3: {
_K6(_3l, _4l, 4);
return;
break;
}
default: {
if (yyGetBool(yyflessequal(_0m(_3l, _4l, 48)._VD, 0)) && yyGetBool(yyflessequal(_0m(_3l, _4l, 48)._WD, 0))) {
{
_K6(_3l, _4l, 9);
return;
}
} else {
if (yyGetBool(!yyGetBool(_RD)) && yyGetBool(yyfgreater(_3l._XD, 0)) && yyGetBool(_V6(_3l, _4l, 20))) {
{
var _YD = _Q8(_3l, _4l, yyfplus("down_", _sl(_ul(_3l.__C))));
var _Ol = _Q8(_3l, _4l, "matchmsg_PlayFG");
_Ol = _Pl(_Ol, "$down", _YD);
_T7(_3l, _4l, "", _Ol, _YD, _Q8(_3l, _4l, "Field Goal"), 90, 92, 16777215, 0.7);
}
}
}
break;
}
}
_4z(yyfplus("Down = ", _sl(_ul(_3l.__C))));
_4z(yyfplus("Scrimmage = ", _sl(_ul(_3l._XD))));
_3l._aB = yyfplus(1300, _sl(yyftime(yyftime(_sl(_3l._XD), 20), _sl(_3l._NA))));
_3l.__D = yyfplus(_sl(_3l._aB), _sl(yyftime(yyftime(_sl(_3l._ZD), 20), _sl(_3l._NA))));
_3l._bB = 276;
if (yyfgreater(_3l._YC, 300)) {
_3l._bB = 332;
}
_A6(_3l, _4l);
_3l._0E++;
_J6(_3l, _4l);
var _1E = 0;
for (; yyfless(_1E, 11); _1E++) {
{
_Oq(0, 0, "Players", 50);
}
}
var _0u = 0;
for (; yyfless(_0u, 11); _0u++) {
{
_Oq(0, 0, "Players", 51);
}
}
{
var _2E = _8l(49);
for (var _3E in _2E) {
if (!_2E.hasOwnProperty(_3E)) continue;
var _4E = _2E[_3E];
if (_4E._bl) continue;
if (!_4E._cl) continue;
_37(_4E, _3l);
}
}
global._SA = _Oq(0, 0, "Ball", 52);
_Oq(0, 0, "Ball", 53);
}
function _A6(_3l, _4l) {
{
var _5E = _8l(48);
for (var _6E in _5E) {
if (!_5E.hasOwnProperty(_6E)) continue;
var _7E = _5E[_6E];
if (_7E._bl) continue;
if (!_7E._cl) continue;
{
_7E._8E = _Sm(3);
var _uC = 4;
if (yyfless(_7E._ZD, 8)) {
_uC = 3;
}
if (yyflessequal(_7E._ZD, 4)) {
_uC = 2;
}
if (yyfless(_7E._ZD, 2)) {
_uC = 1;
}
var _9E = 1;
var _aE = 1;
var _bE = 1;
var _cE = 1;
var _dE = _7E.__C;
var _eE = -1;
if (yyCompareVal(_dE, 1, g_GMLMathEpsilon) == 0) {
_eE = 0;
} else if (yyCompareVal(_dE, 2, g_GMLMathEpsilon) == 0) {
_eE = 1;
} else if (yyCompareVal(_dE, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_dE, 4, g_GMLMathEpsilon) == 0) {
_eE = 2;
} else if (yyCompareVal(_dE, 6, g_GMLMathEpsilon) == 0) {
_eE = 3;
}
switch (_eE) {
case 0: {
break;
}
case 1: {
var _fE = _uC;
var _gE = -1;
if (yyCompareVal(_fE, 1, g_GMLMathEpsilon) == 0 || yyCompareVal(_fE, 2, g_GMLMathEpsilon) == 0) {
_gE = 0;
} else if (yyCompareVal(_fE, 3, g_GMLMathEpsilon) == 0) {
_gE = 1;
} else if (yyCompareVal(_fE, 4, g_GMLMathEpsilon) == 0) {
_gE = 2;
}
switch (_gE) {
case 0: {
_9E = 1;
_aE = 1;
_bE = 7;
_cE = 1;
break;
}
case 1: {
_9E = 4;
_aE = 1;
_bE = 4;
_cE = 1;
break;
}
case 2: {
_9E = 4;
_aE = 1;
_bE = 4;
_cE = 1;
break;
}
}
break;
}
case 2: {
var _hE = _uC;
var _iE = -1;
if (yyCompareVal(_hE, 1, g_GMLMathEpsilon) == 0) {
_iE = 0;
} else if (yyCompareVal(_hE, 2, g_GMLMathEpsilon) == 0) {
_iE = 1;
} else if (yyCompareVal(_hE, 3, g_GMLMathEpsilon) == 0) {
_iE = 2;
} else if (yyCompareVal(_hE, 4, g_GMLMathEpsilon) == 0) {
_iE = 3;
}
switch (_iE) {
case 0: {
_9E = 1;
_aE = 2;
_bE = 6;
_cE = 1;
break;
}
case 1: {
_9E = 5;
_aE = 3;
_bE = 1;
_cE = 1;
break;
}
case 2: {
_9E = 4;
_aE = 3;
_bE = 1;
_cE = 2;
break;
}
case 3: {
_9E = 3;
_aE = 4;
_bE = 1;
_cE = 4;
break;
}
}
break;
}
case 3: {
_9E = 4;
_aE = 1;
_bE = 4;
_cE = 1;
break;
}
default: {
break;
}
}
var _jE = _YB(0, yyfplus(yyfplus(yyfplus(_sl(_9E), _sl(_aE)), _sl(_bE)), _sl(_cE)));
_A9(_7E, _3l, yyfplus("playcallroll = ", _sl(_ul(_jE))));
_7E._8E = 2;
if (yyfgreater(_jE, _9E)) {
_7E._8E = 0;
}
if (yyfgreater(_jE, yyfplus(_sl(_9E), _sl(_aE)))) {
_7E._8E = 1;
}
if (yyfgreater(_jE, yyfplus(yyfplus(_sl(_9E), _sl(_aE)), _sl(_bE)))) {
_7E._8E = 3;
}
var _kE = _7E._8E;
var _lE = -1;
if (yyCompareVal(_kE, 0, g_GMLMathEpsilon) == 0) {
_lE = 0;
} else if (yyCompareVal(_kE, 1, g_GMLMathEpsilon) == 0) {
_lE = 1;
} else if (yyCompareVal(_kE, 2, g_GMLMathEpsilon) == 0) {
_lE = 2;
} else if (yyCompareVal(_kE, 3, g_GMLMathEpsilon) == 0) {
_lE = 3;
}
switch (_lE) {
case 0: {
_A9(_7E, _3l, "--DEFENSE: BLITZ");
break;
}
case 1: {
_A9(_7E, _3l, "--DEFENSE: COVER 1");
break;
}
case 2: {
_A9(_7E, _3l, "--DEFENSE: 4-3");
break;
}
case 3: {
_A9(_7E, _3l, "--DEFENSE: COVER 4");
break;
}
}
_A9(_7E, _3l, "Defense success...");
_A9(_7E, _3l, yyfplus("DEFENSE_BLITZ ", _sl(_ul(_7E._mE[_Tn(0, _7E._mE)]))));
_A9(_7E, _3l, yyfplus("DEFENSE_COVER1 ", _sl(_ul(_7E._mE[_Tn(1, _7E._mE)]))));
_A9(_7E, _3l, yyfplus("DEFENSE_43 ", _sl(_ul(_7E._mE[_Tn(2, _7E._mE)]))));
_A9(_7E, _3l, yyfplus("DEFENSE_COVER4 ", _sl(_ul(_7E._mE[_Tn(3, _7E._mE)]))));
}
}
}
}
function _B6(_3l, _4l, _5l) {
_4z("s_set_up_fieldgoal");
_3l._SD = _rn._up();
{
var _nE = _8l(48);
for (var _oE in _nE) {
if (!_nE.hasOwnProperty(_oE)) continue;
var _pE = _nE[_oE];
if (_pE._bl) continue;
if (!_pE._cl) continue;
{
_pE._rx = _vp(_pE._rx, 1006629958);
_pE._rx[_wp(0)] = 0;
_W6(_pE, _3l);
_pE._UC = _5l;
_pE._3C = 1 ? 1 : 0;
if (yyGetBool(_pE._UC)) {
_pE._XD = 35;
}
_pE._aB = yyfplus(1300, _sl(yyftime(yyftime(_sl(_pE._XD), 20), _sl(_pE._NA))));
_pE.__D = yyfplus(_sl(_pE._aB), _sl(yyftime(yyftime(_sl(_pE._ZD), 20), _sl(_pE._NA))));
_pE._bB = 300;
_pE._qE++;
if (yyfgreater(_pE._0E, 0)) {
_pE._0E--;
}
if (yyGetBool(!yyGetBool(_pE._UC)) && yyGetBool(!yyGetBool(_0m(_3l, _4l, 42)._Bo))) {
{
_pE._bB = 276;
if (yyfgreater(_pE._YC, 300)) {
_pE._bB = 332;
}
}
}
_pE._TC = yyfminus(_sl(_pE._aB), 90);
if (yyfequal(_pE._NA, 1)) {
_pE._TC = yyfminus(2510, _sl(_pE._aB));
}
_pE._TC = round(yyfdivide(_sl(_pE._TC), 20));
_J6(_pE, _3l);
var _1E = 1;
for (; yyfless(_1E, 12); _1E++) {
{
_Oq(0, 0, "Players", 50);
if (yyGetBool(yyfequal(_0m(_3l, _4l, 42)._Bo, 1)) && yyGetBool(yyfequal(_1E, 2))) {
break;
}
}
}
if (yyfnotequal(_0m(_3l, _4l, 42)._Bo, 1)) {
{
var _0u = 1;
for (; yyfless(_0u, 12); _0u++) {
{
_Oq(0, 0, "Players", 51);
}
}
}
}
{
var _rE = _8l(49);
for (var _sE in _rE) {
if (!_rE.hasOwnProperty(_sE)) continue;
var _tE = _rE[_sE];
if (_tE._bl) continue;
if (!_tE._cl) continue;
_37(_tE, _pE);
}
}
global._SA = _Oq(0, 0, "Ball", 52);
_Oq(0, 0, "Ball", 53);
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 1)) {
{
_pE._WA = 1;
_pE._bq = 14;
_pE._uE = "";
_pE._vE = 0 ? 1 : 0;
_pE._eB = _Q8(_pE, _3l, "training_Kick1");
if (yyGetBool(global._fB)) {
_pE._eB = _Q8(_pE, _3l, "training_Kick1b");
}
}
}
}
}
}
}
function _C6(_3l, _4l) {
if (yyGetBool(_0m(_3l, _4l, 48)._3C)) {
{
_3l._wE = 50;
}
} else {
if (yyGetBool(_DA(52))) {
{
var _xE = _0m(_3l, _4l, global._SA)._WA;
var _yE = -1;
if (yyCompareVal(_xE, 0, g_GMLMathEpsilon) == 0 || yyCompareVal(_xE, 1, g_GMLMathEpsilon) == 0) {
_yE = 0;
} else if (yyCompareVal(_xE, 2, g_GMLMathEpsilon) == 0) {
_yE = 1;
}
switch (_yE) {
case 0: {
_3l._wE = 30;
break;
}
case 1: {
if (yyfless(_3l._wE, 60)) {
_3l._wE = yyfplus(_3l._wE, 0.05);
}
break;
}
default: {
_3l._wE = 60;
break;
}
}
_3l._wE = 60;
}
}
}
_zE(_3l._wE, 0);
}
function _D6(_3l, _4l, _5l, _Bq) {
var _AE = _Vm(_5l, _Bq);
if (yyfgreaterequal(_3l._BE[_Tn(_3l._aq, _3l._BE)], yyfplus(_sl(_3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)]), 10))) {
_AE = yyftime(_AE, 1.5);
}
_3l._CE = yyfplus(_3l._CE, _AE);
}
function _E6(_3l, _4l) {
if (yyGetBool(yyflessequal(_3l._VD, 0)) && yyGetBool(yyflessequal(_3l._WD, 0))) {
return;
}
if (yyfgreater(_3l.__C, 4)) {
return;
}
if (yyGetBool(_3l._UC)) {
return;
}
{
var _DE = _8l(global._SA);
for (var _EE in _DE) {
if (!_DE.hasOwnProperty(_EE)) continue;
var _FE = _DE[_EE];
if (_FE._bl) continue;
if (!_FE._cl) continue;
{
var _GE = _FE._WA;
var _HE = -1;
if (
yyCompareVal(_GE, 0, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 6, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 7, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 8, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 11, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 12, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 14, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 15, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 16, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GE, 17, g_GMLMathEpsilon) == 0
) {
_HE = 0;
}
switch (_HE) {
case 0: {
return;
break;
}
default: {
if (yyGetBool(yyfequal(_FE._WA, 4)) && yyGetBool(_FE._HA) && yyGetBool(!yyGetBool(_0m(_3l, _4l, _FE._HA)._LB))) {
return;
}
var _IE = 700;
{
if (yyfgreater(_rn._up(), yyfplus(_sl(_3l._JE), _sl(_IE)))) {
{
_3l._JE = _rn._up();
_D6(_3l, _FE, 1, 1);
_F6(_3l, _FE);
}
}
}
break;
}
}
}
}
}
}
function _F6(_3l, _4l) {
{
var _KE = _8l(48);
for (var _LE in _KE) {
if (!_KE.hasOwnProperty(_LE)) continue;
var _ME = _KE[_LE];
if (_ME._bl) continue;
if (!_ME._cl) continue;
{
if (yyfgreater(_ME._CE, 0)) {
{
_ME._CE--;
_ME._WD--;
if (yyGetBool(yyfequal(_ME._WA, 2)) && yyGetBool(yyGetBool(yyfequal(_ME._NE, 2)) || yyGetBool(yyfequal(_ME._NE, 4)))) {
{
if (yyGetBool(yyfequal(_ME._VD, 0)) && yyGetBool(yyfequal(_ME._WD, 20))) {
_B9(_ME, _3l, 4);
}
if (yyGetBool(yyfequal(_ME._VD, 0)) && yyGetBool(yyfless(_ME._WD, 11))) {
_B9(_ME, _3l, 3);
}
}
}
if (yyfless(_ME._WD, 0)) {
{
_ME._VD--;
_ME._WD = yyfplus(_ME._WD, 60);
if (yyfless(_ME._VD, 0)) {
{
_ME._VD = 0;
_ME._WD = 0;
}
}
}
}
}
}
}
}
}
}
function _G6(_3l, _4l) {
_A9(_3l, _4l, yyfplus("s_update_commentary: ", _sl(_89(_3l, _4l, _3l._bq))));
_3l._vE = 0 ? 1 : 0;
_3l._eB = "";
_3l._OE = 35;
_3l._rx = _vp(_3l._rx, 1584050178);
_3l._rx[_wp(1)] = 100;
_lp(_3l, 54);
var _PE = _3l._bq;
var _QE = -1;
if (yyCompareVal(_PE, 0, g_GMLMathEpsilon) == 0) {
_QE = 0;
} else if (yyCompareVal(_PE, 1, g_GMLMathEpsilon) == 0) {
_QE = 1;
} else if (yyCompareVal(_PE, 2, g_GMLMathEpsilon) == 0) {
_QE = 2;
} else if (yyCompareVal(_PE, 3, g_GMLMathEpsilon) == 0) {
_QE = 3;
} else if (yyCompareVal(_PE, 4, g_GMLMathEpsilon) == 0) {
_QE = 4;
} else if (yyCompareVal(_PE, 23, g_GMLMathEpsilon) == 0) {
_QE = 5;
} else if (yyCompareVal(_PE, 5, g_GMLMathEpsilon) == 0) {
_QE = 6;
} else if (yyCompareVal(_PE, 6, g_GMLMathEpsilon) == 0) {
_QE = 7;
} else if (yyCompareVal(_PE, 7, g_GMLMathEpsilon) == 0) {
_QE = 8;
} else if (yyCompareVal(_PE, 8, g_GMLMathEpsilon) == 0) {
_QE = 9;
} else if (yyCompareVal(_PE, 9, g_GMLMathEpsilon) == 0) {
_QE = 10;
} else if (yyCompareVal(_PE, 10, g_GMLMathEpsilon) == 0) {
_QE = 11;
} else if (yyCompareVal(_PE, 11, g_GMLMathEpsilon) == 0) {
_QE = 12;
} else if (yyCompareVal(_PE, 12, g_GMLMathEpsilon) == 0) {
_QE = 13;
} else if (yyCompareVal(_PE, 13, g_GMLMathEpsilon) == 0) {
_QE = 14;
} else if (yyCompareVal(_PE, 14, g_GMLMathEpsilon) == 0) {
_QE = 15;
} else if (yyCompareVal(_PE, 15, g_GMLMathEpsilon) == 0) {
_QE = 16;
} else if (yyCompareVal(_PE, 16, g_GMLMathEpsilon) == 0) {
_QE = 17;
} else if (yyCompareVal(_PE, 17, g_GMLMathEpsilon) == 0) {
_QE = 18;
} else if (yyCompareVal(_PE, 18, g_GMLMathEpsilon) == 0) {
_QE = 19;
} else if (yyCompareVal(_PE, 19, g_GMLMathEpsilon) == 0) {
_QE = 20;
} else if (yyCompareVal(_PE, 20, g_GMLMathEpsilon) == 0) {
_QE = 21;
} else if (yyCompareVal(_PE, 21, g_GMLMathEpsilon) == 0) {
_QE = 22;
} else if (yyCompareVal(_PE, 22, g_GMLMathEpsilon) == 0) {
_QE = 23;
}
switch (_QE) {
case 0: {
_3l._bq = 1;
_3l._eB = _Q8(_3l, _4l, "match_TouchToContinue");
_3l._rx[_wp(1)] = 1;
break;
}
case 1: {
if (yyGetBool(_L6(_3l, _4l))) {
{
_G6(_3l, _4l);
break;
}
}
_R6(_3l, _4l);
_J7(_3l, _4l);
break;
}
case 2: {
_3l._RE = yyfplus(_3l._RE, 1);
if (yyGetBool(_L6(_3l, _4l))) {
{
_G6(_3l, _4l);
break;
}
}
var _SE = round(_3l._XD);
if (yyfgreater(_SE, 40)) {
_3l._uE = _Q8(_3l, _4l, "comm_stage_Possession_RedZone");
} else {
if (yyfless(_SE, -40)) {
_3l._uE = _Q8(_3l, _4l, "comm_stage_Possession_BackedUp");
} else {
if (yyGetBool(yyfgreaterequal(_SE, -10)) && yyGetBool(yyflessequal(_SE, 20))) {
_3l._uE = _Q8(_3l, _4l, "comm_stage_Possession_Halfway");
} else {
if (yyfless(_SE, -10)) {
_3l._uE = _Q8(_3l, _4l, yyfplus("comm_stage_Possession_OwnHalf", _sl(_ul(yyfplus(1, _sl(yyfmod(_sl(_3l._TE++), 3)))))));
} else {
_3l._uE = _Q8(_3l, _4l, yyfplus("comm_stage_Possession_OppHalf", _sl(_ul(yyfplus(1, _sl(yyfmod(_sl(_3l._TE++), 3)))))));
}
}
}
}
var _UE = yyfminus(50, _sl(abs(_SE)));
_3l._uE = _Pl(_3l._uE, "$num", _ul(_UE));
_3l._uE = _Pl(_3l._uE, "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
_3l._bq = 3;
break;
}
case 3: {
_3l._VE = yyfplus(_3l._VE, 1);
if (yyfequal(_3l._Cm[_Tn(_3l._9q, _3l._Cm)], _0m(_3l, _4l, 42)._Dm)) {
{
if (yyGetBool(yyGetBool(yyfequal(_3l._WE, 5)) || yyGetBool(yyfequal(_3l._WE, 1))) && yyGetBool(yyfless(_3l._XD, -10)) && yyGetBool(yyfequal(_3l._VE, 1))) {
{
if (!yyGetBool(_V6(_3l, _4l, 20))) {
_D6(_3l, _4l, 10, 15);
}
_3l._OE = yyfplus(yyfplus(1, _sl(_Sm(4))), _sl(yyftime(_sl(_cm(_0m(_3l, _4l, 42)._wt, 1, 10)), 3)));
_0m(_3l, _4l, 42)._Ct = _vp(_0m(_3l, _4l, 42)._Ct, 325702584);
_0m(_3l, _4l, 42)._Ct[_wp(0)] = yyfplus(_0m(_3l, _4l, 42)._Ct[_wp(0)], _3l._OE);
_3l._XD = yyfplus(_3l._XD, _3l._OE);
if (yyfgreater(_3l._OE, 10)) {
{
_3l._uE = _Q8(_3l, _4l, "comm_stage_PuntReturnGood");
_3l._uE = _Pl(_3l._uE, "$num", _3l._OE);
}
} else {
_3l._uE = _Q8(_3l, _4l, "comm_stage_PuntReturnShort");
}
_3l._bq = 2;
_3l._RE = 0;
}
} else {
{
_3l._WA = 2;
}
}
}
} else {
{
_0m(_3l, _4l, 42)._XE = yyfplus(_0m(_3l, _4l, 42)._XE, yyfplus(3, _sl(_Sm(5))));
_0m(_3l, _4l, 42)._dv = yyfplus(_0m(_3l, _4l, 42)._dv, yyfplus(20, _sl(_Sm(20))));
_0m(_3l, _4l, 42)._YE = yyfplus(_0m(_3l, _4l, 42)._YE, _Sm(5));
_3l._bq = 4;
{
var _ZE = _8l(42);
for (var __E in _ZE) {
if (!_ZE.hasOwnProperty(__E)) continue;
var _0F = _ZE[__E];
if (_0F._bl) continue;
if (!_0F._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_0F._Um)); _dl++) {
{
var _Bl = _hl(_0F._Um, _dl);
if (yyGetBool(yyfgreater(_il(_Bl, "condition"), 0)) && yyGetBool(!yyGetBool(_il(_Bl, "resting")))) {
{
var _1F = _il(_Bl, "position");
var _2F = -1;
if (yyCompareVal(_1F, 6, g_GMLMathEpsilon) == 0) {
_2F = 0;
} else if (yyCompareVal(_1F, 7, g_GMLMathEpsilon) == 0) {
_2F = 1;
} else if (yyCompareVal(_1F, 9, g_GMLMathEpsilon) == 0 || yyCompareVal(_1F, 8, g_GMLMathEpsilon) == 0) {
_2F = 2;
}
switch (_2F) {
case 0: {
if (yyGetBool(_Sm(1))) {
_FB(_Bl, "stat_tackles", yyfplus(_sl(_il(_Bl, "stat_tackles")), 1));
}
if (yyfless(_Sm(11), _il(_Bl, "skill"))) {
_FB(_Bl, "stat_tackles", yyfplus(_sl(_il(_Bl, "stat_tackles")), 1));
}
break;
}
case 1: {
if (yyflessequal(_Sm(9), _il(_Bl, "skill"))) {
_FB(_Bl, "stat_tackles", yyfplus(_sl(_il(_Bl, "stat_tackles")), 1));
}
break;
}
case 2: {
if (yyflessequal(_Sm(9), _il(_Bl, "skill"))) {
_FB(_Bl, "stat_tackles", yyfplus(_sl(_il(_Bl, "stat_tackles")), 1));
}
break;
}
}
}
}
}
}
}
}
}
_G6(_3l, _4l);
}
}
break;
}
case 4: {
_3l._3F = _Vm(1, 2);
if (yyfgreaterequal(_3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)], yyfplus(_sl(_3l._BE[_Tn(_3l._aq, _3l._BE)]), 10))) {
if (yyfnotequal(_3l._3F, 1)) {
_3l._3F = _Vm(1, 2);
}
}
_3l._OE = 35;
if (yyGetBool(_V6(_3l, _4l, 15))) {
{
_3l._3F = 2;
_3l._uE = _Pl(_Q8(_3l, _4l, yyfplus("comm_stage_DrivePass", _sl(_ul(_Sm(1))))), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
if (
yyGetBool(yyfless(_3l._XD, 10)) &&
yyGetBool(
yyGetBool(yyGetBool(yyfequal(_3l._NE, 4)) && yyGetBool(yyfgreaterequal(_3l._BE[_Tn(!yyGetBool(_3l._9q) ? 1 : 0, _3l._BE)], yyfminus(_sl(_3l._BE[_Tn(_3l._9q, _3l._BE)]), 6)))) ||
yyGetBool(yyGetBool(yyfequal(_3l._NE, 2)) && yyGetBool(yyfgreaterequal(_3l._BE[_Tn(!yyGetBool(_3l._9q) ? 1 : 0, _3l._BE)], yyfminus(_sl(_3l._BE[_Tn(_3l._9q, _3l._BE)]), 14))))
)
) {
{
_3l._uE = _Pl(_Q8(_3l, _4l, yyfplus("comm_stage_DriveHailMary", _sl(_ul(_Sm(1))))), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
_3l._OE = yyfplus(_3l._OE, yyfplus(5, _sl(_Sm(30))));
_D6(_3l, _4l, 16, 16);
}
} else {
if (yyGetBool(yyfgreater(_3l._XD, 5)) && yyGetBool(yyflessequal(_3l._BE[_Tn(!yyGetBool(_3l._9q) ? 1 : 0, _3l._BE)], yyfplus(_sl(_3l._BE[_Tn(_3l._9q, _3l._BE)]), 3)))) {
{
_3l._bq = 6;
_G6(_3l, _4l);
break;
}
}
}
}
} else {
{
var _4F = _3l._3F;
var _5F = -1;
if (yyCompareVal(_4F, 1, g_GMLMathEpsilon) == 0) {
_5F = 0;
} else if (yyCompareVal(_4F, 2, g_GMLMathEpsilon) == 0) {
_5F = 1;
}
switch (_5F) {
case 0: {
_3l._uE = _Pl(_Q8(_3l, _4l, yyfplus("comm_stage_DriveRun", _sl(_ul(_Sm(1))))), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
break;
}
case 1: {
_3l._uE = _Pl(_Q8(_3l, _4l, yyfplus("comm_stage_DrivePass", _sl(_ul(_Sm(1))))), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
break;
}
}
}
}
if (yyfless(_3l._XD, -40)) {
{
_D6(_3l, _4l, 15, 25);
if (yyfequal(_3l._3F, 1)) {
_D6(_3l, _4l, 7, 10);
}
_3l._XD = yyfplus(_3l._XD, _3l._OE);
_3l._bq = 2;
break;
}
}
_3l._6F = -4;
if (yyGetBool(_Sm(4))) {
_3l._6F = _f8(_3l, _4l, 0, _7F(6, 7, _7F(8, 9)));
}
var _8F = round(yyftime(_sl(_cm(_0m(_3l, _4l, 42)._wt, 1, 10)), 0.25));
var _9F = 1;
if (yyfgreater(_3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)], yyfplus(_sl(_3l._BE[_Tn(_3l._aq, _3l._BE)]), 7))) {
_9F = 0;
}
if (yyfless(_0m(_3l, _4l, 42)._wt, 2)) {
_9F++;
}
if (yyGetBool(_3l._6F)) {
{
var _aF = yyfplus(1, _sl(random(_3l._bF[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._bF)])));
var _cF = random(_il(_3l._6F, "skill"));
var _dF = random(_il(_3l._6F, "speed"));
var _eF = random(_il(_3l._6F, "strength"));
var _fF = random(_il(_3l._6F, "stamina"));
if (yyfgreater(random(yyftime(_sl(_3l._NE), 2)), random(_fF))) {
{
_cF = max(yyfminus(_sl(_cF), 1), 0);
_dF = max(yyfminus(_sl(_dF), 1), 0);
_eF = max(yyfminus(_sl(_eF), 1), 0);
}
}
_A9(_3l, _4l, yyfplus(yyfplus(yyfplus("Opp Offense ", _sl(_ul(_3l._bF[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._bF)]))), " r"), _sl(_ul(_aF))));
_A9(_3l, _4l, yyfplus("Vs defender ", _sl(_q8(_3l, _4l, _3l._6F, 1))));
var _gF = _Sm(2);
var _hF = -1;
if (yyCompareVal(_gF, 0, g_GMLMathEpsilon) == 0) {
_hF = 0;
} else if (yyCompareVal(_gF, 1, g_GMLMathEpsilon) == 0) {
_hF = 1;
} else if (yyCompareVal(_gF, 2, g_GMLMathEpsilon) == 0) {
_hF = 2;
}
switch (_hF) {
case 0: {
_A9(_3l, _4l, yyfplus(yyfplus(yyfplus("Skill of ", _sl(_ul(_il(_3l._6F, "skill")))), " r"), _sl(_ul(_cF))));
if (yyfless(_aF, _cF)) {
{
if (yyGetBool(_Sm(3))) {
_3l._bq = 23;
} else {
_3l._bq = 8;
}
}
} else {
_3l._bq = 19;
}
break;
}
case 1: {
_A9(_3l, _4l, yyfplus(yyfplus(yyfplus("Skill of ", _sl(_ul(_il(_3l._6F, "strength")))), " r"), _sl(_ul(_eF))));
if (yyfless(_aF, _eF)) {
{
if (yyGetBool(_Sm(3))) {
_3l._bq = 23;
} else {
_3l._bq = 8;
}
}
} else {
_3l._bq = 20;
}
break;
}
case 2: {
_A9(_3l, _4l, yyfplus(yyfplus(yyfplus("Skill of ", _sl(_ul(_il(_3l._6F, "speed")))), " r"), _sl(_ul(_dF))));
if (yyfless(_aF, _dF)) {
{
if (yyGetBool(_Sm(3))) {
_3l._bq = 23;
} else {
_3l._bq = 8;
}
}
} else {
_3l._bq = 21;
}
break;
}
}
}
} else {
if (yyfgreater(yyfplus(_sl(_9F), _sl(random(_3l._bF[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._bF)]))), yyfplus(_sl(_8F), _sl(random(_3l._iF[_Tn(_3l._aq, _3l._iF)]))))) {
{
_A9(_3l, _4l, "Offense win.");
if (yyfgreaterequal(yyfplus(_sl(_3l._XD), _sl(_3l._OE)), 50)) {
{
_3l._bq = 9;
_0m(_3l, _4l, 42)._ev++;
}
} else {
{
_D6(_3l, _4l, 15, 30);
_3l._XD = yyfplus(_3l._XD, _3l._OE);
_3l._bq = 2;
}
}
}
} else {
if (yyGetBool(_Sm(3))) {
{
_D6(_3l, _4l, 5, 10);
_3l._bq = 23;
}
} else {
{
_D6(_3l, _4l, 5, 10);
_3l._bq = 8;
}
}
}
}
break;
}
case 5: {
var _jF = _3l._3F;
var _kF = -1;
if (yyCompareVal(_jF, 1, g_GMLMathEpsilon) == 0) {
_kF = 0;
} else if (yyCompareVal(_jF, 2, g_GMLMathEpsilon) == 0) {
_kF = 1;
}
switch (_kF) {
case 0: {
_3l._uE = _Q8(_3l, _4l, "comm_stage_incomplete_Run");
break;
}
case 1: {
_3l._uE = _Q8(_3l, _4l, "comm_stage_incomplete_Pass");
break;
}
}
if (yyGetBool(_3l._6F)) {
_FB(_3l._6F, "stat_tackles", yyfplus(_sl(_il(_3l._6F, "stat_tackles")), 1));
}
if (yyfgreater(_3l._XD, 0)) {
_3l._bq = 6;
} else {
_3l._bq = 5;
}
break;
}
case 6: {
if (yyGetBool(_L6(_3l, _4l))) {
{
_G6(_3l, _4l);
break;
}
}
_S6(_3l, _4l);
break;
}
case 7: {
_3l._XD = yyfplus(_3l._XD, 7);
var _lF = _cm(round(yyfplus(_sl(_Q6(_3l, _4l)), 10)), 17, 63);
_3l._uE = _Pl(_Q8(_3l, _4l, "comm_stage_FieldGoal1"), "$num", _lF);
_3l._uE = _Pl(_3l._uE, "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
_3l._bq = 7;
_J7(_3l, _4l);
break;
}
case 8: {
_D6(_3l, _4l, 4, 5);
var _lF = _cm(round(yyfplus(_sl(_Q6(_3l, _4l)), 10)), 17, 63);
if (yyfless(_Sm(80), _Sm(_lF))) {
{
_3l._uE = _Q8(_3l, _4l, "comm_stage_FieldGoal2_Missed");
_M7(_3l, _4l);
if (yyfgreater(_3l._XD, 30)) {
_3l._XD = 30;
}
_T6(_3l, _4l);
}
} else {
{
_3l._uE = _Q8(_3l, _4l, "comm_stage_FieldGoal2_Scored");
_N7(_3l, _4l);
_3l._BE = _vp(_3l._BE, 4137727317);
_3l._BE[_wp(_3l._9q)] = yyfplus(_3l._BE[_wp(_3l._9q)], 3);
if (yyGetBool(yyfequal(_3l._NE, 5)) && yyGetBool(yyfgreater(_3l._RE, 1))) {
{
_3l._bq = 17;
_G6(_3l, _4l);
break;
}
}
_3l._bq = 1;
}
}
break;
}
case 9: {
_D6(_3l, _4l, 15, 30);
if (yyfgreater(_3l._XD, 49)) {
_3l._XD = yyfplus(40, _sl(_Sm(9)));
}
if (!yyGetBool(_3l._6F)) {
{
var _mF = _3l._3F;
var _nF = -1;
if (yyCompareVal(_mF, 1, g_GMLMathEpsilon) == 0) {
_nF = 0;
} else if (yyCompareVal(_mF, 2, g_GMLMathEpsilon) == 0) {
_nF = 1;
}
switch (_nF) {
case 0: {
_0m(_3l, _4l, 42)._fv++;
break;
}
case 1: {
_0m(_3l, _4l, 42)._gv++;
break;
}
}
_3l._uE = _Pl(_Q8(_3l, _4l, yyfplus("comm_stage_Turnover", _sl(_ul(_3l._3F)))), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
_T6(_3l, _4l);
}
} else {
{
var _oF = _3l._3F;
var _pF = -1;
if (yyCompareVal(_oF, 1, g_GMLMathEpsilon) == 0) {
_pF = 0;
} else if (yyCompareVal(_oF, 2, g_GMLMathEpsilon) == 0) {
_pF = 1;
}
switch (_pF) {
case 0: {
var _qF = _Sm(1);
var _rF = -1;
if (yyCompareVal(_qF, 0, g_GMLMathEpsilon) == 0) {
_rF = 0;
} else if (yyCompareVal(_qF, 1, g_GMLMathEpsilon) == 0) {
_rF = 1;
}
switch (_rF) {
case 0: {
_3l._uE = _Q8(_3l, _4l, "comm_stage_Turnover_Tackle");
_3l._uE = _Pl(_3l._uE, "$playername", _il(_3l._6F, "lname"));
_3l._uE = _Pl(_3l._uE, "$pos", _99(_3l, _4l, _il(_3l._6F, "position")));
_FB(_3l._6F, "stat_tackles", yyfplus(_sl(_il(_3l._6F, "stat_tackles")), 1));
_3l._bq = 5;
if (yyfgreater(_3l._XD, 0)) {
_3l._bq = 6;
}
break;
}
case 1: {
_3l._uE = _Q8(_3l, _4l, "comm_stage_Turnover_Fumble");
_3l._uE = _Pl(_3l._uE, "$playername", _il(_3l._6F, "lname"));
_3l._uE = _Pl(_3l._uE, "$pos", _99(_3l, _4l, _il(_3l._6F, "position")));
_FB(_3l._6F, "stat_tackles", yyfplus(_sl(_il(_3l._6F, "stat_tackles")), 1));
_T6(_3l, _4l);
break;
}
}
break;
}
case 1: {
var _sF = 0 ? 1 : 0;
if (yyfequal(_il(_3l._6F, "position"), 6)) {
_sF = 1 ? 1 : 0;
}
if (yyGetBool(_Sm(1)) && yyGetBool(yyfequal(_il(_3l._6F, "position"), 7))) {
_sF = 1 ? 1 : 0;
}
if (yyGetBool(_sF)) {
{
_3l._uE = _Q8(_3l, _4l, "comm_stage_Turnover_Sack");
_3l._uE = _Pl(_3l._uE, "$playername", _il(_3l._6F, "lname"));
_3l._uE = _Pl(_3l._uE, "$pos", _99(_3l, _4l, _il(_3l._6F, "position")));
_FB(_3l._6F, "stat_sacks", yyfplus(_sl(_il(_3l._6F, "stat_sacks")), 1));
_3l._bq = 5;
if (yyfgreater(_3l._XD, 0)) {
_3l._bq = 6;
}
}
} else {
{
_3l._uE = _Q8(_3l, _4l, "comm_stage_Turnover_Interception");
_3l._uE = _Pl(_3l._uE, "$playername", _il(_3l._6F, "lname"));
_3l._uE = _Pl(_3l._uE, "$pos", _99(_3l, _4l, _il(_3l._6F, "position")));
_FB(_3l._6F, "stat_int", yyfplus(_sl(_il(_3l._6F, "stat_int")), 1));
_T6(_3l, _4l);
}
}
}
}
}
}
_3l._6F = -4;
break;
}
case 10: {
_3l._XD = yyfplus(_3l._XD, _3l._OE);
_3l._uE = "";
_3l._bq = 10;
_3l._BE = _vp(_3l._BE, 4137727317);
_3l._BE[_wp(_3l._9q)] = yyfplus(_3l._BE[_wp(_3l._9q)], 6);
_w7(_3l, _4l, 6);
_N7(_3l, _4l);
if (yyfequal(_3l._NE, 5)) {
{
_3l._bq = 17;
_G6(_3l, _4l);
}
}
break;
}
case 11: {
var _tF = 0 ? 1 : 0;
if (yyGetBool(yyfequal(_3l._NE, 4)) && yyGetBool(yyfgreater(_3l._BE[_Tn(!yyGetBool(_3l._9q) ? 1 : 0, _3l._BE)], yyfplus(_sl(_3l._BE[_Tn(_3l._9q, _3l._BE)]), 1)))) {
_tF = 1 ? 1 : 0;
}
if (yyfequal(_3l._BE[_Tn(!yyGetBool(_3l._9q) ? 1 : 0, _3l._BE)], yyfplus(_sl(_3l._BE[_Tn(_3l._9q, _3l._BE)]), 2))) {
_tF = 1 ? 1 : 0;
}
if (yyGetBool(_tF)) {
{
_3l._bq = 15;
_G6(_3l, _4l);
break;
}
}
_3l._uE = _Pl(_Q8(_3l, _4l, "comm_stage_PAT1"), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
_3l._bq = 11;
_J7(_3l, _4l);
break;
}
case 12: {
if (!yyGetBool(_Sm(8))) {
{
_3l._uE = _Q8(_3l, _4l, "comm_stage_PAT2_Missed");
_M7(_3l, _4l);
}
} else {
{
_3l._uE = _Q8(_3l, _4l, "comm_stage_PAT2_Scored");
_N7(_3l, _4l);
_3l._BE[_wp(_3l._9q)] = yyfplus(_3l._BE[_wp(_3l._9q)], 1);
}
}
_3l._bq = 1;
break;
}
case 13: {
_3l._eB = _Q8(_3l, _4l, "match_TouchToContinue");
_3l._uE = _Q8(_3l, _4l, yyfplus("comm_stage_end_quarter", _sl(_ul(min(_3l._NE, 4)))));
if (yyGetBool(yyfequal(_3l._NE, 4)) || yyGetBool(yyGetBool(yyfgreaterequal(_3l._NE, 4)) && yyGetBool(yyfgreater(_0m(_3l, _4l, 42)._Nl, 17)))) {
{
if (yyfequal(_3l._BE[_Tn(_3l._aq, _3l._BE)], _3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)])) {
_3l._uE = _Q8(_3l, _4l, "comm_stage_overtime");
}
}
}
_3l._bq = 13;
_3l._rx[_wp(1)] = 0;
_3l._NE++;
if (yyfnotequal(_3l._NE, 3)) {
_I6(_3l, _4l);
}
break;
}
case 14: {
_3l._eB = _Q8(_3l, _4l, "match_TouchToContinue");
{
var _uF = _8l(48);
for (var _vF in _uF) {
if (!_uF.hasOwnProperty(_vF)) continue;
var _wF = _uF[_vF];
if (_wF._bl) continue;
if (!_wF._cl) continue;
{
_wF._VD = 2;
_wF._WD = 0;
}
}
}
var _xF = _3l._NE;
var _yF = -1;
if (yyCompareVal(_xF, 2, g_GMLMathEpsilon) == 0) {
_yF = 0;
} else if (yyCompareVal(_xF, 3, g_GMLMathEpsilon) == 0) {
_yF = 1;
} else if (yyCompareVal(_xF, 4, g_GMLMathEpsilon) == 0) {
_yF = 2;
} else if (yyCompareVal(_xF, 5, g_GMLMathEpsilon) == 0) {
_yF = 3;
} else if (yyCompareVal(_xF, 6, g_GMLMathEpsilon) == 0) {
_yF = 4;
}
switch (_yF) {
case 0: {
_3l._bq = _3l._zF;
_G6(_3l, _4l);
break;
}
case 1: {
_3l._bq = 1;
_3l._9q = !yyGetBool(_3l._AF) ? 1 : 0;
_G6(_3l, _4l);
break;
}
case 2: {
_3l._bq = _3l._zF;
_G6(_3l, _4l);
break;
}
case 3: {
_3l._uE = "";
if (yyfgreater(_3l._BE[_Tn(_3l._aq, _3l._BE)], _3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)])) {
{
_O6(_3l, _4l, 1);
return;
}
}
if (yyfless(_3l._BE[_Tn(_3l._aq, _3l._BE)], _3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)])) {
{
_O6(_3l, _4l, -1);
return;
}
}
_3l._bq = 1;
_3l._9q = !yyGetBool(_3l._aq) ? 1 : 0;
_3l._RE = 0;
_G6(_3l, _4l);
break;
}
case 4: {
if (yyfgreater(_3l._BE[_Tn(_3l._aq, _3l._BE)], _3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)])) {
{
_O6(_3l, _4l, 1);
return;
}
}
if (yyfless(_3l._BE[_Tn(_3l._aq, _3l._BE)], _3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)])) {
{
_O6(_3l, _4l, -1);
return;
}
}
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 17)) {
{
_3l._NE = 5;
_3l._bq = _3l._zF;
_G6(_3l, _4l);
}
} else {
{
_O6(_3l, _4l, 0);
return;
}
}
break;
}
}
break;
}
case 15: {
_3l._WA = 2;
_3l._rx[_wp(1)] = 1;
break;
}
case 16: {
_3l._uE = _Pl(_Q8(_3l, _4l, "comm_stage_2pt_attempt"), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
_3l._bq = 16;
break;
}
case 17: {
if (yyfgreater(_Sm(99), 60)) {
{
_3l._uE = _Q8(_3l, _4l, "comm_stage_2pt_missed");
}
} else {
{
_3l._uE = _Q8(_3l, _4l, "comm_stage_2pt_scored");
_3l._BE[_wp(_3l._9q)] = yyfplus(_3l._BE[_wp(_3l._9q)], 2);
}
}
_3l._bq = 1;
break;
}
case 18: {
_3l._eB = _Q8(_3l, _4l, "match_TouchToContinue");
_3l._uE = _Q8(_3l, _4l, "comm_stage_overtime_over");
_3l._bq = 18;
_3l._rx[_wp(1)] = 0;
break;
}
case 19: {
_3l._uE = "";
if (yyfgreater(_3l._BE[_Tn(_3l._aq, _3l._BE)], _3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)])) {
{
_O6(_3l, _4l, 1);
return;
}
}
if (yyfless(_3l._BE[_Tn(_3l._aq, _3l._BE)], _3l._BE[_Tn(!yyGetBool(_3l._aq) ? 1 : 0, _3l._BE)])) {
{
_O6(_3l, _4l, -1);
return;
}
}
_O6(_3l, _4l, 0);
break;
}
case 20: {
_D6(_3l, _4l, 15, 30);
_3l._XD = yyfplus(_3l._XD, _3l._OE);
_U6(_3l, _4l);
_3l._uE = _Q8(_3l, _4l, "comm_stage_failed_skill");
_3l._uE = _Pl(_3l._uE, "$playername", _il(_3l._6F, "lname"));
_3l._uE = _Pl(_3l._uE, "$pos", _99(_3l, _4l, _il(_3l._6F, "position")));
_3l._6F = -4;
if (yyfgreaterequal(_3l._XD, 50)) {
{
_3l._bq = 9;
_0m(_3l, _4l, 42)._ev++;
}
} else {
_3l._bq = 2;
}
break;
}
case 21: {
_D6(_3l, _4l, 15, 30);
_3l._XD = yyfplus(_3l._XD, _3l._OE);
_U6(_3l, _4l);
_3l._uE = _Q8(_3l, _4l, "comm_stage_failed_strength");
_3l._uE = _Pl(_3l._uE, "$playername", _il(_3l._6F, "lname"));
_3l._uE = _Pl(_3l._uE, "$pos", _99(_3l, _4l, _il(_3l._6F, "position")));
_3l._6F = -4;
if (yyfgreaterequal(_3l._XD, 50)) {
{
_3l._bq = 9;
_0m(_3l, _4l, 42)._ev++;
}
} else {
_3l._bq = 2;
}
break;
}
case 22: {
_D6(_3l, _4l, 15, 30);
_3l._XD = yyfplus(_3l._XD, _3l._OE);
_U6(_3l, _4l);
_3l._uE = _Q8(_3l, _4l, "comm_stage_failed_speed");
_3l._uE = _Pl(_3l._uE, "$playername", _il(_3l._6F, "lname"));
_3l._uE = _Pl(_3l._uE, "$pos", _99(_3l, _4l, _il(_3l._6F, "position")));
_3l._6F = -4;
if (yyfgreaterequal(_3l._XD, 50)) {
{
_3l._bq = 9;
_0m(_3l, _4l, 42)._ev++;
}
} else {
_3l._bq = 2;
}
break;
}
case 23: {
if (yyfequal(_3l.__C, 5)) {
_3l._uE = _Pl(_Q8(_3l, _4l, "comm_stage_TurnoverHuman4th"), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
} else {
_3l._uE = _Pl(_Q8(_3l, _4l, "comm_stage_TurnoverHuman"), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
}
_T6(_3l, _4l);
break;
}
}
_3l._BF = _3l._bq;
}
function _H6(_3l, _4l) {
var _CF = 0;
var _DF = _3l.x;
var _bD = global._SA;
if (yyGetBool(_0m(_3l, _4l, _bD)._HA) && yyGetBool(!yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._LB))) {
return;
}
var _EF = _0m(_3l, _4l, 48)._NA;
var _FF = -1;
if (yyCompareVal(_EF, -1, g_GMLMathEpsilon) == 0) {
_FF = 0;
} else if (yyCompareVal(_EF, 1, g_GMLMathEpsilon) == 0) {
_FF = 1;
}
switch (_FF) {
case 0: {
_CF = yyfdivide(_sl(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(_DF))), 20);
if (yyfless(_0m(_3l, _4l, _bD)._ND, _0m(_3l, _4l, 48)._aB)) {
_0m(_3l, _4l, 42)._Ct = _vp(_0m(_3l, _4l, 42)._Ct, 325702584);
_0m(_3l, _4l, 42)._Ct[_wp(0)] = yyfplus(_0m(_3l, _4l, 42)._Ct[_wp(0)], _CF);
}
break;
}
case 1: {
_CF = yyfdivide(_sl(yyfminus(_sl(_DF), _sl(_0m(_3l, _4l, 48)._aB))), 20);
if (yyfgreater(_0m(_3l, _4l, _bD)._ND, _0m(_3l, _4l, 48)._aB)) {
_0m(_3l, _4l, 42)._Ct = _vp(_0m(_3l, _4l, 42)._Ct, 325702584);
_0m(_3l, _4l, 42)._Ct[_wp(0)] = yyfplus(_0m(_3l, _4l, 42)._Ct[_wp(0)], _CF);
}
break;
}
}
if (yyGetBool(!yyGetBool(_0m(_3l, _4l, 42)._Bo)) && yyGetBool(_3l._HA)) {
{
var _jD = _g7(_3l, _4l);
var _GF = _0m(_3l, _4l, _3l._HA)._jB;
var _HF = -1;
if (yyCompareVal(_GF, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_GF, 2, g_GMLMathEpsilon) == 0 || yyCompareVal(_GF, 4, g_GMLMathEpsilon) == 0) {
_HF = 0;
} else if (
yyCompareVal(_GF, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GF, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GF, 6, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GF, 7, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GF, 9, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GF, 8, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_GF, 10, g_GMLMathEpsilon) == 0
) {
_HF = 1;
}
switch (_HF) {
case 0: {
if (yyGetBool(_0m(_3l, _4l, 48)._IB)) {
{
_A9(_3l, _4l, ">>> RUNNING_PLAY");
if (yyGetBool(_0m(_3l, _4l, _3l._HA)._Bl)) {
{
_vl(_0m(_3l, _4l, _3l._HA)._Bl, "stat_rush_attempts", yyfplus(_sl(_il(_0m(_3l, _4l, _3l._HA)._Bl, "stat_rush_attempts")), 1));
_vl(_0m(_3l, _4l, _3l._HA)._Bl, "stat_rush_yards", yyfplus(_sl(_il(_0m(_3l, _4l, _3l._HA)._Bl, "stat_rush_yards")), _sl(_CF)));
if (yyfgreater(_CF, _il(_0m(_3l, _4l, _3l._HA)._Bl, "stat_rush_longest"))) {
_vl(_0m(_3l, _4l, _3l._HA)._Bl, "stat_rush_longest", _CF);
}
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 6)) && yyGetBool(yyfless(_0m(_3l, _4l, 48).__C, 6))) {
_vl(_0m(_3l, _4l, _3l._HA)._Bl, "stat_rush_touchdowns", yyfplus(_sl(_il(_0m(_3l, _4l, _3l._HA)._Bl, "stat_rush_touchdowns")), 1));
}
}
}
if (yyfgreater(_CF, 15)) {
_J2(_3l, _4l, "ACH_RUN15");
} else {
if (yyfgreater(_CF, 10)) {
_J2(_3l, _4l, "ACH_RUN10");
} else {
if (yyfgreater(_CF, 5)) {
_J2(_3l, _4l, "ACH_RUN5");
}
}
}
}
} else {
{
if (yyGetBool(_0m(_3l, _4l, _3l._HA)._Bl)) {
{
_vl(_0m(_3l, _4l, _3l._HA)._Bl, "stat_attempts", yyfplus(_sl(_il(_0m(_3l, _4l, _3l._HA)._Bl, "stat_attempts")), 1));
_vl(_0m(_3l, _4l, _3l._HA)._Bl, "stat_yards", yyfplus(_sl(_il(_0m(_3l, _4l, _3l._HA)._Bl, "stat_yards")), _sl(_CF)));
if (yyfgreater(_CF, _il(_0m(_3l, _4l, _3l._HA)._Bl, "stat_longest"))) {
_vl(_0m(_3l, _4l, _3l._HA)._Bl, "stat_longest", _CF);
}
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 6)) && yyGetBool(yyfless(_0m(_3l, _4l, 48).__C, 6))) {
_vl(_0m(_3l, _4l, _3l._HA)._Bl, "stat_touchdowns", yyfplus(_sl(_il(_0m(_3l, _4l, _3l._HA)._Bl, "stat_touchdowns")), 1));
}
}
}
if (yyGetBool(_jD) && yyGetBool(_0m(_3l, _4l, _jD)._Bl)) {
{
_vl(_0m(_3l, _4l, _jD)._Bl, "stat_yards", yyfplus(_sl(_il(_0m(_3l, _4l, _jD)._Bl, "stat_yards")), _sl(_CF)));
if (yyfgreater(_CF, _il(_0m(_3l, _4l, _jD)._Bl, "stat_longest"))) {
_vl(_0m(_3l, _4l, _jD)._Bl, "stat_longest", _CF);
}
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 6)) && yyGetBool(yyfless(_0m(_3l, _4l, 48).__C, 6))) {
_vl(_0m(_3l, _4l, _jD)._Bl, "stat_touchdowns", yyfplus(_sl(_il(_0m(_3l, _4l, _jD)._Bl, "stat_touchdowns")), 1));
}
}
}
if (yyfgreater(_CF, 50)) {
_J2(_3l, _4l, "ACH_PASS50");
} else {
if (yyfgreater(_CF, 25)) {
_J2(_3l, _4l, "ACH_PASS25");
} else {
if (yyfgreater(_CF, 10)) {
_J2(_3l, _4l, "ACH_PASS10");
}
}
}
}
}
break;
}
case 1: {
break;
}
}
}
}
_v7(_3l, _4l, _CF);
}
function _I6(_3l, _4l) {
{
var _IF = _8l(48);
for (var _JF in _IF) {
if (!_IF.hasOwnProperty(_JF)) continue;
var _KF = _IF[_JF];
if (_KF._bl) continue;
if (!_KF._cl) continue;
{
_KF._NA = _sl(-_sl(_KF._NA));
if (yyfnotequal(_il(_0m(_3l, _4l, 42)._1n, "op_drivedir"), 0)) {
_KF._NA = _il(_0m(_3l, _4l, 42)._1n, "op_drivedir");
}
}
}
}
{
var _LF = _8l(49);
for (var _MF in _LF) {
if (!_LF.hasOwnProperty(_MF)) continue;
var _NF = _LF[_MF];
if (_NF._bl) continue;
if (!_NF._cl) continue;
{
_NF._ZB = _sl(-_sl(_NF._ZB));
_NF._OF = 2300;
if (yyfequal(_NF._ZB, -1)) {
_NF._OF = 300;
}
}
}
}
}
function _J6(_3l, _4l) {
{
var _PF = _8l(49);
for (var _QF in _PF) {
if (!_PF.hasOwnProperty(_QF)) continue;
var _RF = _PF[_QF];
if (_RF._bl) continue;
if (!_RF._cl) continue;
_SF(_RF._TF);
}
}
{
var _UF = _8l(global._SA);
for (var _VF in _UF) {
if (!_UF.hasOwnProperty(_VF)) continue;
var _WF = _UF[_VF];
if (_WF._bl) continue;
if (!_WF._cl) continue;
_SF(_WF._TF);
}
}
_lp(_3l, 49);
_lp(_3l, 52);
_lp(_3l, 53);
_lp(_3l, 58);
_lp(_3l, 59);
}
function _K6(_3l, _4l, _5l) {
_J6(_3l, _4l);
_A9(_3l, _4l, _h9(_3l, _4l, _5l));
{
var _XF = _8l(48);
for (var _YF in _XF) {
if (!_XF.hasOwnProperty(_YF)) continue;
var _ZF = _XF[_YF];
if (_ZF._bl) continue;
if (!_ZF._cl) continue;
{
var __F = _5l;
var _0G = -1;
if (yyCompareVal(__F, 1, g_GMLMathEpsilon) == 0) {
_0G = 0;
} else if (yyCompareVal(__F, 2, g_GMLMathEpsilon) == 0) {
_0G = 1;
} else if (yyCompareVal(__F, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(__F, 4, g_GMLMathEpsilon) == 0) {
_0G = 2;
} else if (yyCompareVal(__F, 5, g_GMLMathEpsilon) == 0) {
_0G = 3;
} else if (yyCompareVal(__F, 6, g_GMLMathEpsilon) == 0) {
_0G = 4;
} else if (yyCompareVal(__F, 7, g_GMLMathEpsilon) == 0) {
_0G = 5;
} else if (yyCompareVal(__F, 8, g_GMLMathEpsilon) == 0) {
_0G = 6;
} else if (yyCompareVal(__F, 9, g_GMLMathEpsilon) == 0) {
_0G = 7;
}
switch (_0G) {
case 0: {
_A9(_ZF, _3l, yyfplus("quarter=", _sl(_ul(_ZF._NE))));
_A9(_ZF, _3l, yyfplus("drives", _sl(_ul(_ZF._RE))));
if (yyGetBool(yyfequal(_ZF._NE, 5)) && yyGetBool(yyfequal(_ZF._RE, 1))) {
{
_ZF._BE = _vp(_ZF._BE, 2252592909);
_ZF._BE[_wp(_ZF._9q)] = yyfplus(_ZF._BE[_wp(_ZF._9q)], 6);
_ZF._bq = 17;
}
} else {
if (yyfequal(_ZF.__C, 6)) {
{
_ZF._BE = _vp(_ZF._BE, 2252592909);
_ZF._BE[_wp(_ZF._9q)] = yyfplus(_ZF._BE[_wp(_ZF._9q)], 2);
_ZF._bq = 1;
_J2(_ZF, _3l, "ACH_POINTAFTER2");
}
} else {
{
_ZF._BE = _vp(_ZF._BE, 2252592909);
_ZF._BE[_wp(_ZF._9q)] = yyfplus(_ZF._BE[_wp(_ZF._9q)], 6);
_T7(_ZF, _3l, "", _Q8(_ZF, _3l, "matchmsg_PATor2"), _Q8(_ZF, _3l, "match_1pt"), _Q8(_ZF, _3l, "match_2pt"), 93, 94, 16777215, 0.7);
_ZF.__C = 6;
return;
}
}
}
break;
}
case 1: {
_T6(_ZF, _3l);
if (yyfequal(_ZF._NE, 5)) {
{
_ZF._BE = _vp(_ZF._BE, 2252592909);
_ZF._BE[_wp(_ZF._9q)] = yyfplus(_ZF._BE[_wp(_ZF._9q)], 6);
_ZF._bq = 17;
}
} else {
if (yyfequal(_ZF.__C, 6)) {
{
_ZF._BE = _vp(_ZF._BE, 2252592909);
_ZF._BE[_wp(_ZF._9q)] = yyfplus(_ZF._BE[_wp(_ZF._9q)], 2);
_ZF._bq = 1;
}
} else {
{
_ZF._BE = _vp(_ZF._BE, 2252592909);
_ZF._BE[_wp(_ZF._9q)] = yyfplus(_ZF._BE[_wp(_ZF._9q)], 6);
_ZF._bq = 10;
}
}
}
break;
}
case 2: {
if (yyfequal(_ZF.__C, 6)) {
{
_ZF._bq = 1;
break;
}
}
_ZF._bq = 22;
break;
}
case 3: {
_ZF._bq = 5;
break;
}
case 4: {
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 1)) {
{
if (yyfequal(_ZF._1G, 0)) {
_ZF._1G = _ZF._2G;
} else {
_ZF._1G = -1;
}
_E7(_ZF, _3l);
return;
}
}
_ZF._BE = _vp(_ZF._BE, 2252592909);
_ZF._BE[_wp(_ZF._9q)] = yyfplus(_ZF._BE[_wp(_ZF._9q)], 1);
if (!yyGetBool(_ZF._UC)) {
_ZF._BE[_wp(_ZF._9q)] = yyfplus(_ZF._BE[_wp(_ZF._9q)], 2);
}
if (yyGetBool(yyfequal(_ZF._NE, 5)) && yyGetBool(yyfgreater(_ZF._RE, 1))) {
_ZF._bq = 17;
} else {
_ZF._bq = 1;
}
break;
}
case 5: {
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 1)) {
{
_E7(_ZF, _3l);
return;
}
} else {
{
_T6(_ZF, _3l);
}
}
break;
}
case 6: {
_ZF._bq = 1;
_ZF._BE[_wp(!yyGetBool(_ZF._9q) ? 1 : 0)] = yyfplus(_ZF._BE[_wp(!yyGetBool(_ZF._9q) ? 1 : 0)], 2);
break;
}
case 7: {
_ZF._bq = 2;
break;
}
}
_ZF._WA = 1;
_ZF._vE = 1 ? 1 : 0;
if (yyfnotequal(_5l, 9)) {
_ZF.__C = 1;
}
}
}
}
}
function _L6(_3l, _4l) {
var _3G = yyGetBool(yyflessequal(_0m(_3l, _4l, 48)._VD, 0)) && yyGetBool(yyflessequal(_0m(_3l, _4l, 48)._WD, 0)) ? 1 : 0;
if (yyGetBool(_3G)) {
{
_A9(_3l, _4l, yyfplus(yyfplus("is_quarter_over = YES (", _sl(_89(_3l, _4l, _3l._bq))), ")"));
_3l._zF = _3l._bq;
_3l._bq = 12;
_3l._RE = 0;
return 1;
}
}
_A9(_3l, _4l, yyfplus(yyfplus("is_quarter_over = NO (", _sl(_89(_3l, _4l, _3l._bq))), ")"));
return 0;
}
function _M6(_3l, _4l, _5l) {
var _4G = _5l;
if (yyfless(_3l.y, 132)) {
return 0;
}
if (yyfgreater(_3l.y, 468)) {
return 0;
}
if (yyGetBool(yyfgreater(_3l.x, 300)) && yyGetBool(yyfless(_3l.x, 2300))) {
return 1;
}
if (yyGetBool(_4G)) {
{
if (yyGetBool(yyfgreater(_3l.x, 90)) && yyGetBool(yyfless(_3l.x, 2510))) {
return 1;
}
}
}
return 0;
}
function _N6(_3l, _4l, _5l, _Bq, _Cq) {
var _5G = _5l;
var _6G = _Bq;
var _4G = _Cq;
if (yyfless(_6G, 132)) {
return 0;
}
if (yyfgreater(_6G, 468)) {
return 0;
}
if (yyGetBool(yyfgreater(_5G, 300)) && yyGetBool(yyfless(_5G, 2300))) {
return 1;
}
if (yyGetBool(_4G)) {
{
if (yyGetBool(yyfgreater(_5G, 90)) && yyGetBool(yyfless(_5G, 2510))) {
return 1;
}
}
}
return 0;
}
function _O6(_3l, _4l, _5l) {
var _7G = _5l;
_A9(_3l, _4l, yyfplus("s_end_match:", _sl(_ul(_7G))));
{
var _8G = _8l(42);
for (var _9G in _8G) {
if (!_8G.hasOwnProperty(_9G)) continue;
var _aG = _8G[_9G];
if (_aG._bl) continue;
if (!_aG._cl) continue;
{
_aG._cv = _vp(_aG._cv, 4276613938);
_aG._cv[_wp(0)] = _0m(_3l, _4l, 48)._BE[_Tn(0, _0m(_3l, _4l, 48)._BE)];
_aG._cv[_wp(1)] = _0m(_3l, _4l, 48)._BE[_Tn(1, _0m(_3l, _4l, 48)._BE)];
_aG._zt = _vp(_aG._zt, 3805390041);
_aG._zt[_wp(0)]++;
_P6(_aG, _3l);
_x8(_aG, _3l);
var _zq = _n5(_aG, _3l, _aG._Nl);
_vl(_zq, "away_score", _aG._cv[_Tn(0, _aG._cv)]);
_vl(_zq, "home_score", _aG._cv[_Tn(1, _aG._cv)]);
if (yyfequal(_aG._Nl, 17)) {
{
_A9(_aG, _3l, yyfplus("End of regular season. My rating was ", _sl(_ul(_aG._as))));
if (yyfequal(_o9(_aG, _3l, _aG._Gm, 1), _aG._Fm)) {
{
_aG._as = yyfplus(_aG._as, 4);
_A9(_aG, _3l, yyfplus("1st seed. My rating is now ", _sl(_ul(_aG._as))));
_J2(_aG, _3l, "ACH_WIN_DIVISION");
}
} else {
if (yyfequal(_o9(_aG, _3l, _aG._Gm, 2), _aG._Fm)) {
{
_aG._as = yyfplus(_aG._as, 3);
_A9(_aG, _3l, yyfplus("2nd seed. My rating is now ", _sl(_ul(_aG._as))));
}
} else {
if (yyfequal(_o9(_aG, _3l, _aG._Gm, 3), _aG._Fm)) {
{
_aG._as = yyfplus(_aG._as, 2);
_A9(_aG, _3l, yyfplus("3rd seed. My rating is now ", _sl(_ul(_aG._as))));
}
} else {
if (yyfequal(_o9(_aG, _3l, _aG._Gm, 4), _aG._Fm)) {
{
_A9(_aG, _3l, yyfplus("4th seed. My rating is now ", _sl(_ul(_aG._as))));
}
} else {
{
_aG._as = round(yyftime(_sl(_aG._as), 0.5));
_A9(_aG, _3l, yyfplus("Unseeded. My rating is now ", _sl(_ul(_aG._as))));
}
}
}
}
}
}
}
_J2(_aG, _3l, "ACH_PLAYGAME1");
_aG._xt++;
var _bG = _7G;
var _cG = -1;
if (yyCompareVal(_bG, -1, g_GMLMathEpsilon) == 0) {
_cG = 0;
} else if (yyCompareVal(_bG, 0, g_GMLMathEpsilon) == 0) {
_cG = 1;
} else if (yyCompareVal(_bG, 1, g_GMLMathEpsilon) == 0) {
_cG = 2;
}
switch (_cG) {
case 0: {
_vl(_zq, "human_win", "loss");
_aG._wt = yyfplus(_aG._wt, 1);
var _dG = _aG._Nl;
var _eG = -1;
if (yyCompareVal(_dG, 18, g_GMLMathEpsilon) == 0 || yyCompareVal(_dG, 19, g_GMLMathEpsilon) == 0 || yyCompareVal(_dG, 20, g_GMLMathEpsilon) == 0 || yyCompareVal(_dG, 21, g_GMLMathEpsilon) == 0) {
_eG = 0;
} else if (yyCompareVal(_dG, 22, g_GMLMathEpsilon) == 0 || yyCompareVal(_dG, 23, g_GMLMathEpsilon) == 0 || yyCompareVal(_dG, 24, g_GMLMathEpsilon) == 0 || yyCompareVal(_dG, 25, g_GMLMathEpsilon) == 0) {
_eG = 1;
} else if (yyCompareVal(_dG, 26, g_GMLMathEpsilon) == 0 || yyCompareVal(_dG, 27, g_GMLMathEpsilon) == 0) {
_eG = 2;
} else if (yyCompareVal(_dG, 28, g_GMLMathEpsilon) == 0) {
_eG = 3;
}
switch (_eG) {
case 0: {
_aG._as = yyfplus(_aG._as, 3);
_A9(_aG, _3l, yyfplus("Out in wild card round. My rating is now ", _sl(_ul(_aG._as))));
_g6(_aG, _3l, 1);
break;
}
case 1: {
_aG._as = yyfplus(_aG._as, 4);
_A9(_aG, _3l, yyfplus("Out in divisional round. My rating is now ", _sl(_ul(_aG._as))));
break;
}
case 2: {
_aG._as = yyfplus(_aG._as, 5);
_A9(_aG, _3l, yyfplus("Out in wild championship round. My rating is now ", _sl(_ul(_aG._as))));
break;
}
case 3: {
_aG._as = yyfplus(_aG._as, 6);
_A9(_aG, _3l, yyfplus("Lost the superbowl. My rating is now ", _sl(_ul(_aG._as))));
break;
}
}
break;
}
case 1: {
_vl(_zq, "human_win", "tie");
break;
}
case 2: {
_vl(_zq, "human_win", "win");
_aG._wt = yyfminus(_aG._wt, 1);
if (yyfgreater(_0m(_3l, _4l, 48)._BE[_Tn(_0m(_3l, _4l, 48)._aq, _0m(_3l, _4l, 48)._BE)], yyfplus(_sl(_0m(_3l, _4l, 48)._BE[_Tn(!yyGetBool(_0m(_3l, _4l, 48)._aq) ? 1 : 0, _0m(_3l, _4l, 48)._BE)]), 14))) {
_aG._wt = yyfminus(_aG._wt, 1);
}
_J2(_aG, _3l, "ACH_WIN1");
var _rl = _H2(_aG, _3l, "ACH_WIN1");
if (yyfgreaterequal(_rl, 5)) {
_J2(_aG, _3l, "ACH_WIN5");
}
if (yyfgreaterequal(_rl, 10)) {
_J2(_aG, _3l, "ACH_WIN10");
}
if (yyfgreaterequal(_rl, 25)) {
_J2(_aG, _3l, "ACH_WIN25");
}
if (yyfgreaterequal(_rl, 50)) {
_J2(_aG, _3l, "ACH_WIN50");
}
if (yyfgreaterequal(_rl, 100)) {
_J2(_aG, _3l, "ACH_WIN100");
}
var _fG = _aG._Nl;
var _gG = -1;
if (yyCompareVal(_fG, 18, g_GMLMathEpsilon) == 0 || yyCompareVal(_fG, 19, g_GMLMathEpsilon) == 0 || yyCompareVal(_fG, 20, g_GMLMathEpsilon) == 0 || yyCompareVal(_fG, 21, g_GMLMathEpsilon) == 0) {
_gG = 0;
} else if (yyCompareVal(_fG, 22, g_GMLMathEpsilon) == 0 || yyCompareVal(_fG, 23, g_GMLMathEpsilon) == 0 || yyCompareVal(_fG, 24, g_GMLMathEpsilon) == 0 || yyCompareVal(_fG, 25, g_GMLMathEpsilon) == 0) {
_gG = 1;
} else if (yyCompareVal(_fG, 26, g_GMLMathEpsilon) == 0 || yyCompareVal(_fG, 27, g_GMLMathEpsilon) == 0) {
_gG = 2;
} else if (yyCompareVal(_fG, 28, g_GMLMathEpsilon) == 0) {
_gG = 3;
}
switch (_gG) {
case 0: {
_J2(_aG, _3l, "ACH_WIN_PLAYOFF");
_g6(_aG, _3l, 2);
break;
}
case 1: {
_J2(_aG, _3l, "ACH_WIN_PLAYOFF");
_g6(_aG, _3l, 3);
break;
}
case 2: {
var _hG = _0m(_3l, _4l, 42)._Gm;
var _iG = -1;
if (yyCompareVal(_hG, 0, g_GMLMathEpsilon) == 0) {
_iG = 0;
} else if (yyCompareVal(_hG, 1, g_GMLMathEpsilon) == 0) {
_iG = 1;
}
switch (_iG) {
case 0: {
_J2(_aG, _3l, "ACH_WIN_AFC");
break;
}
case 1: {
_J2(_aG, _3l, "ACH_WIN_NFC");
break;
}
}
_g6(_aG, _3l, 4);
break;
}
case 3: {
_aG._as = yyfplus(_aG._as, 8);
_A9(_aG, _3l, yyfplus("Won the superbowl! My rating is now ", _sl(_ul(_aG._as))));
_g6(_aG, _3l, 5);
_J2(_aG, _3l, "ACH_WIN_RETROBOWL1");
var _rl = _H2(_aG, _3l, "ACH_WIN_RETROBOWL1");
if (yyfequal(_rl, 3)) {
_J2(_aG, _3l, "ACH_WIN_RETROBOWL3");
}
if (yyfequal(_rl, 5)) {
_J2(_aG, _3l, "ACH_WIN_RETROBOWL5");
}
if (yyfequal(_rl, 10)) {
_J2(_aG, _3l, "ACH_WIN_RETROBOWL10");
}
break;
}
}
break;
}
}
_aG._as = _cm(_aG._as, 1, 20);
if (yyfgreater(_H2(_aG, _3l, "ACH_WIN_RETROBOWL1"), 0)) {
_aG._wt = _cm(_aG._wt, -5, 10);
} else {
_aG._wt = _cm(_aG._wt, 2, 10);
}
}
}
}
_U5(_3l, _4l, 1);
}
function _P6(_3l, _4l) {
{
var _jG = _8l(42);
for (var _kG in _jG) {
if (!_jG.hasOwnProperty(_kG)) continue;
var _lG = _jG[_kG];
if (_lG._bl) continue;
if (!_lG._cl) continue;
{
_sq(_lG._Um);
var _mG = 0 ? 1 : 0;
var _rv = 1;
for (; yyfless(_rv, 3); _rv++) {
{
_lG._zt = _vp(_lG._zt, 2792391105);
_lG._zt[_wp(_rv)] = yyfplus(_lG._zt[_wp(_rv)], _lG._zt[_Tn(0, _lG._zt)]);
_lG._At = _vp(_lG._At, 1394915673);
_lG._At[_wp(_rv)] = yyfplus(_lG._At[_wp(_rv)], _lG._At[_Tn(0, _lG._At)]);
_lG._Bt = _vp(_lG._Bt, 2841682678);
_lG._Bt[_wp(_rv)] = yyfplus(_lG._Bt[_wp(_rv)], _lG._Bt[_Tn(0, _lG._Bt)]);
_lG._Ct = _vp(_lG._Ct, 1505616728);
_lG._Ct[_wp(_rv)] = yyfplus(_lG._Ct[_wp(_rv)], _lG._Ct[_Tn(0, _lG._Ct)]);
_lG._Dt = _vp(_lG._Dt, 4155348646);
_lG._Dt[_wp(_rv)] = yyfplus(_lG._Dt[_wp(_rv)], _lG._Dt[_Tn(0, _lG._Dt)]);
_lG._Et = _vp(_lG._Et, 2056755040);
_lG._Et[_wp(_rv)] = yyfplus(_lG._Et[_wp(_rv)], _lG._Et[_Tn(0, _lG._Et)]);
_lG._Ft = _vp(_lG._Ft, 3890897118);
_lG._Ft[_wp(_rv)] = yyfplus(_lG._Ft[_wp(_rv)], _lG._Ft[_Tn(0, _lG._Ft)]);
}
}
var _nG = 0;
var _oG = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_lG._Um)); _dl++) {
{
var _Bl = _hl(_lG._Um, _dl);
if (yyGetBool(yyfless(_il(_Bl, "condition"), 0)) || yyGetBool(_il(_Bl, "resting"))) {
continue;
}
_FB(_Bl, "season_games", yyfplus(_sl(_il(_Bl, "season_games")), 1));
_vl(_Bl, "season_attempts", yyfplus(_sl(_il(_Bl, "season_attempts")), _sl(_il(_Bl, "stat_attempts"))));
_vl(_Bl, "season_complete", yyfplus(_sl(_il(_Bl, "season_complete")), _sl(_il(_Bl, "stat_complete"))));
_vl(_Bl, "season_yards", yyfplus(_sl(_il(_Bl, "season_yards")), _sl(_il(_Bl, "stat_yards"))));
_vl(_Bl, "season_touchdowns", yyfplus(_sl(_il(_Bl, "season_touchdowns")), _sl(_il(_Bl, "stat_touchdowns"))));
_vl(_Bl, "season_fumbles", yyfplus(_sl(_il(_Bl, "season_fumbles")), _sl(_il(_Bl, "stat_fumbles"))));
_vl(_Bl, "season_int", yyfplus(_sl(_il(_Bl, "season_int")), _sl(_il(_Bl, "stat_int"))));
_vl(_Bl, "season_sacks", yyfplus(_sl(_il(_Bl, "season_sacks")), _sl(_il(_Bl, "stat_sacks"))));
_vl(_Bl, "season_tackles", yyfplus(_sl(_il(_Bl, "season_tackles")), _sl(_il(_Bl, "stat_tackles"))));
_vl(_Bl, "season_rush_attempts", yyfplus(_sl(_il(_Bl, "season_rush_attempts")), _sl(_il(_Bl, "stat_rush_attempts"))));
_vl(_Bl, "season_rush_yards", yyfplus(_sl(_il(_Bl, "season_rush_yards")), _sl(_il(_Bl, "stat_rush_yards"))));
_vl(_Bl, "season_rush_touchdowns", yyfplus(_sl(_il(_Bl, "season_rush_touchdowns")), _sl(_il(_Bl, "stat_rush_touchdowns"))));
_nG = yyfplus(_nG, _il(_Bl, "stat_yards"));
_oG = yyfplus(_oG, _il(_Bl, "stat_rush_yards"));
if (yyfgreater(_il(_Bl, "stat_longest"), _il(_Bl, "season_longest"))) {
_vl(_Bl, "season_longest", _il(_Bl, "stat_longest"));
}
if (yyfgreater(_il(_Bl, "stat_rush_longest"), _il(_Bl, "season_rush_longest"))) {
_vl(_Bl, "season_rush_longest", _il(_Bl, "stat_rush_longest"));
}
_FB(_Bl, "career_games", yyfplus(_sl(_il(_Bl, "career_games")), 1));
_vl(_Bl, "career_attempts", yyfplus(_sl(_il(_Bl, "career_attempts")), _sl(_il(_Bl, "stat_attempts"))));
_vl(_Bl, "career_complete", yyfplus(_sl(_il(_Bl, "career_complete")), _sl(_il(_Bl, "stat_complete"))));
_vl(_Bl, "career_yards", yyfplus(_sl(_il(_Bl, "career_yards")), _sl(_il(_Bl, "stat_yards"))));
_vl(_Bl, "career_touchdowns", yyfplus(_sl(_il(_Bl, "career_touchdowns")), _sl(_il(_Bl, "stat_touchdowns"))));
_vl(_Bl, "career_fumbles", yyfplus(_sl(_il(_Bl, "career_fumbles")), _sl(_il(_Bl, "stat_fumbles"))));
_vl(_Bl, "career_int", yyfplus(_sl(_il(_Bl, "career_int")), _sl(_il(_Bl, "stat_int"))));
_vl(_Bl, "career_sacks", yyfplus(_sl(_il(_Bl, "career_sacks")), _sl(_il(_Bl, "stat_sacks"))));
_vl(_Bl, "career_tackles", yyfplus(_sl(_il(_Bl, "career_tackles")), _sl(_il(_Bl, "stat_tackles"))));
_vl(_Bl, "career_rush_attempts", yyfplus(_sl(_il(_Bl, "career_rush_attempts")), _sl(_il(_Bl, "stat_rush_attempts"))));
_vl(_Bl, "career_rush_yards", yyfplus(_sl(_il(_Bl, "career_rush_yards")), _sl(_il(_Bl, "stat_rush_yards"))));
_vl(_Bl, "career_rush_touchdowns", yyfplus(_sl(_il(_Bl, "career_rush_touchdowns")), _sl(_il(_Bl, "stat_rush_touchdowns"))));
if (yyfgreater(_il(_Bl, "stat_longest"), _il(_Bl, "career_longest"))) {
_vl(_Bl, "career_longest", _il(_Bl, "stat_longest"));
}
if (yyfgreater(_il(_Bl, "stat_rush_longest"), _il(_Bl, "career_rush_longest"))) {
_vl(_Bl, "career_rush_longest", _il(_Bl, "stat_rush_longest"));
}
var _pG = _il(_Bl, "xp_level");
var _qG = yyftime(_sl(_lG._Tl), 2);
var _rG = 0;
var _sG = _il(_Bl, "position");
var _tG = -1;
if (yyCompareVal(_sG, 1, g_GMLMathEpsilon) == 0) {
_tG = 0;
} else if (yyCompareVal(_sG, 2, g_GMLMathEpsilon) == 0) {
_tG = 1;
} else if (yyCompareVal(_sG, 4, g_GMLMathEpsilon) == 0) {
_tG = 2;
} else if (yyCompareVal(_sG, 3, g_GMLMathEpsilon) == 0) {
_tG = 3;
} else if (yyCompareVal(_sG, 10, g_GMLMathEpsilon) == 0) {
_tG = 4;
}
switch (_tG) {
case 0: {
_qG = yyfplus(_qG, yyftime(yyftime(_sl(_il(_Bl, "stat_touchdowns")), 5), 0.5));
_qG = yyfplus(_qG, yyftime(yyftime(_sl(_il(_Bl, "stat_rush_touchdowns")), 5), 0.5));
_qG = yyfplus(_qG, yyftime(_sl(_il(_Bl, "stat_yards")), 0.1));
_qG = yyfplus(_qG, yyftime(_sl(_il(_Bl, "stat_rush_yards")), 0.1));
_rG = _cm(yyfdivide(_sl(yyfplus(_sl(_il(_Bl, "stat_yards")), _sl(_il(_Bl, "stat_yards")))), 100), 0, 10);
_rG = yyfplus(_rG, yyftime(_sl(_il(_Bl, "stat_sacks")), 2));
break;
}
case 1: {
_qG = yyfplus(_qG, yyftime(_sl(_il(_Bl, "stat_touchdowns")), 5));
_qG = yyfplus(_qG, yyftime(_sl(_il(_Bl, "stat_rush_touchdowns")), 5));
_qG = yyfplus(_qG, yyftime(yyftime(_sl(_il(_Bl, "stat_rush_yards")), 0.1), 3));
_qG = yyfplus(_qG, yyftime(yyftime(_sl(_il(_Bl, "stat_yards")), 0.1), 2));
_rG = _cm(yyfdivide(_sl(yyfplus(_sl(_il(_Bl, "stat_yards")), _sl(_il(_Bl, "stat_yards")))), 50), 0, 10);
break;
}
case 2: {
_qG = yyfplus(_qG, yyftime(_sl(_il(_Bl, "stat_touchdowns")), 5));
_qG = yyfplus(_qG, yyftime(yyftime(_sl(_il(_Bl, "stat_yards")), 0.1), 2));
_rG = _cm(yyfdivide(_sl(yyfplus(_sl(_il(_Bl, "stat_yards")), _sl(_il(_Bl, "stat_yards")))), 50), 0, 10);
break;
}
case 3: {
_qG = yyfplus(_qG, yyftime(_sl(_il(_Bl, "stat_touchdowns")), 5));
_qG = yyfplus(_qG, yyftime(yyftime(_sl(_il(_Bl, "stat_yards")), 0.1), 3));
_rG = _cm(yyfdivide(_sl(yyfplus(_sl(_il(_Bl, "stat_yards")), _sl(_il(_Bl, "stat_yards")))), 25), 0, 10);
break;
}
case 4: {
_qG = yyfplus(_qG, yyfdivide(_sl(_il(_Bl, "stat_yards")), 2));
_rG = _cm(yyfdivide(_sl(yyfplus(_sl(_il(_Bl, "stat_yards")), _sl(_il(_Bl, "stat_yards")))), 50), 0, 10);
break;
}
default: {
_rG = yyfplus(_rG, _il(_Bl, "stat_tackles"));
break;
}
}
_qG = yyfminus(_qG, yyftime(_sl(_il(_Bl, "stat_fumbles")), 5));
_qG = yyfminus(_qG, yyftime(_sl(_il(_Bl, "stat_int")), 2.5));
_qG = yyfminus(_qG, yyftime(_sl(_il(_Bl, "stat_sacks")), 2.5));
_qG = yyfplus(_qG, yyftime(_sl(_il(_Bl, "stat_tackles")), 5));
var _uG = _H8(_lG, _3l, 102);
var _vG = _H8(_lG, _3l, 101);
if (yyGetBool(yyfequal(_il(_uG, "trait"), 7)) && yyGetBool(_n8(_lG, _3l, _Bl))) {
_qG = yyfplus(_qG, yyftime(_sl(_pG), 5));
} else {
if (yyGetBool(yyfequal(_il(_vG, "trait"), 7)) && yyGetBool(!yyGetBool(_n8(_lG, _3l, _Bl)))) {
_qG = yyfplus(_qG, yyftime(_sl(_pG), 5));
}
}
_qG = _cm(_qG, 0, yyftime(_sl(_pG), 200));
_vl(_Bl, "xp_gain", yyfplus(_sl(_il(_Bl, "xp_gain")), _sl(round(_qG))));
_rG = yyfplus(25, _sl(_ml(_il(_Bl, "age"))));
_rG = yyfplus(_rG, _cm(round(yyftime(_sl(_0m(_3l, _4l, 42)._Nl), 0.6)), 2, 10));
_rG = yyfplus(_rG, yyfdivide(_sl(_s8(_lG, _3l, _Bl)), 2));
_vl(_Bl, "condition", _cm(round(yyfminus(_sl(_il(_Bl, "condition")), _sl(_rG))), 1, 100));
if (!yyGetBool(_mG)) {
_mG = _A8(_lG, _3l, _Bl);
}
}
}
if (yyfgreater(_nG, 100)) {
_J2(_lG, _3l, "ACH_GAME_PASS_100");
}
if (yyfgreater(_nG, 200)) {
_J2(_lG, _3l, "ACH_GAME_PASS_200");
}
if (yyfgreater(_nG, 300)) {
_J2(_lG, _3l, "ACH_GAME_PASS_300");
}
if (yyfgreater(_oG, 50)) {
_J2(_lG, _3l, "ACH_GAME_RUSH_50");
}
if (yyfgreater(_oG, 100)) {
_J2(_lG, _3l, "ACH_GAME_RUSH_100");
}
if (yyfgreater(_oG, 150)) {
_J2(_lG, _3l, "ACH_GAME_RUSH_150");
}
}
}
}
}
function _Q6(_3l, _4l) {
{
var _wG = _8l(48);
for (var _xG in _wG) {
if (!_wG.hasOwnProperty(_xG)) continue;
var _yG = _wG[_xG];
if (_yG._bl) continue;
if (!_yG._cl) continue;
return yyfplus(_sl(_sl(-_sl(_yG._XD))), 50);
}
}
}
function _R6(_3l, _4l) {
_A9(_3l, _4l, "s_kick_off");
{
var _zG = _8l(48);
for (var _AG in _zG) {
if (!_zG.hasOwnProperty(_AG)) continue;
var _BG = _zG[_AG];
if (_BG._bl) continue;
if (!_BG._cl) continue;
{
_BG.__C = 1;
_BG._ZD = 10;
_BG._XD = -15;
_BG._XD = yyfplus(_BG._XD, _Vm(45, 70));
if (yyfgreater(_BG._XD, 40)) {
_BG._XD = 25;
}
_BG._uE = _Pl(_Q8(_BG, _3l, "comm_stage_KickOff"), "$teamname", _BG._dw[_Tn(_BG._9q, _BG._dw)]);
_T6(_BG, _3l);
_BG._WE = 1;
}
}
}
}
function _S6(_3l, _4l) {
_A9(_3l, _4l, "s_punt");
_3l._XD = yyfplus(_3l._XD, _Vm(40, 60));
if (yyfgreater(_3l._XD, 49)) {
_3l._XD = 25;
}
_3l._uE = _Pl(_Q8(_3l, _4l, "comm_stage_Punt"), "$teamname", _3l._dw[_Tn(_3l._9q, _3l._dw)]);
_J7(_3l, _4l);
_D6(_3l, _4l, 5, 10);
_T6(_3l, _4l);
_3l._WE = 5;
}
function _T6(_3l, _4l) {
_A9(_3l, _4l, "s_change_possession");
{
var _CG = _8l(48);
for (var _DG in _CG) {
if (!_CG.hasOwnProperty(_DG)) continue;
var _EG = _CG[_DG];
if (_EG._bl) continue;
if (!_EG._cl) continue;
{
_EG.__C = 1;
_EG._ZD = 10;
_EG._XD = _sl(-_sl(_EG._XD));
_EG._9q = !yyGetBool(_EG._9q) ? 1 : 0;
_EG._WE = _EG._bq;
_EG._bq = 2;
_EG._VE = 0;
}
}
}
}
function _U6(_3l, _4l) {
if (yyGetBool(_3l._6F)) {
{
var _FG = _il(_3l._6F, "position");
var _GG = -1;
if (yyCompareVal(_FG, 6, g_GMLMathEpsilon) == 0) {
_GG = 0;
} else if (yyCompareVal(_FG, 7, g_GMLMathEpsilon) == 0) {
_GG = 1;
} else if (yyCompareVal(_FG, 9, g_GMLMathEpsilon) == 0 || yyCompareVal(_FG, 8, g_GMLMathEpsilon) == 0) {
_GG = 2;
}
switch (_GG) {
case 0: {
_vl(_3l._6F, "stat_tackles", yyfminus(_sl(_il(_3l._6F, "stat_tackles")), 4));
break;
}
case 1: {
_vl(_3l._6F, "stat_tackles", yyfminus(_sl(_il(_3l._6F, "stat_tackles")), 3));
break;
}
case 2: {
_vl(_3l._6F, "stat_tackles", yyfminus(_sl(_il(_3l._6F, "stat_tackles")), 2));
break;
}
}
if (yyfless(_il(_3l._6F, "stat_tackles"), 0)) {
_vl(_3l._6F, "stat_tackles", 0);
}
}
}
}
function _V6(_3l, _4l, _5l) {
{
var _HG = _8l(48);
for (var _IG in _HG) {
if (!_HG.hasOwnProperty(_IG)) continue;
var _JG = _HG[_IG];
if (_JG._bl) continue;
if (!_JG._cl) continue;
{
if (yyGetBool(yyGetBool(yyfequal(_JG._NE, 2)) || yyGetBool(yyfequal(_JG._NE, 4)) || yyGetBool(yyfequal(_JG._NE, 5))) && yyGetBool(yyGetBool(yyflessequal(_JG._VD, 0)) && yyGetBool(yyflessequal(_JG._WD, _5l)))) {
return 1;
}
}
}
}
}
function _W6(_3l, _4l) {
{
var _KG = _8l(60);
for (var _LG in _KG) {
if (!_KG.hasOwnProperty(_LG)) continue;
var _MG = _KG[_LG];
if (_MG._bl) continue;
if (!_MG._cl) continue;
{
_MG._fC = 0;
if (yyfequal(_MG._Sw, 2)) {
{
_MG._gC = 0;
return;
}
}
var _NG = _Sm(4);
var _OG = -1;
if (yyCompareVal(_NG, 0, g_GMLMathEpsilon) == 0) {
_OG = 0;
} else if (yyCompareVal(_NG, 1, g_GMLMathEpsilon) == 0) {
_OG = 1;
} else if (yyCompareVal(_NG, 2, g_GMLMathEpsilon) == 0) {
_OG = 2;
} else if (yyCompareVal(_NG, 3, g_GMLMathEpsilon) == 0) {
_OG = 3;
}
switch (_OG) {
case 0: {
_MG._gC = _cm(yyfplus(_sl(_MG._gC), 1), 0, 10);
break;
}
case 1: {
_MG._gC = _cm(yyfminus(_sl(_MG._gC), 1), 0, 10);
break;
}
case 2: {
_MG._hC = yyfplus(_MG._hC, 1);
break;
}
case 3: {
_MG._hC = yyfminus(_MG._hC, 1);
break;
}
default: {
break;
}
}
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 1)) {
{
if (yyfequal(_0m(_3l, _4l, 48)._1G, 0)) {
_MG._gC = 0;
} else {
_MG._gC = 5;
}
}
} else {
{
_MG._gC = _cm(yyfminus(11, _sl(_0m(_3l, _4l, 42)._wt)), 0, 10);
}
}
if (yyfgreater(_MG._hC, 7)) {
_MG._hC = 0;
}
if (yyfless(_MG._hC, 0)) {
_MG._hC = 7;
}
}
}
}
}
function _X6(_3l, _4l) {
{
var _PG = _8l(48);
for (var _QG in _PG) {
if (!_PG.hasOwnProperty(_QG)) continue;
var _RG = _PG[_QG];
if (_RG._bl) continue;
if (!_RG._cl) continue;
{
_4z("force quit match");
if (yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
{
_3m(4);
return;
}
}
_RG._BE = _vp(_RG._BE, 1816508137);
_RG._BE[_wp(_RG._aq)] = yyfplus(_RG._BE[_wp(_RG._aq)], 3);
if (yyfgreater(_RG._BE[_Tn(_RG._aq, _RG._BE)], _RG._BE[_Tn(!yyGetBool(_RG._aq) ? 1 : 0, _RG._BE)])) {
_O6(_RG, _3l, 1);
} else {
if (yyfless(_RG._BE[_Tn(_RG._aq, _RG._BE)], _RG._BE[_Tn(!yyGetBool(_RG._aq) ? 1 : 0, _RG._BE)])) {
_O6(_RG, _3l, -1);
} else {
_O6(_RG, _3l, 0);
}
}
}
}
}
}
function _Y6(_3l, _4l, _5l) {
_3l._lC = _5l;
_3l._SG = 1;
var _bD = global._SA;
var _TG = _3l._lC;
var _UG = -1;
if (yyCompareVal(_TG, 0, g_GMLMathEpsilon) == 0) {
_UG = 0;
} else if (yyCompareVal(_TG, 1, g_GMLMathEpsilon) == 0) {
_UG = 1;
} else if (yyCompareVal(_TG, 2, g_GMLMathEpsilon) == 0) {
_UG = 2;
} else if (yyCompareVal(_TG, 3, g_GMLMathEpsilon) == 0) {
_UG = 3;
} else if (yyCompareVal(_TG, 4, g_GMLMathEpsilon) == 0) {
_UG = 4;
} else if (yyCompareVal(_TG, 5, g_GMLMathEpsilon) == 0) {
_UG = 5;
} else if (yyCompareVal(_TG, 6, g_GMLMathEpsilon) == 0) {
_UG = 6;
} else if (yyCompareVal(_TG, 7, g_GMLMathEpsilon) == 0) {
_UG = 7;
} else if (yyCompareVal(_TG, 8, g_GMLMathEpsilon) == 0) {
_UG = 8;
} else if (yyCompareVal(_TG, 9, g_GMLMathEpsilon) == 0) {
_UG = 9;
} else if (yyCompareVal(_TG, 10, g_GMLMathEpsilon) == 0) {
_UG = 10;
} else if (yyCompareVal(_TG, 11, g_GMLMathEpsilon) == 0) {
_UG = 11;
} else if (yyCompareVal(_TG, 12, g_GMLMathEpsilon) == 0) {
_UG = 12;
} else if (yyCompareVal(_TG, 13, g_GMLMathEpsilon) == 0) {
_UG = 13;
} else if (yyCompareVal(_TG, 14, g_GMLMathEpsilon) == 0) {
_UG = 14;
} else if (yyCompareVal(_TG, 15, g_GMLMathEpsilon) == 0) {
_UG = 15;
} else if (yyCompareVal(_TG, 16, g_GMLMathEpsilon) == 0) {
_UG = 16;
} else if (yyCompareVal(_TG, 17, g_GMLMathEpsilon) == 0) {
_UG = 17;
}
switch (_UG) {
case 0: {
_3l._Vw(16);
if (yyGetBool(yyfequal(_3l._jB, 1)) && yyGetBool(yyfequal(_VG(52), 0))) {
_3l._XB(2);
} else {
_3l._XB(0);
}
_3l._SG = 0;
_3l._aD = -4;
break;
}
case 1: {
_3l._Vw(16);
_3l._XB(1);
_3l._SG = 0;
_3l._aD = -4;
break;
}
case 2: {
if (yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) {
_3l._Vw(22);
} else {
_3l._Vw(21);
}
_3l._XB(0);
_3l._SG = min(_3l._E2, 1);
_3l._aD = -4;
break;
}
case 3: {
_3l._Vw(29);
_3l._XB(0);
break;
}
case 4: {
_Q7(_3l, _4l);
if (yyGetBool(yyfequal(_3l._wC, 30)) || yyGetBool(yyfequal(_3l._wC, 31))) {
return;
}
_3l._Vw(30);
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) && yyGetBool(!yyGetBool(_0m(_3l, _4l, _bD)._BC))) {
{
var _WG = _16(_3l, _4l);
if (yyGetBool(_0m(_3l, _4l, _bD)._HA) && yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._Bl)) {
_WG = _il(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._Bl, "condition");
}
if (yyfgreater(_0m(_3l, _4l, 42)._wt, 3)) {
_WG = yyfplus(_WG, yyftime(_sl(_0m(_3l, _4l, 42)._wt), 4));
}
if (yyfgreater(_0m(_3l, _4l, 42)._wt, 8)) {
_WG = 100;
}
{
var _XG = _8l(60);
for (var _YG in _XG) {
if (!_XG.hasOwnProperty(_YG)) continue;
var _ZG = _XG[_YG];
if (_ZG._bl) continue;
if (!_ZG._cl) continue;
if (yyfequal(_ZG._Sw, 1)) {
_WG = yyfminus(_WG, 15);
}
}
}
_WG = _cm(_WG, 10, 100);
if (yyGetBool(_3l._LB) && yyGetBool(!yyGetBool(_Sm(2))) && yyGetBool(yyfgreater(_Vm(-25, 90), _WG)) && yyGetBool(yyfnotequal(_3l._jB, 1))) {
{
_t6(_3l, _4l, 1);
}
} else {
{
_3l._Vw(31);
}
}
}
}
_3l._XB(0);
_3l._aD = -4;
_3l.__G = 0;
break;
}
case 5: {
_R7(_3l, _4l);
_3l._Vw(33);
_3l._XB(0);
_3l._0H(_3l._Yf * 2.1);
_3l._1H(_3l._Zf * 1.7);
_3l._aD = -4;
break;
}
case 6: {
_3l._Vw(23);
_3l._XB(0);
_3l._aD = -4;
break;
}
case 7: {
_3l._Vw(28);
_3l._XB(0);
_3l._0H(_3l._Yf * 0.1);
_3l._aD = -4;
break;
}
case 8: {
_R7(_3l, _4l);
_3l._Vw(27);
_3l._2H--;
_3l._XB(0);
_3l._aD = -4;
break;
}
case 9: {
_3l._Vw(24);
_3l._3H--;
_3l._aD = -4;
global._PD = 0;
global._QD = 0;
break;
}
case 10: {
_R7(_3l, _4l);
_3l._Vw(25);
_3l._XB(0);
_3l._aD = -4;
break;
}
case 11: {
_3l._Vw(18);
_3l._XB(0);
break;
}
case 12: {
if (yyfequal(_0m(_3l, _4l, _bD)._WA, 19)) {
_3l._Vw(20);
} else {
_3l._Vw(19);
}
_3l._XB(0);
_K7(_3l, _4l);
break;
}
case 13: {
_3l._Vw(36);
_3l._XB(0);
_3l._SG = 0;
break;
}
case 14: {
_3l._0H(yyftime(_sl(_3l._tC), 0.85));
_3l._Vw(34);
_3l._XB(0);
break;
}
case 15: {
_3l._Vw(35);
_3l._XB(0);
break;
}
case 16: {
_3l._Vw(37);
_3l._XB(0);
break;
}
case 17: {
_3l._Vw(38);
_3l._XB(_Sm(1));
break;
}
}
}
function _Z6(_3l, _4l) {
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(20, _sl(_3l._ZB)))));
var _4H = 100;
var _5H = _3l._6H;
var _7H = -1;
if (yyCompareVal(_5H, 1, g_GMLMathEpsilon) == 0) {
_7H = 0;
} else if (yyCompareVal(_5H, 2, g_GMLMathEpsilon) == 0) {
_7H = 1;
} else if (yyCompareVal(_5H, 3, g_GMLMathEpsilon) == 0) {
_7H = 2;
} else if (yyCompareVal(_5H, 4, g_GMLMathEpsilon) == 0) {
_7H = 3;
} else if (yyCompareVal(_5H, 5, g_GMLMathEpsilon) == 0) {
_7H = 4;
} else if (yyCompareVal(_5H, 6, g_GMLMathEpsilon) == 0) {
_7H = 5;
} else if (yyCompareVal(_5H, 7, g_GMLMathEpsilon) == 0) {
_7H = 6;
} else if (yyCompareVal(_5H, 8, g_GMLMathEpsilon) == 0) {
_7H = 7;
} else if (yyCompareVal(_5H, 9, g_GMLMathEpsilon) == 0) {
_7H = 8;
} else if (yyCompareVal(_5H, 10, g_GMLMathEpsilon) == 0) {
_7H = 9;
} else if (yyCompareVal(_5H, 11, g_GMLMathEpsilon) == 0) {
_7H = 10;
}
switch (_7H) {
case 0: {
_3l._jB = 1;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(_sl(_4H), _sl(_3l._ZB)))));
_3l._Us(_0m(_3l, _4l, 48)._bB);
break;
}
case 1: {
if (yyGetBool(_Sm(1)) || yyGetBool(yyfequal(_0m(_3l, _4l, 42)._Bo, 2))) {
{
_3l._jB = 2;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(_sl(_4H), _sl(_3l._ZB)))));
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 35));
if (yyGetBool(_Sm(1))) {
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 35));
}
}
} else {
{
_3l._jB = 2;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(_sl(yyfplus(_sl(_4H), 35)), _sl(_3l._ZB)))));
var _8H = _Sm(2);
var _9H = -1;
if (yyCompareVal(_8H, 0, g_GMLMathEpsilon) == 0) {
_9H = 0;
} else if (yyCompareVal(_8H, 1, g_GMLMathEpsilon) == 0) {
_9H = 1;
} else if (yyCompareVal(_8H, 2, g_GMLMathEpsilon) == 0) {
_9H = 2;
}
switch (_9H) {
case 0: {
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 17));
break;
}
case 1: {
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 17));
break;
}
case 2: {
_3l._Us(300);
break;
}
}
}
}
break;
}
case 2: {
_3l._jB = 5;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(10, _sl(_3l._ZB)))));
_3l._Us(_0m(_3l, _4l, 48)._bB);
break;
}
case 3: {
_3l._jB = 5;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 15));
break;
}
case 4: {
_3l._jB = 5;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 15));
break;
}
case 5: {
_3l._jB = 5;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 30));
break;
}
case 6: {
_3l._jB = 5;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 30));
break;
}
case 7: {
_3l._jB = 3;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(12, _sl(_3l._ZB)))));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 60));
var _aH = 0 ? 1 : 0;
{
var _bH = _8l(50);
for (var _cH in _bH) {
if (!_bH.hasOwnProperty(_cH)) continue;
var _dH = _bH[_cH];
if (_dH._bl) continue;
if (!_dH._cl) continue;
if (yyGetBool(yyfequal(_dH._jB, 2)) && yyGetBool(yyfgreaterequal(_dH.y, 300))) {
_aH = 1 ? 1 : 0;
}
}
}
if (yyGetBool(_aH) && yyGetBool(1)) {
{
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 45));
_3l._eH = 1 ? 1 : 0;
}
}
break;
}
case 8: {
_3l._jB = 4;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(yyftime(20, _sl(_Vm(1, 2))), _sl(_3l._ZB)))));
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), _sl(_YB(100, 120))));
if (yyGetBool(yyGetBool(yyfgreater(_3l.y, 300)) && yyGetBool(yyfless(_0m(_3l, _4l, 48)._bB, 300))) || yyGetBool(yyGetBool(yyfless(_3l.y, 300)) && yyGetBool(yyfgreater(_0m(_3l, _4l, 48)._bB, 300)))) {
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), _sl(_YB(120, 160))));
}
break;
}
case 9: {
_3l._jB = 3;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(12, _sl(_3l._ZB)))));
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 60));
var _aH = 0 ? 1 : 0;
{
var _fH = _8l(50);
for (var _gH in _fH) {
if (!_fH.hasOwnProperty(_gH)) continue;
var _hH = _fH[_gH];
if (_hH._bl) continue;
if (!_hH._cl) continue;
if (yyGetBool(yyfequal(_hH._jB, 2)) && yyGetBool(yyflessequal(_hH.y, 300))) {
_aH = 1 ? 1 : 0;
}
}
}
if (yyGetBool(_aH)) {
{
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 45));
_3l._eH = 1 ? 1 : 0;
}
}
break;
}
case 10: {
_3l._jB = 4;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(yyftime(20, _sl(_Vm(1, 2))), _sl(_3l._ZB)))));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), _sl(_YB(100, 120))));
if (yyGetBool(yyGetBool(yyfgreater(_3l.y, 300)) && yyGetBool(yyfless(_0m(_3l, _4l, 48)._bB, 300))) || yyGetBool(yyGetBool(yyfless(_3l.y, 300)) && yyGetBool(yyfgreater(_0m(_3l, _4l, 48)._bB, 300)))) {
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), _sl(_YB(120, 160))));
}
break;
}
}
var _iH = _3l._jB;
var _jH = -1;
if (yyCompareVal(_iH, 1, g_GMLMathEpsilon) == 0) {
_jH = 0;
} else if (yyCompareVal(_iH, 4, g_GMLMathEpsilon) == 0) {
_jH = 1;
} else if (yyCompareVal(_iH, 3, g_GMLMathEpsilon) == 0) {
_jH = 2;
} else if (yyCompareVal(_iH, 2, g_GMLMathEpsilon) == 0) {
_jH = 3;
}
switch (_jH) {
case 0: {
if (yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
{
if (yyfgreater(_0m(_3l, _4l, 48)._1G, 0)) {
{
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(40, _sl(_3l._ZB)))));
_3l._sB = _kH(18);
}
}
}
} else {
if (yyGetBool(_Sm(1))) {
{
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(40, _sl(_3l._ZB)))));
_3l._sB = _kH(18);
}
}
}
break;
}
case 1: {
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 3)) {
{
if (yyfequal(_0m(_3l, _4l, 48)._1G, 0)) {
_3l._sB = _kH(8);
} else {
_3l._sB = _kH(9);
}
}
} else {
if (yyGetBool(yyGetBool(_V6(_3l, _4l, 15)) && yyGetBool(yyfless(_0m(_3l, _4l, 48)._XD, 40))) || yyGetBool(yyfgreater(_0m(_3l, _4l, 48)._ZD, 10))) {
{
_3l._sB = _kH(_7F(1, 9, 11));
}
} else {
if (yyGetBool(yyfless(_3l.y, 200)) || yyGetBool(yyfgreater(_3l.y, 400))) {
{
_3l._sB = _kH(_7F(1, 2, 4, 7, 8, 9, 11));
}
} else {
{
_3l._sB = _kH(_7F(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11));
}
}
}
}
break;
}
case 2: {
if (yyGetBool(_3l._eH)) {
{
_3l._sB = _kH(17);
}
} else {
if (yyGetBool(_V6(_3l, _4l, 15)) && yyGetBool(yyfless(_0m(_3l, _4l, 48)._XD, 40))) {
{
_3l._sB = _kH(_7F(1, 9, 11));
}
} else {
if (yyGetBool(_Sm(1))) {
_3l._sB = _kH(_7F(12, 13, 15));
} else {
_3l._sB = _kH(_7F(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11));
}
}
}
break;
}
case 3: {
var _lH = 1 ? 1 : 0;
var _mH = 0;
{
var _nH = _8l(50);
for (var _oH in _nH) {
if (!_nH.hasOwnProperty(_oH)) continue;
var _pH = _nH[_oH];
if (_pH._bl) continue;
if (!_pH._cl) continue;
{
if (yyGetBool(yyfequal(_pH._jB, 1)) && yyGetBool(_rB(_pH._sB))) {
{
_mH = _pH.y;
_lH = 0 ? 1 : 0;
}
}
}
}
}
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 2)) {
_3l._sB = _kH(13);
} else {
if (yyGetBool(_lH)) {
_3l._sB = _kH(_7F(12, 13, 14, 15, 16));
} else {
_3l._sB = _kH(_7F(12, 13, 14));
}
}
break;
}
}
if (yyfequal(_3l._sB, 1)) {
{
{
var _qH = _8l(50);
for (var _rH in _qH) {
if (!_qH.hasOwnProperty(_rH)) continue;
var _sH = _qH[_rH];
if (_sH._bl) continue;
if (!_sH._cl) continue;
{
if (yyGetBool(1) && yyGetBool(yyfequal(_sH._sB, 1))) {
_sH._sB = 2;
}
}
}
}
}
} else {
if (yyfequal(_3l._sB, 2)) {
{
{
var _tH = _8l(50);
for (var _uH in _tH) {
if (!_tH.hasOwnProperty(_uH)) continue;
var _vH = _tH[_uH];
if (_vH._bl) continue;
if (!_vH._cl) continue;
{
if (yyGetBool(1) && yyGetBool(yyfequal(_vH._sB, 2))) {
_vH._sB = 1;
}
}
}
}
}
}
}
if (yyfequal(_3l._ZB, -1)) {
{
_wH(_3l._sB);
_xH(_3l._sB, _sl(-_sl(_yH(_3l._sB, 0))), 0);
}
}
_3l._zH = _3l.x;
_3l._AH = _3l.y;
}
function __6(_3l, _4l) {
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(20, _sl(_3l._ZB)))));
var _BH = _3l._6H;
var _CH = -1;
if (yyCompareVal(_BH, 1, g_GMLMathEpsilon) == 0) {
_CH = 0;
} else if (yyCompareVal(_BH, 2, g_GMLMathEpsilon) == 0) {
_CH = 1;
} else if (yyCompareVal(_BH, 3, g_GMLMathEpsilon) == 0) {
_CH = 2;
} else if (yyCompareVal(_BH, 4, g_GMLMathEpsilon) == 0) {
_CH = 3;
} else if (yyCompareVal(_BH, 5, g_GMLMathEpsilon) == 0) {
_CH = 4;
} else if (yyCompareVal(_BH, 6, g_GMLMathEpsilon) == 0) {
_CH = 5;
} else if (yyCompareVal(_BH, 7, g_GMLMathEpsilon) == 0) {
_CH = 6;
} else if (yyCompareVal(_BH, 8, g_GMLMathEpsilon) == 0) {
_CH = 7;
} else if (yyCompareVal(_BH, 9, g_GMLMathEpsilon) == 0) {
_CH = 8;
} else if (yyCompareVal(_BH, 10, g_GMLMathEpsilon) == 0) {
_CH = 9;
} else if (yyCompareVal(_BH, 11, g_GMLMathEpsilon) == 0) {
_CH = 10;
}
switch (_CH) {
case 0: {
_3l._jB = 6;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 17));
break;
}
case 1: {
_3l._jB = 6;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 17));
break;
}
case 2: {
_3l._jB = 6;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 34));
break;
}
case 3: {
_3l._jB = 6;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 34));
break;
}
case 4: {
_3l._jB = 7;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(60, _sl(_3l._ZB)))));
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 40));
if (yyfequal(_0m(_3l, _4l, 48)._8E, 3)) {
_3l._jB = 9;
}
if (yyfequal(_0m(_3l, _4l, 48)._8E, 0)) {
{
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(40, _sl(_3l._ZB)))));
}
}
break;
}
case 5: {
_3l._jB = 7;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(60, _sl(_3l._ZB)))));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 40));
if (yyfequal(_0m(_3l, _4l, 48)._8E, 3)) {
_3l._jB = 9;
}
if (yyfequal(_0m(_3l, _4l, 48)._8E, 0)) {
{
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(40, _sl(_3l._ZB)))));
}
}
break;
}
case 6: {
_3l._jB = 9;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(140, _sl(_3l._ZB)))));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 60));
if (yyGetBool(yyfequal(_0m(_3l, _4l, 48)._8E, 1)) || yyGetBool(yyfequal(_0m(_3l, _4l, 48)._8E, 3))) {
{
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(180, _sl(_3l._ZB)))));
_3l._Us(_0m(_3l, _4l, 48)._bB);
}
}
if (yyfequal(_0m(_3l, _4l, 48)._8E, 0)) {
{
_3l._jB = 7;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(20, _sl(_3l._ZB)))));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 80));
}
}
break;
}
case 7: {
_3l._jB = 8;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(60, _sl(_3l._ZB)))));
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 100));
if (yyfgreater(_0m(_3l, _4l, 48)._bB, 300)) {
{
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 140));
}
}
if (yyfequal(_0m(_3l, _4l, 48)._8E, 3)) {
{
_3l._jB = 9;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(120, _sl(_3l._ZB)))));
}
}
break;
}
case 8: {
_3l._jB = 8;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(60, _sl(_3l._ZB)))));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 100));
if (yyfless(_0m(_3l, _4l, 48)._bB, 300)) {
{
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 140));
}
}
if (yyfequal(_0m(_3l, _4l, 48)._8E, 3)) {
{
_3l._jB = 9;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(120, _sl(_3l._ZB)))));
}
}
break;
}
case 9: {
_3l._jB = 7;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(80, _sl(_3l._ZB)))));
_3l._Us(_0m(_3l, _4l, 48)._bB);
if (yyfequal(_0m(_3l, _4l, 48)._8E, 0)) {
{
_3l._jB = 9;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(80, _sl(_3l._ZB)))));
}
}
break;
}
case 10: {
_3l._jB = 9;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(160, _sl(_3l._ZB)))));
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 20));
if (yyfequal(_0m(_3l, _4l, 48)._8E, 1)) {
{
_3l._jB = 7;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(120, _sl(_3l._ZB)))));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), _sl(yyftime(_sl(_YB(-1, 1)), 20))));
}
}
if (yyfequal(_0m(_3l, _4l, 48)._8E, 3)) {
{
_3l._jB = 7;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(140, _sl(_3l._ZB)))));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), _sl(yyftime(_sl(_YB(-1, 1)), 20))));
}
}
if (yyfequal(_0m(_3l, _4l, 48)._8E, 0)) {
{
_3l._jB = 7;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(20, _sl(_3l._ZB)))));
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 80));
}
}
break;
}
}
if (yyfnotequal(_3l._jB, 6)) {
_3l._Us(_3l.y + _3l._DH);
}
if (yyfless(_3l.x, 280)) {
{
var _EH = yyfminus(280, _sl(_3l.x));
_3l._kr(yyfminus(300, _sl(yyfdivide(_sl(_EH), 2))));
}
} else {
if (yyfgreater(_3l.x, 2320)) {
{
var _EH = yyfminus(_sl(_3l.x), 2320);
_3l._kr(yyfplus(2300, _sl(yyfdivide(_sl(_EH), 2))));
}
}
}
}
function _07(_3l, _4l, _5l, _Bq) {
if (yyGetBool(_0m(_3l, _4l, _5l)._aD)) {
return _0m(_3l, _4l, _5l)._aD;
}
var _yn = _Bq;
var _FH, _GH;
_FH = -4;
_GH = -1;
{
var _HH = _8l(49);
for (var _IH in _HH) {
if (!_HH.hasOwnProperty(_IH)) continue;
var _JH = _HH[_IH];
if (_JH._bl) continue;
if (!_JH._cl) continue;
{
if (yyfequal(_JH._LB, _0m(_3l, _4l, _5l)._LB)) {
continue;
}
if (yyGetBool(yyfless(_yn, 0)) && yyGetBool(yyfequal(_JH._jB, abs(_yn)))) {
continue;
}
if (yyGetBool(yyfgreater(_yn, 0)) && yyGetBool(yyfnotequal(_JH._jB, _yn))) {
continue;
}
if (yyGetBool(!yyGetBool(_JH._9D)) && yyGetBool(yyfequal(_JH._aD, -4))) {
{
var _Jt = _5B(_JH.x, _JH.y, _0m(_3l, _4l, _5l).x, _0m(_3l, _4l, _5l).y);
if (yyGetBool(yyfequal(_FH, -4)) || yyGetBool(yyfless(_Jt, _GH))) {
{
_FH = _JH.id;
_GH = _Jt;
}
}
}
}
}
}
}
return _FH;
}
function _17(_3l, _4l) {
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(20, _sl(_3l._ZB)))));
var _KH = _3l._6H;
var _LH = -1;
if (yyCompareVal(_KH, 1, g_GMLMathEpsilon) == 0) {
_LH = 0;
} else if (yyCompareVal(_KH, 2, g_GMLMathEpsilon) == 0) {
_LH = 1;
} else if (yyCompareVal(_KH, 3, g_GMLMathEpsilon) == 0) {
_LH = 2;
} else if (yyCompareVal(_KH, 4, g_GMLMathEpsilon) == 0) {
_LH = 3;
} else if (yyCompareVal(_KH, 5, g_GMLMathEpsilon) == 0) {
_LH = 4;
} else if (yyCompareVal(_KH, 6, g_GMLMathEpsilon) == 0) {
_LH = 5;
} else if (yyCompareVal(_KH, 7, g_GMLMathEpsilon) == 0) {
_LH = 6;
} else if (yyCompareVal(_KH, 8, g_GMLMathEpsilon) == 0) {
_LH = 7;
} else if (yyCompareVal(_KH, 9, g_GMLMathEpsilon) == 0) {
_LH = 8;
} else if (yyCompareVal(_KH, 10, g_GMLMathEpsilon) == 0) {
_LH = 9;
} else if (yyCompareVal(_KH, 11, g_GMLMathEpsilon) == 0) {
_LH = 10;
}
switch (_LH) {
case 0: {
_3l._jB = 6;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 6));
break;
}
case 1: {
_3l._jB = 6;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 6));
break;
}
case 2: {
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(40, _sl(_3l._ZB)))));
_3l._jB = 6;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 12));
break;
}
case 3: {
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(40, _sl(_3l._ZB)))));
_3l._jB = 6;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 12));
break;
}
case 4: {
_3l._jB = 6;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 18));
break;
}
case 5: {
_3l._jB = 6;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 18));
break;
}
case 6: {
_3l._jB = 6;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 30));
break;
}
case 7: {
_3l._jB = 6;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 30));
break;
}
case 8: {
_3l._jB = 6;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 48));
break;
}
case 9: {
_3l._jB = 6;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 48));
break;
}
case 10: {
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(60, _sl(_3l._ZB)))));
_3l._jB = 6;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 22));
break;
}
}
}
function _27(_3l, _4l) {
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(20, _sl(_3l._ZB)))));
var _MH = _3l._6H;
var _NH = -1;
if (yyCompareVal(_MH, 1, g_GMLMathEpsilon) == 0) {
_NH = 0;
} else if (yyCompareVal(_MH, 2, g_GMLMathEpsilon) == 0) {
_NH = 1;
} else if (yyCompareVal(_MH, 3, g_GMLMathEpsilon) == 0) {
_NH = 2;
} else if (yyCompareVal(_MH, 4, g_GMLMathEpsilon) == 0) {
_NH = 3;
} else if (yyCompareVal(_MH, 5, g_GMLMathEpsilon) == 0) {
_NH = 4;
} else if (yyCompareVal(_MH, 6, g_GMLMathEpsilon) == 0) {
_NH = 5;
} else if (yyCompareVal(_MH, 7, g_GMLMathEpsilon) == 0) {
_NH = 6;
} else if (yyCompareVal(_MH, 8, g_GMLMathEpsilon) == 0) {
_NH = 7;
} else if (yyCompareVal(_MH, 9, g_GMLMathEpsilon) == 0) {
_NH = 8;
} else if (yyCompareVal(_MH, 10, g_GMLMathEpsilon) == 0) {
_NH = 9;
} else if (yyCompareVal(_MH, 11, g_GMLMathEpsilon) == 0) {
_NH = 10;
}
switch (_NH) {
case 0: {
_3l._jB = 1;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(120, _sl(_3l._ZB)))));
_3l._Us(_0m(_3l, _4l, 48)._bB);
break;
}
case 1: {
_3l._jB = 11;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(80, _sl(_3l._ZB)))));
_3l._Us(_0m(_3l, _4l, 48)._bB);
break;
}
case 2: {
_3l._jB = 5;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(10, _sl(_3l._ZB)))));
_3l._Us(_0m(_3l, _4l, 48)._bB);
break;
}
case 3: {
_3l._jB = 5;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 8));
break;
}
case 4: {
_3l._jB = 5;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 8));
break;
}
case 5: {
_3l._jB = 5;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 18));
break;
}
case 6: {
_3l._jB = 5;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 18));
break;
}
case 7: {
_3l._jB = 5;
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 28));
break;
}
case 8: {
_3l._jB = 5;
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 28));
break;
}
case 9: {
_3l._jB = 5;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(30, _sl(_3l._ZB)))));
_3l._Us(yyfminus(_sl(_0m(_3l, _4l, 48)._bB), 38));
break;
}
case 10: {
_3l._jB = 5;
_3l._kr(yyfminus(_sl(_0m(_3l, _4l, 48)._aB), _sl(yyftime(30, _sl(_3l._ZB)))));
_3l._Us(yyfplus(_sl(_0m(_3l, _4l, 48)._bB), 38));
break;
}
}
}
function _37(_3l, _4l) {
var _OH = _Sm(2);
if (yyfgreater(_Sm(9), 1)) {
_OH = 0;
}
var _bF = 1;
var _iF = yyfminus(_sl(_0m(_3l, _4l, 48)._iF[_Tn(!yyGetBool(_0m(_3l, _4l, 48)._aq) ? 1 : 0, _0m(_3l, _4l, 48)._iF)]), _sl(_0m(_3l, _4l, 42)._wt));
_iF = _cm(_iF, 1, 15);
var _PH = 0;
{
var _QH = _8l(49);
for (var _RH in _QH) {
if (!_QH.hasOwnProperty(_RH)) continue;
var _SH = _QH[_RH];
if (_SH._bl) continue;
if (!_SH._cl) continue;
if (yyGetBool(_SH._eH)) {
_PH++;
}
}
}
_3l._Bl = -4;
if (yyGetBool(_3l._LB)) {
{
var _TH = _3l._6H;
var _UH = -1;
if (yyCompareVal(_TH, 1, g_GMLMathEpsilon) == 0) {
_UH = 0;
} else if (yyCompareVal(_TH, 2, g_GMLMathEpsilon) == 0 || yyCompareVal(_TH, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_TH, 8, g_GMLMathEpsilon) == 0 || yyCompareVal(_TH, 9, g_GMLMathEpsilon) == 0) {
_UH = 1;
} else if (yyCompareVal(_TH, 4, g_GMLMathEpsilon) == 0 || yyCompareVal(_TH, 10, g_GMLMathEpsilon) == 0 || yyCompareVal(_TH, 11, g_GMLMathEpsilon) == 0) {
_UH = 2;
} else if (yyCompareVal(_TH, 5, g_GMLMathEpsilon) == 0) {
_UH = 3;
} else if (yyCompareVal(_TH, 6, g_GMLMathEpsilon) == 0) {
_UH = 4;
} else if (yyCompareVal(_TH, 7, g_GMLMathEpsilon) == 0) {
_UH = 5;
}
switch (_UH) {
case 0: {
if (yyGetBool(_0m(_3l, _4l, 48)._3C)) {
{
_3l._Bl = _c8(_3l, _4l, 10, 1);
break;
}
}
}
case 1: {
_3l._Bl = _c8(_3l, _4l, _3l._jB, 1);
break;
}
case 2: {
_3l._Bl = _c8(_3l, _4l, _3l._jB, 2);
break;
}
case 3: {
_3l._Bl = _c8(_3l, _4l, _3l._jB, 3);
break;
}
case 4: {
_3l._Bl = _c8(_3l, _4l, _3l._jB, 4);
break;
}
case 5: {
_3l._Bl = _c8(_3l, _4l, _3l._jB, 5);
break;
}
}
}
}
if (yyGetBool(_3l._Bl)) {
{
if (yyfless(_il(_3l._Bl, "condition"), 0)) {
_3l._Bl = -4;
} else {
if (yyGetBool(_il(_3l._Bl, "resting"))) {
_3l._Bl = -4;
}
}
}
}
if (yyGetBool(_3l._Bl)) {
_3l._Vn = 1 ? 1 : 0;
}
var _VH = _3l._jB;
var _WH = -1;
if (yyCompareVal(_VH, 1, g_GMLMathEpsilon) == 0) {
_WH = 0;
} else if (yyCompareVal(_VH, 11, g_GMLMathEpsilon) == 0) {
_WH = 1;
} else if (yyCompareVal(_VH, 10, g_GMLMathEpsilon) == 0) {
_WH = 2;
} else if (yyCompareVal(_VH, 5, g_GMLMathEpsilon) == 0) {
_WH = 3;
} else if (yyCompareVal(_VH, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_VH, 2, g_GMLMathEpsilon) == 0) {
_WH = 4;
} else if (yyCompareVal(_VH, 4, g_GMLMathEpsilon) == 0) {
_WH = 5;
} else if (yyCompareVal(_VH, 6, g_GMLMathEpsilon) == 0) {
_WH = 6;
} else if (yyCompareVal(_VH, 7, g_GMLMathEpsilon) == 0) {
_WH = 7;
} else if (yyCompareVal(_VH, 9, g_GMLMathEpsilon) == 0) {
_WH = 8;
} else if (yyCompareVal(_VH, 8, g_GMLMathEpsilon) == 0) {
_WH = 9;
}
switch (_WH) {
case 0: {
_3l._XH = 5;
if (yyfnotequal(_3l._Bl, -4)) {
{
_3l._YH = yyfplus(1, _sl(yyftime(0.1, _sl(_il(_3l._Bl, "strength")))));
_3l._ZH = yyfplus(0.055, _sl(yyftime(0.002, _sl(_il(_3l._Bl, "speed")))));
_3l._pD = _il(_3l._Bl, "skill");
_0m(_3l, _4l, 48).__H = yyfplus(1, _sl(_il(_3l._Bl, "strength")));
}
} else {
{
_3l._YH = yyfplus(1, _sl(yyftime(0.1, _sl(_bF))));
_3l._ZH = yyfplus(0.055, _sl(yyftime(0.002, _sl(_bF))));
_3l._pD = 1;
}
}
_Y6(_3l, _4l, 0);
break;
}
case 1: {
_Y6(_3l, _4l, 13);
}
case 2: {
_3l._XH = 5;
if (yyfnotequal(_3l._Bl, -4)) {
{
_3l._YH = yyfplus(1, _sl(yyftime(0.1, _sl(_il(_3l._Bl, "strength")))));
_3l._ZH = yyfplus(0.055, _sl(yyftime(0.002, _sl(_il(_3l._Bl, "speed")))));
_3l._pD = _il(_3l._Bl, "skill");
}
} else {
{
_3l._YH = yyfplus(1, _sl(yyftime(0.1, _sl(_bF))));
_3l._ZH = yyfplus(0.055, _sl(yyftime(0.002, _sl(_bF))));
_3l._pD = 1;
}
}
break;
}
case 3: {
_3l._XH = 10;
var _or = yyfplus(4.5, _sl(yyftime(_sl(_PH), 0.5)));
var _0I = yyfplus(30, _sl(yyftime(5, _sl(_PH))));
if (yyfnotequal(_3l._Bl, -4)) {
{
_3l._YH = yyfplus(_sl(_or), _sl(yyftime(0.1, _sl(_il(_3l._Bl, "strength")))));
_3l._ZH = yyfplus(0.045, _sl(yyftime(0.002, _sl(_il(_3l._Bl, "speed")))));
_3l._1I = yyftime(_sl(yyfplus(_sl(_0I), _sl(_il(_3l._Bl, "skill")))), _sl(_Vm(3, 5)));
}
} else {
{
_3l._YH = yyfplus(_sl(_or), _sl(yyftime(0.1, _sl(_0m(_3l, _4l, 48)._bF[_Tn(_0m(_3l, _4l, 48)._aq, _0m(_3l, _4l, 48)._bF)]))));
_3l._ZH = yyfplus(0.045, _sl(yyftime(0.002, _sl(_0m(_3l, _4l, 48)._bF[_Tn(_0m(_3l, _4l, 48)._aq, _0m(_3l, _4l, 48)._bF)]))));
_3l._1I = yyftime(_sl(_0I), _sl(_Vm(3, 5)));
}
}
_Y6(_3l, _4l, 1);
break;
}
case 4: {
_3l._XH = 5;
if (yyfnotequal(_3l._Bl, -4)) {
{
_3l._YH = yyfplus(2, _sl(yyftime(0.1, _sl(_il(_3l._Bl, "strength")))));
_3l._ZH = yyfplus(0.095, _sl(yyftime(0.001, _sl(_il(_3l._Bl, "speed")))));
_3l._pD = _il(_3l._Bl, "skill");
_3l._3H = _Sm(1);
if (yyfless(_Sm(11), _il(_3l._Bl, "strength"))) {
_3l._3H++;
}
if (yyGetBool(yyfequal(_3l._3H, 0)) && yyGetBool(yyfgreaterequal(_il(_3l._Bl, "strength"), 10))) {
_3l._3H++;
}
_3l._2H = _Sm(1);
if (yyfless(_Sm(11), _il(_3l._Bl, "speed"))) {
_3l._2H++;
}
if (yyGetBool(yyfequal(_3l._2H, 0)) && yyGetBool(yyfgreaterequal(_il(_3l._Bl, "speed"), 10))) {
_3l._2H++;
}
if (yyfless(yyfminus(_sl(_il(_3l._Bl, "age")), 21), _Sm(10))) {
{
var _2I = _Sm(1);
var _3I = -1;
if (yyCompareVal(_2I, 0, g_GMLMathEpsilon) == 0) {
_3I = 0;
} else if (yyCompareVal(_2I, 1, g_GMLMathEpsilon) == 0) {
_3I = 1;
}
switch (_3I) {
case 0: {
_3l._3H--;
break;
}
case 1: {
_3l._2H--;
break;
}
}
}
}
}
} else {
{
_3l._YH = yyfplus(2, _sl(yyftime(0.1, _sl(_bF))));
_3l._ZH = yyfplus(0.085, _sl(yyftime(0.001, _sl(_bF))));
_3l._pD = 1;
_3l._3H = _Sm(1);
_3l._2H = _Sm(1);
}
}
if (yyfless(_0m(_3l, _4l, 42)._wt, 2)) {
{
_3l._3H = yyfminus(_3l._3H, 1);
_3l._2H = yyfminus(_3l._2H, 1);
}
} else {
if (yyfless(_0m(_3l, _4l, 42)._wt, 5)) {
{
_3l._3H = yyfminus(_3l._3H, _Sm(1));
_3l._2H = yyfminus(_3l._2H, _Sm(1));
}
}
}
if (yyfless(_3l._3H, 0)) {
_3l._3H = 0;
}
if (yyfless(_3l._2H, 0)) {
_3l._2H = 0;
}
if (yyfequal(_0m(_3l, _4l, 42)._sm, 1)) {
{
_3l._3H++;
_3l._2H++;
}
}
if (yyGetBool(_Sm(9))) {
_OH = 0;
}
break;
}
case 5: {
_3l._XH = 2.5;
if (yyfnotequal(_3l._Bl, -4)) {
{
_3l._YH = yyfplus(1, _sl(yyftime(0.2, _sl(_il(_3l._Bl, "strength")))));
_3l._ZH = yyfplus(0.125, _sl(yyftime(0.002, _sl(_il(_3l._Bl, "speed")))));
_3l._pD = _il(_3l._Bl, "skill");
_3l._3H = _Sm(1);
if (yyfless(_Sm(11), _il(_3l._Bl, "strength"))) {
_3l._3H++;
}
if (yyGetBool(yyfequal(_3l._3H, 0)) && yyGetBool(yyfgreaterequal(_il(_3l._Bl, "strength"), 10))) {
_3l._3H++;
}
_3l._2H = _Sm(1);
if (yyfless(_Sm(11), _il(_3l._Bl, "speed"))) {
_3l._2H++;
}
if (yyGetBool(yyfequal(_3l._2H, 0)) && yyGetBool(yyfgreaterequal(_il(_3l._Bl, "speed"), 10))) {
_3l._2H++;
}
if (yyfless(yyfminus(_sl(_il(_3l._Bl, "age")), 21), _Sm(10))) {
{
var _4I = _Sm(1);
var _5I = -1;
if (yyCompareVal(_4I, 0, g_GMLMathEpsilon) == 0) {
_5I = 0;
} else if (yyCompareVal(_4I, 1, g_GMLMathEpsilon) == 0) {
_5I = 1;
}
switch (_5I) {
case 0: {
_3l._3H--;
break;
}
case 1: {
_3l._2H--;
break;
}
}
}
}
}
} else {
{
_3l._YH = yyfplus(1, _sl(yyftime(0.2, _sl(_bF))));
_3l._ZH = yyfplus(0.115, _sl(yyftime(0.002, _sl(_bF))));
_3l._pD = 1;
_3l._3H = _Sm(1);
_3l._2H = _Sm(1);
}
}
if (yyfless(_0m(_3l, _4l, 42)._wt, 2)) {
{
_3l._3H = yyfminus(_3l._3H, 1);
_3l._2H = yyfminus(_3l._2H, 1);
}
} else {
if (yyfless(_0m(_3l, _4l, 42)._wt, 5)) {
{
_3l._3H = yyfminus(_3l._3H, _Sm(1));
_3l._2H = yyfminus(_3l._2H, _Sm(1));
}
}
}
if (yyfless(_3l._3H, 0)) {
_3l._3H = 0;
}
if (yyfless(_3l._2H, 0)) {
_3l._2H = 0;
}
if (yyfequal(_0m(_3l, _4l, 42)._sm, 1)) {
{
_3l._3H++;
_3l._2H++;
}
}
if (yyGetBool(_Sm(9))) {
_OH = 0;
}
break;
}
case 6: {
if (yyfequal(_0m(_3l, _4l, 48)._8E, 0)) {
_iF = _cm(yyfplus(_sl(_iF), 3), 1, 10);
}
_3l._XH = 10;
_3l._YH = yyfplus(4, _sl(yyftime(0.1, _sl(_iF))));
_3l._ZH = yyfplus(0.045, _sl(yyftime(0.002, _sl(_iF))));
_3l._1I = yyftime(_sl(yyfplus(30, _sl(_iF))), _sl(_Vm(4, 5)));
_Y6(_3l, _4l, 1);
break;
}
case 7: {
_3l._XH = 5;
_3l._YH = yyfplus(2, _sl(yyftime(0.1, _sl(_iF))));
_3l._ZH = yyfplus(0.065, _sl(yyftime(0.002, _sl(_iF))));
_3l._1I = yyfplus(30, _sl(_iF));
break;
}
case 8: {
_3l._XH = 5;
_3l._YH = yyfplus(1, _sl(yyftime(0.2, _sl(_iF))));
_3l._ZH = yyfplus(0.115, _sl(yyftime(0.002, _sl(_iF))));
_3l._1I = yyfplus(30, _sl(_iF));
break;
}
case 9: {
_3l._XH = 5;
_3l._YH = yyfplus(1, _sl(yyftime(0.2, _sl(_iF))));
_3l._ZH = yyfplus(0.12, _sl(yyftime(0.002, _sl(_iF))));
_3l._1I = yyfplus(30, _sl(_iF));
if (yyGetBool(_Sm(9))) {
_OH = 0;
}
break;
}
}
if (yyGetBool(_3l._Bl)) {
{
var _or = _il(_3l._Bl, "strength");
var _6I = yyftime(_sl(yyfminus(10, _sl(_il(_3l._Bl, "stamina")))), 0.05);
var _7I = yyftime(_sl(_il(_3l._Bl, "stat_attempts")), _sl(_6I));
_or = _cm(yyfminus(_sl(_or), _sl(_7I)), 1, 10);
_3l._wB = yyfplus(0.08, _sl(yyftime(0.004, _sl(_or))));
_or = _il(_3l._Bl, "strength");
_6I = yyftime(_sl(yyfminus(11, _sl(_il(_3l._Bl, "stamina")))), 0.2);
_7I = yyftime(_sl(_il(_3l._Bl, "stat_attempts")), _sl(_6I));
_or = _cm(yyfminus(_sl(_or), _sl(_7I)), 1, 10);
_3l.__B = yyfplus(0.065, _sl(yyftime(0.00195, _sl(_or))));
_3l._IA = _il(_3l._Bl, "skill");
_OH = _il(_3l._Bl, "skin");
}
}
_3l._IA = _cm(yyfplus(_sl(_3l._IA), _sl(yyftime(_sl(_0m(_3l, _4l, 42)._wt), 0.5))), 1, 10);
if (yyGetBool(yyfequal(_3l._jB, 1)) || yyGetBool(yyfequal(_3l._jB, 10))) {
_A9(_3l, _4l, yyfplus("My kick skill = ", _sl(_ul(_3l._IA))));
}
if (!yyGetBool(_3l._eH)) {
_3l._8I = _0m(_3l, _4l, 48).__H;
}
_3l._9I = _cm(yyfminus(_sl(_iF), _sl(_Sm(2))), 1, 8);
if (yyGetBool(_3l._LB)) {
{
_3l._9I = _bF;
if (yyGetBool(_3l._Bl)) {
_3l._9I = _il(_3l._Bl, "stamina");
}
}
}
var _aI = _47(_3l, _4l, _OH);
_3l._bI = yyfdivide(_sl(_cI(_aI)), 255);
_3l._dI = yyfdivide(_sl(_eI(_aI)), 255);
_3l._fI = yyfdivide(_sl(_gI(_aI)), 255);
if (yyGetBool(_3l._eH)) {
_3l._jB = 5;
}
if (yyGetBool(_3l._Bl)) {
_3l._hI = yyfplus(yyfplus(yyfplus(yyfplus(yyfplus(_sl(_wr(_il(_3l._Bl, "fname"), 1, 1)), "."), _sl(_il(_3l._Bl, "lname"))), " ["), _sl(_99(_3l, _4l, _il(_3l._Bl, "position")))), "]");
}
}
function _47(_3l, _4l, _5l) {
var _iI = _5l;
var _jI = -1;
if (yyCompareVal(_iI, 2, g_GMLMathEpsilon) == 0) {
_jI = 0;
} else if (yyCompareVal(_iI, 1, g_GMLMathEpsilon) == 0) {
_jI = 1;
} else if (yyCompareVal(_iI, 0, g_GMLMathEpsilon) == 0) {
_jI = 2;
}
switch (_jI) {
case 0: {
return _kI(238, 195, 154);
break;
}
case 1: {
return _kI(186, 136, 87);
break;
}
case 2: {
return _kI(93, 51, 36);
break;
}
}
}
function _57(_3l, _4l) {
_3l._Os = yyfplus(_sl(_3l._zH), _sl(_lI(_3l._sB, _3l._mI)));
_3l._Qs = yyfplus(_sl(_3l._AH), _sl(_nI(_3l._sB, _3l._mI)));
if (yyfgreater(_3l._AH, 300)) {
_3l._Qs = yyfminus(_sl(_3l._AH), _sl(_nI(_3l._sB, _3l._mI)));
}
if (yyfless(_5B(_3l.x, _3l.y, _3l._Os, _3l._Qs), 20)) {
{
_3l._mI = yyfplus(_3l._mI, 1);
}
}
if (yyfgreaterequal(_3l._mI, _oI(_3l._sB))) {
{
_pI(_3l._sB);
}
}
return _PA(_3l.x, _3l.y, _3l._Os, _3l._Qs);
}
function _67(_3l, _4l, _5l) {
var _qI = _5l;
var _rI = yyftime(_sl(_5B(_3l.x, _3l.y, _0m(_3l, _4l, _qI).x, _0m(_3l, _4l, _qI).y)), 0.6);
_3l._Qw = yyfplus(_sl(_0m(_3l, _4l, _qI).x), _sl(_sI(yyftime(_sl(_0m(_3l, _4l, _qI)._E2), _sl(_rI)), _0m(_3l, _4l, _qI)._tI)));
_3l._Rw = yyfplus(_sl(_0m(_3l, _4l, _qI).y), _sl(_uI(yyftime(_sl(_0m(_3l, _4l, _qI)._E2), _sl(_rI)), _0m(_3l, _4l, _qI)._tI)));
if (yyfless(_3l.y, _0m(_3l, _4l, _qI).y)) {
_3l._Rw = yyfminus(_3l._Rw, 2);
} else {
_3l._Rw = yyfplus(_3l._Rw, 2);
}
_3l._uD = _PA(_3l.x, _3l.y, _3l._Qw, _3l._Rw);
_3l._vI = 1;
}
function _77(_3l, _4l, _5l, _Bq) {
var _qI = _5l;
var _wI = yyftime(200, _sl(_Bq));
if (yyfequal(_0m(_3l, _4l, _qI)._ZB, -1)) {
_3l._uD = _PA(_3l.x, _3l.y, yyfminus(_sl(_0m(_3l, _4l, _qI).x), _sl(_wI)), _0m(_3l, _4l, _qI).y);
} else {
_3l._uD = _PA(_3l.x, _3l.y, yyfplus(_sl(_0m(_3l, _4l, _qI).x), _sl(_wI)), _0m(_3l, _4l, _qI).y);
}
}
function _87(_3l, _4l, _5l) {
if (yyGetBool(_0m(_3l, _4l, _5l)._aD)) {
return _0m(_3l, _4l, _5l)._aD;
}
var _FH, _GH;
_FH = -4;
_GH = -1;
{
var _xI = _8l(49);
for (var _yI in _xI) {
if (!_xI.hasOwnProperty(_yI)) continue;
var _zI = _xI[_yI];
if (_zI._bl) continue;
if (!_zI._cl) continue;
{
if (yyGetBool(!yyGetBool(_zI._9D)) && yyGetBool(yyfnotequal(_zI._LB, _0m(_3l, _4l, _5l)._LB)) && yyGetBool(yyfequal(_zI._aD, -4))) {
{
var _Jt = _5B(_zI.x, _zI.y, _0m(_3l, _4l, _5l).x, _0m(_3l, _4l, _5l).y);
if (yyGetBool(yyfequal(_FH, -4)) || yyGetBool(yyfless(_Jt, _GH))) {
{
_FH = _zI.id;
_GH = _Jt;
}
}
}
}
}
}
}
return _FH;
}
function _97(_3l, _4l) {
if (yyGetBool(_3l._lD)) {
{
_3l._uD = _PA(_3l.x, _3l.y, _0m(_3l, _4l, _3l._lD).x, _0m(_3l, _4l, _3l._lD).y);
_3l._vI = _cm(yyfdivide(_sl(_3l._nD), 20), 0.5, 1);
}
}
return;
var _FH, _GH;
_FH = -4;
_GH = -1;
{
var _AI = _8l(49);
for (var _BI in _AI) {
if (!_AI.hasOwnProperty(_BI)) continue;
var _CI = _AI[_BI];
if (_CI._bl) continue;
if (!_CI._cl) continue;
{
if (yyGetBool(!yyGetBool(_CI._9D)) && yyGetBool(yyfnotequal(_CI._LB, _3l._LB)) && yyGetBool(yyfequal(_3l._aD, -4)) && yyGetBool(yyfequal(_CI._aD, -4))) {
{
var _Jt = _5B(_CI.x, _CI.y, _3l.x, _3l.y);
if (yyGetBool(yyfequal(_FH, -4)) || yyGetBool(yyfless(_Jt, _GH))) {
{
_FH = _CI.id;
_GH = _Jt;
}
}
}
}
}
}
}
if (yyfnotequal(_FH, -4)) {
{
_3l._uD = _PA(_3l.x, _3l.y, _0m(_3l, _4l, _FH).x, _0m(_3l, _4l, _FH).y);
_3l._vI = _cm(yyfdivide(_sl(_GH), 20), 0.5, 1);
return;
}
}
_3l._vI = 0;
}
function _a7(_3l, _4l) {
var _DI = 1000;
{
var _EI = _8l(49);
for (var _FI in _EI) {
if (!_EI.hasOwnProperty(_FI)) continue;
var _GI = _EI[_FI];
if (_GI._bl) continue;
if (!_GI._cl) continue;
{
if (yyGetBool(yyfnotequal(_GI._LB, _3l._LB)) && yyGetBool(!yyGetBool(_GI._9D))) {
{
var _Jt = _5B(_GI.x, _GI.y, _3l.x, _3l.y);
if (yyfless(_Jt, _DI)) {
{
_DI = _Jt;
}
}
}
}
}
}
}
return _DI;
}
function _b7(_3l, _4l, _5l) {
var _HI = 0;
{
var _II = _8l(49);
for (var _JI in _II) {
if (!_II.hasOwnProperty(_JI)) continue;
var _KI = _II[_JI];
if (_KI._bl) continue;
if (!_KI._cl) continue;
{
if (yyfequal(_KI._LB, _0m(_3l, _4l, _5l)._LB)) {
{
var _Jt = _5B(_KI.x, _KI.y, _0m(_3l, _4l, _5l).x, _0m(_3l, _4l, _5l).y);
if (yyfgreater(_Jt, _HI)) {
_HI = _Jt;
}
}
}
}
}
}
{
var _LI = _8l(58);
for (var _MI in _LI) {
if (!_LI.hasOwnProperty(_MI)) continue;
var _NI = _LI[_MI];
if (_NI._bl) continue;
if (!_NI._cl) continue;
{
var _Jt = _5B(_NI.x, _NI.y, _0m(_3l, _4l, _5l).x, _0m(_3l, _4l, _5l).y);
if (yyfgreater(_Jt, _HI)) {
_HI = _Jt;
}
}
}
}
return _HI;
}
function _c7(_3l, _4l) {
var _bD = global._SA;
var _OI = _0m(_3l, _4l, _bD)._WA;
var _PI = -1;
if (yyCompareVal(_OI, 0, g_GMLMathEpsilon) == 0) {
_PI = 0;
} else if (yyCompareVal(_OI, 18, g_GMLMathEpsilon) == 0) {
_PI = 1;
} else if (yyCompareVal(_OI, 19, g_GMLMathEpsilon) == 0 || yyCompareVal(_OI, 2, g_GMLMathEpsilon) == 0 || yyCompareVal(_OI, 3, g_GMLMathEpsilon) == 0) {
_PI = 2;
} else if (yyCompareVal(_OI, 5, g_GMLMathEpsilon) == 0 || yyCompareVal(_OI, 9, g_GMLMathEpsilon) == 0) {
_PI = 3;
} else if (yyCompareVal(_OI, 13, g_GMLMathEpsilon) == 0) {
_PI = 4;
}
switch (_PI) {
case 0: {
_3l._vI = 0;
break;
}
case 1: {
if (yyGetBool(_3l._LB)) {
{
_n7(_3l, _4l);
}
} else {
{
if (yyfequal(_3l._jB, 7)) {
_p7(_3l, _4l);
} else {
_o7(_3l, _4l);
}
}
}
break;
}
case 2: {
if (yyGetBool(_3l._LB)) {
_n7(_3l, _4l);
} else {
_o7(_3l, _4l);
}
break;
}
case 3: {
_p7(_3l, _4l);
break;
}
case 4: {
_3l._uD = _PA(_3l.x, _3l.y, _0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _bD).y);
_3l._vI = _cm(yyfdivide(_sl(_3l._tB), 40), 0.25, 0.75);
break;
}
default: {
break;
}
}
}
function _d7(_3l, _4l) {
if (!yyGetBool(_0m(_3l, _4l, global._SA)._HA)) {
return;
}
if (yyfnotequal(_0m(_3l, _4l, global._SA)._HA, _3l.id)) {
return;
}
if (yyGetBool(_i7(_3l, _4l))) {
{
if (yyGetBool(_QI(87))) {
global._QD = -2;
}
if (yyGetBool(_QI(83))) {
global._QD = 2;
}
if (yyGetBool(_QI(65))) {
global._PD = -2;
}
if (yyGetBool(_QI(68))) {
global._PD = 2;
}
if (yyGetBool(_QI(38))) {
global._QD = -2;
}
if (yyGetBool(_QI(40))) {
global._QD = 2;
}
if (yyGetBool(_QI(37))) {
global._PD = -2;
}
if (yyGetBool(_QI(39))) {
global._PD = 2;
}
if (yyfgreater(abs(global._QD), yyftime(_sl(abs(global._PD)), 0.9))) {
{
_3l._0H(0);
_3l._1H(_3l._Zf + yyftime(_sl(sign(global._QD)), _sl(_3l._RI)));
global._PD = 0;
global._QD = 0;
_3l._vI = 0;
if (yyGetBool(_rB(_3l._sB))) {
_pI(_3l._sB);
}
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
{
_3l._RI = yyftime(_3l._RI, 0.98);
}
}
}
}
if (yyGetBool(abs(global._PD))) {
{
if (yyGetBool(yyGetBool(yyfgreater(global._PD, 0)) && yyGetBool(yyfequal(_3l._ZB, -1))) || yyGetBool(yyGetBool(yyfless(global._PD, 0)) && yyGetBool(yyfequal(_3l._ZB, 1)))) {
_Y6(_3l, _4l, 7);
} else {
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
_Y6(_3l, _4l, 5);
}
}
global._PD = 0;
global._QD = 0;
_3l._vI = 0;
if (yyGetBool(_rB(_3l._sB))) {
_pI(_3l._sB);
}
}
}
}
} else {
{
global._PD = 0;
global._QD = 0;
}
}
}
function _e7(_3l, _4l) {
if (yyGetBool(_3l._9D)) {
return;
}
if (yyfequal(_3l._lC, 4)) {
return;
}
if (yyfequal(_3l._lC, 8)) {
return;
}
if (yyfequal(_3l._lC, 10)) {
return;
}
var _bD = global._SA;
var _1B = 48;
if (yyGetBool(!yyGetBool(_3l._aD)) && yyGetBool(yyfnotequal(_0m(_3l, _4l, _bD)._HA, _3l.id))) {
{
{
var _SI = _8l(_3l._lD);
for (var _TI in _SI) {
if (!_SI.hasOwnProperty(_TI)) continue;
var _UI = _SI[_TI];
if (_UI._bl) continue;
if (!_UI._cl) continue;
{
if (yyfequal(_UI._LB, _3l._LB)) {
continue;
}
var _VI = _5B(_UI.x, _UI.y, _3l.x, _3l.y);
if (yyfgreater(_VI, 40)) {
continue;
}
if (
yyGetBool(yyfnotequal(_UI._lC, 4)) &&
yyGetBool(yyfnotequal(_UI._lC, 5)) &&
yyGetBool(yyfnotequal(_UI._lC, 8)) &&
yyGetBool(yyfnotequal(_UI._lC, 10)) &&
yyGetBool(yyGetBool(!yyGetBool(_UI._aD)) || yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _UI.id)))
) {
{
if (
yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _UI.id)) &&
yyGetBool(yyfequal(_3l._lC, 5)) &&
yyGetBool(yyfgreater(_3l._E2, 0.1)) &&
yyGetBool(_WI(_UI, _UI.x, _UI.y, _3l.id)) &&
yyGetBool(yyfless(abs(yyfminus(_sl(_UI.y), _sl(_3l.y))), 10))
) {
{
if (yyGetBool(_0m(_3l, _4l, _1B)._3C)) {
{
_0m(_3l, _4l, _bD)._WA = 15;
_0m(_3l, _4l, _bD)._vB = 0;
_0m(_3l, _4l, _bD)._xB = 0;
return;
}
} else {
if (yyfgreater(_UI._2H, 0)) {
{
_Y6(_UI, _3l, 8);
_3l._9D = _rn._up();
return;
}
} else {
{
_P7(_UI, _3l);
_Y6(_UI, _3l, 4);
_3l._XI(_3l._E2 * 0.75);
_UI._0H(_3l._Yf);
_UI._1H(_3l._Zf);
return;
}
}
}
}
} else {
{
if (yyfless(_VI, _UI._XH)) {
{
if (!yyGetBool(_l7(_UI, _3l, _3l.id))) {
{
_3l._0H(_3l._Yf + yyftime(_sl(_UI._Yf), _sl(yyfdivide(_sl(_UI._YH), 5))));
_3l._1H(_3l._Zf + yyftime(_sl(_UI._Zf), _sl(yyfdivide(_sl(_UI._YH), 5))));
}
} else {
{
_UI._XI(_UI._E2 * 0.5);
_3l._XI(_3l._E2 * 0.5);
}
}
_UI._kr(_UI._YI);
_UI._Us(_UI._ZI);
_3l._kr(_3l._YI);
_3l._Us(_3l._ZI);
_UI._aD = _3l.id;
_Y6(_UI, _3l, 3);
_3l._aD = _UI.id;
_Y6(_3l, _UI, 3);
_P7(_UI, _3l);
}
}
}
}
}
}
}
}
}
}
}
if (yyfequal(_3l._lC, 5)) {
return;
}
if (yyGetBool(_3l._aD)) {
{
_3l.__I = _3l._aD;
var _0J = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _3l._aD).x, _0m(_3l, _4l, _3l._aD).y);
if (yyGetBool(_0m(_3l, _4l, _3l._aD)._9D)) {
{
_0m(_3l, _4l, _3l._aD)._aD = -4;
_Y6(_3l, _4l, 0);
}
} else {
if (yyfgreater(_0J, 12)) {
{
{
var _1J = _8l(_3l._aD);
for (var _2J in _1J) {
if (!_1J.hasOwnProperty(_2J)) continue;
var _3J = _1J[_2J];
if (_3J._bl) continue;
if (!_3J._cl) continue;
_Y6(_3J, _3l, 2);
}
}
_Y6(_3l, _4l, 2);
}
} else {
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) && yyGetBool(yyfgreater(_3l._3H, 0))) {
{
_u7(_3l, _4l, _Q8(_3l, _4l, "match_StiffArm"));
if (yyfless(_3l.y, _0m(_3l, _4l, _3l._aD).y)) {
_0m(_3l, _4l, _3l._aD)._1H(1);
} else {
_0m(_3l, _4l, _3l._aD)._1H(-1);
}
{
var _4J = _8l(_3l._aD);
for (var _5J in _4J) {
if (!_4J.hasOwnProperty(_5J)) continue;
var _6J = _4J[_5J];
if (_6J._bl) continue;
if (!_6J._cl) continue;
_Y6(_6J, _3l, 4);
}
}
_Y6(_3l, _4l, 9);
}
} else {
{
if (yyfnotequal(_3l.id, _0m(_3l, _4l, _bD)._HA)) {
_0m(_3l, _4l, _3l._aD).__G = yyfplus(_0m(_3l, _4l, _3l._aD).__G, _3l._YH);
}
if (yyGetBool(yyfnotequal(_3l._jB, 6)) && yyGetBool(yyfnotequal(_3l._jB, 5))) {
{
if (yyfless(_3l.y, _0m(_3l, _4l, _3l._aD).y)) {
_0m(_3l, _4l, _3l._aD)._1H(0.1);
} else {
_0m(_3l, _4l, _3l._aD)._1H(-0.1);
}
}
} else {
{
if (yyfless(_3l.x, _0m(_3l, _4l, _3l._aD).x)) {
_0m(_3l, _4l, _3l._aD)._kr(_0m(_3l, _4l, _3l._aD).x + yyftime(0.02, _sl(_3l._YH)));
} else {
_0m(_3l, _4l, _3l._aD)._kr(_0m(_3l, _4l, _3l._aD).x + yyftime(-0.02, _sl(_3l._YH)));
}
}
}
if (yyGetBool(yyfequal(_0m(_3l, _4l, _3l._aD)._jB, 4)) && yyGetBool(yyfnotequal(_0m(_3l, _4l, _bD)._HA, _3l._aD))) {
return;
}
if (yyGetBool(yyfequal(_0m(_3l, _4l, _3l._aD)._jB, 1)) || yyGetBool(yyfgreater(_0m(_3l, _4l, _3l._aD).__G, yyftime(_sl(_0m(_3l, _4l, _3l._aD)._YH), _sl(_0m(_3l, _4l, _3l._aD)._1I))))) {
{
{
var _7J = _8l(_3l._aD);
for (var _8J in _7J) {
if (!_7J.hasOwnProperty(_8J)) continue;
var _9J = _7J[_8J];
if (_9J._bl) continue;
if (!_9J._cl) continue;
{
var _0u = yyfplus(_sl(_9J._uD), 180);
_9J._0H(yyftime(_sl(_5C(_0u)), 1.5));
_9J._1H(yyftime(_sl(_6C(_0u)), 1.5));
_Y6(_9J, _3l, 4);
}
}
}
if (yyGetBool(_3l._Bl) && yyGetBool(!yyGetBool(_3l._aJ))) {
{
var _bJ = 0 ? 1 : 0;
var _cJ = _il(_3l._Bl, "position");
var _dJ = -1;
if (yyCompareVal(_cJ, 5, g_GMLMathEpsilon) == 0 || yyCompareVal(_cJ, 3, g_GMLMathEpsilon) == 0) {
_dJ = 0;
} else if (yyCompareVal(_cJ, 4, g_GMLMathEpsilon) == 0) {
_dJ = 1;
} else if (yyCompareVal(_cJ, 10, g_GMLMathEpsilon) == 0 || yyCompareVal(_cJ, 1, g_GMLMathEpsilon) == 0) {
_dJ = 2;
}
switch (_dJ) {
case 0: {
var _eJ = _0m(_3l, _4l, _1B)._NA;
var _fJ = -1;
if (yyCompareVal(_eJ, -1, g_GMLMathEpsilon) == 0) {
_fJ = 0;
} else if (yyCompareVal(_eJ, 1, g_GMLMathEpsilon) == 0) {
_fJ = 1;
}
switch (_fJ) {
case 0: {
if (yyfgreater(_0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _1B)._aB)) {
_bJ = 1 ? 1 : 0;
}
break;
}
case 1: {
if (yyfless(_0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _1B)._aB)) {
_bJ = 1 ? 1 : 0;
}
break;
}
}
break;
}
case 1: {
if (yyfequal(_0m(_3l, _4l, _bD)._WA, 5)) {
{
var _gJ = _0m(_3l, _4l, _1B)._NA;
var _hJ = -1;
if (yyCompareVal(_gJ, -1, g_GMLMathEpsilon) == 0) {
_hJ = 0;
} else if (yyCompareVal(_gJ, 1, g_GMLMathEpsilon) == 0) {
_hJ = 1;
}
switch (_hJ) {
case 0: {
if (yyfless(_0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _1B)._aB)) {
_bJ = 1 ? 1 : 0;
}
break;
}
case 1: {
if (yyfgreater(_0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _1B)._aB)) {
_bJ = 1 ? 1 : 0;
}
break;
}
}
}
}
break;
}
case 2: {
break;
}
default: {
_bJ = 1 ? 1 : 0;
break;
}
}
if (yyGetBool(_bJ)) {
{
_FB(_3l._Bl, "stat_tackles", yyfplus(_sl(_il(_3l._Bl, "stat_tackles")), 1));
_3l._aJ = 1 ? 1 : 0;
}
}
}
}
_Y6(_3l, _4l, 2);
}
}
}
}
}
}
}
}
}
function _f7(_3l, _4l) {
var _bD = global._SA;
var _1B = 48;
if (yyfequal(_0m(_3l, _4l, _bD)._HA, -4)) {
{
if (yyGetBool(!yyGetBool(_3l._Bl)) || yyGetBool(yyfless(_il(_3l._Bl, "skill"), 4))) {
return;
}
var _iJ = 12;
if (!yyGetBool(_3l._LB)) {
_iJ = 6;
}
if (yyGetBool(yyfequal(_3l._lC, 2)) && yyGetBool(yyfless(_3l._tB, 60)) && yyGetBool(yyfless(_5B(_3l.x, _3l.y, _0m(_3l, _4l, 53)._jJ, _0m(_3l, _4l, 53)._kJ), _iJ))) {
{
_Y6(_4l, _3l, 10);
}
} else {
if (yyGetBool(yyGetBool(yyfequal(_3l._ZB, 1)) && yyGetBool(yyfgreater(_3l.x, _0m(_3l, _4l, _1B)._aB))) || yyGetBool(yyGetBool(yyfequal(_3l._ZB, -1)) && yyGetBool(yyfless(_3l.x, _0m(_3l, _4l, _1B)._aB)))) {
{
if (
yyGetBool(yyfequal(_3l._lC, 2)) &&
yyGetBool(yyfless(_0m(_3l, _4l, _bD)._xB, 0)) &&
yyGetBool(yyfless(_0m(_3l, _4l, _bD)._8C, 30)) &&
yyGetBool(yyfgreater(_3l._lJ, _3l._tB)) &&
yyGetBool(yyfgreater(_3l._tB, 20)) &&
yyGetBool(yyfless(_3l._lJ, 40))
) {
{
{
_4l._uD = _PA(_4l.x, _4l.y, _0m(_3l, _4l, 53)._hD, _0m(_3l, _4l, 53)._iD);
_Y6(_4l, _3l, 5);
}
}
}
}
}
}
}
} else {
{
if (yyGetBool(yyfnotequal(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._LB, _3l._LB)) && yyGetBool(!yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._9D))) {
{
if (yyGetBool(yyfequal(_3l._lC, 2)) && yyGetBool(yyfgreater(abs(_3l._Yf), 0.05))) {
{
if (
yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._kD) ||
yyGetBool(!yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._LB)) ||
yyGetBool(yyfequal(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._jB, 1)) ||
yyGetBool(_k7(_3l, _4l))
) {
{
var _mD = _vC(_3l, _0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA).x, _0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA).y);
var _mJ = abs(yyfminus(_sl(_3l.y), _sl(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA).y)));
if (yyGetBool(yyfless(_mD, 20)) && yyGetBool(yyfless(_mJ, 5))) {
{
_Y6(_3l, _4l, 5);
}
}
}
}
}
}
}
}
}
}
}
function _g7(_3l, _4l) {
{
var _nJ = _8l(50);
for (var _oJ in _nJ) {
if (!_nJ.hasOwnProperty(_oJ)) continue;
var _pJ = _nJ[_oJ];
if (_pJ._bl) continue;
if (!_pJ._cl) continue;
if (yyfequal(_pJ._jB, 1)) {
return _pJ.id;
}
}
}
return -4;
}
function _h7(_3l, _4l) {
{
var _qJ = _8l(50);
for (var _rJ in _qJ) {
if (!_qJ.hasOwnProperty(_rJ)) continue;
var _sJ = _qJ[_rJ];
if (_sJ._bl) continue;
if (!_sJ._cl) continue;
if (yyfequal(_sJ._jB, 1)) {
return _sJ.id;
}
}
}
return -4;
}
function _i7(_3l, _4l) {
if (yyGetBool(_3l._9D)) {
return 0;
}
if (yyfequal(_3l._jB, 1)) {
return 0;
}
var _tJ = _3l._lC;
var _uJ = -1;
if (yyCompareVal(_tJ, 0, g_GMLMathEpsilon) == 0) {
_uJ = 0;
} else if (yyCompareVal(_tJ, 1, g_GMLMathEpsilon) == 0) {
_uJ = 1;
} else if (yyCompareVal(_tJ, 2, g_GMLMathEpsilon) == 0) {
_uJ = 2;
} else if (yyCompareVal(_tJ, 3, g_GMLMathEpsilon) == 0) {
_uJ = 3;
} else if (yyCompareVal(_tJ, 4, g_GMLMathEpsilon) == 0) {
_uJ = 4;
} else if (yyCompareVal(_tJ, 5, g_GMLMathEpsilon) == 0) {
_uJ = 5;
} else if (yyCompareVal(_tJ, 6, g_GMLMathEpsilon) == 0) {
_uJ = 6;
} else if (yyCompareVal(_tJ, 7, g_GMLMathEpsilon) == 0) {
_uJ = 7;
} else if (yyCompareVal(_tJ, 8, g_GMLMathEpsilon) == 0) {
_uJ = 8;
} else if (yyCompareVal(_tJ, 9, g_GMLMathEpsilon) == 0) {
_uJ = 9;
} else if (
yyCompareVal(_tJ, 10, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_tJ, 11, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_tJ, 12, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_tJ, 13, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_tJ, 14, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_tJ, 15, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_tJ, 16, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_tJ, 17, g_GMLMathEpsilon) == 0
) {
_uJ = 10;
}
switch (_uJ) {
case 0: {
return 1;
break;
}
case 1: {
return 1;
break;
}
case 2: {
return 1;
break;
}
case 3: {
return 0;
break;
}
case 4: {
return 0;
break;
}
case 5: {
return 0;
break;
}
case 6: {
return 0;
break;
}
case 7: {
return 1;
break;
}
case 8: {
return 0;
break;
}
case 9: {
return 1;
break;
}
case 10: {
return 0;
break;
}
}
return 0;
}
function _j7(_3l, _4l) {
if (yyfnotequal(_0m(_3l, _4l, global._SA)._HA, _4l.id)) {
return 0;
}
var _vJ = _3l._ZB;
var _wJ = -1;
if (yyCompareVal(_vJ, -1, g_GMLMathEpsilon) == 0) {
_wJ = 0;
} else if (yyCompareVal(_vJ, 1, g_GMLMathEpsilon) == 0) {
_wJ = 1;
}
switch (_wJ) {
case 0: {
{
var _xJ = _8l(49);
for (var _yJ in _xJ) {
if (!_xJ.hasOwnProperty(_yJ)) continue;
var _zJ = _xJ[_yJ];
if (_zJ._bl) continue;
if (!_zJ._cl) continue;
if (yyGetBool(yyfnotequal(_zJ._LB, _3l._LB)) && yyGetBool(yyfless(_zJ.x, _3l.x))) {
return 0;
}
}
}
break;
}
case 1: {
{
var _AJ = _8l(49);
for (var _BJ in _AJ) {
if (!_AJ.hasOwnProperty(_BJ)) continue;
var _CJ = _AJ[_BJ];
if (_CJ._bl) continue;
if (!_CJ._cl) continue;
if (yyGetBool(yyfnotequal(_CJ._LB, _3l._LB)) && yyGetBool(yyfgreater(_CJ.x, _3l.x))) {
return 0;
}
}
}
break;
}
}
return 1;
}
function _k7(_3l, _4l) {
var _DJ = _3l.x;
{
var _EJ = _8l(global._SA);
for (var _FJ in _EJ) {
if (!_EJ.hasOwnProperty(_FJ)) continue;
var _GJ = _EJ[_FJ];
if (_GJ._bl) continue;
if (!_GJ._cl) continue;
{
if (yyfequal(_GJ._HA, -4)) {
return 0;
}
var _HJ = _0m(_3l, _4l, _GJ._HA)._ZB;
var _IJ = -1;
if (yyCompareVal(_HJ, 1, g_GMLMathEpsilon) == 0) {
_IJ = 0;
} else if (yyCompareVal(_HJ, -1, g_GMLMathEpsilon) == 0) {
_IJ = 1;
}
switch (_IJ) {
case 0: {
if (yyfgreater(_0m(_3l, _4l, _GJ._HA).x, yyfplus(_sl(_DJ), 5))) {
return 1;
}
break;
}
case 1: {
if (yyfless(_0m(_3l, _4l, _GJ._HA).x, yyfminus(_sl(_DJ), 5))) {
return 1;
}
break;
}
}
}
}
}
return 0;
}
function _l7(_3l, _4l, _5l) {
var _aF = _5l;
var _JJ = _0m(_3l, _4l, _aF)._ZB;
var _KJ = -1;
if (yyCompareVal(_JJ, 1, g_GMLMathEpsilon) == 0) {
_KJ = 0;
} else if (yyCompareVal(_JJ, -1, g_GMLMathEpsilon) == 0) {
_KJ = 1;
}
switch (_KJ) {
case 0: {
if (yyfgreater(_0m(_3l, _4l, _aF).x, yyfplus(_sl(_3l.x), 5))) {
return 1;
}
break;
}
case 1: {
if (yyfless(_0m(_3l, _4l, _aF).x, yyfminus(_sl(_3l.x), 5))) {
return 1;
}
break;
}
}
return 0;
}
function _m7(_3l, _4l, _5l) {
if (yyfless(_3l.y, 300)) {
{
{
var _LJ = _8l(53);
for (var _MJ in _LJ) {
if (!_LJ.hasOwnProperty(_MJ)) continue;
var _NJ = _LJ[_MJ];
if (_NJ._bl) continue;
if (!_NJ._cl) continue;
if (yyfless(_5l, 276)) {
return 1;
}
}
}
}
} else {
{
{
var _OJ = _8l(53);
for (var _PJ in _OJ) {
if (!_OJ.hasOwnProperty(_PJ)) continue;
var _QJ = _OJ[_PJ];
if (_QJ._bl) continue;
if (!_QJ._cl) continue;
if (yyfgreater(_5l, 332)) {
return 1;
}
}
}
}
}
return 0;
}
function _n7(_3l, _4l) {
if (yyGetBool(_rB(_3l._sB))) {
{
_3l._vI = 1;
_3l._uD = _57(_3l, _4l);
}
}
var _bD = global._SA;
var _RJ = _3l._jB;
var _SJ = -1;
if (yyCompareVal(_RJ, 1, g_GMLMathEpsilon) == 0) {
_SJ = 0;
} else if (yyCompareVal(_RJ, 5, g_GMLMathEpsilon) == 0) {
_SJ = 1;
} else if (yyCompareVal(_RJ, 2, g_GMLMathEpsilon) == 0) {
_SJ = 2;
} else if (yyCompareVal(_RJ, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_RJ, 4, g_GMLMathEpsilon) == 0) {
_SJ = 3;
}
switch (_SJ) {
case 0: {
if (!yyGetBool(_rB(_3l._sB))) {
{
_3l._vI = 0;
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) && yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 19)) && yyGetBool(yyfless(_3l._tB, 5))) {
{
_Y6(_3l, _4l, 12);
{
var _TJ = _8l(50);
for (var _UJ in _TJ) {
if (!_TJ.hasOwnProperty(_UJ)) continue;
var _VJ = _TJ[_UJ];
if (_VJ._bl) continue;
if (!_VJ._cl) continue;
if (yyfequal(_VJ._jB, 2)) {
{
_y6(_VJ, _3l);
_O7(_VJ, _3l);
}
}
}
}
}
}
}
}
break;
}
case 1: {
if (yyGetBool(_3l._aD)) {
{
_3l._vI = 1;
_3l._uD = _PA(_3l.x, _3l.y, _0m(_3l, _4l, _3l._aD).x, _0m(_3l, _4l, _3l._aD).y);
break;
}
} else {
if (yyGetBool(!yyGetBool(_3l.__I)) || yyGetBool(yyfless(_3l._nD, 40))) {
{
_97(_3l, _4l);
}
} else {
{
_3l._vI = 0;
}
}
}
break;
}
case 2: {
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 19)) && yyGetBool(yyfless(_3l._tB, 40))) {
{
{
var _WJ = _8l(50);
for (var _XJ in _WJ) {
if (!_WJ.hasOwnProperty(_XJ)) continue;
var _YJ = _WJ[_XJ];
if (_YJ._bl) continue;
if (!_YJ._cl) continue;
{
if (yyfequal(_YJ._jB, 1)) {
_Y6(_YJ, _3l, 12);
}
}
}
}
_y6(_3l, _4l);
_O7(_3l, _4l);
return;
}
}
}
case 3: {
if (yyGetBool(_3l._aD)) {
{
var _ZJ = yyfmod(_sl(_3l._YH), 2);
var __J = -1;
if (yyCompareVal(_ZJ, 0, g_GMLMathEpsilon) == 0) {
__J = 0;
} else if (yyCompareVal(_ZJ, 1, g_GMLMathEpsilon) == 0) {
__J = 1;
}
switch (__J) {
case 0: {
_3l._uD = 90;
break;
}
case 1: {
_3l._uD = 270;
break;
}
}
}
} else {
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 3)) && yyGetBool(yyfless(_3l._lJ, 100))) {
{
_3l._uD = _PA(_3l.x, _3l.y, _0m(_3l, _4l, 53)._hD, _0m(_3l, _4l, 53)._iD);
_3l._vI = _cm(yyfdivide(_sl(_3l._lJ), 40), 0.25, 1);
}
} else {
if (!yyGetBool(_rB(_3l._sB))) {
{
_3l._vI = 0;
if (yyGetBool(yyfnotequal(_3l._0K, 999)) && yyGetBool(!yyGetBool(_0m(_3l, _4l, 42)._Bo))) {
{
_3l._uD = _3l._0K;
_3l._vI = 1;
}
}
}
}
}
}
break;
}
}
if (!yyGetBool(_rB(_3l._sB))) {
{
var _1K = 0;
var _jD = _g7(_3l, _4l);
if (yyGetBool(_jD) && yyGetBool(_0m(_3l, _4l, _jD)._Bl)) {
_1K = _il(_0m(_3l, _4l, _jD)._Bl, "strength");
}
if (yyGetBool(_jD) && yyGetBool(yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 2)) || yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 1)))) {
{
if (yyfgreater(_3l._tB, yyfplus(260, _sl(yyftime(_sl(_1K), 40))))) {
{
_3l._uD = _3l._2K;
_3l._vI = 0.1;
}
}
}
}
}
}
}
function _o7(_3l, _4l) {
var _bD = global._SA;
var _1B = 48;
var _3K = _3l._jB;
var _4K = -1;
if (yyCompareVal(_3K, 6, g_GMLMathEpsilon) == 0) {
_4K = 0;
} else if (yyCompareVal(_3K, 9, g_GMLMathEpsilon) == 0) {
_4K = 1;
} else if (yyCompareVal(_3K, 8, g_GMLMathEpsilon) == 0 || yyCompareVal(_3K, 7, g_GMLMathEpsilon) == 0) {
_4K = 2;
}
switch (_4K) {
case 0: {
var _jD = -4;
{
var _5K = _8l(50);
for (var _6K in _5K) {
if (!_5K.hasOwnProperty(_6K)) continue;
var _7K = _5K[_6K];
if (_7K._bl) continue;
if (!_7K._cl) continue;
if (yyfequal(_7K._jB, 1)) {
_jD = _7K.id;
}
}
}
if (yyGetBool(_jD)) {
{
_3l._vI = 1;
_3l._uD = _PA(_3l.x, _3l.y, _0m(_3l, _4l, _jD).x, _0m(_3l, _4l, _jD).y);
}
} else {
{
_3l._vI = 0;
}
}
break;
}
case 1: {
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 3)) && yyGetBool(yyfless(_3l._lJ, 80))) {
{
_3l._uD = _PA(_3l.x, _3l.y, _0m(_3l, _4l, 53)._hD, _0m(_3l, _4l, 53)._iD);
_3l._vI = _cm(yyfdivide(_sl(_3l._lJ), 40), 0.25, 0.75);
}
} else {
{
_3l._uD = 180;
if (yyfequal(_3l._ZB, -1)) {
_3l._uD = 0;
}
_3l._vI = 0.3;
var _aF = _07(_3l, _4l, _3l.id, 4);
if (yyGetBool(yyfgreater(_0m(_3l, _4l, _1B)._8E, 0)) || yyGetBool(yyfless(yyGetBool(_aF) && yyGetBool(_5B(_3l.x, _3l.y, _0m(_3l, _4l, _aF).x, _0m(_3l, _4l, _aF).y)), 80))) {
{
if (yyGetBool(_aF)) {
{
_77(_3l, _4l, _aF, 1);
_3l._vI = 0.5;
}
}
}
}
}
}
break;
}
case 2: {
if (yyGetBool(yyfequal(_0m(_3l, _4l, _1B)._8E, 0)) && yyGetBool(yyfequal(_3l._jB, 8)) && yyGetBool(yyfequal(yyfmod(_sl(_3l._DH), 3), 0))) {
{
_3l._jB = 9;
_A9(_3l, _4l, "Fake Blitz! Converting CB to SF");
}
} else {
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 3)) && yyGetBool(yyfless(_3l._lJ, 100))) {
{
_3l._uD = _PA(_3l.x, _3l.y, _0m(_3l, _4l, 53)._hD, _0m(_3l, _4l, 53)._iD);
_3l._vI = _cm(yyfdivide(_sl(_3l._lJ), 40), 0.25, 0.75);
}
} else {
{
var _aF = _3l._lD;
if (yyfequal(_3l._jB, 8)) {
_aF = _07(_3l, _4l, _3l.id, 4);
}
if (yyfequal(_3l._jB, 7)) {
_aF = _07(_3l, _4l, _3l.id, -4);
}
if (yyGetBool(_aF) && yyGetBool(!yyGetBool(_0m(_3l, _4l, _aF)._aD)) && yyGetBool(yyfnotequal(_0m(_3l, _4l, _aF)._jB, 5)) && yyGetBool(yyfless(_vD(_3l, _aF), 80))) {
{
var _mD = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _aF).x, _0m(_3l, _4l, _aF).y);
var _0u = _xC(10, 40, yyfdivide(_sl(_cm(_0m(_3l, _4l, 42)._wt, 1, 10)), 10));
if (yyfgreater(_mD, _0u)) {
{
_77(_3l, _4l, _aF, 0.3);
_3l._vI = 1;
}
} else {
{
if (!yyGetBool(_l7(_3l, _4l, _aF))) {
{
var _mD = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _aF).x, _0m(_3l, _4l, _aF).y);
_3l._vI = _cm(yyfdivide(_sl(_mD), 20), 0.5, 1);
}
} else {
{
_67(_3l, _4l, _aF);
}
}
}
}
}
} else {
if (yyfequal(_3l._jB, 7)) {
{
var _8K = yyfmod(_sl(_3l._DH), 2);
var _9K = -1;
if (yyCompareVal(_8K, 0, g_GMLMathEpsilon) == 0) {
_9K = 0;
}
switch (_9K) {
case 0: {
_3l._uD = 180;
if (yyfequal(_3l._ZB, -1)) {
_3l._uD = 0;
}
_3l._vI = 0.25;
break;
}
default: {
_3l._vI = 0.75;
var _aF = -4;
var _aK = _3l._ZB;
var _bK = -1;
if (yyCompareVal(_aK, -1, g_GMLMathEpsilon) == 0) {
_bK = 0;
} else if (yyCompareVal(_aK, 1, g_GMLMathEpsilon) == 0) {
_bK = 1;
}
switch (_bK) {
case 0: {
_3l._uD = 180;
if (yyfless(_3l.x, _0m(_3l, _4l, _1B)._aB)) {
_aF = _07(_3l, _4l, _3l.id, 1);
}
break;
}
case 1: {
_3l._uD = 0;
if (yyfgreater(_3l.x, _0m(_3l, _4l, _1B)._aB)) {
_aF = _07(_3l, _4l, _3l.id, 1);
}
}
}
if (yyGetBool(_aF)) {
_67(_3l, _4l, _aF);
}
break;
}
}
}
}
}
}
}
}
break;
}
}
}
function _p7(_3l, _4l) {
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 3)) {
{
_3l._vI = 0;
return;
}
}
var _bD = global._SA;
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) && yyGetBool(_rB(_3l._sB))) {
{
var _cK = _3l._ZB;
var _dK = -1;
if (yyCompareVal(_cK, -1, g_GMLMathEpsilon) == 0) {
_dK = 0;
} else if (yyCompareVal(_cK, 1, g_GMLMathEpsilon) == 0) {
_dK = 1;
}
switch (_dK) {
case 0: {
if (yyfless(_3l.x, _0m(_3l, _4l, 48)._aB)) {
_pI(_3l._sB);
}
break;
}
case 1: {
if (yyfgreater(_3l.x, _0m(_3l, _4l, 48)._aB)) {
_pI(_3l._sB);
}
break;
}
}
}
}
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 9)) && yyGetBool(_rB(_3l._sB))) {
{
_pI(_3l._sB);
}
}
if (yyGetBool(_rB(_3l._sB))) {
{
_3l._vI = 1;
_3l._uD = _57(_3l, _4l);
return;
}
}
if (yyGetBool(yyfequal(_3l._jB, 1)) && yyGetBool(yyfnotequal(_0m(_3l, _4l, _bD)._HA, _3l.id))) {
{
_3l._vI = 0;
return;
}
}
var _eK = _3l._jB;
var _fK = -1;
if (yyCompareVal(_eK, 5, g_GMLMathEpsilon) == 0 || yyCompareVal(_eK, 6, g_GMLMathEpsilon) == 0) {
_fK = 0;
}
switch (_fK) {
case 0: {
_97(_3l, _4l);
break;
}
}
if (yyGetBool(yyfequal(_3l._jB, 7)) && yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 18)) && yyGetBool(_m7(_3l, _4l, _0m(_3l, _4l, _bD).y))) {
{
_67(_3l, _4l, _0m(_3l, _4l, _bD)._HA);
return;
}
}
if (yyGetBool(!yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._kD)) && yyGetBool(yyfgreater(_3l._tB, 100)) && yyGetBool(yyfgreater(_3l._lJ, 100)) && yyGetBool(yyfnotequal(_0m(_3l, _4l, _bD)._WA, 18))) {
return;
}
if (yyGetBool(_0m(_3l, _4l, _bD)._HA)) {
{
if (yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) {
{
if (yyGetBool(!yyGetBool(_rB(_3l._sB))) && yyGetBool(yyfnotequal(_3l._jB, 1))) {
{
_3l._vI = 1;
}
}
}
} else {
{
_67(_3l, _4l, _0m(_3l, _4l, _bD)._HA);
if (yyfequal(_3l._LB, _0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._LB)) {
{
if (yyfless(_3l._nD, _3l._tB)) {
{
_97(_3l, _4l);
_3l._vI = _cm(yyfdivide(_sl(_3l._nD), 20), 0.5, 1);
}
} else {
{
_3l._vI = 0.7;
}
}
}
} else {
{
if (!yyGetBool(_k7(_3l, _4l))) {
{
var _mD = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA).x, _0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA).y);
_3l._vI = _cm(yyfdivide(_sl(_mD), 20), 0.5, 1);
}
}
}
}
}
}
}
}
}
function _q7(_3l, _4l) {
{
var _gK = _8l(_0m(_3l, _4l, global._SA)._HA);
for (var _hK in _gK) {
if (!_gK.hasOwnProperty(_hK)) continue;
var _iK = _gK[_hK];
if (_iK._bl) continue;
if (!_iK._cl) continue;
{
if (yyfnotequal(_iK._jB, 1)) {
return 0;
}
var _jK = _iK._ZB;
var _kK = -1;
if (yyCompareVal(_jK, -1, g_GMLMathEpsilon) == 0) {
_kK = 0;
} else if (yyCompareVal(_jK, 1, g_GMLMathEpsilon) == 0) {
_kK = 1;
}
switch (_kK) {
case 0: {
if (yyfless(_iK.x, _0m(_3l, _4l, 48)._aB)) {
return 0;
}
break;
}
case 1: {
if (yyfgreater(_iK.x, _0m(_3l, _4l, 48)._aB)) {
return 0;
}
break;
}
}
return 1;
}
}
}
return 0;
}
function _r7(_3l, _4l, _5l) {
var _lK = _5l;
var _mK = -1;
if (yyCompareVal(_lK, 18, g_GMLMathEpsilon) == 0) {
_mK = 0;
} else if (yyCompareVal(_lK, 17, g_GMLMathEpsilon) == 0) {
_mK = 1;
} else if (yyCompareVal(_lK, 22, g_GMLMathEpsilon) == 0) {
_mK = 2;
} else if (yyCompareVal(_lK, 24, g_GMLMathEpsilon) == 0) {
_mK = 3;
} else if (yyCompareVal(_lK, 26, g_GMLMathEpsilon) == 0) {
_mK = 4;
} else if (yyCompareVal(_lK, 27, g_GMLMathEpsilon) == 0) {
_mK = 5;
} else if (yyCompareVal(_lK, 28, g_GMLMathEpsilon) == 0) {
_mK = 6;
} else if (yyCompareVal(_lK, 31, g_GMLMathEpsilon) == 0) {
_mK = 7;
} else if (yyCompareVal(_lK, 32, g_GMLMathEpsilon) == 0) {
_mK = 8;
} else if (yyCompareVal(_lK, 37, g_GMLMathEpsilon) == 0) {
_mK = 9;
}
switch (_mK) {
case 0: {
return 1;
break;
}
case 1: {
return 1;
break;
}
case 2: {
return 1;
break;
}
case 3: {
return 1;
break;
}
case 4: {
return 1;
break;
}
case 5: {
return 1;
break;
}
case 6: {
return 1;
break;
}
case 7: {
return 1;
break;
}
case 8: {
return 1;
break;
}
case 9: {
return 1;
break;
}
}
return 0;
}
function _s7(_3l, _4l) {
if (yyGetBool(yyfequal(_3l._wC, 30)) || yyGetBool(yyfequal(_3l._wC, 31))) {
return 1;
}
return 0;
}
function _t7(_3l, _4l) {
var _nK = 0.5;
{
var _oK = _8l(global._SA);
for (var _pK in _oK) {
if (!_oK.hasOwnProperty(_pK)) continue;
var _qK = _oK[_pK];
if (_qK._bl) continue;
if (!_qK._cl) continue;
{
if (yyGetBool(_qK._HA) && yyGetBool(_k6(_qK, _3l))) {
{
var _uC = _b7(_qK, _3l, _qK._HA);
_nK = _cm(yyftime(_sl(_uC), 0.003), 0.7, 0.9);
}
}
}
}
}
var _rK = _3l._WA;
var _sK = -1;
if (yyCompareVal(_rK, 1, g_GMLMathEpsilon) == 0) {
_sK = 0;
}
switch (_sK) {
case 0: {
if (yyfnotequal(_3l._bq, 14)) {
{
_3l._tK = _xC(_3l._tK, 2, 0.05);
break;
}
}
}
default: {
_3l._tK = _xC(_3l._tK, _nK, 0.025);
if (yyGetBool(_3l._3C)) {
_3l._tK = 0.9;
}
break;
}
}
_uK(_rn._vK[_Tn(0, _rn._vK)], yyftime(960, _sl(_3l._tK)), yyftime(540, _sl(_3l._tK)));
var _wK = _xK(_rn._vK[_Tn(0, _rn._vK)]);
var _yK = _zK(_rn._vK[_Tn(0, _rn._vK)]);
var _AK = yyftime(_sl(_wK), 0.5);
var _BK = yyftime(_sl(_yK), 0.5);
var _5G = 1300;
var _6G = 300;
var _CK = 0.05;
var _bD = global._SA;
if (yyGetBool(_DA(_bD))) {
{
_5G = _0m(_3l, _4l, _bD).x;
_6G = yyfplus(300, _sl(yyftime(_sl(yyfminus(_sl(_0m(_3l, _4l, _bD).y), 300)), 0.5)));
if (yyGetBool(_k6(_3l, _4l))) {
_6G = 300;
}
if (yyGetBool(_DA(_0m(_3l, _4l, _bD)._HA))) {
_5G = _0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA).x;
}
_AK = yyftime(_sl(_wK), _sl(yyfminus(0.5, _sl(yyftime(0.15, _sl(_3l._NA))))));
if (yyGetBool(_3l._3C)) {
_AK = yyftime(_sl(_wK), _sl(yyfminus(0.5, _sl(yyftime(0.25, _sl(_3l._NA))))));
}
}
} else {
{
_6G = 0;
_CK = 0.025;
var _DK = _3l._NA;
var _EK = -1;
if (yyCompareVal(_DK, -1, g_GMLMathEpsilon) == 0) {
_EK = 0;
} else if (yyCompareVal(_DK, 1, g_GMLMathEpsilon) == 0) {
_EK = 1;
}
switch (_EK) {
case 0: {
if (yyfequal(_3l._9q, _3l._aq)) {
_5G = yyfminus(_5G, yyftime(_sl(_3l._XD), 20));
} else {
_5G = yyfplus(_5G, yyftime(_sl(_3l._XD), 20));
}
break;
}
case 1: {
if (yyfequal(_3l._9q, _3l._aq)) {
_5G = yyfplus(_5G, yyftime(_sl(_3l._XD), 20));
} else {
_5G = yyfminus(_5G, yyftime(_sl(_3l._XD), 20));
}
break;
}
}
var _FK = _3l._bq;
var _GK = -1;
if (yyCompareVal(_FK, 12, g_GMLMathEpsilon) == 0 || yyCompareVal(_FK, 13, g_GMLMathEpsilon) == 0) {
_GK = 0;
} else if (yyCompareVal(_FK, 0, g_GMLMathEpsilon) == 0 || yyCompareVal(_FK, 1, g_GMLMathEpsilon) == 0 || yyCompareVal(_FK, 17, g_GMLMathEpsilon) == 0) {
_GK = 1;
}
switch (_GK) {
case 0: {
if (yyGetBool(yyfnotequal(_3l._NE, 3)) && yyGetBool(yyfnotequal(_3l._NE, 5))) {
break;
}
}
case 1: {
_CK = 0.25;
_5G = 1300;
break;
}
default: {
break;
}
}
}
}
_6G = yyfminus(_6G, 10);
var _HK = _xC(_IK(_rn._vK[_Tn(0, _rn._vK)]), yyfminus(_sl(_5G), _sl(_AK)), yyftime(_sl(_CK), 0.5));
var _JK = _xC(_KK(_rn._vK[_Tn(0, _rn._vK)]), yyfminus(_sl(_6G), _sl(_BK)), yyftime(_sl(_CK), 0.5));
_HK = _cm(_HK, 0, yyfminus(_sl(_rn._Ps), _sl(_wK)));
_JK = _cm(_JK, 0, yyfminus(_sl(_rn._Rs), _sl(_yK)));
_LK(_rn._vK[_Tn(0, _rn._vK)], _HK, _JK);
}
function _u7(_3l, _4l, _5l) {
_lp(_3l, 55);
var _MK = _Oq(_3l.x, yyfminus(_sl(_3l.y), 48), "Instances", 55);
_0m(_3l, _4l, _MK)._ir(-10000);
_0m(_3l, _4l, _MK)._mm = _5l;
}
function _v7(_3l, _4l, _5l) {
_lp(_3l, 55);
var _MK = _Oq(_3l.x, yyfminus(_sl(_3l.y), 32), "Instances", 55);
_0m(_3l, _4l, _MK)._ir(-10000);
_0m(_3l, _4l, _MK)._mm = yyfplus(_sl(_ul(round(_5l))), _sl(_Q8(_3l, _4l, "sla_yards")));
}
function _w7(_3l, _4l, _5l) {
{
var _NK = _8l(54);
for (var _OK in _NK) {
if (!_NK.hasOwnProperty(_OK)) continue;
var _PK = _NK[_OK];
if (_PK._bl) continue;
if (!_PK._cl) continue;
_lp(_PK);
}
}
var _QK = _5l;
var _sr = "";
var _fo = 0 ? 1 : 0;
var _RK = 16777215;
var _SK = _QK;
var _TK = -1;
if (
yyCompareVal(_SK, 0, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_SK, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_SK, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_SK, 3, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_SK, 4, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_SK, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_SK, 13, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_SK, 18, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_SK, 19, g_GMLMathEpsilon) == 0
) {
_TK = 0;
} else if (yyCompareVal(_SK, 6, g_GMLMathEpsilon) == 0) {
_TK = 1;
} else if (yyCompareVal(_SK, 7, g_GMLMathEpsilon) == 0) {
_TK = 2;
} else if (yyCompareVal(_SK, 8, g_GMLMathEpsilon) == 0) {
_TK = 3;
} else if (yyCompareVal(_SK, 9, g_GMLMathEpsilon) == 0) {
_TK = 4;
} else if (yyCompareVal(_SK, 10, g_GMLMathEpsilon) == 0) {
_TK = 5;
} else if (yyCompareVal(_SK, 11, g_GMLMathEpsilon) == 0) {
_TK = 6;
} else if (yyCompareVal(_SK, 12, g_GMLMathEpsilon) == 0) {
_TK = 7;
} else if (yyCompareVal(_SK, 14, g_GMLMathEpsilon) == 0) {
_TK = 8;
} else if (yyCompareVal(_SK, 15, g_GMLMathEpsilon) == 0) {
_TK = 9;
} else if (yyCompareVal(_SK, 16, g_GMLMathEpsilon) == 0) {
_TK = 10;
} else if (yyCompareVal(_SK, 17, g_GMLMathEpsilon) == 0) {
_TK = 11;
}
switch (_TK) {
case 0: {
return;
break;
}
case 1: {
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_Touchdown")), "!!!");
_fo = 1 ? 1 : 0;
_RK = 65535;
if (yyfequal(_0m(_3l, _4l, 48).__C, 6)) {
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_Scored")), "!!!");
}
break;
}
case 2: {
_sr = _Q8(_3l, _4l, "match_Incomplete");
_fo = 0 ? 1 : 0;
_RK = 16777215;
break;
}
case 3: {
_sr = _Q8(_3l, _4l, "match_OutOfBounds");
_fo = 0 ? 1 : 0;
_RK = 16777215;
break;
}
case 4: {
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_Interception")), "!");
_fo = 1 ? 1 : 0;
_RK = 255;
break;
}
case 5: {
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_Turnover")), "!");
_fo = 1 ? 1 : 0;
_RK = 255;
break;
}
case 6: {
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_Sacked")), "!");
_fo = 1 ? 1 : 0;
_RK = 255;
break;
}
case 7: {
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_Safety")), "!");
_fo = 1 ? 1 : 0;
_RK = 255;
break;
}
case 8: {
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_FG_Good")), "!");
_fo = 1 ? 1 : 0;
_RK = 65535;
break;
}
case 9: {
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_FG_Bad")), "!");
_fo = 1 ? 1 : 0;
_RK = 255;
break;
}
case 10: {
if (yyGetBool(yyfequal(_0m(_3l, _4l, 42)._Bo, 2)) || yyGetBool(yyfgreater(_0m(_3l, _4l, 48)._1G, 0))) {
_0m(_3l, _4l, 48)._1G = -1;
} else {
_0m(_3l, _4l, 48)._1G = _0m(_3l, _4l, 48)._2G;
}
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_Success")), "!");
_fo = 1 ? 1 : 0;
_RK = 65535;
break;
}
case 11: {
_sr = yyfplus(_sl(_Q8(_3l, _4l, "match_Fail")), "!");
_fo = 1 ? 1 : 0;
_RK = 255;
break;
}
}
var _Ol = _Oq(0, 0, "Text", 54);
_0m(_3l, _4l, _Ol)._mm = _UK(_sr);
_0m(_3l, _4l, _Ol)._fo = _fo;
_0m(_3l, _4l, _Ol)._RK = _RK;
_0m(_3l, _4l, _Ol).__z = 0.5;
_0m(_3l, _4l, _Ol)._rx = _vp(_0m(_3l, _4l, _Ol)._rx, 2633220098);
_0m(_3l, _4l, _Ol)._rx[_wp(0)] = 120;
_0m(_3l, _4l, 48)._eB = "";
_A9(_3l, _4l, _sr);
}
function _x7(_3l, _4l) {
var _Lw = 8;
if (yyfequal(_3l._WA, 2)) {
{
_3l._uE = "";
if (yyGetBool(_DA(52)) && yyGetBool(yyfequal(_0m(_3l, _4l, global._SA)._WA, 0)) && yyGetBool(yyfless(_rn._up(), yyfplus(_sl(_3l._SD), 2000)))) {
{
if (yyGetBool(_3l._3C)) {
{
_3l._uE = _Q8(_3l, _4l, "match_FieldGoal");
if (yyGetBool(_3l._UC)) {
_3l._uE = _Q8(_3l, _4l, "match_PAT");
}
}
} else {
if (yyfgreater(_3l.__C, 0)) {
{
_3l._uE = _29(_3l, _4l);
}
}
}
}
}
{
var _VK = _8l(6);
for (var _WK in _VK) {
if (!_VK.hasOwnProperty(_WK)) continue;
var _XK = _VK[_WK];
if (_XK._bl) continue;
if (!_XK._cl) continue;
return;
}
}
}
}
_YK(0);
_ZK(1);
__K(1);
_0L(1);
var _1L = yyftime(_sl(_Qq()), 0.5);
var _1r = yyftime(_sl(_Rq()), 0.5);
if (yyfequal(_3l._WA, 2)) {
_1r = yyftime(_sl(_Rq()), 0.75);
}
if (yyfnotequal(_3l._uE, "")) {
{
var _2L = yyfplus(_sl(yyftime(_sl(_3L(_3l._uE)), 0.5)), _sl(_Lw));
_4L(yyfminus(_sl(_1L), _sl(_2L)), yyfminus(_sl(_1r), _sl(_Lw)), yyfplus(_sl(_1L), _sl(_2L)), yyfplus(_sl(_1r), _sl(_Lw)), 0, 0, 0, 0, 0);
_5L(_1L, _1r, _3l._uE);
}
}
if (yyGetBool(yyfnotequal(_3l._eB, "")) && yyGetBool(!yyGetBool(_DA(7)))) {
{
_1r = yyftime(_sl(_Rq()), 0.75);
var _2L = yyfplus(_sl(yyftime(_sl(_3L(_3l._eB)), 0.5)), _sl(_Lw));
_4L(yyfminus(_sl(_1L), _sl(_2L)), yyfminus(_sl(_1r), _sl(_Lw)), yyfplus(_sl(_1L), _sl(_2L)), yyfplus(_sl(_1r), _sl(_Lw)), 0, 0, 0, 0, 0);
_5L(_1L, _1r, _3l._eB);
}
}
}
function _y7(_3l, _4l) {
if (yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
return;
}
_YK(0);
_ZK(0);
__K(1);
_0L(1);
_6L(0, 0, _Qq(), 16, 0, 0, 0, 0, 0);
var _1L = 16;
var _7L = 8;
var _sr = _il(_3l._Cm[_Tn(0, _3l._Cm)], "tla");
_sr = yyfplus(_sr, yyfplus(yyfplus(" ", _sl(_ul(_3l._BE[_Tn(0, _3l._BE)]))), " "));
_sr = yyfplus(_sr, yyfplus(yyfplus(_sl(_il(_3l._Cm[_Tn(1, _3l._Cm)], "tla")), " "), _sl(_ul(_3l._BE[_Tn(1, _3l._BE)]))));
_5L(_1L, _7L, _sr);
if (yyfnotequal(_3l._bq, 13)) {
{
_ZK(2);
_1L = yyfdivide(_sl(_Qq()), 2);
var _8L = yyfplus(_sl(_Q8(_3l, _4l, yyfplus("quarter_", _sl(_ul(_3l._NE))))), " ");
_5L(_1L, _7L, _8L);
_ZK(0);
var _9L = yyfplus(" ", _sl(_09(_3l, _4l, _3l._VD, _3l._WD)));
if (yyfequal(_3l._VD, 0)) {
{
_aL(global._bm);
if (yyfless(_3l._WD, 11)) {
_aL(255);
}
}
}
_5L(_1L, _7L, _9L);
if (yyfequal(_3l._WA, 2)) {
{
_ZK(2);
_bL(16777215);
_1L = yyfminus(_sl(_Qq()), 16);
if (yyGetBool(_3l._3C)) {
{
if (yyGetBool(_k6(_3l, _4l))) {
{
var _cL = _h7(_3l, _4l);
var _sr = yyfplus(yyfplus(_sl(_ul(_3l._TC)), " "), _sl(_Q8(_3l, _4l, "tla_yards")));
if (yyGetBool(_cL) && yyGetBool(_0m(_3l, _4l, _cL)._Bl)) {
{
if (yyfgreater(_il(_0m(_3l, _4l, _cL)._Bl, "stat_attempts"), 0)) {
{
_sr = yyfplus(
_sr,
yyfplus(
yyfplus(yyfplus(yyfplus(yyfplus(" ", _sl(_ul(_il(_0m(_3l, _4l, _cL)._Bl, "stat_complete")))), "/"), _sl(_ul(_il(_0m(_3l, _4l, _cL)._Bl, "stat_attempts")))), " "),
_sl(_Q8(_3l, _4l, "tla_Attempts"))
)
);
}
}
}
}
_5L(_1L, _7L, _sr);
}
}
}
} else {
if (yyGetBool(yyfgreater(_3l.__C, 0)) && yyGetBool(yyfless(_3l.__C, 5))) {
{
_5L(_1L, _7L, _29(_3l, _4l));
}
}
}
}
} else {
{
_ZK(2);
_bL(0);
_bL(16777215);
}
}
}
}
{
var _dL = _8l(global._SA);
for (var _eL in _dL) {
if (!_dL.hasOwnProperty(_eL)) continue;
var _fL = _dL[_eL];
if (_fL._bl) continue;
if (!_fL._cl) continue;
{
if (!yyGetBool(_DA(32))) {
{
if (yyGetBool(yyfnotequal(_fL._WA, 0)) && yyGetBool(yyfnotequal(_fL._WA, 1))) {
{
if (yyGetBool(_fL._HA) && yyGetBool(yyfnotequal(_0m(_3l, _4l, _fL._HA)._hI, ""))) {
{
var _gL = yyfminus(_sl(_Rq()), 16);
_hL(_fL, 58, _26(_fL, _3l, _il(_0m(_3l, _4l, _fL._HA)._Bl, "attitude")), 18, _gL);
_ZK(0);
_bL(0);
_5L(30, _gL, _0m(_3l, _4l, _fL._HA)._hI);
_bL(16777215);
}
}
}
}
}
}
}
}
}
}
function _z7(_3l, _4l) {
_0L(0.6);
_iL(_3l._aB, 131, _3l._aB, 470, 2, 16711680, 16711680);
if (yyfgreaterequal(_3l._ZD, 1)) {
_jL(_3l, 3, 1, _3l._aB, 126, 2, 2, 0, 16777215, 1);
}
if (yyGetBool(yyfgreater(_3l.__D, 300)) && yyGetBool(yyfless(_3l.__D, 2300))) {
{
_iL(_3l.__D, 131, _3l.__D, 470, 2, 65535, 65535);
_jL(_3l, 3, 0, _3l.__D, 126, 2, 2, 0, 16777215, 1);
}
}
_0L(1);
}
function _A7(_3l, _4l) {
if (!yyGetBool(_3l._3C)) {
return;
}
if (!yyGetBool(_k6(_3l, _4l))) {
return;
}
if (yyGetBool(!yyGetBool(_DA(60))) || yyGetBool(yyfequal(_0m(_3l, _4l, 60)._gC, 0))) {
return;
}
_YK(0);
_ZK(1);
__K(1);
var _kL = _Qq();
var _lL = 0;
var _mL = 48;
var _nL = 48;
if (yyfequal(_0m(_3l, _4l, 48)._NA, -1)) {
_mL = yyfminus(_sl(_kL), _sl(_mL));
}
var _oL = 64;
var _Es = yyfminus(_sl(_mL), _sl(yyftime(_sl(_oL), 0.5)));
var _Fs = yyfminus(_sl(_nL), _sl(yyftime(_sl(_oL), 0.5)));
_4L(_Es, _Fs, yyfplus(_sl(_Es), _sl(_oL)), yyfplus(yyfplus(_sl(_Fs), _sl(_oL)), 16), _lL, _lL, _lL, _lL, 0);
_Es = _mL;
_Fs = _nL;
_jL(_3l, 44, 0, _Es, _Fs, 2, 2, yyftime(_sl(_0m(_3l, _4l, 60)._hC), 45), 16777215, 1);
_5L(_Es, yyfplus(_sl(_Fs), 40), yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "match_Wind")), " "), _sl(_ul(_0m(_3l, _4l, 60)._gC))));
}
function _B7(_3l, _4l) {
var _lL = 0;
var _kL = _Qq();
var _oL = 256;
var _Es = yyfminus(_sl(yyftime(_sl(_kL), 0.5)), _sl(yyftime(_sl(_oL), 0.5)));
_4L(_Es, 32, yyfplus(_sl(_Es), _sl(_oL)), 64, _lL, _lL, _lL, _lL, 0);
var _pL = _cm(yyftime(_sl(_3l._QB), 2), 1, 100);
var _qL = yyftime(_sl(yyfminus(_sl(_oL), 2)), 0.01);
var _rL = yyftime(_sl(_qL), _sl(min(30, _pL)));
var _sL = yyftime(_sl(_qL), _sl(min(100, _pL)));
_lL = 65280;
_4L(yyfplus(_sl(_Es), 2), 34, yyfplus(_sl(_Es), _sl(_sL)), 62, _lL, _lL, _lL, _lL, 0);
_lL = 255;
_4L(yyfplus(_sl(_Es), 2), 34, yyfplus(_sl(_Es), _sl(_rL)), 62, _lL, _lL, _lL, _lL, 0);
}
function _C7(_3l, _4l) {
_bL(0);
_0L(yyftime(_sl(_3l._8I), 0.5));
var _tL = _3l._zH;
var _uL = _3l._AH;
var _vL = _oI(_3l._sB);
var _wL = 0;
for (; yyfless(_wL, _vL); _wL = yyfplus(_wL, 1)) {
{
var _xL = round(yyfplus(_sl(_3l._zH), _sl(_lI(_3l._sB, _wL))));
var _yL = round(yyfplus(_sl(_3l._AH), _sl(_nI(_3l._sB, _wL))));
if (yyfgreater(_3l._AH, 300)) {
_yL = yyfminus(_sl(_3l._AH), _sl(_nI(_3l._sB, _wL)));
}
_zL(_tL, yyfplus(_sl(_uL), 1), _xL, yyfplus(_sl(_yL), 1), 5);
_AL(_xL, yyfplus(_sl(_yL), 1), 2.5, 0);
_3l._0K = 999;
var _BL = _0m(_3l, _4l, 48)._NA;
var _CL = -1;
if (yyCompareVal(_BL, -1, g_GMLMathEpsilon) == 0) {
_CL = 0;
} else if (yyCompareVal(_BL, 1, g_GMLMathEpsilon) == 0) {
_CL = 1;
}
switch (_CL) {
case 0: {
if (yyflessequal(_xL, _tL)) {
_3l._0K = _PA(_tL, _uL, _xL, _yL);
}
break;
}
case 1: {
if (yyfgreaterequal(_xL, _tL)) {
_3l._0K = _PA(_tL, _uL, _xL, _yL);
}
break;
}
}
_tL = _xL;
_uL = _yL;
}
}
if (yyGetBool(_3l._eH)) {
{
_bL(0);
_0L(yyftime(_sl(_3l._8I), 0.5));
_zL(_tL, yyfminus(_sl(_uL), 5), _xL, yyfplus(_sl(_yL), 7), 5);
}
} else {
if (yyfequal(_3l._0K, 999)) {
{
_bL(0);
_0L(yyftime(_sl(_3l._8I), 0.5));
_AL(_tL, yyfplus(_sl(_uL), 1), 5, 0);
}
} else {
{
if (yyfgreaterequal(_3l._0K, 270)) {
{
_tL = yyfplus(_tL, 1.5);
_uL = yyfplus(_uL, 1);
}
} else {
if (yyfgreater(_3l._0K, 90)) {
{
_tL = yyfplus(_tL, 1.5);
_uL = yyfplus(_uL, 2);
}
}
}
_jL(_3l, 39, 0, _tL, yyfplus(_sl(_uL), 1), 0.75, 0.75, _3l._0K, 0, yyftime(_sl(_3l._8I), 0.5));
}
}
}
var _RK = global._DL;
if (yyGetBool(_3l._eH) || yyGetBool(yyfequal(_3l._jB, 1))) {
_RK = 16777215;
} else {
if (yyfequal(_3l._jB, 2)) {
_RK = global._EL;
}
}
_bL(_RK);
_0L(_3l._8I);
_tL = round(_3l._zH);
_uL = round(_3l._AH);
var _wL = 0;
for (; yyfless(_wL, _vL); _wL = yyfplus(_wL, 1)) {
{
var _xL = round(yyfplus(_sl(_3l._zH), _sl(_lI(_3l._sB, _wL))));
var _yL = round(yyfplus(_sl(_3l._AH), _sl(_nI(_3l._sB, _wL))));
if (yyfgreater(_3l._AH, 300)) {
_yL = yyfminus(_sl(_3l._AH), _sl(_nI(_3l._sB, _wL)));
}
_zL(_tL, _uL, _xL, _yL, 5);
_AL(_xL, _yL, 2.5, 0);
_tL = _xL;
_uL = _yL;
}
}
if (yyGetBool(_3l._eH)) {
{
_3l._0K = 999;
_bL(16777215);
_0L(_3l._8I);
_zL(_tL, yyfminus(_sl(_uL), 6), _xL, yyfplus(_sl(_yL), 6), 5);
}
} else {
if (yyfequal(_3l._0K, 999)) {
{
_bL(_RK);
_0L(_3l._8I);
_AL(_tL, _uL, 5, 0);
}
} else {
{
if (yyfgreaterequal(_3l._0K, 270)) {
{
_tL = yyfplus(_tL, 1.5);
_uL = yyfplus(_uL, 1);
}
} else {
if (yyfgreater(_3l._0K, 90)) {
{
_tL = yyfplus(_tL, 1.5);
_uL = yyfplus(_uL, 2);
}
}
}
_jL(_3l, 39, 0, _tL, _uL, 0.75, 0.75, _3l._0K, _RK, _3l._8I);
}
}
}
_bL(16777215);
_0L(1);
}
function _D7(_3l, _4l) {
_aL(16777215);
_0L(0.075);
var _FL = 90;
if (yyfequal(_0m(_3l, _4l, 48)._NA, 1)) {
_FL = 2510;
}
{
var _GL = _8l(global._SA);
for (var _HL in _GL) {
if (!_GL.hasOwnProperty(_HL)) continue;
var _IL = _GL[_HL];
if (_IL._bl) continue;
if (!_IL._cl) continue;
{
var _JL = _IL._WA;
var _KL = -1;
if (yyCompareVal(_JL, 0, g_GMLMathEpsilon) == 0 || yyCompareVal(_JL, 2, g_GMLMathEpsilon) == 0 || yyCompareVal(_JL, 1, g_GMLMathEpsilon) == 0) {
_KL = 0;
}
switch (_KL) {
case 0: {
{
var _LL = _8l(_IL._HA);
for (var _ML in _LL) {
if (!_LL.hasOwnProperty(_ML)) continue;
var _NL = _LL[_ML];
if (_NL._bl) continue;
if (!_NL._cl) continue;
_OL(_FL, 270, _FL, 336, _NL.x, _NL.y, 0);
}
}
break;
}
}
}
}
}
_aL(16777215);
_0L(1);
}
function _E7(_3l, _4l) {
_A9(_3l, _4l, "s_set_up_practice");
{
var _PL = _8l(48);
for (var _QL in _PL) {
if (!_PL.hasOwnProperty(_QL)) continue;
var _RL = _PL[_QL];
if (_RL._bl) continue;
if (!_RL._cl) continue;
_RL._rx = _vp(_RL._rx, 3172014589);
_RL._rx[_wp(0)] = 0;
}
}
{
var _SL = _8l(54);
for (var _TL in _SL) {
if (!_SL.hasOwnProperty(_TL)) continue;
var _UL = _SL[_TL];
if (_UL._bl) continue;
if (!_UL._cl) continue;
_lp(_UL);
}
}
_3l._2G++;
if (yyfequal(_3l._1G, -1)) {
{
if (yyfless(_0m(_3l, _4l, 42)._cq, 99)) {
{
var _VL = _0m(_3l, _4l, 42)._Bo;
var _WL = -1;
if (yyCompareVal(_VL, 3, g_GMLMathEpsilon) == 0) {
_WL = 0;
} else if (yyCompareVal(_VL, 2, g_GMLMathEpsilon) == 0) {
_WL = 1;
} else if (yyCompareVal(_VL, 1, g_GMLMathEpsilon) == 0) {
_WL = 2;
}
switch (_WL) {
case 0: {
_0m(_3l, _4l, 42)._Bo = 2;
_3l._2G = 1;
_3l._1G = 0;
break;
}
case 1: {
_0m(_3l, _4l, 42)._Bo = 1;
_3l._2G = 1;
_3l._1G = 0;
break;
}
case 2: {
_3m(4);
return;
break;
}
}
}
}
}
}
_3l._WA = 2;
var _XL = _0m(_3l, _4l, 42)._Bo;
var _YL = -1;
if (yyCompareVal(_XL, 1, g_GMLMathEpsilon) == 0) {
_YL = 0;
} else if (yyCompareVal(_XL, 2, g_GMLMathEpsilon) == 0) {
_YL = 1;
} else if (yyCompareVal(_XL, 3, g_GMLMathEpsilon) == 0) {
_YL = 2;
}
switch (_YL) {
case 0: {
var _Ol = _Q8(_3l, _4l, "msg_Intro_Kicking");
if (yyGetBool(global._fB)) {
_Ol = _Q8(_3l, _4l, "msg_Intro_KickingBrowser");
}
if (yyfequal(_3l._2G, 1)) {
_T7(_3l, _4l, "", _Ol, "", _Q8(_3l, _4l, "ui_Continue"), "", 332, global._Ll, 0.7);
} else {
if (yyfequal(_3l._1G, yyfminus(_sl(_3l._2G), 1))) {
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_Intro_SuccessKick"), "", _Q8(_3l, _4l, "ui_Continue"), "", 332, global._Ll, 0.7);
}
}
_3l._XD = 30;
if (yyfequal(_3l._1G, 0)) {
_3l._XD = 40;
}
_3l._NA = -1;
if (yyfnotequal(_il(_0m(_3l, _4l, 42)._1n, "op_drivedir"), 0)) {
_3l._NA = _il(_0m(_3l, _4l, 42)._1n, "op_drivedir");
}
_B6(_3l, _4l, 0);
break;
}
case 1: {
var _Ol = _Q8(_3l, _4l, "msg_Intro_Running");
if (yyGetBool(global._fB)) {
_Ol = _Q8(_3l, _4l, "msg_Intro_RunningBrowser");
}
if (yyfequal(_3l._2G, 1)) {
_T7(_3l, _4l, "", _Ol, "", _Q8(_3l, _4l, "ui_Continue"), "", 332, global._Ll, 0.7);
}
_3l._XD = 0;
_3l._NA = -1;
if (yyfnotequal(_il(_0m(_3l, _4l, 42)._1n, "op_drivedir"), 0)) {
_3l._NA = _il(_0m(_3l, _4l, 42)._1n, "op_drivedir");
}
_F7(_3l, _4l);
break;
}
case 2: {
if (yyfequal(_3l._2G, 1)) {
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_Intro_Passing"), "", _Q8(_3l, _4l, "ui_Continue"), "", 332, global._Ll, 0.7);
} else {
if (yyfequal(_3l._1G, yyfminus(_sl(_3l._2G), 1))) {
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_Intro_SuccessPass"), "", _Q8(_3l, _4l, "ui_Continue"), "", 332, global._Ll, 0.7);
}
}
_3l._XD = 0;
_3l._NA = -1;
if (yyfnotequal(_il(_0m(_3l, _4l, 42)._1n, "op_drivedir"), 0)) {
_3l._NA = _il(_0m(_3l, _4l, 42)._1n, "op_drivedir");
}
_G7(_3l, _4l);
break;
}
}
}
function _F7(_3l, _4l) {
_4z("s_practice_running");
_3l._SD = _rn._up();
_3l._3C = 0 ? 1 : 0;
_3l._aB = yyfminus(1300, _sl(yyftime(yyftime(_sl(_3l._XD), 20), _sl(_3l._NA))));
_3l._aB = yyfplus(_3l._aB, yyftime(500, _sl(_3l._NA)));
_3l.__D = yyfplus(_sl(_3l._aB), _sl(yyftime(yyftime(_sl(_3l._ZD), 20), _sl(_3l._NA))));
_3l._bB = 300;
_J6(_3l, _4l);
var _jD = _Oq(0, 0, "Players", 50);
_Oq(0, 0, "Players", 50);
var _ZL = yyfplus(_sl(_0m(_3l, _4l, _jD).x), _sl(yyftime(60, _sl(_3l._NA))));
var _gL = _0m(_3l, _4l, _jD).y;
var _0u = 1;
for (; yyfless(_0u, 4); _0u++) {
{
_ZL = yyfplus(_ZL, yyftime(120, _sl(_3l._NA)));
_H7(_3l, _4l, _ZL, _gL, _YB(1.5, 1.5), 0, 40);
}
}
_I7(_3l, _4l, 2, 300, 250, 2000);
_I7(_3l, _4l, 3, 300, 350, 2000);
global._SA = _Oq(0, 0, "Ball", 52);
_Oq(0, 0, "Ball", 53);
{
var __L = _8l(49);
for (var _0M in __L) {
if (!__L.hasOwnProperty(_0M)) continue;
var _1M = __L[_0M];
if (_1M._bl) continue;
if (!_1M._cl) continue;
_37(_1M, _3l);
}
}
{
var _2M = _8l(48);
for (var _3M in _2M) {
if (!_2M.hasOwnProperty(_3M)) continue;
var _4M = _2M[_3M];
if (_4M._bl) continue;
if (!_4M._cl) continue;
{
_4M._WA = 1;
_4M._bq = 14;
_4M._uE = "";
_4M._vE = 0 ? 1 : 0;
_4M._eB = _Q8(_4M, _3l, "training_Running1");
if (yyGetBool(global._fB)) {
_4M._eB = _Q8(_4M, _3l, "training_Running1b");
}
}
}
}
}
function _G7(_3l, _4l) {
_4z("s_practice_passing");
_3l._SD = _rn._up();
_3l._3C = 0 ? 1 : 0;
_3l._aB = yyfplus(1300, _sl(yyftime(yyftime(_sl(_3l._XD), 20), _sl(_3l._NA))));
_3l.__D = yyfplus(_sl(_3l._aB), _sl(yyftime(yyftime(_sl(_3l._ZD), 20), _sl(_3l._NA))));
_3l._bB = 300;
_J6(_3l, _4l);
var _jD = _Oq(0, 0, "Players", 50);
var _aH = _Oq(0, 0, "Players", 50);
var _5M = _Oq(0, 0, "Players", 50);
var _6M = _Oq(0, 0, "Players", 50);
var _7M = _Oq(0, 0, "Players", 50);
var _8M = _Oq(0, 0, "Players", 50);
var _9M = _Oq(0, 0, "Players", 50);
var _aM = _Oq(0, 0, "Players", 50);
var _bM = _Oq(0, 0, "Players", 50);
_lp(_3l, _aH);
_lp(_3l, _6M);
_lp(_3l, _7M);
_lp(_3l, _8M);
_lp(_3l, _9M);
_lp(_3l, _aM);
{
var _cM = _8l(49);
for (var _dM in _cM) {
if (!_cM.hasOwnProperty(_dM)) continue;
var _eM = _cM[_dM];
if (_eM._bl) continue;
if (!_eM._cl) continue;
_37(_eM, _3l);
}
}
global._SA = _Oq(0, 0, "Ball", 52);
_Oq(0, 0, "Ball", 53);
{
var _fM = _8l(48);
for (var _gM in _fM) {
if (!_fM.hasOwnProperty(_gM)) continue;
var _hM = _fM[_gM];
if (_hM._bl) continue;
if (!_hM._cl) continue;
{
_hM._WA = 1;
_hM._bq = 14;
_hM._uE = "";
_hM._vE = 0 ? 1 : 0;
_hM._eB = _Q8(_hM, _3l, "training_Throw1");
}
}
}
}
function _H7(_3l, _4l, _5l, _Bq, _Cq, _zu, _Mw) {
var _ZL = _5l;
var _gL = _Bq;
var _iM = _Cq;
var _jM = _zu;
var _kM = _Mw;
var _lM = _Oq(0, 0, "Players", 58);
_0m(_3l, _4l, _lM)._kr(_ZL);
_0m(_3l, _4l, _lM)._Us(_gL);
_0m(_3l, _4l, _lM)._mM = _ZL;
_0m(_3l, _4l, _lM)._nM = _gL;
_0m(_3l, _4l, _lM)._oM = _iM;
_0m(_3l, _4l, _lM)._jM = _jM;
_0m(_3l, _4l, _lM)._kM = _kM;
_0m(_3l, _4l, _lM)._pM = yyfplus(250, _sl(_Sm(1250)));
}
function _I7(_3l, _4l, _5l, _Bq, _Cq, _zu) {
var _qM = _5l;
var _DF = _Bq;
var _Gy = _Cq;
var _ju = _zu;
var _gz = _Oq(_DF, _Gy, "Shadows", 59);
_0m(_3l, _4l, _gz)._rM = _qM;
_0m(_3l, _4l, _gz)._sM = _ju;
}
function _J7(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
var _tM = _FA(7, 1, 0);
_uM(_tM, _YB(0.8, 1.2));
}
function _K7(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
var _tM = _FA(12, 1, 0);
_uM(_tM, _YB(0.8, 1.2));
}
function _L7(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
var _tM = _FA(11, 1, 0);
_uM(_tM, _YB(0.8, 1.2));
}
function _M7(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
var _tM = _FA(0, 1, 0);
_uM(_tM, _YB(0.8, 1.2));
}
function _N7(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
var _tM = _FA(1, 1, 0);
_uM(_tM, _YB(0.8, 1.2));
}
function _O7(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
var _tM = _FA(5, 1, 0);
_uM(_tM, _YB(0.8, 1.2));
}
function _P7(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
if (yyfless(_rn._up(), yyfplus(_sl(global._vM), 50))) {
return;
}
var _bD = global._SA;
var _tM = _FA(13, 1, 0);
var _uC = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _bD).y);
_uC = _cm(yyfdivide(20, _sl(_uC)), 0, 2);
_uM(_tM, _YB(0.8, 1.2));
_EA(_tM, _uC, 0);
global._vM = _rn._up();
}
function _Q7(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
var _tM;
var _wM = _Sm(2);
var _xM = -1;
if (yyCompareVal(_wM, 0, g_GMLMathEpsilon) == 0) {
_xM = 0;
} else if (yyCompareVal(_wM, 1, g_GMLMathEpsilon) == 0) {
_xM = 1;
} else if (yyCompareVal(_wM, 2, g_GMLMathEpsilon) == 0) {
_xM = 2;
}
switch (_xM) {
case 0: {
_tM = _FA(8, 1, 0);
break;
}
case 1: {
_tM = _FA(9, 1, 0);
break;
}
case 2: {
_tM = _FA(10, 1, 0);
break;
}
}
var _bD = global._SA;
var _uC = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _bD).y);
_uC = _cm(yyfdivide(20, _sl(_uC)), 0, 2);
_uM(_tM, _YB(0.8, 1.2));
_EA(_tM, _uC, 0);
}
function _R7(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
var _bD = global._SA;
var _tM = _FA(12, 1, 0);
var _uC = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _bD).y);
_uC = _cm(yyfdivide(20, _sl(_uC)), 0, 2);
_uM(_tM, 1.5);
_EA(_tM, _uC, 0);
}
function _S7(_3l, _4l, _5l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
_FA(_5l, 1, 1);
}
function _T7(_3l, _4l, _5l, _Bq, _Cq, _zu, _Mw, _Nw, _Ow, _yM) {
var _Fq = _5l;
var _Gq = _Bq;
var _Hq = _Cq;
var _Iq = _zu;
var _zM = _Mw;
var _AM = _Nw;
var _BM = _Ow;
var __z = _yM;
var _CM = yyfminus(_sl(yyftime(_sl(_Qq()), 0.33)), 45);
var _DM = yyfminus(_sl(yyftime(_sl(_Qq()), 0.66)), 45);
var _EM = yyfminus(_sl(_Qq()), 128);
var _Nq = _Oq(0, 0, "PopUps", 5);
var _Pq = _Oq(yyftime(_sl(_Qq()), 0.5), 32, "PopUps", 0);
var _Ol = _Oq(yyftime(_sl(_Qq()), 0.5), yyftime(_sl(_Rq()), 0.5), "PopUps", 6);
var _Sq = _Oq(_CM, 224, "PopUps", 7);
var _Tq = _Oq(_DM, 224, "PopUps", 7);
if (yyGetBool(yyfgreater(_ku(_Hq), 10)) || yyGetBool(yyfgreater(_ku(_Iq), 10))) {
{
_lp(_3l, _Sq);
_lp(_3l, _Tq);
_Sq = _Oq(_CM, 224, "PopUps", 10);
_Tq = _Oq(_DM, 224, "PopUps", 10);
}
}
_0m(_3l, _4l, _Nq)._am = _BM;
_0m(_3l, _4l, _Nq)._0r = __z;
_0m(_3l, _4l, _Pq)._1r = 32;
_0m(_3l, _4l, _Pq)._2r = 0 ? 1 : 0;
if (yyGetBool(yyfequal(_Fq, _Q8(_3l, _4l, "ui_News"))) || yyGetBool(yyfequal(_Fq, _Q8(_3l, _4l, "ui_Tip")))) {
_0m(_3l, _4l, _Pq)._2r = 1 ? 1 : 0;
}
_0m(_3l, _4l, _Pq)._mm = _ul(_Fq);
_0m(_3l, _4l, _Ol)._mm = _Gq;
_0m(_3l, _4l, _Ol)._am = global._Ll;
_0m(_3l, _4l, _Sq)._mm = _Hq;
_0m(_3l, _4l, _Tq)._mm = _Iq;
_0m(_3l, _4l, _Sq)._4r = _zM;
_0m(_3l, _4l, _Tq)._4r = _AM;
_0m(_3l, _4l, _Pq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Ol)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Sq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Tq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
if (yyfequal(_Fq, "")) {
_0m(_3l, _4l, _Pq)._4a = 0 ? 1 : 0;
}
if (yyfequal(_Hq, "")) {
{
_0m(_3l, _4l, _Sq)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, _Tq)._kr(_EM);
}
}
if (yyfequal(_Iq, "")) {
{
_0m(_3l, _4l, _Tq)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, _Sq)._kr(_EM);
}
}
}
function _U7(_3l, _4l, _5l, _Bq, _Cq, _zu) {
var _Sw = _5l;
var _Gp = _Bq;
var _FM = _Cq;
var _Gq = _zu;
_A9(_3l, _4l, yyfplus("s_meter_change: ", _sl(_ul(_Sw))));
var _Nq = _Oq(0, 0, "PopUps", 5);
_0m(_3l, _4l, _Nq)._am = global._Ll;
_0m(_3l, _4l, _Nq)._0r = 1;
_0m(_3l, _4l, _Nq)._rx = _vp(_0m(_3l, _4l, _Nq)._rx, 882480689);
_0m(_3l, _4l, _Nq)._rx[_wp(0)] = 100;
_0m(_3l, _4l, _Nq)._FM = _FM;
var _GM = -4;
var _HM = _Sw;
var _IM = -1;
if (yyCompareVal(_HM, 1, g_GMLMathEpsilon) == 0) {
_IM = 0;
} else if (yyCompareVal(_HM, 2, g_GMLMathEpsilon) == 0) {
_IM = 1;
} else if (yyCompareVal(_HM, 3, g_GMLMathEpsilon) == 0) {
_IM = 2;
} else if (yyCompareVal(_HM, 4, g_GMLMathEpsilon) == 0) {
_IM = 3;
} else if (yyCompareVal(_HM, 5, g_GMLMathEpsilon) == 0) {
_IM = 4;
} else if (yyCompareVal(_HM, 6, g_GMLMathEpsilon) == 0) {
_IM = 5;
} else if (yyCompareVal(_HM, 7, g_GMLMathEpsilon) == 0) {
_IM = 6;
} else if (yyCompareVal(_HM, 8, g_GMLMathEpsilon) == 0) {
_IM = 7;
}
switch (_IM) {
case 0: {
_GM = _Oq(0, 0, "PopUps", 25);
_0m(_3l, _4l, _GM)._JM = _Gp;
break;
}
case 1: {
_GM = _Oq(0, 0, "PopUps", 27);
_0m(_3l, _4l, _GM)._JM = _Gp;
break;
}
case 2: {
_GM = _Oq(0, 0, "PopUps", 16);
_0m(_3l, _4l, _GM)._KM = _Gp;
_0m(_3l, _4l, _GM)._Bl = _0m(_3l, _4l, 42)._tn;
_0m(_3l, _4l, _GM)._6r = 0 ? 1 : 0;
break;
}
case 3: {
_GM = _Oq(0, 0, "PopUps", 21);
_0m(_3l, _4l, _GM)._JM = _Gp;
break;
}
case 4: {
_GM = _Oq(0, 0, "PopUps", 16);
_0m(_3l, _4l, _GM)._Bl = _0m(_3l, _4l, 42)._tn;
_0m(_3l, _4l, _GM)._LM = 1 ? 1 : 0;
_0m(_3l, _4l, _GM)._6r = 0 ? 1 : 0;
if (yyfless(_Gp, _il(_0m(_3l, _4l, _GM)._Bl, "attitude"))) {
_0m(_3l, _4l, _GM)._MM = 1;
} else {
if (yyfgreater(_Gp, _il(_0m(_3l, _4l, _GM)._Bl, "attitude"))) {
_0m(_3l, _4l, _GM)._MM = -1;
}
}
_0m(_3l, _4l, _Nq)._rx[_wp(0)] = 160;
break;
}
case 5: {
_GM = _Oq(0, 0, "PopUps", 18);
_0m(_3l, _4l, _GM)._NM = 1 ? 1 : 0;
_0m(_3l, _4l, _Nq)._rx[_wp(0)] = 160;
break;
}
case 6: {
_GM = _Oq(0, 0, "PopUps", 19);
_0m(_3l, _4l, _GM)._NM = 1 ? 1 : 0;
_0m(_3l, _4l, _Nq)._rx[_wp(0)] = 160;
break;
}
case 7: {
_GM = _Oq(0, 0, "PopUps", 20);
_0m(_3l, _4l, _GM)._fo = 1 ? 1 : 0;
_0m(_3l, _4l, _Nq)._rx[_wp(0)] = 160;
break;
}
}
_0m(_3l, _4l, _GM)._kr(yyfminus(_sl(yyftime(_sl(_rn._Ps), 0.5)), _sl(yyftime(_sl(_0m(_3l, _4l, _GM)._OM()), 0.5))));
_0m(_3l, _4l, _GM)._Us(yyfminus(_sl(yyftime(_sl(_rn._Rs), 0.5)), _sl(yyftime(_sl(_0m(_3l, _4l, _GM)._Vs()), 0.5))));
_0m(_3l, _4l, _GM)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
if (yyfnotequal(_Gq, "")) {
{
var _Ol = _Oq(yyftime(_sl(_Qq()), 0.5), yyftime(_sl(_Rq()), 0.5), "PopUps", 6);
_0m(_3l, _4l, _Ol)._mm = _Gq;
_0m(_3l, _4l, _Ol)._am = global._Ll;
_0m(_3l, _4l, _Ol)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
_0m(_3l, _4l, _Nq)._rx[_wp(0)] = 0;
_YK(0);
_ZK(1);
__K(1);
var _PM = yyfplus(8, _sl(_QM(_Gq, -1, _0m(_3l, _4l, _Ol)._3r)));
_0m(_3l, _4l, _GM)._Us(yyfplus(_sl(_0m(_3l, _4l, _Ol).y), _sl(_PM)));
var _Sq = _Oq(yyfminus(_sl(_Qq()), 128), 224, "PopUps", 7);
_0m(_3l, _4l, _Sq)._mm = _Q8(_3l, _4l, "ui_Continue");
_0m(_3l, _4l, _Sq)._4r = 330;
_0m(_3l, _4l, _Sq)._ir(yyfminus(_sl(_0m(_3l, _4l, _Nq)._jr()), 1));
}
}
}
function _V7(_3l, _4l) {
if (yyfgreaterequal(_06(_3l, _4l), 100)) {
_J2(_3l, _4l, "ACH_MORALE100");
}
{
var _RM = _8l(5);
for (var _SM in _RM) {
if (!_RM.hasOwnProperty(_SM)) continue;
var _TM = _RM[_SM];
if (_TM._bl) continue;
if (!_TM._cl) continue;
{
if (yyGetBool(_TM._FM)) {
_3m(_TM._FM);
} else {
if (yyfequal(_0m(_3l, _4l, 42)._1m, 2)) {
_3m(4);
} else {
_U5(_TM, _3l, 1);
}
}
}
}
}
}
function _W7(_3l, _4l, _5l) {
var _mm = _5l;
if (yyfequal(_UM(), -1)) {
return;
}
_A9(_3l, _4l, yyfplus("s_notification: ", _sl(_ul(_mm))));
var _VM = _Oq(0, 0, "PopUps", 32);
_0m(_3l, _4l, _VM)._ir(-100);
_0m(_3l, _4l, _VM)._Pq = yyfplus(_sl(_Q8(_3l, _4l, "ui_Achievement")), "!");
_0m(_3l, _4l, _VM)._mm = _mm;
_0m(_3l, _4l, _VM)._WM = 16777215;
_0m(_3l, _4l, _VM)._am = _kI(79, 143, 35);
if (yyfgreater(_el(_0m(_3l, _4l, 42)._XM), 0)) {
_0m(_3l, _4l, _VM)._4a = 0 ? 1 : 0;
}
_Cl(_0m(_3l, _4l, 42)._XM, _VM);
}
function _X7(_3l, _4l) {
if (yyGetBool(_DA(48))) {
{
{
var _YM = _8l(5);
for (var _ZM in _YM) {
if (!_YM.hasOwnProperty(_ZM)) continue;
var __M = _YM[_ZM];
if (__M._bl) continue;
if (!__M._cl) continue;
_lp(__M);
}
}
{
var _0N = _8l(0);
for (var _1N in _0N) {
if (!_0N.hasOwnProperty(_1N)) continue;
var _2N = _0N[_1N];
if (_2N._bl) continue;
if (!_2N._cl) continue;
if (yyfless(_2N._jr(), 0)) {
_lp(_2N);
}
}
}
{
var _3N = _8l(6);
for (var _4N in _3N) {
if (!_3N.hasOwnProperty(_4N)) continue;
var _5N = _3N[_4N];
if (_5N._bl) continue;
if (!_5N._cl) continue;
if (yyfless(_5N._jr(), 0)) {
_lp(_5N);
}
}
}
{
var _6N = _8l(7);
for (var _7N in _6N) {
if (!_6N.hasOwnProperty(_7N)) continue;
var _8N = _6N[_7N];
if (_8N._bl) continue;
if (!_8N._cl) continue;
if (yyfless(_8N._jr(), 0)) {
_lp(_8N);
}
}
}
{
var _9N = _8l(10);
for (var _aN in _9N) {
if (!_9N.hasOwnProperty(_aN)) continue;
var _bN = _9N[_aN];
if (_bN._bl) continue;
if (!_bN._cl) continue;
if (yyfless(_bN._jr(), 0)) {
_lp(_bN);
}
}
}
{
var _cN = _8l(32);
for (var _dN in _cN) {
if (!_cN.hasOwnProperty(_dN)) continue;
var _eN = _cN[_dN];
if (_eN._bl) continue;
if (!_eN._cl) continue;
if (yyfless(_eN._jr(), 0)) {
_lp(_eN);
}
}
}
}
} else {
{
{
var _fN = _8l(-3);
for (var _gN in _fN) {
if (!_fN.hasOwnProperty(_gN)) continue;
var _hN = _fN[_gN];
if (_hN._bl) continue;
if (!_hN._cl) continue;
if (yyflessequal(_hN._jr(), 0)) {
_lp(_hN);
}
}
}
}
}
}
function _Y7(_3l, _4l) {
{
var _iN = _8l(0);
for (var _jN in _iN) {
if (!_iN.hasOwnProperty(_jN)) continue;
var _kN = _iN[_jN];
if (_kN._bl) continue;
if (!_kN._cl) continue;
if (yyfless(_kN._jr(), 0)) {
_lp(_kN);
}
}
}
{
var _lN = _8l(5);
for (var _mN in _lN) {
if (!_lN.hasOwnProperty(_mN)) continue;
var _nN = _lN[_mN];
if (_nN._bl) continue;
if (!_nN._cl) continue;
_lp(_nN);
}
}
{
var _oN = _8l(7);
for (var _pN in _oN) {
if (!_oN.hasOwnProperty(_pN)) continue;
var _qN = _oN[_pN];
if (_qN._bl) continue;
if (!_qN._cl) continue;
if (yyfless(_qN._jr(), 0)) {
_lp(_qN);
}
}
}
{
var _rN = _8l(6);
for (var _sN in _rN) {
if (!_rN.hasOwnProperty(_sN)) continue;
var _tN = _rN[_sN];
if (_tN._bl) continue;
if (!_tN._cl) continue;
if (yyfless(_tN._jr(), 0)) {
_lp(_tN);
}
}
}
_18(_3l, _4l);
}
function _Z7(_3l, _4l, _5l) {
_Cl(_0m(_3l, _4l, 42)._hm, _5l);
_A9(_3l, _4l, yyfplus("Add news: ", _sl(_5l)));
}
function __7(_3l, _4l) {
{
var _uN = _8l(42);
for (var _vN in _uN) {
if (!_uN.hasOwnProperty(_vN)) continue;
var _wN = _uN[_vN];
if (_wN._bl) continue;
if (!_wN._cl) continue;
{
if (yyfgreater(_el(_wN._hm), 0)) {
{
_T7(_wN, _3l, _Q8(_wN, _3l, "ui_News"), _hl(_wN._hm, 0), "", _Q8(_wN, _3l, "ui_Continue"), "", 336, global._Ll, 1);
_El(_wN._hm, 0);
return;
}
}
}
}
}
_b6(_3l, _4l);
}
function _08(_3l, _4l) {
_X7(_3l, _4l);
if (yyfequal(_0m(_3l, _4l, 42)._1m, 1)) {
_25(_3l, _4l);
}
__7(_3l, _4l);
}
function _18(_3l, _4l) {
var _Ol = _Oq(0, 0, "PopUps", 54);
_0m(_3l, _4l, _Ol)._fo = 0 ? 1 : 0;
_0m(_3l, _4l, _Ol)._RK = 16777215;
_0m(_3l, _4l, _Ol)._rx = _vp(_0m(_3l, _4l, _Ol)._rx, 2633220098);
_0m(_3l, _4l, _Ol)._rx[_wp(0)] = 80;
var _sr = _Q8(_3l, _4l, "ui_DraftRound");
_sr = _Pl(_sr, "$num", _ul(_0m(_3l, _4l, 42)._Zn));
_0m(_3l, _4l, _Ol)._mm = _sr;
_0m(_3l, _4l, 42)._bt = 0 ? 1 : 0;
}
function _28(_3l, _4l) {
var _Ol = _Q8(_3l, _4l, "msg_StoreReview");
_Ol = _Pl(_Ol, "$num", _ul(5));
_vl(_0m(_3l, _4l, 42)._1n, "done_review_reward", 1);
_65(_3l, _4l);
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_No"), _Q8(_3l, _4l, "ui_Yes"), 332, 339, global._Ll, 1);
}
function _38(_3l, _4l) {
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 5);
_25(_3l, _4l);
_X7(_3l, _4l);
var _xN = _rn._lx();
var _yN = -1;
if (yyCompareVal(_xN, 3, g_GMLMathEpsilon) == 0) {
_yN = 0;
} else if (yyCompareVal(_xN, 4, g_GMLMathEpsilon) == 0) {
_yN = 1;
}
switch (_yN) {
case 0: {
_zN("https://apps.apple.com/app/retrobowl/id1478902583");
break;
}
case 1: {
_zN("https://play.google.com/store/apps/details?id=com.newstargames.retrobowl");
break;
}
default: {
_zN("https://www.newstargames.com");
break;
}
}
}
function _48(_3l, _4l, _5l, _Bq, _Cq, _zu) {
var _yn = _5l;
var _AN = _Bq;
var _BN = _Cq;
var _CN = _zu;
var _nm = _J9(_3l, _4l);
while (yyGetBool(_68(_3l, _4l, _nm))) {
_nm = _J9(_3l, _4l);
}
var _Bl = _Dq();
_vl(_Bl, "fname", _I9(_3l, _4l, 1));
_vl(_Bl, "lname", _nm);
_vl(_Bl, "position", _yn);
if (yyfequal(_AN, 0)) {
{
var _DN = _yn;
var _EN = -1;
if (yyCompareVal(_DN, 1, g_GMLMathEpsilon) == 0) {
_EN = 0;
} else if (yyCompareVal(_DN, 10, g_GMLMathEpsilon) == 0) {
_EN = 1;
}
switch (_EN) {
case 0: {
_vl(_Bl, "age", _Vm(22, 35));
break;
}
case 1: {
_vl(_Bl, "age", _Vm(22, 35));
break;
}
default: {
_vl(_Bl, "age", _Vm(22, 35));
break;
}
}
}
} else {
{
var _FN = _yn;
var _GN = -1;
if (yyCompareVal(_FN, 1, g_GMLMathEpsilon) == 0) {
_GN = 0;
} else if (yyCompareVal(_FN, 10, g_GMLMathEpsilon) == 0) {
_GN = 1;
}
switch (_GN) {
case 0: {
_vl(_Bl, "age", _cm(_AN, 21, 35));
break;
}
case 1: {
_vl(_Bl, "age", _cm(_AN, 21, 35));
break;
}
default: {
_vl(_Bl, "age", _cm(_AN, 21, 35));
break;
}
}
}
}
var _HN = 10;
var _IN = 10;
var _9s = 10;
var _JN = 10;
var _KN = _yn;
var _LN = -1;
if (yyCompareVal(_KN, 1, g_GMLMathEpsilon) == 0) {
_LN = 0;
} else if (yyCompareVal(_KN, 2, g_GMLMathEpsilon) == 0) {
_LN = 1;
} else if (yyCompareVal(_KN, 3, g_GMLMathEpsilon) == 0) {
_LN = 2;
} else if (yyCompareVal(_KN, 4, g_GMLMathEpsilon) == 0) {
_LN = 3;
} else if (yyCompareVal(_KN, 5, g_GMLMathEpsilon) == 0 || yyCompareVal(_KN, 6, g_GMLMathEpsilon) == 0) {
_LN = 4;
} else if (yyCompareVal(_KN, 7, g_GMLMathEpsilon) == 0) {
_LN = 5;
} else if (yyCompareVal(_KN, 8, g_GMLMathEpsilon) == 0 || yyCompareVal(_KN, 9, g_GMLMathEpsilon) == 0) {
_LN = 6;
} else if (yyCompareVal(_KN, 10, g_GMLMathEpsilon) == 0) {
_LN = 7;
}
switch (_LN) {
case 0: {
_HN = 6;
_IN = 10;
_9s = 10;
_vl(_Bl, "speed", _Vm(1, _HN));
_vl(_Bl, "strength", _Vm(1, _IN));
_vl(_Bl, "skill", _Vm(2, _9s));
_vl(_Bl, "stamina", _Vm(1, _JN));
break;
}
case 1: {
_HN = 10;
_IN = 8;
_9s = 6;
_JN = 8;
_vl(_Bl, "speed", _Vm(4, _HN));
_vl(_Bl, "strength", _Vm(2, _IN));
_vl(_Bl, "skill", _Vm(2, _9s));
_vl(_Bl, "stamina", _Vm(1, _JN));
break;
}
case 2: {
_HN = 7;
_IN = 8;
_9s = 8;
_JN = 10;
_vl(_Bl, "speed", _Vm(4, _HN));
_vl(_Bl, "strength", _Vm(2, _IN));
_vl(_Bl, "skill", _Vm(2, _9s));
_vl(_Bl, "stamina", _Vm(1, _JN));
break;
}
case 3: {
_HN = 10;
_IN = 6;
_9s = 10;
_JN = 8;
_vl(_Bl, "speed", _Vm(5, _HN));
_vl(_Bl, "strength", _Vm(2, _IN));
_vl(_Bl, "skill", _Vm(2, _9s));
_vl(_Bl, "stamina", _Vm(1, _JN));
break;
}
case 4: {
_HN = 4;
_IN = 10;
_9s = 10;
_vl(_Bl, "speed", _Vm(1, _HN));
_vl(_Bl, "strength", _Vm(5, _IN));
_vl(_Bl, "skill", _Vm(4, _9s));
_vl(_Bl, "stamina", _Vm(1, _JN));
break;
}
case 5: {
_HN = 6;
_IN = 8;
_9s = 8;
_vl(_Bl, "speed", _Vm(2, _HN));
_vl(_Bl, "strength", _Vm(2, _IN));
_vl(_Bl, "skill", _Vm(2, _9s));
_vl(_Bl, "stamina", _Vm(1, _JN));
break;
}
case 6: {
_HN = 8;
_IN = 6;
_9s = 8;
_vl(_Bl, "speed", _Vm(4, _HN));
_vl(_Bl, "strength", _Vm(2, _IN));
_vl(_Bl, "skill", _Vm(2, _9s));
_vl(_Bl, "stamina", _Vm(1, _JN));
break;
}
case 7: {
_HN = 5;
_IN = 10;
_9s = 10;
_vl(_Bl, "speed", _Vm(4, _HN));
_vl(_Bl, "strength", _Vm(2, _IN));
_vl(_Bl, "skill", _Vm(2, _9s));
_vl(_Bl, "stamina", _Vm(1, _JN));
break;
}
}
var _MN = _Vm(_BN, _CN);
for (var _NN = 0, _ON = yyGetInt32(5); _NN < _ON; _NN++) {
{
if (yyfless(_98(_3l, _4l, _Bl), _MN)) {
_vl(_Bl, "skill", _cm(yyfplus(_sl(_il(_Bl, "skill")), 1), 1, _9s));
}
if (yyfless(_98(_3l, _4l, _Bl), _MN)) {
_vl(_Bl, "strength", _cm(yyfplus(_sl(_il(_Bl, "strength")), 1), 1, _IN));
}
if (yyfless(_98(_3l, _4l, _Bl), _MN)) {
_vl(_Bl, "speed", _cm(yyfplus(_sl(_il(_Bl, "speed")), 1), 1, _HN));
}
if (yyfless(_98(_3l, _4l, _Bl), _MN)) {
_vl(_Bl, "stamina", _cm(yyfplus(_sl(_il(_Bl, "stamina")), 1), 1, _JN));
}
if (yyfgreater(_98(_3l, _4l, _Bl), _MN)) {
_vl(_Bl, "skill", _cm(yyfminus(_sl(_il(_Bl, "skill")), 1), 1, _9s));
}
if (yyfgreater(_98(_3l, _4l, _Bl), _MN)) {
_vl(_Bl, "strength", _cm(yyfminus(_sl(_il(_Bl, "strength")), 1), 1, _IN));
}
if (yyfgreater(_98(_3l, _4l, _Bl), _MN)) {
_vl(_Bl, "speed", _cm(yyfminus(_sl(_il(_Bl, "speed")), 1), 1, _HN));
}
if (yyfgreater(_98(_3l, _4l, _Bl), _MN)) {
_vl(_Bl, "stamina", _cm(yyfminus(_sl(_il(_Bl, "stamina")), 1), 1, _JN));
}
}
}
var _3p = _Vm(1, 3);
var _PN = _Vm(1, 100);
if (yyfequal(_il(_Bl, "age"), 21)) {
{
_PN = _Vm(40, 100);
_3p = 2;
}
}
_vl(_Bl, "attitude", _PN);
_vl(_Bl, "contract", _3p);
_vl(_Bl, "salary", _05(_3l, _4l, _Bl));
_vl(_Bl, "creditcost", 0);
_vl(_Bl, "xp", 0);
if (yyfgreater(_il(_Bl, "age"), 21)) {
_vl(_Bl, "xp", _Sm(99));
}
_vl(_Bl, "xp_level", _cm(yyfminus(_sl(_il(_Bl, "age")), 21), 1, 9));
_vl(_Bl, "xp_gain", 0);
_vl(_Bl, "skill_points", 0);
var _QN = yyftime(_sl(_cm(yyfminus(31, _sl(_il(_Bl, "age"))), 0, 10)), 0.4);
_vl(_Bl, "max_skill", _cm(yyfplus(_sl(_il(_Bl, "skill")), _sl(_Sm(_QN))), 1, _9s));
_vl(_Bl, "max_speed", _cm(yyfplus(_sl(_il(_Bl, "speed")), _sl(_Sm(_QN))), 1, _HN));
_vl(_Bl, "max_strength", _cm(yyfplus(_sl(_il(_Bl, "strength")), _sl(_Sm(_QN))), 1, _IN));
_vl(_Bl, "max_stamina", _cm(yyfplus(_sl(_il(_Bl, "stamina")), _sl(_Sm(_QN))), 1, _JN));
_vl(_Bl, "condition", _Vm(40, 100));
if (yyfequal(_il(_Bl, "age"), 21)) {
_vl(_Bl, "condition", _Vm(80, 100));
}
_vl(_Bl, "injury_week", 0);
_vl(_Bl, "resting", 0);
_vl(_Bl, "signed_year", 0);
_vl(_Bl, "teamid", -1);
_vl(_Bl, "outtrade_pick", 0);
_vl(_Bl, "intrade_pick", 0);
_vl(_Bl, "flash_time", 0);
_vl(_Bl, "meetingdone", 0);
_vl(_Bl, "stat_attempts", 0);
_vl(_Bl, "stat_complete", 0);
_vl(_Bl, "stat_yards", 0);
_vl(_Bl, "stat_longest", 0);
_vl(_Bl, "stat_touchdowns", 0);
_vl(_Bl, "stat_fumbles", 0);
_vl(_Bl, "stat_int", 0);
_vl(_Bl, "stat_sacks", 0);
_vl(_Bl, "stat_tackles", 0);
_vl(_Bl, "stat_rush_attempts", 0);
_vl(_Bl, "stat_rush_yards", 0);
_vl(_Bl, "stat_rush_longest", 0);
_vl(_Bl, "stat_rush_touchdowns", 0);
_vl(_Bl, "season_games", 0);
_vl(_Bl, "season_attempts", 0);
_vl(_Bl, "season_complete", 0);
_vl(_Bl, "season_yards", 0);
_vl(_Bl, "season_longest", 0);
_vl(_Bl, "season_touchdowns", 0);
_vl(_Bl, "season_fumbles", 0);
_vl(_Bl, "season_int", 0);
_vl(_Bl, "season_sacks", 0);
_vl(_Bl, "season_tackles", 0);
_vl(_Bl, "season_rush_attempts", 0);
_vl(_Bl, "season_rush_yards", 0);
_vl(_Bl, "season_rush_longest", 0);
_vl(_Bl, "season_rush_touchdowns", 0);
_vl(_Bl, "career_games", 0);
_vl(_Bl, "career_attempts", 0);
_vl(_Bl, "career_complete", 0);
_vl(_Bl, "career_yards", 0);
_vl(_Bl, "career_longest", 0);
_vl(_Bl, "career_touchdowns", 0);
_vl(_Bl, "career_fumbles", 0);
_vl(_Bl, "career_int", 0);
_vl(_Bl, "career_sacks", 0);
_vl(_Bl, "career_tackles", 0);
_vl(_Bl, "career_rush_attempts", 0);
_vl(_Bl, "career_rush_yards", 0);
_vl(_Bl, "career_rush_longest", 0);
_vl(_Bl, "career_rush_touchdowns", 0);
_vl(_Bl, "skin", _Sm(2));
var _RN = _il(_Bl, "position");
var _SN = -1;
if (yyCompareVal(_RN, 1, g_GMLMathEpsilon) == 0) {
_SN = 0;
} else if (yyCompareVal(_RN, 2, g_GMLMathEpsilon) == 0) {
_SN = 1;
} else if (yyCompareVal(_RN, 3, g_GMLMathEpsilon) == 0) {
_SN = 2;
} else if (yyCompareVal(_RN, 4, g_GMLMathEpsilon) == 0) {
_SN = 3;
} else if (yyCompareVal(_RN, 5, g_GMLMathEpsilon) == 0) {
_SN = 4;
} else if (yyCompareVal(_RN, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_RN, 7, g_GMLMathEpsilon) == 0 || yyCompareVal(_RN, 8, g_GMLMathEpsilon) == 0 || yyCompareVal(_RN, 9, g_GMLMathEpsilon) == 0) {
_SN = 5;
} else if (yyCompareVal(_RN, 10, g_GMLMathEpsilon) == 0) {
_SN = 6;
}
switch (_SN) {
case 0: {
if (yyGetBool(_Sm(1))) {
_vl(_Bl, "skin", 2);
}
break;
}
case 1: {
if (yyGetBool(_Sm(5))) {
_vl(_Bl, "skin", 0);
}
break;
}
case 2: {
if (yyGetBool(_Sm(1))) {
_vl(_Bl, "skin", 2);
}
break;
}
case 3: {
if (yyGetBool(_Sm(5))) {
_vl(_Bl, "skin", 0);
}
break;
}
case 4: {
break;
}
case 5: {
if (yyGetBool(_Sm(5))) {
_vl(_Bl, "skin", 0);
}
break;
}
case 6: {
if (yyGetBool(_Sm(5))) {
_vl(_Bl, "skin", 2);
}
break;
}
}
var _TN = _0m(_3l, _4l, 42)._Lt;
var _UN = _il(_Bl, "skin");
var _VN = -1;
if (yyCompareVal(_UN, 2, g_GMLMathEpsilon) == 0) {
_VN = 0;
} else if (yyCompareVal(_UN, 1, g_GMLMathEpsilon) == 0) {
_VN = 1;
} else if (yyCompareVal(_UN, 0, g_GMLMathEpsilon) == 0) {
_VN = 2;
}
switch (_VN) {
case 0: {
_TN = _0m(_3l, _4l, 42)._Lt;
break;
}
case 1: {
_TN = _0m(_3l, _4l, 42)._Mt;
break;
}
case 2: {
_TN = _0m(_3l, _4l, 42)._Nt;
break;
}
}
if (yyfequal(_WN(_TN, 0, 0, _XN(_TN), _YN(_TN)), 1)) {
{
_A9(_3l, _4l, "Clearing face grid");
_Xt(_TN, 0);
}
}
_D8(_3l, _4l, _Bl, _TN);
return _Bl;
}
function _58(_3l, _4l) {
{
var _ZN = _8l(42);
for (var __N in _ZN) {
if (!_ZN.hasOwnProperty(__N)) continue;
var _0O = _ZN[__N];
if (_0O._bl) continue;
if (!_0O._cl) continue;
{
_Fl(_0O._Um);
_0O._Um = _yl();
var _yn = 0;
var _Bl = _48(_0O, _3l, 1, 0, 2, 4);
_vl(_Bl, "signed_year", -1);
_vl(_Bl, "teamid", _0O._Fm);
if (yyfequal(_0O._sm, 1)) {
{
_vl(_Bl, "skill", 8);
_vl(_Bl, "strength", 3);
_vl(_Bl, "speed", 1);
_vl(_Bl, "stamina", 5);
_vl(_Bl, "max_skill", _il(_Bl, "skill"));
_vl(_Bl, "max_strength", _il(_Bl, "strength"));
_vl(_Bl, "max_speed", _il(_Bl, "speed"));
_vl(_Bl, "max_stamina", _il(_Bl, "stamina"));
}
}
_Cl(_0O._Um, _Bl);
var _Bl = _48(_0O, _3l, 2, 0, 2, 4);
_vl(_Bl, "signed_year", -1);
_vl(_Bl, "teamid", _0O._Fm);
_Cl(_0O._Um, _Bl);
var _Bl = _48(_0O, _3l, 4, 0, 2, 4);
_vl(_Bl, "signed_year", -1);
_vl(_Bl, "teamid", _0O._Fm);
_Cl(_0O._Um, _Bl);
var _Bl = _48(_0O, _3l, 10, 0, 2, 4);
_vl(_Bl, "signed_year", -1);
_vl(_Bl, "teamid", _0O._Fm);
_Cl(_0O._Um, _Bl);
var _Bl = _48(_0O, _3l, 6, 0, 2, 4);
_vl(_Bl, "signed_year", -1);
_vl(_Bl, "teamid", _0O._Fm);
_Cl(_0O._Um, _Bl);
if (yyfequal(_0O._sm, 1)) {
{
var _dl = 0;
for (; yyfless(_dl, yyfminus(_sl(_el(_0O._Um)), 1)); _dl++) {
{
var _Bl = _hl(_0O._Um, _dl);
if (yyfgreater(_il(_Bl, "age"), 33)) {
_vl(_Bl, "age", 33);
}
if (yyfless(_il(_Bl, "contract"), 2)) {
_vl(_Bl, "contract", 2);
}
}
}
}
}
}
}
}
}
function _68(_3l, _4l, _5l) {
var _Vn = _5l;
var _Is = 0;
for (; yyfless(_Is, _el(_0m(_3l, _4l, 42)._Um)); _Is++) {
{
var _Bl = _hl(_0m(_3l, _4l, 42)._Um, _Is);
if (yyfequal(_il(_Bl, "lname"), _Vn)) {
return 1;
}
}
}
var _Is = 0;
for (; yyfless(_Is, _el(_0m(_3l, _4l, 42)._Vo)); _Is++) {
{
var _Bl = _hl(_0m(_3l, _4l, 42)._Vo, _Is);
if (yyfequal(_il(_Bl, "lname"), _Vn)) {
return 1;
}
}
}
return 0;
}
function _78(_3l, _4l, _5l) {
var _yn = _5l;
var _Is = 0;
for (; yyfless(_Is, _el(_0m(_3l, _4l, 42)._Um)); _Is++) {
{
var _Bl = _hl(_0m(_3l, _4l, 42)._Um, _Is);
if (yyfequal(_il(_Bl, "position"), _yn)) {
return 1;
}
}
}
return 0;
}
function _88(_3l, _4l, _5l) {
var _1O = _5l;
if (yyGetBool(_1O)) {
{
var _dl = 1;
for (; yyfless(_dl, 11); _dl++) {
{
if (!yyGetBool(_78(_3l, _4l, _dl))) {
return;
}
}
}
}
}
var _yn = 0;
for (var _2O = 0, _3O = yyGetInt32(9); _2O < _3O; _2O++) {
{
_yn = _Vm(1, 10);
if (!yyGetBool(_78(_3l, _4l, _yn))) {
return _yn;
}
}
}
return _yn;
}
function _98(_3l, _4l, _5l) {
var _Bl = _5l;
var _CN = 0;
var _Yp = 0;
var _4O = _il(_Bl, "position");
var _5O = -1;
if (yyCompareVal(_4O, 1, g_GMLMathEpsilon) == 0) {
_5O = 0;
} else if (yyCompareVal(_4O, 2, g_GMLMathEpsilon) == 0) {
_5O = 1;
} else if (yyCompareVal(_4O, 3, g_GMLMathEpsilon) == 0) {
_5O = 2;
} else if (yyCompareVal(_4O, 4, g_GMLMathEpsilon) == 0) {
_5O = 3;
} else if (yyCompareVal(_4O, 5, g_GMLMathEpsilon) == 0) {
_5O = 4;
} else if (yyCompareVal(_4O, 6, g_GMLMathEpsilon) == 0) {
_5O = 5;
} else if (yyCompareVal(_4O, 7, g_GMLMathEpsilon) == 0) {
_5O = 6;
} else if (yyCompareVal(_4O, 8, g_GMLMathEpsilon) == 0) {
_5O = 7;
} else if (yyCompareVal(_4O, 9, g_GMLMathEpsilon) == 0) {
_5O = 8;
} else if (yyCompareVal(_4O, 10, g_GMLMathEpsilon) == 0) {
_5O = 9;
}
switch (_5O) {
case 0: {
_CN = 36;
break;
}
case 1: {
_CN = 34;
break;
}
case 2: {
_CN = 33;
break;
}
case 3: {
_CN = 36;
break;
}
case 4: {
_CN = 34;
break;
}
case 5: {
_CN = 34;
break;
}
case 6: {
_CN = 32;
break;
}
case 7: {
_CN = 32;
break;
}
case 8: {
_CN = 32;
break;
}
case 9: {
_CN = 35;
break;
}
}
_Yp = yyfplus(yyfplus(yyfplus(_sl(_il(_Bl, "stamina")), _sl(_il(_Bl, "speed"))), _sl(_il(_Bl, "strength"))), _sl(_il(_Bl, "skill")));
_Yp = round(yyftime(_sl(yyfdivide(_sl(_Yp), _sl(_CN))), 10));
if (yyGetBool(_Xn(_Bl, "max_stamina")) && yyGetBool(yyfgreaterequal(_Yp, _a8(_3l, _4l, _Bl)))) {
{
if (yyfless(_il(_Bl, "stamina"), _il(_Bl, "max_stamina"))) {
_Yp = yyfminus(_Yp, 1);
} else {
if (yyfless(_il(_Bl, "speed"), _il(_Bl, "max_speed"))) {
_Yp = yyfminus(_Yp, 1);
} else {
if (yyfless(_il(_Bl, "strength"), _il(_Bl, "max_strength"))) {
_Yp = yyfminus(_Yp, 1);
} else {
if (yyfless(_il(_Bl, "skill"), _il(_Bl, "max_skill"))) {
_Yp = yyfminus(_Yp, 1);
}
}
}
}
if (yyfless(_Yp, 1)) {
_Yp = 1;
}
}
}
return _Yp;
}
function _a8(_3l, _4l, _5l) {
var _Bl = _5l;
var _CN = 0;
var _Yp = 0;
var _6O = _il(_Bl, "position");
var _7O = -1;
if (yyCompareVal(_6O, 1, g_GMLMathEpsilon) == 0) {
_7O = 0;
} else if (yyCompareVal(_6O, 2, g_GMLMathEpsilon) == 0) {
_7O = 1;
} else if (yyCompareVal(_6O, 3, g_GMLMathEpsilon) == 0) {
_7O = 2;
} else if (yyCompareVal(_6O, 4, g_GMLMathEpsilon) == 0) {
_7O = 3;
} else if (yyCompareVal(_6O, 5, g_GMLMathEpsilon) == 0) {
_7O = 4;
} else if (yyCompareVal(_6O, 6, g_GMLMathEpsilon) == 0) {
_7O = 5;
} else if (yyCompareVal(_6O, 7, g_GMLMathEpsilon) == 0) {
_7O = 6;
} else if (yyCompareVal(_6O, 8, g_GMLMathEpsilon) == 0) {
_7O = 7;
} else if (yyCompareVal(_6O, 9, g_GMLMathEpsilon) == 0) {
_7O = 8;
} else if (yyCompareVal(_6O, 10, g_GMLMathEpsilon) == 0) {
_7O = 9;
}
switch (_7O) {
case 0: {
_CN = 36;
break;
}
case 1: {
_CN = 34;
break;
}
case 2: {
_CN = 33;
break;
}
case 3: {
_CN = 36;
break;
}
case 4: {
_CN = 34;
break;
}
case 5: {
_CN = 34;
break;
}
case 6: {
_CN = 32;
break;
}
case 7: {
_CN = 32;
break;
}
case 8: {
_CN = 32;
break;
}
case 9: {
_CN = 35;
break;
}
}
_Yp = yyfplus(yyfplus(yyfplus(_sl(_il(_Bl, "max_stamina")), _sl(_il(_Bl, "max_speed"))), _sl(_il(_Bl, "max_strength"))), _sl(_il(_Bl, "max_skill")));
return round(yyftime(_sl(yyfdivide(_sl(_Yp), _sl(_CN))), 10));
}
function _b8(_3l, _4l, _5l, _Bq) {
_A9(_3l, _4l, "s_sort_players");
var _wl = _5l;
var _8O = _Bq;
var _xl = _yl();
while (yyfgreater(_el(_wl), 0)) {
{
var _9O = -4;
var _aO = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_wl)); _dl++) {
{
var _Bl = _hl(_wl, _dl);
var _bO = _8O;
var _cO = -1;
if (yyCompareVal(_bO, 2, g_GMLMathEpsilon) == 0) {
_cO = 0;
} else if (yyCompareVal(_bO, 1, g_GMLMathEpsilon) == 0) {
_cO = 1;
} else if (yyCompareVal(_bO, 3, g_GMLMathEpsilon) == 0) {
_cO = 2;
} else if (yyCompareVal(_bO, 4, g_GMLMathEpsilon) == 0) {
_cO = 3;
}
switch (_cO) {
case 0: {
var _Yp = _98(_3l, _4l, _Bl);
if (yyGetBool(!yyGetBool(_9O)) || yyGetBool(yyfgreater(_Yp, _aO))) {
{
_9O = _Bl;
_aO = _Yp;
}
} else {
if (yyfequal(_Yp, _aO)) {
{
var _jB = _il(_Bl, "position");
if (yyfless(_jB, _il(_9O, "position"))) {
{
_9O = _Bl;
}
}
}
}
}
break;
}
case 1: {
var _Vn = _il(_Bl, "lname");
if (yyGetBool(!yyGetBool(_9O)) || yyGetBool(yyfless(_Vn, _il(_9O, "lname")))) {
{
_9O = _Bl;
}
}
break;
}
case 2: {
var _jB = _il(_Bl, "position");
if (yyGetBool(!yyGetBool(_9O)) || yyGetBool(yyfless(_jB, _il(_9O, "position")))) {
{
_9O = _Bl;
}
}
break;
}
case 3: {
var _kt = _il(_Bl, "salary");
if (yyGetBool(!yyGetBool(_9O)) || yyGetBool(yyfgreater(_kt, _il(_9O, "salary")))) {
{
_9O = _Bl;
}
}
break;
}
}
}
}
_Cl(_xl, _9O);
var _dl = _Dl(_wl, _9O);
_El(_wl, _dl);
}
}
_Fl(_wl);
return _xl;
}
function _c8(_3l, _4l, _5l, _Bq) {
var _yn = _5l;
var _dO = _Bq;
{
var _eO = _8l(42);
for (var _fO in _eO) {
if (!_eO.hasOwnProperty(_fO)) continue;
var _gO = _eO[_fO];
if (_gO._bl) continue;
if (!_gO._cl) continue;
{
var _rl = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_gO._Um)); _dl++) {
{
var _Bl = _hl(_gO._Um, _dl);
if (yyfequal(_il(_Bl, "position"), _yn)) {
{
_rl++;
if (yyfequal(_rl, _dO)) {
return _Bl;
}
}
}
}
}
}
}
}
return -4;
}
function _d8(_3l, _4l, _5l) {
var _nm = _5l;
{
var _hO = _8l(42);
for (var _iO in _hO) {
if (!_hO.hasOwnProperty(_iO)) continue;
var _jO = _hO[_iO];
if (_jO._bl) continue;
if (!_jO._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_jO._Um)); _dl++) {
{
var _Bl = _hl(_jO._Um, _dl);
if (yyfequal(_il(_Bl, "lname"), _nm)) {
return _Bl;
}
}
}
}
}
}
return -4;
}
function _e8(_3l, _4l, _5l) {
var _kO = _5l;
{
var _lO = _8l(42);
for (var _mO in _lO) {
if (!_lO.hasOwnProperty(_mO)) continue;
var _nO = _lO[_mO];
if (_nO._bl) continue;
if (!_nO._cl) continue;
{
if (yyGetBool(_kO)) {
return _hl(_nO._Um, _Sm(yyfminus(_sl(_el(_nO._Um)), 1)));
}
_sq(_nO._Um);
var _dl = 0;
for (; yyfless(_dl, _el(_nO._Um)); _dl++) {
{
var _Bl = _hl(_nO._Um, _dl);
if (yyGetBool(yyfgreater(_il(_Bl, "condition"), 0)) && yyGetBool(!yyGetBool(_il(_Bl, "resting")))) {
return _Bl;
}
}
}
}
}
}
return -4;
}
function _f8(_3l, _4l, _5l, _Bq) {
var _kO = _5l;
var _yn = _Bq;
{
var _oO = _8l(42);
for (var _pO in _oO) {
if (!_oO.hasOwnProperty(_pO)) continue;
var _qO = _oO[_pO];
if (_qO._bl) continue;
if (!_qO._cl) continue;
{
_sq(_qO._Um);
var _dl = 0;
for (; yyfless(_dl, _el(_qO._Um)); _dl++) {
{
var _Bl = _hl(_qO._Um, _dl);
if (!yyGetBool(_kO)) {
{
if (yyGetBool(yyflessequal(_il(_Bl, "condition"), 0)) || yyGetBool(_il(_Bl, "resting"))) {
continue;
}
}
}
if (yyfequal(_il(_Bl, "position"), _yn)) {
return _Bl;
}
}
}
}
}
}
return -4;
}
function _g8(_3l, _4l, _5l) {
var _kO = _5l;
if (yyGetBool(_kO)) {
return _hl(_0m(_3l, _4l, 42)._Um, _Sm(yyfminus(_sl(_3l._Wr), 1)));
}
{
var _rO = _8l(42);
for (var _sO in _rO) {
if (!_rO.hasOwnProperty(_sO)) continue;
var _tO = _rO[_sO];
if (_tO._bl) continue;
if (!_tO._cl) continue;
{
_sq(_tO._Um);
var _dl = 0;
for (; yyfless(_dl, _el(_tO._Um)); _dl++) {
{
var _Bl = _hl(_tO._Um, _dl);
if (yyGetBool(yyfgreater(_il(_Bl, "condition"), 0)) && yyGetBool(!yyGetBool(_il(_Bl, "resting"))) && yyGetBool(_o8(_tO, _3l, _Bl))) {
return _Bl;
}
}
}
}
}
}
return -4;
}
function _h8(_3l, _4l, _5l) {
var _kO = _5l;
if (yyGetBool(_kO)) {
return _hl(_0m(_3l, _4l, 42)._Um, _Sm(yyfminus(_sl(_3l._Wr), 1)));
}
{
var _uO = _8l(42);
for (var _vO in _uO) {
if (!_uO.hasOwnProperty(_vO)) continue;
var _wO = _uO[_vO];
if (_wO._bl) continue;
if (!_wO._cl) continue;
{
_sq(_wO._Um);
var _dl = 0;
for (; yyfless(_dl, _el(_wO._Um)); _dl++) {
{
var _Bl = _hl(_wO._Um, _dl);
if (yyGetBool(yyfgreater(_il(_Bl, "condition"), 0)) && yyGetBool(!yyGetBool(_il(_Bl, "resting"))) && yyGetBool(_n8(_wO, _3l, _Bl))) {
return _Bl;
}
}
}
}
}
}
return -4;
}
function _i8(_3l, _4l) {
{
var _xO = _8l(42);
for (var _yO in _xO) {
if (!_xO.hasOwnProperty(_yO)) continue;
var _zO = _xO[_yO];
if (_zO._bl) continue;
if (!_zO._cl) continue;
return _hl(_zO._Vo, _Sm(yyfminus(_sl(_el(_zO._Vo)), 1)));
}
}
}
function _j8(_3l, _4l, _5l) {
var _yn = _5l;
var _rl = 0;
{
var _AO = _8l(42);
for (var _BO in _AO) {
if (!_AO.hasOwnProperty(_BO)) continue;
var _CO = _AO[_BO];
if (_CO._bl) continue;
if (!_CO._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_CO._Um)); _dl++) {
{
var _Bl = _hl(_CO._Um, _dl);
if (yyfequal(_il(_Bl, "position"), _yn)) {
_rl++;
}
}
}
}
}
}
return _rl;
}
function _k8(_3l, _4l, _5l) {
var _DO = _5l;
var _EO = -1;
if (
yyCompareVal(_DO, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_DO, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_DO, 3, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_DO, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_DO, 4, g_GMLMathEpsilon) == 0
) {
_EO = 0;
} else if (yyCompareVal(_DO, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_DO, 7, g_GMLMathEpsilon) == 0 || yyCompareVal(_DO, 9, g_GMLMathEpsilon) == 0 || yyCompareVal(_DO, 8, g_GMLMathEpsilon) == 0) {
_EO = 1;
} else if (yyCompareVal(_DO, 11, g_GMLMathEpsilon) == 0 || yyCompareVal(_DO, 10, g_GMLMathEpsilon) == 0) {
_EO = 2;
} else if (yyCompareVal(_DO, 101, g_GMLMathEpsilon) == 0) {
_EO = 3;
} else if (yyCompareVal(_DO, 102, g_GMLMathEpsilon) == 0) {
_EO = 4;
}
switch (_EO) {
case 0: {
return global._FO;
break;
}
case 1: {
return global._GO;
break;
}
case 2: {
return global._HO;
break;
}
case 3: {
return global._GO;
break;
}
case 4: {
return global._FO;
break;
}
}
return global._bm;
}
function _l8(_3l, _4l, _5l, _Bq) {
var _Bl = _5l;
var _IO = _Bq;
if (yyGetBool(_m8(_3l, _4l, _Bl))) {
return;
}
var _JO = _IO;
var _KO = -1;
if (yyCompareVal(_JO, 1, g_GMLMathEpsilon) == 0) {
_KO = 0;
} else if (yyCompareVal(_JO, 2, g_GMLMathEpsilon) == 0) {
_KO = 1;
} else if (yyCompareVal(_JO, 3, g_GMLMathEpsilon) == 0) {
_KO = 2;
} else if (yyCompareVal(_JO, 4, g_GMLMathEpsilon) == 0) {
_KO = 3;
}
switch (_KO) {
case 0: {
if (yyfless(_il(_Bl, "skill"), _il(_Bl, "max_skill"))) {
{
_vl(_Bl, "skill", yyfplus(_sl(_il(_Bl, "skill")), 1));
_FB(_Bl, "skill_points", yyfminus(_sl(_il(_Bl, "skill_points")), 1));
}
}
break;
}
case 1: {
if (yyfless(_il(_Bl, "speed"), _il(_Bl, "max_speed"))) {
{
_vl(_Bl, "speed", yyfplus(_sl(_il(_Bl, "speed")), 1));
_FB(_Bl, "skill_points", yyfminus(_sl(_il(_Bl, "skill_points")), 1));
}
}
break;
}
case 2: {
if (yyfless(_il(_Bl, "strength"), _il(_Bl, "max_strength"))) {
{
_vl(_Bl, "strength", yyfplus(_sl(_il(_Bl, "strength")), 1));
_FB(_Bl, "skill_points", yyfminus(_sl(_il(_Bl, "skill_points")), 1));
}
}
break;
}
case 3: {
if (yyfless(_il(_Bl, "stamina"), _il(_Bl, "max_stamina"))) {
{
_vl(_Bl, "stamina", yyfplus(_sl(_il(_Bl, "stamina")), 1));
_FB(_Bl, "skill_points", yyfminus(_sl(_il(_Bl, "skill_points")), 1));
}
}
break;
}
}
}
function _m8(_3l, _4l, _5l) {
var _Bl = _5l;
if (yyfless(_il(_Bl, "skill"), _il(_Bl, "max_skill"))) {
return 0;
}
if (yyfless(_il(_Bl, "speed"), _il(_Bl, "max_speed"))) {
return 0;
}
if (yyfless(_il(_Bl, "strength"), _il(_Bl, "max_strength"))) {
return 0;
}
if (yyfless(_il(_Bl, "stamina"), _il(_Bl, "max_stamina"))) {
return 0;
}
return 1;
}
function _n8(_3l, _4l, _5l) {
var _Bl = _5l;
var _LO = _il(_Bl, "position");
var _MO = -1;
if (
yyCompareVal(_LO, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 3, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 4, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 102, g_GMLMathEpsilon) == 0
) {
_MO = 0;
} else if (
yyCompareVal(_LO, 6, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 7, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 8, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 9, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 10, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_LO, 101, g_GMLMathEpsilon) == 0
) {
_MO = 1;
}
switch (_MO) {
case 0: {
return 1;
}
case 1: {
return 0;
}
}
return 0;
}
function _o8(_3l, _4l, _5l) {
var _Bl = _5l;
var _NO = _il(_Bl, "position");
var _OO = -1;
if (
yyCompareVal(_NO, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_NO, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_NO, 3, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_NO, 4, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_NO, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_NO, 10, g_GMLMathEpsilon) == 0
) {
_OO = 0;
} else if (yyCompareVal(_NO, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_NO, 7, g_GMLMathEpsilon) == 0 || yyCompareVal(_NO, 8, g_GMLMathEpsilon) == 0 || yyCompareVal(_NO, 9, g_GMLMathEpsilon) == 0) {
_OO = 1;
}
switch (_OO) {
case 0: {
return 0;
}
case 1: {
return 1;
}
}
return 0;
}
function _p8(_3l, _4l, _5l, _Bq, _Cq) {
var _Bl = _5l;
var _qM = "stat_";
var _PO = _Bq;
var _QO = -1;
if (yyCompareVal(_PO, 0, g_GMLMathEpsilon) == 0) {
_QO = 0;
} else if (yyCompareVal(_PO, 1, g_GMLMathEpsilon) == 0) {
_QO = 1;
} else if (yyCompareVal(_PO, 2, g_GMLMathEpsilon) == 0) {
_QO = 2;
}
switch (_QO) {
case 0: {
_qM = "stat_";
break;
}
case 1: {
_qM = "season_";
break;
}
case 2: {
_qM = "career_";
break;
}
}
if (yyGetBool(_Cq)) {
_qM = yyfplus(_qM, "rush_");
}
var _RO = _il(_Bl, "position");
var _SO = -1;
if (yyCompareVal(_RO, 2, g_GMLMathEpsilon) == 0 || yyCompareVal(_RO, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_RO, 4, g_GMLMathEpsilon) == 0) {
_SO = 0;
}
switch (_SO) {
case 0: {
if (yyGetBool(_il(_Bl, yyfplus(_sl(_qM), "attempts")))) {
return yyfdivide(_sl(round(_il(_Bl, yyfplus(_sl(_qM), "yards")))), _sl(_il(_Bl, yyfplus(_sl(_qM), "attempts"))));
}
break;
}
default: {
if (yyGetBool(_il(_Bl, yyfplus(_sl(_qM), "complete")))) {
return yyfdivide(_sl(round(_il(_Bl, yyfplus(_sl(_qM), "yards")))), _sl(_il(_Bl, yyfplus(_sl(_qM), "complete"))));
}
break;
}
}
return 0;
}
function _q8(_3l, _4l, _5l, _Bq) {
var _Bl = _5l;
var _TO = _Bq;
var _UO = _TO;
var _VO = -1;
if (yyCompareVal(_UO, 0, g_GMLMathEpsilon) == 0) {
_VO = 0;
} else if (yyCompareVal(_UO, 1, g_GMLMathEpsilon) == 0) {
_VO = 1;
}
switch (_VO) {
case 0: {
return yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname")));
break;
}
case 1: {
return yyfplus(yyfplus(_sl(_wr(_il(_Bl, "fname"), 1, 1)), "."), _sl(_il(_Bl, "lname")));
break;
}
}
}
function _r8(_3l, _4l, _5l) {
var _WO = _26(_3l, _4l, _il(_5l, "attitude"));
var _XO = -1;
if (yyCompareVal(_WO, 0, g_GMLMathEpsilon) == 0) {
_XO = 0;
} else if (yyCompareVal(_WO, 1, g_GMLMathEpsilon) == 0) {
_XO = 1;
} else if (yyCompareVal(_WO, 2, g_GMLMathEpsilon) == 0) {
_XO = 2;
} else if (yyCompareVal(_WO, 3, g_GMLMathEpsilon) == 0) {
_XO = 3;
} else if (yyCompareVal(_WO, 4, g_GMLMathEpsilon) == 0) {
_XO = 4;
} else if (yyCompareVal(_WO, 5, g_GMLMathEpsilon) == 0) {
_XO = 5;
} else if (yyCompareVal(_WO, 6, g_GMLMathEpsilon) == 0) {
_XO = 6;
}
switch (_XO) {
case 0: {
return 5;
break;
}
case 1: {
return 4;
break;
}
case 2: {
return 3;
break;
}
case 3: {
return 2;
break;
}
case 4: {
return 1;
break;
}
case 5: {
return 2;
break;
}
case 6: {
return 99;
break;
}
}
}
function _s8(_3l, _4l, _5l) {
var _Bl = _5l;
var _YO = 0;
var _yn = _il(_Bl, "position");
_YO = yyfminus(_YO, _il(_Bl, "stat_fumbles"));
var _ZO = _yn;
var __O = -1;
if (yyCompareVal(_ZO, 1, g_GMLMathEpsilon) == 0) {
__O = 0;
} else if (yyCompareVal(_ZO, 5, g_GMLMathEpsilon) == 0) {
__O = 1;
} else if (yyCompareVal(_ZO, 4, g_GMLMathEpsilon) == 0) {
__O = 2;
} else if (yyCompareVal(_ZO, 3, g_GMLMathEpsilon) == 0) {
__O = 3;
} else if (yyCompareVal(_ZO, 2, g_GMLMathEpsilon) == 0) {
__O = 4;
} else if (yyCompareVal(_ZO, 10, g_GMLMathEpsilon) == 0) {
__O = 5;
} else if (yyCompareVal(_ZO, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_ZO, 7, g_GMLMathEpsilon) == 0 || yyCompareVal(_ZO, 8, g_GMLMathEpsilon) == 0 || yyCompareVal(_ZO, 9, g_GMLMathEpsilon) == 0) {
__O = 6;
}
switch (__O) {
case 0: {
_YO = yyfplus(_YO, _il(_Bl, "stat_touchdowns"));
_YO = yyfplus(_YO, _il(_Bl, "stat_rush_touchdowns"));
_YO = yyfminus(_YO, _il(_Bl, "stat_int"));
_YO = yyfminus(_YO, _il(_Bl, "stat_sacks"));
_YO = yyfplus(_YO, yyfdivide(_sl(_il(_Bl, "stat_yards")), 50));
_YO = yyfplus(_YO, yyfdivide(_sl(_il(_Bl, "stat_rush_yards")), 25));
break;
}
case 1: {
_YO = yyfplus(_YO, yyftime(_sl(_il(_Bl, "stat_tackles")), 0.5));
break;
}
case 2: {
_YO = yyfplus(_YO, _il(_Bl, "stat_tackles"));
_YO = yyfplus(_YO, _il(_Bl, "stat_touchdowns"));
_YO = yyfplus(_YO, yyfdivide(_sl(_il(_Bl, "stat_yards")), 25));
break;
}
case 3: {
_YO = yyfplus(_YO, yyftime(_sl(_il(_Bl, "stat_tackles")), 2));
_YO = yyfplus(_YO, yyftime(_sl(_il(_Bl, "stat_touchdowns")), 3));
_YO = yyfplus(_YO, yyfdivide(_sl(_il(_Bl, "stat_yards")), 5));
break;
}
case 4: {
_YO = yyfplus(_YO, _il(_Bl, "stat_tackles"));
_YO = yyfplus(_YO, yyftime(_sl(_il(_Bl, "stat_touchdowns")), 3));
_YO = yyfplus(_YO, yyfdivide(_sl(_il(_Bl, "stat_yards")), 15));
_YO = yyfplus(_YO, yyftime(_sl(_il(_Bl, "stat_rush_touchdowns")), 2));
_YO = yyfplus(_YO, yyfdivide(_sl(_il(_Bl, "stat_rush_yards")), 15));
break;
}
case 5: {
_YO = 5;
if (yyGetBool(_il(_Bl, "stat_attempts"))) {
{
_YO = 4;
_YO = yyfplus(_YO, yyftime(_sl(_il(_Bl, "stat_complete")), 2));
_YO = yyfminus(_YO, yyfminus(_sl(_il(_Bl, "stat_attempts")), _sl(_il(_Bl, "stat_complete"))));
if (yyfgreater(_il(_Bl, "stat_longest"), 40)) {
_YO = yyfplus(_YO, yyfplus(_sl(_il(_Bl, "stat_complete")), 2));
} else {
if (yyfgreater(_il(_Bl, "stat_longest"), 30)) {
_YO = yyfplus(_YO, yyfplus(_sl(_il(_Bl, "stat_complete")), 1));
}
}
}
}
break;
}
case 6: {
_YO = yyfplus(_YO, yyftime(_sl(_il(_Bl, "stat_tackles")), 1.5));
_YO = yyfplus(_YO, yyftime(_sl(_il(_Bl, "stat_int")), 2));
_YO = yyfplus(_YO, yyftime(_sl(_il(_Bl, "stat_sacks")), 2));
break;
}
}
if (yyfgreaterequal(_YO, 10)) {
{
if (yyfgreater(_il(_Bl, "stat_fumbles"), 0)) {
_YO = 9;
}
if (yyfequal(_yn, 1)) {
{
if (yyfgreater(_il(_Bl, "stat_int"), 0)) {
_YO = 9;
}
if (yyfgreater(_il(_Bl, "stat_sacks"), 0)) {
_YO = 9;
}
}
}
}
}
return _cm(round(_YO), 1, 10);
}
function _t8(_3l, _4l, _5l) {
var _0P = _5l;
{
var _1P = _8l(42);
for (var _2P in _1P) {
if (!_1P.hasOwnProperty(_2P)) continue;
var _3P = _1P[_2P];
if (_3P._bl) continue;
if (!_3P._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_3P._Um)); _dl++) {
{
var _Bl = _hl(_3P._Um, _dl);
_vl(_Bl, "stat_attempts", 0);
_vl(_Bl, "stat_complete", 0);
_vl(_Bl, "stat_yards", 0);
_vl(_Bl, "stat_longest", 0);
_vl(_Bl, "stat_touchdowns", 0);
_vl(_Bl, "stat_fumbles", 0);
_vl(_Bl, "stat_int", 0);
_vl(_Bl, "stat_sacks", 0);
_vl(_Bl, "stat_tackles", 0);
_vl(_Bl, "stat_rush_attempts", 0);
_vl(_Bl, "stat_rush_yards", 0);
_vl(_Bl, "stat_rush_longest", 0);
_vl(_Bl, "stat_rush_touchdowns", 0);
if (yyGetBool(_0P)) {
{
_vl(_Bl, "season_games", 0);
_vl(_Bl, "season_attempts", 0);
_vl(_Bl, "season_complete", 0);
_vl(_Bl, "season_yards", 0);
_vl(_Bl, "season_longest", 0);
_vl(_Bl, "season_touchdowns", 0);
_vl(_Bl, "season_fumbles", 0);
_vl(_Bl, "season_int", 0);
_vl(_Bl, "season_sacks", 0);
_vl(_Bl, "season_tackles", 0);
_vl(_Bl, "season_rush_attempts", 0);
_vl(_Bl, "season_rush_yards", 0);
_vl(_Bl, "season_rush_longest", 0);
_vl(_Bl, "season_rush_touchdowns", 0);
}
}
}
}
}
}
}
}
function _u8(_3l, _4l, _5l, _Bq) {
var _4P = _5l;
var _5P = _Bq;
{
var _6P = _8l(42);
for (var _7P in _6P) {
if (!_6P.hasOwnProperty(_7P)) continue;
var _8P = _6P[_7P];
if (_8P._bl) continue;
if (!_8P._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_8P._Um)); _dl++) {
{
var _Bl = _hl(_8P._Um, _dl);
_vl(_Bl, "attitude", _cm(yyfplus(_sl(_il(_Bl, "attitude")), _sl(_Vm(_4P, _5P))), 1, 100));
}
}
}
}
}
}
function _v8(_3l, _4l, _5l, _Bq) {
var _4P = _5l;
var _5P = _Bq;
{
var _9P = _8l(42);
for (var _aP in _9P) {
if (!_9P.hasOwnProperty(_aP)) continue;
var _bP = _9P[_aP];
if (_bP._bl) continue;
if (!_bP._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_bP._Um)); _dl++) {
{
var _Bl = _hl(_bP._Um, _dl);
_vl(_Bl, "attitude", _cm(_Vm(_4P, _5P), 1, 100));
}
}
}
}
}
}
function _w8(_3l, _4l) {
{
var _cP = _8l(42);
for (var _dP in _cP) {
if (!_cP.hasOwnProperty(_dP)) continue;
var _eP = _cP[_dP];
if (_eP._bl) continue;
if (!_eP._cl) continue;
{
var _fP = _H8(_eP, _3l, 102);
var _gP = _H8(_eP, _3l, 101);
var _hP = 0 ? 1 : 0;
var _iP = 0 ? 1 : 0;
if (yyfequal(_il(_fP, "trait"), 4)) {
_hP = 1 ? 1 : 0;
}
if (yyfequal(_il(_gP, "trait"), 4)) {
_iP = 1 ? 1 : 0;
}
var _dl = 0;
for (; yyfless(_dl, _el(_eP._Um)); _dl++) {
{
var _Bl = _hl(_eP._Um, _dl);
if (yyflessequal(_il(_Bl, "attitude"), 15)) {
{
if (yyGetBool(_n8(_eP, _3l, _Bl))) {
{
if (!yyGetBool(_hP)) {
{
var _dl = 0;
for (; yyfless(_dl, _el(_eP._Um)); _dl++) {
{
var _jP = _hl(_eP._Um, _dl);
if (yyfgreater(_il(_jP, "attitude"), 30)) {
_vl(_jP, "attitude", yyfminus(_sl(_il(_jP, "attitude")), _sl(_Vm(0, 2))));
}
}
}
}
}
}
} else {
{
if (!yyGetBool(_iP)) {
{
var _dl = 0;
for (; yyfless(_dl, _el(_eP._Um)); _dl++) {
{
var _jP = _hl(_eP._Um, _dl);
if (yyfgreater(_il(_jP, "attitude"), 30)) {
_vl(_jP, "attitude", yyfminus(_sl(_il(_jP, "attitude")), _sl(_Vm(0, 2))));
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
function _x8(_3l, _4l) {
{
var _kP = _8l(42);
for (var _lP in _kP) {
if (!_kP.hasOwnProperty(_lP)) continue;
var _mP = _kP[_lP];
if (_mP._bl) continue;
if (!_mP._cl) continue;
{
_A9(_mP, _3l, "s_match_rating_effect_on_morale");
var _dl = 0;
for (; yyfless(_dl, _el(_mP._Um)); _dl++) {
{
var _Bl = _hl(_mP._Um, _dl);
var _jx = _s8(_mP, _3l, _Bl);
if (yyGetBool(yyfgreater(_il(_Bl, "condition"), 0)) && yyGetBool(!yyGetBool(_il(_Bl, "resting")))) {
{
_A9(_mP, _3l, yyfplus(yyfplus(_sl(_il(_Bl, "lname")), " Rating = "), _sl(_ul(_jx))));
_A9(_mP, _3l, yyfplus("Attitude was = ", _sl(_ul(_il(_Bl, "attitude")))));
if (yyfless(_jx, 5)) {
{
_vl(_Bl, "attitude", _cm(yyfminus(_sl(_il(_Bl, "attitude")), 2), 1, 100));
}
} else {
if (yyfgreater(_jx, 8)) {
{
_vl(_Bl, "attitude", _cm(yyfplus(_sl(_il(_Bl, "attitude")), 2), 1, 100));
}
}
}
_A9(_mP, _3l, yyfplus("Attitude now = ", _sl(_ul(_il(_Bl, "attitude")))));
}
}
}
}
}
}
}
}
function _y8(_3l, _4l) {
{
var _nP = _8l(42);
for (var _oP in _nP) {
if (!_nP.hasOwnProperty(_oP)) continue;
var _pP = _nP[_oP];
if (_pP._bl) continue;
if (!_pP._cl) continue;
{
var _uG = _H8(_pP, _3l, 102);
var _vG = _H8(_pP, _3l, 101);
var _dl = 0;
for (; yyfless(_dl, _el(_pP._Um)); _dl++) {
{
var _Bl = _hl(_pP._Um, _dl);
if (yyGetBool(yyfequal(_il(_uG, "trait"), 8)) && yyGetBool(_n8(_pP, _3l, _Bl))) {
continue;
} else {
if (yyGetBool(yyfequal(_il(_vG, "trait"), 8)) && yyGetBool(!yyGetBool(_n8(_pP, _3l, _Bl)))) {
continue;
}
}
if (yyGetBool(yyflessequal(_il(_Bl, "condition"), -1)) && yyGetBool(yyfgreater(_il(_Bl, "attitude"), 60))) {
_vl(_Bl, "attitude", _cm(yyfplus(yyfminus(_sl(_il(_Bl, "attitude")), 1), _sl(_Sm(5))), 1, 100));
}
}
}
}
}
}
}
function _z8(_3l, _4l, _5l, _Bq) {
var _Mp = _5l;
var _qP = _Bq;
{
var _rP = _8l(42);
for (var _sP in _rP) {
if (!_rP.hasOwnProperty(_sP)) continue;
var _tP = _rP[_sP];
if (_tP._bl) continue;
if (!_tP._cl) continue;
{
var _uG = _H8(_tP, _3l, 102);
var _vG = _H8(_tP, _3l, 101);
var _dl = 0;
for (; yyfless(_dl, _el(_tP._Um)); _dl++) {
{
var _Bl = _hl(_tP._Um, _dl);
var _9x = _il(_Bl, "condition");
if (yyfless(_9x, 0)) {
{
if (yyGetBool(_qP) && yyGetBool(yyfnotequal(_il(_Bl, "injury_week"), _tP._Nl))) {
{
_9x = yyfplus(_9x, 1);
if (yyfequal(_9x, 0)) {
{
_vl(_Bl, "injury_week", 0);
_9x = _Vm(85, 100);
var _Ol = _Q8(_tP, _3l, "news_PlayerRecovered");
_Ol = _T8(_tP, _3l, _Ol, _Bl);
_Z7(_tP, _3l, _Ol);
}
}
}
}
}
} else {
{
if (yyGetBool(_il(_Bl, "resting"))) {
{
_vl(_Bl, "resting", 0);
_9x = _cm(yyfplus(_sl(_9x), _sl(yyftime(_sl(_Mp), 2))), 1, 100);
}
} else {
_9x = _cm(yyfplus(_sl(_9x), _sl(_Mp)), 1, 100);
}
}
}
if (yyGetBool(yyfequal(_il(_uG, "trait"), 6)) && yyGetBool(_n8(_tP, _3l, _Bl))) {
_9x = _cm(yyfplus(_sl(_9x), 5), 1, 100);
} else {
if (yyGetBool(yyfequal(_il(_vG, "trait"), 6)) && yyGetBool(!yyGetBool(_n8(_tP, _3l, _Bl)))) {
_9x = _cm(yyfplus(_sl(_9x), 5), 1, 100);
}
}
_vl(_Bl, "condition", round(_9x));
}
}
}
}
}
}
function _A8(_3l, _4l, _5l) {
var _Bl = _5l;
if (yyfequal(_0m(_3l, _4l, 42)._sm, 1)) {
return 0;
}
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 1)) {
return 0;
}
if (yyfgreaterequal(_0m(_3l, _4l, 42)._Nl, 27)) {
return 0;
}
if (yyfless(_q5(_3l, _4l), 2)) {
return 0;
}
var _Wr = _el(_0m(_3l, _4l, 42)._Um);
if (yyfless(_Wr, 2)) {
return 0;
}
var _uP = _B8(_3l, _4l);
var _vP = _C8(_3l, _4l);
if (yyfgreater(_uP, 2)) {
return 0;
}
if (yyGetBool(yyfless(_Wr, 7)) && yyGetBool(yyfgreater(_uP, 1))) {
return 0;
}
if (yyfgreaterequal(_vP, 9)) {
return 0;
}
if (yyflessequal(_il(_Bl, "condition"), -1)) {
return 0;
}
var _wP = 0;
var _9x = _il(_Bl, "condition");
var _xP = _0m(_3l, _4l, 42)._Yl;
if (yyflessequal(_9x, 20)) {
{
if (!yyGetBool(_Sm(5))) {
_wP = _Vm(1, 5);
}
}
} else {
if (yyflessequal(_9x, 40)) {
{
if (!yyGetBool(_Sm(10))) {
_wP = _Vm(1, 4);
}
}
} else {
if (!yyGetBool(_Sm(15))) {
{
_wP = yyfplus(1, _sl(_Sm(1)));
}
}
}
}
if (yyfgreater(yyfplus(_sl(_vP), _sl(_wP)), 9)) {
_wP = yyfminus(9, _sl(_vP));
}
if (yyflessequal(_wP, 0)) {
return 0;
}
if (yyfgreater(_il(_Bl, "age"), 29)) {
_wP = yyfplus(_wP, 1);
}
_wP = yyfminus(_wP, _Sm(round(yyftime(_sl(_xP), 0.4))));
_wP = _cm(_wP, 1, 10);
if (yyGetBool(yyfequal(_il(_Bl, "position"), 1)) && yyGetBool(yyfless(_0m(_3l, _4l, 42)._sm, 3))) {
_wP = min(_wP, 2);
}
var _Ol = _Q8(_3l, _4l, "news_PlayerInjured");
if (yyfequal(_wP, 1)) {
_Ol = _Q8(_3l, _4l, "news_PlayerInjured1");
}
_Ol = _T8(_3l, _4l, _Ol, _Bl);
_Ol = _Pl(_Ol, "$num", _wP);
_Z7(_3l, _4l, _Ol);
_vl(_Bl, "injury_week", _0m(_3l, _4l, 42)._Nl);
_vl(_Bl, "condition", _sl(-_sl(_wP)));
_vl(_Bl, "xp_gain", round(yyftime(_sl(_il(_Bl, "xp_gain")), 0.5)));
return 1;
}
function _B8(_3l, _4l) {
{
var _yP = _8l(42);
for (var _zP in _yP) {
if (!_yP.hasOwnProperty(_zP)) continue;
var _AP = _yP[_zP];
if (_AP._bl) continue;
if (!_AP._cl) continue;
{
var _rl = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_AP._Um)); _dl++) {
{
var _Bl = _hl(_AP._Um, _dl);
if (yyflessequal(_il(_Bl, "condition"), -1)) {
_rl++;
}
}
}
return _rl;
}
}
}
}
function _C8(_3l, _4l) {
{
var _BP = _8l(42);
for (var _CP in _BP) {
if (!_BP.hasOwnProperty(_CP)) continue;
var _DP = _BP[_CP];
if (_DP._bl) continue;
if (!_DP._cl) continue;
{
var _rl = 0;
var _dl = 0;
for (; yyfless(_dl, _el(_DP._Um)); _dl++) {
{
var _Bl = _hl(_DP._Um, _dl);
if (yyflessequal(_il(_Bl, "condition"), -1)) {
_rl = yyfplus(_rl, abs(_il(_Bl, "condition")));
}
}
}
return _rl;
}
}
}
}
function _D8(_3l, _4l, _5l, _Bq) {
var _Bl = _5l;
var _EP = _Bq;
var _kL = _XN(_EP);
var _FP = _YN(_EP);
var _ZL = _Sm(yyfminus(_sl(_kL), 1));
var _gL = _Sm(yyfminus(_sl(_FP), 1));
var _GP = _ZL;
for (; yyfless(_GP, _XN(_EP)); _GP++) {
{
var _HP = _gL;
for (; yyfless(_HP, _YN(_EP)); _HP++) {
{
if (yyfequal(_IP(_EP, _GP, _HP), 0)) {
{
_JP(_EP, _GP, _HP, 1);
_vl(_Bl, "face_x", _GP);
_vl(_Bl, "face_y", _HP);
return _Bl;
}
}
}
}
}
}
var _GP = 0;
for (; yyfless(_GP, _kL); _GP++) {
{
var _HP = 0;
for (; yyfless(_HP, _FP); _HP++) {
{
if (yyfequal(_IP(_EP, _GP, _HP), 0)) {
{
_JP(_EP, _GP, _HP, 1);
_vl(_Bl, "face_x", _GP);
_vl(_Bl, "face_y", _HP);
return _Bl;
}
}
}
}
}
}
_A9(_3l, _4l, yyfplus(_sl(_il(_Bl, "lname")), " no face!"));
}
function _E8(_3l, _4l) {
{
var _KP = _8l(42);
for (var _LP in _KP) {
if (!_KP.hasOwnProperty(_LP)) continue;
var _MP = _KP[_LP];
if (_MP._bl) continue;
if (!_MP._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_MP._Vo)); _dl++) {
_Tm(_hl(_MP._Vo, _dl));
}
_8s(_MP._Vo);
_Cl(_MP._Vo, _F8(_MP, _3l, 101, 1));
_Cl(_MP._Vo, _F8(_MP, _3l, 102, 1));
}
}
}
}
function _F8(_3l, _4l, _5l, _Bq) {
var _yn = _5l;
var _Yp = _Bq;
var _nm = _J9(_3l, _4l);
while (yyGetBool(_68(_3l, _4l, _nm))) {
_nm = _J9(_3l, _4l);
}
var _Bl = _Dq();
_vl(_Bl, "fname", _I9(_3l, _4l, 1));
_vl(_Bl, "lname", _nm);
_vl(_Bl, "position", _yn);
_vl(_Bl, "age", _Vm(35, 61));
_vl(_Bl, "attitude", _Vm(40, 100));
_vl(_Bl, "rating", _Yp);
_vl(_Bl, "contract", 2);
_vl(_Bl, "teamid", -1);
_vl(_Bl, "flash_time", 0);
_vl(_Bl, "condition", 100);
_vl(_Bl, "xp", 0);
_vl(_Bl, "xp_level", _Yp);
_vl(_Bl, "xp_gain", 0);
_vl(_Bl, "trait", 0);
if (yyGetBool(yyfgreater(_Yp, 1)) && yyGetBool(_Sm(1))) {
_vl(_Bl, "trait", _Sm(8));
}
if (yyGetBool(yyfequal(_il(_Bl, "trait"), 1)) && yyGetBool(yyfless(_il(_Bl, "age"), 55))) {
_vl(_Bl, "trait", 0);
}
_A9(_3l, _4l, yyfplus(yyfplus(yyfplus(yyfplus(yyfplus(yyfplus("Created staff member: ", _sl(_il(_Bl, "fname"))), " "), _sl(_nm)), " ("), _sl(_a9(_3l, _4l, _yn))), ")"));
_vl(_Bl, "skin", _Sm(1));
if (yyGetBool(_il(_Bl, "skin"))) {
_vl(_Bl, "skin", yyfplus(1, _sl(_Sm(1))));
}
var _TN = _0m(_3l, _4l, 42)._Ot;
if (yyfequal(_WN(_TN, 0, 0, _XN(_TN), _YN(_TN)), 1)) {
_Xt(_TN, 0);
}
_Bl = _D8(_3l, _4l, _Bl, _TN);
if (yyfequal(_il(_Bl, "face_x"), 8)) {
_vl(_Bl, "fname", _I9(_3l, _4l, 0));
}
return _Bl;
}
function _G8(_3l, _4l, _5l) {
_A9(_3l, _4l, "s_sort_hirelist");
var _wl = _5l;
var _xl = _yl();
while (yyfgreater(_el(_wl), 0)) {
{
var _9O = -4;
var _dl = 0;
for (; yyfless(_dl, _el(_wl)); _dl++) {
{
var _Bl = _hl(_wl, _dl);
if (yyGetBool(!yyGetBool(_9O)) || yyGetBool(yyfless(_il(_Bl, "position"), _il(_9O, "position")))) {
{
_9O = _Bl;
}
} else {
if (yyfequal(_il(_Bl, "position"), _il(_9O, "position"))) {
{
if (yyfless(_il(_Bl, "rating"), _il(_9O, "rating"))) {
{
_9O = _Bl;
}
}
}
}
}
}
}
_Cl(_xl, _9O);
var _dl = _Dl(_wl, _9O);
_El(_wl, _dl);
}
}
_Fl(_wl);
return _xl;
}
function _H8(_3l, _4l, _5l) {
var _yn = _5l;
{
var _NP = _8l(42);
for (var _OP in _NP) {
if (!_NP.hasOwnProperty(_OP)) continue;
var _PP = _NP[_OP];
if (_PP._bl) continue;
if (!_PP._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_PP._Vo)); _dl++) {
{
var _Bl = _hl(_PP._Vo, _dl);
if (yyfequal(_il(_Bl, "position"), _yn)) {
return _Bl;
}
}
}
}
}
}
return -4;
}
function _I8(_3l, _4l, _5l) {
if (yyfless(_5l, 101)) {
return 0;
}
return 1;
}
function _J8(_3l, _4l, _5l) {
var _Bl = _5l;
var _Jt = yyftime(_sl(_il(_Bl, "rating")), 2);
if (yyGetBool(_il(_Bl, "trait"))) {
_Jt = yyfplus(_Jt, 3);
}
return _Jt;
}
function _K8(_3l, _4l, _5l) {
var _qq = _5l;
var _QP = -4;
{
var _RP = _8l(42);
for (var _SP in _RP) {
if (!_RP.hasOwnProperty(_SP)) continue;
var _TP = _RP[_SP];
if (_TP._bl) continue;
if (!_TP._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_TP._Um)); _dl++) {
{
var _Bl = _hl(_TP._Um, _dl);
if (yyfequal(_n8(_TP, _3l, _qq), _n8(_TP, _3l, _Bl))) {
{
if (!yyGetBool(_QP)) {
_QP = _Bl;
}
_vl(_Bl, "xp", yyftime(_sl(_il(_Bl, "xp_level")), 100));
_vl(_Bl, "xp_gain", round(yyfplus(_sl(_il(_Bl, "xp_gain")), 10)));
}
}
}
}
}
}
}
if (yyGetBool(_QP)) {
{
_3l._tn = _QP;
_3m(15);
}
} else {
{
_3m(8);
}
}
}
function _L8(_3l, _4l, _5l) {
var _qq = _5l;
{
var _UP = _8l(42);
for (var _VP in _UP) {
if (!_UP.hasOwnProperty(_VP)) continue;
var _WP = _UP[_VP];
if (_WP._bl) continue;
if (!_WP._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_WP._Um)); _dl++) {
{
var _Bl = _hl(_WP._Um, _dl);
if (yyfequal(_n8(_WP, _3l, _qq), _n8(_WP, _3l, _Bl))) {
{
var _XP = _a8(_WP, _3l, _Bl);
if (yyfless(_XP, 10)) {
{
while (yyflessequal(_a8(_WP, _3l, _Bl), _XP)) {
{
var _YP = _Sm(3);
var _ZP = -1;
if (yyCompareVal(_YP, 0, g_GMLMathEpsilon) == 0) {
_ZP = 0;
} else if (yyCompareVal(_YP, 1, g_GMLMathEpsilon) == 0) {
_ZP = 1;
} else if (yyCompareVal(_YP, 2, g_GMLMathEpsilon) == 0) {
_ZP = 2;
} else if (yyCompareVal(_YP, 3, g_GMLMathEpsilon) == 0) {
_ZP = 3;
}
switch (_ZP) {
case 0: {
_vl(_Bl, "max_stamina", yyfplus(_sl(_il(_Bl, "max_stamina")), 1));
break;
}
case 1: {
_vl(_Bl, "max_speed", yyfplus(_sl(_il(_Bl, "max_speed")), 1));
break;
}
case 2: {
_vl(_Bl, "max_strength", yyfplus(_sl(_il(_Bl, "max_strength")), 1));
break;
}
case 3: {
_vl(_Bl, "max_skill", yyfplus(_sl(_il(_Bl, "max_skill")), 1));
break;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
function _M8(_3l, _4l, _5l) {
var _qq = _5l;
{
var __P = _8l(42);
for (var _0Q in __P) {
if (!__P.hasOwnProperty(_0Q)) continue;
var _1Q = __P[_0Q];
if (_1Q._bl) continue;
if (!_1Q._cl) continue;
{
_U7(_1Q, _3l, 4, _06(_1Q, _3l), 8, "");
var _dl = 0;
for (; yyfless(_dl, _el(_1Q._Um)); _dl++) {
{
var _Bl = _hl(_1Q._Um, _dl);
if (yyfequal(_n8(_1Q, _3l, _qq), _n8(_1Q, _3l, _Bl))) {
_vl(_Bl, "attitude", min(yyfplus(_sl(_il(_Bl, "attitude")), 15), 100, ""));
}
}
}
}
}
}
}
function _N8(_3l, _4l) {
var _rl = 0;
{
var _2Q = _8l(42);
for (var _3Q in _2Q) {
if (!_2Q.hasOwnProperty(_3Q)) continue;
var _4Q = _2Q[_3Q];
if (_4Q._bl) continue;
if (!_4Q._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_4Q._Vo)); _dl++) {
{
var _Bl = _hl(_4Q._Vo, _dl);
if (yyfequal(_il(_Bl, "trait"), 5)) {
_rl++;
}
}
}
}
}
}
return _rl;
}
function _O8(_3l, _4l, _5l) {
var _5Q = _5l;
{
var _6Q = _8l(42);
for (var _7Q in _6Q) {
if (!_6Q.hasOwnProperty(_7Q)) continue;
var _8Q = _6Q[_7Q];
if (_8Q._bl) continue;
if (!_8Q._cl) continue;
{
if (yyfequal(_il(_5Q, "trait"), 5)) {
_8Q._Lp = _cm(yyfminus(_sl(_8Q._Lp), 10), 0, 100);
}
if (yyfequal(_il(_5Q, "trait"), 7)) {
_u8(_8Q, _3l, -10, 0);
}
_El(_8Q._Vo, _Dl(_8Q._Vo, _5Q));
_Tm(_5Q);
}
}
}
}
function _P8(_3l, _4l) {
_3l._Xr = 1 ? 1 : 0;
{
var _9Q = _8l(42);
for (var _aQ in _9Q) {
if (!_9Q.hasOwnProperty(_aQ)) continue;
var _bQ = _9Q[_aQ];
if (_bQ._bl) continue;
if (!_bQ._cl) continue;
{
var _Bl = _H8(_bQ, _3l, 102);
var _cQ = _bQ._Nl;
var _dQ = -1;
if (yyCompareVal(_cQ, 15, g_GMLMathEpsilon) == 0) {
_dQ = 0;
} else if (yyCompareVal(_cQ, 16, g_GMLMathEpsilon) == 0) {
_dQ = 1;
}
switch (_dQ) {
case 0: {
break;
}
case 1: {
_Bl = _H8(_bQ, _3l, 101);
break;
}
default: {
return 0;
break;
}
}
if (yyGetBool(_Bl)) {
{
if (yyGetBool(yyfless(_il(_Bl, "contract"), 2)) && yyGetBool(yyfgreaterequal(_bQ._Jl, _J8(_bQ, _3l, _Bl))) && yyGetBool(yyfless(_il(_Bl, "age"), 65))) {
{
_0m(_3l, _4l, 42)._tn = _Bl;
_X3(_bQ, _3l);
return 1;
}
}
}
}
}
}
}
return 0;
} // if (key == "@") return "";
// if (is_undefined(txt)) {slog("@"+key); return "@"+key;}
function _Q8(_3l, _4l, _5l) {
var _eQ = _5l;
if (yyfequal(_eQ, "@")) {
return "";
}
var _sr = _il(_0m(_3l, _4l, 42)._gp, _eQ);
if (yyGetBool(_du(_sr))) {
{
_A9(_3l, _4l, yyfplus("@", _sl(_eQ)));
return yyfplus("@", _sl(_eQ));
}
}
return _lq(_sr);
}
function _R8(_3l, _4l, _5l, _Bq, _Cq, _zu, _Mw) {
var _sr = _5l;
var _fQ = _Bq;
var _gQ = _Cq;
var _Bw = _zu;
var _Cw = _Mw;
_sr = _Q8(_3l, _4l, _sr);
_sr = _Wm(_sr, "$teamname1", _il(_fQ, "name"));
_sr = _Wm(_sr, "$teamname2", _il(_gQ, "name"));
_sr = _Wm(_sr, "$score1", _ul(_Bw));
_sr = _Wm(_sr, "$score2", _ul(_Cw));
_sr = _Wm(_sr, "$yards", round(_il(_fQ, "match_yds")));
_sr = _Wm(_sr, "$touchdowns", _il(_fQ, "match_td"));
_sr = _Wm(_sr, "$sacks", _il(_fQ, "match_sck"));
_sr = _Wm(_sr, "$interceptions", _il(_fQ, "match_int"));
_sr = _Wm(_sr, "$yourname", yyfplus(yyfplus(_sl(_0m(_3l, _4l, 42)._lm), " "), _sl(_0m(_3l, _4l, 42)._nm)));
_sr = _Wm(_sr, "$yourlastname", _0m(_3l, _4l, 42)._nm);
return _lq(_sr);
}
function _S8(_3l, _4l, _5l) {
var _sr = _Q8(_3l, _4l, _5l);
{
var _hQ = _8l(42);
for (var _iQ in _hQ) {
if (!_hQ.hasOwnProperty(_iQ)) continue;
var _jQ = _hQ[_iQ];
if (_jQ._bl) continue;
if (!_jQ._cl) continue;
{
var _uG = _H8(_jQ, _3l, 102);
var _vG = _H8(_jQ, _3l, 101);
_sr = _Wm(_sr, "$teamname", _il(_jQ._Dm, "name"));
_sr = _Wm(_sr, "$coachname_of", yyfplus(yyfplus(_sl(_il(_uG, "fname")), " "), _sl(_il(_uG, "lname"))));
_sr = _Wm(_sr, "$coachname_df", yyfplus(yyfplus(_sl(_il(_vG, "fname")), " "), _sl(_il(_vG, "lname"))));
}
}
}
return _lq(_sr);
}
function _T8(_3l, _4l, _5l, _Bq) {
var _sr = _5l;
var _Bl = _Bq;
var _kQ = _il(_Bl, "teamid");
if (yyfless(_kQ, 0)) {
_kQ = _0m(_3l, _4l, 42)._Fm;
}
_A9(_3l, _4l, yyfplus("Parse player. Team id = ", _sl(_ul(_kQ))));
_sr = _Wm(_sr, "$teamname", _l9(_3l, _4l, _kQ));
_sr = _Wm(_sr, "$position", _a9(_3l, _4l, _il(_Bl, "position")));
_sr = _Wm(_sr, "$pos", _99(_3l, _4l, _il(_Bl, "position")));
_sr = _Wm(_sr, "$playername", yyfplus(yyfplus(_sl(_il(_Bl, "fname")), " "), _sl(_il(_Bl, "lname"))));
_sr = _Wm(_sr, "$age", _il(_Bl, "age"));
_sr = _Wm(_sr, "$contract", _il(_Bl, "contract"));
_sr = _Wm(_sr, "$salary", yyfplus(yyfplus("$", _sl(_ul(_il(_Bl, "salary")))), _sl(_Q8(_3l, _4l, "sla_Million"))));
_sr = _Wm(_sr, "$uniform", _Xm(_Q8(_3l, _4l, yyfplus("uniformviolation_", _sl(_ul(_Sm(9)))))));
_sr = _Wm(_sr, "$injurytype", _Xm(_Q8(_3l, _4l, yyfplus("injurytype_", _sl(_ul(_Sm(11)))))));
_sr = _Wm(_sr, "$randomfname_female", _I9(_3l, _4l, 0));
_sr = _Wm(_sr, "$randomcharity", _G9(_3l, _4l));
var _qq = _H8(_3l, _4l, 101);
if (yyGetBool(_n8(_3l, _4l, _Bl))) {
_qq = _H8(_3l, _4l, 102);
}
if (yyGetBool(_qq)) {
_sr = _Pl(_sr, "$coachposition", _a9(_3l, _4l, _il(_qq, "position")));
}
return _lq(_sr);
}
function _U8(_3l, _4l, _5l) {
var _eQ = _5l;
var _sr = _il(_0m(_3l, _4l, 42)._gp, _eQ);
if (!yyGetBool(_du(_sr))) {
{
_sr = _lq(_sr);
if (yyfgreater(_tq("$", _sr), 0)) {
_sr = _V8(_3l, _4l, _sr);
}
}
} else {
{
_sr = "!";
}
}
return _sr;
}
function _V8(_3l, _4l, _5l) {
var _sr = _5l;
_sr = _Pl(_sr, "$random_argument", _Q8(_3l, _4l, yyfplus("argument_", _sl(_ul(_Vm(1, 14))))));
_sr = _Pl(_sr, "$random_class", _Q8(_3l, _4l, yyfplus("class_", _sl(_ul(_Vm(1, 8))))));
_sr = _Pl(_sr, "$aan_random_class", _Q8(_3l, _4l, yyfplus("aan_class_", _sl(_ul(_Vm(1, 8))))));
_sr = _Pl(_sr, "$teamname", _il(_0m(_3l, _4l, 42)._Dm, "name"));
_sr = _Pl(_sr, "$teamdivision", yyfplus(yyfplus(_sl(_il(_0m(_3l, _4l, 42)._Dm, "conference")), " "), _sl(_il(_0m(_3l, _4l, 42)._Dm, "division"))));
return _sr;
}
function _W8(_3l, _4l, _5l, _Bq) {
var _sr = _5l;
var _lQ = _Bq;
var _ju = _ku(_sr);
var _mQ = _vr("##", _sr);
var _nQ = "";
if (yyfnotequal(_mQ, 0)) {
{
_nQ = _wr(_sr, _mQ, _ju);
_sr = _wr(_sr, 1, _mQ);
_ju = _ku(_sr);
}
}
var _yn = _lQ;
var _oQ = 0;
while (yyfless(_oQ, yyfminus(_sl(_ju), _sl(_lQ)))) {
{
_oQ = _yn;
for (; yyfgreater(_oQ, yyfminus(_sl(_yn), 10)); _oQ--) {
{
var _pQ = 0 ? 1 : 0;
if (yyfequal(_qQ(_sr, _oQ), " ")) {
{
_pQ = 1 ? 1 : 0;
break;
}
}
}
}
if (yyGetBool(_pQ)) {
{
_sr = _rQ("\n", _sr, _oQ);
}
} else {
{
_oQ = yyfminus(_sl(_yn), 1);
_sr = _rQ("-", _sr, _oQ++);
_sr = _rQ("\n", _sr, _oQ);
}
}
_yn = yyfplus(_sl(_oQ), _sl(_lQ));
_ju = _ku(_sr);
}
}
_sr = yyfplus(_sr, _nQ);
return _lq(_sr);
}
function _X8(_3l, _4l) {
{
var _sQ = _8l(global._SA);
for (var _tQ in _sQ) {
if (!_sQ.hasOwnProperty(_tQ)) continue;
var _uQ = _sQ[_tQ];
if (_uQ._bl) continue;
if (!_uQ._cl) continue;
{
var _vQ = _uQ._WA;
var _wQ = -1;
if (yyCompareVal(_vQ, 0, g_GMLMathEpsilon) == 0) {
_wQ = 0;
} else if (yyCompareVal(_vQ, 2, g_GMLMathEpsilon) == 0) {
_wQ = 1;
} else if (yyCompareVal(_vQ, 1, g_GMLMathEpsilon) == 0) {
_wQ = 2;
} else if (yyCompareVal(_vQ, 3, g_GMLMathEpsilon) == 0) {
_wQ = 3;
} else if (yyCompareVal(_vQ, 4, g_GMLMathEpsilon) == 0) {
_wQ = 4;
} else if (yyCompareVal(_vQ, 5, g_GMLMathEpsilon) == 0) {
_wQ = 5;
} else if (yyCompareVal(_vQ, 6, g_GMLMathEpsilon) == 0) {
_wQ = 6;
} else if (yyCompareVal(_vQ, 7, g_GMLMathEpsilon) == 0) {
_wQ = 7;
} else if (yyCompareVal(_vQ, 8, g_GMLMathEpsilon) == 0) {
_wQ = 8;
} else if (yyCompareVal(_vQ, 9, g_GMLMathEpsilon) == 0) {
_wQ = 9;
} else if (yyCompareVal(_vQ, 10, g_GMLMathEpsilon) == 0) {
_wQ = 10;
} else if (yyCompareVal(_vQ, 11, g_GMLMathEpsilon) == 0) {
_wQ = 11;
} else if (yyCompareVal(_vQ, 12, g_GMLMathEpsilon) == 0) {
_wQ = 12;
} else if (yyCompareVal(_vQ, 13, g_GMLMathEpsilon) == 0) {
_wQ = 13;
} else if (yyCompareVal(_vQ, 14, g_GMLMathEpsilon) == 0) {
_wQ = 14;
} else if (yyCompareVal(_vQ, 15, g_GMLMathEpsilon) == 0) {
_wQ = 15;
} else if (yyCompareVal(_vQ, 16, g_GMLMathEpsilon) == 0) {
_wQ = 16;
} else if (yyCompareVal(_vQ, 17, g_GMLMathEpsilon) == 0) {
_wQ = 17;
} else if (yyCompareVal(_vQ, 18, g_GMLMathEpsilon) == 0) {
_wQ = 18;
} else if (yyCompareVal(_vQ, 19, g_GMLMathEpsilon) == 0) {
_wQ = 19;
}
switch (_wQ) {
case 0: {
return "BALL_SET";
}
case 1: {
return "BALL_AIM";
}
case 2: {
return "BALL_AIM_DEADZONE";
}
case 3: {
return "BALL_RELEASED";
}
case 4: {
return "BALL_DOWN";
}
case 5: {
return "BALL_RECEIVED";
}
case 6: {
return "BALL_TOUCHDOWN";
}
case 7: {
return "BALL_INCOMPLETE";
}
case 8: {
return "BALL_OUTOFBOUNDS";
}
case 9: {
return "BALL_INTERCEPTED";
}
case 10: {
return "BALL_TURNOVER";
}
case 11: {
return "BALL_SACKED";
}
case 12: {
return "BALL_SAFETY";
}
case 13: {
return "BALL_FUMBLED";
}
case 14: {
return "BALL_FIELD_GOAL_GOOD";
}
case 15: {
return "BALL_FIELD_GOAL_BAD";
}
case 16: {
return "BALL_PRACTICE_SUCCESS";
}
case 17: {
return "BALL_PRACTICE_FAIL";
}
case 18: {
return "BALL_RUN_QB";
}
case 19: {
return "BALL_HANDOFF";
}
}
}
}
}
return "ball.state == OTHER";
}
function _Y8(_3l, _4l) {
{
var _xQ = _8l(48);
for (var _yQ in _xQ) {
if (!_xQ.hasOwnProperty(_yQ)) continue;
var _zQ = _xQ[_yQ];
if (_zQ._bl) continue;
if (!_zQ._cl) continue;
{
var _AQ = _zQ._WA;
var _BQ = -1;
if (yyCompareVal(_AQ, 2, g_GMLMathEpsilon) == 0) {
_BQ = 0;
} else if (yyCompareVal(_AQ, 1, g_GMLMathEpsilon) == 0) {
_BQ = 1;
}
switch (_BQ) {
case 0: {
return "ACTION";
break;
}
case 1: {
return "COMMENTARY";
break;
}
}
}
}
}
return "state == OTHER";
}
function _Z8(_3l, _4l) {
var _CQ = 1;
var _DQ = -1;
if (yyCompareVal(_CQ, 0, g_GMLMathEpsilon) == 0) {
_DQ = 0;
} else if (yyCompareVal(_CQ, 1, g_GMLMathEpsilon) == 0) {
_DQ = 1;
}
switch (_DQ) {
case 0: {
return _Q8(_3l, _4l, "sex_0");
break;
}
case 1: {
return _Q8(_3l, _4l, "sex_1");
break;
}
}
}
function __8(_3l, _4l, _5l) {
var _EQ = _5l;
var _FQ = -1;
if (yyCompareVal(_EQ, 0, g_GMLMathEpsilon) == 0) {
_FQ = 0;
} else if (yyCompareVal(_EQ, 1, g_GMLMathEpsilon) == 0) {
_FQ = 1;
}
switch (_FQ) {
case 0: {
return _Q8(_3l, _4l, "person_She");
break;
}
case 1: {
return _Q8(_3l, _4l, "person_He");
break;
}
}
}
function _09(_3l, _4l, _5l, _Bq) {
var _GQ = _ul(_5l);
var _HQ = _ul(_Bq);
if (yyfless(_ku(_HQ), 2)) {
return yyfplus(yyfplus(_sl(_GQ), ":0"), _sl(_HQ));
}
return yyfplus(yyfplus(_sl(_GQ), ":"), _sl(_HQ));
}
function _19(_3l, _4l, _5l, _Bq) {
return _ul(_Vm(_5l, _Bq));
}
function _29(_3l, _4l) {
var _sr = "";
var _IQ = _3l.__C;
var _JQ = -1;
if (yyCompareVal(_IQ, 1, g_GMLMathEpsilon) == 0) {
_JQ = 0;
} else if (yyCompareVal(_IQ, 2, g_GMLMathEpsilon) == 0) {
_JQ = 1;
} else if (yyCompareVal(_IQ, 3, g_GMLMathEpsilon) == 0) {
_JQ = 2;
} else if (yyCompareVal(_IQ, 4, g_GMLMathEpsilon) == 0) {
_JQ = 3;
}
switch (_JQ) {
case 0: {
_sr = _Q8(_3l, _4l, "down_1and");
break;
}
case 1: {
_sr = _Q8(_3l, _4l, "down_2and");
break;
}
case 2: {
_sr = _Q8(_3l, _4l, "down_3and");
break;
}
case 3: {
_sr = _Q8(_3l, _4l, "down_4and");
break;
}
default: {
return "";
}
}
if (yyGetBool(yyfless(_3l.__D, 300)) || yyGetBool(yyfgreater(_3l.__D, 2300))) {
{
_sr = yyfplus(_sr, yyfplus(" ", _sl(_Q8(_3l, _4l, "Goal"))));
}
} else {
if (yyfless(_3l._ZD, 1)) {
{
_sr = yyfplus(_sr, yyfplus(" ", _sl(_Q8(_3l, _4l, "Inches"))));
}
} else {
{
_sr = yyfplus(_sr, yyfplus(" ", _sl(_ul(round(_3l._ZD)))));
}
}
}
return _sr;
}
function _39(_3l, _4l, _5l, _Bq) {
return _Wm(_KQ(_5l, 9, _Bq), " ", "");
}
function _49(_3l, _4l, _5l) {
var _LQ = _5l;
var _MQ = -1;
if (yyCompareVal(_LQ, 0, g_GMLMathEpsilon) == 0) {
_MQ = 0;
} else if (yyCompareVal(_LQ, 1, g_GMLMathEpsilon) == 0) {
_MQ = 1;
} else if (yyCompareVal(_LQ, 2, g_GMLMathEpsilon) == 0) {
_MQ = 2;
} else if (yyCompareVal(_LQ, 3, g_GMLMathEpsilon) == 0) {
_MQ = 3;
}
switch (_MQ) {
case 0: {
return _Q8(_3l, _4l, "division_East");
break;
}
case 1: {
return _Q8(_3l, _4l, "division_West");
break;
}
case 2: {
return _Q8(_3l, _4l, "division_North");
break;
}
case 3: {
return _Q8(_3l, _4l, "division_South");
break;
}
}
}
function _59(_3l, _4l, _5l) {
var _NQ = _5l;
var _OQ = -1;
if (yyCompareVal(_NQ, 0, g_GMLMathEpsilon) == 0) {
_OQ = 0;
} else if (yyCompareVal(_NQ, 1, g_GMLMathEpsilon) == 0) {
_OQ = 1;
}
switch (_OQ) {
case 0: {
return _Q8(_3l, _4l, "conf_AFC");
break;
}
case 1: {
return _Q8(_3l, _4l, "conf_NFC");
break;
}
}
}
function _69(_3l, _4l, _5l) {
var _Au = _5l;
if (yyfequal(_Au, 0)) {
_Au = _0m(_3l, _4l, 42)._Nl;
}
if (yyfless(_Au, 18)) {
return yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Week")), " "), _sl(_ul(_Au)));
}
var _PQ = _Au;
var _QQ = -1;
if (yyCompareVal(_PQ, 18, g_GMLMathEpsilon) == 0) {
_QQ = 0;
} else if (yyCompareVal(_PQ, 19, g_GMLMathEpsilon) == 0) {
_QQ = 1;
} else if (yyCompareVal(_PQ, 20, g_GMLMathEpsilon) == 0) {
_QQ = 2;
} else if (yyCompareVal(_PQ, 21, g_GMLMathEpsilon) == 0) {
_QQ = 3;
} else if (yyCompareVal(_PQ, 22, g_GMLMathEpsilon) == 0) {
_QQ = 4;
} else if (yyCompareVal(_PQ, 23, g_GMLMathEpsilon) == 0) {
_QQ = 5;
} else if (yyCompareVal(_PQ, 24, g_GMLMathEpsilon) == 0) {
_QQ = 6;
} else if (yyCompareVal(_PQ, 25, g_GMLMathEpsilon) == 0) {
_QQ = 7;
} else if (yyCompareVal(_PQ, 26, g_GMLMathEpsilon) == 0) {
_QQ = 8;
} else if (yyCompareVal(_PQ, 27, g_GMLMathEpsilon) == 0) {
_QQ = 9;
} else if (yyCompareVal(_PQ, 28, g_GMLMathEpsilon) == 0) {
_QQ = 10;
}
switch (_QQ) {
case 0: {
return yyfplus(yyfplus(yyfplus(_sl(_59(_3l, _4l, 0)), " "), _sl(_Q8(_3l, _4l, "ui_WildCard"))), " 1");
}
case 1: {
return yyfplus(yyfplus(yyfplus(_sl(_59(_3l, _4l, 0)), " "), _sl(_Q8(_3l, _4l, "ui_WildCard"))), " 2");
}
case 2: {
return yyfplus(yyfplus(yyfplus(_sl(_59(_3l, _4l, 1)), " "), _sl(_Q8(_3l, _4l, "ui_WildCard"))), " 1");
}
case 3: {
return yyfplus(yyfplus(yyfplus(_sl(_59(_3l, _4l, 1)), " "), _sl(_Q8(_3l, _4l, "ui_WildCard"))), " 2");
}
case 4: {
return yyfplus(yyfplus(yyfplus(_sl(_59(_3l, _4l, 0)), " "), _sl(_Q8(_3l, _4l, "ui_PlayOff"))), " 1");
}
case 5: {
return yyfplus(yyfplus(yyfplus(_sl(_59(_3l, _4l, 0)), " "), _sl(_Q8(_3l, _4l, "ui_PlayOff"))), " 2");
}
case 6: {
return yyfplus(yyfplus(yyfplus(_sl(_59(_3l, _4l, 1)), " "), _sl(_Q8(_3l, _4l, "ui_PlayOff"))), " 1");
}
case 7: {
return yyfplus(yyfplus(yyfplus(_sl(_59(_3l, _4l, 1)), " "), _sl(_Q8(_3l, _4l, "ui_PlayOff"))), " 2");
}
case 8: {
return yyfplus(yyfplus(_sl(_59(_3l, _4l, 0)), " "), _sl(_Q8(_3l, _4l, "ui_Champion")));
}
case 9: {
return yyfplus(yyfplus(_sl(_59(_3l, _4l, 1)), " "), _sl(_Q8(_3l, _4l, "ui_Champion")));
}
case 10: {
return _Q8(_3l, _4l, "ui_SuperBowl");
}
}
}
function _79(_3l, _4l, _5l) {
var _TO = _5l;
var _RQ = _TO;
var _SQ = -1;
if (yyCompareVal(_RQ, 0, g_GMLMathEpsilon) == 0) {
_SQ = 0;
} else if (yyCompareVal(_RQ, 1, g_GMLMathEpsilon) == 0) {
_SQ = 1;
}
switch (_SQ) {
case 0: {
return yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Year")), " "), _sl(_ul(_0m(_3l, _4l, 42)._sm)));
break;
}
case 1: {
return yyfplus(_sl(_Q8(_3l, _4l, "sla_Year")), _sl(_ul(_0m(_3l, _4l, 42)._sm)));
break;
}
}
}
function _89(_3l, _4l, _5l) {
var _TQ = _5l;
var _UQ = -1;
if (yyCompareVal(_TQ, 0, g_GMLMathEpsilon) == 0) {
_UQ = 0;
} else if (yyCompareVal(_TQ, 1, g_GMLMathEpsilon) == 0) {
_UQ = 1;
} else if (yyCompareVal(_TQ, 2, g_GMLMathEpsilon) == 0) {
_UQ = 2;
} else if (yyCompareVal(_TQ, 3, g_GMLMathEpsilon) == 0) {
_UQ = 3;
} else if (yyCompareVal(_TQ, 4, g_GMLMathEpsilon) == 0) {
_UQ = 4;
} else if (yyCompareVal(_TQ, 5, g_GMLMathEpsilon) == 0) {
_UQ = 5;
} else if (yyCompareVal(_TQ, 6, g_GMLMathEpsilon) == 0) {
_UQ = 6;
} else if (yyCompareVal(_TQ, 7, g_GMLMathEpsilon) == 0) {
_UQ = 7;
} else if (yyCompareVal(_TQ, 8, g_GMLMathEpsilon) == 0) {
_UQ = 8;
} else if (yyCompareVal(_TQ, 9, g_GMLMathEpsilon) == 0) {
_UQ = 9;
} else if (yyCompareVal(_TQ, 10, g_GMLMathEpsilon) == 0) {
_UQ = 10;
} else if (yyCompareVal(_TQ, 11, g_GMLMathEpsilon) == 0) {
_UQ = 11;
} else if (yyCompareVal(_TQ, 12, g_GMLMathEpsilon) == 0) {
_UQ = 12;
} else if (yyCompareVal(_TQ, 13, g_GMLMathEpsilon) == 0) {
_UQ = 13;
} else if (yyCompareVal(_TQ, 14, g_GMLMathEpsilon) == 0) {
_UQ = 14;
} else if (yyCompareVal(_TQ, 15, g_GMLMathEpsilon) == 0) {
_UQ = 15;
} else if (yyCompareVal(_TQ, 16, g_GMLMathEpsilon) == 0) {
_UQ = 16;
} else if (yyCompareVal(_TQ, 17, g_GMLMathEpsilon) == 0) {
_UQ = 17;
} else if (yyCompareVal(_TQ, 19, g_GMLMathEpsilon) == 0) {
_UQ = 18;
} else if (yyCompareVal(_TQ, 20, g_GMLMathEpsilon) == 0) {
_UQ = 19;
} else if (yyCompareVal(_TQ, 21, g_GMLMathEpsilon) == 0) {
_UQ = 20;
}
switch (_UQ) {
case 0: {
return "COMM_STAGE_MATCH_START";
}
case 1: {
return "COMM_STAGE_KICKOFF";
}
case 2: {
return "COMM_STAGE_POSSESSION";
}
case 3: {
return "COMM_STAGE_ATTACK";
}
case 4: {
return "COMM_STAGE_DRIVE";
}
case 5: {
return "COMM_STAGE_PUNT";
}
case 6: {
return "COMM_STAGE_FIELDGOAL1";
}
case 7: {
return "COMM_STAGE_FIELDGOAL2";
}
case 8: {
return "COMM_STAGE_TURNOVER";
}
case 9: {
return "COMM_STAGE_TOUCHDOWN";
}
case 10: {
return "COMM_STAGE_PAT1";
}
case 11: {
return "COMM_STAGE_PAT2";
}
case 12: {
return "COMM_STAGE_QUARTER_A";
}
case 13: {
return "COMM_STAGE_QUARTER_B";
}
case 14: {
return "COMM_STAGE_TRAINING_START";
}
case 15: {
return "COMM_STAGE_TWOPOINT1";
}
case 16: {
return "COMM_STAGE_TWOPOINT2";
}
case 17: {
return "COMM_STAGE_OVERTIME_WIN";
}
case 18: {
return "COMM_STAGE_FAILED_SKILL";
}
case 19: {
return "COMM_STAGE_FAILED_STRENGTH";
}
case 20: {
return "COMM_STAGE_FAILED_SPEED";
}
}
return yyfplus("UNKNOWN COMM_STAGE: ", _sl(_ul(_5l)));
}
function _99(_3l, _4l, _5l) {
var _VQ = _5l;
var _WQ = -1;
if (yyCompareVal(_VQ, 1, g_GMLMathEpsilon) == 0) {
_WQ = 0;
} else if (yyCompareVal(_VQ, 5, g_GMLMathEpsilon) == 0) {
_WQ = 1;
} else if (yyCompareVal(_VQ, 3, g_GMLMathEpsilon) == 0) {
_WQ = 2;
} else if (yyCompareVal(_VQ, 2, g_GMLMathEpsilon) == 0) {
_WQ = 3;
} else if (yyCompareVal(_VQ, 4, g_GMLMathEpsilon) == 0) {
_WQ = 4;
} else if (yyCompareVal(_VQ, 6, g_GMLMathEpsilon) == 0) {
_WQ = 5;
} else if (yyCompareVal(_VQ, 7, g_GMLMathEpsilon) == 0) {
_WQ = 6;
} else if (yyCompareVal(_VQ, 9, g_GMLMathEpsilon) == 0 || yyCompareVal(_VQ, 8, g_GMLMathEpsilon) == 0) {
_WQ = 7;
} else if (yyCompareVal(_VQ, 11, g_GMLMathEpsilon) == 0) {
_WQ = 8;
} else if (yyCompareVal(_VQ, 10, g_GMLMathEpsilon) == 0) {
_WQ = 9;
} else if (yyCompareVal(_VQ, 101, g_GMLMathEpsilon) == 0) {
_WQ = 10;
} else if (yyCompareVal(_VQ, 102, g_GMLMathEpsilon) == 0) {
_WQ = 11;
}
switch (_WQ) {
case 0: {
return _Q8(_3l, _4l, "pos_QB");
break;
}
case 1: {
return _Q8(_3l, _4l, "pos_OL");
break;
}
case 2: {
return _Q8(_3l, _4l, "pos_TE");
break;
}
case 3: {
return _Q8(_3l, _4l, "pos_RB");
break;
}
case 4: {
return _Q8(_3l, _4l, "pos_WR");
break;
}
case 5: {
return _Q8(_3l, _4l, "pos_DL");
break;
}
case 6: {
return _Q8(_3l, _4l, "pos_LB");
break;
}
case 7: {
return _Q8(_3l, _4l, "pos_DB");
break;
}
case 8: {
return _Q8(_3l, _4l, "pos_KP");
break;
}
case 9: {
return _Q8(_3l, _4l, "pos_KK");
break;
}
case 10: {
return _Q8(_3l, _4l, "pos_STAFF_DF");
break;
}
case 11: {
return _Q8(_3l, _4l, "pos_STAFF_OF");
break;
}
}
return "";
}
function _a9(_3l, _4l, _5l) {
var _XQ = _5l;
var _YQ = -1;
if (yyCompareVal(_XQ, 1, g_GMLMathEpsilon) == 0) {
_YQ = 0;
} else if (yyCompareVal(_XQ, 5, g_GMLMathEpsilon) == 0) {
_YQ = 1;
} else if (yyCompareVal(_XQ, 3, g_GMLMathEpsilon) == 0) {
_YQ = 2;
} else if (yyCompareVal(_XQ, 2, g_GMLMathEpsilon) == 0) {
_YQ = 3;
} else if (yyCompareVal(_XQ, 4, g_GMLMathEpsilon) == 0) {
_YQ = 4;
} else if (yyCompareVal(_XQ, 6, g_GMLMathEpsilon) == 0) {
_YQ = 5;
} else if (yyCompareVal(_XQ, 7, g_GMLMathEpsilon) == 0) {
_YQ = 6;
} else if (yyCompareVal(_XQ, 9, g_GMLMathEpsilon) == 0 || yyCompareVal(_XQ, 8, g_GMLMathEpsilon) == 0) {
_YQ = 7;
} else if (yyCompareVal(_XQ, 11, g_GMLMathEpsilon) == 0) {
_YQ = 8;
} else if (yyCompareVal(_XQ, 10, g_GMLMathEpsilon) == 0) {
_YQ = 9;
} else if (yyCompareVal(_XQ, 101, g_GMLMathEpsilon) == 0) {
_YQ = 10;
} else if (yyCompareVal(_XQ, 102, g_GMLMathEpsilon) == 0) {
_YQ = 11;
}
switch (_YQ) {
case 0: {
return _Q8(_3l, _4l, "position_QB");
break;
}
case 1: {
return _Q8(_3l, _4l, "position_OL");
break;
}
case 2: {
return _Q8(_3l, _4l, "position_TE");
break;
}
case 3: {
return _Q8(_3l, _4l, "position_RB");
break;
}
case 4: {
return _Q8(_3l, _4l, "position_WR");
break;
}
case 5: {
return _Q8(_3l, _4l, "position_DL");
break;
}
case 6: {
return _Q8(_3l, _4l, "position_LB");
break;
}
case 7: {
return _Q8(_3l, _4l, "position_DB");
break;
}
case 8: {
return _Q8(_3l, _4l, "position_KP");
break;
}
case 9: {
return _Q8(_3l, _4l, "position_KK");
break;
}
case 10: {
return _Q8(_3l, _4l, "position_STAFF_DF");
break;
}
case 11: {
return _Q8(_3l, _4l, "position_STAFF_OF");
break;
}
}
}
function _b9(_3l, _4l, _5l) {
return _Q8(_3l, _4l, yyfplus("attitude_", _sl(_ul(_26(_3l, _4l, _5l)))));
}
function _c9(_3l, _4l, _5l) {
var _ZQ = _5l;
if (yyfgreater(_ZQ, 0)) {
return yyfplus(yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "tla_Round")), " "), _sl(_ul(_ZQ))), " "), _sl(_Q8(_3l, _4l, "ui_Pick")));
}
return _Q8(_3l, _4l, "ui_None");
}
function _d9(_3l, _4l, _5l) {
var __Q = _5l;
var _0R = -1;
if (yyCompareVal(__Q, 0, g_GMLMathEpsilon) == 0) {
_0R = 0;
} else if (yyCompareVal(__Q, 1, g_GMLMathEpsilon) == 0) {
_0R = 1;
} else if (yyCompareVal(__Q, 2, g_GMLMathEpsilon) == 0) {
_0R = 2;
} else if (yyCompareVal(__Q, 3, g_GMLMathEpsilon) == 0) {
_0R = 3;
} else if (yyCompareVal(__Q, 4, g_GMLMathEpsilon) == 0) {
_0R = 4;
} else if (yyCompareVal(__Q, 5, g_GMLMathEpsilon) == 0) {
_0R = 5;
} else if (yyCompareVal(__Q, 6, g_GMLMathEpsilon) == 0) {
_0R = 6;
} else if (yyCompareVal(__Q, 7, g_GMLMathEpsilon) == 0) {
_0R = 7;
} else if (yyCompareVal(__Q, 8, g_GMLMathEpsilon) == 0) {
_0R = 8;
} else if (yyCompareVal(__Q, 9, g_GMLMathEpsilon) == 0) {
_0R = 9;
} else if (yyCompareVal(__Q, 10, g_GMLMathEpsilon) == 0) {
_0R = 10;
} else if (yyCompareVal(__Q, 11, g_GMLMathEpsilon) == 0) {
_0R = 11;
} else if (yyCompareVal(__Q, 12, g_GMLMathEpsilon) == 0) {
_0R = 12;
} else if (yyCompareVal(__Q, 13, g_GMLMathEpsilon) == 0) {
_0R = 13;
} else if (yyCompareVal(__Q, 14, g_GMLMathEpsilon) == 0) {
_0R = 14;
} else if (yyCompareVal(__Q, 15, g_GMLMathEpsilon) == 0) {
_0R = 15;
} else if (yyCompareVal(__Q, 16, g_GMLMathEpsilon) == 0) {
_0R = 16;
} else if (yyCompareVal(__Q, 17, g_GMLMathEpsilon) == 0) {
_0R = 17;
}
switch (_0R) {
case 0: {
return "ANIM_STAND";
break;
}
case 1: {
return "ANIM_CROUCH";
break;
}
case 2: {
return "ANIM_RUN";
break;
}
case 3: {
return "ANIM_TACKLING";
break;
}
case 4: {
return "ANIM_FALLING";
break;
}
case 5: {
return "ANIM_DIVE";
break;
}
case 6: {
return "ANIM_GETUP";
break;
}
case 7: {
return "ANIM_JOCKEY";
break;
}
case 8: {
return "ANIM_JUMP";
break;
}
case 9: {
return "ANIM_STIFFARM";
break;
}
case 10: {
return "ANIM_JUMPCATCH";
break;
}
case 11: {
return "ANIM_AIM";
break;
}
case 12: {
return "ANIM_THROW";
break;
}
case 13: {
return "ANIM_PLACE";
break;
}
case 14: {
return "ANIM_KICK1";
break;
}
case 15: {
return "ANIM_KICK2";
break;
}
case 16: {
return "ANIM_SPIKE";
break;
}
case 17: {
return "ANIM_CELEBRATE";
break;
}
}
return "";
}
function _e9(_3l, _4l, _5l) {
var _9x = _5l;
if (yyflessequal(_9x, -1)) {
return yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "condition_0")), " ("), _sl(_ul(abs(_9x)))), ")");
} else {
if (yyflessequal(_9x, 20)) {
return _Q8(_3l, _4l, "condition_1");
} else {
if (yyflessequal(_9x, 40)) {
return _Q8(_3l, _4l, "condition_2");
} else {
if (yyflessequal(_9x, 60)) {
return _Q8(_3l, _4l, "condition_3");
} else {
if (yyflessequal(_9x, 80)) {
return _Q8(_3l, _4l, "condition_4");
} else {
if (yyflessequal(_9x, 99)) {
return _Q8(_3l, _4l, "condition_5");
} else {
return _Q8(_3l, _4l, "condition_6");
}
}
}
}
}
}
}
function _f9(_3l, _4l, _5l, _Bq) {
var _Pn = _5l;
var _1R = _Bq;
var _sr = _ul(_il(_Pn, "wins"));
_sr = yyfplus(_sr, yyfplus("-", _sl(_ul(_il(_Pn, "losses")))));
if (yyGetBool(yyfgreater(_il(_Pn, "ties"), 0)) || yyGetBool(_1R)) {
_sr = yyfplus(_sr, yyfplus("-", _sl(_ul(_il(_Pn, "ties")))));
}
return _sr;
}
function _g9(_3l, _4l, _5l) {
return _Q8(_3l, _4l, yyfplus("coachtrait_", _sl(_ul(_5l))));
}
function _h9(_3l, _4l, _5l) {
var _2R = _5l;
var _3R = -1;
if (yyCompareVal(_2R, 1, g_GMLMathEpsilon) == 0) {
_3R = 0;
} else if (yyCompareVal(_2R, 2, g_GMLMathEpsilon) == 0) {
_3R = 1;
} else if (yyCompareVal(_2R, 3, g_GMLMathEpsilon) == 0) {
_3R = 2;
} else if (yyCompareVal(_2R, 4, g_GMLMathEpsilon) == 0) {
_3R = 3;
} else if (yyCompareVal(_2R, 5, g_GMLMathEpsilon) == 0) {
_3R = 4;
} else if (yyCompareVal(_2R, 6, g_GMLMathEpsilon) == 0) {
_3R = 5;
} else if (yyCompareVal(_2R, 7, g_GMLMathEpsilon) == 0) {
_3R = 6;
} else if (yyCompareVal(_2R, 8, g_GMLMathEpsilon) == 0) {
_3R = 7;
} else if (yyCompareVal(_2R, 9, g_GMLMathEpsilon) == 0) {
_3R = 8;
}
switch (_3R) {
case 0: {
return "ACTION_RESULT_TOUCHDOWN";
}
case 1: {
return "ACTION_RESULT_TOUCHDOWN_OPP";
}
case 2: {
return "ACTION_RESULT_INTERCEPTED";
}
case 3: {
return "ACTION_RESULT_TURNOVER";
}
case 4: {
return "ACTION_RESULT_PUNT";
}
case 5: {
return "ACTION_RESULT_FIELDGOAL_GOOD";
}
case 6: {
return "ACTION_RESULT_FIELDGOAL_BAD";
}
case 7: {
return "ACTION_RESULT_SAFETY";
}
case 8: {
return "ACTION_RESULT_TIMEUP";
}
}
}
function _i9(_3l, _4l, _5l) {
_A9(_3l, _4l, yyfplus("s_get_team_by_id: ", _sl(_ul(_5l))));
var _kQ = _5l;
var _dl = 0;
for (; yyfless(_dl, _el(_0m(_3l, _4l, 42)._Bm)); _dl++) {
{
var _Cm = _hl(_0m(_3l, _4l, 42)._Bm, _dl);
if (yyfequal(_il(_Cm, "uid"), _kQ)) {
return _Cm;
}
}
}
var _Cm = _Dq();
_vl(_Cm, "uid", -99);
_vl(_Cm, "name", "Null Team");
_vl(_Cm, "tla", "-");
_A9(_3l, _4l, "RETURN DUMMY TEAM!");
return _Cm;
} // slog ("Team "+string(teamid_away)+" @ Team "+string(teamid_home));
function _j9(_3l, _4l) {
var _zq = _p5(_3l, _4l);
var _4R = _il(_zq, "away_team");
var _5R = _il(_zq, "home_team");
_A9(_3l, _4l, yyfplus(yyfplus(yyfplus("Team ", _sl(_ul(_4R))), " @ Team "), _sl(_ul(_5R))));
_0m(_3l, _4l, 42)._Cm = _vp(_0m(_3l, _4l, 42)._Cm, 2130019475);
_0m(_3l, _4l, 42)._Cm[_wp(0)] = _hl(_0m(_3l, _4l, 42)._Bm, _4R);
_0m(_3l, _4l, 42)._Cm[_wp(1)] = _hl(_0m(_3l, _4l, 42)._Bm, _5R);
_0m(_3l, _4l, 42)._6R = 0;
if (yyfequal(_5R, _0m(_3l, _4l, 42)._Fm)) {
_0m(_3l, _4l, 42)._6R = 1;
}
var _7R = _il(_0m(_3l, _4l, 42)._Cm[_Tn(0, _0m(_3l, _4l, 42)._Cm)], "colhelmet");
var _8R = _il(_0m(_3l, _4l, 42)._Cm[_Tn(0, _0m(_3l, _4l, 42)._Cm)], "colshirt");
var _9R = _il(_0m(_3l, _4l, 42)._Cm[_Tn(0, _0m(_3l, _4l, 42)._Cm)], "colpants");
var _aR = _il(_0m(_3l, _4l, 42)._Cm[_Tn(1, _0m(_3l, _4l, 42)._Cm)], "colhelmet");
var _bR = _il(_0m(_3l, _4l, 42)._Cm[_Tn(1, _0m(_3l, _4l, 42)._Cm)], "colshirt");
var _cR = _il(_0m(_3l, _4l, 42)._Cm[_Tn(1, _0m(_3l, _4l, 42)._Cm)], "colpants");
if (yyfequal(_bR, "$ffffff")) {
{
if (yyfequal(_8R, "$ffffff")) {
{
_8R = _9R;
_9R = "$ffffff";
}
}
}
} else {
{
if (yyfequal(_9R, "$ffffff")) {
_9R = _8R;
}
_8R = "$ffffff";
}
}
if (yyfequal(_7R, _aR)) {
_7R = _8R;
}
if (yyfequal(_7R, _aR)) {
_7R = _9R;
}
_A9(_3l, _4l, yyfplus("str_shirt1 = ", _sl(_8R)));
_A9(_3l, _4l, yyfplus("str_pants1 = ", _sl(_9R)));
_A9(_3l, _4l, yyfplus("str_shirt2 = ", _sl(_bR)));
_A9(_3l, _4l, yyfplus("str_pants2 = ", _sl(_cR)));
var _dR = _y9(_3l, _4l, _aR);
var _eR = _y9(_3l, _4l, _bR);
var _fR = _y9(_3l, _4l, _cR);
_0m(_3l, _4l, 42)._gR = _vp(_0m(_3l, _4l, 42)._gR, 4016860445);
_0m(_3l, _4l, 42)._gR[_wp(0)] = yyfdivide(_sl(_hR(_dR)), 256);
_0m(_3l, _4l, 42)._gR[_wp(1)] = yyfdivide(_sl(_iR(_dR)), 256);
_0m(_3l, _4l, 42)._gR[_wp(2)] = yyfdivide(_sl(_jR(_dR)), 256);
_0m(_3l, _4l, 42)._kR = _vp(_0m(_3l, _4l, 42)._kR, 2690552258);
_0m(_3l, _4l, 42)._kR[_wp(0)] = yyfdivide(_sl(_hR(_eR)), 256);
_0m(_3l, _4l, 42)._kR[_wp(1)] = yyfdivide(_sl(_iR(_eR)), 256);
_0m(_3l, _4l, 42)._kR[_wp(2)] = yyfdivide(_sl(_jR(_eR)), 256);
_0m(_3l, _4l, 42)._lR = _vp(_0m(_3l, _4l, 42)._lR, 383660457);
_0m(_3l, _4l, 42)._lR[_wp(0)] = yyfdivide(_sl(_hR(_eR)), 300);
_0m(_3l, _4l, 42)._lR[_wp(1)] = yyfdivide(_sl(_iR(_eR)), 300);
_0m(_3l, _4l, 42)._lR[_wp(2)] = yyfdivide(_sl(_jR(_eR)), 300);
_0m(_3l, _4l, 42)._mR = _vp(_0m(_3l, _4l, 42)._mR, 2253889193);
_0m(_3l, _4l, 42)._mR[_wp(0)] = yyfdivide(_sl(_hR(_fR)), 256);
_0m(_3l, _4l, 42)._mR[_wp(1)] = yyfdivide(_sl(_iR(_fR)), 256);
_0m(_3l, _4l, 42)._mR[_wp(2)] = yyfdivide(_sl(_jR(_fR)), 256);
_0m(_3l, _4l, 42)._nR = _vp(_0m(_3l, _4l, 42)._nR, 4067047458);
_0m(_3l, _4l, 42)._nR[_wp(0)] = yyfdivide(_sl(_hR(_fR)), 300);
_0m(_3l, _4l, 42)._nR[_wp(1)] = yyfdivide(_sl(_iR(_fR)), 300);
_0m(_3l, _4l, 42)._nR[_wp(2)] = yyfdivide(_sl(_jR(_fR)), 300);
_dR = _y9(_3l, _4l, _7R);
_eR = _y9(_3l, _4l, _8R);
_fR = _y9(_3l, _4l, _9R);
_0m(_3l, _4l, 42)._oR = _vp(_0m(_3l, _4l, 42)._oR, 3003585573);
_0m(_3l, _4l, 42)._oR[_wp(0)] = yyfdivide(_sl(_hR(_dR)), 256);
_0m(_3l, _4l, 42)._oR[_wp(1)] = yyfdivide(_sl(_iR(_dR)), 256);
_0m(_3l, _4l, 42)._oR[_wp(2)] = yyfdivide(_sl(_jR(_dR)), 256);
_0m(_3l, _4l, 42)._pR = _vp(_0m(_3l, _4l, 42)._pR, 4231391482);
_0m(_3l, _4l, 42)._pR[_wp(0)] = yyfdivide(_sl(_hR(_eR)), 256);
_0m(_3l, _4l, 42)._pR[_wp(1)] = yyfdivide(_sl(_iR(_eR)), 256);
_0m(_3l, _4l, 42)._pR[_wp(2)] = yyfdivide(_sl(_jR(_eR)), 256);
_0m(_3l, _4l, 42)._qR = _vp(_0m(_3l, _4l, 42)._qR, 2629115275);
_0m(_3l, _4l, 42)._qR[_wp(0)] = yyfdivide(_sl(_hR(_eR)), 300);
_0m(_3l, _4l, 42)._qR[_wp(1)] = yyfdivide(_sl(_iR(_eR)), 300);
_0m(_3l, _4l, 42)._qR[_wp(2)] = yyfdivide(_sl(_jR(_eR)), 300);
_0m(_3l, _4l, 42)._rR = _vp(_0m(_3l, _4l, 42)._rR, 3661424529);
_0m(_3l, _4l, 42)._rR[_wp(0)] = yyfdivide(_sl(_hR(_fR)), 256);
_0m(_3l, _4l, 42)._rR[_wp(1)] = yyfdivide(_sl(_iR(_fR)), 256);
_0m(_3l, _4l, 42)._rR[_wp(2)] = yyfdivide(_sl(_jR(_fR)), 256);
_0m(_3l, _4l, 42)._sR = _vp(_0m(_3l, _4l, 42)._sR, 2013336576);
_0m(_3l, _4l, 42)._sR[_wp(0)] = yyfdivide(_sl(_hR(_fR)), 300);
_0m(_3l, _4l, 42)._sR[_wp(1)] = yyfdivide(_sl(_iR(_fR)), 300);
_0m(_3l, _4l, 42)._sR[_wp(2)] = yyfdivide(_sl(_jR(_fR)), 300);
}
function _k9(_3l, _4l) {
var _4R = _Sm(31);
var _5R = _0m(_3l, _4l, 42)._Fm;
_0m(_3l, _4l, 42)._Cm = _vp(_0m(_3l, _4l, 42)._Cm, 2130019475);
_0m(_3l, _4l, 42)._Cm[_wp(0)] = _hl(_0m(_3l, _4l, 42)._Bm, _4R);
_0m(_3l, _4l, 42)._Cm[_wp(1)] = _hl(_0m(_3l, _4l, 42)._Bm, _5R);
_0m(_3l, _4l, 42)._6R = 1;
var _7R = _il(_0m(_3l, _4l, 42)._Cm[_Tn(0, _0m(_3l, _4l, 42)._Cm)], "colhelmet");
var _8R = _il(_0m(_3l, _4l, 42)._Cm[_Tn(0, _0m(_3l, _4l, 42)._Cm)], "colshirt");
var _9R = _il(_0m(_3l, _4l, 42)._Cm[_Tn(0, _0m(_3l, _4l, 42)._Cm)], "colpants");
var _aR = _il(_0m(_3l, _4l, 42)._Cm[_Tn(1, _0m(_3l, _4l, 42)._Cm)], "colhelmet");
var _bR = _il(_0m(_3l, _4l, 42)._Cm[_Tn(1, _0m(_3l, _4l, 42)._Cm)], "colshirt");
var _cR = _il(_0m(_3l, _4l, 42)._Cm[_Tn(1, _0m(_3l, _4l, 42)._Cm)], "colpants");
if (yyfequal(_7R, _aR)) {
_7R = _8R;
}
if (yyfequal(_8R, _bR)) {
_8R = _9R;
}
if (yyfequal(_9R, _cR)) {
_9R = _7R;
}
var _dR = _y9(_3l, _4l, _aR);
var _eR = _y9(_3l, _4l, _bR);
var _fR = _y9(_3l, _4l, _cR);
_0m(_3l, _4l, 42)._gR = _vp(_0m(_3l, _4l, 42)._gR, 4016860445);
_0m(_3l, _4l, 42)._gR[_wp(0)] = yyfdivide(_sl(_hR(_dR)), 256);
_0m(_3l, _4l, 42)._gR[_wp(1)] = yyfdivide(_sl(_iR(_dR)), 256);
_0m(_3l, _4l, 42)._gR[_wp(2)] = yyfdivide(_sl(_jR(_dR)), 256);
_0m(_3l, _4l, 42)._kR = _vp(_0m(_3l, _4l, 42)._kR, 2690552258);
_0m(_3l, _4l, 42)._kR[_wp(0)] = yyfdivide(_sl(_hR(_eR)), 256);
_0m(_3l, _4l, 42)._kR[_wp(1)] = yyfdivide(_sl(_iR(_eR)), 256);
_0m(_3l, _4l, 42)._kR[_wp(2)] = yyfdivide(_sl(_jR(_eR)), 256);
_0m(_3l, _4l, 42)._lR = _vp(_0m(_3l, _4l, 42)._lR, 383660457);
_0m(_3l, _4l, 42)._lR[_wp(0)] = yyfdivide(_sl(_hR(_eR)), 300);
_0m(_3l, _4l, 42)._lR[_wp(1)] = yyfdivide(_sl(_iR(_eR)), 300);
_0m(_3l, _4l, 42)._lR[_wp(2)] = yyfdivide(_sl(_jR(_eR)), 300);
_0m(_3l, _4l, 42)._mR = _vp(_0m(_3l, _4l, 42)._mR, 2253889193);
_0m(_3l, _4l, 42)._mR[_wp(0)] = yyfdivide(_sl(_hR(_fR)), 256);
_0m(_3l, _4l, 42)._mR[_wp(1)] = yyfdivide(_sl(_iR(_fR)), 256);
_0m(_3l, _4l, 42)._mR[_wp(2)] = yyfdivide(_sl(_jR(_fR)), 256);
_0m(_3l, _4l, 42)._nR = _vp(_0m(_3l, _4l, 42)._nR, 4067047458);
_0m(_3l, _4l, 42)._nR[_wp(0)] = yyfdivide(_sl(_hR(_fR)), 300);
_0m(_3l, _4l, 42)._nR[_wp(1)] = yyfdivide(_sl(_iR(_fR)), 300);
_0m(_3l, _4l, 42)._nR[_wp(2)] = yyfdivide(_sl(_jR(_fR)), 300);
_dR = _y9(_3l, _4l, _7R);
_eR = _y9(_3l, _4l, _8R);
_fR = _y9(_3l, _4l, _9R);
_0m(_3l, _4l, 42)._oR = _vp(_0m(_3l, _4l, 42)._oR, 3003585573);
_0m(_3l, _4l, 42)._oR[_wp(0)] = yyfdivide(_sl(_hR(_dR)), 256);
_0m(_3l, _4l, 42)._oR[_wp(1)] = yyfdivide(_sl(_iR(_dR)), 256);
_0m(_3l, _4l, 42)._oR[_wp(2)] = yyfdivide(_sl(_jR(_dR)), 256);
_0m(_3l, _4l, 42)._pR = _vp(_0m(_3l, _4l, 42)._pR, 4231391482);
_0m(_3l, _4l, 42)._pR[_wp(0)] = yyfdivide(_sl(_hR(_eR)), 256);
_0m(_3l, _4l, 42)._pR[_wp(1)] = yyfdivide(_sl(_iR(_eR)), 256);
_0m(_3l, _4l, 42)._pR[_wp(2)] = yyfdivide(_sl(_jR(_eR)), 256);
_0m(_3l, _4l, 42)._qR = _vp(_0m(_3l, _4l, 42)._qR, 2629115275);
_0m(_3l, _4l, 42)._qR[_wp(0)] = yyfdivide(_sl(_hR(_eR)), 300);
_0m(_3l, _4l, 42)._qR[_wp(1)] = yyfdivide(_sl(_iR(_eR)), 300);
_0m(_3l, _4l, 42)._qR[_wp(2)] = yyfdivide(_sl(_jR(_eR)), 300);
_0m(_3l, _4l, 42)._rR = _vp(_0m(_3l, _4l, 42)._rR, 3661424529);
_0m(_3l, _4l, 42)._rR[_wp(0)] = yyfdivide(_sl(_hR(_fR)), 256);
_0m(_3l, _4l, 42)._rR[_wp(1)] = yyfdivide(_sl(_iR(_fR)), 256);
_0m(_3l, _4l, 42)._rR[_wp(2)] = yyfdivide(_sl(_jR(_fR)), 256);
_0m(_3l, _4l, 42)._sR = _vp(_0m(_3l, _4l, 42)._sR, 2013336576);
_0m(_3l, _4l, 42)._sR[_wp(0)] = yyfdivide(_sl(_hR(_fR)), 300);
_0m(_3l, _4l, 42)._sR[_wp(1)] = yyfdivide(_sl(_iR(_fR)), 300);
_0m(_3l, _4l, 42)._sR[_wp(2)] = yyfdivide(_sl(_jR(_fR)), 300);
}
function _l9(_3l, _4l, _5l) {
var _Pn = _hl(_0m(_3l, _4l, 42)._Bm, _5l);
return _il(_Pn, "name");
}
function _m9(_3l, _4l, _5l, _Bq, _Cq) {
_A9(_3l, _4l, "s_sort_teams");
var _tR = _5l;
var _8O = _Bq;
var _uR = _Cq;
var _xl = _yl();
while (yyfgreater(_el(_tR), 0)) {
{
var _vR = -4;
var _wR = -1;
var _dl = 0;
for (; yyfless(_dl, _el(_tR)); _dl++) {
{
var _Pn = _hl(_tR, _dl);
_vl(_Pn, "offense", _ml(_il(_Pn, "offense")));
_vl(_Pn, "defense", _ml(_il(_Pn, "defense")));
var _xR = _8O;
var _yR = -1;
if (yyCompareVal(_xR, 0, g_GMLMathEpsilon) == 0) {
_yR = 0;
} else if (yyCompareVal(_xR, 1, g_GMLMathEpsilon) == 0) {
_yR = 1;
} else if (yyCompareVal(_xR, 2, g_GMLMathEpsilon) == 0) {
_yR = 2;
} else if (yyCompareVal(_xR, 5, g_GMLMathEpsilon) == 0) {
_yR = 3;
}
switch (_yR) {
case 0: {
var _7w = _ml(_il(_Pn, "wins"));
var _8w = _ml(_il(_Pn, "losses"));
var _9w = _ml(_il(_Pn, "ties"));
var _zR = yyfplus(yyfplus(_sl(_7w), _sl(_8w)), _sl(_9w));
var _AR = yyfdivide(_sl(yyfplus(_sl(_7w), _sl(yyftime(_sl(_9w), 0.5)))), _sl(_zR));
if (yyGetBool(_uR)) {
{
if (yyGetBool(!yyGetBool(_vR)) || yyGetBool(yyfgreater(_AR, _wR)) || yyGetBool(yyGetBool(yyfequal(_AR, _wR)) && yyGetBool(yyfgreater(_7w, _il(_vR, "wins"))))) {
{
_vR = _Pn;
_wR = _AR;
}
}
}
} else {
{
if (yyGetBool(!yyGetBool(_vR)) || yyGetBool(yyfless(_AR, _wR)) || yyGetBool(yyGetBool(yyfequal(_AR, _wR)) && yyGetBool(yyfgreater(_7w, _il(_vR, "wins"))))) {
{
_vR = _Pn;
_wR = _AR;
}
}
}
}
break;
}
case 1: {
var _Vn = _il(_Pn, "name");
if (yyGetBool(_uR)) {
{
if (yyGetBool(!yyGetBool(_vR)) || yyGetBool(yyfless(_Vn, _il(_vR, "name")))) {
_vR = _Pn;
}
}
} else {
{
if (yyGetBool(!yyGetBool(_vR)) || yyGetBool(yyfgreater(_Vn, _il(_vR, "name")))) {
_vR = _Pn;
}
}
}
break;
}
case 2: {
var _Yp = yyfplus(_sl(_il(_Pn, "offense")), _sl(_il(_Pn, "defense")));
if (yyGetBool(_uR)) {
{
if (yyGetBool(!yyGetBool(_vR)) || yyGetBool(yyfless(_Yp, yyfplus(_sl(_il(_vR, "offense")), _sl(_il(_vR, "defense")))))) {
_vR = _Pn;
}
}
} else {
{
if (yyGetBool(!yyGetBool(_vR)) || yyGetBool(yyfgreater(_Yp, yyfplus(_sl(_il(_vR, "offense")), _sl(_il(_vR, "defense")))))) {
_vR = _Pn;
}
}
}
break;
}
case 3: {
var _BR = _il(_Pn, "uid");
if (yyGetBool(_uR)) {
{
if (yyGetBool(!yyGetBool(_vR)) || yyGetBool(yyfless(_BR, _il(_vR, "uid ")))) {
_vR = _Pn;
}
}
} else {
{
if (yyGetBool(!yyGetBool(_vR)) || yyGetBool(yyfgreater(_BR, _il(_vR, "uid ")))) {
_vR = _Pn;
}
}
}
break;
}
}
}
}
_Cl(_xl, _vR);
_El(_tR, _Dl(_tR, _vR));
}
}
_Fl(_tR);
return _xl;
}
function _n9(_3l, _4l, _5l, _Bq) {
var _Pv = _5l;
var _Wv = _Bq;
var _CR;
_CR = _vp(_CR, -2096);
_CR[_wp(0)] = _r5(_3l, _4l, _Pv, 0);
_CR[_wp(1)] = _r5(_3l, _4l, _Pv, 1);
_CR[_wp(2)] = _r5(_3l, _4l, _Pv, 2);
_CR[_wp(3)] = _r5(_3l, _4l, _Pv, 3);
{
var _DR = _8l(42);
for (var _ER in _DR) {
if (!_DR.hasOwnProperty(_ER)) continue;
var _FR = _DR[_ER];
if (_FR._bl) continue;
if (!_FR._cl) continue;
{
var _GR = _yl();
if (yyflessequal(_Wv, 4)) {
{
_Cl(_GR, _CR[_Tn(0, _CR)]);
_Cl(_GR, _CR[_Tn(1, _CR)]);
_Cl(_GR, _CR[_Tn(2, _CR)]);
_Cl(_GR, _CR[_Tn(3, _CR)]);
}
} else {
{
var _dl = 0;
for (; yyfless(_dl, _el(_FR._Bm)); _dl++) {
{
var _Cm = _hl(_FR._Bm, _dl);
if (yyfequal(_ml(_il(_Cm, "conference")), _Pv)) {
{
var _HR = 0 ? 1 : 0;
if (yyfgreater(_Wv, 4)) {
{
var _Is = 0;
for (; yyfless(_Is, 4); _Is++) {
{
if (yyfequal(_Cm, _CR[_Tn(_Is, _CR)])) {
{
_HR = 1 ? 1 : 0;
break;
}
}
}
}
}
}
if (!yyGetBool(_HR)) {
_Cl(_GR, _Cm);
}
}
}
}
}
}
}
_GR = _m9(_FR, _3l, _GR, 0, 1);
if (yyfgreater(_Wv, 4)) {
_Wv = yyfminus(_Wv, 4);
}
var _Cm = _hl(_GR, yyfminus(_sl(_Wv), 1));
_Fl(_GR);
return _Cm;
}
}
}
}
function _o9(_3l, _4l, _5l, _Bq) {
_A9(_3l, _4l, "s_get_team_id_by_seed");
var _Pv = _5l;
var _Wv = _Bq;
var _Cm = _n9(_3l, _4l, _Pv, _Wv);
return _il(_Cm, "uid");
}
function _p9(_3l, _4l, _5l, _Bq, _Cq) {
_A9(_3l, _4l, "s_get_team_name_by_seed");
var _Pv = _5l;
var _Wv = _Bq;
var _Tv = _Cq;
var _Cm = _n9(_3l, _4l, _Pv, _Wv);
var _IR = _Tv;
var _JR = -1;
if (yyCompareVal(_IR, 0, g_GMLMathEpsilon) == 0) {
_JR = 0;
} else if (yyCompareVal(_IR, 1, g_GMLMathEpsilon) == 0) {
_JR = 1;
}
switch (_JR) {
case 0: {
return _il(_Cm, "name");
break;
}
case 1: {
return _il(_Cm, "tla");
break;
}
}
}
function _q9(_3l, _4l, _5l) {
var _Pn = _5l;
{
var _KR = _8l(42);
for (var _LR in _KR) {
if (!_KR.hasOwnProperty(_LR)) continue;
var _MR = _KR[_LR];
if (_MR._bl) continue;
if (!_MR._cl) continue;
{
if (yyfequal(_il(_Pn, "uid"), _MR._Fm)) {
{
var _Yp = 0;
var _NR = 1;
var _dl = 0;
for (; yyfless(_dl, _el(_MR._Um)); _dl++) {
{
var _Bl = _hl(_MR._Um, _dl);
if (yyGetBool(yyfgreater(_il(_Bl, "condition"), 0)) && yyGetBool(!yyGetBool(_il(_Bl, "resting")))) {
{
var _OR = _il(_Bl, "position");
var _PR = -1;
if (
yyCompareVal(_OR, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_OR, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_OR, 3, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_OR, 4, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_OR, 5, g_GMLMathEpsilon) == 0
) {
_PR = 0;
}
switch (_PR) {
case 0: {
_NR++;
_Yp = yyfplus(_Yp, _98(_MR, _3l, _Bl));
break;
}
default: {
break;
}
}
}
}
}
}
var _QR = _H8(_MR, _3l, 102);
_Yp = yyfplus(_Yp, _il(_QR, "rating"));
_Yp = round(yyftime(_sl(_Yp), 0.3));
return _cm(_Yp, 1, 10);
}
} else {
{
return _ml(_il(_Pn, "offense"));
}
}
}
}
}
}
function _r9(_3l, _4l, _5l) {
var _Pn = _5l;
{
var _RR = _8l(42);
for (var _SR in _RR) {
if (!_RR.hasOwnProperty(_SR)) continue;
var _TR = _RR[_SR];
if (_TR._bl) continue;
if (!_TR._cl) continue;
{
if (yyfequal(_il(_Pn, "uid"), _TR._Fm)) {
{
var _Yp = 0;
var _NR = 1;
var _dl = 0;
for (; yyfless(_dl, _el(_TR._Um)); _dl++) {
{
var _Bl = _hl(_TR._Um, _dl);
if (yyGetBool(yyfgreater(_il(_Bl, "condition"), 0)) && yyGetBool(!yyGetBool(_il(_Bl, "resting")))) {
{
var _UR = _il(_Bl, "position");
var _VR = -1;
if (yyCompareVal(_UR, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_UR, 7, g_GMLMathEpsilon) == 0 || yyCompareVal(_UR, 8, g_GMLMathEpsilon) == 0 || yyCompareVal(_UR, 9, g_GMLMathEpsilon) == 0) {
_VR = 0;
}
switch (_VR) {
case 0: {
_NR++;
_Yp = yyfplus(_Yp, _98(_TR, _3l, _Bl));
break;
}
default: {
break;
}
}
}
}
}
}
var _QR = _H8(_TR, _3l, 101);
_Yp = yyfplus(_Yp, _il(_QR, "rating"));
_Yp = round(yyftime(_sl(_Yp), 0.3));
return _cm(_Yp, 1, 10);
}
} else {
{
return _ml(_il(_Pn, "defense"));
}
}
}
}
}
}
function _s9(_3l, _4l, _5l) {
var _Pn = _5l;
if (!yyGetBool(_Pn)) {
{
_3l._WR = _vp(_3l._WR, 3666812894);
_3l._WR[_wp(0)] = yyfdivide(_sl(_hR(8421504)), 256);
_3l._WR[_wp(1)] = yyfdivide(_sl(_iR(8421504)), 256);
_3l._WR[_wp(2)] = yyfdivide(_sl(_jR(8421504)), 256);
_3l._XR = _vp(_3l._XR, 1027333011);
_3l._XR[_wp(0)] = yyfdivide(_sl(_hR(12632256)), 256);
_3l._XR[_wp(1)] = yyfdivide(_sl(_iR(12632256)), 256);
_3l._XR[_wp(2)] = yyfdivide(_sl(_jR(12632256)), 256);
_3l._YR = _vp(_3l._YR, 3194782232);
_3l._YR[_wp(0)] = yyfdivide(_sl(_hR(0)), 256);
_3l._YR[_wp(1)] = yyfdivide(_sl(_iR(0)), 256);
_3l._YR[_wp(2)] = yyfdivide(_sl(_jR(0)), 256);
return;
}
}
var _dR = _y9(_3l, _4l, _il(_Pn, "colhelmet"));
var _eR = _y9(_3l, _4l, _il(_Pn, "colshirt"));
var _fR = _y9(_3l, _4l, _il(_Pn, "colpants"));
_3l._WR = _vp(_3l._WR, 3666812894);
_3l._WR[_wp(0)] = yyfdivide(_sl(_hR(_dR)), 256);
_3l._WR[_wp(1)] = yyfdivide(_sl(_iR(_dR)), 256);
_3l._WR[_wp(2)] = yyfdivide(_sl(_jR(_dR)), 256);
_3l._XR = _vp(_3l._XR, 1027333011);
_3l._XR[_wp(0)] = yyfdivide(_sl(_hR(_eR)), 256);
_3l._XR[_wp(1)] = yyfdivide(_sl(_iR(_eR)), 256);
_3l._XR[_wp(2)] = yyfdivide(_sl(_jR(_eR)), 256);
_3l._YR = _vp(_3l._YR, 3194782232);
_3l._YR[_wp(0)] = yyfdivide(_sl(_hR(_fR)), 256);
_3l._YR[_wp(1)] = yyfdivide(_sl(_iR(_fR)), 256);
_3l._YR[_wp(2)] = yyfdivide(_sl(_jR(_fR)), 256);
return;
}
function _t9(_3l, _4l) {
var _ZR = 0;
var _Is = 0;
for (; yyfless(_Is, _el(_0m(_3l, _4l, 42)._Um)); _Is++) {
{
var _Bl = _hl(_0m(_3l, _4l, 42)._Um, _Is);
_ZR = yyfplus(_ZR, _ml(_il(_Bl, "salary")));
}
}
return _ZR;
}
function _u9(_3l, _4l) {
{
var __R = _8l(42);
for (var _0S in __R) {
if (!__R.hasOwnProperty(_0S)) continue;
var _1S = __R[_0S];
if (_1S._bl) continue;
if (!_1S._cl) continue;
{
var _2S = _yl();
_Rm(_2S, _1S._Bm);
_2S = _m9(_1S, _3l, _2S, 2, 0);
var _3S = 18.75;
var _dl = 0;
for (; yyfless(_dl, _el(_2S)); _dl++) {
{
var _Cm = _hl(_2S, _dl);
_A9(_1S, _3l, yyfplus(yyfplus(yyfplus(yyfplus(_sl(_il(_Cm, "name")), " "), _sl(_ul(_il(_Cm, "offense")))), " / "), _sl(_ul(_il(_Cm, "defense")))));
var _Yp = yyfplus(_sl(_il(_Cm, "offense")), _sl(_il(_Cm, "defense")));
_A9(_1S, _3l, yyfplus("Rating was ", _sl(_ul(_Yp))));
for (var _4S = 0, _5S = yyGetInt32(10); _4S < _5S; _4S++) {
{
if (yyfgreater(_Yp, round(_3S))) {
{
var _6S = _Sm(1);
var _7S = -1;
if (yyCompareVal(_6S, 0, g_GMLMathEpsilon) == 0) {
_7S = 0;
} else if (yyCompareVal(_6S, 1, g_GMLMathEpsilon) == 0) {
_7S = 1;
}
switch (_7S) {
case 0: {
_FB(_Cm, "offense", yyfminus(_sl(_il(_Cm, "offense")), 1));
break;
}
case 1: {
_FB(_Cm, "defense", yyfminus(_sl(_il(_Cm, "defense")), 1));
break;
}
}
}
} else {
if (yyfless(_Yp, round(_3S))) {
{
var _8S = _Sm(1);
var _9S = -1;
if (yyCompareVal(_8S, 0, g_GMLMathEpsilon) == 0) {
_9S = 0;
} else if (yyCompareVal(_8S, 1, g_GMLMathEpsilon) == 0) {
_9S = 1;
}
switch (_9S) {
case 0: {
_FB(_Cm, "offense", yyfplus(_sl(_il(_Cm, "offense")), 1));
break;
}
case 1: {
_FB(_Cm, "defense", yyfplus(_sl(_il(_Cm, "defense")), 1));
break;
}
}
}
}
}
_Yp = yyfplus(_sl(_il(_Cm, "offense")), _sl(_il(_Cm, "defense")));
}
}
_A9(_1S, _3l, yyfplus("Rating now ", _sl(_ul(_Yp))));
_3S = yyfminus(_3S, 0.475);
}
}
_Fl(_2S);
}
}
}
}
function _v9(_3l, _4l, _5l) {
return yyfbitand(_sl(_5l), 255);
}
function _w9(_3l, _4l, _5l) {
return yyfbitand(_sl(yyfdiv(_sl(_5l), 256)), 255);
}
function _x9(_3l, _4l, _5l) {
return yyfdiv(_sl(_5l), 65536);
}
function _y9(_3l, _4l, _5l) {
var _aS = _ul(_5l);
var _bS = 0;
var _cS = 48;
var _dS = 57;
var _eS = 65;
var _fS = 70;
var _dl = 1;
for (; yyflessequal(_dl, _ku(_aS)); _dl++) {
{
var _lL = _gS(_qQ(_UK(_aS), _dl));
_bS = yyfbitshiftleft(_sl(_bS), 4);
if (yyGetBool(yyfgreaterequal(_lL, _cS)) && yyGetBool(yyflessequal(_lL, _dS))) {
{
_bS = yyfplus(_sl(_bS), _sl(yyfminus(_sl(_lL), _sl(_cS))));
}
} else {
if (yyGetBool(yyfgreaterequal(_lL, _eS)) && yyGetBool(yyflessequal(_lL, _fS))) {
{
_bS = yyfplus(_sl(_bS), _sl(yyfplus(yyfminus(_sl(_lL), _sl(_eS)), 10)));
}
} else {
{
}
}
}
}
}
return _bS;
}
function _z9(_3l, _4l, _5l) {
return yyfbitor(yyfbitor(_sl(yyfbitshiftleft(_sl(yyfbitand(_sl(_5l), 255)), 16)), _sl(yyfbitand(_sl(_5l), 65280))), _sl(yyfbitshiftright(_sl(yyfbitand(_sl(_5l), 16711680)), 16)));
}
function _A9(_3l, _4l, _5l) {
_4z(_ul(_5l));
return _5l;
}
function _B9(_3l, _4l, _5l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
return;
}
_FA(_5l, 1, 0);
}
function _C9(_3l, _4l) {
return _kI(_Sm(255), _Sm(255), _Sm(255));
}
function _D9(_3l, _4l, _5l, _Bq, _Cq, _zu, _Mw, _Nw, _Ow, _yM) {
var _hS = _5l;
var _iS = _Bq;
var _jS = _Cq;
var _kS = _zu;
var _lS = _Mw;
var _mS = _Nw;
var _nS = _Ow;
var _oS = _yM;
var _HC = _Oq(0, 0, "Players", 46);
var _pS = yyfminus(_sl(yyftime(_sl(yyfminus(_sl(_iS), _sl(_mS))), _sl(yyfminus(_sl(_nS), _sl(_lS))))), _sl(yyftime(_sl(yyfminus(_sl(_hS), _sl(_lS))), _sl(yyfminus(_sl(_oS), _sl(_mS))))));
var _qS = yyfminus(_sl(yyftime(_sl(yyfminus(_sl(_jS), _sl(_hS))), _sl(yyfminus(_sl(_oS), _sl(_mS))))), _sl(yyftime(_sl(yyfminus(_sl(_kS), _sl(_iS))), _sl(yyfminus(_sl(_nS), _sl(_lS))))));
if (yyfequal(_qS, 0)) {
{
_0m(_3l, _4l, _HC)._IC = 0 ? 1 : 0;
}
} else {
{
_0m(_3l, _4l, _HC)._IC = 1 ? 1 : 0;
var _rS = yyfminus(_sl(yyftime(_sl(yyfminus(_sl(_iS), _sl(_mS))), _sl(yyfminus(_sl(_jS), _sl(_hS))))), _sl(yyftime(_sl(yyfminus(_sl(_hS), _sl(_lS))), _sl(yyfminus(_sl(_kS), _sl(_iS))))));
_0m(_3l, _4l, _HC)._sS = yyfdivide(_sl(_pS), _sl(_qS));
_0m(_3l, _4l, _HC)._LC = yyfdivide(_sl(_rS), _sl(_qS));
_0m(_3l, _4l, _HC)._Os = yyfplus(_sl(_hS), _sl(yyftime(_sl(_0m(_3l, _4l, _HC)._sS), _sl(yyfminus(_sl(_jS), _sl(_hS))))));
_0m(_3l, _4l, _HC)._Qs = yyfplus(_sl(_iS), _sl(yyftime(_sl(_0m(_3l, _4l, _HC)._sS), _sl(yyfminus(_sl(_kS), _sl(_iS))))));
if (yyfgreater(_0m(_3l, _4l, _HC)._sS, 1)) {
_0m(_3l, _4l, _HC)._IC = 0 ? 1 : 0;
}
if (yyfless(_0m(_3l, _4l, _HC)._sS, 0)) {
_0m(_3l, _4l, _HC)._IC = 0 ? 1 : 0;
}
if (yyfgreater(_0m(_3l, _4l, _HC)._LC, 1)) {
_0m(_3l, _4l, _HC)._IC = 0 ? 1 : 0;
}
if (yyfless(_0m(_3l, _4l, _HC)._LC, 0)) {
_0m(_3l, _4l, _HC)._IC = 0 ? 1 : 0;
}
}
}
return _HC;
}
function _E9(_3l, _4l, _5l) {
var _Zt = _5l;
var _tS = _uS(_Zt);
var _vS = "";
while (!yyGetBool(_du(_tS))) {
{
_vS = yyfplus(_vS, yyfplus(yyfplus(yyfplus(_sl(_tS), ": "), _sl(_ul(_il(_Zt, _tS)))), "\n"));
_tS = _wS(_Zt, _tS);
}
}
_A9(_3l, _4l, _vS);
}
function _F9(_3l, _4l) {
var _pr = _qr("Colleges.txt");
var _xS;
var _vL = 0;
while (!yyGetBool(_rr(_pr))) {
{
var _yS = _Pl(_ur(_pr), "\n", "");
_xS = _vp(_xS, -2215);
_xS[_wp(_vL++)] = _yS;
}
}
_xr(_pr);
return _xS[_Tn(_Sm(yyfminus(_sl(_vL), 1)), _xS)];
}
function _G9(_3l, _4l) {
var _pr = _qr("Charities.txt");
var _xS;
var _vL = 0;
while (!yyGetBool(_rr(_pr))) {
{
var _yS = _Pl(_ur(_pr), "\n", "");
_xS = _vp(_xS, -2223);
_xS[_wp(_vL++)] = _yS;
}
}
_xr(_pr);
return _xS[_Tn(_Sm(yyfminus(_sl(_vL), 1)), _xS)];
}
function _H9(_3l, _4l, _5l, _Bq, _Cq, _zu) {
_3l._zS = _AS(yyfminus(_sl(_zu), _sl(_Bq)), yyfminus(_sl(_Cq), _sl(_5l)));
return _3l._zS;
}
function _I9(_3l, _4l, _5l) {
var _BS = _5l;
var _vu = "Names_F1.txt";
if (!yyGetBool(_BS)) {
_vu = "Names_F0.txt";
}
var _pr = _qr(_vu);
var _xS;
var _vL = 0;
while (!yyGetBool(_rr(_pr))) {
{
var _yS = _ur(_pr);
if (yyfless(_ku(_CS(_yS)), 8)) {
_xS = _vp(_xS, -2235);
_xS[_wp(_vL++)] = _yS;
}
}
}
_xr(_pr);
return _CS(_xS[_Tn(_Sm(yyfminus(_sl(_vL), 1)), _xS)]);
}
function _J9(_3l, _4l) {
var _pr = _qr("Names_L.txt");
var _xS;
var _vL = 0;
while (!yyGetBool(_rr(_pr))) {
{
var _yS = _ur(_pr);
if (yyfless(_ku(_CS(_yS)), 8)) {
_xS = _vp(_xS, -2243);
_xS[_wp(_vL++)] = _yS;
}
}
}
_xr(_pr);
return _CS(_xS[_Tn(_Sm(yyfminus(_sl(_vL), 1)), _xS)]);
}
function _6a(_3l, _4l) {}
function _8a(_3l, _4l) {
_YK(1);
_ZK(1);
__K(1);
var _sr = _UK(_3l._mm);
var _1L = yyftime(_sl(_Qq()), 0.5);
var _2L = yyfplus(yyfplus(_sl(yyftime(_sl(_3L(_sr)), 0.5)), _sl(_Ts(72))), 16);
_5L(_1L, _3l._1r, _sr);
if (yyGetBool(_3l._2r)) {
{
_jL(_3l, 72, 0, yyfminus(_sl(_1L), _sl(_2L)), _3l._1r, 2, 2, 0, 16777215, 1);
_jL(_3l, 72, 0, yyfminus(yyfplus(_sl(_1L), _sl(_2L)), 2), _3l._1r, -2, 2, 0, 16777215, 1);
}
}
}
function _aa(_3l, _4l) {
_DS(_3l, _4l);
_3l._1r = 16;
_3l._mm = _Q8(_3l, _4l, "ui_Title");
_3l._2r = 1 ? 1 : 0;
}
function _ea(_3l, _4l) {
if (!yyGetBool(_3l._6r)) {
return;
}
_3l._ES = 0 ? 1 : 0;
if (yyGetBool(_3l._FS)) {
{
if (yyfgreater(_ku(_rn._GS), 12)) {
_rn._GS = _wr(_rn._GS, 1, 12);
}
{
if (yyGetBool(_HS(1))) {
_3l._FS = 0 ? 1 : 0;
}
}
var _IS = _rn._lx();
var _JS = -1;
if (yyCompareVal(_IS, 0, g_GMLMathEpsilon) == 0 || yyCompareVal(_IS, 1, g_GMLMathEpsilon) == 0) {
_JS = 0;
} else if (yyCompareVal(_IS, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_IS, 4, g_GMLMathEpsilon) == 0) {
_JS = 1;
}
switch (_JS) {
case 0: {
if (yyGetBool(_KS(13))) {
{
_3l._FS = 0 ? 1 : 0;
}
}
break;
}
case 1: {
if (yyGetBool(yyfnotequal(_rn._GS, "")) || yyGetBool(_LS())) {
{
_A9(_3l, _4l, yyfplus("keyboard_virtual_status=", _sl(_ul(_MS()))));
_A9(_3l, _4l, yyfplus("keyboard_lastkey=", _sl(_ul(_rn._NS))));
_A9(_3l, _4l, yyfplus("keyboard_lastchar=", _sl(_ul(_rn._OS))));
if (yyGetBool(yyfequal(_rn._OS, "\n")) || yyGetBool(yyfequal(_rn._OS, "\n")) || yyGetBool(yyfequal(_rn._OS, "\r")) || yyGetBool(yyfequal(_rn._NS, 10)) || yyGetBool(yyfequal(_MS(), 0))) {
{
_A9(_3l, _4l, "Close keyboard");
_3l._FS = 0 ? 1 : 0;
}
}
}
}
break;
}
}
if (!yyGetBool(_3l._FS)) {
{
_PS(13);
if (yyGetBool(global._7u)) {
_QS();
}
if (yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
_FA(6, 1, 0);
}
_3l._mm = _RS(_rn._GS);
_rn._GS = "";
_rn._NS = -1;
}
}
}
} else {
{
{
var _SS = _8l(1);
for (var _TS in _SS) {
if (!_SS.hasOwnProperty(_TS)) continue;
var _US = _SS[_TS];
if (_US._bl) continue;
if (!_US._cl) continue;
if (yyGetBool(_US._FS)) {
return;
}
}
}
if (yyGetBool(_VS(_ZA(0), _0B(0), _3l.x, _3l.y, yyfplus(_sl(_3l.x), _sl(_3l._OM())), yyfplus(_sl(_3l.y), _sl(_3l._Vs()))))) {
{
_3l._ES = 1 ? 1 : 0;
}
}
if (yyGetBool(_3l._ES)) {
{
if (yyGetBool(_4B(1))) {
{
_3l._XB(1);
_3l._WS = 1 ? 1 : 0;
}
}
if (yyGetBool(_3l._WS) && yyGetBool(_HS(1))) {
{
if (yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
_FA(6, 1, 0);
}
_3l._WS = 0 ? 1 : 0;
_3l._FS = 1 ? 1 : 0;
if (yyGetBool(global._7u)) {
_XS(0, 4, 1, 0);
}
_rn._GS = "";
_rn._NS = -1;
}
}
}
} else {
{
_3l._WS = 0 ? 1 : 0;
}
}
}
}
}
function _fa(_3l, _4l) {
if (yyGetBool(_3l._FS)) {
_4L(yyfminus(_sl(_3l.x), 2), yyfminus(_sl(_3l.y), 2), yyfplus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 1.5), yyfplus(yyfplus(_sl(_3l.y), _sl(_3l._Vs())), 1.5), 255, 255, 255, 255, 0);
}
_YS(_3l);
_YK(_3l._ZS);
_ZK(_3l.__S);
__K(_3l._0T);
_0L(1);
var _1L = yyfplus(_sl(_3l.x), _sl(yyftime(_sl(_3l._OM()), 0.5)));
var _1r = yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5)));
if (yyGetBool(_3l._FS)) {
{
var _1T = yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 100))), 1)), 2);
_2T(yyfplus(yyfplus(_sl(_1L), 3), _sl(yyftime(_sl(_3L(_rn._GS)), 0.5))), _1r, "|", _3l._3T, _3l._3T, _3l._3T, _3l._3T, _1T);
_2T(_1L, _1r, _rn._GS, _3l._3T, _3l._3T, _3l._3T, _3l._3T, 1);
}
} else {
{
_2T(_1L, _1r, _3l._mm, _3l._3T, _3l._3T, _3l._3T, _3l._3T, 1);
}
}
}
function _ga(_3l, _4l) {}
function _ia(_3l, _4l) {
if (yyGetBool(_3l._FS)) {
{
_3l._FS = 0 ? 1 : 0;
if (yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
_FA(6, 1, 0);
}
_3l._mm = _RS(_rn._GS);
_rn._GS = "";
_rn._NS = -1;
}
}
}
function _ja(_3l, _4l) {
_DS(_3l, _4l);
_3l._mm = "Text";
_3l.__S = 1;
_3l._0T = 1;
_3l._am = 16777215;
_3l._3T = 0;
_3l._ZS = 0;
_3l._FS = 0 ? 1 : 0;
_3l._ES = 0 ? 1 : 0;
_3l._WS = 0 ? 1 : 0;
_3l._4T = -4;
_3l._6r = 1 ? 1 : 0;
}
function _ka(_3l, _4l) {
if (yyGetBool(_3l._5T)) {
{
if (yyGetBool(_3l._6T)) {
_jL(_3l, _3l._wC, 0, yyfminus(_sl(_3l.x), 2), yyfplus(_sl(_3l.y), 2), _3l._tC, _3l._nC, 0, 4210752, _3l._0r);
}
_jL(_3l, _3l._wC, 0, _3l.x, _3l.y, _3l._tC, _3l._nC, 0, _3l._am, _3l._0r);
}
}
_YK(_3l._ZS);
_ZK(_3l.__S);
__K(_3l._0T);
_3l._mm = _UK(_3l._mm);
var _1L = _3l.x;
var _1r = _3l.y;
var _1T = _3l._0r;
if (yyGetBool(_3l._hr)) {
_1L = yyfminus(_1L, yyftime(_sl(_Ts(_3l._hr)), 0.25));
}
if (yyGetBool(yyfequal(_1T, 1)) && yyGetBool(_3l._7T)) {
_1T = yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 160))), 1)), 2);
}
if (yyGetBool(_3l._6T)) {
_2T(yyfminus(_sl(_1L), 2), yyfplus(_sl(_1r), 2), _3l._mm, 0, 0, 0, 0, _1T);
}
_2T(_1L, _1r, _3l._mm, _3l._3T, _3l._3T, _3l._3T, _3l._3T, _1T);
if (yyGetBool(_3l._hr)) {
{
var _2L = yyftime(_sl(_3L(_3l._mm)), 0.5);
_2L = yyfplus(_2L, yyftime(_sl(_Ts(_3l._hr)), 0.5));
_hL(_3l, _3l._hr, 0, yyfplus(_sl(_1L), _sl(_2L)), _1r);
}
}
}
function _la(_3l, _4l) {}
function _ma(_3l, _4l) {
_DS(_3l, _4l);
_3l._mm = "Text";
_3l.__S = 1;
_3l._0T = 1;
_3l._5T = 1 ? 1 : 0;
_3l._am = 16777215;
_3l._3T = 16777215;
_3l._0r = 1;
_3l._7T = 0 ? 1 : 0;
_3l._ZS = 0;
_3l._6T = 0 ? 1 : 0;
_3l._hr = -4;
}
function _na(_3l, _4l) {
if (yyGetBool(_3l._5T) && yyGetBool(_3l._wC)) {
{
if (yyGetBool(_3l._6T)) {
_jL(_3l, _3l._wC, 0, yyfminus(_sl(_3l.x), 2), yyfplus(_sl(_3l.y), 2), _3l._tC, _3l._nC, 0, 4210752, _3l._0r);
}
_jL(_3l, _3l._wC, 0, _3l.x, _3l.y, _3l._tC, _3l._nC, 0, _3l._am, _3l._0r);
}
}
_YK(_3l._ZS);
_ZK(_3l.__S);
__K(_3l._0T);
_3l._mm = _UK(_3l._mm);
var _1L = _3l.x;
var _1r = _3l.y;
var _1T = _3l._0r;
if (yyGetBool(_3l._hr)) {
_1L = yyfminus(_1L, yyftime(_sl(_Ts(_3l._hr)), 0.25));
}
if (yyGetBool(yyfequal(_1T, 1)) && yyGetBool(_3l._7T)) {
_1T = yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 160))), 1)), 2);
}
if (yyGetBool(_3l._6T)) {
_8T(yyfminus(_sl(_1L), 2), yyfplus(_sl(_1r), 2), _3l._mm, -1, _3l._OM(), 0, 0, 0, 0, _1T);
}
_8T(_1L, _1r, _3l._mm, -1, _3l._OM(), _3l._3T, _3l._3T, _3l._3T, _3l._3T, _1T);
if (yyGetBool(_3l._hr)) {
{
var _2L = yyftime(_sl(_3L(_3l._mm)), 0.5);
_2L = yyfplus(_2L, yyftime(_sl(_Ts(_3l._hr)), 0.5));
_hL(_3l, _3l._hr, 0, yyfplus(_sl(_1L), _sl(_2L)), _1r);
}
}
}
function _oa(_3l, _4l) {}
function _pa(_3l, _4l) {
_DS(_3l, _4l);
_3l.__S = 1;
_3l._0T = 1;
_3l._5T = 1 ? 1 : 0;
_3l._am = 16777215;
_3l._3T = 16777215;
_3l._0r = 1;
_3l._7T = 0 ? 1 : 0;
_3l._ZS = 0;
_3l._6T = 0 ? 1 : 0;
_3l._mm = _Q8(_3l, _4l, "");
_3l._hr = -4;
}
function _qa(_3l, _4l) {}
function _ra(_3l, _4l) {
var _9T = _3l.x;
var _aT = _3l.y;
if (yyGetBool(_3l._6r)) {
_jL(_3l, _3l._wC, _3l._oC, yyfminus(_sl(_3l.x), 2), yyfplus(_sl(_3l.y), 2), 1, 1, 0, 4210752, 1);
}
if (yyGetBool(_3l._WS)) {
{
_9T = yyfminus(_9T, 2);
_aT = yyfplus(_aT, 2);
}
}
_0L(_3l._0r);
_4L(yyfplus(_sl(_9T), 2), _aT, yyfminus(yyfplus(yyfplus(_sl(_9T), 2), _sl(_3l._OM())), 4), yyfminus(yyfplus(yyfplus(_sl(_aT), 2), _sl(_3l._Vs())), 4), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_hL(_3l, _3l._wC, _3l._oC, _9T, _aT);
_YK(0);
_ZK(0);
var _1L = _9T;
var _1r = _aT;
var _bT = yyfplus(1, _sl(_3L(_3l._Pq)));
var _cT = yyfdivide(_sl(_dT(_3l._Pq)), 2);
_1L = yyfplus(_1L, 16);
_0L(1);
_4L(yyfminus(_sl(_1L), 2), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_0L(_3l._0r);
_5L(_1L, _1r, _UK(_3l._Pq));
_ZK(1);
_1L = yyfminus(yyfplus(_sl(_9T), _sl(_3l._OM())), 56);
_0L(1);
_4L(yyfminus(_sl(_1L), 8), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), 46), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_0L(_3l._0r);
_5L(_1L, _1r, _Q8(_3l, _4l, "sla_Wins"));
_1L = yyfplus(_1L, 20);
_5L(_1L, _1r, _Q8(_3l, _4l, "sla_Losses"));
_1L = yyfplus(_1L, 20);
_5L(_1L, _1r, _Q8(_3l, _4l, "sla_Ties"));
_1r = yyfplus(_sl(_aT), 16);
var _Am = 0;
for (; yyfless(_Am, 4); _Am++) {
{
_1L = yyfplus(_sl(_9T), 16);
_ZK(0);
_eT(_1L, _1r, _UK(_3l._dw[_Tn(_Am, _3l._dw)]), _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._0r);
_1L = yyfminus(yyfplus(_sl(_9T), _sl(_3l._OM())), 56);
_ZK(1);
_eT(_1L, _1r, _3l._7w[_Tn(_Am, _3l._7w)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._0r);
_1L = yyfplus(_1L, 20);
_eT(_1L, _1r, _3l._8w[_Tn(_Am, _3l._8w)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._0r);
_1L = yyfplus(_1L, 20);
_eT(_1L, _1r, _3l._9w[_Tn(_Am, _3l._9w)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._ew[_Tn(_Am, _3l._ew)], _3l._0r);
_1r = yyfplus(_1r, 16);
}
}
_0L(1);
}
function _sa(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._dw = _vp(_3l._dw, 4207176991);
_3l._dw[_wp(4)] = "Team";
_3l._ew = _vp(_3l._ew, 962292243);
_3l._ew[_wp(4)] = 16777215;
_3l._7w = _vp(_3l._7w, 3868566363);
_3l._7w[_wp(4)] = 0;
_3l._8w = _vp(_3l._8w, 497902275);
_3l._8w[_wp(4)] = 0;
_3l._9w = _vp(_3l._9w, 3206226873);
_3l._9w[_wp(4)] = 0;
_3l._0r = 1;
}
function _ua(_3l, _4l) {
_3l._Oy(yyfdivide(_sl(_Qq()), _sl(_3l._OM())));
_3l._Py(yyfdivide(_sl(_Rq()), _sl(_3l._Vs())));
_3l._fT = -4;
}
function _wa(_3l, _4l) {
_V7(_3l, _4l);
_X7(_3l, _4l);
}
function _xa(_3l, _4l) {
_jL(_3l, 101, 0, 0, 0, _3l._tC, _3l._nC, 0, _3l._am, _3l._0r);
}
function _ya(_3l, _4l) {}
function _Aa(_3l, _4l) {
_3m(4);
}
function _Ba(_3l, _4l) {
_DS(_3l, _4l);
_3l._0r = 0.8;
_3l._am = 16777215;
_3l._gT = 0 ? 1 : 0;
}
function _Ca(_3l, _4l) {}
function _Da(_3l, _4l) {
_YK(0);
_ZK(1);
__K(1);
if (yyGetBool(_3l._5T)) {
{
var _uw = yyfplus(16, _sl(_hT(_3l._mm, -1, _3l._3r)));
var _2L = yyfplus(16, _sl(_hT(_3l._Pq, -1, _3l._3r)));
if (yyfgreater(_2L, _uw)) {
_uw = _2L;
}
var _PM = yyfplus(16, _sl(_QM(_3l._mm, -1, _3l._3r)));
var _DF = yyfminus(_sl(_3l.x), _sl(yyftime(_sl(_uw), 0.5)));
var _Gy = yyfminus(_sl(_3l.y), _sl(yyftime(_sl(_PM), 0.5)));
_4L(yyfplus(_sl(_DF), 2), yyfplus(_sl(_Gy), 2), yyfminus(yyfplus(_sl(_DF), _sl(_uw)), 2), yyfminus(yyfplus(_sl(_Gy), _sl(_PM)), 2), _3l._am, _3l._am, _3l._am, _3l._am, 0);
_hL(_3l, 98, 0, _DF, _Gy);
_jL(_3l, 98, 2, yyfplus(_sl(_DF), 4), _Gy, yyfdivide(_sl(yyfminus(_sl(_uw), 8)), 4), 1, 0, 16777215, 1);
_hL(_3l, 98, 1, yyfminus(yyfplus(_sl(_DF), _sl(_uw)), 4), _Gy);
_jL(_3l, 98, 3, yyfminus(yyfplus(_sl(_DF), _sl(_uw)), 2), yyfplus(_sl(_Gy), 4), 1, yyfdivide(_sl(yyfminus(_sl(_PM), 8)), 4), 0, 16777215, 1);
_hL(_3l, 98, 0, yyfminus(yyfplus(_sl(_DF), _sl(_uw)), 4), yyfminus(yyfplus(_sl(_Gy), _sl(_PM)), 4));
_jL(_3l, 98, 2, yyfplus(_sl(_DF), 4), yyfminus(yyfplus(_sl(_Gy), _sl(_PM)), 2), yyfdivide(_sl(yyfminus(_sl(_uw), 8)), 4), 1, 0, 16777215, 1);
_hL(_3l, 98, 1, _DF, yyfminus(yyfplus(_sl(_Gy), _sl(_PM)), 4));
_jL(_3l, 98, 3, _DF, yyfplus(_sl(_Gy), 4), 1, yyfdivide(_sl(yyfminus(_sl(_PM), 8)), 4), 0, 16777215, 1);
}
}
if (yyGetBool(_3l._iT)) {
{
_aL(0);
_jT(yyfminus(_sl(_3l.x), 1), yyfplus(_sl(_3l.y), 1), _3l._mm, -1, _3l._3r);
}
}
_aL(_3l._WM);
_jT(_3l.x, _3l.y, _3l._mm, -1, _3l._3r);
_aL(16777215);
var _PM = yyfplus(16, _sl(_QM(_3l._mm, -1, _3l._3r)));
var _Gy = yyfminus(_sl(_3l.y), _sl(yyftime(_sl(_PM), 0.5)));
if (yyfequal(_3l._Pq, "")) {
return;
}
var _kT = _UK(_3l._Pq);
var _1L = _3l.x;
var _1r = _Gy;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_kT)), 2)));
var _cT = yyfdivide(_sl(_dT(_kT)), 2);
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
if (yyfnotequal(_kT, "")) {
{
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfplus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(yyfplus(_sl(_1L), _sl(_bT)), 1), yyfminus(yyfplus(_sl(_1r), _sl(_cT)), 6), 16777215, 16777215, 16777215, 16777215, 0);
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 1), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(yyfplus(_sl(_1L), _sl(_bT)), 0), yyfminus(yyfplus(_sl(_1r), _sl(_cT)), 6), 16777215, 16777215, 16777215, 16777215, 0);
_4L(yyfminus(_sl(_1L), _sl(_bT)), yyfplus(yyfminus(_sl(_1r), _sl(_cT)), 2), yyfminus(yyfplus(_sl(_1L), _sl(_bT)), 1), yyfminus(yyfplus(_sl(_1r), _sl(_cT)), 2), _3l._am, _3l._am, _3l._am, _3l._am, 0);
if (yyGetBool(_3l._lT)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _kT, 0, 0, 0, 0, 1);
}
_eT(_1L, _1r, _kT, 16777215, 16777215, 16777215, 16777215, 1);
}
}
}
function _Ea(_3l, _4l) {
_DS(_3l, _4l);
_3l._mm = "Message";
_3l._am = new Long(4294967295, 0, false);
_3l._3r = 400;
_3l._5T = 1 ? 1 : 0;
_3l._WM = new Long(4294967295, 0, false);
_3l._iT = 0 ? 1 : 0;
_3l._Pq = "";
_3l._lT = 1 ? 1 : 0;
}
function _Fa(_3l, _4l) {
_3l._am = global._Ll;
if (yyGetBool(_3l._mT)) {
_3l._Vw(_3l._mT);
}
}
function _Ga(_3l, _4l) {
if (!yyGetBool(_3l._4a)) {
return;
}
if (yyGetBool(_3l._nT()) && yyGetBool(!yyGetBool(_oT(_3l._nT())))) {
return;
}
if (!yyGetBool(_3l._6r)) {
return;
}
{
var _pT = _8l(5);
for (var _qT in _pT) {
if (!_pT.hasOwnProperty(_qT)) continue;
var _rT = _pT[_qT];
if (_rT._bl) continue;
if (!_rT._cl) continue;
if (yyfless(_rT._jr(), _3l._jr())) {
return;
}
}
}
{
var _sT = _8l(1);
for (var _tT in _sT) {
if (!_sT.hasOwnProperty(_tT)) continue;
var _uT = _sT[_tT];
if (_uT._bl) continue;
if (!_uT._cl) continue;
if (yyGetBool(_uT._FS)) {
return;
}
}
}
_3l._XB(0);
_3l._ES = 0 ? 1 : 0;
if (yyGetBool(_VS(_ZA(0), _0B(0), _3l.x, _3l.y, yyfplus(_sl(_3l.x), _sl(_3l._OM())), yyfplus(_sl(_3l.y), _sl(_3l._Vs()))))) {
{
_3l._ES = 1 ? 1 : 0;
}
}
if (yyGetBool(_3l._ES)) {
{
if (yyGetBool(_4B(1))) {
{
_3l._XB(1);
_3l._WS = 1 ? 1 : 0;
}
}
if (yyGetBool(_3l._WS) && yyGetBool(_HS(1))) {
{
if (yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
_FA(6, 1, 0);
}
_72._F2[_3l._4r](_3l, _4l);
_3l._WS = 0 ? 1 : 0;
}
}
}
} else {
{
_3l._WS = 0 ? 1 : 0;
}
}
}
function _Ha(_3l, _4l) {}
function _Ia(_3l, _4l) {
_YK(0);
_ZK(1);
var _1L = yyfplus(_sl(_3l.x), _sl(yyfdivide(_sl(_3l._OM()), 2)));
var _1r = yyfplus(_sl(_3l.y), _sl(yyfdivide(_sl(_3l._Vs()), 2)));
_1L = yyfplus(_1L, 1);
_1r = yyfminus(_1r, 1);
if (!yyGetBool(_3l._6r)) {
{
_jL(_3l, _3l._wC, 1, yyfplus(_sl(_3l.x), 2), yyfminus(_sl(_3l.y), 2), 1, 1, 0, 4210752, 1);
_aL(4210752);
if (yyGetBool(_3l._5r)) {
_hL(_3l, _3l._5r, 0, _1L, _1r);
} else {
_5L(_1L, _1r, _UK(_3l._mm));
}
_aL(16777215);
}
} else {
if (!yyGetBool(_3l._WS)) {
{
var _vu = yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 80))), 1)), 2);
{
var _vT = _8l(5);
for (var _wT in _vT) {
if (!_vT.hasOwnProperty(_wT)) continue;
var _xT = _vT[_wT];
if (_xT._bl) continue;
if (!_xT._cl) continue;
if (yyfless(_xT._jr(), _3l._jr())) {
_vu = 0;
}
}
}
_hL(_3l, _3l._wC, _3l._oC, _3l.x, _3l.y);
_jL(_3l, _3l._wC, 2, _3l.x, _3l.y, 1, 1, 0, _3l._am, 1);
if (yyGetBool(_3l._fo) && yyGetBool(yyfgreater(_vu, 0.5))) {
_jL(_3l, _3l._wC, 2, _3l.x, _3l.y, 1, 1, 0, global._bm, 1);
}
if (yyGetBool(_3l._yT)) {
_hL(_3l, _3l._yT, 0, yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 8), yyfminus(yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5))), 1));
}
if (yyGetBool(_3l._5r)) {
_hL(_3l, _3l._5r, 0, _1L, _1r);
} else {
_5L(_1L, _1r, _UK(_3l._mm));
}
}
} else {
{
_hL(_3l, _3l._wC, _3l._oC, _3l.x, _3l.y);
_jL(_3l, _3l._wC, 2, yyfminus(_sl(_3l.x), 2), yyfplus(_sl(_3l.y), 2), 1, 1, 0, _3l._am, 1);
if (yyGetBool(_3l._yT)) {
_hL(_3l, _3l._yT, 0, yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 10), yyfplus(yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5))), 1));
}
if (yyGetBool(_3l._5r)) {
{
_hL(_3l, _3l._5r, 0, yyfminus(_sl(_1L), 2), yyfplus(_sl(_1r), 2));
}
} else {
{
_5L(yyfminus(_sl(_1L), 2), yyfplus(_sl(_1r), 2), _UK(_3l._mm));
}
}
}
}
}
}
function _Ja(_3l, _4l) {
_DS(_3l, _4l);
_3l._mm = _Q8(_3l, _4l, "");
_3l._4r = 25;
_3l._am = new Long(4294967295, 0, false);
_3l._ES = 0 ? 1 : 0;
_3l._WS = 0 ? 1 : 0;
_3l._5r = -4;
_3l._6r = 1 ? 1 : 0;
_3l._yT = -4;
_3l._mT = -4;
_3l._fo = 0 ? 1 : 0;
}
function _Ka(_3l, _4l) {
_YK(0);
_ZK(1);
var _1L = yyfplus(_sl(_3l.x), _sl(yyfdivide(_sl(_3l._OM()), 2)));
var _1r = yyfplus(_sl(_3l.y), _sl(yyfdivide(_sl(_3l._Vs()), 2)));
_1L = yyfplus(_1L, 1);
_1r = yyfminus(_1r, 1);
if (!yyGetBool(_3l._6r)) {
{
if (!yyGetBool(_3l._zT)) {
_jL(_3l, _3l._wC, 1, yyfplus(_sl(_3l.x), 2), yyfminus(_sl(_3l.y), 2), 1, 1, 0, 4210752, 1);
}
if (yyGetBool(_3l._5r)) {
_jL(_3l, _3l._5r, 0, _1L, yyfminus(_sl(_1r), 2), 1, 1, 0, 4210752, 1);
} else {
_5L(_1L, _1r, _UK(_3l._mm));
}
}
} else {
if (!yyGetBool(_3l._WS)) {
{
if (!yyGetBool(_3l._zT)) {
{
_jL(_3l, _3l._wC, 0, _3l.x, _3l.y, 1, 1, 0, 16777215, 1);
_jL(_3l, _3l._wC, 2, _3l.x, _3l.y, 1, 1, 0, _3l._am, 1);
var _vu = yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 80))), 1)), 2);
{
var _AT = _8l(5);
for (var _BT in _AT) {
if (!_AT.hasOwnProperty(_BT)) continue;
var _CT = _AT[_BT];
if (_CT._bl) continue;
if (!_CT._cl) continue;
if (yyfless(_CT._jr(), _3l._jr())) {
_vu = 0;
}
}
}
if (yyGetBool(_3l._fo) && yyGetBool(yyfgreater(_vu, 0.5))) {
_jL(_3l, _3l._wC, 2, _3l.x, _3l.y, 1, 1, 0, global._bm, 1);
}
}
}
if (yyGetBool(_3l._5r)) {
{
_jL(_3l, _3l._5r, 0, yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), 1, 1, 0, 4210752, 1);
_hL(_3l, _3l._5r, 0, _1L, _1r);
}
} else {
{
_5L(_1L, _1r, _UK(_3l._mm));
}
}
}
} else {
{
if (!yyGetBool(_3l._zT)) {
{
_jL(_3l, _3l._wC, 1, _3l.x, _3l.y, 1, 1, 0, 16777215, 1);
_jL(_3l, _3l._wC, 2, yyfminus(_sl(_3l.x), 2), yyfplus(_sl(_3l.y), 2), 1, 1, 0, _3l._am, 1);
}
}
if (yyGetBool(_3l._5r)) {
{
_hL(_3l, _3l._5r, 0, yyfminus(_sl(_1L), 2), yyfplus(_sl(_1r), 2));
}
} else {
{
_5L(yyfminus(_sl(_1L), 2), yyfplus(_sl(_1r), 2), _UK(_3l._mm));
}
}
}
}
}
}
function _La(_3l, _4l) {
_DS(_3l, _4l);
_3l._zT = 0 ? 1 : 0;
}
function _Ma(_3l, _4l) {
_hL(_3l, _3l._wC, _3l._oC, _3l.x, _3l.y);
_YK(0);
_ZK(1);
var _1L = yyfplus(_sl(_3l.x), _sl(yyfdivide(_sl(_3l._OM()), 2)));
var _1r = yyfplus(_sl(_3l.y), _sl(yyfdivide(_sl(_3l._Vs()), 2)));
_1L = yyfplus(_1L, 1);
_1r = yyfminus(_1r, 1);
if (!yyGetBool(_3l._WS)) {
{
_jL(_3l, _3l._wC, 2, _3l.x, _3l.y, 1, 1, 0, _3l._am, 1);
}
} else {
{
_jL(_3l, _3l._wC, 2, yyfminus(_sl(_3l.x), 2), yyfplus(_sl(_3l.y), 2), 1, 1, 0, _3l._am, 1);
_1L = yyfminus(_1L, 2);
_1r = yyfplus(_1r, 2);
}
}
if (yyGetBool(_3l._5r) && yyGetBool(yyfnotequal(_3l._mm, ""))) {
{
_ZK(2);
_5L(_1L, _1r, _3l._mm);
_1L = yyfplus(_1L, yyfplus(2, _sl(yyfdivide(_sl(_Ts(_3l._5r)), 2))));
_jL(_3l, _3l._5r, 0, _1L, _1r, 1, 1, 0, 16777215, 1);
}
} else {
if (yyGetBool(_3l._5r)) {
{
_hL(_3l, _3l._5r, 0, _1L, _1r);
}
} else {
{
_5L(_1L, _1r, _UK(_3l._mm));
}
}
}
}
function _Na(_3l, _4l) {
_DS(_3l, _4l);
}
function _Oa(_3l, _4l) {
_DS(_3l, _4l);
}
function _Pa(_3l, _4l) {
var _uw = _3l._OM();
var _PM = _3l._Vs();
_hL(_3l, 98, 0, _3l.x, _3l.y);
_jL(_3l, 98, 2, yyfplus(_sl(_3l.x), 4), _3l.y, yyfdivide(_sl(yyfminus(_sl(_3l._OM()), 8)), 4), 1, 0, 16777215, 1);
_hL(_3l, 98, 1, yyfminus(yyfplus(_sl(_3l.x), _sl(_uw)), 4), _3l.y);
_jL(_3l, 98, 3, yyfminus(yyfplus(_sl(_3l.x), _sl(_uw)), 2), yyfplus(_sl(_3l.y), 4), 1, yyfdivide(_sl(yyfminus(_sl(_3l._Vs()), 8)), 4), 0, 16777215, 1);
_hL(_3l, 98, 0, yyfminus(yyfplus(_sl(_3l.x), _sl(_uw)), 4), yyfminus(yyfplus(_sl(_3l.y), _sl(_PM)), 4));
_jL(_3l, 98, 2, yyfplus(_sl(_3l.x), 4), yyfminus(yyfplus(_sl(_3l.y), _sl(_PM)), 2), yyfdivide(_sl(yyfminus(_sl(_3l._OM()), 8)), 4), 1, 0, 16777215, 1);
_hL(_3l, 98, 1, _3l.x, yyfminus(yyfplus(_sl(_3l.y), _sl(_PM)), 4));
_jL(_3l, 98, 3, _3l.x, yyfplus(_sl(_3l.y), 4), 1, yyfdivide(_sl(yyfminus(_sl(_3l._Vs()), 8)), 4), 0, 16777215, 1);
_YK(0);
_ZK(1);
var _kT = _UK(_3l._Pq);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_kT)), 2)));
var _cT = yyfdivide(_sl(_dT(_kT)), 2);
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
if (yyfnotequal(_kT, "")) {
{
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 1), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _kT);
}
}
if (yyfnotequal(_3l._mm, "")) {
{
_1r = yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_PM), 0.5)));
_bT = yyfdivide(_sl(_3L(_3l._mm)), 2);
_cT = yyfdivide(_sl(_dT(_3l._mm)), 2);
_5L(_1L, _1r, _3l._mm);
}
}
}
function _Qa(_3l, _4l) {}
function _Ra(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = _Q8(_3l, _4l, "");
_3l._mm = "";
}
function _Sa(_3l, _4l) {
if (yyfequal(_3l._rm, -1)) {
_3l._rm = _0m(_3l, _4l, 42)._Gm;
}
_3l._mm = _59(_3l, _4l, _3l._rm);
_3l._DT = _yl();
_3l._ET = _yl();
_3l._FT = _yl();
_3l._GT = _yl();
var _dl = 1;
for (; yyfless(_dl, 17); _dl++) {
{
var _Cm = _n9(_3l, _4l, _3l._rm, _dl);
var _sr = _UK(_l9(_3l, _4l, _il(_Cm, "uid")));
if (yyfequal(_il(_Cm, "uid"), _0m(_3l, _4l, 42)._Fm)) {
_sr = yyfplus("yel_", _sl(_sr));
}
_Cl(_3l._DT, _sr);
_Cl(_3l._ET, _ul(_il(_Cm, "wins")));
_Cl(_3l._FT, _ul(_il(_Cm, "losses")));
_Cl(_3l._GT, _ul(_il(_Cm, "ties")));
}
}
}
function _Ua(_3l, _4l) {
_Fl(_3l._DT);
_Fl(_3l._ET);
_Fl(_3l._FT);
_Fl(_3l._GT);
}
function _Va(_3l, _4l) {
var _uw = _3l._OM();
var _PM = _3l._Vs();
_hL(_3l, 98, 0, _3l.x, _3l.y);
_jL(_3l, 98, 2, yyfplus(_sl(_3l.x), 4), _3l.y, yyfdivide(_sl(yyfminus(_sl(_3l._OM()), 8)), 4), 1, 0, 16777215, 1);
_hL(_3l, 98, 1, yyfminus(yyfplus(_sl(_3l.x), _sl(_uw)), 4), _3l.y);
_jL(_3l, 98, 3, yyfminus(yyfplus(_sl(_3l.x), _sl(_uw)), 2), yyfplus(_sl(_3l.y), 4), 1, yyfdivide(_sl(yyfminus(_sl(_3l._Vs()), 8)), 4), 0, 16777215, 1);
_hL(_3l, 98, 0, yyfminus(yyfplus(_sl(_3l.x), _sl(_uw)), 4), yyfminus(yyfplus(_sl(_3l.y), _sl(_PM)), 4));
_jL(_3l, 98, 2, yyfplus(_sl(_3l.x), 4), yyfminus(yyfplus(_sl(_3l.y), _sl(_PM)), 2), yyfdivide(_sl(yyfminus(_sl(_3l._OM()), 8)), 4), 1, 0, 16777215, 1);
_hL(_3l, 98, 1, _3l.x, yyfminus(yyfplus(_sl(_3l.y), _sl(_PM)), 4));
_jL(_3l, 98, 3, _3l.x, yyfplus(_sl(_3l.y), 4), 1, yyfdivide(_sl(yyfminus(_sl(_3l._Vs()), 8)), 4), 0, 16777215, 1);
_YK(0);
_ZK(1);
var _Pq = _UK(_3l._mm);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(1, _sl(yyfdivide(_sl(_3L(_Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
if (yyfnotequal(_Pq, "")) {
{
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 1), yyfminus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _Pq);
}
}
var _sr = _UK(_Q8(_3l, _4l, "ui_DivisionLeaders"));
var _HT = _dT(_sr);
_1L = yyfplus(_sl(_3l.x), 12);
_3l._IT = yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 60);
_1r = yyfplus(_1r, _HT);
_ZK(0);
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
_5L(_1L, _1r, _sr);
_1r = yyfplus(_1r, _HT);
var _dl = 0;
for (; yyfless(_dl, 4); _dl++) {
{
_ZK(0);
_sr = _hl(_3l._DT, _dl);
if (yyGetBool(_tq("yel_", _sr))) {
_2T(yyfplus(_sl(_1L), 4), _1r, _Pl(_sr, "yel_", ""), global._bm, global._bm, global._bm, global._bm, 1);
} else {
_5L(yyfplus(_sl(_1L), 4), _1r, _sr);
}
_ZK(1);
_sr = _hl(_3l._ET, _dl);
_5L(_3l._IT, _1r, _sr);
_sr = _hl(_3l._FT, _dl);
_5L(yyfplus(_sl(_3l._IT), 20), _1r, _sr);
_sr = _hl(_3l._GT, _dl);
_5L(yyfplus(_sl(_3l._IT), 40), _1r, _sr);
_1r = yyfplus(_1r, _HT);
}
}
_ZK(0);
_sr = _UK(_Q8(_3l, _4l, "ui_WildCard"));
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
_5L(_1L, _1r, _sr);
_1r = yyfplus(_1r, _HT);
var _dl = 4;
for (; yyfless(_dl, 6); _dl++) {
{
_ZK(0);
_sr = _hl(_3l._DT, _dl);
if (yyGetBool(_tq("yel_", _sr))) {
_2T(yyfplus(_sl(_1L), 4), _1r, _Pl(_sr, "yel_", ""), global._bm, global._bm, global._bm, global._bm, 1);
} else {
_5L(yyfplus(_sl(_1L), 4), _1r, _sr);
}
_ZK(1);
_sr = _hl(_3l._ET, _dl);
_5L(_3l._IT, _1r, _sr);
_sr = _hl(_3l._FT, _dl);
_5L(yyfplus(_sl(_3l._IT), 20), _1r, _sr);
_sr = _hl(_3l._GT, _dl);
_5L(yyfplus(_sl(_3l._IT), 40), _1r, _sr);
_1r = yyfplus(_1r, _HT);
}
}
_ZK(0);
_sr = _UK(_Q8(_3l, _4l, "ui_InTheHunt"));
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
_5L(_1L, _1r, _sr);
_1r = yyfplus(_1r, _HT);
var _dl = 6;
for (; yyfless(_dl, _el(_3l._DT)); _dl++) {
{
_ZK(0);
_sr = _hl(_3l._DT, _dl);
if (yyGetBool(_tq("yel_", _sr))) {
_2T(yyfplus(_sl(_1L), 4), _1r, _Pl(_sr, "yel_", ""), global._bm, global._bm, global._bm, global._bm, 1);
} else {
_5L(yyfplus(_sl(_1L), 4), _1r, _sr);
}
_ZK(1);
_sr = _hl(_3l._ET, _dl);
_5L(_3l._IT, _1r, _sr);
_sr = _hl(_3l._FT, _dl);
_5L(yyfplus(_sl(_3l._IT), 20), _1r, _sr);
_sr = _hl(_3l._GT, _dl);
_5L(yyfplus(_sl(_3l._IT), 40), _1r, _sr);
_1r = yyfplus(_1r, _HT);
if (yyfgreater(_1r, yyfplus(_sl(_3l.y), _sl(yyfminus(_sl(_3l._Vs()), 8))))) {
break;
}
}
}
}
function _Wa(_3l, _4l) {}
function _Xa(_3l, _4l) {
_DS(_3l, _4l);
_3l._mm = _Q8(_3l, _4l, "");
_3l._rm = -1;
}
function _Ya(_3l, _4l) {}
function _Za(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(1, _sl(yyfdivide(_sl(_3L(_3l._Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_3l._Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfminus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _UK(_3l._Pq));
_ZK(0);
_1L = yyfplus(_sl(_3l.x), 16);
_1r = yyfplus(_sl(_3l.y), 16);
_5L(_1L, _1r, _UK(_3l._nw));
_1r = yyfplus(_1r, 16);
_5L(_1L, _1r, _UK(_3l._ow));
_1r = yyfplus(_1r, 16);
_5L(_1L, _1r, _UK(_3l._pw));
_1r = yyfplus(_1r, 16);
}
function __a(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._nw = "Line 1";
_3l._ow = "Line 2";
_3l._pw = "Line 3";
}
function _0b(_3l, _4l) {}
function _1b(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
__K(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfdivide(_sl(_3L(_3l._Pq)), 2);
var _cT = yyfdivide(_sl(_dT(_3l._Pq)), 2);
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
if (yyfnotequal(_3l._Pq, "")) {
{
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 1), yyfminus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(yyfplus(_sl(_1L), 0.5), _1r, _UK(_3l._Pq));
}
}
if (yyGetBool(_3l._5r) && yyGetBool(yyfnotequal(_3l._mm, ""))) {
{
_1L = yyfplus(_sl(_3l.x), _sl(yyftime(_sl(_3l._OM()), 0.5)));
_1r = yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5)));
var _2L = yyftime(_sl(_3L(_3l._mm)), 0.5);
_2L = yyfplus(_2L, yyfplus(2, _sl(yyftime(_sl(_Ts(_3l._5r)), 0.5))));
_2L = yyftime(_2L, 0.5);
_5L(yyfminus(_sl(_1L), _sl(_2L)), _1r, _3l._mm);
_jL(_3l, _3l._5r, _3l._cr, yyfplus(_sl(_1L), _sl(_2L)), _1r, 1, 1, 0, _3l._JT, 1);
}
} else {
if (yyGetBool(_3l._5r)) {
{
_1L = yyfplus(_sl(_3l.x), _sl(yyftime(_sl(_3l._OM()), 0.5)));
_1r = yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5)));
_jL(_3l, _3l._5r, _3l._cr, _1L, _1r, 1, 1, 0, _3l._JT, 1);
}
} else {
{
_1L = yyfplus(_sl(_3l.x), _sl(yyftime(_sl(_3l._OM()), 0.5)));
_1r = yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5)));
_5L(_1L, _1r, _UK(_3l._mm));
_1r = yyfplus(_1r, 16);
}
}
}
}
function _2b(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._mm = "Line 1";
_3l._5r = 0;
_3l._cr = 0;
_3l._JT = 16777215;
}
function _3b(_3l, _4l) {
_3l._KT = 192;
_3l._LT = yyfminus(_sl(yyftime(28, _sl(_3l._KT))), _sl(_3l._KT));
_3l._Nl = _0m(_3l, _4l, 42)._Nl;
if (yyfgreater(_3l._Nl, _3l._LT)) {
_3l._Nl = _3l._LT;
}
_3l._kr(yyfplus(yyfminus(_sl(yyfdivide(_sl(_Qq()), 2)), _sl(yyftime(_sl(_3l._Nl), _sl(_3l._KT)))), _sl(_3l._KT)));
_3l._MT = 0;
}
function _4b(_3l, _4l) {
if (yyGetBool(abs(_3l._NT))) {
{
_3l._kr(_3l.x + _3l._NT);
}
}
if (yyGetBool(_4B(1)) && yyGetBool(yyfgreater(_rn._7B(), yyfminus(_sl(_3l.y), 32))) && yyGetBool(yyfless(_rn._7B(), yyfplus(_sl(_3l.y), 32)))) {
{
if (yyfequal(_3l._MT, 0)) {
_3l._MT = yyfminus(_sl(_3l.x), _sl(_rn._6B()));
}
_3l._kr(yyfplus(_sl(_3l._MT), _sl(_rn._6B())));
_3l._NT = 0;
}
} else {
{
_3l._MT = 0;
}
}
_3l._NT = yyftime(_3l._NT, 0.9);
var _OT = yyfdivide(_sl(_Qq()), 2);
_3l._kr(_cm(_3l.x, yyfminus(_sl(_OT), _sl(_3l._LT)), _OT));
}
function _5b(_3l, _4l) {}
function _6b(_3l, _4l) {
_YK(0);
_ZK(1);
__K(1);
_aL(16777215);
var _kL = _Qq();
var _ZL = _3l.x;
var _gL = yyfplus(_sl(_3l.y), 8);
_4L(0, yyfminus(_sl(_3l.y), 36), _kL, yyfplus(_sl(_3l.y), 36), global._bm, global._bm, global._bm, global._bm, 0);
var _dl = 1;
for (; yyfless(_dl, 29); _dl++) {
{
var _zq = _n5(_3l, _4l, _dl);
var _PT = _n5(_3l, _4l, yyfplus(_sl(_dl), 1));
var _4R = -1;
var _5R = -1;
var _QT = -1;
var _RT = -1;
var _ST = -4;
var _TT = "";
var _UT = 16777215;
var _VT = 16777215;
var _WT = "";
if (yyGetBool(_zq)) {
{
_4R = _il(_zq, "away_team");
_5R = _il(_zq, "home_team");
_QT = _il(_zq, "away_score");
_RT = _il(_zq, "home_score");
_ST = _hl(_0m(_3l, _4l, 42)._Bm, _4R);
if (yyfequal(_0m(_3l, _4l, 42)._Fm, _4R)) {
_ST = _hl(_0m(_3l, _4l, 42)._Bm, _5R);
}
if (yyGetBool(_ST)) {
{
if (yyGetBool(yyfequal(_4R, _0m(_3l, _4l, 42)._Fm)) && yyGetBool(yyfnotequal(_dl, 28))) {
_TT = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "tla_at")), " "), _sl(_UK(_il(_ST, "name"))));
} else {
_TT = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "tla_versus")), " "), _sl(_UK(_il(_ST, "name"))));
}
if (yyfnotequal(_il(_zq, "human_win"), "unplayed")) {
{
if (yyfequal(_il(_zq, "human_win"), "win")) {
_UT = 65280;
} else {
if (yyfequal(_il(_zq, "human_win"), "loss")) {
_UT = 255;
} else {
if (yyfequal(_il(_zq, "human_win"), "tie")) {
_UT = 12632256;
}
}
}
}
}
if (yyfnotequal(_il(_zq, "human_win"), "unplayed")) {
{
_WT = yyfplus(yyfplus(_sl(_ul(_QT)), "-"), _sl(_ul(_RT)));
if (yyfless(_QT, _RT)) {
_WT = yyfplus(yyfplus(_sl(_ul(_RT)), "-"), _sl(_ul(_QT)));
}
if (yyfequal(_il(_zq, "human_win"), "win")) {
_WT = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "sla_Win")), " "), _sl(_WT));
} else {
if (yyfequal(_il(_zq, "human_win"), "loss")) {
_WT = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "sla_Loss")), " "), _sl(_WT));
} else {
if (yyfequal(_il(_zq, "human_win"), "tie")) {
_WT = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "sla_Tie")), " "), _sl(_WT));
}
}
}
}
}
if (yyGetBool(_PT)) {
{
if (yyfequal(_il(_PT, "human_win"), "win")) {
_VT = 65280;
} else {
if (yyfequal(_il(_PT, "human_win"), "loss")) {
_VT = 255;
} else {
if (yyfequal(_il(_PT, "human_win"), "tie")) {
_VT = 12632256;
}
}
}
}
}
}
}
}
} else {
if (yyfless(_dl, 18)) {
{
_TT = _Q8(_3l, _4l, "ui_ByeWeek");
_UT = 16777215;
if (yyGetBool(_PT)) {
{
if (yyfequal(_il(_PT, "human_win"), "win")) {
_VT = 65280;
} else {
if (yyfequal(_il(_PT, "human_win"), "loss")) {
_VT = 255;
} else {
if (yyfequal(_il(_PT, "human_win"), "tie")) {
_VT = 12632256;
}
}
}
}
}
}
} else {
{
_UT = 12632256;
_zq = _m5(_3l, _4l, _dl);
if (yyGetBool(_zq)) {
{
_4R = _il(_zq, "away_team");
_5R = _il(_zq, "home_team");
_QT = _il(_zq, "away_score");
_RT = _il(_zq, "home_score");
if (yyGetBool(yyfgreater(_4R, -1)) && yyGetBool(yyfgreater(_5R, -1))) {
{
var _XT = _hl(_0m(_3l, _4l, 42)._Bm, _4R);
var _YT = _hl(_0m(_3l, _4l, 42)._Bm, _5R);
_TT = yyfplus(yyfplus(_sl(_il(_XT, "tla")), " - "), _sl(_il(_YT, "tla")));
if (yyfgreater(_QT, -1)) {
{
_WT = yyfplus(yyfplus(_sl(_ul(_QT)), "-"), _sl(_ul(_RT)));
if (yyfless(_QT, _RT)) {
_WT = yyfplus(yyfplus(_sl(_ul(_RT)), "-"), _sl(_ul(_QT)));
}
}
}
}
}
}
}
}
}
}
if (yyfless(_dl, 17)) {
{
_iL(_ZL, _gL, yyfplus(_sl(_ZL), _sl(_3l._KT)), _gL, 4, _UT, _VT);
_iL(_ZL, yyfplus(_sl(_gL), 1), yyfplus(_sl(_ZL), _sl(_3l._KT)), yyfplus(_sl(_gL), 1), 2, 4210752, 4210752);
}
} else {
if (yyfless(_dl, 28)) {
{
_iL(_ZL, _gL, yyfplus(_sl(_ZL), _sl(_3l._KT)), _gL, 4, 12632256, 12632256);
_iL(_ZL, yyfplus(_sl(_gL), 1), yyfplus(_sl(_ZL), _sl(_3l._KT)), yyfplus(_sl(_gL), 1), 2, 4210752, 4210752);
}
}
}
var _Au = _UK(_69(_3l, _4l, _dl));
_eT(yyfminus(_sl(_ZL), 1), yyfminus(_sl(_3l.y), 27), _Au, 0, 0, 0, 0, 1);
_5L(_ZL, yyfminus(_sl(_3l.y), 28), _Au);
var _RK = 0;
_eT(yyfminus(_sl(_ZL), 1), yyfminus(_sl(_3l.y), 9), _TT, _RK, _RK, _RK, _RK, 1);
_5L(_ZL, yyfminus(_sl(_3l.y), 10), _TT);
_eT(yyfminus(_sl(_ZL), 1), yyfplus(_sl(_3l.y), 25), _WT, _RK, _RK, _RK, _RK, 1);
_5L(_ZL, yyfplus(_sl(_3l.y), 24), _WT);
_jL(_3l, 52, 0, _ZL, _gL, 1, 1, 0, _UT, 1);
_ZL = yyfplus(_ZL, _3l._KT);
}
}
}
function _8b(_3l, _4l) {
if (yyGetBool(yyfgreater(_rn._7B(), yyfminus(_sl(_3l.y), 32))) && yyGetBool(yyfless(_rn._7B(), yyfplus(_sl(_3l.y), 32)))) {
_3l._NT = _il(_rn._ZT(), "diffX");
}
}
function _9b(_3l, _4l) {
_DS(_3l, _4l);
_3l._NT = 0;
}
function _ab(_3l, _4l) {
_3l._Bl = -4;
_3l.__T = _0U(0, "colorHelmet");
_3l._1U = _0U(0, "colorShirt");
_3l._2U = _0U(0, "colorShirt_b");
_3l._3U = _0U(0, "colorPants");
_3l._4U = _0U(0, "colorPants_b");
_3l._5U = _0U(0, "replaceHelmet");
_3l._6U = _0U(0, "replaceShirt");
_3l._7U = _0U(0, "replaceShirt_b");
_3l._8U = _0U(0, "replacePants");
_3l._9U = _0U(0, "replacePants_b");
_3l._WR = _vp(_3l._WR, 3666812894);
_3l._WR[_wp(2)] = 0;
_3l._XR = _vp(_3l._XR, 1027333011);
_3l._XR[_wp(2)] = 0;
_3l._YR = _vp(_3l._YR, 3194782232);
_3l._YR[_wp(2)] = 0;
_3l._aU = _vp(_3l._aU, 1445469295);
_3l._aU[_wp(2)] = 0;
_3l._MM = 0;
_s9(_3l, _4l, -4);
}
function _bb(_3l, _4l) {
{
var _bU = _8l(5);
for (var _cU in _bU) {
if (!_bU.hasOwnProperty(_cU)) continue;
var _dU = _bU[_cU];
if (_dU._bl) continue;
if (!_dU._cl) continue;
if (yyfless(_dU._jr(), _3l._jr())) {
return;
}
}
}
if (!yyGetBool(_3l._Bl)) {
return;
}
if (yyfless(_3l._KM, 0)) {
_3l._KM = _ml(_il(_3l._Bl, "condition"));
}
_3l._KM = _xC(_3l._KM, _ml(_il(_3l._Bl, "condition")), 0.05);
if (!yyGetBool(_3l._6r)) {
return;
}
_3l._ES = 0 ? 1 : 0;
if (yyGetBool(_VS(_ZA(0), _0B(0), _3l.x, _3l.y, yyfplus(_sl(_3l.x), _sl(_3l._OM())), yyfplus(_sl(_3l.y), _sl(_3l._Vs()))))) {
{
_3l._ES = 1 ? 1 : 0;
}
}
if (yyGetBool(_3l._ES)) {
{
if (yyGetBool(_4B(1))) {
{
_3l._WS = 1 ? 1 : 0;
}
}
if (yyGetBool(_3l._WS) && yyGetBool(_HS(1))) {
{
if (yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_soundfx"))) {
_FA(6, 1, 0);
}
_72._F2[_3l._4r](_3l, _4l);
_3l._WS = 0 ? 1 : 0;
}
}
}
} else {
{
_3l._WS = 0 ? 1 : 0;
}
}
}
function _cb(_3l, _4l) {}
function _db(_3l, _4l) {
if (yyfequal(_3l._Bl, -4)) {
{
return;
}
}
if (yyGetBool(_3l._eU) || yyGetBool(yyfless(_rn._up(), yyfplus(_sl(_il(_3l._Bl, "flash_time")), 2550)))) {
{
var _vu = sin(yyfdivide(_sl(_rn._up()), 120));
if (yyfless(_vu, 0.1)) {
return;
}
}
}
var _yn = _ml(_il(_3l._Bl, "position"));
var _DF = yyfplus(_sl(_3l.x), 2);
var _Gy = yyfminus(_sl(_3l.y), 2);
if (yyGetBool(_3l._WS) || yyGetBool(!yyGetBool(_3l._6r))) {
{
_DF = _3l.x;
_Gy = _3l.y;
}
}
_jL(_3l, _3l._wC, _3l._oC, _3l.x, _3l.y, 1, 1, 0, 4210752, 1);
var _fU = _k8(_3l, _4l, _yn);
_4L(yyfplus(_sl(_DF), 2), yyfplus(_sl(_Gy), 2), yyfminus(yyfplus(_sl(_DF), _sl(_3l._OM())), 3), yyfplus(_sl(_Gy), _sl(yyftime(_sl(_3l._Vs()), 0.5))), _fU, _fU, _fU, _fU, 0);
_hL(_3l, _3l._wC, _3l._oC, _DF, _Gy);
_gU(0);
_hU(_3l.__T, 1, 0, 0);
_hU(_3l._1U, 0, 1, 0);
_hU(_3l._3U, 1, 0, 1);
_hU(_3l._5U, _3l._WR[_Tn(0, _3l._WR)], _3l._WR[_Tn(1, _3l._WR)], _3l._WR[_Tn(2, _3l._WR)]);
_hU(_3l._6U, _3l._XR[_Tn(0, _3l._XR)], _3l._XR[_Tn(1, _3l._XR)], _3l._XR[_Tn(2, _3l._XR)]);
_hU(_3l._8U, _3l._YR[_Tn(0, _3l._YR)], _3l._YR[_Tn(1, _3l._YR)], _3l._YR[_Tn(2, _3l._YR)]);
if (yyGetBool(_I8(_3l, _4l, _il(_3l._Bl, "position")))) {
{
var _iU = _il(_3l._Bl, "face_y");
var _jU = -1;
if (yyCompareVal(_iU, 0, g_GMLMathEpsilon) == 0) {
_jU = 0;
} else if (yyCompareVal(_iU, 1, g_GMLMathEpsilon) == 0) {
_jU = 1;
} else if (yyCompareVal(_iU, 2, g_GMLMathEpsilon) == 0) {
_jU = 2;
} else if (yyCompareVal(_iU, 3, g_GMLMathEpsilon) == 0) {
_jU = 3;
}
switch (_jU) {
case 0: {
_jL(_3l, 127, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 1: {
_jL(_3l, 128, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 2: {
_jL(_3l, 129, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 3: {
_jL(_3l, 130, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
}
}
} else {
{
var _kU = _il(_3l._Bl, "skin");
var _lU = -1;
if (yyCompareVal(_kU, 2, g_GMLMathEpsilon) == 0) {
_lU = 0;
} else if (yyCompareVal(_kU, 1, g_GMLMathEpsilon) == 0) {
_lU = 1;
} else if (yyCompareVal(_kU, 0, g_GMLMathEpsilon) == 0) {
_lU = 2;
}
switch (_lU) {
case 0: {
var _mU = _il(_3l._Bl, "face_y");
var _nU = -1;
if (yyCompareVal(_mU, 0, g_GMLMathEpsilon) == 0) {
_nU = 0;
} else if (yyCompareVal(_mU, 1, g_GMLMathEpsilon) == 0) {
_nU = 1;
} else if (yyCompareVal(_mU, 2, g_GMLMathEpsilon) == 0) {
_nU = 2;
}
switch (_nU) {
case 0: {
_jL(_3l, 115, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 1: {
_jL(_3l, 116, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 2: {
_jL(_3l, 117, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
}
break;
}
case 1: {
var _oU = _il(_3l._Bl, "face_y");
var _pU = -1;
if (yyCompareVal(_oU, 0, g_GMLMathEpsilon) == 0) {
_pU = 0;
}
switch (_pU) {
case 0: {
_jL(_3l, 118, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
}
break;
}
case 2: {
var _qU = _il(_3l._Bl, "face_y");
var _rU = -1;
if (yyCompareVal(_qU, 0, g_GMLMathEpsilon) == 0) {
_rU = 0;
} else if (yyCompareVal(_qU, 1, g_GMLMathEpsilon) == 0) {
_rU = 1;
} else if (yyCompareVal(_qU, 2, g_GMLMathEpsilon) == 0) {
_rU = 2;
} else if (yyCompareVal(_qU, 3, g_GMLMathEpsilon) == 0) {
_rU = 3;
} else if (yyCompareVal(_qU, 4, g_GMLMathEpsilon) == 0) {
_rU = 4;
} else if (yyCompareVal(_qU, 5, g_GMLMathEpsilon) == 0) {
_rU = 5;
} else if (yyCompareVal(_qU, 6, g_GMLMathEpsilon) == 0) {
_rU = 6;
} else if (yyCompareVal(_qU, 7, g_GMLMathEpsilon) == 0) {
_rU = 7;
} else if (yyCompareVal(_qU, 8, g_GMLMathEpsilon) == 0) {
_rU = 8;
}
switch (_rU) {
case 0: {
_jL(_3l, 119, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 1: {
_jL(_3l, 120, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 2: {
_jL(_3l, 121, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 3: {
_jL(_3l, 122, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 4: {
_jL(_3l, 123, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 5: {
_jL(_3l, 124, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 6: {
_jL(_3l, 124, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 7: {
_jL(_3l, 125, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
case 8: {
_jL(_3l, 126, _il(_3l._Bl, "face_x"), yyfplus(_sl(_DF), 16), yyfplus(_sl(_Gy), 3), 1, 1, 0, 16777215, 1);
break;
}
}
break;
}
}
}
}
_sU();
_YK(0);
__K(1);
_ZK(0);
_5L(yyfplus(_sl(_DF), 6), yyfplus(_sl(_Gy), 8), _99(_3l, _4l, _yn));
_ZK(2);
var _ax = _il(_3l._Bl, "attitude");
var _9x = _il(_3l._Bl, "condition");
var _AN = _ml(_il(_3l._Bl, "age"));
if (yyGetBool(!yyGetBool(_3l._LM)) || yyGetBool(yyfgreater(sin(yyfdivide(_sl(_rn._up()), 200)), 0.1))) {
{
if (yyGetBool(!yyGetBool(_I8(_3l, _4l, _yn))) || yyGetBool(yyfgreater(_Dl(_0m(_3l, _4l, 42)._Vo, _3l._Bl), -1))) {
_hL(_3l, 58, _26(_3l, _4l, _ax), yyfminus(yyfplus(_sl(_DF), _sl(_3l._OM())), 9), yyfplus(_sl(_Gy), 8));
}
var _tU = _3l._MM;
var _uU = -1;
if (yyCompareVal(_tU, -1, g_GMLMathEpsilon) == 0) {
_uU = 0;
} else if (yyCompareVal(_tU, 0, g_GMLMathEpsilon) == 0) {
_uU = 1;
} else if (yyCompareVal(_tU, 1, g_GMLMathEpsilon) == 0) {
_uU = 2;
}
switch (_uU) {
case 0: {
_jL(_3l, 45, 0, yyfplus(yyfplus(_sl(_DF), _sl(_3l._OM())), 9), yyfplus(_sl(_Gy), 8), 1, 1, 0, 255, 1);
break;
}
case 1: {
break;
}
case 2: {
_jL(_3l, 45, 1, yyfplus(yyfplus(_sl(_DF), _sl(_3l._OM())), 9), yyfplus(_sl(_Gy), 8), 1, 1, 0, 65280, 1);
break;
}
}
}
}
if (!yyGetBool(_I8(_3l, _4l, _yn))) {
{
if (yyGetBool(_il(_3l._Bl, "resting"))) {
_hL(_3l, 61, 3, yyfminus(yyfplus(_sl(_DF), _sl(_3l._OM())), 9), yyfplus(_sl(_Gy), 20));
} else {
if (yyGetBool(!yyGetBool(_3l._LM)) && yyGetBool(yyfgreater(sin(yyfdivide(_sl(_rn._up()), 200)), 0.1))) {
{
if (yyfgreater(_il(_3l._Bl, "outtrade_pick"), 0)) {
_hL(_3l, 59, 0, yyfminus(yyfplus(_sl(_DF), _sl(_3l._OM())), 9), yyfplus(_sl(_Gy), 20));
} else {
if (yyfless(_9x, 0)) {
_hL(_3l, 61, 0, yyfminus(yyfplus(_sl(_DF), _sl(_3l._OM())), 9), yyfplus(_sl(_Gy), 20));
}
}
}
}
}
}
}
if (yyfequal(_AN, 21)) {
_hL(_3l, 60, 0, yyfplus(_sl(_DF), 10), yyfplus(_sl(_Gy), 20));
}
_ZK(1);
var _1L = yyfplus(_sl(_DF), _sl(yyftime(_sl(_3l._OM()), 0.5)));
var _1r = yyfplus(_sl(_Gy), 48);
var _Vn = _wr(_il(_3l._Bl, "lname"), 1, 7);
_5L(_1L, _1r, _Vn);
_1r = yyfplus(_1r, 12);
if (yyGetBool(_I8(_3l, _4l, _yn))) {
{
if (yyfequal(_Dl(_0m(_3l, _4l, 42)._Vo, _3l._Bl), -1)) {
{
_jL(_3l, 68, _il(_3l._Bl, "rating"), _1L, _1r, 1, 1, 0, 65535, 1);
_1r = yyfplus(_1r, 11);
var _Un = _J8(_3l, _4l, _3l._Bl);
var _2L = yyftime(_sl(_3L(_Un)), 0.5);
_2L = yyfplus(_2L, yyftime(_sl(_Ts(57)), 0.5));
_1L = yyfminus(_1L, yyftime(_sl(_Ts(57)), 0.5));
_5L(_1L, _1r, _Un);
_hL(_3l, 57, 0, yyfplus(_sl(_1L), _sl(_2L)), _1r);
}
} else {
{
_jL(_3l, 68, _il(_3l._Bl, "rating"), _1L, yyfplus(_sl(_1r), 5), 1, 1, 0, 65535, 1);
_1r = yyfplus(_1r, 11);
}
}
}
} else {
{
_jL(_3l, 68, _98(_3l, _4l, _3l._Bl), _1L, _1r, 1, 1, 0, 65535, 1);
_1r = yyfplus(_1r, 11);
if (yyGetBool(yyfgreater(_0m(_3l, _4l, 42)._Zn, 3)) && yyGetBool(yyfequal(_il(_3l._Bl, "teamid"), _0m(_3l, _4l, 42)._Fm)) && yyGetBool(yyfgreaterequal(_Dl(_0m(_3l, _4l, 42)._Um, _3l._Bl), 0))) {
{
var _5G = yyfplus(_sl(_3l.x), 2);
var _6G = yyfminus(yyfplus(_sl(_3l.y), _sl(_3l._Vs())), 13);
var _vU = yyfminus(_sl(_3l._OM()), 1);
var _wU = 8;
var _hw = yyftime(_sl(yyfdivide(_sl(yyfminus(_sl(_vU), 4)), 100)), _sl(_cm(_3l._KM, 0, 100)));
if (yyGetBool(_3l._WS) || yyGetBool(!yyGetBool(_3l._6r))) {
{
_5G = yyfminus(_5G, 2);
_6G = yyfplus(_6G, 2);
}
}
_aL(16777215);
_xU(_5G, _6G, yyfplus(_sl(_5G), _sl(_vU)), yyfplus(_sl(_6G), _sl(_wU)), 0);
_aL(8421504);
_xU(yyfplus(_sl(_5G), 2), yyfplus(_sl(_6G), 2), yyfminus(yyfplus(_sl(_5G), _sl(_vU)), 2), yyfplus(_sl(_6G), _sl(_wU)), 0);
if (yyflessequal(_9x, 0)) {
{
_aL(0);
_xU(yyfplus(_sl(_5G), 2), yyfplus(_sl(_6G), 2), yyfminus(yyfplus(yyfplus(_sl(_5G), 2), _sl(_vU)), 4), yyfplus(_sl(_6G), _sl(_wU)), 0);
}
} else {
if (yyflessequal(_9x, 20)) {
{
_aL(255);
if (yyfgreater(sin(yyfdivide(_sl(_rn._up()), 100)), 0.1)) {
_xU(yyfplus(_sl(_5G), 2), yyfplus(_sl(_6G), 2), yyfplus(yyfplus(_sl(_5G), 2), _sl(_hw)), yyfplus(_sl(_6G), _sl(_wU)), 0);
}
}
} else {
if (yyflessequal(_9x, 40)) {
{
_aL(65535);
_xU(yyfplus(_sl(_5G), 2), yyfplus(_sl(_6G), 2), yyfplus(yyfplus(_sl(_5G), 2), _sl(_hw)), yyfplus(_sl(_6G), _sl(_wU)), 0);
}
} else {
{
_aL(65280);
_xU(yyfplus(_sl(_5G), 2), yyfplus(_sl(_6G), 2), yyfplus(yyfplus(_sl(_5G), 2), _sl(_hw)), yyfplus(_sl(_6G), _sl(_wU)), 0);
}
}
}
}
_aL(16777215);
}
} else {
{
_5L(_1L, _1r, yyfplus(yyfplus("$", _sl(_ul(_il(_3l._Bl, "salary")))), _sl(_Q8(_3l, _4l, "sla_Million"))));
}
}
}
}
}
function _eb(_3l, _4l) {
_DS(_3l, _4l);
_3l._4r = 44;
_3l._ES = 0 ? 1 : 0;
_3l._WS = 0 ? 1 : 0;
_3l._yU = 0;
_3l._6r = 1 ? 1 : 0;
_3l._eU = 0 ? 1 : 0;
_3l._LM = 0 ? 1 : 0;
_3l._KM = -99;
}
function _fb(_3l, _4l) {
_3l._Nl = min(_0m(_3l, _4l, 42)._Nl, 17);
_3l._Lw = 16;
_z5(_3l, _4l);
}
function _gb(_3l, _4l) {}
function _hb(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _Pq = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Week")), " "), _sl(_ul(_3l._Nl)));
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(1, _sl(yyfdivide(_sl(_3L(_Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 1), yyfminus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _Pq);
_1L = yyfplus(_sl(_3l.x), _sl(yyftime(_sl(_3l._OM()), 0.25)));
_1r = yyfplus(_sl(_3l.y), 18);
var _vu = 0;
for (; yyfless(_vu, 8); _vu++) {
{
_0L(_3l._Aw[_Tn(_vu, _3l._Aw)]);
_bL(16777215);
if (yyfequal(_vu, _3l._tw)) {
_bL(global._bm);
}
_ZK(1);
_5L(_1L, _1r, _3l._zw[_Tn(_vu, _3l._zw)]);
_ZK(2);
_5L(yyfminus(_sl(_1L), _sl(_3l._Lw)), _1r, _3l._vw[_Tn(_vu, _3l._vw)]);
_5L(yyfminus(_sl(_1L), 4), _1r, _3l._xw[_Tn(_vu, _3l._xw)]);
_ZK(0);
_5L(yyfplus(_sl(_1L), _sl(_3l._Lw)), _1r, _3l._ww[_Tn(_vu, _3l._ww)]);
_5L(yyfplus(_sl(_1L), 4), _1r, _3l._yw[_Tn(_vu, _3l._yw)]);
_1r = yyfplus(_1r, 16);
}
}
_1L = yyfplus(_sl(_3l.x), _sl(yyftime(_sl(_3l._OM()), 0.75)));
_1r = yyfplus(_sl(_3l.y), 18);
var _vu = 8;
for (; yyfless(_vu, 16); _vu++) {
{
_0L(_3l._Aw[_Tn(_vu, _3l._Aw)]);
_bL(16777215);
if (yyfequal(_vu, _3l._tw)) {
_bL(global._bm);
}
_ZK(1);
_5L(_1L, _1r, _3l._zw[_Tn(_vu, _3l._zw)]);
_ZK(2);
_5L(yyfminus(_sl(_1L), _sl(_3l._Lw)), _1r, _3l._vw[_Tn(_vu, _3l._vw)]);
_5L(yyfminus(_sl(_1L), 4), _1r, _3l._xw[_Tn(_vu, _3l._xw)]);
_ZK(0);
_5L(yyfplus(_sl(_1L), _sl(_3l._Lw)), _1r, _3l._ww[_Tn(_vu, _3l._ww)]);
_5L(yyfplus(_sl(_1L), 4), _1r, _3l._yw[_Tn(_vu, _3l._yw)]);
_1r = yyfplus(_1r, 16);
}
}
_bL(16777215);
_0L(1);
}
function _ib(_3l, _4l) {
_DS(_3l, _4l);
_3l._Nl = 0;
_3l._vw = _vp(_3l._vw, 902856654);
_3l._vw[_wp(16)] = "0";
_3l._ww = _vp(_3l._ww, 3826435207);
_3l._ww[_wp(16)] = "0";
_3l._zU = _vp(_3l._zU, 32650191);
_3l._zU[_wp(16)] = "0";
_3l._xw = _vp(_3l._xw, 3289123532);
_3l._xw[_wp(16)] = "0";
_3l._yw = _vp(_3l._yw, 365867397);
_3l._yw[_wp(16)] = "0";
_3l._Lw = 16;
_3l._tw = 0;
_3l._Aw = _vp(_3l._Aw, 1558393854);
_3l._Aw[_wp(16)] = 1;
}
function _jb(_3l, _4l) {
_3l._Pq = _Q8(_3l, _4l, "ui_Offense");
_3l._cr = _q9(_3l, _4l, _0m(_3l, _4l, 42)._Dm);
_3l._JT = global._FO;
}
function _kb(_3l, _4l) {
_3l._cr = _q9(_3l, _4l, _0m(_3l, _4l, 42)._Dm);
}
function _lb(_3l, _4l) {}
function _mb(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfdivide(_sl(_3L(_3l._Pq)), 2);
var _cT = yyfdivide(_sl(_dT(_3l._Pq)), 2);
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 1), yyfminus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(yyfplus(_sl(_1L), 0.5), _1r, _UK(_3l._Pq));
if (yyGetBool(_3l._5r)) {
{
_1L = yyfplus(_sl(_3l.x), _sl(yyftime(_sl(_3l._OM()), 0.5)));
_1r = yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5)));
if (yyGetBool(!yyGetBool(_3l._NM)) || yyGetBool(yyfgreater(sin(yyfdivide(_sl(_rn._up()), 200)), 0.1))) {
_jL(_3l, _3l._5r, _3l._cr, _1L, _1r, 1, 1, 0, _3l._JT, 1);
}
}
} else {
{
_ZK(0);
_1L = yyfplus(_sl(_3l.x), 16);
_1r = yyfplus(_sl(_3l.y), 16);
_5L(_1L, _1r, _UK(_3l._mm));
_1r = yyfplus(_1r, 16);
}
}
}
function _nb(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = _Q8(_3l, _4l, "");
_3l._5r = 68;
_3l._cr = 0;
_3l._JT = 16777215;
_3l._NM = 0 ? 1 : 0;
}
function _ob(_3l, _4l) {
_3l._Pq = _Q8(_3l, _4l, "ui_Defense");
_3l._cr = _r9(_3l, _4l, _0m(_3l, _4l, 42)._Dm);
_3l._JT = global._GO;
}
function _pb(_3l, _4l) {
_3l._cr = _r9(_3l, _4l, _0m(_3l, _4l, 42)._Dm);
}
function _qb(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfdivide(_sl(_3L(_3l._Pq)), 2);
var _cT = yyfdivide(_sl(_dT(_3l._Pq)), 2);
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 1), yyfminus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(yyfplus(_sl(_1L), 0.5), _1r, _UK(_3l._Pq));
if (yyGetBool(_3l._5r)) {
{
_1L = yyfplus(_sl(_3l.x), _sl(yyftime(_sl(_3l._OM()), 0.5)));
_1r = yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5)));
if (yyGetBool(!yyGetBool(_3l._NM)) || yyGetBool(yyfgreater(sin(yyfdivide(_sl(_rn._up()), 200)), 0.1))) {
_jL(_3l, _3l._5r, _3l._cr, _1L, _1r, 1, 1, 0, _3l._JT, 1);
}
}
} else {
{
_ZK(0);
_1L = yyfplus(_sl(_3l.x), 16);
_1r = yyfplus(_sl(_3l.y), 16);
_5L(_1L, _1r, _UK(_3l._mm));
_1r = yyfplus(_1r, 16);
}
}
}
function _rb(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = _Q8(_3l, _4l, "");
_3l._5r = 68;
_3l._cr = 0;
_3l._JT = 16777215;
_3l._NM = 0 ? 1 : 0;
}
function _sb(_3l, _4l) {
_3l._Pq = _Q8(_3l, _4l, "ui_Credit");
_3l._mm = _0m(_3l, _4l, 42)._Jl;
}
function _tb(_3l, _4l) {
_3l._mm = _0m(_3l, _4l, 42)._Jl;
}
function _ub(_3l, _4l) {}
function _vb(_3l, _4l) {
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfdivide(_sl(_3L(_3l._Pq)), 2);
var _cT = yyfdivide(_sl(_dT(_3l._Pq)), 2);
if (yyGetBool(_3l._AU)) {
{
_YS(_3l);
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 1), yyfminus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(yyfplus(_sl(_1L), 0.5), _1r, _UK(_3l._Pq));
}
}
if (yyGetBool(!yyGetBool(_3l._fo)) || yyGetBool(yyfgreater(sin(yyfdivide(_sl(_rn._up()), 200)), 0.1))) {
{
var _BU = 0;
if (yyGetBool(_3l._5r)) {
_BU = _Ts(_3l._5r);
}
_1L = yyfplus(_sl(_3l.x), _sl(yyfdivide(_sl(_3l._OM()), 2)));
_1r = yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5)));
_1L = yyfminus(_1L, yyfdivide(_sl(_BU), 2));
_5L(_1L, _1r, _3l._mm);
var _2L = yyftime(_sl(_3L(_3l._mm)), 0.5);
_2L = yyfplus(_2L, yyftime(_sl(_Ts(_3l._5r)), 0.5));
_jL(_3l, _3l._5r, _3l._cr, yyfplus(yyfplus(_sl(_1L), _sl(_2L)), 1), _1r, 1, 1, 0, _3l._JT, 1);
}
}
}
function _wb(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._mm = "Line 1";
_3l._5r = 57;
_3l._cr = 0;
_3l._JT = 16777215;
_3l._AU = 1 ? 1 : 0;
_3l._fo = 0 ? 1 : 0;
}
function _xb(_3l, _4l) {
_3l._Pq = _Q8(_3l, _4l, "ui_Morale");
_3l._5r = 58;
_3l._JM = _06(_3l, _4l);
_3l._cr = _26(_3l, _4l, _3l._JM);
_3l._mm = yyfplus(_sl(_ul(round(_3l._JM))), "%");
}
function _yb(_3l, _4l) {
_3l._JM = _xC(_3l._JM, _06(_3l, _4l), 0.1);
_3l._cr = _26(_3l, _4l, _3l._JM);
_3l._mm = yyfplus(_sl(_ul(round(_3l._JM))), "%");
}
function _zb(_3l, _4l) {}
function _Ab(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfdivide(_sl(_3L(_3l._Pq)), 2);
var _cT = yyfdivide(_sl(_dT(_3l._Pq)), 2);
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 1), yyfminus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(yyfplus(_sl(_1L), 0.5), _1r, _UK(_3l._Pq));
_ZK(2);
_1L = yyfplus(yyfplus(_sl(_3l.x), 4), _sl(yyftime(_sl(_3l._OM()), 0.5)));
_1r = yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_3l._Vs()), 0.5)));
_5L(_1L, _1r, _3l._mm);
_1L = yyfplus(_1L, 8);
_jL(_3l, _3l._5r, _3l._cr, _1L, _1r, 1, 1, 0, _3l._JT, 1);
}
function _Bb(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._mm = "Line 1";
_3l._5r = 62;
_3l._cr = 0;
_3l._JT = 16777215;
}
function _Cb(_3l, _4l) {}
function _Db(_3l, _4l) {
_YK(0);
_ZK(0);
var _1L = _3l.x;
var _1r = yyfminus(_sl(_3l.y), 8);
_5L(_1L, _1r, _UK(_3l._Pq));
var _CU = yyfminus(_sl(_3l._OM()), 5);
var _Hy = yyfminus(_sl(_3l._Vs()), 3);
var _hw = yyftime(_sl(yyfdivide(_sl(_CU), 100)), _sl(_3l._eo));
_hw = _cm(_hw, 1, _CU);
var _QN = yyftime(_sl(yyfdivide(_sl(_CU), 100)), _sl(_3l._DU));
_QN = _cm(_QN, 1, _CU);
_YS(_3l);
var _RK = global._bm;
_4L(yyfplus(_sl(_3l.x), 2), yyfplus(_sl(_3l.y), 2), yyfplus(yyfplus(_sl(_3l.x), 2), _sl(_QN)), yyfplus(_sl(_3l.y), _sl(_Hy)), _RK, _RK, _RK, _RK, 0);
_4L(yyfplus(_sl(_3l.x), 3), yyfplus(_sl(_3l.y), 3), yyfminus(yyfplus(yyfplus(_sl(_3l.x), 3), _sl(_QN)), 2), yyfminus(yyfplus(_sl(_3l.y), _sl(_Hy)), 1), 0, 0, 0, 0, 0);
if (yyGetBool(_3l._fo)) {
{
var _1T = yyfplus(1, _sl(yyfdivide(_sl(sin(yyfdivide(_sl(_rn._up()), 160))), 2)));
_0L(_1T);
}
}
_4L(yyfplus(_sl(_3l.x), 2), yyfplus(_sl(_3l.y), 2), yyfplus(yyfplus(_sl(_3l.x), 2), _sl(_hw)), yyfplus(_sl(_3l.y), _sl(_Hy)), _RK, _RK, _RK, _RK, 0);
_0L(1);
}
function _Eb(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._eo = 0;
_3l._DU = 0;
_3l._fo = 0 ? 1 : 0;
}
function _Fb(_3l, _4l) {}
function _Gb(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_3l._Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_3l._Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfminus(yyfminus(_sl(_1r), _sl(_cT)), 1), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _UK(_3l._Pq));
_ZK(2);
_1L = yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 8);
_1r = yyfplus(_sl(_3l.y), _sl(yyfdivide(_sl(_3l._Vs()), 2)));
var _CU = yyfminus(_sl(_3l._OM()), 16);
var _hw = yyftime(_sl(yyfdivide(_sl(yyfminus(_sl(_CU), 4)), 100)), _sl(_3l._eo));
_hw = _cm(_hw, 1, _CU);
_4L(yyfplus(_sl(_3l.x), 8), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 8), _sl(_CU)), yyfplus(_sl(_3l.y), 24), 0, 0, 0, 0, 0);
_4L(yyfplus(_sl(_3l.x), 10), yyfplus(_sl(_3l.y), 10), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_hw)), yyfplus(_sl(_3l.y), 22), global._bm, global._bm, global._bm, global._bm, 0);
}
function _Hb(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._eo = 0;
}
function _Ib(_3l, _4l) {
_3l._EU = _rn._up();
_3l._FU = _t9(_3l, _4l);
_3l._GU = _0m(_3l, _4l, 42)._Kn;
_3l._eo = yyftime(_sl(yyfdivide(_sl(_3l._FU), _sl(_3l._GU))), 100);
_3l._Pq = yyfplus(yyfplus(yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_SalaryCap")), " "), _sl(_ul(_3l._FU))), "m / "), _sl(_ul(_3l._GU))), "m");
if (yyfgreater(_3l._eo, 100)) {
_3l._eo = 100;
} else {
_3l._am = global._bm;
}
}
function _Jb(_3l, _4l) {}
function _Kb(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_3l._Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_3l._Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _UK(_3l._Pq));
var _CU = yyfminus(_sl(_3l._OM()), 16);
var _hw = yyftime(_sl(yyfdivide(_sl(yyfminus(_sl(_CU), 4)), 100)), _sl(_3l._eo));
_hw = _cm(_hw, 1, _CU);
_4L(yyfplus(_sl(_3l.x), 8), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 8), _sl(_CU)), yyfplus(_sl(_3l.y), 24), 0, 0, 0, 0, 0);
_4L(yyfplus(_sl(_3l.x), 10), yyfplus(_sl(_3l.y), 10), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_hw)), yyfplus(_sl(_3l.y), 22), _3l._am, _3l._am, _3l._am, _3l._am, 0);
}
function _Lb(_3l, _4l) {
_DS(_3l, _4l);
_3l._EU = 0;
_3l._Pq = "Title";
_3l._FU = 0;
_3l._GU = 0;
_3l._eo = 0;
_3l._am = 255;
}
function _Mb(_3l, _4l) {
_3l._JM = _0m(_3l, _4l, 42)._Lp;
_3l._Pq = yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Fans")), " "), _sl(_ul(round(_3l._JM)))), "%");
if (yyfgreater(_3l._JM, 25)) {
_3l._am = global._bm;
}
}
function _Nb(_3l, _4l) {
_3l._Pq = yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Fans")), " "), _sl(_ul(round(_3l._JM)))), "%");
_3l._JM = _xC(_3l._JM, _0m(_3l, _4l, 42)._Lp, 0.1);
if (yyfgreater(_3l._JM, 25)) {
_3l._am = global._bm;
}
}
function _Ob(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_3l._Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_3l._Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _UK(_3l._Pq));
var _CU = yyfminus(_sl(_3l._OM()), 32);
var _hw = yyftime(_sl(yyfdivide(_sl(yyfminus(_sl(_CU), 4)), 100)), _sl(_3l._JM));
_hw = _cm(_hw, 1, _CU);
_4L(yyfplus(_sl(_3l.x), 24), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 24), _sl(_CU)), yyfplus(_sl(_3l.y), 24), 0, 0, 0, 0, 0);
_4L(yyfplus(_sl(_3l.x), 26), yyfplus(_sl(_3l.y), 10), yyfplus(yyfplus(_sl(_3l.x), 26), _sl(_hw)), yyfplus(_sl(_3l.y), 22), _3l._am, _3l._am, _3l._am, _3l._am, 0);
var _bT = yyfdivide(_sl(_CU), 3);
_HU(yyfplus(yyfplus(_sl(_3l.x), 24), _sl(_bT)), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 24), _sl(_bT)), yyfplus(_sl(_3l.y), 24), 2, 0, 0);
_HU(yyfplus(yyfplus(_sl(_3l.x), 24), _sl(yyftime(_sl(_bT), 2))), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 24), _sl(yyftime(_sl(_bT), 2))), yyfplus(_sl(_3l.y), 24), 2, 0, 0);
_hL(_3l, 73, 0, yyfplus(_sl(_3l.x), 14), yyfplus(_sl(_3l.y), 16));
} // /// @description Insert description here
function _Pb(_3l, _4l) {}
function _Qb(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._JM = 0;
_3l._eo = 0;
_3l._am = 255;
}
function _Rb(_3l, _4l) {
_3l._JM = _06(_3l, _4l);
_3l._Pq = yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_TeamMorale")), " "), _sl(_ul(round(_3l._JM)))), "%");
if (yyfgreater(_3l._JM, 25)) {
_3l._am = global._bm;
}
}
function _Sb(_3l, _4l) {
_3l._JM = _xC(_3l._JM, _06(_3l, _4l), 0.1);
_3l._Pq = yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_TeamMorale")), " "), _sl(_ul(round(_3l._JM)))), "%");
if (yyfgreater(_3l._JM, 25)) {
_3l._am = global._bm;
}
}
function _Tb(_3l, _4l) {}
function _Ub(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_3l._Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_3l._Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _UK(_3l._Pq));
var _CU = yyfminus(_sl(_3l._OM()), 16);
var _hw = yyftime(_sl(yyfdivide(_sl(yyfminus(_sl(_CU), 4)), 100)), _sl(_3l._JM));
_hw = _cm(_hw, 1, _CU);
_4L(yyfplus(_sl(_3l.x), 8), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 8), _sl(_CU)), yyfplus(_sl(_3l.y), 24), 0, 0, 0, 0, 0);
_4L(yyfplus(_sl(_3l.x), 10), yyfplus(_sl(_3l.y), 10), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_hw)), yyfplus(_sl(_3l.y), 22), _3l._am, _3l._am, _3l._am, _3l._am, 0);
}
function _Vb(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._IU = 0;
_3l._am = 255;
}
function _Wb(_3l, _4l) {
_3l._JM = _16(_3l, _4l);
_3l._Pq = yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Condition")), " "), _sl(_ul(round(_3l._JM)))), "%");
if (yyfgreater(_3l._JM, 25)) {
_3l._am = global._bm;
}
}
function _Xb(_3l, _4l) {
_3l._JM = _xC(_3l._JM, _16(_3l, _4l), 0.1);
_3l._Pq = yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Condition")), " "), _sl(_ul(round(_3l._JM)))), "%");
if (yyfgreater(_3l._JM, 25)) {
_3l._am = global._bm;
}
}
function _Yb(_3l, _4l) {}
function _Zb(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_3l._Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_3l._Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _UK(_3l._Pq));
var _CU = yyfminus(_sl(_3l._OM()), 16);
var _hw = yyftime(_sl(yyfdivide(_sl(yyfminus(_sl(_CU), 4)), 100)), _sl(_3l._JM));
_hw = _cm(_hw, 1, _CU);
_4L(yyfplus(_sl(_3l.x), 8), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 8), _sl(_CU)), yyfplus(_sl(_3l.y), 24), 0, 0, 0, 0, 0);
_4L(yyfplus(_sl(_3l.x), 10), yyfplus(_sl(_3l.y), 10), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_hw)), yyfplus(_sl(_3l.y), 22), _3l._am, _3l._am, _3l._am, _3l._am, 0);
}
function __b(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._eo = 0;
_3l._am = 255;
}
function _0c(_3l, _4l) {
_3l._eo = _0m(_3l, _4l, 42)._Kl;
_3l._JM = _3l._eo;
_3l._Pq = _Q8(_3l, _4l, "ui_Stadium");
if (yyfgreater(_3l._eo, 1)) {
_3l._am = global._bm;
}
}
function _1c(_3l, _4l) {}
function _2c(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_3l._Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_3l._Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _UK(_3l._Pq));
var _CU = yyfminus(_sl(_3l._OM()), 16);
_4L(yyfplus(_sl(_3l.x), 8), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 8), _sl(_CU)), yyfplus(_sl(_3l.y), 24), 0, 0, 0, 0, 0);
_CU = yyfminus(_CU, 4);
var _hw = _cm(yyftime(_sl(yyfdivide(_sl(_CU), 10)), _sl(_3l._eo)), 1, _CU);
_4L(yyfplus(_sl(_3l.x), 10), yyfplus(_sl(_3l.y), 10), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_hw)), yyfplus(_sl(_3l.y), 22), _3l._am, _3l._am, _3l._am, _3l._am, 0);
var _bT = yyfdivide(_sl(_CU), 10);
var _dl = 0;
for (; yyfless(_dl, 9); _dl++) {
{
_HU(yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_bT)), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_bT)), yyfplus(_sl(_3l.y), 24), 2, 0, 0);
_bT = yyfplus(_bT, yyfdivide(_sl(_CU), 10));
}
}
}
function _3c(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._eo = 0;
_3l._am = 255;
}
function _4c(_3l, _4l) {
_3l._eo = _0m(_3l, _4l, 42)._Tl;
_3l._JM = _3l._eo;
_3l._Pq = _Q8(_3l, _4l, "ui_TrainingFacilities");
if (yyfgreater(_3l._eo, 1)) {
_3l._am = global._bm;
}
}
function _5c(_3l, _4l) {}
function _6c(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_3l._Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_3l._Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _UK(_3l._Pq));
var _CU = yyfminus(_sl(_3l._OM()), 16);
_4L(yyfplus(_sl(_3l.x), 8), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 8), _sl(_CU)), yyfplus(_sl(_3l.y), 24), 0, 0, 0, 0, 0);
_CU = yyfminus(_CU, 4);
var _hw = _cm(yyftime(_sl(yyfdivide(_sl(_CU), 10)), _sl(_3l._eo)), 1, _CU);
_4L(yyfplus(_sl(_3l.x), 10), yyfplus(_sl(_3l.y), 10), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_hw)), yyfplus(_sl(_3l.y), 22), _3l._am, _3l._am, _3l._am, _3l._am, 0);
var _bT = yyfdivide(_sl(_CU), 10);
var _dl = 0;
for (; yyfless(_dl, 9); _dl++) {
{
_HU(yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_bT)), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_bT)), yyfplus(_sl(_3l.y), 24), 2, 0, 0);
_bT = yyfplus(_bT, yyfdivide(_sl(_CU), 10));
}
}
}
function _7c(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._eo = 0;
_3l._am = 255;
}
function _8c(_3l, _4l) {
_3l._eo = _0m(_3l, _4l, 42)._Yl;
_3l._JM = _3l._eo;
_3l._Pq = _Q8(_3l, _4l, "ui_RehabFacilities");
if (yyfgreater(_3l._eo, 1)) {
_3l._am = global._bm;
}
}
function _9c(_3l, _4l) {}
function _ac(_3l, _4l) {
_YS(_3l);
_YK(0);
_ZK(1);
var _1L = _3l.x;
var _1r = _3l.y;
var _bT = yyfplus(2, _sl(yyfdivide(_sl(_3L(_3l._Pq)), 2)));
var _cT = yyfplus(1, _sl(yyfdivide(_sl(_dT(_3l._Pq)), 2)));
_1L = yyfplus(_1L, yyfdivide(_sl(_3l._OM()), 2));
_4L(yyfminus(yyfminus(_sl(_1L), _sl(_bT)), 2), yyfminus(_sl(_1r), _sl(_cT)), yyfplus(_sl(_1L), _sl(_bT)), yyfplus(_sl(_1r), _sl(_cT)), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_5L(_1L, _1r, _UK(_3l._Pq));
var _CU = yyfminus(_sl(_3l._OM()), 16);
_4L(yyfplus(_sl(_3l.x), 8), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 8), _sl(_CU)), yyfplus(_sl(_3l.y), 24), 0, 0, 0, 0, 0);
_CU = yyfminus(_CU, 4);
var _hw = _cm(yyftime(_sl(yyfdivide(_sl(_CU), 10)), _sl(_3l._eo)), 1, _CU);
_4L(yyfplus(_sl(_3l.x), 10), yyfplus(_sl(_3l.y), 10), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_hw)), yyfplus(_sl(_3l.y), 22), _3l._am, _3l._am, _3l._am, _3l._am, 0);
var _bT = yyfdivide(_sl(_CU), 10);
var _dl = 0;
for (; yyfless(_dl, 9); _dl++) {
{
_HU(yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_bT)), yyfplus(_sl(_3l.y), 8), yyfplus(yyfplus(_sl(_3l.x), 10), _sl(_bT)), yyfplus(_sl(_3l.y), 24), 2, 0, 0);
_bT = yyfplus(_bT, yyfdivide(_sl(_CU), 10));
}
}
}
function _bc(_3l, _4l) {
_DS(_3l, _4l);
_3l._Pq = "Title";
_3l._eo = 0;
_3l._am = 255;
}
function _cc(_3l, _4l) {
if (!yyGetBool(_3l._4a)) {
return;
}
if (yyGetBool(_3l._nT()) && yyGetBool(!yyGetBool(_oT(_3l._nT())))) {
return;
}
{
var _JU = _8l(5);
for (var _KU in _JU) {
if (!_JU.hasOwnProperty(_KU)) continue;
var _LU = _JU[_KU];
if (_LU._bl) continue;
if (!_LU._cl) continue;
if (yyfless(_LU._jr(), _3l._jr())) {
return;
}
}
}
_3l._WS = 0 ? 1 : 0;
if (yyGetBool(_VS(_ZA(0), _0B(0), _3l.x, _3l.y, yyfplus(_sl(_3l.x), _sl(_3l._OM())), yyfplus(_sl(_3l.y), _sl(_3l._Vs()))))) {
{
if (yyGetBool(_HS(1))) {
{
_T5(_3l, _4l, _3l._MU);
}
}
}
}
}
function _dc(_3l, _4l) {
_hL(_3l, _3l._wC, _3l._oC, _3l.x, _3l.y);
}
function _ec(_3l, _4l) {
_DS(_3l, _4l);
_3l._MU = "";
}
function _gc(_3l, _4l) {
_3l._kr(-1000);
_3l._Us(1000);
}
function _hc(_3l, _4l) {
_3l._NU++;
}
function _ic(_3l, _4l) {
if (!yyGetBool(_3l._4a)) {
return;
}
var _OU = _3l._NU;
var _PU = -1;
if (yyCompareVal(_OU, 0, g_GMLMathEpsilon) == 0) {
_PU = 0;
} else if (yyCompareVal(_OU, 1, g_GMLMathEpsilon) == 0) {
_PU = 1;
} else if (yyCompareVal(_OU, 2, g_GMLMathEpsilon) == 0) {
_PU = 2;
}
switch (_PU) {
case 0: {
if (yyfequal(yyfplus(_sl(_3l.x), _sl(_3l.y)), 0)) {
{
_YK(0);
var _QU = _hT(_3l._mm, -1, _3l._3r);
var _RU = _hT(_3l._Pq, -1, _3l._3r);
if (yyfgreater(_RU, _QU)) {
_QU = _RU;
}
_3l._kr(yyfplus(22, _sl(yyftime(_sl(_QU), 0.5))));
_3l._Us(_Rq());
}
}
_3l._Us(_3l.y - 2);
if (yyfless(_3l.y, yyfminus(yyfminus(_sl(_Rq()), 2), _sl(_QM(_3l._mm, -1, _3l._3r))))) {
{
_3l._rx = _vp(_3l._rx, 1584050178);
_3l._rx[_wp(0)] = _3l._SU;
_3l._NU++;
}
}
break;
}
case 1: {
break;
}
case 2: {
_3l._Us(_3l.y + 4);
if (yyfgreater(_3l.y, yyfplus(_sl(_Rq()), 32))) {
{
{
var _TU = _8l(42);
for (var _UU in _TU) {
if (!_TU.hasOwnProperty(_UU)) continue;
var _VU = _TU[_UU];
if (_VU._bl) continue;
if (!_VU._cl) continue;
{
_El(_VU._XM, _Dl(_VU._XM, _3l.id));
var _ql = _el(_VU._XM);
if (yyfgreater(_ql, 0)) {
{
_A9(_VU, _3l, yyfplus("Notifications remaining = ", _sl(_ul(_ql))));
var _VM = _hl(_VU._XM, 0);
_0m(_3l, _4l, _VM)._4a = 1 ? 1 : 0;
}
}
}
}
}
_lp(_3l);
}
}
break;
}
}
}
function _jc(_3l, _4l) {
_DS(_3l, _4l);
}
function _kc(_3l, _4l) {
_DS(_3l, _4l);
_3l._SU = 150;
_3l._NU = 0;
}
function _lc(_3l, _4l) {
_YK(0);
_3l._Pq = yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Achievements")), " "), _sl(_ul(_I2(_3l, _4l)))), "%");
_3l._WU = _dT(_3l._Pq);
_3l._XU = _el(_0m(_3l, _4l, 42)._fl);
_3l._YU = yyfplus(_sl(yyftime(_sl(_sl(-_sl(_3l._XU))), _sl(_3l._WU))), _sl(_3l._Vs()));
}
function _mc(_3l, _4l) {
if (yyGetBool(abs(_3l._ZU))) {
{
_3l.__U = yyfplus(_3l.__U, _3l._ZU);
}
}
if (
yyGetBool(_4B(1)) &&
yyGetBool(yyfgreater(_rn._6B(), _3l.x)) &&
yyGetBool(yyfless(_rn._6B(), yyfplus(_sl(_3l.x), _sl(_3l._OM())))) &&
yyGetBool(yyfgreater(_rn._7B(), _3l.y)) &&
yyGetBool(yyfless(_rn._7B(), yyfplus(_sl(_3l.y), _sl(_3l._Vs()))))
) {
{
if (yyfequal(_3l._MT, 0)) {
_3l._MT = yyfminus(_sl(_3l.__U), _sl(_rn._7B()));
}
_3l.__U = yyfplus(_sl(_3l._MT), _sl(_rn._7B()));
_3l._ZU = 0;
}
} else {
{
_3l._MT = 0;
}
}
_3l._ZU = yyftime(_3l._ZU, 0.9);
_3l._YU = yyfplus(_sl(yyftime(_sl(_sl(-_sl(yyfplus(_sl(_3l._XU), 1)))), _sl(_3l._WU))), _sl(_3l._Vs()));
_3l.__U = _cm(_3l.__U, _3l._YU, 0);
}
function _nc(_3l, _4l) {
_YK(0);
_ZK(0);
var _1L = yyfplus(_sl(_3l.x), 8);
var _1r = yyfplus(_sl(_3l.y), 12);
var _0V = _1r;
var _1V = yyfminus(yyfplus(_sl(_1r), _sl(_3l._Vs())), 16);
_1r = yyfplus(_1r, _3l.__U);
{
var _2V = _8l(42);
for (var _3V in _2V) {
if (!_2V.hasOwnProperty(_3V)) continue;
var _4V = _2V[_3V];
if (_4V._bl) continue;
if (!_4V._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_4V._fl)); _dl++) {
{
if (yyGetBool(yyfgreaterequal(_1r, _0V)) && yyGetBool(yyflessequal(_1r, _1V))) {
{
var _gl = _hl(_4V._fl, _dl);
var _sr = _il(_gl, "description");
var _RK = 16777215;
var _5V = 0.35;
if (yyfgreater(_ml(_il(_gl, "achieved")), 0)) {
_5V = 1;
}
_eT(_1L, _1r, _sr, _RK, _RK, _RK, _RK, _5V);
}
}
_1r = yyfplus(_1r, _3l._WU);
}
}
}
}
}
_4L(_3l.x, yyfplus(_sl(_3l.y), _sl(_3l._Vs())), yyfplus(_sl(_3l.x), _sl(_3l._OM())), yyfplus(yyfplus(_sl(_3l.y), _sl(_3l._Vs())), 2), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_DS(_3l, _4l);
if (yyfless(_3l.__U, 0)) {
_jL(_3l, 88, 0, yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 10), yyfplus(_sl(_3l.y), 12), 0.5, 0.5, -90, 16777215, 1);
}
if (yyfgreater(_3l.__U, yyfplus(_sl(_3l._YU), 10))) {
_jL(_3l, 88, 0, yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 10), yyfminus(yyfplus(_sl(_3l.y), _sl(_3l._Vs())), 12), 0.5, 0.5, 90, 16777215, 1);
}
}
function _oc(_3l, _4l) {
if (yyGetBool(yyfgreater(_rn._7B(), _3l.y)) && yyGetBool(yyfless(_rn._7B(), yyfplus(_sl(_3l.y), _sl(_3l._Vs()))))) {
{
if (yyGetBool(yyfgreater(_rn._6B(), _3l.x)) && yyGetBool(yyfless(_rn._6B(), yyfplus(_sl(_3l.x), _sl(_3l._OM()))))) {
_3l._ZU = _il(_rn._ZT(), "diffY");
}
}
}
}
function _pc(_3l, _4l) {
_DS(_3l, _4l);
_3l._ZU = 0;
_3l.__U = 0;
_3l._6V = 0;
}
function _qc(_3l, _4l) {
_3l._7V = _95(_3l, _4l);
var _rl = _H2(_3l, _4l, "ACH_WIN_RETROBOWL1");
_A9(_3l, _4l, yyfplus("ACH_RETROBOWL1 = ", _sl(_ul(_rl))));
var _Zt = _Dq();
_vl(_Zt, "count", _rl);
_vl(_Zt, "name", yyfplus(yyfplus(yyfplus("you_", _sl(_wr(_0m(_3l, _4l, 42)._lm, 1, 1))), "."), _sl(_0m(_3l, _4l, 42)._nm)));
_Cl(_3l._7V, _Zt);
_3l._7V = _K2(_3l, _4l, _3l._7V);
}
function _rc(_3l, _4l) {
var _dl = 0;
for (; yyfless(_dl, _el(_3l._7V)); _dl++) {
_Tm(_hl(_3l._7V, _dl));
}
_Fl(_3l._7V);
}
function _sc(_3l, _4l) {
_DS(_3l, _4l);
var _1L = yyfplus(_sl(_3l.x), 8);
var _1r = yyfplus(_sl(_3l.y), 12);
var _HT = _dT("I");
var _dl = 0;
for (; yyfless(_dl, _el(_3l._7V)); _dl++) {
{
var _Zt = _hl(_3l._7V, _dl);
var _rl = _ul(_ml(_il(_Zt, "count")));
var _sr = _il(_Zt, "name");
var _RK = 16777215;
if (yyGetBool(_tq("you_", _sr))) {
{
_sr = _Pl(_sr, "you_", "");
_RK = global._bm;
}
}
_1L = yyfplus(_sl(_3l.x), 8);
_ZK(0);
_eT(_1L, _1r, _sr, _RK, _RK, _RK, _RK, 1);
_1L = yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 8);
_ZK(2);
_eT(_1L, _1r, _rl, _RK, _RK, _RK, _RK, 1);
_1r = yyfplus(_1r, _HT);
}
}
}
function _tc(_3l, _4l) {
_DS(_3l, _4l);
}
function _uc(_3l, _4l) {
_YK(0);
_3l._WU = _dT("I");
_3l._XU = _el(_0m(_3l, _4l, 42)._hp);
_3l._YU = yyfplus(_sl(yyftime(_sl(_sl(-_sl(_3l._XU))), _sl(_3l._WU))), _sl(_3l._Vs()));
}
function _vc(_3l, _4l) {
if (yyGetBool(abs(_3l._ZU))) {
{
_3l.__U = yyfplus(_3l.__U, _3l._ZU);
}
}
if (
yyGetBool(_4B(1)) &&
yyGetBool(yyfgreater(_rn._6B(), _3l.x)) &&
yyGetBool(yyfless(_rn._6B(), yyfplus(_sl(_3l.x), _sl(_3l._OM())))) &&
yyGetBool(yyfgreater(_rn._7B(), _3l.y)) &&
yyGetBool(yyfless(_rn._7B(), yyfplus(_sl(_3l.y), _sl(_3l._Vs()))))
) {
{
if (yyfequal(_3l._MT, 0)) {
_3l._MT = yyfminus(_sl(_3l.__U), _sl(_rn._7B()));
}
_3l.__U = yyfplus(_sl(_3l._MT), _sl(_rn._7B()));
_3l._ZU = 0;
}
} else {
{
_3l._MT = 0;
}
}
_3l._ZU = yyftime(_3l._ZU, 0.9);
_3l._YU = yyfplus(_sl(yyftime(_sl(_sl(-_sl(yyfplus(_sl(_3l._XU), 1)))), _sl(_3l._WU))), _sl(_3l._Vs()));
_3l.__U = _cm(_3l.__U, _3l._YU, 0);
}
function _wc(_3l, _4l) {
_YK(0);
_ZK(1);
var _1L = yyfplus(_sl(_3l.x), 6);
var _1r = yyfplus(_sl(_3l.y), 12);
var _0V = yyfminus(yyfplus(_sl(_1r), _sl(_3l._WU)), 4);
var _1V = yyfminus(yyfplus(_sl(_1r), _sl(_3l._Vs())), 16);
{
var _8V = _8l(42);
for (var _9V in _8V) {
if (!_8V.hasOwnProperty(_9V)) continue;
var _aV = _8V[_9V];
if (_aV._bl) continue;
if (!_aV._cl) continue;
{
_ZK(0);
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _Q8(_aV, _3l, "ui_Year"), 0, 0, 0, 0, 1);
_5L(_1L, _1r, _Q8(_aV, _3l, "ui_Year"));
_1L = yyfplus(_1L, 68);
_ZK(1);
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _Q8(_aV, _3l, "ui_Record"), 0, 0, 0, 0, 1);
_5L(_1L, _1r, _Q8(_aV, _3l, "ui_Record"));
_ZK(2);
_1L = yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 18);
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _Q8(_aV, _3l, "ui_Finished"), 0, 0, 0, 0, 1);
_5L(_1L, _1r, _Q8(_aV, _3l, "ui_Finished"));
_1r = yyfplus(_1r, _3l.__U);
_1r = yyfplus(_1r, _3l._WU);
var _bV = _el(_aV._hp);
var _dl = yyfminus(_sl(_bV), 1);
for (; yyfgreater(_dl, -1); _dl--) {
{
_1L = yyfplus(_sl(_3l.x), 10);
if (yyGetBool(yyfgreaterequal(_1r, _0V)) && yyGetBool(yyflessequal(_1r, _1V))) {
{
var _Zt = _hl(_aV._hp, _dl);
_ZK(1);
_5L(_1L, _1r, _il(_Zt, "year"));
_1L = yyfplus(_1L, 22);
_5L(_1L, _1r, _il(_Zt, "tla"));
_1L = yyfplus(_1L, 42);
_5L(_1L, _1r, yyfplus(yyfplus(yyfplus(yyfplus(_sl(_ul(_il(_Zt, "wins"))), "-"), _sl(_ul(_il(_Zt, "losses")))), "-"), _sl(_ul(_il(_Zt, "ties")))));
_1L = yyfplus(_1L, 44);
_ZK(2);
_5L(yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 18), _1r, _il(_Zt, "finish"));
}
}
_1r = yyfplus(_1r, _3l._WU);
}
}
}
}
}
_4L(_3l.x, yyfplus(_sl(_3l.y), _sl(_3l._Vs())), yyfplus(_sl(_3l.x), _sl(_3l._OM())), yyfplus(yyfplus(_sl(_3l.y), _sl(_3l._Vs())), 2), global._Ll, global._Ll, global._Ll, global._Ll, 0);
_DS(_3l, _4l);
if (yyfless(_3l.__U, 0)) {
_jL(_3l, 88, 0, yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 10), yyfplus(_sl(_3l.y), 24), 0.5, 0.5, -90, 16777215, 1);
}
if (yyfgreater(_3l.__U, yyfplus(_sl(_3l._YU), 10))) {
_jL(_3l, 88, 0, yyfminus(yyfplus(_sl(_3l.x), _sl(_3l._OM())), 10), yyfminus(yyfplus(_sl(_3l.y), _sl(_3l._Vs())), 12), 0.5, 0.5, 90, 16777215, 1);
}
}
function _xc(_3l, _4l) {
if (yyGetBool(yyfgreater(_rn._7B(), _3l.y)) && yyGetBool(yyfless(_rn._7B(), yyfplus(_sl(_3l.y), _sl(_3l._Vs()))))) {
{
if (yyGetBool(yyfgreater(_rn._6B(), _3l.x)) && yyGetBool(yyfless(_rn._6B(), yyfplus(_sl(_3l.x), _sl(_3l._OM()))))) {
_3l._ZU = _il(_rn._ZT(), "diffY");
}
}
}
}
function _yc(_3l, _4l) {
_DS(_3l, _4l);
_3l._ZU = 0;
_3l.__U = 0;
_3l._6V = 0;
}
function _zc(_3l, _4l) {
_DS(_3l, _4l);
}
function _Ac(_3l, _4l) {
_DS(_3l, _4l);
if (!yyGetBool(global._tx)) {
{
_3l._6r = 0 ? 1 : 0;
_0m(_3l, _4l, 42)._rx = _vp(_0m(_3l, _4l, 42)._rx, 3067340870);
_0m(_3l, _4l, 42)._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 10);
}
}
if (yyGetBool(_0m(_3l, _4l, 42)._cq)) {
_3l._4a = 0 ? 1 : 0;
}
if (yyGetBool(global._fB)) {
_lp(_3l);
}
}
function _Bc(_3l, _4l) {
_DS(_3l, _4l);
_3l._6r = global._tx;
if (yyGetBool(_0m(_3l, _4l, 42)._cq)) {
_3l._4a = 0 ? 1 : 0;
}
}
function _Cc(_3l, _4l) {
_DS(_3l, _4l);
_3l._4r = 194;
_3l._5r = 71;
}
function _Dc(_3l, _4l) {
_DS(_3l, _4l);
if (yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "fullversion"))) {
_3l._4a = 0 ? 1 : 0;
}
if (yyfequal(_rn._lx(), 4)) {
{
_3l._4a = 0 ? 1 : 0;
}
}
}
function _Ec(_3l, _4l) {
_3l._6r = 1 ? 1 : 0;
}
function _Fc(_3l, _4l) {
_DS(_3l, _4l);
if (yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "fullversion"))) {
_3l._4a = 0 ? 1 : 0;
}
}
function _Gc(_3l, _4l) {
_DS(_3l, _4l);
_3l._mm = _Q8(_3l, _4l, "btn_RestorePurchases");
_3l._4r = 193;
}
function _Hc(_3l, _4l) {
_3l._6r = 1 ? 1 : 0;
}
function _Ic(_3l, _4l) {
_DS(_3l, _4l);
_72._F2[_3l._Ty](_3l, _4l);
}
function _Jc(_3l, _4l) {
_DS(_3l, _4l);
_3l._Ty = 197;
_3l._mm = _Q8(_3l, _4l, "btn_RestorePurchases");
_3l._4r = 193;
}
function _Kc(_3l, _4l) {
_3l._mm = _36(_3l, _4l);
_3l._hr = 57;
}
function _Lc(_3l, _4l) {
_3l._mm = _36(_3l, _4l);
}
function _Mc(_3l, _4l) {
_DS(_3l, _4l);
}
function _Nc(_3l, _4l) {
if (yyGetBool(_3l._cV)) {
_3l._Vw(114);
}
if (!yyGetBool(global._fB)) {
_lp(_3l);
}
}
function _Pc(_3l, _4l) {
{
if (yyGetBool(_3l._cV)) {
_dV(global._eV, "_blank");
} else {
_dV(global._fV, "_blank");
}
}
}
function _Qc(_3l, _4l) {
_DS(_3l, _4l);
_3l._cV = 0 ? 1 : 0;
}
function _Rc(_3l, _4l) {
_A9(_3l, _4l, "------> Create: obj_master");
global._tx = 0 ? 1 : 0;
global._7u = yyGetBool(yyfequal(_rn._lx(), 4)) || yyGetBool(yyfequal(_rn._lx(), 3)) ? 1 : 0;
global._SA = -4;
global._fB = yyfnotequal(_rn._bp(), -1) ? 1 : 0;
global._fV = "https://apps.apple.com/us/app/retro-bowl/id1478902583";
global._eV = "https://play.google.com/store/apps/details?id=com.newstargames.retrobowl";
_D5(_3l, _4l);
_3l._fc = 1 ? 1 : 0;
_gV(480, 270);
_hV();
_3l._iV = 1 ? 1 : 0;
global._hu = 10;
global._cu = "optiondata.dat";
global._ap = "savedata.ini";
global._cp = "savedata_backup.ini";
global._Ll = _kI(44, 104, 255);
global._bm = _kI(210, 210, 10);
global._DL = _kI(86, 216, 86);
global._EL = _kI(116, 164, 255);
global._FO = _kI(92, 200, 255);
global._GO = _kI(255, 64, 64);
global._HO = _kI(228, 92, 16);
_3l._jV = 0 ? 1 : 0;
if (yyGetBool(_2u(global._cu))) {
{
_55(_3l, _4l);
}
} else {
{
_45(_3l, _4l);
_3l._jV = 1 ? 1 : 0;
}
}
_C5(_3l, _4l);
_3l._gp = _75(_3l, _4l);
_3l._sm = 1;
_3l._Nl = 1;
_3l._1m = 1;
_3l._cq = 1;
_3l._lm = "";
_3l._nm = "";
_3l._Fm = _Sm(31);
_3l._Em = _Sm(31);
_3l._wt = 10;
_3l._Kn = 100;
_3l._pq = 0 ? 1 : 0;
_3l._vq = 1;
_3l._xt = 0;
_3l._Jl = 3;
_3l._as = 1;
_3l._Lp = 30;
_3l._Kl = 1;
_3l._Tl = 1;
_3l._Yl = 1;
_3l._Ml = 0;
_3l._Ul = 0;
_3l._Zl = 0;
for (var _kV = 0, _lV = yyGetInt32(3); _kV < _lV; _kV++) {
{
var _mV = _Sm(3);
var _nV = -1;
if (yyCompareVal(_mV, 0, g_GMLMathEpsilon) == 0) {
_nV = 0;
} else if (yyCompareVal(_mV, 1, g_GMLMathEpsilon) == 0) {
_nV = 1;
} else if (yyCompareVal(_mV, 2, g_GMLMathEpsilon) == 0) {
_nV = 2;
} else if (yyCompareVal(_mV, 3, g_GMLMathEpsilon) == 0) {
_nV = 3;
}
switch (_nV) {
case 0: {
_3l._Kl++;
break;
}
case 1: {
_3l._Tl++;
break;
}
case 2: {
_3l._Yl++;
break;
}
case 3: {
_3l._Lp = yyfplus(_3l._Lp, 10);
break;
}
}
}
}
_3l._Zn = 1;
_3l._Sn = _vp(_3l._Sn, 935272160);
_3l._Sn[_wp(0)] = 1;
_3l._Sn[_wp(1)] = 1;
_3l._Sn[_wp(2)] = 1;
_3l._yt = 0 ? 1 : 0;
_3l._it = 0 ? 1 : 0;
_3l._Sr = 0 ? 1 : 0;
var _rv = 0;
for (; yyfless(_rv, 3); _rv++) {
{
_3l._zt = _vp(_3l._zt, 3993986822);
_3l._zt[_wp(_rv)] = 0;
_3l._At = _vp(_3l._At, 1420725676);
_3l._At[_wp(_rv)] = 0;
_3l._Bt = _vp(_3l._Bt, 3785466360);
_3l._Bt[_wp(_rv)] = 0;
_3l._Ct = _vp(_3l._Ct, 293396566);
_3l._Ct[_wp(_rv)] = 0;
_3l._Dt = _vp(_3l._Dt, 520008225);
_3l._Dt[_wp(_rv)] = 0;
_3l._Et = _vp(_3l._Et, 844534894);
_3l._Et[_wp(_rv)] = 0;
_3l._Ft = _vp(_3l._Ft, 2938856400);
_3l._Ft[_wp(_rv)] = 0;
}
}
_3l._YE = 0;
_3l._XE = 0;
_3l._dv = 0;
_3l._ev = 0;
_3l._gv = 0;
_3l._fv = 0;
if (yyGetBool(_2u(global._ap))) {
{
_35(_3l, _4l, global._ap);
}
} else {
if (yyGetBool(yyfequal(_rn._bp(), -1)) && yyGetBool(_2u(global._cp))) {
{
_35(_3l, _4l, global._cp);
}
} else {
{
_3l._hm = _yl();
_3l._kp = _yl();
_3l._Bm = _85(_3l, _4l);
_3l._fl = _a5(_3l, _4l);
_3l._hp = _yl();
_3l._ip = _b5(_3l, _4l);
_3l._Im = _d5(_3l, _4l);
_3l._jp = _yl();
_3l._zn = _yl();
_3l._Wo = _yl();
_3l._Cn = _yl();
_3l._Bn = _yl();
_3l._An = _yl();
_3l._Um = _yl();
_3l._Vo = _yl();
_3l._Lt = _Wt(8, 3);
_3l._Mt = _Wt(8, 1);
_3l._Nt = _Wt(8, 8);
_3l._Ot = _Wt(9, 4);
_Xt(_3l._Lt, 0);
_Xt(_3l._Mt, 0);
_Xt(_3l._Nt, 0);
_Xt(_3l._Ot, 0);
_58(_3l, _4l);
_E8(_3l, _4l);
_3m(1);
}
}
}
_3l._Dm = _hl(_3l._Bm, _3l._Fm);
_3l._Gm = _il(_3l._Dm, "conference");
_3l._Hm = _il(_3l._Dm, "division");
_3l._XM = _yl();
_3l._Mm = -4;
_3l._ez = 0 ? 1 : 0;
_3l._Xr = 0 ? 1 : 0;
_3l._Bo = 0;
_3l._dm = 0 ? 1 : 0;
_3l._6R = 0;
_3l._Cm = _vp(_3l._Cm, 2482654026);
_3l._Cm[_wp(0)] = -4;
_3l._Cm[_wp(1)] = -4;
_3l._cv = _vp(_3l._cv, 4090671517);
_3l._cv[_wp(0)] = 0;
_3l._cv[_wp(1)] = 0;
var _dl = 0;
for (; yyfless(_dl, 4); _dl++) {
{
_3l._gR = _vp(_3l._gR, 1564342938);
_3l._gR[_wp(_dl)] = 0;
_3l._kR = _vp(_3l._kR, 1594035715);
_3l._kR[_wp(_dl)] = 0;
_3l._lR = _vp(_3l._lR, 209161107);
_3l._lR[_wp(_dl)] = 0;
_3l._mR = _vp(_3l._mR, 2030698856);
_3l._mR[_wp(_dl)] = 0;
_3l._nR = _vp(_3l._nR, 3905126936);
_3l._nR[_wp(_dl)] = 0;
_3l._oR = _vp(_3l._oR, 22447010);
_3l._oR[_wp(_dl)] = 0;
_3l._pR = _vp(_3l._pR, 57177915);
_3l._pR[_wp(_dl)] = 0;
_3l._qR = _vp(_3l._qR, 2250024881);
_3l._qR[_wp(_dl)] = 0;
_3l._rR = _vp(_3l._rR, 627144784);
_3l._rR[_wp(_dl)] = 0;
_3l._sR = _vp(_3l._sR, 1655221818);
_3l._sR[_wp(_dl)] = 0;
}
}
_3l._tn = -4;
_3l._4p = -4;
_3l._2o = 1;
_3l._Io = 1;
_3l._bt = 0 ? 1 : 0;
_3l._az = 0 ? 1 : 0;
_3l._Ym = 0 ? 1 : 0;
_3l._uq = _Dq();
_A9(_3l, _4l, yyfplus("myteam_id = ", _sl(_ul(_3l._Fm))));
_A9(_3l, _4l, yyfplus("myteam.uid = ", _sl(_ul(_il(_3l._Dm, "uid")))));
_i6(_3l, _4l);
}
function _Sc(_3l, _4l) {
_C5(_3l, _4l);
}
function _Uc(_3l, _4l) {}
function _Wc(_3l, _4l) {
var _oV = _rn._lx();
var _pV = -1;
if (yyCompareVal(_oV, 4, g_GMLMathEpsilon) == 0) {
_pV = 0;
} else if (yyCompareVal(_oV, 3, g_GMLMathEpsilon) == 0) {
_pV = 1;
}
switch (_pV) {
case 0: {
_E5(_3l, _4l);
break;
}
case 1: {
_F5(_3l, _4l);
break;
}
}
}
function _Yc(_3l, _4l) {
if (!yyGetBool(global._fB)) {
{
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, 10);
_U7(_3l, _4l, 8, _0m(_3l, _4l, 42)._Jl, _rn._sn(), "Coins!");
}
}
}
function __c(_3l, _4l) {
if (!yyGetBool(global._fB)) {
{
_3l._iV = !yyGetBool(_3l._iV) ? 1 : 0;
if (yyGetBool(_3l._iV)) {
_qV(0);
} else {
_qV(-1);
}
}
}
}
function _1d(_3l, _4l) {
if (!yyGetBool(global._fB)) {
_X5(_3l, _4l);
}
}
function _3d(_3l, _4l) {
if (!yyGetBool(global._fB)) {
_u9(_3l, _4l);
}
}
function _4d(_3l, _4l) {
_DS(_3l, _4l);
}
function _5d(_3l, _4l) {
_rV(1);
_3l._sV = _tV();
_3l._uV = _vV();
if (yyGetBool(global._fB)) {
{
if (yyfgreater(_3l._sV, 960)) {
{
_3l._sV = 960;
_3l._uV = 540;
}
}
}
}
_3l._wV = yyfdivide(_sl(_3l._sV), _sl(_3l._uV));
_3l._xV = 270;
_3l._yV = round(yyftime(_sl(_3l._xV), _sl(_3l._wV)));
if (yyGetBool(yyfbitand(_sl(_3l._yV), 1))) {
_3l._yV++;
}
if (yyGetBool(yyfbitand(_sl(_3l._xV), 1))) {
_3l._xV++;
}
_3l._zV = min(floor(yyfdivide(_sl(_3l._sV), _sl(_3l._yV))), floor(yyfdivide(_sl(_3l._uV), _sl(_3l._xV))));
if (yyfequal(yyftime(_sl(_3l._xV), _sl(_3l._zV)), _3l._uV)) {
_3l._zV--;
}
_3l._AV = _3l._zV;
if (yyGetBool(global._fB)) {
_3l._AV = yyftime(_3l._AV, 2);
}
_BV(yyftime(_sl(_3l._yV), _sl(_3l._AV)), yyftime(_sl(_3l._xV), _sl(_3l._AV)));
_gV(_3l._yV, _3l._xV);
_3l._rx = _vp(_3l._rx, 1584050178);
_3l._rx[_wp(0)] = 1;
_CV(_rn._DV, yyftime(_sl(_3l._yV), _sl(_3l._AV)), yyftime(_sl(_3l._xV), _sl(_3l._AV)));
_3l._tK = 2;
_3l._EV = _il(_0m(_3l, _4l, 42)._1n, "op_zoom");
}
function _6d(_3l, _4l) {
if (yyfequal(_rn._bp(), -1)) {
_FV();
}
}
function _8d(_3l, _4l) {
var _GV = _IK(_rn._vK[_Tn(0, _rn._vK)]);
var _HV = _KK(_rn._vK[_Tn(0, _rn._vK)]);
var _IV = _GV;
var _JV = _HV;
var _nK = 1;
var _KV = 0.02;
var _LV = yyftime(_sl(_3l._yV), _sl(_3l._tK));
{
var _MV = _8l(48);
for (var _NV in _MV) {
if (!_MV.hasOwnProperty(_NV)) continue;
var _OV = _MV[_NV];
if (_OV._bl) continue;
if (!_OV._cl) continue;
{
var _PV = _OV._WA;
var _QV = -1;
if (yyCompareVal(_PV, 1, g_GMLMathEpsilon) == 0) {
_QV = 0;
}
switch (_QV) {
case 0: {
if (yyfnotequal(_OV._bq, 14)) {
_nK = 2;
}
_IV = 1300;
var _RV = _OV._NA;
var _SV = -1;
if (yyCompareVal(_RV, -1, g_GMLMathEpsilon) == 0) {
_SV = 0;
} else if (yyCompareVal(_RV, 1, g_GMLMathEpsilon) == 0) {
_SV = 1;
}
switch (_SV) {
case 0: {
if (yyfequal(_OV._9q, _OV._aq)) {
_IV = yyfminus(_IV, yyftime(_sl(_OV._XD), 20));
} else {
_IV = yyfplus(_IV, yyftime(_sl(_OV._XD), 20));
}
break;
}
case 1: {
if (yyfequal(_OV._9q, _OV._aq)) {
_IV = yyfplus(_IV, yyftime(_sl(_OV._XD), 20));
} else {
_IV = yyfminus(_IV, yyftime(_sl(_OV._XD), 20));
}
break;
}
}
var _TV = _OV._bq;
var _UV = -1;
if (yyCompareVal(_TV, 12, g_GMLMathEpsilon) == 0 || yyCompareVal(_TV, 13, g_GMLMathEpsilon) == 0) {
_UV = 0;
} else if (yyCompareVal(_TV, 0, g_GMLMathEpsilon) == 0 || yyCompareVal(_TV, 1, g_GMLMathEpsilon) == 0 || yyCompareVal(_TV, 17, g_GMLMathEpsilon) == 0) {
_UV = 1;
}
switch (_UV) {
case 0: {
if (yyGetBool(yyfnotequal(_OV._NE, 3)) && yyGetBool(yyfnotequal(_OV._NE, 5))) {
break;
}
}
case 1: {
_KV = 0.2;
_IV = 1300;
break;
}
default: {
break;
}
}
_IV = yyfminus(_IV, yyftime(_sl(_LV), 0.5));
break;
}
default: {
_KV = 0.02;
break;
}
}
}
}
}
{
var _VV = _8l(global._SA);
for (var _WV in _VV) {
if (!_VV.hasOwnProperty(_WV)) continue;
var _XV = _VV[_WV];
if (_XV._bl) continue;
if (!_XV._cl) continue;
{
var _Gy = _XV.y;
if (yyGetBool(_k6(_XV, _3l))) {
_Gy = 280;
}
_IV = yyfminus(_sl(_XV.x), _sl(yyftime(_sl(_LV), 0.5)));
_JV = yyfminus(_sl(_Gy), _sl(yyftime(yyftime(_sl(_3l._xV), _sl(_3l._tK)), 0.5)));
if (yyGetBool(_XV._HA) && yyGetBool(_k6(_XV, _3l))) {
{
_nK = 1.5;
if (yyfequal(_0m(_3l, _4l, 48)._NA, -1)) {
_IV = yyfminus(_sl(_XV.x), _sl(yyftime(_sl(_LV), 0.6)));
} else {
_IV = yyfminus(_sl(_XV.x), _sl(yyftime(_sl(_LV), 0.4)));
}
}
}
if (yyGetBool(_0m(_3l, _4l, 48)._3C)) {
_nK = 1.9;
}
}
}
}
if (!yyGetBool(_3l._EV)) {
_3l._tK = 2;
} else {
_3l._tK = _xC(_3l._tK, _nK, 0.02);
}
_uK(_rn._vK[_Tn(0, _rn._vK)], yyftime(_sl(_3l._yV), _sl(_3l._tK)), yyftime(_sl(_3l._xV), _sl(_3l._tK)));
var _wK = _xK(_rn._vK[_Tn(0, _rn._vK)]);
var _yK = _zK(_rn._vK[_Tn(0, _rn._vK)]);
_IV = _cm(_xC(_GV, _IV, _KV), 0, yyfminus(_sl(_rn._Ps), _sl(_wK)));
_JV = _cm(_xC(_HV, _JV, _KV), 0, yyfminus(_sl(_rn._Rs), _sl(_yK)));
_LK(_rn._vK[_Tn(0, _rn._vK)], _IV, _JV);
}
function _ad(_3l, _4l) {
_rn._YV(1 ? 1 : 0);
_rn._ZV[_wp(0)] = 1 ? 1 : 0;
}
function _cd(_3l, _4l) {
_BV(960, 540);
_gV(480, 270);
_CV(_rn._DV, 480, 270);
if (!yyGetBool(global._fB)) {
_FV();
}
}
function _dd(_3l, _4l) {
_DS(_3l, _4l);
}
function _ed(_3l, _4l) {
_A9(_3l, _4l, "------> Create: obj_splash");
_3l._rx = _vp(_3l._rx, 1584050178);
_3l._rx[_wp(0)] = yyftime(_sl(_rn._sx()), 2);
}
function _fd(_3l, _4l) {
_3m(4);
}
function _hd(_3l, _4l) {
_3m(4);
}
function _id(_3l, _4l) {
_DS(_3l, _4l);
_3l.__V = 0;
}
function _jd(_3l, _4l) {
_A9(_3l, _4l, "------> Create: obj_scanlines");
{
var _0W = _8l(42);
for (var _1W in _0W) {
if (!_0W.hasOwnProperty(_1W)) continue;
var _2W = _0W[_1W];
if (_2W._bl) continue;
if (!_2W._cl) continue;
_3l._bn = _il(_2W._1n, "op_scanlines");
}
}
}
function _ld(_3l, _4l) {
var _kL = _Qq();
var _FP = _Rq();
var _RK = global._Ll;
if (yyfequal(_rn._sn(), 0)) {
_RK = 0;
}
if (yyfequal(_rn._sn(), 11)) {
_RK = 0;
}
_4L(-1080, -1080, -1, 1080, _RK, _RK, _RK, _RK, 0);
_4L(_kL, -1080, yyfplus(_sl(_kL), 1080), 1080, _RK, _RK, _RK, _RK, 0);
_4L(-1080, -1080, yyfplus(_sl(_kL), 1080), 0, _RK, _RK, _RK, _RK, 0);
_4L(-1080, _FP, yyfplus(_sl(_kL), 1080), yyfplus(_sl(_FP), 1080), _RK, _RK, _RK, _RK, 0);
if (yyGetBool(_3l._bn)) {
{
var _3W = 0.5;
_4W(_3l, 111, 0, -540, -540, _3W, _3W, 16777215, 0.08);
}
}
if (yyfgreater(_0m(_3l, _4l, 42)._rx[_Tn(1, _0m(_3l, _4l, 42)._rx)], 0)) {
{
_YK(0);
_ZK(2);
var _9T = _Qq();
var _aT = _Rq();
_aL(0);
_0L(0.75);
_xU(yyfminus(_sl(_9T), 110), yyfminus(_sl(_aT), 16), _9T, _aT, 0);
_aL(16777215);
_0L(1);
_5L(yyfminus(_sl(_9T), 6), yyfminus(_sl(_aT), 8), _Q8(_3l, _4l, "ui_Connecting"));
_jL(_3l, 54, 0, yyfminus(_sl(_9T), 102), yyfminus(_sl(_aT), 7), 1, 1, yyfmod(_sl(yyfdivide(_sl(_rn._up()), 5)), 360), 16777215, 1);
}
}
}
function _md(_3l, _4l) {
_DS(_3l, _4l);
_3l._bn = 0 ? 1 : 0;
}
function _nd(_3l, _4l) {
_3l._Os = 0;
_3l._Qs = 0;
_3l._sS = 0;
_3l._LC = 0;
_3l._IC = 0 ? 1 : 0;
}
function _od(_3l, _4l) {
_DS(_3l, _4l);
}
function _pd(_3l, _4l) {
_3l._EU = _rn._up();
}
function _qd(_3l, _4l) {
var _5W = _3l._1m;
var _6W = -1;
if (yyCompareVal(_5W, 0, g_GMLMathEpsilon) == 0) {
_6W = 0;
} else if (yyCompareVal(_5W, 1, g_GMLMathEpsilon) == 0) {
_6W = 1;
} else if (yyCompareVal(_5W, 2, g_GMLMathEpsilon) == 0) {
_6W = 2;
}
switch (_6W) {
case 0: {
_3l._Oy(_3l._tC + 0.2);
_3l._Py(_3l._tC);
if (yyfgreaterequal(_3l._tC, _3l._7W)) {
_3l._1m++;
}
break;
}
case 1: {
_8W(_3l, _3l._Qw, _3l._Rw, 5);
_3l._Oy(_3l._tC * 0.97);
_3l._Py(_3l._tC);
if (yyfless(_5B(_3l.x, _3l.y, _3l._Qw, _3l._Rw), 5)) {
_3l._1m++;
}
break;
}
case 2: {
var _9W = _3l._Sw;
var _aW = -1;
if (yyCompareVal(_9W, 1, g_GMLMathEpsilon) == 0) {
_aW = 0;
} else if (yyCompareVal(_9W, 2, g_GMLMathEpsilon) == 0) {
_aW = 1;
}
switch (_aW) {
case 0: {
_0m(_3l, _4l, 42)._Jl = yyfplus(_0m(_3l, _4l, 42)._Jl, _3l._Oo);
break;
}
case 1: {
_vl(_3l._Bl, "rating", yyfplus(_sl(_il(_3l._Bl, "rating")), 1));
break;
}
}
_lp(_3l);
break;
}
}
}
function _rd(_3l, _4l) {}
function _sd(_3l, _4l) {
_YS(_3l);
}
function _td(_3l, _4l) {
_DS(_3l, _4l);
_3l._EU = 0;
_3l._1m = 0;
_3l._Qw = 0;
_3l._Rw = 0;
_3l._Oo = 0;
_3l._7W = 4;
_3l._Sw = 1;
_3l._Bl = -4;
}
function _ud(_3l, _4l) {
_bW(0.25);
_3l._cW = _rn._dW;
_3l._eW = 0;
_3l._WA = 1;
_3l._bq = 0;
_3l._zF = 0;
_3l._BF = 0;
_3l._eB = _Q8(_3l, _4l, "match_TouchToContinue");
_3l._uE = _UK(_Q8(_3l, _4l, "match_GetReady"));
_3l._vE = 0 ? 1 : 0;
_3l._6F = -4;
_3l._TE = 1;
_3l._WE = 0;
_3l._JE = 0;
_3l._VD = 2;
_3l._WD = 0;
_3l._CE = 0;
_3l._ZC = 0;
_hV();
_3l._aq = _0m(_3l, _4l, 42)._6R;
_3l._Cm = _vp(_3l._Cm, 2482654026);
_3l._Cm[_wp(0)] = _0m(_3l, _4l, 42)._Cm[_Tn(0, _0m(_3l, _4l, 42)._Cm)];
_3l._Cm[_wp(1)] = _0m(_3l, _4l, 42)._Cm[_Tn(1, _0m(_3l, _4l, 42)._Cm)];
_3l._dw = _vp(_3l._dw, 4207176991);
_3l._dw[_wp(0)] = _il(_3l._Cm[_Tn(0, _3l._Cm)], "name");
_3l._dw[_wp(1)] = _il(_3l._Cm[_Tn(1, _3l._Cm)], "name");
_3l._BE = _vp(_3l._BE, 4137727317);
_3l._BE[_wp(0)] = 0;
_3l._BE[_wp(1)] = 0;
_3l._bF = _vp(_3l._bF, 2430042449);
_3l._bF[_wp(0)] = _q9(_3l, _4l, _3l._Cm[_Tn(0, _3l._Cm)]);
_3l._bF[_wp(1)] = _q9(_3l, _4l, _3l._Cm[_Tn(1, _3l._Cm)]);
_3l._iF = _vp(_3l._iF, 2826004556);
_3l._iF[_wp(0)] = _r9(_3l, _4l, _3l._Cm[_Tn(0, _3l._Cm)]);
_3l._iF[_wp(1)] = _r9(_3l, _4l, _3l._Cm[_Tn(1, _3l._Cm)]);
_3l._9q = _Sm(1);
_3l._AF = _3l._9q;
_3l._NE = 1;
_3l._tK = 2;
_3l._NA = _7F(-1, 1);
if (yyfnotequal(_il(_0m(_3l, _4l, 42)._1n, "op_drivedir"), 0)) {
_3l._NA = _il(_0m(_3l, _4l, 42)._1n, "op_drivedir");
}
_3l.__C = 0;
_3l._ZD = 0;
_3l._XD = 0;
_3l._RE = 0;
_3l._VE = 0;
_3l._0E = 0;
_3l._qE = 0;
_3l._3C = 0 ? 1 : 0;
_3l._UC = 0 ? 1 : 0;
_3l.__H = 2;
_3l._IB = 1 ? 1 : 0;
_3l._aB = 0;
_3l.__D = 0;
_3l._bB = 0;
_3l._YC = yyfplus(300, _sl(_Vm(-100, 100)));
_3l._8E = _Sm(3);
_3l._mE = _vp(_3l._mE, 2468983040);
_3l._mE[_wp(0)] = 0;
_3l._mE[_wp(1)] = 0;
_3l._mE[_wp(2)] = 0;
_3l._mE[_wp(3)] = 0;
_3l._mE[_wp(4)] = 0;
global._PD = 0;
global._QD = 0;
global._vM = 0;
_Oq(80, 300, "Players", 56);
_Oq(80, 276, "Players", 57);
_Oq(80, 332, "Players", 57);
_Oq(2520, 300, "Players", 56);
_Oq(2520, 276, "Players", 57);
_Oq(2520, 332, "Players", 57);
{
var _fW = _8l(42);
for (var _gW in _fW) {
if (!_fW.hasOwnProperty(_gW)) continue;
var _hW = _fW[_gW];
if (_hW._bl) continue;
if (!_hW._cl) continue;
{
_hW._zt = _vp(_hW._zt, 555387361);
_hW._zt[_wp(0)] = 0;
_hW._At = _vp(_hW._At, 634124037);
_hW._At[_wp(0)] = 0;
_hW._Bt = _vp(_hW._Bt, 2779842459);
_hW._Bt[_wp(0)] = 0;
_hW._Ct = _vp(_hW._Ct, 1433159221);
_hW._Ct[_wp(0)] = 0;
_hW._Dt = _vp(_hW._Dt, 2494730557);
_hW._Dt[_wp(0)] = 0;
_hW._Et = _vp(_hW._Et, 1984311821);
_hW._Et[_wp(0)] = 0;
_hW._Ft = _vp(_hW._Ft, 3946562995);
_hW._Ft[_wp(0)] = 0;
_hW._YE = 0;
_hW._XE = 0;
_hW._dv = 0;
_hW._ev = 0;
_hW._gv = 0;
_hW._fv = 0;
_t8(_hW, _3l, 0);
}
}
}
_3l._wE = 60;
_zE(_3l._wE, 0);
_3l._2G = 0;
_3l._1G = 0;
if (yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
_E7(_3l, _4l);
}
_3l.__T = _0U(0, "colorHelmet");
_3l._1U = _0U(0, "colorShirt");
_3l._3U = _0U(0, "colorPants");
_3l._4U = _0U(0, "colorPants_b");
_3l._iW = _0U(0, "colorCleats");
_3l._5U = _0U(0, "replaceHelmet");
_3l._6U = _0U(0, "replaceShirt");
_3l._8U = _0U(0, "replacePants");
_3l._9U = _0U(0, "replacePants_b");
_3l._jW = _0U(0, "replaceCleats");
_LK(_rn._vK[_Tn(0, _rn._vK)], yyfminus(1300, _sl(yyftime(_sl(_xK(_rn._vK[_Tn(0, _rn._vK)])), 0.5))), 0);
_3l._kW = 0;
var _Pn = _3l._Cm[_Tn(1, _3l._Cm)];
var _lW = _ml(_il(_Pn, "roof"));
var _mW = -1;
if (yyCompareVal(_lW, 1, g_GMLMathEpsilon) == 0) {
_mW = 0;
} else if (yyCompareVal(_lW, 2, g_GMLMathEpsilon) == 0) {
_mW = 1;
}
switch (_mW) {
case 0: {
_3l._kW = 3;
_A9(_3l, _4l, "FIELD_DOME1");
break;
}
case 1: {
_3l._kW = 4;
_A9(_3l, _4l, "FIELD_DOME2");
break;
}
}
_Oq(0, 0, "Weather", 60);
if (yyGetBool(_DA(60))) {
{
var _nW = _0m(_3l, _4l, 60)._Sw;
var _oW = -1;
if (yyCompareVal(_nW, 2, g_GMLMathEpsilon) == 0) {
_oW = 0;
} else if (yyCompareVal(_nW, 1, g_GMLMathEpsilon) == 0) {
_oW = 1;
}
switch (_oW) {
case 0: {
_3l._kW = 1;
break;
}
case 1: {
_3l._kW = 2;
break;
}
}
}
}
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 28)) {
_3l._kW = 5;
}
if (yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
_3l._kW = 6;
}
_i6(_3l, _4l);
}
function _vd(_3l, _4l) {
_i6(_3l, _4l);
}
function _wd(_3l, _4l) {
_A9(_3l, _4l, yyfplus("obj_controller Alarm0: ", _sl(_X8(_3l, _4l))));
var _bD = global._SA;
var _pW = _0m(_3l, _4l, 42)._Bo;
var _qW = -1;
if (yyCompareVal(_pW, 2, g_GMLMathEpsilon) == 0 || yyCompareVal(_pW, 3, g_GMLMathEpsilon) == 0) {
_qW = 0;
}
switch (_qW) {
case 0: {
_E7(_3l, _4l);
return;
break;
}
}
var _rW = _0m(_3l, _4l, _bD)._WA;
var _sW = -1;
if (
yyCompareVal(_rW, 0, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_rW, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_rW, 3, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_rW, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_rW, 6, g_GMLMathEpsilon) == 0
) {
_sW = 0;
} else if (yyCompareVal(_rW, 9, g_GMLMathEpsilon) == 0) {
_sW = 1;
} else if (yyCompareVal(_rW, 10, g_GMLMathEpsilon) == 0) {
_sW = 2;
} else if (yyCompareVal(_rW, 4, g_GMLMathEpsilon) == 0 || yyCompareVal(_rW, 8, g_GMLMathEpsilon) == 0) {
_sW = 3;
} else if (yyCompareVal(_rW, 7, g_GMLMathEpsilon) == 0) {
_sW = 4;
} else if (yyCompareVal(_rW, 11, g_GMLMathEpsilon) == 0) {
_sW = 5;
} else if (yyCompareVal(_rW, 12, g_GMLMathEpsilon) == 0) {
_sW = 6;
} else if (yyCompareVal(_rW, 13, g_GMLMathEpsilon) == 0) {
_sW = 7;
} else if (yyCompareVal(_rW, 14, g_GMLMathEpsilon) == 0) {
_sW = 8;
} else if (yyCompareVal(_rW, 15, g_GMLMathEpsilon) == 0) {
_sW = 9;
} else if (yyCompareVal(_rW, 16, g_GMLMathEpsilon) == 0) {
_sW = 10;
} else if (yyCompareVal(_rW, 17, g_GMLMathEpsilon) == 0) {
_sW = 11;
} else if (yyCompareVal(_rW, 18, g_GMLMathEpsilon) == 0 || yyCompareVal(_rW, 19, g_GMLMathEpsilon) == 0) {
_sW = 12;
}
switch (_sW) {
case 0: {
if (yyGetBool(_0m(_3l, _4l, _bD)._HA) && yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._Bl)) {
_A9(_3l, _4l, yyfplus(yyfplus(yyfplus("Touchdown by: ", _sl(_il(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._Bl, "lname"))), " Offense = "), _sl(_ul(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._LB))));
} else {
_A9(_3l, _4l, "Touchdown by: No holder!");
}
if (yyGetBool(yyGetBool(_0m(_3l, _4l, _bD)._HA) && yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._LB)) || yyGetBool(yyGetBool(_0m(_3l, _4l, _bD)._yB) && yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._yB)._LB))) {
{
_K6(_3l, _4l, 1);
}
} else {
{
_K6(_3l, _4l, 2);
}
}
break;
}
case 1: {
_3l._mE = _vp(_3l._mE, 2468983040);
_3l._mE[_wp(_3l._8E)] = yyfplus(_3l._mE[_wp(_3l._8E)], 1);
_K6(_3l, _4l, 3);
break;
}
case 2: {
_3l._mE[_wp(_3l._8E)] = yyfplus(_3l._mE[_wp(_3l._8E)], 1);
_K6(_3l, _4l, 4);
break;
}
case 3: {
if (yyGetBool(_0m(_3l, _4l, _bD)._HA) && yyGetBool(!yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, _bD)._HA)._LB))) {
{
if (yyfequal(_3l._NA, 1)) {
_3l._XD = yyfplus(_3l._XD, yyfdivide(_sl(yyfminus(_sl(_0m(_3l, _4l, _bD)._VC), _sl(_3l._aB))), 20));
} else {
_3l._XD = yyfplus(_3l._XD, yyfdivide(_sl(yyfminus(_sl(_3l._aB), _sl(_0m(_3l, _4l, _bD)._VC))), 20));
}
_3l._mE[_wp(_3l._8E)] = yyfplus(_3l._mE[_wp(_3l._8E)], 1);
_K6(_3l, _4l, 3);
break;
}
}
if (yyGetBool(yyfequal(_3l._NA, 1)) && yyGetBool(yyfgreater(_0m(_3l, _4l, _bD)._VC, _3l.__D))) {
{
_3l._ZD = 10;
_3l.__C = 1;
_3l._XD = yyfplus(_3l._XD, yyfdivide(_sl(yyfminus(_sl(_0m(_3l, _4l, _bD)._VC), _sl(_3l._aB))), 20));
}
} else {
if (yyGetBool(yyfequal(_3l._NA, -1)) && yyGetBool(yyfless(_0m(_3l, _4l, _bD)._VC, _3l.__D))) {
{
_3l._ZD = 10;
_3l.__C = 1;
_3l._XD = yyfplus(_3l._XD, yyfdivide(_sl(yyfminus(_sl(_3l._aB), _sl(_0m(_3l, _4l, _bD)._VC))), 20));
}
} else {
if (yyGetBool(yyfequal(_3l._NA, 1)) && yyGetBool(yyfgreater(_0m(_3l, _4l, _bD)._VC, _3l._aB))) {
{
var _CF = yyfdivide(_sl(yyfminus(_sl(_0m(_3l, _4l, _bD)._VC), _sl(_3l._aB))), 20);
_3l._ZD = yyfminus(_3l._ZD, _CF);
_3l.__C = yyfplus(_3l.__C, 1);
_3l._XD = yyfplus(_3l._XD, _CF);
_3l._mE[_wp(_3l._8E)] = yyfplus(_3l._mE[_wp(_3l._8E)], 1);
}
} else {
if (yyGetBool(yyfequal(_3l._NA, -1)) && yyGetBool(yyfless(_0m(_3l, _4l, _bD)._VC, _3l._aB))) {
{
var _CF = yyfdivide(_sl(yyfminus(_sl(_3l._aB), _sl(_0m(_3l, _4l, _bD)._VC))), 20);
_3l._ZD = yyfminus(_3l._ZD, _CF);
_3l.__C = yyfplus(_3l.__C, 1);
_3l._XD = yyfplus(_3l._XD, _CF);
_3l._mE[_wp(_3l._8E)] = yyfplus(_3l._mE[_wp(_3l._8E)], 1);
}
} else {
if (yyfequal(_3l._NA, 1)) {
{
var _tW = yyfdivide(_sl(yyfminus(_sl(_3l._aB), _sl(_0m(_3l, _4l, _bD)._VC))), 20);
_3l._ZD = yyfplus(_3l._ZD, _tW);
_3l.__C = yyfplus(_3l.__C, 1);
_3l._XD = yyfminus(_3l._XD, _tW);
_3l._mE[_wp(_3l._8E)] = yyfplus(_3l._mE[_wp(_3l._8E)], 1);
}
} else {
{
var _tW = yyfdivide(_sl(yyfminus(_sl(_0m(_3l, _4l, _bD)._VC), _sl(_3l._aB))), 20);
_3l._ZD = yyfplus(_3l._ZD, _tW);
_3l.__C = yyfplus(_3l.__C, 1);
_3l._XD = yyfminus(_3l._XD, _tW);
_3l._mE[_wp(_3l._8E)] = yyfplus(_3l._mE[_wp(_3l._8E)], 1);
}
}
}
}
}
}
_z6(_3l, _4l, 0);
break;
}
case 4: {
_3l.__C = yyfplus(_3l.__C, 1);
_z6(_3l, _4l, 0);
break;
}
case 5: {
if (yyfequal(_3l._NA, 1)) {
{
var _tW = yyfdivide(_sl(yyfminus(_sl(_3l._aB), _sl(_0m(_3l, _4l, _bD)._VC))), 20);
_3l._ZD = yyfplus(_3l._ZD, _tW);
_3l.__C = yyfplus(_3l.__C, 1);
_3l._XD = yyfminus(_3l._XD, _tW);
}
} else {
{
var _tW = yyfdivide(_sl(yyfminus(_sl(_0m(_3l, _4l, _bD)._VC), _sl(_3l._aB))), 20);
_3l._ZD = yyfplus(_3l._ZD, _tW);
_3l.__C = yyfplus(_3l.__C, 1);
_3l._XD = yyfminus(_3l._XD, _tW);
}
}
_z6(_3l, _4l, 0);
break;
}
case 6: {
_K6(_3l, _4l, 8);
break;
}
case 7: {
_K6(_3l, _4l, 3);
break;
}
case 8: {
_K6(_3l, _4l, 6);
break;
}
case 9: {
_K6(_3l, _4l, 7);
break;
}
case 10: {
_A9(_3l, _4l, "BALL_PRACTICE_SUCCESS");
_O6(_3l, _4l, 1);
break;
}
case 11: {
break;
}
case 12: {
break;
}
}
}
function _xd(_3l, _4l) {
_3l._vE = 1 ? 1 : 0;
}
function _yd(_3l, _4l) {
if (yyfgreater(_rn._up(), yyfplus(_sl(_3l._eW), 100))) {
{
_3l._eW = _rn._up();
_3l._cW = yyfplus(_3l._cW, _rn._dW);
_3l._cW = round(yyfdivide(_sl(_3l._cW), 2));
}
}
var _uW = _3l._WA;
var _vW = -1;
if (yyCompareVal(_uW, 1, g_GMLMathEpsilon) == 0) {
_vW = 0;
} else if (yyCompareVal(_uW, 2, g_GMLMathEpsilon) == 0) {
_vW = 1;
}
switch (_vW) {
case 0: {
var _wW = 0 ? 1 : 0;
{
var _xW = _8l(global._SA);
for (var _yW in _xW) {
if (!_xW.hasOwnProperty(_yW)) continue;
var _zW = _xW[_yW];
if (_zW._bl) continue;
if (!_zW._cl) continue;
if (yyGetBool(_zW._vB)) {
_wW = 1 ? 1 : 0;
}
}
}
if (yyGetBool(_HS(1)) || yyGetBool(_QI(38)) || yyGetBool(_QI(40))) {
_wW = 1 ? 1 : 0;
}
if (yyGetBool(_wW) || yyGetBool(_3l._vE)) {
_G6(_3l, _4l);
}
_F6(_3l, _4l);
return;
break;
}
case 1: {
if (yyfequal(_VG(52), 0)) {
_z6(_3l, _4l, 0);
}
_E6(_3l, _4l);
break;
}
}
{
var _AW = _8l(global._SA);
for (var _BW in _AW) {
if (!_AW.hasOwnProperty(_BW)) continue;
var _CW = _AW[_BW];
if (_CW._bl) continue;
if (!_CW._cl) continue;
{
if (yyGetBool(_CW._BC) && yyGetBool(yyflessequal(_3l._rx[_Tn(0, _3l._rx)], 0))) {
{
_3l._rx = _vp(_3l._rx, 1584050178);
_3l._rx[_wp(0)] = 120;
if (yyfequal(_CW._WA, 6)) {
_3l._rx[_wp(0)] = 240;
}
}
}
}
}
}
}
function _zd(_3l, _4l) {
_y7(_3l, _4l);
_x7(_3l, _4l);
_A7(_3l, _4l);
}
function _Bd(_3l, _4l) {
var _DW = _0m(_3l, _4l, 42)._Bo;
var _EW = -1;
switch (_EW) {
default: {
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
{
_gU(0);
var _WR = _0m(_3l, _4l, 42)._gR;
var _XR = _0m(_3l, _4l, 42)._kR;
var _YR = _0m(_3l, _4l, 42)._mR;
_hU(_3l.__T, 1, 0, 0);
_hU(_3l._1U, 0, 1, 0);
_hU(_3l._3U, 1, 0, 1);
_hU(_3l._4U, 0, 1, 1);
_hU(_3l._iW, 1, 1, 0);
_hU(_3l._5U, _WR[_Tn(0, _WR)], _WR[_Tn(1, _WR)], _WR[_Tn(2, _WR)]);
_hU(_3l._6U, _XR[_Tn(0, _XR)], _XR[_Tn(1, _XR)], _XR[_Tn(2, _XR)]);
_hU(_3l._8U, _YR[_Tn(0, _YR)], _YR[_Tn(1, _YR)], _YR[_Tn(2, _YR)]);
_hU(_3l._9U, 0.9, 0.9, 0.9);
_hU(_3l._jW, 0.1, 0.1, 0.1);
_jL(_3l, 0, _3l._kW, 0, 0, 2, 2, 0, 16777215, 1);
_jL(_3l, 4, 0, 180, 112, 2, 2, 0, 16777215, 1);
_jL(_3l, 4, 0, 2420, 112, 2, 2, 0, 16777215, 1);
_sU();
}
} else {
{
_jL(_3l, 0, _3l._kW, 0, 0, 2, 2, 0, 16777215, 1);
}
}
if (yyfnotequal(_3l._WA, 2)) {
return;
}
if (yyGetBool(_3l._3C)) {
{
_D7(_3l, _4l);
}
} else {
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
_z7(_3l, _4l);
}
}
break;
}
}
if (yyfnotequal(_0m(_3l, _4l, 42)._Bo, 2)) {
{
{
var _FW = _8l(global._SA);
for (var _GW in _FW) {
if (!_FW.hasOwnProperty(_GW)) continue;
var _HW = _FW[_GW];
if (_HW._bl) continue;
if (!_HW._cl) continue;
{
if (yyfgreater(_HW._VC, 0)) {
{
var _RK = 255;
if (yyfequal(_HW._WA, 14)) {
_RK = 65280;
}
_jL(_HW, 40, 0, _HW._VC, _HW._WC, 2, 2, 0, _RK, 1);
}
}
}
}
}
}
}
}
function _Cd(_3l, _4l) {}
function _Dd(_3l, _4l) {
if (!yyGetBool(global._fB)) {
_X6(_3l, _4l);
}
}
function _Ed(_3l, _4l) {
if (!yyGetBool(global._fB)) {
{
if (yyfequal(_3l._WA, 2)) {
{
_3l._XD = yyfminus(40, _sl(_Sm(50)));
_B6(_3l, _4l, 0);
}
}
}
}
}
function _Gd(_3l, _4l) {
if (!yyGetBool(global._fB)) {
{
if (yyfequal(_3l._WA, 2)) {
_B6(_3l, _4l, 1);
}
}
}
}
function _Id(_3l, _4l) {
if (!yyGetBool(global._fB)) {
{
if (yyfgreater(_3l._rx[_Tn(0, _3l._rx)], 0)) {
{
_3l._rx = _vp(_3l._rx, 1584050178);
_3l._rx[_wp(0)] = 1;
}
} else {
{
_z6(_3l, _4l, 1);
}
}
}
}
}
function _Kd(_3l, _4l) {
if (!yyGetBool(global._fB)) {
{
_3l._VD = 0;
_3l._WD = 0;
}
}
}
function _Ld(_3l, _4l) {
if (!yyGetBool(global._fB)) {
{
{
var _IW = _8l(global._SA);
for (var _JW in _IW) {
if (!_IW.hasOwnProperty(_JW)) continue;
var _KW = _IW[_JW];
if (_KW._bl) continue;
if (!_KW._cl) continue;
if (yyfequal(_KW._WA, 2)) {
return;
}
}
}
global._PD = yyfplus(global._PD, _il(_rn._ZT(), "diffX"));
global._QD = yyfplus(global._QD, _il(_rn._ZT(), "diffY"));
}
}
}
function _Md(_3l, _4l) {
_DS(_3l, _4l);
}
function _Nd(_3l, _4l) {
_3l._TF = _LW(_MW("Shadows"), _3l.x, _3l.y, 21);
_NW(_3l._TF, 0);
_OW(_3l._TF, 0.2);
_PW(_3l._TF, 0);
_QW(_3l._TF, 0.9);
_RW(_3l._TF, -0.6);
_3l.__T = _0U(0, "colorHelmet");
_3l._1U = _0U(0, "colorShirt");
_3l._2U = _0U(0, "colorShirt_b");
_3l._3U = _0U(0, "colorPants");
_3l._4U = _0U(0, "colorPants_b");
_3l._SW = _0U(0, "colorSkin");
_3l._iW = _0U(0, "colorCleats");
_3l._5U = _0U(0, "replaceHelmet");
_3l._6U = _0U(0, "replaceShirt");
_3l._7U = _0U(0, "replaceShirt_b");
_3l._8U = _0U(0, "replacePants");
_3l._9U = _0U(0, "replacePants_b");
_3l._TW = _0U(0, "replaceSkin");
_3l._jW = _0U(0, "replaceCleats");
_3l._UW = _vp(_3l._UW, 2556554615);
_3l._UW[_wp(0)] = 0;
_3l._UW[_wp(1)] = 0;
_3l._UW[_wp(2)] = 0;
if (yyGetBool(_Sm(1))) {
{
_3l._UW[_wp(0)] = 1;
_3l._UW[_wp(1)] = 1;
_3l._UW[_wp(2)] = 1;
}
}
_3l._jB = 0;
_3l._LB = 0 ? 1 : 0;
_3l._ZB = _0m(_3l, _4l, 48)._NA;
_3l._OF = 2300;
if (yyfequal(_3l._ZB, -1)) {
_3l._OF = 300;
}
_3l._9D = 0 ? 1 : 0;
_3l._lJ = 0;
_3l._tB = 0;
_3l._2K = 0;
_3l._XH = 20;
_3l._0H(0);
_3l._1H(0);
_3l._vI = 0;
_3l._uD = 0;
_3l._Qw = 0;
_3l._Rw = 0;
_3l._VW = 0;
_3l._xB = 0;
_3l._DH = _Vm(-10, 10);
_3l._sB = -4;
_3l._mI = 0;
_3l._zH = 0;
_3l._AH = 0;
_3l._8I = 2;
_3l._0K = 999;
_3l._eH = 0 ? 1 : 0;
_3l._lC = 0;
_Y6(_3l, _4l, 0);
_3l._ZH = 0.075;
_3l._IA = 1;
_3l.__B = 0.065;
_3l._wB = 0.08;
_3l._RI = 2.1;
_3l._YH = 1;
_3l._pD = 1;
_3l._9I = 1;
_3l._aD = -4;
_3l.__G = 0;
_3l._1I = 30;
_3l._aJ = 0 ? 1 : 0;
_3l.__I = -4;
_3l._3H = 0;
_3l._2H = 0;
_3l._kD = 0 ? 1 : 0;
_3l._7D = -1;
_3l._8D = -1;
_3l._Oy(2);
_3l._Py(2);
_3l._Bl = -4;
_3l._hI = "";
_3l._WW = 0;
_3l._lD = -4;
_3l._nD = 1000;
}
function _Od(_3l, _4l) {
if (yyGetBool(_rB(_3l._sB))) {
_pI(_3l._sB);
}
}
function _Pd(_3l, _4l) {
if (yyGetBool(_3l._9D)) {
return;
}
if (yyfnotequal(_0m(_3l, _4l, 48)._WA, 2)) {
return;
}
var _bD = global._SA;
_3l._tB = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _bD).y);
if (yyGetBool(_0m(_3l, _4l, _bD)._BC)) {
return;
}
_3l._6H = 0;
_3l._kD = _j7(_3l, _4l);
_3l._lJ = _5B(_3l.x, _3l.y, _0m(_3l, _4l, 53)._hD, _0m(_3l, _4l, 53)._iD);
_3l._2K = _PA(_3l.x, _3l.y, _0m(_3l, _4l, _bD).x, _0m(_3l, _4l, _bD).y);
_3l._WW++;
if (yyfequal(_3l._WW, 2)) {
{
_3l._lD = _87(_3l, _4l, _3l.id);
_3l._nD = 1000;
if (yyGetBool(_3l._lD)) {
_3l._nD = _5B(_3l.x, _3l.y, _0m(_3l, _4l, _3l._lD).x, _0m(_3l, _4l, _3l._lD).y);
}
_3l._WW = 0;
}
}
_3l._uD = 0;
if (yyfequal(_3l._ZB, -1)) {
_3l._uD = 180;
}
if (yyGetBool(yyfnotequal(_0m(_3l, _4l, _bD)._WA, 0)) && yyGetBool(yyfnotequal(_0m(_3l, _4l, _bD)._WA, 1))) {
_3l._8I = 0;
}
if (yyGetBool(_3l._LB)) {
_d7(_3l, _4l);
}
_c7(_3l, _4l);
_e7(_3l, _4l);
_f7(_3l, _4l);
}
function _Qd(_3l, _4l) {
var _bD = global._SA;
var _1B = 48;
_r6(_3l, _4l);
if (yyfless(_3l.y, 117)) {
_3l._Us(117);
}
if (yyfless(_3l.y, 152)) {
{
_3l._0K = _PA(_3l.x, _3l.y, _3l._OF, _3l.y);
}
}
if (yyfgreater(_3l.y, 448)) {
{
_3l._0K = _PA(_3l.x, _3l.y, _3l._OF, _3l.y);
}
}
if (yyfless(_3l.y, 132)) {
{
_3l._uD = _PA(_3l.x, _3l.y, _3l._OF, 300);
}
}
if (yyfgreater(_3l.y, 468)) {
{
_3l._uD = _PA(_3l.x, _3l.y, _3l._OF, 300);
}
}
if (yyGetBool(yyfnotequal(_0m(_3l, _4l, _bD)._WA, 3)) || yyGetBool(yyfgreater(_3l._lJ, 400))) {
{
if (yyGetBool(yyfless(_3l.x, 226.5)) || yyGetBool(yyfgreater(_3l.x, 2373.5))) {
{
var _XW = 0 ? 1 : 0;
if (
yyGetBool(yyfgreater(_rn._up(), yyfplus(_sl(_0m(_3l, _4l, 48)._ZC), 750))) &&
yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) &&
yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 6)) &&
yyGetBool(yyfnotequal(_3l._lC, 16)) &&
yyGetBool(yyfnotequal(_3l._lC, 17))
) {
{
_XW = 1 ? 1 : 0;
{
var _YW = _8l(48);
for (var _ZW in _YW) {
if (!_YW.hasOwnProperty(_ZW)) continue;
var __W = _YW[_ZW];
if (__W._bl) continue;
if (!__W._cl) continue;
{
if (yyfequal(__W.__C, 6)) {
{
_XW = 0 ? 1 : 0;
if (
yyGetBool(_V6(__W, _3l, 20)) &&
yyGetBool(yyfless(__W._BE[_Tn(__W._aq, __W._BE)], __W._BE[_Tn(!yyGetBool(__W._aq) ? 1 : 0, __W._BE)])) &&
yyGetBool(yyfgreaterequal(yyfplus(_sl(__W._BE[_Tn(__W._aq, __W._BE)]), 2), __W._BE[_Tn(!yyGetBool(__W._aq) ? 1 : 0, __W._BE)]))
) {
_XW = 1 ? 1 : 0;
}
}
}
}
}
}
}
}
if (yyGetBool(_XW)) {
{
_Y6(_3l, _4l, 16);
_3l._vI = 0;
}
} else {
{
_3l._vI = 0.1;
}
}
}
}
if (yyfless(_3l.x, 90)) {
_3l._vI = 0;
}
if (yyfgreater(_3l.x, 2510)) {
_3l._vI = 0;
}
}
}
var _0X = _3l._lC;
var _1X = -1;
if (yyCompareVal(_0X, 4, g_GMLMathEpsilon) == 0) {
_1X = 0;
} else if (yyCompareVal(_0X, 5, g_GMLMathEpsilon) == 0) {
_1X = 1;
} else if (yyCompareVal(_0X, 6, g_GMLMathEpsilon) == 0) {
_1X = 2;
} else if (yyCompareVal(_0X, 7, g_GMLMathEpsilon) == 0) {
_1X = 3;
} else if (yyCompareVal(_0X, 10, g_GMLMathEpsilon) == 0) {
_1X = 4;
} else if (yyCompareVal(_0X, 11, g_GMLMathEpsilon) == 0) {
_1X = 5;
} else if (yyCompareVal(_0X, 12, g_GMLMathEpsilon) == 0) {
_1X = 6;
}
switch (_1X) {
case 0: {
_3l._vI = 0;
break;
}
case 1: {
_3l._vI = 0;
break;
}
case 2: {
_3l._vI = 0;
break;
}
case 3: {
_3l._vI = 0;
break;
}
case 4: {
_3l._vI = 0;
break;
}
case 5: {
_3l._vI = 0;
break;
}
case 6: {
_3l._vI = 0;
break;
}
}
if (yyGetBool(_3l._9D)) {
_3l._vI = 0;
}
if (yyGetBool(yyfequal(_3l._jB, 2)) && yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 19)) && yyGetBool(yyfequal(_3l._vI, 1))) {
_3l._vI = 0.5;
}
if (yyGetBool(_0m(_3l, _4l, _bD)._BC)) {
{
if (!yyGetBool(yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) && yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 6)))) {
_3l._vI = 0;
}
}
}
if (yyfnotequal(_3l._lC, 3)) {
{
_3l._0H(_3l._Yf + yyftime(yyftime(_sl(_5C(_3l._uD)), _sl(_3l._vI)), _sl(_3l._ZH)));
_3l._1H(_3l._Zf + yyftime(yyftime(yyftime(_sl(_6C(_sl(-_sl(_3l._uD)))), _sl(_3l._vI)), _sl(_3l._ZH)), 0.75));
}
}
if (yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) {
{
var _DF = _0m(_3l, _4l, _bD).x;
if (yyGetBool(yyfequal(_3l._7D, -1)) || yyGetBool(yyfless(_DF, _3l._7D))) {
_3l._7D = _DF;
}
if (yyGetBool(yyfequal(_3l._8D, -1)) || yyGetBool(yyfgreater(_DF, _3l._8D))) {
_3l._8D = _DF;
}
}
}
if (!yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
{
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) && yyGetBool(yyfequal(_3l._lC, 2)) && yyGetBool(yyfgreater(_3l._ZH, 0.069375))) {
{
var _2X = 0.9998;
var _6I = yyfminus(12, _sl(_3l._9I));
_2X = yyfminus(_2X, yyftime(_sl(_6I), 0.0001));
_3l._ZH = yyftime(_3l._ZH, _2X);
}
}
}
}
_3l._0H(_3l._Yf * 0.93);
_3l._1H(_3l._Zf * 0.93);
if (yyGetBool(_3l._9D)) {
{
var _3X = 2000;
if (!yyGetBool(_3l._LB)) {
_3X = yyfminus(_3X, yyftime(_sl(_0m(_3l, _4l, _1B)._iF[_Tn(!yyGetBool(_0m(_3l, _4l, _1B)._aq) ? 1 : 0, _0m(_3l, _4l, _1B)._iF)]), 100));
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._wt, 5)) {
_3X = 1000;
} else {
if (yyGetBool(_3l._Bl)) {
_3X = yyfminus(_3X, yyftime(_sl(_il(_3l._Bl, "stamina")), 100));
} else {
_3X = yyfminus(_3X, yyftime(_sl(_0m(_3l, _4l, _1B)._bF[_Tn(_0m(_3l, _4l, _1B)._aq, _0m(_3l, _4l, _1B)._bF)]), 100));
}
}
}
if (yyfgreater(_rn._up(), yyfplus(_sl(_3l._9D), _sl(_3X)))) {
{
_3l._9D = 0;
_3l.__G = 0;
_Y6(_3l, _4l, 6);
}
}
}
} else {
{
if (yyfgreater(_3l._Yf, 0.1)) {
_3l._Oy(2);
} else {
if (yyfless(_3l._Yf, -0.1)) {
_3l._Oy(-2);
} else {
if (yyGetBool(yyfnotequal(_3l._lC, 5)) && yyGetBool(yyfnotequal(_3l._lC, 4))) {
_3l._Oy(yyftime(_sl(_3l._ZB), 2));
}
}
}
if (yyGetBool(yyfequal(_3l._jB, 1)) && yyGetBool(_rB(_3l._sB)) && yyGetBool(yyfnotequal(_0m(_3l, _4l, _bD)._WA, 19)) && yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id))) {
_3l._Oy(yyftime(_sl(_3l._ZB), 2));
}
var _4X = _3l._lC;
var _5X = -1;
if (yyCompareVal(_4X, 0, g_GMLMathEpsilon) == 0 || yyCompareVal(_4X, 1, g_GMLMathEpsilon) == 0) {
_5X = 0;
} else if (yyCompareVal(_4X, 2, g_GMLMathEpsilon) == 0) {
_5X = 1;
} else if (yyCompareVal(_4X, 3, g_GMLMathEpsilon) == 0) {
_5X = 2;
} else if (
yyCompareVal(_4X, 4, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_4X, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_4X, 6, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_4X, 7, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_4X, 8, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_4X, 9, g_GMLMathEpsilon) == 0
) {
_5X = 3;
} else if (yyCompareVal(_4X, 11, g_GMLMathEpsilon) == 0 || yyCompareVal(_4X, 12, g_GMLMathEpsilon) == 0) {
_5X = 4;
}
switch (_5X) {
case 0: {
if (yyfgreaterequal(_3l._E2, 0.1)) {
_Y6(_3l, _4l, 2);
}
break;
}
case 1: {
_3l._SG = min(_3l._E2, 1);
if (yyfless(_3l._E2, 0.1)) {
_Y6(_3l, _4l, 0);
}
break;
}
case 2: {
if (yyGetBool(_3l._aD)) {
{
_3l._Oy(2);
if (yyfless(_0m(_3l, _4l, _3l._aD).x, _3l.x)) {
_3l._Oy(-2);
}
}
}
break;
}
case 3: {
break;
}
case 4: {
_3l._Oy(2);
if (yyfless(_0m(_3l, _4l, 53)._hD, _3l.x)) {
_3l._Oy(-2);
}
break;
}
}
}
}
_3l._ir(yyfplus(_sl(yyftime(_sl(_sl(-_sl(_3l.y))), 10)), _sl(yyftime(_sl(_3l._DH), 0.1))));
_6X(_3l._TF, _3l._wC);
_7X(_3l._TF, _3l._oC);
_QW(_3l._TF, _3l._tC);
_8X(_3l._TF, _3l.x);
_9X(_3l._TF, _3l.y);
}
function _Sd(_3l, _4l) {
var _aX = _3l._lC;
var _bX = -1;
if (yyCompareVal(_aX, 0, g_GMLMathEpsilon) == 0 || yyCompareVal(_aX, 1, g_GMLMathEpsilon) == 0 || yyCompareVal(_aX, 2, g_GMLMathEpsilon) == 0) {
_bX = 0;
} else if (yyCompareVal(_aX, 3, g_GMLMathEpsilon) == 0) {
_bX = 1;
} else if (yyCompareVal(_aX, 4, g_GMLMathEpsilon) == 0 || yyCompareVal(_aX, 5, g_GMLMathEpsilon) == 0) {
_bX = 2;
} else if (yyCompareVal(_aX, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_aX, 7, g_GMLMathEpsilon) == 0 || yyCompareVal(_aX, 12, g_GMLMathEpsilon) == 0) {
_bX = 3;
} else if (yyCompareVal(_aX, 8, g_GMLMathEpsilon) == 0) {
_bX = 4;
} else if (yyCompareVal(_aX, 9, g_GMLMathEpsilon) == 0) {
_bX = 5;
} else if (yyCompareVal(_aX, 10, g_GMLMathEpsilon) == 0) {
_bX = 6;
} else if (yyCompareVal(_aX, 11, g_GMLMathEpsilon) == 0) {
_bX = 7;
} else if (yyCompareVal(_aX, 13, g_GMLMathEpsilon) == 0) {
_bX = 8;
} else if (yyCompareVal(_aX, 14, g_GMLMathEpsilon) == 0) {
_bX = 9;
} else if (yyCompareVal(_aX, 15, g_GMLMathEpsilon) == 0) {
_bX = 10;
} else if (yyCompareVal(_aX, 16, g_GMLMathEpsilon) == 0) {
_bX = 11;
} else if (yyCompareVal(_aX, 17, g_GMLMathEpsilon) == 0) {
_bX = 12;
}
switch (_bX) {
case 0: {
break;
}
case 1: {
if (yyGetBool(yyfequal(_3l._aD, -4)) || yyGetBool(yyfnotequal(_0m(_3l, _4l, _3l._aD)._lC, 3))) {
_Y6(_3l, _4l, 0);
}
break;
}
case 2: {
_3l._9D = _rn._up();
_3l._SG = 0;
_3l._XB(yyfminus(_sl(_3l._cX()), 1));
break;
}
case 3: {
_Y6(_3l, _4l, 0);
break;
}
case 4: {
_Y6(_3l, _4l, 2);
break;
}
case 5: {
_Y6(_3l, _4l, 2);
break;
}
case 6: {
_Y6(_3l, _4l, 2);
break;
}
case 7: {
break;
}
case 8: {
break;
}
case 9: {
_3l._0H(0);
_3l._SG = 0;
_3l._XB(yyfminus(_sl(_3l._cX()), 1));
break;
}
case 10: {
_3l._SG = 0;
_3l._XB(yyfminus(_sl(_3l._cX()), 1));
break;
}
case 11: {
_w6(_3l, _4l);
_Y6(_3l, _4l, 0);
break;
}
case 12: {
break;
}
}
}
function _Td(_3l, _4l) {
var _bD = global._SA;
if (yyGetBool(_3l._Bl)) {
{
var _1T = yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 200))), 1)), 2);
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 0)) && yyGetBool(yyfequal(_3l._wC, 16))) {
{
_jL(_3l, 15, _3l._oC, _3l.x, yyfminus(_sl(_3l.y), _sl(_3l._VW)), _3l._tC, _3l._nC, 0, 65535, _1T);
_jL(_3l, 46, 0, _3l.x, yyfminus(yyfminus(yyfminus(_sl(_3l.y), _sl(_3l._VW)), _sl(_3l._Vs())), 6), _3l._tC, _3l._nC, 0, 65535, _1T);
}
} else {
if (yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 0)) || yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 2)) || yyGetBool(yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 5)) && yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)))) {
{
_jL(_3l, 46, 0, _3l.x, yyfminus(yyfminus(yyfminus(_sl(_3l.y), _sl(_3l._VW)), _sl(_3l._Vs())), 6), _3l._tC, _3l._nC, 0, 65535, _1T);
}
}
}
}
}
_gU(0);
_hU(_3l.__T, 1, 0, 0);
_hU(_3l._1U, 0, 1, 0);
_hU(_3l._2U, 0, 0.5, 0);
_hU(_3l._3U, 1, 0, 1);
_hU(_3l._4U, 0, 1, 1);
_hU(_3l._SW, 0, 0, 1);
_hU(_3l._iW, 1, 1, 0);
_hU(_3l._5U, _3l._WR[_Tn(0, _3l._WR)], _3l._WR[_Tn(1, _3l._WR)], _3l._WR[_Tn(2, _3l._WR)]);
_hU(_3l._6U, _3l._XR[_Tn(0, _3l._XR)], _3l._XR[_Tn(1, _3l._XR)], _3l._XR[_Tn(2, _3l._XR)]);
_hU(_3l._7U, _3l._dX[_Tn(0, _3l._dX)], _3l._dX[_Tn(1, _3l._dX)], _3l._dX[_Tn(2, _3l._dX)]);
_hU(_3l._8U, _3l._YR[_Tn(0, _3l._YR)], _3l._YR[_Tn(1, _3l._YR)], _3l._YR[_Tn(2, _3l._YR)]);
_hU(_3l._9U, _3l._aU[_Tn(0, _3l._aU)], _3l._aU[_Tn(1, _3l._aU)], _3l._aU[_Tn(2, _3l._aU)]);
_hU(_3l._TW, _3l._bI, _3l._dI, _3l._fI);
_hU(_3l._jW, _3l._UW[_Tn(0, _3l._UW)], _3l._UW[_Tn(1, _3l._UW)], _3l._UW[_Tn(2, _3l._UW)]);
if (yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) {
{
if (yyGetBool(yyfequal(_3l._jB, 1)) && yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 2))) {
{
if (yyGetBool(_rB(_3l._sB))) {
{
_3l._Vw(17);
_3l._Oy(2);
if (yyfequal(_3l._ZB, -1)) {
_3l._Oy(-2);
}
}
}
}
} else {
if (yyfless(_3l._tB, 10)) {
{
var _eX = _3l._wC;
var _fX = -1;
if (yyCompareVal(_eX, 21, g_GMLMathEpsilon) == 0) {
_fX = 0;
} else if (yyCompareVal(_eX, 25, g_GMLMathEpsilon) == 0) {
_fX = 1;
} else if (yyCompareVal(_eX, 33, g_GMLMathEpsilon) == 0) {
_fX = 2;
}
switch (_fX) {
case 0: {
_3l._Vw(22);
break;
}
case 1: {
_3l._Vw(26);
break;
}
case 2: {
_3l._Vw(32);
break;
}
}
}
}
}
}
} else {
{
var _gX = _3l._wC;
var _hX = -1;
if (yyCompareVal(_gX, 22, g_GMLMathEpsilon) == 0) {
_hX = 0;
} else if (yyCompareVal(_gX, 26, g_GMLMathEpsilon) == 0) {
_hX = 1;
} else if (yyCompareVal(_gX, 32, g_GMLMathEpsilon) == 0) {
_hX = 2;
} else if (yyCompareVal(_gX, 31, g_GMLMathEpsilon) == 0) {
_hX = 3;
}
switch (_hX) {
case 0: {
_3l._Vw(21);
break;
}
case 1: {
_3l._Vw(25);
break;
}
case 2: {
_3l._Vw(33);
break;
}
case 3: {
_3l._Vw(30);
break;
}
}
}
}
_jL(_3l, _3l._wC, _3l._oC, _3l.x, yyfminus(_sl(_3l.y), _sl(_3l._VW)), _3l._tC, _3l._nC, 0, 16777215, 1);
_sU();
return;
if (yyGetBool(_3l._aD)) {
{
_iX(_3l.x, _3l.y, _0m(_3l, _4l, _3l._aD).x, _0m(_3l, _4l, _3l._aD).y, 255, 16711680);
}
} else {
{
_jX(_3l.x, _3l.y, yyfplus(_sl(_3l.x), _sl(yyftime(_sl(_5C(_3l._uD)), 10))), yyfplus(_sl(_3l.y), _sl(yyftime(_sl(_6C(_sl(-_sl(_3l._uD)))), 10))));
}
}
}
function _Ud(_3l, _4l) {
var _bD = global._SA;
var _kX = _0m(_3l, _4l, _bD)._WA;
var _lX = -1;
if (
yyCompareVal(_kX, 0, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_kX, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_kX, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_kX, 18, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_kX, 19, g_GMLMathEpsilon) == 0
) {
_lX = 0;
}
switch (_lX) {
case 0: {
if (yyGetBool(_rB(_3l._sB))) {
{
_C7(_3l, _4l);
}
}
break;
}
}
var _vu = yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 60))), 1)), 2);
if (yyGetBool(_3l._9D)) {
_vu = yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 120))), 1)), 2);
}
if (yyfequal(_0m(_3l, _4l, _bD)._HA, _3l.id)) {
{
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 2)) {
_vu = 0;
}
_jL(_3l, 42, 0, _3l.x, _3l.y, 2, 2, 0, 16777215, _vu);
}
} else {
if (yyGetBool(yyfequal(_3l._jB, 2)) && yyGetBool(yyfequal(_0m(_3l, _4l, _bD)._WA, 0))) {
{
if (yyfnotequal(_0m(_3l, _4l, 42)._Bo, 2)) {
_vu = 1;
}
_jL(_3l, 42, 0, _3l.x, _3l.y, 2, 2, 0, global._EL, _vu);
}
}
}
}
function _Vd(_3l, _4l) {
_DS(_3l, _4l);
}
function _Wd(_3l, _4l) {
_DS(_3l, _4l);
_3l._6H = _VG(50);
_3l._Oy(yyftime(_sl(_3l._ZB), 2));
_3l._LB = 1 ? 1 : 0;
var _mX = _0m(_3l, _4l, 42)._6R;
var _nX = -1;
if (yyCompareVal(_mX, 0, g_GMLMathEpsilon) == 0) {
_nX = 0;
} else if (yyCompareVal(_mX, 1, g_GMLMathEpsilon) == 0) {
_nX = 1;
}
switch (_nX) {
case 0: {
_3l._WR = _0m(_3l, _4l, 42)._oR;
_3l._XR = _0m(_3l, _4l, 42)._pR;
_3l._dX = _0m(_3l, _4l, 42)._qR;
_3l._YR = _0m(_3l, _4l, 42)._rR;
_3l._aU = _0m(_3l, _4l, 42)._sR;
break;
}
case 1: {
_3l._WR = _0m(_3l, _4l, 42)._gR;
_3l._XR = _0m(_3l, _4l, 42)._kR;
_3l._dX = _0m(_3l, _4l, 42)._lR;
_3l._YR = _0m(_3l, _4l, 42)._mR;
_3l._aU = _0m(_3l, _4l, 42)._nR;
break;
}
}
if (yyGetBool(_Sm(1))) {
_3l._UW = _3l._YR;
}
if (yyGetBool(_0m(_3l, _4l, 48)._3C)) {
{
_27(_3l, _4l);
}
} else {
{
_Z6(_3l, _4l);
}
}
}
function _Xd(_3l, _4l) {
_DS(_3l, _4l);
}
function _Yd(_3l, _4l) {
_DS(_3l, _4l);
_3l._6H = _VG(51);
_3l._ZB = _sl(-_sl(_0m(_3l, _4l, 48)._NA));
_3l._OF = 300;
if (yyfequal(_3l._ZB, 1)) {
_3l._OF = 2300;
}
_3l._Oy(yyftime(_sl(_3l._ZB), 2));
var _oX = _0m(_3l, _4l, 42)._6R;
var _pX = -1;
if (yyCompareVal(_oX, 0, g_GMLMathEpsilon) == 0) {
_pX = 0;
} else if (yyCompareVal(_oX, 1, g_GMLMathEpsilon) == 0) {
_pX = 1;
}
switch (_pX) {
case 0: {
_3l._WR = _0m(_3l, _4l, 42)._gR;
_3l._XR = _0m(_3l, _4l, 42)._kR;
_3l._dX = _0m(_3l, _4l, 42)._lR;
_3l._YR = _0m(_3l, _4l, 42)._mR;
_3l._aU = _0m(_3l, _4l, 42)._nR;
break;
}
case 1: {
_3l._WR = _0m(_3l, _4l, 42)._oR;
_3l._XR = _0m(_3l, _4l, 42)._pR;
_3l._dX = _0m(_3l, _4l, 42)._qR;
_3l._YR = _0m(_3l, _4l, 42)._rR;
_3l._aU = _0m(_3l, _4l, 42)._sR;
break;
}
}
if (yyGetBool(_Sm(1))) {
_3l._UW = _3l._YR;
}
if (yyGetBool(_0m(_3l, _4l, 48)._3C)) {
{
_17(_3l, _4l);
}
} else {
{
__6(_3l, _4l);
}
}
}
function _Zd(_3l, _4l) {
_DS(_3l, _4l);
}
function __d(_3l, _4l) {
_3l._WA = 0;
_3l._HA = _g7(_3l, _4l);
_3l._yB = -4;
_3l._kr(_0m(_3l, _4l, _3l._HA).x);
_3l._Us(_0m(_3l, _4l, _3l._HA).y);
_3l._8B = 0;
_3l._9B = 0;
_3l._kB = 0;
_3l._JB = 0;
_3l._KB = 0;
_3l._BC = 0 ? 1 : 0;
_3l._VC = 0;
_3l._WC = 0;
_3l._8C = 1;
_3l._7C = _3l._8C;
_3l._0C = 0;
_3l._1C = 0;
_3l._ND = 0;
_3l._OD = 0;
_3l._uB = 0;
if (yyfequal(_0m(_3l, _4l, 48)._NA, -1)) {
_3l._uB = 180;
}
_3l._vB = 0;
_3l._xB = 0;
_3l._aC = 0;
_3l._9C = 0;
_3l._bC = 0;
_3l._XC = 0;
_3l._qX = 0;
_3l._KA = 1;
_3l._QB = 0;
_3l._JA = 300;
_3l._QA = 2510;
if (yyfequal(_0m(_3l, _4l, 48)._NA, -1)) {
{
_3l._QA = 90;
_3l._qX = 180;
}
}
if (yyGetBool(_0m(_3l, _4l, 48)._3C)) {
_3l._QB = 20;
}
_3l._TF = _LW(_MW("Shadows"), _3l.x, _3l.y, 1);
_NW(_3l._TF, 0);
_OW(_3l._TF, 0.2);
var _dl = 0;
for (; yyfless(_dl, 20); _dl++) {
{
_3l._rX = _vp(_3l._rX, 2127366110);
_vx(_3l._rX, _dl, 0, 0);
_vx(_3l._rX, _dl, 1, 0);
}
}
}
function _0e(_3l, _4l) {}
function _1e(_3l, _4l) {
if (yyGetBool(_DA(5))) {
return;
}
var _sX = _3l._WA;
var _tL = _3l.x;
var _tX = _0m(_3l, _4l, 48)._3C;
var _uX = -1;
if (yyCompareVal(_tX, 0, g_GMLMathEpsilon) == 0) {
_uX = 0;
} else if (yyCompareVal(_tX, 1, g_GMLMathEpsilon) == 0) {
_uX = 1;
}
switch (_uX) {
case 0: {
_l6(_3l, _4l);
break;
}
case 1: {
_m6(_3l, _4l);
break;
}
}
_3l._ir(yyftime(_sl(_sl(-_sl(_3l.y))), 10));
_q6(_3l, _4l);
_8X(_3l._TF, _3l.x);
_9X(_3l._TF, _3l.y);
_PW(_3l._TF, _3l._9C);
if (yyfnotequal(_3l._WA, _sX)) {
{
_A9(_3l, _4l, _X8(_3l, _4l));
_A9(_3l, _4l, yyfplus("old_ballstate==", _sl(_ul(_sX))));
_w7(_3l, _4l, _3l._WA);
}
}
if (yyfgreater(abs(yyfminus(_sl(_tL), _sl(_3l.x))), 1)) {
{
var _dl = 20;
for (; yyfgreater(_dl, 0); _dl--) {
{
_3l._rX = _vp(_3l._rX, 2127366110);
_vx(_3l._rX, _dl, 0, _3l._rX[_Tn(yyfminus(_sl(_dl), 1), _3l._rX)][~~0]);
_vx(_3l._rX, _dl, 1, _3l._rX[_Tn(yyfminus(_sl(_dl), 1), _3l._rX)][~~1]);
}
}
_3l._rX = _vp(_3l._rX, 2127366110);
_vx(_3l._rX, 0, 0, _3l.x);
_vx(_3l._rX, 0, 1, yyfminus(_sl(_3l.y), _sl(yyfplus(_sl(_3l._8C), 1))));
}
}
}
function _2e(_3l, _4l) {
var _vX = _3l._oC;
if (yyfless(_3l._vB, 1)) {
_vX = 0;
}
{
var _wX = _8l(_3l._HA);
for (var _xX in _wX) {
if (!_wX.hasOwnProperty(_xX)) continue;
var _yX = _wX[_xX];
if (_yX._bl) continue;
if (!_yX._cl) continue;
{
_vX = 0;
if (yyGetBool(_r7(_yX, _3l, _yX._wC))) {
return;
}
}
}
}
if (yyGetBool(yyGetBool(yyfequal(_3l._WA, 0)) || yyGetBool(yyfequal(_3l._WA, 1))) && yyGetBool(!yyGetBool(_0m(_3l, _4l, 48)._3C))) {
{
var _zX = _0m(_3l, _4l, 48)._NA;
var _AX = -1;
if (yyCompareVal(_zX, -1, g_GMLMathEpsilon) == 0) {
_AX = 0;
} else if (yyCompareVal(_zX, 1, g_GMLMathEpsilon) == 0) {
_AX = 1;
}
switch (_AX) {
case 0: {
_jL(_3l, 1, _vX, yyfplus(_sl(_3l.x), 4), yyfminus(_sl(_3l.y), _sl(_3l._8C)), 2, 2, _3l._9C, 16777215, 1);
break;
}
case 1: {
_jL(_3l, 1, _vX, yyfminus(_sl(_3l.x), 4), yyfminus(_sl(_3l.y), _sl(_3l._8C)), 2, 2, _3l._9C, 16777215, 1);
break;
}
}
}
} else {
{
if (yyfequal(_3l._WA, 3)) {
{
var _1T = min(yyftime(_sl(_3l._8C), 0.005), 0.09);
var _dl = 0;
for (; yyfless(_dl, 20); _dl++) {
{
_jL(_3l, 2, _vX, _3l._rX[_Tn(_dl, _3l._rX)][~~0], _3l._rX[_Tn(_dl, _3l._rX)][~~1], 2, 2, _3l._9C, 16777215, _1T);
_1T = yyftime(_1T, 0.9);
}
}
}
}
_jL(_3l, 1, _vX, _3l.x, yyfminus(_sl(_3l.y), _sl(_3l._8C)), 2, 2, _3l._9C, 16777215, 1);
}
}
}
function _3e(_3l, _4l) {
if (yyGetBool(_0m(_3l, _4l, 48)._3C) && yyGetBool(_k6(_3l, _4l))) {
{
_B7(_3l, _4l);
}
}
}
function _4e(_3l, _4l) {
_DS(_3l, _4l);
} // /// @description Insert description here
function _5e(_3l, _4l) {}
function _6e(_3l, _4l) {
_DS(_3l, _4l);
_3l._BX = 0 ? 1 : 0;
_3l._CX = 0 ? 1 : 0;
_3l._DX = _EX(50, 0);
_3l._FX = _EX(50, 0);
_3l._GX = _EX(50, 0);
_3l._hD = 0;
_3l._iD = 0;
_3l._jJ = 0;
_3l._kJ = 0;
_3l._HX = 10;
_3l._IX = 0;
_3l._KT = 2;
if (yyGetBool(_0m(_3l, _4l, global._SA)._HA) && yyGetBool(_0m(_3l, _4l, _0m(_3l, _4l, global._SA)._HA)._Bl)) {
{
_3l._HX = yyfplus(10, _sl(_il(_0m(_3l, _4l, _0m(_3l, _4l, global._SA)._HA)._Bl, "skill")));
_3l._IX = yyftime(_sl(_sl(-_sl(_il(_0m(_3l, _4l, _0m(_3l, _4l, global._SA)._HA)._Bl, "skill")))), 0.15);
}
}
_SF(_3l._TF);
}
function _7e(_3l, _4l) {
var _bD = global._SA;
_3l._kr(_0m(_3l, _4l, _bD).x);
_3l._Us(_0m(_3l, _4l, _bD).y);
_3l._BX = 0 ? 1 : 0;
_3l._CX = 0 ? 1 : 0;
{
var _JX = _8l(_bD);
for (var _KX in _JX) {
if (!_JX.hasOwnProperty(_KX)) continue;
var _LX = _JX[_KX];
if (_LX._bl) continue;
if (!_LX._cl) continue;
{
if (yyGetBool(_DA(_LX._HA)) && yyGetBool(yyfequal(_0m(_3l, _4l, _LX._HA)._jB, 1))) {
{
_3l._kr(_0m(_3l, _4l, _LX._HA).x);
_3l._Us(_0m(_3l, _4l, _LX._HA).y);
if (yyfequal(_LX._WA, 2)) {
{
if (yyGetBool(yyfgreaterequal(_LX._kB, 20)) || yyGetBool(_0m(_3l, _4l, 48)._3C)) {
_3l._BX = 1 ? 1 : 0;
}
}
}
}
} else {
{
if (yyGetBool(yyfequal(_LX._WA, 3)) && yyGetBool(!yyGetBool(_0m(_3l, _4l, 48)._3C))) {
_3l._CX = 1 ? 1 : 0;
}
}
}
}
}
}
_3l._8C = _0m(_3l, _4l, _bD)._8C;
_3l._uB = _0m(_3l, _4l, _bD)._uB;
_3l._vB = _0m(_3l, _4l, _bD)._vB;
_3l._xB = _0m(_3l, _4l, _bD)._xB;
var _MX = 0;
var _oQ = 0;
_3l._hD = 0;
_3l._iD = 0;
_3l._jJ = 0;
_3l._kJ = 0;
while (yyfgreater(_3l._8C, 0)) {
{
_n6(_3l, _4l, 1);
_MX++;
if (yyGetBool(yyfgreater(_MX, _3l._KT)) && yyGetBool(yyfless(_oQ, _3l._HX)) && yyGetBool(yyfgreater(_3l._xB, _3l._IX))) {
{
_MX = 0;
_3l._DX = _vp(_3l._DX, 3053169775);
_3l._DX[_wp(_oQ)] = _3l.x;
_3l._FX = _vp(_3l._FX, 2900401454);
_3l._FX[_wp(_oQ)] = _3l.y;
_3l._GX = _vp(_3l._GX, 2278412013);
_3l._GX[_wp(_oQ)] = _3l._8C;
_oQ++;
}
}
if (yyGetBool(yyfless(_3l._xB, 0)) && yyGetBool(yyfequal(_3l._jJ, 0)) && yyGetBool(yyfgreater(_3l._8C, 54)) && yyGetBool(yyfless(_3l._8C, 60))) {
{
_3l._jJ = _3l.x;
_3l._kJ = _3l.y;
}
}
if (yyGetBool(yyfless(_3l._xB, 0)) && yyGetBool(yyfequal(_3l._hD, 0)) && yyGetBool(yyfless(_3l._8C, 12))) {
{
_3l._hD = _3l.x;
_3l._iD = _3l.y;
}
}
}
}
_3l._NX = _oQ;
for (; yyfless(_3l._NX, _3l._HX); _3l._NX++) {
{
_3l._DX = _vp(_3l._DX, 3053169775);
_3l._DX[_wp(_3l._NX)] = 0;
_3l._FX = _vp(_3l._FX, 2900401454);
_3l._FX[_wp(_3l._NX)] = 0;
_3l._GX = _vp(_3l._GX, 2278412013);
_3l._GX[_wp(_3l._NX)] = 0;
}
}
}
function _8e(_3l, _4l) {
if (yyGetBool(_0m(_3l, _4l, 48)._3C) && yyGetBool(_3l._BX)) {
{
{
var _OX = _8l(global._SA);
for (var _PX in _OX) {
if (!_OX.hasOwnProperty(_PX)) continue;
var _QX = _OX[_PX];
if (_QX._bl) continue;
if (!_QX._cl) continue;
{
var _zS = _QX._uB;
var _ju = yyfplus(180, _sl(yyftime(5, _sl(_0m(_3l, _4l, _QX._HA)._IA))));
var _ZL = _0m(_3l, _4l, _QX._HA).x;
var _gL = _0m(_3l, _4l, _QX._HA).y;
{
var _RX = _8l(50);
for (var _SX in _RX) {
if (!_RX.hasOwnProperty(_SX)) continue;
var _TX = _RX[_SX];
if (_TX._bl) continue;
if (!_TX._cl) continue;
{
if (yyfequal(_TX._jB, 11)) {
{
_ZL = _TX.x;
_gL = _TX.y;
}
}
}
}
}
var _UX = yyfplus(_sl(_ZL), _sl(yyftime(_sl(_5C(_zS)), _sl(_ju))));
var _VX = yyfplus(_sl(_gL), _sl(yyftime(_sl(_6C(_zS)), _sl(_ju))));
_bL(16777215);
_0L(0.75);
_zL(_ZL, _gL, _UX, _VX, 3);
if (yyfequal(_0m(_3l, _4l, 48)._NA, 1)) {
_jL(_QX, 39, 0, _UX, _VX, 0.75, 0.75, _sl(-_sl(_zS)), 16777215, 0.75);
} else {
_jL(_QX, 39, 0, yyfplus(_sl(_UX), 1), yyfplus(_sl(_VX), 1.5), 0.75, 0.75, _sl(-_sl(_zS)), 16777215, 0.75);
}
}
}
}
}
} else {
if (yyGetBool(_3l._BX)) {
{
_bL(0);
_3l._gz = 0;
for (; yyfless(_3l._gz, _3l._HX); _3l._gz++) {
{
_0L(0.5);
_xU(_3l._DX[_Tn(_3l._gz, _3l._DX)], _3l._FX[_Tn(_3l._gz, _3l._FX)], yyfplus(_sl(_3l._DX[_Tn(_3l._gz, _3l._DX)]), 2), yyfplus(_sl(_3l._FX[_Tn(_3l._gz, _3l._FX)]), 2), 0);
}
}
}
} else {
if (yyGetBool(_3l._CX)) {
{
_jL(_3l, 40, 0, _3l._hD, _3l._iD, 2, 2, 0, 65535, 1);
}
}
}
}
_bL(16777215);
_0L(1);
}
function _ae(_3l, _4l) {
if (yyGetBool(_0m(_3l, _4l, 48)._3C)) {
return;
}
_bL(16777215);
if (yyGetBool(_3l._BX)) {
{
_3l._gz = 0;
for (; yyfless(_3l._gz, _3l._HX); _3l._gz++) {
{
_0L(1);
var _VW = yyfminus(_sl(_3l._FX[_Tn(_3l._gz, _3l._FX)]), _sl(_3l._GX[_Tn(_3l._gz, _3l._GX)]));
_jL(_3l, 43, 0, _3l._DX[_Tn(_3l._gz, _3l._DX)], _VW, 2, 2, 0, 16777215, 1);
}
}
}
}
}
function _be(_3l, _4l) {
_DS(_3l, _4l);
}
function _ce(_3l, _4l) {
_lp(_3l);
}
function _de(_3l, _4l) {
if (yyfequal(_3l._mm, "")) {
return;
}
var _Lw = 20;
_YK(1);
_ZK(1);
__K(1);
var _uw = _Qq();
var _PM = _Rq();
var _1L = yyftime(_sl(_uw), 0.5);
var _1r = yyftime(_sl(_PM), 0.5);
{
var _WX = _8l(48);
for (var _XX in _WX) {
if (!_WX.hasOwnProperty(_XX)) continue;
var _YX = _WX[_XX];
if (_YX._bl) continue;
if (!_YX._cl) continue;
if (yyfequal(_YX._WA, 2)) {
_1r = yyftime(_sl(_PM), 0.75);
}
}
}
var _vu = yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 80))), 1)), 2);
if (!yyGetBool(_3l._fo)) {
_vu = 1;
}
_0L(_3l.__z);
_4L(0, yyfminus(_sl(_1r), _sl(_Lw)), _uw, yyfplus(_sl(_1r), _sl(_Lw)), 0, 0, 0, 0, 0);
_0L(1);
var _3W = 1;
if (yyGetBool(_DA(48))) {
_3W = 1.5;
}
_ZX(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _3l._mm, _3W, _3W, 0, 0, 0, 0, 0, yyftime(_sl(_vu), 0.5));
_ZX(_1L, _1r, _3l._mm, _3W, _3W, 0, _3l._RK, _3l._RK, _3l._RK, _3l._RK, _vu);
}
function _ee(_3l, _4l) {
_DS(_3l, _4l);
_3l._mm = "Message";
_3l._fo = 0 ? 1 : 0;
_3l._RK = 0;
_3l.__z = 1;
}
function _fe(_3l, _4l) {
_3l._Us(_3l.y - 0.2);
_3l._0r = yyfminus(_3l._0r, 0.025);
if (yyflessequal(_3l._0r, 0)) {
_lp(_3l);
}
}
function _ge(_3l, _4l) {
_YK(0);
_ZK(1);
__K(1);
_ZX(_3l.x, _3l.y, _3l._mm, 2, 2, 0, _3l._am, _3l._am, _3l._am, _3l._am, _3l._0r);
}
function _he(_3l, _4l) {
_DS(_3l, _4l);
_3l._mm = "Text";
_3l._0r = 2;
_3l._am = new Long(4278190080, 0, false);
}
function _ie(_3l, _4l) {
_3l._TF = _LW(_MW("Shadows"), _3l.x, _3l.y, 9);
_NW(_3l._TF, 0);
_OW(_3l._TF, 0.2);
_PW(_3l._TF, 0);
_QW(_3l._TF, 2);
_RW(_3l._TF, 2);
_3l._Oy(2);
_3l._Py(2);
if (yyfgreater(_3l.x, 1300)) {
{
_3l._Oy(-2);
_QW(_3l._TF, -2);
}
}
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 28)) {
_3l._XB(1);
}
}
function _je(_3l, _4l) {
_8X(_3l._TF, _3l.x);
_9X(_3l._TF, _3l.y);
_3l._ir(yyftime(_sl(_sl(-_sl(_3l.y))), 10));
}
function _ke(_3l, _4l) {
_DS(_3l, _4l);
}
function _le(_3l, _4l) {
_3l._Oy(2);
_3l._Py(2);
if (yyfgreater(_3l.x, 1300)) {
{
_3l._Oy(-2);
}
}
}
function _me(_3l, _4l) {
_3l._ir(yyftime(_sl(_sl(-_sl(_3l.y))), 10));
}
function _ne(_3l, _4l) {
_DS(_3l, _4l);
}
function _oe(_3l, _4l) {
if (yyfless(_rn._up(), _3l.__X)) {
return;
}
if (yyGetBool(abs(_3l._jM))) {
{
_3l._kr(_3l.x + _3l._oM);
if (yyGetBool(yyfgreater(_3l.x, yyfplus(_sl(_3l._mM), _sl(_3l._jM)))) || yyGetBool(yyfless(_3l.x, yyfminus(_sl(_3l._mM), _sl(_3l._jM))))) {
{
_3l._oM = _sl(-_sl(_3l._oM));
_3l.__X = yyfplus(_sl(_rn._up()), _sl(_3l._pM));
}
}
}
}
if (yyGetBool(abs(_3l._kM))) {
{
_3l._Us(_3l.y + _3l._oM);
if (yyGetBool(yyfgreater(_3l.y, yyfplus(_sl(_3l._nM), _sl(_3l._kM)))) || yyGetBool(yyfless(_3l.y, yyfminus(_sl(_3l._nM), _sl(_3l._kM))))) {
{
if (yyGetBool(_3l._9D)) {
_3l._oM = 0;
}
_3l._oM = _sl(-_sl(_3l._oM));
_3l.__X = yyfplus(_sl(_rn._up()), _sl(_3l._pM));
}
}
}
}
_3l._ir(yyftime(_sl(_sl(-_sl(_3l.y))), 10));
}
function _pe(_3l, _4l) {
_jL(_3l, 5, 1, _3l.x, _3l.y, 2, 2, 0, 16777215, 1);
}
function _qe(_3l, _4l) {
var _lL = 32768;
var _uw = 5;
var _Es = _3l._jM;
var _Fs = _3l._kM;
_0L(0.5);
if (yyGetBool(_Es)) {
_6L(yyfminus(_sl(_3l.x), _sl(_Es)), yyfminus(_sl(_3l._nM), _sl(_uw)), yyfplus(_sl(_3l.x), _sl(_Es)), yyfplus(_sl(_3l._nM), _sl(_uw)), _lL, _lL, _lL, _lL, 0);
} else {
if (yyGetBool(_Fs)) {
_6L(yyfminus(_sl(_3l.x), _sl(_uw)), yyfminus(_sl(_3l._nM), _sl(_Fs)), yyfplus(_sl(_3l.x), _sl(_uw)), yyfplus(_sl(_3l._nM), _sl(_Fs)), _lL, _lL, _lL, _lL, 0);
}
}
_0L(1);
if (yyfequal(_0m(_3l, _4l, 42)._Bo, 3)) {
{
if (yyfgreater(sin(yyfdivide(_sl(_rn._up()), 200)), 0.1)) {
_jL(_3l, 45, 0, _3l.x, yyfminus(_sl(_3l.y), 32), 2, 2, 0, 65280, 1);
}
}
}
}
function _re(_3l, _4l) {
_DS(_3l, _4l);
_3l._mM = 0;
_3l._nM = 0;
_3l._oM = 0;
_3l._jM = 0;
_3l._kM = 0;
_3l._pM = 0;
_3l.__X = 0;
_3l._9D = 0 ? 1 : 0;
}
function _se(_3l, _4l) {
if (yyfless(_vD(_3l, _4l.id), 10)) {
{
_3l._9D = 1 ? 1 : 0;
if (yyfnotequal(_4l._lC, 4)) {
_Y6(_4l, _3l, 4);
}
}
}
}
function _te(_3l, _4l) {
var _0Y = _3l._rM;
var _1Y = -1;
if (yyCompareVal(_0Y, 0, g_GMLMathEpsilon) == 0) {
_1Y = 0;
} else if (yyCompareVal(_0Y, 1, g_GMLMathEpsilon) == 0) {
_1Y = 1;
} else if (yyCompareVal(_0Y, 2, g_GMLMathEpsilon) == 0) {
_1Y = 2;
} else if (yyCompareVal(_0Y, 3, g_GMLMathEpsilon) == 0) {
_1Y = 3;
}
switch (_1Y) {
case 0: {
{
var _2Y = _8l(49);
for (var _3Y in _2Y) {
if (!_2Y.hasOwnProperty(_3Y)) continue;
var _4Y = _2Y[_3Y];
if (_4Y._bl) continue;
if (!_4Y._cl) continue;
if (yyfless(_4Y.x, _3l.x)) {
{
_4Y._kr(_3l.x);
_4Y._0H(0);
}
}
}
}
break;
}
case 1: {
{
var _5Y = _8l(49);
for (var _6Y in _5Y) {
if (!_5Y.hasOwnProperty(_6Y)) continue;
var _7Y = _5Y[_6Y];
if (_7Y._bl) continue;
if (!_7Y._cl) continue;
if (yyfgreater(_7Y.x, _3l.x)) {
{
_7Y._kr(_3l.x);
_7Y._0H(0);
}
}
}
}
break;
}
case 2: {
{
var _8Y = _8l(49);
for (var _9Y in _8Y) {
if (!_8Y.hasOwnProperty(_9Y)) continue;
var _aY = _8Y[_9Y];
if (_aY._bl) continue;
if (!_aY._cl) continue;
if (yyfless(_aY.y, _3l.y)) {
{
_aY._Us(_3l.y);
_aY._1H(0);
}
}
}
}
break;
}
case 3: {
{
var _bY = _8l(49);
for (var _cY in _bY) {
if (!_bY.hasOwnProperty(_cY)) continue;
var _dY = _bY[_cY];
if (_dY._bl) continue;
if (!_dY._cl) continue;
if (yyfgreater(_dY.y, _3l.y)) {
{
_dY._Us(_3l.y);
_dY._1H(0);
}
}
}
}
break;
}
}
}
function _ue(_3l, _4l) {
var _DF = _3l.x;
var _Gy = _3l.y;
var _eY = 0 ? 1 : 0;
var _fY = _3l._rM;
var _gY = -1;
if (yyCompareVal(_fY, 0, g_GMLMathEpsilon) == 0) {
_gY = 0;
} else if (yyCompareVal(_fY, 1, g_GMLMathEpsilon) == 0) {
_gY = 1;
} else if (yyCompareVal(_fY, 2, g_GMLMathEpsilon) == 0) {
_gY = 2;
} else if (yyCompareVal(_fY, 3, g_GMLMathEpsilon) == 0) {
_gY = 3;
}
switch (_gY) {
case 0: {
_DF = yyfminus(_DF, 2);
break;
}
case 1: {
_DF = yyfplus(_DF, 2);
break;
}
case 2: {
_Gy = yyfminus(_Gy, 2);
break;
}
case 3: {
_Gy = yyfplus(_Gy, 2);
break;
}
}
do {
{
_jL(_3l, 6, 0, _DF, _Gy, 2, 2, 0, 16777215, 1);
var _hY = _3l._rM;
var _iY = -1;
if (yyCompareVal(_hY, 0, g_GMLMathEpsilon) == 0 || yyCompareVal(_hY, 1, g_GMLMathEpsilon) == 0) {
_iY = 0;
} else if (yyCompareVal(_hY, 2, g_GMLMathEpsilon) == 0 || yyCompareVal(_hY, 3, g_GMLMathEpsilon) == 0) {
_iY = 1;
}
switch (_iY) {
case 0: {
_Gy = yyfplus(_Gy, _3l._KT);
_eY = yyfgreater(_Gy, yyfplus(_sl(_3l.y), _sl(_3l._sM))) ? 1 : 0;
break;
}
case 1: {
_DF = yyfplus(_DF, _3l._KT);
_eY = yyfgreater(_DF, yyfplus(_sl(_3l.x), _sl(_3l._sM))) ? 1 : 0;
break;
}
}
}
} while (!yyGetBool(_eY));
}
function _ve(_3l, _4l) {
_DS(_3l, _4l);
_3l._rM = 0;
_3l._sM = 0;
_3l._KT = 60;
}
function _we(_3l, _4l) {
_3l._fC = 0;
_3l._gC = _Sm(9);
_3l._hC = _Sm(7);
_3l._jY = 1;
_3l._kY = 3;
var _lY = _0m(_3l, _4l, 48)._Cm[_Tn(1, _0m(_3l, _4l, 48)._Cm)];
_3l._Sw = 0;
if (yyfequal(_0m(_3l, _4l, 42)._sm, 1)) {
{
}
} else {
if (yyfless(_0m(_3l, _4l, 42)._Nl, 12)) {
{
if (yyfless(_Sm(200), _ml(_il(_lY, "rainfall")))) {
_3l._Sw = 1;
}
}
} else {
if (yyflessequal(_0m(_3l, _4l, 42)._Nl, 18)) {
{
if (yyfless(_Sm(200), _ml(_il(_lY, "rainfall")))) {
{
_3l._Sw = 1;
}
} else {
if (yyfless(yyfplus(1, _sl(_Sm(150))), _ml(_il(_lY, "snowfall")))) {
{
_3l._Sw = 2;
_3l._gC = 0;
}
}
}
}
} else {
{
if (yyfless(yyfplus(1, _sl(_Sm(100))), _il(_lY, "snowfall"))) {
{
_3l._Sw = 2;
_3l._gC = 0;
}
} else {
if (yyfless(_Sm(200), _il(_lY, "rainfall"))) {
{
_3l._Sw = 1;
}
}
}
}
}
}
}
if (yyGetBool(yyfequal(_3l._Sw, 0)) || yyGetBool(!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "op_weather"))) || yyGetBool(_0m(_3l, _4l, 42)._Bo)) {
{
_lp(_3l);
return;
}
}
var _mY = _ml(_il(_lY, "roof"));
var _nY = -1;
if (yyCompareVal(_mY, 0, g_GMLMathEpsilon) == 0) {
_nY = 0;
} else if (yyCompareVal(_mY, 1, g_GMLMathEpsilon) == 0) {
_nY = 1;
} else if (yyCompareVal(_mY, 2, g_GMLMathEpsilon) == 0) {
_nY = 2;
}
switch (_nY) {
case 0: {
break;
}
case 1: {
if (yyGetBool(yyfequal(_3l._Sw, 2)) || yyGetBool(yyfgreater(_3l._gC, 5))) {
{
_lp(_3l);
return;
}
}
break;
}
case 2: {
_lp(_3l);
return;
break;
}
}
}
function _xe(_3l, _4l) {
var _oY = _3l._Sw;
var _pY = -1;
if (yyCompareVal(_oY, 1, g_GMLMathEpsilon) == 0) {
_pY = 0;
} else if (yyCompareVal(_oY, 2, g_GMLMathEpsilon) == 0) {
_pY = 1;
}
switch (_pY) {
case 0: {
for (var _qY = 0, _rY = yyGetInt32(_3l._jY); _qY < _rY; _qY++) {
{
_Oq(_Sm(_rn._Ps), 0, "Weather", 61);
}
}
break;
}
case 1: {
var _vU = _xK(_rn._vK[_Tn(0, _rn._vK)]);
var _5G = _IK(_rn._vK[_Tn(0, _rn._vK)]);
var _ZL = yyfplus(_sl(_5G), _sl(_Sm(_vU)));
if (!yyGetBool(_Sm(2))) {
_Oq(_ZL, 0, "Weather", 62);
}
break;
}
}
}
function _ye(_3l, _4l) {}
function _ze(_3l, _4l) {
_DS(_3l, _4l);
_3l._Sw = 0;
_3l._fC = 0;
_3l._gC = 0;
_3l._hC = 0;
_3l._jY = 0;
_3l._kY = 0;
}
function _Ae(_3l, _4l) {
var _sY = _0m(_3l, _4l, 60)._kY;
var _uw = _0m(_3l, _4l, 60)._gC;
var _tY = _0m(_3l, _4l, 60)._hC;
var _uY = _tY;
var _vY = -1;
if (yyCompareVal(_uY, 0, g_GMLMathEpsilon) == 0) {
_vY = 0;
} else if (yyCompareVal(_uY, 1, g_GMLMathEpsilon) == 0) {
_vY = 1;
} else if (yyCompareVal(_uY, 2, g_GMLMathEpsilon) == 0) {
_vY = 2;
} else if (yyCompareVal(_uY, 3, g_GMLMathEpsilon) == 0) {
_vY = 3;
} else if (yyCompareVal(_uY, 4, g_GMLMathEpsilon) == 0) {
_vY = 4;
} else if (yyCompareVal(_uY, 5, g_GMLMathEpsilon) == 0) {
_vY = 5;
} else if (yyCompareVal(_uY, 6, g_GMLMathEpsilon) == 0) {
_vY = 6;
} else if (yyCompareVal(_uY, 7, g_GMLMathEpsilon) == 0) {
_vY = 7;
}
switch (_vY) {
case 0: {
_3l._0H(yyftime(_sl(_uw), 0.1));
break;
}
case 1: {
_3l._0H(yyftime(_sl(_uw), 0.05));
break;
}
case 2: {
_3l._0H(0);
break;
}
case 3: {
_3l._0H(yyftime(_sl(_uw), -0.05));
break;
}
case 4: {
_3l._0H(yyftime(_sl(_uw), -0.1));
break;
}
case 5: {
_3l._0H(yyftime(_sl(_uw), -0.05));
break;
}
case 6: {
_3l._0H(0);
break;
}
case 7: {
_3l._0H(yyftime(_sl(_uw), 0.05));
break;
}
}
_3l._0H(0);
_3l._wY = 0 ? 1 : 0;
_3l._vX = 1;
var _GA = _YB(0.1, 1);
_3l._1H(yyftime(_sl(_sY), _sl(yyfplus(_sl(_GA), 0.5))));
_3l._xY = yyfplus(66, _sl(yyftime(468, _sl(_GA))));
if (yyfgreater(_3l._xY, 150)) {
_3l._vX = 2;
}
_3l._yY = yyfminus(_sl(_3l.y), 25);
_3l._zY = yyfplus(_sl(_3l.y), 50);
_3l._AY = yyfminus(_sl(_3l.x), 250);
_3l._BY = yyfplus(_sl(_3l.x), 250);
_3l._CY = yyfminus(_sl(_3l.x), 500);
_3l._DY = yyfplus(_sl(_3l.x), 500);
_3l._Oy(2);
_3l._Py(2);
}
function _Be(_3l, _4l) {
var _EY = _3l._wY;
var _FY = -1;
if (yyCompareVal(_EY, 0, g_GMLMathEpsilon) == 0) {
_FY = 0;
} else if (yyCompareVal(_EY, 1, g_GMLMathEpsilon) == 0) {
_FY = 1;
}
switch (_FY) {
case 0: {
if (yyfgreater(_3l.y, _3l._xY)) {
{
_3l._wY = 1 ? 1 : 0;
_3l._1H(0);
_3l._0H(0);
_3l._Vw(11);
_3l._XB(0);
_3l._SG = 4;
}
} else {
{
_3l._yY = yyfminus(_sl(_3l.y), 25);
_3l._zY = yyfplus(_sl(_3l.y), 50);
_3l._AY = yyfminus(_sl(_3l.x), 250);
_3l._BY = yyfplus(_sl(_3l.x), 250);
_3l._CY = yyfminus(_sl(_3l.x), 500);
_3l._DY = yyfplus(_sl(_3l.x), 500);
}
}
break;
}
case 1: {
if (yyfgreater(_3l._oC, yyfminus(_sl(_3l._cX()), 1))) {
_lp(_3l);
}
break;
}
}
}
function _Ce(_3l, _4l) {
if (!yyGetBool(_3l._wY)) {
{
_hL(_3l, _3l._wC, _3l._vX, _3l.x, _3l.y);
_hL(_3l, _3l._wC, _3l._vX, _3l._AY, _3l._yY);
_hL(_3l, _3l._wC, _3l._vX, _3l._BY, _3l._yY);
_hL(_3l, _3l._wC, _3l._vX, _3l._CY, _3l._zY);
_hL(_3l, _3l._wC, _3l._vX, _3l._DY, _3l._zY);
}
} else {
{
_hL(_3l, _3l._wC, _3l._oC, _3l.x, _3l.y);
_hL(_3l, _3l._wC, _3l._oC, _3l._AY, _3l._yY);
_hL(_3l, _3l._wC, _3l._oC, _3l._BY, _3l._yY);
_hL(_3l, _3l._wC, _3l._oC, _3l._CY, _3l._zY);
_hL(_3l, _3l._wC, _3l._oC, _3l._DY, _3l._zY);
}
}
}
function _De(_3l, _4l) {
_DS(_3l, _4l);
}
function _Ee(_3l, _4l) {
_3l._XI(_YB(1, 2));
_3l._GY(-90);
_3l._HY = 0;
_3l._xY = _Sm(_rn._Rs);
_3l._3W = _YB(1, 2);
_3l._5V = _YB(0.5, 0.9);
_3l._yY = yyfminus(_sl(_3l.y), 25);
_3l._zY = yyfplus(_sl(_3l.y), 50);
_3l._AY = yyfminus(_sl(_3l.x), 250);
_3l._BY = yyfplus(_sl(_3l.x), 250);
_3l._CY = yyfminus(_sl(_3l.x), 500);
_3l._DY = yyfplus(_sl(_3l.x), 500);
}
function _Fe(_3l, _4l) {
if (yyfgreater(_3l.y, _3l._xY)) {
{
_3l._5V = yyfminus(_3l._5V, 0.01);
_3l._XI(0);
if (yyfless(_3l._5V, 0)) {
_lp(_3l);
}
}
} else {
{
_3l._HY = yyfplus(_3l._HY, 5);
_3l._GY(yyfminus(-90, _sl(yyftime(10, _sl(yyfplus(0.5, _sl(_5C(_3l._HY))))))));
_3l._yY = yyfminus(_sl(_3l.y), 25);
_3l._zY = yyfplus(_sl(_3l.y), 50);
_3l._AY = yyfminus(_sl(_3l.x), 250);
_3l._BY = yyfplus(_sl(_3l.x), 250);
_3l._CY = yyfminus(_sl(_3l.x), 500);
_3l._DY = yyfplus(_sl(_3l.x), 500);
}
}
}
function _Ge(_3l, _4l) {
_jL(_3l, _3l._wC, _3l._oC, _3l.x, _3l.y, _3l._3W, _3l._3W, 0, 16777215, _3l._5V);
_jL(_3l, _3l._wC, _3l._oC, _3l._AY, _3l._yY, yyftime(_sl(_3l._3W), 0.5), yyftime(_sl(_3l._3W), 0.5), 0, 16777215, _3l._5V);
_jL(_3l, _3l._wC, _3l._oC, _3l._BY, _3l._yY, yyftime(_sl(_3l._3W), 0.75), yyftime(_sl(_3l._3W), 0.75), 0, 16777215, _3l._5V);
_jL(_3l, _3l._wC, _3l._oC, _3l._CY, _3l._zY, yyftime(_sl(_3l._3W), 0.5), yyftime(_sl(_3l._3W), 0.5), 0, 16777215, _3l._5V);
_jL(_3l, _3l._wC, _3l._oC, _3l._DY, _3l._zY, yyftime(_sl(_3l._3W), 0.75), yyftime(_sl(_3l._3W), 0.75), 0, 16777215, _3l._5V);
}
function _He(_3l, _4l) {}
function _Ie(_3l, _4l) {
_DS(_3l, _4l);
}
function _Je(_3l, _4l) {
_0m(_3l, _4l, 100016)._mm = _l9(_3l, _4l, _0m(_3l, _4l, 42)._Em);
_0m(_3l, _4l, 100006)._mm = _0m(_3l, _4l, 42)._lm;
_0m(_3l, _4l, 100007)._mm = _0m(_3l, _4l, 42)._nm;
if (yyGetBool(_0m(_3l, _4l, 42)._jV)) {
{
_0m(_3l, _4l, 42)._jV = 0 ? 1 : 0;
_T7(_3l, _4l, "", _Q8(_3l, _4l, "msg_Welcome"), _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
}
}
function _Ke(_3l, _4l) {
_DS(_3l, _4l);
_3l._rm = 0;
}
function _Le(_3l, _4l) {
_A9(_3l, _4l, yyfplus("obj_choose_team.create:", _sl(_ul(_3l._rm))));
var _DF = 8;
var _Gy = 72;
if (yyGetBool(yyfequal(_0m(_3l, _4l, 42)._sm, 1)) && yyGetBool(yyfequal(_0m(_3l, _4l, 42)._Nl, 1))) {
{
var _gz = 0;
for (; yyfless(_gz, 16); _gz++) {
{
_3l._Eq = _vp(_3l._Eq, 3071543500);
_3l._Eq[_wp(_gz)] = _Oq(_DF, _Gy, "Instances", 7);
_0m(_3l, _4l, _3l._Eq[_Tn(_gz, _3l._Eq)])._4r = 22;
_0m(_3l, _4l, _3l._Eq[_Tn(_gz, _3l._Eq)])._Vw(76);
_DF = yyfplus(_DF, 120);
if (yyfgreater(_DF, 368)) {
{
_DF = 8;
_Gy = yyfplus(_Gy, 40);
}
}
}
}
_Y5(_3l, _4l);
_0m(_3l, _4l, 100017)._mm = _Q8(_3l, _4l, "ui_FavouriteTeam");
_0m(_3l, _4l, 100020)._4a = 0 ? 1 : 0;
}
} else {
{
_0m(_3l, _4l, 100017)._mm = _Q8(_3l, _4l, "ui_JobOffers");
var _gz = 0;
for (; yyfless(_gz, 16); _gz++) {
{
_3l._Eq = _vp(_3l._Eq, 3071543500);
_3l._Eq[_wp(_gz)] = _Oq(_DF, _Gy, "Instances", 7);
_0m(_3l, _4l, _3l._Eq[_Tn(_gz, _3l._Eq)])._4r = 23;
_0m(_3l, _4l, _3l._Eq[_Tn(_gz, _3l._Eq)])._Vw(76);
_DF = yyfplus(_DF, 120);
if (yyfgreater(_DF, 368)) {
{
_DF = 8;
_Gy = yyfplus(_Gy, 40);
}
}
}
}
_Z5(_3l, _4l);
var _IY = _d6(_3l, _4l);
var _Ol = _Q8(_3l, _4l, "msg_JobOffers_1");
if (yyGetBool(yyfgreater(_0m(_3l, _4l, 42)._sm, 3)) || yyGetBool(yyfgreater(_IY, 5))) {
{
_Ol = _Q8(_3l, _4l, "msg_JobOffers_2");
if (yyfgreater(_IY, 10)) {
_Ol = _Q8(_3l, _4l, "msg_JobOffers_3");
}
if (yyGetBool(yyfgreater(_IY, 20)) && yyGetBool(yyfgreater(_0m(_3l, _4l, 42)._sm, 5))) {
_Ol = _Q8(_3l, _4l, "msg_JobOffers_4");
}
}
}
_T7(_3l, _4l, "", _Ol, _Q8(_3l, _4l, "ui_Continue"), "", 332, "", global._Ll, 1);
}
}
}
function _Me(_3l, _4l) {
_DS(_3l, _4l);
_3l._rm = 0;
}
function _Ne(_3l, _4l) {
if (yyGetBool(_0m(_3l, _4l, 42)._cq)) {
{
_0m(_3l, _4l, 100137)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, 100136)._6r = 0 ? 1 : 0;
}
}
_0m(_3l, _4l, 100118)._mm = "";
_0m(_3l, _4l, 100119)._mm = "";
_0m(_3l, _4l, 100120)._mm = "";
if (yyfless(_0m(_3l, _4l, 42)._Kl, 10)) {
_0m(_3l, _4l, 100118)._mm = _ul(yyfplus(_sl(_0m(_3l, _4l, 42)._Kl), 1));
} else {
_0m(_3l, _4l, 100118)._6r = 0 ? 1 : 0;
}
if (yyfless(_0m(_3l, _4l, 42)._Tl, 10)) {
_0m(_3l, _4l, 100119)._mm = _ul(yyfplus(_sl(_0m(_3l, _4l, 42)._Tl), 1));
} else {
_0m(_3l, _4l, 100119)._6r = 0 ? 1 : 0;
}
if (yyfless(_0m(_3l, _4l, 42)._Yl, 10)) {
_0m(_3l, _4l, 100120)._mm = _ul(yyfplus(_sl(_0m(_3l, _4l, 42)._Yl), 1));
} else {
_0m(_3l, _4l, 100120)._6r = 0 ? 1 : 0;
}
_0m(_3l, _4l, 100129)._Bl = _H8(_3l, _4l, 101);
_0m(_3l, _4l, 100128)._Bl = _H8(_3l, _4l, 102);
{
var _JY = _8l(100129);
for (var _KY in _JY) {
if (!_JY.hasOwnProperty(_KY)) continue;
var _LY = _JY[_KY];
if (_LY._bl) continue;
if (!_LY._cl) continue;
_s9(_LY, _3l, _0m(_3l, _4l, 42)._Dm);
}
}
{
var _MY = _8l(100128);
for (var _NY in _MY) {
if (!_MY.hasOwnProperty(_NY)) continue;
var _OY = _MY[_NY];
if (_OY._bl) continue;
if (!_OY._cl) continue;
_s9(_OY, _3l, _0m(_3l, _4l, 42)._Dm);
}
}
var _PY = "";
{
var _QY = _8l(42);
for (var _RY in _QY) {
if (!_QY.hasOwnProperty(_RY)) continue;
var _SY = _QY[_RY];
if (_SY._bl) continue;
if (!_SY._cl) continue;
{
_PY = yyfplus(_PY, yyfplus(_sl(_ul(_SY._Sn[_Tn(0, _SY._Sn)])), " - "));
_PY = yyfplus(_PY, yyfplus(_sl(_ul(_SY._Sn[_Tn(1, _SY._Sn)])), " - "));
_PY = yyfplus(_PY, _ul(_SY._Sn[_Tn(2, _SY._Sn)]));
}
}
}
_0m(_3l, _4l, 100132)._mm = _PY;
_b6(_3l, _4l);
}
function _Oe(_3l, _4l) {
_DS(_3l, _4l);
}
function _Pe(_3l, _4l) {
_YK(0);
_ZK(0);
__K(1);
_K4(_3l, _4l, 0);
{
var _TY = _8l(42);
for (var _UY in _TY) {
if (!_TY.hasOwnProperty(_UY)) continue;
var _VY = _TY[_UY];
if (_VY._bl) continue;
if (!_VY._cl) continue;
{
var _Bl = _hl(_VY._Cn, 0);
_0m(_3l, _4l, 100097)._Bl = _Bl;
if (yyGetBool(_Xn(_Bl, "creditcost"))) {
_0m(_3l, _4l, 100091)._mm = _ul(_il(_Bl, "creditcost"));
}
_Bl = _hl(_VY._Cn, 1);
_0m(_3l, _4l, 100098)._Bl = _Bl;
if (yyGetBool(_Xn(_Bl, "creditcost"))) {
_0m(_3l, _4l, 100092)._mm = _ul(_il(_Bl, "creditcost"));
}
_Bl = _hl(_VY._Cn, 2);
_0m(_3l, _4l, 100099)._Bl = _Bl;
if (yyGetBool(_Xn(_Bl, "creditcost"))) {
_0m(_3l, _4l, 100093)._mm = _ul(_il(_Bl, "creditcost"));
}
_Bl = _hl(_VY._Cn, 3);
_0m(_3l, _4l, 100100)._Bl = _Bl;
if (yyGetBool(_Xn(_Bl, "creditcost"))) {
_0m(_3l, _4l, 100094)._mm = _ul(_il(_Bl, "creditcost"));
}
_Bl = _hl(_VY._Cn, 4);
_0m(_3l, _4l, 100101)._Bl = _Bl;
if (yyGetBool(_Xn(_Bl, "creditcost"))) {
_0m(_3l, _4l, 100095)._mm = _ul(_il(_Bl, "creditcost"));
}
_Bl = _hl(_VY._Cn, 5);
_0m(_3l, _4l, 100102)._Bl = _Bl;
if (yyGetBool(_Xn(_Bl, "creditcost"))) {
_0m(_3l, _4l, 100096)._mm = _ul(_il(_Bl, "creditcost"));
}
_Bl = _hl(_VY._Cn, 6);
_0m(_3l, _4l, 100105)._Bl = _Bl;
if (yyGetBool(_Xn(_Bl, "creditcost"))) {
_0m(_3l, _4l, 100104)._mm = _ul(_il(_Bl, "creditcost"));
}
_Bl = _hl(_VY._Cn, 7);
_0m(_3l, _4l, 100107)._Bl = _Bl;
if (yyGetBool(_Xn(_Bl, "creditcost"))) {
_0m(_3l, _4l, 100106)._mm = _ul(_il(_Bl, "creditcost"));
}
_Bl = _hl(_VY._Cn, 8);
_0m(_3l, _4l, 100109)._Bl = _Bl;
if (yyGetBool(_Xn(_Bl, "creditcost"))) {
_0m(_3l, _4l, 100108)._mm = _ul(_il(_Bl, "creditcost"));
}
}
}
}
}
function _Qe(_3l, _4l) {
_DS(_3l, _4l);
}
function _Re(_3l, _4l) {
_YK(0);
_ZK(0);
__K(1);
_0m(_3l, _4l, 100309)._Bl = _H8(_3l, _4l, 102);
{
var _WY = _8l(100309);
for (var _XY in _WY) {
if (!_WY.hasOwnProperty(_XY)) continue;
var _YY = _WY[_XY];
if (_YY._bl) continue;
if (!_YY._cl) continue;
_s9(_YY, _3l, _0m(_3l, _4l, 42)._Dm);
}
}
_0m(_3l, _4l, 100310)._Bl = _H8(_3l, _4l, 101);
{
var _ZY = _8l(100310);
for (var __Y in _ZY) {
if (!_ZY.hasOwnProperty(__Y)) continue;
var _0Z = _ZY[__Y];
if (_0Z._bl) continue;
if (!_0Z._cl) continue;
_s9(_0Z, _3l, _0m(_3l, _4l, 42)._Dm);
}
}
_J4(_3l, _4l, 0);
{
var _1Z = _8l(42);
for (var _2Z in _1Z) {
if (!_1Z.hasOwnProperty(_2Z)) continue;
var _3Z = _1Z[_2Z];
if (_3Z._bl) continue;
if (!_3Z._cl) continue;
{
_0m(_3l, _4l, 100302)._Bl = _hl(_3Z._Wo, 0);
_0m(_3l, _4l, 100303)._Bl = _hl(_3Z._Wo, 1);
_0m(_3l, _4l, 100304)._Bl = _hl(_3Z._Wo, 2);
_0m(_3l, _4l, 100305)._Bl = _hl(_3Z._Wo, 3);
_0m(_3l, _4l, 100311)._Bl = _hl(_3Z._Wo, 4);
_0m(_3l, _4l, 100312)._Bl = _hl(_3Z._Wo, 5);
_0m(_3l, _4l, 100313)._Bl = _hl(_3Z._Wo, 6);
_0m(_3l, _4l, 100314)._Bl = _hl(_3Z._Wo, 7);
}
}
}
}
function _Se(_3l, _4l) {
_DS(_3l, _4l);
}
function _Te(_3l, _4l) {
_A9(_3l, _4l, "------> Create: obj_home");
_0m(_3l, _4l, 42)._Ym = 0 ? 1 : 0;
_0m(_3l, _4l, 100036)._mm = _Q8(_3l, _4l, "ui_Continue");
if (yyGetBool(yyfequal(_0m(_3l, _4l, 42)._Nl, 1)) && yyGetBool(yyfless(_0m(_3l, _4l, 42)._Zn, 4)) && yyGetBool(yyfless(_el(_0m(_3l, _4l, 42)._An), 1))) {
{
_0m(_3l, _4l, 100036)._mm = _Q8(_3l, _4l, "ui_Draft");
}
}
_x5(_3l, _4l, 100039, _0m(_3l, _4l, 42)._Gm, _0m(_3l, _4l, 42)._Hm);
_25(_3l, _4l);
var _4Z = _0m(_3l, _4l, 42)._cq;
var _5Z = -1;
if (yyCompareVal(_4Z, 1, g_GMLMathEpsilon) == 0 || yyCompareVal(_4Z, 2, g_GMLMathEpsilon) == 0) {
_5Z = 0;
} else if (yyCompareVal(_4Z, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_4Z, 4, g_GMLMathEpsilon) == 0 || yyCompareVal(_4Z, 5, g_GMLMathEpsilon) == 0) {
_5Z = 1;
} else if (yyCompareVal(_4Z, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_4Z, 7, g_GMLMathEpsilon) == 0) {
_5Z = 2;
}
switch (_5Z) {
case 0: {
_0m(_3l, _4l, 100042)._fo = 1 ? 1 : 0;
_0m(_3l, _4l, 100040)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, 100036)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, 100048)._6r = 0 ? 1 : 0;
break;
}
case 1: {
_0m(_3l, _4l, 100040)._fo = 1 ? 1 : 0;
_0m(_3l, _4l, 100036)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, 100048)._6r = 0 ? 1 : 0;
break;
}
case 2: {
_0m(_3l, _4l, 100036)._fo = 1 ? 1 : 0;
break;
}
default: {
break;
}
}
__7(_3l, _4l);
if (yyfgreaterequal(_06(_3l, _4l), 100)) {
_J2(_3l, _4l, "ACH_MORALE100");
}
}
function _Ue(_3l, _4l) {
if (!yyGetBool(_il(_0m(_3l, _4l, 42)._1n, "fullversion"))) {
{
var _6Z = yyfminus(5, _sl(_0m(_3l, _4l, 42)._xt));
_0m(_3l, _4l, 100049)._0H(-1.5);
_0m(_3l, _4l, 100049)._mm = _Q8(_3l, _4l, "msg_LimitedVersion");
_0m(_3l, _4l, 100049)._mm = _Pl(_0m(_3l, _4l, 100049)._mm, "$num", _6Z);
if (yyfless(_0m(_3l, _4l, 100049).x, -500)) {
_0m(_3l, _4l, 100049)._kr(yyfplus(_sl(_Qq()), 500));
}
}
} else {
{
_0m(_3l, _4l, 100049)._0H(0);
_0m(_3l, _4l, 100049)._mm = "";
}
}
}
function _Ve(_3l, _4l) {}
function _We(_3l, _4l) {
_DS(_3l, _4l);
}
function _Xe(_3l, _4l) {
__5(_3l, _4l);
_0m(_3l, _4l, 100074)._0H(-1.5);
_YK(0);
_3l._7Z = _3L(_Q8(_3l, _4l, "ui_Credits"));
}
function _Ye(_3l, _4l) {
if (yyfless(_0m(_3l, _4l, 100074).x, _sl(-_sl(_3l._7Z)))) {
_0m(_3l, _4l, 100074)._kr(yyfplus(_sl(_Qq()), _sl(yyftime(_sl(_3l._7Z), 0.5))));
}
}
function _Ze(_3l, _4l) {
_DS(_3l, _4l);
}
function __e(_3l, _4l) {
var _8Z = _0m(_3l, _4l, 42)._1m;
var _9Z = -1;
if (yyCompareVal(_8Z, 5, g_GMLMathEpsilon) == 0) {
_9Z = 0;
}
switch (_9Z) {
case 0: {
_0m(_3l, _4l, 100148)._5r = 87;
_P2(_3l, _4l, 2);
break;
}
default: {
_P2(_3l, _4l, _0m(_3l, _4l, 42)._Gm);
break;
}
}
}
function _0f(_3l, _4l) {
_DS(_3l, _4l);
_3l._aZ = 1 ? 1 : 0;
}
function _1f(_3l, _4l) {
var _bZ = _MW("Instances1");
var _cZ = _MW("Instances2");
_go(_bZ, 0);
_go(_cZ, 0);
_0m(_3l, _4l, 100189)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100191)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100192)._4a = 0 ? 1 : 0;
if (yyGetBool(_0m(_3l, _4l, 42)._dm)) {
{
_0m(_3l, _4l, 100189)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100191)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100192)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100192)._fo = 1 ? 1 : 0;
}
}
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 17)) {
{
_go(_bZ, 1);
_0m(_3l, _4l, 100190)._mm = _Q8(_3l, _4l, "ui_PlayOffs");
_0m(_3l, _4l, 100186)._mm = _Q8(_3l, _4l, "ui_Super#Bowl");
var _wu = _m5(_3l, _4l, 18);
if (!yyGetBool(_wu)) {
{
_A9(_3l, _4l, "NO PLAY OFFS! Trying to recreate playoffs");
_f5(_3l, _4l);
_wu = _m5(_3l, _4l, 18);
}
}
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100165)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100164)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 18)) {
{
_0m(_3l, _4l, 100165)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100164)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 18)) {
{
_0m(_3l, _4l, 100165)._0r = 0.5;
_0m(_3l, _4l, 100164)._0r = 0.5;
}
}
}
}
}
_wu = _m5(_3l, _4l, 19);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100166)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100167)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 19)) {
{
_0m(_3l, _4l, 100166)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100167)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 19)) {
{
_0m(_3l, _4l, 100166)._0r = 0.5;
_0m(_3l, _4l, 100167)._0r = 0.5;
}
}
}
}
}
var _wu = _m5(_3l, _4l, 20);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100176)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100175)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 20)) {
{
_0m(_3l, _4l, 100176)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100175)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 20)) {
{
_0m(_3l, _4l, 100176)._0r = 0.5;
_0m(_3l, _4l, 100175)._0r = 0.5;
}
}
}
}
}
var _wu = _m5(_3l, _4l, 21);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100177)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100178)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 21)) {
{
_0m(_3l, _4l, 100177)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100178)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 21)) {
{
_0m(_3l, _4l, 100177)._0r = 0.5;
_0m(_3l, _4l, 100178)._0r = 0.5;
}
}
}
}
}
var _wu = _m5(_3l, _4l, 22);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100168)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100169)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 22)) {
{
_0m(_3l, _4l, 100168)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100169)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 22)) {
{
_0m(_3l, _4l, 100168)._0r = 0.5;
_0m(_3l, _4l, 100169)._0r = 0.5;
}
}
}
}
}
var _wu = _m5(_3l, _4l, 23);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100171)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100170)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 23)) {
{
_0m(_3l, _4l, 100171)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100170)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 23)) {
{
_0m(_3l, _4l, 100171)._0r = 0.5;
_0m(_3l, _4l, 100170)._0r = 0.5;
}
}
}
}
}
var _wu = _m5(_3l, _4l, 24);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100179)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100180)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 24)) {
{
_0m(_3l, _4l, 100179)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100180)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 24)) {
{
_0m(_3l, _4l, 100179)._0r = 0.5;
_0m(_3l, _4l, 100180)._0r = 0.5;
}
}
}
}
}
var _wu = _m5(_3l, _4l, 25);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100182)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100181)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 25)) {
{
_0m(_3l, _4l, 100182)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100181)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 25)) {
{
_0m(_3l, _4l, 100182)._0r = 0.5;
_0m(_3l, _4l, 100181)._0r = 0.5;
}
}
}
}
}
var _wu = _m5(_3l, _4l, 26);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100172)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100173)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 26)) {
{
_0m(_3l, _4l, 100172)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100173)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 26)) {
{
_0m(_3l, _4l, 100172)._0r = 0.5;
_0m(_3l, _4l, 100173)._0r = 0.5;
}
}
}
}
}
var _wu = _m5(_3l, _4l, 27);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100183)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100184)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 27)) {
{
_0m(_3l, _4l, 100183)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100184)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 27)) {
{
_0m(_3l, _4l, 100183)._0r = 0.5;
_0m(_3l, _4l, 100184)._0r = 0.5;
}
}
}
}
}
var _wu = _m5(_3l, _4l, 28);
if (yyGetBool(_wu)) {
{
var _XT = _i9(_3l, _4l, _il(_wu, "away_team"));
var _YT = _i9(_3l, _4l, _il(_wu, "home_team"));
_0m(_3l, _4l, 100174)._mm = _il(_XT, "tla");
_0m(_3l, _4l, 100185)._mm = _il(_YT, "tla");
if (yyfequal(_0m(_3l, _4l, 42)._Nl, 28)) {
{
_0m(_3l, _4l, 100174)._7T = 1 ? 1 : 0;
_0m(_3l, _4l, 100185)._7T = 1 ? 1 : 0;
}
} else {
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 28)) {
{
_0m(_3l, _4l, 100174)._0r = 0.5;
_0m(_3l, _4l, 100185)._0r = 0.5;
}
}
}
}
}
}
} else {
{
_go(_cZ, 1);
_0m(_3l, _4l, 100190)._mm = _Q8(_3l, _4l, "ui_PlayOffPicture");
}
}
{
var _dZ = _8l(2);
for (var _eZ in _dZ) {
if (!_dZ.hasOwnProperty(_eZ)) continue;
var _fZ = _dZ[_eZ];
if (_fZ._bl) continue;
if (!_fZ._cl) continue;
{
_A9(_fZ, _3l, _fZ._mm);
if (yyfequal(_fZ._mm, _il(_0m(_3l, _4l, 42)._Dm, "tla"))) {
{
_fZ._am = global._bm;
_fZ._3T = global._bm;
}
}
}
}
}
}
function _2f(_3l, _4l) {
_DS(_3l, _4l);
_3l._aZ = 1 ? 1 : 0;
}
function _3f(_3l, _4l) {
if (yyfgreater(_0m(_3l, _4l, 42)._cq, 0)) {
{
_b6(_3l, _4l);
return;
}
}
_j9(_3l, _4l);
var _Cm = _0m(_3l, _4l, 42)._Cm[_Tn(0, _0m(_3l, _4l, 42)._Cm)];
_3l._gZ = _Oq(yyftime(_sl(_Qq()), 0.3), 96, "Instances", 73);
_0m(_3l, _4l, _3l._gZ)._Vn = _il(_Cm, "name");
_0m(_3l, _4l, _3l._gZ)._5r = _ml(_il(_Cm, "helmet"));
_0m(_3l, _4l, _3l._gZ)._hZ = _r9(_3l, _4l, _Cm);
_0m(_3l, _4l, _3l._gZ)._LB = _q9(_3l, _4l, _Cm);
_0m(_3l, _4l, _3l._gZ)._WR = _0m(_3l, _4l, 42)._oR;
_0m(_3l, _4l, _3l._gZ)._XR = _0m(_3l, _4l, 42)._pR;
_0m(_3l, _4l, _3l._gZ)._YR = _0m(_3l, _4l, 42)._rR;
_0m(_3l, _4l, _3l._gZ)._iZ = _f9(_3l, _4l, _Cm, 0);
_Cm = _0m(_3l, _4l, 42)._Cm[_Tn(1, _0m(_3l, _4l, 42)._Cm)];
_3l._jZ = _Oq(yyftime(_sl(_Qq()), 0.7), 96, "Instances", 73);
_0m(_3l, _4l, _3l._jZ)._ZB = -1;
_0m(_3l, _4l, _3l._jZ)._Vn = _il(_Cm, "name");
_0m(_3l, _4l, _3l._jZ)._5r = _ml(_il(_Cm, "helmet"));
_0m(_3l, _4l, _3l._jZ)._hZ = _r9(_3l, _4l, _Cm);
_0m(_3l, _4l, _3l._jZ)._LB = _q9(_3l, _4l, _Cm);
_0m(_3l, _4l, _3l._jZ)._WR = _0m(_3l, _4l, 42)._gR;
_0m(_3l, _4l, _3l._jZ)._XR = _0m(_3l, _4l, 42)._kR;
_0m(_3l, _4l, _3l._jZ)._YR = _0m(_3l, _4l, 42)._mR;
_0m(_3l, _4l, _3l._jZ)._iZ = _f9(_3l, _4l, _Cm, 0);
var _kZ = "";
var _lZ = "";
{
var _mZ = _8l(42);
for (var _nZ in _mZ) {
if (!_mZ.hasOwnProperty(_nZ)) continue;
var _oZ = _mZ[_nZ];
if (_oZ._bl) continue;
if (!_oZ._cl) continue;
{
var _dl = 0;
for (; yyfless(_dl, _el(_oZ._Um)); _dl++) {
{
var _Bl = _hl(_oZ._Um, _dl);
if (yyGetBool(_il(_Bl, "resting"))) {
{
if (yyfnotequal(_kZ, "")) {
_kZ = yyfplus(_kZ, ", ");
}
if (yyfnotequal(_lZ, "")) {
_lZ = yyfplus(_lZ, ", ");
}
_kZ = yyfplus(_kZ, _99(_oZ, _3l, _il(_Bl, "position")));
_lZ = yyfplus(_lZ, yyfplus(yyfplus(yyfplus("[", _sl(_99(_oZ, _3l, _il(_Bl, "position")))), "] "), _sl(_il(_Bl, "lname"))));
}
}
}
}
if (yyfnotequal(_lZ, "")) {
{
_0m(_3l, _4l, 100209)._Pq = yyfplus(yyfplus(_sl(_il(_oZ._Dm, "name")), " "), _sl(_Q8(_oZ, _3l, "ui_Resting")));
if (yyfgreater(_ku(_lZ), 26)) {
{
if (yyfgreater(_ku(_kZ), 26)) {
_0m(_3l, _4l, 100210)._mm = _wr(_kZ, 1, 26);
} else {
_0m(_3l, _4l, 100210)._mm = _kZ;
}
}
} else {
_0m(_3l, _4l, 100210)._mm = _lZ;
}
}
}
}
}
}
if (yyfequal(_lZ, "")) {
{
_0m(_3l, _4l, 100209)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100210)._4a = 0 ? 1 : 0;
if (yyGetBool(global._fB)) {
{
_Oq(56, 232, "Instances", 41);
var _pZ = _Oq(184, 232, "Instances", 41);
_0m(_3l, _4l, _pZ)._Vw(114);
_0m(_3l, _4l, _pZ)._cV = 1 ? 1 : 0;
}
}
}
}
}
function _4f(_3l, _4l) {
_DS(_3l, _4l);
}
function _5f(_3l, _4l) {
_3l.__T = _0U(0, "colorHelmet");
_3l._1U = _0U(0, "colorShirt");
_3l._3U = _0U(0, "colorPants");
_3l._5U = _0U(0, "replaceHelmet");
_3l._6U = _0U(0, "replaceShirt");
_3l._8U = _0U(0, "replacePants");
}
function _6f(_3l, _4l) {}
function _7f(_3l, _4l) {
_gU(0);
_hU(_3l.__T, 1, 0, 0);
_hU(_3l._1U, 0, 1, 0);
_hU(_3l._3U, 1, 0, 1);
_hU(_3l._5U, _3l._WR[_Tn(0, _3l._WR)], _3l._WR[_Tn(1, _3l._WR)], _3l._WR[_Tn(2, _3l._WR)]);
_hU(_3l._6U, _3l._XR[_Tn(0, _3l._XR)], _3l._XR[_Tn(1, _3l._XR)], _3l._XR[_Tn(2, _3l._XR)]);
_hU(_3l._8U, _3l._YR[_Tn(0, _3l._YR)], _3l._YR[_Tn(1, _3l._YR)], _3l._YR[_Tn(2, _3l._YR)]);
_jL(_3l, _3l._wC, _3l._5r, _3l.x, _3l.y, 2, 2, 0, 16777215, 1);
_sU();
_YK(1);
_ZK(1);
__K(1);
var _1r = yyfplus(_sl(_3l.y), 72);
_5L(_3l.x, _1r, _UK(_3l._Vn));
_YK(0);
_1r = yyfplus(_1r, 16);
if (yyGetBool(_3l._qZ)) {
_5L(_3l.x, _1r, _3l._iZ);
}
_ZK(2);
if (yyfequal(_3l._ZB, -1)) {
_ZK(0);
}
if (!yyGetBool(_3l._qZ)) {
return;
}
_1r = yyfplus(_1r, 14);
_5L(_3l.x, _1r, _UK(_Q8(_3l, _4l, "ui_Defense")));
var _ZL = _3l.x;
if (yyfequal(_3l._ZB, 1)) {
_jL(_3l, 64, _3l._hZ, yyfplus(_sl(_ZL), 5), _1r, 1, 1, 0, 65535, 1);
} else {
_jL(_3l, 64, _3l._hZ, yyfminus(_sl(_ZL), 5), _1r, -1, 1, 0, 65535, 1);
}
_1r = yyfplus(_1r, 14);
_5L(_3l.x, _1r, _UK(_Q8(_3l, _4l, "ui_Offense")));
if (yyfequal(_3l._ZB, 1)) {
_jL(_3l, 64, _3l._LB, yyfplus(_sl(_ZL), 5), _1r, 1, 1, 0, 65535, 1);
} else {
_jL(_3l, 64, _3l._LB, yyfminus(_sl(_ZL), 5), _1r, -1, 1, 0, 65535, 1);
}
}
function _8f(_3l, _4l) {
_DS(_3l, _4l);
_3l._Vn = "Team Name";
_3l._hZ = 0;
_3l._LB = 0;
_3l._ZB = 1;
_3l._WR = _vp(_3l._WR, 3666812894);
_3l._WR[_wp(3)] = 0;
_3l._XR = _vp(_3l._XR, 1027333011);
_3l._XR[_wp(3)] = 0;
_3l._YR = _vp(_3l._YR, 3194782232);
_3l._YR[_wp(3)] = 0;
_3l._qZ = 1 ? 1 : 0;
_3l._iZ = "0-0-0";
_3l._5r = 0;
}
function _9f(_3l, _4l) {
_3l._rZ = _il(_0m(_3l, _4l, 42)._Cm[_Tn(0, _0m(_3l, _4l, 42)._Cm)], "name");
_3l._sZ = _il(_0m(_3l, _4l, 42)._Cm[_Tn(1, _0m(_3l, _4l, 42)._Cm)], "name");
_0m(_3l, _4l, 100195)._mm = _wr(_3l._rZ, 1, 10);
_0m(_3l, _4l, 100194)._mm = _wr(_3l._sZ, 1, 10);
_0m(_3l, _4l, 100196)._mm = _0m(_3l, _4l, 42)._cv[_Tn(0, _0m(_3l, _4l, 42)._cv)];
_0m(_3l, _4l, 100197)._mm = _0m(_3l, _4l, 42)._cv[_Tn(1, _0m(_3l, _4l, 42)._cv)];
_x5(_3l, _4l, 100203, _0m(_3l, _4l, 42)._Gm, _0m(_3l, _4l, 42)._Hm);
_0m(_3l, _4l, 100204)._rm = _0m(_3l, _4l, 42)._Gm;
__7(_3l, _4l);
_0m(_3l, _4l, 100198)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100200)._4a = 0 ? 1 : 0;
_3l._tZ = _rn._up();
if (yyGetBool(_0m(_3l, _4l, 42)._az)) {
{
_3l._1m = 2;
_3l._tZ = 0;
}
}
if (yyfgreaterequal(_0m(_3l, _4l, 42)._Lp, 100)) {
_J2(_3l, _4l, "ACH_FANS100");
}
}
function _af(_3l, _4l) {
_i6(_3l, _4l);
_0m(_3l, _4l, 100202)._mm = _36(_3l, _4l);
{
var _uZ = _8l(5);
for (var _vZ in _uZ) {
if (!_uZ.hasOwnProperty(_vZ)) continue;
var _wZ = _uZ[_vZ];
if (_wZ._bl) continue;
if (!_wZ._cl) continue;
{
if (yyfless(_wZ._jr(), _3l._jr())) {
{
_wZ._tZ = _rn._up();
return;
}
}
}
}
}
if (!yyGetBool(_0m(_3l, _4l, 42)._az)) {
{
_0m(_3l, _4l, 100201)._JM = _0m(_3l, _4l, 42)._Lp;
_a6(_3l, _4l);
}
}
if (yyfless(_rn._up(), yyfplus(_sl(_3l._tZ), _sl(yyftime(_sl(yyfplus(_sl(_3l._1m), 1)), 500))))) {
return;
}
var _xZ = _3l._1m;
var _yZ = -1;
if (yyCompareVal(_xZ, 0, g_GMLMathEpsilon) == 0) {
_yZ = 0;
} else if (yyCompareVal(_xZ, 1, g_GMLMathEpsilon) == 0) {
_yZ = 1;
} else if (yyCompareVal(_xZ, 2, g_GMLMathEpsilon) == 0) {
_yZ = 2;
}
switch (_yZ) {
case 0: {
_4l._1m++;
break;
}
case 1: {
var _zZ = yyfplus(_sl(_0m(_3l, _4l, 100201).x), _sl(yyftime(_sl(_0m(_3l, _4l, 100201)._OM()), 0.16)));
var _AZ = yyfplus(_sl(_0m(_3l, _4l, 100201).x), _sl(yyftime(_sl(_0m(_3l, _4l, 100201)._OM()), 0.5)));
var _BZ = yyfplus(_sl(_0m(_3l, _4l, 100201).x), _sl(yyftime(_sl(_0m(_3l, _4l, 100201)._OM()), 0.82)));
var _6G = yyfplus(_sl(_0m(_3l, _4l, 100201).y), _sl(yyftime(_sl(_0m(_3l, _4l, 100201)._Vs()), 0.5)));
var _CZ = yyfplus(_sl(_0m(_3l, _4l, 100202).x), _sl(yyftime(_sl(_0m(_3l, _4l, 100202)._OM()), 0.5)));
var _DZ = yyfplus(_sl(_0m(_3l, _4l, 100202).y), _sl(yyftime(_sl(_0m(_3l, _4l, 100202)._Vs()), 0.5)));
_A5(_3l, _4l, _zZ, _6G, _CZ, _DZ, 1, 1, -4);
if (yyfgreater(_0m(_3l, _4l, 42)._Lp, 33)) {
_A5(_3l, _4l, _AZ, _6G, _CZ, _DZ, 1, 1, -4);
}
if (yyfgreater(_0m(_3l, _4l, 42)._Lp, 66)) {
_A5(_3l, _4l, _BZ, _6G, _CZ, _DZ, 1, 1, -4);
}
_3l._1m++;
break;
}
case 2: {
if (!yyGetBool(_DA(47))) {
{
_0m(_3l, _4l, 100198)._4a = 1 ? 1 : 0;
_0m(_3l, _4l, 100200)._4a = 1 ? 1 : 0;
}
}
break;
}
}
}
function _bf(_3l, _4l) {
_DS(_3l, _4l);
_3l._1m = 0;
_3l._tZ = 0;
}
function _cf(_3l, _4l) {
_0m(_3l, _4l, 100317)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 42)._Um = _b8(_3l, _4l, _0m(_3l, _4l, 42)._Um, 3);
_3l._Zw = _yl();
_3l._Yw = _yl();
_3l._0x = _yl();
_3l.__w = _yl();
_3l._1x = _yl();
_3l._3x = _yl();
_3l._6x = _yl();
_3l._2x = _yl();
_3l._5x = _yl();
_3l._4x = _yl();
_3l._7x = _yl();
_3l._8x = _yl();
if (yyfequal(_0m(_3l, _4l, 42)._1m, 6)) {
{
_3l._tZ = _rn._up();
if (yyfgreater(_0m(_3l, _4l, 42)._Nl, 17)) {
{
_0m(_3l, _4l, 100318)._mm = _Q8(_3l, _4l, "ui_EndWeek");
}
} else {
{
_0m(_3l, _4l, 100318)._mm = _Q8(_3l, _4l, "ui_EndWeekN");
_0m(_3l, _4l, 100318)._mm = _Pl(_0m(_3l, _4l, 100318)._mm, "$num", _0m(_3l, _4l, 42)._Nl);
}
}
_0m(_3l, _4l, 100323)._4a = 0 ? 1 : 0;
_0m(_3l, _4l, 100323)._4a = 0 ? 1 : 0;
_B5(_3l, _4l, _76(_3l, _4l), 1);
_96(_3l, _4l);
}
} else {
{
_0m(_3l, _4l, 100318)._mm = _Q8(_3l, _4l, "ui_Roster");
_B5(_3l, _4l, 1, 0);
}
}
}
function _df(_3l, _4l) {
_Fl(_3l._Zw);
_Fl(_3l._Yw);
_Fl(_3l._0x);
_Fl(_3l.__w);
_Fl(_3l._1x);
_Fl(_3l._3x);
_Fl(_3l._6x);
_Fl(_3l._2x);
_Fl(_3l._5x);
_Fl(_3l._4x);
_Fl(_3l._7x);
_Fl(_3l._8x);
}
function _ef(_3l, _4l) {
if (yyfnotequal(_0m(_3l, _4l, 42)._1m, 6)) {
return;
}
{
var _EZ = _8l(5);
for (var _FZ in _EZ) {
if (!_EZ.hasOwnProperty(_FZ)) continue;
var _GZ = _EZ[_FZ];
if (_GZ._bl) continue;
if (!_GZ._cl) continue;
if (yyfless(_GZ._jr(), _3l._jr())) {
_GZ._tZ = _rn._up();
}
}
}
if (yyfless(_rn._up(), yyfplus(_sl(_3l._tZ), _sl(yyftime(_sl(yyfplus(_sl(_3l._1m), 1)), 1000))))) {
return;
}
var _HZ = _3l._1m;
var _IZ = -1;
if (yyCompareVal(_HZ, 0, g_GMLMathEpsilon) == 0) {
_IZ = 0;
} else if (yyCompareVal(_HZ, 1, g_GMLMathEpsilon) == 0) {
_IZ = 1;
}
switch (_IZ) {
case 0: {
var _JZ = 1 ? 1 : 0;
var _dl = 1;
for (; yyfless(_dl, _el(_3l._0x)); _dl++) {
{
var _Bl = _hl(_0m(_3l, _4l, 42)._Um, yyfminus(_sl(_dl), 1));
_KZ(_3l._0x, _dl, _cm(yyfplus(_sl(_hl(_3l._0x, _dl)), 1), 1, _il(_Bl, "condition")));
if (yyfless(_hl(_3l._0x, _dl), _il(_Bl, "condition"))) {
_JZ = 0 ? 1 : 0;
}
}
}
if (yyGetBool(_JZ)) {
_3l._1m++;
}
break;
}
case 1: {
_0m(_3l, _4l, 100317)._4a = 1 ? 1 : 0;
_3l._1m++;
break;
}
}
}
function _ff(_3l, _4l) {}
function _gf(_3l, _4l) {
_YK(0);
_ZK(1);
_0L(1);
var _1L = yyfplus(_sl(_3l.x), 4);
var _1r = yyfplus(_sl(_3l.y), 16);
var _LZ = 12;
var _MZ = 34;
var _NZ = 0;
for (; yyfless(_NZ, _el(_3l._Yw)); _NZ++) {
{
_aL(16777215);
if (yyfgreater(_NZ, 0)) {
{
_hL(_3l, 58, _26(_3l, _4l, _hl(_3l._Yw, _NZ)), _1L, _1r);
}
}
_1L = yyfplus(_1L, 12);
_ZK(0);
var _sr = _hl(_3l._Zw, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_ZK(1);
_1L = yyfplus(_1L, 82);
_aL(_k8(_3l, _4l, _hl(_3l.__w, _NZ)));
var _sr = _99(_3l, _4l, _hl(_3l.__w, _NZ));
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
_5L(_1L, _1r, _sr);
_aL(16777215);
_1L = yyfplus(_1L, _MZ);
var _9x = _hl(_3l._0x, _NZ);
if (yyfequal(_NZ, 0)) {
{
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _9x, 0, 0, 0, 0, 1);
_5L(_1L, _1r, _9x);
}
} else {
{
if (yyflessequal(_9x, 40)) {
{
var _OZ = _ul(abs(_9x));
if (yyflessequal(_9x, 0)) {
{
_eT(yyfplus(_sl(_1L), 5), yyfplus(_sl(_1r), 1), _OZ, 0, 0, 0, 0, 1);
_eT(yyfplus(_sl(_1L), 6), _1r, _OZ, 255, 255, 255, 255, 1);
_hL(_3l, 61, 0, yyfminus(yyfminus(_sl(_1L), 2), _sl(yyfdivide(_sl(_3L(_OZ)), 2))), _1r);
}
} else {
if (yyflessequal(_9x, 20)) {
{
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), yyfplus(_sl(_OZ), "%"), 0, 0, 0, 0, 1);
_eT(_1L, _1r, yyfplus(_sl(_OZ), "%"), 4235519, 4235519, 4235519, 4235519, 1);
}
} else {
{
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), yyfplus(_sl(_OZ), "%"), 0, 0, 0, 0, 1);
_eT(_1L, _1r, yyfplus(_sl(_OZ), "%"), 65535, 65535, 65535, 65535, 1);
}
}
}
}
} else {
{
_5L(_1L, _1r, yyfplus(_sl(_ul(_9x)), "%"));
}
}
}
}
if (yyfequal(_0m(_3l, _4l, 42)._1m, 6)) {
{
_aL(16777215);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._1x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._2x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._3x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._4x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._5x, _NZ);
if (yyfequal(_NZ, 0)) {
{
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
_5L(_1L, _1r, _sr);
}
}
_eT(_1L, _1r, _sr, 16777215, 16777215, 16777215, 16777215, 1);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._6x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
_bL(global._bm);
var _sr = _hl(_3l._7x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, yyfplus(_sl(_MZ), 8));
var _1T = yyfplus(1, _sl(sin(yyfdivide(_sl(_rn._up()), 100))));
_bL(16777215);
var _sr = _hl(_3l._8x, _NZ);
if (yyfequal(_NZ, 0)) {
{
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
} else {
if (yyGetBool(_tq("flash_", _sr))) {
{
_sr = _Pl(_sr, "flash_", "");
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, yyftime(_sl(_1T), 0.7));
_0L(_1T);
_bL(global._bm);
}
}
}
_5L(_1L, _1r, _sr);
_0L(1);
}
} else {
{
_aL(16777215);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._1x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._2x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._3x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._4x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._5x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._6x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
_1L = yyfplus(_1L, _MZ);
var _sr = _hl(_3l._7x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
} else {
if (yyfequal(_sr, 21)) {
_bL(global._bm);
}
}
_5L(_1L, _1r, _sr);
_bL(16777215);
_1L = yyfplus(_1L, yyfplus(_sl(_MZ), 8));
var _sr = _hl(_3l._8x, _NZ);
if (yyfequal(_NZ, 0)) {
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _sr, 0, 0, 0, 0, 1);
}
_5L(_1L, _1r, _sr);
}
}
_1L = yyfplus(_sl(_3l.x), 4);
_1r = yyfplus(_1r, _LZ);
}
}
_0L(1);
_bL(16777215);
}
function _hf(_3l, _4l) {
_DS(_3l, _4l);
_3l._fw = 0;
_3l._1m = 0;
_3l._tZ = 0;
}
function _if(_3l, _4l) {
_3l._Bl = _0m(_3l, _4l, 42)._tn;
if (yyfequal(_3l._Bl, -4)) {
return;
}
_A9(_3l, _4l, yyfplus("face_x=", _sl(_ul(_il(_3l._Bl, "face_x")))));
_A9(_3l, _4l, yyfplus("face_y=", _sl(_ul(_il(_3l._Bl, "face_y")))));
_YK(0);
_ZK(0);
__K(1);
_0m(_3l, _4l, 0)._4a = 0 ? 1 : 0;
var _Vn = yyfplus(yyfplus(yyfplus(yyfplus(_sl(_99(_3l, _4l, _il(_3l._Bl, "position"))), " - "), _sl(_il(_3l._Bl, "fname"))), " "), _sl(_il(_3l._Bl, "lname")));
_0m(_3l, _4l, 100229)._mm = _Vn;
var _AN = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Age")), ": "), _sl(_ul(_il(_3l._Bl, "age"))));
if (yyfequal(_il(_3l._Bl, "age"), 21)) {
_AN = yyfplus(_AN, yyfplus(yyfplus(" ", _sl(_Q8(_3l, _4l, "ui_Rookie"))), " "));
}
_0m(_3l, _4l, 100238)._mm = _AN;
_3l._PZ = yyfplus(_sl(_0m(_3l, _4l, 100238).x), _sl(_3L(_0m(_3l, _4l, 100238)._mm)));
_3l._QZ = _0m(_3l, _4l, 100238).y;
if (yyfgreater(_il(_3l._Bl, "age"), 21)) {
_3l._QZ = -999;
}
_0m(_3l, _4l, 100228)._Pq = _a9(_3l, _4l, _il(_3l._Bl, "position"));
_0m(_3l, _4l, 100231)._mm = _UK(yyfplus(_sl(_Q8(_3l, _4l, "ui_Condition")), ": "));
_3l._RZ = yyfplus(_sl(_0m(_3l, _4l, 100231).x), _sl(_3L(_0m(_3l, _4l, 100231)._mm)));
_3l._SZ = _0m(_3l, _4l, 100231).y;
_3l._TZ = _UK(_e9(_3l, _4l, _il(_3l._Bl, "condition")));
_3l._UZ = 16777215;
_3l._VZ = 0;
if (yyGetBool(_il(_3l._Bl, "resting"))) {
{
_3l._UZ = global._bm;
_3l._VZ = 3;
}
} else {
if (yyflessequal(_il(_3l._Bl, "condition"), 0)) {
{
_3l._UZ = 255;
_3l._VZ = 0;
}
} else {
if (yyflessequal(_il(_3l._Bl, "condition"), 20)) {
{
_3l._UZ = 4235519;
_3l._VZ = 1;
}
} else {
if (yyflessequal(_il(_3l._Bl, "condition"), 40)) {
{
_3l._UZ = 65535;
_3l._VZ = 2;
}
}
}
}
}
_3l._WZ = yyfplus(_sl(_3l._RZ), _sl(_3L(yyfplus(_sl(_3l._TZ), " "))));
var _3p = yyfplus(yyfplus(yyfplus(yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Contract")), ": $"), _sl(_ul(_il(_3l._Bl, "salary")))), "m ("), _sl(_ul(_il(_3l._Bl, "contract")))), _sl(_Q8(_3l, _4l, "sla_Year"))), ")");
_0m(_3l, _4l, 100230)._mm = _3p;
_0m(_3l, _4l, 100236)._mm = _UK(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Attitude")), ": "), _sl(_b9(_3l, _4l, _il(_3l._Bl, "attitude")))));
_3l._XZ = yyfplus(_sl(_0m(_3l, _4l, 100236).x), _sl(_3L(yyfplus(_sl(_0m(_3l, _4l, 100236)._mm), " "))));
_3l._YZ = _0m(_3l, _4l, 100236).y;
_0m(_3l, _4l, 100237)._mm = _Q8(_3l, _4l, "ui_Rating");
var _bT = yyfplus(_sl(_3L(_0m(_3l, _4l, 100237)._mm)), 8);
_3l._ZZ = _0m(_3l, _4l, 100237).x;
_3l.__Z = yyfplus(_sl(_0m(_3l, _4l, 100237).y), 12);
_3l._0_ = 0;
_0m(_3l, _4l, 100240)._mm = _Q8(_3l, _4l, "ui_Potential");
var _bT = yyfplus(_sl(_3L(_0m(_3l, _4l, 100240)._mm)), 8);
_3l._1_ = _0m(_3l, _4l, 100240).x;
_3l._2_ = yyfplus(_sl(_0m(_3l, _4l, 100240).y), 12);
_3l._3_ = 0;
var _4_ = 1;
if (!yyGetBool(_I8(_3l, _4l, _il(_3l._Bl, "position")))) {
{
_3l._0_ = _98(_3l, _4l, _3l._Bl);
_3l._3_ = _a8(_3l, _4l, _3l._Bl);
_4_ = _U4(_3l, _4l, _3l._Bl);
}
}
var _5_ = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Value")), ": "), _sl(_c9(_3l, _4l, _4_)));
_0m(_3l, _4l, 100242)._mm = _5_;
_0m(_3l, _4l, 100243)._mm = "";
_0m(_3l, _4l, 100243)._3T = global._bm;
_3l._6_ = 0;
_3l._7_ = 0;
if (yyfgreater(_Dl(_0m(_3l, _4l, 42)._Bn, _0m(_3l, _4l, 42)._tn), -1)) {
{
var _8_ = _il(_0m(_3l, _4l, 42)._tn, "intrade_pick");
_A9(_3l, _4l, yyfplus("Intrade_pick = ", _sl(_ul(_il(_0m(_3l, _4l, 42)._tn, "intrade_pick")))));
_0m(_3l, _4l, 100243)._mm = _UK(
yyfplus(yyfplus(yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Cost")), ": "), _sl(_c9(_3l, _4l, _8_))), " ("), _sl(_ul(_0m(_3l, _4l, 42)._Sn[_Tn(yyfminus(_sl(_8_), 1), _0m(_3l, _4l, 42)._Sn)]))), ")")
);
_3l._6_ = yyfplus(_sl(_0m(_3l, _4l, 100243).x), _sl(_3L(yyfplus(_sl(_0m(_3l, _4l, 100243)._mm), " "))));
_3l._7_ = _0m(_3l, _4l, 100243).y;
}
} else {
if (yyGetBool(yyfgreater(_Dl(_0m(_3l, _4l, 42)._Um, _0m(_3l, _4l, 42)._tn), -1)) && yyGetBool(yyfgreater(_il(_0m(_3l, _4l, 42)._tn, "outtrade_pick"), 0))) {
{
var _8_ = _il(_0m(_3l, _4l, 42)._tn, "outtrade_pick");
var _9_ = yyfplus(yyfplus(" (", _sl(_ul(_0m(_3l, _4l, 42)._Sn[_Tn(yyfminus(_sl(_8_), 1), _0m(_3l, _4l, 42)._Sn)]))), ")");
_0m(_3l, _4l, 100243)._mm = yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Offer")), ": "), _sl(_c9(_3l, _4l, _8_))), _sl(_9_));
_3l._6_ = yyfplus(_sl(_0m(_3l, _4l, 100243).x), _sl(_3L(yyfplus(_sl(_0m(_3l, _4l, 100243)._mm), " "))));
_3l._7_ = _0m(_3l, _4l, 100243).y;
}
}
}
if (yyGetBool(_I8(_3l, _4l, _il(_3l._Bl, "position")))) {
_3l._6_ = 0;
}
_0m(_3l, _4l, 100233)._Pq = _Q8(_3l, _4l, "attribute_Catching");
_0m(_3l, _4l, 100234)._Pq = _Q8(_3l, _4l, "attribute_Speed");
_0m(_3l, _4l, 100235)._Pq = _Q8(_3l, _4l, "attribute_Strength");
_0m(_3l, _4l, 100239)._Pq = _Q8(_3l, _4l, "attribute_Stamina");
var _a_ = _il(_3l._Bl, "position");
var _b_ = -1;
if (yyCompareVal(_a_, 1, g_GMLMathEpsilon) == 0) {
_b_ = 0;
} else if (yyCompareVal(_a_, 10, g_GMLMathEpsilon) == 0) {
_b_ = 1;
} else if (
yyCompareVal(_a_, 5, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_a_, 6, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_a_, 7, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_a_, 8, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_a_, 9, g_GMLMathEpsilon) == 0
) {
_b_ = 2;
}
switch (_b_) {
case 0: {
_0m(_3l, _4l, 100233)._Pq = _Q8(_3l, _4l, "attribute_ThrowAccuracy");
_0m(_3l, _4l, 100235)._Pq = _Q8(_3l, _4l, "attribute_ArmStrength");
_0m(_3l, _4l, 100215)._mm = _Q8(_3l, _4l, "attribute_Throwing");
break;
}
case 1: {
_0m(_3l, _4l, 100233)._Pq = _Q8(_3l, _4l, "attribute_KickAccuracy");
_0m(_3l, _4l, 100235)._Pq = _Q8(_3l, _4l, "attribute_KickRange");
_0m(_3l, _4l, 100215)._mm = _Q8(_3l, _4l, "attribute_Accuracy");
_0m(_3l, _4l, 100217)._mm = _Q8(_3l, _4l, "attribute_Range");
break;
}
case 2: {
_0m(_3l, _4l, 100233)._Pq = _Q8(_3l, _4l, "attribute_Tackling");
_0m(_3l, _4l, 100215)._mm = _Q8(_3l, _4l, "attribute_Tackling");
break;
}
default: {
break;
}
}
_0m(_3l, _4l, 100233)._DU = yyftime(_sl(_il(_3l._Bl, "max_skill")), 10);
_0m(_3l, _4l, 100233)._eo = yyftime(_sl(_il(_3l._Bl, "skill")), 10);
_0m(_3l, _4l, 100234)._DU = yyftime(_sl(_il(_3l._Bl, "max_speed")), 10);
_0m(_3l, _4l, 100234)._eo = yyftime(_sl(_il(_3l._Bl, "speed")), 10);
_0m(_3l, _4l, 100235)._DU = yyftime(_sl(_il(_3l._Bl, "max_strength")), 10);
_0m(_3l, _4l, 100235)._eo = yyftime(_sl(_il(_3l._Bl, "strength")), 10);
_0m(_3l, _4l, 100239)._DU = yyftime(_sl(_il(_3l._Bl, "max_stamina")), 10);
_0m(_3l, _4l, 100239)._eo = yyftime(_sl(_il(_3l._Bl, "stamina")), 10);
_0m(_3l, _4l, 100215)._6r = 1 ? 1 : 0;
_0m(_3l, _4l, 100216)._6r = 1 ? 1 : 0;
_0m(_3l, _4l, 100217)._6r = 1 ? 1 : 0;
_0m(_3l, _4l, 100218)._6r = 1 ? 1 : 0;
_0m(_3l, _4l, 100220)._4a = 0 ? 1 : 0;
if (yyfgreaterequal(_il(_3l._Bl, "skill"), _il(_3l._Bl, "max_skill"))) {
_0m(_3l, _4l, 100215)._6r = 0 ? 1 : 0;
}
if (yyfgreaterequal(_il(_3l._Bl, "speed"), _il(_3l._Bl, "max_speed"))) {
_0m(_3l, _4l, 100216)._6r = 0 ? 1 : 0;
}
if (yyfgreaterequal(_il(_3l._Bl, "strength"), _il(_3l._Bl, "max_strength"))) {
_0m(_3l, _4l, 100217)._6r = 0 ? 1 : 0;
}
if (yyfgreaterequal(_il(_3l._Bl, "stamina"), _il(_3l._Bl, "max_stamina"))) {
_0m(_3l, _4l, 100218)._6r = 0 ? 1 : 0;
}
_3l._ho = _MW("Buttons_Back");
_3l._c_ = _MW("Buttons_Navigate");
_3l._io = _MW("Buttons_Main");
_3l._jo = _MW("Buttons_Pick");
_3l._ko = _MW("Buttons_XP");
_3l._lo = _MW("Buttons_XP_Continue");
_go(_3l._ho, 1);
_go(_3l._c_, 1);
_go(_3l._io, 0);
_go(_3l._jo, 0);
_go(_3l._ko, 0);
_go(_3l._lo, 0);
if (yyfgreater(_0m(_3l, _4l, 42)._cq, 0)) {
{
_go(_3l._io, 1);
_0m(_3l, _4l, 100224)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, 100223)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, 100222)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, 100221)._6r = 0 ? 1 : 0;
_b6(_3l, _4l);
return;
}
} else {
if (yyfgreater(_il(_3l._Bl, "xp_gain"), 0)) {
{
_go(_3l._ho, 0);
_go(_3l._c_, 0);
}
} else {
if (yyfgreater(_il(_3l._Bl, "skill_points"), 0)) {
{
_go(_3l._ho, 0);
_go(_3l._c_, 1);
_go(_3l._ko, 1);
if (yyGetBool(_0m(_3l, _4l, 100215)._6r)) {
_0m(_3l, _4l, 100233)._fo = 1 ? 1 : 0;
}
if (yyGetBool(_0m(_3l, _4l, 100216)._6r)) {
_0m(_3l, _4l, 100234)._fo = 1 ? 1 : 0;
}
if (yyGetBool(_0m(_3l, _4l, 100217)._6r)) {
_0m(_3l, _4l, 100235)._fo = 1 ? 1 : 0;
}
if (yyGetBool(_0m(_3l, _4l, 100218)._6r)) {
_0m(_3l, _4l, 100239)._fo = 1 ? 1 : 0;
}
}
} else {
if (yyfgreaterequal(_Dl(_0m(_3l, _4l, 42)._Um, _3l._Bl), 0)) {
{
_go(_3l._io, 1);
}
} else {
{
_go(_3l._jo, 1);
if (yyfgreaterequal(_Dl(_0m(_3l, _4l, 42)._An, _3l._Bl), 0)) {
_0m(_3l, _4l, 100220)._4a = 1 ? 1 : 0;
}
if (yyfgreaterequal(_Dl(_0m(_3l, _4l, 42)._Bn, _3l._Bl), 0)) {
_0m(_3l, _4l, 100220)._4a = 1 ? 1 : 0;
}
}
}
}
}
}
_3l._qI = yyftime(_sl(_il(_3l._Bl, "xp_level")), 100);
_3l._hw = yyftime(_sl(yyfdivide(_sl(_il(_3l._Bl, "xp")), _sl(_3l._qI))), 100);
_0m(_3l, _4l, 100241)._Pq = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_XPLevel")), " "), _sl(_ul(_il(_3l._Bl, "xp_level"))));
_0m(_3l, _4l, 100241)._eo = _3l._hw;
if (yyfless(_il(_3l._Bl, "condition"), 0)) {
{
_0m(_3l, _4l, 100224)._6r = 0 ? 1 : 0;
}
} else {
{
var _d_ = _il(_3l._Bl, "resting");
var _e_ = -1;
if (yyCompareVal(_d_, 0, g_GMLMathEpsilon) == 0) {
_e_ = 0;
} else if (yyCompareVal(_d_, 1, g_GMLMathEpsilon) == 0) {
_e_ = 1;
}
switch (_e_) {
case 0: {
_0m(_3l, _4l, 100224)._mm = _Q8(_3l, _4l, "ui_Rest");
_0m(_3l, _4l, 100224)._am = global._Ll;
break;
}
case 1: {
_0m(_3l, _4l, 100224)._mm = _Q8(_3l, _4l, "ui_Resting");
_0m(_3l, _4l, 100224)._am = global._bm;
break;
}
}
}
}
}
function _jf(_3l, _4l) {
_0m(_3l, _4l, 100246)._mm = _36(_3l, _4l);
if (!yyGetBool(_tl(_3l._Bl, 1))) {
return;
}
_0m(_3l, _4l, 100236)._mm = _UK(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Attitude")), ": "), _sl(_b9(_3l, _4l, _il(_3l._Bl, "attitude")))));
_3l._XZ = yyfplus(_sl(_0m(_3l, _4l, 100236).x), _sl(_3L(yyfplus(_sl(_0m(_3l, _4l, 100236)._mm), " "))));
_3l._YZ = _0m(_3l, _4l, 100236).y;
if (yyfgreater(_il(_3l._Bl, "xp_gain"), 0)) {
{
_vl(_3l._Bl, "xp_gain", yyfminus(_sl(_il(_3l._Bl, "xp_gain")), 1));
_vl(_3l._Bl, "xp", yyfplus(_sl(_il(_3l._Bl, "xp")), 1));
if (yyfgreaterequal(_il(_3l._Bl, "xp"), _3l._qI)) {
{
_vl(_3l._Bl, "xp", 1);
_vl(_3l._Bl, "xp_level", yyfplus(_sl(_il(_3l._Bl, "xp_level")), 1));
_vl(_3l._Bl, "attitude", _cm(yyfplus(_sl(_il(_3l._Bl, "attitude")), 10), 1, 100));
if (yyfless(_il(_3l._Bl, "xp_gain"), 1)) {
_vl(_3l._Bl, "xp_gain", 1);
}
if (!yyGetBool(_m8(_3l, _4l, _3l._Bl))) {
{
_vl(_3l._Bl, "skill_points", yyfplus(_sl(_il(_3l._Bl, "skill_points")), 1));
_3m(15);
}
} else {
{
var _5G = yyfplus(_sl(_0m(_3l, _4l, 100241).x), _sl(yyftime(_sl(_0m(_3l, _4l, 100241)._OM()), 0.9)));
var _6G = yyfplus(_sl(_0m(_3l, _4l, 100241).y), _sl(yyftime(_sl(_0m(_3l, _4l, 100241)._Vs()), 0.5)));
_A5(_3l, _4l, _5G, _6G, _0m(_3l, _4l, 100246).x, _0m(_3l, _4l, 100246).y, 1, 1, -4);
}
}
return;
}
}
_3l._hw = yyftime(_sl(yyfdivide(_sl(_il(_3l._Bl, "xp")), _sl(_3l._qI))), 100);
_0m(_3l, _4l, 100241)._Pq = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_XPLevel")), " "), _sl(_ul(_il(_3l._Bl, "xp_level"))));
_0m(_3l, _4l, 100241)._eo = _3l._hw;
if (yyfless(_il(_3l._Bl, "xp_gain"), 1)) {
{
_vl(_3l._Bl, "xp_gain", 0);
if (yyfgreater(_il(_3l._Bl, "skill_points"), 0)) {
{
_3m(15);
return;
}
}
_go(_3l._ho, 0);
_go(_3l._io, 0);
_go(_3l._jo, 0);
_go(_3l._ko, 0);
_go(_3l._lo, 1);
}
}
}
}
}
function _kf(_3l, _4l) {
if (!yyGetBool(_tl(_3l._Bl, 1))) {
return;
}
_jL(_3l, 68, _3l._0_, _3l._ZZ, _3l.__Z, 1, 1, 0, global._bm, 1);
_jL(_3l, 69, _3l._3_, _3l._1_, _3l._2_, 1, 1, 0, global._bm, 1);
_jL(_3l, 58, _26(_3l, _4l, _il(_3l._Bl, "attitude")), _3l._XZ, _3l._YZ, 1, 1, 0, 16777215, 1);
_hL(_3l, 60, 0, _3l._PZ, _3l._QZ);
if (yyfnotequal(_3l._UZ, 16777215)) {
{
_2T(yyfminus(_sl(_3l._RZ), 1), yyfplus(_sl(_3l._SZ), 1), _3l._TZ, 0, 0, 0, 0, 1);
_2T(_3l._RZ, _3l._SZ, _3l._TZ, _3l._UZ, _3l._UZ, _3l._UZ, _3l._UZ, 1);
_hL(_3l, 61, _3l._VZ, _3l._WZ, _3l._SZ);
}
} else {
_2T(_3l._RZ, _3l._SZ, _3l._TZ, _3l._UZ, _3l._UZ, _3l._UZ, _3l._UZ, 1);
}
if (yyfgreater(_3l._6_, 0)) {
_jL(_3l, 59, 0, _3l._6_, _3l._7_, 1, 1, 0, 16777215, yyfdivide(_sl(yyfplus(_sl(sin(yyfdivide(_sl(_rn._up()), 160))), 1)), 2));
}
}
function _mf(_3l, _4l) {
_vl(_0m(_3l, _4l, 42)._tn, "xp_gain", yyfminus(_sl(_3l._qI), _sl(_il(_0m(_3l, _4l, 42)._tn, "xp"))));
}
function _nf(_3l, _4l) {
_DS(_3l, _4l);
}
function _of(_3l, _4l) {
_3l._f_ = _yl();
_3l._Bl = _0m(_3l, _4l, 42)._tn;
if (yyfequal(_3l._Bl, -4)) {
return;
}
var _g_ = "";
var _wu = _o5(_3l, _4l);
if (yyGetBool(_wu)) {
{
if (yyfequal(_il(_wu, "away_team"), _0m(_3l, _4l, 42)._Fm)) {
_g_ = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "tla_At")), " "), _sl(_l9(_3l, _4l, _il(_wu, "home_team"))));
} else {
_g_ = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "tla_Versus")), " "), _sl(_l9(_3l, _4l, _il(_wu, "away_team"))));
}
}
}
var _yn = _il(_3l._Bl, "position");
_0m(_3l, _4l, 100288)._mm = yyfplus(yyfplus(yyfplus(yyfplus(_sl(_99(_3l, _4l, _yn)), " - "), _sl(_il(_3l._Bl, "fname"))), " "), _sl(_il(_3l._Bl, "lname")));
var _h_ = "";
var _ax = _ul(_il(_3l._Bl, "stat_attempts"));
var _i_ = _ul(_il(_3l._Bl, "stat_complete"));
var _bx = _ul(round(_il(_3l._Bl, "stat_yards")));
var _iw = _39(_3l, _4l, _p8(_3l, _4l, _3l._Bl, 0, 0), 1);
var _j_ = _ul(round(_il(_3l._Bl, "stat_longest")));
var _cx = _ul(_il(_3l._Bl, "stat_touchdowns"));
var _dx = _ul(_il(_3l._Bl, "stat_fumbles"));
var _ex = _ul(_il(_3l._Bl, "stat_tackles"));
var _k_ = _ul(_il(_3l._Bl, "stat_int"));
var _l_ = _ul(_il(_3l._Bl, "stat_sacks"));
if (yyGetBool(yyGetBool(yyfequal(_yn, 1)) || yyGetBool(yyfequal(_yn, 10))) && yyGetBool(yyfgreater(_il(_3l._Bl, "stat_attempts"), 0))) {
_i_ = yyfplus(_i_, yyfplus(yyfplus(" (", _sl(_ul(round(yyftime(_sl(yyfdivide(_sl(_il(_3l._Bl, "stat_complete")), _sl(_il(_3l._Bl, "stat_attempts")))), 100))))), "%)"));
}
var _m_ = _ul(_il(_3l._Bl, "stat_rush_attempts"));
var _n_ = _ul(round(_il(_3l._Bl, "stat_rush_yards")));
var _o_ = _39(_3l, _4l, _p8(_3l, _4l, _3l._Bl, 0, 1), 1);
var _p_ = _ul(round(_il(_3l._Bl, "stat_rush_longest")));
var _q_ = _ul(_il(_3l._Bl, "stat_rush_touchdowns"));
var _r_ = _3l._fw;
var _s_ = -1;
if (yyCompareVal(_r_, 1, g_GMLMathEpsilon) == 0) {
_s_ = 0;
} else if (yyCompareVal(_r_, 2, g_GMLMathEpsilon) == 0) {
_s_ = 1;
}
switch (_s_) {
case 0: {
_g_ = "";
_h_ = _ul(_il(_3l._Bl, "season_games"));
_ax = _ul(_il(_3l._Bl, "season_attempts"));
_i_ = _ul(_il(_3l._Bl, "season_complete"));
_bx = _ul(round(_il(_3l._Bl, "season_yards")));
_iw = _39(_3l, _4l, _p8(_3l, _4l, _3l._Bl, 1, 0), 1);
_j_ = _ul(round(_il(_3l._Bl, "season_longest")));
_cx = _ul(_il(_3l._Bl, "season_touchdowns"));
_dx = _ul(_il(_3l._Bl, "season_fumbles"));
_ex = _ul(_il(_3l._Bl, "season_tackles"));
_k_ = _ul(_il(_3l._Bl, "season_int"));
_l_ = _ul(_il(_3l._Bl, "season_sacks"));
if (yyGetBool(yyGetBool(yyfequal(_yn, 1)) || yyGetBool(yyfequal(_yn, 10))) && yyGetBool(yyfgreater(_il(_3l._Bl, "season_attempts"), 0))) {
_i_ = yyfplus(_i_, yyfplus(yyfplus(" (", _sl(_ul(round(yyftime(_sl(yyfdivide(_sl(_il(_3l._Bl, "season_complete")), _sl(_il(_3l._Bl, "season_attempts")))), 100))))), "%)"));
}
_m_ = _ul(_il(_3l._Bl, "season_rush_attempts"));
_n_ = _ul(round(_il(_3l._Bl, "season_rush_yards")));
_o_ = _39(_3l, _4l, _p8(_3l, _4l, _3l._Bl, 1, 1), 1);
_p_ = _ul(round(_il(_3l._Bl, "season_rush_longest")));
_q_ = _ul(_il(_3l._Bl, "season_rush_touchdowns"));
break;
}
case 1: {
_g_ = "";
_h_ = _ul(_il(_3l._Bl, "career_games"));
_ax = _ul(_il(_3l._Bl, "career_attempts"));
_i_ = _ul(_il(_3l._Bl, "career_complete"));
_bx = _ul(round(_il(_3l._Bl, "career_yards")));
_iw = _39(_3l, _4l, _p8(_3l, _4l, _3l._Bl, 2, 0), 1);
_j_ = _ul(round(_il(_3l._Bl, "career_longest")));
_cx = _ul(_il(_3l._Bl, "career_touchdowns"));
_dx = _ul(_il(_3l._Bl, "career_fumbles"));
_ex = _ul(_il(_3l._Bl, "career_tackles"));
_k_ = _ul(_il(_3l._Bl, "career_int"));
_l_ = _ul(_il(_3l._Bl, "career_sacks"));
if (yyGetBool(yyGetBool(yyfequal(_yn, 1)) || yyGetBool(yyfequal(_yn, 10))) && yyGetBool(yyfgreater(_il(_3l._Bl, "career_attempts"), 0))) {
_i_ = yyfplus(_i_, yyfplus(yyfplus(" (", _sl(_ul(round(yyftime(_sl(yyfdivide(_sl(_il(_3l._Bl, "career_complete")), _sl(_il(_3l._Bl, "career_attempts")))), 100))))), "%)"));
}
_m_ = _ul(_il(_3l._Bl, "career_rush_attempts"));
_n_ = _ul(round(_il(_3l._Bl, "career_rush_yards")));
_o_ = _39(_3l, _4l, _p8(_3l, _4l, _3l._Bl, 2, 1), 1);
_p_ = _ul(round(_il(_3l._Bl, "career_rush_longest")));
_q_ = _ul(_il(_3l._Bl, "career_rush_touchdowns"));
break;
}
}
var _t_ = _yn;
var _u_ = -1;
if (yyCompareVal(_t_, 1, g_GMLMathEpsilon) == 0) {
_u_ = 0;
} else if (yyCompareVal(_t_, 2, g_GMLMathEpsilon) == 0) {
_u_ = 1;
} else if (yyCompareVal(_t_, 3, g_GMLMathEpsilon) == 0 || yyCompareVal(_t_, 4, g_GMLMathEpsilon) == 0) {
_u_ = 2;
} else if (yyCompareVal(_t_, 10, g_GMLMathEpsilon) == 0) {
_u_ = 3;
} else if (yyCompareVal(_t_, 5, g_GMLMathEpsilon) == 0) {
_u_ = 4;
} else if (yyCompareVal(_t_, 6, g_GMLMathEpsilon) == 0 || yyCompareVal(_t_, 7, g_GMLMathEpsilon) == 0 || yyCompareVal(_t_, 8, g_GMLMathEpsilon) == 0 || yyCompareVal(_t_, 9, g_GMLMathEpsilon) == 0) {
_u_ = 5;
}
switch (_u_) {
case 0: {
var _v_ = _0m(_3l, _4l, 42)._2o;
var _w_ = -1;
if (yyCompareVal(_v_, 1, g_GMLMathEpsilon) == 0) {
_w_ = 0;
} else if (yyCompareVal(_v_, 2, g_GMLMathEpsilon) == 0) {
_w_ = 1;
}
switch (_w_) {
case 0: {
_Cl(_3l._f_, yyfplus("shad_", _sl(_Q8(_3l, _4l, "ui_Passing"))));
if (yyfnotequal(_g_, "")) {
_Cl(_3l._f_, _g_);
}
if (yyfnotequal(_h_, "")) {
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_games")), ": "), _sl(_h_)));
}
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_attempts")), ": "), _sl(_ax)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_complete")), ": "), _sl(_i_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_yards")), ": "), _sl(_bx)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_average")), ": "), _sl(_iw)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_longest")), ": "), _sl(_j_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_touchdowns")), ": "), _sl(_cx)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_fumbles")), ": "), _sl(_dx)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_int")), ": "), _sl(_k_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_sacks")), ": "), _sl(_l_)));
break;
}
case 1: {
_Cl(_3l._f_, yyfplus("shad_", _sl(_Q8(_3l, _4l, "ui_Rushing"))));
if (yyfnotequal(_g_, "")) {
_Cl(_3l._f_, _g_);
}
if (yyfnotequal(_h_, "")) {
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_games")), ": "), _sl(_h_)));
}
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_attempts")), ": "), _sl(_m_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_yards")), ": "), _sl(_n_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_average")), ": "), _sl(_o_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_longest")), ": "), _sl(_p_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_touchdowns")), ": "), _sl(_q_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_fumbles")), ": "), _sl(_dx)));
break;
}
}
break;
}
case 1: {
var _x_ = _0m(_3l, _4l, 42)._2o;
var _y_ = -1;
if (yyCompareVal(_x_, 1, g_GMLMathEpsilon) == 0) {
_y_ = 0;
} else if (yyCompareVal(_x_, 2, g_GMLMathEpsilon) == 0) {
_y_ = 1;
}
switch (_y_) {
case 0: {
_Cl(_3l._f_, yyfplus("shad_", _sl(_Q8(_3l, _4l, "ui_Receiving"))));
if (yyfnotequal(_g_, "")) {
_Cl(_3l._f_, _g_);
}
if (yyfnotequal(_h_, "")) {
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_games")), ": "), _sl(_h_)));
}
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_attempts")), ": "), _sl(_ax)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_yards")), ": "), _sl(_bx)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_average")), ": "), _sl(_iw)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_longest")), ": "), _sl(_j_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_touchdowns")), ": "), _sl(_cx)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_fumbles")), ": "), _sl(_dx)));
break;
}
case 1: {
_Cl(_3l._f_, yyfplus("shad_", _sl(_Q8(_3l, _4l, "ui_Rushing"))));
if (yyfnotequal(_g_, "")) {
_Cl(_3l._f_, _g_);
}
if (yyfnotequal(_h_, "")) {
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_games")), ": "), _sl(_h_)));
}
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_attempts")), ": "), _sl(_m_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_yards")), ": "), _sl(_n_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_average")), ": "), _sl(_o_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_longest")), ": "), _sl(_p_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_touchdowns")), ": "), _sl(_q_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_fumbles")), ": "), _sl(_dx)));
break;
}
}
break;
}
case 2: {
_Cl(_3l._f_, yyfplus("shad_", _sl(_Q8(_3l, _4l, "ui_Receiving"))));
if (yyfnotequal(_g_, "")) {
_Cl(_3l._f_, _g_);
}
if (yyfnotequal(_h_, "")) {
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_games")), ": "), _sl(_h_)));
}
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_receive")), ": "), _sl(_ax)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_yards")), ": "), _sl(_bx)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_average")), ": "), _sl(_iw)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_longest")), ": "), _sl(_j_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_touchdowns")), ": "), _sl(_cx)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_fumbles")), ": "), _sl(_dx)));
break;
}
case 3: {
_Cl(_3l._f_, yyfplus("shad_", _sl(_Q8(_3l, _4l, "ui_Kicking"))));
if (yyfnotequal(_g_, "")) {
_Cl(_3l._f_, _g_);
}
if (yyfnotequal(_h_, "")) {
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_games")), ": "), _sl(_h_)));
}
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_fga")), ": "), _sl(_ax)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_fgm")), ": "), _sl(_i_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_yards")), ": "), _sl(_bx)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_average")), ": "), _sl(_iw)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_longest")), ": "), _sl(_j_)));
break;
}
case 4: {
_Cl(_3l._f_, yyfplus("shad_", _sl(_Q8(_3l, _4l, "ui_Tackling"))));
if (yyfnotequal(_g_, "")) {
_Cl(_3l._f_, _g_);
}
if (yyfnotequal(_h_, "")) {
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_games")), ": "), _sl(_h_)));
}
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_tackles")), ": "), _sl(_ex)));
break;
}
case 5: {
_Cl(_3l._f_, yyfplus("shad_", _sl(_Q8(_3l, _4l, "ui_Defense"))));
if (yyfnotequal(_g_, "")) {
_Cl(_3l._f_, _g_);
}
if (yyfnotequal(_h_, "")) {
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_games")), ": "), _sl(_h_)));
}
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_tackles")), ": "), _sl(_ex)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_int")), ": "), _sl(_k_)));
_Cl(_3l._f_, yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_stat_sacks")), ": "), _sl(_l_)));
break;
}
}
}
function _pf(_3l, _4l) {
_Fl(_3l._f_);
}
function _qf(_3l, _4l) {}
function _rf(_3l, _4l) {
_YK(0);
_ZK(0);
var _1L = yyfplus(_sl(_3l.x), 16);
var _1r = yyfplus(_sl(_3l.y), 16);
var _NZ = 0;
for (; yyfless(_NZ, _el(_3l._f_)); _NZ++) {
{
var _sr = _hl(_3l._f_, _NZ);
if (yyGetBool(_tq("shad_", _sr))) {
{
_eT(yyfminus(_sl(_1L), 1), yyfplus(_sl(_1r), 1), _Pl(_sr, "shad_", ""), 0, 0, 0, 0, 1);
}
}
_5L(_1L, _1r, _Pl(_sr, "shad_", ""));
_1r = yyfplus(_1r, 14);
}
}
}
function _sf(_3l, _4l) {
_DS(_3l, _4l);
_3l._fw = 0;
}
function _tf(_3l, _4l) {
_3l._Bl = _0m(_3l, _4l, 42)._tn;
if (yyfequal(_3l._Bl, -4)) {
return;
}
_YK(0);
_ZK(0);
__K(1);
_0m(_3l, _4l, 100257)._Bl = _0m(_3l, _4l, 42)._tn;
_0m(_3l, _4l, 100257)._6r = 0 ? 1 : 0;
_0m(_3l, _4l, 100253)._Pq = _a9(_3l, _4l, _il(_3l._Bl, "position"));
_0m(_3l, _4l, 100254)._mm = yyfplus(yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Name")), ": "), _sl(_il(_3l._Bl, "fname"))), " "), _sl(_il(_3l._Bl, "lname")));
_0m(_3l, _4l, 100255)._mm = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Age")), ": "), _sl(_ul(_il(_3l._Bl, "age"))));
_0m(_3l, _4l, 100256)._mm = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Attitude")), ": "), _sl(_b9(_3l, _4l, _il(_3l._Bl, "attitude"))));
_3l._z_ = _26(_3l, _4l, _il(_3l._Bl, "attitude"));
_0m(_3l, _4l, 100264)._mm = yyfplus(yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Contract")), ": "), _sl(_ul(_il(_3l._Bl, "contract")))), _sl(_Q8(_3l, _4l, "sla_Year")));
_0m(_3l, _4l, 100262)._mm = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_Trait")), ": "), _sl(_g9(_3l, _4l, _il(_3l._Bl, "trait"))));
_3l._c_ = _MW("Instances_Nav");
_go(_3l._c_, 1);
_3l._ko = _MW("Instances_XP_Continue");
_go(_3l._ko, 0);
_3l._A_ = _MW("Instances_Hire");
_go(_3l._A_, 0);
_go(_3l._A_, 1);
if (yyfless(_Dl(_0m(_3l, _4l, 42)._Vo, _3l._Bl), 0)) {
{
_0m(_3l, _4l, 100264)._mm = "";
_0m(_3l, _4l, 100247)._mm = _Q8(_3l, _4l, "ui_Hire");
_0m(_3l, _4l, 100252)._mm = _Q8(_3l, _4l, "ui_AvailableStaff");
}
} else {
{
_0m(_3l, _4l, 100247)._mm = _Q8(_3l, _4l, "ui_ExtendContract");
{
var _B_ = _8l(100257);
for (var _C_ in _B_) {
if (!_B_.hasOwnProperty(_C_)) continue;
var _D_ = _B_[_C_];
if (_D_._bl) continue;
if (!_D_._cl) continue;
_s9(_D_, _3l, _0m(_3l, _4l, 42)._Dm);
}
}
}
}
_3l._qI = yyftime(_sl(_il(_3l._Bl, "xp_level")), 100);
_3l._hw = yyftime(_sl(yyfdivide(_sl(_il(_3l._Bl, "xp")), _sl(_3l._qI))), 100);
_0m(_3l, _4l, 100261)._Pq = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_XPLevel")), " "), _sl(_ul(_il(_3l._Bl, "xp_level"))));
_0m(_3l, _4l, 100261)._eo = _3l._hw;
}
function _uf(_3l, _4l) {
_0m(_3l, _4l, 100260)._mm = _36(_3l, _4l);
if (yyfgreater(_il(_3l._Bl, "xp_gain"), 0)) {
{
_go(_3l._c_, 0);
_vl(_3l._Bl, "xp_gain", yyfminus(_sl(_il(_3l._Bl, "xp_gain")), 1));
_vl(_3l._Bl, "xp", yyfplus(_sl(_il(_3l._Bl, "xp")), 1));
if (yyfgreater(_il(_3l._Bl, "xp"), _3l._qI)) {
{
_vl(_3l._Bl, "xp", 1);
_vl(_3l._Bl, "xp_level", yyfplus(_sl(_il(_3l._Bl, "xp_level")), 1));
var _5G = yyfplus(_sl(_0m(_3l, _4l, 100261).x), _sl(yyftime(_sl(_0m(_3l, _4l, 100261)._OM()), 0.9)));
var _6G = yyfplus(_sl(_0m(_3l, _4l, 100261).y), _sl(yyftime(_sl(_0m(_3l, _4l, 100261)._Vs()), 0.5)));
if (yyfless(_il(_3l._Bl, "rating"), 10)) {
{
var _CZ = yyfplus(_sl(_0m(_3l, _4l, 100257).x), _sl(yyftime(_sl(_0m(_3l, _4l, 100257)._OM()), 0.5)));
var _DZ = yyfplus(_sl(_0m(_3l, _4l, 100257).y), _sl(yyftime(_sl(_0m(_3l, _4l, 100257)._Vs()), 0.8)));
_A5(_3l, _4l, _5G, _6G, _CZ, _DZ, 1, 2, _3l._Bl);
}
} else {
{
_A5(_3l, _4l, _5G, _6G, _0m(_3l, _4l, 100260).x, _0m(_3l, _4l, 100260).y, 1, 1, -4);
}
}
return;
}
}
_3l._hw = yyftime(_sl(yyfdivide(_sl(_il(_3l._Bl, "xp")), _sl(_3l._qI))), 100);
_0m(_3l, _4l, 100261)._Pq = yyfplus(yyfplus(_sl(_Q8(_3l, _4l, "ui_XPLevel")), " "), _sl(_ul(_il(_3l._Bl, "xp_level"))));
_0m(_3l, _4l, 100261)._eo = _3l._hw;
if (yyfless(_il(_3l._Bl, "xp_gain"), 1)) {
{
_vl(_3l._Bl, "xp_gain", 0);
_go(_3l._ko, 1);
}
}
}
}
}
function _vf(_3l, _4l) {
_hL(_3l, 58, _3l._z_, yyfplus(_sl(_0m(_3l, _4l, 100256).x), _sl(_3L(yyfplus(_sl(_0m(_3l, _4l, 100256)._mm), " ")))), _0m(_3l, _4l, 100256).y);
}
function _wf(_3l, _4l) {
_DS(_3l, _4l);
}
function _xf(_3l, _4l) {
_0m(_3l, _4l, 42)._Um = _b8(_3l, _4l, _0m(_3l, _4l, 42)._Um, 3);
var _Wr = _el(_0m(_3l, _4l, 42)._Um);
var _Os = round(yyftime(_sl(_rn._Ps), 0.5));
var _Qs = round(yyftime(_sl(_rn._Rs), 0.45));
var _Ss = yyfplus(_sl(_Ts(109)), 8);
if (yyfgreater(_Wr, 5)) {
{
_Qs = yyfminus(_Qs, 44);
_Os = yyfminus(_Os, yyftime(4, _sl(yyftime(_sl(_Ss), 0.5))));
}
} else {
{
_Os = yyfminus(_Os, yyftime(_sl(yyfminus(_sl(_Wr), 1)), _sl(yyftime(_sl(_Ss), 0.5))));
}
}
var _Is = 0;
for (; yyfless(_Is, _Wr); _Is++) {
{
_3l._E_ = _vp(_3l._E_, 917944806);
_3l._E_[_wp(_Is)] = _Oq(0, 0, "Instances", 16);
_0m(_3l, _4l, _3l._E_[_Tn(_Is, _3l._E_)])._Bl = _hl(_0m(_3l, _4l, 42)._Um, _Is);
{
var _F_ = _8l(_3l._E_[_Tn(_Is, _3l._E_)]);
for (var _G_ in _F_) {
if (!_F_.hasOwnProperty(_G_)) continue;
var _H_ = _F_[_G_];
if (_H_._bl) continue;
if (!_H_._cl) continue;
_s9(_H_, _3l, _0m(_3l, _4l, 42)._Dm);
}
}
_0m(_3l, _4l, _3l._E_[_Tn(_Is, _3l._E_)])._kr(yyfminus(_sl(_Os), _sl(yyftime(_sl(_Ss), 0.5))));
_0m(_3l, _4l, _3l._E_[_Tn(_Is, _3l._E_)])._Us(yyfminus(_sl(_Qs), _sl(yyftime(_sl(_0m(_3l, _4l, _3l._E_[_Tn(0, _3l._E_)])._Vs()), 0.5))));
_Os = yyfplus(_Os, _Ss);
if (yyfequal(_Is, 4)) {
{
var _ql = yyfminus(_sl(_Wr), 5);
_Os = yyftime(_sl(_rn._Ps), 0.5);
_Os = yyfminus(_Os, yyftime(_sl(yyfminus(_sl(_ql), 1)), _sl(yyftime(_sl(_Ss), 0.5))));
_Qs = yyfplus(_Qs, 88);
}
}
}
}
_0m(_3l, _4l, 100266)._5r = 100;
{
var _I_ = _8l(42);
for (var _J_ in _I_) {
if (!_I_.hasOwnProperty(_J_)) continue;
var _K_ = _I_[_J_];
if (_K_._bl) continue;
if (!_K_._cl) continue;
{
if (yyGetBool(_K_._Ym)) {
_0m(_3l, _4l, 100266)._5r = 87;
} else {
if (yyfgreater(_el(_K_._zn), 0)) {
_0m(_3l, _4l, 100266)._5r = 87;
} else {
if (yyfgreater(_el(_K_._An), 0)) {
_0m(_3l, _4l, 100266)._5r = 87;
} else {
if (yyfgreater(_el(_K_._Bn), 0)) {
_0m(_3l, _4l, 100266)._5r = 87;
}
}
}
}
}
}
}
var _L_ = _0m(_3l, _4l, 42)._cq;
var _M_ = -1;
if (
yyCompareVal(_L_, 1, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_L_, 2, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_L_, 3, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_L_, 4, g_GMLMathEpsilon) == 0 ||
yyCompareVal(_L_, 5, g_GMLMathEpsilon) == 0
) {
_M_ = 0;
} else if (yyCompareVal(_L_, 6, g_GMLMathEpsilon) == 0) {
_M_ = 1;
} else if (yyCompareVal(_L_, 7, g_GMLMathEpsilon) == 0) {
_M_ = 2;
}
switch (_M_) {
case 0: {
_0m(_3l, _4l, _3l._E_[_Tn(0, _3l._E_)])._eU = 1 ? 1 : 0;
_0m(_3l, _4l, 100266)._6r = 0 ? 1 : 0;
break;
}
case 1: {
_0m(_3l, _4l, 100266)._fo = 1 ? 1 : 0;
}
case 2: {
break;
}
default: {
return;
break;
}
}
_b6(_3l, _4l);
if (yyfequal(_r9(_3l, _4l, _0m(_3l, _4l, 42)._Dm), 10)) {
_J2(_3l, _4l, "ACH_DEFENSE5");
}
if (yyfequal(_q9(_3l, _4l, _0m(_3l, _4l, 42)._Dm), 10)) {
_J2(_3l, _4l, "ACH_OFFENSE5");
}
}
function _yf(_3l, _4l) {
_DS(_3l, _4l);
_3l._Js = _vp(_3l._Js, 4083195518);
_3l._Js[_wp(5)] = 16;
_3l._8O = 2;
}
function _zf(_3l, _4l) {
_A9(_3l, _4l, "obj_draft");
if (!yyGetBool(_0m(_3l, _4l, 42)._yt)) {
{
_T5(_3l, _4l, "info_Draft");
_0m(_3l, _4l, 42)._yt = 1 ? 1 : 0;
}
}
var _No = 0;
{
var _N_ = _8l(42);
for (var _O_ in _N_) {
if (!_N_.hasOwnProperty(_O_)) continue;
var _P_ = _N_[_O_];
if (_P_._bl) continue;
if (!_P_._cl) continue;
{
_No = _P_._Sn[_Tn(yyfminus(_sl(_P_._Zn), 1), _P_._Sn)];
if (yyfequal(_No, 0)) {
{
_Z4(_P_, _3l, 0);
return;
}
}
_P_._zn = _b8(_P_, _3l, _P_._zn, 2);
}
}
}
_0m(_3l, _4l, 100022)._mm = _Pl(_Q8(_3l, _4l, "ui_DraftRound"), "$num", _ul(_0m(_3l, _4l, 42)._Zn));
_0m(_3l, _4l, 100025)._mm = _Q8(_3l, _4l, "ui_Picks");
_0m(_3l, _4l, 100024)._mm = _ul(_No);
_0m(_3l, _4l, 100024)._7T = 1 ? 1 : 0;
_3l._Jo = floor(yyfdivide(_sl(_el(_0m(_3l, _4l, 42)._zn)), 10));
if (yyfless(_3l._Jo, 1)) {
_3l._Jo = 1;
}
_0m(_3l, _4l, 42)._Io = _cm(_0m(_3l, _4l, 42)._Io, 1, _3l._Jo);
_Q4(_3l, _4l);
if (yyGetBool(_0m(_3l, _4l, 42)._bt)) {
_18(_3l, _4l);
}
}
function _Af(_3l, _4l) {
_DS(_3l, _4l);
_3l._Js = _vp(_3l._Js, 4083195518);
_3l._Js[_wp(5)] = 16;
}
function _Bf(_3l, _4l) {
_R4(_3l, _4l);
_15(_3l, _4l);
}
function _Cf(_3l, _4l) {
_DS(_3l, _4l);
_3l._Js = _vp(_3l._Js, 4083195518);
_3l._Js[_wp(5)] = 16;
_3l._8O = 2;
}
function _Df(_3l, _4l) {
if (yyfequal(_0m(_3l, _4l, 42)._sm, 1)) {
{
_y5(_3l, _4l, 100276, 0);
_y5(_3l, _4l, 100278, 1);
}
} else {
{
_y5(_3l, _4l, 100276, 1);
_y5(_3l, _4l, 100278, 2);
}
}
}
function _Ef(_3l, _4l) {}
function _Ff(_3l, _4l) {
_DS(_3l, _4l);
}
function _Gf(_3l, _4l) {
_DS(_3l, _4l);
}
function _Uf(_3l, _4l) {
_3l._1r = 128;
_3l._mm = _Q8(_3l, _3l, "ui_RetroBowl");
}
function _cg(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _dg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_NewCareer");
}
function _eg(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_YourName");
}
function _fg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Continue");
_3l._4r = 26;
}
function _gg(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_FavoriteTeam");
}
function _hg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Change");
_3l._4r = 19;
}
function _ig(_3l, _4l) {
_3l._mm = "";
_3l._4T = 100007;
}
function _jg(_3l, _4l) {
_3l._mm = "";
}
function _kg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_FirstName");
_3l.__S = 2;
_3l._5T = 0 ? 1 : 0;
}
function _lg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_LastName");
_3l.__S = 2;
_3l._5T = 0 ? 1 : 0;
}
function _mg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_FaveTeamNote");
_3l._5T = 0 ? 1 : 0;
} // title=s_str("@");
function _ng(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "@");
}
function _og(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
}
function _pg(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _qg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_ChooseTeam");
}
function _rg(_3l, _4l) {
_3l._4r = 20;
_3l._mm = _Q8(_3l, _3l, "conf_AFC");
_3l._mT = 76;
}
function _sg(_3l, _4l) {
_3l._4r = 21;
_3l._mm = _Q8(_3l, _3l, "conf_NFC");
_3l._mT = 76;
}
function _tg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_RejectAll");
_3l._4r = 24;
}
function _ug(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _vg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Draft");
}
function _wg(_3l, _4l) {
_3l._5T = 1 ? 1 : 0;
}
function _xg(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
}
function _yg(_3l, _4l) {
_3l._5r = 88;
_3l._4r = 70;
_3l._zT = 1 ? 1 : 0;
}
function _zg(_3l, _4l) {
_3l._5r = 90;
_3l._4r = 71;
_3l._zT = 1 ? 1 : 0;
}
function _Ag(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
}
function _Bg(_3l, _4l) {
_3l._4r = 68;
_3l._mm = _Q8(_3l, _3l, "ui_Roster");
}
function _Cg(_3l, _4l) {
_3l._4r = 72;
_3l._5r = 89;
}
function _Dg(_3l, _4l) {
_3l._MU = "info_Draft";
}
function _Eg(_3l, _4l) {
_3l._mm = _36(_3l, _3l);
_3l._hr = 57;
}
function _Fg(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _Gg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Continue");
_3l._yT = 91;
}
function _Hg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "game_Title");
}
function _Ig(_3l, _4l) {
_3l._4r = 31;
}
function _Jg(_3l, _4l) {
_3l._4r = 32;
_3l._5r = 99;
}
function _Kg(_3l, _4l) {
_3l._4r = 68;
_3l._mm = _Q8(_3l, _3l, "ui_Roster");
}
function _Lg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "btn_FrontOffice");
_3l._4r = 27;
}
function _Mg(_3l, _4l) {
_3l._mm = _79(_3l, _3l, 1);
}
function _Ng(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "btn_HallOfFame");
_3l._4r = 29;
}
function _Og(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "msg_LimitedVersion");
_3l._5T = 0 ? 1 : 0;
}
function _Pg(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _Qg(_3l, _4l) {
_3l._4r = 34;
_3l._mm = _Q8(_3l, _3l, "ui_Restart");
}
function _Rg(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Options");
}
function _Sg(_3l, _4l) {
_3l._4r = 30;
_3l._5r = 87;
}
function _Tg(_3l, _4l) {
_3l._4r = 35;
_3l._mm = _Q8(_3l, _3l, "ui_driveLeft");
}
function _Ug(_3l, _4l) {
_3l._4r = 36;
_3l._mm = _Q8(_3l, _3l, "ui_driveRight");
}
function _Vg(_3l, _4l) {
_3l._4r = 37;
_3l._mm = _Q8(_3l, _3l, "ui_driveBoth");
}
function _Wg(_3l, _4l) {
_3l._4r = 38;
}
function _Xg(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_DriveDirection");
}
function _Yg(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_NewGame");
}
function _Zg(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Scanlines");
}
function __g(_3l, _4l) {
_3l._MU = "info_Options_DriveDirection";
}
function _0h(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l.__S = 2;
}
function _1h(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_WeatherFX");
}
function _2h(_3l, _4l) {
_3l._4r = 41;
}
function _3h(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Tips");
}
function _4h(_3l, _4l) {
_3l._4r = 39;
}
function _5h(_3l, _4l) {
_3l._4r = 40;
}
function _6h(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_SoundFX");
}
function _7h(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Zoom");
}
function _8h(_3l, _4l) {
_3l._4r = 42;
}
function _9h(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Music");
}
function _ah(_3l, _4l) {
_3l._4r = 43;
}
function _bh(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Credits");
_3l._5T = 0 ? 1 : 0;
}
function _ch(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _dh(_3l, _4l) {
_3l._5r = 100;
_3l._4r = 74;
}
function _eh(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Roster");
_3l._4r = 68;
}
function _fh(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_FreeAgents");
}
function _gh(_3l, _4l) {
_3l._MU = "info_FreeAgents";
}
function _hh(_3l, _4l) {
_3l._mm = _36(_3l, _3l);
_3l._hr = 57;
}
function _ih(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _jh(_3l, _4l) {
_3l._5r = 87;
_3l._4r = 83;
}
function _kh(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Roster");
_3l._4r = 68;
}
function _lh(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_FreeAgents");
}
function _mh(_3l, _4l) {
_3l._mm = _36(_3l, _3l);
_3l._hr = 57;
}
function _nh(_3l, _4l) {
_3l._hr = 57;
}
function _oh(_3l, _4l) {
_3l._hr = 57;
}
function _ph(_3l, _4l) {
_3l._hr = 57;
}
function _qh(_3l, _4l) {
_3l._hr = 57;
}
function _rh(_3l, _4l) {
_3l._hr = 57;
}
function _sh(_3l, _4l) {
_3l._hr = 57;
}
function _th(_3l, _4l) {
_3l._hr = 57;
}
function _uh(_3l, _4l) {
_3l._hr = 57;
}
function _vh(_3l, _4l) {
_3l._hr = 57;
}
function _wh(_3l, _4l) {
_3l._MU = "info_freeagents";
}
function _xh(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _yh(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_FrontOffice");
}
function _zh(_3l, _4l) {
_3l._4r = 30;
_3l._5r = 100;
}
function _Ah(_3l, _4l) {
_3l._Pq = "Title";
}
function _Bh(_3l, _4l) {
_3l._4r = 5;
_3l._5r = 57;
}
function _Ch(_3l, _4l) {
_3l._4r = 6;
_3l._5r = 57;
}
function _Dh(_3l, _4l) {
_3l._4r = 7;
_3l._5r = 57;
}
function _Eh(_3l, _4l) {
_3l._MU = "info_Facility_Stadium";
}
function _Fh(_3l, _4l) {
_3l._MU = "info_Facility_Training";
}
function _Gh(_3l, _4l) {
_3l._MU = "info_Facility_Rehab";
}
function _Hh(_3l, _4l) {
_3l._4r = 76;
}
function _Ih(_3l, _4l) {
_3l._4r = 76;
}
function _Jh(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Coordinators");
}
function _Kh(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
}
function _Lh(_3l, _4l) {
_3l._MU = "info_DraftPicks";
}
function _Mh(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_DraftPicks");
}
function _Nh(_3l, _4l) {
_3l._mm = _36(_3l, _3l);
_3l._hr = 57;
}
function _Oh(_3l, _4l) {
_3l._4r = 81;
_3l._mm = _Q8(_3l, _3l, "btn_StaffHires");
}
function _Ph(_3l, _4l) {
_3l._4r = 28;
_3l._mm = _Q8(_3l, _3l, "btn_FreeAgents");
}
function _Qh(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _Rh(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_HallOfFame");
}
function _Sh(_3l, _4l) {
_3l._4r = 30;
_3l._5r = 100;
}
function _Th(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Achievements");
}
function _Uh(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_RetroBowls");
}
function _Vh(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_History");
}
function _Wh(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _Xh(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_League");
}
function _Yh(_3l, _4l) {
_3l._4r = 8;
_3l._5r = 100;
}
function _Zh(_3l, _4l) {
_3l._6r = 0 ? 1 : 0;
}
function __h(_3l, _4l) {
_3l._6r = 0 ? 1 : 0;
}
function _0i(_3l, _4l) {
_3l._6r = 0 ? 1 : 0;
}
function _1i(_3l, _4l) {
_3l._6r = 0 ? 1 : 0;
}
function _2i(_3l, _4l) {
_3l._4r = 11;
_3l._mm = _Q8(_3l, _3l, "conf_AFC");
}
function _3i(_3l, _4l) {
_3l._4r = 10;
_3l._mm = _Q8(_3l, _3l, "conf_NFC");
}
function _4i(_3l, _4l) {
_3l._4r = 12;
_3l._mm = _Q8(_3l, _3l, "ui_Schedule");
}
function _5i(_3l, _4l) {
_3l._5r = 88;
_3l._4r = 13;
_3l._zT = 1 ? 1 : 0;
}
function _6i(_3l, _4l) {
_3l._5r = 90;
_3l._4r = 14;
_3l._zT = 1 ? 1 : 0;
}
function _7i(_3l, _4l) {
_3l._4r = 15;
_3l._mm = _Q8(_3l, _3l, "ui_PlayOffs");
}
function _ai(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _bi(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
}
function _ci(_3l, _4l) {
_3l._4r = 16;
_3l._5r = 87;
}
function _di(_3l, _4l) {
_3l._4r = 17;
_3l._mm = _Q8(_3l, _3l, "ui_Play");
}
function _ei(_3l, _4l) {
_3l._4r = 18;
_3l._mm = _Q8(_3l, _3l, "ui_Skip");
}
function _fi(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "conf_AFC");
}
function _gi(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "conf_NFC");
}
function _hi(_3l, _4l) {
_3l._rm = 0;
_3l._mm = _Q8(_3l, _3l, "conf_AFC");
}
function _ii(_3l, _4l) {
_3l._rm = 1;
_3l._mm = _Q8(_3l, _3l, "conf_NFC");
}
function _ji(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _ki(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l.__S = 0;
_3l._ZS = 1;
}
function _li(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l.__S = 0;
_3l._ZS = 1;
}
function _mi(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l._ZS = 1;
_3l.__S = 2;
}
function _ni(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l._ZS = 1;
_3l.__S = 2;
}
function _oi(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Continue");
_3l._4r = 116;
}
function _pi(_3l, _4l) {
_3l._4r = 31;
_3l._mm = _Q8(_3l, _3l, "ui_Results");
}
function _qi(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Result");
}
function _ri(_3l, _4l) {
_3l._Pq = "";
}
function _si(_3l, _4l) {
_3l._mm = _36(_3l, _3l);
_3l._hr = 57;
}
function _ti(_3l, _4l) {
_3l._6r = 0 ? 1 : 0;
}
function _ui(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _vi(_3l, _4l) {
_3l._4r = 30;
_3l._5r = 87;
}
function _wi(_3l, _4l) {
_3l._4r = 25;
_3l._mm = _Q8(_3l, _3l, "ui_Play");
_3l._yT = 91;
}
function _xi(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_NextGame");
}
function _yi(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Resting");
}
function _zi(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
}
function _Ai(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _Bi(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_PlayerProfile");
}
function _Ci(_3l, _4l) {
_3l.__S = 0;
_3l._5T = 0 ? 1 : 0;
}
function _Di(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l.__S = 0;
}
function _Ei(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Details");
}
function _Fi(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Attributes");
}
function _Gi(_3l, _4l) {
_3l.__S = 0;
_3l._5T = 0 ? 1 : 0;
}
function _Hi(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
}
function _Ii(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l.__S = 0;
}
function _Ji(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l._ZS = 1;
_3l._6T = 1 ? 1 : 0;
}
function _Ki(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
}
function _Li(_3l, _4l) {
_3l._5r = 90;
_3l._4r = 47;
_3l._zT = 1 ? 1 : 0;
}
function _Mi(_3l, _4l) {
_3l._5r = 88;
_3l._4r = 46;
_3l._zT = 1 ? 1 : 0;
}
function _Ni(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Trade");
_3l._4r = 52;
}
function _Oi(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Meeting");
_3l._4r = 51;
}
function _Pi(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Sign");
_3l._4r = 49;
}
function _Qi(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "attribute_Catching");
_3l._4r = 56;
}
function _Ri(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "attribute_Speed");
_3l._4r = 57;
}
function _Si(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "attribute_Strength");
_3l._4r = 58;
}
function _Ti(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "attribute_Stamina");
_3l._4r = 59;
}
function _Ui(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Continue");
_3l._4r = 84;
}
function _Vi(_3l, _4l) {
_3l.__S = 0;
_3l._5T = 0 ? 1 : 0;
}
function _Wi(_3l, _4l) {
_3l.__S = 0;
_3l._5T = 0 ? 1 : 0;
_3l._7T = 1 ? 1 : 0;
}
function _Xi(_3l, _4l) {
_3l._MU = "info_Skills";
}
function _Yi(_3l, _4l) {
_3l._MU = "info_Position";
}
function _Zi(_3l, _4l) {
_3l._mm = _36(_3l, _3l);
_3l._hr = 57;
}
function __i(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Stats");
_3l._4r = 53;
}
function _0j(_3l, _4l) {
_3l._4r = 48;
_3l._5r = 87;
}
function _1j(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Rest");
_3l._4r = 54;
}
function _2j(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "btn_NotInterested");
_3l._4r = 55;
}
function _3j(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _4j(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Staff");
}
function _5j(_3l, _4l) {
_3l.__S = 0;
_3l._5T = 0 ? 1 : 0;
}
function _6j(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l.__S = 0;
}
function _7j(_3l, _4l) {
_3l.__S = 0;
_3l._5T = 0 ? 1 : 0;
}
function _8j(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_CurrentHire");
}
function _9j(_3l, _4l) {
_3l._MU = "info_Staff";
}
function _aj(_3l, _4l) {
_3l._4r = 76;
}
function _bj(_3l, _4l) {
_3l._5r = 88;
_3l._4r = 78;
_3l._zT = 1 ? 1 : 0;
}
function _cj(_3l, _4l) {
_3l._5r = 90;
_3l._4r = 77;
_3l._zT = 1 ? 1 : 0;
}
function _dj(_3l, _4l) {
_3l._mm = _36(_3l, _3l);
_3l._hr = 57;
}
function _ej(_3l, _4l) {
_3l._4r = 79;
_3l._5r = 87;
}
function _fj(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Continue");
_3l._4r = 84;
}
function _gj(_3l, _4l) {
_3l.__S = 0;
_3l._5T = 0 ? 1 : 0;
}
function _hj(_3l, _4l) {
_3l._MU = "info_CoachTrait";
}
function _ij(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Hire");
_3l._4r = 80;
}
function _jj(_3l, _4l) {
_3l.__S = 0;
_3l._5T = 0 ? 1 : 0;
}
function _kj(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _lj(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Roster");
}
function _mj(_3l, _4l) {
_3l._4r = 69;
_3l._5r = 87;
}
function _nj(_3l, _4l) {
_3l._MU = "info_StarPlayers";
}
function _oj(_3l, _4l) {
_3l._mm = _36(_3l, _3l);
_3l._hr = 57;
}
function _pj(_3l, _4l) {
_3l._4r = 75;
_3l._5r = 86;
}
function _qj(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _rj(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Stats");
}
function _sj(_3l, _4l) {
_3l._5r = 100;
_3l._4r = 30;
}
function _tj(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _uj(_3l, _4l) {
_3l._5r = 87;
_3l._4r = 45;
}
function _vj(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_StatsMatch");
}
function _wj(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_StatsSeason");
}
function _xj(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_StatsCareer");
}
function _yj(_3l, _4l) {
_3l._5T = 0 ? 1 : 0;
_3l._ZS = 1;
_3l._6T = 1 ? 1 : 0;
}
function _zj(_3l, _4l) {
_3l._fw = 1;
}
function _Aj(_3l, _4l) {
_3l._fw = 2;
}
function _Bj(_3l, _4l) {
_3l._5r = 88;
_3l._4r = 61;
_3l._zT = 1 ? 1 : 0;
}
function _Cj(_3l, _4l) {
_3l._5r = 90;
_3l._4r = 60;
_3l._zT = 1 ? 1 : 0;
}
function _Dj(_3l, _4l) {
var _S_ = _il(_0m(_3l, _4l, 42)._tn, "position");
var _T_ = -1;
if (yyCompareVal(_S_, 1, g_GMLMathEpsilon) == 0) {
_T_ = 0;
} else if (yyCompareVal(_S_, 2, g_GMLMathEpsilon) == 0) {
_T_ = 1;
}
switch (_T_) {
case 0: {
break;
}
case 1: {
_3l._mm = _Q8(_3l, _3l, "ui_Receiving");
break;
}
default: {
_3l._4a = 0 ? 1 : 0;
}
}
if (yyfequal(_0m(_3l, _4l, 42)._2o, 1)) {
_3l._am = global._bm;
}
}
function _Ej(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Passing");
_3l._4r = 62;
}
function _Fj(_3l, _4l) {
var _U_ = _il(_0m(_3l, _4l, 42)._tn, "position");
var _V_ = -1;
if (yyCompareVal(_U_, 1, g_GMLMathEpsilon) == 0 || yyCompareVal(_U_, 2, g_GMLMathEpsilon) == 0) {
_V_ = 0;
}
switch (_V_) {
case 0: {
break;
}
default: {
_3l._4a = 0 ? 1 : 0;
}
}
if (yyfequal(_0m(_3l, _4l, 42)._2o, 2)) {
_3l._am = global._bm;
}
}
function _Gj(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Rushing");
_3l._4r = 63;
}
function _Hj(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _Ij(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Training");
}
function _Jj(_3l, _4l) {
_3l._4r = 64;
_3l._mm = _Q8(_3l, _3l, "ui_FieldGoal");
}
function _Kj(_3l, _4l) {
_3l._4r = 65;
_3l._mm = _Q8(_3l, _3l, "ui_Running");
}
function _Lj(_3l, _4l) {
_3l._4r = 68;
_3l._5r = 87;
}
function _Mj(_3l, _4l) {
_3l._4r = 66;
_3l._mm = _Q8(_3l, _3l, "ui_Passing");
}
function _Nj(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _Oj(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_AvailableStaff");
}
function _Pj(_3l, _4l) {
_3l._mm = _36(_3l, _3l);
_3l._hr = 57;
}
function _Qj(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Available");
}
function _Rj(_3l, _4l) {
_3l._4r = 82;
}
function _Sj(_3l, _4l) {
_3l._4r = 82;
}
function _Tj(_3l, _4l) {
_3l._4r = 82;
}
function _Uj(_3l, _4l) {
_3l._4r = 82;
}
function _Vj(_3l, _4l) {
_3l._4r = 83;
_3l._5r = 87;
}
function _Wj(_3l, _4l) {
_3l._Pq = _Q8(_3l, _3l, "ui_Current");
}
function _Xj(_3l, _4l) {
_3l._4r = 82;
_3l._6r = 0 ? 1 : 0;
}
function _Yj(_3l, _4l) {
_3l._4r = 82;
_3l._6r = 0 ? 1 : 0;
}
function _Zj(_3l, _4l) {
_3l._4r = 82;
}
function __j(_3l, _4l) {
_3l._4r = 82;
}
function _0k(_3l, _4l) {
_3l._4r = 82;
}
function _1k(_3l, _4l) {
_3l._4r = 82;
}
function _2k(_3l, _4l) {
_Q_(_R_(_MW("Background")), global._Ll);
}
function _3k(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_Continue");
_3l._4r = 84;
}
function _4k(_3l, _4l) {
_3l._mm = _Q8(_3l, _3l, "ui_EndWeek");
}
function _5k(_3l, _4l) {
_3l._Pq = "";
}
function _6k(_3l, _4l) {
_3l._4r = 85;
_3l._5r = 87;
}
function _W_() {
global._hu = 0;
global._cu = 0;
global._ap = 0;
global._cp = 0;
global._Ll = 0;
global._bm = 0;
global._DL = 0;
global._EL = 0;
global._FO = 0;
global._GO = 0;
global._HO = 0;
global._PD = 0;
global._QD = 0;
global._vM = 0;
}
function _X_() {}
/*@constructor */ function _Y_(_Z_) {
this.___ = false;
this._001 = 0;
this._101 = 0;
this._201 = false;
this._301 = null;
this._401 = null;
this._501 = null;
this._601 = null;
this._701 = null;
this._801 = null;
this._901 = [];
this._a01(_Z_._801);
}
_Y_.prototype._b01 = function () {
var _c01 = new _Y_({ _801: this._801 });
return _c01;
};
_Y_.prototype._a01 = function (_d01) {
this._801 = _d01;
this._301 = new spine._e01(_d01);
this._701 = new spine._f01(this._301.data);
this._601 = new spine._g01(this._701);
var listener = new Object();
listener.start = function (_h01) {};
listener.end = function (_h01) {};
listener.complete = function (_h01, _i01) {};
listener.event = function (_h01, _j01) {
var map = _Dq();
_rn._k01 = map;
_lu(map, "name", _j01.data.name);
_lu(map, "track", _h01);
_lu(map, "integer", _j01._l01);
_lu(map, "float", _j01._m01);
var _n01 = _j01._n01 ? _j01._n01 : _j01.data._n01;
_lu(map, "string", _n01);
_o01._p01(_q01, 0);
_Tm(map);
_rn._k01 = -1;
};
this._601._r01(listener);
if (_d01.animations.length > 0) {
this._s01(null);
}
this._t01(null);
this._401 = new spine._u01();
var _v01 = this._301._w01();
this._x01 = [_v01.scaleX, _v01.scaleY * -1.0];
};
_Y_.prototype._y01 = function (_z01, _A01) {
if (_A01 == undefined) _A01 = 0;
if (_A01 < 0) return 0;
if (_A01 >= this._601._B01.length) return 0;
var _C01 = _D01 ? _D01._E01() : 30;
if (_F01) {
if (_z01 != undefined && _z01 != null) {
if (_z01._G01 == _H01) {
_C01 = _I01._J01();
} else {
_C01 = _z01._s2;
}
} else {
_C01 = _I01._J01();
}
}
if (this._601._B01[_A01] == null) {
return ~~(_C01 * this._501.duration + 0.5);
}
return ~~(_C01 * this._601._B01[_A01]._K01.duration + 0.5);
};
function _L01(_M01, _N01) {
if (_N01 < 0.0) return _M01;
var _O01 = _M01 / _N01;
var _P01 = _O01 - Math.floor(_O01);
var _Q01 = _P01 * _N01;
return _Q01;
}
_Y_.prototype._s01 = function (_R01) {
this._S01(_R01, 0);
};
_Y_.prototype._S01 = function (_R01, _A01) {
var _K01 = null;
if ((_R01 === null || _R01 === undefined) && _A01 === 0) {
if (this._801.animations.length > 0) {
_K01 = this._801._T01(this._801.animations[0].name);
}
} else {
_K01 = this._801._T01(_R01);
}
if (_K01 !== null && _K01 !== undefined) {
if (_A01 === 0) {
this._001 = 0;
this._101 = 0;
this._501 = _K01;
}
this._601._U01(_A01, _K01.name, true);
}
};
_Y_.prototype._t01 = function (_V01) {
if (_V01 === null || _V01 === undefined) {
if (this._801._W01) {
this._301._X01(this._801._W01.name);
}
} else {
this._301._X01(_V01);
}
this._301._Y01();
};
_Y_.prototype._Z01 = function (__01, _011) {
var slot = this._301._111(__01);
if (slot !== null && slot !== undefined) {
if (typeof _011 === "number") {
slot._211(null);
} else {
var _311 = this._301._411(__01);
for (var _511 = 0; _511 < this._801.skins.length; _511++) {
var skin = this._801.skins[_511];
var attachment = skin._611(_311, _011);
if (attachment) {
slot._211(attachment);
return;
}
}
for (var _711 = 0; _711 < this._901.length; _711++) {
var attachment = this._901[_711].attachment;
if (attachment.name === _011) {
slot._211(attachment);
return;
}
}
}
}
};
_Y_.prototype._811 = function (_911, _a11, _b11, _c11, _d11, _e11, _f11, _z01) {
var skeleton = this._301;
var _v01 = this._301._w01();
var _g11 = this._001;
var _h11 = this.___;
var _i11 = -_e11;
var _j11 = _f11 !== undefined;
var _k11 = _c11 * this._x01[0];
var _l11 = _d11 * this._x01[1];
var _m11 = _k11 < 0 ? -1.0 : 1.0;
var _n11 = _l11 < 0 ? -1.0 : 1.0;
var _o11 = Math.abs(_k11);
var _p11 = Math.abs(_l11);
if (_h11 == true || _g11 !== _911 || skeleton.x !== _a11 || skeleton.y !== _b11 || _v01.scaleX !== _o11 || _v01.scaleY !== _p11 || skeleton.scaleX != _m11 || skeleton.scaleY != _n11 || _v01.rotation !== _i11) {
var _q11 = _z01;
if ((_z01 == undefined || _z01 == null) && _f11 != undefined && _f11 != null) {
var index;
index = _f11._wC;
_q11 = _r11._s11(index);
}
var _t11 = this._y01(_q11, 0);
if (_t11 > 0) {
var _u11 = _911 % _t11,
_v11 = this._001 % _t11,
duration = this._501.duration,
_w11 = this._501._x11.length;
var _y11 = 0;
if (Math.abs(_u11 - _v11) < _t11 / 2) {
if (_u11 > _v11) _y11 = 1;
else if (_u11 < _v11) _y11 = -1;
else _y11 = 0;
}
if (this._101 > 0 && _u11 < _v11) {
_u11 += _t11;
}
if (_v11 - _u11 >= _t11 - 1) {
_u11 += _t11;
}
this._101 = _y11;
var _z11 = (_u11 - _v11) / _t11;
this._601._A11(_z11 * duration);
}
this._601.apply(this._301);
this._001 = _911;
skeleton.x = _a11;
skeleton.y = _b11;
skeleton.scaleX = _m11;
skeleton.scaleY = _n11;
_v01.scaleX = _o11;
_v01.scaleY = _p11;
_v01.rotation = _i11;
_j11 = true;
this.___ = false;
}
if (_j11) {
if (_f11) {
_f11._B11(_C11, 0, _f11, null);
}
skeleton._j11();
this._401._A11(this._301, 1);
}
};
_Y_.prototype._D11 = function (_E11, _a11, _b11, _c11, _d11, _e11) {
var _t11 = this._y01(0);
var _F11 = ~~(_t11 * (_E11 / this._501.duration) + 0.5);
this._811(_F11, _a11, _b11, _c11, _d11, _e11);
};
_Y_.prototype._G11 = function (_H11, _911, _a11, _b11, _c11, _d11, _e11) {
var _I11 = this._401;
if (_I11._J11.length > 0) {
this._811(_911, _a11, _b11, _c11, _d11, _e11);
_H11.left = ~~(_I11._K11 + 0.5);
_H11.right = ~~(_I11._L11 + 0.5);
_H11.top = ~~(_I11._M11 + 0.5);
_H11.bottom = ~~(_I11._N11 + 0.5);
return true;
}
return false;
};
_Y_.prototype._O11 = function (_911, _a11, _b11, _c11, _d11, _e11, _P11, _Q11, _R11, _S11, _T11, _U11, _V11) {
this._811(_911, _a11, _b11, _c11, _d11, _e11);
_P11._811(_Q11, _R11, _S11, _T11, _U11, _V11);
for (var _W11 = 0; _W11 < _P11._401._X11.length; _W11++) {
var _Y11 = _P11._401._X11[_W11];
var size = _Y11.length / 2;
for (var _Z11 = 0; _Z11 < size; _Z11++) {
var __11, _021, _121, _221;
__11 = _Y11[_Z11 * 2 + 0];
_021 = _Y11[_Z11 * 2 + 1];
if (_Z11 === size - 1) {
_121 = _Y11[0];
_221 = _Y11[1];
} else {
_121 = _Y11[(_Z11 + 1) * 2 + 0];
_221 = _Y11[(_Z11 + 1) * 2 + 1];
}
var _321 = this._401._421(__11, _021, _121, _221);
if (_321 !== null) {
return true;
}
}
}
return false;
};
_Y_.prototype._521 = function (_911, _a11, _b11, _c11, _d11, _e11, _q11, _621, _Q11, _R11, _S11, _T11, _U11, _V11) {
this._811(_911, _a11, _b11, _c11, _d11, _e11);
if (_q11 == null) {
return false;
}
if (_q11._721 <= 0) {
return false;
}
if (_q11._821.length > 0) {
_Q11 = _Q11 % _q11._821.length;
}
if (_Q11 < 0) {
_Q11 = _Q11 + _q11._821.length;
}
_T11 = 1.0 / _T11;
_U11 = 1.0 / _U11;
var _I11 = this._401;
var _921 = _a21(_I11._K11, _621.left);
var _b21 = _c21(_I11._L11, _621.right);
var _d21 = _a21(_I11._M11, _621.top);
var _e21 = _c21(_I11._N11, _621.bottom);
var _f21 = Math.sin(-_V11 * (_g21 / 180.0));
var _h21 = Math.cos(-_V11 * (_g21 / 180.0));
for (var _X9 = _921; _X9 <= _b21; _X9++) {
for (var _i21 = _d21; _i21 <= _e21; _i21++) {
var _j21 = (_h21 * (_X9 - _R11) + _f21 * (_i21 - _S11)) * _T11 + _q11._k21;
var _l21 = (_h21 * (_i21 - _S11) - _f21 * (_X9 - _R11)) * _U11 + _q11._m21;
if (_j21 < 0 || _j21 >= _q11._n21) {
continue;
}
if (_l21 < 0 || _l21 >= _q11._o21) {
continue;
}
if (_q11._p21) {
if (!_q11._821._q21[_Q11]._q21[_j21 + _l21 * _q11._n21]) {
continue;
}
}
var _321 = _I11._r21(_X9, _i21);
if (_321 !== null) {
return true;
}
}
}
return false;
};
_Y_.prototype._s21 = function (_911, _a11, _b11, _c11, _d11, _e11, _t21, _u21) {
this._811(_911, _a11, _b11, _c11, _d11, _e11);
var _321 = this._401._r21(_t21, _u21);
if (_321 !== null) {
return true;
}
return false;
};
_Y_.prototype._v21 = function (_911, _a11, _b11, _c11, _d11, _e11, _t21, _u21, _R11, _S11) {
this._811(_911, _a11, _b11, _c11, _d11, _e11);
var _321 = this._401._421(_t21, _u21, _R11, _S11);
if (_321 !== null) {
return true;
}
return false;
};
_Y_.prototype._w21 = function (_911, _a11, _b11, _c11, _d11, _e11, _t21, _u21, _R11, _S11) {
this._811(_911, _a11, _b11, _c11, _d11, _e11);
var _I11 = this._401;
var _321 = _I11._421(_t21, _u21, _R11, _S11);
if (_321 !== null) {
return true;
}
_321 = _I11._421(_t21, _u21, _R11, _u21);
if (_321 !== null) {
return true;
}
_321 = _I11._421(_R11, _u21, _R11, _S11);
if (_321 !== null) {
return true;
}
_321 = _I11._421(_R11, _S11, _t21, _S11);
if (_321 !== null) {
return true;
}
_321 = _I11._421(_t21, _S11, _t21, _u21);
if (_321 !== null) {
return true;
}
return false;
};
_Y_.prototype._x21 = function (_911, _a11, _b11, _c11, _d11, _e11, _y21) {
this._811(_911, _a11, _b11, _c11, _d11, _e11);
var _I11 = this._401;
var skeleton = this._301;
var _921 = _a21(_I11._K11, _y21.left);
var _b21 = _c21(_I11._L11, _y21.right);
var _d21 = _a21(_I11._M11, _y21.top);
var _e21 = _c21(_I11._N11, _y21.bottom);
var _z21 = (_y21.right + _y21.left) / 2;
var _A21 = (_y21.bottom + _y21.top) / 2;
var _B21 = (_y21.right - _y21.left) / 2;
var _C21 = (_y21.bottom - _y21.top) / 2;
var _n21 = _I11._L11 - _I11._K11;
var _o21 = _I11._N11 - _I11._M11;
var _k21 = skeleton.x - _I11._K11;
var _m21 = skeleton.y - _I11._M11;
if (_c11 == 1 && _d11 == 1 && Math.abs(_e11) < 0.0001) {
for (var _X9 = _921; _X9 <= _b21; _X9++) {
for (var _i21 = _d21; _i21 <= _e21; _i21++) {
if (_D21((_X9 - _z21) / _B21) + _D21((_i21 - _A21) / _C21) > 1) continue;
var _j21 = _X9 - _a11 + _k21;
var _l21 = _i21 - _b11 + _m21;
if (_j21 < 0 || _j21 >= _n21) continue;
if (_l21 < 0 || _l21 >= _o21) continue;
var _321 = _I11._r21(_X9, _i21);
if (_321 !== null) {
return true;
}
}
}
} else {
var _E21 = Math.sin((-_e11 * _g21) / 180.0);
var _F21 = Math.cos((-_e11 * _g21) / 180.0);
for (var _X9 = _921; _X9 <= _b21; _X9++) {
for (var _i21 = _d21; _i21 <= _e21; _i21++) {
if (_D21((_X9 - _z21) / _B21) + _D21((_i21 - _A21) / _C21) > 1) continue;
var _j21 = Math.floor((_F21 * (_X9 - _a11) + _E21 * (_i21 - _b11)) / _c11 + _k21);
var _l21 = Math.floor((_F21 * (_i21 - _b11) - _E21 * (_X9 - _a11)) / _d11 + _m21);
if (_j21 < 0 || _j21 >= _n21) continue;
if (_l21 < 0 || _l21 >= _o21) continue;
var _321 = _I11._r21(_X9, _i21);
if (_321 !== null) {
return true;
}
}
}
}
return false;
};
var _G21 = null;
var _H21 = !1;
var _I21 = -1;
var _J21 = null;
var _K21 = [0.0, 0.0, 0.0, 0.0];
function _L21() {
this.width = null;
this.height = null;
}
function _M21() {
this.name = null;
this._N21 = new _L21();
this._O21 = function () {
return this._N21;
};
this._P21 = function (_Q21, _R21) {};
this._S21 = function (_T21, _U21) {};
this.dispose = function () {};
this._V21 = null;
this.width = null;
this.height = null;
}
/*@constructor */ function _W21() {
this._X21 = [];
this._Y21 = null;
this._801 = null;
this._Z21 = null;
this.__21 = null;
this._031 = false;
if (_131) {
this._231 = this._331;
this._431 = this._531;
} else {
this._231 = this._631;
this._431 = this._731;
}
}
_W21.prototype._831 = function (_R01, _931, _a31, _b31) {
this._X21[_R01] = { _c31: [], _d31: 0, _e31: 32, _f31: _g31[_b31], x: 0, y: 0, _Z9: _931, __9: _a31 };
};
_W21.prototype._h31 = function (_i31, _j31, _k31, _l31, _m31) {
var _n31 = _l31;
var _o31 = _m31;
var _p31 = 0;
var _q31 = _i31 + "/";
var _r31 = this;
var _s31 = function (_t31) {
var _u31 = new _M21();
_u31.name = _t31;
_u31.width = _u31._N21.width = _o31[_p31].width;
_u31.height = _u31._N21.height = _o31[_p31].height;
var _v31 = _w31(_x31 + _q31 + _t31);
_u31._V21 = _v31;
_g31[_v31].onload = function (e) {
_u31._N21 = e._y31;
var target = e.target || e.srcElement;
_r31._831(_u31.name, target.width, target.height, _v31);
};
_g31[_v31].onerror = function (e) {
var target = e.target || e.srcElement;
debug("ImageError: " + target.src);
};
_g31[_v31].URL = _t31;
if (_p31 < _n31 - 1) _p31++;
return _u31;
};
this._Z21 = new spine._z31(_k31, _s31);
this._Y21 = new spine._A31(new spine._B31(this._Z21));
this._801 = this._Y21._C31(_j31);
};
_W21.prototype._D31 = function () {
if (this._Z21) {
if (this._Z21._E31) {
return this._Z21._E31.length;
}
}
return 0;
};
_W21.prototype._F31 = function (_G31) {
if (this._Z21) {
if (this._Z21._E31) {
if (this._Z21._E31.length > _G31) {
if (this._Z21._E31[_G31]._f31) {
if (this._Z21._E31[_G31]._f31._V21) {
return this._Z21._E31[_G31]._f31._V21;
}
}
}
}
}
return -1;
};
_W21.prototype._H31 = function (_I31, _V01, _F11, x, y, _J31, _K31, angle, _L31, alpha) {
if (this._801 === null || this._801 === undefined) return;
var _M31 = new _Y_(this);
_M31._s01(_I31);
_M31._t01(_V01);
_M31._811(_F11, x, y, _J31, _K31, angle);
this._N31(_M31._301, _L31, alpha);
};
_W21.prototype._O31 = function (_F11, x, y, _J31, _K31, angle, _L31, alpha) {
if (!_G21 || !_G21._P31()) {
this._H31(null, null, _F11, x, y, _J31, _K31, angle, _L31, alpha);
} else {
var _Q31 = _G21._P31();
_Q31._811(_F11, x, y, _J31, _K31, angle, _G21);
this._N31(_Q31._301, _L31, alpha);
if (_Q31._201) {
this._R31(_Q31._401);
}
}
};
_W21.prototype._S31 = function (_T31, _I31, _V01, _F11, x, y, _J31, _K31, angle, _U31, _V31, _W31) {
_8s(_W31);
var _X31 = false;
var _Q31 = null;
if (_T31 === undefined || _T31 === null || _T31._P31() === null) {
_Q31 = new _Y_(this);
_X31 = true;
_Q31._s01(_I31);
_Q31._t01(_V01);
} else {
_Q31 = _T31._P31();
if (_I31 !== undefined && _I31 !== null) {
_Q31._s01(_I31);
}
if (_V01 !== undefined && _V01 !== null) {
_Q31._t01(_V01);
}
}
_Q31._811(_F11, x, y, _J31, _K31, angle, _T31);
var _Y31 = [];
var _Z31 = 0;
for (var _X9 = 0, _W11 = _Q31._301.slots.length; _X9 < _W11; _X9++) {
var slot = _Q31._301.drawOrder[_X9];
if (!slot.attachment) continue;
var __31 = false;
if (slot.attachment instanceof spine._041) {
__31 = this._141(slot, _U31, _V31);
} else if (slot.attachment instanceof spine._241) {
__31 = this._341(slot, _U31, _V31);
} else if (slot.attachment instanceof spine._441) {
__31 = this._541(slot, _U31, _V31);
}
if (__31) {
_Y31[_Z31] = slot;
_Z31++;
}
}
if (_Z31 > 0) {
for (var _X9 = _Z31 - 1; _X9 >= 0; _X9--) {
_Cl(_W31, _Y31[_X9].data.name);
}
}
};
_W21.prototype._N31 = function (_641, color, alpha) {
var _741 = (color & 0xff) / 255.0,
_841 = ((color & 0xff00) >> 8) / 255.0,
_941 = ((color & 0xff0000) >> 16) / 255.0;
if (_131) {
this._a41(_641, _741, _841, _941, alpha);
} else {
this._b41(_641, _741, _841, _941, alpha);
}
};
_W21.prototype._b41 = function (_641, _c41, _d41, _e41, _f41) {
var _g41 = [0, 1, 2, 2, 3, 0];
var vertices = [];
var _h41 = new spine._i41(1.0, 1.0, 1.0, 1.0);
var _j41 = false;
for (var _X9 = 0, _W11 = _641.slots.length; _X9 < _W11; _X9++) {
var slot = _641.drawOrder[_X9];
if (!slot.attachment) continue;
var _b21 = _c41 * 255;
var _k41 = _d41 * 255;
var _e21 = _e41 * 255;
var _l41 = _f41 * 255;
if (slot.skeleton != undefined && slot.skeleton._b21 != undefined) {
_b21 *= slot.skeleton._b21;
_k41 *= slot.skeleton._k41;
_e21 *= slot.skeleton._e21;
_l41 *= slot.skeleton._l41;
}
if (slot.color != undefined) {
_b21 *= slot.color._b21;
_k41 *= slot.color._k41;
_e21 *= slot.color._e21;
_l41 *= slot.color._l41;
}
if (slot.attachment.color != undefined) {
_b21 *= slot.attachment.color._b21;
_k41 *= slot.attachment.color._k41;
_e21 *= slot.attachment.color._e21;
_l41 *= slot.attachment.color._l41;
}
var _L31;
_L31 = (_l41 << 24) | (_b21 << 16) | (_k41 << 8) | (_e21 << 0);
var _m41 = null;
var uvs = null;
var _n41 = null;
var _o41 = 2;
var _p41 = 0;
var _q41 = 0;
var _r41 = 0;
var _s41 = null;
var _v31 = null;
if (slot.attachment instanceof spine._041) {
var _t41 = slot.attachment;
if (this.__21 != null && this.__21._u41()) {
_t41._v41(slot.bone, vertices, 0, 2);
_m41 = vertices;
uvs = _t41.uvs;
_n41 = _g41;
_q41 = 4;
_r41 = 6;
_v31 = _g31[_t41._t41._w41._f31._V21];
if (!_v31.complete) continue;
if (_L31 != _x41) {
if (!this._X21[_t41._t41._w41._f31.name]) {
var _y41 = _t41._t41._f31;
this._831(_y41.name, _y41.width, _y41.height, _y41._V21);
}
_v31 = _z41(this._X21[_t41._t41._f31.name], _L31);
}
var _A41 = _t41._t41._f31;
_s41 = this._X21[_A41.name];
} else {
this._631(slot, _L31, _l41 / 255.0);
}
} else if (slot.attachment instanceof spine._241) {
var _B41 = slot.attachment;
_B41._v41(slot, 0, _B41._C41, vertices, 0, 2);
_m41 = vertices;
uvs = _B41.uvs;
_n41 = _B41.triangles;
_q41 = _B41._C41;
_r41 = _B41.triangles.length;
_v31 = _g31[_B41._t41._w41._f31._V21];
if (!_v31.complete) continue;
if (_L31 != _x41) {
if (!this._X21[_B41._t41._w41._y41.name]) {
var _y41 = _B41._t41._w41._y41;
this._831(_y41.name, _y41.width, _y41.height, _B41._t41._w41._y41._V21);
}
_v31 = _z41(this._X21[_B41._t41._w41._y41.name], _L31);
}
_s41 = this._X21[_B41._t41._w41._y41.name];
} else if (slot.attachment instanceof spine._D41) {
if (this.__21 == null) {
this.__21 = new spine._E41();
}
this.__21._F41(slot, slot.attachment);
continue;
}
if (_q41 > 0 && _v31 != null) {
if (this.__21 != null && this.__21._u41()) {
this.__21._G41(vertices, _q41 * 2, _n41, _r41, uvs, _h41, _h41, _j41);
_m41 = this.__21._H41;
uvs = this.__21._H41;
_n41 = this.__21._I41;
_o41 = 8;
_p41 = 6;
_q41 = _m41.length / _o41;
_r41 = _n41.length;
}
for (var _J41 = 0; _J41 < _r41 / 3; _J41++) {
var _K41 = _J41 * 3;
var _L41 = _n41[_K41++] * _o41,
_M41 = _n41[_K41++] * _o41,
_N41 = _n41[_K41++] * _o41;
var _O41 = [];
_O41[0] = {};
_O41[0].x = _m41[_L41];
_O41[0]._P41 = uvs[_p41 + _L41];
_L41++;
_O41[0].y = _m41[_L41];
_O41[0]._J41 = uvs[_p41 + _L41];
_O41[1] = {};
_O41[1].x = _m41[_M41];
_O41[1]._P41 = uvs[_p41 + _M41];
_M41++;
_O41[1].y = _m41[_M41];
_O41[1]._J41 = uvs[_p41 + _M41];
_O41[2] = {};
_O41[2].x = _m41[_N41];
_O41[2]._P41 = uvs[_p41 + _N41];
_N41++;
_O41[2].y = _m41[_N41];
_O41[2]._J41 = uvs[_p41 + _N41];
this._Q41(
_R41,
_v31,
_O41[0].x,
_O41[0].y,
_O41[1].x,
_O41[1].y,
_O41[2].x,
_O41[2].y,
_O41[0]._P41 * _s41._Z9,
_O41[0]._J41 * _s41.__9,
_O41[1]._P41 * _s41._Z9,
_O41[1]._J41 * _s41.__9,
_O41[2]._P41 * _s41._Z9,
_O41[2]._J41 * _s41.__9
);
}
}
if (this.__21 != null) {
this.__21._S41(slot);
}
}
if (this.__21 != null) {
this.__21._T41();
}
};
function _U41(_V41, _W41, _X41) {
if (_W41 == false) {
switch (_V41) {
case spine._Y41.Normal:
_X41.src = _Z41.__41;
_X41._051 = _Z41._151;
break;
case spine._Y41.Additive:
_X41.src = _Z41.__41;
_X41._051 = _Z41._251;
break;
case spine._Y41.Multiply:
_X41.src = _Z41._351;
_X41._051 = _Z41._151;
break;
case spine._Y41.Screen:
_X41.src = _Z41._251;
_X41._051 = _Z41._451;
break;
default:
_X41.src = _Z41.__41;
_X41._051 = _Z41._151;
break;
}
} else {
switch (_V41) {
case spine._Y41.Normal:
_X41.src = _Z41._251;
_X41._051 = _Z41._151;
break;
case spine._Y41.Additive:
_X41.src = _Z41._251;
_X41._051 = _Z41._251;
break;
case spine._Y41.Multiply:
_X41.src = _Z41._351;
_X41._051 = _Z41._151;
break;
case spine._Y41.Screen:
_X41.src = _Z41._251;
_X41._051 = _Z41._451;
break;
default:
_X41.src = _Z41.__41;
_X41._051 = _Z41._151;
break;
}
}
}
_W21.prototype._a41 = function (_641, _c41, _d41, _e41, _f41) {
var _g41 = [0, 1, 2, 2, 3, 0];
var vertices = [];
var _h41 = new spine._i41(1.0, 1.0, 1.0, 1.0);
var _j41 = false;
var _551, _651, _751, _851;
var _951;
if (_H21 == true) {
_551 = _131._a51._b51(_Z41._c51);
_651 = _131._a51._b51(_Z41._d51);
_751 = _131._a51._b51(_Z41._e51);
_851 = _131._a51._b51(_Z41._f51);
_951 = _131._a51._b51(_Z41._g51);
}
var _h51 = new spine._i41(0.0, 0.0, 0.0, 0.0);
var _i51 = false;
if (_j51 != _I21) {
_I21 = _j51;
_i51 = true;
if (_I21 != -1) {
_J21 = _0U(_I21, "gm_SpineTintBlackColour");
}
}
for (var _X9 = 0, _W11 = _641.slots.length; _X9 < _W11; _X9++) {
var slot = _641.drawOrder[_X9];
if (!slot.attachment) continue;
var _b21 = _c41 * 255;
var _k41 = _d41 * 255;
var _e21 = _e41 * 255;
var _l41 = _f41 * 255;
if (slot.skeleton != undefined && slot.skeleton._b21 != undefined) {
_b21 *= slot.skeleton._b21;
_k41 *= slot.skeleton._k41;
_e21 *= slot.skeleton._e21;
_l41 *= slot.skeleton._l41;
}
if (slot.color != undefined) {
_b21 *= slot.color._b21;
_k41 *= slot.color._k41;
_e21 *= slot.color._e21;
_l41 *= slot.color._l41;
}
if (slot.attachment.color != undefined) {
_b21 *= slot.attachment.color._b21;
_k41 *= slot.attachment.color._k41;
_e21 *= slot.attachment.color._e21;
_l41 *= slot.attachment.color._l41;
}
var _L31;
_L31 = (_l41 << 24) | (_b21 << 0) | (_k41 << 8) | (_e21 << 16);
if (_I21 != -1) {
if (_J21 != undefined && _J21 != -1) {
var _k51;
if (slot._l51 != undefined && slot._l51 != null) {
_k51 = slot._l51;
} else {
_k51 = _h51;
}
var _m51 = [_k51._b21 * _c41, _k51._k41 * _d41, _k51._e21 * _e41, _f41];
if (_i51 || _K21[0] != _m51[0] || _K21[1] != _m51[1] || _K21[2] != _m51[2] || _K21[3] != _m51[3]) {
_K21 = _m51;
_n51(_J21, _K21);
_i51 = false;
}
}
}
var _m41 = null;
var uvs = null;
var _n41 = null;
var _o41 = 2;
var _p41 = 0;
var _q41 = 0;
var _r41 = 0;
var _v31 = null;
if (slot.attachment instanceof spine._041) {
var _t41 = slot.attachment;
_t41._v41(slot.bone, vertices, 0, 2);
_m41 = vertices;
uvs = _t41.uvs;
_n41 = _g41;
_q41 = 4;
_r41 = 6;
_v31 = _g31[_t41._t41._w41._f31._V21];
} else if (slot.attachment instanceof spine._241) {
var _B41 = slot.attachment;
_B41._v41(slot, 0, _B41._C41, vertices, 0, 2);
_m41 = vertices;
uvs = _B41.uvs;
_n41 = _B41.triangles;
_q41 = _B41._C41;
_r41 = _B41.triangles.length;
_v31 = _g31[_B41._t41._w41._f31._V21];
} else if (slot.attachment instanceof spine._D41) {
if (this.__21 == null) {
this.__21 = new spine._E41();
}
this.__21._F41(slot, slot.attachment);
continue;
}
if (_q41 > 0 && _v31 != null) {
if (!_v31.complete) continue;
if (!_v31._o51) _p51({ _f31: _v31 });
if (this.__21 != null && this.__21._u41()) {
this.__21._G41(vertices, _q41 * 2, _n41, _r41, uvs, _h41, _h41, _j41);
_m41 = this.__21._H41;
uvs = this.__21._H41;
_n41 = this.__21._I41;
_o41 = 8;
_p41 = 6;
_q41 = _m41.length / _o41;
_r41 = _n41.length;
}
if (_H21 == true) {
var _q51 = slot.data._r51;
var _s51 = new Object();
_U41(_q51, this._031, _s51);
_131._a51._t51(_Z41._c51, _s51.src);
_131._a51._t51(_Z41._d51, _s51._051);
_131._a51._t51(_Z41._e51, _s51.src);
_131._a51._t51(_Z41._f51, _s51._051);
}
var _u51 = _131._v51(_Z41._w51, _v31._o51, _131._x51, _r41);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _r41;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
var _F51 = _u51._G51;
var _H51 = index;
for (var _J41 = 0; _J41 < _r41; _J41++, _H51 += _y51) {
var index = _n41[_J41];
_B51[_H51 + 0] = _m41[index * _o41 + 0];
_B51[_H51 + 1] = _m41[index * _o41 + 1];
_B51[_H51 + 2] = _I51;
_D51[_H51 + 0] = _L31;
_F51[_H51 + 0] = uvs[index * _o41 + _p41 + 0];
_F51[_H51 + 1] = uvs[index * _o41 + _p41 + 1];
}
}
if (this.__21 != null) {
this.__21._S41(slot);
}
}
if (this.__21 != null) {
this.__21._T41();
}
if (_H21 == true) {
_131._a51._t51(_Z41._c51, _551);
_131._a51._t51(_Z41._d51, _651);
_131._a51._t51(_Z41._e51, _751);
_131._a51._t51(_Z41._f51, _851);
_131._a51._t51(_Z41._g51, _951);
}
};
_W21.prototype._R31 = function (_J51) {
_jX(_J51._K11, _J51._M11, _J51._K11, _J51._N11);
_jX(_J51._K11, _J51._N11, _J51._L11, _J51._N11);
_jX(_J51._L11, _J51._N11, _J51._L11, _J51._M11);
_jX(_J51._L11, _J51._M11, _J51._K11, _J51._M11);
for (var _W11 = 0; _W11 < _J51._X11.length; _W11++) {
var _Y11 = _J51._X11[_W11];
var size = _Y11.length / 2;
for (var _Z11 = 0; _Z11 < size; _Z11++) {
var __11, _021, _121, _221;
__11 = _Y11[_Z11 * 2 + 0];
_021 = _Y11[_Z11 * 2 + 1];
if (_Z11 == size - 1) {
_121 = _Y11[0];
_221 = _Y11[1];
} else {
_121 = _Y11[(_Z11 + 1) * 2 + 0];
_221 = _Y11[(_Z11 + 1) * 2 + 1];
}
_jX(__11, _021, _121, _221);
}
}
};
_W21.prototype._631 = function (slot, _L31, alpha) {
var _t41 = slot.attachment,
vertices = [],
uvs;
var _K51 = 0;
var _L51 = 0;
if (slot.skeleton) {
_K51 = slot.skeleton.x;
_L51 = slot.skeleton.y;
} else if (slot.bone.skeleton) {
_K51 = slot.bone.skeleton.x;
_L51 = slot.bone.skeleton.y;
}
_t41._v41(slot.bone, vertices, 0, 2);
uvs = _t41.uvs;
var _O41 = [];
_O41[0] = {};
_O41[0].x = vertices[spine._041._M51];
_O41[0].y = vertices[spine._041._N51];
_O41[0]._P41 = uvs[spine._041._M51];
_O41[0]._J41 = uvs[spine._041._N51];
_O41[1] = {};
_O41[1].x = vertices[spine._041._O51];
_O41[1].y = vertices[spine._041._P51];
_O41[1]._P41 = uvs[spine._041._O51];
_O41[1]._J41 = uvs[spine._041._P51];
_O41[2] = {};
_O41[2].x = vertices[spine._041._Q51];
_O41[2].y = vertices[spine._041._R51];
_O41[2]._P41 = uvs[spine._041._Q51];
_O41[2]._J41 = uvs[spine._041._R51];
_R41.globalAlpha = alpha;
var _A41 = _t41._t41._f31;
var _v31 = _g31[_t41._t41._w41._f31._V21];
if (!_v31.complete) return;
if (_L31 != _x41) {
if (!this._X21[_t41._t41._w41._f31.name]) {
var _y41 = _t41._t41._f31;
this._831(_y41.name, _y41.width, _y41.height, _y41._V21);
}
_v31 = _z41(this._X21[_t41._t41._f31.name], _L31);
}
var _s41 = this._X21[_A41.name];
this._S51(
_R41,
_v31,
_O41[0].x,
_O41[0].y,
_O41[1].x,
_O41[1].y,
_O41[2].x,
_O41[2].y,
_O41[0]._P41 * _s41._Z9,
_O41[0]._J41 * _s41.__9,
_O41[1]._P41 * _s41._Z9,
_O41[1]._J41 * _s41.__9,
_O41[2]._P41 * _s41._Z9,
_O41[2]._J41 * _s41.__9
);
};
_W21.prototype._731 = function (slot, _L31, alpha) {
var _B41 = slot.attachment,
vertices = [],
uvs;
_B41._v41(slot, 0, _B41._C41, vertices, 0, 2);
uvs = _B41.uvs;
var _A41 = _B41._t41;
var _v31 = _g31[_B41._t41._w41._f31._V21];
if (!_v31.complete) return;
if (_L31 != _x41) {
if (!this._X21[_B41._t41._w41._y41.name]) {
var _y41 = _B41._t41._w41._y41;
this._831(_y41.name, _y41.width, _y41.height, _B41._t41._w41._y41._V21);
}
_v31 = _z41(this._X21[_B41._t41._w41._y41.name], _L31);
}
for (var _W11 = 0; _W11 < _B41.triangles.length / 3; _W11++) {
var _K41 = _W11 * 3;
var _L41 = _B41.triangles[_K41++] * 2,
_M41 = _B41.triangles[_K41++] * 2,
_N41 = _B41.triangles[_K41++] * 2;
var _O41 = [];
_O41[0] = {};
_O41[0].x = vertices[_L41];
_O41[0]._P41 = uvs[_L41++];
_O41[0].y = vertices[_L41];
_O41[0]._J41 = uvs[_L41];
_O41[1] = {};
_O41[1].x = vertices[_M41];
_O41[1]._P41 = uvs[_M41++];
_O41[1].y = vertices[_M41];
_O41[1]._J41 = uvs[_M41];
_O41[2] = {};
_O41[2].x = vertices[_N41];
_O41[2]._P41 = uvs[_N41++];
_O41[2].y = vertices[_N41];
_O41[2]._J41 = uvs[_N41];
var _s41 = this._X21[_B41._t41._w41._y41.name];
this._Q41(
_R41,
_v31,
_O41[0].x,
_O41[0].y,
_O41[1].x,
_O41[1].y,
_O41[2].x,
_O41[2].y,
_O41[0]._P41 * _s41._Z9,
_O41[0]._J41 * _s41.__9,
_O41[1]._P41 * _s41._Z9,
_O41[1]._J41 * _s41.__9,
_O41[2]._P41 * _s41._Z9,
_O41[2]._J41 * _s41.__9
);
}
};
_W21.prototype._Q41 = function (_T51, _U51, _V51, _W51, __11, _021, _121, _221, _X51, _Y51, _Z51, __51, _061, _161) {
_T51.save();
_T51.beginPath();
_T51.moveTo(_V51, _W51);
_T51.lineTo(__11, _021);
_T51.lineTo(_121, _221);
_T51.closePath();
_T51.clip();
var _261 = _X51 * (_161 - __51) - _Z51 * _161 + _061 * __51 + (_Z51 - _061) * _Y51;
if (_261 == 0) {
return;
}
var _361 = -(_Y51 * (_121 - __11) - __51 * _121 + _161 * __11 + (__51 - _161) * _V51) / _261;
var _461 = (__51 * _221 + _Y51 * (_021 - _221) - _161 * _021 + (_161 - __51) * _W51) / _261;
var _561 = (_X51 * (_121 - __11) - _Z51 * _121 + _061 * __11 + (_Z51 - _061) * _V51) / _261;
var _661 = -(_Z51 * _221 + _X51 * (_021 - _221) - _061 * _021 + (_061 - _Z51) * _W51) / _261;
var _761 = (_X51 * (_161 * __11 - __51 * _121) + _Y51 * (_Z51 * _121 - _061 * __11) + (_061 * __51 - _Z51 * _161) * _V51) / _261;
var _861 = (_X51 * (_161 * _021 - __51 * _221) + _Y51 * (_Z51 * _221 - _061 * _021) + (_061 * __51 - _Z51 * _161) * _W51) / _261;
_T51.transform(_361, _461, _561, _661, _761, _861);
_T51.drawImage(_U51, 0, 0);
_T51.restore();
};
_W21.prototype._S51 = function (_T51, _U51, _V51, _W51, __11, _021, _121, _221, _X51, _Y51, _Z51, __51, _061, _161) {
_T51.save();
var _961, _a61;
_961 = _V51 + (_121 - __11);
_a61 = _W51 + (_221 - _021);
_T51.beginPath();
_T51.moveTo(_V51, _W51);
_T51.lineTo(__11, _021);
_T51.lineTo(_121, _221);
_T51.lineTo(_961, _a61);
_T51.closePath();
_T51.clip();
var _261 = _X51 * (_161 - __51) - _Z51 * _161 + _061 * __51 + (_Z51 - _061) * _Y51;
if (_261 == 0) {
return;
}
var _361 = -(_Y51 * (_121 - __11) - __51 * _121 + _161 * __11 + (__51 - _161) * _V51) / _261;
var _461 = (__51 * _221 + _Y51 * (_021 - _221) - _161 * _021 + (_161 - __51) * _W51) / _261;
var _561 = (_X51 * (_121 - __11) - _Z51 * _121 + _061 * __11 + (_Z51 - _061) * _V51) / _261;
var _661 = -(_Z51 * _221 + _X51 * (_021 - _221) - _061 * _021 + (_061 - _Z51) * _W51) / _261;
var _761 = (_X51 * (_161 * __11 - __51 * _121) + _Y51 * (_Z51 * _121 - _061 * __11) + (_061 * __51 - _Z51 * _161) * _V51) / _261;
var _861 = (_X51 * (_161 * _021 - __51 * _221) + _Y51 * (_Z51 * _221 - _061 * _021) + (_061 * __51 - _Z51 * _161) * _W51) / _261;
_T51.transform(_361, _461, _561, _661, _761, _861);
_T51.drawImage(_U51, 0, 0);
_T51.restore();
};
_W21.prototype._331 = function (slot, _L31, alpha) {
var _t41 = slot.attachment,
vertices = [],
uvs;
var _K51 = 0;
var _L51 = 0;
if (slot.skeleton) {
_K51 = slot.skeleton.x;
_L51 = slot.skeleton.y;
} else if (slot.bone.skeleton) {
_K51 = slot.bone.skeleton.x;
_L51 = slot.bone.skeleton.y;
}
_t41._v41(slot.bone, vertices, 0, 2);
uvs = _t41.uvs;
var _v31 = _g31[_t41._t41._w41._f31._V21];
if (!_v31.complete) return;
if (!_v31._o51) _p51({ _f31: _v31 });
var _q41 = 6;
var _u51 = _131._v51(_Z41._w51, _v31._o51, _131._x51, _q41);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _q41;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
var _F51 = _u51._G51;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
_B51[_H51 + 0] = _B51[_f61 + 0] = vertices[spine._041._M51];
_B51[_H51 + 1] = _B51[_f61 + 1] = vertices[spine._041._N51];
_B51[_b61 + 0] = vertices[spine._041._O51];
_B51[_b61 + 1] = vertices[spine._041._P51];
_B51[_c61 + 0] = _B51[_d61 + 0] = vertices[spine._041._Q51];
_B51[_c61 + 1] = _B51[_d61 + 1] = vertices[spine._041._R51];
_B51[_e61 + 0] = vertices[spine._041._g61];
_B51[_e61 + 1] = vertices[spine._041._h61];
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_D51[_H51] = _D51[_b61] = _D51[_c61] = _D51[_d61] = _D51[_e61] = _D51[_f61] = _L31;
_F51[_H51 + 0] = _F51[_f61 + 0] = uvs[spine._041._M51];
_F51[_H51 + 1] = _F51[_f61 + 1] = uvs[spine._041._N51];
_F51[_b61 + 0] = uvs[spine._041._O51];
_F51[_b61 + 1] = uvs[spine._041._P51];
_F51[_c61 + 0] = _F51[_d61 + 0] = uvs[spine._041._Q51];
_F51[_c61 + 1] = _F51[_d61 + 1] = uvs[spine._041._R51];
_F51[_e61 + 0] = uvs[spine._041._g61];
_F51[_e61 + 1] = uvs[spine._041._h61];
};
_W21.prototype._531 = function (slot, _L31, alpha) {
var _B41 = slot.attachment,
vertices = [],
uvs;
var _K51 = 0;
var _L51 = 0;
if (slot.skeleton) {
_K51 = slot.skeleton.x;
_L51 = slot.skeleton.y;
} else if (slot.bone.skeleton) {
_K51 = slot.bone.skeleton.x;
_L51 = slot.bone.skeleton.y;
}
_B41._v41(slot, 0, _B41._C41, vertices, 0, 2);
uvs = _B41.uvs;
var _v31 = _g31[_B41._t41._w41._f31._V21];
if (!_v31.complete) return;
if (!_v31._o51) _p51({ _f31: _v31 });
var _q41 = _B41.triangles.length;
var _u51 = _131._v51(_Z41._w51, _v31._o51, _131._x51, _q41);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _q41;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
var _F51 = _u51._G51;
var _H51 = index;
for (var _W11 = 0; _W11 < _q41; _W11++, _H51 += _y51) {
var _L41 = _B41.triangles[_W11];
_B51[_H51 + 0] = vertices[_L41 * 2 + 0];
_B51[_H51 + 1] = vertices[_L41 * 2 + 1];
_B51[_H51 + 2] = _I51;
_D51[_H51 + 0] = _D51[_H51 + 1] = _L31;
_F51[_H51 + 0] = uvs[_L41 * 2 + 0];
_F51[_H51 + 1] = uvs[_L41 * 2 + 1];
}
};
_W21.prototype._141 = function (slot, _a11, _b11) {
var _t41 = slot.attachment,
vertices = [];
_t41._v41(slot.bone, vertices, 0, 2);
var _i61, _j61, _k61, _l61;
var _m61;
_i61 = _a11 - vertices[spine._041._g61];
_j61 = _b11 - vertices[spine._041._h61];
_k61 = vertices[spine._041._M51] - vertices[spine._041._g61];
_l61 = vertices[spine._041._N51] - vertices[spine._041._h61];
_m61 = _i61 * _l61 - _j61 * _k61;
if (_m61 >= 0) return false;
_i61 = _a11 - vertices[spine._041._O51];
_j61 = _b11 - vertices[spine._041._P51];
_k61 = vertices[spine._041._Q51] - vertices[spine._041._O51];
_l61 = vertices[spine._041._R51] - vertices[spine._041._P51];
_m61 = _i61 * _l61 - _j61 * _k61;
if (_m61 >= 0) return false;
_i61 = _a11 - vertices[spine._041._M51];
_j61 = _b11 - vertices[spine._041._N51];
_k61 = vertices[spine._041._O51] - vertices[spine._041._M51];
_l61 = vertices[spine._041._P51] - vertices[spine._041._N51];
_m61 = _i61 * _l61 - _j61 * _k61;
if (_m61 >= 0) return false;
_i61 = _a11 - vertices[spine._041._Q51];
_j61 = _b11 - vertices[spine._041._R51];
_k61 = vertices[spine._041._g61] - vertices[spine._041._Q51];
_l61 = vertices[spine._041._h61] - vertices[spine._041._R51];
_m61 = _i61 * _l61 - _j61 * _k61;
if (_m61 >= 0) return false;
return true;
};
_W21.prototype._341 = function (slot, _a11, _b11) {
var _B41 = slot.attachment,
vertices = [];
_B41._v41(slot, 0, _B41._C41, vertices, 0, 2);
var _i61, _j61, _k61, _l61;
var _m61;
var _r41 = _B41.triangles.length;
for (var _W11 = 0; _W11 < _r41; _W11 += 3) {
var _L41 = _B41.triangles[_W11 + 0];
var _M41 = _B41.triangles[_W11 + 1];
var _N41 = _B41.triangles[_W11 + 2];
var _n61 = vertices[_L41 * 2 + 0];
var _o61 = vertices[_L41 * 2 + 1];
var _p61 = vertices[_M41 * 2 + 0];
var _q61 = vertices[_M41 * 2 + 1];
var _r61 = vertices[_N41 * 2 + 0];
var _s61 = vertices[_N41 * 2 + 1];
_i61 = _a11 - _n61;
_j61 = _b11 - _o61;
_k61 = _p61 - _n61;
_l61 = _q61 - _o61;
_m61 = _i61 * _l61 - _j61 * _k61;
if (_m61 >= 0) continue;
_i61 = _a11 - _p61;
_j61 = _b11 - _q61;
_k61 = _r61 - _p61;
_l61 = _s61 - _q61;
_m61 = _i61 * _l61 - _j61 * _k61;
if (_m61 >= 0) continue;
_i61 = _a11 - _r61;
_j61 = _b11 - _s61;
_k61 = _n61 - _r61;
_l61 = _o61 - _s61;
_m61 = _i61 * _l61 - _j61 * _k61;
if (_m61 >= 0) continue;
return true;
}
return false;
};
_W21.prototype._541 = function (slot, _a11, _b11) {
var _t61 = slot.attachment,
vertices = [];
_t61._v41(slot, 0, _t61._C41, vertices, 0, 2);
var _i61, _j61, _k61, _l61;
var _m61;
var _u61 = 0;
for (var _W11 = 0; _W11 < _t61._C41 / 2 - 1; _W11++) {
var _n61 = vertices[_u61 + 0];
var _o61 = vertices[_u61 + 1];
_u61 += 2;
var _p61 = vertices[_u61 + 0];
var _q61 = vertices[_u61 + 1];
_i61 = _a11 - _n61;
_j61 = _b11 - _o61;
_k61 = _p61 - _n61;
_l61 = _q61 - _o61;
_m61 = _i61 * _l61 - _j61 * _k61;
if (_m61 <= 0) {
return false;
}
}
var _n61 = vertices[_u61 + 0];
var _o61 = vertices[_u61 + 1];
var _p61 = vertices[0];
var _q61 = vertices[1];
_i61 = _a11 - _n61;
_j61 = _b11 - _o61;
_k61 = _p61 - _n61;
_l61 = _q61 - _o61;
_m61 = _i61 * _l61 - _j61 * _k61;
if (_m61 <= 0) {
return false;
}
return true;
};
function _v61(_e2) {
_w61("draw_primitive_begin()");
}
function _x61(_e2, _y61) {
_w61("draw_primitive_begin_texture()");
}
function _z61(x, y) {
_w61("draw_vertex()");
}
function _A61(x, y, _L31, alpha) {
_w61("draw_vertex_color()");
}
var _B61 = _A61;
function _C61(x, y, _D61, _E61) {
_w61("draw_vertex_texture()");
}
function _F61(x, y, _D61, _E61, _L31, alpha) {
_w61("draw_vertex_texture_color()");
}
var _G61 = _F61;
function _H61() {
_w61("draw_primitive_end()");
}
function _I61(_e2) {
_w61("d3d_primitive_begin()");
}
function _J61(_e2, _y61) {
_w61("d3d_primitive_begin_texture()");
}
function _K61(x, y, _L61) {
_w61("d3d_vertex()");
}
function _M61(x, y, _L61, _L31, alpha) {
_w61("d3d_vertex_color()");
}
var _N61 = _M61;
function _O61(x, y, _L61, _D61, _E61) {
_w61("d3d_vertex_texture()");
}
function _P61(x, y, _L61, _D61, _E61, _L31, alpha) {
_w61("d3d_vertex_texture_color()");
}
var _Q61 = _P61;
function _R61(x, y, _L61, _S61, _T61, _U61) {
_w61("d3d_vertex_normal()");
}
function _V61(x, y, _L61, _S61, _T61, _U61, _L31, alpha) {
_w61("d3d_vertex_normal_color()");
}
var _W61 = _V61;
function _X61(x, y, _L61, _S61, _T61, _U61, _D61, _E61) {
_w61("d3d_vertex_normal_texture()");
}
function _Y61(x, y, _L61, _S61, _T61, _U61, _D61, _E61, _L31, alpha) {
_w61("d3d_vertex_normal_texture_color()");
}
var _Z61 = _Y61;
function __61() {
_w61("d3d_primitive_end()");
}
var _071 = null;
var _171 = 0,
_271 = -1,
_371 = null,
_471 = null;
var _571 = 1,
_671 = 2,
_771 = 3,
_871 = 4,
_971 = 5,
_a71 = 6,
_b71 = 7;
function _c71() {
_v61 = _d71;
_x61 = _e71;
_z61 = _f71;
_A61 = _g71;
_B61 = _g71;
_C61 = _h71;
_F61 = _i71;
_G61 = _i71;
_H61 = _j71;
_I61 = _k71;
_J61 = _l71;
_K61 = _m71;
_M61 = _n71;
_N61 = _n71;
_O61 = _o71;
_P61 = _p71;
_Q61 = _p71;
_R61 = _q71;
_V61 = _r71;
_W61 = _r71;
_X61 = _s71;
_Y61 = _t71;
_Z61 = _t71;
__61 = _u71;
}
function _v71(_w71) {
switch (_w71) {
case _571:
return _Z41._x71;
case _671:
return _Z41._y71;
case _771:
return _Z41._z71;
case _871:
return _Z41._w51;
case _971:
return _Z41._A71;
case _a71:
return _Z41._B71;
case _b71:
return _Z41._w51;
}
return -1;
}
function _C71() {
_171 = 0;
_271 = -1;
_371 = null;
_471 = null;
}
function _d71(_D71) {
_e71(yyGetInt32(_D71), -1);
}
function _e71(_D71, _b31) {
_171 = yyGetInt32(_D71);
_271 = null;
_371 = null;
if (typeof _b31 == "object") {
_271 = _b31._E71;
_371 = _b31._F71;
} else if (_b31 != -1 && _g31[yyGetInt32(_b31)]) {
_271 = _g31[yyGetInt32(_b31)];
}
if (_271 && !_271._o51) {
_p51({ _f31: _271 });
}
_471 = new _G71(_H71, _131._I71(_131._x51), false);
}
function _f71(_a11, _b11) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = yyGetReal(_a11);
_471._C51[index + 1] = yyGetReal(_b11);
_471._C51[index + 2] = _I51;
_471._G51[index + 0] = 0;
_471._G51[index + 1] = 0;
_471._E51[index] = ((_K71 * 255.0) << 24) | (_L71 & 0x00ffffff);
}
function _g71(_a11, _b11, _M71, _f41) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = yyGetReal(_a11);
_471._C51[index + 1] = yyGetReal(_b11);
_471._C51[index + 2] = _I51;
_471._G51[index + 0] = 0;
_471._G51[index + 1] = 0;
_471._E51[index] = ((yyGetReal(_f41) * 255.0) << 24) | _N71(yyGetInt32(_M71));
}
function _h71(_a11, _b11, _O71, _P71) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = yyGetReal(_a11);
_471._C51[index + 1] = yyGetReal(_b11);
_471._C51[index + 2] = _I51;
var _Q71 = _R71(yyGetReal(_O71), yyGetReal(_P71));
_471._G51[index + 0] = _Q71._P41;
_471._G51[index + 1] = _Q71._J41;
_471._E51[index] = ((_K71 * 255.0) << 24) | (_L71 & 0x00ffffff);
}
function _i71(_a11, _b11, _O71, _P71, _M71, _f41) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = yyGetReal(_a11);
_471._C51[index + 1] = yyGetReal(_b11);
_471._C51[index + 2] = _I51;
var _Q71 = _R71(yyGetReal(_O71), yyGetReal(_P71));
_471._G51[index + 0] = _Q71._P41;
_471._G51[index + 1] = _Q71._J41;
_471._E51[index] = ((yyGetReal(_f41) * 255.0) << 24) | _N71(yyGetInt32(_M71));
}
function _j71() {
var _S71 = _v71(_171);
if (_S71 == -1) {
return;
}
var _T71 = _471._U71.subarray(0, _471._A51 * _471._z51());
var _V71 = _271 ? _271._o51 : null;
var _u51 = _131._v51(_S71, _V71, _131._x51, _471._A51);
_u51._U71.set(_T71, _u51._A51 * _u51._z51());
_u51._A51 += _471._A51;
}
function _k71(_e2) {
_J61(_e2, -1);
}
function _l71(_D71, _b31) {
_171 = _D71;
_271 = null;
_371 = null;
if (typeof _b31 == "object") {
_271 = _b31._E71;
_371 = _b31._F71;
} else if (_b31 != -1 && _g31[_b31]) {
_271 = _g31[_b31];
}
if (_271 && !_271._o51) {
_p51({ _f31: _271 });
}
_471 = new _G71(_H71, _131._I71(_131._W71), false);
}
function _R71(_O71, _P71) {
if (_371 && _271) {
return { _P41: (_371.x + _O71 * _371._bk) / _271._X71, _J41: (_371.y + _P71 * _371._ck) / _271._Y71 };
} else {
return { _P41: _O71, _J41: _P71 };
}
}
function _m71(_a11, _b11, _Z71) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = _a11;
_471._C51[index + 1] = _b11;
_471._C51[index + 2] = _Z71;
_471.__71[index + 0] = 0;
_471.__71[index + 1] = 0;
_471.__71[index + 2] = 0;
_471._G51[index + 0] = 0;
_471._G51[index + 1] = 0;
_471._E51[index] = ((_K71 * 255.0) << 24) | (_L71 & 0x00ffffff);
}
function _n71(_a11, _b11, _Z71, _081, _f41) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = _a11;
_471._C51[index + 1] = _b11;
_471._C51[index + 2] = _Z71;
_471.__71[index + 0] = 0;
_471.__71[index + 1] = 0;
_471.__71[index + 2] = 0;
_471._G51[index + 0] = 0;
_471._G51[index + 1] = 0;
_471._E51[index] = ((_f41 * 255.0) << 24) | _N71(_081);
}
function _o71(_a11, _b11, _Z71, _181, _281) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = _a11;
_471._C51[index + 1] = _b11;
_471._C51[index + 2] = _Z71;
_471.__71[index + 0] = 0;
_471.__71[index + 1] = 0;
_471.__71[index + 2] = 0;
var _Q71 = _R71(_181, _281);
_471._G51[index + 0] = _Q71._P41;
_471._G51[index + 1] = _Q71._J41;
_471._E51[index] = ((_K71 * 255.0) << 24) | (_L71 & 0x00ffffff);
}
function _p71(_a11, _b11, _Z71, _181, _281, _081, _f41) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = _a11;
_471._C51[index + 1] = _b11;
_471._C51[index + 2] = _Z71;
_471.__71[index + 0] = 0;
_471.__71[index + 1] = 0;
_471.__71[index + 2] = 0;
var _Q71 = _R71(_181, _281);
_471._G51[index + 0] = _Q71._P41;
_471._G51[index + 1] = _Q71._J41;
_471._E51[index] = ((_f41 * 255.0) << 24) | _N71(_081);
}
function _q71(_a11, _b11, _Z71, _381, _481, _581) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = _a11;
_471._C51[index + 1] = _b11;
_471._C51[index + 2] = _Z71;
_471.__71[index + 0] = _381;
_471.__71[index + 1] = _481;
_471.__71[index + 2] = _581;
_471._G51[index + 0] = 0;
_471._G51[index + 1] = 0;
_471._E51[index] = ((_K71 * 255.0) << 24) | (_L71 & 0x00ffffff);
}
function _r71(_a11, _b11, _Z71, _381, _481, _581, _081, _f41) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = _a11;
_471._C51[index + 1] = _b11;
_471._C51[index + 2] = _Z71;
_471.__71[index + 0] = _381;
_471.__71[index + 1] = _481;
_471.__71[index + 2] = _581;
_471._G51[index + 0] = 0;
_471._G51[index + 1] = 0;
_471._E51[index] = ((_f41 * 255.0) << 24) | _N71(_081);
}
function _s71(_a11, _b11, _Z71, _381, _481, _581, _181, _281) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = _a11;
_471._C51[index + 1] = _b11;
_471._C51[index + 2] = _Z71;
_471.__71[index + 0] = _381;
_471.__71[index + 1] = _481;
_471.__71[index + 2] = _581;
var _Q71 = _R71(_181, _281);
_471._G51[index + 0] = _Q71._P41;
_471._G51[index + 1] = _Q71._J41;
_471._E51[index] = ((_K71 * 255.0) << 24) | (_L71 & 0x00ffffff);
}
function _t71(_a11, _b11, _Z71, _381, _481, _581, _181, _281, _081, _f41) {
var _y51 = _471._z51() >> 2;
var index = _471._A51 * _y51;
_471._J71(1);
_471._C51[index + 0] = _a11;
_471._C51[index + 1] = _b11;
_471._C51[index + 2] = _Z71;
_471.__71[index + 0] = _381;
_471.__71[index + 1] = _481;
_471.__71[index + 2] = _581;
var _Q71 = _R71(_181, _281);
_471._G51[index + 0] = _Q71._P41;
_471._G51[index + 1] = _Q71._J41;
_471._E51[index] = ((_f41 * 255.0) << 24) | _N71(_081);
}
function _u71() {
var _S71 = _v71(_171);
if (_S71 == -1) {
return;
}
var _T71 = _471._U71.subarray(0, _471._A51 * _471._z51());
var _V71 = _271 ? _271._o51 : null;
var _u51 = _131._v51(_S71, _V71, _131._W71, _471._A51);
_u51._U71.set(_T71, _u51._A51 * _u51._z51());
_u51._A51 += _471._A51;
}
/*@constructor */ function _681(_781) {
var _881 = null,
_981 = null,
_a81 = null,
_b81 = false,
_c81 = null,
_d81;
var _e81 = 0,
_f81 = 0,
_g81 = 0,
_h81 = 0;
var _i81 = this;
(function () {
_881 = new ArrayBuffer(_781);
_981 = new DataView(_881);
})();
function _j81(_k81, _l81) {
var _m81 = false;
var _n81 = _c81._o81;
for (var _X9 = 0; _X9 < _n81.length; _X9++) {
var _p81 = _n81[_X9];
if ((_k81 == -1 || _p81._q81 == _k81) && _p81.type == _l81) {
_m81 = true;
if ((_p81._r81 & _e81) === 0) {
var _s81 = _h81 + _p81.offset;
_e81 |= _p81._r81;
if (_c81._t81 === _e81) {
_e81 = 0;
_f81++;
_h81 += _c81._u81;
if (_h81 + _c81._u81 >= _881.byteLength) {
_i81._v81(_881.byteLength * 2);
}
}
return _s81;
}
}
}
if (_m81) {
debug("VERTEX BUILDER: element already written, must write the whole vertex first\n\n", true);
return -1;
}
debug("VERTEX BUILDER: Vertex format does not contain selected type.\n\n", true);
return -1;
}
/*@this {yyVBufferBuilder} */ this._v81 = function (_781) {
var _w81 = new ArrayBuffer(_781);
var _x81 = new Int8Array(_881);
var _y81 = new Int8Array(_w81);
_y81.set(_x81);
_881 = _w81;
_981 = new DataView(_881);
};
/*@this {yyVBufferBuilder} */ this._z81 = function (_A81) {
_e81 = 0;
_f81 = 0;
_g81 = 0;
_h81 = 0;
_d81 = _A81;
_c81 = _131._I71(_A81);
if (_c81._u81 > _881.byteLength) {
this._v81(_c81._u81 * 36);
}
};
/*@this {yyVBufferBuilder} */ this._B81 = function () {};
this._C81 = function () {
return _d81;
};
this._D81 = function () {
return _131._I71(_d81);
};
/*@this {yyVBufferBuilder} */ this._E81 = function (x, y) {
var _s81 = _j81(_Z41._F81, _Z41._G81);
if (_s81 >= 0) {
_981.setFloat32(_s81, x, true);
_981.setFloat32(_s81 + 4, y, true);
}
};
/*@this {yyVBufferBuilder} */ this._H81 = function (x, y, _L61) {
var _s81 = _j81(_Z41._F81, _Z41._I81);
if (_s81 >= 0) {
_981.setFloat32(_s81, x, true);
_981.setFloat32(_s81 + 4, y, true);
_981.setFloat32(_s81 + 8, _L61, true);
}
};
/*@this {yyVBufferBuilder} */ this._J81 = function (_081, _f41) {
var _s81 = _j81(_Z41._K81, _Z41._L81);
if (_s81 >= 0) {
var _M81 = ((_f41 * 255.0) << 24) | _N71(_081);
_981.setUint32(_s81, _M81, true);
}
};
/*@this {yyVBufferBuilder} */ this._N81 = function (_O81) {
var _s81 = _j81(_Z41._K81, _Z41._L81);
if (_s81 >= 0) {
var _L31 = ((_O81 & 0xff) << 24) | ((_O81 & 0xff00) << 8) | ((_O81 & 0xff0000) >> 8) | ((_O81 & 0xff000000) >> 24);
_981.setUint32(_s81, _L31, true);
}
};
/*@this {yyVBufferBuilder} */ this._P81 = function (_Q81) {
var _s81 = _j81(_Z41._K81, _Z41._L81);
if (_s81 >= 0) {
var _L31 = (_Q81 & 0xff000000) | ((_Q81 & 0xff) << 16) | (_Q81 & 0xff00) | ((_Q81 & 0xff0000) >> 16);
_981.setUint32(_s81, _L31, true);
}
};
/*@this {yyVBufferBuilder} */ this._R81 = function (_P41, _J41) {
var _s81 = _j81(_Z41._S81, _Z41._G81);
if (_s81 >= 0) {
_981.setFloat32(_s81, _P41, true);
_981.setFloat32(_s81 + 4, _J41, true);
}
};
/*@this {yyVBufferBuilder} */ this._T81 = function (x, y, _L61) {
var _s81 = _j81(_Z41._U81, _Z41._I81);
if (_s81 >= 0) {
_981.setFloat32(_s81, x, true);
_981.setFloat32(_s81 + 4, y, true);
_981.setFloat32(_s81 + 8, _L61, true);
}
};
/*@this {yyVBufferBuilder} */ this._V81 = function (x) {
var _s81 = _j81(-1, _Z41._W81);
if (_s81 >= 0) {
_981.setFloat32(_s81, x, true);
}
};
/*@this {yyVBufferBuilder} */ this._X81 = function (x, y) {
var _s81 = _j81(-1, _Z41._G81);
if (_s81 >= 0) {
_981.setFloat32(_s81, x, true);
_981.setFloat32(_s81 + 4, y, true);
}
};
/*@this {yyVBufferBuilder} */ this._Y81 = function (x, y, _L61) {
var _s81 = _j81(-1, _Z41._I81);
if (_s81 >= 0) {
_981.setFloat32(_s81, x, true);
_981.setFloat32(_s81 + 4, y, true);
_981.setFloat32(_s81 + 8, _L61, true);
}
};
/*@this {yyVBufferBuilder} */ this._Z81 = function (x, y, _L61, _Z9) {
var _s81 = _j81(-1, _Z41.__81);
if (_s81 >= 0) {
_981.setFloat32(_s81, x, true);
_981.setFloat32(_s81 + 4, y, true);
_981.setFloat32(_s81 + 8, _L61, true);
_981.setFloat32(_s81 + 12, _Z9, true);
}
};
/*@this {yyVBufferBuilder} */ this._091 = function (x, y, _L61, _Z9) {
var _s81 = _j81(-1, _Z41._191);
if (_s81 >= 0) {
_981.setUint8(_s81, x, true);
_981.setUint8(_s81 + 1, y, true);
_981.setUint8(_s81 + 2, _L61, true);
_981.setUint8(_s81 + 3, _Z9, true);
}
};
/*@this {yyVBufferBuilder} */ this._291 = function () {
var _391 = new _G71(_f81, _c81, false);
var _491 = _f81 * _c81._u81;
var _591 = new Int8Array(_881, 0, _491);
_391._U71.set(_591);
_391._A51 += _f81;
_391._291();
_a81 = _391;
_b81 = true;
_881 = null;
_981 = null;
};
/*@this {yyVBufferBuilder} */ this._691 = function (_791, _891) {
if (_b81) {
if (_891 == -1) {
_131._991(_791, null, _a81, 0);
} else _131._991(_791, _891._E71._o51, _a81, 0);
} else {
var _u51;
if (_891 == -1) {
_u51 = _131._v51(_791, null, _d81, _f81);
} else {
_u51 = _131._v51(_791, _891._E71._o51, _d81, _f81);
}
var _a91 = _u51._A51 * _c81._u81;
var _591 = new Int8Array(_881, 0, _f81 * _c81._u81);
_u51._U71.set(_591, _a91);
_u51._A51 += _f81;
}
};
this._b91 = function (_c91) {
_f81 = _c91;
_g81 = 0;
_h81 = _c91 * _c81._u81;
};
this._d91 = function () {
return _f81;
};
this._e91 = function () {
return _881;
};
}
var _f91 = null;
var _g91 = [];
/*@constructor */ function _h91() {
var _i91 = 0,
_j91 = 0.5;
var _k91;
var _l91 = [];
var _m91 = [];
var _n91 = [];
var _o91 = _i91;
var _p91 = _j91;
Object.defineProperties(this, {
_q91: {
get: function () {
return _o91;
},
set: function (_r91) {
_o91 = _r91;
},
},
_s91: {
get: function () {
return _p91;
},
set: function (_r91) {
_p91 = _r91;
},
},
});
/*@this {yyGamePad} */ this._t91 = function (_u91) {
_k91 = _u91.id;
_m91 = _l91.slice();
_n91 = _u91.axes.slice();
var _v91 = _u91.buttons;
if (_v91) {
for (var _e21 in _v91) {
if (!_v91.hasOwnProperty(_e21)) continue;
if (typeof _v91[_e21] === "object") {
_l91[_e21] = _v91[_e21].value;
} else {
_l91[_e21] = _v91[_e21];
}
}
}
};
/*@this {yyGamePad} */ this._w91 = function () {
return _k91 || "";
};
/*@this {yyGamePad} */ this._x91 = function () {
if (_l91) {
return _l91.length;
}
return 0;
};
/*@this {yyGamePad} */ this._y91 = function (_z91) {
var _A91 = _l91[_z91];
var _B91 = _m91[_z91];
if (_A91 !== undefined && _B91 !== undefined) {
return _A91 >= _p91 && _B91 < _p91;
}
return false;
};
/*@this {yyGamePad} */ this._C91 = function (_z91) {
var _A91 = _l91[_z91];
var _B91 = _m91[_z91];
if (_A91 !== undefined && _B91 !== undefined) {
return _A91 < _p91 && _B91 >= _p91;
}
return false;
};
/*@this {yyGamePad} */ this._D91 = function (_z91) {
var _A91;
if (typeof _l91[_z91] === "object") {
_A91 = _l91[_z91].value;
} else {
_A91 = _l91[_z91];
}
if (_A91 !== undefined) {
return _A91 >= _p91;
}
return false;
};
/*@this {yyGamePad} */ this._E91 = function (_z91) {
var _A91;
if (typeof _l91[_z91] === "object") {
_A91 = _l91[_z91].value;
} else {
_A91 = _l91[_z91];
}
return _A91 || 0.0;
};
/*@this {yyGamePad} */ this._F91 = function () {
if (_n91) {
return _n91.length;
}
return 0;
};
/*@this {yyGamePad} */ this._G91 = function (_H91, _I91) {
var _J91 = _n91[_H91] || 0;
if (_o91 > 0.0) {
var _K91 = Math.abs(_J91);
if (_K91 < _o91) {
_J91 = 0.0;
} else {
var sign = _J91 >= 0 ? 1.0 : -1.0;
_J91 = ((_K91 - _o91) / (_I91 - _o91)) * sign;
}
}
return _J91;
};
}
/*@constructor */ function _L91() {
var _M91 = 1.0,
_N91 = 1.0;
var _O91 = 0,
_P91 = 1;
var _Q91 = 0x8000,
_R91 = 0x8001,
_S91 = 0x8002,
_T91 = 0x8003,
_U91 = 0x8004,
_V91 = 0x8005,
_W91 = 0x8006,
_X91 = 0x8007,
_Y91 = 0x8008,
_Z91 = 0x8009,
__91 = 0x800a,
_0a1 = 0x800b,
_1a1 = 0x800c,
_2a1 = 0x800d,
_3a1 = 0x800e,
_4a1 = 0x800f,
_5a1 = 0x8010,
_6a1 = 0x8011,
_7a1 = 0x8012,
_8a1 = 0x8013,
_9a1 = 0x8014;
var _aa1 = 0,
_ba1 = 1,
_ca1 = 2,
_da1 = 3,
_ea1 = 4,
_fa1 = 5,
_ga1 = 6,
_ha1 = 7,
_ia1 = 8,
_ja1 = 9,
_ka1 = 10,
_la1 = 11,
_ma1 = 12,
_na1 = 13,
_oa1 = 14,
_pa1 = 15;
var _qa1 = 0,
_ra1 = 1,
_sa1 = 2,
_ta1 = 3;
function _ua1() {
return !!navigator["getGamepads"] || !!navigator["webkitGetGamepads"] || !!navigator["webkitGamepads"];
}
var _va1 = _ua1() ? _P91 : _O91;
var _wa1 = [];
function _xa1() {
if (navigator["getGamepads"]) {
return navigator["getGamepads"]();
}
if (navigator["webkitGetGamepads"]) {
return navigator["webkitGetGamepads"]();
}
if (navigator["webkitGamepads"]) {
return navigator["webkitGamepads"]();
}
return null;
}
function _ya1() {
var gamepads = _xa1();
if (gamepads !== null) {
var _za1 = 0;
for (_za1 = 0; _za1 < gamepads.length; ++_za1) {
var _Aa1 = gamepads[_za1];
if (!_Aa1 && _wa1[_za1]) {
_wa1[_za1] = undefined;
var _Ba1 = _Ca1._Da1(undefined, undefined, _Ea1, undefined);
_Ba1._Fa1 = "gamepad lost";
_Ba1._Ga1 = _za1;
_Ba1._Ha1 = 0;
_Ba1._Ia1 = true;
} else {
if (_Aa1 && !_wa1[_za1]) {
_wa1[_za1] = new _h91();
if (_g91[_za1] !== undefined) {
_wa1[_za1]._q91 = _g91[_za1];
}
var _Ba1 = _Ca1._Da1(undefined, undefined, _Ea1, undefined);
_Ba1._Fa1 = "gamepad discovered";
_Ba1._Ga1 = _za1;
_Ba1._Ha1 = 0;
_Ba1._Ia1 = true;
}
if (_wa1[_za1]) {
_wa1[_za1]._t91(_Aa1);
}
}
}
}
}
function _Ja1(_z91) {
if (_z91 < _Q91) {
return _z91;
}
switch (_z91) {
case _R91:
return _aa1;
case _S91:
return _ba1;
case _T91:
return _ca1;
case _U91:
return _da1;
case _V91:
return _ea1;
case _W91:
return _fa1;
case _X91:
return _ga1;
case _Y91:
return _ha1;
case _Z91:
return _ia1;
case __91:
return _ja1;
case _0a1:
return _ka1;
case _1a1:
return _la1;
case _2a1:
return _ma1;
case _3a1:
return _na1;
case _4a1:
return _oa1;
case _5a1:
return _pa1;
}
return 0;
}
function _Ka1(_H91) {
if (_H91 < _Q91) {
return _H91;
}
switch (_H91) {
case _6a1:
return _qa1;
case _7a1:
return _ra1;
case _8a1:
return _sa1;
case _9a1:
return _ta1;
}
return 0;
}
function _L91() {}
/*@this {yyGamepadManager} */ this._La1 = function () {
return _wa1.length;
};
/*@this {yyGamepadManager} */ this._Ma1 = function (_Na1) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._w91();
}
return "";
};
/*@this {yyGamepadManager} */ this._Pa1 = function () {
return _va1 !== _O91;
};
/*@this {yyGamepadManager} */ this._s91 = function (_Na1) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._s91;
}
return 0.0;
};
/*@this {yyGamepadManager} */ this._Qa1 = function (_Na1, _Ra1) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
if (_Ra1 >= 0.0 && _Ra1 <= _M91) {
_Oa1._s91 = _Ra1;
}
}
};
/*@this {yyGamepadManager} */ this._q91 = function (_Na1) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._q91;
} else if (_g91[_Na1] !== undefined) {
return _g91[_Na1];
}
return 0.0;
};
/*@this {yyGamepadManager} */ this._Sa1 = function (_Na1, _Ta1) {
_g91[_Na1] = _Ta1;
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
if (_Ta1 >= 0.0 && _Ta1 <= _N91) {
_Oa1._q91 = _Ta1;
}
}
};
/*@this {yyGamepadManager} */ this._Ua1 = function () {
_wa1 = [];
};
/*@this {yyGamepadManager} */ this._Va1 = function () {
switch (_va1) {
case _P91:
_ya1();
break;
case _O91:
default:
return;
}
};
/*@this {yyGamepadManager} */ this._Wa1 = function (_Na1) {
if (_wa1[_Na1] !== null && _wa1[_Na1] !== undefined) {
return true;
}
return false;
};
/*@this {yyGamepadManager} */ this._x91 = function (_Na1) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._x91();
}
return 0;
};
/*@this {yyGamepadManager} */ this._F91 = function (_Na1) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._F91();
}
return 0;
};
/*@this {yyGamepadManager} */ this._D91 = function (_Na1, _z91) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._D91(_Ja1(_z91), _Oa1._s91);
}
return false;
};
/*@this {yyGamepadManager} */ this._y91 = function (_Na1, _z91) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._y91(_Ja1(_z91), _Oa1._s91);
}
return false;
};
/*@this {yyGamepadManager} */ this._C91 = function (_Na1, _z91) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._C91(_Ja1(_z91), _Oa1._s91);
}
return false;
};
/*@this {yyGamepadManager} */ this._E91 = function (_Na1, _z91) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._E91(_Ja1(_z91));
}
return 0;
};
/*@this {yyGamepadManager} */ this._G91 = function (_Na1, _H91) {
var _Oa1 = _wa1[_Na1];
if (_Oa1) {
return _Oa1._G91(_Ka1(_H91), _N91);
}
return 0;
};
}
var _Xa1 = [];
var _Ya1 = "None";
var _Za1 = 0;
var __a1 = 0;
/*@constructor */ function _0b1() {
this.x = 0;
this.y = 0;
this._D91 = 0;
this._y91 = 0;
this._C91 = 0;
this._1b1 = 0;
}
_0b1.prototype._Ua1 = function () {
this._D91 = 0;
this._y91 = 0;
this._C91 = 0;
this._1b1 = 0;
};
_0b1.prototype._2b1 = function (_a11, _b11) {
if (_D01) {
var _3b1;
if (!_D01._4b1) {
_3b1 = _5b1;
} else {
_3b1 = _D01._6b1;
}
for (var _J41 = 0; _J41 < _3b1.length; _J41++) {
var _7b1 = _3b1[_J41];
if (_7b1._4a) {
_8b1(canvas, _9b1);
if (_a11 - _9b1.left >= _7b1._ab1 && _a11 - _9b1.left < _7b1._bb1 && _b11 - _9b1.top >= _7b1._cb1 && _b11 - _9b1.top < _7b1._db1) {
this.x = _7b1._eb1(_a11, _b11);
this.y = _7b1._fb1(_a11, _b11);
return;
}
}
}
}
this.x = _a11;
this.y = _b11;
};
/*@constructor */ function _gb1(_hb1) {
for (var _X9 = 0; _X9 < _Xa1.length; _X9++) {
if (_Xa1[_X9] === _hb1) {
return _X9;
}
}
return -1;
}
function _ib1(_hb1) {
var _jb1 = -1;
for (var _X9 = 0; _X9 < _Xa1.length; _X9++) {
if (_Xa1[_X9] === _hb1 || _Xa1[_X9] === -1) {
_jb1 = _X9;
break;
}
}
if (_jb1 == -1) {
_jb1 = _Xa1.length;
}
_Xa1[_jb1] = _hb1;
_kb1[_jb1] = new _0b1();
return _jb1;
}
var _lb1 = !1;
function _mb1(event) {
for (var _nb1 = 0; _nb1 < event.changedTouches.length; _nb1++) {
var _ob1 = event.changedTouches[_nb1];
var type = "";
var _jb1 = -1;
_Ya1 = event.type;
switch (event.type) {
case "touchstart":
_jb1 = _ib1(_ob1["identifier"]);
break;
case "touchend":
if (!_lb1 && _pb1 == _qb1) {
_rb1();
_lb1 = true;
}
_jb1 = _gb1(_ob1["identifier"]);
_Xa1[_jb1] = -1;
break;
case "touchcancel":
_jb1 = _gb1(_ob1["identifier"]);
_Xa1[_jb1] = -1;
break;
case "touchmove":
_jb1 = _gb1(_ob1["identifier"]);
break;
default:
return;
}
var _sb1;
var _tb1;
_sb1 = _ob1.pageX;
_tb1 = _ob1.pageY;
if (_jb1 == 0) {
if (_ub1 != null) {
_vb1 = _sb1;
_wb1 = _tb1;
}
switch (event.type) {
case "touchstart":
_xb1 = 1;
break;
case "touchmove":
_xb1 = 1;
break;
case "touchcancel":
case "touchend":
_xb1 = 0;
break;
}
}
_kb1[_jb1]._2b1(_sb1, _tb1);
_yb1[_jb1].x = _sb1;
_yb1[_jb1].y = _tb1;
switch (event.type) {
case "touchstart":
_kb1[_jb1]._D91 = 1;
_yb1[_jb1]._zb1 = _Ab1 | _Bb1 | _Cb1;
break;
case "touchcancel":
case "touchend":
_kb1[_jb1]._D91 = 0;
_yb1[_jb1]._zb1 = 0;
break;
case "touchmove":
default:
break;
}
event.preventDefault();
}
}
function _Db1() {
canvas.ontouchstart = _mb1;
canvas.ontouchmove = _mb1;
canvas.ontouchend = _mb1;
canvas.ontouchcancel = _mb1;
}
var _Eb1, _Fb1, _Gb1, _Hb1, _Ib1, _Jb1, _Kb1;
/*@constructor */ /*@constructor */ function _Lb1(_Mb1, _Nb1) {
this._Ob1 = [];
this._X71 = _Mb1;
this._Y71 = _Nb1;
var _d21 = _Mb1 * _Nb1;
for (var _X9 = 0; _X9 < _d21; _X9++) {
this._Ob1[_X9] = 0;
}
}
_Lb1.prototype._Pb1 = function (_Qb1) {
this._X71 = _Qb1._X71;
this._Y71 = _Qb1._Y71;
this._Ob1 = _Qb1._Ob1.slice();
};
function _Wt(_Mb1, _Nb1) {
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
if (_Mb1 < 0 || _Nb1 < 0) {
_Rb1("Error: Invalid ds_grid size: (" + _Mb1 + "," + _Nb1 + ")");
}
var _Sb1 = new _Lb1(_Mb1, _Nb1);
var id = _Tb1._Da1(_Sb1);
return id;
}
function _XN(_Ub1) {
var _Sb1 = _Tb1._s11(yyGetInt32(_Ub1));
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_width)");
return;
}
return _Sb1._X71;
}
function _YN(_Ub1) {
var _Sb1 = _Tb1._s11(yyGetInt32(_Ub1));
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_height)");
return;
}
return _Sb1._Y71;
}
function _Xt(_Ub1, _M01) {
var _Sb1 = _Tb1._s11(yyGetInt32(_Ub1));
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_height)");
return;
}
for (var _X9 = 0; _X9 < _Sb1._Ob1.length; _X9++) {
_Sb1._Ob1[_X9] = _M01;
}
}
var _JP = _Vb1;
function _Vb1(_Ub1, _a11, _b11, _M01) {
_Ub1 = yyGetInt32(_Ub1);
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
var _Sb1 = _Tb1._s11(_Ub1);
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_set)");
return;
}
if (_a11 < 0 || _a11 >= _Sb1._X71 || _b11 < 0 || _b11 >= _Sb1._Y71) {
_Rb1("Error: grid out of bounds(set) - GridID: " + _Ub1 + " size[" + _Sb1._X71 + "," + _Sb1._Y71 + "] at (" + _a11 + "," + _b11 + ")");
return;
}
_Sb1._Ob1[_a11 + _b11 * _Sb1._X71] = _M01;
}
var _Wb1 = _Xb1;
function _Xb1(_Ub1, _a11, _b11, _M01) {
_Ub1 = yyGetInt32(_Ub1);
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
var _Sb1 = _Tb1._s11(_Ub1);
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_set)");
return _M01;
}
if (_a11 < 0 || _a11 >= _Sb1._X71 || _b11 < 0 || _b11 >= _Sb1._Y71) {
_Rb1("Error: grid out of bounds(set) - GridID: " + _Ub1 + " size[" + _Sb1._X71 + "," + _Sb1._Y71 + "] at (" + _a11 + "," + _b11 + ")");
return _M01;
}
_Sb1._Ob1[_a11 + _b11 * _Sb1._X71] = _M01;
return _M01;
}
var _Yb1 = _Zb1;
function _Zb1(_Ub1, _a11, _b11, _M01) {
_Ub1 = yyGetInt32(_Ub1);
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
var _Sb1 = _Tb1._s11(_Ub1);
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_set)");
return _M01;
}
if (_a11 < 0 || _a11 >= _Sb1._X71 || _b11 < 0 || _b11 >= _Sb1._Y71) {
_Rb1("Error: grid out of bounds(set) - GridID: " + _Ub1 + " size[" + _Sb1._X71 + "," + _Sb1._Y71 + "] at (" + _a11 + "," + _b11 + ")");
return _M01;
}
var __b1 = _Sb1._Ob1[_a11 + _b11 * _Sb1._X71];
_Sb1._Ob1[_a11 + _b11 * _Sb1._X71] = _M01;
return __b1;
}
var _IP = _0c1;
function _0c1(_Ub1, _a11, _b11) {
_Ub1 = yyGetInt32(_Ub1);
var _Sb1 = _Tb1._s11(_Ub1),
x = yyGetInt32(_a11),
y = yyGetInt32(_b11);
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_get)");
return undefined;
}
if (x < 0 || x >= _Sb1._X71 || y < 0 || y >= _Sb1._Y71) {
_Rb1("Error: grid out of bounds(get) - GridID: " + _Ub1 + " size[" + _Sb1._X71 + "," + _Sb1._Y71 + "] at (" + x + "," + y + ")");
return undefined;
}
return _Sb1._Ob1[x + y * _Sb1._X71];
}
function _1c1(_Ub1, _t21, _u21, _R11, _S11) {
_Ub1 = yyGetInt32(_Ub1);
_t21 = yyGetInt32(_t21);
_u21 = yyGetInt32(_u21);
_R11 = yyGetInt32(_R11);
_S11 = yyGetInt32(_S11);
var _Sb1 = _Tb1._s11(_Ub1);
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_get_sum)");
return 0;
}
if (_t21 > _R11) {
var _d21 = _t21;
_t21 = _R11;
_R11 = _d21;
}
if (_t21 < 0) _t21 = 0;
if (_t21 >= _Sb1._X71) _t21 = _Sb1._X71 - 1;
if (_R11 < 0) _R11 = 0;
if (_R11 >= _Sb1._X71) _R11 = _Sb1._X71 - 1;
if (_u21 > _S11) {
var _d21 = _u21;
_u21 = _S11;
_S11 = _d21;
}
if (_u21 < 0) _u21 = 0;
if (_u21 >= _Sb1._Y71) _u21 = _Sb1._Y71 - 1;
if (_S11 < 0) _S11 = 0;
if (_S11 >= _Sb1._Y71) _S11 = _Sb1._Y71 - 1;
_Fb1 = _Eb1 = _Gb1 = _Hb1 = 0;
var first = true;
var _d31 = 0;
for (var y = _u21; y <= _S11; y++) {
var index = y * _Sb1._X71 + _t21;
for (var x = _t21; x <= _R11; x++) {
var _J41 = _Sb1._Ob1[index];
if (first) {
_Eb1 = _Fb1 = _J41;
first = false;
} else {
if (_Eb1 > _J41) _Eb1 = _J41;
if (_Fb1 < _J41) _Fb1 = _J41;
}
if (typeof _J41 !== "string") {
_Gb1 += _J41;
}
_d31++;
index++;
}
}
_Hb1 = _Gb1 / _d31;
}
function _WN(_Ub1, _t21, _u21, _R11, _S11) {
_1c1(_Ub1, _t21, _u21, _R11, _S11);
return _Eb1;
}
function _Kt(_Ub1) {
var _Sb1 = _Tb1._s11(yyGetInt32(_Ub1));
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_write)");
return;
}
var width = _Sb1._X71;
var height = _Sb1._Y71;
var _2c1 = _3c1(16384, _4c1, 1);
_5c1(_2c1, _6c1, 602);
_5c1(_2c1, _6c1, width);
_5c1(_2c1, _6c1, height);
for (var x = 0; x <= width - 1; x++) {
for (y = 0; y <= height - 1; y++) {
var _r91 = _Sb1._Ob1[x + y * width];
_7c1(_2c1, _r91);
}
}
var _8c1 = _9c1(_2c1);
_ac1(_2c1);
return _8c1;
}
function _1u(_Ub1, _bc1) {
if (!_bc1) {
_Rb1("Error: no string provided (ds_grid_read)");
return false;
}
var _Sb1 = _Tb1._s11(yyGetInt32(_Ub1));
if (!_Sb1) {
_Rb1("Error: invalid ds_grid ID (ds_grid_read)");
return false;
}
if (_bc1[0] == "{") {
try {
var _cc1 = JSON.parse(_bc1);
if (_cc1 != null && _cc1 != undefined && typeof _cc1.body == "object" && typeof _cc1.width == "number" && typeof _cc1.height == "number") {
_Sb1._X71 = _cc1.width;
_Sb1._Y71 = _cc1.height;
_Sb1._Ob1 = _cc1.body;
}
} catch (_dc1) {
_Rb1("Error: reading ds_grid JSON");
return false;
}
return true;
} else {
var _2c1 = _ec1(_bc1);
if (_2c1 < 0) return false;
_fc1(_2c1, _gc1, 0);
var id = _hc1(_2c1, _6c1);
if (id != 602) {
_Rb1("Error: unrecognised format - resave the grid to update/fix issues. (ds_grid_read)");
return false;
}
var _Z9 = _hc1(_2c1, _6c1);
var __9 = _hc1(_2c1, _6c1);
_Sb1._X71 = _Z9;
_Sb1._Y71 = __9;
_Sb1._Ob1 = [];
var _d21 = _Z9 * __9;
for (var _X9 = 0; _X9 < _d21; _X9++) {
_Sb1._Ob1[_X9] = 0;
}
for (_X9 = 0; _X9 <= _Z9 - 1; _X9++) {
for (_i21 = 0; _i21 <= __9 - 1; _i21++) {
var _r91 = _ic1(_2c1);
_Sb1._Ob1[_X9 + _i21 * _Z9] = _r91;
}
}
_ac1(_2c1);
return true;
}
}
function _yl() {
var _921 = new _jc1();
_921._kc1 = true;
return _lc1._Da1(_921);
}
function _Fl(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
var _mc1 = _lc1._s11(_Ub1);
if (_mc1) {
_mc1._Ua1();
_lc1._nc1(_Ub1);
}
}
function _8s(_Ub1) {
var _oc1 = _lc1._s11(yyGetInt32(_Ub1));
if (_oc1) {
_oc1._Ua1();
return;
}
_Rb1("Error: invalid ds_list ID (ds_list_clear)");
}
function _Rm(_Ub1, _pc1) {
_Ub1 = yyGetInt32(_Ub1);
var _qc1 = _lc1._s11(_Ub1);
if (!_qc1) {
_Rb1("Error: invalid DEST ds_list ID (ds_list_copy)");
return;
}
var _rc1 = _lc1._s11(yyGetInt32(_pc1));
if (!_rc1) {
_Rb1("Error: invalid SOURCE ds_list ID (ds_list_copy)");
return;
}
_qc1._Pb1(_rc1);
_lc1._sc1(_Ub1, _qc1);
}
function _el(_Ub1) {
var _oc1 = _lc1._s11(yyGetInt32(_Ub1));
if (_oc1) return _oc1.length;
_Rb1("Error: invalid ds_list ID (ds_list_size)");
return 0;
}
function _Cl() {
var _tc1 = arguments;
var _uc1 = arguments.length;
var _oc1 = _lc1._s11(_tc1[0]);
if (!_oc1) {
_Rb1("Error: invalid ds_list ID (ds_list_add)");
return;
}
for (var _X9 = 1; _X9 < _uc1; _X9++) {
_oc1._Da1(_tc1[_X9]);
}
return;
}
function _KZ(_Ub1, _G31, _M01) {
if (isNaN(_G31)) _Rb1("Error: index must be a number");
var _oc1 = _lc1._s11(yyGetInt32(_Ub1));
if (_oc1) {
_oc1._vc1(yyGetInt32(_G31), _M01);
} else {
_Rb1("Error: invalid ds_list ID (ds_list_set)");
}
}
function _El(_Ub1, _wc1) {
if (isNaN(_wc1)) _Rb1("Error: index must be a number");
var _oc1 = _lc1._s11(yyGetInt32(_Ub1));
if (_oc1) {
return _oc1._nc1(yyGetInt32(_wc1));
}
}
function _Dl(_Ub1, _M01) {
var _oc1 = _lc1._s11(yyGetInt32(_Ub1));
if (_oc1) {
var __b1 = -1;
for (var _921 = 0; _921 < _oc1._xc1.length; _921++) {
var _l41 = _oc1._xc1[_921];
if ((typeof _l41 == "object" && _l41.Object == _M01) || _l41 == _M01) {
__b1 = _921;
break;
}
}
return __b1;
}
_Rb1("Error: invalid ds_list ID (ds_list_find_index)");
return -1;
}
function _hl(_Ub1, _wc1) {
if (isNaN(_wc1)) _Rb1("Error: index must be a number");
var _J41,
_yc1 = _zc1(_wc1),
_oc1 = _lc1._s11(_zc1(yyGetInt32(_Ub1)));
if (_oc1) {
_J41 = _oc1._xc1[_yc1];
if (typeof _J41 === "object" && _J41.Object !== undefined) {
return _J41.Object;
} else return _J41;
}
_Rb1("Error: invalid ds_list ID (ds_list_find_value)");
return undefined;
}
function _sq(_Ub1) {
var _oc1 = _lc1._s11(yyGetInt32(_Ub1));
if (_oc1) {
_oc1._Ac1();
return 0;
}
_Rb1("Error: invalid ds_list ID (ds_list_shuffle)");
return 0;
}
function _Gt(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
var _oc1 = _lc1._s11(_Ub1);
if (!_oc1) {
_Rb1("Error: invalid ds_list ID (ds_list_write)");
return "";
}
var _Bc1 = _oc1.length;
var _2c1 = _3c1(16384, _4c1, 1);
_5c1(_2c1, _6c1, 302);
_5c1(_2c1, _6c1, _Bc1);
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _r91 = _hl(_Ub1, _X9);
_7c1(_2c1, _r91);
}
var _8c1 = _9c1(_2c1);
_ac1(_2c1);
return _8c1;
}
function _Yt(_Ub1, _bc1) {
if (_bc1 === undefined || _bc1 == "") {
return false;
}
_Ub1 = yyGetInt32(_Ub1);
var _oc1 = _lc1._s11(_Ub1);
if (!_oc1) {
_Rb1("Error: invalid ds_list ID (ds_list_read)");
return false;
}
if (_bc1[0] == "{") {
try {
var _mc1 = JSON.parse(_bc1);
_oc1._xc1 = _mc1;
_oc1.length = _mc1.length;
_oc1._d31 = _mc1.length;
} catch (err) {
_Rb1("Error: reading ds_list file.");
return false;
}
} else {
var _2c1 = _ec1(_bc1);
if (_2c1 < 0) return false;
_fc1(_2c1, _gc1, 0);
var id = _hc1(_2c1, _6c1);
if (id != 302) {
_Rb1("Error: unrecognised format - resave the list to update/fix issues. (ds_list_read)");
return false;
}
var _Bc1 = _hc1(_2c1, _6c1);
_oc1._Ua1();
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _r91 = _ic1(_2c1);
_Cl(_Ub1, _r91);
}
_ac1(_2c1);
}
return true;
}
var _Cc1 = 1,
_Dc1 = 2;
function _Ec1() {}
_Ec1.prototype._Ub1 = 0;
_Ec1.prototype._Fc1 = function () {
return (++_Ec1.prototype._Ub1).toString();
};
function _Gc1(_Hc1) {
if (_Hc1 instanceof Long) {
_Hc1 = _Hc1._Ic1();
} else if (typeof _Hc1 == "object") {
if (_Hc1._Jc1 == undefined) {
_Hc1._Jc1 = _Ec1.prototype._Fc1();
}
_Hc1 = _Hc1._Jc1;
}
return _Hc1;
}
/*@constructor */ function _Kc1(_l81, _Lc1) {
this._Mc1 = _l81;
this.Object = _Lc1;
}
function _Dq() {
var _Nc1 = {};
var id = _Oc1._Da1(_Nc1);
return id;
}
function _Tm(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
var _Nc1 = _Oc1._s11(_Ub1);
if (_Nc1) {
_Pc1(_Nc1);
_Oc1._nc1(_Ub1);
}
}
function _Aq(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
var _Nc1 = _Oc1._s11(_Ub1);
if (_Nc1) {
_Pc1(_Nc1);
var _Qc1 = {};
_Oc1._sc1(_Ub1, _Qc1);
}
}
function _Pc1(_Rc1) {
for (var _Sc1 in _Rc1) {
var _J41 = _Rc1[_Sc1];
if (_J41 != null && _J41.Object !== undefined)
switch (_J41._Mc1) {
case _Cc1:
_Tm(_J41.Object);
break;
case _Dc1:
_Fl(_J41.Object);
break;
}
}
}
function _bv(_Tc1, _pc1) {
_Tc1 = yyGetInt32(_Tc1);
var _qc1 = _Oc1._s11(_Tc1);
var _rc1 = _Oc1._s11(yyGetInt32(_pc1));
if (_qc1 && _rc1) {
_qc1 = {};
for (var _J41 in _rc1) {
if (_rc1.hasOwnProperty(_J41)) {
_qc1[_J41] = _rc1[_J41];
}
}
_Oc1._sc1(_Tc1, _qc1);
}
}
function _Xn(_Ub1, _Hc1) {
_Hc1 = _Gc1(_Hc1);
var _Nc1 = _Oc1._s11(yyGetInt32(_Ub1));
if (_Nc1) {
return _Nc1.hasOwnProperty(_Hc1);
}
return false;
}
function _lu(_Ub1, _Hc1, _M01) {
_Hc1 = _Gc1(_Hc1);
var _Nc1 = _Oc1._s11(yyGetInt32(_Ub1));
if (_Nc1) {
if (_Nc1.hasOwnProperty(_Hc1)) {
} else _Nc1[_Hc1] = _M01;
}
}
function _vl(_Ub1, _Hc1, _M01) {
_Hc1 = _Gc1(_Hc1);
var _Nc1 = _Oc1._s11(yyGetInt32(_Ub1));
if (_Nc1) {
_Nc1[_Hc1] = _M01;
}
}
function _FB(_Ub1, _Hc1, _M01) {
_Hc1 = _Gc1(_Hc1);
var __b1 = _M01;
var _Nc1 = _Oc1._s11(yyGetInt32(_Ub1));
if (_Nc1) {
__b1 = _Nc1[_Hc1];
_Nc1[_Hc1] = _M01;
}
return __b1;
}
function _il(_Ub1, _Hc1) {
if (Number.isNaN(_Hc1)) return undefined;
_Hc1 = _Gc1(_Hc1);
var _Nc1 = _Oc1._s11(yyGetInt32(_Ub1));
if (_Nc1) {
var _Uc1 = _Nc1[_Hc1];
if (typeof _Uc1 === "object" && _Uc1.Object !== undefined) {
return _Uc1.Object;
} else return _Uc1;
}
return undefined;
}
function _wS(_Ub1, _Hc1) {
_Hc1 = _Gc1(_Hc1);
var _Vc1 = false;
var _Nc1 = _Oc1._s11(yyGetInt32(_Ub1));
for (var _Wc1 in _Nc1) {
if (_Nc1.hasOwnProperty(_Wc1)) {
if (_Vc1) {
return _Wc1;
}
if (_Wc1 == _Hc1) {
_Vc1 = true;
}
}
}
return undefined;
}
function _uS(_Ub1) {
var _Nc1 = _Oc1._s11(yyGetInt32(_Ub1));
for (var _Wc1 in _Nc1) {
if (_Nc1.hasOwnProperty(_Wc1)) {
return _Wc1;
}
}
return undefined;
}
function _It(_Ub1) {
var _Nc1 = _Oc1._s11(yyGetInt32(_Ub1));
if (_Nc1 == null) {
_Rb1("Error: invalid ds_map ID (ds_map_write)");
return "";
}
var _2c1 = _3c1(16384, _4c1, 1);
_5c1(_2c1, _6c1, 402);
var _Xc1 = 0;
for (var _Wc1 in _Nc1) {
if (_Nc1.hasOwnProperty(_Wc1)) {
_Xc1++;
}
}
_5c1(_2c1, _6c1, _Xc1);
for (var key in _Nc1) {
if (_Nc1.hasOwnProperty(key)) {
_7c1(_2c1, key);
var _r91 = _Nc1[key];
_7c1(_2c1, _r91);
}
}
var _8c1 = _9c1(_2c1);
_ac1(_2c1);
return _8c1;
}
function __t(_Ub1, _bc1) {
_Ub1 = yyGetInt32(_Ub1);
var _Nc1 = _Oc1._s11(_Ub1);
if (_Nc1 == null) {
_Rb1("Error: invalid ds_map ID (ds_map_read)");
return false;
}
if (_bc1[0] == "{") {
try {
if (null != _bc1) {
_Nc1 = JSON.parse(_bc1);
_Oc1._sc1(_Ub1, _Nc1);
} else {
_Oc1._sc1(_Ub1, "");
}
} catch (_dc1) {
_Rb1("Error: reading ds_map JSON.");
return false;
}
} else {
_Aq(_Ub1);
var _2c1 = _ec1(_bc1);
if (_2c1 < 0) return false;
_fc1(_2c1, _gc1, 0);
var id = _hc1(_2c1, _6c1);
if (id != 402) {
_Rb1("Error: unrecognised format - resave the map to update/fix issues. (ds_map_read)");
return false;
}
var _d31 = _hc1(_2c1, _6c1);
while (_d31 > 0) {
var key = _ic1(_2c1);
var value = _ic1(_2c1);
_lu(_Ub1, key, value);
_d31--;
}
_ac1(_2c1);
}
return true;
}
function _iu(_Ub1, _Yc1) {
if (_Yc1 != null) {
var _Zc1 = __c1();
var _0d1 = _1d1(yyGetInt32(_Ub1));
var _2d1 = _3d1(_0d1);
_4d1(yyGetString(_Yc1), _Zc1 + _2d1);
}
}
function _bu(_Yc1) {
var _5d1 = -1;
try {
var _6d1 = __c1();
var data = _7d1(yyGetString(_Yc1), true);
var _8d1 = data.substring(0, _6d1.length);
var _2d1 = data.substring(_6d1.length, data.length);
if (_8d1 == _6d1) {
var _0d1 = _9d1(_2d1);
return _Cx(_0d1);
}
} catch (e) {
debug(e.message);
}
return -1;
}
function _ad1() {
var id = 0xf35065da3bb79cac7;
return id.toString();
}
function __c1() {
var _Zc1 = _ad1();
var _bd1 = _cd1(_Zc1.split("").reverse().join(""));
return _cd1(_bd1);
}
/*@constructor */ /*@constructor */ function _dd1(_ed1, _Lc1) {
this._Xf = _ed1;
this._fd1 = _Lc1;
}
function _gd1(_Ub1, _M01, _hd1) {
var _id1 = _jd1._s11(yyGetInt32(_Ub1));
if (_id1 == null || _id1 == undefined) {
_Rb1("Error: invalid priority queue ds_priority_add()");
return;
}
var _kd1 = new _dd1(_hd1, _M01);
_id1._Da1(_kd1);
}
var _ld1 = !1;
var _md1 = "Trying to stop non-existing sound.",
_nd1 = "Trying to draw a non-existing sprite.",
_od1 = "Trying to draw a non-existing background.",
_pd1 = "Cannot compare arguments.",
_qd1 = "Trying to replace non-existing resource.",
_rd1 = "File does not exist.",
_sd1 = "The particle emitter must first be created.";
var _td1 = -1,
_ud1 = [],
_vd1 = [];
function _wd1(_xd1, _081, _f41) {
_xd1._yd1(_zc1(_081));
_xd1._zd1 = _f41;
}
var _Ad1 = _wd1;
function _Bd1(_081) {
_aL(_081);
}
var _Cd1 = _Bd1;
function _Dd1(_l81, _Ed1, _Fd1, _Gd1, _Hd1, _Id1) {
var type = _zc1(_l81);
var _Jd1 = _zc1(_Ed1);
var _Kd1 = _zc1(_Fd1);
var _Ld1 = _zc1(_Gd1);
if (_td1 < 0) {
_td1 = _Md1();
}
if (_ud1[type] < 0) {
_ud1[type] = _Nd1();
}
var _Od1 = _ud1[type];
if (_Jd1 == 0) {
_Pd1(_Od1, _Kd1, _Ld1);
} else {
_Qd1(_Od1, _Kd1, _Ld1);
}
_Rd1(_Od1, _Hd1, _Id1);
}
var _Sd1 = _Dd1;
function _Td1(_Ud1) {
var _Vd1 = _Wd1._Xd1(_Ud1);
if (_Vd1 === null || _Vd1 === undefined) {
return false;
}
return true;
}
function _Yd1(_Ud1) {
var _Zd1 = _Wd1._Xd1(_Ud1);
if (!_Zd1) return 0;
if (_Zd1.__d1 === undefined) return 0;
return _Zd1.__d1._dk;
}
function _0e1(_Ud1) {
var _Zd1 = _Wd1._Xd1(_Ud1);
if (!_Zd1) return 0;
if (_Zd1.__d1 === undefined) return 0;
return _Zd1.__d1._ek;
}
function _1e1(_a11, _b11, _Mb1, _Nb1, _2e1, _3e1) {
var _4e1 = _5e1(_Mb1, _Nb1);
var _qc1 = _6e1._s11(_4e1);
var _7e1 = _qc1.getContext("2d");
_7e1.drawImage(canvas, -_a11, -_b11);
if (_2e1) {
_8e1(_7e1, _Mb1, _Nb1);
}
var _9e1 = new _ae1();
var _be1 = new _ce1();
_9e1.__d1 = _be1;
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _Mb1;
_be1.__9 = _Nb1;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = _4e1;
_be1._f31 = _qc1;
return _Wd1._de1(_9e1);
}
function _ee1(_Ub1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1) {
var _rc1 = _6e1._s11(_Ub1);
var _4e1 = _5e1(_Mb1, _Nb1);
var _qc1 = _6e1._s11(_4e1);
var _7e1 = _qc1.getContext("2d");
_7e1.drawImage(_rc1, -_a11, -_b11);
if (_2e1) {
_8e1(_7e1, _Mb1, _Nb1);
}
var _9e1 = new _ae1();
var _be1 = new _ce1();
_9e1.__d1 = _be1;
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _Mb1;
_be1.__9 = _Nb1;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = _4e1;
_be1._f31 = _qc1;
return _Wd1._de1(_9e1);
}
function _fe1(_Mb1, _Nb1, _M71) {
var _ge1 = _5e1(_Mb1, _Nb1);
var _he1 = _6e1._s11(_ge1);
var _7e1 = _he1.getContext("2d");
_7e1.globalAlpha = 1.0;
_7e1.fillStyle = _ie1(_N71(_M71), 1);
_7e1.fillRect(0, 0, _Mb1, _Nb1);
var _9e1 = new _ae1();
var _be1 = new _ce1();
_9e1.__d1 = _be1;
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _Mb1;
_be1.__9 = _Nb1;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = _ge1;
_be1._f31 = _he1;
return _Wd1._de1(_9e1);
}
var _je1 = _fe1;
function _ke1(_911) {
var _qc1 = _Wd1._Xd1(_911);
if (_qc1) {
return { _E71: _qc1.__d1._f31, _F71: _qc1.__d1 };
}
return null;
}
var _le1 = [];
var _me1 = 0;
function _VS(_ne1, _oe1, _t21, _u21, _R11, _S11) {
_ne1 = yyGetReal(_ne1);
_oe1 = yyGetReal(_oe1);
if (_ne1 >= yyGetReal(_t21) && _ne1 <= yyGetReal(_R11) && _oe1 >= yyGetReal(_u21) && _oe1 <= yyGetReal(_S11)) {
return true;
}
return false;
}
function _pe1(_qe1, _re1, __11, _021, _121, _221, _961, _a61) {
var _n61 = _961 - __11;
var _p61 = _121 - __11;
var _r61 = _qe1 - __11;
var _o61 = _a61 - _021;
var _q61 = _221 - _021;
var _s61 = _re1 - _021;
var _se1 = _n61 * _n61 + _o61 * _o61;
var _te1 = _n61 * _p61 + _o61 * _q61;
var _ue1 = _n61 * _r61 + _o61 * _s61;
var _ve1 = _p61 * _p61 + _q61 * _q61;
var _we1 = _p61 * _r61 + _q61 * _s61;
var _xe1 = 1.0 / (_se1 * _ve1 - _te1 * _te1);
var _P41 = (_ve1 * _ue1 - _te1 * _we1) * _xe1;
var _J41 = (_se1 * _we1 - _te1 * _ue1) * _xe1;
return _P41 >= 0.0 && _J41 >= 0.0 && _P41 + _J41 < 1.0;
}
function _ye1(_ne1, _oe1, _ze1, _Ae1, _Be1) {
var _Ce1 = (_ne1 - _ze1) * (_ne1 - _ze1) + (_oe1 - _Ae1) * (_oe1 - _Ae1);
if (_Ce1 <= _Be1) return true;
return false;
}
function _De1(_Ee1, _Fe1) {
var _761 = _Fe1.x - _Ee1.x;
var _861 = _Fe1.y - _Ee1.y;
var _Ge1 = { x: -_861, y: _761 };
return _Ge1;
}
function _He1(_O41, _Ie1, _Ge1) {
var min, max;
var _Ce1 = _O41[0].x * _Ge1.x + _O41[0].y * _Ge1.y;
min = max = _Ce1;
for (var _X9 = 1; _X9 < _Ie1; ++_X9) {
_Ce1 = _O41[_X9].x * _Ge1.x + _O41[_X9].y * _Ge1.y;
if (_Ce1 < min) min = _Ce1;
else if (_Ce1 > max) max = _Ce1;
}
var _Je1 = { min: min, max: max };
return _Je1;
}
function _Ke1() {
_w61("d3d_start()");
}
function _Le1() {
_w61("d3d_end()");
}
function _Me1(enable) {
_w61("d3d_set_hidden()");
}
function _Ne1(_Oe1) {
_w61("d3d_set_culling()");
}
function _Pe1(_o2) {
_w61("d3d_set_shading()");
}
function _Qe1(_Re1) {
_w61("d3d_set_zwriteenable()");
}
function _Se1(_Xf) {
_w61("d3d_set_depth()");
}
function _Te1(_Ue1, _Ve1, _We1, alpha) {
_w61("draw_set_color_write_enable()");
}
var _Xe1 = _Te1;
function _Ye1(enable) {
_w61("d3d_set_shading()");
}
function _Ze1(__e1, _761, _861, _0f1, _L31) {
_w61("d3d_light_define_direction()");
}
function _1f1(__e1, x, y, _L61, _2f1, _L31) {
_w61("d3d_light_define_point()");
}
function _3f1(__e1, enable) {
_w61("d3d_light_enable()");
}
function _4f1(_If) {
_w61("d3d_light_define_ambient()");
}
function _5f1(enable, color, start, end) {
_w61("d3d_set_fog()");
}
function _6f1(index) {
_w61("d3d_light_get()");
}
function _7f1(index) {
_w61("d3d_light_get_ambient()");
}
function _8f1(__11, _021, _9f1, _121, _221, _af1, _y61, _bf1, _cf1) {
_w61("d3d_draw_floor()");
}
function _df1(__11, _021, _9f1, _121, _221, _af1, _y61, _bf1, _cf1, _ef1) {
_w61("d3d_draw_ellipsoid()");
}
function _ff1(__11, _021, _9f1, _121, _221, _af1, _y61, _bf1, _cf1) {
_w61("d3d_draw_block()");
}
function _gf1(__11, _021, _9f1, _121, _221, _af1, _y61, _bf1, _cf1, _B2, _ef1) {
_w61("d3d_draw_cylinder()");
}
function _hf1(__11, _021, _9f1, _121, _221, _af1, _y61, _bf1, _cf1, _B2, _ef1) {
_w61("d3d_draw_cone()");
}
function _if1(__11, _021, _9f1, _121, _221, _af1, _y61, _bf1, _cf1) {
_w61("d3d_draw_wall()");
}
function _jf1() {
_w61("d3d_model_create()");
}
function _kf1(__e1) {
_w61("d3d_model_destroy()");
}
function _lf1(__e1) {
_w61("d3d_model_clear()");
}
function _mf1(__e1, _nf1) {
_w61("d3d_model_save()");
}
function _of1(__e1, _nf1) {
_w61("d3d_model_load()");
}
function _pf1(__e1, _nf1) {
_w61("d3d_model_save_buffer()");
}
function _qf1(__e1, _nf1) {
_w61("d3d_model_load_buffer()");
}
function _rf1(__e1, x, y, _L61, _y61) {
_w61("d3d_model_draw()");
}
function _sf1(__e1, _e2) {
_w61("d3d_model_primitive_begin()");
}
function _tf1(__e1, x, y, _L61) {
_w61("d3d_model_vertex()");
}
function _uf1(__e1, x, y, _L61, _L31, alpha) {
_w61("d3d_model_vertex_colour()");
}
function _vf1(__e1, x, y, _L61, _L31, alpha) {
_w61("d3d_model_vertex_color()");
}
function _wf1(__e1, x, y, _L61, _D61, _E61) {
_w61("d3d_model_vertex_texture()");
}
function _xf1(__e1, x, y, _L61, _D61, _E61, _L31, alpha) {
_w61("d3d_model_vertex_texture_colour()");
}
function _yf1(__e1, x, y, _L61, _D61, _E61, _L31, alpha) {
_w61("d3d_model_vertex_texture_color()");
}
function _zf1(__e1, x, y, _L61, _S61, _T61, _U61) {
_w61("d3d_model_vertex_normal()");
}
function _Af1(__e1, x, y, _L61, _S61, _T61, _U61, _L31, alpha) {
_w61("d3d_model_vertex_normal_color()");
}
function _Bf1(__e1, x, y, _L61, _S61, _T61, _U61, _D61, _E61) {
_w61("d3d_model_vertex_normal_texture()");
}
function _Cf1(__e1, x, y, _L61, _S61, _T61, _U61, _D61, _E61, _L31, alpha) {
_w61("d3d_model_vertex_normal_texture_color()");
}
function _Df1(__e1) {
_w61("d3d_model_primitive_end()");
}
function _Ef1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1) {
_w61("d3d_model_block()");
}
function _Ff1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _B2, _ef1) {
_w61("d3d_model_cylinder()");
}
function _Gf1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _B2, _ef1) {
_w61("d3d_model_cone()");
}
function _Hf1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _ef1) {
_w61("d3d_model_ellipsoid()");
}
function _If1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1) {
_w61("d3d_model_wall()");
}
function _Jf1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1) {
_w61("d3d_model_floor()");
}
function _Kf1(enable) {
_w61("d3d_set_perspective()");
}
function _Lf1(_Mf1, _Nf1, _Of1, _Pf1, _Qf1, _Rf1, _Sf1, _Tf1, _Uf1) {
_w61("d3d_set_projection()");
}
function _Vf1(_Mf1, _Nf1, _Of1, _Pf1, _Qf1, _Rf1, _Sf1, _Tf1, _Uf1, angle, _Wf1, _Xf1, _Yf1) {
_w61("d3d_set_projection_ext()");
}
function _Zf1(x, y, _Z9, __9, angle) {
_w61("d3d_set_projection_ortho()");
}
function __f1(x, y, _Z9, __9, angle) {
_w61("d3d_set_projection_perspective()");
}
function _0g1() {
_w61("d3d_transform_set_identity()");
}
function _1g1(_2g1, _3g1, _4g1) {
_w61("d3d_transform_set_translation()");
}
function _5g1(_J31, _K31, _6g1) {
_w61("d3d_transform_set_scaling()");
}
function _7g1(angle) {
_w61("d3d_transform_set_rotation_x()");
}
function _8g1(angle) {
_w61("d3d_transform_set_rotation_y()");
}
function _9g1(angle) {
_w61("d3d_transform_set_rotation_z()");
}
function _ag1(_bg1, _cg1, _dg1, angle) {
_w61("d3d_transform_set_rotation_axis()");
}
function _eg1(_2g1, _3g1, _4g1) {
_w61("d3d_transform_add_translation()");
}
function _fg1(_J31, _K31, _6g1) {
_w61("d3d_transform_add_scaling()");
}
function _gg1(angle) {
_w61("d3d_transform_add_rotation_x()");
}
function _hg1(angle) {
_w61("d3d_transform_add_rotation_y()");
}
function _ig1(angle) {
_w61("d3d_transform_add_rotation_axis()");
}
function _jg1(_bg1, _cg1, _dg1, angle) {
_w61("d3d_transform_add_rotation_z()");
}
function _kg1(_a11, _b11, _Z71) {
_w61("d3d_transform_vertex()");
}
function _lg1(_l81) {
_w61("matrix_get()");
}
function _mg1(_l81, _ng1) {
_w61("matrix_set()");
}
var _og1 = _pg1;
var _qg1 = _rg1;
var _sg1 = _tg1;
var _ug1 = _vg1;
var _wg1 = _xg1;
var _yg1 = _zg1;
var _Ag1 = _Bg1;
var _Cg1 = _Dg1;
var _Eg1 = _Fg1;
var _Gg1 = _Hg1;
var _Ig1 = _Jg1;
var _Kg1 = _Lg1;
var _Mg1 = _Ng1;
var _Og1 = _Pg1;
function _Qg1() {
_w61("d3d_transform_stack_clear()");
}
function _Rg1() {
_w61("d3d_transform_stack_empty()");
}
function _Sg1() {
_w61("d3d_transform_stack_push()");
}
function _Tg1() {
_w61("d3d_transform_stack_pop()");
}
function _Ug1() {
_w61("d3d_transform_stack_top()");
}
function _Vg1() {
_w61("d3d_transform_stack_discard()");
}
function _Wg1(enable) {
_w61("gpu_set_blendenable()");
}
function _Xg1(enable) {
_w61("gpu_set_ztestenable()");
}
function _Yg1(_Zg1) {
_w61("gpu_set_zfunc()");
}
function __g1(enable) {
_w61("gpu_set_zwriteenable()");
}
function _0h1(enable, _L31, start, end) {
_w61("gpu_set_fog()");
}
function _1h1(_2h1) {
_w61("gpu_set_cullmode()");
}
function _3h1(_4h1) {
_w61("gpu_set_blendmode()");
}
function _5h1(src, _051) {
_w61("gpu_set_blendmode_ext()");
}
function _6h1(src, _051, _7h1, _8h1) {
_w61("gpu_set_blendmode_ext_sepalpha()");
}
function _9h1(_Ue1, _Ve1, _We1, alpha) {
_w61("gpu_set_colorwriteenable()");
}
function _ah1(_Ue1, _Ve1, _We1, alpha) {
_w61("gpu_set_colourwriteenable()");
}
function _bh1(enable) {
_w61("gpu_set_alphatestenable()");
}
function _ch1(value) {
_w61("gpu_set_alphatestref()");
}
function _dh1(_Zg1) {
_w61("gpu_set_alphatestfunc()");
}
function _eh1(_fh1) {
_w61("gpu_set_texfilter()");
}
function _gh1(_hh1, _fh1) {
_w61("gpu_set_texfilter_ext()");
}
function _ih1(repeat) {
_w61("gpu_set_texrepeat()");
}
function _jh1(_hh1, repeat) {
_w61("gpu_set_texrepeat_ext()");
}
function _kh1(_fh1) {
_w61("gpu_set_tex_filter()");
}
function _lh1(_hh1, _fh1) {
_w61("gpu_set_tex_filter_ext()");
}
function _mh1(repeat) {
_w61("gpu_set_tex_repeat()");
}
function _nh1(_hh1, repeat) {
_w61("gpu_set_tex_repeat_ext()");
}
function _oh1(_ph1) {
_w61("gpu_set_tex_mip_filter(filter)");
}
function _qh1(_hh1, _ph1) {
_w61("gpu_set_tex_mip_filter_ext(sampler_id, filter)");
}
function _rh1(_sh1) {
_w61("gpu_set_tex_mip_bias(bias)");
}
function _th1(_hh1, _sh1) {
_w61("gpu_set_tex_mip_bias_ext(sampler_id, bias)");
}
function _uh1(_vh1) {
_w61("gpu_set_tex_min_mip(minmip)");
}
function _wh1(_hh1, _vh1) {
_w61("gpu_set_tex_min_mip_ext(sampler_id, minmip)");
}
function _xh1(_yh1) {
_w61("gpu_set_tex_max_mip(maxmip)");
}
function _zh1(_hh1, _yh1) {
_w61("gpu_set_tex_max_mip_ext(sampler_id, maxmip)");
}
function _Ah1(_Bh1) {
_w61("gpu_set_tex_max_aniso(maxaniso)");
}
function _Ch1(_hh1, _Bh1) {
_w61("gpu_set_tex_max_aniso_ext(sampler_id, maxaniso)");
}
function _Dh1(_Eh1) {
_w61("gpu_set_tex_mip_enable(setting)");
}
function _Fh1(_hh1, _Eh1) {
_w61("gpu_set_tex_mip_enable_ext(sampler_id, setting)");
}
function _Gh1() {
_w61("gpu_get_blendenable()");
}
function _Hh1() {
_w61("gpu_get_ztestenable()");
}
function _Ih1() {
_w61("gpu_get_zfunc()");
}
function _Jh1() {
_w61("gpu_get_zwriteenable()");
}
function _Kh1() {
_w61("gpu_get_fog()");
}
function _Lh1() {
_w61("gpu_get_cullmode()");
}
function _Mh1() {
_w61("gpu_get_blendmode()");
}
function _Nh1() {
_w61("gpu_get_blendmode_ext()");
}
function _Oh1() {
_w61("gpu_get_blendmode_ext_sepalpha()");
}
function _Ph1() {
_w61("gpu_get_blendmode_src()");
}
function _Qh1() {
_w61("gpu_get_blendmode_dest()");
}
function _Rh1() {
_w61("gpu_get_blendmode_srcalpha()");
}
function _Sh1() {
_w61("gpu_get_blendmode_destalpha()");
}
function _Th1() {
_w61("gpu_get_colorwriteenable()");
}
function _Uh1() {
_w61("gpu_get_colourwriteenable()");
}
function _Vh1() {
_w61("gpu_get_alphatestenable()");
}
function _Wh1() {
_w61("gpu_get_alphatestref()");
}
function _Xh1() {
_w61("gpu_get_alphatestfunc()");
}
function _Yh1() {
_w61("gpu_get_texfilter()");
}
function _Zh1(_hh1) {
_w61("gpu_get_texfilter_ext()");
}
function __h1() {
_w61("gpu_get_texrepeat()");
}
function _0i1(_hh1) {
_w61("gpu_get_texrepeat_ext()");
}
function _1i1() {
_w61("gpu_get_tex_filter()");
}
function _2i1(_hh1) {
_w61("gpu_get_tex_filter_ext()");
}
function _3i1() {
_w61("gpu_get_tex_repeat()");
}
function _4i1(_hh1) {
_w61("gpu_get_tex_repeat_ext()");
}
function _5i1() {
_w61("gpu_get_tex_mip_filter()");
}
function _6i1(_hh1) {
_w61("gpu_get_tex_mip_filter_ext(sampler_id)");
}
function _7i1() {
_w61("gpu_get_tex_mip_bias()");
}
function _8i1(_hh1) {
_w61("gpu_get_tex_mip_bias_ext(sampler_id)");
}
function _9i1() {
_w61("gpu_get_tex_min_mip()");
}
function _ai1(_hh1) {
_w61("gpu_get_tex_min_mip_ext(sampler_id)");
}
function _bi1() {
_w61("gpu_get_tex_max_mip()");
}
function _ci1(_hh1) {
_w61("gpu_get_tex_max_mip_ext(sampler_id)");
}
function _di1() {
_w61("gpu_get_tex_max_aniso()");
}
function _ei1(_hh1) {
_w61("gpu_get_tex_max_aniso_ext(sampler_id)");
}
function _fi1() {
_w61("gpu_get_tex_mip_enable()");
}
function _gi1(_hh1) {
_w61("gpu_get_tex_mip_enable_ext(sampler_id)");
}
function _hi1() {
_w61("gpu_push_state()");
}
function _ii1() {
_w61("gpu_pop_state()");
}
function _ji1() {
_w61("gpu_get_state()");
}
function _ki1(map) {
_w61("gpu_set_state()");
}
var _li1 = [];
var _mi1 = 50;
var _ni1 = 0;
var _oi1 = new Array(_mi1 + 1);
function _pi1() {
if (!_131) {
return;
}
_Ke1 = _qi1;
_Le1 = _ri1;
_Ne1 = _si1;
_Pe1 = _ti1;
_Qe1 = _ui1;
_Se1 = _vi1;
_Me1 = _wi1;
_Te1 = _xi1;
_Xe1 = _xi1;
_Kf1 = _yi1;
_Lf1 = _zi1;
_Vf1 = _Ai1;
_Zf1 = _Bi1;
__f1 = _Ci1;
_0g1 = _Di1;
_1g1 = _Ei1;
_5g1 = _Fi1;
_7g1 = _Gi1;
_8g1 = _Hi1;
_9g1 = _Ii1;
_ag1 = _Ji1;
_eg1 = _Ki1;
_fg1 = _Li1;
_gg1 = _Mi1;
_hg1 = _Ni1;
_ig1 = _Oi1;
_jg1 = _Pi1;
_kg1 = _Qi1;
_Qg1 = _Ri1;
_Rg1 = _Si1;
_Sg1 = _Ti1;
_Tg1 = _Ui1;
_Ug1 = _Vi1;
_Vg1 = _Wi1;
_8f1 = _Xi1;
_df1 = _Yi1;
_ff1 = _Zi1;
_gf1 = __i1;
_hf1 = _0j1;
_if1 = _1j1;
_Ye1 = _2j1;
_Ze1 = _3j1;
_1f1 = _4j1;
_3f1 = _5j1;
_4f1 = _6j1;
_5f1 = _7j1;
_6f1 = _8j1;
_7f1 = _9j1;
_jf1 = _aj1;
_kf1 = _bj1;
_lf1 = _cj1;
_mf1 = _dj1;
_of1 = _ej1;
_pf1 = _fj1;
_qf1 = _gj1;
_rf1 = _hj1;
_sf1 = _ij1;
_tf1 = _jj1;
_vf1 = _kj1;
_uf1 = _kj1;
_wf1 = _lj1;
_yf1 = _mj1;
_xf1 = _mj1;
_zf1 = _nj1;
_Af1 = _oj1;
_Bf1 = _pj1;
_Cf1 = _qj1;
_Df1 = _rj1;
_Ef1 = _sj1;
_Ff1 = _tj1;
_Gf1 = _uj1;
_Hf1 = _vj1;
_If1 = _wj1;
_Jf1 = _xj1;
_lg1 = _yj1;
_mg1 = _zj1;
_og1 = _pg1;
_qg1 = _rg1;
_sg1 = _tg1;
_ug1 = _vg1;
_wg1 = _xg1;
_yg1 = _zg1;
_Ag1 = _Bg1;
_Cg1 = _Dg1;
_Eg1 = _Fg1;
_3h1 = _Aj1;
_Wg1 = _Bj1;
_Xg1 = _Cj1;
_Yg1 = _Dj1;
__g1 = _Ej1;
_0h1 = _Fj1;
_1h1 = _Gj1;
_3h1 = _Aj1;
_5h1 = _Hj1;
_6h1 = _Ij1;
_9h1 = _Jj1;
_ah1 = _Kj1;
_bh1 = _Lj1;
_ch1 = _Mj1;
_dh1 = _Nj1;
_eh1 = _Oj1;
_gh1 = _Pj1;
_ih1 = _Qj1;
_jh1 = _Rj1;
_kh1 = _Oj1;
_lh1 = _Pj1;
_mh1 = _Qj1;
_nh1 = _Rj1;
_oh1 = _Sj1;
_qh1 = _Tj1;
_rh1 = _Uj1;
_th1 = _Vj1;
_uh1 = _Wj1;
_wh1 = _Xj1;
_xh1 = _Yj1;
_zh1 = _Zj1;
_Ah1 = __j1;
_Ch1 = _0k1;
_Dh1 = _1k1;
_Fh1 = _2k1;
_Gh1 = _3k1;
_Hh1 = _4k1;
_Ih1 = _5k1;
_Jh1 = _6k1;
_Kh1 = _7k1;
_Lh1 = _8k1;
_Mh1 = _9k1;
_Nh1 = _ak1;
_Oh1 = _bk1;
_Ph1 = _ck1;
_Qh1 = _dk1;
_Rh1 = _ek1;
_Sh1 = _fk1;
_Th1 = _gk1;
_Uh1 = _hk1;
_Vh1 = _ik1;
_Wh1 = _jk1;
_Xh1 = _kk1;
_Yh1 = _lk1;
_Zh1 = _mk1;
__h1 = _nk1;
_0i1 = _ok1;
_1i1 = _lk1;
_2i1 = _mk1;
_3i1 = _nk1;
_4i1 = _ok1;
_5i1 = _pk1;
_6i1 = _qk1;
_7i1 = _rk1;
_8i1 = _sk1;
_9i1 = _tk1;
_ai1 = _uk1;
_bi1 = _vk1;
_ci1 = _wk1;
_di1 = _xk1;
_ei1 = _yk1;
_fi1 = _zk1;
_gi1 = _Ak1;
_hi1 = _Bk1;
_ii1 = _Ck1;
_ji1 = _Dk1;
_ki1 = _Ek1;
_oi1[0] = new _Fk1();
}
function _qi1() {
_Gk1 = true;
_131._Hk1(_Ik1);
_131._Jk1(_Kk1);
_131._Lk1(_Mk1);
}
function _ri1() {
_Gk1 = false;
_131._Hk1(false);
_131._Jk1(false);
_131._Lk1(false);
}
function _si1(_Nk1) {
_Mk1 = _Nk1 > 0.5;
_131._Lk1(_Mk1);
}
function _ti1(_3e1) {}
function _ui1(_Ok1) {
_Kk1 = _Ok1 > 0.5;
_131._Jk1(_Kk1);
}
function _vi1(_Pk1) {
if (_Gk1 || _F01) {
_I51 = Math.min(16000.0, Math.max(-16000.0, _Pk1));
} else {
_I51 = 0.0;
}
}
function _wi1(_Qk1) {
_Ik1 = _Qk1 > 0.5;
_131._Hk1(_Ik1);
}
function _xi1(_Ue1, _Ve1, _We1, alpha) {
_Rk1._Ue1 = _Ue1 >= 0.5;
_Rk1._Ve1 = _Ve1 >= 0.5;
_Rk1._We1 = _We1 >= 0.5;
_Rk1.alpha = alpha >= 0.5;
_131._Sk1(_Rk1._Ue1, _Rk1._Ve1, _Rk1._We1, _Rk1.alpha);
}
function _yi1(_Tk1) {
_Uk1 = _Tk1;
}
function _2j1(_Tk1) {
if (_Vk1 != _Tk1) {
_Vk1 = _Tk1;
_131._Wk1(_Xk1());
}
}
function _zi1(_Mf1, _Nf1, _Of1, _Pf1, _Qf1, _Rf1, _Sf1, _Tf1, _Uf1) {
var _Yk1 = new _Fk1();
var _yc1 = new _Zk1(_Mf1, _Nf1, _Of1);
var __k1 = new _Zk1(_Pf1, _Qf1, _Rf1);
var _0l1 = new _Zk1(_Sf1, _Tf1, _Uf1);
_Yk1._1l1(_yc1, __k1, _0l1);
_131._2l1(_Yk1);
}
function _Ai1(_Mf1, _Nf1, _Of1, _Pf1, _Qf1, _Rf1, _Sf1, _Tf1, _Uf1, angle, _Wf1, _3l1, _4l1) {
var _Yk1 = new _Fk1();
var _yc1 = new _Zk1(_Mf1, _Nf1, _Of1);
var __k1 = new _Zk1(_Pf1, _Qf1, _Rf1);
var _0l1 = new _Zk1(_Sf1, _Tf1, _Uf1);
_Yk1._1l1(_yc1, __k1, _0l1);
var _Je1 = new _Fk1();
_Je1._5l1(angle, _Wf1, _3l1, _4l1);
_Je1._Z11[_6l1] *= _7l1;
_131._2l1(_Yk1);
_131._8l1(_Je1);
}
function _Bi1(x, y, _Z9, __9, angle) {
var _Yk1 = new _Fk1();
var _b61 = new _Zk1(x + _Z9 / 2.0, y + __9 / 2.0, -_Z9);
var _c61 = new _Zk1(x + _Z9 / 2.0, y + __9 / 2.0, 0.0);
var _d61 = new _Zk1(Math.sin(-angle * (Math.PI / 180.0)), Math.cos(-angle * (Math.PI / 180.0)), 0.0);
_Yk1._1l1(_b61, _c61, _d61);
var _9l1 = new _Fk1();
_9l1._al1(_Z9, -__9 * _7l1, 1.0, 32000.0);
_131._2l1(_Yk1);
_131._8l1(_9l1);
}
function _Ci1(x, y, _Z9, __9, angle) {
var _Yk1 = new _Fk1();
var _b61 = new _Zk1(x + _Z9 / 2.0, y + __9 / 2.0, -_Z9);
var _c61 = new _Zk1(x + _Z9 / 2.0, y + __9 / 2.0, 0.0);
var _d61 = new _Zk1(Math.sin(-angle * (Math.PI / 180.0)), Math.cos(-angle * (Math.PI / 180.0)), 0.0);
_Yk1._1l1(_b61, _c61, _d61);
var _Je1 = new _Fk1();
_Je1._bl1(1.0, __9 / _Z9, 1.0, 32000.0);
_Je1._Z11[_6l1] *= _7l1;
_131._2l1(_Yk1);
_131._8l1(_Je1);
}
function _Xi1(__11, _021, _9f1, _121, _221, _af1, _y61, _bf1, _cf1) {
var _cl1 = _dl1();
_el1(true);
_J61(_a71, _y61);
{
_X61(__11, _021, _9f1, 0, 0, 1, 0, 0);
_X61(__11, _221, _9f1, 0, 0, 1, 0, _cf1);
_X61(_121, _221, _af1, 0, 0, 1, _bf1, _cf1);
_X61(_121, _021, _af1, 0, 0, 1, _bf1, 0);
}
__61();
_el1(_cl1);
}
function _Yi1(__11, _021, _9f1, _121, _221, _af1, _y61, _fl1, _gl1, _ef1) {
var _cl1 = _dl1();
_el1(true);
if (_ef1 < 3) {
_ef1 = 3;
}
if (_ef1 > 128) {
_ef1 = 128;
}
var _F21 = [];
var _E21 = [];
for (var _X9 = 0; _X9 <= _ef1; _X9++) {
_F21[_X9] = Math.cos((_X9 * 2.0 * Math.PI) / _ef1);
_E21[_X9] = Math.sin((_X9 * 2.0 * Math.PI) / _ef1);
}
var _z21 = (_121 + __11) / 2,
_A21 = (_221 + _021) / 2,
_hl1 = (_af1 + _9f1) / 2,
_il1 = (_121 - __11) / 2,
_jl1 = (_221 - _021) / 2,
_kl1 = (_af1 - _9f1) / 2;
var _ll1 = (_ef1 + 1) / 2;
for (var _i21 = 0; _i21 < _ll1; _i21++) {
var _ml1 = Math.cos((_i21 * Math.PI) / _ll1),
_nl1 = Math.sin((_i21 * Math.PI) / _ll1),
_ol1 = Math.cos(((_i21 + 1) * Math.PI) / _ll1),
_pl1 = Math.sin(((_i21 + 1) * Math.PI) / _ll1);
_J61(_971, _y61);
for (var _X9 = 0; _X9 <= _ef1; _X9++) {
_X61(_z21 + _il1 * _nl1 * _F21[_X9], _A21 + _jl1 * _nl1 * _E21[_X9], _hl1 + _kl1 * _ml1, _nl1 * _F21[_X9], _nl1 * _E21[_X9], _ml1, (_fl1 * _X9) / _ef1, (_i21 * _gl1) / _ll1);
_X61(_z21 + _il1 * _pl1 * _F21[_X9], _A21 + _jl1 * _pl1 * _E21[_X9], _hl1 + _kl1 * _ol1, _pl1 * _F21[_X9], _pl1 * _E21[_X9], _ol1, (_fl1 * _X9) / _ef1, ((_i21 + 1) * _gl1) / _ll1);
}
__61();
}
_el1(_cl1);
}
function _Zi1(__11, _021, _9f1, _121, _221, _af1, _y61, _fl1, _gl1) {
var _cl1 = _dl1();
_el1(true);
_J61(_871, _y61);
{
_X61(__11, _021, _9f1, 0, 0, -1, 0, 0);
_X61(__11, _221, _9f1, 0, 0, -1, 0, _gl1);
_X61(_121, _221, _9f1, 0, 0, -1, _fl1, _gl1);
_X61(_121, _221, _9f1, 0, 0, -1, _fl1, _gl1);
_X61(_121, _021, _9f1, 0, 0, -1, _fl1, 0);
_X61(__11, _021, _9f1, 0, 0, -1, 0, 0);
}
{
_X61(__11, _021, _af1, 0, 0, 1, 0, 0);
_X61(_121, _021, _af1, 0, 0, 1, _fl1, 0);
_X61(_121, _221, _af1, 0, 0, 1, _fl1, _gl1);
_X61(_121, _221, _af1, 0, 0, 1, _fl1, _gl1);
_X61(__11, _221, _af1, 0, 0, 1, 0, _gl1);
_X61(__11, _021, _af1, 0, 0, 1, 0, 0);
}
{
_X61(__11, _221, _9f1, 0, 1, 0, 0, 0);
_X61(__11, _221, _af1, 0, 1, 0, 0, _gl1);
_X61(_121, _221, _af1, 0, 1, 0, _fl1, _gl1);
_X61(_121, _221, _af1, 0, 1, 0, _fl1, _gl1);
_X61(_121, _221, _9f1, 0, 1, 0, _fl1, 0);
_X61(__11, _221, _9f1, 0, 1, 0, 0, 0);
}
{
_X61(_121, _221, _9f1, 1, 0, 0, 0, 0);
_X61(_121, _221, _af1, 1, 0, 0, 0, _gl1);
_X61(_121, _021, _af1, 1, 0, 0, _fl1, _gl1);
_X61(_121, _021, _af1, 1, 0, 0, _fl1, _gl1);
_X61(_121, _021, _9f1, 1, 0, 0, _fl1, 0);
_X61(_121, _221, _9f1, 1, 0, 0, 0, 0);
}
{
_X61(_121, _021, _9f1, 0, -1, 0, 0, 0);
_X61(_121, _021, _af1, 0, -1, 0, 0, _gl1);
_X61(__11, _021, _af1, 0, -1, 0, _fl1, _gl1);
_X61(__11, _021, _af1, 0, -1, 0, _fl1, _gl1);
_X61(__11, _021, _9f1, 0, -1, 0, _fl1, 0);
_X61(_121, _021, _9f1, 0, -1, 0, 0, 0);
}
{
_X61(__11, _021, _9f1, -1, 0, 0, 0, 0);
_X61(__11, _021, _af1, -1, 0, 0, 0, _gl1);
_X61(__11, _221, _af1, -1, 0, 0, _fl1, _gl1);
_X61(__11, _221, _af1, -1, 0, 0, _fl1, _gl1);
_X61(__11, _221, _9f1, -1, 0, 0, _fl1, 0);
_X61(__11, _021, _9f1, -1, 0, 0, 0, 0);
}
__61();
_el1(_cl1);
}
function __i1(__11, _021, _9f1, _121, _221, _af1, _y61, _fl1, _gl1, _B2, _ef1) {
var _F21 = [];
var _E21 = [];
var _cl1 = _dl1();
_el1(true);
if (_ef1 < 3) {
_ef1 = 3;
}
if (_ef1 > 128) {
_ef1 = 128;
}
for (var _X9 = 0; _X9 <= _ef1; _X9++) {
_F21[_X9] = Math.cos((_X9 * 2.0 * Math.PI) / _ef1);
_E21[_X9] = Math.sin((_X9 * 2.0 * Math.PI) / _ef1);
}
var _z21 = (_121 + __11) / 2.0;
var _A21 = (_221 + _021) / 2.0;
var _il1 = (_121 - __11) / 2.0;
var _jl1 = (_221 - _021) / 2.0;
if (true == _B2) {
_J61(_a71, _y61);
_X61(_z21, _A21, _af1, 0, 0, 1, 0, _gl1);
for (var _X9 = 0; _X9 <= _ef1; _X9++) {
_X61(_z21 + _F21[_X9] * _il1, _A21 + _E21[_X9] * _jl1, _af1, 0, 0, 1, 0, _gl1);
}
__61();
}
_J61(_971, _y61);
for (var _X9 = 0; _X9 <= _ef1; _X9++) {
_X61(_z21 + _F21[_X9] * _il1, _A21 + _E21[_X9] * _jl1, _af1, _F21[_X9], _E21[_X9], 0, (_fl1 * _X9) / _ef1, _gl1);
_X61(_z21 + _F21[_X9] * _il1, _A21 + _E21[_X9] * _jl1, _9f1, _F21[_X9], _E21[_X9], 0, (_fl1 * _X9) / _ef1, 0);
}
__61();
if (true == _B2) {
_J61(_a71, _y61);
_X61(_z21, _A21, _9f1, 0, 0, -1, 0, 0);
for (var _X9 = _ef1; _X9 >= 0; _X9--) {
_X61(_z21 + _F21[_X9] * _il1, _A21 + _E21[_X9] * _jl1, _9f1, 0, 0, -1, 0, 0);
}
__61();
}
_el1(_cl1);
}
function _0j1(__11, _021, _9f1, _121, _221, _af1, _y61, _fl1, _gl1, _B2, _ef1) {
var _F21 = [];
var _E21 = [];
var _cl1 = _dl1();
_el1(true);
if (_ef1 < 3) {
_ef1 = 3;
}
if (_ef1 > 128) {
_ef1 = 128;
}
for (var _X9 = 0; _X9 <= _ef1; _X9++) {
_F21[_X9] = Math.cos((_X9 * 2.0 * Math.PI) / _ef1);
_E21[_X9] = Math.sin((_X9 * 2.0 * Math.PI) / _ef1);
}
var _z21 = (_121 + __11) / 2.0;
var _A21 = (_221 + _021) / 2.0;
var _il1 = (_121 - __11) / 2.0;
var _jl1 = (_221 - _021) / 2.0;
_J61(_971, _y61);
for (var _X9 = 0; _X9 <= _ef1; _X9++) {
_X61(_z21, _A21, _af1, 0, 0, 1, (_fl1 * _X9) / _ef1, _gl1);
_X61(_z21 + _F21[_X9] * _il1, _A21 + _E21[_X9] * _jl1, _9f1, _F21[_X9], _E21[_X9], 0, (_fl1 * _X9) / _ef1, 0);
}
__61();
if (true == _B2) {
_J61(_a71, _y61);
_X61(_z21, _A21, _9f1, 0, 0, -1, 0, 0);
for (var _X9 = _ef1; _X9 >= 0; _X9--) {
_X61(_z21 + _F21[_X9] * _il1, _A21 + _E21[_X9] * _jl1, _9f1, 0, 0, -1, 0, 0);
}
__61();
}
_el1(_cl1);
}
function _1j1(__11, _021, _9f1, _121, _221, _af1, _y61, _fl1, _gl1) {
var _cl1 = _dl1();
_el1(true);
var _921 = Math.sqrt(_ql1(_121 - __11) + _ql1(_221 - _021));
if (_921 == 0.0) {
return;
}
var _S61 = (_221 - _021) / _921;
var _T61 = -(_121 - __11) / _921;
_J61(_a71, _y61);
{
_X61(__11, _021, _9f1, _S61, _T61, 0, 0, 0);
_X61(_121, _221, _9f1, _S61, _T61, 0, _fl1, 0);
_X61(_121, _221, _af1, _S61, _T61, 0, _fl1, _gl1);
_X61(__11, _021, _af1, _S61, _T61, 0, 0, _gl1);
}
__61();
_el1(_cl1);
}
function _3j1(__e1, _761, _861, _0f1, _L31) {
var _rl1 = new _Zk1(_761, _861, _0f1);
_rl1._sl1();
var _tl1 = __e1 * 4;
_ul1[_tl1 + 0] = _rl1._vl1;
_ul1[_tl1 + 1] = _rl1._wl1;
_ul1[_tl1 + 2] = _rl1._xl1;
_ul1[_tl1 + 3] = 0.0;
_yl1[_tl1 + 0] = (_L31 & 0xff) / 255.0;
_yl1[_tl1 + 1] = ((_L31 >> 8) & 0xff) / 255.0;
_yl1[_tl1 + 2] = ((_L31 >> 16) & 0xff) / 255.0;
_yl1[_tl1 + 3] = 1.0;
_zl1[__e1] = _Al1;
_Bl1[_tl1 + 0] = 0;
_Bl1[_tl1 + 1] = 0;
_Bl1[_tl1 + 2] = 0;
_Bl1[_tl1 + 3] = 0;
_131._Cl1(__e1, _Bl1.subarray(__e1 * 4, (__e1 + 1) * 4), _ul1.subarray(__e1 * 4, (__e1 + 1) * 4), _yl1.subarray(__e1 * 4, (__e1 + 1) * 4));
}
function _9j1() {
var _L31 = ((_Dl1[0] * 255.0) & 0xff) | (((_Dl1[1] * 255.0) << 8) & 0xff00) | (((_Dl1[2] * 255.0) << 16) & 0xff0000) | (((_Dl1[3] * 255.0) << 24) & 0xff000000);
return _L31;
}
function _8j1(index) {
var __b1 = [];
if (index < 0 || index > 7) {
console.log("draw_light_get() - light index out of range");
return;
}
var _tl1 = index * 4;
__b1[0] = _El1[index];
__b1[1] = _zl1[index];
if (_zl1[index] == _Al1) {
__b1[2] = _ul1[_tl1 + 0];
__b1[3] = _ul1[_tl1 + 1];
__b1[4] = _ul1[_tl1 + 2];
__b1[5] = _ul1[_tl1 + 3];
} else {
__b1[2] = _Bl1[_tl1 + 0];
__b1[3] = _Bl1[_tl1 + 1];
__b1[4] = _Bl1[_tl1 + 2];
__b1[5] = _Bl1[_tl1 + 3];
}
var _b21 = (_yl1[_tl1 + 0] * 255.0) & 0xff;
var _k41 = ((_yl1[_tl1 + 1] * 255.0) << 8) & 0xff00;
var _e21 = ((_yl1[_tl1 + 2] * 255.0) << 16) & 0xff0000;
var _l41 = ((_yl1[_tl1 + 3] * 255.0) << 24) & 0xff000000;
var _L31 = _b21 | _k41 | _e21 | _l41;
__b1[6] = _L31;
return __b1;
}
function _4j1(__e1, x, y, _L61, _2f1, _L31) {
var _tl1 = __e1 * 4;
_Bl1[_tl1 + 0] = x;
_Bl1[_tl1 + 1] = y;
_Bl1[_tl1 + 2] = _L61;
_Bl1[_tl1 + 3] = _2f1;
_yl1[_tl1 + 0] = (_L31 & 0xff) / 255.0;
_yl1[_tl1 + 1] = ((_L31 >> 8) & 0xff) / 255.0;
_yl1[_tl1 + 2] = ((_L31 >> 16) & 0xff) / 255.0;
_yl1[_tl1 + 3] = 1.0;
_zl1[__e1] = _Fl1;
_ul1[_tl1 + 0] = 0;
_ul1[_tl1 + 1] = 0;
_ul1[_tl1 + 2] = 0;
_ul1[_tl1 + 3] = 0;
_131._Cl1(__e1, _Bl1.subarray(__e1 * 4, (__e1 + 1) * 4), _ul1.subarray(__e1 * 4, (__e1 + 1) * 4), _yl1.subarray(__e1 * 4, (__e1 + 1) * 4));
}
function _5j1(__e1, enable) {
_El1[__e1] = enable;
_131._Gl1(__e1, enable, _yl1.subarray(__e1 * 4, (__e1 + 1) * 4));
}
function _6j1(_If) {
_Dl1[0] = (_If & 0xff) / 255.0;
_Dl1[1] = ((_If >> 8) & 0xff) / 255.0;
_Dl1[2] = ((_If >> 16) & 0xff) / 255.0;
_Dl1[3] = ((_If >> 24) & 0xff) / 255.0;
_131._Hl1(_Dl1);
}
function _7j1(enable, _If, start, end) {
if (_Il1 == null) {
_Il1 = new Float32Array(8);
}
_Il1[0] = enable;
var _2f1 = end - start;
_Il1[1] = _2f1 == 0.0 ? 0.0 : 1.0 / _2f1;
_Il1[2] = end;
_Il1[3] = 0.0;
_Il1[4] = (_If & 0xff) / 255.0;
_Il1[5] = ((_If >> 8) & 0xff) / 255.0;
_Il1[6] = ((_If >> 16) & 0xff) / 255.0;
_Il1[7] = ((_If >> 24) & 0xff) / 255.0;
_131._Jl1(_Il1);
}
function _aj1() {
return _li1.push(new _Kl1()) - 1;
}
function _bj1(__e1) {
if (_li1[__e1]) {
_li1[__e1]._Ua1();
_li1[__e1] = null;
}
}
function _cj1(__e1) {
if (_li1[__e1]) {
_li1[__e1]._Ua1();
}
}
function _dj1(__e1, _nf1) {
if (_li1[__e1]) {
_li1[__e1]._Ll1(_nf1);
}
}
function _fj1(__e1, _Ml1) {}
function _ej1(__e1, _nf1) {
if (_li1[__e1]) {
_li1[__e1]._h31(_nf1);
}
}
function _gj1(__e1, _Ml1) {}
function _hj1(__e1, x, y, _L61, _y61) {
if (_li1[__e1]) {
_li1[__e1]._O31(x, y, _L61, _y61);
}
}
function _ij1(__e1, _e2) {
if (_li1[__e1]) {
_li1[__e1]._z81(_e2);
}
}
function _jj1(__e1, x, y, _L61) {
if (_li1[__e1]) {
_li1[__e1]._M9(x, y, _L61);
}
}
function _kj1(__e1, x, y, _L61, _L31, alpha) {
if (_li1[__e1]) {
_li1[__e1]._Nl1(x, y, _L61, _L31, alpha);
}
}
function _lj1(__e1, x, y, _L61, _D61, _E61) {
if (_li1[__e1]) {
_li1[__e1]._Ol1(x, y, _L61, _D61, _E61);
}
}
function _mj1(__e1, x, y, _L61, _D61, _E61, _L31, alpha) {
if (_li1[__e1]) {
_li1[__e1]._Pl1(x, y, _L61, _D61, _E61, _L31, alpha);
}
}
function _nj1(__e1, x, y, _L61, _S61, _T61, _U61) {
if (_li1[__e1]) {
_li1[__e1]._Ql1(x, y, _L61, _S61, _T61, _U61);
}
}
function _oj1(__e1, x, y, _L61, _S61, _T61, _U61, _L31, alpha) {
if (_li1[__e1]) {
_li1[__e1]._Rl1(x, y, _L61, _S61, _T61, _U61, _L31, alpha);
}
}
function _pj1(__e1, x, y, _L61, _S61, _T61, _U61, _D61, _E61) {
if (_li1[__e1]) {
_li1[__e1]._Sl1(x, y, _L61, _S61, _T61, _U61, _D61, _E61);
}
}
function _qj1(__e1, x, y, _L61, _S61, _T61, _U61, _D61, _E61, _L31, alpha) {
if (_li1[__e1]) {
_li1[__e1]._Tl1(x, y, _L61, _S61, _T61, _U61, _D61, _E61, _L31, alpha);
}
}
function _rj1(__e1) {
if (_li1[__e1]) {
_li1[__e1]._B81();
}
}
function _sj1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1) {
if (_li1[__e1]) {
_li1[__e1]._Ul1(__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1);
}
}
function _tj1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _B2, _ef1) {
if (_li1[__e1]) {
_li1[__e1]._Vl1(__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _B2, _ef1);
}
}
function _uj1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _B2, _ef1) {
if (_li1[__e1]) {
_li1[__e1]._Wl1(__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _B2, _ef1);
}
}
function _vj1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _ef1) {
if (_li1[__e1]) {
_li1[__e1]._Xl1(__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _ef1);
}
}
function _wj1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1) {
if (_li1[__e1]) {
_li1[__e1]._Yl1(__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1);
}
}
function _xj1(__e1, __11, _021, _9f1, _121, _221, _af1, _bf1, _cf1) {
if (_li1[__e1]) {
_li1[__e1]._Zl1(__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1);
}
}
function _Di1() {
__l1(_0m1, new _Fk1());
}
function _Ei1(_2g1, _3g1, _4g1) {
var _Z11 = new _Fk1();
_Z11._1m1(_2g1, _3g1, _4g1);
__l1(_0m1, _Z11);
}
function _Fi1(_J31, _K31, _6g1) {
var _Z11 = new _Fk1();
_Z11._2m1(_J31, _K31, _6g1);
__l1(_0m1, _Z11);
}
function _Gi1(angle) {
var _Z11 = new _Fk1();
_Z11._3m1(angle);
__l1(_0m1, _Z11);
}
function _Hi1(angle) {
var _Z11 = new _Fk1();
_Z11._4m1(angle);
__l1(_0m1, _Z11);
}
function _Ii1(angle) {
var _Z11 = new _Fk1();
_Z11._5m1(angle);
__l1(_0m1, _Z11);
}
function _Ji1(_bg1, _cg1, _dg1, angle) {
var _Z11 = new _Fk1();
_Z11._6m1(new _Zk1(_bg1, _cg1, _dg1), -angle);
__l1(_0m1, _Z11);
}
function _Ki1(_2g1, _3g1, _4g1) {
var _7m1 = new _Fk1();
_7m1._1m1(_2g1, _3g1, _4g1);
var _8m1 = _9m1(_0m1);
var _Z11 = new _Fk1();
_Z11.Multiply(_8m1, _7m1);
__l1(_0m1, _Z11);
}
function _Li1(_J31, _K31, _6g1) {
var _am1 = new _Fk1();
_am1._2m1(_J31, _K31, _6g1);
var _8m1 = _9m1(_0m1);
var _Z11 = new _Fk1();
_Z11.Multiply(_8m1, _am1);
__l1(_0m1, _Z11);
}
function _Mi1(angle) {
var _bm1 = new _Fk1();
_bm1._3m1(angle);
var _8m1 = _9m1(_0m1);
var _Z11 = new _Fk1();
_Z11.Multiply(_8m1, _bm1);
__l1(_0m1, _Z11);
}
function _Ni1(angle) {
var _bm1 = new _Fk1();
_bm1._4m1(angle);
var _8m1 = _9m1(_0m1);
var _Z11 = new _Fk1();
_Z11.Multiply(_8m1, _bm1);
__l1(_0m1, _Z11);
}
function _Oi1(angle) {
var _bm1 = new _Fk1();
_bm1._5m1(angle);
var _8m1 = _9m1(_0m1);
var _Z11 = new _Fk1();
_Z11.Multiply(_8m1, _bm1);
__l1(_0m1, _Z11);
}
function _Pi1(_bg1, _cg1, _dg1, angle) {
var _bm1 = new _Fk1();
_bm1._6m1(new _Zk1(_bg1, _cg1, _dg1), -angle);
var _8m1 = _9m1(_0m1);
var _Z11 = new _Fk1();
_Z11.Multiply(_8m1, _bm1);
__l1(_0m1, _Z11);
}
function _Qi1(_a11, _b11, _Z71) {
var _8m1 = _9m1(_0m1);
var _j21 = _8m1._Z11[_cm1] * _a11 + _8m1._Z11[_dm1] * _b11 + _8m1._Z11[_em1] * _Z71 + _8m1._Z11[_fm1];
var _l21 = _8m1._Z11[_gm1] * _a11 + _8m1._Z11[_6l1] * _b11 + _8m1._Z11[_hm1] * _Z71 + _8m1._Z11[_im1];
var _jm1 = _8m1._Z11[_km1] * _a11 + _8m1._Z11[_lm1] * _b11 + _8m1._Z11[_mm1] * _Z71 + _8m1._Z11[_nm1];
var _b21 = [];
_b21[0] = _j21;
_b21[1] = _l21;
_b21[2] = _jm1;
return _b21;
}
function _Ri1() {
_om1();
}
function _Si1() {
return _pm1();
}
function _Ti1() {
var _8m1 = _9m1(_0m1);
return _qm1(_8m1);
}
function _Ui1() {
return _rm1();
}
function _Vi1() {
return _sm1();
}
function _Wi1() {
return _tm1();
}
function _yj1(_l81) {
_l81 = yyGetInt32(_l81);
var _Z11 = [];
if (_l81 < 0 || _l81 > 2) {
_Rb1("ERROR: Invalid matrix type (matrix_get)");
for (var _X9 = 0; _X9 < 16; _X9++) {
_Z11[_X9] = 0;
}
return _Z11;
}
var _um1 = _vm1[_l81];
for (var _X9 = 0; _X9 < 16; _X9++) {
_Z11[_X9] = _um1._Z11[_X9];
}
return _Z11;
}
function _zj1(_l81, _ng1) {
_l81 = yyGetInt32(_l81);
if (_l81 < 0 || _l81 > 2) {
_Rb1("ERROR: Invalid matrix type (matrix_get)");
return;
}
__l1(_l81, _ng1);
}
function _Hg1() {
return [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
}
function _Jg1(_Mf1, _Nf1, _Of1, _Pf1, _Qf1, _Rf1, _Sf1, _Tf1, _Uf1) {
var _Z11 = new _Fk1();
var _wm1 = new _Zk1(yyGetReal(_Mf1), yyGetReal(_Nf1), yyGetReal(_Of1));
var _xm1 = new _Zk1(yyGetReal(_Pf1), yyGetReal(_Qf1), yyGetReal(_Rf1));
var _ym1 = new _Zk1(yyGetReal(_Sf1), yyGetReal(_Tf1), yyGetReal(_Uf1));
_Z11._1l1(_wm1, _xm1, _ym1);
var _um1 = [];
for (var _X9 = 0; _X9 < 16; _X9++) {
_um1[_X9] = _Z11._Z11[_X9];
}
return _um1;
}
function _Lg1(width, height, _3l1, _4l1) {
var _Z11 = new _Fk1();
_Z11._al1(yyGetReal(width), yyGetReal(height), yyGetReal(_3l1), yyGetReal(_4l1));
var _um1 = [];
for (var _X9 = 0; _X9 < 16; _X9++) {
_um1[_X9] = _Z11._Z11[_X9];
}
return _um1;
}
function _Ng1(width, height, _3l1, _4l1) {
var _Z11 = new _Fk1();
_Z11._bl1(yyGetReal(width), yyGetReal(height), yyGetReal(_3l1), yyGetReal(_4l1));
var _um1 = [];
for (var _X9 = 0; _X9 < 16; _X9++) {
_um1[_X9] = _Z11._Z11[_X9];
}
return _um1;
}
function _Pg1(_zm1, _Wf1, _3l1, _4l1) {
var _Z11 = new _Fk1();
_Z11._5l1(yyGetReal(_zm1), yyGetReal(_Wf1), yyGetReal(_3l1), yyGetReal(_4l1));
var _um1 = [];
for (var _X9 = 0; _X9 < 16; _X9++) {
_um1[_X9] = _Z11._Z11[_X9];
}
return _um1;
}
function _pg1(_a11, _b11, _Z71, _Am1, _Bm1, _Cm1, _Dm1, _Em1, _Fm1) {
var _Z11 = new _Fk1();
var _Gm1 = Math.PI / 180.0;
_Am1 = _Gm1 * -yyGetReal(_Am1);
_Bm1 = _Gm1 * -yyGetReal(_Bm1);
_Cm1 = _Gm1 * -yyGetReal(_Cm1);
_Z11._Hm1(yyGetReal(_a11), yyGetReal(_b11), yyGetReal(_Z71), _Am1, _Bm1, _Cm1, yyGetReal(_Dm1), yyGetReal(_Em1), yyGetReal(_Fm1));
var _um1 = [];
for (var _X9 = 0; _X9 < 16; _X9++) {
_um1[_X9] = _Z11._Z11[_X9];
}
return _um1;
}
function _rg1(_Im1, _Jm1) {
var _Km1 = new _Fk1();
var _Lm1 = new _Fk1();
var _Mm1 = new _Fk1();
for (var _X9 = 0; _X9 < 16; _X9++) {
_Km1._Z11[_X9] = yyGetReal(_Im1[_X9]);
_Lm1._Z11[_X9] = yyGetReal(_Jm1[_X9]);
}
_Mm1.Multiply(_Km1, _Lm1);
var _um1 = [];
for (var _X9 = 0; _X9 < 16; _X9++) {
_um1[_X9] = _Mm1._Z11[_X9];
}
return _um1;
}
function _tg1(_Nm1, _a11, _b11, _Z71) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
_Z71 = yyGetReal(_Z71);
var _j21 = _Nm1[_cm1] * _a11 + _Nm1[_dm1] * _b11 + _Nm1[_em1] * _Z71 + _Nm1[_fm1];
var _l21 = _Nm1[_gm1] * _a11 + _Nm1[_6l1] * _b11 + _Nm1[_hm1] * _Z71 + _Nm1[_im1];
var _jm1 = _Nm1[_km1] * _a11 + _Nm1[_lm1] * _b11 + _Nm1[_mm1] * _Z71 + _Nm1[_nm1];
var _m61 = [_j21, _l21, _jm1];
return _m61;
}
function _vg1(_ng1) {
if (_ni1 >= _mi1) {
return;
}
_ni1++;
if (arguments.length == 0) {
_oi1[_ni1] = new _Fk1(_oi1[_ni1 - 1]);
} else {
var _um1 = new _Fk1();
var _X9;
for (_X9 = 0; _X9 < 16; _X9++) {
_um1._Z11[_X9] = _ng1[_X9];
}
_oi1[_ni1] = new _Fk1();
_oi1[_ni1].Multiply(_um1, _oi1[_ni1 - 1]);
}
}
function _xg1() {
_ni1--;
if (_ni1 < 0) {
_Bg1();
}
}
function _Bg1() {
_ni1 = 0;
_oi1[0] = new _Fk1();
}
function _zg1(_ng1) {
_oi1[_ni1] = new _Fk1(_ng1);
}
function _Dg1() {
var _Om1 = new Array(16);
var _X9;
for (_X9 = 0; _X9 < 16; _X9++) {
_Om1[_X9] = _oi1[_ni1]._Z11[_X9];
}
return _Om1;
}
function _Fg1() {
if (_ni1 == 0) return true;
else return false;
}
function _Bj1(_Tk1) {
_131._a51._t51(_Z41._Pm1, yyGetInt32(_Tk1) >= 0.5);
}
function _Cj1(_Tk1) {
_131._a51._t51(_Z41._Qm1, yyGetInt32(_Tk1) >= 0.5);
}
function _Dj1(_Rm1) {
_131._a51._t51(_Z41._Sm1, yyGetInt32(_Rm1));
}
function _Ej1(_Tk1) {
_131._a51._t51(_Z41._Tm1, yyGetInt32(_Tk1) >= 0.5);
}
function _Fj1(_Tk1, _081, _Um1, _Vm1) {
if (Array.isArray(_Tk1)) {
var _Wm1 = _Tk1;
_131._a51._t51(_Z41._Xm1, yyGetInt32(_Wm1[0]) >= 0.5);
_131._a51._t51(_Z41._Ym1, yyGetInt32(_Wm1[1]));
_131._a51._t51(_Z41._Zm1, yyGetReal(_Wm1[2]));
_131._a51._t51(_Z41.__m1, yyGetReal(_Wm1[3]));
} else {
_131._a51._t51(_Z41._Xm1, yyGetInt32(_Tk1) >= 0.5);
_131._a51._t51(_Z41._Ym1, yyGetInt32(_081));
_131._a51._t51(_Z41._Zm1, yyGetReal(_Um1));
_131._a51._t51(_Z41.__m1, yyGetReal(_Vm1));
}
}
function _Gj1(_0n1) {
_131._a51._t51(_Z41._1n1, yyGetInt32(_0n1));
}
function _Aj1(_2n1) {
switch (yyGetInt32(_2n1)) {
case 1:
_131._a51._t51(_Z41._c51, _Z41.__41);
_131._a51._t51(_Z41._d51, _Z41._251);
_131._a51._t51(_Z41._e51, _Z41.__41);
_131._a51._t51(_Z41._f51, _Z41._251);
_131._a51._t51(_Z41._g51, false);
break;
case 2:
_131._a51._t51(_Z41._c51, _Z41.__41);
_131._a51._t51(_Z41._d51, _Z41._451);
_131._a51._t51(_Z41._e51, _Z41.__41);
_131._a51._t51(_Z41._f51, _Z41._451);
_131._a51._t51(_Z41._g51, false);
break;
case 3:
_131._a51._t51(_Z41._c51, _Z41._3n1);
_131._a51._t51(_Z41._d51, _Z41._451);
_131._a51._t51(_Z41._e51, _Z41._3n1);
_131._a51._t51(_Z41._f51, _Z41._451);
_131._a51._t51(_Z41._g51, false);
break;
default:
_131._a51._t51(_Z41._c51, _Z41.__41);
_131._a51._t51(_Z41._d51, _Z41._151);
_131._a51._t51(_Z41._e51, _Z41.__41);
_131._a51._t51(_Z41._f51, _Z41._151);
_131._a51._t51(_Z41._g51, false);
break;
}
}
function _Hj1(_Qb1, _Tc1) {
var _4n1, _5n1;
if (Array.isArray(_Qb1)) {
_4n1 = yyGetInt32(_Qb1[0]);
_5n1 = yyGetInt32(_Qb1[1]);
} else {
_4n1 = yyGetInt32(_Qb1);
_5n1 = yyGetInt32(_Tc1);
}
_131._a51._t51(_Z41._c51, _4n1);
_131._a51._t51(_Z41._d51, _5n1);
_131._a51._t51(_Z41._e51, _4n1);
_131._a51._t51(_Z41._f51, _5n1);
_131._a51._t51(_Z41._g51, false);
}
function _Ij1(_Qb1, _Tc1, _6n1, _7n1) {
var _4n1, _5n1, _8n1, _9n1;
if (Array.isArray(_Qb1)) {
_4n1 = yyGetInt32(_Qb1[0]);
_5n1 = yyGetInt32(_Qb1[1]);
_8n1 = yyGetInt32(_Qb1[2]);
_9n1 = yyGetInt32(_Qb1[3]);
} else {
_4n1 = yyGetInt32(_Qb1);
_5n1 = yyGetInt32(_Tc1);
_8n1 = yyGetInt32(_6n1);
_9n1 = yyGetInt32(_7n1);
}
_131._a51._t51(_Z41._c51, _4n1);
_131._a51._t51(_Z41._d51, _5n1);
_131._a51._t51(_Z41._e51, _8n1);
_131._a51._t51(_Z41._f51, _9n1);
_131._a51._t51(_Z41._g51, true);
}
function _Jj1(_an1, _bn1, _cn1, _f41) {
var _dn1;
var _en1;
var _fn1;
var _gn1;
if (Array.isArray(_an1)) {
var _Wm1 = _an1;
_dn1 = yyGetInt32(_Wm1[0]) >= 0.5;
_en1 = yyGetInt32(_Wm1[1]) >= 0.5;
_fn1 = yyGetInt32(_Wm1[2]) >= 0.5;
_gn1 = yyGetInt32(_Wm1[3]) >= 0.5;
} else {
_dn1 = yyGetInt32(_an1) >= 0.5;
_en1 = yyGetInt32(_bn1) >= 0.5;
_fn1 = yyGetInt32(_cn1) >= 0.5;
_gn1 = yyGetInt32(_f41) >= 0.5;
}
var _hn1 = { _Ue1: _dn1, _Ve1: _en1, _We1: _fn1, alpha: _gn1 };
_131._a51._t51(_Z41._in1, _hn1);
}
function _Kj1(_an1, _bn1, _cn1, _f41) {
_Jj1(_an1, _bn1, _cn1, _f41);
}
function _Lj1(_Tk1) {
_131._a51._t51(_Z41._jn1, yyGetInt32(_Tk1) >= 0.5);
}
function _Mj1(_kn1) {
_131._a51._t51(_Z41._ln1, yyGetInt32(_kn1));
}
function _Nj1(_Rm1) {
_131._a51._t51(_Z41._mn1, yyGetInt32(_Rm1));
}
function _Oj1(_nn1) {
var _on1 = _131._pn1;
var _X9;
if (yyGetBool(_nn1)) {
for (_X9 = 0; _X9 < _on1; _X9++) {
_131._a51._qn1(_X9, _Z41._rn1, _Z41._sn1);
_131._a51._qn1(_X9, _Z41._tn1, _Z41._sn1);
}
} else {
for (_X9 = 0; _X9 < _on1; _X9++) {
_131._a51._qn1(_X9, _Z41._rn1, _Z41._un1);
_131._a51._qn1(_X9, _Z41._tn1, _Z41._un1);
}
}
}
function _Pj1(_vn1, _nn1) {
var _hh1, _fh1;
if (Array.isArray(_vn1)) {
var _Wm1 = _vn1;
_hh1 = yyGetInt32(_Wm1[0]);
_fh1 = yyGetBool(_Wm1[1]);
} else {
_hh1 = yyGetInt32(_vn1);
_fh1 = yyGetBool(_nn1);
}
if (_fh1) {
_131._a51._qn1(_hh1, _Z41._rn1, _Z41._sn1);
_131._a51._qn1(_hh1, _Z41._tn1, _Z41._sn1);
} else {
_131._a51._qn1(_hh1, _Z41._rn1, _Z41._un1);
_131._a51._qn1(_hh1, _Z41._tn1, _Z41._un1);
}
}
function _Qj1(_wn1) {
var _on1 = _131._pn1;
var _X9;
if (yyGetBool(_wn1)) {
for (_X9 = 0; _X9 < _on1; _X9++) {
_131._a51._qn1(_X9, _Z41._xn1, _Z41._yn1);
_131._a51._qn1(_X9, _Z41._zn1, _Z41._yn1);
}
} else {
for (_X9 = 0; _X9 < _on1; _X9++) {
_131._a51._qn1(_X9, _Z41._xn1, _Z41._An1);
_131._a51._qn1(_X9, _Z41._zn1, _Z41._An1);
}
}
}
function _Rj1(_vn1, _wn1) {
var _hh1, repeat;
if (Array.isArray(_vn1)) {
var _Wm1 = _vn1;
_hh1 = yyGetInt32(_Wm1[0]);
repeat = yyGetBool(_Wm1[1]);
} else {
_hh1 = yyGetInt32(_vn1);
repeat = yyGetBool(_wn1);
}
if (repeat) {
_131._a51._qn1(_hh1, _Z41._xn1, _Z41._yn1);
_131._a51._qn1(_hh1, _Z41._zn1, _Z41._yn1);
} else {
_131._a51._qn1(_hh1, _Z41._xn1, _Z41._An1);
_131._a51._qn1(_hh1, _Z41._zn1, _Z41._An1);
}
}
function _Sj1(_Bn1) {
var _ph1 = _Bn1;
for (var _X9 = 0; _X9 < _131._pn1; _X9++) {
_131._a51._qn1(_X9, _Z41._Cn1, _ph1);
}
}
function _Tj1(_Dn1, _Bn1) {
var _En1 = _Dn1;
var _ph1 = _Bn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
_131._a51._qn1(_En1, _Z41._Cn1, _ph1);
}
function _Uj1(_Fn1) {
var _sh1 = _Fn1;
for (var _X9 = 0; _X9 < _131._pn1; _X9++) {
_131._a51._qn1(_X9, _Z41._Gn1, _sh1);
}
}
function _Vj1(_Dn1, _Fn1) {
var _En1 = _Dn1;
var _sh1 = _Fn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
_131._a51._qn1(_En1, _Z41._Gn1, _sh1);
}
function _Wj1(_Hn1) {
var _vh1 = _Hn1;
for (var _X9 = 0; _X9 < _131._pn1; _X9++) {
_131._a51._qn1(_X9, _Z41._In1, _vh1);
}
}
function _Xj1(_Dn1, _Hn1) {
var _En1 = _Dn1;
var _vh1 = _Hn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
_131._a51._qn1(_En1, _Z41._In1, _vh1);
}
function _Yj1(_Jn1) {
var _yh1 = _Jn1;
for (var _X9 = 0; _X9 < _131._pn1; _X9++) {
_131._a51._qn1(_X9, _Z41._Kn1, _yh1);
}
}
function _Zj1(_Dn1, _Jn1) {
var _En1 = _Dn1;
var _yh1 = _Jn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
_131._a51._qn1(_En1, _Z41._Kn1, _yh1);
}
function __j1(_Ln1) {
var _Bh1 = _Ln1;
for (var _X9 = 0; _X9 < _131._pn1; _X9++) {
_131._a51._qn1(_X9, _Z41._Mn1, _Bh1);
}
}
function _0k1(_Dn1, _Ln1) {
var _En1 = _Dn1;
var _Bh1 = _Ln1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
_131._a51._qn1(_En1, _Z41._Mn1, _Bh1);
}
function _1k1(_Tk1) {
var enable = _Tk1;
for (var _X9 = 0; _X9 < _131._pn1; _X9++) {
_131._a51._qn1(_X9, _Z41._Nn1, enable);
}
}
function _2k1(_Dn1, _Tk1) {
var _En1 = _Dn1;
var enable = _Tk1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
_131._a51._qn1(_En1, _Z41._Nn1, enable);
}
function _3k1() {
return _131._a51._b51(_Z41._Pm1) ? 1.0 : 0.0;
}
function _4k1() {
return _131._a51._b51(_Z41._Qm1) ? 1.0 : 0.0;
}
function _5k1() {
return _131._a51._b51(_Z41._Sm1);
}
function _6k1() {
return _131._a51._b51(_Z41._Tm1) ? 1.0 : 0.0;
}
function _7k1() {
var _Wm1 = new Array();
_Wm1.push(_131._a51._b51(_Z41._Xm1) ? 1.0 : 0.0);
_Wm1.push(_131._a51._b51(_Z41._Ym1));
_Wm1.push(_131._a51._b51(_Z41._Zm1));
_Wm1.push(_131._a51._b51(_Z41.__m1));
return _Wm1;
}
function _8k1() {
return _131._a51._b51(_Z41._1n1);
}
function _9k1() {
var _4n1 = _131._a51._b51(_Z41._c51);
var _5n1 = _131._a51._b51(_Z41._d51);
var _8n1 = _131._a51._b51(_Z41._e51);
var _9n1 = _131._a51._b51(_Z41._f51);
if (_4n1 != _8n1 || _5n1 != _9n1) {
return -1;
} else {
switch (_4n1) {
case _On1: {
switch (_5n1) {
case _Pn1:
return 0;
case _Qn1:
return 1;
case _Rn1:
return 2;
default:
return -1;
}
}
case _Sn1: {
if (_5n1 == _Rn1) {
return 3;
} else {
return -1;
}
}
default:
return -1;
}
}
}
function _ak1() {
var _Wm1 = new Array();
_Wm1[0] = _131._a51._b51(_Z41._c51);
_Wm1[1] = _131._a51._b51(_Z41._d51);
return _Wm1;
}
function _bk1() {
var _Wm1 = new Array();
_Wm1[0] = _131._a51._b51(_Z41._c51);
_Wm1[1] = _131._a51._b51(_Z41._d51);
_Wm1[2] = _131._a51._b51(_Z41._e51);
_Wm1[3] = _131._a51._b51(_Z41._f51);
return _Wm1;
}
function _ck1() {
return _131._a51._b51(_Z41._c51);
}
function _dk1() {
return _131._a51._b51(_Z41._d51);
}
function _ek1() {
return _131._a51._b51(_Z41._e51);
}
function _fk1() {
return _131._a51._b51(_Z41._f51);
}
function _gk1() {
var _r91 = _131._a51._b51(_Z41._in1);
var __b1 = new Array();
__b1.push(_r91._Ue1 ? 1.0 : 0.0);
__b1.push(_r91._Ve1 ? 1.0 : 0.0);
__b1.push(_r91._We1 ? 1.0 : 0.0);
__b1.push(_r91.alpha ? 1.0 : 0.0);
return __b1;
}
function _hk1() {
return _gk1();
}
function _ik1() {
return _131._a51._b51(_Z41._jn1) ? 1.0 : 0.0;
}
function _jk1() {
return _131._a51._b51(_Z41._ln1);
}
function _kk1() {
return _131._a51._b51(_Z41._mn1);
}
function _lk1() {
return _131._a51._Tn1(0, _Z41._rn1) == _Z41._sn1 ? 1.0 : 0.0;
}
function _mk1(_vn1) {
return _131._a51._Tn1(yyGetInt32(_vn1), _Z41._rn1) == _Z41._sn1 ? 1.0 : 0.0;
}
function _nk1() {
return _131._a51._Tn1(0, _Z41._xn1) == _Z41._yn1 ? 1.0 : 0.0;
}
function _ok1(_vn1) {
return _131._a51._Tn1(yyGetInt32(_vn1), _Z41._xn1) == _Z41._yn1 ? 1.0 : 0.0;
}
function _pk1() {
return _131._a51._Tn1(0, _Z41._Cn1);
}
function _qk1(_Dn1) {
var _En1 = _Dn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
return _131._a51._Tn1(_En1, _Z41._Cn1);
}
function _rk1() {
return _131._a51._Tn1(0, _Z41._Gn1);
}
function _sk1(_Dn1) {
var _En1 = _Dn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
return _131._a51._Tn1(_En1, _Z41._Gn1);
}
function _tk1() {
return _131._a51._Tn1(0, _Z41._In1);
}
function _uk1(_Dn1) {
var _En1 = _Dn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
return _131._a51._Tn1(_En1, _Z41._In1);
}
function _vk1() {
return _131._a51._Tn1(0, _Z41._Kn1);
}
function _wk1(_Dn1) {
var _En1 = _Dn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
return _131._a51._Tn1(_En1, _Z41._Kn1);
}
function _xk1() {
return _131._a51._Tn1(0, _Z41._Mn1);
}
function _yk1(_Dn1) {
var _En1 = _Dn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
return _131._a51._Tn1(_En1, _Z41._Mn1);
}
function _zk1() {
return _131._a51._Tn1(0, _Z41._Nn1);
}
function _Ak1(_Dn1) {
var _En1 = _Dn1;
if (_En1 < 0 || _En1 >= _131._pn1) {
return;
}
return _131._a51._Tn1(_En1, _Z41._Nn1);
}
function _Bk1() {
_131._a51._Un1();
}
function _Ck1() {
_131._a51._Vn1();
}
var _Wn1 = undefined;
var _Xn1 = undefined;
function _Yn1() {
if (_Wn1 == undefined) {
_Wn1 = [
"blendenable",
_Z41._Pm1,
"ztestenable",
_Z41._Qm1,
"zfunc",
_Z41._Sm1,
"zwriteenable",
_Z41._Tm1,
"fogenable",
_Z41._Xm1,
"fogcolor",
_Z41._Ym1,
"fogstart",
_Z41._Zm1,
"fogend",
_Z41.__m1,
"cullmode",
_Z41._1n1,
"srcblend",
_Z41._c51,
"destblend",
_Z41._d51,
"srcblendalpha",
_Z41._e51,
"destblendalpha",
_Z41._f51,
"sepalphaenable",
_Z41._g51,
"colorwriteenable",
_Z41._in1,
"alphatestenable",
_Z41._jn1,
"alphatestref",
_Z41._ln1,
"alphatestfunc",
_Z41._mn1,
];
}
}
function _Zn1() {
if (_Xn1 == undefined) {
_Xn1 = [
"magfilter",
_Z41._rn1,
"minfilter",
_Z41._tn1,
"mipfilter",
_Z41.__n1,
"addressu",
_Z41._xn1,
"addressv",
_Z41._zn1,
"minmip",
_Z41._In1,
"maxmip",
_Z41._Kn1,
"mipbias",
_Z41._Gn1,
"maxaniso",
_Z41._Mn1,
"mipenable",
_Z41._Nn1,
];
}
}
function _Dk1() {
_Yn1();
_Zn1();
var map = _Dq();
var _0o1 = _Wn1.length / 2;
var _1o1 = _Xn1.length / 2;
var _X9;
for (_X9 = 0; _X9 < _0o1; _X9++) {
var _r91 = _131._a51._b51(_Wn1[_X9 * 2 + 1]);
_lu(map, _Wn1[_X9 * 2], _r91);
}
var _on1 = _131._pn1;
for (_X9 = 0; _X9 < _1o1; _X9++) {
var _i21;
for (_i21 = 0; _i21 < _on1; _i21++) {
var name = _Xn1[_X9 * 2].slice(0) + _i21;
var _r91 = _131._a51._Tn1(_i21, _Xn1[_X9 * 2 + 1]);
_lu(map, name, _r91);
}
}
return map;
}
function _Ek1(_2o1) {
_2o1 = yyGetInt32(_2o1);
_Yn1();
_Zn1();
var _X9;
var _0o1 = _Wn1.length / 2;
var _1o1 = _Xn1.length / 2;
var _3o1 = _uS(_2o1);
while (_3o1 != undefined) {
var key = _3o1;
var value = _il(_2o1, key);
var _4o1 = false;
for (_X9 = 0; _X9 < _0o1; _X9++) {
if (key == _Wn1[_X9 * 2]) {
_131._a51._t51(_Wn1[_X9 * 2 + 1], value);
_4o1 = true;
break;
}
}
if (!_4o1) {
for (_X9 = 0; _X9 < _1o1; _X9++) {
var _5o1 = _Xn1[_X9 * 2].length;
var _6o1 = key.substr(0, _5o1);
if (_6o1 == _Xn1[_X9 * 2]) {
var _7o1 = key.substr(_5o1 - 1, key.length - _5o1);
var _Ie1 = parseInt(_7o1, 10);
_131._a51._qn1(_Ie1, _Xn1[_X9 * 2 + 1], value);
break;
}
}
}
_3o1 = _wS(_2o1, _3o1);
}
}
var _8o1 = 1970;
var _9o1 = 0;
var _ao1 = 1;
var _bo1 = 365.25;
var _co1 = 30.4375;
var _do1 = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
var _eo1 = [];
var _fo1 = 86400.0;
var _go1 = _fo1 * 30;
var _ho1 = !0;
var _io1 = 0;
var _jo1 = 1;
function _ko1(_lo1) {
if (_lo1 < _mo1) {
return _lo1 * _no1;
} else {
return (_lo1 - _mo1) * _no1;
}
}
function _oo1(_po1) {
return _po1 % 400 == 0 || (_po1 % 100 != 0 && _po1 % 4 == 0);
}
function _qo1(_po1) {
var _ro1 = _do1.slice();
if (_oo1(_po1)) {
_ro1[1] = 29;
}
return _ro1;
}
var _no1 = 86400000.0;
var _mo1 = 25569;
function _so1(_to1) {
return (_to1 < 10 ? "0" : "") + _to1.toString();
}
var _uo1 = [];
var _vo1 = [];
var _wo1 = [];
var _xo1 = Date.now();
var _yo1 = 0;
var _zo1 = 1;
var _Ao1 = 2;
var _Bo1 = 3;
var _Co1 = function (text) {
if (!text) return;
if (_Do1) {
if (_Eo1) {
var _p81 = _Eo1.document.getElementById("debug_console");
if (_p81) {
var _Fo1 = String.fromCharCode(0x0a);
text = text.replace("<b>", "").replace("</b>", "");
var _Go1 = Date.now() - _xo1;
if (!_p81) {
alert(text);
} else {
_p81.value += text + _Fo1;
var _Bc1 = _p81.textLength;
}
_xo1 = Date.now();
}
}
}
if (_Ho1 != undefined) {
if (_Ho1._ok._Jk) console.log(text);
if (_Ho1._ok._Io1) {
var _Jo1 = document.getElementById("yyDebugDiv");
var _Ko1 = document.createElement("P");
_Ko1.textContent += text;
_Jo1.appendChild(_Ko1);
}
}
};
function debug(text) {
var index;
for (index = 0; index < arguments.length; ++index) {
_Co1(arguments[index]);
}
}
function _Rb1(text) {
var index;
for (index = 0; index < arguments.length; ++index) {
_Lo1(arguments[index]);
}
_8p(-2);
}
function _Mo1(_No1) {
if (!_wo1[_No1]) {
_wo1[_No1] = true;
_Lo1(_No1);
debug(_No1);
}
}
function _w61(_No1) {
if (!_uo1[_No1]) {
_uo1[_No1] = true;
var _Oo1 = "Error: function " + _No1;
debug(_Oo1);
}
}
function _Po1(_No1) {
if (!_uo1[_No1]) {
_uo1[_No1] = true;
var _Oo1 = "Error: function " + _No1 + " is not yet implemented";
debug(_Oo1);
}
}
function _Qo1(_No1) {
if (!_vo1[_No1]) {
_vo1[_No1] = true;
var _Oo1 = "Warning: function " + _No1;
debug(_Oo1);
}
}
function _Ro1(_So1) {
var _To1 = _Uo1._Vo1(_So1, -1);
var _Fo1 = String.fromCharCode(0x0a);
var _Wo1 = "";
for (var _X9 = 0; _X9 < _To1.length; _X9++) {
if (_X9 != 0) _Wo1 = _Wo1 + _Fo1;
_Wo1 += _To1[_X9];
}
return _Wo1;
}
function _4z(_So1) {
var _Xo1 = yyGetString(_So1);
if (!_Xo1) return;
debug(_Xo1);
}
function _Yo1(_So1) {
var _Xo1 = yyGetString(_So1);
if (!_Xo1) return;
alert(_Ro1(_Xo1));
}
function _Zo1(__o1) {
var _v01 = document.getElementById(_0p1);
var _1p1 = _v01.parentNode;
var _2p1 = document.createElement("div");
_3p1 = "gm4html5_login_ID";
_2p1.setAttribute("class", "gm4html5_login");
_2p1.setAttribute("id", _3p1);
_1p1.insertBefore(_2p1, _v01.nextSibling);
_2p1.innerHTML =
'<div class="gm4html5_login_header">Login</div>' +
"<table>" +
"<tr>" +
'<td><label for="username" id="gm4html5_login_label_username_id">Username:</label></td>' +
'<td><input type="text" id="gm4html5_login_username_id" value="username" /></td>' +
"</tr>" +
"<tr>" +
'<td><label for="password" id="gm4html5_login_label_password_id">Password:</label></td>' +
'<td><input type="password" id="gm4html5_login_password_id" value="password" /></td>' +
"</tr>" +
"</table>" +
'<div class="gm4html5_login_button"><input type="button" value="Login" id="gm4html5_login_button_id"/></div>' +
'<div class="gm4html5_cancel_button"><input type="button" value="Cancel" id="gm4html5_cancel_button_id" /></div>';
_4p1();
_5p1 = true;
var login = document.getElementById("gm4html5_login_button_id");
var _6p1 = document.getElementById("gm4html5_login_username_id");
var _7p1 = document.getElementById("gm4html5_login_password_id");
_6p1.value = __o1._8p1[0];
_7p1.value = __o1._8p1[1];
login.onmouseup = function () {
var _9p1 = _6p1.value;
var _ap1 = _7p1.value;
var _bp1 = _cp1(_3p1);
if (!_bp1) return;
_bp1._9p1 = _9p1;
_bp1._ap1 = _ap1;
_bp1.value = 0;
_bp1.result = "";
_bp1._Ia1 = true;
_bp1._Ha1 = _dp1;
_1p1.removeChild(_2p1);
_5p1 = false;
_ep1();
_fp1(__o1.id);
};
var _gp1 = document.getElementById("gm4html5_cancel_button_id");
_gp1.onmouseup = function () {
_1p1.removeChild(_2p1);
_5p1 = false;
var _bp1 = _cp1(_3p1);
if (!_bp1) return;
_bp1._9p1 = "";
_bp1._ap1 = "";
_bp1.value = 0;
_bp1.result = "";
_bp1._Ia1 = true;
_bp1._Ha1 = _hp1;
_ep1();
_fp1(__o1.id);
};
_ip1();
_Ca1._Da1(__o1.id, null, _jp1, _3p1);
}
function _kp1(__o1) {
var _v01 = document.getElementById(_0p1);
var _1p1 = _v01.parentNode;
var _2p1 = document.createElement("div");
_3p1 = "gm4html5_input_ID";
_2p1.setAttribute("class", "gm4html5_login");
_2p1.setAttribute("id", _3p1);
_1p1.insertBefore(_2p1, _v01.nextSibling);
_2p1.innerHTML =
"<table>" +
"<tr>" +
'<td><label for="username" id="gm4html5_input_message_id">Message</label></td>' +
"</tr>" +
"<tr>" +
'<td><input type="text" id="gm4html5_input_text_id" value="text" /></td>' +
"</tr>" +
"</table>" +
'<div class="gm4html5_login_button"><input type="button" value="OK" id="gm4html5_input_ok_button_id"/></div>' +
'<div class="gm4html5_cancel_button"><input type="button" value="Cancel" id="gm4html5_input_cancel_button_id" /></div>';
_4p1();
_5p1 = true;
var _lp1 = document.getElementById("gm4html5_input_message_id");
var _mp1 = document.getElementById("gm4html5_input_text_id");
_lp1.innerHTML = __o1._8p1[0];
_mp1.value = __o1._8p1[1];
var _np1 = document.getElementById("gm4html5_input_ok_button_id");
_np1.onmouseup = function () {
var text = _mp1.value;
var _bp1 = _cp1(_3p1);
if (!_bp1) return;
_bp1._9p1 = "";
_bp1._ap1 = "";
_bp1.value = parseFloat(text);
_bp1.result = text;
_bp1._Ia1 = true;
_bp1._Ha1 = _dp1;
_1p1.removeChild(_2p1);
_5p1 = false;
_ep1();
_fp1(__o1.id);
};
var _gp1 = document.getElementById("gm4html5_input_cancel_button_id");
_gp1.onmouseup = function () {
_1p1.removeChild(_2p1);
_5p1 = false;
var _bp1 = _cp1(_3p1);
if (!_bp1) return;
_bp1._9p1 = "";
_bp1._ap1 = "";
_bp1.value = 0;
_bp1.result = "";
_bp1._Ia1 = true;
_bp1._Ha1 = _hp1;
_ep1();
_fp1(__o1.id);
};
_ip1();
_Ca1._Da1(__o1.id, null, _jp1, _3p1);
}
function _op1(__o1) {
var _v01 = document.getElementById(_0p1);
var _1p1 = _v01.parentNode;
var _2p1 = document.createElement("div");
_3p1 = "gm4html5_question_ID";
_2p1.setAttribute("class", "gm4html5_login");
_2p1.setAttribute("id", _3p1);
_1p1.insertBefore(_2p1, _v01.nextSibling);
_2p1.innerHTML =
"<table>" +
"<tr>" +
'<td><label for="username" id="gm4html5_question_message_id">Message</label></td>' +
"</tr>" +
"</table>" +
'<div class="gm4html5_login_button"><input type="button" value="Yes" id="gm4html5_question_yes_button_id"/></div>' +
'<div class="gm4html5_cancel_button"><input type="button" value="No" id="gm4html5_question_no_button_id" /></div>';
_4p1();
_5p1 = true;
var _pp1 = document.getElementById("gm4html5_question_message_id");
_pp1.innerHTML = __o1._8p1[0];
var _np1 = document.getElementById("gm4html5_question_yes_button_id");
_np1.onmouseup = function () {
var _bp1 = _cp1(_3p1);
if (!_bp1) return;
_bp1._9p1 = "";
_bp1._ap1 = "";
_bp1.value = 1;
_bp1.result = "1";
_bp1._Ia1 = true;
_bp1._Ha1 = _dp1;
_1p1.removeChild(_2p1);
_5p1 = false;
_ep1();
_fp1(__o1.id);
};
var _gp1 = document.getElementById("gm4html5_question_no_button_id");
_gp1.onmouseup = function () {
_1p1.removeChild(_2p1);
_5p1 = false;
var _bp1 = _cp1(_3p1);
if (!_bp1) return;
_bp1._9p1 = "";
_bp1._ap1 = "";
_bp1.value = 0;
_bp1.result = "0";
_bp1._Ia1 = true;
_bp1._Ha1 = _hp1;
_ep1();
_fp1(__o1.id);
};
_ip1();
_Ca1._Da1(__o1.id, null, _jp1, _3p1);
}
function _qp1(__o1) {
var _v01 = document.getElementById(_0p1);
var _1p1 = _v01.parentNode;
var _2p1 = document.createElement("div");
_3p1 = "gm4html5_message_ID";
_2p1.setAttribute("class", "gm4html5_login");
_2p1.setAttribute("id", _3p1);
_1p1.insertBefore(_2p1, _v01.nextSibling);
_2p1.innerHTML =
"<table>" +
"<tr>" +
'<td><label for="username" id="gm4html5_message_message_id">Message</label></td>' +
"</tr>" +
"</table>" +
'<div class="gm4html5_login_button"><input type="button" value="OK" id="gm4html5_message_ok_button_id"/></div>';
_4p1();
_5p1 = true;
var _pp1 = document.getElementById("gm4html5_message_message_id");
_pp1.innerHTML = __o1._8p1[0];
var _np1 = document.getElementById("gm4html5_message_ok_button_id");
_np1.onmouseup = function () {
var _bp1 = _cp1(_3p1);
if (!_bp1) return;
_bp1._9p1 = "";
_bp1._ap1 = "";
_bp1.value = 1;
_bp1.result = "1";
_bp1._Ia1 = true;
_bp1._Ha1 = 1;
_1p1.removeChild(_2p1);
_5p1 = false;
_ep1();
_fp1(__o1.id);
};
_ip1();
_Ca1._Da1(__o1.id, null, _jp1, _3p1);
}
/*@constructor */ function _rp1() {
if (_sp1.length > 0) {
switch (_sp1[0].type) {
case _yo1:
_Zo1(_sp1[0]);
break;
case _zo1:
_kp1(_sp1[0]);
break;
case _Ao1:
_op1(_sp1[0]);
break;
case _Bo1:
_qp1(_sp1[0]);
break;
}
}
}
function _fp1(_Ub1) {
var index = -1;
for (var _X9 = 0; _X9 < _sp1.length; ++_X9) {
if (_sp1[_X9].id == _Ub1) {
index = _X9;
break;
}
}
if (index >= 0) {
_sp1.splice(index, 1);
}
_rp1();
}
function _ip1() {
if (_5p1) {
var login = document.getElementById(_3p1);
var _Z9 = login.offsetWidth;
var __9 = login.offsetHeight;
var _j21 = (canvas.width - _Z9) / 2;
var _l21 = (canvas.height - __9) / 2;
_9b1 = new _tp1();
_8b1(canvas, _9b1);
login.style.left = ~~(_j21 + _9b1.left) + "px";
login.style.top = ~~(_l21 + _9b1.top) + "px";
}
}
function _up1(_vp1) {
return _vp1.substr(0, _vp1.indexOf("("));
}
function _Lo1(_wp1) {
var _xp1 = arguments.callee.caller;
var _yp1 = "Error: " + _wp1 + "\n" + "--------------------------------------------------------------------\n";
while (_xp1) {
var name = "\t" + _up1(_xp1.toString());
_yp1 += name + "(";
for (var _X9 = 0; _X9 < _xp1.arguments.length; _X9++) {
if (_X9 != 0) {
_yp1 += ", ";
}
if (typeof _xp1.arguments[_X9] == "string") {
_yp1 += '"' + _xp1.arguments[_X9].toString() + '"';
} else if (typeof _xp1.arguments[_X9] == "number" || _xp1.arguments[_X9] instanceof Long) {
_yp1 += _xp1.arguments[_X9].toString();
} else {
if (_xp1.arguments[_X9] == undefined) {
_yp1 += "[undefined]";
} else if (_xp1.arguments[_X9] == null) {
_yp1 += "[null]";
} else if (_xp1.arguments[_X9].__type) {
_yp1 += _xp1.arguments[_X9].__type;
} else {
_yp1 += "[unknown]";
}
}
}
_yp1 += ")\n";
_xp1 = _xp1.caller;
}
debug(_yp1);
}
var _zp1 = 3;
var _Ap1 = -1;
/*@constructor */ function _Bp1() {
this._Cp1 = "";
this._Dp1 = 0;
this._Ep1 = false;
this._Fp1 = false;
this._Gp1 = "";
}
_Bp1.prototype._Hp1 = function () {
var _yp1;
var _X9 = this._Dp1;
var _Wo1 = this._Cp1;
while (_X9 < _Wo1.length) {
var _Y9 = _Wo1.charCodeAt(_X9);
if (_Y9 == 0x0d || _Y9 == 0x0a) {
_X9++;
_Y9 = _Wo1.charCodeAt(_X9);
if (_Y9 == 0x0d || _Y9 == 0x0a) {
_X9++;
}
break;
} else {
_X9++;
}
}
this._Dp1 = _X9;
};
_Bp1.prototype._Ip1 = function () {
var _yp1;
var _X9 = this._Dp1;
var _Wo1 = this._Cp1;
while (_X9 < _Wo1.length) {
var _Y9 = _Wo1.charCodeAt(_X9);
if (_Y9 == 0x0d || _Y9 == 0x0a || _Y9 == 0x09 || _Y9 == 0x20) {
_X9++;
} else {
break;
}
}
this._Dp1 = _X9;
};
function _qr(_Jp1) {
_Jp1 = yyGetString(_Jp1);
var _Kp1 = _7d1(_Jp1, true);
if (_Kp1 == null) _Kp1 = _7d1(_Jp1, false);
if (_Kp1 == null) return -1;
var _Ba1 = new _Bp1();
_Ba1._Cp1 = _Kp1;
_Ba1._Dp1 = 0;
_Ba1._Gp1 = _Jp1;
return _Lp1._Da1(_Ba1);
}
function _xr(_Mp1) {
_Mp1 = yyGetInt32(_Mp1);
var _Ba1 = _Lp1._s11(_Mp1);
if (!_Ba1) {
_Rb1("Error: Illegal file handle");
return;
}
if (_Ba1._Gp1 != null) {
if (_Ba1._Fp1) {
_4d1(_Ba1._Gp1, _Ba1._Cp1);
}
}
_Lp1._nc1(_Mp1);
}
function _Np1(_Jp1) {
var _Ba1 = new _Bp1();
_Ba1._Gp1 = yyGetString(_Jp1);
_Ba1._Cp1 = "";
_Ba1._Dp1 = 0;
_Ba1._Op1 = true;
return _Lp1._Da1(_Ba1);
}
function _Pp1(_Mp1, _Qp1) {
var _Ba1 = _Lp1._s11(yyGetInt32(_Mp1));
if (!_Ba1) {
_Rb1("Error: Illegal file handle");
return;
}
if (!_Ba1._Op1) {
_Rb1("Error: File " + _Ba1._Gp1 + " has not been opened with WRITE permisions");
return;
}
_Ba1._Cp1 += yyGetString(_Qp1);
_Ba1._Fp1 = true;
_Ba1._Dp1 = _Ba1._Cp1.length;
}
function _tr(_Mp1) {
var _Ba1 = _Lp1._s11(yyGetInt32(_Mp1));
if (!_Ba1) {
_Rb1("Error: Illegal file handle");
return;
}
var _yp1 = "";
var _X9 = _Ba1._Dp1;
var _Wo1 = _Ba1._Cp1;
while (_X9 < _Wo1.length) {
var _Y9 = _Wo1.charCodeAt(_X9);
if (_Y9 == 0x0d || _Y9 == 0x0a) {
break;
} else {
_yp1 += _Wo1[_X9++];
}
}
_Ba1._Dp1 = _X9;
return _yp1;
}
function _ur(_Mp1) {
var _Ba1 = _Lp1._s11(yyGetInt32(_Mp1));
if (!_Ba1) {
_Rb1("Error: Illegal file handle");
return;
}
var _yp1 = "";
var _X9 = _Ba1._Dp1;
var _Wo1 = _Ba1._Cp1;
while (_X9 < _Wo1.length) {
var _Y9 = _Wo1.charCodeAt(_X9);
if (_Y9 == 0x0d || _Y9 == 0x0a) {
_yp1 += _Wo1[_X9++];
if (_X9 < _Wo1.length) {
_Y9 = _Wo1.charCodeAt(_X9);
if (_Y9 == 0x0d || _Y9 == 0x0a) {
_yp1 += _Wo1[_X9++];
}
}
break;
} else {
_yp1 += _Wo1[_X9++];
}
}
_Ba1._Dp1 = _X9;
return _yp1;
}
function _rr(_Mp1) {
var _Ba1 = _Lp1._s11(yyGetInt32(_Mp1));
if (!_Ba1) {
_Rb1("Error: Illegal file handle");
return;
}
if (_Ba1._Dp1 >= _Ba1._Cp1.length) return true;
return false;
}
function _2u(_Jp1) {
_Jp1 = yyGetString(_Jp1);
var _Rp1 = _Sp1(_Jp1, true);
if (_Rp1 == true) return true;
return _Sp1(_Jp1, false);
}
function _9p(_Jp1) {
if (_Tp1) {
try {
window.localStorage["removeItem"](_Up1(yyGetString(_Jp1)));
return true;
} catch (_dc1) {
return false;
}
}
return false;
}
function _3u(_Vp1, _Wp1) {
_Vp1 = yyGetString(_Vp1);
_Xp1(_Vp1, yyGetString(_Wp1));
_9p(_Vp1);
}
function _Xp1(_Jp1, _Wp1) {
_Jp1 = yyGetString(_Jp1);
_Wp1 = yyGetString(_Wp1);
if (true === _2u(_Wp1)) _9p(_Wp1);
if (false === _2u(_Jp1)) return false;
var _Yp1 = _qr(_Jp1);
var _Zp1 = _Np1(_Wp1);
while (false === _rr(_Yp1)) {
var __p1 = _tr(_Yp1);
_Pp1(_Zp1, __p1);
}
_xr(_Yp1);
_xr(_Zp1);
}
function _0q1(_1q1) {
var __b1;
switch (typeof _1q1) {
case "object":
if (_1q1 instanceof Array) {
__b1 = new _Kc1(_Dc1, _2q1(_1q1));
} else {
__b1 = new _Kc1(_Cc1, _3q1(_1q1));
}
break;
case "boolean":
__b1 = _1q1 ? 1 : 0;
break;
case "number":
case "string":
__b1 = _1q1;
break;
default:
__b1 = _1q1.toString();
break;
}
return __b1;
}
function _2q1(_Lc1) {
var __b1 = _yl();
for (var _X9 = 0; _X9 < _Lc1.length; ++_X9) {
var _J41 = _0q1(_Lc1[_X9]);
_Cl(__b1, _J41);
}
return __b1;
}
function _3q1(_Lc1) {
var __b1 = _Dq();
for (var _4q1 in _Lc1) {
var _l41 = _Lc1[_4q1];
var _J41 = _0q1(_l41);
_lu(__b1, _4q1, _J41);
}
return __b1;
}
function _Cx(_5q1) {
var _yp1 = yyGetString(_5q1);
var _6q1 = false;
try {
for (var _7q1 = 0; _7q1 < _yp1.length; _7q1++) {
if (_yp1.charAt(_7q1) == '"') {
if (!_6q1) {
_6q1 = true;
} else if (_7q1 == 0 || _yp1.charAt(_7q1 - 1) != "\\") {
_6q1 = false;
}
}
if (!_6q1 && _yp1.charAt(_7q1) == "#") {
_yp1 = _yp1.substring(0, _7q1) + _yp1.substring(_7q1 + 1, _yp1.length);
_7q1--;
}
}
} catch (Error) {}
var _8q1 = {};
try {
_8q1 = JSON.parse(_yp1);
if (_8q1 instanceof Array) {
_yp1 = '{ "default" : ' + _yp1 + "}";
_8q1 = JSON.parse(_yp1);
}
} catch (err) {
_yp1 = '{ "default" : "' + _yp1.toString() + '"}';
try {
_8q1 = JSON.parse(_yp1);
} catch (err) {}
}
return _3q1(_8q1);
}
function _9q1(_1q1) {
var __b1;
switch (typeof _1q1) {
case "object":
switch (_1q1._Mc1) {
case _Dc1:
__b1 = _aq1(_1q1.Object);
break;
case _Cc1:
__b1 = _bq1(_1q1.Object);
break;
default:
if (_1q1.constructor === Array) {
return _1q1;
} else {
__b1 = _1q1.toString();
}
break;
}
break;
case "number":
case "string":
__b1 = _1q1;
break;
default:
__b1 = _1q1.toString();
break;
}
return __b1;
}
function _aq1(_W31) {
var __b1 = [];
var _mc1 = _lc1._s11(_W31);
if (_mc1) {
for (var _X9 = 0; _X9 < _mc1._xc1.length; ++_X9) {
if (_mc1._xc1[_X9] != undefined) __b1.push(_9q1(_mc1._xc1[_X9]));
}
}
return __b1;
}
function _bq1(_2o1) {
var __b1 = {};
var _Nc1 = _Oc1._s11(_2o1);
if (_Nc1) {
for (var _X9 in _Nc1) {
if (!_Nc1.hasOwnProperty(_X9)) continue;
if (_Nc1[_X9] != undefined) __b1[_X9] = _9q1(_Nc1[_X9]);
}
}
return __b1;
}
function _1d1(_2o1) {
var _cq1 = _bq1(yyGetInt32(_2o1));
return JSON.stringify(_cq1);
}
function _ZK(_dq1) {
_Uo1._eq1 = yyGetInt32(_dq1);
}
function __K(_dq1) {
_Uo1._fq1 = yyGetInt32(_dq1);
}
function _YK(_gq1) {
_Uo1._hq1 = yyGetInt32(_gq1);
}
function _5L(_a11, _b11, _No1) {
var _Y9 = (_L71 & 0xffffff) | (((_K71 * 255.0) << 24) & 0xff000000);
_Uo1._iq1(yyGetString(_No1), yyGetReal(_a11), yyGetReal(_b11), -1, -1, 0, 1, 1, _Y9, _Y9, _Y9, _Y9);
}
var _2T = _eT;
function _eT(_a11, _b11, _No1, _jq1, _kq1, _lq1, _mq1, _f41) {
if (!_131) _Qo1("draw_text_color() only uses the 1st colour");
var _nq1 = _K71;
var _oq1 = _pq1;
var _l41 = ((yyGetReal(_f41) * 255) << 24) & 0xff000000;
_jq1 = (yyGetInt32(_jq1) & 0xffffff) | _l41;
_kq1 = (yyGetInt32(_kq1) & 0xffffff) | _l41;
_lq1 = (yyGetInt32(_lq1) & 0xffffff) | _l41;
_mq1 = (yyGetInt32(_mq1) & 0xffffff) | _l41;
_Uo1._iq1(yyGetString(_No1), yyGetReal(_a11), yyGetReal(_b11), -1, -1, 0, 1, 1, _jq1, _kq1, _lq1, _mq1);
_K71 = _nq1;
_aL(_oq1);
}
var _qq1 = _8T;
function _8T(_a11, _b11, _No1, _rq1, _Mb1, _jq1, _kq1, _lq1, _mq1, _f41) {
if (!_131) _Qo1("draw_text_ext_color() only uses the 1st colour");
var _nq1 = _K71;
var _oq1 = _pq1;
var _l41 = (yyGetReal(_f41) * 255) << 24;
_jq1 = (yyGetInt32(_jq1) & 0xffffff) | _l41;
_kq1 = (yyGetInt32(_kq1) & 0xffffff) | _l41;
_lq1 = (yyGetInt32(_lq1) & 0xffffff) | _l41;
_mq1 = (yyGetInt32(_mq1) & 0xffffff) | _l41;
_Uo1._iq1(yyGetString(_No1), yyGetReal(_a11), yyGetReal(_b11), yyGetInt32(_rq1), yyGetInt32(_Mb1), 0, 1, 1, _jq1, _kq1, _lq1, _mq1);
_K71 = _nq1;
_aL(_oq1);
}
function _jT(_a11, _b11, _No1, _rq1, _Mb1) {
var _Y9 = (_L71 & 0xffffff) | (((_K71 * 255.0) << 24) & 0xff000000);
_Uo1._iq1(yyGetString(_No1), yyGetReal(_a11), yyGetReal(_b11), yyGetInt32(_rq1), yyGetInt32(_Mb1), 0, 1, 1, _Y9, _Y9, _Y9, _Y9);
}
function _sq1(_a11, _b11, _No1, _Dm1, _Em1, _e11) {
var _Y9 = (_L71 & 0xffffff) | (((_K71 * 255.0) << 24) & 0xff000000);
_Uo1._iq1(yyGetString(_No1), yyGetReal(_a11), yyGetReal(_b11), -1, -1, yyGetReal(_e11), yyGetReal(_Dm1), yyGetReal(_Em1), _Y9, _Y9, _Y9, _Y9);
}
var _tq1 = _uq1;
function _uq1(_a11, _b11, _No1, _rq1, _Mb1, _Dm1, _Em1, _e11, _jq1, _kq1, _lq1, _mq1, _f41) {
if (!_131) _Qo1("draw_text_ext_transformed_color() only uses the 1st colour");
var _nq1 = _K71;
var _oq1 = _pq1;
var _l41 = ((yyGetReal(_f41) * 255) << 24) & 0xff000000;
_jq1 = _N71(yyGetInt32(_jq1)) | _l41;
_kq1 = _N71(yyGetInt32(_kq1)) | _l41;
_lq1 = _N71(yyGetInt32(_lq1)) | _l41;
_mq1 = _N71(yyGetInt32(_mq1)) | _l41;
_Uo1._iq1(yyGetString(_No1), yyGetReal(_a11), yyGetReal(_b11), yyGetInt32(_rq1), yyGetInt32(_Mb1), yyGetReal(_e11), yyGetReal(_Dm1), yyGetReal(_Em1), _jq1, _kq1, _lq1, _mq1);
_K71 = _nq1;
_aL(_oq1);
}
var _vq1 = _ZX;
function _ZX(_a11, _b11, _No1, _Dm1, _Em1, _e11, _jq1, _kq1, _lq1, _mq1, _f41) {
if (!_131) _Qo1("draw_text_transformed_color() only uses the 1st colour");
var _nq1 = _K71;
var _oq1 = _pq1;
var _l41 = ((yyGetReal(_f41) * 255) << 24) & 0xff000000;
_jq1 = _N71(yyGetInt32(_jq1)) | _l41;
_kq1 = _N71(yyGetInt32(_kq1)) | _l41;
_lq1 = _N71(yyGetInt32(_lq1)) | _l41;
_mq1 = _N71(yyGetInt32(_mq1)) | _l41;
_Uo1._iq1(yyGetString(_No1), yyGetReal(_a11), yyGetReal(_b11), -1, -1, yyGetReal(_e11), yyGetReal(_Dm1), yyGetReal(_Em1), _jq1, _kq1, _lq1, _mq1);
_K71 = _nq1;
_aL(_oq1);
}
function _dT(_No1) {
_No1 = yyGetString(_No1);
_Uo1._wq1();
if (!_Uo1._xq1) return 1;
var _yq1 = _Uo1._Vo1(_No1, -1, _Uo1._xq1);
if (_yq1 == null) return _Uo1._xq1._zq1(_No1);
return _Uo1._xq1._zq1(_No1) * _yq1.length;
}
function _3L(_No1) {
_Uo1._wq1();
return _Uo1._xq1 ? _Uo1._xq1._Aq1(yyGetString(_No1)) : 1;
}
function _hT(_5q1, _rq1, _Mb1) {
_Uo1._wq1();
if (!_Uo1._xq1) return 1;
_Uo1._Bq1(yyGetString(_5q1), 0, 0, yyGetInt32(_rq1), yyGetInt32(_Mb1), 0);
return _Cq1;
}
function _QM(_5q1, _rq1, _Mb1) {
_Uo1._wq1();
if (!_Uo1._xq1) return 1;
_Uo1._Bq1(yyGetString(_5q1), 0, 0, yyGetInt32(_rq1), yyGetInt32(_Mb1), 0);
return _Dq1;
}
var _Eq1 = 0,
_Fq1 = 1,
_Gq1 = 2,
_Hq1 = 3,
_Iq1 = 4,
_Jq1 = 5,
_Kq1 = 6,
_Lq1 = 7,
_Mq1 = 8,
_Nq1 = 9;
var _Oq1 = 1;
/*@constructor */ function _Pq1() {
var _Qq1 = _7d1("hiscores_data_", true);
if (_Qq1 != null) {
try {
var _Rq1 = JSON.parse(_Qq1);
var _X9;
for (_X9 = 0; _X9 < _Sq1; _X9++) {
_Tq1[_X9] = _Rq1[_X9].name;
_Uq1[_X9] = _Rq1[_X9].value;
}
} catch (_dc1) {
_Rb1("Error: reading hiscore JSON");
}
}
}
function _Vq1() {
_Uq1[0] = _Uq1[1] = _Uq1[2] = _Uq1[3] = _Uq1[4] = _Uq1[5] = _Uq1[6] = _Uq1[7] = _Uq1[8] = _Uq1[9] = 0;
_Tq1[0] = _Tq1[1] = _Tq1[2] = _Tq1[3] = _Tq1[4] = _Tq1[5] = _Tq1[6] = _Tq1[7] = _Tq1[8] = _Tq1[9] = _Wq1;
}
function _Xq1(_Yq1, _Zq1, _kn1) {
var __q1, _0r1, _1r1, _2r1, _3r1, _4r1;
__q1 = (_Yq1 >> 16) & 0xff;
_1r1 = (_Yq1 >> 8) & 0xff;
_3r1 = _Yq1 & 0xff;
_0r1 = (_Zq1 >> 16) & 0xff;
_2r1 = (_Zq1 >> 8) & 0xff;
_4r1 = _Zq1 & 0xff;
var _5r1 = 1.0 - _kn1;
var _b21 = _zc1(__q1 * _5r1 + _0r1 * _kn1);
var _k41 = _zc1(_1r1 * _5r1 + _2r1 * _kn1);
var _e21 = _zc1(_3r1 * _5r1 + _4r1 * _kn1);
var _L31 = ((_b21 & 0xff) << 16) | ((_k41 & 0xff) << 8) | (_e21 & 0xff);
return _L31;
}
function _6r1(_Yq1, _Zq1, _kn1) {
return _Xq1(_Yq1, _Zq1, _kn1);
}
function _7r1(_8r1, _9r1, _ar1, _br1) {
var _cr1 = _dr1._s11(_ar1);
if (_cr1 != null && _cr1 != undefined) {
var _er1 = _cr1._fr1[_br1];
if (_er1 != null && _er1 != undefined) {
_er1._gr1(_8r1, _8r1);
}
}
}
var _hr1 = !0;
function _DS(_8r1, _ir1) {
_8r1._jr1(_kr1, _lr1, _ir1);
}
function _3d1(data) {
var _mr1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var _nr1, _or1, _pr1, _qr1, _rr1, _sr1, _tr1, _ur1;
var _X9 = 0;
var _vr1 = 0;
var _wr1 = "";
var _xr1 = [];
if (!data) {
return data;
}
data = yyGetString(data);
if (typeof data !== "string") return undefined;
data = _yr1(data);
do {
_nr1 = data.charCodeAt(_X9++);
_or1 = data.charCodeAt(_X9++);
_pr1 = data.charCodeAt(_X9++);
_ur1 = (_nr1 << 16) | (_or1 << 8) | _pr1;
_qr1 = (_ur1 >> 18) & 0x3f;
_rr1 = (_ur1 >> 12) & 0x3f;
_sr1 = (_ur1 >> 6) & 0x3f;
_tr1 = _ur1 & 0x3f;
_xr1[_vr1++] = _mr1.charAt(_qr1) + _mr1.charAt(_rr1) + _mr1.charAt(_sr1) + _mr1.charAt(_tr1);
} while (_X9 < data.length);
_wr1 = _xr1.join("");
var _b21 = data.length % 3;
return (_b21 ? _wr1.slice(0, _b21 - 3) : _wr1) + "===".slice(_b21 || 3);
}
function _zr1(_So1) {
var _m61 = "";
var index = 0;
while (index < _So1.length) {
var _J41 = 0;
var _Ar1 = _So1.charCodeAt(index++);
if ((_Ar1 & 0x80) == 0) {
_J41 = _Ar1;
} else if ((_Ar1 & 0xe0) == 0xc0) {
_J41 = (_Ar1 & 0x1f) << 6;
_Ar1 = _So1.charCodeAt(index++);
_J41 |= _Ar1 & 0x3f;
} else if ((_Ar1 & 0xf0) == 0xe0) {
_J41 = (_Ar1 & 0x0f) << 12;
_Ar1 = _So1.charCodeAt(index++);
_J41 |= (_Ar1 & 0x3f) << 6;
_Ar1 = _So1.charCodeAt(index++);
_J41 |= _Ar1 & 0x3f;
} else {
_J41 = (_Ar1 & 0x07) << 18;
_Ar1 = _So1.charCodeAt(index++);
_J41 |= (_Ar1 & 0x3f) << 12;
_Ar1 = _So1.charCodeAt(index++);
_J41 |= (_Ar1 & 0x3f) << 6;
_Ar1 = _So1.charCodeAt(index++);
_J41 |= _Ar1 & 0x3f;
}
if (_J41 == 0x00) break;
var _Br1 = String.fromCharCode(_J41);
_m61 += _Br1;
}
return _m61;
}
function _9d1(data) {
var _mr1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var _nr1, _or1, _pr1, _qr1, _rr1, _sr1, _tr1, _ur1;
var _X9 = 0;
var _vr1 = 0;
var _Cr1 = "";
var _xr1 = [];
if (!data) {
return data;
}
data = yyGetString(data);
data += "";
do {
_qr1 = _mr1.indexOf(data.charAt(_X9++));
_rr1 = _mr1.indexOf(data.charAt(_X9++));
_sr1 = _mr1.indexOf(data.charAt(_X9++));
_tr1 = _mr1.indexOf(data.charAt(_X9++));
_ur1 = (_qr1 << 18) | (_rr1 << 12) | (_sr1 << 6) | _tr1;
_nr1 = (_ur1 >> 16) & 0xff;
_or1 = (_ur1 >> 8) & 0xff;
_pr1 = _ur1 & 0xff;
if (_sr1 == 64) {
_xr1[_vr1++] = String.fromCharCode(_nr1);
} else if (_tr1 == 64) {
_xr1[_vr1++] = String.fromCharCode(_nr1, _or1);
} else {
_xr1[_vr1++] = String.fromCharCode(_nr1, _or1, _pr1);
}
} while (_X9 < data.length);
_Cr1 = _xr1.join("");
return _zr1(_Cr1);
}
function _Dr1(data) {
var _mr1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var _nr1, _or1, _pr1, _qr1, _rr1, _sr1, _tr1, _ur1;
var _X9 = 0;
var _vr1 = 0;
var _Cr1 = "";
var _xr1 = [];
if (!data) {
return data;
}
data = yyGetString(data);
data += "";
do {
_qr1 = _mr1.indexOf(data.charAt(_X9++));
_rr1 = _mr1.indexOf(data.charAt(_X9++));
_sr1 = _mr1.indexOf(data.charAt(_X9++));
_tr1 = _mr1.indexOf(data.charAt(_X9++));
_ur1 = (_qr1 << 18) | (_rr1 << 12) | (_sr1 << 6) | _tr1;
_nr1 = (_ur1 >> 16) & 0xff;
_or1 = (_ur1 >> 8) & 0xff;
_pr1 = _ur1 & 0xff;
if (_sr1 == 64) {
_xr1[_vr1++] = String.fromCharCode(_nr1);
} else if (_tr1 == 64) {
_xr1[_vr1++] = String.fromCharCode(_nr1, _or1);
} else {
_xr1[_vr1++] = String.fromCharCode(_nr1, _or1, _pr1);
}
} while (_X9 < data.length);
_Cr1 = _xr1.join("");
return _Cr1;
}
function _cd1(_5q1) {
return _Er1(yyGetString(_5q1));
}
var _Fr1 = 0;
var _Gr1 = "";
function _Hr1(_Ir1) {
var _Jr1 = _Fr1 ? "0123456789ABCDEF" : "0123456789abcdef";
var _Kr1 = "";
var x;
for (var _X9 = 0; _X9 < _Ir1.length; _X9++) {
x = _Ir1.charCodeAt(_X9);
_Kr1 += _Jr1.charAt((x >>> 4) & 0x0f) + _Jr1.charAt(x & 0x0f);
}
return _Kr1;
}
function _Lr1(_Ir1) {
var _Kr1 = "";
var _X9 = -1;
var x, y;
while (++_X9 < _Ir1.length) {
x = _Ir1.charCodeAt(_X9);
y = _X9 + 1 < _Ir1.length ? _Ir1.charCodeAt(_X9 + 1) : 0;
if (0xd800 <= x && x <= 0xdbff && 0xdc00 <= y && y <= 0xdfff) {
x = 0x10000 + ((x & 0x03ff) << 10) + (y & 0x03ff);
_X9++;
}
if (x <= 0x7f) _Kr1 += String.fromCharCode(x);
else if (x <= 0x7ff) _Kr1 += String.fromCharCode(0xc0 | ((x >>> 6) & 0x1f), 0x80 | (x & 0x3f));
else if (x <= 0xffff) _Kr1 += String.fromCharCode(0xe0 | ((x >>> 12) & 0x0f), 0x80 | ((x >>> 6) & 0x3f), 0x80 | (x & 0x3f));
else if (x <= 0x1fffff) _Kr1 += String.fromCharCode(0xf0 | ((x >>> 18) & 0x07), 0x80 | ((x >>> 12) & 0x3f), 0x80 | ((x >>> 6) & 0x3f), 0x80 | (x & 0x3f));
}
return _Kr1;
}
function _Mr1(_Ir1) {
var _Kr1 = Array(_Ir1.length >> 2);
for (var _X9 = 0; _X9 < _Kr1.length; _X9++) _Kr1[_X9] = 0;
for (var _X9 = 0; _X9 < _Ir1.length * 8; _X9 += 8) _Kr1[_X9 >> 5] |= (_Ir1.charCodeAt(_X9 / 8) & 0xff) << _X9 % 32;
return _Kr1;
}
function _Nr1(x, _Bc1) {
x[_Bc1 >> 5] |= 0x80 << _Bc1 % 32;
x[(((_Bc1 + 64) >>> 9) << 4) + 14] = _Bc1;
var _l41 = 1732584193;
var _e21 = -271733879;
var _Y9 = -1732584194;
var _Ce1 = 271733878;
for (var _X9 = 0; _X9 < x.length; _X9 += 16) {
var _Or1 = _l41;
var _Pr1 = _e21;
var _Qr1 = _Y9;
var _Rr1 = _Ce1;
_l41 = _Sr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 0], 7, -680876936);
_Ce1 = _Sr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 1], 12, -389564586);
_Y9 = _Sr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 2], 17, 606105819);
_e21 = _Sr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 3], 22, -1044525330);
_l41 = _Sr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 4], 7, -176418897);
_Ce1 = _Sr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 5], 12, 1200080426);
_Y9 = _Sr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 6], 17, -1473231341);
_e21 = _Sr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 7], 22, -45705983);
_l41 = _Sr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 8], 7, 1770035416);
_Ce1 = _Sr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 9], 12, -1958414417);
_Y9 = _Sr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 10], 17, -42063);
_e21 = _Sr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 11], 22, -1990404162);
_l41 = _Sr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 12], 7, 1804603682);
_Ce1 = _Sr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 13], 12, -40341101);
_Y9 = _Sr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 14], 17, -1502002290);
_e21 = _Sr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 15], 22, 1236535329);
_l41 = _Tr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 1], 5, -165796510);
_Ce1 = _Tr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 6], 9, -1069501632);
_Y9 = _Tr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 11], 14, 643717713);
_e21 = _Tr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 0], 20, -373897302);
_l41 = _Tr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 5], 5, -701558691);
_Ce1 = _Tr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 10], 9, 38016083);
_Y9 = _Tr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 15], 14, -660478335);
_e21 = _Tr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 4], 20, -405537848);
_l41 = _Tr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 9], 5, 568446438);
_Ce1 = _Tr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 14], 9, -1019803690);
_Y9 = _Tr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 3], 14, -187363961);
_e21 = _Tr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 8], 20, 1163531501);
_l41 = _Tr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 13], 5, -1444681467);
_Ce1 = _Tr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 2], 9, -51403784);
_Y9 = _Tr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 7], 14, 1735328473);
_e21 = _Tr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 12], 20, -1926607734);
_l41 = _Ur1(_l41, _e21, _Y9, _Ce1, x[_X9 + 5], 4, -378558);
_Ce1 = _Ur1(_Ce1, _l41, _e21, _Y9, x[_X9 + 8], 11, -2022574463);
_Y9 = _Ur1(_Y9, _Ce1, _l41, _e21, x[_X9 + 11], 16, 1839030562);
_e21 = _Ur1(_e21, _Y9, _Ce1, _l41, x[_X9 + 14], 23, -35309556);
_l41 = _Ur1(_l41, _e21, _Y9, _Ce1, x[_X9 + 1], 4, -1530992060);
_Ce1 = _Ur1(_Ce1, _l41, _e21, _Y9, x[_X9 + 4], 11, 1272893353);
_Y9 = _Ur1(_Y9, _Ce1, _l41, _e21, x[_X9 + 7], 16, -155497632);
_e21 = _Ur1(_e21, _Y9, _Ce1, _l41, x[_X9 + 10], 23, -1094730640);
_l41 = _Ur1(_l41, _e21, _Y9, _Ce1, x[_X9 + 13], 4, 681279174);
_Ce1 = _Ur1(_Ce1, _l41, _e21, _Y9, x[_X9 + 0], 11, -358537222);
_Y9 = _Ur1(_Y9, _Ce1, _l41, _e21, x[_X9 + 3], 16, -722521979);
_e21 = _Ur1(_e21, _Y9, _Ce1, _l41, x[_X9 + 6], 23, 76029189);
_l41 = _Ur1(_l41, _e21, _Y9, _Ce1, x[_X9 + 9], 4, -640364487);
_Ce1 = _Ur1(_Ce1, _l41, _e21, _Y9, x[_X9 + 12], 11, -421815835);
_Y9 = _Ur1(_Y9, _Ce1, _l41, _e21, x[_X9 + 15], 16, 530742520);
_e21 = _Ur1(_e21, _Y9, _Ce1, _l41, x[_X9 + 2], 23, -995338651);
_l41 = _Vr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 0], 6, -198630844);
_Ce1 = _Vr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 7], 10, 1126891415);
_Y9 = _Vr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 14], 15, -1416354905);
_e21 = _Vr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 5], 21, -57434055);
_l41 = _Vr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 12], 6, 1700485571);
_Ce1 = _Vr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 3], 10, -1894986606);
_Y9 = _Vr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 10], 15, -1051523);
_e21 = _Vr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 1], 21, -2054922799);
_l41 = _Vr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 8], 6, 1873313359);
_Ce1 = _Vr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 15], 10, -30611744);
_Y9 = _Vr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 6], 15, -1560198380);
_e21 = _Vr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 13], 21, 1309151649);
_l41 = _Vr1(_l41, _e21, _Y9, _Ce1, x[_X9 + 4], 6, -145523070);
_Ce1 = _Vr1(_Ce1, _l41, _e21, _Y9, x[_X9 + 11], 10, -1120210379);
_Y9 = _Vr1(_Y9, _Ce1, _l41, _e21, x[_X9 + 2], 15, 718787259);
_e21 = _Vr1(_e21, _Y9, _Ce1, _l41, x[_X9 + 9], 21, -343485551);
_l41 = _Wr1(_l41, _Or1);
_e21 = _Wr1(_e21, _Pr1);
_Y9 = _Wr1(_Y9, _Qr1);
_Ce1 = _Wr1(_Ce1, _Rr1);
}
return Array(_l41, _e21, _Y9, _Ce1);
}
function _Xr1(_Yr1, _l41, _e21, x, _Wo1, _d21) {
return _Wr1(_Zr1(_Wr1(_Wr1(_l41, _Yr1), _Wr1(x, _d21)), _Wo1), _e21);
}
function _Sr1(_l41, _e21, _Y9, _Ce1, x, _Wo1, _d21) {
return _Xr1((_e21 & _Y9) | (~_e21 & _Ce1), _l41, _e21, x, _Wo1, _d21);
}
function _Tr1(_l41, _e21, _Y9, _Ce1, x, _Wo1, _d21) {
return _Xr1((_e21 & _Ce1) | (_Y9 & ~_Ce1), _l41, _e21, x, _Wo1, _d21);
}
function _Ur1(_l41, _e21, _Y9, _Ce1, x, _Wo1, _d21) {
return _Xr1(_e21 ^ _Y9 ^ _Ce1, _l41, _e21, x, _Wo1, _d21);
}
function _Vr1(_l41, _e21, _Y9, _Ce1, x, _Wo1, _d21) {
return _Xr1(_Y9 ^ (_e21 | ~_Ce1), _l41, _e21, x, _Wo1, _d21);
}
function _Wr1(x, y) {
var __r1 = (x & 0xffff) + (y & 0xffff);
var _0s1 = (x >> 16) + (y >> 16) + (__r1 >> 16);
return (_0s1 << 16) | (__r1 & 0xffff);
}
function _Zr1(_Ie1, _1s1) {
return (_Ie1 << _1s1) | (_Ie1 >>> (32 - _1s1));
}
function _Er1(_Wo1) {
return _Hr1(_2s1(_Lr1(_Wo1)));
}
function _2s1(_Wo1) {
return _3s1(_4s1(_5s1(_Wo1), _Wo1.length * 8));
}
function _5s1(_Ir1) {
var _Kr1 = Array(_Ir1.length >> 2);
for (var _X9 = 0; _X9 < _Kr1.length; _X9++) _Kr1[_X9] = 0;
for (var _X9 = 0; _X9 < _Ir1.length * 8; _X9 += 8) _Kr1[_X9 >> 5] |= (_Ir1.charCodeAt(_X9 / 8) & 0xff) << (24 - (_X9 % 32));
return _Kr1;
}
function _3s1(_Ir1) {
var _Kr1 = "";
for (var _X9 = 0; _X9 < _Ir1.length * 32; _X9 += 8) _Kr1 += String.fromCharCode((_Ir1[_X9 >> 5] >>> (24 - (_X9 % 32))) & 0xff);
return _Kr1;
}
function _4s1(x, _Bc1) {
x[_Bc1 >> 5] |= 0x80 << (24 - (_Bc1 % 32));
x[(((_Bc1 + 64) >> 9) << 4) + 15] = _Bc1;
var _Z9 = Array(80);
var _l41 = 1732584193;
var _e21 = -271733879;
var _Y9 = -1732584194;
var _Ce1 = 271733878;
var e = -1009589776;
for (var _X9 = 0; _X9 < x.length; _X9 += 16) {
var _Or1 = _l41;
var _Pr1 = _e21;
var _Qr1 = _Y9;
var _Rr1 = _Ce1;
var _6s1 = e;
for (var _i21 = 0; _i21 < 80; _i21++) {
if (_i21 < 16) _Z9[_i21] = x[_X9 + _i21];
else _Z9[_i21] = _Zr1(_Z9[_i21 - 3] ^ _Z9[_i21 - 8] ^ _Z9[_i21 - 14] ^ _Z9[_i21 - 16], 1);
var _d21 = _Wr1(_Wr1(_Zr1(_l41, 5), _7s1(_i21, _e21, _Y9, _Ce1)), _Wr1(_Wr1(e, _Z9[_i21]), _8s1(_i21)));
e = _Ce1;
_Ce1 = _Y9;
_Y9 = _Zr1(_e21, 30);
_e21 = _l41;
_l41 = _d21;
}
_l41 = _Wr1(_l41, _Or1);
_e21 = _Wr1(_e21, _Pr1);
_Y9 = _Wr1(_Y9, _Qr1);
_Ce1 = _Wr1(_Ce1, _Rr1);
e = _Wr1(e, _6s1);
}
return Array(_l41, _e21, _Y9, _Ce1, e);
}
function _7s1(_d21, _e21, _Y9, _Ce1) {
if (_d21 < 20) return (_e21 & _Y9) | (~_e21 & _Ce1);
if (_d21 < 40) return _e21 ^ _Y9 ^ _Ce1;
if (_d21 < 60) return (_e21 & _Y9) | (_e21 & _Ce1) | (_Y9 & _Ce1);
return _e21 ^ _Y9 ^ _Ce1;
}
function _8s1(_d21) {
return _d21 < 20 ? 1518500249 : _d21 < 40 ? 1859775393 : _d21 < 60 ? -1894007588 : -899497514;
}
function _9s1(_R01, _as1) {
for (var index = 0; index < _as1.length; index++) {
var _bs1 = _as1[index];
if (_bs1._d2 == _R01) {
return index;
}
}
return -1;
}
function _zE(_cs1, _ds1) {
_cs1 = yyGetReal(_cs1);
if (_cs1 < 0) return;
if (_cs1 == 0) _I01._es1(_cs1);
if (yyGetInt32(_ds1) == 0) _I01._es1(_cs1);
else _I01._es1(1000000.0 / _cs1);
}
/*@constructor */ function _fs1() {
this._gs1 = 0;
this._hs1 = 0;
this._is1 = false;
this._js1 = 0;
this._ks1 = 0;
}
_fs1.prototype._es1 = function (_cs1) {
this._js1 = _cs1;
this._ls1();
};
_fs1.prototype._ls1 = function () {
this._gs1 = 0;
if (this._js1 > 0.0) {
this._hs1 = _ms1();
} else {
this._hs1 = 0;
}
this._ks1 = 0;
this._is1 = false;
};
_fs1.prototype._Va1 = function () {
var current;
if (this._js1 > 0.0) {
current = this._hs1 + 1000000.0 / this._js1;
} else current = _ms1();
this._ks1 = current - this._hs1;
if (!this._is1) this._gs1 += this._ks1;
this._hs1 = current;
};
_fs1.prototype._J01 = function () {
if (this._js1 > 0) return this._js1;
if (this._ks1 > 0) {
return 1000000.0 / this._ks1;
}
return 30.0;
};
var _I01 = new _fs1();
var _Sn1 = 1,
_Qn1 = 2,
_ns1 = 3,
_Rn1 = 4,
_On1 = 5,
_Pn1 = 6,
_os1 = 7,
_ps1 = 8,
_qs1 = 9,
_rs1 = 10,
_ss1 = 11;
var _ts1 = 0.0;
function _Rq() {
var _us1 = _vs1;
if (_us1 < 0) _us1 = _ws1();
return _us1;
}
function _Qq() {
var _xs1 = _ys1;
if (_xs1 < 0) _xs1 = _zs1();
return _xs1;
}
function _gV(_931, _a31) {
_ys1 = yyGetInt32(_931);
_vs1 = yyGetInt32(_a31);
_As1 = false;
_Bs1 = 0;
_Cs1 = 0;
_Ds1 = 1;
_Es1 = 1;
if (_Fs1) {
_Gs1();
}
}
function _Hs1(_Dm1, _Em1, _Is1, _Js1) {
_As1 = true;
_Bs1 = 0;
_Cs1 = 0;
_Ds1 = 1;
_Es1 = 1;
_ys1 = -1;
_vs1 = -1;
if (_Dm1 != undefined) _Ds1 = yyGetReal(_Dm1);
if (_Em1 != undefined) _Es1 = yyGetReal(_Em1);
if (_Is1 != undefined) _Bs1 = yyGetReal(_Is1);
if (_Js1 != undefined) _Cs1 = yyGetReal(_Js1);
if (_Fs1) {
_Gs1();
}
}
var _Ks1 = _Hs1;
var _Ls1 = 96;
var _Ms1 = 96;
function _tV() {
return _Ns1();
}
function _vV() {
return _Os1();
}
var _Ps1 = _Qs1;
function _Qs1(_081, _f41) {
_081 = yyGetInt32(_081);
_f41 = yyGetReal(_f41);
_Rs1();
var _Ss1 = [];
_Ss1[0] = 1;
_Ss1[1] = 0;
_Ss1[2] = 0;
_Ss1[3] = 1;
_Ss1[4] = 0;
_Ss1[5] = 0;
_R41._Ts1(_Ss1[0], _Ss1[1], _Ss1[2], _Ss1[3], _Ss1[4], _Ss1[5]);
if (!_R41.clearRect || _081 != 0 || _f41 != 0) {
_R41.globalAlpha = _f41;
_R41.fillStyle = _ie1(_N71(_081), _f41);
_R41.globalCompositeOperation = "copy";
_R41.fillRect(_Us1, _Vs1, _Ws1, _Xs1);
} else {
_R41.clearRect(_Us1, _Vs1, _Ws1, _Xs1);
}
_Ys1();
}
function _kI(_an1, _bn1, _cn1) {
return yyGetInt32(_an1) | (yyGetInt32(_bn1) << 8) | (yyGetInt32(_cn1) << 16);
}
function _Zs1(__s1, _0t1, _1t1) {
return _kI(__s1, _0t1, _1t1);
}
var _2t1 = _kI;
var _3t1 = _Zs1;
function _gI(_081) {
return (yyGetInt32(_081) >> 16) & 0xff;
}
var _hR = _gI;
function _eI(_081) {
return (yyGetInt32(_081) >> 8) & 0xff;
}
var _iR = _eI;
function _cI(_081) {
return yyGetInt32(_081) & 0xff;
}
var _jR = _cI;
function _4t1(_081) {
_081 = yyGetInt32(_081);
var _5t1 = 0.0;
var _6t1 = 0.0;
var _7t1 = 0.0;
var _C21 = 0.0;
var _E21 = 0.0;
var _8t1 = 0.0;
var _Ce1 = 0.0;
var _Z11 = 0.0;
_5t1 = (_081 & 0xff) / 255.0;
_6t1 = ((_081 >> 8) & 0xff) / 255.0;
_7t1 = ((_081 >> 16) & 0xff) / 255.0;
_Z11 = _c21(_c21(_5t1, _6t1), _7t1);
_8t1 = _a21(_a21(_5t1, _6t1), _7t1);
_Ce1 = _8t1 - _Z11;
if (_8t1 == 0) _E21 = 0.0;
else _E21 = (1.0 * _Ce1) / _8t1;
if (_E21 == 0) _C21 = 0.0;
else if (_5t1 == _8t1) _C21 = (60.0 * (_6t1 - _7t1)) / _Ce1;
else if (_6t1 == _8t1) _C21 = 120.0 + (60.0 * (_7t1 - _5t1)) / _Ce1;
else _C21 = 240.0 + (60.0 * (_5t1 - _6t1)) / _Ce1;
if (_C21 < 0) _C21 = _C21 + 360.0;
var _J41 = Math.min(255, Math.max(0, _8t1 * 255.0));
var _Wo1 = Math.min(255, Math.max(0, _E21 * 255.0));
var __9 = Math.min(255, Math.max(0, (_C21 * 255.0) / 360.0));
var _9t1 = { __9: __9, _Wo1: _Wo1, _J41: _J41 };
return _9t1;
}
function _at1(_081) {
var _bt1 = _4t1(_081);
return _bt1.__9;
}
var _ct1 = _at1;
function _dt1(_081) {
var _bt1 = _4t1(_081);
return _bt1._Wo1;
}
var _et1 = _dt1;
function _ft1(_081) {
var _bt1 = _4t1(_081);
return _bt1._J41;
}
var _gt1 = _ft1;
function _ht1(_Yq1, _Zq1, _it1) {
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
_it1 = yyGetReal(_it1);
var __q1 = (_Yq1 >> 16) & 0xff;
var _1r1 = (_Yq1 >> 8) & 0xff;
var _3r1 = _Yq1 & 0xff;
var _0r1 = (_Zq1 >> 16) & 0xff;
var _2r1 = (_Zq1 >> 8) & 0xff;
var _4r1 = _Zq1 & 0xff;
var _jt1 = 1.0 - _it1;
var _b21 = ~~(__q1 * _jt1 + _0r1 * _it1);
var _k41 = ~~(_1r1 * _jt1 + _2r1 * _it1);
var _e21 = ~~(_3r1 * _jt1 + _4r1 * _it1);
return ((_b21 << 16) & 0xff0000) | ((_k41 << 8) & 0xff00) | (_e21 & 0xff);
}
var _kt1 = _ht1;
function _lt1(_mt1, _nt1, _kn1) {
var _5t1 = 0.0;
var _6t1 = 0.0;
var _7t1 = 0.0;
var _C21 = 0.0;
var _E21 = 0.0;
var _8t1 = 0.0;
var _xp1 = 0.0;
var _ot1 = 0.0;
var _Yr1 = 0.0;
var _d21 = 0.0;
var _X9 = 0;
var _9t1;
_C21 = (yyGetReal(_mt1) * 360.0) / 255.0;
if (_C21 == 360.0) _C21 = 0.0;
_E21 = yyGetReal(_nt1) / 255.0;
_8t1 = yyGetReal(_kn1) / 255.0;
if (_E21 == 0) {
_5t1 = _8t1;
_6t1 = _8t1;
_7t1 = _8t1;
} else {
_C21 = _C21 / 60.0;
_X9 = Math.floor(_C21);
_xp1 = _C21 - _X9;
_ot1 = _8t1 * (1.0 - _E21);
_Yr1 = _8t1 * (1.0 - _E21 * _xp1);
_d21 = _8t1 * (1.0 - _E21 * (1.0 - _xp1));
switch (_X9) {
case 0:
{
_5t1 = _8t1;
_6t1 = _d21;
_7t1 = _ot1;
}
break;
case 1:
{
_5t1 = _Yr1;
_6t1 = _8t1;
_7t1 = _ot1;
}
break;
case 2:
{
_5t1 = _ot1;
_6t1 = _8t1;
_7t1 = _d21;
}
break;
case 3:
{
_5t1 = _ot1;
_6t1 = _Yr1;
_7t1 = _8t1;
}
break;
case 4:
{
_5t1 = _d21;
_6t1 = _ot1;
_7t1 = _8t1;
}
break;
default: {
_5t1 = _8t1;
_6t1 = _ot1;
_7t1 = _Yr1;
}
}
}
_9t1 = Math.floor(_5t1 * 255.0) | (Math.floor(_6t1 * 255.0) << 8) | (Math.floor(_7t1 * 255.0) << 16);
return _9t1;
}
var _pt1 = _lt1;
function _0L(_f41) {
_f41 = yyGetReal(_f41);
if (_f41 < 0) {
_f41 = 0;
}
if (_f41 > 1) {
_f41 = 1;
}
_K71 = _f41;
_qt1 = _ie1(_L71, _K71);
}
function _rt1() {
return _K71;
}
function _st1() {
return _pq1;
}
var _tt1 = _st1;
function _aL(_M71) {
_M71 = yyGetInt32(_M71);
_pq1 = _M71;
_L71 = _N71(_M71);
_ut1 = _vt1(_L71);
_qt1 = _ie1(_L71, _K71);
}
var _bL = _aL;
function _wt1(_t21, _u21, _R11, _S11, _Yq1, _Zq1, _xt1) {
_yt1(_t21, _u21, _R11, _S11, 10, 10, _Yq1, _Zq1, _xt1);
}
var _zt1 = _wt1;
var _yt1 = _At1;
var _Bt1 = _At1;
function _At1(_t21, _u21, _R11, _S11, _Ct1, _Dt1, _Yq1, _Zq1, _xt1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_Ct1 = yyGetReal(_Ct1);
_Dt1 = yyGetReal(_Dt1);
_Yq1 = yyGetReal(_Yq1);
_Zq1 = yyGetReal(_Zq1);
_xt1 = yyGetBool(_xt1);
if (_ts1 != 0.0) {
_t21 += _ts1;
_u21 += _ts1;
_R11 += _ts1;
_S11 += _ts1;
}
if (_S11 < _u21) {
var _Et1 = _u21;
_u21 = _S11;
_S11 = _Et1;
}
if (_R11 < _t21) {
var _Et1 = _t21;
_t21 = _R11;
_R11 = _Et1;
}
var width = _R11 - _t21;
var height = _S11 - _u21;
var _Ft1 = _Ct1;
var _Gt1 = _Dt1;
var _L31 = (_R41.globalAlpha = _K71);
_R41.beginPath();
_R41.moveTo(_t21 + _Ft1, _u21);
_R41.lineTo(_t21 + width - _Ft1, _u21);
_R41.quadraticCurveTo(_t21 + width, _u21, _t21 + width, _u21 + _Gt1);
_R41.lineTo(_t21 + width, _u21 + height - _Gt1);
_R41.quadraticCurveTo(_t21 + width, _u21 + height, _t21 + width - _Ft1, _u21 + height);
_R41.lineTo(_t21 + _Ft1, _u21 + height);
_R41.quadraticCurveTo(_t21, _u21 + height, _t21, _u21 + height - _Gt1);
_R41.lineTo(_t21, _u21 + _Gt1);
_R41.quadraticCurveTo(_t21, _u21, _t21 + _Ft1, _u21);
_R41.closePath();
if (_xt1) {
_R41.strokeStyle = _ie1(_N71(_Yq1), 1.0);
_R41.stroke();
} else {
_R41.fillStyle = _ie1(_N71(_Yq1), 1.0);
_R41.fill();
}
}
var _xU = _Ht1;
function _Ht1(_t21, _u21, _R11, _S11, _xt1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_xt1 = yyGetBool(_xt1);
_R41.globalAlpha = _K71;
if (_xt1) {
if (_ts1 != 0.0) {
_t21 += _ts1;
_u21 += _ts1;
_R11 += _ts1;
_S11 += _ts1;
}
_R41.lineWidth = 1;
_R41.strokeStyle = _qt1;
_R41._It1(_t21 + 0.5, _u21 + 0.5, _R11 - _t21, _S11 - _u21);
} else {
if (_ts1 != 0.0) {
_R11 += _ts1;
_S11 += _ts1;
}
_R41.fillStyle = _qt1;
_R41._Jt1(_t21, _u21, _R11 - _t21 + 1, _S11 - _u21 + 1);
}
}
var _4L = _Kt1;
var _6L = _Kt1;
function _Kt1(_t21, _u21, _R11, _S11, _Yq1, _Zq1, _Lt1, _Mt1, _xt1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
_Lt1 = yyGetInt32(_Lt1);
_Mt1 = yyGetInt32(_Mt1);
_xt1 = yyGetBool(_xt1);
var _L31 = _ie1(_N71(_Yq1), 1.0);
_R41.globalAlpha = _K71;
if (_xt1) {
if (_ts1 != 0.0) {
_t21 += _ts1;
_u21 += _ts1;
_R11 += _ts1;
_S11 += _ts1;
}
_R41.lineWidth = 1;
_R41.strokeStyle = _L31;
_R41._It1(_t21 + 0.5, _u21 + 0.5, _R11 - _t21, _S11 - _u21);
} else {
if (_ts1 != 0.0) {
_R11 += _ts1;
_S11 += _ts1;
}
_R41.fillStyle = _L31;
_R41._Jt1(_t21 + 0.5, _u21 + 0.5, _R11 - _t21, _S11 - _u21);
}
}
var _Nt1 = _Ot1;
function _Ot1(_t21, _u21, _R11, _S11, _Yq1, _Zq1, _Pt1, _xt1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
_Pt1 = yyGetBool(_Pt1);
_xt1 = yyGetBool(_xt1);
_R41.globalAlpha = _K71;
_R41.lineWidth = 1;
var _Qt1 = _ie1(_N71(_Yq1), 1.0);
var _Rt1 = _ie1(_N71(_Zq1), 1.0);
var _St1;
if (_Pt1) {
_St1 = _R41.createLinearGradient(_t21, _u21, _t21, _S11);
} else {
_St1 = _R41.createLinearGradient(_t21, _u21, _R11, _u21);
}
_St1.addColorStop(0, _Qt1);
_St1.addColorStop(1, _Rt1);
if (_xt1) {
if (_ts1 != 0.0) {
_t21 += _ts1;
_u21 += _ts1;
_R11 += _ts1;
_S11 += _ts1;
}
_R41.strokeStyle = _St1;
_R41._It1(_t21 + 0.5, _u21 + 0.5, _R11 - _t21, _S11 - _u21);
} else {
if (_ts1 != 0.0) {
_R11 += _ts1;
_S11 += _ts1;
}
_R41.fillStyle = _St1;
_R41._Jt1(_t21 + 0.5, _u21 + 0.5, _R11 - _t21, _S11 - _u21);
}
}
var _Tt1 = _Ut1;
function _Ut1(_a11, _b11) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
if (_ts1 != 0.0) {
_a11 += _ts1;
_b11 += _ts1;
}
_R41.globalAlpha = _K71;
_R41.fillStyle = _qt1;
_R41._Jt1(_a11, _b11, 1, 1);
}
function _zL(_t21, _u21, _R11, _S11, _Mb1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
if (_ts1 != 0.0) {
_t21 += _ts1;
_u21 += _ts1;
_R11 += _ts1;
_S11 += _ts1;
}
_R41.globalAlpha = _K71;
_R41.strokeStyle = _ut1;
_R41.lineWidth = yyGetReal(_Mb1);
_R41._Vt1();
_R41._Wt1(_t21 + 0.5, _u21 + 0.5);
_R41._Xt1(_R11 + 0.5, _S11 + 0.5);
_R41._Yt1();
_R41._Zt1();
_R41._Jt1(_R11, _S11, 1, 1);
}
function _jX(_t21, _u21, _R11, _S11) {
_zL(_t21, _u21, _R11, _S11, 1);
}
var __t1 = _0u1;
var _1u1 = _2u1;
function _0u1(_a11, _b11) {
return _2u1(yyGetReal(_a11), yyGetReal(_b11)) & 0x00ffffff;
}
function _2u1(_a11, _b11) {
var _3u1 = canvas.width / _4u1;
var _5u1 = canvas.height / _6u1;
var _L31 = _7u1(canvas, yyGetReal(_a11) * _3u1, yyGetReal(_b11) * _5u1);
return _L31;
}
var _OL = _8u1;
function _8u1(_t21, _u21, _R11, _S11, _9u1, _au1, _xt1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_9u1 = yyGetReal(_9u1);
_au1 = yyGetReal(_au1);
if (_ts1 != 0.0) {
_t21 += _ts1;
_u21 += _ts1;
_R11 += _ts1;
_S11 += _ts1;
_9u1 += _ts1;
_au1 += _ts1;
}
_R41.globalAlpha = _K71;
_R41.lineWidth = 1;
if (yyGetBool(_xt1)) {
_R41.strokeStyle = _qt1;
_R41._Vt1();
_R41._Wt1(_t21, _u21);
_R41._Xt1(_R11, _S11);
_R41._Xt1(_9u1, _au1);
_R41._Xt1(_t21, _u21);
_R41._Zt1();
_R41._Yt1();
} else {
_R41.strokeStyle = _qt1;
_R41.lineJoin = "bevel";
_R41.fillStyle = _qt1;
_R41._Vt1();
_R41._Wt1(_t21, _u21);
_R41._Xt1(_R11, _S11);
_R41._Xt1(_9u1, _au1);
_R41._Xt1(_t21, _u21);
_R41._bu1();
_R41._Zt1();
_R41._Yt1();
_R41.lineJoin = "miter";
}
}
var _cu1 = _du1;
var _eu1 = _du1;
function _du1(_t21, _u21, _R11, _S11, _9u1, _au1, _Yq1, _Zq1, _Lt1, _xt1) {
var _Qt1 = _vt1(_N71(_Yq1) | 0xff000000);
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
_Lt1 = yyGetInt32(_Lt1);
_Mt1 = yyGetInt32(_Mt1);
_xt1 = yyGetBool(_xt1);
if (_ts1 != 0.0) {
_t21 += _ts1;
_u21 += _ts1;
_R11 += _ts1;
_S11 += _ts1;
_9u1 += _ts1;
_au1 += _ts1;
}
_R41.globalAlpha = _K71;
_R41.lineWidth = 1;
if (_xt1) {
_R41.strokeStyle = _Qt1;
_R41._Vt1();
_R41._Wt1(_t21, _u21);
_R41._Xt1(_R11, _S11);
_R41._Xt1(_9u1, _au1);
_R41._Xt1(_t21, _u21);
_R41._Zt1();
_R41._Yt1();
} else {
_R41.strokeStyle = _Qt1;
_R41.lineJoin = "bevel";
_R41.fillStyle = _Qt1;
_R41._Vt1();
_R41._Wt1(_t21, _u21);
_R41._Xt1(_R11, _S11);
_R41._Xt1(_9u1, _au1);
_R41._Xt1(_t21, _u21);
_R41._bu1();
_R41._Zt1();
_R41._Yt1();
_R41.lineJoin = "miter";
}
}
var _fu1 = _gu1;
function _gu1(_t21, _u21, _R11, _S11, _it1, _hu1, _iu1, _ju1, _ku1, _lu1, _mu1, _nu1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_it1 = yyGetReal(_it1);
_hu1 = yyGetInt32(_hu1);
_iu1 = yyGetInt32(_iu1);
_ju1 = yyGetInt32(_ju1);
_ku1 = yyGetInt32(_ku1);
_lu1 = yyGetInt32(_lu1);
_mu1 = yyGetBool(_mu1);
_nu1 = yyGetBool(_nu1);
var _ou1;
var _pu1;
var _qu1;
var _ru1;
var _L31;
if (_mu1) {
_4L(_t21, _u21, _R11, _S11, _hu1, _hu1, _hu1, _hu1, false);
if (_nu1) {
_4L(_t21, _u21, _R11, _S11, _su1, _su1, _su1, _su1, true);
}
}
if (_it1 < 0) {
_it1 = 0;
}
if (_it1 > 100) {
_it1 = 100;
}
var _tu1 = _it1 / 100;
switch (_lu1) {
case 0:
_ou1 = _t21;
_qu1 = _u21;
_pu1 = _t21 + _tu1 * (_R11 - _t21);
_ru1 = _S11;
break;
case 1:
_ou1 = _R11 - _tu1 * (_R11 - _t21);
_qu1 = _u21;
_pu1 = _R11;
_ru1 = _S11;
break;
case 2:
_ou1 = _t21;
_qu1 = _u21;
_pu1 = _R11;
_ru1 = _u21 + _tu1 * (_S11 - _u21);
break;
case 3:
_ou1 = _t21;
_qu1 = _S11 - _tu1 * (_S11 - _u21);
_pu1 = _R11;
_ru1 = _S11;
break;
default:
_ou1 = _t21;
_qu1 = _u21;
_pu1 = _t21 + _tu1 * (_R11 - _t21);
_ru1 = _S11;
break;
}
if (_it1 > 50) {
_L31 = _Xq1(_ju1, _ku1, (_it1 - 50.0) / 50.0);
} else {
_L31 = _Xq1(_iu1, _ju1, _it1 / 50.0);
}
_4L(_ou1, _qu1, _pu1, _ru1, _L31, _L31, _L31, _L31, false);
if (_nu1) {
_4L(_ou1, _qu1, _pu1, _ru1, _su1, _su1, _su1, _su1, true);
}
}
var _uu1 = _vu1;
function _vu1(__11, _021, _121, _221, size) {
__11 = yyGetReal(__11);
_021 = yyGetReal(_021);
_121 = yyGetReal(_121);
_221 = yyGetReal(_221);
size = yyGetReal(size);
var _wu1 = Math.sqrt((_121 - __11) * (_121 - __11) + (_221 - _021) * (_221 - _021));
if (_wu1 != 0) {
if (size > _wu1) {
size = _wu1;
}
var _j21 = (size * (_121 - __11)) / _wu1;
var _l21 = (size * (_221 - _021)) / _wu1;
_jX(__11, _021, _121, _221);
_OL(_121 - _j21 - _l21 / 3.0, _221 - _l21 + _j21 / 3.0, _121, _221, _121 - _j21 + _l21 / 3.0, _221 - _l21 - _j21 / 3.0, false);
}
}
function _xu1(_t21, _u21, _R11, _S11, _xt1) {
_yu1(_t21, _u21, _R11, _S11, _pq1, _pq1, _xt1);
}
var _yu1 = _zu1;
var _Au1 = _zu1;
function _zu1(x, y, __11, _021, _Yq1, _Zq1, _Bu1) {
x = yyGetReal(x);
y = yyGetReal(y);
__11 = yyGetReal(__11);
_021 = yyGetReal(_021);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
_Bu1 = yyGetBool(_Bu1);
if (_ts1 != 0.0) {
x += _ts1;
y += _ts1;
__11 += _ts1;
_021 += _ts1;
}
var _Z9 = __11 - x;
var __9 = _021 - y;
var _Cu1 = 0.5522848;
var _Du1 = (_Z9 / 2) * _Cu1;
var _Eu1 = (__9 / 2) * _Cu1;
var _Fu1 = x + _Z9;
var _Gu1 = y + __9;
var _Hu1 = x + _Z9 / 2;
var _Iu1 = y + __9 / 2;
_R41.beginPath();
_R41.moveTo(x, _Iu1);
_R41.bezierCurveTo(x, _Iu1 - _Eu1, _Hu1 - _Du1, y, _Hu1, y);
_R41.bezierCurveTo(_Hu1 + _Du1, y, _Fu1, _Iu1 - _Eu1, _Fu1, _Iu1);
_R41.bezierCurveTo(_Fu1, _Iu1 + _Eu1, _Hu1 + _Du1, _Gu1, _Hu1, _Gu1);
_R41.bezierCurveTo(_Hu1 - _Du1, _Gu1, x, _Iu1 + _Eu1, x, _Iu1);
_R41.closePath();
var _Qt1 = _ie1(_N71(_Yq1), 1.0);
var _Rt1 = _ie1(_N71(_Zq1), 1.0);
if (_Z9 <= 0) _Z9 *= -1;
if (__9 <= 0) __9 *= -1;
var _St1 = _R41.createRadialGradient(_Hu1, _Iu1, 0, _Hu1, _Iu1, min(_Z9 / 2, __9 / 2));
_St1.addColorStop(0, _Qt1);
_St1.addColorStop(1, _Rt1);
_R41.globalAlpha = _K71;
if (_Bu1) {
_R41.lineWidth = 1;
_R41.strokeStyle = _St1;
_R41.stroke();
} else {
_R41.fillStyle = _St1;
_R41.fill();
}
}
var _Ju1 = _Ku1;
var _Lu1 = _Ku1;
function _Ku1(_a11, _b11, __s1, _Yq1, _Zq1, _xt1) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
__s1 = yyGetReal(__s1);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
_xt1 = yyGetBool(_xt1);
if (_ts1 != 0.0) {
_a11 += _ts1;
_b11 += _ts1;
}
_R41.globalAlpha = _K71;
var _Qt1 = _ie1(_N71(_Yq1), 1.0);
var _Rt1 = _ie1(_N71(_Zq1), 1.0);
var _St1 = _R41.createRadialGradient(_a11, _b11, 0, _a11, _b11, __s1);
_St1.addColorStop(0, _Qt1);
_St1.addColorStop(1, _Rt1);
_R41._Vt1();
if (_xt1) {
_R41.lineWidth = 1;
_R41.strokeStyle = _St1;
_R41._Mu1(_a11, _b11, __s1, 0, Math.PI * 2, true);
_R41._Zt1();
} else {
_R41.fillStyle = _St1;
_R41._Mu1(_a11, _b11, __s1, 0, Math.PI * 2, false);
_R41._bu1();
}
_R41._Yt1();
}
function _AL(_a11, _b11, __s1, _xt1) {
_Ju1(_a11, _b11, __s1, _pq1, _pq1, _xt1);
}
var _Nu1 = _Ou1;
var _Pu1 = _Ou1;
function _Ou1(_a11, _b11, _081) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
if (_ts1 != 0.0) {
_a11 += _ts1;
_b11 += _ts1;
}
var _Qt1 = _ie1(_N71(yyGetInt32(_081)), 1.0);
_R41.globalAlpha = _K71;
_R41.fillStyle = _Qt1;
_R41._Jt1(_a11, _b11, 1, 1);
}
var _HU = _Qu1;
var _iL = _Qu1;
function _Qu1(_t21, _u21, _R11, _S11, _Mb1, _Yq1, _Zq1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_Mb1 = yyGetReal(_Mb1);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
if (_ts1 != 0.0) {
_t21 += _ts1;
_u21 += _ts1;
_R11 += _ts1;
_S11 += _ts1;
}
_R41.globalAlpha = _K71;
var _Qt1 = _ie1(_N71(_Yq1), 1.0);
var _Rt1 = _ie1(_N71(_Zq1), 1.0);
var _St1 = _R41.createLinearGradient(_t21, _u21, _R11, _S11);
_St1.addColorStop(0, _Qt1);
_St1.addColorStop(1, _Rt1);
_R41.strokeStyle = _St1;
_R41._Vt1();
_R41._Wt1(_t21 + 0.5, _u21 + 0.5);
_R41._Xt1(_R11 + 0.5, _S11 + 0.5);
_R41.lineWidth = _Mb1;
_R41._Zt1();
_R41._Yt1();
}
function _Ru1(_t21, _u21, _R11, _S11, _Yq1, _Zq1) {
_HU(_t21, _u21, _R11, _S11, 1, _Yq1, _Zq1);
}
var _iX = _Ru1;
function _Su1(x, y, __11, _021, _Qt1, _Rt1, _Bu1) {
_yu1(x, y, __11, _021, _Qt1, _Rt1, _Bu1);
}
function _Tu1(_Uu1) {
switch (_Uu1) {
case 1:
_Vu1(_On1, _Qn1);
break;
case 2:
_Vu1(_On1, _Rn1);
break;
case 3:
_Vu1(_Sn1, _Rn1);
break;
default:
_Vu1(_On1, _Pn1);
break;
}
}
var _Vu1 = _Wu1;
function _Wu1(src, _051) {
_w61("Blend modes only available in WebGL mode.");
}
function _Xu1(_Yu1, _Zu1, _Of, _Pf, angle) {
if (Math.abs(angle) < 0.001) {
__u1.left = _Yu1;
__u1.top = _Zu1;
__u1.right = _Yu1 + _Of;
__u1.bottom = _Zu1 + _Pf;
} else {
var _0v1 = angle * (Math.PI / 180.0);
var _Wo1 = Math.abs(sin(_0v1));
var _Y9 = Math.abs(cos(_0v1));
var _dc1 = _Y9 * _Of + _Wo1 * _Pf;
var _1v1 = _Wo1 * _Of + _Y9 * _Pf;
__u1.left = _Yu1 + (_Of - _dc1) / 2;
__u1.right = _Yu1 + (_Of + _dc1) / 2;
__u1.top = _Zu1 + (_Pf - _1v1) / 2;
__u1.bottom = _Zu1 + (_Pf + _1v1) / 2;
}
}
function _2v1() {
_3v1 = true;
}
function _4v1() {
if (_3v1) {
var _5v1 = new _Fk1();
_5v1._6v1(_vm1[_0m1]);
var _K51 = [];
var _L51 = [];
_K51[0] = __u1.left;
_K51[1] = __u1.right;
_K51[2] = __u1.right;
_K51[3] = __u1.left;
_L51[0] = __u1.top;
_L51[1] = __u1.top;
_L51[2] = __u1.bottom;
_L51[3] = __u1.bottom;
_7v1.left = Number._8v1;
_7v1.top = Number._8v1;
_7v1.right = Number._9v1;
_7v1.bottom = Number._9v1;
for (var _X9 = 0; _X9 < 4; _X9++) {
var _av1 = _K51[_X9] * _5v1._Z11[0] + _L51[_X9] * _5v1._Z11[4] + _5v1._Z11[12];
var _bv1 = _K51[_X9] * _5v1._Z11[1] + _L51[_X9] * _5v1._Z11[5] + _5v1._Z11[13];
_7v1.left = _c21(_7v1.left, _av1);
_7v1.top = _c21(_7v1.top, _bv1);
_7v1.right = _a21(_7v1.right, _av1);
_7v1.bottom = _a21(_7v1.bottom, _bv1);
}
_3v1 = false;
}
}
function _cv1(_dv1, _ev1) {
if (_dv1.readyState != 4) return;
var _Ba1 = _cp1(_dv1);
if (_Ba1) {
_Ba1._fv1 = _dv1.status;
_Ba1._Ia1 = true;
_Ba1._gv1 = _Dq();
var _hv1 = _dv1.getAllResponseHeaders().split("\r\n");
for (var _W11 in _hv1) {
if (!_hv1.hasOwnProperty(_W11)) continue;
var _iv1 = _hv1[_W11].split(": ");
if (_iv1.length == 2) {
_lu(_Ba1._gv1, _iv1[0], _iv1[1]);
}
}
if (_ev1) {
_ev1(_dv1, _Ba1);
}
}
}
function _jv1(_kv1) {
var _lv1 = {};
_Ca1._Da1(_mv1, _kv1, _nv1, _lv1);
setTimeout(function () {
var _Ba1 = _cp1(_lv1);
if (_Ba1) {
_Ba1._fv1 = 404;
_Ba1._Ia1 = true;
_Ba1._Ha1 = _ov1;
_Ba1._pv1 = "";
}
}, 500);
return _mv1++;
}
function _qv1(_l81, _kv1, _rv1, _sv1, _ev1, _tv1) {
try {
var _uv1 = _vv1(_kv1, _rv1);
_Ca1._Da1(_mv1, _kv1, _nv1, _uv1._wv1);
if (_tv1 !== undefined) {
_uv1._wv1.responseType = _tv1;
}
if (_uv1._xv1) {
_yv1(_l81, _kv1, _rv1, _sv1, _uv1._wv1, _uv1._zv1, _ev1);
} else {
_Av1(_l81, _kv1, _rv1, _sv1, _uv1._wv1, _ev1);
}
} catch (e) {
return _jv1(_kv1);
}
return _mv1++;
}
function _vv1(_kv1, _rv1) {
var _uv1 = { _wv1: null, _zv1: true, _xv1: false };
if (_kv1.substring(0, 7) != "http://" && _kv1.substring(0, 8) != "https://") {
_uv1._zv1 = false;
} else {
var _Bv1 = "";
if (_kv1.substring(0, 7) == "http://") {
_Bv1 = _kv1.substring(7);
}
if (_kv1.substring(0, 8) == "https://") {
_Bv1 = _kv1.substring(8);
}
if (_Bv1.substring(0, document.domain.length) == document.domain) {
_uv1._zv1 = false;
}
}
if (_uv1._zv1 && window.XDomainRequest) {
_uv1._wv1 = new XDomainRequest();
_uv1._zv1 = true;
_uv1._xv1 = true;
} else {
if (window.XMLHttpRequest) {
_uv1._wv1 = new XMLHttpRequest();
_uv1._zv1 = false;
_uv1._xv1 = _Cv1 == _Dv1 && _Ev1._Fv1 <= 9.0;
} else if (window.ActiveXObject) {
if (new ActiveXObject("Microsoft.XMLHTTP")) {
_uv1._wv1 = new ActiveXObject("Microsoft.XMLHTTP");
} else {
_uv1._wv1 = new ActiveXObject("Msxml2.XMLHTTP");
}
}
}
return _uv1;
}
function _Av1(_l81, _kv1, _rv1, _sv1, _dv1, _ev1) {
try {
_dv1.open(_l81, _kv1, true);
if (_rv1 !== null) {
for (var _iv1 in _rv1) {
if (!_rv1.hasOwnProperty(_iv1)) continue;
try {
_dv1.setRequestHeader(_rv1[_iv1].key, _rv1[_iv1].value);
} catch (e) {
debug("Unable to set request header " + _rv1[_iv1].key + ":" + _rv1[_iv1].value + " " + e.message);
}
}
} else if (_l81 == "POST") {
_dv1.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
}
_dv1.onreadystatechange = function () {
_cv1(_dv1, _ev1);
};
_dv1.send(_sv1);
} catch (e) {
debug(e.message);
}
}
function _yv1(_l81, _kv1, _rv1, _sv1, _dv1, _Gv1, _ev1) {
_dv1.open(_l81, _kv1);
_dv1.ontimeout = function (_j01) {
_Hv1(_j01, _dv1);
};
_dv1.onerror = function (_j01) {
_Hv1(_j01, _dv1);
};
if (_Gv1) {
_dv1.onload = function (_j01) {
_Iv1(_j01, _dv1, 200);
};
} else {
_dv1.onload = function (_j01) {};
_dv1.onreadystatechange = function () {
if (_dv1.readyState == 4) {
_Iv1(null, _dv1, _dv1.status);
}
};
}
if (_rv1 !== null) {
for (var _iv1 in _rv1) {
if (!_rv1.hasOwnProperty(_iv1)) continue;
try {
_dv1.setRequestHeader(_rv1[_iv1].key, _rv1[_iv1].value);
} catch (e) {
debug("Unable to set request header " + _rv1[_iv1].key + ":" + _rv1[_iv1].value + " " + e.message);
}
}
}
_dv1._Jv1 = function () {};
_dv1.send(_sv1);
}
function _Iv1(_j01, _dv1, _Kv1) {
var _Ba1 = _cp1(_dv1);
if (_Ba1) {
_Ba1._Ia1 = true;
if (_Kv1 >= 200 && _Kv1 < 300) {
_Ba1._Ha1 = _Lv1;
_Ba1._fv1 = _Kv1;
} else {
_Ba1._Ha1 = _ov1;
_Ba1._fv1 = 404;
}
_Ba1._pv1 = _dv1.responseText;
_Ba1._gv1 = -1;
}
}
function _Hv1(_j01, _dv1) {
var _Ba1 = _cp1(_dv1);
if (_Ba1) {
_Ba1._Ia1 = true;
_Ba1._Ha1 = _ov1;
_Ba1._pv1 = "";
_Ba1._fv1 = 404;
_Ba1._gv1 = -1;
}
}
var _Mv1 = null;
function _tt(_Nv1) {
_Nv1 = yyGetString(_Nv1);
if (_Mv1) {
_Pt();
}
var _Ov1 = null;
if (_Tp1) {
_Ov1 = _Pv1(_Nv1, true);
}
if (_Ov1 == null) {
_Ov1 = _Pv1(_Nv1, false);
}
if (_Ov1 == null) {
_Ov1 = new _Qv1(_Nv1);
}
_Mv1 = _Ov1;
}
function _Pt() {
if (!_Mv1) return;
var _Qq1 = _Mv1._Rv1();
_Mv1 = null;
return _Qq1;
}
function _Vt(_Sv1, _Hc1, _Tv1) {
if (!_Mv1) return yyGetString(_Tv1);
return _Mv1._Uv1(yyGetString(_Sv1), yyGetString(_Hc1), yyGetString(_Tv1));
}
function _Ut(_Sv1, _Hc1, _Tv1) {
if (!_Mv1) return yyGetString(_Tv1);
return _Mv1._Vv1(yyGetString(_Sv1), yyGetString(_Hc1), yyGetString(_Tv1));
}
function _vt(_Sv1, _Hc1, _kn1) {
if (!_Mv1) return false;
_Mv1._Wv1(yyGetString(_Sv1), yyGetString(_Hc1), yyGetString(_kn1));
return true;
}
function _ut(_Sv1, _Hc1, _kn1) {
if (!_Mv1) return false;
_Mv1._Wv1(yyGetString(_Sv1), yyGetString(_Hc1), "" + yyGetReal(_kn1));
return true;
}
function _DA(_Lc1) {
var _8q1 = _8l(yyGetInt32(_Lc1));
if (_8q1 != null && _8q1.length > 0) {
for (var _Xv1 = 0; _Xv1 < _8q1.length; _Xv1++) {
var _Yv1 = _8q1[_Xv1];
if (!_Yv1._bl && _Yv1._cl) return true;
}
}
return false;
}
function _VG(_Lc1) {
var _Zv1 = _8l(yyGetInt32(_Lc1));
if (_Zv1 == null) return 0;
var _d31 = 0;
for (var _X9 = 0; _X9 < _Zv1.length; _X9++) {
if (_Zv1[_X9]._cl && !_Zv1[_X9]._bl) _d31++;
}
return _d31;
}
function __v1(_8r1, _a11, _b11, _Lc1) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
var _j21 = _8r1.x;
var _l21 = _8r1.y;
_8r1._E81(_a11, _b11);
var id = _0w1(null, yyGetInt32(_Lc1), false, _1w1, _a11, _b11, function (_2w1) {
if (_2w1._3w1(_8r1, true)) {
return _2w1.id;
} else {
return _1w1;
}
});
_8r1._E81(_j21, _l21);
return id;
}
function _lp(_8r1, _Ub1, _4w1) {
_4w1 = _4w1 !== undefined ? yyGetBool(_4w1) : true;
if (_Ub1 === undefined) {
_8r1._B11(_5w1, 0, _8r1, _8r1);
_8r1._B11(_6w1, 0, _8r1, _8r1);
_8r1._bl = true;
} else {
var _8q1 = _8l(yyGetInt32(_Ub1));
if (_8q1 != null && _8q1.length > 0) {
for (var _Xv1 = 0; _Xv1 < _8q1.length; _Xv1++) {
var _Yv1 = _8q1[_Xv1];
if (!_Yv1._bl && _Yv1._cl) {
if (_4w1 === undefined || _4w1) {
_Yv1._B11(_5w1, 0, _Yv1, _Yv1);
}
_Yv1._B11(_6w1, 0, _Yv1, _Yv1);
_Yv1._bl = true;
}
}
}
}
}
function _7w1(_xd1, _a11, _b11) {
var _xc1 = _D01._8w1._xc1;
var _4o1 = [];
for (var _X9 = 0; _X9 < _xc1.length; _X9++) {
var _Yv1 = _xc1[_X9];
if (_Yv1._9w1(yyGetReal(_a11), yyGetReal(_b11), true)) {
_4o1.push(_Yv1);
}
}
for (var _X9 = 0; _X9 < _4o1.length; _X9++) {
_lp(_4o1[_X9]);
}
}
function _aw1(_xd1, _bw1, _cw1) {
_cw1 = yyGetBool(_cw1);
if (_cw1) {
_xd1._B11(_5w1, 0, _xd1, _xd1);
_xd1._B11(_6w1, 0, _xd1, _xd1);
}
_xd1._dw1(yyGetInt32(_bw1), true, false);
_xd1._ew1(_xd1._fw1._gw1);
_xd1._hw1(_D01);
if (_cw1) {
_xd1._B11(_iw1, 0, _xd1, _xd1);
_xd1._B11(_jw1, 0, _xd1, _xd1);
}
}
function _kw1(_xd1, _bw1, _cw1) {
_bw1 = yyGetInt32(_bw1);
if (!_o01._lw1(_bw1)) {
debug("Error: Trying to change an instance to an nonexistent object type.");
return;
}
_aw1(_xd1, _bw1, yyGetBool(_cw1));
}
var _mw1 = _kw1;
function _nw1(_Lc1, _ow1) {
if (_Lc1._pw1 >= 0) {
_ow1 = yyGetInt32(_ow1);
var _qw1 = _o01._s11(_Lc1._pw1);
if (_qw1) {
if (_qw1._rw1 == _ow1) {
return true;
} else {
return _nw1(_qw1, _ow1);
}
}
}
return false;
}
function _4B(_sw1) {
{
switch (yyGetInt32(_sw1)) {
case 0:
if (_ub1._D91[0] || _ub1._D91[1] || _ub1._D91[2]) return 0;
else return 1;
case 1:
if (_ub1._D91[0]) return 1;
else return 0;
case 2:
if (_ub1._D91[1]) return 1;
else return 0;
case 3:
if (_ub1._D91[2]) return 1;
else return 0;
case -1:
if (_ub1._D91[0] || _ub1._D91[1] || _ub1._D91[2]) return 1;
else return 0;
}
}
return 0;
}
function _tw1(_sw1) {
{
switch (yyGetInt32(_sw1)) {
case 0:
if (_ub1._y91[0] || _ub1._y91[1] || _ub1._y91[2]) return 0;
else return 1;
case 1:
if (_ub1._y91[0]) return 1;
else return 0;
case 2:
if (_ub1._y91[1]) return 1;
else return 0;
case 3:
if (_ub1._y91[2]) return 1;
else return 0;
case -1:
if (_ub1._y91[0] || _ub1._y91[1] || _ub1._y91[2]) return 1;
else return 0;
}
}
return 0;
}
function _HS(_sw1) {
{
switch (yyGetInt32(_sw1)) {
case 0:
if (_ub1._C91[0] || _ub1._C91[1] || _ub1._C91[2]) return 0;
else return 1;
case 1:
if (_ub1._C91[0]) return 1;
else return 0;
case 2:
if (_ub1._C91[1]) return 1;
else return 0;
case 3:
if (_ub1._C91[2]) return 1;
else return 0;
case -1:
if (_ub1._C91[0] || _ub1._C91[1] || _ub1._C91[2]) return 1;
else return 0;
}
return 0;
}
}
function _uw1(_vw1) {
_vw1 = yyGetInt32(_vw1);
if (_vw1 == -1) {
_uw1(1);
_uw1(2);
_uw1(3);
} else if (_vw1 >= 1 && _vw1 <= 3) {
var _X9 = _vw1 - 1;
_ub1._D91[_X9] = 0;
_ub1._y91[_X9] = 0;
_ub1._C91[_X9] = 0;
_xb1 &= ~(1 << _X9);
}
}
function _QI(_Hc1) {
return _ub1._ww1[yyGetInt32(_Hc1)];
}
function _PS(_Hc1) {
_Hc1 = yyGetInt32(_Hc1);
_ub1._xw1[_Hc1] = false;
_ub1._ww1[_Hc1] = false;
_ub1._yw1[_Hc1] = false;
}
function _KS(_Hc1) {
return _ub1._yw1[yyGetInt32(_Hc1)];
}
function _bW(_M01) {}
var _zw1 = 0,
_Aw1 = 1,
_Bw1 = 2,
_Cw1 = 3,
_Dw1 = 4,
_Ew1 = 5;
var _Fw1 = 0,
_Gw1 = 1,
_Hw1 = 2,
_Iw1 = 3,
_Jw1 = 4,
_Kw1 = 5,
_Lw1 = 6,
_Mw1 = 7;
var _Nw1 = 31;
var _Ow1 = 29;
var _Pw1 = 28;
var _Qw1 = 30;
var _Rw1 = 1 << _Nw1;
var _Sw1 = 1 << _Ow1;
var _Tw1 = 1 << _Pw1;
var _Uw1 = 1 << _Qw1;
var _Vw1 = _Pw1;
var _Ww1 = 0x7 << _Vw1;
var _Xw1 = 0x7;
var _Yw1 = 0;
var _Zw1 = 0x7ffff << _Yw1;
var __w1 = 0x7ffff;
/*@constructor */ function _0x1() {
this._4a = true;
this._1x1 = false;
this.index = 0;
this._2x1 = false;
this._3x1 = false;
this._4x1 = 1.0;
this._5x1 = 1.0;
this._6x1 = false;
this._7x1 = 0;
this.alpha = 1.0;
this._G01 = _8x1;
this._s2 = 0;
this._SG = 0;
this._oC = 0;
}
/*@constructor */ function _9x1() {
this._k91 = 0;
this._Xf = 0;
this._ax1 = 0;
this._bx1 = 0;
this._cx1 = 0;
this._dx1 = 0;
this._ex1 = true;
this._fx1 = 0;
this._gx1 = "";
this._hx1 = -1;
this._ix1 = -1;
this._jx1 = -1;
this._kx1 = null;
this._lx1 = new _jc1();
} /*@constructor */ /*@constructor */
/*@constructor */ function _mx1() {
this._nx1 = -1;
this._ox1 = null;
this._px1 = _Hw1;
this._qx1 = false;
this._rx1 = "";
}
/*@constructor */ function _sx1() {
this._tx1 = null;
this._px1 = _Gw1;
this._qx1 = false;
this._rx1 = "";
this._k91 = 0;
}
/*@constructor */ function _ux1() {
this._px1 = _Kw1;
this._vx1 = -1;
this._wx1 = 0;
this._xx1 = 0;
this._yx1 = 0;
this._zx1 = 0;
this._Ax1 = 0;
this._Bx1 = [];
this._qx1 = false;
this._rx1 = "";
this._k91 = 0;
this._Cx1 = ~_Rw1;
} /*@constructor */
/*@constructor */ function _Dx1() {
this._Ex1 = -1;
this._Fx1 = _8x1;
this._Gx1 = 0;
this._Hx1 = 1;
this._Ix1 = 0;
this._Jx1 = 1;
this._Kx1 = 1;
this._Lx1 = 0;
this._Mx1 = 0xffffffff;
this._Nx1 = 1;
this._wx1 = 0;
this._xx1 = 0;
this._px1 = _Jw1;
this._rx1 = "";
this._k91 = 0;
this._qx1 = false;
}
/*@constructor */ function _Ox1() {
this._px1 = _Lw1;
this._Px1 = -1;
this._rx1 = "";
this._k91 = 0;
this._qx1 = false;
}
/*@constructor */ function _Qx1() {
this._ex1 = true;
this._Dp1 = -1;
this._wx1 = 0;
this._xx1 = 0;
this._Rx1 = 0;
this._Sx1 = 0;
this._Jx1 = 1.0;
this._Kx1 = 1.0;
this._Lx1 = 0.0;
this._Mx1 = 0xffffffff;
this._Nx1 = 1.0;
this._Tx1 = 0;
this._Ux1 = 0;
this._px1 = _Mw1;
this._rx1 = "";
this._k91 = 0;
this._qx1 = false;
}
var _Vx1 = 32;
/*@constructor */ function _Wx1() {
this._Xx1 = 0;
this._Yx1 = 0;
this._Zx1 = 0;
this.__x1 = false;
this._0y1 = 0xffffffff;
this._1y1 = -1;
this._2y1 = false;
this._3y1 = 0;
}
_Wx1.prototype._4y1 = function () {
return this._Xx1;
};
_Wx1.prototype._5y1 = function (_Ub1) {
this._6y1 = _Ub1;
};
_Wx1.prototype._7y1 = function () {
return this._2y1;
};
_Wx1.prototype._8y1 = function () {
return this._3y1;
};
_Wx1.prototype._9y1 = function () {
return this._0y1;
};
_Wx1.prototype._ay1 = function () {
if (!this.__x1) {
this.__x1 = true;
}
};
_Wx1.prototype._by1 = function (_cy1, _dy1) {
if (_dy1._tx1 != null) {
delete _dy1._tx1;
_dy1._tx1 = null;
}
_cy1._lx1._ey1(_dy1);
};
_Wx1.prototype._fy1 = function (_cy1, _dy1, _gy1) {
if (_dy1._ox1) {
_dy1._ox1._hy1(false);
}
if (_gy1) {
if (_dy1._nx1 >= 0) {
var _Xv1 = _iy1._s11(_dy1._nx1);
if (_Xv1 != null) {
_lp(_Xv1);
}
}
}
_cy1._lx1._ey1(_dy1);
};
_Wx1.prototype._jy1 = function (_cy1, _dy1) {
_cy1._lx1._ey1(_dy1);
};
_Wx1.prototype._ky1 = function (_cy1, _dy1) {
_cy1._lx1._ey1(_dy1);
};
_Wx1.prototype._ly1 = function (_cy1, _dy1) {
_cy1._lx1._ey1(_dy1);
};
_Wx1.prototype._my1 = function (_cy1, _dy1) {
_cy1._lx1._ey1(_dy1);
};
_Wx1.prototype._ny1 = function (_cy1, _dy1) {
_cy1._lx1._ey1(_dy1);
};
_Wx1.prototype._oy1 = function (_py1, _qy1, _cy1, _ry1, _sy1) {
if (_py1 == null) return;
var _p81 = _qy1;
var _ty1 = _cy1;
if (_p81 === null) return;
this._uy1(_p81);
switch (_p81._px1) {
case _Gw1:
this._by1(_ty1, _p81);
break;
case _Hw1:
this._fy1(_ty1, _p81, _sy1);
break;
case _Iw1:
this._jy1(_ty1, _p81);
break;
case _Jw1:
this._ky1(_ty1, _p81);
break;
case _Kw1:
this._ly1(_ty1, _p81);
break;
case _Lw1:
this._my1(_ty1, _p81);
break;
case _Mw1:
this._ny1(_ty1, _p81);
break;
}
return;
};
_Wx1.prototype._vy1 = function (_py1, _wy1, _ry1, _sy1) {
if (_py1 == null) return;
var _p81 = null;
var _ty1 = null;
for (var _X9 = 0; _X9 < _py1._xy1.length; _X9++) {
_ty1 = _py1._xy1._s11(_X9);
_p81 = this._yy1(_ty1, _wy1);
if (_p81 != null) break;
}
if (_p81 === null) return;
this._uy1(_p81);
switch (_p81._px1) {
case _Gw1:
this._by1(_ty1, _p81);
break;
case _Hw1:
this._fy1(_ty1, _p81, _sy1);
break;
case _Iw1:
this._jy1(_ty1, _p81);
break;
case _Jw1:
this._ky1(_ty1, _p81);
break;
case _Kw1:
this._ly1(_ty1, _p81);
break;
case _Lw1:
this._my1(_ty1, _p81);
break;
case _Mw1:
this._ny1(_ty1, _p81);
break;
}
return;
};
_Wx1.prototype._zy1 = function () {
if (this._1y1 == -1) return _D01;
var _Ay1 = _By1._s11(this._1y1);
if (_Ay1 == null) return _D01;
return _Ay1;
};
_Wx1.prototype._Cy1 = function (_py1, _cy1, _dy1) {
_dy1._qx1 = true;
};
_Wx1.prototype._Dy1 = function (_py1, _cy1, _dy1) {
var _Xv1 = _iy1._s11(_dy1._nx1);
if (_Xv1 === null) return;
_dy1._ox1 = _Xv1;
_Xv1._Ey1 = _cy1._k91;
_Xv1._Fy1 = true;
_Xv1._Xf = _cy1._Xf;
_dy1._qx1 = true;
};
_Wx1.prototype._Gy1 = function (_py1, _cy1, _dy1) {
_dy1._qx1 = true;
};
_Wx1.prototype._Hy1 = function (_py1, _cy1, _dy1) {
_dy1._qx1 = true;
};
_Wx1.prototype._Iy1 = function (_py1, _cy1, _dy1) {
_dy1._qx1 = true;
};
_Wx1.prototype._Jy1 = function (_py1, _cy1, _dy1) {
_dy1._qx1 = true;
};
_Wx1.prototype._Ky1 = function (_py1, _cy1, _dy1) {
_dy1._qx1 = true;
};
_Wx1.prototype._Ly1 = function (_py1, _cy1, _dy1) {
if (_py1 === null) return;
if (_cy1 === null) return;
if (_dy1 === null) return;
if (_dy1._qx1) return;
switch (_dy1._px1) {
case _Gw1:
this._Cy1(_py1, _cy1, _dy1);
break;
case _Hw1:
this._Dy1(_py1, _cy1, _dy1);
break;
case _Iw1:
this._Gy1(_py1, _cy1, _dy1);
break;
case _Jw1:
this._Hy1(_py1, _cy1, _dy1);
break;
case _Kw1:
this._Iy1(_py1, _cy1, _dy1);
break;
case _Lw1:
this._Jy1(_py1, _cy1, _dy1);
break;
case _Mw1:
this._Ky1(_py1, _cy1, _dy1);
break;
}
};
_Wx1.prototype._5y1 = function (_Ub1) {
this._Xx1 = _Ub1;
};
_Wx1.prototype._My1 = function (_py1) {
if (_py1._xy1 === null || _py1._xy1.length === 0) return;
for (var _X9 = 0; _X9 < _py1._xy1.length; _X9++) {
var _Ny1 = _py1._xy1._s11(_X9);
_Ny1._kx1 = _ms1();
for (var _i21 = 0; _i21 < _Ny1._lx1.length; _i21++) {
var _Oy1 = _Ny1._lx1._s11(_i21);
if (_Oy1 == null) continue;
this._Ly1(_py1, _Ny1, _Oy1);
}
}
};
_Wx1.prototype._Py1 = function (_py1, _cy1, _dy1, _Qy1) {
if (_py1 == null || _cy1 == null || _dy1 === null) return -1;
_dy1._k91 = this._Ry1();
_cy1._lx1._Da1(_dy1);
if (_Qy1) {
this._Ly1(_py1, _cy1, _dy1);
}
return _dy1._k91;
};
_Wx1.prototype._Sy1 = function (_py1, _ed1, _dy1, _Qy1, _Ty1) {
if (_py1 == null || _dy1 === null) return -1;
var _ty1 = this._Uy1(_py1, _ed1, _Ty1);
if (_ty1 == null && _Ty1) {
_ty1 = this._Vy1(_py1, _ed1);
}
if (_ty1 == null) {
return -1;
}
return this._Py1(_py1, _ty1, _dy1, _Qy1);
};
_Wx1.prototype._Wy1 = function (_py1, _R01) {
if (!_R01) return null;
_R01 = _R01.toLowerCase();
for (var _X9 = 0; _X9 < _py1._xy1.length; _X9++) {
var _ty1 = _py1._xy1._s11(_X9);
if (_ty1 === undefined || _ty1 === null) continue;
if (!_ty1._gx1) continue;
if (_ty1._gx1.toLowerCase() === _R01) {
return _ty1;
}
}
return null;
};
_Wx1.prototype._uy1 = function (_dy1) {
if (_dy1 == null) return;
switch (_dy1._px1) {
case _Gw1:
{
this._Xy1(_dy1);
}
break;
case _Hw1:
{
this._Yy1(_dy1);
}
break;
case _Iw1:
{
this._Zy1(_dy1);
}
break;
case _Jw1:
{
this.__y1(_dy1);
}
break;
case _Kw1:
{
this._0z1(_dy1);
}
break;
case _Lw1:
{
this._1z1(_dy1);
}
break;
case _Mw1:
{
this._2z1(_dy1);
}
break;
}
_dy1._qx1 = false;
};
_Wx1.prototype._Xy1 = function (_3z1) {};
_Wx1.prototype._Yy1 = function (_4z1) {
var _Xv1 = _iy1._s11(_4z1._nx1);
if (_Xv1 != null) {
_Xv1._hy1(false);
}
_4z1._ox1 = null;
};
_Wx1.prototype._Zy1 = function (_5z1) {};
_Wx1.prototype.__y1 = function (_6z1) {};
_Wx1.prototype._0z1 = function (_5z1) {};
_Wx1.prototype._1z1 = function (_7z1) {};
_Wx1.prototype._2z1 = function (_8z1) {};
_Wx1.prototype._Vy1 = function (_py1, _ed1) {
var _9z1 = new _9x1();
_9z1._k91 = _az1._bz1();
_9z1._Xf = _ed1;
_9z1._fx1 = true;
_D01._xy1._Da1(_9z1);
return _9z1;
};
_Wx1.prototype._cz1 = function (_py1, _xd1) {
if (_py1 == null || _xd1 === null) return;
if (_xd1._dz1() === false) {
if (_xd1._Ey1 == -1) {
var _cy1 = this._Uy1(_py1, _xd1._Xf, true);
if (_cy1 === null) {
_cy1 = this._Vy1(_py1, _xd1._Xf);
}
this._ez1(_py1, _cy1, _xd1);
} else {
var _ty1 = this._fz1(_py1, _xd1._Ey1);
if (_ty1 === null) return;
this._ez1(_py1, _ty1, _xd1);
}
}
};
_Wx1.prototype._ez1 = function (_py1, _cy1, _xd1) {
if (_py1 == null || _cy1 == null || _xd1 === null) return;
if (_xd1._dz1() === false) {
var _gz1 = new _mx1();
_gz1._nx1 = _xd1.id;
_gz1._ox1 = _xd1;
_xd1._hz1(_cy1._k91);
_xd1._hy1(true);
_gz1._qx1 = true;
_az1._Py1(_py1, _cy1, _gz1, false);
}
};
_Wx1.prototype._iz1 = function (_py1, _xd1) {
if (_xd1._dz1() === false) return;
var _ty1 = this._fz1(_py1, _xd1._Ey1);
if (_ty1 === null) {
_xd1._hy1(false);
return;
}
this._jz1(_py1, _ty1, _xd1);
};
_Wx1.prototype._kz1 = function (_py1, _xd1) {
if (_py1 == null || _xd1 === null) return;
if (_xd1._dz1() === true) {
for (var _i21 = 0; _i21 < _py1._xy1.length; _i21++) {
var _ty1 = _py1._xy1._s11(_i21);
for (var _X9 = 0; _X9 < _ty1._lx1.length; _X9++) {
var _Oy1 = _ty1._lx1._s11(_X9);
if (_Oy1 != null) {
if (_Oy1._px1 == _Hw1) {
if (_Oy1._ox1 == _xd1) {
this._oy1(_py1, _Oy1, _ty1, true, false);
_xd1._hy1(false);
_xd1._Ey1 = -1;
return;
}
}
}
}
}
}
};
_Wx1.prototype._jz1 = function (_py1, _cy1, _xd1) {
if (_py1 == null || _cy1 == null || _xd1 === null) return;
if (_xd1._dz1() === true) {
for (var _X9 = 0; _X9 < _cy1._lx1.length; _X9++) {
var _Oy1 = _cy1._lx1._s11(_X9);
if (_Oy1 != null) {
if (_Oy1._px1 == _Hw1) {
if (_Oy1._ox1 == _xd1) {
this._oy1(_py1, _Oy1, _cy1, true, false);
_xd1._hy1(false);
_xd1._Ey1 = -1;
}
}
}
}
}
};
_Wx1.prototype._lz1 = function (_py1, _mz1) {
if (_py1 == null) return;
for (var _i21 = 0; _i21 < _py1._xy1.length; _i21++) {
var _ty1 = _py1._xy1._s11(_i21);
for (var _X9 = 0; _X9 < _ty1._lx1.length; _X9++) {
var _Oy1 = _ty1._lx1._s11(_X9);
if (_Oy1 != null) {
if (_Oy1._px1 == _Hw1) {
if (_Oy1._nx1 == _mz1) {
this._oy1(_py1, _Oy1, _ty1, true, false);
return;
}
}
}
}
}
};
_Wx1.prototype._nz1 = function (_py1, _ed1, _R01) {
if (_py1 == null) return null;
var _9z1 = new _9x1();
_9z1._k91 = this._bz1();
_9z1._Xf = _ed1;
_9z1._gx1 = _R01;
_9z1._fx1 = false;
_py1._xy1._Da1(_9z1);
return _9z1;
};
_Wx1.prototype._oz1 = function (_py1, _pz1, _sy1) {
var _ty1 = this._fz1(_py1, _pz1);
if (_ty1 != null) {
for (var _X9 = 0; _X9 < _ty1._lx1.length; _X9++) {
var _Oy1 = _ty1._lx1._s11(_X9);
if (_Oy1 != null) {
this._oy1(_py1, _Oy1, _ty1, false, true);
}
}
_py1._xy1._qz1(_ty1);
}
};
_Wx1.prototype._rz1 = function (_py1, _cy1, _sz1, _tz1) {
if (_py1 == null) return;
if (_cy1 == null) return;
if (_sz1 == _cy1._Xf) return;
var _uz1 = _cy1._Xf;
_cy1._Xf = _sz1;
_py1._xy1._qz1(_cy1);
_py1._xy1._Da1(_cy1);
if (_cy1._fx1 && _tz1) {
var _vz1 = [];
var _wz1 = 0;
var _xz1 = _py1._xy1._yz1(_cy1);
if (_xz1 != -1) {
var _zz1 = _xz1 - 1;
while (_zz1 >= 0) {
var _Az1 = _py1._xy1._s11(_zz1);
if (_Az1 == null || _Az1._Xf == _cy1._Xf) {
if (_Az1 != null) {
if (_Az1._fx1) {
_vz1[_wz1++] = _Az1;
}
}
_zz1--;
} else {
break;
}
}
_zz1 = _xz1 + 1;
while (_zz1 < _py1._xy1.length) {
var _Az1 = _py1._xy1._s11(_zz1);
if (_Az1 == null || _Az1._Xf == _cy1._Xf) {
if (_Az1 != null) {
if (_Az1._fx1) {
_vz1[_wz1++] = _Az1;
}
}
_zz1++;
} else {
break;
}
}
for (var _X9 = 0; _X9 < _wz1; _X9++) {
var _Bz1 = _vz1[_X9];
for (var _i21 = 0; _i21 < _Bz1._lx1.length; _i21++) {
var _Oy1 = _Bz1._lx1._s11(_i21);
if (_Oy1 == null) continue;
if (_Oy1._px1 == _Hw1) {
if (_Oy1._ox1 != null) {
_Oy1._ox1._Ey1 = _cy1._k91;
}
}
_cy1._lx1._Da1(_Oy1);
}
_Bz1._lx1._Ua1();
_az1._oz1(_py1, _Bz1._k91, false);
}
}
}
};
_Wx1.prototype._Uy1 = function (_py1, _ed1, _Cz1) {
for (var _X9 = 0; _X9 < _py1._xy1.length; _X9++) {
var _ty1 = _py1._xy1._s11(_X9);
if (_ty1._Xf === _ed1 && (!_Cz1 || _ty1._fx1)) return _ty1;
}
return null;
};
_Wx1.prototype._fz1 = function (_py1, _Ub1) {
for (var _X9 = 0; _X9 < _py1._xy1.length; _X9++) {
var _ty1 = _py1._xy1._s11(_X9);
if (_ty1._k91 === _Ub1) return _ty1;
}
return null;
};
_Wx1.prototype._bz1 = function () {
if (this._Yx1 < this._Xx1) this._Yx1 = this._Xx1;
this._Yx1++;
return this._Yx1;
};
_Wx1.prototype._Ry1 = function () {
return this._Zx1++;
};
_Wx1.prototype._Dz1 = function (_py1, _Ez1) {
if (_py1 == null) return null;
for (var _X9 = 0; _X9 < _py1._xy1.length; _X9++) {
var _ty1 = _py1._xy1._s11(_X9);
var _p81 = _az1._yy1(_ty1, _Ez1);
if (_p81 != null) return _p81;
}
return null;
};
_Wx1.prototype._Fz1 = function (_py1, _Ez1) {
if (_py1 == null) return null;
for (var _X9 = 0; _X9 < _py1._xy1.length; _X9++) {
var _ty1 = _py1._xy1._s11(_X9);
var _p81 = _az1._yy1(_ty1, _Ez1);
if (_p81 != null) {
var _Gz1 = new _Hz1();
_Gz1._p81 = _p81;
_Gz1._ty1 = _ty1;
return _Gz1;
}
}
return null;
};
_Wx1.prototype._yy1 = function (_cy1, _Iz1) {
if (_cy1 == null) return null;
for (var _X9 = 0; _X9 < _cy1._lx1.length; _X9++) {
var _Oy1 = _cy1._lx1._s11(_X9);
if (_Oy1 == null) continue;
if (_Oy1._k91 === _Iz1) {
return _Oy1;
}
}
return null;
};
_Wx1.prototype._Jz1 = function (_cy1, _Kz1) {
if (_cy1 == null || _Kz1 == null) return null;
_Kz1 = _Kz1.toLowerCase();
for (var _X9 = 0; _X9 < _cy1._lx1.length; _X9++) {
var _Oy1 = _cy1._lx1._s11(_X9);
if (_Oy1 == null || _Oy1 === undefined) continue;
if (!_Oy1._rx1) continue;
if (_Oy1._rx1.toLowerCase() === _Kz1) {
return _Oy1;
}
}
return null;
};
_Wx1.prototype._Lz1 = function (_py1, _mz1) {
if (_py1 == null) return null;
for (var _X9 = 0; _X9 < _py1._xy1.length; _X9++) {
var _ty1 = _py1._xy1._s11(_X9);
if (_ty1 != null) {
for (var _i21 = 0; _i21 < _ty1._lx1.length; _i21++) {
var _Oy1 = _ty1._lx1._s11(_i21);
if (_Oy1 != null) {
if (_Oy1._px1 == _Hw1) {
if (_Oy1._nx1 == _mz1) {
var _Gz1 = new _Hz1();
_Gz1._p81 = _Oy1;
_Gz1._ty1 = _ty1;
return _Gz1;
}
}
}
}
}
}
return null;
};
_Wx1.prototype._Mz1 = function () {
if (_D01._xy1 === null || _D01._xy1.length === 0) return;
var _Nz1 = _D01._xy1.length;
var time = _ms1();
for (var _X9 = 0; _X9 < _Nz1; _X9++) {
var _ty1 = _D01._xy1._s11(_X9);
var _Oz1 = time - _ty1._kx1;
if (_Oz1 > 2000000) _Oz1 = 0;
_ty1._ax1 += _ty1._cx1;
_ty1._bx1 += _ty1._dx1;
for (var _i21 = 0; _i21 < _ty1._lx1.length; _i21++) {
var _Oy1 = _ty1._lx1._s11(_i21);
if (_Oy1 == null) continue;
var type = _Oy1._px1;
if (type == _Gw1) {
var _Zd1 = _Oy1._tx1;
if (_Zd1 != null) {
if (_Zd1._G01 == _H01) {
_Zd1._oC += _Zd1._SG * _Zd1._s2;
} else {
var _Pz1 = _I01._J01();
_Zd1._oC += (_Zd1._SG * _Zd1._s2) / _Pz1;
}
}
} else if (type == _Jw1) {
if (_Oy1._Fx1 == _H01) {
_Oy1._Ix1 += _Oy1._Hx1 * _Oy1._Gx1;
} else {
var _Pz1 = _I01._J01();
_Oy1._Ix1 += (_Oy1._Hx1 * _Oy1._Gx1) / _Pz1;
}
} else if (type == _Kw1) {
var _Qz1 = _Wd1._Xd1(_Oy1._vx1);
if (_Qz1 != null) {
if (_Qz1._Rz1 > 0) _Oy1._Ax1 = Math.floor((time / _Qz1._Rz1) % _Qz1.frames);
else _Oy1._Ax1 = (_Oy1._Ax1 + 1) % _Qz1.frames;
}
}
}
_ty1._kx1 = _ms1();
}
};
_Wx1.prototype._Sz1 = function (_py1, _Tz1) {
if (_py1 === null) return;
if (_Tz1 === null) return;
if (!this.__x1) this._ay1();
var _Uz1 = _py1._Vz1;
var _Wz1 = _py1._Xz1;
var _Nz1 = _Tz1.length;
{
var _Yz1;
for (var _i21 = _Nz1 - 1; _i21 >= 0; _i21--) {
_Yz1 = _Tz1[_i21];
var _9z1 = new _9x1();
if (_Yz1._d2 != undefined) _9z1._gx1 = _Yz1._d2;
if (_Yz1.id != undefined) _9z1._k91 = _Yz1.id;
if (_Yz1._Xf != undefined) _9z1._Xf = _Yz1._Xf;
if (_Yz1.x != undefined) _9z1._ax1 = _Yz1.x;
if (_Yz1.y != undefined) _9z1._bx1 = _Yz1.y;
if (_Yz1._Yf != undefined) _9z1._cx1 = _Yz1._Yf;
if (_Yz1._Zf != undefined) _9z1._dx1 = _Yz1._Zf;
if (_Yz1._4a != undefined) _9z1._ex1 = _Yz1._4a;
if (_Yz1.type === _Aw1) {
var _Zz1 = new _sx1();
_Zz1._tx1 = new _0x1();
var __z1;
_Zz1._tx1._SG = 1.0;
if (_Yz1._1g != undefined) _Zz1._tx1._4a = _Yz1._1g;
if (_Yz1._2g != undefined) _Zz1._tx1._1x1 = _Yz1._2g;
if (_Yz1._3g != undefined) _Zz1._tx1.index = _Yz1._3g;
if (_Yz1._4g != undefined) _Zz1._tx1._2x1 = _Yz1._4g;
if (_Yz1._5g != undefined) _Zz1._tx1._3x1 = _Yz1._5g;
if (_Yz1._7g != undefined) {
_Zz1._tx1._7x1 = _N71(_Yz1._7g);
_Zz1._tx1.alpha = ((_Yz1._7g >> 24) & 0xff) / 255.0;
}
if (_Yz1._G01 != undefined) _Zz1._tx1._G01 = _Yz1._G01;
if (_Yz1._9g != undefined) _Zz1._tx1._s2 = _Yz1._9g;
if (_Yz1._d2 != undefined) _Zz1._rx1 = _Yz1._d2;
if (_Yz1._6g != undefined) {
_Zz1._tx1._6x1 = _Yz1._6g;
}
if (_Yz1._6g != undefined && _Yz1._6g == true && _0A1(_Zz1._tx1.index)) {
var value = _Ts(_Zz1._tx1.index);
if (value > 0) _Zz1._tx1._4x1 = _Uz1 / value;
value = _1A1(_Zz1._tx1.index);
if (value > 0) _Zz1._tx1._5x1 = _Wz1 / value;
}
this._Py1(_py1, _9z1, _Zz1);
} else if (_Yz1.type === _Bw1) {
var _2A1 = 0;
if (_Yz1.__f != undefined) _2A1 = _Yz1.__f;
for (var _X9 = 0; _X9 < _2A1; _X9++) {
var _gz1 = new _mx1();
_gz1._nx1 = _Yz1._0g[_X9];
this._Py1(_py1, _9z1, _gz1, false);
}
} else if (_Yz1.type === _Cw1) {
var _3A1 = 0;
if (_Yz1._4A1 != undefined) _3A1 = _Yz1._4A1;
if (_3A1 > 0) {
var _X9;
for (_X9 = 0; _X9 < _3A1; _X9++) {
var _5A1 = new _Qx1();
if (_Yz1._6A1[_X9]._7A1 != undefined) _5A1._wx1 = _Yz1._6A1[_X9]._7A1;
if (_Yz1._6A1[_X9]._8A1 != undefined) _5A1._xx1 = _Yz1._6A1[_X9]._8A1;
if (_Yz1._6A1[_X9]._9A1 != undefined) _5A1._Dp1 = _Yz1._6A1[_X9]._9A1;
if (_Yz1._6A1[_X9]._aA1 != undefined) _5A1._Tx1 = _Yz1._6A1[_X9]._aA1;
if (_Yz1._6A1[_X9]._bA1 != undefined) _5A1._Ux1 = _Yz1._6A1[_X9]._bA1;
if (_Yz1._6A1[_X9]._cA1 != undefined) _5A1._Rx1 = _Yz1._6A1[_X9]._cA1;
if (_Yz1._6A1[_X9]._dA1 != undefined) _5A1._Sx1 = _Yz1._6A1[_X9]._dA1;
if (_Yz1._6A1[_X9]._eA1 != undefined) _5A1._fA1 = _Yz1._6A1[_X9]._eA1;
if (_Yz1._6A1[_X9]._gA1 != undefined) _5A1._hA1 = _Yz1._6A1[_X9]._gA1;
if (_Yz1._6A1[_X9]._iA1 != undefined) {
_5A1._jA1 = _Yz1._6A1[_X9]._iA1 & 0xffffff;
_5A1._kA1 = ((_Yz1._6A1[_X9]._iA1 >> 24) & 0xff) / 255.0;
}
this._Py1(_py1, _9z1, _5A1, false);
}
}
var _lA1 = 0;
if (_Yz1._mA1 != undefined) _lA1 = _Yz1._mA1;
if (_lA1 > 0) {
for (var _X9 = 0; _X9 < _lA1; _X9++) {
var _nA1 = new _Dx1();
_nA1._Fx1 = _8x1;
_nA1._Ex1 = _Yz1._oA1[_X9]._pA1;
_nA1._Ix1 = _Yz1._oA1[_X9]._qA1;
_nA1._Hx1 = 1.0;
if (_Yz1._oA1[_X9]._rA1 != undefined) _nA1._Fx1 = _Yz1._oA1[_X9]._rA1;
_nA1._Gx1 = _Yz1._oA1[_X9]._sA1;
_nA1._Jx1 = _Yz1._oA1[_X9]._tA1;
_nA1._Kx1 = _Yz1._oA1[_X9]._uA1;
_nA1._Lx1 = _Yz1._oA1[_X9]._vA1;
_nA1._Mx1 = _N71(_Yz1._oA1[_X9]._wA1 & 0xffffff);
_nA1._Nx1 = ((_Yz1._oA1[_X9]._wA1 >> 24) & 0xff) / 255.0;
_nA1._wx1 = _Yz1._oA1[_X9]._xA1;
_nA1._xx1 = _Yz1._oA1[_X9]._yA1;
_nA1._rx1 = _Yz1._oA1[_X9]._zA1;
this._Py1(_py1, _9z1, _nA1, false);
}
}
} else if (_Yz1.type === _Dw1) {
var _AA1 = new _ux1();
_AA1._vx1 = _Yz1._BA1;
_AA1._yx1 = _Yz1._CA1;
_AA1._zx1 = _Yz1._DA1;
_AA1._Bx1 = [];
var _3A1 = 0;
if (_Yz1._EA1 != undefined) _3A1 = _Yz1._EA1;
for (var _X9 = 0; _X9 < _3A1; _X9++) {
_AA1._Bx1[_X9] = _Yz1._FA1[_X9];
}
if (_Yz1._d2 != undefined) _AA1._rx1 = _Yz1._d2;
this._Py1(_py1, _9z1, _AA1, false);
}
_py1._xy1._Da1(_9z1);
this._5y1(_a21(this._4y1(), _9z1._k91));
}
}
};
function _MW(_R01) {
var _Ay1 = _az1._zy1();
if (_Ay1 == null) return -1;
var _Yz1 = _az1._Wy1(_Ay1, yyGetString(_R01));
if (_Yz1 != null) {
return _Yz1._k91;
}
return -1;
}
function _go(_ds1, _GA1) {
var _Ay1 = _az1._zy1();
if (_Ay1 == null) {
return -1;
}
var _Yz1 = null;
if (typeof _ds1 === "string") _Yz1 = _az1._Wy1(_Ay1, yyGetString(_ds1));
else _Yz1 = _az1._fz1(_Ay1, yyGetInt32(_ds1));
if (_Yz1 === null) return;
_Yz1._ex1 = yyGetBool(_GA1);
}
function _oT(_ds1) {
var _Ay1 = _az1._zy1();
if (_Ay1 == null) {
return -1;
}
var _Yz1 = null;
if (typeof _ds1 === "string") _Yz1 = _az1._Wy1(_Ay1, yyGetString(_ds1));
else _Yz1 = _az1._fz1(_Ay1, yyGetInt32(_ds1));
if (_Yz1 === null) return 0;
return _Yz1._ex1;
}
function _R_(_ds1) {
var _ty1 = null;
if (typeof _ds1 === "string") _ty1 = _az1._Wy1(_D01, yyGetString(_ds1));
else _ty1 = _az1._fz1(_D01, yyGetInt32(_ds1));
if (_ty1 === null) return -1;
var _Oy1 = _az1._Jz1(_ty1, _ty1._gx1);
if (_Oy1 != null) {
return _Oy1._k91;
}
}
function _Q_(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Gw1 && _Oy1._tx1 != null) {
_Oy1._tx1._7x1 = _N71(yyGetInt32(_GA1));
}
}
function _LW(_ds1, _GA1, _HA1, _IA1) {
var _ty1 = null;
if (typeof _ds1 === "string") _ty1 = _az1._Wy1(_D01, yyGetString(_ds1));
else _ty1 = _az1._fz1(_D01, yyGetInt32(_ds1));
if (_ty1 != null) {
var _JA1 = new _Dx1();
_JA1._Ex1 = yyGetInt32(_IA1);
_JA1._wx1 = yyGetReal(_GA1);
_JA1._xx1 = yyGetReal(_HA1);
_az1._Py1(_D01, _ty1, _JA1);
return _JA1._k91;
}
return -1;
}
function _SF(_ds1) {
_az1._vy1(_D01, yyGetInt32(_ds1));
}
function _6X(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Jw1) {
_Oy1._Ex1 = yyGetInt32(_GA1);
}
}
function _7X(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Jw1) {
_Oy1._Ix1 = yyGetInt32(_GA1);
}
}
function _QW(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Jw1) {
_Oy1._Jx1 = yyGetReal(_GA1);
}
}
function _RW(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Jw1) {
_Oy1._Kx1 = yyGetReal(_GA1);
}
}
function _PW(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Jw1) {
_Oy1._Lx1 = yyGetReal(_GA1);
}
}
function _NW(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Jw1) {
_Oy1._Mx1 = _N71(yyGetInt32(_GA1));
}
}
function _OW(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Jw1) {
_Oy1._Nx1 = yyGetReal(_GA1);
}
}
function _8X(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Jw1) {
_Oy1._wx1 = yyGetReal(_GA1);
}
}
function _9X(_ds1, _GA1) {
var _Oy1 = _az1._Dz1(_D01, yyGetInt32(_ds1));
if (_Oy1 != null && _Oy1._px1 === _Jw1) {
_Oy1._xx1 = yyGetReal(_GA1);
}
}
/*@constructor */ function _Hz1() {
this._p81 = -1;
this._ty1 = -1;
}
function _Oq(_a11, _b11, _KA1, _Lc1) {
_Lc1 = yyGetInt32(_Lc1);
var _4q1 = _o01._s11(_Lc1);
if (!_4q1) {
_Rb1("Error: Trying to create an instance using non-existent object type (" + _Lc1 + ")");
return _1w1;
}
var _ty1 = -1;
if (typeof _KA1 == "string") _ty1 = _az1._Wy1(_D01, yyGetString(_KA1));
else _ty1 = _az1._fz1(_D01, yyGetInt32(_KA1));
if (_ty1 != null && _ty1 != -1) {
var _Yv1 = _D01._LA1(yyGetReal(_a11), yyGetReal(_b11), _ty1, _Lc1);
_Yv1._B11(_iw1, 0, _Yv1, _Yv1);
_Yv1._B11(_jw1, 0, _Yv1, _Yv1);
return _Yv1.id;
} else {
_Rb1("Error: Trying to create an instance on a non-existant layer");
}
return _1w1;
}
var _MA1 = 0x7fff;
var g_GMLMathEpsilon = 1e-5;
function floor(_M01) {
return Math.floor(yyGetReal(_M01));
}
function _NA1(_OA1) {
_OA1 = yyGetReal(_OA1);
var _X9 = Math.sign(_OA1) * Math.floor(Math.abs(_OA1));
if (_OA1 < 0) {
var _xp1 = _OA1 - _X9;
if ((_X9 & 1) == 1) {
if (_xp1 <= -0.5) {
return _X9 - 1;
} else {
return _X9;
}
} else {
if (_xp1 >= -0.5) {
return _X9;
} else {
return _X9 - 1;
}
}
} else {
var _xp1 = _OA1 - _X9;
if ((_X9 & 1) == 1) {
if (_xp1 >= 0.5) {
return _X9 + 1;
} else {
return _X9;
}
} else {
if (_xp1 <= 0.5) {
return _X9;
} else {
return _X9 + 1;
}
}
}
}
var round = _NA1;
var _zc1 = _NA1;
function abs(_OA1) {
return Math.abs(yyGetReal(_OA1));
}
function cos(_OA1) {
var _a11 = Math.cos(yyGetReal(_OA1));
var _d21 = ~~(_a11 * 0x1000000);
_a11 = _d21 / 0x1000000;
return _a11;
}
function _5C(_OA1) {
return cos(yyGetReal(_OA1) * 0.0174532925);
}
function sin(_OA1) {
var _a11 = Math.sin(yyGetReal(_OA1));
var _d21 = ~~(_a11 * 0x1000000);
_a11 = _d21 / 0x1000000;
return _a11;
}
function _6C(_OA1) {
return sin(yyGetReal(_OA1) * 0.0174532925);
}
function tan(_OA1) {
var _a11 = Math.tan(yyGetReal(_OA1));
var _d21 = ~~(_a11 * 0x1000000);
_a11 = _d21 / 0x1000000;
return _a11;
}
function _sI(_PA1, _QA1) {
var _J41 = yyGetReal(_PA1) * Math.cos((yyGetReal(_QA1) * _g21) / 180.0);
var _RA1 = Math.round(_J41);
var _P01 = _J41 - _RA1;
if (Math.abs(_P01) < 0.0001) return _RA1;
return _J41;
}
function _uI(_PA1, _QA1) {
var _J41 = -(yyGetReal(_PA1) * Math.sin((yyGetReal(_QA1) * _g21) / 180.0));
var _RA1 = Math.round(_J41);
var _P01 = _J41 - _RA1;
if (Math.abs(_P01) < 0.0001) return _RA1;
return _J41;
}
function _PA(_t21, _u21, _R11, _S11) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
var x = _R11 - _t21;
var y = _S11 - _u21;
if (x === 0) {
if (y > 0) return 270.0;
else if (y < 0) return 90.0;
else return 0.0;
} else {
var _wu1 = (180.0 * Math.atan2(y, x)) / _g21;
_wu1 = ~~round(_wu1 * 1000000) / 1000000.0;
if (_wu1 <= 0.0) {
return -_wu1;
} else {
return 360.0 - _wu1;
}
}
}
function _SA1(_t21, _u21, _R11, _S11) {
return _PA(_t21, _u21, _R11, _S11);
}
function _5B(_t21, _u21, _R11, _S11) {
var _761 = yyGetReal(_R11) - yyGetReal(_t21);
var _861 = yyGetReal(_S11) - yyGetReal(_u21);
return Math.sqrt(_761 * _761 + _861 * _861);
}
function _c21(_OA1, _1t1) {
if (_OA1 < _1t1) return _OA1;
else return _1t1;
}
function _a21(_OA1, _1t1) {
if (_OA1 > _1t1) return _OA1;
else return _1t1;
}
function max() {
var _tc1 = arguments;
var _uc1 = arguments.length;
if (_uc1 == 0) return 0;
var _Z11 = yyGetReal(_tc1[0]);
for (var _X9 = 1; _X9 < _uc1; _X9++) {
var _TA1 = yyGetReal(_tc1[_X9]);
if (_Z11 < _TA1) _Z11 = _TA1;
}
return _Z11;
}
function min() {
var _tc1 = arguments;
var _uc1 = arguments.length;
if (_uc1 == 0) return 0;
var _Z11 = yyGetReal(_tc1[0]);
for (var _X9 = 1; _X9 < _uc1; _X9++) {
var _TA1 = yyGetReal(_tc1[_X9]);
if (_Z11 > _TA1) _Z11 = _TA1;
}
return _Z11;
}
var state = [];
var _UA1 = 0;
var _VA1 = _WA1(0);
var _XA1 = 0xda442d24;
function _WA1(_YA1) {
var _Wo1 = _YA1;
for (var _X9 = 0; _X9 < 16; _X9++) {
_Wo1 = (((_Wo1 * 214013 + 2531011) >> 16) & 0x7fffffff) | 0;
state[_X9] = ~~_Wo1;
}
_UA1 = 0;
_VA1 = _YA1;
return _VA1;
}
function _ZA1() {
var _l41, _e21, _Y9, _Ce1;
_l41 = state[_UA1];
_Y9 = state[(_UA1 + 13) & 15];
_e21 = _l41 ^ _Y9 ^ (_l41 << 16) ^ (_Y9 << 15);
_Y9 = state[(_UA1 + 9) & 15];
_Y9 ^= _Y9 >> 11;
_l41 = state[_UA1] = _e21 ^ _Y9;
_Ce1 = _l41 ^ ((_l41 << 5) & _XA1);
_UA1 = (_UA1 + 15) & 15;
_l41 = state[_UA1];
state[_UA1] = _l41 ^ _e21 ^ _Ce1 ^ (_l41 << 2) ^ (_e21 << 18) ^ (_Y9 << 28);
return (state[_UA1] & 0x7fffffff) / 2147483647.0;
}
function random(_P71) {
var _b21 = _ZA1();
return _b21 * yyGetReal(_P71);
}
function _Sm(_P71) {
_P71 = yyGetInt32(_P71);
var sign = _P71 < 0 ? -1 : 1;
var _b21 = _ZA1() * (_P71 + sign);
_ZA1();
return ~~_b21;
}
function _YB(__A1, _0B1) {
__A1 = yyGetReal(__A1);
_0B1 = yyGetReal(_0B1);
if (__A1 == _0B1) {
return __A1;
}
var _1B1, _2B1;
if (__A1 > _0B1) {
_1B1 = _0B1;
_2B1 = __A1;
} else {
_1B1 = __A1;
_2B1 = _0B1;
}
var _3B1 = _ZA1();
var result = _1B1 + _3B1 * (_2B1 - _1B1);
_ZA1();
return result;
}
function _4B1() {
var _Ce1 = new Date();
var _d21 = _Ce1.getMilliseconds();
_d21 = (_d21 & 0xffffffff) ^ ((_d21 >> 16) & 0xffff) ^ ((_d21 << 16) & 0xffff0000);
return _WA1(_d21);
}
var _hV = _4B1;
function _Vm(__A1, _0B1) {
__A1 = yyGetInt32(__A1);
_0B1 = yyGetInt32(_0B1);
var _1B1, _2B1;
if (__A1 > _0B1) {
_1B1 = _0B1;
_2B1 = __A1;
} else {
_1B1 = __A1;
_2B1 = _0B1;
}
var __11 = _1B1 | 0;
var _121 = _2B1 | 0;
var result = __11 + ~~random(_121 - __11 + 1);
return result;
}
function _7F() {
var _tc1 = arguments;
var _uc1 = arguments.length;
if (_uc1 == 0) return 0;
var index = Math.floor(random(_uc1));
return _tc1[index];
}
function sign(_a11) {
_a11 = yyGetReal(_a11);
if (_a11 == 0) return 0;
if (_a11 < 0) return -1;
return 1;
}
function ceil(_a11) {
return Math.ceil(yyGetReal(_a11));
}
function _P01(_a11) {
_a11 = yyGetReal(_a11);
return _a11 - ~~_a11;
}
function sqrt(_a11) {
_a11 = yyGetReal(_a11);
if (_a11 >= 0) return Math.sqrt(_a11);
else _Rb1("Cannot apply sqrt to negative number.");
}
function _D21(_a11) {
_a11 = yyGetReal(_a11);
return _a11 * _a11;
}
function _5B1(_a11, _6B1) {
return Math.pow(yyGetReal(_a11), yyGetReal(_6B1));
}
function exp(_a11) {
return Math.exp(yyGetReal(_a11));
}
function _7B1(_a11) {
return Math.log(yyGetReal(_a11)) / Math.LN2;
}
var _AS = Math.atan2;
function _8B1() {
var _tc1 = _8B1.arguments;
var _uc1 = _8B1.arguments.length;
if (_uc1 == 0) return 0;
var _Z11 = yyGetReal(_tc1[0]);
for (var _X9 = 1; _X9 < _uc1; _X9++) {
_Z11 += yyGetReal(_tc1[_X9]);
}
return _Z11 / _uc1;
}
function _9B1() {
var _tc1 = _9B1.arguments;
var _uc1 = _9B1.arguments.length;
if (_uc1 == 0) return 0;
var _q21 = [];
for (var _X9 = 0; _X9 < _uc1; _X9++) {
_q21[_X9] = yyGetReal(_tc1[_X9]);
}
_q21.sort(function (_l41, _e21) {
return _l41 - _e21;
});
return _q21[~~(_uc1 / 2)];
}
function _aB1(_t21, _u21, _R11, _S11) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
var _bB1 = Math.sqrt(_t21 * _t21 + _u21 * _u21);
var _cB1 = Math.sqrt(_R11 * _R11 + _S11 * _S11);
return (_t21 * _R11 + _u21 * _S11) / (_bB1 * _cB1);
}
var _dB1 = _aB1;
function _eB1(_t21, _u21, _fB1, _R11, _S11, _gB1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_fB1 = yyGetReal(_fB1);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_gB1 = yyGetReal(_gB1);
var _bB1 = Math.sqrt(_t21 * _t21 + _u21 * _u21 + _fB1 * _fB1);
var _cB1 = Math.sqrt(_R11 * _R11 + _S11 * _S11 + _gB1 * _gB1);
return (_t21 * _R11 + _u21 * _S11 + _fB1 * _gB1) / (_bB1 * _cB1);
}
var _hB1 = _eB1;
function _du(_a11) {
if (typeof _a11 == "undefined") return 1;
else return 0;
}
function _Rx(_a11) {
if (_a11 instanceof Array) return 1;
else return 0;
}
function _ou(_a11) {
var __b1 = 0;
if (_a11 instanceof Array) {
if (_a11._iB1 !== undefined && _a11._iB1 == 2) {
return _a11[0].length;
}
__b1 = _a11.length;
}
return __b1;
}
function _cm(_kn1, _jB1, _kB1) {
_kn1 = yyGetReal(_kn1);
_jB1 = yyGetReal(_jB1);
_kB1 = yyGetReal(_kB1);
if (_kn1 < _jB1) _kn1 = _jB1;
if (_kn1 > _kB1) _kn1 = _kB1;
return _kn1;
}
function _xC(_lB1, _mB1, _it1) {
_lB1 = yyGetReal(_lB1);
_mB1 = yyGetReal(_mB1);
return _lB1 + (_mB1 - _lB1) * _it1;
}
function _nB1(_lB1, _mB1) {
var _xp1 = _lB1 - _mB1;
return abs(_xp1) <= g_GMLMathEpsilon;
}
var _oB1 = new RegExp("^" + "[-+]?" + "(?:[0-9]{0,30}\\.)?" + "[0-9]{1,30}" + "(?:[Ee][-+]?[1-2]?[0-9])?");
function yyCompareVal(_lB1, _mB1, _pB1) {
var __b1 = undefined;
if (typeof _lB1 == "string" && typeof _mB1 == "string") {
__b1 = _lB1 === _mB1 ? 0 : _lB1 > _mB1 ? 1 : -1;
} else if (_lB1 === undefined && _mB1 === undefined) {
__b1 = 0;
} else if (_lB1 instanceof ArrayBuffer && _mB1 instanceof ArrayBuffer) {
__b1 = _lB1 == _mB1 ? 0 : 1;
} else if (_lB1 instanceof Array && _mB1 instanceof Array) {
__b1 = _lB1.length - _mB1.length;
if (__b1 == 0) {
__b1 = _lB1 === _mB1 ? 0 : 1;
}
} else if (_lB1 instanceof Long && _mB1 instanceof Long) {
__b1 = _lB1.sub(_mB1)._Ic1();
}
if (__b1 === undefined) {
if (typeof _lB1 == "boolean") {
_lB1 = _lB1 ? 1 : 0;
} else if (typeof _lB1 == "string") {
var match = _lB1.match(_oB1);
if (match != null) {
_lB1 = Number(match);
if (Number.isNaN(_lB1)) __b1 = 1;
} else __b1 = Number.NaN;
} else if (_lB1 instanceof Long) {
_lB1 = _lB1._Ic1();
}
if (typeof _mB1 == "boolean") {
_mB1 = _mB1 ? 1 : 0;
} else if (typeof _mB1 == "string") {
var match = _mB1.match(_oB1);
if (match != null) {
_mB1 = Number(match);
if (Number.isNaN(_mB1)) __b1 = 1;
} else __b1 = Number.NaN;
} else if (_mB1 instanceof Long) {
_mB1 = _mB1._Ic1();
}
if (__b1 === undefined) {
if (typeof _lB1 == "number" && typeof _mB1 == "number") {
var _xp1 = _lB1 - _mB1;
if (Number.isNaN(_xp1)) {
_xp1 = _lB1 == _mB1 ? 0 : _xp1;
}
__b1 = abs(_xp1) <= _pB1 ? 0 : _xp1 < 0.0 ? -1 : 1;
} else {
__b1 = 1;
if (typeof _lB1 == "number") {
__b1 = -1;
}
}
}
}
return __b1;
}
function yyfplus(_lB1, _mB1) {
if (_lB1 instanceof Long && _mB1 instanceof Long) {
return _lB1.add(_mB1);
} else if (_lB1 instanceof Long) {
_lB1 = _lB1._Ic1();
} else if (_mB1 instanceof Long) {
_mB1 = _mB1._Ic1();
}
if (typeof _lB1 === "string" && typeof _mB1 === "string") return _lB1 + _mB1;
if (typeof _lB1 === "string" && typeof _mB1 !== "string") _Rb1("unable to add string to " + typeof _mB1);
return yyGetReal(_lB1) + yyGetReal(_mB1);
}
function yyfminus(_lB1, _mB1) {
if (_lB1 instanceof Long && _mB1 instanceof Long) {
return _lB1.sub(_mB1);
} else if (_lB1 instanceof Long) {
_lB1 = _lB1._Ic1();
} else if (_mB1 instanceof Long) {
_mB1 = _mB1._Ic1();
}
return yyGetReal(_lB1) - yyGetReal(_mB1);
}
function yyftime(_lB1, _mB1) {
if (_lB1 instanceof Long && _mB1 instanceof Long) {
return _lB1._qB1(_mB1);
} else if (_lB1 instanceof Long) {
_lB1 = _lB1._Ic1();
} else if (_mB1 instanceof Long) {
_mB1 = _mB1._Ic1();
}
if (typeof _lB1 === "number" && typeof _mB1 === "string") {
var __b1 = "";
for (var _W11 = yyGetReal(_lB1) - 1; _W11 >= 0; --_W11) {
__b1 += _mB1;
}
return __b1;
} else return yyGetReal(_lB1) * yyGetReal(_mB1);
}
function yyfdivide(_lB1, _mB1) {
if (_lB1 instanceof Long && _mB1 instanceof Long) {
return _lB1._2p1(_mB1);
}
if (_lB1 instanceof Long) {
_lB1 = _lB1._Ic1();
}
if (_mB1 instanceof Long) {
_mB1 = _mB1._Ic1();
}
var _b61 = yyGetReal(_lB1);
var _c61 = yyGetReal(_mB1);
var __b1 = _b61 / _c61;
return __b1;
}
function yyfmod(_lB1, _mB1) {
if (_lB1 instanceof Long && _mB1 instanceof Long) {
return _lB1._rB1(_mB1);
}
if (_mB1 instanceof Long) {
_mB1 = _mB1._Ic1();
}
if (_lB1 instanceof Long) {
_lB1 = _lB1._Ic1();
}
var _c61 = yyGetReal(_mB1);
if (_c61 == 0) {
_Rb1("unable to mod with zero");
}
return yyGetReal(_lB1) % _c61;
}
function yyfdiv(_lB1, _mB1) {
if (_lB1 instanceof Long) {
return _lB1._2p1(_mB1);
} else if (_mB1 instanceof Long) {
_mB1 = _mB1._Ic1();
}
if (_mB1 == 0) _Rb1("divide by zero");
var _b61 = yyGetReal(_lB1);
var _c61 = yyGetReal(_mB1);
var _sB1 = Number.isNaN(_b61);
var _tB1 = Number.isNaN(_c61);
if (_sB1 || _tB1) {
if (_sB1 && _tB1) return 1;
if (_sB1) {
if (Number.isFinite(_c61)) return _b61;
else return 1;
}
if (_tB1) {
if (Number.isFinite(_b61)) return _c61;
else return 1;
}
}
if (_b61 === _c61) return 1;
return ~~(~~_b61 / ~~_c61);
}
function yyfnotequal(_lB1, _mB1) {
var __b1 = yyCompareVal(_lB1, _mB1, g_GMLMathEpsilon);
return __b1 != 0;
}
function yyfequal(_lB1, _mB1) {
var __b1 = yyCompareVal(_lB1, _mB1, g_GMLMathEpsilon);
return __b1 == 0;
}
function yyfless(_lB1, _mB1) {
var __b1 = yyCompareVal(_lB1, _mB1, g_GMLMathEpsilon);
if (Number.isNaN(__b1)) {
_Rb1("unable to compare " + _ul(_lB1) + " to " + _ul(_mB1));
}
return __b1 < 0;
}
function yyflessequal(_lB1, _mB1) {
var __b1 = yyCompareVal(_lB1, _mB1, g_GMLMathEpsilon);
if (Number.isNaN(__b1)) {
_Rb1("unable to compare " + _ul(_lB1) + " to " + _ul(_mB1));
}
return __b1 <= 0;
}
function yyfgreater(_lB1, _mB1) {
var __b1 = yyCompareVal(_lB1, _mB1, g_GMLMathEpsilon);
if (Number.isNaN(__b1)) {
_Rb1("unable to compare " + _ul(_lB1) + " to " + _ul(_mB1));
}
return __b1 > 0;
}
function yyfgreaterequal(_lB1, _mB1) {
var __b1 = yyCompareVal(_lB1, _mB1, g_GMLMathEpsilon);
if (Number.isNaN(__b1)) {
_Rb1("unable to compare " + _ul(_lB1) + " to " + _ul(_mB1));
}
return __b1 >= 0;
}
function yyfand(_lB1, _mB1) {
return yyGetBool(_lB1) && yyGetBool(_mB1);
}
function yyfor(_lB1, _mB1) {
return yyGetBool(_lB1) || yyGetBool(_mB1);
}
function yyfxor(_lB1, _mB1) {
_mB1 = yyGetBool(_mB1);
return yyGetBool(_lB1) ? !_mB1 : _mB1;
}
function yyfbitand(_lB1, _mB1) {
if (_lB1 instanceof Long) {
return _lB1._uB1(yyGetInt64(_mB1));
} else if (_mB1 instanceof Long) {
return _mB1._uB1(yyGetInt64(_lB1));
}
return yyGetInt32(_lB1) & yyGetInt32(_mB1);
}
function yyfbitor(_lB1, _mB1) {
if (_lB1 instanceof Long) {
return _lB1._vB1(yyGetInt64(_mB1));
} else if (_mB1 instanceof Long) {
return _mB1._vB1(yyGetInt64(_lB1));
}
return yyGetInt32(_lB1) | yyGetInt32(_mB1);
}
function yyfbitxor(_lB1, _mB1) {
if (_lB1 instanceof Long) {
return _lB1._wB1(yyGetInt64(_mB1));
} else if (_mB1 instanceof Long) {
return _mB1._wB1(yyGetInt64(_lB1));
}
return yyGetInt32(_lB1) ^ yyGetInt32(_mB1);
}
function yyfbitshiftleft(_lB1, _sw1) {
if (_lB1 instanceof Long) {
return _lB1._xB1(yyGetInt32(_sw1));
}
return yyGetInt64(_lB1)._xB1(yyGetInt32(_sw1));
}
function yyfbitshiftright(_lB1, _sw1) {
if (_lB1 instanceof Long) {
return _lB1._yB1(yyGetInt32(_sw1));
}
return yyGetInt64(_lB1)._yB1(yyGetInt32(_sw1));
}
var _zB1 = 30,
_AB1 = 10,
_BB1 = 3,
_CB1 = !0;
function _DB1(_EB1, _FB1) {
var _9t1 = 0.0;
while (_EB1 <= 0.0) {
_EB1 = _EB1 + 360;
}
while (_EB1 >= 360.0) {
_EB1 = _EB1 - 360;
}
while (_FB1 < 0.0) {
_FB1 = _FB1 + 360;
}
while (_FB1 >= 360) {
_FB1 = _FB1 - 360;
}
_9t1 = _FB1 - _EB1;
if (_9t1 < 0) {
_9t1 = -_9t1;
}
if (_9t1 > 180) {
_9t1 = 360 - _9t1;
}
return _9t1;
}
function _GB1(_8r1, _a11, _b11, _HB1, _IB1) {
if (_HB1 == _JB1) {
if (_IB1) {
return _KB1(_8r1, _a11, _b11);
} else {
return _LB1(_8r1, _a11, _b11);
}
} else {
return __v1(_8r1, _a11, _b11, _HB1) == _1w1;
}
}
function _MB1(_8r1, _a11, _b11, _NB1, _HB1, _IB1) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
_NB1 = yyGetReal(_NB1);
_IB1 = yyGetBool(_IB1);
var _9t1 = false;
var _OB1 = 0.0;
var _PB1 = 0.0;
var _QB1 = 0.0;
if (_8r1.x == _a11 && _8r1.y == _b11) return true;
_OB1 = sqrt(_ql1(_8r1.x - _a11) + _ql1(_8r1.y - _b11));
if (_OB1 <= _NB1) {
_PB1 = _a11;
_QB1 = _b11;
_9t1 = true;
} else {
_PB1 = _8r1.x + (_NB1 * (_a11 - _8r1.x)) / _OB1;
_QB1 = _8r1.y + (_NB1 * (_b11 - _8r1.y)) / _OB1;
_9t1 = false;
}
if (!_GB1(_8r1, _PB1, _QB1, _HB1, _IB1)) {
return _9t1;
}
_8r1._GY(_PA(_8r1.x, _8r1.y, _PB1, _QB1));
_8r1._E81(_PB1, _QB1);
return _9t1;
}
function _RB1(_8r1, _a11, _b11, _NB1, _IB1) {
return _MB1(_8r1, _a11, _b11, _NB1, _JB1, _IB1);
}
function _SB1(_QA1, _8r1, _TB1, _HB1, _IB1) {
var _9t1 = false;
var _UB1 = 0.0;
var _VB1 = 0.0;
if (_DB1(_QA1, _8r1._tI) > _zB1) {
return _9t1;
}
_UB1 = _8r1.x + _TB1 * _BB1 * cos((_g21 * _QA1) / 180);
_VB1 = _8r1.y - _TB1 * _BB1 * sin((_g21 * _QA1) / 180);
if (true != _GB1(_8r1, _UB1, _VB1, _HB1, _IB1)) {
return _9t1;
}
_UB1 = _8r1.x + _TB1 * cos((_g21 * _QA1) / 180);
_VB1 = _8r1.y - _TB1 * sin((_g21 * _QA1) / 180);
if (true != _GB1(_8r1, _UB1, _VB1, _HB1, _IB1)) {
return _9t1;
}
_8r1._GY(_QA1);
_8r1._E81(_UB1, _VB1);
_9t1 = true;
return _9t1;
}
function _WB1(_8r1, _a11, _b11, _NB1, _bw1, _IB1) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
_NB1 = yyGetReal(_NB1);
_bw1 = yyGetInt32(_bw1);
_IB1 = yyGetBool(_IB1);
var _9t1 = false;
var _OB1 = 0.0;
var _XB1 = 0.0;
var _YB1 = 0.0;
if (_8r1.x == _a11 && _8r1.y == _b11) {
_9t1 = true;
return _9t1;
}
_OB1 = sqrt(_ql1(_8r1.x - _a11) + _ql1(_8r1.y - _b11));
if (_OB1 <= _NB1) {
if (_GB1(_8r1, _a11, _b11, _bw1, _IB1)) {
_8r1._GY(_SA1(_8r1.x, _8r1.y, _a11, _b11));
_8r1._E81(_a11, _b11);
}
_9t1 = true;
return _9t1;
}
_XB1 = _SA1(_8r1.x, _8r1.y, _a11, _b11);
_YB1 = 0;
_9t1 = false;
while (_YB1 < 180) {
if (_SB1(_XB1 - _YB1, _8r1, _NB1, _bw1, _IB1)) {
return _9t1;
}
if (_SB1(_XB1 + _YB1, _8r1, _NB1, _bw1, _IB1)) {
return _9t1;
}
_YB1 = _YB1 + _AB1;
}
if (_CB1) {
_8r1._GY(_8r1._tI + _zB1);
}
return _9t1;
}
function _ZB1(_8r1, _a11, _b11, _NB1, _IB1) {
return _WB1(_8r1, _a11, _b11, _NB1, _JB1, _IB1);
}
function _DB1(_EB1, _FB1) {
var _9t1 = 0.0;
while (_EB1 <= 0.0) {
_EB1 = _EB1 + 360.0;
}
while (_EB1 >= 360.0) {
_EB1 = _EB1 - 360.0;
}
while (_FB1 < 0.0) {
_FB1 = _FB1 + 360.0;
}
while (_FB1 >= 360.0) {
_FB1 = _FB1 - 360.0;
}
_9t1 = _FB1 - _EB1;
if (_9t1 < 0.0) {
_9t1 = -_9t1;
}
if (_9t1 > 180.0) {
_9t1 = 360.0 - _9t1;
}
return _9t1;
}
function _SB1(_QA1, _xd1, _TB1, _HB1, _IB1) {
var _UB1 = 0.0;
var _VB1 = 0.0;
if (_DB1(_QA1, _xd1._tI) > _zB1) {
return false;
}
_UB1 = _xd1.x + _TB1 * _BB1 * Math.cos((Math.PI * _QA1) / 180.0);
_VB1 = _xd1.y - _TB1 * _BB1 * Math.sin((Math.PI * _QA1) / 180.0);
if (!_GB1(_xd1, _UB1, _VB1, _HB1, _IB1)) {
return false;
}
_UB1 = _xd1.x + _TB1 * Math.cos((Math.PI * _QA1) / 180.0);
_VB1 = _xd1.y - _TB1 * Math.sin((Math.PI * _QA1) / 180.0);
if (!_GB1(_xd1, _UB1, _VB1, _HB1, _IB1)) {
return false;
}
_xd1._GY(_QA1);
_xd1._E81(_UB1, _VB1);
return true;
}
/*@constructor */ function __B1(_0C1, _1C1, _2C1, _3C1, _4C1, _5C1) {
this._6C1 = _0C1;
this._7C1 = _1C1;
this._8C1 = ~~_2C1;
this._9C1 = ~~_3C1;
this._aC1 = _4C1;
this._bC1 = _5C1;
this._cC1 = [];
this._Ua1();
}
__B1.prototype._Ua1 = function () {
var _dC1 = this._8C1 * this._9C1;
for (var _X9 = 0; _X9 < _dC1; _X9++) {
this._cC1[_X9] = 0;
}
};
var _eC1 = _fC1;
function _fC1(_Ub1) {
var _gC1 = _hC1._s11(yyGetInt32(_Ub1));
if (_gC1) {
_R41.globalAlpha = _K71;
var _Ue1 = _ie1(0xff0000, 1.0);
var _Ve1 = _ie1(0x00ff00, 1.0);
for (var x = 0; x < _gC1._8C1; x++) {
for (var y = 0; y < _gC1._9C1; y++) {
var _L31 = _Ve1;
if (_gC1._cC1[x * _gC1._9C1 + y] < 0) {
_L31 = _Ue1;
}
_R41.fillStyle = _L31;
_R41._Jt1(_gC1._6C1 + x * _gC1._aC1, _gC1._7C1 + y * _gC1._bC1, _gC1._aC1, _gC1._bC1);
}
}
return;
}
_Rb1("Error: invalid mp_grid ID (mp_grid_draw)");
}
function _LB1(_8r1, _a11, _b11) {
var _j21, _l21, _9t1, _iC1;
_9t1 = true;
_j21 = _8r1.x;
_l21 = _8r1.y;
_8r1._E81(yyGetReal(_a11), yyGetReal(_b11));
var _xc1 = _D01._jC1();
for (var _Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
_iC1 = _xc1[_Xv1];
if (_iC1._kC1) {
if (_8r1._3w1(_iC1, true)) {
_9t1 = false;
break;
}
}
}
_8r1._E81(_j21, _l21);
return _9t1;
}
function _KB1(_8r1, _a11, _b11, _Lc1) {
var _j21, _l21, _9t1, _iC1;
_9t1 = true;
_j21 = _8r1.x;
_l21 = _8r1.y;
_8r1._E81(yyGetReal(_a11), yyGetReal(_b11));
if (_du(_Lc1)) {
_Lc1 = _JB1;
} else {
_Lc1 = _lC1(_Lc1);
}
_9t1 = _0w1(_8r1, Math.floor(_Lc1), true, false, function (_2w1) {
var _mC1 = _8r1._3w1(_2w1, true);
if (!_mC1) {
return false;
}
return true;
});
_8r1._E81(_j21, _l21);
if (_9t1) return false;
else return true;
}
function _WI(_8r1, _a11, _b11, _Lc1) {
var _j21, _l21, _9t1, _iC1;
_9t1 = false;
_j21 = _8r1.x;
_l21 = _8r1.y;
_8r1._E81(yyGetReal(_a11), yyGetReal(_b11));
var _xc1 = _8l(yyGetInt32(_Lc1));
for (var _Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
_iC1 = _xc1[_Xv1];
if (_iC1._cl && !_iC1._nC1) {
if (_8r1._3w1(_iC1, true)) {
_9t1 = true;
break;
}
}
}
_8r1._E81(_j21, _l21);
return _9t1;
}
function _8W(_8r1, _a11, _b11, _TB1) {
_8r1._0H(yyGetReal(_a11) - _8r1.x);
_8r1._1H(yyGetReal(_b11) - _8r1.y);
_8r1._XI(yyGetReal(_TB1));
}
function _oC1(_8r1, _a11, _b11, _pC1) {
if (_pC1) {
return _KB1(_8r1, _a11, _b11);
} else {
return _LB1(_8r1, _a11, _b11);
}
}
function _qC1(_xd1, _a11, _b11, _pC1) {
if (yyGetBool(_pC1)) return _KB1(_xd1, _a11, _b11);
else return _LB1(_xd1, _a11, _b11);
}
function _vC(_xd1, _a11, _b11) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
if (_xd1._rC1) _xd1._sC1();
var _b21 = _xd1._tC1;
var _uC1 = 0.0;
var _vC1 = 0.0;
if (_a11 > _b21.right) {
_uC1 = _a11 - _b21.right;
}
if (_a11 < _b21.left) {
_uC1 = _a11 - _b21.left;
}
if (_b11 > _b21.bottom) {
_vC1 = _b11 - _b21.bottom;
}
if (_b11 < _b21.top) {
_vC1 = _b11 - _b21.top;
}
return Math.sqrt(_uC1 * _uC1 + _vC1 * _vC1);
}
function _vD(_xd1, _Lc1) {
var _OB1 = 10000000000;
var _X9 = 0;
var _OB1 = _wC1(_xd1, yyGetInt32(_Lc1), false, _OB1, function (_2w1) {
if (_xd1._rC1) _xd1._sC1();
if (_2w1._rC1) _2w1._sC1();
var _b21 = _2w1._tC1;
var _Wo1 = _xd1._tC1;
var _uC1 = 0,
_vC1 = 0;
if (_b21.left > _Wo1.right) _uC1 = _b21.left - _Wo1.right;
if (_b21.right < _Wo1.left) _uC1 = _b21.right - _Wo1.left;
if (_b21.top > _Wo1.bottom) _vC1 = _b21.top - _Wo1.bottom;
if (_b21.bottom < _Wo1.top) _vC1 = _b21.bottom - _Wo1.top;
return Math.sqrt(_uC1 * _uC1 + _vC1 * _vC1);
});
return _OB1;
}
var _xC1 = 1;
var _yC1 = 2;
var _zC1 = 3;
var _AC1 = 4;
var _BC1 = window.WebSocket;
var _CC1 = null;
try {
_CC1 = require("ws").Server;
} catch (_DC1) {}
function _EC1(_FC1, _GC1) {
this.socket = _FC1;
this._GC1 = _GC1;
}
_EC1.prototype = { socket: null, _GC1: !1, _HC1: !1, index: -1 };
var _IC1 = "GM:Studio-Connect";
var _JC1 = 0xcafebabe;
var _KC1 = 0xdeadb00b;
var _LC1 = 0xdeafbead;
var _MC1 = 0xf00dbeeb;
var _NC1 = 0xdeadc0de;
var _OC1 = [];
var _PC1 = [];
function _QC1(_RC1) {
var _X9 = _PC1.shift();
if (_X9 == null) _X9 = _OC1.length;
_OC1[_X9] = _RC1;
_RC1.index = _X9;
return _X9;
}
function _SC1(e) {
var _Qq1 = _Ca1._Da1(e.id, null, _TC1, e);
_Qq1._Ia1 = true;
}
function _UC1(_Yk1, offset, length) {
var _VC1 = new Uint8Array(_Yk1.buffer);
var _WC1 = _Yk1.byteOffset + offset;
var index = _3c1(length, _XC1, 1);
var _YC1 = new Uint8Array(_ZC1._s11(index).__C1);
for (var _X9 = 0; _X9 < length; _X9++) _YC1[_X9] = _VC1[_WC1 + _X9];
return index;
}
function _0D1(_911) {
if (!_o01._s11(yyGetInt32(_911))) return false;
return true;
}
var _1D1 = _Md1;
var _2D1 = _3D1;
var _4D1 = _5D1;
var _6D1 = _7D1;
var _8D1 = _9D1;
var _aD1 = _bD1;
var _cD1 = _dD1;
var _eD1 = _fD1;
var _gD1 = _hD1;
var _iD1 = _jD1;
var _kD1 = _lD1;
var _mD1 = _nD1;
var _oD1 = _pD1;
var _qD1 = _pD1;
var _rD1 = _sD1;
var _tD1 = _uD1;
var _vD1 = _Nd1;
var _wD1 = _xD1;
var _yD1 = _zD1;
var _AD1 = _BD1;
var _CD1 = _DD1;
var _ED1 = _FD1;
var _GD1 = _HD1;
var _ID1 = _JD1;
var _KD1 = _LD1;
var _MD1 = _ND1;
var _OD1 = _ND1;
var _PD1 = _Qd1;
var _QD1 = _Qd1;
var _RD1 = _SD1;
var _TD1 = _SD1;
var _UD1 = _SD1;
var _VD1 = _SD1;
var _WD1 = _Pd1;
var _XD1 = _Pd1;
var _YD1 = _ZD1;
var __D1 = _ZD1;
var _0E1 = _1E1;
var _2E1 = _1E1;
var _3E1 = _4E1;
var _5E1 = _Rd1;
var _6E1 = _7E1;
var _8E1 = _9E1;
var _aE1 = _bE1;
var _cE1 = _dE1;
var _eE1 = _fE1;
var _gE1 = _hE1;
var _iE1 = _jE1;
var _kE1 = _lE1;
var _mE1 = _nE1;
var _oE1 = _pE1;
var _qE1 = _rE1;
var _sE1 = _tE1;
var _uE1 = _vE1;
var _wE1 = _xE1;
var _yE1 = _zE1;
var _AE1 = _BE1;
function _rB(_911) {
if (_CE1._A2[yyGetInt32(_911)]) return true;
return false;
}
function _oI(_911) {
var _DE1 = _CE1._A2[yyGetInt32(_911)];
if (!_DE1) return 0;
if (!_DE1._D2) return 0;
return _DE1._D2.length;
}
function _lI(_911, _6B1) {
_6B1 = yyGetInt32(_6B1);
if (_6B1 < 0) return 0;
var _DE1 = _CE1._A2[yyGetInt32(_911)];
if (!_DE1) return 0;
if (!_DE1._D2) return 0;
if (_DE1._D2._EE1 >= _6B1) return 0;
return _DE1._D2[_6B1].x;
}
function _nI(_911, _6B1) {
_6B1 = yyGetInt32(_6B1);
if (_6B1 < 0) return 0;
var _DE1 = _CE1._A2[yyGetInt32(_911)];
if (!_DE1) return 0;
if (!_DE1._D2) return 0;
if (_DE1._D2._EE1 >= _6B1) return 0;
return _DE1._D2[_6B1].y;
}
function _yH(_911, _wc1) {
var _DE1 = _CE1._A2[yyGetInt32(_911)];
if (!_DE1) return -1;
return _DE1._FE1(yyGetReal(_wc1));
}
function _kH(_911) {
var _DE1 = _CE1._A2[yyGetInt32(_911)];
if (!_DE1) return -1;
var _GE1 = new _HE1();
_CE1._Da1(_GE1);
_GE1._IE1(_DE1);
return _GE1.id;
}
var _JE1 = _KE1;
function _KE1(_Ub1, _LE1, _ME1, _NE1) {
_LE1 = yyGetReal(_LE1);
_ME1 = yyGetReal(_ME1);
var _DE1 = _CE1._A2[yyGetInt32(_Ub1)];
if (!_DE1) return;
_R41.globalAlpha = _K71;
_R41.strokeStyle = _qt1;
var _j21, _l21, _OE1;
var _PE1 = 0;
var _QE1 = _DE1._RE1(0);
if (!yyGetBool(_NE1)) {
_LE1 = _LE1 - _QE1.x;
_ME1 = _ME1 - _QE1.y;
} else {
_LE1 = 0;
_ME1 = 0;
}
_PE1 = _zc1(_DE1.length / 4.0);
if (_PE1 == 0) return;
var first = true;
_R41._Vt1();
for (var _X9 = 0; _X9 <= _PE1; _X9++) {
_QE1 = _DE1._RE1(_X9 / _PE1);
if (first) {
_R41._Wt1(_LE1 + _QE1.x, _ME1 + _QE1.y);
first = false;
} else {
_R41._Xt1(_LE1 + _QE1.x, _ME1 + _QE1.y);
}
}
_R41._Zt1();
_R41._Yt1();
}
function _xH(_Ub1, _LE1, _ME1) {
var _DE1 = _CE1._A2[yyGetInt32(_Ub1)];
if (!_DE1) return;
_DE1._SE1(yyGetReal(_LE1), yyGetReal(_ME1));
}
function _wH(_Ub1) {
var _DE1 = _CE1._A2[yyGetInt32(_Ub1)];
if (!_DE1) return;
_DE1._TE1();
}
function _pI(_911) {
var _DE1 = _CE1._A2[yyGetInt32(_911)];
if (!_DE1) return;
_CE1._qz1(_DE1);
}
var _UE1 = new _VE1();
var _WE1 = new _VE1();
var _XE1 = new _VE1();
function _YE1() {
var _ZE1 = _UE1._Da1(new __E1());
return _ZE1;
}
function _0F1(_1F1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._3F1();
}
function _4F1(_1F1, _5F1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._6F1(yyGetReal(_5F1));
}
function _7F1(_1F1, _8F1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._9F1(yyGetReal(_8F1));
}
function _aF1(_1F1, _bF1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._cF1(yyGetReal(_bF1));
}
function _dF1(_1F1, _eF1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._fF1(yyGetInt32(_eF1));
}
function _gF1(_1F1, _hF1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._iF1(yyGetBool(_hF1));
}
function _jF1(_1F1, _kF1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._lF1(yyGetReal(_kF1));
}
function _mF1(_1F1, _kF1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._nF1(yyGetReal(_kF1));
}
function _oF1(_1F1, _pF1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._qF1(yyGetInt32(_pF1));
}
function _rF1(_1F1, _sF1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._tF1(yyGetReal(_sF1) * _D01._uF1._vF1);
}
function _wF1(_1F1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
_2F1._xF1();
}
function _yF1(_1F1, _zF1, _AF1) {
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
var scale = _D01._uF1._vF1;
_2F1._BF1(yyGetReal(_zF1) * scale, yyGetReal(_AF1) * scale);
}
function _CF1(_xd1, _1F1, _Ub1, _DF1, _EF1) {
_DF1 = yyGetReal(_DF1);
_EF1 = yyGetReal(_EF1);
var _FF1 = -1;
var _GF1 = -1;
var _2F1 = _UE1._s11(yyGetInt32(_1F1));
var _Lc1 = yyGetInt32(_Ub1);
if (_Lc1 == _HF1) {
_Lc1 = _xd1.id;
}
if (_Lc1 == _JB1) {
var _xc1 = _iy1._jC1();
for (var _Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
var _Yv1 = _xc1[_Xv1];
if (_Yv1._nC1) continue;
_FF1 = _D01._uF1._IF1(_2F1, _Yv1, _DF1, _EF1);
}
} else if (_Lc1 < 100000) {
var _8q1 = _o01._s11(_Lc1);
if (_8q1 === null) {
return _GF1;
}
var _xc1 = _8q1._JF1();
for (var _Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
var _Yv1 = _xc1[_Xv1];
if (_Yv1._nC1) continue;
_FF1 = _D01._uF1._IF1(_2F1, _Yv1, _DF1, _EF1);
}
} else {
var _Yv1 = _iy1._s11(_Lc1);
_FF1 = _D01._uF1._IF1(_2F1, _Yv1, _DF1, _EF1);
}
return _FF1;
}
function _KF1(_xd1, _1F1, _Ub1, _LF1, _MF1) {
_1F1 = yyGetInt32(_1F1);
_Ub1 = yyGetInt32(_Ub1);
_LF1 = yyGetReal(_LF1);
_MF1 = yyGetReal(_MF1);
if (_LF1 !== undefined && _MF1 !== undefined) {
return _CF1(_xd1, _1F1, _Ub1, _LF1, _MF1);
} else {
return _CF1(_xd1, _1F1, _Ub1, 0.0, 0.0);
}
}
var _NF1 = !1;
var _OF1 = !1;
function _PF1(_911, _M71, _QF1) {
var _RF1 = _By1._s11(yyGetInt32(_911));
if (_RF1 === null) return;
_RF1._SF1._If = yyGetInt32(_M71);
_RF1._SF1._Kf = yyGetBool(_QF1);
}
var _TF1 = _PF1;
function _3m(_py1) {
_py1 = yyGetInt32(_py1);
var _UF1 = _By1._s11(_py1);
if (_UF1 == null || _UF1 == undefined) {
_Mo1("Error: Room " + _py1 + " is not a valid room index");
} else {
_VF1 = _py1;
}
}
function _8p() {
_VF1 = _WF1;
if (_NF1 == false) {
_NF1 = true;
if (typeof _X_ == "function") {
_X_();
}
}
if (!_OF1) {
if (arguments.length > 0) _4z("###game_end###" + arguments[0]);
else _4z("###game_end###0");
_OF1 = true;
}
}
var _XF1 = function () {
_w61("yy_texture_get_texel_width()");
};
var _YF1 = function () {
_w61("yy_texture_get_texel_height()");
};
var _ZF1 = function () {
_w61("texture_set_stage()");
};
var __F1 = function () {
_w61("shader_is_compiled()");
};
var _0G1 = function () {
_w61("shader_set()");
};
var _1G1 = function () {
_w61("shader_get_uniform()");
};
var _2G1 = function () {
_w61("shader_set_uniform_i()");
};
var _3G1 = function () {
_w61("shader_set_uniform_f()");
};
var _4G1 = function () {
_w61("shader_set_uniform_matrix()");
};
var _5G1 = function () {
_w61("shader_set_uniform_matrix()");
};
var _6G1 = function () {
_w61("shader_enable_corner_id()");
};
var _7G1 = function () {
_w61("shader_set_uniform_array_i()");
};
var _8G1 = function () {
_w61("shader_set_uniform_array_f()");
};
var _9G1 = function () {
_w61("shader_set_uniform_matrix_array()");
};
var _j51 = -1;
function _aG1() {
return 0;
}
function _gU(_bG1) {
_bG1 = yyGetInt32(_bG1);
_j51 = _bG1;
_0G1(_bG1);
}
function _sU() {
_j51 = -1;
_0G1(-1);
}
function _0U(_bG1, _cG1) {
return _1G1(yyGetInt32(_bG1), yyGetString(_cG1));
}
function _hU() {
var _dG1 = arguments[0];
var _eG1 = [].splice.call(arguments, 1, arguments.length);
_3G1(_dG1, _eG1);
}
function _n51(_fG1, _as1) {
_8G1(yyGetInt32(_fG1), _as1);
}
var _gG1 = [];
var _hG1 = 300000;
var _iG1 = _hG1;
var _jG1 = {};
var _kG1 = 0;
var audio_sampledata = [];
var _lG1 = !1;
var _mG1 = 0;
var _nG1 = 128;
var _oG1 = 100000;
var _pG1 = [];
var _qG1 = [];
var _rG1 = 0;
var _sG1 = 200000;
var _tG1 = [];
var _uG1 = [];
var _vG1 = 0;
var _wG1 = 1024;
var _xG1 = 0;
var _yG1 = [];
var _zG1 = [];
var _AG1 =
"data:audio/wav;base64,UklGRs4/AABXQVZFZm10IBIAAAABAAEAIlYAAESsAAACABAAAABkYXRhTisAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v7+/v7+/v7+/v7+/v7+/v4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v4AAP7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIBAgECAQIBAgECAQIBAgECAQIBAgEAAAAAAAACAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgEAAAAAAAAAAAAAAAAAAAAAAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQAAAAACAQIBAgECAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAQIBAgEAAAAAAAAAAAAAAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgEAAAAAAAAAAAAAAAAAAAIBAgECAQIBAgECAQIBAgECAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAQIBAgECAQIBAgECAQIBAgEAAAAAAAAAAAIBAgECAQIBAgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgECAQIBAgECAQIBAgECAQIBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAAACAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQIBAgECAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIBAgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMSVNUTgAAAElORk9JQ1JEFQAAADIwMTgtMTEtMjNUMTQ6Mzg6MDZaAABJU0ZUIwAAAEFkb2JlIEF1ZGl0aW9uIENDIDIwMTguMCAoV2luZG93cykAAF9QTVj7EwAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDMgNzkuMTYxMjEwLCAyMDE3LzA4LzExLTEwOjI4OjM2ICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXBETT0iaHR0cDovL25zLmFkb2JlLmNvbS94bXAvMS4wL0R5bmFtaWNNZWRpYS8iCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICAgICAgICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+CiAgICAgICAgIDx4bXBETTpUcmFja3M+CiAgICAgICAgICAgIDxyZGY6QmFnPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHhtcERNOnRyYWNrTmFtZT5DdWVQb2ludCBNYXJrZXJzPC94bXBETTp0cmFja05hbWU+CiAgICAgICAgICAgICAgICAgIDx4bXBETTp0cmFja1R5cGU+Q3VlPC94bXBETTp0cmFja1R5cGU+CiAgICAgICAgICAgICAgICAgIDx4bXBETTpmcmFtZVJhdGU+ZjIyMDUwPC94bXBETTpmcmFtZVJhdGU+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHhtcERNOnRyYWNrTmFtZT5DRCBUcmFjayBNYXJrZXJzPC94bXBETTp0cmFja05hbWU+CiAgICAgICAgICAgICAgICAgIDx4bXBETTp0cmFja1R5cGU+VHJhY2s8L3htcERNOnRyYWNrVHlwZT4KICAgICAgICAgICAgICAgICAgPHhtcERNOmZyYW1lUmF0ZT5mMjIwNTA8L3htcERNOmZyYW1lUmF0ZT4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8eG1wRE06dHJhY2tOYW1lPlN1YmNsaXAgTWFya2VyczwveG1wRE06dHJhY2tOYW1lPgogICAgICAgICAgICAgICAgICA8eG1wRE06dHJhY2tUeXBlPkluT3V0PC94bXBETTp0cmFja1R5cGU+CiAgICAgICAgICAgICAgICAgIDx4bXBETTpmcmFtZVJhdGU+ZjIyMDUwPC94bXBETTpmcmFtZVJhdGU+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpCYWc+CiAgICAgICAgIDwveG1wRE06VHJhY2tzPgogICAgICAgICA8eG1wOk1ldGFkYXRhRGF0ZT4yMDE4LTExLTIzVDE0OjM4OjA2WjwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBBdWRpdGlvbiBDQyAyMDE4LjAgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE4LTExLTIzVDE0OjM4OjA2WjwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE4LTExLTIzVDE0OjM4OjA2WjwveG1wOk1vZGlmeURhdGU+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnhtcC5paWQ6MDdiYWRmMTgtYTM5OS02YTQyLWI1OTUtMDU0NGI4ODI3YzY3PC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD54bXAuZGlkOjQ5NDBjY2YzLTA3M2UtMTY0MS05OTVhLTFlY2E2MTYxZDZmMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjQ5NDBjY2YzLTA3M2UtMTY0MS05OTVhLTFlY2E2MTYxZDZmMTwveG1wTU06T3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpTZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6NDk0MGNjZjMtMDczZS0xNjQxLTk5NWEtMWVjYTYxNjFkNmYxPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE4LTExLTIzVDE0OjM4OjA2Wjwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgQXVkaXRpb24gQ0MgMjAxOC4wIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+L21ldGFkYXRhPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjA3YmFkZjE4LWEzOTktNmE0Mi1iNTk1LTA1NDRiODgyN2M2Nzwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxOC0xMS0yM1QxNDozODowNlo8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIEF1ZGl0aW9uIENDIDIwMTguMCAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpTZXE+CiAgICAgICAgIDwveG1wTU06SGlzdG9yeT4KICAgICAgICAgPGRjOmZvcm1hdD5hdWRpby94LXdhdjwvZGM6Zm9ybWF0PgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+AA==";
var _BG1 = { _CG1: 0, _DG1: 1, _EG1: 2, _FG1: 3, _GG1: 4, _HG1: 5, _IG1: 6 };
var _JG1 = { _KG1: 0, _LG1: 1, _MG1: 2 };
var _NG1 = { _OG1: "init", _PG1: "loading", _QG1: "loaded", _RG1: "decoding", _SG1: "ready" };
var _TG1 = { _UG1: "suspended", _VG1: "running", _WG1: "closed" };
var _XG1 = { _YG1: "Audio_Play" };
var _ZG1 = 0;
var __G1 = 1.0;
var _0H1 = 0;
function _1H1() {
if (_pb1 != _qb1) return;
_mG1++;
var _2H1 = g_WebAudioContext.currentTime;
for (var _X9 = 0; _X9 < _zG1.length; ++_X9) {
var _3H1 = _zG1[_X9];
var _xC = (_2H1 - _3H1._4H1) / _3H1.duration;
_xC = Math.max(0, Math.min(_xC, 1));
var _5H1 = (1 - _xC) * _3H1._6H1 + _xC * _3H1._7H1;
var _8H1 = _xC >= 1;
var _9H1 = _3H1._aH1;
if (_9H1 !== null) {
if (_9H1._bH1) {
var _cH1 = audio_sampledata[_9H1._dH1].gain;
_9H1.gain = _5H1;
_9H1._eH1.gain.value = _9H1.gain * _cH1;
} else {
_8H1 = true;
}
} else if (_3H1._fH1 !== null) {
_3H1._fH1.gain = _5H1;
for (var _W11 = 0; _W11 < _xG1; ++_W11) {
var _gH1 = _gG1[_W11];
if (_gH1._bH1 && _gH1._dH1 == _3H1._dH1) {
_gH1._eH1.gain.value = _gH1.gain * _3H1._fH1.gain;
}
}
}
if (_8H1) {
_zG1.splice(_X9, 1);
--_X9;
}
}
}
var _hH1;
function _iH1() {
if (_pb1 != _qb1) {
return;
}
_jH1.disconnect();
_jH1 = g_WebAudioContext.createGain();
_jH1.connect(g_WebAudioContext.destination);
g_WebAudioContext.listener._yc1 = new _Zk1(0, 0, 0);
g_WebAudioContext.listener._kH1 = new _Zk1(0, 0, 0);
g_WebAudioContext.listener._lH1 = new Array(0, 0, 0, 0, 0, 0);
}
function _mH1() {
if (_pb1 != _qb1) {
return;
}
_nH1 = _oH1 == _pH1;
_jH1 = g_WebAudioContext.createGain();
_jH1.connect(g_WebAudioContext.destination);
_qH1(_BG1._CG1);
var _rH1;
if (typeof document.hidden !== "undefined") {
_hH1 = "hidden";
_rH1 = "visibilitychange";
} else if (typeof document.mozHidden !== "undefined") {
_hH1 = "mozHidden";
_rH1 = "mozvisibilitychange";
} else if (typeof document.msHidden !== "undefined") {
_hH1 = "msHidden";
_rH1 = "msvisibilitychange";
} else if (typeof document.webkitHidden !== "undefined") {
_hH1 = "webkitHidden";
_rH1 = "webkitvisibilitychange";
}
document.addEventListener(_rH1, _sH1, false);
g_WebAudioContext.listener._yc1 = new _Zk1(0, 0, 0);
g_WebAudioContext.listener._kH1 = new _Zk1(0, 0, 0);
g_WebAudioContext.listener._lH1 = new Array(0, 0, 0, 0, 0, 0);
_tH1(0, 0, 0);
_uH1(0, 0, 1.0, 0, 1.0, 0.0);
_vH1();
_wH1();
_xH1();
}
/*@constructor */ function _yH1(_zH1, _AH1, _E11) {
this._dH1 = _zH1;
this._7H1 = _AH1;
this._4H1 = g_WebAudioContext.currentTime;
this.duration = _E11 * 0.001;
if (_zH1 >= _hG1) {
this._aH1 = _BH1(_zH1);
this._6H1 = this._aH1.gain;
} else {
this._fH1 = audio_sampledata[_zH1];
this._aH1 = null;
this._6H1 = this._fH1.gain;
}
}
/*@constructor */ function _CH1() {
this.buffer = null;
this.gain = 1.0;
this._DH1 = 1.0;
this._EH1 = 1.0;
this.duration = 0.0;
this._FH1 = 0.0;
this._j2 = 0;
this._e2 = 0;
this.state = _NG1._OG1;
this._GH1 = [];
}
_CH1.prototype._HH1 = function () {
for (var _X9 = 0; _X9 < this._GH1.length; ++_X9) {
var _IH1 = this._GH1[_X9];
switch (_IH1[0]) {
case _XG1._YG1:
_JH1(_IH1[1], _IH1[2], _IH1[3]);
break;
}
}
this._GH1.length = 0;
};
_CH1.prototype._KH1 = function (_LH1, _MH1) {
if (this.state != _NG1._QG1 || !_LH1) return false;
var _fH1 = this;
_fH1.state = _NG1._RG1;
g_WebAudioContext.decodeAudioData(
_LH1.response,
function (buffer) {
_fH1.buffer = buffer;
_fH1.state = _NG1._SG1;
if (_MH1) _fH1._HH1();
},
function (err) {
_fH1.state = _NG1._QG1;
debug("ERROR: Failed to decode audio data: " + err);
}
);
return true;
};
/*@constructor */ function _aH1(_zH1, _NH1, _OH1) {
this._eH1 = g_WebAudioContext.createGain();
this._PH1 = null;
this._dG1 = 0;
this._ay1(_zH1, _NH1, _OH1);
}
_aH1.prototype._ay1 = function (_zH1, _NH1, _OH1) {
this._bH1 = false;
this._QH1 = g_WebAudioContext.currentTime;
this.playbackpoint = 0;
this._RH1 = null;
this._eH1.disconnect();
this.gain = 1.0;
this._eH1.gain.value = 1;
this._PH1 = null;
this.paused = false;
this._dH1 = _zH1;
this._SH1 = _OH1;
this._TH1 = false;
this._UH1 = _NH1;
this._VH1 = false;
this._WH1 = false;
this._XH1 = false;
this._YH1 = null;
this._ZH1 = null;
if (_zH1 >= 0) {
this._VH1 = __H1(_zH1);
this._WH1 = _0I1(_zH1);
this._XH1 = _1I1(_zH1);
if (!this._WH1 && !this._XH1) {
this._eH1.gain.value = audio_sampledata[_zH1].gain;
if (this._dG1 >= _hG1) {
_yG1[this._dG1 - _hG1] = null;
}
this._dG1 = _iG1;
_yG1[_iG1 - _hG1] = this;
++_iG1;
}
}
};
function _BH1(_fG1) {
if (_fG1 < _hG1 || _fG1 >= _iG1) {
debug("Error: invalid sound handle " + _fG1);
return null;
}
var _9H1 = _yG1[_fG1 - _hG1];
if (_9H1 == undefined) {
return null;
}
return _9H1;
}
function __H1(_dH1) {
if (_nH1) return false;
if (_dH1 >= 0 && _dH1 < audio_sampledata.length) {
if (audio_sampledata[_dH1]._e2 == 1) {
return true;
}
} else if (_dH1 < _oG1) {
debug("IsSoundStreamed - Error: soundid " + _dH1 + " not found");
}
return false;
}
function _0I1(_dH1) {
if (_dH1 >= _oG1 && _dH1 < _sG1) {
return true;
}
return false;
}
function _1I1(_dH1) {
if (_dH1 >= _sG1 && _dH1 < _hG1) {
return true;
}
return false;
}
function _2I1(_zH1) {
var _9H1 = _Ho1._c2[_zH1];
if (_9H1 == null) {
_3I1 = "";
_9H1 = audio_sampledata[_zH1];
if (_9H1 != null && _9H1._4I1 !== undefined) {
_3I1 = _5I1(_9H1._4I1);
}
return _3I1;
}
var _3I1 = _x31 + _9H1._g2;
var _6I1 = _9H1._f2;
_3I1 = _5I1(_3I1);
var index = _3I1.indexOf(_6I1);
if (index > 0) {
_3I1 = _3I1.substr(0, index);
}
if (_7I1) {
_6I1 = "ogg";
} else if (_8I1) {
_6I1 = "mp3";
} else {
_6I1 = "ogg";
}
_3I1 = _3I1 + "." + _6I1;
return _3I1;
}
var _9I1 = !1;
var _aI1 = !1;
var _bI1 = !1;
var _nH1 = !1;
function _cI1() {
_xH1();
return _aI1 && g_WebAudioContext && g_WebAudioContext.state !== _TG1._UG1;
}
function _xH1() {
if (_aI1 || _bI1) return;
_bI1 = true;
var _YH1 = new Audio(_AG1);
_YH1.controls = false;
_YH1.autoplay = true;
_YH1.preload = "none";
document.body.appendChild(_YH1);
try {
var _dI1 = _YH1.play();
if (_dI1 !== undefined) {
_dI1.then(function () {
debug("WebAudio autoplay test passed.");
_aI1 = true;
_bI1 = false;
_eI1();
document.body.removeChild(_YH1);
}).catch(function (error) {
console.log("WebAudio autoplay test failed: ", error);
document.body.removeChild(_YH1);
_bI1 = false;
_fI1();
});
} else {
console.log("WebAudio autoplay test failed: Playback promise invalid.");
document.body.removeChild(_YH1);
_bI1 = false;
_fI1();
}
} catch (_dc1) {
debug("WebAudio autoplay test failed with exception: " + _dc1);
document.body.removeChild(_YH1);
_bI1 = false;
_fI1();
}
}
function _fI1() {
if (_9I1) return;
_9I1 = true;
var _gI1 = "mousedown";
var _hI1 = "mouseup";
if ("ontouchstart" in window) {
_gI1 = "touchstart";
_hI1 = "touchend";
}
var _iI1 = function () {
g_WebAudioContext.resume().then(
function () {
_xH1();
document.body.removeEventListener(_gI1, _iI1);
document.body.removeEventListener(_hI1, _iI1);
_9I1 = false;
debug("WebAudio Context unlocked.");
},
function (_jI1) {
debug("ERROR: Failed to unlock WebAudio Context. Reason: " + _jI1);
}
);
};
document.body.addEventListener(_gI1, _iI1, false);
document.body.addEventListener(_hI1, _iI1, false);
}
function _kI1() {
debug("WebAudio Context state updated to: " + g_WebAudioContext.state);
if (g_WebAudioContext.state !== _TG1._UG1) _xH1();
_eI1();
}
function _eI1() {
var _lI1 = _cI1();
var map = _Dq();
_rn._mI1 = map;
_lu(map, "event_type", "audio_system_status");
_lu(map, "status", _lI1 ? "available" : "unavailable");
_o01._p01(_nI1, 0);
_Tm(map);
_rn._mI1 = -1;
}
function _JH1(_oI1, _zH1, _pI1) {
var _qI1 = _rI1(_zH1);
var _sI1 = _oI1._VH1 && !_nH1;
if (_qI1.state != _NG1._SG1) {
var _tI1 = _uI1._s11(_zH1);
if (_qI1.state == _NG1._QG1 && !_sI1 && _tI1) {
var _vI1 = _wI1[_tI1._d2];
if (_vI1) _qI1._KH1(_vI1, true);
}
_qI1._GH1.push([_XG1._YG1, _oI1, _zH1, _pI1]);
return false;
}
var _xI1 = _qI1._FH1;
if (_sI1) _yI1(_oI1, _zH1, _pI1, _xI1);
else _zI1(_oI1, _zH1, _pI1, _xI1);
_oI1._bH1 = true;
return true;
}
function _yI1(_oI1, _zH1, _pI1, _AI1, _BI1) {
var _CI1 = _2I1(_zH1);
try {
if (_oI1._YH1 != null) {
document.body.removeChild(_oI1._YH1);
}
_oI1._YH1 = new Audio();
var _YH1 = _oI1._YH1;
_YH1.controls = false;
_YH1.autoplay = true;
_YH1.preload = "none";
_YH1.loop = _pI1 != 0 ? true : false;
_YH1.src = _DI1(null, null, _CI1);
document.body.appendChild(_YH1);
if (_AI1 > 0) {
_YH1.addEventListener(
"loadedmetadata",
function () {
_oI1._YH1.currentTime = _AI1;
},
false
);
}
_YH1.load();
try {
var _dI1 = _YH1.play();
if (_dI1 !== undefined) {
_dI1.then(function () {
if (_BI1) _BI1();
}).catch(function (error) {
console.log("playback failed ", error);
_EI1(_oI1);
});
}
} catch (_FI1) {
debug("audio_tag.play() exception: " + _FI1);
}
_oI1._dH1 = _zH1;
_YH1.addEventListener(
"ended",
function (e) {
if (_oI1._YH1 == this) {
_EI1(_oI1);
} else {
document.body.removeChild(this);
}
},
false
);
_oI1._ZH1 = g_WebAudioContext.createMediaElementSource(_YH1);
_oI1._ZH1.connect(_oI1._eH1);
} catch (_FI1) {
debug("Audio_PlayStreamed exception: " + _FI1);
return false;
}
}
function _rb1() {
var _9H1 = g_WebAudioContext.createBufferSource();
var gain = g_WebAudioContext.createGain();
_9H1.connect(gain);
gain.connect(g_WebAudioContext.destination);
gain.gain.value = 0;
_9H1.start(0);
if (g_WebAudioContext.sampleRate === 48000) {
if (_oH1 == _pH1) {
debug("Recreating audiocontext to fix sample rate");
try {
g_WebAudioContext = new AudioContext();
} catch (e) {
try {
g_WebAudioContext = new webkitAudioContext();
} catch (e) {
debug("Web Audio API not supported in this browser");
_pb1 = _GI1;
}
}
g_WebAudioContext.addEventListener("statechange", _kI1);
_eI1();
_9H1 = g_WebAudioContext.createBufferSource();
gain = g_WebAudioContext.createGain();
_9H1.connect(gain);
gain.connect(g_WebAudioContext.destination);
gain.gain.value = 0;
_9H1.start(0);
_iH1();
for (var _X9 = 0; _X9 < _xG1; ++_X9) {
_gG1[_X9]._eH1 = g_WebAudioContext.createGain();
}
debug("Sample rate now " + g_WebAudioContext.sampleRate);
}
}
}
function _HI1() {
var _dH1 = -1;
for (index = 0; index < _Ho1._c2.length; index++) {
if (_Ho1._c2[index]._e2 == 1) {
_dH1 = index;
break;
}
}
if (_dH1 == -1) return;
var _aH1 = _II1(_dH1, 1, false);
if (_aH1 == null) return;
_aH1._eH1.gain.value = 0;
_aH1._bH1 = true;
_yI1(_aH1, _dH1, false, 0, function () {
_EI1(_aH1);
});
}
function _zI1(_oI1, _zH1, _JI1, _AI1) {
_oI1._dH1 = _zH1;
try {
var _KI1 = null;
var _LI1 = false;
if (_zH1 >= _sG1 && _zH1 < _sG1 + _vG1) {
_LI1 = true;
var _MI1 = _zH1 - _sG1;
_tG1[_MI1]._NI1.connect(_oI1._eH1);
_tG1[_MI1].gainnode = _oI1._eH1;
_KI1 = _tG1[_MI1]._NI1;
} else {
var _qI1 = _rI1(_zH1);
var _EH1 = _qI1._EH1;
if (_oI1._PH1 != null) {
_EH1 *= _oI1._PH1._EH1;
}
_oI1._RH1 = g_WebAudioContext.createBufferSource();
_oI1._RH1.playbackRate.value = _EH1;
_oI1._RH1.loop = _JI1;
_oI1._RH1.buffer = _qI1.buffer;
_oI1._RH1.connect(_oI1._eH1);
_KI1 = _oI1._RH1;
}
_oI1._QH1 = g_WebAudioContext.currentTime;
_KI1.onended = function (event) {
_oI1._bH1 = false;
if (true === _oI1._RH1.loop) _zI1(_oI1, _zH1, _JI1, _AI1);
};
if (!_LI1) {
if (_AI1 != undefined) {
if (!_KI1.start) _KI1.noteOn(_AI1);
else _KI1.start(0, _AI1);
_oI1.playbackpoint = _AI1;
} else {
_KI1.start(0);
_oI1.playbackpoint = 0;
}
}
} catch (_FI1) {
debug("Audio_PlayUnstreamed exception: " + _FI1);
}
}
function _EI1(_oI1) {
if (_oI1._bH1) {
if (_oI1._VH1) _OI1(_oI1);
else _PI1(_oI1);
_oI1._dH1 = -1;
_oI1._bH1 = false;
}
}
function _OI1(_oI1) {
if (_oI1._YH1 != null) {
try {
_oI1._YH1.pause();
_oI1._ZH1.disconnect();
if (_oI1._eH1 != null) _oI1._eH1.disconnect();
_aH1._PH1 = null;
document.body.removeChild(_oI1._YH1);
_oI1._YH1 = null;
} catch (_FI1) {
debug("Audio_StopStreamed exception: " + _FI1);
}
}
}
function _PI1(_oI1) {
try {
if (_oI1._dH1 >= _sG1 && _oI1._dH1 < _sG1 + _vG1) {
var _QI1 = _oI1._dH1 - _sG1;
_tG1[_QI1]._NI1.onended = null;
_tG1[_QI1]._NI1.disconnect();
} else if (_oI1._RH1 != null) {
_oI1._RH1.onended = null;
_oI1._RH1.loop = false;
_oI1._RH1.stop(0);
_oI1._RH1.disconnect();
}
if (_oI1._eH1 != null) _oI1._eH1.disconnect();
_oI1._PH1 = null;
} catch (_FI1) {
debug("Audio_StopUnstreamed exception: " + _FI1);
}
}
function _RI1(_oI1) {
if (_oI1._bH1 && !_oI1.paused) {
if (_oI1._XH1) {
_SI1(_oI1);
} else if (_oI1._VH1) _TI1(_oI1);
else _SI1(_oI1);
_oI1.paused = true;
}
}
function _TI1(_oI1) {
try {
_oI1._YH1.pause();
} catch (_FI1) {
debug("Audio_PauseStreamed exception: " + _FI1);
}
}
function _SI1(_oI1) {
try {
if (_oI1._dH1 >= _sG1 && _oI1._dH1 < _sG1 + _vG1) {
var _QI1 = _oI1._dH1 - _sG1;
_tG1[_QI1]._NI1.disconnect(0);
_tG1[_QI1]._NI1.onended = null;
} else {
_oI1._RH1.onended = null;
_oI1._RH1.stop(0);
_oI1.playbackpoint = _UI1(_oI1);
}
} catch (_FI1) {
debug("Audio_PauseUnstreamed exception: " + _FI1);
}
}
function _VI1(_oI1) {
if (_oI1._bH1 && _oI1.paused) {
if (_oI1._XH1) {
_WI1(_oI1);
} else if (_oI1._VH1) _XI1(_oI1);
else _WI1(_oI1);
_oI1.paused = false;
}
}
function _XI1(_oI1) {
if (_oI1.paused) {
try {
_oI1._YH1.play();
} catch (_FI1) {
debug("Audio_ResumeStreamed exception: " + _FI1);
}
}
}
function _WI1(_oI1) {
try {
if (_oI1._dH1 >= _sG1 && _oI1._dH1 < _sG1 + _vG1) {
var _QI1 = _oI1._dH1 - _sG1;
_tG1[_QI1]._NI1.connect(_oI1._eH1);
_tG1[_QI1]._NI1.onended = function (event) {
_oI1._bH1 = false;
};
} else {
var _EH1 = _oI1._RH1 != null ? _oI1._RH1.playbackRate.value : 1;
_oI1._RH1 = g_WebAudioContext.createBufferSource();
_oI1._RH1.playbackRate.value = _EH1;
_oI1._QH1 = g_WebAudioContext.currentTime;
_oI1._eH1 = g_WebAudioContext.createGain();
var _fH1 = _rI1(_oI1._dH1);
_oI1._eH1.gain.value = _oI1.gain * _fH1.gain;
_oI1._RH1.connect(_oI1._eH1);
_oI1._RH1.onended = function (event) {
_oI1._bH1 = false;
};
if (_oI1._PH1 != null) {
_oI1._eH1.connect(_oI1._PH1);
} else {
_oI1._eH1.connect(_jH1);
}
_oI1._RH1.buffer = _fH1.buffer;
if (_oI1._SH1 > 0) _oI1._RH1.loop = true;
{
var _YI1 = Math.floor(_oI1.playbackpoint / _oI1._RH1.buffer.duration);
var _ZI1 = _oI1.playbackpoint - _YI1 * _oI1._RH1.buffer.duration;
_oI1._RH1.start(0, _ZI1);
}
}
} catch (_FI1) {
debug("Audio_ResumeUnstreamed exception: " + _FI1);
}
}
function __I1(_oI1) {
var _0J1 = false;
if (_oI1._bH1) {
return _oI1.paused;
}
return false;
}
function _1J1(_oI1) {
var _2J1 = false;
if (_oI1._bH1) {
if (_oI1._XH1) {
var _3J1 = _tG1[_oI1._dH1 - _sG1];
if (!_3J1) return false;
if (!_3J1._NI1) return false;
if (!_3J1._NI1.onended) return false;
else return true;
} else if (_oI1._VH1) _2J1 = _4J1(_oI1);
else _2J1 = _5J1(_oI1);
}
return _2J1;
}
function _5J1(_oI1) {
if (_oI1._RH1 != null) {
if (_oI1._RH1.playbackState == undefined || _oI1._RH1.playbackState != _oI1._RH1.FINISHED_STATE || _oI1.paused) {
return true;
}
}
return false;
}
function _4J1(_oI1) {
if (_oI1._YH1 != null) {
if (!_oI1._YH1.ended) {
return true;
}
}
return false;
}
function _II1(_zH1, _NH1, _OH1) {
if (_pb1 != _qb1) return null;
var _X9;
var _9H1;
for (_X9 = 0; _X9 < _xG1; ++_X9) {
_9H1 = _gG1[_X9];
if (!_9H1._bH1) {
_9H1._ay1(_zH1, _NH1, _OH1);
return _9H1;
} else {
if (_9H1._XH1 && _9H1._dH1 == _zH1) return null;
var _6J1 = false;
if (_9H1._VH1) {
_6J1 = _9H1._YH1 == null || _9H1._YH1.ended;
} else {
_6J1 = _9H1._RH1 != null && _9H1._RH1.playbackState != undefined && _9H1._RH1.playbackState == _9H1._RH1.FINISHED_STATE && !_9H1.paused;
}
if (_6J1) {
_9H1._ay1(_zH1, _NH1, _OH1);
return _9H1;
}
}
}
if (_xG1 < _nG1) {
var _7J1 = new _aH1(_zH1, _NH1, _OH1);
_gG1[_xG1] = _7J1;
++_xG1;
return _7J1;
}
var _8J1 = _NH1;
var _9J1 = -1;
for (_X9 = 0; _X9 < _xG1; ++_X9) {
_9H1 = _gG1[_X9];
if (_9H1._UH1 < _8J1) {
_9J1 = _X9;
_8J1 = _9H1._UH1;
}
}
if (_9J1 >= 0) {
debug("killing sound on channel " + _9J1);
var _aJ1 = _gG1[_9J1];
_EI1(_aJ1);
_aJ1._ay1(_zH1, _NH1, _OH1);
return _aJ1;
}
debug("reached max sounds and no lower priority");
return null;
}
function _rI1(_dH1) {
var _qI1 = null;
if (_dH1 >= 0 && _dH1 <= audio_sampledata.length) {
_qI1 = audio_sampledata[_dH1];
} else {
var _bJ1 = _dH1 - _oG1;
if (_bJ1 >= 0 && _bJ1 < _rG1) {
_qI1 = _qG1[_bJ1];
} else {
var _QI1 = _dH1 - _sG1;
if (_QI1 >= 0 && _QI1 < _vG1) {
_qI1 = _uG1[_QI1];
}
}
}
return _qI1;
}
function _FA(_dH1, _UH1, _SH1) {
_dH1 = yyGetInt32(_dH1);
_UH1 = yyGetReal(_UH1);
_SH1 = yyGetReal(_SH1);
var _qI1 = _rI1(_dH1);
if (_qI1 == null) {
debug("audio_play_sound - invalid sound index: " + _dH1);
return -1;
}
var _j2 = _qI1._j2;
if (!_cJ1(_j2)) {
debug(_dJ1(_dH1) + ": Audio Group " + _j2 + " is not loaded");
return -1;
}
if (!_cI1()) {
debug("audio_play_sound failed. WebAudio Context suspended - user must interact with the page before audio can be played.");
return -1;
}
var _7J1 = _II1(_dH1, _UH1, _SH1);
if (_7J1 == null) return -1;
_7J1._eH1.connect(_jH1);
_JH1(_7J1, _dH1, _SH1 > 0);
_7J1._dG1 = _iG1;
_yG1[_iG1 - _hG1] = _7J1;
++_iG1;
return _7J1._dG1;
}
function _CA(_zH1) {
if (_pb1 != _qb1) return;
_zH1 = yyGetInt32(_zH1);
var _9H1;
if (_zH1 >= _hG1) {
_9H1 = _BH1(_zH1);
if (_9H1 != null) {
if (_9H1._XH1) {
_yG1[_9H1._dG1 - _hG1] = undefined;
}
_EI1(_9H1);
}
} else {
for (var _X9 = 0; _X9 < _xG1; ++_X9) {
_9H1 = _gG1[_X9];
if (_9H1._dH1 == _zH1) _EI1(_9H1);
}
}
}
function _uM(_zH1, _EH1) {
_zH1 = yyGetInt32(_zH1);
_EH1 = yyGetReal(_EH1);
if (_zH1 < 0) return;
if (_pb1 != _qb1) {
return;
}
if (_zH1 >= _hG1) {
var _9H1 = _BH1(_zH1);
if (_9H1 != null && _9H1._bH1) {
if (!_9H1._VH1) {
{
if (_9H1._RH1.playbackState == undefined || _9H1._RH1.playbackState != _9H1._RH1.FINISHED_STATE) {
_9H1.playbackpoint = _UI1(_9H1);
_9H1._QH1 = g_WebAudioContext.currentTime;
_9H1._RH1.playbackRate.value = _EH1;
}
}
} else {
debug("pitch setting unsupported for streamed sounds");
}
}
} else {
if (audio_sampledata[_zH1].buffer != null) {
audio_sampledata[_zH1]._EH1 = _EH1;
for (var _X9 = 0; _X9 < _xG1; ++_X9) {
var _gH1 = _gG1[_X9];
if (_gH1._bH1 && _gH1._dH1 == _zH1) {
var _eJ1 = _EH1;
if (_gH1._PH1 != undefined) {
_eJ1 *= _gH1._PH1._EH1;
}
_gH1.playbackpoint = _UI1(_gH1);
_gH1._QH1 = g_WebAudioContext.currentTime;
_gH1._RH1.playbackRate.value = _eJ1;
}
}
} else {
debug("pitch setting unsupported for streamed sounds");
}
}
}
function _fJ1(index) {
for (var _X9 = 0; _X9 < _zG1.length; ++_X9) {
if (_zG1[_X9]._dH1 == index) {
_zG1.splice(_X9, 1);
return;
}
}
}
function _gJ1(index, _hJ1, time) {
for (var _X9 = 0; _X9 < _zG1.length; ++_X9) {
if (_zG1[_X9]._dH1 == index) {
_zG1[_X9] = new _yH1(index, _hJ1, time);
return;
}
}
_zG1.push(new _yH1(index, _hJ1, time));
}
function _EA(index, _hJ1, time) {
if (_pb1 != _qb1) return;
index = yyGetInt32(index);
_hJ1 = yyGetReal(_hJ1);
time = yyGetInt32(time);
if (index >= _hG1) {
var _9H1 = _BH1(index);
if (_9H1 == null) {
return;
}
if (_9H1._bH1) {
var _cH1 = audio_sampledata[_9H1._dH1].gain;
if (time <= 0) {
_fJ1(index);
var _iJ1 = _hJ1;
if (_iJ1 < 0) _iJ1 = 0;
if (_iJ1 > 1) _iJ1 = 1;
_9H1.gain = _iJ1;
_9H1._eH1.gain.value = _9H1.gain * _cH1;
} else {
_gJ1(index, _hJ1, time);
}
}
} else {
var __e1 = index;
if (audio_sampledata[__e1] != undefined) {
var _DH1 = audio_sampledata[__e1]._DH1;
_hJ1 *= _DH1;
if (time <= 0) {
_fJ1(index);
var _iJ1 = _hJ1;
if (_iJ1 < 0) _iJ1 = 0;
if (_iJ1 > 1) _iJ1 = 1;
audio_sampledata[__e1].gain = _iJ1;
for (var _X9 = 0; _X9 < _xG1; ++_X9) {
var _gH1 = _gG1[_X9];
if (_gH1._bH1 && _gH1._dH1 == __e1) {
_gH1._eH1.gain.value = _gH1.gain * audio_sampledata[__e1].gain;
}
}
} else {
_gJ1(index, _hJ1, time);
}
}
}
}
function _sH1() {
if (_pb1 == _qb1) {
if (document[_hH1] == true) {
if (!_lG1) {
_lG1 = true;
_jJ1(true);
}
} else if (document[_hH1] == false) {
if (_lG1) {
_kJ1(true);
_lG1 = false;
}
}
}
}
function _UI1(_oI1) {
if (_oI1._bH1) {
if (!_oI1._VH1) {
var time = _oI1.playbackpoint;
if (!_oI1.paused) {
var _EH1 = _oI1._RH1.playbackRate.value;
time += (g_WebAudioContext.currentTime - _oI1._QH1) * _EH1;
}
if (_oI1._SH1 > 0) {
var duration = _oI1._RH1.buffer.duration;
time %= duration;
}
return time;
} else {
if (_oI1._YH1 != null) {
var time = _oI1._YH1.currentTime;
return time;
}
}
}
return 0;
}
function _dJ1(_G31) {
if (_pb1 == _qb1) {
_G31 = yyGetInt32(_G31);
var _lJ1 = -1;
if (_G31 >= _hG1) {
var _9H1 = _BH1(_G31);
if (_9H1 != null) {
_lJ1 = _9H1._dH1;
}
} else {
_lJ1 = _G31;
}
if (_lJ1 >= 0 && _lJ1 < _Ho1._c2.length) {
var name = _Ho1._c2[_lJ1]._d2;
return name;
}
}
return "<undefined>";
}
var _mJ1;
var _nJ1;
function _qH1(_oJ1) {
if (_pb1 != _qb1) {
return;
}
_oJ1 = yyGetInt32(_oJ1);
if (_oJ1 == _nJ1) return;
var _pJ1 = g_WebAudioContext.createPanner();
_nJ1 = _oJ1;
switch (_oJ1) {
case _BG1._CG1:
_mJ1 = _pJ1.INVERSE_DISTANCE;
if (_mJ1 == undefined) _mJ1 = "inverse";
break;
case _BG1._DG1:
_mJ1 = _pJ1.INVERSE_DISTANCE;
if (_mJ1 == undefined) _mJ1 = "inverse";
break;
case _BG1._EG1:
debug("Audio_falloff_inverse_distance_clamped not supported in html5\n");
break;
case _BG1._FG1:
_mJ1 = _pJ1.LINEAR_DISTANCE;
if (_mJ1 == undefined) _mJ1 = "linear";
break;
case _BG1._GG1:
debug("Audio_falloff_linear_distance_clamped not supported in html5\n");
break;
case _BG1._HG1:
_mJ1 = _pJ1.EXPONENTIAL_DISTANCE;
if (_mJ1 == undefined) _mJ1 = "exponential";
break;
case _BG1._IG1:
debug("Audio_falloff_exponent_distance_clamped not supported in html5\n");
break;
default:
debug("Attempting to set audio falloff to unknown model\n");
break;
}
for (var key in _jG1) {
if (!_jG1.hasOwnProperty(key)) continue;
var _qJ1 = _jG1[key];
_qJ1.distanceModel = _mJ1;
if (_nJ1 == _BG1._CG1) {
_qJ1._rJ1 = _qJ1.rolloffFactor;
_qJ1.rolloffFactor = 0;
} else if (typeof _qJ1._rJ1 !== "undefined") {
_qJ1.rolloffFactor = _qJ1._rJ1;
_qJ1._rJ1 = undefined;
}
}
}
function _jJ1(_sJ1) {
for (var _X9 = 0; _X9 < _xG1; ++_X9) {
var _9H1 = _gG1[_X9];
if (_9H1._bH1) {
if (!_9H1.paused) {
_RI1(_9H1);
if (_sJ1) _9H1._TH1 = true;
}
}
}
}
function _tJ1(_uJ1) {
for (var _X9 = 0; _X9 < _xG1; ++_X9) {
var _9H1 = _gG1[_X9];
if (_9H1._bH1) {
var _j2 = audio_sampledata[_9H1._dH1]._j2;
if (_j2 == _uJ1) {
_EI1(_9H1);
}
}
}
}
function _kJ1(_sJ1) {
for (var _X9 = 0; _X9 < _xG1; ++_X9) {
var _9H1 = _gG1[_X9];
if (_9H1._bH1) {
if (_9H1.paused) {
if (_sJ1) {
if (_9H1._TH1) {
_VI1(_9H1);
_9H1._TH1 = false;
}
} else {
_VI1(_9H1);
}
}
}
}
}
function _BA(_zH1) {
if (_pb1 !== _qb1) return false;
_zH1 = yyGetInt32(_zH1);
if (_zH1 >= _hG1) {
var _9H1 = _BH1(_zH1);
if (_9H1 != null) {
if (_1J1(_9H1)) {
return true;
}
}
} else {
for (var _X9 = 0; _X9 < _xG1; ++_X9) {
_9H1 = _gG1[_X9];
if (_9H1._dH1 == _zH1) {
if (_9H1._bH1) {
if (_1J1(_9H1)) {
return true;
}
}
}
}
}
return false;
}
function _tH1(_vJ1, _wJ1, _xJ1) {
if (_pb1 == _qb1) {
_vJ1 = yyGetReal(_vJ1);
_wJ1 = yyGetReal(_wJ1);
_xJ1 = yyGetReal(_xJ1);
var _yJ1 = g_WebAudioContext.listener;
_yJ1.setPosition(_vJ1, _wJ1, _xJ1);
if (_yJ1._yc1) {
_yJ1._yc1._vl1 = _vJ1;
_yJ1._yc1._wl1 = _wJ1;
_yJ1._yc1._xl1 = _xJ1;
} else {
_yJ1._yc1 = new _Zk1(_vJ1, _wJ1, _xJ1);
}
}
}
function _uH1(_vJ1, _wJ1, _xJ1, _zJ1, _AJ1, _BJ1) {
if (_pb1 == _qb1) {
_vJ1 = yyGetReal(_vJ1);
_wJ1 = yyGetReal(_wJ1);
_xJ1 = yyGetReal(_xJ1);
_zJ1 = yyGetReal(_zJ1);
_AJ1 = yyGetReal(_AJ1);
_BJ1 = yyGetReal(_BJ1);
var _yJ1 = g_WebAudioContext.listener;
_yJ1.setOrientation(_vJ1, _wJ1, _xJ1, _zJ1, _AJ1, _BJ1);
if (_yJ1._lH1) {
_yJ1._lH1[0] = _vJ1;
_yJ1._lH1[1] = _wJ1;
_yJ1._lH1[2] = _xJ1;
_yJ1._lH1[3] = _zJ1;
_yJ1._lH1[4] = _AJ1;
_yJ1._lH1[5] = _BJ1;
} else {
_yJ1._lH1 = new Array(_vJ1, _wJ1, _xJ1, _zJ1, _AJ1, _BJ1);
}
}
}
/*@this {XMLHttpRequest} */ function _CJ1(e) {
if (_pb1 != _qb1) return;
var targetid = e.target.targetid;
debug("error loading sound" + targetid);
if (targetid == undefined) {
} else {
debug("AudioError: " + this.URL);
this.completed = false;
_DJ1++;
ClearEventListeners(this);
}
}
/*@this {XMLHttpRequest} */ function _EJ1(e) {
if (_pb1 != _qb1) return;
var targetid = e.target.targetid;
if (_FJ1) debug("sound loaded: " + targetid);
if (targetid == undefined) {
} else {
this.completed = true;
ClearEventListeners(this);
try {
var _fH1 = audio_sampledata[targetid];
_fH1.state = _NG1._RG1;
g_WebAudioContext.decodeAudioData(
e.target.response,
function (buffer) {
_fH1.buffer = buffer;
_fH1.state = _NG1._SG1;
_DJ1++;
},
function (err) {
_fH1.state = _NG1._QG1;
_DJ1++;
debug("error decoding audio data:" + err);
}
);
} catch (_dc1) {
debug("error decoding audio data: " + _dc1.message);
_DJ1++;
}
}
}
function _GJ1(_j01) {
if (_pb1 != _qb1) return;
this.completed = true;
ClearEventListeners(this);
var targetid = _j01.target.targetid;
if (_FJ1) debug("streamed sound pre-loaded: " + targetid);
var _fH1 = audio_sampledata[targetid];
if (_fH1) {
_fH1.state = _NG1._QG1;
} else {
debug("ERROR: No sample data sound for sound ID " + _HJ1 + " in Audio_StreamedSoundPreloaded");
}
}
function _IJ1(_kv1, _Ub1, _R01, _JJ1) {
var _fH1 = audio_sampledata[_Ub1];
_fH1.buffer = null;
if (_nH1) {
_KJ1(_kv1, _Ub1, _R01, _JJ1);
} else {
_fH1.state = _NG1._SG1;
}
}
function _LJ1(e) {
var targetid = e.target.targetid;
debug("Audio_SoundReadyStateChange:targetid/readyState/status:" + targetid + "/" + e.target.readyState + "/" + e.target.status);
}
function _MJ1(e) {
var targetid = e.target.targetid;
debug("Audio_SoundProgress:targetid/loaded/total:" + targetid + "/" + e._NJ1 + "/" + e._OJ1);
}
function _PJ1(_kv1, _JJ1) {
_kv1 = _5I1(_kv1);
var _6I1;
var index;
index = _kv1.indexOf(_JJ1);
if (index > 0) {
_kv1 = _kv1.substr(0, index);
}
if (_7I1) {
_JJ1 = "ogg";
} else if (_8I1) {
_JJ1 = "mp3";
} else {
_JJ1 = "ogg";
}
_kv1 = _kv1 + "." + _JJ1;
var _QJ1 = new XMLHttpRequest();
_QJ1.open("GET", _kv1, true);
_QJ1.responseType = "arraybuffer";
_QJ1.URL = _kv1;
_QJ1.completed = false;
return _QJ1;
}
function _RJ1(_kv1, _Ub1, _R01, _JJ1, _SJ1) {
if (_pb1 != _qb1 || _TJ1 == false) {
return undefined;
}
var _QJ1 = _PJ1(_kv1, _JJ1);
if (_SJ1 != undefined) {
_QJ1.targetid = { _UJ1: _SJ1, _lJ1: _Ub1 };
_QJ1.onload = _VJ1;
_QJ1.onerror = _WJ1;
} else {
_QJ1.targetid = _Ub1;
_QJ1.onload = _EJ1;
_QJ1.onerror = _CJ1;
_QJ1.ontimeout = _CJ1;
_QJ1._Jv1 = _MJ1;
_QJ1.onreadystatechange = _LJ1;
}
_QJ1.send();
_wI1[_R01] = _QJ1;
return _Ub1;
}
function _KJ1(_kv1, _Ub1, _R01, _JJ1) {
if (_pb1 != _qb1 || _TJ1 == false) {
return undefined;
}
var _QJ1 = _PJ1(_kv1, _JJ1);
_QJ1.targetid = _Ub1;
_QJ1.onload = _GJ1;
_QJ1.onerror = _CJ1;
_QJ1.send();
_wI1[_R01] = _QJ1;
return _Ub1;
}
var _XJ1 = "Unloaded";
var _YJ1 = "Loading";
var _ZJ1 = "Loaded";
var __J1 = "Unloading";
var _0K1 = 0;
var _1K1 = [];
/*@constructor */ function _2K1(_uJ1) {
this._j2 = _uJ1;
this._3K1 = _XJ1;
this._4K1 = 0;
this._5K1 = 0;
this._6K1 = [];
}
_2K1.prototype._7K1 = function (_8K1) {
this._6K1.push(_8K1);
};
_2K1.prototype._9K1 = function (_aK1) {
if (this._3K1 != _aK1) {
this._3K1 = _aK1;
debug("Audio Group " + this._j2 + "-> " + this._3K1);
if (_aK1 == _ZJ1) {
var map = _Dq();
_rn._mI1 = map;
_lu(map, "type", "audiogroup_load");
_lu(map, "group_id", this._j2);
_o01._p01(_bK1, 0);
}
}
};
/*@this {XMLHttpRequest} */ function _VJ1(e) {
var targetid = this.targetid._lJ1;
var _cK1 = this.targetid._UJ1;
if (_FJ1) debug("sound loaded " + targetid);
if (targetid != undefined) {
e.target.completed = true;
ClearEventListeners(this);
try {
var _fH1 = audio_sampledata[targetid];
_fH1.state = _NG1._RG1;
g_WebAudioContext.decodeAudioData(
e.target.response,
function (buffer) {
_fH1.buffer = buffer;
_fH1.state = _NG1._SG1;
_cK1._dK1();
},
function (err) {
_fH1.state = _NG1._QG1;
_cK1._dK1();
debug("error decoding audio data:" + err);
}
);
} catch (_dc1) {
debug("error decoding audio data: " + _dc1.message);
_cK1._dK1();
}
}
}
/*@this {XMLHttpRequest} */ function _WJ1(e) {
var targetid = this.targetid._lJ1;
var _cK1 = this.targetid._UJ1;
debug("error loading sound" + targetid);
if (targetid != undefined) {
debug("AudioError: " + this.URL);
this.completed = false;
ClearEventListeners(this);
_cK1._dK1();
}
}
_2K1.prototype._dK1 = function () {
this._4K1--;
if (this._6K1.length > 0) {
this._5K1 = ((this._6K1.length - this._4K1) * 100) / this._6K1.length;
}
if (this._4K1 <= 0) {
this._9K1(_ZJ1);
}
};
_2K1.prototype._h31 = function () {
if (this._3K1 != _XJ1) {
return 0;
}
if (this._6K1.length == 0) {
return 0;
}
this._9K1(_YJ1);
this._4K1 = this._6K1.length;
this._5K1 = 0;
var _X9;
for (_X9 = 0; _X9 < this._6K1.length; ++_X9) {
var index = this._6K1[_X9];
if (_Ho1._c2[index]._e2 == 0) {
var id = _RJ1(_x31 + _Ho1._c2[index]._g2, index, _Ho1._c2[index]._d2, _Ho1._c2[index]._f2, this);
if (id === undefined) this._dK1();
} else {
this._dK1();
}
}
};
_2K1.prototype._eK1 = function () {
if (this._3K1 == _ZJ1) {
return 1;
}
return 0;
};
function _vH1() {
var index;
var _fK1 = 1;
for (index = 0; index < _Ho1._c2.length; index++) {
if (_Ho1._c2[index] !== null) {
var _fH1 = new _CH1();
audio_sampledata[index] = _fH1;
_fH1.buffer = null;
var _gK1 = _Ho1._c2[index].volume;
_fH1.gain = _gK1;
_fH1._DH1 = _gK1;
_fH1._EH1 = 1.0;
_fH1._e2 = _Ho1._c2[index]._e2;
if (_Ho1._c2[index].duration != undefined) {
_fH1.duration = _Ho1._c2[index].duration;
}
_fH1._j2 = 0;
var _j2 = _Ho1._c2[index]._j2;
if (_j2 != undefined) {
_fH1._j2 = _j2;
}
}
}
}
function _wH1() {
if (_Ho1._k2) {
var _X9;
_0K1 = _Ho1._k2.length;
for (_X9 = 0; _X9 < _0K1; ++_X9) {
_1K1[_X9] = new _2K1(_X9);
}
for (_X9 = 0; _X9 < audio_sampledata.length; ++_X9) {
var _9H1 = audio_sampledata[_X9];
if (_9H1 != undefined) {
var _j2 = _9H1._j2;
if (_1K1[_j2] != undefined) {
if (_Ho1._k2[_j2]._l2) _1K1[_j2]._7K1(_X9);
}
}
}
}
}
function _cJ1(_uJ1) {
_uJ1 = yyGetInt32(_uJ1);
if (_uJ1 == 0) {
return 1;
}
if (_uJ1 > 0 && _uJ1 < _0K1) {
var _cK1 = _1K1[_uJ1];
var result = _cK1._eK1();
return result;
}
return 0;
}
function _hK1(_iK1) {
return _iK1;
}
function _jK1(_iK1) {
return _iK1;
}
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
var _kK1 = !1;
var _lK1 = undefined;
var _mK1 = 0,
_nK1 = 1,
_oK1 = 2,
_pK1 = 3;
function _0A1(_G31) {
if (_r11._s11(yyGetInt32(_G31)) == null) return false;
return true;
}
function _Ts(_G31) {
var _qK1 = _r11._s11(yyGetInt32(_G31));
if (_qK1 == null) return 0;
return _qK1.width;
}
function _1A1(_G31) {
var _qK1 = _r11._s11(yyGetInt32(_G31));
if (_qK1 == null) return 0;
return _qK1.height;
}
var _rK1 = _sK1;
function _sK1(_911, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1) {
_911 = yyGetInt32(_911);
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
_2e1 = yyGetBool(_2e1);
var _tK1 = document.createElement(_0p1);
var _uK1 = _tK1.getContext("2d");
_vK1(_uK1);
var _wK1 = _r11._s11(_911);
_wK1._721++;
_tK1.width = _wK1.width;
_tK1.height = _wK1.height;
_uK1._xK1(canvas, _a11, _b11, _Mb1, _Nb1, 0, 0, _tK1.width, _tK1.height);
if (_2e1) {
_tK1.complete = _8e1(_uK1, _Mb1, _Nb1);
} else {
_tK1.complete = true;
}
_wK1._721++;
var _be1 = new _ce1();
_wK1._yK1[_wK1._yK1.length] = _be1;
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _wK1.width;
_be1.__9 = _wK1.height;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = _zK1(_tK1);
_be1._f31 = _g31[_be1._fk];
return _911;
}
var _AK1 = _BK1;
function _BK1(_Ub1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1, _CK1, _DK1) {
_Ub1 = yyGetInt32(_Ub1);
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
_2e1 = yyGetBool(_2e1);
_CK1 = yyGetInt32(_CK1);
_DK1 = yyGetInt32(_DK1);
var _tK1 = document.createElement(_0p1);
var _uK1 = _tK1.getContext("2d");
_vK1(_uK1);
_tK1.width = _6e1._s11(_Ub1).width;
_tK1.height = _6e1._s11(_Ub1).height;
_uK1._xK1(_6e1._s11(_Ub1), 0, 0);
if (_2e1) {
_tK1.complete = _8e1(_uK1, _Mb1, _Nb1);
} else {
_tK1.complete = true;
}
var _wK1 = new _EK1();
var _FK1 = _r11._GK1(_wK1);
_wK1._d2 = "surface.copy";
_wK1.width = _Mb1;
_wK1.height = _Nb1;
_wK1._tC1 = new _tp1();
_wK1._tC1.right = _wK1.width;
_wK1._tC1.bottom = _wK1.height;
_wK1._n2 = true;
_wK1._o2 = true;
_wK1.preload = true;
_wK1._HK1 = 0;
_wK1._IK1 = false;
_wK1._v2 = _CK1;
_wK1._w2 = _DK1;
_wK1._JK1 = true;
_wK1._721 = 1;
_wK1._KK1 = false;
_wK1._LK1 = false;
_wK1._821 = [];
_wK1._yK1 = [];
_wK1._MK1 = [];
_wK1._NK1();
var _be1 = new _ce1();
_wK1._yK1[0] = _be1;
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _wK1.width;
_be1.__9 = _wK1.height;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = _zK1(_tK1);
_be1._f31 = _g31[_be1._fk];
_OK1(_be1);
return _FK1;
}
var _PK1 = _QK1;
function _QK1(_911, _Ub1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1) {
_911 = yyGetInt32(_911);
_Ub1 = yyGetInt32(_Ub1);
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
_2e1 = yyGetBool(_2e1);
var _tK1 = document.createElement(_0p1);
var _uK1 = _tK1.getContext("2d");
_vK1(_uK1);
var _wK1 = _r11._s11(_911);
_wK1._721++;
_tK1.width = _wK1.width;
_tK1.height = _wK1.height;
_uK1._xK1(_6e1._s11(_Ub1), 0, 0, _Mb1, _Nb1, 0, 0, _tK1.width, _tK1.height);
if (_2e1) {
_tK1.complete = _8e1(_uK1, _Mb1, _Nb1);
} else {
_tK1.complete = true;
}
var _be1 = new _ce1();
_wK1._yK1[_wK1._yK1.length] = _be1;
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _wK1.width;
_be1.__9 = _wK1.height;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = _zK1(_tK1);
_be1._f31 = _g31[_be1._fk];
return _911;
}
var _RK1 = _SK1;
function _SK1(_911) {
var _qK1 = _r11._s11(yyGetInt32(_911));
if (_qK1 == null) return 0;
var _wK1 = new _EK1();
var _FK1 = _r11._GK1(_wK1);
_wK1._d2 = _qK1._d2 + ".copy";
_wK1.width = _qK1.width;
_wK1.height = _qK1.height;
_wK1._tC1._Pb1(_qK1._tC1);
_wK1._n2 = _qK1._n2;
_wK1._o2 = _qK1._o2;
_wK1.preload = _qK1.preload;
_wK1._HK1 = _qK1._HK1;
_wK1._IK1 = _qK1._IK1;
_wK1._v2 = _qK1._v2;
_wK1._w2 = _qK1._w2;
_wK1._JK1 = true;
_wK1._721 = _qK1._721;
_wK1._TK1 = _qK1._TK1;
_wK1._KK1 = _qK1._KK1;
_wK1._G01 = _qK1._G01;
_wK1._s2 = _qK1._s2;
_wK1._LK1 = _qK1._LK1;
_wK1._821 = [];
_wK1._yK1 = [];
_wK1._MK1 = [];
for (var _X9 = 0; _X9 < _qK1._721; _X9++) {
var _be1 = new _ce1();
_wK1._yK1[_X9] = _be1;
_be1._JK1(_qK1._yK1[_X9]);
var _UK1 = _VK1(_qK1._yK1[_X9]);
_be1._fk = _zK1(_UK1);
_be1.x = 0;
_be1.y = 0;
_be1._f31 = _g31[_be1._fk];
}
return _FK1;
}
function _WK1(_XK1, _YK1, _ZK1, __K1, _D71, _0L1) {
var _Z9 = _YK1._dk;
var __9 = _YK1._ek;
var _1L1 = __9 * _Z9;
var _2L1 = new Uint8Array(_1L1);
for (var _i21 = 0; _i21 < _1L1; _i21++) _2L1[_i21] = false;
if (_D71 == _mK1) {
var _3L1 = _4L1(_YK1);
var index = 0;
for (var _X9 = 0; _X9 < _3L1.length; _X9 += 4) {
if (_3L1[_X9 + 3] > _0L1) {
_2L1[index] = true;
} else {
_2L1[index] = false;
}
index++;
}
} else {
switch (_D71) {
case _nK1: {
for (var y = __K1.top; y <= __K1.bottom; y++) {
for (var x = __K1.left; x <= __K1.right; x++) {
_2L1[x + y * _Z9] = true;
}
}
break;
}
case _oK1: {
var _z21 = (__K1.left + __K1.right) / 2;
var _761 = _z21 - __K1.left + 0.5;
var _A21 = (__K1.top + __K1.bottom) / 2;
var _861 = _A21 - __K1.top + 0.5;
for (var y = __K1.top; y <= __K1.bottom; y++) {
for (var x = __K1.left; x <= __K1.right; x++) {
if (_761 > 0 && _861 > 0) {
_2L1[x + y * _Z9] = _D21((x - _z21) / _761) + _D21((y - _A21) / _861) < 1;
}
}
}
break;
}
case _pK1: {
var _z21 = (__K1.left + __K1.right) / 2;
var _761 = _z21 - __K1.left + 0.5;
var _A21 = (__K1.top + __K1.bottom) / 2;
var _861 = _A21 - __K1.top + 0.5;
for (var y = __K1.top; y <= __K1.bottom; y++) {
for (var x = __K1.left; x <= __K1.right; x++) {
if (_761 > 0 && _861 > 0) {
_2L1[x + y * _Z9] = Math.abs((x - _z21) / _761) + Math.abs((y - _A21) / _861) < 1;
}
}
}
break;
}
}
}
if (_XK1 != null) {
for (var _X9 = 0; _X9 < _2L1.length; _X9++) {
if (_XK1[_X9]) _2L1[_X9] = true;
}
}
return _2L1;
}
function _5L1(_6L1, _7L1) {
_6L1 = yyGetInt32(_6L1);
if (_0A1(_6L1)) {
var _8L1 = _r11._s11(_6L1);
var _be1 = _8L1._9L1(yyGetInt32(_7L1));
if (_be1) {
return { _E71: _be1._f31, _F71: _be1 };
}
}
return null;
}
function _Br1(_M01) {
_M01 = yyGetInt32(_M01);
if (_M01 >= 0x10000) {
var _aL1 = _M01;
_aL1 -= 0x10000;
var _bL1 = ((_aL1 >> 10) & 0x3ff) + 0xd800;
var _cL1 = (_aL1 & 0x3ff) + 0xdc00;
var result = String.fromCharCode(_bL1, _cL1);
return result;
} else {
return String.fromCharCode(_M01);
}
return 0;
}
function _gS(_Qp1) {
if (!_Qp1 || _Qp1 == "") return 0;
_Qp1 = yyGetString(_Qp1);
var _aL1 = _Qp1.charCodeAt(0);
var _dL1, _eL1;
if (0xd800 <= _aL1 && _aL1 <= 0xdbff) {
_dL1 = _aL1;
_eL1 = _Qp1.charCodeAt(1);
return (_dL1 - 0xd800) * 0x400 + (_eL1 - 0xdc00) + 0x10000;
}
return _aL1;
}
function _ml(_P71) {
if (_P71 == undefined) {
_Rb1("real() argument is undefined");
} else if (_P71 == null) {
_Rb1("real() argument is unset");
} else if (typeof _P71 == "boolean") {
if (_P71) return 1;
else return 0;
} else if (typeof _P71 == "number") {
return _P71;
} else if (typeof _P71 == "string") {
var _fL1 = parseFloat(_P71);
if (isNaN(_fL1)) {
_Rb1("unable to convert string " + _P71 + " to real");
} else {
return _fL1;
}
} else if (_P71 instanceof Long) {
return _P71._Ic1();
} else if (_P71 instanceof Array) {
_Rb1("real() argument is array");
}
return parseFloat(_P71);
}
function _ul(_Lc1, _ed1) {
if (_ed1 === undefined) _ed1 = 0;
if (_ed1 > 64) return " recursion error ";
if (_Lc1 == undefined) {
return "undefined";
}
if (_Lc1 instanceof Array) {
var __b1 = "[";
for (var _X9 = 0; _X9 < _Lc1.length; ++_X9) {
if (_X9 != 0) __b1 += ",";
__b1 += _ul(_Lc1[_X9], _ed1 + 1);
}
__b1 += "]";
return __b1;
} else if (typeof _Lc1 == "number") {
if (isFinite(_Lc1)) {
if (~~_Lc1 != _Lc1) {
return _Lc1.toFixed(2).toString();
} else {
return _Lc1.toString();
}
} else {
if (Number.isNaN(_Lc1)) return "NaN";
else if (_Lc1 < 0) return "-inf";
else return "inf";
}
} else if (typeof _Lc1 == "boolean") {
if (_Lc1) return "1";
else return "0";
} else {
return _Lc1.toString();
}
}
function _KQ(_M01, _gL1, _hL1) {
if (_M01 == undefined) {
return "undefined";
}
_M01 = yyGetReal(_M01);
_hL1 = yyGetInt32(_hL1);
var _iL1 = _M01.toFixed(_hL1).toString().split(".");
var _yp1;
for (var _X9 = 0; _X9 < _iL1.length; _X9++) {
switch (_X9) {
case 0:
while (_iL1[_X9].length < yyGetInt32(_gL1)) {
_iL1[_X9] = " " + _iL1[_X9];
}
_yp1 = _iL1[_X9];
break;
case 1:
while (_iL1[_X9].length < _hL1) {
_iL1[_X9] = _iL1[_X9] + "0";
}
_yp1 = _yp1 + "." + _iL1[_X9];
break;
}
}
return _yp1;
}
function _ku(_Qp1) {
if (!_Qp1) {
return 0;
}
_Qp1 = yyGetString(_Qp1);
var _jL1 = 0;
for (var _X9 = 0; _X9 < _Qp1.length; ++_X9) {
++_jL1;
var _kL1 = _Qp1.charCodeAt(_X9);
if (0xd800 <= _kL1 && _kL1 <= 0xdbff) {
++_X9;
}
}
return _jL1;
}
function _vr(_lL1, _Qp1) {
var _mL1 = yyGetString(_lL1);
var _nL1 = yyGetString(_Qp1);
var _oL1 = _nL1.indexOf(_mL1);
var _pL1 = 0;
var _7q1 = _oL1 - 1;
while (_7q1 > 0) {
var _qL1 = _nL1.charCodeAt(_7q1);
if (0xdc00 <= _qL1 && _qL1 <= 0xdfff) {
--_pL1;
--_7q1;
}
--_7q1;
}
return _oL1 + _pL1 + 1;
}
function _wr(_Qp1, _G31, _c91) {
_Qp1 = yyGetString(_Qp1);
_G31 = yyGetInt32(_G31);
_c91 = yyGetInt32(_c91);
if (_G31 < 1) {
_G31 = 1;
}
_G31--;
var _rL1 = _G31;
var _sL1 = 0;
while (_sL1 < _G31) {
var _tL1 = _Qp1.charCodeAt(_sL1);
if (0xd800 <= _tL1 && _tL1 <= 0xdfff) {
_rL1++;
}
_sL1++;
}
var _uL1 = _c91;
_sL1 = 0;
while (_sL1 < _c91) {
var _tL1 = _Qp1.charCodeAt(_rL1 + _sL1);
if (0xd800 <= _tL1 && _tL1 <= 0xdfff) {
_uL1++;
}
_sL1++;
}
return _Qp1.substring(_rL1, _rL1 + _uL1);
}
function _qQ(_Qp1, _G31) {
var _nL1 = yyGetString(_Qp1);
var _vL1 = yyGetInt32(_G31);
--_vL1;
if (_nL1.length == 0 || _ku(_nL1) <= _vL1) {
return "";
}
var _ef1 = 0;
var _wL1 = _vL1;
if (_wL1 < 0) {
_wL1 = 0;
}
var _Bc1 = _nL1.length;
while (_wL1 > 0 && _ef1 < _Bc1) {
var _aL1 = _nL1.charCodeAt(_ef1);
if (0xd800 <= _aL1 && _aL1 <= 0xdfff) {
++_ef1;
}
++_ef1;
--_wL1;
}
_wL1 = _ef1;
var _xL1 = _nL1.charCodeAt(_wL1);
if (0xd800 <= _xL1 && _xL1 <= 0xdfff) {
var _eL1 = _nL1.charCodeAt(_wL1 + 1);
return String.fromCharCode(_xL1, _eL1);
}
return String.fromCharCode(_xL1);
}
function _rQ(_lL1, _Qp1, _G31) {
var _mL1 = yyGetString(_lL1);
var _nL1 = yyGetString(_Qp1);
var _vL1 = yyGetInt32(_G31);
var _ef1 = 0;
var _wL1 = _vL1 - 1;
var _Bc1 = _nL1.length;
while (_wL1 > 0 && _ef1 < _Bc1) {
var _aL1 = _nL1.charCodeAt(_ef1);
if (0xd800 <= _aL1 && _aL1 <= 0xdfff) {
++_ef1;
}
++_ef1;
--_wL1;
}
_wL1 = _ef1;
return _nL1.substring(0, _wL1) + _mL1 + _nL1.substring(_wL1, _Qp1.length);
}
function _Pl(_Qp1, _lL1, _yL1) {
var _nL1 = yyGetString(_Qp1);
var _mL1 = yyGetString(_lL1);
var _zL1 = yyGetString(_yL1);
var index = _nL1.indexOf(_mL1);
if (index === -1 || _mL1.length === 0) {
return _nL1;
}
return _nL1.replace(_mL1, _zL1);
}
function _Wm(_Qp1, _lL1, _yL1) {
var _nL1 = yyGetString(_Qp1);
if (_nL1.length === 0) return "";
var _mL1 = yyGetString(_lL1);
if (_mL1.length === 0) return _nL1;
var _zL1 = yyGetString(_yL1);
var _AL1 = _mL1.length;
var _BL1 = "";
var _X9 = _nL1.indexOf(_mL1);
var _Sc1 = 0;
while (_X9 >= 0) {
_BL1 += _nL1.substring(_Sc1, _X9) + _zL1;
_Sc1 = _X9 + _AL1;
_X9 = _nL1.indexOf(_mL1, _Sc1);
}
return _Sc1 > 0 ? _BL1 + _nL1.substring(_Sc1) : _nL1;
}
function _tq(_lL1, _Qp1) {
_lL1 = yyGetString(_lL1);
_Qp1 = yyGetString(_Qp1);
var _d31 = 0;
if (_lL1.length > 0) {
var index = 0;
while (index != -1) {
index = _Qp1.indexOf(_lL1, index);
if (index > -1) {
_d31 += 1;
index++;
}
}
}
return _d31;
}
function _lq(_Qp1) {
return _CL1(yyGetString(_Qp1), _Uo1._DL1(_Uo1._hq1), true);
}
function _Xm(_Qp1) {
return yyGetString(_Qp1).toLowerCase();
}
function _UK(_Qp1) {
return yyGetString(_Qp1).toUpperCase();
}
function _CS(_Qp1) {
var _Wo1 = "";
var _nL1 = yyGetString(_Qp1);
for (var _X9 = 0; _X9 < _nL1.length; _X9++) {
var _Y9 = _nL1[_X9];
if ((_Y9 >= "A" && _Y9 <= "Z") || (_Y9 >= "a" && _Y9 <= "z")) {
_Wo1 = _Wo1 + _Y9;
}
}
return _Wo1;
}
function _RS(_Qp1) {
var _nL1 = yyGetString(_Qp1);
var _Wo1 = "";
for (var _X9 = 0; _X9 < _nL1.length; _X9++) {
var _Y9 = _nL1[_X9];
if ((_Y9 >= "A" && _Y9 <= "Z") || (_Y9 >= "a" && _Y9 <= "z") || (_Y9 >= "0" && _Y9 <= "9")) {
_Wo1 = _Wo1 + _Y9;
}
}
return _Wo1;
}
var _EL1 = [];
function _FL1(_GL1) {
debug("myBrandConnectReadyEvent");
_EL1 = _GL1;
}
function _HL1() {
_ep1();
}
function _IL1() {
_JL1 = true;
debug("myBrandConnectDoneEvent");
}
function _KL1() {
var _LL1 = document.getElementById("ssaBrandConnectInterstitial");
var _ML1 = document.getElementById("gm4html5_div_id");
_ML1.appendChild(_LL1);
_4p1();
}
var _NL1 = !1;
var _JL1 = !1;
var ssa_json = { applicationUserId: "1234", applicationKey: "2b46ec59", onCampaignsReady: _FL1, onCampaignsDone: _IL1, onCampaignClose: _HL1, onCampaignOpen: _KL1, maxWidth: 1000, maxHeight: 700 };
var _OL1 = function (_Ce1, _d21) {
var _k41 = _Ce1.createElement(_d21),
_Wo1 = _Ce1.getElementsByTagName(_d21)[0];
_k41._PL1 = !0;
_k41.src = ("https:" != location.protocol ? "http://jsd.supersonicads.com" : "https://a248.e.akamai.net/ssastatic.s3.amazonaws.com") + "/inlineDelivery/delivery.min.gz.js";
_Wo1.parentNode.insertBefore(_k41, _Wo1);
};
var _QL1 = ads_engagement_launch;
function ads_engagement_launch(_RL1, _SL1) {
if (SSA_CORE != undefined) SSA_CORE.BrandConnect.engage();
}
var _TL1 = [];
var _UL1 = !0;
var _CV = _VL1;
function _VL1(_Ub1, _Mb1, _Nb1) {
_Ub1 = yyGetInt32(_Ub1);
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
if (_Ub1 == _WL1) {
_XL1 = true;
_YL1 = _Mb1;
_ZL1 = _Nb1;
return 1;
}
if (!__L1(_Ub1)) {
_Rb1("Surface does not exist");
return 0;
}
if (_0M1(_Ub1)) {
_Mo1("Error: Surface in use via surface_set_target(). It can not be resized until it has been removed from the surface stack.");
return;
}
_5e1(_Mb1, _Nb1, _Ub1);
return 0;
}
function _rV(_1M1) {
if (yyGetBool(_1M1)) {
_UL1 = false;
} else {
_UL1 = true;
}
}
var _5e1 = _2M1;
function _2M1(_Mb1, _Nb1, _3M1) {
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
var _he1 = document.createElement(_0p1);
_he1._X71 = _he1.width = _Mb1;
_he1._Y71 = _he1.height = _Nb1;
_he1.complete = true;
_he1._4M1 = false;
_he1.name = "";
_he1._R41 = _he1.getContext("2d");
_vK1(_he1._R41);
var _be1 = new _ce1();
_he1._5M1 = _be1;
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _Mb1;
_be1.__9 = _Nb1;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
if (_3M1 != undefined) {
_6e1._sc1(_3M1, _he1);
_be1._fk = _3M1;
} else {
_be1._fk = _6e1._Da1(_he1);
}
_be1._f31 = _he1;
_be1._c31 = [];
_be1._d31 = 0;
_be1._e31 = 4;
_be1._6M1 = 0;
_be1._7M1 = null;
_be1._tK1 = _he1;
return _be1._fk;
}
var _8M1 = _9M1;
function _9M1(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
if (_Ub1 < 0) {
return;
}
if (!__L1(_Ub1)) {
_Rb1("Surface does not exist");
return 0;
}
if (_0M1(_Ub1)) {
_Mo1("Error: Surface in use via surface_set_target(). It can not be freed until it has been removed from the surface stack.");
return;
}
_6e1._nc1(_Ub1);
}
function __L1(_Ub1) {
if (_6e1._s11(yyGetInt32(_Ub1)) != null) return 1;
else return 0;
}
function _aM1(_Ub1) {
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (_he1 != null) {
return _he1._X71;
}
return 0;
}
function _bM1(_Ub1) {
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (_he1 != null) {
return _he1._Y71;
}
return 0;
}
function _cM1(_Ub1) {
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (_he1 != null) {
return { _E71: _he1._f31, _F71: _he1._5M1 };
}
return -1;
}
function _0M1(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
if (_dM1 == _Ub1) return true;
var _Bc1 = _eM1.length;
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
if (_eM1[_X9] == _Ub1) return true;
}
return false;
}
var _fM1 = _gM1;
function _gM1(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
var _he1 = _6e1._s11(_Ub1);
if (_he1 != null) {
if (!_131) _Rs1();
_TL1.push({ _hM1: _iM1, _jM1: _7l1, _kM1: _R41, _lM1: _mM1, _nM1: _oM1, _pM1: _qM1, _rM1: _sM1, _tM1: _Us1, _uM1: _Vs1, _vM1: _Ws1, _wM1: _Xs1 });
_eM1.push(_dM1);
_dM1 = _Ub1;
if (_131) {
_iM1 = _he1._hM1;
_131._xM1(_he1._hM1);
_7l1 = -1;
} else {
g_CurrentGraphics = _he1._R41;
_R41 = _he1._R41;
_yM1(_R41);
}
}
}
var _zM1 = _AM1;
function _AM1(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
var _he1 = _6e1._s11(_Ub1);
if (_he1 != null) {
if (!_131) _Rs1();
_TL1.push({ _hM1: _iM1, _jM1: _7l1, _tM1: _Us1, _uM1: _Vs1, _vM1: _Ws1, _wM1: _Xs1, _lM1: _mM1, _nM1: _oM1, _pM1: _qM1, _rM1: _sM1, _kM1: _R41 });
_eM1.push(_dM1);
_dM1 = _Ub1;
if (_131) {
_iM1 = _he1._hM1;
_131._xM1(_he1._hM1);
_7l1 = -1;
} else {
g_CurrentGraphics = _he1._R41;
_R41 = _he1._R41;
_yM1(_R41);
}
_BM1(0, 0, _he1._X71, _he1._Y71);
if (_F01) {
_CM1(0, 0, _he1._X71, _he1._Y71, 0);
} else {
_DM1(0, 0, _he1._X71, _he1._Y71, 0);
}
if (_131) _131._EM1();
_2v1();
if (!_131) {
_yM1(_R41);
}
}
}
var _FM1 = _GM1;
function _GM1() {
var _HM1 = _TL1.pop();
if (_HM1) {
_Us1 = _HM1._tM1;
_Vs1 = _HM1._uM1;
_Ws1 = _HM1._vM1;
_Xs1 = _HM1._wM1;
_mM1 = _HM1._lM1;
_oM1 = _HM1._nM1;
_qM1 = _HM1._pM1;
_sM1 = _HM1._rM1;
if (!_131) {
_R41 = _HM1._kM1;
_Ys1();
} else {
_7l1 = _HM1._jM1;
_iM1 = _HM1._hM1;
}
_BM1(_Us1, _Vs1, _Ws1, _Xs1);
if (_F01) {
_CM1(_mM1, _oM1, _qM1, _sM1, 0);
} else {
_DM1(_mM1, _oM1, _qM1, _sM1, 0);
}
} else {
_Mo1("Error: Surface stacking error detected");
}
if (_131) _131._xM1(_iM1);
_dM1 = _eM1.pop();
if (_dM1 == null) _dM1 = -1;
if (!_131) _yM1(_R41);
_2v1();
}
function _7u1(_IM1, _a11, _b11) {
var data = null;
var _7e1 = _IM1.getContext("2d");
try {
data = _7e1._JM1(_a11, _b11, 1, 1);
} catch (_dc1) {
return 0xff000000;
}
var _KM1 = data.data;
var index = 0;
var _LM1 = _KM1[index] & 0xff;
var _MM1 = _KM1[index + 1] & 0xff;
var _NM1 = _KM1[index + 2] & 0xff;
var _OM1 = _KM1[index + 3] & 0xff;
return _LM1 | (_MM1 << 8) | (_NM1 << 16) | (_OM1 << 24);
}
var _PM1 = _QM1;
var _RM1 = _SM1;
function _QM1(_Ub1, _a11, _b11) {
return _SM1(_Ub1, _a11, _b11) & 0xffffff;
}
function _SM1(_Ub1, _a11, _b11) {
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (_he1 != null) {
return _7u1(_he1, yyGetInt32(_a11), yyGetInt32(_b11));
}
return 0x00000000;
}
var _TM1 = _UM1;
function _UM1(_Ub1, _a11, _b11) {
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (!_he1) return;
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
var alpha = _R41.globalAlpha;
{
_R41.globalAlpha = _K71;
_R41._xK1(_he1, _a11, _b11);
}
_R41.globalAlpha = alpha;
}
function _VM1(_Ub1, _a11, _b11, _Mb1, _Nb1) {
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (!_he1) return;
_WM1(_he1._5M1, yyGetReal(_a11), yyGetReal(_b11), yyGetReal(_Mb1), yyGetReal(_Nb1), 0xffffff, 1.0);
}
var _XM1 = _YM1;
function _YM1(_Ub1, _a11, _b11, _Dm1, _Em1, _ZM1, _f41) {
_w61("draw_surface_tiled_ext()");
}
function __M1(_0N1, _a11, _b11, _pc1) {
var _qc1 = _6e1._s11(yyGetInt32(_0N1));
var _rc1 = _6e1._s11(yyGetInt32(_pc1));
if (_qc1 != null && _rc1 != null) {
var _7e1 = _qc1.getContext("2d");
_7e1.save();
_7e1.globalCompositeOperation = "copy";
_7e1.drawImage(_rc1, yyGetInt32(_a11), yyGetInt32(_b11));
_7e1.restore();
}
}
function _1N1(_0N1, _a11, _b11, _pc1, _2N1, _3N1, _4N1, _5N1) {
var _qc1 = _6e1._s11(yyGetInt32(_0N1));
var _rc1 = _6e1._s11(yyGetInt32(_pc1));
if (_qc1 != null && _rc1 != null) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
_2N1 = yyGetReal(_2N1);
_3N1 = yyGetReal(_3N1);
_4N1 = yyGetReal(_4N1);
_5N1 = yyGetReal(_5N1);
var _Ss1 = [];
var _7e1 = _qc1.getContext("2d");
_7e1.save();
_Ss1[0] = 1;
_Ss1[1] = 0;
_Ss1[2] = 0;
_Ss1[3] = 1;
_Ss1[4] = 0;
_Ss1[5] = 0;
_7e1.setTransform(_Ss1[0], _Ss1[1], _Ss1[2], _Ss1[3], _Ss1[4], _Ss1[5]);
_7e1.beginPath();
_7e1.rect(_a11, _b11, _4N1, _5N1);
_7e1.clip();
_7e1.globalCompositeOperation = "copy";
_7e1.drawImage(_rc1, _2N1, _3N1, _4N1, _5N1, _a11, _b11, _4N1, _5N1);
_7e1.restore();
}
}
function _YS(_xd1) {
var index;
index = _xd1._wC;
_G21 = _xd1;
{
var _8L1 = _r11._s11(index);
if (_8L1 != null) {
_8L1._O31(_xd1._oC, _xd1.x, _xd1.y, _xd1._tC, _xd1._nC, _xd1._6N1, _xd1._7N1, _xd1._zd1);
}
}
_G21 = null;
}
function _jL(_8r1, _z01, _8N1, _a11, _b11, _Dm1, _Em1, _9N1, _081, _f41) {
if (_8N1 < 0) _8N1 = ~~_8r1._oC;
var _qK1 = _r11._s11(_z01);
if (_qK1 != null) {
_f41 = min(1.0, _f41);
_qK1._O31(_8N1, _a11, _b11, _Dm1, _Em1, _9N1, _N71(_081), _f41);
}
}
function _hL(_8r1, _z01, _8N1, _a11, _b11) {
if (_8N1 < 0) _8N1 = ~~_8r1._oC;
var _qK1 = _r11._s11(_z01);
if (_qK1 != null) {
_qK1._aN1(_8N1, _a11, _b11, _K71);
}
}
function _4W(_8r1, _z01, _8N1, _a11, _b11, _Dm1, _Em1, _ZM1, _f41) {
if (_8N1 < 0) _8N1 = ~~_8r1._oC;
var _qK1 = _r11._s11(_z01);
if (_qK1 != null) {
if (_qK1._721 <= 0) return;
_8N1 = ~~_8N1 % _qK1._721;
if (_8N1 < 0) _8N1 = _8N1 + _qK1._721;
_ZM1 = _N71(_ZM1);
_bN1(_qK1._yK1[_8N1], _a11, _b11, _Dm1, _Em1, true, true, _ZM1, _f41);
}
}
function _cN1(_dN1, _eN1) {
if (_dN1) {
if (_eN1 === undefined) {
canvas.style.cursor = "";
} else {
canvas.style.cursor = _eN1;
}
} else {
canvas.style.cursor = "none";
}
}
function _qV(_fN1) {
_fN1 = yyGetInt32(_fN1);
var _gN1 = "";
switch (_fN1) {
case _hN1:
_gN1 = "auto";
_fN1 = _iN1;
break;
case _jN1:
_gN1 = "__disable__";
break;
case _iN1:
_gN1 = "auto";
break;
case _kN1:
_gN1 = "crosshair";
break;
case _lN1:
_gN1 = "";
break;
case _mN1:
_gN1 = "ne-resize";
break;
case _nN1:
_gN1 = "n-resize";
break;
case _oN1:
_gN1 = "nw-resize";
break;
case _pN1:
_gN1 = "w-resize";
break;
case _qN1:
_gN1 = "";
break;
case _rN1:
_gN1 = "wait";
break;
case _sN1:
_gN1 = "move";
break;
case _tN1:
_gN1 = "";
break;
case _uN1:
_gN1 = "";
break;
case _vN1:
_gN1 = "";
break;
case _wN1:
_gN1 = "";
break;
case _xN1:
_gN1 = "";
break;
case _yN1:
_gN1 = "";
break;
case _zN1:
_gN1 = "";
break;
case _AN1:
_gN1 = "help";
break;
case _BN1:
_gN1 = "pointer";
break;
case _CN1:
_gN1 = "e-resize";
break;
}
if (_gN1 == "__disable__") {
_DN1 = _fN1;
_cN1(false, "none");
return;
} else if (_fN1 < 0 && _gN1 == "") {
_Rb1("Cursor type is not supported.");
_cN1(true, _gN1);
return;
} else {
_DN1 = _fN1;
_cN1(true, _gN1);
return;
}
}
function _UM() {
return _DN1;
}
function _EN1(_M71) {
_FN1 = _N71(yyGetInt32(_M71));
}
var _GN1 = _EN1;
function _HN1() {
return _N71(_FN1);
}
var _IN1 = _HN1;
function _JN1(_a11, _b11, _KN1) {
if (_KN1 === undefined) _KN1 = false;
var _LN1 = document.getElementById(_0p1);
for (var _kd1 = _LN1; _kd1; _kd1 = _kd1.parentNode) {
var position;
if (_kd1["currentStyle"]) {
position = _kd1["currentStyle"]["position"];
} else if (window.getComputedStyle) {
try {
var style = window.getComputedStyle(_kd1, null);
if (style) {
position = style.getPropertyValue("position");
}
} catch (e) {}
}
if (position && position == "fixed") {
debug("Warning: Canvas position fixed. Ignoring position alterations");
return;
}
}
_LN1.style.position = "absolute";
if (!yyGetBool(_KN1)) {
_LN1.style.left = yyGetInt32(_a11) + "px";
_LN1.style.top = yyGetInt32(_b11) + "px";
_LN1.style.bottom = "";
_LN1.style.right = "";
_LN1.style.transform = "";
} else {
_LN1.style.top = "50%";
_LN1.style.left = "50%";
_LN1.style.bottom = "-50%";
_LN1.style.right = "-50%";
_LN1.style.transform = "translate(-50%, -50%)";
}
}
function _BV(_Mb1, _Nb1) {
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
canvas.width = _Mb1;
canvas.height = _Nb1;
_4u1 = _Mb1;
_6u1 = _Nb1;
_MN1 = canvas.width;
_NN1 = canvas.height;
_8b1(canvas, _9b1);
_ON1 = _9b1.top;
_PN1 = _9b1.left;
_QN1 = _9b1.right;
_RN1 = _9b1.bottom;
_SN1 = _MN1;
_TN1 = _NN1;
_UN1 = _Mb1;
_VN1 = _Nb1;
_WN1 = 1;
_XN1 = 1;
}
function _FV() {
var _YN1 = _Ns1();
var _ZN1 = _Os1();
var _Z9 = _zs1();
var __9 = _ws1();
var x = (_YN1 - _Z9) / 2;
var y = (_ZN1 - __9) / 2;
_JN1(x, y, true);
}
function _zs1() {
return _QN1 - _PN1;
}
function _ws1() {
return _RN1 - _ON1;
}
function __N1(_Ub1) {
if (!_D01._4b1) {
return _rn._0O1;
}
var _7b1 = _D01._6b1[yyGetInt32(_Ub1)];
return _7b1._eb1(_ub1._1O1, _ub1._2O1);
}
function _3O1(_Ub1) {
if (!_D01._4b1) {
return _rn._4O1;
}
var _7b1 = _D01._6b1[yyGetInt32(_Ub1)];
return _7b1._fb1(_ub1._1O1, _ub1._2O1);
}
function _5O1() {
if (!_D01._4b1) {
return _rn._0O1;
}
for (var _X9 = _D01._6b1.length - 1; _X9 >= 0; --_X9) {
var _7b1 = _D01._6b1[_X9];
if (!_7b1._4a) {
continue;
}
var _z21 = _7b1._eb1(_ub1._1O1, _ub1._2O1);
var _A21 = _7b1._fb1(_ub1._1O1, _ub1._2O1);
if (_z21 >= _7b1._lM1 && _z21 < _7b1._lM1 + _7b1._pM1 && _A21 >= _7b1._nM1 && _z21 < _7b1._nM1 + _7b1._rM1) {
return _z21;
}
}
return __N1(0);
}
function _6O1() {
if (!_D01._4b1) {
return _rn._4O1;
}
for (var _X9 = _D01._6b1.length - 1; _X9 >= 0; --_X9) {
var _7b1 = _D01._6b1[_X9];
if (!_7b1._4a) {
continue;
}
var _z21 = _7b1._eb1(_ub1._1O1, _ub1._2O1);
var _A21 = _7b1._fb1(_ub1._1O1, _ub1._2O1);
if (_z21 >= _7b1._lM1 && _z21 < _7b1._lM1 + _7b1._pM1 && _A21 >= _7b1._nM1 && _z21 < _7b1._nM1 + _7b1._rM1) {
return _A21;
}
}
return _3O1(0);
}
var _7O1;
var _8O1;
var _9O1;
var _aO1;
var _bO1;
var _cO1;
var _dO1;
var _eO1;
var _fO1;
var _gO1;
var _hO1;
var _iO1;
var _jO1 = 0;
var _kO1 = 1,
_lO1 = 2,
_mO1 = 3,
_nO1 = 4,
_oO1 = 5,
_pO1 = 6;
var _qO1 = aa_1241_kz();
function aa_1241_kz() {
return 0x87155211;
}
/*@constructor */ function _rO1() {
var _sO1 = null;
if (window.XMLHttpRequest) {
_sO1 = new XMLHttpRequest();
}
if (typeof XMLHttpRequest == "undefined") {
_sO1 = function () {
try {
return new ActiveXObject("Msxml2.XMLHTTP.6.0");
} catch (e) {}
try {
return new ActiveXObject("Msxml2.XMLHTTP.3.0");
} catch (e) {}
try {
return new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {}
throw new _Rb1("This browser does not support XMLHttpRequest.");
};
}
this._tO1 = _sO1;
this._uO1 = false;
}
var _vO1 = new _rO1();
function _wO1() {}
var _xO1 = _yO1;
function _yO1(_dN1) {}
var _zO1 = _AO1;
function _AO1() {
return false;
}
var _BO1 = _CO1;
function _CO1() {}
var _DO1 = _EO1;
function _EO1() {}
var _FO1 = _GO1;
function _GO1() {}
var _HO1 = _IO1;
function _IO1() {}
var _JO1 = _KO1;
function _KO1() {}
var _LO1 = _MO1;
function _MO1() {}
var _NO1 = _OO1;
function _OO1() {}
var _PO1 = _QO1;
function _QO1() {}
var _RO1 = _SO1;
function _SO1() {}
var _TO1 = _UO1;
function _UO1() {}
var _VO1 = _WO1;
function _WO1() {}
var _XO1 = _YO1;
function _YO1() {
return -1;
}
var _ZO1 = __O1;
function __O1() {}
var _0P1 = _1P1;
function _1P1() {}
var _2P1 = _3P1;
function _3P1() {}
var _4P1 = _5P1;
function _5P1() {
return _6P1;
}
function _7P1() {
return _8P1;
}
function _9P1() {
return _Cv1;
}
function _aP1() {
return _bP1;
}
var _cP1 = _dP1;
function _dP1(_kv1, _eP1, _fP1) {
if (_eP1 != "_self" && _eP1 != "_blank" && _eP1 != "_parent" && _eP1 != "_top") {
_Rb1("Error: invalid TARGET specified. Only '_self', '_blank', 'parent' or '_top' supported. (YoYo_OpenURL)");
return;
}
var _NJ1 = window.open(yyGetString(_kv1), yyGetString(_eP1), yyGetString(_fP1));
}
var _gP1 = _dV;
function _dV(_kv1, _eP1) {
_cP1(_kv1, _eP1, "scrollbars=yes,menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes");
}
var _hP1 = _zN;
function _zN(_kv1) {
_gP1(_kv1, "_self");
}
var _iP1 = _jP1;
function _jP1(_kP1, _lP1) {}
var _mP1 = _nP1;
function _nP1(_kP1, _oP1) {}
var _pP1 = null;
var _qP1 = null;
var _rP1 = null;
var _sP1 = _tP1;
function _tP1(_No1, _uP1, _vP1, _wP1) {}
var _ms1 = _xP1;
function _xP1() {
var _d21 = new Date().getTime() * 1000;
return _d21 - _7O1;
}
var _yP1 = _zP1;
function _zP1(_a11, _b11, _Mb1, _Nb1, _AP1) {
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
_AP1 = yyGetInt32(_AP1);
var _BP1 = _CP1();
_BP1.x = _a11;
_BP1.y = _b11;
_BP1._Z9 = _Mb1;
_BP1.__9 = _Nb1;
_BP1.key = _AP1;
_BP1._121 = _a11 + _Mb1;
_BP1._221 = _b11 + _Nb1;
_BP1.button = _BP1._P41 = _BP1._J41 = 0;
_BP1._DP1 = _EP1;
return _BP1.index + 1;
}
var _FP1 = _GP1;
function _GP1(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
if (_Ub1 < 0) return;
var index = _Ub1 - 1;
if (index < 0 || index >= _HP1.length) {
debug("Invalid index when deleting virtual key");
}
_IP1(_Ub1 - 1);
}
function _JP1() {
_KP1 = [];
for (var _921 = 0; _921 < _HP1.length; ++_921) {
var _LP1 = _HP1[_921];
if ((_LP1._DP1 & _MP1) != 0) _KP1[_KP1.length] = _LP1;
}
}
var _NP1 = _OP1;
function _OP1(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
if (_Ub1 < 0) return;
_Ub1--;
if (!_HP1[_Ub1]) return;
_HP1[_Ub1]._DP1 |= _MP1;
_JP1();
}
var _PP1 = _QP1;
function _QP1(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
if (_Ub1 < 0) return;
_Ub1--;
if (!_HP1[_Ub1]) return;
_HP1[_Ub1]._DP1 &= ~_MP1;
_JP1();
}
var _RP1 = _SP1;
function _SP1() {
return 0;
}
var _TP1 = _UP1;
function _UP1() {
return 0;
}
var _VP1 = _WP1;
function _WP1() {
return 0;
}
var _XP1 = _YP1;
function _YP1() {
_Po1("device_ios_get_imagename()");
}
var _ZP1 = __P1;
function __P1() {
_Po1("device_ios_get_image()");
}
var _0Q1 = _1Q1;
function _1Q1() {
_Po1("openfeint_start()");
}
var _2Q1 = _3Q1;
function _3Q1(_OA1, _1t1) {
_Po1("achievement_map_achievement()");
}
var _4Q1 = _5Q1;
function _5Q1(_OA1, _1t1, _6Q1) {
_Po1("achievement_map_leaderboard()");
}
var _7Q1 = _8Q1;
function _8Q1(_OA1, _1t1, _6Q1) {
_Po1("openfeint_send_challenge()");
}
var _9Q1 = _aQ1;
function _aQ1(_OA1) {
_Po1("openfeint_send_invite()");
}
var _bQ1 = _cQ1;
function _cQ1(_OA1, _1t1, _6Q1) {
_Po1("openfeint_send_social()");
}
var _dQ1 = _eQ1;
function _eQ1(_OA1) {
_Po1("openfeint_set_url()");
}
var _fQ1 = _gQ1;
function _gQ1() {
_Po1("openfeint_accept_challenge()");
return "";
}
var _hQ1 = _iQ1;
function _iQ1() {
_Po1("achievement_is_online()");
return false;
}
var _jQ1 = _kQ1;
function _kQ1(_OA1, _1t1) {
_Po1("openfeint_send_result()");
}
var _lQ1 = _mQ1;
function _mQ1() {
return false;
}
function _nQ1() {
_7O1 = new Date().getTime() * 1000;
var _d21 = 0;
for (var _X9 = 0; _X9 < 12; _X9++) {
_eo1[_X9] = _d21;
_d21 += _do1[_X9];
}
_8O1 = 0;
_9O1 = 1;
_aO1 = 2;
_bO1 = 3;
_cO1 = 4;
_dO1 = 5;
_eO1 = 0;
_fO1 = 1;
_gO1 = 2;
_hO1 = 0;
_iO1 = 1;
}
function _oQ1() {
var _d21 = setTimeout(function () {
for (var _pQ1 in _r11._m2) {
if (!_r11._m2.hasOwnProperty(_pQ1)) continue;
_r11._qz1(_pQ1);
break;
}
_oQ1();
}, 1000);
}
var _qQ1 = _rQ1;
function _rQ1() {
return document.domain;
}
var _sQ1 = _tQ1;
function _tQ1(_uQ1, _vw1) {
_uQ1 = yyGetInt32(_uQ1);
_vw1 = yyGetInt32(_vw1);
if (_uQ1 == 0) {
return _4B(_vw1);
} else {
if (_kb1[_uQ1] && _vw1 <= 1) {
return _kb1[_uQ1]._D91;
}
}
return 0;
}
var _vQ1 = _wQ1;
function _wQ1(_uQ1, _vw1) {
_uQ1 = yyGetInt32(_uQ1);
_vw1 = yyGetInt32(_vw1);
if (_uQ1 == 0) {
return _tw1(_vw1);
} else {
if (_kb1[_uQ1] && _vw1 <= 1) {
return _kb1[_uQ1]._y91;
}
}
return 0;
}
var _xQ1 = _yQ1;
function _yQ1(_uQ1, _vw1) {
_uQ1 = yyGetInt32(_uQ1);
_vw1 = yyGetInt32(_vw1);
if (_uQ1 == 0) {
return _HS(_vw1);
} else {
if (_kb1[_uQ1] && _vw1 <= 1) {
return _kb1[_uQ1]._C91;
}
}
return 0;
}
var _zQ1 = _AQ1;
function _AQ1(_uQ1) {
_uQ1 = yyGetInt32(_uQ1);
if (_uQ1 == 0) {
return _rn._0O1;
} else if (_kb1[_uQ1]) {
return _kb1[_uQ1].x;
}
return 0;
}
var _BQ1 = _CQ1;
function _CQ1(_uQ1) {
_uQ1 = yyGetInt32(_uQ1);
if (_uQ1 == 0 && _DQ1[0]) {
return _DQ1[0].x;
} else if (_kb1[_uQ1]) {
return _kb1[_uQ1].x;
}
return 0;
}
var _EQ1 = _FQ1;
function _FQ1(_uQ1) {
_uQ1 = yyGetInt32(_uQ1);
if (_uQ1 == 0) {
return _rn._4O1;
} else if (_kb1[_uQ1]) {
return _kb1[_uQ1].y;
}
return 0;
}
var _GQ1 = _HQ1;
function _HQ1(_uQ1) {
_uQ1 = yyGetInt32(_uQ1);
if (_uQ1 == 0 && _DQ1[0]) {
return _DQ1[0].y;
} else if (_kb1[_uQ1]) {
return _kb1[_uQ1].y;
}
return 0;
}
function _ZA(_uQ1) {
_uQ1 = yyGetInt32(_uQ1);
var x = 0;
if (_uQ1 == 0) {
x = _vb1;
} else if (_kb1[_uQ1]) {
x = _kb1[_uQ1].x;
}
_8b1(canvas, _9b1);
x -= _9b1.left;
var _xs1 = _ys1;
if (_xs1 < 0.0) _xs1 = _zs1();
return ~~(x * (_xs1 / _zs1()));
}
function _0B(_uQ1) {
_uQ1 = yyGetInt32(_uQ1);
var y = 0;
if (_uQ1 == 0) {
y = _wb1;
} else if (_kb1[_uQ1]) {
y = _kb1[_uQ1].y;
}
_8b1(canvas, _9b1);
y -= _9b1.top;
var _us1 = _vs1;
if (_us1 < 0.0) _us1 = _ws1();
return ~~(y * (_us1 / _ws1()));
}
var _IQ1 = _LS;
function _LS() {
return _JQ1;
}
var _KQ1 = _LQ1;
function _LQ1() {
return _MQ1;
}
function _tl(_911, _l81) {
_911 = yyGetInt32(_911);
switch (yyGetInt32(_l81)) {
case _kO1:
return _Oc1._s11(_911) ? 1.0 : 0.0;
case _lO1:
return _lc1._s11(_911) ? 1.0 : 0.0;
case _mO1:
return _NQ1._s11(_911) ? 1.0 : 0.0;
case _nO1:
return _OQ1._s11(_911) ? 1.0 : 0.0;
case _oO1:
return _Tb1._s11(_911) ? 1.0 : 0.0;
case _pO1:
return _jd1._s11(_911) ? 1.0 : 0.0;
}
return 0;
}
function _PQ1() {
var _0C1 = 0;
var _1C1 = 0;
var _QQ1 = 0;
var _RQ1 = 0;
canvas = document.getElementById(_0p1);
var _SQ1 = _MN1;
var _TQ1 = _NN1;
if (_UQ1 && _VQ1) {
var _Z9 = _WQ1;
var __9 = _XQ1;
var _Wf1, _C21, _B21;
_Wf1 = _Z9 / __9;
_C21 = _SQ1 / _Wf1;
if (_C21 < _TQ1) {
_Wf1 = __9 / _Z9;
_C21 = _SQ1 * _Wf1;
_1C1 = (_TQ1 - _C21) / 2;
_B21 = _SQ1;
_C21 += _1C1;
} else {
_Wf1 = _Z9 / __9;
_B21 = _TQ1 * _Wf1;
_0C1 = (_SQ1 - _B21) / 2;
_C21 = _TQ1;
_B21 += _0C1;
}
_QQ1 = _B21;
_RQ1 = _C21;
} else {
_QQ1 = _SQ1;
_RQ1 = _TQ1;
}
_YQ1.x = _0C1;
_YQ1.y = _1C1;
_YQ1._Z9 = _QQ1 - _0C1;
_YQ1.__9 = _RQ1 - _1C1;
}
function _qx() {
return 0;
}
function _Hx() {
return "";
}
(function () {
"use strict";
Function.prototype._ZQ1 = function (parent) {
this.prototype.parent = parent;
for (var x in parent.prototype) {
if (!this.prototype[x]) this.prototype[x] = parent.prototype[x];
}
};
Function.prototype.__Q1 = function (parent) {
return this._ZQ1(parent);
};
Array.prototype._0R1 = function (first, _Bc1, _1R1) {
if (typeof first === "undefined") first = 0;
if (typeof _Bc1 === "undefined") _Bc1 = this.length - first;
if (typeof _1R1 === "undefined")
_1R1 = function (_l41, _e21) {
return _l41 < _e21;
};
var left = first,
_2R1 = [],
_yc1 = 0;
for (;;) {
for (; left + 1 < _Bc1; _Bc1++) {
var _3R1 = this[left + Math.floor(Math.random() * (_Bc1 - left))];
_2R1[_yc1++] = _Bc1;
for (var right = left - 1; ; ) {
while (_1R1(this[++right], _3R1)) {}
while (_1R1(_3R1, this[--_Bc1])) {}
if (right >= _Bc1) break;
var _Et1 = this[right];
this[right] = this[_Bc1];
this[_Bc1] = _Et1;
}
}
if (_yc1 === 0) break;
left = _Bc1;
_Bc1 = _2R1[--_yc1];
}
return this;
};
Array.prototype._4R1 = function (_5R1, length) {
if (typeof length === "undefined") length = this.length;
var _921 = 0;
for (var _Y9 = 0; _Y9 < length; ++_Y9) {
if (_5R1(this[_Y9])) continue;
if (_Y9 === _921) {
++_921;
continue;
}
this[_921++] = this[_Y9];
}
return _921;
};
Array.prototype._6R1 = function (first, _R9, _r91, _1R1) {
if (typeof _1R1 === "undefined")
_1R1 = function (_l41, _e21) {
return _l41 < _e21;
};
var _d31 = _R9 - first;
while (_d31 > 0) {
var _7R1 = Math.floor(_d31 / 2);
var _8R1 = first + _7R1;
if (_1R1(this[_8R1], _r91)) {
first = ++_8R1;
_d31 -= _7R1 + 1;
} else _d31 = _7R1;
}
return first;
};
Array.prototype._9R1 = function (first, _R9, _r91, _1R1) {
if (typeof _1R1 === "undefined")
_1R1 = function (_l41, _e21) {
return _l41 < _e21;
};
var _d31 = _R9 - first;
while (_d31 > 0) {
var _7R1 = Math.floor(_d31 / 2);
var _8R1 = first + _7R1;
if (!_1R1(_r91, this[_8R1])) {
first = ++_8R1;
_d31 -= _7R1 + 1;
} else _d31 = _7R1;
}
return first;
};
Array.prototype.rotate = function (first, _aR1, _R9) {
var _Vc1 = _aR1;
while (first != _Vc1) {
var _bR1 = this[first];
this[first] = this[_Vc1];
this[_Vc1] = _bR1;
++first;
++_Vc1;
if (_Vc1 === _R9) _Vc1 = _aR1;
else if (first === _aR1) _aR1 = _Vc1;
}
};
var _cR1 = (function () {
var _dR1 = function () {
return +new Date();
};
if (typeof performance === "undefined") window["performance"] = { now: _dR1 };
if (!window["performance"].now) window["performance"].now = _dR1;
function _eR1(name, parent) {
this.name = name;
this.parent = parent;
this._fR1 = {};
this._4H1 = 0;
this._gR1 = 0;
this._hR1 = 0;
this._iR1 = !1;
this._jR1 = 0;
}
_eR1.prototype = {
start: function () {
this._4H1 = performance.now();
this._iR1 = !0;
},
stop: function (_kR1) {
if (!this._iR1) return;
this._iR1 = !1;
this._gR1 += performance.now() - this._4H1;
if (_kR1) this.start();
for (var x in this._fR1) this._fR1[x].stop();
},
_kR1: function (_lR1) {
if (!_lR1) {
this._iR1 = !0;
this._hR1 += this._gR1;
this.start();
}
this._gR1 = 0;
for (var x in this._fR1) this._fR1[x]._kR1(!0);
},
};
var _mR1 = [];
var _v01 = new _eR1("root");
function _nR1(name, parent) {
if (!_mR1) throw new Error("late profile creation not allowed");
var _Wo1 = new _eR1(name, parent || "root");
_mR1.push(_Wo1);
return _Wo1;
}
function _oR1(_pR1) {
_pR1._jR1--;
delete _pR1._fR1[_pR1.name];
}
function _qR1(_kd1, _pR1) {
if (_kd1.name === _pR1.parent) return _kd1;
for (var x in _kd1._fR1) {
var _W11;
if ((_W11 = _qR1(_kd1._fR1[x], _pR1))) return _W11;
}
return null;
}
function init() {
while (_mR1.length) {
var _ot1 = _mR1.pop();
if (!(_ot1.parentNode = _qR1(_v01, _ot1))) _mR1._rR1(_ot1);
else {
_ot1.parentNode._fR1[_ot1.name] = _ot1;
_ot1.parentNode._jR1++;
}
}
_mR1 = null;
}
function _sR1() {
_v01._kR1(!0);
}
var __b1 = { _nR1: _nR1, _oR1: _oR1, init: init, _kR1: _sR1, _tR1: _v01 };
return __b1;
})();
function _uR1(_vR1) {
if (!_vR1) {
console.log("Assertion failed! Pls debug.");
debugger;
}
}
var _wR1 = Number.MAX_VALUE;
var _xR1 = 2.2204460492503131e-16;
var _yR1 = Math.PI;
/// @file
var _zR1 = 2;
var _AR1 = 8;
var _BR1 = 0.1;
var _CR1 = 2.0;
var _DR1 = 0.005;
var _ER1 = (2.0 / 180.0) * _yR1;
var _FR1 = 2.0 * _DR1;
var _GR1 = 8;
var _HR1 = 32;
var _IR1 = 1.0;
var _JR1 = 0.2;
var _KR1 = (8.0 / 180.0) * _yR1;
var _LR1 = 2.0;
var _MR1 = _LR1 * _LR1;
var _NR1 = 0.5 * _yR1;
var _OR1 = _NR1 * _NR1;
var _PR1 = 0.2;
var _QR1 = 0.75;
var _RR1 = 0.5;
var _SR1 = 0.01;
var _TR1 = (2.0 / 180.0) * _yR1;
var _UR1 = -1;
var _VR1 = 0.75;
var _WR1 = 1.0;
var _XR1 = 5.0;
var _YR1 = 2;
var _ZR1 = _YR1 * _YR1;
var __R1 = 256;
function _0S1(_1S1, _2S1, _3S1) {
this._4S1 = _1S1;
this._5S1 = _2S1;
this._6S1 = _3S1;
}
_0S1.prototype = {
toString: function () {
return this._4S1 + "." + this._5S1 + "." + this._6S1;
},
};
var _7S1 = new _0S1(2, 3, 1);
function _8S1(x) {
return isFinite(x) && !isNaN(x);
}
var _9S1 = Math.sqrt;
var _aS1 = Math.atan2;
var _bS1 = Math.sin;
var _cS1 = Math.cos;
var _dS1 = Math.floor;
var _eS1 = Math.ceil;
var _fS1 = _9S1;
var _gS1 = _aS1;
function _hS1(x) {
return 1.0 / _9S1(x);
}
function _iS1(x, y) {
if (typeof x !== "undefined") {
this.x = x;
this.y = y;
} else this.x = this.y = 0;
}
_iS1.prototype = {
_b01: function () {
return new _iS1(this.x, this.y);
},
_jS1: function () {
this.x = 0.0;
this.y = 0.0;
return this;
},
_sc1: function (_kS1, _lS1) {
this.x = _kS1;
this.y = _lS1;
return this;
},
_IE1: function (_921) {
this.x = _921.x;
this.y = _921.y;
return this;
},
_mS1: function () {
var _J41 = new _iS1();
_J41._sc1(-this.x, -this.y);
return _J41;
},
_nS1: function (_X9) {
switch (_X9) {
case 0:
return this.x;
case 1:
return this.y;
}
},
_oS1: function (_X9, _J41) {
switch (_X9) {
case 0:
return (this.x = _J41);
case 1:
return (this.y = _J41);
}
},
_Da1: function (_J41) {
this.x += _J41.x;
this.y += _J41.y;
return this;
},
_pS1: function (_J41) {
this.x -= _J41.x;
this.y -= _J41.y;
return this;
},
Multiply: function (_l41) {
this.x *= _l41;
this.y *= _l41;
return this;
},
Length: function () {
return _fS1(this.x * this.x + this.y * this.y);
},
_qS1: function () {
return this.x * this.x + this.y * this.y;
},
_rS1: function () {
var length = this.Length();
if (length < _xR1) {
return 0.0;
}
var _sS1 = 1.0 / length;
this.x *= _sS1;
this.y *= _sS1;
return length;
},
_tS1: function () {
return _8S1(this.x) && _8S1(this.y);
},
_uS1: function () {
return new _iS1(-this.y, this.x);
},
_vS1: function (out) {
var _cq1 = out || [];
_cq1[0] = this.x;
_cq1[1] = this.y;
return _cq1;
},
_wS1: function (data) {
this.x = data[0];
this.y = data[1];
},
};
_iS1._Da1 = function (_l41, _e21) {
return new _iS1(_l41.x + _e21.x, _l41.y + _e21.y);
};
_iS1._pS1 = function (_l41, _e21) {
return new _iS1(_l41.x - _e21.x, _l41.y - _e21.y);
};
_iS1._xS1 = function (_l41, _e21) {
return _l41.x == _e21.x && _l41.y == _e21.y;
};
_iS1.Multiply = function (_Wo1, _l41) {
return new _iS1(_Wo1 * _l41.x, _Wo1 * _l41.y);
};
_iS1._mS1 = function (_l41) {
return new _iS1(-_l41.x, -_l41.y);
};
function _yS1(x, y, _L61) {
if (typeof x !== "undefined") {
this.x = x;
this.y = y;
this._L61 = _L61;
}
}
_yS1.prototype = {
_b01: function () {
return new _yS1(this.x, this.y, this._L61);
},
_jS1: function () {
this.x = 0.0;
this.y = 0.0;
this._L61 = 0.0;
},
_sc1: function (_kS1, _lS1, _zS1) {
this.x = _kS1;
this.y = _lS1;
this._L61 = _zS1;
},
_mS1: function () {
var _J41 = new _yS1();
_J41._sc1(-this.x, -this.y, -this._L61);
return _J41;
},
_Da1: function (_J41) {
this.x += _J41.x;
this.y += _J41.y;
this._L61 += _J41._L61;
},
_pS1: function (_J41) {
this.x -= _J41.x;
this.y -= _J41.y;
this._L61 -= _J41._L61;
},
Multiply: function (_Wo1) {
this.x *= _Wo1;
this.y *= _Wo1;
this._L61 *= _Wo1;
},
x: 0,
y: 0,
_L61: 0,
};
_yS1.Multiply = function (_Wo1, _l41) {
return new _yS1(_Wo1 * _l41.x, _Wo1 * _l41.y, _Wo1 * _l41._L61);
};
_yS1._Da1 = function (_l41, _e21) {
return new _yS1(_l41.x + _e21.x, _l41.y + _e21.y, _l41._L61 + _e21._L61);
};
_yS1._pS1 = function (_l41, _e21) {
return new _yS1(_l41.x - _e21.x, _l41.y - _e21.y, _l41._L61 - _e21._L61);
};
function _AS1(_BS1, _CS1) {
this._dc1 = _BS1 ? _BS1._b01() : new _iS1();
this._1v1 = _CS1 ? _CS1._b01() : new _iS1();
}
_AS1.prototype = {
_sc1: function (_BS1, _CS1) {
this._dc1._IE1(_BS1);
this._1v1._IE1(_CS1);
},
_IE1: function (_um1) {
this._dc1._IE1(_um1._dc1);
this._1v1._IE1(_um1._1v1);
},
_DS1: function () {
this._dc1.x = 1.0;
this._1v1.x = 0.0;
this._dc1.y = 0.0;
this._1v1.y = 1.0;
},
_jS1: function () {
this._dc1.x = 0.0;
this._1v1.x = 0.0;
this._dc1.y = 0.0;
this._1v1.y = 0.0;
},
_ES1: function () {
var _l41 = this._dc1.x,
_e21 = this._1v1.x,
_Y9 = this._dc1.y,
_Ce1 = this._1v1.y;
var _FS1 = new _AS1();
var _GS1 = _l41 * _Ce1 - _e21 * _Y9;
if (_GS1 != 0.0) {
_GS1 = 1.0 / _GS1;
}
_FS1._dc1.x = _GS1 * _Ce1;
_FS1._1v1.x = -_GS1 * _e21;
_FS1._dc1.y = -_GS1 * _Y9;
_FS1._1v1.y = _GS1 * _l41;
return _FS1;
},
_HS1: function (_e21) {
var _IS1 = this._dc1.x,
_JS1 = this._1v1.x,
_KS1 = this._dc1.y,
_LS1 = this._1v1.y;
var _GS1 = _IS1 * _LS1 - _JS1 * _KS1;
if (_GS1 != 0.0) {
_GS1 = 1.0 / _GS1;
}
var x = new _iS1();
x.x = _GS1 * (_LS1 * _e21.x - _JS1 * _e21.y);
x.y = _GS1 * (_IS1 * _e21.y - _KS1 * _e21.x);
return x;
},
};
_AS1._Da1 = function (_vR1, _FS1) {
return new _AS1(_iS1._Da1(_vR1._dc1, _FS1._dc1), _iS1._Da1(_vR1._1v1, _FS1._1v1));
};
function _MS1(_BS1, _CS1, _NS1) {
this._dc1 = _BS1 ? _BS1._b01() : new _yS1();
this._1v1 = _CS1 ? _CS1._b01() : new _yS1();
this._OS1 = _NS1 ? _NS1._b01() : new _yS1();
}
_MS1.prototype = {
_jS1: function () {
this._dc1._jS1();
this._1v1._jS1();
this._OS1._jS1();
},
_PS1: function (_e21) {
var _GS1 = _QS1(this._dc1, _RS1(this._1v1, this._OS1));
if (_GS1 != 0.0) {
_GS1 = 1.0 / _GS1;
}
var x = new _yS1();
x.x = _GS1 * _QS1(_e21, _RS1(this._1v1, this._OS1));
x.y = _GS1 * _QS1(this._dc1, _RS1(_e21, this._OS1));
x._L61 = _GS1 * _QS1(this._dc1, _RS1(this._1v1, _e21));
return x;
},
_SS1: function (_e21) {
var _IS1 = this._dc1.x,
_JS1 = this._1v1.x,
_KS1 = this._dc1.y,
_LS1 = this._1v1.y;
var _GS1 = _IS1 * _LS1 - _JS1 * _KS1;
if (_GS1 != 0.0) {
_GS1 = 1.0 / _GS1;
}
var x = new _iS1();
x.x = _GS1 * (_LS1 * _e21.x - _JS1 * _e21.y);
x.y = _GS1 * (_IS1 * _e21.y - _KS1 * _e21.x);
return x;
},
_TS1: function (_US1) {
var _l41 = this._dc1.x,
_e21 = this._1v1.x,
_Y9 = this._dc1.y,
_Ce1 = this._1v1.y;
var _GS1 = _l41 * _Ce1 - _e21 * _Y9;
if (_GS1 != 0.0) {
_GS1 = 1.0 / _GS1;
}
_US1._dc1.x = _GS1 * _Ce1;
_US1._1v1.x = -_GS1 * _e21;
_US1._dc1._L61 = 0.0;
_US1._dc1.y = -_GS1 * _Y9;
_US1._1v1.y = _GS1 * _l41;
_US1._1v1._L61 = 0.0;
_US1._OS1.x = 0.0;
_US1._OS1.y = 0.0;
_US1._OS1._L61 = 0.0;
},
_VS1: function (_US1) {
var _GS1 = _QS1(this._dc1, _RS1(this._1v1, this._OS1));
if (_GS1 != 0.0) {
_GS1 = 1.0 / _GS1;
}
var _IS1 = this._dc1.x,
_JS1 = this._1v1.x,
_WS1 = this._OS1.x;
var _LS1 = this._1v1.y,
_XS1 = this._OS1.y;
var _YS1 = this._OS1._L61;
_US1._dc1.x = _GS1 * (_LS1 * _YS1 - _XS1 * _XS1);
_US1._dc1.y = _GS1 * (_WS1 * _XS1 - _JS1 * _YS1);
_US1._dc1._L61 = _GS1 * (_JS1 * _XS1 - _WS1 * _LS1);
_US1._1v1.x = _US1._dc1.y;
_US1._1v1.y = _GS1 * (_IS1 * _YS1 - _WS1 * _WS1);
_US1._1v1._L61 = _GS1 * (_WS1 * _JS1 - _IS1 * _XS1);
_US1._OS1.x = _US1._dc1._L61;
_US1._OS1.y = _US1._1v1._L61;
_US1._OS1._L61 = _GS1 * (_IS1 * _LS1 - _JS1 * _JS1);
},
};
function _ZS1(angle, _Y9) {
if (typeof _Y9 !== "undefined") {
this._Wo1 = angle;
this._Y9 = _Y9;
} else if (typeof angle !== "undefined") this._sc1(angle);
}
_ZS1.prototype = {
_b01: function () {
return new _ZS1(this._Wo1, this._Y9);
},
_IE1: function (_921) {
this._Wo1 = _921._Wo1;
this._Y9 = _921._Y9;
},
_sc1: function (x) {
this._Wo1 = _bS1(x);
this._Y9 = _cS1(x);
},
_DS1: function () {
this._Wo1 = 0.0;
this._Y9 = 1.0;
},
__S1: function () {
return _gS1(this._Wo1, this._Y9);
},
_0T1: function () {
return new _iS1(this._Y9, this._Wo1);
},
_1T1: function () {
return new _iS1(-this._Wo1, this._Y9);
},
_Wo1: 0,
_Y9: 1,
};
function _2T1(position, rotation) {
this._ot1 = new _iS1();
this._Yr1 = new _ZS1();
if (position) {
this._ot1._IE1(position);
this._Yr1._IE1(rotation);
}
}
_2T1.prototype = {
_b01: function () {
var _3T1 = new _2T1(this._ot1, this._Yr1);
return _3T1;
},
_IE1: function (_3T1) {
this._ot1._IE1(_3T1._ot1);
this._Yr1._IE1(_3T1._Yr1);
},
_DS1: function () {
this._ot1._jS1();
this._Yr1._DS1();
},
_sc1: function (position, angle) {
this._ot1._IE1(position);
this._Yr1._sc1(angle);
},
};
function _4T1() {
this._5T1 = new _iS1();
this._6T1 = new _iS1();
this._Y9 = new _iS1();
}
_4T1.prototype = {
_IE1: function (_7T1) {
this._5T1._IE1(_7T1._5T1);
this._6T1._IE1(_7T1._6T1);
this._Y9._IE1(_7T1._Y9);
this._l41 = _7T1._l41;
this._8T1 = _7T1._8T1;
this._9T1 = _7T1._9T1;
},
_b01: function () {
var _7T1 = new _4T1();
_7T1._5T1._IE1(this._5T1);
_7T1._6T1._IE1(this._6T1);
_7T1._Y9._IE1(this._Y9);
_7T1._l41 = this._l41;
_7T1._8T1 = this._8T1;
_7T1._9T1 = this._9T1;
return _7T1;
}, /// @param beta is a factor in [0,1], where 0 indicates alpha0.
_aT1: function (_3T1, _bT1) {
_3T1._ot1.x = (1.0 - _bT1) * this._6T1.x + _bT1 * this._Y9.x;
_3T1._ot1.y = (1.0 - _bT1) * this._6T1.y + _bT1 * this._Y9.y;
var angle = (1.0 - _bT1) * this._8T1 + _bT1 * this._l41;
_3T1._Yr1._sc1(angle);
_3T1._ot1.x -= _3T1._Yr1._Y9 * this._5T1.x - _3T1._Yr1._Wo1 * this._5T1.y;
_3T1._ot1.y -= _3T1._Yr1._Wo1 * this._5T1.x + _3T1._Yr1._Y9 * this._5T1.y;
}, /// @param alpha the new initial time.
_cT1: function (alpha) {
_uR1(this._9T1 < 1.0);
var _bT1 = (alpha - this._9T1) / (1.0 - this._9T1);
this._6T1._Da1(_iS1.Multiply(_bT1, _iS1._pS1(this._Y9, this._6T1)));
this._8T1 += _bT1 * (this._l41 - this._8T1);
this._9T1 = alpha;
},
_rS1: function () {
var _dT1 = 2.0 * _yR1;
var _Ce1 = _dT1 * _dS1(this._8T1 / _dT1);
this._8T1 -= _Ce1;
this._l41 -= _Ce1;
},
_8T1: 0,
_l41: 0,
_9T1: 0,
};
function _eT1(_l41, _e21) {
return _l41.x * _e21.x + _l41.y * _e21.y;
}
function _fT1(_l41, _e21) {
return _l41.x * _e21.y - _l41.y * _e21.x;
}
function _gT1(_l41, _Wo1) {
return new _iS1(_Wo1 * _l41.y, -_Wo1 * _l41.x);
}
function _hT1(_Wo1, _l41) {
return new _iS1(-_Wo1 * _l41.y, _Wo1 * _l41.x);
}
function _iT1(_vR1, _J41) {
return new _iS1(_vR1._dc1.x * _J41.x + _vR1._1v1.x * _J41.y, _vR1._dc1.y * _J41.x + _vR1._1v1.y * _J41.y);
}
function _jT1(_vR1, _J41) {
return new _iS1(_eT1(_J41, _vR1._dc1), _eT1(_J41, _vR1._1v1));
}
function _kT1(_l41, _e21) {
var _Y9 = _iS1._pS1(_l41, _e21);
return _Y9.Length();
}
function _lT1(_l41, _e21) {
var _Y9 = _iS1._pS1(_l41, _e21);
return _eT1(_Y9, _Y9);
}
function _QS1(_l41, _e21) {
return _l41.x * _e21.x + _l41.y * _e21.y + _l41._L61 * _e21._L61;
}
function _RS1(_l41, _e21) {
return new _yS1(_l41.y * _e21._L61 - _l41._L61 * _e21.y, _l41._L61 * _e21.x - _l41.x * _e21._L61, _l41.x * _e21.y - _l41.y * _e21.x);
}
function _mT1(_vR1, _FS1) {
return new _AS1(_iT1(_vR1, _FS1._dc1), _iT1(_vR1, _FS1._1v1));
}
function _nT1(_vR1, _FS1) {
var _BS1 = new _iS1(_eT1(_vR1._dc1, _FS1._dc1), _eT1(_vR1._1v1, _FS1._dc1));
var _CS1 = new _iS1(_eT1(_vR1._dc1, _FS1._1v1), _eT1(_vR1._1v1, _FS1._1v1));
return new _AS1(_BS1, _CS1);
}
function _oT1(_vR1, _J41) {
return _yS1._Da1(_yS1._Da1(_yS1.Multiply(_J41.x, _vR1._dc1), _yS1.Multiply(_J41.y, _vR1._1v1)), _yS1.Multiply(_J41._L61, _vR1._OS1));
}
function _pT1(_vR1, _J41) {
return new _iS1(_vR1._dc1.x * _J41.x + _vR1._1v1.x * _J41.y, _vR1._dc1.y * _J41.x + _vR1._1v1.y * _J41.y);
}
function _qT1(_Yr1, _b21) {
var _rT1 = new _ZS1();
_rT1._Wo1 = _Yr1._Wo1 * _b21._Y9 + _Yr1._Y9 * _b21._Wo1;
_rT1._Y9 = _Yr1._Y9 * _b21._Y9 - _Yr1._Wo1 * _b21._Wo1;
return _rT1;
}
function _sT1(_Yr1, _b21) {
var _rT1 = new _ZS1();
_rT1._Wo1 = _Yr1._Y9 * _b21._Wo1 - _Yr1._Wo1 * _b21._Y9;
_rT1._Y9 = _Yr1._Y9 * _b21._Y9 + _Yr1._Wo1 * _b21._Wo1;
return _rT1;
}
function _tT1(_Yr1, _J41) {
return new _iS1(_Yr1._Y9 * _J41.x - _Yr1._Wo1 * _J41.y, _Yr1._Wo1 * _J41.x + _Yr1._Y9 * _J41.y);
}
function _uT1(_Yr1, _J41) {
return new _iS1(_Yr1._Y9 * _J41.x + _Yr1._Wo1 * _J41.y, -_Yr1._Wo1 * _J41.x + _Yr1._Y9 * _J41.y);
}
function _vT1(_wT1, _J41) {
return new _iS1(_wT1._Yr1._Y9 * _J41.x - _wT1._Yr1._Wo1 * _J41.y + _wT1._ot1.x, _wT1._Yr1._Wo1 * _J41.x + _wT1._Yr1._Y9 * _J41.y + _wT1._ot1.y);
}
function _xT1(_wT1, _J41) {
var _qe1 = _J41.x - _wT1._ot1.x;
var _re1 = _J41.y - _wT1._ot1.y;
var x = _wT1._Yr1._Y9 * _qe1 + _wT1._Yr1._Wo1 * _re1;
var y = -_wT1._Yr1._Wo1 * _qe1 + _wT1._Yr1._Y9 * _re1;
return new _iS1(x, y);
}
function _yT1(_vR1, _FS1) {
var _zT1 = new _2T1();
_zT1._Yr1 = _qT1(_vR1._Yr1, _FS1._Yr1);
_zT1._ot1 = _iS1._Da1(_tT1(_vR1._Yr1, _FS1._ot1), _vR1._ot1);
return _zT1;
}
function _AT1(_vR1, _FS1) {
var _zT1 = new _2T1();
_zT1._Yr1 = _sT1(_vR1._Yr1, _FS1._Yr1);
var _BT1 = _FS1._ot1.x - _vR1._ot1.x;
var _CT1 = _FS1._ot1.y - _vR1._ot1.y;
_zT1._ot1.x = _vR1._Yr1._Y9 * _BT1 + _vR1._Yr1._Wo1 * _CT1;
_zT1._ot1.y = -_vR1._Yr1._Wo1 * _BT1 + _vR1._Yr1._Y9 * _CT1;
return _zT1;
}
var _DT1 = Math.abs;
function _ET1(_l41) {
return new _iS1(_DT1(_l41.x), _DT1(_l41.y));
}
function _FT1(_vR1) {
return new _AS1(_ET1(_vR1._dc1), _ET1(_vR1._1v1));
}
var _GT1 = Math.min;
function _HT1(_l41, _e21) {
return new _iS1(_GT1(_l41.x, _e21.x), _GT1(_l41.y, _e21.y));
}
var _IT1 = Math.max;
function _JT1(_l41, _e21) {
return new _iS1(_IT1(_l41.x, _e21.x), _IT1(_l41.y, _e21.y));
}
function _KT1(_l41, _eL1, _xL1) {
return _IT1(_eL1, _GT1(_l41, _xL1));
}
function _LT1(_l41, _eL1, _xL1) {
return _JT1(_eL1, _HT1(_l41, _xL1));
}
function _MT1(x) {
x |= x >> 1;
x |= x >> 2;
x |= x >> 4;
x |= x >> 8;
x |= x >> 16;
return x + 1;
}
function _NT1(x) {
var result = x > 0 && (x & (x - 1)) == 0;
return result;
}
var _OT1 = 32767;
function _PT1(_QT1, _dL1) {
var _b21 = Math.random();
if (typeof _QT1 !== "undefined") _b21 = (_dL1 - _QT1) * _b21 + _QT1;
else _b21 = 2.0 * _b21 - 1.0;
return _b21;
}
function _RT1(_b21, _k41, _e21) {
this._b21 = _b21 || 0;
this._k41 = _k41 || 0;
this._e21 = _e21 || 0;
}
_RT1.prototype = {
_sc1: function (_b21, _k41, _e21) {
this._b21 = _b21;
this._k41 = _k41;
this._e21 = _e21;
},
};
function _ST1() {}
_ST1.prototype = {
_TT1: function (_DP1) {
this._UT1 = _DP1;
},
_VT1: function () {
return this._UT1;
},
_WT1: function (_DP1) {
this._UT1 |= _DP1;
},
_XT1: function (_DP1) {
this._UT1 &= ~_DP1;
},
_YT1: function (_DP1) {
this._UT1 ^= _DP1;
},
_ZT1: function (vertices, vertexCount, color) {},
__T1: function (vertices, vertexCount, color) {},
_0U1: function (_1U1, _2U1, color) {},
_3U1: function (_1U1, _2U1, _Ge1, color) {},
_4U1: function (_Fe1, _5U1, color) {}, /// @param xf a transform.
_6U1: function (_3T1) {},
_7U1: function (_8U1, _2U1, _9U1, _d31) {},
_UT1: 0,
};
_ST1._aU1 = 1;
_ST1._bU1 = 2;
_ST1._cU1 = 4;
_ST1._dU1 = 8;
_ST1._eU1 = 16;
_ST1._fU1 = 32;
_ST1._gU1 = 64;
_ST1._hU1 = 128;
_ST1._iU1 = 256;
_ST1._jU1 = 512;
_ST1._kU1 = 1024;
if (typeof performance === "undefined") {
window.performance = {
now: function () {
return +new Date();
},
};
}
function _lU1() {
this._ls1();
}
_lU1.prototype = {
_ls1: function () {
this._mU1 = performance.now();
},
_nU1: function () {
return performance.now() - this._mU1;
},
};
function _oU1() {
this._pU1 = 0;
this._1U1 = new _iS1();
this._qU1 = 0;
}
/*
* A shape.
* @constructor
* @returns {b2Shape}
*/ function _rU1() {
this._px1 = 0;
this._sU1 = 0;
}
_rU1.prototype = {
_b01: function () {}, /// @return the shape type.
_tU1: function () {
return this._px1;
},
_uU1: function () {}, /// @param xf the shape world transform.
/// @param p a point in world coordinates.
_vU1: function (_3T1, _ot1) {}, /// @param output the ray-cast results.
/// @param input the ray-cast input parameters.
/// @param transform the transform to be applied to the shape.
/// @param childIndex the child shape index
_wU1: function (_Kr1, _Ir1, transform, _xU1) {}, /// @param aabb returns the axis aligned box.
/// @param xf the world transform of the shape.
/// @param childIndex the child shape
_yU1: function (_zU1, _3T1, _xU1) {}, /// @param massData returns the mass data for this shape.
/// @param density the density in kilograms per meter squared.
_AU1: function (_BU1, _CU1) {}, /// @param xf the shape world transform.
/// @param p a point in world coordinates.
/// @param distance returns the distance from the current shape.
/// @param normal returns the direction in which the distance increases.
_DU1: function (_3T1, _ot1, _EU1, _FU1, _xU1) {},
_vS1: function (out) {
var _cq1 = out || {};
_cq1["m_type"] = this._px1;
_cq1["m_radius"] = this._sU1;
return _cq1;
},
_wS1: function (data) {
this._sU1 = data["m_radius"];
},
};
_rU1._GU1 = 0;
_rU1._HU1 = 1;
_rU1._IU1 = 2;
_rU1._JU1 = 3;
_rU1._KU1 = 4;
function _LU1() {
this.parent.call(this);
this._px1 = _rU1._GU1;
this._sU1 = 0;
this._MU1 = new _iS1();
Object.seal(this);
}
_LU1.prototype = {
_b01: function () {
var _NU1 = new _LU1();
_NU1._sU1 = this._sU1;
_NU1._MU1 = this._MU1._b01();
return _NU1;
}, /// @see b2Shape::GetChildCount
_uU1: function () {
return 1;
},
_vU1: function (transform, _ot1) {
var _1U1 = _iS1._Da1(transform._ot1, _tT1(transform._Yr1, this._MU1));
var _Ce1 = _iS1._pS1(_ot1, _1U1);
return _eT1(_Ce1, _Ce1) <= this._sU1 * this._sU1;
},
_wU1: function (_Kr1, _Ir1, transform, _xU1) {
var position = _iS1._Da1(transform._ot1, _tT1(transform._Yr1, this._MU1));
var _Wo1 = _iS1._pS1(_Ir1._Fe1, position);
var _e21 = _eT1(_Wo1, _Wo1) - this._sU1 * this._sU1;
var _b21 = _iS1._pS1(_Ir1._5U1, _Ir1._Fe1);
var _Y9 = _eT1(_Wo1, _b21);
var _5t1 = _eT1(_b21, _b21);
var _OU1 = _Y9 * _Y9 - _5t1 * _e21;
if (_OU1 < 0.0 || _5t1 < _xR1) {
return !1;
}
var _l41 = -(_Y9 + _fS1(_OU1));
if (0.0 <= _l41 && _l41 <= _Ir1._PU1 * _5t1) {
_l41 /= _5t1;
_Kr1._QU1 = _l41;
_Kr1._FU1 = _iS1._Da1(_Wo1, _iS1.Multiply(_l41, _b21));
_Kr1._FU1._rS1();
return !0;
}
return !1;
}, /// @see b2Shape::ComputeAABB
_yU1: function (_zU1, transform, _xU1) {
var _qe1 = transform._ot1.x + (transform._Yr1._Y9 * this._MU1.x - transform._Yr1._Wo1 * this._MU1.y);
var _re1 = transform._ot1.y + (transform._Yr1._Wo1 * this._MU1.x + transform._Yr1._Y9 * this._MU1.y);
_zU1._RU1.x = _qe1 - this._sU1;
_zU1._RU1.y = _re1 - this._sU1;
_zU1._SU1.x = _qe1 + this._sU1;
_zU1._SU1.y = _re1 + this._sU1;
}, /// @see b2Shape::ComputeMass
_AU1: function (_BU1, _CU1) {
_BU1._pU1 = _CU1 * _yR1 * this._sU1 * this._sU1;
_BU1._1U1 = this._MU1;
_BU1._qU1 = _BU1._pU1 * (0.5 * this._sU1 * this._sU1 + _eT1(this._MU1, this._MU1));
},
_TU1: function (_Ce1) {
return 0;
},
_UU1: function (_Ce1) {
return this._MU1;
},
_d91: function () {
return 1;
},
_VU1: function (index) {
_uR1(index == 0);
return this._MU1;
},
_DU1: function (transform, _ot1, _EU1, _FU1, _xU1) {
var _1U1 = _iS1._Da1(transform._ot1, _tT1(transform._Yr1, this._MU1));
var _Ce1 = _iS1._pS1(_ot1, _1U1);
var _WU1 = _Ce1.Length();
_EU1[0] = _WU1 - this._sU1;
_FU1._IE1(_iS1.Multiply(1 / _WU1, _Ce1));
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["m_p"] = this._MU1._vS1();
return _cq1;
},
_wS1: function (data) {
this.parent.prototype._wS1.call(this, data);
this._MU1._wS1(data["m_p"]);
},
};
_LU1._ZQ1(_rU1);
function _XU1() {
this.parent.call(this);
this._px1 = _rU1._HU1;
this._sU1 = _FR1;
this._YU1 = new _iS1();
this._ZU1 = new _iS1();
this.__U1 = new _iS1();
this._0V1 = new _iS1();
this._1V1 = !1;
this._2V1 = !1;
Object.seal(this);
}
_XU1.prototype = {
_sc1: function (_b61, _c61) {
this._ZU1._IE1(_b61);
this.__U1._IE1(_c61);
this._1V1 = !1;
this._2V1 = !1;
},
_b01: function () {
var _NU1 = new _XU1();
_NU1._YU1 = this._YU1._b01();
_NU1._ZU1 = this._ZU1._b01();
_NU1.__U1 = this.__U1._b01();
_NU1._0V1 = this._0V1._b01();
_NU1._1V1 = this._1V1;
_NU1._2V1 = this._2V1;
return _NU1;
}, /// @see b2Shape::GetChildCount
_uU1: function () {
return 1;
}, /// @see b2Shape::TestPoint
_vU1: function (transform, _ot1) {
return !1;
},
_wU1: function (_Kr1, _Ir1, _3T1, _xU1) {
var _Fe1 = _uT1(_3T1._Yr1, _iS1._pS1(_Ir1._Fe1, _3T1._ot1));
var _5U1 = _uT1(_3T1._Yr1, _iS1._pS1(_Ir1._5U1, _3T1._ot1));
var _Ce1 = _iS1._pS1(_5U1, _Fe1);
var _b61 = this._ZU1;
var _c61 = this.__U1;
var e = _iS1._pS1(_c61, _b61);
var _FU1 = new _iS1(e.y, -e.x);
_FU1._rS1();
var _3V1 = _eT1(_FU1, _iS1._pS1(_b61, _Fe1));
var _4V1 = _eT1(_FU1, _Ce1);
if (_4V1 == 0.0) {
return !1;
}
var _d21 = _3V1 / _4V1;
if (_d21 < 0.0 || _Ir1._PU1 < _d21) {
return !1;
}
var _Yr1 = _iS1._Da1(_Fe1, _iS1.Multiply(_d21, _Ce1));
var _b21 = _iS1._pS1(_c61, _b61);
var _5t1 = _eT1(_b21, _b21);
if (_5t1 == 0.0) {
return !1;
}
var _Wo1 = _eT1(_iS1._pS1(_Yr1, _b61), _b21) / _5t1;
if (_Wo1 < 0.0 || 1.0 < _Wo1) {
return !1;
}
_Kr1._QU1 = _d21;
if (_3V1 > 0.0) {
_Kr1._FU1 = _tT1(_3T1._Yr1, _FU1)._mS1();
} else {
_Kr1._FU1 = _tT1(_3T1._Yr1, _FU1);
}
return !0;
}, /// @see b2Shape::ComputeAABB
_yU1: function (_zU1, _3T1, _xU1) {
var _p61 = _3T1._Yr1._Y9 * this._ZU1.x - _3T1._Yr1._Wo1 * this._ZU1.y + _3T1._ot1.x;
var _q61 = _3T1._Yr1._Wo1 * this._ZU1.x + _3T1._Yr1._Y9 * this._ZU1.y + _3T1._ot1.y;
var _r61 = _3T1._Yr1._Y9 * this.__U1.x - _3T1._Yr1._Wo1 * this.__U1.y + _3T1._ot1.x;
var _s61 = _3T1._Yr1._Wo1 * this.__U1.x + _3T1._Yr1._Y9 * this.__U1.y + _3T1._ot1.y;
var _5V1 = _GT1(_p61, _r61);
var _6V1 = _GT1(_q61, _s61);
var _7V1 = _IT1(_p61, _r61);
var _8V1 = _IT1(_q61, _s61);
_zU1._RU1.x = _5V1 - this._sU1;
_zU1._RU1.y = _6V1 - this._sU1;
_zU1._SU1.x = _7V1 + this._sU1;
_zU1._SU1.y = _8V1 + this._sU1;
}, /// @see b2Shape::ComputeMass
_AU1: function (_BU1, _CU1) {
_BU1._pU1 = 0.0;
_BU1._1U1 = _iS1.Multiply(0.5, _iS1._Da1(this._ZU1, this.__U1));
_BU1._qU1 = 0.0;
},
_DU1: function (_3T1, _ot1, _EU1, _FU1, _xU1) {
var _b61 = _vT1(_3T1, this._ZU1);
var _c61 = _vT1(_3T1, this.__U1);
var _Ce1 = _iS1._pS1(_ot1, _b61);
var _Wo1 = _iS1._pS1(_c61, _b61);
var _9V1 = _eT1(_Ce1, _Wo1);
if (_9V1 > 0) {
var _Lm1 = _eT1(_Wo1, _Wo1);
if (_9V1 > _Lm1) {
_Ce1._IE1(_iS1._pS1(_ot1, _c61));
} else {
_Ce1._pS1(_iS1.Multiply(_9V1 / _Lm1, _Wo1));
}
}
var _WU1 = _Ce1.Length();
_EU1[0] = _WU1;
_FU1._IE1(_WU1 > 0 ? _iS1.Multiply(1 / _WU1, _Ce1) : new _iS1(0, 0));
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["m_vertex1"] = this._ZU1._vS1();
_cq1["m_vertex2"] = this.__U1._vS1();
_cq1["m_hasVertex0"] = this._1V1;
if (this._1V1) _cq1["m_vertex0"] = this._YU1._vS1();
_cq1["m_hasVertex3"] = this._2V1;
if (this._2V1) _cq1["m_vertex3"] = this._0V1._vS1();
return _cq1;
},
_wS1: function (data) {
this.parent.prototype._wS1.call(this, data);
this._ZU1._wS1(data["m_vertex1"]);
this.__U1._wS1(data["m_vertex2"]);
this._1V1 = data["m_hasVertex0"];
if (this._1V1) this._YU1._wS1(data["m_vertex0"]);
this._2V1 = data["m_hasVertex3"];
if (this._2V1) this._0V1._wS1(data["m_vertex3"]);
},
};
_XU1._ZQ1(_rU1);
function _aV1() {
this.parent.call(this);
this._px1 = _rU1._JU1;
this._sU1 = _FR1;
this._bV1 = null;
this._cV1 = 0;
this._dV1 = new _iS1();
this._eV1 = new _iS1();
this._fV1 = !1;
this._gV1 = !1;
Object.seal(this);
}
_aV1._hV1 = new _XU1();
_aV1.prototype = {
/// @param vertices an array of vertices, these are copied
/// @param count the vertex count
_iV1: function (vertices, _d31) {
_uR1(this._bV1 == null && this._cV1 == 0);
_uR1(_d31 >= 3);
for (var _X9 = 1; _X9 < _d31; ++_X9) {
var _b61 = vertices[_X9 - 1];
var _c61 = vertices[_X9];
_uR1(_lT1(_b61, _c61) > _DR1 * _DR1);
}
this._cV1 = _d31 + 1;
this._bV1 = new Array(this._cV1);
for (var _X9 = 0; _X9 < _d31; ++_X9) this._bV1[_X9] = vertices[_X9]._b01();
this._bV1[_d31] = this._bV1[0]._b01();
this._dV1._IE1(this._bV1[this._cV1 - 2]);
this._eV1._IE1(this._bV1[1]);
this._fV1 = !0;
this._gV1 = !0;
}, /// @param vertices an array of vertices, these are copied
/// @param count the vertex count
_jV1: function (vertices, _d31) {
_uR1(this._bV1 == null && this._cV1 == 0);
_uR1(_d31 >= 2);
for (var _X9 = 1; _X9 < _d31; ++_X9) {
var _b61 = vertices[_X9 - 1];
var _c61 = vertices[_X9];
_uR1(_lT1(_b61, _c61) > _DR1 * _DR1);
}
this._cV1 = _d31;
this._bV1 = new Array(_d31);
for (var _X9 = 0; _X9 < _d31; ++_X9) this._bV1[_X9] = vertices[_X9]._b01();
this._fV1 = !1;
this._gV1 = !1;
this._dV1._jS1();
this._eV1._jS1();
},
_kV1: function (_lV1) {
this._dV1._IE1(_lV1);
this._fV1 = !0;
},
_mV1: function (_nV1) {
this._eV1._IE1(_nV1);
this._gV1 = !0;
},
_b01: function () {
var _NU1 = new _aV1();
_NU1._cV1 = this._cV1;
_NU1._bV1 = new Array(this._cV1);
for (var _X9 = 0; _X9 < this._cV1; ++_X9) _NU1._bV1[_X9] = this._bV1[_X9]._b01();
_NU1._dV1 = this._dV1._b01();
_NU1._eV1 = this._eV1._b01();
_NU1._fV1 = this._fV1;
_NU1._gV1 = this._gV1;
return _NU1;
}, /// @see b2Shape::GetChildCount
_uU1: function () {
return this._cV1 - 1;
},
_oV1: function (_pV1, index) {
_uR1(0 <= index && index < this._cV1 - 1);
_pV1._px1 = _rU1._HU1;
_pV1._sU1 = this._sU1;
_pV1._ZU1 = this._bV1[index + 0];
_pV1.__U1 = this._bV1[index + 1];
if (index > 0) {
_pV1._YU1 = this._bV1[index - 1];
_pV1._1V1 = !0;
} else {
_pV1._YU1 = this._dV1;
_pV1._1V1 = this._fV1;
}
if (index < this._cV1 - 2) {
_pV1._0V1 = this._bV1[index + 2];
_pV1._2V1 = !0;
} else {
_pV1._0V1 = this._eV1;
_pV1._2V1 = this._gV1;
}
}, /// @see b2Shape::TestPoint
_vU1: function (transform, _ot1) {
return !1;
},
_wU1: function (_Kr1, _Ir1, _3T1, _xU1) {
_uR1(_xU1 < this._cV1);
var _qV1 = _xU1;
var _rV1 = _xU1 + 1;
if (_rV1 == this._cV1) {
_rV1 = 0;
}
_aV1._hV1._ZU1 = this._bV1[_qV1]._b01();
_aV1._hV1.__U1 = this._bV1[_rV1]._b01();
return _aV1._hV1._wU1(_Kr1, _Ir1, _3T1, 0);
}, /// @see b2Shape::ComputeAABB
_yU1: function (_zU1, _3T1, _xU1) {
_uR1(_xU1 < this._cV1);
var _qV1 = _xU1;
var _rV1 = _xU1 + 1;
if (_rV1 == this._cV1) {
_rV1 = 0;
}
var _p61 = _3T1._Yr1._Y9 * this._bV1[_qV1].x - _3T1._Yr1._Wo1 * this._bV1[_qV1].y + _3T1._ot1.x;
var _q61 = _3T1._Yr1._Wo1 * this._bV1[_qV1].x + _3T1._Yr1._Y9 * this._bV1[_qV1].y + _3T1._ot1.y;
var _r61 = _3T1._Yr1._Y9 * this._bV1[_rV1].x - _3T1._Yr1._Wo1 * this._bV1[_rV1].y + _3T1._ot1.x;
var _s61 = _3T1._Yr1._Wo1 * this._bV1[_rV1].x + _3T1._Yr1._Y9 * this._bV1[_rV1].y + _3T1._ot1.y;
_zU1._RU1.x = _GT1(_p61, _r61);
_zU1._RU1.y = _GT1(_q61, _s61);
_zU1._SU1.x = _IT1(_p61, _r61);
_zU1._SU1.y = _IT1(_q61, _s61);
}, /// @see b2Shape::ComputeMass
_AU1: function (_BU1, _CU1) {
_BU1._pU1 = 0.0;
_BU1._1U1._jS1();
_BU1._qU1 = 0.0;
},
_DU1: function (_3T1, _ot1, _EU1, _FU1, _xU1) {
this._oV1(_aV1._hV1, _xU1);
_aV1._hV1._DU1(_3T1, _ot1, _EU1, _FU1, 0);
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["m_count"] = this._cV1;
_cq1["m_vertices"] = [];
for (var _X9 = 0; _X9 < this._cV1; ++_X9) _cq1["m_vertices"].push(this._bV1[_X9]._vS1());
_cq1["m_hasPrevVertex"] = this._fV1;
if (this._fV1) _cq1["m_prevVertex"] = this._dV1._vS1();
_cq1["m_hasNextVertex"] = this._gV1;
if (this._gV1) _cq1["m_nextVertex"] = this._eV1._vS1();
return _cq1;
},
_wS1: function (data) {
this.parent.prototype._wS1.call(this, data);
this._cV1 = data["m_count"];
this._bV1 = [];
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
this._bV1[_X9] = new _iS1();
this._bV1[_X9]._wS1(data["m_vertices"][_X9]);
}
this._fV1 = data["m_hasPrevVertex"];
if (this._fV1) this._dV1._wS1(data["m_prevVertex"]);
this._gV1 = data["m_hasNextVertex"];
if (this._gV1) this._eV1._wS1(data["m_nextVertex"]);
},
};
_aV1._ZQ1(_rU1);
function _sV1() {
this.parent.call(this);
this._px1 = _rU1._IU1;
this._sU1 = _FR1;
this._cV1 = 0;
this._tV1 = new _iS1();
this._bV1 = new Array(_AR1);
this._uV1 = new Array(_AR1);
Object.seal(this);
}
_sV1.prototype = {
_b01: function () {
var _NU1 = new _sV1();
_NU1._cV1 = this._cV1;
_NU1._tV1 = this._tV1._b01();
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
_NU1._bV1[_X9] = this._bV1[_X9]._b01();
_NU1._uV1[_X9] = this._uV1[_X9]._b01();
}
return _NU1;
}, /// @see b2Shape::GetChildCount
_uU1: function () {
return 1;
}, /// @warning the points may be re-ordered, even if they form a convex polygon
/// @warning collinear points are handled but not removed. Collinear points
_sc1: function (vertices, _d31) {
_uR1(3 <= _d31 && _d31 <= _AR1);
if (_d31 < 3) {
this._vV1(1.0, 1.0);
return;
}
var _W11 = _GT1(_d31, _AR1);
var _wV1 = new Array(_AR1);
var _xV1 = 0;
for (var _X9 = 0; _X9 < _W11; ++_X9) {
var _J41 = vertices[_X9];
var _yV1 = !0;
for (var _i21 = 0; _i21 < _xV1; ++_i21) {
if (_lT1(_J41, _wV1[_i21]) < 0.5 * _DR1) {
_yV1 = !1;
break;
}
}
if (_yV1) {
_wV1[_xV1++] = _J41._b01();
}
}
_W11 = _xV1;
if (_W11 < 3) {
_uR1(!1);
this._vV1(1.0, 1.0);
return;
}
var _zV1 = 0;
var _V51 = _wV1[0].x;
for (_X9 = 1; _X9 < _W11; ++_X9) {
var x = _wV1[_X9].x;
if (x > _V51 || (x == _V51 && _wV1[_X9].y < _wV1[_zV1].y)) {
_zV1 = _X9;
_V51 = x;
}
}
var hull = new Array(_AR1);
var _Z11 = 0;
var _AV1 = _zV1;
for (;;) {
hull[_Z11] = _AV1;
var _BV1 = 0;
for (_i21 = 1; _i21 < _W11; ++_i21) {
if (_BV1 == _AV1) {
_BV1 = _i21;
continue;
}
var _b21 = _iS1._pS1(_wV1[_BV1], _wV1[hull[_Z11]]);
var _J41 = _iS1._pS1(_wV1[_i21], _wV1[hull[_Z11]]);
var _Y9 = _fT1(_b21, _J41);
if (_Y9 < 0.0) {
_BV1 = _i21;
}
if (_Y9 == 0.0 && _J41._qS1() > _b21._qS1()) {
_BV1 = _i21;
}
}
++_Z11;
_AV1 = _BV1;
if (_BV1 == _zV1) {
break;
}
}
this._cV1 = _Z11;
for (_X9 = 0; _X9 < _Z11; ++_X9) {
this._bV1[_X9] = _wV1[hull[_X9]]._b01();
}
for (_X9 = 0; _X9 < _Z11; ++_X9) {
var _qV1 = _X9;
var _rV1 = _X9 + 1 < _Z11 ? _X9 + 1 : 0;
var _pV1 = _iS1._pS1(this._bV1[_rV1], this._bV1[_qV1]);
_uR1(_pV1._qS1() > _xR1 * _xR1);
this._uV1[_X9] = _gT1(_pV1, 1.0)._b01();
this._uV1[_X9]._rS1();
}
this._tV1 = _sV1._CV1(this._bV1, _Z11);
}, /// @param hx the half-width.
/// @param hy the half-height.
_vV1: function (_DV1, _EV1, _1U1, angle) {
this._cV1 = 4;
this._bV1[0] = new _iS1(-_DV1, -_EV1);
this._bV1[1] = new _iS1(_DV1, -_EV1);
this._bV1[2] = new _iS1(_DV1, _EV1);
this._bV1[3] = new _iS1(-_DV1, _EV1);
this._uV1[0] = new _iS1(0.0, -1.0);
this._uV1[1] = new _iS1(1.0, 0.0);
this._uV1[2] = new _iS1(0.0, 1.0);
this._uV1[3] = new _iS1(-1.0, 0.0);
if (!_1U1) return;
this._tV1._IE1(_1U1);
var _3T1 = new _2T1();
_3T1._ot1 = _1U1;
_3T1._Yr1._sc1(angle);
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
this._bV1[_X9]._IE1(_vT1(_3T1, this._bV1[_X9]));
this._uV1[_X9]._IE1(_tT1(_3T1._Yr1, this._uV1[_X9]));
}
}, /// @see b2Shape::TestPoint
_vU1: function (_3T1, _ot1) {
var _FV1 = _uT1(_3T1._Yr1, _iS1._pS1(_ot1, _3T1._ot1));
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _GV1 = _eT1(this._uV1[_X9], _iS1._pS1(_FV1, this._bV1[_X9]));
if (_GV1 > 0.0) {
return !1;
}
}
return !0;
},
_wU1: function (_Kr1, _Ir1, _3T1, _xU1) {
var _Fe1 = _uT1(_3T1._Yr1, _iS1._pS1(_Ir1._Fe1, _3T1._ot1));
var _5U1 = _uT1(_3T1._Yr1, _iS1._pS1(_Ir1._5U1, _3T1._ot1));
var _Ce1 = _iS1._pS1(_5U1, _Fe1);
var _1B1 = 0.0,
_HV1 = _Ir1._PU1;
var index = -1;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _3V1 = _eT1(this._uV1[_X9], _iS1._pS1(this._bV1[_X9], _Fe1));
var _4V1 = _eT1(this._uV1[_X9], _Ce1);
if (_4V1 == 0.0) {
if (_3V1 < 0.0) {
return !1;
}
} else {
if (_4V1 < 0.0 && _3V1 < _1B1 * _4V1) {
_1B1 = _3V1 / _4V1;
index = _X9;
} else if (_4V1 > 0.0 && _3V1 < _HV1 * _4V1) {
_HV1 = _3V1 / _4V1;
}
}
if (_HV1 < _1B1) {
return !1;
}
}
_uR1(0.0 <= _1B1 && _1B1 <= _Ir1._PU1);
if (index >= 0) {
_Kr1._QU1 = _1B1;
_Kr1._FU1 = _tT1(_3T1._Yr1, this._uV1[index]);
return !0;
}
return !1;
}, /// @see b2Shape::ComputeAABB
_yU1: function (_zU1, _3T1, _xU1) {
var _5V1 = _3T1._Yr1._Y9 * this._bV1[0].x - _3T1._Yr1._Wo1 * this._bV1[0].y + _3T1._ot1.x;
var _6V1 = _3T1._Yr1._Wo1 * this._bV1[0].x + _3T1._Yr1._Y9 * this._bV1[0].y + _3T1._ot1.y;
var _7V1 = _5V1;
var _8V1 = _6V1;
for (var _X9 = 1; _X9 < this._cV1; ++_X9) {
var _IV1 = _3T1._Yr1._Y9 * this._bV1[_X9].x - _3T1._Yr1._Wo1 * this._bV1[_X9].y + _3T1._ot1.x;
var _JV1 = _3T1._Yr1._Wo1 * this._bV1[_X9].x + _3T1._Yr1._Y9 * this._bV1[_X9].y + _3T1._ot1.y;
_5V1 = _GT1(_5V1, _IV1);
_6V1 = _GT1(_6V1, _JV1);
_7V1 = _IT1(_7V1, _IV1);
_8V1 = _IT1(_8V1, _JV1);
}
_zU1._RU1.x = _5V1 - this._sU1;
_zU1._RU1.y = _6V1 - this._sU1;
_zU1._SU1.x = _7V1 + this._sU1;
_zU1._SU1.y = _8V1 + this._sU1;
}, /// @see b2Shape::ComputeMass
_AU1: function (_BU1, _CU1) {
_uR1(this._cV1 >= 3);
var _1U1 = new _iS1(0.0, 0.0);
var _KV1 = 0.0;
var _qU1 = 0.0;
var _Wo1 = new _iS1(0.0, 0.0);
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
_Wo1._Da1(this._bV1[_X9]);
}
_Wo1.Multiply(1.0 / this._cV1);
var _LV1 = 1.0 / 3.0;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _MV1 = _iS1._pS1(this._bV1[_X9], _Wo1);
var _NV1 = _X9 + 1 < this._cV1 ? _iS1._pS1(this._bV1[_X9 + 1], _Wo1) : _iS1._pS1(this._bV1[0], _Wo1);
var _OV1 = _fT1(_MV1, _NV1);
var _PV1 = 0.5 * _OV1;
_KV1 += _PV1;
_1U1._Da1(_iS1.Multiply(_PV1 * _LV1, _iS1._Da1(_MV1, _NV1)));
var _QV1 = _MV1.x,
_RV1 = _MV1.y;
var _SV1 = _NV1.x,
_TV1 = _NV1.y;
var _UV1 = _QV1 * _QV1 + _SV1 * _QV1 + _SV1 * _SV1;
var _VV1 = _RV1 * _RV1 + _TV1 * _RV1 + _TV1 * _TV1;
_qU1 += 0.25 * _LV1 * _OV1 * (_UV1 + _VV1);
}
_BU1._pU1 = _CU1 * _KV1;
_uR1(_KV1 > _xR1);
_1U1.Multiply(1.0 / _KV1);
_BU1._1U1 = _iS1._Da1(_1U1, _Wo1);
_BU1._qU1 = _CU1 * _qU1;
_BU1._qU1 += _BU1._pU1 * (_eT1(_BU1._1U1, _BU1._1U1) - _eT1(_1U1, _1U1));
},
_d91: function () {
return this._cV1;
},
_VU1: function (index) {
_uR1(0 <= index && index < this._cV1);
return this._bV1[index];
}, /// @returns true if valid
_WV1: function () {
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _qV1 = _X9;
var _rV1 = _X9 < this._cV1 - 1 ? _qV1 + 1 : 0;
var _ot1 = this._bV1[_qV1];
var e = _iS1._pS1(this._bV1[_rV1], _ot1);
for (var _i21 = 0; _i21 < this._cV1; ++_i21) {
if (_i21 == _qV1 || _i21 == _rV1) {
continue;
}
var _J41 = _iS1._pS1(this._bV1[_i21], _ot1);
var _Y9 = _fT1(e, _J41);
if (_Y9 < 0.0) {
return !1;
}
}
}
return !0;
},
_DU1: function (_3T1, _ot1, _XV1, _FU1, _xU1) {
var _FV1 = _uT1(_3T1._Yr1, _iS1._pS1(_ot1, _3T1._ot1));
var maxDistance = -Number.MAX_VALUE;
var _YV1 = _FV1;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _GV1 = _eT1(this._uV1[_X9], _iS1._pS1(_FV1, this._bV1[_X9]));
if (_GV1 > maxDistance) {
maxDistance = _GV1;
_YV1 = this._uV1[_X9];
}
}
if (maxDistance > 0) {
var _ZV1 = _YV1;
var __V1 = maxDistance * maxDistance;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _EU1 = _iS1._pS1(_FV1, this._bV1[_X9]);
var _0W1 = _EU1._qS1();
if (__V1 > _0W1) {
_ZV1 = _EU1;
__V1 = _0W1;
}
}
_XV1[0] = _fS1(__V1);
_FU1._IE1(_tT1(_3T1._Yr1, _ZV1));
_FU1._rS1();
} else {
_XV1[0] = maxDistance;
_FU1._IE1(_tT1(_3T1._Yr1, _YV1));
}
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["m_count"] = this._cV1;
_cq1["m_centroid"] = this._tV1._vS1();
_cq1["m_vertices"] = [];
_cq1["m_normals"] = [];
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
_cq1["m_vertices"].push(this._bV1[_X9]._vS1());
_cq1["m_normals"].push(this._uV1[_X9]._vS1());
}
return _cq1;
},
_wS1: function (data) {
this.parent.prototype._wS1.call(this, data);
this._cV1 = data["m_count"];
this._tV1._wS1(data["m_centroid"]);
this._bV1 = [];
this._uV1 = [];
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
this._bV1[_X9] = new _iS1();
this._bV1[_X9]._wS1(data["m_vertices"][_X9]);
this._uV1[_X9] = new _iS1();
this._uV1[_X9]._wS1(data["m_normals"][_X9]);
}
},
};
_sV1._CV1 = function (_1W1, _d31) {
_uR1(_d31 >= 3);
var _Y9 = new _iS1();
var _KV1 = 0.0;
var _2W1 = new _iS1(0.0, 0.0);
var _3W1 = 1.0 / 3.0;
for (var _X9 = 0; _X9 < _d31; ++_X9) {
var _Fe1 = _2W1;
var _5U1 = _1W1[_X9];
var _4W1 = _X9 + 1 < _d31 ? _1W1[_X9 + 1] : _1W1[0];
var _MV1 = _iS1._pS1(_5U1, _Fe1);
var _NV1 = _iS1._pS1(_4W1, _Fe1);
var _OV1 = _fT1(_MV1, _NV1);
var _PV1 = 0.5 * _OV1;
_KV1 += _PV1;
_Y9._Da1(_iS1.Multiply(_PV1, _iS1.Multiply(_3W1, _iS1._Da1(_iS1._Da1(_Fe1, _5U1), _4W1))));
}
_uR1(_KV1 > _xR1);
_Y9.Multiply(1.0 / _KV1);
return _Y9;
};
_sV1._ZQ1(_rU1);
function _5W1() {
this._6W1 = 0;
this._7W1 = 0;
}
function _8W1(_9W1, _aW1) {
if (_9W1._6W1 == _aW1._6W1) {
return _9W1._7W1 - _aW1._7W1;
}
return _9W1._6W1 - _aW1._6W1;
}
function _bW1() {
this._cW1 = new _dW1();
this._eW1 = 0;
this._fW1 = 0;
this._gW1 = 0;
this._hW1 = [];
this._iW1 = 0;
this._jW1 = [];
}
_bW1.prototype = {
_kW1: function (_zU1, _lW1) {
var _mW1 = this._cW1._kW1(_zU1, _lW1);
++this._fW1;
this._nW1(_mW1);
return _mW1;
},
_oW1: function (_mW1) {
this._pW1(_mW1);
--this._fW1;
this._cW1._oW1(_mW1);
},
_qW1: function (_mW1, _zU1, _rW1) {
var buffer = this._cW1._qW1(_mW1, _zU1, _rW1);
if (buffer) {
this._nW1(_mW1);
}
},
_sW1: function (_mW1) {
this._nW1(_mW1);
},
_tW1: function (_mW1) {
return this._cW1._tW1(_mW1);
},
_uW1: function (_mW1) {
return this._cW1._uW1(_mW1);
},
_vW1: function (_6W1, _7W1) {
var _wW1 = this._cW1._tW1(_6W1);
var _xW1 = this._cW1._tW1(_7W1);
return _yW1(_wW1, _xW1);
},
_zW1: function () {
return this._fW1;
},
_AW1: function (_BW1) {
this._gW1 = 0;
this._hW1.length = 0;
for (var _X9 = 0; _X9 < this._iW1; ++_X9) {
this._eW1 = this._jW1[_X9];
if (this._eW1 == _bW1._CW1) {
continue;
}
var _DW1 = this._cW1._tW1(this._eW1);
this._cW1._EW1(this, _DW1);
}
this._iW1 = 0;
this._hW1.sort(_8W1);
var _X9 = 0;
while (_X9 < this._gW1) {
var _FW1 = this._hW1[_X9];
var _GW1 = this._cW1._uW1(_FW1._6W1);
var _HW1 = this._cW1._uW1(_FW1._7W1);
_BW1._IW1(_GW1, _HW1);
++_X9;
while (_X9 < this._gW1) {
var _JW1 = this._hW1[_X9];
if (_JW1._6W1 != _FW1._6W1 || _JW1._7W1 != _FW1._7W1) {
break;
}
++_X9;
}
}
},
_EW1: function (_BW1, _zU1) {
this._cW1._EW1(_BW1, _zU1);
}, /// @param input the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
/// @param callback a callback class that is called for each proxy that is hit by the ray.
_wU1: function (_BW1, _Ir1) {
this._cW1._wU1(_BW1, _Ir1);
},
_KW1: function () {
return this._cW1._LW1();
},
_MW1: function () {
return this._cW1._NW1();
},
_OW1: function () {
return this._cW1._PW1();
}, /// @param newOrigin the new origin with respect to the old origin
_QW1: function (_RW1) {
this._cW1._QW1(_RW1);
},
_nW1: function (_mW1) {
this._jW1[this._iW1] = _mW1;
++this._iW1;
},
_pW1: function (_mW1) {
for (var _X9 = 0; _X9 < this._iW1; ++_X9) {
if (this._jW1[_X9] == _mW1) {
this._jW1[_X9] = _bW1._CW1;
}
}
},
_SW1: function (_mW1) {
if (_mW1 == this._eW1) {
return !0;
}
this._hW1[this._gW1] = new _5W1();
this._hW1[this._gW1]._6W1 = _GT1(_mW1, this._eW1);
this._hW1[this._gW1]._7W1 = _IT1(_mW1, this._eW1);
++this._gW1;
return !0;
},
};
_bW1._CW1 = -1;
function _TW1() {
this._bV1 = null;
this._cV1 = 0;
this._sU1 = 0;
}
_TW1.prototype = {
_IE1: function (_921) {
this._bV1 = _921._bV1;
this._cV1 = _921._cV1;
this._sU1 = _921._sU1;
},
_sc1: function (_NU1, index) {
switch (_NU1._tU1()) {
case _rU1._GU1:
{
var _UW1 = _NU1;
this._bV1 = [_UW1._MU1];
this._cV1 = 1;
this._sU1 = _UW1._sU1;
}
break;
case _rU1._IU1:
{
var _VW1 = _NU1;
this._bV1 = _VW1._bV1;
this._cV1 = _VW1._cV1;
this._sU1 = _VW1._sU1;
}
break;
case _rU1._JU1:
{
var _WW1 = _NU1;
_uR1(0 <= index && index < _WW1._cV1);
this._bV1 = [_WW1._bV1[index]];
if (index + 1 < _WW1._cV1) {
this._bV1[1] = _WW1._bV1[index + 1];
} else {
this._bV1[1] = _WW1._bV1[0];
}
this._cV1 = 2;
this._sU1 = _WW1._sU1;
}
break;
case _rU1._HU1:
{
var _pV1 = _NU1;
this._bV1 = [_pV1._ZU1, _pV1.__U1];
this._cV1 = 2;
this._sU1 = _pV1._sU1;
}
break;
default:
_uR1(!1);
}
},
_TU1: function (_761, _861) {
var _XW1 = 0;
var _YW1 = this._bV1[0].x * _761 + this._bV1[0].y * _861;
for (var _X9 = 1; _X9 < this._cV1; ++_X9) {
var value = this._bV1[_X9].x * _761 + this._bV1[_X9].y * _861;
if (value > _YW1) {
_XW1 = _X9;
_YW1 = value;
}
}
return _XW1;
},
_UU1: function (_761, _861) {
return this._bV1[this._TU1(_761, _861)];
},
_d91: function () {
return this._cV1;
},
_VU1: function (index) {
_uR1(0 <= index && index < this._cV1);
return this._bV1[index];
},
};
function _ZW1() {
this.__W1 = 0;
this._d31 = 0;
this._0X1 = [0, 0, 0];
this._1X1 = [0, 0, 0];
}
function _2X1() {
this._3X1 = new _TW1();
this._4X1 = new _TW1();
this._5X1 = new _2T1();
this._6X1 = new _2T1();
this._7X1 = !1;
}
function _8X1() {
this._9X1 = new _iS1();
this._aX1 = new _iS1();
this._EU1 = 0;
this._bX1 = 0;
}
function _cX1() {
this._dX1 = new _iS1();
this._eX1 = new _iS1();
this._Z9 = new _iS1();
this._l41 = 0;
this._0X1 = 0;
this._1X1 = 0;
}
_cX1.prototype = {
_IE1: function (_921) {
this._dX1.x = _921._dX1.x;
this._dX1.y = _921._dX1.y;
this._eX1.x = _921._eX1.x;
this._eX1.y = _921._eX1.y;
this._Z9.x = _921._Z9.x;
this._Z9.y = _921._Z9.y;
this._l41 = _921._l41;
this._0X1 = _921._0X1;
this._1X1 = _921._1X1;
},
};
function _fX1() {
this._gX1 = [new _cX1(), new _cX1(), new _cX1()];
this._cV1 = 0;
}
_fX1.prototype = {
_hX1: function (_c31, _3X1, _5X1, _4X1, _6X1) {
_uR1(_c31._d31 <= 3);
this._cV1 = _c31._d31;
var vertices = this._gX1;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _J41 = vertices[_X9];
_J41._0X1 = _c31._0X1[_X9];
_J41._1X1 = _c31._1X1[_X9];
var _iX1 = _3X1._VU1(_J41._0X1);
var _jX1 = _4X1._VU1(_J41._1X1);
_J41._dX1.x = _5X1._Yr1._Y9 * _iX1.x - _5X1._Yr1._Wo1 * _iX1.y + _5X1._ot1.x;
_J41._dX1.y = _5X1._Yr1._Wo1 * _iX1.x + _5X1._Yr1._Y9 * _iX1.y + _5X1._ot1.y;
_J41._eX1.x = _6X1._Yr1._Y9 * _jX1.x - _6X1._Yr1._Wo1 * _jX1.y + _6X1._ot1.x;
_J41._eX1.y = _6X1._Yr1._Wo1 * _jX1.x + _6X1._Yr1._Y9 * _jX1.y + _6X1._ot1.y;
_J41._Z9.x = _J41._eX1.x - _J41._dX1.x;
_J41._Z9.y = _J41._eX1.y - _J41._dX1.y;
_J41._l41 = 0.0;
}
if (this._cV1 > 1) {
var _kX1 = _c31.__W1;
var _lX1 = this._mX1();
if (_lX1 < 0.5 * _kX1 || 2.0 * _kX1 < _lX1 || _lX1 < _xR1) {
this._cV1 = 0;
}
}
if (this._cV1 == 0) {
var _J41 = vertices[0];
_J41._0X1 = 0;
_J41._1X1 = 0;
var _iX1 = _3X1._VU1(0);
var _jX1 = _4X1._VU1(0);
_J41._dX1.x = _5X1._Yr1._Y9 * _iX1.x - _5X1._Yr1._Wo1 * _iX1.y + _5X1._ot1.x;
_J41._dX1.y = _5X1._Yr1._Wo1 * _iX1.x + _5X1._Yr1._Y9 * _iX1.y + _5X1._ot1.y;
_J41._eX1.x = _6X1._Yr1._Y9 * _jX1.x - _6X1._Yr1._Wo1 * _jX1.y + _6X1._ot1.x;
_J41._eX1.y = _6X1._Yr1._Wo1 * _jX1.x + _6X1._Yr1._Y9 * _jX1.y + _6X1._ot1.y;
_J41._Z9.x = _J41._eX1.x - _J41._dX1.x;
_J41._Z9.y = _J41._eX1.y - _J41._dX1.y;
_J41._l41 = 1.0;
this._cV1 = 1;
}
},
_nX1: function (_c31) {
_c31.__W1 = this._mX1();
_c31._d31 = this._cV1;
var vertices = this._gX1;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
_c31._0X1[_X9] = vertices[_X9]._0X1;
_c31._1X1[_X9] = vertices[_X9]._1X1;
}
},
_oX1: function (_ot1) {
switch (this._cV1) {
case 1:
_ot1.x = -this._gX1[0]._Z9.x;
_ot1.y = -this._gX1[0]._Z9.y;
break;
case 2:
{
var _pX1 = this._gX1[1]._Z9.x - this._gX1[0]._Z9.x;
var _qX1 = this._gX1[1]._Z9.y - this._gX1[0]._Z9.y;
var _rX1 = _pX1 * -this._gX1[0]._Z9.y - _qX1 * -this._gX1[0]._Z9.x;
if (_rX1 > 0.0) {
_ot1.x = -1.0 * _qX1;
_ot1.y = 1.0 * _pX1;
} else {
_ot1.x = 1.0 * _qX1;
_ot1.y = -1.0 * _pX1;
}
}
break;
default:
_uR1(!1);
_ot1.x = _ot1.y = 0;
break;
}
},
_sX1: function (_ot1) {
switch (this._cV1) {
case 1:
_ot1.x = this._gX1[0]._Z9.x;
_ot1.y = this._gX1[0]._Z9.y;
break;
case 2:
_ot1.x = this._gX1[0]._l41 * this._gX1[0]._Z9.x + this._gX1[1]._l41 * this._gX1[1]._Z9.x;
_ot1.y = this._gX1[0]._l41 * this._gX1[0]._Z9.y + this._gX1[1]._l41 * this._gX1[1]._Z9.y;
break;
case 3:
_ot1.x = _ot1.y = 0;
break;
default:
_uR1(!1);
_ot1.x = _ot1.y = 0;
break;
}
},
_tX1: function (_uX1, _vX1) {
switch (this._cV1) {
case 1:
_uX1.x = this._gX1[0]._dX1.x;
_uX1.y = this._gX1[0]._dX1.y;
_vX1.x = this._gX1[0]._eX1.x;
_vX1.y = this._gX1[0]._eX1.y;
break;
case 2:
_uX1.x = this._gX1[0]._l41 * this._gX1[0]._dX1.x + this._gX1[1]._l41 * this._gX1[1]._dX1.x;
_uX1.y = this._gX1[0]._l41 * this._gX1[0]._dX1.y + this._gX1[1]._l41 * this._gX1[1]._dX1.y;
_vX1.x = this._gX1[0]._l41 * this._gX1[0]._eX1.x + this._gX1[1]._l41 * this._gX1[1]._eX1.x;
_vX1.y = this._gX1[0]._l41 * this._gX1[0]._eX1.y + this._gX1[1]._l41 * this._gX1[1]._eX1.y;
break;
case 3:
_uX1.x = this._gX1[0]._l41 * this._gX1[0]._dX1.x + this._gX1[1]._l41 * this._gX1[1]._dX1.x + this._gX1[2]._l41 * this._gX1[2]._dX1.x;
_uX1.y = this._gX1[0]._l41 * this._gX1[0]._dX1.y + this._gX1[1]._l41 * this._gX1[1]._dX1.y + this._gX1[2]._l41 * this._gX1[2]._dX1.y;
_vX1.x = _uX1.x;
_vX1.y = _uX1.y;
break;
default:
_uR1(!1);
break;
}
},
_mX1: function () {
switch (this._cV1) {
case 1:
return 0.0;
case 2:
return _kT1(this._gX1[0]._Z9, this._gX1[1]._Z9);
case 3:
return (this._gX1[1]._Z9.x - this._gX1[0]._Z9.x) * (this._gX1[2]._Z9.y - this._gX1[0]._Z9.y) - (this._gX1[1]._Z9.y - this._gX1[0]._Z9.y) * (this._gX1[2]._Z9.x - this._gX1[0]._Z9.x);
default:
_uR1(!1);
return 0.0;
}
},
_wX1: function () {
var _xX1 = this._gX1[0]._Z9;
var _yX1 = this._gX1[1]._Z9;
var _pX1 = _yX1.x - _xX1.x;
var _qX1 = _yX1.y - _xX1.y;
var _zX1 = -(_xX1.x * _pX1 + _xX1.y * _qX1);
if (_zX1 <= 0.0) {
this._gX1[0]._l41 = 1.0;
this._cV1 = 1;
return;
}
var _AX1 = _yX1.x * _pX1 + _yX1.y * _qX1;
if (_AX1 <= 0.0) {
this._gX1[1]._l41 = 1.0;
this._cV1 = 1;
this._gX1[0]._IE1(this._gX1[1]);
return;
}
var _BX1 = 1.0 / (_AX1 + _zX1);
this._gX1[0]._l41 = _AX1 * _BX1;
this._gX1[1]._l41 = _zX1 * _BX1;
this._cV1 = 2;
},
_CX1: function () {
var _xX1 = this._gX1[0]._Z9;
var _yX1 = this._gX1[1]._Z9;
var _DX1 = this._gX1[2]._Z9;
var _pX1 = _yX1.x - _xX1.x;
var _qX1 = _yX1.y - _xX1.y;
var _EX1 = _xX1.x * _pX1 + _xX1.y * _qX1;
var _FX1 = _yX1.x * _pX1 + _yX1.y * _qX1;
var _AX1 = _FX1;
var _zX1 = -_EX1;
var _GX1 = _DX1.x - _xX1.x;
var _HX1 = _DX1.y - _xX1.y;
var _IX1 = _xX1.x * _GX1 + _xX1.y * _HX1;
var _JX1 = _DX1.x * _GX1 + _DX1.y * _HX1;
var _KX1 = _JX1;
var _LX1 = -_IX1;
var _MX1 = _DX1.x - _yX1.x;
var _NX1 = _DX1.y - _yX1.y;
var _OX1 = _yX1.x * _MX1 + _yX1.y * _NX1;
var _PX1 = _DX1.x * _MX1 + _DX1.y * _NX1;
var _QX1 = _PX1;
var _RX1 = -_OX1;
var _SX1 = _pX1 * _HX1 - _qX1 * _GX1;
var _TX1 = _SX1 * (_yX1.x * _DX1.y - _yX1.y * _DX1.x);
var _UX1 = _SX1 * (_DX1.x * _xX1.y - _DX1.y * _xX1.x);
var _VX1 = _SX1 * (_xX1.x * _yX1.y - _xX1.y * _yX1.x);
if (_zX1 <= 0.0 && _LX1 <= 0.0) {
this._gX1[0]._l41 = 1.0;
this._cV1 = 1;
return;
}
if (_AX1 > 0.0 && _zX1 > 0.0 && _VX1 <= 0.0) {
var _BX1 = 1.0 / (_AX1 + _zX1);
this._gX1[0]._l41 = _AX1 * _BX1;
this._gX1[1]._l41 = _zX1 * _BX1;
this._cV1 = 2;
return;
}
if (_KX1 > 0.0 && _LX1 > 0.0 && _UX1 <= 0.0) {
var _WX1 = 1.0 / (_KX1 + _LX1);
this._gX1[0]._l41 = _KX1 * _WX1;
this._gX1[2]._l41 = _LX1 * _WX1;
this._cV1 = 2;
this._gX1[1]._IE1(this._gX1[2]);
return;
}
if (_AX1 <= 0.0 && _RX1 <= 0.0) {
this._gX1[1]._l41 = 1.0;
this._cV1 = 1;
this._gX1[0]._IE1(this._gX1[1]);
return;
}
if (_KX1 <= 0.0 && _QX1 <= 0.0) {
this._gX1[2]._l41 = 1.0;
this._cV1 = 1;
this._gX1[0]._IE1(this._gX1[2]);
return;
}
if (_QX1 > 0.0 && _RX1 > 0.0 && _TX1 <= 0.0) {
var _XX1 = 1.0 / (_QX1 + _RX1);
this._gX1[1]._l41 = _QX1 * _XX1;
this._gX1[2]._l41 = _RX1 * _XX1;
this._cV1 = 2;
this._gX1[0]._IE1(this._gX1[2]);
return;
}
var _YX1 = 1.0 / (_TX1 + _UX1 + _VX1);
this._gX1[0]._l41 = _TX1 * _YX1;
this._gX1[1]._l41 = _UX1 * _YX1;
this._gX1[2]._l41 = _VX1 * _YX1;
this._cV1 = 3;
},
};
var _ZX1 = new _fX1();
var __X1 = new _iS1();
var _0Y1 = new _iS1();
function _1Y1(_Kr1, _c31, _Ir1) {
++_1Y1._2Y1;
var _3X1 = _Ir1._3X1;
var _4X1 = _Ir1._4X1;
var _5X1 = _Ir1._5X1;
var _6X1 = _Ir1._6X1;
_ZX1._hX1(_c31, _3X1, _5X1, _4X1, _6X1);
var vertices = _ZX1._gX1;
var _3Y1 = 20;
var _4Y1 = [0, 0, 0],
_5Y1 = [0, 0, 0];
var _6Y1 = 0;
var _7Y1 = _wR1;
var _8Y1 = _7Y1;
var _sL1 = 0;
while (_sL1 < _3Y1) {
_6Y1 = _ZX1._cV1;
for (var _X9 = 0; _X9 < _6Y1; ++_X9) {
_4Y1[_X9] = vertices[_X9]._0X1;
_5Y1[_X9] = vertices[_X9]._1X1;
}
switch (_ZX1._cV1) {
case 1:
break;
case 2:
_ZX1._wX1();
break;
case 3:
_ZX1._CX1();
break;
default:
_uR1(!1);
}
if (_ZX1._cV1 == 3) {
break;
}
_ZX1._sX1(_0Y1);
_8Y1 = _0Y1._qS1();
_7Y1 = _8Y1;
_ZX1._oX1(_0Y1);
if (_0Y1._qS1() < _xR1 * _xR1) {
break;
}
var _9Y1 = vertices[_ZX1._cV1];
_9Y1._0X1 = _3X1._TU1(_5X1._Yr1._Y9 * -_0Y1.x + _5X1._Yr1._Wo1 * -_0Y1.y, -_5X1._Yr1._Wo1 * -_0Y1.x + _5X1._Yr1._Y9 * -_0Y1.y);
var _aY1 = _3X1._VU1(_9Y1._0X1);
_9Y1._dX1.x = _5X1._Yr1._Y9 * _aY1.x - _5X1._Yr1._Wo1 * _aY1.y + _5X1._ot1.x;
_9Y1._dX1.y = _5X1._Yr1._Wo1 * _aY1.x + _5X1._Yr1._Y9 * _aY1.y + _5X1._ot1.y;
_9Y1._1X1 = _4X1._TU1(_6X1._Yr1._Y9 * _0Y1.x + _6X1._Yr1._Wo1 * _0Y1.y, -_6X1._Yr1._Wo1 * _0Y1.x + _6X1._Yr1._Y9 * _0Y1.y);
var _bY1 = _4X1._VU1(_9Y1._1X1);
_9Y1._eX1.x = _6X1._Yr1._Y9 * _bY1.x - _6X1._Yr1._Wo1 * _bY1.y + _6X1._ot1.x;
_9Y1._eX1.y = _6X1._Yr1._Wo1 * _bY1.x + _6X1._Yr1._Y9 * _bY1.y + _6X1._ot1.y;
_9Y1._Z9.x = _9Y1._eX1.x - _9Y1._dX1.x;
_9Y1._Z9.y = _9Y1._eX1.y - _9Y1._dX1.y;
++_sL1;
++_1Y1._cY1;
var _dY1 = !1;
for (var _X9 = 0; _X9 < _6Y1; ++_X9) {
if (_9Y1._0X1 == _4Y1[_X9] && _9Y1._1X1 == _5Y1[_X9]) {
_dY1 = !0;
break;
}
}
if (_dY1) {
break;
}
++_ZX1._cV1;
}
_1Y1._eY1 = _IT1(_1Y1._eY1, _sL1);
_ZX1._tX1(_Kr1._9X1, _Kr1._aX1);
_Kr1._EU1 = _kT1(_Kr1._9X1, _Kr1._aX1);
_Kr1._bX1 = _sL1;
_ZX1._nX1(_c31);
if (_Ir1._7X1) {
var _fY1 = _3X1._sU1;
var _gY1 = _4X1._sU1;
if (_Kr1._EU1 > _fY1 + _gY1 && _Kr1._EU1 > _xR1) {
_Kr1._EU1 -= _fY1 + _gY1;
__X1.x = _Kr1._aX1.x - _Kr1._9X1.x;
__X1.y = _Kr1._aX1.y - _Kr1._9X1.y;
__X1._rS1();
_Kr1._9X1.x += _fY1 * __X1.x;
_Kr1._9X1.y += _fY1 * __X1.y;
_Kr1._aX1.x -= _gY1 * __X1.x;
_Kr1._aX1.y -= _gY1 * __X1.y;
} else {
var _qe1 = 0.5 * (_Kr1._9X1.x + _Kr1._aX1.x);
var _re1 = 0.5 * (_Kr1._9X1.y + _Kr1._aX1.y);
_Kr1._9X1.x = _qe1;
_Kr1._9X1.y = _re1;
_Kr1._aX1.x = _qe1;
_Kr1._aX1.y = _re1;
_Kr1._EU1 = 0.0;
}
}
}
_1Y1._2Y1 = 0;
_1Y1._cY1 = 0;
_1Y1._eY1 = 0;
var _hY1 = 255;
function _iY1() {}
_iY1.prototype = {
_0X1: 0,
_1X1: 0,
_jY1: 0,
_kY1: 0,
_ls1: function () {
this._0X1 = this._1X1 = this._jY1 = this._kY1 = 0;
},
_s11: function () {
return this._0X1 | (this._1X1 << 8) | (this._jY1 << 16) | (this._kY1 << 24);
},
_IE1: function (_Sc1) {
this._0X1 = _Sc1._0X1;
this._1X1 = _Sc1._1X1;
this._jY1 = _Sc1._jY1;
this._kY1 = _Sc1._kY1;
},
};
_iY1._lY1 = 0;
_iY1._mY1 = 1;
function _nY1() {
this._oY1 = new _iS1();
this._pY1 = 0;
this._qY1 = 0;
this.id = new _iY1();
}
_nY1.prototype = {
_b01: function () {
var _rY1 = new _nY1();
_rY1._oY1.x = this._oY1.x;
_rY1._oY1.y = this._oY1.y;
_rY1._pY1 = this._pY1;
_rY1._qY1 = this._qY1;
_rY1.id._IE1(this.id);
return _rY1;
},
};
function _sY1() {
this._D2 = new Array(_zR1);
this._tY1 = new _iS1();
this._oY1 = new _iS1();
this.type = 0;
this._uY1 = 0;
}
_sY1.prototype = {
_b01: function () {
var _vY1 = new _sY1();
_vY1._uY1 = this._uY1;
_vY1.type = this.type;
_vY1._oY1.x = this._oY1.x;
_vY1._oY1.y = this._oY1.y;
_vY1._tY1.x = this._tY1.x;
_vY1._tY1.y = this._tY1.y;
for (var _X9 = 0; _X9 < this._uY1; ++_X9) _vY1._D2[_X9] = this._D2[_X9]._b01();
return _vY1;
},
_IE1: function (_vY1) {
this._uY1 = _vY1._uY1;
this.type = _vY1.type;
this._oY1.x = _vY1._oY1.x;
this._oY1.y = _vY1._oY1.y;
this._tY1.x = _vY1._tY1.x;
this._tY1.y = _vY1._tY1.y;
for (var _X9 = 0; _X9 < this._uY1; ++_X9) this._D2[_X9] = _vY1._D2[_X9]._b01();
},
};
_sY1._wY1 = 0;
_sY1._xY1 = 1;
_sY1._yY1 = 2;
_sY1._zY1 = 0;
_sY1._AY1 = 1;
_sY1._BY1 = 2;
_sY1._CY1 = 3;
function _DY1() {
this._FU1 = new _iS1();
this._D2 = new Array(_zR1);
this._EY1 = new Array(_zR1);
}
_DY1.prototype = {
_FY1: function (_vY1, _GY1, _HY1, _IY1, _JY1) {
if (_vY1._uY1 == 0) {
return;
}
switch (_vY1.type) {
case _sY1._wY1:
{
this._FU1.x = 1;
this._FU1.y = 0;
var _KY1 = _GY1._Yr1._Y9 * _vY1._oY1.x - _GY1._Yr1._Wo1 * _vY1._oY1.y + _GY1._ot1.x;
var _LY1 = _GY1._Yr1._Wo1 * _vY1._oY1.x + _GY1._Yr1._Y9 * _vY1._oY1.y + _GY1._ot1.y;
var _MY1 = _IY1._Yr1._Y9 * _vY1._D2[0]._oY1.x - _IY1._Yr1._Wo1 * _vY1._D2[0]._oY1.y + _IY1._ot1.x;
var _NY1 = _IY1._Yr1._Wo1 * _vY1._D2[0]._oY1.x + _IY1._Yr1._Y9 * _vY1._D2[0]._oY1.y + _IY1._ot1.y;
var _OY1 = _KY1 - _MY1;
var _PY1 = _LY1 - _NY1;
if (_OY1 * _OY1 + _PY1 * _PY1 > _xR1 * _xR1) {
this._FU1.x = _MY1 - _KY1;
this._FU1.y = _NY1 - _LY1;
this._FU1._rS1();
}
var _QY1 = _KY1 + _HY1 * this._FU1.x;
var _RY1 = _LY1 + _HY1 * this._FU1.y;
var _SY1 = _MY1 - _JY1 * this._FU1.x;
var _TY1 = _NY1 - _JY1 * this._FU1.y;
this._D2[0] = new _iS1(0.5 * (_QY1 + _SY1), 0.5 * (_RY1 + _TY1));
this._EY1[0] = (_SY1 - _QY1) * this._FU1.x + (_TY1 - _RY1) * this._FU1.y;
}
break;
case _sY1._xY1:
{
this._FU1.x = _GY1._Yr1._Y9 * _vY1._tY1.x - _GY1._Yr1._Wo1 * _vY1._tY1.y;
this._FU1.y = _GY1._Yr1._Wo1 * _vY1._tY1.x + _GY1._Yr1._Y9 * _vY1._tY1.y;
var _UY1 = _GY1._Yr1._Y9 * _vY1._oY1.x - _GY1._Yr1._Wo1 * _vY1._oY1.y + _GY1._ot1.x;
var _VY1 = _GY1._Yr1._Wo1 * _vY1._oY1.x + _GY1._Yr1._Y9 * _vY1._oY1.y + _GY1._ot1.y;
for (var _X9 = 0; _X9 < _vY1._uY1; ++_X9) {
var _WY1 = _IY1._Yr1._Y9 * _vY1._D2[_X9]._oY1.x - _IY1._Yr1._Wo1 * _vY1._D2[_X9]._oY1.y + _IY1._ot1.x;
var _XY1 = _IY1._Yr1._Wo1 * _vY1._D2[_X9]._oY1.x + _IY1._Yr1._Y9 * _vY1._D2[_X9]._oY1.y + _IY1._ot1.y;
var _Ce1 = (_WY1 - _UY1) * this._FU1.x + (_XY1 - _VY1) * this._FU1.y;
var _QY1 = _WY1 + (_HY1 - _Ce1) * this._FU1.x;
var _RY1 = _XY1 + (_HY1 - _Ce1) * this._FU1.y;
var _SY1 = _WY1 - _JY1 * this._FU1.x;
var _TY1 = _XY1 - _JY1 * this._FU1.y;
this._D2[_X9] = new _iS1(0.5 * (_QY1 + _SY1), 0.5 * (_RY1 + _TY1));
this._EY1[_X9] = (_SY1 - _QY1) * this._FU1.x + (_TY1 - _RY1) * this._FU1.y;
}
}
break;
case _sY1._yY1:
{
this._FU1.x = _IY1._Yr1._Y9 * _vY1._tY1.x - _IY1._Yr1._Wo1 * _vY1._tY1.y;
this._FU1.y = _IY1._Yr1._Wo1 * _vY1._tY1.x + _IY1._Yr1._Y9 * _vY1._tY1.y;
var _UY1 = _IY1._Yr1._Y9 * _vY1._oY1.x - _IY1._Yr1._Wo1 * _vY1._oY1.y + _IY1._ot1.x;
var _VY1 = _IY1._Yr1._Wo1 * _vY1._oY1.x + _IY1._Yr1._Y9 * _vY1._oY1.y + _IY1._ot1.y;
for (var _X9 = 0; _X9 < _vY1._uY1; ++_X9) {
var _WY1 = _GY1._Yr1._Y9 * _vY1._D2[_X9]._oY1.x - _GY1._Yr1._Wo1 * _vY1._D2[_X9]._oY1.y + _GY1._ot1.x;
var _XY1 = _GY1._Yr1._Wo1 * _vY1._D2[_X9]._oY1.x + _GY1._Yr1._Y9 * _vY1._D2[_X9]._oY1.y + _GY1._ot1.y;
var _Ce1 = (_WY1 - _UY1) * this._FU1.x + (_XY1 - _VY1) * this._FU1.y;
var _SY1 = _WY1 + (_JY1 - _Ce1) * this._FU1.x;
var _TY1 = _XY1 + (_JY1 - _Ce1) * this._FU1.y;
var _QY1 = _WY1 - _HY1 * this._FU1.x;
var _RY1 = _XY1 - _HY1 * this._FU1.y;
this._D2[_X9] = new _iS1(0.5 * (_QY1 + _SY1), 0.5 * (_RY1 + _TY1));
this._EY1[_X9] = (_QY1 - _SY1) * this._FU1.x + (_RY1 - _TY1) * this._FU1.y;
}
this._FU1.x = -this._FU1.x;
this._FU1.y = -this._FU1.y;
}
break;
}
},
};
function _YY1(_ZY1, __Y1, _0Z1, _1Z1) {
for (var _X9 = 0; _X9 < _zR1; ++_X9) {
_ZY1[_X9] = _sY1._zY1;
__Y1[_X9] = _sY1._zY1;
}
for (var _X9 = 0; _X9 < _0Z1._uY1; ++_X9) {
var id = _0Z1._D2[_X9].id;
_ZY1[_X9] = _sY1._CY1;
for (var _i21 = 0; _i21 < _1Z1._uY1; ++_i21) {
if (_1Z1._D2[_i21].id._s11() == id._s11()) {
_ZY1[_X9] = _sY1._BY1;
break;
}
}
}
for (var _X9 = 0; _X9 < _1Z1._uY1; ++_X9) {
var id = _1Z1._D2[_X9].id;
__Y1[_X9] = _sY1._AY1;
for (var _i21 = 0; _i21 < _0Z1._uY1; ++_i21) {
if (_0Z1._D2[_i21].id._s11() == id._s11()) {
__Y1[_X9] = _sY1._BY1;
break;
}
}
}
}
function _2Z1() {
this._J41 = new _iS1();
this.id = new _iY1();
}
function _3Z1() {
(this._Fe1 = new _iS1()), (this._5U1 = new _iS1());
this._PU1 = 0;
}
function _4Z1() {
this._FU1 = new _iS1();
this._QU1 = 0;
}
function _5Z1() {
this._RU1 = new _iS1();
this._SU1 = new _iS1();
}
_5Z1.prototype = {
_IE1: function (_6Z1) {
this._RU1.x = _6Z1._RU1.x;
this._RU1.y = _6Z1._RU1.y;
this._SU1.x = _6Z1._SU1.x;
this._SU1.y = _6Z1._SU1.y;
},
_b01: function () {
var _7Z1 = new _5Z1();
_7Z1._RU1.x = this._RU1.x;
_7Z1._RU1.y = this._RU1.y;
_7Z1._SU1.x = this._SU1.x;
_7Z1._SU1.y = this._SU1.y;
return _7Z1;
},
_tS1: function () {
return this._SU1.x - this._RU1.x >= 0.0 && this._SU1.y - this._RU1.y >= 0.0 && this._RU1._tS1() && this._SU1._tS1();
},
_8Z1: function () {
return new _iS1(0.5 * (this._RU1.x + this._SU1.x), 0.5 * (this._RU1.y + this._SU1.y));
},
_9Z1: function () {
return new _iS1(0.5 * (this._SU1.x - this._RU1.x), 0.5 * (this._SU1.y - this._RU1.y));
},
_aZ1: function () {
return 2.0 * (this._SU1.x - this._RU1.x + (this._SU1.y - this._RU1.y));
},
_bZ1: function (_cZ1, _dZ1) {
if (_dZ1) {
this._RU1.x = _GT1(_cZ1._RU1.x, _dZ1._RU1.x);
this._RU1.y = _GT1(_cZ1._RU1.y, _dZ1._RU1.y);
this._SU1.x = _IT1(_cZ1._SU1.x, _dZ1._SU1.x);
this._SU1.y = _IT1(_cZ1._SU1.y, _dZ1._SU1.y);
} else {
this._RU1.x = _GT1(this._RU1.x, _cZ1._RU1.x);
this._RU1.y = _GT1(this._RU1.y, _cZ1._RU1.y);
this._SU1.x = _IT1(this._SU1.x, _cZ1._SU1.x);
this._SU1.y = _IT1(this._SU1.y, _cZ1._SU1.y);
}
},
_eZ1: function (_zU1) {
return this._RU1.x <= _zU1._RU1.x && this._RU1.y <= _zU1._RU1.y && _zU1._SU1.x <= this._SU1.x && _zU1._SU1.y <= this._SU1.y;
},
_wU1: function (_Kr1, _Ir1) {
var _fZ1 = -_wR1;
var _gZ1 = _wR1;
var _ot1 = _Ir1._Fe1;
var _Ce1 = _iS1._pS1(_Ir1._5U1, _Ir1._Fe1);
var _hZ1 = _ET1(_Ce1);
var _FU1 = new _iS1();
for (var _X9 = 0; _X9 < 2; ++_X9) {
if (_hZ1._nS1(_X9) < _xR1) {
if (_ot1._nS1(_X9) < this._RU1._nS1(_X9) || this._SU1._nS1(_X9) < _ot1._nS1(_X9)) {
return !1;
}
} else {
var _iZ1 = 1.0 / _Ce1._nS1(_X9);
var _jZ1 = (this._RU1._nS1(_X9) - _ot1._nS1(_X9)) * _iZ1;
var _kZ1 = (this._SU1._nS1(_X9) - _ot1._nS1(_X9)) * _iZ1;
var _Wo1 = -1.0;
if (_jZ1 > _kZ1) {
var _Et1 = _kZ1;
_kZ1 = _jZ1;
_jZ1 = _Et1;
_Wo1 = 1.0;
}
if (_jZ1 > _fZ1) {
_FU1.x = _FU1.y = 0;
_FU1._oS1(_X9, _Wo1);
_fZ1 = _jZ1;
}
_gZ1 = _GT1(_gZ1, _kZ1);
if (_fZ1 > _gZ1) {
return !1;
}
}
}
if (_fZ1 < 0.0 || _Ir1._PU1 < _fZ1) {
return !1;
}
_Kr1._QU1 = _fZ1;
_Kr1._FU1.x = _FU1.x;
_Kr1._FU1.y = _FU1.y;
return !0;
},
};
function _lZ1(_vY1, _mZ1, _GY1, _nZ1, _IY1) {
_vY1._uY1 = 0;
var _uX1 = _vT1(_GY1, _mZ1._MU1);
var _vX1 = _vT1(_IY1, _nZ1._MU1);
var _761 = _vX1.x - _uX1.x;
var _861 = _vX1.y - _uX1.y;
var _oZ1 = _761 * _761 + _861 * _861;
var _fY1 = _mZ1._sU1,
_gY1 = _nZ1._sU1;
var _2U1 = _fY1 + _gY1;
if (_oZ1 > _2U1 * _2U1) {
return;
}
_vY1.type = _sY1._wY1;
_vY1._oY1.x = _mZ1._MU1.x;
_vY1._oY1.y = _mZ1._MU1.y;
_vY1._tY1.x = _vY1._tY1.y = 0;
_vY1._uY1 = 1;
_vY1._D2[0] = new _nY1();
_vY1._D2[0]._oY1.x = _nZ1._MU1.x;
_vY1._D2[0]._oY1.y = _nZ1._MU1.y;
_vY1._D2[0].id._ls1();
}
function _pZ1(_vY1, _qZ1, _GY1, _nZ1, _IY1) {
_vY1._uY1 = 0;
var _Y9 = _vT1(_IY1, _nZ1._MU1);
var _rZ1 = _xT1(_GY1, _Y9);
var _sZ1 = 0;
var _tZ1 = -_wR1;
var _2U1 = _qZ1._sU1 + _nZ1._sU1;
var vertexCount = _qZ1._cV1;
var vertices = _qZ1._bV1;
var _uZ1 = _qZ1._uV1;
for (var _X9 = 0; _X9 < vertexCount; ++_X9) {
var _Wo1 = _uZ1[_X9].x * (_rZ1.x - vertices[_X9].x) + _uZ1[_X9].y * (_rZ1.y - vertices[_X9].y);
if (_Wo1 > _2U1) {
return;
}
if (_Wo1 > _tZ1) {
_tZ1 = _Wo1;
_sZ1 = _X9;
}
}
var _vZ1 = _sZ1;
var _wZ1 = _vZ1 + 1 < vertexCount ? _vZ1 + 1 : 0;
var _b61 = vertices[_vZ1];
var _c61 = vertices[_wZ1];
if (_tZ1 < _xR1) {
_vY1._uY1 = 1;
_vY1.type = _sY1._xY1;
_vY1._tY1.x = _uZ1[_sZ1].x;
_vY1._tY1.y = _uZ1[_sZ1].y;
_vY1._oY1.x = 0.5 * (_b61.x + _c61.x);
_vY1._oY1.y = 0.5 * (_b61.y + _c61.y);
_vY1._D2[0] = new _nY1();
_vY1._D2[0]._oY1.x = _nZ1._MU1.x;
_vY1._D2[0]._oY1.y = _nZ1._MU1.y;
_vY1._D2[0].id._ls1();
return;
}
var _xZ1 = (_rZ1.x - _b61.x) * (_c61.x - _b61.x) + (_rZ1.y - _b61.y) * (_c61.y - _b61.y);
var _yZ1 = (_rZ1.x - _c61.x) * (_b61.x - _c61.x) + (_rZ1.y - _c61.y) * (_b61.y - _c61.y);
if (_xZ1 <= 0.0) {
if (_lT1(_rZ1, _b61) > _2U1 * _2U1) {
return;
}
_vY1._uY1 = 1;
_vY1.type = _sY1._xY1;
_vY1._tY1.x = _rZ1.x - _b61.x;
_vY1._tY1.y = _rZ1.y - _b61.y;
_vY1._tY1._rS1();
_vY1._oY1.x = _b61.x;
_vY1._oY1.y = _b61.y;
_vY1._D2[0] = new _nY1();
_vY1._D2[0]._oY1.x = _nZ1._MU1.x;
_vY1._D2[0]._oY1.y = _nZ1._MU1.y;
_vY1._D2[0].id._ls1();
} else if (_yZ1 <= 0.0) {
if (_lT1(_rZ1, _c61) > _2U1 * _2U1) {
return;
}
_vY1._uY1 = 1;
_vY1.type = _sY1._xY1;
_vY1._tY1.x = _rZ1.x - _c61.x;
_vY1._tY1.y = _rZ1.y - _c61.y;
_vY1._tY1._rS1();
_vY1._oY1.x = _c61.x;
_vY1._oY1.y = _c61.y;
_vY1._D2[0] = new _nY1();
_vY1._D2[0]._oY1.x = _nZ1._MU1.x;
_vY1._D2[0]._oY1.y = _nZ1._MU1.y;
_vY1._D2[0].id._ls1();
} else {
var _zZ1 = 0.5 * (_b61.x + _c61.x);
var _AZ1 = 0.5 * (_b61.y + _c61.y);
var _BZ1 = (_rZ1.x - _zZ1) * _uZ1[_vZ1].x + (_rZ1.y - _AZ1) * _uZ1[_vZ1].y;
if (_BZ1 > _2U1) {
return;
}
_vY1._uY1 = 1;
_vY1.type = _sY1._xY1;
_vY1._tY1.x = _uZ1[_vZ1].x;
_vY1._tY1.y = _uZ1[_vZ1].y;
_vY1._oY1.x = _zZ1;
_vY1._oY1.y = _AZ1;
_vY1._D2[0] = new _nY1();
_vY1._D2[0]._oY1.x = _nZ1._MU1.x;
_vY1._D2[0]._oY1.y = _nZ1._MU1.y;
_vY1._D2[0].id._ls1();
}
}
function _CZ1(_DZ1, _EZ1, _FZ1, _GZ1, _HZ1) {
var _IZ1 = _EZ1._cV1;
var _JZ1 = _GZ1._cV1;
var _KZ1 = _EZ1._uV1;
var _LZ1 = _EZ1._bV1;
var _MZ1 = _GZ1._bV1;
var _3T1 = _AT1(_HZ1, _FZ1);
var _XW1 = 0;
var _NZ1 = -_wR1;
for (var _X9 = 0; _X9 < _IZ1; ++_X9) {
var _S61 = _3T1._Yr1._Y9 * _KZ1[_X9].x - _3T1._Yr1._Wo1 * _KZ1[_X9].y;
var _T61 = _3T1._Yr1._Wo1 * _KZ1[_X9].x + _3T1._Yr1._Y9 * _KZ1[_X9].y;
var _p61 = _3T1._Yr1._Y9 * _LZ1[_X9].x - _3T1._Yr1._Wo1 * _LZ1[_X9].y + _3T1._ot1.x;
var _q61 = _3T1._Yr1._Wo1 * _LZ1[_X9].x + _3T1._Yr1._Y9 * _LZ1[_X9].y + _3T1._ot1.y;
var _OZ1 = _wR1;
for (var _i21 = 0; _i21 < _JZ1; ++_i21) {
var _PZ1 = _S61 * (_MZ1[_i21].x - _p61) + _T61 * (_MZ1[_i21].y - _q61);
if (_PZ1 < _OZ1) {
_OZ1 = _PZ1;
}
}
if (_OZ1 > _NZ1) {
_NZ1 = _OZ1;
_XW1 = _X9;
}
}
_DZ1[0] = _XW1;
return _NZ1;
}
function _QZ1(_Y9, _EZ1, _FZ1, _RZ1, _GZ1, _HZ1) {
var _SZ1 = _EZ1._uV1;
var _JZ1 = _GZ1._cV1;
var _TZ1 = _GZ1._bV1;
var _UZ1 = _GZ1._uV1;
_uR1(0 <= _RZ1 && _RZ1 < _EZ1._cV1);
var _VZ1 = _FZ1._Yr1._Y9 * _SZ1[_RZ1].x - _FZ1._Yr1._Wo1 * _SZ1[_RZ1].y;
var _WZ1 = _FZ1._Yr1._Wo1 * _SZ1[_RZ1].x + _FZ1._Yr1._Y9 * _SZ1[_RZ1].y;
var _XZ1 = _HZ1._Yr1._Y9 * _VZ1 + _HZ1._Yr1._Wo1 * _WZ1;
var _YZ1 = -_HZ1._Yr1._Wo1 * _VZ1 + _HZ1._Yr1._Y9 * _WZ1;
var index = 0;
var _ZZ1 = _wR1;
for (var _X9 = 0; _X9 < _JZ1; ++_X9) {
var _GV1 = _XZ1 * _UZ1[_X9].x + _YZ1 * _UZ1[_X9].y;
if (_GV1 < _ZZ1) {
_ZZ1 = _GV1;
index = _X9;
}
}
var _qV1 = index;
var _rV1 = _qV1 + 1 < _JZ1 ? _qV1 + 1 : 0;
_Y9[0]._J41.x = _HZ1._Yr1._Y9 * _TZ1[_qV1].x - _HZ1._Yr1._Wo1 * _TZ1[_qV1].y + _HZ1._ot1.x;
_Y9[0]._J41.y = _HZ1._Yr1._Wo1 * _TZ1[_qV1].x + _HZ1._Yr1._Y9 * _TZ1[_qV1].y + _HZ1._ot1.y;
_Y9[0].id._0X1 = _RZ1;
_Y9[0].id._1X1 = _qV1;
_Y9[0].id._jY1 = _iY1._mY1;
_Y9[0].id._kY1 = _iY1._lY1;
_Y9[1]._J41.x = _HZ1._Yr1._Y9 * _TZ1[_rV1].x - _HZ1._Yr1._Wo1 * _TZ1[_rV1].y + _HZ1._ot1.x;
_Y9[1]._J41.y = _HZ1._Yr1._Wo1 * _TZ1[_rV1].x + _HZ1._Yr1._Y9 * _TZ1[_rV1].y + _HZ1._ot1.y;
_Y9[1].id._0X1 = _RZ1;
_Y9[1].id._1X1 = _rV1;
_Y9[1].id._jY1 = _iY1._mY1;
_Y9[1].id._kY1 = _iY1._lY1;
}
function __Z1(_vY1, _0_1, _GY1, _1_1, _IY1) {
_vY1._uY1 = 0;
var _2_1 = _0_1._sU1 + _1_1._sU1;
var _3_1 = [0];
var _4_1 = _CZ1(_3_1, _0_1, _GY1, _1_1, _IY1);
if (_4_1 > _2_1) return;
var _5_1 = [0];
var _6_1 = _CZ1(_5_1, _1_1, _IY1, _0_1, _GY1);
if (_6_1 > _2_1) return;
var _EZ1;
var _GZ1;
var _FZ1, _HZ1;
var _RZ1 = 0;
var _7_1 = 0;
var _8_1 = 0.1 * _DR1;
if (_6_1 > _4_1 + _8_1) {
_EZ1 = _1_1;
_GZ1 = _0_1;
_FZ1 = _IY1;
_HZ1 = _GY1;
_RZ1 = _5_1[0];
_vY1.type = _sY1._yY1;
_7_1 = 1;
} else {
_EZ1 = _0_1;
_GZ1 = _1_1;
_FZ1 = _GY1;
_HZ1 = _IY1;
_RZ1 = _3_1[0];
_vY1.type = _sY1._xY1;
_7_1 = 0;
}
_QZ1(__Z1._9_1, _EZ1, _FZ1, _RZ1, _GZ1, _HZ1);
var _IZ1 = _EZ1._cV1;
var _a_1 = _EZ1._bV1;
var _b_1 = _RZ1;
var _c_1 = _RZ1 + 1 < _IZ1 ? _RZ1 + 1 : 0;
var _d_1 = _a_1[_b_1];
var _e_1 = _a_1[_c_1];
__Z1._f_1.x = _e_1.x - _d_1.x;
__Z1._f_1.y = _e_1.y - _d_1.y;
__Z1._f_1._rS1();
var _g_1 = 1.0 * __Z1._f_1.y;
var _h_1 = -1.0 * __Z1._f_1.x;
var _UY1 = 0.5 * (_d_1.x + _e_1.x);
var _VY1 = 0.5 * (_d_1.y + _e_1.y);
var _i_1 = _FZ1._Yr1._Y9 * __Z1._f_1.x - _FZ1._Yr1._Wo1 * __Z1._f_1.y;
var _j_1 = _FZ1._Yr1._Wo1 * __Z1._f_1.x + _FZ1._Yr1._Y9 * __Z1._f_1.y;
var _k_1 = 1.0 * _j_1;
var _l_1 = -1.0 * _i_1;
_d_1 = _vT1(_FZ1, _d_1);
_e_1 = _vT1(_FZ1, _e_1);
var _m_1 = _k_1 * _d_1.x + _l_1 * _d_1.y;
var _n_1 = -(_i_1 * _d_1.x + _j_1 * _d_1.y) + _2_1;
var _o_1 = _i_1 * _e_1.x + _j_1 * _e_1.y + _2_1;
var _p_1 = new Array(2);
var _q_1 = new Array(2);
var _r_1;
_r_1 = _s_1(_p_1, __Z1._9_1, -_i_1, -_j_1, _n_1, _b_1);
if (_r_1 < 2) return;
_r_1 = _s_1(_q_1, _p_1, _i_1, _j_1, _o_1, _c_1);
if (_r_1 < 2) {
return;
}
_vY1._tY1.x = _g_1;
_vY1._tY1.y = _h_1;
_vY1._oY1.x = _UY1;
_vY1._oY1.y = _VY1;
var _uY1 = 0;
for (var _X9 = 0; _X9 < _zR1; ++_X9) {
var _tZ1 = _k_1 * _q_1[_X9]._J41.x + _l_1 * _q_1[_X9]._J41.y - _m_1;
if (_tZ1 <= _2_1) {
var _t_1 = (_vY1._D2[_uY1] = new _nY1());
_t_1._oY1._IE1(_xT1(_HZ1, _q_1[_X9]._J41));
_t_1.id._IE1(_q_1[_X9].id);
if (_7_1) {
var _u_1 = new _iY1();
_u_1._IE1(_t_1.id);
_t_1.id._0X1 = _u_1._1X1;
_t_1.id._1X1 = _u_1._0X1;
_t_1.id._jY1 = _u_1._kY1;
_t_1.id._kY1 = _u_1._jY1;
}
++_uY1;
}
}
_vY1._uY1 = _uY1;
}
__Z1._f_1 = new _iS1();
__Z1._9_1 = [new _2Z1(), new _2Z1()];
function _v_1(_vY1, _3_1, _GY1, _nZ1, _IY1) {
_vY1._uY1 = 0;
var _w_1 = _xT1(_GY1, _vT1(_IY1, _nZ1._MU1));
var _vR1 = _3_1._ZU1,
_FS1 = _3_1.__U1;
var _dc1 = _FS1.x - _vR1.x;
var _1v1 = _FS1.y - _vR1.y;
var _P41 = _dc1 * (_FS1.x - _w_1.x) + _1v1 * (_FS1.y - _w_1.y);
var _J41 = _dc1 * (_w_1.x - _vR1.x) + _1v1 * (_w_1.y - _vR1.y);
var _2U1 = _3_1._sU1 + _nZ1._sU1;
var _u_1 = new _iY1();
_u_1._1X1 = 0;
_u_1._kY1 = _iY1._lY1;
if (_J41 <= 0.0) {
var _x_1 = _vR1;
var _761 = _w_1.x - _x_1.x;
var _861 = _w_1.y - _x_1.y;
var _wu1 = _761 * _761 + _861 * _861;
if (_wu1 > _2U1 * _2U1) {
return;
}
if (_3_1._1V1) {
var _y_1 = _3_1._YU1;
var _z_1 = _vR1;
var _A_1 = _z_1.x - _y_1.x;
var _B_1 = _z_1.y - _y_1.y;
var _xZ1 = _A_1 * (_z_1.x - _w_1.x) + _B_1 * (_z_1.y - _w_1.y);
if (_xZ1 > 0.0) {
return;
}
}
_u_1._0X1 = 0;
_u_1._jY1 = _iY1._lY1;
_vY1._uY1 = 1;
_vY1.type = _sY1._wY1;
_vY1._tY1.x = _vY1._tY1.y = 0;
_vY1._oY1.x = _x_1.x;
_vY1._oY1.y = _x_1.y;
_vY1._D2[0] = new _nY1();
_vY1._D2[0].id._IE1(_u_1);
_vY1._D2[0]._oY1.x = _nZ1._MU1.x;
_vY1._D2[0]._oY1.y = _nZ1._MU1.y;
return;
}
if (_P41 <= 0.0) {
var _x_1 = _FS1;
var _761 = _w_1.x - _x_1.x;
var _861 = _w_1.y - _x_1.y;
var _wu1 = _761 * _761 + _861 * _861;
if (_wu1 > _2U1 * _2U1) {
return;
}
if (_3_1._2V1) {
var _C_1 = _3_1._0V1;
var _D_1 = _FS1;
var _E_1 = _C_1.x - _D_1.x;
var _F_1 = _C_1.y - _D_1.y;
var _c61 = _E_1 * (_w_1.x - _D_1.x) + _F_1 * (_w_1.y - _D_1.y);
if (_c61 > 0.0) {
return;
}
}
_u_1._0X1 = 1;
_u_1._jY1 = _iY1._lY1;
_vY1._uY1 = 1;
_vY1.type = _sY1._wY1;
_vY1._tY1.x = _vY1._tY1.y = 0;
_vY1._oY1.x = _x_1.x;
_vY1._oY1.y = _x_1.y;
_vY1._D2[0] = new _nY1();
_vY1._D2[0].id._IE1(_u_1);
_vY1._D2[0]._oY1.x = _nZ1._MU1.x;
_vY1._D2[0]._oY1.y = _nZ1._MU1.y;
return;
}
var _G_1 = _dc1 * _dc1 + _1v1 * _1v1;
_uR1(_G_1 > 0.0);
var _H_1 = (1.0 / _G_1) * (_P41 * _vR1.x + _J41 * _FS1.x);
var _I_1 = (1.0 / _G_1) * (_P41 * _vR1.y + _J41 * _FS1.y);
var _761 = _w_1.x - _H_1;
var _861 = _w_1.y - _I_1;
var _wu1 = _761 * _761 + _861 * _861;
if (_wu1 > _2U1 * _2U1) {
return;
}
var _S61 = -_1v1;
var _T61 = _dc1;
if (_S61 * (_w_1.x - _vR1.x) + _T61 * (_w_1.y - _vR1.y) < 0.0) {
_S61 = -_S61;
_T61 = -_T61;
}
_u_1._0X1 = 0;
_u_1._jY1 = _iY1._mY1;
_vY1._uY1 = 1;
_vY1.type = _sY1._xY1;
_vY1._tY1.x = _S61;
_vY1._tY1.y = _T61;
_vY1._tY1._rS1();
_vY1._oY1.x = _vR1.x;
_vY1._oY1.y = _vR1.y;
_vY1._D2[0] = new _nY1();
_vY1._D2[0].id._IE1(_u_1);
_vY1._D2[0]._oY1.x = _nZ1._MU1.x;
_vY1._D2[0]._oY1.y = _nZ1._MU1.y;
}
function _J_1() {
this.type = 0;
this.index = 0;
this._tZ1 = 0;
}
_J_1._K_1 = 0;
_J_1._L_1 = 1;
_J_1._M_1 = 2;
function _N_1() {
this.vertices = new Array(_AR1);
this._uZ1 = new Array(_AR1);
this._d31 = 0;
}
function _O_1() {
(this._qV1 = 0), (this._rV1 = 0);
(this._b61 = new _iS1()), (this._c61 = new _iS1());
this._FU1 = new _iS1();
this._P_1 = new _iS1();
this._n_1 = 0;
this._Q_1 = new _iS1();
this._o_1 = 0;
}
function _R_1() {
this._S_1 = new _N_1();
this._T_1 = new _2T1();
this._U_1 = new _iS1();
(this._V_1 = new _iS1()), (this._W_1 = new _iS1()), (this._X_1 = new _iS1()), (this._Y_1 = new _iS1());
(this._Z_1 = new _iS1()), (this.___1 = new _iS1()), (this._002 = new _iS1());
this._102 = new _iS1();
(this._202 = 0), (this._302 = 0);
(this._402 = new _iS1()), (this._502 = new _iS1());
this._sU1 = 0;
this._602 = !1;
}
_R_1._702 = new _iS1();
_R_1._802 = new _iS1();
_R_1._902 = new _iS1();
_R_1.prototype = {
_a02: function (_vY1, _3_1, _GY1, _b02, _IY1) {
this._T_1._IE1(_AT1(_GY1, _IY1));
this._U_1.x = this._T_1._Yr1._Y9 * _b02._tV1.x - this._T_1._Yr1._Wo1 * _b02._tV1.y + this._T_1._ot1.x;
this._U_1.y = this._T_1._Yr1._Wo1 * _b02._tV1.x + this._T_1._Yr1._Y9 * _b02._tV1.y + this._T_1._ot1.y;
this._V_1.x = _3_1._YU1.x;
this._V_1.y = _3_1._YU1.y;
this._W_1.x = _3_1._ZU1.x;
this._W_1.y = _3_1._ZU1.y;
this._X_1.x = _3_1.__U1.x;
this._X_1.y = _3_1.__U1.y;
this._Y_1.x = _3_1._0V1.x;
this._Y_1.y = _3_1._0V1.y;
var _c02 = _3_1._1V1;
var _d02 = _3_1._2V1;
_R_1._702.x = this._X_1.x - this._W_1.x;
_R_1._702.y = this._X_1.y - this._W_1.y;
_R_1._702._rS1();
this.___1.x = _R_1._702.y;
this.___1.y = -_R_1._702.x;
var _e02 = this.___1.x * (this._U_1.x - this._W_1.x) + this.___1.y * (this._U_1.y - this._W_1.y);
var _f02 = 0.0,
_g02 = 0.0;
var _h02 = !1,
_i02 = !1;
if (_c02) {
_R_1._802.x = this._W_1.x - this._V_1.x;
_R_1._802.y = this._W_1.y - this._V_1.y;
_R_1._802._rS1();
this._Z_1.x = _R_1._802.y;
this._Z_1.y = -_R_1._802.x;
_h02 = _R_1._802.x * _R_1._702.y - _R_1._802.y * _R_1._702.x >= 0;
_f02 = this._Z_1.x * (this._U_1.x - this._V_1.x) + this._Z_1.y * (this._U_1.y - this._V_1.y);
}
if (_d02) {
_R_1._902.x = this._Y_1.x - this._X_1.x;
_R_1._902.y = this._Y_1.y - this._X_1.y;
_R_1._902._rS1();
this._002.x = _R_1._902.y;
this._002.y = -_R_1._902.x;
_i02 = _R_1._702.x * _R_1._902.y - _R_1._702.y * _R_1._902.x > 0.0;
_g02 = this._002.x * (this._U_1.x - this._X_1.x) + this._002.y * (this._U_1.y - this._X_1.y);
}
if (_c02 && _d02) {
if (_h02 && _i02) {
this._602 = _f02 >= 0.0 || _e02 >= 0.0 || _g02 >= 0.0;
if (this._602) {
this._102.x = this.___1.x;
this._102.y = this.___1.y;
this._402.x = this._Z_1.x;
this._402.y = this._Z_1.y;
this._502.x = this._002.x;
this._502.y = this._002.y;
} else {
this._102.x = -this.___1.x;
this._102.y = -this.___1.y;
this._402.x = -this.___1.x;
this._402.y = -this.___1.y;
this._502.x = -this.___1.x;
this._502.y = -this.___1.y;
}
} else if (_h02) {
this._602 = _f02 >= 0.0 || (_e02 >= 0.0 && _g02 >= 0.0);
if (this._602) {
this._102.x = this.___1.x;
this._102.y = this.___1.y;
this._402.x = this._Z_1.x;
this._402.y = this._Z_1.y;
this._502.x = this.___1.x;
this._502.y = this.___1.y;
} else {
this._102.x = -this.___1.x;
this._102.y = -this.___1.y;
this._402.x = -this._002.x;
this._402.y = -this._002.y;
this._502.x = -this.___1.x;
this._502.y = -this.___1.y;
}
} else if (_i02) {
this._602 = _g02 >= 0.0 || (_f02 >= 0.0 && _e02 >= 0.0);
if (this._602) {
this._102.x = this.___1.x;
this._102.y = this.___1.y;
this._402.x = this.___1.x;
this._402.y = this.___1.y;
this._502.x = this._002.x;
this._502.y = this._002.y;
} else {
this._102.x = -this.___1.x;
this._102.y = -this.___1.y;
this._402.x = -this.___1.x;
this._402.y = -this.___1.y;
this._502.x = -this._Z_1.x;
this._502.y = -this._Z_1.y;
}
} else {
this._602 = _f02 >= 0.0 && _e02 >= 0.0 && _g02 >= 0.0;
if (this._602) {
this._102.x = this.___1.x;
this._102.y = this.___1.y;
this._402.x = this.___1.x;
this._402.y = this.___1.y;
this._502.x = this.___1.x;
this._502.y = this.___1.y;
} else {
this._102.x = -this.___1.x;
this._102.y = -this.___1.y;
this._402.x = -this._002.x;
this._402.y = -this._002.y;
this._502.x = -this._Z_1.x;
this._502.y = -this._Z_1.y;
}
}
} else if (_c02) {
if (_h02) {
this._602 = _f02 >= 0.0 || _e02 >= 0.0;
if (this._602) {
this._102.x = this.___1.x;
this._102.y = this.___1.y;
this._402.x = this._Z_1.x;
this._402.y = this._Z_1.y;
this._502.x = -this.___1.x;
this._502.y = -this.___1.y;
} else {
this._102.x = -this.___1.x;
this._102.y = -this.___1.y;
this._402.x = this.___1.x;
this._402.y = this.___1.y;
this._502.x = -this.___1.x;
this._502.y = -this.___1.y;
}
} else {
this._602 = _f02 >= 0.0 && _e02 >= 0.0;
if (this._602) {
this._102.x = this.___1.x;
this._102.y = this.___1.y;
this._402.x = this.___1.x;
this._402.y = this.___1.y;
this._502.x = -this.___1.x;
this._502.y = -this.___1.y;
} else {
this._102.x = -this.___1.x;
this._102.y = -this.___1.y;
this._402.x = this.___1.x;
this._402.y = this.___1.y;
this._502.x = -this._Z_1.x;
this._502.y = -this._Z_1.y;
}
}
} else if (_d02) {
if (_i02) {
this._602 = _e02 >= 0.0 || _g02 >= 0.0;
if (this._602) {
this._102.x = this.___1.x;
this._102.y = this.___1.y;
this._402.x = -this.___1.x;
this._402.y = -this.___1.y;
this._502.x = this._002.x;
this._502.y = this._002.y;
} else {
this._102.x = -this.___1.x;
this._102.y = -this.___1.y;
this._402.x = -this.___1.x;
this._402.y = -this.___1.y;
this._502.x = this.___1.x;
this._502.y = this.___1.y;
}
} else {
this._602 = _e02 >= 0.0 && _g02 >= 0.0;
if (this._602) {
this._102.x = this.___1.x;
this._102.y = this.___1.y;
this._402.x = -this.___1.x;
this._402.y = -this.___1.y;
this._502.x = this.___1.x;
this._502.y = this.___1.y;
} else {
this._102.x = -this.___1.x;
this._102.y = -this.___1.y;
this._402.x = -this._002.x;
this._402.y = -this._002.y;
this._502.x = this.___1.x;
this._502.y = this.___1.y;
}
}
} else {
this._602 = _e02 >= 0.0;
if (this._602) {
this._102.x = this.___1.x;
this._102.y = this.___1.y;
this._402.x = -this.___1.x;
this._402.y = -this.___1.y;
this._502.x = -this.___1.x;
this._502.y = -this.___1.y;
} else {
this._102.x = -this.___1.x;
this._102.y = -this.___1.y;
this._402.x = this.___1.x;
this._402.y = this.___1.y;
this._502.x = this.___1.x;
this._502.y = this.___1.y;
}
}
this._S_1._d31 = _b02._cV1;
for (var _X9 = 0; _X9 < _b02._cV1; ++_X9) {
this._S_1.vertices[_X9] = _vT1(this._T_1, _b02._bV1[_X9]);
this._S_1._uZ1[_X9] = _tT1(this._T_1._Yr1, _b02._uV1[_X9]);
}
this._sU1 = 2.0 * _FR1;
_vY1._uY1 = 0;
var _j02 = this._k02();
if (_j02.type == _J_1._K_1) {
return;
}
if (_j02._tZ1 > this._sU1) {
return;
}
var _l02 = this._m02();
if (_l02.type != _J_1._K_1 && _l02._tZ1 > this._sU1) {
return;
}
var _n02 = 0.98;
var _o02 = 0.001;
var _p02 = new _J_1();
if (_l02.type == _J_1._K_1) {
_p02 = _j02;
} else if (_l02._tZ1 > _n02 * _j02._tZ1 + _o02) {
_p02 = _l02;
} else {
_p02 = _j02;
}
var _BV1 = new Array(2);
var _q02 = new _O_1();
if (_p02.type == _J_1._L_1) {
_vY1.type = _sY1._xY1;
var _XW1 = 0;
var _YW1 = this._102.x * this._S_1._uZ1[0].x + this._102.y * this._S_1._uZ1[0].y;
for (var _X9 = 1; _X9 < this._S_1._d31; ++_X9) {
var value = this._102.x * this._S_1._uZ1[_X9].x + this._102.y * this._S_1._uZ1[_X9].y;
if (value < _YW1) {
_YW1 = value;
_XW1 = _X9;
}
}
var _qV1 = _XW1;
var _rV1 = _qV1 + 1 < this._S_1._d31 ? _qV1 + 1 : 0;
_BV1[0] = new _2Z1();
_BV1[0]._J41.x = this._S_1.vertices[_qV1].x;
_BV1[0]._J41.y = this._S_1.vertices[_qV1].y;
_BV1[0].id._0X1 = 0;
_BV1[0].id._1X1 = _qV1;
_BV1[0].id._jY1 = _iY1._mY1;
_BV1[0].id._kY1 = _iY1._lY1;
_BV1[1] = new _2Z1();
_BV1[1]._J41.x = this._S_1.vertices[_rV1].x;
_BV1[1]._J41.y = this._S_1.vertices[_rV1].y;
_BV1[1].id._0X1 = 0;
_BV1[1].id._1X1 = _rV1;
_BV1[1].id._jY1 = _iY1._mY1;
_BV1[1].id._kY1 = _iY1._lY1;
if (this._602) {
_q02._qV1 = 0;
_q02._rV1 = 1;
_q02._b61.x = this._W_1.x;
_q02._b61.y = this._W_1.y;
_q02._c61.x = this._X_1.x;
_q02._c61.y = this._X_1.y;
_q02._FU1.x = this.___1.x;
_q02._FU1.y = this.___1.y;
} else {
_q02._qV1 = 1;
_q02._rV1 = 0;
_q02._b61.x = this._X_1.x;
_q02._b61.y = this._X_1.y;
_q02._c61.x = this._W_1.x;
_q02._c61.y = this._W_1.y;
_q02._FU1.x = -this.___1.x;
_q02._FU1.y = -this.___1.y;
}
} else {
_vY1.type = _sY1._yY1;
_BV1[0] = new _2Z1();
_BV1[0]._J41 = this._W_1;
_BV1[0].id._0X1 = 0;
_BV1[0].id._1X1 = _p02.index;
_BV1[0].id._jY1 = _iY1._lY1;
_BV1[0].id._kY1 = _iY1._mY1;
_BV1[1] = new _2Z1();
_BV1[1]._J41 = this._X_1;
_BV1[1].id._0X1 = 0;
_BV1[1].id._1X1 = _p02.index;
_BV1[1].id._jY1 = _iY1._lY1;
_BV1[1].id._kY1 = _iY1._mY1;
_q02._qV1 = _p02.index;
_q02._rV1 = _q02._qV1 + 1 < this._S_1._d31 ? _q02._qV1 + 1 : 0;
_q02._b61.x = this._S_1.vertices[_q02._qV1].x;
_q02._b61.y = this._S_1.vertices[_q02._qV1].y;
_q02._c61.x = this._S_1.vertices[_q02._rV1].x;
_q02._c61.y = this._S_1.vertices[_q02._rV1].y;
_q02._FU1.x = this._S_1._uZ1[_q02._qV1].x;
_q02._FU1.y = this._S_1._uZ1[_q02._qV1].y;
}
_q02._P_1.x = _q02._FU1.y;
_q02._P_1.y = -_q02._FU1.x;
_q02._Q_1.x = -_q02._P_1.x;
_q02._Q_1.y = -_q02._P_1.y;
_q02._n_1 = _q02._P_1.x * _q02._b61.x + _q02._P_1.y * _q02._b61.y;
_q02._o_1 = _q02._Q_1.x * _q02._c61.x + _q02._Q_1.y * _q02._c61.y;
var _p_1 = new Array(2);
var _q_1 = new Array(2);
var _r_1;
_r_1 = _s_1(_p_1, _BV1, _q02._P_1.x, _q02._P_1.y, _q02._n_1, _q02._qV1);
if (_r_1 < _zR1) {
return;
}
_r_1 = _s_1(_q_1, _p_1, _q02._Q_1.x, _q02._Q_1.y, _q02._o_1, _q02._rV1);
if (_r_1 < _zR1) {
return;
}
if (_p02.type == _J_1._L_1) {
_vY1._tY1.x = _q02._FU1.x;
_vY1._tY1.y = _q02._FU1.y;
_vY1._oY1.x = _q02._b61.x;
_vY1._oY1.y = _q02._b61.y;
} else {
_vY1._tY1.x = _b02._uV1[_q02._qV1].x;
_vY1._tY1.y = _b02._uV1[_q02._qV1].y;
_vY1._oY1.x = _b02._bV1[_q02._qV1].x;
_vY1._oY1.y = _b02._bV1[_q02._qV1].y;
}
var _uY1 = 0;
for (var _X9 = 0; _X9 < _zR1; ++_X9) {
var _tZ1 = _q02._FU1.x * (_q_1[_X9]._J41.x - _q02._b61.x) + _q02._FU1.y * (_q_1[_X9]._J41.y - _q02._b61.y);
if (_tZ1 <= this._sU1) {
var _t_1 = (_vY1._D2[_uY1] = new _nY1());
if (_p02.type == _J_1._L_1) {
_t_1._oY1._IE1(_xT1(this._T_1, _q_1[_X9]._J41));
_t_1.id._IE1(_q_1[_X9].id);
} else {
_t_1._oY1.x = _q_1[_X9]._J41.x;
_t_1._oY1.y = _q_1[_X9]._J41.y;
_t_1.id._jY1 = _q_1[_X9].id._kY1;
_t_1.id._kY1 = _q_1[_X9].id._jY1;
_t_1.id._0X1 = _q_1[_X9].id._1X1;
_t_1.id._1X1 = _q_1[_X9].id._0X1;
}
++_uY1;
}
}
_vY1._uY1 = _uY1;
},
_k02: function () {
var _Ge1 = new _J_1();
_Ge1.type = _J_1._L_1;
_Ge1.index = this._602 ? 0 : 1;
_Ge1._tZ1 = Number.MAX_VALUE;
for (var _X9 = 0; _X9 < this._S_1._d31; ++_X9) {
var _Wo1 = this._102.x * (this._S_1.vertices[_X9].x - this._W_1.x) + this._102.y * (this._S_1.vertices[_X9].y - this._W_1.y);
if (_Wo1 < _Ge1._tZ1) {
_Ge1._tZ1 = _Wo1;
}
}
return _Ge1;
},
_m02: function () {
var _Ge1 = new _J_1();
_Ge1.type = _J_1._K_1;
_Ge1.index = -1;
_Ge1._tZ1 = -Number.MAX_VALUE;
var _r02 = -this._102.y;
var _s02 = this._102.x;
for (var _X9 = 0; _X9 < this._S_1._d31; ++_X9) {
var _S61 = -this._S_1._uZ1[_X9].x;
var _T61 = -this._S_1._uZ1[_X9].y;
var _Km1 = _S61 * (this._S_1.vertices[_X9].x - this._W_1.x) + _T61 * (this._S_1.vertices[_X9].y - this._W_1.y);
var _Lm1 = _S61 * (this._S_1.vertices[_X9].x - this._X_1.x) + _T61 * (this._S_1.vertices[_X9].y - this._X_1.y);
var _Wo1 = _GT1(_Km1, _Lm1);
if (_Wo1 > this._sU1) {
_Ge1.type = _J_1._M_1;
_Ge1.index = _X9;
_Ge1._tZ1 = _Wo1;
return _Ge1;
}
if (_S61 * _r02 + _T61 * _s02 >= 0.0) {
if ((_S61 - this._502.x) * this._102.x + (_T61 - this._502.y) * this._102.y < -_ER1) {
continue;
}
} else {
if ((_S61 - this._402.x) * this._102.x + (_T61 - this._402.y) * this._102.y < -_ER1) {
continue;
}
}
if (_Wo1 > _Ge1._tZ1) {
_Ge1.type = _J_1._M_1;
_Ge1.index = _X9;
_Ge1._tZ1 = _Wo1;
}
}
return _Ge1;
},
};
_R_1._t02 = 0;
_R_1._u02 = 1;
_R_1._v02 = 2;
function _w02(_vY1, _3_1, _GY1, _b02, _IY1) {
_w02._x02._a02(_vY1, _3_1, _GY1, _b02, _IY1);
}
_w02._x02 = new _R_1();
function _s_1(_y02, _z02, _k_1, _l_1, offset, _A02) {
var _B02 = 0;
var _C02 = _k_1 * _z02[0]._J41.x + _l_1 * _z02[0]._J41.y - offset;
var _D02 = _k_1 * _z02[1]._J41.x + _l_1 * _z02[1]._J41.y - offset;
if (_C02 <= 0.0) _y02[_B02++] = _z02[0];
if (_D02 <= 0.0) _y02[_B02++] = _z02[1];
if (_C02 * _D02 < 0.0) {
var _E02 = _C02 / (_C02 - _D02);
_y02[_B02] = new _2Z1();
_y02[_B02]._J41.x = _z02[0]._J41.x + _E02 * (_z02[1]._J41.x - _z02[0]._J41.x);
_y02[_B02]._J41.y = _z02[0]._J41.y + _E02 * (_z02[1]._J41.y - _z02[0]._J41.y);
_y02[_B02].id._0X1 = _A02;
_y02[_B02].id._1X1 = _z02[0].id._1X1;
_y02[_B02].id._jY1 = _iY1._lY1;
_y02[_B02].id._kY1 = _iY1._mY1;
++_B02;
}
return _B02;
}
function _F02(_G02, _0X1, _H02, _1X1, _GY1, _IY1) {
_F02._Ir1._3X1._sc1(_G02, _0X1);
_F02._Ir1._4X1._sc1(_H02, _1X1);
_F02._Ir1._5X1 = _GY1;
_F02._Ir1._6X1 = _IY1;
_F02._Ir1._7X1 = !0;
_F02._c31._d31 = 0;
_1Y1(_F02._Kr1, _F02._c31, _F02._Ir1);
return _F02._Kr1._EU1 < 10.0 * _xR1;
}
_F02._Ir1 = new _2X1();
_F02._c31 = new _ZW1();
_F02._Kr1 = new _8X1();
function _yW1(_l41, _e21) {
return !(_e21._RU1.x - _l41._SU1.x > 0.0 || _e21._RU1.y - _l41._SU1.y > 0.0 || _l41._RU1.x - _e21._SU1.x > 0.0 || _l41._RU1.y - _e21._SU1.y > 0.0);
}
var _I02 = -1;
function _J02() {
this._zU1 = new _5Z1();
this._lW1 = null;
this.parent = 0;
this._K02 = this._L02 = this.height = 0;
}
_J02.prototype = {
_M02: function () {
return this._K02 == _I02;
},
};
function _dW1() {
this._N02 = _I02;
this._O02 = 16;
this._P02 = 0;
this._Q02 = new Array(this._O02);
for (var _X9 = 0; _X9 < this._O02 - 1; ++_X9) {
this._Q02[_X9] = new _J02();
this._Q02[_X9].parent = _X9 + 1;
this._Q02[_X9].height = -1;
}
this._Q02[this._O02 - 1] = new _J02();
this._Q02[this._O02 - 1].parent = _I02;
this._Q02[this._O02 - 1].height = -1;
this._R02 = 0;
this._S02 = 0;
this._T02 = 0;
}
_dW1._U02 = new _iS1(_BR1, _BR1);
_dW1.prototype = {
_kW1: function (_zU1, _lW1) {
var _mW1 = this._V02();
this._Q02[_mW1]._zU1._RU1._IE1(_iS1._pS1(_zU1._RU1, _dW1._U02));
this._Q02[_mW1]._zU1._SU1._IE1(_iS1._Da1(_zU1._SU1, _dW1._U02));
this._Q02[_mW1]._lW1 = _lW1;
this._Q02[_mW1].height = 0;
this._W02(_mW1);
return _mW1;
},
_oW1: function (_mW1) {
_uR1(0 <= _mW1 && _mW1 < this._O02);
_uR1(this._Q02[_mW1]._M02());
this._X02(_mW1);
this._Y02(_mW1);
}, /// @return true if the proxy was re-inserted.
_qW1: function (_mW1, _zU1, _rW1) {
_uR1(0 <= _mW1 && _mW1 < this._O02);
_uR1(this._Q02[_mW1]._M02());
if (this._Q02[_mW1]._zU1._eZ1(_zU1)) {
return !1;
}
this._X02(_mW1);
this._Q02[_mW1]._zU1._IE1(_zU1);
this._Q02[_mW1]._zU1._RU1._pS1(_dW1._U02);
this._Q02[_mW1]._zU1._SU1._Da1(_dW1._U02);
var _Ce1 = _iS1.Multiply(_CR1, _rW1);
if (_Ce1.x < 0.0) {
this._Q02[_mW1]._zU1._RU1.x += _Ce1.x;
} else {
this._Q02[_mW1]._zU1._SU1.x += _Ce1.x;
}
if (_Ce1.y < 0.0) {
this._Q02[_mW1]._zU1._RU1.y += _Ce1.y;
} else {
this._Q02[_mW1]._zU1._SU1.y += _Ce1.y;
}
this._W02(_mW1);
return !0;
}, /// @return the proxy user data or 0 if the id is invalid.
_uW1: function (_mW1) {
_uR1(0 <= _mW1 && _mW1 < this._O02);
return this._Q02[_mW1]._lW1;
},
_tW1: function (_mW1) {
_uR1(0 <= _mW1 && _mW1 < this._O02);
return this._Q02[_mW1]._zU1;
},
_EW1: function (_BW1, _zU1) {
var _2R1 = [];
_2R1.push(this._N02);
while (_2R1.length > 0) {
var _Z02 = _2R1.pop();
if (_Z02 == _I02) {
continue;
}
var _kd1 = this._Q02[_Z02];
if (_yW1(_kd1._zU1, _zU1)) {
if (_kd1._M02()) {
var __02 = _BW1._SW1(_Z02);
if (__02 == !1) {
return;
}
} else {
_2R1.push(_kd1._K02);
_2R1.push(_kd1._L02);
}
}
}
}, /// @param input the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
/// @param callback a callback class that is called for each proxy that is hit by the ray.
_wU1: function (_BW1, _Ir1) {
var _Fe1 = _Ir1._Fe1;
var _5U1 = _Ir1._5U1;
var _b21 = _iS1._pS1(_5U1, _Fe1);
_uR1(_b21._qS1() > 0.0);
_b21._rS1();
var _J41 = _hT1(1.0, _b21);
var _012 = _ET1(_J41);
var _PU1 = _Ir1._PU1;
var _112 = new _5Z1();
{
var _d21 = _iS1._Da1(_Fe1, _iS1.Multiply(_PU1, _iS1._pS1(_5U1, _Fe1)));
_112._RU1._IE1(_HT1(_Fe1, _d21));
_112._SU1._IE1(_JT1(_Fe1, _d21));
}
var _2R1 = [];
_2R1.push(this._N02);
while (_2R1.length > 0) {
var _Z02 = _2R1.pop();
if (_Z02 == _I02) {
continue;
}
var _kd1 = this._Q02[_Z02];
if (_yW1(_kd1._zU1, _112) == !1) {
continue;
}
var _Y9 = _kd1._zU1._8Z1();
var __9 = _kd1._zU1._9Z1();
var _tZ1 = _DT1(_eT1(_J41, _iS1._pS1(_Fe1, _Y9))) - _eT1(_012, __9);
if (_tZ1 > 0.0) {
continue;
}
if (_kd1._M02()) {
var _212 = new _3Z1();
_212._Fe1._IE1(_Ir1._Fe1);
_212._5U1._IE1(_Ir1._5U1);
_212._PU1 = _PU1;
var value = _BW1._312(_212, _Z02);
if (value == 0.0) {
return;
}
if (value > 0.0) {
_PU1 = value;
var _kZ1 = _iS1._Da1(_Fe1, _iS1.Multiply(_PU1, _iS1._pS1(_5U1, _Fe1)));
_112._RU1._IE1(_HT1(_Fe1, _kZ1));
_112._SU1._IE1(_JT1(_Fe1, _kZ1));
}
} else {
_2R1.push(_kd1._K02);
_2R1.push(_kd1._L02);
}
}
},
_WV1: function () {
this._412(this._N02);
this._512(this._N02);
var _612 = 0;
var _712 = this._R02;
while (_712 != _I02) {
_uR1(0 <= _712 && _712 < this._O02);
_712 = this._Q02[_712].parent;
++_612;
}
_uR1(this._LW1() == this._812());
_uR1(this._P02 + _612 == this._O02);
},
_LW1: function () {
if (this._N02 == _I02) {
return 0;
}
return this._Q02[this._N02].height;
},
_NW1: function () {
var _912 = 0;
for (var _X9 = 0; _X9 < this._O02; ++_X9) {
var _kd1 = this._Q02[_X9];
if (_kd1.height <= 1) {
continue;
}
_uR1(_kd1._M02() == !1);
var _K02 = _kd1._K02;
var _L02 = _kd1._L02;
var _a12 = _DT1(this._Q02[_L02].height - this._Q02[_K02].height);
_912 = _IT1(_912, _a12);
}
return _912;
},
_PW1: function () {
if (this._N02 == _I02) {
return 0.0;
}
var _v01 = this._Q02[this._N02];
var _b12 = _v01._zU1._aZ1();
var _c12 = 0.0;
for (var _X9 = 0; _X9 < this._O02; ++_X9) {
var _kd1 = this._Q02[_X9];
if (_kd1.height < 0) {
continue;
}
_c12 += _kd1._zU1._aZ1();
}
return _c12 / _b12;
},
_d12: function () {
var _e12 = new Array(this._P02);
var _d31 = 0;
for (var _X9 = 0; _X9 < this._O02; ++_X9) {
if (this._Q02[_X9].height < 0) {
continue;
}
if (this._Q02[_X9]._M02()) {
this._Q02[_X9].parent = _I02;
_e12[_d31] = _X9;
++_d31;
} else {
this._Y02(_X9);
}
}
while (_d31 > 1) {
var _f12 = _wR1;
var _g12 = -1,
_h12 = -1;
for (_X9 = 0; _X9 < _d31; ++_X9) {
var _i12 = this._Q02[_e12[_X9]]._zU1;
for (var _i21 = _X9 + 1; _i21 < _d31; ++_i21) {
var _j12 = this._Q02[_e12[_i21]]._zU1;
var _e21 = new _5Z1();
_e21._bZ1(_i12, _j12);
var _k12 = _e21._aZ1();
if (_k12 < _f12) {
_g12 = _X9;
_h12 = _i21;
_f12 = _k12;
}
}
}
var _l12 = _e12[_g12];
var _m12 = _e12[_h12];
var _K02 = this._Q02[_l12];
var _L02 = this._Q02[_m12];
var _n12 = this._V02();
var parent = this._Q02[_n12];
parent._K02 = _l12;
parent._L02 = _m12;
parent.height = 1 + _IT1(_K02.height, _L02.height);
parent._zU1._bZ1(_K02._zU1, _L02._zU1);
parent.parent = _I02;
_K02.parent = _n12;
_L02.parent = _n12;
_e12[_h12] = _e12[_d31 - 1];
_e12[_g12] = _n12;
--_d31;
}
this._N02 = _e12[0];
this._WV1();
}, /// @param newOrigin the new origin with respect to the old origin
_QW1: function (_RW1) {
for (var _X9 = 0; _X9 < this._O02; ++_X9) {
this._Q02[_X9]._zU1._RU1._pS1(_RW1);
this._Q02[_X9]._zU1._SU1._pS1(_RW1);
}
},
_V02: function () {
if (this._R02 == _I02) {
_uR1(this._P02 == this._O02);
var _o12 = this._Q02;
this._O02 *= 2;
this._Q02 = _o12.concat(new Array(this._O02 - this._P02));
for (var _X9 = this._P02; _X9 < this._O02 - 1; ++_X9) {
this._Q02[_X9] = new _J02();
this._Q02[_X9].parent = _X9 + 1;
this._Q02[_X9].height = -1;
}
this._Q02[this._O02 - 1] = new _J02();
this._Q02[this._O02 - 1].parent = _I02;
this._Q02[this._O02 - 1].height = -1;
this._R02 = this._P02;
}
var _Z02 = this._R02;
this._R02 = this._Q02[_Z02].parent;
this._Q02[_Z02].parent = _I02;
this._Q02[_Z02]._K02 = _I02;
this._Q02[_Z02]._L02 = _I02;
this._Q02[_Z02].height = 0;
this._Q02[_Z02]._lW1 = null;
++this._P02;
return _Z02;
},
_Y02: function (_Z02) {
_uR1(0 <= _Z02 && _Z02 < this._O02);
_uR1(0 < this._P02);
this._Q02[_Z02].parent = this._R02;
this._Q02[_Z02].height = -1;
this._R02 = _Z02;
--this._P02;
},
_W02: function (_p12) {
++this._T02;
if (this._N02 == _I02) {
this._N02 = _p12;
this._Q02[this._N02].parent = _I02;
return;
}
var _q12 = this._Q02[_p12]._zU1;
var index = this._N02;
while (this._Q02[index]._M02() == !1) {
var _K02 = this._Q02[index]._K02;
var _L02 = this._Q02[index]._L02;
var _KV1 = this._Q02[index]._zU1._aZ1();
var _r12 = new _5Z1();
_r12._bZ1(this._Q02[index]._zU1, _q12);
var _s12 = _r12._aZ1();
var _k12 = 2.0 * _s12;
var _t12 = 2.0 * (_s12 - _KV1);
var _u12;
var _zU1;
if (this._Q02[_K02]._M02()) {
_zU1 = new _5Z1();
_zU1._bZ1(_q12, this._Q02[_K02]._zU1);
_u12 = _zU1._aZ1() + _t12;
} else {
_zU1 = new _5Z1();
_zU1._bZ1(_q12, this._Q02[_K02]._zU1);
var _v12 = this._Q02[_K02]._zU1._aZ1();
var _w12 = _zU1._aZ1();
_u12 = _w12 - _v12 + _t12;
}
var _x12;
if (this._Q02[_L02]._M02()) {
_zU1 = new _5Z1();
_zU1._bZ1(_q12, this._Q02[_L02]._zU1);
_x12 = _zU1._aZ1() + _t12;
} else {
_zU1 = new _5Z1();
_zU1._bZ1(_q12, this._Q02[_L02]._zU1);
var _v12 = this._Q02[_L02]._zU1._aZ1();
var _w12 = _zU1._aZ1();
_x12 = _w12 - _v12 + _t12;
}
if (_k12 < _u12 && _k12 < _x12) {
break;
}
if (_u12 < _x12) {
index = _K02;
} else {
index = _L02;
}
}
var _y12 = index;
var _z12 = this._Q02[_y12].parent;
var _A12 = this._V02();
this._Q02[_A12].parent = _z12;
this._Q02[_A12]._lW1 = null;
this._Q02[_A12]._zU1._bZ1(_q12, this._Q02[_y12]._zU1);
this._Q02[_A12].height = this._Q02[_y12].height + 1;
if (_z12 != _I02) {
if (this._Q02[_z12]._K02 == _y12) {
this._Q02[_z12]._K02 = _A12;
} else {
this._Q02[_z12]._L02 = _A12;
}
this._Q02[_A12]._K02 = _y12;
this._Q02[_A12]._L02 = _p12;
this._Q02[_y12].parent = _A12;
this._Q02[_p12].parent = _A12;
} else {
this._Q02[_A12]._K02 = _y12;
this._Q02[_A12]._L02 = _p12;
this._Q02[_y12].parent = _A12;
this._Q02[_p12].parent = _A12;
this._N02 = _A12;
}
index = this._Q02[_p12].parent;
while (index != _I02) {
index = this._B12(index);
var _K02 = this._Q02[index]._K02;
var _L02 = this._Q02[index]._L02;
_uR1(_K02 != _I02);
_uR1(_L02 != _I02);
this._Q02[index].height = 1 + _IT1(this._Q02[_K02].height, this._Q02[_L02].height);
this._Q02[index]._zU1._bZ1(this._Q02[_K02]._zU1, this._Q02[_L02]._zU1);
index = this._Q02[index].parent;
}
},
_X02: function (_p12) {
if (_p12 == this._N02) {
this._N02 = _I02;
return;
}
var parent = this._Q02[_p12].parent;
var _C12 = this._Q02[parent].parent;
var _y12;
if (this._Q02[parent]._K02 == _p12) {
_y12 = this._Q02[parent]._L02;
} else {
_y12 = this._Q02[parent]._K02;
}
if (_C12 != _I02) {
if (this._Q02[_C12]._K02 == parent) {
this._Q02[_C12]._K02 = _y12;
} else {
this._Q02[_C12]._L02 = _y12;
}
this._Q02[_y12].parent = _C12;
this._Y02(parent);
var index = _C12;
while (index != _I02) {
index = this._B12(index);
var _K02 = this._Q02[index]._K02;
var _L02 = this._Q02[index]._L02;
this._Q02[index]._zU1._bZ1(this._Q02[_K02]._zU1, this._Q02[_L02]._zU1);
this._Q02[index].height = 1 + _IT1(this._Q02[_K02].height, this._Q02[_L02].height);
index = this._Q02[index].parent;
}
} else {
this._N02 = _y12;
this._Q02[_y12].parent = _I02;
this._Y02(parent);
}
},
_B12: function (_D12) {
_uR1(_D12 != _I02);
var _vR1 = this._Q02[_D12];
if (_vR1._M02() || _vR1.height < 2) {
return _D12;
}
var _E12 = _vR1._K02;
var _F12 = _vR1._L02;
_uR1(0 <= _E12 && _E12 < this._O02);
_uR1(0 <= _F12 && _F12 < this._O02);
var _FS1 = this._Q02[_E12];
var _zT1 = this._Q02[_F12];
var _a12 = _zT1.height - _FS1.height;
if (_a12 > 1) {
var _G12 = _zT1._K02;
var _H12 = _zT1._L02;
var _I12 = this._Q02[_G12];
var _J12 = this._Q02[_H12];
_uR1(0 <= _G12 && _G12 < this._O02);
_uR1(0 <= _H12 && _H12 < this._O02);
_zT1._K02 = _D12;
_zT1.parent = _vR1.parent;
_vR1.parent = _F12;
if (_zT1.parent != _I02) {
if (this._Q02[_zT1.parent]._K02 == _D12) {
this._Q02[_zT1.parent]._K02 = _F12;
} else {
_uR1(this._Q02[_zT1.parent]._L02 == _D12);
this._Q02[_zT1.parent]._L02 = _F12;
}
} else {
this._N02 = _F12;
}
if (_I12.height > _J12.height) {
_zT1._L02 = _G12;
_vR1._L02 = _H12;
_J12.parent = _D12;
_vR1._zU1._bZ1(_FS1._zU1, _J12._zU1);
_zT1._zU1._bZ1(_vR1._zU1, _I12._zU1);
_vR1.height = 1 + _IT1(_FS1.height, _J12.height);
_zT1.height = 1 + _IT1(_vR1.height, _I12.height);
} else {
_zT1._L02 = _H12;
_vR1._L02 = _G12;
_I12.parent = _D12;
_vR1._zU1._bZ1(_FS1._zU1, _I12._zU1);
_zT1._zU1._bZ1(_vR1._zU1, _J12._zU1);
_vR1.height = 1 + _IT1(_FS1.height, _I12.height);
_zT1.height = 1 + _IT1(_vR1.height, _J12.height);
}
return _F12;
}
if (_a12 < -1) {
var _K12 = _FS1._K02;
var _L12 = _FS1._L02;
var _OV1 = this._Q02[_K12];
var _M12 = this._Q02[_L12];
_uR1(0 <= _K12 && _K12 < this._O02);
_uR1(0 <= _L12 && _L12 < this._O02);
_FS1._K02 = _D12;
_FS1.parent = _vR1.parent;
_vR1.parent = _E12;
if (_FS1.parent != _I02) {
if (this._Q02[_FS1.parent]._K02 == _D12) {
this._Q02[_FS1.parent]._K02 = _E12;
} else {
_uR1(this._Q02[_FS1.parent]._L02 == _D12);
this._Q02[_FS1.parent]._L02 = _E12;
}
} else {
this._N02 = _E12;
}
if (_OV1.height > _M12.height) {
_FS1._L02 = _K12;
_vR1._K02 = _L12;
_M12.parent = _D12;
_vR1._zU1._bZ1(_zT1._zU1, _M12._zU1);
_FS1._zU1._bZ1(_vR1._zU1, _OV1._zU1);
_vR1.height = 1 + _IT1(_zT1.height, _M12.height);
_FS1.height = 1 + _IT1(_vR1.height, _OV1.height);
} else {
_FS1._L02 = _L12;
_vR1._K02 = _K12;
_OV1.parent = _D12;
_vR1._zU1._bZ1(_zT1._zU1, _OV1._zU1);
_FS1._zU1._bZ1(_vR1._zU1, _M12._zU1);
_vR1.height = 1 + _IT1(_zT1.height, _OV1.height);
_FS1.height = 1 + _IT1(_vR1.height, _M12.height);
}
return _E12;
}
return _D12;
},
_812: function (_Z02) {
if (typeof _Z02 === "undefined") _Z02 = this._N02;
_uR1(0 <= _Z02 && _Z02 < this._O02);
var _kd1 = this._Q02[_Z02];
if (_kd1._M02()) {
return 0;
}
var _N12 = this._812(_kd1._K02);
var _O12 = this._812(_kd1._L02);
return 1 + _IT1(_N12, _O12);
},
_412: function (index) {
if (index == _I02) {
return;
}
if (index == this._N02) {
_uR1(this._Q02[index].parent == _I02);
}
var _kd1 = this._Q02[index];
var _K02 = _kd1._K02;
var _L02 = _kd1._L02;
if (_kd1._M02()) {
_uR1(_K02 == _I02);
_uR1(_L02 == _I02);
_uR1(_kd1.height == 0);
return;
}
_uR1(0 <= _K02 && _K02 < this._O02);
_uR1(0 <= _L02 && _L02 < this._O02);
_uR1(this._Q02[_K02].parent == index);
_uR1(this._Q02[_L02].parent == index);
this._412(_K02);
this._412(_L02);
},
_512: function (index) {
if (index == _I02) {
return;
}
var _kd1 = this._Q02[index];
var _K02 = _kd1._K02;
var _L02 = _kd1._L02;
if (_kd1._M02()) {
_uR1(_K02 == _I02);
_uR1(_L02 == _I02);
_uR1(_kd1.height == 0);
return;
}
_uR1(0 <= _K02 && _K02 < this._O02);
_uR1(0 <= _L02 && _L02 < this._O02);
var _N12 = this._Q02[_K02].height;
var _O12 = this._Q02[_L02].height;
var height;
height = 1 + _IT1(_N12, _O12);
_uR1(_kd1.height == height);
var _zU1 = new _5Z1();
_zU1._bZ1(this._Q02[_K02]._zU1, this._Q02[_L02]._zU1);
_uR1(_iS1._xS1(_zU1._RU1, _kd1._zU1._RU1));
_uR1(_iS1._xS1(_zU1._SU1, _kd1._zU1._SU1));
this._512(_K02);
this._512(_L02);
},
};
function _P12() {
this._3X1 = new _TW1();
this._4X1 = new _TW1();
this._Q12 = new _4T1();
this._R12 = new _4T1();
this._S12 = 0;
}
function _T12() {
this.state = 0;
this._d21 = 0;
}
_T12._K_1 = 0;
_T12._U12 = 1;
_T12._V12 = 2;
_T12._W12 = 3;
_T12._X12 = 4;
function _Y12() {
this._Z12 = null;
this.__12 = null;
this._022 = null;
this._122 = null;
this._px1 = 0;
this._222 = new _iS1();
this._322 = new _iS1();
}
var _422 = new _2T1();
var _522 = new _2T1();
_Y12.prototype = {
_FY1: function (_c31, _3X1, _Q12, _4X1, _R12, _jZ1) {
this._Z12 = _3X1;
this.__12 = _4X1;
var _d31 = _c31._d31;
_uR1(0 < _d31 && _d31 < 3);
this._022 = _Q12;
this._122 = _R12;
this._022._aT1(_422, _jZ1);
this._122._aT1(_522, _jZ1);
if (_d31 == 1) {
this._px1 = _Y12._622;
var _722 = this._Z12._VU1(_c31._0X1[0]);
var _822 = this.__12._VU1(_c31._1X1[0]);
var _KY1 = _422._Yr1._Y9 * _722.x - _422._Yr1._Wo1 * _722.y + _422._ot1.x;
var _LY1 = _422._Yr1._Wo1 * _722.x + _422._Yr1._Y9 * _722.y + _422._ot1.y;
var _MY1 = _522._Yr1._Y9 * _822.x - _522._Yr1._Wo1 * _822.y + _522._ot1.x;
var _NY1 = _522._Yr1._Wo1 * _822.x + _522._Yr1._Y9 * _822.y + _522._ot1.y;
this._322.x = _MY1 - _KY1;
this._322.y = _NY1 - _LY1;
var _Wo1 = this._322._rS1();
return _Wo1;
} else if (_c31._0X1[0] == _c31._0X1[1]) {
this._px1 = _Y12._yY1;
var _922 = _4X1._VU1(_c31._1X1[0]);
var _a22 = _4X1._VU1(_c31._1X1[1]);
this._322.x = 1.0 * (_a22.y - _922.y);
this._322.y = -1.0 * (_a22.x - _922.x);
this._322._rS1();
var _k_1 = _522._Yr1._Y9 * this._322.x - _522._Yr1._Wo1 * this._322.y;
var _l_1 = _522._Yr1._Wo1 * this._322.x + _522._Yr1._Y9 * this._322.y;
this._222.x = 0.5 * (_922.x + _a22.x);
this._222.y = 0.5 * (_922.y + _a22.y);
var _MY1 = _522._Yr1._Y9 * this._222.x - _522._Yr1._Wo1 * this._222.y + _522._ot1.x;
var _NY1 = _522._Yr1._Wo1 * this._222.x + _522._Yr1._Y9 * this._222.y + _522._ot1.y;
var _722 = _3X1._VU1(_c31._0X1[0]);
var _KY1 = _422._Yr1._Y9 * _722.x - _422._Yr1._Wo1 * _722.y + _422._ot1.x;
var _LY1 = _422._Yr1._Wo1 * _722.x + _422._Yr1._Y9 * _722.y + _422._ot1.y;
var _Wo1 = (_KY1 - _MY1) * _k_1 + (_LY1 - _NY1) * _l_1;
if (_Wo1 < 0.0) {
this._322.x = -this._322.x;
this._322.y = -this._322.y;
_Wo1 = -_Wo1;
}
return _Wo1;
} else {
this._px1 = _Y12._xY1;
var _b22 = this._Z12._VU1(_c31._0X1[0]);
var _c22 = this._Z12._VU1(_c31._0X1[1]);
this._322.x = 1.0 * (_c22.y - _b22.y);
this._322.y = -1.0 * (_c22.x - _b22.x);
this._322._rS1();
var _k_1 = _422._Yr1._Y9 * this._322.x - _422._Yr1._Wo1 * this._322.y;
var _l_1 = _422._Yr1._Wo1 * this._322.x + _422._Yr1._Y9 * this._322.y;
this._222.x = 0.5 * (_b22.x + _c22.x);
this._222.y = 0.5 * (_b22.y + _c22.y);
var _KY1 = _422._Yr1._Y9 * this._222.x - _422._Yr1._Wo1 * this._222.y + _422._ot1.x;
var _LY1 = _422._Yr1._Wo1 * this._222.x + _422._Yr1._Y9 * this._222.y + _422._ot1.y;
var _822 = this.__12._VU1(_c31._1X1[0]);
var _MY1 = _522._Yr1._Y9 * _822.x - _522._Yr1._Wo1 * _822.y + _522._ot1.x;
var _NY1 = _522._Yr1._Wo1 * _822.x + _522._Yr1._Y9 * _822.y + _522._ot1.y;
var _Wo1 = (_MY1 - _KY1) * _k_1 + (_NY1 - _LY1) * _l_1;
if (_Wo1 < 0.0) {
this._322.x = -this._322.x;
this._322.y = -this._322.y;
_Wo1 = -_Wo1;
}
return _Wo1;
}
},
_d22: function (_n41, _d21) {
this._022._aT1(_422, _d21);
this._122._aT1(_522, _d21);
switch (this._px1) {
case _Y12._622: {
var _e22 = _422._Yr1._Y9 * this._322.x + _422._Yr1._Wo1 * this._322.y;
var _f22 = -_422._Yr1._Wo1 * this._322.x + _422._Yr1._Y9 * this._322.y;
var _g22 = _522._Yr1._Y9 * -this._322.x + _522._Yr1._Wo1 * -this._322.y;
var _h22 = -_522._Yr1._Wo1 * -this._322.x + _522._Yr1._Y9 * -this._322.y;
_n41[0] = this._Z12._TU1(_e22, _f22);
_n41[1] = this.__12._TU1(_g22, _h22);
var _722 = this._Z12._VU1(_n41[0]);
var _822 = this.__12._VU1(_n41[1]);
var _KY1 = _422._Yr1._Y9 * _722.x - _422._Yr1._Wo1 * _722.y + _422._ot1.x;
var _LY1 = _422._Yr1._Wo1 * _722.x + _422._Yr1._Y9 * _722.y + _422._ot1.y;
var _MY1 = _522._Yr1._Y9 * _822.x - _522._Yr1._Wo1 * _822.y + _522._ot1.x;
var _NY1 = _522._Yr1._Wo1 * _822.x + _522._Yr1._Y9 * _822.y + _522._ot1.y;
return (_MY1 - _KY1) * this._322.x + (_NY1 - _LY1) * this._322.y;
}
case _Y12._xY1: {
var _k_1 = _422._Yr1._Y9 * this._322.x - _422._Yr1._Wo1 * this._322.y;
var _l_1 = _422._Yr1._Wo1 * this._322.x + _422._Yr1._Y9 * this._322.y;
var _KY1 = _422._Yr1._Y9 * this._222.x - _422._Yr1._Wo1 * this._222.y + _422._ot1.x;
var _LY1 = _422._Yr1._Wo1 * this._222.x + _422._Yr1._Y9 * this._222.y + _422._ot1.y;
var _g22 = _522._Yr1._Y9 * -_k_1 + _522._Yr1._Wo1 * -_l_1;
var _h22 = -_522._Yr1._Wo1 * -_k_1 + _522._Yr1._Y9 * -_l_1;
_n41[0] = -1;
_n41[1] = this.__12._TU1(_g22, _h22);
var _822 = this.__12._VU1(_n41[1]);
var _MY1 = _522._Yr1._Y9 * _822.x - _522._Yr1._Wo1 * _822.y + _522._ot1.x;
var _NY1 = _522._Yr1._Wo1 * _822.x + _522._Yr1._Y9 * _822.y + _522._ot1.y;
return (_MY1 - _KY1) * _k_1 + (_NY1 - _LY1) * _l_1;
}
case _Y12._yY1: {
var _k_1 = _522._Yr1._Y9 * this._322.x - _522._Yr1._Wo1 * this._322.y;
var _l_1 = _522._Yr1._Wo1 * this._322.x + _522._Yr1._Y9 * this._322.y;
var _MY1 = _522._Yr1._Y9 * this._222.x - _522._Yr1._Wo1 * this._222.y + _522._ot1.x;
var _NY1 = _522._Yr1._Wo1 * this._222.x + _522._Yr1._Y9 * this._222.y + _522._ot1.y;
var _e22 = _422._Yr1._Y9 * -_k_1 + _422._Yr1._Wo1 * -_l_1;
var _h22 = -_422._Yr1._Wo1 * -_k_1 + _422._Yr1._Y9 * -_l_1;
_n41[1] = -1;
_n41[0] = this._Z12._TU1(_e22, _h22);
var _722 = this._Z12._VU1(_n41[0]);
var _KY1 = _422._Yr1._Y9 * _722.x - _422._Yr1._Wo1 * _722.y + _422._ot1.x;
var _LY1 = _422._Yr1._Wo1 * _722.x + _422._Yr1._Y9 * _722.y + _422._ot1.y;
return (_KY1 - _MY1) * _k_1 + (_LY1 - _NY1) * _l_1;
}
default:
_uR1(!1);
_n41[0] = -1;
_n41[1] = -1;
return 0.0;
}
},
_i22: function (_0X1, _1X1, _d21) {
this._022._aT1(_422, _d21);
this._122._aT1(_522, _d21);
switch (this._px1) {
case _Y12._622: {
var _722 = this._Z12._VU1(_0X1);
var _822 = this.__12._VU1(_1X1);
var _KY1 = _422._Yr1._Y9 * _722.x - _422._Yr1._Wo1 * _722.y + _422._ot1.x;
var _LY1 = _422._Yr1._Wo1 * _722.x + _422._Yr1._Y9 * _722.y + _422._ot1.y;
var _MY1 = _522._Yr1._Y9 * _822.x - _522._Yr1._Wo1 * _822.y + _522._ot1.x;
var _NY1 = _522._Yr1._Wo1 * _822.x + _522._Yr1._Y9 * _822.y + _522._ot1.y;
var _tZ1 = (_MY1 - _KY1) * this._322.x + (_NY1 - _LY1) * this._322.y;
return _tZ1;
}
case _Y12._xY1: {
var _k_1 = _422._Yr1._Y9 * this._322.x - _422._Yr1._Wo1 * this._322.y;
var _l_1 = _422._Yr1._Wo1 * this._322.x + _422._Yr1._Y9 * this._322.y;
var _KY1 = _422._Yr1._Y9 * this._222.x - _422._Yr1._Wo1 * this._222.y + _422._ot1.x;
var _LY1 = _422._Yr1._Wo1 * this._222.x + _422._Yr1._Y9 * this._222.y + _422._ot1.y;
var _822 = this.__12._VU1(_1X1);
var _MY1 = _522._Yr1._Y9 * _822.x - _522._Yr1._Wo1 * _822.y + _522._ot1.x;
var _NY1 = _522._Yr1._Wo1 * _822.x + _522._Yr1._Y9 * _822.y + _522._ot1.y;
var _tZ1 = (_MY1 - _KY1) * _k_1 + (_NY1 - _LY1) * _l_1;
return _tZ1;
}
case _Y12._yY1: {
var _k_1 = _522._Yr1._Y9 * this._322.x - _522._Yr1._Wo1 * this._322.y;
var _l_1 = _522._Yr1._Wo1 * this._322.x + _522._Yr1._Y9 * this._322.y;
var _MY1 = _522._Yr1._Y9 * this._222.x - _522._Yr1._Wo1 * this._222.y + _522._ot1.x;
var _NY1 = _522._Yr1._Wo1 * this._222.x + _522._Yr1._Y9 * this._222.y + _522._ot1.y;
var _722 = this._Z12._VU1(_0X1);
var _KY1 = _422._Yr1._Y9 * _722.x - _422._Yr1._Wo1 * _722.y + _422._ot1.x;
var _LY1 = _422._Yr1._Wo1 * _722.x + _422._Yr1._Y9 * _722.y + _422._ot1.y;
var _tZ1 = (_KY1 - _MY1) * _k_1 + (_LY1 - _NY1) * _l_1;
return _tZ1;
}
default:
_uR1(!1);
return 0.0;
}
},
};
_Y12._622 = 0;
_Y12._xY1 = 1;
_Y12._yY1 = 2;
var _j22 = _cR1._nR1("toi", "solveTOI");
function _k22(_Kr1, _Ir1) {
_j22.start();
++_k22._l22;
_Kr1.state = _T12._K_1;
_Kr1._d21 = _Ir1._S12;
var _3X1 = _Ir1._3X1;
var _4X1 = _Ir1._4X1;
_k22._m22._IE1(_Ir1._Q12);
_k22._n22._IE1(_Ir1._R12);
_k22._m22._rS1();
_k22._n22._rS1();
var _S12 = _Ir1._S12;
var _2_1 = _3X1._sU1 + _4X1._sU1;
var target = _IT1(_DR1, _2_1 - 3.0 * _DR1);
var _o22 = 0.25 * _DR1;
_uR1(target > _o22);
var _jZ1 = 0.0;
var _p22 = 20;
var _sL1 = 0;
var _c31 = new _ZW1();
_c31._d31 = 0;
var _q22 = new _2X1();
_q22._3X1._IE1(_Ir1._3X1);
_q22._4X1._IE1(_Ir1._4X1);
_q22._7X1 = !1;
for (;;) {
_k22._m22._aT1(_q22._5X1, _jZ1);
_k22._n22._aT1(_q22._6X1, _jZ1);
var _r22 = new _8X1();
_1Y1(_r22, _c31, _q22);
if (_r22._EU1 <= 0.0) {
_Kr1.state = _T12._V12;
_Kr1._d21 = 0.0;
break;
}
if (_r22._EU1 < target + _o22) {
_Kr1.state = _T12._W12;
_Kr1._d21 = _jZ1;
break;
}
var _s22 = new _Y12();
_s22._FY1(_c31, _3X1, _k22._m22, _4X1, _k22._n22, _jZ1);
var _t22 = !1;
var _kZ1 = _S12;
var _u22 = 0;
for (;;) {
var _n41 = [];
var _Lm1 = _s22._d22(_n41, _kZ1);
if (_Lm1 > target + _o22) {
_Kr1.state = _T12._X12;
_Kr1._d21 = _S12;
_t22 = !0;
break;
}
if (_Lm1 > target - _o22) {
_jZ1 = _kZ1;
break;
}
var _Km1 = _s22._i22(_n41[0], _n41[1], _jZ1);
if (_Km1 < target - _o22) {
_Kr1.state = _T12._U12;
_Kr1._d21 = _jZ1;
_t22 = !0;
break;
}
if (_Km1 <= target + _o22) {
_Kr1.state = _T12._W12;
_Kr1._d21 = _jZ1;
_t22 = !0;
break;
}
var _v22 = 0;
var _LM1 = _jZ1,
_MM1 = _kZ1;
for (;;) {
var _d21;
if (_v22 & 1) {
_d21 = _LM1 + ((target - _Km1) * (_MM1 - _LM1)) / (_Lm1 - _Km1);
} else {
_d21 = 0.5 * (_LM1 + _MM1);
}
++_v22;
++_k22._w22;
var _Wo1 = _s22._i22(_n41[0], _n41[1], _d21);
if (_DT1(_Wo1 - target) < _o22) {
_kZ1 = _d21;
break;
}
if (_Wo1 > target) {
_LM1 = _d21;
_Km1 = _Wo1;
} else {
_MM1 = _d21;
_Lm1 = _Wo1;
}
if (_v22 == 50) {
break;
}
}
_k22._x22 = _IT1(_k22._x22, _v22);
++_u22;
if (_u22 == _AR1) {
break;
}
}
++_sL1;
++_k22._y22;
if (_t22) {
break;
}
if (_sL1 == _p22) {
_Kr1.state = _T12._U12;
_Kr1._d21 = _jZ1;
break;
}
}
_k22._z22 = _IT1(_k22._z22, _sL1);
_j22.stop();
_k22._A22 = _IT1(_k22._A22, _j22._gR1);
_k22._B22 += _j22._gR1;
}
_k22._m22 = new _4T1();
_k22._n22 = new _4T1();
_k22._B22 = 0;
_k22._A22 = 0;
_k22._l22 = 0;
_k22._y22 = 0;
_k22._z22 = 0;
_k22._w22 = 0;
_k22._x22 = 0;
function _C22() {
this.type = _D22._E22;
this.position = new _iS1(0.0, 0.0);
this.angle = 0.0;
this._F22 = new _iS1(0.0, 0.0);
this._G22 = 0.0;
this._H22 = 0.0;
this._I22 = 0.0;
this._J22 = !0;
this._K22 = !0;
this._L22 = !1; /// @warning You should use this flag sparingly since it increases processing time.
this._M22 = !1;
this._cl = !0;
this._lW1 = null;
this._N22 = 1.0;
Object.seal(this);
}
_C22.prototype = {
_wS1: function (data) {
this.type = data["type"];
this.position._wS1(data["position"]);
this.angle = data["angle"];
this._F22._wS1(data["linearVelocity"]);
this._G22 = data["angularVelocity"];
this._H22 = data["linearDamping"];
this._I22 = data["angularDamping"];
this._J22 = data["allowSleep"];
this._K22 = data["awake"];
this._L22 = data["fixedRotation"];
this._M22 = data["bullet"];
this._cl = data["active"];
this._N22 = data["gravityScale"];
},
};
function _D22(_O22, _P22) {
_uR1(_O22.position._tS1());
_uR1(_O22._F22._tS1());
_uR1(_8S1(_O22.angle));
_uR1(_8S1(_O22._G22));
_uR1(_8S1(_O22._I22) && _O22._I22 >= 0.0);
_uR1(_8S1(_O22._H22) && _O22._H22 >= 0.0);
this._Q22 = 0;
this._R22 = 0;
if (_O22._M22) {
this._R22 |= _D22._S22;
}
if (_O22._L22) {
this._R22 |= _D22._T22;
}
if (_O22._J22) {
this._R22 |= _D22._U22;
}
if (_O22._K22) {
this._R22 |= _D22._V22;
}
if (_O22._cl) {
this._R22 |= _D22._W22;
}
this._X22 = _P22;
this._T_1 = new _2T1();
this._T_1._ot1._IE1(_O22.position);
this._T_1._Yr1._sc1(_O22.angle);
this._Y22 = new _2T1();
this._Y22._IE1(this._T_1);
this._Z22 = new _4T1();
this._Z22._5T1._jS1();
this._Z22._6T1._IE1(this._T_1._ot1);
this._Z22._Y9._IE1(this._T_1._ot1);
this._Z22._8T1 = _O22.angle;
this._Z22._l41 = _O22.angle;
this._Z22._9T1 = 0.0;
this.__22 = null;
this._032 = null;
this._132 = null;
this._232 = null;
this._332 = _O22._F22._b01();
this._432 = _O22._G22;
this._532 = _O22._H22;
this._632 = _O22._I22;
this._732 = _O22._N22;
this._832 = new _iS1();
this._932 = 0.0;
this._a32 = 0.0;
this._px1 = _O22.type;
if (this._px1 == _D22._b32) {
this._c32 = 1.0;
this._d32 = 1.0;
} else {
this._c32 = 0.0;
this._d32 = 0.0;
}
this._e32 = 0.0;
this._f32 = 0.0;
this._g32 = _O22._lW1;
this._h32 = null;
this._i32 = 0;
}
_D22._E22 = 0;
_D22._j32 = 1;
_D22._b32 = 2;
_D22._k32 = 0x0001;
_D22._V22 = 0x0002;
_D22._U22 = 0x0004;
_D22._S22 = 0x0008;
_D22._T22 = 0x0010;
_D22._W22 = 0x0020;
_D22._l32 = 0x0040;
_D22._m32 = new _iS1();
_D22._n32 = new _2T1();
_D22.prototype = {
/// @param def the fixture definition.
/// @warning This function is locked during callbacks.
_o32: function (_p32, _CU1) {
if (typeof _CU1 !== "undefined") {
var _q32 = new _r32();
_q32._NU1 = _p32;
_q32._CU1 = _CU1;
return this._o32(_q32);
}
_uR1(this._X22._s32() == !1);
if (this._X22._s32() == !0) {
return null;
}
var _2F1 = new _t32();
_2F1._u32(this, _p32);
if (this._R22 & _D22._W22) {
var _v32 = this._X22._w32._x32;
_2F1._y32(_v32, this._T_1);
}
_2F1._232 = this._h32;
this._h32 = _2F1;
++this._i32;
_2F1._z32 = this;
if (_2F1._A32 > 0.0) {
this._B32();
}
this._X22._R22 |= _C32._D32;
return _2F1;
}, /// @param fixture the fixture to be removed.
/// @warning This function is locked during callbacks.
_E32: function (_2F1) {
_uR1(this._X22._s32() == !1);
if (this._X22._s32() == !0) {
return;
}
_uR1(_2F1._z32 == this);
_uR1(this._i32 > 0);
var _kd1 = this._h32;
var _4o1 = !1;
while (_kd1 != null) {
if (_kd1 == _2F1) {
this._h32 = _kd1 = _2F1._232;
_4o1 = !0;
break;
}
_kd1 = _kd1._232;
}
_uR1(_4o1);
var _pV1 = this._032;
while (_pV1) {
var _Y9 = _pV1._F32;
_pV1 = _pV1._Vc1;
var _G32 = _Y9._H32();
var _I32 = _Y9._J32();
if (_2F1 == _G32 || _2F1 == _I32) {
this._X22._w32._K32(_Y9);
}
}
if (this._R22 & _D22._W22) {
var _v32 = this._X22._w32._x32;
_2F1._L32(_v32);
}
_2F1._K32();
_2F1._z32 = null;
_2F1._232 = null;
--this._i32;
this._B32();
}, /// @param position the world position of the body's local origin.
/// @param angle the world rotation in radians.
_M32: function (position, angle) {
_uR1(this._X22._s32() == !1);
if (this._X22._s32() == !0) {
return;
}
this._T_1._Yr1._sc1(angle);
this._T_1._ot1._IE1(position);
this._Y22._IE1(this._T_1);
this._Z22._Y9._IE1(_vT1(this._T_1, this._Z22._5T1));
this._Z22._l41 = angle;
this._Z22._6T1._IE1(this._Z22._Y9);
this._Z22._8T1 = angle;
var _v32 = this._X22._w32._x32;
for (var _xp1 = this._h32; _xp1; _xp1 = _xp1._232) {
_xp1._N32(_v32, this._T_1, this._T_1);
}
}, /// @return the world transform of the body's origin.
_aT1: function () {
return this._T_1;
}, /// @return the world position of the body's origin.
_RE1: function () {
return this._T_1._ot1;
}, /// @return the current world rotation angle in radians.
__S1: function () {
return this._Z22._l41;
},
_O32: function () {
return this._Z22._Y9;
},
_P32: function () {
return this._Z22._5T1;
}, /// @param v the new linear velocity of the center of mass.
_Q32: function (_J41) {
if (this._px1 == _D22._E22) {
return;
}
if (_eT1(_J41, _J41) > 0.0) {
this._qF1(!0);
}
this._332 = _J41;
}, /// @return the linear velocity of the center of mass.
_R32: function () {
return this._332;
}, /// @param omega the new angular velocity in radians/second.
_S32: function (_Z9) {
if (this._px1 == _D22._E22) {
return;
}
if (_Z9 * _Z9 > 0.0) {
this._qF1(!0);
}
this._432 = _Z9;
}, /// @return the angular velocity in radians/second.
_T32: function () {
return this._432;
}, /// @param force the world force vector, usually in Newtons (N).
/// @param point the world position of the point of application.
/// @param wake also wake up the body
_U32: function (_V32, _rY1, _W32) {
if (this._px1 != _D22._b32) {
return;
}
if (_W32 && (this._R22 & _D22._V22) == 0) {
this._qF1(!0);
}
if (this._R22 & _D22._V22) {
this._832._Da1(_V32);
this._932 += _fT1(_iS1._pS1(_rY1, this._Z22._Y9), _V32);
}
}, /// @param force the world force vector, usually in Newtons (N).
/// @param wake also wake up the body
_X32: function (_V32, _W32) {
if (this._px1 != _D22._b32) {
return;
}
if (_W32 && (this._R22 & _D22._V22) == 0) {
this._qF1(!0);
}
if (this._R22 & _D22._V22) {
this._832._Da1(_V32);
}
}, /// @param torque about the z-axis (out of the screen), usually in N-m.
/// @param wake also wake up the body
_Y32: function (_Z32, _W32) {
if (this._px1 != _D22._b32) {
return;
}
if (_W32 && (this._R22 & _D22._V22) == 0) {
this._qF1(!0);
}
if (this._R22 & _D22._V22) {
this._932 += _Z32;
}
}, /// @param impulse the world impulse vector, usually in N-seconds or kg-m/s.
/// @param point the world position of the point of application.
/// @param wake also wake up the body
__32: function (_042, _rY1, _W32) {
if (this._px1 != _D22._b32) {
return;
}
if (_W32 && (this._R22 & _D22._V22) == 0) {
this._qF1(!0);
}
if (this._R22 & _D22._V22) {
this._332._Da1(_iS1.Multiply(this._d32, _042));
this._432 += this._f32 * _fT1(_iS1._pS1(_rY1, this._Z22._Y9), _042);
}
}, /// @param impulse the angular impulse in units of kg*m*m/s
/// @param wake also wake up the body
_142: function (_042, _W32) {
if (this._px1 != _D22._b32) {
return;
}
if (_W32 && (this._R22 & _D22._V22) == 0) {
this._qF1(!0);
}
if (this._R22 & _D22._V22) {
this._432 += this._f32 * _042;
}
}, /// @return the mass, usually in kilograms (kg).
_242: function () {
return this._c32;
}, /// @return the rotational inertia, usually in kg-m^2.
_342: function () {
return this._e32 + this._c32 * _eT1(this._Z22._5T1, this._Z22._5T1);
}, /// @return a struct containing the mass, inertia and center of the body.
_442: function (data) {
data._pU1 = this._c32;
data._qU1 = this._e32 + this._c32 * _eT1(this._Z22._5T1, this._Z22._5T1);
data._1U1 = this._Z22._5T1;
}, /// @param massData the mass properties.
_542: function (_BU1) {
_uR1(this._X22._s32() == !1);
if (this._X22._s32() == !0) {
return;
}
if (this._px1 != _D22._b32) {
return;
}
this._d32 = 0.0;
this._e32 = 0.0;
this._f32 = 0.0;
this._c32 = _BU1._pU1;
if (this._c32 <= 0.0) {
this._c32 = 1.0;
}
this._d32 = 1.0 / this._c32;
if (_BU1._qU1 > 0.0 && (this._R22 & _D22._T22) == 0) {
this._e32 = _BU1._qU1 - this._c32 * _eT1(_BU1._1U1, _BU1._1U1);
_uR1(this._e32 > 0.0);
this._f32 = 1.0 / this._e32;
}
_D22._m32._IE1(this._Z22._Y9);
this._Z22._5T1._IE1(_BU1._1U1);
this._Z22._6T1._IE1(_vT1(this._T_1, this._Z22._5T1));
this._Z22._Y9._IE1(this._Z22._6T1);
this._332._Da1(_hT1(this._432, _iS1._pS1(this._Z22._Y9, _D22._m32)));
},
_B32: function () {
this._c32 = 0.0;
this._d32 = 0.0;
this._e32 = 0.0;
this._f32 = 0.0;
this._Z22._5T1._jS1();
if (this._px1 == _D22._E22 || this._px1 == _D22._j32) {
this._Z22._6T1._IE1(this._T_1._ot1);
this._Z22._Y9._IE1(this._T_1._ot1);
this._Z22._8T1 = this._Z22._l41;
return;
}
_uR1(this._px1 == _D22._b32);
var _5T1 = new _iS1(0, 0);
for (var _xp1 = this._h32; _xp1; _xp1 = _xp1._232) {
if (_xp1._A32 == 0.0) {
continue;
}
var _BU1 = new _oU1();
_xp1._442(_BU1);
this._c32 += _BU1._pU1;
_5T1._Da1(_iS1.Multiply(_BU1._pU1, _BU1._1U1));
this._e32 += _BU1._qU1;
}
if (this._c32 > 0.0) {
this._d32 = 1.0 / this._c32;
_5T1.Multiply(this._d32);
} else {
this._c32 = 1.0;
this._d32 = 1.0;
}
if (this._e32 > 0.0 && (this._R22 & _D22._T22) == 0) {
this._e32 -= this._c32 * _eT1(_5T1, _5T1);
_uR1(this._e32 > 0.0);
this._f32 = 1.0 / this._e32;
} else {
this._e32 = 0.0;
this._f32 = 0.0;
}
_D22._m32._IE1(this._Z22._Y9);
this._Z22._5T1._IE1(_5T1);
this._Z22._6T1._IE1(_vT1(this._T_1, this._Z22._5T1));
this._Z22._Y9._IE1(this._Z22._6T1);
this._332._Da1(_hT1(this._432, _iS1._pS1(this._Z22._Y9, _D22._m32)));
}, /// @param localPoint a point on the body measured relative the the body's origin.
/// @return the same point expressed in world coordinates.
_642: function (_oY1) {
return _vT1(this._T_1, _oY1);
}, /// @param localVector a vector fixed in the body.
/// @return the same vector expressed in world coordinates.
_742: function (_842) {
return _tT1(this._T_1._Yr1, _842);
}, /// @param a point in world coordinates.
/// @return the corresponding local point relative to the body's origin.
_942: function (_a42) {
return _xT1(this._T_1, _a42);
}, /// @param a vector in world coordinates.
/// @return the corresponding local vector.
_b42: function (_c42) {
return _uT1(this._T_1._Yr1, _c42);
}, /// @param a point in world coordinates.
/// @return the world velocity of a point.
_d42: function (_a42) {
return _iS1._Da1(this._332, _hT1(this._432, _iS1._pS1(_a42, this._Z22._Y9)));
}, /// @param a point in local coordinates.
/// @return the world velocity of a point.
_e42: function (_oY1) {
return this._d42(this._642(_oY1));
},
_f42: function () {
return this._532;
},
_lF1: function (_H22) {
this._532 = _H22;
},
_g42: function () {
return this._632;
},
_nF1: function (_I22) {
this._632 = _I22;
},
_h42: function () {
return this._732;
},
_i42: function (scale) {
this._732 = scale;
},
_j42: function (type) {
_uR1(this._X22._s32() == !1);
if (this._X22._s32() == !0) {
return;
}
if (this._px1 == type) {
return;
}
this._px1 = type;
this._B32();
if (this._px1 == _D22._E22) {
this._332._jS1();
this._432 = 0.0;
this._Z22._8T1 = this._Z22._l41;
this._Z22._6T1._IE1(this._Z22._Y9);
this._k42();
}
this._qF1(!0);
this._832._jS1();
this._932 = 0.0;
var _l42 = this._032;
while (_l42) {
var _m42 = _l42;
_l42 = _l42._Vc1;
this._X22._w32._K32(_m42._F32);
}
this._032 = null;
var _v32 = this._X22._w32._x32;
for (var _xp1 = this._h32; _xp1; _xp1 = _xp1._232) {
var _n42 = _xp1._fW1;
for (var _X9 = 0; _X9 < _n42; ++_X9) {
_v32._sW1(_xp1._o42[_X9]._mW1);
}
}
},
_tU1: function () {
return this._px1;
},
_p42: function (_q42) {
if (_q42) {
this._R22 |= _D22._S22;
} else {
this._R22 &= ~_D22._S22;
}
},
_r42: function () {
return (this._R22 & _D22._S22) == _D22._S22;
},
_s42: function (_q42) {
if (_q42) {
this._R22 |= _D22._U22;
} else {
this._R22 &= ~_D22._U22;
this._qF1(!0);
}
},
_t42: function () {
return (this._R22 & _D22._U22) == _D22._U22;
}, /// @param flag set to true to wake the body, false to put it to sleep.
_qF1: function (_q42) {
if (_q42) {
if ((this._R22 & _D22._V22) == 0) {
this._R22 |= _D22._V22;
this._a32 = 0.0;
}
} else {
this._R22 &= ~_D22._V22;
this._a32 = 0.0;
this._332._jS1();
this._432 = 0.0;
this._832._jS1();
this._932 = 0.0;
}
}, /// @return true if the body is awake.
_u42: function () {
return (this._R22 & _D22._V22) == _D22._V22;
},
_v42: function (_q42) {
_uR1(this._X22._s32() == !1);
if (_q42 == this._w42()) {
return;
}
if (_q42) {
this._R22 |= _D22._W22;
var _v32 = this._X22._w32._x32;
for (var _xp1 = this._h32; _xp1; _xp1 = _xp1._232) {
_xp1._y32(_v32, this._T_1);
}
} else {
this._R22 &= ~_D22._W22;
var _v32 = this._X22._w32._x32;
for (var _xp1 = this._h32; _xp1; _xp1 = _xp1._232) {
_xp1._L32(_v32);
}
var _l42 = this._032;
while (_l42) {
var _m42 = _l42;
_l42 = _l42._Vc1;
this._X22._w32._K32(_m42._F32);
}
this._032 = null;
}
},
_w42: function () {
return (this._R22 & _D22._W22) == _D22._W22;
},
_x42: function (_q42) {
var status = (this._R22 & _D22._T22) == _D22._T22;
if (status == _q42) {
return;
}
if (_q42) {
this._R22 |= _D22._T22;
} else {
this._R22 &= ~_D22._T22;
}
this._432 = 0.0;
this._B32();
},
_y42: function () {
return (this._R22 & _D22._T22) == _D22._T22;
},
_z42: function () {
return this._h32;
},
_A42: function () {
return this.__22;
}, /// @warning this list changes during the time step and you may
_B42: function () {
return this._032;
},
_C42: function () {
return this._232;
},
_uW1: function () {
return this._g32;
},
_D42: function (data) {
this._g32 = data;
},
_E42: function () {
return this._X22;
},
_k42: function () {
_D22._n32._Yr1._sc1(this._Z22._8T1);
_D22._n32._ot1._IE1(_iS1._pS1(this._Z22._6T1, _tT1(_D22._n32._Yr1, this._Z22._5T1)));
var _v32 = this._X22._w32._x32;
for (var _xp1 = this._h32; _xp1; _xp1 = _xp1._232) {
_xp1._N32(_v32, _D22._n32, this._T_1);
}
},
_F42: function () {
this._T_1._Yr1._sc1(this._Z22._l41);
this._T_1._ot1._IE1(_iS1._pS1(this._Z22._Y9, _tT1(this._T_1._Yr1, this._Z22._5T1)));
},
_G42: function (_6Z1) {
if (this._px1 != _D22._b32 && _6Z1._px1 != _D22._b32) {
return !1;
}
for (var _H42 = this.__22; _H42; _H42 = _H42._Vc1) {
if (_H42._6Z1 == _6Z1) {
if (_H42._I42._J42 == !1) {
return !1;
}
}
}
return !0;
},
_cT1: function (alpha) {
this._Z22._cT1(alpha);
this._Z22._Y9._IE1(this._Z22._6T1);
this._Z22._l41 = this._Z22._8T1;
this._T_1._Yr1._sc1(this._Z22._l41);
this._T_1._ot1._IE1(_iS1._pS1(this._Z22._Y9, _tT1(this._T_1._Yr1, this._Z22._5T1)));
},
_vS1: function (out) {
var _cq1 = out || {};
_cq1["fixtures"] = null;
_cq1["type"] = this._px1;
_cq1["position"] = this._RE1()._vS1();
_cq1["angle"] = this.__S1();
_cq1["linearVelocity"] = this._R32()._vS1();
_cq1["angularVelocity"] = this._T32();
_cq1["linearDamping"] = this._f42();
_cq1["angularDamping"] = this._g42();
_cq1["allowSleep"] = this._t42();
_cq1["awake"] = this._u42();
_cq1["fixedRotation"] = this._y42();
_cq1["bullet"] = this._r42();
_cq1["active"] = this._w42();
_cq1["gravityScale"] = this._h42();
return _cq1;
},
};
function _K42() {
this._L42 = 0x0001;
this._M42 = 0xffff;
this._N42 = 0;
}
_K42.prototype = {
_b01: function () {
var _ph1 = new _K42();
_ph1._L42 = this._L42;
_ph1._M42 = this._M42;
_ph1._N42 = this._N42;
return _ph1;
},
_IE1: function (_ph1) {
this._L42 = _ph1._L42;
this._M42 = _ph1._M42;
this._N42 = _ph1._N42;
},
_vS1: function (out) {
var _cq1 = out || {};
_cq1["categoryBits"] = this._L42;
_cq1["maskBits"] = this._M42;
_cq1["groupIndex"] = this._N42;
return _cq1;
},
_wS1: function (data) {
this._L42 = data["categoryBits"];
this._M42 = data["maskBits"];
this._N42 = data["groupIndex"];
},
};
function _r32() {
this._NU1 = null;
this._lW1 = null;
this._O42 = 0.2;
this._P42 = 0.0;
this._CU1 = 0.0;
this._Q42 = !1;
this._ph1 = new _K42();
Object.seal(this);
}
_r32.prototype = {
_wS1: function (data) {
this._O42 = data["friction"];
this._P42 = data["restitution"];
this._CU1 = data["density"];
this._Q42 = data["isSensor"];
this._ph1._wS1(data["filter"]);
},
};
function _R42() {
this._zU1 = new _5Z1();
this._2F1 = null;
this._xU1 = 0;
this._mW1 = 0;
} /// @warning you cannot reuse fixtures.
function _t32() {
this._g32 = null;
this._z32 = null;
this._232 = null;
this._o42 = null;
this._fW1 = 0;
this._S42 = null;
this._A32 = 0.0;
this._T42 = new _K42();
this._U42 = !1;
this._V42 = 0;
this._W42 = 0;
}
_t32.prototype = {
/// @return the shape type.
_tU1: function () {
return this._S42._tU1();
},
_X42: function () {
return this._S42;
},
_iF1: function (_Y42) {
if (_Y42 != this._U42) {
this._z32._qF1(!0);
this._U42 = _Y42;
}
}, /// @return the true if the shape is a sensor.
_Z42: function () {
return this._U42;
},
__42: function (_ph1) {
this._T42 = _ph1;
this._052();
},
_152: function () {
return this._T42;
},
_052: function () {
if (this._z32 == null) {
return;
}
var _pV1 = this._z32._B42();
while (_pV1) {
var _F32 = _pV1._F32;
var _G32 = _F32._H32();
var _I32 = _F32._J32();
if (_G32 == this || _I32 == this) {
_F32._252();
}
_pV1 = _pV1._Vc1;
}
var _P22 = this._z32._E42();
if (_P22 == null) {
return;
}
var _v32 = _P22._w32._x32;
for (var _X9 = 0; _X9 < this._fW1; ++_X9) {
_v32._sW1(this._o42[_X9]._mW1);
}
}, /// @return the parent body.
_352: function () {
return this._z32;
}, /// @return the next shape.
_C42: function () {
return this._232;
},
_uW1: function () {
return this._g32;
},
_D42: function (data) {
this._g32 = data;
}, /// @param p a point in world coordinates.
_vU1: function (_ot1) {
return this._S42._vU1(this._z32._aT1(), _ot1);
}, /// @param output the ray-cast results.
/// @param input the ray-cast input parameters.
_wU1: function (_Kr1, _Ir1, _xU1) {
return this._S42._wU1(_Kr1, _Ir1, this._z32._aT1(), _xU1);
},
_442: function (_BU1) {
this._S42._AU1(_BU1, this._A32);
},
_6F1: function (_CU1) {
_uR1(_8S1(_CU1) && _CU1 >= 0.0);
this._A32 = _CU1;
},
_452: function () {
return this._A32;
},
_552: function () {
return this._V42;
},
_cF1: function (_O42) {
this._V42 = _O42;
},
_652: function () {
return this._W42;
},
_9F1: function (_P42) {
this._W42 = _P42;
},
_752: function (_xU1) {
_uR1(0 <= _xU1 && _xU1 < this._fW1);
return this._o42[_xU1]._zU1;
},
_u32: function (body, _p32) {
this._g32 = _p32._lW1;
this._V42 = _p32._O42;
this._W42 = _p32._P42;
this._z32 = body;
this._232 = null;
this._T42._IE1(_p32._ph1);
this._U42 = _p32._Q42;
this._S42 = _p32._NU1._b01();
var _852 = this._S42._uU1();
this._o42 = new Array(_852);
for (var _X9 = 0; _X9 < _852; ++_X9) {
this._o42[_X9] = new _R42();
this._o42[_X9]._2F1 = null;
this._o42[_X9]._mW1 = _bW1._CW1;
}
this._fW1 = 0;
this._A32 = _p32._CU1;
},
_K32: function () {
_uR1(this._fW1 == 0);
this._o42 = null;
this._S42 = null;
},
_y32: function (_v32, _3T1) {
_uR1(this._fW1 == 0);
this._fW1 = this._S42._uU1();
for (var _X9 = 0; _X9 < this._fW1; ++_X9) {
var _952 = this._o42[_X9];
this._S42._yU1(_952._zU1, _3T1, _X9);
_952._mW1 = _v32._kW1(_952._zU1, _952);
_952._2F1 = this;
_952._xU1 = _X9;
}
},
_L32: function (_v32) {
for (var _X9 = 0; _X9 < this._fW1; ++_X9) {
var _952 = this._o42[_X9];
_v32._oW1(_952._mW1);
_952._mW1 = _bW1._CW1;
}
this._fW1 = 0;
},
_N32: function (_v32, _a52, _b52) {
if (this._fW1 == 0) {
return;
}
for (var _X9 = 0; _X9 < this._fW1; ++_X9) {
var _952 = this._o42[_X9];
var _cZ1 = new _5Z1(),
_dZ1 = new _5Z1();
this._S42._yU1(_cZ1, _a52, _952._xU1);
this._S42._yU1(_dZ1, _b52, _952._xU1);
_952._zU1._bZ1(_cZ1, _dZ1);
var _rW1 = _iS1._pS1(_b52._ot1, _a52._ot1);
_v32._qW1(_952._mW1, _952._zU1, _rW1);
}
},
_DU1: function (_ot1, _Ce1, _W11, _xU1) {
this._S42._DU1(this._z32._aT1(), _ot1, _Ce1, _W11, _xU1);
},
_vS1: function (out) {
var _cq1 = out || {};
_cq1["shape"] = null;
_cq1["friction"] = this._V42;
_cq1["restitution"] = this._W42;
_cq1["density"] = this._A32;
_cq1["isSensor"] = this._U42;
_cq1["filter"] = this._T42._vS1();
return _cq1;
},
};
function _c52() {}
_c52.prototype = { _d52: function (_I42) {}, _e52: function (_2F1) {}, _f52: function (_UJ1) {}, _g52: function (index) {} };
function _h52() {}
_h52.prototype = {
/// @warning for performance reasons this is only called when the AABBs begin to overlap.
_G42: function (_G32, _I32) {
var _i52 = _G32._152();
var _j52 = _I32._152();
if (_i52._N42 == _j52._N42 && _i52._N42 != 0) {
return _i52._N42 > 0;
}
var _k52 = (_i52._M42 & _j52._L42) != 0 && (_i52._L42 & _j52._M42) != 0;
return _k52;
},
};
function _l52() {
this._m52 = new Array(_zR1);
this._n52 = new Array(_zR1);
this._d31 = 0;
} /// @warning You cannot create/destroy Box2D entities inside these callbacks.
function _o52() {}
_o52.prototype = { _p52: function (_F32) {}, _q52: function (_F32) {}, _r52: function (_F32, _s52) {}, _t52: function (_F32, _042) {} };
function _u52() {}
_u52.prototype = {
/// @return false to terminate the query.
_v52: function (_2F1) {
return !1;
}, /// @return false to terminate the query.
_w52: function (index) {
return !1;
},
};
function _x52() {}
_x52.prototype = {
/// @param fixture the fixture hit by the ray
/// @param point the point of initial intersection
/// @param normal the normal vector at the point of intersection
/// @return -1 to filter, 0 to terminate, fraction to clip the ray for
_v52: function (_2F1, _rY1, _FU1, _QU1) {},
_w52: function (index, _rY1, _FU1, _QU1) {
return 0;
},
};
function _y52() {
this._z52 = 0;
this._A52 = 0;
this._B52 = 0;
this._C52 = 0;
this._D52 = 0;
this._E52 = !1;
}
function _F52() {
this._Y9 = new _iS1();
this._l41 = 0;
}
function _G52() {
this._J41 = new _iS1();
this._Z9 = 0;
}
function _H52() {
this._7R1 = new _y52();
this._I52 = null;
this._J52 = null;
}
var _K52 = _cR1._nR1("step");
var _L52 = _cR1._nR1("collide", "step");
var _M52 = _cR1._nR1("solve", "step");
var _N52 = _cR1._nR1("solveTOI", "step");
var _O52 = _cR1._nR1("broadphase", "step");
function _C32(_P52) {
this._w32 = new _Q52();
this._R52 = null;
this._S52 = null;
this._T52 = null;
this.__22 = null;
this._U52 = 0;
this._V52 = 0;
this._W52 = !0;
this._X52 = !0;
this._Y52 = !1;
this._Z52 = !0;
this.__52 = !0;
this._062 = _P52;
this._R22 = _C32._162;
this._262 = 0.0;
this._362 = new _y52();
this._462 = new _562();
this._662 = new _762();
this._662._X22 = this;
}
function _862() {
this._v32 = null;
this._BW1 = null;
}
_862.prototype = {
_SW1: function (_mW1) {
var _952 = this._v32._uW1(_mW1);
return this._BW1._v52(_952._2F1);
},
};
function _962() {
this._v32 = null;
this._BW1 = null;
}
_962.prototype = {
_312: function (_Ir1, _mW1) {
var _lW1 = this._v32._uW1(_mW1);
var _952 = _lW1;
var _2F1 = _952._2F1;
var index = _952._xU1;
var _Kr1 = new _4Z1();
var _321 = _2F1._wU1(_Kr1, _Ir1, index);
if (_321) {
var _QU1 = _Kr1._QU1;
var _rY1 = _iS1._Da1(_iS1.Multiply(1.0 - _QU1, _Ir1._Fe1), _iS1.Multiply(_QU1, _Ir1._5U1));
return this._BW1._v52(_2F1, _rY1, _Kr1._FU1, _QU1);
}
return _Ir1._PU1;
},
};
_C32._a62 = new _4T1();
_C32._b62 = new _4T1();
_C32._c62 = new _4T1();
_C32.prototype = {
_K32: function () {
var _e21 = this._T52;
while (_e21) {
var _d62 = _e21._232;
var _xp1 = _e21._h32;
while (_xp1) {
var _e62 = _xp1._232;
_xp1._fW1 = 0;
_xp1._K32();
_xp1 = _e62;
}
_e21 = _d62;
}
},
_f62: function (listener) {
this._R52 = listener;
},
_g62: function (_ph1) {
this._w32._h62 = _ph1;
},
_i62: function (listener) {
this._w32._j62 = listener;
},
_k62: function (_l62) {
this._S52 = _l62;
}, /// @warning This function is locked during callbacks.
_IF1: function (_p32) {
_uR1(this._s32() == !1);
if (this._s32()) {
return null;
}
var _e21 = new _D22(_p32, this);
_e21._132 = null;
_e21._232 = this._T52;
if (this._T52) {
this._T52._132 = _e21;
}
this._T52 = _e21;
++this._U52;
return _e21;
}, /// @warning This automatically deletes all associated shapes and joints.
/// @warning This function is locked during callbacks.
_m62: function (_e21) {
_uR1(this._U52 > 0);
_uR1(this._s32() == !1);
if (this._s32()) {
return;
}
var _n62 = _e21.__22;
while (_n62) {
var _o62 = _n62;
_n62 = _n62._Vc1;
if (this._R52) {
this._R52._d52(_o62._I42);
}
this._p62(_o62._I42);
_e21.__22 = _n62;
}
_e21.__22 = null;
var _l42 = _e21._032;
while (_l42) {
var _m42 = _l42;
_l42 = _l42._Vc1;
this._w32._K32(_m42._F32);
}
_e21._032 = null;
var _xp1 = _e21._h32;
while (_xp1) {
var _q62 = _xp1;
_xp1 = _xp1._232;
if (this._R52) {
this._R52._e52(_q62);
}
_q62._L32(this._w32._x32);
_q62._K32();
_e21._h32 = _xp1;
_e21._i32 -= 1;
}
_e21._h32 = null;
_e21._i32 = 0;
if (_e21._132) {
_e21._132._232 = _e21._232;
}
if (_e21._232) {
_e21._232._132 = _e21._132;
}
if (_e21 == this._T52) {
this._T52 = _e21._232;
}
_e21._r62 = !0;
--this._U52;
}, /// @warning This function is locked during callbacks.
_s62: function (_p32) {
_uR1(this._s32() == !1);
if (this._s32()) {
return null;
}
var _i21 = _t62._u32(_p32);
_i21._132 = null;
_i21._232 = this.__22;
if (this.__22) {
this.__22._132 = _i21;
}
this.__22 = _i21;
++this._V52;
_i21._u62._I42 = _i21;
_i21._u62._6Z1 = _i21._v62;
_i21._u62._w62 = null;
_i21._u62._Vc1 = _i21._x62.__22;
if (_i21._x62.__22) _i21._x62.__22._w62 = _i21._u62;
_i21._x62.__22 = _i21._u62;
_i21._y62._I42 = _i21;
_i21._y62._6Z1 = _i21._x62;
_i21._y62._w62 = null;
_i21._y62._Vc1 = _i21._v62.__22;
if (_i21._v62.__22) _i21._v62.__22._w62 = _i21._y62;
_i21._v62.__22 = _i21._y62;
var _z62 = _p32._z62;
var _A62 = _p32._A62;
if (_p32._B62 == !1) {
var _pV1 = _A62._B42();
while (_pV1) {
if (_pV1._6Z1 == _z62) {
_pV1._F32._252();
}
_pV1 = _pV1._Vc1;
}
}
return _i21;
}, /// @warning This function is locked during callbacks.
_p62: function (_i21) {
_uR1(this._s32() == !1);
if (this._s32()) {
return;
}
var _B62 = _i21._J42;
if (_i21._132) {
_i21._132._232 = _i21._232;
}
if (_i21._232) {
_i21._232._132 = _i21._132;
}
if (_i21 == this.__22) {
this.__22 = _i21._232;
}
var _z62 = _i21._x62;
var _A62 = _i21._v62;
_z62._qF1(!0);
_A62._qF1(!0);
if (_i21._u62._w62) {
_i21._u62._w62._Vc1 = _i21._u62._Vc1;
}
if (_i21._u62._Vc1) {
_i21._u62._Vc1._w62 = _i21._u62._w62;
}
if (_i21._u62 == _z62.__22) {
_z62.__22 = _i21._u62._Vc1;
}
_i21._u62._w62 = null;
_i21._u62._Vc1 = null;
if (_i21._y62._w62) {
_i21._y62._w62._Vc1 = _i21._y62._Vc1;
}
if (_i21._y62._Vc1) {
_i21._y62._Vc1._w62 = _i21._y62._w62;
}
if (_i21._y62 == _A62.__22) {
_A62.__22 = _i21._y62._Vc1;
}
_i21._y62._w62 = null;
_i21._y62._Vc1 = null;
_t62._K32(_i21);
_uR1(this._V52 > 0);
--this._V52;
if (_B62 == !1) {
var _pV1 = _A62._B42();
while (_pV1) {
if (_pV1._6Z1 == _z62) {
_pV1._F32._252();
}
_pV1 = _pV1._Vc1;
}
}
}, /// @param timeStep the amount of time to simulate, this should not vary.
/// @param velocityIterations for the velocity constraint solver.
/// @param positionIterations for the position constraint solver.
_C62: function (_z52, _C52, _D52) {
_K52.start();
if (this._R22 & _C32._D32) {
this._w32._D62();
this._R22 &= ~_C32._D32;
}
this._R22 |= _C32._E62;
this._362._z52 = _z52;
this._362._C52 = _C52;
this._362._D52 = _D52;
if (_z52 > 0.0) {
this._362._A52 = 1.0 / _z52;
} else {
this._362._A52 = 0.0;
}
this._362._B52 = this._262 * _z52;
this._362._E52 = this._W52;
{
_L52.start();
this._w32._a02();
_L52.stop();
}
if (this._Z52 && this._362._z52 > 0.0) {
_M52.start();
this._662._HS1(this._362);
this._HS1(this._362);
_M52.stop();
}
if (this._X52 && this._362._z52 > 0.0) {
_N52.start();
this._F62(this._362);
_N52.stop();
}
if (this._362._z52 > 0.0) {
this._262 = this._362._A52;
}
if (this._R22 & _C32._162) {
this._G62();
}
this._R22 &= ~_C32._E62;
_K52.stop();
}, /// @see SetAutoClearForces
_G62: function () {
for (var body = this._T52; body; body = body._C42()) {
body._832.x = body._832.y = 0;
body._932 = 0.0;
}
},
_H62: function () {
if (this._S52 == null) {
return;
}
var _DP1 = this._S52._VT1();
if (_DP1 & _ST1._aU1) {
for (var _e21 = this._T52; _e21; _e21 = _e21._C42()) {
var _3T1 = _e21._aT1();
for (var _xp1 = _e21._z42(); _xp1; _xp1 = _xp1._C42()) {
if (_e21._w42() == !1) {
this._I62(_xp1, _3T1, new _RT1(0.5, 0.5, 0.3));
} else if (_e21._tU1() == _D22._E22) {
this._I62(_xp1, _3T1, new _RT1(0.5, 0.9, 0.5));
} else if (_e21._tU1() == _D22._j32) {
this._I62(_xp1, _3T1, new _RT1(0.5, 0.5, 0.9));
} else if (_e21._u42() == !1) {
this._I62(_xp1, _3T1, new _RT1(0.6, 0.6, 0.6));
} else {
this._I62(_xp1, _3T1, new _RT1(0.9, 0.7, 0.7));
}
}
}
this._J62(this._662);
}
if (_DP1 & _ST1._bU1) {
for (var _i21 = this.__22; _i21; _i21 = _i21._C42()) {
this._K62(_i21);
}
}
if (_DP1 & _ST1._kU1) {
var color = new _RT1(0.3, 0.9, 0.9);
for (var _Y9 = this._w32._032; _Y9; _Y9 = _Y9._C42()) {
var _G32 = _Y9._H32();
var _I32 = _Y9._J32();
var _L62 = _G32._752(_Y9._M62())._8Z1();
var _N62 = _I32._752(_Y9._O62())._8Z1();
this._S52._4U1(_L62, _N62, color);
}
}
if (_DP1 & _ST1._cU1) {
var color = new _RT1(0.9, 0.3, 0.9);
var _P62 = new _RT1(0.3, 0.3, 0.9);
var _Q62 = this._w32._x32;
for (var _e21 = this._T52; _e21; _e21 = _e21._C42()) {
if (_e21._w42() == !1) {
continue;
}
for (var _xp1 = _e21._z42(); _xp1; _xp1 = _xp1._C42()) {
for (var _X9 = 0; _X9 < _xp1._fW1; ++_X9) {
var _952 = _xp1._o42[_X9];
var _zU1 = _Q62._tW1(_952._mW1);
var _1W1 = [];
_1W1[0] = new _iS1(_zU1._RU1.x, _zU1._RU1.y);
_1W1[1] = new _iS1(_zU1._SU1.x, _zU1._RU1.y);
_1W1[2] = new _iS1(_zU1._SU1.x, _zU1._SU1.y);
_1W1[3] = new _iS1(_zU1._RU1.x, _zU1._SU1.y);
this._S52._ZT1(_1W1, 4, color);
var _R62 = new _5Z1();
_xp1._X42()._yU1(_R62, _e21._aT1(), 0);
_1W1[0] = new _iS1(_R62._RU1.x, _R62._RU1.y);
_1W1[1] = new _iS1(_R62._SU1.x, _R62._RU1.y);
_1W1[2] = new _iS1(_R62._SU1.x, _R62._SU1.y);
_1W1[3] = new _iS1(_R62._RU1.x, _R62._SU1.y);
this._S52._ZT1(_1W1, 4, _P62);
}
}
}
}
if (_DP1 & _ST1._dU1) {
for (var _e21 = this._T52; _e21; _e21 = _e21._C42()) {
var _3T1 = _e21._aT1()._b01();
_3T1._ot1 = _e21._O32();
this._S52._6U1(_3T1);
}
}
}, /// @param callback a user implemented callback class.
/// @param aabb the query box.
_S62: function (_BW1, _zU1) {
var _T62 = new _862();
_T62._v32 = this._w32._x32;
_T62._BW1 = _BW1;
this._w32._x32._EW1(_T62, _zU1);
this._662._S62(_BW1, _zU1);
}, /// @param callback a user implemented callback class.
/// @param point1 the ray starting point
/// @param point2 the ray ending point
_wU1: function (_BW1, _U62, _V62) {
var _T62 = new _962();
_T62._v32 = this._w32._x32;
_T62._BW1 = _BW1;
var _Ir1 = new _3Z1();
_Ir1._PU1 = 1.0;
_Ir1._Fe1 = _U62;
_Ir1._5U1 = _V62;
this._w32._x32._wU1(_T62, _Ir1);
this._662._wU1(_BW1, _U62, _V62);
},
/*@returns {b2Body} the head of the world body list. */ _W62: function () {
return this._T52;
}, /// @return the head of the world joint list.
_A42: function () {
return this.__22;
}, /// @return the head of the world contact list.
/// @warning contacts are created and destroyed in the middle of a time step.
_B42: function () {
return this._w32._032;
},
_X62: function (_q42) {
if (_q42 == this.__52) {
return;
}
this.__52 = _q42;
if (this.__52 == !1) {
for (var _e21 = this._T52; _e21; _e21 = _e21._232) {
_e21._qF1(!0);
}
}
},
_Y62: function () {
return this.__52;
},
_Z62: function (_q42) {
this._W52 = _q42;
},
__62: function () {
return this._W52;
},
_072: function (_q42) {
this._X52 = _q42;
},
_172: function () {
return this._X52;
},
_272: function (_q42) {
this._Y52 = _q42;
},
_372: function () {
return this._Y52;
},
_zW1: function () {
return this._w32._x32._zW1();
},
_472: function () {
return this._U52;
},
_572: function () {
return this._V52;
},
_672: function () {
return this._w32._772;
},
_KW1: function () {
return this._w32._x32._KW1();
},
_MW1: function () {
return this._w32._x32._MW1();
},
_OW1: function () {
return this._w32._x32._OW1();
},
_872: function (_P52) {
this._062 = _P52;
},
_972: function () {
return this._062;
},
_s32: function () {
return (this._R22 & _C32._E62) == _C32._E62;
},
_a72: function (_q42) {
if (_q42) {
this._R22 |= _C32._162;
} else {
this._R22 &= ~_C32._162;
}
},
_b72: function () {
return (this._R22 & _C32._162) == _C32._162;
}, /// @param newOrigin the new origin with respect to the old origin
_QW1: function (_RW1) {
_uR1((this._R22 & _C32._E62) == 0);
if ((this._R22 & _C32._E62) == _C32._E62) {
return;
}
for (var _e21 = this._T52; _e21; _e21 = _e21._232) {
_e21._T_1._ot1._pS1(_RW1);
_e21._Z22._6T1._pS1(_RW1);
_e21._Z22._Y9._pS1(_RW1);
}
for (var _i21 = this.__22; _i21; _i21 = _i21._232) {
_i21._QW1(_RW1);
}
this._w32._x32._QW1(_RW1);
},
_c72: function () {
return this._w32;
},
_HS1: function (_7R1) {
for (var _e21 = this._T52; _e21; _e21 = _e21._232) {
_e21._Y22._IE1(_e21._T_1);
}
this._462._FY1(this._U52, this._w32._772, this._V52, this._w32._j62);
for (var _e21 = this._T52; _e21; _e21 = _e21._232) {
_e21._R22 &= ~_D22._k32;
}
for (var _Y9 = this._w32._032; _Y9; _Y9 = _Y9._232) {
_Y9._R22 &= ~_d72._k32;
}
for (var _i21 = this.__22; _i21; _i21 = _i21._232) {
_i21._e72 = !1;
}
var _f72 = this._U52;
var _2R1 = new Array(_f72);
for (var _g72 = this._T52; _g72; _g72 = _g72._232) {
if (_g72._R22 & _D22._k32) {
continue;
}
if (_g72._u42() == !1 || _g72._w42() == !1) {
continue;
}
if (_g72._tU1() == _D22._E22) {
continue;
}
this._462._Ua1();
var _h72 = 0;
_2R1[_h72++] = _g72;
_g72._R22 |= _D22._k32;
while (_h72 > 0) {
var _e21 = _2R1[--_h72];
_uR1(_e21._w42() == !0);
this._462._i72(_e21);
_e21._qF1(!0);
if (_e21._tU1() == _D22._E22) {
continue;
}
for (var _l42 = _e21._032; _l42; _l42 = _l42._Vc1) {
var _F32 = _l42._F32;
if (_F32._R22 & _d72._k32) {
continue;
}
if (_F32._j72() == !1 || _F32._k72() == !1) {
continue;
}
var _l72 = _F32._m72._U42;
var _n72 = _F32._o72._U42;
if (_l72 || _n72) {
continue;
}
this._462._p72(_F32);
_F32._R22 |= _d72._k32;
var _6Z1 = _l42._6Z1;
if (_6Z1._R22 & _D22._k32) {
continue;
}
_uR1(_h72 < _f72);
_2R1[_h72++] = _6Z1;
_6Z1._R22 |= _D22._k32;
}
for (var _n62 = _e21.__22; _n62; _n62 = _n62._Vc1) {
if (_n62._I42._e72 == !0) {
continue;
}
var _6Z1 = _n62._6Z1;
if (_6Z1._w42() == !1) {
continue;
}
this._462._q72(_n62._I42);
_n62._I42._e72 = !0;
if (_6Z1._R22 & _D22._k32) {
continue;
}
_uR1(_h72 < _f72);
_2R1[_h72++] = _6Z1;
_6Z1._R22 |= _D22._k32;
}
}
this._462._HS1(_7R1, this._062, this.__52);
for (var _X9 = 0; _X9 < this._462._U52; ++_X9) {
var _e21 = this._462._r72[_X9];
if (_e21._tU1() == _D22._E22) {
_e21._R22 &= ~_D22._k32;
}
}
}
{
_O52.start();
for (var _e21 = this._T52; _e21; _e21 = _e21._C42()) {
if ((_e21._R22 & _D22._k32) == 0) {
continue;
}
if (_e21._tU1() == _D22._E22) {
continue;
}
_e21._k42();
}
this._w32._D62();
_O52.stop();
}
},
_F62: function (_7R1) {
this._462._FY1(2 * _HR1, _HR1, 0, this._w32._j62);
if (this._Z52) {
for (var _e21 = this._T52; _e21; _e21 = _e21._232) {
_e21._R22 &= ~_D22._k32;
_e21._Z22._9T1 = 0.0;
}
for (var _Y9 = this._w32._032; _Y9; _Y9 = _Y9._232) {
_Y9._R22 &= ~(_d72._l32 | _d72._k32);
_Y9._s72 = 0;
_Y9._t72 = 1.0;
}
}
for (;;) {
var _u72 = null;
var _v72 = 1.0;
for (var _Y9 = this._w32._032; _Y9; _Y9 = _Y9._232) {
if (_Y9._j72() == !1) {
continue;
}
if (_Y9._s72 > _GR1) {
continue;
}
var alpha = 1.0;
if (_Y9._R22 & _d72._l32) {
alpha = _Y9._t72;
} else {
var _w72 = _Y9._H32();
var _x72 = _Y9._J32();
if (_w72._Z42() || _x72._Z42()) {
continue;
}
var _y72 = _w72._352();
var _z72 = _x72._352();
var _jY1 = _y72._px1;
var _kY1 = _z72._px1;
_uR1(_jY1 == _D22._b32 || _kY1 == _D22._b32);
var _A72 = _y72._u42() && _jY1 != _D22._E22;
var _B72 = _z72._u42() && _kY1 != _D22._E22;
if (_A72 == !1 && _B72 == !1) {
continue;
}
var _C72 = _y72._r42() || _jY1 != _D22._b32;
var _D72 = _z72._r42() || _kY1 != _D22._b32;
if (_C72 == !1 && _D72 == !1) {
continue;
}
var _9T1 = _y72._Z22._9T1;
if (_y72._Z22._9T1 < _z72._Z22._9T1) {
_9T1 = _z72._Z22._9T1;
_y72._Z22._cT1(_9T1);
} else if (_z72._Z22._9T1 < _y72._Z22._9T1) {
_9T1 = _y72._Z22._9T1;
_z72._Z22._cT1(_9T1);
}
_uR1(_9T1 < 1.0);
var _0X1 = _Y9._M62();
var _1X1 = _Y9._O62();
var _Ir1 = new _P12();
_Ir1._3X1._sc1(_w72._X42(), _0X1);
_Ir1._4X1._sc1(_x72._X42(), _1X1);
_Ir1._Q12._IE1(_y72._Z22);
_Ir1._R12._IE1(_z72._Z22);
_Ir1._S12 = 1.0;
var _Kr1 = new _T12();
_k22(_Kr1, _Ir1);
var _bT1 = _Kr1._d21;
if (_Kr1.state == _T12._W12) {
alpha = _GT1(_9T1 + (1.0 - _9T1) * _bT1, 1.0);
} else {
alpha = 1.0;
}
_Y9._t72 = alpha;
_Y9._R22 |= _d72._l32;
}
if (alpha < _v72) {
_u72 = _Y9;
_v72 = alpha;
}
}
if (_u72 == null || 1.0 - 10.0 * _xR1 < _v72) {
this._Z52 = !0;
break;
}
var _w72 = _u72._H32();
var _x72 = _u72._J32();
var _y72 = _w72._352();
var _z72 = _x72._352();
_C32._a62._IE1(_y72._Z22);
_C32._b62._IE1(_z72._Z22);
_y72._cT1(_v72);
_z72._cT1(_v72);
_u72._Va1(this._w32._j62);
_u72._R22 &= ~_d72._l32;
++_u72._s72;
if (_u72._j72() == !1 || _u72._k72() == !1) {
_u72._E72(!1);
_y72._Z22._IE1(_C32._a62);
_z72._Z22._IE1(_C32._b62);
_y72._F42();
_z72._F42();
continue;
}
_y72._qF1(!0);
_z72._qF1(!0);
this._462._Ua1();
this._462._i72(_y72);
this._462._i72(_z72);
this._462._p72(_u72);
_y72._R22 |= _D22._k32;
_z72._R22 |= _D22._k32;
_u72._R22 |= _d72._k32;
var _F72 = [_y72, _z72];
for (var _X9 = 0; _X9 < 2; ++_X9) {
var body = _F72[_X9];
if (body._px1 == _D22._b32) {
for (var _l42 = body._032; _l42; _l42 = _l42._Vc1) {
if (this._462._U52 == this._462._G72) {
break;
}
if (this._462._772 == this._462._H72) {
break;
}
var _F32 = _l42._F32;
if (_F32._R22 & _d72._k32) {
continue;
}
var _6Z1 = _l42._6Z1;
if (_6Z1._px1 == _D22._b32 && body._r42() == !1 && _6Z1._r42() == !1) {
continue;
}
var _l72 = _F32._m72._U42;
var _n72 = _F32._o72._U42;
if (_l72 || _n72) {
continue;
}
_C32._c62._IE1(_6Z1._Z22);
if ((_6Z1._R22 & _D22._k32) == 0) {
_6Z1._cT1(_v72);
}
_F32._Va1(this._w32._j62);
if (_F32._j72() == !1) {
_6Z1._Z22._IE1(_C32._c62);
_6Z1._F42();
continue;
}
if (_F32._k72() == !1) {
_6Z1._Z22._IE1(_C32._c62);
_6Z1._F42();
continue;
}
_F32._R22 |= _d72._k32;
this._462._p72(_F32);
if (_6Z1._R22 & _D22._k32) {
continue;
}
_6Z1._R22 |= _D22._k32;
if (_6Z1._px1 != _D22._E22) {
_6Z1._qF1(!0);
}
this._462._i72(_6Z1);
}
}
}
var _I72 = new _y52();
_I72._z52 = (1.0 - _v72) * _7R1._z52;
_I72._A52 = 1.0 / _I72._z52;
_I72._B52 = 1.0;
_I72._D52 = 20;
_I72._C52 = _7R1._C52;
_I72._E52 = !1;
this._462._F62(_I72, _y72._Q22, _z72._Q22);
for (var _X9 = 0; _X9 < this._462._U52; ++_X9) {
var body = this._462._r72[_X9];
body._R22 &= ~_D22._k32;
if (body._px1 != _D22._b32) {
continue;
}
body._k42();
for (var _l42 = body._032; _l42; _l42 = _l42._Vc1) {
_l42._F32._R22 &= ~(_d72._l32 | _d72._k32);
}
}
this._w32._D62();
if (this._Y52) {
this._Z52 = !1;
break;
}
}
},
_K62: function (_I42) {
var _z62 = _I42._J72();
var _A62 = _I42._K72();
var _FZ1 = _z62._aT1();
var _HZ1 = _A62._aT1();
var __11 = _FZ1._ot1;
var _121 = _HZ1._ot1;
var _Fe1 = _I42._L72();
var _5U1 = _I42._M72();
var color = new _RT1(0.5, 0.8, 0.8);
switch (_I42._tU1()) {
case _t62._N72:
this._S52._4U1(_Fe1, _5U1, color);
break;
case _t62._O72:
{
var _P72 = _I42;
var _Km1 = _P72._Q72();
var _Lm1 = _P72._R72();
this._S52._4U1(_Km1, _Fe1, color);
this._S52._4U1(_Lm1, _5U1, color);
this._S52._4U1(_Km1, _Lm1, color);
}
break;
case _t62._S72:
break;
case _t62._T72:
this._S52._U72(_I42._V72(), 5.0, color);
default:
this._S52._4U1(__11, _Fe1, color);
this._S52._4U1(_Fe1, _5U1, color);
this._S52._4U1(_121, _5U1, color);
}
},
_I62: function (_2F1, _3T1, color) {
switch (_2F1._tU1()) {
case _rU1._GU1:
{
var _UW1 = _2F1._X42();
var _1U1 = _vT1(_3T1, _UW1._MU1);
var _2U1 = _UW1._sU1;
var _Ge1 = _tT1(_3T1._Yr1, new _iS1(1.0, 0.0));
this._S52._3U1(_1U1, _2U1, _Ge1, color);
}
break;
case _rU1._HU1:
{
var _pV1 = _2F1._X42();
var _b61 = _vT1(_3T1, _pV1._ZU1);
var _c61 = _vT1(_3T1, _pV1.__U1);
this._S52._4U1(_b61, _c61, color);
}
break;
case _rU1._JU1:
{
var _WW1 = _2F1._X42();
var _d31 = _WW1._cV1;
var vertices = _WW1._bV1;
var _b61 = _vT1(_3T1, vertices[0]);
for (var _X9 = 1; _X9 < _d31; ++_X9) {
var _c61 = _vT1(_3T1, vertices[_X9]);
this._S52._4U1(_b61, _c61, color);
_b61 = _c61;
}
}
break;
case _rU1._IU1:
{
var _W72 = _2F1._X42();
var vertexCount = _W72._cV1;
_uR1(vertexCount <= _AR1);
var vertices = new Array(_AR1);
for (var _X9 = 0; _X9 < vertexCount; ++_X9) {
vertices[_X9] = _vT1(_3T1, _W72._bV1[_X9]);
}
this._S52.__T1(vertices, vertexCount, color);
}
break;
default:
break;
}
},
_X72: function () {
return this._662._X72();
},
_Y72: function (_d31) {
this._662._Y72(_d31);
},
_Z72: function (_CU1) {
this._662._Z72(_CU1);
},
__72: function () {
return this._662.__72();
},
_082: function (_N22) {
this._662._082(_N22);
},
_182: function () {
return this._662._182();
},
_282: function (_382) {
this._662._282(_382);
},
_482: function () {
return this._662._482();
},
_582: function (_2U1) {
this._662._582(_2U1);
},
_682: function () {
return this._662._682();
},
_782: function (_p32) {
_uR1(this._s32() == !1);
if (this._s32()) {
return 0;
}
var _ot1 = this._662._782(_p32);
return _ot1;
},
_882: function (index, _982) {
this._662._882(index, _982);
},
_a82: function (_NU1, _3T1, _982) {
_uR1(this._s32() == !1);
if (this._s32()) {
return 0;
}
return this._662._a82(_NU1, _3T1, _982);
},
_b82: function (_p32) {
_uR1(this._s32() == !1);
if (this._s32()) {
return null;
}
var _k41 = this._662._b82(_p32);
return _k41;
},
_c82: function (_d82, _e82) {
_uR1(this._s32() == !1);
if (this._s32()) {
return;
}
this._662._c82(_d82, _e82);
},
_f82: function (_UJ1, _982) {
_uR1(this._s32() == !1);
if (this._s32()) {
return;
}
this._662._f82(_UJ1, _982);
},
_g82: function () {
return this._662._g82();
},
_h82: function () {
return this._662._h82();
},
_i82: function () {
return this._662._i82();
},
_j82: function () {
return this._662._j82();
},
_k82: function () {
return this._662._k82();
},
_l82: function () {
return this._662._l82();
},
_m82: function (buffer, _n82) {
this._662._m82(buffer, _n82);
},
_o82: function (buffer, _n82) {
this._662._o82(buffer, _n82);
},
_p82: function (buffer, _n82) {
this._662._p82(buffer, _n82);
},
_q82: function (buffer, _n82) {
this._662._q82(buffer, _n82);
},
_r82: function (buffer, _n82) {
this._662._r82(buffer, _n82);
},
_s82: function () {
return this._662._t82;
},
_u82: function () {
return this._662._772;
},
_v82: function () {
return this._662._w82;
},
_x82: function () {
return this._662._y82;
},
_z82: function () {
return this._662._z82();
},
_A82: function () {
return this._662._A82();
},
_B82: function () {
return this._662._B82();
},
_C82: function () {
return this._662._C82();
},
_J62: function (_D82) {
var _E82 = _D82._C82();
if (_E82) {
var _F82 = _D82._682();
var _G82 = _D82._h82();
if (_D82._H82.data) {
var _I82 = _D82._j82();
this._S52._7U1(_G82, _F82, _I82, _E82);
} else {
this._S52._7U1(_G82, _F82, null, _E82);
}
}
},
};
_C32._D32 = 0x0001;
_C32._E62 = 0x0002;
_C32._162 = 0x0004;
function _J82(_n82) {
this._K82 = new Array(_n82);
this._602 = 0;
this._L82 = 0;
this._M82 = _n82;
}
_J82.prototype = {
_N82: function (_Wc1) {
if (this._L82 >= this._M82) return;
this._K82[this._L82++] = _Wc1;
},
_O82: function () {
_uR1(this._602 < this._L82);
this._602++;
},
_P82: function () {
return this._602 >= this._L82;
},
_Q82: function () {
return this._K82[this._602];
},
};
function _R82(_S82) {
this._T82 = new Array(_S82);
this._U82 = 0;
this._V82 = 0;
this._W82 = 0;
this._X82 = null;
}
_R82._Y82 = function () {
this._1U1 = new _iS1();
this._Z82 = 0;
};
_R82.__82 = function (x, y, _X9, _k41) {
this._wx1 = x;
this._xx1 = y;
this._092 = _X9;
this._192 = _k41;
};
_R82.prototype = {
_292: function (_1U1, _Z82) {
var _k41 = (this._T82[this._U82++] = new _R82._Y82());
_k41._1U1._IE1(_1U1);
_k41._Z82 = _Z82;
},
_392: function (_2U1) {
_uR1(this._X82 == null);
var _492 = 1 / _2U1;
var _1B1 = new _iS1(+_wR1, +_wR1);
var _HV1 = new _iS1(-_wR1, -_wR1);
for (var _Sc1 = 0; _Sc1 < this._U82; _Sc1++) {
var _k41 = this._T82[_Sc1];
_1B1._IE1(_HT1(_1B1, _k41._1U1));
_HV1._IE1(_JT1(_HV1, _k41._1U1));
}
this._V82 = 1 + ((_492 * (_HV1.x - _1B1.x)) >>> 0);
this._W82 = 1 + ((_492 * (_HV1.y - _1B1.y)) >>> 0);
this._X82 = new Array(this._V82 * this._W82);
for (var _X9 = 0; _X9 < this._V82 * this._W82; _X9++) this._X82[_X9] = null;
var _592 = new _J82(this._V82 * this._V82);
for (var _Sc1 = 0; _Sc1 < this._U82; _Sc1++) {
var _k41 = this._T82[_Sc1];
_k41._1U1._IE1(_iS1.Multiply(_492, _iS1._pS1(_k41._1U1, _1B1)));
var x = _IT1(0, _GT1(Math.floor(_k41._1U1.x), this._V82 - 1));
var y = _IT1(0, _GT1(Math.floor(_k41._1U1.y), this._W82 - 1));
_592._N82(new _R82.__82(x, y, x + y * this._V82, _k41));
}
while (!_592._P82()) {
var x = _592._Q82()._wx1;
var y = _592._Q82()._xx1;
var _X9 = _592._Q82()._092;
var _k41 = _592._Q82()._192;
_592._O82();
if (!this._X82[_X9]) {
this._X82[_X9] = _k41;
if (x > 0) {
_592._N82(new _R82.__82(x - 1, y, _X9 - 1, _k41));
}
if (y > 0) {
_592._N82(new _R82.__82(x, y - 1, _X9 - this._V82, _k41));
}
if (x < this._V82 - 1) {
_592._N82(new _R82.__82(x + 1, y, _X9 + 1, _k41));
}
if (y < this._W82 - 1) {
_592._N82(new _R82.__82(x, y + 1, _X9 + this._V82, _k41));
}
}
}
var _692 = this._V82 + this._W82;
for (var _792 = 0; _792 < _692; _792++) {
for (var y = 0; y < this._W82; y++) {
for (var x = 0; x < this._V82 - 1; x++) {
var _X9 = x + y * this._V82;
var _l41 = this._X82[_X9];
var _e21 = this._X82[_X9 + 1];
if (_l41 != _e21) {
_592._N82(new _R82.__82(x, y, _X9, _e21));
_592._N82(new _R82.__82(x + 1, y, _X9 + 1, _l41));
}
}
}
for (var y = 0; y < this._W82 - 1; y++) {
for (var x = 0; x < this._V82; x++) {
var _X9 = x + y * this._V82;
var _l41 = this._X82[_X9];
var _e21 = this._X82[_X9 + this._V82];
if (_l41 != _e21) {
_592._N82(new _R82.__82(x, y, _X9, _e21));
_592._N82(new _R82.__82(x, y + 1, _X9 + this._V82, _l41));
}
}
}
var _892 = !1;
while (!_592._P82()) {
var x = _592._Q82()._wx1;
var y = _592._Q82()._xx1;
var _X9 = _592._Q82()._092;
var _Sc1 = _592._Q82()._192;
_592._O82();
var _l41 = this._X82[_X9];
var _e21 = _Sc1;
if (_l41 != _e21) {
var _7A1 = _l41._1U1.x - x;
var _8A1 = _l41._1U1.y - y;
var _992 = _e21._1U1.x - x;
var _a92 = _e21._1U1.y - y;
var _MM1 = _7A1 * _7A1 + _8A1 * _8A1;
var _4r1 = _992 * _992 + _a92 * _a92;
if (_MM1 > _4r1) {
this._X82[_X9] = _e21;
if (x > 0) {
_592._N82(new _R82.__82(x - 1, y, _X9 - 1, _e21));
}
if (y > 0) {
_592._N82(new _R82.__82(x, y - 1, _X9 - this._V82, _e21));
}
if (x < this._V82 - 1) {
_592._N82(new _R82.__82(x + 1, y, _X9 + 1, _e21));
}
if (y < this._W82 - 1) {
_592._N82(new _R82.__82(x, y + 1, _X9 + this._V82, _e21));
}
_892 = !0;
}
}
}
if (!_892) {
break;
}
}
},
_b92: function (_BW1) {
for (var y = 0; y < this._W82 - 1; y++) {
for (var x = 0; x < this._V82 - 1; x++) {
var _X9 = x + y * this._V82;
var _l41 = this._X82[_X9];
var _e21 = this._X82[_X9 + 1];
var _Y9 = this._X82[_X9 + this._V82];
var _Ce1 = this._X82[_X9 + 1 + this._V82];
if (_e21 != _Y9) {
if (_l41 != _e21 && _l41 != _Y9) {
_BW1(_l41._Z82, _e21._Z82, _Y9._Z82);
}
if (_Ce1 != _e21 && _Ce1 != _Y9) {
_BW1(_e21._Z82, _Ce1._Z82, _Y9._Z82);
}
}
}
}
},
};
function _c92(_b21, _k41, _e21, _l41) {
if (_b21 instanceof _RT1) {
this._b21 = 255 * _b21._b21;
this._k41 = 255 * _b21._k41;
this._e21 = 255 * _b21._e21;
this._l41 = 255;
} else if (typeof _b21 !== "undefined") {
this._b21 = _b21;
this._k41 = _k41;
this._e21 = _e21;
this._l41 = _l41;
} else this._b21 = this._k41 = this._e21 = this._l41 = 0;
}
_c92.prototype = {
_d92: function () {
return !this._b21 && !this._k41 && !this._e21 && !this._l41;
},
_e92: function () {
return new _RT1((1.0 / 255) * this._b21, (1.0 / 255) * this._k41, (1.0 / 255) * this._e21);
},
_sc1: function (_f92, _g92, _h92, _i92) {
if (_f92 instanceof _RT1) {
this._b21 = 255 * _f92._b21;
this._k41 = 255 * _f92._k41;
this._e21 = 255 * _f92._e21;
this._l41 = 255;
} else {
this._b21 = _f92;
this._k41 = _g92;
this._e21 = _h92;
this._l41 = _i92;
}
},
_IE1: function (_j92) {
this._b21 = _j92._b21;
this._k41 = _j92._k41;
this._e21 = _j92._e21;
this._l41 = _j92._l41;
},
_b01: function () {
return new _c92(this._b21, this._k41, this._e21, this._l41);
},
};
_c92._k92 = new _c92();
function _l92() {
this._DP1 = 0;
this.position = new _iS1();
this._kH1 = new _iS1();
this.color = new _c92();
this._lW1 = null;
}
_l92._m92 = 0;
_l92._n92 = 1 << 1;
_l92._o92 = 1 << 2;
_l92._p92 = 1 << 3;
_l92._q92 = 1 << 4;
_l92._r92 = 1 << 5;
_l92._s92 = 1 << 6;
_l92._t92 = 1 << 7;
_l92._u92 = 1 << 8;
_l92._v92 = 1 << 9;
function _w92() {
this._DP1 = 0;
this._x92 = 0;
this.position = new _iS1();
this.angle = 0;
this._F22 = new _iS1();
this._G22 = 0;
this.color = new _c92();
this._y92 = 1;
this._NU1 = null;
this._z92 = !0;
this._lW1 = null;
}
function _A92() {
this._B92 = null;
this._C92 = 0;
this._D92 = 0;
this._E92 = 0;
this._F92 = 1.0;
this._132 = null;
this._232 = null;
this._G92 = -1;
this._c32 = 0;
this._H92 = 0;
this._I92 = new _iS1();
this._332 = new _iS1();
this._432 = 0;
this._J92 = new _2T1();
this._J92._DS1();
this._K92 = !0;
this._L92 = !1;
this._M92 = !1;
this._g32 = null;
}
_A92.prototype = {
_C42: function () {
return this._232;
},
_C82: function () {
return this._D92 - this._C92;
},
_N92: function () {
return this._C92;
},
_O92: function () {
return this._E92;
},
_P92: function (_DP1) {
this._E92 = _DP1;
},
_242: function () {
this._Q92();
return this._c32;
},
_342: function () {
this._Q92();
return this._H92;
},
_8Z1: function () {
this._Q92();
return this._I92;
},
_R32: function () {
this._Q92();
return this._332;
},
_T32: function () {
this._Q92();
return this._432;
},
_aT1: function () {
return this._J92;
},
_RE1: function () {
return this._J92._ot1;
},
__S1: function () {
return this._J92._Yr1.__S1();
},
_uW1: function () {
return this._g32;
},
_D42: function (data) {
this._g32 = data;
},
_Q92: function () {
if (this._G92 != this._B92._G92) {
var _Z11 = this._B92._R92();
this._c32 = 0;
this._I92._jS1();
this._332._jS1();
for (var _X9 = this._C92; _X9 < this._D92; _X9++) {
this._c32 += _Z11;
this._I92._Da1(_iS1.Multiply(_Z11, this._B92._S92.data[_X9]));
this._332._Da1(_iS1.Multiply(_Z11, this._B92._T92.data[_X9]));
}
if (this._c32 > 0) {
this._I92.Multiply(1 / this._c32);
this._332.Multiply(1 / this._c32);
}
this._H92 = 0;
this._432 = 0;
for (var _X9 = this._C92; _X9 < this._D92; _X9++) {
var _ot1 = _iS1._pS1(this._B92._S92.data[_X9], this._I92);
var _J41 = _iS1._pS1(this._B92._T92.data[_X9], this._332);
this._H92 += _Z11 * _eT1(_ot1, _ot1);
this._432 += _Z11 * _fT1(_ot1, _J41);
}
if (this._H92 > 0) {
this._432 *= 1 / this._H92;
}
this._G92 = this._B92._G92;
}
},
};
_A92._U92 = 1 << 0;
_A92._V92 = 1 << 1;
function _W92() {
this._0X1 = this._1X1 = 0;
this._DP1 = 0;
this._X92 = 0.0;
this._FU1 = new _iS1();
}
function _Y92() {
this.index = 0;
this.body = null;
this._X92 = 0.0;
this._FU1 = new _iS1();
this._pU1 = 0.0;
}
function _762() {
this._G92 = 0;
this._Z92 = 0;
this.__92 = 0;
this._A32 = 1;
this._0a2 = 1;
this._732 = 1;
this._1a2 = 1;
this._2a2 = 1;
this._3a2 = 1;
this._cV1 = 0;
this._4a2 = 0;
this._5a2 = 0;
this._6a2 = new _762._7a2();
this._S92 = new _762._7a2();
this._T92 = new _762._7a2();
this._8a2 = null;
this._9a2 = null;
this._aa2 = null;
this._H82 = new _762._7a2();
this._ba2 = null;
this._ca2 = new _762._7a2();
this._fW1 = 0;
this._da2 = 0;
this._ea2 = null;
this._772 = 0;
this._H72 = 0;
this._t82 = null;
this._y82 = 0;
this._fa2 = 0;
this._w82 = null;
this._gW1 = 0;
this._ga2 = 0;
this._hW1 = null;
this._ha2 = 0;
this._ia2 = 0;
this._ja2 = null;
this._ka2 = 0;
this._la2 = null;
this._ma2 = 0.05;
this._na2 = 1.0;
this._oa2 = 0.25;
this._pa2 = 0.25;
this._qa2 = 0.25;
this._ra2 = 0.1;
this._sa2 = 0.2;
this._ta2 = 0.5;
this._ua2 = 0.5;
this._va2 = 0.5;
this._X22 = null;
}
_762._7a2 = function () {
this.data = null;
this._wa2 = 0;
};
_762._xa2 = function () {
this.index = 0;
this._Z82 = 0;
};
_762._xa2._ya2 = function (_l41, _e21) {
return _l41._Z82 < _e21._Z82;
};
_762._xa2._za2 = function (_l41, _e21) {
return _l41 < _e21._Z82;
};
_762._xa2._Aa2 = function (_l41, _e21) {
return _l41._Z82 < _e21;
};
_762._Ba2 = function () {
this._0X1 = this._1X1 = 0;
this._DP1 = 0;
this._y92 = 0.0;
this._EU1 = 0.0;
};
_762._Ca2 = function () {
this._0X1 = this._1X1 = this._Da2 = 0;
this._DP1 = 0;
this._y92 = 0.0;
(this._Ea2 = new _iS1()), (this._Fa2 = new _iS1()), (this._j92 = new _iS1());
(this._Ga2 = 0.0), (this._Ha2 = 0.0), (this._Ia2 = 0.0), (this._Wo1 = 0.0);
};
_762._Ja2 = _l92._p92;
_762._Ka2 = _l92._q92;
_762._La2 = _l92._s92;
_762._Ma2 = 12;
_762._Na2 = 12;
_762._Oa2 = 8 * 4;
_762._Pa2 = 1 << (_762._Na2 - 1);
_762._Qa2 = _762._Oa2 - _762._Na2;
_762._Ra2 = _762._Oa2 - _762._Na2 - _762._Ma2;
_762._Sa2 = 1 << _762._Ra2;
_762._Ta2 = _762._Sa2 * (1 << (_762._Ma2 - 1));
_762._Ua2 = (1 << _762._Ma2) - 1;
_762._Va2 = (1 << _762._Na2) - 1;
function _Wa2(x, y) {
return (((y + _762._Pa2) << _762._Qa2) + (_762._Sa2 * x + _762._Ta2)) >>> 0;
}
function _Xa2(_Z82, x, y) {
return _Z82 + (y << _762._Qa2) + (x << _762._Ra2);
}
function _Ya2(_n82, _Za2) {
return _Za2 && _n82 > _Za2 ? _Za2 : _n82;
}
function __a2(_F32) {
return (_F32._DP1 & _l92._n92) == _l92._n92;
}
_762.prototype = {
_0b2: function (_1b2, _2b2, _3b2) {
_uR1(_3b2 > _2b2);
var _4b2 = _1b2 ? _1b2.slice() : [];
_4b2.length = _3b2;
return _4b2;
},
_5b2: function (buffer, _wa2, _2b2, _3b2, _6b2) {
_uR1(_3b2 > _2b2);
_uR1(!_wa2 || _3b2 <= _wa2);
if ((!_6b2 || buffer) && !_wa2) {
buffer = this._0b2(buffer, _2b2, _3b2);
}
return buffer;
},
_7b2: function (buffer, _2b2, _3b2, _6b2) {
_uR1(_3b2 > _2b2);
return this._5b2(buffer.data, buffer._wa2, _2b2, _3b2, _6b2);
},
_8b2: function (buffer) {
if (!buffer) {
buffer = new Array(this._4a2);
for (var _X9 = 0; _X9 < this._4a2; _X9++) {
buffer[_X9] = 0;
}
}
return buffer;
},
_782: function (_p32) {
if (this._cV1 >= this._4a2) {
var _n82 = this._cV1 ? 2 * this._cV1 : __R1;
_n82 = _Ya2(_n82, this._5a2);
_n82 = _Ya2(_n82, this._6a2._wa2);
_n82 = _Ya2(_n82, this._S92._wa2);
_n82 = _Ya2(_n82, this._T92._wa2);
_n82 = _Ya2(_n82, this._H82._wa2);
_n82 = _Ya2(_n82, this._ca2._wa2);
if (this._4a2 < _n82) {
this._6a2.data = this._7b2(this._6a2, this._4a2, _n82, !1);
this._S92.data = this._7b2(this._S92, this._4a2, _n82, !1);
this._T92.data = this._7b2(this._T92, this._4a2, _n82, !1);
this._8a2 = this._5b2(this._8a2, 0, this._4a2, _n82, !1);
this._9a2 = this._5b2(this._9a2, 0, this._4a2, _n82, !0);
this._aa2 = this._5b2(this._aa2, 0, this._4a2, _n82, !0);
this._H82.data = this._7b2(this._H82, this._4a2, _n82, !0);
this._ba2 = this._5b2(this._ba2, 0, this._4a2, _n82, !1);
this._ca2.data = this._7b2(this._ca2, this._4a2, _n82, !0);
this._4a2 = _n82;
}
}
if (this._cV1 >= this._4a2) {
return _UR1;
}
var index = this._cV1++;
this._6a2.data[index] = _p32._DP1;
this._S92.data[index] = _p32.position._b01();
this._T92.data[index] = _p32._kH1._b01();
this._ba2[index] = null;
if (this._aa2) {
this._aa2[index] = 0;
}
if (this._H82.data || !_p32.color._d92()) {
this._H82.data = this._8b2(this._H82.data);
this._H82.data[index] = _p32.color._b01();
}
if (this._ca2.data || _p32._lW1) {
this._ca2.data = this._8b2(this._ca2.data);
this._ca2.data[index] = _p32._lW1;
}
if (this._fW1 >= this._da2) {
var _2b2 = this._da2;
var _3b2 = this._fW1 ? 2 * this._fW1 : __R1;
this._ea2 = this._0b2(this._ea2, _2b2, _3b2);
this._da2 = _3b2;
}
this._ea2[this._fW1] = new _762._xa2();
this._ea2[this._fW1++].index = index;
return index;
},
_882: function (index, _982) {
var _DP1 = _l92._n92;
if (_982) {
_DP1 |= _l92._v92;
}
this._6a2.data[index] |= _DP1;
},
_a82: function (_NU1, _3T1, _982) {
function _9b2(_D82, _NU1, _3T1, _982) {
this._B92 = _D82;
this._S42 = _NU1;
this._T_1 = _3T1;
this._ab2 = _982;
this._r62 = 0;
}
_9b2.prototype = {
_v52: function (_2F1) {
return !1;
},
_w52: function (index) {
_uR1(index >= 0 && index < this._B92._cV1);
if (this._S42._vU1(this._T_1, this._B92._S92.data[index])) {
this._B92._882(index, this._ab2);
this._r62++;
}
return !0;
},
_bb2: function () {
return this._r62;
},
};
var _BW1 = new _9b2(this, _NU1, _3T1, _982);
var _zU1 = new _5Z1();
_NU1._yU1(_zU1, _3T1, 0);
this._X22._S62(_BW1, _zU1);
return _BW1._bb2();
},
_f82: function (_UJ1, _982) {
for (var _X9 = _UJ1._C92; _X9 < _UJ1._D92; _X9++) {
this._882(_X9, _982);
}
},
_b82: function (_cb2) {
var _y51 = this._db2();
var identity = new _2T1();
identity._DS1();
var transform = identity._b01();
var _eb2 = this._cV1;
if (_cb2._NU1) {
var _fb2 = new _l92();
_fb2._DP1 = _cb2._DP1;
_fb2.color = _cb2.color;
_fb2._lW1 = _cb2._lW1;
var _NU1 = _cb2._NU1;
transform._sc1(_cb2.position, _cb2.angle);
var _zU1 = new _5Z1();
var _852 = _NU1._uU1();
for (var _xU1 = 0; _xU1 < _852; _xU1++) {
if (_xU1 == 0) {
_NU1._yU1(_zU1, identity, _xU1);
} else {
var _gb2 = new _5Z1();
_NU1._yU1(_gb2, identity, _xU1);
_zU1._bZ1(_gb2);
}
}
for (var y = Math.floor(_zU1._RU1.y / _y51) * _y51; y < _zU1._SU1.y; y += _y51) {
for (var x = Math.floor(_zU1._RU1.x / _y51) * _y51; x < _zU1._SU1.x; x += _y51) {
var _ot1 = new _iS1(x, y);
if (_NU1._vU1(identity, _ot1)) {
_ot1 = _vT1(transform, _ot1);
_fb2.position._IE1(_ot1);
_fb2._kH1._IE1(_iS1._Da1(_cb2._F22, _hT1(_cb2._G22, _iS1._pS1(_ot1, _cb2.position))));
this._782(_fb2);
}
}
}
}
var lastIndex = this._cV1;
var _UJ1 = new _A92();
_UJ1._B92 = this;
_UJ1._C92 = _eb2;
_UJ1._D92 = lastIndex;
_UJ1._E92 = _cb2._x92;
_UJ1._F92 = _cb2._y92;
_UJ1._g32 = _cb2._lW1;
_UJ1._J92 = transform;
_UJ1._K92 = _cb2._z92;
_UJ1._132 = null;
_UJ1._232 = this._la2;
if (this._la2) {
this._la2._132 = _UJ1;
}
this._la2 = _UJ1;
++this._ka2;
for (var _X9 = _eb2; _X9 < lastIndex; _X9++) {
this._ba2[_X9] = _UJ1;
}
this._hb2(!0);
if (_cb2._DP1 & _762._Ja2) {
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
if (_l41 > _e21) {
var _ib2 = _l41;
_l41 = _e21;
_e21 = _ib2;
}
if (_eb2 <= _l41 && _e21 < lastIndex) {
if (this._gW1 >= this._ga2) {
var _2b2 = this._ga2;
var _3b2 = this._gW1 ? 2 * this._gW1 : __R1;
this._hW1 = this._0b2(this._hW1, _2b2, _3b2);
this._ga2 = _3b2;
}
var _JW1 = (this._hW1[this._gW1] = new _762._Ba2());
_JW1._0X1 = _l41;
_JW1._1X1 = _e21;
_JW1._DP1 = _F32._DP1;
_JW1._y92 = _cb2._y92;
_JW1._EU1 = _kT1(this._S92.data[_l41], this._S92.data[_e21]);
this._gW1++;
}
}
}
if (_cb2._DP1 & _762._Ka2) {
var _jb2 = new _R82(lastIndex - _eb2);
for (var _X9 = _eb2; _X9 < lastIndex; _X9++) {
_jb2._292(this._S92.data[_X9], _X9);
}
_jb2._392(_y51 / 2);
var _BW1 = function _kb2(_l41, _e21, _Y9) {
var _Ea2 = this._S92.data[_l41];
var _Fa2 = this._S92.data[_e21];
var _j92 = this._S92.data[_Y9];
var _lb2 = _iS1._pS1(_Ea2, _Fa2);
var _mb2 = _iS1._pS1(_Fa2, _j92);
var _nb2 = _iS1._pS1(_j92, _Ea2);
var _ob2 = _ZR1 * this._3a2;
if (_eT1(_lb2, _lb2) < _ob2 && _eT1(_mb2, _mb2) < _ob2 && _eT1(_nb2, _nb2) < _ob2) {
if (this._ha2 >= this._ia2) {
var _2b2 = this._ia2;
var _3b2 = this._ha2 ? 2 * this._ha2 : __R1;
this._ja2 = this._0b2(this._ja2, _2b2, _3b2);
this._ia2 = _3b2;
}
var _pb2 = this._ja2[this._ha2];
_pb2._0X1 = _l41;
_pb2._1X1 = _e21;
_pb2._Da2 = _Y9;
_pb2._DP1 = this._6a2.data[_l41] | this._6a2.data[_e21] | this._6a2.data[_Y9];
_pb2._y92 = _cb2._y92;
var _qb2 = _iS1.Multiply(1.0 / 3.0, _iS1._Da1(_Ea2, _iS1._Da1(_Fa2, _j92)));
_pb2._Ea2 = _iS1._pS1(_Ea2, _qb2);
_pb2._Fa2 = _iS1._pS1(_Fa2, _qb2);
_pb2._j92 = _iS1._pS1(_j92, _qb2);
_pb2._Ga2 = -_eT1(_nb2, _lb2);
_pb2._Ha2 = -_eT1(_lb2, _mb2);
_pb2._Ia2 = -_eT1(_mb2, _nb2);
_pb2._Wo1 = _fT1(_Ea2, _Fa2) + _fT1(_Fa2, _j92) + _fT1(_j92, _Ea2);
this._ha2++;
}
};
_jb2._b92(_BW1);
}
if (_cb2._x92 & _l92._U92) {
this._rb2(_UJ1);
}
return _UJ1;
},
_c82: function (_d82, _e82) {
_uR1(_d82 != _e82);
this._sb2(_e82._C92, _e82._D92, this._cV1);
_uR1(_e82._D92 == this._cV1);
this._sb2(_d82._C92, _d82._D92, _e82._C92);
this._uR1(_d82._D92 == _e82._C92);
var _tb2 = 0;
for (var _X9 = _d82._C92; _X9 < _e82._D92; _X9++) {
_tb2 |= this._6a2.data[_X9];
}
this._hb2(!0);
if (_tb2 & _762._Ja2) {
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
if (_l41 > _e21) {
var _ib2 = _l41;
_l41 = _e21;
_e21 = _ib2;
}
if (_d82._C92 <= _l41 && _l41 < _d82._D92 && _e82._C92 <= _e21 && _e21 < _e82._D92) {
if (this._gW1 >= this._ga2) {
var _2b2 = this._ga2;
var _3b2 = this._gW1 ? 2 * this._gW1 : __R1;
this._hW1 = this._0b2(this._hW1, _2b2, _3b2);
this._ga2 = _3b2;
}
var _JW1 = (this._hW1[this._gW1] = new _762._Ba2());
_JW1._0X1 = _l41;
_JW1._1X1 = _e21;
_JW1._DP1 = _F32._DP1;
_JW1._y92 = _GT1(_d82._F92, _e82._F92);
_JW1._EU1 = _kT1(this._S92.data[_l41], this._S92.data[_e21]);
this._gW1++;
}
}
}
if (_tb2 & _762._Ka2) {
}
for (var _X9 = _e82._C92; _X9 < _e82._D92; _X9++) {
this._ba2[_X9] = _d82;
}
var _x92 = _d82._E92 | _e82._E92;
_d82._E92 = _x92;
_d82._D92 = _e82._D92;
_e82._C92 = _e82._D92;
this._ub2(_e82);
if (_x92 & _l92._U92) {
this._rb2(_d82);
}
},
_ub2: function (_UJ1) {
_uR1(this._ka2 > 0);
_uR1(_UJ1);
if (this._X22._R52) {
this._X22._R52._vb2(_UJ1);
}
for (var _X9 = _UJ1._C92; _X9 < _UJ1._D92; _X9++) {
this._ba2[_X9] = null;
}
if (_UJ1._132) {
_UJ1._132._232 = _UJ1._232;
}
if (_UJ1._232) {
_UJ1._232._132 = _UJ1._132;
}
if (_UJ1 == this._la2) {
this._la2 = _UJ1._232;
}
--this._ka2;
},
_rb2: function (_UJ1) {
for (var _X9 = _UJ1._C92; _X9 < _UJ1._D92; _X9++) {
this._8a2[_X9] = 0;
}
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
if (_l41 >= _UJ1._C92 && _l41 < _UJ1._D92 && _e21 >= _UJ1._C92 && _e21 < _UJ1._D92) {
var _Z9 = _F32._X92;
this._8a2[_l41] += _Z9;
this._8a2[_e21] += _Z9;
}
}
this._aa2 = this._8b2(this._aa2);
for (var _X9 = _UJ1._C92; _X9 < _UJ1._D92; _X9++) {
var _Z9 = this._8a2[_X9];
this._aa2[_X9] = _Z9 < 0.8 ? 0 : _wR1;
}
var _wb2 = _UJ1._C82();
for (var _d21 = 0; _d21 < _wb2; _d21++) {
var _892 = !1;
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
if (_l41 >= _UJ1._C92 && _l41 < _UJ1._D92 && _e21 >= _UJ1._C92 && _e21 < _UJ1._D92) {
var _b21 = 1 - _F32._X92;
var _xb2 = this._aa2[_l41];
var _yb2 = this._aa2[_e21];
var _zb2 = _yb2 + _b21;
var _Ab2 = _xb2 + _b21;
if (_xb2 > _zb2) {
_xb2 = _zb2;
_892 = !0;
}
if (_yb2 > _Ab2) {
_yb2 = _Ab2;
_892 = !0;
}
this._aa2[_l41] = _xb2;
this._aa2[_e21] = _yb2;
}
}
if (!_892) {
break;
}
}
for (var _X9 = _UJ1._C92; _X9 < _UJ1._D92; _X9++) {
var _ot1 = this._aa2[_X9];
if (_ot1 < _wR1) {
_ot1 *= this._1a2;
} else {
_ot1 = 0;
}
this._aa2[_X9] = _ot1;
}
},
_p72: function (_l41, _e21) {
var _Ce1 = _iS1._pS1(this._S92.data[_e21], this._S92.data[_l41]);
var _Bb2 = _eT1(_Ce1, _Ce1);
if (_Bb2 < this._3a2) {
if (this._772 >= this._H72) {
var _2b2 = this._H72;
var _3b2 = this._772 ? 2 * this._772 : __R1;
this._t82 = this._0b2(this._t82, _2b2, _3b2);
this._H72 = _3b2;
}
var _Cb2 = _hS1(_Bb2);
var _F32 = (this._t82[this._772] = new _W92());
_F32._0X1 = _l41;
_F32._1X1 = _e21;
_F32._DP1 = this._6a2.data[_l41] | this._6a2.data[_e21];
_F32._X92 = 1 - _Bb2 * _Cb2 * this._2a2;
_F32._FU1._IE1(_iS1.Multiply(_Cb2, _Ce1));
this._772++;
}
},
_hb2: function (_Db2) {
var _Eb2 = 0;
var _Fb2 = this._fW1;
for (var _Gb2 = _Eb2; _Gb2 < _Fb2; ++_Gb2) {
var _952 = this._ea2[_Gb2];
var _X9 = _952.index;
var _ot1 = this._S92.data[_X9];
_952._Z82 = _Wa2(this._2a2 * _ot1.x, this._2a2 * _ot1.y);
}
this._ea2._0R1(_Eb2, _Fb2, function (_l41, _e21) {
return _762._xa2._ya2(_l41, _e21);
});
this._772 = 0;
for (var _l41 = _Eb2, _Y9 = _Eb2; _l41 < _Fb2; _l41++) {
var _Hb2 = _Xa2(this._ea2[_l41]._Z82, 1, 0);
for (var _e21 = _l41 + 1; _e21 < _Fb2; _e21++) {
if (_Hb2 < this._ea2[_e21]._Z82) break;
this._p72(this._ea2[_l41].index, this._ea2[_e21].index);
}
var _Ib2 = _Xa2(this._ea2[_l41]._Z82, -1, 1);
for (; _Y9 < _Fb2; _Y9++) {
if (_Ib2 <= this._ea2[_Y9]._Z82) break;
}
var _Jb2 = _Xa2(this._ea2[_l41]._Z82, 1, 1);
for (var _e21 = _Y9; _e21 < _Fb2; _e21++) {
if (_Jb2 < this._ea2[_e21]._Z82) break;
this._p72(this._ea2[_l41].index, this._ea2[_e21].index);
}
}
if (_Db2) {
this._772 = this._t82._4R1(__a2, this._772);
}
},
_Kb2: function () {
var _zU1 = new _5Z1();
_zU1._RU1.x = +_wR1;
_zU1._RU1.y = +_wR1;
_zU1._SU1.x = -_wR1;
_zU1._SU1.y = -_wR1;
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
var _ot1 = this._S92.data[_X9];
_zU1._RU1._IE1(_HT1(_zU1._RU1, _ot1));
_zU1._SU1._IE1(_JT1(_zU1._SU1, _ot1));
}
_zU1._RU1.x -= this._1a2;
_zU1._RU1.y -= this._1a2;
_zU1._SU1.x += this._1a2;
_zU1._SU1.y += this._1a2;
this._y82 = 0;
function _Lb2(_D82) {
this._B92 = _D82;
}
_Lb2.prototype = {
_v52: function (_2F1) {
if (_2F1._Z42()) {
return !0;
}
var _NU1 = _2F1._X42();
var _e21 = _2F1._352();
var _Q62 = _e21._O32();
var _Mb2 = _e21._242();
var _Nb2 = _e21._342() - _Mb2 * _e21._P32()._qS1();
var _Ob2 = _Mb2 > 0 ? 1 / _Mb2 : 0;
var _Pb2 = _Nb2 > 0 ? 1 / _Nb2 : 0;
var _852 = _NU1._uU1();
for (var _xU1 = 0; _xU1 < _852; _xU1++) {
var _zU1 = _2F1._752(_xU1)._b01();
_zU1._RU1.x -= this._B92._1a2;
_zU1._RU1.y -= this._B92._1a2;
_zU1._SU1.x += this._B92._1a2;
_zU1._SU1.y += this._B92._1a2;
var _Eb2 = 0;
var _Fb2 = this._B92._fW1;
var _Qb2 = this._B92._ea2._6R1(_Eb2, _Fb2, _Wa2(this._B92._2a2 * _zU1._RU1.x, this._B92._2a2 * _zU1._RU1.y), function (_l41, _e21) {
return _762._xa2._Aa2(_l41, _e21);
});
var _Rb2 = this._B92._ea2._9R1(_Qb2, _Fb2, _Wa2(this._B92._2a2 * _zU1._SU1.x, this._B92._2a2 * _zU1._SU1.y), function (_l41, _e21) {
return _762._xa2._za2(_l41, _e21);
});
for (var _952 = _Qb2; _952 != _Rb2; ++_952) {
var _Sb2 = this._B92._ea2[_952];
var _l41 = _Sb2.index;
var _Tb2 = this._B92._S92.data[_l41];
if (_zU1._RU1.x <= _Tb2.x && _Tb2.x <= _zU1._SU1.x && _zU1._RU1.y <= _Tb2.y && _Tb2.y <= _zU1._SU1.y) {
var _Ce1 = [0];
var _W11 = new _iS1();
_2F1._DU1(_Tb2, _Ce1, _W11, _xU1);
if (_Ce1[0] < this._B92._1a2) {
var _Ub2 = this._B92._6a2.data[_l41] & _l92._o92 ? 0 : this._B92._Vb2();
var _Wb2 = _iS1._pS1(_Tb2, _Q62);
var _Xb2 = _fT1(_Wb2, _W11);
if (this._B92._y82 >= this._B92._fa2) {
var _2b2 = this._B92._fa2;
var _3b2 = this._B92._y82 ? 2 * this._B92._y82 : __R1;
this._B92._w82 = this._B92._0b2(this._B92._w82, _2b2, _3b2);
this._B92._fa2 = _3b2;
}
var _F32 = (this._B92._w82[this._B92._y82] = new _Y92());
_F32.index = _l41;
_F32.body = _e21;
_F32._X92 = 1 - _Ce1[0] * this._B92._2a2;
_F32._FU1._IE1(_W11._mS1());
_F32._pU1 = 1 / (_Ub2 + _Ob2 + _Pb2 * _Xb2 * _Xb2);
this._B92._y82++;
}
}
}
}
return !0;
},
_w52: function (_X9) {
return !1;
},
};
var _BW1 = new _Lb2(this);
this._X22._S62(_BW1, _zU1);
},
_HS1: function (_7R1) {
++this._G92;
if (this._cV1 == 0) {
return;
}
this._Z92 = 0;
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
this._Z92 |= this._6a2.data[_X9];
}
if (this._Z92 & _l92._n92) {
this._Yb2();
}
this.__92 = 0;
for (var _UJ1 = this._la2; _UJ1; _UJ1 = _UJ1._C42()) {
this.__92 |= _UJ1._E92;
}
var _P52 = _iS1.Multiply(_7R1._z52 * this._732, this._X22._972());
var _Zb2 = this.__b2(_7R1);
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
var _J41 = this._T92.data[_X9];
_J41._Da1(_P52);
var _c61 = _eT1(_J41, _J41);
if (_c61 > _Zb2) {
_J41.Multiply(_fS1(_Zb2 / _c61));
}
}
this._0c2(_7R1);
if (this.__92 & _A92._V92) {
this._1c2(_7R1);
}
if (this._Z92 & _l92._o92) {
this._2c2(_7R1);
}
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
this._S92.data[_X9]._Da1(_iS1.Multiply(_7R1._z52, this._T92.data[_X9]));
}
this._Kb2();
this._hb2(!1);
if (this._Z92 & _l92._r92) {
this._3c2(_7R1);
}
if (this._Z92 & _l92._s92) {
this._4c2(_7R1);
}
if (this._Z92 & _l92._t92) {
this._5c2(_7R1);
}
if (this._Z92 & _l92._q92) {
this._6c2(_7R1);
}
if (this._Z92 & _l92._p92) {
this._7c2(_7R1);
}
if (this.__92 & _A92._U92) {
this._8c2(_7R1);
}
if (this._Z92 & _l92._u92) {
this._9c2(_7R1);
}
this._ac2(_7R1);
this._bc2(_7R1);
},
_0c2: function (_7R1) {
var _zU1 = new _5Z1();
_zU1._RU1.x = +_wR1;
_zU1._RU1.y = +_wR1;
_zU1._SU1.x = -_wR1;
_zU1._SU1.y = -_wR1;
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
var _J41 = this._T92.data[_X9];
var _Fe1 = this._S92.data[_X9];
var _5U1 = _iS1._Da1(_Fe1, _iS1.Multiply(_7R1._z52, _J41));
_zU1._RU1 = _HT1(_zU1._RU1, _HT1(_Fe1, _5U1));
_zU1._SU1 = _JT1(_zU1._SU1, _JT1(_Fe1, _5U1));
}
function _cc2(_D82, _7R1) {
this._B92 = _D82;
this._dc2 = _7R1;
}
_cc2.prototype = {
_v52: function (_2F1) {
if (_2F1._Z42()) {
return !0;
}
var _NU1 = _2F1._X42();
var body = _2F1._352();
var _Eb2 = 0;
var _Fb2 = this._B92._fW1;
var _852 = _NU1._uU1();
for (var _xU1 = 0; _xU1 < _852; _xU1++) {
var _zU1 = _2F1._752(_xU1)._b01();
_zU1._RU1.x -= this._B92._1a2;
_zU1._RU1.y -= this._B92._1a2;
_zU1._SU1.x += this._B92._1a2;
_zU1._SU1.y += this._B92._1a2;
var _Qb2 = this._B92._ea2._6R1(_Eb2, _Fb2, _Wa2(this._B92._2a2 * _zU1._RU1.x, this._B92._2a2 * _zU1._RU1.y), function (_l41, _e21) {
return _762._xa2._Aa2(_l41, _e21);
});
var _Rb2 = this._B92._ea2._9R1(_Qb2, _Fb2, _Wa2(this._B92._2a2 * _zU1._SU1.x, this._B92._2a2 * _zU1._SU1.y), function (_l41, _e21) {
return _762._xa2._za2(_l41, _e21);
});
for (var _952 = _Qb2; _952 != _Rb2; ++_952) {
var _Sb2 = this._B92._ea2[_952];
var _l41 = _Sb2.index;
var _Tb2 = this._B92._S92.data[_l41];
if (_zU1._RU1.x <= _Tb2.x && _Tb2.x <= _zU1._SU1.x && _zU1._RU1.y <= _Tb2.y && _Tb2.y <= _zU1._SU1.y) {
var _ec2 = this._B92._T92.data[_l41];
var _Kr1 = new _4Z1();
var _Ir1 = new _3Z1();
_Ir1._Fe1 = _vT1(body._T_1, _xT1(body._Y22, _Tb2));
_Ir1._5U1 = _iS1._Da1(_Tb2, _iS1.Multiply(this._dc2._z52, _ec2));
_Ir1._PU1 = 1;
if (_2F1._wU1(_Kr1, _Ir1, _xU1)) {
var _ot1 = _iS1._Da1(_iS1._Da1(_iS1.Multiply(1 - _Kr1._QU1, _Ir1._Fe1), _iS1.Multiply(_Kr1._QU1, _Ir1._5U1)), _iS1.Multiply(_DR1, _Kr1._FU1));
var _J41 = _iS1.Multiply(this._dc2._A52, _iS1._pS1(_ot1, _Tb2));
this._B92._T92.data[_l41]._IE1(_J41);
var _xp1 = _iS1.Multiply(this._B92._R92(), _iS1._pS1(_ec2, _J41));
_xp1 = _iS1.Multiply(_eT1(_xp1, _Kr1._FU1), _Kr1._FU1);
body.__32(_xp1, _ot1, !0);
}
}
}
}
return !0;
},
_w52: function (_X9) {
return !1;
},
};
var _BW1 = new _cc2(this, _7R1);
this._X22._S62(_BW1, _zU1);
},
_ac2: function (_7R1) {
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
this._8a2[_X9] = 0;
}
for (var _Sc1 = 0; _Sc1 < this._y82; _Sc1++) {
var _F32 = this._w82[_Sc1];
var _l41 = _F32.index;
var _Z9 = _F32._X92;
this._8a2[_l41] += _Z9;
}
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
var _Z9 = _F32._X92;
this._8a2[_l41] += _Z9;
this._8a2[_e21] += _Z9;
}
if (this._Z92 & _762._La2) {
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
if (this._6a2.data[_X9] & _762._La2) {
this._8a2[_X9] = 0;
}
}
}
var _fc2 = this._ma2 * this._gc2(_7R1);
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
var _Z9 = this._8a2[_X9];
var __9 = _fc2 * _IT1(0.0, _GT1(_Z9, _XR1) - _WR1);
this._8a2[_X9] = __9;
}
var _hc2 = _7R1._z52 / (this._A32 * this._1a2);
for (var _Sc1 = 0; _Sc1 < this._y82; _Sc1++) {
var _F32 = this._w82[_Sc1];
var _l41 = _F32.index;
var _e21 = _F32.body;
var _Z9 = _F32._X92;
var _Z11 = _F32._pU1;
var _W11 = _F32._FU1;
var _ot1 = this._S92.data[_l41];
var __9 = this._8a2[_l41] + _fc2 * _Z9;
var _xp1 = _iS1.Multiply(_hc2 * _Z9 * _Z11 * __9, _W11);
this._T92.data[_l41]._pS1(_iS1.Multiply(this._Vb2(), _xp1));
_e21.__32(_xp1, _ot1, !0);
}
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
var _Z9 = _F32._X92;
var _W11 = _F32._FU1;
var __9 = this._8a2[_l41] + this._8a2[_e21];
var _xp1 = _iS1.Multiply(_hc2 * _Z9 * __9, _W11);
this._T92.data[_l41]._pS1(_xp1);
this._T92.data[_e21]._Da1(_xp1);
}
},
_bc2: function (_7R1) {
var _382 = this._na2;
for (var _Sc1 = 0; _Sc1 < this._y82; _Sc1++) {
var _F32 = this._w82[_Sc1];
var _l41 = _F32.index;
var _e21 = _F32.body;
var _Z9 = _F32._X92;
var _Z11 = _F32._pU1;
var _W11 = _F32._FU1;
var _ot1 = this._S92.data[_l41];
var _J41 = _iS1._pS1(_e21._d42(_ot1), this._T92.data[_l41]);
var _ic2 = _eT1(_J41, _W11);
if (_ic2 < 0) {
var _xp1 = _iS1.Multiply(_382 * _Z9 * _Z11 * _ic2, _W11);
this._T92.data[_l41]._Da1(_iS1.Multiply(this._Vb2(), _xp1));
_e21.__32(_xp1._mS1(), _ot1, !0);
}
}
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
var _Z9 = _F32._X92;
var _W11 = _F32._FU1;
var _J41 = _iS1._pS1(this._T92.data[_e21], this._T92.data[_l41]);
var _ic2 = _eT1(_J41, _W11);
if (_ic2 < 0) {
var _xp1 = _iS1.Multiply(_382 * _Z9 * _ic2, _W11);
this._T92.data[_l41]._Da1(_xp1);
this._T92.data[_e21]._pS1(_xp1);
}
}
},
_2c2: function (_7R1) {
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
if (this._6a2.data[_X9] & _l92._o92) {
this._T92.data[_X9]._jS1();
}
}
},
_1c2: function (_7R1) {
for (var _UJ1 = this._la2; _UJ1; _UJ1 = _UJ1._C42()) {
if (_UJ1._E92 & _A92._V92) {
_UJ1._Q92();
var rotation = new _ZS1(_7R1._z52 * _UJ1._432);
var transform = new _2T1(_iS1._Da1(_UJ1._I92, _iS1._pS1(_iS1.Multiply(_7R1._z52, _UJ1._332), _tT1(rotation, _UJ1._I92))), rotation);
_UJ1._J92 = _yT1(transform, _UJ1._J92);
var _jc2 = new _2T1();
_jc2._ot1.x = _7R1._A52 * transform._ot1.x;
_jc2._ot1.y = _7R1._A52 * transform._ot1.y;
_jc2._Yr1._Wo1 = _7R1._A52 * transform._Yr1._Wo1;
_jc2._Yr1._Y9 = _7R1._A52 * (transform._Yr1._Y9 - 1);
for (var _X9 = _UJ1._C92; _X9 < _UJ1._D92; _X9++) {
this._T92.data[_X9]._IE1(_vT1(_jc2, this._S92.data[_X9]));
}
}
}
},
_6c2: function (_7R1) {
var _kc2 = _7R1._A52 * this._oa2;
for (var _Sc1 = 0; _Sc1 < this._ha2; _Sc1++) {
var _pb2 = this._ja2[_Sc1];
if (_pb2._DP1 & _l92._q92) {
var _l41 = _pb2._0X1;
var _e21 = _pb2._1X1;
var _Y9 = _pb2._Da2;
var _ib2 = _pb2._Ea2;
var _lc2 = _pb2._Fa2;
var _mc2 = _pb2._j92;
var _Ea2 = this._S92.data[_l41];
var _Fa2 = this._S92.data[_e21];
var _j92 = this._S92.data[_Y9];
var _ot1 = _iS1.Multiply(1 / 3, _iS1._Da1(_Ea2, _iS1._Da1(_Fa2, _j92)));
var _b21 = new _ZS1();
_b21._Wo1 = _fT1(_ib2, _Ea2) + _fT1(_lc2, _Fa2) + _fT1(_mc2, _j92);
_b21._Y9 = _eT1(_ib2, _Ea2) + _eT1(_lc2, _Fa2) + _eT1(_mc2, _j92);
var _0r1 = _b21._Wo1 * _b21._Wo1 + _b21._Y9 * _b21._Y9;
var _nc2 = _hS1(_0r1);
_b21._Wo1 *= _nc2;
_b21._Y9 *= _nc2;
var _y92 = _kc2 * _pb2._y92;
this._T92.data[_l41]._Da1(_iS1.Multiply(_y92, _iS1._pS1(_iS1.Multiply(_ib2, _b21), _iS1._pS1(_Ea2, _ot1))));
this._T92.data[_e21]._Da1(_iS1.Multiply(_y92, _iS1._pS1(_iS1.Multiply(_lc2, _b21), _iS1._pS1(_Fa2, _ot1))));
this._T92.data[_Y9]._Da1(_iS1.Multiply(_y92, _iS1._pS1(_iS1.Multiply(_mc2, _b21), _iS1._pS1(_j92, _ot1))));
}
}
},
_7c2: function (_7R1) {
var _oc2 = _7R1._A52 * this._pa2;
for (var _Sc1 = 0; _Sc1 < this._gW1; _Sc1++) {
var _JW1 = this._hW1[_Sc1];
if (_JW1._DP1 & _l92._p92) {
var _l41 = _JW1._0X1;
var _e21 = _JW1._1X1;
var _Ce1 = _iS1._pS1(this._S92.data[_e21], this._S92.data[_l41]);
var _pc2 = _JW1._EU1;
var __q1 = _Ce1.Length();
var _y92 = _oc2 * _JW1._y92;
var _xp1 = _iS1.Multiply((_y92 * (_pc2 - __q1)) / __q1, _Ce1);
this._T92.data[_l41]._pS1(_xp1);
this._T92.data[_e21]._Da1(_xp1);
}
}
},
_5c2: function (_7R1) {
this._9a2 = this._8b2(this._9a2);
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
this._8a2[_X9] = 0;
this._9a2[_X9] = new _iS1();
}
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
if (_F32._DP1 & _l92._t92) {
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
var _Z9 = _F32._X92;
var _W11 = _F32._FU1;
this._8a2[_l41] += _Z9;
this._8a2[_e21] += _Z9;
this._9a2[_l41]._pS1(_iS1.Multiply((1 - _Z9) * _Z9, _W11));
this._9a2[_e21]._Da1(_iS1.Multiply((1 - _Z9) * _Z9, _W11));
}
}
var _qc2 = this._ra2 * this._rc2(_7R1);
var _sc2 = this._sa2 * this._rc2(_7R1);
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
if (_F32._DP1 & _l92._t92) {
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
var _Z9 = _F32._X92;
var _W11 = _F32._FU1;
var __9 = this._8a2[_l41] + this._8a2[_e21];
var _Wo1 = _iS1._pS1(this._9a2[_e21], this._9a2[_l41]);
var _tc2 = (_qc2 * (__9 - 2) + _sc2 * _eT1(_Wo1, _W11)) * _Z9;
var _xp1 = _iS1.Multiply(_tc2, _W11);
this._T92.data[_l41]._pS1(_xp1);
this._T92.data[_e21]._Da1(_xp1);
}
}
},
_3c2: function (_7R1) {
var _uc2 = this._qa2;
for (var _Sc1 = 0; _Sc1 < this._y82; _Sc1++) {
var _F32 = this._w82[_Sc1];
var _l41 = _F32.index;
if (this._6a2.data[_l41] & _l92._r92) {
var _e21 = _F32.body;
var _Z9 = _F32._X92;
var _Z11 = _F32._pU1;
var _ot1 = this._S92.data[_l41];
var _J41 = _iS1._pS1(_e21._d42(_ot1), this._T92.data[_l41]);
var _xp1 = _iS1.Multiply(_uc2 * _Z11 * _Z9, _J41);
this._T92.data[_l41]._Da1(_iS1.Multiply(this._Vb2(), _xp1));
_e21.__32(_xp1._mS1(), _ot1, !0);
}
}
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
if (_F32._DP1 & _l92._r92) {
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
var _Z9 = _F32._X92;
var _J41 = _iS1._pS1(this._T92.data[_e21], this._T92.data[_l41]);
var _xp1 = _iS1.Multiply(_uc2 * _Z9, _J41);
this._T92.data[_l41]._Da1(_xp1);
this._T92.data[_e21]._pS1(_xp1);
}
}
},
_4c2: function (_7R1) {
var _vc2 = this._ta2 * this._rc2(_7R1);
var _wc2 = 1.0 - _VR1;
for (var _Sc1 = 0; _Sc1 < this._y82; _Sc1++) {
var _F32 = this._w82[_Sc1];
var _l41 = _F32.index;
if (this._6a2.data[_l41] & _l92._s92) {
var _Z9 = _F32._X92;
if (_Z9 > _wc2) {
var _e21 = _F32.body;
var _Z11 = _F32._pU1;
var _ot1 = this._S92.data[_l41];
var _W11 = _F32._FU1;
var _xp1 = _iS1.Multiply(_vc2 * _Z11 * (_Z9 - _wc2), _W11);
this._T92.data[_l41]._pS1(_iS1.Multiply(this._Vb2(), _xp1));
_e21.__32(_xp1, _ot1, !0);
}
}
}
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
if (_F32._DP1 & _l92._s92) {
var _Z9 = _F32._X92;
if (_Z9 > _wc2) {
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
var _W11 = _F32._FU1;
var _xp1 = _iS1.Multiply(_vc2 * (_Z9 - _wc2), _W11);
this._T92.data[_l41]._pS1(_xp1);
this._T92.data[_e21]._Da1(_xp1);
}
}
}
},
_8c2: function (_7R1) {
this._aa2 = this._8b2(this._aa2);
var _xc2 = _7R1._A52 * this._ua2;
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
if (this._ba2[_l41] != this._ba2[_e21]) {
var _Z9 = _F32._X92;
var _W11 = _F32._FU1;
var __9 = this._aa2[_l41] + this._aa2[_e21];
var _xp1 = _iS1.Multiply(_xc2 * __9 * _Z9, _W11);
this._T92.data[_l41]._pS1(_xp1);
this._T92.data[_e21]._Da1(_xp1);
}
}
},
_9c2: function (_7R1) {
this._H82.data = this._8b2(this._H82.data);
var _yc2 = Math.floor(256 * this._va2);
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
if (this._6a2.data[_l41] & this._6a2.data[_e21] & _l92._u92) {
var _zc2 = this._H82.data[_l41];
var _Ac2 = this._H82.data[_e21];
var _Bc2 = (_yc2 * (_Ac2._b21 - _zc2._b21)) >> 8;
var _Cc2 = (_yc2 * (_Ac2._k41 - _zc2._k41)) >> 8;
var _Dc2 = (_yc2 * (_Ac2._e21 - _zc2._e21)) >> 8;
var _Ec2 = (_yc2 * (_Ac2._l41 - _zc2._l41)) >> 8;
_zc2._b21 += _Bc2;
_zc2._k41 += _Cc2;
_zc2._e21 += _Dc2;
_zc2._l41 += _Ec2;
_Ac2._b21 -= _Bc2;
_Ac2._k41 -= _Cc2;
_Ac2._e21 -= _Dc2;
_Ac2._l41 -= _Ec2;
}
}
},
_Yb2: function () {
var _uL1 = 0;
var _Fc2 = new Array(this._cV1);
for (var _X9 = 0; _X9 < this._cV1; _X9++) {
var _DP1 = this._6a2.data[_X9];
if (_DP1 & _l92._n92) {
var _Gc2 = this._X22._R52;
if (_DP1 & _l92._v92 && _Gc2) {
_Gc2._g52(_X9);
}
_Fc2[_X9] = _UR1;
} else {
_Fc2[_X9] = _uL1;
if (_X9 != _uL1) {
this._6a2.data[_uL1] = this._6a2.data[_X9];
this._S92.data[_uL1] = this._S92.data[_X9];
this._T92.data[_uL1] = this._T92.data[_X9];
this._ba2[_uL1] = this._ba2[_X9];
if (this._aa2) {
this._aa2[_uL1] = this._aa2[_X9];
}
if (this._H82.data) {
this._H82.data[_uL1] = this._H82.data[_X9];
}
if (this._ca2.data) {
this._ca2.data[_uL1] = this._ca2.data[_X9];
}
}
_uL1++;
}
}
var _Hc2 = {
_Ic2: function (_952) {
return _952.index < 0;
},
_Jc2: function (_F32) {
return _F32._0X1 < 0 || _F32._1X1 < 0;
},
_Kc2: function (_F32) {
return _F32.index < 0;
},
_Lc2: function (_JW1) {
return _JW1._0X1 < 0 || _JW1._1X1 < 0;
},
_Mc2: function (_pb2) {
return _pb2._0X1 < 0 || _pb2._1X1 < 0 || _pb2._Da2 < 0;
},
};
for (var _Sc1 = 0; _Sc1 < this._fW1; _Sc1++) {
var _952 = this._ea2[_Sc1];
_952.index = _Fc2[_952.index];
}
if (this._ea2) {
this._fW1 = this._ea2._4R1(_Hc2._Ic2, this._fW1);
}
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
_F32._0X1 = _Fc2[_F32._0X1];
_F32._1X1 = _Fc2[_F32._1X1];
}
if (this._t82) {
this._772 = this._t82._4R1(_Hc2._Jc2, this._772);
}
for (var _Sc1 = 0; _Sc1 < this._y82; _Sc1++) {
var _F32 = this._w82[_Sc1];
_F32.index = _Fc2[_F32.index];
}
if (this._w82) {
this._y82 = this._w82._4R1(_Hc2._Kc2, this._y82);
}
for (var _Sc1 = 0; _Sc1 < this._gW1; _Sc1++) {
var _JW1 = this._hW1[_Sc1];
_JW1._0X1 = _Fc2[_JW1._0X1];
_JW1._1X1 = _Fc2[_JW1._1X1];
}
if (this._hW1) {
this._gW1 = this._hW1._4R1(_Hc2._Lc2, this._gW1);
}
for (var _Sc1 = 0; _Sc1 < this._ha2; _Sc1++) {
var _pb2 = this._ja2[_Sc1];
_pb2._0X1 = _Fc2[_pb2._0X1];
_pb2._1X1 = _Fc2[_pb2._1X1];
_pb2._Da2 = _Fc2[_pb2._Da2];
}
if (this._ja2) {
this._ha2 = this._ja2._4R1(_Hc2._Mc2, this._ha2);
}
for (var _UJ1 = this._la2; _UJ1; _UJ1 = _UJ1._C42()) {
var _eb2 = _uL1;
var lastIndex = 0;
var _Nc2 = !1;
for (var _X9 = _UJ1._C92; _X9 < _UJ1._D92; _X9++) {
var _i21 = _Fc2[_X9];
if (_i21 >= 0) {
_eb2 = _GT1(_eb2, _i21);
lastIndex = _IT1(lastIndex, _i21 + 1);
} else {
_Nc2 = !0;
}
}
if (_eb2 < lastIndex) {
_UJ1._C92 = _eb2;
_UJ1._D92 = lastIndex;
if (_Nc2) {
if (_UJ1._E92 & _A92._V92) {
_UJ1._M92 = !0;
}
}
} else {
_UJ1._C92 = 0;
_UJ1._D92 = 0;
if (_UJ1._K92) {
_UJ1._L92 = !0;
}
}
}
this._cV1 = _uL1;
for (var _UJ1 = this._la2; _UJ1; ) {
var _Vc1 = _UJ1._C42();
if (_UJ1._L92) {
this._ub2(_UJ1);
}
_UJ1 = _Vc1;
}
},
_sb2: function (start, _Oc2, end) {
if (start == _Oc2 || _Oc2 == end) {
return;
}
function _Fc2(_X9) {
if (_X9 < start) {
return _X9;
} else if (_X9 < _Oc2) {
return _X9 + end - _Oc2;
} else if (_X9 < end) {
return _X9 + start - _Oc2;
} else {
return _X9;
}
}
this._6a2.data.rotate(start, _Oc2, end);
this._S92.data.rotate(start, _Oc2, end);
this._T92.data.rotate(start, _Oc2, end);
this._ba2.rotate(start, _Oc2, end);
if (this._aa2) {
this._aa2.rotate(start, _Oc2, end);
}
if (this._H82.data) {
this._H82.data.rotate(start, _Oc2, end);
}
if (this._ca2.data) {
this._ca2.data.rotate(start, _Oc2, end);
}
for (var _Sc1 = 0; _Sc1 < this._fW1; _Sc1++) {
var _952 = this._ea2[_Sc1];
_952.index = _Fc2(_952.index);
}
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
_F32._0X1 = _Fc2(_F32._0X1);
_F32._1X1 = _Fc2(_F32._1X1);
}
for (var _Sc1 = 0; _Sc1 < this._y82; _Sc1++) {
var _F32 = this._w82[_Sc1];
_F32.index = _Fc2(_F32.index);
}
for (var _Sc1 = 0; _Sc1 < this._gW1; _Sc1++) {
var _JW1 = this._hW1[_Sc1];
_JW1._0X1 = _Fc2(_JW1._0X1);
_JW1._1X1 = _Fc2(_JW1._1X1);
}
for (var _Sc1 = 0; _Sc1 < this._ha2; _Sc1++) {
var _pb2 = this._ja2[_Sc1];
_pb2._0X1 = _Fc2(_pb2._0X1);
_pb2._1X1 = _Fc2(_pb2._1X1);
_pb2._Da2 = _Fc2(_pb2._Da2);
}
for (var _UJ1 = this._la2; _UJ1; _UJ1 = _UJ1._C42()) {
_UJ1._C92 = _Fc2(_UJ1._C92);
_UJ1._D92 = _Fc2(_UJ1._D92 - 1) + 1;
}
},
_582: function (_2U1) {
this._1a2 = 2 * _2U1;
this._3a2 = this._1a2 * this._1a2;
this._2a2 = 1 / this._1a2;
},
_Z72: function (_CU1) {
this._A32 = _CU1;
this._0a2 = 1 / this._A32;
},
__72: function () {
return this._A32;
},
_082: function (_N22) {
this._732 = _N22;
},
_182: function () {
return this._732;
},
_282: function (_382) {
this._na2 = _382;
},
_482: function () {
return this._na2;
},
_682: function () {
return this._1a2 / 2;
},
_rc2: function (_7R1) {
return this._1a2 * _7R1._A52;
},
__b2: function (_7R1) {
var _kH1 = this._rc2(_7R1);
return _kH1 * _kH1;
},
_gc2: function (_7R1) {
return this._A32 * this.__b2(_7R1);
},
_db2: function () {
return _VR1 * this._1a2;
},
_R92: function () {
var _y51 = this._db2();
return this._A32 * _y51 * _y51;
},
_Vb2: function () {
return 1.777777 * this._0a2 * this._2a2 * this._2a2;
},
_g82: function () {
return this._6a2.data;
},
_h82: function () {
return this._S92.data;
},
_i82: function () {
return this._T92.data;
},
_j82: function () {
this._H82.data = this._8b2(this._H82.data);
return this._H82.data;
},
_k82: function () {
this._ca2.data = this._8b2(this._ca2.data);
return this._ca2.data;
},
_X72: function () {
return this._5a2;
},
_Y72: function (_d31) {
_uR1(this._cV1 <= _d31);
this._5a2 = _d31;
},
_l82: function () {
return this._ba2;
},
_Pc2: function (buffer, _Qc2, _3b2) {
_uR1((_Qc2 && _3b2) || (!_Qc2 && !_3b2));
buffer.data = _Qc2;
buffer._wa2 = _3b2;
},
_m82: function (buffer, _n82) {
this._Pc2(this._6a2, buffer, _n82);
},
_o82: function (buffer, _n82) {
this._Pc2(this._S92, buffer, _n82);
},
_p82: function (buffer, _n82) {
this._Pc2(this._T92, buffer, _n82);
},
_q82: function (buffer, _n82) {
this._Pc2(this._H82, buffer, _n82);
},
_r82: function (buffer, _n82) {
this._Pc2(this._ca2, buffer, _n82);
},
_S62: function (_BW1, _zU1) {
if (this._fW1 == 0) {
return;
}
var _Eb2 = 0;
var _Fb2 = this._fW1;
var _Qb2 = this._ea2._6R1(_Eb2, _Fb2, _Wa2(this._2a2 * _zU1._RU1.x, this._2a2 * _zU1._RU1.y), function (_l41, _e21) {
return _762._xa2._Aa2(_l41, _e21);
});
var _Rb2 = this._ea2._9R1(_Qb2, _Fb2, _Wa2(this._2a2 * _zU1._SU1.x, this._2a2 * _zU1._SU1.y), function (_l41, _e21) {
return _762._xa2._za2(_l41, _e21);
});
for (var _952 = _Qb2; _952 < _Rb2; ++_952) {
var _Sb2 = this._ea2[_952];
var _X9 = _Sb2.index;
var _ot1 = this._S92.data[_X9];
if (_zU1._RU1.x < _ot1.x && _ot1.x < _zU1._SU1.x && _zU1._RU1.y < _ot1.y && _ot1.y < _zU1._SU1.y) {
if (!_BW1._w52(_X9)) {
break;
}
}
}
},
_wU1: function (_BW1, _U62, _V62) {
if (this._fW1 == 0) {
return;
}
var _Eb2 = 0;
var _Fb2 = this._fW1;
var _Qb2 = this._ea2._6R1(_Eb2, _Fb2, _Wa2(this._2a2 * _GT1(_U62.x, _V62.x) - 1, this._2a2 * _GT1(_U62.y, _V62.y) - 1), function (_l41, _e21) {
return _762._xa2._Aa2(_l41, _e21);
});
var _Rb2 = this._ea2._9R1(_Eb2, _Fb2, _Wa2(this._2a2 * _IT1(_U62.x, _V62.x) + 1, this._2a2 * _IT1(_U62.y, _V62.y) + 1), function (_l41, _e21) {
return _762._xa2._za2(_l41, _e21);
});
var _QU1 = 1;
var _J41 = _iS1._pS1(_V62, _U62);
var _c61 = _eT1(_J41, _J41);
for (var _952 = _Qb2; _952 < _Rb2; ++_952) {
var _Sb2 = this._ea2[_952];
var _X9 = _Sb2.index;
var _ot1 = _iS1._pS1(_U62, this._S92.data[_X9]);
var _Rc2 = _eT1(_ot1, _J41);
var _5U1 = _eT1(_ot1, _ot1);
var _Sc2 = _Rc2 * _Rc2 - _c61 * (_5U1 - this._3a2);
if (_Sc2 >= 0) {
var _Tc2 = _fS1(_Sc2);
var _d21 = (-_Rc2 - _Tc2) / _c61;
if (_d21 > _QU1) {
continue;
}
if (_d21 < 0) {
_d21 = (-_Rc2 + _Tc2) / _c61;
if (_d21 < 0 || _d21 > _QU1) {
continue;
}
}
var _W11 = _iS1._Da1(_ot1, _iS1._pS1(_d21, _J41));
_W11._rS1();
var _xp1 = _BW1._w52(_X9, _iS1._Da1(_U62, _iS1.Multiply(_d21, _J41)), _W11, _d21);
_QU1 = _GT1(_QU1, _xp1);
if (_QU1 <= 0) {
break;
}
}
}
},
_z82: function () {
var _Uc2 = 0;
for (var _Sc1 = 0; _Sc1 < this._772; _Sc1++) {
var _F32 = this._t82[_Sc1];
var _l41 = _F32._0X1;
var _e21 = _F32._1X1;
var _W11 = _F32._FU1;
var _J41 = _iS1._pS1(this._T92.data[_e21], this._T92.data[_l41]);
var _ic2 = _eT1(_J41, _W11);
if (_ic2 < 0) {
_Uc2 += _ic2 * _ic2;
}
}
return 0.5 * this._R92() * _Uc2;
},
_A82: function () {
return this._la2;
},
_B82: function () {
return this._ka2;
},
_C82: function () {
return this._cV1;
},
};
function _Vc2(_Wc2, _Xc2) {
return _fS1(_Wc2 * _Xc2);
}
function _Yc2(_Zc2, __c2) {
return _Zc2 > __c2 ? _Zc2 : __c2;
}
function _0d2() {
this._s22 = null;
this._1d2 = !1;
}
function _2d2() {
this._6Z1 = null;
this._F32 = null;
this._w62 = null;
this._Vc1 = null;
}
function _d72() {
this._3d2 = new _2d2();
this._4d2 = new _2d2();
this._5d2 = new _sY1();
}
_d72._6d2 = new _sY1();
_d72.prototype = {
_u32: function (_w72, _0X1, _x72, _1X1) {
this._t72 = 0;
this._R22 = _d72._7d2;
this._m72 = _w72 || null;
this._o72 = _x72 || null;
this._8d2 = _0X1 || 0;
this._9d2 = _1X1 || 0;
this._5d2._uY1 = 0;
this._132 = null;
this._232 = null;
this._3d2._F32 = null;
this._3d2._w62 = null;
this._3d2._Vc1 = null;
this._3d2._6Z1 = null;
this._4d2._F32 = null;
this._4d2._w62 = null;
this._4d2._Vc1 = null;
this._4d2._6Z1 = null;
this._s72 = 0;
if (_w72) {
this._V42 = _Vc2(this._m72._V42, this._o72._V42);
this._W42 = _Yc2(this._m72._W42, this._o72._W42);
} else {
this._V42 = 0;
this._W42 = 0;
}
this._ad2 = 0.0;
},
_bd2: function () {
return this._5d2;
},
_cd2: function (_dd2) {
var _z62 = this._m72._352();
var _A62 = this._o72._352();
var _G02 = this._m72._X42();
var _H02 = this._o72._X42();
_dd2._FY1(this._5d2, _z62._aT1(), _G02._sU1, _A62._aT1(), _H02._sU1);
},
_k72: function () {
return (this._R22 & _d72._ed2) == _d72._ed2;
},
_E72: function (_q42) {
if (_q42) {
this._R22 |= _d72._7d2;
} else {
this._R22 &= ~_d72._7d2;
}
},
_j72: function () {
return (this._R22 & _d72._7d2) == _d72._7d2;
},
_C42: function () {
return this._232;
},
_H32: function () {
return this._m72;
},
_M62: function () {
return this._8d2;
},
_J32: function () {
return this._o72;
},
_O62: function () {
return this._9d2;
},
_cF1: function (_O42) {
this._V42 = _O42;
},
_552: function () {
return this._V42;
},
_fd2: function () {
this._V42 = _Vc2(this._m72._V42, this._o72._V42);
},
_9F1: function (_P42) {
this._W42 = _P42;
},
_652: function () {
return this._W42;
},
_gd2: function () {
this._W42 = _Yc2(this._m72._W42, this._o72._W42);
},
_hd2: function (_E2) {
this._ad2 = _E2;
},
_id2: function () {
return this._ad2;
},
_i22: function (_vY1, _GY1, _IY1) {},
_252: function () {
this._R22 |= _d72._jd2;
},
_kd2: null,
_Va1: function (listener) {
_d72._6d2._IE1(this._5d2);
this._R22 |= _d72._7d2;
var _ld2 = !1;
var _md2 = (this._R22 & _d72._ed2) == _d72._ed2;
var _l72 = this._m72._Z42();
var _n72 = this._o72._Z42();
var _Y42 = _l72 || _n72;
var _z62 = this._m72._352();
var _A62 = this._o72._352();
var _GY1 = _z62._aT1();
var _IY1 = _A62._aT1();
if (_Y42) {
var _G02 = this._m72._X42();
var _H02 = this._o72._X42();
_ld2 = _F02(_G02, this._8d2, _H02, this._9d2, _GY1, _IY1);
this._5d2._uY1 = 0;
} else {
this._i22(this._5d2, _GY1, _IY1);
_ld2 = this._5d2._uY1 > 0;
for (var _X9 = 0; _X9 < this._5d2._uY1; ++_X9) {
var _nd2 = this._5d2._D2[_X9];
_nd2._pY1 = 0.0;
_nd2._qY1 = 0.0;
var _od2 = _nd2.id;
for (var _i21 = 0; _i21 < _d72._6d2._uY1; ++_i21) {
var _pd2 = _d72._6d2._D2[_i21];
if (_pd2.id._s11() == _od2._s11()) {
_nd2._pY1 = _pd2._pY1;
_nd2._qY1 = _pd2._qY1;
break;
}
}
}
if (_ld2 != _md2) {
_z62._qF1(!0);
_A62._qF1(!0);
}
}
if (_ld2) {
this._R22 |= _d72._ed2;
} else {
this._R22 &= ~_d72._ed2;
}
if (_md2 == !1 && _ld2 == !0 && listener) {
listener._p52(this);
}
if (_md2 == !0 && _ld2 == !1 && listener) {
listener._q52(this);
}
if (_Y42 == !1 && _ld2 && listener) {
listener._r52(this, _d72._6d2);
}
},
};
_d72._k32 = 0x0001;
_d72._ed2 = 0x0002;
_d72._7d2 = 0x0004;
_d72._jd2 = 0x0008;
_d72._qd2 = 0x0010;
_d72._l32 = 0x0020;
function _rd2() {
this.parent.call(this);
}
_rd2.prototype = {
_i22: function (_vY1, _GY1, _IY1) {
_lZ1(_vY1, this._m72._X42(), _GY1, this._o72._X42(), _IY1);
},
_u32: function (_G32, _sd2, _I32, _td2) {
this.parent.prototype._u32.call(this, _G32, 0, _I32, 0);
_uR1(this._m72._tU1() == _rU1._GU1);
_uR1(this._o72._tU1() == _rU1._GU1);
},
};
_rd2._ZQ1(_d72);
var _ud2 = new _XU1();
function _vd2() {
this.parent.call(this);
}
_vd2.prototype = {
_i22: function (_vY1, _GY1, _IY1) {
var _WW1 = this._m72._X42();
_WW1._oV1(_ud2, this._8d2);
_v_1(_vY1, _ud2, _GY1, this._o72._X42(), _IY1);
},
_u32: function (_G32, _0X1, _I32, _1X1) {
this.parent.prototype._u32.call(this, _G32, _0X1, _I32, _1X1);
_uR1(this._m72._tU1() == _rU1._JU1);
_uR1(this._o72._tU1() == _rU1._GU1);
},
};
_vd2._ZQ1(_d72);
function _wd2() {
this.parent.call(this);
}
_wd2.prototype = {
_i22: function (_vY1, _GY1, _IY1) {
var _WW1 = this._m72._X42();
_WW1._oV1(_ud2, this._8d2);
_w02(_vY1, _ud2, _GY1, this._o72._X42(), _IY1);
},
_u32: function (_G32, _0X1, _I32, _1X1) {
this.parent.prototype._u32.call(this, _G32, _0X1, _I32, _1X1);
_uR1(this._m72._tU1() == _rU1._JU1);
_uR1(this._o72._tU1() == _rU1._IU1);
},
};
_wd2._u32 = function (_G32, _0X1, _I32, _1X1) {
return new _wd2(_G32, _0X1, _I32, _1X1);
};
_wd2._ZQ1(_d72);
function _xd2() {
this.parent.call(this);
}
_xd2.prototype = {
_i22: function (_vY1, _GY1, _IY1) {
_v_1(_vY1, this._m72._X42(), _GY1, this._o72._X42(), _IY1);
},
_u32: function (_G32, _0X1, _I32, _1X1) {
this.parent.prototype._u32.call(this, _G32, 0, _I32, 0);
_uR1(this._m72._tU1() == _rU1._HU1);
_uR1(this._o72._tU1() == _rU1._GU1);
},
};
_xd2._u32 = function (_G32, _0X1, _I32, _1X1) {
return new _xd2(_G32, _I32);
};
_xd2._ZQ1(_d72);
function _yd2() {
this.parent.call(this);
}
_yd2.prototype = {
_i22: function (_vY1, _GY1, _IY1) {
_w02(_vY1, this._m72._X42(), _GY1, this._o72._X42(), _IY1);
},
_u32: function (_G32, _0X1, _I32, _1X1) {
this.parent.prototype._u32.call(this, _G32, 0, _I32, 0);
_uR1(this._m72._tU1() == _rU1._HU1);
_uR1(this._o72._tU1() == _rU1._IU1);
},
};
_yd2._u32 = function (_G32, _0X1, _I32, _1X1) {
return new _yd2(_G32, _I32);
};
_yd2._ZQ1(_d72);
function _zd2() {
this.parent.call(this);
}
_zd2.prototype = {
_i22: function (_vY1, _GY1, _IY1) {
_pZ1(_vY1, this._m72._X42(), _GY1, this._o72._X42(), _IY1);
},
_u32: function (_G32, _0X1, _I32, _1X1) {
this.parent.prototype._u32.call(this, _G32, 0, _I32, 0);
_uR1(this._m72._tU1() == _rU1._IU1);
_uR1(this._o72._tU1() == _rU1._GU1);
},
};
_zd2._u32 = function (_G32, _0X1, _I32, _1X1) {
return new _zd2(_G32, _I32);
};
_zd2._ZQ1(_d72);
function _Ad2() {
this.parent.call(this);
}
_Ad2.prototype = {
_i22: function (_vY1, _GY1, _IY1) {
__Z1(_vY1, this._m72._X42(), _GY1, this._o72._X42(), _IY1);
},
_u32: function (_G32, _0X1, _I32, _1X1) {
this.parent.prototype._u32.call(this, _G32, 0, _I32, 0);
_uR1(this._m72._tU1() == _rU1._IU1);
_uR1(this._o72._tU1() == _rU1._IU1);
},
};
_Ad2._u32 = function (_G32, _0X1, _I32, _1X1) {
return new _Ad2(_G32, _I32);
};
_Ad2._ZQ1(_d72);
_d72._Bd2 = function (_s22, _Cd2, _Dd2) {
_uR1(0 <= _Cd2 && _Cd2 < _rU1._KU1);
_uR1(0 <= _Dd2 && _Dd2 < _rU1._KU1);
if (!_d72._Ed2[_Cd2]) _d72._Ed2[_Cd2] = [];
_d72._Ed2[_Cd2][_Dd2] = new _0d2();
_d72._Ed2[_Cd2][_Dd2]._s22 = _s22;
_d72._Ed2[_Cd2][_Dd2]._1d2 = !0;
if (_Cd2 != _Dd2) {
if (!_d72._Ed2[_Dd2]) _d72._Ed2[_Dd2] = [];
_d72._Ed2[_Dd2][_Cd2] = new _0d2();
_d72._Ed2[_Dd2][_Cd2]._s22 = _s22;
_d72._Ed2[_Dd2][_Cd2]._1d2 = !1;
}
_s22._Fd2 = [];
_s22._Gd2 = 2;
};
_d72._Hd2 = function () {
_d72._Bd2(_rd2, _rU1._GU1, _rU1._GU1);
_d72._Bd2(_zd2, _rU1._IU1, _rU1._GU1);
_d72._Bd2(_Ad2, _rU1._IU1, _rU1._IU1);
_d72._Bd2(_xd2, _rU1._HU1, _rU1._GU1);
_d72._Bd2(_yd2, _rU1._HU1, _rU1._IU1);
_d72._Bd2(_vd2, _rU1._JU1, _rU1._GU1);
_d72._Bd2(_wd2, _rU1._JU1, _rU1._IU1);
};
_d72._Id2 = function (_s22) {
var _F32;
if ((_F32 = _s22._Fd2.pop())) return _F32;
for (var _X9 = 0; _X9 < _s22._Gd2 - 1; ++_X9) _s22._Fd2.push(new _s22());
{
_s22._Gd2 += 32;
}
return new _s22();
};
_d72._u32 = function (_G32, _0X1, _I32, _1X1) {
if (_d72._Jd2 == !1) {
_d72._Hd2();
_d72._Jd2 = !0;
}
var _Cd2 = _G32._tU1();
var _Dd2 = _I32._tU1();
_uR1(0 <= _Cd2 && _Cd2 < _rU1._KU1);
_uR1(0 <= _Dd2 && _Dd2 < _rU1._KU1);
var _s22 = _d72._Ed2[_Cd2] ? (_d72._Ed2[_Cd2][_Dd2] ? _d72._Ed2[_Cd2][_Dd2]._s22 : null) : null;
if (_s22) {
var _F32 = _d72._Id2(_s22);
if (_d72._Ed2[_Cd2][_Dd2]._1d2) _F32._u32(_G32, _0X1, _I32, _1X1);
else _F32._u32(_I32, _1X1, _G32, _0X1);
return _F32;
}
return null;
};
_d72._K32 = function (_F32) {
_uR1(_d72._Jd2 == !0);
var _G32 = _F32._m72;
var _I32 = _F32._o72;
if (_F32._5d2._uY1 > 0 && _G32._Z42() == !1 && _I32._Z42() == !1) {
_G32._352()._qF1(!0);
_I32._352()._qF1(!0);
}
var _jY1 = _G32._tU1();
var _kY1 = _I32._tU1();
_uR1(0 <= _jY1 && _kY1 < _rU1._KU1);
_uR1(0 <= _jY1 && _kY1 < _rU1._KU1);
_d72._Ed2[_jY1][_kY1]._s22._Fd2.push(_F32);
};
_d72._Ed2 = [];
_d72._Jd2 = !1;
var _Kd2 = new _h52();
var _Ld2 = new _o52();
function _Q52() {
this._x32 = new _bW1();
this._032 = null;
this._772 = 0;
this._h62 = _Kd2;
this._j62 = _Ld2;
}
_Q52.prototype = {
_IW1: function (_Md2, _Nd2) {
var _3X1 = _Md2;
var _4X1 = _Nd2;
var _G32 = _3X1._2F1;
var _I32 = _4X1._2F1;
var _0X1 = _3X1._xU1;
var _1X1 = _4X1._xU1;
var _z62 = _G32._352();
var _A62 = _I32._352();
if (_z62 == _A62) {
return;
}
var _pV1 = _A62._B42();
while (_pV1) {
if (_pV1._6Z1 == _z62) {
var _w72 = _pV1._F32._H32();
var _x72 = _pV1._F32._J32();
var _D12 = _pV1._F32._M62();
var _E12 = _pV1._F32._O62();
if (_w72 == _G32 && _x72 == _I32 && _D12 == _0X1 && _E12 == _1X1) {
return;
}
if (_w72 == _I32 && _x72 == _G32 && _D12 == _1X1 && _E12 == _0X1) {
return;
}
}
_pV1 = _pV1._Vc1;
}
if (_A62._G42(_z62) == !1) {
return;
}
if (this._h62 && this._h62._G42(_G32, _I32) == !1) {
return;
}
var _Y9 = _d72._u32(_G32, _0X1, _I32, _1X1);
if (_Y9 == null) {
return;
}
_G32 = _Y9._H32();
_I32 = _Y9._J32();
_0X1 = _Y9._M62();
_1X1 = _Y9._O62();
_z62 = _G32._352();
_A62 = _I32._352();
_Y9._132 = null;
_Y9._232 = this._032;
if (this._032 != null) {
this._032._132 = _Y9;
}
this._032 = _Y9;
_Y9._3d2._F32 = _Y9;
_Y9._3d2._6Z1 = _A62;
_Y9._3d2._w62 = null;
_Y9._3d2._Vc1 = _z62._032;
if (_z62._032 != null) {
_z62._032._w62 = _Y9._3d2;
}
_z62._032 = _Y9._3d2;
_Y9._4d2._F32 = _Y9;
_Y9._4d2._6Z1 = _z62;
_Y9._4d2._w62 = null;
_Y9._4d2._Vc1 = _A62._032;
if (_A62._032 != null) {
_A62._032._w62 = _Y9._4d2;
}
_A62._032 = _Y9._4d2;
if (_G32._Z42() == !1 && _I32._Z42() == !1) {
_z62._qF1(!0);
_A62._qF1(!0);
}
++this._772;
},
_D62: function () {
this._x32._AW1(this);
},
_K32: function (_Y9) {
var _G32 = _Y9._H32();
var _I32 = _Y9._J32();
var _z62 = _G32._352();
var _A62 = _I32._352();
if (this._j62 && _Y9._k72()) {
this._j62._q52(_Y9);
}
if (_Y9._132) {
_Y9._132._232 = _Y9._232;
}
if (_Y9._232) {
_Y9._232._132 = _Y9._132;
}
if (_Y9 == this._032) {
this._032 = _Y9._232;
}
if (_Y9._3d2._w62) {
_Y9._3d2._w62._Vc1 = _Y9._3d2._Vc1;
}
if (_Y9._3d2._Vc1) {
_Y9._3d2._Vc1._w62 = _Y9._3d2._w62;
}
if (_Y9._3d2 == _z62._032) {
_z62._032 = _Y9._3d2._Vc1;
}
if (_Y9._4d2._w62) {
_Y9._4d2._w62._Vc1 = _Y9._4d2._Vc1;
}
if (_Y9._4d2._Vc1) {
_Y9._4d2._Vc1._w62 = _Y9._4d2._w62;
}
if (_Y9._4d2 == _A62._032) {
_A62._032 = _Y9._4d2._Vc1;
}
_d72._K32(_Y9);
--this._772;
},
_a02: function () {
var _Y9 = this._032;
while (_Y9) {
var _G32 = _Y9._H32();
var _I32 = _Y9._J32();
var _0X1 = _Y9._M62();
var _1X1 = _Y9._O62();
var _z62 = _G32._352();
var _A62 = _I32._352();
if (_Y9._R22 & _d72._jd2) {
if (_A62._G42(_z62) == !1) {
var _Od2 = _Y9;
_Y9 = _Od2._C42();
this._K32(_Od2);
continue;
}
if (this._h62 && this._h62._G42(_G32, _I32) == !1) {
var _Od2 = _Y9;
_Y9 = _Od2._C42();
this._K32(_Od2);
continue;
}
_Y9._R22 &= ~_d72._jd2;
}
var _A72 = _z62._u42() && _z62._px1 != _D22._E22;
var _B72 = _A62._u42() && _A62._px1 != _D22._E22;
if (_A72 == !1 && _B72 == !1) {
_Y9 = _Y9._C42();
continue;
}
var _6W1 = _G32._o42[_0X1]._mW1;
var _7W1 = _I32._o42[_1X1]._mW1;
var _Pd2 = this._x32._vW1(_6W1, _7W1);
if (_Pd2 == !1) {
var _Od2 = _Y9;
_Y9 = _Od2._C42();
this._K32(_Od2);
continue;
}
_Y9._Va1(this._j62);
_Y9 = _Y9._C42();
}
},
};
function _Qd2() {
this._fY1 = new _iS1();
this._gY1 = new _iS1();
this._pY1 = 0;
this._qY1 = 0;
this._Rd2 = 0;
this._Sd2 = 0;
this._Td2 = 0;
}
function _Ud2() {
this._Vd2 = new Array(_zR1);
this._tY1 = new _iS1();
this._oY1 = new _iS1();
this._0X1 = 0;
this._1X1 = 0;
(this._Wd2 = 0), (this._Xd2 = 0);
(this._Yd2 = new _iS1()), (this._Zd2 = new _iS1());
(this.__d2 = 0), (this._0e2 = 0);
this.type = 0;
(this._HY1 = 0), (this._JY1 = 0);
this._uY1 = 0;
}
function _1e2() {
this._D2 = new Array(_zR1);
for (var _X9 = 0; _X9 < this._D2.length; ++_X9) this._D2[_X9] = new _Qd2();
this._FU1 = new _iS1();
this._Rd2 = new _AS1();
this._2e2 = new _AS1();
this._0X1 = 0;
this._1X1 = 0;
(this._Wd2 = 0), (this._Xd2 = 0);
(this.__d2 = 0), (this._0e2 = 0);
this._O42 = 0;
this._P42 = 0;
this._3e2 = 0;
this._uY1 = 0;
this._4e2 = 0;
}
function _5e2() {
this._FU1 = new _iS1();
this._rY1 = new _iS1();
this._tZ1 = 0;
}
_5e2.prototype = {
_FY1: function (_j92, _GY1, _IY1, index) {
_uR1(_j92._uY1 > 0);
switch (_j92.type) {
case _sY1._wY1:
{
var _KY1 = _GY1._Yr1._Y9 * _j92._oY1.x - _GY1._Yr1._Wo1 * _j92._oY1.y + _GY1._ot1.x;
var _LY1 = _GY1._Yr1._Wo1 * _j92._oY1.x + _GY1._Yr1._Y9 * _j92._oY1.y + _GY1._ot1.y;
var _MY1 = _IY1._Yr1._Y9 * _j92._Vd2[0].x - _IY1._Yr1._Wo1 * _j92._Vd2[0].y + _IY1._ot1.x;
var _NY1 = _IY1._Yr1._Wo1 * _j92._Vd2[0].x + _IY1._Yr1._Y9 * _j92._Vd2[0].y + _IY1._ot1.y;
this._rY1.x = 0.5 * (_KY1 + _MY1);
this._rY1.y = 0.5 * (_LY1 + _NY1);
this._FU1.x = _MY1 - _KY1;
this._FU1.y = _NY1 - _LY1;
var _6e2 = this._FU1.x;
var _7e2 = this._FU1.y;
this._FU1._rS1();
this._tZ1 = _6e2 * this._FU1.x + _7e2 * this._FU1.y - _j92._HY1 - _j92._JY1;
}
break;
case _sY1._xY1:
{
this._FU1.x = _GY1._Yr1._Y9 * _j92._tY1.x - _GY1._Yr1._Wo1 * _j92._tY1.y;
this._FU1.y = _GY1._Yr1._Wo1 * _j92._tY1.x + _GY1._Yr1._Y9 * _j92._tY1.y;
var _UY1 = _GY1._Yr1._Y9 * _j92._oY1.x - _GY1._Yr1._Wo1 * _j92._oY1.y + _GY1._ot1.x;
var _VY1 = _GY1._Yr1._Wo1 * _j92._oY1.x + _GY1._Yr1._Y9 * _j92._oY1.y + _GY1._ot1.y;
var _WY1 = _IY1._Yr1._Y9 * _j92._Vd2[index].x - _IY1._Yr1._Wo1 * _j92._Vd2[index].y + _IY1._ot1.x;
var _XY1 = _IY1._Yr1._Wo1 * _j92._Vd2[index].x + _IY1._Yr1._Y9 * _j92._Vd2[index].y + _IY1._ot1.y;
this._tZ1 = (_WY1 - _UY1) * this._FU1.x + (_XY1 - _VY1) * this._FU1.y - _j92._HY1 - _j92._JY1;
this._rY1.x = _WY1;
this._rY1.y = _XY1;
}
break;
case _sY1._yY1:
{
this._FU1.x = _IY1._Yr1._Y9 * _j92._tY1.x - _IY1._Yr1._Wo1 * _j92._tY1.y;
this._FU1.y = _IY1._Yr1._Wo1 * _j92._tY1.x + _IY1._Yr1._Y9 * _j92._tY1.y;
var _UY1 = _IY1._Yr1._Y9 * _j92._oY1.x - _IY1._Yr1._Wo1 * _j92._oY1.y + _IY1._ot1.x;
var _VY1 = _IY1._Yr1._Wo1 * _j92._oY1.x + _IY1._Yr1._Y9 * _j92._oY1.y + _IY1._ot1.y;
var _WY1 = _GY1._Yr1._Y9 * _j92._Vd2[index].x - _GY1._Yr1._Wo1 * _j92._Vd2[index].y + _GY1._ot1.x;
var _XY1 = _GY1._Yr1._Wo1 * _j92._Vd2[index].x + _GY1._Yr1._Y9 * _j92._Vd2[index].y + _GY1._ot1.y;
this._tZ1 = (_WY1 - _UY1) * this._FU1.x + (_XY1 - _VY1) * this._FU1.y - _j92._HY1 - _j92._JY1;
this._rY1.x = _WY1;
this._rY1.y = _XY1;
this._FU1.x = -this._FU1.x;
this._FU1.y = -this._FU1.y;
}
break;
}
},
};
function _8e2() {
this._7R1 = new _y52();
this._9e2 = null;
this._d31 = 0;
this._I52 = null;
this._J52 = null;
}
function _ae2() {
this._be2 = [];
this._ce2 = [];
}
_ae2._de2 = new _2T1();
_ae2._ee2 = new _2T1();
_ae2._fe2 = new _5e2();
_ae2.prototype = {
_ay1: function (_p32) {
this._dc2 = _p32._7R1;
this._cV1 = _p32._d31;
this._be2.length = this._cV1;
this._ce2.length = this._cV1;
this._ge2 = _p32._I52;
this._he2 = _p32._J52;
this._ie2 = _p32._9e2;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _F32 = this._ie2[_X9];
var _G32 = _F32._m72;
var _I32 = _F32._o72;
var _G02 = _G32._X42();
var _H02 = _I32._X42();
var _HY1 = _G02._sU1;
var _JY1 = _H02._sU1;
var _z62 = _G32._352();
var _A62 = _I32._352();
var _vY1 = _F32._bd2();
var _uY1 = _vY1._uY1;
_uR1(_uY1 > 0);
var _je2 = this._ce2[_X9] || new _1e2();
_je2._O42 = _F32._V42;
_je2._P42 = _F32._W42;
_je2._3e2 = _F32._ad2;
_je2._0X1 = _z62._Q22;
_je2._1X1 = _A62._Q22;
_je2._Wd2 = _z62._d32;
_je2._Xd2 = _A62._d32;
_je2.__d2 = _z62._f32;
_je2._0e2 = _A62._f32;
_je2._4e2 = _X9;
_je2._uY1 = _uY1;
_je2._2e2._jS1();
_je2._Rd2._jS1();
this._ce2[_X9] = _je2;
var _j92 = this._be2[_X9] || new _Ud2();
_j92._0X1 = _z62._Q22;
_j92._1X1 = _A62._Q22;
_j92._Wd2 = _z62._d32;
_j92._Xd2 = _A62._d32;
_j92._Yd2.x = _z62._Z22._5T1.x;
_j92._Yd2.y = _z62._Z22._5T1.y;
_j92._Zd2.x = _A62._Z22._5T1.x;
_j92._Zd2.y = _A62._Z22._5T1.y;
_j92.__d2 = _z62._f32;
_j92._0e2 = _A62._f32;
_j92._tY1.x = _vY1._tY1.x;
_j92._tY1.y = _vY1._tY1.y;
_j92._oY1.x = _vY1._oY1.x;
_j92._oY1.y = _vY1._oY1.y;
_j92._uY1 = _uY1;
_j92._HY1 = _HY1;
_j92._JY1 = _JY1;
_j92.type = _vY1.type;
this._be2[_X9] = _j92;
for (var _i21 = 0; _i21 < _uY1; ++_i21) {
var _t_1 = _vY1._D2[_i21];
var _ke2 = _je2._D2[_i21];
if (this._dc2._E52) {
_ke2._pY1 = this._dc2._B52 * _t_1._pY1;
_ke2._qY1 = this._dc2._B52 * _t_1._qY1;
} else {
_ke2._pY1 = 0.0;
_ke2._qY1 = 0.0;
}
_ke2._fY1._jS1();
_ke2._gY1._jS1();
_ke2._Rd2 = 0.0;
_ke2._Sd2 = 0.0;
_ke2._Td2 = 0.0;
_j92._Vd2[_i21] = _t_1._oY1;
}
}
},
_le2: function () {
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _je2 = this._ce2[_X9];
var _j92 = this._be2[_X9];
var _HY1 = _j92._HY1;
var _JY1 = _j92._JY1;
var _vY1 = this._ie2[_je2._4e2]._bd2();
var _0X1 = _je2._0X1;
var _1X1 = _je2._1X1;
var _me2 = _je2._Wd2;
var _ne2 = _je2._Xd2;
var _D12 = _je2.__d2;
var _E12 = _je2._0e2;
var _Yd2 = _j92._Yd2;
var _Zd2 = _j92._Zd2;
var _L62 = this._ge2[_0X1]._Y9;
var _oe2 = this._ge2[_0X1]._l41;
var _pe2 = this._he2[_0X1]._J41;
var _dX1 = this._he2[_0X1]._Z9;
var _N62 = this._ge2[_1X1]._Y9;
var _qe2 = this._ge2[_1X1]._l41;
var _re2 = this._he2[_1X1]._J41;
var _eX1 = this._he2[_1X1]._Z9;
_uR1(_vY1._uY1 > 0);
_ae2._de2._Yr1._sc1(_oe2);
_ae2._ee2._Yr1._sc1(_qe2);
_ae2._de2._ot1.x = _L62.x - (_ae2._de2._Yr1._Y9 * _Yd2.x - _ae2._de2._Yr1._Wo1 * _Yd2.y);
_ae2._de2._ot1.y = _L62.y - (_ae2._de2._Yr1._Wo1 * _Yd2.x + _ae2._de2._Yr1._Y9 * _Yd2.y);
_ae2._ee2._ot1.x = _N62.x - (_ae2._ee2._Yr1._Y9 * _Zd2.x - _ae2._ee2._Yr1._Wo1 * _Zd2.y);
_ae2._ee2._ot1.y = _N62.y - (_ae2._ee2._Yr1._Wo1 * _Zd2.x + _ae2._ee2._Yr1._Y9 * _Zd2.y);
var _dd2 = new _DY1();
_dd2._FY1(_vY1, _ae2._de2, _HY1, _ae2._ee2, _JY1);
_je2._FU1.x = _dd2._FU1.x;
_je2._FU1.y = _dd2._FU1.y;
var _uY1 = _je2._uY1;
for (var _i21 = 0; _i21 < _uY1; ++_i21) {
var _ke2 = _je2._D2[_i21];
_ke2._fY1.x = _dd2._D2[_i21].x - _L62.x;
_ke2._fY1.y = _dd2._D2[_i21].y - _L62.y;
_ke2._gY1.x = _dd2._D2[_i21].x - _N62.x;
_ke2._gY1.y = _dd2._D2[_i21].y - _N62.y;
var _se2 = _ke2._fY1.x * _je2._FU1.y - _ke2._fY1.y * _je2._FU1.x;
var _te2 = _ke2._gY1.x * _je2._FU1.y - _ke2._gY1.y * _je2._FU1.x;
var _ue2 = _me2 + _ne2 + _D12 * _se2 * _se2 + _E12 * _te2 * _te2;
_ke2._Rd2 = _ue2 > 0.0 ? 1.0 / _ue2 : 0.0;
var _i_1 = 1.0 * _je2._FU1.y;
var _j_1 = -1.0 * _je2._FU1.x;
var _ve2 = _ke2._fY1.x * _j_1 - _ke2._fY1.y * _i_1;
var _we2 = _ke2._gY1.x * _j_1 - _ke2._gY1.y * _i_1;
var _xe2 = _me2 + _ne2 + _D12 * _ve2 * _ve2 + _E12 * _we2 * _we2;
_ke2._Sd2 = _xe2 > 0.0 ? 1.0 / _xe2 : 0.0;
_ke2._Td2 = 0.0;
var _ye2 = _je2._FU1.x * (_re2.x + -_eX1 * _ke2._gY1.y - _pe2.x - -_dX1 * _ke2._fY1.y) + _je2._FU1.y * (_re2.y + _eX1 * _ke2._gY1.x - _pe2.y - _dX1 * _ke2._fY1.x);
if (_ye2 < -_IR1) {
_ke2._Td2 = -_je2._P42 * _ye2;
}
}
if (_je2._uY1 == 2) {
var _ze2 = _je2._D2[0];
var _Ae2 = _je2._D2[1];
var _Be2 = _ze2._fY1.x * _je2._FU1.y - _ze2._fY1.y * _je2._FU1.x;
var _Ce2 = _ze2._gY1.x * _je2._FU1.y - _ze2._gY1.y * _je2._FU1.x;
var _De2 = _Ae2._fY1.x * _je2._FU1.y - _Ae2._fY1.y * _je2._FU1.x;
var _Ee2 = _Ae2._gY1.x * _je2._FU1.y - _Ae2._gY1.y * _je2._FU1.x;
var _Fe2 = _me2 + _ne2 + _D12 * _Be2 * _Be2 + _E12 * _Ce2 * _Ce2;
var _Ge2 = _me2 + _ne2 + _D12 * _De2 * _De2 + _E12 * _Ee2 * _Ee2;
var _He2 = _me2 + _ne2 + _D12 * _Be2 * _De2 + _E12 * _Ce2 * _Ee2;
var _Ie2 = 1000.0;
if (_Fe2 * _Fe2 < _Ie2 * (_Fe2 * _Ge2 - _He2 * _He2)) {
_je2._2e2._dc1.x = _Fe2;
_je2._2e2._dc1.y = _He2;
_je2._2e2._1v1.x = _He2;
_je2._2e2._1v1.y = _Ge2;
_je2._Rd2._IE1(_je2._2e2._ES1());
} else {
_je2._uY1 = 1;
}
}
}
},
_Je2: function () {
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _je2 = this._ce2[_X9];
var _0X1 = _je2._0X1;
var _1X1 = _je2._1X1;
var _me2 = _je2._Wd2;
var _D12 = _je2.__d2;
var _ne2 = _je2._Xd2;
var _E12 = _je2._0e2;
var _uY1 = _je2._uY1;
var _pe2 = this._he2[_0X1]._J41;
var _dX1 = this._he2[_0X1]._Z9;
var _re2 = this._he2[_1X1]._J41;
var _eX1 = this._he2[_1X1]._Z9;
var _FU1 = _je2._FU1;
var _i_1 = 1.0 * _FU1.y;
var _j_1 = -1.0 * _FU1.x;
for (var _i21 = 0; _i21 < _uY1; ++_i21) {
var _ke2 = _je2._D2[_i21];
var _H_1 = _ke2._pY1 * _FU1.x + _ke2._qY1 * _i_1;
var _I_1 = _ke2._pY1 * _FU1.y + _ke2._qY1 * _j_1;
_dX1 -= _D12 * (_ke2._fY1.x * _I_1 - _ke2._fY1.y * _H_1);
_pe2.x -= _me2 * _H_1;
_pe2.y -= _me2 * _I_1;
_eX1 += _E12 * (_ke2._gY1.x * _I_1 - _ke2._gY1.y * _H_1);
_re2.x += _ne2 * _H_1;
_re2.y += _ne2 * _I_1;
}
this._he2[_0X1]._Z9 = _dX1;
this._he2[_1X1]._Z9 = _eX1;
}
},
_Ke2: function () {
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _je2 = this._ce2[_X9];
var _0X1 = _je2._0X1;
var _1X1 = _je2._1X1;
var _me2 = _je2._Wd2;
var _D12 = _je2.__d2;
var _ne2 = _je2._Xd2;
var _E12 = _je2._0e2;
var _uY1 = _je2._uY1;
var _pe2 = this._he2[_0X1]._J41;
var _dX1 = this._he2[_0X1]._Z9;
var _re2 = this._he2[_1X1]._J41;
var _eX1 = this._he2[_1X1]._Z9;
var _FU1 = _je2._FU1;
var _i_1 = 1.0 * _FU1.y;
var _j_1 = -1.0 * _FU1.x;
var _O42 = _je2._O42;
_uR1(_uY1 == 1 || _uY1 == 2);
for (var _i21 = 0; _i21 < _uY1; ++_i21) {
var _ke2 = _je2._D2[_i21];
var _Le2 = _re2.x + -_eX1 * _ke2._gY1.y - _pe2.x - -_dX1 * _ke2._fY1.y;
var _Me2 = _re2.y + _eX1 * _ke2._gY1.x - _pe2.y - _dX1 * _ke2._fY1.x;
var _Ne2 = _Le2 * _i_1 + _Me2 * _j_1 - _je2._3e2;
var _Oe2 = _ke2._Sd2 * -_Ne2;
var _Pe2 = _O42 * _ke2._pY1;
var _Qe2 = _KT1(_ke2._qY1 + _Oe2, -_Pe2, _Pe2);
_Oe2 = _Qe2 - _ke2._qY1;
_ke2._qY1 = _Qe2;
var _H_1 = _Oe2 * _i_1;
var _I_1 = _Oe2 * _j_1;
_pe2.x -= _me2 * _H_1;
_pe2.y -= _me2 * _I_1;
_dX1 -= _D12 * (_ke2._fY1.x * _I_1 - _ke2._fY1.y * _H_1);
_re2.x += _ne2 * _H_1;
_re2.y += _ne2 * _I_1;
_eX1 += _E12 * (_ke2._gY1.x * _I_1 - _ke2._gY1.y * _H_1);
}
if (_je2._uY1 == 1) {
_ke2 = _je2._D2[0];
_Le2 = _re2.x + -_eX1 * _ke2._gY1.y - _pe2.x - -_dX1 * _ke2._fY1.y;
_Me2 = _re2.y + _eX1 * _ke2._gY1.x - _pe2.y - _dX1 * _ke2._fY1.x;
var _ic2 = _Le2 * _FU1.x + _Me2 * _FU1.y;
var _Oe2 = -_ke2._Rd2 * (_ic2 - _ke2._Td2);
var _Qe2 = _IT1(_ke2._pY1 + _Oe2, 0.0);
_Oe2 = _Qe2 - _ke2._pY1;
_ke2._pY1 = _Qe2;
_H_1 = _Oe2 * _FU1.x;
_I_1 = _Oe2 * _FU1.y;
_pe2.x -= _me2 * _H_1;
_pe2.y -= _me2 * _I_1;
_dX1 -= _D12 * (_ke2._fY1.x * _I_1 - _ke2._fY1.y * _H_1);
_re2.x += _ne2 * _H_1;
_re2.y += _ne2 * _I_1;
_eX1 += _E12 * (_ke2._gY1.x * _I_1 - _ke2._gY1.y * _H_1);
} else {
var _Re2 = _je2._D2[0];
var _Se2 = _je2._D2[1];
var _7A1 = _Re2._pY1;
var _8A1 = _Se2._pY1;
_uR1(_7A1 >= 0.0 && _8A1 >= 0.0);
var _Te2 = _re2.x + -_eX1 * _Re2._gY1.y - _pe2.x - -_dX1 * _Re2._fY1.y;
var _Ue2 = _re2.y + _eX1 * _Re2._gY1.x - _pe2.y - _dX1 * _Re2._fY1.x;
var _Ve2 = _re2.x + -_eX1 * _Se2._gY1.y - _pe2.x - -_dX1 * _Se2._fY1.y;
var _We2 = _re2.y + _eX1 * _Se2._gY1.x - _pe2.y - _dX1 * _Se2._fY1.x;
var _Xe2 = _Te2 * _FU1.x + _Ue2 * _FU1.y;
var _Ye2 = _Ve2 * _FU1.x + _We2 * _FU1.y;
var _992 = _Xe2 - _Re2._Td2;
var _a92 = _Ye2 - _Se2._Td2;
_992 -= _je2._2e2._dc1.x * _7A1 + _je2._2e2._1v1.x * _8A1;
_a92 -= _je2._2e2._dc1.y * _7A1 + _je2._2e2._1v1.y * _8A1;
for (;;) {
var _j21 = -(_je2._Rd2._dc1.x * _992 + _je2._Rd2._1v1.x * _a92);
var _Ze2 = -(_je2._Rd2._dc1.y * _992 + _je2._Rd2._1v1.y * _a92);
if (_j21 >= 0.0 && _Ze2 >= 0.0) {
var _761 = _j21 - _7A1;
var _861 = _Ze2 - _8A1;
var __e2 = _761 * _FU1.x;
var _0f2 = _761 * _FU1.y;
var _1f2 = _861 * _FU1.x;
var _2f2 = _861 * _FU1.y;
_pe2.x -= _me2 * (__e2 + _1f2);
_pe2.y -= _me2 * (_0f2 + _2f2);
_dX1 -= _D12 * (_Re2._fY1.x * _0f2 - _Re2._fY1.y * __e2 + (_Se2._fY1.x * _2f2 - _Se2._fY1.y * _1f2));
_re2.x += _ne2 * (__e2 + _1f2);
_re2.y += _ne2 * (_0f2 + _2f2);
_eX1 += _E12 * (_Re2._gY1.x * _0f2 - _Re2._gY1.y * __e2 + (_Se2._gY1.x * _2f2 - _Se2._gY1.y * _1f2));
_Re2._pY1 = _j21;
_Se2._pY1 = _Ze2;
break;
}
_j21 = -_Re2._Rd2 * _992;
_Ze2 = 0.0;
_Xe2 = 0.0;
_Ye2 = _je2._2e2._dc1.y * _j21 + _a92;
if (_j21 >= 0.0 && _Ye2 >= 0.0) {
_761 = _j21 - _7A1;
_861 = _Ze2 - _8A1;
__e2 = _761 * _FU1.x;
_0f2 = _761 * _FU1.y;
_1f2 = _861 * _FU1.x;
_2f2 = _861 * _FU1.y;
_pe2.x -= _me2 * (__e2 + _1f2);
_pe2.y -= _me2 * (_0f2 + _2f2);
_dX1 -= _D12 * (_Re2._fY1.x * _0f2 - _Re2._fY1.y * __e2 + (_Se2._fY1.x * _2f2 - _Se2._fY1.y * _1f2));
_re2.x += _ne2 * (__e2 + _1f2);
_re2.y += _ne2 * (_0f2 + _2f2);
_eX1 += _E12 * (_Re2._gY1.x * _0f2 - _Re2._gY1.y * __e2 + (_Se2._gY1.x * _2f2 - _Se2._gY1.y * _1f2));
_Re2._pY1 = _j21;
_Se2._pY1 = _Ze2;
break;
}
_j21 = 0.0;
_Ze2 = -_Se2._Rd2 * _a92;
_Xe2 = _je2._2e2._1v1.x * _Ze2 + _992;
_Ye2 = 0.0;
if (_Ze2 >= 0.0 && _Xe2 >= 0.0) {
_761 = _j21 - _7A1;
_861 = _Ze2 - _8A1;
__e2 = _761 * _FU1.x;
_0f2 = _761 * _FU1.y;
_1f2 = _861 * _FU1.x;
_2f2 = _861 * _FU1.y;
_pe2.x -= _me2 * (__e2 + _1f2);
_pe2.y -= _me2 * (_0f2 + _2f2);
_dX1 -= _D12 * (_Re2._fY1.x * _0f2 - _Re2._fY1.y * __e2 + (_Se2._fY1.x * _2f2 - _Se2._fY1.y * _1f2));
_re2.x += _ne2 * (__e2 + _1f2);
_re2.y += _ne2 * (_0f2 + _2f2);
_eX1 += _E12 * (_Re2._gY1.x * _0f2 - _Re2._gY1.y * __e2 + (_Se2._gY1.x * _2f2 - _Se2._gY1.y * _1f2));
_Re2._pY1 = _j21;
_Se2._pY1 = _Ze2;
break;
}
_j21 = 0.0;
_Ze2 = 0.0;
_Xe2 = _992;
_Ye2 = _a92;
if (_Xe2 >= 0.0 && _Ye2 >= 0.0) {
_761 = _j21 - _7A1;
_861 = _Ze2 - _8A1;
__e2 = _761 * _FU1.x;
_0f2 = _761 * _FU1.y;
_1f2 = _861 * _FU1.x;
_2f2 = _861 * _FU1.y;
_pe2.x -= _me2 * (__e2 + _1f2);
_pe2.y -= _me2 * (_0f2 + _2f2);
_dX1 -= _D12 * (_Re2._fY1.x * _0f2 - _Re2._fY1.y * __e2 + (_Se2._fY1.x * _2f2 - _Se2._fY1.y * _1f2));
_re2.x += _ne2 * (__e2 + _1f2);
_re2.y += _ne2 * (_0f2 + _2f2);
_eX1 += _E12 * (_Re2._gY1.x * _0f2 - _Re2._gY1.y * __e2 + (_Se2._gY1.x * _2f2 - _Se2._gY1.y * _1f2));
_Re2._pY1 = _j21;
_Se2._pY1 = _Ze2;
break;
}
break;
}
}
this._he2[_0X1]._Z9 = _dX1;
this._he2[_1X1]._Z9 = _eX1;
}
},
_3f2: function () {
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _je2 = this._ce2[_X9];
var _vY1 = this._ie2[_je2._4e2]._bd2();
for (var _i21 = 0; _i21 < _je2._uY1; ++_i21) {
_vY1._D2[_i21]._pY1 = _je2._D2[_i21]._pY1;
_vY1._D2[_i21]._qY1 = _je2._D2[_i21]._qY1;
}
}
},
_4f2: function () {
var _5f2 = 0.0;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _j92 = this._be2[_X9];
var _0X1 = _j92._0X1;
var _1X1 = _j92._1X1;
var _Yd2 = _j92._Yd2;
var _me2 = _j92._Wd2;
var _D12 = _j92.__d2;
var _Zd2 = _j92._Zd2;
var _ne2 = _j92._Xd2;
var _E12 = _j92._0e2;
var _uY1 = _j92._uY1;
var _L62 = this._ge2[_0X1]._Y9;
var _oe2 = this._ge2[_0X1]._l41;
var _N62 = this._ge2[_1X1]._Y9;
var _qe2 = this._ge2[_1X1]._l41;
for (var _i21 = 0; _i21 < _uY1; ++_i21) {
_ae2._de2._Yr1._sc1(_oe2);
_ae2._ee2._Yr1._sc1(_qe2);
_ae2._de2._ot1.x = _L62.x - (_ae2._de2._Yr1._Y9 * _Yd2.x - _ae2._de2._Yr1._Wo1 * _Yd2.y);
_ae2._de2._ot1.y = _L62.y - (_ae2._de2._Yr1._Wo1 * _Yd2.x + _ae2._de2._Yr1._Y9 * _Yd2.y);
_ae2._ee2._ot1.x = _N62.x - (_ae2._ee2._Yr1._Y9 * _Zd2.x - _ae2._ee2._Yr1._Wo1 * _Zd2.y);
_ae2._ee2._ot1.y = _N62.y - (_ae2._ee2._Yr1._Wo1 * _Zd2.x + _ae2._ee2._Yr1._Y9 * _Zd2.y);
_ae2._fe2._FY1(_j92, _ae2._de2, _ae2._ee2, _i21);
var _FU1 = _ae2._fe2._FU1;
var _rY1 = _ae2._fe2._rY1;
var _tZ1 = _ae2._fe2._tZ1;
var _6f2 = _rY1.x - _L62.x;
var _7f2 = _rY1.y - _L62.y;
var _8f2 = _rY1.x - _N62.x;
var _9f2 = _rY1.y - _N62.y;
_5f2 = _GT1(_5f2, _tZ1);
var _zT1 = _KT1(_PR1 * (_tZ1 + _DR1), -_JR1, 0.0);
var _se2 = _6f2 * _FU1.y - _7f2 * _FU1.x;
var _te2 = _8f2 * _FU1.y - _9f2 * _FU1.x;
var _2e2 = _me2 + _ne2 + _D12 * _se2 * _se2 + _E12 * _te2 * _te2;
var _042 = _2e2 > 0.0 ? -_zT1 / _2e2 : 0.0;
var _H_1 = _042 * _FU1.x;
var _I_1 = _042 * _FU1.y;
_L62.x -= _me2 * _H_1;
_L62.y -= _me2 * _I_1;
_oe2 -= _D12 * (_6f2 * _I_1 - _7f2 * _H_1);
_N62.x += _ne2 * _H_1;
_N62.y += _ne2 * _I_1;
_qe2 += _E12 * (_8f2 * _I_1 - _9f2 * _H_1);
}
this._ge2[_0X1]._l41 = _oe2;
this._ge2[_1X1]._l41 = _qe2;
}
return _5f2 >= -3.0 * _DR1;
},
_af2: function (_bf2, _cf2) {
var _5f2 = 0.0;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
var _j92 = this._be2[_X9];
var _0X1 = _j92._0X1;
var _1X1 = _j92._1X1;
var _Yd2 = _j92._Yd2;
var _Zd2 = _j92._Zd2;
var _uY1 = _j92._uY1;
var _me2 = 0.0;
var _D12 = 0.0;
if (_0X1 == _bf2 || _0X1 == _cf2) {
_me2 = _j92._Wd2;
_D12 = _j92.__d2;
}
var _ne2 = 0.0;
var _E12 = 0.0;
if (_1X1 == _bf2 || _1X1 == _cf2) {
_ne2 = _j92._Xd2;
_E12 = _j92._0e2;
}
var _L62 = this._ge2[_0X1]._Y9;
var _oe2 = this._ge2[_0X1]._l41;
var _N62 = this._ge2[_1X1]._Y9;
var _qe2 = this._ge2[_1X1]._l41;
for (var _i21 = 0; _i21 < _uY1; ++_i21) {
_ae2._de2._Yr1._sc1(_oe2);
_ae2._ee2._Yr1._sc1(_qe2);
_ae2._de2._ot1._IE1(_iS1._pS1(_L62, _tT1(_ae2._de2._Yr1, _Yd2)));
_ae2._ee2._ot1._IE1(_iS1._pS1(_N62, _tT1(_ae2._ee2._Yr1, _Zd2)));
_ae2._fe2._FY1(_j92, _ae2._de2, _ae2._ee2, _i21);
var _FU1 = _ae2._fe2._FU1;
var _rY1 = _ae2._fe2._rY1;
var _tZ1 = _ae2._fe2._tZ1;
var _fY1 = _iS1._pS1(_rY1, _L62);
var _gY1 = _iS1._pS1(_rY1, _N62);
_5f2 = _GT1(_5f2, _tZ1);
var _zT1 = _KT1(_QR1 * (_tZ1 + _DR1), -_JR1, 0.0);
var _se2 = _fT1(_fY1, _FU1);
var _te2 = _fT1(_gY1, _FU1);
var _2e2 = _me2 + _ne2 + _D12 * _se2 * _se2 + _E12 * _te2 * _te2;
var _042 = _2e2 > 0.0 ? -_zT1 / _2e2 : 0.0;
var _x_1 = _iS1.Multiply(_042, _FU1);
_L62._pS1(_iS1.Multiply(_me2, _x_1));
_oe2 -= _D12 * _fT1(_fY1, _x_1);
_N62._Da1(_iS1.Multiply(_ne2, _x_1));
_qe2 += _E12 * _fT1(_gY1, _x_1);
}
this._ge2[_0X1]._l41 = _oe2;
this._ge2[_1X1]._l41 = _qe2;
}
return _5f2 >= -1.5 * _DR1;
},
};
function _562() {
this._r72 = [];
this._ie2 = [];
this._df2 = [];
this._he2 = [];
this._ge2 = [];
}
var _ef2 = _cR1._nR1("solve initialization", "solve");
var _ff2 = _cR1._nR1("warm starting", "solve initialization");
var _gf2 = _cR1._nR1("solve velocities", "solve");
var _hf2 = _cR1._nR1("solve positions", "solve");
_562._if2 = new _H52();
_562._jf2 = new _8e2();
_562._kf2 = new _ae2();
_562.prototype = {
_Ua1: function () {
this._U52 = 0;
this._772 = 0;
this._V52 = 0;
},
_FY1: function (_lf2, _mf2, _nf2, listener) {
this._of2 = listener;
this._G72 = _lf2;
this._H72 = _mf2;
this._pf2 = _nf2;
this._U52 = 0;
this._772 = 0;
this._V52 = 0;
this._r72.length = _lf2;
this._ie2.length = _mf2;
this._df2.length = _nf2;
this._he2.length = _lf2;
this._ge2.length = _lf2;
},
_HS1: function (_7R1, _P52, _J22) {
_ef2.start();
var __9 = _7R1._z52;
for (var _X9 = 0; _X9 < this._U52; ++_X9) {
var _e21 = this._r72[_X9];
this._ge2[_X9]._Y9._IE1(_e21._Z22._Y9);
var _l41 = _e21._Z22._l41;
this._he2[_X9]._J41._IE1(_e21._332);
var _Z9 = _e21._432;
_e21._Z22._6T1._IE1(_e21._Z22._Y9);
_e21._Z22._8T1 = _e21._Z22._l41;
if (_e21._px1 == _D22._b32) {
this._he2[_X9]._J41.x += __9 * (_e21._732 * _P52.x + _e21._d32 * _e21._832.x);
this._he2[_X9]._J41.y += __9 * (_e21._732 * _P52.y + _e21._d32 * _e21._832.y);
_Z9 += __9 * _e21._f32 * _e21._932;
this._he2[_X9]._J41.x *= 1.0 / (1.0 + __9 * _e21._532);
this._he2[_X9]._J41.y *= 1.0 / (1.0 + __9 * _e21._532);
_Z9 *= 1.0 / (1.0 + __9 * _e21._632);
}
this._ge2[_X9]._l41 = _l41;
this._he2[_X9]._Z9 = _Z9;
}
_562._if2._7R1 = _7R1;
_562._if2._I52 = this._ge2;
_562._if2._J52 = this._he2;
_562._jf2._7R1 = _7R1;
_562._jf2._9e2 = this._ie2;
_562._jf2._d31 = this._772;
_562._jf2._I52 = this._ge2;
_562._jf2._J52 = this._he2;
_562._jf2._qf2 = this._rf2;
_562._kf2._ay1(_562._jf2);
_562._kf2._le2();
if (_7R1._E52) {
_ff2.start();
_562._kf2._Je2();
_ff2.stop();
}
for (var _X9 = 0; _X9 < this._V52; ++_X9) {
this._df2[_X9]._sf2(_562._if2);
}
_ef2.stop();
_gf2.start();
for (var _X9 = 0; _X9 < _7R1._C52; ++_X9) {
for (var _i21 = 0; _i21 < this._V52; ++_i21) {
this._df2[_i21]._Ke2(_562._if2);
}
_562._kf2._Ke2();
}
_562._kf2._3f2();
_gf2.stop();
_hf2.start();
for (var _X9 = 0; _X9 < this._U52; ++_X9) {
var _Y9 = this._ge2[_X9]._Y9;
var _l41 = this._ge2[_X9]._l41;
var _J41 = this._he2[_X9]._J41;
var _Z9 = this._he2[_X9]._Z9;
var _tf2 = __9 * _J41.x;
var _uf2 = __9 * _J41.y;
var _vf2 = _tf2 * _tf2 + _uf2 * _uf2;
if (_vf2 > _MR1) {
var _wf2 = _LR1 / _fS1(_vf2);
_J41.x *= _wf2;
_J41.y *= _wf2;
}
var rotation = __9 * _Z9;
if (rotation * rotation > _OR1) {
var _wf2 = _NR1 / _DT1(rotation);
_Z9 *= _wf2;
}
_Y9.x += __9 * _J41.x;
_Y9.y += __9 * _J41.y;
_l41 += __9 * _Z9;
this._ge2[_X9]._l41 = _l41;
this._he2[_X9]._Z9 = _Z9;
}
var _xf2 = !1;
for (var _X9 = 0; _X9 < _7R1._D52; ++_X9) {
var _yf2 = _562._kf2._4f2();
var _zf2 = !0;
for (var _i21 = 0; _i21 < this._V52; ++_i21) {
var _Af2 = this._df2[_i21]._4f2(_562._if2);
_zf2 = _zf2 && _Af2;
}
if (_yf2 && _zf2) {
_xf2 = !0;
break;
}
}
for (var _X9 = 0; _X9 < this._U52; ++_X9) {
var body = this._r72[_X9];
body._Z22._Y9._IE1(this._ge2[_X9]._Y9);
body._Z22._l41 = this._ge2[_X9]._l41;
body._332._IE1(this._he2[_X9]._J41);
body._432 = this._he2[_X9]._Z9;
body._F42();
}
_hf2.stop();
this._Bf2(_562._kf2._ce2);
if (_J22) {
var _Cf2 = _wR1;
var _Df2 = _SR1 * _SR1;
var _Ef2 = _TR1 * _TR1;
for (var _X9 = 0; _X9 < this._U52; ++_X9) {
var _e21 = this._r72[_X9];
if (_e21._tU1() == _D22._E22) {
continue;
}
if ((_e21._R22 & _D22._U22) == 0 || _e21._432 * _e21._432 > _Ef2 || _eT1(_e21._332, _e21._332) > _Df2) {
_e21._a32 = 0.0;
_Cf2 = 0.0;
} else {
_e21._a32 += __9;
_Cf2 = _GT1(_Cf2, _e21._a32);
}
}
if (_Cf2 >= _RR1 && _xf2) {
for (var _X9 = 0; _X9 < this._U52; ++_X9) {
var _e21 = this._r72[_X9];
_e21._qF1(!1);
}
}
}
},
_F62: function (_I72, _bf2, _cf2) {
_uR1(_bf2 < this._U52);
_uR1(_cf2 < this._U52);
for (var _X9 = 0; _X9 < this._U52; ++_X9) {
var _e21 = this._r72[_X9];
this._ge2[_X9]._Y9._IE1(_e21._Z22._Y9);
this._ge2[_X9]._l41 = _e21._Z22._l41;
this._he2[_X9]._J41._IE1(_e21._332);
this._he2[_X9]._Z9 = _e21._432;
}
_562._jf2._9e2 = this._ie2;
_562._jf2._d31 = this._772;
_562._jf2._7R1 = _I72;
_562._jf2._I52 = this._ge2;
_562._jf2._J52 = this._he2;
_562._kf2._ay1(_562._jf2);
for (var _X9 = 0; _X9 < _I72._D52; ++_X9) {
var _yf2 = _562._kf2._af2(_bf2, _cf2);
if (_yf2) {
break;
}
}
this._r72[_bf2]._Z22._6T1._IE1(this._ge2[_bf2]._Y9);
this._r72[_bf2]._Z22._8T1 = this._ge2[_bf2]._l41;
this._r72[_cf2]._Z22._6T1._IE1(this._ge2[_cf2]._Y9);
this._r72[_cf2]._Z22._8T1 = this._ge2[_cf2]._l41;
_562._kf2._le2();
for (var _X9 = 0; _X9 < _I72._C52; ++_X9) {
_562._kf2._Ke2();
}
var __9 = _I72._z52;
for (var _X9 = 0; _X9 < this._U52; ++_X9) {
var _Y9 = this._ge2[_X9]._Y9;
var _l41 = this._ge2[_X9]._l41;
var _J41 = this._he2[_X9]._J41;
var _Z9 = this._he2[_X9]._Z9;
var _Ff2 = _iS1.Multiply(__9, _J41);
if (_eT1(_Ff2, _Ff2) > _MR1) {
var _wf2 = _LR1 / _Ff2.Length();
_J41.Multiply(_wf2);
}
var rotation = __9 * _Z9;
if (rotation * rotation > _OR1) {
var _wf2 = _NR1 / _DT1(rotation);
_Z9 *= _wf2;
}
_Y9._Da1(_iS1.Multiply(__9, _J41));
_l41 += __9 * _Z9;
this._ge2[_X9]._l41 = _l41;
this._he2[_X9]._Z9 = _Z9;
var body = this._r72[_X9];
body._Z22._Y9._IE1(_Y9);
body._Z22._l41 = _l41;
body._332._IE1(_J41);
body._432 = _Z9;
body._F42();
}
this._Bf2(_562._kf2._ce2);
},
_i72: function (body) {
_uR1(this._U52 < this._G72);
body._Q22 = this._U52;
this._r72[this._U52] = body;
if (!this._ge2[this._U52]) {
this._ge2[this._U52] = new _F52();
this._he2[this._U52] = new _G52();
}
++this._U52;
},
_p72: function (_F32) {
_uR1(this._772 < this._H72);
this._ie2[this._772++] = _F32;
},
_q72: function (_I42) {
_uR1(this._V52 < this._pf2);
this._df2[this._V52++] = _I42;
},
_Bf2: function (_Gf2) {
if (this._of2 == null) {
return;
}
for (var _X9 = 0; _X9 < this._772; ++_X9) {
var _Y9 = this._ie2[_X9];
var _je2 = _Gf2[_X9];
var _042 = new _l52();
_042._d31 = _je2._uY1;
for (var _i21 = 0; _i21 < _je2._uY1; ++_i21) {
_042._m52[_i21] = _je2._D2[_i21]._pY1;
_042._n52[_i21] = _je2._D2[_i21]._qY1;
}
this._of2._t52(_Y9, _042);
}
},
};
function _Hf2() {
this._fh1 = new _iS1();
this._If2 = 0;
this._Jf2 = 0;
}
function _Kf2() {
this._6Z1 = null;
this._I42 = null;
this._w62 = null;
this._Vc1 = null;
}
function _Lf2() {
this.type = _t62._Mf2;
this._lW1 = null;
this._z62 = null;
this._A62 = null;
this._B62 = !1;
}
_Lf2.prototype = {
_wS1: function (data, _F72, _Nf2) {
this._z62 = _F72[data["bodyA"]];
this._A62 = _F72[data["bodyB"]];
this._B62 = data["collideConnected"];
},
};
function _t62(_p32) {
_uR1(_p32._z62 != _p32._A62);
this._px1 = _p32.type;
this._132 = null;
this._232 = null;
this._x62 = _p32._z62;
this._v62 = _p32._A62;
this._Dp1 = 0;
this._J42 = _p32._B62;
this._e72 = !1;
this._g32 = _p32._lW1;
this._u62 = new _Kf2();
this._u62._I42 = null;
this._u62._6Z1 = null;
this._u62._w62 = null;
this._u62._Vc1 = null;
this._y62 = new _Kf2();
this._y62._I42 = null;
this._y62._6Z1 = null;
this._y62._w62 = null;
this._y62._Vc1 = null;
}
_t62.prototype = {
_tU1: function () {
return this._px1;
},
_J72: function () {
return this._x62;
},
_K72: function () {
return this._v62;
},
_L72: function () {},
_M72: function () {},
_Of2: function (_A52) {},
_Pf2: function (_A52) {},
_C42: function () {
return this._232;
},
_uW1: function () {
return this._g32;
},
_D42: function (data) {
this._g32 = data;
},
_w42: function () {
return this._x62._w42() && this._v62._w42();
},
_Qf2: function () {
return this._J42;
},
_QW1: function (_RW1) {},
_sf2: function (data) {},
_Ke2: function (data) {},
_4f2: function (data) {},
_vS1: function (out) {
var _cq1 = out || {};
_cq1["bodyA"] = null;
_cq1["bodyB"] = null;
_cq1["type"] = this._px1;
_cq1["collideConnected"] = this._J42;
return _cq1;
},
};
_t62._Rf2 = 0;
_t62._Sf2 = 1;
_t62._Tf2 = 2;
_t62._Uf2 = 3;
_t62._Mf2 = 0;
_t62._Vf2 = 1;
_t62._Wf2 = 2;
_t62._N72 = 3;
_t62._O72 = 4;
_t62._S72 = 5;
_t62._Xf2 = 6;
_t62._Yf2 = 7;
_t62._Zf2 = 8;
_t62.__f2 = 9;
_t62._0g2 = 10;
_t62._T72 = 11;
_t62._u32 = function (_p32) {
var _I42 = null;
switch (_p32.type) {
case _t62._N72:
_I42 = new _1g2(_p32);
break;
case _t62._S72:
_I42 = new _2g2(_p32);
break;
case _t62._Wf2:
_I42 = new _3g2(_p32);
break;
case _t62._Vf2:
_I42 = new _4g2(_p32);
break;
case _t62._O72:
_I42 = new _5g2(_p32);
break;
case _t62._Xf2:
_I42 = new _6g2(_p32);
break;
case _t62._Yf2:
_I42 = new _7g2(_p32);
break;
case _t62._Zf2:
_I42 = new _8g2(_p32);
break;
case _t62.__f2:
_I42 = new _9g2(_p32);
break;
case _t62._0g2:
_I42 = new _ag2(_p32);
break;
case _t62._T72:
_I42 = new _bg2(_p32);
break;
default:
_uR1(!1);
break;
}
return _I42;
};
_t62._K32 = function (_I42) {};
function _cg2() {
this.parent.call(this);
this.type = _t62._Vf2;
this._dg2 = new _iS1();
this._eg2 = new _iS1();
this._fg2 = 0.0;
this._gg2 = 0.0;
this._hg2 = 0.0;
this._ig2 = 0.0;
this._jg2 = 0.0;
this._kg2 = !1;
this._lg2 = !1;
Object.seal(this);
}
_cg2.prototype = {
_FY1: function (_y72, _z72, anchor) {
this._z62 = _y72;
this._A62 = _z72;
this._dg2 = this._z62._942(anchor);
this._eg2 = this._A62._942(anchor);
this._fg2 = this._A62.__S1() - this._z62.__S1();
},
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._dg2._wS1(data["localAnchorA"]);
this._eg2._wS1(data["localAnchorB"]);
this._fg2 = data["referenceAngle"];
this._gg2 = data["lowerAngle"];
this._hg2 = data["upperAngle"];
this._ig2 = data["maxMotorTorque"];
this._jg2 = data["motorSpeed"];
this._kg2 = data["enableLimit"];
this._lg2 = data["enableMotor"];
},
};
_cg2._ZQ1(_Lf2);
function _4g2(_p32) {
this.parent.call(this, _p32);
this._mg2 = _p32._dg2._b01();
this._ng2 = _p32._eg2._b01();
this._og2 = _p32._fg2;
this._pg2 = new _yS1();
this._qg2 = 0.0;
this._rg2 = _p32._gg2;
this._sg2 = _p32._hg2;
this._tg2 = _p32._ig2;
this._ug2 = _p32._jg2;
this._vg2 = _p32._kg2;
this._wg2 = _p32._lg2;
this._xg2 = _t62._Rf2;
this._8d2 = 0;
this._9d2 = 0;
this._yg2 = new _iS1();
this._zg2 = new _iS1();
this._Ag2 = new _iS1();
this._Bg2 = new _iS1();
this._Cg2 = 0;
this._Dg2 = 0;
this._Eg2 = 0;
this._Fg2 = 0;
this._c32 = new _MS1();
this._Gg2 = 0;
}
_4g2.prototype = {
_L72: function () {
return this._x62._642(this._mg2);
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Hg2: function () {
return this._mg2;
},
_Ig2: function () {
return this._ng2;
},
_Jg2: function () {
return this._og2;
},
_Kg2: function () {
var _y72 = this._x62;
var _z72 = this._v62;
return _z72._Z22._l41 - _y72._Z22._l41 - this._og2;
},
_Lg2: function () {
var _y72 = this._x62;
var _z72 = this._v62;
return _z72._432 - _y72._432;
},
_Mg2: function () {
return this._vg2;
},
_Ng2: function (_q42) {
if (_q42 != this._vg2) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._vg2 = _q42;
this._pg2._L61 = 0.0;
}
},
_Og2: function () {
return this._rg2;
},
_Pg2: function () {
return this._sg2;
},
_Qg2: function (_1B1, _HV1) {
_uR1(_1B1 <= _HV1);
if (_1B1 != this._rg2 || _HV1 != this._sg2) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._pg2._L61 = 0.0;
this._rg2 = _1B1;
this._sg2 = _HV1;
}
},
_Rg2: function () {
return this._wg2;
},
_Sg2: function (_q42) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._wg2 = _q42;
},
_Tg2: function (_E2) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._ug2 = _E2;
},
_Ug2: function () {
return this._ug2;
},
_Vg2: function (_Z32) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._tg2 = _Z32;
},
_Wg2: function () {
return this._tg2;
},
_Of2: function (_A52) {
var _x_1 = new _iS1(this._pg2.x, this._pg2.y);
return _iS1.Multiply(_A52, _x_1);
},
_Pf2: function (_A52) {
return _A52 * this._pg2._L61;
},
_Xg2: function (_A52) {
return _A52 * this._qg2;
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._Ag2 = this._x62._Z22._5T1;
this._Bg2 = this._v62._Z22._5T1;
this._Cg2 = this._x62._d32;
this._Dg2 = this._v62._d32;
this._Eg2 = this._x62._f32;
this._Fg2 = this._v62._f32;
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
this._yg2 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
this._zg2 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _L22 = _D12 + _E12 == 0.0;
this._c32._dc1.x = _me2 + _ne2 + this._yg2.y * this._yg2.y * _D12 + this._zg2.y * this._zg2.y * _E12;
this._c32._1v1.x = -this._yg2.y * this._yg2.x * _D12 - this._zg2.y * this._zg2.x * _E12;
this._c32._OS1.x = -this._yg2.y * _D12 - this._zg2.y * _E12;
this._c32._dc1.y = this._c32._1v1.x;
this._c32._1v1.y = _me2 + _ne2 + this._yg2.x * this._yg2.x * _D12 + this._zg2.x * this._zg2.x * _E12;
this._c32._OS1.y = this._yg2.x * _D12 + this._zg2.x * _E12;
this._c32._dc1._L61 = this._c32._OS1.x;
this._c32._1v1._L61 = this._c32._OS1.y;
this._c32._OS1._L61 = _D12 + _E12;
this._Gg2 = _D12 + _E12;
if (this._Gg2 > 0.0) {
this._Gg2 = 1.0 / this._Gg2;
}
if (this._wg2 == !1 || _L22) {
this._qg2 = 0.0;
}
if (this._vg2 && _L22 == !1) {
var __g2 = _qe2 - _oe2 - this._og2;
if (_DT1(this._sg2 - this._rg2) < 2.0 * _ER1) {
this._xg2 = _t62._Uf2;
} else if (__g2 <= this._rg2) {
if (this._xg2 != _t62._Sf2) {
this._pg2._L61 = 0.0;
}
this._xg2 = _t62._Sf2;
} else if (__g2 >= this._sg2) {
if (this._xg2 != _t62._Tf2) {
this._pg2._L61 = 0.0;
}
this._xg2 = _t62._Tf2;
} else {
this._xg2 = _t62._Rf2;
this._pg2._L61 = 0.0;
}
} else {
this._xg2 = _t62._Rf2;
}
if (data._7R1._E52) {
this._pg2.Multiply(data._7R1._B52);
this._qg2 *= data._7R1._B52;
var _x_1 = new _iS1(this._pg2.x, this._pg2.y);
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * (_fT1(this._yg2, _x_1) + this._qg2 + this._pg2._L61);
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * (_fT1(this._zg2, _x_1) + this._qg2 + this._pg2._L61);
} else {
this._pg2._jS1();
this._qg2 = 0.0;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _L22 = _D12 + _E12 == 0.0;
if (this._wg2 && this._xg2 != _t62._Uf2 && _L22 == !1) {
var _0h2 = _eX1 - _dX1 - this._ug2;
var _042 = -this._Gg2 * _0h2;
var _1h2 = this._qg2;
var _2h2 = data._7R1._z52 * this._tg2;
this._qg2 = _KT1(this._qg2 + _042, -_2h2, _2h2);
_042 = this._qg2 - _1h2;
_dX1 -= _D12 * _042;
_eX1 += _E12 * _042;
}
if (this._vg2 && this._xg2 != _t62._Rf2 && _L22 == !1) {
var _3h2 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_re2, _hT1(_eX1, this._zg2)), _pe2), _hT1(_dX1, this._yg2));
var _4h2 = _eX1 - _dX1;
var _0h2 = new _yS1(_3h2.x, _3h2.y, _4h2);
var _042 = this._c32._PS1(_0h2)._mS1();
if (this._xg2 == _t62._Uf2) {
this._pg2._Da1(_042);
} else if (this._xg2 == _t62._Sf2) {
var _Qe2 = this._pg2._L61 + _042._L61;
if (_Qe2 < 0.0) {
var _5h2 = _iS1._Da1(_3h2._mS1(), _iS1.Multiply(this._pg2._L61, new _iS1(this._c32._OS1.x, this._c32._OS1.y)));
var _6h2 = this._c32._SS1(_5h2);
_042.x = _6h2.x;
_042.y = _6h2.y;
_042._L61 = -this._pg2._L61;
this._pg2.x += _6h2.x;
this._pg2.y += _6h2.y;
this._pg2._L61 = 0.0;
} else {
this._pg2._Da1(_042);
}
} else if (this._xg2 == _t62._Tf2) {
var _Qe2 = this._pg2._L61 + _042._L61;
if (_Qe2 > 0.0) {
var _5h2 = _iS1._Da1(_3h2._mS1(), _iS1.Multiply(this._pg2._L61, new _iS1(this._c32._OS1.x, this._c32._OS1.y)));
var _6h2 = this._c32._SS1(_5h2);
_042.x = _6h2.x;
_042.y = _6h2.y;
_042._L61 = -this._pg2._L61;
this._pg2.x += _6h2.x;
this._pg2.y += _6h2.y;
this._pg2._L61 = 0.0;
} else {
this._pg2._Da1(_042);
}
}
var _x_1 = new _iS1(_042.x, _042.y);
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * (_fT1(this._yg2, _x_1) + _042._L61);
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * (_fT1(this._zg2, _x_1) + _042._L61);
} else {
var _0h2 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_re2, _hT1(_eX1, this._zg2)), _pe2), _hT1(_dX1, this._yg2));
var _042 = this._c32._SS1(_0h2._mS1());
this._pg2.x += _042.x;
this._pg2.y += _042.y;
_pe2._pS1(_iS1.Multiply(_me2, _042));
_dX1 -= _D12 * _fT1(this._yg2, _042);
_re2._Da1(_iS1.Multiply(_ne2, _042));
_eX1 += _E12 * _fT1(this._zg2, _042);
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
var _7h2 = 0.0;
var _8h2 = 0.0;
var _L22 = this._Eg2 + this._Fg2 == 0.0;
if (this._vg2 && this._xg2 != _t62._Rf2 && _L22 == !1) {
var angle = _qe2 - _oe2 - this._og2;
var _9h2 = 0.0;
if (this._xg2 == _t62._Uf2) {
var _zT1 = _KT1(angle - this._rg2, -_KR1, _KR1);
_9h2 = -this._Gg2 * _zT1;
_7h2 = _DT1(_zT1);
} else if (this._xg2 == _t62._Sf2) {
var _zT1 = angle - this._rg2;
_7h2 = -_zT1;
_zT1 = _KT1(_zT1 + _ER1, -_KR1, 0.0);
_9h2 = -this._Gg2 * _zT1;
} else if (this._xg2 == _t62._Tf2) {
var _zT1 = angle - this._sg2;
_7h2 = _zT1;
_zT1 = _KT1(_zT1 - _ER1, 0.0, _KR1);
_9h2 = -this._Gg2 * _zT1;
}
_oe2 -= this._Eg2 * _9h2;
_qe2 += this._Fg2 * _9h2;
}
{
_Yg2._sc1(_oe2);
_Zg2._sc1(_qe2);
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _zT1 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_N62, _gY1), _L62), _fY1);
_8h2 = _zT1.Length();
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _2e2 = new _AS1();
_2e2._dc1.x = _me2 + _ne2 + _D12 * _fY1.y * _fY1.y + _E12 * _gY1.y * _gY1.y;
_2e2._dc1.y = -_D12 * _fY1.x * _fY1.y - _E12 * _gY1.x * _gY1.y;
_2e2._1v1.x = _2e2._dc1.y;
_2e2._1v1.y = _me2 + _ne2 + _D12 * _fY1.x * _fY1.x + _E12 * _gY1.x * _gY1.x;
var _042 = _2e2._HS1(_zT1)._mS1();
_L62._pS1(_iS1.Multiply(_me2, _042));
_oe2 -= _D12 * _fT1(_fY1, _042);
_N62._Da1(_iS1.Multiply(_ne2, _042));
_qe2 += _E12 * _fT1(_gY1, _042);
}
data._I52[this._8d2]._Y9._IE1(_L62);
data._I52[this._8d2]._l41 = _oe2;
data._I52[this._9d2]._Y9._IE1(_N62);
data._I52[this._9d2]._l41 = _qe2;
return _8h2 <= _DR1 && _7h2 <= _ER1;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["localAnchorA"] = this._mg2._vS1();
_cq1["localAnchorB"] = this._ng2._vS1();
_cq1["referenceAngle"] = this._og2;
_cq1["lowerAngle"] = this._rg2;
_cq1["upperAngle"] = this._sg2;
_cq1["maxMotorTorque"] = this._tg2;
_cq1["motorSpeed"] = this._ug2;
_cq1["enableLimit"] = this._vg2;
_cq1["enableMotor"] = this._wg2;
return _cq1;
},
};
_4g2._ZQ1(_t62);
function _ah2() {
this.parent.call(this);
this.type = _t62._S72;
this.target = new _iS1(0.0, 0.0);
this._bh2 = 0.0;
this._ch2 = 5.0;
this._dh2 = 0.7;
Object.seal(this);
}
_ah2._ZQ1(_Lf2);
function _2g2(_p32) {
this.parent.call(this, _p32);
_uR1(_p32.target._tS1());
_uR1(_8S1(_p32._bh2) && _p32._bh2 >= 0.0);
_uR1(_8S1(_p32._ch2) && _p32._ch2 >= 0.0);
_uR1(_8S1(_p32._dh2) && _p32._dh2 >= 0.0);
this._eh2 = _p32.target._b01();
this._ng2 = _xT1(this._v62._aT1(), this._eh2);
this._fh2 = _p32._bh2;
this._pg2 = new _iS1();
this._gh2 = _p32._ch2;
this._hh2 = _p32._dh2;
this._ih2 = 0.0;
this._jh2 = 0.0;
this._8d2 = 0;
this._9d2 = 0;
this._zg2 = new _iS1();
this._Bg2 = new _iS1();
this._Dg2 = 0;
this._Fg2 = 0;
this._c32 = new _AS1();
this._kh2 = new _iS1();
}
_2g2.prototype = {
_L72: function () {
return this._eh2;
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Of2: function (_A52) {
return _iS1.Multiply(_A52, this._pg2);
},
_Pf2: function (_A52) {
return _A52 * 0.0;
},
_lh2: function (target) {
if (this._v62._u42() == !1) {
this._v62._qF1(!0);
}
this._eh2._IE1(target);
},
_mh2: function () {
return this._eh2;
},
_nh2: function (_V32) {
this._fh2 = _V32;
},
_oh2: function () {
return this._fh2;
},
_ph2: function (_qh2) {
this._gh2 = _qh2;
},
_rh2: function () {
return this._gh2;
},
_sh2: function (_wf2) {
this._hh2 = _wf2;
},
_th2: function () {
return this._hh2;
},
_QW1: function (_RW1) {
this._eh2._pS1(_RW1);
},
_sf2: function (data) {
this._9d2 = this._v62._Q22;
this._Bg2._IE1(this._v62._Z22._5T1);
this._Dg2 = this._v62._d32;
this._Fg2 = this._v62._f32;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Zg2 = new _ZS1(_qe2);
var _pU1 = this._v62._242();
var _uh2 = 2.0 * _yR1 * this._gh2;
var _Ce1 = 2.0 * _pU1 * this._hh2 * _uh2;
var _Sc1 = _pU1 * (_uh2 * _uh2);
var __9 = data._7R1._z52;
_uR1(_Ce1 + __9 * _Sc1 > _xR1);
this._jh2 = __9 * (_Ce1 + __9 * _Sc1);
if (this._jh2 != 0.0) {
this._jh2 = 1.0 / this._jh2;
}
this._ih2 = __9 * _Sc1 * this._jh2;
this._zg2._IE1(_tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2)));
var _2e2 = new _AS1();
_2e2._dc1.x = this._Dg2 + this._Fg2 * this._zg2.y * this._zg2.y + this._jh2;
_2e2._dc1.y = -this._Fg2 * this._zg2.x * this._zg2.y;
_2e2._1v1.x = _2e2._dc1.y;
_2e2._1v1.y = this._Dg2 + this._Fg2 * this._zg2.x * this._zg2.x + this._jh2;
this._c32._IE1(_2e2._ES1());
this._kh2._IE1(_iS1._pS1(_iS1._Da1(_N62, this._zg2), this._eh2));
this._kh2.Multiply(this._ih2);
_eX1 *= 0.98;
if (data._7R1._E52) {
this._pg2.Multiply(data._7R1._B52);
_re2._Da1(_iS1.Multiply(this._Dg2, this._pg2));
_eX1 += this._Fg2 * _fT1(this._zg2, this._pg2);
} else {
this._pg2._jS1();
}
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _0h2 = _iS1._Da1(_re2, _hT1(_eX1, this._zg2));
var _042 = _iT1(this._c32, _iS1._Da1(_iS1._Da1(_0h2, this._kh2), _iS1.Multiply(this._jh2, this._pg2))._mS1());
var _1h2 = this._pg2._b01();
this._pg2._Da1(_042);
var _2h2 = data._7R1._z52 * this._fh2;
if (this._pg2._qS1() > _2h2 * _2h2) {
this._pg2.Multiply(_2h2 / this._pg2.Length());
}
_042._IE1(_iS1._pS1(this._pg2, _1h2));
_re2._Da1(_iS1.Multiply(this._Dg2, _042));
_eX1 += this._Fg2 * _fT1(this._zg2, _042);
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
return !0;
},
};
_2g2._ZQ1(_t62); /// @warning Do not use a zero or short length.
function _vh2() {
this.parent.call(this);
this.type = _t62._N72;
this._dg2 = new _iS1(0.0, 0.0);
this._eg2 = new _iS1(0.0, 0.0);
this.length = 1.0;
this._ch2 = 0.0;
this._dh2 = 0.0;
Object.seal(this);
}
_vh2.prototype = {
_FY1: function (_3r1, _4r1, _wh2, _xh2) {
this._z62 = _3r1;
this._A62 = _4r1;
this._dg2 = this._z62._942(_wh2);
this._eg2 = this._A62._942(_xh2);
var _Ce1 = _iS1._pS1(_xh2, _wh2);
this.length = _Ce1.Length();
},
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._dg2._wS1(data["localAnchorA"]);
this._eg2._wS1(data["localAnchorB"]);
this.length = data["length"];
this._ch2 = data["frequencyHz"];
this._dh2 = data["dampingRatio"];
},
};
_vh2._ZQ1(_Lf2);
function _1g2(_p32) {
this.parent.call(this, _p32);
this._mg2 = _p32._dg2._b01();
this._ng2 = _p32._eg2._b01();
this._yh2 = _p32.length;
this._gh2 = _p32._ch2;
this._hh2 = _p32._dh2;
this._pg2 = 0.0;
this._jh2 = 0.0;
this._zh2 = 0.0;
this._8d2 = 0;
this._9d2 = 0;
this._Ah2 = new _iS1();
this._yg2 = new _iS1();
this._zg2 = new _iS1();
this._Ag2 = new _iS1();
this._Bg2 = new _iS1();
this._Cg2 = 0;
this._Dg2 = 0;
this._Eg2 = 0;
this._Fg2 = 0;
this._c32 = 0;
}
_1g2.prototype = {
_L72: function () {
return this._x62._642(this._mg2);
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Of2: function (_A52) {
var _I12 = _iS1.Multiply(_A52 * this._pg2, this._Ah2);
return _I12;
},
_Pf2: function (_A52) {
return 0.0;
},
_Hg2: function () {
return this._mg2;
},
_Ig2: function () {
return this._ng2;
},
_Bh2: function (length) {
this._yh2 = length;
},
_Ch2: function () {
return this._yh2;
},
_ph2: function (_qh2) {
this._gh2 = _qh2;
},
_rh2: function () {
return this._gh2;
},
_sh2: function (_wf2) {
this._hh2 = _wf2;
},
_th2: function () {
return this._hh2;
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._Ag2._IE1(this._x62._Z22._5T1);
this._Bg2._IE1(this._v62._Z22._5T1);
this._Cg2 = this._x62._d32;
this._Dg2 = this._v62._d32;
this._Eg2 = this._x62._f32;
this._Fg2 = this._v62._f32;
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
this._yg2 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
this._zg2 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
this._Ah2 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_N62, this._zg2), _L62), this._yg2);
var length = this._Ah2.Length();
if (length > _DR1) {
this._Ah2.Multiply(1.0 / length);
} else {
this._Ah2._sc1(0.0, 0.0);
}
var _Dh2 = _fT1(this._yg2, this._Ah2);
var _Eh2 = _fT1(this._zg2, this._Ah2);
var _Fh2 = this._Cg2 + this._Eg2 * _Dh2 * _Dh2 + this._Dg2 + this._Fg2 * _Eh2 * _Eh2;
this._c32 = _Fh2 != 0.0 ? 1.0 / _Fh2 : 0.0;
if (this._gh2 > 0.0) {
var _zT1 = length - this._yh2;
var _uh2 = 2.0 * _yR1 * this._gh2;
var _Ce1 = 2.0 * this._c32 * this._hh2 * _uh2;
var _Sc1 = this._c32 * _uh2 * _uh2;
var __9 = data._7R1._z52;
this._jh2 = __9 * (_Ce1 + __9 * _Sc1);
this._jh2 = this._jh2 != 0.0 ? 1.0 / this._jh2 : 0.0;
this._zh2 = _zT1 * __9 * _Sc1 * this._jh2;
_Fh2 += this._jh2;
this._c32 = _Fh2 != 0.0 ? 1.0 / _Fh2 : 0.0;
} else {
this._jh2 = 0.0;
this._zh2 = 0.0;
}
if (data._7R1._E52) {
this._pg2 *= data._7R1._B52;
var _x_1 = _iS1.Multiply(this._pg2, this._Ah2);
_pe2._pS1(_iS1.Multiply(this._Cg2, _x_1));
_dX1 -= this._Eg2 * _fT1(this._yg2, _x_1);
_re2._Da1(_iS1.Multiply(this._Dg2, _x_1));
_eX1 += this._Fg2 * _fT1(this._zg2, _x_1);
} else {
this._pg2 = 0.0;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Gh2 = _iS1._Da1(_pe2, _hT1(_dX1, this._yg2));
var _Hh2 = _iS1._Da1(_re2, _hT1(_eX1, this._zg2));
var _0h2 = _eT1(this._Ah2, _iS1._pS1(_Hh2, _Gh2));
var _042 = -this._c32 * (_0h2 + this._zh2 + this._jh2 * this._pg2);
this._pg2 += _042;
var _x_1 = _iS1.Multiply(_042, this._Ah2);
_pe2._pS1(_iS1.Multiply(this._Cg2, _x_1));
_dX1 -= this._Eg2 * _fT1(this._yg2, _x_1);
_re2._Da1(_iS1.Multiply(this._Dg2, _x_1));
_eX1 += this._Fg2 * _fT1(this._zg2, _x_1);
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
if (this._gh2 > 0.0) {
return !0;
}
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _P41 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_N62, _gY1), _L62), _fY1);
var length = _P41._rS1();
var _zT1 = length - this._yh2;
_zT1 = _KT1(_zT1, -_JR1, _JR1);
var _042 = -this._c32 * _zT1;
var _x_1 = _iS1.Multiply(_042, _P41);
_L62._pS1(_iS1.Multiply(this._Cg2, _x_1));
_oe2 -= this._Eg2 * _fT1(_fY1, _x_1);
_N62._Da1(_iS1.Multiply(this._Dg2, _x_1));
_qe2 += this._Fg2 * _fT1(_gY1, _x_1);
data._I52[this._8d2]._Y9._IE1(_L62);
data._I52[this._8d2]._l41 = _oe2;
data._I52[this._9d2]._Y9._IE1(_N62);
data._I52[this._9d2]._l41 = _qe2;
return _DT1(_zT1) < _DR1;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["localAnchorA"] = this._mg2._vS1();
_cq1["localAnchorB"] = this._ng2._vS1();
_cq1["length"] = this._yh2;
_cq1["frequencyHz"] = this._gh2;
_cq1["dampingRatio"] = this._hh2;
return _cq1;
},
};
_1g2._ZQ1(_t62);
function _Ih2() {
this.parent.call(this);
this.type = _t62._Wf2;
this._dg2 = new _iS1();
this._eg2 = new _iS1();
this._Jh2 = new _iS1(1.0, 0.0);
this._fg2 = 0.0;
this._kg2 = !1;
this._Kh2 = 0.0;
this._Lh2 = 0.0;
this._lg2 = !1;
this._Mh2 = 0.0;
this._jg2 = 0.0;
Object.seal(this);
}
_Ih2.prototype = {
_FY1: function (_y72, _z72, anchor, _Ge1) {
this._z62 = _y72;
this._A62 = _z72;
this._dg2 = this._z62._942(anchor);
this._eg2 = this._A62._942(anchor);
this._Jh2 = this._z62._b42(_Ge1);
this._fg2 = this._A62.__S1() - this._z62.__S1();
},
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._dg2._wS1(data["localAnchorA"]);
this._eg2._wS1(data["localAnchorB"]);
this._Jh2._wS1(data["localAxisA"]);
this._fg2 = data["referenceAngle"];
this._kg2 = data["enableLimit"];
this._Kh2 = data["lowerTranslation"];
this._Lh2 = data["upperTranslation"];
this._lg2 = data["enableMotor"];
this._Mh2 = data["maxMotorForce"];
this._jg2 = data["motorSpeed"];
},
};
_Ih2._ZQ1(_Lf2);
function _3g2(_p32) {
this.parent.call(this, _p32);
this._mg2 = _p32._dg2._b01();
this._ng2 = _p32._eg2._b01();
this._Nh2 = _p32._Jh2._b01();
this._Nh2._rS1();
this._Oh2 = _hT1(1.0, this._Nh2);
this._og2 = _p32._fg2;
this._pg2 = new _yS1();
this._Gg2 = 0.0;
this._qg2 = 0.0;
this._Ph2 = _p32._Kh2;
this._Qh2 = _p32._Lh2;
this._Rh2 = _p32._Mh2;
this._ug2 = _p32._jg2;
this._vg2 = _p32._kg2;
this._wg2 = _p32._lg2;
this._xg2 = _t62._Rf2;
this._322 = new _iS1();
this._Sh2 = new _iS1();
this._8d2 = 0;
this._9d2 = 0;
this._Ag2 = new _iS1();
this._Bg2 = new _iS1();
this._Cg2 = 0;
this._Dg2 = 0;
this._Eg2 = 0;
this._Fg2 = 0;
(this._Th2 = 0), (this._Uh2 = 0);
(this._Vh2 = 0), (this._Wh2 = 0);
this._Xh2 = new _MS1();
this._Gg2 = 0;
}
_3g2.prototype = {
_L72: function () {
return this._x62._642(this._mg2);
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Of2: function (_A52) {
return _iS1.Multiply(_A52, _iS1._Da1(_iS1.Multiply(this._pg2.x, this._Sh2), _iS1.Multiply(this._qg2 + this._pg2._L61, this._322)));
},
_Pf2: function (_A52) {
return _A52 * this._pg2.y;
},
_Hg2: function () {
return this._mg2;
},
_Ig2: function () {
return this._ng2;
},
_Yh2: function () {
return this._Nh2;
},
_Jg2: function () {
return this._og2;
},
_Zh2: function () {
var _uX1 = this._x62._642(this._mg2);
var _vX1 = this._v62._642(this._ng2);
var _Ce1 = _iS1._pS1(_vX1, _uX1);
var _Ge1 = this._x62._742(this._Nh2);
var _Ff2 = _eT1(_Ce1, _Ge1);
return _Ff2;
},
_Lg2: function () {
var _y72 = this._x62;
var _z72 = this._v62;
var _fY1 = _tT1(_y72._T_1._Yr1, _iS1._pS1(this._mg2, _y72._Z22._5T1));
var _gY1 = _tT1(_z72._T_1._Yr1, _iS1._pS1(this._ng2, _z72._Z22._5T1));
var _Fe1 = _iS1._Da1(_y72._Z22._Y9, _fY1);
var _5U1 = _iS1._Da1(_z72._Z22._Y9, _gY1);
var _Ce1 = _iS1._pS1(_5U1, _Fe1);
var _Ge1 = _tT1(_y72._T_1._Yr1, this._Nh2);
var _pe2 = _y72._332;
var _re2 = _z72._332;
var _dX1 = _y72._432;
var _eX1 = _z72._432;
var _E2 = _eT1(_Ce1, _hT1(_dX1, _Ge1)) + _eT1(_Ge1, _iS1._pS1(_iS1._pS1(_iS1._Da1(_re2, _hT1(_eX1, _gY1)), _pe2), _hT1(_dX1, _fY1)));
return _E2;
},
_Mg2: function () {
return this._vg2;
},
_Ng2: function (_q42) {
if (_q42 != this._vg2) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._vg2 = _q42;
this._pg2._L61 = 0.0;
}
},
_Og2: function () {
return this._Ph2;
},
_Pg2: function () {
return this._Qh2;
},
_Qg2: function (_1B1, _HV1) {
_uR1(_1B1 <= _HV1);
if (_1B1 != this._Ph2 || _HV1 != this._Qh2) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._Ph2 = _1B1;
this._Qh2 = _HV1;
this._pg2._L61 = 0.0;
}
},
_Rg2: function () {
return this._wg2;
},
_Sg2: function (_q42) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._wg2 = _q42;
},
_Tg2: function (_E2) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._ug2 = _E2;
},
_Ug2: function () {
return this._ug2;
},
__h2: function (_V32) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._Rh2 = _V32;
},
_0i2: function () {
return this._Rh2;
},
_1i2: function (_A52) {
return _A52 * this._qg2;
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._Ag2 = this._x62._Z22._5T1;
this._Bg2 = this._v62._Z22._5T1;
this._Cg2 = this._x62._d32;
this._Dg2 = this._v62._d32;
this._Eg2 = this._x62._f32;
this._Fg2 = this._v62._f32;
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _Ce1 = _iS1._Da1(_iS1._pS1(_N62, _L62), _iS1._pS1(_gY1, _fY1));
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
{
this._322 = _tT1(_Yg2, this._Nh2);
this._Vh2 = _fT1(_iS1._Da1(_Ce1, _fY1), this._322);
this._Wh2 = _fT1(_gY1, this._322);
this._Gg2 = _me2 + _ne2 + _D12 * this._Vh2 * this._Vh2 + _E12 * this._Wh2 * this._Wh2;
if (this._Gg2 > 0.0) {
this._Gg2 = 1.0 / this._Gg2;
}
}
{
this._Sh2 = _tT1(_Yg2, this._Oh2);
this._Th2 = _fT1(_iS1._Da1(_Ce1, _fY1), this._Sh2);
this._Uh2 = _fT1(_gY1, this._Sh2);
var _Fe2 = _me2 + _ne2 + _D12 * this._Th2 * this._Th2 + _E12 * this._Uh2 * this._Uh2;
var _He2 = _D12 * this._Th2 + _E12 * this._Uh2;
var _2i2 = _D12 * this._Th2 * this._Vh2 + _E12 * this._Uh2 * this._Wh2;
var _Ge2 = _D12 + _E12;
if (_Ge2 == 0.0) {
_Ge2 = 1.0;
}
var _3i2 = _D12 * this._Vh2 + _E12 * this._Wh2;
var _4i2 = _me2 + _ne2 + _D12 * this._Vh2 * this._Vh2 + _E12 * this._Wh2 * this._Wh2;
this._Xh2._dc1._sc1(_Fe2, _He2, _2i2);
this._Xh2._1v1._sc1(_He2, _Ge2, _3i2);
this._Xh2._OS1._sc1(_2i2, _3i2, _4i2);
}
if (this._vg2) {
var _5i2 = _eT1(this._322, _Ce1);
if (_DT1(this._Qh2 - this._Ph2) < 2.0 * _DR1) {
this._xg2 = _t62._Uf2;
} else if (_5i2 <= this._Ph2) {
if (this._xg2 != _t62._Sf2) {
this._xg2 = _t62._Sf2;
this._pg2._L61 = 0.0;
}
} else if (_5i2 >= this._Qh2) {
if (this._xg2 != _t62._Tf2) {
this._xg2 = _t62._Tf2;
this._pg2._L61 = 0.0;
}
} else {
this._xg2 = _t62._Rf2;
this._pg2._L61 = 0.0;
}
} else {
this._xg2 = _t62._Rf2;
this._pg2._L61 = 0.0;
}
if (this._wg2 == !1) {
this._qg2 = 0.0;
}
if (data._7R1._E52) {
this._pg2.Multiply(data._7R1._B52);
this._qg2 *= data._7R1._B52;
var _x_1 = _iS1._Da1(_iS1.Multiply(this._pg2.x, this._Sh2), _iS1.Multiply(this._qg2 + this._pg2._L61, this._322));
var _6i2 = this._pg2.x * this._Th2 + this._pg2.y + (this._qg2 + this._pg2._L61) * this._Vh2;
var _7i2 = this._pg2.x * this._Uh2 + this._pg2.y + (this._qg2 + this._pg2._L61) * this._Wh2;
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * _6i2;
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * _7i2;
} else {
this._pg2._jS1();
this._qg2 = 0.0;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
if (this._wg2 && this._xg2 != _t62._Uf2) {
var _0h2 = _eT1(this._322, _iS1._pS1(_re2, _pe2)) + this._Wh2 * _eX1 - this._Vh2 * _dX1;
var _042 = this._Gg2 * (this._ug2 - _0h2);
var _1h2 = this._qg2;
var _2h2 = data._7R1._z52 * this._Rh2;
this._qg2 = _KT1(this._qg2 + _042, -_2h2, _2h2);
_042 = this._qg2 - _1h2;
var _x_1 = _iS1.Multiply(_042, this._322);
var _6i2 = _042 * this._Vh2;
var _7i2 = _042 * this._Wh2;
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * _6i2;
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * _7i2;
}
var _3h2 = new _iS1();
_3h2.x = _eT1(this._Sh2, _iS1._pS1(_re2, _pe2)) + this._Uh2 * _eX1 - this._Th2 * _dX1;
_3h2.y = _eX1 - _dX1;
if (this._vg2 && this._xg2 != _t62._Rf2) {
var _4h2;
_4h2 = _eT1(this._322, _iS1._pS1(_re2, _pe2)) + this._Wh2 * _eX1 - this._Vh2 * _dX1;
var _0h2 = new _yS1(_3h2.x, _3h2.y, _4h2);
var _8i2 = this._pg2._b01();
var _9i2 = this._Xh2._PS1(_0h2._mS1());
this._pg2._Da1(_9i2);
if (this._xg2 == _t62._Sf2) {
this._pg2._L61 = _IT1(this._pg2._L61, 0.0);
} else if (this._xg2 == _t62._Tf2) {
this._pg2._L61 = _GT1(this._pg2._L61, 0.0);
}
var _e21 = _iS1._pS1(_3h2._mS1(), _iS1.Multiply(this._pg2._L61 - _8i2._L61, new _iS1(this._Xh2._OS1.x, this._Xh2._OS1.y)));
var _ai2 = _iS1._Da1(this._Xh2._SS1(_e21), new _iS1(_8i2.x, _8i2.y));
this._pg2.x = _ai2.x;
this._pg2.y = _ai2.y;
_9i2 = _yS1._pS1(this._pg2, _8i2);
var _x_1 = _iS1._Da1(_iS1.Multiply(_9i2.x, this._Sh2), _iS1.Multiply(_9i2._L61, this._322));
var _6i2 = _9i2.x * this._Th2 + _9i2.y + _9i2._L61 * this._Vh2;
var _7i2 = _9i2.x * this._Uh2 + _9i2.y + _9i2._L61 * this._Wh2;
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * _6i2;
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * _7i2;
} else {
var _9i2 = this._Xh2._SS1(_3h2._mS1());
this._pg2.x += _9i2.x;
this._pg2.y += _9i2.y;
var _x_1 = _iS1.Multiply(_9i2.x, this._Sh2);
var _6i2 = _9i2.x * this._Th2 + _9i2.y;
var _7i2 = _9i2.x * this._Uh2 + _9i2.y;
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * _6i2;
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * _7i2;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _Ce1 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_N62, _gY1), _L62), _fY1);
var _Ge1 = _tT1(_Yg2, this._Nh2);
var _LM1 = _fT1(_iS1._Da1(_Ce1, _fY1), _Ge1);
var _MM1 = _fT1(_gY1, _Ge1);
var _bi2 = _tT1(_Yg2, this._Oh2);
var _Km1 = _fT1(_iS1._Da1(_Ce1, _fY1), _bi2);
var _Lm1 = _fT1(_gY1, _bi2);
var _042 = new _yS1();
var _ci2 = new _iS1();
_ci2.x = _eT1(_bi2, _Ce1);
_ci2.y = _qe2 - _oe2 - this._og2;
var _di2 = _DT1(_ci2.x);
var _7h2 = _DT1(_ci2.y);
var _cl = !1;
var _ei2 = 0.0;
if (this._vg2) {
var _Ff2 = _eT1(_Ge1, _Ce1);
if (_DT1(this._Qh2 - this._Ph2) < 2.0 * _DR1) {
_ei2 = _KT1(_Ff2, -_JR1, _JR1);
_di2 = _IT1(_di2, _DT1(_Ff2));
_cl = !0;
} else if (_Ff2 <= this._Ph2) {
_ei2 = _KT1(_Ff2 - this._Ph2 + _DR1, -_JR1, 0.0);
_di2 = _IT1(_di2, this._Ph2 - _Ff2);
_cl = !0;
} else if (_Ff2 >= this._Qh2) {
_ei2 = _KT1(_Ff2 - this._Qh2 - _DR1, 0.0, _JR1);
_di2 = _IT1(_di2, _Ff2 - this._Qh2);
_cl = !0;
}
}
if (_cl) {
var _Fe2 = _me2 + _ne2 + _D12 * _Km1 * _Km1 + _E12 * _Lm1 * _Lm1;
var _He2 = _D12 * _Km1 + _E12 * _Lm1;
var _2i2 = _D12 * _Km1 * _LM1 + _E12 * _Lm1 * _MM1;
var _Ge2 = _D12 + _E12;
if (_Ge2 == 0.0) {
_Ge2 = 1.0;
}
var _3i2 = _D12 * _LM1 + _E12 * _MM1;
var _4i2 = _me2 + _ne2 + _D12 * _LM1 * _LM1 + _E12 * _MM1 * _MM1;
var _2e2 = new _MS1();
_2e2._dc1._sc1(_Fe2, _He2, _2i2);
_2e2._1v1._sc1(_He2, _Ge2, _3i2);
_2e2._OS1._sc1(_2i2, _3i2, _4i2);
var _zT1 = new _yS1();
_zT1.x = _ci2.x;
_zT1.y = _ci2.y;
_zT1._L61 = _ei2;
_042 = _2e2._PS1(_zT1._mS1());
} else {
var _Fe2 = _me2 + _ne2 + _D12 * _Km1 * _Km1 + _E12 * _Lm1 * _Lm1;
var _He2 = _D12 * _Km1 + _E12 * _Lm1;
var _Ge2 = _D12 + _E12;
if (_Ge2 == 0.0) {
_Ge2 = 1.0;
}
var _2e2 = new _AS1();
_2e2._dc1._sc1(_Fe2, _He2);
_2e2._1v1._sc1(_He2, _Ge2);
var _fi2 = _2e2._HS1(_ci2._mS1());
_042.x = _fi2.x;
_042.y = _fi2.y;
_042._L61 = 0.0;
}
var _x_1 = _iS1._Da1(_iS1.Multiply(_042.x, _bi2), _iS1.Multiply(_042._L61, _Ge1));
var _6i2 = _042.x * _Km1 + _042.y + _042._L61 * _LM1;
var _7i2 = _042.x * _Lm1 + _042.y + _042._L61 * _MM1;
_L62._pS1(_iS1.Multiply(_me2, _x_1));
_oe2 -= _D12 * _6i2;
_N62._Da1(_iS1.Multiply(_ne2, _x_1));
_qe2 += _E12 * _7i2;
data._I52[this._8d2]._Y9._IE1(_L62);
data._I52[this._8d2]._l41 = _oe2;
data._I52[this._9d2]._Y9._IE1(_N62);
data._I52[this._9d2]._l41 = _qe2;
return _di2 <= _DR1 && _7h2 <= _ER1;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["localAnchorA"] = this._mg2._vS1();
_cq1["localAnchorB"] = this._ng2._vS1();
_cq1["localAxisA"] = this._Nh2._vS1();
_cq1["referenceAngle"] = this._og2;
_cq1["enableLimit"] = this._vg2;
_cq1["lowerTranslation"] = this._Ph2;
_cq1["upperTranslation"] = this._Qh2;
_cq1["enableMotor"] = this._wg2;
_cq1["maxMotorForce"] = this._Rh2;
_cq1["motorSpeed"] = this._ug2;
return _cq1;
},
};
_3g2._ZQ1(_t62);
function _gi2() {
this.parent.call(this);
this.type = _t62.__f2;
this._dg2 = new _iS1();
this._eg2 = new _iS1();
this._bh2 = 0.0;
this._hi2 = 0.0;
Object.seal(this);
}
_gi2.prototype = {
_FY1: function (_y72, _z72, anchor) {
this._z62 = _y72;
this._A62 = _z72;
this._dg2._IE1(this._z62._942(anchor));
this._eg2._IE1(this._A62._942(anchor));
},
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._dg2._wS1(data["localAnchorA"]);
this._eg2._wS1(data["localAnchorB"]);
this._bh2 = data["maxForce"];
this._hi2 = data["maxTorque"];
},
};
_gi2._ZQ1(_Lf2);
function _9g2(_p32) {
this.parent.call(this, _p32);
this._mg2 = _p32._dg2._b01();
this._ng2 = _p32._eg2._b01();
this._ii2 = new _iS1();
this._ji2 = 0.0;
this._fh2 = _p32._bh2;
this._ki2 = _p32._hi2;
this._8d2 = 0;
this._9d2 = 0;
this._yg2 = new _iS1();
this._zg2 = new _iS1();
this._Ag2 = new _iS1();
this._Bg2 = new _iS1();
this._Cg2 = 0;
this._Dg2 = 0;
this._Eg2 = 0;
this._Fg2 = 0;
this._li2 = new _AS1();
this._mi2 = 0;
}
_9g2.prototype = {
_L72: function () {
return this._x62._642(this._mg2);
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Of2: function (_A52) {
return _iS1.Multiply(_A52, this._ii2);
},
_Pf2: function (_A52) {
return _A52 * this._ji2;
},
_Hg2: function () {
return this._mg2;
},
_Ig2: function () {
return this._ng2;
},
_nh2: function (_V32) {
_uR1(_8S1(_V32) && _V32 >= 0.0);
this._fh2 = _V32;
},
_oh2: function () {
return this._fh2;
},
_ni2: function (_Z32) {
_uR1(_8S1(_Z32) && _Z32 >= 0.0);
this._ki2 = _Z32;
},
_oi2: function () {
return this._ki2;
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._Ag2._IE1(this._x62._Z22._5T1);
this._Bg2._IE1(this._v62._Z22._5T1);
this._Cg2 = this._x62._d32;
this._Dg2 = this._v62._d32;
this._Eg2 = this._x62._f32;
this._Fg2 = this._v62._f32;
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
this._yg2 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
this._zg2 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _2e2 = new _AS1();
_2e2._dc1.x = _me2 + _ne2 + _D12 * this._yg2.y * this._yg2.y + _E12 * this._zg2.y * this._zg2.y;
_2e2._dc1.y = -_D12 * this._yg2.x * this._yg2.y - _E12 * this._zg2.x * this._zg2.y;
_2e2._1v1.x = _2e2._dc1.y;
_2e2._1v1.y = _me2 + _ne2 + _D12 * this._yg2.x * this._yg2.x + _E12 * this._zg2.x * this._zg2.x;
this._li2 = _2e2._ES1();
this._mi2 = _D12 + _E12;
if (this._mi2 > 0.0) {
this._mi2 = 1.0 / this._mi2;
}
if (data._7R1._E52) {
this._ii2.Multiply(data._7R1._B52);
this._ji2 *= data._7R1._B52;
var _x_1 = new _iS1(this._ii2.x, this._ii2.y);
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * (_fT1(this._yg2, _x_1) + this._ji2);
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * (_fT1(this._zg2, _x_1) + this._ji2);
} else {
this._ii2._jS1();
this._ji2 = 0.0;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var __9 = data._7R1._z52;
{
var _0h2 = _eX1 - _dX1;
var _042 = -this._mi2 * _0h2;
var _1h2 = this._ji2;
var _2h2 = __9 * this._ki2;
this._ji2 = _KT1(this._ji2 + _042, -_2h2, _2h2);
_042 = this._ji2 - _1h2;
_dX1 -= _D12 * _042;
_eX1 += _E12 * _042;
}
{
var _4h2 = _iS1._Da1(_re2, _iS1._pS1(_hT1(_eX1, this._zg2), _iS1._pS1(_pe2, _hT1(_dX1, this._yg2))));
var _pi2 = _iT1(this._li2, _4h2)._mS1();
var _qi2 = this._ii2._b01();
this._ii2._Da1(_pi2);
var _ri2 = __9 * this._fh2;
if (this._ii2._qS1() > _ri2 * _ri2) {
this._ii2._rS1();
this._ii2.Multiply(_ri2);
}
_pi2 = _iS1._pS1(this._ii2, _qi2);
_pe2._pS1(_iS1.Multiply(_me2, _pi2));
_dX1 -= _D12 * _fT1(this._yg2, _pi2);
_re2._Da1(_iS1.Multiply(_ne2, _pi2));
_eX1 += _E12 * _fT1(this._zg2, _pi2);
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
return !0;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["localAnchorA"] = this._mg2._vS1();
_cq1["localAnchorB"] = this._ng2._vS1();
_cq1["maxForce"] = this._fh2;
_cq1["maxTorque"] = this._ki2;
return _cq1;
},
};
_9g2._ZQ1(_t62);
function _si2() {
this.parent.call(this);
this.type = _t62._Zf2;
this._dg2 = new _iS1(0.0, 0.0);
this._eg2 = new _iS1(0.0, 0.0);
this._fg2 = 0.0;
this._ch2 = 0.0;
this._dh2 = 0.0;
Object.seal(this);
}
_si2.prototype = {
_FY1: function (_y72, _z72, anchor) {
this._z62 = _y72;
this._A62 = _z72;
this._dg2._IE1(this._z62._942(anchor));
this._eg2._IE1(this._A62._942(anchor));
this._fg2 = this._A62.__S1() - this._z62.__S1();
},
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._dg2._wS1(data["localAnchorA"]);
this._eg2._wS1(data["localAnchorB"]);
this._fg2 = data["referenceAngle"];
this._ch2 = data["frequencyHz"];
this._dh2 = data["dampingRatio"];
},
};
_si2._ZQ1(_Lf2);
function _8g2(_p32) {
this.parent.call(this, _p32);
this._zh2 = 0;
this._jh2 = 0;
this._8d2 = 0;
this._9d2 = 0;
this._yg2 = new _iS1();
this._zg2 = new _iS1();
this._Ag2 = new _iS1();
this._Bg2 = new _iS1();
this._Cg2 = 0;
this._Dg2 = 0;
this._Eg2 = 0;
this._Fg2 = 0;
this._c32 = new _MS1();
this._mg2 = _p32._dg2._b01();
this._ng2 = _p32._eg2._b01();
this._og2 = _p32._fg2;
this._gh2 = _p32._ch2;
this._hh2 = _p32._dh2;
this._pg2 = new _yS1();
}
_8g2.prototype = {
_L72: function () {
return this._x62._642(this._mg2);
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Of2: function (_A52) {
var _x_1 = new _iS1(this._pg2.x, this._pg2.y);
return _iS1.Multiply(_A52, _x_1);
},
_Pf2: function (_A52) {
return _A52 * this._pg2._L61;
},
_Hg2: function () {
return this._mg2;
},
_Ig2: function () {
return this._ng2;
},
_Jg2: function () {
return this._og2;
},
_ph2: function (_qh2) {
this._gh2 = _qh2;
},
_rh2: function () {
return this._gh2;
},
_sh2: function (_wf2) {
this._hh2 = _wf2;
},
_th2: function () {
return this._hh2;
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._Ag2._IE1(this._x62._Z22._5T1);
this._Bg2._IE1(this._v62._Z22._5T1);
this._Cg2 = this._x62._d32;
this._Dg2 = this._v62._d32;
this._Eg2 = this._x62._f32;
this._Fg2 = this._v62._f32;
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
this._yg2._IE1(_tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2)));
this._zg2._IE1(_tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2)));
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _2e2 = new _MS1();
_2e2._dc1.x = _me2 + _ne2 + this._yg2.y * this._yg2.y * _D12 + this._zg2.y * this._zg2.y * _E12;
_2e2._1v1.x = -this._yg2.y * this._yg2.x * _D12 - this._zg2.y * this._zg2.x * _E12;
_2e2._OS1.x = -this._yg2.y * _D12 - this._zg2.y * _E12;
_2e2._dc1.y = _2e2._1v1.x;
_2e2._1v1.y = _me2 + _ne2 + this._yg2.x * this._yg2.x * _D12 + this._zg2.x * this._zg2.x * _E12;
_2e2._OS1.y = this._yg2.x * _D12 + this._zg2.x * _E12;
_2e2._dc1._L61 = _2e2._OS1.x;
_2e2._1v1._L61 = _2e2._OS1.y;
_2e2._OS1._L61 = _D12 + _E12;
if (this._gh2 > 0.0) {
_2e2._TS1(this._c32);
var _ti2 = _D12 + _E12;
var _Z11 = _ti2 > 0.0 ? 1.0 / _ti2 : 0.0;
var _zT1 = _qe2 - _oe2 - this._og2;
var _uh2 = 2.0 * _yR1 * this._gh2;
var _Ce1 = 2.0 * _Z11 * this._hh2 * _uh2;
var _Sc1 = _Z11 * _uh2 * _uh2;
var __9 = data._7R1._z52;
this._jh2 = __9 * (_Ce1 + __9 * _Sc1);
this._jh2 = this._jh2 != 0.0 ? 1.0 / this._jh2 : 0.0;
this._zh2 = _zT1 * __9 * _Sc1 * this._jh2;
_ti2 += this._jh2;
this._c32._OS1._L61 = _ti2 != 0.0 ? 1.0 / _ti2 : 0.0;
} else {
_2e2._VS1(this._c32);
this._jh2 = 0.0;
this._zh2 = 0.0;
}
if (data._7R1._E52) {
this._pg2.Multiply(data._7R1._B52);
var _x_1 = new _iS1(this._pg2.x, this._pg2.y);
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * (_fT1(this._yg2, _x_1) + this._pg2._L61);
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * (_fT1(this._zg2, _x_1) + this._pg2._L61);
} else {
this._pg2._jS1();
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
if (this._gh2 > 0.0) {
var _4h2 = _eX1 - _dX1;
var _pi2 = -this._c32._OS1._L61 * (_4h2 + this._zh2 + this._jh2 * this._pg2._L61);
this._pg2._L61 += _pi2;
_dX1 -= _D12 * _pi2;
_eX1 += _E12 * _pi2;
var _3h2 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_re2, _hT1(_eX1, this._zg2)), _pe2), _hT1(_dX1, this._yg2));
var _fi2 = _pT1(this._c32, _3h2)._mS1();
this._pg2.x += _fi2.x;
this._pg2.y += _fi2.y;
var _x_1 = _fi2._b01();
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * _fT1(this._yg2, _x_1);
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * _fT1(this._zg2, _x_1);
} else {
var _3h2 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_re2, _hT1(_eX1, this._zg2)), _pe2), _hT1(_dX1, this._yg2));
var _4h2 = _eX1 - _dX1;
var _0h2 = new _yS1(_3h2.x, _3h2.y, _4h2);
var _042 = _oT1(this._c32, _0h2)._mS1();
this._pg2._Da1(_042);
var _x_1 = new _iS1(_042.x, _042.y);
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * (_fT1(this._yg2, _x_1) + _042._L61);
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * (_fT1(this._zg2, _x_1) + _042._L61);
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _8h2, _7h2;
var _2e2 = new _MS1();
_2e2._dc1.x = _me2 + _ne2 + _fY1.y * _fY1.y * _D12 + _gY1.y * _gY1.y * _E12;
_2e2._1v1.x = -_fY1.y * _fY1.x * _D12 - _gY1.y * _gY1.x * _E12;
_2e2._OS1.x = -_fY1.y * _D12 - _gY1.y * _E12;
_2e2._dc1.y = _2e2._1v1.x;
_2e2._1v1.y = _me2 + _ne2 + _fY1.x * _fY1.x * _D12 + _gY1.x * _gY1.x * _E12;
_2e2._OS1.y = _fY1.x * _D12 + _gY1.x * _E12;
_2e2._dc1._L61 = _2e2._OS1.x;
_2e2._1v1._L61 = _2e2._OS1.y;
_2e2._OS1._L61 = _D12 + _E12;
if (this._gh2 > 0.0) {
var _ci2 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_N62, _gY1), _L62), _fY1);
_8h2 = _ci2.Length();
_7h2 = 0.0;
var _x_1 = _2e2._SS1(_ci2)._mS1();
_L62._pS1(_iS1.Multiply(_me2, _x_1));
_oe2 -= _D12 * _fT1(_fY1, _x_1);
_N62._Da1(_iS1.Multiply(_ne2, _x_1));
_qe2 += _E12 * _fT1(_gY1, _x_1);
} else {
var _ci2 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_N62, _gY1), _L62), _fY1);
var _ei2 = _qe2 - _oe2 - this._og2;
_8h2 = _ci2.Length();
_7h2 = _DT1(_ei2);
var _zT1 = new _yS1(_ci2.x, _ci2.y, _ei2);
var _042 = _2e2._PS1(_zT1)._mS1();
var _x_1 = new _iS1(_042.x, _042.y);
_L62._pS1(_iS1.Multiply(_me2, _x_1));
_oe2 -= _D12 * (_fT1(_fY1, _x_1) + _042._L61);
_N62._Da1(_iS1.Multiply(_ne2, _x_1));
_qe2 += _E12 * (_fT1(_gY1, _x_1) + _042._L61);
}
data._I52[this._8d2]._Y9._IE1(_L62);
data._I52[this._8d2]._l41 = _oe2;
data._I52[this._9d2]._Y9._IE1(_N62);
data._I52[this._9d2]._l41 = _qe2;
return _8h2 <= _DR1 && _7h2 <= _ER1;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["localAnchorA"] = this._mg2._vS1();
_cq1["localAnchorB"] = this._ng2._vS1();
_cq1["referenceAngle"] = this._og2;
_cq1["frequencyHz"] = this._gh2;
_cq1["dampingRatio"] = this._hh2;
return _cq1;
},
};
_8g2._ZQ1(_t62);
function _ui2() {
this.parent.call(this);
this.type = _t62._Yf2;
this._dg2 = new _iS1();
this._eg2 = new _iS1();
this._Jh2 = new _iS1(1.0, 0.0);
this._lg2 = !1;
this._ig2 = 0.0;
this._jg2 = 0.0;
this._ch2 = 2.0;
this._dh2 = 0.7;
Object.seal(this);
}
_ui2.prototype = {
_FY1: function (_y72, _z72, anchor, _Ge1) {
this._z62 = _y72;
this._A62 = _z72;
this._dg2._IE1(this._z62._942(anchor));
this._eg2._IE1(this._A62._942(anchor));
this._Jh2._IE1(this._z62._b42(_Ge1));
},
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._dg2._wS1(data["localAnchorA"]);
this._eg2._wS1(data["localAnchorB"]);
this._Jh2._wS1(data["localAxisA"]);
this._lg2 = data["enableMotor"];
this._ig2 = data["maxMotorTorque"];
this._jg2 = data["motorSpeed"];
this._ch2 = data["frequencyHz"];
this._dh2 = data["dampingRatio"];
},
};
_ui2._ZQ1(_Lf2);
function _7g2(_p32) {
this.parent.call(this, _p32);
this._8d2 = 0;
this._9d2 = 0;
this._Ag2 = new _iS1();
this._Bg2 = new _iS1();
this._Cg2 = 0;
this._Dg2 = 0;
this._Eg2 = 0;
this._Fg2 = 0;
this._mg2 = _p32._dg2._b01();
this._ng2 = _p32._eg2._b01();
this._Nh2 = _p32._Jh2._b01();
this._Oh2 = _hT1(1.0, this._Nh2);
this._c32 = 0.0;
this._pg2 = 0.0;
this._Gg2 = 0.0;
this._qg2 = 0.0;
this._vi2 = 0.0;
this._wi2 = 0.0;
this._tg2 = _p32._ig2;
this._ug2 = _p32._jg2;
this._wg2 = _p32._lg2;
this._gh2 = _p32._ch2;
this._hh2 = _p32._dh2;
this._zh2 = 0.0;
this._jh2 = 0.0;
this._xi2 = new _iS1();
this._yi2 = new _iS1();
this._zi2 = this._Ai2 = 0;
this._Bi2 = this._Ci2 = 0;
}
_7g2.prototype = {
_L72: function () {
return this._x62._642(this._mg2);
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Of2: function (_A52) {
return _iS1.Multiply(_A52, _iS1._Da1(_iS1.Multiply(this._pg2, this._yi2), _iS1.Multiply(this._wi2, this._xi2)));
},
_Pf2: function (_A52) {
return _A52 * this._qg2;
},
_Hg2: function () {
return this._mg2;
},
_Ig2: function () {
return this._ng2;
},
_Yh2: function () {
return this._Nh2;
},
_Zh2: function () {
var _y72 = this._x62;
var _z72 = this._v62;
var _uX1 = _y72._642(this._mg2);
var _vX1 = _z72._642(this._ng2);
var _Ce1 = _iS1._pS1(_vX1, _uX1);
var _Ge1 = _y72._742(this._Nh2);
var _Ff2 = _eT1(_Ce1, _Ge1);
return _Ff2;
},
_Lg2: function () {
var _dX1 = this._x62._432;
var _eX1 = this._v62._432;
return _eX1 - _dX1;
},
_Rg2: function () {
return this._wg2;
},
_Sg2: function (_q42) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._wg2 = _q42;
},
_Tg2: function (_E2) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._ug2 = _E2;
},
_Ug2: function () {
return this._ug2;
},
_Vg2: function (_Z32) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._tg2 = _Z32;
},
_Wg2: function () {
return this._tg2;
},
_Xg2: function (_A52) {
return _A52 * this._qg2;
},
_Di2: function (_qh2) {
this._gh2 = _qh2;
},
_Ei2: function () {
return this._gh2;
},
_Fi2: function (_wf2) {
this._hh2 = _wf2;
},
_Gi2: function () {
return this._hh2;
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._Ag2._IE1(this._x62._Z22._5T1);
this._Bg2._IE1(this._v62._Z22._5T1);
this._Cg2 = this._x62._d32;
this._Dg2 = this._v62._d32;
this._Eg2 = this._x62._f32;
this._Fg2 = this._v62._f32;
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _Ce1 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_N62, _gY1), _L62), _fY1);
{
this._yi2._IE1(_tT1(_Yg2, this._Oh2));
this._Bi2 = _fT1(_iS1._Da1(_Ce1, _fY1), this._yi2);
this._Ci2 = _fT1(_gY1, this._yi2);
this._c32 = _me2 + _ne2 + _D12 * this._Bi2 * this._Bi2 + _E12 * this._Ci2 * this._Ci2;
if (this._c32 > 0.0) {
this._c32 = 1.0 / this._c32;
}
}
this._vi2 = 0.0;
this._zh2 = 0.0;
this._jh2 = 0.0;
if (this._gh2 > 0.0) {
this._xi2._IE1(_tT1(_Yg2, this._Nh2));
this._zi2 = _fT1(_iS1._Da1(_Ce1, _fY1), this._xi2);
this._Ai2 = _fT1(_gY1, this._xi2);
var _Fh2 = _me2 + _ne2 + _D12 * this._zi2 * this._zi2 + _E12 * this._Ai2 * this._Ai2;
if (_Fh2 > 0.0) {
this._vi2 = 1.0 / _Fh2;
var _zT1 = _eT1(_Ce1, this._xi2);
var _uh2 = 2.0 * _yR1 * this._gh2;
var _Bb2 = 2.0 * this._vi2 * this._hh2 * _uh2;
var _Sc1 = this._vi2 * _uh2 * _uh2;
var __9 = data._7R1._z52;
this._jh2 = __9 * (_Bb2 + __9 * _Sc1);
if (this._jh2 > 0.0) {
this._jh2 = 1.0 / this._jh2;
}
this._zh2 = _zT1 * __9 * _Sc1 * this._jh2;
this._vi2 = _Fh2 + this._jh2;
if (this._vi2 > 0.0) {
this._vi2 = 1.0 / this._vi2;
}
}
} else {
this._wi2 = 0.0;
}
if (this._wg2) {
this._Gg2 = _D12 + _E12;
if (this._Gg2 > 0.0) {
this._Gg2 = 1.0 / this._Gg2;
}
} else {
this._Gg2 = 0.0;
this._qg2 = 0.0;
}
if (data._7R1._E52) {
this._pg2 *= data._7R1._B52;
this._wi2 *= data._7R1._B52;
this._qg2 *= data._7R1._B52;
var _x_1 = _iS1._Da1(_iS1.Multiply(this._pg2, this._yi2), _iS1.Multiply(this._wi2, this._xi2));
var _6i2 = this._pg2 * this._Bi2 + this._wi2 * this._zi2 + this._qg2;
var _7i2 = this._pg2 * this._Ci2 + this._wi2 * this._Ai2 + this._qg2;
_pe2._pS1(_iS1.Multiply(this._Cg2, _x_1));
_dX1 -= this._Eg2 * _6i2;
_re2._Da1(_iS1.Multiply(this._Dg2, _x_1));
_eX1 += this._Fg2 * _7i2;
} else {
this._pg2 = 0.0;
this._wi2 = 0.0;
this._qg2 = 0.0;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
{
var _0h2 = _eT1(this._xi2, _iS1._pS1(_re2, _pe2)) + this._Ai2 * _eX1 - this._zi2 * _dX1;
var _042 = -this._vi2 * (_0h2 + this._zh2 + this._jh2 * this._wi2);
this._wi2 += _042;
var _x_1 = _iS1.Multiply(_042, this._xi2);
var _6i2 = _042 * this._zi2;
var _7i2 = _042 * this._Ai2;
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * _6i2;
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * _7i2;
}
{
var _0h2 = _eX1 - _dX1 - this._ug2;
var _042 = -this._Gg2 * _0h2;
var _1h2 = this._qg2;
var _2h2 = data._7R1._z52 * this._tg2;
this._qg2 = _KT1(this._qg2 + _042, -_2h2, _2h2);
_042 = this._qg2 - _1h2;
_dX1 -= _D12 * _042;
_eX1 += _E12 * _042;
}
{
var _0h2 = _eT1(this._yi2, _iS1._pS1(_re2, _pe2)) + this._Ci2 * _eX1 - this._Bi2 * _dX1;
var _042 = -this._c32 * _0h2;
this._pg2 += _042;
var _x_1 = _iS1.Multiply(_042, this._yi2);
var _6i2 = _042 * this._Bi2;
var _7i2 = _042 * this._Ci2;
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * _6i2;
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * _7i2;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _Ce1 = _iS1._Da1(_iS1._pS1(_N62, _L62), _iS1._pS1(_gY1, _fY1));
var _8A1 = _tT1(_Yg2, this._Oh2);
var _Hi2 = _fT1(_iS1._Da1(_Ce1, _fY1), _8A1);
var _Ii2 = _fT1(_gY1, _8A1);
var _zT1 = _eT1(_Ce1, _8A1);
var _Sc1 = this._Cg2 + this._Dg2 + this._Eg2 * this._Bi2 * this._Bi2 + this._Fg2 * this._Ci2 * this._Ci2;
var _042;
if (_Sc1 != 0.0) {
_042 = -_zT1 / _Sc1;
} else {
_042 = 0.0;
}
var _x_1 = _iS1.Multiply(_042, _8A1);
var _6i2 = _042 * _Hi2;
var _7i2 = _042 * _Ii2;
_L62._pS1(_iS1.Multiply(this._Cg2, _x_1));
_oe2 -= this._Eg2 * _6i2;
_N62._Da1(_iS1.Multiply(this._Dg2, _x_1));
_qe2 += this._Fg2 * _7i2;
data._I52[this._8d2]._Y9._IE1(_L62);
data._I52[this._8d2]._l41 = _oe2;
data._I52[this._9d2]._Y9._IE1(_N62);
data._I52[this._9d2]._l41 = _qe2;
return _DT1(_zT1) <= _DR1;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["localAnchorA"] = this._mg2._vS1();
_cq1["localAnchorB"] = this._ng2._vS1();
_cq1["localAxisA"] = this._Ji2._vS1();
_cq1["enableMotor"] = this._wg2;
_cq1["maxMotorTorque"] = this._tg2;
_cq1["motorSpeed"] = this._ug2;
_cq1["frequencyHz"] = this._gh2;
_cq1["dampingRatio"] = this._hh2;
return _cq1;
},
};
_7g2._ZQ1(_t62);
function _Ki2() {
this.parent.call(this);
this.type = _t62._Xf2;
this._Li2 = null;
this._Mi2 = null;
this._wf2 = 1.0;
Object.seal(this);
}
_Ki2.prototype = {
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._Li2 = data["joint1"];
this._Mi2 = data["joint2"];
this._wf2 = data["ratio"];
},
};
_Ki2._ZQ1(_Lf2); /// @warning You have to manually destroy the gear joint if joint1 or joint2
function _6g2(_p32) {
this.parent.call(this, _p32);
this._Ni2 = _p32._Li2;
this._Oi2 = _p32._Mi2;
this._Pi2 = this._Ni2._tU1();
this._Qi2 = this._Oi2._tU1();
_uR1(this._Pi2 == _t62._Vf2 || this._Pi2 == _t62._Wf2);
_uR1(this._Qi2 == _t62._Vf2 || this._Qi2 == _t62._Wf2);
var _Ri2, _Si2;
this._Ti2 = this._Ni2._J72();
this._x62 = this._Ni2._K72();
var _GY1 = this._x62._T_1;
var _oe2 = this._x62._Z22._l41;
var _Ui2 = this._Ti2._T_1;
var _Vi2 = this._Ti2._Z22._l41;
this._mg2 = new _iS1();
this._ng2 = new _iS1();
this._Wi2 = new _iS1();
this._Xi2 = new _iS1();
this._Yi2 = new _iS1();
this._Zi2 = new _iS1();
if (this._Pi2 == _t62._Vf2) {
var __i2 = _p32._Li2;
this._Wi2._IE1(__i2._mg2);
this._mg2._IE1(__i2._ng2);
this._0j2 = __i2._og2;
this._Yi2._jS1();
_Ri2 = _oe2 - _Vi2 - this._0j2;
} else {
var _1j2 = _p32._Li2;
this._Wi2._IE1(_1j2._mg2);
this._mg2._IE1(_1j2._ng2);
this._0j2 = _1j2._og2;
this._Yi2._IE1(_1j2._Nh2);
var _2j2 = this._Wi2;
var _uX1 = _uT1(_Ui2._Yr1, _iS1._Da1(_tT1(_GY1._Yr1, this._mg2), _iS1._pS1(_GY1._ot1, _Ui2._ot1)));
_Ri2 = _eT1(_iS1._pS1(_uX1, _2j2), this._Yi2);
}
this._3j2 = this._Oi2._J72();
this._v62 = this._Oi2._K72();
var _IY1 = this._v62._T_1;
var _qe2 = this._v62._Z22._l41;
var _4j2 = this._3j2._T_1;
var _5j2 = this._3j2._Z22._l41;
if (this._Qi2 == _t62._Vf2) {
var __i2 = _p32._Mi2;
this._Xi2._IE1(__i2._mg2);
this._ng2._IE1(__i2._ng2);
this._6j2 = __i2._og2;
this._Zi2._jS1();
_Si2 = _qe2 - _5j2 - this._6j2;
} else {
var _1j2 = _p32._Mi2;
this._Xi2._IE1(_1j2._mg2);
this._ng2._IE1(_1j2._ng2);
this._6j2 = _1j2._og2;
this._Zi2._IE1(_1j2._Nh2);
var _7j2 = this._Xi2;
var _vX1 = _uT1(_4j2._Yr1, _iS1._Da1(_tT1(_IY1._Yr1, this._ng2), _iS1._pS1(_IY1._ot1, _4j2._ot1)));
_Si2 = _eT1(_iS1._pS1(_vX1, _7j2), this._Zi2);
}
this._8j2 = _p32._wf2;
this._9j2 = _Ri2 + this._8j2 * _Si2;
this._pg2 = 0.0;
this._8d2 = this._9d2 = this._aj2 = this._bj2 = 0;
this._cj2 = new _iS1();
this._dj2 = new _iS1();
this._ej2 = new _iS1();
this._fj2 = new _iS1();
this._gj2 = this._hj2 = this._ij2 = this._jj2 = 0;
this._kj2 = this._lj2 = this._mj2 = this._nj2 = 0;
(this._oj2 = new _iS1()), (this._pj2 = new _iS1());
this._qj2 = this._rj2 = this._sj2 = this._tj2 = 0;
this._c32 = 0;
}
_6g2.prototype = {
_L72: function () {
return this._x62._642(this._mg2);
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Of2: function (_A52) {
var _x_1 = _iS1.Multiply(this._pg2, this._oj2);
return _iS1.Multiply(_A52, _x_1);
},
_Pf2: function (_A52) {
var _uj2 = this._pg2 * this._qj2;
return _A52 * _uj2;
},
_vj2: function () {
return this._Ni2;
},
_wj2: function () {
return this._Oi2;
},
_xj2: function (_wf2) {
_uR1(_8S1(_wf2));
this._8j2 = _wf2;
},
_yj2: function () {
return this._8j2;
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._aj2 = this._Ti2._Q22;
this._bj2 = this._3j2._Q22;
this._cj2._IE1(this._x62._Z22._5T1);
this._dj2._IE1(this._v62._Z22._5T1);
this._ej2._IE1(this._Ti2._Z22._5T1);
this._fj2._IE1(this._3j2._Z22._5T1);
this._gj2 = this._x62._d32;
this._hj2 = this._v62._d32;
this._ij2 = this._Ti2._d32;
this._jj2 = this._3j2._d32;
this._kj2 = this._x62._f32;
this._lj2 = this._v62._f32;
this._mj2 = this._Ti2._f32;
this._nj2 = this._3j2._f32;
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Vi2 = data._I52[this._aj2]._l41;
var _zj2 = data._J52[this._aj2]._J41._b01();
var _Aj2 = data._J52[this._aj2]._Z9;
var _5j2 = data._I52[this._bj2]._l41;
var _Bj2 = data._J52[this._bj2]._J41._b01();
var _Cj2 = data._J52[this._bj2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2),
_Dj2 = new _ZS1(_Vi2),
_Ej2 = new _ZS1(_5j2);
this._c32 = 0.0;
if (this._Pi2 == _t62._Vf2) {
this._oj2._jS1();
this._qj2 = 1.0;
this._sj2 = 1.0;
this._c32 += this._kj2 + this._mj2;
} else {
var _P41 = _tT1(_Dj2, this._Yi2);
var _Fj2 = _tT1(_Dj2, _iS1._pS1(this._Wi2, this._ej2));
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._cj2));
this._oj2._IE1(_P41);
this._sj2 = _fT1(_Fj2, _P41);
this._qj2 = _fT1(_fY1, _P41);
this._c32 += this._ij2 + this._gj2 + this._mj2 * this._sj2 * this._sj2 + this._kj2 * this._qj2 * this._qj2;
}
if (this._Qi2 == _t62._Vf2) {
this._pj2._jS1();
this._rj2 = this._8j2;
this._tj2 = this._8j2;
this._c32 += this._8j2 * this._8j2 * (this._lj2 + this._nj2);
} else {
var _P41 = _tT1(_Ej2, this._Zi2);
var _Gj2 = _tT1(_Ej2, _iS1._pS1(this._Xi2, this._fj2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._dj2));
this._pj2._IE1(_iS1.Multiply(this._8j2, _P41));
this._tj2 = this._8j2 * _fT1(_Gj2, _P41);
this._rj2 = this._8j2 * _fT1(_gY1, _P41);
this._c32 += this._8j2 * this._8j2 * (this._jj2 + this._hj2) + this._nj2 * this._tj2 * this._tj2 + this._lj2 * this._rj2 * this._rj2;
}
this._c32 = this._c32 > 0.0 ? 1.0 / this._c32 : 0.0;
if (data._7R1._E52) {
_pe2._Da1(_iS1.Multiply(this._gj2 * this._pg2, this._oj2));
_dX1 += this._kj2 * this._pg2 * this._qj2;
_re2._Da1(_iS1.Multiply(this._hj2 * this._pg2, this._pj2));
_eX1 += this._lj2 * this._pg2 * this._rj2;
_zj2._pS1(_iS1.Multiply(this._ij2 * this._pg2, this._oj2));
_Aj2 -= this._mj2 * this._pg2 * this._sj2;
_Bj2._pS1(_iS1.Multiply(this._jj2 * this._pg2, this._pj2));
_Cj2 -= this._nj2 * this._pg2 * this._tj2;
} else {
this._pg2 = 0.0;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
data._J52[this._aj2]._J41._IE1(_zj2);
data._J52[this._aj2]._Z9 = _Aj2;
data._J52[this._bj2]._J41._IE1(_Bj2);
data._J52[this._bj2]._Z9 = _Cj2;
},
_Ke2: function (data) {
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _zj2 = data._J52[this._aj2]._J41._b01();
var _Aj2 = data._J52[this._aj2]._Z9;
var _Bj2 = data._J52[this._bj2]._J41._b01();
var _Cj2 = data._J52[this._bj2]._Z9;
var _0h2 = _eT1(this._oj2, _iS1._pS1(_pe2, _zj2)) + _eT1(this._pj2, _iS1._pS1(_re2, _Bj2));
_0h2 += this._qj2 * _dX1 - this._sj2 * _Aj2 + (this._rj2 * _eX1 - this._tj2 * _Cj2);
var _042 = -this._c32 * _0h2;
this._pg2 += _042;
_pe2._Da1(_iS1.Multiply(this._gj2 * _042, this._oj2));
_dX1 += this._kj2 * _042 * this._qj2;
_re2._Da1(_iS1.Multiply(this._hj2 * _042, this._pj2));
_eX1 += this._lj2 * _042 * this._rj2;
_zj2._pS1(_iS1.Multiply(this._ij2 * _042, this._oj2));
_Aj2 -= this._mj2 * _042 * this._sj2;
_Bj2._pS1(_iS1.Multiply(this._jj2 * _042, this._pj2));
_Cj2 -= this._nj2 * _042 * this._tj2;
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
data._J52[this._aj2]._J41._IE1(_zj2);
data._J52[this._aj2]._Z9 = _Aj2;
data._J52[this._bj2]._J41._IE1(_Bj2);
data._J52[this._bj2]._Z9 = _Cj2;
},
_4f2: function (data) {
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _Hj2 = data._I52[this._aj2]._Y9._b01();
var _Vi2 = data._I52[this._aj2]._l41;
var _Ij2 = data._I52[this._bj2]._Y9._b01();
var _5j2 = data._I52[this._bj2]._l41;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2),
_Dj2 = new _ZS1(_Vi2),
_Ej2 = new _ZS1(_5j2);
var _di2 = 0.0;
var _Ri2, _Si2;
var _Jj2 = new _iS1(),
_Kj2 = new _iS1();
var _Lj2, _Mj2, _Nj2, _Oj2;
var _pU1 = 0.0;
if (this._Pi2 == _t62._Vf2) {
_Jj2._jS1();
_Lj2 = 1.0;
_Nj2 = 1.0;
_pU1 += this._kj2 + this._mj2;
_Ri2 = _oe2 - _Vi2 - this._0j2;
} else {
var _P41 = _tT1(_Dj2, this._Yi2);
var _Fj2 = _tT1(_Dj2, _iS1._pS1(this._Wi2, this._ej2));
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._cj2));
_Jj2._IE1(_P41);
_Nj2 = _fT1(_Fj2, _P41);
_Lj2 = _fT1(_fY1, _P41);
_pU1 += this._ij2 + this._gj2 + this._mj2 * _Nj2 * _Nj2 + this._kj2 * _Lj2 * _Lj2;
var _2j2 = _iS1._pS1(this._Wi2, this._ej2);
var _uX1 = _uT1(_Dj2, _iS1._Da1(_fY1, _iS1._pS1(_L62, _Hj2)));
_Ri2 = _eT1(_iS1._pS1(_uX1, _2j2), this._Yi2);
}
if (this._Qi2 == _t62._Vf2) {
_Kj2._jS1();
_Mj2 = this._8j2;
_Oj2 = this._8j2;
_pU1 += this._8j2 * this._8j2 * (this._lj2 + this._nj2);
_Si2 = _qe2 - _5j2 - this._6j2;
} else {
var _P41 = _tT1(_Ej2, this._Zi2);
var _Gj2 = _tT1(_Ej2, _iS1._pS1(this._Xi2, this._fj2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._dj2));
_Kj2._IE1(_iS1.Multiply(this._8j2, _P41));
_Oj2 = this._8j2 * _fT1(_Gj2, _P41);
_Mj2 = this._8j2 * _fT1(_gY1, _P41);
_pU1 += this._8j2 * this._8j2 * (this._jj2 + this._hj2) + this._nj2 * _Oj2 * _Oj2 + this._lj2 * _Mj2 * _Mj2;
var _7j2 = _iS1._pS1(this._Xi2, this._fj2);
var _vX1 = _uT1(_Ej2, _iS1._Da1(_gY1, _iS1._pS1(_N62, _Ij2)));
_Si2 = _eT1(_iS1._pS1(_vX1, _7j2), this._Zi2);
}
var _zT1 = _Ri2 + this._8j2 * _Si2 - this._9j2;
var _042 = 0.0;
if (_pU1 > 0.0) {
_042 = -_zT1 / _pU1;
}
_L62._Da1(_iS1.Multiply(this._gj2, _iS1.Multiply(_042, _Jj2)));
_oe2 += this._kj2 * _042 * _Lj2;
_N62._Da1(_iS1.Multiply(this._hj2, _iS1.Multiply(_042, _Kj2)));
_qe2 += this._lj2 * _042 * _Mj2;
_Hj2._pS1(_iS1.Multiply(this._ij2, _iS1.Multiply(_042, _Jj2)));
_Vi2 -= this._mj2 * _042 * _Nj2;
_Ij2._pS1(_iS1.Multiply(this._jj2, _iS1.Multiply(_042, _Kj2)));
_5j2 -= this._nj2 * _042 * _Oj2;
data._I52[this._8d2]._Y9._IE1(_L62);
data._I52[this._8d2]._l41 = _oe2;
data._I52[this._9d2]._Y9._IE1(_N62);
data._I52[this._9d2]._l41 = _qe2;
data._I52[this._aj2]._Y9._IE1(_Hj2);
data._I52[this._aj2]._l41 = _Vi2;
data._I52[this._bj2]._Y9._IE1(_Ij2);
data._I52[this._bj2]._l41 = _5j2;
return _di2 < _DR1;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["joint1"] = this._Ni2._Pj2;
_cq1["joint2"] = this._Oi2._Pj2;
_cq1["ratio"] = this._8j2;
return _cq1;
},
};
_6g2._ZQ1(_t62);
function _Qj2() {
this.parent.call(this);
this.type = _t62._T72;
this._Rj2 = new _iS1();
this._Sj2 = 0.0;
this._bh2 = 1.0;
this._hi2 = 1.0;
this._Tj2 = 0.3;
Object.seal(this);
}
_Qj2.prototype = {
_FY1: function (_y72, _z72) {
this._z62 = _y72;
this._A62 = _z72;
var _Uj2 = this._A62._RE1();
this._Rj2._IE1(this._z62._942(_Uj2));
var _Vj2 = this._z62.__S1();
var _Wj2 = this._A62.__S1();
this._Sj2 = _Wj2 - _Vj2;
},
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._Rj2._wS1(data["linearOffset"]);
this._Sj2 = data["angularOffset"];
this._bh2 = data["maxForce"];
this._hi2 = data["maxTorque"];
this._Tj2 = data["correctionFactor"];
},
};
_Qj2._ZQ1(_Lf2);
function _bg2(_p32) {
this.parent.call(this, _p32);
this._Xj2 = _p32._Rj2._b01();
this._Yj2 = _p32._Sj2;
this._ii2 = new _iS1();
this._ji2 = 0.0;
this._fh2 = _p32._bh2;
this._ki2 = _p32._hi2;
this._Zj2 = _p32._Tj2;
this._8d2 = 0;
this._9d2 = 0;
this._yg2 = new _iS1();
this._zg2 = new _iS1();
this._Ag2 = new _iS1();
this._Bg2 = new _iS1();
this.__j2 = new _iS1();
this._0k2 = 0;
this._Cg2 = 0;
this._Dg2 = 0;
this._Eg2 = 0;
this._Fg2 = 0;
this._li2 = new _AS1();
this._mi2 = 0;
}
_bg2.prototype = {
_L72: function () {
return this._x62._RE1();
},
_M72: function () {
return this._v62._RE1();
},
_Of2: function (_A52) {
return _iS1.Multiply(_A52, this._ii2);
},
_Pf2: function (_A52) {
return _A52 * this._ji2;
},
_1k2: function (_Rj2) {
if (_Rj2.x != this._Xj2.x || _Rj2.y != this._Xj2.y) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._Xj2._IE1(_Rj2);
}
},
_V72: function () {
return this._Xj2;
},
_2k2: function (_Sj2) {
if (_Sj2 != this._Yj2) {
this._x62._qF1(!0);
this._v62._qF1(!0);
this._Yj2 = _Sj2;
}
},
_3k2: function () {
return this._Yj2;
},
_nh2: function (_V32) {
_uR1(_8S1(_V32) && _V32 >= 0.0);
this._fh2 = _V32;
},
_oh2: function () {
return this._fh2;
},
_ni2: function (_Z32) {
_uR1(_8S1(_Z32) && _Z32 >= 0.0);
this._ki2 = _Z32;
},
_oi2: function () {
return this._ki2;
},
_4k2: function (_5k2) {
_uR1(_8S1(_5k2) && 0.0 <= _5k2 && _5k2 <= 1.0);
this._Zj2 = _5k2;
},
_6k2: function () {
return this._Zj2;
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._Ag2._IE1(this._x62._Z22._5T1);
this._Bg2._IE1(this._v62._Z22._5T1);
this._Cg2 = this._x62._d32;
this._Dg2 = this._v62._d32;
this._Eg2 = this._x62._f32;
this._Fg2 = this._v62._f32;
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
this._yg2._IE1(_tT1(_Yg2, this._Ag2._mS1()));
this._zg2._IE1(_tT1(_Zg2, this._Bg2._mS1()));
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var _2e2 = new _AS1();
_2e2._dc1.x = _me2 + _ne2 + _D12 * this._yg2.y * this._yg2.y + _E12 * this._zg2.y * this._zg2.y;
_2e2._dc1.y = -_D12 * this._yg2.x * this._yg2.y - _E12 * this._zg2.x * this._zg2.y;
_2e2._1v1.x = _2e2._dc1.y;
_2e2._1v1.y = _me2 + _ne2 + _D12 * this._yg2.x * this._yg2.x + _E12 * this._zg2.x * this._zg2.x;
this._li2._IE1(_2e2._ES1());
this._mi2 = _D12 + _E12;
if (this._mi2 > 0.0) {
this._mi2 = 1.0 / this._mi2;
}
this.__j2.x = _N62.x + this._zg2.x - _L62.x - this._yg2.x - (_Yg2._Y9 * this._Xj2.x - _Yg2._Wo1 * this._Xj2.y);
this.__j2.y = _N62.y + this._zg2.y - _L62.y - this._yg2.y - (_Yg2._Wo1 * this._Xj2.x + _Yg2._Y9 * this._Xj2.y);
this._0k2 = _qe2 - _oe2 - this._Yj2;
if (data._7R1._E52) {
this._ii2.Multiply(data._7R1._B52);
this._ji2 *= data._7R1._B52;
var _x_1 = new _iS1(this._ii2.x, this._ii2.y);
_pe2._pS1(_iS1.Multiply(_me2, _x_1));
_dX1 -= _D12 * (_fT1(this._yg2, _x_1) + this._ji2);
_re2._Da1(_iS1.Multiply(_ne2, _x_1));
_eX1 += _E12 * (_fT1(this._zg2, _x_1) + this._ji2);
} else {
this._ii2._jS1();
this._ji2 = 0.0;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _me2 = this._Cg2,
_ne2 = this._Dg2;
var _D12 = this._Eg2,
_E12 = this._Fg2;
var __9 = data._7R1._z52;
var _7k2 = data._7R1._A52;
{
var _0h2 = _eX1 - _dX1 + _7k2 * this._Zj2 * this._0k2;
var _042 = -this._mi2 * _0h2;
var _1h2 = this._ji2;
var _2h2 = __9 * this._ki2;
this._ji2 = _KT1(this._ji2 + _042, -_2h2, _2h2);
_042 = this._ji2 - _1h2;
_dX1 -= _D12 * _042;
_eX1 += _E12 * _042;
}
{
var _0h2 = new _iS1(_re2.x + -_eX1 * this._zg2.x - _pe2.x - -_dX1 * this._yg2.x + _7k2 * this._Zj2 * this.__j2.x, _re2.y + _eX1 * this._zg2.y - _pe2.y - _dX1 * this._yg2.y + _7k2 * this._Zj2 * this.__j2.y);
var _042 = _iT1(this._li2, _0h2)._mS1();
var _1h2 = this._ii2._b01();
this._ii2._Da1(_042);
var _2h2 = __9 * this._fh2;
if (this._ii2._qS1() > _2h2 * _2h2) {
this._ii2._rS1();
this._ii2.Multiply(_2h2);
}
_042._IE1(_iS1._pS1(this._ii2, _1h2));
_pe2._pS1(_iS1.Multiply(_me2, _042));
_dX1 -= _D12 * _fT1(this._yg2, _042);
_re2._Da1(_iS1.Multiply(_ne2, _042));
_eX1 += _E12 * _fT1(this._zg2, _042);
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
return !0;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["linearOffset"] = this._Xj2._vS1();
_cq1["angularOffset"] = this._Yj2;
_cq1["maxForce"] = this._fh2;
_cq1["maxTorque"] = this._ki2;
_cq1["correctionFactor"] = this._Zj2;
return _cq1;
},
};
_bg2._ZQ1(_t62);
var _8k2 = 2.0;
function _9k2() {
this.parent.call(this);
this.type = _t62._O72;
this._ak2 = new _iS1(-1.0, 1.0);
this._bk2 = new _iS1(1.0, 1.0);
this._dg2 = new _iS1(-1.0, 0.0);
this._eg2 = new _iS1(1.0, 0.0);
this._ck2 = 0.0;
this._dk2 = 0.0;
this._wf2 = 1.0;
this._B62 = !0;
Object.seal(this);
}
_9k2.prototype = {
_FY1: function (_y72, _z72, _ek2, _fk2, _gk2, _hk2, _b21) {
this._z62 = _y72;
this._A62 = _z72;
this._ak2._IE1(_ek2);
this._bk2._IE1(_fk2);
this._dg2._IE1(this._z62._942(_gk2));
this._eg2._IE1(this._A62._942(_hk2));
var _ik2 = _iS1._pS1(_gk2, _ek2);
this._ck2 = _ik2.Length();
var _jk2 = _iS1._pS1(_hk2, _fk2);
this._dk2 = _jk2.Length();
this._wf2 = _b21;
_uR1(this._wf2 > _xR1);
},
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._ak2._wS1(data["groundAnchorA"]);
this._bk2._wS1(data["groundAnchorB"]);
this._dg2._wS1(data["localAnchorA"]);
this._eg2._wS1(data["localAnchorB"]);
this._ck2 = data["lengthA"];
this._dk2 = data["lengthB"];
this._wf2 = data["ratio"];
},
};
_9k2._ZQ1(_Lf2);
function _5g2(_p32) {
this.parent.call(this, _p32);
this._8d2 = 0;
this._9d2 = 0;
this._kk2 = new _iS1();
this._lk2 = new _iS1();
this._yg2 = new _iS1();
this._zg2 = new _iS1();
this._Ag2 = new _iS1();
this._Bg2 = new _iS1();
this._Cg2 = 0;
this._Dg2 = 0;
this._Eg2 = 0;
this._Fg2 = 0;
this._c32 = 0;
this._mk2 = _p32._ak2._b01();
this._nk2 = _p32._bk2._b01();
this._mg2 = _p32._dg2._b01();
this._ng2 = _p32._eg2._b01();
this._ok2 = _p32._ck2;
this._pk2 = _p32._dk2;
_uR1(_p32._wf2 != 0.0);
this._8j2 = _p32._wf2;
this._9j2 = _p32._ck2 + this._8j2 * _p32._dk2;
this._pg2 = 0.0;
}
_5g2.prototype = {
_L72: function () {
return this._x62._642(this._mg2);
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Of2: function (_A52) {
var _x_1 = _iS1.Multiply(this._pg2, this._lk2);
return _iS1.Multiply(_A52, _x_1);
},
_Pf2: function (_A52) {
return 0.0;
},
_Q72: function () {
return this._mk2;
},
_R72: function () {
return this._nk2;
},
_qk2: function () {
return this._ok2;
},
_rk2: function () {
return this._pk2;
},
_yj2: function () {
return this._8j2;
},
_sk2: function () {
var _ot1 = this._x62._642(this._mg2);
var _Wo1 = this._mk2;
var _Ce1 = _iS1._pS1(_ot1, _Wo1);
return _Ce1.Length();
},
_tk2: function () {
var _ot1 = this._v62._642(this._ng2);
var _Wo1 = this._nk2;
var _Ce1 = _iS1._pS1(_ot1, _Wo1);
return _Ce1.Length();
},
_QW1: function (_RW1) {
this._mk2._pS1(_RW1);
this._nk2._pS1(_RW1);
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._Ag2._IE1(this._x62._Z22._5T1);
this._Bg2._IE1(this._v62._Z22._5T1);
this._Cg2 = this._x62._d32;
this._Dg2 = this._v62._d32;
this._Eg2 = this._x62._f32;
this._Fg2 = this._v62._f32;
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
this._yg2._IE1(_tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2)));
this._zg2._IE1(_tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2)));
this._kk2._IE1(_iS1._Da1(_L62, _iS1._pS1(this._yg2, this._mk2)));
this._lk2._IE1(_iS1._Da1(_N62, _iS1._pS1(this._zg2, this._nk2)));
var _ck2 = this._kk2.Length();
var _dk2 = this._lk2.Length();
if (_ck2 > 10.0 * _DR1) {
this._kk2.Multiply(1.0 / _ck2);
} else {
this._kk2._jS1();
}
if (_dk2 > 10.0 * _DR1) {
this._lk2.Multiply(1.0 / _dk2);
} else {
this._lk2._jS1();
}
var _uk2 = _fT1(this._yg2, this._kk2);
var _vk2 = _fT1(this._zg2, this._lk2);
var _me2 = this._Cg2 + this._Eg2 * _uk2 * _uk2;
var _ne2 = this._Dg2 + this._Fg2 * _vk2 * _vk2;
this._c32 = _me2 + this._8j2 * this._8j2 * _ne2;
if (this._c32 > 0.0) {
this._c32 = 1.0 / this._c32;
}
if (data._7R1._E52) {
this._pg2 *= data._7R1._B52;
var _wk2 = _iS1.Multiply(-this._pg2, this._kk2);
var _xk2 = _iS1.Multiply(-this._8j2 * this._pg2, this._lk2);
_pe2._Da1(_iS1.Multiply(this._Cg2, _wk2));
_dX1 += this._Eg2 * _fT1(this._yg2, _wk2);
_re2._Da1(_iS1.Multiply(this._Dg2, _xk2));
_eX1 += this._Fg2 * _fT1(this._zg2, _xk2);
} else {
this._pg2 = 0.0;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Gh2 = _iS1._Da1(_pe2, _hT1(_dX1, this._yg2));
var _Hh2 = _iS1._Da1(_re2, _hT1(_eX1, this._zg2));
var _0h2 = -_eT1(this._kk2, _Gh2) - this._8j2 * _eT1(this._lk2, _Hh2);
var _042 = -this._c32 * _0h2;
this._pg2 += _042;
var _wk2 = _iS1.Multiply(-_042, this._kk2);
var _xk2 = _iS1.Multiply(-this._8j2, _iS1.Multiply(_042, this._lk2));
_pe2._Da1(_iS1.Multiply(this._Cg2, _wk2));
_dX1 += this._Eg2 * _fT1(this._yg2, _wk2);
_re2._Da1(_iS1.Multiply(this._Dg2, _xk2));
_eX1 += this._Fg2 * _fT1(this._zg2, _xk2);
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _yk2 = _iS1._Da1(_L62, _iS1._pS1(_fY1, this._mk2));
var _zk2 = _iS1._Da1(_N62, _iS1._pS1(_gY1, this._nk2));
var _ck2 = _yk2.Length();
var _dk2 = _zk2.Length();
if (_ck2 > 10.0 * _DR1) {
_yk2.Multiply(1.0 / _ck2);
} else {
_yk2._jS1();
}
if (_dk2 > 10.0 * _DR1) {
_zk2.Multiply(1.0 / _dk2);
} else {
_zk2._jS1();
}
var _uk2 = _fT1(_fY1, _yk2);
var _vk2 = _fT1(_gY1, _zk2);
var _me2 = this._Cg2 + this._Eg2 * _uk2 * _uk2;
var _ne2 = this._Dg2 + this._Fg2 * _vk2 * _vk2;
var _pU1 = _me2 + this._8j2 * this._8j2 * _ne2;
if (_pU1 > 0.0) {
_pU1 = 1.0 / _pU1;
}
var _zT1 = this._9j2 - _ck2 - this._8j2 * _dk2;
var _di2 = _DT1(_zT1);
var _042 = -_pU1 * _zT1;
var _wk2 = _iS1.Multiply(-_042, _yk2);
var _xk2 = _iS1.Multiply(-this._8j2, _iS1.Multiply(_042, _zk2));
_L62._Da1(_iS1.Multiply(this._Cg2, _wk2));
_oe2 += this._Eg2 * _fT1(_fY1, _wk2);
_N62._Da1(_iS1.Multiply(this._Dg2, _xk2));
_qe2 += this._Fg2 * _fT1(_gY1, _xk2);
data._I52[this._8d2]._Y9._IE1(_L62);
data._I52[this._8d2]._l41 = _oe2;
data._I52[this._9d2]._Y9._IE1(_N62);
data._I52[this._9d2]._l41 = _qe2;
return _di2 < _DR1;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["groundAnchorA"] = this._mk2._vS1();
_cq1["groundAnchorB"] = this._nk2._vS1();
_cq1["localAnchorA"] = this._mg2._vS1();
_cq1["localAnchorB"] = this._ng2._vS1();
_cq1["lengthA"] = this._ok2;
_cq1["lengthB"] = this._pk2;
_cq1["ratio"] = this._8j2;
return _cq1;
},
};
_5g2._ZQ1(_t62);
function _Ak2() {
this.parent.call(this);
this.type = _t62._0g2;
this._dg2 = new _iS1(-1.0, 0.0);
this._eg2 = new _iS1(1.0, 0.0);
this._Bk2 = 0.0;
Object.seal(this);
}
_Ak2.prototype = {
_wS1: function (data, _F72, _Nf2) {
this.parent.prototype._wS1.call(this, data, _F72, _Nf2);
this._dg2._wS1(data["localAnchorA"]);
this._eg2._wS1(data["localAnchorB"]);
this._Bk2 = data["maxLength"];
},
};
_Ak2._ZQ1(_Lf2);
function _ag2(_p32) {
this.parent.call(this, _p32);
this._mg2 = _p32._dg2._b01();
this._ng2 = _p32._eg2._b01();
this._Ck2 = _p32._Bk2;
this._c32 = 0.0;
this._pg2 = 0.0;
this._Dk2 = _t62._Rf2;
this._yh2 = 0.0;
this._8d2 = 0;
this._9d2 = 0;
this._Ah2 = new _iS1();
this._yg2 = new _iS1();
this._zg2 = new _iS1();
this._Ag2 = new _iS1();
this._Bg2 = new _iS1();
this._Cg2 = 0;
this._Dg2 = 0;
this._Eg2 = 0;
this._Fg2 = 0;
}
_ag2.prototype = {
_L72: function () {
return this._x62._642(this._mg2);
},
_M72: function () {
return this._v62._642(this._ng2);
},
_Of2: function (_A52) {
var _I12 = _iS1.Multiply(_A52 * this._pg2, this._Ah2);
return _I12;
},
_Pf2: function (_A52) {
return 0.0;
},
_Hg2: function () {
return this._mg2;
},
_Ig2: function () {
return this._ng2;
},
_Ek2: function (length) {
this._Ck2 = length;
},
_Fk2: function () {
return this._Ck2;
},
_Gk2: function () {
return this._Dk2;
},
_sf2: function (data) {
this._8d2 = this._x62._Q22;
this._9d2 = this._v62._Q22;
this._Ag2._IE1(this._x62._Z22._5T1);
this._Bg2._IE1(this._v62._Z22._5T1);
this._Cg2 = this._x62._d32;
this._Dg2 = this._v62._d32;
this._Eg2 = this._x62._f32;
this._Fg2 = this._v62._f32;
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
this._yg2._IE1(_tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2)));
this._zg2._IE1(_tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2)));
this._Ah2._IE1(_iS1._pS1(_iS1._pS1(_iS1._Da1(_N62, this._zg2), _L62), this._yg2));
this._yh2 = this._Ah2.Length();
var _zT1 = this._yh2 - this._Ck2;
if (_zT1 > 0.0) {
this._Dk2 = _t62._Tf2;
} else {
this._Dk2 = _t62._Rf2;
}
if (this._yh2 > _DR1) {
this._Ah2.Multiply(1.0 / this._yh2);
} else {
this._Ah2._jS1();
this._c32 = 0.0;
this._pg2 = 0.0;
return;
}
var _Hk2 = _fT1(this._yg2, this._Ah2);
var _Ik2 = _fT1(this._zg2, this._Ah2);
var _Fh2 = this._Cg2 + this._Eg2 * _Hk2 * _Hk2 + this._Dg2 + this._Fg2 * _Ik2 * _Ik2;
this._c32 = _Fh2 != 0.0 ? 1.0 / _Fh2 : 0.0;
if (data._7R1._E52) {
this._pg2 *= data._7R1._B52;
var _x_1 = _iS1.Multiply(this._pg2, this._Ah2);
_pe2._pS1(_iS1.Multiply(this._Cg2, _x_1));
_dX1 -= this._Eg2 * _fT1(this._yg2, _x_1);
_re2._Da1(_iS1.Multiply(this._Dg2, _x_1));
_eX1 += this._Fg2 * _fT1(this._zg2, _x_1);
} else {
this._pg2 = 0.0;
}
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_Ke2: function (data) {
var _pe2 = data._J52[this._8d2]._J41._b01();
var _dX1 = data._J52[this._8d2]._Z9;
var _re2 = data._J52[this._9d2]._J41._b01();
var _eX1 = data._J52[this._9d2]._Z9;
var _Gh2 = _iS1._Da1(_pe2, _hT1(_dX1, this._yg2));
var _Hh2 = _iS1._Da1(_re2, _hT1(_eX1, this._zg2));
var _zT1 = this._yh2 - this._Ck2;
var _0h2 = _eT1(this._Ah2, _iS1._pS1(_Hh2, _Gh2));
if (_zT1 < 0.0) {
_0h2 += data._7R1._A52 * _zT1;
}
var _042 = -this._c32 * _0h2;
var _1h2 = this._pg2;
this._pg2 = _GT1(0.0, this._pg2 + _042);
_042 = this._pg2 - _1h2;
var _x_1 = _iS1.Multiply(_042, this._Ah2);
_pe2._pS1(_iS1.Multiply(this._Cg2, _x_1));
_dX1 -= this._Eg2 * _fT1(this._yg2, _x_1);
_re2._Da1(_iS1.Multiply(this._Dg2, _x_1));
_eX1 += this._Fg2 * _fT1(this._zg2, _x_1);
data._J52[this._8d2]._J41._IE1(_pe2);
data._J52[this._8d2]._Z9 = _dX1;
data._J52[this._9d2]._J41._IE1(_re2);
data._J52[this._9d2]._Z9 = _eX1;
},
_4f2: function (data) {
var _L62 = data._I52[this._8d2]._Y9._b01();
var _oe2 = data._I52[this._8d2]._l41;
var _N62 = data._I52[this._9d2]._Y9._b01();
var _qe2 = data._I52[this._9d2]._l41;
var _Yg2 = new _ZS1(_oe2),
_Zg2 = new _ZS1(_qe2);
var _fY1 = _tT1(_Yg2, _iS1._pS1(this._mg2, this._Ag2));
var _gY1 = _tT1(_Zg2, _iS1._pS1(this._ng2, this._Bg2));
var _P41 = _iS1._pS1(_iS1._pS1(_iS1._Da1(_N62, _gY1), _L62), _fY1);
var length = _P41._rS1();
var _zT1 = length - this._Ck2;
_zT1 = _KT1(_zT1, 0.0, _JR1);
var _042 = -this._c32 * _zT1;
var _x_1 = _iS1.Multiply(_042, _P41);
_L62._pS1(_iS1.Multiply(this._Cg2, _x_1));
_oe2 -= this._Eg2 * _fT1(_fY1, _x_1);
_N62._Da1(_iS1.Multiply(this._Dg2, _x_1));
_qe2 += this._Fg2 * _fT1(_gY1, _x_1);
data._I52[this._8d2]._Y9._IE1(_L62);
data._I52[this._8d2]._l41 = _oe2;
data._I52[this._9d2]._Y9._IE1(_N62);
data._I52[this._9d2]._l41 = _qe2;
return length - this._Ck2 < _DR1;
},
_vS1: function (out) {
var _cq1 = out || {};
this.parent.prototype._vS1.call(this, _cq1);
_cq1["localAnchorA"] = this._mg2._vS1();
_cq1["localAnchorB"] = this._ng2._vS1();
_cq1["maxLength"] = this._Ck2;
return _cq1;
},
};
_ag2._ZQ1(_t62);
var _Jk2 = Math.exp;
function _Kk2() {
this.vertices = null;
this._d31 = 0;
this._Lk2 = null;
this._P52 = new _iS1();
this._382 = 0.1;
this._Mk2 = 0.9;
this._Nk2 = 0.1;
}
function _Ok2() {
this._cV1 = 0;
this._Pk2 = null;
this._Qk2 = null;
this._Rk2 = null;
this._Sk2 = null;
this._Tk2 = null;
this._Uk2 = null;
this._Vk2 = 0;
this._062 = new _iS1();
this._Wk2 = 1.0;
this._Xk2 = 0.1;
}
_Ok2.prototype = {
_FY1: function (_p32) {
_uR1(_p32._d31 >= 3);
this._cV1 = _p32._d31;
this._Pk2 = new Array(this._cV1);
this._Qk2 = new Array(this._cV1);
this._Rk2 = new Array(this._cV1);
this._Sk2 = new Array(this._cV1);
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
this._Pk2[_X9] = _p32.vertices[_X9]._b01();
this._Qk2[_X9] = _p32.vertices[_X9]._b01();
this._Rk2[_X9] = new _iS1();
var _Z11 = _p32._Lk2[_X9];
if (_Z11 > 0.0) {
this._Sk2[_X9] = 1.0 / _Z11;
} else {
this._Sk2[_X9] = 0.0;
}
}
var _JZ1 = this._cV1 - 1;
var _Yk2 = this._cV1 - 2;
this._Tk2 = new Array(_JZ1);
this._Uk2 = new Array(_Yk2);
for (var _X9 = 0; _X9 < _JZ1; ++_X9) {
var _Fe1 = this._Pk2[_X9];
var _5U1 = this._Pk2[_X9 + 1];
this._Tk2[_X9] = _kT1(_Fe1, _5U1);
}
for (var _X9 = 0; _X9 < _Yk2; ++_X9) {
var _Fe1 = this._Pk2[_X9];
var _5U1 = this._Pk2[_X9 + 1];
var _4W1 = this._Pk2[_X9 + 2];
var _WU1 = _iS1._pS1(_5U1, _Fe1);
var _Bb2 = _iS1._pS1(_4W1, _5U1);
var _l41 = _fT1(_WU1, _Bb2);
var _e21 = _eT1(_WU1, _Bb2);
this._Uk2[_X9] = _gS1(_l41, _e21);
}
this._062 = _p32._P52._b01();
this._Vk2 = _p32._382;
this._Wk2 = _p32._Mk2;
this._Xk2 = _p32._Nk2;
},
_C62: function (__9, _bX1) {
if (__9 == 0.0) {
return;
}
var _Ce1 = _Jk2(-__9 * this._Vk2);
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
this._Qk2[_X9]._IE1(this._Pk2[_X9]);
if (this._Sk2[_X9] > 0.0) {
this._Rk2[_X9]._Da1(_iS1.Multiply(__9, this._062));
}
this._Rk2[_X9].Multiply(_Ce1);
this._Pk2[_X9]._Da1(_iS1.Multiply(__9, this._Rk2[_X9]));
}
for (var _X9 = 0; _X9 < _bX1; ++_X9) {
this._Zk2();
this.__k2();
this._Zk2();
}
var _7k2 = 1.0 / __9;
for (var _X9 = 0; _X9 < this._cV1; ++_X9) {
this._Rk2[_X9] = _iS1.Multiply(_7k2, _iS1._pS1(this._Pk2[_X9], this._Qk2[_X9]));
}
},
_d91: function () {
return this._cV1;
},
_0l2: function () {
return this._Pk2;
},
_O31: function (_1l2) {
var _Y9 = new _RT1(0.4, 0.5, 0.7);
for (var _X9 = 0; _X9 < this._cV1 - 1; ++_X9) {
_1l2._4U1(this._Pk2[_X9], this._Pk2[_X9 + 1], _Y9);
}
},
_2l2: function (angle) {
var _Yk2 = this._cV1 - 2;
for (var _X9 = 0; _X9 < _Yk2; ++_X9) {
this._Uk2[_X9] = angle;
}
},
_Zk2: function () {
var _JZ1 = this._cV1 - 1;
for (var _X9 = 0; _X9 < _JZ1; ++_X9) {
var _Fe1 = this._Pk2[_X9];
var _5U1 = this._Pk2[_X9 + 1];
var _Ce1 = _iS1._pS1(_5U1, _Fe1);
var _uj2 = _Ce1._rS1();
var _3l2 = this._Sk2[_X9];
var _4l2 = this._Sk2[_X9 + 1];
if (_3l2 + _4l2 == 0.0) {
continue;
}
var _Km1 = _3l2 / (_3l2 + _4l2);
var _Lm1 = _4l2 / (_3l2 + _4l2);
_Fe1._pS1(_iS1.Multiply(this._Wk2 * _Km1 * (this._Tk2[_X9] - _uj2), _Ce1));
_5U1._Da1(_iS1.Multiply(this._Wk2 * _Lm1 * (this._Tk2[_X9] - _uj2), _Ce1));
}
},
__k2: function () {
var _Yk2 = this._cV1 - 2;
for (var _X9 = 0; _X9 < _Yk2; ++_X9) {
var _Fe1 = this._Pk2[_X9];
var _5U1 = this._Pk2[_X9 + 1];
var _4W1 = this._Pk2[_X9 + 2];
var _5l2 = this._Sk2[_X9];
var _6l2 = this._Sk2[_X9 + 1];
var _7l2 = this._Sk2[_X9 + 2];
var _WU1 = _iS1._pS1(_5U1, _Fe1);
var _Bb2 = _iS1._pS1(_4W1, _5U1);
var _8l2 = _WU1._qS1();
var _9l2 = _Bb2._qS1();
if (_8l2 * _9l2 == 0.0) {
continue;
}
var _l41 = _fT1(_WU1, _Bb2);
var _e21 = _eT1(_WU1, _Bb2);
var angle = _gS1(_l41, _e21);
var _al2 = _iS1.Multiply(-1.0 / _8l2, _WU1._uS1());
var _bl2 = _iS1.Multiply(1.0 / _9l2, _Bb2._uS1());
var _cl2 = _iS1._mS1(_al2);
var _dl2 = _iS1._pS1(_al2, _bl2);
var _el2 = _bl2;
var _pU1 = _5l2 * _eT1(_cl2, _cl2) + _6l2 * _eT1(_dl2, _dl2) + _7l2 * _eT1(_el2, _el2);
if (_pU1 == 0.0) {
continue;
}
_pU1 = 1.0 / _pU1;
var _zT1 = angle - this._Uk2[_X9];
while (_zT1 > _yR1) {
angle -= 2 * _yR1;
_zT1 = angle - this._Uk2[_X9];
}
while (_zT1 < -_yR1) {
angle += 2.0 * _yR1;
_zT1 = angle - this._Uk2[_X9];
}
var _042 = -this._Xk2 * _pU1 * _zT1;
_Fe1._Da1(_iS1.Multiply(_5l2 * _042, _cl2));
_5U1._Da1(_iS1.Multiply(_6l2 * _042, _dl2));
_4W1._Da1(_iS1.Multiply(_7l2 * _042, _el2));
}
},
};
var _fl2 = {
/*@param {b2World} world */ _gl2: function (_P22) {
var _hl2 = [];
/*@type Number */ var _X9;
/*@type String */ var _il2;
/*@type b2Body */ var _e21;
/*@type b2Fixture */ var _xp1;
/*@type b2Shape */ var _NU1;
for (_e21 = _P22._W62(); _e21; _e21 = _e21._C42()) {
for (_xp1 = _e21._z42(); _xp1; _xp1 = _xp1._C42()) {
_NU1 = _xp1._X42();
_xp1._jl2 = _hl2.length;
_hl2.push(_NU1._vS1());
}
}
var _kl2 = [];
for (_e21 = _P22._W62(); _e21; _e21 = _e21._C42()) {
_e21._ll2 = [];
for (_xp1 = _e21._z42(); _xp1; _xp1 = _xp1._C42()) {
_il2 = _xp1._vS1();
_il2["shape"] = _xp1._jl2;
delete _xp1._jl2;
_e21._ll2.push(_kl2.length);
_kl2.push(_il2);
}
}
var _F72 = [];
for (_e21 = _P22._W62(); _e21; _e21 = _e21._C42()) {
_il2 = _e21._vS1();
_il2._kl2 = [];
for (_X9 = 0; _X9 < _e21._ll2.length; ++_X9) _il2._kl2.push(_e21._ll2[_X9]);
delete _e21._ll2;
_e21._ml2 = _F72.length;
_F72.push(_il2);
}
var _Nf2 = [];
/*@type b2Joint */ var _i21;
for (_i21 = _P22._A42(), _X9 = 0; _i21; _i21 = _i21._C42(), ++_X9) _i21._Pj2 = _X9;
for (_i21 = _P22._A42(); _i21; _i21 = _i21._C42()) {
if (_i21._tU1() === _t62._S72) continue;
_il2 = _i21._vS1();
_il2["bodyA"] = _i21._J72()._ml2;
_il2["bodyB"] = _i21._K72()._ml2;
_Nf2.push(_il2);
}
for (_i21 = _P22._A42(); _i21; _i21 = _i21._C42()) delete _i21._Pj2;
for (_e21 = _P22._W62(); _e21; _e21 = _e21._C42()) delete _e21._ml2;
var __b1 = { _hl2: _hl2, _kl2: _kl2, _F72: _F72, _Nf2: _Nf2 };
return __b1;
},
/*@param {b2World} world */ _nl2: function (_il2, _P22, clear) {
var _ol2 = JSON.parse(_il2);
if (clear) {
for (var _e21 = _P22._W62(); _e21; ) {
var _Vc1 = _e21._C42();
_P22._m62(_e21);
_e21 = _Vc1;
}
for (var _i21 = _P22._A42(); _i21; ) {
var _Vc1 = _i21._C42();
_P22._p62(_i21);
_i21 = _Vc1;
}
}
var _hl2 = [];
for (var _X9 = 0; _X9 < _ol2._hl2.length; ++_X9) {
var _pl2 = _ol2._hl2[_X9];
var _NU1;
switch (_pl2._px1) {
case _rU1._GU1:
_NU1 = new _LU1();
break;
case _rU1._HU1:
_NU1 = new _XU1();
break;
case _rU1._JU1:
_NU1 = new _aV1();
break;
case _rU1._IU1:
_NU1 = new _sV1();
break;
}
_NU1._wS1(_pl2);
_hl2.push(_NU1);
}
var _kl2 = [];
for (_X9 = 0; _X9 < _ol2._kl2.length; ++_X9) {
var _ql2 = _ol2._kl2[_X9];
var _2F1 = new _r32();
_2F1._wS1(_ql2);
_2F1._NU1 = _hl2[_ql2["shape"]];
_kl2.push(_2F1);
}
var _F72 = [];
for (_X9 = 0; _X9 < _ol2._F72.length; ++_X9) {
var _rl2 = _ol2._F72[_X9];
var _p32 = new _C22();
_p32._wS1(_rl2);
var body = _P22._IF1(_p32);
for (var x = 0; x < _rl2._kl2.length; ++x) body._o32(_kl2[_rl2._kl2[x]]);
_F72.push(body);
}
var _Nf2 = [];
var _sl2 = [];
for (_X9 = 0; _X9 < _ol2._Nf2.length; ++_X9) {
var _tl2 = _ol2._Nf2[_X9];
var _ul2;
switch (_tl2.type) {
case _t62._Vf2:
_ul2 = new _cg2();
break;
case _t62._Wf2:
_ul2 = new _Ih2();
break;
case _t62._N72:
_ul2 = new _vh2();
break;
case _t62._O72:
_ul2 = new _9k2();
break;
case _t62._Xf2:
_ul2 = new _Ki2();
break;
case _t62._Yf2:
_ul2 = new _ui2();
break;
case _t62._Zf2:
_ul2 = new _si2();
break;
case _t62.__f2:
_ul2 = new _gi2();
break;
case _t62._0g2:
_ul2 = new _Ak2();
break;
case _t62._T72:
_ul2 = new _Qj2();
break;
default:
throw new Error("unknown joint");
}
_ul2._wS1(_tl2, _F72);
if (_tl2.type === _t62._Xf2) {
_sl2.push([_ul2, _Nf2.length]);
_Nf2.push(null);
} else {
var _I42 = _P22._s62(_ul2);
_Nf2.push(_I42);
}
}
for (_X9 = 0; _X9 < _sl2.length; ++_X9) {
_sl2[_X9][0]._Li2 = _Nf2[_sl2[_X9][0]._Li2];
_sl2[_X9][0]._Mi2 = _Nf2[_sl2[_X9][0]._Mi2];
_I42 = _P22._s62(_sl2[_X9][0]);
_Nf2[_sl2[_X9][1]] = _I42;
}
},
};
var _vl2 = (function () {
function _wl2(_cq1) {
return new _iS1(_cq1 ? _cq1.x || 0 : 0, _cq1 ? _cq1.y || 0 : 0);
}
function _xl2(_cq1) {
var _yl2 = new Array(_cq1.x.length);
for (var _X9 = 0; _X9 < _yl2.length; ++_X9) _yl2[_X9] = new _iS1(_cq1.x[_X9], _cq1.y[_X9]);
return _yl2;
}
function _zl2(_cq1, _Al2) {
var name = _cq1.name;
var _r91;
if (typeof _cq1["int"] !== "undefined") _r91 = _cq1["int"];
else if (typeof _cq1["float"] !== "undefined") _r91 = _cq1["float"];
else if (typeof _cq1["string"] !== "undefined") _r91 = _cq1["string"];
else if (typeof _cq1["bool"] !== "undefined") _r91 = _cq1["bool"];
else if (typeof _cq1._Bl2 !== "undefined") _r91 = _wl2(_cq1._Bl2);
else throw new Error("unknown property type");
if (_Al2.hasOwnProperty(name)) throw new Error("custom property possibly overwriting an existing one");
_Al2[name] = _r91;
}
function _Cl2(_cq1, body) {
var _p32 = new _r32();
_p32._CU1 = _cq1._CU1 || 0;
_p32._ph1._L42 = typeof _cq1["filter-categoryBits"] === "undefined" ? 1 : _cq1["filter-categoryBits"];
_p32._ph1._M42 = typeof _cq1["filter-maskBits"] === "undefined" ? 65535 : _cq1["filter-maskBits"];
_p32._ph1._N42 = typeof _cq1["filter-groupIndex"] === "undefined" ? 0 : _cq1["filter-groupIndex"];
_p32._O42 = _cq1._O42 || 0;
_p32._P42 = _cq1._P42 || 0;
_p32._Q42 = _cq1._Y42 || 0;
var _NU1;
if (typeof _cq1._UW1 !== "undefined") {
_NU1 = new _LU1();
_NU1._MU1 = _wl2(_cq1._UW1._1U1);
_NU1._sU1 = _cq1._UW1._2U1 || 0;
} else if (typeof _cq1._VW1 !== "undefined") {
var vertices = _xl2(_cq1._VW1.vertices);
_NU1 = new _sV1();
_NU1._sc1(vertices, vertices.length);
} else if (typeof _cq1._WW1 !== "undefined") {
var vertices = _xl2(_cq1._WW1.vertices);
_NU1 = new _aV1();
_NU1._cV1 = vertices.length;
_NU1._bV1 = vertices;
if ((_NU1._gV1 = _cq1._WW1._Dl2)) _NU1._eV1 = _wl2(_cq1._WW1._nV1);
if ((_NU1._fV1 = _cq1._WW1._El2)) _NU1._dV1 = _wl2(_cq1._WW1._lV1);
} else throw new Error("unknown shape type");
_p32._NU1 = _NU1;
var _2F1 = body._o32(_p32);
_2F1.name = _cq1.name;
if (_cq1._Fl2) for (var _X9 = 0; _X9 < _cq1._Fl2.length; ++_X9) _zl2(_cq1, _2F1);
}
function _Gl2(_cq1, _P22) {
var _p32 = new _C22();
_p32.type = _cq1.type || _D22._E22;
_p32.angle = _cq1.angle || 0;
_p32._I22 = _cq1._I22 || 0;
_p32._G22 = _cq1._G22 || 0;
_p32._K22 = _cq1._K22 || !1;
_p32._M22 = _cq1._M22 || !1;
_p32._L22 = _cq1._L22 || !1;
_p32._H22 = _cq1._H22 || !1;
_p32._F22 = _wl2(_cq1._F22);
_p32._N22 = typeof _cq1._N22 !== "undefined" ? _cq1._N22 : 1;
var _Hl2 = new _oU1();
_Hl2._pU1 = _cq1["massData-mass"] || 0;
_Hl2._1U1 = _wl2(_cq1["massData-center"]);
_Hl2._qU1 = _cq1["massData-I"] || 0;
_p32.position = _wl2(_cq1.position);
var body = _P22._IF1(_p32);
body.name = _cq1.name;
body._542(_Hl2);
if (_cq1._2F1) for (var _X9 = 0; _X9 < _cq1._2F1.length; ++_X9) _Cl2(_cq1._2F1[_X9], body);
if (_cq1._Fl2) for (_X9 = 0; _X9 < _cq1._Fl2.length; ++_X9) _zl2(_cq1, body);
return body;
}
var _Il2 = { revolute: _cg2, distance: _vh2, prismatic: _Ih2, wheel: _ui2, rope: _Ak2, motor: _Qj2, weld: _si2, friction: _gi2 };
function _Jl2(_cq1, _P22, _F72) {
if (!_Il2[_cq1.type]) throw new Error("unknown joint type");
var _Kl2 = new _Il2[_cq1.type]();
switch (_Kl2.type) {
case _t62._Vf2:
_Kl2._dg2 = _wl2(_cq1._gk2);
_Kl2._eg2 = _wl2(_cq1._hk2);
_Kl2._kg2 = _cq1._kg2 || !1;
_Kl2._lg2 = _cq1._lg2 || !1;
_Kl2._gg2 = _cq1._Ll2 || 0;
_Kl2._ig2 = _cq1._ig2 || 0;
_Kl2._jg2 = _cq1._jg2 || 0;
_Kl2._fg2 = _cq1._Ml2 || 0;
_Kl2._hg2 = _cq1._Nl2 || 0;
break;
case _t62._N72:
_Kl2._dg2 = _wl2(_cq1._gk2);
_Kl2._eg2 = _wl2(_cq1._hk2);
_Kl2._dh2 = _cq1._dh2 || 0;
_Kl2._ch2 = _cq1._Ol2 || 0;
_Kl2.length = _cq1.length || 0;
break;
case _t62._Wf2:
_Kl2._dg2 = _wl2(_cq1._gk2);
_Kl2._eg2 = _wl2(_cq1._hk2);
_Kl2._kg2 = _cq1._kg2 || !1;
_Kl2._lg2 = _cq1._lg2 || !1;
_Kl2._Jh2 = _wl2(_cq1._Jh2);
_Kl2._Kh2 = _cq1._Ll2 || 0;
_Kl2._Mh2 = _cq1._Mh2 || 0;
_Kl2._jg2 = _cq1._jg2 || 0;
_Kl2._fg2 = _cq1._Ml2 || 0;
_Kl2._Lh2 = _cq1._Nl2 || 0;
break;
case _t62._Yf2:
_Kl2._dg2 = _wl2(_cq1._gk2);
_Kl2._eg2 = _wl2(_cq1._hk2);
_Kl2._lg2 = _cq1._lg2 || !1;
_Kl2._Jh2 = _wl2(_cq1._Jh2);
_Kl2._ig2 = _cq1._ig2 || 0;
_Kl2._jg2 = _cq1._jg2 || 0;
_Kl2._dh2 = _cq1._Pl2 || 0;
_Kl2._ch2 = _cq1._Ql2 || 0;
break;
case _t62._0g2:
_Kl2._dg2 = _wl2(_cq1._gk2);
_Kl2._eg2 = _wl2(_cq1._hk2);
_Kl2._Bk2 = _cq1._Bk2 || 0;
break;
case _t62._T72:
_Kl2._Rj2 = _wl2(_cq1._gk2);
_Kl2._Sj2 = _cq1._Ml2 || 0;
_Kl2._bh2 = _cq1._bh2 || 0;
_Kl2._hi2 = _cq1._hi2 || 0;
_Kl2._Tj2 = _cq1._Tj2 || 0;
break;
case _t62._Zf2:
_Kl2._dg2 = _wl2(_cq1._gk2);
_Kl2._eg2 = _wl2(_cq1._hk2);
_Kl2._fg2 = _cq1._Ml2 || 0;
_Kl2._dh2 = _cq1._dh2 || 0;
_Kl2._ch2 = _cq1._ch2 || 0;
break;
case _t62.__f2:
_Kl2._dg2 = _wl2(_cq1._gk2);
_Kl2._eg2 = _wl2(_cq1._hk2);
_Kl2._bh2 = _cq1._bh2 || 0;
_Kl2._hi2 = _cq1._hi2 || 0;
break;
default:
throw new Error("wat?");
}
_Kl2._z62 = _F72[_cq1._z62 || 0];
_Kl2._A62 = _F72[_cq1._A62 || 0];
_Kl2._B62 = _cq1._B62 || !1;
var _I42 = _P22._s62(_Kl2);
_I42.name = _cq1.name;
if (_cq1._Fl2) for (var _X9 = 0; _X9 < _cq1._Fl2.length; ++_X9) _zl2(_cq1, _I42);
return _I42;
}
function _Rl2() {
this._P22 = null;
this._D52 = 0;
this._C52 = 0;
this._Sl2 = 0;
this._kl2 = {};
this._F72 = {};
this._Nf2 = {};
Object.seal(this);
}
function _Tl2(_cq1, _P22) {
var _Wm1 = new _Rl2();
_Wm1._P22 = _P22 = _P22 || new _C32(new _iS1(0, 0));
_Wm1._D52 = _cq1._D52 || 0;
_Wm1._C52 = _cq1._C52 || 0;
_Wm1._Sl2 = _cq1._Sl2 || 0;
if (_cq1._P52) _P22._872(_wl2(_cq1._P52));
_P22._X62(_cq1._J22 || !1);
_P22._a72(_cq1._Ul2 || !1);
_P22._Z62(_cq1._E52 || !1);
_P22._072(_cq1._Vl2 || !1);
_P22._272(_cq1._Wl2 || !1);
var _F72 = [];
var _Xl2 = _cq1.body;
if (_Xl2) {
for (var _X9 = 0; _X9 < _Xl2.length; ++_X9) {
var body = _Gl2(_Xl2[_X9], _P22);
_F72.push(body);
for (var _xp1 = body._z42(); _xp1; _xp1 = _xp1._C42()) {
if (!_Wm1._kl2[_xp1.name]) _Wm1._kl2[_xp1.name] = [];
_Wm1._kl2[_xp1.name].push(_xp1);
}
if (!_Wm1._F72[body.name]) _Wm1._F72[body.name] = [];
_Wm1._F72[body.name].push(body);
}
}
var _Nf2 = [];
var _Yl2 = _cq1._I42;
if (_Yl2) {
for (_X9 = 0; _X9 < _Yl2.length; ++_X9) {
var _I42 = _Jl2(_Yl2[_X9], _P22, _F72);
_Nf2.push(_I42);
if (!_Wm1._Nf2[_I42.name]) _Wm1._Nf2[_I42.name] = [];
_Wm1._Nf2[_I42.name].push(_I42);
}
}
return _Wm1;
}
var __b1 = { _Tl2: _Tl2 };
return __b1;
})();
var _Zl2 = [
{ trimmed: "version", name: "b2_version", def: _7S1 },
{ trimmed: "Vec2", name: "b2Vec2", def: _iS1 },
{ trimmed: "Vec3", name: "b2Vec3", def: _yS1 },
{ trimmed: "Mat22", name: "b2Mat22", def: _AS1 },
{ trimmed: "Mat33", name: "b2Mat33", def: _MS1 },
{ trimmed: "Rot", name: "b2Rot", def: _ZS1 },
{ trimmed: "Transform", name: "b2Transform", def: _2T1 },
{ trimmed: "Sweep", name: "b2Sweep", def: _4T1 },
{ trimmed: "Dot_v2_v2", name: "b2Dot_v2_v2", def: _eT1 },
{ trimmed: "Cross_v2_v2", name: "b2Cross_v2_v2", def: _fT1 },
{ trimmed: "Cross_v2_f", name: "b2Cross_v2_f", def: _gT1 },
{ trimmed: "Cross_f_v2", name: "b2Cross_f_v2", def: _hT1 },
{ trimmed: "Mul_m22_v2", name: "b2Mul_m22_v2", def: _iT1 },
{ trimmed: "MulT_m22_v2", name: "b2MulT_m22_v2", def: _jT1 },
{ trimmed: "Distance", name: "b2Distance", def: _kT1 },
{ trimmed: "DistanceSquared", name: "b2DistanceSquared", def: _lT1 },
{ trimmed: "Dot_v3_v3", name: "b2Dot_v3_v3", def: _QS1 },
{ trimmed: "Cross_v3_v3", name: "b2Cross_v3_v3", def: _RS1 },
{ trimmed: "Mul_m22_m22", name: "b2Mul_m22_m22", def: _mT1 },
{ trimmed: "MulT_m22_m22", name: "b2MulT_m22_m22", def: _nT1 },
{ trimmed: "Mul_m33_v3", name: "b2Mul_m33_v3", def: _oT1 },
{ trimmed: "Mul22_m33_v2", name: "b2Mul22_m33_v2", def: _pT1 },
{ trimmed: "Mul_r_r", name: "b2Mul_r_r", def: _qT1 },
{ trimmed: "MulT_r_r", name: "b2MulT_r_r", def: _sT1 },
{ trimmed: "Mul_r_v2", name: "b2Mul_r_v2", def: _tT1 },
{ trimmed: "MulT_r_v2", name: "b2MulT_r_v2", def: _uT1 },
{ trimmed: "Mul_t_v2", name: "b2Mul_t_v2", def: _vT1 },
{ trimmed: "Min_v2", name: "b2Min_v2", def: _HT1 },
{ trimmed: "Max_v2", name: "b2Max_v2", def: _JT1 },
{ trimmed: "Clamp", name: "b2Clamp", def: _KT1 },
{ trimmed: "MulT_t_v2", name: "b2MulT_t_v2", def: _xT1 },
{ trimmed: "Mul_t_t", name: "b2Mul_t_t", def: _yT1 },
{ trimmed: "MulT_t_t", name: "b2MulT_t_t", def: _AT1 },
{ trimmed: "Clamp_v2", name: "b2Clamp_v2", def: _LT1 },
{ trimmed: "NextPowerOfTwo", name: "b2NextPowerOfTwo", def: _MT1 },
{ trimmed: "Abs_v2", name: "b2Abs_v2", def: _ET1 },
{ trimmed: "Abs_m22", name: "b2Abs_m22", def: _FT1 },
{ trimmed: "IsPowerOfTwo", name: "b2IsPowerOfTwo", def: _NT1 },
{ trimmed: "RandomFloat", name: "b2RandomFloat", def: _PT1 },
{ trimmed: "Timer", name: "b2Timer", def: _lU1 },
{ trimmed: "Color", name: "b2Color", def: _RT1 },
{ trimmed: "Draw", name: "b2Draw", def: _ST1 },
{ trimmed: "ContactID", name: "b2ContactID", def: _iY1 },
{ trimmed: "ManifoldPoint", name: "b2ManifoldPoint", def: _nY1 },
{ trimmed: "Manifold", name: "b2Manifold", def: _sY1 },
{ trimmed: "WorldManifold", name: "b2WorldManifold", def: _DY1 },
{ trimmed: "GetPointStates", name: "b2GetPointStates", def: _YY1 },
{ trimmed: "ClipVertex", name: "b2ClipVertex", def: _2Z1 },
{ trimmed: "RayCastInput", name: "b2RayCastInput", def: _3Z1 },
{ trimmed: "RayCastOutput", name: "b2RayCastOutput", def: _4Z1 },
{ trimmed: "AABB", name: "b2AABB", def: _5Z1 },
{ trimmed: "CollideCircles", name: "b2CollideCircles", def: _lZ1 },
{ trimmed: "CollidePolygonAndCircle", name: "b2CollidePolygonAndCircle", def: _pZ1 },
{ trimmed: "FindMaxSeparation", name: "b2FindMaxSeparation", def: _CZ1 },
{ trimmed: "FindIncidentEdge", name: "b2FindIncidentEdge", def: _QZ1 },
{ trimmed: "CollidePolygons", name: "b2CollidePolygons", def: __Z1 },
{ trimmed: "CollideEdgeAndCircle", name: "b2CollideEdgeAndCircle", def: _v_1 },
{ trimmed: "EPAxis", name: "b2EPAxis", def: _J_1 },
{ trimmed: "TempPolygon", name: "b2TempPolygon", def: _N_1 },
{ trimmed: "ReferenceFace", name: "b2ReferenceFace", def: _O_1 },
{ trimmed: "EPCollider", name: "b2EPCollider", def: _R_1 },
{ trimmed: "CollideEdgeAndPolygon", name: "b2CollideEdgeAndPolygon", def: _w02 },
{ trimmed: "ClipSegmentToLine", name: "b2ClipSegmentToLine", def: _s_1 },
{ trimmed: "TestShapeOverlap", name: "b2TestShapeOverlap", def: _F02 },
{ trimmed: "TestOverlap", name: "b2TestOverlap", def: _yW1 },
{ trimmed: "Shape", name: "b2Shape", def: _rU1 },
{ trimmed: "MassData", name: "b2MassData", def: _oU1 },
{ trimmed: "CircleShape", name: "b2CircleShape", def: _LU1 },
{ trimmed: "EdgeShape", name: "b2EdgeShape", def: _XU1 },
{ trimmed: "ChainShape", name: "b2ChainShape", def: _aV1 },
{ trimmed: "PolygonShape", name: "b2PolygonShape", def: _sV1 },
{ trimmed: "Pair", name: "b2Pair", def: _5W1 },
{ trimmed: "PairLessThan", name: "b2PairLessThan", def: _8W1 },
{ trimmed: "BroadPhase", name: "b2BroadPhase", def: _bW1 },
{ trimmed: "DistanceProxy", name: "b2DistanceProxy", def: _TW1 },
{ trimmed: "SimplexCache", name: "b2SimplexCache", def: _ZW1 },
{ trimmed: "DistanceInput", name: "b2DistanceInput", def: _2X1 },
{ trimmed: "DistanceOutput", name: "b2DistanceOutput", def: _8X1 },
{ trimmed: "SimplexVertex", name: "b2SimplexVertex", def: _cX1 },
{ trimmed: "Simplex", name: "b2Simplex", def: _fX1 },
{ trimmed: "DistanceFunc", name: "b2DistanceFunc", def: _1Y1 },
{ trimmed: "TreeNode", name: "b2TreeNode", def: _J02 },
{ trimmed: "DynamicTree", name: "b2DynamicTree", def: _dW1 },
{ trimmed: "TOIInput", name: "b2TOIInput", def: _P12 },
{ trimmed: "TOIOutput", name: "b2TOIOutput", def: _T12 },
{ trimmed: "SeparationFunction", name: "b2SeparationFunction", def: _Y12 },
{ trimmed: "TimeOfImpact", name: "b2TimeOfImpact", def: _k22 },
{ trimmed: "BodyDef", name: "b2BodyDef", def: _C22 },
{ trimmed: "Body", name: "b2Body", def: _D22 },
{ trimmed: "Filter", name: "b2Filter", def: _K42 },
{ trimmed: "FixtureDef", name: "b2FixtureDef", def: _r32 },
{ trimmed: "Fixture", name: "b2Fixture", def: _t32 },
{ trimmed: "DestructionListener", name: "b2DestructionListener", def: _c52 },
{ trimmed: "ContactFilter", name: "b2ContactFilter", def: _h52 },
{ trimmed: "ContactImpulse", name: "b2ContactImpulse", def: _l52 },
{ trimmed: "ContactListener", name: "b2ContactListener", def: _o52 },
{ trimmed: "QueryCallback", name: "b2QueryCallback", def: _u52 },
{ trimmed: "RayCastCallback", name: "b2RayCastCallback", def: _x52 },
{ trimmed: "TimeStep", name: "b2TimeStep", def: _y52 },
{ trimmed: "Position", name: "b2Position", def: _F52 },
{ trimmed: "Velocity", name: "b2Velocity", def: _G52 },
{ trimmed: "SolverData", name: "b2SolverData", def: _H52 },
{ trimmed: "World", name: "b2World", def: _C32 },
{ trimmed: "MixFriction", name: "b2MixFriction", def: _Vc2 },
{ trimmed: "MixRestitution", name: "b2MixRestitution", def: _Yc2 },
{ trimmed: "ContactRegister", name: "b2ContactRegister", def: _0d2 },
{ trimmed: "ContactEdge", name: "b2ContactEdge", def: _2d2 },
{ trimmed: "Contact", name: "b2Contact", def: _d72 },
{ trimmed: "CircleContact", name: "b2CircleContact", def: _rd2 },
{ trimmed: "PolygonContact", name: "b2PolygonContact", def: _Ad2 },
{ trimmed: "ChainAndCircleContact", name: "b2ChainAndCircleContact", def: _vd2 },
{ trimmed: "ChainAndPolygonContact", name: "b2ChainAndPolygonContact", def: _wd2 },
{ trimmed: "EdgeAndCircleContact", name: "b2EdgeAndCircleContact", def: _xd2 },
{ trimmed: "EdgeAndPolygonContact", name: "b2EdgeAndPolygonContact", def: _yd2 },
{ trimmed: "PolygonAndCircleContact", name: "b2PolygonAndCircleContact", def: _zd2 },
{ trimmed: "defaultFilter", name: "b2_defaultFilter", def: _Kd2 },
{ trimmed: "defaultListener", name: "b2_defaultListener", def: _Ld2 },
{ trimmed: "ContactManager", name: "b2ContactManager", def: _Q52 },
{ trimmed: "VelocityConstraintPoint", name: "b2VelocityConstraintPoint", def: _Qd2 },
{ trimmed: "ContactPositionConstraint", name: "b2ContactPositionConstraint", def: _Ud2 },
{ trimmed: "ContactVelocityConstraint", name: "b2ContactVelocityConstraint", def: _1e2 },
{ trimmed: "PositionSolverManifold", name: "b2PositionSolverManifold", def: _5e2 },
{ trimmed: "ContactSolverDef", name: "b2ContactSolverDef", def: _8e2 },
{ trimmed: "ContactSolver", name: "b2ContactSolver", def: _ae2 },
{ trimmed: "Island", name: "b2Island", def: _562 },
{ trimmed: "Jacobian", name: "b2Jacobian", def: _Hf2 },
{ trimmed: "JointEdge", name: "b2JointEdge", def: _Kf2 },
{ trimmed: "JointDef", name: "b2JointDef", def: _Lf2 },
{ trimmed: "Joint", name: "b2Joint", def: _t62 },
{ trimmed: "RevoluteJointDef", name: "b2RevoluteJointDef", def: _cg2 },
{ trimmed: "RevoluteJoint", name: "b2RevoluteJoint", def: _4g2 },
{ trimmed: "MouseJointDef", name: "b2MouseJointDef", def: _ah2 },
{ trimmed: "MouseJoint", name: "b2MouseJoint", def: _2g2 },
{ trimmed: "DistanceJointDef", name: "b2DistanceJointDef", def: _vh2 },
{ trimmed: "DistanceJoint", name: "b2DistanceJoint", def: _1g2 },
{ trimmed: "PrismaticJointDef", name: "b2PrismaticJointDef", def: _Ih2 },
{ trimmed: "PrismaticJoint", name: "b2PrismaticJoint", def: _3g2 },
{ trimmed: "FrictionJointDef", name: "b2FrictionJointDef", def: _gi2 },
{ trimmed: "FrictionJoint", name: "b2FrictionJoint", def: _9g2 },
{ trimmed: "WeldJointDef", name: "b2WeldJointDef", def: _si2 },
{ trimmed: "WeldJoint", name: "b2WeldJoint", def: _8g2 },
{ trimmed: "WheelJointDef", name: "b2WheelJointDef", def: _ui2 },
{ trimmed: "WheelJoint", name: "b2WheelJoint", def: _7g2 },
{ trimmed: "GearJointDef", name: "b2GearJointDef", def: _Ki2 },
{ trimmed: "GearJoint", name: "b2GearJoint", def: _6g2 },
{ trimmed: "MotorJointDef", name: "b2MotorJointDef", def: _Qj2 },
{ trimmed: "MotorJoint", name: "b2MotorJoint", def: _bg2 },
{ trimmed: "PulleyJointDef", name: "b2PulleyJointDef", def: _9k2 },
{ trimmed: "PulleyJoint", name: "b2PulleyJoint", def: _5g2 },
{ trimmed: "RopeJointDef", name: "b2RopeJointDef", def: _Ak2 },
{ trimmed: "RopeJoint", name: "b2RopeJoint", def: _ag2 },
{ trimmed: "RopeDef", name: "b2RopeDef", def: _Kk2 },
{ trimmed: "Rope", name: "b2Rope", def: _Ok2 },
{ trimmed: "maxManifoldPoints", name: "b2_maxManifoldPoints", def: _zR1 },
{ trimmed: "maxPolygonVertices", name: "b2_maxPolygonVertices", def: _AR1 },
{ trimmed: "aabbExtension", name: "b2_aabbExtension", def: _BR1 },
{ trimmed: "aabbMultiplier", name: "b2_aabbMultiplier", def: _CR1 },
{ trimmed: "linearSlop", name: "b2_linearSlop", def: _DR1 },
{ trimmed: "angularSlop", name: "b2_angularSlop", def: _ER1 },
{ trimmed: "polygonRadius", name: "b2_polygonRadius", def: _FR1 },
{ trimmed: "maxSubSteps", name: "b2_maxSubSteps", def: _GR1 },
{ trimmed: "maxTOIContacts", name: "b2_maxTOIContacts", def: _HR1 },
{ trimmed: "velocityThreshold", name: "b2_velocityThreshold", def: _IR1 },
{ trimmed: "maxLinearCorrection", name: "b2_maxLinearCorrection", def: _JR1 },
{ trimmed: "maxAngularCorrection", name: "b2_maxAngularCorrection", def: _KR1 },
{ trimmed: "maxTranslation", name: "b2_maxTranslation", def: _LR1 },
{ trimmed: "maxTranslationSquared", name: "b2_maxTranslationSquared", def: _MR1 },
{ trimmed: "maxRotation", name: "b2_maxRotation", def: _NR1 },
{ trimmed: "maxRotationSquared", name: "b2_maxRotationSquared", def: _OR1 },
{ trimmed: "baumgarte", name: "b2_baumgarte", def: _PR1 },
{ trimmed: "toiBaugarte", name: "b2_toiBaugarte", def: _QR1 },
{ trimmed: "timeToSleep", name: "b2_timeToSleep", def: _RR1 },
{ trimmed: "linearSleepTolerance", name: "b2_linearSleepTolerance", def: _SR1 },
{ trimmed: "angularSleepTolerance", name: "b2_angularSleepTolerance", def: _TR1 },
{ trimmed: "epsilon", name: "b2_epsilon", def: _xR1 },
{ trimmed: "JsonSerializer", name: "b2JsonSerializer", def: _fl2 },
{ trimmed: "RUBELoader", name: "b2RUBELoader", def: _vl2 },
{ trimmed: "Profiler", name: "b2Profiler", def: _cR1 },
{ trimmed: "ParticleDef", name: "b2ParticleDef", def: _l92 },
{ trimmed: "ParticleColor", name: "b2ParticleColor", def: _c92 },
{ trimmed: "ParticleGroupDef", name: "b2ParticleGroupDef", def: _w92 },
{ trimmed: "ParticleGroup", name: "b2ParticleGroup", def: _A92 },
{ trimmed: "ParticleSystem", name: "b2ParticleSystem", def: _762 },
];
if (typeof b2_compatibility !== "undefined" && typeof window !== "undefined") {
for (var _X9 = 0; _X9 < _Zl2.length; ++_X9) window[_Zl2[_X9]["name"]] = _Zl2[_X9]["def"];
} else {
var _4r1 = {};
for (var _X9 = 0; _X9 < _Zl2.length; ++_X9) _4r1[_Zl2[_X9]["trimmed"]] = _Zl2[_X9]["def"];
if (typeof module !== "undefined") module.__l2 = _4r1;
else window["b2"] = _4r1;
}
})();
/*
* This class lets you encode animated GIF files
* Base class : http://www.java2s.com/Code/Java/2D-Graphics-GUI/AnimatedGifEncoder.htm
* @author Kevin Weiner (original Java version - kweiner@fmsware.com)
* @author Thibault Imbert (AS3 version - bytearray.org)
* @author Kevin Kwok (JavaScript version - https://github.com/antimatter15/jsgif)
* @version 0.1 AS3 implementation
*/ _0m2 = function () {
for (var _X9 = 0, _Br1 = {}; _X9 < 256; _X9++) _Br1[_X9] = String.fromCharCode(_X9);
function _1m2() {
this._2m2 = [];
}
_1m2.prototype._3m2 = function () {
for (var _J41 = "", _921 = this._2m2.length, _X9 = 0; _X9 < _921; _X9++) _J41 += _Br1[this._2m2[_X9]];
return _J41;
};
_1m2.prototype._4m2 = function (_r91) {
this._2m2.push(_r91);
};
_1m2.prototype._5m2 = function (_ul) {
for (var _921 = _ul.length, _X9 = 0; _X9 < _921; _X9++) this._4m2(_ul.charCodeAt(_X9));
};
_1m2.prototype._6m2 = function (_7m2, offset, length) {
for (var _921 = length || _7m2.length, _X9 = offset || 0; _X9 < _921; _X9++) this._4m2(_7m2[_X9]);
};
var __l2 = {};
var width;
var height;
var _n2 = null;
var _8m2;
var repeat = -1;
var _9m2 = 0;
var _am2 = !1;
var out;
var _N21;
var _bm2;
var _cm2;
var colorDepth;
var _dm2;
var _em2 = [];
var _fm2 = 7;
var dispose = -1;
var _gm2 = !1;
var _hm2 = !0;
var _im2 = !1;
var _jm2 = 10;
var _km2 = "Generated by jsgif (https://github.com/antimatter15/jsgif/)";
/*
* Sets the delay time between each frame, or changes it for subsequent frames
* (applies to last frame added)
* int delay time in milliseconds
* @param ms
*/ var _lm2 = (__l2._lm2 = function _lm2(_am1) {
_9m2 = Math.round(_am1 / 10);
});
/*
* Sets the GIF frame disposal code for the last added frame and any
*
* subsequent frames. Default is 0 if no transparent color has been set,
* otherwise 2.
* @param code
* int disposal code.
*/ var _mm2 = (__l2._mm2 = function _mm2(_aL1) {
if (_aL1 >= 0) dispose = _aL1;
});
/*
* Sets the number of times the set of GIF frames should be played. Default is
* 1; 0 means play indefinitely. Must be invoked before the first image is
* added.
*
* @param iter
* int number of iterations.
* @return
*/ var _nm2 = (__l2._nm2 = function _nm2(_sL1) {
if (_sL1 >= 0) repeat = _sL1;
});
/*
* Sets the transparent color for the last added frame and any subsequent
* frames. Since all colors are subject to modification in the quantization
* process, the color in the final palette for each frame closest to the given
* color becomes the transparent color for that frame. May be set to null to
* indicate no transparent color.
* @param
* Color to be treated as transparent on display.
*/ var _om2 = (__l2._om2 = function _om2(_Y9) {
_n2 = _Y9;
});
/*
* Sets the comment for the block comment
* @param
* string to be insterted as comment
*/ var _pm2 = (__l2._pm2 = function _pm2(_Y9) {
_km2 = _Y9;
});
/*
* The addFrame method takes an incoming BitmapData object to create each frames
* @param
* BitmapData object to be treated as a GIF's frame
*/ var _qm2 = (__l2._qm2 = function _qm2(_U51, _rm2) {
if (_U51 === null || !_am2 || out === null) {
throw new Error("Please call start method before calling addFrame");
}
var _np1 = !0;
try {
if (!_rm2) {
_N21 = _U51.getImageData(0, 0, _U51.canvas.width, _U51.canvas.height).data;
if (!_im2) _sm2(_U51.canvas.width, _U51.canvas.height);
} else {
if (_U51 instanceof ImageData) {
_N21 = _U51.data;
if (!_tm2 || width != _U51.width || height != _U51.height) {
_sm2(_U51.width, _U51.height);
} else {
}
} else if (_U51 instanceof Uint8ClampedArray) {
if (_U51.length == width * height * 4) {
_N21 = _U51;
} else {
console.log("Please set the correct size: ImageData length mismatch");
_np1 = !1;
}
} else {
console.log("Please provide correct input");
_np1 = !1;
}
}
_um2();
if (_jm2 == 0) _vm2();
else _wm2();
if (_hm2) {
_xm2();
_ym2();
if (repeat >= 0) {
_zm2();
}
}
_Am2();
if (_km2 !== "") {
_Bm2();
}
_Cm2();
if (!_hm2) _ym2();
_Dm2();
_hm2 = !1;
} catch (e) {
_np1 = !1;
}
return _np1;
});
/*
* @description: Downloads the encoded gif with the given name
* No need of any conversion from the stream data (out) to base64
* Solves the issue of large file sizes when there are more frames
* and does not involve in creation of any temporary data in the process
* so no wastage of memory, and speeds up the process of downloading
* to just calling this function.
* @parameter {String} filename filename used for downloading the gif
*/ var download = (__l2.download = function download(_Em2) {
if (out === null || _gm2 == !1) {
console.log("Please call start method and add frames and call finish method before calling download");
} else {
_Em2 = _Em2 !== undefined ? (_Em2.endsWith(".gif") ? _Em2 : _Em2 + ".gif") : "download.gif";
var _Fm2 = document.createElement("a");
_Fm2.download = _Em2;
_Fm2.href = URL.createObjectURL(new Blob([new Uint8Array(out._2m2)], { type: "image/gif" }));
_Fm2.click();
}
});
var _Gm2 = (__l2._Gm2 = function _Gm2() {
if (!_am2) return !1;
var _np1 = !0;
_am2 = !1;
try {
out._4m2(0x3b);
_gm2 = !0;
} catch (e) {
_np1 = !1;
}
return _np1;
});
var _kR1 = function _kR1() {
_8m2 = 0;
_N21 = null;
_bm2 = null;
_cm2 = null;
_dm2 = null;
_gm2 = !1;
_hm2 = !0;
};
/*
* * Sets frame rate in frames per second. Equivalent to
* <code>setDelay(1000/fps)</code>.
* @param fps
* float frame rate (frames per second)
*/ var _Hm2 = (__l2._Hm2 = function _Hm2(_Pz1) {
if (_Pz1 != 0xf) _9m2 = Math.round(100 / _Pz1);
});
/*
* Sets quality of color quantization (conversion of images to the maximum 256
* colors allowed by the GIF specification). Lower values (minimum = 1)
* produce better colors, but slow processing significantly. 10 is the
* default, and produces good color mapping at reasonable speeds. Values
* greater than 20 do not yield significant improvements in speed.
* @param quality
* int greater than 0.
* @return
*/ var _Im2 = (__l2._Im2 = function _Im2(_Jm2) {
_jm2 = _Jm2;
});
/*
* Sets the GIF frame size. The default size is the size of the first frame
* added if this method is not invoked.
* @param w
* int frame width.
* @param h
* int frame width.
*/ var _sm2 = (__l2._sm2 = function _sm2(_Z9, __9) {
if (_am2 && !_hm2) return;
width = _Z9;
height = __9;
if (width < 1) width = 320;
if (height < 1) height = 240;
_im2 = !0;
});
/*
* Initiates GIF file creation on the given stream.
* @param os
* OutputStream on which GIF images are written.
* @return false if initial write failed.
*/ var start = (__l2.start = function start() {
_kR1();
var _np1 = !0;
_gm2 = !1;
out = new _1m2();
try {
out._5m2("GIF89a");
} catch (e) {
_np1 = !1;
}
return (_am2 = _np1);
});
var _Km2 = (__l2._Km2 = function _Km2() {
_kR1();
var _np1 = !0;
_gm2 = !1;
out = new _1m2();
return (_am2 = _np1);
});
var _wm2 = function _wm2() {
var _Bc1 = _bm2.length;
var _Lm2 = _Bc1 / 3;
_cm2 = [];
var _Mm2 = new _Nm2(_bm2, _Bc1, _jm2);
_dm2 = _Mm2._Om2();
var _Sc1 = 0;
for (var _i21 = 0; _i21 < _Lm2; _i21++) {
var index = _Mm2.map(_bm2[_Sc1++] & 0xff, _bm2[_Sc1++] & 0xff, _bm2[_Sc1++] & 0xff);
_em2[index] = !0;
_cm2[_i21] = index;
}
_bm2 = null;
colorDepth = 8;
_fm2 = 7;
if (_n2 !== null) {
_8m2 = _Pm2(_n2);
}
};
var _vm2 = function _vm2() {
var _Bc1 = _bm2.length;
var _Lm2 = _Bc1 / 3;
_cm2 = [];
_dm2 = [];
for (var _b21 = 0; _b21 < 8; _b21++) {
for (var _k41 = 0; _k41 < 8; _k41++) {
for (var _e21 = 0; _e21 < 4; _e21++) {
var index = 32 * _b21 + 4 * _k41 + _e21;
_dm2[index * 3 + 0] = floor(((_e21 + 0.5) * 255) / 4);
_dm2[index * 3 + 2] = floor(((_b21 + 0.5) * 255) / 8);
_dm2[index * 3 + 1] = floor(((_k41 + 0.5) * 255) / 8);
}
}
}
var _Sc1 = 0;
for (var _i21 = 0; _i21 < _Lm2; _i21++) {
var _e21 = floor((4 * (_bm2[_Sc1++] & 0xff)) / 256);
var _k41 = floor((8 * (_bm2[_Sc1++] & 0xff)) / 256);
var _b21 = floor((8 * (_bm2[_Sc1++] & 0xff)) / 256);
var index = _b21 * 32 + _k41 * 4 + _e21;
_em2[index] = !0;
_cm2[_i21] = index;
}
_bm2 = null;
colorDepth = 8;
_fm2 = 7;
if (_n2 !== null) {
_8m2 = 0;
}
};
var _Pm2 = function _Pm2(_Y9) {
if (_dm2 === null) return -1;
var _b21 = (_Y9 & 0xff0000) >> 16;
var _k41 = (_Y9 & 0x00ff00) >> 8;
var _e21 = _Y9 & 0x0000ff;
var _Qm2 = 0;
var _Rm2 = 256 * 256 * 256;
var _Bc1 = _dm2.length;
for (var _X9 = 0; _X9 < _Bc1; ) {
var _Bc2 = _b21 - (_dm2[_X9++] & 0xff);
var _Cc2 = _k41 - (_dm2[_X9++] & 0xff);
var _Dc2 = _e21 - (_dm2[_X9] & 0xff);
var _Ce1 = _Bc2 * _Bc2 + _Cc2 * _Cc2 + _Dc2 * _Dc2;
var index = _X9 / 3;
if (_em2[index] && _Ce1 < _Rm2) {
_Rm2 = _Ce1;
_Qm2 = index;
}
_X9++;
}
return _Qm2;
};
var _Sm2 = (__l2._Sm2 = function _Sm2() {
return width;
});
var _Tm2 = (__l2._Tm2 = function _Tm2() {
return height;
});
var _um2 = function _um2() {
var _Z9 = width;
var __9 = height;
_bm2 = [];
var data = _N21;
var _d31 = 0;
for (var _X9 = 0; _X9 < __9; _X9++) {
for (var _i21 = 0; _i21 < _Z9; _i21++) {
var _e21 = _X9 * _Z9 * 4 + _i21 * 4;
_bm2[_d31++] = data[_e21];
_bm2[_d31++] = data[_e21 + 1];
_bm2[_d31++] = data[_e21 + 2];
}
}
};
var _Am2 = function _Am2() {
out._4m2(0x21);
out._4m2(0xf9);
out._4m2(4);
var _Um2;
var _Vm2;
if (_n2 === null) {
_Um2 = 0;
_Vm2 = 0;
} else {
_Um2 = 1;
_Vm2 = 2;
}
if (dispose >= 0) {
_Vm2 = dispose & 7;
}
_Vm2 <<= 2;
out._4m2(0 | _Vm2 | 0 | _Um2);
_Wm2(_9m2);
out._4m2(_8m2);
out._4m2(0);
};
var _Bm2 = function _Bm2() {
out._4m2(0x21);
out._4m2(0xfe);
out._4m2(_km2.length);
out._5m2(_km2);
out._4m2(0);
};
var _Cm2 = function _Cm2() {
out._4m2(0x2c);
_Wm2(0);
_Wm2(0);
_Wm2(width);
_Wm2(height);
if (_hm2) {
out._4m2(0);
} else {
out._4m2(0x80 | 0 | 0 | 0 | _fm2);
}
};
var _xm2 = function _xm2() {
_Wm2(width);
_Wm2(height);
out._4m2(0x80 | 0x70 | 0x00 | _fm2);
out._4m2(0);
out._4m2(0);
};
var _zm2 = function _zm2() {
out._4m2(0x21);
out._4m2(0xff);
out._4m2(11);
out._5m2("NETSCAPE" + "2.0");
out._4m2(3);
out._4m2(1);
_Wm2(repeat);
out._4m2(0);
};
var _ym2 = function _ym2() {
out._6m2(_dm2);
var _W11 = 3 * 256 - _dm2.length;
for (var _X9 = 0; _X9 < _W11; _X9++) out._4m2(0);
};
var _Wm2 = function _Wm2(_Xm2) {
out._4m2(_Xm2 & 0xff);
out._4m2((_Xm2 >> 8) & 0xff);
};
var _Dm2 = function _Dm2() {
var _Ym2 = new _Zm2(width, height, _cm2, colorDepth);
_Ym2.__m2(out);
};
var _0n2 = (__l2._0n2 = function _0n2() {
return out;
});
var _1n2 = (__l2._1n2 = function _1n2(_2n2, _3n2) {
_am2 = _2n2;
_hm2 = _3n2;
});
return __l2;
};
/*
* This class handles LZW encoding
* Adapted from Jef Poskanzer's Java port by way of J. M. G. Elliott.
* @author Kevin Weiner (original Java version - kweiner@fmsware.com)
* @author Thibault Imbert (AS3 version - bytearray.org)
* @author Kevin Kwok (JavaScript version - https://github.com/antimatter15/jsgif)
* @version 0.1 AS3 implementation
*/ _Zm2 = function () {
var __l2 = {};
var _4n2 = -1;
var _5n2;
var _6n2;
var _7n2;
var _8n2;
var _9n2;
var _an2; // David Rowley (mgardi@watdcsu.waterloo.edu)
var _bn2 = 12;
var _cn2 = 5003;
var _dn2;
var _en2 = _bn2;
var _fn2;
var _gn2 = 1 << _bn2;
var _hn2 = [];
var _in2 = [];
var _jn2 = _cn2;
var _kn2 = 0;
var _ln2 = !1;
var _mn2;
var _nn2;
var _on2;
var _pn2 = 0;
var _qn2 = 0;
var _rn2 = [0x0000, 0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff, 0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, 0xffff];
var _sn2;
var _tn2 = [];
var _Zm2 = (__l2._Zm2 = function _Zm2(width, height, _bm2, _un2) {
_5n2 = width;
_6n2 = height;
_7n2 = _bm2;
_8n2 = Math.max(2, _un2);
});
var _vn2 = function _vn2(_Y9, _wn2) {
_tn2[_sn2++] = _Y9;
if (_sn2 >= 254) _xn2(_wn2);
};
var _yn2 = function _yn2(_wn2) {
_zn2(_jn2);
_kn2 = _nn2 + 2;
_ln2 = !0;
_Kr1(_nn2, _wn2);
};
var _zn2 = function _zn2(_jn2) {
for (var _X9 = 0; _X9 < _jn2; ++_X9) _hn2[_X9] = -1;
};
var compress = (__l2.compress = function compress(_An2, _wn2) {
var _Bn2;
var _X9;
var _Y9;
var _Cn2;
var _Vm2;
var _Dn2;
var _En2;
_mn2 = _An2;
_ln2 = !1;
_dn2 = _mn2;
_fn2 = _Fn2(_dn2);
_nn2 = 1 << (_An2 - 1);
_on2 = _nn2 + 1;
_kn2 = _nn2 + 2;
_sn2 = 0;
_Cn2 = _Gn2();
_En2 = 0;
for (_Bn2 = _jn2; _Bn2 < 65536; _Bn2 *= 2) ++_En2;
_En2 = 8 - _En2;
_Dn2 = _jn2;
_zn2(_Dn2);
_Kr1(_nn2, _wn2);
_Hn2: while ((_Y9 = _Gn2()) != _4n2) {
_Bn2 = (_Y9 << _en2) + _Cn2;
_X9 = (_Y9 << _En2) ^ _Cn2;
if (_hn2[_X9] == _Bn2) {
_Cn2 = _in2[_X9];
continue;
} else if (_hn2[_X9] >= 0) {
_Vm2 = _Dn2 - _X9;
if (_X9 === 0) _Vm2 = 1;
do {
if ((_X9 -= _Vm2) < 0) _X9 += _Dn2;
if (_hn2[_X9] == _Bn2) {
_Cn2 = _in2[_X9];
continue _Hn2;
}
} while (_hn2[_X9] >= 0);
}
_Kr1(_Cn2, _wn2);
_Cn2 = _Y9;
if (_kn2 < _gn2) {
_in2[_X9] = _kn2++;
_hn2[_X9] = _Bn2;
} else _yn2(_wn2);
}
_Kr1(_Cn2, _wn2);
_Kr1(_on2, _wn2);
});
var __m2 = (__l2.__m2 = function __m2(_In2) {
_In2._4m2(_8n2);
_9n2 = _5n2 * _6n2;
_an2 = 0;
compress(_8n2 + 1, _In2);
_In2._4m2(0);
});
var _xn2 = function _xn2(_wn2) {
if (_sn2 > 0) {
_wn2._4m2(_sn2);
_wn2._6m2(_tn2, 0, _sn2);
_sn2 = 0;
}
};
var _Fn2 = function _Fn2(_dn2) {
return (1 << _dn2) - 1;
};
var _Gn2 = function _Gn2() {
if (_9n2 === 0) return _4n2;
--_9n2;
var _Jn2 = _7n2[_an2++];
return _Jn2 & 0xff;
};
var _Kr1 = function _Kr1(_aL1, _wn2) {
_pn2 &= _rn2[_qn2];
if (_qn2 > 0) _pn2 |= _aL1 << _qn2;
else _pn2 = _aL1;
_qn2 += _dn2;
while (_qn2 >= 8) {
_vn2(_pn2 & 0xff, _wn2);
_pn2 >>= 8;
_qn2 -= 8;
}
if (_kn2 > _fn2 || _ln2) {
if (_ln2) {
_fn2 = _Fn2((_dn2 = _mn2));
_ln2 = !1;
} else {
++_dn2;
if (_dn2 == _en2) _fn2 = _gn2;
else _fn2 = _Fn2(_dn2);
}
}
if (_aL1 == _on2) {
while (_qn2 > 0) {
_vn2(_pn2 & 0xff, _wn2);
_pn2 >>= 8;
_qn2 -= 8;
}
_xn2(_wn2);
}
};
_Zm2.apply(this, arguments);
return __l2;
};
/* * This class handles Neural-Net quantization algorithm
* @author Kevin Weiner (original Java version - kweiner@fmsware.com)
* @author Thibault Imbert (AS3 version - bytearray.org)
* @author Kevin Kwok (JavaScript version - https://github.com/antimatter15/jsgif)
* @version 0.1 AS3 implementation
*/ _Nm2 = function () {
var __l2 = {};
var _Kn2 = 256;
var _Ln2 = 499;
var _Mn2 = 491;
var _Nn2 = 487;
var _On2 = 503;
var _Pn2 = 3 * _On2;
var _Qn2 = _Kn2 - 1;
var _Rn2 = 4;
var _Sn2 = 100;
var _Tn2 = 16;
var _Un2 = 1 << _Tn2;
var _Vn2 = 10;
var _Wn2 = 1 << _Vn2;
var _Xn2 = 10;
var _bT1 = _Un2 >> _Xn2;
var _Yn2 = _Un2 << (_Vn2 - _Xn2);
var _Zn2 = _Kn2 >> 3;
var __n2 = 6;
var _0o2 = 1 << __n2;
var _1o2 = _Zn2 * _0o2;
var _2o2 = 30;
var _3o2 = 10;
var _4o2 = 1 << _3o2;
var _5o2;
var _6o2 = 8;
var _7o2 = 1 << _6o2;
var _8o2 = _3o2 + _6o2;
var _9o2 = 1 << _8o2;
var _ao2;
var _bo2;
var _co2;
var _do2;
var _eo2 = [];
var _sh1 = [];
var _fo2 = [];
var _go2 = [];
var _Nm2 = (__l2._Nm2 = function _Nm2(_ho2, _Bc1, _jm2) {
var _X9;
var _ot1;
_ao2 = _ho2;
_bo2 = _Bc1;
_co2 = _jm2;
_do2 = new Array(_Kn2);
for (_X9 = 0; _X9 < _Kn2; _X9++) {
_do2[_X9] = new Array(4);
_ot1 = _do2[_X9];
_ot1[0] = _ot1[1] = _ot1[2] = (_X9 << (_Rn2 + 8)) / _Kn2;
_fo2[_X9] = _Un2 / _Kn2;
_sh1[_X9] = 0;
}
});
var _io2 = function _io2() {
var map = [];
var index = new Array(_Kn2);
for (var _X9 = 0; _X9 < _Kn2; _X9++) index[_do2[_X9][3]] = _X9;
var _Sc1 = 0;
for (var _921 = 0; _921 < _Kn2; _921++) {
var _i21 = index[_921];
map[_Sc1++] = _do2[_i21][0];
map[_Sc1++] = _do2[_i21][1];
map[_Sc1++] = _do2[_i21][2];
}
return map;
};
var _jo2 = function _jo2() {
var _X9;
var _i21;
var _ko2;
var _lo2;
var _ot1;
var _Yr1;
var _mo2;
var _no2;
_mo2 = 0;
_no2 = 0;
for (_X9 = 0; _X9 < _Kn2; _X9++) {
_ot1 = _do2[_X9];
_ko2 = _X9;
_lo2 = _ot1[1];
for (_i21 = _X9 + 1; _i21 < _Kn2; _i21++) {
_Yr1 = _do2[_i21];
if (_Yr1[1] < _lo2) {
_ko2 = _i21;
_lo2 = _Yr1[1];
}
}
_Yr1 = _do2[_ko2];
if (_X9 != _ko2) {
_i21 = _Yr1[0];
_Yr1[0] = _ot1[0];
_ot1[0] = _i21;
_i21 = _Yr1[1];
_Yr1[1] = _ot1[1];
_ot1[1] = _i21;
_i21 = _Yr1[2];
_Yr1[2] = _ot1[2];
_ot1[2] = _i21;
_i21 = _Yr1[3];
_Yr1[3] = _ot1[3];
_ot1[3] = _i21;
}
if (_lo2 != _mo2) {
_eo2[_mo2] = (_no2 + _X9) >> 1;
for (_i21 = _mo2 + 1; _i21 < _lo2; _i21++) _eo2[_i21] = _X9;
_mo2 = _lo2;
_no2 = _X9;
}
}
_eo2[_mo2] = (_no2 + _Qn2) >> 1;
for (_i21 = _mo2 + 1; _i21 < 256; _i21++) _eo2[_i21] = _Qn2;
};
var _oo2 = function _oo2() {
var _X9;
var _i21;
var _e21;
var _k41;
var _b21;
var _2U1;
var _0v1;
var alpha;
var _7R1;
var _po2;
var _qo2;
var _ot1;
var _Jn2;
var _ro2;
if (_bo2 < _Pn2) _co2 = 1;
_5o2 = 30 + (_co2 - 1) / 3;
_ot1 = _ao2;
_Jn2 = 0;
_ro2 = _bo2;
_qo2 = _bo2 / (3 * _co2);
_po2 = (_qo2 / _Sn2) | 0;
alpha = _4o2;
_2U1 = _1o2;
_0v1 = _2U1 >> __n2;
if (_0v1 <= 1) _0v1 = 0;
for (_X9 = 0; _X9 < _0v1; _X9++) _go2[_X9] = alpha * (((_0v1 * _0v1 - _X9 * _X9) * _7o2) / (_0v1 * _0v1));
if (_bo2 < _Pn2) _7R1 = 3;
else if (_bo2 % _Ln2 !== 0) _7R1 = 3 * _Ln2;
else {
if (_bo2 % _Mn2 !== 0) _7R1 = 3 * _Mn2;
else {
if (_bo2 % _Nn2 !== 0) _7R1 = 3 * _Nn2;
else _7R1 = 3 * _On2;
}
}
_X9 = 0;
while (_X9 < _qo2) {
_e21 = (_ot1[_Jn2 + 0] & 0xff) << _Rn2;
_k41 = (_ot1[_Jn2 + 1] & 0xff) << _Rn2;
_b21 = (_ot1[_Jn2 + 2] & 0xff) << _Rn2;
_i21 = _so2(_e21, _k41, _b21);
_to2(alpha, _i21, _e21, _k41, _b21);
if (_0v1 !== 0) _uo2(_0v1, _i21, _e21, _k41, _b21);
_Jn2 += _7R1;
if (_Jn2 >= _ro2) _Jn2 -= _bo2;
_X9++;
if (_po2 === 0) _po2 = 1;
if (_X9 % _po2 === 0) {
alpha -= alpha / _5o2;
_2U1 -= _2U1 / _2o2;
_0v1 = _2U1 >> __n2;
if (_0v1 <= 1) _0v1 = 0;
for (_i21 = 0; _i21 < _0v1; _i21++) _go2[_i21] = alpha * (((_0v1 * _0v1 - _i21 * _i21) * _7o2) / (_0v1 * _0v1));
}
}
};
var map = (__l2.map = function map(_e21, _k41, _b21) {
var _X9;
var _i21;
var _OB1;
var _l41;
var _vo2;
var _ot1;
var _wo2;
_vo2 = 1000;
_wo2 = -1;
_X9 = _eo2[_k41];
_i21 = _X9 - 1;
while (_X9 < _Kn2 || _i21 >= 0) {
if (_X9 < _Kn2) {
_ot1 = _do2[_X9];
_OB1 = _ot1[1] - _k41;
if (_OB1 >= _vo2) _X9 = _Kn2;
else {
_X9++;
if (_OB1 < 0) _OB1 = -_OB1;
_l41 = _ot1[0] - _e21;
if (_l41 < 0) _l41 = -_l41;
_OB1 += _l41;
if (_OB1 < _vo2) {
_l41 = _ot1[2] - _b21;
if (_l41 < 0) _l41 = -_l41;
_OB1 += _l41;
if (_OB1 < _vo2) {
_vo2 = _OB1;
_wo2 = _ot1[3];
}
}
}
}
if (_i21 >= 0) {
_ot1 = _do2[_i21];
_OB1 = _k41 - _ot1[1];
if (_OB1 >= _vo2) _i21 = -1;
else {
_i21--;
if (_OB1 < 0) _OB1 = -_OB1;
_l41 = _ot1[0] - _e21;
if (_l41 < 0) _l41 = -_l41;
_OB1 += _l41;
if (_OB1 < _vo2) {
_l41 = _ot1[2] - _b21;
if (_l41 < 0) _l41 = -_l41;
_OB1 += _l41;
if (_OB1 < _vo2) {
_vo2 = _OB1;
_wo2 = _ot1[3];
}
}
}
}
}
return _wo2;
});
var _Om2 = (__l2._Om2 = function _Om2() {
_oo2();
_xo2();
_jo2();
return _io2();
});
var _xo2 = function _xo2() {
var _X9;
var _i21;
for (_X9 = 0; _X9 < _Kn2; _X9++) {
_do2[_X9][0] >>= _Rn2;
_do2[_X9][1] >>= _Rn2;
_do2[_X9][2] >>= _Rn2;
_do2[_X9][3] = _X9;
}
};
var _uo2 = function _uo2(_0v1, _X9, _e21, _k41, _b21) {
var _i21;
var _Sc1;
var _QT1;
var _dL1;
var _l41;
var _Z11;
var _ot1;
_QT1 = _X9 - _0v1;
if (_QT1 < -1) _QT1 = -1;
_dL1 = _X9 + _0v1;
if (_dL1 > _Kn2) _dL1 = _Kn2;
_i21 = _X9 + 1;
_Sc1 = _X9 - 1;
_Z11 = 1;
while (_i21 < _dL1 || _Sc1 > _QT1) {
_l41 = _go2[_Z11++];
if (_i21 < _dL1) {
_ot1 = _do2[_i21++];
try {
_ot1[0] -= (_l41 * (_ot1[0] - _e21)) / _9o2;
_ot1[1] -= (_l41 * (_ot1[1] - _k41)) / _9o2;
_ot1[2] -= (_l41 * (_ot1[2] - _b21)) / _9o2;
} catch (e) {}
}
if (_Sc1 > _QT1) {
_ot1 = _do2[_Sc1--];
try {
_ot1[0] -= (_l41 * (_ot1[0] - _e21)) / _9o2;
_ot1[1] -= (_l41 * (_ot1[1] - _k41)) / _9o2;
_ot1[2] -= (_l41 * (_ot1[2] - _b21)) / _9o2;
} catch (e) {}
}
}
};
var _to2 = function _to2(alpha, _X9, _e21, _k41, _b21) {
var _W11 = _do2[_X9];
_W11[0] -= (alpha * (_W11[0] - _e21)) / _4o2;
_W11[1] -= (alpha * (_W11[1] - _k41)) / _4o2;
_W11[2] -= (alpha * (_W11[2] - _b21)) / _4o2;
};
var _so2 = function _so2(_e21, _k41, _b21) {
var _X9;
var _OB1;
var _l41;
var _yo2;
var _zo2;
var _Ao2;
var _Bo2;
var _vo2;
var _Co2;
var _W11;
_vo2 = ~(1 << 31);
_Co2 = _vo2;
_Ao2 = -1;
_Bo2 = _Ao2;
for (_X9 = 0; _X9 < _Kn2; _X9++) {
_W11 = _do2[_X9];
_OB1 = _W11[0] - _e21;
if (_OB1 < 0) _OB1 = -_OB1;
_l41 = _W11[1] - _k41;
if (_l41 < 0) _l41 = -_l41;
_OB1 += _l41;
_l41 = _W11[2] - _b21;
if (_l41 < 0) _l41 = -_l41;
_OB1 += _l41;
if (_OB1 < _vo2) {
_vo2 = _OB1;
_Ao2 = _X9;
}
_yo2 = _OB1 - (_sh1[_X9] >> (_Tn2 - _Rn2));
if (_yo2 < _Co2) {
_Co2 = _yo2;
_Bo2 = _X9;
}
_zo2 = _fo2[_X9] >> _Xn2;
_fo2[_X9] -= _zo2;
_sh1[_X9] += _zo2 << _Vn2;
}
_fo2[_Ao2] += _bT1;
_sh1[_Ao2] -= _Yn2;
return _Bo2;
};
_Nm2.apply(this, arguments);
return __l2;
};
function _Do2() {
var _Eo2 =
"#define MATRIX_VIEW 0\n" +
"#define MATRIX_PROJECTION 1\n" +
"#define MATRIX_WORLD 2\n" +
"#define MATRIX_WORLD_VIEW 3\n" +
"#define MATRIX_WORLD_VIEW_PROJECTION 4\n" +
"#define MATRICES_MAX 5\n" +
"#define FOG_SETTINGS 0\n" +
"#define FOG_COLOUR 1\n" +
"\n" +
"uniform mat4 matrices[MATRICES_MAX];\n" +
"uniform vec4 fogParameters[2];\n" +
"\n" +
"attribute vec3 vertex;\n" +
"attribute vec4 color;\n" +
"attribute vec2 UV;\n" +
"\n" +
"varying vec4 fcolor;\n" +
"varying vec2 texc;\n" +
"varying vec4 fogColor;\n" +
"varying float fogFactor;\n" +
"\n" +
"float CalcFogFactor(vec4 pos)\n" +
"{\n" +
" vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n" +
" vec4 fogParams = fogParameters[FOG_SETTINGS];\n" +
" return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n" +
"}\n" +
"\n" +
"void main(void)\n" +
"{\n" +
" fcolor = color;\n" +
" texc = UV;\n" +
" vec4 pos = vec4(vertex.xyz, 1);\n" +
" fogFactor = CalcFogFactor(pos);\n" +
" fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n" +
" gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n" +
" gl_PointSize = 1.0;\n" +
"}";
return _Eo2;
}
function _Fo2() {
var _Go2 =
"precision highp float;\n" +
"uniform sampler2D pTexure;\n" +
"uniform bool alphaTestEnabled;\n" +
"uniform float alphaRefValue;" +
"\n" +
"varying vec4 fcolor;\n" +
"varying vec2 texc;\n" +
"varying vec4 fogColor;\n" +
"varying float fogFactor;\n" +
"\n" +
"void DoAlphaTest(vec4 SrcColour)\n" +
"{\n" +
" if (alphaTestEnabled)\n" +
" {\n" +
" if (SrcColour.a <= alphaRefValue)\n" +
" {\n" +
" discard;\n" +
" }\n" +
" }\n" +
"}\n" +
"\n" +
"void main(void)\n" +
"{\n" +
" vec4 color = texture2D(pTexure, texc).rgba * fcolor.rgba;\n" +
" DoAlphaTest(color);\n" +
" gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n" +
"}\n";
return _Go2;
}
function _Ho2() {
var _Io2 =
"#define LIGHTS_MAX 8\n" +
"#define MATRIX_VIEW 0\n" +
"#define MATRIX_PROJECTION 1\n" +
"#define MATRIX_WORLD 2\n" +
"#define MATRIX_WORLD_VIEW 3\n" +
"#define MATRIX_WORLD_VIEW_PROJECTION 4\n" +
"#define MATRICES_MAX 5\n" +
"#define FOG_SETTINGS 0\n" +
"#define FOG_COLOUR 1\n" +
"\n" +
"uniform mat4 matrices[MATRICES_MAX];\n" +
"uniform vec4 fogParameters[2];\n" +
"\n" +
"uniform vec4 dirlightdir[LIGHTS_MAX];\n" +
"uniform vec4 pointlightpos[LIGHTS_MAX];\n" +
"uniform vec4 lightcol[LIGHTS_MAX];\n" +
"uniform vec4 ambientcol;\n" +
"\n" +
"attribute vec3 vertex;\n" +
"attribute vec3 normal;\n" +
"attribute vec4 color;\n" +
"attribute vec2 UV;\n" +
"\n" +
"varying vec4 fcolor;\n" +
"varying vec2 texc;\n" +
"varying vec4 fogColor;\n" +
"varying float fogFactor;\n" +
"\n" +
"float CalcFogFactor(vec4 pos)\n" +
"{\n" +
" vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n" +
" vec4 fogParams = fogParameters[FOG_SETTINGS];\n" +
" return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n" +
"}\n" +
"\n" +
"vec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n" +
"{\n" +
" float dotresult = dot(ws_normal, dir.xyz);\n" +
" dotresult = max(0.0, dotresult);\n" +
" return dotresult * diffusecol;\n" +
"}\n" +
"\n" +
"vec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n" +
"{\n" +
" float atten = 0.0;\n" +
"\n" +
" vec3 diffvec = ws_pos - posrange.xyz;\n" +
" float veclen = length(diffvec);\n" +
" if (veclen <= posrange.w)\n" +
" {\n" +
" atten = 1.0 / (1.0 + (veclen / posrange.w));\n" +
" }\n" +
"\n" +
" diffvec /= veclen;\n" +
" float dotresult = dot(ws_normal, diffvec);\n" +
" dotresult = max(0.0, dotresult);\n" +
"\n" +
" return (diffusecol * dotresult * atten);\n" +
"}\n" +
"\n" +
"vec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n" +
"{\n" +
" vec3 ws_normal;\n" +
" vec3 ws_pos;\n" +
" vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n" +
"\n" +
" ws_normal = (matrices[MATRIX_WORLD] * objectspacenormal4).xyz;\n" +
" ws_normal = -normalize(ws_normal);\n" +
" ws_pos = (matrices[MATRIX_WORLD] * objectspacepos).xyz;\n" +
"\n" +
" vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0);\n" +
" for(int i = 0; i < LIGHTS_MAX; i++)\n" +
" {\n" +
" accumcol += DoDirLight(ws_normal, dirlightdir[i], lightcol[i]);\n" +
" }\n" +
" for(int i = 0; i < LIGHTS_MAX; i++)\n" +
" {\n" +
" accumcol += DoPointLight(ws_pos, ws_normal, pointlightpos[i], lightcol[i]);\n" +
" }\n" +
" accumcol *= vertexcolour;\n" +
" accumcol += ambientcol;\n" +
" return min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n" +
"}\n" +
"\n" +
"void main(void)\n" +
"{\n" +
" vec4 pos = vec4(vertex.xyz, 1);\n" +
" vec4 lcolor = DoLighting(color, pos, normal);\n" +
" fcolor = vec4(lcolor.xyz, 1);\n" +
" fogFactor = CalcFogFactor(pos);\n" +
" fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n" +
" texc = UV;\n" +
" gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n" +
" gl_PointSize = 1.0;\n" +
"}";
return _Io2;
}
function _Jo2() {
var _Go2 =
"precision highp float;\n" +
"uniform sampler2D pTexure;\n" +
"uniform bool alphaTestEnabled;\n" +
"uniform float alphaRefValue;" +
"\n" +
"varying vec4 fcolor;\n" +
"varying vec2 texc;\n" +
"varying vec4 fogColor;\n" +
"varying float fogFactor;\n" +
"\n" +
"void DoAlphaTest(vec4 SrcColour)\n" +
"{\n" +
" if (alphaTestEnabled)\n" +
" {\n" +
" if (SrcColour.a <= alphaRefValue)\n" +
" {\n" +
" discard;\n" +
" }\n" +
" }\n" +
"}\n" +
"\n" +
"\n" +
"void main(void)\n" +
"{\n" +
" vec4 color = texture2D( pTexure, texc ).rgba * fcolor.rgba;\n" +
" DoAlphaTest(color);\n" +
" gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n" +
"}\n";
return _Go2;
}
/*@constructor */ function _Ko2(_Lo2, _fP1) {
var _Mo2 = null;
var _No2 = null,
_Oo2 = null,
_Po2 = null;
var _Qo2 = 0;
var _Ro2, _So2, _To2;
var _Uo2,
_Vo2,
_Wo2 = [];
var _Xo2, _Yo2, _Zo2, __o2;
var _0p2, _1p2;
var _2p2 = 0;
Object.defineProperties(this, {
_3p2: {
get: function () {
return _Mo2;
},
},
_4p2: {
get: function () {
return _Mo2 !== null && _Mo2 !== undefined;
},
},
_a51: {
get: function () {
return _Po2;
},
},
_x51: {
get: function () {
return _Uo2;
},
},
_W71: {
get: function () {
return _Vo2;
},
},
_5p2: {
get: function () {
return _Ro2;
},
},
_6p2: {
get: function () {
return _So2;
},
},
_7p2: {
get: function () {
return _Xo2;
},
},
_8p2: {
get: function () {
return _Yo2;
},
},
_9p2: {
get: function () {
return _Zo2;
},
set: function (_r91) {
_Zo2 = _r91;
},
},
_ap2: {
get: function () {
return __o2;
},
set: function (_r91) {
__o2 = _r91;
},
},
_pn1: {
get: function () {
return _0p2;
},
},
});
(function () {
_Mo2 = _bp2(_Lo2, _fP1);
if (_Mo2) {
_cp2(_Mo2);
var _dp2 = _Mo2.getParameter(_Mo2.MAX_TEXTURE_IMAGE_UNITS);
_0p2 = _dp2 < _Z41._ep2 ? _dp2 : _Z41._ep2;
_1p2 = _Mo2.getParameter(_Mo2.MAX_TEXTURE_SIZE);
_Oo2 = new _fp2(_fP1._gp2);
_Po2 = new _hp2(_0p2, 32, _Oo2, _fP1._gp2);
_No2 = new _ip2(_Oo2, _Po2);
_jp2();
_kp2();
_lp2();
_Oo2._Wk1(_Ro2);
_mp2();
}
})();
function _mp2() {
_np2 = _Mo2.getExtension("EXT_texture_filter_anisotropic") || _Mo2.getExtension("MOZ_EXT_texture_filter_anisotropic") || _Mo2.getExtension("WEBKIT_EXT_texture_filter_anisotropic");
}
function _cp2(_op2) {
_fp2.prototype._op2 = _op2;
_ip2.prototype._op2 = _op2;
_G71.prototype._op2 = _op2;
_pp2.prototype._op2 = _op2;
_qp2.prototype._op2 = _op2;
_rp2.prototype._op2 = _op2;
}
function _sp2() {
var userAgent = navigator.userAgent.toString().toLowerCase();
var _tp2 = userAgent.indexOf("trident/");
if (_tp2 >= 0) {
var version = parseFloat(userAgent.slice(_tp2 + "trident/".length));
if (version == 7) {
return true;
}
}
return false;
}
function _bp2(_Lo2, _fP1) {
if (_sp2()) return null;
var _up2 = null;
var _vp2 = ["webgl", "experimental-webgl", "moz-webgl", "webkit-3d"];
{
for (var _X9 = 0; _X9 < _vp2.length; _X9++) {
try {
var _wp2 = { alpha: true, stencil: _fP1._xp2, antialias: false, premultipliedAlpha: false, preserveDrawingBuffer: _fP1._yp2 };
_up2 = _Lo2.getContext(_vp2[_X9], _wp2);
if (_up2) {
break;
}
} catch (_dc1) {
return null;
}
}
}
if (_up2) {
_Xo2 = _Lo2.width;
_Yo2 = _Lo2.height;
_Zo2 = _Xo2;
__o2 = _Yo2;
}
return _up2;
}
function _jp2() {
var _zp2 = new _qp2(),
_Ap2 = new _qp2();
_zp2._Bp2();
_zp2._Cp2();
_zp2._Dp2();
_Ap2._Bp2();
_Ap2._Cp2();
_Ap2._Dp2();
_Ap2._Ep2();
_Uo2 = _Wo2.push(_zp2) - 1;
_Vo2 = _Wo2.push(_Ap2) - 1;
_No2._Fp2(_Uo2);
_No2._Fp2(_Vo2);
_zp2._Gp2 = _Ap2._Gp2 = true;
}
/*@this {yyWebGL} */ this._Hp2 = function (_Ip2) {
for (var _X9 in _Wo2) {
if (!_Wo2.hasOwnProperty(_X9)) continue;
if (_Wo2[_X9]._xS1(_Ip2)) {
return _X9;
}
}
var _Jp2 = _Wo2.push(_Ip2) - 1;
_No2._Fp2(_Jp2);
return _Jp2;
};
/*@this {yyWebGL} */ this._I71 = function (_A81) {
return _Wo2[_A81];
};
function _Kp2(_6B1) {
while ((_6B1 & 0x1) == 0 && _6B1 > 1) {
_6B1 >>= 1;
}
return _6B1 == 1;
}
/*@this {yyWebGL} */ this._Lp2 = function () {
return _1p2;
};
/*@this {yyWebGL} */ this._Mp2 = function (_Np2, _Op2, _Pp2, _Qp2) {
_No2._EM1();
_Oo2._Mp2(_Np2, _Op2, _Pp2, _Qp2);
};
function _Rp2(_Sp2, type, source) {
var _Wo1 = _Mo2.createShader(type == "vertex" ? _Mo2.VERTEX_SHADER : _Mo2.FRAGMENT_SHADER);
_Mo2.shaderSource(_Wo1, source);
_Mo2.compileShader(_Wo1);
if (!_Mo2.getShaderParameter(_Wo1, _Mo2.COMPILE_STATUS)) {
alert("Could not compile " + type + " shader:\n\n" + _Mo2.getShaderInfoLog(_Wo1));
console.log("----------------Shader Begin----------------");
console.log(source);
console.log("-----------------Shader END----------------");
return;
}
_Mo2.attachShader(_Sp2, _Wo1);
}
function _kp2() {
var _Io2 = _Do2();
var _Go2 = _Fo2();
var _Tp2 = _Mo2.createProgram();
var error = _Mo2.getError();
_Rp2(_Tp2, "vertex", _Io2);
_Rp2(_Tp2, "fragment", _Go2);
_Mo2.linkProgram(_Tp2);
error = _Mo2.getError();
if (!_Mo2.getProgramParameter(_Tp2, _Mo2.LINK_STATUS)) {
alert("Could not initialise shaders\n\n");
return false;
}
_Mo2.useProgram(_Tp2);
_Ro2 = _Tp2;
_Tp2._Up2 = _Mo2.getAttribLocation(_Tp2, "vertex");
_Tp2._Vp2 = _Mo2.getAttribLocation(_Tp2, "normal");
_Tp2._Wp2 = _Mo2.getAttribLocation(_Tp2, "color");
_Tp2._Xp2 = _Mo2.getAttribLocation(_Tp2, "UV");
_Tp2._Yp2 = _Mo2.getUniformLocation(_Tp2, "pTexure");
_Tp2._Zp2 = _Mo2.getUniformLocation(_Tp2, "matrices");
_Tp2.__p2 = _Mo2.getUniformLocation(_Tp2, "fogParameters");
_Tp2._0q2 = _Mo2.getUniformLocation(_Tp2, "alphaTestEnabled");
_Tp2._1q2 = _Mo2.getUniformLocation(_Tp2, "alphaRefValue");
_Tp2._2q2 = [];
_Tp2._2q2.push(_Mo2.getAttribLocation(_Tp2, "vertex"));
_Tp2._2q2.push(_Mo2.getAttribLocation(_Tp2, "color"));
_Tp2._2q2.push(_Mo2.getAttribLocation(_Tp2, "UV"));
_Tp2._2q2 = [];
_Tp2._3q2 = [];
_Tp2._4q2 = [];
if (_Tp2._Up2 != -1) {
_Tp2._2q2.push(_Tp2._Up2);
_Tp2._3q2.push("vertex");
_Tp2._4q2.push(_Z41._F81);
}
if (_Tp2._Vp2 != -1) {
_Tp2._2q2.push(_Tp2._Vp2);
_Tp2._3q2.push("normal");
_Tp2._4q2.push(_Z41._U81);
}
if (_Tp2._Wp2 != -1) {
_Tp2._2q2.push(_Tp2._Wp2);
_Tp2._3q2.push("color");
_Tp2._4q2.push(_Z41._K81);
}
if (_Tp2._Xp2 != -1) {
_Tp2._2q2.push(_Tp2._Xp2);
_Tp2._3q2.push("UV");
_Tp2._4q2.push(_Z41._S81);
}
_Tp2._5q2 = _2p2++;
return true;
}
function _lp2() {
var _Eo2 = _Ho2();
var _Go2 = _Jo2();
var _Tp2 = _Mo2.createProgram();
var error = _Mo2.getError();
_Rp2(_Tp2, "vertex", _Eo2);
_Rp2(_Tp2, "fragment", _Go2);
_Mo2.linkProgram(_Tp2);
error = _Mo2.getError();
if (!_Mo2.getProgramParameter(_Tp2, _Mo2.LINK_STATUS)) {
alert("Could not initialise 3D shader\n\n");
return false;
}
_Mo2.useProgram(_Tp2);
_Tp2._6q2 = _Mo2.getUniformLocation(_Tp2, "ViewMatrix");
_So2 = _Tp2;
_Tp2._Up2 = _Mo2.getAttribLocation(_Tp2, "vertex");
_Tp2._Vp2 = _Mo2.getAttribLocation(_Tp2, "normal");
_Tp2._Wp2 = _Mo2.getAttribLocation(_Tp2, "color");
_Tp2._Xp2 = _Mo2.getAttribLocation(_Tp2, "UV");
_Tp2._Yp2 = _Mo2.getUniformLocation(_Tp2, "pTexure");
_Tp2._Zp2 = _Mo2.getUniformLocation(_Tp2, "matrices");
_Tp2._7q2 = _Mo2.getUniformLocation(_Tp2, "dirlightdir");
_Tp2._8q2 = _Mo2.getUniformLocation(_Tp2, "pointlightpos");
_Tp2._9q2 = _Mo2.getUniformLocation(_Tp2, "lightcol");
_Tp2._aq2 = _Mo2.getUniformLocation(_Tp2, "ambientcol");
_Tp2.__p2 = _Mo2.getUniformLocation(_Tp2, "fogParameters");
_Tp2._0q2 = _Mo2.getUniformLocation(_Tp2, "alphaTestEnabled");
_Tp2._1q2 = _Mo2.getUniformLocation(_Tp2, "alphaRefValue");
_Tp2._2q2 = [];
_Tp2._3q2 = [];
_Tp2._4q2 = [];
if (_Tp2._Up2 != -1) {
_Tp2._2q2.push(_Tp2._Up2);
_Tp2._3q2.push("vertex");
_Tp2._4q2.push(_Z41._F81);
}
if (_Tp2._Vp2 != -1) {
_Tp2._2q2.push(_Tp2._Vp2);
_Tp2._3q2.push("normal");
_Tp2._4q2.push(_Z41._U81);
}
if (_Tp2._Wp2 != -1) {
_Tp2._2q2.push(_Tp2._Wp2);
_Tp2._3q2.push("color");
_Tp2._4q2.push(_Z41._K81);
}
if (_Tp2._Xp2 != -1) {
_Tp2._2q2.push(_Tp2._Xp2);
_Tp2._3q2.push("UV");
_Tp2._4q2.push(_Z41._S81);
}
_Tp2._5q2 = _2p2++;
return true;
}
/*@this {yyWebGL} */ this._bq2 = function (_cq2, _dq2, _eq2) {
if (_cq2 == "None" || _dq2 == "None") {
var _fq2 = { _gq2: null, _hq2: null };
return _fq2;
}
var _Tp2 = _Mo2.createProgram();
var error = _Mo2.getError();
_Rp2(_Tp2, "vertex", _cq2);
_Rp2(_Tp2, "fragment", _dq2);
_Mo2.linkProgram(_Tp2);
error = _Mo2.getError();
if (!_Mo2.getProgramParameter(_Tp2, _Mo2.LINK_STATUS)) {
var _fq2 = { _gq2: null, _hq2: null };
return _fq2;
}
_Mo2.useProgram(_Tp2);
_Tp2._Zp2 = _Mo2.getUniformLocation(_Tp2, "gm_Matrices");
_Tp2._7q2 = _Mo2.getUniformLocation(_Tp2, "gm_Lights_Direction");
_Tp2._8q2 = _Mo2.getUniformLocation(_Tp2, "gm_Lights_PosRange");
_Tp2._9q2 = _Mo2.getUniformLocation(_Tp2, "gm_Lights_Colour");
_Tp2._aq2 = _Mo2.getUniformLocation(_Tp2, "gm_AmbientColour");
_Tp2._Up2 = _Mo2.getAttribLocation(_Tp2, "in_Position");
_Tp2._Vp2 = _Mo2.getAttribLocation(_Tp2, "in_Normal");
_Tp2._Wp2 = _Mo2.getAttribLocation(_Tp2, "in_Colour");
_Tp2._Xp2 = _Mo2.getAttribLocation(_Tp2, "in_TextureCoord");
_Tp2._2q2 = [];
_Tp2._4q2 = [];
for (var _iq2 = 0; _iq2 < _eq2.length; _iq2++) {
_Tp2._2q2.push(_Mo2.getAttribLocation(_Tp2, _eq2[_iq2]));
switch (_eq2[_iq2]) {
case "in_Position":
_Tp2._4q2.push(_Z41._F81);
break;
case "in_Normal":
_Tp2._4q2.push(_Z41._U81);
break;
case "in_Colour":
_Tp2._4q2.push(_Z41._K81);
break;
case "in_TextureCoord":
_Tp2._4q2.push(_Z41._S81);
break;
default:
_Tp2._4q2.push(_Z41._S81);
break;
}
}
_Tp2._3q2 = _eq2;
var _jq2 = "gm_BaseTexture";
var _on1 = [_jq2];
var _En1 = 0;
var _eG1 = [];
var _kq2 = _Mo2.getUniformLocation(_Tp2, _jq2);
_Mo2.uniform1iv(_kq2, [_En1++]);
_Tp2._Yp2 = _kq2;
_Tp2._lq2 = { _mq2: [] };
for (var _P41 = 0, _nq2 = _Mo2.getProgramParameter(_Tp2, _Mo2.ACTIVE_UNIFORMS); _P41 < _nq2; _P41++) {
var _oq2 = 1;
var _pq2 = _Mo2.getActiveUniform(_Tp2, _P41),
_qq2 = _pq2["name"];
if (_pq2["size"] > 1) {
var __e1 = _qq2.indexOf("[");
if (__e1 > 0) {
_qq2 = _qq2.substring(0, __e1);
}
}
if (_pq2["type"] == _Mo2.SAMPLER_2D || _pq2["type"] == _Mo2.SAMPLER_CUBE) {
if (_qq2 != _jq2) {
_on1[_En1] = _qq2;
var _iq2 = _Mo2.getUniformLocation(_Tp2, _qq2);
_Mo2.uniform1iv(_iq2, [_En1++]);
}
} else {
switch (_pq2["type"]) {
case _Mo2.FLOAT:
_oq2 = 1;
break;
case _Mo2._rq2:
_oq2 = 1;
break;
case _Mo2.INT:
_oq2 = 1;
break;
case _Mo2._sq2:
_oq2 = 1;
break;
case _Mo2.FLOAT_VEC2:
_oq2 = 2;
break;
case _Mo2.FLOAT_VEC3:
_oq2 = 3;
break;
case _Mo2.FLOAT_VEC4:
_oq2 = 4;
break;
case _Mo2.INT_VEC2:
_oq2 = 2;
break;
case _Mo2.INT_VEC3:
_oq2 = 3;
break;
case _Mo2.INT_VEC4:
_oq2 = 4;
break;
case _Mo2._tq2:
_oq2 = 2;
break;
case _Mo2._uq2:
_oq2 = 3;
break;
case _Mo2._vq2:
_oq2 = 4;
break;
case _Mo2.FLOAT_MAT2:
_oq2 = 4;
break;
case _Mo2.FLOAT_MAT3:
_oq2 = 9;
break;
case _Mo2.FLOAT_MAT4:
_oq2 = 16;
break;
default:
_oq2 = 1;
}
}
_Tp2._lq2._mq2[_P41] = _qq2;
_Tp2._lq2[_qq2] = { index: _P41, location: _Mo2.getUniformLocation(_Tp2, _qq2), _wq2: _pq2, width: _oq2, size: _pq2.size };
_Tp2._lq2[_P41] = _Tp2._lq2[_qq2];
_Tp2._9Y1 = _cq2;
_Tp2._xq2 = _dq2;
}
_Tp2._5q2 = _2p2++;
_fq2 = { _gq2: _Tp2, _hq2: _on1 };
return _fq2;
};
/*@this {yyWebGL} */ this._yq2 = function () {
_Qo2++;
};
/*@this {yyWebGL} */ this._zq2 = function () {
_No2._EM1();
_Oo2._y01 = _Qo2;
_Oo2._Aq2();
_Oo2._ls1();
_Mo2.clearColor(1, 1, 1, 1);
_Mo2.colorMask(false, false, false, true);
_Mo2.clear(_Mo2.COLOR_BUFFER_BIT);
_Mo2.colorMask(true, true, true, true);
};
/*@this {yyWebGL} */ this._Bq2 = function () {
_No2._EM1();
_Oo2._Aq2();
};
/*@this {yyWebGL} */ this._Cq2 = function (_Qb1, _Tc1) {
_Po2._t51(_Z41._c51, _Qb1);
_Po2._t51(_Z41._d51, _Tc1);
_Po2._t51(_Z41._e51, _Qb1);
_Po2._t51(_Z41._f51, _Tc1);
};
this._Dq2 = function (_Tk1) {
_Po2._t51(_Z41._Pm1, _Tk1);
};
/*@this {yyWebGL} */ this._Hk1 = function (_Eq2) {
_Po2._t51(_Z41._Qm1, _Eq2);
};
/*@this {yyWebGL} */ this._Lk1 = function (_Eq2) {
_Po2._t51(_Z41._1n1, _Eq2 ? _Z41._Fq2 : _Z41._Gq2);
};
/*@this {yyWebGL} */ this._Hq2 = function (_Iq2) {};
/*@this {yyWebGL} */ this._Jk1 = function (_Eq2) {
_Po2._t51(_Z41._Tm1, _Eq2);
};
/*@this {yyWebGL} */ /*@this {yyWebGL} */ this._Sk1 = function (_Jq2, _Kq2, _Lq2, _Mq2) {
var _hn1 = {
_Ue1: _Jq2,
_Ve1: _Kq2,
_We1: _Lq2,
alpha: _Mq2,
};
_Po2._t51(_Z41._in1, _hn1);
};
/*@this {yyWebGL} */ this._Cl1 = function (_911, _Nq2, _Oq2, _Pq2) {
_No2._EM1();
_Oo2._Cl1(_911, _Nq2, _Oq2, _Pq2);
};
/*@this {yyWebGL} */ this._Gl1 = function (_911, _Eq2, _Qq2) {
_No2._EM1();
_Oo2._Gl1(_911, _Eq2, _Qq2);
};
/*@this {yyWebGL} */ this._Hl1 = function (_Qq2) {
_No2._EM1();
_Oo2._Rq2(_Qq2);
};
/*@this {yyWebGL} */ this._Jl1 = function (_Sq2) {
var _Tq2 = _Sq2[0];
var end = _Sq2[2];
var start = end;
if (_Sq2[1] != 0.0) start = end - 1.0 / _Sq2[1];
var _If = (_Sq2[4] * 255) | ((_Sq2[5] * 255) << 8) | ((_Sq2[6] * 255) << 16) | ((_Sq2[7] * 255) << 24);
_Po2._t51(_Z41._Xm1, _Tq2);
_Po2._t51(_Z41._Zm1, start);
_Po2._t51(_Z41.__m1, end);
_Po2._t51(_Z41._Ym1, _If);
};
/*@this {yyWebGL} */ this._Uq2 = function (_Tk1, _Vq2) {
_Po2._t51(_Z41._jn1, _Tk1);
_Po2._t51(_Z41._ln1, (_Vq2 * 255) | 0);
};
/*@this {yyWebGL} */ this._Wq2 = function (_Xq2, _Yq2) {
if (_Yq2) {
_Po2._qn1(_Xq2, _Z41._xn1, _Z41._yn1);
_Po2._qn1(_Xq2, _Z41._zn1, _Z41._yn1);
} else {
_Po2._qn1(_Xq2, _Z41._xn1, _Z41._An1);
_Po2._qn1(_Xq2, _Z41._zn1, _Z41._An1);
}
};
/*@this {yyWebGL} */ this._Zq2 = function (_Xq2, _Bn1) {
_Po2._qn1(_Xq2, _Z41._rn1, _Bn1);
_Po2._qn1(_Xq2, _Z41._tn1, _Bn1);
};
/*@this {yyWebGL} */ this.__q2 = function () {
return _0p2;
};
/*@this {yyWebGL} */ this._0r2 = function (_Tk1) {
_Po2._t51(_Z41._1r2, _Tk1);
};
/*@this {yyWebGL} */ this._2r2 = function (_vp1) {
_Po2._t51(_Z41._3r2, _vp1);
};
/*@this {yyWebGL} */ this._4r2 = function (_5r2) {
_Po2._t51(_Z41._6r2, _5r2);
};
/*@this {yyWebGL} */ this._7r2 = function (_8r2) {
_Po2._t51(_Z41._9r2, _8r2);
};
/*@this {yyWebGL} */ this._Wk1 = function (_ar2) {
_No2._EM1();
_Oo2._Wk1(_ar2);
_To2 = _ar2;
};
/*@this {yyWebGL} */ this._br2 = function (_ar2, _cr2) {
var _dr2 = _ar2._lq2[_cr2];
if (_dr2) {
return _dr2.index;
}
return -1;
};
/*@this {yyWebGL} */ this._er2 = function (_fG1, _fr2) {
if (_fG1 != -1) {
_No2._EM1();
_Oo2._er2(_fG1, _fr2);
}
};
/*@this {yyWebGL} */ this._gr2 = function (_fG1, _fr2) {
if (_fG1 != -1) {
_No2._EM1();
_Oo2._gr2(_fG1, _fr2);
}
};
/*@this {yyWebGL} */ this._hr2 = function (_fG1, _fr2) {
if (_fG1 != -1) {
_No2._EM1();
_Oo2._hr2(_fG1, _fr2);
}
};
/*@this {yyWebGL} */ this._ir2 = function (_fG1, _fr2) {
var width = _To2._lq2[_fG1].width;
var size = _To2._lq2[_fG1].size;
var _eG1;
var _921 = _fr2.length;
var _jr2 = _921 + width - ((_921 + width) % width);
if (_jr2 > width * size) _jr2 = width * size;
if (_921 == _jr2) {
_eG1 = new Float32Array(_fr2);
} else {
_eG1 = new Float32Array(_jr2);
if (_jr2 < _921) _921 = _jr2;
for (var _X9 = 0; _X9 < _921; _X9++) {
_eG1[_X9] = _fr2[_X9];
}
}
return _eG1;
};
/*@this {yyWebGL} */ this._kr2 = function (_fG1, _fr2) {
if (_fG1 != -1) {
_No2._EM1();
_fr2 = _ir2(_fG1, _fr2);
_Oo2._kr2(_fG1, _fr2);
}
};
/*@this {yyWebGL} */ this._lr2 = function (_fG1, _fr2) {
if (_fG1 != -1) {
_No2._EM1();
_fr2 = this._ir2(_fG1, _fr2);
_Oo2._lr2(_fG1, _fr2);
}
};
/*@this {yyWebGL} */ this._mr2 = function (_Qp1) {
_No2._EM1();
_Oo2._mr2(_Qp1);
};
this._EM1 = function () {
_No2._EM1();
};
/*@this {yyWebGL} */ this._nr2 = function (_891, _a11, _b11, _Mb1, _Nb1, _Lo2) {
_Oo2._nr2(_891, _a11, _b11, _Mb1, _Nb1, _Lo2);
};
/*@this {yyWebGL} */ this._or2 = function (_Xq2, _891) {
_Z41._pr2(_891 instanceof _pp2, "Texture is not a yyGLTexture", _Z41._qr2);
_No2._EM1();
_Oo2._or2(_Xq2, _891);
};
/*@this {yyWebGL} */ this._2l1 = function (_ng1) {
_No2._EM1();
_Oo2._rr2(_ng1);
};
/*@this {yyWebGL} */ this._8l1 = function (_ng1) {
_No2._EM1();
_Oo2._sr2(_ng1);
};
/*@this {yyWebGL} */ this._tr2 = function (_ng1) {
_No2._EM1();
_Oo2._ur2(_ng1);
};
/*@this {yyWebGL} */ this._vr2 = function (_wr2) {
var __b1 = new _pp2(undefined, _wr2.width, _wr2.height, _Kp2(_wr2.width) && _Kp2(_wr2.height), _wr2, _wr2._xr2);
return __b1;
};
this._yr2 = function (_zr2, _Ar2) {
var _Br2 = _Mo2.getParameter(_Mo2.TEXTURE_BINDING_2D);
var _V71 = _Mo2.createTexture();
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _V71);
if (_zr2.Image instanceof Uint8Array) {
_Mo2.texImage2D(_Mo2.TEXTURE_2D, 0, _Mo2.RGBA, _zr2._Cr2, _zr2._Dr2, 0, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, _zr2.Image);
} else {
_Mo2.texImage2D(_Mo2.TEXTURE_2D, 0, _Mo2.RGBA, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, _zr2.Image);
}
if ((_Ar2 !== undefined && _Ar2 == _Z41._Er2) || (_Ar2 == _Z41._Fr2 && _zr2._zb1 !== undefined && (_zr2._zb1 & _Gr2._Hr2) !== 0)) {
_Mo2.generateMipmap(_Mo2.TEXTURE_2D);
var _Ir2 = _zr2._zb1;
_Ir2 |= _Gr2._Jr2;
_zr2._zb1 = _Ir2;
}
_zr2._Kr2 = _V71;
_zr2._Lr2._Mr2(_Mo2.TEXTURE_2D);
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _Br2);
_zr2._Nr2 = true;
};
/*@this {yyWebGL} */ this._Or2 = function (_M71, _ed1, _Pr2, _081) {
var _ur1 = 0;
if (_M71) {
_ur1 |= _Mo2.COLOR_BUFFER_BIT;
}
if (_ed1) {
_ur1 |= _Mo2.DEPTH_BUFFER_BIT;
}
_Oo2._Or2(_ur1, _081);
};
/*@this {yyWebGL} */ this._xM1 = function (_eP1) {
_No2._EM1();
_Oo2._xM1(_eP1);
};
function _Qr2(_Rr2, _Mb1, _Nb1) {
if (_Mb1 == 0 || _Nb1 == 0) {
return;
}
var _Sr2 = _Rr2[(_Nb1 - 1) * _Mb1] & 0xffffff;
for (var _X9 = 0; _X9 < _Mb1 * _Nb1; _X9++) {
if ((_Rr2[_X9] & 0xffffff) == _Sr2) {
_Rr2[_X9] = _Rr2[_X9] & 0xffffff;
}
}
}
function _Tr2(_781) {
var max = _1p2;
var size = 1;
while (size <= max) {
if (_781 <= size) return size;
size = size << 1;
}
return max;
}
/*@this {yyWebGL} */ this._Ur2 = function (_wr2, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1, _Vr2) {
this._EM1();
var _Wr2 = new Uint8Array(_Mb1 * _Nb1 * 4);
_Mo2.readPixels(_a11, __o2 - (_b11 + _Nb1), _Mb1, _Nb1, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, _Wr2);
var _Xr2;
if (_Vr2) {
var _Yr2 = new ArrayBuffer(_Mb1 * _Nb1 * 4);
_Xr2 = new Uint8Array(_Yr2);
for (var _J41 = 0; _J41 < _Nb1; _J41++) {
var _Zr2 = _Wr2.subarray(_J41 * _Mb1 * 4, (_J41 + 1) * _Mb1 * 4);
var __r2 = _Xr2.subarray((_Nb1 - 1 - _J41) * _Mb1 * 4, (_Nb1 - _J41) * _Mb1 * 4);
__r2.set(_Zr2);
}
if (_2e1) {
_Qr2(new Int32Array(_Yr2), _Mb1, _Nb1);
}
} else {
_Xr2 = _Wr2;
}
var _Z9 = _Tr2(_Mb1);
var __9 = _Tr2(_Nb1);
var _Br2 = _Mo2.getParameter(_Mo2.TEXTURE_BINDING_2D);
var __b1 = new _pp2(undefined, _Z9, __9, _Z9 == _Mb1 && __9 == _Nb1, _Xr2);
_wr2.width = _Z9;
_wr2.height = __9;
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _Br2);
_Oo2._ls1();
return __b1;
};
/*@this {yyWebGL} */ this._0s2 = function (_wr2, _1s2, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1) {
this._Bq2();
var _2s2 = _Mo2.getParameter(_Mo2.FRAMEBUFFER_BINDING);
var _Yr2 = new ArrayBuffer(_Mb1 * _Nb1 * 4);
var _Xr2 = new Uint8Array(_Yr2);
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _1s2);
_Mo2.readPixels(_a11, _b11, _Mb1, _Nb1, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, _Xr2);
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _2s2);
if (_2e1) {
_Qr2(new Int32Array(_Yr2), _Mb1, _Nb1);
}
var _Z9 = _Tr2(_Mb1);
var __9 = _Tr2(_Nb1);
var _Br2 = _Mo2.getParameter(_Mo2.TEXTURE_BINDING_2D);
var _3s2 = new ArrayBuffer(_Z9 * __9 * 4);
var _4s2 = new Uint8Array(_3s2);
var y;
var _yc1 = 0;
var _5s2 = 0;
for (y = 0; y < _Nb1; y++) {
var x;
for (x = 0; x < _Mb1; x++) {
_4s2[_yc1++] = _Xr2[_5s2++];
_4s2[_yc1++] = _Xr2[_5s2++];
_4s2[_yc1++] = _Xr2[_5s2++];
_4s2[_yc1++] = _Xr2[_5s2++];
}
for (; x < _Z9; x++) {
_4s2[_yc1++] = 0;
_4s2[_yc1++] = 0;
_4s2[_yc1++] = 0;
_4s2[_yc1++] = 0;
}
}
for (; y < __9; y++) {
var x;
for (x = 0; x < _Z9; x++) {
_4s2[_yc1++] = 0;
_4s2[_yc1++] = 0;
_4s2[_yc1++] = 0;
_4s2[_yc1++] = 0;
}
}
var __b1 = new _pp2(undefined, _Z9, __9, _Z9 == _Mb1 && __9 == _Nb1, _4s2);
_wr2.width = _Z9;
_wr2.height = __9;
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _Br2);
this._Bq2();
_Oo2._ls1();
return __b1;
};
/*@this {yyWebGL} */ this._6s2 = function (_wr2, _7s2, _Mb1, _Nb1) {
var _Z9 = _Tr2(_Mb1);
var __9 = _Tr2(_Nb1);
var _Br2 = _Mo2.getParameter(_Mo2.TEXTURE_BINDING_2D);
var __b1 = new _pp2(undefined, _Z9, __9, _Z9 == _Mb1 && __9 == _Nb1, _7s2);
_wr2.width = _Z9;
_wr2.height = __9;
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _Br2);
_Oo2._ls1();
return __b1;
};
/*@this {yyWebGL} */ this._8s2 = function (_wr2, _7s2, _Mb1, _Nb1) {
var _Yr2 = new ArrayBuffer(_Mb1 * _Nb1 * 4);
var _9s2 = new DataView(_Yr2);
for (var _W11 = 0; _W11 < _Mb1 * _Nb1; _W11++) {
_9s2.setUint32(_W11 * 4, ~~_7s2[_W11], true);
}
return this._6s2(_wr2, new Uint8Array(_Yr2), _Mb1, _Nb1);
};
/*@this {yyWebGL} */ this._as2 = function (_891, _f41) {
_Z41._pr2(_891 instanceof _pp2, "Texture is not a yyGLTexture", _Z41._qr2);
if (!_bs2(_891, _Z41._cs2)) {
_ds2(_891);
_es2(_891);
}
var _V71 = _891._Kr2;
var _Z9 = _891._Cr2;
var __9 = _891._Dr2;
var _2s2 = _Mo2.getParameter(_Mo2.FRAMEBUFFER_BINDING);
var _fs2 = _Mo2.createFramebuffer();
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _fs2);
_Mo2.framebufferTexture2D(_Mo2.FRAMEBUFFER, _Mo2.COLOR_ATTACHMENT0, _Mo2.TEXTURE_2D, _V71, 0);
var _Xr2 = new Uint8Array(_Z9 * __9 * 4);
_Mo2.readPixels(0, 0, _Z9, __9, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, _Xr2);
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _2s2);
_Mo2.deleteFramebuffer(_fs2);
for (var _X9 = 0; _X9 < _Z9 * __9; _X9++) {
_Xr2[_X9 * 4 + 3] = _f41[_X9];
}
var _yX1 = _Tr2(_Z9);
var _rr1 = _Tr2(__9);
var _Br2 = _Mo2.getParameter(_Mo2.TEXTURE_BINDING_2D);
var __b1 = new _pp2(undefined, _yX1, _rr1, _yX1 == _Z9 && _rr1 == __9, _Xr2);
_Mo2.deleteTexture(_891._Kr2);
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _Br2);
return __b1;
};
/*@this {yyWebGL} */ this._gs2 = function (_a11, _b11) {
this._EM1();
var _Xr2 = new Uint8Array(16);
_Mo2.readPixels(_a11, __o2 - _b11, 1, 1, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, _Xr2);
var _L31 = _Xr2[0] | (_Xr2[1] << 8) | (_Xr2[2] << 16) | (_Xr2[3] << 24);
_Oo2._ls1();
return _L31;
};
/*@this {yyWebGL} */ this._hs2 = function (_1s2, _a11, _b11) {
this._Bq2();
var _2s2 = _Mo2.getParameter(_Mo2.FRAMEBUFFER_BINDING);
var _Xr2 = new Uint8Array(16);
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _1s2);
_Mo2.readPixels(_a11, _b11, 1, 1, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, _Xr2);
var _L31 = _Xr2[0] | (_Xr2[1] << 8) | (_Xr2[2] << 16) | (_Xr2[3] << 24);
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _2s2);
_Oo2._ls1();
return _L31;
};
/*@this {yyWebGL} */ this._is2 = function (_1s2, _a11, _b11, _Mb1, _Nb1) {
this._Bq2();
var _2s2 = _Mo2.getParameter(_Mo2.FRAMEBUFFER_BINDING);
var _Xr2 = new Uint8Array(_Mb1 * _Nb1 * 4);
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _1s2);
_Mo2.readPixels(_a11, _b11, _Mb1, _Nb1, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, _Xr2);
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _2s2);
_Oo2._ls1();
return _Xr2;
};
/*@this {yyWebGL} */ this._js2 = function (_Mb1, _Nb1) {
var _Br2 = _Mo2.getParameter(_Mo2.TEXTURE_BINDING_2D);
var _2s2 = _Mo2.getParameter(_Mo2.FRAMEBUFFER_BINDING);
var _ks2 = _Mo2.getParameter(_Mo2.RENDERBUFFER_BINDING);
{
var _ls2 = _Mo2.createFramebuffer();
_ls2.width = _Mb1;
_ls2.height = _Nb1;
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _ls2);
var _ms2 = _Mo2.createTexture();
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _ms2);
_Mo2.texImage2D(_Mo2.TEXTURE_2D, 0, _Mo2.RGBA, _Mb1, _Nb1, 0, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, null);
var _ns2 = new _pp2(_ms2, _Mb1, _Nb1, _Kp2(_Mb1) && _Kp2(_Nb1), null);
var _os2 = _Mo2.createRenderbuffer();
_Mo2.bindRenderbuffer(_Mo2.RENDERBUFFER, _os2);
_Mo2.framebufferTexture2D(_Mo2.FRAMEBUFFER, _Mo2.COLOR_ATTACHMENT0, _Mo2.TEXTURE_2D, _ms2, 0);
if (_UL1) {
_Mo2.renderbufferStorage(_Mo2.RENDERBUFFER, _Mo2.DEPTH_STENCIL, _ls2.width, _ls2.height);
_Mo2.framebufferRenderbuffer(_Mo2.FRAMEBUFFER, _Mo2.DEPTH_STENCIL_ATTACHMENT, _Mo2.RENDERBUFFER, _os2);
}
}
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _Br2);
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _2s2);
_Mo2.bindRenderbuffer(_Mo2.RENDERBUFFER, _ks2);
var _ps2 = { _hM1: _ls2, _qs2: _os2, _Kr2: _ns2 };
return _ps2;
};
/*@this {yyWebGL} */ this._rs2 = function (_1s2) {
_Mo2.deleteFramebuffer(_1s2._hM1);
_Mo2.deleteRenderbuffer(_1s2._qs2);
_Mo2.deleteTexture(_1s2._Kr2._Kr2);
_1s2._Kr2 = null;
};
/*@this {yyWebGL} */ this._ss2 = function (_ts2) {
_Mo2.deleteTexture(_ts2);
};
/*@this {yyWebGL} */ this._us2 = function (_891) {
_Z41._pr2(_891 instanceof _pp2, "NULL texture is not a yyGLTexture", _Z41._qr2);
_Oo2._vs2 = _891;
};
/*@this {yyWebGL} */ this._v51 = function (_w71, _891, _A81, _ws2) {
_Z41._pr2(_891 == null || _891 instanceof _pp2, "Texture is not a yyGLTexture", _Z41._qr2);
return _No2._v51(_w71, _891, _A81, _ws2, _Wo2[_A81], _Qo2);
};
/*@this {yyWebGL} */ this._991 = function (_w71, _891, _xs2, _ys2) {
_Z41._pr2(_891 == null || _891 instanceof _pp2, "Texture is not a yyGLTexture", _Z41._qr2);
_No2._zs2(_w71, _891, _xs2, _ys2);
};
/*@this {yyWebGL} */ this._As2 = function (_YK1) {
var _f31 = _YK1._f31._o51;
if (!_bs2(_f31, _Z41._cs2)) {
_ds2(_f31);
_es2(_f31);
}
var _V71 = _f31._Kr2;
var _Z9 = _f31._Cr2;
var __9 = _f31._Dr2;
var _2s2 = _Mo2.getParameter(_Mo2.FRAMEBUFFER_BINDING);
var _fs2 = _Mo2.createFramebuffer();
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _fs2);
_Mo2.framebufferTexture2D(_Mo2.FRAMEBUFFER, _Mo2.COLOR_ATTACHMENT0, _Mo2.TEXTURE_2D, _V71, 0);
var data = new Uint8Array(_Z9 * __9 * 4);
_Mo2.readPixels(0, 0, _Z9, __9, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, data);
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _2s2);
_Mo2.deleteFramebuffer(_fs2);
return data;
};
}
var _Z41 = {
_Bs2: 8,
_ep2: 8,
_Cs2: -1,
_w51: 0,
_B71: 1,
_A71: 2,
_y71: 3,
_z71: 4,
_x71: 5,
_F81: 1,
_K81: 2,
_U81: 3,
_S81: 4,
_Ds2: 5,
_Es2: 6,
_Fs2: 7,
_Gs2: 8,
_Hs2: 9,
_Is2: 10,
_Js2: 11,
_Ks2: 12,
_Ls2: 13,
_Ms2: 14,
_Ns2: 14,
_W81: 1,
_G81: 2,
_I81: 3,
__81: 4,
_L81: 5,
_191: 6,
_Os2: 6,
_3n1: 1,
_251: 2,
_Ps2: 3,
_451: 4,
__41: 5,
_151: 6,
_Qs2: 7,
_Rs2: 8,
_351: 9,
_Ss2: 10,
_Ts2: 11,
_Us2: 12,
_Vs2: 13,
_Ws2: 14,
_Xs2: 15,
_Ys2: 16,
_Zs2: 16,
__s2: 0,
_Qm1: 1,
_0t2: 2,
_1t2: 3,
_Tm1: 4,
_jn1: 5,
_c51: 6,
_d51: 7,
_1n1: 8,
_Sm1: 9,
_ln1: 10,
_mn1: 11,
_Pm1: 12,
_Xm1: 13,
_2t2: 14,
_Ym1: 15,
_3t2: 16,
_Zm1: 17,
__m1: 18,
_4t2: 19,
_5t2: 20,
_6t2: 21,
_7t2: 22,
_8t2: 23,
_in1: 24,
_1r2: 25,
_9t2: 26,
_at2: 27,
_6r2: 28,
_3r2: 29,
_9r2: 30,
_bt2: 31,
_ct2: 32,
_g51: 33,
_e51: 34,
_f51: 35,
_dt2: 36,
_et2: 37,
_ft2: 1,
_gt2: 2,
_ht2: 3,
_it2: 4,
_jt2: 5,
_kt2: 6,
_lt2: 7,
_mt2: 8,
_nt2: 1,
_ot2: 2,
_pt2: 3,
_qt2: 4,
_rt2: 5,
_st2: 6,
_tt2: 7,
_ut2: 8,
_yn1: 0,
_An1: 1,
_rn1: 0,
_tn1: 1,
_xn1: 2,
_zn1: 3,
_Cn1: 4,
_In1: 5,
_Kn1: 6,
_Gn1: 7,
_Mn1: 8,
_Nn1: 9,
_vt2: 10,
_un1: 0,
_sn1: 1,
_wt2: 2,
_xt2: 3,
_Gq2: 0,
_yt2: 1,
_Fq2: 2,
_zt2: 0,
_At2: 1,
_Bt2: 2,
_Ct2: 0,
_Dt2: 1,
_Et2: 0,
_Ft2: 1,
_Gt2: 0,
_Ht2: 1,
_It2: 2,
_Jt2: 3,
_Kt2: 0,
_Lt2: 1,
_Mt2: 2,
_Nt2: 4,
_Ot2: 8,
_cs2: -1,
_Pt2: 0,
_Er2: 1,
_Fr2: 2,
_Qt2: 0,
_Rt2: 1,
_qr2: 2,
_St2: 1,
_pr2: function (_Tt2, _Ut2, _Vt2) {
if (!_Tt2) {
throw new Error(_Ut2);
}
},
};
Object.freeze(_Z41);
/*@constructor */ function _fp2(_Wt2) {
var _Mo2 = this._op2;
var _Xt2 = 0,
_Yt2 = 1,
_Zt2 = 2,
__t2 = 3,
_0u2 = 4,
_1u2 = 5,
_2u2 = 6,
_3u2 = 7,
_4u2 = 8,
_5u2 = 9,
_6u2 = 10,
_7u2 = 11,
_8u2 = 12,
_9u2 = 13,
_au2 = 14,
_bu2 = 15,
_cu2 = 16,
_du2 = 17,
_eu2 = 18,
_fu2 = 19,
_gu2 = 20,
_hu2 = 21,
_iu2 = 22,
_ju2 = 23,
_ku2 = 24,
_lu2 = 25,
_mu2 = 26,
_nu2 = 27;
var _ou2 = 0,
_pu2 = 1,
_qu2 = 2,
_ru2 = 3,
_su2 = 4,
_tu2 = 5;
var _uu2 = 1,
_vu2 = 2,
_wu2 = 4,
_xu2 = 8;
var _yu2 = [];
var _zu2 = [],
_Au2,
_Bu2;
var _Cu2,
_Du2 = [],
_Eu2 = [],
_Fu2 = [],
_Gu2 = new Float32Array(_Z41._Bs2 * 4),
_Hu2 = new Float32Array(_Z41._Bs2 * 4),
_Iu2 = new Float32Array(_Z41._Bs2 * 4),
_Ju2 = new Float32Array(4),
_Ku2 = new Float32Array(8),
_Lu2 = false,
_Mu2 = 0.0,
_Nu2,
_Ou2 = _Mo2.SRC_ALPHA,
_Pu2 = _Mo2.ONE_MINUS_SRC_ALPHA,
_Qu2 = _Mo2.SRC_ALPHA,
_Ru2 = _Mo2.ONE_MINUS_SRC_ALPHA;
var _Qo2 = 0,
_Su2;
Object.defineProperties(this, {
_y01: {
get: function () {
return _Qo2;
},
set: function (_r91) {
_Qo2 = _r91;
},
},
_vs2: {
get: function () {
return _Su2;
},
set: function (_r91) {
_Su2 = _r91;
},
},
});
(function () {
_Tu2();
var _dp2 = _Mo2.getParameter(_Mo2.MAX_TEXTURE_IMAGE_UNITS);
if (_dp2 > _Z41._ep2) {
_dp2 = _Z41._ep2;
}
for (var _En1 = 0; _En1 < _dp2; _En1++) {
_Fu2[_En1] = new _rp2(_Wt2);
}
var _Uu2 = _Vu2(_Z41._ft2);
_Nu2 = { _Wu2: 0, _Xu2: 0xffffffff, _Yu2: 0xffffffff, _Zu2: __u2(_Z41._ut2), _0v2: _Uu2, _1v2: _Uu2, _2v2: _Uu2 };
for (var _X9 = 0; _X9 < _tu2; _X9++) {
_Eu2[_X9] = new _Fk1();
}
})();
function _Tu2() {
_zu2 = [];
_Bu2 = undefined;
_Au2 = undefined;
_zu2[0] = 1;
_zu2[1] = 1;
}
/*@this {yyCommandBuilder} */ this._ls1 = function () {
_Tu2();
};
/*@this {yyCommandBuilder} */ this._Wk1 = function (_3v2) {
if (_3v2 != _Au2) {
_Bu2 = null;
_yu2.push(_du2);
_yu2.push(_3v2);
_Au2 = _3v2;
}
};
/*@this {yyCommandBuilder} */ this._or2 = function (_Xq2, _891) {
if (_zu2[_Xq2] == _891) {
return;
}
_zu2[_Xq2] = _891;
_yu2.push(_Yt2);
_yu2.push(_891);
_yu2.push(_Xq2);
};
/*@this {yyCommandBuilder} */ this._mr2 = function (_No1) {
_yu2.push(_No1);
};
this._nr2 = function (_891, _a11, _b11, _Mb1, _Nb1, _4v2) {
_yu2.push(_nu2);
_yu2.push(_891);
_yu2.push(_a11);
_yu2.push(_b11);
_yu2.push(_Mb1);
_yu2.push(_Nb1);
_yu2.push(_4v2);
};
/*@this {yyCommandBuilder} */ this._5v2 = function (_6v2) {
if (_Bu2 == _6v2) return;
_Bu2 = _6v2;
_yu2.push(_8u2);
_yu2.push(_6v2);
};
/*@this {yyCommandBuilder} */ this._7v2 = function (_Um1, _8v2) {
_yu2.push(_Zt2);
_yu2.push(_Um1);
_yu2.push(_8v2);
};
/*@this {yyCommandBuilder} */ this._9v2 = function (_Um1, _8v2) {
_yu2.push(__t2);
_yu2.push(_Um1);
_yu2.push(_8v2);
};
/*@this {yyCommandBuilder} */ this._av2 = function (_Um1, _8v2) {
_yu2.push(_0u2);
_yu2.push(_Um1);
_yu2.push(_8v2);
};
/*@this {yyCommandBuilder} */ this._bv2 = function (_Um1, _8v2) {
_yu2.push(_1u2);
_yu2.push(_Um1);
_yu2.push(_8v2);
};
/*@this {yyCommandBuilder} */ this._cv2 = function (_Um1, _8v2) {
_yu2.push(_2u2);
_yu2.push(_Um1);
_yu2.push(_8v2);
};
/*@this {yyCommandBuilder} */ this._U72 = function (_Um1, _8v2) {
_yu2.push(_3u2);
_yu2.push(_Um1);
_yu2.push(_8v2);
};
/*@this {yyCommandBuilder} */ this._sr2 = function (_ng1) {
_yu2.push(_5u2);
_yu2.push(new _Fk1(_ng1));
};
/*@this {yyCommandBuilder} */ this._rr2 = function (_ng1) {
_yu2.push(_6u2);
_yu2.push(new _Fk1(_ng1));
};
/*@this {yyCommandBuilder} */ this._ur2 = function (_ng1) {
_yu2.push(_4u2);
_yu2.push(new _Fk1(_ng1));
};
/*@this {yyCommandBuilder} */ this._Mp2 = function (_a11, _b11, _Mb1, _Nb1) {
_yu2.push(_7u2);
_yu2.push(_a11);
_yu2.push(_b11);
_yu2.push(_Mb1);
_yu2.push(_Nb1);
};
/*@this {yyCommandBuilder} */ this._Or2 = function (_dv2, _081) {
_yu2.push(_9u2);
_yu2.push(_dv2);
_yu2.push(~~_081);
};
/*@this {yyCommandBuilder} */ this._xM1 = function (_ev2) {
_yu2.push(_au2);
_yu2.push(_ev2);
};
/*@this {yyCommandBuilder} */ this._fv2 = function (_f41, _an1, _bn1, _cn1) {
_yu2.push(_bu2);
_yu2.push(_f41);
_yu2.push(_an1);
_yu2.push(_bn1);
_yu2.push(_cn1);
};
/*@this {yyCommandBuilder} */ this._Cq2 = function (_Qb1, _Tc1) {
_yu2.push(_cu2);
_yu2.push(_Qb1);
_yu2.push(_Tc1);
};
/*@this {yyCommandBuilder} */ this._er2 = function (_gv2, _fr2) {
_yu2.push(_eu2);
_yu2.push(_gv2);
_yu2.push(_fr2);
};
/*@this {yyCommandBuilder} */ this._gr2 = function (_gv2, _fr2) {
_yu2.push(_fu2);
_yu2.push(_gv2);
_yu2.push(_fr2);
};
/*@this {yyCommandBuilder} */ this._kr2 = function (_gv2, _fr2) {
_yu2.push(_eu2);
_yu2.push(_gv2);
_yu2.push(_fr2);
};
/*@this {yyCommandBuilder} */ this._lr2 = function (_gv2, _fr2) {
_yu2.push(_fu2);
_yu2.push(_gv2);
_yu2.push(_fr2);
};
/*@this {yyCommandBuilder} */ this._hr2 = function (_gv2, _fr2) {
_yu2.push(_fu2);
_yu2.push(_gv2);
_yu2.push(_fr2);
};
/*@this {yyCommandBuilder} */ this._t51 = function (_hv2, _iv2) {
_yu2.push(_gu2);
_yu2.push(_hv2);
_yu2.push(_iv2);
};
/*@this {yyCommandBuilder} */ this._qn1 = function (_Xq2, _jv2, _kv2) {
_yu2.push(_hu2);
_yu2.push(_Xq2);
_yu2.push(_jv2);
_yu2.push(_kv2);
};
/*@this {yyCommandBuilder} */ this._Cl1 = function (__e1, _lv2, _mv2, _nv2) {
_yu2.push(_iu2);
_yu2.push(__e1);
_yu2.push(new Float32Array(_lv2));
_yu2.push(new Float32Array(_mv2));
_yu2.push(new Float32Array(_nv2));
};
/*@this {yyCommandBuilder} */ this._Rq2 = function (_If) {
_yu2.push(_ju2);
_yu2.push(new Float32Array(_If));
};
/*@this {yyCommandBuilder} */ this._ov2 = function (_pv2) {
_yu2.push(_ku2);
_yu2.push(new Float32Array(_pv2));
};
/*@this {yyCommandBuilder} */ this._Gl1 = function (__e1, enable, _If) {
_yu2.push(_lu2);
_yu2.push(__e1);
_yu2.push(enable);
_yu2.push(_If);
};
/*@this {yyCommandBuilder} */ this._Uq2 = function (_Tk1, _qv2) {
_yu2.push(_mu2);
_yu2.push(_Tk1);
_yu2.push(_qv2);
};
function _rv2(_kn1) {
switch (_kn1) {
case _Z41._3n1:
return _Mo2.ZERO;
case _Z41._251:
return _Mo2.ONE;
case _Z41._Ps2:
return _Mo2.SRC_COLOR;
case _Z41._451:
return _Mo2.ONE_MINUS_SRC_COLOR;
case _Z41.__41:
return _Mo2.SRC_ALPHA;
case _Z41._151:
return _Mo2.ONE_MINUS_SRC_ALPHA;
case _Z41._Qs2:
return _Mo2.DST_ALPHA;
case _Z41._Rs2:
return _Mo2.ONE_MINUS_DST_ALPHA;
case _Z41._351:
return _Mo2.DST_COLOR;
case _Z41._Ss2:
return _Mo2.ONE_MINUS_DST_COLOR;
case _Z41._Ts2:
return _Mo2.SRC_ALPHA_SATURATE;
case _Z41._Us2:
return 0;
case _Z41._Vs2:
return 0;
case _Z41._Ws2:
return 0;
case _Z41._Xs2:
return 0;
case _Z41._Ys2:
return 0;
case _Z41._Zs2:
return 0;
}
return 0;
}
function _Vu2(_kn1) {
switch (_kn1) {
case _Z41._ft2:
return _Mo2.KEEP;
case _Z41._gt2:
return _Mo2.ZERO;
case _Z41._ht2:
return _Mo2.REPLACE;
case _Z41._it2:
return _Mo2.INCR;
case _Z41._jt2:
return _Mo2.DECR;
case _Z41._kt2:
return _Mo2.INVERT;
case _Z41._lt2:
return _Mo2.INCR;
case _Z41._mt2:
return _Mo2.DECR;
default:
return _Mo2.KEEP;
}
}
function __u2(_kn1) {
switch (_kn1) {
case _Z41._nt2:
return _Mo2.NEVER;
case _Z41._ot2:
return _Mo2.LESS;
case _Z41._pt2:
return _Mo2.EQUAL;
case _Z41._qt2:
return _Mo2.LEQUAL;
case _Z41._rt2:
return _Mo2.GREATER;
case _Z41._st2:
return _Mo2.NOTEQUAL;
case _Z41._tt2:
return _Mo2.GEQUAL;
case _Z41._ut2:
default:
return _Mo2.ALWAYS;
}
}
function _sv2(_hv2, _iv2) {
switch (_hv2) {
case _Z41._Qm1:
if (_iv2) {
_Mo2.enable(_Mo2.DEPTH_TEST);
} else {
_Mo2.disable(_Mo2.DEPTH_TEST);
}
break;
case _Z41._Tm1:
_Mo2.depthMask(_iv2);
break;
case _Z41._jn1:
_Lu2 = _iv2;
_tv2(_xu2);
break;
case _Z41._c51:
_Ou2 = _rv2(_iv2);
_Mo2.blendFuncSeparate(_Ou2, _Pu2, _Qu2, _Ru2);
break;
case _Z41._d51:
_Pu2 = _rv2(_iv2);
_Mo2.blendFuncSeparate(_Ou2, _Pu2, _Qu2, _Ru2);
break;
case _Z41._1n1:
if (_iv2 != _Z41._Gq2) {
_Mo2.enable(_Mo2.CULL_FACE);
_Mo2.frontFace(_iv2 === _Z41._yt2 ? _Mo2.CW : _Mo2.CCW);
} else {
_Mo2.disable(_Mo2.CULL_FACE);
}
break;
case _Z41._Sm1:
_Mo2.depthFunc(__u2(_iv2));
break;
case _Z41._ln1:
_Mu2 = _iv2 / 255.0;
_tv2(_xu2);
break;
case _Z41._mn1:
break;
case _Z41._Pm1:
if (_iv2) {
_Mo2.enable(_Mo2.BLEND);
} else {
_Mo2.disable(_Mo2.BLEND);
}
break;
case _Z41._Xm1:
break;
case _Z41._2t2:
break;
case _Z41._Ym1:
break;
case _Z41._3t2:
break;
case _Z41._Zm1:
break;
case _Z41.__m1:
break;
case _Z41._4t2:
break;
case _Z41._5t2:
break;
case _Z41._6t2:
break;
case _Z41._7t2:
break;
case _Z41._8t2:
break;
case _Z41._in1:
_Mo2.colorMask(_iv2._Ue1, _iv2._Ve1, _iv2._We1, _iv2.alpha);
break;
case _Z41._1r2:
if (_iv2) {
_Mo2.enable(_Mo2.STENCIL_TEST);
} else {
_Mo2.disable(_Mo2.STENCIL_TEST);
}
break;
case _Z41._9t2:
_Nu2._0v2 = _Vu2(_iv2);
_Mo2.stencilOp(_Nu2._0v2, _Nu2._1v2, _Nu2._2v2);
break;
case _Z41._at2:
_Nu2._1v2 = _Vu2(_iv2);
_Mo2.stencilOp(_Nu2._0v2, _Nu2._1v2, _Nu2._2v2);
break;
case _Z41._6r2:
_Nu2._2v2 = _Vu2(_iv2);
_Mo2.stencilOp(_Nu2._0v2, _Nu2._1v2, _Nu2._2v2);
break;
case _Z41._3r2:
_Nu2._Zu2 = __u2(_iv2);
_Mo2.stencilFunc(_Nu2._Zu2, _Nu2._Wu2, _Nu2._Xu2);
break;
case _Z41._9r2:
_Nu2._Wu2 = _iv2;
_Mo2.stencilFunc(_Nu2._Zu2, _Nu2._Wu2, _Nu2._Xu2);
break;
case _Z41._bt2:
_Nu2._Xu2 = _iv2;
_Mo2.stencilFunc(_Nu2._Zu2, _Nu2._Wu2, _Nu2._Xu2);
break;
case _Z41._ct2:
_Mo2.stencilMask(_iv2);
break;
case _Z41._g51:
break;
case _Z41._e51:
_Qu2 = _rv2(_iv2);
_Mo2.blendFuncSeparate(_Ou2, _Pu2, _Qu2, _Ru2);
break;
case _Z41._f51:
_Ru2 = _rv2(_iv2);
_Mo2.blendFuncSeparate(_Ou2, _Pu2, _Qu2, _Ru2);
break;
case _Z41._dt2:
if (_iv2 != _Z41._Gq2) {
_Mo2.enable(_Mo2.CULL_FACE);
_Mo2.frontFace(_iv2 === _Z41._yt2 ? _Mo2.CW : _Mo2.CCW);
} else {
_Mo2.disable(_Mo2.CULL_FACE);
}
break;
}
}
function _uv2() {
if (_Cu2 && _Cu2._Zp2) {
_Eu2[_ru2].Multiply(_Eu2[_qu2], _Eu2[_ou2]);
_Eu2[_su2].Multiply(_Eu2[_ru2], _Eu2[_pu2]);
var _vv2 = new Float32Array(16 * _tu2);
for (var _X9 = 0; _X9 < _tu2; _X9++) {
_vv2.set(_Eu2[_X9]._Z11, _X9 * 16);
}
_Mo2.uniformMatrix4fv(_Cu2._Zp2, _Mo2._wv2, _vv2);
}
}
function _tv2(_xv2) {
if (_xv2 & _xu2) {
if (_Cu2._0q2 !== undefined) {
_Mo2.uniform1i(_Cu2._0q2, _Lu2);
}
if (_Cu2._1q2 !== undefined) {
_Mo2.uniform1f(_Cu2._1q2, _Mu2);
}
}
if (_xv2 & _uu2 && _Cu2.__p2 !== undefined) {
_Mo2.uniform4fv(_Cu2.__p2, _Ku2);
}
if (_xv2 & _vu2) {
if (_Cu2._8q2 !== undefined) {
_Mo2.uniform4fv(_Cu2._8q2, _Gu2);
}
if (_Cu2._7q2 !== undefined) {
_Mo2.uniform4fv(_Cu2._7q2, _Hu2);
}
if (_Cu2._9q2 !== undefined) {
_Mo2.uniform4fv(_Cu2._9q2, _Iu2);
}
}
if (_xv2 & _wu2 && _Cu2._aq2 !== undefined) {
_Mo2.uniform4fv(_Cu2._aq2, _Ju2);
}
}
var _yv2 = [
_Mo2.NEAREST_MIPMAP_NEAREST,
_Mo2.LINEAR_MIPMAP_NEAREST,
_Mo2.LINEAR_MIPMAP_NEAREST,
_Mo2.NEAREST_MIPMAP_LINEAR,
_Mo2.LINEAR_MIPMAP_LINEAR,
_Mo2.LINEAR_MIPMAP_LINEAR,
_Mo2.NEAREST_MIPMAP_LINEAR,
_Mo2.LINEAR_MIPMAP_LINEAR,
_Mo2.LINEAR_MIPMAP_LINEAR,
];
function _zv2(_jB1, _Av2) {
return _yv2[_Av2 * _Z41._xt2 + _jB1];
}
function _Bv2(_891, _Xq2) {
if (_891 === null || _891 === undefined) {
return;
}
var _Cv2 = false;
if (_891._zb1 !== undefined) {
_Cv2 = (_891._zb1 & _Gr2._Jr2) !== 0;
}
var _Dv2 = _Fu2[_Xq2];
if (_Dv2 === null || _Dv2 === undefined) {
return;
}
var _Ev2 = _Dv2._Fv2;
var _Gv2 = _891._Lr2._Fv2;
if (_891._Nr2 === true || _Ev2[_Z41._rn1] != _Gv2[_Z41._rn1]) {
_Mo2.texParameteri(_Mo2.TEXTURE_2D, _Mo2.TEXTURE_MAG_FILTER, _Ev2[_Z41._rn1] == _Z41._sn1 ? _Mo2.LINEAR : _Mo2.NEAREST);
_Gv2[_Z41._rn1] = _Ev2[_Z41._rn1];
}
if (!_Cv2) {
if (_891._Nr2 === true || _Ev2[_Z41._tn1] != _Gv2[_Z41._tn1]) {
_Mo2.texParameteri(_Mo2.TEXTURE_2D, _Mo2.TEXTURE_MIN_FILTER, _Ev2[_Z41._tn1] == _Z41._sn1 ? _Mo2.LINEAR : _Mo2.NEAREST);
_Gv2[_Z41._tn1] = _Ev2[_Z41._tn1];
}
} else {
if (_891._Nr2 === true || _Ev2[_Z41._Cn1] != _Gv2[_Z41._Cn1] || _Ev2[_Z41._tn1] != _Gv2[_Z41._tn1]) {
var _Hv2 = _zv2(_Ev2[_Z41._tn1], _Ev2[_Z41._Cn1]);
_Mo2.texParameteri(_Mo2.TEXTURE_2D, _Mo2.TEXTURE_MIN_FILTER, _Hv2);
_Gv2[_Z41._Cn1] = _Ev2[_Z41._Cn1];
_Gv2[_Z41._tn1] = _Ev2[_Z41._tn1];
}
if (_np2) {
if (_Ev2[_Z41._Cn1] == _Z41._wt2) {
if (_Gv2[_Z41._Mn1] != _Ev2[_Z41._Mn1]) {
_Gv2[_Z41._Mn1] = _Ev2[_Z41._Mn1];
var _Iv2 = _Mo2.getParameter(_np2.MAX_TEXTURE_MAX_ANISOTROPY_EXT);
var _Jv2 = _Gv2[_Z41._Mn1];
_Jv2 = Math.min(_Jv2, _Iv2);
_Mo2.texParameterf(_Mo2.TEXTURE_2D, _np2.TEXTURE_MAX_ANISOTROPY_EXT, _Jv2);
}
} else {
if (_Gv2[_Z41._Mn1] != 1.0) {
_Gv2[_Z41._Mn1] = 1.0;
_Mo2.texParameterf(_Mo2.TEXTURE_2D, _np2.TEXTURE_MAX_ANISOTROPY_EXT, 1.0);
}
}
}
}
if (_Ev2[_Z41._xn1] != _Gv2[_Z41._xn1]) {
if (_891._Kv2) {
var _Lv2 = _Ev2[_Z41._xn1] == _Z41._An1 ? _Mo2.CLAMP_TO_EDGE : _Mo2.REPEAT;
_Mo2.texParameteri(_Mo2.TEXTURE_2D, _Mo2.TEXTURE_WRAP_S, _Lv2);
}
_Gv2[_Z41._xn1] = _Ev2[_Z41._xn1];
}
if (_Ev2[_Z41._zn1] != _Gv2[_Z41._zn1]) {
if (_891._Kv2) {
var _Lv2 = _Ev2[_Z41._zn1] == _Z41._An1 ? _Mo2.CLAMP_TO_EDGE : _Mo2.REPEAT;
_Mo2.texParameteri(_Mo2.TEXTURE_2D, _Mo2.TEXTURE_WRAP_T, _Lv2);
}
_Gv2[_Z41._zn1] = _Ev2[_Z41._zn1];
}
_891._Nr2 = false;
}
var _Mv2 = null;
function _5v2(_Nv2) {
_Mo2.bindBuffer(_Mo2.ARRAY_BUFFER, _Nv2._Ov2);
if (_Mv2 != null) {
if (_Mv2._Gp2 === true) {
var _Pv2,
_Qv2,
_Rv2 = _Mv2._o81.length;
for (_Pv2 = 0; _Pv2 < _Rv2; ++_Pv2) {
switch (_Pv2) {
case 0:
_Qv2 = _Cu2._Up2;
break;
case 1:
_Qv2 = _Cu2._Wp2;
break;
case 2:
_Qv2 = _Cu2._Xp2;
break;
case 3:
_Qv2 = _Cu2._Vp2;
break;
default:
_Qv2 = -1;
break;
}
if (_Qv2 >= 0) {
_Mo2.disableVertexAttribArray(_Qv2);
}
}
} else {
var _Pv2,
_Qv2,
_Rv2 = _Mv2._o81.length;
for (_Pv2 = 0; _Pv2 < _Rv2; ++_Pv2) {
_Qv2 = _Cu2._2q2[_Pv2];
if (_Qv2 >= 0) {
_Mo2.disableVertexAttribArray(_Qv2);
}
}
}
}
var _Sv2 = _Nv2._Tv2;
_Mv2 = _Sv2;
if (_Sv2._Gp2 === true) {
var _Pv2,
_Qv2,
_Uv2,
_Rv2 = _Sv2._o81.length;
for (_Pv2 = 0; _Pv2 < _Rv2; ++_Pv2) {
_Uv2 = _Sv2._o81[_Pv2];
switch (_Pv2) {
case 0:
_Qv2 = _Cu2._Up2;
break;
case 1:
_Qv2 = _Cu2._Wp2;
break;
case 2:
_Qv2 = _Cu2._Xp2;
break;
case 3:
_Qv2 = _Cu2._Vp2;
break;
default:
_Qv2 = -1;
break;
}
if (_Qv2 >= 0) {
_Mo2.enableVertexAttribArray(_Qv2);
_Mo2.vertexAttribPointer(_Qv2, _Uv2._Vv2, _Uv2._Wv2, _Uv2._Xv2, _Sv2._u81, _Uv2.offset);
}
}
} else {
{
var _Pv2,
_Qv2,
_Uv2,
_Rv2 = _Sv2._o81.length;
var _Yv2 = _Cu2._2q2.length;
var _Zv2 = _Sv2._Zv2[_Cu2._5q2];
if (_Zv2 === undefined) {
_Zv2 = [];
var __v2 = [];
for (_Pv2 = 0; _Pv2 < _Rv2; ++_Pv2) {
_Uv2 = _Sv2._o81[_Pv2];
var _q81 = _Uv2._q81;
_Qv2 = -1;
for (var _0w2 = 0; _0w2 < _Yv2; _0w2++) {
if (__v2[_0w2] === undefined) {
var _1w2 = _Cu2._2q2[_0w2];
if (_Cu2._4q2[_0w2] == _q81) {
_Qv2 = _1w2;
__v2[_0w2] = 1;
break;
} else if (_Cu2._4q2[_0w2] == 4 && _q81 == 2) {
_Cu2._4q2[_0w2] = _Mo2.UNSIGNED_BYTE;
_Qv2 = _1w2;
__v2[_0w2] = 1;
break;
}
}
}
_Zv2.push(_Qv2);
}
_Sv2._Zv2[_Cu2._5q2] = _Zv2;
}
for (_Pv2 = 0; _Pv2 < _Rv2; ++_Pv2) {
_Uv2 = _Sv2._o81[_Pv2];
_Qv2 = _Zv2[_Pv2];
if (_Qv2 >= 0) {
_Mo2.enableVertexAttribArray(_Qv2);
_Mo2.vertexAttribPointer(_Qv2, _Uv2._Vv2, _Uv2._Wv2, _Uv2._Xv2, _Sv2._u81, _Uv2.offset);
}
}
}
}
}
/*@this {yyCommandBuilder} */ this._Aq2 = function () {
var _X9, error, _dG1, _eG1, _2w2, _En1, _f31, _u51, __e1, _L31, enable, _3w2, _dr2;
_X9 = 0;
while (_X9 < _yu2.length) {
switch (_yu2[_X9]) {
case _du2: {
_Cu2 = _yu2[_X9 + 1];
_3w2 = _Cu2._lq2;
_X9 += 2;
_Mo2.useProgram(_Cu2);
_uv2();
_tv2(0xff);
break;
}
case _7u2: {
_Mo2.viewport(_yu2[_X9 + 1], _yu2[_X9 + 2], _yu2[_X9 + 3], _yu2[_X9 + 4]);
_Mo2.scissor(_yu2[_X9 + 1], _yu2[_X9 + 2], _yu2[_X9 + 3], _yu2[_X9 + 4]);
_X9 += 5;
break;
}
case _9u2: {
_L31 = _yu2[_X9 + 2];
_Mo2.clearColor((_L31 & 0xff) / 255.0, ((_L31 >> 8) & 0xff) / 255.0, ((_L31 >> 16) & 0xff) / 255.0, ((_L31 >> 24) & 0xff) / 255.0);
_Mo2.clear(_yu2[_X9 + 1]);
_X9 += 3;
break;
}
case _5u2: {
_Eu2[_pu2] = _yu2[_X9 + 1];
_uv2();
_X9 += 2;
break;
}
case _6u2: {
_Eu2[_ou2] = _yu2[_X9 + 1];
_uv2();
_X9 += 2;
break;
}
case _4u2: {
_Eu2[_qu2] = _yu2[_X9 + 1];
_uv2();
_X9 += 2;
break;
}
case _Yt2: {
_f31 = _yu2[_X9 + 1];
_En1 = _yu2[_X9 + 2];
_X9 += 3;
if (_f31 === null) {
_f31 = _Su2;
_Mo2.activeTexture(_Mo2.TEXTURE0 + _En1);
if (!_bs2(_f31, _zk1())) {
_ds2(_f31, _zk1());
_es2(_f31, _zk1());
}
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _f31._Kr2);
_Mo2.uniform1i(_Cu2._Yp2, 0);
_Du2[_En1] = null;
} else {
_Mo2.activeTexture(_Mo2.TEXTURE0 + _En1);
if (!_bs2(_f31, _zk1())) {
_ds2(_f31, _zk1());
_es2(_f31, _zk1());
}
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _f31._Kr2);
_Mo2.uniform1i(_Cu2._Yp2, 0);
_Bv2(_f31, _En1);
_Du2[_En1] = _f31;
}
break;
}
case _8u2:
{
_u51 = _yu2[_X9 + 1];
_X9 += 2;
if (_u51._4w2) {
_u51._5w2();
}
_u51._6w2 = this._y01;
_5v2(_u51);
}
break;
case _Zt2: {
_Mo2.drawArrays(_Mo2.TRIANGLES, _yu2[_X9 + 1], _yu2[_X9 + 2]);
_X9 += 3;
break;
}
case __t2: {
_Mo2.drawArrays(_Mo2.TRIANGLE_FAN, _yu2[_X9 + 1], _yu2[_X9 + 2]);
_X9 += 3;
break;
}
case _0u2: {
_Mo2.drawArrays(_Mo2.TRIANGLE_STRIP, _yu2[_X9 + 1], _yu2[_X9 + 2]);
_X9 += 3;
break;
}
case _1u2: {
_Mo2.drawArrays(_Mo2.LINES, _yu2[_X9 + 1], _yu2[_X9 + 2]);
_X9 += 3;
break;
}
case _2u2: {
_Mo2.drawArrays(_Mo2.LINE_STRIP, _yu2[_X9 + 1], _yu2[_X9 + 2]);
_X9 += 3;
break;
}
case _3u2: {
_Mo2.drawArrays(_Mo2.POINTS, _yu2[_X9 + 1], _yu2[_X9 + 2]);
_X9 += 3;
break;
}
case _au2: {
_Mo2.bindFramebuffer(_Mo2.FRAMEBUFFER, _yu2[_X9 + 1]);
_X9 += 2;
break;
}
case _bu2: {
_Mo2.colorMask(_yu2[_X9 + 2], _yu2[_X9 + 3], _yu2[_X9 + 4], _yu2[_X9 + 1]);
_X9 += 5;
break;
}
case _cu2: {
_Mo2.blendFunc(_rv2(_yu2[_X9 + 1]), _rv2(_yu2[_X9 + 2]));
_X9 += 3;
break;
}
case _gu2: {
_sv2(_yu2[_X9 + 1], _yu2[_X9 + 2]);
_X9 += 3;
break;
}
case _eu2: {
_dG1 = _yu2[_X9 + 1];
_eG1 = _yu2[_X9 + 2];
_X9 += 3;
_dr2 = _3w2[_3w2._mq2[_dG1]];
switch (_dr2._wq2["type"]) {
case _Mo2.INT:
_Mo2.uniform1iv(_dr2.location, _eG1);
break;
case _Mo2.INT_VEC2:
_Mo2.uniform2iv(_dr2.location, _eG1);
break;
case _Mo2.INT_VEC3:
_Mo2.uniform3iv(_dr2.location, _eG1);
break;
case _Mo2.INT_VEC4:
_Mo2.uniform4iv(_dr2.location, _eG1);
break;
}
break;
}
case _fu2: {
_dG1 = _yu2[_X9 + 1];
_eG1 = _yu2[_X9 + 2];
_X9 += 3;
_dr2 = _3w2[_3w2._mq2[_dG1]];
switch (_dr2._wq2["type"]) {
case _Mo2.FLOAT:
_Mo2.uniform1fv(_dr2.location, _eG1);
break;
case _Mo2.FLOAT_VEC2:
_Mo2.uniform2fv(_dr2.location, _eG1);
break;
case _Mo2.FLOAT_VEC3:
_Mo2.uniform3fv(_dr2.location, _eG1);
break;
case _Mo2.FLOAT_VEC4:
_Mo2.uniform4fv(_dr2.location, _eG1);
break;
case _Mo2.FLOAT_MAT2:
_Mo2.uniformMatrix2fv(_dr2.location, false, _eG1);
break;
case _Mo2.FLOAT_MAT3:
_Mo2.uniformMatrix3fv(_dr2.location, false, _eG1);
break;
case _Mo2.FLOAT_MAT4:
_Mo2.uniformMatrix4fv(_dr2.location, false, _eG1);
break;
}
break;
}
case _hu2: {
_En1 = _yu2[_X9 + 1];
var state = _yu2[_X9 + 2];
var _Eh1 = _yu2[_X9 + 3];
_X9 += 4;
var _Dv2 = _Fu2[_En1];
_Dv2._Fv2[state] = _Eh1;
if (_Du2[_En1] != null) {
_Mo2.activeTexture(_Mo2.TEXTURE0 + _En1);
if (!_bs2(_Du2[_En1], _zk1())) {
_ds2(_Du2[_En1], _zk1());
_es2(_Du2[_En1], _zk1());
}
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _Du2[_En1]._Kr2);
}
_Bv2(_Du2[_En1], _En1);
break;
}
case _iu2: {
__e1 = _yu2[_X9 + 1];
_Gu2.set(_yu2[_X9 + 2], __e1 * 4);
_Hu2.set(_yu2[_X9 + 3], __e1 * 4);
_Iu2.set(_yu2[_X9 + 4], __e1 * 4);
_X9 += 5;
_tv2(_vu2);
break;
}
case _ju2: {
_Ju2.set(_yu2[_X9 + 1]);
_X9 += 2;
_tv2(_wu2);
break;
}
case _ku2: {
_Ku2.set(_yu2[_X9 + 1]);
_X9 += 2;
_tv2(_uu2);
break;
}
case _lu2: {
__e1 = _yu2[_X9 + 1];
enable = _yu2[_X9 + 2];
_L31 = _yu2[_X9 + 3];
_X9 += 4;
if (enable) {
_Iu2.set(_L31, __e1 * 4);
} else {
var _tl1 = __e1 * 4;
_Iu2[_tl1 + 0] = 0;
_Iu2[_tl1 + 1] = 0;
_Iu2[_tl1 + 2] = 0;
_Iu2[_tl1 + 3] = 0;
}
_tv2(_vu2);
break;
}
case _mu2: {
_Lu2 = _yu2[_X9 + 1];
_Mu2 = _yu2[_X9 + 2];
_X9 += 3;
_tv2(_xu2);
break;
}
case _nu2: {
_f31 = _yu2[_X9 + 1];
var _j21 = _yu2[_X9 + 2];
var _l21 = _yu2[_X9 + 3];
var _B21 = _yu2[_X9 + 4];
var _C21 = _yu2[_X9 + 5];
var canvas = _yu2[_X9 + 6];
_X9 += 7;
if (!_bs2(_f31, _zk1())) {
_ds2(_f31, _zk1());
_es2(_f31, _zk1());
}
_Mo2.activeTexture(_Mo2.TEXTURE0);
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _f31._Kr2);
_Mo2.texSubImage2D(_Mo2.TEXTURE_2D, 0, _j21, _l21, _B21, _C21, _Mo2.RGBA, _Mo2.UNSIGNED_BYTE, canvas);
if (_Du2.length > 0) {
if (_Du2[0] != null) {
_Mo2.bindTexture(_Mo2.TEXTURE_2D, _Du2[0]._Kr2);
}
}
break;
}
}
}
_yu2.length = 0;
};
}
/*@constructor */ function _pp2(_7w2, _931, _a31, _8w2, _wr2, _9w2, _aw2) {
var _Mo2 = this._op2;
var _bw2, _cw2, _Vz1, _Xz1, _dw2, _ew2, _fw2, _R22;
var _gw2;
Object.defineProperties(this, {
_Lr2: {
get: function () {
return _bw2;
},
},
_Kr2: {
get: function () {
return _cw2;
},
set: function (_M01) {
_cw2 = _M01;
},
},
_Cr2: {
get: function () {
return _Vz1;
},
},
_Dr2: {
get: function () {
return _Xz1;
},
},
_Kv2: {
get: function () {
return _dw2;
},
},
Image: {
get: function () {
return _ew2;
},
},
_hw2: {
get: function () {
return _fw2;
},
},
_zb1: {
get: function () {
return _R22;
},
set: function (_M01) {
_R22 = _M01;
},
},
_Nr2: {
get: function () {
return _gw2;
},
set: function (_M01) {
_gw2 = _M01;
},
},
});
(function () {
_cw2 = _7w2;
_Vz1 = _931;
_Xz1 = _a31;
_dw2 = _8w2;
_ew2 = _wr2;
_fw2 = _9w2;
_R22 = _aw2;
_gw2 = false;
_bw2 = new _rp2();
if (_cw2) {
_bw2._Mr2(_Mo2.TEXTURE_2D);
}
_R22 = _Gr2._iw2;
if (_fw2 !== undefined && _fw2 !== 0) {
_R22 |= _Gr2._Hr2 | _Gr2._jw2;
}
})();
}
var _kw2 = { _iw2: 0, _4w2: 1, _lw2: 2, _mw2: 4, _nw2: 8, _ow2: 16, _Hr2: 32, _pw2: 64 };
Object.freeze(_kw2);
var _qw2 = { _4w2: 0, _rw2: 1, _sw2: 2, _lw2: 3, _Hr2: 4, _Jr2: 5, _jw2: 6, _tw2: 7, _pw2: 8, _mw2: 9, _uw2: 16 };
Object.freeze(_qw2);
var _Gr2 = { _iw2: 0, _4w2: 1 << _qw2._4w2, _rw2: 1 << _qw2._rw2, _sw2: 1 << _qw2._sw2, _lw2: 1 << _qw2._lw2, _Hr2: 1 << _qw2._Hr2, _Jr2: 1 << _qw2._Jr2, _jw2: 1 << _qw2._jw2, _tw2: 1 << _qw2._tw2, _pw2: 1 << _qw2._pw2 };
Object.freeze(_Gr2);
function _vw2(_ww2) {
var _xw2 = [];
var _yw2;
(function () {
if (_ww2 == undefined) _ww2 = 32;
_yw2 = ~~(_ww2 / 32);
if (_yw2 == 0) _yw2 = 1;
_xw2 = new Array(_yw2);
for (var _X9 = 0; _X9 < _yw2; _X9++) {
_xw2[_X9] = 0x0;
}
})();
this._zw2 = function () {
return _ww2;
};
this._Aw2 = function (_Bw2) {
if (_Bw2 >= _ww2) return;
var _Uc1 = ~~(_Bw2 / 32);
var _Cw2 = _Bw2 - _Uc1 * 32;
_xw2[_Uc1] |= 1 << _Cw2;
};
this._Dw2 = function (_Bw2) {
if (_Bw2 >= _ww2) return;
var _Uc1 = ~~(_Bw2 / 32);
var _Cw2 = _Bw2 - _Uc1 * 32;
_xw2[_Uc1] &= ~(1 << _Cw2);
};
this._Ew2 = function (_Bw2) {
if (_Bw2 >= _ww2) return 0;
var _Uc1 = ~~(_Bw2 / 32);
var _Fw2 = _Bw2 - _Uc1 * 32;
var _r91 = (_xw2[_Uc1] >> _Fw2) & 0x1;
return _r91;
};
this._Gw2 = function () {
var _X9;
for (_X9 = 0; _X9 < _yw2 - 1; _X9++) {
_xw2[_X9] = 0xffffffff;
}
var _Hw2 = _ww2 - _X9 * 32;
var _i21;
var _r81 = 1;
for (_i21 = 0; _i21 < _Hw2; _i21++) {
_xw2[_X9] |= _r81;
_r81 <<= 1;
}
};
this._Iw2 = function () {
for (var _X9 = 0; _X9 < _yw2; _X9++) {
_xw2[_X9] = 0x0;
}
};
this._Jw2 = function () {
var _X9;
for (_X9 = 0; _X9 < _yw2; _X9++) {
if (_xw2[_X9] != 0) return 1;
}
return 0;
};
this._Kw2 = function (_9r1) {
var _Lw2 = _9r1._zw2() > this._zw2() ? _9r1._zw2() : this._zw2();
var _Mw2 = new _vw2(_Lw2);
for (var _X9 = 0; _X9 < _Lw2; _X9++) {
var _Nw2 = this._Ew2(_X9) | _9r1._Ew2(_X9);
if (_Nw2 == 1) {
_Mw2._Aw2(_X9);
}
}
return _Mw2;
};
this._Ow2 = function (_9r1) {
var _Lw2 = _9r1._zw2() > this._zw2() ? _9r1._zw2() : this._zw2();
var _Mw2 = new _vw2(_Lw2);
for (var _X9 = 0; _X9 < _Lw2; _X9++) {
var _Nw2 = this._Ew2(_X9) & _9r1._Ew2(_X9);
if (_Nw2 == 1) {
_Mw2._Aw2(_X9);
}
}
return _Mw2;
};
}
function _Pw2(_Qw2, _Rw2, _Sw2) {
var _Tw2 = [];
var _Uw2 = [];
(function () {
_Tw2 = new Array(_Qw2);
_Uw2 = new Array(_Rw2 * _Sw2);
})();
Object.defineProperties(this, {
_Vw2: {
get: function () {
return _Tw2;
},
set: function (_r91) {
_Tw2 = _r91;
},
},
_Ww2: {
get: function () {
return _Uw2;
},
set: function (_r91) {
_Uw2 = _r91;
},
},
});
}
/*@constructor */ function _hp2(_Xw2, _Yw2, _Zw2, _Wt2) {
var _Mo2 = this._op2;
var __w2 = null;
var _232 = null;
var _0x2 = [];
var _1x2;
var _2x2 = null;
var _3x2 = null;
var _4x2 = false;
var _5x2 = _Zw2;
(function () {
_2x2 = new _vw2(64);
_3x2 = new _vw2(64);
__w2 = new _Pw2(_Z41._et2, _Xw2, _Z41._vt2);
_232 = new _Pw2(_Z41._et2, _Xw2, _Z41._vt2);
_0x2 = new Array(_Yw2);
for (var _X9 = 0; _X9 < _Yw2; _X9++) {
_0x2[_X9] = new _Pw2(_Z41._et2, _Xw2, _Z41._vt2);
}
_Tu2();
})();
function _Tu2() {
_2x2._Gw2();
_3x2._Gw2();
_4x2 = true;
_1x2 = 0;
__w2._Vw2[_Z41._Qm1] = false;
__w2._Vw2[_Z41._0t2] = _Z41._Bt2;
__w2._Vw2[_Z41._1t2] = _Z41._Dt2;
__w2._Vw2[_Z41._Tm1] = true;
__w2._Vw2[_Z41._jn1] = false;
__w2._Vw2[_Z41._c51] = _Z41.__41;
__w2._Vw2[_Z41._d51] = _Z41._151;
__w2._Vw2[_Z41._1n1] = _Z41._Gq2;
__w2._Vw2[_Z41._Sm1] = _Z41._qt2;
__w2._Vw2[_Z41._ln1] = 0;
__w2._Vw2[_Z41._mn1] = _Z41._rt2;
__w2._Vw2[_Z41._Pm1] = true;
__w2._Vw2[_Z41._Xm1] = false;
__w2._Vw2[_Z41._2t2] = false;
__w2._Vw2[_Z41._Ym1] = 0x00000000;
__w2._Vw2[_Z41._3t2] = _Z41._Jt2;
__w2._Vw2[_Z41._Zm1] = 0.0;
__w2._Vw2[_Z41.__m1] = 1.0;
__w2._Vw2[_Z41._4t2] = 0;
__w2._Vw2[_Z41._5t2] = false;
__w2._Vw2[_Z41._6t2] = false;
__w2._Vw2[_Z41._7t2] = 0x00000000;
__w2._Vw2[_Z41._8t2] = _Z41._Jt2;
__w2._Vw2[_Z41._in1] = _Z41._Lt2 | _Z41._Nt2 | _Z41._Mt2 | _Z41._Ot2;
__w2._Vw2[_Z41._1r2] = false;
__w2._Vw2[_Z41._9t2] = _Z41._ft2;
__w2._Vw2[_Z41._at2] = _Z41._ft2;
__w2._Vw2[_Z41._6r2] = _Z41._ft2;
__w2._Vw2[_Z41._3r2] = _Z41._ut2;
__w2._Vw2[_Z41._9r2] = 0;
__w2._Vw2[_Z41._bt2] = 0xffffffff;
__w2._Vw2[_Z41._ct2] = 0xffffffff;
__w2._Vw2[_Z41._g51] = false;
__w2._Vw2[_Z41._e51] = _Z41.__41;
__w2._Vw2[_Z41._f51] = _Z41._151;
__w2._Vw2[_Z41._dt2] = 0;
var _X9;
for (_X9 = 0; _X9 < _Z41._et2; _X9++) {
_232._Vw2[_X9] = __w2._Vw2[_X9];
}
var index = 0;
for (_X9 = 0; _X9 < _Xw2; _X9++) {
__w2._Ww2[index + _Z41._rn1] = _Wt2 == true ? _Z41._sn1 : _Z41._un1;
__w2._Ww2[index + _Z41._tn1] = _Wt2 == true ? _Z41._sn1 : _Z41._un1;
__w2._Ww2[index + _Z41._Cn1] = _Wt2 == true ? _Z41._sn1 : _Z41._un1;
__w2._Ww2[index + _Z41._xn1] = _Z41._An1;
__w2._Ww2[index + _Z41._zn1] = _Z41._An1;
__w2._Ww2[index + _Z41._In1] = 0;
__w2._Ww2[index + _Z41._Kn1] = 0;
__w2._Ww2[index + _Z41._Gn1] = 0;
__w2._Ww2[index + _Z41._Mn1] = 0;
__w2._Ww2[index + _Z41._Nn1] = _Z41._Fr2;
index += _Z41._vt2;
}
for (_X9 = 0; _X9 < _Z41._vt2 * _Xw2; _X9++) {
_232._Ww2[_X9] = __w2._Ww2[_X9];
}
_1x2 = 0;
}
this._ls1 = function () {
_Tu2();
};
this._6x2 = function () {
return _2x2;
};
this._7x2 = function () {
return _3x2;
};
this._8x2 = function () {
return _4x2;
};
this._t51 = function (_jv2, _kn1) {
if (_232._Vw2[_jv2] == _kn1) return;
if (__w2._Vw2[_jv2] != _kn1) {
_2x2._Aw2(_jv2);
} else {
_2x2._Dw2(_jv2);
}
_232._Vw2[_jv2] = _kn1;
_4x2 = _2x2._Jw2() || _3x2._Jw2();
};
this._qn1 = function (_Xq2, _jv2, _kn1) {
var index = _Xq2 * _Z41._vt2 + _jv2;
if (_232._Ww2[index] == _kn1) return;
if (__w2._Ww2[index] != _kn1) {
_3x2._Aw2(index);
} else {
_3x2._Dw2(index);
}
_232._Ww2[index] = _kn1;
_4x2 = _2x2._Jw2() || _3x2._Jw2();
};
this._b51 = function (_jv2) {
return _232._Vw2[_jv2];
};
this._Tn1 = function (_Xq2, _jv2) {
return _232._Ww2[_Xq2 * _Z41._vt2 + _jv2];
};
this._Un1 = function () {
_0x2[_1x2]._Vw2 = _232._Vw2.slice();
_0x2[_1x2]._Ww2 = _232._Ww2.slice();
if (_1x2 < _Yw2) {
_1x2++;
} else {
debug("GPU state stack has run out of space");
}
};
this._Vn1 = function () {
if (_1x2 > 0) {
_1x2--;
} else {
debug("Attempting to drop below bottom of GPU state stack");
}
var _X9;
for (_X9 = 0; _X9 < _Z41._et2; _X9++) {
this._t51(_X9, _0x2[_1x2]._Vw2[_X9]);
}
for (_X9 = 0; _X9 < _Xw2; _X9++) {
var _i21;
for (_i21 = 0; _i21 < _Z41._vt2; _i21++) {
this._qn1(_X9, _i21, _0x2[_1x2]._Ww2[_X9 * _Xw2 + _i21]);
}
}
};
this._EM1 = function () {
var _X9;
if (_2x2._Jw2()) {
for (_X9 = 0; _X9 < _Z41._et2; _X9++) {
if (_2x2._Ew2(_X9) != 0) {
_5x2._t51(_X9, _232._Vw2[_X9]);
__w2._Vw2[_X9] = _232._Vw2[_X9];
}
}
_2x2._Iw2();
}
if (_3x2._Jw2()) {
for (_X9 = 0; _X9 < _Xw2 * _Z41._vt2; _X9++) {
if (_3x2._Ew2(_X9) != 0) {
var _En1 = ~~(_X9 / _Z41._vt2);
var state = _X9 - _En1 * _Z41._vt2;
_5x2._qn1(_En1, state, _232._Ww2[_X9]);
__w2._Ww2[_X9] = _232._Ww2[_X9];
}
}
_3x2._Iw2();
}
_4x2 = false;
};
}
/*@constructor */ function _rp2(_Wt2) {
var _Mo2 = this._op2;
var _9x2 = [];
Object.defineProperties(this, {
_Fv2: {
get: function () {
return _9x2;
},
},
});
(function () {
if (_Wt2) {
_9x2[_Z41._rn1] = _Z41._sn1;
_9x2[_Z41._tn1] = _Z41._sn1;
_9x2[_Z41._Cn1] = _Z41._sn1;
} else {
_9x2[_Z41._rn1] = _Z41._un1;
_9x2[_Z41._tn1] = _Z41._un1;
_9x2[_Z41._Cn1] = _Z41._un1;
}
_9x2[_Z41._xn1] = _Z41._An1;
_9x2[_Z41._zn1] = _Z41._An1;
})();
/*@this {yyTextureSamplerState} */ this._Mr2 = function (_eP1) {
var _ax2 = _9x2;
_Mo2.texParameteri(_eP1, _Mo2.TEXTURE_MAG_FILTER, _ax2[_Z41._rn1] == _Z41._sn1 ? _Mo2.LINEAR : _Mo2.NEAREST);
_Mo2.texParameteri(_eP1, _Mo2.TEXTURE_MIN_FILTER, _ax2[_Z41._tn1] == _Z41._sn1 ? _Mo2.LINEAR : _Mo2.NEAREST);
_Mo2.texParameteri(_eP1, _Mo2.TEXTURE_WRAP_S, _ax2[_Z41._xn1] == _Z41._An1 ? _Mo2.CLAMP_TO_EDGE : _Mo2.REPEAT);
_Mo2.texParameteri(_eP1, _Mo2.TEXTURE_WRAP_T, _ax2[_Z41._zn1] == _Z41._An1 ? _Mo2.CLAMP_TO_EDGE : _Mo2.REPEAT);
};
}
/*@constructor */ function _G71(_781, _bx2, _cx2) {
var _Mo2 = this._op2;
this._dx2 = null;
this._U71 = null;
this._Ov2 = null;
this._C51 = null;
this._E51 = null;
this.__71 = null;
this._G51 = null;
this._Tv2 = _bx2;
this._6w2 = -1;
this._A51 = 0;
this._ex2 = _781;
this._4w2 = false;
_fx2(this);
function _fx2(_IM1) {
_gx2(_IM1);
_hx2(_IM1);
if (_cx2) {
_ix2(_IM1);
}
}
function _gx2(_IM1) {
var _jx2 = _IM1._Tv2._u81;
_IM1._dx2 = new ArrayBuffer(_781 * _jx2);
_IM1._U71 = new Int8Array(_IM1._dx2);
}
function _ix2(_IM1) {
_IM1._Ov2 = _Mo2.createBuffer();
_Mo2.bindBuffer(_Mo2.ARRAY_BUFFER, _IM1._Ov2);
_Mo2.bufferData(_Mo2.ARRAY_BUFFER, _IM1._U71, _Mo2.DYNAMIC_DRAW);
}
function _hx2(_IM1) {
var _kx2 = _IM1._Tv2._o81;
for (var _W11 = 0; _W11 < _kx2.length; _W11++) {
var _Uv2 = _kx2[_W11];
switch (_Uv2._q81) {
case _Z41._F81:
_IM1._C51 = _lx2(_Uv2._Wv2, _IM1._dx2, _Uv2.offset);
break;
case _Z41._K81:
_IM1._E51 = _lx2(_Uv2._Wv2, _IM1._dx2, _Uv2.offset);
break;
case _Z41._U81:
_IM1.__71 = _lx2(_Uv2._Wv2, _IM1._dx2, _Uv2.offset);
break;
case _Z41._S81:
_IM1._G51 = _lx2(_Uv2._Wv2, _IM1._dx2, _Uv2.offset);
break;
}
}
}
function _lx2(_mx2, _nx2, _ox2) {
switch (_mx2) {
case _Mo2.UNSIGNED_BYTE:
return new Int32Array(_nx2, _ox2);
break;
case _Mo2.FLOAT:
return new Float32Array(_nx2, _ox2);
break;
}
return false;
}
/*@this {yyVBuffer} */ this._px2 = function (_xs2) {
if (_xs2._z51() === this._z51()) {
var _491 = _xs2._A51 * _xs2._z51();
var offset = this._A51 * this._z51();
if (offset + _491 > this._U71.length) {
var _qx2 = new ArrayBuffer(this._U71.length * 2);
var _T71 = new Int8Array(_qx2);
_T71.set(this._U71);
this._U71 = _T71;
this._dx2 = _qx2;
_hx2(this);
}
this._U71.set(_xs2._U71.subarray(0, _491), offset);
this._A51 += _xs2._A51;
}
};
/*@this {yyVBuffer} */ this._291 = function () {
if (this._A51 < this.max) {
var _491 = this._A51 * this._z51();
var _rx2 = new ArrayBuffer(_491);
var _sx2 = new Int8Array(_rx2);
_sx2.set(this._U71.subarray(0, _491));
this._U71 = _sx2;
this._dx2 = _rx2;
}
this._Ov2 = _Mo2.createBuffer();
_Mo2.bindBuffer(_Mo2.ARRAY_BUFFER, this._Ov2);
_Mo2.bufferData(_Mo2.ARRAY_BUFFER, this._U71, _Mo2.STATIC_DRAW);
this._C51 = null;
this._E51 = null;
this.__71 = null;
this._G51 = null;
};
/*@this {yyVBuffer} */ this._J71 = function (_tx2) {
if (this._A51 + _tx2 > this.max) {
var _ux2 = this.max * 2;
this.max = _ux2;
var _w81 = new ArrayBuffer(_ux2);
var _y81 = new Int8Array(_w81);
_y81.set(this._U71);
this._dx2 = _w81;
_hx2(this);
}
this._A51 += _tx2;
};
/*@this {yyVBuffer} */ this._z51 = function () {
return this._Tv2._u81;
};
/*@this {yyVBuffer} */ this._5w2 = function () {
_Mo2.bindBuffer(_Mo2.ARRAY_BUFFER, this._Ov2);
var _vx2 = new Int8Array(this._dx2, 0, this._A51 * this._Tv2._u81);
_Mo2.bufferSubData(_Mo2.ARRAY_BUFFER, 0, _vx2);
this._A51 = 0;
this._4w2 = false;
};
}
/*@constructor */ function _ip2(_Zw2, _wx2) {
var _Mo2 = this._op2;
var _xx2 = [];
var _yx2 = 0,
_zu2 = null,
_zx2 = null,
_Ax2 = _Z41._Cs2,
_Au2 = null;
var _5x2 = _Zw2;
var _Bx2 = _wx2;
/*@this {yyVBufferManager} */ this._Fp2 = function (_A81) {
if (_xx2[_A81]) {
debug("WARNING: Vertex format has already been registered\n");
} else {
_xx2[_A81] = new _jc1();
}
};
/*@this {yyVBufferManager} */ this._zs2 = function (_w71, _891, _xs2, _ys2) {
var size = _xs2._A51 - _ys2;
switch (_w71) {
case _Z41._w51:
_5x2._or2(0, _891);
_5x2._5v2(_xs2);
_5x2._7v2(_ys2, size);
break;
case _Z41._B71:
_5x2._or2(0, _891);
_5x2._5v2(_xs2);
_5x2._9v2(_ys2, size);
break;
case _Z41._A71:
_5x2._or2(0, _891);
_5x2._5v2(_xs2);
_5x2._av2(_ys2, size);
break;
case _Z41._y71:
_5x2._or2(0, null);
_5x2._5v2(_xs2);
_5x2._bv2(_ys2, size);
break;
case _Z41._z71:
_5x2._or2(0, null);
_5x2._5v2(_xs2);
_5x2._cv2(_ys2, size);
break;
case _Z41._x71:
_5x2._or2(0, null);
_5x2._5v2(_xs2);
_5x2._U72(_ys2, size);
break;
}
};
/*@this {yyVBufferManager} */ this._EM1 = function () {
if (_zx2 == null) {
_Bx2._EM1();
return;
}
this._zs2(_Ax2, _zu2, _zx2, _yx2);
_zx2 = _zu2 = null;
_Ax2 = _Z41._Cs2;
_Bx2._EM1();
};
/*@this {yyVBufferManager} */ this._v51 = function (_w71, _Cx2, _A81, _Dx2, _bx2, _Ex2) {
var _X9, _Fx2, _u51, _Gx2;
_Gx2 = _Cx2;
if (_zx2 != null) {
if (_zx2._Jp2 == _A81 && _zx2._A51 + _Dx2 <= _zx2._ex2 && _zu2 == _Gx2 && _Ax2 == _w71 && _w71 != _Z41._z71 && _w71 != _Z41._A71 && _w71 != _Z41._B71 && _Bx2._8x2() == false) {
return _zx2;
} else {
var _Hx2 = _zx2;
_131._EM1();
if (_Hx2._Jp2 == _A81 && _Hx2._A51 + _Dx2 <= _Hx2._ex2) {
_zx2 = _Hx2;
_yx2 = _Hx2._A51;
_Ax2 = _w71;
_zu2 = _Gx2;
return _zx2;
}
}
} else this._EM1();
_Ax2 = _w71;
_zu2 = _Gx2;
_Fx2 = _xx2[_A81]._xc1;
for (_X9 = _Fx2.length - 1; _X9 >= 0; _X9--) {
_u51 = _Fx2[_X9];
if (_u51._6w2 + 1 < _Ex2 && _u51._A51 + _Dx2 <= _u51._ex2) {
_u51._4w2 = true;
_yx2 = _u51._A51;
_zx2 = _u51;
return _u51;
}
}
if (_Dx2 < _H71) {
_Dx2 = _H71;
}
_u51 = new _G71(_Dx2, _bx2, true);
_u51._Jp2 = _A81;
_u51._4w2 = true;
_yx2 = _u51._A51;
_zx2 = _u51;
_xx2[_A81]._Da1(_u51);
return _u51;
};
}
/*@constructor */ function _qp2() {
var _Mo2 = this._op2;
var _Ix2 = 1,
_Jx2 = false,
_Kx2 = [],
_Lx2 = 0,
_Mx2 = 0;
this._Zv2 = [];
Object.defineProperties(this, {
_o81: {
get: function () {
return _Kx2;
},
set: function (_r91) {
_Kx2 = _r91;
},
},
_t81: {
get: function () {
return _Mx2;
},
set: function (_r91) {
_Mx2 = _r91;
},
},
_u81: {
get: function () {
return _Lx2;
},
set: function (_r91) {
_Lx2 = _r91;
},
},
_Gp2: {
get: function () {
return _Jx2;
},
set: function (_r91) {
_Jx2 = _r91;
},
},
});
function _Nx2(_l81, _k81, _Ox2) {
var _p81 = { offset: _Lx2, type: _l81, _q81: _k81, _r81: _Ox2, _Wv2: 0, _Vv2: 0, _Xv2: false };
return _p81;
}
function _Da1(_l81, _k81, _Ox2) {
_Mx2 |= _Ox2;
var _Uv2 = _Nx2(_l81, _k81, _Ox2);
switch (_l81) {
case _Z41._L81:
case _Z41._191:
_Lx2 += 4;
_Uv2._Wv2 = _Mo2.UNSIGNED_BYTE;
_Uv2._Vv2 = 4;
_Uv2._Xv2 = true;
break;
case _Z41._W81:
_Lx2 += 4;
_Uv2._Wv2 = _Mo2.FLOAT;
_Uv2._Vv2 = 1;
_Uv2._Xv2 = false;
break;
case _Z41._G81:
_Lx2 += 8;
_Uv2._Wv2 = _Mo2.FLOAT;
_Uv2._Vv2 = 2;
_Uv2._Xv2 = false;
break;
case _Z41._I81:
_Lx2 += 12;
_Uv2._Wv2 = _Mo2.FLOAT;
_Uv2._Vv2 = 3;
_Uv2._Xv2 = false;
break;
case _Z41.__81:
_Lx2 += 16;
_Uv2._Wv2 = _Mo2.FLOAT;
_Uv2._Vv2 = 4;
_Uv2._Xv2 = false;
break;
}
_Kx2.push(_Uv2);
}
/*@this {yyVertexFormat} */ this._Px2 = function () {
_Da1(_Z41._G81, _Z41._F81, _Ix2);
_Ix2 = _Ix2 << 1;
};
/*@this {yyVertexFormat} */ this._Bp2 = function () {
_Da1(_Z41._I81, _Z41._F81, _Ix2);
_Ix2 = _Ix2 << 1;
};
/*@this {yyVertexFormat} */ this._Cp2 = function () {
_Da1(_Z41._L81, _Z41._K81, _Ix2);
_Ix2 = _Ix2 << 1;
};
/*@this {yyVertexFormat} */ this._Ep2 = function () {
_Da1(_Z41._I81, _Z41._U81, _Ix2);
_Ix2 = _Ix2 << 1;
};
/*@this {yyVertexFormat} */ this._Dp2 = function () {
_Da1(_Z41._G81, _Z41._S81, _Ix2);
_Ix2 = _Ix2 << 1;
};
/*@this {yyVertexFormat} */ this._Qx2 = function (_l81, _k81) {
if (_l81 < _Z41._W81 || _l81 > _Z41._Os2) {
debug("ERROR vertex_format_add_custom: illegal types");
return;
}
if (_k81 < _Z41._F81 || _k81 > _Z41._Ns2) {
debug("ERROR vertex_format_add_custom: illegal usage");
return;
}
_Da1(_l81, _k81, _Ix2);
_Ix2 = _Ix2 << 1;
};
/*@this {yyVertexFormat} */ this._xS1 = function (_Ip2) {
if (_Kx2.length !== _Ip2._o81.length) {
return false;
}
for (var _X9 = 0; _X9 < _Kx2.length; _X9++) {
var _Rx2 = _Kx2[_X9];
var _Sx2 = _Ip2._o81[_X9];
if (_Rx2.offset !== _Sx2.offset || _Rx2.type !== _Sx2.type || _Rx2._q81 !== _Sx2._q81 || _Rx2._r81 !== _Sx2._r81 || _Rx2._Wv2 !== _Sx2._Wv2 || _Rx2._Vv2 !== _Sx2._Vv2) {
return false;
}
}
return true;
};
}
var _Tx2 = null;
try {
_Tx2 = new _Ux2._Vx2(
new _Ux2._Wx2(
new Uint8Array([
0,
97,
115,
109,
1,
0,
0,
0,
1,
13,
2,
96,
0,
1,
127,
96,
4,
127,
127,
127,
127,
1,
127,
3,
7,
6,
0,
1,
1,
1,
1,
1,
6,
6,
1,
127,
1,
65,
0,
11,
7,
50,
6,
3,
109,
117,
108,
0,
1,
5,
100,
105,
118,
95,
115,
0,
2,
5,
100,
105,
118,
95,
117,
0,
3,
5,
114,
101,
109,
95,
115,
0,
4,
5,
114,
101,
109,
95,
117,
0,
5,
8,
103,
101,
116,
95,
104,
105,
103,
104,
0,
0,
10,
191,
1,
6,
4,
0,
35,
0,
11,
36,
1,
1,
126,
32,
0,
173,
32,
1,
173,
66,
32,
134,
132,
32,
2,
173,
32,
3,
173,
66,
32,
134,
132,
126,
34,
4,
66,
32,
135,
167,
36,
0,
32,
4,
167,
11,
36,
1,
1,
126,
32,
0,
173,
32,
1,
173,
66,
32,
134,
132,
32,
2,
173,
32,
3,
173,
66,
32,
134,
132,
127,
34,
4,
66,
32,
135,
167,
36,
0,
32,
4,
167,
11,
36,
1,
1,
126,
32,
0,
173,
32,
1,
173,
66,
32,
134,
132,
32,
2,
173,
32,
3,
173,
66,
32,
134,
132,
128,
34,
4,
66,
32,
135,
167,
36,
0,
32,
4,
167,
11,
36,
1,
1,
126,
32,
0,
173,
32,
1,
173,
66,
32,
134,
132,
32,
2,
173,
32,
3,
173,
66,
32,
134,
132,
129,
34,
4,
66,
32,
135,
167,
36,
0,
32,
4,
167,
11,
36,
1,
1,
126,
32,
0,
173,
32,
1,
173,
66,
32,
134,
132,
32,
2,
173,
32,
3,
173,
66,
32,
134,
132,
130,
34,
4,
66,
32,
135,
167,
36,
0,
32,
4,
167,
11,
])
),
{}
).__l2;
} catch (e) {}
/*
* Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.
* See the from* functions below for more convenient ways of constructing Longs.
* @exports Long
* @class A Long class for representing a 64 bit two's-complement integer value.
* @param {number} low The low (signed) 32 bits of the long
* @param {number} high The high (signed) 32 bits of the long
* @param {boolean=} unsigned Whether unsigned or not, defaults to signed
* @constructor
*/ function Long(_eL1, _xL1, _Xx2) {
/*
* The low 32 bits as a signed value.
* @type {number}
*/ this._eL1 = _eL1 | 0;
/*
* The high 32 bits as a signed value.
* @type {number}
*/ this._xL1 = _xL1 | 0;
/*
* Whether unsigned or not.
* @type {boolean}
*/ this._Xx2 = !!_Xx2;
}
/*
* An indicator used to reliably determine if an object is a Long or not.
* @type {boolean}
* @const
* @private
*/ Long.prototype.__isLong__;
Object.defineProperty(Long.prototype, "__isLong__", { value: !0 });
/*
* @function
* @param {*} obj Object
* @returns {boolean}
* @inner
*/ function _Yx2(_cq1) {
return (_cq1 && _cq1["__isLong__"]) === true;
}
/*
* Tests if the specified object is a Long.
* @function
* @param {*} obj Object
* @returns {boolean}
*/ Long._Yx2 = _Yx2;
/*
* A cache of the Long representations of small integer values.
* @type {!Object}
* @inner
*/ var _Zx2 = {};
/*
* A cache of the Long representations of small unsigned integer values.
* @type {!Object}
* @inner
*/ var __x2 = {};
/*
* @param {number} value
* @param {boolean=} unsigned
* @returns {!Long}
* @inner
*/ function _0y2(value, _Xx2) {
var _cq1, _1y2, _c31;
if (_Xx2) {
value >>>= 0;
if ((_c31 = 0 <= value && value < 256)) {
_1y2 = __x2[value];
if (_1y2) return _1y2;
}
_cq1 = _2y2(value, (value | 0) < 0 ? -1 : 0, true);
if (_c31) __x2[value] = _cq1;
return _cq1;
} else {
value |= 0;
if ((_c31 = -128 <= value && value < 128)) {
_1y2 = _Zx2[value];
if (_1y2) return _1y2;
}
_cq1 = _2y2(value, value < 0 ? -1 : 0, false);
if (_c31) _Zx2[value] = _cq1;
return _cq1;
}
}
/*
* Returns a Long representing the given 32 bit integer value.
* @function
* @param {number} value The 32 bit integer in question
* @param {boolean=} unsigned Whether unsigned or not, defaults to signed
* @returns {!Long} The corresponding Long value
*/ Long._0y2 = _0y2;
/*
* @param {number} value
* @param {boolean=} unsigned
* @returns {!Long}
* @inner
*/ function _3y2(value, _Xx2) {
if (isNaN(value)) return _Xx2 ? _4y2 : ZERO;
if (_Xx2) {
if (value < 0) return _4y2;
if (value >= _5y2) return _6y2;
} else {
if (value <= -_7y2) return MIN_VALUE;
if (value + 1 >= _7y2) return MAX_VALUE;
}
if (value < 0) return _3y2(-value, _Xx2)._8y2();
return _2y2(value % _9y2 | 0, (value / _9y2) | 0, _Xx2);
}
/*
* Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.
* @function
* @param {number} value The number in question
* @param {boolean=} unsigned Whether unsigned or not, defaults to signed
* @returns {!Long} The corresponding Long value
*/ Long._3y2 = _3y2;
/*
* @param {number} lowBits
* @param {number} highBits
* @param {boolean=} unsigned
* @returns {!Long}
* @inner
*/ function _2y2(_cL1, _bL1, _Xx2) {
return new Long(_cL1, _bL1, _Xx2);
}
/*
* Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is
* assumed to use 32 bits.
* @function
* @param {number} lowBits The low 32 bits
* @param {number} highBits The high 32 bits
* @param {boolean=} unsigned Whether unsigned or not, defaults to signed
* @returns {!Long} The corresponding Long value
*/ Long._2y2 = _2y2;
/*
* @function
* @param {number} base
* @param {number} exponent
* @returns {number}
* @inner
*/ var _ay2 = Math.pow;
/*
* @param {string} str
* @param {(boolean|number)=} unsigned
* @param {number=} radix
* @returns {!Long}
* @inner
*/ function _by2(_yp1, _Xx2, _cy2) {
if (_yp1.length === 0) throw Error("empty string");
if (_yp1 === "NaN" || _yp1 === "Infinity" || _yp1 === "+Infinity" || _yp1 === "-Infinity") return ZERO;
if (typeof _Xx2 === "number") {
(_cy2 = _Xx2), (_Xx2 = false);
} else {
_Xx2 = !!_Xx2;
}
_cy2 = _cy2 || 10;
if (_cy2 < 2 || 36 < _cy2) throw _dy2("radix");
var _ot1;
if ((_ot1 = _yp1.indexOf("-")) > 0) throw Error("interior hyphen");
else if (_ot1 === 0) {
return _by2(_yp1.substring(1), _Xx2, _cy2)._8y2();
}
var _ey2 = _3y2(_ay2(_cy2, 8));
var result = ZERO;
for (var _X9 = 0; _X9 < _yp1.length; _X9 += 8) {
var size = Math.min(8, _yp1.length - _X9),
value = parseInt(_yp1.substring(_X9, _X9 + size), _cy2);
if (size < 8) {
var _5B1 = _3y2(_ay2(_cy2, size));
result = result._qB1(_5B1).add(_3y2(value));
} else {
result = result._qB1(_ey2);
result = result.add(_3y2(value));
}
}
result._Xx2 = _Xx2;
return result;
}
/*
* Returns a Long representation of the given string, written using the specified radix.
* @function
* @param {string} str The textual representation of the Long
* @param {(boolean|number)=} unsigned Whether unsigned or not, defaults to signed
* @param {number=} radix The radix in which the text is written (2-36), defaults to 10
* @returns {!Long} The corresponding Long value
*/ Long._by2 = _by2;
/*
* @function
* @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val
* @param {boolean=} unsigned
* @returns {!Long}
* @inner
*/ function _fy2(_r91, _Xx2) {
if (typeof _r91 === "number") return _3y2(_r91, _Xx2);
if (typeof _r91 === "string") return _by2(_r91, _Xx2);
return _2y2(_r91._eL1, _r91._xL1, typeof _Xx2 === "boolean" ? _Xx2 : _r91._Xx2);
}
/*
* Converts the specified value to a Long using the appropriate from* function for its type.
* @function
* @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val Value
* @param {boolean=} unsigned Whether unsigned or not, defaults to signed
* @returns {!Long}
*/ Long._fy2 = _fy2;
/*
* @type {number}
* @const
* @inner
*/ var _gy2 = 1 << 16;
/*
* @type {number}
* @const
* @inner
*/ var _hy2 = 1 << 24;
/*
* @type {number}
* @const
* @inner
*/ var _9y2 = _gy2 * _gy2;
/*
* @type {number}
* @const
* @inner
*/ var _5y2 = _9y2 * _9y2;
/*
* @type {number}
* @const
* @inner
*/ var _7y2 = _5y2 / 2;
/*
* @type {!Long}
* @const
* @inner
*/ var _iy2 = _0y2(_hy2);
/*
* @type {!Long}
* @inner
*/ var ZERO = _0y2(0);
/*
* Signed zero.
* @type {!Long}
*/ Long.ZERO = ZERO;
/*
* @type {!Long}
* @inner
*/ var _4y2 = _0y2(0, !0);
/*
* Unsigned zero.
* @type {!Long}
*/ Long._4y2 = _4y2;
/*
* @type {!Long}
* @inner
*/ var ONE = _0y2(1);
/*
* Signed one.
* @type {!Long}
*/ Long.ONE = ONE;
/*
* @type {!Long}
* @inner
*/ var _jy2 = _0y2(1, !0);
/*
* Unsigned one.
* @type {!Long}
*/ Long._jy2 = _jy2;
/*
* @type {!Long}
* @inner
*/ var _ky2 = _0y2(-1);
/*
* Signed negative one.
* @type {!Long}
*/ Long._ky2 = _ky2;
/*
* @type {!Long}
* @inner
*/ var MAX_VALUE = _2y2(0xffffffff | 0, 0x7fffffff | 0, !1);
/*
* Maximum signed value.
* @type {!Long}
*/ Long.MAX_VALUE = MAX_VALUE;
/*
* @type {!Long}
* @inner
*/ var _6y2 = _2y2(0xffffffff | 0, 0xffffffff | 0, !0);
/*
* Maximum unsigned value.
* @type {!Long}
*/ Long._6y2 = _6y2;
/*
* @type {!Long}
* @inner
*/ var MIN_VALUE = _2y2(0, 0x80000000 | 0, !1);
/*
* Minimum signed value.
* @type {!Long}
*/ Long.MIN_VALUE = MIN_VALUE;
/*
* @alias Long.prototype
* @inner
*/ var _ly2 = Long.prototype;
/*
* Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.
* @returns {number}
*/ _ly2._my2 = function _my2() {
return this._Xx2 ? this._eL1 >>> 0 : this._eL1;
};
/*
* Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).
* @returns {number}
*/ _ly2._Ic1 = function _Ic1() {
if (this._Xx2) return (this._xL1 >>> 0) * _9y2 + (this._eL1 >>> 0);
return this._xL1 * _9y2 + (this._eL1 >>> 0);
};
/*
* Converts the Long to a string written in the specified radix.
* @param {number=} radix Radix (2-36), defaults to 10
* @returns {string}
* @override
* @throws {RangeError} If `radix` is out of range
*/ _ly2.toString = function toString(_cy2) {
_cy2 = _cy2 || 10;
if (_cy2 < 2 || 36 < _cy2) throw _dy2("radix");
if (this._ny2()) return "0";
if (this._oy2()) {
if (this._py2(MIN_VALUE)) {
var _qy2 = _3y2(_cy2),
_2p1 = this._2p1(_qy2),
_ry2 = _2p1._qB1(_qy2).sub(this);
return _2p1.toString(_cy2) + _ry2._my2().toString(_cy2);
} else return "-" + this._8y2().toString(_cy2);
}
var _ey2 = _3y2(_ay2(_cy2, 6), this._Xx2),
_sy2 = this;
var result = "";
while (true) {
var _ty2 = _sy2._2p1(_ey2),
_uy2 = _sy2.sub(_ty2._qB1(_ey2))._my2() >>> 0,
_vy2 = _uy2.toString(_cy2);
_sy2 = _ty2;
if (_sy2._ny2()) return _vy2 + result;
else {
while (_vy2.length < 6) _vy2 = "0" + _vy2;
result = "" + _vy2 + result;
}
}
};
/*
* Gets the high 32 bits as a signed integer.
* @returns {number} Signed high bits
*/ _ly2._wy2 = function _wy2() {
return this._xL1;
};
/*
* Gets the high 32 bits as an unsigned integer.
* @returns {number} Unsigned high bits
*/ _ly2._xy2 = function _xy2() {
return this._xL1 >>> 0;
};
/*
* Gets the low 32 bits as a signed integer.
* @returns {number} Signed low bits
*/ _ly2._yy2 = function _yy2() {
return this._eL1;
};
/*
* Gets the low 32 bits as an unsigned integer.
* @returns {number} Unsigned low bits
*/ _ly2._zy2 = function _zy2() {
return this._eL1 >>> 0;
};
/*
* Gets the number of bits needed to represent the absolute value of this Long.
* @returns {number}
*/ _ly2._Ay2 = function _Ay2() {
if (this._oy2()) return this._py2(MIN_VALUE) ? 64 : this._8y2()._Ay2();
var _r91 = this._xL1 != 0 ? this._xL1 : this._eL1;
for (var _r81 = 31; _r81 > 0; _r81--) if ((_r91 & (1 << _r81)) != 0) break;
return this._xL1 != 0 ? _r81 + 33 : _r81 + 1;
};
/*
* Tests if this Long's value equals zero.
* @returns {boolean}
*/ _ly2._ny2 = function _ny2() {
return this._xL1 === 0 && this._eL1 === 0;
};
/*
* Tests if this Long's value equals zero. This is an alias of {@link Long#isZero}.
* @returns {boolean}
*/ _ly2._By2 = _ly2._ny2;
/*
* Tests if this Long's value is negative.
* @returns {boolean}
*/ _ly2._oy2 = function _oy2() {
return !this._Xx2 && this._xL1 < 0;
};
/*
* Tests if this Long's value is positive.
* @returns {boolean}
*/ _ly2._Cy2 = function _Cy2() {
return this._Xx2 || this._xL1 >= 0;
};
/*
* Tests if this Long's value is odd.
* @returns {boolean}
*/ _ly2._Dy2 = function _Dy2() {
return (this._eL1 & 1) === 1;
};
/*
* Tests if this Long's value is even.
* @returns {boolean}
*/ _ly2._Ey2 = function _Ey2() {
return (this._eL1 & 1) === 0;
};
/*
* Tests if this Long's value equals the specified's.
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Fy2 = function _Fy2(_6Z1) {
if (!_Yx2(_6Z1)) _6Z1 = _fy2(_6Z1);
if (this._Xx2 !== _6Z1._Xx2 && this._xL1 >>> 31 === 1 && _6Z1._xL1 >>> 31 === 1) return false;
return this._xL1 === _6Z1._xL1 && this._eL1 === _6Z1._eL1;
};
/*
* Tests if this Long's value equals the specified's. This is an alias of {@link Long#equals}.
* @function
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._py2 = _ly2._Fy2;
/*
* Tests if this Long's value differs from the specified's.
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Gy2 = function _Gy2(_6Z1) {
return !this._py2(_6Z1);
};
/*
* Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.
* @function
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Hy2 = _ly2._Gy2;
/*
* Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.
* @function
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Iy2 = _ly2._Gy2;
/*
* Tests if this Long's value is less than the specified's.
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Jy2 = function _Jy2(_6Z1) {
return this._Ky2(_6Z1) < 0;
};
/*
* Tests if this Long's value is less than the specified's. This is an alias of {@link Long#lessThan}.
* @function
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Ly2 = _ly2._Jy2;
/*
* Tests if this Long's value is less than or equal the specified's.
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._My2 = function _My2(_6Z1) {
return this._Ky2(_6Z1) <= 0;
};
/*
* Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.
* @function
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Ny2 = _ly2._My2;
/*
* Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.
* @function
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Oy2 = _ly2._My2;
/*
* Tests if this Long's value is greater than the specified's.
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Py2 = function _Py2(_6Z1) {
return this._Ky2(_6Z1) > 0;
};
/*
* Tests if this Long's value is greater than the specified's. This is an alias of {@link Long#greaterThan}.
* @function
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Qy2 = _ly2._Py2;
/*
* Tests if this Long's value is greater than or equal the specified's.
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Ry2 = function _Ry2(_6Z1) {
return this._Ky2(_6Z1) >= 0;
};
/*
* Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.
* @function
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Sy2 = _ly2._Ry2;
/*
* Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.
* @function
* @param {!Long|number|string} other Other value
* @returns {boolean}
*/ _ly2._Ty2 = _ly2._Ry2;
/*
* Compares this Long's value with the specified's.
* @param {!Long|number|string} other Other value
* @returns {number} 0 if they are the same, 1 if the this is greater and -1
* if the given one is greater
*/ _ly2._Uy2 = function _Uy2(_6Z1) {
if (!_Yx2(_6Z1)) _6Z1 = _fy2(_6Z1);
if (this._py2(_6Z1)) return 0;
var _Vy2 = this._oy2(),
_Wy2 = _6Z1._oy2();
if (_Vy2 && !_Wy2) return -1;
if (!_Vy2 && _Wy2) return 1;
if (!this._Xx2) return this.sub(_6Z1)._oy2() ? -1 : 1;
return _6Z1._xL1 >>> 0 > this._xL1 >>> 0 || (_6Z1._xL1 === this._xL1 && _6Z1._eL1 >>> 0 > this._eL1 >>> 0) ? -1 : 1;
};
/*
* Compares this Long's value with the specified's. This is an alias of {@link Long#compare}.
* @function
* @param {!Long|number|string} other Other value
* @returns {number} 0 if they are the same, 1 if the this is greater and -1
* if the given one is greater
*/ _ly2._Ky2 = _ly2._Uy2;
/*
* Negates this Long's value.
* @returns {!Long} Negated Long
*/ _ly2._Xy2 = function _Xy2() {
if (!this._Xx2 && this._py2(MIN_VALUE)) return MIN_VALUE;
return this._Yy2().add(ONE);
};
/*
* Negates this Long's value. This is an alias of {@link Long#negate}.
* @function
* @returns {!Long} Negated Long
*/ _ly2._8y2 = _ly2._Xy2;
/*
* Returns the sum of this and the specified Long.
* @param {!Long|number|string} addend Addend
* @returns {!Long} Sum
*/ _ly2.add = function add(_Zy2) {
if (!_Yx2(_Zy2)) _Zy2 = _fy2(_Zy2);
var __y2 = this._xL1 >>> 16;
var _0z2 = this._xL1 & 0xffff;
var _1z2 = this._eL1 >>> 16;
var _2z2 = this._eL1 & 0xffff;
var _3z2 = _Zy2._xL1 >>> 16;
var _4z2 = _Zy2._xL1 & 0xffff;
var _5z2 = _Zy2._eL1 >>> 16;
var _6z2 = _Zy2._eL1 & 0xffff;
var _7z2 = 0,
_8z2 = 0,
_9z2 = 0,
_az2 = 0;
_az2 += _2z2 + _6z2;
_9z2 += _az2 >>> 16;
_az2 &= 0xffff;
_9z2 += _1z2 + _5z2;
_8z2 += _9z2 >>> 16;
_9z2 &= 0xffff;
_8z2 += _0z2 + _4z2;
_7z2 += _8z2 >>> 16;
_8z2 &= 0xffff;
_7z2 += __y2 + _3z2;
_7z2 &= 0xffff;
return _2y2((_9z2 << 16) | _az2, (_7z2 << 16) | _8z2, this._Xx2);
};
/*
* Returns the difference of this and the specified Long.
* @param {!Long|number|string} subtrahend Subtrahend
* @returns {!Long} Difference
*/ _ly2._bz2 = function _bz2(_cz2) {
if (!_Yx2(_cz2)) _cz2 = _fy2(_cz2);
return this.add(_cz2._8y2());
};
/*
* Returns the difference of this and the specified Long. This is an alias of {@link Long#subtract}.
* @function
* @param {!Long|number|string} subtrahend Subtrahend
* @returns {!Long} Difference
*/ _ly2.sub = _ly2._bz2;
/*
* Returns the product of this and the specified Long.
* @param {!Long|number|string} multiplier Multiplier
* @returns {!Long} Product
*/ _ly2._dz2 = function _dz2(_ez2) {
if (this._ny2()) return ZERO;
if (!_Yx2(_ez2)) _ez2 = _fy2(_ez2);
if (_Tx2) {
var _eL1 = _Tx2._qB1(this._eL1, this._xL1, _ez2._eL1, _ez2._xL1);
return _2y2(_eL1, _Tx2._fz2(), this._Xx2);
}
if (_ez2._ny2()) return ZERO;
if (this._py2(MIN_VALUE)) return _ez2._Dy2() ? MIN_VALUE : ZERO;
if (_ez2._py2(MIN_VALUE)) return this._Dy2() ? MIN_VALUE : ZERO;
if (this._oy2()) {
if (_ez2._oy2()) return this._8y2()._qB1(_ez2._8y2());
else return this._8y2()._qB1(_ez2)._8y2();
} else if (_ez2._oy2()) return this._qB1(_ez2._8y2())._8y2();
if (this._Ly2(_iy2) && _ez2._Ly2(_iy2)) return _3y2(this._Ic1() * _ez2._Ic1(), this._Xx2);
var __y2 = this._xL1 >>> 16;
var _0z2 = this._xL1 & 0xffff;
var _1z2 = this._eL1 >>> 16;
var _2z2 = this._eL1 & 0xffff;
var _3z2 = _ez2._xL1 >>> 16;
var _4z2 = _ez2._xL1 & 0xffff;
var _5z2 = _ez2._eL1 >>> 16;
var _6z2 = _ez2._eL1 & 0xffff;
var _7z2 = 0,
_8z2 = 0,
_9z2 = 0,
_az2 = 0;
_az2 += _2z2 * _6z2;
_9z2 += _az2 >>> 16;
_az2 &= 0xffff;
_9z2 += _1z2 * _6z2;
_8z2 += _9z2 >>> 16;
_9z2 &= 0xffff;
_9z2 += _2z2 * _5z2;
_8z2 += _9z2 >>> 16;
_9z2 &= 0xffff;
_8z2 += _0z2 * _6z2;
_7z2 += _8z2 >>> 16;
_8z2 &= 0xffff;
_8z2 += _1z2 * _5z2;
_7z2 += _8z2 >>> 16;
_8z2 &= 0xffff;
_8z2 += _2z2 * _4z2;
_7z2 += _8z2 >>> 16;
_8z2 &= 0xffff;
_7z2 += __y2 * _6z2 + _0z2 * _5z2 + _1z2 * _4z2 + _2z2 * _3z2;
_7z2 &= 0xffff;
return _2y2((_9z2 << 16) | _az2, (_7z2 << 16) | _8z2, this._Xx2);
};
/*
* Returns the product of this and the specified Long. This is an alias of {@link Long#multiply}.
* @function
* @param {!Long|number|string} multiplier Multiplier
* @returns {!Long} Product
*/ _ly2._qB1 = _ly2._dz2;
/*
* Returns this Long divided by the specified. The result is signed if this Long is signed or
* unsigned if this Long is unsigned.
* @param {!Long|number|string} divisor Divisor
* @returns {!Long} Quotient
*/ _ly2._gz2 = function _gz2(_hz2) {
if (!_Yx2(_hz2)) _hz2 = _fy2(_hz2);
if (_hz2._ny2()) throw Error("division by zero");
if (_Tx2) {
if (!this._Xx2 && this._xL1 === -0x80000000 && _hz2._eL1 === -1 && _hz2._xL1 === -1) {
return this;
}
var _eL1 = (this._Xx2 ? _Tx2._iz2 : _Tx2._jz2)(this._eL1, this._xL1, _hz2._eL1, _hz2._xL1);
return _2y2(_eL1, _Tx2._fz2(), this._Xx2);
}
if (this._ny2()) return this._Xx2 ? _4y2 : ZERO;
var _kz2, _sy2, _m61;
if (!this._Xx2) {
if (this._py2(MIN_VALUE)) {
if (_hz2._py2(ONE) || _hz2._py2(_ky2)) return MIN_VALUE;
else if (_hz2._py2(MIN_VALUE)) return ONE;
else {
var _lz2 = this._mz2(1);
_kz2 = _lz2._2p1(_hz2)._nz2(1);
if (_kz2._py2(ZERO)) {
return _hz2._oy2() ? ONE : _ky2;
} else {
_sy2 = this.sub(_hz2._qB1(_kz2));
_m61 = _kz2.add(_sy2._2p1(_hz2));
return _m61;
}
}
} else if (_hz2._py2(MIN_VALUE)) return this._Xx2 ? _4y2 : ZERO;
if (this._oy2()) {
if (_hz2._oy2()) return this._8y2()._2p1(_hz2._8y2());
return this._8y2()._2p1(_hz2)._8y2();
} else if (_hz2._oy2()) return this._2p1(_hz2._8y2())._8y2();
_m61 = ZERO;
} else {
if (!_hz2._Xx2) _hz2 = _hz2._oz2();
if (_hz2._Qy2(this)) return _4y2;
if (_hz2._Qy2(this._pz2(1))) return _jy2;
_m61 = _4y2;
}
_sy2 = this;
while (_sy2._Sy2(_hz2)) {
_kz2 = Math.max(1, Math.floor(_sy2._Ic1() / _hz2._Ic1()));
var _7B1 = Math.ceil(Math.log(_kz2) / Math.LN2),
_po2 = _7B1 <= 48 ? 1 : _ay2(2, _7B1 - 48),
_qz2 = _3y2(_kz2),
_rz2 = _qz2._qB1(_hz2);
while (_rz2._oy2() || _rz2._Qy2(_sy2)) {
_kz2 -= _po2;
_qz2 = _3y2(_kz2, this._Xx2);
_rz2 = _qz2._qB1(_hz2);
}
if (_qz2._ny2()) _qz2 = ONE;
_m61 = _m61.add(_qz2);
_sy2 = _sy2.sub(_rz2);
}
return _m61;
};
/*
* Returns this Long divided by the specified. This is an alias of {@link Long#divide}.
* @function
* @param {!Long|number|string} divisor Divisor
* @returns {!Long} Quotient
*/ _ly2._2p1 = _ly2._gz2;
/*
* Returns this Long modulo the specified.
* @param {!Long|number|string} divisor Divisor
* @returns {!Long} Remainder
*/ _ly2._sz2 = function _sz2(_hz2) {
if (!_Yx2(_hz2)) _hz2 = _fy2(_hz2);
if (_Tx2) {
var _eL1 = (this._Xx2 ? _Tx2._tz2 : _Tx2._uz2)(this._eL1, this._xL1, _hz2._eL1, _hz2._xL1);
return _2y2(_eL1, _Tx2._fz2(), this._Xx2);
}
return this.sub(this._2p1(_hz2)._qB1(_hz2));
};
/*
* Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.
* @function
* @param {!Long|number|string} divisor Divisor
* @returns {!Long} Remainder
*/ _ly2._rB1 = _ly2._sz2;
/*
* Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.
* @function
* @param {!Long|number|string} divisor Divisor
* @returns {!Long} Remainder
*/ _ly2._sy2 = _ly2._sz2;
/*
* Returns the bitwise NOT of this Long.
* @returns {!Long}
*/ _ly2._Yy2 = function _Yy2() {
return _2y2(~this._eL1, ~this._xL1, this._Xx2);
};
/*
* Returns the bitwise AND of this Long and the specified.
* @param {!Long|number|string} other Other Long
* @returns {!Long}
*/ _ly2._uB1 = function _uB1(_6Z1) {
if (!_Yx2(_6Z1)) _6Z1 = _fy2(_6Z1);
return _2y2(this._eL1 & _6Z1._eL1, this._xL1 & _6Z1._xL1, this._Xx2);
};
/*
* Returns the bitwise OR of this Long and the specified.
* @param {!Long|number|string} other Other Long
* @returns {!Long}
*/ _ly2._vB1 = function _vB1(_6Z1) {
if (!_Yx2(_6Z1)) _6Z1 = _fy2(_6Z1);
return _2y2(this._eL1 | _6Z1._eL1, this._xL1 | _6Z1._xL1, this._Xx2);
};
/*
* Returns the bitwise XOR of this Long and the given one.
* @param {!Long|number|string} other Other Long
* @returns {!Long}
*/ _ly2._wB1 = function _wB1(_6Z1) {
if (!_Yx2(_6Z1)) _6Z1 = _fy2(_6Z1);
return _2y2(this._eL1 ^ _6Z1._eL1, this._xL1 ^ _6Z1._xL1, this._Xx2);
};
/*
* Returns this Long with bits shifted to the left by the given amount.
* @param {number|!Long} numBits Number of bits
* @returns {!Long} Shifted Long
*/ _ly2._xB1 = function _xB1(_Lw2) {
if (_Yx2(_Lw2)) _Lw2 = _Lw2._my2();
if ((_Lw2 &= 63) === 0) return this;
else if (_Lw2 < 32) return _2y2(this._eL1 << _Lw2, (this._xL1 << _Lw2) | (this._eL1 >>> (32 - _Lw2)), this._Xx2);
else return _2y2(0, this._eL1 << (_Lw2 - 32), this._Xx2);
};
/*
* Returns this Long with bits shifted to the left by the given amount. This is an alias of {@link Long#shiftLeft}.
* @function
* @param {number|!Long} numBits Number of bits
* @returns {!Long} Shifted Long
*/ _ly2._nz2 = _ly2._xB1;
/*
* Returns this Long with bits arithmetically shifted to the right by the given amount.
* @param {number|!Long} numBits Number of bits
* @returns {!Long} Shifted Long
*/ _ly2._yB1 = function _yB1(_Lw2) {
if (_Yx2(_Lw2)) _Lw2 = _Lw2._my2();
if ((_Lw2 &= 63) === 0) return this;
else if (_Lw2 < 32) return _2y2((this._eL1 >>> _Lw2) | (this._xL1 << (32 - _Lw2)), this._xL1 >> _Lw2, this._Xx2);
else return _2y2(this._xL1 >> (_Lw2 - 32), this._xL1 >= 0 ? 0 : -1, this._Xx2);
};
/*
* Returns this Long with bits arithmetically shifted to the right by the given amount. This is an alias of {@link Long#shiftRight}.
* @function
* @param {number|!Long} numBits Number of bits
* @returns {!Long} Shifted Long
*/ _ly2._mz2 = _ly2._yB1;
/*
* Returns this Long with bits logically shifted to the right by the given amount.
* @param {number|!Long} numBits Number of bits
* @returns {!Long} Shifted Long
*/ _ly2._vz2 = function _vz2(_Lw2) {
if (_Yx2(_Lw2)) _Lw2 = _Lw2._my2();
_Lw2 &= 63;
if (_Lw2 === 0) return this;
else {
var _xL1 = this._xL1;
if (_Lw2 < 32) {
var _eL1 = this._eL1;
return _2y2((_eL1 >>> _Lw2) | (_xL1 << (32 - _Lw2)), _xL1 >>> _Lw2, this._Xx2);
} else if (_Lw2 === 32) return _2y2(_xL1, 0, this._Xx2);
else return _2y2(_xL1 >>> (_Lw2 - 32), 0, this._Xx2);
}
};
/*
* Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.
* @function
* @param {number|!Long} numBits Number of bits
* @returns {!Long} Shifted Long
*/ _ly2._pz2 = _ly2._vz2;
/*
* Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.
* @function
* @param {number|!Long} numBits Number of bits
* @returns {!Long} Shifted Long
*/ _ly2._wz2 = _ly2._vz2;
/*
* Converts this Long to signed.
* @returns {!Long} Signed long
*/ _ly2._xz2 = function _xz2() {
if (!this._Xx2) return this;
return _2y2(this._eL1, this._xL1, false);
};
/*
* Converts this Long to unsigned.
* @returns {!Long} Unsigned long
*/ _ly2._oz2 = function _oz2() {
if (this._Xx2) return this;
return _2y2(this._eL1, this._xL1, true);
};
/*
* Converts this Long to its byte representation.
* @param {boolean=} le Whether little or big endian, defaults to big endian
* @returns {!Array.<number>} Byte representation
*/ _ly2._yz2 = function _yz2(_Oy2) {
return _Oy2 ? this._zz2() : this._Az2();
};
/*
* Converts this Long to its little endian byte representation.
* @returns {!Array.<number>} Little endian byte representation
*/ _ly2._zz2 = function _zz2() {
var _dL1 = this._xL1,
_QT1 = this._eL1;
return [_QT1 & 0xff, (_QT1 >>> 8) & 0xff, (_QT1 >>> 16) & 0xff, _QT1 >>> 24, _dL1 & 0xff, (_dL1 >>> 8) & 0xff, (_dL1 >>> 16) & 0xff, _dL1 >>> 24];
};
/*
* Converts this Long to its big endian byte representation.
* @returns {!Array.<number>} Big endian byte representation
*/ _ly2._Az2 = function _Az2() {
var _dL1 = this._xL1,
_QT1 = this._eL1;
return [_dL1 >>> 24, (_dL1 >>> 16) & 0xff, (_dL1 >>> 8) & 0xff, _dL1 & 0xff, _QT1 >>> 24, (_QT1 >>> 16) & 0xff, (_QT1 >>> 8) & 0xff, _QT1 & 0xff];
};
/*
* Creates a Long from its byte representation.
* @param {!Array.<number>} bytes Byte representation
* @param {boolean=} unsigned Whether unsigned or not, defaults to signed
* @param {boolean=} le Whether little or big endian, defaults to big endian
* @returns {Long} The corresponding Long value
*/ Long._Bz2 = function _Bz2(_Cz2, _Xx2, _Oy2) {
return _Oy2 ? Long._Dz2(_Cz2, _Xx2) : Long._Ez2(_Cz2, _Xx2);
};
/*
* Creates a Long from its little endian byte representation.
* @param {!Array.<number>} bytes Little endian byte representation
* @param {boolean=} unsigned Whether unsigned or not, defaults to signed
* @returns {Long} The corresponding Long value
*/ Long._Dz2 = function _Dz2(_Cz2, _Xx2) {
return new Long(_Cz2[0] | (_Cz2[1] << 8) | (_Cz2[2] << 16) | (_Cz2[3] << 24), _Cz2[4] | (_Cz2[5] << 8) | (_Cz2[6] << 16) | (_Cz2[7] << 24), _Xx2);
};
/*
* Creates a Long from its big endian byte representation.
* @param {!Array.<number>} bytes Big endian byte representation
* @param {boolean=} unsigned Whether unsigned or not, defaults to signed
* @returns {Long} The corresponding Long value
*/ Long._Ez2 = function _Ez2(_Cz2, _Xx2) {
return new Long((_Cz2[4] << 24) | (_Cz2[5] << 16) | (_Cz2[6] << 8) | _Cz2[7], (_Cz2[0] << 24) | (_Cz2[1] << 16) | (_Cz2[2] << 8) | _Cz2[3], _Xx2);
};
function _Fz2(color) {
return (((color._b21 * 255) & 0xff) << 0) | (((color._k41 * 255) & 0xff) << 8) | (((color._e21 * 255) & 0xff) << 16);
}
/*@this {yyPhysicsDebugDraw} */ function _Gz2(vertices, vertexCount, color) {
_aL(_Fz2(color));
var scale = 1.0 / this._Hz2._vF1;
for (var _W11 = 0; _W11 < vertexCount; ++_W11) {
var _Iz2 = vertices[_W11];
var _Jz2 = vertices[(_W11 + 1) % vertexCount];
_jX(_Iz2.x * scale, _Iz2.y * scale, _Jz2.x * scale, _Jz2.y * scale);
}
}
/*@this {yyPhysicsDebugDraw} */ function _Kz2(vertices, vertexCount, color) {
_aL(_Fz2(color));
var scale = 1.0 / this._Hz2._vF1;
var _Iz2 = vertices[0];
for (var _W11 = 2; _W11 < vertexCount; ++_W11) {
var _Jz2 = vertices[_W11 - 1];
var _Lz2 = vertices[_W11];
_OL(_Iz2.x * scale, _Iz2.y * scale, _Jz2.x * scale, _Jz2.y * scale, _Lz2.x * scale, _Lz2.y * scale, false);
}
}
/*@this {yyPhysicsDebugDraw} */ function _Mz2(_1U1, _2U1, color) {
_aL(_Fz2(color));
var scale = 1.0 / this._Hz2._vF1;
_xu1((_1U1.x - _2U1) * scale, (_1U1.y - _2U1) * scale, (_1U1.x + _2U1) * scale, (_1U1.y + _2U1) * scale, true);
}
/*@this {yyPhysicsDebugDraw} */ function _Nz2(_1U1, _2U1, _Ge1, color) {
_aL(_Fz2(color));
var scale = 1.0 / this._Hz2._vF1;
_xu1((_1U1.x - _2U1) * scale, (_1U1.y - _2U1) * scale, (_1U1.x + _2U1) * scale, (_1U1.y + _2U1) * scale, false);
}
/*@this {yyPhysicsDebugDraw} */ function _Oz2(_Fe1, _5U1, color) {
_aL(_Fz2(color));
var scale = 1.0 / this._Hz2._vF1;
_jX(_Fe1.x * scale, _Fe1.y * scale, _5U1.x * scale, _5U1.y * scale);
}
/*@this {yyPhysicsDebugDraw} */ function _Pz2(_3T1) {
var _Qz2 = 0.4;
var scale = 1.0 / this._Hz2._vF1;
var _Fe1 = _3T1._ot1,
_5U1 = new _Rz2._Sz2();
_5U1.x = _Fe1.x + _Qz2 * _3T1._Yr1._0T1().x;
_5U1.y = _Fe1.y + _Qz2 * _3T1._Yr1._0T1().y;
_aL(_Tz2);
_jX(_Fe1.x * scale, _Fe1.y * scale, _5U1.x * scale, _5U1.y * scale);
_5U1.x = _Fe1.x + _Qz2 * _3T1._Yr1._1T1().x;
_5U1.y = _Fe1.y + _Qz2 * _3T1._Yr1._1T1().y;
_aL(_Uz2);
_jX(_Fe1.x * scale, _Fe1.y * scale, _5U1.x * scale, _5U1.y * scale);
}
/*@this {yyPhysicsDebugDraw} */ function _Vz2(_8U1, _2U1, _9U1, _d31) {
for (var _W11 = 0; _W11 < _d31; _W11++) {
var scale = 1.0 / this._Hz2._vF1;
_aL(((_9U1[_W11]._b21 & 0xff) << 0) | ((_9U1[_W11]._k41 & 0xff) << 8) | ((_9U1[_W11]._e21 & 0xff) << 16));
_xu1((_8U1[_W11].x - _2U1) * scale, (_8U1[_W11].y - _2U1) * scale, (_8U1[_W11].x + _2U1) * scale, (_8U1[_W11].y + _2U1) * scale, true);
}
}
/*@constructor */ function __E1() {
this._532 = 0;
this._632 = 0;
this._Wz2 = false;
this._Xz2 = true;
this._Yz2 = false;
this._Zz2 = new _Rz2.__z2();
this._bV1 = null;
}
__E1.prototype._tF1 = function (_0A2) {
this._bV1 = null;
this._Zz2._NU1 = new _Rz2._1A2();
this._Zz2._NU1._sU1 = _0A2;
};
__E1.prototype._xF1 = function () {
this._bV1 = [];
this._Zz2._NU1 = new _Rz2._2A2();
};
__E1.prototype._BF1 = function (_a11, _b11) {
var vertexCount = this._bV1.length;
this._bV1[vertexCount] = new _Rz2._Sz2(_a11, _b11);
};
__E1.prototype._3A2 = function () {
if (this._bV1 === null || this._bV1 === undefined) {
return true;
}
if (this._Zz2._NU1._px1 === _Rz2._4A2._IU1) {
if (this._bV1.length > 2) {
this._Zz2._NU1._sc1(this._bV1, this._bV1.length);
return true;
}
} else if (this._Zz2._NU1._px1 === _Rz2._4A2._JU1) {
if (this._Yz2) {
if (this._bV1.length >= 3) {
this._Zz2._NU1._iV1(this._bV1, this._bV1.length);
return true;
}
} else {
if (this._bV1.length >= 2) {
this._Zz2._NU1._jV1(this._bV1, this._bV1.length);
return true;
}
}
}
return false;
};
__E1.prototype._fF1 = function (_eF1) {
this._Zz2._ph1._N42 = _eF1;
};
__E1.prototype._cF1 = function (_bF1) {
this._Zz2._O42 = _bF1;
};
__E1.prototype._9F1 = function (_8F1) {
this._Zz2._P42 = _8F1;
};
__E1.prototype._6F1 = function (_5F1) {
this._Zz2._CU1 = _5F1;
};
__E1.prototype._iF1 = function (_5A2) {
this._Zz2._Q42 = _5A2;
};
__E1.prototype._lF1 = function (_kF1) {
this._532 = _kF1;
};
__E1.prototype._nF1 = function (_kF1) {
this._632 = _kF1;
};
__E1.prototype._nF1 = function (_kF1) {
this._632 = _kF1;
};
__E1.prototype._qF1 = function (_pF1) {
this._Xz2 = _pF1;
};
__E1.prototype._3F1 = function () {
this._Wz2 = true;
};
var _6A2 = 0,
_7A2 = 1,
_8A2 = 2,
_9A2 = 3,
_aA2 = 4,
_bA2 = 5,
_cA2 = 6,
_dA2 = 7,
_eA2 = 8,
_fA2 = 9,
_gA2 = 10,
_hA2 = 11,
_iA2 = 12,
_jA2 = 13,
_kA2 = 14,
_lA2 = 15,
_mA2 = 16,
_nA2 = 17,
_oA2 = 18,
_pA2 = 19,
_qA2 = 20,
_rA2 = 21,
_sA2 = 22,
_tA2 = 23,
_uA2 = 24;
/*@constructor */ function _vA2(_wA2) {
this._xA2 = _wA2;
}
_vA2.prototype._Sg2 = function (_yA2) {
if (this._xA2 instanceof _Rz2._zA2 || this._xA2 instanceof _Rz2._AA2 || this._xA2 instanceof _Rz2._BA2) {
this._xA2._J72()._qF1(true);
this._xA2._K72()._qF1(true);
this._xA2._Sg2(_yA2);
}
};
/*@constructor */ function _CA2(_DA2, _EA2, _DF1, _EF1) {
this._FA2 = _DA2;
this._GA2 = _EA2;
this._HA2 = new _Rz2._Sz2(_DF1, _EF1);
this._IA2 = [];
}
_CA2.prototype._U32 = function (_JA2, _KA2, _LA2, _MA2) {
this._FA2._U32(new _Rz2._Sz2(_LA2, _MA2), new _Rz2._Sz2(_JA2, _KA2), true);
};
_CA2.prototype._142 = function (_NA2) {
this._FA2._142(_NA2, true);
};
_CA2.prototype._Y32 = function (_OA2) {
this._FA2._Y32(_OA2, true);
};
_CA2.prototype._PA2 = function (_QA2) {
var position = this._FA2._RE1();
this._FA2._M32(position, (_QA2 * Math.PI) / 180.0);
this._FA2._qF1(true);
};
_CA2.prototype._RA2 = function (_wc1) {
var angle = this._FA2.__S1();
var _L51 = this._FA2._RE1().y;
this._FA2._M32(new _Rz2._Sz2(_wc1, _L51), angle);
this._FA2._qF1(true);
};
_CA2.prototype._SA2 = function (_wc1) {
var angle = this._FA2.__S1();
var _K51 = this._FA2._RE1().x;
this._FA2._M32(new _Rz2._Sz2(_K51, _wc1), angle);
this._FA2._qF1(true);
};
_CA2.prototype._S32 = function (_TA2) {
this._FA2._S32((_TA2 * Math.PI) / 180.0);
this._FA2._qF1(true);
};
_CA2.prototype._UA2 = function (_VA2) {
var _WA2 = this._FA2._R32();
this._FA2._Q32(new _Rz2._Sz2(_VA2, _WA2.y));
this._FA2._qF1(true);
};
_CA2.prototype._XA2 = function (_VA2) {
var _WA2 = this._FA2._R32();
this._FA2._Q32(new _Rz2._Sz2(_WA2.x, _VA2));
this._FA2._qF1(true);
};
_CA2.prototype._p42 = function (_YA2) {
this._FA2._p42(_YA2);
};
_CA2.prototype._x42 = function (_ZA2) {
this._FA2._x42(_ZA2);
};
_CA2.prototype._v42 = function (__A2) {
this._FA2._v42(__A2);
};
_CA2.prototype._0B2 = function (_1B2) {
var _2F1 = this._FA2._z42();
while (_2F1 != null && _2F1 != undefined) {
var _NU1 = _2F1._X42();
var _2B2 = this._FA2._RE1();
if (_NU1 instanceof _Rz2._1A2) {
_xu1((_2B2.x - _NU1._sU1) * _1B2, (_2B2.y - _NU1._sU1) * _1B2, (_2B2.x + _NU1._sU1) * _1B2, (_2B2.y + _NU1._sU1) * _1B2, true);
} else if (_NU1 instanceof _Rz2._2A2) {
var _3B2 = Math.sin(this._FA2.__S1());
var _4B2 = Math.cos(this._FA2.__S1());
for (var _W11 = 0; _W11 < _NU1._cV1; ++_W11) {
var _Iz2 = _NU1._bV1[_W11];
var _Jz2 = _NU1._bV1[(_W11 + 1) % _NU1._cV1];
_jX((_2B2.x + (_Iz2.x * _4B2 - _Iz2.y * _3B2)) * _1B2, (_2B2.y + (_Iz2.x * _3B2 + _Iz2.y * _4B2)) * _1B2, (_2B2.x + (_Jz2.x * _4B2 - _Jz2.y * _3B2)) * _1B2, (_2B2.y + (_Jz2.x * _3B2 + _Jz2.y * _4B2)) * _1B2);
}
}
_2F1 = _2F1._232;
}
};
_CA2.prototype._5B2 = function (_1B2) {
var _H42 = this._FA2.__22;
while (_H42 != null && _H42 != undefined) {
var _I42 = _H42._I42;
if (_I42 instanceof _Rz2._zA2) {
this._6B2(_I42, _1B2);
} else if (_I42 instanceof _Rz2._AA2) {
this._7B2(_I42, _1B2);
} else if (_I42 instanceof _Rz2._8B2) {
this._9B2(_I42, _1B2);
} else if (_I42 instanceof _Rz2._aB2) {
this._bB2(_I42, _1B2);
} else if (_I42 instanceof _Rz2._cB2) {
if (_I42._dB2 != null) {
this._6B2(_I42._dB2, _1B2);
}
if (_I42._eB2 != null) {
this._6B2(_I42._eB2, _1B2);
}
if (_I42._fB2 != null) {
this._7B2(_I42._fB2, _1B2);
}
if (_I42._gB2 != null) {
this._7B2(_I42._gB2, _1B2);
}
}
_H42 = _H42._232;
}
};
_CA2.prototype._9B2 = function (_hB2, _1B2) {
var _wh2 = _hB2._L72();
var _xh2 = _hB2._M72();
_jX(_wh2.x * _1B2, _wh2.y * _1B2, _xh2.x * _1B2, _xh2.y * _1B2);
};
_CA2.prototype._6B2 = function (_hB2, _1B2) {
var anchor = _hB2._L72();
_jX(anchor.x * _1B2 - 2, anchor.y * _1B2 - 2, anchor.x * _1B2 + 2, anchor.y * _1B2 + 2);
_jX(anchor.x * _1B2 - 2, anchor.y * _1B2 + 2, anchor.x * _1B2 + 2, anchor.y * _1B2 - 2);
};
_CA2.prototype._7B2 = function (_hB2, _1B2) {
var _wh2 = _hB2._L72();
var _xh2 = this._FA2._RE1();
_jX(_wh2.x * _1B2, _wh2.y * _1B2, _xh2.x * _1B2, _xh2.y * _1B2);
};
_CA2.prototype._bB2 = function (_hB2, _1B2) {
var anchor, _iB2;
if (_hB2._jB2() == this._FA2) {
anchor = _hB2._L72();
_iB2 = _hB2._Q72();
} else {
anchor = _hB2._M72();
_iB2 = _hB2._R72();
}
_jX(anchor.x * _1B2, anchor.y * _1B2, _iB2.x * _1B2, _iB2.y * _1B2);
_jX(_hB2._Q72().x * _1B2, _hB2._Q72().y * _1B2, _hB2._R72().x * _1B2, _hB2._R72().y * _1B2);
};
_CA2.prototype._kB2 = function (_lB2) {
for (var _X9 = 0; _X9 < this._IA2.length; _X9++) {
if (this._IA2[_X9] == null || this._IA2[_X9] == undefined) {
this._IA2[_X9] = _lB2;
return _X9;
}
}
return this._IA2.push(_lB2) - 1;
};
_CA2.prototype._mB2 = function (_nB2) {
if (this._IA2[_nB2]) {
this._FA2._E32(this._IA2[_nB2]);
this._IA2[_nB2] = undefined;
}
};
_CA2.prototype._552 = function (_nB2) {
if (this._IA2[_nB2]) {
return this._IA2[_nB2]._552();
}
return 0.0;
};
_CA2.prototype._452 = function (_nB2) {
if (this._IA2[_nB2]) {
return this._IA2[_nB2]._452();
}
return 0.0;
};
_CA2.prototype._652 = function (_nB2) {
if (this._IA2[_nB2]) {
return this._IA2[_nB2]._652();
}
return 0.0;
};
_CA2.prototype._cF1 = function (_nB2, _M01) {
if (this._IA2[_nB2]) {
this._IA2[_nB2]._cF1(_M01);
}
};
_CA2.prototype._6F1 = function (_nB2, _M01) {
if (this._IA2[_nB2]) {
this._IA2[_nB2]._6F1(_M01);
this._FA2._B32();
}
};
_CA2.prototype._9F1 = function (_nB2, _M01) {
if (this._IA2[_nB2]) {
this._IA2[_nB2]._9F1(_M01);
}
};
var _oB2 = 10,
_pB2 = 32,
_qB2 = 1 << 0,
_rB2 = 1 << 1,
_sB2 = 1 << 2,
_tB2 = 1 << 3,
_uB2 = 1 << 4,
_vB2 = 1 << 5,
_wB2 = 1 << 6;
var _Rz2 = null;
function _xB2() {
if (_Rz2 === null) {
var _4r1 = window["b2"];
_Rz2 = {};
_Rz2.version = _4r1["version"];
_Rz2._Sz2 = _4r1["Vec2"];
_Rz2._yB2 = _4r1["Vec3"];
_Rz2._zB2 = _4r1["Mat22"];
_Rz2._AB2 = _4r1["Mat33"];
_Rz2._BB2 = _4r1["Rot"];
_Rz2._CB2 = _4r1["Transform"];
_Rz2._DB2 = _4r1["Sweep"];
_Rz2._EB2 = _4r1["Dot_v2_v2"];
_Rz2._FB2 = _4r1["Cross_v2_v2"];
_Rz2._GB2 = _4r1["Cross_v2_f"];
_Rz2._HB2 = _4r1["Cross_f_v2"];
_Rz2._IB2 = _4r1["Mul_m22_v2"];
_Rz2._JB2 = _4r1["MulT_m22_v2"];
_Rz2._KB2 = _4r1["Distance"];
_Rz2._LB2 = _4r1["DistanceSquared"];
_Rz2._MB2 = _4r1["Dot_v3_v3"];
_Rz2._NB2 = _4r1["Cross_v3_v3"];
_Rz2._OB2 = _4r1["Mul_m22_m22"];
_Rz2._PB2 = _4r1["MulT_m22_m22"];
_Rz2._QB2 = _4r1["Mul_m33_v3"];
_Rz2._RB2 = _4r1["Mul22_m33_v2"];
_Rz2._SB2 = _4r1["Mul_r_r"];
_Rz2._TB2 = _4r1["MulT_r_r"];
_Rz2._UB2 = _4r1["Mul_r_v2"];
_Rz2._VB2 = _4r1["MulT_r_v2"];
_Rz2._WB2 = _4r1["Mul_t_v2"];
_Rz2._XB2 = _4r1["Min_v2"];
_Rz2._YB2 = _4r1["Max_v2"];
_Rz2._ZB2 = _4r1["Clamp"];
_Rz2.__B2 = _4r1["MulT_t_v2"];
_Rz2._0C2 = _4r1["Mul_t_t"];
_Rz2._1C2 = _4r1["MulT_t_t"];
_Rz2._2C2 = _4r1["Clamp_v2"];
_Rz2._3C2 = _4r1["NextPowerOfTwo"];
_Rz2._4C2 = _4r1["Abs_v2"];
_Rz2._5C2 = _4r1["Abs_m22"];
_Rz2._6C2 = _4r1["IsPowerOfTwo"];
_Rz2._7C2 = _4r1["RandomFloat"];
_Rz2._8C2 = _4r1["Timer"];
_Rz2._i41 = _4r1["Color"];
_Rz2._O31 = _4r1["Draw"];
_Rz2._9C2 = _4r1["ContactID"];
_Rz2._aC2 = _4r1["ManifoldPoint"];
_Rz2._bC2 = _4r1["Manifold"];
_Rz2._cC2 = _4r1["WorldManifold"];
_Rz2._dC2 = _4r1["GetPointStates"];
_Rz2._eC2 = _4r1["ClipVertex"];
_Rz2._fC2 = _4r1["RayCastInput"];
_Rz2._gC2 = _4r1["RayCastOutput"];
_Rz2._hC2 = _4r1["AABB"];
_Rz2._iC2 = _4r1["CollideCircles"];
_Rz2._jC2 = _4r1["CollidePolygonAndCircle"];
_Rz2._kC2 = _4r1["FindMaxSeparation"];
_Rz2._lC2 = _4r1["FindIncidentEdge"];
_Rz2._mC2 = _4r1["CollidePolygons"];
_Rz2._nC2 = _4r1["CollideEdgeAndCircle"];
_Rz2._oC2 = _4r1["EPAxis"];
_Rz2._pC2 = _4r1["TempPolygon"];
_Rz2._qC2 = _4r1["ReferenceFace"];
_Rz2._rC2 = _4r1["EPCollider"];
_Rz2._sC2 = _4r1["CollideEdgeAndPolygon"];
_Rz2._tC2 = _4r1["ClipSegmentToLine"];
_Rz2._uC2 = _4r1["TestShapeOverlap"];
_Rz2._vW1 = _4r1["TestOverlap"];
_Rz2._4A2 = _4r1["Shape"];
_Rz2._vC2 = _4r1["MassData"];
_Rz2._1A2 = _4r1["CircleShape"];
_Rz2._wC2 = _4r1["EdgeShape"];
_Rz2._xC2 = _4r1["ChainShape"];
_Rz2._2A2 = _4r1["PolygonShape"];
_Rz2._Ba2 = _4r1["Pair"];
_Rz2._yC2 = _4r1["PairLessThan"];
_Rz2._zC2 = _4r1["BroadPhase"];
_Rz2._AC2 = _4r1["DistanceProxy"];
_Rz2._BC2 = _4r1["SimplexCache"];
_Rz2._CC2 = _4r1["DistanceInput"];
_Rz2._DC2 = _4r1["DistanceOutput"];
_Rz2._EC2 = _4r1["SimplexVertex"];
_Rz2._FC2 = _4r1["Simplex"];
_Rz2._GC2 = _4r1["DistanceFunc"];
_Rz2._HC2 = _4r1["TreeNode"];
_Rz2._IC2 = _4r1["DynamicTree"];
_Rz2._JC2 = _4r1["TOIInput"];
_Rz2._KC2 = _4r1["TOIOutput"];
_Rz2._LC2 = _4r1["SeparationFunction"];
_Rz2._MC2 = _4r1["TimeOfImpact"];
_Rz2._NC2 = _4r1["BodyDef"];
_Rz2._OC2 = _4r1["Body"];
_Rz2._PC2 = _4r1["Filter"];
_Rz2.__z2 = _4r1["FixtureDef"];
_Rz2._QC2 = _4r1["Fixture"];
_Rz2._RC2 = _4r1["DestructionListener"];
_Rz2._SC2 = _4r1["ContactFilter"];
_Rz2._TC2 = _4r1["ContactImpulse"];
_Rz2._UC2 = _4r1["ContactListener"];
_Rz2._SW1 = _4r1["QueryCallback"];
_Rz2._312 = _4r1["RayCastCallback"];
_Rz2._VC2 = _4r1["TimeStep"];
_Rz2._WC2 = _4r1["Position"];
_Rz2._XC2 = _4r1["Velocity"];
_Rz2._YC2 = _4r1["SolverData"];
_Rz2._ZC2 = _4r1["World"];
_Rz2.__C2 = _4r1["MixFriction"];
_Rz2._0D2 = _4r1["MixRestitution"];
_Rz2._1D2 = _4r1["ContactRegister"];
_Rz2._2D2 = _4r1["ContactEdge"];
_Rz2._3D2 = _4r1["Contact"];
_Rz2._4D2 = _4r1["CircleContact"];
_Rz2._5D2 = _4r1["PolygonContact"];
_Rz2._6D2 = _4r1["ChainAndCircleContact"];
_Rz2._7D2 = _4r1["ChainAndPolygonContact"];
_Rz2._8D2 = _4r1["EdgeAndCircleContact"];
_Rz2._9D2 = _4r1["EdgeAndPolygonContact"];
_Rz2._aD2 = _4r1["PolygonAndCircleContact"];
_Rz2._bD2 = _4r1["defaultFilter"];
_Rz2._cD2 = _4r1["defaultListener"];
_Rz2._dD2 = _4r1["ContactManager"];
_Rz2._eD2 = _4r1["VelocityConstraintPoint"];
_Rz2._fD2 = _4r1["ContactPositionConstraint"];
_Rz2._gD2 = _4r1["ContactVelocityConstraint"];
_Rz2._hD2 = _4r1["PositionSolverManifold"];
_Rz2._iD2 = _4r1["ContactSolverDef"];
_Rz2._jD2 = _4r1["ContactSolver"];
_Rz2._kD2 = _4r1["Island"];
_Rz2._lD2 = _4r1["Jacobian"];
_Rz2._mD2 = _4r1["JointEdge"];
_Rz2._nD2 = _4r1["JointDef"];
_Rz2._oD2 = _4r1["Joint"];
_Rz2._pD2 = _4r1["RevoluteJointDef"];
_Rz2._zA2 = _4r1["RevoluteJoint"];
_Rz2._qD2 = _4r1["MouseJointDef"];
_Rz2._rD2 = _4r1["MouseJoint"];
_Rz2._sD2 = _4r1["DistanceJointDef"];
_Rz2._8B2 = _4r1["DistanceJoint"];
_Rz2._tD2 = _4r1["PrismaticJointDef"];
_Rz2._AA2 = _4r1["PrismaticJoint"];
_Rz2._uD2 = _4r1["FrictionJointDef"];
_Rz2._vD2 = _4r1["FrictionJoint"];
_Rz2._wD2 = _4r1["WeldJointDef"];
_Rz2._xD2 = _4r1["WeldJoint"];
_Rz2._yD2 = _4r1["WheelJointDef"];
_Rz2._BA2 = _4r1["WheelJoint"];
_Rz2._zD2 = _4r1["GearJointDef"];
_Rz2._cB2 = _4r1["GearJoint"];
_Rz2._AD2 = _4r1["MotorJointDef"];
_Rz2._BD2 = _4r1["MotorJoint"];
_Rz2._CD2 = _4r1["PulleyJointDef"];
_Rz2._aB2 = _4r1["PulleyJoint"];
_Rz2._DD2 = _4r1["RopeJointDef"];
_Rz2._ED2 = _4r1["RopeJoint"];
_Rz2._FD2 = _4r1["RopeDef"];
_Rz2._GD2 = _4r1["Rope"];
_Rz2._HD2 = _4r1["maxManifoldPoints"];
_Rz2._ID2 = _4r1["maxPolygonVertices"];
_Rz2._JD2 = _4r1["aabbExtension"];
_Rz2._KD2 = _4r1["aabbMultiplier"];
_Rz2._LD2 = _4r1["linearSlop"];
_Rz2._MD2 = _4r1["angularSlop"];
_Rz2._ND2 = _4r1["polygonRadius"];
_Rz2._OD2 = _4r1["maxSubSteps"];
_Rz2._PD2 = _4r1["maxTOIContacts"];
_Rz2._QD2 = _4r1["velocityThreshold"];
_Rz2._RD2 = _4r1["maxLinearCorrection"];
_Rz2._SD2 = _4r1["maxAngularCorrection"];
_Rz2._TD2 = _4r1["maxTranslation"];
_Rz2._UD2 = _4r1["maxTranslationSquared"];
_Rz2._VD2 = _4r1["maxRotation"];
_Rz2._WD2 = _4r1["maxRotationSquared"];
_Rz2._XD2 = _4r1["baumgarte"];
_Rz2._YD2 = _4r1["toiBaugarte"];
_Rz2._ZD2 = _4r1["timeToSleep"];
_Rz2.__D2 = _4r1["linearSleepTolerance"];
_Rz2._0E2 = _4r1["angularSleepTolerance"];
_Rz2._1E2 = _4r1["epsilon"];
_Rz2._2E2 = _4r1["JsonSerializer"];
_Rz2._3E2 = _4r1["RUBELoader"];
_Rz2._4E2 = _4r1["Profiler"];
_Rz2._5E2 = _4r1["ParticleDef"];
_Rz2._6E2 = _4r1["ParticleColor"];
_Rz2._7E2 = _4r1["ParticleGroupDef"];
_Rz2._8E2 = _4r1["ParticleGroup"];
_Rz2._9E2 = _4r1["ParticleSystem"];
}
}
/*@constructor */ function _aE2(_bE2) {
var _dd2 = new _Rz2._cC2();
_bE2._cd2(_dd2);
this._cE2 = _bE2._H32();
this._dE2 = _bE2._J32();
this._eE2 = [];
this._fE2 = [];
this._eE2[0] = _bE2._bd2();
this._fE2[0] = _dd2;
}
/*@constructor */ function _gE2(_hE2, _iE2, _jE2) {
this._kE2 = _hE2;
this._L42 = _iE2;
this._M42 = _jE2;
}
/*@constructor */ function _lE2(_mE2, _nE2) {
_xB2();
if (_Rz2 === null) {
_Rz2 = window["b2"];
}
this._vF1 = _mE2;
this._oE2 = _nE2;
this._pE2 = _oB2;
this._032 = [];
this._qE2 = [];
this._rE2 = new _Rz2._7E2();
this._l62 = null;
this._is1 = false;
this._sE2 = [];
for (var _X9 = 0; _X9 < _pB2; _X9++) {
this._sE2[_X9] = new _gE2(-1, 0, 0);
}
var _P52 = new _Rz2._Sz2(0, 10);
this._X22 = new _Rz2._ZC2(_P52);
this._tE2();
this._uE2();
this._7U1 = _131 ? this._vE2 : this._wE2;
this._xE2 = _131 ? this._yE2 : this._zE2;
}
_lE2.prototype._tE2 = function () {
var _T51 = document.getElementById("canvas").getContext("2d");
if (_T51) {
this._l62 = new _Rz2._O31();
this._l62._TT1(_Rz2._O31._aU1 | _Rz2._O31._bU1);
this._l62._Hz2 = this;
this._l62._ZT1 = _Gz2;
this._l62.__T1 = _Kz2;
this._l62._0U1 = _Mz2;
this._l62._3U1 = _Nz2;
this._l62._4U1 = _Oz2;
this._l62._6U1 = _Pz2;
this._l62._7U1 = _Vz2;
this._X22._k62(this._l62);
}
};
_lE2.prototype._uE2 = function () {
var _AE2 = new _Rz2._UC2();
_AE2._BE2 = this;
_AE2._p52 = function (_F32) {
if (_F32._H32()._Z42() || _F32._J32()._Z42()) {
this._BE2._CE2(_F32);
}
};
_AE2._r52 = function (_F32, _s52) {};
_AE2._q52 = function (_F32) {};
_AE2._t52 = function (_F32, _DE2) {
this._BE2._CE2(_F32);
};
this._X22._i62(_AE2);
};
_lE2.prototype._CE2 = function (_bE2) {
for (var _W11 = 0; _W11 < this._032.length; _W11++) {
var _EE2 = this._032[_W11];
if ((_EE2._cE2 == _bE2._H32() && _EE2._dE2 == _bE2._J32()) || (_EE2._cE2 == _bE2._J32() && _EE2._dE2 == _bE2._H32())) {
var _dd2 = new _Rz2._cC2();
_bE2._cd2(_dd2);
_EE2._eE2[_EE2._eE2.length] = _bE2._bd2();
_EE2._fE2[_EE2._fE2.length] = _dd2;
return;
}
}
this._032[this._032.length] = new _aE2(_bE2);
};
_lE2.prototype._FE2 = function (_TB1) {
this._oE2 = _TB1;
};
_lE2.prototype._872 = function (_GE2, _HE2) {
this._X22._062.x = _GE2;
this._X22._062.y = _HE2;
if (_GE2 != 0.0 || _HE2 != 0.0) {
var _IE2 = this._X22._W62();
while (_IE2 != null && _IE2 != undefined) {
if (_IE2._tU1() === _Rz2._OC2._b32) {
_IE2._qF1(true);
}
_IE2 = _IE2._C42();
}
}
};
_lE2.prototype._JE2 = function () {
var _xc1 = _D01._8w1._xc1;
for (var index = 0; index < _xc1.length; index++) {
var _Yv1 = _xc1[index];
if (_Yv1._KE2 >= 0) {
var _LE2 = _Yv1._ME2;
if (_LE2 !== null && _LE2 !== undefined) {
var _IE2 = _LE2._FA2;
if (_IE2._tU1() !== _Rz2._OC2._b32) {
if (_Yv1._NE2()) {
_Yv1._B11(_OE2, 0, _Yv1, _Yv1);
}
_IE2._M32(new _Rz2._Sz2(_Yv1.x * this._vF1, _Yv1.y * this._vF1), _IE2.__S1());
}
} else {
if (_Yv1._NE2()) {
_Yv1._B11(_OE2, 0, _Yv1, _Yv1);
}
}
}
}
};
_lE2.prototype._PE2 = function () {
var _QE2 = 1.0 / this._vF1;
var _IE2 = this._X22._W62();
while (_IE2 != null && _IE2 != undefined) {
var _Yv1 = _IE2._uW1();
if (_Yv1 != null && _Yv1 != undefined) {
_Yv1._RE2(_IE2);
var _yc1 = _IE2._RE1();
_Yv1._SE2 = _yc1.x * _QE2;
_Yv1._TE2 = _yc1.y * _QE2;
}
_IE2 = _IE2._C42();
}
};
_lE2.prototype._Va1 = function (_UE2) {
if (_UE2 <= 0) {
return;
}
this._JE2();
if (this._is1 == true) {
return;
}
this._PE2();
var _VE2 = 1.0 / this._oE2;
var _WE2 = this._oE2 / _UE2;
var _XE2 = _WE2;
while (_XE2 > 0.0) {
var _YE2 = _XE2 > 1.0 ? _VE2 : _VE2 * _XE2;
this._X22._C62(_YE2, this._pE2, this._pE2);
_XE2 -= 1.0;
}
this._X22._G62();
this._ZE2();
this.__E2();
};
_lE2.prototype._ZE2 = function () {
var _QE2 = 1.0 / this._vF1;
var _IE2 = this._X22._W62();
while (_IE2 != null && _IE2 != undefined) {
var _Yv1 = _IE2._uW1();
if (_Yv1 != null && _Yv1 != undefined) {
if (_Yv1._bl && _Yv1._ME2) {
this._m62(_Yv1._ME2);
_Yv1._ME2 = null;
} else {
_Yv1._RE2(_IE2);
}
}
_IE2 = _IE2._C42();
}
};
_lE2.prototype.__E2 = function () {
var _QE2 = 1.0 / this._vF1;
for (var _X9 = 0; _X9 < this._032.length; _X9++) {
if (this._032[_X9]._cE2 && this._032[_X9]._dE2 && this._032[_X9]._cE2._352() && this._032[_X9]._dE2._352()) {
var _0F2 = this._032[_X9]._cE2._352()._uW1();
var _1F2 = this._032[_X9]._dE2._352()._uW1();
_0F2._2F2 = 0;
_0F2._3F2 = [];
_0F2._4F2 = [];
_0F2._5F2 = [];
_0F2._6F2 = [];
_1F2._2F2 = 0;
_1F2._3F2 = [];
_1F2._4F2 = [];
_1F2._5F2 = [];
_1F2._6F2 = [];
var _7F2 = 0;
for (var _8F2 = 0; _8F2 < this._032[_X9]._eE2.length; _8F2++) {
var _dd2 = this._032[_X9]._fE2[_8F2];
for (var _i21 in _dd2._D2) {
if (!_dd2._D2.hasOwnProperty(_i21)) continue;
_0F2._3F2[_7F2] = _dd2._D2[_i21].x * _QE2;
_0F2._4F2[_7F2] = _dd2._D2[_i21].y * _QE2;
_0F2._5F2[_7F2] = _dd2._FU1.x;
_0F2._6F2[_7F2] = _dd2._FU1.y;
_1F2._3F2[_7F2] = _dd2._D2[_i21].x * _QE2;
_1F2._4F2[_7F2] = _dd2._D2[_i21].y * _QE2;
_1F2._5F2[_7F2] = _dd2._FU1.x;
_1F2._6F2[_7F2] = _dd2._FU1.y;
_0F2._2F2++;
_1F2._2F2++;
_7F2++;
}
}
if (!_0F2._bl && !_1F2._bl) {
_0F2._B11(_9F2, _1F2._aF2, _0F2, _1F2);
_1F2._B11(_9F2, _0F2._aF2, _1F2, _0F2);
}
_0F2._2F2 = 0;
_0F2._3F2 = undefined;
_0F2._4F2 = undefined;
_0F2._5F2 = undefined;
_0F2._6F2 = undefined;
_1F2._2F2 = 0;
_1F2._3F2 = undefined;
_1F2._4F2 = undefined;
_1F2._5F2 = undefined;
_1F2._6F2 = undefined;
}
}
this._032 = [];
};
_lE2.prototype._IF1 = function (_lB2, _bF2, _DF1, _EF1) {
var _FF1 = -1;
if (!_lB2._3A2()) {
return;
}
var _cF2 = this._dF2(_bF2._aF2);
if (_cF2 != -1) {
_lB2._Zz2._ph1._L42 = this._sE2[_cF2]._L42;
_lB2._Zz2._ph1._M42 = this._sE2[_cF2]._M42;
} else {
_lB2._Zz2._ph1._L42 = 0;
_lB2._Zz2._ph1._M42 = 0;
}
var _eF2 = _lB2._Zz2._CU1 == 0 ? (_lB2._Wz2 ? _Rz2._OC2._j32 : _Rz2._OC2._E22) : _Rz2._OC2._b32;
var _fF2 = _bF2._ME2;
if (_bF2._ME2) {
var _IE2 = _fF2._FA2;
var _2F1 = _IE2._z42();
if (_2F1 == null || _2F1 == undefined) {
_IE2._j42(_eF2);
}
var _2F1 = _IE2._o32(_lB2._Zz2);
_FF1 = _fF2._kB2(_2F1);
} else {
var _gF2 = new _Rz2._NC2();
_gF2.type = _eF2;
_gF2.angle = (-_bF2._6N1 * _g21) / 180.0;
_gF2._H22 = _lB2._532;
_gF2._I22 = _lB2._632;
_gF2._K22 = _lB2._Xz2;
var _hF2 = _bF2._iF2(_gF2.angle, { x: _DF1, y: _EF1 });
_gF2.position.x = (_bF2.x - _hF2.x) * this._vF1;
_gF2.position.y = (_bF2.y - _hF2.y) * this._vF1;
_gF2._lW1 = _bF2;
var _IE2 = this._X22._IF1(_gF2);
var _2F1 = _IE2._o32(_lB2._Zz2);
_fF2 = new _CA2(_IE2, _cF2, _DF1, _EF1);
_bF2._ME2 = _fF2;
_bF2._RE2(_IE2);
_FF1 = _fF2._kB2(_2F1);
this._jF2();
}
return _FF1;
};
_lE2.prototype._m62 = function (_kF2) {
this._X22._m62(_kF2._FA2);
};
_lE2.prototype._p62 = function (_lF2) {
this._X22._p62(_lF2._xA2);
};
_lE2.prototype._mF2 = function (_hE2) {
for (var _W11 = 0; _W11 < _pB2; _W11++) {
if (this._sE2[_W11]._kE2 == _hE2) {
return _W11;
}
}
return -1;
};
_lE2.prototype._nF2 = function (_hE2) {
var _oF2 = this._mF2(_hE2);
if (_oF2 != -1) {
return _oF2;
}
for (var _W11 = 0; _W11 < _pB2; _W11++) {
if (this._sE2[_W11]._kE2 == -1) {
this._sE2[_W11]._kE2 = _hE2;
this._sE2[_W11]._L42 = 1 << _W11;
this._sE2[_W11]._M42 = 0;
return _W11;
}
}
return -1;
};
_lE2.prototype._pF2 = function (_hE2) {
var _qF2 = [];
for (var _rF2 in _sF2) {
if (!_sF2.hasOwnProperty(_rF2)) continue;
for (var _od2 in _sF2[_rF2]) {
if (!_sF2[_rF2].hasOwnProperty(_od2)) continue;
var _tF2 = -1;
if (_rF2 == _hE2) {
_tF2 = _od2;
} else if (_od2 == _hE2) {
_tF2 = _rF2;
}
if (_tF2 !== -1) {
_qF2[_qF2.length] = _tF2;
}
}
}
return _qF2;
};
_lE2.prototype._uF2 = function (_Lc1, _vF2) {
for (var _4q1 in _o01._wF2) {
if (!_o01._wF2.hasOwnProperty(_4q1)) continue;
var _xF2 = _o01._wF2[_4q1];
if (_xF2._pw1 === _Lc1._rw1) {
if (this._pF2(_xF2._rw1).length !== 0) {
_vF2[_vF2.length] = _xF2._rw1;
}
this._uF2(_xF2, _vF2);
}
}
};
_lE2.prototype._yF2 = function (_hE2) {
var _qF2 = this._pF2(_hE2);
var _zF2 = _hE2;
var _AF2 = _o01._s11(_hE2);
while (_AF2._pw1 >= 0 && _o01._s11(_AF2._pw1)) {
_AF2 = _o01._s11(_AF2._pw1);
_qF2 = _qF2.concat(this._pF2(_AF2._rw1));
}
for (var _W11 = 0; _W11 < _qF2.length; _W11++) {
var _BF2 = _qF2[_W11];
var _4q1 = _o01._s11(_BF2);
this._uF2(_4q1, _qF2);
}
return _qF2;
};
_lE2.prototype._CF2 = function (_hE2, _EA2) {
var _qF2 = this._yF2(_hE2);
for (var _DF2 = 0; _DF2 < _qF2.length; ++_DF2) {
for (var _EF2 = 0; _EF2 < _pB2; ++_EF2) {
if (this._sE2[_EF2]._kE2 == _qF2[_DF2]) {
this._sE2[_EA2]._M42 |= this._sE2[_EF2]._L42;
this._sE2[_EF2]._M42 |= this._sE2[_EA2]._L42;
}
}
}
};
_lE2.prototype._dF2 = function (_hE2) {
var _cF2 = this._mF2(_hE2);
if (_cF2 !== -1) {
return _cF2;
}
var _qF2 = this._pF2(_hE2);
var _kE2 = _hE2;
if (_qF2.length === 0) {
var _zF2 = _hE2;
var _AF2 = _o01._s11(_hE2);
while (_AF2._pw1 >= 0 && _o01._s11(_AF2._pw1)) {
_AF2 = _o01._s11(_AF2._pw1);
_kE2 = _AF2._rw1;
_qF2 = this._pF2(_kE2);
if (_qF2.length !== 0) {
_cF2 = this._mF2(_kE2);
break;
}
}
if (_qF2.length === 0) {
return -1;
}
}
if (_cF2 === -1) {
_cF2 = this._nF2(_kE2);
if (_cF2 === -1) {
return -1;
}
}
this._CF2(_hE2, _cF2);
return _cF2;
};
_lE2.prototype._jF2 = function () {
var _IE2 = this._X22._W62();
while (_IE2 != null && _IE2 != undefined) {
var _Yv1 = _IE2._uW1();
if (_Yv1 != null && _Yv1 != undefined) {
var _FF2 = _Yv1._ME2._GA2;
if (_FF2 != -1) {
var _GF2 = new _Rz2._PC2();
_GF2._L42 = this._sE2[_FF2]._L42;
_GF2._M42 = this._sE2[_FF2]._M42;
var _2F1 = _IE2._z42();
while (_2F1 != null && _2F1 != undefined) {
_GF2._N42 = _2F1._152()._N42;
_2F1.__42(_GF2);
_2F1 = _2F1._232;
}
}
}
_IE2 = _IE2._C42();
}
};
_lE2.prototype._vW1 = function (_xd1, _9r1, _a11, _b11, _e11) {
var _HF2 = new _Rz2._CB2();
_HF2._sc1(new _Rz2._Sz2(_a11, _b11), _e11);
if (_xd1._ME2 === null || _xd1._ME2 === undefined || _9r1._ME2 === null || _9r1._ME2 === undefined) {
return;
}
var _IF2 = _xd1._ME2._FA2;
var _JF2 = _9r1._ME2._FA2;
var _KF2;
for (_KF2 = _IF2._z42(); _KF2; _KF2 = _KF2._C42()) {
var _LF2;
for (_LF2 = _JF2._z42(); _LF2; _LF2 = _KF2._C42()) {
if (_Rz2._uC2(_KF2._X42(), 0, _LF2._X42(), 0, _HF2, _JF2._aT1())) {
return true;
}
}
}
return false;
};
_lE2.prototype._782 = function (_aw2, _a11, _b11, _MF2, _NF2, _081, _f41, _OF2) {
var _p32 = new _Rz2._5E2();
_p32._DP1 = _aw2;
_p32.position._sc1(_a11 * this._vF1, _b11 * this._vF1);
_p32._kH1._sc1(_MF2 * this._vF1, _NF2 * this._vF1);
_p32.color._sc1(_081 & 0xff, (_081 & 0xff00) >> 8, (_081 & 0xff0000) >> 16, _f41 * 255.0);
_p32._lW1 = _OF2;
return this._X22._782(_p32);
};
_lE2.prototype._PF2 = function () {
for (var _W11 = 0; _W11 < this._qE2.length; _W11++) {
var _UJ1 = this._qE2[_W11];
if (_UJ1 === null || _UJ1 === undefined) {
return _W11;
}
}
var slot = this._qE2.length;
return slot;
};
_lE2.prototype._QF2 = function (_RF2) {
if (_RF2 >= 0 && _RF2 < this._qE2.length) {
return this._qE2[_RF2];
}
return null;
};
_lE2.prototype._c82 = function (_SF2, _TF2) {
var _UF2 = this._QF2(_SF2);
var _VF2 = this._QF2(_TF2);
if (_UF2 !== null && _VF2 !== null) {
this._X22._c82(_UF2, _VF2);
this._qE2[_TF2] = null;
}
};
_lE2.prototype._WF2 = function (_IM1, _XF2, _YF2, _ZF2) {
var _d31 = this._X22._C82();
if (_YF2 < 0 || _YF2 >= _d31) return;
if (_ZF2 < _YF2) return;
if (_ZF2 > _d31) return;
var _DP1 = this._X22._g82();
var _I52 = this._X22._h82();
var _J52 = this._X22._i82();
var __F2 = this._X22._j82();
var _lW1 = this._X22._k82();
var _0G2 = _IM1._1G2;
var _2G2 = 1.0 / this._vF1;
for (var _W11 = _YF2; _W11 < _ZF2; _W11++) {
if (_XF2 & (1 << 0)) {
_IM1._3G2(_6c1, _DP1[_W11]);
}
if (_XF2 & (1 << 1)) {
_IM1._3G2(_4G2, _I52[_W11].x * _2G2);
_IM1._3G2(_4G2, _I52[_W11].y * _2G2);
}
if (_XF2 & (1 << 2)) {
_IM1._3G2(_4G2, _J52[_W11].x * _2G2);
_IM1._3G2(_4G2, _J52[_W11].y * _2G2);
}
if (_XF2 & (1 << 3)) {
_IM1._3G2(_6c1, (__F2[_W11]._l41 << 24) | (__F2[_W11]._b21 << 16) | (__F2[_W11]._k41 << 8) | __F2[_W11]._e21);
}
if (_XF2 & (1 << 4)) {
_IM1._3G2(_5G2, _lW1[_W11]);
}
}
_IM1._6G2(_gc1, _0G2);
};
_lE2.prototype._P92 = function (_RF2, _aw2) {
var _UJ1 = this._QF2(_RF2);
if (_UJ1 !== null && _UJ1 !== undefined) {
_UJ1._P92(_aw2);
}
};
_lE2.prototype._O92 = function (_RF2) {
var _UJ1 = this._QF2(_RF2);
if (_UJ1 !== null && _UJ1 !== undefined) {
return _UJ1._O92();
}
return 0;
};
_lE2.prototype._wE2 = function (_7G2, _OF2, _q11, _8G2) {
var _d31 = this._X22._C82();
var _DP1 = this._X22._g82();
var _I52 = this._X22._h82();
var __F2 = this._X22._j82();
var _lW1 = this._X22._k82();
var _2G2 = 1.0 / this._vF1;
for (var _W11 = 0; _W11 < _d31; _W11++) {
if ((_DP1[_W11] === 0 || (_DP1[_W11] & _7G2) !== 0) && (_OF2 === 0 || _OF2 === _lW1[_W11])) {
var _L31 = (__F2[_W11]._e21 & 0xff) | ((__F2[_W11]._k41 << 8) & 0xff00) | ((__F2[_W11]._b21 << 16) & 0xff0000);
_q11._O31(_W11, _I52[_W11].x * _2G2, _I52[_W11].y * _2G2, 1.0, 1.0, 0, _L31, __F2[_W11]._l41 / 255.0);
}
}
};
_lE2.prototype._zE2 = function (_7G2, _OF2, _q11, _8G2, _Dm1, _Em1, _e11, _081, _f41) {
var _d31 = this._X22._C82();
var _DP1 = this._X22._g82();
var _I52 = this._X22._h82();
var _lW1 = this._X22._k82();
var _2G2 = 1.0 / this._vF1;
for (var _W11 = 0; _W11 < _d31; _W11++) {
if ((_DP1[_W11] === 0 || (_DP1[_W11] & _7G2) !== 0) && (_OF2 === 0 || _OF2 === _lW1[_W11])) {
_q11._O31(_W11, _I52[_W11].x * _2G2, _I52[_W11].y * _2G2, _Dm1, _Em1, _e11, _081, _f41);
}
}
};
_lE2.prototype._vE2 = function (_7G2, _OF2, _q11, _8G2) {
var _be1 = _q11._yK1[_8G2 % _q11._9G2()];
if (!_be1) {
return;
}
if (!_be1._f31.complete) {
return;
}
if (!_be1._f31._o51) {
_p51(_be1);
}
var _d31 = this._X22._C82();
var _DP1 = this._X22._g82();
var _I52 = this._X22._h82();
var __F2 = this._X22._j82();
var _lW1 = this._X22._k82();
var _2G2 = 1.0 / this._vF1;
var _aG2 = 0;
for (var _W11 = 0; _W11 < _d31; _W11++) {
if ((_DP1[_W11] === 0 || (_DP1[_W11] & _7G2) !== 0) && (_OF2 === 0 || _OF2 === _lW1[_W11])) {
_aG2++;
}
}
if (_aG2 === 0) {
return;
}
var _u51 = _131._v51(_Z41._w51, _be1._f31._o51, _131._x51, _aG2 * 6);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _aG2 * 6;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
var _F51 = _u51._G51;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
var __11 = -(_q11._v2 - _be1._9k);
var _021 = -(_q11._w2 - _be1._ak);
var _121 = __11 + _be1._bk;
var _221 = _021 + _be1._ck;
var _bG2 = 0;
for (var _W11 = 0; _W11 < _d31; _W11++) {
if ((_DP1[_W11] === 0 || (_DP1[_W11] & _7G2) !== 0) && (_OF2 === 0 || _OF2 === _lW1[_W11])) {
var x = _I52[_W11].x * _2G2;
var y = _I52[_W11].y * _2G2;
_B51[_H51 + 0] = _B51[_e61 + 0] = _B51[_f61 + 0] = x + __11;
_B51[_H51 + 1] = _B51[_b61 + 1] = _B51[_f61 + 1] = y + _021;
_B51[_b61 + 0] = _B51[_c61 + 0] = _B51[_d61 + 0] = x + _121;
_B51[_c61 + 1] = _B51[_d61 + 1] = _B51[_e61 + 1] = y + _221;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
var _L31 = (__F2[_W11]._e21 & 0xff) | ((__F2[_W11]._k41 << 8) & 0xff00) | ((__F2[_W11]._b21 << 16) & 0xff0000) | ((__F2[_W11]._l41 << 24) & 0xff000000);
_D51[_H51] = _D51[_b61] = _D51[_c61] = _D51[_d61] = _D51[_e61] = _D51[_f61] = _L31;
_F51[_H51 + 0] = _F51[_e61 + 0] = _F51[_f61 + 0] = _be1.x / _be1._f31.width;
_F51[_H51 + 1] = _F51[_b61 + 1] = _F51[_f61 + 1] = _be1.y / _be1._f31.height;
_F51[_b61 + 0] = _F51[_c61 + 0] = _F51[_d61 + 0] = (_be1.x + _be1._Z9) / _be1._f31.width;
_F51[_c61 + 1] = _F51[_d61 + 1] = _F51[_e61 + 1] = (_be1.y + _be1.__9) / _be1._f31.height;
var _cG2 = _y51 * 6;
_H51 += _cG2;
_b61 += _cG2;
_c61 += _cG2;
_d61 += _cG2;
_e61 += _cG2;
_f61 += _cG2;
}
}
};
_lE2.prototype._yE2 = function (_7G2, _OF2, _q11, _8G2, _Dm1, _Em1, _e11, _081, _f41) {
_e11 = (_e11 * Math.PI) / 180.0;
var _be1 = _q11._yK1[_8G2 % _q11._9G2()];
if (!_be1) {
return;
}
if (!_be1._f31.complete) {
return;
}
if (!_be1._f31._o51) {
_p51(_be1);
}
var _d31 = this._X22._C82();
var _DP1 = this._X22._g82();
var _I52 = this._X22._h82();
var _lW1 = this._X22._k82();
var _2G2 = 1.0 / this._vF1;
var _aG2 = 0;
for (var _W11 = 0; _W11 < _d31; _W11++) {
if ((_DP1[_W11] === 0 || (_DP1[_W11] & _7G2) !== 0) && (_OF2 === 0 || _OF2 === _lW1[_W11])) {
_aG2++;
}
}
if (_aG2 === 0) {
return;
}
var _u51 = _131._v51(_Z41._w51, _be1._f31._o51, _131._x51, _aG2 * 6);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _aG2 * 6;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
var _F51 = _u51._G51;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
var _L31 = _081 | (((_f41 * 255) & 0xff) << 24);
var __11 = -_Dm1 * (_q11._v2 - _be1._9k);
var _021 = -_Em1 * (_q11._w2 - _be1._ak);
var _121 = __11 + _Dm1 * _be1._bk;
var _221 = _021 + _Em1 * _be1._ck;
var _bG2 = 0;
if (Math.abs(_e11) < 0.0001) {
for (var _W11 = 0; _W11 < _d31; _W11++) {
if ((_DP1[_W11] === 0 || (_DP1[_W11] & _7G2) !== 0) && (_OF2 === 0 || _OF2 === _lW1[_W11])) {
var x = _I52[_W11].x * _2G2;
var y = _I52[_W11].y * _2G2;
_B51[_H51 + 0] = _B51[_e61 + 0] = _B51[_f61 + 0] = x + __11;
_B51[_H51 + 1] = _B51[_b61 + 1] = _B51[_f61 + 1] = y + _021;
_B51[_b61 + 0] = _B51[_c61 + 0] = _B51[_d61 + 0] = x + _121;
_B51[_c61 + 1] = _B51[_d61 + 1] = _B51[_e61 + 1] = y + _221;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_D51[_H51] = _D51[_b61] = _D51[_c61] = _D51[_d61] = _D51[_e61] = _D51[_f61] = _L31;
_F51[_H51 + 0] = _F51[_e61 + 0] = _F51[_f61 + 0] = _be1.x / _be1._f31.width;
_F51[_H51 + 1] = _F51[_b61 + 1] = _F51[_f61 + 1] = _be1.y / _be1._f31.height;
_F51[_b61 + 0] = _F51[_c61 + 0] = _F51[_d61 + 0] = (_be1.x + _be1._Z9) / _be1._f31.width;
_F51[_c61 + 1] = _F51[_d61 + 1] = _F51[_e61 + 1] = (_be1.y + _be1.__9) / _be1._f31.height;
var _cG2 = _y51 * 6;
_H51 += _cG2;
_b61 += _cG2;
_c61 += _cG2;
_d61 += _cG2;
_e61 += _cG2;
_f61 += _cG2;
}
}
} else {
var _E21 = Math.sin(_e11);
var _F21 = Math.cos(_e11);
var _dG2 = __11 * _F21;
var _eG2 = _121 * _F21;
var _fG2 = _021 * _F21;
var _gG2 = _221 * _F21;
var _hG2 = __11 * _E21;
var _iG2 = _121 * _E21;
var _jG2 = _021 * _E21;
var _kG2 = _221 * _E21;
for (var _W11 = 0; _W11 < _d31; _W11++) {
if ((_DP1[_W11] === 0 || (_DP1[_W11] & _7G2) !== 0) && (_OF2 === 0 || _OF2 === _lW1[_W11])) {
var x = _I52[_W11].x * _2G2;
var y = _I52[_W11].y * _2G2;
_B51[_H51 + 0] = _B51[_f61 + 0] = x + _dG2 + _jG2;
_B51[_H51 + 1] = _B51[_f61 + 1] = y - _hG2 + _fG2;
_B51[_c61 + 0] = _B51[_d61 + 0] = x + _eG2 + _kG2;
_B51[_c61 + 1] = _B51[_d61 + 1] = y - _iG2 + _gG2;
_B51[_b61 + 1] = y - _iG2 + _fG2;
_B51[_b61 + 0] = x + _eG2 + _jG2;
_B51[_e61 + 0] = x + _dG2 + _kG2;
_B51[_e61 + 1] = y - _hG2 + _gG2;
_D51[_H51] = _D51[_b61] = _D51[_c61] = _D51[_d61] = _D51[_e61] = _D51[_f61] = _L31;
_F51[_H51 + 0] = _F51[_e61 + 0] = _F51[_f61 + 0] = _be1.x / _be1._f31.width;
_F51[_H51 + 1] = _F51[_b61 + 1] = _F51[_f61 + 1] = _be1.y / _be1._f31.height;
_F51[_b61 + 0] = _F51[_c61 + 0] = _F51[_d61 + 0] = (_be1.x + _be1._Z9) / _be1._f31.width;
_F51[_c61 + 1] = _F51[_d61 + 1] = _F51[_e61 + 1] = (_be1.y + _be1.__9) / _be1._f31.height;
var _cG2 = _y51 * 6;
_H51 += _cG2;
_b61 += _cG2;
_c61 += _cG2;
_d61 += _cG2;
_e61 += _cG2;
_f61 += _cG2;
}
}
}
};
_lE2.prototype._C82 = function () {
return this._X22._C82();
};
_lE2.prototype._X72 = function () {
return this._X22._X72();
};
_lE2.prototype._682 = function () {
return this._X22._682() * (1.0 / this._vF1);
};
_lE2.prototype.__72 = function () {
return this._X22.__72();
};
_lE2.prototype._482 = function () {
return this._X22._482();
};
_lE2.prototype._182 = function () {
return this._X22._182();
};
_lE2.prototype._Y72 = function (_c91) {
this._X22._Y72(_c91);
};
_lE2.prototype._582 = function (_0A2) {
this._X22._582(_0A2 * this._vF1);
};
_lE2.prototype._Z72 = function (_5F1) {
this._X22._Z72(_5F1);
};
_lE2.prototype._282 = function (_kF1) {
this._X22._282(_kF1);
};
_lE2.prototype._082 = function (_1B2) {
this._X22._082(_1B2);
};
var _lG2 =
(this && this._lG2) ||
(function () {
var _mG2 =
Object._nG2 ||
({ _oG2: [] } instanceof Array &&
function (_Ce1, _e21) {
_Ce1._oG2 = _e21;
}) ||
function (_Ce1, _e21) {
for (var _ot1 in _e21) if (_e21.hasOwnProperty(_ot1)) _Ce1[_ot1] = _e21[_ot1];
};
return function (_Ce1, _e21) {
_mG2(_Ce1, _e21);
function _pG2() {
this.constructor = _Ce1;
}
_Ce1.prototype = _e21 === null ? Object._nR1(_e21) : ((_pG2.prototype = _e21.prototype), new _pG2());
};
})();
var spine;
(function (spine) {
var _qG2 = (function () {
function _qG2(name, _x11, duration) {
if (name == null) throw new Error("name cannot be null.");
if (_x11 == null) throw new Error("timelines cannot be null.");
this.name = name;
this._x11 = _x11;
this.duration = duration;
}
_qG2.prototype.apply = function (skeleton, _rG2, time, loop, events, alpha, _7x1, _tI) {
if (skeleton == null) throw new Error("skeleton cannot be null.");
if (loop && this.duration != 0) {
time %= this.duration;
if (_rG2 > 0) _rG2 %= this.duration;
}
var _x11 = this._x11;
for (var _X9 = 0, _W11 = _x11.length; _X9 < _W11; _X9++) _x11[_X9].apply(skeleton, _rG2, time, events, alpha, _7x1, _tI);
};
_qG2._sG2 = function (_tG2, target, _7R1) {
if (_7R1 === void 0) {
_7R1 = 1;
}
var _eL1 = 0;
var _xL1 = _tG2.length / _7R1 - 2;
if (_xL1 == 0) return _7R1;
var current = _xL1 >>> 1;
while (!0) {
if (_tG2[(current + 1) * _7R1] <= target) _eL1 = current + 1;
else _xL1 = current;
if (_eL1 == _xL1) return (_eL1 + 1) * _7R1;
current = (_eL1 + _xL1) >>> 1;
}
};
_qG2._uG2 = function (_tG2, target, _7R1) {
for (var _X9 = 0, _R9 = _tG2.length - _7R1; _X9 <= _R9; _X9 += _7R1) if (_tG2[_X9] > target) return _X9;
return -1;
};
return _qG2;
})();
spine._qG2 = _qG2;
var _vG2;
(function (_vG2) {
_vG2[(_vG2["setup"] = 0)] = "setup";
_vG2[(_vG2["first"] = 1)] = "first";
_vG2[(_vG2["replace"] = 2)] = "replace";
_vG2[(_vG2["add"] = 3)] = "add";
})((_vG2 = spine._vG2 || (spine._vG2 = {})));
var _wG2;
(function (_wG2) {
_wG2[(_wG2["in"] = 0)] = "in";
_wG2[(_wG2["out"] = 1)] = "out";
})((_wG2 = spine._wG2 || (spine._wG2 = {})));
var _xG2;
(function (_xG2) {
_xG2[(_xG2["rotate"] = 0)] = "rotate";
_xG2[(_xG2["translate"] = 1)] = "translate";
_xG2[(_xG2["scale"] = 2)] = "scale";
_xG2[(_xG2["shear"] = 3)] = "shear";
_xG2[(_xG2["attachment"] = 4)] = "attachment";
_xG2[(_xG2["color"] = 5)] = "color";
_xG2[(_xG2["deform"] = 6)] = "deform";
_xG2[(_xG2["event"] = 7)] = "event";
_xG2[(_xG2["drawOrder"] = 8)] = "drawOrder";
_xG2[(_xG2["ikConstraint"] = 9)] = "ikConstraint";
_xG2[(_xG2["transformConstraint"] = 10)] = "transformConstraint";
_xG2[(_xG2["pathConstraintPosition"] = 11)] = "pathConstraintPosition";
_xG2[(_xG2["pathConstraintSpacing"] = 12)] = "pathConstraintSpacing";
_xG2[(_xG2["pathConstraintMix"] = 13)] = "pathConstraintMix";
_xG2[(_xG2["twoColor"] = 14)] = "twoColor";
})((_xG2 = spine._xG2 || (spine._xG2 = {})));
var _yG2 = (function () {
function _yG2(_t11) {
if (_t11 <= 0) throw new Error("frameCount must be > 0: " + _t11);
this._zG2 = spine._AG2._BG2((_t11 - 1) * _yG2._CG2);
}
_yG2.prototype._DG2 = function () {
return this._zG2.length / _yG2._CG2 + 1;
};
_yG2.prototype._EG2 = function (_FG2) {
this._zG2[_FG2 * _yG2._CG2] = _yG2.LINEAR;
};
_yG2.prototype._GG2 = function (_FG2) {
this._zG2[_FG2 * _yG2._CG2] = _yG2._HG2;
};
_yG2.prototype._IG2 = function (_FG2) {
var index = _FG2 * _yG2._CG2;
if (index == this._zG2.length) return _yG2.LINEAR;
var type = this._zG2[index];
if (type == _yG2.LINEAR) return _yG2.LINEAR;
if (type == _yG2._HG2) return _yG2._HG2;
return _yG2._JG2;
};
_yG2.prototype._KG2 = function (_FG2, _LG2, _MG2, _NG2, _OG2) {
var _PG2 = (-_LG2 * 2 + _NG2) * 0.03,
_QG2 = (-_MG2 * 2 + _OG2) * 0.03;
var _RG2 = ((_LG2 - _NG2) * 3 + 1) * 0.006,
_SG2 = ((_MG2 - _OG2) * 3 + 1) * 0.006;
var _TG2 = _PG2 * 2 + _RG2,
_UG2 = _QG2 * 2 + _SG2;
var _VG2 = _LG2 * 0.3 + _PG2 + _RG2 * 0.16666667,
_WG2 = _MG2 * 0.3 + _QG2 + _SG2 * 0.16666667;
var _X9 = _FG2 * _yG2._CG2;
var _zG2 = this._zG2;
_zG2[_X9++] = _yG2._JG2;
var x = _VG2,
y = _WG2;
for (var _W11 = _X9 + _yG2._CG2 - 1; _X9 < _W11; _X9 += 2) {
_zG2[_X9] = x;
_zG2[_X9 + 1] = y;
_VG2 += _TG2;
_WG2 += _UG2;
_TG2 += _RG2;
_UG2 += _SG2;
x += _VG2;
y += _WG2;
}
};
_yG2.prototype._XG2 = function (_FG2, _YG2) {
_YG2 = spine._ZG2._cm(_YG2, 0, 1);
var _zG2 = this._zG2;
var _X9 = _FG2 * _yG2._CG2;
var type = _zG2[_X9];
if (type == _yG2.LINEAR) return _YG2;
if (type == _yG2._HG2) return 0;
_X9++;
var x = 0;
for (var start = _X9, _W11 = _X9 + _yG2._CG2 - 1; _X9 < _W11; _X9 += 2) {
x = _zG2[_X9];
if (x >= _YG2) {
var __G2 = void 0,
_0H2 = void 0;
if (_X9 == start) {
__G2 = 0;
_0H2 = 0;
} else {
__G2 = _zG2[_X9 - 2];
_0H2 = _zG2[_X9 - 1];
}
return _0H2 + ((_zG2[_X9 + 1] - _0H2) * (_YG2 - __G2)) / (x - __G2);
}
}
var y = _zG2[_X9 - 1];
return y + ((1 - y) * (_YG2 - x)) / (1 - x);
};
_yG2.LINEAR = 0;
_yG2._HG2 = 1;
_yG2._JG2 = 2;
_yG2._CG2 = 10 * 2 - 1;
return _yG2;
})();
spine._yG2 = _yG2;
var _1H2 = (function (_2H2) {
_lG2(_1H2, _2H2);
function _1H2(_t11) {
var _3H2 = _2H2.call(this, _t11) || this;
_3H2.frames = spine._AG2._BG2(_t11 << 1);
return _3H2;
}
_1H2.prototype._4H2 = function () {
return (_xG2.rotate << 24) + this._5H2;
};
_1H2.prototype._6H2 = function (_FG2, time, _7H2) {
_FG2 <<= 1;
this.frames[_FG2] = time;
this.frames[_FG2 + _1H2._8H2] = _7H2;
};
_1H2.prototype.apply = function (skeleton, _rG2, time, events, alpha, _7x1, _tI) {
var frames = this.frames;
var bone = skeleton.bones[this._5H2];
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
bone.rotation = bone.data.rotation;
return;
case _vG2.first:
var _9H2 = bone.data.rotation - bone.rotation;
bone.rotation += (_9H2 - (16384 - ((16384.499999999996 - _9H2 / 360) | 0)) * 360) * alpha;
}
return;
}
if (time >= frames[frames.length - _1H2._aH2]) {
var _b21 = frames[frames.length + _1H2._bH2];
switch (_7x1) {
case _vG2.setup:
bone.rotation = bone.data.rotation + _b21 * alpha;
break;
case _vG2.first:
case _vG2.replace:
_b21 += bone.data.rotation - bone.rotation;
_b21 -= (16384 - ((16384.499999999996 - _b21 / 360) | 0)) * 360;
case _vG2.add:
bone.rotation += _b21 * alpha;
}
return;
}
var _F11 = _qG2._sG2(frames, time, _1H2._aH2);
var _cH2 = frames[_F11 + _1H2._bH2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2((_F11 >> 1) - 1, 1 - (time - _dH2) / (frames[_F11 + _1H2._eH2] - _dH2));
_b21 = frames[_F11 + _1H2._8H2] - _cH2;
_b21 = _cH2 + (_b21 - (16384 - ((16384.499999999996 - _b21 / 360) | 0)) * 360) * _YG2;
switch (_7x1) {
case _vG2.setup:
bone.rotation = bone.data.rotation + (_b21 - (16384 - ((16384.499999999996 - _b21 / 360) | 0)) * 360) * alpha;
break;
case _vG2.first:
case _vG2.replace:
_b21 += bone.data.rotation - bone.rotation;
case _vG2.add:
bone.rotation += (_b21 - (16384 - ((16384.499999999996 - _b21 / 360) | 0)) * 360) * alpha;
}
};
_1H2._aH2 = 2;
_1H2._eH2 = -2;
_1H2._bH2 = -1;
_1H2._8H2 = 1;
return _1H2;
})(_yG2);
spine._1H2 = _1H2;
var _fH2 = (function (_2H2) {
_lG2(_fH2, _2H2);
function _fH2(_t11) {
var _3H2 = _2H2.call(this, _t11) || this;
_3H2.frames = spine._AG2._BG2(_t11 * _fH2._aH2);
return _3H2;
}
_fH2.prototype._4H2 = function () {
return (_xG2.translate << 24) + this._5H2;
};
_fH2.prototype._6H2 = function (_FG2, time, x, y) {
_FG2 *= _fH2._aH2;
this.frames[_FG2] = time;
this.frames[_FG2 + _fH2._vl1] = x;
this.frames[_FG2 + _fH2._wl1] = y;
};
_fH2.prototype.apply = function (skeleton, _rG2, time, events, alpha, _7x1, _tI) {
var frames = this.frames;
var bone = skeleton.bones[this._5H2];
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
bone.x = bone.data.x;
bone.y = bone.data.y;
return;
case _vG2.first:
bone.x += (bone.data.x - bone.x) * alpha;
bone.y += (bone.data.y - bone.y) * alpha;
}
return;
}
var x = 0,
y = 0;
if (time >= frames[frames.length - _fH2._aH2]) {
x = frames[frames.length + _fH2._gH2];
y = frames[frames.length + _fH2._hH2];
} else {
var _F11 = _qG2._sG2(frames, time, _fH2._aH2);
x = frames[_F11 + _fH2._gH2];
y = frames[_F11 + _fH2._hH2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _fH2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _fH2._eH2] - _dH2));
x += (frames[_F11 + _fH2._vl1] - x) * _YG2;
y += (frames[_F11 + _fH2._wl1] - y) * _YG2;
}
switch (_7x1) {
case _vG2.setup:
bone.x = bone.data.x + x * alpha;
bone.y = bone.data.y + y * alpha;
break;
case _vG2.first:
case _vG2.replace:
bone.x += (bone.data.x + x - bone.x) * alpha;
bone.y += (bone.data.y + y - bone.y) * alpha;
break;
case _vG2.add:
bone.x += x * alpha;
bone.y += y * alpha;
}
};
_fH2._aH2 = 3;
_fH2._eH2 = -3;
_fH2._gH2 = -2;
_fH2._hH2 = -1;
_fH2._vl1 = 1;
_fH2._wl1 = 2;
return _fH2;
})(_yG2);
spine._fH2 = _fH2;
var _iH2 = (function (_2H2) {
_lG2(_iH2, _2H2);
function _iH2(_t11) {
return _2H2.call(this, _t11) || this;
}
_iH2.prototype._4H2 = function () {
return (_xG2.scale << 24) + this._5H2;
};
_iH2.prototype.apply = function (skeleton, _rG2, time, events, alpha, _7x1, _tI) {
var frames = this.frames;
var bone = skeleton.bones[this._5H2];
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
bone.scaleX = bone.data.scaleX;
bone.scaleY = bone.data.scaleY;
return;
case _vG2.first:
bone.scaleX += (bone.data.scaleX - bone.scaleX) * alpha;
bone.scaleY += (bone.data.scaleY - bone.scaleY) * alpha;
}
return;
}
var x = 0,
y = 0;
if (time >= frames[frames.length - _iH2._aH2]) {
x = frames[frames.length + _iH2._gH2] * bone.data.scaleX;
y = frames[frames.length + _iH2._hH2] * bone.data.scaleY;
} else {
var _F11 = _qG2._sG2(frames, time, _iH2._aH2);
x = frames[_F11 + _iH2._gH2];
y = frames[_F11 + _iH2._hH2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _iH2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _iH2._eH2] - _dH2));
x = (x + (frames[_F11 + _iH2._vl1] - x) * _YG2) * bone.data.scaleX;
y = (y + (frames[_F11 + _iH2._wl1] - y) * _YG2) * bone.data.scaleY;
}
if (alpha == 1) {
if (_7x1 == _vG2.add) {
bone.scaleX += x - bone.data.scaleX;
bone.scaleY += y - bone.data.scaleY;
} else {
bone.scaleX = x;
bone.scaleY = y;
}
} else {
var _992 = 0,
_a92 = 0;
if (_tI == _wG2.out) {
switch (_7x1) {
case _vG2.setup:
_992 = bone.data.scaleX;
_a92 = bone.data.scaleY;
bone.scaleX = _992 + (Math.abs(x) * spine._ZG2._jH2(_992) - _992) * alpha;
bone.scaleY = _a92 + (Math.abs(y) * spine._ZG2._jH2(_a92) - _a92) * alpha;
break;
case _vG2.first:
case _vG2.replace:
_992 = bone.scaleX;
_a92 = bone.scaleY;
bone.scaleX = _992 + (Math.abs(x) * spine._ZG2._jH2(_992) - _992) * alpha;
bone.scaleY = _a92 + (Math.abs(y) * spine._ZG2._jH2(_a92) - _a92) * alpha;
break;
case _vG2.add:
_992 = bone.scaleX;
_a92 = bone.scaleY;
bone.scaleX = _992 + (Math.abs(x) * spine._ZG2._jH2(_992) - bone.data.scaleX) * alpha;
bone.scaleY = _a92 + (Math.abs(y) * spine._ZG2._jH2(_a92) - bone.data.scaleY) * alpha;
}
} else {
switch (_7x1) {
case _vG2.setup:
_992 = Math.abs(bone.data.scaleX) * spine._ZG2._jH2(x);
_a92 = Math.abs(bone.data.scaleY) * spine._ZG2._jH2(y);
bone.scaleX = _992 + (x - _992) * alpha;
bone.scaleY = _a92 + (y - _a92) * alpha;
break;
case _vG2.first:
case _vG2.replace:
_992 = Math.abs(bone.scaleX) * spine._ZG2._jH2(x);
_a92 = Math.abs(bone.scaleY) * spine._ZG2._jH2(y);
bone.scaleX = _992 + (x - _992) * alpha;
bone.scaleY = _a92 + (y - _a92) * alpha;
break;
case _vG2.add:
_992 = spine._ZG2._jH2(x);
_a92 = spine._ZG2._jH2(y);
bone.scaleX = Math.abs(bone.scaleX) * _992 + (x - Math.abs(bone.data.scaleX) * _992) * alpha;
bone.scaleY = Math.abs(bone.scaleY) * _a92 + (y - Math.abs(bone.data.scaleY) * _a92) * alpha;
}
}
}
};
return _iH2;
})(_fH2);
spine._iH2 = _iH2;
var _kH2 = (function (_2H2) {
_lG2(_kH2, _2H2);
function _kH2(_t11) {
return _2H2.call(this, _t11) || this;
}
_kH2.prototype._4H2 = function () {
return (_xG2.shear << 24) + this._5H2;
};
_kH2.prototype.apply = function (skeleton, _rG2, time, events, alpha, _7x1, _tI) {
var frames = this.frames;
var bone = skeleton.bones[this._5H2];
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
bone.shearX = bone.data.shearX;
bone.shearY = bone.data.shearY;
return;
case _vG2.first:
bone.shearX += (bone.data.shearX - bone.shearX) * alpha;
bone.shearY += (bone.data.shearY - bone.shearY) * alpha;
}
return;
}
var x = 0,
y = 0;
if (time >= frames[frames.length - _kH2._aH2]) {
x = frames[frames.length + _kH2._gH2];
y = frames[frames.length + _kH2._hH2];
} else {
var _F11 = _qG2._sG2(frames, time, _kH2._aH2);
x = frames[_F11 + _kH2._gH2];
y = frames[_F11 + _kH2._hH2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _kH2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _kH2._eH2] - _dH2));
x = x + (frames[_F11 + _kH2._vl1] - x) * _YG2;
y = y + (frames[_F11 + _kH2._wl1] - y) * _YG2;
}
switch (_7x1) {
case _vG2.setup:
bone.shearX = bone.data.shearX + x * alpha;
bone.shearY = bone.data.shearY + y * alpha;
break;
case _vG2.first:
case _vG2.replace:
bone.shearX += (bone.data.shearX + x - bone.shearX) * alpha;
bone.shearY += (bone.data.shearY + y - bone.shearY) * alpha;
break;
case _vG2.add:
bone.shearX += x * alpha;
bone.shearY += y * alpha;
}
};
return _kH2;
})(_fH2);
spine._kH2 = _kH2;
var _lH2 = (function (_2H2) {
_lG2(_lH2, _2H2);
function _lH2(_t11) {
var _3H2 = _2H2.call(this, _t11) || this;
_3H2.frames = spine._AG2._BG2(_t11 * _lH2._aH2);
return _3H2;
}
_lH2.prototype._4H2 = function () {
return (_xG2.color << 24) + this._311;
};
_lH2.prototype._6H2 = function (_FG2, time, _b21, _k41, _e21, _l41) {
_FG2 *= _lH2._aH2;
this.frames[_FG2] = time;
this.frames[_FG2 + _lH2._mH2] = _b21;
this.frames[_FG2 + _lH2._J12] = _k41;
this.frames[_FG2 + _lH2._FS1] = _e21;
this.frames[_FG2 + _lH2._vR1] = _l41;
};
_lH2.prototype.apply = function (skeleton, _rG2, time, events, alpha, _7x1, _tI) {
var slot = skeleton.slots[this._311];
var frames = this.frames;
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
slot.color._nH2(slot.data.color);
return;
case _vG2.first:
var color = slot.color,
setup = slot.data.color;
color.add((setup._b21 - color._b21) * alpha, (setup._k41 - color._k41) * alpha, (setup._e21 - color._e21) * alpha, (setup._l41 - color._l41) * alpha);
}
return;
}
var _b21 = 0,
_k41 = 0,
_e21 = 0,
_l41 = 0;
if (time >= frames[frames.length - _lH2._aH2]) {
var _X9 = frames.length;
_b21 = frames[_X9 + _lH2._oH2];
_k41 = frames[_X9 + _lH2._pH2];
_e21 = frames[_X9 + _lH2._qH2];
_l41 = frames[_X9 + _lH2._rH2];
} else {
var _F11 = _qG2._sG2(frames, time, _lH2._aH2);
_b21 = frames[_F11 + _lH2._oH2];
_k41 = frames[_F11 + _lH2._pH2];
_e21 = frames[_F11 + _lH2._qH2];
_l41 = frames[_F11 + _lH2._rH2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _lH2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _lH2._eH2] - _dH2));
_b21 += (frames[_F11 + _lH2._mH2] - _b21) * _YG2;
_k41 += (frames[_F11 + _lH2._J12] - _k41) * _YG2;
_e21 += (frames[_F11 + _lH2._FS1] - _e21) * _YG2;
_l41 += (frames[_F11 + _lH2._vR1] - _l41) * _YG2;
}
if (alpha == 1) slot.color.set(_b21, _k41, _e21, _l41);
else {
var color = slot.color;
if (_7x1 == _vG2.setup) color._nH2(slot.data.color);
color.add((_b21 - color._b21) * alpha, (_k41 - color._k41) * alpha, (_e21 - color._e21) * alpha, (_l41 - color._l41) * alpha);
}
};
_lH2._aH2 = 5;
_lH2._eH2 = -5;
_lH2._oH2 = -4;
_lH2._pH2 = -3;
_lH2._qH2 = -2;
_lH2._rH2 = -1;
_lH2._mH2 = 1;
_lH2._J12 = 2;
_lH2._FS1 = 3;
_lH2._vR1 = 4;
return _lH2;
})(_yG2);
spine._lH2 = _lH2;
var _sH2 = (function (_2H2) {
_lG2(_sH2, _2H2);
function _sH2(_t11) {
var _3H2 = _2H2.call(this, _t11) || this;
_3H2.frames = spine._AG2._BG2(_t11 * _sH2._aH2);
return _3H2;
}
_sH2.prototype._4H2 = function () {
return (_xG2.twoColor << 24) + this._311;
};
_sH2.prototype._6H2 = function (_FG2, time, _b21, _k41, _e21, _l41, _0r1, _2r1, _4r1) {
_FG2 *= _sH2._aH2;
this.frames[_FG2] = time;
this.frames[_FG2 + _sH2._mH2] = _b21;
this.frames[_FG2 + _sH2._J12] = _k41;
this.frames[_FG2 + _sH2._FS1] = _e21;
this.frames[_FG2 + _sH2._vR1] = _l41;
this.frames[_FG2 + _sH2._tH2] = _0r1;
this.frames[_FG2 + _sH2._uH2] = _2r1;
this.frames[_FG2 + _sH2._C_1] = _4r1;
};
_sH2.prototype.apply = function (skeleton, _rG2, time, events, alpha, _7x1, _tI) {
var slot = skeleton.slots[this._311];
var frames = this.frames;
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
slot.color._nH2(slot.data.color);
slot._l51._nH2(slot.data._l51);
return;
case _vG2.first:
var _vH2 = slot.color,
_wH2 = slot._l51,
_xH2 = slot.data.color,
_yH2 = slot.data._l51;
_vH2.add((_xH2._b21 - _vH2._b21) * alpha, (_xH2._k41 - _vH2._k41) * alpha, (_xH2._e21 - _vH2._e21) * alpha, (_xH2._l41 - _vH2._l41) * alpha);
_wH2.add((_yH2._b21 - _wH2._b21) * alpha, (_yH2._k41 - _wH2._k41) * alpha, (_yH2._e21 - _wH2._e21) * alpha, 0);
}
return;
}
var _b21 = 0,
_k41 = 0,
_e21 = 0,
_l41 = 0,
_0r1 = 0,
_2r1 = 0,
_4r1 = 0;
if (time >= frames[frames.length - _sH2._aH2]) {
var _X9 = frames.length;
_b21 = frames[_X9 + _sH2._oH2];
_k41 = frames[_X9 + _sH2._pH2];
_e21 = frames[_X9 + _sH2._qH2];
_l41 = frames[_X9 + _sH2._rH2];
_0r1 = frames[_X9 + _sH2._zH2];
_2r1 = frames[_X9 + _sH2._AH2];
_4r1 = frames[_X9 + _sH2._BH2];
} else {
var _F11 = _qG2._sG2(frames, time, _sH2._aH2);
_b21 = frames[_F11 + _sH2._oH2];
_k41 = frames[_F11 + _sH2._pH2];
_e21 = frames[_F11 + _sH2._qH2];
_l41 = frames[_F11 + _sH2._rH2];
_0r1 = frames[_F11 + _sH2._zH2];
_2r1 = frames[_F11 + _sH2._AH2];
_4r1 = frames[_F11 + _sH2._BH2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _sH2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _sH2._eH2] - _dH2));
_b21 += (frames[_F11 + _sH2._mH2] - _b21) * _YG2;
_k41 += (frames[_F11 + _sH2._J12] - _k41) * _YG2;
_e21 += (frames[_F11 + _sH2._FS1] - _e21) * _YG2;
_l41 += (frames[_F11 + _sH2._vR1] - _l41) * _YG2;
_0r1 += (frames[_F11 + _sH2._tH2] - _0r1) * _YG2;
_2r1 += (frames[_F11 + _sH2._uH2] - _2r1) * _YG2;
_4r1 += (frames[_F11 + _sH2._C_1] - _4r1) * _YG2;
}
if (alpha == 1) {
slot.color.set(_b21, _k41, _e21, _l41);
slot._l51.set(_0r1, _2r1, _4r1, 1);
} else {
var _vH2 = slot.color,
_wH2 = slot._l51;
if (_7x1 == _vG2.setup) {
_vH2._nH2(slot.data.color);
_wH2._nH2(slot.data._l51);
}
_vH2.add((_b21 - _vH2._b21) * alpha, (_k41 - _vH2._k41) * alpha, (_e21 - _vH2._e21) * alpha, (_l41 - _vH2._l41) * alpha);
_wH2.add((_0r1 - _wH2._b21) * alpha, (_2r1 - _wH2._k41) * alpha, (_4r1 - _wH2._e21) * alpha, 0);
}
};
_sH2._aH2 = 8;
_sH2._eH2 = -8;
_sH2._oH2 = -7;
_sH2._pH2 = -6;
_sH2._qH2 = -5;
_sH2._rH2 = -4;
_sH2._zH2 = -3;
_sH2._AH2 = -2;
_sH2._BH2 = -1;
_sH2._mH2 = 1;
_sH2._J12 = 2;
_sH2._FS1 = 3;
_sH2._vR1 = 4;
_sH2._tH2 = 5;
_sH2._uH2 = 6;
_sH2._C_1 = 7;
return _sH2;
})(_yG2);
spine._sH2 = _sH2;
var _CH2 = (function () {
function _CH2(_t11) {
this.frames = spine._AG2._BG2(_t11);
this._DH2 = new Array(_t11);
}
_CH2.prototype._4H2 = function () {
return (_xG2.attachment << 24) + this._311;
};
_CH2.prototype._DG2 = function () {
return this.frames.length;
};
_CH2.prototype._6H2 = function (_FG2, time, _EH2) {
this.frames[_FG2] = time;
this._DH2[_FG2] = _EH2;
};
_CH2.prototype.apply = function (skeleton, _rG2, time, events, alpha, _7x1, _tI) {
var slot = skeleton.slots[this._311];
if (_tI == _wG2.out && _7x1 == _vG2.setup) {
var _FH2 = slot.data._EH2;
slot._211(_FH2 == null ? null : skeleton._611(this._311, _FH2));
return;
}
var frames = this.frames;
if (time < frames[0]) {
if (_7x1 == _vG2.setup || _7x1 == _vG2.first) {
var _GH2 = slot.data._EH2;
slot._211(_GH2 == null ? null : skeleton._611(this._311, _GH2));
}
return;
}
var _FG2 = 0;
if (time >= frames[frames.length - 1]) _FG2 = frames.length - 1;
else _FG2 = _qG2._sG2(frames, time, 1) - 1;
var _EH2 = this._DH2[_FG2];
skeleton.slots[this._311]._211(_EH2 == null ? null : skeleton._611(this._311, _EH2));
};
return _CH2;
})();
spine._CH2 = _CH2;
var _HH2 = null;
var _IH2 = (function (_2H2) {
_lG2(_IH2, _2H2);
function _IH2(_t11) {
var _3H2 = _2H2.call(this, _t11) || this;
_3H2.frames = spine._AG2._BG2(_t11);
_3H2._JH2 = new Array(_t11);
if (_HH2 == null) _HH2 = spine._AG2._BG2(64);
return _3H2;
}
_IH2.prototype._4H2 = function () {
return (_xG2.deform << 27) + +this.attachment.id + this._311;
};
_IH2.prototype._6H2 = function (_FG2, time, vertices) {
this.frames[_FG2] = time;
this._JH2[_FG2] = vertices;
};
_IH2.prototype.apply = function (skeleton, _rG2, time, _KH2, alpha, _7x1, _tI) {
var slot = skeleton.slots[this._311];
var _LH2 = slot._611();
if (!(_LH2 instanceof spine._MH2) || !_LH2._NH2(this.attachment)) return;
var _OH2 = slot._PH2;
if (_OH2.length == 0) _7x1 = _vG2.setup;
var _JH2 = this._JH2;
var vertexCount = _JH2[0].length;
var frames = this.frames;
if (time < frames[0]) {
var _QH2 = _LH2;
switch (_7x1) {
case _vG2.setup:
_OH2.length = 0;
return;
case _vG2.first:
if (alpha == 1) {
_OH2.length = 0;
break;
}
var _RH2 = spine._AG2._SH2(_OH2, vertexCount);
if (_QH2.bones == null) {
var _TH2 = _QH2.vertices;
for (var _X9 = 0; _X9 < vertexCount; _X9++) _RH2[_X9] += (_TH2[_X9] - _RH2[_X9]) * alpha;
} else {
alpha = 1 - alpha;
for (var _X9 = 0; _X9 < vertexCount; _X9++) _RH2[_X9] *= alpha;
}
}
return;
}
var vertices = spine._AG2._SH2(_OH2, vertexCount);
if (time >= frames[frames.length - 1]) {
var _UH2 = _JH2[frames.length - 1];
if (alpha == 1) {
if (_7x1 == _vG2.add) {
var _QH2 = _LH2;
if (_QH2.bones == null) {
var _VH2 = _QH2.vertices;
for (var _WH2 = 0; _WH2 < vertexCount; _WH2++) {
vertices[_WH2] += _UH2[_WH2] - _VH2[_WH2];
}
} else {
for (var _XH2 = 0; _XH2 < vertexCount; _XH2++) vertices[_XH2] += _UH2[_XH2];
}
} else {
spine._AG2._YH2(_UH2, 0, vertices, 0, vertexCount);
}
} else {
switch (_7x1) {
case _vG2.setup: {
var _ZH2 = _LH2;
if (_ZH2.bones == null) {
var __H2 = _ZH2.vertices;
for (var _0I2 = 0; _0I2 < vertexCount; _0I2++) {
var setup = __H2[_0I2];
vertices[_0I2] = setup + (_UH2[_0I2] - setup) * alpha;
}
} else {
for (var _1I2 = 0; _1I2 < vertexCount; _1I2++) vertices[_1I2] = _UH2[_1I2] * alpha;
}
break;
}
case _vG2.first:
case _vG2.replace:
for (var _2I2 = 0; _2I2 < vertexCount; _2I2++) vertices[_2I2] += (_UH2[_2I2] - vertices[_2I2]) * alpha;
case _vG2.add:
var _QH2 = _LH2;
if (_QH2.bones == null) {
var _3I2 = _QH2.vertices;
for (var _4I2 = 0; _4I2 < vertexCount; _4I2++) {
vertices[_4I2] += (_UH2[_4I2] - _3I2[_4I2]) * alpha;
}
} else {
for (var _5I2 = 0; _5I2 < vertexCount; _5I2++) vertices[_5I2] += _UH2[_5I2] * alpha;
}
}
}
return;
}
var _F11 = _qG2._sG2(frames, time);
var _6I2 = _JH2[_F11 - 1];
var _7I2 = _JH2[_F11];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 - 1, 1 - (time - _dH2) / (frames[_F11 - 1] - _dH2));
if (alpha == 1) {
if (_7x1 == _vG2.add) {
var _QH2 = _LH2;
if (_QH2.bones == null) {
var _8I2 = _QH2.vertices;
for (var _9I2 = 0; _9I2 < vertexCount; _9I2++) {
var _w62 = _6I2[_9I2];
vertices[_9I2] += _w62 + (_7I2[_9I2] - _w62) * _YG2 - _8I2[_9I2];
}
} else {
for (var _aI2 = 0; _aI2 < vertexCount; _aI2++) {
var _w62 = _6I2[_aI2];
vertices[_aI2] += _w62 + (_7I2[_aI2] - _w62) * _YG2;
}
}
} else {
for (var _bI2 = 0; _bI2 < vertexCount; _bI2++) {
var _w62 = _6I2[_bI2];
vertices[_bI2] = _w62 + (_7I2[_bI2] - _w62) * _YG2;
}
}
} else {
switch (_7x1) {
case _vG2.setup: {
var _cI2 = _LH2;
if (_cI2.bones == null) {
var _dI2 = _cI2.vertices;
for (var _eI2 = 0; _eI2 < vertexCount; _eI2++) {
var _w62 = _6I2[_eI2],
setup = _dI2[_eI2];
vertices[_eI2] = setup + (_w62 + (_7I2[_eI2] - _w62) * _YG2 - setup) * alpha;
}
} else {
for (var _fI2 = 0; _fI2 < vertexCount; _fI2++) {
var _w62 = _6I2[_fI2];
vertices[_fI2] = (_w62 + (_7I2[_fI2] - _w62) * _YG2) * alpha;
}
}
break;
}
case _vG2.first:
case _vG2.replace:
for (var _gI2 = 0; _gI2 < vertexCount; _gI2++) {
var _w62 = _6I2[_gI2];
vertices[_gI2] += (_w62 + (_7I2[_gI2] - _w62) * _YG2 - vertices[_gI2]) * alpha;
}
break;
case _vG2.add:
var _QH2 = _LH2;
if (_QH2.bones == null) {
var _hI2 = _QH2.vertices;
for (var _iI2 = 0; _iI2 < vertexCount; _iI2++) {
var _w62 = _6I2[_iI2];
vertices[_iI2] += (_w62 + (_7I2[_iI2] - _w62) * _YG2 - _hI2[_iI2]) * alpha;
}
} else {
for (var _jI2 = 0; _jI2 < vertexCount; _jI2++) {
var _w62 = _6I2[_jI2];
vertices[_jI2] += (_w62 + (_7I2[_jI2] - _w62) * _YG2) * alpha;
}
}
}
}
};
return _IH2;
})(_yG2);
spine._IH2 = _IH2;
var _kI2 = (function () {
function _kI2(_t11) {
this.frames = spine._AG2._BG2(_t11);
this.events = new Array(_t11);
}
_kI2.prototype._4H2 = function () {
return _xG2.event << 24;
};
_kI2.prototype._DG2 = function () {
return this.frames.length;
};
_kI2.prototype._6H2 = function (_FG2, event) {
this.frames[_FG2] = event.time;
this.events[_FG2] = event;
};
_kI2.prototype.apply = function (skeleton, _rG2, time, _KH2, alpha, _7x1, _tI) {
if (_KH2 == null) return;
var frames = this.frames;
var _t11 = this.frames.length;
if (_rG2 > time) {
this.apply(skeleton, _rG2, Number.MAX_VALUE, _KH2, alpha, _7x1, _tI);
_rG2 = -1;
} else if (_rG2 >= frames[_t11 - 1]) return;
if (time < frames[0]) return;
var _F11 = 0;
if (_rG2 < frames[0]) _F11 = 0;
else {
_F11 = _qG2._sG2(frames, _rG2);
var _dH2 = frames[_F11];
while (_F11 > 0) {
if (frames[_F11 - 1] != _dH2) break;
_F11--;
}
}
for (; _F11 < _t11 && time >= frames[_F11]; _F11++) _KH2.push(this.events[_F11]);
};
return _kI2;
})();
spine._kI2 = _kI2;
var _lI2 = (function () {
function _lI2(_t11) {
this.frames = spine._AG2._BG2(_t11);
this._mI2 = new Array(_t11);
}
_lI2.prototype._4H2 = function () {
return _xG2.drawOrder << 24;
};
_lI2.prototype._DG2 = function () {
return this.frames.length;
};
_lI2.prototype._6H2 = function (_FG2, time, drawOrder) {
this.frames[_FG2] = time;
this._mI2[_FG2] = drawOrder;
};
_lI2.prototype.apply = function (skeleton, _rG2, time, _KH2, alpha, _7x1, _tI) {
var drawOrder = skeleton.drawOrder;
var slots = skeleton.slots;
if (_tI == _wG2.out && _7x1 == _vG2.setup) {
spine._AG2._YH2(skeleton.slots, 0, skeleton.drawOrder, 0, skeleton.slots.length);
return;
}
var frames = this.frames;
if (time < frames[0]) {
if (_7x1 == _vG2.setup || _7x1 == _vG2.first) spine._AG2._YH2(skeleton.slots, 0, skeleton.drawOrder, 0, skeleton.slots.length);
return;
}
var _F11 = 0;
if (time >= frames[frames.length - 1]) _F11 = frames.length - 1;
else _F11 = _qG2._sG2(frames, time) - 1;
var _nI2 = this._mI2[_F11];
if (_nI2 == null) spine._AG2._YH2(slots, 0, drawOrder, 0, slots.length);
else {
for (var _X9 = 0, _W11 = _nI2.length; _X9 < _W11; _X9++) drawOrder[_X9] = slots[_nI2[_X9]];
}
};
return _lI2;
})();
spine._lI2 = _lI2;
var _oI2 = (function (_2H2) {
_lG2(_oI2, _2H2);
function _oI2(_t11) {
var _3H2 = _2H2.call(this, _t11) || this;
_3H2.frames = spine._AG2._BG2(_t11 * _oI2._aH2);
return _3H2;
}
_oI2.prototype._4H2 = function () {
return (_xG2.ikConstraint << 24) + this._pI2;
};
_oI2.prototype._6H2 = function (_FG2, time, mix, _qI2, compress, _6x1) {
_FG2 *= _oI2._aH2;
this.frames[_FG2] = time;
this.frames[_FG2 + _oI2._rI2] = mix;
this.frames[_FG2 + _oI2._sI2] = _qI2;
this.frames[_FG2 + _oI2._tI2] = compress ? 1 : 0;
this.frames[_FG2 + _oI2._uI2] = _6x1 ? 1 : 0;
};
_oI2.prototype.apply = function (skeleton, _rG2, time, _KH2, alpha, _7x1, _tI) {
var frames = this.frames;
var _vI2 = skeleton._wI2[this._pI2];
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
_vI2.mix = _vI2.data.mix;
_vI2._qI2 = _vI2.data._qI2;
_vI2.compress = _vI2.data.compress;
_vI2._6x1 = _vI2.data._6x1;
return;
case _vG2.first:
_vI2.mix += (_vI2.data.mix - _vI2.mix) * alpha;
_vI2._qI2 = _vI2.data._qI2;
_vI2.compress = _vI2.data.compress;
_vI2._6x1 = _vI2.data._6x1;
}
return;
}
if (time >= frames[frames.length - _oI2._aH2]) {
if (_7x1 == _vG2.setup) {
_vI2.mix = _vI2.data.mix + (frames[frames.length + _oI2._xI2] - _vI2.data.mix) * alpha;
if (_tI == _wG2.out) {
_vI2._qI2 = _vI2.data._qI2;
_vI2.compress = _vI2.data.compress;
_vI2._6x1 = _vI2.data._6x1;
} else {
_vI2._qI2 = frames[frames.length + _oI2._yI2];
_vI2.compress = frames[frames.length + _oI2._zI2] != 0;
_vI2._6x1 = frames[frames.length + _oI2._AI2] != 0;
}
} else {
_vI2.mix += (frames[frames.length + _oI2._xI2] - _vI2.mix) * alpha;
if (_tI == _wG2["in"]) {
_vI2._qI2 = frames[frames.length + _oI2._yI2];
_vI2.compress = frames[frames.length + _oI2._zI2] != 0;
_vI2._6x1 = frames[frames.length + _oI2._AI2] != 0;
}
}
return;
}
var _F11 = _qG2._sG2(frames, time, _oI2._aH2);
var mix = frames[_F11 + _oI2._xI2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _oI2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _oI2._eH2] - _dH2));
if (_7x1 == _vG2.setup) {
_vI2.mix = _vI2.data.mix + (mix + (frames[_F11 + _oI2._rI2] - mix) * _YG2 - _vI2.data.mix) * alpha;
if (_tI == _wG2.out) {
_vI2._qI2 = _vI2.data._qI2;
_vI2.compress = _vI2.data.compress;
_vI2._6x1 = _vI2.data._6x1;
} else {
_vI2._qI2 = frames[_F11 + _oI2._yI2];
_vI2.compress = frames[_F11 + _oI2._zI2] != 0;
_vI2._6x1 = frames[_F11 + _oI2._AI2] != 0;
}
} else {
_vI2.mix += (mix + (frames[_F11 + _oI2._rI2] - mix) * _YG2 - _vI2.mix) * alpha;
if (_tI == _wG2["in"]) {
_vI2._qI2 = frames[_F11 + _oI2._yI2];
_vI2.compress = frames[_F11 + _oI2._zI2] != 0;
_vI2._6x1 = frames[_F11 + _oI2._AI2] != 0;
}
}
};
_oI2._aH2 = 5;
_oI2._eH2 = -5;
_oI2._xI2 = -4;
_oI2._yI2 = -3;
_oI2._zI2 = -2;
_oI2._AI2 = -1;
_oI2._rI2 = 1;
_oI2._sI2 = 2;
_oI2._tI2 = 3;
_oI2._uI2 = 4;
return _oI2;
})(_yG2);
spine._oI2 = _oI2;
var _BI2 = (function (_2H2) {
_lG2(_BI2, _2H2);
function _BI2(_t11) {
var _3H2 = _2H2.call(this, _t11) || this;
_3H2.frames = spine._AG2._BG2(_t11 * _BI2._aH2);
return _3H2;
}
_BI2.prototype._4H2 = function () {
return (_xG2.transformConstraint << 24) + this._CI2;
};
_BI2.prototype._6H2 = function (_FG2, time, rotateMix, _DI2, scaleMix, _EI2) {
_FG2 *= _BI2._aH2;
this.frames[_FG2] = time;
this.frames[_FG2 + _BI2._FI2] = rotateMix;
this.frames[_FG2 + _BI2._GI2] = _DI2;
this.frames[_FG2 + _BI2._HI2] = scaleMix;
this.frames[_FG2 + _BI2._II2] = _EI2;
};
_BI2.prototype.apply = function (skeleton, _rG2, time, _KH2, alpha, _7x1, _tI) {
var frames = this.frames;
var _vI2 = skeleton._JI2[this._CI2];
if (time < frames[0]) {
var data = _vI2.data;
switch (_7x1) {
case _vG2.setup:
_vI2.rotateMix = data.rotateMix;
_vI2._DI2 = data._DI2;
_vI2.scaleMix = data.scaleMix;
_vI2._EI2 = data._EI2;
return;
case _vG2.first:
_vI2.rotateMix += (data.rotateMix - _vI2.rotateMix) * alpha;
_vI2._DI2 += (data._DI2 - _vI2._DI2) * alpha;
_vI2.scaleMix += (data.scaleMix - _vI2.scaleMix) * alpha;
_vI2._EI2 += (data._EI2 - _vI2._EI2) * alpha;
}
return;
}
var rotate = 0,
translate = 0,
scale = 0,
shear = 0;
if (time >= frames[frames.length - _BI2._aH2]) {
var _X9 = frames.length;
rotate = frames[_X9 + _BI2._KI2];
translate = frames[_X9 + _BI2._LI2];
scale = frames[_X9 + _BI2._MI2];
shear = frames[_X9 + _BI2._NI2];
} else {
var _F11 = _qG2._sG2(frames, time, _BI2._aH2);
rotate = frames[_F11 + _BI2._KI2];
translate = frames[_F11 + _BI2._LI2];
scale = frames[_F11 + _BI2._MI2];
shear = frames[_F11 + _BI2._NI2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _BI2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _BI2._eH2] - _dH2));
rotate += (frames[_F11 + _BI2._FI2] - rotate) * _YG2;
translate += (frames[_F11 + _BI2._GI2] - translate) * _YG2;
scale += (frames[_F11 + _BI2._HI2] - scale) * _YG2;
shear += (frames[_F11 + _BI2._II2] - shear) * _YG2;
}
if (_7x1 == _vG2.setup) {
var data = _vI2.data;
_vI2.rotateMix = data.rotateMix + (rotate - data.rotateMix) * alpha;
_vI2._DI2 = data._DI2 + (translate - data._DI2) * alpha;
_vI2.scaleMix = data.scaleMix + (scale - data.scaleMix) * alpha;
_vI2._EI2 = data._EI2 + (shear - data._EI2) * alpha;
} else {
_vI2.rotateMix += (rotate - _vI2.rotateMix) * alpha;
_vI2._DI2 += (translate - _vI2._DI2) * alpha;
_vI2.scaleMix += (scale - _vI2.scaleMix) * alpha;
_vI2._EI2 += (shear - _vI2._EI2) * alpha;
}
};
_BI2._aH2 = 5;
_BI2._eH2 = -5;
_BI2._KI2 = -4;
_BI2._LI2 = -3;
_BI2._MI2 = -2;
_BI2._NI2 = -1;
_BI2._FI2 = 1;
_BI2._GI2 = 2;
_BI2._HI2 = 3;
_BI2._II2 = 4;
return _BI2;
})(_yG2);
spine._BI2 = _BI2;
var _OI2 = (function (_2H2) {
_lG2(_OI2, _2H2);
function _OI2(_t11) {
var _3H2 = _2H2.call(this, _t11) || this;
_3H2.frames = spine._AG2._BG2(_t11 * _OI2._aH2);
return _3H2;
}
_OI2.prototype._4H2 = function () {
return (_xG2.pathConstraintPosition << 24) + this._PI2;
};
_OI2.prototype._6H2 = function (_FG2, time, value) {
_FG2 *= _OI2._aH2;
this.frames[_FG2] = time;
this.frames[_FG2 + _OI2._QI2] = value;
};
_OI2.prototype.apply = function (skeleton, _rG2, time, _KH2, alpha, _7x1, _tI) {
var frames = this.frames;
var _vI2 = skeleton._RI2[this._PI2];
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
_vI2.position = _vI2.data.position;
return;
case _vG2.first:
_vI2.position += (_vI2.data.position - _vI2.position) * alpha;
}
return;
}
var position = 0;
if (time >= frames[frames.length - _OI2._aH2]) position = frames[frames.length + _OI2._SI2];
else {
var _F11 = _qG2._sG2(frames, time, _OI2._aH2);
position = frames[_F11 + _OI2._SI2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _OI2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _OI2._eH2] - _dH2));
position += (frames[_F11 + _OI2._QI2] - position) * _YG2;
}
if (_7x1 == _vG2.setup) _vI2.position = _vI2.data.position + (position - _vI2.data.position) * alpha;
else _vI2.position += (position - _vI2.position) * alpha;
};
_OI2._aH2 = 2;
_OI2._eH2 = -2;
_OI2._SI2 = -1;
_OI2._QI2 = 1;
return _OI2;
})(_yG2);
spine._OI2 = _OI2;
var _TI2 = (function (_2H2) {
_lG2(_TI2, _2H2);
function _TI2(_t11) {
return _2H2.call(this, _t11) || this;
}
_TI2.prototype._4H2 = function () {
return (_xG2.pathConstraintSpacing << 24) + this._PI2;
};
_TI2.prototype.apply = function (skeleton, _rG2, time, _KH2, alpha, _7x1, _tI) {
var frames = this.frames;
var _vI2 = skeleton._RI2[this._PI2];
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
_vI2.spacing = _vI2.data.spacing;
return;
case _vG2.first:
_vI2.spacing += (_vI2.data.spacing - _vI2.spacing) * alpha;
}
return;
}
var spacing = 0;
if (time >= frames[frames.length - _TI2._aH2]) spacing = frames[frames.length + _TI2._SI2];
else {
var _F11 = _qG2._sG2(frames, time, _TI2._aH2);
spacing = frames[_F11 + _TI2._SI2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _TI2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _TI2._eH2] - _dH2));
spacing += (frames[_F11 + _TI2._QI2] - spacing) * _YG2;
}
if (_7x1 == _vG2.setup) _vI2.spacing = _vI2.data.spacing + (spacing - _vI2.data.spacing) * alpha;
else _vI2.spacing += (spacing - _vI2.spacing) * alpha;
};
return _TI2;
})(_OI2);
spine._TI2 = _TI2;
var _UI2 = (function (_2H2) {
_lG2(_UI2, _2H2);
function _UI2(_t11) {
var _3H2 = _2H2.call(this, _t11) || this;
_3H2.frames = spine._AG2._BG2(_t11 * _UI2._aH2);
return _3H2;
}
_UI2.prototype._4H2 = function () {
return (_xG2.pathConstraintMix << 24) + this._PI2;
};
_UI2.prototype._6H2 = function (_FG2, time, rotateMix, _DI2) {
_FG2 *= _UI2._aH2;
this.frames[_FG2] = time;
this.frames[_FG2 + _UI2._FI2] = rotateMix;
this.frames[_FG2 + _UI2._GI2] = _DI2;
};
_UI2.prototype.apply = function (skeleton, _rG2, time, _KH2, alpha, _7x1, _tI) {
var frames = this.frames;
var _vI2 = skeleton._RI2[this._PI2];
if (time < frames[0]) {
switch (_7x1) {
case _vG2.setup:
_vI2.rotateMix = _vI2.data.rotateMix;
_vI2._DI2 = _vI2.data._DI2;
return;
case _vG2.first:
_vI2.rotateMix += (_vI2.data.rotateMix - _vI2.rotateMix) * alpha;
_vI2._DI2 += (_vI2.data._DI2 - _vI2._DI2) * alpha;
}
return;
}
var rotate = 0,
translate = 0;
if (time >= frames[frames.length - _UI2._aH2]) {
rotate = frames[frames.length + _UI2._KI2];
translate = frames[frames.length + _UI2._LI2];
} else {
var _F11 = _qG2._sG2(frames, time, _UI2._aH2);
rotate = frames[_F11 + _UI2._KI2];
translate = frames[_F11 + _UI2._LI2];
var _dH2 = frames[_F11];
var _YG2 = this._XG2(_F11 / _UI2._aH2 - 1, 1 - (time - _dH2) / (frames[_F11 + _UI2._eH2] - _dH2));
rotate += (frames[_F11 + _UI2._FI2] - rotate) * _YG2;
translate += (frames[_F11 + _UI2._GI2] - translate) * _YG2;
}
if (_7x1 == _vG2.setup) {
_vI2.rotateMix = _vI2.data.rotateMix + (rotate - _vI2.data.rotateMix) * alpha;
_vI2._DI2 = _vI2.data._DI2 + (translate - _vI2.data._DI2) * alpha;
} else {
_vI2.rotateMix += (rotate - _vI2.rotateMix) * alpha;
_vI2._DI2 += (translate - _vI2._DI2) * alpha;
}
};
_UI2._aH2 = 3;
_UI2._eH2 = -3;
_UI2._KI2 = -2;
_UI2._LI2 = -1;
_UI2._FI2 = 1;
_UI2._GI2 = 2;
return _UI2;
})(_yG2);
spine._UI2 = _UI2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _g01 = (function () {
function _g01(data) {
this._B01 = new Array();
this.events = new Array();
this._VI2 = new Array();
this._592 = new _WI2(this);
this._XI2 = new spine._YI2();
this._ZI2 = !1;
this.__I2 = 1;
this._0J2 = new spine._1J2(function () {
return new _2J2();
});
this.data = data;
}
_g01.prototype._A11 = function (_po2) {
_po2 *= this.__I2;
var _B01 = this._B01;
for (var _X9 = 0, _W11 = _B01.length; _X9 < _W11; _X9++) {
var current = _B01[_X9];
if (current == null) continue;
current._3J2 = current._4J2;
current._5J2 = current._6J2;
var _7J2 = _po2 * current.__I2;
if (current._9m2 > 0) {
current._9m2 -= _7J2;
if (current._9m2 > 0) continue;
_7J2 = -current._9m2;
current._9m2 = 0;
}
var _Vc1 = current._Vc1;
if (_Vc1 != null) {
var _8J2 = current._5J2 - _Vc1._9m2;
if (_8J2 >= 0) {
_Vc1._9m2 = 0;
_Vc1._9J2 = (_8J2 / current.__I2 + _po2) * _Vc1.__I2;
current._9J2 += _7J2;
this._aJ2(_X9, _Vc1, !0);
while (_Vc1._bJ2 != null) {
_Vc1._cJ2 += _po2;
_Vc1 = _Vc1._bJ2;
}
continue;
}
} else if (current._5J2 >= current._dJ2 && current._bJ2 == null) {
_B01[_X9] = null;
this._592.end(current);
this._eJ2(current);
continue;
}
if (current._bJ2 != null && this._fJ2(current, _po2)) {
var from = current._bJ2;
current._bJ2 = null;
if (from != null) from._gJ2 = null;
while (from != null) {
this._592.end(from);
from = from._bJ2;
}
}
current._9J2 += _7J2;
}
this._592._hJ2();
};
_g01.prototype._fJ2 = function (_iJ2, _po2) {
var from = _iJ2._bJ2;
if (from == null) return !0;
var _jJ2 = this._fJ2(from, _po2);
from._3J2 = from._4J2;
from._5J2 = from._6J2;
if (_iJ2._cJ2 > 0 && _iJ2._cJ2 >= _iJ2._kJ2) {
if (from._lJ2 == 0 || _iJ2._kJ2 == 0) {
_iJ2._bJ2 = from._bJ2;
if (from._bJ2 != null) from._bJ2._gJ2 = _iJ2;
_iJ2._mJ2 = from._mJ2;
this._592.end(from);
}
return _jJ2;
}
from._9J2 += _po2 * from.__I2;
_iJ2._cJ2 += _po2;
return !1;
};
_g01.prototype.apply = function (skeleton) {
if (skeleton == null) throw new Error("skeleton cannot be null.");
if (this._ZI2) this._nJ2();
var events = this.events;
var _B01 = this._B01;
var _oJ2 = !1;
for (var _X9 = 0, _W11 = _B01.length; _X9 < _W11; _X9++) {
var current = _B01[_X9];
if (current == null || current._9m2 > 0) continue;
_oJ2 = !0;
var _7x1 = _X9 == 0 ? spine._vG2.first : current._pJ2;
var mix = current.alpha;
if (current._bJ2 != null) mix *= this._qJ2(current, skeleton, _7x1);
else if (current._9J2 >= current._dJ2 && current._Vc1 == null) mix = 0;
var _3J2 = current._3J2,
_rJ2 = current._sJ2();
var _w11 = current._K01._x11.length;
var _x11 = current._K01._x11;
if (_X9 == 0 && (mix == 1 || _7x1 == spine._vG2.add)) {
for (var _tJ2 = 0; _tJ2 < _w11; _tJ2++) _x11[_tJ2].apply(skeleton, _3J2, _rJ2, events, mix, _7x1, spine._wG2["in"]);
} else {
var _uJ2 = current._uJ2;
var _hm2 = current._vJ2.length == 0;
if (_hm2) spine._AG2._SH2(current._vJ2, _w11 << 1, null);
var _vJ2 = current._vJ2;
for (var _tJ2 = 0; _tJ2 < _w11; _tJ2++) {
var _cr1 = _x11[_tJ2];
var _wJ2 = _uJ2[_tJ2] == _g01._xJ2 ? _7x1 : spine._vG2.setup;
if (_cr1 instanceof spine._1H2) {
this._yJ2(_cr1, skeleton, _rJ2, mix, _wJ2, _vJ2, _tJ2 << 1, _hm2);
} else {
spine._AG2._zJ2(mix, _7x1);
_cr1.apply(skeleton, _3J2, _rJ2, events, mix, _wJ2, spine._wG2["in"]);
}
}
}
this._AJ2(current, _rJ2);
events.length = 0;
current._4J2 = _rJ2;
current._6J2 = current._9J2;
}
this._592._hJ2();
return _oJ2;
};
_g01.prototype._qJ2 = function (_iJ2, skeleton, _7x1) {
var from = _iJ2._bJ2;
if (from._bJ2 != null) this._qJ2(from, skeleton, _7x1);
var mix = 0;
if (_iJ2._kJ2 == 0) {
mix = 1;
if (_7x1 == spine._vG2.first) _7x1 = spine._vG2.setup;
} else {
mix = _iJ2._cJ2 / _iJ2._kJ2;
if (mix > 1) mix = 1;
if (_7x1 != spine._vG2.first) _7x1 = from._pJ2;
}
var events = mix < from._BJ2 ? this.events : null;
var _CJ2 = mix < from._DJ2,
drawOrder = mix < from._EJ2;
var _3J2 = from._3J2,
_rJ2 = from._sJ2();
var _w11 = from._K01._x11.length;
var _x11 = from._K01._x11;
var _FJ2 = from.alpha * _iJ2._mJ2,
_GJ2 = _FJ2 * (1 - mix);
if (_7x1 == spine._vG2.add) {
for (var _X9 = 0; _X9 < _w11; _X9++) _x11[_X9].apply(skeleton, _3J2, _rJ2, events, _GJ2, _7x1, spine._wG2.out);
} else {
var _uJ2 = from._uJ2;
var _HJ2 = from._HJ2;
var _hm2 = from._vJ2.length == 0;
if (_hm2) spine._AG2._SH2(from._vJ2, _w11 << 1, null);
var _vJ2 = from._vJ2;
from._lJ2 = 0;
for (var _X9 = 0; _X9 < _w11; _X9++) {
var _cr1 = _x11[_X9];
var _wJ2;
var alpha = 0;
switch (_uJ2[_X9]) {
case _g01._xJ2:
if (!_CJ2 && _cr1 instanceof spine._CH2) continue;
if (!drawOrder && _cr1 instanceof spine._lI2) continue;
_wJ2 = _7x1;
alpha = _GJ2;
break;
case _g01._IJ2:
_wJ2 = spine._vG2.setup;
alpha = _GJ2;
break;
case _g01._JJ2:
_wJ2 = spine._vG2.setup;
alpha = _FJ2;
break;
default:
_wJ2 = spine._vG2.setup;
var _KJ2 = _HJ2[_X9];
alpha = _FJ2 * Math.max(0, 1 - _KJ2._cJ2 / _KJ2._kJ2);
break;
}
from._lJ2 += alpha;
if (_cr1 instanceof spine._1H2) this._yJ2(_cr1, skeleton, _rJ2, alpha, _wJ2, _vJ2, _X9 << 1, _hm2);
else {
spine._AG2._zJ2(alpha, _7x1);
_cr1.apply(skeleton, _3J2, _rJ2, events, alpha, _wJ2, spine._wG2.out);
}
}
}
if (_iJ2._kJ2 > 0) this._AJ2(from, _rJ2);
this.events.length = 0;
from._4J2 = _rJ2;
from._6J2 = from._9J2;
return mix;
};
_g01.prototype._yJ2 = function (_cr1, skeleton, time, alpha, _7x1, _vJ2, _X9, _hm2) {
if (_hm2) _vJ2[_X9] = 0;
if (alpha == 1) {
_cr1.apply(skeleton, 0, time, null, 1, _7x1, spine._wG2["in"]);
return;
}
var _LJ2 = _cr1;
var frames = _LJ2.frames;
var bone = skeleton.bones[_LJ2._5H2];
if (time < frames[0]) {
if (_7x1 == spine._vG2.setup) bone.rotation = bone.data.rotation;
return;
}
var _0r1 = 0;
if (time >= frames[frames.length - spine._1H2._aH2]) _0r1 = bone.data.rotation + frames[frames.length + spine._1H2._bH2];
else {
var _F11 = spine._qG2._sG2(frames, time, spine._1H2._aH2);
var _cH2 = frames[_F11 + spine._1H2._bH2];
var _dH2 = frames[_F11];
var _YG2 = _LJ2._XG2((_F11 >> 1) - 1, 1 - (time - _dH2) / (frames[_F11 + spine._1H2._eH2] - _dH2));
_0r1 = frames[_F11 + spine._1H2._8H2] - _cH2;
_0r1 -= (16384 - ((16384.499999999996 - _0r1 / 360) | 0)) * 360;
_0r1 = _cH2 + _0r1 * _YG2 + bone.data.rotation;
_0r1 -= (16384 - ((16384.499999999996 - _0r1 / 360) | 0)) * 360;
}
var __q1 = _7x1 == spine._vG2.setup ? bone.data.rotation : bone.rotation;
var _OJ1 = 0,
_Go1 = _0r1 - __q1;
_Go1 -= (16384 - ((16384.499999999996 - _Go1 / 360) | 0)) * 360;
if (_Go1 == 0) {
_OJ1 = _vJ2[_X9];
} else {
var _MJ2 = 0,
_NJ2 = 0;
if (_hm2) {
_MJ2 = 0;
_NJ2 = _Go1;
} else {
_MJ2 = _vJ2[_X9];
_NJ2 = _vJ2[_X9 + 1];
}
var current = _Go1 > 0,
_OJ2 = _MJ2 >= 0;
if (spine._ZG2._jH2(_NJ2) != spine._ZG2._jH2(_Go1) && Math.abs(_NJ2) <= 90) {
if (Math.abs(_MJ2) > 180) _MJ2 += 360 * spine._ZG2._jH2(_MJ2);
_OJ2 = current;
}
_OJ1 = _Go1 + _MJ2 - (_MJ2 % 360);
if (_OJ2 != current) _OJ1 += 360 * spine._ZG2._jH2(_MJ2);
_vJ2[_X9] = _OJ1;
}
_vJ2[_X9 + 1] = _Go1;
__q1 += _OJ1 * alpha;
bone.rotation = __q1 - (16384 - ((16384.499999999996 - __q1 / 360) | 0)) * 360;
};
_g01.prototype._AJ2 = function (_Uc1, _rJ2) {
var _PJ2 = _Uc1._PJ2,
_QJ2 = _Uc1._QJ2;
var duration = _QJ2 - _PJ2;
var _RJ2 = _Uc1._5J2 % duration;
var events = this.events;
var _X9 = 0,
_W11 = events.length;
for (; _X9 < _W11; _X9++) {
var _SJ2 = events[_X9];
if (_SJ2.time < _RJ2) break;
if (_SJ2.time > _QJ2) continue;
this._592.event(_Uc1, _SJ2);
}
var complete = !1;
if (_Uc1.loop) complete = duration == 0 || _RJ2 > _Uc1._9J2 % duration;
else complete = _rJ2 >= _QJ2 && _Uc1._3J2 < _QJ2;
if (complete) this._592.complete(_Uc1);
for (; _X9 < _W11; _X9++) {
var _TJ2 = events[_X9];
if (_TJ2.time < _PJ2) continue;
this._592.event(_Uc1, events[_X9]);
}
};
_g01.prototype._UJ2 = function () {
var _VJ2 = this._592._WJ2;
this._592._WJ2 = !0;
for (var _X9 = 0, _W11 = this._B01.length; _X9 < _W11; _X9++) this._XJ2(_X9);
this._B01.length = 0;
this._592._WJ2 = _VJ2;
this._592._hJ2();
};
_g01.prototype._XJ2 = function (_YJ2) {
if (_YJ2 >= this._B01.length) return;
var current = this._B01[_YJ2];
if (current == null) return;
this._592.end(current);
this._eJ2(current);
var _Uc1 = current;
while (!0) {
var from = _Uc1._bJ2;
if (from == null) break;
this._592.end(from);
_Uc1._bJ2 = null;
_Uc1._gJ2 = null;
_Uc1 = from;
}
this._B01[current._YJ2] = null;
this._592._hJ2();
};
_g01.prototype._aJ2 = function (index, current, interrupt) {
var from = this._ZJ2(index);
this._B01[index] = current;
if (from != null) {
if (interrupt) this._592.interrupt(from);
current._bJ2 = from;
from._gJ2 = current;
current._cJ2 = 0;
if (from._bJ2 != null && from._kJ2 > 0) current._mJ2 *= Math.min(1, from._cJ2 / from._kJ2);
from._vJ2.length = 0;
}
this._592.start(current);
};
_g01.prototype._U01 = function (_YJ2, __J2, loop) {
var _K01 = this.data._0K2._T01(__J2);
if (_K01 == null) throw new Error("Animation not found: " + __J2);
return this._1K2(_YJ2, _K01, loop);
};
_g01.prototype._1K2 = function (_YJ2, _K01, loop) {
if (_K01 == null) throw new Error("animation cannot be null.");
var interrupt = !0;
var current = this._ZJ2(_YJ2);
if (current != null) {
if (current._6J2 == -1) {
this._B01[_YJ2] = current._bJ2;
this._592.interrupt(current);
this._592.end(current);
this._eJ2(current);
current = current._bJ2;
interrupt = !1;
} else this._eJ2(current);
}
var _Uc1 = this._2K2(_YJ2, _K01, loop, current);
this._aJ2(_YJ2, _Uc1, interrupt);
this._592._hJ2();
return _Uc1;
};
_g01.prototype._3K2 = function (_YJ2, __J2, loop, _9m2) {
var _K01 = this.data._0K2._T01(__J2);
if (_K01 == null) throw new Error("Animation not found: " + __J2);
return this._4K2(_YJ2, _K01, loop, _9m2);
};
_g01.prototype._4K2 = function (_YJ2, _K01, loop, _9m2) {
if (_K01 == null) throw new Error("animation cannot be null.");
var _R9 = this._ZJ2(_YJ2);
if (_R9 != null) {
while (_R9._Vc1 != null) _R9 = _R9._Vc1;
}
var _Uc1 = this._2K2(_YJ2, _K01, loop, _R9);
if (_R9 == null) {
this._aJ2(_YJ2, _Uc1, !0);
this._592._hJ2();
} else {
_R9._Vc1 = _Uc1;
if (_9m2 <= 0) {
var duration = _R9._QJ2 - _R9._PJ2;
if (duration != 0) {
if (_R9.loop) _9m2 += duration * (1 + ((_R9._9J2 / duration) | 0));
else _9m2 += Math.max(duration, _R9._9J2);
_9m2 -= this.data._5K2(_R9._K01, _K01);
} else _9m2 = _R9._9J2;
}
}
_Uc1._9m2 = _9m2;
return _Uc1;
};
_g01.prototype._6K2 = function (_YJ2, _kJ2) {
var _Uc1 = this._1K2(_YJ2, _g01._7K2, !1);
_Uc1._kJ2 = _kJ2;
_Uc1._dJ2 = _kJ2;
return _Uc1;
};
_g01.prototype._8K2 = function (_YJ2, _kJ2, _9m2) {
if (_9m2 <= 0) _9m2 -= _kJ2;
var _Uc1 = this._4K2(_YJ2, _g01._7K2, !1, _9m2);
_Uc1._kJ2 = _kJ2;
_Uc1._dJ2 = _kJ2;
return _Uc1;
};
_g01.prototype._9K2 = function (_kJ2) {
var _VJ2 = this._592._WJ2;
this._592._WJ2 = !0;
for (var _X9 = 0, _W11 = this._B01.length; _X9 < _W11; _X9++) {
var current = this._B01[_X9];
if (current != null) this._6K2(current._YJ2, _kJ2);
}
this._592._WJ2 = _VJ2;
this._592._hJ2();
};
_g01.prototype._ZJ2 = function (index) {
if (index < this._B01.length) return this._B01[index];
spine._AG2._aK2(this._B01, index - this._B01.length + 1, null);
this._B01.length = index + 1;
return null;
};
_g01.prototype._2K2 = function (_YJ2, _K01, loop, _R9) {
var _Uc1 = this._0J2._bK2();
_Uc1._YJ2 = _YJ2;
_Uc1._K01 = _K01;
_Uc1.loop = loop;
_Uc1._cK2 = !1;
_Uc1._BJ2 = 0;
_Uc1._DJ2 = 0;
_Uc1._EJ2 = 0;
_Uc1._PJ2 = 0;
_Uc1._QJ2 = _K01.duration;
_Uc1._3J2 = -1;
_Uc1._4J2 = -1;
_Uc1._9m2 = 0;
_Uc1._9J2 = 0;
_Uc1._5J2 = -1;
_Uc1._6J2 = -1;
_Uc1._dJ2 = Number.MAX_VALUE;
_Uc1.__I2 = 1;
_Uc1.alpha = 1;
_Uc1._mJ2 = 1;
_Uc1._cJ2 = 0;
_Uc1._kJ2 = _R9 == null ? 0 : this.data._5K2(_R9._K01, _K01);
return _Uc1;
};
_g01.prototype._eJ2 = function (_Uc1) {
var _Vc1 = _Uc1._Vc1;
while (_Vc1 != null) {
this._592.dispose(_Vc1);
_Vc1 = _Vc1._Vc1;
}
_Uc1._Vc1 = null;
};
_g01.prototype._nJ2 = function () {
this._ZI2 = !1;
this._XI2.clear();
for (var _X9 = 0, _W11 = this._B01.length; _X9 < _W11; _X9++) {
var _Uc1 = this._B01[_X9];
if (_Uc1 == null) continue;
while (_Uc1._bJ2 != null) _Uc1 = _Uc1._bJ2;
do {
if (_Uc1._bJ2 == null || _Uc1._pJ2 != spine._vG2.add) this._dK2(_Uc1);
_Uc1 = _Uc1._gJ2;
} while (_Uc1 != null);
}
};
_g01.prototype._dK2 = function (_Uc1) {
var _iJ2 = _Uc1._gJ2;
var _x11 = _Uc1._K01._x11;
var _eK2 = _Uc1._K01._x11.length;
var _uJ2 = spine._AG2._SH2(_Uc1._uJ2, _eK2);
_Uc1._HJ2.length = 0;
var _fK2 = spine._AG2._SH2(_Uc1._HJ2, _eK2);
var _XI2 = this._XI2;
if (_iJ2 != null && _iJ2._cK2) {
for (var _gK2 = 0; _gK2 < _eK2; _gK2++) {
_XI2.add(_x11[_gK2]._4H2());
_uJ2[_gK2] = _g01._JJ2;
}
return;
}
_hK2: for (var _X9 = 0; _X9 < _eK2; _X9++) {
var id = _x11[_X9]._4H2();
if (!_XI2.add(id)) _uJ2[_X9] = _g01._xJ2;
else if (_iJ2 == null || !this._iK2(_iJ2, id)) _uJ2[_X9] = _g01._IJ2;
else {
for (var _Vc1 = _iJ2._gJ2; _Vc1 != null; _Vc1 = _Vc1._gJ2) {
if (this._iK2(_Vc1, id)) continue;
if (_Uc1._kJ2 > 0) {
_uJ2[_X9] = _g01._jK2;
_fK2[_X9] = _Vc1;
continue _hK2;
}
break;
}
_uJ2[_X9] = _g01._JJ2;
}
}
};
_g01.prototype._iK2 = function (_Uc1, id) {
var _x11 = _Uc1._K01._x11;
for (var _X9 = 0, _W11 = _x11.length; _X9 < _W11; _X9++) if (_x11[_X9]._4H2() == id) return !0;
return !1;
};
_g01.prototype._kK2 = function (_YJ2) {
if (_YJ2 >= this._B01.length) return null;
return this._B01[_YJ2];
};
_g01.prototype._r01 = function (listener) {
if (listener == null) throw new Error("listener cannot be null.");
this._VI2.push(listener);
};
_g01.prototype._lK2 = function (listener) {
var index = this._VI2.indexOf(listener);
if (index >= 0) this._VI2.splice(index, 1);
};
_g01.prototype._mK2 = function () {
this._VI2.length = 0;
};
_g01.prototype._nK2 = function () {
this._592.clear();
};
_g01._7K2 = new spine._qG2("<empty>", [], 0);
_g01._xJ2 = 0;
_g01._IJ2 = 1;
_g01._JJ2 = 2;
_g01._jK2 = 3;
return _g01;
})();
spine._g01 = _g01;
var _2J2 = (function () {
function _2J2() {
this._pJ2 = spine._vG2.replace;
this._uJ2 = new Array();
this._HJ2 = new Array();
this._vJ2 = new Array();
}
_2J2.prototype._kR1 = function () {
this._Vc1 = null;
this._bJ2 = null;
this._gJ2 = null;
this._K01 = null;
this.listener = null;
this._uJ2.length = 0;
this._HJ2.length = 0;
this._vJ2.length = 0;
};
_2J2.prototype._sJ2 = function () {
if (this.loop) {
var duration = this._QJ2 - this._PJ2;
if (duration == 0) return this._PJ2;
return (this._9J2 % duration) + this._PJ2;
}
return Math.min(this._9J2 + this._PJ2, this._QJ2);
};
_2J2.prototype._oK2 = function (_3J2) {
this._3J2 = _3J2;
this._4J2 = _3J2;
};
_2J2.prototype._pK2 = function () {
return this._9J2 >= this._QJ2 - this._PJ2;
};
_2J2.prototype._qK2 = function () {
this._vJ2.length = 0;
};
return _2J2;
})();
spine._2J2 = _2J2;
var _WI2 = (function () {
function _WI2(_rK2) {
this._sK2 = [];
this._WJ2 = !1;
this._rK2 = _rK2;
}
_WI2.prototype.start = function (_Uc1) {
this._sK2.push(_tK2.start);
this._sK2.push(_Uc1);
this._rK2._ZI2 = !0;
};
_WI2.prototype.interrupt = function (_Uc1) {
this._sK2.push(_tK2.interrupt);
this._sK2.push(_Uc1);
};
_WI2.prototype.end = function (_Uc1) {
this._sK2.push(_tK2.end);
this._sK2.push(_Uc1);
this._rK2._ZI2 = !0;
};
_WI2.prototype.dispose = function (_Uc1) {
this._sK2.push(_tK2.dispose);
this._sK2.push(_Uc1);
};
_WI2.prototype.complete = function (_Uc1) {
this._sK2.push(_tK2.complete);
this._sK2.push(_Uc1);
};
_WI2.prototype.event = function (_Uc1, event) {
this._sK2.push(_tK2.event);
this._sK2.push(_Uc1);
this._sK2.push(event);
};
_WI2.prototype._hJ2 = function () {
if (this._WJ2) return;
this._WJ2 = !0;
var _sK2 = this._sK2;
var _VI2 = this._rK2._VI2;
for (var _X9 = 0; _X9 < _sK2.length; _X9 += 2) {
var type = _sK2[_X9];
var _Uc1 = _sK2[_X9 + 1];
switch (type) {
case _tK2.start:
if (_Uc1.listener != null && _Uc1.listener.start) _Uc1.listener.start(_Uc1);
for (var _tJ2 = 0; _tJ2 < _VI2.length; _tJ2++) if (_VI2[_tJ2].start) _VI2[_tJ2].start(_Uc1);
break;
case _tK2.interrupt:
if (_Uc1.listener != null && _Uc1.listener.interrupt) _Uc1.listener.interrupt(_Uc1);
for (var _tJ2 = 0; _tJ2 < _VI2.length; _tJ2++) if (_VI2[_tJ2].interrupt) _VI2[_tJ2].interrupt(_Uc1);
break;
case _tK2.end:
if (_Uc1.listener != null && _Uc1.listener.end) _Uc1.listener.end(_Uc1);
for (var _tJ2 = 0; _tJ2 < _VI2.length; _tJ2++) if (_VI2[_tJ2].end) _VI2[_tJ2].end(_Uc1);
case _tK2.dispose:
if (_Uc1.listener != null && _Uc1.listener.dispose) _Uc1.listener.dispose(_Uc1);
for (var _tJ2 = 0; _tJ2 < _VI2.length; _tJ2++) if (_VI2[_tJ2].dispose) _VI2[_tJ2].dispose(_Uc1);
this._rK2._0J2._uK2(_Uc1);
break;
case _tK2.complete:
if (_Uc1.listener != null && _Uc1.listener.complete) _Uc1.listener.complete(_Uc1);
for (var _tJ2 = 0; _tJ2 < _VI2.length; _tJ2++) if (_VI2[_tJ2].complete) _VI2[_tJ2].complete(_Uc1);
break;
case _tK2.event:
var _vK2 = _sK2[_X9++ + 2];
if (_Uc1.listener != null && _Uc1.listener.event) _Uc1.listener.event(_Uc1, _vK2);
for (var _tJ2 = 0; _tJ2 < _VI2.length; _tJ2++) if (_VI2[_tJ2].event) _VI2[_tJ2].event(_Uc1, _vK2);
break;
}
}
this.clear();
this._WJ2 = !1;
};
_WI2.prototype.clear = function () {
this._sK2.length = 0;
};
return _WI2;
})();
spine._WI2 = _WI2;
var _tK2;
(function (_tK2) {
_tK2[(_tK2["start"] = 0)] = "start";
_tK2[(_tK2["interrupt"] = 1)] = "interrupt";
_tK2[(_tK2["end"] = 2)] = "end";
_tK2[(_tK2["dispose"] = 3)] = "dispose";
_tK2[(_tK2["complete"] = 4)] = "complete";
_tK2[(_tK2["event"] = 5)] = "event";
})((_tK2 = spine._tK2 || (spine._tK2 = {})));
var _wK2 = (function () {
function _wK2() {}
_wK2.prototype.start = function (_Uc1) {};
_wK2.prototype.interrupt = function (_Uc1) {};
_wK2.prototype.end = function (_Uc1) {};
_wK2.prototype.dispose = function (_Uc1) {};
_wK2.prototype.complete = function (_Uc1) {};
_wK2.prototype.event = function (_Uc1, event) {};
return _wK2;
})();
spine._wK2 = _wK2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _f01 = (function () {
function _f01(_0K2) {
this._xK2 = {};
this._yK2 = 0;
if (_0K2 == null) throw new Error("skeletonData cannot be null.");
this._0K2 = _0K2;
}
_f01.prototype._zK2 = function (_AK2, _BK2, duration) {
var from = this._0K2._T01(_AK2);
if (from == null) throw new Error("Animation not found: " + _AK2);
var _iJ2 = this._0K2._T01(_BK2);
if (_iJ2 == null) throw new Error("Animation not found: " + _BK2);
this._CK2(from, _iJ2, duration);
};
_f01.prototype._CK2 = function (from, _iJ2, duration) {
if (from == null) throw new Error("from cannot be null.");
if (_iJ2 == null) throw new Error("to cannot be null.");
var key = from.name + "." + _iJ2.name;
this._xK2[key] = duration;
};
_f01.prototype._5K2 = function (from, _iJ2) {
var key = from.name + "." + _iJ2.name;
var value = this._xK2[key];
return value === undefined ? this._yK2 : value;
};
return _f01;
})();
spine._f01 = _f01;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _DK2 = (function () {
function _DK2(_EK2, _FK2) {
if (_FK2 === void 0) {
_FK2 = "";
}
this._6A1 = {};
this._GK2 = {};
this._HK2 = 0;
this._NJ1 = 0;
this._EK2 = _EK2;
this._FK2 = _FK2;
}
_DK2._IK2 = function (_3I1, _JK2, error) {
var _QJ1 = new XMLHttpRequest();
_QJ1.open("GET", _3I1, !0);
_QJ1.onload = function () {
if (_QJ1.status == 200) {
_JK2(_QJ1.responseText);
} else {
error(_QJ1.status, _QJ1.responseText);
}
};
_QJ1.onerror = function () {
error(_QJ1.status, _QJ1.responseText);
};
_QJ1.send();
};
_DK2._KK2 = function (_3I1, _JK2, error) {
var _QJ1 = new XMLHttpRequest();
_QJ1.open("GET", _3I1, !0);
_QJ1.responseType = "arraybuffer";
_QJ1.onload = function () {
if (_QJ1.status == 200) {
_JK2(new Uint8Array(_QJ1.response));
} else {
error(_QJ1.status, _QJ1.responseText);
}
};
_QJ1.onerror = function () {
error(_QJ1.status, _QJ1.responseText);
};
_QJ1.send();
};
_DK2.prototype._LK2 = function (path, _JK2, error) {
var _3H2 = this;
if (_JK2 === void 0) {
_JK2 = null;
}
if (error === void 0) {
error = null;
}
path = this._FK2 + path;
this._HK2++;
_DK2._IK2(
path,
function (data) {
_3H2._6A1[path] = data;
if (_JK2) _JK2(path, data);
_3H2._HK2--;
_3H2._NJ1++;
},
function (state, responseText) {
_3H2._GK2[path] = "Couldn't load text " + path + ": status " + status + ", " + responseText;
if (error) error(path, "Couldn't load text " + path + ": status " + status + ", " + responseText);
_3H2._HK2--;
_3H2._NJ1++;
}
);
};
_DK2.prototype._s31 = function (path, _JK2, error) {
var _3H2 = this;
if (_JK2 === void 0) {
_JK2 = null;
}
if (error === void 0) {
error = null;
}
path = this._FK2 + path;
this._HK2++;
var img = new Image();
img.crossOrigin = _MK2;
img.onload = function (_NK2) {
var _f31 = _3H2._EK2(img);
_3H2._6A1[path] = _f31;
_3H2._HK2--;
_3H2._NJ1++;
if (_JK2) _JK2(path, img);
};
img.onerror = function (_NK2) {
_3H2._GK2[path] = "Couldn't load image " + path;
_3H2._HK2--;
_3H2._NJ1++;
if (error) error(path, "Couldn't load image " + path);
};
img.src = _DI1(null, null, path);
};
_DK2.prototype._OK2 = function (path, data, _JK2, error) {
var _3H2 = this;
if (_JK2 === void 0) {
_JK2 = null;
}
if (error === void 0) {
error = null;
}
path = this._FK2 + path;
this._HK2++;
var img = new Image();
img.onload = function (_NK2) {
var _f31 = _3H2._EK2(img);
_3H2._6A1[path] = _f31;
_3H2._HK2--;
_3H2._NJ1++;
if (_JK2) _JK2(path, img);
};
img.onerror = function (_NK2) {
_3H2._GK2[path] = "Couldn't load image " + path;
_3H2._HK2--;
_3H2._NJ1++;
if (error) error(path, "Couldn't load image " + path);
};
img.src = data;
};
_DK2.prototype._PK2 = function (path, _JK2, error) {
var _3H2 = this;
if (_JK2 === void 0) {
_JK2 = null;
}
if (error === void 0) {
error = null;
}
var parent = path.lastIndexOf("/") >= 0 ? path.substring(0, path.lastIndexOf("/")) : "";
path = this._FK2 + path;
this._HK2++;
_DK2._IK2(
path,
function (_QK2) {
var _RK2 = { _d31: 0 };
var _SK2 = new Array();
try {
var _TK2 = new spine._z31(_QK2, function (path) {
_SK2.push(parent + "/" + path);
var _N21 = document.createElement("img");
_N21.width = 16;
_N21.height = 16;
return new spine._UK2(_N21);
});
} catch (e) {
var _dc1 = e;
_3H2._GK2[path] = "Couldn't load texture atlas " + path + ": " + _dc1.message;
if (error) error(path, "Couldn't load texture atlas " + path + ": " + _dc1.message);
_3H2._HK2--;
_3H2._NJ1++;
return;
}
var _VK2 = function (_A41) {
var _WK2 = !1;
_3H2._s31(
_A41,
function (_XK2, _N21) {
_RK2._d31++;
if (_RK2._d31 == _SK2.length) {
if (!_WK2) {
try {
var _TK2 = new spine._z31(_QK2, function (path) {
return _3H2.get(parent + "/" + path);
});
_3H2._6A1[path] = _TK2;
if (_JK2) _JK2(path, _TK2);
_3H2._HK2--;
_3H2._NJ1++;
} catch (e) {
var _dc1 = e;
_3H2._GK2[path] = "Couldn't load texture atlas " + path + ": " + _dc1.message;
if (error) error(path, "Couldn't load texture atlas " + path + ": " + _dc1.message);
_3H2._HK2--;
_3H2._NJ1++;
}
} else {
_3H2._GK2[path] = "Couldn't load texture atlas page " + _XK2 + "} of atlas " + path;
if (error) error(path, "Couldn't load texture atlas page " + _XK2 + " of atlas " + path);
_3H2._HK2--;
_3H2._NJ1++;
}
}
},
function (_XK2, _YK2) {
_WK2 = !0;
_RK2._d31++;
if (_RK2._d31 == _SK2.length) {
_3H2._GK2[path] = "Couldn't load texture atlas page " + _XK2 + "} of atlas " + path;
if (error) error(path, "Couldn't load texture atlas page " + _XK2 + " of atlas " + path);
_3H2._HK2--;
_3H2._NJ1++;
}
}
);
};
for (var _ZK2 = 0, __K2 = _SK2; _ZK2 < __K2.length; _ZK2++) {
var _A41 = __K2[_ZK2];
_VK2(_A41);
}
},
function (state, responseText) {
_3H2._GK2[path] = "Couldn't load texture atlas " + path + ": status " + status + ", " + responseText;
if (error) error(path, "Couldn't load texture atlas " + path + ": status " + status + ", " + responseText);
_3H2._HK2--;
_3H2._NJ1++;
}
);
};
_DK2.prototype.get = function (path) {
path = this._FK2 + path;
return this._6A1[path];
};
_DK2.prototype.remove = function (path) {
path = this._FK2 + path;
var _0L2 = this._6A1[path];
if (_0L2.dispose) _0L2.dispose();
this._6A1[path] = null;
};
_DK2.prototype._1L2 = function () {
for (var key in this._6A1) {
var _0L2 = this._6A1[key];
if (_0L2.dispose) _0L2.dispose();
}
this._6A1 = {};
};
_DK2.prototype._2L2 = function () {
return this._HK2 == 0;
};
_DK2.prototype._3L2 = function () {
return this._HK2;
};
_DK2.prototype._4L2 = function () {
return this._NJ1;
};
_DK2.prototype.dispose = function () {
this._1L2();
};
_DK2.prototype._5L2 = function () {
return Object._6L2(this._GK2).length > 0;
};
_DK2.prototype._7L2 = function () {
return this._GK2;
};
return _DK2;
})();
spine._DK2 = _DK2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _B31 = (function () {
function _B31(_TK2) {
this._TK2 = _TK2;
}
_B31.prototype._8L2 = function (skin, name, path) {
var _t41 = this._TK2._9L2(path);
if (_t41 == null) throw new Error("Region not found in atlas: " + path + " (region attachment: " + name + ")");
_t41._w41 = _t41;
var attachment = new spine._041(name);
attachment._aL2(_t41);
return attachment;
};
_B31.prototype._bL2 = function (skin, name, path) {
var _t41 = this._TK2._9L2(path);
if (_t41 == null) throw new Error("Region not found in atlas: " + path + " (mesh attachment: " + name + ")");
_t41._w41 = _t41;
var attachment = new spine._241(name);
attachment._t41 = _t41;
return attachment;
};
_B31.prototype._cL2 = function (skin, name) {
return new spine._441(name);
};
_B31.prototype._dL2 = function (skin, name) {
return new spine._eL2(name);
};
_B31.prototype._fL2 = function (skin, name) {
return new spine._gL2(name);
};
_B31.prototype._hL2 = function (skin, name) {
return new spine._D41(name);
};
return _B31;
})();
spine._B31 = _B31;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _Y41;
(function (_Y41) {
_Y41[(_Y41["Normal"] = 0)] = "Normal";
_Y41[(_Y41["Additive"] = 1)] = "Additive";
_Y41[(_Y41["Multiply"] = 2)] = "Multiply";
_Y41[(_Y41["Screen"] = 3)] = "Screen";
})((_Y41 = spine._Y41 || (spine._Y41 = {})));
})(spine || (spine = {}));
var spine;
(function (spine) {
var _iL2 = (function () {
function _iL2(data, skeleton, parent) {
this._fR1 = new Array();
this.x = 0;
this.y = 0;
this.rotation = 0;
this.scaleX = 0;
this.scaleY = 0;
this.shearX = 0;
this.shearY = 0;
this._7A1 = 0;
this._8A1 = 0;
this._jL2 = 0;
this._kL2 = 0;
this._lL2 = 0;
this._mL2 = 0;
this._nL2 = 0;
this._oL2 = !1;
this._l41 = 0;
this._e21 = 0;
this._pL2 = 0;
this._Y9 = 0;
this._Ce1 = 0;
this._qL2 = 0;
this._rL2 = !1;
if (data == null) throw new Error("data cannot be null.");
if (skeleton == null) throw new Error("skeleton cannot be null.");
this.data = data;
this.skeleton = skeleton;
this.parent = parent;
this._sL2();
}
_iL2.prototype._A11 = function () {
this._tL2(this.x, this.y, this.rotation, this.scaleX, this.scaleY, this.shearX, this.shearY);
};
_iL2.prototype._j11 = function () {
this._tL2(this.x, this.y, this.rotation, this.scaleX, this.scaleY, this.shearX, this.shearY);
};
_iL2.prototype._tL2 = function (x, y, rotation, scaleX, scaleY, shearX, shearY) {
this._7A1 = x;
this._8A1 = y;
this._jL2 = rotation;
this._kL2 = scaleX;
this._lL2 = scaleY;
this._mL2 = shearX;
this._nL2 = shearY;
this._oL2 = !0;
var parent = this.parent;
if (parent == null) {
var skeleton = this.skeleton;
var _uL2 = rotation + 90 + shearY;
var _vL2 = skeleton.scaleX;
var _wL2 = skeleton.scaleY;
this._l41 = spine._ZG2._xL2(rotation + shearX) * scaleX * _vL2;
this._e21 = spine._ZG2._xL2(_uL2) * scaleY * _wL2;
this._Y9 = spine._ZG2._yL2(rotation + shearX) * scaleX * _vL2;
this._Ce1 = spine._ZG2._yL2(_uL2) * scaleY * _wL2;
this._pL2 = x * _vL2 + skeleton.x;
this._qL2 = y * _wL2 + skeleton.y;
return;
}
var _Ea2 = parent._l41,
_Fa2 = parent._e21,
_j92 = parent._Y9,
_zL2 = parent._Ce1;
this._pL2 = _Ea2 * x + _Fa2 * y + parent._pL2;
this._qL2 = _j92 * x + _zL2 * y + parent._qL2;
switch (this.data._AL2) {
case spine._BL2.Normal: {
var _uL2 = rotation + 90 + shearY;
var _CL2 = spine._ZG2._xL2(rotation + shearX) * scaleX;
var _DL2 = spine._ZG2._xL2(_uL2) * scaleY;
var _EL2 = spine._ZG2._yL2(rotation + shearX) * scaleX;
var _FL2 = spine._ZG2._yL2(_uL2) * scaleY;
this._l41 = _Ea2 * _CL2 + _Fa2 * _EL2;
this._e21 = _Ea2 * _DL2 + _Fa2 * _FL2;
this._Y9 = _j92 * _CL2 + _zL2 * _EL2;
this._Ce1 = _j92 * _DL2 + _zL2 * _FL2;
return;
}
case spine._BL2.OnlyTranslation: {
var _uL2 = rotation + 90 + shearY;
this._l41 = spine._ZG2._xL2(rotation + shearX) * scaleX;
this._e21 = spine._ZG2._xL2(_uL2) * scaleY;
this._Y9 = spine._ZG2._yL2(rotation + shearX) * scaleX;
this._Ce1 = spine._ZG2._yL2(_uL2) * scaleY;
break;
}
case spine._BL2.NoRotationOrReflection: {
var _Wo1 = _Ea2 * _Ea2 + _j92 * _j92;
var _GL2 = 0;
if (_Wo1 > 0.0001) {
_Wo1 = Math.abs(_Ea2 * _zL2 - _Fa2 * _j92) / _Wo1;
_Fa2 = _j92 * _Wo1;
_zL2 = _Ea2 * _Wo1;
_GL2 = Math.atan2(_j92, _Ea2) * spine._ZG2._HL2;
} else {
_Ea2 = 0;
_j92 = 0;
_GL2 = 90 - Math.atan2(_zL2, _Fa2) * spine._ZG2._HL2;
}
var _il1 = rotation + shearX - _GL2;
var _jl1 = rotation + shearY - _GL2 + 90;
var _CL2 = spine._ZG2._xL2(_il1) * scaleX;
var _DL2 = spine._ZG2._xL2(_jl1) * scaleY;
var _EL2 = spine._ZG2._yL2(_il1) * scaleX;
var _FL2 = spine._ZG2._yL2(_jl1) * scaleY;
this._l41 = _Ea2 * _CL2 - _Fa2 * _EL2;
this._e21 = _Ea2 * _DL2 - _Fa2 * _FL2;
this._Y9 = _j92 * _CL2 + _zL2 * _EL2;
this._Ce1 = _j92 * _DL2 + _zL2 * _FL2;
break;
}
case spine._BL2.NoScale:
case spine._BL2.NoScaleOrReflection: {
var cos = spine._ZG2._xL2(rotation);
var sin = spine._ZG2._yL2(rotation);
var _dg1 = (_Ea2 * cos + _Fa2 * sin) / this.skeleton.scaleX;
var _IL2 = (_j92 * cos + _zL2 * sin) / this.skeleton.scaleY;
var _Wo1 = Math.sqrt(_dg1 * _dg1 + _IL2 * _IL2);
if (_Wo1 > 0.00001) _Wo1 = 1 / _Wo1;
_dg1 *= _Wo1;
_IL2 *= _Wo1;
_Wo1 = Math.sqrt(_dg1 * _dg1 + _IL2 * _IL2);
var _b21 = Math.PI / 2 + Math.atan2(_IL2, _dg1);
var _JL2 = Math.cos(_b21) * _Wo1;
var _KL2 = Math.sin(_b21) * _Wo1;
var _CL2 = spine._ZG2._xL2(shearX) * scaleX;
var _DL2 = spine._ZG2._xL2(90 + shearY) * scaleY;
var _EL2 = spine._ZG2._yL2(shearX) * scaleX;
var _FL2 = spine._ZG2._yL2(90 + shearY) * scaleY;
this._l41 = _dg1 * _CL2 + _JL2 * _EL2;
this._e21 = _dg1 * _DL2 + _JL2 * _FL2;
this._Y9 = _IL2 * _CL2 + _KL2 * _EL2;
this._Ce1 = _IL2 * _DL2 + _KL2 * _FL2;
break;
}
}
this._l41 *= this.skeleton.scaleX;
this._e21 *= this.skeleton.scaleX;
this._Y9 *= this.skeleton.scaleY;
this._Ce1 *= this.skeleton.scaleY;
};
_iL2.prototype._sL2 = function () {
var data = this.data;
this.x = data.x;
this.y = data.y;
this.rotation = data.rotation;
this.scaleX = data.scaleX;
this.scaleY = data.scaleY;
this.shearX = data.shearX;
this.shearY = data.shearY;
};
_iL2.prototype._LL2 = function () {
return Math.atan2(this._Y9, this._l41) * spine._ZG2._HL2;
};
_iL2.prototype._ML2 = function () {
return Math.atan2(this._Ce1, this._e21) * spine._ZG2._HL2;
};
_iL2.prototype._NL2 = function () {
return Math.sqrt(this._l41 * this._l41 + this._Y9 * this._Y9);
};
_iL2.prototype._OL2 = function () {
return Math.sqrt(this._e21 * this._e21 + this._Ce1 * this._Ce1);
};
_iL2.prototype._PL2 = function () {
this._oL2 = !0;
var parent = this.parent;
if (parent == null) {
this._7A1 = this._pL2;
this._8A1 = this._qL2;
this._jL2 = Math.atan2(this._Y9, this._l41) * spine._ZG2._HL2;
this._kL2 = Math.sqrt(this._l41 * this._l41 + this._Y9 * this._Y9);
this._lL2 = Math.sqrt(this._e21 * this._e21 + this._Ce1 * this._Ce1);
this._mL2 = 0;
this._nL2 = Math.atan2(this._l41 * this._e21 + this._Y9 * this._Ce1, this._l41 * this._Ce1 - this._e21 * this._Y9) * spine._ZG2._HL2;
return;
}
var _Ea2 = parent._l41,
_Fa2 = parent._e21,
_j92 = parent._Y9,
_zL2 = parent._Ce1;
var _QL2 = 1 / (_Ea2 * _zL2 - _Fa2 * _j92);
var _761 = this._pL2 - parent._pL2,
_861 = this._qL2 - parent._qL2;
this._7A1 = _761 * _zL2 * _QL2 - _861 * _Fa2 * _QL2;
this._8A1 = _861 * _Ea2 * _QL2 - _761 * _j92 * _QL2;
var _RL2 = _QL2 * _zL2;
var id = _QL2 * _Ea2;
var _SL2 = _QL2 * _Fa2;
var _TL2 = _QL2 * _j92;
var _UL2 = _RL2 * this._l41 - _SL2 * this._Y9;
var _VL2 = _RL2 * this._e21 - _SL2 * this._Ce1;
var _WL2 = id * this._Y9 - _TL2 * this._l41;
var _XL2 = id * this._Ce1 - _TL2 * this._e21;
this._mL2 = 0;
this._kL2 = Math.sqrt(_UL2 * _UL2 + _WL2 * _WL2);
if (this._kL2 > 0.0001) {
var _GS1 = _UL2 * _XL2 - _VL2 * _WL2;
this._lL2 = _GS1 / this._kL2;
this._nL2 = Math.atan2(_UL2 * _VL2 + _WL2 * _XL2, _GS1) * spine._ZG2._HL2;
this._jL2 = Math.atan2(_WL2, _UL2) * spine._ZG2._HL2;
} else {
this._kL2 = 0;
this._lL2 = Math.sqrt(_VL2 * _VL2 + _XL2 * _XL2);
this._nL2 = 0;
this._jL2 = 90 - Math.atan2(_XL2, _VL2) * spine._ZG2._HL2;
}
};
_iL2.prototype._YL2 = function (_P22) {
var _l41 = this._l41,
_e21 = this._e21,
_Y9 = this._Y9,
_Ce1 = this._Ce1;
var _ZL2 = 1 / (_l41 * _Ce1 - _e21 * _Y9);
var x = _P22.x - this._pL2,
y = _P22.y - this._qL2;
_P22.x = x * _Ce1 * _ZL2 - y * _e21 * _ZL2;
_P22.y = y * _l41 * _ZL2 - x * _Y9 * _ZL2;
return _P22;
};
_iL2.prototype.__L2 = function (_0M2) {
var x = _0M2.x,
y = _0M2.y;
_0M2.x = x * this._l41 + y * this._e21 + this._pL2;
_0M2.y = x * this._Y9 + y * this._Ce1 + this._qL2;
return _0M2;
};
_iL2.prototype._1M2 = function (_2M2) {
var sin = spine._ZG2._yL2(_2M2),
cos = spine._ZG2._xL2(_2M2);
return Math.atan2(this._l41 * sin - this._Y9 * cos, this._Ce1 * cos - this._e21 * sin) * spine._ZG2._HL2 + this.rotation - this.shearX;
};
_iL2.prototype._3M2 = function (_4M2) {
_4M2 -= this.rotation - this.shearX;
var sin = spine._ZG2._yL2(_4M2),
cos = spine._ZG2._xL2(_4M2);
return Math.atan2(cos * this._Y9 + sin * this._Ce1, cos * this._l41 + sin * this._e21) * spine._ZG2._HL2;
};
_iL2.prototype._5M2 = function (_7H2) {
var _l41 = this._l41,
_e21 = this._e21,
_Y9 = this._Y9,
_Ce1 = this._Ce1;
var cos = spine._ZG2._xL2(_7H2),
sin = spine._ZG2._yL2(_7H2);
this._l41 = cos * _l41 - sin * _Y9;
this._e21 = cos * _e21 - sin * _Ce1;
this._Y9 = sin * _l41 + cos * _Y9;
this._Ce1 = sin * _e21 + cos * _Ce1;
this._oL2 = !1;
};
return _iL2;
})();
spine._iL2 = _iL2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _6M2 = (function () {
function _6M2(index, name, parent) {
this.x = 0;
this.y = 0;
this.rotation = 0;
this.scaleX = 1;
this.scaleY = 1;
this.shearX = 0;
this.shearY = 0;
this._AL2 = _BL2.Normal;
if (index < 0) throw new Error("index must be >= 0.");
if (name == null) throw new Error("name cannot be null.");
this.index = index;
this.name = name;
this.parent = parent;
}
return _6M2;
})();
spine._6M2 = _6M2;
var _BL2;
(function (_BL2) {
_BL2[(_BL2["Normal"] = 0)] = "Normal";
_BL2[(_BL2["OnlyTranslation"] = 1)] = "OnlyTranslation";
_BL2[(_BL2["NoRotationOrReflection"] = 2)] = "NoRotationOrReflection";
_BL2[(_BL2["NoScale"] = 3)] = "NoScale";
_BL2[(_BL2["NoScaleOrReflection"] = 4)] = "NoScaleOrReflection";
})((_BL2 = spine._BL2 || (spine._BL2 = {})));
})(spine || (spine = {}));
var spine;
(function (spine) {
var _gr1 = (function () {
function _gr1(time, data) {
if (data == null) throw new Error("data cannot be null.");
this.time = time;
this.data = data;
}
return _gr1;
})();
spine._gr1 = _gr1;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _7M2 = (function () {
function _7M2(name) {
this.name = name;
}
return _7M2;
})();
spine._7M2 = _7M2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _8M2 = (function () {
function _8M2(data, skeleton) {
this._qI2 = 0;
this.compress = !1;
this._6x1 = !1;
this.mix = 1;
if (data == null) throw new Error("data cannot be null.");
if (skeleton == null) throw new Error("skeleton cannot be null.");
this.data = data;
this.mix = data.mix;
this._qI2 = data._qI2;
this.compress = data.compress;
this._6x1 = data._6x1;
this.bones = new Array();
for (var _X9 = 0; _X9 < data.bones.length; _X9++) this.bones.push(skeleton._9M2(data.bones[_X9].name));
this.target = skeleton._9M2(data.target.name);
}
_8M2.prototype._aM2 = function () {
return this.data._bM2;
};
_8M2.prototype.apply = function () {
this._A11();
};
_8M2.prototype._A11 = function () {
var target = this.target;
var bones = this.bones;
switch (bones.length) {
case 1:
this._cM2(bones[0], target._pL2, target._qL2, this.compress, this._6x1, this.data._dM2, this.mix);
break;
case 2:
this._eM2(bones[0], bones[1], target._pL2, target._qL2, this._qI2, this._6x1, this.mix);
break;
}
};
_8M2.prototype._cM2 = function (bone, _fM2, _gM2, compress, _6x1, _dM2, alpha) {
if (!bone._oL2) bone._PL2();
var _ot1 = bone.parent;
var id = 1 / (_ot1._l41 * _ot1._Ce1 - _ot1._e21 * _ot1._Y9);
var x = _fM2 - _ot1._pL2,
y = _gM2 - _ot1._qL2;
var _hM2 = (x * _ot1._Ce1 - y * _ot1._e21) * id - bone._7A1,
_iM2 = (y * _ot1._l41 - x * _ot1._Y9) * id - bone._8A1;
var _jM2 = Math.atan2(_iM2, _hM2) * spine._ZG2._HL2 - bone._mL2 - bone._jL2;
if (bone._kL2 < 0) _jM2 += 180;
if (_jM2 > 180) _jM2 -= 360;
else if (_jM2 < -180) _jM2 += 360;
var _vL2 = bone._kL2,
_wL2 = bone._lL2;
if (compress || _6x1) {
var _e21 = bone.data.length * _vL2,
_wu1 = Math.sqrt(_hM2 * _hM2 + _iM2 * _iM2);
if ((compress && _wu1 < _e21) || (_6x1 && _wu1 > _e21 && _e21 > 0.0001)) {
var _Wo1 = (_wu1 / _e21 - 1) * alpha + 1;
_vL2 *= _Wo1;
if (_dM2) _wL2 *= _Wo1;
}
}
bone._tL2(bone._7A1, bone._8A1, bone._jL2 + _jM2 * alpha, _vL2, _wL2, bone._mL2, bone._nL2);
};
_8M2.prototype._eM2 = function (parent, _kM2, _fM2, _gM2, _lM2, _6x1, alpha) {
if (alpha == 0) {
_kM2._j11();
return;
}
if (!parent._oL2) parent._PL2();
if (!_kM2._oL2) _kM2._PL2();
var _qe1 = parent._7A1,
_re1 = parent._8A1,
_mM2 = parent._kL2,
_vL2 = _mM2,
_nM2 = parent._lL2,
_oM2 = _kM2._kL2;
var _pM2 = 0,
_qM2 = 0,
_Lm1 = 0;
if (_mM2 < 0) {
_mM2 = -_mM2;
_pM2 = 180;
_Lm1 = -1;
} else {
_pM2 = 0;
_Lm1 = 1;
}
if (_nM2 < 0) {
_nM2 = -_nM2;
_Lm1 = -_Lm1;
}
if (_oM2 < 0) {
_oM2 = -_oM2;
_qM2 = 180;
} else _qM2 = 0;
var _OY1 = _kM2._7A1,
_PY1 = 0,
_rM2 = 0,
_sM2 = 0,
_l41 = parent._l41,
_e21 = parent._e21,
_Y9 = parent._Y9,
_Ce1 = parent._Ce1;
var _P41 = Math.abs(_mM2 - _nM2) <= 0.0001;
if (!_P41) {
_PY1 = 0;
_rM2 = _l41 * _OY1 + parent._pL2;
_sM2 = _Y9 * _OY1 + parent._qL2;
} else {
_PY1 = _kM2._8A1;
_rM2 = _l41 * _OY1 + _e21 * _PY1 + parent._pL2;
_sM2 = _Y9 * _OY1 + _Ce1 * _PY1 + parent._qL2;
}
var _tM2 = parent.parent;
_l41 = _tM2._l41;
_e21 = _tM2._e21;
_Y9 = _tM2._Y9;
_Ce1 = _tM2._Ce1;
var id = 1 / (_l41 * _Ce1 - _e21 * _Y9),
x = _fM2 - _tM2._pL2,
y = _gM2 - _tM2._qL2;
var _hM2 = (x * _Ce1 - y * _e21) * id - _qe1,
_iM2 = (y * _l41 - x * _Y9) * id - _re1,
_wu1 = _hM2 * _hM2 + _iM2 * _iM2;
x = _rM2 - _tM2._pL2;
y = _sM2 - _tM2._qL2;
var _761 = (x * _Ce1 - y * _e21) * id - _qe1,
_861 = (y * _l41 - x * _Y9) * id - _re1;
var _uM2 = Math.sqrt(_761 * _761 + _861 * _861),
_jr2 = _kM2.data.length * _oM2,
_LM1 = 0,
_MM1 = 0;
_hK2: if (_P41) {
_jr2 *= _mM2;
var cos = (_wu1 - _uM2 * _uM2 - _jr2 * _jr2) / (2 * _uM2 * _jr2);
if (cos < -1) cos = -1;
else if (cos > 1) {
cos = 1;
if (_6x1 && _uM2 + _jr2 > 0.0001) _vL2 *= (Math.sqrt(_wu1) / (_uM2 + _jr2) - 1) * alpha + 1;
}
_MM1 = Math.acos(cos) * _lM2;
_l41 = _uM2 + _jr2 * cos;
_e21 = _jr2 * Math.sin(_MM1);
_LM1 = Math.atan2(_iM2 * _l41 - _hM2 * _e21, _hM2 * _l41 + _iM2 * _e21);
} else {
_l41 = _mM2 * _jr2;
_e21 = _nM2 * _jr2;
var _vM2 = _l41 * _l41,
_7t1 = _e21 * _e21,
_wM2 = Math.atan2(_iM2, _hM2);
_Y9 = _7t1 * _uM2 * _uM2 + _vM2 * _wu1 - _vM2 * _7t1;
var _BS1 = -2 * _7t1 * _uM2,
_CS1 = _7t1 - _vM2;
_Ce1 = _BS1 * _BS1 - 4 * _CS1 * _Y9;
if (_Ce1 >= 0) {
var _Yr1 = Math.sqrt(_Ce1);
if (_BS1 < 0) _Yr1 = -_Yr1;
_Yr1 = -(_BS1 + _Yr1) / 2;
var _pc2 = _Yr1 / _CS1,
__q1 = _Y9 / _Yr1;
var _b21 = Math.abs(_pc2) < Math.abs(__q1) ? _pc2 : __q1;
if (_b21 * _b21 <= _wu1) {
y = Math.sqrt(_wu1 - _b21 * _b21) * _lM2;
_LM1 = _wM2 - Math.atan2(y, _b21);
_MM1 = Math.atan2(y / _nM2, (_b21 - _uM2) / _mM2);
break _hK2;
}
}
var _xM2 = spine._ZG2.PI,
_K11 = _uM2 - _l41,
_yM2 = _K11 * _K11,
_M11 = 0;
var _zM2 = 0,
_L11 = _uM2 + _l41,
_AM2 = _L11 * _L11,
_N11 = 0;
_Y9 = (-_l41 * _uM2) / (_vM2 - _7t1);
if (_Y9 >= -1 && _Y9 <= 1) {
_Y9 = Math.acos(_Y9);
x = _l41 * Math.cos(_Y9) + _uM2;
y = _e21 * Math.sin(_Y9);
_Ce1 = x * x + y * y;
if (_Ce1 < _yM2) {
_xM2 = _Y9;
_yM2 = _Ce1;
_K11 = x;
_M11 = y;
}
if (_Ce1 > _AM2) {
_zM2 = _Y9;
_AM2 = _Ce1;
_L11 = x;
_N11 = y;
}
}
if (_wu1 <= (_yM2 + _AM2) / 2) {
_LM1 = _wM2 - Math.atan2(_M11 * _lM2, _K11);
_MM1 = _xM2 * _lM2;
} else {
_LM1 = _wM2 - Math.atan2(_N11 * _lM2, _L11);
_MM1 = _zM2 * _lM2;
}
}
var _In2 = Math.atan2(_PY1, _OY1) * _Lm1;
var rotation = parent._jL2;
_LM1 = (_LM1 - _In2) * spine._ZG2._HL2 + _pM2 - rotation;
if (_LM1 > 180) _LM1 -= 360;
else if (_LM1 < -180) _LM1 += 360;
parent._tL2(_qe1, _re1, rotation + _LM1 * alpha, _vL2, parent._lL2, 0, 0);
rotation = _kM2._jL2;
_MM1 = ((_MM1 + _In2) * spine._ZG2._HL2 - _kM2._mL2) * _Lm1 + _qM2 - rotation;
if (_MM1 > 180) _MM1 -= 360;
else if (_MM1 < -180) _MM1 += 360;
_kM2._tL2(_OY1, _PY1, rotation + _MM1 * alpha, _kM2._kL2, _kM2._lL2, _kM2._mL2, _kM2._nL2);
};
return _8M2;
})();
spine._8M2 = _8M2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _BM2 = (function () {
function _BM2(name) {
this._bM2 = 0;
this.bones = new Array();
this._qI2 = 1;
this.compress = !1;
this._6x1 = !1;
this._dM2 = !1;
this.mix = 1;
this.name = name;
}
return _BM2;
})();
spine._BM2 = _BM2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _CM2 = (function () {
function _CM2(data, skeleton) {
this.position = 0;
this.spacing = 0;
this.rotateMix = 0;
this._DI2 = 0;
this._DM2 = new Array();
this._I52 = new Array();
this._P22 = new Array();
this._zG2 = new Array();
this.lengths = new Array();
this._EM2 = new Array();
if (data == null) throw new Error("data cannot be null.");
if (skeleton == null) throw new Error("skeleton cannot be null.");
this.data = data;
this.bones = new Array();
for (var _X9 = 0, _W11 = data.bones.length; _X9 < _W11; _X9++) this.bones.push(skeleton._9M2(data.bones[_X9].name));
this.target = skeleton._111(data.target.name);
this.position = data.position;
this.spacing = data.spacing;
this.rotateMix = data.rotateMix;
this._DI2 = data._DI2;
}
_CM2.prototype.apply = function () {
this._A11();
};
_CM2.prototype._A11 = function () {
var attachment = this.target._611();
if (!(attachment instanceof spine._eL2)) return;
var rotateMix = this.rotateMix,
_DI2 = this._DI2;
var translate = _DI2 > 0,
rotate = rotateMix > 0;
if (!translate && !rotate) return;
var data = this.data;
var _FM2 = data.spacingMode == spine._GM2.Percent;
var rotateMode = data.rotateMode;
var _HM2 = rotateMode == spine._IM2.Tangent,
scale = rotateMode == spine._IM2.ChainScale;
var _JM2 = this.bones.length,
_KM2 = _HM2 ? _JM2 : _JM2 + 1;
var bones = this.bones;
var _DM2 = spine._AG2._SH2(this._DM2, _KM2),
lengths = null;
var spacing = this.spacing;
if (scale || !_FM2) {
if (scale) lengths = spine._AG2._SH2(this.lengths, _JM2);
var _LM2 = data.spacingMode == spine._GM2.Length;
for (var _X9 = 0, _W11 = _KM2 - 1; _X9 < _W11; ) {
var bone = bones[_X9];
var _MM2 = bone.data.length;
if (_MM2 < _CM2._1E2) {
if (scale) lengths[_X9] = 0;
_DM2[++_X9] = 0;
} else if (_FM2) {
if (scale) {
var x = _MM2 * bone._l41,
y = _MM2 * bone._Y9;
var length = Math.sqrt(x * x + y * y);
lengths[_X9] = length;
}
_DM2[++_X9] = spacing;
} else {
var _NM2 = _MM2 * bone._l41,
_OM2 = _MM2 * bone._Y9;
var _PM2 = Math.sqrt(_NM2 * _NM2 + _OM2 * _OM2);
if (scale) lengths[_X9] = _PM2;
_DM2[++_X9] = ((_LM2 ? _MM2 + spacing : spacing) * _PM2) / _MM2;
}
}
} else {
for (var _X9 = 1; _X9 < _KM2; _X9++) _DM2[_X9] = spacing;
}
var _I52 = this._QM2(attachment, _KM2, _HM2, data._RM2 == spine._SM2.Percent, _FM2);
var _TM2 = _I52[0],
_UM2 = _I52[1],
_VM2 = data._VM2;
var _WM2 = !1;
if (_VM2 == 0) _WM2 = rotateMode == spine._IM2.Chain;
else {
_WM2 = !1;
var _ot1 = this.target.bone;
_VM2 *= _ot1._l41 * _ot1._Ce1 - _ot1._e21 * _ot1._Y9 > 0 ? spine._ZG2._XM2 : -spine._ZG2._XM2;
}
for (var _X9 = 0, _ot1 = 3; _X9 < _JM2; _X9++, _ot1 += 3) {
var bone = bones[_X9];
bone._pL2 += (_TM2 - bone._pL2) * _DI2;
bone._qL2 += (_UM2 - bone._qL2) * _DI2;
var _YM2 = _I52[_ot1],
_ZM2 = _I52[_ot1 + 1],
_761 = _YM2 - _TM2,
_861 = _ZM2 - _UM2;
if (scale) {
var __M2 = lengths[_X9];
if (__M2 != 0) {
var _Wo1 = (Math.sqrt(_761 * _761 + _861 * _861) / __M2 - 1) * rotateMix + 1;
bone._l41 *= _Wo1;
bone._Y9 *= _Wo1;
}
}
_TM2 = _YM2;
_UM2 = _ZM2;
if (rotate) {
var _l41 = bone._l41,
_e21 = bone._e21,
_Y9 = bone._Y9,
_Ce1 = bone._Ce1,
_b21 = 0,
cos = 0,
sin = 0;
if (_HM2) _b21 = _I52[_ot1 - 1];
else if (_DM2[_X9 + 1] == 0) _b21 = _I52[_ot1 + 2];
else _b21 = Math.atan2(_861, _761);
_b21 -= Math.atan2(_Y9, _l41);
if (_WM2) {
cos = Math.cos(_b21);
sin = Math.sin(_b21);
var _0N2 = bone.data.length;
_TM2 += (_0N2 * (cos * _l41 - sin * _Y9) - _761) * rotateMix;
_UM2 += (_0N2 * (sin * _l41 + cos * _Y9) - _861) * rotateMix;
} else {
_b21 += _VM2;
}
if (_b21 > spine._ZG2.PI) _b21 -= spine._ZG2._1N2;
else if (_b21 < -spine._ZG2.PI) _b21 += spine._ZG2._1N2;
_b21 *= rotateMix;
cos = Math.cos(_b21);
sin = Math.sin(_b21);
bone._l41 = cos * _l41 - sin * _Y9;
bone._e21 = cos * _e21 - sin * _Ce1;
bone._Y9 = sin * _l41 + cos * _Y9;
bone._Ce1 = sin * _e21 + cos * _Ce1;
}
bone._oL2 = !1;
}
};
_CM2.prototype._QM2 = function (path, _KM2, _HM2, _2N2, _FM2) {
var target = this.target;
var position = this.position;
var _DM2 = this._DM2,
out = spine._AG2._SH2(this._I52, _KM2 * 3 + 2),
_P22 = null;
var _B2 = path._B2;
var _3N2 = path._C41,
_4N2 = _3N2 / 6,
_5N2 = _CM2._6N2;
if (!path._7N2) {
var lengths = path.lengths;
_4N2 -= _B2 ? 1 : 2;
var _8N2 = lengths[_4N2];
if (_2N2) position *= _8N2;
if (_FM2) {
for (var _X9 = 0; _X9 < _KM2; _X9++) _DM2[_X9] *= _8N2;
}
_P22 = spine._AG2._SH2(this._P22, 8);
for (var _X9 = 0, _4q1 = 0, curve = 0; _X9 < _KM2; _X9++, _4q1 += 3) {
var _9N2 = _DM2[_X9];
position += _9N2;
var _ot1 = position;
if (_B2) {
_ot1 %= _8N2;
if (_ot1 < 0) _ot1 += _8N2;
curve = 0;
} else if (_ot1 < 0) {
if (_5N2 != _CM2._aN2) {
_5N2 = _CM2._aN2;
path._v41(target, 2, 4, _P22, 0, 2);
}
this._bN2(_ot1, _P22, 0, out, _4q1);
continue;
} else if (_ot1 > _8N2) {
if (_5N2 != _CM2._cN2) {
_5N2 = _CM2._cN2;
path._v41(target, _3N2 - 6, 4, _P22, 0, 2);
}
this._dN2(_ot1 - _8N2, _P22, 0, out, _4q1);
continue;
}
for (; ; curve++) {
var _eN2 = lengths[curve];
if (_ot1 > _eN2) continue;
if (curve == 0) _ot1 /= _eN2;
else {
var _w62 = lengths[curve - 1];
_ot1 = (_ot1 - _w62) / (_eN2 - _w62);
}
break;
}
if (curve != _5N2) {
_5N2 = curve;
if (_B2 && curve == _4N2) {
path._v41(target, _3N2 - 4, 4, _P22, 0, 2);
path._v41(target, 0, 4, _P22, 4, 2);
} else path._v41(target, curve * 6 + 2, 8, _P22, 0, 2);
}
this._fN2(_ot1, _P22[0], _P22[1], _P22[2], _P22[3], _P22[4], _P22[5], _P22[6], _P22[7], out, _4q1, _HM2 || (_X9 > 0 && _9N2 == 0));
}
return out;
}
if (_B2) {
_3N2 += 2;
_P22 = spine._AG2._SH2(this._P22, _3N2);
path._v41(target, 2, _3N2 - 4, _P22, 0, 2);
path._v41(target, 0, 2, _P22, _3N2 - 4, 2);
_P22[_3N2 - 2] = _P22[0];
_P22[_3N2 - 1] = _P22[1];
} else {
_4N2--;
_3N2 -= 4;
_P22 = spine._AG2._SH2(this._P22, _3N2);
path._v41(target, 2, _3N2, _P22, 0, 2);
}
var _zG2 = spine._AG2._SH2(this._zG2, _4N2);
var _gN2 = 0;
var __11 = _P22[0],
_021 = _P22[1],
_LG2 = 0,
_MG2 = 0,
_NG2 = 0,
_OG2 = 0,
_121 = 0,
_221 = 0;
var _PG2 = 0,
_QG2 = 0,
_RG2 = 0,
_SG2 = 0,
_TG2 = 0,
_UG2 = 0,
_VG2 = 0,
_WG2 = 0;
for (var _X9 = 0, _Z9 = 2; _X9 < _4N2; _X9++, _Z9 += 6) {
_LG2 = _P22[_Z9];
_MG2 = _P22[_Z9 + 1];
_NG2 = _P22[_Z9 + 2];
_OG2 = _P22[_Z9 + 3];
_121 = _P22[_Z9 + 4];
_221 = _P22[_Z9 + 5];
_PG2 = (__11 - _LG2 * 2 + _NG2) * 0.1875;
_QG2 = (_021 - _MG2 * 2 + _OG2) * 0.1875;
_RG2 = ((_LG2 - _NG2) * 3 - __11 + _121) * 0.09375;
_SG2 = ((_MG2 - _OG2) * 3 - _021 + _221) * 0.09375;
_TG2 = _PG2 * 2 + _RG2;
_UG2 = _QG2 * 2 + _SG2;
_VG2 = (_LG2 - __11) * 0.75 + _PG2 + _RG2 * 0.16666667;
_WG2 = (_MG2 - _021) * 0.75 + _QG2 + _SG2 * 0.16666667;
_gN2 += Math.sqrt(_VG2 * _VG2 + _WG2 * _WG2);
_VG2 += _TG2;
_WG2 += _UG2;
_TG2 += _RG2;
_UG2 += _SG2;
_gN2 += Math.sqrt(_VG2 * _VG2 + _WG2 * _WG2);
_VG2 += _TG2;
_WG2 += _UG2;
_gN2 += Math.sqrt(_VG2 * _VG2 + _WG2 * _WG2);
_VG2 += _TG2 + _RG2;
_WG2 += _UG2 + _SG2;
_gN2 += Math.sqrt(_VG2 * _VG2 + _WG2 * _WG2);
_zG2[_X9] = _gN2;
__11 = _121;
_021 = _221;
}
if (_2N2) position *= _gN2;
else position *= _gN2 / path.lengths[_4N2 - 1];
if (_FM2) {
for (var _X9 = 0; _X9 < _KM2; _X9++) _DM2[_X9] *= _gN2;
}
var _EM2 = this._EM2;
var _hN2 = 0;
for (var _X9 = 0, _4q1 = 0, curve = 0, _iN2 = 0; _X9 < _KM2; _X9++, _4q1 += 3) {
var _9N2 = _DM2[_X9];
position += _9N2;
var _ot1 = position;
if (_B2) {
_ot1 %= _gN2;
if (_ot1 < 0) _ot1 += _gN2;
curve = 0;
} else if (_ot1 < 0) {
this._bN2(_ot1, _P22, 0, out, _4q1);
continue;
} else if (_ot1 > _gN2) {
this._dN2(_ot1 - _gN2, _P22, _3N2 - 4, out, _4q1);
continue;
}
for (; ; curve++) {
var _jN2 = _zG2[curve];
if (_ot1 > _jN2) continue;
if (curve == 0) _ot1 /= _jN2;
else {
var _w62 = _zG2[curve - 1];
_ot1 = (_ot1 - _w62) / (_jN2 - _w62);
}
break;
}
if (curve != _5N2) {
_5N2 = curve;
var _tJ2 = curve * 6;
__11 = _P22[_tJ2];
_021 = _P22[_tJ2 + 1];
_LG2 = _P22[_tJ2 + 2];
_MG2 = _P22[_tJ2 + 3];
_NG2 = _P22[_tJ2 + 4];
_OG2 = _P22[_tJ2 + 5];
_121 = _P22[_tJ2 + 6];
_221 = _P22[_tJ2 + 7];
_PG2 = (__11 - _LG2 * 2 + _NG2) * 0.03;
_QG2 = (_021 - _MG2 * 2 + _OG2) * 0.03;
_RG2 = ((_LG2 - _NG2) * 3 - __11 + _121) * 0.006;
_SG2 = ((_MG2 - _OG2) * 3 - _021 + _221) * 0.006;
_TG2 = _PG2 * 2 + _RG2;
_UG2 = _QG2 * 2 + _SG2;
_VG2 = (_LG2 - __11) * 0.3 + _PG2 + _RG2 * 0.16666667;
_WG2 = (_MG2 - _021) * 0.3 + _QG2 + _SG2 * 0.16666667;
_hN2 = Math.sqrt(_VG2 * _VG2 + _WG2 * _WG2);
_EM2[0] = _hN2;
for (_tJ2 = 1; _tJ2 < 8; _tJ2++) {
_VG2 += _TG2;
_WG2 += _UG2;
_TG2 += _RG2;
_UG2 += _SG2;
_hN2 += Math.sqrt(_VG2 * _VG2 + _WG2 * _WG2);
_EM2[_tJ2] = _hN2;
}
_VG2 += _TG2;
_WG2 += _UG2;
_hN2 += Math.sqrt(_VG2 * _VG2 + _WG2 * _WG2);
_EM2[8] = _hN2;
_VG2 += _TG2 + _RG2;
_WG2 += _UG2 + _SG2;
_hN2 += Math.sqrt(_VG2 * _VG2 + _WG2 * _WG2);
_EM2[9] = _hN2;
_iN2 = 0;
}
_ot1 *= _hN2;
for (; ; _iN2++) {
var _kN2 = _EM2[_iN2];
if (_ot1 > _kN2) continue;
if (_iN2 == 0) _ot1 /= _kN2;
else {
var _w62 = _EM2[_iN2 - 1];
_ot1 = _iN2 + (_ot1 - _w62) / (_kN2 - _w62);
}
break;
}
this._fN2(_ot1 * 0.1, __11, _021, _LG2, _MG2, _NG2, _OG2, _121, _221, out, _4q1, _HM2 || (_X9 > 0 && _9N2 == 0));
}
return out;
};
_CM2.prototype._bN2 = function (_ot1, _Et1, _X9, out, _4q1) {
var __11 = _Et1[_X9],
_021 = _Et1[_X9 + 1],
_761 = _Et1[_X9 + 2] - __11,
_861 = _Et1[_X9 + 3] - _021,
_b21 = Math.atan2(_861, _761);
out[_4q1] = __11 + _ot1 * Math.cos(_b21);
out[_4q1 + 1] = _021 + _ot1 * Math.sin(_b21);
out[_4q1 + 2] = _b21;
};
_CM2.prototype._dN2 = function (_ot1, _Et1, _X9, out, _4q1) {
var __11 = _Et1[_X9 + 2],
_021 = _Et1[_X9 + 3],
_761 = __11 - _Et1[_X9],
_861 = _021 - _Et1[_X9 + 1],
_b21 = Math.atan2(_861, _761);
out[_4q1] = __11 + _ot1 * Math.cos(_b21);
out[_4q1 + 1] = _021 + _ot1 * Math.sin(_b21);
out[_4q1 + 2] = _b21;
};
_CM2.prototype._fN2 = function (_ot1, __11, _021, _LG2, _MG2, _NG2, _OG2, _121, _221, out, _4q1, _HM2) {
if (_ot1 == 0 || isNaN(_ot1)) {
out[_4q1] = __11;
out[_4q1 + 1] = _021;
out[_4q1 + 2] = Math.atan2(_MG2 - _021, _LG2 - __11);
return;
}
var _lN2 = _ot1 * _ot1,
_mN2 = _lN2 * _ot1,
_P41 = 1 - _ot1,
_nN2 = _P41 * _P41,
_oN2 = _nN2 * _P41;
var _pN2 = _P41 * _ot1,
_qN2 = _pN2 * 3,
_rN2 = _P41 * _qN2,
_sN2 = _qN2 * _ot1;
var x = __11 * _oN2 + _LG2 * _rN2 + _NG2 * _sN2 + _121 * _mN2,
y = _021 * _oN2 + _MG2 * _rN2 + _OG2 * _sN2 + _221 * _mN2;
out[_4q1] = x;
out[_4q1 + 1] = y;
if (_HM2) {
if (_ot1 < 0.001) out[_4q1 + 2] = Math.atan2(_MG2 - _021, _LG2 - __11);
else out[_4q1 + 2] = Math.atan2(y - (_021 * _nN2 + _MG2 * _pN2 * 2 + _OG2 * _lN2), x - (__11 * _nN2 + _LG2 * _pN2 * 2 + _NG2 * _lN2));
}
};
_CM2.prototype._aM2 = function () {
return this.data._bM2;
};
_CM2._6N2 = -1;
_CM2._aN2 = -2;
_CM2._cN2 = -3;
_CM2._1E2 = 0.00001;
return _CM2;
})();
spine._CM2 = _CM2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _tN2 = (function () {
function _tN2(name) {
this._bM2 = 0;
this.bones = new Array();
this.name = name;
}
return _tN2;
})();
spine._tN2 = _tN2;
var _SM2;
(function (_SM2) {
_SM2[(_SM2["Fixed"] = 0)] = "Fixed";
_SM2[(_SM2["Percent"] = 1)] = "Percent";
})((_SM2 = spine._SM2 || (spine._SM2 = {})));
var _GM2;
(function (_GM2) {
_GM2[(_GM2["Length"] = 0)] = "Length";
_GM2[(_GM2["Fixed"] = 1)] = "Fixed";
_GM2[(_GM2["Percent"] = 2)] = "Percent";
})((_GM2 = spine._GM2 || (spine._GM2 = {})));
var _IM2;
(function (_IM2) {
_IM2[(_IM2["Tangent"] = 0)] = "Tangent";
_IM2[(_IM2["Chain"] = 1)] = "Chain";
_IM2[(_IM2["ChainScale"] = 2)] = "ChainScale";
})((_IM2 = spine._IM2 || (spine._IM2 = {})));
})(spine || (spine = {}));
var spine;
(function (spine) {
var _uN2 = (function () {
function _uN2(_vN2) {
this._HK2 = new Array();
this._6A1 = {};
this._vN2 = _vN2;
}
_uN2.prototype._NJ1 = function () {
var _X9 = 0;
for (var _J41 in this._6A1) _X9++;
return _X9;
};
return _uN2;
})();
var _wN2 = (function () {
function _wN2(_FK2) {
if (_FK2 === void 0) {
_FK2 = "";
}
this._xN2 = {};
this._yN2 = {};
this._zN2 = {};
this._GK2 = {};
this._FK2 = _FK2;
}
_wN2.prototype._AN2 = function (_vN2, _EK2, path) {
var _xN2 = this._xN2[_vN2];
if (_xN2 === null || _xN2 === undefined) {
_xN2 = new _uN2(_vN2);
this._xN2[_vN2] = _xN2;
}
if (_EK2 !== null) _xN2._EK2 = _EK2;
_xN2._HK2.push(path);
if (this._yN2[path] === path) {
return !1;
} else {
this._yN2[path] = path;
return !0;
}
};
_wN2.prototype._LK2 = function (_vN2, path) {
var _3H2 = this;
path = this._FK2 + path;
if (!this._AN2(_vN2, null, path)) return;
var _QJ1 = new XMLHttpRequest();
_QJ1.onreadystatechange = function () {
if (_QJ1.readyState == XMLHttpRequest._BN2) {
if (_QJ1.status >= 200 && _QJ1.status < 300) {
_3H2._zN2[path] = _QJ1.responseText;
} else {
_3H2._GK2[path] = "Couldn't load text " + path + ": status " + _QJ1.status + ", " + _QJ1.responseText;
}
}
};
_QJ1.open("GET", path, !0);
_QJ1.send();
};
_wN2.prototype._CN2 = function (_vN2, path) {
var _3H2 = this;
path = this._FK2 + path;
if (!this._AN2(_vN2, null, path)) return;
var _QJ1 = new XMLHttpRequest();
_QJ1.onreadystatechange = function () {
if (_QJ1.readyState == XMLHttpRequest._BN2) {
if (_QJ1.status >= 200 && _QJ1.status < 300) {
_3H2._zN2[path] = JSON.parse(_QJ1.responseText);
} else {
_3H2._GK2[path] = "Couldn't load text " + path + ": status " + _QJ1.status + ", " + _QJ1.responseText;
}
}
};
_QJ1.open("GET", path, !0);
_QJ1.send();
};
_wN2.prototype._s31 = function (_vN2, _EK2, path) {
var _3H2 = this;
path = this._FK2 + path;
if (!this._AN2(_vN2, _EK2, path)) return;
var img = new Image();
img.crossOrigin = _MK2;
img.src = _DI1(null, null, path);
img.onload = function (_NK2) {
_3H2._zN2[path] = img;
};
img.onerror = function (_NK2) {
_3H2._GK2[path] = "Couldn't load image " + path;
};
};
_wN2.prototype.get = function (_vN2, path) {
path = this._FK2 + path;
var _xN2 = this._xN2[_vN2];
if (_xN2 === null || _xN2 === undefined) return !0;
return _xN2._6A1[path];
};
_wN2.prototype._DN2 = function (_xN2) {
for (var _X9 = 0; _X9 < _xN2._HK2.length; _X9++) {
var path = _xN2._HK2[_X9];
var _0L2 = _xN2._6A1[path];
if (_0L2 === null || _0L2 === undefined) {
var _EN2 = this._zN2[path];
if (_EN2 === null || _EN2 === undefined) continue;
if (_EN2 instanceof HTMLImageElement) {
_xN2._6A1[path] = _xN2._EK2(_EN2);
} else {
_xN2._6A1[path] = _EN2;
}
}
}
};
_wN2.prototype._2L2 = function (_vN2) {
var _xN2 = this._xN2[_vN2];
if (_xN2 === null || _xN2 === undefined) return !0;
this._DN2(_xN2);
return _xN2._HK2.length == _xN2._NJ1();
};
_wN2.prototype.dispose = function () {};
_wN2.prototype._5L2 = function () {
return Object._6L2(this._GK2).length > 0;
};
_wN2.prototype._7L2 = function () {
return this._GK2;
};
return _wN2;
})();
spine._wN2 = _wN2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _e01 = (function () {
function _e01(data) {
this._FN2 = new Array();
this._GN2 = new Array();
this.time = 0;
this.scaleX = 1;
this.scaleY = 1;
this.x = 0;
this.y = 0;
if (data == null) throw new Error("data cannot be null.");
this.data = data;
this.bones = new Array();
for (var _X9 = 0; _X9 < data.bones.length; _X9++) {
var _HN2 = data.bones[_X9];
var bone = void 0;
if (_HN2.parent == null) bone = new spine._iL2(_HN2, this, null);
else {
var _IN2 = this.bones[_HN2.parent.index];
bone = new spine._iL2(_HN2, this, _IN2);
_IN2._fR1.push(bone);
}
this.bones.push(bone);
}
this.slots = new Array();
this.drawOrder = new Array();
for (var _X9 = 0; _X9 < data.slots.length; _X9++) {
var _JN2 = data.slots[_X9];
var bone = this.bones[_JN2._HN2.index];
var slot = new spine._KN2(_JN2, bone);
this.slots.push(slot);
this.drawOrder.push(slot);
}
this._wI2 = new Array();
for (var _X9 = 0; _X9 < data._wI2.length; _X9++) {
var _LN2 = data._wI2[_X9];
this._wI2.push(new spine._8M2(_LN2, this));
}
this._JI2 = new Array();
for (var _X9 = 0; _X9 < data._JI2.length; _X9++) {
var _MN2 = data._JI2[_X9];
this._JI2.push(new spine._NN2(_MN2, this));
}
this._RI2 = new Array();
for (var _X9 = 0; _X9 < data._RI2.length; _X9++) {
var _ON2 = data._RI2[_X9];
this._RI2.push(new spine._CM2(_ON2, this));
}
this.color = new spine._i41(1, 1, 1, 1);
this._PN2();
}
_e01.prototype._PN2 = function () {
var _PN2 = this._FN2;
_PN2.length = 0;
this._GN2.length = 0;
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) bones[_X9]._rL2 = !1;
var _wI2 = this._wI2;
var _JI2 = this._JI2;
var _RI2 = this._RI2;
var _QN2 = _wI2.length,
_RN2 = _JI2.length,
_SN2 = _RI2.length;
var _TN2 = _QN2 + _RN2 + _SN2;
_hK2: for (var _X9 = 0; _X9 < _TN2; _X9++) {
for (var _tJ2 = 0; _tJ2 < _QN2; _tJ2++) {
var _vI2 = _wI2[_tJ2];
if (_vI2.data._bM2 == _X9) {
this._UN2(_vI2);
continue _hK2;
}
}
for (var _tJ2 = 0; _tJ2 < _RN2; _tJ2++) {
var _vI2 = _JI2[_tJ2];
if (_vI2.data._bM2 == _X9) {
this._VN2(_vI2);
continue _hK2;
}
}
for (var _tJ2 = 0; _tJ2 < _SN2; _tJ2++) {
var _vI2 = _RI2[_tJ2];
if (_vI2.data._bM2 == _X9) {
this._WN2(_vI2);
continue _hK2;
}
}
}
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) this._XN2(bones[_X9]);
};
_e01.prototype._UN2 = function (_vI2) {
var target = _vI2.target;
this._XN2(target);
var _YN2 = _vI2.bones;
var parent = _YN2[0];
this._XN2(parent);
if (_YN2.length > 1) {
var _kM2 = _YN2[_YN2.length - 1];
if (!(this._FN2.indexOf(_kM2) > -1)) this._GN2.push(_kM2);
}
this._FN2.push(_vI2);
this._ZN2(parent._fR1);
_YN2[_YN2.length - 1]._rL2 = !0;
};
_e01.prototype._WN2 = function (_vI2) {
var slot = _vI2.target;
var _311 = slot.data.index;
var __N2 = slot.bone;
if (this.skin != null) this._0O2(this.skin, _311, __N2);
if (this.data._W01 != null && this.data._W01 != this.skin) this._0O2(this.data._W01, _311, __N2);
for (var _X9 = 0, _W11 = this.data.skins.length; _X9 < _W11; _X9++) this._0O2(this.data.skins[_X9], _311, __N2);
var attachment = slot._611();
if (attachment instanceof spine._eL2) this._1O2(attachment, __N2);
var _YN2 = _vI2.bones;
var _JM2 = _YN2.length;
for (var _X9 = 0; _X9 < _JM2; _X9++) this._XN2(_YN2[_X9]);
this._FN2.push(_vI2);
for (var _X9 = 0; _X9 < _JM2; _X9++) this._ZN2(_YN2[_X9]._fR1);
for (var _X9 = 0; _X9 < _JM2; _X9++) _YN2[_X9]._rL2 = !0;
};
_e01.prototype._VN2 = function (_vI2) {
this._XN2(_vI2.target);
var _YN2 = _vI2.bones;
var _JM2 = _YN2.length;
if (_vI2.data._0M2) {
for (var _X9 = 0; _X9 < _JM2; _X9++) {
var _kM2 = _YN2[_X9];
this._XN2(_kM2.parent);
if (!(this._FN2.indexOf(_kM2) > -1)) this._GN2.push(_kM2);
}
} else {
for (var _X9 = 0; _X9 < _JM2; _X9++) {
this._XN2(_YN2[_X9]);
}
}
this._FN2.push(_vI2);
for (var _tJ2 = 0; _tJ2 < _JM2; _tJ2++) this._ZN2(_YN2[_tJ2]._fR1);
for (var _tJ2 = 0; _tJ2 < _JM2; _tJ2++) _YN2[_tJ2]._rL2 = !0;
};
_e01.prototype._0O2 = function (skin, _311, __N2) {
var _CJ2 = skin._CJ2[_311];
if (!_CJ2) return;
for (var key in _CJ2) {
this._1O2(_CJ2[key], __N2);
}
};
_e01.prototype._1O2 = function (attachment, __N2) {
if (!(attachment instanceof spine._eL2)) return;
var _2O2 = attachment.bones;
if (_2O2 == null) this._XN2(__N2);
else {
var bones = this.bones;
var _X9 = 0;
while (_X9 < _2O2.length) {
var _JM2 = _2O2[_X9++];
for (var _W11 = _X9 + _JM2; _X9 < _W11; _X9++) {
var _5H2 = _2O2[_X9];
this._XN2(bones[_5H2]);
}
}
}
};
_e01.prototype._XN2 = function (bone) {
if (bone._rL2) return;
var parent = bone.parent;
if (parent != null) this._XN2(parent);
bone._rL2 = !0;
this._FN2.push(bone);
};
_e01.prototype._ZN2 = function (bones) {
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) {
var bone = bones[_X9];
if (bone._rL2) this._ZN2(bone._fR1);
bone._rL2 = !1;
}
};
_e01.prototype._j11 = function () {
var _GN2 = this._GN2;
for (var _X9 = 0, _W11 = _GN2.length; _X9 < _W11; _X9++) {
var bone = _GN2[_X9];
bone._7A1 = bone.x;
bone._8A1 = bone.y;
bone._jL2 = bone.rotation;
bone._kL2 = bone.scaleX;
bone._lL2 = bone.scaleY;
bone._mL2 = bone.shearX;
bone._nL2 = bone.shearY;
bone._oL2 = !0;
}
var _PN2 = this._FN2;
for (var _X9 = 0, _W11 = _PN2.length; _X9 < _W11; _X9++) _PN2[_X9]._A11();
};
_e01.prototype._sL2 = function () {
this._3O2();
this._Y01();
};
_e01.prototype._3O2 = function () {
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) bones[_X9]._sL2();
var _wI2 = this._wI2;
for (var _X9 = 0, _W11 = _wI2.length; _X9 < _W11; _X9++) {
var _vI2 = _wI2[_X9];
_vI2.mix = _vI2.data.mix;
_vI2._qI2 = _vI2.data._qI2;
_vI2.compress = _vI2.data.compress;
_vI2._6x1 = _vI2.data._6x1;
}
var _JI2 = this._JI2;
for (var _X9 = 0, _W11 = _JI2.length; _X9 < _W11; _X9++) {
var _vI2 = _JI2[_X9];
var data = _vI2.data;
_vI2.rotateMix = data.rotateMix;
_vI2._DI2 = data._DI2;
_vI2.scaleMix = data.scaleMix;
_vI2._EI2 = data._EI2;
}
var _RI2 = this._RI2;
for (var _X9 = 0, _W11 = _RI2.length; _X9 < _W11; _X9++) {
var _vI2 = _RI2[_X9];
var data = _vI2.data;
_vI2.position = data.position;
_vI2.spacing = data.spacing;
_vI2.rotateMix = data.rotateMix;
_vI2._DI2 = data._DI2;
}
};
_e01.prototype._Y01 = function () {
var slots = this.slots;
spine._AG2._YH2(slots, 0, this.drawOrder, 0, slots.length);
for (var _X9 = 0, _W11 = slots.length; _X9 < _W11; _X9++) slots[_X9]._sL2();
};
_e01.prototype._w01 = function () {
if (this.bones.length == 0) return null;
return this.bones[0];
};
_e01.prototype._9M2 = function (_4O2) {
if (_4O2 == null) throw new Error("boneName cannot be null.");
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) {
var bone = bones[_X9];
if (bone.data.name == _4O2) return bone;
}
return null;
};
_e01.prototype._5O2 = function (_4O2) {
if (_4O2 == null) throw new Error("boneName cannot be null.");
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) if (bones[_X9].data.name == _4O2) return _X9;
return -1;
};
_e01.prototype._111 = function (_6O2) {
if (_6O2 == null) throw new Error("slotName cannot be null.");
var slots = this.slots;
for (var _X9 = 0, _W11 = slots.length; _X9 < _W11; _X9++) {
var slot = slots[_X9];
if (slot.data.name == _6O2) return slot;
}
return null;
};
_e01.prototype._411 = function (_6O2) {
if (_6O2 == null) throw new Error("slotName cannot be null.");
var slots = this.slots;
for (var _X9 = 0, _W11 = slots.length; _X9 < _W11; _X9++) if (slots[_X9].data.name == _6O2) return _X9;
return -1;
};
_e01.prototype._X01 = function (_7O2) {
var skin = this.data._8O2(_7O2);
if (skin == null) throw new Error("Skin not found: " + _7O2);
this._9O2(skin);
};
_e01.prototype._9O2 = function (_aO2) {
if (_aO2 != null) {
if (this.skin != null) _aO2._bO2(this, this.skin);
else {
var slots = this.slots;
for (var _X9 = 0, _W11 = slots.length; _X9 < _W11; _X9++) {
var slot = slots[_X9];
var _cO2 = slot.data._EH2;
if (_cO2 != null) {
var attachment = _aO2._611(_X9, _cO2);
if (attachment != null) slot._211(attachment);
}
}
}
}
this.skin = _aO2;
};
_e01.prototype._dO2 = function (_6O2, _EH2) {
return this._611(this.data._411(_6O2), _EH2);
};
_e01.prototype._611 = function (_311, _EH2) {
if (_EH2 == null) throw new Error("attachmentName cannot be null.");
if (this.skin != null) {
var attachment = this.skin._611(_311, _EH2);
if (attachment != null) return attachment;
}
if (this.data._W01 != null) return this.data._W01._611(_311, _EH2);
return null;
};
_e01.prototype._211 = function (_6O2, _EH2) {
if (_6O2 == null) throw new Error("slotName cannot be null.");
var slots = this.slots;
for (var _X9 = 0, _W11 = slots.length; _X9 < _W11; _X9++) {
var slot = slots[_X9];
if (slot.data.name == _6O2) {
var attachment = null;
if (_EH2 != null) {
attachment = this._611(_X9, _EH2);
if (attachment == null) throw new Error("Attachment not found: " + _EH2 + ", for slot: " + _6O2);
}
slot._211(attachment);
return;
}
}
throw new Error("Slot not found: " + _6O2);
};
_e01.prototype._eO2 = function (_fO2) {
if (_fO2 == null) throw new Error("constraintName cannot be null.");
var _wI2 = this._wI2;
for (var _X9 = 0, _W11 = _wI2.length; _X9 < _W11; _X9++) {
var ikConstraint = _wI2[_X9];
if (ikConstraint.data.name == _fO2) return ikConstraint;
}
return null;
};
_e01.prototype._gO2 = function (_fO2) {
if (_fO2 == null) throw new Error("constraintName cannot be null.");
var _JI2 = this._JI2;
for (var _X9 = 0, _W11 = _JI2.length; _X9 < _W11; _X9++) {
var _vI2 = _JI2[_X9];
if (_vI2.data.name == _fO2) return _vI2;
}
return null;
};
_e01.prototype._hO2 = function (_fO2) {
if (_fO2 == null) throw new Error("constraintName cannot be null.");
var _RI2 = this._RI2;
for (var _X9 = 0, _W11 = _RI2.length; _X9 < _W11; _X9++) {
var _vI2 = _RI2[_X9];
if (_vI2.data.name == _fO2) return _vI2;
}
return null;
};
_e01.prototype.getBounds = function (offset, size, _Et1) {
if (_Et1 === void 0) {
_Et1 = new Array(2);
}
if (offset == null) throw new Error("offset cannot be null.");
if (size == null) throw new Error("size cannot be null.");
var drawOrder = this.drawOrder;
var _K11 = Number.POSITIVE_INFINITY,
_M11 = Number.POSITIVE_INFINITY,
_L11 = Number.NEGATIVE_INFINITY,
_N11 = Number.NEGATIVE_INFINITY;
for (var _X9 = 0, _W11 = drawOrder.length; _X9 < _W11; _X9++) {
var slot = drawOrder[_X9];
var _3N2 = 0;
var vertices = null;
var attachment = slot._611();
if (attachment instanceof spine._041) {
_3N2 = 8;
vertices = spine._AG2._SH2(_Et1, _3N2, 0);
attachment._v41(slot.bone, vertices, 0, 2);
} else if (attachment instanceof spine._241) {
var _B41 = attachment;
_3N2 = _B41._C41;
vertices = spine._AG2._SH2(_Et1, _3N2, 0);
_B41._v41(slot, 0, _3N2, vertices, 0, 2);
}
if (vertices != null) {
for (var _tJ2 = 0, _iO2 = vertices.length; _tJ2 < _iO2; _tJ2 += 2) {
var x = vertices[_tJ2],
y = vertices[_tJ2 + 1];
_K11 = Math.min(_K11, x);
_M11 = Math.min(_M11, y);
_L11 = Math.max(_L11, x);
_N11 = Math.max(_N11, y);
}
}
}
offset.set(_K11, _M11);
size.set(_L11 - _K11, _N11 - _M11);
};
_e01.prototype._A11 = function (_po2) {
this.time += _po2;
};
return _e01;
})();
spine._e01 = _e01;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _u01 = (function () {
function _u01() {
this._K11 = 0;
this._M11 = 0;
this._L11 = 0;
this._N11 = 0;
this._J11 = new Array();
this._X11 = new Array();
this._jO2 = new spine._1J2(function () {
return spine._AG2._BG2(16);
});
}
_u01.prototype._A11 = function (skeleton, _kO2) {
if (skeleton == null) throw new Error("skeleton cannot be null.");
var _J11 = this._J11;
var _X11 = this._X11;
var _jO2 = this._jO2;
var slots = skeleton.slots;
var _lO2 = slots.length;
_J11.length = 0;
_jO2._mO2(_X11);
_X11.length = 0;
for (var _X9 = 0; _X9 < _lO2; _X9++) {
var slot = slots[_X9];
var attachment = slot._611();
if (attachment instanceof spine._441) {
var _t61 = attachment;
_J11.push(_t61);
var _VW1 = _jO2._bK2();
if (_VW1.length != _t61._C41) {
_VW1 = spine._AG2._BG2(_t61._C41);
}
_X11.push(_VW1);
_t61._v41(slot, 0, _t61._C41, _VW1, 0, 2);
}
}
if (_kO2) {
this._nO2();
} else {
this._K11 = Number.POSITIVE_INFINITY;
this._M11 = Number.POSITIVE_INFINITY;
this._L11 = Number.NEGATIVE_INFINITY;
this._N11 = Number.NEGATIVE_INFINITY;
}
};
_u01.prototype._nO2 = function () {
var _K11 = Number.POSITIVE_INFINITY,
_M11 = Number.POSITIVE_INFINITY,
_L11 = Number.NEGATIVE_INFINITY,
_N11 = Number.NEGATIVE_INFINITY;
var _X11 = this._X11;
for (var _X9 = 0, _W11 = _X11.length; _X9 < _W11; _X9++) {
var _VW1 = _X11[_X9];
var vertices = _VW1;
for (var _tJ2 = 0, _iO2 = _VW1.length; _tJ2 < _iO2; _tJ2 += 2) {
var x = vertices[_tJ2];
var y = vertices[_tJ2 + 1];
_K11 = Math.min(_K11, x);
_M11 = Math.min(_M11, y);
_L11 = Math.max(_L11, x);
_N11 = Math.max(_N11, y);
}
}
this._K11 = _K11;
this._M11 = _M11;
this._L11 = _L11;
this._N11 = _N11;
};
_u01.prototype._oO2 = function (x, y) {
return x >= this._K11 && x <= this._L11 && y >= this._M11 && y <= this._N11;
};
_u01.prototype._pO2 = function (__11, _021, _121, _221) {
var _K11 = this._K11;
var _M11 = this._M11;
var _L11 = this._L11;
var _N11 = this._N11;
if ((__11 <= _K11 && _121 <= _K11) || (_021 <= _M11 && _221 <= _M11) || (__11 >= _L11 && _121 >= _L11) || (_021 >= _N11 && _221 >= _N11)) return !1;
var _Z11 = (_221 - _021) / (_121 - __11);
var y = _Z11 * (_K11 - __11) + _021;
if (y > _M11 && y < _N11) return !0;
y = _Z11 * (_L11 - __11) + _021;
if (y > _M11 && y < _N11) return !0;
var x = (_M11 - _021) / _Z11 + __11;
if (x > _K11 && x < _L11) return !0;
x = (_N11 - _021) / _Z11 + __11;
if (x > _K11 && x < _L11) return !0;
return !1;
};
_u01.prototype._qO2 = function (_rO2) {
return this._K11 < _rO2._L11 && this._L11 > _rO2._K11 && this._M11 < _rO2._N11 && this._N11 > _rO2._M11;
};
_u01.prototype._r21 = function (x, y) {
var _X11 = this._X11;
for (var _X9 = 0, _W11 = _X11.length; _X9 < _W11; _X9++) if (this._sO2(_X11[_X9], x, y)) return this._J11[_X9];
return null;
};
_u01.prototype._sO2 = function (_VW1, x, y) {
var vertices = _VW1;
var _iO2 = _VW1.length;
var _tO2 = _iO2 - 2;
var _uO2 = !1;
for (var _tJ2 = 0; _tJ2 < _iO2; _tJ2 += 2) {
var _vO2 = vertices[_tJ2 + 1];
var _0H2 = vertices[_tO2 + 1];
if ((_vO2 < y && _0H2 >= y) || (_0H2 < y && _vO2 >= y)) {
var _wO2 = vertices[_tJ2];
if (_wO2 + ((y - _vO2) / (_0H2 - _vO2)) * (vertices[_tO2] - _wO2) < x) _uO2 = !_uO2;
}
_tO2 = _tJ2;
}
return _uO2;
};
_u01.prototype._421 = function (__11, _021, _121, _221) {
var _X11 = this._X11;
for (var _X9 = 0, _W11 = _X11.length; _X9 < _W11; _X9++) if (this._xO2(_X11[_X9], __11, _021, _121, _221)) return this._J11[_X9];
return null;
};
_u01.prototype._xO2 = function (_VW1, __11, _021, _121, _221) {
var vertices = _VW1;
var _iO2 = _VW1.length;
var _yO2 = __11 - _121,
_zO2 = _021 - _221;
var _AO2 = __11 * _221 - _021 * _121;
var _961 = vertices[_iO2 - 2],
_a61 = vertices[_iO2 - 1];
for (var _tJ2 = 0; _tJ2 < _iO2; _tJ2 += 2) {
var _BO2 = vertices[_tJ2],
_CO2 = vertices[_tJ2 + 1];
var _DO2 = _961 * _CO2 - _a61 * _BO2;
var _EO2 = _961 - _BO2,
_FO2 = _a61 - _CO2;
var _GO2 = _yO2 * _FO2 - _zO2 * _EO2;
var x = (_AO2 * _EO2 - _yO2 * _DO2) / _GO2;
if (((x >= _961 && x <= _BO2) || (x >= _BO2 && x <= _961)) && ((x >= __11 && x <= _121) || (x >= _121 && x <= __11))) {
var y = (_AO2 * _FO2 - _zO2 * _DO2) / _GO2;
if (((y >= _a61 && y <= _CO2) || (y >= _CO2 && y <= _a61)) && ((y >= _021 && y <= _221) || (y >= _221 && y <= _021))) return !0;
}
_961 = _BO2;
_a61 = _CO2;
}
return !1;
};
_u01.prototype._HO2 = function (_t61) {
if (_t61 == null) throw new Error("boundingBox cannot be null.");
var index = this._J11.indexOf(_t61);
return index == -1 ? null : this._X11[index];
};
_u01.prototype._Sm2 = function () {
return this._L11 - this._K11;
};
_u01.prototype._Tm2 = function () {
return this._N11 - this._M11;
};
return _u01;
})();
spine._u01 = _u01;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _E41 = (function () {
function _E41() {
this._IO2 = new spine._JO2();
this._KO2 = new Array();
this._LO2 = new Array();
this._H41 = new Array();
this._I41 = new Array();
this._MO2 = new Array();
}
_E41.prototype._F41 = function (slot, clip) {
if (this._NO2 != null) return 0;
this._NO2 = clip;
var _W11 = clip._C41;
var vertices = spine._AG2._SH2(this._KO2, _W11);
clip._v41(slot, 0, _W11, vertices, 0, 2);
var _KO2 = this._KO2;
_E41._OO2(_KO2);
var _PO2 = (this._PO2 = this._IO2._QO2(_KO2, this._IO2._RO2(_KO2)));
for (var _X9 = 0, _SO2 = _PO2.length; _X9 < _SO2; _X9++) {
var _VW1 = _PO2[_X9];
_E41._OO2(_VW1);
_VW1.push(_VW1[0]);
_VW1.push(_VW1[1]);
}
return _PO2.length;
};
_E41.prototype._S41 = function (slot) {
if (this._NO2 != null && this._NO2._TO2 == slot.data) this._T41();
};
_E41.prototype._T41 = function () {
if (this._NO2 == null) return;
this._NO2 = null;
this._PO2 = null;
this._H41.length = 0;
this._I41.length = 0;
this._KO2.length = 0;
};
_E41.prototype._u41 = function () {
return this._NO2 != null;
};
_E41.prototype._G41 = function (vertices, _3N2, triangles, _UO2, uvs, _vH2, _wH2, twoColor) {
var _LO2 = this._LO2,
_H41 = this._H41;
var _I41 = this._I41;
var _X11 = this._PO2;
var _VO2 = this._PO2.length;
var _jx2 = twoColor ? 12 : 8;
var index = 0;
_H41.length = 0;
_I41.length = 0;
_hK2: for (var _X9 = 0; _X9 < _UO2; _X9 += 3) {
var _WO2 = triangles[_X9] << 1;
var __11 = vertices[_WO2],
_021 = vertices[_WO2 + 1];
var _xZ1 = uvs[_WO2],
_b61 = uvs[_WO2 + 1];
_WO2 = triangles[_X9 + 1] << 1;
var _121 = vertices[_WO2],
_221 = vertices[_WO2 + 1];
var _yZ1 = uvs[_WO2],
_c61 = uvs[_WO2 + 1];
_WO2 = triangles[_X9 + 2] << 1;
var _961 = vertices[_WO2],
_a61 = vertices[_WO2 + 1];
var _XO2 = uvs[_WO2],
_d61 = uvs[_WO2 + 1];
for (var _ot1 = 0; _ot1 < _VO2; _ot1++) {
var _Wo1 = _H41.length;
if (this.clip(__11, _021, _121, _221, _961, _a61, _X11[_ot1], _LO2)) {
var _YO2 = _LO2.length;
if (_YO2 == 0) continue;
var _ZO2 = _221 - _a61,
_WU1 = _961 - _121,
_Bb2 = __11 - _961,
__O2 = _a61 - _021;
var _Ce1 = 1 / (_ZO2 * _Bb2 + _WU1 * (_021 - _a61));
var _0P2 = _YO2 >> 1;
var _1P2 = this._LO2;
var _2P2 = spine._AG2._SH2(_H41, _Wo1 + _0P2 * _jx2);
for (var _tJ2 = 0; _tJ2 < _YO2; _tJ2 += 2) {
var x = _1P2[_tJ2],
y = _1P2[_tJ2 + 1];
_2P2[_Wo1] = x;
_2P2[_Wo1 + 1] = y;
_2P2[_Wo1 + 2] = _vH2._b21;
_2P2[_Wo1 + 3] = _vH2._k41;
_2P2[_Wo1 + 4] = _vH2._e21;
_2P2[_Wo1 + 5] = _vH2._l41;
var _6T1 = x - _961,
_BS1 = y - _a61;
var _l41 = (_ZO2 * _6T1 + _WU1 * _BS1) * _Ce1;
var _e21 = (__O2 * _6T1 + _Bb2 * _BS1) * _Ce1;
var _Y9 = 1 - _l41 - _e21;
_2P2[_Wo1 + 6] = _xZ1 * _l41 + _yZ1 * _e21 + _XO2 * _Y9;
_2P2[_Wo1 + 7] = _b61 * _l41 + _c61 * _e21 + _d61 * _Y9;
if (twoColor) {
_2P2[_Wo1 + 8] = _wH2._b21;
_2P2[_Wo1 + 9] = _wH2._k41;
_2P2[_Wo1 + 10] = _wH2._e21;
_2P2[_Wo1 + 11] = _wH2._l41;
}
_Wo1 += _jx2;
}
_Wo1 = _I41.length;
var _3P2 = spine._AG2._SH2(_I41, _Wo1 + 3 * (_0P2 - 2));
_0P2--;
for (var _tJ2 = 1; _tJ2 < _0P2; _tJ2++) {
_3P2[_Wo1] = index;
_3P2[_Wo1 + 1] = index + _tJ2;
_3P2[_Wo1 + 2] = index + _tJ2 + 1;
_Wo1 += 3;
}
index += _0P2 + 1;
} else {
var _2P2 = spine._AG2._SH2(_H41, _Wo1 + 3 * _jx2);
_2P2[_Wo1] = __11;
_2P2[_Wo1 + 1] = _021;
_2P2[_Wo1 + 2] = _vH2._b21;
_2P2[_Wo1 + 3] = _vH2._k41;
_2P2[_Wo1 + 4] = _vH2._e21;
_2P2[_Wo1 + 5] = _vH2._l41;
if (!twoColor) {
_2P2[_Wo1 + 6] = _xZ1;
_2P2[_Wo1 + 7] = _b61;
_2P2[_Wo1 + 8] = _121;
_2P2[_Wo1 + 9] = _221;
_2P2[_Wo1 + 10] = _vH2._b21;
_2P2[_Wo1 + 11] = _vH2._k41;
_2P2[_Wo1 + 12] = _vH2._e21;
_2P2[_Wo1 + 13] = _vH2._l41;
_2P2[_Wo1 + 14] = _yZ1;
_2P2[_Wo1 + 15] = _c61;
_2P2[_Wo1 + 16] = _961;
_2P2[_Wo1 + 17] = _a61;
_2P2[_Wo1 + 18] = _vH2._b21;
_2P2[_Wo1 + 19] = _vH2._k41;
_2P2[_Wo1 + 20] = _vH2._e21;
_2P2[_Wo1 + 21] = _vH2._l41;
_2P2[_Wo1 + 22] = _XO2;
_2P2[_Wo1 + 23] = _d61;
} else {
_2P2[_Wo1 + 6] = _xZ1;
_2P2[_Wo1 + 7] = _b61;
_2P2[_Wo1 + 8] = _wH2._b21;
_2P2[_Wo1 + 9] = _wH2._k41;
_2P2[_Wo1 + 10] = _wH2._e21;
_2P2[_Wo1 + 11] = _wH2._l41;
_2P2[_Wo1 + 12] = _121;
_2P2[_Wo1 + 13] = _221;
_2P2[_Wo1 + 14] = _vH2._b21;
_2P2[_Wo1 + 15] = _vH2._k41;
_2P2[_Wo1 + 16] = _vH2._e21;
_2P2[_Wo1 + 17] = _vH2._l41;
_2P2[_Wo1 + 18] = _yZ1;
_2P2[_Wo1 + 19] = _c61;
_2P2[_Wo1 + 20] = _wH2._b21;
_2P2[_Wo1 + 21] = _wH2._k41;
_2P2[_Wo1 + 22] = _wH2._e21;
_2P2[_Wo1 + 23] = _wH2._l41;
_2P2[_Wo1 + 24] = _961;
_2P2[_Wo1 + 25] = _a61;
_2P2[_Wo1 + 26] = _vH2._b21;
_2P2[_Wo1 + 27] = _vH2._k41;
_2P2[_Wo1 + 28] = _vH2._e21;
_2P2[_Wo1 + 29] = _vH2._l41;
_2P2[_Wo1 + 30] = _XO2;
_2P2[_Wo1 + 31] = _d61;
_2P2[_Wo1 + 32] = _wH2._b21;
_2P2[_Wo1 + 33] = _wH2._k41;
_2P2[_Wo1 + 34] = _wH2._e21;
_2P2[_Wo1 + 35] = _wH2._l41;
}
_Wo1 = _I41.length;
var _3P2 = spine._AG2._SH2(_I41, _Wo1 + 3);
_3P2[_Wo1] = index;
_3P2[_Wo1 + 1] = index + 1;
_3P2[_Wo1 + 2] = index + 2;
index += 3;
continue _hK2;
}
}
}
};
_E41.prototype.clip = function (__11, _021, _121, _221, _961, _a61, _4P2, _Kr1) {
var _5P2 = _Kr1;
var _6P2 = !1;
var _Ir1 = null;
if (_4P2.length % 4 >= 2) {
_Ir1 = _Kr1;
_Kr1 = this._MO2;
} else _Ir1 = this._MO2;
_Ir1.length = 0;
_Ir1.push(__11);
_Ir1.push(_021);
_Ir1.push(_121);
_Ir1.push(_221);
_Ir1.push(_961);
_Ir1.push(_a61);
_Ir1.push(__11);
_Ir1.push(_021);
_Kr1.length = 0;
var _7P2 = _4P2;
var _8P2 = _4P2.length - 4;
for (var _X9 = 0; ; _X9 += 2) {
var _9P2 = _7P2[_X9],
_aP2 = _7P2[_X9 + 1];
var _bP2 = _7P2[_X9 + 2],
_cP2 = _7P2[_X9 + 3];
var _dP2 = _9P2 - _bP2,
_eP2 = _aP2 - _cP2;
var _fP2 = _Ir1;
var _gP2 = _Ir1.length - 2,
_hP2 = _Kr1.length;
for (var _tJ2 = 0; _tJ2 < _gP2; _tJ2 += 2) {
var _iP2 = _fP2[_tJ2],
_jP2 = _fP2[_tJ2 + 1];
var _kP2 = _fP2[_tJ2 + 2],
_lP2 = _fP2[_tJ2 + 3];
var _mP2 = _dP2 * (_lP2 - _cP2) - _eP2 * (_kP2 - _bP2) > 0;
if (_dP2 * (_jP2 - _cP2) - _eP2 * (_iP2 - _bP2) > 0) {
if (_mP2) {
_Kr1.push(_kP2);
_Kr1.push(_lP2);
continue;
}
var _6T1 = _lP2 - _jP2,
_CS1 = _kP2 - _iP2;
var _nP2 = (_CS1 * (_aP2 - _jP2) - _6T1 * (_9P2 - _iP2)) / (_6T1 * (_bP2 - _9P2) - _CS1 * (_cP2 - _aP2));
_Kr1.push(_9P2 + (_bP2 - _9P2) * _nP2);
_Kr1.push(_aP2 + (_cP2 - _aP2) * _nP2);
} else if (_mP2) {
var _6T1 = _lP2 - _jP2,
_CS1 = _kP2 - _iP2;
var _nP2 = (_CS1 * (_aP2 - _jP2) - _6T1 * (_9P2 - _iP2)) / (_6T1 * (_bP2 - _9P2) - _CS1 * (_cP2 - _aP2));
_Kr1.push(_9P2 + (_bP2 - _9P2) * _nP2);
_Kr1.push(_aP2 + (_cP2 - _aP2) * _nP2);
_Kr1.push(_kP2);
_Kr1.push(_lP2);
}
_6P2 = !0;
}
if (_hP2 == _Kr1.length) {
_5P2.length = 0;
return !0;
}
_Kr1.push(_Kr1[0]);
_Kr1.push(_Kr1[1]);
if (_X9 == _8P2) break;
var _Et1 = _Kr1;
_Kr1 = _Ir1;
_Kr1.length = 0;
_Ir1 = _Et1;
}
if (_5P2 != _Kr1) {
_5P2.length = 0;
for (var _X9 = 0, _W11 = _Kr1.length - 2; _X9 < _W11; _X9++) _5P2[_X9] = _Kr1[_X9];
} else _5P2.length = _5P2.length - 2;
return _6P2;
};
_E41._OO2 = function (_VW1) {
var vertices = _VW1;
var _oP2 = _VW1.length;
var _KV1 = vertices[_oP2 - 2] * vertices[1] - vertices[0] * vertices[_oP2 - 1],
_pP2 = 0,
_qP2 = 0,
_rP2 = 0,
_sP2 = 0;
for (var _X9 = 0, _W11 = _oP2 - 3; _X9 < _W11; _X9 += 2) {
_pP2 = vertices[_X9];
_qP2 = vertices[_X9 + 1];
_rP2 = vertices[_X9 + 2];
_sP2 = vertices[_X9 + 3];
_KV1 += _pP2 * _sP2 - _rP2 * _qP2;
}
if (_KV1 < 0) return;
for (var _X9 = 0, _tP2 = _oP2 - 2, _W11 = _oP2 >> 1; _X9 < _W11; _X9 += 2) {
var x = vertices[_X9],
y = vertices[_X9 + 1];
var _6Z1 = _tP2 - _X9;
vertices[_X9] = vertices[_6Z1];
vertices[_X9 + 1] = vertices[_6Z1 + 1];
vertices[_6Z1] = x;
vertices[_6Z1 + 1] = y;
}
};
return _E41;
})();
spine._E41 = _E41;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _uP2 = (function () {
function _uP2() {
this.bones = new Array();
this.slots = new Array();
this.skins = new Array();
this.events = new Array();
this.animations = new Array();
this._wI2 = new Array();
this._JI2 = new Array();
this._RI2 = new Array();
this._Pz1 = 0;
}
_uP2.prototype._9M2 = function (_4O2) {
if (_4O2 == null) throw new Error("boneName cannot be null.");
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) {
var bone = bones[_X9];
if (bone.name == _4O2) return bone;
}
return null;
};
_uP2.prototype._5O2 = function (_4O2) {
if (_4O2 == null) throw new Error("boneName cannot be null.");
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) if (bones[_X9].name == _4O2) return _X9;
return -1;
};
_uP2.prototype._111 = function (_6O2) {
if (_6O2 == null) throw new Error("slotName cannot be null.");
var slots = this.slots;
for (var _X9 = 0, _W11 = slots.length; _X9 < _W11; _X9++) {
var slot = slots[_X9];
if (slot.name == _6O2) return slot;
}
return null;
};
_uP2.prototype._411 = function (_6O2) {
if (_6O2 == null) throw new Error("slotName cannot be null.");
var slots = this.slots;
for (var _X9 = 0, _W11 = slots.length; _X9 < _W11; _X9++) if (slots[_X9].name == _6O2) return _X9;
return -1;
};
_uP2.prototype._8O2 = function (_7O2) {
if (_7O2 == null) throw new Error("skinName cannot be null.");
var skins = this.skins;
for (var _X9 = 0, _W11 = skins.length; _X9 < _W11; _X9++) {
var skin = skins[_X9];
if (skin.name == _7O2) return skin;
}
return null;
};
_uP2.prototype._vP2 = function (_wP2) {
if (_wP2 == null) throw new Error("eventDataName cannot be null.");
var events = this.events;
for (var _X9 = 0, _W11 = events.length; _X9 < _W11; _X9++) {
var _xP2 = events[_X9];
if (_xP2.name == _wP2) return _xP2;
}
return null;
};
_uP2.prototype._T01 = function (__J2) {
if (__J2 == null) throw new Error("animationName cannot be null.");
var animations = this.animations;
for (var _X9 = 0, _W11 = animations.length; _X9 < _W11; _X9++) {
var _K01 = animations[_X9];
if (_K01.name == __J2) return _K01;
}
return null;
};
_uP2.prototype._eO2 = function (_fO2) {
if (_fO2 == null) throw new Error("constraintName cannot be null.");
var _wI2 = this._wI2;
for (var _X9 = 0, _W11 = _wI2.length; _X9 < _W11; _X9++) {
var _vI2 = _wI2[_X9];
if (_vI2.name == _fO2) return _vI2;
}
return null;
};
_uP2.prototype._gO2 = function (_fO2) {
if (_fO2 == null) throw new Error("constraintName cannot be null.");
var _JI2 = this._JI2;
for (var _X9 = 0, _W11 = _JI2.length; _X9 < _W11; _X9++) {
var _vI2 = _JI2[_X9];
if (_vI2.name == _fO2) return _vI2;
}
return null;
};
_uP2.prototype._hO2 = function (_fO2) {
if (_fO2 == null) throw new Error("constraintName cannot be null.");
var _RI2 = this._RI2;
for (var _X9 = 0, _W11 = _RI2.length; _X9 < _W11; _X9++) {
var _vI2 = _RI2[_X9];
if (_vI2.name == _fO2) return _vI2;
}
return null;
};
_uP2.prototype._yP2 = function (_zP2) {
if (_zP2 == null) throw new Error("pathConstraintName cannot be null.");
var _RI2 = this._RI2;
for (var _X9 = 0, _W11 = _RI2.length; _X9 < _W11; _X9++) if (_RI2[_X9].name == _zP2) return _X9;
return -1;
};
return _uP2;
})();
spine._uP2 = _uP2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _A31 = (function () {
function _A31(_AP2) {
this.scale = 1;
this._BP2 = new Array();
this._AP2 = _AP2;
}
_A31.prototype._C31 = function (_0d1) {
var scale = this.scale;
var _0K2 = new spine._uP2();
var _v01 = typeof _0d1 === "string" ? JSON.parse(_0d1) : _0d1;
var _CP2 = _v01.skeleton;
if (_CP2 != null) {
_0K2.hash = _CP2.hash;
_0K2.version = _CP2.spine;
_0K2.width = _CP2.width;
_0K2.height = _CP2.height;
_0K2._Pz1 = _CP2._Pz1;
_0K2._DP2 = _CP2.images;
}
if (_v01.bones) {
for (var _X9 = 0; _X9 < _v01.bones.length; _X9++) {
var _EP2 = _v01.bones[_X9];
var _FP2 = null;
var _GP2 = this._HP2(_EP2, "parent", null);
if (_GP2 != null) {
_FP2 = _0K2._9M2(_GP2);
if (_FP2 == null) throw new Error("Parent bone not found: " + _GP2);
}
var data = new spine._6M2(_0K2.bones.length, _EP2.name, _FP2);
data.length = this._HP2(_EP2, "length", 0) * scale;
data.x = this._HP2(_EP2, "x", 0) * scale;
data.y = this._HP2(_EP2, "y", 0) * scale;
data.rotation = this._HP2(_EP2, "rotation", 0);
data.scaleX = this._HP2(_EP2, "scaleX", 1);
data.scaleY = this._HP2(_EP2, "scaleY", 1);
data.shearX = this._HP2(_EP2, "shearX", 0);
data.shearY = this._HP2(_EP2, "shearY", 0);
data._AL2 = _A31._IP2(this._HP2(_EP2, "transform", "normal"));
_0K2.bones.push(data);
}
}
if (_v01.slots) {
for (var _X9 = 0; _X9 < _v01.slots.length; _X9++) {
var _JP2 = _v01.slots[_X9];
var _6O2 = _JP2.name;
var _4O2 = _JP2.bone;
var _HN2 = _0K2._9M2(_4O2);
if (_HN2 == null) throw new Error("Slot bone not found: " + _4O2);
var data = new spine._KP2(_0K2.slots.length, _6O2, _HN2);
var color = this._HP2(_JP2, "color", null);
if (color != null) data.color._LP2(color);
var _wH2 = this._HP2(_JP2, "dark", null);
if (_wH2 != null) {
data._l51 = new spine._i41(1, 1, 1, 1);
data._l51._LP2(_wH2);
}
data._EH2 = this._HP2(_JP2, "attachment", null);
data._r51 = _A31._MP2(this._HP2(_JP2, "blend", "normal"));
_0K2.slots.push(data);
}
}
if (_v01.ik) {
for (var _X9 = 0; _X9 < _v01.ik.length; _X9++) {
var _NP2 = _v01.ik[_X9];
var data = new spine._BM2(_NP2.name);
data._bM2 = this._HP2(_NP2, "order", 0);
for (var _i21 = 0; _i21 < _NP2.bones.length; _i21++) {
var _4O2 = _NP2.bones[_i21];
var bone = _0K2._9M2(_4O2);
if (bone == null) throw new Error("IK bone not found: " + _4O2);
data.bones.push(bone);
}
var _OP2 = _NP2.target;
data.target = _0K2._9M2(_OP2);
if (data.target == null) throw new Error("IK target bone not found: " + _OP2);
data.mix = this._HP2(_NP2, "mix", 1);
data._qI2 = this._HP2(_NP2, "bendPositive", !0) ? 1 : -1;
data.compress = this._HP2(_NP2, "compress", !1);
data._6x1 = this._HP2(_NP2, "stretch", !1);
data._dM2 = this._HP2(_NP2, "uniform", !1);
_0K2._wI2.push(data);
}
}
if (_v01.transform) {
for (var _X9 = 0; _X9 < _v01.transform.length; _X9++) {
var _NP2 = _v01.transform[_X9];
var data = new spine._PP2(_NP2.name);
data._bM2 = this._HP2(_NP2, "order", 0);
for (var _i21 = 0; _i21 < _NP2.bones.length; _i21++) {
var _4O2 = _NP2.bones[_i21];
var bone = _0K2._9M2(_4O2);
if (bone == null) throw new Error("Transform constraint bone not found: " + _4O2);
data.bones.push(bone);
}
var _OP2 = _NP2.target;
data.target = _0K2._9M2(_OP2);
if (data.target == null) throw new Error("Transform constraint target bone not found: " + _OP2);
data._0M2 = this._HP2(_NP2, "local", !1);
data._QP2 = this._HP2(_NP2, "relative", !1);
data._VM2 = this._HP2(_NP2, "rotation", 0);
data._RP2 = this._HP2(_NP2, "x", 0) * scale;
data._SP2 = this._HP2(_NP2, "y", 0) * scale;
data._TP2 = this._HP2(_NP2, "scaleX", 0);
data._UP2 = this._HP2(_NP2, "scaleY", 0);
data._VP2 = this._HP2(_NP2, "shearY", 0);
data.rotateMix = this._HP2(_NP2, "rotateMix", 1);
data._DI2 = this._HP2(_NP2, "translateMix", 1);
data.scaleMix = this._HP2(_NP2, "scaleMix", 1);
data._EI2 = this._HP2(_NP2, "shearMix", 1);
_0K2._JI2.push(data);
}
}
if (_v01.path) {
for (var _X9 = 0; _X9 < _v01.path.length; _X9++) {
var _NP2 = _v01.path[_X9];
var data = new spine._tN2(_NP2.name);
data._bM2 = this._HP2(_NP2, "order", 0);
for (var _i21 = 0; _i21 < _NP2.bones.length; _i21++) {
var _4O2 = _NP2.bones[_i21];
var bone = _0K2._9M2(_4O2);
if (bone == null) throw new Error("Transform constraint bone not found: " + _4O2);
data.bones.push(bone);
}
var _OP2 = _NP2.target;
data.target = _0K2._111(_OP2);
if (data.target == null) throw new Error("Path target slot not found: " + _OP2);
data._RM2 = _A31._WP2(this._HP2(_NP2, "positionMode", "percent"));
data.spacingMode = _A31._XP2(this._HP2(_NP2, "spacingMode", "length"));
data.rotateMode = _A31._YP2(this._HP2(_NP2, "rotateMode", "tangent"));
data._VM2 = this._HP2(_NP2, "rotation", 0);
data.position = this._HP2(_NP2, "position", 0);
if (data._RM2 == spine._SM2.Fixed) data.position *= scale;
data.spacing = this._HP2(_NP2, "spacing", 0);
if (data.spacingMode == spine._GM2.Length || data.spacingMode == spine._GM2.Fixed) data.spacing *= scale;
data.rotateMix = this._HP2(_NP2, "rotateMix", 1);
data._DI2 = this._HP2(_NP2, "translateMix", 1);
_0K2._RI2.push(data);
}
}
if (_v01.skins) {
for (var _7O2 in _v01.skins) {
var _ZP2 = _v01.skins[_7O2];
var skin = new spine.__P2(_7O2);
for (var _6O2 in _ZP2) {
var _311 = _0K2._411(_6O2);
if (_311 == -1) throw new Error("Slot not found: " + _6O2);
var _JP2 = _ZP2[_6O2];
for (var _0Q2 in _JP2) {
var attachment = this._1Q2(_JP2[_0Q2], skin, _311, _0Q2, _0K2);
if (attachment != null) skin._2Q2(_311, _0Q2, attachment);
}
}
_0K2.skins.push(skin);
if (skin.name == "default") _0K2._W01 = skin;
}
}
for (var _X9 = 0, _W11 = this._BP2.length; _X9 < _W11; _X9++) {
var _3Q2 = this._BP2[_X9];
var skin = _3Q2.skin == null ? _0K2._W01 : _0K2._8O2(_3Q2.skin);
if (skin == null) throw new Error("Skin not found: " + _3Q2.skin);
var _4Q2 = skin._611(_3Q2._311, _3Q2.parent);
if (_4Q2 == null) throw new Error("Parent mesh not found: " + _3Q2.parent);
_3Q2._B41._5Q2(_4Q2);
_3Q2._B41._6Q2();
}
this._BP2.length = 0;
if (_v01.events) {
for (var _7Q2 in _v01.events) {
var _8Q2 = _v01.events[_7Q2];
var data = new spine._7M2(_7Q2);
data._l01 = this._HP2(_8Q2, "int", 0);
data._m01 = this._HP2(_8Q2, "float", 0);
data._n01 = this._HP2(_8Q2, "string", "");
data._9Q2 = this._HP2(_8Q2, "audio", null);
if (data._9Q2 != null) {
data.volume = this._HP2(_8Q2, "volume", 1);
data._a12 = this._HP2(_8Q2, "balance", 0);
}
_0K2.events.push(data);
}
}
if (_v01.animations) {
for (var __J2 in _v01.animations) {
var _aQ2 = _v01.animations[__J2];
this._bQ2(_aQ2, __J2, _0K2);
}
}
return _0K2;
};
_A31.prototype._1Q2 = function (map, skin, _311, name, _0K2) {
var scale = this.scale;
name = this._HP2(map, "name", name);
var type = this._HP2(map, "type", "region");
switch (type) {
case "region": {
var path = this._HP2(map, "path", name);
var _t41 = this._AP2._8L2(skin, name, path);
if (_t41 == null) return null;
_t41.path = path;
_t41.x = this._HP2(map, "x", 0) * scale;
_t41.y = this._HP2(map, "y", 0) * scale;
_t41.scaleX = this._HP2(map, "scaleX", 1);
_t41.scaleY = this._HP2(map, "scaleY", 1);
_t41.rotation = this._HP2(map, "rotation", 0);
_t41.width = map.width * scale;
_t41.height = map.height * scale;
var color = this._HP2(map, "color", null);
if (color != null) _t41.color._LP2(color);
_t41._cQ2();
return _t41;
}
case "boundingbox": {
var _dQ2 = this._AP2._cL2(skin, name);
if (_dQ2 == null) return null;
this._eQ2(map, _dQ2, map.vertexCount << 1);
var color = this._HP2(map, "color", null);
if (color != null) _dQ2.color._LP2(color);
return _dQ2;
}
case "mesh":
case "linkedmesh": {
var path = this._HP2(map, "path", name);
var _B41 = this._AP2._bL2(skin, name, path);
if (_B41 == null) return null;
_B41.path = path;
var color = this._HP2(map, "color", null);
if (color != null) _B41.color._LP2(color);
var _fQ2 = this._HP2(map, "parent", null);
if (_fQ2 != null) {
_B41._gQ2 = this._HP2(map, "deform", !0);
this._BP2.push(new LinkedMesh(_B41, this._HP2(map, "skin", null), _311, _fQ2));
return _B41;
}
var uvs = map.uvs;
this._eQ2(map, _B41, uvs.length);
_B41.triangles = map.triangles;
_B41._hQ2 = uvs;
_B41._6Q2();
_B41._iQ2 = this._HP2(map, "hull", 0) * 2;
return _B41;
}
case "path": {
var path = this._AP2._dL2(skin, name);
if (path == null) return null;
path._B2 = this._HP2(map, "closed", !1);
path._7N2 = this._HP2(map, "constantSpeed", !0);
var vertexCount = map.vertexCount;
this._eQ2(map, path, vertexCount << 1);
var lengths = spine._AG2._jQ2(vertexCount / 3, 0);
for (var _X9 = 0; _X9 < map.lengths.length; _X9++) lengths[_X9] = map.lengths[_X9] * scale;
path.lengths = lengths;
var color = this._HP2(map, "color", null);
if (color != null) path.color._LP2(color);
return path;
}
case "point": {
var _rY1 = this._AP2._fL2(skin, name);
if (_rY1 == null) return null;
_rY1.x = this._HP2(map, "x", 0) * scale;
_rY1.y = this._HP2(map, "y", 0) * scale;
_rY1.rotation = this._HP2(map, "rotation", 0);
var color = this._HP2(map, "color", null);
if (color != null) _rY1.color._LP2(color);
return _rY1;
}
case "clipping": {
var clip = this._AP2._hL2(skin, name);
if (clip == null) return null;
var end = this._HP2(map, "end", null);
if (end != null) {
var slot = _0K2._111(end);
if (slot == null) throw new Error("Clipping end slot not found: " + end);
clip._TO2 = slot;
}
var vertexCount = map.vertexCount;
this._eQ2(map, clip, vertexCount << 1);
var color = this._HP2(map, "color", null);
if (color != null) clip.color._LP2(color);
return clip;
}
}
return null;
};
_A31.prototype._eQ2 = function (map, attachment, _3N2) {
var scale = this.scale;
attachment._C41 = _3N2;
var vertices = map.vertices;
if (_3N2 == vertices.length) {
var _kQ2 = spine._AG2._lQ2(vertices);
if (scale != 1) {
for (var _X9 = 0, _W11 = vertices.length; _X9 < _W11; _X9++) _kQ2[_X9] *= scale;
}
attachment.vertices = _kQ2;
return;
}
var _mQ2 = new Array();
var bones = new Array();
for (var _X9 = 0, _W11 = vertices.length; _X9 < _W11; ) {
var _JM2 = vertices[_X9++];
bones.push(_JM2);
for (var _iO2 = _X9 + _JM2 * 4; _X9 < _iO2; _X9 += 4) {
bones.push(vertices[_X9]);
_mQ2.push(vertices[_X9 + 1] * scale);
_mQ2.push(vertices[_X9 + 2] * scale);
_mQ2.push(vertices[_X9 + 3]);
}
}
attachment.bones = bones;
attachment.vertices = spine._AG2._lQ2(_mQ2);
};
_A31.prototype._bQ2 = function (map, name, _0K2) {
var scale = this.scale;
var _x11 = new Array();
var duration = 0;
if (map.slots) {
for (var _6O2 in map.slots) {
var _JP2 = map.slots[_6O2];
var _311 = _0K2._411(_6O2);
if (_311 == -1) throw new Error("Slot not found: " + _6O2);
for (var _nQ2 in _JP2) {
var _oQ2 = _JP2[_nQ2];
if (_nQ2 == "attachment") {
var _cr1 = new spine._CH2(_oQ2.length);
_cr1._311 = _311;
var _FG2 = 0;
for (var _X9 = 0; _X9 < _oQ2.length; _X9++) {
var _pQ2 = _oQ2[_X9];
_cr1._6H2(_FG2++, _pQ2.time, _pQ2.name);
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[_cr1._DG2() - 1]);
} else if (_nQ2 == "color") {
var _cr1 = new spine._lH2(_oQ2.length);
_cr1._311 = _311;
var _FG2 = 0;
for (var _X9 = 0; _X9 < _oQ2.length; _X9++) {
var _pQ2 = _oQ2[_X9];
var color = new spine._i41();
color._LP2(_pQ2.color);
_cr1._6H2(_FG2, _pQ2.time, color._b21, color._k41, color._e21, color._l41);
this._qQ2(_pQ2, _cr1, _FG2);
_FG2++;
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[(_cr1._DG2() - 1) * spine._lH2._aH2]);
} else if (_nQ2 == "twoColor") {
var _cr1 = new spine._sH2(_oQ2.length);
_cr1._311 = _311;
var _FG2 = 0;
for (var _X9 = 0; _X9 < _oQ2.length; _X9++) {
var _pQ2 = _oQ2[_X9];
var _vH2 = new spine._i41();
var _wH2 = new spine._i41();
_vH2._LP2(_pQ2._vH2);
_wH2._LP2(_pQ2._wH2);
_cr1._6H2(_FG2, _pQ2.time, _vH2._b21, _vH2._k41, _vH2._e21, _vH2._l41, _wH2._b21, _wH2._k41, _wH2._e21);
this._qQ2(_pQ2, _cr1, _FG2);
_FG2++;
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[(_cr1._DG2() - 1) * spine._sH2._aH2]);
} else throw new Error("Invalid timeline type for a slot: " + _nQ2 + " (" + _6O2 + ")");
}
}
}
if (map.bones) {
for (var _4O2 in map.bones) {
var _EP2 = map.bones[_4O2];
var _5H2 = _0K2._5O2(_4O2);
if (_5H2 == -1) throw new Error("Bone not found: " + _4O2);
for (var _nQ2 in _EP2) {
var _oQ2 = _EP2[_nQ2];
if (_nQ2 === "rotate") {
var _cr1 = new spine._1H2(_oQ2.length);
_cr1._5H2 = _5H2;
var _FG2 = 0;
for (var _X9 = 0; _X9 < _oQ2.length; _X9++) {
var _pQ2 = _oQ2[_X9];
_cr1._6H2(_FG2, _pQ2.time, _pQ2.angle);
this._qQ2(_pQ2, _cr1, _FG2);
_FG2++;
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[(_cr1._DG2() - 1) * spine._1H2._aH2]);
} else if (_nQ2 === "translate" || _nQ2 === "scale" || _nQ2 === "shear") {
var _cr1 = null;
var _rQ2 = 1;
if (_nQ2 === "scale") _cr1 = new spine._iH2(_oQ2.length);
else if (_nQ2 === "shear") _cr1 = new spine._kH2(_oQ2.length);
else {
_cr1 = new spine._fH2(_oQ2.length);
_rQ2 = scale;
}
_cr1._5H2 = _5H2;
var _FG2 = 0;
for (var _X9 = 0; _X9 < _oQ2.length; _X9++) {
var _pQ2 = _oQ2[_X9];
var x = this._HP2(_pQ2, "x", 0),
y = this._HP2(_pQ2, "y", 0);
_cr1._6H2(_FG2, _pQ2.time, x * _rQ2, y * _rQ2);
this._qQ2(_pQ2, _cr1, _FG2);
_FG2++;
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[(_cr1._DG2() - 1) * spine._fH2._aH2]);
} else throw new Error("Invalid timeline type for a bone: " + _nQ2 + " (" + _4O2 + ")");
}
}
}
if (map.ik) {
for (var _fO2 in map.ik) {
var _NP2 = map.ik[_fO2];
var _vI2 = _0K2._eO2(_fO2);
var _cr1 = new spine._oI2(_NP2.length);
_cr1._pI2 = _0K2._wI2.indexOf(_vI2);
var _FG2 = 0;
for (var _X9 = 0; _X9 < _NP2.length; _X9++) {
var _pQ2 = _NP2[_X9];
_cr1._6H2(_FG2, _pQ2.time, this._HP2(_pQ2, "mix", 1), this._HP2(_pQ2, "bendPositive", !0) ? 1 : -1, this._HP2(_pQ2, "compress", !1), this._HP2(_pQ2, "stretch", !1));
this._qQ2(_pQ2, _cr1, _FG2);
_FG2++;
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[(_cr1._DG2() - 1) * spine._oI2._aH2]);
}
}
if (map.transform) {
for (var _fO2 in map.transform) {
var _NP2 = map.transform[_fO2];
var _vI2 = _0K2._gO2(_fO2);
var _cr1 = new spine._BI2(_NP2.length);
_cr1._CI2 = _0K2._JI2.indexOf(_vI2);
var _FG2 = 0;
for (var _X9 = 0; _X9 < _NP2.length; _X9++) {
var _pQ2 = _NP2[_X9];
_cr1._6H2(_FG2, _pQ2.time, this._HP2(_pQ2, "rotateMix", 1), this._HP2(_pQ2, "translateMix", 1), this._HP2(_pQ2, "scaleMix", 1), this._HP2(_pQ2, "shearMix", 1));
this._qQ2(_pQ2, _cr1, _FG2);
_FG2++;
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[(_cr1._DG2() - 1) * spine._BI2._aH2]);
}
}
if (map.paths) {
for (var _fO2 in map.paths) {
var _NP2 = map.paths[_fO2];
var index = _0K2._yP2(_fO2);
if (index == -1) throw new Error("Path constraint not found: " + _fO2);
var data = _0K2._RI2[index];
for (var _nQ2 in _NP2) {
var _oQ2 = _NP2[_nQ2];
if (_nQ2 === "position" || _nQ2 === "spacing") {
var _cr1 = null;
var _rQ2 = 1;
if (_nQ2 === "spacing") {
_cr1 = new spine._TI2(_oQ2.length);
if (data.spacingMode == spine._GM2.Length || data.spacingMode == spine._GM2.Fixed) _rQ2 = scale;
} else {
_cr1 = new spine._OI2(_oQ2.length);
if (data._RM2 == spine._SM2.Fixed) _rQ2 = scale;
}
_cr1._PI2 = index;
var _FG2 = 0;
for (var _X9 = 0; _X9 < _oQ2.length; _X9++) {
var _pQ2 = _oQ2[_X9];
_cr1._6H2(_FG2, _pQ2.time, this._HP2(_pQ2, _nQ2, 0) * _rQ2);
this._qQ2(_pQ2, _cr1, _FG2);
_FG2++;
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[(_cr1._DG2() - 1) * spine._OI2._aH2]);
} else if (_nQ2 === "mix") {
var _cr1 = new spine._UI2(_oQ2.length);
_cr1._PI2 = index;
var _FG2 = 0;
for (var _X9 = 0; _X9 < _oQ2.length; _X9++) {
var _pQ2 = _oQ2[_X9];
_cr1._6H2(_FG2, _pQ2.time, this._HP2(_pQ2, "rotateMix", 1), this._HP2(_pQ2, "translateMix", 1));
this._qQ2(_pQ2, _cr1, _FG2);
_FG2++;
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[(_cr1._DG2() - 1) * spine._UI2._aH2]);
}
}
}
}
if (map.deform) {
for (var _sQ2 in map.deform) {
var _tQ2 = map.deform[_sQ2];
var skin = _0K2._8O2(_sQ2);
if (skin == null) throw new Error("Skin not found: " + _sQ2);
for (var _6O2 in _tQ2) {
var _JP2 = _tQ2[_6O2];
var _311 = _0K2._411(_6O2);
if (_311 == -1) throw new Error("Slot not found: " + _JP2.name);
for (var _nQ2 in _JP2) {
var _oQ2 = _JP2[_nQ2];
var attachment = skin._611(_311, _nQ2);
if (attachment == null) throw new Error("Deform attachment not found: " + _oQ2.name);
var _uQ2 = attachment.bones != null;
var vertices = attachment.vertices;
var _vQ2 = _uQ2 ? (vertices.length / 3) * 2 : vertices.length;
var _cr1 = new spine._IH2(_oQ2.length);
_cr1._311 = _311;
_cr1.attachment = attachment;
var _FG2 = 0;
for (var _i21 = 0; _i21 < _oQ2.length; _i21++) {
var _pQ2 = _oQ2[_i21];
var deform = void 0;
var _wQ2 = this._HP2(_pQ2, "vertices", null);
if (_wQ2 == null) deform = _uQ2 ? spine._AG2._BG2(_vQ2) : vertices;
else {
deform = spine._AG2._BG2(_vQ2);
var start = this._HP2(_pQ2, "offset", 0);
spine._AG2._YH2(_wQ2, 0, deform, start, _wQ2.length);
if (scale != 1) {
for (var _X9 = start, _W11 = _X9 + _wQ2.length; _X9 < _W11; _X9++) deform[_X9] *= scale;
}
if (!_uQ2) {
for (var _X9 = 0; _X9 < _vQ2; _X9++) deform[_X9] += vertices[_X9];
}
}
_cr1._6H2(_FG2, _pQ2.time, deform);
this._qQ2(_pQ2, _cr1, _FG2);
_FG2++;
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[_cr1._DG2() - 1]);
}
}
}
}
var _xQ2 = map.drawOrder;
if (_xQ2 == null) _xQ2 = map._yQ2;
if (_xQ2 != null) {
var _cr1 = new spine._lI2(_xQ2.length);
var _lO2 = _0K2.slots.length;
var _FG2 = 0;
for (var _i21 = 0; _i21 < _xQ2.length; _i21++) {
var _zQ2 = _xQ2[_i21];
var drawOrder = null;
var _AQ2 = this._HP2(_zQ2, "offsets", null);
if (_AQ2 != null) {
drawOrder = spine._AG2._jQ2(_lO2, -1);
var _BQ2 = spine._AG2._jQ2(_lO2 - _AQ2.length, 0);
var _CQ2 = 0,
_DQ2 = 0;
for (var _X9 = 0; _X9 < _AQ2.length; _X9++) {
var _EQ2 = _AQ2[_X9];
var _311 = _0K2._411(_EQ2.slot);
if (_311 == -1) throw new Error("Slot not found: " + _EQ2.slot);
while (_CQ2 != _311) _BQ2[_DQ2++] = _CQ2++;
drawOrder[_CQ2 + _EQ2.offset] = _CQ2++;
}
while (_CQ2 < _lO2) _BQ2[_DQ2++] = _CQ2++;
for (var _X9 = _lO2 - 1; _X9 >= 0; _X9--) if (drawOrder[_X9] == -1) drawOrder[_X9] = _BQ2[--_DQ2];
}
_cr1._6H2(_FG2++, _zQ2.time, drawOrder);
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[_cr1._DG2() - 1]);
}
if (map.events) {
var _cr1 = new spine._kI2(map.events.length);
var _FG2 = 0;
for (var _X9 = 0; _X9 < map.events.length; _X9++) {
var _8Q2 = map.events[_X9];
var _er1 = _0K2._vP2(_8Q2.name);
if (_er1 == null) throw new Error("Event not found: " + _8Q2.name);
var _FQ2 = new spine._gr1(spine._AG2._GQ2(_8Q2.time), _er1);
_FQ2._l01 = this._HP2(_8Q2, "int", _er1._l01);
_FQ2._m01 = this._HP2(_8Q2, "float", _er1._m01);
_FQ2._n01 = this._HP2(_8Q2, "string", _er1._n01);
if (_FQ2.data._9Q2 != null) {
_FQ2.volume = this._HP2(_8Q2, "volume", 1);
_FQ2._a12 = this._HP2(_8Q2, "balance", 0);
}
_cr1._6H2(_FG2++, _FQ2);
}
_x11.push(_cr1);
duration = Math.max(duration, _cr1.frames[_cr1._DG2() - 1]);
}
if (isNaN(duration)) {
throw new Error("Error while parsing animation, duration is NaN");
}
_0K2.animations.push(new spine._qG2(name, _x11, duration));
};
_A31.prototype._qQ2 = function (map, _cr1, _FG2) {
if (!map.curve) return;
if (map.curve === "stepped") _cr1._GG2(_FG2);
else if (Object.prototype.toString.call(map.curve) === "[object Array]") {
var curve = map.curve;
_cr1._KG2(_FG2, curve[0], curve[1], curve[2], curve[3]);
}
};
_A31.prototype._HP2 = function (map, prop, _HQ2) {
return map[prop] !== undefined ? map[prop] : _HQ2;
};
_A31._MP2 = function (_yp1) {
_yp1 = _yp1.toLowerCase();
if (_yp1 == "normal") return spine._Y41.Normal;
if (_yp1 == "additive") return spine._Y41.Additive;
if (_yp1 == "multiply") return spine._Y41.Multiply;
if (_yp1 == "screen") return spine._Y41.Screen;
throw new Error("Unknown blend mode: " + _yp1);
};
_A31._WP2 = function (_yp1) {
_yp1 = _yp1.toLowerCase();
if (_yp1 == "fixed") return spine._SM2.Fixed;
if (_yp1 == "percent") return spine._SM2.Percent;
throw new Error("Unknown position mode: " + _yp1);
};
_A31._XP2 = function (_yp1) {
_yp1 = _yp1.toLowerCase();
if (_yp1 == "length") return spine._GM2.Length;
if (_yp1 == "fixed") return spine._GM2.Fixed;
if (_yp1 == "percent") return spine._GM2.Percent;
throw new Error("Unknown position mode: " + _yp1);
};
_A31._YP2 = function (_yp1) {
_yp1 = _yp1.toLowerCase();
if (_yp1 == "tangent") return spine._IM2.Tangent;
if (_yp1 == "chain") return spine._IM2.Chain;
if (_yp1 == "chainscale") return spine._IM2.ChainScale;
throw new Error("Unknown rotate mode: " + _yp1);
};
_A31._IP2 = function (_yp1) {
_yp1 = _yp1.toLowerCase();
if (_yp1 == "normal") return spine._BL2.Normal;
if (_yp1 == "onlytranslation") return spine._BL2.OnlyTranslation;
if (_yp1 == "norotationorreflection") return spine._BL2.NoRotationOrReflection;
if (_yp1 == "noscale") return spine._BL2.NoScale;
if (_yp1 == "noscaleorreflection") return spine._BL2.NoScaleOrReflection;
throw new Error("Unknown transform mode: " + _yp1);
};
return _A31;
})();
spine._A31 = _A31;
var LinkedMesh = (function () {
function LinkedMesh(_B41, skin, _311, parent) {
this._B41 = _B41;
this.skin = skin;
this._311 = _311;
this.parent = parent;
}
return LinkedMesh;
})();
})(spine || (spine = {}));
var spine;
(function (spine) {
var __P2 = (function () {
function __P2(name) {
this._CJ2 = new Array();
if (name == null) throw new Error("name cannot be null.");
this.name = name;
}
__P2.prototype._2Q2 = function (_311, name, attachment) {
if (attachment == null) throw new Error("attachment cannot be null.");
var _CJ2 = this._CJ2;
if (_311 >= _CJ2.length) _CJ2.length = _311 + 1;
if (!_CJ2[_311]) _CJ2[_311] = {};
_CJ2[_311][name] = attachment;
};
__P2.prototype._611 = function (_311, name) {
var _IQ2 = this._CJ2[_311];
return _IQ2 ? _IQ2[name] : null;
};
__P2.prototype._bO2 = function (skeleton, _JQ2) {
var _311 = 0;
for (var _X9 = 0; _X9 < skeleton.slots.length; _X9++) {
var slot = skeleton.slots[_X9];
var _LH2 = slot._611();
if (_LH2 && _311 < _JQ2._CJ2.length) {
var _IQ2 = _JQ2._CJ2[_311];
for (var key in _IQ2) {
var _KQ2 = _IQ2[key];
if (_LH2 == _KQ2) {
var attachment = this._611(_311, key);
if (attachment != null) slot._211(attachment);
break;
}
}
}
_311++;
}
};
return __P2;
})();
spine.__P2 = __P2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _KN2 = (function () {
function _KN2(data, bone) {
this._PH2 = new Array();
if (data == null) throw new Error("data cannot be null.");
if (bone == null) throw new Error("bone cannot be null.");
this.data = data;
this.bone = bone;
this.color = new spine._i41();
this._l51 = data._l51 == null ? null : new spine._i41();
this._sL2();
}
_KN2.prototype._611 = function () {
return this.attachment;
};
_KN2.prototype._211 = function (attachment) {
if (this.attachment == attachment) return;
this.attachment = attachment;
this._LQ2 = this.bone.skeleton.time;
this._PH2.length = 0;
};
_KN2.prototype._MQ2 = function (time) {
this._LQ2 = this.bone.skeleton.time - time;
};
_KN2.prototype._NQ2 = function () {
return this.bone.skeleton.time - this._LQ2;
};
_KN2.prototype._sL2 = function () {
this.color._nH2(this.data.color);
if (this._l51 != null) this._l51._nH2(this.data._l51);
if (this.data._EH2 == null) this.attachment = null;
else {
this.attachment = null;
this._211(this.bone.skeleton._611(this.data.index, this.data._EH2));
}
};
return _KN2;
})();
spine._KN2 = _KN2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _KP2 = (function () {
function _KP2(index, name, _HN2) {
this.color = new spine._i41(1, 1, 1, 1);
if (index < 0) throw new Error("index must be >= 0.");
if (name == null) throw new Error("name cannot be null.");
if (_HN2 == null) throw new Error("boneData cannot be null.");
this.index = index;
this.name = name;
this._HN2 = _HN2;
}
return _KP2;
})();
spine._KP2 = _KP2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _Kr2 = (function () {
function _Kr2(_N21) {
this._wr2 = _N21;
}
_Kr2.prototype._O21 = function () {
return this._wr2;
};
_Kr2._OQ2 = function (text) {
switch (text.toLowerCase()) {
case "nearest":
return _PQ2.Nearest;
case "linear":
return _PQ2.Linear;
case "mipmap":
return _PQ2.MipMap;
case "mipmapnearestnearest":
return _PQ2.MipMapNearestNearest;
case "mipmaplinearnearest":
return _PQ2.MipMapLinearNearest;
case "mipmapnearestlinear":
return _PQ2.MipMapNearestLinear;
case "mipmaplinearlinear":
return _PQ2.MipMapLinearLinear;
default:
throw new Error("Unknown texture filter " + text);
}
};
_Kr2._QQ2 = function (text) {
switch (text.toLowerCase()) {
case "mirroredtepeat":
return _RQ2.MirroredRepeat;
case "clamptoedge":
return _RQ2.ClampToEdge;
case "repeat":
return _RQ2.Repeat;
default:
throw new Error("Unknown texture wrap " + text);
}
};
return _Kr2;
})();
spine._Kr2 = _Kr2;
var _PQ2;
(function (_PQ2) {
_PQ2[(_PQ2["Nearest"] = 9728)] = "Nearest";
_PQ2[(_PQ2["Linear"] = 9729)] = "Linear";
_PQ2[(_PQ2["MipMap"] = 9987)] = "MipMap";
_PQ2[(_PQ2["MipMapNearestNearest"] = 9984)] = "MipMapNearestNearest";
_PQ2[(_PQ2["MipMapLinearNearest"] = 9985)] = "MipMapLinearNearest";
_PQ2[(_PQ2["MipMapNearestLinear"] = 9986)] = "MipMapNearestLinear";
_PQ2[(_PQ2["MipMapLinearLinear"] = 9987)] = "MipMapLinearLinear";
})((_PQ2 = spine._PQ2 || (spine._PQ2 = {})));
var _RQ2;
(function (_RQ2) {
_RQ2[(_RQ2["MirroredRepeat"] = 33648)] = "MirroredRepeat";
_RQ2[(_RQ2["ClampToEdge"] = 33071)] = "ClampToEdge";
_RQ2[(_RQ2["Repeat"] = 10497)] = "Repeat";
})((_RQ2 = spine._RQ2 || (spine._RQ2 = {})));
var _SQ2 = (function () {
function _SQ2() {
this._P41 = 0;
this._J41 = 0;
this._yZ1 = 0;
this._c61 = 0;
this.width = 0;
this.height = 0;
this.rotate = !1;
this._RP2 = 0;
this._SP2 = 0;
this._TQ2 = 0;
this._UQ2 = 0;
}
return _SQ2;
})();
spine._SQ2 = _SQ2;
var _UK2 = (function (_2H2) {
_lG2(_UK2, _2H2);
function _UK2() {
return (_2H2 !== null && _2H2.apply(this, arguments)) || this;
}
_UK2.prototype._P21 = function (_Q21, _R21) {};
_UK2.prototype._S21 = function (_T21, _U21) {};
_UK2.prototype.dispose = function () {};
return _UK2;
})(spine._Kr2);
spine._UK2 = _UK2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _z31 = (function () {
function _z31(_VQ2, _EK2) {
this._E31 = new Array();
this._WQ2 = new Array();
this.load(_VQ2, _EK2);
}
_z31.prototype.load = function (_VQ2, _EK2) {
if (_VQ2 === null || _VQ2 === undefined) return;
if (_EK2 === null || _EK2 === undefined) return;
var _XQ2 = new _YQ2(_VQ2);
var _ZQ2 = new Array(4);
var _y41 = null;
while (!0) {
var __p1 = _XQ2.__Q2();
if (__p1 == null) break;
__p1 = __p1.trim();
if (__p1.length == 0) _y41 = null;
else if (!_y41) {
_y41 = new _0R2();
_y41.name = __p1;
if (_XQ2._1R2(_ZQ2) == 2) {
_y41.width = parseInt(_ZQ2[0]);
_y41.height = parseInt(_ZQ2[1]);
_XQ2._1R2(_ZQ2);
}
_XQ2._1R2(_ZQ2);
_y41._Q21 = spine._Kr2._OQ2(_ZQ2[0]);
_y41._R21 = spine._Kr2._OQ2(_ZQ2[1]);
var _tI = _XQ2._2R2();
_y41._T21 = spine._RQ2.ClampToEdge;
_y41._U21 = spine._RQ2.ClampToEdge;
if (_tI == "x") _y41._T21 = spine._RQ2.Repeat;
else if (_tI == "y") _y41._U21 = spine._RQ2.Repeat;
else if (_tI == "xy") _y41._T21 = _y41._U21 = spine._RQ2.Repeat;
_y41._f31 = _EK2(__p1);
_y41._f31._P21(_y41._Q21, _y41._R21);
_y41._f31._S21(_y41._T21, _y41._U21);
_y41.width = _y41._f31._O21().width;
_y41.height = _y41._f31._O21().height;
this._E31.push(_y41);
} else {
var _t41 = new _3R2();
_t41.name = __p1;
_t41._y41 = _y41;
_t41.rotate = _XQ2._2R2() == "true";
_XQ2._1R2(_ZQ2);
var x = parseInt(_ZQ2[0]);
var y = parseInt(_ZQ2[1]);
_XQ2._1R2(_ZQ2);
var width = parseInt(_ZQ2[0]);
var height = parseInt(_ZQ2[1]);
_t41._P41 = x / _y41.width;
_t41._J41 = y / _y41.height;
if (_t41.rotate) {
_t41._yZ1 = (x + height) / _y41.width;
_t41._c61 = (y + width) / _y41.height;
} else {
_t41._yZ1 = (x + width) / _y41.width;
_t41._c61 = (y + height) / _y41.height;
}
_t41.x = x;
_t41.y = y;
_t41.width = Math.abs(width);
_t41.height = Math.abs(height);
if (_XQ2._1R2(_ZQ2) == 4) {
if (_XQ2._1R2(_ZQ2) == 4) {
_XQ2._1R2(_ZQ2);
}
}
_t41._TQ2 = parseInt(_ZQ2[0]);
_t41._UQ2 = parseInt(_ZQ2[1]);
_XQ2._1R2(_ZQ2);
_t41._RP2 = parseInt(_ZQ2[0]);
_t41._SP2 = parseInt(_ZQ2[1]);
_t41.index = parseInt(_XQ2._2R2());
_t41._f31 = _y41._f31;
this._WQ2.push(_t41);
}
}
};
_z31.prototype._9L2 = function (name) {
for (var _X9 = 0; _X9 < this._WQ2.length; _X9++) {
if (this._WQ2[_X9].name == name) {
return this._WQ2[_X9];
}
}
return null;
};
_z31.prototype.dispose = function () {
for (var _X9 = 0; _X9 < this._E31.length; _X9++) {
this._E31[_X9]._f31.dispose();
}
};
return _z31;
})();
spine._z31 = _z31;
var _YQ2 = (function () {
function _YQ2(text) {
this.index = 0;
var _Oo1 = text.replace("\r\n", "\n");
_Oo1 = _Oo1.replace("\r", "\n");
this._yq1 = text.split("\n");
}
_YQ2.prototype.__Q2 = function () {
if (this.index >= this._yq1.length) return null;
return this._yq1[this.index++];
};
_YQ2.prototype._2R2 = function () {
var __p1 = this.__Q2();
var _4R2 = __p1.indexOf(":");
if (_4R2 == -1) throw new Error("Invalid line: " + __p1);
return __p1.substring(_4R2 + 1).trim();
};
_YQ2.prototype._1R2 = function (_ZQ2) {
var __p1 = this.__Q2();
var _4R2 = __p1.indexOf(":");
if (_4R2 == -1) throw new Error("Invalid line: " + __p1);
var _X9 = 0,
_5R2 = _4R2 + 1;
for (; _X9 < 3; _X9++) {
var _6R2 = __p1.indexOf(",", _5R2);
if (_6R2 == -1) break;
_ZQ2[_X9] = __p1.substr(_5R2, _6R2 - _5R2).trim();
_5R2 = _6R2 + 1;
}
_ZQ2[_X9] = __p1.substring(_5R2).trim();
return _X9 + 1;
};
return _YQ2;
})();
var _0R2 = (function () {
function _0R2() {}
return _0R2;
})();
spine._0R2 = _0R2;
var _3R2 = (function (_2H2) {
_lG2(_3R2, _2H2);
function _3R2() {
return (_2H2 !== null && _2H2.apply(this, arguments)) || this;
}
return _3R2;
})(spine._SQ2);
spine._3R2 = _3R2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _NN2 = (function () {
function _NN2(data, skeleton) {
this.rotateMix = 0;
this._DI2 = 0;
this.scaleMix = 0;
this._EI2 = 0;
this._Et1 = new spine._7R2();
if (data == null) throw new Error("data cannot be null.");
if (skeleton == null) throw new Error("skeleton cannot be null.");
this.data = data;
this.rotateMix = data.rotateMix;
this._DI2 = data._DI2;
this.scaleMix = data.scaleMix;
this._EI2 = data._EI2;
this.bones = new Array();
for (var _X9 = 0; _X9 < data.bones.length; _X9++) this.bones.push(skeleton._9M2(data.bones[_X9].name));
this.target = skeleton._9M2(data.target.name);
}
_NN2.prototype.apply = function () {
this._A11();
};
_NN2.prototype._A11 = function () {
if (this.data._0M2) {
if (this.data._QP2) this._8R2();
else this._9R2();
} else {
if (this.data._QP2) this._aR2();
else this._bR2();
}
};
_NN2.prototype._bR2 = function () {
var rotateMix = this.rotateMix,
_DI2 = this._DI2,
scaleMix = this.scaleMix,
_EI2 = this._EI2;
var target = this.target;
var _wM2 = target._l41,
_cR2 = target._e21,
_dR2 = target._Y9,
_eR2 = target._Ce1;
var _fR2 = _wM2 * _eR2 - _cR2 * _dR2 > 0 ? spine._ZG2._XM2 : -spine._ZG2._XM2;
var _VM2 = this.data._VM2 * _fR2;
var _VP2 = this.data._VP2 * _fR2;
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) {
var bone = bones[_X9];
var _Nc2 = !1;
if (rotateMix != 0) {
var _l41 = bone._l41,
_e21 = bone._e21,
_Y9 = bone._Y9,
_Ce1 = bone._Ce1;
var _b21 = Math.atan2(_dR2, _wM2) - Math.atan2(_Y9, _l41) + _VM2;
if (_b21 > spine._ZG2.PI) _b21 -= spine._ZG2._1N2;
else if (_b21 < -spine._ZG2.PI) _b21 += spine._ZG2._1N2;
_b21 *= rotateMix;
var cos = Math.cos(_b21),
sin = Math.sin(_b21);
bone._l41 = cos * _l41 - sin * _Y9;
bone._e21 = cos * _e21 - sin * _Ce1;
bone._Y9 = sin * _l41 + cos * _Y9;
bone._Ce1 = sin * _e21 + cos * _Ce1;
_Nc2 = !0;
}
if (_DI2 != 0) {
var _Et1 = this._Et1;
target.__L2(_Et1.set(this.data._RP2, this.data._SP2));
bone._pL2 += (_Et1.x - bone._pL2) * _DI2;
bone._qL2 += (_Et1.y - bone._qL2) * _DI2;
_Nc2 = !0;
}
if (scaleMix > 0) {
var _Wo1 = Math.sqrt(bone._l41 * bone._l41 + bone._Y9 * bone._Y9);
var _gR2 = Math.sqrt(_wM2 * _wM2 + _dR2 * _dR2);
if (_Wo1 > 0.00001) _Wo1 = (_Wo1 + (_gR2 - _Wo1 + this.data._TP2) * scaleMix) / _Wo1;
bone._l41 *= _Wo1;
bone._Y9 *= _Wo1;
_Wo1 = Math.sqrt(bone._e21 * bone._e21 + bone._Ce1 * bone._Ce1);
_gR2 = Math.sqrt(_cR2 * _cR2 + _eR2 * _eR2);
if (_Wo1 > 0.00001) _Wo1 = (_Wo1 + (_gR2 - _Wo1 + this.data._UP2) * scaleMix) / _Wo1;
bone._e21 *= _Wo1;
bone._Ce1 *= _Wo1;
_Nc2 = !0;
}
if (_EI2 > 0) {
var _e21 = bone._e21,
_Ce1 = bone._Ce1;
var _a92 = Math.atan2(_Ce1, _e21);
var _b21 = Math.atan2(_eR2, _cR2) - Math.atan2(_dR2, _wM2) - (_a92 - Math.atan2(bone._Y9, bone._l41));
if (_b21 > spine._ZG2.PI) _b21 -= spine._ZG2._1N2;
else if (_b21 < -spine._ZG2.PI) _b21 += spine._ZG2._1N2;
_b21 = _a92 + (_b21 + _VP2) * _EI2;
var _Wo1 = Math.sqrt(_e21 * _e21 + _Ce1 * _Ce1);
bone._e21 = Math.cos(_b21) * _Wo1;
bone._Ce1 = Math.sin(_b21) * _Wo1;
_Nc2 = !0;
}
if (_Nc2) bone._oL2 = !1;
}
};
_NN2.prototype._aR2 = function () {
var rotateMix = this.rotateMix,
_DI2 = this._DI2,
scaleMix = this.scaleMix,
_EI2 = this._EI2;
var target = this.target;
var _wM2 = target._l41,
_cR2 = target._e21,
_dR2 = target._Y9,
_eR2 = target._Ce1;
var _fR2 = _wM2 * _eR2 - _cR2 * _dR2 > 0 ? spine._ZG2._XM2 : -spine._ZG2._XM2;
var _VM2 = this.data._VM2 * _fR2,
_VP2 = this.data._VP2 * _fR2;
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) {
var bone = bones[_X9];
var _Nc2 = !1;
if (rotateMix != 0) {
var _l41 = bone._l41,
_e21 = bone._e21,
_Y9 = bone._Y9,
_Ce1 = bone._Ce1;
var _b21 = Math.atan2(_dR2, _wM2) + _VM2;
if (_b21 > spine._ZG2.PI) _b21 -= spine._ZG2._1N2;
else if (_b21 < -spine._ZG2.PI) _b21 += spine._ZG2._1N2;
_b21 *= rotateMix;
var cos = Math.cos(_b21),
sin = Math.sin(_b21);
bone._l41 = cos * _l41 - sin * _Y9;
bone._e21 = cos * _e21 - sin * _Ce1;
bone._Y9 = sin * _l41 + cos * _Y9;
bone._Ce1 = sin * _e21 + cos * _Ce1;
_Nc2 = !0;
}
if (_DI2 != 0) {
var _Et1 = this._Et1;
target.__L2(_Et1.set(this.data._RP2, this.data._SP2));
bone._pL2 += _Et1.x * _DI2;
bone._qL2 += _Et1.y * _DI2;
_Nc2 = !0;
}
if (scaleMix > 0) {
var _Wo1 = (Math.sqrt(_wM2 * _wM2 + _dR2 * _dR2) - 1 + this.data._TP2) * scaleMix + 1;
bone._l41 *= _Wo1;
bone._Y9 *= _Wo1;
_Wo1 = (Math.sqrt(_cR2 * _cR2 + _eR2 * _eR2) - 1 + this.data._UP2) * scaleMix + 1;
bone._e21 *= _Wo1;
bone._Ce1 *= _Wo1;
_Nc2 = !0;
}
if (_EI2 > 0) {
var _b21 = Math.atan2(_eR2, _cR2) - Math.atan2(_dR2, _wM2);
if (_b21 > spine._ZG2.PI) _b21 -= spine._ZG2._1N2;
else if (_b21 < -spine._ZG2.PI) _b21 += spine._ZG2._1N2;
var _e21 = bone._e21,
_Ce1 = bone._Ce1;
_b21 = Math.atan2(_Ce1, _e21) + (_b21 - spine._ZG2.PI / 2 + _VP2) * _EI2;
var _Wo1 = Math.sqrt(_e21 * _e21 + _Ce1 * _Ce1);
bone._e21 = Math.cos(_b21) * _Wo1;
bone._Ce1 = Math.sin(_b21) * _Wo1;
_Nc2 = !0;
}
if (_Nc2) bone._oL2 = !1;
}
};
_NN2.prototype._9R2 = function () {
var rotateMix = this.rotateMix,
_DI2 = this._DI2,
scaleMix = this.scaleMix,
_EI2 = this._EI2;
var target = this.target;
if (!target._oL2) target._PL2();
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) {
var bone = bones[_X9];
if (!bone._oL2) bone._PL2();
var rotation = bone._jL2;
if (rotateMix != 0) {
var _b21 = target._jL2 - rotation + this.data._VM2;
_b21 -= (16384 - ((16384.499999999996 - _b21 / 360) | 0)) * 360;
rotation += _b21 * rotateMix;
}
var x = bone._7A1,
y = bone._8A1;
if (_DI2 != 0) {
x += (target._7A1 - x + this.data._RP2) * _DI2;
y += (target._8A1 - y + this.data._SP2) * _DI2;
}
var scaleX = bone._kL2,
scaleY = bone._lL2;
if (scaleMix > 0) {
if (scaleX > 0.00001) scaleX = (scaleX + (target._kL2 - scaleX + this.data._TP2) * scaleMix) / scaleX;
if (scaleY > 0.00001) scaleY = (scaleY + (target._lL2 - scaleY + this.data._UP2) * scaleMix) / scaleY;
}
var shearY = bone._nL2;
if (_EI2 > 0) {
var _b21 = target._nL2 - shearY + this.data._VP2;
_b21 -= (16384 - ((16384.499999999996 - _b21 / 360) | 0)) * 360;
bone.shearY += _b21 * _EI2;
}
bone._tL2(x, y, rotation, scaleX, scaleY, bone._mL2, shearY);
}
};
_NN2.prototype._8R2 = function () {
var rotateMix = this.rotateMix,
_DI2 = this._DI2,
scaleMix = this.scaleMix,
_EI2 = this._EI2;
var target = this.target;
if (!target._oL2) target._PL2();
var bones = this.bones;
for (var _X9 = 0, _W11 = bones.length; _X9 < _W11; _X9++) {
var bone = bones[_X9];
if (!bone._oL2) bone._PL2();
var rotation = bone._jL2;
if (rotateMix != 0) rotation += (target._jL2 + this.data._VM2) * rotateMix;
var x = bone._7A1,
y = bone._8A1;
if (_DI2 != 0) {
x += (target._7A1 + this.data._RP2) * _DI2;
y += (target._8A1 + this.data._SP2) * _DI2;
}
var scaleX = bone._kL2,
scaleY = bone._lL2;
if (scaleMix > 0) {
if (scaleX > 0.00001) scaleX *= (target._kL2 - 1 + this.data._TP2) * scaleMix + 1;
if (scaleY > 0.00001) scaleY *= (target._lL2 - 1 + this.data._UP2) * scaleMix + 1;
}
var shearY = bone._nL2;
if (_EI2 > 0) shearY += (target._nL2 + this.data._VP2) * _EI2;
bone._tL2(x, y, rotation, scaleX, scaleY, bone._mL2, shearY);
}
};
_NN2.prototype._aM2 = function () {
return this.data._bM2;
};
return _NN2;
})();
spine._NN2 = _NN2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _PP2 = (function () {
function _PP2(name) {
this._bM2 = 0;
this.bones = new Array();
this.rotateMix = 0;
this._DI2 = 0;
this.scaleMix = 0;
this._EI2 = 0;
this._VM2 = 0;
this._RP2 = 0;
this._SP2 = 0;
this._TP2 = 0;
this._UP2 = 0;
this._VP2 = 0;
this._QP2 = !1;
this._0M2 = !1;
if (name == null) throw new Error("name cannot be null.");
this.name = name;
}
return _PP2;
})();
spine._PP2 = _PP2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _JO2 = (function () {
function _JO2() {
this._hR2 = new Array();
this._iR2 = new Array();
this._jR2 = new Array();
this._kR2 = new Array();
this.triangles = new Array();
this._jO2 = new spine._1J2(function () {
return new Array();
});
this._lR2 = new spine._1J2(function () {
return new Array();
});
}
_JO2.prototype._RO2 = function (_OH2) {
var vertices = _OH2;
var vertexCount = _OH2.length >> 1;
var _n41 = this._jR2;
_n41.length = 0;
for (var _X9 = 0; _X9 < vertexCount; _X9++) _n41[_X9] = _X9;
var _mR2 = this._kR2;
_mR2.length = 0;
for (var _X9 = 0, _W11 = vertexCount; _X9 < _W11; ++_X9) _mR2[_X9] = _JO2._mR2(_X9, vertexCount, vertices, _n41);
var triangles = this.triangles;
triangles.length = 0;
while (vertexCount > 3) {
var _nR2 = vertexCount - 1,
_X9 = 0,
_Vc1 = 1;
while (!0) {
_hK2: if (!_mR2[_X9]) {
var _Fe1 = _n41[_nR2] << 1,
_5U1 = _n41[_X9] << 1,
_4W1 = _n41[_Vc1] << 1;
var _pP2 = vertices[_Fe1],
_qP2 = vertices[_Fe1 + 1];
var _rP2 = vertices[_5U1],
_sP2 = vertices[_5U1 + 1];
var _oR2 = vertices[_4W1],
_pR2 = vertices[_4W1 + 1];
for (var _tJ2 = (_Vc1 + 1) % vertexCount; _tJ2 != _nR2; _tJ2 = (_tJ2 + 1) % vertexCount) {
if (!_mR2[_tJ2]) continue;
var _J41 = _n41[_tJ2] << 1;
var _IV1 = vertices[_J41],
_JV1 = vertices[_J41 + 1];
if (_JO2._qR2(_oR2, _pR2, _pP2, _qP2, _IV1, _JV1)) {
if (_JO2._qR2(_pP2, _qP2, _rP2, _sP2, _IV1, _JV1)) {
if (_JO2._qR2(_rP2, _sP2, _oR2, _pR2, _IV1, _JV1)) break _hK2;
}
}
}
break;
}
if (_Vc1 == 0) {
do {
if (!_mR2[_X9]) break;
_X9--;
} while (_X9 > 0);
break;
}
_nR2 = _X9;
_X9 = _Vc1;
_Vc1 = (_Vc1 + 1) % vertexCount;
}
triangles.push(_n41[(vertexCount + _X9 - 1) % vertexCount]);
triangles.push(_n41[_X9]);
triangles.push(_n41[(_X9 + 1) % vertexCount]);
_n41.splice(_X9, 1);
_mR2.splice(_X9, 1);
vertexCount--;
var _rR2 = (vertexCount + _X9 - 1) % vertexCount;
var _sR2 = _X9 == vertexCount ? 0 : _X9;
_mR2[_rR2] = _JO2._mR2(_rR2, vertexCount, vertices, _n41);
_mR2[_sR2] = _JO2._mR2(_sR2, vertexCount, vertices, _n41);
}
if (vertexCount == 3) {
triangles.push(_n41[2]);
triangles.push(_n41[0]);
triangles.push(_n41[1]);
}
return triangles;
};
_JO2.prototype._QO2 = function (_OH2, triangles) {
var vertices = _OH2;
var _hR2 = this._hR2;
this._jO2._mO2(_hR2);
_hR2.length = 0;
var _iR2 = this._iR2;
this._lR2._mO2(_iR2);
_iR2.length = 0;
var _tR2 = this._lR2._bK2();
_tR2.length = 0;
var _VW1 = this._jO2._bK2();
_VW1.length = 0;
var _uR2 = -1,
_vR2 = 0;
for (var _X9 = 0, _W11 = triangles.length; _X9 < _W11; _X9 += 3) {
var _jZ1 = triangles[_X9] << 1,
_kZ1 = triangles[_X9 + 1] << 1,
_wR2 = triangles[_X9 + 2] << 1;
var __11 = vertices[_jZ1],
_021 = vertices[_jZ1 + 1];
var _121 = vertices[_kZ1],
_221 = vertices[_kZ1 + 1];
var _961 = vertices[_wR2],
_a61 = vertices[_wR2 + 1];
var _xR2 = !1;
if (_uR2 == _jZ1) {
var _4q1 = _VW1.length - 4;
var _yR2 = _JO2._zR2(_VW1[_4q1], _VW1[_4q1 + 1], _VW1[_4q1 + 2], _VW1[_4q1 + 3], _961, _a61);
var _AR2 = _JO2._zR2(_961, _a61, _VW1[0], _VW1[1], _VW1[2], _VW1[3]);
if (_yR2 == _vR2 && _AR2 == _vR2) {
_VW1.push(_961);
_VW1.push(_a61);
_tR2.push(_wR2);
_xR2 = !0;
}
}
if (!_xR2) {
if (_VW1.length > 0) {
_hR2.push(_VW1);
_iR2.push(_tR2);
} else {
this._jO2._uK2(_VW1);
this._lR2._uK2(_tR2);
}
_VW1 = this._jO2._bK2();
_VW1.length = 0;
_VW1.push(__11);
_VW1.push(_021);
_VW1.push(_121);
_VW1.push(_221);
_VW1.push(_961);
_VW1.push(_a61);
_tR2 = this._lR2._bK2();
_tR2.length = 0;
_tR2.push(_jZ1);
_tR2.push(_kZ1);
_tR2.push(_wR2);
_vR2 = _JO2._zR2(__11, _021, _121, _221, _961, _a61);
_uR2 = _jZ1;
}
}
if (_VW1.length > 0) {
_hR2.push(_VW1);
_iR2.push(_tR2);
}
for (var _X9 = 0, _W11 = _hR2.length; _X9 < _W11; _X9++) {
_tR2 = _iR2[_X9];
if (_tR2.length == 0) continue;
var _eb2 = _tR2[0];
var lastIndex = _tR2[_tR2.length - 1];
_VW1 = _hR2[_X9];
var _4q1 = _VW1.length - 4;
var _BR2 = _VW1[_4q1],
_CR2 = _VW1[_4q1 + 1];
var __G2 = _VW1[_4q1 + 2],
_0H2 = _VW1[_4q1 + 3];
var _DR2 = _VW1[0],
_ER2 = _VW1[1];
var _FR2 = _VW1[2],
_GR2 = _VW1[3];
var _zR2 = _JO2._zR2(_BR2, _CR2, __G2, _0H2, _DR2, _ER2);
for (var _tJ2 = 0; _tJ2 < _W11; _tJ2++) {
if (_tJ2 == _X9) continue;
var _HR2 = _iR2[_tJ2];
if (_HR2.length != 3) continue;
var _IR2 = _HR2[0];
var _JR2 = _HR2[1];
var _KR2 = _HR2[2];
var _LR2 = _hR2[_tJ2];
var _961 = _LR2[_LR2.length - 2],
_a61 = _LR2[_LR2.length - 1];
if (_IR2 != _eb2 || _JR2 != lastIndex) continue;
var _yR2 = _JO2._zR2(_BR2, _CR2, __G2, _0H2, _961, _a61);
var _AR2 = _JO2._zR2(_961, _a61, _DR2, _ER2, _FR2, _GR2);
if (_yR2 == _zR2 && _AR2 == _zR2) {
_LR2.length = 0;
_HR2.length = 0;
_VW1.push(_961);
_VW1.push(_a61);
_tR2.push(_KR2);
_BR2 = __G2;
_CR2 = _0H2;
__G2 = _961;
_0H2 = _a61;
_tJ2 = 0;
}
}
}
for (var _X9 = _hR2.length - 1; _X9 >= 0; _X9--) {
_VW1 = _hR2[_X9];
if (_VW1.length == 0) {
_hR2.splice(_X9, 1);
this._jO2._uK2(_VW1);
_tR2 = _iR2[_X9];
_iR2.splice(_X9, 1);
this._lR2._uK2(_tR2);
}
}
return _hR2;
};
_JO2._mR2 = function (index, vertexCount, vertices, _n41) {
var _nR2 = _n41[(vertexCount + index - 1) % vertexCount] << 1;
var current = _n41[index] << 1;
var _Vc1 = _n41[(index + 1) % vertexCount] << 1;
return !this._qR2(vertices[_nR2], vertices[_nR2 + 1], vertices[current], vertices[current + 1], vertices[_Vc1], vertices[_Vc1 + 1]);
};
_JO2._qR2 = function (_pP2, _qP2, _rP2, _sP2, _oR2, _pR2) {
return _pP2 * (_pR2 - _sP2) + _rP2 * (_qP2 - _pR2) + _oR2 * (_sP2 - _qP2) >= 0;
};
_JO2._zR2 = function (_pP2, _qP2, _rP2, _sP2, _oR2, _pR2) {
var _qe1 = _rP2 - _pP2,
_re1 = _sP2 - _qP2;
return _oR2 * _re1 - _pR2 * _qe1 + _qe1 * _qP2 - _pP2 * _re1 >= 0 ? 1 : -1;
};
return _JO2;
})();
spine._JO2 = _JO2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _YI2 = (function () {
function _YI2() {
this._7m2 = new Array();
}
_YI2.prototype.add = function (value) {
var _MR2 = this._MR2(value);
this._7m2[value | 0] = value | 0;
return !_MR2;
};
_YI2.prototype._MR2 = function (value) {
return this._7m2[value | 0] != undefined;
};
_YI2.prototype.remove = function (value) {
this._7m2[value | 0] = undefined;
};
_YI2.prototype.clear = function () {
this._7m2.length = 0;
};
return _YI2;
})();
spine._YI2 = _YI2;
var _i41 = (function () {
function _i41(_b21, _k41, _e21, _l41) {
if (_b21 === void 0) {
_b21 = 0;
}
if (_k41 === void 0) {
_k41 = 0;
}
if (_e21 === void 0) {
_e21 = 0;
}
if (_l41 === void 0) {
_l41 = 0;
}
this._b21 = _b21;
this._k41 = _k41;
this._e21 = _e21;
this._l41 = _l41;
}
_i41.prototype.set = function (_b21, _k41, _e21, _l41) {
this._b21 = _b21;
this._k41 = _k41;
this._e21 = _e21;
this._l41 = _l41;
this._cm();
return this;
};
_i41.prototype._nH2 = function (_Y9) {
this._b21 = _Y9._b21;
this._k41 = _Y9._k41;
this._e21 = _Y9._e21;
this._l41 = _Y9._l41;
return this;
};
_i41.prototype._LP2 = function (_NR2) {
_NR2 = _NR2.charAt(0) == "#" ? _NR2.substr(1) : _NR2;
this._b21 = parseInt(_NR2.substr(0, 2), 16) / 255.0;
this._k41 = parseInt(_NR2.substr(2, 2), 16) / 255.0;
this._e21 = parseInt(_NR2.substr(4, 2), 16) / 255.0;
this._l41 = (_NR2.length != 8 ? 255 : parseInt(_NR2.substr(6, 2), 16)) / 255.0;
return this;
};
_i41.prototype.add = function (_b21, _k41, _e21, _l41) {
this._b21 += _b21;
this._k41 += _k41;
this._e21 += _e21;
this._l41 += _l41;
this._cm();
return this;
};
_i41.prototype._cm = function () {
if (this._b21 < 0) this._b21 = 0;
else if (this._b21 > 1) this._b21 = 1;
if (this._k41 < 0) this._k41 = 0;
else if (this._k41 > 1) this._k41 = 1;
if (this._e21 < 0) this._e21 = 0;
else if (this._e21 > 1) this._e21 = 1;
if (this._l41 < 0) this._l41 = 0;
else if (this._l41 > 1) this._l41 = 1;
return this;
};
_i41._OR2 = new _i41(1, 1, 1, 1);
_i41._PR2 = new _i41(1, 0, 0, 1);
_i41._QR2 = new _i41(0, 1, 0, 1);
_i41._RR2 = new _i41(0, 0, 1, 1);
_i41._SR2 = new _i41(1, 0, 1, 1);
return _i41;
})();
spine._i41 = _i41;
var _ZG2 = (function () {
function _ZG2() {}
_ZG2._cm = function (value, min, max) {
if (value < min) return min;
if (value > max) return max;
return value;
};
_ZG2._xL2 = function (_7H2) {
return Math.cos(_7H2 * _ZG2._XM2);
};
_ZG2._yL2 = function (_7H2) {
return Math.sin(_7H2 * _ZG2._XM2);
};
_ZG2._jH2 = function (value) {
return value > 0 ? 1 : value < 0 ? -1 : 0;
};
_ZG2._my2 = function (x) {
return x > 0 ? Math.floor(x) : Math.ceil(x);
};
_ZG2._TR2 = function (x) {
var y = Math.pow(Math.abs(x), 1 / 3);
return x < 0 ? -y : y;
};
_ZG2._UR2 = function (min, max) {
return _ZG2._VR2(min, max, (min + max) * 0.5);
};
_ZG2._VR2 = function (min, max, _4h1) {
var _P41 = Math.random();
var _Ce1 = max - min;
if (_P41 <= (_4h1 - min) / _Ce1) return min + Math.sqrt(_P41 * _Ce1 * (_4h1 - min));
return max - Math.sqrt((1 - _P41) * _Ce1 * (max - _4h1));
};
_ZG2.PI = 3.1415927;
_ZG2._1N2 = _ZG2.PI * 2;
_ZG2._WR2 = 180 / _ZG2.PI;
_ZG2._HL2 = _ZG2._WR2;
_ZG2._XR2 = _ZG2.PI / 180;
_ZG2._XM2 = _ZG2._XR2;
return _ZG2;
})();
spine._ZG2 = _ZG2;
var _YR2 = (function () {
function _YR2() {}
_YR2.prototype.apply = function (start, end, _l41) {
return start + (end - start) * this._ZR2(_l41);
};
return _YR2;
})();
spine._YR2 = _YR2;
var __R2 = (function (_2H2) {
_lG2(__R2, _2H2);
function __R2(_5B1) {
var _3H2 = _2H2.call(this) || this;
_3H2._5B1 = 2;
_3H2._5B1 = _5B1;
return _3H2;
}
__R2.prototype._ZR2 = function (_l41) {
if (_l41 <= 0.5) return Math.pow(_l41 * 2, this._5B1) / 2;
return Math.pow((_l41 - 1) * 2, this._5B1) / (this._5B1 % 2 == 0 ? -2 : 2) + 1;
};
return __R2;
})(_YR2);
spine.__R2 = __R2;
var _0S2 = (function (_2H2) {
_lG2(_0S2, _2H2);
function _0S2(_5B1) {
return _2H2.call(this, _5B1) || this;
}
_0S2.prototype._ZR2 = function (_l41) {
return Math.pow(_l41 - 1, this._5B1) * (this._5B1 % 2 == 0 ? -1 : 1) + 1;
};
return _0S2;
})(__R2);
spine._0S2 = _0S2;
var _AG2 = (function () {
function _AG2() {}
_AG2._YH2 = function (source, _1S2, _051, _2S2, _3S2) {
for (var _X9 = _1S2, _i21 = _2S2; _X9 < _1S2 + _3S2; _X9++, _i21++) {
_051[_i21] = source[_X9];
}
};
_AG2._SH2 = function (_7m2, size, value) {
if (value === void 0) {
value = 0;
}
var _4S2 = _7m2.length;
if (_4S2 == size) return _7m2;
_7m2.length = size;
if (_4S2 < size) {
for (var _X9 = _4S2; _X9 < size; _X9++) _7m2[_X9] = value;
}
return _7m2;
};
_AG2._aK2 = function (_7m2, size, value) {
if (value === void 0) {
value = 0;
}
if (_7m2.length >= size) return _7m2;
return _AG2._SH2(_7m2, size, value);
};
_AG2._jQ2 = function (size, _HQ2) {
var _7m2 = new Array(size);
for (var _X9 = 0; _X9 < size; _X9++) _7m2[_X9] = _HQ2;
return _7m2;
};
_AG2._BG2 = function (size) {
if (_AG2._5S2) {
return new Float32Array(size);
} else {
var _7m2 = new Array(size);
for (var _X9 = 0; _X9 < _7m2.length; _X9++) _7m2[_X9] = 0;
return _7m2;
}
};
_AG2._6S2 = function (size) {
if (_AG2._5S2) {
return new Int16Array(size);
} else {
var _7m2 = new Array(size);
for (var _X9 = 0; _X9 < _7m2.length; _X9++) _7m2[_X9] = 0;
return _7m2;
}
};
_AG2._lQ2 = function (_7m2) {
return _AG2._5S2 ? new Float32Array(_7m2) : _7m2;
};
_AG2._GQ2 = function (value) {
return _AG2._5S2 ? Math._7S2(value) : value;
};
_AG2._zJ2 = function (alpha, _7x1) {};
_AG2._5S2 = typeof Float32Array !== "undefined";
return _AG2;
})();
spine._AG2 = _AG2;
var _8S2 = (function () {
function _8S2() {}
_8S2._9S2 = function (skeleton) {
for (var _X9 = 0; _X9 < skeleton.bones.length; _X9++) {
var bone = skeleton.bones[_X9];
console.log(bone.data.name + ", " + bone._l41 + ", " + bone._e21 + ", " + bone._Y9 + ", " + bone._Ce1 + ", " + bone._pL2 + ", " + bone._qL2);
}
};
return _8S2;
})();
spine._8S2 = _8S2;
var _1J2 = (function () {
function _1J2(_aS2) {
this._bS2 = new Array();
this._aS2 = _aS2;
}
_1J2.prototype._bK2 = function () {
return this._bS2.length > 0 ? this._bS2.pop() : this._aS2();
};
_1J2.prototype._uK2 = function (_Wc1) {
if (_Wc1._kR1) _Wc1._kR1();
this._bS2.push(_Wc1);
};
_1J2.prototype._mO2 = function (_bS2) {
for (var _X9 = 0; _X9 < _bS2.length; _X9++) {
if (_bS2[_X9]._kR1) _bS2[_X9]._kR1();
this._bS2[_X9] = _bS2[_X9];
}
};
_1J2.prototype.clear = function () {
this._bS2.length = 0;
};
return _1J2;
})();
spine._1J2 = _1J2;
var _7R2 = (function () {
function _7R2(x, y) {
if (x === void 0) {
x = 0;
}
if (y === void 0) {
y = 0;
}
this.x = x;
this.y = y;
}
_7R2.prototype.set = function (x, y) {
this.x = x;
this.y = y;
return this;
};
_7R2.prototype.length = function () {
var x = this.x;
var y = this.y;
return Math.sqrt(x * x + y * y);
};
_7R2.prototype._cS2 = function () {
var _Bc1 = this.length();
if (_Bc1 != 0) {
this.x /= _Bc1;
this.y /= _Bc1;
}
return this;
};
return _7R2;
})();
spine._7R2 = _7R2;
var _dS2 = (function () {
function _dS2() {
this._eS2 = 0.064;
this._fS2 = 0;
this._po2 = 0;
this._hR1 = 0;
this._rG2 = Date.now() / 1000;
this._t11 = 0;
this._dH2 = 0;
}
_dS2.prototype._A11 = function () {
var now = Date.now() / 1000;
this._po2 = now - this._rG2;
this._dH2 += this._po2;
this._hR1 += this._po2;
if (this._po2 > this._eS2) this._po2 = this._eS2;
this._rG2 = now;
this._t11++;
if (this._dH2 > 1) {
this._fS2 = this._t11 / this._dH2;
this._dH2 = 0;
this._t11 = 0;
}
};
return _dS2;
})();
spine._dS2 = _dS2;
var _gS2 = (function () {
function _gS2(_hS2) {
if (_hS2 === void 0) {
_hS2 = 32;
}
this._iS2 = 0;
this._B91 = 0;
this._8B1 = 0;
this._jS2 = !0;
this._tG2 = new Array(_hS2);
}
_gS2.prototype._kS2 = function () {
return this._iS2 >= this._tG2.length;
};
_gS2.prototype._lS2 = function (value) {
if (this._iS2 < this._tG2.length) this._iS2++;
this._tG2[this._B91++] = value;
if (this._B91 > this._tG2.length - 1) this._B91 = 0;
this._jS2 = !0;
};
_gS2.prototype._mS2 = function () {
if (this._kS2()) {
if (this._jS2) {
var _8B1 = 0;
for (var _X9 = 0; _X9 < this._tG2.length; _X9++) {
_8B1 += this._tG2[_X9];
}
this._8B1 = _8B1 / this._tG2.length;
this._jS2 = !1;
}
return this._8B1;
} else {
return 0;
}
};
return _gS2;
})();
spine._gS2 = _gS2;
})(spine || (spine = {}));
(function () {
if (!Math._7S2) {
Math._7S2 = (function (_7m2) {
return function (x) {
return (_7m2[0] = x), _7m2[0];
};
})(new Float32Array(1));
}
})();
var spine;
(function (spine) {
var _nS2 = (function () {
function _nS2(name) {
if (name == null) throw new Error("name cannot be null.");
this.name = name;
}
return _nS2;
})();
spine._nS2 = _nS2;
var _MH2 = (function (_2H2) {
_lG2(_MH2, _2H2);
function _MH2(name) {
var _3H2 = _2H2.call(this, name) || this;
_3H2.id = (_MH2._oS2++ & 65535) << 11;
_3H2._C41 = 0;
return _3H2;
}
_MH2.prototype._v41 = function (slot, start, _d31, _pS2, offset, _y51) {
_d31 = offset + (_d31 >> 1) * _y51;
var skeleton = slot.bone.skeleton;
var _qS2 = slot._PH2;
var vertices = this.vertices;
var bones = this.bones;
if (bones == null) {
if (_qS2.length > 0) vertices = _qS2;
var bone = slot.bone;
var x = bone._pL2;
var y = bone._qL2;
var _l41 = bone._l41,
_e21 = bone._e21,
_Y9 = bone._Y9,
_Ce1 = bone._Ce1;
for (var _rS2 = start, _Z9 = offset; _Z9 < _d31; _rS2 += 2, _Z9 += _y51) {
var _IV1 = vertices[_rS2],
_JV1 = vertices[_rS2 + 1];
_pS2[_Z9] = _IV1 * _l41 + _JV1 * _e21 + x;
_pS2[_Z9 + 1] = _IV1 * _Y9 + _JV1 * _Ce1 + y;
}
return;
}
var _J41 = 0,
_sS2 = 0;
for (var _X9 = 0; _X9 < start; _X9 += 2) {
var _W11 = bones[_J41];
_J41 += _W11 + 1;
_sS2 += _W11;
}
var _tS2 = skeleton.bones;
if (_qS2.length == 0) {
for (var _Z9 = offset, _e21 = _sS2 * 3; _Z9 < _d31; _Z9 += _y51) {
var _uS2 = 0,
_vS2 = 0;
var _W11 = bones[_J41++];
_W11 += _J41;
for (; _J41 < _W11; _J41++, _e21 += 3) {
var bone = _tS2[bones[_J41]];
var _IV1 = vertices[_e21],
_JV1 = vertices[_e21 + 1],
_X92 = vertices[_e21 + 2];
_uS2 += (_IV1 * bone._l41 + _JV1 * bone._e21 + bone._pL2) * _X92;
_vS2 += (_IV1 * bone._Y9 + _JV1 * bone._Ce1 + bone._qL2) * _X92;
}
_pS2[_Z9] = _uS2;
_pS2[_Z9 + 1] = _vS2;
}
} else {
var deform = _qS2;
for (var _Z9 = offset, _e21 = _sS2 * 3, _xp1 = _sS2 << 1; _Z9 < _d31; _Z9 += _y51) {
var _uS2 = 0,
_vS2 = 0;
var _W11 = bones[_J41++];
_W11 += _J41;
for (; _J41 < _W11; _J41++, _e21 += 3, _xp1 += 2) {
var bone = _tS2[bones[_J41]];
var _IV1 = vertices[_e21] + deform[_xp1],
_JV1 = vertices[_e21 + 1] + deform[_xp1 + 1],
_X92 = vertices[_e21 + 2];
_uS2 += (_IV1 * bone._l41 + _JV1 * bone._e21 + bone._pL2) * _X92;
_vS2 += (_IV1 * bone._Y9 + _JV1 * bone._Ce1 + bone._qL2) * _X92;
}
_pS2[_Z9] = _uS2;
_pS2[_Z9 + 1] = _vS2;
}
}
};
_MH2.prototype._NH2 = function (_wS2) {
return this == _wS2;
};
_MH2._oS2 = 0;
return _MH2;
})(_nS2);
spine._MH2 = _MH2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _xS2;
(function (_xS2) {
_xS2[(_xS2["Region"] = 0)] = "Region";
_xS2[(_xS2["BoundingBox"] = 1)] = "BoundingBox";
_xS2[(_xS2["Mesh"] = 2)] = "Mesh";
_xS2[(_xS2["LinkedMesh"] = 3)] = "LinkedMesh";
_xS2[(_xS2["Path"] = 4)] = "Path";
_xS2[(_xS2["Point"] = 5)] = "Point";
})((_xS2 = spine._xS2 || (spine._xS2 = {})));
})(spine || (spine = {}));
var spine;
(function (spine) {
var _441 = (function (_2H2) {
_lG2(_441, _2H2);
function _441(name) {
var _3H2 = _2H2.call(this, name) || this;
_3H2.color = new spine._i41(1, 1, 1, 1);
return _3H2;
}
return _441;
})(spine._MH2);
spine._441 = _441;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _D41 = (function (_2H2) {
_lG2(_D41, _2H2);
function _D41(name) {
var _3H2 = _2H2.call(this, name) || this;
_3H2.color = new spine._i41(0.2275, 0.2275, 0.8078, 1);
return _3H2;
}
return _D41;
})(spine._MH2);
spine._D41 = _D41;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _241 = (function (_2H2) {
_lG2(_241, _2H2);
function _241(name) {
var _3H2 = _2H2.call(this, name) || this;
_3H2.color = new spine._i41(1, 1, 1, 1);
_3H2._gQ2 = !1;
_3H2._yS2 = new spine._i41(0, 0, 0, 0);
return _3H2;
}
_241.prototype._6Q2 = function () {
var _P41 = 0,
_J41 = 0,
width = 0,
height = 0;
if (this._t41 == null) {
_P41 = _J41 = 0;
width = height = 1;
} else {
_P41 = this._t41._P41;
_J41 = this._t41._J41;
width = this._t41._yZ1 - _P41;
height = this._t41._c61 - _J41;
}
var _hQ2 = this._hQ2;
if (this.uvs == null || this.uvs.length != _hQ2.length) this.uvs = spine._AG2._BG2(_hQ2.length);
var uvs = this.uvs;
if (this._t41.rotate) {
for (var _X9 = 0, _W11 = uvs.length; _X9 < _W11; _X9 += 2) {
uvs[_X9] = _P41 + _hQ2[_X9 + 1] * width;
uvs[_X9 + 1] = _J41 + height - _hQ2[_X9] * height;
}
} else {
for (var _X9 = 0, _W11 = uvs.length; _X9 < _W11; _X9 += 2) {
uvs[_X9] = _P41 + _hQ2[_X9] * width;
uvs[_X9 + 1] = _J41 + _hQ2[_X9 + 1] * height;
}
}
};
_241.prototype._NH2 = function (_wS2) {
return this == _wS2 || (this._gQ2 && this._zS2 == _wS2);
};
_241.prototype._AS2 = function () {
return this._zS2;
};
_241.prototype._5Q2 = function (_zS2) {
this._zS2 = _zS2;
if (_zS2 != null) {
this.bones = _zS2.bones;
this.vertices = _zS2.vertices;
this._C41 = _zS2._C41;
this._hQ2 = _zS2._hQ2;
this.triangles = _zS2.triangles;
this._iQ2 = _zS2._iQ2;
this._C41 = _zS2._C41;
}
};
return _241;
})(spine._MH2);
spine._241 = _241;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _eL2 = (function (_2H2) {
_lG2(_eL2, _2H2);
function _eL2(name) {
var _3H2 = _2H2.call(this, name) || this;
_3H2._B2 = !1;
_3H2._7N2 = !1;
_3H2.color = new spine._i41(1, 1, 1, 1);
return _3H2;
}
return _eL2;
})(spine._MH2);
spine._eL2 = _eL2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _gL2 = (function (_2H2) {
_lG2(_gL2, _2H2);
function _gL2(name) {
var _3H2 = _2H2.call(this, name) || this;
_3H2.color = new spine._i41(0.38, 0.94, 0, 1);
return _3H2;
}
_gL2.prototype._BS2 = function (bone, _rY1) {
_rY1.x = this.x * bone._l41 + this.y * bone._e21 + bone._pL2;
_rY1.y = this.x * bone._Y9 + this.y * bone._Ce1 + bone._qL2;
return _rY1;
};
_gL2.prototype._CS2 = function (bone) {
var cos = spine._ZG2._xL2(this.rotation),
sin = spine._ZG2._yL2(this.rotation);
var x = cos * bone._l41 + sin * bone._e21;
var y = cos * bone._Y9 + sin * bone._Ce1;
return Math.atan2(y, x) * spine._ZG2._HL2;
};
return _gL2;
})(spine._MH2);
spine._gL2 = _gL2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _041 = (function (_2H2) {
_lG2(_041, _2H2);
function _041(name) {
var _3H2 = _2H2.call(this, name) || this;
_3H2.x = 0;
_3H2.y = 0;
_3H2.scaleX = 1;
_3H2.scaleY = 1;
_3H2.rotation = 0;
_3H2.width = 0;
_3H2.height = 0;
_3H2.color = new spine._i41(1, 1, 1, 1);
_3H2.offset = spine._AG2._BG2(8);
_3H2.uvs = spine._AG2._BG2(8);
_3H2._yS2 = new spine._i41(1, 1, 1, 1);
return _3H2;
}
_041.prototype._cQ2 = function () {
var _DS2 = (this.width / this._t41._TQ2) * this.scaleX;
var _ES2 = (this.height / this._t41._UQ2) * this.scaleY;
var _FS2 = (-this.width / 2) * this.scaleX + this._t41._RP2 * _DS2;
var _GS2 = (-this.height / 2) * this.scaleY + this._t41._SP2 * _ES2;
var _HS2 = _FS2 + this._t41.width * _DS2;
var _IS2 = _GS2 + this._t41.height * _ES2;
var _JS2 = (this.rotation * Math.PI) / 180;
var cos = Math.cos(_JS2);
var sin = Math.sin(_JS2);
var _KS2 = _FS2 * cos + this.x;
var _LS2 = _FS2 * sin;
var _MS2 = _GS2 * cos + this.y;
var _NS2 = _GS2 * sin;
var _OS2 = _HS2 * cos + this.x;
var _PS2 = _HS2 * sin;
var _QS2 = _IS2 * cos + this.y;
var _RS2 = _IS2 * sin;
var offset = this.offset;
offset[_041._g61] = _KS2 - _NS2;
offset[_041._h61] = _MS2 + _LS2;
offset[_041._M51] = _KS2 - _RS2;
offset[_041._N51] = _QS2 + _LS2;
offset[_041._O51] = _OS2 - _RS2;
offset[_041._P51] = _QS2 + _PS2;
offset[_041._Q51] = _OS2 - _NS2;
offset[_041._R51] = _MS2 + _PS2;
};
_041.prototype._aL2 = function (_t41) {
this._t41 = _t41;
var uvs = this.uvs;
if (_t41.rotate) {
uvs[2] = _t41._P41;
uvs[3] = _t41._c61;
uvs[4] = _t41._P41;
uvs[5] = _t41._J41;
uvs[6] = _t41._yZ1;
uvs[7] = _t41._J41;
uvs[0] = _t41._yZ1;
uvs[1] = _t41._c61;
} else {
uvs[0] = _t41._P41;
uvs[1] = _t41._c61;
uvs[2] = _t41._P41;
uvs[3] = _t41._J41;
uvs[4] = _t41._yZ1;
uvs[5] = _t41._J41;
uvs[6] = _t41._yZ1;
uvs[7] = _t41._c61;
}
};
_041.prototype._v41 = function (bone, _pS2, offset, _y51) {
var _WO2 = this.offset;
var x = bone._pL2,
y = bone._qL2;
var _l41 = bone._l41,
_e21 = bone._e21,
_Y9 = bone._Y9,
_Ce1 = bone._Ce1;
var _RP2 = 0,
_SP2 = 0;
_RP2 = _WO2[_041._g61];
_SP2 = _WO2[_041._h61];
_pS2[offset] = _RP2 * _l41 + _SP2 * _e21 + x;
_pS2[offset + 1] = _RP2 * _Y9 + _SP2 * _Ce1 + y;
offset += _y51;
_RP2 = _WO2[_041._M51];
_SP2 = _WO2[_041._N51];
_pS2[offset] = _RP2 * _l41 + _SP2 * _e21 + x;
_pS2[offset + 1] = _RP2 * _Y9 + _SP2 * _Ce1 + y;
offset += _y51;
_RP2 = _WO2[_041._O51];
_SP2 = _WO2[_041._P51];
_pS2[offset] = _RP2 * _l41 + _SP2 * _e21 + x;
_pS2[offset + 1] = _RP2 * _Y9 + _SP2 * _Ce1 + y;
offset += _y51;
_RP2 = _WO2[_041._Q51];
_SP2 = _WO2[_041._R51];
_pS2[offset] = _RP2 * _l41 + _SP2 * _e21 + x;
_pS2[offset + 1] = _RP2 * _Y9 + _SP2 * _Ce1 + y;
};
_041._g61 = 0;
_041._h61 = 1;
_041._M51 = 2;
_041._N51 = 3;
_041._O51 = 4;
_041._P51 = 5;
_041._Q51 = 6;
_041._R51 = 7;
_041._SS2 = 0;
_041._TS2 = 1;
_041._US2 = 2;
_041._VS2 = 3;
_041._WS2 = 4;
_041._XS2 = 5;
_041._YS2 = 6;
_041._ZS2 = 7;
_041.__S2 = 8;
_041._0T2 = 9;
_041._1T2 = 10;
_041._2T2 = 11;
_041._3T2 = 12;
_041._4T2 = 13;
_041._5T2 = 14;
_041._6T2 = 15;
_041._7T2 = 16;
_041._8T2 = 17;
_041._9T2 = 18;
_041._aT2 = 19;
_041._bT2 = 20;
_041._cT2 = 21;
_041._dT2 = 22;
_041._eT2 = 23;
_041._fT2 = 24;
_041._gT2 = 25;
_041._hT2 = 26;
_041._iT2 = 27;
_041._jT2 = 28;
_041._kT2 = 29;
_041._lT2 = 30;
_041._mT2 = 31;
return _041;
})(spine._nS2);
spine._041 = _041;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _nT2 = (function () {
function _nT2(_oT2, _pT2) {
this._oT2 = 0;
this._pT2 = 0;
this._oT2 = _oT2;
this._pT2 = _pT2;
}
_nT2.prototype._qT2 = function (skeleton) {};
_nT2.prototype.transform = function (position, _Q71, _vH2, _wH2) {
position.x += spine._ZG2._UR2(-this._oT2, this._pT2);
position.y += spine._ZG2._UR2(-this._oT2, this._pT2);
};
_nT2.prototype.end = function () {};
return _nT2;
})();
spine._nT2 = _nT2;
})(spine || (spine = {}));
var spine;
(function (spine) {
var _rT2 = (function () {
function _rT2(_2U1) {
this._sT2 = 0;
this._tT2 = 0;
this._2U1 = 0;
this.angle = 0;
this._pL2 = 0;
this._qL2 = 0;
this._2U1 = _2U1;
}
_rT2.prototype._qT2 = function (skeleton) {
this._pL2 = skeleton.x + this._sT2;
this._qL2 = skeleton.y + this._tT2;
};
_rT2.prototype.transform = function (position, _Q71, _vH2, _wH2) {
var _uT2 = this.angle * spine._ZG2._XR2;
var x = position.x - this._pL2;
var y = position.y - this._qL2;
var _OB1 = Math.sqrt(x * x + y * y);
if (_OB1 < this._2U1) {
var _vT2 = _rT2._wT2.apply(0, _uT2, (this._2U1 - _OB1) / this._2U1);
var cos = Math.cos(_vT2);
var sin = Math.sin(_vT2);
position.x = cos * x - sin * y + this._pL2;
position.y = sin * x + cos * y + this._qL2;
}
};
_rT2.prototype.end = function () {};
_rT2._wT2 = new spine._0S2(2);
return _rT2;
})();
spine._rT2 = _rT2;
})(spine || (spine = {}));
var _xT2 = 0,
_yT2 = 1,
_zT2 = 2,
_AT2 = 3,
_BT2 = 4,
_CT2 = 5,
_DT2 = 6,
_ET2 = 7,
_FT2 = 8,
_GT2 = 9;
var _HT2 = 0,
_IT2 = 1,
_JT2 = 2,
_KT2 = 3;
/*@constructor */ function _LT2(_l81, _Ub1) {
this.type = _l81;
this.id = _Ub1;
this._Gx2 = null;
this._MT2 = -1;
}
_LT2.prototype._NT2 = function (_nx2, _OT2, _PT2, _QT2, _RT2) {
var _ST2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var width = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var height = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
this._MT2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
return _PT2;
};
_LT2.prototype._TT2 = function (_OA1, _1t1) {
var _e21 = new ArrayBuffer(4);
var _l41 = new Uint32Array(_e21);
var _Y9 = new Uint8Array(_e21);
_l41[0] = 0xdeadbeef;
if (_Y9[0] == 0xef) {
return ((_OA1 & 0xff) << 8) | (_1t1 & 0xff);
}
if (_Y9[0] == 0xde) {
return ((_1t1 & 0xff) << 8) | (_OA1 & 0xff);
}
};
_LT2.prototype._UT2 = function (_VT2) {
try {
do {
if (_VT2[1] == 0xd9) {
_VT2 = _VT2.subarray(2);
} else if (_VT2[1] == 0xd8) {
if (_VT2[6] === 0x4a && _VT2[7] === 0x46 && _VT2[8] === 0x49 && _VT2[9] === 0x46) {
var _Z9 = this._TT2(_VT2[14], _VT2[15]);
var __9 = this._TT2(_VT2[16], _VT2[17]);
var _WT2 = { width: _Z9, height: __9, body: _VT2 };
return _WT2;
}
_VT2 = _VT2.subarray(4 + this._TT2(_VT2[4], _VT2[5]));
} else {
_VT2 = _VT2.subarray(2 + this._TT2(_VT2[2], _VT2[3]));
}
} while (_VT2.byteLength >= 0 && _VT2[0] == 0xff);
} catch (e) {
debug(e.message);
}
var _WT2 = { width: _Z9, height: __9, body: _VT2 };
return _WT2;
};
_LT2.prototype._XT2 = function (_931, _a31, _VT2, _YT2, _ev1, _ZT2) {
var __T2 = new Uint16Array(_VT2);
var _0U2 = "";
for (var _X9 = 0, _921 = __T2.length; _X9 < _921; _X9++) {
_0U2 += String.fromCharCode(__T2[_X9]);
}
var _1U2 = window.btoa(_0U2);
var _2U2 = "data:image/" + _YT2 + ";base64," + _1U2;
var img = new Image();
img.onload = function () {
var _be1 = { _f31: img };
_p51(_be1);
if (_ev1) {
_ev1(_be1);
}
};
img.onerror = function (e) {
debug(e);
if (_ZT2) {
_ZT2(e);
}
};
img.src = _DI1(null, null, _2U2);
return img;
};
function _as2(_YK1, _f41) {
var _V71 = _131._as2(_YK1._f31._o51, _f41);
_YK1._f31._o51 = _V71;
_YK1._f31._X71 = _V71._Cr2;
_YK1._f31._Y71 = _V71._Dr2;
return _YK1._f31;
}
var _3U2 = 0,
_4U2 = 1,
_5U2 = 2;
var _6U2 = 0,
_7U2 = 1,
_8U2 = 2,
_9U2 = 3;
var _aU2 = 0,
_bU2 = 1;
var _cU2 = { _4S1: 0, _5S1: 0, version: 1 };
/*@constructor */ function _dU2(_l81, _Ub1) {
this.type = _l81;
this.id = _Ub1;
}
_dU2.prototype._eU2 = function (_OT2, _PT2, _QT2, _fU2) {
this._K11 = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
this._L11 = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
this._M11 = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
this._N11 = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
var _gU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
this._hU2 = [];
for (var _X9 = 0; _X9 < _gU2; _X9++) {
var _iU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var _jU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var _kU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var _lU2 = { _iU2: _iU2, _jU2: _jU2, _kU2: _kU2 };
_lU2._mU2 = _iU2 > 0 ? [] : null;
_lU2._nU2 = _jU2 > 0 ? [] : null;
_lU2._oU2 = _kU2 > 0 ? [] : null;
_PT2 = this._pU2(_lU2, _OT2, _PT2, _QT2, _fU2);
_PT2 = this._qU2(_lU2, _OT2, _PT2, _QT2);
_PT2 = this._rU2(_lU2, _OT2, _PT2, _QT2);
this._hU2.push(_lU2);
}
return _PT2;
};
_dU2.prototype._pU2 = function (_sU2, _OT2, _PT2, _QT2, _fU2) {
_sU2._mU2 = [];
for (var _X9 = 0; _X9 < _sU2._iU2; _X9++) {
var _tU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var _uU2 = null;
switch (_tU2) {
case _7U2:
{
_uU2 = { type: _7U2 };
var _Ue1 = _OT2.getUint8(_PT2, _QT2);
_PT2++;
var _Ve1 = _OT2.getUint8(_PT2, _QT2);
_PT2++;
var _We1 = _OT2.getUint8(_PT2, _QT2);
_PT2++;
var alpha = _OT2.getUint8(_PT2, _QT2);
_PT2++;
_uU2._L31 = _Ue1 | (_Ve1 << 8) | (_We1 << 16) | (alpha << 24);
}
break;
case _8U2:
{
_uU2 = { type: _8U2 };
_uU2._vU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_uU2._MT2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var _wU2 = [];
for (var _Z11 = 0; _Z11 < 9; _Z11++) {
_wU2[_Z11] = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
}
_uU2._wU2 = new _Fk1();
_uU2._wU2._Z11[_cm1] = _wU2[0];
_uU2._wU2._Z11[_dm1] = _wU2[1];
_uU2._wU2._Z11[_fm1] = _wU2[2];
_uU2._wU2._Z11[_gm1] = _wU2[3];
_uU2._wU2._Z11[_6l1] = _wU2[4];
_uU2._wU2._Z11[_im1] = _wU2[5];
_uU2._xU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_uU2._yU2 = [];
for (var _Z11 = 0; _Z11 < _uU2._xU2; _Z11++) {
var _wf2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var _Ue1 = _OT2.getUint8(_PT2, _QT2);
_PT2++;
var _Ve1 = _OT2.getUint8(_PT2, _QT2);
_PT2++;
var _We1 = _OT2.getUint8(_PT2, _QT2);
_PT2++;
var alpha = _OT2.getUint8(_PT2, _QT2);
_PT2++;
_uU2._yU2.push({ _wf2: _wf2, _L31: _Ue1 | (_Ve1 << 8) | (_We1 << 16) | (alpha << 24) });
}
_uU2._F71 = null;
}
break;
case _9U2:
{
_uU2 = { type: _9U2 };
_uU2._zU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_uU2._AU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_uU2._BU2 = -1;
for (var index = 0; index < _fU2.length; index++) {
if (_fU2[index].id === _uU2._AU2) {
_uU2._BU2 = index;
break;
}
}
var _wU2 = [];
for (var _Z11 = 0; _Z11 < 9; _Z11++) {
_wU2[_Z11] = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
}
_uU2._wU2 = new _Fk1();
_uU2._wU2._Z11[_cm1] = _wU2[0];
_uU2._wU2._Z11[_dm1] = _wU2[1];
_uU2._wU2._Z11[_fm1] = _wU2[2];
_uU2._wU2._Z11[_gm1] = _wU2[3];
_uU2._wU2._Z11[_6l1] = _wU2[4];
_uU2._wU2._Z11[_im1] = _wU2[5];
}
break;
}
_sU2._mU2.push(_uU2);
}
return _PT2;
};
function _CU2(_Mb1, _Nb1, _7s2) {
var _tK1 = document.createElement(_0p1);
var _uK1 = _tK1.getContext("2d");
_vK1(_uK1);
var _V71 = _131._8s2(_tK1, _7s2, _Mb1, _Nb1);
var _be1 = new _ce1();
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _V71._Cr2;
_be1.__9 = _V71._Dr2;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _Mb1;
_be1._ek = _Nb1;
_be1._fk = _zK1(_tK1);
_be1._f31 = _g31[_be1._fk];
_be1._f31._o51 = _V71;
_be1._f31._X71 = _tK1.width;
_be1._f31._Y71 = _tK1.height;
return _be1;
}
_dU2.prototype._DU2 = function (_EU2, _FU2) {
if (_EU2._xU2 <= 0) {
return 0;
}
_FU2 = _FU2 < 0 ? 0 : _FU2 > 255 ? 255 : _FU2;
if (_FU2 < _EU2._yU2[0]._wf2) {
return _EU2._yU2[0]._L31;
}
for (var _X9 = 1; _X9 < _EU2._xU2; _X9++) {
var _GU2 = _EU2._yU2[_X9];
if (_GU2._wf2 >= _FU2) {
var _HU2 = _EU2._yU2[_X9 - 1];
var _IU2 = 0;
if (_GU2._wf2 != _HU2._wf2) {
_IU2 = ((_FU2 - _HU2._wf2) << 8) / (_GU2._wf2 - _HU2._wf2);
}
var _JU2 = 256 - _IU2;
var _L31 = _GU2._L31;
var _KU2 = _HU2._L31;
var _LU2 = [];
_LU2[0] = ((_L31 & 0xff) * _IU2) >> 8;
_LU2[1] = (((_L31 >> 8) & 0xff) * _IU2) >> 8;
_LU2[2] = (((_L31 >> 16) & 0xff) * _IU2) >> 8;
_LU2[3] = (((_L31 >> 24) & 0xff) * _IU2) >> 8;
_LU2[0] += ((_KU2 & 0xff) * _JU2) >> 8;
_LU2[1] += (((_KU2 >> 8) & 0xff) * _JU2) >> 8;
_LU2[2] += (((_KU2 >> 16) & 0xff) * _JU2) >> 8;
_LU2[3] += (((_KU2 >> 24) & 0xff) * _JU2) >> 8;
var _MU2 = _LU2[0] | (_LU2[1] << 8) | (_LU2[2] << 16) | (_LU2[3] << 24);
return _MU2;
}
}
return _EU2._yU2[_EU2._xU2 - 1]._L31;
};
_dU2.prototype._qU2 = function (_sU2, _OT2, _PT2, _QT2) {
_sU2._nU2 = [];
for (var _X9 = 0; _X9 < _sU2._jU2; _X9++) {
var _Ue1 = _OT2.getUint8(_PT2, _QT2);
_PT2++;
var _Ve1 = _OT2.getUint8(_PT2, _QT2);
_PT2++;
var _We1 = _OT2.getUint8(_PT2, _QT2);
_PT2++;
var alpha = _OT2.getUint8(_PT2, _QT2);
_PT2++;
_sU2._nU2.push({ _L31: _Ue1 | (_Ve1 << 8) | (_We1 << 16) | (alpha << 24) });
}
return _PT2;
};
_dU2.prototype._rU2 = function (_sU2, _OT2, _PT2, _QT2) {
var _X9, _Z11;
_sU2._oU2 = [];
for (_X9 = 0; _X9 < _sU2._kU2; _X9++) {
var _NU2 = {};
_sU2._oU2.push(_NU2);
_NU2._OU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_NU2._PU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_NU2._QU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_NU2._RU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_NU2._SU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_NU2._TU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_NU2._UU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_NU2._VU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
if (_cU2.version >= 2) {
_NU2._WU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_NU2._XU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
}
if (_cU2.version >= 3) {
_NU2._YU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_NU2._ZU2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
}
_NU2.__U2 = _NU2._RU2 > 0 ? [] : null;
_NU2._0V2 = _NU2._SU2 > 0 ? [] : null;
_NU2._1V2 = _NU2._TU2 > 0 ? [] : null;
_NU2._2V2 = _NU2._UU2 > 0 ? [] : null;
_NU2._3V2 = _NU2._VU2 > 0 ? [] : null;
_NU2._4V2 = _NU2._WU2 ? [] : null;
_NU2._5V2 = _NU2._XU2 ? [] : null;
_NU2._6V2 = _NU2._YU2 ? [] : null;
_NU2._7V2 = _NU2._ZU2 ? [] : null;
for (_Z11 = 0; _Z11 < _NU2._RU2 * 2; _Z11++) {
_NU2.__U2[_Z11] = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
}
for (_Z11 = 0; _Z11 < _NU2._SU2 * 2; _Z11++) {
_NU2._8V2[_Z11] = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
}
for (_Z11 = 0; _Z11 < _NU2._TU2 * 3; _Z11++) {
_NU2._1V2[_Z11] = _OT2.getUint32(_PT2, _QT2);
_PT2 += 4;
}
for (_Z11 = 0; _Z11 < _NU2._UU2 * 2; _Z11++) {
_NU2._2V2[_Z11] = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
}
for (_Z11 = 0; _Z11 < _NU2._VU2 * 3; _Z11++) {
_NU2._3V2[_Z11] = _OT2.getUint32(_PT2, _QT2);
_PT2 += 4;
}
if (_cU2.version >= 2) {
for (_Z11 = 0; _Z11 < _NU2._WU2 * 2; _Z11++) {
_NU2._4V2[_Z11] = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
}
for (_Z11 = 0; _Z11 < _NU2._XU2 * 2; _Z11++) {
_NU2._5V2[_Z11] = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
}
}
if (_cU2.version >= 3) {
for (_Z11 = 0; _Z11 < _NU2._YU2 * 2; _Z11++) {
_NU2._6V2[_Z11] = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
}
for (_Z11 = 0; _Z11 < _NU2._ZU2 * 2; _Z11++) {
_NU2._7V2[_Z11] = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
}
}
}
return _PT2;
};
var _9V2 = 1.0 / 20.0;
/*@constructor */ function _aV2() {
this._bV2 = 0;
this._cV2 = 0;
this._K11 = 0;
this._L11 = 0;
this._M11 = 0;
this._N11 = 0;
this._dV2 = null;
}
_aV2.prototype._eV2 = function (_OT2, _PT2, _QT2) {
this._bV2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
this._cV2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
this._K11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
this._L11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
this._M11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
this._N11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
var _fV2, _gV2, _hV2;
_fV2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_gV2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_hV2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
this._dV2 = { _fV2: _fV2, _gV2: _gV2, _hV2: _hV2 };
this._iV2 = [];
for (var _X9 = 0; _X9 < this._cV2; _X9++) {
var _jV2 = {};
this._iV2.push(_jV2);
_jV2._kV2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_jV2._K11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
_jV2._L11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
_jV2._M11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
_jV2._N11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
_jV2._lV2 = [];
for (var _i21 = 0; _i21 < _jV2._kV2; _i21++) {
var _fw1 = {};
_jV2._lV2.push(_fw1);
_fw1._rw1 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_fw1.index = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_fw1._Xf = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
_fw1._mV2 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var _nV2 = [];
for (var _Sc1 = 0; _Sc1 < 4; _Sc1++) {
_nV2[_Sc1] = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
}
var _oV2 = [];
for (var _Sc1 = 0; _Sc1 < 4; _Sc1++) {
_oV2[_Sc1] = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
}
_fw1._pV2 = [];
_fw1._qV2 = [];
_fw1._rV2 = [];
_fw1._pV2[0] = _nV2[2];
_fw1._qV2[0] = _oV2[2];
_fw1._rV2[0] = 0;
_fw1._pV2[1] = _nV2[1];
_fw1._qV2[1] = _oV2[1];
_fw1._rV2[1] = _oV2[1];
_fw1._pV2[2] = _nV2[0];
_fw1._qV2[2] = _oV2[0];
_fw1._rV2[2] = _oV2[0];
_fw1._pV2[3] = _nV2[3];
_fw1._qV2[3] = _oV2[3];
_fw1._rV2[3] = _oV2[3];
_fw1._K11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
_fw1._L11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
_fw1._M11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
_fw1._N11 = _OT2.getFloat32(_PT2, _QT2) * _9V2;
_PT2 += 4;
var _wU2 = [];
for (var _Sc1 = 0; _Sc1 < 9; _Sc1++) {
_wU2[_Sc1] = _OT2.getFloat32(_PT2, _QT2);
_PT2 += 4;
}
_fw1._wU2 = new _Fk1();
_fw1._wU2._Z11[_cm1] = _wU2[0];
_fw1._wU2._Z11[_dm1] = _wU2[1];
_fw1._wU2._Z11[_fm1] = _wU2[2];
_fw1._wU2._Z11[_gm1] = _wU2[3];
_fw1._wU2._Z11[_6l1] = _wU2[4];
_fw1._wU2._Z11[_im1] = _wU2[5];
}
}
return _PT2;
};
/*@license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */ (function () {
"use strict";
var _W11 = void 0,
_Z9 = !0,
_vM2 = this;
function _sV2(_xp1, _Ce1) {
var _Y9 = _xp1.split("."),
e = _vM2;
!(_Y9[0] in e) && e._tV2 && e._tV2("var " + _Y9[0]);
for (var _e21; _Y9.length && (_e21 = _Y9.shift()); ) !_Y9.length && _Ce1 !== _W11 ? (e[_e21] = _Ce1) : (e = e[_e21] ? e[_e21] : (e[_e21] = {}));
}
var _zT1 = "undefined" !== typeof Uint8Array && "undefined" !== typeof Uint16Array && "undefined" !== typeof Uint32Array && "undefined" !== typeof DataView;
function _2e2(_xp1, _Ce1) {
this.index = "number" === typeof _Ce1 ? _Ce1 : 0;
this.e = 0;
this.buffer = _xp1 instanceof (_zT1 ? Uint8Array : Array) ? _xp1 : new (_zT1 ? Uint8Array : Array)(32768);
if (2 * this.buffer.length <= this.index) throw Error("invalid index");
this.buffer.length <= this.index && _uV2(this);
}
function _uV2(_xp1) {
var _Ce1 = _xp1.buffer,
_Y9,
e = _Ce1.length,
_e21 = new (_zT1 ? Uint8Array : Array)(e << 1);
if (_zT1) _e21.set(_Ce1);
else for (_Y9 = 0; _Y9 < e; ++_Y9) _e21[_Y9] = _Ce1[_Y9];
return (_xp1.buffer = _e21);
}
_2e2.prototype._e21 = function (_xp1, _Ce1, _Y9) {
var e = this.buffer,
_e21 = this.index,
_l41 = this.e,
_k41 = e[_e21],
_Z11;
_Y9 && 1 < _Ce1 && (_xp1 = 8 < _Ce1 ? ((_uj2[_xp1 & 255] << 24) | (_uj2[(_xp1 >>> 8) & 255] << 16) | (_uj2[(_xp1 >>> 16) & 255] << 8) | _uj2[(_xp1 >>> 24) & 255]) >> (32 - _Ce1) : _uj2[_xp1] >> (8 - _Ce1));
if (8 > _Ce1 + _l41) (_k41 = (_k41 << _Ce1) | _xp1), (_l41 += _Ce1);
else for (_Z11 = 0; _Z11 < _Ce1; ++_Z11) (_k41 = (_k41 << 1) | ((_xp1 >> (_Ce1 - _Z11 - 1)) & 1)), 8 === ++_l41 && ((_l41 = 0), (e[_e21++] = _uj2[_k41]), (_k41 = 0), _e21 === e.length && (e = _uV2(this)));
e[_e21] = _k41;
this.buffer = e;
this.e = _l41;
this.index = _e21;
};
_2e2.prototype._Gm2 = function () {
var _xp1 = this.buffer,
_Ce1 = this.index,
_Y9;
0 < this.e && ((_xp1[_Ce1] <<= 8 - this.e), (_xp1[_Ce1] = _uj2[_xp1[_Ce1]]), _Ce1++);
_zT1 ? (_Y9 = _xp1.subarray(0, _Ce1)) : ((_xp1.length = _Ce1), (_Y9 = _xp1));
return _Y9;
};
var _Ec2 = new (_zT1 ? Uint8Array : Array)(256),
_US1;
for (_US1 = 0; 256 > _US1; ++_US1) {
for (var _vV2 = _US1, _wV2 = _vV2, _xV2 = 7, _vV2 = _vV2 >>> 1; _vV2; _vV2 >>>= 1) (_wV2 <<= 1), (_wV2 |= _vV2 & 1), --_xV2;
_Ec2[_US1] = ((_wV2 << _xV2) & 255) >>> 0;
}
var _uj2 = _Ec2;
function _RL2(_xp1) {
this.buffer = new (_zT1 ? Uint16Array : Array)(2 * _xp1);
this.length = 0;
}
_RL2.prototype._yV2 = function (_xp1) {
return 2 * (((_xp1 - 2) / 4) | 0);
};
_RL2.prototype.push = function (_xp1, _Ce1) {
var _Y9,
e,
_e21 = this.buffer,
_l41;
_Y9 = this.length;
_e21[this.length++] = _Ce1;
for (_e21[this.length++] = _xp1; 0 < _Y9; )
if (((e = this._yV2(_Y9)), _e21[_Y9] > _e21[e])) (_l41 = _e21[_Y9]), (_e21[_Y9] = _e21[e]), (_e21[e] = _l41), (_l41 = _e21[_Y9 + 1]), (_e21[_Y9 + 1] = _e21[e + 1]), (_e21[e + 1] = _l41), (_Y9 = e);
else break;
return this.length;
};
_RL2.prototype.pop = function () {
var _xp1,
_Ce1,
_Y9 = this.buffer,
e,
_e21,
_l41;
_Ce1 = _Y9[0];
_xp1 = _Y9[1];
this.length -= 2;
_Y9[0] = _Y9[this.length];
_Y9[1] = _Y9[this.length + 1];
for (_l41 = 0; ; ) {
_e21 = 2 * _l41 + 2;
if (_e21 >= this.length) break;
_e21 + 2 < this.length && _Y9[_e21 + 2] > _Y9[_e21] && (_e21 += 2);
if (_Y9[_e21] > _Y9[_l41]) (e = _Y9[_l41]), (_Y9[_l41] = _Y9[_e21]), (_Y9[_e21] = e), (e = _Y9[_l41 + 1]), (_Y9[_l41 + 1] = _Y9[_e21 + 1]), (_Y9[_e21 + 1] = e);
else break;
_l41 = _e21;
}
return { index: _xp1, value: _Ce1, length: this.length };
};
function _Ga2(_xp1, _Ce1) {
this._Ce1 = _CL2;
this._X9 = 0;
this._Ir1 = _zT1 && _xp1 instanceof Array ? new Uint8Array(_xp1) : _xp1;
this._Y9 = 0;
_Ce1 &&
(_Ce1._zV2 && (this._X9 = _Ce1._zV2),
"number" === typeof _Ce1._AV2 && (this._Ce1 = _Ce1._AV2),
_Ce1.outputBuffer && (this._l41 = _zT1 && _Ce1.outputBuffer instanceof Array ? new Uint8Array(_Ce1.outputBuffer) : _Ce1.outputBuffer),
"number" === typeof _Ce1._BV2 && (this._Y9 = _Ce1._BV2));
this._l41 || (this._l41 = new (_zT1 ? Uint8Array : Array)(32768));
}
var _CL2 = 2,
_CV2 = { _6N2: 0, __9: 1, _k41: _CL2, _W11: 3 },
_wT1 = [],
_DV2;
for (_DV2 = 0; 288 > _DV2; _DV2++)
switch (_Z9) {
case 143 >= _DV2:
_wT1.push([_DV2 + 48, 8]);
break;
case 255 >= _DV2:
_wT1.push([_DV2 - 144 + 400, 9]);
break;
case 279 >= _DV2:
_wT1.push([_DV2 - 256 + 0, 7]);
break;
case 287 >= _DV2:
_wT1.push([_DV2 - 280 + 192, 8]);
break;
default:
throw "invalid literal: " + _DV2;
}
_Ga2.prototype._xp1 = function () {
var _xp1,
_Ce1,
_Y9,
e,
_e21 = this._Ir1;
switch (this._Ce1) {
case 0:
_Y9 = 0;
for (e = _e21.length; _Y9 < e; ) {
_Ce1 = _zT1 ? _e21.subarray(_Y9, _Y9 + 65535) : _e21.slice(_Y9, _Y9 + 65535);
_Y9 += _Ce1.length;
var _l41 = _Ce1,
_k41 = _Y9 === e,
_Z11 = _W11,
_Sc1 = _W11,
_ot1 = _W11,
_d21 = _W11,
_P41 = _W11,
_921 = this._l41,
__9 = this._Y9;
if (_zT1) {
for (_921 = new Uint8Array(this._l41.buffer); _921.length <= __9 + _l41.length + 5; ) _921 = new Uint8Array(_921.length << 1);
_921.set(this._l41);
}
_Z11 = _k41 ? 1 : 0;
_921[__9++] = _Z11 | 0;
_Sc1 = _l41.length;
_ot1 = (~_Sc1 + 65536) & 65535;
_921[__9++] = _Sc1 & 255;
_921[__9++] = (_Sc1 >>> 8) & 255;
_921[__9++] = _ot1 & 255;
_921[__9++] = (_ot1 >>> 8) & 255;
if (_zT1) _921.set(_l41, __9), (__9 += _l41.length), (_921 = _921.subarray(0, __9));
else {
_d21 = 0;
for (_P41 = _l41.length; _d21 < _P41; ++_d21) _921[__9++] = _l41[_d21];
_921.length = __9;
}
this._Y9 = __9;
this._l41 = _921;
}
break;
case 1:
var _Yr1 = new _2e2(_zT1 ? new Uint8Array(this._l41.buffer) : this._l41, this._Y9);
_Yr1._e21(1, 1, _Z9);
_Yr1._e21(1, 2, _Z9);
var _Wo1 = _ib2(this, _e21),
x,
_EV2,
_L61;
x = 0;
for (_EV2 = _Wo1.length; x < _EV2; x++)
if (((_L61 = _Wo1[x]), _2e2.prototype._e21.apply(_Yr1, _wT1[_L61]), 256 < _L61)) _Yr1._e21(_Wo1[++x], _Wo1[++x], _Z9), _Yr1._e21(_Wo1[++x], 5), _Yr1._e21(_Wo1[++x], _Wo1[++x], _Z9);
else if (256 === _L61) break;
this._l41 = _Yr1._Gm2();
this._Y9 = this._l41.length;
break;
case _CL2:
var _FS1 = new _2e2(_zT1 ? new Uint8Array(this._l41.buffer) : this._l41, this._Y9),
_wM2,
_FV2,
_GV2,
_x_1,
_w_1,
_HV2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15],
_vl1,
_nP2,
_wl1,
_IV2,
_JV2,
_KV2 = Array(19),
_LV2,
_mH2,
_MV2,
y,
_bg1;
_wM2 = _CL2;
_FS1._e21(1, 1, _Z9);
_FS1._e21(_wM2, 2, _Z9);
_FV2 = _ib2(this, _e21);
_vl1 = _Ea2(this._Z11, 15);
_nP2 = _NV2(_vl1);
_wl1 = _Ea2(this._921, 7);
_IV2 = _NV2(_wl1);
for (_GV2 = 286; 257 < _GV2 && 0 === _vl1[_GV2 - 1]; _GV2--);
for (_x_1 = 30; 1 < _x_1 && 0 === _wl1[_x_1 - 1]; _x_1--);
var _cg1 = _GV2,
_dg1 = _x_1,
_I12 = new (_zT1 ? Uint32Array : Array)(_cg1 + _dg1),
_b21,
_J12,
_J41,
_xl1,
_M12 = new (_zT1 ? Uint32Array : Array)(316),
_OV1,
_vR1,
_OV2 = new (_zT1 ? Uint8Array : Array)(19);
for (_b21 = _J12 = 0; _b21 < _cg1; _b21++) _I12[_J12++] = _vl1[_b21];
for (_b21 = 0; _b21 < _dg1; _b21++) _I12[_J12++] = _wl1[_b21];
if (!_zT1) {
_b21 = 0;
for (_xl1 = _OV2.length; _b21 < _xl1; ++_b21) _OV2[_b21] = 0;
}
_b21 = _OV1 = 0;
for (_xl1 = _I12.length; _b21 < _xl1; _b21 += _J12) {
for (_J12 = 1; _b21 + _J12 < _xl1 && _I12[_b21 + _J12] === _I12[_b21]; ++_J12);
_J41 = _J12;
if (0 === _I12[_b21])
if (3 > _J41) for (; 0 < _J41--; ) (_M12[_OV1++] = 0), _OV2[0]++;
else
for (; 0 < _J41; )
(_vR1 = 138 > _J41 ? _J41 : 138),
_vR1 > _J41 - 3 && _vR1 < _J41 && (_vR1 = _J41 - 3),
10 >= _vR1 ? ((_M12[_OV1++] = 17), (_M12[_OV1++] = _vR1 - 3), _OV2[17]++) : ((_M12[_OV1++] = 18), (_M12[_OV1++] = _vR1 - 11), _OV2[18]++),
(_J41 -= _vR1);
else if (((_M12[_OV1++] = _I12[_b21]), _OV2[_I12[_b21]]++, _J41--, 3 > _J41)) for (; 0 < _J41--; ) (_M12[_OV1++] = _I12[_b21]), _OV2[_I12[_b21]]++;
else for (; 0 < _J41; ) (_vR1 = 6 > _J41 ? _J41 : 6), _vR1 > _J41 - 3 && _vR1 < _J41 && (_vR1 = _J41 - 3), (_M12[_OV1++] = 16), (_M12[_OV1++] = _vR1 - 3), _OV2[16]++, (_J41 -= _vR1);
}
_xp1 = _zT1 ? _M12.subarray(0, _OV1) : _M12.slice(0, _OV1);
_JV2 = _Ea2(_OV2, 7);
for (y = 0; 19 > y; y++) _KV2[y] = _JV2[_HV2[y]];
for (_w_1 = 19; 4 < _w_1 && 0 === _KV2[_w_1 - 1]; _w_1--);
_LV2 = _NV2(_JV2);
_FS1._e21(_GV2 - 257, 5, _Z9);
_FS1._e21(_x_1 - 1, 5, _Z9);
_FS1._e21(_w_1 - 4, 4, _Z9);
for (y = 0; y < _w_1; y++) _FS1._e21(_KV2[y], 3, _Z9);
y = 0;
for (_bg1 = _xp1.length; y < _bg1; y++)
if (((_mH2 = _xp1[y]), _FS1._e21(_LV2[_mH2], _JV2[_mH2], _Z9), 16 <= _mH2)) {
y++;
switch (_mH2) {
case 16:
_MV2 = 2;
break;
case 17:
_MV2 = 3;
break;
case 18:
_MV2 = 7;
break;
default:
throw "invalid code: " + _mH2;
}
_FS1._e21(_xp1[y], _MV2, _Z9);
}
var _PV2 = [_nP2, _vl1],
_QV2 = [_IV2, _wl1],
_qU1,
_RV2,
$,
_1S1,
_SV2,
_TV2,
_UV2,
_VV2;
_SV2 = _PV2[0];
_TV2 = _PV2[1];
_UV2 = _QV2[0];
_VV2 = _QV2[1];
_qU1 = 0;
for (_RV2 = _FV2.length; _qU1 < _RV2; ++_qU1)
if ((($ = _FV2[_qU1]), _FS1._e21(_SV2[$], _TV2[$], _Z9), 256 < $)) _FS1._e21(_FV2[++_qU1], _FV2[++_qU1], _Z9), (_1S1 = _FV2[++_qU1]), _FS1._e21(_UV2[_1S1], _VV2[_1S1], _Z9), _FS1._e21(_FV2[++_qU1], _FV2[++_qU1], _Z9);
else if (256 === $) break;
this._l41 = _FS1._Gm2();
this._Y9 = this._l41.length;
break;
default:
throw "invalid compression type";
}
return this._l41;
};
function _UL2(_xp1, _Ce1) {
this.length = _xp1;
this._Sc1 = _Ce1;
}
var _WV2 = (function () {
function _xp1(_e21) {
switch (_Z9) {
case 3 === _e21:
return [257, _e21 - 3, 0];
case 4 === _e21:
return [258, _e21 - 4, 0];
case 5 === _e21:
return [259, _e21 - 5, 0];
case 6 === _e21:
return [260, _e21 - 6, 0];
case 7 === _e21:
return [261, _e21 - 7, 0];
case 8 === _e21:
return [262, _e21 - 8, 0];
case 9 === _e21:
return [263, _e21 - 9, 0];
case 10 === _e21:
return [264, _e21 - 10, 0];
case 12 >= _e21:
return [265, _e21 - 11, 1];
case 14 >= _e21:
return [266, _e21 - 13, 1];
case 16 >= _e21:
return [267, _e21 - 15, 1];
case 18 >= _e21:
return [268, _e21 - 17, 1];
case 22 >= _e21:
return [269, _e21 - 19, 2];
case 26 >= _e21:
return [270, _e21 - 23, 2];
case 30 >= _e21:
return [271, _e21 - 27, 2];
case 34 >= _e21:
return [272, _e21 - 31, 2];
case 42 >= _e21:
return [273, _e21 - 35, 3];
case 50 >= _e21:
return [274, _e21 - 43, 3];
case 58 >= _e21:
return [275, _e21 - 51, 3];
case 66 >= _e21:
return [276, _e21 - 59, 3];
case 82 >= _e21:
return [277, _e21 - 67, 4];
case 98 >= _e21:
return [278, _e21 - 83, 4];
case 114 >= _e21:
return [279, _e21 - 99, 4];
case 130 >= _e21:
return [280, _e21 - 115, 4];
case 162 >= _e21:
return [281, _e21 - 131, 5];
case 194 >= _e21:
return [282, _e21 - 163, 5];
case 226 >= _e21:
return [283, _e21 - 195, 5];
case 257 >= _e21:
return [284, _e21 - 227, 5];
case 258 === _e21:
return [285, _e21 - 258, 0];
default:
throw "invalid length: " + _e21;
}
}
var _Ce1 = [],
_Y9,
e;
for (_Y9 = 3; 258 >= _Y9; _Y9++) (e = _xp1(_Y9)), (_Ce1[_Y9] = (e[2] << 24) | (e[1] << 16) | e[0]);
return _Ce1;
})(),
_XV2 = _zT1 ? new Uint32Array(_WV2) : _WV2;
function _ib2(_xp1, _Ce1) {
function _Y9(_e21, _Y9) {
var _l41 = _e21._Sc1,
_Ce1 = [],
e = 0,
_xp1;
_xp1 = _XV2[_e21.length];
_Ce1[e++] = _xp1 & 65535;
_Ce1[e++] = (_xp1 >> 16) & 255;
_Ce1[e++] = _xp1 >> 24;
var _k41;
switch (_Z9) {
case 1 === _l41:
_k41 = [0, _l41 - 1, 0];
break;
case 2 === _l41:
_k41 = [1, _l41 - 2, 0];
break;
case 3 === _l41:
_k41 = [2, _l41 - 3, 0];
break;
case 4 === _l41:
_k41 = [3, _l41 - 4, 0];
break;
case 6 >= _l41:
_k41 = [4, _l41 - 5, 1];
break;
case 8 >= _l41:
_k41 = [5, _l41 - 7, 1];
break;
case 12 >= _l41:
_k41 = [6, _l41 - 9, 2];
break;
case 16 >= _l41:
_k41 = [7, _l41 - 13, 2];
break;
case 24 >= _l41:
_k41 = [8, _l41 - 17, 3];
break;
case 32 >= _l41:
_k41 = [9, _l41 - 25, 3];
break;
case 48 >= _l41:
_k41 = [10, _l41 - 33, 4];
break;
case 64 >= _l41:
_k41 = [11, _l41 - 49, 4];
break;
case 96 >= _l41:
_k41 = [12, _l41 - 65, 5];
break;
case 128 >= _l41:
_k41 = [13, _l41 - 97, 5];
break;
case 192 >= _l41:
_k41 = [14, _l41 - 129, 6];
break;
case 256 >= _l41:
_k41 = [15, _l41 - 193, 6];
break;
case 384 >= _l41:
_k41 = [16, _l41 - 257, 7];
break;
case 512 >= _l41:
_k41 = [17, _l41 - 385, 7];
break;
case 768 >= _l41:
_k41 = [18, _l41 - 513, 8];
break;
case 1024 >= _l41:
_k41 = [19, _l41 - 769, 8];
break;
case 1536 >= _l41:
_k41 = [20, _l41 - 1025, 9];
break;
case 2048 >= _l41:
_k41 = [21, _l41 - 1537, 9];
break;
case 3072 >= _l41:
_k41 = [22, _l41 - 2049, 10];
break;
case 4096 >= _l41:
_k41 = [23, _l41 - 3073, 10];
break;
case 6144 >= _l41:
_k41 = [24, _l41 - 4097, 11];
break;
case 8192 >= _l41:
_k41 = [25, _l41 - 6145, 11];
break;
case 12288 >= _l41:
_k41 = [26, _l41 - 8193, 12];
break;
case 16384 >= _l41:
_k41 = [27, _l41 - 12289, 12];
break;
case 24576 >= _l41:
_k41 = [28, _l41 - 16385, 13];
break;
case 32768 >= _l41:
_k41 = [29, _l41 - 24577, 13];
break;
default:
throw "invalid distance";
}
_xp1 = _k41;
_Ce1[e++] = _xp1[0];
_Ce1[e++] = _xp1[1];
_Ce1[e++] = _xp1[2];
var _Sc1, _Z11;
_Sc1 = 0;
for (_Z11 = _Ce1.length; _Sc1 < _Z11; ++_Sc1) _921[__9++] = _Ce1[_Sc1];
_Wo1[_Ce1[0]]++;
x[_Ce1[3]]++;
_Yr1 = _e21.length + _Y9 - 1;
_P41 = null;
}
var e,
_e21,
_l41,
_k41,
_Z11,
_Sc1 = {},
_ot1,
_d21,
_P41,
_921 = _zT1 ? new Uint16Array(2 * _Ce1.length) : [],
__9 = 0,
_Yr1 = 0,
_Wo1 = new (_zT1 ? Uint32Array : Array)(286),
x = new (_zT1 ? Uint32Array : Array)(30),
_EV2 = _xp1._X9,
_L61;
if (!_zT1) {
for (_l41 = 0; 285 >= _l41; ) _Wo1[_l41++] = 0;
for (_l41 = 0; 29 >= _l41; ) x[_l41++] = 0;
}
_Wo1[256] = 1;
e = 0;
for (_e21 = _Ce1.length; e < _e21; ++e) {
_l41 = _Z11 = 0;
for (_k41 = 3; _l41 < _k41 && e + _l41 !== _e21; ++_l41) _Z11 = (_Z11 << 8) | _Ce1[e + _l41];
_Sc1[_Z11] === _W11 && (_Sc1[_Z11] = []);
_ot1 = _Sc1[_Z11];
if (!(0 < _Yr1--)) {
for (; 0 < _ot1.length && 32768 < e - _ot1[0]; ) _ot1.shift();
if (e + 3 >= _e21) {
_P41 && _Y9(_P41, -1);
_l41 = 0;
for (_k41 = _e21 - e; _l41 < _k41; ++_l41) (_L61 = _Ce1[e + _l41]), (_921[__9++] = _L61), ++_Wo1[_L61];
break;
}
0 < _ot1.length
? ((_d21 = _YV2(_Ce1, e, _ot1)), _P41 ? (_P41.length < _d21.length ? ((_L61 = _Ce1[e - 1]), (_921[__9++] = _L61), ++_Wo1[_L61], _Y9(_d21, 0)) : _Y9(_P41, -1)) : _d21.length < _EV2 ? (_P41 = _d21) : _Y9(_d21, 0))
: _P41
? _Y9(_P41, -1)
: ((_L61 = _Ce1[e]), (_921[__9++] = _L61), ++_Wo1[_L61]);
}
_ot1.push(e);
}
_921[__9++] = 256;
_Wo1[256]++;
_xp1._Z11 = _Wo1;
_xp1._921 = x;
return _zT1 ? _921.subarray(0, __9) : _921;
}
function _YV2(_xp1, _Ce1, _Y9) {
var e,
_e21,
_l41 = 0,
_k41,
_Z11,
_Sc1,
_ot1,
_d21 = _xp1.length;
_Z11 = 0;
_ot1 = _Y9.length;
_l41: for (; _Z11 < _ot1; _Z11++) {
e = _Y9[_ot1 - _Z11 - 1];
_k41 = 3;
if (3 < _l41) {
for (_Sc1 = _l41; 3 < _Sc1; _Sc1--) if (_xp1[e + _Sc1 - 1] !== _xp1[_Ce1 + _Sc1 - 1]) continue _l41;
_k41 = _l41;
}
for (; 258 > _k41 && _Ce1 + _k41 < _d21 && _xp1[e + _k41] === _xp1[_Ce1 + _k41]; ) ++_k41;
_k41 > _l41 && ((_e21 = e), (_l41 = _k41));
if (258 === _k41) break;
}
return new _UL2(_l41, _Ce1 - _e21);
}
function _Ea2(_xp1, _Ce1) {
var _Y9 = _xp1.length,
e = new _RL2(572),
_e21 = new (_zT1 ? Uint8Array : Array)(_Y9),
_l41,
_k41,
_Z11,
_Sc1,
_ot1;
if (!_zT1) for (_Sc1 = 0; _Sc1 < _Y9; _Sc1++) _e21[_Sc1] = 0;
for (_Sc1 = 0; _Sc1 < _Y9; ++_Sc1) 0 < _xp1[_Sc1] && e.push(_Sc1, _xp1[_Sc1]);
_l41 = Array(e.length / 2);
_k41 = new (_zT1 ? Uint32Array : Array)(e.length / 2);
if (1 === _l41.length) return (_e21[e.pop().index] = 1), _e21;
_Sc1 = 0;
for (_ot1 = e.length / 2; _Sc1 < _ot1; ++_Sc1) (_l41[_Sc1] = e.pop()), (_k41[_Sc1] = _l41[_Sc1].value);
_Z11 = _ZV2(_k41, _k41.length, _Ce1);
_Sc1 = 0;
for (_ot1 = _l41.length; _Sc1 < _ot1; ++_Sc1) _e21[_l41[_Sc1].index] = _Z11[_Sc1];
return _e21;
}
function _ZV2(_xp1, _Ce1, _Y9) {
function e(_l41) {
var _e21 = _Sc1[_l41][_ot1[_l41]];
_e21 === _Ce1 ? (e(_l41 + 1), e(_l41 + 1)) : --_k41[_e21];
++_ot1[_l41];
}
var _e21 = new (_zT1 ? Uint16Array : Array)(_Y9),
_l41 = new (_zT1 ? Uint8Array : Array)(_Y9),
_k41 = new (_zT1 ? Uint8Array : Array)(_Ce1),
_Z11 = Array(_Y9),
_Sc1 = Array(_Y9),
_ot1 = Array(_Y9),
_d21 = (1 << _Y9) - _Ce1,
_P41 = 1 << (_Y9 - 1),
_921,
__9,
_Yr1,
_Wo1,
x;
_e21[_Y9 - 1] = _Ce1;
for (__9 = 0; __9 < _Y9; ++__9) _d21 < _P41 ? (_l41[__9] = 0) : ((_l41[__9] = 1), (_d21 -= _P41)), (_d21 <<= 1), (_e21[_Y9 - 2 - __9] = ((_e21[_Y9 - 1 - __9] / 2) | 0) + _Ce1);
_e21[0] = _l41[0];
_Z11[0] = Array(_e21[0]);
_Sc1[0] = Array(_e21[0]);
for (__9 = 1; __9 < _Y9; ++__9) _e21[__9] > 2 * _e21[__9 - 1] + _l41[__9] && (_e21[__9] = 2 * _e21[__9 - 1] + _l41[__9]), (_Z11[__9] = Array(_e21[__9])), (_Sc1[__9] = Array(_e21[__9]));
for (_921 = 0; _921 < _Ce1; ++_921) _k41[_921] = _Y9;
for (_Yr1 = 0; _Yr1 < _e21[_Y9 - 1]; ++_Yr1) (_Z11[_Y9 - 1][_Yr1] = _xp1[_Yr1]), (_Sc1[_Y9 - 1][_Yr1] = _Yr1);
for (_921 = 0; _921 < _Y9; ++_921) _ot1[_921] = 0;
1 === _l41[_Y9 - 1] && (--_k41[0], ++_ot1[_Y9 - 1]);
for (__9 = _Y9 - 2; 0 <= __9; --__9) {
_Wo1 = _921 = 0;
x = _ot1[__9 + 1];
for (_Yr1 = 0; _Yr1 < _e21[__9]; _Yr1++)
(_Wo1 = _Z11[__9 + 1][x] + _Z11[__9 + 1][x + 1]), _Wo1 > _xp1[_921] ? ((_Z11[__9][_Yr1] = _Wo1), (_Sc1[__9][_Yr1] = _Ce1), (x += 2)) : ((_Z11[__9][_Yr1] = _xp1[_921]), (_Sc1[__9][_Yr1] = _921), ++_921);
_ot1[__9] = 0;
1 === _l41[__9] && e(__9);
}
return _k41;
}
function _NV2(_xp1) {
var _Ce1 = new (_zT1 ? Uint16Array : Array)(_xp1.length),
_Y9 = [],
e = [],
_e21 = 0,
_l41,
_k41,
_Z11,
_Sc1;
_l41 = 0;
for (_k41 = _xp1.length; _l41 < _k41; _l41++) _Y9[_xp1[_l41]] = (_Y9[_xp1[_l41]] | 0) + 1;
_l41 = 1;
for (_k41 = 16; _l41 <= _k41; _l41++) (e[_l41] = _e21), (_e21 += _Y9[_l41] | 0), (_e21 <<= 1);
_l41 = 0;
for (_k41 = _xp1.length; _l41 < _k41; _l41++) {
_e21 = e[_xp1[_l41]];
e[_xp1[_l41]] += 1;
_Z11 = _Ce1[_l41] = 0;
for (_Sc1 = _xp1[_l41]; _Z11 < _Sc1; _Z11++) (_Ce1[_l41] = (_Ce1[_l41] << 1) | (_e21 & 1)), (_e21 >>>= 1);
}
return _Ce1;
}
function __V2(_xp1, _Ce1) {
this._Ir1 = _xp1;
this._l41 = new (_zT1 ? Uint8Array : Array)(32768);
this._Ce1 = _0W2._k41;
var _Y9 = {},
e;
if ((_Ce1 || !(_Ce1 = {})) && "number" === typeof _Ce1._AV2) this._Ce1 = _Ce1._AV2;
for (e in _Ce1) _Y9[e] = _Ce1[e];
_Y9.outputBuffer = this._l41;
this._i21 = new _Ga2(this._Ir1, _Y9);
}
var _0W2 = _CV2;
__V2.prototype._xp1 = function () {
var _xp1,
_Ce1,
_Y9,
e,
_e21,
_l41,
_k41 = 0;
_l41 = this._l41;
switch (8) {
case 8:
_xp1 = Math.LOG2E * Math.log(32768) - 8;
break;
default:
throw Error("invalid compression method");
}
_Ce1 = (_xp1 << 4) | 8;
_l41[_k41++] = _Ce1;
switch (8) {
case 8:
switch (this._Ce1) {
case _0W2._6N2:
e = 0;
break;
case _0W2.__9:
e = 1;
break;
case _0W2._k41:
e = 2;
break;
default:
throw Error("unsupported compression type");
}
break;
default:
throw Error("invalid compression method");
}
_Y9 = (e << 6) | 0;
_l41[_k41++] = _Y9 | (31 - ((256 * _Ce1 + _Y9) % 31));
var _Z11 = this._Ir1;
if ("string" === typeof _Z11) {
var _Sc1 = _Z11.split(""),
_ot1,
_d21;
_ot1 = 0;
for (_d21 = _Sc1.length; _ot1 < _d21; _ot1++) _Sc1[_ot1] = (_Sc1[_ot1].charCodeAt(0) & 255) >>> 0;
_Z11 = _Sc1;
}
for (var _P41 = 1, _921 = 0, __9 = _Z11.length, _Yr1, _Wo1 = 0; 0 < __9; ) {
_Yr1 = 1024 < __9 ? 1024 : __9;
__9 -= _Yr1;
do (_P41 += _Z11[_Wo1++]), (_921 += _P41);
while (--_Yr1);
_P41 %= 65521;
_921 %= 65521;
}
_e21 = ((_921 << 16) | _P41) >>> 0;
this._i21._Y9 = _k41;
_l41 = this._i21._xp1();
_k41 = _l41.length;
_zT1 && ((_l41 = new Uint8Array(_l41.buffer)), _l41.length <= _k41 + 4 && ((this._l41 = new Uint8Array(_l41.length + 4)), this._l41.set(_l41), (_l41 = this._l41)), (_l41 = _l41.subarray(0, _k41 + 4)));
_l41[_k41++] = (_e21 >> 24) & 255;
_l41[_k41++] = (_e21 >> 16) & 255;
_l41[_k41++] = (_e21 >> 8) & 255;
_l41[_k41++] = _e21 & 255;
return _l41;
};
_sV2("Zlib.Deflate", __V2);
_sV2("Zlib.Deflate.compress", function (_xp1, _Ce1) {
return new __V2(_xp1, _Ce1)._xp1();
});
_sV2("Zlib.Deflate.prototype.compress", __V2.prototype._xp1);
var _1W2 = { _6N2: _0W2._6N2, FIXED: _0W2.__9, _2W2: _0W2._k41 },
_3W2,
_4W2,
_5W2,
_6W2;
if (Object._6L2) _3W2 = Object._6L2(_1W2);
else for (_4W2 in ((_3W2 = []), (_5W2 = 0), _1W2)) _3W2[_5W2++] = _4W2;
_5W2 = 0;
for (_6W2 = _3W2.length; _5W2 < _6W2; ++_5W2) (_4W2 = _3W2[_5W2]), _sV2("Zlib.Deflate.CompressionType." + _4W2, _1W2[_4W2]);
}.call(this)); //@ sourceMappingURL=deflate.min.js.map
/** fingerprintJS 0.5.4 - Fast browser fingerprint library
* https://github.com/Valve/fingerprintjs
* Copyright (c) 2013 Valentin Vasilyev (valentin.vasilyev@outlook.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
(function (name, context, _7W2) {
if (typeof module !== "undefined" && module.__l2) {
module.__l2 = _7W2();
} else if (typeof define === "function" && define._8W2) {
define(_7W2);
} else {
context[name] = _7W2();
}
})("Fingerprint", this, function () {
"use strict";
var Fingerprint = function (options) {
var _9W2, _aW2;
_9W2 = Array.prototype._bW2;
_aW2 = Array.prototype.map;
this._cW2 = function (_cq1, _dW2, context) {
if (_cq1 === null) {
return;
}
if (_9W2 && _cq1._bW2 === _9W2) {
_cq1._bW2(_dW2, context);
} else if (_cq1.length === +_cq1.length) {
for (var _X9 = 0, _921 = _cq1.length; _X9 < _921; _X9++) {
if (_dW2.call(context, _cq1[_X9], _X9, _cq1) === {}) return;
}
} else {
for (var key in _cq1) {
if (_cq1.hasOwnProperty(key)) {
if (_dW2.call(context, _cq1[key], key, _cq1) === {}) return;
}
}
}
};
this.map = function (_cq1, _dW2, context) {
var _eW2 = [];
if (_cq1 == null) return _eW2;
if (_aW2 && _cq1.map === _aW2) return _cq1.map(_dW2, context);
this._cW2(_cq1, function (value, index, _oc1) {
_eW2[_eW2.length] = _dW2.call(context, value, index, _oc1);
});
return _eW2;
};
if (typeof options == "object") {
this._fW2 = options._fW2;
this._gW2 = options._gW2;
this._hW2 = options._hW2;
this.canvas = options.canvas;
this._iW2 = options._iW2;
} else if (typeof options == "function") {
this._fW2 = options;
}
};
Fingerprint.prototype = {
get: function () {
var _6L2 = [];
_6L2.push(navigator.userAgent);
_6L2.push(navigator.language);
_6L2.push(screen.colorDepth);
if (this._gW2) {
var _jW2 = this._kW2();
if (typeof _jW2 !== "undefined") {
_6L2.push(_jW2.join("x"));
}
}
_6L2.push(new Date().getTimezoneOffset());
_6L2.push(this.hasSessionStorage());
_6L2.push(this.hasLocalStorage());
_6L2.push(!!window.indexedDB);
if (document.body) {
_6L2.push(typeof document.body.addBehavior);
} else {
_6L2.push(typeof undefined);
}
_6L2.push(typeof window.openDatabase);
_6L2.push(navigator.cpuClass);
_6L2.push(navigator.platform);
_6L2.push(navigator.doNotTrack);
_6L2.push(this._lW2());
if (this.canvas && this._mW2()) {
_6L2.push(this._nW2());
}
if (this._fW2) {
return this._fW2(_6L2.join("###"), 31);
} else {
return this._oW2(_6L2.join("###"), 31);
}
},
/*
* JS Implementation of MurmurHash3 (r136) (as of May 20, 2011)
*
* @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
* @see http://github.com/garycourt/murmurhash-js
* @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
* @see http://sites.google.com/site/murmurhash/
*
* @param {string} key ASCII only
* @param {number} seed Positive integer only
* @return {number} 32-bit positive integer hash
*/ _oW2: function (key, _g72) {
var _pW2, _Cz2, _qr1, _qW2, _BS1, _CS1, _rW2, _X9;
_pW2 = key.length & 3;
_Cz2 = key.length - _pW2;
_qr1 = _g72;
_BS1 = 0xcc9e2d51;
_CS1 = 0x1b873593;
_X9 = 0;
while (_X9 < _Cz2) {
_rW2 = (key.charCodeAt(_X9) & 0xff) | ((key.charCodeAt(++_X9) & 0xff) << 8) | ((key.charCodeAt(++_X9) & 0xff) << 16) | ((key.charCodeAt(++_X9) & 0xff) << 24);
++_X9;
_rW2 = ((_rW2 & 0xffff) * _BS1 + ((((_rW2 >>> 16) * _BS1) & 0xffff) << 16)) & 0xffffffff;
_rW2 = (_rW2 << 15) | (_rW2 >>> 17);
_rW2 = ((_rW2 & 0xffff) * _CS1 + ((((_rW2 >>> 16) * _CS1) & 0xffff) << 16)) & 0xffffffff;
_qr1 ^= _rW2;
_qr1 = (_qr1 << 13) | (_qr1 >>> 19);
_qW2 = ((_qr1 & 0xffff) * 5 + ((((_qr1 >>> 16) * 5) & 0xffff) << 16)) & 0xffffffff;
_qr1 = (_qW2 & 0xffff) + 0x6b64 + ((((_qW2 >>> 16) + 0xe654) & 0xffff) << 16);
}
_rW2 = 0;
switch (_pW2) {
case 3:
_rW2 ^= (key.charCodeAt(_X9 + 2) & 0xff) << 16;
case 2:
_rW2 ^= (key.charCodeAt(_X9 + 1) & 0xff) << 8;
case 1:
_rW2 ^= key.charCodeAt(_X9) & 0xff;
_rW2 = ((_rW2 & 0xffff) * _BS1 + ((((_rW2 >>> 16) * _BS1) & 0xffff) << 16)) & 0xffffffff;
_rW2 = (_rW2 << 15) | (_rW2 >>> 17);
_rW2 = ((_rW2 & 0xffff) * _CS1 + ((((_rW2 >>> 16) * _CS1) & 0xffff) << 16)) & 0xffffffff;
_qr1 ^= _rW2;
}
_qr1 ^= key.length;
_qr1 ^= _qr1 >>> 16;
_qr1 = ((_qr1 & 0xffff) * 0x85ebca6b + ((((_qr1 >>> 16) * 0x85ebca6b) & 0xffff) << 16)) & 0xffffffff;
_qr1 ^= _qr1 >>> 13;
_qr1 = ((_qr1 & 0xffff) * 0xc2b2ae35 + ((((_qr1 >>> 16) * 0xc2b2ae35) & 0xffff) << 16)) & 0xffffffff;
_qr1 ^= _qr1 >>> 16;
return _qr1 >>> 0;
},
hasLocalStorage: function () {
try {
return !!window.localStorage;
} catch (e) {
return !0;
}
},
hasSessionStorage: function () {
try {
return !!window._sW2;
} catch (e) {
return !0;
}
},
_mW2: function () {
var _ML1 = document.createElement("canvas");
return !!(_ML1.getContext && _ML1.getContext("2d"));
},
_tW2: function () {
if (navigator._uW2 === "Microsoft Internet Explorer") {
return !0;
} else if (navigator._uW2 === "Netscape" && /_vW2/.test(navigator.userAgent)) {
return !0;
}
return !1;
},
_lW2: function () {
if (this._tW2() && this._iW2) {
return this._wW2();
} else {
return this._xW2();
}
},
_xW2: function () {
return this.map(
navigator._yW2,
function (_ot1) {
var _zW2 = this.map(_ot1, function (_7m1) {
return [_7m1.type, _7m1._AW2].join("~");
}).join(",");
return [_ot1.name, _ot1.description, _zW2].join("::");
},
this
).join(";");
},
_wW2: function () {
if (window.ActiveXObject) {
var _mq2 = [
"ShockwaveFlash.ShockwaveFlash",
"AcroPDF.PDF",
"PDF.PdfCtrl",
"QuickTime.QuickTime",
"rmocx.RealPlayer G2 Control",
"rmocx.RealPlayer G2 Control.1",
"RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)",
"RealVideo.RealVideo(tm) ActiveX Control (32-bit)",
"RealPlayer",
"SWCtl.SWCtl",
"WMPlayer.OCX",
"AgControl.AgControl",
"Skype.Detection",
];
return this.map(_mq2, function (name) {
try {
new ActiveXObject(name);
return name;
} catch (e) {
return null;
}
}).join(";");
} else {
return "";
}
},
_kW2: function () {
var _jW2;
if (this._hW2) {
_jW2 = screen.height > screen.width ? [screen.height, screen.width] : [screen.width, screen.height];
} else {
_jW2 = [screen.height, screen.width];
}
return _jW2;
},
_nW2: function () {
var canvas = document.createElement("canvas");
var _T51 = canvas.getContext("2d");
var _Oo1 = "http://valve.github.io";
_T51.textBaseline = "top";
_T51.font = "14px 'Arial'";
_T51.textBaseline = "alphabetic";
_T51.fillStyle = "#f60";
_T51.fillRect(125, 1, 62, 20);
_T51.fillStyle = "#069";
_T51.fillText(_Oo1, 2, 15);
_T51.fillStyle = "rgba(102, 204, 0, 0.7)";
_T51.fillText(_Oo1, 4, 17);
return canvas.toDataURL();
},
};
return Fingerprint;
});
/*@license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */ (function () {
"use strict";
function _Z11(_e21) {
throw _e21;
}
var _W11 = void 0,
_b21 = this;
function _Wo1(_e21, _Ce1) {
var _l41 = _e21.split("."),
_Y9 = _b21;
!(_l41[0] in _Y9) && _Y9._tV2 && _Y9._tV2("var " + _l41[0]);
for (var _xp1; _l41.length && (_xp1 = _l41.shift()); ) !_l41.length && _Ce1 !== _W11 ? (_Y9[_xp1] = _Ce1) : (_Y9 = _Y9[_xp1] ? _Y9[_xp1] : (_Y9[_xp1] = {}));
}
var _P41 = "undefined" !== typeof Uint8Array && "undefined" !== typeof Uint16Array && "undefined" !== typeof Uint32Array;
function _J41(_e21) {
var _Ce1 = _e21.length,
_l41 = 0,
_Y9 = Number.POSITIVE_INFINITY,
_xp1,
e,
_k41,
__9,
_Sc1,
_921,
_Yr1,
_ot1,
_d21;
for (_ot1 = 0; _ot1 < _Ce1; ++_ot1) _e21[_ot1] > _l41 && (_l41 = _e21[_ot1]), _e21[_ot1] < _Y9 && (_Y9 = _e21[_ot1]);
_xp1 = 1 << _l41;
e = new (_P41 ? Uint32Array : Array)(_xp1);
_k41 = 1;
__9 = 0;
for (_Sc1 = 2; _k41 <= _l41; ) {
for (_ot1 = 0; _ot1 < _Ce1; ++_ot1)
if (_e21[_ot1] === _k41) {
_921 = 0;
_Yr1 = __9;
for (_d21 = 0; _d21 < _k41; ++_d21) (_921 = (_921 << 1) | (_Yr1 & 1)), (_Yr1 >>= 1);
for (_d21 = _921; _d21 < _xp1; _d21 += _Sc1) e[_d21] = (_k41 << 16) | _ot1;
++__9;
}
++_k41;
__9 <<= 1;
_Sc1 <<= 1;
}
return [e, _l41, _Y9];
}
function _Z9(_e21, _Ce1) {
this._k41 = [];
this.__9 = 32768;
this._Ce1 = this._xp1 = this._l41 = this._921 = 0;
this._Ir1 = _P41 ? new Uint8Array(_e21) : _e21;
this._Z11 = !1;
this._X9 = x;
this._b21 = !1;
if (_Ce1 || !(_Ce1 = {})) _Ce1.index && (this._l41 = _Ce1.index), _Ce1._BW2 && (this.__9 = _Ce1._BW2), _Ce1._CW2 && (this._X9 = _Ce1._CW2), _Ce1._DW2 && (this._b21 = _Ce1._DW2);
switch (this._X9) {
case y:
this._e21 = 32768;
this._Y9 = new (_P41 ? Uint8Array : Array)(32768 + this.__9 + 258);
break;
case x:
this._e21 = 0;
this._Y9 = new (_P41 ? Uint8Array : Array)(this.__9);
this.e = this._L61;
this._W11 = this._J41;
this._i21 = this._Z9;
break;
default:
_Z11(Error("invalid inflate mode"));
}
}
var y = 0,
x = 1,
_L61 = { _d21: y, _Wo1: x };
_Z9.prototype._Sc1 = function () {
for (; !this._Z11; ) {
var _e21 = _vR1(this, 3);
_e21 & 1 && (this._Z11 = !0);
_e21 >>>= 1;
switch (_e21) {
case 0:
var _Ce1 = this._Ir1,
_l41 = this._l41,
_Y9 = this._Y9,
_xp1 = this._e21,
e = _W11,
_k41 = _W11,
__9 = _W11,
_Sc1 = _Y9.length,
_921 = _W11;
this._Ce1 = this._xp1 = 0;
e = _Ce1[_l41++];
e === _W11 && _Z11(Error("invalid uncompressed block header: LEN (first byte)"));
_k41 = e;
e = _Ce1[_l41++];
e === _W11 && _Z11(Error("invalid uncompressed block header: LEN (second byte)"));
_k41 |= e << 8;
e = _Ce1[_l41++];
e === _W11 && _Z11(Error("invalid uncompressed block header: NLEN (first byte)"));
__9 = e;
e = _Ce1[_l41++];
e === _W11 && _Z11(Error("invalid uncompressed block header: NLEN (second byte)"));
__9 |= e << 8;
_k41 === ~__9 && _Z11(Error("invalid uncompressed block header: length verify"));
_l41 + _k41 > _Ce1.length && _Z11(Error("input buffer is broken"));
switch (this._X9) {
case y:
for (; _xp1 + _k41 > _Y9.length; ) {
_921 = _Sc1 - _xp1;
_k41 -= _921;
if (_P41) _Y9.set(_Ce1.subarray(_l41, _l41 + _921), _xp1), (_xp1 += _921), (_l41 += _921);
else for (; _921--; ) _Y9[_xp1++] = _Ce1[_l41++];
this._e21 = _xp1;
_Y9 = this.e();
_xp1 = this._e21;
}
break;
case x:
for (; _xp1 + _k41 > _Y9.length; ) _Y9 = this.e({ _ot1: 2 });
break;
default:
_Z11(Error("invalid inflate mode"));
}
if (_P41) _Y9.set(_Ce1.subarray(_l41, _l41 + _k41), _xp1), (_xp1 += _k41), (_l41 += _k41);
else for (; _k41--; ) _Y9[_xp1++] = _Ce1[_l41++];
this._l41 = _l41;
this._e21 = _xp1;
this._Y9 = _Y9;
break;
case 1:
this._i21(_FS1, _zT1);
break;
case 2:
_vM2(this);
break;
default:
_Z11(Error("unknown BTYPE: " + _e21));
}
}
return this._W11();
};
var _OV1 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15],
_M12 = _P41 ? new Uint16Array(_OV1) : _OV1,
_I12 = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258],
_J12 = _P41 ? new Uint16Array(_I12) : _I12,
_OV2 = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0],
_qU1 = _P41 ? new Uint8Array(_OV2) : _OV2,
_FV2 = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577],
_2e2 = _P41 ? new Uint16Array(_FV2) : _FV2,
_uj2 = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13],
_US1 = _P41 ? new Uint8Array(_uj2) : _uj2,
_vV2 = new (_P41 ? Uint8Array : Array)(288),
_GV2,
_x_1;
_GV2 = 0;
for (_x_1 = _vV2.length; _GV2 < _x_1; ++_GV2) _vV2[_GV2] = 143 >= _GV2 ? 8 : 255 >= _GV2 ? 9 : 279 >= _GV2 ? 7 : 8;
var _FS1 = _J41(_vV2),
_w_1 = new (_P41 ? Uint8Array : Array)(30),
_mH2,
_wV2;
_mH2 = 0;
for (_wV2 = _w_1.length; _mH2 < _wV2; ++_mH2) _w_1[_mH2] = 5;
var _zT1 = _J41(_w_1);
function _vR1(_e21, _Ce1) {
for (var _l41 = _e21._xp1, _Y9 = _e21._Ce1, _xp1 = _e21._Ir1, e = _e21._l41, _k41; _Y9 < _Ce1; ) (_k41 = _xp1[e++]), _k41 === _W11 && _Z11(Error("input buffer is broken")), (_l41 |= _k41 << _Y9), (_Y9 += 8);
_k41 = _l41 & ((1 << _Ce1) - 1);
_e21._xp1 = _l41 >>> _Ce1;
_e21._Ce1 = _Y9 - _Ce1;
_e21._l41 = e;
return _k41;
}
function _wT1(_e21, _Ce1) {
for (var _l41 = _e21._xp1, _Y9 = _e21._Ce1, _xp1 = _e21._Ir1, e = _e21._l41, _k41 = _Ce1[0], __9 = _Ce1[1], _Sc1, _921, _Yr1; _Y9 < __9; ) {
_Sc1 = _xp1[e++];
if (_Sc1 === _W11) break;
_l41 |= _Sc1 << _Y9;
_Y9 += 8;
}
_921 = _k41[_l41 & ((1 << __9) - 1)];
_Yr1 = _921 >>> 16;
_e21._xp1 = _l41 >> _Yr1;
_e21._Ce1 = _Y9 - _Yr1;
_e21._l41 = e;
return _921 & 65535;
}
function _vM2(_e21) {
function _Ce1(_l41, _e21, _Y9) {
var _Ce1, e, _xp1, _k41;
for (_k41 = 0; _k41 < _l41; )
switch (((_Ce1 = _wT1(this, _e21)), _Ce1)) {
case 16:
for (_xp1 = 3 + _vR1(this, 2); _xp1--; ) _Y9[_k41++] = e;
break;
case 17:
for (_xp1 = 3 + _vR1(this, 3); _xp1--; ) _Y9[_k41++] = 0;
e = 0;
break;
case 18:
for (_xp1 = 11 + _vR1(this, 7); _xp1--; ) _Y9[_k41++] = 0;
e = 0;
break;
default:
e = _Y9[_k41++] = _Ce1;
}
return _Y9;
}
var _l41 = _vR1(_e21, 5) + 257,
_Y9 = _vR1(_e21, 5) + 1,
_xp1 = _vR1(_e21, 4) + 4,
e = new (_P41 ? Uint8Array : Array)(_M12.length),
_k41,
__9,
_Sc1,
_921;
for (_921 = 0; _921 < _xp1; ++_921) e[_M12[_921]] = _vR1(_e21, 3);
_k41 = _J41(e);
__9 = new (_P41 ? Uint8Array : Array)(_l41);
_Sc1 = new (_P41 ? Uint8Array : Array)(_Y9);
_e21._i21(_J41(_Ce1.call(_e21, _l41, _k41, __9)), _J41(_Ce1.call(_e21, _Y9, _k41, _Sc1)));
}
_Z9.prototype._i21 = function (_e21, _Ce1) {
var _l41 = this._Y9,
_Y9 = this._e21;
this._4q1 = _e21;
for (var _xp1 = _l41.length - 258, e, _k41, __9, _Sc1; 256 !== (e = _wT1(this, _e21)); )
if (256 > e) _Y9 >= _xp1 && ((this._e21 = _Y9), (_l41 = this.e()), (_Y9 = this._e21)), (_l41[_Y9++] = e);
else {
_k41 = e - 257;
_Sc1 = _J12[_k41];
0 < _qU1[_k41] && (_Sc1 += _vR1(this, _qU1[_k41]));
e = _wT1(this, _Ce1);
__9 = _2e2[e];
0 < _US1[e] && (__9 += _vR1(this, _US1[e]));
_Y9 >= _xp1 && ((this._e21 = _Y9), (_l41 = this.e()), (_Y9 = this._e21));
for (; _Sc1--; ) _l41[_Y9] = _l41[_Y9++ - __9];
}
for (; 8 <= this._Ce1; ) (this._Ce1 -= 8), this._l41--;
this._e21 = _Y9;
};
_Z9.prototype._Z9 = function (_e21, _Ce1) {
var _l41 = this._Y9,
_Y9 = this._e21;
this._4q1 = _e21;
for (var _xp1 = _l41.length, e, _k41, __9, _Sc1; 256 !== (e = _wT1(this, _e21)); )
if (256 > e) _Y9 >= _xp1 && ((_l41 = this.e()), (_xp1 = _l41.length)), (_l41[_Y9++] = e);
else {
_k41 = e - 257;
_Sc1 = _J12[_k41];
0 < _qU1[_k41] && (_Sc1 += _vR1(this, _qU1[_k41]));
e = _wT1(this, _Ce1);
__9 = _2e2[e];
0 < _US1[e] && (__9 += _vR1(this, _US1[e]));
_Y9 + _Sc1 > _xp1 && ((_l41 = this.e()), (_xp1 = _l41.length));
for (; _Sc1--; ) _l41[_Y9] = _l41[_Y9++ - __9];
}
for (; 8 <= this._Ce1; ) (this._Ce1 -= 8), this._l41--;
this._e21 = _Y9;
};
_Z9.prototype.e = function () {
var _e21 = new (_P41 ? Uint8Array : Array)(this._e21 - 32768),
_Ce1 = this._e21 - 32768,
_l41,
_Y9,
_xp1 = this._Y9;
if (_P41) _e21.set(_xp1.subarray(32768, _e21.length));
else {
_l41 = 0;
for (_Y9 = _e21.length; _l41 < _Y9; ++_l41) _e21[_l41] = _xp1[_l41 + 32768];
}
this._k41.push(_e21);
this._921 += _e21.length;
if (_P41) _xp1.set(_xp1.subarray(_Ce1, _Ce1 + 32768));
else for (_l41 = 0; 32768 > _l41; ++_l41) _xp1[_l41] = _xp1[_Ce1 + _l41];
this._e21 = 32768;
return _xp1;
};
_Z9.prototype._L61 = function (_e21) {
var _Ce1,
_l41 = (this._Ir1.length / this._l41 + 1) | 0,
_Y9,
_xp1,
e,
_k41 = this._Ir1,
__9 = this._Y9;
_e21 && ("number" === typeof _e21._ot1 && (_l41 = _e21._ot1), "number" === typeof _e21._P41 && (_l41 += _e21._P41));
2 > _l41 ? ((_Y9 = (_k41.length - this._l41) / this._4q1[2]), (e = (258 * (_Y9 / 2)) | 0), (_xp1 = e < __9.length ? __9.length + e : __9.length << 1)) : (_xp1 = __9.length * _l41);
_P41 ? ((_Ce1 = new Uint8Array(_xp1)), _Ce1.set(__9)) : (_Ce1 = __9);
return (this._Y9 = _Ce1);
};
_Z9.prototype._W11 = function () {
var _e21 = 0,
_Ce1 = this._Y9,
_l41 = this._k41,
_Y9,
_xp1 = new (_P41 ? Uint8Array : Array)(this._921 + (this._e21 - 32768)),
e,
_k41,
__9,
_Sc1;
if (0 === _l41.length) return _P41 ? this._Y9.subarray(32768, this._e21) : this._Y9.slice(32768, this._e21);
e = 0;
for (_k41 = _l41.length; e < _k41; ++e) {
_Y9 = _l41[e];
__9 = 0;
for (_Sc1 = _Y9.length; __9 < _Sc1; ++__9) _xp1[_e21++] = _Y9[__9];
}
e = 32768;
for (_k41 = this._e21; e < _k41; ++e) _xp1[_e21++] = _Ce1[e];
this._k41 = [];
return (this.buffer = _xp1);
};
_Z9.prototype._J41 = function () {
var _e21,
_Ce1 = this._e21;
_P41 ? (this._b21 ? ((_e21 = new Uint8Array(_Ce1)), _e21.set(this._Y9.subarray(0, _Ce1))) : (_e21 = this._Y9.subarray(0, _Ce1))) : (this._Y9.length > _Ce1 && (this._Y9.length = _Ce1), (_e21 = this._Y9));
return (this.buffer = _e21);
};
function _DV2(_e21, _Ce1) {
var _l41, _Y9;
this._Ir1 = _e21;
this._l41 = 0;
if (_Ce1 || !(_Ce1 = {})) _Ce1.index && (this._l41 = _Ce1.index), _Ce1._EW2 && (this._vR1 = _Ce1._EW2);
_l41 = _e21[this._l41++];
_Y9 = _e21[this._l41++];
switch (_l41 & 15) {
case _0W2:
this.method = _0W2;
break;
default:
_Z11(Error("unsupported compression method"));
}
0 !== ((_l41 << 8) + _Y9) % 31 && _Z11(Error("invalid fcheck flag:" + (((_l41 << 8) + _Y9) % 31)));
_Y9 & 32 && _Z11(Error("fdict flag is not supported"));
this._Yr1 = new _Z9(_e21, { index: this._l41, _BW2: _Ce1._BW2, _CW2: _Ce1._CW2, _DW2: _Ce1._DW2 });
}
_DV2.prototype._Sc1 = function () {
var _e21 = this._Ir1,
_Ce1,
_l41;
_Ce1 = this._Yr1._Sc1();
this._l41 = this._Yr1._l41;
if (this._vR1) {
_l41 = ((_e21[this._l41++] << 24) | (_e21[this._l41++] << 16) | (_e21[this._l41++] << 8) | _e21[this._l41++]) >>> 0;
var _Y9 = _Ce1;
if ("string" === typeof _Y9) {
var _xp1 = _Y9.split(""),
e,
_k41;
e = 0;
for (_k41 = _xp1.length; e < _k41; e++) _xp1[e] = (_xp1[e].charCodeAt(0) & 255) >>> 0;
_Y9 = _xp1;
}
for (var __9 = 1, _Sc1 = 0, _921 = _Y9.length, _Yr1, _ot1 = 0; 0 < _921; ) {
_Yr1 = 1024 < _921 ? 1024 : _921;
_921 -= _Yr1;
do (__9 += _Y9[_ot1++]), (_Sc1 += __9);
while (--_Yr1);
__9 %= 65521;
_Sc1 %= 65521;
}
_l41 !== ((_Sc1 << 16) | __9) >>> 0 && _Z11(Error("invalid adler-32 checksum"));
}
return _Ce1;
};
var _0W2 = 8;
_Wo1("Zlib.Inflate", _DV2);
_Wo1("Zlib.Inflate.prototype.decompress", _DV2.prototype._Sc1);
var _5W2 = { _FW2: _L61._Wo1, _GW2: _L61._d21 },
_vl1,
_wl1,
_xl1,
$;
if (Object._6L2) _vl1 = Object._6L2(_5W2);
else for (_wl1 in ((_vl1 = []), (_xl1 = 0), _5W2)) _vl1[_xl1++] = _wl1;
_xl1 = 0;
for ($ = _vl1.length; _xl1 < $; ++_xl1) (_wl1 = _vl1[_xl1]), _Wo1("Zlib.Inflate.BufferType." + _wl1, _5W2[_wl1]);
}.call(this));
//@ sourceMappingURL=inflate.min.js.map
/*@constructor */ function _HW2() {
this._IW2 = 0;
this._JW2 = null;
this._KW2 = 0;
this._LW2 = null;
this._MW2 = new _jc1();
}
/*@constructor */ function _NW2() {
this._k91 = 0;
this._OW2 = new _Fk1();
this._PW2 = new _Fk1();
this._QW2 = new _Fk1();
this._RW2 = new _Fk1();
this._SW2 = new _Fk1();
this._TW2 = new _Fk1();
this._UW2 = 0;
this._VW2 = 0;
this._WW2 = 0;
this._XW2 = 0;
this._YW2 = 0;
this._ZW2 = 0;
this.__W2 = 0;
this._0X2 = 0;
this._1X2 = 0;
this._2X2 = -1;
this._3X2 = -1;
this._4X2 = -1;
this._5X2 = -1;
this._6X2 = true;
this._7X2 = false;
this._8X2 = false;
}
_NW2.prototype._9X2 = function (_aX2) {
this._7X2 = _aX2;
};
_NW2.prototype._bX2 = function () {
return this._7X2;
};
_NW2.prototype._cX2 = function (_dX2) {
this._8X2 = _dX2;
};
_NW2.prototype._eX2 = function () {
return this._8X2;
};
_HW2.prototype._fX2 = function (_Ub1) {
var _gX2 = this._hX2(_Ub1);
if (!_gX2) return -1;
var _iX2 = this._jX2();
var _kX2 = this._hX2(_iX2);
_kX2._UW2 = _gX2._UW2;
_kX2._VW2 = _gX2._UW2;
_kX2._WW2 = _gX2._WW2;
_kX2._XW2 = _gX2._XW2;
_kX2._YW2 = _gX2._YW2;
_kX2._ZW2 = _gX2._ZW2;
_kX2.__W2 = _gX2.__W2;
_kX2._0X2 = _gX2._0X2;
_kX2._1X2 = _gX2._1X2;
_kX2._2X2 = _gX2._2X2;
_kX2._3X2 = _gX2._3X2;
_kX2._4X2 = _gX2._4X2;
_kX2._5X2 = _gX2._5X2;
var _lX2 = new _Fk1(_gX2._PW2);
var _mX2 = new _Fk1(_gX2._OW2);
var _nX2 = new _Fk1(_gX2._QW2);
var _oX2 = new _Fk1(_gX2._RW2);
var _pX2 = new _Fk1(_gX2._SW2);
var _qX2 = new _Fk1(_gX2._TW2);
_kX2._OW2 = _mX2;
_kX2._PW2 = _lX2;
_kX2._QW2 = _nX2;
_kX2._RW2 = _oX2;
_kX2._SW2 = _pX2;
_kX2._TW2 = _qX2;
_kX2._8X2 = _gX2._8X2;
_kX2._9X2(true);
return _iX2;
};
_NW2.prototype._rX2 = function () {
if (this._OW2._Z11[11] == 0) return true;
return false;
};
_NW2.prototype._sX2 = function () {
if (this._rX2()) {
if (this._OW2._Z11[4] == 0.0 && this._OW2._Z11[8] == 0.0 && this._OW2._Z11[1] == 0.0 && this._OW2._Z11[9] == 0.0 && this._OW2._Z11[2] == 0.0 && this._OW2._Z11[6] == 0.0) {
if (this._PW2._Z11[2] == 0.0 && this._PW2._Z11[6] == 0.0) {
this._6X2 = true;
return;
}
}
}
this._6X2 = false;
};
_NW2.prototype._tX2 = function (_uX2) {
this._PW2 = _uX2;
this._SW2._6v1(_uX2);
this._QW2.Multiply(this._PW2, this._OW2);
this._TW2._6v1(this._QW2);
this._sX2();
};
_NW2.prototype._vX2 = function (_uX2) {
this._OW2 = _uX2;
this._RW2._6v1(_uX2);
this._QW2.Multiply(this._PW2, this._OW2);
this._TW2._6v1(this._QW2);
this._sX2();
};
_HW2.prototype._wX2 = function () {
this._IW2 = this._MW2.length;
};
_HW2.prototype._jX2 = function () {
var _xX2 = new _NW2();
_xX2._k91 = this._KW2;
this._KW2++;
this._MW2._Da1(_xX2);
return _xX2._k91;
};
_HW2.prototype._hX2 = function (_yX2) {
for (var _X9 = 0; _X9 < this._MW2.length; _X9++) {
if (this._MW2._s11(_X9) != null) if (this._MW2._s11(_X9)._k91 == _yX2) return this._MW2._s11(_X9);
}
return null;
};
_HW2.prototype._zX2 = function (_yX2) {
for (var _X9 = 0; _X9 < this._MW2.length; _X9++) {
var _AX2 = this._MW2._s11(_X9);
if (_AX2) {
if (_AX2._k91 === _yX2) {
this._MW2._ey1(_AX2);
return;
}
}
}
return;
};
_HW2.prototype._BX2 = function () {
this._MW2._Ua1();
_IW2 = 0;
};
_HW2.prototype._CX2 = function (_DX2) {
if (_DX2 == null) return null;
var _EX2 = this._jX2();
var _kX2 = this._hX2(_EX2);
if (_kX2 != null) {
_kX2._FX2(_DX2._lM1);
_kX2._GX2(_DX2._nM1);
_kX2._HX2(_DX2._pM1);
_kX2._IX2(_DX2._rM1);
_kX2._JX2(_DX2._Yf);
_kX2._KX2(_DX2._Zf);
_kX2._LX2(_DX2._8i);
_kX2._MX2(_DX2._9i);
_kX2._NX2(0.0);
_kX2._OX2(_DX2._PX2);
_kX2._QX2(_kX2._RX2() + _kX2._SX2() * 0.5, _kX2._TX2() + _kX2._UX2() * 0.5);
}
return _kX2;
};
_HW2.prototype._VX2 = function () {
if (this._JW2 === null) {
this._JW2 = new _WX2(0, 0, 0, 0, false, true);
}
};
_HW2.prototype._XX2 = function () {
if (this._JW2 != null) {
this._JW2 = null;
}
for (var _X9 = this._IW2; _X9 < this._MW2.length; _X9++) {
var _YX2 = this._MW2._s11(_X9);
if (_YX2 !== null) {
if (_YX2._bX2() && !_YX2._eX2()) {
this._zX2(_YX2._k91);
}
}
}
};
_HW2.prototype._ZX2 = function () {
this.__X2 = 0;
this._LW2 = null;
this._0Y2 = 0;
this._1Y2 = 0;
};
_HW2.prototype._2Y2 = function () {
return this._LW2;
};
_HW2.prototype._3Y2 = function (_cs1) {
if (typeof _cs1 == _NW2) {
this._LW2 = _cs1;
} else {
this._LW2 = this._hX2(_cs1);
}
};
_NW2.prototype._OX2 = function (_cs1) {
this._2X2 = _cs1;
};
_NW2.prototype._4Y2 = function () {
return this._TW2;
};
_NW2.prototype._FX2 = function (_cs1) {
this._UW2 = _cs1;
};
_NW2.prototype._RX2 = function () {
return this._UW2;
};
_NW2.prototype._GX2 = function (_cs1) {
this._VW2 = _cs1;
};
_NW2.prototype._TX2 = function () {
return this._VW2;
};
_NW2.prototype._5Y2 = function () {
return this._k91;
};
_NW2.prototype._HX2 = function (_cs1) {
this._WW2 = _cs1;
};
_NW2.prototype._SX2 = function () {
return this._WW2;
};
_NW2.prototype._IX2 = function (_cs1) {
this._XW2 = _cs1;
};
_NW2.prototype._UX2 = function () {
return this._XW2;
};
_NW2.prototype._JX2 = function (_cs1) {
this._YW2 = _cs1;
};
_NW2.prototype._KX2 = function (_cs1) {
this._ZW2 = _cs1;
};
_NW2.prototype._LX2 = function (_cs1) {
this.__W2 = _cs1;
};
_NW2.prototype._MX2 = function (_cs1) {
this._0X2 = _cs1;
};
_NW2.prototype._NX2 = function (_cs1) {
this._1X2 = _cs1;
};
_NW2.prototype._z81 = function () {
if (this._3X2 != -1) {
_72._F2[this._3X2](this._JW2, this._JW2);
}
};
_NW2.prototype._B81 = function () {
if (this._4X2 != -1) {
_72._F2[this._4X2](this._JW2, this._JW2);
}
};
_NW2.prototype._6Y2 = function () {
var _7Y2 = new _Zk1();
_7Y2._vl1 = this._SW2._Z11[_fm1];
_7Y2._wl1 = this._SW2._Z11[_im1];
_7Y2._xl1 = this._SW2._Z11[_nm1];
return _7Y2;
};
_NW2.prototype._8Y2 = function () {
if (this._rX2()) {
var _9Y2 = this._6Y2();
var _aY2, _bY2, _cY2, _dY2;
_aY2 = this._TW2._eY2(new _Zk1(-1.0, 0.0, 0.0));
_bY2 = this._TW2._eY2(new _Zk1(1.0, 0.0, 0.0));
_cY2 = this._TW2._eY2(new _Zk1(0.0, 1.0, 0.0));
_dY2 = this._TW2._eY2(new _Zk1(0.0, -1.0, 0.0));
var _fY2 = _bY2._gY2(_aY2);
var _hY2 = _cY2._gY2(_dY2);
_qM1 = _fY2.Length();
_sM1 = _hY2.Length();
_mM1 = _9Y2._vl1 - _qM1 * 0.5;
_oM1 = _9Y2._wl1 - _sM1 * 0.5;
var _iY2 = _hY2;
_iY2._sl1();
var angle = Math.acos(_iY2._wl1);
if (_iY2._vl1 < 0.0) {
angle = 2.0 * Math.PI - angle;
}
var _jY2 = (angle / (2.0 * Math.PI)) * 360.0;
_Xu1(_mM1, _oM1, _qM1, _sM1, _jY2);
} else {
_mM1 = 0;
_oM1 = 0;
_qM1 = _D01 != null ? _D01._kY2() : 1;
_sM1 = _D01 != null ? _D01._LW1() : 1;
_Xu1(_mM1, _oM1, _qM1, _sM1, 0);
}
if (_131 != null) {
__l1(_lY2, this._PW2);
} else {
__l1(_lY2, this._PW2);
var _mY2 = _Ws1 / _qM1;
var _nY2 = _Xs1 / _sM1;
_oY2[0] = this._PW2._Z11[_cm1] * _mY2;
_oY2[1] = this._PW2._Z11[_dm1] * _mY2;
_oY2[2] = (this._PW2._Z11[_fm1] + _qM1 * 0.5) * _mY2 + _Us1;
_oY2[3] = this._PW2._Z11[_gm1] * _nY2;
_oY2[4] = this._PW2._Z11[_6l1] * _nY2;
_oY2[5] = (this._PW2._Z11[_im1] + _sM1 * 0.5) * _nY2 + _Vs1;
_R41._Ts1(_oY2[0], _oY2[3], _oY2[1], _oY2[4], _oY2[2], _oY2[5]);
}
if (_7l1 == -1) {
__l1(_pY2, this._OW2);
} else {
var _qY2 = new _Fk1();
_qY2._Z11[_6l1] = -1;
var _Je1 = new _Fk1();
_Je1.Multiply(this._OW2, _qY2);
__l1(_pY2, _Je1);
}
};
_NW2.prototype._Va1 = function () {
if (this._5X2 != -1) {
_72._F2[this._5X2](_rY2, _rY2);
} else {
if (this._2X2 >= 0 && this._6X2) {
var _Xv1 = null;
if (this._2X2 < 10000) {
var _8q1 = _o01._s11(this._2X2);
var _xc1 = _8q1._JF1();
for (var _tJ2 = 0; _tJ2 < _xc1.length; _tJ2++) {
var _Yv1 = _xc1[_tJ2];
if (_Yv1._bl) continue;
if (!_Yv1._cl) continue;
_Xv1 = _Yv1;
break;
}
} else {
_Xv1 = _iy1._s11(this._2X2);
if (_Xv1 != null) {
if (_Xv1._bl || !_Xv1._cl) _Xv1 = null;
}
}
if (_Xv1 != null) {
var _sY2 = this._WW2 * 0.5;
var _tY2 = this._XW2 * 0.5;
var _921, _d21;
var _uY2, _vY2;
_921 = this._UW2;
_d21 = this._VW2;
if (_Xv1._rC1) _Xv1._sC1();
_uY2 = Math.floor(_Xv1.x);
_vY2 = Math.floor(_Xv1.y);
if (2 * this.__W2 >= this._WW2) {
_921 = _uY2 - _sY2;
} else if (_uY2 - this.__W2 < this._UW2) {
_921 = _uY2 - this.__W2;
} else if (_uY2 + this.__W2 > this._UW2 + this._WW2) {
_921 = _uY2 + this.__W2 - this._WW2;
}
if (2 * this._0X2 >= this._XW2) {
_d21 = _vY2 - _tY2;
} else if (_vY2 - this._0X2 < this._VW2) {
_d21 = _vY2 - this._0X2;
} else if (_vY2 + this._0X2 > this._VW2 + this._XW2) {
_d21 = _vY2 + this._0X2 - this._XW2;
}
if (_921 < 0) _921 = 0;
if (_921 + this._WW2 > _D01._kY2()) _921 = _D01._kY2() - this._WW2;
if (_d21 < 0) _d21 = 0;
if (_d21 + this._XW2 > _D01._LW1()) _d21 = _D01._LW1() - this._XW2;
if (this._YW2 >= 0) {
if (_921 < this._UW2 && this._UW2 - _921 > this._YW2) _921 = this._UW2 - this._YW2;
if (_921 > this._UW2 && _921 - this._UW2 > this._YW2) _921 = this._UW2 + this._YW2;
}
if (this._ZW2 >= 0) {
if (_d21 < this._VW2 && this._VW2 - _d21 > this._ZW2) _d21 = this._VW2 - this._ZW2;
if (_d21 > this._VW2 && _d21 - this._VW2 > this._ZW2) _d21 = this._VW2 + this._ZW2;
}
this._UW2 = _921;
this._VW2 = _d21;
this._QX2(_921 + _sY2, _d21 + _tY2);
}
}
}
};
_NW2.prototype._QX2 = function (_cs1, _ds1) {
var _ZS2 = new _Zk1();
var _6T2 = new _Zk1();
var _eT2 = new _Zk1();
_ZS2._vl1 = _cs1;
_ZS2._wl1 = _ds1;
_ZS2._xl1 = -16000.0;
_6T2._vl1 = _cs1;
_6T2._wl1 = _ds1;
_6T2._xl1 = 0.0;
_eT2._vl1 = Math.sin(-this._1X2 * (Math.PI / 180.0));
_eT2._wl1 = Math.cos(-this._1X2 * (Math.PI / 180.0));
_eT2._xl1 = 0.0;
var _wY2 = new _Fk1();
_wY2._1l1(_ZS2, _6T2, _eT2);
var _xY2 = new _Fk1();
_xY2._al1(this._WW2, this._XW2, 1, 32000.0);
this._tX2(_wY2);
this._vX2(_xY2);
};
_NW2.prototype._yY2 = function (_cs1, _ds1) {
var _ZS2 = new _Zk1();
var _6T2 = new _Zk1();
var _eT2 = new _Zk1();
_ZS2._vl1 = _cs1;
_ZS2._wl1 = _ds1;
_ZS2._xl1 = -this._WW2;
_6T2._vl1 = _cs1;
_6T2._wl1 = _ds1;
_6T2._xl1 = 0.0;
_eT2._vl1 = Math.sin(-this._1X2 * (Math.PI / 180.0));
_eT2._wl1 = Math.cos(-this._1X2 * (Math.PI / 180.0));
_eT2._xl1 = 0.0;
var _wY2 = new _Fk1();
_wY2._1l1(_ZS2, _6T2, _eT2);
var _xY2 = new _Fk1();
_xY2._bl1(1.0, -this._XW2 / this._WW2, 1, 32000.0);
this._tX2(_wY2);
this._vX2(_xY2);
};
function _LK(_cs1, _ds1, _GA1) {
var _AX2 = _zY2._hX2(yyGetInt32(_cs1));
if (_AX2 != null) {
_AX2._FX2(yyGetReal(_ds1));
_AX2._GX2(yyGetReal(_GA1));
_AX2._QX2(_AX2._RX2() + _AX2._SX2() * 0.5, _AX2._TX2() + _AX2._UX2() * 0.5);
}
}
function _uK(_cs1, _ds1, _GA1) {
var _AX2 = _zY2._hX2(yyGetInt32(_cs1));
if (_AX2 != null) {
_AX2._HX2(yyGetReal(_ds1));
_AX2._IX2(yyGetReal(_GA1));
_AX2._QX2(_AX2._RX2() + _AX2._SX2() * 0.5, _AX2._TX2() + _AX2._UX2() * 0.5);
}
}
function _IK(_cs1) {
var _AX2 = _zY2._hX2(yyGetInt32(_cs1));
if (_AX2 != null) {
return _AX2._RX2();
}
return -1;
}
function _KK(_cs1) {
var _AX2 = _zY2._hX2(yyGetInt32(_cs1));
if (_AX2 != null) {
return _AX2._TX2();
}
return -1;
}
function _xK(_cs1) {
var _AX2 = _zY2._hX2(yyGetInt32(_cs1));
if (_AX2 != null) {
return _AX2._SX2();
}
return -1;
}
function _zK(_cs1) {
var _AX2 = _zY2._hX2(yyGetInt32(_cs1));
if (_AX2 != null) {
return _AX2._UX2();
}
return -1;
}
var _AY2 = !1,
_BY2 = -1,
_CY2 = -1,
_DY2 = 0,
_EY2 = 1,
_FY2 = 2,
_GY2 = 3,
_HY2 = 4,
_IY2 = 5,
_JY2 = 6,
_KY2 = 7,
_LY2 = 8,
_MY2 = 9,
_NY2 = 10,
_OY2 = 11,
_PY2 = [0, 0, 0],
_QY2 = [0, 0, 0],
_RY2 = [0, 0, 0, 0, 0, 0],
_SY2 = [0, 0, 0],
_TY2 = [0, 0, 0],
_UY2 = [0, 0, 0],
_VY2 = [0, 0, 0],
_WY2 = [0, 0, 0],
_XY2 = [0, 0, 0],
_YY2 = [0, 0, 0],
_ZY2 = 0,
__Y2 = 0;
function _0Z2() {
if (_F01) {
if (_I01._J01() <= 30 || _1Z2 <= 30) {
return 1.0;
}
if (_I01._J01() / _1Z2 < 1.2) {
return 30.0 / _I01._J01();
} else {
return 30.0 / _1Z2;
}
} else {
if (_D01._E01() <= 30 || _1Z2 <= 30) {
return 1.0;
}
if (_D01._E01() / _1Z2 < 1.2) {
return 30.0 / _D01._E01();
} else {
return 30.0 / _1Z2;
}
}
}
function _2Z2() {
if (!_5D1(_BY2)) {
_BY2 = _Md1();
if (_F01) {
_bD1(_BY2, 50);
} else {
_bD1(_BY2, 100000);
}
}
if (!_5D1(_CY2)) {
_CY2 = _Md1();
if (_F01) {
_bD1(_CY2, -15000);
} else {
_bD1(_CY2, -100000);
}
}
if (!_AY2) {
_3Z2();
}
}
function _3Z2() {
var _X9;
_AY2 = true;
for (_X9 = 0; _X9 <= 5; _X9++) {
_RY2[_X9] = _Nd1();
}
for (_X9 = 0; _X9 <= 2; _X9++) {
_SY2[_X9] = _Nd1();
_PY2[_X9] = _Nd1();
_TY2[_X9] = _Nd1();
_QY2[_X9] = _Nd1();
_UY2[_X9] = _Nd1();
_VY2[_X9] = _Nd1();
_WY2[_X9] = _Nd1();
_XY2[_X9] = _Nd1();
_YY2[_X9] = _Nd1();
}
_ZY2 = _Nd1();
__Y2 = _Nd1();
}
function _4Z2(_5Z2, _a11, _b11, _781, _081) {
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_RY2[0], _6Z2);
_HD1(_RY2[0], 0.1, 0.1, 0.05 * _xp1, 0);
_fE1(_RY2[0], 0, 360, 0, 0, false);
_jE1(_RY2[0], 0, 360, 0, 0);
_hE1(_RY2[0], 2 * _xp1, 2 * _xp1, -0.1 * _xp1, 0);
_Rd1(_RY2[0], 0.6, 0);
_9E1(_RY2[0], _zc1(10.0 / _xp1), _zc1(15.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _RY2[0], _081, 20);
_DD1(_RY2[1], _6Z2);
_HD1(_RY2[1], 0.1, 0.1, 0.1 * _xp1, 0);
_fE1(_RY2[1], 0, 360, 0, 0, false);
_Rd1(_RY2[1], 0.8, 0);
_9E1(_RY2[1], _zc1(15 / _xp1), _zc1(15 / _xp1));
_pD1(_5Z2, _a11, _b11, _RY2[1], _7Z2, 1);
} else if (_781 == 2) {
_DD1(_RY2[4], _6Z2);
_HD1(_RY2[4], 0.4, 0.4, 0.2 * _xp1, 0);
_fE1(_RY2[4], 0, 360, 0, 0, false);
_jE1(_RY2[4], 0, 360, 0, 0);
_hE1(_RY2[4], 7 * _xp1, 7 * _xp1, -0.2 * _xp1, 0);
_Rd1(_RY2[4], 0.6, 0);
_9E1(_RY2[4], _zc1(15 / _xp1), _zc1(20 / _xp1));
_pD1(_5Z2, _a11, _b11, _RY2[4], _081, 20);
_DD1(_RY2[5], _6Z2);
_HD1(_RY2[5], 0.4, 0.4, 0.4 * _xp1, 0);
_fE1(_RY2[5], 0, 360, 0, 0, false);
_Rd1(_RY2[5], 0.8, 0);
_9E1(_RY2[5], _zc1(20 / _xp1), _zc1(20 / _xp1));
_pD1(_5Z2, _a11, _b11, _RY2[5], _7Z2, 1);
} else {
_DD1(_RY2[2], _6Z2);
_HD1(_RY2[2], 0.3, 0.3, 0.1 * _xp1, 0);
_fE1(_RY2[2], 0, 360, 0, 0, false);
_jE1(_RY2[2], 0, 360, 0, 0);
_hE1(_RY2[2], 4 * _xp1, 4 * _xp1, -0.18 * _xp1, 0);
_Rd1(_RY2[2], 0.6, 0);
_9E1(_RY2[2], _zc1(12 / _xp1), _zc1(17 / _xp1));
_pD1(_5Z2, _a11, _b11, _RY2[2], _081, 20);
_DD1(_RY2[3], _6Z2);
_HD1(_RY2[3], 0.3, 0.3, 0.2 * _xp1, 0);
_fE1(_RY2[3], 0, 360, 0, 0, false);
_Rd1(_RY2[3], 0.8, 0);
_9E1(_RY2[3], _zc1(17 / _xp1), _zc1(17 / _xp1));
_pD1(_5Z2, _a11, _b11, _RY2[3], _7Z2, 1);
}
}
function _8Z2(_5Z2, _a11, _b11, _781, _081) {
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_SY2[0], _9Z2);
_Rd1(_SY2[0], 1, 0);
_HD1(_SY2[0], 0.0, 0.0, 0.15 * _xp1, 0.0);
_9E1(_SY2[0], _zc1(10.0 / _xp1), _zc1(12.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _SY2[0], _081, 1);
} else if (_781 == 2) {
_DD1(_SY2[2], _9Z2);
_Rd1(_SY2[2], 1, 0);
_HD1(_SY2[2], 0, 0, 0.4 * _xp1, 0);
_9E1(_SY2[2], _zc1(18.0 / _xp1), _zc1(20.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _SY2[2], _081, 1);
} else {
_DD1(_SY2[1], _9Z2);
_Rd1(_SY2[1], 1, 0);
_HD1(_SY2[1], 0, 0, 0.25 * _xp1, 0);
_9E1(_SY2[1], _zc1(13.0 / _xp1), _zc1(15.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _SY2[1], _081, 1);
}
}
function _aZ2(_5Z2, _a11, _b11, _781, _081) {
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_PY2[0], _9Z2);
_Rd1(_PY2[0], 1, 0);
_HD1(_PY2[0], 0, 0, 0.2 * _xp1, 0);
_JD1(_PY2[0], 1, 0.5);
_9E1(_PY2[0], _zc1(10.0 / _xp1), _zc1(12.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _PY2[0], _081, 1);
} else if (_781 == 2) {
_DD1(_PY2[2], _9Z2);
_Rd1(_PY2[2], 1, 0);
_HD1(_PY2[2], 0, 0, 0.6 * _xp1, 0);
_JD1(_PY2[2], 1, 0.5);
_9E1(_PY2[2], _zc1(18.0 / _xp1), _zc1(20.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _PY2[2], _081, 1);
} else {
_DD1(_PY2[1], _9Z2);
_Rd1(_PY2[1], 1, 0);
_HD1(_PY2[1], 0, 0, 0.35 * _xp1, 0);
_JD1(_PY2[1], 1, 0.5);
_9E1(_PY2[1], _zc1(13.0 / _xp1), _zc1(15.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _PY2[1], _081, 1);
}
}
function _bZ2(_5Z2, _a11, _b11, _781, _081) {
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_TY2[1], _cZ2);
_HD1(_TY2[1], 0.1, 0.2, 0, 0);
_hE1(_TY2[1], 0.5 * _xp1, 3.0 * _xp1, 0.0, 0.0);
_jE1(_TY2[1], 0, 360, 0, 0);
_Rd1(_TY2[1], 1, 0.4);
_9E1(_TY2[1], _zc1(15.0 / _xp1), _zc1(25.0 / _xp1));
_lE1(_TY2[1], 0.1 * _xp1, 270);
_pD1(_5Z2, _a11, _b11, _TY2[1], _081, 75);
} else if (_781 == 2) {
_DD1(_TY2[1], _cZ2);
_HD1(_TY2[1], 0.1, 0.2, 0, 0);
_hE1(_TY2[1], 0.5 * _xp1, 8.0 * _xp1, 0.0, 0.0);
_jE1(_TY2[1], 0, 360, 0, 0);
_Rd1(_TY2[1], 1, 0.4);
_9E1(_TY2[1], _zc1(30.0 / _xp1), _zc1(40.0 / _xp1));
_lE1(_TY2[1], 0.17 * _xp1, 270);
_pD1(_5Z2, _a11, _b11, _TY2[1], _081, 250);
} else {
_DD1(_TY2[1], _cZ2);
_HD1(_TY2[1], 0.1, 0.2, 0, 0);
_hE1(_TY2[1], 0.5 * _xp1, 6.0 * _xp1, 0.0, 0.0);
_jE1(_TY2[1], 0, 360, 0, 0);
_Rd1(_TY2[1], 1, 0.4);
_9E1(_TY2[1], _zc1(20.0 / _xp1), _zc1(30.0 / _xp1));
_lE1(_TY2[1], 0.15 * _xp1, 270);
_pD1(_5Z2, _a11, _b11, _TY2[1], _081, 150);
}
}
function _dZ2(_5Z2, _a11, _b11, _781, _081) {
var _X9;
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_QY2[0], _6Z2);
_HD1(_QY2[0], 0.2, 0.4, -0.01 * _xp1, 0);
_Rd1(_QY2[0], 0.4, 0);
_9E1(_QY2[0], _zc1(25.0 / _xp1), _zc1(25.0 / _xp1));
for (_X9 = 0; _X9 <= 5; _X9++) {
_pD1(_5Z2, _a11 - 5 + _eZ2(10), _b11 - 5 + _eZ2(10), _QY2[0], _081, 1);
}
} else if (_781 === 2) {
_DD1(_QY2[2], _6Z2);
_HD1(_QY2[2], 0.4, 1, -0.01 * _xp1, 0);
_Rd1(_QY2[2], 0.4, 0);
_9E1(_QY2[2], _zc1(50.0 / _xp1), _zc1(50.0 / _xp1));
for (_X9 = 0; _X9 <= 15; _X9++) {
_pD1(_5Z2, _a11 - 30 + _eZ2(60), _b11 - 30 + _eZ2(60), _QY2[2], _081, 1);
}
} else {
_DD1(_QY2[1], _6Z2);
_HD1(_QY2[1], 0.4, 0.7, -0.01 * _xp1, 0);
_Rd1(_QY2[1], 0.4, 0);
_9E1(_QY2[1], _zc1(30.0 / _xp1), _zc1(30.0 / _xp1));
for (_X9 = 0; _X9 <= 10; _X9++) {
_pD1(_5Z2, _a11 - 15 + _eZ2(30), _b11 - 15 + _eZ2(30), _QY2[1], _081, 1);
}
}
}
function _fZ2(_5Z2, _a11, _b11, _781, _081) {
var _X9;
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_UY2[0], _6Z2);
_HD1(_UY2[0], 0.2, 0.4, -0.01 * _xp1, 0);
_Rd1(_UY2[0], 0.4, 0);
_hE1(_UY2[0], 3.0 * _xp1, 4.0 * _xp1, 0, 0);
_jE1(_UY2[0], 90, 90, 0, 0);
_9E1(_UY2[0], _zc1(25.0 / _xp1), _zc1(25.0 / _xp1));
for (_X9 = 0; _X9 <= 5; _X9++) {
_pD1(_5Z2, _a11 - 5 + _eZ2(10), _b11 - 5 + _eZ2(10), _UY2[0], _081, 1);
}
} else if (_781 === 2) {
_DD1(_UY2[2], _6Z2);
_HD1(_UY2[2], 0.4, 1, -0.01 * _xp1, 0);
_Rd1(_UY2[2], 0.4, 0);
_hE1(_UY2[2], 6.0 * _xp1, 7.0 * _xp1, 0, 0);
_jE1(_UY2[2], 90, 90, 0, 0);
_9E1(_UY2[2], _zc1(50.0 / _xp1), _zc1(50.0 / _xp1));
for (_X9 = 0; _X9 <= 15; _X9++) {
_pD1(_5Z2, _a11 - 30 + _eZ2(60), _b11 - 30 + _eZ2(60), _UY2[2], _081, 1);
}
} else {
_DD1(_UY2[1], _6Z2);
_HD1(_UY2[1], 0.4, 0.7, -0.01 * _xp1, 0);
_Rd1(_UY2[1], 0.4, 0);
_hE1(_UY2[1], 5.0 * _xp1, 6.0 * _xp1, 0, 0);
_jE1(_UY2[1], 90, 90, 0, 0);
_9E1(_UY2[1], _zc1(30.0 / _xp1), _zc1(30.0 / _xp1));
for (_X9 = 0; _X9 <= 10; _X9++) {
_pD1(_5Z2, _a11 - 15 + _eZ2(30), _b11 - 15 + _eZ2(30), _UY2[1], _081, 1);
}
}
}
function _gZ2(_5Z2, _a11, _b11, _781, _081) {
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_VY2[0], _hZ2);
_HD1(_VY2[0], 0.4, 0.3, -0.02 * _xp1, 0);
_fE1(_VY2[0], 0, 360, 0, 0, false);
_9E1(_VY2[0], _zc1(20 / _xp1), _zc1(20 / _xp1));
_pD1(_5Z2, _a11, _b11, _VY2[0], _081, 1);
} else if (_781 === 2) {
_DD1(_VY2[2], _hZ2);
_HD1(_VY2[2], 1.2, 1.2, -0.04 * _xp1, 0);
_fE1(_VY2[2], 0, 360, 0, 0, false);
_9E1(_VY2[2], _zc1(30 / _xp1), _zc1(30 / _xp1));
_pD1(_5Z2, _a11, _b11, _VY2[2], _081, 1);
} else {
_DD1(_VY2[1], _hZ2);
_HD1(_VY2[1], 0.75, 0.75, -0.03 * _xp1, 0);
_fE1(_VY2[1], 0, 360, 0, 0, false);
_9E1(_VY2[1], _zc1(25 / _xp1), _zc1(25 / _xp1));
_pD1(_5Z2, _a11, _b11, _VY2[1], _081, 1);
}
}
function _iZ2(_5Z2, _a11, _b11, _781, _081) {
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_WY2[0], _jZ2);
_HD1(_WY2[0], 0.4, 0.4, -0.02 * _xp1, 0);
_fE1(_WY2[0], 0, 360, 0, 0, false);
_9E1(_WY2[0], _zc1(20 / _xp1), _zc1(20 / _xp1));
_pD1(_5Z2, _a11, _b11, _WY2[0], _081, 1);
} else if (_781 === 2) {
_DD1(_WY2[2], _jZ2);
_HD1(_WY2[2], 1.2, 1.2, -0.04 * _xp1, 0);
_fE1(_WY2[2], 0, 360, 0, 0, false);
_9E1(_WY2[2], _zc1(30 / _xp1), _zc1(30 / _xp1));
_pD1(_5Z2, _a11, _b11, _WY2[2], _081, 1);
} else {
_DD1(_WY2[1], _jZ2);
_HD1(_WY2[1], 0.75, 0.75, -0.03 * _xp1, 0);
_fE1(_WY2[1], 0, 360, 0, 0, false);
_9E1(_WY2[1], _zc1(25 / _xp1), _zc1(25 / _xp1));
_pD1(_5Z2, _a11, _b11, _WY2[1], _081, 1);
}
}
function _kZ2(_5Z2, _a11, _b11, _781, _081) {
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_XY2[0], _cZ2);
_HD1(_XY2[0], 0.4, 0.4, -0.02 * _xp1, 0);
_fE1(_XY2[0], 0, 360, 0, 0, false);
_9E1(_XY2[0], _zc1(20 / _xp1), _zc1(20 / _xp1));
_pD1(_5Z2, _a11, _b11, _XY2[0], _081, 1);
} else if (_781 === 2) {
_DD1(_XY2[2], _cZ2);
_HD1(_XY2[2], 1.2, 1.2, -0.04 * _xp1, 0);
_fE1(_XY2[2], 0, 360, 0, 0, false);
_9E1(_XY2[2], _zc1(30 / _xp1), _zc1(30 / _xp1));
_pD1(_5Z2, _a11, _b11, _XY2[2], _081, 1);
} else {
_DD1(_XY2[1], _cZ2);
_HD1(_XY2[1], 0.75, 0.75, -0.03 * _xp1, 0);
_fE1(_XY2[1], 0, 360, 0, 0, false);
_9E1(_XY2[1], _zc1(25 / _xp1), _zc1(25 / _xp1));
_pD1(_5Z2, _a11, _b11, _XY2[1], _081, 1);
}
}
function _lZ2(_5Z2, _a11, _b11, _781, _081) {
var _xp1 = _0Z2();
if (_781 === 0) {
_DD1(_YY2[0], _6Z2);
_HD1(_YY2[0], 2, 2, 0, 0);
_JD1(_YY2[0], 1, 0.5);
_7E1(_YY2[0], 0, 0.3, 0);
_9E1(_YY2[0], _zc1(100.0 / _xp1), _zc1(100.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _YY2[0], _081, 1);
} else if (_781 === 2) {
_DD1(_YY2[2], _6Z2);
_HD1(_YY2[2], 8, 8, 0, 0);
_JD1(_YY2[2], 1, 0.5);
_7E1(_YY2[2], 0, 0.3, 0);
_9E1(_YY2[2], _zc1(100.0 / _xp1), _zc1(100.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _YY2[2], _081, 1);
} else {
_DD1(_YY2[1], _6Z2);
_HD1(_YY2[1], 4, 4, 0, 0);
_JD1(_YY2[1], 1, 0.5);
_7E1(_YY2[1], 0, 0.3, 0);
_9E1(_YY2[1], _zc1(100.0 / _xp1), _zc1(100.0 / _xp1));
_pD1(_5Z2, _a11, _b11, _YY2[1], _081, 1);
}
}
function _mZ2(_5Z2, _a11, _b11, _781, _081) {
var _X9;
var _xp1 = _0Z2();
_DD1(_ZY2, _nZ2);
_HD1(_ZY2, 0.2, 0.3, 0.0, 0.0);
_fE1(_ZY2, 0, 0, 0, 0, true);
_hE1(_ZY2, 7 * _xp1, 7 * _xp1, 0, 0);
_jE1(_ZY2, 260, 260, 0, 0);
_4E1(_ZY2, 0.4);
_9E1(_ZY2, _zc1((0.2 * _D01._LW1()) / _xp1), _zc1((0.2 * _D01._LW1()) / _xp1));
if (_781 === 0) {
for (_X9 = 0; _X9 <= 1; _X9++) {
_pD1(_5Z2, _eZ2(1) * 1.2 * _D01._kY2(), -30.0 + _eZ2(20), _ZY2, _081, 1);
}
} else if (_781 == 2) {
for (_X9 = 0; _X9 <= 8; _X9++) {
_pD1(_5Z2, _eZ2(1) * 1.2 * _D01._kY2(), -30.0 + _eZ2(20), _ZY2, _081, 1);
}
} else {
for (_X9 = 0; _X9 <= 4; _X9++) {
_pD1(_5Z2, _eZ2(1) * 1.2 * _D01._kY2(), -30.0 + _eZ2(20), _ZY2, _081, 1);
}
}
}
function _oZ2(_5Z2, _a11, _b11, _781, _081) {
var _X9;
var _xp1 = _0Z2();
_DD1(__Y2, _pZ2);
_HD1(__Y2, 0.1, 0.25, 0.0, 0.0);
_4E1(__Y2, 0.6);
_fE1(__Y2, 0, 360, 0, 0, false);
_hE1(__Y2, 2.5 * _xp1, 3.0 * _xp1, 0.0, 0.0);
_jE1(__Y2, 240, 300, 0, 20);
_9E1(__Y2, _zc1((0.5 * _D01._LW1()) / _xp1), _zc1((0.5 * _D01._LW1()) / _xp1));
if (_781 === 0) {
for (_X9 = 0; _X9 <= 0; _X9++) {
_pD1(_5Z2, _eZ2(1) * 1.2 * _D01._kY2() - 60, -30.0 + _eZ2(20), __Y2, _081, 1);
}
} else if (_781 === 2) {
for (_X9 = 0; _X9 <= 6; _X9++) {
_pD1(_5Z2, _eZ2(1) * 1.2 * _D01._kY2() - 60, -30.0 + _eZ2(20), __Y2, _081, 1);
}
} else {
for (_X9 = 0; _X9 <= 2; _X9++) {
_pD1(_5Z2, _eZ2(1) * 1.2 * _D01._kY2() - 60, -30.0 + _eZ2(20), __Y2, _081, 1);
}
}
}
function _qZ2(_rZ2, _D71, _a11, _b11, _781, _081) {
var _wV1;
_2Z2();
if (_rZ2) {
_wV1 = _BY2;
} else {
_wV1 = _CY2;
}
switch (_D71) {
case _DY2:
_4Z2(_wV1, _a11, _b11, _781, _081);
break;
case _EY2:
_8Z2(_wV1, _a11, _b11, _781, _081);
break;
case _FY2:
_aZ2(_wV1, _a11, _b11, _781, _081);
break;
case _GY2:
_bZ2(_wV1, _a11, _b11, _781, _081);
break;
case _HY2:
_dZ2(_wV1, _a11, _b11, _781, _081);
break;
case _IY2:
_fZ2(_wV1, _a11, _b11, _781, _081);
break;
case _JY2:
_gZ2(_wV1, _a11, _b11, _781, _081);
break;
case _KY2:
_iZ2(_wV1, _a11, _b11, _781, _081);
break;
case _LY2:
_kZ2(_wV1, _a11, _b11, _781, _081);
break;
case _MY2:
_lZ2(_wV1, _a11, _b11, _781, _081);
break;
case _NY2:
_mZ2(_wV1, _a11, _b11, _781, _081);
break;
case _OY2:
_oZ2(_wV1, _a11, _b11, _781, _081);
break;
}
}
var _sZ2 = !1,
_JQ1 = !1,
_tZ2 = !0;
function _uZ2(_vZ2) {
if (_vZ2) {
_sZ2 = true;
} else {
_JQ1 = false;
_sZ2 = false;
if (_tZ2) {
_wZ2 = false;
}
}
}
function _xZ2() {
if (window["page"] === undefined) {
_tZ2 = false;
window.addEventListener("focus", function () {
_uZ2(false);
});
window.addEventListener("blur", function () {
_uZ2(true);
});
window.addEventListener("click", function () {
_uZ2(false);
});
}
}
function _yZ2() {
if (_sZ2) {
_JQ1 = true;
_sZ2 = false;
} else if (_JQ1) {
_JQ1 = false;
if (_tZ2) {
_wZ2 = true;
}
}
}
function _zZ2() {
var _tC1, _X9, _AZ2;
var _3b1 = null;
if (_D01._4b1) {
_3b1 = _D01._6b1;
}
var _xc1 = _D01._8w1._xc1;
var _d31 = _BZ2++;
for (var _CZ2 = 0; _CZ2 < _xc1.length; _CZ2++) {
var _Xv1 = _xc1[_CZ2];
var _fw1 = _Xv1._fw1;
if (!_Xv1._bl && _Xv1._DZ2 <= _d31) {
if (_fw1._EZ2[_FZ2]) {
var _GZ2 = false;
if (_0A1(_Xv1._wC) || _0A1(_Xv1._HZ2)) {
_tC1 = _Xv1._IZ2();
_GZ2 = _tC1.right < 0 || _tC1.left > _D01._kY2() || _tC1.bottom < 0 || _tC1.top > _D01._LW1();
} else {
_GZ2 = _Xv1.x < 0 || _Xv1.x > _D01._kY2() || _Xv1.y < 0 || _Xv1.y > _D01._LW1();
}
if (_GZ2) {
if (!_Xv1._JZ2) {
_Xv1._B11(_FZ2, _KZ2, _Xv1, _Xv1);
}
}
_Xv1._JZ2 = _GZ2;
}
if (_fw1._EZ2[_LZ2]) {
if (_0A1(_Xv1._wC) || _0A1(_Xv1._HZ2)) {
_tC1 = _Xv1._IZ2();
if (_tC1.left < 0 || _tC1.right > _D01._kY2() || _tC1.top < 0 || _tC1.bottom > _D01._LW1()) {
_Xv1._B11(_LZ2, _KZ2, _Xv1, _Xv1);
}
} else {
if (_Xv1.x < 0 || _Xv1.x > _D01._kY2() || _Xv1.y < 0 || _Xv1.y > _D01._LW1()) {
_Xv1._B11(_LZ2, _KZ2, _Xv1, _Xv1);
}
}
}
if (_3b1) {
for (_AZ2 = 0; _AZ2 < _3b1.length; _AZ2++) {
var _MZ2 = _3b1[_AZ2];
if (_MZ2._4a) {
var _NZ2 = _MZ2._lM1;
var _OZ2 = _MZ2._nM1;
var _PZ2 = _MZ2._lM1 + _MZ2._pM1;
var _QZ2 = _MZ2._nM1 + _MZ2._rM1;
var _AX2 = _zY2._hX2(_MZ2._RZ2);
if (_AX2 != null) {
_NZ2 = _AX2._RX2();
_OZ2 = _AX2._TX2();
_PZ2 = _AX2._RX2() + _AX2._SX2();
_QZ2 = _AX2._TX2() + _AX2._UX2();
}
if (_fw1._EZ2[_SZ2 + _AZ2]) {
if (_0A1(_Xv1._wC) || _0A1(_Xv1._HZ2)) {
_tC1 = _Xv1._IZ2();
if (_tC1.right < _NZ2 || _tC1.left > _PZ2 || _tC1.bottom < _OZ2 || _tC1.top > _QZ2) {
_Xv1._B11(_SZ2 + _AZ2, _KZ2, _Xv1, _Xv1);
}
} else {
if (_Xv1.x < _NZ2 || _Xv1.x > _PZ2 || _Xv1.y < _OZ2 || _Xv1.y > _QZ2) {
_Xv1._B11(_SZ2 + _AZ2, _KZ2, _Xv1, _Xv1);
}
}
}
if (_fw1._EZ2[_TZ2 + _AZ2]) {
if (_0A1(_Xv1._wC) || _0A1(_Xv1._HZ2)) {
_tC1 = _Xv1._IZ2();
if (_tC1.left < _NZ2 || _tC1.right > _PZ2 || _tC1.top < _OZ2 || _tC1.bottom > _QZ2) {
_Xv1._B11(_TZ2 + _AZ2, _KZ2, _Xv1, _Xv1);
}
} else {
if (_Xv1.x < _NZ2 || _Xv1.x > _PZ2 || _Xv1.y < _OZ2 || _Xv1.y > _QZ2) {
_Xv1._B11(_TZ2 + _AZ2, _KZ2, _Xv1, _Xv1);
}
}
}
}
}
}
}
}
}
function _UZ2() {
for (var _rF2 in _sF2) {
if (!_sF2.hasOwnProperty(_rF2)) continue;
var _VZ2 = _o01._s11(_rF2);
var _WZ2 = _VZ2._JF1();
var _d31 = _BZ2++;
for (var _0F2 = 0; _0F2 < _WZ2.length; _0F2++) {
var _XZ2 = _WZ2[_0F2];
if (!_XZ2._bl && _XZ2._cl && _XZ2._DZ2 <= _d31) {
var _YZ2 = _sF2[_rF2];
for (var _ZZ2 in _YZ2) {
if (!_YZ2.hasOwnProperty(_ZZ2)) continue;
var _od2 = _YZ2[_ZZ2];
var __Z2 = _o01._s11(_od2);
var _0_2 = __Z2._JF1();
for (var _1F2 = 0; _1F2 < _0_2.length; _1F2++) {
var _1_2 = _0_2[_1F2];
if (!_1_2._bl && _1_2._cl && _1_2._DZ2 <= _d31) {
if (_XZ2._fw1 == _1_2._fw1 && _1F2 < _0F2) continue;
if (_XZ2._3w1(_1_2, true)) {
if (_XZ2._kC1 || _1_2._kC1) {
_XZ2.x = _XZ2._YI;
_XZ2.y = _XZ2._ZI;
_XZ2._rC1 = true;
_XZ2._2_2 = _XZ2._3_2;
_1_2.x = _1_2._YI;
_1_2.y = _1_2._ZI;
_1_2._rC1 = true;
_1_2._2_2 = _1_2._3_2;
}
_XZ2._B11(_9F2, _1_2._fw1._rw1, _XZ2, _1_2);
_1_2._B11(_9F2, _XZ2._fw1._rw1, _1_2, _XZ2);
if (_XZ2._kC1 || _1_2._kC1) {
_XZ2._NE2();
_1_2._NE2();
_XZ2._E81(_XZ2.x + _XZ2._Yf, _XZ2.y + _XZ2._Zf);
_1_2._E81(_1_2.x + _1_2._Yf, _1_2.y + _1_2._Zf);
if (_XZ2._3w1(_1_2, true)) {
_XZ2.x = _XZ2._YI;
_XZ2.y = _XZ2._ZI;
_XZ2._rC1 = true;
_XZ2._2_2 = _XZ2._3_2;
_1_2.x = _1_2._YI;
_1_2.y = _1_2._ZI;
_1_2._rC1 = true;
_1_2._2_2 = _1_2._3_2;
}
}
}
}
}
}
}
}
}
}
function _4_2() {
if (_D01) {
var __e1;
var _d31 = _BZ2;
var _5_2 = _5O1();
var _6_2 = _6O1();
var _7_2 = _o01._jC1();
for (var _4q1 = 0; _4q1 < _7_2.length; _4q1++) {
var _8q1 = _7_2[_4q1];
var _8_2 = _8q1._EZ2;
if (_8_2[_9_2] || _8_2[_a_2] || _8_2[_b_2] || _8_2[_c_2] || _8_2[_d_2] || _8_2[_e_2] || _8_2[_f_2] || _8_2[_g_2] || _8_2[_h_2] || _8_2[_i_2] || _8_2[_j_2] || _8_2[_k_2] || _8_2[_l_2] || _8_2[_m_2]) {
if (_8q1._n_2.length > 0) {
var _o_2 = _8q1._n_2._xc1.slice(0);
for (var _X9 = _o_2.length - 1; _X9 >= 0; _X9--) {
var _Yv1 = _o_2[_X9];
if (!_Yv1._bl && _Yv1._DZ2 <= _d31) {
if (_Yv1._rC1) _Yv1._sC1();
if (_Yv1._9w1(_5_2, _6_2, true)) {
var _p_2 = true;
for (__e1 = 0; __e1 < 3; __e1++) {
if (_ub1._D91[__e1]) {
if (_8_2[_9_2 + __e1]) {
_Yv1._B11(_9_2 + __e1, 0, _Yv1, _Yv1);
}
_p_2 = false;
}
}
for (__e1 = 0; __e1 < 3; __e1++) {
if (_ub1._y91[__e1] === 1) {
if (_8_2[_c_2 + __e1]) {
_Yv1._B11(_c_2 + __e1, 0, _Yv1, _Yv1);
}
_p_2 = false;
}
}
for (__e1 = 0; __e1 < 3; __e1++) {
if (_ub1._C91[__e1] === 1) {
if (_8_2[_f_2 + __e1]) {
_Yv1._B11(_f_2 + __e1, 0, _Yv1, _Yv1);
}
}
}
if (_p_2) {
_Yv1._B11(_i_2, 0, _Yv1, _Yv1);
}
if (!_Yv1._q_2) {
_Yv1._B11(_j_2, 0, _Yv1, _Yv1);
_Yv1._q_2 = true;
}
} else {
if (_Yv1._q_2) {
_Yv1._B11(_k_2, 0, _Yv1, _Yv1);
_Yv1._q_2 = false;
}
}
}
}
}
}
}
for (__e1 = 0; __e1 < 3; __e1++) {
if (_ub1._D91[__e1]) {
_iy1._B11(_r_2 + __e1, 0);
}
}
for (__e1 = 0; __e1 < 3; __e1++) {
if (_ub1._y91[__e1] === 1) {
_iy1._B11(_s_2 + __e1, 0);
}
}
for (__e1 = 0; __e1 < 3; __e1++) {
if (_ub1._C91[__e1] === 1) {
_iy1._B11(_t_2 + __e1, 0);
}
}
if (_u_2) {
_iy1._B11(_l_2, 0);
}
if (_v_2) {
_iy1._B11(_m_2, 0);
}
}
}
function _w_2() {
var _M41, _N41, _i21;
var _xc1 = _D01._8w1._xc1;
var _d31 = _BZ2++;
for (var _Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
var _Yv1 = _xc1[_Xv1];
if (!_Yv1._bl && _Yv1._x_2 >= 0 && _Yv1._DZ2 <= _d31) {
if (!_Yv1._y_2) {
var _cr1 = _dr1._s11(_Yv1._x_2);
if (_cr1 !== null && _cr1 !== undefined) {
if (_Yv1._z_2 > 0) {
_M41 = _cr1._A_2(_Yv1._B_2);
_Yv1._B_2 += _Yv1._z_2;
_N41 = _cr1._A_2(_Yv1._B_2);
for (_i21 = _M41; _i21 < _N41; _i21++) {
_7r1(_Yv1, _Yv1, _Yv1._x_2, _i21);
}
if (_Yv1._C_2 && _Yv1._B_2 > _cr1._D_2()) {
_Yv1._B_2 = 0;
}
} else {
_M41 = _cr1._E_2(_Yv1._B_2);
_Yv1._B_2 += _Yv1._z_2;
_N41 = _cr1._E_2(_Yv1._B_2);
for (_i21 = _M41; _i21 > _N41; _i21--) {
_7r1(_Yv1, _Yv1, _Yv1._x_2, _i21);
}
if (_Yv1._C_2 && _Yv1._B_2 < 0) {
_Yv1._B_2 = _cr1._D_2();
}
}
}
}
}
}
}
function _F_2() {
var _xc1 = _D01._8w1._xc1;
var _d31 = _BZ2++;
for (var _Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
var _Yv1 = _xc1[_Xv1];
if (!_Yv1._bl && _Yv1._DZ2 <= _d31) {
for (var _l41 = 0; _l41 < _G_2; _l41++) {
var event = _H_2 | (_l41 + 1);
var _8q1 = _Yv1._fw1;
if (_8q1._EZ2[event]) {
var _I_2;
_I_2 = ~~_Yv1._rx[_l41];
if (_I_2 >= 0) {
_I_2--;
_Yv1._rx[_l41] = _I_2;
}
if (_I_2 === 0) {
_Yv1._B11(_H_2 | (_l41 + 1), 0, _Yv1, _Yv1);
}
}
}
}
}
}
(function (window) {
if (!Object.defineProperty) {
throw "Font.js requires Object.defineProperty, which this browser does not support.";
}
if (!document.createElement("canvas").getContext) {
throw "Font.js requires <canvas> and the Canvas2D API, which this browser does not support.";
}
(function (window) {
try {
var _l41 = new Uint8Array(1);
return;
} catch (e) {}
function subarray(start, end) {
return this.slice(start, end);
}
function _J_2(_7m2, offset) {
var _X9,
_W11 = _7m2.length;
if (arguments.length < 2) {
offset = 0;
}
for (_X9 = 0; _X9 < _W11; ++_X9, ++offset) {
this[offset] = _7m2[_X9] & 0xff;
}
}
function _K_2(_ds1) {
var result, _X9;
if (typeof _ds1 === "number") {
result = new Array(_ds1);
for (_X9 = 0; _X9 < _ds1; ++_X9) {
result[_X9] = 0;
}
} else {
result = _ds1.slice(0);
}
result.subarray = subarray;
result.buffer = result;
result.byteLength = result.length;
result.set = _J_2;
if (typeof _ds1 === "object" && _ds1.buffer) {
result.buffer = _ds1.buffer;
}
return result;
}
window.Uint8Array = _K_2;
window.Uint32Array = _K_2;
window.Int32Array = _K_2;
})(window);
(function (window) {
if (window.opera) return;
if ("response" in XMLHttpRequest.prototype || "mozResponseArrayBuffer" in XMLHttpRequest.prototype || "mozResponse" in XMLHttpRequest.prototype || "responseArrayBuffer" in XMLHttpRequest.prototype) {
return;
}
var getter;
if (window.VBArray) {
getter = function () {
return new Uint8Array(new window.VBArray(this.responseBody)._L_2());
};
} else {
getter = function () {
return this.responseBody;
};
}
Object.defineProperty(XMLHttpRequest.prototype, "response", { get: getter });
})(window);
if (!window.btoa) {
window.btoa = function (data) {
var _mr1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var _nr1,
_or1,
_pr1,
_qr1,
_rr1,
_sr1,
_tr1,
_ur1,
_X9 = 0,
_vr1 = 0,
_wr1 = "",
_xr1 = [];
if (!data) {
return data;
}
do {
_nr1 = data.charCodeAt(_X9++);
_or1 = data.charCodeAt(_X9++);
_pr1 = data.charCodeAt(_X9++);
_ur1 = (_nr1 << 16) | (_or1 << 8) | _pr1;
_qr1 = (_ur1 >> 18) & 0x3f;
_rr1 = (_ur1 >> 12) & 0x3f;
_sr1 = (_ur1 >> 6) & 0x3f;
_tr1 = _ur1 & 0x3f;
_xr1[_vr1++] = _mr1.charAt(_qr1) + _mr1.charAt(_rr1) + _mr1.charAt(_sr1) + _mr1.charAt(_tr1);
} while (_X9 < data.length);
_wr1 = _xr1.join("");
var _b21 = data.length % 3;
return (_b21 ? _wr1.slice(0, _b21 - 3) : _wr1) + "===".slice(_b21 || 3);
};
}
function Font() {
this._M_2 = "fjs" + ((999999 * Math.random()) | 0);
}
Font.prototype._3I1 = "";
Font.prototype._N_2 = "";
Font.prototype.data = "";
Font.prototype._O_2 =
"AAEAAAAKAIAAAwAgT1MvMgAAAAAAAACsAAAAWGNtYXAA" +
"AAAAAAABBAAAACxnbHlmAAAAAAAAATAAAAAQaGVhZAAAA" +
"AAAAAFAAAAAOGhoZWEAAAAAAAABeAAAACRobXR4AAAAAA" +
"AAAZwAAAAIbG9jYQAAAAAAAAGkAAAACG1heHAAAAAAAAA" +
"BrAAAACBuYW1lAAAAAAAAAcwAAAAgcG9zdAAAAAAAAAHs" +
"AAAAEAAEAAEAZAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" +
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" +
"AAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAABAAMAAQA" +
"AAAwABAAgAAAABAAEAAEAAABB//8AAABB////wAABAAAA" +
"AAABAAAAAAAAAAAAAAAAMQAAAQAAAAAAAAAAAABfDzz1A" +
"AAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAEAAg" +
"AAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAA" +
"AAAAAAAAAAQAAAAAAAAAAAAAAAAAIAAAAAQAAAAIAAQAB" +
"AAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAHgADAAEEC" +
"QABAAAAAAADAAEECQACAAIAAAAAAAEAAAAAAAAAAAAAAA" +
"AAAA==";
Font.prototype._P_2 = { _Q_2: 0, _R_2: 0, _S_2: 0, _T_2: 0, _U_2: 400 };
Font.prototype._V_2 = !1;
Font.prototype._NJ1 = !1;
Font.prototype.onload = function () {};
Font.prototype.onerror = function () {};
Font.prototype.canvas = !1;
Font.prototype.context = !1;
Font.prototype.validate = function (target, _k92, _W_2, font, _X_2) {
if (_X_2 !== !1 && _X_2 < 0) {
this.onerror("Requested system font '" + this._M_2 + "' could not be loaded (it may not be installed).");
return;
}
var _Y_2 = document._Z_2.getComputedStyle(target, "");
var width = _Y_2.getPropertyValue("width").replace("px", "");
if (width > 0) {
document.___2.removeChild(_k92);
document.body.removeChild(target);
this._NJ1 = !0;
this.onload();
} else {
setTimeout(function () {
font.validate(target, _k92, _W_2, font, _X_2 === !1 ? !1 : _X_2 - 50);
}, 50);
}
};
Font.prototype._003 = function () {
var _Al2 = this;
var _Br1 = function (_r91) {
return String.fromCharCode(_r91);
};
var _103 = function (_r91) {
if (_r91 < 256) {
return _Br1(0) + _Br1(_r91);
}
var _3r1 = _r91 >> 8;
var _4r1 = _r91 & 0xff;
return _Br1(_3r1) + _Br1(_4r1);
};
var _203 = function (_r91) {
if (_r91 < 0) {
_r91 = 0xffffffff + _r91 + 1;
}
return parseInt(_r91, 10).toString(16);
};
var _303 = function (_3r1, _4r1) {
return 256 * _3r1 + _4r1;
};
var _403 = function (_3r1, _4r1) {
var _503 = _3r1 >> 7 === 1,
_r91;
_3r1 = _3r1 & 0x7f;
_r91 = 256 * _3r1 + _4r1;
if (!_503) {
return _r91;
}
return _r91 - 0x8000;
};
var _603 = function (_3r1, _4r1, _703, _803) {
return 16777216 * _3r1 + 65536 * _4r1 + 256 * _703 + _803;
};
var error = function (_Xo1) {
_Al2.onerror(_Xo1);
};
var _903 = _Br1(0) + _Br1(1) + _Br1(0) + _Br1(0);
var _a03 = "OTTO";
var data = this.data;
var version = _Br1(data[0]) + _Br1(data[1]) + _Br1(data[2]) + _Br1(data[3]);
var _b03 = version === _903;
var _c03 = _b03 ? !1 : version === _a03;
if (_b03) {
this._N_2 = "truetype";
} else if (_c03) {
this._N_2 = "opentype";
} else {
error("Error: file at " + this._3I1 + " cannot be interpreted as OpenType font.");
return;
}
var _d03 = _303(data[4], data[5]),
_e03 = 12,
_f03,
end = _e03 + 16 * _d03,
_g03 = {},
_Z82;
for (_f03 = _e03; _f03 < end; _f03 += 16) {
_Z82 = _Br1(data[_f03]) + _Br1(data[_f03 + 1]) + _Br1(data[_f03 + 2]) + _Br1(data[_f03 + 3]);
_g03[_Z82] = {
name: _Z82,
_h03: _603(data[_f03 + 4], data[_f03 + 5], data[_f03 + 6], data[_f03 + 7]),
offset: _603(data[_f03 + 8], data[_f03 + 9], data[_f03 + 10], data[_f03 + 11]),
length: _603(data[_f03 + 12], data[_f03 + 13], data[_f03 + 14], data[_f03 + 15]),
};
}
var _i03 = function (_Z82) {
if (!_g03[_Z82]) {
error("Error: font is missing the required OpenType '" + _Z82 + "' table.");
return !1;
}
return _Z82;
};
_Z82 = _i03("head");
if (_Z82 === !1) {
return;
}
_f03 = _g03[_Z82].offset;
_g03[_Z82].version = "" + data[_f03] + data[_f03 + 1] + data[_f03 + 2] + data[_f03 + 3];
var _j03 = _303(data[_f03 + 18], data[_f03 + 19]);
this._P_2._Q_2 = _j03;
_Z82 = _i03("hhea");
if (_Z82 === !1) {
return;
}
_f03 = _g03[_Z82].offset;
_g03[_Z82].version = "" + data[_f03] + data[_f03 + 1] + data[_f03 + 2] + data[_f03 + 3];
this._P_2._S_2 = _403(data[_f03 + 4], data[_f03 + 5]) / _j03;
this._P_2._T_2 = _403(data[_f03 + 6], data[_f03 + 7]) / _j03;
this._P_2._R_2 = _403(data[_f03 + 8], data[_f03 + 9]) / _j03;
_Z82 = _i03("OS/2");
if (_Z82 === !1) {
return;
}
_f03 = _g03[_Z82].offset;
_g03[_Z82].version = "" + data[_f03] + data[_f03 + 1];
this._P_2._U_2 = _303(data[_f03 + 4], data[_f03 + 5]);
_Z82 = _i03("cmap");
if (_Z82 === !1) {
return;
}
_f03 = _g03[_Z82].offset;
_g03[_Z82].version = "" + data[_f03] + data[_f03 + 1];
_d03 = _303(data[_f03 + 2], data[_f03 + 3]);
var _k03,
_l03,
_m03,
_n03,
offset,
_o03 = !1;
for (_k03 = 0; _k03 < _d03; _k03++) {
_l03 = _f03 + 4 + _k03 * 8;
_m03 = _303(data[_l03], data[_l03 + 1]);
_n03 = _303(data[_l03 + 2], data[_l03 + 3]);
offset = _603(data[_l03 + 4], data[_l03 + 5], data[_l03 + 6], data[_l03 + 7]);
if (_m03 === 3 && _n03 === 1) {
_o03 = offset;
}
}
var _p03 = "A";
this._q03 = [];
if (_o03 !== !1) {
_f03 += _o03;
version = _303(data[_f03], data[_f03 + 1]);
if (version === 4) {
var _r03 = _303(data[_f03 + 6], data[_f03 + 7]) / 2;
var _s03 = function (_Br1) {
return (
[
0x0009,
0x000a,
0x000b,
0x000c,
0x000d,
0x0020,
0x0085,
0x00a0,
0x1680,
0x180e,
0x2000,
0x2001,
0x2002,
0x2003,
0x2004,
0x2005,
0x2006,
0x2007,
0x2008,
0x2009,
0x200a,
0x2028,
0x2029,
0x202f,
0x205f,
0x3000,
].indexOf(_Br1) === -1
);
};
var _X9 = _f03 + 14,
e = _f03 + 14 + 2 * _r03,
_t03 = !1;
for (; _X9 < e; _X9 += 2) {
_t03 = _303(data[_X9], data[_X9 + 1]);
if (_s03(_t03)) {
break;
}
_t03 = !1;
}
var _Wo1 = e + 2;
for (; _X9 < e; _X9 += 2, _Wo1 += 2) {
var _u03 = _303(data[_X9], data[_X9 + 1]);
var _v03 = _303(data[_Wo1], data[_Wo1 + 1]);
if (_u03 != 0xffff) {
for (var _W11 = _v03; _W11 <= _u03; ++_W11) {
this._q03.push(_W11);
}
}
}
if (_t03 !== !1) {
_p03 = String.fromCharCode(_t03);
var _po2 = -(_t03 - 1) + 65536;
var _w03 = btoa(_Br1(0) + _103(_t03) + _103(0xffff) + _103(0) + _103(_t03) + _103(0xffff) + _103(_po2) + _103(1));
this._O_2 = this._O_2.substring(0, 380) + _w03 + this._O_2.substring(380 + _w03.length);
}
}
}
this._x03(_p03, !1);
};
Font.prototype._x03 = function (_p03, _X_2) {
var _y03 = this._M_2 + " testfont";
var _z03 = document.createElement("style");
_z03.setAttribute("type", "text/css");
_z03.innerHTML = "@font-face {\n" + " font-family: '" + _y03 + "';\n" + " src: url('data:application/x-font-ttf;base64," + this._O_2 + "')\n" + " format('truetype');}";
document.___2.appendChild(_z03);
var _A03 = !1;
if (!this._V_2) {
_A03 = this._B03();
document.___2.appendChild(_A03);
}
var _C03 = document.createElement("p");
_C03.style.cssText = "position: absolute; top: 0; left: 0; opacity: 0;";
_C03.style._M_2 = "'" + this._M_2 + "', '" + _y03 + "'";
_C03.innerHTML = _p03 + _p03 + _p03 + _p03 + _p03 + _p03 + _p03 + _p03 + _p03 + _p03;
document.body.appendChild(_C03);
if (!document._Z_2.getComputedStyle) {
this.onload();
_Mo1("Error: document.defaultView.getComputedStyle is not supported by this browser.\n" + "Consequently, Font.onload() cannot be trusted.");
} else {
var _D03 = this._V_2 ? 1000 : this._P_2._Q_2;
var canvas = document.createElement("canvas");
canvas.width = _D03;
canvas.height = _D03;
this.canvas = canvas;
var context = canvas.getContext("2d");
context.font = "1em '" + this._M_2 + "'";
context.fillStyle = "white";
context.fillRect(-1, -1, _D03 + 2, _D03 + 2);
context.fillStyle = "black";
context.fillText("test text", 50, _D03 / 2);
this.context = context;
var _0M2 = this;
var _E03 = function () {
_0M2.validate(_C03, _z03, _A03, _0M2, _X_2);
};
setTimeout(_E03, 50);
}
};
Font.prototype._F03 = function () {
this._V_2 = !0;
this._P_2 = !1;
this._x03("A", 1000);
};
Font.prototype._G03 = function () {
var font = this;
if (this._3I1.indexOf(".") === -1) {
setTimeout(function () {
font._F03();
}, 10);
return;
}
var _H03 = new XMLHttpRequest();
_H03.open("GET", font._3I1, !0);
_H03.responseType = "arraybuffer";
_H03.onload = function (_I03) {
var _J03 = _H03.response;
if (_J03) {
font.data = new Uint8Array(_J03);
font._003();
} else {
font.onerror("Error downloading font resource from " + font._3I1);
}
};
_H03.send(null);
};
Font.prototype._K03 = !1;
Font.prototype._B03 = function () {
if (this._K03) {
return this._K03;
}
this._K03 = document.createElement("style");
this._K03.type = "text/css";
var _L03 = "@font-face {\n";
_L03 += " font-family: '" + this._M_2 + "';\n";
_L03 += " src: url('" + this._3I1 + "') format('" + this._N_2 + "');\n";
_L03 += "}";
this._K03.innerHTML = _L03;
return this._K03;
};
Font.prototype.measureText = function (_M03, _N03) {
if (!this._NJ1) {
console.log("Error:measureText() was called while the font was not yet loaded");
return !1;
}
this.context.font = _N03 + "px '" + this._M_2 + "'";
var _P_2 = this.context.measureText(_M03);
_P_2.fontsize = _N03;
_P_2._S_2 = 0;
_P_2._T_2 = 0;
_P_2._rO2 = { _O03: 0, _P03: _P_2.width, _Q03: 0, _R03: 0 };
_P_2.height = 0;
var _EM2 = [],
_S03 = _P_2.width / this._P_2._Q_2;
if (_S03 <= 1) {
_EM2.push(_M03);
} else {
_EM2.push(_M03);
}
var _T03 = _EM2.length,
_X9;
for (_X9 = 0; _X9 < _T03; _X9++) {
this._U03(_EM2[_X9], _N03, _P_2);
}
return _P_2;
};
Font.prototype._U03 = function (_V03, _N03, _P_2) {
var _W03 = function (_p81, _X03) {
return document._Z_2.getComputedStyle(_p81, null).getPropertyValue(_X03);
};
var _X9, _i21, _Y03, _Bc1, _Oc2;
var _Z03 = document.createElement("div");
_Z03.style.position = "absolute";
_Z03.style.opacity = 0;
_Z03.style.font = _N03 + "px '" + this._M_2 + "'";
var _SU2 = 10;
_Z03.innerHTML = _V03;
for (_X9 = 1; _X9 < _SU2; _X9++) {
_Z03.innerHTML += "<br/>" + _V03;
}
document.body.appendChild(_Z03);
_P_2._R_2 = 1.2 * _N03;
var __03 = _W03(_Z03, "height");
__03 = __03.replace("px", "");
if (__03 >= _N03 * _SU2) {
_P_2._R_2 = (__03 / _SU2) | 0;
}
document.body.removeChild(_Z03);
if (/^_013*$/.test(_V03)) {
return _P_2;
}
var canvas = this.canvas,
_T51 = this.context,
_D03 = this._V_2 ? 1000 : this._P_2._Q_2,
_Z9 = _D03,
__9 = _D03,
_113 = _D03 / 2,
padding = 50,
_213 = (_D03 - _P_2.width) / 2;
if (_213 !== (_213 | 0)) {
_213 = _213 | 0;
}
_T51.fillStyle = "white";
_T51.fillRect(-padding, -padding, _Z9 + 2 * padding, __9 + 2 * padding);
_T51.fillStyle = "black";
_T51.fillText(_V03, _213, _113);
var _313 = (_P_2.width + padding) | 0,
_413 = 4 * _N03,
_513 = _213 - padding / 2,
_613 = _113 - _413 / 2,
_Yr2 = _T51.getImageData(_513, _613, _313, _413).data;
_X9 = 0;
_i21 = 0;
_Y03 = _313 * 4;
_Bc1 = _Yr2.length;
_Oc2 = _413 / 2;
while (++_X9 < _Bc1 && _Yr2[_X9] === 255) {}
var _S_2 = (_X9 / _Y03) | 0;
_X9 = _Bc1 - 1;
while (--_X9 > 0 && _Yr2[_X9] === 255) {}
var _T_2 = (_X9 / _Y03) | 0;
for (_X9 = 0, _i21 = 0; _i21 < _313 && _Yr2[_X9] === 255; ) {
_X9 += _Y03;
if (_X9 >= _Bc1) {
_i21++;
_X9 = _X9 - _Bc1 + 4;
}
}
var _O03 = _i21;
var _7R1 = 1;
for (_X9 = _Bc1 - 3, _i21 = 0; _i21 < _313 && _Yr2[_X9] === 255; ) {
_X9 -= _Y03;
if (_X9 < 0) {
_i21++;
_X9 = _Bc1 - 3 - _7R1++ * 4;
}
}
var _P03 = _313 - _i21;
_P_2._S_2 = _Oc2 - _S_2;
_P_2._T_2 = _T_2 - _Oc2;
_P_2._rO2 = { _O03: _O03 - padding / 2, _P03: _P03 - padding / 2, _Q03: -_P_2._T_2, _R03: _P_2._S_2 };
_P_2.height = 1 + (_T_2 - _S_2);
return _P_2;
};
Object.defineProperty(Font.prototype, "src", {
set: function (_3I1) {
this._3I1 = _3I1;
this._G03();
},
});
window.Font = Font;
})(window);
function _713() {}
var _g21 = 3.14159265,
_813 = !0,
_913 = !1,
_TJ1 = !0,
_8P1 = 0,
_a13 = -1,
_b13 = 0,
_c13 = 1,
_d13 = 2,
_Cv1 = 0,
_e13 = -1,
_f13 = 0,
_Dv1 = 1,
_g13 = 2,
_h13 = 3,
_i13 = 4,
_j13 = 5,
_k13 = 6,
_l13 = 7,
_m13 = 8,
_n13 = 9,
_o13 = 10,
_p13 = 11,
_oH1 = 0,
_q13 = -1,
_r13 = 0,
_s13 = 0,
_t13 = 1,
_u13 = 2,
_pH1 = 3,
_v13 = 4,
_w13 = 5,
_x13 = 6,
_y13 = 7,
_z13 = 8,
_A13 = 9,
_bP1 = 0,
_B13 = -1,
_WF1 = -100,
_C13 = -200,
_D13 = -300,
_E13 = -400,
_HF1 = -1,
_F13 = -2,
_JB1 = -3,
_1w1 = -4,
_G13 = -5,
_H13 = -7,
_I13 = -6,
_jw1 = 0x000,
_5w1 = 0x100,
_H_2 = 0x200,
_J13 = 0x300,
_9F2 = 0x400,
_K13 = 0x500,
_L13 = 0x600,
_KZ2 = 0x700,
_M13 = 0x800,
_N13 = 0x900,
_O13 = 0xa00,
_P13 = 0xb00,
_6w1 = 0xc00,
_Q13 = 0xd00,
_iw1 = 0xe00,
_R13 = _J13 | 1,
_S13 = _J13 | 2,
_T13 = _J13 | 3,
_FZ2 = _KZ2 | 1,
_LZ2 = _KZ2 | 2,
_U13 = _KZ2 | 3,
_V13 = _KZ2 | 4,
_W13 = _KZ2 | 5,
_X13 = _KZ2 | 6,
_Y13 = _KZ2 | 7,
_Z13 = _KZ2 | 8,
_OE2 = _KZ2 | 9,
__13 = _KZ2 | 10,
_023 = _KZ2 | 11,
_123 = _KZ2 | 14,
_223 = _KZ2 | 15,
_323 = _KZ2 | 16,
_423 = _KZ2 | 17,
_523 = _KZ2 | 18,
_623 = _KZ2 | 19,
_723 = _KZ2 | 20,
_823 = _KZ2 | 21,
_923 = _KZ2 | 22,
_a23 = _KZ2 | 23,
_b23 = _KZ2 | 24,
_c23 = _KZ2 | 25,
_d23 = _KZ2 | 26,
_e23 = _KZ2 | 27,
_f23 = _KZ2 | 28,
_g23 = _KZ2 | 29,
_SZ2 = _KZ2 | 30,
_h23 = _KZ2 | 31,
_i23 = _KZ2 | 32,
_j23 = _KZ2 | 33,
_k23 = _KZ2 | 34,
_l23 = _KZ2 | 35,
_m23 = _KZ2 | 36,
_n23 = _KZ2 | 37,
_TZ2 = _KZ2 | 40,
_o23 = _KZ2 | 41,
_p23 = _KZ2 | 42,
_q23 = _KZ2 | 43,
_r23 = _KZ2 | 44,
_s23 = _KZ2 | 45,
_t23 = _KZ2 | 46,
_u23 = _KZ2 | 47,
_C11 = _KZ2 | 58,
_q01 = _KZ2 | 59,
_v23 = _KZ2 | 60,
_w23 = _KZ2 | 61,
_x23 = _KZ2 | 62,
_y23 = _KZ2 | 63,
_z23 = _KZ2 | 68,
_A23 = _M13 | 64,
_B23 = _M13 | 65,
_C23 = _M13 | 72,
_D23 = _M13 | 73,
_E23 = _M13 | 74,
_F23 = _M13 | 75,
_G23 = _M13 | 76,
_H23 = _M13 | 77,
_I23 = _KZ2 | 66,
_J23 = _KZ2 | 70,
_K23 = _KZ2 | 71,
_bK1 = _KZ2 | 72,
_L23 = _KZ2 | 73,
_M23 = _KZ2 | 74,
_nI1 = _KZ2 | 75,
_9_2 = _L13 | 1,
_b_2 = _L13 | 2,
_a_2 = _L13 | 3,
_c_2 = _L13 | 4,
_e_2 = _L13 | 5,
_d_2 = _L13 | 6,
_f_2 = _L13 | 7,
_h_2 = _L13 | 8,
_g_2 = _L13 | 9,
_r_2 = _L13 | 10,
_N23 = _L13 | 11,
_O23 = _L13 | 12,
_s_2 = _L13 | 13,
_P23 = _L13 | 14,
_Q23 = _L13 | 15,
_t_2 = _L13 | 16,
_R23 = _L13 | 17,
_S23 = _L13 | 18,
_i_2 = _L13 | 19,
_j_2 = _L13 | 20,
_k_2 = _L13 | 21,
_l_2 = _L13 | 22,
_m_2 = _L13 | 23,
_T23 = _H_2 | 1,
_U23 = _H_2 | 2,
_V23 = _H_2 | 3,
_W23 = _H_2 | 4,
_X23 = _H_2 | 5,
_Y23 = _H_2 | 6,
_Z23 = _H_2 | 7,
__23 = _H_2 | 8,
_033 = _H_2 | 9,
_133 = _H_2 | 10,
_233 = _H_2 | 11,
_333 = _H_2 | 12,
_433 = _Q13 | 1,
_533 = _Q13 | 2,
_633 = _Q13 | 3,
_733 = _Q13 | 4,
_833 = _Q13 | 5,
_933 = _Q13 | 6,
_a33 = _Q13 | 7,
_b33 = _Q13 | 8,
_c33 = _Q13 | 9,
_d33 = _Q13 | 10,
_e33 = _Q13 | 11,
_f33 = _Q13 | 12,
_g33 = _Q13 | 13,
_h33 = _Q13 | 65,
_i33 = _Q13 | 66,
_j33 = _Q13 | 67,
_k33 = _Q13 | 68,
_l33 = _Q13 | 69,
_m33 = _Q13 | 70,
_n33 = _Q13 | 71,
_o33 = _Q13 | 72,
_p33 = _Q13 | 73,
_q33 = _Q13 | 74,
_r33 = _Q13 | 75,
_s33 = _Q13 | 76,
_t33 = _Q13 | 77,
_u33 = 0,
_v33 = 1,
_w33 = 2,
_x33 = 3,
_y33 = 4,
_z33 = 5,
_A33 = 6,
_B33 = 7,
_C33 = 8,
_D33 = 9,
_E33 = 10,
_F33 = 11,
_G33 = 12,
_H33 = 13,
_I33 = 14,
_J33 = 10,
_K33 = 11,
_L33 = 12,
_M33 = 13,
_N33 = 14,
_O33 = 15,
_P33 = 16,
_Q33 = 17,
_R33 = 18,
_S33 = 19,
_T33 = 20,
_U33 = 21,
_V33 = 22,
_W33 = 23,
_X33 = 24,
_Y33 = 25,
_Z33 = 0,
__33 = 1,
_043 = 2,
_143 = 3,
_243 = 4,
_343 = 5,
_443 = 6,
_543 = 7,
_643 = 8,
_743 = 9,
_843 = 10,
_943 = 11,
_a43 = 16,
_b43 = 17,
_c43 = 18,
_d43 = 19,
_e43 = 21,
_f43 = 22,
_g43 = 23,
_h43 = 24,
_i43 = 25,
_j43 = 26,
_k43 = 27,
_l43 = 28,
_m43 = 31,
_n43 = 32,
_o43 = 33,
_p43 = 34,
_q43 = 36,
_r43 = 37,
_s43 = 38,
_t43 = 39,
_u43 = 40,
_v43 = 41,
_w43 = 42,
_x43 = 43,
_y43 = 50,
_z43 = 51,
_A43 = 52,
_B43 = 53,
_C43 = 54,
_D43 = 55,
_E43 = 56,
_F43 = 57,
_G43 = 58,
_H43 = 60,
_I43 = 61,
_J43 = 0,
_K43 = 1,
_L43 = 2,
_M43 = 3,
_N43 = 4,
_O43 = 5,
_P43 = 6,
_Q43 = 7,
_R43 = 8,
_S43 = 9,
_T43 = 10,
_U43 = 11,
_V43 = 12,
_W43 = 64,
_X43 = 65,
_Y43 = 66,
_Z43 = 67,
__43 = 68,
_053 = 69,
_153 = 70,
_253 = 71,
_353 = 72,
_453 = 73,
_553 = 74,
_653 = 75,
_753 = 76,
_853 = 0,
_953 = 1,
_a53 = 2,
_b53 = 0,
_c53 = 1,
_d53 = 2,
_e53 = 3,
_f53 = 4,
_g53 = 5,
_h53 = 6,
_i53 = 7,
_j53 = 8,
_k53 = 9,
_l53 = 30,
_m53 = 40,
_n53 = 41,
_o53 = 42,
_p53 = 43,
_q53 = 44,
_r53 = 45,
_s53 = 46,
_t53 = 47,
_u53 = 50,
_v53 = 51,
_w53 = 52,
_x53 = 53,
_y53 = 54,
_z53 = 55,
_A53 = 56,
_B53 = 57,
_C53 = 58,
_D53 = 59,
_E53 = 10,
_F53 = 11,
_G53 = 12,
_H53 = 13,
_I53 = 14,
_J53 = 15,
_K53 = 16,
_L53 = 17,
_M53 = 18,
_N53 = 19,
_O53 = 20,
_P53 = 21,
_Q53 = 22,
_R53 = 23,
_S53 = 24,
_T53 = 25,
_U53 = 60,
_V53 = 61,
_W53 = 62,
_X53 = 63,
_Y53 = 64,
_Z53 = 65,
__53 = 66,
_063 = 68,
_163 = 70,
_263 = 71,
_363 = 72,
_463 = 74,
_563 = 75,
_663 = _N13 | 0,
_763 = _N13 | 1,
_863 = _N13 | 1,
_963 = _N13 | 8,
_a63 = _N13 | 9,
_b63 = _N13 | 13,
_c63 = _N13 | 16,
_d63 = _N13 | 17,
_e63 = _N13 | 18,
_f63 = _N13 | 19,
_g63 = _N13 | 27,
_h63 = _N13 | 32,
_i63 = _N13 | 33,
_j63 = _N13 | 34,
_k63 = _N13 | 35,
_l63 = _N13 | 36,
_m63 = _N13 | 37,
_n63 = _N13 | 38,
_o63 = _N13 | 39,
_p63 = _N13 | 40,
_q63 = _N13 | 45,
_r63 = _N13 | 46,
_s63 = _N13 | 48,
_t63 = _N13 | 49,
_u63 = _N13 | 50,
_v63 = _N13 | 51,
_w63 = _N13 | 52,
_x63 = _N13 | 53,
_y63 = _N13 | 54,
_z63 = _N13 | 55,
_A63 = _N13 | 56,
_B63 = _N13 | 57,
_C63 = _N13 | 65,
_D63 = _N13 | 66,
_E63 = _N13 | 67,
_F63 = _N13 | 68,
_G63 = _N13 | 69,
_H63 = _N13 | 70,
_I63 = _N13 | 71,
_J63 = _N13 | 72,
_K63 = _N13 | 73,
_L63 = _N13 | 74,
_M63 = _N13 | 75,
_N63 = _N13 | 76,
_O63 = _N13 | 77,
_P63 = _N13 | 78,
_Q63 = _N13 | 79,
_R63 = _N13 | 80,
_S63 = _N13 | 81,
_T63 = _N13 | 82,
_U63 = _N13 | 83,
_V63 = _N13 | 84,
_W63 = _N13 | 85,
_X63 = _N13 | 86,
_Y63 = _N13 | 87,
_Z63 = _N13 | 88,
__63 = _N13 | 89,
_073 = _N13 | 90,
_173 = _N13 | 112,
_273 = _N13 | 113,
_373 = _N13 | 114,
_473 = _N13 | 115,
_573 = _N13 | 116,
_673 = _N13 | 117,
_773 = _N13 | 118,
_873 = _N13 | 119,
_973 = _N13 | 120,
_a73 = _N13 | 121,
_b73 = _N13 | 122,
_c73 = _N13 | 123,
_d73 = _N13 | 145,
_e73 = _N13 | 186,
_f73 = _N13 | 187,
_g73 = _N13 | 188,
_h73 = _N13 | 189,
_i73 = _N13 | 190,
_j73 = _N13 | 191,
_k73 = _N13 | 192,
_l73 = _N13 | 219,
_m73 = _N13 | 220,
_n73 = _N13 | 221,
_o73 = _N13 | 222,
_p73 = _N13 | 223,
_q73 = _N13 | 144,
_r73 = _N13 | 96,
_s73 = _N13 | 97,
_t73 = _N13 | 98,
_u73 = _N13 | 99,
_v73 = _N13 | 100,
_w73 = _N13 | 101,
_x73 = _N13 | 102,
_y73 = _N13 | 103,
_z73 = _N13 | 104,
_A73 = _N13 | 105,
_B73 = _N13 | 106,
_C73 = _N13 | 107,
_D73 = _N13 | 109,
_E73 = _N13 | 110,
_F73 = _N13 | 111,
_G73 = _K13 | 0,
_H73 = _K13 | 1,
_I73 = _K13 | 1,
_J73 = _K13 | 8,
_K73 = _K13 | 9,
_L73 = _K13 | 13,
_M73 = _K13 | 16,
_N73 = _K13 | 17,
_O73 = _K13 | 18,
_P73 = _K13 | 19,
_Q73 = _K13 | 27,
_R73 = _K13 | 32,
_S73 = _K13 | 33,
_T73 = _K13 | 34,
_U73 = _K13 | 35,
_V73 = _K13 | 36,
_W73 = _K13 | 37,
_X73 = _K13 | 38,
_Y73 = _K13 | 39,
_Z73 = _K13 | 40,
__73 = _K13 | 45,
_083 = _K13 | 46,
_183 = _K13 | 48,
_283 = _K13 | 49,
_383 = _K13 | 50,
_483 = _K13 | 51,
_583 = _K13 | 52,
_683 = _K13 | 53,
_783 = _K13 | 54,
_883 = _K13 | 55,
_983 = _K13 | 56,
_a83 = _K13 | 57,
_b83 = _K13 | 65,
_c83 = _K13 | 66,
_d83 = _K13 | 67,
_e83 = _K13 | 68,
_f83 = _K13 | 69,
_g83 = _K13 | 70,
_h83 = _K13 | 71,
_i83 = _K13 | 72,
_j83 = _K13 | 73,
_k83 = _K13 | 74,
_l83 = _K13 | 75,
_m83 = _K13 | 76,
_n83 = _K13 | 77,
_o83 = _K13 | 78,
_p83 = _K13 | 79,
_q83 = _K13 | 80,
_r83 = _K13 | 81,
_s83 = _K13 | 82,
_t83 = _K13 | 83,
_u83 = _K13 | 84,
_v83 = _K13 | 85,
_w83 = _K13 | 86,
_x83 = _K13 | 87,
_y83 = _K13 | 88,
_z83 = _K13 | 89,
_A83 = _K13 | 90,
_B83 = _K13 | 112,
_C83 = _K13 | 113,
_D83 = _K13 | 114,
_E83 = _K13 | 115,
_F83 = _K13 | 116,
_G83 = _K13 | 117,
_H83 = _K13 | 118,
_I83 = _K13 | 119,
_J83 = _K13 | 120,
_K83 = _K13 | 121,
_L83 = _K13 | 122,
_M83 = _K13 | 123,
_N83 = _K13 | 145,
_O83 = _K13 | 186,
_P83 = _K13 | 187,
_Q83 = _K13 | 188,
_R83 = _K13 | 189,
_S83 = _K13 | 190,
_T83 = _K13 | 191,
_U83 = _K13 | 192,
_V83 = _K13 | 219,
_W83 = _K13 | 220,
_X83 = _K13 | 221,
_Y83 = _K13 | 222,
_Z83 = _K13 | 223,
__83 = _K13 | 144,
_093 = _K13 | 96,
_193 = _K13 | 97,
_293 = _K13 | 98,
_393 = _K13 | 99,
_493 = _K13 | 100,
_593 = _K13 | 101,
_693 = _K13 | 102,
_793 = _K13 | 103,
_893 = _K13 | 104,
_993 = _K13 | 105,
_a93 = _K13 | 106,
_b93 = _K13 | 107,
_c93 = _K13 | 109,
_d93 = _K13 | 110,
_e93 = _K13 | 111,
_f93 = _O13 | 0,
_g93 = _O13 | 1,
_h93 = _O13 | 1,
_i93 = _O13 | 8,
_j93 = _O13 | 9,
_k93 = _O13 | 13,
_l93 = _O13 | 16,
_m93 = _O13 | 17,
_n93 = _O13 | 18,
_o93 = _O13 | 19,
_p93 = _O13 | 27,
_q93 = _O13 | 32,
_r93 = _O13 | 33,
_s93 = _O13 | 34,
_t93 = _O13 | 35,
_u93 = _O13 | 36,
_v93 = _O13 | 37,
_w93 = _O13 | 38,
_x93 = _O13 | 39,
_y93 = _O13 | 40,
_z93 = _O13 | 45,
_A93 = _O13 | 46,
_B93 = _O13 | 48,
_C93 = _O13 | 49,
_D93 = _O13 | 50,
_E93 = _O13 | 51,
_F93 = _O13 | 52,
_G93 = _O13 | 53,
_H93 = _O13 | 54,
_I93 = _O13 | 55,
_J93 = _O13 | 56,
_K93 = _O13 | 57,
_L93 = _O13 | 65,
_M93 = _O13 | 66,
_N93 = _O13 | 67,
_O93 = _O13 | 68,
_P93 = _O13 | 69,
_Q93 = _O13 | 70,
_R93 = _O13 | 71,
_S93 = _O13 | 72,
_T93 = _O13 | 73,
_U93 = _O13 | 74,
_V93 = _O13 | 75,
_W93 = _O13 | 76,
_X93 = _O13 | 77,
_Y93 = _O13 | 78,
_Z93 = _O13 | 79,
__93 = _O13 | 80,
_0a3 = _O13 | 81,
_1a3 = _O13 | 82,
_2a3 = _O13 | 83,
_3a3 = _O13 | 84,
_4a3 = _O13 | 85,
_5a3 = _O13 | 86,
_6a3 = _O13 | 87,
_7a3 = _O13 | 88,
_8a3 = _O13 | 89,
_9a3 = _O13 | 90,
_aa3 = _O13 | 112,
_ba3 = _O13 | 113,
_ca3 = _O13 | 114,
_da3 = _O13 | 115,
_ea3 = _O13 | 116,
_fa3 = _O13 | 117,
_ga3 = _O13 | 118,
_ha3 = _O13 | 119,
_ia3 = _O13 | 120,
_ja3 = _O13 | 121,
_ka3 = _O13 | 122,
_la3 = _O13 | 123,
_ma3 = _O13 | 145,
_na3 = _O13 | 186,
_oa3 = _O13 | 187,
_pa3 = _O13 | 188,
_qa3 = _O13 | 189,
_ra3 = _O13 | 190,
_sa3 = _O13 | 191,
_ta3 = _O13 | 192,
_ua3 = _O13 | 219,
_va3 = _O13 | 220,
_wa3 = _O13 | 221,
_xa3 = _O13 | 222,
_ya3 = _O13 | 223,
_za3 = _O13 | 144,
_Aa3 = _O13 | 96,
_Ba3 = _O13 | 97,
_Ca3 = _O13 | 98,
_Da3 = _O13 | 99,
_Ea3 = _O13 | 100,
_Fa3 = _O13 | 101,
_Ga3 = _O13 | 102,
_Ha3 = _O13 | 103,
_Ia3 = _O13 | 104,
_Ja3 = _O13 | 105,
_Ka3 = _O13 | 106,
_La3 = _O13 | 107,
_Ma3 = _O13 | 109,
_Na3 = _O13 | 110,
_Oa3 = _O13 | 111,
_Pa3 = 0,
_Qa3 = 1,
_Ra3 = 2,
_Sa3 = [],
_G_2 = 12,
_Ta3 = 8,
_Ua3 = 8,
_Va3 = 8,
_Sq1 = 10,
_su1 = 0x000000,
_Wa3 = 0x000080,
_Xa3 = 0x008000,
_Ya3 = 0x008080,
_Za3 = 0x800000,
__a3 = 0x800080,
_0b3 = 0x808000,
_1b3 = 0x808080,
_2b3 = 0xc0c0c0,
_Tz2 = 0x0000ff,
_3b3 = 0x00ff00,
_4b3 = 0x00ffff,
_Uz2 = 0xff0000,
_5b3 = 0xff00ff,
_6b3 = 0xffff00,
_7b3 = 0xc0c0c0,
_8b3 = 0x808080,
_9b3 = 0xffffff,
_ab3 = 0xc0dcc0,
_bb3 = 0xf0caa6,
_cb3 = 0xf0fbff,
_db3 = 0xa4a0a0,
_eb3 = -1,
_GI1 = 0,
_qb1 = 1,
global = null,
_o01 = null,
_iy1 = null,
_ub1 = null,
_By1 = null,
_rn = null,
_Ho1 = null,
_fb3 = null,
_uI1 = null,
_Uo1 = null,
_Wd1 = null,
_r11 = null,
_gb3 = null,
_az1 = null,
_zY2 = null,
_sF2 = null,
_CE1 = null,
_dr1 = null,
_Ca1 = null,
_hb3 = null,
_D01 = null,
_ib3 = null,
_5b1 = null,
_jb3 = null,
_kb3 = null,
_lb3 = null,
_mb3 = null,
_Tb1 = null,
_jd1 = null,
_ZC1 = null,
_lc1 = null,
_NQ1 = null,
_hC1 = null,
_Oc1 = null,
_OQ1 = null,
_6e1 = null,
_nb3 = null,
_KP1 = null,
_Uq1 = null,
_Tq1 = null,
_ob3 = null,
_Wq1 = null,
_pb3 = null,
_qb3 = null,
_rb3 = null,
_sb3 = null,
_tb3 = null,
_ub3 = null,
_x31 = null,
_Lp1 = null,
_9b1 = null,
__u1 = null,
_7v1 = null,
_vb3 = null,
_wb3 = null,
_xb3 = null,
_yb3 = null,
_zb3 = null,
_rY2 = null,
_Ab3 = null,
_Bb3 = null,
_iM1 = null,
_dM1 = -1,
_eM1 = [],
_Cb3 = null,
_jH1 = null,
_Db3 = null,
g_WebAudioContext = null,
_sp1 = null,
_3p1 = null,
_Eb3 = null,
_6P1 = null,
_Fb3 = null,
g_GameMakerHTML5Dir = undefined,
_Gb3 = undefined,
_Hb3 = undefined,
gml_Script_gmcallback_html5_set_load_location = undefined,
_Ib3 = "",
g_yyPrePostObject__ = undefined,
_pb1 = _GI1,
_Jb3 = !0,
_Kb3 = !0,
_Tp1 = !1,
_wZ2 = !1,
_Lb3 = !1,
_8I1 = !1,
_7I1 = !1,
_FJ1 = !1,
_Do1 = !1,
_Mb3 = !1,
_Nb3 = !1,
_Ob3 = !1,
_Pb3 = !1,
_Qb3 = !1,
_Rb3 = !1,
_5p1 = !1,
_Sb3 = !1,
_Tb3 = !1,
_Ub3 = !1,
_Vb3 = 0,
_VF1 = 0,
_Wb3 = 0,
_Xb3 = 0,
_Yb3 = 0,
_Zb3 = 0,
_MN1 = 0,
_NN1 = 0,
_PN1 = 0,
_QN1 = 0,
_ON1 = 0,
_RN1 = 0,
__b3 = 0,
_0c3 = 0,
_1c3 = 0,
_K71 = 0,
_L71 = 0,
_pq1 = 0,
_ut1 = 0,
_qt1 = 0,
_4u1 = 0,
_6u1 = 0,
_SN1 = 0,
_TN1 = 0,
_2c3 = 0,
_3c3 = 0,
_4c3 = 0,
_5c3 = 0,
_6c3 = 0,
_7c3 = 0,
_8c3 = 0,
_9c3 = 0,
_ac3 = 0,
_bc3 = 0,
_kr1 = 0,
_lr1 = 0,
_cc3 = 0,
_Cq1 = 0,
_Dq1 = 0,
_mv1 = 0,
_dc3 = 0,
_ec3 = 0,
_fc3 = 0,
_gc3 = 0,
_FN1 = 0,
_hc3 = 0,
_7l1 = 0,
_DN1 = 0,
_ic3 = 0,
_jc3 = 0,
_ys1 = 0,
_vs1 = 0,
_As1 = !1,
_Bs1 = -1,
_Cs1 = -1,
_Ds1 = 1,
_Es1 = 1,
_3v1 = !0,
_hN1 = 0,
_jN1 = 0,
_iN1 = 0,
_kN1 = 0,
_lN1 = 0,
_mN1 = 0,
_nN1 = 0,
_oN1 = 0,
_pN1 = 0,
_qN1 = 0,
_rN1 = 0,
_sN1 = 0,
_tN1 = 0,
_uN1 = 0,
_vN1 = 0,
_wN1 = 0,
_xN1 = 0,
_yN1 = 0,
_zN1 = 0,
_AN1 = 0,
_BN1 = 0,
_CN1 = 0,
_7Z2 = 0,
_kc3 = 0,
_lc3 = 0,
_mc3 = 0,
_nc3 = 0,
_oc3 = 0,
_pc3 = 0,
_qc3 = 0,
_rc3 = 0,
_sc3 = 0,
_F01 = 0,
_tc3 = [],
_0p1 = "canvas",
_uc3 = "0123456789ABCDEF";
function _vc3() {
var debug = false;
if (_Ho1._ok && _Ho1._ok._pk && _Ho1._ok._pk === true) {
debug = true;
}
}
function _wc3() {
_tc3 = [];
var _xc3 = 0xedb88320;
for (var _X9 = 0; _X9 < 256; ++_X9) {
var _yc3 = ~~_X9;
for (var _i21 = 8; _i21 > 0; --_i21) {
if ((_yc3 & 1) !== 0) {
_yc3 = ((_yc3 >> 1) & 0x7fffffff) ^ _xc3;
} else {
_yc3 >>= 1;
_yc3 &= 0x7fffffff;
}
}
_tc3[_X9] = _yc3;
}
}
function _zc3() {
_wc3();
_Ac3();
if (_pb1 != _eb3) {
try {
var _Bc3 = new Audio();
_Bc3.controls = false;
_8I1 = !!_Bc3.canPlayType && _Bc3.canPlayType("audio/mpeg") !== "";
_7I1 = !!_Bc3.canPlayType && _Bc3.canPlayType('audio/ogg; codecs="vorbis"') !== "";
_Bc3 = null;
} catch (e) {
_8I1 = false;
_7I1 = false;
}
}
if (_8I1) debug("Browser CAN play MP3");
if (_7I1) debug("Browser CAN play OGG");
_vc3();
_Eb3 = _Vb3 = 0;
_D01 = null;
_wZ2 = false;
_VF1 = -1;
_wb3 = new _Cc3();
_xb3 = new _Cc3();
_ib3 = new _Cc3();
_ib3._RZ2 = 0;
_Fb3 = new _Cc3();
_yb3 = new _Cc3();
_7v1 = new _tp1();
__u1 = new _tp1();
_vb3 = new _tp1();
_ib3._4a = true;
_Fb3._4a = true;
_5b1 = [];
_5b1[0] = _ib3;
_kb3 = [];
_lb3 = [];
_mb3 = [];
_Tb1 = new _VE1(5);
_jd1 = new _VE1(5);
_ZC1 = new _VE1(5);
_lc1 = new _VE1(5);
_NQ1 = new _VE1(5);
_hC1 = new _VE1(5);
_Oc1 = new _VE1(5);
_6e1 = new _VE1(5);
_OQ1 = new _VE1(5);
_nb3 = new _ce1();
_Lp1 = new _VE1(5);
_9b1 = new _tp1();
_rY2 = new _WX2(0, 0, 0, 0, false, true);
_rY2._Dc3 = "DUMMY INSTANCE";
_Sa3[0] = -1;
_Sa3[1] = 0;
_Sa3[2] = 0x00000000;
_Sa3[3] = 1;
_Sa3[4] = 0;
_Sa3[5] = 0x00000000;
_Sa3[6] = 0;
_Sa3[7] = -1;
_Sa3[8] = 0x00000000;
_Sa3[9] = 0;
_Sa3[10] = 1;
_Sa3[11] = 0x00000000;
_Sa3[12] = 0;
_Sa3[13] = 0;
_Sa3[14] = 0xffffffff;
_0p1 = "canvas";
_x31 = "html5game/";
if (typeof g_GameMakerHTML5Dir != "undefined") {
_x31 = g_GameMakerHTML5Dir;
} else {
if (_Ho1._ok && _Ho1._ok._Nk) {
_x31 = _Ho1._ok._Nk + "/";
}
}
_KP1 = [];
_Uq1 = [];
_Tq1 = [];
_ob3 = "Hiscore Table";
_Wq1 = "<Nobody>";
_pb3 = "Press <ESC> to Continue";
_5c3 = 0x000000;
_9c3 = -1;
_6c3 = 0xffff00;
_7c3 = 0xffffff;
_qb3 = "verdana";
_8c3 = 16;
_rb3 = "";
_Jb3 = true;
_Vq1();
_ys1 = -1;
_vs1 = -1;
_6e1._Ec3();
__b3 = 0.0000001;
_gc3 = 512;
_sp1 = [];
_Nb3 = _Tb3 = false;
_Kb3 = true;
_5p1 = false;
_iM1 = _bc3 = null;
_kr1 = _lr1 = -1;
_mv1 = 0;
_1c3 = 1.0;
_Wb3 = 0;
_Xb3 = -1;
_Yb3 = 0;
_ac3 = 0;
_Zb3 = 0;
_4c3 = 10000000;
_0c3 = 100000;
_K71 = 1.0;
if (_F01) {
_bL(_Ho1._ok._uk);
} else {
_pq1 = 0x00000000;
_L71 = 0x000000;
_ut1 = _vt1(_L71);
_qt1 = _ie1(_L71, _K71);
}
_7Z2 = _vt1(0x000000);
_kc3 = _vt1(0xffffff);
_lc3 = _vt1(0x0000ff);
_mc3 = _vt1(0x00ff00);
_nc3 = _vt1(0xff0000);
_oc3 = _vt1(0xff000000);
_pc3 = _vt1(0xffffffff);
_qc3 = _vt1(0xff0000ff);
_rc3 = _vt1(0xff00ff00);
_sc3 = _vt1(0xffff0000);
_hN1 = 0;
_jN1 = -1;
_iN1 = -2;
_kN1 = -3;
_lN1 = -4;
_mN1 = -6;
_nN1 = -7;
_oN1 = -8;
_pN1 = -9;
_qN1 = -10;
_rN1 = -11;
_sN1 = -12;
_tN1 = -13;
_uN1 = -14;
_vN1 = -15;
_wN1 = -16;
_xN1 = -17;
_yN1 = -18;
_zN1 = -19;
_AN1 = -20;
_BN1 = -21;
_CN1 = -22;
_ic3 = -1;
_DN1 = _Ho1._ok._Bk ? _hN1 : _jN1;
_jc3 = 0;
_Fc3();
if (_Ho1._ok && _Ho1._ok._Bk === false) {
canvas.style.cursor = "none";
}
_Pb3 = false;
if (_Ho1._ok && _Ho1._ok._Qk === true) {
_Pb3 = true;
}
if (typeof gmlGlobalInit == "function") {
gmlGlobalInit();
}
}
function _Gc3(_Hc3) {
return _Hc3 * (Math.PI / 180.0);
}
function _Ic3(_a11, _b11) {
if (_a11 === 0) return 0;
var _d21 = (_a11 * 0x1000000) % (_b11 * 0x1000000);
_d21 = _d21 / 0x1000000;
return _d21;
}
function _ql1(_a11) {
return _a11 * _a11;
}
function _vt1(_081) {
var _L31 = "rgb(" + ((_081 >> 16) & 0xff).toString() + "," + ((_081 >> 8) & 0xff).toString() + "," + (_081 & 0xff).toString() + ")";
return _L31;
}
function _ie1(_081, _f41) {
var _L31 = "rgba(" + ((_081 >> 16) & 0xff).toString() + "," + ((_081 >> 8) & 0xff).toString() + "," + (_081 & 0xff).toString() + "," + ((_f41 * 255.0) & 0xff).toString() + ")";
return _L31;
}
function _Jc3(_Hc3) {
return (_g21 * _Hc3) / 180.0;
}
function _N71(_081) {
return ((_081 & 0xff) << 16) | (_081 & 0xff00) | ((_081 & 0xff0000) >> 16);
}
function _0w1(_8r1, _Lc1, _Kc3, _GF1) {
var _xc1, _Yv1, _Xv1, _b21;
var _l41 = arguments;
var _uc1 = arguments.length;
var _Lc3 = _l41[_uc1 - 1];
_Lc1 = ~~_Lc1;
if (_Lc1 == _1w1) return _GF1;
if (_Lc1 == _JB1) {
_xc1 = _iy1._jC1();
for (_Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
_Yv1 = _xc1[_Xv1];
if (_Kc3 && _Yv1 == _8r1) continue;
if (_Yv1._nC1) continue;
if (!_Yv1._cl) continue;
_b21 = _Lc3(_Yv1);
if (_b21 > 0) return _b21;
}
} else if (_Lc1 < 100000) {
var _8q1 = _o01._s11(_Lc1);
if (_8q1 === null) {
return _GF1;
}
_xc1 = _8q1._JF1();
for (_Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
_Yv1 = _xc1[_Xv1];
if (_Kc3 && _8r1 == _Yv1) continue;
if (_Yv1._nC1) continue;
if (!_Yv1._cl) continue;
_b21 = _Lc3(_Yv1);
if (_b21 > 0) return _b21;
}
} else {
_Yv1 = _iy1._Mc3(_Lc1);
if (_Kc3 && _8r1 == _Yv1) {
return _GF1;
}
if (_Yv1._nC1) {
return _GF1;
}
if (!_Yv1._cl) {
return _GF1;
}
return _Lc3(_Yv1);
}
return _GF1;
}
function _wC1(_8r1, _Lc1, _Kc3, _GF1) {
var _xc1, _Yv1, _Xv1, _Ce1;
var _l41 = arguments;
var _uc1 = arguments.length;
var _Lc3 = _l41[_uc1 - 1];
var _OB1 = 10000000000;
var id = -1;
_Lc1 = ~~_Lc1;
if (_Lc1 == _1w1) return _GF1;
if (_Lc1 == _JB1) {
_xc1 = _iy1._jC1();
for (_Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
_Yv1 = _xc1[_Xv1];
if (_Kc3 && _Yv1 == _8r1) continue;
if (_Yv1._nC1) continue;
if (!_Yv1._cl) continue;
_Ce1 = _Lc3(_Yv1);
if (_Ce1 < _OB1) {
_OB1 = _Ce1;
}
}
if (_OB1 != 10000000000) return _OB1;
} else if (_Lc1 < 100000) {
var _8q1 = _o01._s11(_Lc1);
if (_8q1 === null) {
return _GF1;
}
_xc1 = _8q1._JF1();
for (_Xv1 = 0; _Xv1 < _xc1.length; _Xv1++) {
_Yv1 = _xc1[_Xv1];
if (_Kc3 && _8r1 == _Yv1) continue;
if (_Yv1._nC1) continue;
if (!_Yv1._cl) continue;
_Ce1 = _Lc3(_Yv1);
if (_Ce1 < _OB1) {
_OB1 = _Ce1;
}
}
if (_OB1 != 10000000000) return _OB1;
} else {
_Yv1 = _iy1._Mc3(_Lc1);
if (_Kc3 && _8r1 == _Yv1) {
return _GF1;
}
if (_Yv1._nC1) {
return _GF1;
}
if (!_Yv1._cl) return _GF1;
return _Lc3(_Yv1);
}
return _GF1;
}
/*@constructor */ function _Nc3() {
/*@this {BrowserDetect} */ (this.init = function () {
this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
this._Fv1 = this._Oc3();
this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version";
this._Pc3 = this.searchString(this.dataOS) || "an unknown OS";
this._Qc3 = this._Rc3();
}),
/*@this {BrowserDetect} */ (this._Oc3 = function () {
var _Sc3 = navigator.userAgent.toString().toLowerCase();
if (_Sc3.indexOf("trident/5") > -1) {
return 9.0;
} else if (_Sc3.indexOf("trident/6") > -1) {
return 10.0;
} else if (_Sc3.indexOf("trident/7") > -1) {
return 11.0;
}
return -1;
}),
/*@this {BrowserDetect} */ (this._Rc3 = function () {
if (navigator.appVersion.indexOf("CPU OS 5_") != -1) {
return 5.0;
} else if (navigator.appVersion.indexOf("CPU OS 4_") != -1) {
return 4.0;
} else if (navigator.appVersion.indexOf("CPU OS 3_") != -1) {
return 3.0;
} else if (navigator.appVersion.indexOf("Android 4") != -1) {
return 4.0;
} else if (navigator.appVersion.indexOf("Android 3") != -1) {
return 3.0;
} else if (navigator.appVersion.indexOf("Android 2") != -1) {
return 2.0;
} else {
return _B13;
}
}),
/*@this {BrowserDetect} */ (this.searchString = function (data) {
for (var _X9 = 0; _X9 < data.length; _X9++) {
var _Tc3 = data[_X9]._ul;
var _Uc3 = data[_X9].prop;
this.versionSearchString = data[_X9].versionSearch || data[_X9].identity;
if (_Tc3) {
if (_Tc3.indexOf(data[_X9]._Vc3) != -1) {
return data[_X9].identity;
}
} else if (_Uc3) {
return data[_X9].identity;
}
}
}),
/*@this {BrowserDetect} */ (this.searchVersion = function (_Tc3) {
var index = _Tc3.indexOf(this.versionSearchString);
if (index == -1) return;
return parseFloat(_Tc3.substring(index + this.versionSearchString.length + 1));
}),
(this.dataBrowser = [
{ _ul: navigator.userAgent, _Vc3: "Tizen", identity: "Tizen" },
{ _ul: navigator.userAgent, _Vc3: "Edge", identity: "Edge" },
{ _ul: navigator.userAgent, _Vc3: "OPR", versionSearch: "OPR", identity: "Opera" },
{ _ul: navigator.userAgent, _Vc3: "Chrome", identity: "Chrome" },
{ _ul: navigator.userAgent, _Vc3: "OmniWeb", versionSearch: "OmniWeb/", identity: "OmniWeb" },
{ _ul: navigator.vendor, _Vc3: "Apple", identity: "Safari", versionSearch: "Version" },
{ _ul: navigator.userAgent, _Vc3: "KHTML", identity: "KHTML", versionSearch: "Mozilla/" },
{ _ul: navigator.vendor, _Vc3: "iCab", identity: "iCab" },
{ _ul: navigator.vendor, _Vc3: "KDE", identity: "Konqueror" },
{ _ul: navigator.userAgent, _Vc3: "Firefox", identity: "Firefox" },
{ _ul: navigator.userAgent, _Vc3: "IceWeasel", identity: "IceWeasel" },
{ _ul: navigator.vendor, _Vc3: "Camino", identity: "Camino" },
{ _ul: navigator.userAgent, _Vc3: "Netscape", identity: "Netscape" },
{ _ul: navigator.userAgent, _Vc3: "IEMobile", identity: "IEMobile" },
{ _ul: navigator.userAgent, _Vc3: "MSIE", identity: "Explorer", versionSearch: "MSIE" },
{ _ul: navigator.userAgent, _Vc3: "Trident/", identity: "Explorer", versionSearch: "rv" },
{ _ul: navigator.userAgent, _Vc3: "Gecko", identity: "Mozilla", versionSearch: "rv" },
]),
(this.dataOS = [
{ _ul: navigator.userAgent, _Vc3: "Phone 8", identity: "WindowsPhone8" },
{ _ul: navigator.platform, _Vc3: "Win", identity: "Windows" },
{ _ul: navigator.platform, _Vc3: "Mac", identity: "Mac" },
{ _ul: navigator.userAgent, _Vc3: "iPhone", identity: "iPhone" },
{ _ul: navigator.userAgent, _Vc3: "iPod", identity: "iPhone" },
{ _ul: navigator.userAgent, _Vc3: "iPad", identity: "iPad" },
{ _ul: navigator.userAgent, _Vc3: "Android", identity: "Android" },
{ _ul: navigator.userAgent, _Vc3: "Tizen", identity: "Tizen" },
{ _ul: navigator.platform, _Vc3: "Linux", identity: "Linux" },
]);
}
var _Ev1 = new _Nc3();
function _Ac3() {
_Ev1.init();
if (_Ev1._Pc3 == "Windows") {
_oH1 = _r13;
} else if (_Ev1._Pc3 == "Mac") {
_oH1 = _t13;
} else if (_Ev1._Pc3 == "iPhone") {
_oH1 = _pH1;
} else if (_Ev1._Pc3 == "iPad") {
_oH1 = _pH1;
} else if (_Ev1._Pc3 == "Android") {
_oH1 = _v13;
} else if (_Ev1._Pc3 == "Linux") {
_oH1 = _x13;
} else if (_Ev1._Pc3 == "Tizen") {
_oH1 = _z13;
} else if (_Ev1._Pc3 == "WindowsPhone8") {
_oH1 = _y13;
} else {
_oH1 = _q13;
}
if (_Ev1._Pc3 !== "") {
debug(_Ev1._Pc3 + " Detected(" + _oH1 + ")");
}
_bP1 = _Ev1._Qc3;
_Cv1 = _f13;
_8P1 = _a13;
if (_Ev1.browser == "Explorer") {
debug("Internet Explorer detected");
_Cv1 = _Dv1;
} else if (_Ev1.browser == "Explorer") {
debug("Internet Explorer detected");
_Cv1 = _Dv1;
} else if (_Ev1.browser == "Edge") {
debug("Microsoft Edge detected");
_Cv1 = _p13;
} else if (_Ev1.browser == "IEMobile") {
debug("IE Mobile detected");
_Cv1 = _o13;
} else if (_Ev1.browser == "Firefox") {
debug("Firefox detected");
_Cv1 = _g13;
} else if (_Ev1.browser == "Chrome") {
debug("Chrome detected");
_Cv1 = _h13;
} else if (_Ev1.browser == "Safari") {
if (_oH1 == _pH1) {
_Cv1 = _j13;
_8P1 = _b13;
if (_Ev1._Pc3 == "iPad") _8P1 = _d13;
debug("Safari mobile detected");
} else {
debug("Safari detected");
_Cv1 = _i13;
}
} else if (_Ev1.browser == "Opera") {
debug("BrowserDetect: " + _Nc3._Pc3);
debug("Opera detected");
_Cv1 = _k13;
} else if (_Ev1.browser == "KHTML") {
debug("Default Android browser detected");
debug("OS: " + _bP1);
_Cv1 = _l13;
} else if (_Ev1.browser == "Tizen") {
_Cv1 = _e13;
} else {
debug("Unknown Browser - Please report these strings");
debug("----------------------------------------------");
if (navigator.userAgent) debug("userAgent: " + navigator.userAgent);
debug("---");
if (navigator.vendor) debug("vendor: " + navigator.vendor);
debug("---");
if (navigator.platform) debug("platform: " + navigator.platform);
debug("----------------------------------------------");
}
if (true == _Ho1._ok._Tk) {
if (document.URL.substring(0, 5) == "file:") {
alert(
"WARNING: Running this via a file and not a web server is not advised as the browser will enable additional security, and things like files and colours won't work correctly. " +
_Br1(13) +
_Br1(13) +
"Please check the FAQ for more details. " +
_Br1(13) +
_Br1(13) +
"https://help.yoyogames.com/hc/en-us/articles/360011372851"
);
}
}
}
var _Wc3 = 0;
var _DJ1 = 0;
var _Xc3 = 0;
var _Yc3 = 0;
var _Zc3 = null;
var __c3 = null;
var _0d3 = 0,
_1d3 = 1,
_2d3 = 2,
_3d3 = 3;
function _4d3() {
global = new _713();
_rn = new _5d3();
_ub1 = new _6d3();
_f91 = new _L91();
_rn._7d3 = new ArrayBuffer(1);
_rn._8d3 = new ArrayBuffer(1);
_rn.NaN = Number.NaN;
_rn._9d3 = Number.POSITIVE_INFINITY;
_ad3(canvas);
_iy1 = new _bd3();
_o01 = new _cd3();
_By1 = new _dd3();
_r11 = new _ed3();
_gb3 = new _fd3();
_Wd1 = new _gd3();
_uI1 = new _hd3();
_Uo1 = new _id3();
_sF2 = [];
_CE1 = new _jd3();
_dr1 = new _kd3();
_Ca1 = new _ld3();
_az1 = new _Wx1();
_zY2 = new _HW2();
_zc3();
if (_F01) {
_zY2._ZX2();
_md3();
}
}
function _nd3(_od3) {
switch (_od3) {
case 1:
return "MEDIA_ERR_ABORTED";
case 2:
return "MEDIA_ERR_NETWORK";
case 3:
return "MEDIA_ERR_DECODE";
case 4:
return "MEDIA_ERR_SRC_NOT_SUPPORTED";
}
return "Unknown Error";
}
function _pd3(_od3) {
switch (_od3) {
case _0d3:
return "NETWORK_EMPTY";
case _1d3:
return "NETWORK_IDLE";
case _2d3:
return "NETWORK_LOADING";
case _3d3:
return "NETWORK_NO_SOURCE";
}
return "Unknown Error";
}
/*@this {XMLHttpRequest} */ function _qd3(_j01) {
debug("ImageLoaded: " + this.src);
_DJ1++;
}
/*@this {XMLHttpRequest} */ function _rd3(_j01) {
debug("ImageError: " + this.src);
_DJ1++;
}
/*@this {XMLHttpRequest} */ function _sd3(_j01) {
_Yc3++;
debug("ExtensionLoaded: ");
}
/*@this {XMLHttpRequest} */ function _td3(_j01) {
_Yc3++;
debug("ExtensionError: ");
}
function ClearEventListeners(_ud3) {
_ud3.removeEventListener("canplaythrough", _vd3, false);
_ud3.removeEventListener("error", _wd3, false);
_ud3.removeEventListener("loadstart", _xd3, false);
_ud3.removeEventListener("suspend", _yd3, false);
_ud3.removeEventListener("stalled", _zd3, false);
_ud3.removeEventListener("stall", _zd3, false);
}
/*@this {XMLHttpRequest} */ function _vd3(_j01) {
this.completed = true;
if (__c3[this.URL] !== null) {
__c3[this.URL] = null;
_DJ1++;
}
ClearEventListeners(this);
debug("SoundLoaded: " + this.URL);
}
/*@this {XMLHttpRequest} */ function _wd3(_j01) {
debug("SoundError: " + this.URL + " NetworkError: " + _nd3(this.error["code"]));
this.completed = false;
if (__c3[this.URL] !== null) {
__c3[this.URL] = null;
_DJ1++;
}
ClearEventListeners(this);
}
/*@this {XMLHttpRequest} */ function _xd3(_j01) {
this._Ad3 = true;
}
/*@this {XMLHttpRequest} */ function _yd3(_j01) {
debug("SoundSuspended: " + this.URL);
this.completed = true;
if (__c3[this.URL] !== null) {
__c3[this.URL] = null;
_DJ1++;
}
ClearEventListeners(this);
}
function _zd3(_j01) {}
function _Bd3(_Yc1) {
debug("Loading: " + _Yc1);
var index = _w31(_Yc1);
var _be1 = new _ce1();
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = 63;
_be1.__9 = 63;
_be1._9k = -32;
_be1._ak = -32;
_be1._bk = 63;
_be1._ck = 63;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = index;
_be1._f31 = _g31[index];
_be1._c31 = [];
_be1._e31 = 32;
_be1._d31 = 0;
var _Cd3 = _kb3.length;
_kb3[_Cd3] = _be1;
return _Cd3;
}
function _Dd3(_Ed3) {
debug("Loading: " + _x31 + _Ed3);
var e = window.document.createElement("script");
e.setAttribute("src", _x31 + _Ed3);
e.setAttribute("type", "text/javascript");
e.onload = _sd3;
e.onerror = _td3;
window.document.body.appendChild(e);
_Xc3++;
}
function _Fd3(_Gd3) {
if (_Gd3._82 !== undefined) {
for (var _X9 = 0; _X9 < _Gd3._82.length; _X9++) {
var _Hd3 = _Gd3._82[_X9];
if (_Hd3._Id3) {
for (var _Jd3 = 0; _Jd3 < _Hd3._Id3.length; _Jd3++) {
_Dd3(_Hd3._Id3[_Jd3]);
}
}
}
}
}
function _Kd3(_Gd3) {
__c3 = [];
_Xc3 = 0;
_Yc3 = 0;
_Fd3(_Gd3);
}
function _Ld3(_Yc1) {
_Wc3++;
var _QJ1 = new XMLHttpRequest();
_QJ1.open("GET", _5I1(_Yc1), true);
_QJ1.send();
_QJ1.onload = function (_NK2) {
_DJ1++;
_r11._Md3(_QJ1.responseText);
};
_QJ1.onerror = function (_NK2) {
_DJ1++;
};
}
function _Nd3(_Yc1) {
_Wc3++;
var _QJ1 = new XMLHttpRequest();
_QJ1.open("GET", _5I1(_Yc1), true);
_QJ1.responseType = "arraybuffer";
_QJ1.send();
_QJ1.onload = function (_NK2) {
_DJ1++;
_r11._Od3(_QJ1.response || _QJ1.responseText);
};
_QJ1.onerror = function (_NK2) {
_DJ1++;
};
}
var _DI1;
function _Pd3(_r31, _6Z1, _Qd3) {
return _Qd3;
}
var _Rd3 = [];
function _Sd3(_Gd3) {
var _d21, id;
if (_Gd3._Td3) document.title = _Gd3._Td3;
if (typeof gml_Script_gmcallback_html5_set_load_location != "undefined") {
_DI1 = gml_Script_gmcallback_html5_set_load_location;
} else _DI1 = _Pd3;
_Zc3 = document.getElementById("GM4HTML5_loadingscreen");
_Kd3(_Gd3);
_Ib3 = _Ud3;
_DJ1 = 0;
for (var index = 0; index < _Gd3._gk.length; index++) {
_Wc3++;
debug("Loading: " + _x31 + _Gd3._gk[index]);
_d21 = _w31(_x31 + _Gd3._gk[index]);
_g31[_d21].onload = _qd3;
_g31[_d21].onerror = _rd3;
_g31[_d21].URL = _Gd3._gk[index];
_g31[_d21]._xr2 = _Gd3._hk[index].MipsToGenerate;
_Rd3[index] = _d21;
}
if (_Gd3._Vd3 !== null && _Gd3._Vd3 !== undefined) {
_Nd3(_Gd3._Vd3);
}
if (_Gd3._Wd3 !== null && _Gd3._Wd3 !== undefined) {
_Ld3(_Gd3._Wd3);
}
if (true == _Ho1._ok._Rk) {
for (var _X9 = 2; _X9 < 16; _X9++) {
_Wc3++;
var _ot1 = _Bd3(_x31 + "particles/IDR_GIF" + _X9 + ".png");
_d21 = _kb3[_ot1]._fk;
_g31[_d21].onload = _qd3;
_g31[_d21].onerror = _rd3;
_g31[_d21].URL = "particles/IDR_GIF" + _X9 + ".png";
}
}
if (_pb1 == _qb1) {
for (index = 0; index < _Gd3._c2.length; index++) {
if (_Gd3._c2[index] !== null) {
var _j2 = 0;
if (_Gd3._c2[index]._j2 !== undefined) {
_j2 = _Gd3._c2[index]._j2;
}
if (_j2 == 0) {
_Wc3++;
debug("Loading: " + _x31 + _Gd3._c2[index]._g2);
if (_Gd3._c2[index]._e2 === 0) {
id = _RJ1(_x31 + _Gd3._c2[index]._g2, index, _Gd3._c2[index]._d2, _Gd3._c2[index]._f2);
if (id === undefined) {
_Wc3--;
}
} else if (_Gd3._c2[index]._e2 == 3 || _Gd3._c2[index]._e2 == 1) {
_IJ1(_x31 + _Gd3._c2[index]._g2, index, _Gd3._c2[index]._d2, _Gd3._c2[index]._f2);
_Wc3--;
} else {
debug("Attempting to load sound with unknown type: " + _Gd3._c2[index]._e2);
_Wc3--;
}
}
}
}
} else if (_pb1 == _GI1) {
var _Xd3, _Yd3;
for (index = 0; index < _Gd3._c2.length; index++) {
if (_Gd3._c2[index] !== null) {
_Wc3++;
_Xd3 = _Gd3._c2[index]._d2;
_Yd3 = _wI1[_Xd3];
debug("Loading: " + _x31 + _Gd3._c2[index]._g2);
id = _Zd3(_x31 + _Gd3._c2[index]._g2, _Gd3._c2[index]._d2, _Gd3._c2[index]._f2, _vd3, _wd3);
if (id !== undefined && _Yd3 && _Yd3.URL) {
__c3[_Yd3.URL] = _Yd3;
} else {
_Wc3--;
}
}
}
}
}
function __d3() {
for (var _X9 in __c3) {
if (!__c3.hasOwnProperty(_X9)) continue;
var _0e3 = __c3[_X9];
if (_0e3) {
if (_0e3.networkState !== null && _0e3.networkState !== undefined && _0e3.readyState !== null && _0e3.readyState !== undefined) {
if ((_0e3.networkState == _1d3 || _0e3.networkState == _3d3) && _0e3._Ad3 && _0e3.readyState != 4) {
if (_0e3.completed !== true) {
_0e3.completed = false;
_DJ1++;
__c3[_X9] = null;
ClearEventListeners(_0e3);
debug("SoundError: " + _0e3.URL + " NetworkState: " + _pd3(_0e3.networkState));
}
}
}
}
}
}
function _1e3(_2e3, _8q1) {
if (_8q1._3e3) return;
if (_8q1._1p1 !== null) {
_1e3(_8q1._1p1._rw1, _8q1._1p1);
}
for (var _4e3 in _8q1._5e3) {
if (!_8q1._5e3.hasOwnProperty(_4e3)) continue;
if (_sF2[_4e3]) {
if (_sF2[_4e3][_2e3]) {
continue;
}
}
var _4o1 = false;
var _6e3 = _8q1;
while (_6e3 !== null) {
var id = _6e3._rw1;
var _7e3 = _o01._s11(_4e3);
while (_7e3 !== null) {
var _8e3 = _7e3._rw1;
if (_sF2[_8e3] && _sF2[_8e3][id]) {
_4o1 = true;
break;
}
_7e3 = _7e3._1p1;
}
_6e3 = _6e3._1p1;
}
if (!_4o1) {
if (!_sF2[_2e3]) {
_sF2[_2e3] = [];
}
_sF2[_2e3][_4e3] = _4e3;
}
}
_8q1._3e3 = true;
}
function _9e3() {
var _xc1 = _o01._jC1();
for (var _2e3 = 0; _2e3 < _xc1.length; _2e3++) {
var _8q1 = _xc1[_2e3];
if (_8q1._1p1 !== null) {
_1e3(_8q1._1p1._rw1, _8q1._1p1);
}
_1e3(_2e3, _8q1);
}
}
function _ae3(_Gd3) {
var index, _RF1, _X9;
_0c3 = 1000000;
_rn._be3 = _Gd3._ok._xk;
_FN1 = _Gd3._ok._Pk;
_Mb3 = _Gd3._ok._Ck;
_6P1 = _Gd3._ok._Ok;
_rn._ce3 = _de3();
_rn._ee3 = _Gd3._ok.__k;
_rn._fe3 = _Gd3._ok.__k;
_rn._ge3 = _x31;
_rn._he3 = _de3();
if (_131) _rn._ie3 = true;
_zb3 = new _je3(_Gd3._1a);
_ec3 = _Gd3._ok._Vk;
var id = 0;
for (var index = 0; index < _Gd3._2a.length; index++) {
var _bs1 = _Gd3._2a[index];
if (_bs1 !== null) {
var _fw1 = _ke3(id, _bs1);
_o01._Da1(_fw1);
}
id++;
}
_o01._le3();
_9e3();
_me3(_Gd3._8k);
for (index = 0; index < _Gd3._m2.length; index++) {
if (_Gd3._m2[index] === null) {
_r11._GK1(null);
} else {
var _ne3 = _oe3(_Gd3._m2[index]);
_r11._GK1(_ne3);
}
}
for (index = 0; index < _Gd3._z2.length; index++) {
var _U51 = _Wd1._pe3(_Gd3._z2[index]);
var _UK1 = _Wd1._Xd1(_U51);
if (_UK1 !== null) _UK1._JK1 = _qe3;
}
for (index = 0; index < _Gd3._P9.length; index++) {
_Uo1._Da1(_Gd3._P9[index]);
}
if (_Gd3._re3) {
for (index = 0; index < _Gd3._re3.length; ++index) {
_Uo1._se3(_Gd3._re3[index]);
}
}
for (var index = 0; index < _Gd3._Hf.length; index++) {
var _te3 = _Gd3._Hf[index];
if (_te3 !== null) {
_RF1 = new _ue3();
_RF1._SF1 = _te3;
_By1._Da1(_RF1);
} else {
_Vb3++;
_By1._Da1(null);
}
}
_ec3 = _Gd3._ok._Uk;
_By1._ve3(_Gd3._7k);
for (_X9 = 0; _X9 < _Gd3._7k.length; _X9++) {
_RF1 = _By1._we3(_X9);
_RF1._xe3 = _X9;
}
_rn._ye3 = _By1._we3(0).id;
_rn._ze3 = _By1._we3(_By1._Ae3.length - 1).id;
_zY2._wX2();
for (index = 0; index < _Gd3._A2.length; index++) {
var _DE1 = _Be3(_Gd3._A2[index]);
_CE1._Da1(_DE1);
}
for (index = 0; index < _Gd3._c2.length; index++) {
_uI1._Da1(_Gd3._c2[index]);
}
if (_Gd3._0a !== undefined) {
for (index = 0; index < _Gd3._0a.length; index++) {
_dr1._Da1(_Gd3._0a[index]);
}
}
if (_Gd3._ik !== undefined) {
for (index = 0; index < _Gd3._ik.length; index++) {
var _Ce3 = _Gd3._ik[index];
var _De3 = new _Ee3();
if (_Ce3._d2 !== undefined) _De3._d2 = _Ce3._d2;
if (_Ce3._jk !== undefined) {
for (var _X9 = 0; _X9 < _Ce3._jk.length; _X9++) {
_De3._Fe3[_X9] = _Rd3[_Ce3._jk[_X9]];
}
}
if (_Ce3._kk !== undefined) {
for (var _X9 = 0; _X9 < _Ce3._kk.length; _X9++) {
_De3._oA1[_X9] = _Ce3._kk[_X9];
}
}
if (_Ce3._lk !== undefined) {
for (var _X9 = 0; _X9 < _Ce3._lk.length; _X9++) {
_De3._Ge3[_X9] = _Ce3._lk[_X9];
}
}
if (_Ce3._mk !== undefined) {
for (var _X9 = 0; _X9 < _Ce3._mk.length; _X9++) {
_De3._He3[_X9] = _Ce3._mk[_X9];
}
}
if (_Ce3._nk !== undefined) {
for (var _X9 = 0; _X9 < _Ce3._nk.length; _X9++) {
_De3._Ie3[_X9] = _Ce3._nk[_X9];
}
}
if (_De3._Ge3.length > 0) {
for (var _X9 = 0; _X9 < _De3._Ge3.length; _X9++) {
var _Je3 = _r11._m2[_De3._Ge3[_X9]];
if (_Je3 !== null) {
if (_Je3._Ke3) {
var _Uc1 = _De3._Fe3.length;
var _n31 = _Je3._Ke3._D31();
for (var _d21 = 0; _d21 < _n31; _d21++) {
_De3._Fe3[_Uc1] = _Je3._Ke3._F31(_d21);
_Uc1++;
}
}
}
}
}
_gb3._Le3(_De3);
}
}
_Vq1();
_Pq1();
if (typeof gmlConst == "function") {
_Cb3 = new gmlConst();
}
if (typeof _W_ == "function") {
_W_();
}
if (_Gd3._82 !== undefined) {
for (_X9 = 0; _X9 < _Gd3._82.length; _X9++) {
var _Hd3 = _Gd3._82[_X9];
if (_Hd3.init != undefined) {
try {
var _Me3 = eval(_Hd3.init);
if (_Me3) _Me3();
} catch (_dc1) {
_Rb1("Error calling extension initialisation function: " + _Hd3.init);
_Rb1("exception: " + _dc1.toString());
}
} else if (_Hd3.initfuncs != undefined) {
for (var _i21 = 0; _i21 < _Hd3.initfuncs.length; _i21++) {
try {
var _Me3 = eval(_Hd3.initfuncs[_i21]);
if (_Me3) _Me3();
} catch (_dc1) {
_Rb1("Error calling extension initialisation function: " + _Hd3.initfuncs[_i21]);
_Rb1("exception: " + _dc1.toString());
}
}
}
}
}
}
function _Fc3() {
try {
if ("localStorage" in window && window["localStorage"] !== null) {
_Tp1 = true;
}
} catch (e) {
_Tp1 = false;
}
return _Tp1;
}
function _de3() {
var _Ne3 = "";
if (_Ho1._ok.__k !== null && _Ho1._ok.__k !== undefined) {
for (var _X9 = 0; _X9 < _Ho1._ok.__k.length; _X9++) {
var _Br1 = _Ho1._ok.__k[_X9];
if ((_Br1 >= "a" && _Br1 <= "z") || (_Br1 >= "A" && _Br1 <= "Z") || (_Br1 >= "0" && _Br1 <= "9") || _Br1 === "_") {
_Ne3 = _Ne3 + _Ho1._ok.__k[_X9];
}
}
}
if (_Ne3.length === 0) {
_Ne3 = "GameMaker";
}
return _Ne3 + "." + _rn._be3 + ".";
}
function _Up1(_Jp1) {
return _rn._he3 + _Jp1;
}
var _cm1 = 0;
var _gm1 = 1;
var _km1 = 2;
var _Oe3 = 3;
var _dm1 = 4;
var _6l1 = 5;
var _lm1 = 6;
var _Pe3 = 7;
var _em1 = 8;
var _hm1 = 9;
var _mm1 = 10;
var _Qe3 = 11;
var _fm1 = 12;
var _im1 = 13;
var _nm1 = 14;
var _Re3 = 15;
var _Se3 = 0;
var _Te3 = 1;
var _Ue3 = 2;
var _Ve3 = 3;
var _We3 = 4;
var _Xe3 = 5;
var _Ye3 = 6;
var _Ze3 = 7;
var __e3 = 8;
var _0f3 = 9;
var _1f3 = 10;
var _2f3 = 11;
var _3f3 = 12;
var _4f3 = 13;
var _5f3 = 14;
var _6f3 = 15;
/*@constructor
* @param {Object=} _matrix Some value (optional).
*/ function _Fk1(_ng1) {
this._Z11 = new Float32Array(16);
if (arguments.length > 0) {
var _7f3 = _ng1._Z11 || _ng1;
for (var _X9 = 0; _X9 < 16; _X9++) {
this._Z11[_X9] = _7f3[_X9];
}
} else {
this._8f3();
}
}
_Fk1.prototype.identity = function (_c61) {
this._Z11[1] = this._Z11[2] = this._Z11[3] = this._Z11[4] = this._Z11[6] = this._Z11[7] = this._Z11[8] = this._Z11[9] = this._Z11[11] = this._Z11[12] = this._Z11[13] = this._Z11[14] = 0.0;
this._Z11[0] = this._Z11[5] = this._Z11[10] = this._Z11[15] = 1.0;
};
_Fk1.prototype._8f3 = function (_c61) {
this._Z11[1] = this._Z11[2] = this._Z11[3] = this._Z11[4] = this._Z11[6] = this._Z11[7] = this._Z11[8] = this._Z11[9] = this._Z11[11] = this._Z11[12] = this._Z11[13] = this._Z11[14] = 0.0;
this._Z11[0] = this._Z11[5] = this._Z11[10] = this._Z11[15] = 1.0;
};
_Fk1.prototype._1l1 = function (_9f3, _af3, _bf3) {
var _cf3 = new _Zk1(_bf3);
var _df3 = new _Zk1();
var _ef3 = _af3._gY2(_9f3);
_ef3._sl1();
_cf3._sl1();
_df3._ff3(_cf3, _ef3);
_df3._sl1();
_cf3._ff3(_ef3, _df3);
_cf3._sl1();
var _vl1 = _9f3._gf3(_df3);
var _wl1 = _9f3._gf3(_cf3);
var _xl1 = _9f3._gf3(_ef3);
this._Z11[_cm1] = _df3._vl1;
this._Z11[_gm1] = _cf3._vl1;
this._Z11[_km1] = _ef3._vl1;
this._Z11[_Oe3] = 0.0;
this._Z11[_dm1] = _df3._wl1;
this._Z11[_6l1] = _cf3._wl1;
this._Z11[_lm1] = _ef3._wl1;
this._Z11[_Pe3] = 0.0;
this._Z11[_em1] = _df3._xl1;
this._Z11[_hm1] = _cf3._xl1;
this._Z11[_mm1] = _ef3._xl1;
this._Z11[_Qe3] = 0.0;
this._Z11[_fm1] = -_vl1;
this._Z11[_im1] = -_wl1;
this._Z11[_nm1] = -_xl1;
this._Z11[_Re3] = 1;
};
_Fk1.prototype._5l1 = function (_hf3, _if3, _jf3, _kf3) {
if (_hf3 == 0.0 || _if3 == 0.0 || _jf3 == _kf3) {
this._8f3();
return;
}
var _l41 = _Gc3(_hf3);
var _lf3 = 1.0 / Math.tan(_l41 * 0.5);
var _Sa2 = _lf3 / _if3;
this._Z11[_cm1] = _Sa2;
this._Z11[_gm1] = this._Z11[_km1] = this._Z11[_Oe3] = 0.0;
this._Z11[_6l1] = _lf3;
this._Z11[_dm1] = this._Z11[_lm1] = this._Z11[_Pe3] = 0.0;
this._Z11[_em1] = this._Z11[_hm1] = 0.0;
this._Z11[_Qe3] = 1.0;
this._Z11[_mm1] = _kf3 / (_kf3 - _jf3);
this._Z11[_fm1] = this._Z11[_fm1] = this._Z11[_Re3] = 0.0;
this._Z11[_nm1] = (-_jf3 * _kf3) / (_kf3 - _jf3);
};
_Fk1.prototype._bl1 = function (_Mb1, _Nb1, _jf3, _kf3) {
if (_Mb1 == 0.0 || _Nb1 == 0.0 || _jf3 == _kf3) {
this._8f3();
return;
}
this._Z11[_cm1] = (2 * _jf3) / _Mb1;
this._Z11[_gm1] = this._Z11[_km1] = this._Z11[_Oe3] = 0.0;
this._Z11[_6l1] = (2 * _jf3) / _Nb1;
this._Z11[_dm1] = this._Z11[_lm1] = this._Z11[_Pe3] = 0.0;
this._Z11[_em1] = this._Z11[_hm1] = 0.0;
this._Z11[_Qe3] = 1.0;
this._Z11[_mm1] = _kf3 / (_kf3 - _jf3);
this._Z11[_fm1] = this._Z11[_im1] = this._Z11[_Re3] = 0.0;
this._Z11[_nm1] = (-_jf3 * _kf3) / (_kf3 - _jf3);
};
_Fk1.prototype._al1 = function (_Mb1, _Nb1, _jf3, _kf3) {
if (_Mb1 == 0.0 || _Nb1 == 0.0 || _jf3 == _kf3) {
this._8f3();
return;
}
this._Z11[_cm1] = 2.0 / _Mb1;
this._Z11[_gm1] = this._Z11[_km1] = 0.0;
this._Z11[_Oe3] = 0;
this._Z11[_6l1] = 2.0 / _Nb1;
this._Z11[_dm1] = this._Z11[_lm1] = 0.0;
this._Z11[_Pe3] = 0;
this._Z11[_em1] = this._Z11[_hm1] = 0.0;
this._Z11[_mm1] = 1.0 / (_kf3 - _jf3);
this._Z11[_Qe3] = 0;
this._Z11[_fm1] = this._Z11[_im1] = 0.0;
this._Z11[_nm1] = _jf3 / (_jf3 - _kf3);
this._Z11[_Re3] = 1.0;
};
_Fk1.prototype.Multiply = function (_mf3, _nf3) {
this._Z11[_cm1] = _mf3._Z11[_cm1] * _nf3._Z11[_cm1] + _mf3._Z11[_gm1] * _nf3._Z11[_dm1] + _mf3._Z11[_km1] * _nf3._Z11[_em1] + _mf3._Z11[_Oe3] * _nf3._Z11[_fm1];
this._Z11[_gm1] = _mf3._Z11[_cm1] * _nf3._Z11[_gm1] + _mf3._Z11[_gm1] * _nf3._Z11[_6l1] + _mf3._Z11[_km1] * _nf3._Z11[_hm1] + _mf3._Z11[_Oe3] * _nf3._Z11[_im1];
this._Z11[_km1] = _mf3._Z11[_cm1] * _nf3._Z11[_km1] + _mf3._Z11[_gm1] * _nf3._Z11[_lm1] + _mf3._Z11[_km1] * _nf3._Z11[_mm1] + _mf3._Z11[_Oe3] * _nf3._Z11[_nm1];
this._Z11[_Oe3] = _mf3._Z11[_cm1] * _nf3._Z11[_Oe3] + _mf3._Z11[_gm1] * _nf3._Z11[_Pe3] + _mf3._Z11[_km1] * _nf3._Z11[_Qe3] + _mf3._Z11[_Oe3] * _nf3._Z11[_Re3];
this._Z11[_dm1] = _mf3._Z11[_dm1] * _nf3._Z11[_cm1] + _mf3._Z11[_6l1] * _nf3._Z11[_dm1] + _mf3._Z11[_lm1] * _nf3._Z11[_em1] + _mf3._Z11[_Pe3] * _nf3._Z11[_fm1];
this._Z11[_6l1] = _mf3._Z11[_dm1] * _nf3._Z11[_gm1] + _mf3._Z11[_6l1] * _nf3._Z11[_6l1] + _mf3._Z11[_lm1] * _nf3._Z11[_hm1] + _mf3._Z11[_Pe3] * _nf3._Z11[_im1];
this._Z11[_lm1] = _mf3._Z11[_dm1] * _nf3._Z11[_km1] + _mf3._Z11[_6l1] * _nf3._Z11[_lm1] + _mf3._Z11[_lm1] * _nf3._Z11[_mm1] + _mf3._Z11[_Pe3] * _nf3._Z11[_nm1];
this._Z11[_Pe3] = _mf3._Z11[_dm1] * _nf3._Z11[_Oe3] + _mf3._Z11[_6l1] * _nf3._Z11[_Pe3] + _mf3._Z11[_lm1] * _nf3._Z11[_Qe3] + _mf3._Z11[_Pe3] * _nf3._Z11[_Re3];
this._Z11[_em1] = _mf3._Z11[_em1] * _nf3._Z11[_cm1] + _mf3._Z11[_hm1] * _nf3._Z11[_dm1] + _mf3._Z11[_mm1] * _nf3._Z11[_em1] + _mf3._Z11[_Qe3] * _nf3._Z11[_fm1];
this._Z11[_hm1] = _mf3._Z11[_em1] * _nf3._Z11[_gm1] + _mf3._Z11[_hm1] * _nf3._Z11[_6l1] + _mf3._Z11[_mm1] * _nf3._Z11[_hm1] + _mf3._Z11[_Qe3] * _nf3._Z11[_im1];
this._Z11[_mm1] = _mf3._Z11[_em1] * _nf3._Z11[_km1] + _mf3._Z11[_hm1] * _nf3._Z11[_lm1] + _mf3._Z11[_mm1] * _nf3._Z11[_mm1] + _mf3._Z11[_Qe3] * _nf3._Z11[_nm1];
this._Z11[_Qe3] = _mf3._Z11[_em1] * _nf3._Z11[_Oe3] + _mf3._Z11[_hm1] * _nf3._Z11[_Pe3] + _mf3._Z11[_mm1] * _nf3._Z11[_Qe3] + _mf3._Z11[_Qe3] * _nf3._Z11[_Re3];
this._Z11[_fm1] = _mf3._Z11[_fm1] * _nf3._Z11[_cm1] + _mf3._Z11[_im1] * _nf3._Z11[_dm1] + _mf3._Z11[_nm1] * _nf3._Z11[_em1] + _mf3._Z11[_Re3] * _nf3._Z11[_fm1];
this._Z11[_im1] = _mf3._Z11[_fm1] * _nf3._Z11[_gm1] + _mf3._Z11[_im1] * _nf3._Z11[_6l1] + _mf3._Z11[_nm1] * _nf3._Z11[_hm1] + _mf3._Z11[_Re3] * _nf3._Z11[_im1];
this._Z11[_nm1] = _mf3._Z11[_fm1] * _nf3._Z11[_km1] + _mf3._Z11[_im1] * _nf3._Z11[_lm1] + _mf3._Z11[_nm1] * _nf3._Z11[_mm1] + _mf3._Z11[_Re3] * _nf3._Z11[_nm1];
this._Z11[_Re3] = _mf3._Z11[_fm1] * _nf3._Z11[_Oe3] + _mf3._Z11[_im1] * _nf3._Z11[_Pe3] + _mf3._Z11[_nm1] * _nf3._Z11[_Qe3] + _mf3._Z11[_Re3] * _nf3._Z11[_Re3];
};
_Fk1.prototype._5m1 = function (_e11) {
this._8f3();
var _l41 = _Gc3(_e11);
var _Wo1 = Math.sin(_l41);
var _Y9 = Math.cos(_l41);
this._Z11[_cm1] = _Y9;
this._Z11[_gm1] = -_Wo1;
this._Z11[_dm1] = _Wo1;
this._Z11[_6l1] = _Y9;
};
_Fk1.prototype._4m1 = function (_e11) {
this._8f3();
var _l41 = _Gc3(_e11);
var _Wo1 = Math.sin(_l41);
var _Y9 = Math.cos(_l41);
this._Z11[_cm1] = _Y9;
this._Z11[_km1] = _Wo1;
this._Z11[_em1] = -_Wo1;
this._Z11[_mm1] = _Y9;
};
_Fk1.prototype._3m1 = function (_e11) {
this._8f3();
var _l41 = _Gc3(_e11);
var _Wo1 = Math.sin(_l41);
var _Y9 = Math.cos(_l41);
this._Z11[_6l1] = _Y9;
this._Z11[_lm1] = -_Wo1;
this._Z11[_hm1] = _Wo1;
this._Z11[_mm1] = _Y9;
};
_Fk1.prototype._1m1 = function (_a11, _b11, _Z71) {
this._8f3();
this._Z11[_fm1] = _a11;
this._Z11[_im1] = _b11;
this._Z11[_nm1] = _Z71;
};
_Fk1.prototype._2m1 = function (_2N1, _3N1, _of3) {
this._8f3();
this._Z11[_cm1] = _2N1;
this._Z11[_6l1] = _3N1;
this._Z11[_mm1] = _of3;
};
_Fk1.prototype._6m1 = function (_P71, _e11) {
_P71._sl1();
var _l41 = _Gc3(_e11);
var _Y9 = Math.cos(_l41);
var _Wo1 = Math.sin(_l41);
var _pf3 = 1.0 - _Y9;
this._8f3();
this._Z11[0] = _pf3 * _P71._vl1 * _P71._vl1 + _Y9;
this._Z11[1] = _pf3 * _P71._vl1 * _P71._wl1 + _Wo1 * _P71._xl1;
this._Z11[2] = _pf3 * _P71._vl1 * _P71._xl1 - _Wo1 * _P71._wl1;
this._Z11[4] = _pf3 * _P71._vl1 * _P71._wl1 - _Wo1 * _P71._xl1;
this._Z11[5] = _pf3 * _P71._wl1 * _P71._wl1 + _Y9;
this._Z11[6] = _pf3 * _P71._wl1 * _P71._xl1 + _Wo1 * _P71._vl1;
this._Z11[8] = _pf3 * _P71._vl1 * _P71._xl1 + _Wo1 * _P71._wl1;
this._Z11[9] = _pf3 * _P71._wl1 * _P71._xl1 - _Wo1 * _P71._vl1;
this._Z11[10] = _pf3 * _P71._xl1 * _P71._xl1 + _Y9;
};
_Fk1.prototype._Hm1 = function (_a11, _b11, _Z71, _Am1, _Bm1, _Cm1, _Dm1, _Em1, _Fm1) {
var _qf3 = Math.sin(_Am1);
var _rf3 = Math.cos(_Am1);
var _sf3 = Math.sin(_Bm1);
var _tf3 = Math.cos(_Bm1);
var _uf3 = Math.sin(_Cm1);
var _vf3 = Math.cos(_Cm1);
var _wf3 = -_uf3 * -_qf3;
var _xf3 = _vf3 * -_qf3;
this._Z11[0] = (_vf3 * _tf3 + _wf3 * -_sf3) * _Dm1;
this._Z11[4] = -_uf3 * _rf3 * _Dm1;
this._Z11[8] = (_vf3 * _sf3 + _wf3 * _tf3) * _Dm1;
this._Z11[12] = _a11;
this._Z11[1] = (_uf3 * _tf3 + _xf3 * -_sf3) * _Em1;
this._Z11[5] = _vf3 * _rf3 * _Em1;
this._Z11[9] = (_uf3 * _sf3 + _xf3 * _tf3) * _Em1;
this._Z11[13] = _b11;
this._Z11[2] = _rf3 * -_sf3 * _Fm1;
this._Z11[6] = _qf3 * _Fm1;
this._Z11[10] = _rf3 * _tf3 * _Fm1;
this._Z11[14] = _Z71;
this._Z11[3] = this._Z11[7] = this._Z11[11] = 0.0;
this._Z11[15] = 1.0;
};
_Fk1.prototype._6v1 = function (_yf3) {
var _zf3 = _yf3._Z11[_Se3] * _yf3._Z11[_Xe3] - _yf3._Z11[_We3] * _yf3._Z11[_Te3];
var _Km1 = _yf3._Z11[_Se3] * _yf3._Z11[_Ye3] - _yf3._Z11[_We3] * _yf3._Z11[_Ue3];
var _Lm1 = _yf3._Z11[_Se3] * _yf3._Z11[_Ze3] - _yf3._Z11[_We3] * _yf3._Z11[_Ve3];
var _Mm1 = _yf3._Z11[_Te3] * _yf3._Z11[_Ye3] - _yf3._Z11[_Xe3] * _yf3._Z11[_Ue3];
var _Af3 = _yf3._Z11[_Te3] * _yf3._Z11[_Ze3] - _yf3._Z11[_Xe3] * _yf3._Z11[_Ve3];
var _Bf3 = _yf3._Z11[_Ue3] * _yf3._Z11[_Ze3] - _yf3._Z11[_Ye3] * _yf3._Z11[_Ve3];
var _Cf3 = _yf3._Z11[_1f3] * _yf3._Z11[_6f3] - _yf3._Z11[_5f3] * _yf3._Z11[_2f3];
var _Df3 = _yf3._Z11[_0f3] * _yf3._Z11[_6f3] - _yf3._Z11[_4f3] * _yf3._Z11[_2f3];
var _NS1 = _yf3._Z11[_0f3] * _yf3._Z11[_5f3] - _yf3._Z11[_4f3] * _yf3._Z11[_1f3];
var _CS1 = _yf3._Z11[__e3] * _yf3._Z11[_6f3] - _yf3._Z11[_3f3] * _yf3._Z11[_2f3];
var _BS1 = _yf3._Z11[__e3] * _yf3._Z11[_5f3] - _yf3._Z11[_3f3] * _yf3._Z11[_1f3];
var _6T1 = _yf3._Z11[__e3] * _yf3._Z11[_4f3] - _yf3._Z11[_3f3] * _yf3._Z11[_0f3];
var _GS1 = _zf3 * _Cf3 - _Km1 * _Df3 + _Lm1 * _NS1 + _Mm1 * _CS1 - _Af3 * _BS1 + _Bf3 * _6T1;
if (_GS1 != 0) {
var _Ef3 = 1.0 / _GS1;
var _e21 = new Float32Array(16);
_e21[_Se3] = (_yf3._Z11[_Xe3] * _Cf3 - _yf3._Z11[_Ye3] * _Df3 + _yf3._Z11[_Ze3] * _NS1) * _Ef3;
_e21[_Te3] = (-_yf3._Z11[_Te3] * _Cf3 + _yf3._Z11[_Ue3] * _Df3 - _yf3._Z11[_Ve3] * _NS1) * _Ef3;
_e21[_Ue3] = (_yf3._Z11[_4f3] * _Bf3 - _yf3._Z11[_5f3] * _Af3 + _yf3._Z11[_6f3] * _Mm1) * _Ef3;
_e21[_Ve3] = (-_yf3._Z11[_0f3] * _Bf3 + _yf3._Z11[_1f3] * _Af3 - _yf3._Z11[_2f3] * _Mm1) * _Ef3;
_e21[_We3] = (-_yf3._Z11[_We3] * _Cf3 + _yf3._Z11[_Ye3] * _CS1 - _yf3._Z11[_Ze3] * _BS1) * _Ef3;
_e21[_Xe3] = (_yf3._Z11[_Se3] * _Cf3 - _yf3._Z11[_Ue3] * _CS1 + _yf3._Z11[_Ve3] * _BS1) * _Ef3;
_e21[_Ye3] = (-_yf3._Z11[_3f3] * _Bf3 + _yf3._Z11[_5f3] * _Lm1 - _yf3._Z11[_6f3] * _Km1) * _Ef3;
_e21[_Ze3] = (_yf3._Z11[__e3] * _Bf3 - _yf3._Z11[_1f3] * _Lm1 + _yf3._Z11[_2f3] * _Km1) * _Ef3;
_e21[__e3] = (_yf3._Z11[_We3] * _Df3 - _yf3._Z11[_Xe3] * _CS1 + _yf3._Z11[_Ze3] * _6T1) * _Ef3;
_e21[_0f3] = (-_yf3._Z11[_Se3] * _Df3 + _yf3._Z11[_Te3] * _CS1 - _yf3._Z11[_Ve3] * _6T1) * _Ef3;
_e21[_1f3] = (_yf3._Z11[_3f3] * _Af3 - _yf3._Z11[_4f3] * _Lm1 + _yf3._Z11[_6f3] * _zf3) * _Ef3;
_e21[_2f3] = (-_yf3._Z11[__e3] * _Af3 + _yf3._Z11[_0f3] * _Lm1 - _yf3._Z11[_2f3] * _zf3) * _Ef3;
_e21[_3f3] = (-_yf3._Z11[_We3] * _NS1 + _yf3._Z11[_Xe3] * _BS1 - _yf3._Z11[_Ye3] * _6T1) * _Ef3;
_e21[_4f3] = (_yf3._Z11[_Se3] * _NS1 - _yf3._Z11[_Te3] * _BS1 + _yf3._Z11[_Ue3] * _6T1) * _Ef3;
_e21[_5f3] = (-_yf3._Z11[_3f3] * _Mm1 + _yf3._Z11[_4f3] * _Km1 - _yf3._Z11[_5f3] * _zf3) * _Ef3;
_e21[_6f3] = (_yf3._Z11[__e3] * _Mm1 - _yf3._Z11[_0f3] * _Km1 + _yf3._Z11[_1f3] * _zf3) * _Ef3;
this._Z11 = _e21;
}
};
_Fk1.prototype._eY2 = function (_Ff3) {
var _Gf3 = new _Zk1(0.0, 0.0, 0.0);
if (_Ff3 != undefined) {
_Gf3._vl1 = this._Z11[_cm1] * _Ff3._vl1 + this._Z11[_dm1] * _Ff3._wl1 + this._Z11[_em1] * _Ff3._xl1 + this._Z11[_fm1];
_Gf3._wl1 = this._Z11[_gm1] * _Ff3._vl1 + this._Z11[_6l1] * _Ff3._wl1 + this._Z11[_hm1] * _Ff3._xl1 + this._Z11[_im1];
_Gf3._xl1 = this._Z11[_km1] * _Ff3._vl1 + this._Z11[_lm1] * _Ff3._wl1 + this._Z11[_mm1] * _Ff3._xl1 + this._Z11[_nm1];
}
return _Gf3;
};
/*@constructor */ function _ce1() {
this.x = 0;
this.y = 0;
this._Z9 = 0;
this.__9 = 0;
this._9k = 0;
this._ak = 0;
this._bk = 0;
this._ck = 0;
this._dk = 0;
this._ek = 0;
this._fk = 0;
this._JK1 = _qe3;
}
/*@constructor */ function _qe3(_YK1) {
this.x = _YK1.x;
this.y = _YK1.y;
this._Z9 = _YK1._Z9;
this.__9 = _YK1.__9;
this._9k = _YK1._9k;
this._ak = _YK1._ak;
this._bk = _YK1._bk;
this._ck = _YK1._ck;
this._dk = _YK1._dk;
this._ek = _YK1._ek;
this._fk = _YK1._fk;
}
/*@constructor */ /*@constructor */ /*@constructor */ /*@constructor */ /*@constructor */ /*@constructor */ /*@constructor */ /*@constructor */ function _Hf3(_L31) {
_w61("splash_set_color()");
}
var _If3 = _Hf3;
var _Jf3 = !0;
function _Kf3(_y61) {
_w61("texture_get_width()");
}
function _Lf3(_y61) {
_w61("texture_get_height()");
}
function _Mf3(_7x1) {
_w61("texture_set_blending()");
}
function _el1(repeat) {
_w61("texture_set_repeat()");
}
function _dl1() {
_w61("texture_get_repeat()");
}
function _Nf3(repeat) {
_w61("texture_set_repeat_ext()");
}
function _Of3(_En1, _fh1) {
_w61("texture_set_interpolation_ext()");
}
function _Pf3(_b31) {
_w61("texture_get_uvs()");
}
function _Qf3() {
_w61("draw_set_alpha_test()");
}
function _Rf3() {
_w61("draw_set_alpha_test_ref_value()");
}
function _Sf3() {
_w61("draw_get_alpha_test()");
return 0;
}
function _Tf3() {
_w61("draw_get_alpha_test_ref_value()");
return 0;
}
/*@constructor */ function _Zk1(_Uf3, _Vf3, _Wf3) {
if (arguments.length > 0) {
if (arguments.length == 3) {
this._vl1 = _Uf3;
this._wl1 = _Vf3;
this._xl1 = _Wf3;
} else {
this._vl1 = _Uf3._vl1;
this._wl1 = _Uf3._wl1;
this._xl1 = _Uf3._xl1;
}
} else {
this._vl1 = 1.0;
this._wl1 = 0.0;
this._xl1 = 0.0;
}
}
_Zk1.prototype._Da1 = function (_c61) {
return new _Zk1(this._vl1 + _c61._vl1, this._wl1 + _c61._wl1, this._xl1 + _c61._xl1);
};
_Zk1.prototype._gY2 = function (_c61) {
return new _Zk1(this._vl1 - _c61._vl1, this._wl1 - _c61._wl1, this._xl1 - _c61._xl1);
};
_Zk1.prototype._sl1 = function () {
var _Bc1 = 1.0 / Math.sqrt(this._vl1 * this._vl1 + this._wl1 * this._wl1 + this._xl1 * this._xl1);
this._vl1 = this._vl1 * _Bc1;
this._wl1 = this._wl1 * _Bc1;
this._xl1 = this._xl1 * _Bc1;
};
_Zk1.prototype._Xf3 = function () {
var _Yf3 = this._vl1 * this._vl1 + this._wl1 * this._wl1 + this._xl1 * this._xl1;
return _Yf3;
};
_Zk1.prototype.Length = function () {
var _Yf3 = this._Xf3();
if (_Yf3 > 0.0) {
return Math.sqrt(_Yf3);
} else {
return 0.0;
}
};
_Zk1.prototype._ff3 = function (_Zf3, __f3) {
this._vl1 = _Zf3._wl1 * __f3._xl1 - _Zf3._xl1 * __f3._wl1;
this._wl1 = _Zf3._xl1 * __f3._vl1 - _Zf3._vl1 * __f3._xl1;
this._xl1 = _Zf3._vl1 * __f3._wl1 - _Zf3._wl1 * __f3._vl1;
};
_Zk1.prototype._gf3 = function (_0g3) {
return this._vl1 * _0g3._vl1 + this._wl1 * _0g3._wl1 + this._xl1 * _0g3._xl1;
};
(function (global, __l2, _1g3) {
"use strict";
function _2g3(_3g3) {
if (!_3g3) return;
if (!_3g3.setTargetAtTime) _3g3.setTargetAtTime = _3g3.setTargetValueAtTime;
}
if (window.hasOwnProperty("webkitAudioContext") && !window.hasOwnProperty("AudioContext")) {
window.AudioContext = webkitAudioContext;
if (!AudioContext.prototype.hasOwnProperty("createGain")) AudioContext.prototype.createGain = AudioContext.prototype.createGainNode;
if (!AudioContext.prototype.hasOwnProperty("createDelay")) AudioContext.prototype.createDelay = AudioContext.prototype._4g3;
if (!AudioContext.prototype.hasOwnProperty("createScriptProcessor")) AudioContext.prototype.createScriptProcessor = AudioContext.prototype._5g3;
if (!AudioContext.prototype.hasOwnProperty("createPeriodicWave")) AudioContext.prototype.createPeriodicWave = AudioContext.prototype._6g3;
AudioContext.prototype._7g3 = AudioContext.prototype.createGain;
AudioContext.prototype.createGain = function () {
var _kd1 = this._7g3();
_2g3(_kd1.gain);
return _kd1;
};
AudioContext.prototype._8g3 = AudioContext.prototype.createDelay;
AudioContext.prototype.createDelay = function (_9g3) {
var _kd1 = _9g3 ? this._8g3(_9g3) : this._8g3();
_2g3(_kd1.delayTime);
return _kd1;
};
AudioContext.prototype._ag3 = AudioContext.prototype.createBufferSource;
AudioContext.prototype.createBufferSource = function () {
var _kd1 = this._ag3();
if (!_kd1.start) {
_kd1.start = function (_bg3, offset, duration) {
if (offset || duration) this.noteGrainOn(_bg3 || 0, offset, duration);
else this.noteOn(_bg3 || 0);
};
} else {
_kd1._cg3 = _kd1.start;
_kd1.start = function (_bg3, offset, duration) {
if (typeof duration !== "undefined") _kd1._cg3(_bg3 || 0, offset, duration);
else _kd1._cg3(_bg3 || 0, offset || 0);
};
}
if (!_kd1.stop) {
_kd1.stop = function (_bg3) {
this.noteOff(_bg3 || 0);
};
} else {
_kd1._dg3 = _kd1.stop;
_kd1.stop = function (_bg3) {
_kd1._dg3(_bg3 || 0);
};
}
_2g3(_kd1.playbackRate);
return _kd1;
};
AudioContext.prototype._eg3 = AudioContext.prototype._fg3;
AudioContext.prototype._fg3 = function () {
var _kd1 = this._eg3();
_2g3(_kd1._gg3);
_2g3(_kd1._hg3);
_2g3(_kd1._wf2);
_2g3(_kd1._ig3);
_2g3(_kd1._jg3);
_2g3(_kd1._kg3);
return _kd1;
};
AudioContext.prototype._lg3 = AudioContext.prototype._mg3;
AudioContext.prototype._mg3 = function () {
var _kd1 = this._lg3();
_2g3(_kd1._Ol2);
_2g3(_kd1._ng3);
_2g3(_kd1._w_1);
_2g3(_kd1.gain);
return _kd1;
};
if (AudioContext.prototype.hasOwnProperty("createOscillator")) {
AudioContext.prototype._og3 = AudioContext.prototype._pg3;
AudioContext.prototype._pg3 = function () {
var _kd1 = this._og3();
if (!_kd1.start) {
_kd1.start = function (_bg3) {
this.noteOn(_bg3 || 0);
};
} else {
_kd1._cg3 = _kd1.start;
_kd1.start = function (_bg3) {
_kd1._cg3(_bg3 || 0);
};
}
if (!_kd1.stop) {
_kd1.stop = function (_bg3) {
this.noteOff(_bg3 || 0);
};
} else {
_kd1._dg3 = _kd1.stop;
_kd1.stop = function (_bg3) {
_kd1._dg3(_bg3 || 0);
};
}
if (!_kd1._qg3) _kd1._qg3 = _kd1._rg3;
_2g3(_kd1._Ol2);
_2g3(_kd1._ng3);
return _kd1;
};
}
}
if (window.hasOwnProperty("webkitOfflineAudioContext") && !window.hasOwnProperty("OfflineAudioContext")) {
window.OfflineAudioContext = webkitOfflineAudioContext;
}
})(window);
var _sg3 = 0,
_tg3 = 1,
_ug3 = 2,
_vg3 = 3,
_wg3 = 4,
_xg3 = 5,
_yg3 = 6,
_zg3 = 7,
_Ag3 = 8,
_Bg3 = 9,
_Cg3 = 10,
_Dg3 = 11,
_Eg3 = 12,
_Fg3 = 13,
_Gg3 = 14,
_Hg3 = 15;
/*@constructor */ function _Kl1() {
this._Ua1();
}
_Kl1.prototype._Ua1 = function () {
this._Ig3 = [];
this._Jg3 = [];
};
_Kl1.prototype._Kg3 = function () {
var _Lg3 = "100\n";
_Lg3 += this._Ig3.length.toString() + "\n";
for (var _X9 = 0; _X9 < this._Ig3.length; _X9++) {
var _Mg3 = this._Ig3[_X9];
_Lg3 += _Mg3._Ng3.toString() + " ";
switch (_Mg3._Ng3) {
case _tg3:
break;
case _sg3:
_Lg3 += _Mg3._Og3.toString();
break;
case _ug3:
_Lg3 += _Mg3.x.toString() + " ";
_Lg3 += _Mg3.y.toString() + " ";
_Lg3 += _Mg3._L61.toString() + " ";
_Lg3 += "0.0 0.0 0.0 0.0 0.0 0.0 0.0\n";
break;
case _vg3:
_Lg3 += _Mg3.x.toString() + " ";
_Lg3 += _Mg3.y.toString() + " ";
_Lg3 += _Mg3._L61.toString() + " ";
_Lg3 += (_Mg3.color * 1.0).toString() + " ";
_Lg3 += _Mg3.alpha.toString() + " ";
_Lg3 += "0.0 0.0 0.0 0.0 0.0\n";
break;
case _wg3:
_Lg3 += _Mg3.x.toString() + " ";
_Lg3 += _Mg3.y.toString() + " ";
_Lg3 += _Mg3._L61.toString() + " ";
_Lg3 += _Mg3._P41.toString() + " ";
_Lg3 += _Mg3._J41.toString() + " ";
_Lg3 += "0.0 0.0 0.0 0.0 0.0\n";
break;
case _xg3:
_Lg3 += _Mg3.x.toString() + " ";
_Lg3 += _Mg3.y.toString() + " ";
_Lg3 += _Mg3._L61.toString() + " ";
_Lg3 += _Mg3._P41.toString() + " ";
_Lg3 += _Mg3._J41.toString() + " ";
_Lg3 += (_Mg3.color * 1.0).toString() + " ";
_Lg3 += _Mg3.alpha.toString() + " ";
_Lg3 += "0.0 0.0 0.0\n";
break;
case _yg3:
_Lg3 += _Mg3.x.toString() + " ";
_Lg3 += _Mg3.y.toString() + " ";
_Lg3 += _Mg3._L61.toString() + " ";
_Lg3 += _Mg3._S61.toString() + " ";
_Lg3 += _Mg3._T61.toString() + " ";
_Lg3 += _Mg3._U61.toString() + " ";
_Lg3 += "0.0 0.0 0.0 0.0\n";
break;
case _zg3:
_Lg3 += _Mg3.x.toString() + " ";
_Lg3 += _Mg3.y.toString() + " ";
_Lg3 += _Mg3._L61.toString() + " ";
_Lg3 += _Mg3._S61.toString() + " ";
_Lg3 += _Mg3._T61.toString() + " ";
_Lg3 += _Mg3._U61.toString() + " ";
_Lg3 += (_Mg3.color * 1.0).toString() + " ";
_Lg3 += _Mg3.alpha.toString() + " ";
_Lg3 += "0.0 0.0\n";
break;
case _Ag3:
_Lg3 += _Mg3.x.toString() + " ";
_Lg3 += _Mg3.y.toString() + " ";
_Lg3 += _Mg3._L61.toString() + " ";
_Lg3 += _Mg3._S61.toString() + " ";
_Lg3 += _Mg3._T61.toString() + " ";
_Lg3 += _Mg3._U61.toString() + " ";
_Lg3 += _Mg3._P41.toString() + " ";
_Lg3 += _Mg3._J41.toString() + " ";
_Lg3 += "0.0 0.0\n";
break;
case _Bg3:
_Lg3 += _Mg3.x.toString() + " ";
_Lg3 += _Mg3.y.toString() + " ";
_Lg3 += _Mg3._L61.toString() + " ";
_Lg3 += _Mg3._S61.toString() + " ";
_Lg3 += _Mg3._T61.toString() + " ";
_Lg3 += _Mg3._U61.toString() + " ";
_Lg3 += _Mg3._P41.toString() + " ";
_Lg3 += _Mg3._J41.toString() + " ";
_Lg3 += (_Mg3.color * 1.0).toString() + " ";
_Lg3 += _Mg3.alpha.toString() + " ";
_Lg3 += "\n";
break;
case _Cg3:
case _Gg3:
case _Hg3:
_Lg3 += _Mg3.__11.toString() + " ";
_Lg3 += _Mg3._021.toString() + " ";
_Lg3 += _Mg3._9f1.toString() + " ";
_Lg3 += _Mg3._121.toString() + " ";
_Lg3 += _Mg3._221.toString() + " ";
_Lg3 += _Mg3._af1.toString() + " ";
_Lg3 += (_Mg3._fl1 ? 1.0 : 0.0).toString() + " ";
_Lg3 += (_Mg3._gl1 ? 1.0 : 0.0).toString() + " ";
_Lg3 += "0.0 0.0\n";
break;
case _Fg3:
_Lg3 += _Mg3.__11.toString() + " ";
_Lg3 += _Mg3._021.toString() + " ";
_Lg3 += _Mg3._9f1.toString() + " ";
_Lg3 += _Mg3._121.toString() + " ";
_Lg3 += _Mg3._221.toString() + " ";
_Lg3 += _Mg3._af1.toString() + " ";
_Lg3 += (_Mg3._fl1 ? 1.0 : 0.0).toString() + " ";
_Lg3 += (_Mg3._gl1 ? 1.0 : 0.0).toString() + " ";
_Lg3 += (_Mg3._ef1 * 1.0).toString() + " ";
_Lg3 += "0.0\n";
break;
case _Dg3:
case _Eg3:
_Lg3 += _Mg3.__11.toString() + " ";
_Lg3 += _Mg3._021.toString() + " ";
_Lg3 += _Mg3._9f1.toString() + " ";
_Lg3 += _Mg3._121.toString() + " ";
_Lg3 += _Mg3._221.toString() + " ";
_Lg3 += _Mg3._af1.toString() + " ";
_Lg3 += (_Mg3._fl1 ? 1.0 : 0.0).toString() + " ";
_Lg3 += (_Mg3._gl1 ? 1.0 : 0.0).toString() + " ";
_Lg3 += (_Mg3._B2 ? 1.0 : 0.0).toString() + " ";
_Lg3 += (_Mg3._ef1 * 1.0).toString() + " ";
_Lg3 += "\n";
break;
}
}
return _Lg3;
};
_Kl1.prototype._Ll1 = function (_Jp1) {
if (_Tp1 === true) {
var _Pg3 = this._Kg3();
var _Qg3 = _Np1(_Jp1);
_Pp1(_Qg3, _Pg3);
_xr(_Qg3);
} else {
debug("d3d_model_save() browser does not support local storage\n");
}
};
_Kl1.prototype._Rg3 = function (_Sg3) {
var _Tg3 = "";
var _9N2 = false;
for (var _X9 = 0; _X9 < _Sg3.length; _X9++) {
var _Ug3 = _Sg3.charAt(_X9);
if (_Ug3 == " ") {
if (!_9N2) {
_Tg3 = _Tg3 + _Ug3;
}
_9N2 = true;
} else {
_9N2 = false;
_Tg3 = _Tg3 + _Ug3;
}
}
return _Tg3;
};
_Kl1.prototype._Vg3 = function (_Wg3) {
var _Xg3 = _Wg3.split("\n");
var version = parseInt(_Xg3[0]);
if (version == 100) {
var _Yg3 = parseInt(_Xg3[1]);
for (var _X9 = 2; _X9 < _Xg3.length; _X9++) {
var _Mg3 = {};
var _Zg3 = this._Rg3(_Xg3[_X9]);
var __g3 = _Zg3.split(" ");
_Mg3._Ng3 = parseInt(__g3[0]);
switch (_Mg3._Ng3) {
case _tg3:
break;
case _sg3: {
_Mg3._Og3 = parseInt(__g3[1]);
break;
}
case _ug3: {
_Mg3.x = parseFloat(__g3[1]);
_Mg3.y = parseFloat(__g3[2]);
_Mg3._L61 = parseFloat(__g3[3]);
break;
}
case _vg3: {
_Mg3.x = parseFloat(__g3[1]);
_Mg3.y = parseFloat(__g3[2]);
_Mg3._L61 = parseFloat(__g3[3]);
_Mg3.color = parseInt(__g3[4]);
_Mg3.alpha = parseFloat(__g3[5]);
break;
}
case _wg3: {
_Mg3.x = parseFloat(__g3[1]);
_Mg3.y = parseFloat(__g3[2]);
_Mg3._L61 = parseFloat(__g3[3]);
_Mg3._P41 = parseFloat(__g3[4]);
_Mg3._J41 = parseFloat(__g3[5]);
break;
}
case _xg3: {
_Mg3.x = parseFloat(__g3[1]);
_Mg3.y = parseFloat(__g3[2]);
_Mg3._L61 = parseFloat(__g3[3]);
_Mg3._P41 = parseFloat(__g3[4]);
_Mg3._J41 = parseFloat(__g3[5]);
_Mg3.color = parseInt(__g3[6]);
_Mg3.alpha = parseFloat(__g3[7]);
break;
}
case _yg3: {
_Mg3.x = parseFloat(__g3[1]);
_Mg3.y = parseFloat(__g3[2]);
_Mg3._L61 = parseFloat(__g3[3]);
_Mg3._S61 = parseFloat(__g3[4]);
_Mg3._T61 = parseFloat(__g3[5]);
_Mg3._U61 = parseFloat(__g3[6]);
break;
}
case _zg3: {
_Mg3.x = parseFloat(__g3[1]);
_Mg3.y = parseFloat(__g3[2]);
_Mg3._L61 = parseFloat(__g3[3]);
_Mg3._S61 = parseFloat(__g3[4]);
_Mg3._T61 = parseFloat(__g3[5]);
_Mg3._U61 = parseFloat(__g3[6]);
_Mg3.color = parseInt(__g3[7]);
_Mg3.alpha = parseFloat(__g3[8]);
break;
}
case _Ag3: {
_Mg3.x = parseFloat(__g3[1]);
_Mg3.y = parseFloat(__g3[2]);
_Mg3._L61 = parseFloat(__g3[3]);
_Mg3._S61 = parseFloat(__g3[4]);
_Mg3._T61 = parseFloat(__g3[5]);
_Mg3._U61 = parseFloat(__g3[6]);
_Mg3._P41 = parseFloat(__g3[7]);
_Mg3._J41 = parseFloat(__g3[8]);
break;
}
case _Bg3: {
_Mg3.x = parseFloat(__g3[1]);
_Mg3.y = parseFloat(__g3[2]);
_Mg3._L61 = parseFloat(__g3[3]);
_Mg3._S61 = parseFloat(__g3[4]);
_Mg3._T61 = parseFloat(__g3[5]);
_Mg3._U61 = parseFloat(__g3[6]);
_Mg3._P41 = parseFloat(__g3[7]);
_Mg3._J41 = parseFloat(__g3[8]);
_Mg3.color = parseInt(__g3[9]);
_Mg3.alpha = parseFloat(__g3[10]);
break;
}
case _Cg3:
case _Gg3:
case _Hg3: {
_Mg3.__11 = parseFloat(__g3[1]);
_Mg3._021 = parseFloat(__g3[2]);
_Mg3._9f1 = parseFloat(__g3[3]);
_Mg3._121 = parseFloat(__g3[4]);
_Mg3._221 = parseFloat(__g3[5]);
_Mg3._af1 = parseFloat(__g3[6]);
_Mg3._fl1 = parseFloat(__g3[7]) >= 0.5 ? true : false;
_Mg3._gl1 = parseFloat(__g3[8]) >= 0.5 ? true : false;
break;
}
case _Fg3: {
_Mg3.__11 = parseFloat(__g3[1]);
_Mg3._021 = parseFloat(__g3[2]);
_Mg3._9f1 = parseFloat(__g3[3]);
_Mg3._121 = parseFloat(__g3[4]);
_Mg3._221 = parseFloat(__g3[5]);
_Mg3._af1 = parseFloat(__g3[6]);
_Mg3._fl1 = parseFloat(__g3[7]) >= 0.5 ? true : false;
_Mg3._gl1 = parseFloat(__g3[8]) >= 0.5 ? true : false;
_Mg3._ef1 = ~~parseFloat(__g3[9]);
break;
}
case _Dg3:
case _Eg3: {
_Mg3.__11 = parseFloat(__g3[1]);
_Mg3._021 = parseFloat(__g3[2]);
_Mg3._9f1 = parseFloat(__g3[3]);
_Mg3._121 = parseFloat(__g3[4]);
_Mg3._221 = parseFloat(__g3[5]);
_Mg3._af1 = parseFloat(__g3[6]);
_Mg3._fl1 = parseFloat(__g3[7]) >= 0.5 ? true : false;
_Mg3._gl1 = parseFloat(__g3[8]) >= 0.5 ? true : false;
_Mg3._B2 = parseFloat(__g3[9]) >= 0.5 ? true : false;
_Mg3._ef1 = ~~parseFloat(__g3[10]);
break;
}
}
this._Ig3.push(_Mg3);
}
}
};
_Kl1.prototype._h31 = function (_Jp1) {
var _Kp1 = _7d1(_Jp1, true);
if (_Kp1 !== null && _Kp1 !== undefined) {
this._Vg3(_Kp1);
} else {
var _nf1 = _5I1(_Jp1);
var _r31 = this;
var _0h3 = new XMLHttpRequest();
_0h3.open("GET", _nf1, false);
_0h3.onload = function () {
if (_0h3.readyState == 4 && _0h3.status == 200) {
_r31._Vg3(_0h3.responseText);
}
};
_0h3.send(null);
}
};
_Kl1.prototype._z81 = function (_e2) {
this._Ig3.push({ _Ng3: _sg3, _Og3: _e2 });
};
_Kl1.prototype._B81 = function () {
this._Ig3.push({ _Ng3: _tg3 });
};
_Kl1.prototype._M9 = function (x, y, _L61) {
this._Ig3.push({ _Ng3: _ug3, x: x, y: y, _L61: _L61 });
};
_Kl1.prototype._Nl1 = function (x, y, _L61, _L31, alpha) {
this._Ig3.push({ _Ng3: _vg3, x: x, y: y, _L61: _L61, color: _L31, alpha: alpha });
};
_Kl1.prototype._Ol1 = function (x, y, _L61, _D61, _E61) {
this._Ig3.push({ _Ng3: _wg3, x: x, y: y, _L61: _L61, _P41: _D61, _J41: _E61 });
};
_Kl1.prototype._Pl1 = function (x, y, _L61, _D61, _E61, _L31, alpha) {
this._Ig3.push({ _Ng3: _xg3, x: x, y: y, _L61: _L61, _P41: _D61, _J41: _E61, color: _L31, alpha: alpha });
};
_Kl1.prototype._Ql1 = function (x, y, _L61, _S61, _T61, _U61) {
this._Ig3.push({ _Ng3: _yg3, x: x, y: y, _L61: _L61, _S61: _S61, _T61: _T61, _U61: _U61 });
};
_Kl1.prototype._Rl1 = function (x, y, _L61, _S61, _T61, _U61, _L31, alpha) {
this._Ig3.push({ _Ng3: _zg3, x: x, y: y, _L61: _L61, _S61: _S61, _T61: _T61, _U61: _U61, color: _L31, alpha: alpha });
};
_Kl1.prototype._Sl1 = function (x, y, _L61, _S61, _T61, _U61, _D61, _E61) {
this._Ig3.push({ _Ng3: _Ag3, x: x, y: y, _L61: _L61, _S61: _S61, _T61: _T61, _U61: _U61, _P41: _D61, _J41: _E61 });
};
_Kl1.prototype._Tl1 = function (x, y, _L61, _S61, _T61, _U61, _D61, _E61, _L31, alpha) {
this._Ig3.push({ _Ng3: _Bg3, x: x, y: y, _L61: _L61, _S61: _S61, _T61: _T61, _U61: _U61, _P41: _D61, _J41: _E61, color: _L31, alpha: alpha });
};
_Kl1.prototype._Ul1 = function (__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1) {
this._Ig3.push({ _Ng3: _Cg3, __11: __11, _021: _021, _9f1: _9f1, _121: _121, _221: _221, _af1: _af1, _fl1: _bf1, _gl1: _cf1 });
};
_Kl1.prototype._Vl1 = function (__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _B2, _ef1) {
this._Ig3.push({ _Ng3: _Dg3, __11: __11, _021: _021, _9f1: _9f1, _121: _121, _221: _221, _af1: _af1, _fl1: _bf1, _gl1: _cf1, _B2: _B2, _ef1: _ef1 });
};
_Kl1.prototype._Wl1 = function (__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _B2, _ef1) {
this._Ig3.push({ _Ng3: _Eg3, __11: __11, _021: _021, _9f1: _9f1, _121: _121, _221: _221, _af1: _af1, _fl1: _bf1, _gl1: _cf1, _B2: _B2, _ef1: _ef1 });
};
_Kl1.prototype._Xl1 = function (__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1, _ef1) {
this._Ig3.push({ _Ng3: _Fg3, __11: __11, _021: _021, _9f1: _9f1, _121: _121, _221: _221, _af1: _af1, _fl1: _bf1, _gl1: _cf1, _ef1: _ef1 });
};
_Kl1.prototype._Yl1 = function (__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1) {
this._Ig3.push({ _Ng3: _Gg3, __11: __11, _021: _021, _9f1: _9f1, _121: _121, _221: _221, _af1: _af1, _fl1: _bf1, _gl1: _cf1 });
};
_Kl1.prototype._Zl1 = function (__11, _021, _9f1, _121, _221, _af1, _bf1, _cf1) {
this._Ig3.push({ _Ng3: _Hg3, __11: __11, _021: _021, _9f1: _9f1, _121: _121, _221: _221, _af1: _af1, _fl1: _bf1, _gl1: _cf1 });
};
_Kl1.prototype._1h3 = function () {
this._2h3 = new _G71(_H71, _131._I71(_131._W71), false);
this._2h3._Og3 = -1;
this._2h3._3h3 = null;
};
_Kl1.prototype._4h3 = function (_w71) {
switch (_w71) {
case _571:
case _671:
case _871:
return true;
}
return false;
};
_Kl1.prototype._5h3 = function (_6h3) {
var _7h3 = this._2h3;
if (_7h3._Og3 != -1 && (_171 != _7h3._Og3 || _271 != _7h3._3h3 || this._4h3(_7h3._Og3) === false)) {
_7h3._291();
_6h3.push({ _Og3: _v71(_7h3._Og3), _3h3: _7h3._3h3, _8h3: _7h3 });
this._1h3();
_7h3 = this._2h3;
}
_7h3._px2(_471);
_7h3._Og3 = _171;
_7h3._3h3 = _271;
_C71();
};
_Kl1.prototype._9h3 = function (_6h3) {
var _7h3 = this._2h3;
_7h3._291();
_6h3.push({ _Og3: _v71(_7h3._Og3), _3h3: _7h3._3h3, _8h3: _7h3 });
_C71();
};
_Kl1.prototype._I62 = function (_Mg3, _v31, _6h3) {
var _ah3 = __61;
var _r31 = this;
__61 = function () {
_r31._5h3(_6h3);
};
switch (_Mg3._Ng3) {
case _Cg3:
_ff1(_Mg3.__11, _Mg3._021, _Mg3._9f1, _Mg3._121, _Mg3._221, _Mg3._af1, _v31, _Mg3._fl1, _Mg3._gl1);
break;
case _Dg3:
_gf1(_Mg3.__11, _Mg3._021, _Mg3._9f1, _Mg3._121, _Mg3._221, _Mg3._af1, _v31, _Mg3._fl1, _Mg3._gl1, _Mg3._B2, _Mg3._ef1);
break;
case _Eg3:
_hf1(_Mg3.__11, _Mg3._021, _Mg3._9f1, _Mg3._121, _Mg3._221, _Mg3._af1, _v31, _Mg3._fl1, _Mg3._gl1, _Mg3._B2, _Mg3._ef1);
break;
case _Fg3:
_df1(_Mg3.__11, _Mg3._021, _Mg3._9f1, _Mg3._121, _Mg3._221, _Mg3._af1, _v31, _Mg3._fl1, _Mg3._gl1, _Mg3._ef1);
break;
case _Gg3:
_if1(_Mg3.__11, _Mg3._021, _Mg3._9f1, _Mg3._121, _Mg3._221, _Mg3._af1, _v31, _Mg3._fl1, _Mg3._gl1);
break;
case _Hg3:
_8f1(_Mg3.__11, _Mg3._021, _Mg3._9f1, _Mg3._121, _Mg3._221, _Mg3._af1, _v31, _Mg3._fl1, _Mg3._gl1);
break;
}
__61 = _ah3;
};
_Kl1.prototype._O31 = function (x, y, _L61, _v31) {
var _X9,
_7m1 = new _Fk1();
_7m1._1m1(x, y, _L61);
var _8m1 = _9m1(_0m1);
var _Z11 = new _Fk1();
_Z11.Multiply(_7m1, _8m1);
__l1(_0m1, _Z11);
var _If = ((_K71 * 255.0) << 24) | (_L71 & 0x00ffffff);
var _bh3 = this._Jg3[_If];
if (_bh3 === undefined) {
_bh3 = [];
this._Jg3[_If] = _bh3;
}
if (_bh3[_v31] === undefined) {
_bh3[_v31] = [];
var _c31 = _bh3[_v31];
this._1h3();
for (var _X9 = 0; _X9 < this._Ig3.length; _X9++) {
var _Mg3 = this._Ig3[_X9];
switch (_Mg3._Ng3) {
case _sg3:
_J61(_Mg3._Og3, _v31);
break;
case _tg3:
this._5h3(_c31);
break;
case _ug3:
_K61(_Mg3.x, _Mg3.y, _Mg3._L61);
break;
case _vg3:
_M61(_Mg3.x, _Mg3.y, _Mg3._L61, _Mg3.color, _Mg3.alpha);
break;
case _wg3:
_O61(_Mg3.x, _Mg3.y, _Mg3._L61, _Mg3._P41, _Mg3._J41);
break;
case _xg3:
_P61(_Mg3.x, _Mg3.y, _Mg3._L61, _Mg3._P41, _Mg3._J41, _Mg3.color, _Mg3.alpha);
break;
case _yg3:
_R61(_Mg3.x, _Mg3.y, _Mg3._L61, _Mg3._S61, _Mg3._T61, _Mg3._U61);
break;
case _zg3:
_V61(_Mg3.x, _Mg3.y, _Mg3._L61, _Mg3._S61, _Mg3._T61, _Mg3._U61, _Mg3.color, _Mg3.alpha);
break;
case _Ag3:
_X61(_Mg3.x, _Mg3.y, _Mg3._L61, _Mg3._S61, _Mg3._T61, _Mg3._U61, _Mg3._P41, _Mg3._J41);
break;
case _Bg3:
_Y61(_Mg3.x, _Mg3.y, _Mg3._L61, _Mg3._S61, _Mg3._T61, _Mg3._U61, _Mg3._P41, _Mg3._J41, _Mg3.color, _Mg3.alpha);
break;
case _Cg3:
case _Dg3:
case _Eg3:
case _Fg3:
case _Gg3:
case _Hg3:
this._I62(_Mg3, _v31, _c31);
break;
}
}
this._9h3(_c31);
this._2h3 = null;
}
var _ch3 = _bh3[_v31];
for (_X9 = 0; _X9 < _ch3.length; _X9++) {
var _dh3 = _ch3[_X9];
var _V71 = _dh3._3h3 ? _dh3._3h3._o51 : null;
_131._991(_dh3._Og3, _V71, _dh3._8h3, 0);
}
__l1(_0m1, _8m1);
};
/*@constructor */ function _VE1(_eh3) {
var _tc1 = arguments;
var _uc1 = arguments.length;
this._xc1 = [];
this._2R1 = [];
this.length = 0;
this._d31 = 0;
if (_uc1 > 0) {
for (var _X9 = 0; _X9 < _uc1; _X9++) {
this._xc1[_X9] = null;
this._2R1.push(_X9);
}
}
}
_VE1.prototype._Ec3 = function () {
var _W11;
if (this._2R1.length === 0) {
_W11 = this._xc1.length;
this._xc1[_W11] = null;
return _W11;
}
return this._2R1.pop();
};
_VE1.prototype._Da1 = function (_fh3) {
var index = this._Ec3();
this._xc1[index] = _fh3;
this._d31++;
this.length = this._xc1.length;
return index;
};
_VE1.prototype._s11 = function (_HB1) {
var _Qc1 = this._xc1[_HB1];
if (_Qc1 === undefined) _Qc1 = null;
return _Qc1;
};
_VE1.prototype._yz1 = function (_gh3) {
for (var _921 = 0; _921 < this._xc1.length; _921++) {
if (this._xc1[_921] == _gh3) return _921;
}
return -1;
};
_VE1.prototype._ey1 = function (_gh3) {
var index = this._yz1(_gh3);
if (index < 0) return;
this._xc1[index] = null;
this._2R1.push(index);
this._d31--;
};
_VE1.prototype._nc1 = function (_HB1) {
if (_HB1 < 0 || _HB1 >= this._xc1.length) return;
this._xc1[_HB1] = null;
this._2R1.push(_HB1);
this._d31--;
};
_VE1.prototype._Ua1 = function () {
this._xc1 = [];
this._2R1 = [];
this._d31 = 0;
this.length = this._xc1.length;
};
_VE1.prototype._sc1 = function (_G31, _M01) {
if (_G31 < 0 || _G31 >= this._xc1.length) return;
this._xc1[_G31] = _M01;
};
var _hh3 = 0,
_ih3 = 1,
_jh3 = 2,
_kh3 = 3,
_lh3 = 4,
_nv1 = 5,
_jp1 = 6,
_mh3 = 7,
_TC1 = 8,
_nh3 = 9,
_Ea1 = 10,
_oh3 = 0,
_dp1 = 1,
_hp1 = -1,
_Lv1 = 0,
_ph3 = 1,
_ov1 = -1;
var _qh3 = [];
var _rh3 = [];
function _sh3(_Lc1, _7s2) {
_qh3.push(_Lc1);
_rh3.push(_7s2);
}
function _cp1(_Lc1) {
var _X9 = 0;
for (_X9 = 0; _X9 < _qh3.length; _X9++) {
if (_qh3[_X9] == _Lc1) {
var _Ba1 = _rh3[_X9];
_rh3.splice(_X9, 1);
_qh3.splice(_X9, 1);
return _Ba1;
}
}
return undefined;
}
/*@constructor */ function _th3() {
this._uh3 = "";
this._vh3 = -1;
this._Ha1 = 0;
this._fd1 = null;
this._wh3 = _hh3;
this._Ia1 = false;
}
/*@constructor */ function _ld3() {
this._xc1 = new _VE1(5);
}
_ld3.prototype._jC1 = function () {
return this._xc1;
};
_ld3.prototype._Da1 = function (_Ub1, _Yc1, _l81, _xh3) {
var _Ba1 = new _th3();
_Ba1._vh3 = _Ub1;
_Ba1._uh3 = _Yc1;
_Ba1._fd1 = _xh3;
_Ba1._wh3 = _l81;
this._xc1._Da1(_Ba1);
_sh3(_xh3, _Ba1);
return _Ba1;
};
_ld3.prototype._yh3 = function () {
var map = _Dq();
_rn._mI1 = map;
var _xc1 = this._xc1._xc1;
for (var _X9 = 0; _X9 < _xc1.length; _X9++) {
var _Ba1 = _xc1[_X9];
if (_Ba1 !== null) {
if (_Ba1._Ia1) {
_Aq(map);
if (_Ba1._wh3 == _TC1) {
var _fw1 = _Ba1._fd1;
for (var prop in _fw1) {
if (_fw1.hasOwnProperty(prop)) {
_lu(map, prop, _fw1[prop]);
}
}
} else if (_Ba1._wh3 == _mh3) {
_lu(map, "filename", _Ba1._uh3);
_lu(map, "url", _Ba1._uh3);
} else if (_Ba1._wh3 == _nv1) {
_lu(map, "filename", "");
_lu(map, "url", _Ba1._uh3);
_lu(map, "result", _Ba1._pv1);
_lu(map, "http_status", _Ba1._fv1);
_lu(map, "response_headers", _Ba1._gv1);
} else if (_Ba1._wh3 == _jp1) {
_lu(map, "username", _Ba1._9p1);
_lu(map, "password", _Ba1._ap1);
_lu(map, "url", "");
_lu(map, "result", _Ba1.result);
_lu(map, "value", _Ba1.value);
_lu(map, "http_status", 0);
} else if (_Ba1._wh3 == _nh3) {
_lu(map, "queue_id", _Ba1._MI1);
_lu(map, "buffer_id", _Ba1._zh3);
_lu(map, "queue_shutdown", _Ba1._Ah3);
} else if (_Ba1._wh3 == _Ea1) {
_lu(map, "event_type", _Ba1._Fa1);
_lu(map, "pad_index", _Ba1._Ga1);
} else {
_lu(map, "url", "");
_lu(map, "result", "");
_lu(map, "http_status", 0);
_lu(map, "filename", _Ba1._uh3);
}
if (_Ba1._wh3 != _TC1) {
_lu(map, "id", _Ba1._vh3);
_lu(map, "status", _Ba1._Ha1);
}
if (_Ba1._wh3 == _ih3) _o01._p01(_v23, 0);
else if (_Ba1._wh3 == _jh3) _o01._p01(_v23, 0);
else if (_Ba1._wh3 == _kh3) _o01._p01(_v23, 0);
else if (_Ba1._wh3 == _lh3) _o01._p01(_w23, 0);
else if (_Ba1._wh3 == _nv1) _o01._p01(_x23, 0);
else if (_Ba1._wh3 == _jp1) _o01._p01(_y23, 0);
else if (_Ba1._wh3 == _mh3) _o01._p01(_bK1, 0);
else if (_Ba1._wh3 == _TC1) _o01._p01(_z23, 0);
else if (_Ba1._wh3 == _nh3) _o01._p01(_M23, 0);
else if (_Ba1._wh3 == _Ea1) _o01._p01(_nI1, 0);
this._xc1._nc1(_X9);
if (_Ba1._wh3 == _nv1) {
_Tm(_Ba1._gv1);
}
if (_Ba1._wh3 == _TC1 && _Ba1._fd1.type == _zC1) {
_ac1(_Ba1._fd1.buffer);
}
}
}
}
_Tm(map);
_rn._mI1 = -1;
};
/*@constructor */ function _ae1() {
this.__type = "[Background]";
this._d2 = "";
this._n2 = false;
this._o2 = false;
this.preload = false;
this.__d1 = null;
this._Bh3 = 0;
this._Ch3 = 0;
this._Dh3 = 0;
this._Eh3 = 0;
this._Fh3 = 0;
this.frames = 0;
this._Gh3 = 0;
this._Rz1 = 0;
this._Hh3 = [];
}
function _Ih3(_Jh3) {
var _UK1 = new _ae1();
_UK1._d2 = _Jh3._d2;
if (_Jh3._n2 != undefined) _UK1._n2 = _Jh3._n2;
if (_Jh3._o2 != undefined) _UK1._o2 = _Jh3._o2;
if (_Jh3.preload != undefined) _UK1.preload = _Jh3.preload;
_UK1.__d1 = _Kh3(_Jh3._t2);
if (_Jh3._Bh3 != undefined) _UK1._Bh3 = _Jh3._Bh3;
if (_Jh3._Ch3 != undefined) _UK1._Ch3 = _Jh3._Ch3;
if (_Jh3._Dh3 != undefined) _UK1._Dh3 = _Jh3._Dh3;
if (_Jh3._Eh3 != undefined) _UK1._Eh3 = _Jh3._Eh3;
if (_Jh3._Fh3 != undefined) _UK1._Fh3 = _Jh3._Fh3;
if (_Jh3.frames != undefined) _UK1.frames = _Jh3.frames;
if (_Jh3._Gh3 != undefined) _UK1._Gh3 = _Jh3._Gh3;
if (_Jh3._Rz1 != undefined) _UK1._Rz1 = _Jh3._Rz1;
for (var _X9 = 0; _X9 < _Jh3.frames * _Jh3._Gh3; _X9++) {
if (_Jh3._Hh3[_X9] != undefined) _UK1._Hh3[_X9] = _Jh3._Hh3[_X9];
}
return _UK1;
}
/*@constructor */ function _Lh3(_Jh3) {
this._Ua1();
if (_Jh3._4a != undefined) this._4a = _Jh3._4a;
if (_Jh3._1x1 != undefined) this._1x1 = _Jh3._1x1;
if (_Jh3.index != undefined) this.index = _Jh3.index;
if (_Jh3.x != undefined) this.x = _Jh3.x;
if (_Jh3.y != undefined) this.y = _Jh3.y;
if (_Jh3._2x1 != undefined) this._Mh3 = _Jh3._2x1;
if (_Jh3._3x1 != undefined) this._Nh3 = _Jh3._3x1;
if (_Jh3._Yf != undefined) this._Oh3 = _Jh3._Yf;
if (_Jh3._Zf != undefined) this._Ph3 = _Jh3._Zf;
if (_Jh3._6x1 != undefined) this._6x1 = _Jh3._6x1;
if (_Jh3.alpha != undefined) this.alpha = _Jh3.alpha;
if (_Jh3._7x1 != undefined) this._7x1 = _Jh3._7x1;
if (_Jh3._Bh3 != undefined) this._Bh3 = _Jh3._Bh3;
if (_Jh3._Ch3 != undefined) this._Ch3 = _Jh3._Ch3;
if (_Jh3._Dh3 != undefined) this._Dh3 = _Jh3._Dh3;
if (_Jh3._Eh3 != undefined) this._Eh3 = _Jh3._Eh3;
if (_Jh3._Fh3 != undefined) this._Fh3 = _Jh3._Fh3;
if (_Jh3.frames != undefined) this.frames = _Jh3.frames;
if (_Jh3._Gh3 != undefined) this._Gh3 = _Jh3._Gh3;
if (_Jh3._Qh3 != undefined) this._Qh3 = _Jh3._Qh3;
if (_Jh3._Rh3 != undefined) this._Rh3 = _Jh3._Rh3;
}
_Lh3.prototype._Ua1 = function () {
this._4a = false;
this._1x1 = false;
this.index = -1;
this.x = 0;
this.y = 0;
this._Mh3 = true;
this._Nh3 = true;
this._Oh3 = 0;
this._Ph3 = 0;
this._4x1 = 1;
this._5x1 = 1;
this._6x1 = false;
this.alpha = 1.0;
this._7x1 = 0xffffff;
};
/*@constructor */ function _gd3() {
this.images = [];
this._Vd1 = [];
}
_gd3.prototype._Xd1 = function (_G31) {
return this.images[_G31];
};
_gd3.prototype._s11 = function (_G31) {
return this._Vd1[_G31];
};
_gd3.prototype._Ua1 = function () {
this._Vd1 = [];
};
_gd3.prototype._pe3 = function (_Jh3) {
var _Zd1 = null;
if (_Jh3 != null) {
_Zd1 = _Ih3(_Jh3);
}
return this._de1(_Zd1);
};
_gd3.prototype._de1 = function (_Sh3) {
var _X9 = this.images.length;
this.images[_X9] = _Sh3;
return _X9;
};
_gd3.prototype._Da1 = function (_Jh3) {
var _Zd1 = null;
if (_Jh3 != null) {
_Zd1 = new _Lh3(_Jh3);
}
this._Vd1[this._Vd1.length] = _Zd1;
};
var _Th3 = -1,
_Uh3 = -2,
_Vh3 = -3,
_Wh3 = -4,
_Xh3 = -5;
var _XC1 = 0,
_4c1 = 1,
_Yh3 = 2,
_Zh3 = 3,
__h3 = 4;
var _0i3 = 0,
_1i3 = 1,
_2i3 = 2,
_3i3 = 3,
_4i3 = 4,
_6c1 = 5,
_5G2 = 6,
_5i3 = 7,
_4G2 = 8,
_6i3 = 9,
_7i3 = 10,
_8i3 = 11,
_9i3 = 12,
_ai3 = 13;
var _gc1 = 0,
_bi3 = 1,
_ci3 = 2;
function _di3(data, _ei3, _fi3, _gi3, _hi3, _ii3) {
var _mr1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var _nr1, _or1, _pr1, _qr1, _rr1, _sr1, _tr1, _ur1;
var _X9 = 0;
var _vr1 = _gi3;
var _Cr1 = "";
var _ji3 = Math.floor(_ii3 / 3);
_X9 = _ji3 * 4;
var _ki3 = _ii3 % 3;
if (!data) {
return data;
}
data += "";
do {
_qr1 = _rr1 = _sr1 = _tr1 = -1;
while (_qr1 < 0) {
_qr1 = _mr1.indexOf(data.charAt(_X9++));
}
while (_rr1 < 0) {
_rr1 = _mr1.indexOf(data.charAt(_X9++));
}
while (_sr1 < 0) {
_sr1 = _mr1.indexOf(data.charAt(_X9++));
}
while (_tr1 < 0) {
_tr1 = _mr1.indexOf(data.charAt(_X9++));
}
var _li3 = (_qr1 << 2) | (_rr1 >> 4);
var _mi3 = ((_rr1 & 15) << 4) | (_sr1 >> 2);
var _ni3 = ((_sr1 & 3) << 6) | _tr1;
_fi3[_vr1++] = _li3;
if (_vr1 >= _ei3) return _fi3;
if (_sr1 != 64) {
_fi3[_vr1++] = _mi3;
if (_vr1 >= _ei3) return _fi3;
}
if (_tr1 != 64) {
_fi3[_vr1++] = _ni3;
if (_vr1 >= _ei3) return _fi3;
}
} while (_X9 < data.length);
var _oi3 = _vr1;
if (_hi3 && _oi3 < _ei3) {
_fi3[_oi3++] = "\0";
}
return _fi3;
}
function _pi3(_Ir1, length) {
var _qi3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var _Kr1 = "";
var _li3,
_mi3,
_ni3 = "";
var _ri3,
_si3,
_ti3,
_ui3 = "";
var _X9 = 0;
do {
_li3 = _Ir1.charCodeAt(_X9++);
_mi3 = _Ir1.charCodeAt(_X9++);
_ni3 = _Ir1.charCodeAt(_X9++);
_ri3 = _li3 >> 2;
_si3 = ((_li3 & 3) << 4) | (_mi3 >> 4);
_ti3 = ((_mi3 & 15) << 2) | (_ni3 >> 6);
_ui3 = _ni3 & 63;
if (isNaN(_mi3)) {
_ti3 = _ui3 = 64;
} else if (isNaN(_ni3)) {
_ui3 = 64;
}
_Kr1 = _Kr1 + _qi3.charAt(_ri3) + _qi3.charAt(_si3) + _qi3.charAt(_ti3) + _qi3.charAt(_ui3);
_li3 = _mi3 = _ni3 = "";
_ri3 = _si3 = _ti3 = _ui3 = "";
} while (_X9 < length);
return _Kr1;
}
function _Tr2(_781) {
var size = 1;
while (size <= 1024) {
if (_781 <= size) return size;
size = size << 1;
}
return 1024;
}
/*@constructor */ function _vi3(_781, _l81, _wi3, _xi3) {
_wi3 = _Tr2(_wi3 & 0x1ff);
this._yi3 = _781 + _wi3;
this._wh3 = _l81;
this._zi3 = _781;
this._Ai3 = _wi3;
this._Bi3 = 0;
this._1G2 = 0;
this._Ci3 = 0;
this.__C1 = new ArrayBuffer(_781);
this._Di3 = new DataView(this.__C1);
if (_xi3 != undefined && _xi3.length > 0) {
var _Ei3 = _c21(_xi3.length, _781);
this._Ci3 = _Ei3;
var _Fi3 = new Uint8Array(this.__C1);
for (var _X9 = 0; _X9 < _Ei3; _X9++) {
_Fi3[_X9] = _xi3[_X9];
}
}
}
_vi3.prototype._Gi3 = function (_ux2) {
var _Hi3 = new ArrayBuffer(_ux2);
var _Ii3 = new Uint8Array(this.__C1);
var _Ji3 = new Uint8Array(_Hi3);
if (this.__C1.byteLength > _ux2) {
for (var _X9 = 0; _X9 < _ux2; _X9++) {
_Ji3[_X9] = _Ii3[_X9];
}
} else {
_Ji3.set(_Ii3);
}
this.__C1 = _Hi3;
this._Di3 = new DataView(this.__C1);
this._zi3 = _ux2;
this._Ki3(-1);
};
_vi3.prototype._Ki3 = function (_781, _Li3) {
if (_781 == undefined) _781 = -1;
if (_Li3 == undefined) _Li3 = false;
var size = _781;
if (size == -1) size = this._1G2;
if (_Li3) {
this._Ci3 = size;
} else {
this._Ci3 = _a21(this._Ci3, size);
this._Ci3 = _c21(this._Ci3, this._zi3);
}
};
function _yr1(_Qp1) {
var _Oo1 = "";
for (var _X9 = 0; _X9 < _Qp1.length; _X9++) {
var _Mi3 = _Qp1.charCodeAt(_X9);
if (_Mi3 < 0x80) {
_Oo1 += String.fromCharCode(_Mi3 & 0x7f);
} else if (_Mi3 < 0x0800) {
_Oo1 += String.fromCharCode(((_Mi3 >> 6) & 0x1f) | 0xc0);
_Oo1 += String.fromCharCode((_Mi3 & 0x3f) | 0x80);
} else if (_Mi3 < 0x10000) {
_Oo1 += String.fromCharCode(((_Mi3 >> 12) & 0x0f) | 0xe0);
_Oo1 += String.fromCharCode(((_Mi3 >> 6) & 0x3f) | 0x80);
_Oo1 += String.fromCharCode((_Mi3 & 0x3f) | 0x80);
} else {
_Oo1 += String.fromCharCode(((_Mi3 >> 18) & 0x07) | 0xf0);
_Oo1 += String.fromCharCode(((_Mi3 >> 12) & 0x3f) | 0x80);
_Oo1 += String.fromCharCode(((_Mi3 >> 6) & 0x3f) | 0x80);
_Oo1 += String.fromCharCode((_Mi3 & 0x3f) | 0x80);
}
}
return _Oo1;
}
_vi3.prototype._Ni3 = function (_l81) {
this._1G2 = ((this._1G2 + this._Bi3 + (this._Ai3 - 1)) & ~(this._Ai3 - 1)) - this._Bi3;
if (this._1G2 >= this._zi3 && this._wh3 == _Yh3) {
while (this._1G2 >= this._zi3) {
this._Oi3();
this._1G2 -= this._zi3;
}
}
if (this._1G2 >= this._zi3) return _l81 == _8i3 ? "" : _Vh3;
var _m61;
switch (_l81) {
case _7i3:
_m61 = this._Di3.getUint8(this._1G2++);
if (_m61 == 1) {
_m61 = true;
} else {
_m61 = false;
}
break;
case _1i3:
{
_m61 = this._Di3.getUint8(this._1G2++);
}
break;
case _8i3:
case _ai3:
{
_m61 = "";
var _Br1;
var _Ar1 = 0;
while (this._1G2 < this._zi3) {
var _J41 = 0;
_Br1 = -1;
_Ar1 = this._Di3.getUint8(this._1G2++, true);
if ((_Ar1 & 0x80) == 0) {
_J41 = _Ar1;
} else if ((_Ar1 & 0xe0) == 0xc0) {
_J41 = (_Ar1 & 0x1f) << 6;
_Ar1 = this._Di3.getUint8(this._1G2++, true);
_J41 |= _Ar1 & 0x3f;
} else if ((_Ar1 & 0xf0) == 0xe0) {
_J41 = (_Ar1 & 0x0f) << 12;
_Ar1 = this._Di3.getUint8(this._1G2++, true);
_J41 |= (_Ar1 & 0x3f) << 6;
_Ar1 = this._Di3.getUint8(this._1G2++, true);
_J41 |= _Ar1 & 0x3f;
} else {
_J41 = (_Ar1 & 0x07) << 18;
_Ar1 = this._Di3.getUint8(this._1G2++, true);
_J41 |= (_Ar1 & 0x3f) << 12;
_Ar1 = this._Di3.getUint8(this._1G2++, true);
_J41 |= (_Ar1 & 0x3f) << 6;
_Ar1 = this._Di3.getUint8(this._1G2++, true);
_J41 |= _Ar1 & 0x3f;
_Br1 = String.fromCharCode((_J41 >> 10) + 0xd7c0) + String.fromCharCode((_J41 & 0x3ff) | 0xdc00);
}
if (_J41 == 0x00) break;
if (_Br1 < 0) _Br1 = String.fromCharCode(_J41);
_m61 += _Br1;
}
}
break;
case _2i3:
_m61 = this._Di3.getInt8(this._1G2++);
break;
case _3i3:
_m61 = this._Di3.getUint16(this._1G2, true);
this._1G2 += 2;
break;
case _4i3:
_m61 = this._Di3.getInt16(this._1G2, true);
this._1G2 += 2;
break;
case _5G2:
_m61 = this._Di3.getInt32(this._1G2, true);
this._1G2 += 4;
break;
case _6c1:
_m61 = this._Di3.getUint32(this._1G2, true);
this._1G2 += 4;
break;
case _4G2:
_m61 = this._Di3.getFloat32(this._1G2, true);
this._1G2 += 4;
break;
case _6i3:
_m61 = this._Di3.getFloat64(this._1G2, true);
this._1G2 += 8;
break;
case _9i3:
var _eL1 = this._Di3.getUint32(this._1G2, true);
this._1G2 += 4;
var _xL1 = this._Di3.getUint32(this._1G2, true);
this._1G2 += 4;
_m61 = new Long(_eL1, _xL1);
break;
}
return _m61;
};
_vi3.prototype._Oi3 = function () {
this._Bi3 = (this._Bi3 + this._zi3) % this._Ai3;
};
function _Pi3(_l81) {
var _Qi3 = 0;
switch (_l81) {
case _7i3:
case _1i3:
case _2i3:
_Qi3 = 1;
break;
case _3i3:
case _4i3:
_Qi3 = 2;
break;
case _5G2:
case _6c1:
case _4G2:
_Qi3 = 4;
break;
case _6i3:
case _9i3:
_Qi3 = 8;
break;
}
return _Qi3;
}
function _Ri3() {
this._X9 = new Uint32Array(2);
this._Si3 = new Uint32Array(4);
this._Ti3 = new Uint8Array(64);
this._Ui3 = new Uint8Array(16);
this._X9[0] = this._X9[1] = 0;
this._Si3[0] = this._Si3[1] = this._Si3[2] = this._Si3[3] = 0;
for (var _X9 = 0; _X9 < 64; _X9++) this._Ti3[_X9] = 0;
for (var _X9 = 0; _X9 < 16; _X9++) this._Ui3[_X9] = 0;
}
_Ri3.prototype._Vi3 = function () {
var _C21 = "0123456789abcdef";
var _Wo1 = "";
for (var __9 = 0; __9 < 16; __9++) {
var _e21 = this._Ui3[__9];
_Wo1 += _C21[(_e21 >> 4) & 0xf];
_Wo1 += _C21[_e21 & 0xf];
}
return _Wo1;
};
function _Wi3() {
var _Xi3 = new _Ri3();
_Xi3._X9[0] = _Xi3._X9[1] = 0;
_Xi3._Si3[0] = 0x67452301;
_Xi3._Si3[1] = 0xefcdab89;
_Xi3._Si3[2] = 0x98badcfe;
_Xi3._Si3[3] = 0x10325476;
return _Xi3;
}
var _Yi3 = new Uint32Array(16);
function _Zi3(x, y, _L61) {
_Yi3[0] = x;
_Yi3[1] = y;
_Yi3[2] = _L61;
return (_Yi3[0] & _Yi3[1]) | (~_Yi3[0] & _Yi3[2]);
}
function __i3(x, y, _L61) {
_Yi3[0] = x;
_Yi3[1] = y;
_Yi3[2] = _L61;
return (_Yi3[0] & _Yi3[2]) | (_Yi3[1] & ~_Yi3[2]);
}
function _0j3(x, y, _L61) {
_Yi3[0] = x;
_Yi3[1] = y;
_Yi3[2] = _L61;
return _Yi3[0] ^ _Yi3[1] ^ _Yi3[2];
}
function _1j3(x, y, _L61) {
_Yi3[0] = x;
_Yi3[1] = y;
_Yi3[2] = _L61;
return _Yi3[1] ^ (_Yi3[0] | ~_Yi3[2]);
}
var _2j3 = new Uint32Array(2);
function _3j3(x, _W11) {
_2j3[0] = x;
_2j3[1] = ((_2j3[0] << _W11) & 0xffffffff) | ((_2j3[0] >> (32 - _W11)) & ((1 << _W11) - 1));
return _2j3[1];
}
var _4j3 = new Uint32Array(7);
function _5j3(_l41, _e21, _Y9, _Ce1, x, _Wo1, _vr1) {
_4j3[0] = _l41;
_4j3[1] = _e21;
_4j3[2] = _Y9;
_4j3[3] = _Ce1;
_4j3[4] = x;
_4j3[5] = _Wo1;
_4j3[6] = _vr1;
_4j3[0] += _Zi3(_4j3[1], _4j3[2], _4j3[3]) + _4j3[4] + _4j3[6];
_4j3[0] = _3j3(_4j3[0], _4j3[5]);
_4j3[0] += _4j3[1];
return _4j3[0];
}
function _6j3(_l41, _e21, _Y9, _Ce1, x, _Wo1, _vr1) {
_4j3[0] = _l41;
_4j3[1] = _e21;
_4j3[2] = _Y9;
_4j3[3] = _Ce1;
_4j3[4] = x;
_4j3[5] = _Wo1;
_4j3[6] = _vr1;
_4j3[0] += __i3(_4j3[1], _4j3[2], _4j3[3]) + _4j3[4] + _4j3[6];
_4j3[0] = _3j3(_4j3[0], _4j3[5]);
_4j3[0] += _4j3[1];
return _4j3[0];
}
function _7j3(_l41, _e21, _Y9, _Ce1, x, _Wo1, _vr1) {
_4j3[0] = _l41;
_4j3[1] = _e21;
_4j3[2] = _Y9;
_4j3[3] = _Ce1;
_4j3[4] = x;
_4j3[5] = _Wo1;
_4j3[6] = _vr1;
_4j3[0] += _0j3(_4j3[1], _4j3[2], _4j3[3]) + _4j3[4] + _4j3[6];
_4j3[0] = _3j3(_4j3[0], _4j3[5]);
_4j3[0] += _4j3[1];
return _4j3[0];
}
function _8j3(_l41, _e21, _Y9, _Ce1, x, _Wo1, _vr1) {
_4j3[0] = _l41;
_4j3[1] = _e21;
_4j3[2] = _Y9;
_4j3[3] = _Ce1;
_4j3[4] = x;
_4j3[5] = _Wo1;
_4j3[6] = _vr1;
_4j3[0] += _1j3(_4j3[1], _4j3[2], _4j3[3]) + _4j3[4] + _4j3[6];
_4j3[0] = _3j3(_4j3[0], _4j3[5]);
_4j3[0] += _4j3[1];
return _4j3[0];
}
function _CB2(_9j3, _aj3) {
var _l41 = _9j3[0],
_e21 = _9j3[1],
_Y9 = _9j3[2],
_Ce1 = _9j3[3];
var _bj3 = 7;
var _cj3 = 12;
var _dj3 = 17;
var _ej3 = 22;
_l41 = _5j3(_l41, _e21, _Y9, _Ce1, _aj3[0], _bj3, 0xd76aa478);
_Ce1 = _5j3(_Ce1, _l41, _e21, _Y9, _aj3[1], _cj3, 0xe8c7b756);
_Y9 = _5j3(_Y9, _Ce1, _l41, _e21, _aj3[2], _dj3, 0x242070db);
_e21 = _5j3(_e21, _Y9, _Ce1, _l41, _aj3[3], _ej3, 0xc1bdceee);
_l41 = _5j3(_l41, _e21, _Y9, _Ce1, _aj3[4], _bj3, 0xf57c0faf);
_Ce1 = _5j3(_Ce1, _l41, _e21, _Y9, _aj3[5], _cj3, 0x4787c62a);
_Y9 = _5j3(_Y9, _Ce1, _l41, _e21, _aj3[6], _dj3, 0xa8304613);
_e21 = _5j3(_e21, _Y9, _Ce1, _l41, _aj3[7], _ej3, 0xfd469501);
_l41 = _5j3(_l41, _e21, _Y9, _Ce1, _aj3[8], _bj3, 0x698098d8);
_Ce1 = _5j3(_Ce1, _l41, _e21, _Y9, _aj3[9], _cj3, 0x8b44f7af);
_Y9 = _5j3(_Y9, _Ce1, _l41, _e21, _aj3[10], _dj3, 0xffff5bb1);
_e21 = _5j3(_e21, _Y9, _Ce1, _l41, _aj3[11], _ej3, 0x895cd7be);
_l41 = _5j3(_l41, _e21, _Y9, _Ce1, _aj3[12], _bj3, 0x6b901122);
_Ce1 = _5j3(_Ce1, _l41, _e21, _Y9, _aj3[13], _cj3, 0xfd987193);
_Y9 = _5j3(_Y9, _Ce1, _l41, _e21, _aj3[14], _dj3, 0xa679438e);
_e21 = _5j3(_e21, _Y9, _Ce1, _l41, _aj3[15], _ej3, 0x49b40821);
var _fj3 = 5;
var _gj3 = 9;
var _hj3 = 14;
var _ij3 = 20;
_l41 = _6j3(_l41, _e21, _Y9, _Ce1, _aj3[1], _fj3, 0xf61e2562);
_Ce1 = _6j3(_Ce1, _l41, _e21, _Y9, _aj3[6], _gj3, 0xc040b340);
_Y9 = _6j3(_Y9, _Ce1, _l41, _e21, _aj3[11], _hj3, 0x265e5a51);
_e21 = _6j3(_e21, _Y9, _Ce1, _l41, _aj3[0], _ij3, 0xe9b6c7aa);
_l41 = _6j3(_l41, _e21, _Y9, _Ce1, _aj3[5], _fj3, 0xd62f105d);
_Ce1 = _6j3(_Ce1, _l41, _e21, _Y9, _aj3[10], _gj3, 0x02441453);
_Y9 = _6j3(_Y9, _Ce1, _l41, _e21, _aj3[15], _hj3, 0xd8a1e681);
_e21 = _6j3(_e21, _Y9, _Ce1, _l41, _aj3[4], _ij3, 0xe7d3fbc8);
_l41 = _6j3(_l41, _e21, _Y9, _Ce1, _aj3[9], _fj3, 0x21e1cde6);
_Ce1 = _6j3(_Ce1, _l41, _e21, _Y9, _aj3[14], _gj3, 0xc33707d6);
_Y9 = _6j3(_Y9, _Ce1, _l41, _e21, _aj3[3], _hj3, 0xf4d50d87);
_e21 = _6j3(_e21, _Y9, _Ce1, _l41, _aj3[8], _ij3, 0x455a14ed);
_l41 = _6j3(_l41, _e21, _Y9, _Ce1, _aj3[13], _fj3, 0xa9e3e905);
_Ce1 = _6j3(_Ce1, _l41, _e21, _Y9, _aj3[2], _gj3, 0xfcefa3f8);
_Y9 = _6j3(_Y9, _Ce1, _l41, _e21, _aj3[7], _hj3, 0x676f02d9);
_e21 = _6j3(_e21, _Y9, _Ce1, _l41, _aj3[12], _ij3, 0x8d2a4c8a);
var _jj3 = 4;
var _kj3 = 11;
var _lj3 = 16;
var _mj3 = 23;
_l41 = _7j3(_l41, _e21, _Y9, _Ce1, _aj3[5], _jj3, 0xfffa3942);
_Ce1 = _7j3(_Ce1, _l41, _e21, _Y9, _aj3[8], _kj3, 0x8771f681);
_Y9 = _7j3(_Y9, _Ce1, _l41, _e21, _aj3[11], _lj3, 0x6d9d6122);
_e21 = _7j3(_e21, _Y9, _Ce1, _l41, _aj3[14], _mj3, 0xfde5380c);
_l41 = _7j3(_l41, _e21, _Y9, _Ce1, _aj3[1], _jj3, 0xa4beea44);
_Ce1 = _7j3(_Ce1, _l41, _e21, _Y9, _aj3[4], _kj3, 0x4bdecfa9);
_Y9 = _7j3(_Y9, _Ce1, _l41, _e21, _aj3[7], _lj3, 0xf6bb4b60);
_e21 = _7j3(_e21, _Y9, _Ce1, _l41, _aj3[10], _mj3, 0xbebfbc70);
_l41 = _7j3(_l41, _e21, _Y9, _Ce1, _aj3[13], _jj3, 0x289b7ec6);
_Ce1 = _7j3(_Ce1, _l41, _e21, _Y9, _aj3[0], _kj3, 0xeaa127fa);
_Y9 = _7j3(_Y9, _Ce1, _l41, _e21, _aj3[3], _lj3, 0xd4ef3085);
_e21 = _7j3(_e21, _Y9, _Ce1, _l41, _aj3[6], _mj3, 0x04881d05);
_l41 = _7j3(_l41, _e21, _Y9, _Ce1, _aj3[9], _jj3, 0xd9d4d039);
_Ce1 = _7j3(_Ce1, _l41, _e21, _Y9, _aj3[12], _kj3, 0xe6db99e5);
_Y9 = _7j3(_Y9, _Ce1, _l41, _e21, _aj3[15], _lj3, 0x1fa27cf8);
_e21 = _7j3(_e21, _Y9, _Ce1, _l41, _aj3[2], _mj3, 0xc4ac5665);
var _nj3 = 6;
var _oj3 = 10;
var _pj3 = 15;
var _qj3 = 21;
_l41 = _8j3(_l41, _e21, _Y9, _Ce1, _aj3[0], _nj3, 0xf4292244);
_Ce1 = _8j3(_Ce1, _l41, _e21, _Y9, _aj3[7], _oj3, 0x432aff97);
_Y9 = _8j3(_Y9, _Ce1, _l41, _e21, _aj3[14], _pj3, 0xab9423a7);
_e21 = _8j3(_e21, _Y9, _Ce1, _l41, _aj3[5], _qj3, 0xfc93a039);
_l41 = _8j3(_l41, _e21, _Y9, _Ce1, _aj3[12], _nj3, 0x655b59c3);
_Ce1 = _8j3(_Ce1, _l41, _e21, _Y9, _aj3[3], _oj3, 0x8f0ccc92);
_Y9 = _8j3(_Y9, _Ce1, _l41, _e21, _aj3[10], _pj3, 0xffeff47d);
_e21 = _8j3(_e21, _Y9, _Ce1, _l41, _aj3[1], _qj3, 0x85845dd1);
_l41 = _8j3(_l41, _e21, _Y9, _Ce1, _aj3[8], _nj3, 0x6fa87e4f);
_Ce1 = _8j3(_Ce1, _l41, _e21, _Y9, _aj3[15], _oj3, 0xfe2ce6e0);
_Y9 = _8j3(_Y9, _Ce1, _l41, _e21, _aj3[6], _pj3, 0xa3014314);
_e21 = _8j3(_e21, _Y9, _Ce1, _l41, _aj3[13], _qj3, 0x4e0811a1);
_l41 = _8j3(_l41, _e21, _Y9, _Ce1, _aj3[4], _nj3, 0xf7537e82);
_Ce1 = _8j3(_Ce1, _l41, _e21, _Y9, _aj3[11], _oj3, 0xbd3af235);
_Y9 = _8j3(_Y9, _Ce1, _l41, _e21, _aj3[2], _pj3, 0x2ad7d2bb);
_e21 = _8j3(_e21, _Y9, _Ce1, _l41, _aj3[9], _qj3, 0xeb86d391);
_9j3[0] += _l41;
_9j3[1] += _e21;
_9j3[2] += _Y9;
_9j3[3] += _Ce1;
}
function _rj3(_sj3, _tj3, _uj3, _vj3) {
var _aj3 = new Uint32Array(16);
var _wj3;
var _X9, _tJ2;
var _G31 = 0;
_wj3 = (_sj3._X9[0] >> 3) & 0x3f;
if (_sj3._X9[0] + ((_vj3 << 3) & 0xffffffff) < _sj3._X9[0]) {
_sj3._X9[1]++;
}
_sj3._X9[0] += (_vj3 << 3) & 0xffffffff;
_sj3._X9[1] += (_vj3 >> 29) & 0xffffffff;
while (_vj3--) {
_sj3._Ti3[_wj3++] = _tj3[_G31++];
if (_wj3 == 0x40) {
for (_X9 = 0, _tJ2 = 0; _X9 < 16; _X9++, _tJ2 += 4)
_aj3[_X9] = ((0xffffffff & _sj3._Ti3[_tJ2 + 3]) << 24) | ((0xffffffff & _sj3._Ti3[_tJ2 + 2]) << 16) | ((0xffffffff & _sj3._Ti3[_tJ2 + 1]) << 8) | (0xffffffff & _sj3._Ti3[_tJ2]);
_CB2(_sj3._Si3, _aj3);
_wj3 = 0;
}
}
}
var _xj3 = new Uint8Array(64);
function _yj3(_sj3) {
var _aj3 = new Uint32Array(16);
var _wj3;
var _X9, _tJ2;
var _zj3;
_aj3[14] = _sj3._X9[0];
_aj3[15] = _sj3._X9[1];
_wj3 = (_sj3._X9[0] >> 3) & 0x3f;
_zj3 = _wj3 < 56 ? 56 - _wj3 : 120 - _wj3;
_xj3[0] = 0x80;
_rj3(_sj3, _xj3, 0, _zj3);
for (_X9 = 0, _tJ2 = 0; _X9 < 14; _X9++, _tJ2 += 4) {
_aj3[_X9] = (~~_sj3._Ti3[_tJ2 + 3] << 24) | (~~_sj3._Ti3[_tJ2 + 2] << 16) | (~~_sj3._Ti3[_tJ2 + 1] << 8) | ~~_sj3._Ti3[_tJ2];
}
_CB2(_sj3._Si3, _aj3);
for (_X9 = 0, _tJ2 = 0; _X9 < 4; _X9++, _tJ2 += 4) {
_sj3._Ui3[_tJ2] = _sj3._Si3[_X9] & 0xff;
_sj3._Ui3[_tJ2 + 1] = (_sj3._Si3[_X9] >> 8) & 0xff;
_sj3._Ui3[_tJ2 + 2] = (_sj3._Si3[_X9] >> 16) & 0xff;
_sj3._Ui3[_tJ2 + 3] = (_sj3._Si3[_X9] >> 24) & 0xff;
}
}
function _Aj3(_Bj3, _781, _uj3) {
var _Xi3 = _Wi3();
var _Cj3 = _781;
while (_Cj3 > 0) {
var _Dj3 = _c21(_Cj3, _781 - _uj3);
_rj3(_Xi3, _Bj3, _uj3, _Dj3);
_uj3 = 0;
_Cj3 -= _Dj3;
}
_yj3(_Xi3);
return _Xi3._Vi3();
}
_vi3.prototype._Ej3 = function (_uj3, _781) {
if (this._zi3 == 0) return;
if (_781 < 0) _781 = this._zi3;
if (_781 == 0) return "";
if (this._wh3 == _Yh3) {
while (_uj3 < 0) _uj3 += this._zi3;
while (_uj3 >= this._zi3) _uj3 -= this._zi3;
} else {
if (_uj3 < 0) _uj3 = 0;
if (_uj3 >= this._zi3) _uj3 = this._zi3 - 1;
if (_uj3 + _781 > this._zi3) _781 = this._zi3 - _uj3;
}
if (_781 > this._zi3 - _uj3) {
return "";
} else {
var _Fj3 = new Uint8Array(this.__C1, _uj3, _781);
var _0U2 = "";
for (var _X9 = 0; _X9 < _781; _X9++) {
_0U2 += String.fromCharCode(_Fj3[_X9]);
}
return _pi3(_0U2, _781);
}
};
_vi3.prototype._3G2 = function (_l81, _kn1) {
var _Gj3;
var size = 0;
this._1G2 = ((this._1G2 + this._Bi3 + (this._Ai3 - 1)) & ~(this._Ai3 - 1)) - this._Bi3;
if (this._1G2 >= this._zi3 && this._wh3 == _Yh3) {
while (this._1G2 >= this._zi3) {
this._Oi3();
this._1G2 -= this._zi3;
}
}
if (this._1G2 >= this._zi3 && this._wh3 != _4c1) {
return _Uh3;
}
var _Qi3 = _Pi3(_l81);
if (_l81 === _8i3 || _l81 === _ai3) {
_Gj3 = _yr1(_kn1);
_Qi3 = _Gj3.length;
if (_l81 === _8i3) _Qi3++;
}
if (this._1G2 + _Qi3 > this._zi3) {
if (this._wh3 == _4c1) {
var _Hj3 = this._zi3;
var _ux2 = this._zi3;
while (this._1G2 + _Qi3 > _ux2) {
_ux2 = _ux2 << 1;
}
this._Gi3(_ux2);
} else {
if (this._wh3 != _Yh3) {
return _Uh3;
}
}
}
switch (_l81) {
case _7i3:
if (_kn1 == true) {
_kn1 = 1;
} else {
_kn1 = 0;
}
case _1i3:
{
this._Di3.setUint8(this._1G2, _kn1);
this._1G2++;
}
break;
case _8i3:
case _ai3:
{
for (var _X9 = 0; _X9 < _Gj3.length; _X9++) {
var _Mi3 = _Gj3.charCodeAt(_X9) & 0xff;
this._Di3.setUint8(this._1G2++, _Mi3, true);
}
if (_l81 === _8i3) {
this._Di3.setUint8(this._1G2++, 0, true);
}
}
break;
case _2i3:
this._Di3.setInt8(this._1G2, _kn1);
this._1G2++;
break;
case _3i3:
this._Di3.setUint16(this._1G2, _kn1, true);
this._1G2 += 2;
break;
case _4i3:
this._Di3.setInt16(this._1G2, _kn1, true);
this._1G2 += 2;
break;
case _5G2:
this._Di3.setInt32(this._1G2, _kn1, true);
this._1G2 += 4;
break;
case _6c1:
this._Di3.setUint32(this._1G2, _kn1, true);
this._1G2 += 4;
break;
case _4G2:
this._Di3.setFloat32(this._1G2, _kn1, true);
this._1G2 += 4;
break;
case _6i3:
this._Di3.setFloat64(this._1G2, _kn1, true);
this._1G2 += 8;
break;
case _9i3:
var _Ij3 = yyGetInt64(_kn1);
this._Di3.setUint32(this._1G2, _Ij3._eL1, true);
this._1G2 += 4;
this._Di3.setUint32(this._1G2, _Ij3._xL1, true);
this._1G2 += 4;
break;
}
this._Ki3(-1);
};
_vi3.prototype._Jj3 = function (_l81, _uj3) {
var size = _Pi3(_l81);
if (_uj3 < 0) return 0;
if (this._wh3 != _Yh3) {
if (_uj3 > this._zi3 - size) return 0;
} else {
while (_uj3 >= this._zi3) {
_uj3 -= this._zi3;
}
}
var _m61;
switch (_l81) {
case _7i3:
_m61 = this._Di3.getUint8(_uj3);
if (_m61 == 1) {
_m61 = true;
} else {
_m61 = false;
}
break;
case _1i3:
{
_m61 = this._Di3.getUint8(_uj3);
}
break;
case _2i3:
_m61 = this._Di3.getInt8(_uj3);
break;
case _3i3:
_m61 = this._Di3.getUint16(_uj3, true);
break;
case _4i3:
_m61 = this._Di3.getInt16(_uj3, true);
break;
case _5G2:
_m61 = this._Di3.getInt32(_uj3, true);
break;
case _6c1:
_m61 = this._Di3.getUint32(_uj3, true);
break;
case _4G2:
_m61 = this._Di3.getFloat32(_uj3, true);
break;
case _6i3:
_m61 = this._Di3.getFloat64(_uj3, true);
break;
case _9i3:
var _eL1 = this._Di3.getUint32(_uj3, true);
var _xL1 = this._Di3.getUint32(_uj3 + 4, true);
_m61 = new Long(_eL1, _xL1);
break;
}
return _m61;
};
_vi3.prototype._Kj3 = function (_l81, _uj3, _kn1) {
if (_uj3 < 0) return;
var size = _Pi3(_l81);
if (this._wh3 != _Yh3) {
if (_uj3 > this._zi3 - size) return 0;
} else {
while (_uj3 >= this._zi3) {
_uj3 -= this._zi3;
}
}
switch (_l81) {
case _7i3:
if (_kn1 == true) {
_kn1 = 1;
} else {
_kn1 = 0;
}
case _1i3:
this._Di3.setUint8(_uj3, _kn1);
this._Ki3(_uj3 + 1);
return;
break;
case _2i3:
this._Di3.setInt8(_uj3, _kn1);
this._Ki3(_uj3 + 1);
return;
break;
case _3i3:
this._Di3.setUint16(_uj3, _kn1, true);
break;
case _4i3:
this._Di3.setInt16(_uj3, _kn1, true);
break;
case _5G2:
this._Di3.setInt32(_uj3, _kn1, true);
break;
case _6c1:
this._Di3.setUint32(_uj3, _kn1, true);
break;
case _4G2:
this._Di3.setFloat32(_uj3, _kn1, true);
break;
case _6i3:
this._Di3.setFloat64(_uj3, _kn1, true);
break;
case _9i3:
var _Ij3 = yyGetInt64(_kn1);
this._Di3.setUint32(_uj3, _Ij3._eL1, true);
this._Di3.setUint32(_uj3 + 4, _Ij3._xL1, true);
break;
}
this._Ki3(_uj3 + size);
};
_vi3.prototype._6G2 = function (_Lj3, _uj3) {
switch (_Lj3) {
case _gc1:
if (_uj3 < 0) _uj3 = 0;
this._1G2 = _uj3;
break;
case _bi3:
this._1G2 += _uj3;
if (this._1G2 < 0) this._1G2 = 0;
break;
case _ci3:
this._1G2 = this._zi3 - _uj3;
if (this._1G2 > this._zi3) this._1G2 = this._zi3;
break;
}
return this._1G2;
};
function _fc1(buffer, _Mj3, offset) {
var _u51 = _ZC1._s11(yyGetInt32(buffer));
if (!_u51) return 0;
return _u51._6G2(yyGetInt32(_Mj3), yyGetInt32(offset));
}
function _hc1(buffer, type) {
var _u51 = _ZC1._s11(yyGetInt32(buffer));
if (!_u51) return 0;
return _u51._Ni3(yyGetInt32(type));
}
function _Nj3(buffer, offset, type) {
var _u51 = _ZC1._s11(yyGetInt32(buffer));
if (!_u51) return 0;
return _u51._Jj3(yyGetInt32(type), yyGetInt32(offset));
}
function _Oj3(buffer, offset, type, value) {
var _u51 = _ZC1._s11(yyGetInt32(buffer));
if (!_u51) return 0;
return _u51._Kj3(yyGetInt32(type), yyGetInt32(offset), value);
}
function _3c1(_781, _l81, _wi3) {
try {
return _ZC1._Da1(new _vi3(yyGetInt32(_781), yyGetInt32(_l81), yyGetInt32(_wi3)));
} catch (e) {
alert("ArrayBuffer Error : This functionality requires at least IE10");
return -1;
}
}
function _5c1(_G31, _l81, _kn1) {
var _u51 = _ZC1._s11(yyGetInt32(_G31));
if (!_u51) return _Xh3;
return _u51._3G2(yyGetInt32(_l81), _kn1);
}
function _Pj3(_G31) {
var _u51 = _ZC1._s11(yyGetInt32(_G31));
if (!_u51) return _Xh3;
return _u51._1G2;
}
function _ac1(_G31) {
_G31 = yyGetInt32(_G31);
var _u51 = _ZC1._s11(_G31);
if (!_u51) return _Xh3;
_u51.__C1 = null;
_u51._Di3 = null;
_ZC1._nc1(_G31);
return 0;
}
var _Qj3 = -1;
function _Rj3(_IM1, _Sj3, _2n1, _uj3, _Tj3) {
var _u51 = _ZC1._s11(yyGetInt32(_IM1));
var _he1 = _6e1._s11(yyGetInt32(_Sj3));
if (!_u51 || !_he1) return false;
var data = null;
var _7e1 = _he1._R41;
try {
data = _7e1._JM1(0, 0, _he1._X71, _he1._Y71);
} catch (_dc1) {
return false;
}
var _Uj3 = data.data;
for (var _X9 = 0; _X9 < _Uj3.length; _X9++) {
_u51._Kj3(_1i3, _X9, _Uj3[_X9]);
}
return true;
}
function _Vj3(_IM1, _Sj3, _2n1, _uj3, _Tj3) {
var _u51 = _ZC1._s11(yyGetInt32(_IM1));
var _he1 = _6e1._s11(yyGetInt32(_Sj3));
if (!_u51 || !_he1) return false;
var data = null;
var _7e1 = _he1._R41;
try {
var _Wj3 = _7e1.createImageData(_he1._X71, _he1._Y71);
var data = _Wj3.data;
var _Bc1 = _he1._X71 * _he1._Y71 * 4;
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
data[_X9] = _u51._Jj3(_1i3, _X9);
}
_7e1._Xj3(_Wj3, 0, 0);
} catch (_dc1) {
return false;
}
return true;
}
var _Yj3 = function () {
_w61("vertex_create_buffer");
};
var _Zj3 = function (size) {
_w61("vertex_create_buffer_ext");
};
var __j3 = function (buffer) {
_w61("vertex_delete_buffer");
};
var _0k3 = function (buffer, _N_2) {
_w61("vertex_begin");
};
var _1k3 = function (buffer) {
_w61("vertex_end");
};
var _2k3 = function (buffer, x, y) {
_w61("vertex_position");
};
var _3k3 = function (buffer, x, y, _L61) {
_w61("vertex_position_3d");
};
var _4k3 = function (buffer, _L31, alpha) {
_w61("vertex_colour");
};
var _5k3 = function (buffer, _L31, alpha) {
_w61("vertex_color");
};
var _6k3 = function (buffer, _b21, _k41, _e21, _l41) {
_w61("vertex_rgba");
};
var _7k3 = function (buffer, _b21, _k41, _e21, _l41) {
_w61("vertex_argb");
};
var _8k3 = function (buffer, _P41, _J41) {
_w61("vertex_texcoord");
};
var _9k3 = function (buffer, x, y, _L61) {
_w61("vertex_normal");
};
var _ak3 = function (buffer, x) {
_w61("vertex_float1");
};
var _bk3 = function (buffer, x, y) {
_w61("vertex_float2");
};
var _ck3 = function (buffer, x, y, _L61) {
_w61("vertex_float3");
};
var _dk3 = function (buffer, x, y, _L61, _Z9) {
_w61("vertex_float4");
};
var _ek3 = function (buffer, x, y, _L61, _Z9) {
_w61("vertex_ubyte4");
};
var _fk3 = function (buffer) {
_w61("vertex_freeze");
};
var _gk3 = function (buffer) {
_w61("vertex_submit");
};
var _hk3 = function (buffer) {
_w61("vertex_get_number");
};
var _ik3 = function (buffer) {
_w61("vertex_get_buffer_size");
};
var _jk3 = function (buffer) {
_w61("vertex_create_buffer_from_buffer");
};
var _kk3 = function (buffer) {
_w61("vertex_create_buffer_from_buffer_ext");
};
var _lk3 = function () {};
var _mk3 = 8 * 1024;
var _nk3 = [];
function _ok3() {
_Yj3 = _pk3;
_Zj3 = _qk3;
_jk3 = _rk3;
_kk3 = _sk3;
__j3 = _tk3;
_0k3 = _uk3;
_1k3 = _vk3;
_2k3 = _wk3;
_3k3 = _xk3;
_4k3 = _yk3;
_5k3 = _yk3;
_6k3 = _zk3;
_7k3 = _Ak3;
_8k3 = _Bk3;
_9k3 = _Ck3;
_ak3 = _Dk3;
_bk3 = _Ek3;
_ck3 = _Fk3;
_dk3 = _Gk3;
_ek3 = _Hk3;
_fk3 = _Ik3;
_gk3 = _Jk3;
_hk3 = _Kk3;
_ik3 = _Lk3;
_lk3 = _Mk3;
}
function _sk3(_IM1, _Ip2, _Nk3, _Ok3) {
_Ip2 = yyGetInt32(_Ip2);
_Nk3 = yyGetInt32(_Nk3);
_Ok3 = yyGetInt32(_Ok3);
var _OJ1 = 0;
var _Tv2 = _131._I71(_Ip2);
var _u51 = _ZC1._s11(yyGetInt32(_IM1));
if (!_u51 || !_Tv2) return -1;
if (_Ok3 == -1) {
_Nk3 = 0;
_OJ1 = _u51._Ci3;
_Ok3 = _OJ1 / _Tv2._u81;
} else {
_OJ1 = _Ok3 * _Tv2._u81;
if (_OJ1 + _Nk3 > _u51._Ci3) {
_OJ1 = _u51._Ci3 - _Nk3;
_Ok3 = ~~(_OJ1 / _Tv2._u81);
_OJ1 = _Ok3 * _Tv2._u81;
}
}
var _Pk3 = _Zj3(_OJ1);
var _Qk3 = _nk3[_Pk3];
var _Rk3 = new Uint8Array(_u51.__C1);
var _Fi3 = new Uint8Array(_Qk3._e91());
_Qk3._z81(_Ip2);
var src = _Nk3;
for (var _X9 = 0; _X9 < _OJ1; _X9++) {
_Fi3[_X9] = _Rk3[src++];
}
_Qk3._b91(_Ok3);
_Qk3._B81();
return _Pk3;
}
function _rk3(_IM1, _Ip2) {
return _sk3(_IM1, _Ip2, 0, -1);
}
function _pk3() {
return _Zj3(_mk3);
}
function _qk3(_781) {
var _Sk3 = new _681(yyGetInt32(_781));
var _Tk3 = _nk3.length;
for (var _X9 = 0; _X9 < _nk3; _X9++) {
if (_nk3[_X9] === null || _nk3[_X9] === undefined) {
_Tk3 = _X9;
break;
}
}
_nk3[_Tk3] = _Sk3;
return _Tk3;
}
function _tk3(_IM1) {
_nk3[yyGetInt32(_IM1)] = null;
}
function _uk3(_IM1, _Ip2) {
_nk3[yyGetInt32(_IM1)]._z81(yyGetInt32(_Ip2));
}
function _vk3(_IM1) {
_nk3[yyGetInt32(_IM1)]._B81();
}
function _wk3(_IM1, x, y) {
_nk3[yyGetInt32(_IM1)]._E81(yyGetReal(x), yyGetReal(y));
}
function _xk3(_IM1, x, y, _L61) {
_nk3[yyGetInt32(_IM1)]._H81(yyGetReal(x), yyGetReal(y), yyGetReal(_L61));
}
function _yk3(_IM1, _L31, alpha) {
_nk3[yyGetInt32(_IM1)]._J81(yyGetInt32(_L31), yyGetReal(alpha));
}
function _zk3(_IM1, _O81) {
_nk3[yyGetInt32(_IM1)]._N81(yyGetInt32(_O81));
}
function _Ak3(_IM1, _Q81) {
_nk3[yyGetInt32(_IM1)]._P81(yyGetInt32(_Q81));
}
function _Bk3(_IM1, _P41, _J41) {
_nk3[yyGetInt32(_IM1)]._R81(yyGetReal(_P41), yyGetReal(_J41));
}
function _Ck3(_IM1, x, y, _L61) {
_nk3[yyGetInt32(_IM1)]._T81(yyGetReal(x), yyGetReal(y), yyGetReal(_L61));
}
function _Dk3(_IM1, x) {
_nk3[yyGetInt32(_IM1)]._V81(yyGetReal(x));
}
function _Ek3(_IM1, x, y) {
_nk3[yyGetInt32(_IM1)]._X81(yyGetReal(x), yyGetReal(y));
}
function _Fk3(_IM1, x, y, _L61) {
_nk3[yyGetInt32(_IM1)]._Y81(yyGetReal(x), yyGetReal(y), yyGetReal(_L61));
}
function _Gk3(_IM1, x, y, _L61, _Z9) {
_nk3[yyGetInt32(_IM1)]._Z81(yyGetReal(x), yyGetReal(y), yyGetReal(_L61), yyGetReal(_Z9));
}
function _Hk3(_IM1, x, y, _L61, _Z9) {
_nk3[yyGetInt32(_IM1)]._091(yyGetInt32(x), yyGetInt32(y), yyGetInt32(_L61), yyGetInt32(_Z9));
}
function _Ik3(_IM1) {
var _Sk3 = _nk3[yyGetInt32(_IM1)];
if (_Sk3) {
_Sk3._291();
}
}
function _Mk3() {
_131._EM1();
}
function _Jk3(_IM1, _791, _891) {
_131._EM1();
var _S71,
_Sk3 = _nk3[yyGetInt32(_IM1)];
if (_Sk3) {
if (_j51 != -1) {
var _fq2 = _Uk3[_j51]._gq2;
var _Sv2 = _Sk3._D81();
if (_Sv2._o81.length < _fq2._2q2.length) {
_Mo1("Trying to use a vertex buffer with too few inputs for the seleted shader.");
}
}
_Sk3._691(_v71(yyGetInt32(_791)), _891);
}
}
function _Kk3(_IM1) {
var _Sk3 = _nk3[yyGetInt32(_IM1)];
if (_Sk3) {
return _Sk3._d91();
}
return 0;
}
function _Lk3(_IM1) {
var _Sk3 = _nk3[yyGetInt32(_IM1)];
if (_Sk3) {
return _Sk3._e91().byteLength;
}
return 0;
}
/*@constructor */ function _5d3() {
this.__type = "[BuiltIn]";
this._Ay1 = 0;
this._ye3 = 0;
this._ze3 = 0;
this._Vk3 = 0;
this._Wk3 = 0;
this._Xk3 = 0;
this._Yk3 = 0;
this._Zk3 = 100;
this._be3 = 0;
this._ge3 = "/";
this.__k3 = "/";
this._0l3 = "/";
this._1l3 = 0;
this._2l3 = 0;
this._Ps = 0;
this._Rs = 0;
this._3l3 = "room";
this._4l3 = 30;
this._5l3 = false;
this._6l3 = 0x00000000;
this._7l3 = false;
this._8l3 = false;
this._9l3 = false;
this._al3 = 0;
this._bl3 = 0;
this._cl3 = 0;
this._dl3 = 0;
this._el3 = 0;
this._fl3 = 0;
this._gl3 = 0;
this._hl3 = 1.0;
this._il3 = 1.0;
this._jl3 = 0;
this._kl3 = 0;
this._ll3 = 0;
this._ml3 = 1.0;
this._nl3 = false;
this._ol3 = 0;
this._ZV = 0;
this._pl3 = 0;
this._ql3 = 0;
this._rl3 = 0;
this._sl3 = 0;
this._tl3 = 0;
this._ul3 = 0;
this._vl3 = 0;
this._wl3 = 0;
this._xl3 = 0;
this._yl3 = 0;
this._zl3 = 0;
this._Al3 = 0;
this._Bl3 = 0;
this._Cl3 = 0;
this._0O1 = 0;
this._4O1 = 0;
this._Dl3 = 0;
this._El3 = 0;
this._Fl3 = 0;
this._NS = 0;
this._OS = "";
this._GS = "";
this._ie3 = false;
this._Gl3 = false;
this._Hl3 = false;
this._Il3 = false;
this._Jl3 = "score";
this._Kl3 = "lives";
this._Ll3 = "health";
this._Pz1 = 0;
this._dW = 0;
this._Ml3 = 0;
this._Nl3 = 0;
this._Ol3 = 0;
this._Pl3 = 0;
this._Ql3 = 0;
this._Rl3 = 0;
this._Sl3 = 0;
this._Tl3 = 0;
this._Ul3 = 0;
this._Jf3 = 0;
this._Vl3 = 0;
this._Wl3 = 0;
this._Xl3 = true;
this._Yl3 = true;
this._Zl3 = 8.2;
this._mI1 = -1;
this._k01 = -1;
this.__l3 = -1;
this._0m3 = false;
this._DV = -1;
this._ZV = [];
this._pl3 = [];
this._ql3 = [];
this._rl3 = [];
this._sl3 = [];
this._tl3 = [];
this._ul3 = [];
this._vl3 = [];
this._wl3 = [];
this._xl3 = [];
this._yl3 = [];
this._zl3 = [];
this._Al3 = [];
this._Bl3 = [];
this._Cl3 = [];
this._1m3 = [];
this._vK = [];
this._8l3 = [];
this._9l3 = [];
this._al3 = [];
this._bl3 = [];
this._cl3 = [];
this._dl3 = [];
this._el3 = [];
this._fl3 = [];
this._gl3 = [];
this._hl3 = [];
this._il3 = [];
this._jl3 = [];
this._kl3 = [];
this._ll3 = [];
this._ml3 = [];
}
_5d3.prototype._YV = function (_Ok1) {
_D01._4b1 = yyGetBool(_Ok1);
};
_5d3.prototype._lx = function () {
return _oH1;
};
_5d3.prototype._bp = function () {
return _9P1();
};
_5d3.prototype._xx = function () {
return this._mI1;
};
_5d3.prototype._ZT = function () {
return this._k01;
};
_5d3.prototype._sn = function () {
return _D01.id;
};
_5d3.prototype._sx = function (_M01) {
if (_F01) {
return _I01._J01(_M01);
} else {
return _D01._2m3;
}
};
_5d3.prototype._up = function () {
var _d21 = _xP1();
return ~~(_d21 / 1000);
};
_5d3.prototype._6B = function () {
return _5O1();
};
_5d3.prototype._7B = function () {
return _6O1();
};
_5d3.prototype._Pb1 = function (_3m3) {
for (var _J41 = 0; _J41 < _3m3.length; _J41++) {
var _ot1 = _3m3[_J41];
this[_J41] = _ot1;
}
};
/*@constructor */ function _4m3() {
this.__type = "[Font]";
this._5m3 = false;
this._6m3 = false;
this._d2 = "";
this._7m3 = "";
this.size = 12;
this._8m3 = 0;
this.bold = false;
this._Q9 = false;
this.first = 32;
this._R9 = 127;
this._9m3 = "";
this.prop = false;
this._am3 = 0;
this._bm3 = null;
this._cm3 = null;
this.antialias = 0;
this._S9 = 0;
this._o11 = 1;
this._p11 = 1;
this._dm3 = 0.5;
this._W9 = null;
this.__d1 = null;
this._em3 = null;
}
_4m3.prototype._fm3 = function (_Jh3) {
this._cm3 = null;
this._d2 = _Jh3._d2;
this._7m3 = _Jh3._T9;
this.size = _Jh3.size;
this.bold = _Jh3.bold;
this._Q9 = _Jh3._Q9;
this.first = _Jh3.first & 0xffff;
this._5m3 = false;
this._8m3 = _Jh3._8m3;
this.antialias = 0;
this._S9 = 0;
if (((_Jh3.first >> 16) & 0xff) !== 0) this._S9 = (_Jh3.first >> 16) & 0xff;
if (((_Jh3.first >> 24) & 0xff) !== 0) this.antialias = ((_Jh3.first >> 24) & 0xff) - 1;
this._R9 = _Jh3._R9;
this._o11 = _Jh3.scaleX;
this._p11 = _Jh3.scaleY;
this._W9 = [];
var _xp1 = 99999999;
var _921 = -99999999;
var maxHeight = 0;
for (var _gm3 = 0; _gm3 < _Jh3._W9.length; _gm3++) {
var index = -2;
var _hm3 = _Jh3._W9[_gm3];
if (_hm3._Y9 != undefined) index = _hm3._Y9.charCodeAt(0);
else if (_hm3._X9 != undefined) index = _hm3._X9;
this._W9[index] = _hm3;
if (index < _xp1) _xp1 = index;
if (index > _921) _921 = index;
if (_hm3.__9 > maxHeight) maxHeight = _hm3.__9;
}
this._im3 = maxHeight;
this.first = _xp1;
this._R9 = _921;
this.__d1 = _Kh3(_Jh3._V9);
};
_4m3.prototype._jm3 = function () {
var height = 0;
for (var _W11 = 0; _W11 < this._em3._yK1.length; _W11++) {
var _be1 = this._em3._yK1[_W11];
height = _a21(height, _be1._ek);
}
this.size = height;
};
_4m3.prototype._zq1 = function (_Qp1) {
if (!_Qp1 || 0 === _Qp1.length) return 0;
if (this._5m3) {
return this.size * this._o11;
} else {
return this._im3 * this._o11;
}
};
_4m3.prototype._Aq1 = function (_Qp1, _km3) {
if (!_Qp1 || 0 === _Qp1.length) return 0;
var _yq1;
if (_km3) {
_yq1 = [_Qp1];
} else {
_yq1 = _Uo1._Vo1(_Qp1, -1, this);
}
if (this._5m3) {
if (this._6m3) {
var _9t1 = 0;
for (var _X9 = 0; _X9 < _yq1.length; _X9++) {
var _lm3 = 0;
var __p1 = _yq1[_X9];
for (var _i21 = 0; _i21 < __p1.length; _i21++) {
_lm3 += this._mm3(__p1.charCodeAt(_i21));
}
_9t1 = _a21(_9t1, _lm3);
}
return _9t1;
} else {
var _9t1 = 0;
_R41.font = this._9m3;
if (_R41.measureText) {
for (var _X9 = 0; _X9 < _yq1.length; _X9++) {
var _P_2 = _R41.measureText(_yq1[_X9]);
_9t1 = _a21(_9t1, _P_2.width);
}
}
return _9t1;
}
} else {
var _9t1 = 0;
for (var _X9 = 0; _X9 < _yq1.length; _X9++) {
var _lm3 = 0;
var __p1 = _yq1[_X9];
for (var _i21 = 0; _i21 < __p1.length; _i21++) {
var _Y9 = __p1.charCodeAt(_i21);
var _hm3 = this._W9[_Y9];
if (!_hm3) {
_hm3 = this._W9[this.first];
}
_lm3 += _hm3.shift * this._o11;
}
_9t1 = _a21(_9t1, _lm3);
}
return _9t1;
}
};
_4m3.prototype._mm3 = function (_TQ1) {
if (this._5m3) {
if (this._6m3) {
var _9t1 = this._am3;
if (_TQ1 >= this.first && _TQ1 <= this._R9) {
var _nm3 = this._cm3[_TQ1];
var _be1 = this._em3._yK1[_nm3];
if (!_be1) {
result = this._om3;
} else if (this.prop) {
_9t1 += _be1._bk;
} else {
_9t1 += _be1._dk;
}
} else if (_TQ1 === 32) {
_9t1 += this._om3;
}
return _9t1;
} else {
_R41.font = this._9m3;
if (_R41.measureText) {
var _P_2 = _R41.measureText(String.fromCharCode(_TQ1));
return _P_2.width;
}
return 0;
}
}
var _hm3 = this._W9[_TQ1];
if (_hm3) {
return _hm3.shift * this._o11;
} else if (0x20 >= this.first && 0x20 <= this._R9) {
return this._W9[0x20].shift * this._o11;
} else {
return this._W9[this.first].shift * this._o11;
}
};
_4m3.prototype._pm3 = function (_a11, _b11, _qm3, _Dm1, _Em1, _e11, _Yq1, _Zq1, _Lt1, _Mt1) {
var _rm3 = this.__d1;
if (!_rm3._f31.complete) return;
var _Bc1 = _qm3.length;
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _TQ1 = _qm3.charCodeAt(_X9);
var _hm3 = this._W9[_TQ1];
if (_hm3) {
var _J31 = _hm3.x;
var _K31 = _hm3.y;
var _3u1 = _hm3._Z9;
var _5u1 = _hm3.__9;
if (Math.abs(_e11) < 0.001) {
_R41._xK1(_rm3, _J31 + _rm3.x, _K31 + _rm3.y, _3u1, _5u1, _a11 + _hm3.offset * _Dm1, _b11, _3u1 * this._o11 * _Dm1, _5u1 * this._p11 * _Em1, _Yq1, _Zq1, _Lt1, _Mt1);
} else {
_R41._xK1(_rm3, _J31 + _rm3.x, _K31 + _rm3.y, _3u1, _5u1, _a11 + _hm3.offset * _Dm1, _b11, _3u1, _5u1, _Yq1, _Zq1, _Lt1, _Mt1);
}
_a11 += _Dm1 * this._o11 * this._mm3(_TQ1);
}
}
};
_4m3.prototype._sm3 = function (_a11, _b11, _e11) {
var _7m1 = new _Fk1();
_7m1._1m1(-_a11, -_b11, 0);
var _bm1 = new _Fk1();
_bm1._5m1(_e11);
var _2S1 = new _Fk1();
_2S1.Multiply(_7m1, _bm1);
_7m1._1m1(_a11, _b11, 0);
var _tm3 = new _Fk1();
_tm3.Multiply(_2S1, _7m1);
return _tm3;
};
_4m3.prototype._um3 = function (_a11, _b11, _qm3, _Dm1, _Em1, _e11, _Yq1, _Zq1, _Lt1, _Mt1) {
if (this._5m3) {
this._pm3(_a11, _b11, _qm3, _Dm1, _Em1, _e11, _Yq1, _Zq1, _Lt1, _Mt1);
}
var _vm3;
var _rm3 = this.__d1;
if (!_rm3._f31.complete) return;
var _Bc1 = _qm3.length;
if (_wm3) {
_Yq1 &= 0xfffefffe;
_Zq1 &= 0xfffefffe;
_Lt1 &= 0xfffefffe;
_Mt1 &= 0xfffefffe;
_Zq1 |= 0x00010000;
_Lt1 |= 0x00000001;
_Mt1 |= 0x00010001;
}
var _u51, _B51, _D51, _F51;
if (!_rm3._f31._o51) _p51(_rm3);
var _xm3;
if (Math.abs(_e11) > 0.001) {
_xm3 = _9m1(_0m1);
__l1(_0m1, this._sm3(_a11, _b11, _e11));
}
var _q41 = _Bc1 * 6;
_u51 = _131._v51(_Z41._w51, _rm3._f31._o51, _131._x51, _q41);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _q41;
var _H51 = index,
_b61 = _H51 + _y51,
_c61 = _b61 + _y51,
_d61 = _c61 + _y51,
_e61 = _d61 + _y51,
_f61 = _e61 + _y51;
_B51 = _u51._C51;
_D51 = _u51._E51;
_F51 = _u51._G51;
var scaleX, scaleY;
scaleX = this._o11 * _Dm1;
scaleY = this._p11 * _Em1;
var _sS2 = 0;
var _ym3 = this._dm3,
_zm3 = 1.0 / _rm3._f31.width,
_Am3 = 1.0 / _rm3._f31.height;
var _Bm3 = false;
if (_Yq1 != _Zq1 || _Lt1 != _Mt1) {
var _Cm3 = this._Aq1(_qm3, true);
var _Dm3 = 1 / _Cm3;
var alpha = _Yq1 & 0xff000000;
_Bm3 = true;
}
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _TQ1 = _qm3.charCodeAt(_X9);
var _hm3 = this._W9[_TQ1];
if (_hm3) {
var _J31 = _hm3.x,
_K31 = _hm3.y,
_3u1 = _hm3._Z9,
_5u1 = _hm3.__9;
var x = _a11 + _hm3.offset * _Dm1;
_B51[_H51 + 0] = _B51[_e61 + 0] = _B51[_f61 + 0] = x - _ym3;
_B51[_H51 + 1] = _B51[_b61 + 1] = _B51[_f61 + 1] = _b11 - _ym3;
_B51[_b61 + 0] = _B51[_c61 + 0] = _B51[_d61 + 0] = x + _ym3 + _3u1 * scaleX;
_B51[_c61 + 1] = _B51[_d61 + 1] = _B51[_e61 + 1] = _b11 + _ym3 + _5u1 * scaleY;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_F51[_H51 + 0] = _F51[_e61 + 0] = _F51[_f61 + 0] = (_rm3.x + _J31 - _ym3) * _zm3;
_F51[_H51 + 1] = _F51[_b61 + 1] = _F51[_f61 + 1] = (_rm3.y + _K31 - _ym3) * _Am3;
_F51[_b61 + 0] = _F51[_c61 + 0] = _F51[_d61 + 0] = (_rm3.x + _J31 + _3u1 + _ym3) * _zm3;
_F51[_c61 + 1] = _F51[_d61 + 1] = _F51[_e61 + 1] = (_rm3.y + _K31 + _5u1 + _ym3) * _Am3;
if (_Bm3) {
var _V51 = _B51[index];
var __q1 = Math.min(Math.abs(_B51[_H51] - _V51) * _Dm3, 1);
var _0r1 = Math.min(Math.abs(_B51[_b61] - _V51) * _Dm3, 1);
var _BS1 = _ht1(_Yq1, _Zq1, __q1) | alpha;
var _CS1 = _ht1(_Yq1, _Zq1, _0r1) | alpha;
var _NS1 = _ht1(_Mt1, _Lt1, _0r1) | alpha;
var _Df3 = _ht1(_Mt1, _Lt1, __q1) | alpha;
_D51[_H51] = _D51[_f61] = _BS1;
_D51[_b61] = _CS1;
_D51[_c61] = _D51[_d61] = _NS1;
_D51[_e61] = _Df3;
} else {
_D51[_H51] = _D51[_f61] = _Yq1;
_D51[_b61] = _Zq1;
_D51[_c61] = _D51[_d61] = _Lt1;
_D51[_e61] = _Mt1;
}
_H51 += _y51 * 6;
_b61 += _y51 * 6;
_c61 += _y51 * 6;
_d61 += _y51 * 6;
_e61 += _y51 * 6;
_f61 += _y51 * 6;
_a11 += scaleX * _hm3.shift;
} else {
_sS2++;
}
}
_u51._A51 -= _sS2 * 6;
if (_xm3 != undefined) {
__l1(_0m1, _xm3);
}
};
_4m3.prototype._Em3 = function (_a11, _b11, _qm3, _Dm1, _Em1, _e11, _Yq1, _Zq1, _Lt1, _Mt1) {
var _vm3 = null;
var _TQ1;
var _rm3 = _g31[this.__d1._fk];
if (!_rm3.complete) return;
var _CL2 = _R41.globalAlpha;
_R41.globalAlpha = ((_Yq1 >> 24) & 0xff) / 255.0;
var _Bc1 = _qm3.length;
_Yq1 = _Yq1 & 0xffffff;
_e11 = _Jc3(_e11);
if (Math.abs(_e11) > 0.00001) {
_Fm3(_a11, _b11, this._o11 * _Dm1, this._p11 * _Em1, -_e11);
_a11 = 0;
_b11 = 0;
if (_Yq1 != 0xffffff) {
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
_TQ1 = _qm3.charCodeAt(_X9);
var _hm3 = this._W9[_TQ1];
if (_hm3) {
var _3u1 = _hm3._Z9;
if (_3u1 != 99999) {
var _5u1 = _hm3.__9;
_vm3 = _Gm3(_rm3, _hm3, _hm3.x, _hm3.y, _3u1 + 2, _5u1 + 2, _Yq1);
_R41._xK1(_vm3, 0, 0, _3u1, _5u1, _a11 + _hm3.offset, _b11, _3u1, _5u1);
_a11 += this._mm3(_TQ1);
}
}
}
} else {
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
_TQ1 = _qm3.charCodeAt(_X9);
var _hm3 = this._W9[_TQ1];
if (_hm3) {
var _3u1 = _hm3._Z9;
if (_3u1 != 99999) {
var _5u1 = _hm3.__9;
_R41._xK1(_rm3, _hm3.x + this.__d1.x, _hm3.y + this.__d1.y, _3u1, _5u1, _a11 + _hm3.offset, _b11, _3u1, _5u1);
_a11 += this._mm3(_TQ1);
}
}
}
}
_Hm3();
} else {
_a11 = ~~(_a11 + 0.5);
_b11 = ~~(_b11 + 0.5);
var _Im3 = this._o11 * _Dm1;
var _Jm3 = this._p11 * _Em1;
if (_Yq1 != 0xffffff) {
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
_TQ1 = _qm3.charCodeAt(_X9);
var _hm3 = this._W9[_TQ1];
if (_hm3) {
var _3u1 = _hm3._Z9;
if (_3u1 != 99999) {
var _5u1 = _hm3.__9;
_vm3 = _Gm3(_rm3, _hm3, _hm3.x + this.__d1.x, _hm3.y + this.__d1.y, _3u1 + 2, _5u1 + 2, _Yq1);
_R41._xK1(_vm3, 0, 0, _3u1 + 1, _5u1 + 1, _a11 + _hm3.offset * _Im3, _b11, (_3u1 + 1) * _Im3, (_5u1 + 1) * _Jm3);
_a11 += _Im3 * this._mm3(_TQ1);
}
}
}
} else {
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
_TQ1 = _qm3.charCodeAt(_X9);
var _hm3 = this._W9[_TQ1];
if (_hm3) {
var _3u1 = _hm3._Z9;
if (_3u1 != 99999) {
var _5u1 = _hm3.__9;
_R41._xK1(_rm3, _hm3.x + this.__d1.x, _hm3.y + this.__d1.y, _3u1, _5u1, _a11 + _hm3.offset * _Im3, _b11, _3u1 * _Im3, _5u1 * _Jm3);
_a11 += _Im3 * this._mm3(_TQ1);
}
}
}
}
}
_R41.globalAlpha = _CL2;
};
_4m3.prototype._Km3 = function (_a11, _b11, _qm3, _Dm1, _Em1, _e11, _Yq1, _Zq1, _Lt1, _Mt1) {
if (this._em3 == null) return;
var _l41 = ((_Yq1 >> 24) & 0xff) / 255.0;
var _CL2 = _R41.globalAlpha;
_R41.globalAlpha = _l41;
_Yq1 &= 0xffffff;
var _Im3 = this._o11 * _Dm1;
var _Jm3 = this._p11 * _Em1;
if (Math.abs(_e11) >= 0.001) {
_Fm3(_a11, _b11, 1, 1, -_Jc3(_e11));
_b11 = _a11 = 0;
}
var _Bc1 = _qm3.length;
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _TQ1 = _qm3.charCodeAt(_X9);
if (_TQ1 != 0x20) {
if (_TQ1 >= this.first && _TQ1 <= this._R9) {
var _nm3 = this._cm3[_TQ1];
if (_nm3 !== undefined) {
var _be1 = this._em3._yK1[_nm3];
var _rm3 = _g31[_be1._fk];
if (_rm3.complete) {
var _Du1 = _be1._9k + this._em3._v2;
var _Eu1 = _be1._ak + this._em3._w2;
if (this.prop) _Du1 = 0;
if (_Yq1 != 0xffffff) {
var _vm3 = _z41(_be1, _Yq1);
_R41._xK1(_vm3, 0, 0, _be1._bk, _be1._ck, _a11 + _Du1 * _Im3, _b11 + _Eu1 * _Jm3, _be1._bk * _Im3, _be1._ck * _Jm3);
} else {
_R41._xK1(_rm3, _be1.x, _be1.y, _be1._Z9, _be1.__9, _a11 + _Du1 * _Im3, _b11 + _Eu1 * _Jm3, _be1._bk * _Im3, _be1._ck * _Jm3);
}
}
}
}
}
_a11 = _a11 + _Im3 * this._mm3(_TQ1);
}
if (Math.abs(_e11) >= 0.001) _Hm3();
_R41.globalAlpha = _CL2;
};
_4m3.prototype._Lm3 = function (_a11, _b11, _qm3, _Dm1, _Em1, _e11, _jq1, _kq1, _lq1, _mq1) {
if (this._em3 == null) return;
var _Bc1 = _qm3.length;
var _Im3 = this._o11 * _Dm1;
var _Jm3 = this._p11 * _Em1;
var _Mm3 = undefined;
if (Math.abs(_e11) >= 0.001) {
_Mm3 = _9m1(_0m1);
__l1(_0m1, this._sm3(_a11, _b11, _e11));
}
var alpha = _jq1 & 0xff000000;
var _Nm3 = ((_kq1 & 0xff0000) - (_jq1 & 0xff0000)) / _Bc1;
var _Om3 = (((_kq1 & 0xff00) << 8) - ((_jq1 & 0xff00) << 8)) / _Bc1;
var _Pm3 = (((_kq1 & 0xff) << 16) - ((_jq1 & 0xff) << 16)) / _Bc1;
var _Qm3 = ((_lq1 & 0xff0000) - (_mq1 & 0xff0000)) / _Bc1;
var _Rm3 = (((_lq1 & 0xff00) << 8) - ((_mq1 & 0xff00) << 8)) / _Bc1;
var _Sm3 = (((_lq1 & 0xff) << 16) - ((_mq1 & 0xff) << 16)) / _Bc1;
var _Tm3 = _Nm3;
var _Um3 = _Om3;
var _Vm3 = _Pm3;
var _Wm3 = _Qm3;
var _Xm3 = _Rm3;
var _Ym3 = _Sm3;
var _BS1 = _jq1;
var _Df3 = _mq1;
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _CS1 = ((_jq1 & 0xff0000) + (_Tm3 & 0xff0000)) & 0xff0000;
_CS1 |= ((_jq1 & 0xff00) + (_Um3 >> 8)) & 0xff00 & 0xff00;
_CS1 |= ((_jq1 & 0xff) + (_Vm3 >> 16)) & 0xff;
_CS1 |= alpha;
var _NS1 = ((_mq1 & 0xff0000) + (_Wm3 & 0xff0000)) & 0xff0000;
_NS1 |= ((_mq1 & 0xff00) + (_Xm3 >> 8)) & 0xff00 & 0xff00;
_NS1 |= ((_mq1 & 0xff) + (_Ym3 >> 16)) & 0xff;
_NS1 |= alpha;
_Tm3 += _Nm3;
_Um3 += _Om3;
_Vm3 += _Pm3;
_Wm3 += _Qm3;
_Xm3 += _Rm3;
_Ym3 += _Sm3;
var _TQ1 = _qm3.charCodeAt(_X9);
if (_TQ1 != 0x20) {
if (_TQ1 < this.first || _TQ1 > this._R9) {
} else {
var _nm3 = this._cm3[_TQ1];
if (_nm3 !== undefined) {
var _be1 = this._em3._yK1[_nm3];
var _rm3 = _g31[_be1._fk];
if (_rm3.complete) {
var _Du1 = _be1._9k + this._em3._v2;
var _Eu1 = _be1._ak + this._em3._w2;
if (this.prop) _Du1 = 0;
_R41._xK1(_be1, _be1.x, _be1.y, _be1._Z9, _be1.__9, _a11 + _Du1 * _Im3, _b11 + _Eu1 * _Jm3, _be1._bk * _Im3, _be1._ck * _Jm3, _BS1, _CS1, _NS1, _Df3);
}
}
}
}
_Df3 = _NS1;
_BS1 = _CS1;
_a11 += _Im3 * this._mm3(_TQ1);
}
if (_Mm3 !== undefined) {
__l1(_0m1, _Mm3);
}
};
/*@constructor */ function _id3() {
this._P9 = [];
this.length = 0;
this._xq1 = null;
this._hq1 = 0;
this._fq1 = 0;
this._eq1 = 0;
_hc3 = -1;
this._hq1 = _hc3;
}
_id3.prototype._DL1 = function (_G31) {
return this._P9[_G31];
};
_id3.prototype._Ua1 = function () {
this._P9 = [];
this._P9.length = 0;
};
_id3.prototype._Da1 = function (_Jh3) {
var _Zm3 = null;
if (_Jh3 != null) {
_Zm3 = new _4m3();
_Zm3._fm3(_Jh3);
}
this._P9[this._P9.length] = _Zm3;
return this._P9.length - 1;
};
_id3.prototype._se3 = function (_Jh3) {
var _Zm3 = null;
if (_Jh3 != null) {
_Zm3 = new _4m3();
_Zm3._fm3(_Jh3);
}
this._P9[-1] = _Zm3;
};
_id3.prototype._wq1 = function () {
if (this._hq1 >= 0 && this._hq1 <= this._P9.length && this._P9[this._hq1] != null) {
this._xq1 = this._P9[this._hq1];
} else {
this._xq1 = this._P9[-1];
if (!this._xq1) _Mo1("Error: Failed to set font. Built-in fonts disabled with no current font set.");
}
};
_id3.prototype._s11 = function (_Ub1) {
if (_Ub1 >= 0 && _Ub1 <= this._P9.length && this._P9[_Ub1]) {
return this._P9[_Ub1];
}
return null;
};
function _CL1(_yp1, _xq1, __m3) {
if (__m3 === undefined) __m3 = false;
if (__m3 == false && _F01) return _yp1;
if (_yp1 == null) return 0;
var _0n3 = _yp1;
var _7j2 = "";
var _X9 = 0;
var _OZ1 = 0;
while (_OZ1 < _0n3.length) {
var _Wo1 = _0n3[_OZ1];
if (_Wo1 == "#") {
if (_X9 > 0 && _0n3[_OZ1 - 1] == "\\") {
_7j2 = _7j2.substring(0, _7j2.length - 1) + "#";
} else {
_7j2 += String.fromCharCode(0x0d);
_7j2 += String.fromCharCode(0x0a);
_X9++;
}
} else {
_7j2 += _Wo1;
_X9++;
}
_OZ1++;
}
return _7j2;
}
_id3.prototype._Vo1 = function (_qm3, _1n3, _xq1) {
if (_qm3 == null) return;
if (_1n3 < 0) _1n3 = 10000000;
var _2n3 = " ";
var _Fo1 = String.fromCharCode(0x0a);
var _3n3 = String.fromCharCode(0x0d);
var _To1 = [];
var _4n3 = 0;
if (!_F01) _qm3 = _CL1(_qm3, _xq1);
var _Bc1 = _qm3.length;
var _9e1 = _qm3;
var _5n3 = _9e1[0];
var start = 0;
var end = 0;
while (start < _Bc1) {
var _OJ1 = 0;
if (_1n3 == 10000000) {
while (end < _Bc1 && _9e1[end] != _Fo1 && _9e1[end] != _3n3) {
end++;
if (end < _Bc1) _5n3 = _9e1[end];
else _5n3 = String.fromCharCode(0x0);
}
var _Y9;
if (end < _Bc1) _Y9 = _9e1[end];
else _Y9 = String.fromCharCode(0x0);
if (_Fo1 == _5n3 && _3n3 == _9e1[end]) {
end++;
continue;
}
if (_3n3 == _5n3 && _Fo1 == _9e1[end]) {
end++;
continue;
}
_5n3 = _9e1[end];
_To1[_4n3++] = _9e1.substring(start, end);
} else {
while (end < _Bc1) {
if (_9e1[end] != _2n3) break;
end++;
}
start = end;
while (end < _Bc1 && _OJ1 < _1n3) {
_Y9 = _9e1[end];
if (_Y9 == _Fo1) break;
_OJ1 += this._xq1._mm3(_Y9.charCodeAt(0));
end++;
}
if (_OJ1 > _1n3) {
end--;
_OJ1 -= this._xq1._mm3(_9e1.charCodeAt(end));
}
if (_9e1[end] == _Fo1) {
_To1[_4n3++] = _9e1.substring(start, end);
} else {
if (end == start) return _To1;
if (end != _Bc1) {
if (_9e1[end] != _2n3 || (_9e1[end] != _2n3 && _9e1[end + 1] != _2n3)) {
while (end > start) {
if (_9e1[--end] == _2n3) break;
}
}
}
if (end > start) {
while (_9e1[end - 1] == _2n3) {
end--;
}
} else if (end == start) {
while (_9e1[end] != _2n3 && end < _Bc1) {
end++;
}
}
_To1[_4n3++] = _9e1.substring(start, end);
}
}
start = ++end;
}
return _To1;
};
_id3.prototype._iq1 = function (_Qp1, x, y, _6n3, _1n3, _e11, _Dm1, _Em1, _jq1, _kq1, _lq1, _mq1) {
var _4x1 = _Dm1;
var _5x1 = _Em1;
var _7n3 = 0.0;
var _8n3 = 0.0;
var _To1 = [];
var _X9 = 0;
this._wq1();
var _xq1 = this._xq1;
if (_jq1 === undefined) {
_jq1 = _L71 | ((_K71 * 255.0) << 24);
_kq1 = _L71 | ((_K71 * 255.0) << 24);
_lq1 = _L71 | ((_K71 * 255.0) << 24);
_mq1 = _L71 | ((_K71 * 255.0) << 24);
} else if (_kq1 === undefined) {
_kq1 = _jq1;
_lq1 = _jq1;
_mq1 = _jq1;
}
var _yp1 = _Qp1;
_To1 = this._Vo1(_yp1, _1n3, _xq1);
var _9n3 = _Jc3(_e11);
var _E21 = Math.sin(_9n3);
var _F21 = Math.cos(_9n3);
if (_6n3 < 0) {
_6n3 = _xq1 ? _xq1._zq1("M") : 20;
}
var _an3 = _E21 * _5x1 * _6n3;
var _bn3 = _F21 * _5x1 * _6n3;
if (this._fq1 == 1) {
y = y - Math.round((_To1.length * _bn3) / 2.0);
x = x - Math.round((_To1.length * _an3) / 2.0);
}
if (this._fq1 == 2) {
y = y - Math.round(_To1.length * _bn3);
x = x - Math.round(_To1.length * _an3);
}
if (!_xq1) {
if (!_131) {
_R41.fillStyle = _qt1;
_R41.globalAlpha = _K71;
for (_X9 = 0; _X9 <= _To1.length - 1; _X9++) {
var _cn3 = _To1[_X9];
if (_cn3 != null) {
_R41.fillText(_cn3, x, y + 13);
y = y + _bn3;
x = x + _an3;
}
}
} else {
if (this._hq1 != -1) _Mo1("Error: Runtime canvas fonts are not supported in WebGL.");
}
} else {
for (_X9 = 0; _X9 <= _To1.length - 1; _X9++) {
_7n3 = 0;
_8n3 = 0;
if (_xq1._8m3 != undefined) {
_8n3 -= _xq1._8m3 * _5x1;
}
var _cn3 = _To1[_X9];
if (_cn3 != null) {
if (this._eq1 == 1) _7n3 = -((_4x1 * _xq1._Aq1(_cn3, true)) / 2);
if (this._eq1 == 2) _7n3 = -(_4x1 * _xq1._Aq1(_cn3, true));
if (_xq1._6m3) {
_7n3 -= _4x1 * _xq1._em3._v2;
_8n3 -= _5x1 * _xq1._em3._w2;
}
var _j21 = x + _F21 * _7n3 + _E21 * _8n3;
var _l21 = y - _E21 * _7n3 + _F21 * _8n3;
if (_xq1._5m3) {
if (_xq1._6m3) {
if (!_131) {
_xq1._Km3(_j21, _l21, _cn3, _4x1, _5x1, _e11, _jq1, _kq1, _lq1, _mq1);
} else {
_xq1._Lm3(_j21, _l21, _cn3, _4x1, _5x1, _e11, _jq1, _kq1, _lq1, _mq1);
}
} else {
if (_xq1._NJ1) {
_dn3(_xq1._9m3, _cn3, _j21, _l21, 1, 1, _9n3, _jq1, _kq1, _lq1, _mq1);
}
}
} else {
if (_131) {
_xq1._um3(_j21, _l21, _cn3, _4x1, _5x1, _e11, _jq1, _kq1, _lq1, _mq1);
} else {
_xq1._Em3(_j21, _l21, _cn3, _4x1, _5x1, _e11, _jq1, _kq1, _lq1, _mq1);
}
}
}
y = y + _bn3;
x = x + _an3;
}
}
};
_id3.prototype._Bq1 = function (_Qp1, x, y, _6n3, _1n3) {
_Cq1 = _Dq1 = 0;
var _To1 = [];
var _X9 = 0;
this._wq1();
var _xq1 = this._xq1;
if (!_xq1) return 1;
_To1 = this._Vo1(_Qp1, _1n3, _xq1);
if (_6n3 < 0) {
_6n3 = _xq1._zq1("M");
}
var _cn3, _Z9;
if (_To1.length > 0) {
for (_X9 = 0; _X9 < _To1.length - 1; _X9++) {
_cn3 = _To1[_X9];
if (_cn3 != null) {
_Z9 = _xq1._Aq1(_cn3, true);
if (_Cq1 < _Z9) {
_Cq1 = _Z9;
}
}
_Dq1 += _6n3;
}
_Dq1 += _xq1._zq1("M");
}
_cn3 = _To1[_To1.length - 1];
_Z9 = _xq1._Aq1(_cn3, true);
if (_Cq1 < _Z9) _Cq1 = _Z9;
};
var _en3;
var _g31;
var _fn3 = null;
var _UN1 = 1024;
var _VN1 = 768;
var _WN1 = 1;
var _XN1 = 1;
var _Us1 = 0;
var _Vs1 = 0;
var _Ws1 = 0;
var _Xs1 = 0;
var _mM1 = 0;
var _oM1 = 0;
var _qM1 = 0;
var _sM1 = 0;
var _oY2 = [];
var _gn3 = 0;
var _x41 = 0xffffff;
var _hn3;
var _bN1;
var _BM1;
var _DM1;
var _Hm3;
var _in3;
var _Fm3;
var _jn3;
var _kn3;
var _ln3;
var _Ys1;
var _Rs1;
var _mn3;
var _nn3;
var _on3;
var _pn3;
var _qn3;
var _dn3;
var _rn3 = !0;
function _vK1(_sn3) {
if (!_sn3) return;
_sn3._tn3 = _sn3.transform;
_sn3._Ts1 = _sn3.setTransform;
_sn3._un3 = _sn3.save;
_sn3._vn3 = _sn3.restore;
_sn3._Jt1 = _sn3.fillRect;
_sn3._It1 = _sn3.strokeRect;
_sn3._Vt1 = _sn3.beginPath;
_sn3._Mu1 = _sn3.arc;
_sn3._Zt1 = _sn3.stroke;
_sn3._Yt1 = _sn3.closePath;
_sn3.lineWidth = _sn3.lineWidth;
_sn3._Wt1 = _sn3.moveTo;
_sn3._Xt1 = _sn3.lineTo;
_sn3._bu1 = _sn3.fill;
_sn3._xK1 = _sn3.drawImage;
_sn3._JM1 = _sn3.getImageData;
_sn3._wn3 = _sn3.createImageData;
_sn3._Xj3 = _sn3.putImageData;
_sn3._xn3 = _sn3.clip;
_sn3._yn3 = _sn3.rect;
}
function _zn3(_sn3, _Tk1) {
if (_sn3.imageSmoothingEnabled == _Tk1 && _sn3.msImageSmoothingEnabled == _Tk1) return;
_sn3.imageSmoothingEnabled = _Tk1;
_sn3.webkitImageSmoothingEnabled = _Tk1;
_sn3.mozImageSmoothingEnabled = _Tk1;
_sn3.msImageSmoothingEnabled = _Tk1;
_sn3.oImageSmoothingEnabled = _Tk1;
}
function _yM1(_sn3) {
if (!_131) _zn3(_sn3, _rn3);
}
function _An3(_nn1) {
_nn1 = _nn1 > 0.5;
if (_rn3 != _nn1) {
_rn3 = _nn1;
_zn3(_R41, _nn1);
}
}
function _ad3(_Lo2) {
_g31 = [];
_fn3 = null;
_Us1 = 0;
_Vs1 = 0;
_Ws1 = 0;
_Xs1 = 0;
_mM1 = 0;
_oM1 = 0;
_qM1 = 0;
_sM1 = 0;
_oY2 = [];
_oY2[0] = 1;
_oY2[1] = 0;
_oY2[2] = 0;
_oY2[3] = 0;
_oY2[4] = 1;
_oY2[5] = 0;
if (!_131) {
if (_813) {
_hn3 = _Bn3;
} else {
_hn3 = _Cn3;
}
_bN1 = _Dn3;
_nn3 = _En3;
_BM1 = _Fn3;
_DM1 = _Gn3;
_mn3 = _Hn3;
_Hm3 = _In3;
_in3 = _Jn3;
_Fm3 = _Kn3;
_jn3 = _Ln3;
_Rs1 = _Mn3;
_Ys1 = _Nn3;
_dn3 = _On3;
_ln3 = _Pn3;
_on3 = _Qn3;
_kn3 = _Rn3;
_pn3 = function () {};
_qn3 = function () {};
_rn3 = !(_Ho1._ok && !_Ho1._ok._Ak);
if (_913) {
if (_813) {
_x41 = 0x1ffffff;
_hn3 = _Sn3;
} else {
_hn3 = _Tn3;
}
_bN1 = _Dn3;
_nn3 = _Un3;
}
} else {
_Vn3();
}
_BM1(0, 0, _MN1, _NN1);
_DM1(0, 0, _MN1, _NN1, 0);
}
var _Wn3 = [];
var _Xn3 = 0;
function _Mn3() {
_R41._un3();
_Wn3.push({ _Xc1: _Xn3++, _Yn3: _Us1, _Zn3: _Vs1, __n3: _Ws1, _0o3: _Xs1 });
}
function _Nn3() {
_R41._vn3();
var _k41 = _Wn3.pop();
_Us1 = _k41._Yn3;
_Vs1 = _k41._Zn3;
_Ws1 = _k41.__n3;
_Xs1 = _k41._0o3;
--_Xn3;
}
function _OK1(_YK1) {
_YK1._c31 = [];
_YK1._d31 = 0;
_YK1._e31 = 4;
_YK1._6M1 = 0;
_YK1._7M1 = null;
_YK1._tK1 = null;
_YK1._f31 = _g31[_YK1._fk];
}
function _me3(_1o3) {
_fn3 = _1o3;
for (var _X9 = 0; _X9 < _1o3.length; _X9++) {
var _be1 = _1o3[_X9];
_OK1(_be1);
}
}
/*@constructor */ function _2o3() {
this._UK1 = null;
this._3o3 = 0;
}
function _Gm3(_891, _4o3, _a11, _b11, _Mb1, _Nb1, _M71) {
var _5o3 = null;
if (_4o3._c31 != undefined) {
_5o3 = _4o3._c31[_M71];
} else {
_4o3._c31 = [];
_4o3._e31 = 4;
_4o3._d31 = 0;
}
if (_5o3 != null) {
_5o3._3o3 = _gn3;
return _5o3._UK1;
}
var _6o3 = -9999999999;
_5o3 = null;
if (_4o3._d31 < _4o3._e31) {
_5o3 = new _2o3();
_4o3._d31++;
} else {
var _7o3 = -1;
for (var _X9 in _4o3._c31) {
if (!_4o3._c31.hasOwnProperty(_X9)) continue;
var _8o3 = _4o3._c31[_X9];
if (_8o3 != null) {
var _d21 = _gn3 - _8o3._3o3;
if (_d21 > _6o3) {
_7o3 = _X9;
_5o3 = _8o3;
_6o3 = _d21;
}
}
}
if (_7o3 >= 0) delete _4o3._c31[_7o3];
}
_4o3._c31[_M71] = _5o3;
_5o3._3o3 = _gn3;
_5o3._UK1 = _9o3(_891, _a11, _b11, _Mb1, _Nb1, _M71);
return _5o3._UK1;
}
function _z41(_YK1, _M71) {
return _Gm3(_YK1._f31, _YK1, _YK1.x, _YK1.y, _YK1._Z9, _YK1.__9, _M71);
}
function _Kh3(_G31) {
return _fn3[_G31];
}
function _In3() {
_R41._Ts1(_oY2[0], _oY2[3], _oY2[1], _oY2[4], _oY2[2], _oY2[5]);
}
function _Jn3(_081) {
_Rs1();
var _Ss1 = [];
_Ss1[0] = 1;
_Ss1[1] = 0;
_Ss1[2] = 0;
_Ss1[3] = 1;
_Ss1[4] = 0;
_Ss1[5] = 0;
_R41._Ts1(_Ss1[0], _Ss1[1], _Ss1[2], _Ss1[3], _Ss1[4], _Ss1[5]);
_R41.fillStyle = _vt1(_081 | 0xff000000);
_R41._Jt1(_Us1, _Vs1, _Ws1, _Xs1);
_Ys1();
}
function _Fn3(_Np2, _Op2, _Pp2, _Qp2) {
_Us1 = _Np2;
_Vs1 = _Op2;
_Ws1 = _Pp2;
_Xs1 = _Qp2;
if (_F01) {
if (_Us1 === 0 && _Vs1 === 0 && _Ws1 == _R41.canvas.width && _Xs1 === _R41.canvas.height) {
} else {
_oY2[0] = 1;
_oY2[1] = 0;
_oY2[2] = 0;
_oY2[3] = 1;
_oY2[4] = 0;
_oY2[5] = 0;
_R41._Ts1(_oY2[0], _oY2[1], _oY2[2], _oY2[3], _oY2[4], _oY2[5]);
_R41.beginPath();
_R41.moveTo(_Us1, _Vs1);
_R41.lineTo(_Us1 + _Ws1, _Vs1);
_R41.lineTo(_Us1 + _Ws1, _Vs1 + _Xs1);
_R41.lineTo(_Us1, _Vs1 + _Xs1);
if (!(_Cv1 == _l13 && _bP1 == 4.0)) {
_R41.clip();
}
}
}
}
function _ao3(_a11, _b11, _Mb1, _Nb1, _e11) {
var _ZS2 = new _Zk1(_a11 + _Mb1 / 2.0, _b11 + _Nb1 / 2.0, -16000.0);
var _6T2 = new _Zk1(_a11 + _Mb1 / 2.0, _b11 + _Nb1 / 2.0, 0.0);
var _eT2 = new _Zk1(Math.sin(-_e11 * (Math.PI / 180.0)), Math.cos(-_e11 * (Math.PI / 180.0)), 0.0);
_Bb3._1l1(_ZS2, _6T2, _eT2);
_Ab3._al1(_Mb1, -_Nb1 * _7l1, 1.0, 32000.0);
}
function _Kn3(_a11, _b11, _2N1, _3N1, _e11) {
var _Ss1 = [];
_Ss1[0] = Math.cos(_e11);
_Ss1[3] = Math.sin(_e11);
_Ss1[1] = -_Ss1[3];
_Ss1[4] = _Ss1[0];
_Ss1[0] *= _2N1;
_Ss1[3] *= _2N1;
_Ss1[1] *= _3N1;
_Ss1[4] *= _3N1;
_Ss1[2] = _a11;
_Ss1[5] = _b11;
_R41._tn3(_Ss1[0], _Ss1[3], _Ss1[1], _Ss1[4], _Ss1[2], _Ss1[5]);
}
function _Hn3(_bo3, _co3, _do3, _eo3) {
if (_Us1 === 0 && _Vs1 === 0 && _Ws1 == _R41.canvas.width && _Xs1 === _R41.canvas.height) {
} else {
_oY2[0] = 1;
_oY2[1] = 0;
_oY2[2] = 0;
_oY2[3] = 1;
_oY2[4] = 0;
_oY2[5] = 0;
_R41._Ts1(_oY2[0], _oY2[1], _oY2[2], _oY2[3], _oY2[4], _oY2[5]);
_R41.moveTo(_Us1, _Vs1);
_R41.lineTo(_Us1 + _Ws1, _Vs1);
_R41.lineTo(_Us1 + _Ws1, _Vs1 + _Xs1);
_R41.lineTo(_Us1, _Vs1 + _Xs1);
if (!(_Cv1 == _l13 && _bP1 == 4.0)) {
_R41.clip();
}
}
_oY2[0] = _bo3;
_oY2[1] = 0;
_oY2[2] = _do3;
_oY2[3] = 0;
_oY2[4] = _co3;
_oY2[5] = _eo3;
_R41._Ts1(_oY2[0], _oY2[3], _oY2[1], _oY2[4], _oY2[2], _oY2[5]);
}
function _Gn3(_fo3, _go3, _ho3, _io3, _e11) {
if (_Us1 === 0 && _Vs1 === 0 && _Ws1 == _R41.canvas.width && _Xs1 === _R41.canvas.height) {
} else {
_oY2[0] = 1;
_oY2[1] = 0;
_oY2[2] = 0;
_oY2[3] = 1;
_oY2[4] = 0;
_oY2[5] = 0;
_R41._Ts1(_oY2[0], _oY2[1], _oY2[2], _oY2[3], _oY2[4], _oY2[5]);
_R41.beginPath();
_R41.moveTo(_Us1, _Vs1);
_R41.lineTo(_Us1 + _Ws1, _Vs1);
_R41.lineTo(_Us1 + _Ws1, _Vs1 + _Xs1);
_R41.lineTo(_Us1, _Vs1 + _Xs1);
if (!(_Cv1 == _l13 && _bP1 == 4.0)) {
_R41.clip();
}
}
var _Z9 = _Ws1 / _ho3;
var __9 = _Xs1 / _io3;
_mM1 = _fo3;
_oM1 = _go3;
_qM1 = _ho3;
_sM1 = _io3;
_oY2[0] = _Z9;
_oY2[1] = 0;
_oY2[2] = -(_fo3 * _Z9) + _Us1;
_oY2[3] = 0;
_oY2[4] = __9;
_oY2[5] = -(_go3 * __9) + _Vs1;
_R41._Ts1(_oY2[0], _oY2[3], _oY2[1], _oY2[4], _oY2[2], _oY2[5]);
}
function _w31(_R01) {
var _X9 = _g31.length;
var _f31 = new Image();
_R01 = _5I1(_R01);
_f31.crossOrigin = _MK2;
_f31.src = _DI1(null, null, _R01);
_g31[_X9] = _f31;
return _X9;
}
function _jo3(_931, _a31) {
var _Y9 = document.createElement("canvas");
_Y9.width = _931;
_Y9.height = _a31;
var _X9 = _g31.length;
var _f31 = new Image(_931, _a31);
_f31.src = _DI1(null, null, _Y9.toDataURL());
_g31[_X9] = _f31;
return _X9;
}
function _ko3(_891, _a11, _b11, _Mb1, _Nb1, _Lo2) {
var context = _891.getContext("2d");
context.globalCompositeOperation = "copy";
context.drawImage(_Lo2, _a11, _b11);
}
function _zK1(_lo3) {
var _X9 = _g31.length;
_g31[_X9] = _lo3;
return _X9;
}
function _Pn3() {
_gn3++;
}
function _Qn3() {}
function _VK1(_YK1) {
var _tK1 = document.createElement(_0p1);
var _7e1 = _tK1.getContext("2d");
_vK1(_7e1);
_tK1.width = _YK1._Z9;
_tK1.height = _YK1.__9;
_7e1._xK1(_YK1._f31, _YK1.x, _YK1.y, _YK1._Z9, _YK1.__9, 0, 0, _YK1._Z9, _YK1.__9);
_tK1.complete = true;
return _tK1;
}
function _4L1(_YK1) {
var _2L1 = [];
var _dC1 = _YK1._dk * _YK1._ek * 4;
var _mo3;
for (var _X9 = 0; _X9 < _dC1; _X9++) _2L1[_X9] = 0;
if (_YK1._f31._o51) _mo3 = _131._As2(_YK1);
else {
var _tK1 = document.createElement(_0p1);
var _7e1 = _tK1.getContext("2d");
_vK1(_7e1);
_tK1.width = _YK1._Z9;
_tK1.height = _YK1.__9;
_7e1._xK1(_YK1._f31, _YK1.x, _YK1.y, _YK1._Z9, _YK1.__9, 0, 0, _YK1._Z9, _YK1.__9);
_tK1.complete = true;
var data, _KM1, _no3, _oo3;
try {
data = _7e1.getImageData(0, 0, _YK1._Z9, _YK1.__9);
} catch (_dc1) {
return _2L1;
}
_mo3 = data.data;
}
var _po3 = (_YK1._9k + _YK1._ak * _YK1._dk) * 4;
var _B21 = _YK1._Z9 * 4;
var x, y;
for (y = 0; y < _YK1.__9; y++) {
var _3g = _po3;
var _qo3 = y * _B21;
for (x = 0; x < _B21; x++) {
_2L1[_3g++] = _mo3[_qo3++];
}
_po3 += _YK1._dk * 4;
}
return _2L1;
}
function _Bn3(_YK1, _a11, _b11, _f41) {
if (!_YK1) return;
if (!_YK1._f31) return;
if (!_YK1._f31.complete) return;
if (_YK1._tK1 == null) _YK1._tK1 = _VK1(_YK1);
_a11 += _YK1._9k;
_b11 += _YK1._ak;
_R41.globalAlpha = _f41;
_R41._xK1(_YK1._tK1, ~~_a11, ~~_b11);
}
function _Sn3(_YK1, _a11, _b11, _f41) {
_Bn3(_YK1, _a11, _b11, _f41);
}
function _Cn3(_YK1, _a11, _b11, _f41) {
if (!_YK1) return;
if (!_YK1._f31) return;
if (!_YK1._f31.complete) return;
_R41.globalAlpha = _f41;
_R41._xK1(_YK1._f31, ~~_YK1.x, ~~_YK1.y, _YK1._Z9, _YK1.__9, Math.floor(_a11) + _YK1._9k, Math.floor(_b11) + _YK1._ak, _YK1._bk, _YK1._ck);
}
function _Tn3(_YK1, _a11, _b11, _f41) {
_Cn3(_YK1, _a11, _b11, _f41);
}
function _ro3(_Lo2) {
try {
_R41._xK1(_Lo2, 0, 0, _Lo2.width, _Lo2.height, canvas.width, canvas.height, 0, 0);
} catch (e) {
return false;
}
var _T51 = _Lo2.getContext("2d");
_T51.fillStyle = "white";
_T51.fillRect(0, 0, 1, 1);
var _Wj3 = _T51.getImageData(0, 0, 1, 1);
return _Wj3.data[0] === 255;
}
function _Dn3(_YK1, _a11, _b11, _so3, _to3, _uo3, _vo3, _081, _f41) {
var _Gx2 = _YK1._f31;
if (!_Gx2) return;
if (!_Gx2.complete) return;
if (_YK1._Z9 == 0 || _YK1.__9 == 0) return;
var _X9 = 0;
if (_uo3) _X9 = 1;
if (_vo3) _X9 |= 2;
if (_X9 === 0) {
_R41.globalAlpha = _f41;
_R41._xK1(_Gx2, _YK1.x, _YK1.y, _YK1._Z9, _YK1.__9, _a11 + _YK1._9k, _b11 + _YK1._ak, _YK1._bk * _so3, _YK1._ck * _to3);
return;
}
var _Z9 = _YK1._dk;
var __9 = _YK1._ek;
if (_vo3) {
_Z9 = ((((_yb3._pM1 + (_YK1._dk - 1)) / _YK1._dk) & 0xffffffff) + 2) * _YK1._dk;
_a11 = _mM1 + (((_a11 - _mM1) % _YK1._dk) - _YK1._dk);
}
if (_uo3) {
__9 = ((((_yb3._rM1 + (_YK1._ek - 1)) / _YK1._ek) & 0xffffffff) + 2) * _YK1._ek;
_b11 = _oM1 + (((_b11 - _oM1) % _YK1._ek) - _YK1._ek);
}
if (_YK1._7M1 != null && (_YK1._7M1.width < _Z9 * _YK1._wo3 || _YK1._7M1.height < __9 * _YK1._wo3)) {
_YK1._7M1 = null;
_YK1._xo3 = 0;
}
if (_YK1._6M1 != _X9 || !_YK1._7M1) {
_YK1._6M1 = _X9;
var buffer = document.createElement(_0p1);
var _7e1 = buffer.getContext("2d");
_vK1(_7e1);
buffer.width = _Z9;
buffer.height = __9;
_R41.globalAlpha = 1;
var _yo3 = 1;
while (_ro3(buffer) === false && buffer.width >= 64 && buffer.height >= 64) {
debug("WARNING: Tiled image quality reduction");
buffer.width /= 2;
buffer.height /= 2;
_yo3 /= 2;
}
var _vL2 = _YK1.x;
var _wL2 = _YK1.y;
if (_081 != _x41) {
_Gx2 = _z41(_YK1, _081);
_vL2 = 0;
_wL2 = 0;
}
var _OY1 = _Z9 / _YK1._dk;
var _PY1 = __9 / _YK1._ek;
for (var y = 0; y < _PY1; y++) {
for (var x = 0; x < _OY1; x++) {
_7e1._xK1(_Gx2, _vL2, _wL2, _YK1._Z9, _YK1.__9, _YK1._9k + x * _YK1._dk * _yo3, _YK1._ak + y * _YK1._ek * _yo3, _YK1._bk * _yo3, _YK1._ck * _yo3);
}
}
_YK1._wo3 = _yo3;
_YK1._7M1 = buffer;
}
_R41.globalAlpha = _f41;
_R41._xK1(_YK1._7M1, _a11, _b11, _YK1._7M1.width / _YK1._wo3, _YK1._7M1.height / _YK1._wo3);
}
function _En3(_YK1, _CK1, _DK1, _a11, _b11, _so3, _to3, _9N1, _Yq1, _Zq1, _Lt1, _Mt1, _f41) {
if (!_YK1._f31) return;
if (!_YK1._f31.complete) return;
if (abs(_so3) <= 0.0001 || abs(_to3) <= 0.0001 || _f41 <= 0) {
return;
}
_Yq1 &= 0xffffff;
var _Du1 = -(_CK1 - _YK1._9k);
var _Eu1 = -(_DK1 - _YK1._ak);
var _CL2 = _R41.globalAlpha;
_R41.globalAlpha = _f41;
if (_Yq1 != _x41) {
var _vm3 = _z41(_YK1, _Yq1);
var _b21 = Math.abs(_9N1);
if (_b21 < 0.0001 && _so3 == 1 && _to3 == 1 && _YK1._Z9 === _YK1._bk && _YK1.__9 === _YK1._ck) {
_R41._xK1(_vm3, _a11 + _Du1, _b11 + _Eu1);
} else {
if (_so3 < 0 || _to3 < 0 || _b21 > 0.0001) {
_Fm3(_a11, _b11, _so3, _to3, -_9N1);
_R41._xK1(_vm3, 0, 0, _YK1._Z9, _YK1.__9, _Du1, _Eu1, _YK1._bk, _YK1._ck);
_Hm3();
} else {
_R41._xK1(_vm3, 0, 0, _YK1._Z9, _YK1.__9, _a11 + _Du1 * _so3, _b11 + _Eu1 * _to3, _YK1._bk * _so3, _YK1._ck * _to3);
}
}
} else {
var _b21 = Math.abs(_9N1);
if (_b21 < 0.0001 && _so3 == 1 && _to3 == 1 && _YK1._Z9 === _YK1._bk && _YK1.__9 === _YK1._ck) {
if (_YK1._tK1 == null) {
_YK1._tK1 = _VK1(_YK1);
}
_R41._xK1(_YK1._tK1, _a11 + _Du1, _b11 + _Eu1);
} else {
if (_so3 < 0 || _to3 < 0 || _b21 > 0.001) {
_Fm3(_a11, _b11, _so3, _to3, -_9N1);
_R41._xK1(_YK1._f31, _YK1.x, _YK1.y, _YK1._Z9, _YK1.__9, _Du1, _Eu1, _YK1._bk, _YK1._ck);
_Hm3();
} else {
_R41._xK1(_YK1._f31, _YK1.x, _YK1.y, _YK1._Z9, _YK1.__9, _a11 + _Du1 * _so3, _b11 + _Eu1 * _to3, _YK1._bk * _so3, _YK1._ck * _to3);
}
}
}
_R41.globalAlpha = _CL2;
}
function _Un3(_YK1, _CK1, _DK1, _a11, _b11, _so3, _to3, _9N1, _Yq1, _Zq1, _Lt1, _Mt1, _f41) {
try {
_En3(_YK1._f31, _CK1, _DK1, _a11, _b11, _so3, _to3, _9N1, _Yq1, _Zq1, _Lt1, _Mt1, _f41);
} catch (_dc1) {
debug("error drawing image");
}
}
function _9o3(_891, _a11, _b11, _Mb1, _Nb1, _081) {
var buffer = document.createElement(_0p1);
var _7e1 = buffer.getContext("2d");
_vK1(_7e1);
buffer.width = _Mb1;
buffer.height = _Nb1;
_7e1._xK1(_891, _a11, _b11, _Mb1, _Nb1, 0, 0, _Mb1, _Nb1);
if (~~_081 != 0xffffff) {
var data, _KM1, _no3, _oo3;
data = _7e1._JM1(0, 0, buffer.width, buffer.height);
_KM1 = data.data;
var _zo3 = _7e1._wn3(buffer.width, buffer.height);
_oo3 = _zo3.data;
var _b21 = ((_081 >> 16) & 0xff) / 255;
var _k41 = ((_081 >> 8) & 0xff) / 255;
var _e21 = (_081 & 0xff) / 255;
var _OJ1 = data.height * data.width * 4;
for (var _X9 = _OJ1 - 4; _X9 >= 0; _X9 -= 4) {
_oo3[_X9] = (_KM1[_X9] * _b21) | 0;
_oo3[_X9 + 1] = (_KM1[_X9 + 1] * _k41) | 0;
_oo3[_X9 + 2] = (_KM1[_X9 + 2] * _e21) | 0;
_oo3[_X9 + 3] = _KM1[_X9 + 3];
}
_zo3.data = _oo3;
_7e1._Xj3(_zo3, 0, 0);
}
return buffer;
}
function _Ao3(_YK1, _t21, _u21, _R11, _S11, _9u1, _au1, _Bo3, _Co3, _f41) {
var _Gx2 = _YK1._f31;
if (!_Gx2) return;
if (!_Gx2.complete) return;
_R41.globalAlpha = _f41;
_Do3(_Gx2, _t21, _u21, _R11, _S11, _9u1, _au1, _YK1.x, _YK1.y, _YK1.x + _YK1._Z9, _YK1.y, _YK1.x + _YK1._Z9, _YK1.y + _YK1.__9);
_Do3(_Gx2, _9u1, _au1, _Bo3, _Co3, _t21, _u21, _YK1.x + _YK1._Z9, _YK1.y + _YK1.__9, _YK1.x, _YK1.y + _YK1.__9, _YK1.x, _YK1.y);
}
function _Do3(_U51, _V51, _W51, __11, _021, _121, _221, _X51, _Y51, _Z51, __51, _061, _161) {
_Rs1();
_R41._Vt1();
_R41._Wt1(_V51, _W51);
_R41._Xt1(__11, _021);
_R41._Xt1(_121, _221);
_R41._Yt1();
_R41._xn3();
var _261 = _X51 * (_161 - __51) - _Z51 * _161 + _061 * __51 + (_Z51 - _061) * _Y51;
if (_261 == 0) return;
var _361 = -(_Y51 * (_121 - __11) - __51 * _121 + _161 * __11 + (__51 - _161) * _V51) / _261;
var _461 = (__51 * _221 + _Y51 * (_021 - _221) - _161 * _021 + (_161 - __51) * _W51) / _261;
var _561 = (_X51 * (_121 - __11) - _Z51 * _121 + _061 * __11 + (_Z51 - _061) * _V51) / _261;
var _661 = -(_Z51 * _221 + _X51 * (_021 - _221) - _061 * _021 + (_061 - _Z51) * _W51) / _261;
var _761 = (_X51 * (_161 * __11 - __51 * _121) + _Y51 * (_Z51 * _121 - _061 * __11) + (_061 * __51 - _Z51 * _161) * _V51) / _261;
var _861 = (_X51 * (_161 * _021 - __51 * _221) + _Y51 * (_Z51 * _221 - _061 * _021) + (_061 * __51 - _Z51 * _161) * _W51) / _261;
_R41._tn3(_361, _461, _561, _661, _761, _861);
_R41._xK1(_U51, 0, 0);
_Ys1();
}
function _Ln3(_YK1, _0C1, _1C1, _931, _a31, _a11, _b11, _Dm1, _Em1, _ZM1, _f41) {
if (!_YK1) return;
if (!_YK1._f31) return;
if (!_YK1._f31.complete) return;
_ZM1 &= 0xffffff;
_R41.globalAlpha = _f41;
if (_0C1 < _YK1._9k) {
var _Eo3 = _YK1._9k - _0C1;
_a11 += _Eo3;
_931 -= _Eo3;
_0C1 = 0;
} else {
_0C1 -= _YK1._9k;
}
if (_1C1 < _YK1._ak) {
var _Eo3 = _YK1._ak - _1C1;
_b11 += _Eo3;
_a31 -= _Eo3;
_1C1 = 0;
} else {
_1C1 -= _YK1._ak;
}
if (_931 > _YK1._bk - _0C1) _931 = _YK1._bk - _0C1;
if (_a31 > _YK1._ck - _1C1) _a31 = _YK1._ck - _1C1;
if (_931 <= 0 || _a31 <= 0) return;
_a11 = ~~_a11;
_b11 = ~~_b11;
if (_ZM1 != _x41) {
var _vm3 = _z41(_YK1, _ZM1);
if (_Dm1 < 0 || _Em1 < 0) {
_Fm3(_a11, _b11, _Dm1, _Em1, 0);
_R41._xK1(_vm3, _0C1, _1C1, _931, _a31, 0, 0, _931, _a31);
_Hm3();
} else {
_R41._xK1(_vm3, _0C1, _1C1, _931, _a31, _a11, _b11, _931 * _Dm1, _a31 * _Em1);
}
} else {
if (_Dm1 < 0 || _Em1 < 0) {
_Fm3(_a11, _b11, _Dm1, _Em1, 0);
_R41._xK1(_YK1._f31, _0C1 + _YK1.x, _1C1 + _YK1.y, _931, _a31, 0, 0, _931, _a31);
_Hm3();
} else {
_R41._xK1(_YK1._f31, _0C1 + _YK1.x, _1C1 + _YK1.y, _931, _a31, _a11, _b11, _931 * _Dm1, _a31 * _Em1);
}
}
}
function _WM1(_YK1, _a11, _b11, _Mb1, _Nb1, _ZM1, _f41) {
if (!_YK1) return;
if (!_YK1._f31) return;
if (_YK1._f31 instanceof HTMLImageElement && !_YK1._f31.complete) return;
_a11 = ~~_a11;
_b11 = ~~_b11;
var _vL2 = _Mb1 / _YK1._dk;
var _wL2 = _Nb1 / _YK1._ek;
_nn3(_YK1, 0, 0, _a11, _b11, _vL2, _wL2, 0, _ZM1, _ZM1, _ZM1, _ZM1, _f41);
}
var _Fo3 = _Go3;
function _Go3(_Ho3, _Io3) {
if (_131) return false;
var buffer = document.createElement(_0p1);
var _7e1 = buffer.getContext("2d");
_vK1(_7e1);
buffer.width = _Ho3._Z9;
buffer.height = _Ho3.__9;
_7e1.drawImage(_Io3._f31, _Io3.x, _Io3.y, _Io3._Z9, _Io3.__9, 0, 0, _Ho3._Z9, _Ho3.__9);
var _Jo3, _Ko3, _Lo3, _Mo3, _No3;
try {
_Ko3 = _7e1.getImageData(0, 0, _Ho3._Z9, _Ho3.__9);
_No3 = _Ho3._f31.getContext("2d");
_vK1(_No3);
_Lo3 = _No3.getImageData(_Ho3.x, _Ho3.y, _Ho3._Z9, _Ho3.__9);
} catch (_dc1) {
return false;
}
_Jo3 = _Ko3.data;
_Mo3 = _Lo3.data;
var _OJ1 = _Lo3.height * _Lo3.width * 4;
for (var _X9 = _OJ1 - 4; _X9 >= 0; _X9 -= 4) {
var _Y9 = ~~((_Jo3[_X9] + _Jo3[_X9 + 1] + _Jo3[_X9 + 2]) / 3);
_Mo3[_X9 + 3] = _Y9;
}
_Lo3.data = _Mo3;
_No3.putImageData(_Lo3, 0, 0);
return true;
}
function _On3(_gq1, _Qp1, _a11, _b11, _Dm1, _Em1, _e11, _081, _f41) {
_R41.globalAlpha = _f41;
_R41.fillStyle = _ie1(_081, 1.0);
_R41.font = _gq1;
_R41.textBaseline = "top";
_Fm3(_a11, _b11, _Dm1, _Em1, -_e11);
_R41.fillText(_Qp1, 0, 0);
_Hm3();
}
function _8e1(_Oo3, _Mb1, _Nb1) {
try {
var data, _KM1, _no3, _oo3;
data = _Oo3._JM1(0, 0, _Mb1, _Nb1);
_KM1 = _oo3 = data.data;
var _Po3 = (_Nb1 - 1) * _Mb1 * 4;
var _b21 = _KM1[_Po3 + 0];
var _k41 = _KM1[_Po3 + 1];
var _e21 = _KM1[_Po3 + 2];
var _l41 = _KM1[_Po3 + 3];
var _OJ1 = data.height * data.width * 4;
for (var _X9 = _OJ1 - 4; _X9 >= 0; _X9 -= 4) {
_oo3[_X9 + 0] = _KM1[_X9 + 0];
_oo3[_X9 + 1] = _KM1[_X9 + 1];
_oo3[_X9 + 2] = _KM1[_X9 + 2];
if (_oo3[_X9 + 0] == _b21 && _oo3[_X9 + 1] == _k41 && _oo3[_X9 + 2] == _e21) {
_oo3[_X9 + 3] = 0x0;
} else {
_oo3[_X9 + 3] = _KM1[_X9 + 3];
}
}
_Oo3._Xj3(data, 0, 0);
} catch (_dc1) {
return false;
}
return true;
}
function _Rn3(_No1) {}
var _Qo3 = [];
var _Ro3 = 0,
_So3 = 0;
function _Qv1(_To3) {
this._Uo3 = false;
this._Vo3 = [];
this._Wo3 = _To3;
this._Xo3 = "";
this._Yo3 = 0;
this._Zo3 = 0;
}
function _Pv1(__o3, _0p3) {
var _Ba1 = _7d1(__o3, _0p3);
var _1p3 = new _Qv1(__o3);
_1p3._Xo3 = _Ba1;
_1p3._2p3();
var _d31 = 0;
for (var _X9 in _1p3._Vo3) {
if (!_1p3._Vo3.hasOwnProperty(_X9)) continue;
_d31++;
break;
}
if (_d31 == 0) return null;
return _1p3;
}
_Qv1.prototype._Hp1 = function () {
while (this._Xo3.charCodeAt(this._Yo3) != 0x0a && this._Xo3.charCodeAt(this._Yo3) != 0x0d && this._Yo3 < this._zi3) {
this._Yo3++;
}
this._Zo3++;
this._Yo3++;
if (this._Yo3 >= this._zi3) return;
if (this._Xo3.charCodeAt(this._Yo3) == 0x0a && this._Xo3.charCodeAt(this._Yo3) == 0x0d) {
this._Yo3++;
}
};
_Qv1.prototype._3p3 = function () {
{
if (this._Yo3 >= this._zi3) return false;
var _Y9 = this._Xo3.charCodeAt(this._Yo3);
if (_Y9 == 0x20 || _Y9 == 0x09 || _Y9 == 0x0a || _Y9 == 0x0d || _Y9 == _gS("#") || _Y9 == _gS(";")) {
return true;
} else {
return false;
}
}
};
_Qv1.prototype._Ip1 = function () {
{
while (this._3p3() && this._Yo3 < this._zi3) {
var _Y9 = this._Xo3.charCodeAt(this._Yo3);
if (_Y9 == "#" || _Y9 == ";") {
this._Hp1();
} else if (_Y9 == 0x0a) {
this._Zo3++;
}
this._Yo3++;
}
if (this._Yo3 >= this._zi3) return;
}
};
_Qv1.prototype._4p3 = function () {
{
this._Ip1();
while (this._Xo3.charAt(this._Yo3) != "[" && this._Yo3 < this._zi3) {
this._Yo3++;
}
if (this._Yo3 >= this._zi3) return null;
this._Yo3++;
var _5p3 = this._Yo3;
while (this._Xo3.charAt(this._Yo3) != "]" && this._Yo3 < this._zi3) {
this._Yo3++;
}
if (this._Yo3 >= this._zi3) return null;
var _Bc1 = this._Yo3 - _5p3;
var _6p3 = [];
_6p3.__m_pIniFileName__ = this._Xo3.substr(_5p3, _Bc1);
this._Yo3++;
return _6p3;
}
};
_Qv1.prototype._7p3 = function (_8p3) {
{
this._Ip1();
if (this._Yo3 >= this._zi3 || this._Xo3.charAt(this._Yo3) == "[") return false;
var _5p3 = this._Yo3;
var _9p3 = -1;
while (this._Xo3.charAt(this._Yo3) != "=" && this._Yo3 < this._zi3) {
if (this._3p3()) {
if (_9p3 < 0) _9p3 = this._Yo3;
} else {
_9p3 = -1;
}
this._Yo3++;
}
if (this._Yo3 >= this._zi3) return false;
if (_9p3 < 0) _9p3 = this._Yo3;
var _Bc1 = _9p3 - _5p3;
var _LP1 = this._Xo3.substr(_5p3, _Bc1);
while (this._Xo3.charAt(this._Yo3) != "=" && this._Yo3 < this._zi3) {
this._Yo3++;
}
if (this._Yo3 >= this._zi3) return false;
this._Yo3++;
var __p1 = this._Zo3;
this._Ip1();
if (__p1 != this._Zo3) return false;
var _ap3 = _gS("#");
var _bp3 = _gS(";");
var _cp3 = false;
var _F21 = this._Xo3.charCodeAt(this._Yo3);
switch (_F21) {
case 34:
case 39:
_ap3 = _F21;
_bp3 = _F21;
_cp3 = true;
this._Yo3++;
break;
case 91:
case 123:
_ap3 = -1;
_bp3 = -1;
break;
}
_5p3 = this._Yo3;
var _dp3 = -1;
var _Y9 = this._Xo3.charCodeAt(this._Yo3);
while (_Y9 != 0x0a && _Y9 != 0x0d && _Y9 != _ap3 && _Y9 != _bp3 && this._Yo3 < this._zi3) {
if (_Y9 == 0x20 || _Y9 == 0x09) {
if (_dp3 < 0) _dp3 = this._Yo3;
} else {
_dp3 = -1;
}
if (_Y9 == _gS("\\")) this._Yo3++;
this._Yo3++;
_Y9 = this._Xo3.charCodeAt(this._Yo3);
}
if (_dp3 >= 0 && !_cp3) {
_Bc1 = _dp3 - _5p3;
} else {
_Bc1 = this._Yo3 - _5p3;
}
var _Xm2 = this._Xo3.substr(_5p3, _Bc1);
_8p3[_LP1] = _Xm2;
if (_cp3) {
_F21 = this._Xo3.charCodeAt(this._Yo3);
if (_F21 == _ap3 && _F21 == _bp3) {
while (this._Xo3.charCodeAt(this._Yo3) != 0x0a && this._Xo3.charCodeAt(this._Yo3) != 0x0d && this._Yo3 < this._zi3) {
this._Yo3++;
}
}
}
return true;
}
};
_Qv1.prototype._2p3 = function () {
{
if (this._Xo3 == null) return false;
this._zi3 = this._Xo3.length;
this._Yo3 = 0;
this._Zo3 = 0;
var _6p3 = this._4p3();
if (_6p3 == null) {
this._Xo3 = null;
return false;
}
this._Vo3[_6p3.__m_pIniFileName__] = _6p3;
while (this._Yo3 < this._zi3) {
var _4o1 = this._7p3(_6p3);
if (!_4o1) {
if (this._Yo3 < this._zi3) {
if (this._Xo3.charAt(this._Yo3) == "[") {
_6p3 = this._4p3();
if (_6p3 == null) {
this._Xo3 = null;
return true;
}
this._Vo3[_6p3.__m_pIniFileName__] = _6p3;
}
}
}
}
this._Xo3 = null;
return true;
}
};
_Qv1.prototype._ep3 = function (_fp3, _gp3) {
{
var _6p3 = this._Vo3[_fp3];
if (_6p3 != null && _6p3 != undefined) {
var _Xm2 = _6p3[_gp3];
if (_Xm2 != undefined) return _Xm2;
}
return null;
}
};
_Qv1.prototype._Vv1 = function (_fp3, _gp3, _Tv1) {
{
var _LP1 = this._ep3(_fp3, _gp3);
if (_LP1 != null) {
return parseFloat(_LP1);
} else {
return parseFloat(_Tv1);
}
}
};
_Qv1.prototype._Uv1 = function (_fp3, _gp3, _Tv1) {
{
var _LP1 = this._ep3(_fp3, _gp3);
if (_LP1 != null) {
return _LP1;
} else {
return _Tv1;
}
}
};
_Qv1.prototype._Wv1 = function (_fp3, _gp3, _hp3) {
this._Uo3 = true;
var _6p3 = this._Vo3[_fp3];
if (_6p3 == null || _6p3 == undefined) {
_6p3 = [];
_6p3.__m_pIniFileName__ = _fp3;
this._Vo3[_6p3.__m_pIniFileName__] = _6p3;
}
_6p3[_gp3] = _hp3;
return true;
};
_Qv1.prototype._Rv1 = function () {
var _Ba1 = "";
var _Fo1 = _Br1(0x0d) + _Br1(0x0a);
for (var _ip3 in this._Vo3) {
if (!this._Vo3.hasOwnProperty(_ip3)) continue;
_Ba1 = _Ba1 + "[" + _ip3 + "]" + _Fo1;
var _6p3 = this._Vo3[_ip3];
for (var key in _6p3) {
if (!_6p3.hasOwnProperty(key)) continue;
if (key != "__m_pIniFileName__") {
var _Xm2 = _6p3[key];
if (_Xm2 != null) {
if (_Xm2.indexOf('"') < 0) {
_Ba1 += key + '="' + _Xm2 + '"' + _Fo1;
} else if (_Xm2.indexOf("'") < 0) {
_Ba1 += key + "='" + _Xm2 + "'" + _Fo1;
} else {
_Ba1 += key + "=" + _Xm2 + _Fo1;
}
}
}
}
}
if (this._Uo3) {
_4d1(this._Wo3, _Ba1);
this._Uo3 = false;
}
return _Ba1;
};
function _5I1(__o3) {
if (__o3.substring(0, 5) == "file:") return __o3;
if (__o3.substring(0, 7) == "http://" || __o3.substring(0, 8) == "https://") return __o3;
if (__o3.substring(0, _x31.length) == _x31) return _DI1(null, null, __o3);
return _DI1(null, null, _x31 + __o3);
}
function _jp3(__o3) {
if (__o3.substring(0, 5) == "file:") return false;
if (__o3.substring(0, 4) == "ftp:") return false;
if (__o3.substring(0, 7) == "gopher:") return false;
if (__o3.substring(0, 7) == "mailto:") return false;
if (__o3.substring(0, 5) == "news:") return false;
if (__o3.substring(0, 5) == "nntp:") return false;
if (__o3.substring(0, 7) == "telnet:") return false;
if (__o3.substring(0, 5) == "wais:") return false;
if (__o3.substring(0, 5) == "news:") return false;
if (__o3.substring(1, 1) == ":") return false;
return true;
}
function _kp3(_kv1) {
try {
var _lp3 = new XMLHttpRequest();
_lp3.open("HEAD", _kv1, false);
_lp3.send();
_So3 = _lp3.status;
var _mp3 = _lp3.status != 404 && _lp3.status != 0;
return _mp3;
} catch (e) {
return false;
}
}
function _np3(_DV2, _0W2) {
try {
var _vl1 = !window.XMLHttpRequest ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
_vl1.open(_0W2 ? "PUT" : "GET", _DV2, false);
_vl1.setRequestHeader("Content-Type", "text/html");
_vl1.send(_0W2 ? _0W2 : "");
_So3 = _vl1.status;
return _vl1.responseText;
} catch (e) {
return null;
}
}
function _4d1(_Yc1, _Ed3) {
if (_op3) {
return false;
} else if (_Tp1) {
try {
window.localStorage[_Up1(_Yc1)] = _Ed3;
return true;
} catch (_dc1) {
return false;
}
}
}
function _7d1(__o3, _0p3) {
var _Ba1 = null;
if (__o3.substring(0, 5) == "file:") return null;
if (_0p3) {
if (__o3.substring(0, 7) == "http://" || __o3.substring(0, 8) == "https://") return;
if (_op3) {
return null;
} else if (_Tp1) {
try {
_Ba1 = window.localStorage[_Up1(__o3)];
} catch (_dc1) {
return null;
}
if (_Ba1 == undefined || _Ba1 == null) return null;
}
} else {
if (!_jp3(__o3)) return null;
__o3 = _5I1(__o3);
_Ba1 = _np3(__o3, false);
if (_Ba1 == null || _Ba1 == undefined) return null;
if (_So3 == 404) return null;
}
return _Ba1;
}
function _Sp1(__o3, _0p3) {
var _Ba1 = null;
if (__o3.substring(0, 5) == "file:") return null;
if (_0p3) {
if (_op3) {
return false;
} else if (_Tp1) {
try {
var name = _Up1(__o3);
if (window.localStorage[name] && window.localStorage[name] !== undefined) {
return true;
}
return false;
} catch (_dc1) {
return false;
}
}
} else {
if (!_jp3(__o3)) {
return false;
}
__o3 = _5I1(__o3);
return _kp3(__o3);
}
}
var _pp3 = new _tp1(0, 0, 0, 0);
var _qp3 = null;
var _rp3 = -1;
var _sp3 = -1;
var _BZ2 = 0;
function _WX2(_tp3, _up3, _Ub1, _vp3, _wp3, _xp3) {
this.__type = "[instance]";
this.x = _tp3;
this.y = _up3;
this._YI = _tp3;
this._ZI = _up3;
this._yp3 = _tp3;
this._zp3 = _up3;
this._Yf = 0;
this._Zf = 0;
this._tI = 0;
this._E2 = 0;
this._O42 = 0;
this._P52 = 0;
this._Ap3 = 270;
this._aF2 = _vp3;
this.id = _Ub1;
this._cl = true;
this._Bp3 = true;
this._rx = [];
for (var _X9 = 0; _X9 <= _G_2 - 1; _X9++) {
this._rx[_X9] = -1;
}
this._kC1 = true;
this._4a = true;
this._fc = false;
this._Xf = 0;
this._tC1 = new _tp1(0, 0, 0, 0);
this._wC = 0;
this._oC = 0;
this._Cp3 = 0;
this._Dp3 = 0;
this._Ep3 = 0;
this._Fp3 = 0;
this._Gp3 = 0;
this._tC = 1.0;
this._nC = 1.0;
this._6N1 = 0;
this._zd1 = 1.0;
this._7N1 = 0xffffff;
this._SG = 1;
this._HZ2 = -1;
this._KE2 = -1;
this._2_2 = 0;
this._3_2 = 0;
this._Hp3 = 0;
this._Ip3 = 1;
this._Jp3 = 0;
this._Kp3 = 0;
this._Lp3 = 0;
this._Mp3 = 0;
this._x_2 = -1;
this._B_2 = 0;
this._z_2 = 1;
this._y_2 = true;
this._C_2 = false;
this._Np3 = -1;
this._Op3 = false;
this._bl = false;
this._Pp3 = null;
this._Qp3 = false;
this._rC1 = true;
this._q_2 = false;
this._fw1 = null;
this._Rp3 = null;
this._ME2 = null;
this._Ke3 = null;
this._JZ2 = false;
if (!_xp3) {
this._DZ2 = _BZ2;
this._dw1(_vp3, _wp3, true);
this._ew1(this._fw1._gw1);
} else {
this._DZ2 = 0;
this._aF2 = 0;
this._wC = 0;
this._Sp3 = null;
}
this._Ey1 = -1;
this._Fy1 = false;
}
_WX2.prototype._kr = function (_a11) {
_a11 = yyGetReal(_a11);
if (this.x === _a11) return;
this.x = _a11;
this._rC1 = true;
};
_WX2.prototype._Us = function (_b11) {
_b11 = yyGetReal(_b11);
if (this.y === _b11) return;
this.y = _b11;
this._rC1 = true;
};
_WX2.prototype._Oy = function (_1B2) {
_1B2 = yyGetReal(_1B2);
if (this._tC === _1B2) return;
this._tC = _1B2;
this._rC1 = true;
};
_WX2.prototype._Py = function (_1B2) {
_1B2 = yyGetReal(_1B2);
if (this._nC === _1B2) return;
this._nC = _1B2;
this._rC1 = true;
};
_WX2.prototype._jr = function () {
return this._Xf;
};
_WX2.prototype._yd1 = function (_081) {
this._7N1 = yyGetInt32(_081);
};
_WX2.prototype._Tp3 = function () {
return this._7N1;
};
_WX2.prototype._Vw = function (_Ub1) {
this._wC = yyGetInt32(_Ub1);
this._rC1 = true;
this._Sp3 = null;
};
_WX2.prototype._XB = function (_Up3) {
this._oC = yyGetInt32(_Up3);
};
_WX2.prototype._cX = function () {
var _ne3 = _r11._s11(this._wC);
if (!_ne3) return 0;
var _Vp3 = this._P31();
if (_Vp3) {
return _Vp3._y01(_ne3);
} else if (_ne3._Wp3 !== null && _ne3._Wp3 !== undefined) {
return _ne3._Wp3._cV2;
}
return _ne3._yK1.length;
};
_WX2.prototype._OM = function () {
var _ne3 = _r11._s11(this._wC);
if (!_ne3) return 0;
return _ne3.width * this._tC;
};
_WX2.prototype._Vs = function () {
var _ne3 = _r11._s11(this._wC);
if (!_ne3) return 0;
return _ne3.height * this._nC;
};
_WX2.prototype._ir = function (_ed1) {
_ed1 = yyGetReal(_ed1);
if (this._Xf != _ed1) {
this._Xf = _ed1;
_D01._Xp3[_D01._Xp3.length] = this;
}
};
_WX2.prototype._E81 = function (_Yp3, _Vf3) {
if (this.x == _Yp3 && this.y == _Vf3) return;
this.x = _Yp3;
this.y = _Vf3;
this._rC1 = true;
};
_WX2.prototype._IE1 = function (_8r1, _Zp3) {
if (this._fw1 != null) {
this._fw1._iz1(this);
this._fw1 = null;
}
for (var _J41 in _8r1) {
var _ot1 = _8r1[_J41];
this[_J41] = _ot1;
}
this._tC1 = new _tp1();
this._tC1._Pb1(_8r1._tC1);
for (var _X9 = 0; _X9 <= _G_2 - 1; _X9++) {
var _l41 = _8r1._rx[_X9];
this._rx[_X9] = _l41;
}
if (_Zp3 && this._fw1 != null) {
this._fw1._cz1(this);
}
var _Vp3 = this._P31();
if (_Vp3) {
this._Sp3 = _Vp3._b01();
}
this._Ey1 = _8r1._nT();
};
_WX2.prototype._dw1 = function (_bw1, _Zp3, __p3) {
this._aF2 = _bw1;
if (this._fw1 != null) {
this._fw1._iz1(this);
this._fw1 = null;
this._Rp3 = null;
}
if (_bw1 == -1) _bw1 = 0;
this._Rp3 = this._fw1 = _o01._s11(_bw1);
if (this._fw1 != null) {
if (_Zp3) {
this._fw1._cz1(this);
}
this._EZ2 = this._fw1._EZ2;
this._HZ2 = this._fw1._0q3;
if (!_F01) {
if (__p3) {
this._Xf = this._fw1._1q3;
} else {
this._ir(this._fw1._1q3);
}
}
this._kC1 = this._fw1._2q3;
this._4a = this._fw1._3q3;
this._fc = this._fw1._4q3;
this._rC1 = true;
}
};
_WX2.prototype._ew1 = function (_G31) {
var _ne3 = _r11._s11(_G31);
if (_ne3) {
this._tC1.left = _ne3._tC1.left;
this._tC1.right = _ne3._tC1.right;
this._tC1.top = _ne3._tC1.top;
this._tC1.bottom = _ne3._tC1.bottom;
}
this._wC = _G31;
this._Sp3 = null;
if (this._fw1 !== null) {
this._P31();
}
};
_WX2.prototype._hw1 = function (_py1) {
if (_py1 && this._ME2) {
_py1._uF1._m62(this._ME2);
}
this._ME2 = null;
if (this._fw1._5q3._LE2) {
this._6q3();
this._rC1 = true;
}
};
_WX2.prototype._6q3 = function () {
if (!this._fw1._5q3._LE2) {
return;
}
if (!_0A1(this._wC)) {
return;
}
var _8L1 = _r11._s11(this._wC);
if (!_D01._uF1) {
return;
}
var _ZE1 = _YE1();
var _7q3 = this._fw1._5q3,
_8q3 = 0.0,
_9q3 = 0.0;
switch (_7q3._aq3) {
case _bq3:
{
var _cq3 = 1.0;
if (Math.abs(this._tC - this._nC) < 0.0001) {
_cq3 = this._tC;
} else {
debug("Image scale for physics object using circle collision should not vary across axes: " + this._fw1._Td3);
}
_8q3 = -_7q3._dq3[0] * _cq3;
_9q3 = -_7q3._dq3[1] * _cq3;
var _2U1 = _7q3._dq3[2] * _cq3;
_rF1(_ZE1, _2U1);
}
break;
case _eq3:
case _fq3:
{
_wF1(_ZE1);
if (this._tC * this._nC < 0) {
for (var _W11 = _7q3._dq3.length - 2; _W11 >= 0; _W11 -= 2) {
_yF1(_ZE1, _7q3._dq3[_W11 + 0] * this._tC, _7q3._dq3[_W11 + 1] * this._nC);
}
} else {
for (var _W11 = 0; _W11 < _7q3._dq3.length; _W11 += 2) {
_yF1(_ZE1, _7q3._dq3[_W11 + 0] * this._tC, _7q3._dq3[_W11 + 1] * this._nC);
}
}
}
break;
}
_mF1(_ZE1, _7q3._gq3);
_jF1(_ZE1, _7q3._hq3);
_gF1(_ZE1, _7q3._iq3);
_dF1(_ZE1, _7q3._jq3);
_4F1(_ZE1, _7q3._kq3);
_7F1(_ZE1, _7q3._lq3);
if (_7q3._mq3 != undefined) {
_aF1(_ZE1, _7q3._mq3);
}
if (_7q3._nq3 != undefined) {
_oF1(_ZE1, _7q3._nq3);
}
if (_7q3._oq3 != undefined) {
_0F1(_ZE1, _7q3._oq3);
}
_KF1(this, _ZE1, this.id, _8q3, _9q3);
};
_WX2.prototype._pq3 = function () {
with (this) {
if (this._Yf == 0) {
if (this._Zf > 0) {
this._tI = 270;
} else if (this._Zf < 0) {
this._tI = 90;
} else {
this._tI = 0;
}
} else {
var _wu1 = _qq3((180 * Math.atan2(this._Zf, this._Yf)) / _g21);
if (_wu1 <= 0) {
this._tI = -_wu1;
} else {
this._tI = 360.0 - _wu1;
}
}
if (Math.abs(this._tI - _zc1(this._tI)) < 0.0001) {
this._tI = _zc1(this._tI);
}
this._tI = _Ic3(this._tI, 360.0);
this._E2 = Math.sqrt(_ql1(this._Yf) + _ql1(this._Zf));
if (Math.abs(this._E2 - _zc1(this._E2)) < 0.0001) this._E2 = _zc1(this._E2);
}
};
_WX2.prototype._rq3 = function () {
this._Yf = this._E2 * _qq3(Math.cos(this._tI * 0.0174532925));
this._Zf = -this._E2 * _qq3(Math.sin(this._tI * 0.0174532925));
if (Math.abs(this._Yf - _zc1(this._Yf)) < 0.0001) {
this._Yf = _zc1(this._Yf);
}
if (Math.abs(this._Zf - _zc1(this._Zf)) < 0.0001) {
this._Zf = _zc1(this._Zf);
}
};
function _qq3(_sq3) {
return ~~(_sq3 * 1000000) / 1000000.0;
}
_WX2.prototype._tq3 = function (_QA1, _it1) {
this._Yf += _it1 * _qq3(Math.cos(_QA1 * 0.0174532925));
this._Zf -= _it1 * _qq3(Math.sin(_QA1 * 0.0174532925));
this._pq3();
};
_WX2.prototype._uq3 = function () {
if (this._O42 != 0.0) {
var _vq3;
if (this._E2 > 0) {
_vq3 = this._E2 - this._O42;
} else {
_vq3 = this._E2 + this._O42;
}
if (this._E2 > 0 && _vq3 < 0) {
this._XI(0);
} else if (this._E2 < 0 && _vq3 > 0) {
this._XI(0);
} else if (this._E2 != 0) {
this._XI(_vq3);
}
}
if (this._P52 != 0) {
this._tq3(this._Ap3, this._P52);
}
};
_WX2.prototype._wq3 = function () {
var _ne3 = _r11._s11(this._wC);
var _Vp3 = this._P31();
if (_Vp3) {
return _Vp3._y01(_ne3);
}
return _r11._xq3(this._wC);
};
_WX2.prototype._B11 = function (_j01, _G31, _8r1, _ir1, _yq3) {
if (_yq3 == undefined) {
_yq3 = _8r1._fw1;
}
var _zq3 = _qp3;
var _Aq3 = _rp3;
var _Bq3 = _sp3;
var result = false;
var _Cq3 = false;
if (_j01 == _9F2) {
var _Dq3 = _o01._s11(_G31);
while (_Dq3 != null && !_Cq3) {
var _8q1 = _yq3;
while (_8q1 != null && !_Cq3) {
if (_8q1._gr1[_j01]) {
if (_8q1._5e3[_Dq3._rw1]) {
_qp3 = _8q1;
_rp3 = _j01;
_sp3 = _Dq3._rw1;
result = _8q1._B11(_j01, _Dq3._rw1, _8r1, _ir1);
_Cq3 = true;
break;
}
}
_8q1 = _8q1._1p1;
}
_Dq3 = _Dq3._1p1;
}
} else {
var _8q1 = _yq3;
var _Eq3 = _j01 | _G31;
while (_8q1 != null) {
if (_8q1._gr1[_Eq3]) {
_qp3 = _8q1;
_rp3 = _j01;
_sp3 = _G31;
result = _8q1._B11(_j01, _G31, _8r1, _ir1);
break;
}
_8q1 = _8q1._1p1;
}
}
_qp3 = _zq3;
_rp3 = _Aq3;
_sp3 = _Bq3;
return result;
};
_WX2.prototype._jr1 = function (_j01, _G31, _ir1) {
if (_qp3 != null) {
if (_qp3._1p1 != null) {
this._B11(_j01, _G31, this, _ir1, _qp3._1p1);
}
}
};
_WX2.prototype._0H = function (_M01) {
_M01 = yyGetReal(_M01);
if (this._Yf == _M01) return;
this._Yf = _M01;
this._pq3();
};
_WX2.prototype._1H = function (_M01) {
_M01 = yyGetReal(_M01);
if (this._Zf == _M01) return;
this._Zf = _M01;
this._pq3();
};
_WX2.prototype._GY = function (_M01) {
_M01 = yyGetReal(_M01);
while (_M01 < 0.0) {
_M01 += 360.0;
}
while (_M01 > 360.0) {
_M01 -= 360.0;
}
this._tI = _Ic3(_M01, 360.0);
this._rq3();
};
_WX2.prototype._XI = function (_M01) {
_M01 = yyGetReal(_M01);
if (this._E2 == _M01) return;
this._E2 = _M01;
this._rq3();
};
_WX2.prototype._sC1 = function () {
var _8L1, _d21;
var _uY2 = this._HZ2 >= 0 ? this._HZ2 : this._wC;
if (_uY2 < 0 || _uY2 > _r11._m2.length) {
if (!this._tC1) {
this._tC1 = new _tp1(0, 0, 0, 0);
}
this._tC1.left = this.x;
this._tC1.top = this.y;
this._tC1.right = this.x;
this._tC1.bottom = this.y;
this._Qp3 = false;
} else {
var _tC1 = this._tC1;
_8L1 = _r11._m2[_uY2];
if (this._6N1 == 0) {
var _Fq3 = _8L1._tC1;
var width = _Fq3.right + 1 - _Fq3.left;
var height = _Fq3.bottom + 1 - _Fq3.top;
_tC1.left = _zc1(this.x + this._tC * (_Fq3.left - _8L1._v2));
_tC1.right = _zc1(_tC1.left + this._tC * width);
if (_tC1.left > _tC1.right) {
_d21 = _tC1.left;
_tC1.left = _tC1.right;
_tC1.right = _d21;
}
_tC1.top = _zc1(this.y + this._nC * (_Fq3.top - _8L1._w2));
_tC1.bottom = _zc1(_tC1.top + this._nC * height);
if (_tC1.top > _tC1.bottom) {
_d21 = _tC1.top;
_tC1.top = _tC1.bottom;
_tC1.bottom = _d21;
}
_tC1.right -= 1;
_tC1.bottom -= 1;
this._Qp3 = _8L1._Gq3();
this._Hq3 = _8L1._Hq3;
} else {
var _Fq3 = _8L1._tC1;
var _Iq3, _Jq3;
_Iq3 = this._tC * (_Fq3.left - _8L1._v2);
_Jq3 = this._tC * (_Fq3.right - _8L1._v2 + 1);
var _Kq3, _Lq3;
_Kq3 = this._nC * (_Fq3.top - _8L1._w2);
_Lq3 = this._nC * (_Fq3.bottom - _8L1._w2 + 1);
var _F21, _E21;
_F21 = Math.cos((this._6N1 * _g21) / 180.0);
_E21 = Math.sin((this._6N1 * _g21) / 180.0);
var _Mq3 = _F21 * _Jq3;
var _Nq3 = _F21 * _Iq3;
var _Oq3 = _E21 * _Lq3;
var _Pq3 = _E21 * _Kq3;
var _d21;
if (_Mq3 < _Nq3) {
_d21 = _Nq3;
_Nq3 = _Mq3;
_Mq3 = _d21;
}
if (_Oq3 < _Pq3) {
_d21 = _Pq3;
_Pq3 = _Oq3;
_Oq3 = _d21;
}
_tC1.left = Math.floor(this.x + _Nq3 + _Pq3 + 0.5);
_tC1.right = Math.floor(this.x + _Mq3 + _Oq3 - 0.5);
var _Qq3 = _F21 * _Lq3;
var _Rq3 = _F21 * _Kq3;
var _Sq3 = _E21 * _Jq3;
var _Tq3 = _E21 * _Iq3;
if (_Qq3 < _Rq3) {
_d21 = _Rq3;
_Rq3 = _Qq3;
_Qq3 = _d21;
}
if (_Sq3 < _Tq3) {
_d21 = _Tq3;
_Tq3 = _Sq3;
_Sq3 = _d21;
}
_tC1.top = Math.floor(this.y + _Rq3 - _Sq3 + 0.5);
_tC1.bottom = Math.floor(this.y + _Qq3 - _Tq3 - 0.5);
this._Qp3 = _8L1._Gq3();
this._Hq3 = _8L1._Hq3;
}
this._tC1 = _tC1;
}
this._rC1 = false;
};
_WX2.prototype._9w1 = function (_a11, _b11, _pB1) {
if (this._bl) return false;
var _Vp3 = this._P31();
if (_Vp3) {
var _Uq3 = _G21;
_G21 = this;
if (_Vp3._G11(this._tC1, this._oC, this.x, this.y, this._tC, this._nC, this._6N1)) {
this._Qp3 = true;
this._rC1 = false;
}
_G21 = _Uq3;
}
if (this._rC1) this._sC1();
var _tC1 = this._tC1;
if (_a11 >= _tC1.right + 1) return false;
if (_a11 < _tC1.left) return false;
if (_b11 >= _tC1.bottom + 1) return false;
if (_b11 < _tC1.top) return false;
if (this._Hq3) {
if (!_Vq3(this, _a11, _b11)) {
return false;
}
}
var _qK1;
if (this._HZ2 < 0) {
_qK1 = _r11._s11(this._wC);
} else {
_qK1 = _r11._s11(this._HZ2);
}
if (_qK1 === null || _qK1._721 === 0) return false;
if (!_pB1 || !this._Qp3) return true;
var _9t1 = false;
if (_Vp3) {
_9t1 = _Vp3._s21(this._oC, this.x, this.y, this._tC, this._nC, this._6N1, _a11, _b11);
} else {
_9t1 = _qK1._Wq3(Math.floor(this._oC), _tC1, _zc1(this.x), _zc1(this.y), this._tC, this._nC, this._6N1, _zc1(_a11), _zc1(_b11));
}
return _9t1;
};
_WX2.prototype._Xq3 = function (_t21, _u21, _R11, _S11, _pB1) {
if (this._bl) return false;
var _Vp3 = this._P31();
if (_Vp3) {
var _Uq3 = _G21;
_G21 = this;
if (_Vp3._G11(this._tC1, this._oC, this.x, this.y, this._tC, this._nC, this._6N1)) {
this._Qp3 = true;
this._rC1 = false;
}
_G21 = _Uq3;
}
if (this._rC1) this._sC1();
var _tC1 = this._tC1;
if (_c21(_t21, _R11) >= _tC1.right + 1) return false;
if (_a21(_t21, _R11) < _tC1.left) return false;
if (_c21(_u21, _S11) >= _tC1.bottom + 1) return false;
if (_a21(_u21, _S11) < _tC1.top) return false;
var _qK1;
if (this._HZ2 < 0) {
_qK1 = _r11._s11(this._wC);
} else {
_qK1 = _r11._s11(this._HZ2);
}
if (_qK1 === null || _qK1._721 == 0) return false;
if (this._Hq3) {
if (!_Yq3(this, _t21, _u21, _R11, _S11)) return false;
}
if (!_pB1 || !this._Qp3) return true;
var _9t1 = false;
if (_Vp3) {
_9t1 = _Vp3._w21(this._oC, this.x, this.y, this._tC, this._nC, this._6N1, _t21, _u21, _R11, _S11);
} else {
_pp3.left = _zc1(_c21(_t21, _R11));
_pp3.top = _zc1(_c21(_u21, _S11));
_pp3.right = _zc1(_a21(_t21, _R11));
_pp3.bottom = _zc1(_a21(_u21, _S11));
_9t1 = _qK1._Zq3(Math.floor(this._oC), _tC1, _zc1(this.x), _zc1(this.y), this._tC, this._nC, this._6N1, _pp3);
}
return _9t1;
};
function __q3(_t21, _u21, _R11, _S11, _ne1, _oe1) {
var _z21 = (_t21 + _R11) * 0.5;
var _A21 = (_u21 + _S11) * 0.5;
var _B21 = (_R11 - _t21) * 0.5;
var _C21 = (_S11 - _u21) * 0.5;
var _l41 = (_ne1 - _z21) / _B21;
var _e21 = (_oe1 - _A21) / _C21;
return _l41 * _l41 + _e21 * _e21 <= 1 ? true : false;
}
_WX2.prototype._0r3 = function (_Xv1, _1r3) {
var _2r3 = this._P31();
var _3r3 = _Xv1._P31();
var _4r3 = _r11._s11(this._wC);
var _Uq3 = _G21;
_G21 = this;
if (_2r3._G11(this._tC1, this._oC, this.x, this.y, this._tC, this._nC, this._6N1)) {
this._rC1 = false;
}
_G21 = _Xv1;
if (_3r3) {
if (_3r3._G11(_Xv1._tC1, _Xv1._oC, _Xv1.x, _Xv1.y, _Xv1._tC, _Xv1._nC, _Xv1._6N1)) {
_Xv1._rC1 = false;
}
}
_G21 = _Uq3;
if (this._rC1) this._sC1();
if (_Xv1._rC1) _Xv1._sC1();
if (_Xv1._tC1.left >= this._tC1.right + 1) return false;
if (_Xv1._tC1.right + 1 <= this._tC1.left) return false;
if (_Xv1._tC1.top >= this._tC1.bottom + 1) return false;
if (_Xv1._tC1.bottom + 1 <= this._tC1.top) return false;
var _4r3 = _r11._s11(this._wC);
var _5r3 = _Xv1._HZ2 < 0 ? _r11._s11(_Xv1._wC) : _r11._s11(_Xv1._HZ2);
if (_5r3 === null) return false;
if (!_1r3 || (!this._Qp3 && !_Xv1._Qp3)) return true;
if (_3r3) {
return _2r3._O11(this._oC, this.x, this.y, this._tC, this._nC, this._6N1, _3r3, _Xv1._oC, _Xv1.x, _Xv1.y, _Xv1._tC, _Xv1._nC, _Xv1._6N1);
} else {
return _2r3._521(this._oC, this.x, this.y, this._tC, this._nC, this._6N1, _5r3, _Xv1._tC1, _Xv1._oC, _Xv1.x, _Xv1.y, _Xv1._tC, _Xv1._nC, _Xv1._6N1);
}
};
_WX2.prototype._6r3 = function () {
if (_F01) {
var _UK1 = _r11._s11(this._wC);
if (_UK1 != null) {
if (_UK1._G01 == _H01) {
this._oC += this._SG * _UK1._s2;
} else {
var _Pz1 = _I01._J01();
this._oC += (this._SG * _UK1._s2) / _Pz1;
}
return;
}
}
this._oC += this._SG;
};
function _7r3(_D2) {
var _8r3 = [];
for (var _X9 = 0; _X9 < 2; ++_X9) {
var x = _D2[_X9 + 1].x - _D2[_X9].x;
var y = _D2[_X9 + 1].y - _D2[_X9].y;
var length = sqrt(x * x + y * y);
x = x / length;
y = y / length;
_8r3[_X9] = { x: -y, y: x };
}
return _8r3;
}
function _9r3(_Fe1, _5U1) {
var _ar3 = _7r3(_Fe1);
var _br3 = _7r3(_5U1);
for (var _X9 = 0; _X9 < 2; ++_X9) {
var _cr3 = _dr3(_Fe1, _ar3[_X9]);
var _er3 = _dr3(_5U1, _ar3[_X9]);
var _fr3 = _cr3.max <= _er3.min || _er3.max <= _cr3.min;
if (_fr3) return false;
}
for (var _X9 = 0; _X9 < 2; ++_X9) {
var _cr3 = _dr3(_Fe1, _br3[_X9]);
var _er3 = _dr3(_5U1, _br3[_X9]);
var _fr3 = _cr3.max <= _er3.min || _er3.max <= _cr3.min;
if (_fr3) return false;
}
return true;
}
function _dr3(_D2, _Ge1) {
var _gr3 = _D2[0].x * _Ge1.x + _D2[0].y * _Ge1.y;
var result = { min: _gr3, max: _gr3 };
for (var _X9 = 1; _X9 < 4; ++_X9) {
_gr3 = _D2[_X9].x * _Ge1.x + _Ge1.y * _D2[_X9].y;
if (_gr3 < result.min) result.min = _gr3;
else if (_gr3 > result.max) result.max = _gr3;
}
return result;
}
function _hr3(_qV1) {
var _uY2 = _qV1._HZ2 >= 0 ? _qV1._HZ2 : _qV1._wC;
var _8L1 = _r11._m2[_uY2];
var _Fq3 = _8L1._tC1;
var _Iq3, _Jq3;
_Iq3 = _qV1._tC * (_Fq3.left - _8L1._v2);
_Jq3 = _qV1._tC * (_Fq3.right - _8L1._v2 + 1);
var _Kq3, _Lq3;
_Kq3 = _qV1._nC * (_Fq3.top - _8L1._w2);
_Lq3 = _qV1._nC * (_Fq3.bottom - _8L1._w2 + 1);
var _F21, _E21;
_F21 = Math.cos((-_qV1._6N1 * _g21) / 180.0);
_E21 = Math.sin((-_qV1._6N1 * _g21) / 180.0);
var _Mq3 = _F21 * _Jq3;
var _Nq3 = _F21 * _Iq3;
var _Oq3 = _E21 * _Lq3;
var _Pq3 = _E21 * _Kq3;
var _Qq3 = _F21 * _Lq3;
var _Rq3 = _F21 * _Kq3;
var _Sq3 = _E21 * _Jq3;
var _Tq3 = _E21 * _Iq3;
var _8r3 = [];
var _uY2 = _qV1.x - 0.5;
var _vY2 = _qV1.y - 0.5;
_8r3[0] = { x: _uY2 + _Nq3 - _Pq3, y: _vY2 + _Rq3 + _Tq3 };
_8r3[1] = { x: _uY2 + _Mq3 - _Pq3, y: _vY2 + _Rq3 + _Sq3 };
_8r3[2] = { x: _uY2 + _Mq3 - _Oq3, y: _vY2 + _Qq3 + _Sq3 };
_8r3[3] = { x: _uY2 + _Nq3 - _Oq3, y: _vY2 + _Qq3 + _Tq3 };
return _8r3;
}
function _ir3(_qV1, _rV1) {
var _Fe1 = _hr3(_qV1);
var _5U1 = _hr3(_rV1);
return _9r3(_Fe1, _5U1);
}
function _jr3(_D2) {
var x = _D2[1].x - _D2[0].x;
var y = _D2[1].y - _D2[0].y;
var length = sqrt(x * x + y * y);
x = x / length;
y = y / length;
_8r3 = { x: -y, y: x };
return _8r3;
}
function _kr3(_Fe1, _5U1) {
var _ar3 = _7r3(_Fe1);
for (var _X9 = 0; _X9 < 2; ++_X9) {
var _cr3 = _dr3(_Fe1, _ar3[_X9]);
var _er3 = _5U1.x * _ar3[_X9].x + _5U1.y * _ar3[_X9].y;
var _fr3 = _cr3.max <= _er3 || _er3 <= _cr3.min;
if (_fr3) return false;
}
return true;
}
function _lr3(_Fe1, _mr3, _il1, _jl1) {
var _vL2 = Math.abs(_jl1 / _il1);
for (var _X9 = 0; _X9 < 4; ++_X9) _Fe1[_X9].x *= _vL2;
_mr3.x *= _vL2;
var _b21 = Math.abs(_jl1);
var _ar3 = _7r3(_Fe1);
for (var _X9 = 0; _X9 < 2; ++_X9) {
var _cr3 = _dr3(_Fe1, _ar3[_X9]);
var _nr3 = _mr3.x * _ar3[_X9].x + _mr3.y * _ar3[_X9].y;
var _er3 = { min: _nr3 - _b21, max: _nr3 + _b21 };
var _fr3 = _cr3.max <= _er3.min || _er3.max <= _cr3.min;
if (_fr3) return false;
}
return true;
}
function _or3(_Fe1, _5U1) {
var _ar3 = _7r3(_Fe1);
var _pr3 = _jr3(_5U1);
for (var _X9 = 0; _X9 < 2; ++_X9) {
var _cr3 = _dr3(_Fe1, _ar3[_X9]);
var _er3 = _qr3(_5U1, _ar3[_X9]);
var _fr3 = _cr3.max <= _er3.min || _er3.max <= _cr3.min;
if (_fr3) return false;
}
{
var _cr3 = _dr3(_Fe1, _pr3);
var _er3 = _qr3(_5U1, _pr3);
var _fr3 = _cr3.max <= _er3.min || _er3.max <= _cr3.min;
if (_fr3) return false;
}
return true;
}
function _qr3(_D2, _Ge1) {
var _gr3 = _D2[0].x * _Ge1.x + _D2[0].y * _Ge1.y;
var result = { min: _gr3, max: _gr3 };
for (var _X9 = 1; _X9 < 2; ++_X9) {
_gr3 = _D2[_X9].x * _Ge1.x + _Ge1.y * _D2[_X9].y;
if (_gr3 < result.min) result.min = _gr3;
else if (_gr3 > result.max) result.max = _gr3;
}
return result;
}
function _rr3(_t21, _u21, _R11, _S11) {
_8r3 = [];
_8r3[0] = { x: _t21, y: _u21 };
_8r3[1] = { x: _R11, y: _S11 };
return _8r3;
}
function _sr3(_qV1, _t21, _u21, _R11, _S11) {
var _Fe1 = _hr3(_qV1);
var _5U1 = _rr3(_t21, _u21, _R11, _S11);
return _or3(_Fe1, _5U1);
}
function _Vq3(_qV1, _t21, _u21) {
var _Fe1 = _hr3(_qV1);
var _5U1 = { x: _t21, y: _u21 };
return _kr3(_Fe1, _5U1);
}
function _tr3(_qV1, _t21, _u21, _R11, _S11) {
var _Fe1 = _hr3(_qV1);
var _mr3 = { x: (_t21 + _R11) * 0.5, y: (_u21 + _S11) * 0.5 };
var _il1 = Math.abs(_t21 - _R11) * 0.5;
var _jl1 = Math.abs(_u21 - _S11) * 0.5;
return _lr3(_Fe1, _mr3, _il1, _jl1);
}
function _Yq3(_qV1, _t21, _u21, _R11, _S11) {
var _Fe1 = _hr3(_qV1);
var _5U1 = [];
_5U1[0] = { x: _t21, y: _u21 };
_5U1[1] = { x: _R11, y: _u21 };
_5U1[2] = { x: _t21, y: _S11 };
_5U1[3] = { x: _R11, y: _S11 };
return _9r3(_Fe1, _5U1);
}
_WX2.prototype._3w1 = function (_8r1, _pB1) {
if (this != _8r1 && !this._bl && !_8r1._bl) {
if (this._P31() && this._HZ2 < 0) {
return this._0r3(_8r1, _pB1);
}
if (_8r1._P31() && _8r1._HZ2 < 0) {
return _8r1._0r3(this, _pB1);
}
if (this._rC1) this._sC1();
if (_8r1._rC1) _8r1._sC1();
var _ur3 = _8r1._tC1;
var _vr3 = this._tC1;
if (_ur3.left >= _vr3.right + 1) return false;
if (_ur3.right + 1 <= _vr3.left) return false;
if (_ur3.top >= _vr3.bottom + 1) return false;
if (_ur3.bottom + 1 <= _vr3.top) return false;
if (this._Hq3 || _8r1._Hq3) {
if (!_ir3(this, _8r1)) {
return false;
}
}
var _wr3 = null;
var _xr3 = null;
if (this._HZ2 < 0) {
_wr3 = _r11._s11(this._wC);
} else {
_wr3 = _r11._s11(this._HZ2);
}
if (_wr3 == null || _wr3._721 == 0) return false;
if (_8r1._HZ2 < 0) {
_xr3 = _r11._s11(_8r1._wC);
} else {
_xr3 = _r11._s11(_8r1._HZ2);
}
if (_xr3 == null || _xr3._721 == 0) return false;
if (!_pB1 || (!this._Qp3 && !_8r1._Qp3)) return true;
return _wr3._yr3(this._oC | 0, this._tC1, _zc1(this.x), _zc1(this.y), this._tC, this._nC, this._6N1, _xr3, _8r1._oC | 0, _8r1._tC1, _zc1(_8r1.x), _zc1(_8r1.y), _8r1._tC, _8r1._nC, _8r1._6N1);
}
return false;
};
_WX2.prototype._NE2 = function () {
var _OE1, _j21, _l21;
if (this._KE2 < 0) return false;
var _DE1 = _CE1._A2[this._KE2];
if (!_DE1) return;
if (_DE1.length <= 0) return;
var _zr3 = false;
var _Ar3 = (this._Jp3 * Math.PI) / 180.0;
var _Br3 = _DE1._RE1(this._2_2);
_j21 = _Br3.x;
_l21 = _Br3.y;
_OE1 = _Br3._E2;
_Br3 = null;
_OE1 = _OE1 / (100 * this._Ip3);
this._2_2 = this._2_2 + (this._Hp3 * _OE1) / _DE1.length;
var _Cr3 = _DE1._RE1(0);
if (this._2_2 >= 1 || this._2_2 <= 0) {
_zr3 = this._Hp3 == 0 ? false : true;
switch (this._Kp3) {
case 0: {
if (this._Hp3 != 0) {
this._2_2 = 1;
this._KE2 = -1;
}
break;
}
case 1: {
if (this._2_2 < 0) {
this._2_2++;
} else {
this._2_2--;
}
break;
}
case 2: {
var _Dr3 = _DE1._RE1(1);
_j21 = _Dr3.x - _Cr3.x;
_l21 = _Dr3.y - _Cr3.y;
var _Er3 = this._Ip3 * (_j21 * Math.cos(_Ar3) + _l21 * Math.sin(_Ar3));
var _Fr3 = this._Ip3 * (_l21 * Math.cos(_Ar3) - _j21 * Math.sin(_Ar3));
if (this._2_2 < 0) {
this._Lp3 = this._Lp3 - _Er3;
this._Mp3 = this._Mp3 - _Fr3;
this._2_2++;
} else {
this._Lp3 = this._Lp3 + _Er3;
this._Mp3 = this._Mp3 + _Fr3;
this._2_2--;
}
break;
}
case 3: {
if (this._2_2 < 0) {
this._2_2 = -this._2_2;
this._Hp3 = Math.abs(this._Hp3);
} else {
this._2_2 = 2 - this._2_2;
this._Hp3 = -Math.abs(this._Hp3);
}
break;
}
default: {
this._2_2 = 1;
this._KE2 = -1;
}
}
}
_Br3 = _DE1._RE1(this._2_2);
_j21 = _Br3.x - _Cr3.x;
_l21 = _Br3.y - _Cr3.y;
var _PB1 = this._Lp3 + this._Ip3 * (_j21 * Math.cos(_Ar3) + _l21 * Math.sin(_Ar3));
var _QB1 = this._Mp3 + this._Ip3 * (_l21 * Math.cos(_Ar3) - _j21 * Math.sin(_Ar3));
this._0H(_PB1 - this.x);
this._1H(_QB1 - this.y);
this._XI(0);
this._E81(_PB1, _QB1);
return _zr3;
};
_WX2.prototype._xP1 = function (_G31) {
var _9t1 = -1;
if (_G31 >= 0 && _G31 < _G_2) {
_9t1 = this._rx[_G31];
}
return _9t1;
};
_WX2.prototype._Gr3 = function (_G31, _M01) {
if (_G31 >= 0 && _G31 < _G_2) {
this._rx[_G31] = _M01;
}
};
_WX2.prototype._IZ2 = function () {
if (this._rC1) {
this._sC1();
}
return this._tC1;
};
_WX2.prototype._RC1 = function (_Hr3, _Pt1) {
var _Z9, __9;
if (!_0A1(this._wC)) {
_Z9 = __9 = 0;
} else {
var _qK1 = _r11._s11(this._wC);
_Z9 = _qK1.width * this._tC;
__9 = _qK1.height * this._nC;
}
if (_Hr3) {
if (this._Yf < 0 && this.x < 0) {
this._E81(this.x + _D01._kY2() + _Z9, this.y);
}
if (this._Yf > 0 && this.x >= _D01._kY2()) {
this._E81(this.x - _D01._kY2() - _Z9, this.y);
}
}
if (_Pt1) {
if (this._Zf < 0 && this.y < 0) {
this._E81(this.x, this.y + _D01._LW1() + __9);
}
if (this._Zf > 0 && this.y >= _D01._LW1()) {
this._E81(this.x, this.y - _D01._LW1() - __9);
}
}
};
_WX2.prototype._iF2 = function (_e11, _Ir3) {
var _Jr3 = {};
if (_Ir3.x != 0.0 || _Ir3.y != 0.0) {
var _vR1 = _e11;
var _Kr3 = Math.cos(_vR1);
var _Lr3 = Math.sin(_vR1);
_Jr3.x = _Ir3.x * _Kr3 - _Ir3.y * _Lr3;
_Jr3.y = _Ir3.y * _Kr3 + _Ir3.x * _Lr3;
} else {
_Jr3.x = _Ir3.x;
_Jr3.y = _Ir3.y;
}
return _Jr3;
};
_WX2.prototype._RE2 = function (_Mr3) {
var _Nr3 = _D01._E01();
if (_F01) _Nr3 = _I01._J01();
var _QE2 = 1.0 / _D01._uF1._vF1;
var _hF2 = this._iF2(_Mr3.__S1(), this._ME2._HA2);
this.x = _Mr3._RE1().x * _QE2 + _hF2.x;
this.y = _Mr3._RE1().y * _QE2 + _hF2.y;
this._6N1 = (-_Mr3.__S1() * 180.0) / _g21;
this._rC1 = true;
this._Or3 = (_Mr3.__S1() * 180.0) / Math.PI;
this._Pr3 = this.x;
this._Qr3 = this.y;
this._Rr3 = (_Mr3._T32() * 180.0) / Math.PI;
this._Sr3 = _Mr3._R32().x * _QE2;
this._Tr3 = _Mr3._R32().y * _QE2;
this._Ur3 = this._Sr3 / _Nr3;
this._Vr3 = this._Tr3 / _Nr3;
this._Wr3 = _Mr3._r42();
this._Xr3 = _Mr3._242();
this._Yr3 = _Mr3._342();
this._Zr3 = _Mr3._O32().x * _QE2;
this.__r3 = _Mr3._O32().y * _QE2;
this._0s3 = _Mr3._px1 === _Rz2._OC2._b32;
this._1s3 = _Mr3._px1 === _Rz2._OC2._j32;
this._2s3 = !_Mr3._u42();
this._3s3 = _Mr3._y42();
this._4s3 = _Mr3._w42();
this._5s3 = Math.sqrt(this._Ur3 * this._Ur3 + this._Vr3 * this._Vr3);
this._6s3 = _Mr3._g42();
this._7s3 = _Mr3._f42();
if (this._SE2 === undefined) {
this._SE2 = _Mr3._RE1().x * _QE2;
}
if (this._TE2 === undefined) {
this._TE2 = _Mr3._RE1().y * _QE2;
}
};
_WX2.prototype._P31 = function () {
if (_0A1(this._wC)) {
var _8L1 = _r11._s11(this._wC);
if (_8L1._Ke3) {
if (!this._Sp3) {
this._Sp3 = new _Y_(_8L1._Ke3);
}
}
}
return this._Sp3;
};
_WX2.prototype._nT = function () {
return this._Ey1;
};
_WX2.prototype._hz1 = function (_pz1) {
this._Ey1 = _pz1;
};
_WX2.prototype._dz1 = function () {
return this._Fy1;
};
_WX2.prototype._hy1 = function (_8s3) {
this._Fy1 = _8s3;
};
function _bd3() {
this._9s3 = new _jc1();
this._9s3._kc1 = true;
this._as3 = [];
}
_bd3.prototype._Ua1 = function () {
this._as3 = [];
this._9s3._Ua1();
};
_bd3.prototype._jC1 = function () {
return this._9s3._xc1;
};
_bd3.prototype._Da1 = function (_Yv1) {
this._as3[_Yv1.id] = _Yv1;
this._9s3._Da1(_Yv1);
};
_bd3.prototype._Mc3 = function (_Ub1) {
return this._as3[_Ub1];
};
_bd3.prototype._s11 = function (_Ub1) {
var _Yv1 = this._as3[_Ub1];
if (_Yv1 != undefined && _Yv1 != null) return _Yv1;
var _8q1 = _o01._s11(_Ub1);
if (_8q1 != undefined && _8q1 != null) {
_Yv1 = _8q1._bs3._xc1[0];
if (_Yv1 != undefined && _Yv1 != null) return _Yv1;
}
return null;
};
_bd3.prototype._cs3 = function (_8r1) {
this._9s3._ey1(_8r1);
var id = _8r1.id;
this._as3[id] = null;
};
_bd3.prototype._ds3 = function () {
var _xc1 = _D01._8w1._xc1;
var _Ay1 = _az1._zy1();
for (var index = 0; index < _xc1.length; index++) {
var _Yv1 = _xc1[index];
_Yv1._YI = _Yv1.x;
_Yv1._ZI = _Yv1.y;
_Yv1._3_2 = _Yv1._2_2;
_Yv1._6r3();
}
};
_bd3.prototype._es3 = function () {
var _xc1 = _D01._8w1._xc1;
for (var index = 0; index < _xc1.length; index++) {
var _Yv1 = _xc1[index];
_Yv1._uq3();
if (_Yv1._NE2()) {
_Yv1._B11(_OE2, 0, _Yv1, _Yv1);
}
if (_Yv1._Yf !== 0 || _Yv1._Zf !== 0) {
_Yv1.x += _Yv1._Yf;
_Yv1.y += _Yv1._Zf;
_Yv1._rC1 = true;
}
}
};
_bd3.prototype._fs3 = function () {
var _xc1 = _D01._8w1._xc1;
for (var index = 0; index < _xc1.length; index++) {
var _Yv1 = _xc1[index];
var _Ie1 = _Yv1._wq3();
if (_Yv1._oC >= _Ie1) {
_Yv1._oC -= _Ie1;
var _fw1 = _Yv1._fw1;
if (_fw1._EZ2[_Z13]) {
_Yv1._B11(_Z13, 0, _Yv1, _Yv1);
}
} else if (_Yv1._oC < 0) {
_Yv1._oC += _Ie1;
var _fw1 = _Yv1._fw1;
if (_fw1._EZ2[_Z13]) {
_Yv1._B11(_Z13, 0, _Yv1, _Yv1);
}
}
}
};
_bd3.prototype._B11 = function (_j01, _G31) {
var _t22 = true;
if (_D01) {
var _Eq3 = _j01;
if (_Eq3 != _9F2) _Eq3 |= _G31;
var _xc1 = _D01._8w1._xc1;
for (var index = 0; index < _xc1.length; index++) {
var _Yv1 = _xc1[index];
if (!_Yv1._bl) {
var _fw1 = _Yv1._fw1;
if (_fw1._EZ2[_Eq3]) {
_t22 = _Yv1._B11(_j01, _G31, _Yv1, _Yv1);
}
}
}
}
return _t22;
};
var _0m = _gs3;
function _gs3(_xd1, _9r1, _Ub1) {
if (_Ub1 == -1) return _xd1;
if (_Ub1 == -2) return _9r1;
if (_Ub1 == -3) return _xd1;
var _Yv1 = _iy1._s11(_Ub1);
if (!_Yv1) {
_Yv1 = _o01._s11(_Ub1);
if (!_Yv1) {
_Mo1("Unknown instance ID: " + _Ub1);
debug(_Lo1());
return undefined;
}
_Yv1 = _Yv1._n_2._s11(0);
}
return _Yv1;
}
var _hs3 = 256;
var _is3 = 3;
var _js3 = 1024;
var _EP1 = 1;
var _MP1 = 2;
var _ks3 = 4;
var _Cb1 = 1;
var _Ab1 = 2;
var _Bb1 = 0x80000000;
var _ls3 = 128;
var _ms3 = 0,
_xb1 = 0,
_vb1 = 0,
_wb1 = 0,
_ns3 = -1,
_os3 = 0,
_ps3 = -1,
_qs3 = 0,
_rs3 = 0,
_ss3 = 0,
_MQ1 = typeof document.hasFocus == "function" ? document.hasFocus() : !0,
_u_2 = 0,
_v_2 = 0,
_ts3 = !1,
_us3 = 0;
var _vs3 = [];
var _ws3 = [];
var _xs3 = [];
var _HP1 = [];
var _DQ1 = [];
var _yb1 = [];
var _ys3 = 0;
var _kb1 = [];
var _zs3 = {
8: String.fromCharCode(8),
9: 0,
13: 0,
16: 0,
17: 0,
18: 0,
19: 0,
20: 0,
27: 0,
22: 0,
32: " ",
34: 0,
35: 0,
36: 0,
37: 0,
38: 0,
39: 0,
40: 0,
45: 0,
46: 0,
47: 0,
48: "0",
49: "1",
50: "2",
51: "3",
52: "4",
53: "5",
54: "6",
55: "7",
56: "8",
57: "9",
58: "0",
59: ";",
61: "=",
65: "a",
66: "b",
67: "c",
68: "d",
69: "e",
70: "f",
71: "g",
72: "h",
73: "i",
74: "j",
75: "k",
76: "l",
77: "m",
78: "n",
79: "o",
80: "p",
81: "q",
82: "r",
83: "s",
84: "t",
85: "u",
86: "v",
87: "w",
88: "x",
89: "y",
90: "z",
91: 0,
92: 0,
93: 0,
96: "0",
97: "1",
98: "2",
99: "3",
100: "4",
101: "5",
102: "6",
103: "7",
104: "8",
105: "9",
106: "*",
107: "+",
109: "-",
110: ".",
111: "/",
112: 0,
113: 0,
114: 0,
115: 0,
116: 0,
117: 0,
118: 0,
119: 0,
120: 0,
121: 0,
122: 0,
123: 0,
144: 0,
145: 0,
173: "-",
186: ";",
187: "=",
188: ",",
189: "-",
190: ".",
191: "/",
192: "'",
219: "[",
220: "\\",
221: "]",
222: "#",
223: "`",
};
var _As3 = {
8: String.fromCharCode(8),
9: 0,
13: 0,
16: 0,
17: 0,
18: 0,
19: 0,
20: 0,
27: 0,
22: 0,
32: " ",
34: 0,
35: 0,
36: 0,
37: 0,
38: 0,
39: 0,
40: 0,
45: 0,
46: 0,
47: 0,
48: ")",
49: "!",
50: '"',
51: "£",
52: "$",
53: "%",
54: "^",
55: "&",
56: "*",
57: "(",
58: ")",
59: ":",
61: "+",
65: "A",
66: "B",
67: "C",
68: "D",
69: "E",
70: "F",
71: "G",
72: "H",
73: "I",
74: "J",
75: "K",
76: "L",
77: "M",
78: "N",
79: "O",
80: "P",
81: "Q",
82: "R",
83: "S",
84: "T",
85: "U",
86: "V",
87: "W",
88: "X",
89: "Y",
90: "Z",
91: 0,
92: 0,
93: 0,
96: "0",
97: "1",
98: "2",
99: "3",
100: "4",
101: "5",
102: "6",
103: "7",
104: "8",
105: "9",
106: "*",
107: "+",
109: "-",
110: ".",
111: "/",
112: 0,
113: 0,
114: 0,
115: 0,
116: 0,
117: 0,
118: 0,
119: 0,
120: 0,
121: 0,
122: 0,
123: 0,
144: 0,
145: 0,
173: "_",
186: ":",
187: "+",
188: "<",
189: "_",
190: ">",
191: "?",
192: "@",
219: "{",
220: "|",
221: "}",
222: "~",
223: "¬",
};
function _Bs3() {
_MQ1 = true;
}
function _Cs3() {
_MQ1 = false;
_Ds3();
}
function _Es3(_Fs3, _Gs3) {
try {
if (_Fs3) {
if (_Fs3._72) {
if (_Fs3._72._ok) {
if (_Fs3._72._ok._yk) {
if (_Fs3._72._ok._yk == _72._ok._yk) {
_Fs3.focus();
_Gs3.focus();
return true;
}
}
}
}
}
} catch (err) {}
return false;
}
function _Hs3() {
var _LN1 = document.getElementById(_0p1);
var _Is3;
if (_Cv1 == _h13 || _Cv1 == _g13 || _Cv1 == _i13 || _Cv1 == _j13) {
_Is3 = _LN1.parentNode.frames;
if (!_Is3) {
_Es3(this, _LN1);
} else {
for (var _Js3 = 0; _Js3 < _Is3.length; _Js3++) {
var _Ks3 = _Is3[_Js3];
if (_Es3(_Ks3, _LN1)) break;
}
}
} else {
if (!_LN1._Ls3 || _LN1._Ls3.document || _LN1.parentNode.document.getElementsByTagName("IFRAME")) {
_Es3(this, _LN1);
} else {
_Is3 = _LN1.parentNode.document.getElementsByTagName("IFRAME");
for (var _Js3 in _Is3) {
var _Ks3 = _Is3[_Js3].contentWindow;
if (_Es3(_Ks3, _LN1)) break;
}
}
}
}
var _Ms3;
var _Ns3;
var _Os3;
var _Ps3;
var _Qs3;
var _Rs3;
var _Ss3;
var _Ts3;
var _Us3;
var _Vs3;
var _Ws3;
function _Xs3() {
var _ML1 = document.getElementById("gm4html5_div_id");
if (_ML1) {
_Ns3 = _ML1.style.left;
_Os3 = _ML1.style.top;
_Ps3 = _ML1.style.margin;
var top = window.parent;
if (top != null) {
if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) {
var _Ys3 = top.chrome.app.window.current();
if (_Ys3 != null) {
var _Km2 = window.parent.document.getElementById("container");
var _Zs3 = window.parent.document.getElementById("game");
if (_Km2 != null) {
_Qs3 = _Km2.style.width;
_Rs3 = _Km2.style.height;
_Us3 = _Km2.style.left;
_Ss3 = _Km2.style.margin;
_Ts3 = _Km2.style.position;
}
if (_Zs3 != null) {
_Vs3 = _Zs3.style.width;
_Ws3 = _Zs3.style.height;
}
_Ys3.fullscreen();
var __s3 = _Ys3.getBounds();
if (_Km2 != null) {
_Km2.style.width = "100%";
_Km2.style.height = "100%";
_Km2.style.left = "0";
_Km2.style.margin = "auto";
_Km2.style.position = "relative";
}
if (_Zs3 != null) {
_Zs3.style.width = "100%";
_Zs3.style.height = "100%";
canvas.style.width = "100%";
canvas.style.height = "100%";
}
}
}
}
_ML1.style.margin = "0px";
_ML1.style.top = "0";
_ML1.style.left = "0";
_ML1.style._0t3 = "0px";
_ML1.style._1t3 = "0px";
if (_ML1.mozRequestFullScreen) {
document._2t3 = function (event) {
document._2t3 = _3t3;
};
_ML1.mozRequestFullScreen();
} else if (_ML1.webkitRequestFullScreen) {
_ML1.onwebkitfullscreenchange = function (e) {
_ML1.onwebkitfullscreenchange = _3t3;
};
if (_Cv1 == _i13) {
_ML1.webkitRequestFullScreen();
} else {
_ML1.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
}
} else if (document.documentElement.requestFullScreen) {
document.documentElement.requestFullScreen();
}
_Ub3 = true;
return;
}
if (canvas.mozRequestFullScreen) {
canvas.style.margin = "0px";
canvas.style.top = "";
canvas.style.left = "";
canvas.style._0t3 = "0px";
canvas.style._1t3 = "0px";
canvas.mozRequestFullScreen();
} else if (canvas.webkitRequestFullScreen) {
canvas.style.margin = "0px";
canvas.style.top = "";
canvas.style.left = "";
canvas.style._0t3 = "0px";
canvas.style._1t3 = "0px";
canvas.onwebkitfullscreenchange = function (e) {
canvas.onwebkitfullscreenchange = _3t3;
};
if (_Cv1 == _i13) {
canvas.webkitRequestFullScreen();
} else {
canvas.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
}
} else if (document.documentElement.requestFullScreen) {
canvas.style.margin = "0px";
canvas.style.top = "";
canvas.style.left = "";
canvas.style._0t3 = "0px";
canvas.style._1t3 = "0px";
document.documentElement.requestFullScreen();
}
_Ub3 = true;
}
function _3t3() {
if (_Lb3) {
var _ML1 = document.getElementById("gm4html5_div_id");
if (_ML1) {
_ML1.style.left = _Ns3;
_ML1.style.top = _Os3;
_ML1.style.margin = _Ps3;
}
var top = window.parent;
if (top != null) {
if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) {
var _Ys3 = top.chrome.app.window.current();
if (_Ys3 != null) _Ys3.restore();
}
}
_Ub3 = true;
}
}
function _4t3() {
var top = window.parent;
if (top != null) {
if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) {
var _Ys3 = top.chrome.app.window.current();
if (_Ys3 != null) {
_Ys3.restore();
_Ub3 = true;
var _Km2 = window.parent.document.getElementById("container");
if (_Km2 != null) {
_Km2.style.width = _Qs3;
_Km2.style.height = _Rs3;
_Km2.style.left = _Us3;
_Km2.style.margin = _Ss3;
_Km2.style.position = _Ts3;
}
var _Zs3 = window.parent.document.getElementById("game");
if (_Zs3 != null) {
_Zs3.style.width = _Vs3;
_Zs3.style.height = _Ws3;
canvas.style.width = _Vs3;
canvas.style.height = _Ws3;
}
}
}
}
if (document.webkitCancelFullScreen) {
document.webkitCancelFullScreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
_3t3();
} else {
_Ub3 = true;
}
}
function _ep1() {
if (_Rb3) return;
window.onkeyup = function () {
_5t3(arguments[0] || window.event);
};
window.onkeydown = function () {
var _I03 = arguments[0] || window.event;
if (_Mb3 && _I03 != null && _I03.which == 121 && !_I03.repeat && canvas.mozRequestFullScreen) {
if (!document.mozFullScreen) {
_6t3();
_Xs3();
} else {
_4t3();
}
_I03.preventDefault();
return false;
}
if (_7t3(_I03) == false) {
_I03.preventDefault();
return false;
}
};
window.onmouseup = _8t3;
_Rb3 = true;
}
function _4p1() {
if (_Rb3 == false) return;
window.onkeydown = null;
window.onkeyup = null;
window.onmouseup = null;
_Rb3 = false;
}
function _9t3(_at3) {
if (_at3 == 121) {
return true;
}
if (window.chrome && window.chrome.app) {
if (_at3 == 183) return true;
}
return false;
}
function _7t3(_I03) {
var _at3;
if (_I03 == null) {
_at3 = window.event.which;
if (_at3 == 122) return true;
if (_at3 != 121) window.event.preventDefault();
else _Ub3 = true;
window.event.preventDefault();
} else {
_at3 = _I03.which;
if (_at3 == 122) return true;
if (_at3 == 120) {
} else if (!_9t3(_at3)) {
_I03.preventDefault();
} else {
if (_Mb3) {
if (!_Lb3) {
_6t3();
_Xs3();
} else {
_4t3();
}
}
}
_I03.preventDefault();
}
if (!_vs3[_at3]) {
_ws3[_at3] = 1;
}
_vs3[_at3] = 1;
_ss3 = _at3;
if (_Cv1 == _Dv1) {
_rs3 = _I03.char;
} else if (_I03.key) {
if (_I03.key.length == 1) {
_rs3 = _I03.key;
} else if (_at3 == 8) {
_rs3 = String.fromCharCode(8);
} else if (_at3 == 13) {
_rs3 = String.fromCharCode(13);
} else {
_rs3 = "";
}
} else {
if (_I03.shiftKey) {
_rs3 = _As3[_at3];
} else {
_rs3 = _zs3[_at3];
}
}
if (!_rs3) _rs3 = "";
return false;
}
function _5t3(_I03) {
var _at3;
if (_I03 == null) {
_at3 = window.event.which;
if (_at3 == 122) return;
window.event.preventDefault();
} else {
_at3 = _I03.which;
if (_at3 == 122) return;
_I03.preventDefault();
}
_xs3[_at3] = 1;
_vs3[_at3] = 0;
return false;
}
function _bt3(_ct3) {
_vb1 = _ct3.pageX;
_wb1 = _ct3.pageY;
_yb1[_ct3.button].x = _vb1;
_yb1[_ct3.button].y = _wb1;
}
var _lb1 = !1;
function _dt3(_ct3) {
if (!_MQ1) {
_Hs3();
}
if (!_lb1) {
if (_Cv1 == _i13) _HI1();
_lb1 = true;
}
_ms3 = _ct3.button;
if (_ms3 == 2) _ms3 = 1;
else if (_ms3 == 1) _ms3 = 2;
_ps3 = _ms3;
_ns3 = _ms3;
_xb1 |= 1 << _ms3;
_yb1[_ct3.button]._zb1 = _Ab1 | _Bb1 | _Cb1;
_yb1[_ct3.button].x = _ct3.pageX;
_yb1[_ct3.button].y = _ct3.pageY;
return _ct3;
}
function _8t3(_ct3) {
_ms3 = _ct3.button;
if (_ms3 == 2) _ms3 = 1;
else if (_ms3 == 1) _ms3 = 2;
_qs3 = _os3;
_os3 = _ms3;
_xb1 &= ~(1 << _ms3);
_ns3 = -1;
_yb1[_ct3.button]._zb1 = 0;
return false;
}
function _et3(_ct3) {
if (_ct3.detail) {
_us3 = -_ct3.detail;
} else {
_us3 = _ct3.wheelDelta;
}
}
function _ft3() {
_iy1._B11(_V13, 0);
return undefined;
}
function _6d3() {
this._gt3 = "a";
this._ht3 = [];
this._it3 = this._jt3 = -1;
this._xw1 = [];
this._yw1 = [];
this._ww1 = [];
this._kt3 = this._lt3 = 0;
this._D91 = [];
this._C91 = [];
this._y91 = [];
this._mt3 = this._nt3 = false;
this._ot3 = [];
this._pt3 = this._qt3 = this._rt3 = this._st3 = this._1O1 = this._2O1 = this._y01 = 0;
for (var _921 = 0; _921 < _js3; _921++) {
this._ht3[_921] = "";
}
for (var _921 = 0; _921 < _hs3; _921++) {
this._xw1[_921] = this._yw1[_921] = this._ww1[_921] = false;
this._ot3[_921] = _921;
}
for (var _921 = 0; _921 < _is3; _921++) {
this._D91[_921] = this._C91[_921] = this._y91[_921] = false;
}
this._Va1 = _tt3;
this._ut3 = _vt3;
this._wt3 = _wt3;
this._xt3 = _xt3;
this._yt3 = _yt3;
this._zt3 = _zt3;
this._At3 = _At3;
this._Bt3 = _Bt3;
this._Ct3 = _Ct3;
this._Dt3 = _Dt3;
this._Et3 = _Et3;
this._Ft3 = _Ft3;
this._Gt3 = _Gt3;
this._Ht3 = _Ht3;
this._It3 = _It3;
this._Jt3 = _Jt3;
this._Kt3 = _Kt3;
this._Lt3 = _Lt3;
this._Mt3 = _Mt3;
this._Nt3 = _Nt3;
this._Ot3 = _Ot3;
this._Pt3 = _Qt3;
this._Rt3 = _St3;
this._Tt3 = _Ut3;
this._Vt3 = _Vt3;
for (var _921 = 0; _921 < _hs3; _921++) {
_vs3[_921] = _xs3[_921] = false;
}
if (!_op3) {
window.onbeforeunload = _ft3;
}
_DQ1 = new Array(_ls3);
_yb1 = new Array(_ls3);
for (var _Wt3 = 0; _Wt3 < _ls3; _Wt3++) {
_DQ1[_Wt3] = new _Xt3();
_yb1[_Wt3] = new _Xt3();
}
_Yt3(true);
}
function _Yt3(_Tk1) {
_Tk1 = yyGetBool(_Tk1);
if (_ts3 == _Tk1) return;
_Ds3();
_ts3 = _Tk1;
if (_Tk1) {
canvas.onmousemove = _bt3;
canvas.onmousedown = _dt3;
window.onmouseup = _8t3;
canvas.onmousewheel = _et3;
canvas.onselectstart = function () {
return false;
};
canvas.addEventListener("DOMMouseScroll", _et3, false);
var _921 = document.getElementById("loading_screen");
if (_921) {
_921.onmousemove = _bt3;
_921.onmousedown = _dt3;
_921.onmouseup = _8t3;
_921.onmousewheel = _et3;
_921.addEventListener("DOMMouseScroll", _et3, false);
}
window.addEventListener("focus", _Bs3);
window.addEventListener("blur", _Cs3);
_ep1();
} else {
canvas.onmousemove = null;
canvas.onmousedown = null;
window.onmouseup = null;
canvas.onmousewheel = null;
canvas.onselectstart = null;
canvas.removeEventListener("DOMMouseScroll", _et3);
var _921 = document.getElementById("loading_screen");
if (_921) {
_921.onmousemove = null;
_921.onmousedown = null;
_921.onmouseup = null;
_921.onmousewheel = null;
_921.removeEventListener("DOMMouseScroll", _et3);
}
document.body.onfocusin = null;
document.body.onfocusout = null;
document.onfocusin = null;
document.onfocusout = null;
window.onfocus = null;
window.onblur = null;
_4p1();
}
}
function _Xt3() {
this._zb1 = 0;
this.x = 0;
this.y = 0;
}
function _Ds3() {
_Zt3();
__t3();
_rn._Fl3 = 0;
_rn._Fl3 = "";
_ss3 = 0;
_rs3 = "";
}
_6d3.prototype._Ua1 = function () {
this._0u3();
this._Ot3();
_rn._Fl3 = 0;
_rn._NS = 0;
_rn._Fl3 = "";
_ss3 = 0;
_rs3 = "";
_rn._OS = "";
_rn._GS = "";
};
/*@this {yyIOManager} */ function _wt3() {
return this._gt3;
}
/*@this {yyIOManager} */ function _xt3(_1u3) {
this._gt3 = _1u3;
}
/*@this {yyIOManager} */ function _yt3() {
return this._jt3;
}
/*@this {yyIOManager} */ function _zt3() {
return this._it3;
}
/*@this {yyIOManager} */ function _At3(_Hc1) {
if (_Hc1 < 0 || _Hc1 > 255) return false;
this._jt3 = _Hc1;
}
/*@this {yyIOManager} */ function _Bt3(_Hc1) {
if (_Hc1 < 0 || _Hc1 > 255) return false;
this._it3 = _Hc1;
}
/*@this {yyIOManager} */ function _Ct3(_Hc1) {
if (_Hc1 < 0 || _Hc1 > 255) return false;
return this._xw1[_Hc1];
}
/*@this {yyIOManager} */ function _Dt3(_Hc1) {
if (_Hc1 < 0 || _Hc1 > 255) return false;
return this._ww1[_Hc1];
}
/*@this {yyIOManager} */ function _Et3(_Hc1) {
if (_Hc1 < 0 || _Hc1 > 255) return false;
return this._yw1[_Hc1];
}
/*@this {yyIOManager} */ function _Ft3(_Hc1) {
if (_Hc1 < 0 || _Hc1 > 255) return;
this._xw1[_Hc1] = 0;
this._ww1[_Hc1] = 0;
this._yw1[_Hc1] = 0;
}
_6d3.prototype._0u3 = function () {
this._jt3 = 0;
this._it3 = 0;
this._gt3 = 0;
for (var _X9 = 0; _X9 <= _hs3; _X9++) {
this._xw1[_X9] = 0;
this._ww1[_X9] = 0;
this._yw1[_X9] = 0;
}
};
function _Zt3() {
for (var _X9 = 0; _X9 < _hs3; _X9++) {
_ws3[_X9] = 0;
_xs3[_X9] = 0;
_vs3[_X9] = 0;
}
}
/*@this {yyIOManager} */ function _Gt3() {
return this._kt3;
}
/*@this {yyIOManager} */ function _Ht3() {
return this._lt3;
}
/*@this {yyIOManager} */ function _It3(_vw1) {
if (_vw1 < 1 || _vw1 > 3) return;
this._kt3 = _vw1;
}
/*@this {yyIOManager} */ function _Jt3(_vw1) {
if (_vw1 < 1 || _vw1 > 3) return;
this._lt3 = _vw1;
}
/*@this {yyIOManager} */ function _Kt3(_vw1) {
_vw1--;
if (_vw1 >= 0 && _vw1 < _is3) {
return this._D91[_vw1];
}
return false;
}
/*@this {yyIOManager} */ function _Lt3(_vw1) {
_vw1--;
if (_vw1 >= 0 && _vw1 < _is3) {
return this._y91[_vw1];
}
}
/*@this {yyIOManager} */ function _Mt3(_vw1) {
_vw1--;
if (_vw1 >= 0 && _vw1 < _is3) {
return this._C91[_vw1];
}
return false;
}
/*@this {yyIOManager} */ function _Nt3(_vw1) {
_vw1--;
if (_vw1 >= 0 && _vw1 < _is3) {
this._D91[_vw1] = false;
this._y91[_vw1] = false;
this._C91[_vw1] = false;
}
}
/*@this {yyIOManager} */ function _Ot3() {
this._kt3 = 0;
this._lt3 = 0;
for (var _X9 = 0; _X9 <= _is3; _X9++) {
this._D91[_X9] = false;
this._y91[_X9] = false;
this._C91[_X9] = false;
}
this._nt3 = false;
this._mt3 = false;
for (var _nb1 = 0; _nb1 < _kb1.length; _nb1++) {
_kb1[_nb1]._Ua1();
}
}
function __t3() {
_qs3 = -1;
_os3 = -1;
_ns3 = -1;
_xb1 = 0;
_yb1[0]._zb1 = 0;
_yb1[0].x = 0;
_yb1[0].y = 0;
_ms3 = -1;
}
/*@this {yyIOManager} */ function _tt3() {
for (var _nb1 = 0; _nb1 < _kb1.length; _nb1++) {
var _ob1 = _kb1[_nb1];
if (_ob1._D91) {
_ob1._C91 = 0;
_ob1._y91 = _ob1._1b1 ^ _ob1._D91;
} else {
_ob1._C91 = _ob1._1b1 ^ _ob1._D91;
_ob1._y91 = 0;
}
_ob1._1b1 = _ob1._D91;
}
for (var _Wt3 = 0; _Wt3 < _yb1.length; _Wt3++) {
_DQ1[_Wt3]._zb1 = _yb1[_Wt3]._zb1;
_DQ1[_Wt3].x = _yb1[_Wt3].x;
_DQ1[_Wt3].y = _yb1[_Wt3].y;
_yb1[_Wt3]._zb1 &= ~_Cb1;
}
if (_ss3) {
if (_rs3) {
if (_ss3 == 13) {
} else if (_ss3 == 8) {
_rn._OS = _rs3;
if (_rn._GS.length > 0) {
_rn._GS = _rn._GS.substring(0, _rn._GS.length - 1);
}
} else {
_rn._OS = _rs3;
_rn._GS += _rn._OS;
if (_rn._GS.length > 1024) {
_rn._GS = _rn._GS.substring(1, _rn._GS.length - 1);
}
}
}
if (_rn._Fl3 != 0) {
_rn._NS = _rn._Fl3;
}
_rn._Fl3 = _ss3;
_ss3 = 0;
} else if (!_ub1._xw1[_rn._Fl3]) {
_rn._NS = _rn._Fl3;
_rn._Fl3 = 0;
}
this._1O1 = _vb1;
this._2O1 = _wb1;
this._qt3 = _xb1;
if ((this._qt3 & 1) != 0) {
this._D91[0] = 1;
if (((this._rt3 ^ this._qt3) & 0x1) != 0) {
this._y91[0] = 1;
}
} else {
this._D91[0] = 0;
if (((this._rt3 ^ this._qt3) & 0x1) != 0) {
this._C91[0] = 1;
}
}
if ((this._qt3 & 2) != 0) {
this._D91[1] = 1;
if (((this._rt3 ^ this._qt3) & 0x2) != 0) {
this._y91[1] = 1;
}
} else {
this._D91[1] = 0;
if (((this._rt3 ^ this._qt3) & 0x2) != 0) {
this._C91[1] = 1;
}
}
if ((this._qt3 & 4) != 0) {
this._D91[2] = 1;
if (((this._rt3 ^ this._qt3) & 0x4) != 0) {
this._y91[2] = 1;
}
} else {
this._D91[2] = 0;
if (((this._rt3 ^ this._qt3) & 0x4) != 0) {
this._C91[2] = 1;
}
}
this._rt3 = this._qt3;
_rn._0O1 = this._1O1;
_rn._4O1 = this._2O1;
_rn._Dl3 = _ns3 + 1;
_rn._El3 = _ps3 + 1;
this._Vt3();
}
/*@this {yyIOManager} */ function _Vt3() {
var _2u3 = 0;
var _r81 = 0;
var _Z9 = _ys1;
var __9 = _vs1;
var _B21 = _zs1();
var _1L1 = _ws1();
if (_Z9 < 0) _Z9 = _B21;
if (__9 < 0) __9 = _1L1;
for (var _Wt3 = 0; _Wt3 < _DQ1.length; _Wt3++) {
var _3u3 = _DQ1[_Wt3];
if ((_3u3._zb1 & _Bb1) != 0) {
_r81 = 1;
for (var _4u3 = 0; _4u3 < _HP1.length; _4u3++) {
var _BP1 = _HP1[_4u3];
if ((_BP1._DP1 & _EP1) != 0) {
var x = (_Z9 * (_3u3.x - _9b1.left)) / _B21;
var y = (__9 * (_3u3.y - _9b1.top)) / _1L1;
if (x >= _BP1.x && x < _BP1._121 && y >= _BP1.y && y < _BP1._221) {
_2u3 |= _r81;
}
}
_r81 <<= 1;
}
_3u3._zb1 = 0;
}
}
_r81 = 1;
var _5u3 = _ys3 ^ _2u3;
for (var _4u3 = 0; _4u3 < _HP1.length; _4u3++) {
var _BP1 = _HP1[_4u3];
if ((_BP1._DP1 & _EP1) != 0) {
var _6u3 = _2u3 & _r81;
var _Go1 = _5u3 & _r81;
if (_BP1.key != 0) {
this._ww1[_BP1.key] |= _6u3 && _Go1;
this._xw1[_BP1.key] |= _6u3 && !_Go1;
this._yw1[_BP1.key] |= !_6u3 && _Go1;
} else {
this._y91[_BP1.button - 1] |= _6u3 && _Go1;
this._D91[_BP1.button - 1] |= _6u3 && !_Go1;
this._C91[_BP1.button - 1] |= !_6u3 && _Go1;
}
}
_r81 <<= 1;
}
_ys3 = _2u3;
}
function _Pt3(_7u3) {
var _I03 = _K13 | _7u3;
var _xc1 = _D01._8w1._xc1;
var _8u3 = _xc1.length;
for (var _4q1 = 0; _4q1 < _8u3; _4q1++) {
var _Yv1 = _xc1[_4q1];
var _8q1 = _Yv1._fw1;
if (_8q1._EZ2[_I03]) {
_Yv1._B11(_K13, _7u3, _Yv1, _Yv1);
}
}
}
function _9u3(_au3) {
var _I03 = _N13 | _au3;
var _xc1 = _D01._8w1._xc1;
var _8u3 = _xc1.length;
for (var _4q1 = 0; _4q1 < _8u3; _4q1++) {
var _Yv1 = _xc1[_4q1];
if (_Yv1._bl) {
continue;
}
var _8q1 = _Yv1._fw1;
if (_8q1._EZ2[_I03]) {
_Yv1._B11(_N13, _au3, _Yv1, _Yv1);
}
}
}
function _Tt3(_bu3) {
var _I03 = _O13 | _bu3;
var _xc1 = _D01._8w1._xc1;
var _8u3 = _xc1.length;
for (var _4q1 = 0; _4q1 < _8u3; _4q1++) {
var _Yv1 = _xc1[_4q1];
var _8q1 = _Yv1._fw1;
if (_8q1._EZ2[_I03]) {
_Yv1._B11(_O13, _bu3, _Yv1, _Yv1);
}
}
}
/*@this {yyIOManager} */ function _Qt3() {
var _cu3 = 0;
for (var _X9 = 2; _X9 < _hs3; _X9++) {
if (this._xw1[_X9]) {
_cu3 = 1;
_Pt3(_X9);
}
}
_Pt3(_cu3);
}
/*@this {yyIOManager} */ function _St3() {
var _du3 = 0;
for (var _X9 = 2; _X9 < _hs3; _X9++) {
if (this._ww1[_X9]) {
_du3 = 1;
_9u3(_X9);
}
}
_9u3(_du3);
}
/*@this {yyIOManager} */ function _Ut3() {
var _eu3 = 0;
for (var _X9 = 2; _X9 < _hs3; _X9++) {
if (this._yw1[_X9]) {
_eu3 = 1;
_Tt3(_X9);
}
}
_Tt3(_eu3);
}
/*@this {yyIOManager} */ function _vt3() {
var _fu3 = 0,
_gu3 = 0,
_hu3 = 0;
this._y01++;
for (var _X9 = 0; _X9 < _hs3; _X9++) {
this._ww1[_X9] = this._yw1[_X9] = this._xw1[_X9] = 0;
}
for (var _X9 = 0; _X9 < _hs3; _X9++) {
var key = this._ot3[_X9];
this._ww1[key] |= _ws3[_X9];
this._yw1[key] |= _xs3[_X9];
this._xw1[key] |= _vs3[_X9];
_fu3 |= _ws3[_X9];
_gu3 |= _vs3[_X9];
_hu3 |= _xs3[_X9];
_ws3[_X9] = 0;
_xs3[_X9] = 0;
}
this._ww1[1] = _fu3;
this._xw1[1] = _gu3;
this._yw1[1] = _hu3;
this._ww1[0] = _fu3 ^ 1;
this._xw1[0] = _gu3 ^ 1;
this._yw1[0] = _hu3 ^ 1;
_u_2 = _v_2 = 0;
if (_us3 > 0) {
_u_2 = 1;
} else if (_us3 < 0) {
_v_2 = 1;
}
_us3 = 0;
for (var _X9 = 0; _X9 <= _is3; _X9++) {
this._y91[_X9] = false;
this._C91[_X9] = false;
}
this._nt3 = false;
this._mt3 = false;
this._Va1();
var _3b1;
if (!_D01._4b1) {
_3b1 = _5b1;
} else {
_3b1 = _D01._6b1;
}
var _7b1;
for (var _J41 = 0; _J41 <= 7; ++_J41) {
_7b1 = _3b1[_J41];
if (_7b1 && _7b1._4a) {
_rn._0O1 = _7b1._eb1(_ub1._1O1, _ub1._2O1);
_rn._4O1 = _7b1._fb1(_ub1._1O1, _ub1._2O1);
break;
}
}
for (var _J41 = 7; _J41 >= 0; _J41--) {
_7b1 = _3b1[_J41];
if (_7b1 && _7b1._4a) {
_8b1(canvas, _9b1);
if (this._1O1 - _9b1.left >= _7b1._ab1 && this._1O1 - _9b1.left < _7b1._bb1 && this._2O1 - _9b1.top >= _7b1._cb1 && this._2O1 - _9b1.top < _7b1._db1) {
_rn._0O1 = _7b1._eb1(_ub1._1O1, _ub1._2O1);
_rn._4O1 = _7b1._fb1(_ub1._1O1, _ub1._2O1);
break;
}
}
}
}
function _iu3() {
_ub1._Pt3();
_ub1._Rt3();
_ub1._Tt3();
}
function _ju3(index) {
this._DP1 = 0;
this.index = index;
this.x = 0;
this.y = 0;
this._121 = 0;
this._221 = 0;
this._Z9 = 0;
this.__9 = 0;
this._P41 = 0;
this._J41 = 0;
this.key = 0;
this.button = 0;
}
function _CP1() {
for (var _921 = 0; _921 < _HP1.length; ++_921) {
if (_HP1[_921]._DP1 == 0) {
return _HP1[_921];
}
}
var _X9 = _HP1.length;
_HP1[_X9] = new _ju3(_X9);
return _HP1[_X9];
}
function _IP1(_ku3) {
_HP1[_ku3]._DP1 = 0;
}
function _lu3() {
for (var _921 = 0; _921 < _HP1.length; ++_921) {
_HP1[_921]._DP1 = 0;
}
}
_6d3.prototype._mu3 = function () {
_ip1();
_Rs1();
var _Ss1 = [];
_Ss1[0] = 1;
_Ss1[1] = 0;
_Ss1[2] = 0;
_Ss1[3] = 1;
_Ss1[4] = 0;
_Ss1[5] = 0;
_Hm3(_Ss1);
var _nq1 = _rt1();
var _nu3 = _st1();
_aL(0xffffff);
for (var _921 = 0; _921 < _KP1.length; ++_921) {
var _LP1 = _KP1[_921];
_xU(_LP1.x, _LP1.y, _LP1.x + _LP1._Z9 - 1, _LP1.y + _LP1.__9 - 1, true);
}
_aL(_nu3);
_0L(_nq1);
_Ys1();
};
function _jc1() {
this._ou3 = [];
this._xc1 = [];
this._kc1 = false;
this.length = 0;
this._d31 = 0;
}
_jc1.prototype._Ec3 = function () {
if (this._ou3.length == 0) {
return this._xc1.length;
}
return this._ou3.pop();
};
_jc1.prototype._Da1 = function (_fh3) {
var index;
if (this._kc1) {
index = this._xc1.length;
} else {
index = this._Ec3();
}
this._xc1[index] = _fh3;
this._d31++;
this.length = this._xc1.length;
return index;
};
_jc1.prototype._s11 = function (_HB1) {
if (_HB1 < 0 || _HB1 >= this._xc1.length) return null;
return this._xc1[_HB1];
};
_jc1.prototype._yz1 = function (_gh3) {
for (var _921 = 0; _921 < this._xc1.length; _921++) {
if (this._xc1[_921] == _gh3) return _921;
}
};
_jc1.prototype._ey1 = function (_gh3) {
for (var _921 = 0; _921 < this._xc1.length; _921++) {
if (this._xc1[_921] == _gh3) {
if (this._kc1) {
this._xc1.splice(_921, 1);
} else {
this._xc1[_921] = null;
this._ou3.push(_921);
}
this._d31--;
this.length = this._xc1.length;
return true;
}
}
return false;
};
_jc1.prototype._nc1 = function (_HB1) {
if (_HB1 < 0 || _HB1 >= this._xc1.length) return false;
if (this._kc1) {
this._xc1.splice(_HB1, 1);
} else {
this._xc1[_HB1] = null;
this._ou3.push(_HB1);
}
this._d31--;
this.length = this._xc1.length;
return true;
};
_jc1.prototype._Ua1 = function () {
var _xc1 = this._xc1;
for (var _X9 = 0; _X9 < _xc1.length; _X9++) {
var _J41 = _xc1[_X9];
if (_J41 != null && _J41.Object !== undefined)
switch (_J41._Mc1) {
case _Cc1:
_Tm(_J41.Object);
break;
case _Dc1:
_Fl(_J41.Object);
break;
}
}
this._xc1 = [];
this._ou3 = [];
this._d31 = 0;
this.length = this._xc1.length;
};
_jc1.prototype._sc1 = function (_G31, _M01) {
if (_G31 < 0 || _G31 >= this._xc1.length) return;
this._xc1[_G31] = _M01;
};
_jc1.prototype._vc1 = function (_G31, _M01) {
if (_G31 < 0) {
_Rb1("index is negative " + _G31);
return _M01;
}
if (_G31 >= this._xc1.length) {
var _921 = this._xc1.length;
while (_G31 >= _921) {
this._Da1(0);
++_921;
}
}
var __b1 = this._xc1[_G31];
this._xc1[_G31] = _M01;
return __b1;
};
_jc1.prototype._pu3 = function (_qu3) {
if (_qu3) {
this._xc1.sort(function (_l41, _e21) {
return _l41 - _e21;
});
} else {
this._xc1.sort(function (_l41, _e21) {
return _e21 - _l41;
});
}
this._ou3 = [];
for (var _X9 = 0; _X9 < this._xc1.length; _X9++) {
if (this._xc1[_X9] == null || this._xc1[_X9] == undefined) {
this._ou3.push(_X9);
}
}
};
_jc1.prototype._Ac1 = function () {
var _ru3 = this._xc1.length,
_su3,
_tu3;
while (0 !== _ru3) {
_tu3 = Math.floor(Math.random() * _ru3);
_ru3 -= 1;
_su3 = this._xc1[_ru3];
this._xc1[_ru3] = this._xc1[_tu3];
this._xc1[_tu3] = _su3;
}
};
_jc1.prototype._Pb1 = function (_Qb1) {
this._xc1 = _Qb1._xc1.slice();
this._ou3 = _Qb1._ou3.slice();
this._kc1 = _Qb1._kc1;
this.length = _Qb1.length;
this._d31 = _Qb1._d31;
};
var _bq3 = 0,
_eq3 = 1,
_fq3 = 2;
function _uu3() {
this._vu3 = null;
this._wu3 = 0;
this._xu3 = null;
}
function _yu3() {
this._vu3 = null;
this._zu3 = false;
this._fd1 = null;
}
function _Au3() {
this._LE2 = false;
}
function _fF2(_Bu3, _R01) {
this.__type = "[Object]";
this._zb1 = 0;
this._rw1 = _Bu3;
this._Td3 = _R01;
this._0q3 = -1;
this._gw1 = 0;
this._1q3 = 0;
this._2q3 = false;
this._3q3 = false;
this._4q3 = false;
this._pw1 = 0;
this._1p1 = null;
this._Cu3 = -1;
this._3e3 = false;
this._n_2 = new _jc1();
this._bs3 = new _jc1();
this._n_2._kc1 = true;
this._bs3._kc1 = true;
this._Du3 = [];
for (var _l41 = 0; _l41 < _G_2; _l41++) {
this._Du3[_l41] = null;
}
this._Eu3 = [];
this._Fu3 = [];
this._Gu3 = [];
this._5e3 = [];
this._1a = [];
this._gr1 = [];
this._EZ2 = [];
this._5q3 = new _Au3();
}
_fF2.prototype._jC1 = function () {
return this._n_2._xc1;
};
_fF2.prototype._JF1 = function () {
return this._bs3._xc1;
};
function _ke3(_Hu3, _Iu3) {
var _8q1 = new _fF2(_Hu3, _Iu3._d2);
{
if (_Iu3._3a != undefined) _8q1._gw1 = _Iu3._3a;
if (_Iu3._4a != undefined) _8q1._3q3 = _Iu3._4a;
if (_Iu3._kC1 != undefined) _8q1._2q3 = _Iu3._kC1;
if (_Iu3._Xf != undefined) _8q1._1q3 = _Iu3._Xf;
if (_Iu3._fc != undefined) _8q1._4q3 = _Iu3._fc;
if (_Iu3.parent != undefined) _8q1._pw1 = _Iu3.parent;
if (_Iu3._Ju3 != undefined) _8q1._0q3 = _Iu3._Ju3;
if (_Iu3._9a) {
_8q1._9a = _Iu3._9a;
_8q1._gr1[_iw1] = true;
}
if (_Iu3._ta) {
_8q1._ta = _Iu3._ta;
_8q1._gr1[_jw1] = true;
}
if (_Iu3._Ta) {
_8q1._Ta = _Iu3._Ta;
_8q1._gr1[_5w1] = true;
}
if (_Iu3._Ku3) {
_8q1._Ku3 = _Iu3._Ku3;
_8q1._gr1[_6w1] = true;
}
if (_Iu3._Lu3) {
_8q1._Lu3 = _Iu3._Lu3;
_8q1._gr1[_S13] = true;
}
if (_Iu3._da) {
_8q1._da = _Iu3._da;
_8q1._gr1[_R13] = true;
}
if (_Iu3._7d) {
_8q1._7d = _Iu3._7d;
_8q1._gr1[_T13] = true;
}
if (_Iu3._5a) {
_8q1._5a = _Iu3._5a;
_8q1._gr1[_M13] = true;
}
if (_Iu3._7a) {
_8q1._7a = _Iu3._7a;
_8q1._gr1[_A23] = true;
}
if (_Iu3._Ad) {
_8q1._Ad = _Iu3._Ad;
_8q1._gr1[_C23] = true;
}
if (_Iu3._9e) {
_8q1._9e = _Iu3._9e;
_8q1._gr1[_D23] = true;
}
if (_Iu3._Mu3) {
_8q1._Mu3 = _Iu3._Mu3;
_8q1._gr1[_E23] = true;
}
if (_Iu3._kd) {
_8q1._kd = _Iu3._kd;
_8q1._gr1[_F23] = true;
}
if (_Iu3._Nu3) {
_8q1._Nu3 = _Iu3._Nu3;
_8q1._gr1[_G23] = true;
}
if (_Iu3._Ou3) {
_8q1._Ou3 = _Iu3._Ou3;
_8q1._gr1[_H23] = true;
}
if (_Iu3._Pu3) {
_8q1._Pu3 = _Iu3._Pu3;
_8q1._gr1[_B23] = true;
}
if (_Iu3._Qu3) {
_8q1._Qu3 = _Iu3._Qu3;
_8q1._gr1[_i_2] = true;
}
if (_Iu3._Ru3) {
_8q1._Ru3 = _Iu3._Ru3;
_8q1._gr1[_9_2] = true;
}
if (_Iu3._Su3) {
_8q1._Su3 = _Iu3._Su3;
_8q1._gr1[_b_2] = true;
}
if (_Iu3._Tu3) {
_8q1._Tu3 = _Iu3._Tu3;
_8q1._gr1[_a_2] = true;
}
if (_Iu3._Oc) {
_8q1._Oc = _Iu3._Oc;
_8q1._gr1[_c_2] = true;
}
if (_Iu3._Uu3) {
_8q1._Uu3 = _Iu3._Uu3;
_8q1._gr1[_e_2] = true;
}
if (_Iu3._Vu3) {
_8q1._Vu3 = _Iu3._Vu3;
_8q1._gr1[_d_2] = true;
}
if (_Iu3._Wu3) {
_8q1._Wu3 = _Iu3._Wu3;
_8q1._gr1[_f_2] = true;
}
if (_Iu3._Xu3) {
_8q1._Xu3 = _Iu3._Xu3;
_8q1._gr1[_h_2] = true;
}
if (_Iu3._Yu3) {
_8q1._Yu3 = _Iu3._Yu3;
_8q1._gr1[_g_2] = true;
}
if (_Iu3._Zu3) {
_8q1._Zu3 = _Iu3._Zu3;
_8q1._gr1[_l_2] = true;
}
if (_Iu3.__u3) {
_8q1.__u3 = _Iu3.__u3;
_8q1._gr1[_m_2] = true;
}
if (_Iu3._0v3) {
_8q1._0v3 = _Iu3._0v3;
_8q1._gr1[_r_2] = true;
}
if (_Iu3._1v3) {
_8q1._1v3 = _Iu3._1v3;
_8q1._gr1[_N23] = true;
}
if (_Iu3._2v3) {
_8q1._2v3 = _Iu3._2v3;
_8q1._gr1[_O23] = true;
}
if (_Iu3._3v3) {
_8q1._3v3 = _Iu3._3v3;
_8q1._gr1[_s_2] = true;
}
if (_Iu3._4v3) {
_8q1._4v3 = _Iu3._4v3;
_8q1._gr1[_P23] = true;
}
if (_Iu3._5v3) {
_8q1._5v3 = _Iu3._5v3;
_8q1._gr1[_Q23] = true;
}
if (_Iu3._gd) {
_8q1._gd = _Iu3._gd;
_8q1._gr1[_t_2] = true;
}
if (_Iu3._6v3) {
_8q1._6v3 = _Iu3._6v3;
_8q1._gr1[_R23] = true;
}
if (_Iu3._7v3) {
_8q1._7v3 = _Iu3._7v3;
_8q1._gr1[_S23] = true;
}
if (_Iu3._8v3) {
_8q1._8v3 = _Iu3._8v3;
_8q1._gr1[_j_2] = true;
}
if (_Iu3._9v3) {
_8q1._9v3 = _Iu3._9v3;
_8q1._gr1[_k_2] = true;
}
if (_Iu3._av3) {
_8q1._av3 = _Iu3._av3;
_8q1._gr1[_433] = true;
}
if (_Iu3._bv3) {
_8q1._bv3 = _Iu3._bv3;
_8q1._gr1[_533] = true;
}
if (_Iu3._cv3) {
_8q1._cv3 = _Iu3._cv3;
_8q1._gr1[_633] = true;
}
if (_Iu3._dv3) {
_8q1._dv3 = _Iu3._dv3;
_8q1._gr1[_733] = true;
}
if (_Iu3._ev3) {
_8q1._ev3 = _Iu3._ev3;
_8q1._gr1[_833] = true;
}
if (_Iu3._fv3) {
_8q1._fv3 = _Iu3._fv3;
_8q1._gr1[_933] = true;
}
if (_Iu3._gv3) {
_8q1._gv3 = _Iu3._gv3;
_8q1._gr1[_h33] = true;
}
if (_Iu3._hv3) {
_8q1._hv3 = _Iu3._hv3;
_8q1._gr1[_i33] = true;
}
if (_Iu3._iv3) {
_8q1._iv3 = _Iu3._iv3;
_8q1._gr1[_j33] = true;
}
if (_Iu3._jv3) {
_8q1._jv3 = _Iu3._jv3;
_8q1._gr1[_k33] = true;
}
if (_Iu3._kv3) {
_8q1._kv3 = _Iu3._kv3;
_8q1._gr1[_l33] = true;
}
if (_Iu3._7b) {
_8q1._7b = _Iu3._7b;
_8q1._gr1[_m33] = true;
}
if (_Iu3._lv3) {
_8q1._lv3 = _Iu3._lv3;
_8q1._gr1[_FZ2] = true;
}
if (_Iu3._mv3) {
_8q1._mv3 = _Iu3._mv3;
_8q1._gr1[_LZ2] = true;
}
if (_Iu3._nv3) {
_8q1._nv3 = _Iu3._nv3;
_8q1._gr1[_U13] = true;
}
if (_Iu3._ov3) {
_8q1._ov3 = _Iu3._ov3;
_8q1._gr1[_V13] = true;
}
if (_Iu3._9d) {
_8q1._9d = _Iu3._9d;
_8q1._gr1[_W13] = true;
}
if (_Iu3._bd) {
_8q1._bd = _Iu3._bd;
_8q1._gr1[_X13] = true;
}
if (_Iu3._pv3) {
_8q1._pv3 = _Iu3._pv3;
_8q1._gr1[_Y13] = true;
}
if (_Iu3._Rd) {
_8q1._Rd = _Iu3._Rd;
_8q1._gr1[_Z13] = true;
}
if (_Iu3._qv3) {
_8q1._qv3 = _Iu3._qv3;
_8q1._gr1[_OE2] = true;
}
if (_Iu3._rv3) {
_8q1._rv3 = _Iu3._rv3;
_8q1._gr1[__13] = true;
}
if (_Iu3._sv3) {
_8q1._sv3 = _Iu3._sv3;
_8q1._gr1[_023] = true;
}
if (_Iu3._tv3) {
_8q1._tv3 = _Iu3._tv3;
_8q1._gr1[_SZ2] = true;
}
if (_Iu3._uv3) {
_8q1._uv3 = _Iu3._uv3;
_8q1._gr1[_h23] = true;
}
if (_Iu3._vv3) {
_8q1._vv3 = _Iu3._vv3;
_8q1._gr1[_i23] = true;
}
if (_Iu3._wv3) {
_8q1._wv3 = _Iu3._wv3;
_8q1._gr1[_j23] = true;
}
if (_Iu3._xv3) {
_8q1._xv3 = _Iu3._xv3;
_8q1._gr1[_k23] = true;
}
if (_Iu3._yv3) {
_8q1._yv3 = _Iu3._yv3;
_8q1._gr1[_l23] = true;
}
if (_Iu3._zv3) {
_8q1._zv3 = _Iu3._zv3;
_8q1._gr1[_m23] = true;
}
if (_Iu3._Av3) {
_8q1._Av3 = _Iu3._Av3;
_8q1._gr1[_n23] = true;
}
if (_Iu3._Bv3) {
_8q1._Bv3 = _Iu3._Bv3;
_8q1._gr1[_TZ2] = true;
}
if (_Iu3._Cv3) {
_8q1._Cv3 = _Iu3._Cv3;
_8q1._gr1[_o23] = true;
}
if (_Iu3._Dv3) {
_8q1._Dv3 = _Iu3._Dv3;
_8q1._gr1[_p23] = true;
}
if (_Iu3._Ev3) {
_8q1._Ev3 = _Iu3._Ev3;
_8q1._gr1[_q23] = true;
}
if (_Iu3._Fv3) {
_8q1._Fv3 = _Iu3._Fv3;
_8q1._gr1[_r23] = true;
}
if (_Iu3._Gv3) {
_8q1._Gv3 = _Iu3._Gv3;
_8q1._gr1[_s23] = true;
}
if (_Iu3._Hv3) {
_8q1._Hv3 = _Iu3._Hv3;
_8q1._gr1[_t23] = true;
}
if (_Iu3._Iv3) {
_8q1._Iv3 = _Iu3._Iv3;
_8q1._gr1[_u23] = true;
}
if (_Iu3._Jv3) {
_8q1._Jv3 = _Iu3._Jv3;
_8q1._gr1[_C11] = true;
}
if (_Iu3._Kv3) {
_8q1._Kv3 = _Iu3._Kv3;
_8q1._gr1[_123] = true;
}
if (_Iu3._Lv3) {
_8q1._Lv3 = _Iu3._Lv3;
_8q1._gr1[_223] = true;
}
if (_Iu3._Mv3) {
_8q1._Mv3 = _Iu3._Mv3;
_8q1._gr1[_323] = true;
}
if (_Iu3._Nv3) {
_8q1._Nv3 = _Iu3._Nv3;
_8q1._gr1[_423] = true;
}
if (_Iu3._Ov3) {
_8q1._Ov3 = _Iu3._Ov3;
_8q1._gr1[_523] = true;
}
if (_Iu3._Pv3) {
_8q1._Pv3 = _Iu3._Pv3;
_8q1._gr1[_623] = true;
}
if (_Iu3._Qv3) {
_8q1._Qv3 = _Iu3._Qv3;
_8q1._gr1[_723] = true;
}
if (_Iu3._Rv3) {
_8q1._Rv3 = _Iu3._Rv3;
_8q1._gr1[_823] = true;
}
if (_Iu3._Sv3) {
_8q1._Sv3 = _Iu3._Sv3;
_8q1._gr1[_923] = true;
}
if (_Iu3._Tv3) {
_8q1._Tv3 = _Iu3._Tv3;
_8q1._gr1[_a23] = true;
}
if (_Iu3._Uv3) {
_8q1._Uv3 = _Iu3._Uv3;
_8q1._gr1[_b23] = true;
}
if (_Iu3._Vv3) {
_8q1._Vv3 = _Iu3._Vv3;
_8q1._gr1[_c23] = true;
}
if (_Iu3._Wv3) {
_8q1._Wv3 = _Iu3._Wv3;
_8q1._gr1[_d23] = true;
}
if (_Iu3._Xv3) {
_8q1._Xv3 = _Iu3._Xv3;
_8q1._gr1[_e23] = true;
}
if (_Iu3._Yv3) {
_8q1._Yv3 = _Iu3._Yv3;
_8q1._gr1[_f23] = true;
}
if (_Iu3._Zv3) {
_8q1._Zv3 = _Iu3._Zv3;
_8q1._gr1[_g23] = true;
}
if (_Iu3.__v3) {
_8q1.__v3 = _Iu3.__v3;
_8q1._gr1[_v23] = true;
}
if (_Iu3._0w3) {
_8q1._0w3 = _Iu3._0w3;
_8q1._gr1[_w23] = true;
}
if (_Iu3._1w3) {
_8q1._1w3 = _Iu3._1w3;
_8q1._gr1[_x23] = true;
}
if (_Iu3._2w3) {
_8q1._2w3 = _Iu3._2w3;
_8q1._gr1[_y23] = true;
}
if (_Iu3._Vc) {
_8q1._Vc = _Iu3._Vc;
_8q1._gr1[_I23] = true;
}
if (_Iu3._3w3) {
_8q1._3w3 = _Iu3._3w3;
_8q1._gr1[_J23] = true;
}
if (_Iu3._4w3) {
_8q1._4w3 = _Iu3._4w3;
_8q1._gr1[_K23] = true;
}
if (_Iu3._5w3) {
_8q1._5w3 = _Iu3._5w3;
_8q1._gr1[_bK1] = true;
}
if (_Iu3._6w3) {
_8q1._6w3 = _Iu3._6w3;
_8q1._gr1[_z23] = true;
}
if (_Iu3._7w3) {
_8q1._7w3 = _Iu3._7w3;
_8q1._gr1[_M23] = true;
}
if (_Iu3._8w3) {
_8q1._8w3 = _Iu3._8w3;
_8q1._gr1[_L23] = true;
}
if (_Iu3._9w3) {
_8q1._9w3 = _Iu3._9w3;
_8q1._gr1[_q01] = true;
}
if (_Iu3._aw3) {
_8q1._aw3 = _Iu3._aw3;
_8q1._gr1[_nI1] = true;
}
if (_Iu3._va) {
_8q1._Du3[0] = _Iu3._va;
_8q1._gr1[_T23] = true;
}
if (_Iu3._Tc) {
_8q1._Du3[1] = _Iu3._Tc;
_8q1._gr1[_U23] = true;
}
if (_Iu3._bw3) {
_8q1._Du3[2] = _Iu3._bw3;
_8q1._gr1[_V23] = true;
}
if (_Iu3._cw3) {
_8q1._Du3[3] = _Iu3._cw3;
_8q1._gr1[_W23] = true;
}
if (_Iu3._dw3) {
_8q1._Du3[4] = _Iu3._dw3;
_8q1._gr1[_X23] = true;
}
if (_Iu3._ew3) {
_8q1._Du3[5] = _Iu3._ew3;
_8q1._gr1[_Y23] = true;
}
if (_Iu3._fw3) {
_8q1._Du3[6] = _Iu3._fw3;
_8q1._gr1[_Z23] = true;
}
if (_Iu3._gw3) {
_8q1._Du3[7] = _Iu3._gw3;
_8q1._gr1[__23] = true;
}
if (_Iu3._hw3) {
_8q1._Du3[8] = _Iu3._hw3;
_8q1._gr1[_033] = true;
}
if (_Iu3._iw3) {
_8q1._Du3[9] = _Iu3._iw3;
_8q1._gr1[_133] = true;
}
if (_Iu3._jw3) {
_8q1._Du3[10] = _Iu3._jw3;
_8q1._gr1[_233] = true;
}
if (_Iu3._kw3) {
_8q1._Du3[11] = _Iu3._kw3;
_8q1._gr1[_333] = true;
}
if (_Iu3._lw3) {
_8q1._Fu3[_663] = _Iu3._lw3;
_8q1._gr1[_663] = true;
}
if (_Iu3._mw3) {
_8q1._Fu3[_863] = _Iu3._mw3;
_8q1._gr1[_863] = true;
}
if (_Iu3._nw3) {
_8q1._Fu3[_963] = _Iu3._nw3;
_8q1._gr1[_963] = true;
}
if (_Iu3._ow3) {
_8q1._Fu3[_a63] = _Iu3._ow3;
_8q1._gr1[_a63] = true;
}
if (_Iu3._ha) {
_8q1._Fu3[_b63] = _Iu3._ha;
_8q1._gr1[_b63] = true;
}
if (_Iu3._Zc) {
_8q1._Fu3[_c63] = _Iu3._Zc;
_8q1._gr1[_c63] = true;
}
if (_Iu3._pw3) {
_8q1._Fu3[_d63] = _Iu3._pw3;
_8q1._gr1[_d63] = true;
}
if (_Iu3._qw3) {
_8q1._Fu3[_e63] = _Iu3._qw3;
_8q1._gr1[_e63] = true;
}
if (_Iu3._rw3) {
_8q1._Fu3[_f63] = _Iu3._rw3;
_8q1._gr1[_f63] = true;
}
if (_Iu3._za) {
_8q1._Fu3[_g63] = _Iu3._za;
_8q1._gr1[_g63] = true;
}
if (_Iu3._Hd) {
_8q1._Fu3[_h63] = _Iu3._Hd;
_8q1._gr1[_h63] = true;
}
if (_Iu3._sw3) {
_8q1._Fu3[_i63] = _Iu3._sw3;
_8q1._gr1[_i63] = true;
}
if (_Iu3._tw3) {
_8q1._Fu3[_j63] = _Iu3._tw3;
_8q1._gr1[_j63] = true;
}
if (_Iu3._uw3) {
_8q1._Fu3[_k63] = _Iu3._uw3;
_8q1._gr1[_k63] = true;
}
if (_Iu3._vw3) {
_8q1._Fu3[_l63] = _Iu3._vw3;
_8q1._gr1[_l63] = true;
}
if (_Iu3._ww3) {
_8q1._Fu3[_m63] = _Iu3._ww3;
_8q1._gr1[_m63] = true;
}
if (_Iu3._xw3) {
_8q1._Fu3[_n63] = _Iu3._xw3;
_8q1._gr1[_n63] = true;
}
if (_Iu3._yw3) {
_8q1._Fu3[_o63] = _Iu3._yw3;
_8q1._gr1[_o63] = true;
}
if (_Iu3._zw3) {
_8q1._Fu3[_p63] = _Iu3._zw3;
_8q1._gr1[_p63] = true;
}
if (_Iu3._Aw3) {
_8q1._Fu3[_q63] = _Iu3._Aw3;
_8q1._gr1[_q63] = true;
}
if (_Iu3._Bw3) {
_8q1._Fu3[_r63] = _Iu3._Bw3;
_8q1._gr1[_r63] = true;
}
if (_Iu3._Cw3) {
_8q1._Fu3[_s63] = _Iu3._Cw3;
_8q1._gr1[_s63] = true;
}
if (_Iu3._Dw3) {
_8q1._Fu3[_t63] = _Iu3._Dw3;
_8q1._gr1[_t63] = true;
}
if (_Iu3._Ew3) {
_8q1._Fu3[_u63] = _Iu3._Ew3;
_8q1._gr1[_u63] = true;
}
if (_Iu3._Fw3) {
_8q1._Fu3[_v63] = _Iu3._Fw3;
_8q1._gr1[_v63] = true;
}
if (_Iu3._Gw3) {
_8q1._Fu3[_w63] = _Iu3._Gw3;
_8q1._gr1[_w63] = true;
}
if (_Iu3._Hw3) {
_8q1._Fu3[_x63] = _Iu3._Hw3;
_8q1._gr1[_x63] = true;
}
if (_Iu3._Iw3) {
_8q1._Fu3[_y63] = _Iu3._Iw3;
_8q1._gr1[_y63] = true;
}
if (_Iu3._Jw3) {
_8q1._Fu3[_z63] = _Iu3._Jw3;
_8q1._gr1[_z63] = true;
}
if (_Iu3._Kw3) {
_8q1._Fu3[_A63] = _Iu3._Kw3;
_8q1._gr1[_A63] = true;
}
if (_Iu3._Lw3) {
_8q1._Fu3[_B63] = _Iu3._Lw3;
_8q1._gr1[_B63] = true;
}
if (_Iu3._Mw3) {
_8q1._Fu3[_C63] = _Iu3._Mw3;
_8q1._gr1[_C63] = true;
}
if (_Iu3._Nw3) {
_8q1._Fu3[_D63] = _Iu3._Nw3;
_8q1._gr1[_D63] = true;
}
if (_Iu3._Xc) {
_8q1._Fu3[_E63] = _Iu3._Xc;
_8q1._gr1[_E63] = true;
}
if (_Iu3._Ow3) {
_8q1._Fu3[_F63] = _Iu3._Ow3;
_8q1._gr1[_F63] = true;
}
if (_Iu3._Pw3) {
_8q1._Fu3[_G63] = _Iu3._Pw3;
_8q1._gr1[_G63] = true;
}
if (_Iu3._2d) {
_8q1._Fu3[_H63] = _Iu3._2d;
_8q1._gr1[_H63] = true;
}
if (_Iu3._Qw3) {
_8q1._Fu3[_I63] = _Iu3._Qw3;
_8q1._gr1[_I63] = true;
}
if (_Iu3._Rw3) {
_8q1._Fu3[_J63] = _Iu3._Rw3;
_8q1._gr1[_J63] = true;
}
if (_Iu3._Sw3) {
_8q1._Fu3[_K63] = _Iu3._Sw3;
_8q1._gr1[_K63] = true;
}
if (_Iu3._Tw3) {
_8q1._Fu3[_L63] = _Iu3._Tw3;
_8q1._gr1[_L63] = true;
}
if (_Iu3._Uw3) {
_8q1._Fu3[_M63] = _Iu3._Uw3;
_8q1._gr1[_M63] = true;
}
if (_Iu3._Vw3) {
_8q1._Fu3[_N63] = _Iu3._Vw3;
_8q1._gr1[_N63] = true;
}
if (_Iu3._Ww3) {
_8q1._Fu3[_O63] = _Iu3._Ww3;
_8q1._gr1[_O63] = true;
}
if (_Iu3._Xw3) {
_8q1._Fu3[_P63] = _Iu3._Xw3;
_8q1._gr1[_P63] = true;
}
if (_Iu3._Yw3) {
_8q1._Fu3[_Q63] = _Iu3._Yw3;
_8q1._gr1[_Q63] = true;
}
if (_Iu3._Fd) {
_8q1._Fu3[_R63] = _Iu3._Fd;
_8q1._gr1[_R63] = true;
}
if (_Iu3._Zw3) {
_8q1._Fu3[_S63] = _Iu3._Zw3;
_8q1._gr1[_S63] = true;
}
if (_Iu3.__w3) {
_8q1._Fu3[_T63] = _Iu3.__w3;
_8q1._gr1[_T63] = true;
}
if (_Iu3._0d) {
_8q1._Fu3[_U63] = _Iu3._0d;
_8q1._gr1[_U63] = true;
}
if (_Iu3._Jd) {
_8q1._Fu3[_V63] = _Iu3._Jd;
_8q1._gr1[_V63] = true;
}
if (_Iu3._0x3) {
_8q1._Fu3[_W63] = _Iu3._0x3;
_8q1._gr1[_W63] = true;
}
if (_Iu3._1x3) {
_8q1._Fu3[_X63] = _Iu3._1x3;
_8q1._gr1[_X63] = true;
}
if (_Iu3._2x3) {
_8q1._Fu3[_Y63] = _Iu3._2x3;
_8q1._gr1[_Y63] = true;
}
if (_Iu3._lf) {
_8q1._Fu3[_Z63] = _Iu3._lf;
_8q1._gr1[_Z63] = true;
}
if (_Iu3._3x3) {
_8q1._Fu3[__63] = _Iu3._3x3;
_8q1._gr1[__63] = true;
}
if (_Iu3._4x3) {
_8q1._Fu3[_073] = _Iu3._4x3;
_8q1._gr1[_073] = true;
}
if (_Iu3._5x3) {
_8q1._Fu3[_173] = _Iu3._5x3;
_8q1._gr1[_173] = true;
}
if (_Iu3._6x3) {
_8q1._Fu3[_273] = _Iu3._6x3;
_8q1._gr1[_273] = true;
}
if (_Iu3._7x3) {
_8q1._Fu3[_373] = _Iu3._7x3;
_8q1._gr1[_373] = true;
}
if (_Iu3._8x3) {
_8q1._Fu3[_473] = _Iu3._8x3;
_8q1._gr1[_473] = true;
}
if (_Iu3._9x3) {
_8q1._Fu3[_573] = _Iu3._9x3;
_8q1._gr1[_573] = true;
}
if (_Iu3._ax3) {
_8q1._Fu3[_673] = _Iu3._ax3;
_8q1._gr1[_673] = true;
}
if (_Iu3._bx3) {
_8q1._Fu3[_773] = _Iu3._bx3;
_8q1._gr1[_773] = true;
}
if (_Iu3._cx3) {
_8q1._Fu3[_873] = _Iu3._cx3;
_8q1._gr1[_873] = true;
}
if (_Iu3._dx3) {
_8q1._Fu3[_973] = _Iu3._dx3;
_8q1._gr1[_973] = true;
}
if (_Iu3._ex3) {
_8q1._Fu3[_a73] = _Iu3._ex3;
_8q1._gr1[_a73] = true;
}
if (_Iu3._fx3) {
_8q1._Fu3[_b73] = _Iu3._fx3;
_8q1._gr1[_b73] = true;
}
if (_Iu3._gx3) {
_8q1._Fu3[_c73] = _Iu3._gx3;
_8q1._gr1[_c73] = true;
}
if (_Iu3._hx3) {
_8q1._Fu3[_q73] = _Iu3._hx3;
_8q1._gr1[_q73] = true;
}
if (_Iu3._ix3) {
_8q1._Fu3[_r73] = _Iu3._ix3;
_8q1._gr1[_r73] = true;
}
if (_Iu3._jx3) {
_8q1._Fu3[_s73] = _Iu3._jx3;
_8q1._gr1[_s73] = true;
}
if (_Iu3._kx3) {
_8q1._Fu3[_t73] = _Iu3._kx3;
_8q1._gr1[_t73] = true;
}
if (_Iu3._lx3) {
_8q1._Fu3[_u73] = _Iu3._lx3;
_8q1._gr1[_u73] = true;
}
if (_Iu3._mx3) {
_8q1._Fu3[_v73] = _Iu3._mx3;
_8q1._gr1[_v73] = true;
}
if (_Iu3._nx3) {
_8q1._Fu3[_w73] = _Iu3._nx3;
_8q1._gr1[_w73] = true;
}
if (_Iu3._ox3) {
_8q1._Fu3[_x73] = _Iu3._ox3;
_8q1._gr1[_x73] = true;
}
if (_Iu3._px3) {
_8q1._Fu3[_y73] = _Iu3._px3;
_8q1._gr1[_y73] = true;
}
if (_Iu3._qx3) {
_8q1._Fu3[_z73] = _Iu3._qx3;
_8q1._gr1[_z73] = true;
}
if (_Iu3._rx3) {
_8q1._Fu3[_A73] = _Iu3._rx3;
_8q1._gr1[_A73] = true;
}
if (_Iu3._sx3) {
_8q1._Fu3[_B73] = _Iu3._sx3;
_8q1._gr1[_B73] = true;
}
if (_Iu3._tx3) {
_8q1._Fu3[_C73] = _Iu3._tx3;
_8q1._gr1[_C73] = true;
}
if (_Iu3._ux3) {
_8q1._Fu3[_D73] = _Iu3._ux3;
_8q1._gr1[_D73] = true;
}
if (_Iu3._vx3) {
_8q1._Fu3[_E73] = _Iu3._vx3;
_8q1._gr1[_E73] = true;
}
if (_Iu3._wx3) {
_8q1._Fu3[_F73] = _Iu3._wx3;
_8q1._gr1[_F73] = true;
}
if (_Iu3._xx3) {
_8q1._Eu3[_G73] = _Iu3._xx3;
_8q1._gr1[_G73] = true;
}
if (_Iu3._yx3) {
_8q1._Eu3[_I73] = _Iu3._yx3;
_8q1._gr1[_I73] = true;
}
if (_Iu3._zx3) {
_8q1._Eu3[_J73] = _Iu3._zx3;
_8q1._gr1[_J73] = true;
}
if (_Iu3._Ax3) {
_8q1._Eu3[_K73] = _Iu3._Ax3;
_8q1._gr1[_K73] = true;
}
if (_Iu3._Bx3) {
_8q1._Eu3[_L73] = _Iu3._Bx3;
_8q1._gr1[_L73] = true;
}
if (_Iu3._Cx3) {
_8q1._Eu3[_M73] = _Iu3._Cx3;
_8q1._gr1[_M73] = true;
}
if (_Iu3._Dx3) {
_8q1._Eu3[_N73] = _Iu3._Dx3;
_8q1._gr1[_N73] = true;
}
if (_Iu3._Ex3) {
_8q1._Eu3[_O73] = _Iu3._Ex3;
_8q1._gr1[_O73] = true;
}
if (_Iu3._Fx3) {
_8q1._Eu3[_P73] = _Iu3._Fx3;
_8q1._gr1[_P73] = true;
}
if (_Iu3._Gx3) {
_8q1._Eu3[_Q73] = _Iu3._Gx3;
_8q1._gr1[_Q73] = true;
}
if (_Iu3._Hx3) {
_8q1._Eu3[_R73] = _Iu3._Hx3;
_8q1._gr1[_R73] = true;
}
if (_Iu3._Ix3) {
_8q1._Eu3[_S73] = _Iu3._Ix3;
_8q1._gr1[_S73] = true;
}
if (_Iu3._Jx3) {
_8q1._Eu3[_T73] = _Iu3._Jx3;
_8q1._gr1[_T73] = true;
}
if (_Iu3._Kx3) {
_8q1._Eu3[_U73] = _Iu3._Kx3;
_8q1._gr1[_U73] = true;
}
if (_Iu3._Lx3) {
_8q1._Eu3[_V73] = _Iu3._Lx3;
_8q1._gr1[_V73] = true;
}
if (_Iu3._Mx3) {
_8q1._Eu3[_W73] = _Iu3._Mx3;
_8q1._gr1[_W73] = true;
}
if (_Iu3._Nx3) {
_8q1._Eu3[_X73] = _Iu3._Nx3;
_8q1._gr1[_X73] = true;
}
if (_Iu3._Ox3) {
_8q1._Eu3[_Y73] = _Iu3._Ox3;
_8q1._gr1[_Y73] = true;
}
if (_Iu3._Px3) {
_8q1._Eu3[_Z73] = _Iu3._Px3;
_8q1._gr1[_Z73] = true;
}
if (_Iu3._Qx3) {
_8q1._Eu3[__73] = _Iu3._Qx3;
_8q1._gr1[__73] = true;
}
if (_Iu3._Rx3) {
_8q1._Eu3[_083] = _Iu3._Rx3;
_8q1._gr1[_083] = true;
}
if (_Iu3._Sx3) {
_8q1._Eu3[_183] = _Iu3._Sx3;
_8q1._gr1[_183] = true;
}
if (_Iu3._Tx3) {
_8q1._Eu3[_283] = _Iu3._Tx3;
_8q1._gr1[_283] = true;
}
if (_Iu3._Ux3) {
_8q1._Eu3[_383] = _Iu3._Ux3;
_8q1._gr1[_383] = true;
}
if (_Iu3._Vx3) {
_8q1._Eu3[_483] = _Iu3._Vx3;
_8q1._gr1[_483] = true;
}
if (_Iu3._Wx3) {
_8q1._Eu3[_583] = _Iu3._Wx3;
_8q1._gr1[_583] = true;
}
if (_Iu3._Xx3) {
_8q1._Eu3[_683] = _Iu3._Xx3;
_8q1._gr1[_683] = true;
}
if (_Iu3._Yx3) {
_8q1._Eu3[_783] = _Iu3._Yx3;
_8q1._gr1[_783] = true;
}
if (_Iu3._Zx3) {
_8q1._Eu3[_883] = _Iu3._Zx3;
_8q1._gr1[_883] = true;
}
if (_Iu3.__x3) {
_8q1._Eu3[_983] = _Iu3.__x3;
_8q1._gr1[_983] = true;
}
if (_Iu3._0y3) {
_8q1._Eu3[_a83] = _Iu3._0y3;
_8q1._gr1[_a83] = true;
}
if (_Iu3._1y3) {
_8q1._Eu3[_b83] = _Iu3._1y3;
_8q1._gr1[_b83] = true;
}
if (_Iu3._2y3) {
_8q1._Eu3[_c83] = _Iu3._2y3;
_8q1._gr1[_c83] = true;
}
if (_Iu3._3y3) {
_8q1._Eu3[_d83] = _Iu3._3y3;
_8q1._gr1[_d83] = true;
}
if (_Iu3._4y3) {
_8q1._Eu3[_e83] = _Iu3._4y3;
_8q1._gr1[_e83] = true;
}
if (_Iu3._5y3) {
_8q1._Eu3[_f83] = _Iu3._5y3;
_8q1._gr1[_f83] = true;
}
if (_Iu3._6y3) {
_8q1._Eu3[_g83] = _Iu3._6y3;
_8q1._gr1[_g83] = true;
}
if (_Iu3._7y3) {
_8q1._Eu3[_h83] = _Iu3._7y3;
_8q1._gr1[_h83] = true;
}
if (_Iu3._8y3) {
_8q1._Eu3[_i83] = _Iu3._8y3;
_8q1._gr1[_i83] = true;
}
if (_Iu3._9y3) {
_8q1._Eu3[_j83] = _Iu3._9y3;
_8q1._gr1[_j83] = true;
}
if (_Iu3._ay3) {
_8q1._Eu3[_k83] = _Iu3._ay3;
_8q1._gr1[_k83] = true;
}
if (_Iu3._by3) {
_8q1._Eu3[_l83] = _Iu3._by3;
_8q1._gr1[_l83] = true;
}
if (_Iu3._cy3) {
_8q1._Eu3[_m83] = _Iu3._cy3;
_8q1._gr1[_m83] = true;
}
if (_Iu3._dy3) {
_8q1._Eu3[_n83] = _Iu3._dy3;
_8q1._gr1[_n83] = true;
}
if (_Iu3._ey3) {
_8q1._Eu3[_o83] = _Iu3._ey3;
_8q1._gr1[_o83] = true;
}
if (_Iu3._fy3) {
_8q1._Eu3[_p83] = _Iu3._fy3;
_8q1._gr1[_p83] = true;
}
if (_Iu3._gy3) {
_8q1._Eu3[_q83] = _Iu3._gy3;
_8q1._gr1[_q83] = true;
}
if (_Iu3._hy3) {
_8q1._Eu3[_r83] = _Iu3._hy3;
_8q1._gr1[_r83] = true;
}
if (_Iu3._iy3) {
_8q1._Eu3[_s83] = _Iu3._iy3;
_8q1._gr1[_s83] = true;
}
if (_Iu3._jy3) {
_8q1._Eu3[_t83] = _Iu3._jy3;
_8q1._gr1[_t83] = true;
}
if (_Iu3._ky3) {
_8q1._Eu3[_u83] = _Iu3._ky3;
_8q1._gr1[_u83] = true;
}
if (_Iu3._ly3) {
_8q1._Eu3[_v83] = _Iu3._ly3;
_8q1._gr1[_v83] = true;
}
if (_Iu3._my3) {
_8q1._Eu3[_w83] = _Iu3._my3;
_8q1._gr1[_w83] = true;
}
if (_Iu3._ny3) {
_8q1._Eu3[_x83] = _Iu3._ny3;
_8q1._gr1[_x83] = true;
}
if (_Iu3._oy3) {
_8q1._Eu3[_y83] = _Iu3._oy3;
_8q1._gr1[_y83] = true;
}
if (_Iu3._py3) {
_8q1._Eu3[_z83] = _Iu3._py3;
_8q1._gr1[_z83] = true;
}
if (_Iu3._qy3) {
_8q1._Eu3[_A83] = _Iu3._qy3;
_8q1._gr1[_A83] = true;
}
if (_Iu3._ry3) {
_8q1._Eu3[_B83] = _Iu3._ry3;
_8q1._gr1[_B83] = true;
}
if (_Iu3._sy3) {
_8q1._Eu3[_C83] = _Iu3._sy3;
_8q1._gr1[_C83] = true;
}
if (_Iu3._ty3) {
_8q1._Eu3[_D83] = _Iu3._ty3;
_8q1._gr1[_D83] = true;
}
if (_Iu3._uy3) {
_8q1._Eu3[_E83] = _Iu3._uy3;
_8q1._gr1[_E83] = true;
}
if (_Iu3._vy3) {
_8q1._Eu3[_F83] = _Iu3._vy3;
_8q1._gr1[_F83] = true;
}
if (_Iu3._wy3) {
_8q1._Eu3[_G83] = _Iu3._wy3;
_8q1._gr1[_G83] = true;
}
if (_Iu3._xy3) {
_8q1._Eu3[_H83] = _Iu3._xy3;
_8q1._gr1[_H83] = true;
}
if (_Iu3._yy3) {
_8q1._Eu3[_I83] = _Iu3._yy3;
_8q1._gr1[_I83] = true;
}
if (_Iu3._zy3) {
_8q1._Eu3[_J83] = _Iu3._zy3;
_8q1._gr1[_J83] = true;
}
if (_Iu3._Ay3) {
_8q1._Eu3[_K83] = _Iu3._Ay3;
_8q1._gr1[_K83] = true;
}
if (_Iu3._By3) {
_8q1._Eu3[_L83] = _Iu3._By3;
_8q1._gr1[_L83] = true;
}
if (_Iu3._Cy3) {
_8q1._Eu3[_M83] = _Iu3._Cy3;
_8q1._gr1[_M83] = true;
}
if (_Iu3._Dy3) {
_8q1._Eu3[__83] = _Iu3._Dy3;
_8q1._gr1[__83] = true;
}
if (_Iu3._Ey3) {
_8q1._Eu3[_093] = _Iu3._Ey3;
_8q1._gr1[_093] = true;
}
if (_Iu3._Fy3) {
_8q1._Eu3[_193] = _Iu3._Fy3;
_8q1._gr1[_193] = true;
}
if (_Iu3._Gy3) {
_8q1._Eu3[_293] = _Iu3._Gy3;
_8q1._gr1[_293] = true;
}
if (_Iu3._Hy3) {
_8q1._Eu3[_393] = _Iu3._Hy3;
_8q1._gr1[_393] = true;
}
if (_Iu3._Iy3) {
_8q1._Eu3[_493] = _Iu3._Iy3;
_8q1._gr1[_493] = true;
}
if (_Iu3._Jy3) {
_8q1._Eu3[_593] = _Iu3._Jy3;
_8q1._gr1[_593] = true;
}
if (_Iu3._Ky3) {
_8q1._Eu3[_693] = _Iu3._Ky3;
_8q1._gr1[_693] = true;
}
if (_Iu3._Ly3) {
_8q1._Eu3[_793] = _Iu3._Ly3;
_8q1._gr1[_793] = true;
}
if (_Iu3._My3) {
_8q1._Eu3[_893] = _Iu3._My3;
_8q1._gr1[_893] = true;
}
if (_Iu3._Ny3) {
_8q1._Eu3[_993] = _Iu3._Ny3;
_8q1._gr1[_993] = true;
}
if (_Iu3._Oy3) {
_8q1._Eu3[_a93] = _Iu3._Oy3;
_8q1._gr1[_a93] = true;
}
if (_Iu3._Py3) {
_8q1._Eu3[_b93] = _Iu3._Py3;
_8q1._gr1[_b93] = true;
}
if (_Iu3._Qy3) {
_8q1._Eu3[_c93] = _Iu3._Qy3;
_8q1._gr1[_c93] = true;
}
if (_Iu3._Ry3) {
_8q1._Eu3[_d93] = _Iu3._Ry3;
_8q1._gr1[_d93] = true;
}
if (_Iu3._Sy3) {
_8q1._Eu3[_e93] = _Iu3._Sy3;
_8q1._gr1[_e93] = true;
}
if (_Iu3._Ty3) {
_8q1._Gu3[_f93] = _Iu3._Ty3;
_8q1._gr1[_f93] = true;
}
if (_Iu3._Uy3) {
_8q1._Gu3[_h93] = _Iu3._Uy3;
_8q1._gr1[_h93] = true;
}
if (_Iu3._Vy3) {
_8q1._Gu3[_i93] = _Iu3._Vy3;
_8q1._gr1[_i93] = true;
}
if (_Iu3._Wy3) {
_8q1._Gu3[_j93] = _Iu3._Wy3;
_8q1._gr1[_j93] = true;
}
if (_Iu3._Xy3) {
_8q1._Gu3[_k93] = _Iu3._Xy3;
_8q1._gr1[_k93] = true;
}
if (_Iu3._Yy3) {
_8q1._Gu3[_l93] = _Iu3._Yy3;
_8q1._gr1[_l93] = true;
}
if (_Iu3._Zy3) {
_8q1._Gu3[_m93] = _Iu3._Zy3;
_8q1._gr1[_m93] = true;
}
if (_Iu3.__y3) {
_8q1._Gu3[_n93] = _Iu3.__y3;
_8q1._gr1[_n93] = true;
}
if (_Iu3._0z3) {
_8q1._Gu3[_o93] = _Iu3._0z3;
_8q1._gr1[_o93] = true;
}
if (_Iu3._1z3) {
_8q1._Gu3[_p93] = _Iu3._1z3;
_8q1._gr1[_p93] = true;
}
if (_Iu3._2z3) {
_8q1._Gu3[_q93] = _Iu3._2z3;
_8q1._gr1[_q93] = true;
}
if (_Iu3._3z3) {
_8q1._Gu3[_r93] = _Iu3._3z3;
_8q1._gr1[_r93] = true;
}
if (_Iu3._4z3) {
_8q1._Gu3[_s93] = _Iu3._4z3;
_8q1._gr1[_s93] = true;
}
if (_Iu3._5z3) {
_8q1._Gu3[_t93] = _Iu3._5z3;
_8q1._gr1[_t93] = true;
}
if (_Iu3._6z3) {
_8q1._Gu3[_u93] = _Iu3._6z3;
_8q1._gr1[_u93] = true;
}
if (_Iu3._7z3) {
_8q1._Gu3[_v93] = _Iu3._7z3;
_8q1._gr1[_v93] = true;
}
if (_Iu3._8z3) {
_8q1._Gu3[_w93] = _Iu3._8z3;
_8q1._gr1[_w93] = true;
}
if (_Iu3._9z3) {
_8q1._Gu3[_x93] = _Iu3._9z3;
_8q1._gr1[_x93] = true;
}
if (_Iu3._az3) {
_8q1._Gu3[_y93] = _Iu3._az3;
_8q1._gr1[_y93] = true;
}
if (_Iu3._bz3) {
_8q1._Gu3[_z93] = _Iu3._bz3;
_8q1._gr1[_z93] = true;
}
if (_Iu3._cz3) {
_8q1._Gu3[_A93] = _Iu3._cz3;
_8q1._gr1[_A93] = true;
}
if (_Iu3._dz3) {
_8q1._Gu3[_B93] = _Iu3._dz3;
_8q1._gr1[_B93] = true;
}
if (_Iu3._ez3) {
_8q1._Gu3[_C93] = _Iu3._ez3;
_8q1._gr1[_C93] = true;
}
if (_Iu3._fz3) {
_8q1._Gu3[_D93] = _Iu3._fz3;
_8q1._gr1[_D93] = true;
}
if (_Iu3._gz3) {
_8q1._Gu3[_E93] = _Iu3._gz3;
_8q1._gr1[_E93] = true;
}
if (_Iu3._hz3) {
_8q1._Gu3[_F93] = _Iu3._hz3;
_8q1._gr1[_F93] = true;
}
if (_Iu3._iz3) {
_8q1._Gu3[_G93] = _Iu3._iz3;
_8q1._gr1[_G93] = true;
}
if (_Iu3._jz3) {
_8q1._Gu3[_H93] = _Iu3._jz3;
_8q1._gr1[_H93] = true;
}
if (_Iu3._kz3) {
_8q1._Gu3[_I93] = _Iu3._kz3;
_8q1._gr1[_I93] = true;
}
if (_Iu3._lz3) {
_8q1._Gu3[_J93] = _Iu3._lz3;
_8q1._gr1[_J93] = true;
}
if (_Iu3._mz3) {
_8q1._Gu3[_K93] = _Iu3._mz3;
_8q1._gr1[_K93] = true;
}
if (_Iu3._nz3) {
_8q1._Gu3[_L93] = _Iu3._nz3;
_8q1._gr1[_L93] = true;
}
if (_Iu3._oz3) {
_8q1._Gu3[_M93] = _Iu3._oz3;
_8q1._gr1[_M93] = true;
}
if (_Iu3._pz3) {
_8q1._Gu3[_N93] = _Iu3._pz3;
_8q1._gr1[_N93] = true;
}
if (_Iu3._qz3) {
_8q1._Gu3[_O93] = _Iu3._qz3;
_8q1._gr1[_O93] = true;
}
if (_Iu3._rz3) {
_8q1._Gu3[_P93] = _Iu3._rz3;
_8q1._gr1[_P93] = true;
}
if (_Iu3._sz3) {
_8q1._Gu3[_Q93] = _Iu3._sz3;
_8q1._gr1[_Q93] = true;
}
if (_Iu3._tz3) {
_8q1._Gu3[_R93] = _Iu3._tz3;
_8q1._gr1[_R93] = true;
}
if (_Iu3._uz3) {
_8q1._Gu3[_S93] = _Iu3._uz3;
_8q1._gr1[_S93] = true;
}
if (_Iu3._vz3) {
_8q1._Gu3[_T93] = _Iu3._vz3;
_8q1._gr1[_T93] = true;
}
if (_Iu3._wz3) {
_8q1._Gu3[_U93] = _Iu3._wz3;
_8q1._gr1[_U93] = true;
}
if (_Iu3._xz3) {
_8q1._Gu3[_V93] = _Iu3._xz3;
_8q1._gr1[_V93] = true;
}
if (_Iu3._yz3) {
_8q1._Gu3[_W93] = _Iu3._yz3;
_8q1._gr1[_W93] = true;
}
if (_Iu3._zz3) {
_8q1._Gu3[_X93] = _Iu3._zz3;
_8q1._gr1[_X93] = true;
}
if (_Iu3._Az3) {
_8q1._Gu3[_Y93] = _Iu3._Az3;
_8q1._gr1[_Y93] = true;
}
if (_Iu3._Bz3) {
_8q1._Gu3[_Z93] = _Iu3._Bz3;
_8q1._gr1[_Z93] = true;
}
if (_Iu3._Cz3) {
_8q1._Gu3[__93] = _Iu3._Cz3;
_8q1._gr1[__93] = true;
}
if (_Iu3._Dz3) {
_8q1._Gu3[_0a3] = _Iu3._Dz3;
_8q1._gr1[_0a3] = true;
}
if (_Iu3._Ez3) {
_8q1._Gu3[_1a3] = _Iu3._Ez3;
_8q1._gr1[_1a3] = true;
}
if (_Iu3._Fz3) {
_8q1._Gu3[_2a3] = _Iu3._Fz3;
_8q1._gr1[_2a3] = true;
}
if (_Iu3._Gz3) {
_8q1._Gu3[_3a3] = _Iu3._Gz3;
_8q1._gr1[_3a3] = true;
}
if (_Iu3._Hz3) {
_8q1._Gu3[_4a3] = _Iu3._Hz3;
_8q1._gr1[_4a3] = true;
}
if (_Iu3._Iz3) {
_8q1._Gu3[_5a3] = _Iu3._Iz3;
_8q1._gr1[_5a3] = true;
}
if (_Iu3._Jz3) {
_8q1._Gu3[_6a3] = _Iu3._Jz3;
_8q1._gr1[_6a3] = true;
}
if (_Iu3._Kz3) {
_8q1._Gu3[_7a3] = _Iu3._Kz3;
_8q1._gr1[_7a3] = true;
}
if (_Iu3._Lz3) {
_8q1._Gu3[_8a3] = _Iu3._Lz3;
_8q1._gr1[_8a3] = true;
}
if (_Iu3._Mz3) {
_8q1._Gu3[_9a3] = _Iu3._Mz3;
_8q1._gr1[_9a3] = true;
}
if (_Iu3._Nz3) {
_8q1._Gu3[_aa3] = _Iu3._Nz3;
_8q1._gr1[_aa3] = true;
}
if (_Iu3._Oz3) {
_8q1._Gu3[_ba3] = _Iu3._Oz3;
_8q1._gr1[_ba3] = true;
}
if (_Iu3._Pz3) {
_8q1._Gu3[_ca3] = _Iu3._Pz3;
_8q1._gr1[_ca3] = true;
}
if (_Iu3._Qz3) {
_8q1._Gu3[_da3] = _Iu3._Qz3;
_8q1._gr1[_da3] = true;
}
if (_Iu3._Rz3) {
_8q1._Gu3[_ea3] = _Iu3._Rz3;
_8q1._gr1[_ea3] = true;
}
if (_Iu3._Sz3) {
_8q1._Gu3[_fa3] = _Iu3._Sz3;
_8q1._gr1[_fa3] = true;
}
if (_Iu3._Tz3) {
_8q1._Gu3[_ga3] = _Iu3._Tz3;
_8q1._gr1[_ga3] = true;
}
if (_Iu3._Uz3) {
_8q1._Gu3[_ha3] = _Iu3._Uz3;
_8q1._gr1[_ha3] = true;
}
if (_Iu3._Vz3) {
_8q1._Gu3[_ia3] = _Iu3._Vz3;
_8q1._gr1[_ia3] = true;
}
if (_Iu3._Wz3) {
_8q1._Gu3[_ja3] = _Iu3._Wz3;
_8q1._gr1[_ja3] = true;
}
if (_Iu3._Xz3) {
_8q1._Gu3[_ka3] = _Iu3._Xz3;
_8q1._gr1[_ka3] = true;
}
if (_Iu3._Yz3) {
_8q1._Gu3[_la3] = _Iu3._Yz3;
_8q1._gr1[_la3] = true;
}
if (_Iu3._Zz3) {
_8q1._Gu3[_za3] = _Iu3._Zz3;
_8q1._gr1[_za3] = true;
}
if (_Iu3.__z3) {
_8q1._Gu3[_Aa3] = _Iu3.__z3;
_8q1._gr1[_Aa3] = true;
}
if (_Iu3._0A3) {
_8q1._Gu3[_Ba3] = _Iu3._0A3;
_8q1._gr1[_Ba3] = true;
}
if (_Iu3._1A3) {
_8q1._Gu3[_Ca3] = _Iu3._1A3;
_8q1._gr1[_Ca3] = true;
}
if (_Iu3._2A3) {
_8q1._Gu3[_Da3] = _Iu3._2A3;
_8q1._gr1[_Da3] = true;
}
if (_Iu3._3A3) {
_8q1._Gu3[_Ea3] = _Iu3._3A3;
_8q1._gr1[_Ea3] = true;
}
if (_Iu3._4A3) {
_8q1._Gu3[_Fa3] = _Iu3._4A3;
_8q1._gr1[_Fa3] = true;
}
if (_Iu3._5A3) {
_8q1._Gu3[_Ga3] = _Iu3._5A3;
_8q1._gr1[_Ga3] = true;
}
if (_Iu3._6A3) {
_8q1._Gu3[_Ha3] = _Iu3._6A3;
_8q1._gr1[_Ha3] = true;
}
if (_Iu3._7A3) {
_8q1._Gu3[_Ia3] = _Iu3._7A3;
_8q1._gr1[_Ia3] = true;
}
if (_Iu3._8A3) {
_8q1._Gu3[_Ja3] = _Iu3._8A3;
_8q1._gr1[_Ja3] = true;
}
if (_Iu3._9A3) {
_8q1._Gu3[_Ka3] = _Iu3._9A3;
_8q1._gr1[_Ka3] = true;
}
if (_Iu3._aA3) {
_8q1._Gu3[_La3] = _Iu3._aA3;
_8q1._gr1[_La3] = true;
}
if (_Iu3._bA3) {
_8q1._Gu3[_Ma3] = _Iu3._bA3;
_8q1._gr1[_Ma3] = true;
}
if (_Iu3._cA3) {
_8q1._Gu3[_Na3] = _Iu3._cA3;
_8q1._gr1[_Na3] = true;
}
if (_Iu3._dA3) {
_8q1._Gu3[_Oa3] = _Iu3._dA3;
_8q1._gr1[_Oa3] = true;
}
var _X9 = 0;
if (_Iu3._ba != undefined) {
while (_X9 < _Iu3._ba.length) {
var key = parseInt(_Iu3._ba[_X9]) + 1;
var _Me3 = _Iu3._ba[_X9 + 1];
var _eA3 = _zb3._s11(key);
_8q1._gr1[_P13] = true;
_8q1._gr1[_P13 | key] = true;
var _fA3 = new _uu3();
_fA3._vu3 = _Me3;
_fA3._xu3 = _eA3;
_fA3._wu3 = key;
_8q1._1a[_P13 | key] = _fA3;
_X9 += 2;
}
}
_X9 = 0;
if (_Iu3._ca != undefined) {
while (_X9 < _Iu3._ca.length) {
_8q1._gr1[_9F2] = true;
var key = parseInt(_Iu3._ca[_X9]);
var _Zu2 = _Iu3._ca[_X9 + 1];
var _gA3 = new _yu3();
_gA3._vu3 = _Zu2;
_gA3._hA3 = false;
_gA3._fd1 = this;
_8q1._5e3[key] = _gA3;
_X9 += 2;
}
}
if (_Iu3._LE2 != undefined) {
_8q1._5q3._LE2 = _Iu3._LE2;
_8q1._5q3._iq3 = _Iu3._iq3;
_8q1._5q3._aq3 = _Iu3._aq3;
_8q1._5q3._kq3 = _Iu3._kq3;
_8q1._5q3._lq3 = _Iu3._lq3;
_8q1._5q3._jq3 = _Iu3._jq3;
_8q1._5q3._hq3 = _Iu3._hq3;
_8q1._5q3._gq3 = _Iu3._gq3;
_8q1._5q3._mq3 = _Iu3._mq3;
_8q1._5q3._nq3 = _Iu3._nq3;
_8q1._5q3._oq3 = _Iu3._oq3;
_8q1._5q3._dq3 = _Iu3._dq3;
}
}
return _8q1;
}
_fF2.prototype._B11 = function (_j01, index, _8r1, _ir1) {
if (_j01 != _6w1 && _VF1 != -1 && !((_8r1._fc || _D01._iA3) && (_j01 == _jw1 || _j01 == _iw1 || _j01 == _5w1 || _j01 == _H_2 || _j01 == _KZ2))) {
return;
}
var _jA3 = _kr1;
var _kA3 = _lr1;
var _lA3 = _bc3;
var _mA3 = _ld1;
_bc3 = this;
_kr1 = _j01;
_lr1 = index;
_ld1 = false;
var _t22 = true;
switch (_j01) {
case _iw1:
if (this._9a) this._9a(_8r1, _ir1);
else _t22 = false;
break;
case _jw1:
if (this._ta) this._ta(_8r1, _ir1);
else _t22 = false;
break;
case _5w1:
if (this._Ta) this._Ta(_8r1, _ir1);
else _t22 = false;
break;
case _6w1:
if (this._Ku3) this._Ku3(_8r1, _ir1);
else _t22 = false;
break;
case _H_2:
_t22 = false;
break;
case _J13:
_t22 = false;
break;
case _9F2:
if (this._5e3[index]) this._5e3[index]._vu3(_8r1, _ir1);
break;
case _K13:
if (this._Eu3[_j01 | index]) this._Eu3[_j01 | index](_8r1, _ir1);
else _t22 = false;
break;
case _L13:
_t22 = false;
break;
case _KZ2:
_t22 = false;
break;
case _M13:
if (this._5a) this._5a(_8r1, _ir1);
else _t22 = false;
break;
case _N13:
if (this._Fu3[_j01 | index]) this._Fu3[_j01 | index](_8r1, _ir1);
else _t22 = false;
break;
case _O13:
if (this._Gu3[_j01 | index]) this._Gu3[_j01 | index](_8r1, _ir1);
else _t22 = false;
break;
case _P13:
if (this._1a[_j01 | index]) {
var _nA3 = this._1a[_j01 | index];
var _fA3 = _nA3._xu3;
var result = _fA3._Me3(_8r1, _ir1);
if (result | _Qb3) {
_nA3._vu3(_8r1, _ir1);
}
}
break;
case _A23:
if (this._7a) this._7a(_8r1, _ir1);
else _t22 = false;
break;
case _C23:
if (this._Ad) this._Ad(_8r1, _ir1);
else _t22 = false;
break;
case _D23:
if (this._9e) this._9e(_8r1, _ir1);
else _t22 = false;
break;
case _E23:
if (this._Mu3) this._Mu3(_8r1, _ir1);
else _t22 = false;
break;
case _F23:
if (this._kd) this._kd(_8r1, _ir1);
else _t22 = false;
break;
case _G23:
if (this._Nu3) this._Nu3(_8r1, _ir1);
else _t22 = false;
break;
case _H23:
if (this._Ou3) this._Ou3(_8r1, _ir1);
else _t22 = false;
break;
case _B23:
if (this._Pu3) this._Pu3(_8r1, _ir1);
else _t22 = false;
break;
case _S13:
if (this._Lu3) this._Lu3(_8r1, _ir1);
else _t22 = false;
break;
case _R13:
if (this._da) this._da(_8r1, _ir1);
else _t22 = false;
break;
case _T13:
if (this._7d) this._7d(_8r1, _ir1);
else _t22 = false;
break;
case _FZ2:
if (this._lv3) this._lv3(_8r1, _ir1);
else _t22 = false;
break;
case _LZ2:
if (this._mv3) this._mv3(_8r1, _ir1);
else _t22 = false;
break;
case _U13:
if (this._nv3) this._nv3(_8r1, _ir1);
else _t22 = false;
break;
case _V13:
if (this._ov3) this._ov3(_8r1, _ir1);
else _t22 = false;
break;
case _W13:
if (this._9d) this._9d(_8r1, _ir1);
else _t22 = false;
break;
case _X13:
if (this._bd) this._bd(_8r1, _ir1);
else _t22 = false;
break;
case _Y13:
if (this._pv3) this._pv3(_8r1, _ir1);
else _t22 = false;
break;
case _Z13:
if (this._Rd) this._Rd(_8r1, _ir1);
else _t22 = false;
break;
case _OE2:
if (this._qv3) this._qv3(_8r1, _ir1);
else _t22 = false;
break;
case __13:
if (this._rv3) this._rv3(_8r1, _ir1);
else _t22 = false;
break;
case _023:
if (this._sv3) this._sv3(_8r1, _ir1);
else _t22 = false;
break;
case _SZ2:
if (this._tv3) this._tv3(_8r1, _ir1);
else _t22 = false;
break;
case _h23:
if (this._uv3) this._uv3(_8r1, _ir1);
else _t22 = false;
break;
case _i23:
if (this._vv3) this._vv3(_8r1, _ir1);
else _t22 = false;
break;
case _j23:
if (this._wv3) this._wv3(_8r1, _ir1);
else _t22 = false;
break;
case _k23:
if (this._xv3) this._xv3(_8r1, _ir1);
else _t22 = false;
break;
case _l23:
if (this._yv3) this._yv3(_8r1, _ir1);
else _t22 = false;
break;
case _m23:
if (this._zv3) this._zv3(_8r1, _ir1);
else _t22 = false;
break;
case _n23:
if (this._Av3) this._Av3(_8r1, _ir1);
else _t22 = false;
break;
case _TZ2:
if (this._Bv3) this._Bv3(_8r1, _ir1);
else _t22 = false;
break;
case _o23:
if (this._Cv3) this._Cv3(_8r1, _ir1);
else _t22 = false;
break;
case _p23:
if (this._Dv3) this._Dv3(_8r1, _ir1);
else _t22 = false;
break;
case _q23:
if (this._Ev3) this._Ev3(_8r1, _ir1);
else _t22 = false;
break;
case _r23:
if (this._Fv3) this._Fv3(_8r1, _ir1);
else _t22 = false;
break;
case _s23:
if (this._Gv3) this._Gv3(_8r1, _ir1);
else _t22 = false;
break;
case _t23:
if (this._Hv3) this._Hv3(_8r1, _ir1);
else _t22 = false;
break;
case _u23:
if (this._Iv3) this._Iv3(_8r1, _ir1);
else _t22 = false;
break;
case _C11:
if (this._Jv3) this._Jv3(_8r1, _ir1);
else _t22 = false;
break;
case _q01:
if (this._9w3) this._9w3(_8r1, _ir1);
else _t22 = false;
break;
case _v23:
if (this.__v3) this.__v3(_8r1, _ir1);
else _t22 = false;
break;
case _w23:
if (this._0w3) this._0w3(_8r1, _ir1);
else _t22 = false;
break;
case _x23:
if (this._1w3) this._1w3(_8r1, _ir1);
else _t22 = false;
break;
case _y23:
if (this._2w3) this._2w3(_8r1, _ir1);
else _t22 = false;
break;
case _I23:
if (this._Vc) this._Vc(_8r1, _ir1);
else _t22 = false;
break;
case _J23:
if (this._3w3) this._3w3(_8r1, _ir1);
else _t22 = false;
break;
case _K23:
if (this._4w3) this._4w3(_8r1, _ir1);
else _t22 = false;
break;
case _bK1:
if (this._5w3) this._5w3(_8r1, _ir1);
else _t22 = false;
break;
case _z23:
if (this._6w3) this._6w3(_8r1, _ir1);
else _t22 = false;
break;
case _M23:
if (this._7w3) this._7w3(_8r1, _ir1);
else _t22 = false;
break;
case _L23:
if (this._8w3) this._8w3(_8r1, _ir1);
else _t22 = false;
break;
case _nI1:
if (this._aw3) this._aw3(_8r1, _ir1);
else _t22 = false;
break;
case _123:
if (this._Kv3) this._Kv3(_8r1, _ir1);
else _t22 = false;
break;
case _223:
if (this._Lv3) this._Lv3(_8r1, _ir1);
else _t22 = false;
break;
case _323:
if (this._Mv3) this._Mv3(_8r1, _ir1);
else _t22 = false;
break;
case _423:
if (this._Nv3) this._Nv3(_8r1, _ir1);
else _t22 = false;
break;
case _523:
if (this._Ov3) this._Ov3(_8r1, _ir1);
else _t22 = false;
break;
case _623:
if (this._Pv3) this._Pv3(_8r1, _ir1);
else _t22 = false;
break;
case _723:
if (this._Qv3) this._Qv3(_8r1, _ir1);
else _t22 = false;
break;
case _823:
if (this._Rv3) this._Rv3(_8r1, _ir1);
else _t22 = false;
break;
case _923:
if (this._Sv3) this._Sv3(_8r1, _ir1);
else _t22 = false;
break;
case _a23:
if (this._Tv3) this._Tv3(_8r1, _ir1);
else _t22 = false;
break;
case _b23:
if (this._Uv3) this._Uv3(_8r1, _ir1);
else _t22 = false;
break;
case _c23:
if (this._Vv3) this._Vv3(_8r1, _ir1);
else _t22 = false;
break;
case _d23:
if (this._Wv3) this._Wv3(_8r1, _ir1);
else _t22 = false;
break;
case _e23:
if (this._Xv3) this._Xv3(_8r1, _ir1);
else _t22 = false;
break;
case _f23:
if (this._Yv3) this._Yv3(_8r1, _ir1);
else _t22 = false;
break;
case _g23:
if (this._Zv3) this._Zv3(_8r1, _ir1);
else _t22 = false;
break;
case _i_2:
if (this._Qu3) this._Qu3(_8r1, _ir1);
else _t22 = false;
break;
case _9_2:
if (this._Ru3) this._Ru3(_8r1, _ir1);
else _t22 = false;
break;
case _b_2:
if (this._Su3) this._Su3(_8r1, _ir1);
else _t22 = false;
break;
case _a_2:
if (this._Tu3) this._Tu3(_8r1, _ir1);
else _t22 = false;
break;
case _c_2:
if (this._Oc) this._Oc(_8r1, _ir1);
else _t22 = false;
break;
case _e_2:
if (this._Uu3) this._Uu3(_8r1, _ir1);
else _t22 = false;
break;
case _d_2:
if (this._Vu3) this._Vu3(_8r1, _ir1);
else _t22 = false;
break;
case _f_2:
if (this._Wu3) this._Wu3(_8r1, _ir1);
else _t22 = false;
break;
case _h_2:
if (this._Xu3) this._Xu3(_8r1, _ir1);
else _t22 = false;
break;
case _g_2:
if (this._Yu3) this._Yu3(_8r1, _ir1);
else _t22 = false;
break;
case _l_2:
if (this._Zu3) this._Zu3(_8r1, _ir1);
else _t22 = false;
break;
case _m_2:
if (this.__u3) this.__u3(_8r1, _ir1);
else _t22 = false;
break;
case _r_2:
if (this._0v3) this._0v3(_8r1, _ir1);
else _t22 = false;
break;
case _N23:
if (this._1v3) this._1v3(_8r1, _ir1);
else _t22 = false;
break;
case _O23:
if (this._2v3) this._2v3(_8r1, _ir1);
else _t22 = false;
break;
case _s_2:
if (this._3v3) this._3v3(_8r1, _ir1);
else _t22 = false;
break;
case _P23:
if (this._4v3) this._4v3(_8r1, _ir1);
else _t22 = false;
break;
case _Q23:
if (this._5v3) this._5v3(_8r1, _ir1);
else _t22 = false;
break;
case _t_2:
if (this._gd) this._gd(_8r1, _ir1);
else _t22 = false;
break;
case _R23:
if (this._6v3) this._6v3(_8r1, _ir1);
else _t22 = false;
break;
case _S23:
if (this._7v3) this._7v3(_8r1, _ir1);
else _t22 = false;
break;
case _j_2:
if (this._8v3) this._8v3(_8r1, _ir1);
else _t22 = false;
break;
case _k_2:
if (this._9v3) this._9v3(_8r1, _ir1);
else _t22 = false;
break;
case _433:
if (this._av3) this._av3(_8r1, _ir1);
else _t22 = false;
break;
case _533:
if (this._bv3) this._bv3(_8r1, _ir1);
else _t22 = false;
break;
case _633:
if (this._cv3) this._cv3(_8r1, _ir1);
else _t22 = false;
break;
case _733:
if (this._dv3) this._dv3(_8r1, _ir1);
else _t22 = false;
break;
case _833:
if (this._ev3) this._ev3(_8r1, _ir1);
else _t22 = false;
break;
case _933:
if (this._fv3) this._fv3(_8r1, _ir1);
else _t22 = false;
break;
case _h33:
if (this._gv3) this._gv3(_8r1, _ir1);
else _t22 = false;
break;
case _i33:
if (this._hv3) this._hv3(_8r1, _ir1);
else _t22 = false;
break;
case _j33:
if (this._iv3) this._iv3(_8r1, _ir1);
else _t22 = false;
break;
case _k33:
if (this._jv3) this._jv3(_8r1, _ir1);
else _t22 = false;
break;
case _l33:
if (this._kv3) this._kv3(_8r1, _ir1);
else _t22 = false;
break;
case _m33:
if (this._7b) this._7b(_8r1, _ir1);
else _t22 = false;
break;
case _T23:
if (this._Du3[0] != null) this._Du3[0](_8r1, _ir1);
else _t22 = false;
break;
case _U23:
if (this._Du3[1] != null) this._Du3[1](_8r1, _ir1);
else _t22 = false;
break;
case _V23:
if (this._Du3[2] != null) this._Du3[2](_8r1, _ir1);
else _t22 = false;
break;
case _W23:
if (this._Du3[3] != null) this._Du3[3](_8r1, _ir1);
else _t22 = false;
break;
case _X23:
if (this._Du3[4] != null) this._Du3[4](_8r1, _ir1);
else _t22 = false;
break;
case _Y23:
if (this._Du3[5] != null) this._Du3[5](_8r1, _ir1);
else _t22 = false;
break;
case _Z23:
if (this._Du3[6] != null) this._Du3[6](_8r1, _ir1);
else _t22 = false;
break;
case __23:
if (this._Du3[7] != null) this._Du3[7](_8r1, _ir1);
else _t22 = false;
break;
case _033:
if (this._Du3[8] != null) this._Du3[8](_8r1, _ir1);
else _t22 = false;
break;
case _133:
if (this._Du3[9] != null) this._Du3[9](_8r1, _ir1);
else _t22 = false;
break;
case _233:
if (this._Du3[10] != null) this._Du3[10](_8r1, _ir1);
else _t22 = false;
break;
case _333:
if (this._Du3[11] != null) this._Du3[11](_8r1, _ir1);
else _t22 = false;
break;
default:
_t22 = false;
}
_ld1 = _mA3;
_kr1 = _jA3;
_lr1 = _kA3;
_bc3 = _lA3;
return _t22;
};
function _oA3(_j01) {
switch (_j01) {
case _iw1:
return _I33;
case _jw1:
return _u33;
case _5w1:
return _v33;
case _6w1:
return _G33;
case _H_2:
return _w33;
case _J13:
return _x33;
case _9F2:
return _y33;
case _K13:
return _z33;
case _L13:
return _A33;
case _KZ2:
return _B33;
case _M13:
return _C33;
case _N13:
return _D33;
case _O13:
return _E33;
case _P13:
return _F33;
case _A23:
return _C33;
case _C23:
return _C33;
case _D23:
return _C33;
case _E23:
return _C33;
case _F23:
return _C33;
case _G23:
return _C33;
case _H23:
return _C33;
case _B23:
return _C33;
case _S13:
return _x33;
case _R13:
return _x33;
case _T13:
return _x33;
case _FZ2:
return _B33;
case _LZ2:
return _B33;
case _U13:
return _B33;
case _V13:
return _B33;
case _W13:
return _B33;
case _X13:
return _B33;
case _Y13:
return _B33;
case _Z13:
return _B33;
case _OE2:
return _B33;
case __13:
return _B33;
case _023:
return _B33;
case _SZ2:
return _B33;
case _h23:
return _B33;
case _i23:
return _B33;
case _j23:
return _B33;
case _k23:
return _B33;
case _l23:
return _B33;
case _m23:
return _B33;
case _n23:
return _B33;
case _TZ2:
return _B33;
case _o23:
return _B33;
case _p23:
return _B33;
case _q23:
return _B33;
case _r23:
return _B33;
case _s23:
return _B33;
case _t23:
return _B33;
case _u23:
return _B33;
case _C11:
return _B33;
case _v23:
return _B33;
case _w23:
return _B33;
case _x23:
return _B33;
case _y23:
return _B33;
case _I23:
return _B33;
case _J23:
return _B33;
case _K23:
return _B33;
case _bK1:
return _B33;
case _z23:
return _B33;
case _M23:
return _B33;
case _L23:
return _B33;
case _nI1:
return _B33;
case _123:
return _B33;
case _223:
return _B33;
case _323:
return _B33;
case _423:
return _B33;
case _523:
return _B33;
case _623:
return _B33;
case _723:
return _B33;
case _823:
return _B33;
case _923:
return _B33;
case _a23:
return _B33;
case _b23:
return _B33;
case _c23:
return _B33;
case _d23:
return _B33;
case _e23:
return _B33;
case _f23:
return _B33;
case _g23:
return _B33;
case _i_2:
return _A33;
case _9_2:
return _A33;
case _b_2:
return _A33;
case _a_2:
return _A33;
case _c_2:
return _A33;
case _e_2:
return _A33;
case _d_2:
return _A33;
case _f_2:
return _A33;
case _h_2:
return _A33;
case _g_2:
return _A33;
case _l_2:
return _A33;
case _m_2:
return _A33;
case _r_2:
return _A33;
case _N23:
return _A33;
case _O23:
return _A33;
case _s_2:
return _A33;
case _P23:
return _A33;
case _Q23:
return _A33;
case _t_2:
return _A33;
case _R23:
return _A33;
case _S23:
return _A33;
case _j_2:
return _A33;
case _k_2:
return _A33;
case _433:
return _H33;
case _533:
return _H33;
case _633:
return _H33;
case _733:
return _H33;
case _833:
return _H33;
case _933:
return _H33;
case _h33:
return _H33;
case _i33:
return _H33;
case _j33:
return _H33;
case _k33:
return _H33;
case _l33:
return _H33;
case _m33:
return _H33;
case _T23:
return _w33;
case _U23:
return _w33;
case _V23:
return _w33;
case _W23:
return _w33;
case _X23:
return _w33;
case _Y23:
return _w33;
case _Z23:
return _w33;
case __23:
return _w33;
case _033:
return _w33;
case _133:
return _w33;
case _233:
return _w33;
case _333:
return _w33;
default:
return -1;
}
}
function _pA3(_j01, _qA3) {
if ((_j01 & 0xff00) == _K13) {
return _qA3;
} else if ((_j01 & 0xff00) == _N13) {
return _qA3;
} else if ((_j01 & 0xff00) == _O13) {
return _qA3;
} else if ((_j01 & 0xff00) == _9F2) {
return _qA3;
}
switch (_j01) {
case _iw1:
return 0;
case _jw1:
return 0;
case _5w1:
return 0;
case _6w1:
return 0;
case _H_2:
return 0;
case _J13:
return 0;
case _9F2:
return 0;
case _K13:
return _qA3;
case _L13:
return 0;
case _KZ2:
return 0;
case _M13:
return 0;
case _N13:
return _qA3;
case _O13:
return _qA3;
case _P13:
return 0;
case _A23:
return _Y53;
case _C23:
return _C23 & 0xff;
case _D23:
return _D23 & 0xff;
case _E23:
return _E23 & 0xff;
case _F23:
return _F23 & 0xff;
case _G23:
return _G23 & 0xff;
case _H23:
return _H23 & 0xff;
case _B23:
return _Z53 & 0xff;
case _S13:
return _953;
case _R13:
return _853;
case _T13:
return _a53;
case _FZ2:
return _b53;
case _LZ2:
return _c53;
case _U13:
return _d53;
case _V13:
return _e53;
case _W13:
return _f53;
case _X13:
return _g53;
case _Y13:
return _h53;
case _Z13:
return _i53;
case _OE2:
return _j53;
case __13:
return _k53;
case _023:
return _l53;
case _SZ2:
return _m53;
case _h23:
return _n53;
case _i23:
return _o53;
case _j23:
return _p53;
case _k23:
return _q53;
case _l23:
return _r53;
case _m23:
return _s53;
case _n23:
return _t53;
case _TZ2:
return _u53;
case _o23:
return _v53;
case _p23:
return _w53;
case _q23:
return _x53;
case _r23:
return _y53;
case _s23:
return _z53;
case _t23:
return _A53;
case _u23:
return _B53;
case _C11:
return _C53;
case _v23:
return _U53;
case _w23:
return _V53;
case _x23:
return _363;
case _y23:
return _X53;
case _I23:
return __53;
case _J23:
return _163;
case _K23:
return _263;
case _bK1:
return _363;
case _z23:
return _063;
case _M23:
return _463;
case _L23:
return _L23;
case _nI1:
return _563;
case _123:
return _J33;
case _223:
return _K33;
case _323:
return _L33;
case _423:
return _M33;
case _523:
return _N33;
case _623:
return _O33;
case _723:
return _P33;
case _823:
return _Q33;
case _923:
return _R33;
case _a23:
return _S33;
case _b23:
return _T33;
case _c23:
return _U33;
case _d23:
return _V33;
case _e23:
return _W33;
case _f23:
return _X33;
case _g23:
return _Y33;
case _i_2:
return _143;
case _9_2:
return _Z33;
case _b_2:
return __33;
case _a_2:
return _043;
case _c_2:
return _243;
case _e_2:
return _343;
case _d_2:
return _443;
case _f_2:
return _543;
case _h_2:
return _643;
case _g_2:
return _743;
case _l_2:
return _H43;
case _m_2:
return _I43;
case _r_2:
return _y43;
case _N23:
return _z43;
case _O23:
return _A43;
case _s_2:
return _B43;
case _P23:
return _C43;
case _Q23:
return _D43;
case _t_2:
return _E43;
case _R23:
return _F43;
case _S23:
return _G43;
case _j_2:
return _843;
case _k_2:
return _943;
case _433:
return _J43;
case _533:
return _K43;
case _633:
return _L43;
case _733:
return _M43;
case _833:
return _N43;
case _933:
return _O43;
case _h33:
return _W43;
case _i33:
return _X43;
case _j33:
return _Y43;
case _k33:
return _Z43;
case _l33:
return __43;
case _m33:
return _053;
case _T23:
return 0;
case _U23:
return 1;
case _V23:
return 2;
case _W23:
return 3;
case _X23:
return 4;
case _Y23:
return 5;
case _Z23:
return 6;
case __23:
return 7;
case _033:
return 8;
case _133:
return 9;
case _233:
return 10;
case _333:
return 11;
default:
return 0;
}
}
_fF2.prototype._cz1 = function (_2w1) {
this._n_2._Da1(_2w1);
var _8q1 = this;
while (_8q1 != null) {
_8q1._bs3._Da1(_2w1);
_8q1 = _8q1._1p1;
}
};
_fF2.prototype._iz1 = function (_2w1) {
this._n_2._ey1(_2w1);
var _rA3 = this;
while (_rA3 != null) {
_rA3._bs3._ey1(_2w1);
_rA3 = _rA3._1p1;
}
};
_fF2.prototype._sA3 = function (_j01, _G31) {
if (!this._gr1[_j01 | _G31]) return;
var _xc1 = this._bs3._xc1;
for (var _X9 = 0; _X9 < _xc1.length; _X9++) {
var _Yv1 = _xc1[_X9];
this._B11(_j01, _G31, _Yv1, _Yv1);
}
};
function _cd3() {
this._tA3 = [];
this._wF2 = [];
this.length = 0;
}
_cd3.prototype._jC1 = function () {
return this._wF2;
};
_cd3.prototype._Da1 = function (_uA3) {
this.length++;
this._tA3[_uA3._Td3] = _uA3;
this._wF2[_uA3._rw1] = _uA3;
};
_cd3.prototype._s11 = function (_Hu3) {
return this._wF2[_Hu3];
};
_cd3.prototype._lw1 = function (_Ub1) {
if (!this._wF2[_Ub1]) return false;
else return true;
};
_cd3.prototype._p01 = function (_j01, _G31) {
for (var _4q1 = 0; _4q1 < _o01._wF2.length; _4q1++) {
var _8q1 = _o01._wF2[_4q1];
if (_8q1._gr1[_j01 | _G31]) {
_8q1._sA3(_j01 | _G31);
}
}
};
_cd3.prototype._le3 = function () {
var _xc1 = this._wF2;
for (var index = 0; index < _xc1.length; index++) {
var _8q1 = _xc1[index];
_8q1._1p1 = _o01._s11(_8q1._pw1);
if (!_8q1._1p1) _8q1._1p1 = null;
for (var e = 0; e < _8q1._gr1.length; e++) {
var _I03 = _8q1._gr1[e];
if (_I03) {
_8q1._EZ2[e] = true;
}
}
}
for (var index = 0; index < _xc1.length; index++) {
var _Rp3 = _xc1[index];
var _8q1 = _Rp3._1p1;
while (_8q1 != null) {
for (var e = 0; e < _8q1._gr1.length; e++) {
var _I03 = _8q1._gr1[e];
if (_I03) {
_Rp3._EZ2[e] = true;
}
}
_8q1 = _8q1._1p1;
}
}
};
function _8l(_Hu3) {
var _vA3 = [];
if (typeof _Hu3 === "object" && !(_Hu3 instanceof Array || _Hu3 instanceof ArrayBuffer)) {
_vA3[0] = _Hu3;
} else if (_Hu3 === _JB1) {
_vA3 = _D01._jC1();
} else {
_Hu3 = yyGetInt32(_Hu3);
var _8q1 = _o01._s11(_Hu3);
if (_8q1 != null) {
_vA3 = _8q1._bs3._xc1;
} else {
var _Yv1 = _iy1._s11(_Hu3);
if (_Yv1 != null) {
_vA3[0] = _Yv1;
}
}
}
var __b1 = [];
for (var _W11 = 0; _W11 < _vA3.length; ++_W11) {
var _4q1 = _vA3[_W11];
if (_4q1 instanceof _WX2) {
if (!_4q1._bl && _4q1._cl) {
__b1.push(_4q1);
}
} else {
__b1.push(_4q1);
}
}
return __b1;
}
function _wA3() {
this._xc1 = [];
this.length = 0;
this._d31 = 0;
this._xA3 = -1;
}
_wA3.prototype._s11 = function (_G31) {
return this._xc1[_G31];
};
_wA3.prototype._Da1 = function (_fh3) {
for (var _X9 = 0; _X9 < this._xc1.length; _X9++) {
if (_fh3._Xf < this._xc1[_X9]._Xf) {
this._xc1.splice(_X9, 0, _fh3);
this._d31++;
this.length = this._xc1.length;
return _X9;
}
}
this._xc1[this._xc1.length] = _fh3;
this._d31++;
this.length = this._xc1.length;
return this.length - 1;
};
_wA3.prototype._yA3 = function (_fh3) {
if (this._xA3 < 0) {
this._xA3 = this._xc1.length;
}
this._xc1[this._xc1.length] = _fh3;
this._d31++;
this.length = this._xc1.length;
return this.length - 1;
};
_wA3.prototype._pu3 = function (_fh3) {
var _X9 = this._xA3;
if (_X9 < 0) return;
var _oc1 = [];
while (_X9 < this._xc1.length) {
_oc1[_oc1.length] = this._xc1[_X9];
_X9++;
}
this._xc1.splice(this._xA3, this._xc1.length - this._xA3);
for (_X9 = 0; _X9 < _oc1.length; _X9++) {
this._Da1(_oc1[_X9]);
}
this._xA3 = -1;
};
_wA3.prototype._qz1 = function (_fh3) {
for (var _X9 = 0; _X9 < this._xc1.length; _X9++) {
if (_fh3 == this._xc1[_X9]) {
this._xc1.splice(_X9, 1);
this._d31--;
this.length = this._xc1.length;
return true;
}
}
return false;
};
_wA3.prototype._Ua1 = function () {
this._xc1 = [];
this.length = this._d31 = 0;
};
_wA3.prototype._s11 = function (_G31) {
return this._xc1[_G31];
};
_wA3.prototype._yz1 = function (_fh3) {
for (var _X9 = 0; _X9 < this._xc1.length; _X9++) {
if (_fh3 == this._xc1[_X9]) {
return _X9;
}
}
return -1;
};
_wA3.prototype._Pb1 = function (_Qb1) {
this._xc1 = _Qb1._xc1.slice();
this.length = _Qb1.length;
this._d31 = _Qb1._d31;
this._xA3 = _Qb1._xA3;
};
var _zA3 = 0,
_AA3 = 1,
_BA3 = 2,
_nZ2 = 3,
_hZ2 = 4,
_CA3 = 5,
_9Z2 = 6,
_DA3 = 7,
_cZ2 = 8,
_jZ2 = 9,
_6Z2 = 10,
_EA3 = 11,
_FA3 = 12,
_pZ2 = 13,
_GA3 = 14,
_HA3 = 0,
_IA3 = 1,
_JA3 = 2,
_KA3 = 3,
_LA3 = 4,
_MA3 = 5,
_NA3 = 0,
_OA3 = 1,
_PA3 = 2,
_QA3 = 0,
_RA3 = 1,
_SA3 = 2,
_TA3 = 3;
var _UA3 = [];
function _VA3() {
this._ls1 = _WA3;
this._Ua1 = _WA3;
this._ls1();
}
function _WA3() {
this.__type = "[ParticleType]";
this.id = -1;
this._XA3 = true;
this._YA3 = -1;
this._ZA3 = true;
this.__A3 = false;
this._0B3 = false;
this._NU1 = _zA3;
this._1B3 = 1.0;
this._2B3 = 1.0;
this._3B3 = 0.0;
this._4B3 = 0.0;
this._4x1 = 1.0;
this._5x1 = 1.0;
this._5B3 = 100;
this._6B3 = 100;
this._7B3 = 0;
this._8B3 = 0;
this._9B3 = 0;
this._aB3 = 0;
this._bB3 = 0.0;
this._cB3 = 0.0;
this._dB3 = 0.0;
this._eB3 = 0.0;
this._fB3 = 0.0;
this._gB3 = 0.0;
this._hB3 = 0.0;
this._iB3 = 0.0;
this._jB3 = 0.0;
this._kB3 = 0.0;
this._lB3 = 0.0;
this._mB3 = 0.0;
this._nB3 = 0.0;
this._oB3 = 0.0;
this._pB3 = 270.0;
this._qB3 = _HA3;
this._rB3 = [];
this._rB3[0] = _9b3;
this._rB3[1] = _9b3;
this._rB3[2] = _9b3;
this._sB3 = 1.0;
this._tB3 = 1.0;
this._uB3 = 1.0;
this._vB3 = false;
}
function _wB3() {
this._Ua1 = _xB3;
this._ls1 = _xB3;
this._ls1();
}
function _xB3() {
this._XA3 = true;
this._yB3 = 0;
this._zB3 = 0;
this._Iq3 = 0.0;
this._Jq3 = 0.0;
this._Kq3 = 0.0;
this._Lq3 = 0.0;
this._NU1 = _QA3;
this._AB3 = _NA3;
}
function _BB3() {
this._CB3 = false;
this._zB3 = 0;
this._DB3 = 0;
this._EB3 = 0;
this.x = 0;
this.y = 0;
this._E2 = 0;
this._OJ2 = 0;
this._9n3 = 0;
this.color = 0xffffff;
this.alpha = 1.0;
this.size = 0;
this._FB3 = 0;
this._GB3 = 0;
this.id = -1;
}
function _HB3() {
this._Ua1 = _IB3;
this._ls1 = _IB3;
this._ls1();
}
function _IB3() {
this._XA3 = false;
this._JB3 = [];
this._KB3 = [];
this._LB3 = true;
this._Xf = 0.0;
this._MB3 = 0.0;
this._NB3 = 0.0;
this._OB3 = true;
this._PB3 = true;
this._QB3 = -1;
this._RB3 = false;
}
function _eZ2(_P71) {
var _b21 = _ZA1();
return _b21 * _P71;
}
function _SB3(_TB3, _UB3, _VB3) {
var _2f1 = _UB3 - _TB3;
if (_2f1 <= 0) return _TB3;
var _j21 = 0.0;
var _9t1 = 0.0;
switch (_VB3) {
case _NA3:
_9t1 = _TB3 + _eZ2(1) * _2f1;
break; //Gaussian distribution, SD = 1, cutoff @ +/- 3
case _OA3:
{
do {
_j21 = (_eZ2(1) - 0.5) * 6.0;
} while (exp(-(_j21 * _j21) * 0.5) <= _eZ2(1));
_9t1 = _TB3 + (_j21 + 3.0) * (1.0 / 6.0) * _2f1;
}
break; //Inverse Gaussian distribution, SD = 1, cutoff @ +/- 3
case _PA3:
{
do {
_j21 = (_eZ2(1) - 0.5) * 6.0;
} while (!(exp(-(_j21 * _j21) * 0.5) > _eZ2(1)));
if (_j21 < 0.0) _j21 += 6.0;
_9t1 = _TB3 + _j21 * (1.0 / 6.0) * _2f1;
}
break;
default:
_9t1 = _TB3 + _eZ2(1) * _2f1;
}
return _9t1;
}
function _WB3(_Nb1, _P71) {
var _OJ2;
if (_Nb1 == 0) {
if (_P71 > 0) {
_OJ2 = 270;
} else if (_P71 < 0) {
_OJ2 = 90;
} else {
_OJ2 = 0;
}
} else {
var _wu1 = (180.0 * Math.atan2(_P71, _Nb1)) / Math.PI;
if (_wu1 <= 0) {
_OJ2 = -_wu1;
} else {
_OJ2 = 360.0 - _wu1;
}
}
return _OJ2 - 360.0 * Math.floor(_OJ2 / 360.0);
}
function _XB3(_QA1, _YB3) {
return _YB3 * Math.cos((_QA1 * Math.PI) / 180.0);
}
function _ZB3(_QA1, _YB3) {
return -_YB3 * Math.sin((_QA1 * Math.PI) / 180.0);
}
function __B3(_0C3) {
var _1C3 = _lb3[_0C3._zB3];
{
if (_0C3._DB3 <= 0 || _0C3._EB3 <= 0) {
switch (_1C3._qB3) {
case _HA3:
_0C3.color = _1C3._rB3[0];
break;
case _IA3:
_0C3.color = _1C3._rB3[0];
break;
case _JA3:
_0C3.color = _1C3._rB3[0];
break;
case _KA3:
{
var _b21 = ~~_SB3(_1C3._rB3[0], _1C3._rB3[1], _NA3);
var _k41 = ~~_SB3(_1C3._rB3[2], _1C3._rB3[3], _NA3);
var _e21 = ~~_SB3(_1C3._rB3[4], _1C3._rB3[5], _NA3);
_0C3.color = (_b21 << 16) + (_k41 << 8) + _e21;
}
break;
case _LA3:
{
var __9 = ~~_SB3(_1C3._rB3[0], _1C3._rB3[1], _NA3);
var _Wo1 = ~~_SB3(_1C3._rB3[2], _1C3._rB3[3], _NA3);
var _J41 = ~~_SB3(_1C3._rB3[4], _1C3._rB3[5], _NA3);
_0C3.color = 0xffffff;
}
break;
case _MA3:
_0C3.color = _N71(_6r1(_1C3._rB3[0], _1C3._rB3[1], _eZ2(1)));
break;
}
} else {
switch (_1C3._qB3) {
case _IA3:
{
var _r91 = _0C3._DB3 / _0C3._EB3;
if (_r91 > 1) _r91 = 1;
_0C3.color = _6r1(_1C3._rB3[0], _1C3._rB3[1], _r91);
}
break;
case _JA3:
{
var _r91 = (2.0 * _0C3._DB3) / _0C3._EB3;
if (_r91 > 2) _r91 = 2;
if (_r91 < 1) {
_0C3.color = _6r1(_1C3._rB3[0], _1C3._rB3[1], _r91);
} else {
_0C3.color = _6r1(_1C3._rB3[1], _1C3._rB3[2], _r91 - 1);
}
}
break;
}
}
}
}
function _782(_a11, _b11, _2C3) {
var _9t1 = new _BB3();
var _3C3 = _lb3[_2C3];
if (_3C3 == null || _3C3 == undefined) return null;
_9t1._CB3 = true;
_9t1._zB3 = _2C3;
_9t1.x = _a11;
_9t1.y = _b11;
_9t1._E2 = _SB3(_3C3._bB3, _3C3._cB3, 0);
_9t1._OJ2 = _SB3(_3C3._fB3, _3C3._gB3, 0);
_9t1._9n3 = _SB3(_3C3._jB3, _3C3._kB3, 0);
_9t1._EB3 = _SB3(_3C3._5B3, _3C3._6B3, 0);
_9t1._DB3 = 0;
_9t1.color = 0xffffff;
__B3(_9t1);
_9t1.alpha = _3C3._sB3;
_9t1.size = _SB3(_3C3._1B3, _3C3._2B3, 0);
_9t1._vB3 = _3C3._vB3;
if (_3C3._0B3) {
_9t1._FB3 = _eZ2(10000);
} else {
_9t1._FB3 = 0;
}
_9t1._GB3 = _eZ2(100000);
return _9t1;
}
function _Nd1() {
var __e1 = _lb3.length;
_lb3[__e1] = new _VA3();
return __e1;
}
function _xD1(_911) {
_911 = yyGetInt32(_911);
var _4C3 = _lb3[_911];
if (_4C3 == null || _4C3 == undefined) return false;
_lb3[_911] = null;
return true;
}
function _BD1(_911) {
_911 = yyGetInt32(_911);
var _4C3 = _lb3[_911];
if (_4C3 == null || _4C3 == undefined) return false;
_lb3[_911]._Ua1();
return true;
}
function _zD1(_911) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return false;
return true;
}
function _DD1(_911, _5C3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._NU1 = yyGetInt32(_5C3);
_4C3._YA3 = -1;
}
function _FD1(_911, _z01, _6C3, _7C3, _8C3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._YA3 = yyGetInt32(_z01);
_4C3._ZA3 = yyGetBool(_6C3);
_4C3.__A3 = yyGetBool(_7C3);
_4C3._0B3 = yyGetBool(_8C3);
}
function _HD1(_911, _9C3, _aC3, _bC3, _cC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._1B3 = yyGetReal(_9C3);
_4C3._2B3 = yyGetReal(_aC3);
_4C3._3B3 = yyGetReal(_bC3);
_4C3._4B3 = yyGetReal(_cC3);
}
function _JD1(_911, _Dm1, _Em1) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._4x1 = yyGetReal(_Dm1);
_4C3._5x1 = yyGetReal(_Em1);
}
function _9E1(_911, _dC3, _eC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._5B3 = yyGetInt32(_dC3);
_4C3._6B3 = yyGetInt32(_eC3);
}
function _bE1(_911, _fC3, _gC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._8B3 = yyGetInt32(_fC3);
_4C3._7B3 = yyGetInt32(_gC3);
}
function _dE1(_911, _hC3, _iC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._aB3 = yyGetInt32(_hC3);
_4C3._9B3 = yyGetInt32(_iC3);
}
function _hE1(_911, _jC3, _kC3, _lC3, _mC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._bB3 = yyGetReal(_jC3);
_4C3._cB3 = yyGetReal(_kC3);
_4C3._dB3 = yyGetReal(_lC3);
_4C3._eB3 = yyGetReal(_mC3);
}
function _jE1(_911, _nC3, _oC3, _pC3, _qC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._fB3 = yyGetReal(_nC3);
_4C3._gB3 = yyGetReal(_oC3);
_4C3._hB3 = yyGetReal(_pC3);
_4C3._iB3 = yyGetReal(_qC3);
}
function _fE1(_911, _rC3, _sC3, _tC3, _uC3, _vC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._jB3 = yyGetReal(_rC3);
_4C3._kB3 = yyGetReal(_sC3);
_4C3._lB3 = yyGetReal(_tC3);
_4C3._mB3 = yyGetReal(_uC3);
_4C3._nB3 = yyGetBool(_vC3);
}
function _lE1(_911, _wC3, _xC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._oB3 = yyGetReal(_wC3);
_4C3._pB3 = yyGetReal(_xC3);
}
function _ZD1(_911, _yC3, _zC3, _AC3, _BC3, _CC3, _DC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._qB3 = _KA3;
_4C3._rB3[0] = yyGetInt32(_yC3);
_4C3._rB3[1] = yyGetInt32(_zC3);
_4C3._rB3[2] = yyGetInt32(_AC3);
_4C3._rB3[3] = yyGetInt32(_BC3);
_4C3._rB3[4] = yyGetInt32(_CC3);
_4C3._rB3[5] = yyGetInt32(_DC3);
}
function _Pd1(_911, _Yq1, _Zq1) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._qB3 = _MA3;
_4C3._rB3[0] = _N71(yyGetInt32(_Yq1));
_4C3._rB3[1] = _N71(yyGetInt32(_Zq1));
}
function _1E1(_911, _EC3, _FC3, _GC3, _HC3, _IC3, _JC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._qB3 = _LA3;
_4C3._rB3[0] = yyGetInt32(_EC3);
_4C3._rB3[1] = yyGetInt32(_FC3);
_4C3._rB3[2] = yyGetInt32(_GC3);
_4C3._rB3[3] = yyGetInt32(_HC3);
_4C3._rB3[4] = yyGetInt32(_IC3);
_4C3._rB3[5] = yyGetInt32(_JC3);
}
function _ND1(_911, _KC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._qB3 = _HA3;
_4C3._rB3[0] = _N71(yyGetInt32(_KC3));
}
function _Qd1(_911, _KC3, _LC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._qB3 = _IA3;
_4C3._rB3[0] = _N71(yyGetInt32(_KC3));
_4C3._rB3[1] = _N71(yyGetInt32(_LC3));
}
function _SD1(_911, _KC3, _MC3, _LC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._qB3 = _131 === null ? _HA3 : _JA3;
_4C3._rB3[0] = _N71(yyGetInt32(_KC3));
_4C3._rB3[1] = _N71(yyGetInt32(_MC3));
_4C3._rB3[2] = _N71(yyGetInt32(_LC3));
}
function _4E1(_911, _NC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_NC3 = yyGetReal(_NC3);
_4C3._sB3 = _NC3;
_4C3._tB3 = _NC3;
_4C3._uB3 = _NC3;
}
function _Rd1(_911, _NC3, _OC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_NC3 = yyGetReal(_NC3);
_OC3 = yyGetReal(_OC3);
_4C3._sB3 = _NC3;
_4C3._tB3 = (_NC3 + _OC3) / 2.0;
_4C3._uB3 = _OC3;
}
function _7E1(_911, _NC3, _PC3, _OC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._sB3 = yyGetReal(_NC3);
_4C3._tB3 = yyGetReal(_PC3);
_4C3._uB3 = yyGetReal(_OC3);
}
function _LD1(_911, _QC3) {
var _4C3 = _lb3[yyGetInt32(_911)];
if (_4C3 == null || _4C3 == undefined) return;
_4C3._vB3 = yyGetReal(_QC3);
}
function _nE1(_5Z2) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return -1;
var __e1 = _RC3._KB3.length;
_RC3._KB3[__e1] = new _wB3();
return __e1;
}
function _pE1(_5Z2, _911) {
_911 = yyGetInt32(_911);
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return false;
var _SC3 = _RC3._KB3[_911];
if (_SC3 == null || _SC3 == undefined) return false;
_RC3._KB3[_911] = null;
return true;
}
function _rE1(_5Z2) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return false;
_RC3._KB3 = [];
return true;
}
function _tE1(_5Z2, _911) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return false;
var _SC3 = _RC3._KB3[yyGetInt32(_911)];
if (_SC3 == null || _SC3 == undefined) return false;
return true;
}
function _vE1(_5Z2, _911) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return false;
var _SC3 = _RC3._KB3[yyGetInt32(_911)];
if (_SC3 == null || _SC3 == undefined) return false;
_SC3._ls1();
}
function _xE1(_5Z2, _911, _TC3, _UC3, _VC3, _WC3, _5C3, _XC3) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
var _SC3 = _RC3._KB3[yyGetInt32(_911)];
if (_SC3 == null || _SC3 == undefined) return;
_SC3._Iq3 = yyGetReal(_TC3);
_SC3._Jq3 = yyGetReal(_UC3);
_SC3._Kq3 = yyGetReal(_VC3);
_SC3._Lq3 = yyGetReal(_WC3);
_SC3._NU1 = yyGetInt32(_5C3);
_SC3._AB3 = yyGetInt32(_XC3);
}
function _zE1(_5Z2, _911, _YC3, _ZC3) {
_YC3 = yyGetInt32(_YC3);
_ZC3 = yyGetInt32(_ZC3);
if (_ZC3 < 0) {
var _ZA1 = _eZ2(-_ZC3) | 0;
if (_ZA1 == 0) {
_ZC3 = 1;
} else {
return;
}
}
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
var _SC3 = _RC3._KB3[yyGetInt32(_911)];
if (_SC3 == null || _SC3 == undefined) return;
for (var _X9 = 0; _X9 <= _ZC3 - 1; _X9++) {
var _j21, _l21;
var __C3 = false;
while (__C3 == false) {
_j21 = _SB3(0.0, 1.0, _SC3._AB3);
_l21 = _SB3(0.0, 1.0, _SC3._AB3);
if (_SC3._AB3 == _PA3 && _SC3._NU1 != _TA3) {
if (_eZ2() < 0.5) {
_j21 = _SB3(0.0, 1.0, 0);
} else {
_l21 = _SB3(0.0, 1.0, 0);
}
}
switch (_SC3._NU1) {
case _QA3:
__C3 = true;
break;
case _RA3: {
var _761 = _j21 - 0.5;
var _861 = _l21 - 0.5;
if (_761 * _761 + _861 * _861 <= 0.25) __C3 = true;
break;
}
case _SA3:
if (Math.abs(_j21 - 0.5) + Math.abs(_l21 - 0.5) <= 0.5) __C3 = true;
break;
case _TA3:
__C3 = true;
break;
default:
__C3 = true;
break;
}
}
if (_SC3._NU1 == _TA3) {
_nD1(_5Z2, _SC3._Iq3 + (_SC3._Jq3 - _SC3._Iq3) * _j21, _SC3._Kq3 + (_SC3._Lq3 - _SC3._Kq3) * _j21, _YC3, 1);
} else {
_nD1(_5Z2, _SC3._Iq3 + (_SC3._Jq3 - _SC3._Iq3) * _j21, _SC3._Kq3 + (_SC3._Lq3 - _SC3._Kq3) * _l21, _YC3, 1);
}
}
}
function _BE1(_5Z2, _911, _YC3, _ZC3) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
var _SC3 = _RC3._KB3[yyGetInt32(_911)];
if (_SC3 == null || _SC3 == undefined) return;
_SC3._yB3 = yyGetInt32(_ZC3);
_SC3._zB3 = yyGetInt32(_YC3);
}
function _nD1(_5Z2, _a11, _b11, _2C3, _ZC3) {
_ZC3 = yyGetInt32(_ZC3);
_2C3 = yyGetInt32(_2C3);
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
var _3C3 = _lb3[_2C3];
if (_3C3 == null || _3C3 == undefined) return false;
for (var _X9 = 0; _X9 < _ZC3; _X9++) {
var index = _RC3._JB3.length;
_RC3._JB3[index] = _782(yyGetReal(_a11), yyGetReal(_b11), _2C3);
}
}
function _pD1(_5Z2, _a11, _b11, _2C3, _081, _ZC3) {
_ZC3 = yyGetInt32(_ZC3);
_2C3 = yyGetInt32(_2C3);
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
var _3C3 = _lb3[_2C3];
if (_3C3 == null || _3C3 == undefined) return false;
for (var _X9 = 1; _X9 <= _ZC3; _X9++) {
var index = _RC3._JB3.length;
_RC3._JB3[index] = _782(yyGetReal(_a11), yyGetReal(_b11), _2C3);
_RC3._JB3[index].color = _N71(yyGetInt32(_081));
}
}
function _sD1(_5Z2) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return false;
_RC3._JB3 = [];
return true;
}
function _uD1(_5Z2) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return 0;
return _RC3._JB3.length;
}
function _Md1(_pz1, _dX2) {
if (_pz1 == undefined) _pz1 = -1;
else _cy1 = yyGetInt32(_cy1);
if (_dX2 == undefined) _dX2 = true;
else _dX2 = yyGetBool(_dX2);
if (_F01) {
var _0D3 = null;
if (_pz1 == -1) {
_0D3 = new _Ox1();
_az1._Sy1(_D01, 0, _0D3, true, true);
} else {
var _Ay1 = _az1._zy1();
if (_Ay1 != null) {
_ty1 = _az1._fz1(_Ay1, _pz1);
if (_ty1 != null) {
_0D3 = new _Ox1();
if (_Ay1 == _D01) {
var _m61 = _az1._Py1(_D01, _ty1, _0D3, true);
if (_m61 == -1) {
_az1._vy1(_D01, _0D3._k91, true);
_0D3 = null;
}
} else {
_az1._Sy1(_D01, 0, _0D3, true, true);
}
}
}
}
if (_0D3 == null) return -1;
}
var _ty1 = null;
var index = _mb3.length;
_mb3[index] = new _HB3();
_mb3[index].id = index;
if (_F01) {
_mb3[index]._QB3 = -1;
}
_mb3[index]._Ua1();
if (_F01) {
_0D3._Px1 = index;
_mb3[index]._QB3 = _0D3._k91;
_mb3[index]._RB3 = !_dX2;
if (_pz1 != -1) {
_ty1 = _az1._fz1(_Ay1, _pz1);
_mb3[index]._Xf = _ty1._Xf;
}
}
return index;
}
function _5D1(_5Z2) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return false;
return true;
}
function _3D1(_5Z2) {
_5Z2 = yyGetInt32(_5Z2);
var _RC3 = _mb3[_5Z2];
if (_RC3 == null || _RC3 == undefined) return;
_7D1(_5Z2);
_mb3[_5Z2] = null;
return true;
}
function _7D1(_5Z2) {
_5Z2 = yyGetInt32(_5Z2);
var _RC3 = _mb3[_5Z2];
if (_RC3 == null || _RC3 == undefined) return;
if (_F01) {
if (_mb3[_5Z2]._QB3 !== undefined) {
_az1._vy1(_D01, _mb3[_5Z2]._QB3, true);
}
_mb3[_5Z2]._QB3 = -1;
_mb3[_5Z2]._RB3 = false;
}
_RC3._Ua1();
}
function _9D1(_5Z2, _1D3) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
_RC3._LB3 = _1D3;
}
function _bD1(_5Z2, _ed1) {
_5Z2 = yyGetInt32(_5Z2);
var _RC3 = _mb3[_5Z2];
if (_RC3 == null || _RC3 == undefined) return;
_RC3.id = _5Z2;
_RC3._Xf = yyGetReal(_ed1);
_D01._2D3.push({ _3D3: _RC3, type: 0 });
}
function _dD1(_5Z2, _a11, _b11) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
_RC3._MB3 = yyGetReal(_a11);
_RC3._NB3 = yyGetReal(_b11);
}
function _fD1(_5Z2, _4D3) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
_RC3._OB3 = yyGetBool(_4D3);
}
function _hD1(_5Z2, _4D3) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
_RC3._PB3 = yyGetBool(_4D3);
}
function _5D3(_5Z2) {
var _X9 = 0;
var _721 = 0;
var __e1 = 0;
var _RC3 = _mb3[_5Z2];
var _6D3 = _RC3._JB3;
_X9 = 0;
while (_X9 < _6D3.length) {
var _7D3 = _6D3[_X9];
var _3C3 = _lb3[_7D3._zB3];
_7D3._DB3++;
if (_7D3._DB3 >= _7D3._EB3) {
_721 = _3C3._aB3;
if (_721 < 0) {
if (_eZ2(-_721) == 0) _721 = 1;
}
if (_721 > 0) {
_nD1(_5Z2, _7D3.x, _7D3.y, _3C3._9B3, _721);
}
_6D3.splice(_X9, 1);
} else {
_721 = _3C3._8B3;
if (_721 < 0) {
if (_eZ2(-_721) == 0) _721 = 1;
}
if (_721 > 0) {
_nD1(_5Z2, _7D3.x, _7D3.y, _3C3._7B3, _721);
}
_X9++;
}
}
}
function _8D3(_5Z2) {
var _X9 = 0;
var _i21 = 0;
var _Yf = 0.0;
var _Zf = 0.0;
var _rr1 = 0.0;
var _c61 = 0.0;
var _9D3 = 0.0;
var _ec2 = 0.0;
var _aD3 = 0.0;
var _bD3 = 0.0;
var _cD3 = 0.0;
var _XL2 = 0.0;
var _dD3 = 0.0;
var _RC3 = _mb3[_5Z2];
var _6D3 = _RC3._JB3;
for (_X9 = 0; _X9 < _6D3.length; _X9++) {
var _7D3 = _6D3[_X9];
var _3C3 = _lb3[_7D3._zB3];
_7D3._E2 = _7D3._E2 + _3C3._dB3;
if (_7D3._E2 < 0) _7D3._E2 = 0;
_7D3._OJ2 = _7D3._OJ2 + _3C3._hB3;
_7D3._9n3 = _7D3._9n3 + _3C3._lB3;
_bD3 = 0;
_cD3 = 0;
if (_3C3._oB3 != 0 || _RC3._4A1 > 0) {
_Yf = _XB3(_7D3._OJ2, _7D3._E2);
_Zf = _ZB3(_7D3._OJ2, _7D3._E2);
if (_3C3._oB3 != 0) {
_rr1 = _XB3(_3C3._pB3, _3C3._oB3);
_c61 = _ZB3(_3C3._pB3, _3C3._oB3);
_Yf = _Yf + _rr1;
_Zf = _Zf + _c61;
}
_7D3._OJ2 = _WB3(_Yf, _Zf);
_7D3._E2 = Math.sqrt(_Yf * _Yf + _Zf * _Zf);
}
_XL2 = ((_7D3._DB3 + 3 * _7D3._GB3) % 24) / 6.0;
if (_XL2 > 2.0) {
_XL2 = 4.0 - _XL2;
}
_XL2 = _XL2 - 1.0;
_dD3 = ((_7D3._DB3 + 4 * _7D3._GB3) % 20) / 5.0;
if (_dD3 > 2.0) {
_dD3 = 4.0 - _dD3;
}
_dD3 = _dD3 - 1.0;
_Yf = _XB3(_7D3._OJ2 + _XL2 * _3C3._iB3, _7D3._E2 + _dD3 * _3C3._eB3);
_Zf = _ZB3(_7D3._OJ2 + _XL2 * _3C3._iB3, _7D3._E2 + _dD3 * _3C3._eB3);
_7D3.x = _7D3.x + _Yf + _bD3;
_7D3.y = _7D3.y + _Zf + _cD3;
}
}
function _eD3(_5Z2) {
var _RC3 = _mb3[_5Z2];
var _6D3 = _RC3._JB3;
for (var _X9 = 0; _X9 < _6D3.length; _X9++) {
var _7D3 = _6D3[_X9];
var _3C3 = _lb3[_7D3._zB3];
_7D3.size = _7D3.size + _3C3._3B3;
if (_7D3.size < 0) {
_7D3.size = 0;
}
__B3(_7D3);
var _fD3;
if (_7D3._EB3 > 0) {
_fD3 = (2.0 * _7D3._DB3) / _7D3._EB3;
} else {
_fD3 = 1;
}
if (_fD3 < 1) {
_7D3.alpha = _3C3._sB3 * (1.0 - _fD3) + _3C3._tB3 * _fD3;
} else {
_7D3.alpha = _3C3._tB3 * (2.0 - _fD3) + _3C3._uB3 * (_fD3 - 1);
}
}
}
function _jD1(_5Z2) {
_5Z2 = yyGetReal(_5Z2);
var _RC3 = _mb3[_5Z2];
if (_RC3 == null || _RC3 == undefined) return 0;
_5D3(_5Z2);
_8D3(_5Z2);
_eD3(_5Z2);
var _gD3 = _RC3._KB3;
if (_gD3) {
for (var _X9 = 0; _X9 < _gD3.length; _X9++) {
if (_gD3[_X9] != null && _gD3[_X9]._yB3 != 0) {
_zE1(_5Z2, _X9, _gD3[_X9]._zB3, _gD3[_X9]._yB3);
}
}
}
}
function _hD3() {
for (var _X9 = 0; _X9 < _mb3.length; _X9++) {
var _RC3 = _mb3[_X9];
if (_RC3 != null) {
if (_RC3._OB3) {
_jD1(_X9);
}
}
}
}
function _iD3(_0C3, _LE1, _ME1) {
var _8L1 = null;
var _Gx2 = null;
if (_0C3._EB3 <= 0) return;
var _3C3 = _lb3[_0C3._zB3];
_8L1 = _r11._s11(_3C3._YA3);
if (_8L1 == null) {
var _NU1 = _3C3._NU1;
if (_NU1 >= 0 && _NU1 < _GA3) {
_Gx2 = _kb3[_NU1];
if (_Gx2 == null) {
return;
}
} else {
return;
}
}
var _W11;
if (_Gx2 != null) {
} else {
if (_8L1._Ie1 <= 0) return;
if (!_3C3._ZA3) {
_W11 = _0C3._FB3;
} else if (_3C3.__A3) {
_W11 = _0C3._FB3 + (_8L1._721 * _0C3._DB3) / _0C3._EB3;
} else {
_W11 = _0C3._FB3 + _0C3._DB3;
}
}
var _b21 = ((_0C3._DB3 + 2 * _0C3._GB3) % 16) / 4.0;
if (_b21 > 2.0) _b21 = 4.0 - _b21;
_b21 = _b21 - 1.0;
var _vM2 = _0C3._9n3;
if (_3C3._nB3) _vM2 = _vM2 + _0C3._OJ2;
_vM2 = _vM2 + _b21 * _3C3._mB3;
_b21 = ((_0C3._DB3 + _0C3._GB3) % 16) / 4.0;
if (_b21 > 2.0) _b21 = 4.0 - _b21;
_b21 = _b21 - 1.0;
_Tu1(_0C3._vB3 ? 1 : 0);
var _Wo1 = _0C3.size + _b21 * _3C3._4B3;
var _Y9 = _0C3.color;
if (_Gx2 != null) {
var _4x1, _5x1, _9n3;
var _Im3 = _3C3._4x1 * _Wo1;
var _Jm3 = _3C3._5x1 * _Wo1;
var _jD3 = _vM2;
var _kD3 = ~~(_0C3.x + _LE1);
var _lD3 = ~~(_0C3.y + _ME1);
if (_Im3 == 1 && _Jm3 == 1 && _jD3 == 0 && _0C3.color == 0xffffff) {
_hn3(_Gx2, _kD3, _lD3, _0C3.alpha);
} else {
_nn3(_Gx2, 0, 0, _kD3, _lD3, _Im3, _Jm3, _jD3 * 0.017453293, _Y9, _Y9, _Y9, _Y9, _0C3.alpha);
}
} else {
_8L1._O31(_W11, _0C3.x + _LE1, _0C3.y + _ME1, _lb3[_0C3._zB3]._4x1 * _Wo1, _lb3[_0C3._zB3]._5x1 * _Wo1, _vM2, _Y9, _0C3.alpha);
}
}
function _lD1(_5Z2) {
var _RC3 = _mb3[yyGetInt32(_5Z2)];
if (_RC3 == null || _RC3 == undefined) return;
var src, _051;
if (_131 != null) {
src = _mD3;
_051 = _nD3;
}
var _6D3 = _RC3._JB3;
if (_RC3._LB3) {
for (var _X9 = 0; _X9 < _RC3._JB3.length; _X9++) {
_iD3(_6D3[_X9], _RC3._MB3, _RC3._NB3);
}
} else {
for (var _X9 = _RC3._JB3.length - 1; _X9 >= 0; _X9--) {
_iD3(_6D3[_X9], _RC3._MB3, _RC3._NB3);
}
}
if (_131 != null) {
_Vu1(src, _051);
} else {
_Tu1(0);
}
}
function _oD3(_pD3) {
for (var _X9 = 0; _X9 < _mb3.length; _X9++) {
var _RC3 = _mb3[_X9];
if (_RC3 != null) {
if (_RC3._PB3) {
if (Math.abs(_RC3._Xf - _pD3) < 0.01) _lD1(_X9);
}
}
}
}
function _qD3() {
if (_F01) {
if (_UA3.length < _mb3.length) {
var _rD3 = _UA3.length;
for (var _X9 = _rD3; _X9 < _mb3.length; _X9++) {
_UA3[_X9] = null;
}
}
for (var _X9 = 0; _X9 < _mb3.length; _X9++) {
var _RC3 = _mb3[_X9];
if (_RC3 != null) {
if (_RC3._QB3 == -1) {
var _sD3 = null;
var _tD3 = _UA3[_X9];
if (_tD3 != null) {
_sD3 = _az1._Wy1(_D01, _tD3);
if (_sD3 == null) {
_sD3 = _az1._nz1(_D01, _RC3._Xf, _tD3);
}
}
var _0D3 = new _Ox1();
_0D3._Px1 = _X9;
if (_sD3 != null) {
_RC3._QB3 = _az1._Py1(_D01, _sD3, _0D3, true);
}
if (_RC3._QB3 == -1) {
_RC3._QB3 = _az1._Sy1(_D01, _RC3._Xf, _0D3, true, true);
}
}
}
}
_UA3 = [];
}
}
function _uD3() {
if (_F01) {
for (var _X9 = 0; _X9 < _mb3.length; _X9++) {
var _RC3 = _mb3[_X9];
if (_RC3 != null) {
var _sD3 = null;
if (_RC3._QB3 != -1) {
var _Gz1 = _az1._Fz1(_D01, _RC3._QB3);
if (_Gz1 != null) {
_sD3 = _Gz1._ty1;
}
_az1._vy1(_D01, _mb3[_X9]._QB3, true);
_RC3._QB3 = -1;
}
if (_RC3._RB3 == true) {
_3D1(_X9);
_UA3[_X9] = null;
} else {
if (_sD3 != null) {
if (_sD3._fx1 == true) {
_UA3[_X9] = null;
} else {
_UA3[_X9] = _sD3._gx1;
}
} else {
_UA3[_X9] = null;
}
}
}
}
}
}
function _vD3(_5Z2) {
_5Z2 = yyGetInt32(_5Z2);
if (true == _5D1(_5Z2)) {
var _RC3 = _mb3[_5Z2];
if (_RC3 != null) {
if (_RC3._PB3) {
_lD1(_5Z2);
}
}
}
}
function _wD3() {
var _9t1 = -1000000000;
for (var _X9 = 0; _X9 < _mb3.length; _X9++) {
var _RC3 = _mb3[_X9];
if (_RC3 != null && _RC3._JB3.length > 0) {
if (_RC3._PB3) {
if (_RC3._Xf > _9t1) _9t1 = _RC3._Xf;
}
}
}
return _9t1;
}
function _xD3(_pD3) {
var _9t1 = -1000000000;
for (var _X9 = 0; _X9 < _mb3.length; _X9++) {
var _RC3 = _mb3[_X9];
if (_RC3 != null && _RC3._JB3.length > 0) {
if (_RC3._PB3) {
if (_RC3._Xf > _9t1 && _RC3._Xf < _pD3) _9t1 = _RC3._Xf;
}
}
}
return _9t1;
}
var _yD3 = 0,
_zD3 = 1;
var _AD3 = 0;
function _BD3(_a11, _b11, _TB1) {
this.x = _a11;
this.y = _b11;
this._E2 = _TB1;
this._921 = 0;
}
function _HE1() {
this.__type = "[Path]";
this.name = "";
this.id = _AD3++;
this._e2 = 0;
this._B2 = 1;
this._C2 = 4;
this._Ua1();
}
_HE1.prototype._Ua1 = function () {
this._D2 = [];
this._CD3 = [];
this._d31 = 0;
this._DD3 = 0;
this.length = 0;
};
_HE1.prototype._ED3 = function () {
var _X9 = 0;
this.length = 0;
if (this._DD3 <= 0) return;
this._CD3[0]._921 = 0;
for (_X9 = 1; _X9 < this._DD3; _X9++) {
this._CD3[_X9]._921 = this.length = this.length + sqrt(_ql1(this._CD3[_X9].x - this._CD3[_X9 - 1].x) + _ql1(this._CD3[_X9].y - this._CD3[_X9 - 1].y));
}
};
_HE1.prototype._FD3 = function (_tp3, _up3, _GD3) {
this._DD3++;
var _HD3 = new _BD3();
this._CD3[this._DD3 - 1] = _HD3;
_HD3.x = _tp3;
_HD3.y = _up3;
_HD3._E2 = _GD3;
};
_HE1.prototype._ID3 = function () {
this._DD3 = 0;
if (this._d31 <= 0) return;
for (var _X9 = 0; _X9 < this._d31; _X9++) {
this._FD3(this._D2[_X9].x, this._D2[_X9].y, this._D2[_X9]._E2);
}
if (this._B2) {
this._FD3(this._D2[0].x, this._D2[0].y, this._D2[0]._E2);
}
};
_HE1.prototype._JD3 = function (_ed1, _t21, _u21, _Im1, _R11, _S11, _Jm1, _9u1, _au1, _KD3) {
if (_ed1 == 0) return;
var _z21 = (_t21 + _R11 + _R11 + _9u1) / 4.0;
var _A21 = (_u21 + _S11 + _S11 + _au1) / 4.0;
var _am1 = (_Im1 + _Jm1 + _Jm1 + _KD3) / 4.0;
if (_ql1(_R11 - _t21) + _ql1(_S11 - _u21) > 16.0) {
this._JD3(_ed1 - 1, _t21, _u21, _Im1, (_R11 + _t21) / 2.0, (_S11 + _u21) / 2.0, (_Jm1 + _Im1) / 2.0, _z21, _A21, _am1);
}
this._FD3(_z21, _A21, _am1);
if (_ql1(_R11 - _9u1) + _ql1(_S11 - _au1) > 16.0) {
this._JD3(_ed1 - 1, _z21, _A21, _am1, (_9u1 + _R11) / 2.0, (_au1 + _S11) / 2.0, (_KD3 + _Jm1) / 2.0, _9u1, _au1, _KD3);
}
};
_HE1.prototype._LD3 = function () {
var _X9 = 0;
var _W11 = 0;
this._DD3 = 0;
if (this._d31 <= 0) return;
if (!this._B2) {
this._FD3(this._D2[0].x, this._D2[0].y, this._D2[0]._E2);
}
if (this._B2) {
_W11 = this._d31 - 1;
} else {
_W11 = this._d31 - 3;
}
for (_X9 = 0; _X9 <= _W11; _X9++) {
var _U62 = this._D2[_X9 % this._d31];
var _V62 = this._D2[(_X9 + 1) % this._d31];
var _MD3 = this._D2[(_X9 + 2) % this._d31];
this._JD3(this._C2, (_U62.x + _V62.x) / 2.0, (_U62.y + _V62.y) / 2.0, (_U62._E2 + _V62._E2) / 2.0, _V62.x, _V62.y, _V62._E2, (_V62.x + _MD3.x) / 2.0, (_V62.y + _MD3.y) / 2.0, (_V62._E2 + _MD3._E2) / 2.0);
}
if (!this._B2) {
this._FD3(this._D2[this._d31 - 1].x, this._D2[this._d31 - 1].y, this._D2[this._d31 - 1]._E2);
} else {
this._FD3(this._CD3[0].x, this._CD3[0].y, this._CD3[0]._E2);
}
};
_HE1.prototype._ND3 = function () {
if (this._e2 == 1) {
this._LD3();
} else {
this._ID3();
}
this._ED3();
};
function _Be3(_Jh3) {
var _DE1 = new _HE1();
if (_Jh3 != undefined && _Jh3 != null) {
if (_Jh3._C2 != undefined) {
_DE1._C2 = _Jh3._C2;
}
if (_Jh3._B2 != undefined) {
_DE1._B2 = _Jh3._B2;
}
if (_Jh3._e2 != undefined) {
_DE1._e2 = _Jh3._e2;
}
if (_Jh3._d2 != undefined) {
_DE1.name = _Jh3._d2;
}
if (_Jh3._D2 != undefined) {
_DE1._d31 = _Jh3._D2.length;
}
for (var _ot1 = 0; _ot1 < _Jh3._D2.length; _ot1++) {
var _OD3 = _Jh3._D2[_ot1];
var _PD3 = new _BD3(_OD3.x, _OD3.y, _OD3._E2);
_DE1._D2[_DE1._D2.length] = _PD3;
}
_DE1._ND3();
}
return _DE1;
}
var _QD3 = new _BD3(0, 0, 100);
_HE1.prototype._RE1 = function (_911) {
var _yc1 = 0;
if (this._DD3 <= 0) {
_QD3.x = 0;
_QD3.y = 0;
_QD3._E2 = 0;
return _QD3;
}
if (this._DD3 == 1 || this.length == 0 || _911 <= 0) {
return this._CD3[0];
}
if (_911 >= 1) {
return this._CD3[this._DD3 - 1];
}
var _921 = this.length * _911;
_yc1 = 0;
while (_yc1 < this._DD3 - 2 && _921 >= this._CD3[_yc1 + 1]._921) {
_yc1++;
}
var _Br3 = this._CD3[_yc1];
_921 = _921 - _Br3._921;
var _Z9 = this._CD3[_yc1 + 1]._921 - _Br3._921;
if (_Z9 != 0) {
_yc1++;
_QD3.x = _Br3.x + (_921 * (this._CD3[_yc1].x - _Br3.x)) / _Z9;
_QD3.y = _Br3.y + (_921 * (this._CD3[_yc1].y - _Br3.y)) / _Z9;
_QD3._E2 = _Br3._E2 + (_921 * (this._CD3[_yc1]._E2 - _Br3._E2)) / _Z9;
_Br3 = _QD3;
}
return _Br3;
};
_HE1.prototype._FE1 = function (_911) {
var _ot1 = this._RE1(_911);
return _ot1.x;
};
_HE1.prototype._RD3 = function (_911) {
var _ot1 = this._RE1(_911);
return _ot1.y;
};
_HE1.prototype._IE1 = function (_SD3) {
this._D2 = null;
this._CD3 = null;
this.name = _SD3.name;
this._d31 = _SD3._d31;
this._e2 = _SD3._e2;
this._B2 = _SD3._B2;
this._C2 = _SD3._C2;
this._DD3 = _SD3._DD3;
this.length = _SD3.length;
this._D2 = [];
var _TD3;
var _OD3;
var _UD3 = _SD3._D2;
var _051 = this._D2;
for (var _ot1 = 0; _ot1 < _UD3.length; _ot1++) {
_OD3 = _UD3[_ot1];
_TD3 = new _BD3(_OD3.x, _OD3.y, _OD3._E2);
_TD3._921 = _OD3._921;
_051[_051.length] = _TD3;
}
this._CD3 = [];
var _VD3 = _SD3._CD3;
var _051 = this._CD3;
for (var _ot1 = 0; _ot1 < _VD3.length; _ot1++) {
_OD3 = _VD3[_ot1];
_TD3 = new _BD3(_OD3.x, _OD3.y, _OD3._E2);
_TD3._921 = _OD3._921;
_051[_051.length] = _TD3;
}
};
_HE1.prototype._SE1 = function (_LE1, _ME1) {
for (var _X9 = 0; _X9 <= this._d31 - 1; _X9++) {
this._D2[_X9].x += _LE1;
this._D2[_X9].y += _ME1;
}
this._ND3();
};
_HE1.prototype._WD3 = function () {
var _Iq3 = 100000000;
var _Jq3 = -100000000;
var _Kq3 = 100000000;
var _Lq3 = -100000000;
for (var _X9 = 0; _X9 <= this._d31 - 1; _X9++) {
if (this._D2[_X9].x < _Iq3) _Iq3 = this._D2[_X9].x;
if (this._D2[_X9].x > _Jq3) _Jq3 = this._D2[_X9].x;
if (this._D2[_X9].y < _Kq3) _Kq3 = this._D2[_X9].y;
if (this._D2[_X9].y > _Lq3) _Lq3 = this._D2[_X9].y;
}
return new _BD3((_Iq3 + _Jq3) / 2.0, (_Kq3 + _Lq3) / 2.0, 0);
};
_HE1.prototype._TE1 = function () {
var _XD3 = this._WD3();
this._SE1(-_XD3.x, -_XD3.y);
for (var _X9 = 0; _X9 <= this._d31 - 1; _X9++) {
this._D2[_X9].x = -this._D2[_X9].x;
}
this._SE1(_XD3.x, _XD3.y);
this._ND3();
};
_HE1.prototype._YD3 = function (_tp3, _up3, _GD3) {
var _OD3 = new _BD3(_tp3, _up3, _GD3);
if (!this._D2) this._D2 = [];
this._D2[this._D2.length] = _OD3;
this._d31++;
this._ND3();
};
function _jd3() {
this._A2 = [];
_AD3 = 0;
}
_jd3.prototype._Da1 = function (_SD3) {
this._A2[_SD3.id] = _SD3;
};
_jd3.prototype._qz1 = function (_SD3) {
this._A2[_SD3.id] = undefined;
};
function _ZD3(_ed1) {
this._Xf = _ed1;
this._4a = true;
this.__D3 = new _jc1();
}
_ZD3.prototype._Da1 = function (_0E3) {
this.__D3._Da1(_0E3);
};
_ZD3.prototype._qz1 = function (_0E3) {
this.__D3._ey1(_0E3);
};
_ZD3.prototype._O31 = function (_yn3) {
if (!this._4a) {
return;
}
var _xc1 = this.__D3._xc1;
for (var index = 0; index < _xc1.length; index++) {
var _1E3 = _xc1[index];
if (_1E3 != null) {
var _Uj2 = _1E3.x + _1E3._4x1 * _1E3._Z9,
_2E3 = _1E3.y + _1E3._5x1 * _1E3.__9;
var __11 = _1E3.x < _Uj2 ? _1E3.x : _Uj2,
_121 = _1E3.x > _Uj2 ? _1E3.x : _Uj2,
_021 = _1E3.y < _2E3 ? _1E3.y : _2E3,
_221 = _1E3.y > _2E3 ? _1E3.y : _2E3;
if (__11 <= _yn3.right && _021 <= _yn3.bottom && _121 >= _yn3.left && _221 >= _yn3.top) {
_1E3._O31();
}
}
}
};
_ZD3.prototype._jC1 = function () {
return this.__D3._xc1;
};
function _3E3() {
this._4E3 = new _wA3();
this._5E3 = -1;
}
_3E3.prototype._s11 = function (_ed1) {
var _6E3;
for (var index = 0; index < this._4E3._d31; index++) {
_6E3 = this._4E3._s11(index);
if (_6E3._Xf == _ed1) return _6E3;
}
return null;
};
_3E3.prototype._qz1 = function (_ed1) {
var _6E3 = this._s11(_ed1);
if (_6E3) {
this._4E3._qz1(_6E3);
}
};
_3E3.prototype._Da1 = function (_0E3) {
var _6E3;
_6E3 = this._s11(_0E3._Xf);
if (!_6E3) {
_6E3 = new _ZD3(_0E3._Xf);
this._4E3._Da1(_6E3);
}
_6E3._Da1(_0E3);
};
_3E3.prototype._7E3 = function (_0E3) {
var _6E3 = this._s11(_0E3._Xf);
if (_6E3) {
_6E3._qz1(_0E3);
}
};
_3E3.prototype._8E3 = function () {
this._5E3 = this._4E3.length - 1;
return this._4E3._s11(this._5E3);
};
_3E3.prototype._C42 = function () {
this._5E3--;
if (this._5E3 < 0) return null;
return this._4E3._s11(this._5E3);
};
function _9E3() {
this._592 = [];
this.offset = 0;
this._O82 = _9E3.prototype._aE3;
this._N82 = _9E3.prototype._bE3;
}
_9E3.prototype.Length = function () {
return this._592.length - this.offset;
};
_9E3.prototype._cE3 = function () {
return this._592.length == 0;
};
_9E3.prototype._bE3 = function (_gh3) {
this._592.push(_gh3);
};
_9E3.prototype._aE3 = function () {
if (this._cE3()) return undefined;
var _Wc1 = this._592[this.offset];
if (++this.offset * 2 >= this._592.length) {
this._592 = this._592.slice(this.offset);
this.offset = 0;
}
return _Wc1;
};
function _ue3() {
this.id = _Vb3++;
this._ay1();
}
_ue3.prototype._ay1 = function () {
this.__type = "[Room]";
this._dE3 = "";
this._eE3 = "";
this._2m3 = 30;
this._Vz1 = 1024;
this._Xz1 = 768;
this._iA3 = false;
this._fE3 = false;
this._gE3 = 0xc0c0c0;
this._hE3 = true;
this._iE3 = true;
this._jE3 = true;
this._kE3 = [];
for (var _d21 = 0; _d21 < _Ta3; _d21++) {
this._kE3[_d21] = null;
}
this._4b1 = false;
this._lE3 = null;
this._8w1 = new _wA3();
this._mE3 = new _jc1();
this._mE3._kc1 = true;
this._Xp3 = [];
this._2D3 = [];
this._nE3 = 0;
this._oE3 = [];
this._pE3 = new _3E3();
this._6b1 = [];
this._qE3 = [];
this._SF1 = null;
this._gx1 = "Room";
this._uF1 = null;
this._xy1 = new _wA3();
};
_ue3.prototype._kY2 = function () {
return this._Vz1;
};
_ue3.prototype._LW1 = function () {
return this._Xz1;
};
_ue3.prototype._E01 = function () {
return this._2m3;
};
_ue3.prototype._eX2 = function () {
return this._iA3;
};
_ue3.prototype._jC1 = function () {
return this._8w1._xc1;
};
_ue3.prototype._rE3 = function (_M01) {
this._Vz1 = _M01;
_rn._Ps = _M01;
};
_ue3.prototype._sE3 = function (_M01) {
this._Xz1 = _M01;
_rn._Rs = _M01;
};
_ue3.prototype._tE3 = function (_M01) {
this._2m3 = _M01;
_rn._4l3 = _M01;
};
_ue3.prototype._uE3 = function (_R01) {
this._gx1 = _R01;
};
_ue3.prototype._vE3 = function (_wE3) {
this._eE3 = _wE3;
_rn._3l3 = _wE3;
};
_ue3.prototype._cX2 = function (_M01) {
this._iA3 = _M01;
_rn._5l3 = _M01;
};
_ue3.prototype._xE3 = function () {
this._SF1 = { _d2: "room_empty_" + this.id, width: 640, height: 480, _Mf: [{}, {}, {}, {}, {}, {}, {}, {}], _Nf: [{}, {}, {}, {}, {}, {}, {}, {}], _Sf: [], _Vf: [] };
this._yE3(this._SF1);
};
_ue3.prototype._zE3 = function (_Jh3) {
if (_Jh3 != null) {
this._SF1.width = _Jh3.width;
this._SF1.height = _Jh3.height;
this._SF1._If = _Jh3._If;
this._SF1._Kf = _Jh3._Kf;
this._SF1._ag = _Jh3._ag;
this._SF1._Lf = _Jh3._Lf;
this._SF1._AE3 = _Jh3._AE3;
this._SF1._E2 = _Jh3._E2;
this._SF1._fc = _Jh3._fc;
this._SF1._BE3 = _Jh3._BE3;
this._SF1._Jf = _Jh3._Jf;
if (_Jh3._bg) {
this._SF1._bg = _Jh3._bg;
}
if (_Jh3._CE3) {
this._SF1._CE3 = _Jh3._CE3;
this._SF1._DE3 = _Jh3._DE3;
this._SF1._EE3 = _Jh3._EE3;
this._SF1._FE3 = _Jh3._FE3;
this._SF1._GE3 = _Jh3._GE3;
this._SF1._HE3 = _Jh3._HE3;
this._SF1._IE3 = _Jh3._IE3;
this._SF1._JE3 = _Jh3._JE3;
}
for (var _X9 = 0; _X9 < _Jh3._Mf.length; _X9++) {
var _KE3 = _Jh3._Mf[_X9];
if (_KE3 != null) {
this._SF1._Mf[_X9] = { _4a: _KE3._4a, index: _KE3.index, _Zf: _KE3._Zf, _Yf: _KE3._Yf, _1x1: _KE3._1x1, x: _KE3.x, y: _KE3.y, _2x1: _KE3._2x1, _3x1: _KE3._3x1, _6x1: _KE3._6x1, alpha: _KE3.alpha, _7x1: _KE3._7x1 };
}
}
for (var _X9 = 0; _X9 < _Jh3._Nf.length; _X9++) {
var _LE3 = _Jh3._Nf[_X9];
if (_LE3) {
this._SF1._Nf[_X9] = {
_4a: _LE3._4a,
_Yu1: _LE3._Yu1,
_Zu1: _LE3._Zu1,
_Of: _LE3._Of,
_Pf: _LE3._Pf,
_ME3: _LE3._ME3,
_NE3: _LE3._NE3,
_Qf: _LE3._Qf,
_Rf: _LE3._Rf,
_8i: _LE3._8i,
_9i: _LE3._9i,
_Yf: _LE3._Yf,
_Zf: _LE3._Zf,
index: _LE3.index,
};
}
}
this._SF1._Sf = new Array(_Jh3._Sf.length);
for (var _X9 = 0; _X9 < _Jh3._Sf.length; _X9++) {
var _OE3 = _Jh3._Sf[_X9];
if (_OE3) {
this._SF1._Sf[_X9] = {
x: _OE3.x,
y: _OE3.y,
index: _OE3.index,
id: _OE3.id,
rotation: _OE3._6N1,
scaleX: _OE3.scaleX,
scaleY: _OE3.scaleY,
imageSpeed: _OE3.imageSpeed,
imageIndex: _OE3.imageIndex,
_If: _OE3._7N1,
_bg: _OE3._bg,
_Tf: _OE3._Tf,
};
}
}
this._SF1._Vf = new Array(_Jh3._Vf.length);
for (var _X9 = 0; _X9 < _Jh3._Vf.length; _X9++) {
var _PE3 = _Jh3._Vf[_X9];
if (_PE3 != null) {
this._SF1._Vf[_X9] = { x: _PE3.x, y: _PE3.y, index: _PE3.index, _QE3: _PE3._QE3, _RE3: _PE3._RE3, _Z9: _PE3._Z9, __9: _PE3.__9, _Xf: _PE3._Xf, id: _PE3.id, scaleX: _PE3.scaleX, scaleY: _PE3.scaleY, _If: _PE3._If };
}
}
this._SF1._Wf = new Array(_Jh3._Wf.length);
for (var _X9 = 0; _X9 < _Jh3._Wf.length; _X9++) {
var _SE3 = _Jh3._Wf[_X9];
if (_SE3 != null) {
var _TE3 = { _d2: _SE3._d2, id: _SE3.id, type: _SE3.type, _Xf: _SE3._Xf, x: _SE3.x, y: _SE3.y, _Yf: _SE3._Yf, _Zf: _SE3._Zf, _4a: _SE3._4a };
switch (_SE3.type) {
case _Aw1:
_TE3._1g = _SE3._1g;
_TE3._2g = _SE3._2g;
_TE3._3g = _SE3._3g;
_TE3._4g = _SE3._4g;
_TE3._5g = _SE3._5g;
_TE3._6g = _SE3._6g;
_TE3._7g = _SE3._7g;
_TE3._G01 = _SE3._G01;
_TE3._8g = _SE3._8g;
_TE3._9g = _SE3._9g;
break;
case _Bw1:
_TE3.__f = _SE3.__f;
_TE3._0g = _SE3._0g ? _SE3._0g.slice(0) : [];
break;
case _Dw1:
_TE3._EA1 = _SE3._EA1;
_TE3._CA1 = _SE3._CA1;
_TE3._DA1 = _SE3._DA1;
_TE3._BA1 = _SE3._BA1;
_TE3._FA1 = _SE3._FA1 ? _SE3._FA1.slice(0) : [];
break;
case _Cw1:
var _UE3;
_TE3._4A1 = _SE3._4A1;
_TE3._6A1 = new Array(_SE3._6A1.length);
for (_UE3 = 0; _UE3 < _SE3._6A1.length; _UE3++) {
_TE3._6A1[_UE3] = {
_7A1: _SE3._6A1[_UE3]._7A1,
_8A1: _SE3._6A1[_UE3]._8A1,
_9A1: _SE3._6A1[_UE3]._9A1,
_aA1: _SE3._6A1[_UE3]._aA1,
_bA1: _SE3._6A1[_UE3]._bA1,
_cA1: _SE3._6A1[_UE3]._cA1,
_dA1: _SE3._6A1[_UE3]._dA1,
_VE3: _SE3._6A1[_UE3]._VE3,
_WE3: _SE3._6A1[_UE3]._WE3,
_eA1: _SE3._6A1[_UE3]._eA1,
_gA1: _SE3._6A1[_UE3]._gA1,
_iA1: _SE3._6A1[_UE3]._iA1,
};
}
_TE3._mA1 = _SE3._mA1;
_TE3._oA1 = new Array(_SE3._oA1.length);
for (_UE3 = 0; _UE3 < _SE3._oA1.length; _UE3++) {
_TE3._oA1[_UE3] = {
_zA1: _SE3._oA1[_UE3]._zA1,
_pA1: _SE3._oA1[_UE3]._pA1,
_xA1: _SE3._oA1[_UE3]._xA1,
_yA1: _SE3._oA1[_UE3]._yA1,
_tA1: _SE3._oA1[_UE3]._tA1,
_uA1: _SE3._oA1[_UE3]._uA1,
_wA1: _SE3._oA1[_UE3]._wA1,
_rA1: _SE3._oA1[_UE3]._rA1,
_sA1: _SE3._oA1[_UE3]._sA1,
_qA1: _SE3._oA1[_UE3]._qA1,
_vA1: _SE3._oA1[_UE3]._vA1,
};
}
break;
}
this._SF1._Wf[_X9] = _TE3;
}
}
}
};
_ue3.prototype._yE3 = function (_XE3) {
this._ay1();
this._SF1 = _XE3;
if (_XE3._d2 != undefined) this._uE3(_XE3._d2);
if (_XE3._AE3 != undefined) this._vE3(_XE3._AE3);
if (_XE3.width != undefined) this._rE3(_XE3.width);
if (_XE3.height != undefined) this._sE3(_XE3.height);
if (_XE3._E2 != undefined) this._tE3(_XE3._E2);
if (_XE3._fc != undefined) this._cX2(_XE3._fc);
if (_XE3._If != undefined) this._gE3 = _XE3._If;
if (_XE3._Kf != undefined) this._hE3 = _XE3._Kf;
if (_XE3._ag != undefined) this._4b1 = _XE3._ag;
if (_XE3._Lf != undefined) this._iE3 = _XE3._Lf;
if (_XE3._BE3 != undefined) this._jE3 = _XE3._BE3;
this._rE3(this._Vz1);
this._sE3(this._Xz1);
this._tE3(this._2m3);
this._vE3(this._eE3);
this._cX2(this._iA3);
this._6b1 = [];
this._nE3 = 0;
for (var index = 0; index < _XE3._Vf.length; index++) {
var _YE3 = _XE3._Vf[index];
if (_YE3 != null) {
var _1E3 = _ZE3(_YE3);
this._pE3._Da1(_1E3);
this._oE3[_1E3.id] = _1E3;
this._nE3++;
}
}
if (_XE3._bg != undefined) this._lE3 = _XE3._bg;
for (var _J41 = 0; _J41 < _XE3._Nf.length; _J41++) {
this._6b1[_J41] = __E3(_XE3._Nf[_J41]);
}
if (_XE3._Jf != undefined) {
if (_XE3._Jf > 0) {
_az1._Sz1(this, _XE3._Wf);
}
}
};
_ue3.prototype._0F3 = function () {
if (this._SF1._CE3) {
if (_F01) {
this._uF1 = new _lE2(this._SF1._JE3, _I01._J01());
} else {
this._uF1 = new _lE2(this._SF1._JE3, this._E01());
}
this._uF1._872(this._SF1._HE3, this._SF1._IE3);
}
};
_ue3.prototype._1F3 = function (_2F3) {
var _X9;
var _3F3 = 0;
var _4F3 = [];
for (_X9 = this._8w1.length - 1; _X9 >= 0; _X9--) {
var _Xv1 = this._8w1._s11(0);
if (_2F3) {
_Xv1._B11(_6w1, 0, _Xv1, _Xv1);
}
this._5F3(_Xv1);
}
for (_X9 = this._mE3.length - 1; _X9 >= 0; _X9--) {
this._5F3(this._mE3._s11(0));
}
};
_ue3.prototype._lx2 = function (index) {
if (this._6b1 != undefined) {
var _Yk1 = this._6b1[index];
if (_Yk1 != undefined) return _Yk1;
}
return undefined;
};
_ue3.prototype._6F3 = function (_a11, _b11, _7F3) {
return this._cz1(_a11, _b11, _0c3++, _7F3, false, 0);
};
_ue3.prototype._LA1 = function (_a11, _b11, _cy1, _7F3) {
return this._8F3(_a11, _b11, _cy1, _0c3++, _7F3, true);
};
_ue3.prototype._9F3 = function (_a11, _b11, _Ub1, _bw1, _aF3, _bF3, _cF3, _dF3, _QA2, _M71) {
var _eF3 = new _WX2(_a11, _b11, _Ub1, _bw1, true);
this._8w1._yA3(_eF3);
_iy1._Da1(_eF3);
if (_cF3 != undefined) _eF3._SG = _cF3;
if (_dF3 != undefined) _eF3._oC = _dF3;
if (_aF3 != undefined) _eF3._tC = _aF3;
if (_bF3 != undefined) _eF3._nC = _bF3;
if (_QA2 != undefined) _eF3._6N1 = _QA2;
if (_M71 != undefined) {
_eF3._7N1 = _M71 & 0xffffff;
_eF3._zd1 = ((_M71 >> 24) & 0xff) / 255.0;
}
if (_F01) {
var _Gz1 = _az1._Lz1(this, _Ub1);
if (_Gz1 == null) {
_az1._cz1(this, _eF3);
} else {
_az1._Ly1(this, _Gz1._ty1, _Gz1._p81);
}
}
_eF3._6q3();
return _eF3;
};
_ue3.prototype._cz1 = function (_a11, _b11, _Ub1, _bw1, _fF3, _ed1) {
var _eF3 = new _WX2(_a11, _b11, _Ub1, _bw1, true);
this._8w1._yA3(_eF3);
_iy1._Da1(_eF3);
if (_fF3) {
_eF3._Xf = _ed1;
}
if (_F01) {
var _Gz1 = _az1._Lz1(this, _Ub1);
if (_Gz1 == null) {
_az1._cz1(this, _eF3);
} else {
_az1._Ly1(this, _Gz1._ty1, _Gz1._p81);
}
}
_eF3._6q3();
return _eF3;
};
_ue3.prototype._8F3 = function (_a11, _b11, _cy1, _Ub1, _bw1) {
var _eF3 = new _WX2(_a11, _b11, _Ub1, _bw1, true);
_eF3._Xf = _cy1._Xf;
this._8w1._yA3(_eF3);
_iy1._Da1(_eF3);
_eF3._6q3();
if (_F01) _az1._ez1(this, _cy1, _eF3);
return _eF3;
};
_ue3.prototype._gF3 = function () {
var index = 0;
for (var _X9 = 0; _X9 < this._6b1.length; _X9++) {
var _7b1 = this._6b1[_X9];
_rn._ZV[index] = _7b1._4a;
_rn._pl3[index] = _7b1._lM1;
_rn._ql3[index] = _7b1._nM1;
_rn._rl3[index] = _7b1._pM1;
_rn._sl3[index] = _7b1._rM1;
_rn._tl3[index] = _7b1._hF3;
_rn._ul3[index] = _7b1._iF3;
_rn._vl3[index] = _7b1._jF3;
_rn._wl3[index] = _7b1._kF3;
_rn._xl3[index] = _7b1.angle;
_rn._yl3[index] = _7b1._8i;
_rn._zl3[index] = _7b1._9i;
_rn._Al3[index] = _7b1._Yf;
_rn._Bl3[index] = _7b1._Zf;
_rn._Cl3[index] = _7b1._PX2;
_rn._1m3[index] = _7b1._lF3;
_rn._vK[index] = _7b1._RZ2;
index++;
}
};
_ue3.prototype._mF3 = function () {
var index = 0;
for (var _X9 = 0; _X9 < this._6b1.length; _X9++) {
var _7b1 = this._6b1[_X9];
_7b1._4a = _rn._ZV[index];
_7b1._lM1 = _rn._pl3[index];
_7b1._nM1 = _rn._ql3[index];
_7b1._pM1 = _rn._rl3[index];
_7b1._rM1 = _rn._sl3[index];
_7b1._hF3 = _rn._tl3[index];
_7b1._iF3 = _rn._ul3[index];
_7b1._jF3 = _rn._vl3[index];
_7b1._kF3 = _rn._wl3[index];
_7b1.angle = _rn._xl3[index];
_7b1._8i = _rn._yl3[index];
_7b1._9i = _rn._zl3[index];
_7b1._Yf = _rn._Al3[index];
_7b1._Zf = _rn._Bl3[index];
_7b1._PX2 = _rn._Cl3[index];
_7b1._lF3 = _rn._1m3[index];
_7b1._RZ2 = _rn._vK[index];
index++;
}
};
_ue3.prototype._nF3 = function () {
for (var _X9 = 0; _X9 < _Wd1._Vd1.length; _X9++) {
var _Zd1 = _Wd1._s11(_X9);
_Zd1._Yf = _rn._jl3[_X9];
_Zd1._Zf = _rn._kl3[_X9];
_Zd1.x = _rn._bl3[_X9];
_Zd1.y = _rn._cl3[_X9];
_Zd1.x += _Zd1._Yf;
_Zd1.y += _Zd1._Zf;
_rn._bl3[_X9] = _Zd1.x;
_rn._cl3[_X9] = _Zd1.y;
}
};
_ue3.prototype._oF3 = function () {
var _X9;
var _921, _d21, _uY2, _vY2;
var _7b1;
var _Yv1;
if (!this._4b1) return;
this._mF3();
for (_X9 = 0; _X9 < this._6b1.length; _X9++) {
_7b1 = this._6b1[_X9];
if (!_7b1._4a) continue;
if (_F01 && _131 == null) {
if (_7b1._RZ2 != -1) {
var _AX2 = _zY2._hX2(_7b1._RZ2);
if (_AX2 != null) {
_7b1._PX2 = _AX2._2X2;
}
}
}
if (_F01) {
if (_7b1._RZ2 != -1) {
var _AX2 = _zY2._hX2(_7b1._RZ2);
if (_AX2 != null) {
_AX2._Va1();
}
}
} else if (_7b1._4a && _7b1._PX2 >= 0) {
_Yv1 = null;
if (_7b1._PX2 < 100000) {
var _8q1 = _o01._s11(_7b1._PX2);
if (_8q1 != null) {
var _xc1 = _8q1._JF1();
for (var _4q1 = 0; _4q1 < _xc1.length; _4q1++) {
_Yv1 = _xc1[_4q1];
if (!_Yv1._bl) break;
_Yv1 = null;
}
}
} else {
_Yv1 = _iy1._s11(_7b1._PX2);
if (!_Yv1 && _Yv1._bl) _Yv1 = null;
}
if (_Yv1 != null) {
_921 = _7b1._lM1;
_d21 = _7b1._nM1;
_uY2 = _Yv1.x;
_vY2 = _Yv1.y;
if (2 * _7b1._8i >= _7b1._pM1) {
_921 = _uY2 - _7b1._pM1 / 2;
} else if (_uY2 - _7b1._8i < _7b1._lM1) {
_921 = _uY2 - _7b1._8i;
} else if (_uY2 + _7b1._8i > _7b1._lM1 + _7b1._pM1) {
_921 = _uY2 + _7b1._8i - _7b1._pM1;
}
if (2 * _7b1._9i >= _7b1._rM1) {
_d21 = _vY2 - _7b1._rM1 / 2;
} else if (_vY2 - _7b1._9i < _7b1._nM1) {
_d21 = _vY2 - _7b1._9i;
} else if (_vY2 + _7b1._9i > _7b1._nM1 + _7b1._rM1) {
_d21 = _vY2 + _7b1._9i - _7b1._rM1;
}
if (_921 < 0) _921 = 0;
if (_921 + _7b1._pM1 > this._Vz1) _921 = this._Vz1 - _7b1._pM1;
if (_d21 < 0) _d21 = 0;
if (_d21 + _7b1._rM1 > this._Xz1) _d21 = this._Xz1 - _7b1._rM1;
if (_7b1._Yf >= 0) {
if (_921 < _7b1._lM1 && _7b1._lM1 - _921 > _7b1._Yf) _921 = _7b1._lM1 - _7b1._Yf;
if (_921 > _7b1._lM1 && _921 - _7b1._lM1 > _7b1._Yf) _921 = _7b1._lM1 + _7b1._Yf;
}
if (_7b1._Zf >= 0) {
if (_d21 < _7b1._nM1 && _7b1._nM1 - _d21 > _7b1._Zf) _d21 = _7b1._nM1 - _7b1._Zf;
if (_d21 > _7b1._nM1 && _d21 - _7b1._nM1 > _7b1._Zf) _d21 = _7b1._nM1 + _7b1._Zf;
}
_7b1._lM1 = _921;
_7b1._nM1 = _d21;
}
}
}
this._gF3();
var left, right, top, bottom;
left = 999999;
right = -999999;
top = 999999;
bottom = -999999;
for (var _X9 = 0; _X9 < _D01._6b1.length; _X9++) {
_7b1 = _D01._6b1[_X9];
if (_7b1._4a) {
if (left > _7b1._hF3) left = _7b1._hF3;
if (right < _7b1._hF3 + _7b1._jF3) right = _7b1._hF3 + _7b1._jF3;
if (top > _7b1._iF3) top = _7b1._iF3;
if (bottom < _7b1._iF3 + _7b1._kF3) bottom = _7b1._iF3 + _7b1._kF3;
}
}
_WN1 = _WQ1 / (right - left);
_XN1 = _XQ1 / (bottom - top);
};
var _pF3 = !1;
_ue3.prototype._qF3 = function (_yn3) {
var _6E3 = this._pE3._8E3();
var _rF3 = _6E3._Xf;
for (var _X9 = this._8w1.length - 1; _X9 >= 0; _X9--) {
var _Yv1 = this._8w1._s11(_X9);
if (_Yv1._bl || _Yv1._4a == 0) continue;
while (_rF3 > _Yv1._Xf) {
_6E3._O31(_yn3);
_6E3 = this._pE3._C42();
if (_6E3) {
_rF3 = _6E3._Xf;
} else {
_rF3 = -1000000000000;
}
}
if (!_Yv1._EZ2[_M13]) {
var _ne3 = _r11._s11(_Yv1._wC);
if (_ne3) {
if (_Yv1._tC == 1.0 && _Yv1._nC == 1.0 && _Yv1._6N1 == 0.0 && _Yv1._7N1 == 0xffffff) {
_ne3._aN1(_Yv1._oC, _Yv1.x, _Yv1.y, _Yv1._zd1 * _K71);
} else {
_ne3._O31(_Yv1._oC, _Yv1.x, _Yv1.y, _Yv1._tC, _Yv1._nC, _Yv1._6N1, _N71(_Yv1._Tp3()), _Yv1._zd1 * _K71);
}
}
} else {
_G21 = _Yv1;
_Yv1._B11(_M13, 0, _Yv1, _Yv1);
_G21 = null;
}
}
while (_6E3) {
_6E3._O31(_yn3);
_6E3 = this._pE3._C42();
}
};
_ue3.prototype._sF3 = function (_yn3) {
var _ne3, _Yv1, _X9, _xc1, _em3;
_xc1 = this._8w1._xc1;
_em3 = _r11._m2;
for (_X9 = _xc1.length - 1; _X9 >= 0; _X9--) {
_Yv1 = _xc1[_X9];
if (_Yv1._bl || !_Yv1._4a) continue;
if (!_Yv1._EZ2[_M13]) {
_ne3 = _em3[_Yv1._wC];
if (_ne3) {
_G21 = _Yv1;
if (_Yv1._tC == 1.0 && _Yv1._nC == 1.0 && _Yv1._6N1 == 0.0 && _Yv1._7N1 == 0xffffff) {
_ne3._aN1(_Yv1._oC, _Yv1.x, _Yv1.y, _Yv1._zd1 * _K71);
} else {
_ne3._O31(_Yv1._oC, _Yv1.x, _Yv1.y, _Yv1._tC, _Yv1._nC, _Yv1._6N1, _N71(_Yv1._Tp3()), _Yv1._zd1 * _K71);
}
_G21 = null;
}
} else {
_G21 = _Yv1;
_Yv1._B11(_M13, 0, _Yv1, _Yv1);
_G21 = null;
}
}
};
_ue3.prototype._tF3 = function (_yn3) {
var _uF3 = _wD3();
for (var _X9 = this._8w1.length - 1; _X9 >= 0; _X9--) {
var _Yv1 = this._8w1._s11(_X9);
if (_Yv1._bl || _Yv1._4a == 0) continue;
var _vF3 = _uF3;
while (_uF3 > _Yv1._Xf) {
_oD3(_uF3);
_uF3 = _xD3(_uF3);
if (_uF3 == _vF3) {
break;
}
_vF3 = _uF3;
}
if (!_Yv1._EZ2[_M13]) {
var _ne3 = _r11._s11(_Yv1._wC);
if (_ne3) {
if (_Yv1._tC == 1.0 && _Yv1._nC == 1.0 && _Yv1._6N1 == 0.0 && _Yv1._7N1 == 0xffffff) {
_ne3._aN1(_Yv1._oC, _Yv1.x, _Yv1.y, _Yv1._zd1 * _K71);
} else {
_ne3._O31(_Yv1._oC, _Yv1.x, _Yv1.y, _Yv1._tC, _Yv1._nC, _Yv1._6N1, _N71(_Yv1._Tp3()), _Yv1._zd1 * _K71);
}
}
} else {
_G21 = _Yv1;
_Yv1._B11(_M13, 0, _Yv1, _Yv1);
_G21 = null;
}
}
while (_uF3 > -1000000000) {
_oD3(_uF3);
_uF3 = _xD3(_uF3);
}
};
_ue3.prototype._wF3 = function (_yn3) {
var _uF3 = _wD3();
var _6E3 = this._pE3._8E3();
var _xF3 = _6E3._Xf;
for (var _X9 = this._8w1.length - 1; _X9 >= 0; _X9--) {
var _Yv1 = this._8w1._s11(_X9);
if (_Yv1._bl || _Yv1._4a == 0) continue;
while (true) {
if (_xF3 > _Yv1._Xf) {
if (_xF3 > _uF3) {
_6E3._O31(_yn3);
_6E3 = this._pE3._C42();
if (_6E3) {
_xF3 = _6E3._Xf;
} else {
_xF3 = -1000000000000;
}
} else {
_oD3(_uF3);
_uF3 = _xD3(_uF3);
}
} else if (_uF3 > _Yv1._Xf) {
_oD3(_uF3);
_uF3 = _xD3(_uF3);
} else {
break;
}
}
if (!_Yv1._EZ2[_M13]) {
var _ne3 = _r11._s11(_Yv1._wC);
if (_ne3) {
if (_Yv1._tC == 1.0 && _Yv1._nC == 1.0 && _Yv1._6N1 == 0.0 && _Yv1._7N1 == 0xffffff) {
_ne3._aN1(_Yv1._oC, _Yv1.x, _Yv1.y, _Yv1._zd1 * _K71);
} else {
_ne3._O31(_Yv1._oC, _Yv1.x, _Yv1.y, _Yv1._tC, _Yv1._nC, _Yv1._6N1, _N71(_Yv1._Tp3()), _Yv1._zd1 * _K71);
}
}
} else {
_G21 = _Yv1;
_Yv1._B11(_M13, 0, _Yv1, _Yv1);
_G21 = null;
}
}
while (true) {
if (_xF3 > _uF3) {
_6E3._O31(_yn3);
_6E3 = this._pE3._C42();
if (_6E3) {
_xF3 = _6E3._Xf;
} else {
_xF3 = -1000000000000;
}
} else {
if (_uF3 <= -1000000000) break;
_oD3(_uF3);
_uF3 = _xD3(_uF3);
}
}
};
_ue3.prototype._yF3 = function (_yn3, _cy1, _qy1) {
var _Xv1 = _qy1._ox1;
if (_Xv1 != null) {
if (!(_Xv1._bl || !_Xv1._cl || !_Xv1._4a)) {
var _cq1 = _o01._s11(_Xv1._aF2);
if (_cq1 != null) {
if (_cq1._EZ2[_M13]) {
_G21 = _Xv1;
_Xv1._B11(_M13, 0, _Xv1, _Xv1);
_G21 = null;
} else {
var _UK1 = _r11._s11(_Xv1._wC);
if (_UK1 != null) {
_G21 = _Xv1;
if (_Xv1._tC === 1 && _Xv1._nC === 1 && _Xv1._6N1 === 0 && _N71(_Xv1._Tp3()) === 0xffffff && _Xv1._zd1 === 1) {
_UK1._aN1(_Xv1._oC, _Xv1.x, _Xv1.y, _Xv1._zd1 * _K71);
} else {
_UK1._O31(_Xv1._oC, _Xv1.x, _Xv1.y, _Xv1._tC, _Xv1._nC, _Xv1._6N1, _N71(_Xv1._Tp3()), _Xv1._zd1);
}
_G21 = null;
}
}
}
}
}
};
_ue3.prototype._zF3 = function (_yn3, _cy1, _qy1) {
for (var _X9 = 0; _X9 < _qy1._AF3.length(); _X9++) {
var _BF3 = _qy1._CF3;
for (var _i21 = 0; _i21 < _BF3.length(); _i21++) {
var _DF3 = _BF3[_i21];
}
}
};
_ue3.prototype._EF3 = function (_yn3, _cy1, _qy1) {
var _Qz1 = _qy1._tx1;
if (!_Qz1._4a) return;
if (_Qz1._1x1) return;
var _FF3 = _Qz1._7x1;
if (_0A1(_Qz1.index)) {
var _UK1 = _r11._s11(_Qz1.index);
if (!_UK1) return;
var _GF3 = ~~_Qz1._oC % _UK1._yK1.length;
if (_UK1._yK1[_GF3] != undefined) {
if (_Qz1._6x1) {
var _4x1 = _D01._kY2() / _UK1.width;
var _5x1 = _D01._LW1() / _UK1.height;
_bN1(_UK1._yK1[_GF3], _cy1._ax1, _cy1._bx1, _4x1, _5x1, _Qz1._3x1, _Qz1._2x1, _FF3, _Qz1.alpha);
} else _bN1(_UK1._yK1[_GF3], _cy1._ax1, _cy1._bx1, _Qz1._4x1, _Qz1._5x1, _Qz1._3x1, _Qz1._2x1, _FF3, _Qz1.alpha);
}
} else {
var _HF3 = _K71;
_K71 = _Qz1.alpha;
if (!_131) _FF3 = _N71(_Qz1._7x1);
_4L(__u1.left, __u1.top, __u1.right, __u1.bottom, _FF3, _FF3, _FF3, _FF3, false);
_K71 = _HF3;
}
};
_ue3.prototype._IF3 = function (_yn3, _cy1, _qy1) {
if (_0A1(_qy1._Ex1)) {
var _UK1 = _r11._s11(_qy1._Ex1);
if (!_UK1) return;
var _GF3 = ~~_qy1._Ix1 % _UK1._yK1.length;
if (_UK1._yK1[_GF3] != undefined) {
_nn3(_UK1._yK1[_GF3], _UK1._v2, _UK1._w2, _qy1._wx1 + _cy1._ax1, _qy1._xx1 + _cy1._bx1, _qy1._Jx1, _qy1._Kx1, _qy1._Lx1 * 0.0174532925, _qy1._Mx1, _qy1._Mx1, _qy1._Mx1, _qy1._Mx1, _qy1._Nx1);
}
}
};
var _JF3 = -1;
function _md3() {
_JF3 = _zY2._jX2();
}
function _CM1(_a11, _b11, _Mb1, _Nb1, _e11) {
var _KF3 = _zY2._hX2(_JF3);
if (_KF3) {
_KF3._FX2(_a11);
_KF3._GX2(_b11);
_KF3._HX2(_Mb1);
_KF3._IX2(_Nb1);
_KF3._NX2(_e11);
if (_KF3._6X2) {
_KF3._QX2(_KF3._RX2() + _KF3._SX2() * 0.5, _KF3._TX2() + _KF3._UX2() * 0.5);
_KF3._8Y2();
} else {
_KF3._yY2(_KF3._RX2() + _KF3._SX2() * 0.5, _KF3._TX2() + _KF3._UX2() * 0.5);
_KF3._8Y2();
_mM1 = _a11;
_oM1 = _b11;
_qM1 = _Mb1;
_sM1 = _Nb1;
var _jY2 = _e11;
_Xu1(_mM1, _oM1, _qM1, _sM1, _jY2);
}
_zY2._3Y2(_JF3);
_KF3._8Y2();
}
}
_ue3.prototype._LF3 = function (_yn3, _cy1, _qy1, _MF3, _NF3, _ed1) {
if (_Td1(_qy1._vx1)) {
var _OF3 = _Yd1(_qy1._vx1);
var _PF3 = _0e1(_qy1._vx1);
var _Zd1 = _Wd1._Xd1(_qy1._vx1);
var _QF3 = null;
var _RF3 = 1;
var _SF3 = 1;
var _TF3 = false;
var _Bh3 = 0;
var _Ch3 = 0;
var _UF3 = 0,
_VF3 = 0;
var _WF3 = 0,
_XF3 = 0;
if (_Zd1.__d1 === null || _Zd1.__d1 === undefined) {
} else {
var _F71 = _Zd1.__d1;
var _v31 = _F71._f31;
if (!_v31.complete) return;
if (_131) if (!_v31._o51) _p51({ _f31: _v31 });
_RF3 = _F71._Z9 / _F71._dk;
_SF3 = _F71.__9 / _F71._ek;
if (_F71._9k != 0 || _F71._ak != 0 || _F71._bk != _F71._dk || _F71._ck != _F71._ek) {
_TF3 = false;
} else {
_TF3 = true;
_Bh3 = (_Zd1._Bh3 * _RF3) / _v31.width;
_Ch3 = (_Zd1._Ch3 * _SF3) / _v31.height;
var _Dh3 = (_Zd1._Dh3 * _RF3) / _v31.width;
var _Eh3 = (_Zd1._Eh3 * _SF3) / _v31.height;
_WF3 = _Dh3 + _F71.x / _v31.width;
_XF3 = _Eh3 + _F71.y / _v31.height;
_UF3 = _Bh3 + _Dh3 * 2;
_VF3 = _Ch3 + _Eh3 * 2;
}
}
var _YF3, _ZF3, _Xf;
if (_cy1 != null) {
_YF3 = _cy1._ax1 + _qy1._wx1;
_ZF3 = _cy1._bx1 + _qy1._xx1;
_Xf = _cy1._Xf;
} else {
_YF3 = _MF3;
_ZF3 = _NF3;
_Xf = _ed1;
}
if (_v31 != null) {
var __F3 = _az1._9y1();
__F3 &= _qy1._Cx1;
if (_TF3) {
var _0G3 = 2048;
var _O03 = Math.floor((_yn3.left - _YF3) / _Zd1._Bh3);
var _P03 = Math.floor((_yn3.right - _YF3 + _Zd1._Bh3) / _Zd1._Bh3);
var _Q03 = Math.floor((_yn3.top - _ZF3) / _Zd1._Ch3);
var _R03 = Math.floor((_yn3.bottom - _ZF3 + _Zd1._Ch3) / _Zd1._Ch3);
_O03 = _a21(0, _O03);
_P03 = _c21(_qy1._yx1, _P03);
_Q03 = _a21(0, _Q03);
_R03 = _c21(_qy1._zx1, _R03);
var _1G3 = _Zd1._Bh3;
var _2G3 = _Zd1._Ch3;
var _Fh3 = _Zd1._Fh3;
var _3G3 = (_P03 - _O03) * (_R03 - _Q03);
var _4G3 = 0;
var _5G3 = null;
var _6G3 = null;
var _y51, _3g, _B51, _D51, _F51, _H51, _b61, _c61, _d61, _e61, _f61;
if (_131) {
for (var y = _Q03; y < _R03; y++) {
var index = y * _qy1._yx1 + _O03;
for (var x = _O03; x < _P03; x++, index++, _3G3--) {
var _7G3 = _qy1._Bx1[index];
_7G3 &= __F3;
var _8G3 = (_7G3 >> _Yw1) & __w1;
if (_8G3 === 0) continue;
_8G3 = _Zd1._Hh3[_8G3 * _Zd1.frames + _qy1._Ax1];
if (_8G3 === 0) continue;
if (_4G3 === 0) {
_4G3 = _c21(_3G3, _0G3);
_5G3 = _131._v51(_Z41._w51, _v31._o51, _131._x51, _4G3 * 6);
_y51 = _5G3._z51() >> 2;
_3g = _y51 * _5G3._A51;
_5G3._A51 += _4G3 * 6;
_B51 = _5G3._C51;
_D51 = _5G3._E51;
_F51 = _5G3._G51;
_H51 = _3g;
_b61 = _H51 + _y51;
_c61 = _b61 + _y51;
_d61 = _c61 + _y51;
_e61 = _d61 + _y51;
_f61 = _e61 + _y51;
}
var _213 = x * _1G3 + _YF3;
var _9G3 = y * _2G3 + _ZF3;
var _QE3 = (_8G3 % _Fh3) * _UF3 + _WF3;
var _RE3 = Math.floor(_8G3 / _Fh3) * _VF3 + _XF3;
var _aG3 = _213;
var _bG3 = _9G3;
var _cG3 = _213 + _1G3;
var _dG3 = _9G3;
var _eG3 = _213;
var _fG3 = _9G3 + _2G3;
var _gG3 = _213 + _1G3;
var _hG3 = _9G3 + _2G3;
var _iG3 = _QE3;
var _jG3 = _RE3;
var _kG3 = _QE3 + _Bh3;
var _lG3 = _RE3;
var _mG3 = _QE3;
var _nG3 = _RE3 + _Ch3;
var _oG3 = _QE3 + _Bh3;
var _pG3 = _RE3 + _Ch3;
if (_7G3 & _Ww1) {
if (_7G3 & _Tw1) {
var _Et1;
_Et1 = _iG3;
_iG3 = _kG3;
_kG3 = _Et1;
_Et1 = _mG3;
_mG3 = _oG3;
_oG3 = _Et1;
}
if (_7G3 & _Sw1) {
var _Et1;
_Et1 = _jG3;
_jG3 = _nG3;
_nG3 = _Et1;
_Et1 = _lG3;
_lG3 = _pG3;
_pG3 = _Et1;
}
if (_7G3 & _Uw1) {
var _Et1;
_Et1 = _iG3;
_iG3 = _mG3;
_mG3 = _oG3;
_oG3 = _kG3;
_kG3 = _Et1;
_Et1 = _jG3;
_jG3 = _nG3;
_nG3 = _pG3;
_pG3 = _lG3;
_lG3 = _Et1;
}
}
_B51[_H51 + 0] = _aG3;
_B51[_H51 + 1] = _bG3;
_B51[_H51 + 2] = _Xf;
_B51[_b61 + 0] = _B51[_e61 + 0] = _cG3;
_B51[_b61 + 1] = _B51[_e61 + 1] = _dG3;
_B51[_b61 + 2] = _B51[_e61 + 2] = _Xf;
_B51[_c61 + 0] = _B51[_d61 + 0] = _eG3;
_B51[_c61 + 1] = _B51[_d61 + 1] = _fG3;
_B51[_c61 + 2] = _B51[_d61 + 2] = _Xf;
_B51[_f61 + 0] = _gG3;
_B51[_f61 + 1] = _hG3;
_B51[_f61 + 2] = _Xf;
_D51[_H51] = _D51[_b61] = _D51[_c61] = _D51[_d61] = _D51[_e61] = _D51[_f61] = 0xffffffff;
_F51[_H51 + 0] = _iG3;
_F51[_H51 + 1] = _jG3;
_F51[_b61 + 0] = _F51[_e61 + 0] = _kG3;
_F51[_b61 + 1] = _F51[_e61 + 1] = _lG3;
_F51[_c61 + 0] = _F51[_d61 + 0] = _mG3;
_F51[_c61 + 1] = _F51[_d61 + 1] = _nG3;
_F51[_f61 + 0] = _oG3;
_F51[_f61 + 1] = _pG3;
_H51 += _y51 * 6;
_b61 += _y51 * 6;
_c61 += _y51 * 6;
_d61 += _y51 * 6;
_e61 += _y51 * 6;
_f61 += _y51 * 6;
_4G3--;
}
}
if (_4G3 > 0) _5G3._A51 -= _4G3 * 6;
} else {
for (var y = _Q03; y < _R03; y++) {
var index = y * _qy1._yx1 + _O03;
for (var x = _O03; x < _P03; x++, index++, _3G3--) {
var _7G3 = _qy1._Bx1[index];
var _8G3 = (_7G3 >> _Yw1) & __w1;
if (_8G3 === 0) continue;
_8G3 = _Zd1._Hh3[_8G3 * _Zd1.frames + _qy1._Ax1];
if (_8G3 === 0) continue;
var _213 = x * _1G3 + _YF3;
var _9G3 = y * _2G3 + _ZF3;
var _QE3 = (_8G3 % _Fh3) * _UF3 + _WF3;
var _RE3 = Math.floor(_8G3 / _Fh3) * _VF3 + _XF3;
var _aG3 = _213;
var _bG3 = _9G3;
var _cG3 = _213 + _1G3;
var _dG3 = _9G3;
var _eG3 = _213;
var _fG3 = _9G3 + _2G3;
var _gG3 = _213 + _1G3;
var _hG3 = _9G3 + _2G3;
var _iG3 = _QE3;
var _jG3 = _RE3;
var _kG3 = _QE3 + _Bh3;
var _lG3 = _RE3;
var _mG3 = _QE3;
var _nG3 = _RE3 + _Ch3;
var _oG3 = _QE3 + _Bh3;
var _pG3 = _RE3 + _Ch3;
if (_7G3 & _Ww1) {
var _so3 = 1;
var _to3 = 1;
var _9N1 = 0;
if (_7G3 & _Tw1) {
_so3 = -_so3;
}
if (_7G3 & _Sw1) {
_to3 = -_to3;
}
if (_7G3 & _Uw1) {
_9N1 = -1.5708;
}
_Fm3(Math.floor(_aG3) + _1G3 * 0.5, Math.floor(_bG3) + _2G3 * 0.5, _so3, _to3, -_9N1);
_R41._xK1(_v31, Math.floor(_iG3 * _v31.width), Math.floor(_jG3 * _v31.height), Math.floor(_Bh3 * _v31.width), Math.floor(_Ch3 * _v31.height), -_1G3 * 0.5, -_1G3 * 0.5, _1G3, _2G3);
_Hm3();
} else {
_R41._xK1(_v31, Math.floor(_iG3 * _v31.width), Math.floor(_jG3 * _v31.height), Math.floor(_Bh3 * _v31.width), Math.floor(_Ch3 * _v31.height), Math.floor(_aG3), Math.floor(_bG3), _1G3, _2G3);
}
}
}
}
}
}
}
};
_ue3.prototype._qG3 = function (_yn3, _cy1, _qy1) {
_vD3(_qy1._Px1);
};
_ue3.prototype._rG3 = function (_yn3, _cy1, _qy1) {
if (!_qy1._ex1) return false;
var _UK1 = _r11._s11(_qy1._Dp1);
if (_UK1 != null) {
var _be1 = _UK1._yK1[0];
if (_be1._f31 instanceof HTMLImageElement && _be1._fk >= _g31.length) return;
if (_g31[_be1._fk] instanceof HTMLImageElement && !_g31[_be1._fk].complete) return;
_jn3(_be1, _qy1._Tx1, _qy1._Ux1, _qy1._Rx1, _qy1._Sx1, _qy1._wx1, _qy1._xx1, _qy1._Jx1, _qy1._Kx1, _qy1._Mx1, _qy1._Nx1);
}
};
_ue3.prototype._sG3 = function (_yn3) {
var _Aq3 = _rp3;
var _Bq3 = _sp3;
_rp3 = _M13;
_sp3 = 0;
var _Ny1, _Oy1, _X9, _xc1;
_xc1 = this._xy1._xc1;
for (_X9 = _xc1.length - 1; _X9 >= 0; _X9--) {
_Ny1 = _xc1[_X9];
if (_Ny1 === null || _Ny1._ex1 <= 0) {
continue;
}
if (_az1._7y1()) {
_vi1(_az1._8y1());
} else {
_vi1(_Ny1._Xf);
}
_tG3(_Ny1._jx1);
_uG3(_Ny1._k91, _Ny1._hx1);
for (var _i21 = 0; _i21 < _Ny1._lx1.length; _i21++) {
_Oy1 = _Ny1._lx1._s11(_i21);
if (_Oy1 != null) {
if (_Oy1._px1 === _Gw1) {
this._EF3(_yn3, _Ny1, _Oy1);
} else if (_Oy1._px1 === _Hw1) {
this._yF3(_yn3, _Ny1, _Oy1);
} else if (_Oy1._px1 === _Iw1) {
this._zF3(_yn3, _Ny1, _Oy1);
} else if (_Oy1._px1 === _Jw1) {
this._IF3(_yn3, _Ny1, _Oy1, 0, 0, 0);
} else if (_Oy1._px1 === _Kw1) {
this._LF3(_yn3, _Ny1, _Oy1);
} else if (_Oy1._px1 === _Lw1) {
this._qG3(_yn3, _Ny1, _Oy1);
} else if (_Oy1._px1 === _Mw1) {
this._rG3(_yn3, _Ny1, _Oy1);
}
}
}
_uG3(_Ny1._k91, _Ny1._ix1);
_vG3(_Ny1._jx1);
}
_rp3 = _Aq3;
_sp3 = _Bq3;
};
_ue3.prototype._wG3 = function (_yn3) {
__u1 = _yn3;
_2v1();
if (this._hE3) {
_in3(_N71(_rn._6l3));
}
this._xG3(_yn3, _C23);
if (this._xy1 != null && this._xy1.length > 0) {
this._sG3(_yn3);
} else {
for (var _X9 = 0; _X9 < _Wd1._Vd1.length; _X9++) {
var _Zd1 = _Wd1._s11(_X9);
if (_Zd1) {
_Zd1._4a = _rn._8l3[_X9];
_Zd1._1x1 = _rn._9l3[_X9];
_Zd1.x = _rn._bl3[_X9];
_Zd1.y = _rn._cl3[_X9];
_Zd1.index = _rn._al3[_X9];
_Zd1._Mh3 = _rn._fl3[_X9];
_Zd1._Nh3 = _rn._gl3[_X9];
_Zd1.alpha = _rn._ml3[_X9];
_Zd1._7x1 = _rn._ll3[_X9];
_Zd1._Yf = _rn._jl3[_X9];
_Zd1._Zf = _rn._kl3[_X9];
_Zd1._4x1 = _rn._hl3[_X9];
_Zd1._5x1 = _rn._il3[_X9];
if (_Zd1 != null && _Zd1._4a && !_Zd1._1x1) {
var _UK1 = _Wd1._Xd1(_Zd1.index);
if (_UK1 != null) {
if (_Zd1._6x1) {
_WM1(_UK1.__d1, _Zd1.x, _Zd1.y, this._Vz1, this._Xz1, _Zd1._7x1, _Zd1.alpha);
} else {
_bN1(_UK1.__d1, _Zd1.x, _Zd1.y, _Zd1._4x1, _Zd1._5x1, _Zd1._Nh3, _Zd1._Mh3, _Zd1._7x1, _Zd1.alpha);
}
}
}
}
}
if (this._pE3._4E3._d31 > 0) {
if (_mb3.length != 0) {
this._wF3(_yn3);
} else {
this._qF3(_yn3);
}
} else if (_mb3.length != 0) {
this._tF3(_yn3);
} else {
this._sF3(_yn3);
}
for (var _X9 = 0; _X9 < _Wd1._Vd1.length; _X9++) {
var _Zd1 = _Wd1._s11(_X9);
if (_Zd1 != null && _Zd1._4a && _Zd1._1x1) {
var _UK1 = _Wd1._Xd1(_Zd1.index);
if (_UK1 != null) {
if (_Zd1._6x1) {
_WM1(_UK1.__d1, _Zd1.x, _Zd1.y, this._Vz1, this._Xz1, _Zd1._7x1, _Zd1.alpha);
} else {
_bN1(_UK1.__d1, _Zd1.x, _Zd1.y, _Zd1._4x1, _Zd1._5x1, _Zd1._Nh3, _Zd1._Mh3, _Zd1._7x1, _Zd1.alpha);
}
}
}
}
}
this._xG3(_yn3, _D23);
};
_ue3.prototype._yG3 = function () {
if (_ic3 >= 0) {
var _qK1 = _r11._s11(_ic3);
if (_qK1 != null) {
_qK1._O31(_jc3, _ub1._1O1 - _9b1.left, _ub1._2O1 - _9b1.top, 1.0, 1.0, 0, 0xffffff, 1.0);
}
_jc3++;
if (_jc3 > _qK1._721) _jc3 -= _qK1._721;
}
};
function _uG3(_zG3, _AG3) {
if (_AG3 != -1) {
_72._F2[_AG3](null, null);
}
}
function _tG3(_BG3) {
if (_BG3 != -1) {
_gU(_BG3);
}
}
function _vG3(_BG3) {
if (_BG3 != -1) {
_sU();
}
}
_ue3.prototype._xG3 = function (_yn3, _j01) {
var _ne3, _Yv1, _X9, _xc1, _em3;
__u1 = _yn3;
_2v1();
if (this._xy1.length > 0) {
var _Ny1, _Oy1;
_xc1 = this._xy1._xc1;
for (_X9 = _xc1.length - 1; _X9 >= 0; _X9--) {
_Ny1 = _xc1[_X9];
if (_Ny1 == null || _Ny1._ex1 == false) {
continue;
}
_tG3(_Ny1._jx1);
_uG3(_Ny1._k91, _Ny1._hx1);
for (var _i21 = 0; _i21 < _Ny1._lx1.length; _i21++) {
_Oy1 = _Ny1._lx1._s11(_i21);
if (_Oy1 != null) {
if (_Oy1._px1 === _Hw1) {
_Yv1 = _Oy1._ox1;
if (_Yv1 != null) {
if (!(_Yv1._bl || !_Yv1._cl || !_Yv1._4a)) {
if (_Yv1._EZ2[_j01]) {
_Yv1._B11(_j01, 0, _Yv1, _Yv1);
}
}
}
}
}
}
_uG3(_Ny1._k91, _Ny1._ix1);
_vG3(_Ny1._jx1);
}
} else {
_xc1 = this._8w1._xc1;
_em3 = _r11._m2;
for (_X9 = _xc1.length - 1; _X9 >= 0; _X9--) {
_Yv1 = _xc1[_X9];
if (_Yv1._bl || !_Yv1._4a) continue;
if (_Yv1._EZ2[_j01]) {
_Yv1._B11(_j01, 0, _Yv1, _Yv1);
}
}
}
};
_ue3.prototype._CG3 = function (_b21) {
_yb3 = _Fb3;
_yb3._ab1 = 0;
_yb3._cb1 = 0;
_yb3._DG3 = _b21.right;
_yb3._EG3 = _b21.bottom;
_yb3._bb1 = _b21.right;
_yb3._db1 = _b21.bottom;
_yb3._FG3 = 1.0;
_yb3._GG3 = 1.0;
_Rs1();
{
_BM1(0, 0, _b21.right, _b21.bottom);
_DM1(0, 0, _b21.right, _b21.bottom, 0);
if (this._jE3 && _VQ1) {
_in3(_FN1);
}
this._xG3(_b21, _G23);
}
_Ys1();
};
_ue3.prototype._HG3 = function () {
if (_VQ1) {
if (_WL1 < 0) {
_WL1 = _5e1(_WQ1, _XQ1);
_rn._DV = _WL1;
debug("Application Surface created: w=" + _WQ1 + ", h=" + _XQ1);
}
if (_XL1) {
_XL1 = false;
_5e1(_YL1, _ZL1, _WL1);
_WQ1 = _YL1;
_XQ1 = _ZL1;
debug("Application Surface resized: w=" + _WQ1 + ", h=" + _XQ1);
_IG3();
}
_zM1(_WL1);
}
};
_ue3.prototype._JG3 = function (_b21) {
_Rs1();
var _KG3 = new _tp1();
_KG3._Pb1(__u1);
if (_F01) {
_CM1(0, 0, _b21.right, _b21.bottom, 0);
}
_WN1 = 1;
_XN1 = 1;
this._HG3();
this._oF3();
var _3b1;
if (!this._4b1) {
_3b1 = _5b1;
_BM1(0, 0, _WQ1, _XQ1);
if (_F01) {
_CM1(0, 0, _D01._Vz1, _D01._Xz1, 0);
} else {
_DM1(0, 0, _D01._Vz1, _D01._Xz1, 0);
}
} else {
_3b1 = this._6b1;
if (this._iE3) {
_BM1(0, 0, _WQ1, _XQ1);
_DM1(0, 0, _WQ1, _XQ1, 0);
_in3(_FN1);
}
}
var _LG3 = _YQ1._Z9 / _WQ1;
var _MG3 = _YQ1.__9 / _XQ1;
var _vL2 = _WN1;
var _wL2 = _XN1;
_Eb3 = 0;
for (var _X9 = 0; _X9 < _3b1.length; _X9++) {
_yb3 = _3b1[_X9];
if (_yb3._4a) {
var _NG3 = _OG3;
_Rs1();
{
if (_yb3._lF3 != -1) {
_fM1(_yb3._lF3);
}
_yb3._ab1 = _yb3._hF3 * _vL2 * _LG3 + _YQ1.x;
_yb3._cb1 = _yb3._iF3 * _wL2 * _MG3 + _YQ1.y;
_yb3._DG3 = _yb3._jF3 * _vL2 * _LG3;
_yb3._EG3 = _yb3._kF3 * _wL2 * _MG3;
_yb3._bb1 = _yb3._ab1 + _yb3._DG3;
_yb3._db1 = _yb3._cb1 + _yb3._EG3;
_yb3._FG3 = _yb3._DG3 / _yb3._pM1;
_yb3._GG3 = _yb3._EG3 / _yb3._rM1;
if (_yb3._lF3 != -1) {
_BM1(0, 0, _aM1(_yb3._lF3), _bM1(_yb3._lF3));
} else {
_BM1(_yb3._hF3 * _vL2, _yb3._iF3 * _wL2, _yb3._jF3 * _vL2, _yb3._kF3 * _wL2);
}
if (_F01) {
_zY2._3Y2(_yb3._RZ2);
var _AX2 = _zY2._2Y2();
if (_AX2 != null) {
_AX2._z81();
_AX2._8Y2();
}
} else _DM1(_yb3._lM1, _yb3._nM1, _yb3._pM1, _yb3._rM1, _yb3.angle);
if (!_F01) {
if (Math.abs(_yb3.angle) < 0.001) {
_b21.left = _yb3._lM1;
_b21.top = _yb3._nM1;
_b21.right = _yb3._lM1 + _yb3._pM1;
_b21.bottom = _yb3._nM1 + _yb3._rM1;
} else {
var _0v1 = _yb3.angle * (_g21 / 180);
var _Wo1 = Math.abs(Math.sin(_0v1));
var _Y9 = Math.abs(Math.cos(_0v1));
var _dc1 = _Y9 * _yb3._pM1 + _Wo1 * _yb3._rM1;
var _1v1 = _Wo1 * _yb3._pM1 + _Y9 * _yb3._rM1;
_b21.left = _yb3._lM1 + (_yb3._pM1 - _dc1) / 2;
_b21.right = _yb3._lM1 + (_yb3._pM1 + _dc1) / 2;
_b21.top = _yb3._nM1 + (_yb3._rM1 - _1v1) / 2;
_b21.bottom = _yb3._nM1 + (_yb3._rM1 + _1v1) / 2;
}
_rn._ol3 = _Eb3;
this._wG3(_b21);
} else {
_rn._ol3 = _Eb3;
this._wG3(__u1);
}
if (_yb3._lF3 != -1) {
_FM1();
}
_Eb3++;
if (_F01) {
var _AX2 = _zY2._2Y2();
if (_AX2 != null) {
_AX2._B81();
}
_zY2._3Y2(-1);
}
}
_Ys1();
}
}
__u1._Pb1(_KG3);
_Ys1();
};
_ue3.prototype._PG3 = function (_b21) {
if (_QG3 && _VQ1) {
_Rs1({ _RG3: true, _SG3: true });
_b21.left = 0;
_b21.top = 0;
_b21.right = _zs1();
_b21.bottom = _ws1();
var rect = _YQ1;
var _Mo2 = _131;
var _TG3 = _Mo2 && _Vh1();
if (_Mo2) _bh1(false);
_BM1(0, 0, _b21.right, _b21.bottom);
_DM1(0, 0, _b21.right, _b21.bottom, 0);
_VM1(_WL1, rect.x, rect.y, rect._Z9, rect.__9);
if (_Mo2) _bh1(_TG3);
_Ys1({ _UG3: true, _VG3: true });
}
};
_ue3.prototype._WG3 = function (_b21) {
_b21.left = 0;
_b21.top = 0;
_b21.right = _zs1();
_b21.bottom = _ws1();
_yb3 = _Fb3;
_yb3._ab1 = 0;
_yb3._cb1 = 0;
_yb3._DG3 = _b21.right;
_yb3._EG3 = _b21.bottom;
_yb3._bb1 = _b21.right;
_yb3._db1 = _b21.bottom;
_yb3._FG3 = 1.0;
_yb3._GG3 = 1.0;
_Rs1();
{
_BM1(0, 0, _b21.right, _b21.bottom);
_DM1(0, 0, _b21.right, _b21.bottom, 0);
this._xG3(_b21, _H23);
}
_Ys1();
};
_ue3.prototype._7a = function (_b21) {
var _XG3 = _WN1;
var _YG3 = _XN1;
var _xs1 = _ys1;
var _us1 = _vs1;
if (_xs1 < 0) _xs1 = _zs1();
if (_us1 < 0) _us1 = _ws1();
_Rs1({ _RG3: true });
{
_b21.left = 0;
_b21.top = 0;
_b21.right = _zs1();
_b21.bottom = _ws1();
_WN1 = _b21.right / _xs1;
_XN1 = _b21.bottom / _us1;
_yb3 = _Fb3;
_yb3._ab1 = 0;
_yb3._cb1 = 0;
_yb3._DG3 = _b21.right;
_yb3._EG3 = _b21.bottom;
_yb3._bb1 = _b21.right;
_yb3._db1 = _b21.bottom;
_yb3._FG3 = _WN1;
_yb3._GG3 = _XN1;
_Fs1 = true;
_BM1(0, 0, _b21.right, _b21.bottom);
_Gs1();
var _KG3 = new _tp1();
_KG3._Pb1(__u1);
__u1.left = 0;
__u1.top = 0;
__u1.right = _xs1;
__u1.bottom = _us1;
this._xG3(_b21, _E23);
this._xG3(_b21, _A23);
this._xG3(_b21, _F23);
_Fs1 = false;
__u1._Pb1(_KG3);
}
_Ys1({ _UG3: true });
_WN1 = _XG3;
_XN1 = _YG3;
};
_ue3.prototype._ZG3 = function (_b21) {
if (_ic3 >= 0) {
_Rs1();
_BM1(0, 0, _b21.right, _b21.bottom);
_DM1(0, 0, _b21.right, _b21.bottom, 0);
this._yG3();
_Ys1();
}
};
_ue3.prototype._O31 = function () {
_Rs1();
_Us1 = 0;
_Vs1 = 0;
_Ws1 = canvas.width;
_Xs1 = canvas.height;
var _b21 = new _tp1();
if (this._4b1) {
_b21.left = 0;
_b21.top = 0;
_b21.right = _zs1();
_b21.bottom = _ws1();
} else {
_b21._Pb1(__u1);
}
this._CG3(_b21);
this._JG3(_b21);
if (_VQ1) {
_FM1();
}
if (_TL1.length != 0) {
_Rb1("Unbalanced surface stack. You MUST use surface_reset_target() for each set.");
return;
}
this._WG3(_b21);
this._PG3(_b21);
this._7a(_b21);
this._ZG3(_b21);
_Ys1();
};
function _Gs1() {
var _xs1 = _ys1;
var _us1 = _vs1;
if (_xs1 < 0) _xs1 = _MN1;
if (_us1 < 0) _us1 = _NN1;
var _vL2 = 1;
var _wL2 = 1;
var _hM2 = 0;
var _iM2 = 0;
if (_As1) {
_vL2 = _Ds1;
_wL2 = _Es1;
_hM2 = _Bs1;
_iM2 = _Cs1;
_mn3(_vL2, _wL2, _hM2, _iM2);
} else {
_hM2 = _YQ1.x;
_iM2 = _YQ1.y;
if (_ys1 > 0) {
_vL2 = _YQ1._Z9 / _xs1;
}
if (_vs1 > 0) {
_wL2 = _YQ1.__9 / _us1;
}
_mn3(_vL2, _wL2, _hM2, _iM2);
}
_2v1();
}
_ue3.prototype.__G3 = function () {
var _0H3 = [];
var _Zv1 = _iy1._9s3._xc1;
for (var _X9 = 0; _X9 < _Zv1.length; _X9++) {
var _Yv1 = _Zv1[_X9];
if (_Yv1._bl) {
_0H3[_0H3.length] = _Yv1;
}
}
for (var _X9 = 0; _X9 < _0H3.length; _X9++) {
var _Yv1 = _0H3[_X9];
this._5F3(_Yv1);
}
};
_ue3.prototype._5F3 = function (_Yv1) {
if (this._uF1 && _Yv1._ME2) {
this._uF1._m62(_Yv1._ME2);
}
_az1._iz1(this, _Yv1);
_iy1._cs3(_Yv1);
this._8w1._qz1(_Yv1);
this._mE3._ey1(_Yv1);
_Yv1._fw1._iz1(_Yv1);
};
_ue3.prototype._1H3 = function (_8r1) {
if (_8r1._cl) {
this._8w1._qz1(_8r1);
_8r1._fw1._iz1(_8r1);
this._mE3._Da1(_8r1);
_8r1._cl = false;
}
};
_ue3.prototype._7E3 = function (_Ub1) {
var _1E3 = this._oE3[_Ub1];
if (_1E3) {
this._pE3._7E3(_1E3);
this._oE3[_Ub1] = undefined;
this._nE3--;
}
};
_ue3.prototype._2H3 = function () {
if (this._Xp3.length == 0) return;
var _oc1 = this._Xp3;
var _cl = this._8w1;
var _3H3;
var _4H3;
if (_cl._xA3 < 0) {
_4H3 = _cl._xc1.length;
} else {
_4H3 = _cl._xA3;
}
var _d31 = 0;
for (var _X9 = 0; _X9 < _oc1.length; _X9++) {
var _Yv1 = _oc1[_X9];
for (var _i21 = 0; _i21 < _4H3; _i21++) {
if (_Yv1 == _cl._xc1[_i21]) {
_cl._xc1.splice(_i21, 1);
_cl._xc1[_cl._xc1.length] = _Yv1;
_d31 += 1;
_4H3 -= 1;
break;
}
}
if (_F01) {
var _Ay1 = _D01;
if (_Ay1 != null) {
var _Yz1 = _az1._fz1(_Ay1, _Yv1._Ey1);
if (_Yz1 != null) {
if (floor(_Yz1._Xf) != floor(_Yv1._Xf)) {
if (_Yz1._fx1 && _Yz1._lx1.length == 1) {
_az1._rz1(_Ay1, _Yz1, _Yv1._Xf, true);
} else {
_az1._jz1(_Ay1, _Yz1, _Yv1);
_az1._cz1(_Ay1, _Yv1);
}
}
}
}
}
}
if (_d31 > 0) {
if (_cl._xA3 < 0) {
_cl._xA3 = _cl._xc1.length - _d31;
} else {
_cl._xA3 -= _d31;
}
}
this._Xp3 = [];
};
_ue3.prototype._5H3 = function () {
if (_F01) {
var _Bc1 = this._2D3.length;
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _6H3 = this._2D3[_X9];
var _RC3 = _6H3._3D3;
var type = _6H3.type;
var id = _RC3.id;
if (type == 0) {
_az1._vy1(_D01, _RC3._QB3, true);
var _0D3 = new _Ox1();
_0D3._Px1 = id;
_0D3._QB3 = _az1._Sy1(_D01, _RC3._Xf, _0D3, true, true);
}
}
}
if (this._2D3.length != 0) this._2D3 = [];
};
function _dd3() {
this._7H3 = [];
this._Ae3 = [];
}
_dd3.prototype._ve3 = function (_Iq2) {
this._Ae3 = _Iq2;
};
_dd3.prototype._Da1 = function (_8H3) {
return (this._7H3[this._7H3.length] = _8H3);
};
_dd3.prototype._s11 = function (_9H3) {
if (_9H3 < 0 || _9H3 >= this._7H3.length) return null;
return this._7H3[_9H3];
};
_dd3.prototype._we3 = function (_9H3) {
return this._7H3[this._Ae3[_9H3]];
};
_dd3.prototype._qz1 = function (_9H3) {
this._7H3[_9H3] = null;
};
_dd3.prototype._aH3 = function () {
_zY2._BX2();
_md3();
for (var _bH3 in this._7H3) {
if (!this._7H3.hasOwnProperty(_bH3)) continue;
var _Ay1 = this._7H3[_bH3];
for (var _X9 = 0; _X9 < 8; _X9++) {
var _cH3 = _Ay1._lx2(_X9);
if (_cH3) {
_cH3._RZ2 = -1;
}
}
var _dH3 = _Ay1._SF1;
if (_dH3) {
for (var _X9 = 0; _X9 < 8; _X9++) {
var _Yk1 = _dH3._Nf[_X9];
if (_Yk1) {
if (_Yk1._RZ2 !== undefined) {
delete _dH3._Nf[_X9]._RZ2;
}
} else {
var _e21 = 0;
}
}
}
}
_zY2._wX2();
};
var _wI1 = [];
/*@constructor */ function _eH3() {
this.__type = "[sound]";
this._d2 = "";
this._e2 = 0;
this._f2 = "";
this._g2 = "";
this._h2 = 0;
this.volume = 1;
this._i2 = 0;
this.preload = true;
this._fH3 = 1.0;
this._gH3 = 0;
this._hH3 = [];
}
_eH3.prototype._iH3 = function (_Jh3) {
this._d2 = _Jh3._d2;
this._e2 = _Jh3._e2;
this._f2 = _Jh3._f2;
this._g2 = _Jh3._g2;
this._h2 = _Jh3._h2;
this.volume = _Jh3.volume;
this._i2 = _Jh3._i2;
this.preload = _Jh3.preload;
this._fH3 = this.volume;
this._7K1(this._d2);
};
_eH3.prototype._7K1 = function (_ud3) {
this._gH3 = 0;
this._hH3 = [];
var _jH3 = _wI1[this._d2];
if (_jH3) {
if (_Va3 > 1 && typeof _jH3.cloneNode === "function") {
for (var _X9 = 0; _X9 < _Va3; _X9++) this._hH3[_X9] = _jH3.cloneNode(true);
} else {
_Va3 = 1;
this._hH3[0] = _jH3;
}
}
};
var _kH3 = !1;
function _Zd3(_kv1, _Ub1, _JJ1, _ev1, _ZT2) {
_kv1 = _5I1(_kv1);
if (_TJ1 == false) {
return undefined;
}
var _lH3 = false;
var _d2 = _kv1;
var _6I1;
var index;
index = _kv1.indexOf(_JJ1);
if (index > 0) {
_kv1 = _kv1.substr(0, index);
}
if (_7I1) {
_JJ1 = "ogg";
} else if (_8I1) {
_JJ1 = "mp3";
} else {
_JJ1 = "ogg";
}
_lH3 = true;
if (_lH3) {
_kv1 = _kv1 + "." + _JJ1;
try {
var _mH3 = new Audio();
_mH3.URL = _kv1;
_mH3._fH3 = 1.0;
_mH3.autobuffer = true;
if (typeof _mH3.loop == "boolean") _mH3.loop = false;
_mH3.preload = "auto";
_mH3._Ad3 = false;
_mH3._nH3 = false;
var _rc1 = document.createElement("source");
_rc1.setAttribute("src", _kv1);
if (_JJ1 == "ogg") {
_rc1.setAttribute("type", "audio/ogg");
_rc1.setAttribute("codecs", "vorbis");
} else {
_rc1.setAttribute("type", "audio/mpeg");
}
_mH3.setAttribute("networkState", 0);
_mH3.insertBefore(_rc1, null);
document.body.appendChild(_mH3);
_wI1[_d2] = _mH3;
_mH3.addEventListener("canplaythrough", _ev1, false);
_mH3.addEventListener("error", _ZT2, false);
_mH3.addEventListener("loadstart", _xd3, false);
_mH3.addEventListener("suspend", _yd3, false);
_mH3.addEventListener("stalled", _zd3, false);
_mH3.addEventListener("stall", _zd3, false);
_mH3.load();
} catch (e) {
if (_Cv1 == _i13 && _kH3 == false) {
var _oH3 = navigator;
_kH3 = true;
var _pH3 = _oH3.userAgent.indexOf("Windows");
if (_pH3 != -1) {
alert("Audio Error: Please ensure that quicktime is installed");
}
}
}
}
return _Ub1;
}
/*@constructor */ function _hd3() {
this._c2 = [];
this.length = 0;
}
_hd3.prototype._qz1 = function (_G31) {
if (this._c2[_G31]) {
this._qH3(_G31);
this._c2[_G31] = undefined;
}
};
/*@this {yySound} */ function _rH3() {
this._nH3 = false;
}
_hd3.prototype._sH3 = function (_G31) {
try {
var _tH3 = this._c2[_G31];
if (!_tH3) return null;
var _uH3 = _tH3._hH3[this._c2[_G31]._gH3];
this._c2[_G31]._gH3++;
if (this._c2[_G31]._gH3 >= _Va3) {
this._c2[_G31]._gH3 = 0;
}
return _uH3;
} catch (e) {
debug("Sound buffer unavailable for sound: " + _G31);
}
return null;
};
_hd3.prototype._qH3 = function (_l81) {
{
var _vH3 = this._c2[_l81];
if (!_vH3) return;
_vH3 = _vH3._hH3;
for (var _X9 = 0; _X9 < _vH3.length; _X9++) {
var _tH3 = _vH3[_X9];
if (_tH3 != null) {
try {
_tH3.pause();
_tH3._nH3 = false;
} catch (_dc1) {
if (_FJ1) debug("Error stopping sound: " + this._c2[_l81]._d2);
}
}
}
}
};
/*@this {yySound} */ function _wH3() {
try {
this.currentTime = 0;
} catch (_dc1) {
if (_FJ1) debug("Error in Repeat_Sound_Callback: " + _dc1.message);
}
this.play();
}
_hd3.prototype._s11 = function (_G31) {
if (_G31 < 0 || _G31 >= this._c2.length) return null;
return this._c2[_G31];
};
_hd3.prototype._Ua1 = function () {
this._c2 = [];
this._c2.length = 0;
};
_hd3.prototype._Da1 = function (_Jh3) {
var _Zd1 = null;
if (_Jh3 != null) {
_Zd1 = new _eH3();
_Zd1._iH3(_Jh3);
}
this._c2[this._c2.length] = _Zd1;
};
var _8x1 = 0,
_H01 = 1;
var _xH3 = 2147483647;
/*@constructor */ function _tp1() {
this.left = 0;
this.top = 0;
this.right = 0;
this.bottom = 0;
}
_tp1.prototype._Pb1 = function (__K1) {
this.left = __K1.left;
this.right = __K1.right;
this.top = __K1.top;
this.bottom = __K1.bottom;
};
/*@constructor */ function _EK1() {
this.__type = "[sprite]";
this._d2 = "sprite";
this.width = 16;
this.height = 16;
this._tC1 = new _tp1();
this._n2 = true;
this._o2 = true;
this.preload = true;
this._HK1 = 0;
this._IK1 = false;
this._Hq3 = false;
this._v2 = 0;
this._w2 = 0;
this._JK1 = false;
this._721 = 0;
this._TK1 = 8;
this._KK1 = false;
this._LK1 = false;
this._821 = [];
this._yH3 = [];
this._yK1 = [];
this._MK1 = [];
this._G01 = _8x1;
this._s2 = 30;
this._zH3 = false;
}
_EK1.prototype._Gq3 = function () {
return this._IK1;
};
_EK1.prototype._9G2 = function () {
return this._721;
};
_EK1.prototype._NK1 = function () {
var _AH3 = this._w2 * this._w2;
var _BH3 = this._v2 * this._v2;
var _CH3 = (this.width - this._v2) * (this.width - this._v2);
var _DH3 = (this.height - this._w2) * (this.height - this._w2);
var _EH3 = ~~ceil(sqrt(_BH3 + _AH3));
var _FH3 = ~~ceil(sqrt(_CH3 + _AH3));
var _GH3 = ~~ceil(sqrt(_BH3 + _DH3));
var _HH3 = ~~ceil(sqrt(_CH3 + _DH3));
this._TK1 = _a21(_EH3, _a21(_FH3, _a21(_GH3, _HH3)));
};
_EK1.prototype._IH3 = function (_JH3, _DF1, _EF1) {
try {
if (_r11._KH3 !== undefined) {
var _LH3 = true;
var byteOffset = 0;
var _MH3 = _r11._KH3[_JH3];
var _9s2 = new DataView(_MH3);
if (_9s2 !== undefined) {
var _NH3 = _9s2.getInt32(byteOffset, _LH3);
var _OH3 = 1 << 31;
if ((_NH3 & _OH3) != 0) {
_NH3 &= ~_OH3;
byteOffset += 4;
}
byteOffset += 4;
var _PH3 = null;
if (_NH3 > 0) {
_PH3 = new Uint8Array(_MH3, byteOffset, _NH3);
byteOffset += (_NH3 + 3) & ~3;
}
var _QH3 = _9s2.getUint32(byteOffset, _LH3);
byteOffset += 4;
this._RH3 = [];
for (var _X9 = 0; _X9 < _QH3; _X9++) {
var type = _9s2.getInt32(byteOffset, _LH3);
byteOffset += 4;
var id = _9s2.getInt32(byteOffset, _LH3);
byteOffset += 4;
var _SH3 = null;
if (type === _4U2) {
_SH3 = new _dU2(type, id);
byteOffset = _SH3._eU2(_9s2, byteOffset, _LH3, this._RH3);
} else if (type === _5U2) {
_SH3 = new _LT2(type, id);
byteOffset = _SH3._NT2(_MH3, _9s2, byteOffset, _LH3, _PH3);
} else {
_SH3 = { type: _3U2, id: id };
}
this._RH3.push(_SH3);
}
this._Wp3 = new _aV2();
byteOffset = this._Wp3._eV2(_9s2, byteOffset, _LH3);
if (this._Wp3._dV2._fV2 > 0) {
byteOffset = this._TH3(_9s2, byteOffset, _LH3);
if (!this._zH3) {
this._IK1 = true;
}
} else {
this.width = this._Wp3._L11;
this.height = this._Wp3._N11;
if (!this._zH3) {
this._IK1 = false;
}
}
if (!this._zH3) {
this._HK1 = 0;
this.preload = true;
}
if (!this._zH3 && !this._IK1) {
this._tC1.left = this._Wp3._K11;
this._tC1.right = this._Wp3._L11;
this._tC1.top = this._Wp3._M11;
this._tC1.bottom = this._Wp3._N11;
this._v2 = _DF1;
this._w2 = _EF1;
}
this._NK1();
this._UH3();
}
}
} catch (e) {
debug("Cannot build SWF data " + e.message);
}
};
_EK1.prototype._TH3 = function (_OT2, _PT2, _QT2) {
if (true != this._IK1) {
return;
}
this._821 = [];
this.width = this._Wp3._dV2._gV2;
this.height = this._Wp3._dV2._hV2;
var _fV2 = this._Wp3._dV2._fV2;
for (var _X9 = 0; _X9 < _fV2; _X9++) {
var _VH3 = _OT2.getInt32(_PT2, _QT2);
_PT2 += 4;
var _WH3 = _PT2;
var _XH3 = 0;
var _Xu2 = [];
for (var _i21 = 0; _i21 < _VH3; _i21++) {
var _YH3 = _OT2.getUint8(_PT2, _QT2);
_PT2 += 1;
var _ZH3 = (_YH3 & 0x80) != 0 ? true : false;
var __H3 = (_YH3 & 0x7f) + 1;
for (var _Sc1 = 0; _Sc1 < __H3; _Sc1++) {
_Xu2[_XH3++] = _ZH3;
}
}
var _0I3 = new Uint8Array(_Xu2.length);
for (var _X9 = 0; _X9 < _Xu2.length; ++_X9) _0I3[_X9] = _Xu2[_X9];
this._821[_X9] = _0I3;
_PT2 = _WH3 + ((_VH3 + 3) & ~3);
}
this._KK1 = true;
return _PT2;
};
_EK1.prototype._UH3 = function () {
this._O31 = function (_911, _a11, _b11, _Dm1, _Em1, _e11, _M71, _f41) {
_pn3(this._RH3, this._Wp3, _911, this._v2, this._w2, _a11, _b11, _Dm1, _Em1, _e11, _M71, _f41, this._yK1);
};
this._aN1 = function (_1I3, _a11, _b11, _f41) {
_pn3(this._RH3, this._Wp3, _1I3, this._v2, this._w2, _a11, _b11, 1.0, 1.0, 0.0, 0xffffffff, _f41, this._yK1);
};
};
_EK1.prototype._2I3 = function (_3I3) {
if (_3I3 >= 0) {
if (_r11._uP2 !== undefined) {
var _0K2 = _r11._uP2[_3I3];
this._Ke3 = new _W21();
this._Ke3._h31(this._d2, _0K2._0d1, _0K2._TK2, _0K2._n31, _0K2._o31);
}
this._O31 = function (_911, _a11, _b11, _Dm1, _Em1, _e11, _M71, _f41) {
this._Ke3._O31(_911, _a11, _b11, _Dm1, _Em1, _e11, _M71, _f41);
};
this._aN1 = function (_911, _a11, _b11, _f41) {
this._Ke3._O31(_911, _a11, _b11, 1, 1, 0, 0xffffff, _f41);
};
this._721 = _xH3;
}
};
function _4I3(_5I3, _dv2) {
if (_5I3._MK1[_dv2] != null) {
var _Z11 = [];
var src = 0;
var _051 = 0;
var _Ce1;
while (src < _5I3._MK1[_dv2].length) {
var _6I3 = _5I3._MK1[_dv2][src++];
if (_6I3 & 0x80) {
_6I3 = (_6I3 & 0x7f) + 1;
_Ce1 = _5I3._MK1[_dv2][src++];
for (var _J41 = 0; _J41 < _6I3; _J41++) {
_Z11[_051++] = _Ce1;
}
} else {
_6I3++;
for (var _J41 = 0; _J41 < _6I3; _J41++) {
_Z11[_051++] = _5I3._MK1[_dv2][src++];
}
}
}
}
_5I3._MK1[_dv2] = _Z11;
}
function _oe3(_7I3) {
var _ne3 = new _EK1();
if (_7I3._d2 !== undefined) _ne3._d2 = _7I3._d2;
if (_7I3.width !== undefined) _ne3.width = _7I3.width;
if (_7I3.height !== undefined) _ne3.height = _7I3.height;
if (_7I3._x2 !== undefined) _ne3._tC1.left = _7I3._x2;
if (_7I3._q2 !== undefined) _ne3._tC1.right = _7I3._q2;
if (_7I3._y2 !== undefined) _ne3._tC1.top = _7I3._y2;
if (_7I3._r2 !== undefined) _ne3._tC1.bottom = _7I3._r2;
if (_7I3._n2 !== undefined) _ne3._n2 = _7I3._n2;
if (_7I3._o2 !== undefined) _ne3._o2 = _7I3._o2;
if (_7I3.preload !== undefined) _ne3.preload = _7I3.preload;
if (_7I3._u2 !== undefined) _ne3._HK1 = _7I3._u2;
if (_7I3._p2 !== undefined) _ne3._IK1 = _7I3._p2 == 1;
if (_7I3._p2 !== undefined) _ne3._Hq3 = _7I3._p2 == 2;
if (_7I3._v2 !== undefined) _ne3._v2 = _7I3._v2;
if (_7I3._w2 !== undefined) _ne3._w2 = _7I3._w2;
if (_7I3._G01 !== undefined) _ne3._G01 = _7I3._G01;
if (_7I3._s2 !== undefined) _ne3._s2 = _7I3._s2;
_ne3._MK1 = null;
if (_7I3._8I3 !== undefined) {
_ne3._zH3 = true;
_ne3._IH3(_7I3._8I3, _ne3._v2, _ne3._w2);
}
if (_7I3._9I3 !== undefined) {
_ne3._2I3(_7I3._9I3);
}
if (_7I3._MK1 !== undefined) _ne3._MK1 = _7I3._MK1;
_ne3._yK1 = [];
for (var _X9 = _7I3._t2.length - 1; _X9 >= 0; _X9--) {
_ne3._yK1[_X9] = _7I3._t2[_X9];
}
if (_ne3._721 == 0) {
_ne3._721 = _ne3._yK1.length;
}
_ne3._NK1();
for (var _X9 = 0; _X9 < _ne3._yK1.length; _X9++) {
_ne3._yK1[_X9] = _Kh3(_ne3._yK1[_X9]);
if (_ne3._yK1[_X9] != null) {
if (_ne3._yK1[_X9]._bk == 0) _ne3._yK1[_X9]._bk = 1;
if (_ne3._yK1[_X9]._ck == 0) _ne3._yK1[_X9]._ck = 1;
}
}
if (_ne3._MK1) {
for (var _X9 = 0; _X9 < _7I3._MK1.length; _X9++) {
if (!_7I3._aI3) _4I3(_ne3, _X9);
_ne3._KK1 = true;
var size = _ne3.width * _ne3.height;
var _Xu2 = new Uint8Array(size);
var _bI3 = (_ne3.width + 7) >> 3;
var _Jr3 = 0;
for (var y = 0; y < _ne3.height; ++y, _Jr3 += _bI3) {
var _Z11 = 0x80;
var _cI3 = _Jr3;
for (var x = 0; x < _ne3.width; ++x, _Z11 >>= 1) {
if (_Z11 == 0) {
_Z11 = 0x80;
++_cI3;
}
_Xu2[x + y * _ne3.width] = (_ne3._MK1[_X9][_cI3] & _Z11) != 0;
}
}
_ne3._821[_X9] = _Xu2;
}
}
_7I3._aI3 = true;
return _ne3;
}
_EK1.prototype._aN1 = function (_1I3, _a11, _b11, _f41) {
if (this._721 <= 0) return;
if (_3v1) {
_4v1();
}
var _TK1 = this._TK1;
if ((_7v1.top - _b11 <= _TK1 && _b11 - _7v1.bottom <= _TK1 && _7v1.left - _a11 <= _TK1 && _a11 - _7v1.right <= _TK1) || (_F01 && _zY2._2Y2() != null && _zY2._2Y2()._6X2 == false)) {
_1I3 = ~~_1I3 % this._721;
if (_1I3 < 0) _1I3 = _1I3 + this._721;
if (!this._yK1) return;
var _be1 = this._yK1[_1I3];
if (!_be1) return;
if (_be1._Z9 == _be1._bk && _be1.__9 == _be1._ck) {
_hn3(_be1, _a11 - this._v2, _b11 - this._w2, _f41);
} else {
var _L31 = 0xffffffff;
_nn3(_be1, 0, 0, _a11 - this._v2, _b11 - this._w2, 1, 1, 0, _L31, _L31, _L31, _L31, 1);
}
}
};
_EK1.prototype._O31 = function (_911, _a11, _b11, _Dm1, _Em1, _e11, _M71, _f41) {
if (this._721 <= 0) return;
if (_3v1) {
_4v1();
}
if (!this._yK1) return;
var _dI3 = abs(this._TK1 * _Dm1);
var _eI3 = abs(this._TK1 * _Em1);
var _TK1;
if (_dI3 > _eI3) {
_TK1 = _dI3;
} else {
_TK1 = _eI3;
}
if ((_7v1.top - _b11 <= _TK1 && _b11 - _7v1.bottom <= _TK1 && _7v1.left - _a11 <= _TK1 && _a11 - _7v1.right <= _TK1) || (_F01 && _zY2._2Y2() != null && _zY2._2Y2()._6X2 == false)) {
_911 = ~~_911 % this._721;
if (_911 < 0) _911 += this._721;
_e11 = _Ic3(_e11, 360.0);
_nn3(this._yK1[_911], this._v2, this._w2, _a11, _b11, _Dm1, _Em1, (_e11 * Math.PI) / 180.0, _M71, undefined, undefined, undefined, _f41);
}
};
_EK1.prototype._Wq3 = function (_fI3, _gI3, _t21, _u21, _c11, _d11, _e11, _a11, _b11) {
var _j21, _l21;
if (!this._KK1) return true;
if (this._721 <= 0) return false;
_fI3 = _fI3 % this._821.length;
if (_fI3 < 0) _fI3 = _fI3 + this._821.length;
_t21 -= 0.5;
_u21 -= 0.5;
if (Math.abs(_e11) < 0.0001) {
_j21 = Math.floor((_a11 - _t21) / _c11 + this._v2);
_l21 = Math.floor((_b11 - _u21) / _d11 + this._w2);
} else {
var _E21 = Math.sin((-_e11 * Math.PI) / 180.0);
var _F21 = Math.cos((-_e11 * Math.PI) / 180.0);
_j21 = Math.floor((_F21 * (_a11 - _t21) + _E21 * (_b11 - _u21)) / _c11 + this._v2);
_l21 = Math.floor((_F21 * (_b11 - _u21) - _E21 * (_a11 - _t21)) / _d11 + this._w2);
}
if (_j21 < 0 || _j21 >= this.width) return false;
if (_l21 < 0 || _l21 >= this.height) return false;
return this._821[_fI3][_j21 + _l21 * this.width];
};
_EK1.prototype._Zq3 = function (_fI3, _gI3, _t21, _u21, _c11, _d11, _e11, _y21) {
if (!this._KK1) return true;
if (this._721 <= 0) return false;
_fI3 = _fI3 % this._821.length;
if (_fI3 < 0) {
_fI3 = _fI3 + this._821.length;
}
var _921 = _a21(_gI3.left, _y21.left);
var _b21 = _c21(_gI3.right, _y21.right);
var _d21 = _a21(_gI3.top, _y21.top);
var _e21 = _c21(_gI3.bottom, _y21.bottom);
_t21 -= 0.5;
_u21 -= 0.5;
if (_c11 == 1 && _d11 == 1 && Math.abs(_e11) < 0.0001) {
for (var _X9 = _921; _X9 <= _b21; _X9++) {
for (var _i21 = _d21; _i21 <= _e21; _i21++) {
var _j21 = ~~(_X9 - _t21 + this._v2);
var _l21 = ~~(_i21 - _u21 + this._w2);
if (_j21 < 0 || _j21 >= this.width) continue;
if (_l21 < 0 || _l21 >= this.height) continue;
if (this._821[_fI3][_j21 + _l21 * this.width] == true) return true;
}
}
} else {
var _E21 = Math.sin((-_e11 * _g21) / 180.0);
var _F21 = Math.cos((-_e11 * _g21) / 180.0);
var _hI3 = 1.0 / _c11;
var _iI3 = 1.0 / _d11;
for (var _X9 = _921; _X9 <= _b21; _X9++) {
for (var _i21 = _d21; _i21 <= _e21; _i21++) {
var _j21 = Math.floor((_F21 * (_X9 - _t21) + _E21 * (_i21 - _u21)) * _hI3 + this._v2);
var _l21 = Math.floor((_F21 * (_i21 - _u21) - _E21 * (_X9 - _t21)) * _iI3 + this._w2);
if (_j21 < 0 || _j21 >= this.width) continue;
if (_l21 < 0 || _l21 >= this.height) continue;
if (this._821[_fI3][_j21 + _l21 * this.width]) return true;
}
}
}
return false;
};
_EK1.prototype._jI3 = function (_fI3, _gI3, _t21, _u21, _c11, _d11, _e11, _y21) {
var _X9, _i21;
if (!this._KK1) return true;
if (this._721 <= 0) return false;
_fI3 = _fI3 % this._821.length;
if (_fI3 < 0) _fI3 = _fI3 + this._821.length;
var _921 = _a21(_gI3.left, _y21.left);
var _b21 = _c21(_gI3.right, _y21.right);
var _d21 = _a21(_gI3.top, _y21.top);
var _e21 = _c21(_gI3.bottom, _y21.bottom);
var _z21 = (_y21.right + _y21.left) / 2;
var _A21 = (_y21.bottom + _y21.top) / 2;
var _B21 = 1.0 / ((_y21.right - _y21.left) / 2);
var _C21 = 1.0 / ((_y21.bottom - _y21.top) / 2);
var _kI3 = this._821[_fI3];
var _0H3;
if (_c11 == 1 && _d11 == 1 && Math.abs(_e11) < 0.0001) {
for (_X9 = _921; _X9 <= _b21; _X9++) {
_0H3 = (_X9 - _z21) * _B21;
var _lI3 = _0H3 * _0H3;
var _j21 = _X9 - _t21 + this._v2;
if (_j21 < 0 || _j21 >= this.width) continue;
for (_i21 = _d21; _i21 <= _e21; _i21++) {
_0H3 = (_i21 - _A21) * _C21;
if (_lI3 + _0H3 * _0H3 > 1) continue;
var _l21 = _i21 - _u21 + this._w2;
if (_l21 < 0 || _l21 >= this.height) continue;
if (_kI3[_j21 + _l21 * this.width]) return true;
}
}
} else {
var _E21 = Math.sin((-_e11 * Math.PI) / 180.0);
var _F21 = Math.cos((-_e11 * Math.PI) / 180.0);
var _hI3 = 1.0 / _c11;
var _iI3 = 1.0 / _d11;
for (_X9 = _921; _X9 <= _b21; _X9++) {
var _mI3 = _X9 - _t21;
var _nI3 = _F21 * _mI3;
var _oI3 = _E21 * _mI3;
var _0H3 = (_X9 - _z21) * _B21;
var _pI3 = _0H3 * _0H3;
for (_i21 = _d21; _i21 <= _e21; _i21++) {
var _qI3 = (_i21 - _A21) * _C21;
if (_pI3 + _qI3 * _qI3 > 1) continue;
var _rI3 = _i21 - _u21;
var _j21 = ~~((_nI3 + _E21 * _rI3) * _hI3 + this._v2);
if (_j21 < 0 || _j21 >= this.width) continue;
var _l21 = ~~((_F21 * _rI3 - _oI3) * _iI3 + this._w2);
if (_l21 < 0 || _l21 >= this.height) continue;
if (_kI3[_j21 + _l21 * this.width]) return true;
}
}
}
return false;
};
_EK1.prototype._yr3 = function (_fI3, _gI3, _t21, _u21, _sI3, _tI3, _uI3, _vI3, _wI3, _621, _R11, _S11, _T11, _U11, _V11) {
if (_vI3 == null) return false;
if (this._721 <= 0) return false;
if (_vI3._721 <= 0) return false;
if (this._821.length > 0) _fI3 = _fI3 % this._821.length;
if (_fI3 < 0) {
_fI3 = _fI3 + this._821.length;
}
if (_vI3._821.length > 0) _wI3 = _wI3 % _vI3._821.length;
if (_wI3 < 0) {
_wI3 = _wI3 + _vI3._821.length;
}
_sI3 = 1.0 / _sI3;
_tI3 = 1.0 / _tI3;
_T11 = 1.0 / _T11;
_U11 = 1.0 / _U11;
var _921 = _a21(_gI3.left, _621.left);
var _b21 = _c21(_gI3.right, _621.right);
var _d21 = _a21(_gI3.top, _621.top);
var _e21 = _c21(_gI3.bottom, _621.bottom);
if (_sI3 == 1 && _T11 == 1 && _tI3 == 1 && _U11 == 1 && _uI3 == 0 && _V11 == 0) {
for (var _X9 = _921; _X9 <= _b21; _X9++) {
for (var _i21 = _d21; _i21 <= _e21; _i21++) {
var _j21 = _X9 - _t21 + this._v2;
var _l21 = _i21 - _u21 + this._w2;
if (_j21 < 0 || _j21 >= this.width) continue;
if (_l21 < 0 || _l21 >= this.height) continue;
if (this._KK1) {
if (!this._821[_fI3][_j21 + _l21 * this.width]) continue;
}
_j21 = _X9 - _R11 + _vI3._v2;
_l21 = _i21 - _S11 + _vI3._w2;
if (_j21 < 0 || _j21 >= _vI3.width) continue;
if (_l21 < 0 || _l21 >= _vI3.height) continue;
if (_vI3._KK1) {
if (!_vI3._821[_wI3][_j21 + _l21 * _vI3.width]) continue;
}
return true;
}
}
} else if (_uI3 == 0 && _V11 == 0) {
for (var _X9 = _921; _X9 <= _b21; _X9++) {
for (var _i21 = _d21; _i21 <= _e21; _i21++) {
var _j21 = Math.floor((_X9 - _t21) * _sI3 + this._v2);
var _l21 = Math.floor((_i21 - _u21) * _tI3 + this._w2);
if (_j21 < 0 || _j21 >= this.width) continue;
if (_l21 < 0 || _l21 >= this.height) continue;
if (this._KK1) {
if (!this._821[_fI3][_j21 + _l21 * this.width]) continue;
}
_j21 = Math.floor((_X9 - _R11) * _T11 + _vI3._v2);
_l21 = Math.floor((_i21 - _S11) * _U11 + _vI3._w2);
if (_j21 < 0 || _j21 >= _vI3.width) continue;
if (_l21 < 0 || _l21 >= _vI3.height) continue;
if (_vI3._KK1) {
if (!_vI3._821[_wI3][_j21 + _l21 * _vI3.width]) continue;
}
return true;
}
}
} else {
var _xI3 = Math.sin((-_uI3 * _g21) / 180);
var _yI3 = Math.cos((-_uI3 * _g21) / 180);
var _f21 = Math.sin((-_V11 * _g21) / 180);
var _h21 = Math.cos((-_V11 * _g21) / 180);
for (var _X9 = _921; _X9 <= _b21; _X9++) {
for (var _i21 = _d21; _i21 <= _e21; _i21++) {
var _j21 = Math.floor((_yI3 * (_X9 - _t21) + _xI3 * (_i21 - _u21)) * _sI3 + this._v2);
var _l21 = Math.floor((_yI3 * (_i21 - _u21) - _xI3 * (_X9 - _t21)) * _tI3 + this._w2);
if (_j21 < 0 || _j21 >= this.width) continue;
if (_l21 < 0 || _l21 >= this.height) continue;
if (this._KK1) {
if (!this._821[_fI3][_j21 + _l21 * this.width]) continue;
}
_j21 = Math.floor((_h21 * (_X9 - _R11) + _f21 * (_i21 - _S11)) * _T11 + _vI3._v2);
_l21 = Math.floor((_h21 * (_i21 - _S11) - _f21 * (_X9 - _R11)) * _U11 + _vI3._w2);
if (_j21 < 0 || _j21 >= _vI3.width) continue;
if (_l21 < 0 || _l21 >= _vI3.height) continue;
if (_vI3._KK1) {
if (!_vI3._821[_wI3][_j21 + _l21 * _vI3.width]) continue;
}
return true;
}
}
}
return false;
};
_EK1.prototype._zI3 = function (_fI3, _gI3, _t21, _u21, _c11, _d11, _e11, _AI3, _BI3, _CI3, _DI3) {
if (!this._KK1) {
return true;
}
if (this._721 <= 0) {
return false;
}
_fI3 = _fI3 % this._821.length;
if (_fI3 < 0) {
_fI3 = _fI3 + this._821.length;
}
if (_AI3 == _CI3 || _BI3 == _DI3) {
var _WL2 = new _tp1();
_WL2.left = _AI3;
_WL2.top = _c21(_BI3, _DI3);
_WL2.right = _CI3;
_WL2.bottom = _a21(_BI3, _DI3);
return this._Zq3(_fI3, _gI3, _t21, _u21, _c11, _d11, _e11, _WL2);
}
var _E21 = Math.sin((-_e11 * Math.PI) / 180.0);
var _F21 = Math.cos((-_e11 * Math.PI) / 180.0);
_t21 -= 0.5;
_u21 -= 0.5;
if (Math.abs(_CI3 - _AI3) >= Math.abs(_DI3 - _BI3)) {
if (_CI3 < _AI3) {
var _r91 = _CI3;
_CI3 = _AI3;
_AI3 = _r91;
_r91 = _DI3;
_DI3 = _BI3;
_BI3 = _r91;
}
var _wu1 = (_DI3 - _BI3) / (_CI3 - _AI3);
for (var _X9 = _a21(_gI3.left, _AI3); _X9 <= _c21(_gI3.right, _CI3); _X9++) {
var _j21 = Math.floor((_F21 * (_X9 - _t21) + _E21 * (_BI3 + (_X9 - _AI3) * _wu1 - _u21)) / _c11 + this._v2);
var _l21 = Math.floor((_F21 * (_BI3 + (_X9 - _AI3) * _wu1 - _u21) - _E21 * (_X9 - _t21)) / _d11 + this._w2);
if (_j21 < 0 || _j21 >= this.width) continue;
if (_l21 < 0 || _l21 >= this.height) continue;
if (this._821[_fI3][_j21 + _l21 * this.width]) return true;
}
} else {
if (_DI3 < _BI3) {
var _r91 = _DI3;
_DI3 = _BI3;
_BI3 = _r91;
_r91 = _CI3;
_CI3 = _AI3;
_AI3 = _r91;
}
var _wu1 = (_CI3 - _AI3) / (_DI3 - _BI3);
for (var _X9 = _a21(_gI3.top, _BI3); _X9 <= _c21(_gI3.bottom, _DI3); _X9++) {
var _j21 = Math.floor((_F21 * (_AI3 + (_X9 - _BI3) * _wu1 - _t21) + _E21 * (_X9 - _u21)) / _c11 + this._v2);
var _l21 = Math.floor((_F21 * (_X9 - _u21) - _E21 * (_AI3 + (_X9 - _BI3) * _wu1 - _t21)) / _d11 + this._w2);
if (_j21 < 0 || _j21 >= this.width) continue;
if (_l21 < 0 || _l21 >= this.height) continue;
if (this._821[_fI3][_j21 + _l21 * this.width]) return true;
}
}
return false;
};
_EK1.prototype._9L1 = function (_911) {
if (this._721 <= 0) {
return null;
}
_911 = _911 % this._721;
if (_911 < 0) {
_911 = _911 + this._721;
}
if (this._yK1) {
return this._yK1[_911];
}
return null;
};
/*@constructor */ function _ed3() {
this._m2 = [];
}
_ed3.prototype._GK1 = function (_5I3) {
var _W11 = this._m2.length;
this._m2[_W11] = _5I3;
return _W11;
};
_ed3.prototype._xq3 = function (_EI3) {
var _YA3 = this._m2[_EI3];
if (!_YA3) return null;
if (_YA3._Wp3 !== null && _YA3._Wp3 !== undefined) {
return _YA3._Wp3._cV2;
}
return _YA3._yK1.length;
};
_ed3.prototype._s11 = function (_EI3) {
if (Number.isNaN(_EI3)) return null;
if (_EI3 < 0 || _EI3 >= this._m2.length) return null;
return this._m2[_EI3];
};
_ed3.prototype._qz1 = function (_Ub1) {
var _ne3 = this._m2[_Ub1];
if (_ne3 != undefined) {
var _FI3 = true;
for (var _X9 = 0; _X9 < _ne3._yK1.length; _X9++) {
var _be1 = _ne3._yK1[_X9];
if (!_be1 || !_be1._f31) continue;
var _Gx2 = _be1._f31;
if (!_Gx2 || !_Gx2._o51) continue;
if (_FI3) {
_131._Bq2();
_FI3 = false;
}
_131._ss2(_Gx2._o51._Kr2);
_Gx2._o51 = null;
}
this._m2[_Ub1] = undefined;
}
};
_ed3.prototype._Od3 = function (_7s2) {
try {
var _GI3 = { data: new Uint8Array(_7s2), offset: 0 };
function _HI3(_II3) {
var _JI3 = ";";
var _yp1 = "";
while (_GI3.offset < _II3.data.byteLength) {
if (_II3.data[_GI3.offset] === _JI3.charCodeAt(0)) {
_GI3.offset++;
break;
}
_yp1 = _yp1 + String.fromCharCode(_II3.data[_GI3.offset]);
_GI3.offset++;
}
return _yp1;
}
var type = _HI3(_GI3);
if (type == "rswf") {
var version = _HI3(_GI3),
_KI3 = version.split(".", 3);
_cU2._4S1 = parseInt(_KI3[0]);
_cU2._5S1 = parseInt(_KI3[1]);
_cU2.version = parseInt(_KI3[2]);
var _LI3 = parseInt(_HI3(_GI3)),
_MI3 = parseInt(_HI3(_GI3));
this._KH3 = [];
var _s81 = _LI3;
for (var _X9 = 0; _X9 < _MI3; _X9++) {
var _NI3 = parseInt(_HI3(_GI3));
this._KH3[_X9] = _7s2.slice(_s81, _s81 + _NI3);
_s81 += _NI3;
}
}
} catch (e) {
debug("Cannot parse SWF data " + e.message);
}
};
_ed3.prototype._Md3 = function (_OI3) {
function _PI3(_l41, _e21) {
var _9D3 = (_l41 >> 16) & 0xffff,
_I_2 = _l41 & 0xffff;
var _ZN1 = (_e21 >> 16) & 0xffff,
_Xl2 = _e21 & 0xffff;
var _xL1 = (_9D3 * _Xl2 + _I_2 * _ZN1) & 0xffff;
return ((_xL1 << 16) >>> 0) + _I_2 * _Xl2;
}
function _QI3(_7s2) {
var _rB1 = Math.pow(2, 32);
var _RI3 = 6 * 7;
var _SI3 = "";
for (var _i21 = 0; _i21 < _7s2.length; _i21++) {
_SI3 += String.fromCharCode((_7s2.charCodeAt(_i21) - (_RI3 & 0xff)) & 0xff);
_RI3 = _PI3(_RI3, (_RI3 + 1) % _rB1) % _rB1;
}
return _SI3;
}
this._uP2 = [];
try {
var _TI3 = _OI3.split(";", 4);
if (_TI3[0] == "skel") {
var version = _TI3[1];
var _s81 = parseInt(_TI3[2]);
var _UI3 = parseInt(_TI3[3]);
var _VI3 = 4 + _UI3;
_TI3 = _OI3.split(";", _VI3);
for (var _X9 = 0; _X9 < _UI3; _X9++) {
var _WI3 = parseInt(_TI3[4 + _X9]);
var _XI3 = _OI3.substr(_s81, _WI3);
var _YI3 = _XI3.split(";", 2);
var __e1 = 0;
var _ZI3 = parseInt(_YI3[__e1++]);
var _n31 = parseInt(_YI3[__e1++]);
var _o31 = [];
_YI3 = _XI3.split(";", _n31 * 2 + 3);
for (var _d21 = 0; _d21 < _n31; _d21++) {
var __I3 = new Object();
__I3.width = parseInt(_YI3[__e1++]);
__I3.height = parseInt(_YI3[__e1++]);
_o31[_d21] = __I3;
}
var _0J3 = _YI3[__e1].substr(0, _ZI3);
var _1J3 = _YI3[__e1].substr(_ZI3, _YI3[__e1].length - _ZI3);
this._uP2.push({ _0d1: _QI3(_Dr1(_0J3)), _TK2: _QI3(_Dr1(_1J3)), _n31: _n31, _o31: _o31 });
_s81 += _WI3;
}
}
} catch (e) {
debug("Cannot parse Spine data " + e.message);
}
};
/*@constructor */ function _Ee3() {
this.__type = "[TextureGroupInfo]";
this._d2 = "unknowntexturegroup";
this._Fe3 = [];
this._oA1 = [];
this._Ge3 = [];
this._He3 = [];
this._Ie3 = [];
}
/*@constructor */ function _fd3() {
this._ik = [];
}
_fd3.prototype._Le3 = function (_2J3) {
var _W11 = this._ik.length;
this._ik[_W11] = _2J3;
return _W11;
};
_fd3.prototype._3J3 = function (_4J3) {
for (var _X9 = 0; _X9 < this._ik.length; _X9++) {
var _De3 = this._ik[_X9];
for (var _i21 = 0; _i21 < _De3._Fe3.length; _i21++) {
if (_g31[_De3._Fe3[_i21]]) {
var _v31 = _g31[_De3._Fe3[_i21]];
if (_v31._o51) {
if (_v31._o51 === _4J3) {
return _De3;
}
}
}
}
}
return null;
};
function _5J3(_6J3) {
if (_g31[_6J3]) {
if (_g31[_6J3]._o51) {
return _g31[_6J3]._o51;
}
}
return null;
}
var _7J3 = 0;
function _8J3(_4J3) {
if (_7J3 > 0) {
var _y61 = -1;
for (var _X9 = 0; _X9 < _g31.length; _X9++) {
if (_g31[_X9]) {
if (_g31[_X9]._o51) {
if (_g31[_X9]._o51 === _4J3) {
_y61 = 0;
break;
}
}
}
}
var _De3 = _gb3._3J3(_4J3);
if (_De3 != null) {
_4z("Texture unpacked - Group: " + _De3._d2 + ", Texture ID: " + String(_y61) + ", Width: " + _4J3._Cr2 + ", Height " + _4J3._Dr2);
} else if (_7J3 > 1) {
_4z("Texture unpacked - Group: None, Texture ID: " + String(_y61) + ", Width: " + _4J3._Cr2 + ", Height " + _4J3._Dr2);
}
}
}
function _9J3(_4J3) {
if (_7J3 > 0) {
var _y61 = -1;
for (var _X9 = 0; _X9 < _g31.length; _X9++) {
if (_g31[_X9]) {
if (_g31[_X9]._o51) {
if (_g31[_X9]._o51 === _4J3) {
_y61 = 0;
break;
}
}
}
}
var _De3 = _gb3._3J3(_4J3);
if (_De3 != null) {
_4z("Texture flushed - Group: " + _De3._d2 + ", Texture ID: " + String(_y61) + ", Width: " + _4J3._Cr2 + ", Height " + _4J3._Dr2);
} else if (_7J3 > 1) {
_4z("Texture flushed - Group: None, Texture ID: " + String(_y61) + ", Width: " + _4J3._Cr2 + ", Height " + _4J3._Dr2);
}
}
}
/*@constructor */ function _aJ3() {
this.__type = "[Tile]";
this.x = 0;
this.y = 0;
this.index = 0;
this._QE3 = 0;
this._RE3 = 0;
this._Z9 = 0;
this.__9 = 0;
this._Xf = 0.0;
this.id = _4c3++;
this._4x1 = 1.0;
this._5x1 = 1.0;
this._7x1 = 0xffffff;
this.alpha = 1.0;
this._4a = true;
this._bJ3 = false;
}
_aJ3.prototype._cJ3 = function () {
var _UK1 = _Wd1._Xd1(this.index);
if (_UK1 != null) {
var _be1 = _UK1.__d1;
if (_be1._fk >= _g31.length) return;
if (!_g31[_be1._fk].complete) return;
if (this._QE3 < 0) {
this._Z9 += this._QE3;
this._QE3 = 0;
}
if (this._RE3 < 0) {
this.__9 += this._RE3;
this._RE3 = 0;
}
if (_be1 != null) {
if (this._QE3 + this._Z9 >= _be1._Z9) {
this._Z9 = _be1._Z9 - this._QE3;
}
if (this._RE3 + this.__9 >= _be1.__9) {
this.__9 = _be1.__9 - this._RE3;
}
}
}
};
function _ZE3(_dJ3) {
var _1E3 = new _aJ3();
if (_dJ3.x != undefined) _1E3.x = _dJ3.x;
if (_dJ3.y != undefined) _1E3.y = _dJ3.y;
if (_dJ3.index != undefined) _1E3.index = _dJ3.index;
if (_dJ3._QE3 != undefined) _1E3._QE3 = _dJ3._QE3;
if (_dJ3._RE3 != undefined) _1E3._RE3 = _dJ3._RE3;
if (_dJ3._Z9 != undefined) _1E3._Z9 = _dJ3._Z9;
if (_dJ3.__9 != undefined) _1E3.__9 = _dJ3.__9;
if (_dJ3._Xf != undefined) _1E3._Xf = _dJ3._Xf;
if (_dJ3.id != undefined) _1E3.id = _dJ3.id;
if (_dJ3.scaleX != undefined) _1E3._4x1 = _dJ3.scaleX;
if (_dJ3.scaleY != undefined) _1E3._5x1 = _dJ3.scaleY;
if (_dJ3._If != undefined) {
_1E3._7x1 = _dJ3._If & 0xffffff;
_1E3.alpha = ((_dJ3._If >> 24) & 0xff) / 255.0;
}
_1E3._cJ3();
if (_4c3 < _dJ3.id) _4c3 = _dJ3.id + 1;
return _1E3;
}
_aJ3.prototype._O31 = function () {
if (!this._4a) return false;
var _UK1 = _Wd1._Xd1(this.index);
if (_UK1 != null) {
var _be1 = _UK1.__d1;
if (_be1._f31 instanceof HTMLImageElement && _be1._fk >= _g31.length) return;
if (_g31[_be1._fk] instanceof HTMLImageElement && !_g31[_be1._fk].complete) return;
var _o11 = _be1._Z9 / _be1._dk;
var _p11 = _be1.__9 / _be1._ek;
if (!_131) {
_R41.globalAlpha = this.alpha;
if (this._7x1 != 0xffffff) {
var _vm3 = _z41(_be1, this._7x1);
if (this._4x1 <= 0 || this._5x1 <= 0) {
_Fm3(this.x, this.y, this._4x1, this._5x1, 0.0);
_R41._xK1(_vm3, this._QE3 * _o11, this._RE3 * _p11, this._Z9 * _o11, this.__9 * _p11, 0, 0, this._Z9, this.__9);
_Hm3();
} else {
_R41._xK1(_vm3, this._QE3 * _o11, this._RE3 * _p11, this._Z9 * _o11, this.__9 * _p11, this.x, this.y, this._Z9 * this._4x1, this.__9 * this._5x1);
}
} else {
var _Gx2 = -1;
if (_be1._f31 instanceof HTMLImageElement) _Gx2 = _g31[_be1._fk];
else _Gx2 = _be1._f31;
if (this._4x1 <= 0 || this._5x1 <= 0) {
_Fm3(this.x, this.y, this._4x1, this._5x1, 0.0);
_R41._xK1(_Gx2, _be1.x + this._QE3 * _o11, _be1.y + this._RE3 * _o11, this._Z9 * _o11, this.__9 * _p11, 0, 0, this._Z9, this.__9);
_Hm3();
} else {
_R41._xK1(_Gx2, _be1.x + this._QE3 * _o11, _be1.y + this._RE3 * _o11, this._Z9 * _o11, this.__9 * _p11, this.x, this.y, this._Z9 * this._4x1, this.__9 * this._5x1);
}
}
} else {
var _L31 = this._7x1 | ((this.alpha * 255) << 24);
_R41._xK1(_be1, _be1.x + this._QE3 * _o11, _be1.y + this._RE3 * _o11, this._Z9 * _o11, this.__9 * _o11, this.x, this.y, this._Z9 * this._4x1, this.__9 * this._5x1, _L31);
}
}
};
/*@constructor */ function _eJ3(_Jh3) {
this.__type = "[Timeline]";
if (_Jh3 != null && _Jh3 != undefined) {
this._d2 = _Jh3._d2;
this._fr1 = _Jh3._fr1;
} else {
this._d2 = "";
this._fr1 = [];
}
}
_eJ3.prototype._A_2 = function (_fJ3) {
if (this._fr1.length == 0) {
return 0;
}
if (_fJ3 > this._fr1[this._fr1.length - 1]._gJ3) {
return this._fr1.length;
}
for (var _X9 = 0; _X9 < this._fr1.length; _X9++) {
if (this._fr1[_X9]._gJ3 >= _fJ3) {
return _X9;
}
}
return this._fr1.length;
};
_eJ3.prototype._E_2 = function (_fJ3) {
if (this._fr1.length == 0) {
return 0;
}
if (_fJ3 < this._fr1[0]._gJ3) {
return -1;
}
for (var _X9 = this._fr1.length - 1; _X9 >= 0; _X9--) {
if (this._fr1[_X9]._gJ3 <= _fJ3) {
return _X9;
}
}
return -1;
};
_eJ3.prototype._D_2 = function () {
return this._fr1[this._fr1.length - 1]._gJ3;
};
/*@constructor */ function _kd3() {
this._0a = [];
}
_kd3.prototype._Da1 = function (_Jh3) {
var _Zd1 = null;
if (_Jh3 != null) {
_Zd1 = new _eJ3(_Jh3);
}
this._0a[this._0a.length] = _Zd1;
};
_kd3.prototype._s11 = function (_911) {
if (_911 < 0 || _911 >= this._0a.length) {
return undefined;
}
return this._0a[_911];
};
_kd3.prototype._Ua1 = function (_911) {
if (_911 >= 0 || _911 < this._0a.length) {
this._0a[_911]._fr1._Ua1();
}
};
_kd3.prototype._qz1 = function (_911) {
if (_911 >= 0 || _911 < this._0a.length) {
this._0a[_911] = null;
}
};
/*@constructor */ /*@constructor */ function _je3(_hJ3) {
if (!_hJ3) {
this._xc1 = [];
} else {
this._xc1 = _hJ3;
}
}
_je3.prototype._s11 = function (_G31) {
return this._xc1[_G31];
};
_je3.prototype._yh3 = function (_iJ3) {
for (var _X9 = 1; _X9 < this._xc1.length; _X9++) {
var _eA3 = this._xc1[_X9];
if (_eA3._jJ3 == _iJ3) {
_iy1._B11(_P13, _X9);
}
}
};
function yyGetReal(_P71) {
if (typeof _P71 == "number") {
return _P71;
} else if (_P71 instanceof Array) {
_Rb1("unable to convert " + _ul(_P71) + " to a number");
} else if (_P71 instanceof ArrayBuffer) {
_Rb1("unable to convert " + _ul(_P71) + " to a number");
} else if (_P71 instanceof Long) {
return _P71._Ic1();
} else {
switch (typeof _P71) {
case "string":
var match = _P71.match(_oB1);
if (match != null) {
return Number(match);
}
_Rb1("unable to convert " + _ul(_P71) + " to a number");
break;
case "boolean":
return _P71 ? 1 : 0;
break;
case "object":
return Number(_P71);
break;
default:
_Rb1("unable to convert " + _ul(_P71) + " to a number");
break;
}
}
return 0;
}
function yyGetInt64(_P71) {
if (_P71 instanceof Long) {
return _P71;
} else {
switch (typeof _P71) {
case "string":
var match = _P71.match(_oB1);
if (match != null) {
return Number(match);
}
_Rb1("unable to convert " + _ul(_P71) + " to a number");
break;
case "boolean":
return Long._fy2(_P71 ? 1 : 0, false);
break;
case "number":
case "object":
return Long._fy2(_P71, false);
break;
default:
_Rb1("unable to convert " + _ul(_P71) + " to a number");
break;
}
}
}
function yyGetInt32(_P71) {
if (_P71 instanceof Long) {
return _P71._my2();
}
return ~~yyGetReal(_P71) & 0xffffffff;
}
function yyGetBool(_P71) {
var __b1 = false;
switch (typeof _P71) {
case "boolean":
__b1 = _P71;
break;
case "undefined":
break;
case "string":
if (_P71 === "true") {
__b1 = true;
} else if (_P71 === "false") {
__b1 = false;
} else {
var match = _P71.match(_oB1);
if (match != null) {
__b1 = Number(match) > 0.5;
} else {
_Rb1("Argument incorrect type. yyGetBool expecting a Number.");
}
}
break;
default:
__b1 = yyGetReal(_P71) > 0.5;
break;
}
return __b1;
}
function yyGetString(_P71) {
if (typeof _P71 == "string") {
return _P71;
} else if (_P71 instanceof Long) {
return _P71.toString(10);
} else if (_P71 instanceof Array) {
var _kJ3 = "{";
for (var _W11 = 0; _W11 < _P71.length; ++_W11) {
if (_W11 != 0) {
_kJ3 += ",";
}
_kJ3 += yyGetString(_P71[_W11]);
}
_kJ3 += "}";
return _kJ3;
} else if (_P71 == null) {
return "null";
} else if (_P71 == undefined) {
return "undefined";
} else {
switch (typeof _P71) {
case "number":
if (_P71 == ~~_P71) {
return String(_P71);
}
return _P71.toFixed(2);
break;
case "boolean":
if (_P71) return "1";
else return "0";
break;
default:
_P71.toString();
}
}
}
var _lJ3 = 0;
var _mJ3 = 1;
var _nJ3 = 2;
var _oJ3 = 6;
var _pJ3 = 7;
var _qJ3 = 5;
var _rJ3 = 3;
var _sJ3 = 4;
var _tJ3 = 8;
var _uJ3 = 9;
var _vJ3 = 10;
var _wJ3 = 11;
var _xJ3 = 12;
var _yJ3 = 13;
var _zJ3 = 14;
var _AJ3 = 15;
/*@constructor */ function _vx(_OA1, _BJ3, _CJ3, _P71) {
_BJ3 = yyGetInt32(_BJ3);
_CJ3 = yyGetInt32(_CJ3);
if (!(_OA1 instanceof Array)) _Rb1("array_set_2D() : argument 0 must be an array");
if (!(_OA1[_BJ3] instanceof Array)) _OA1[_BJ3] = [];
_OA1._iB1 = 2;
_OA1[_BJ3][_CJ3] = _P71;
}
function _vp(_OA1, _1t1) {
if (!(_OA1 instanceof Array)) {
_OA1 = [];
_OA1._iB1 = 1;
_OA1._DJ3 = _1t1;
} else if (_OA1._DJ3 !== _1t1) {
if (_OA1._iB1 == 2) {
var _Y9 = _OA1.slice();
for (var _X9 = 0; _X9 < _OA1.length; ++_X9) {
_Y9[_X9] = _OA1[_X9].slice();
}
_OA1 = _Y9;
} else {
var _EJ3 = _OA1._iB1;
_OA1 = _OA1.slice();
_OA1._iB1 = _EJ3;
}
_OA1._DJ3 = _1t1;
}
return _OA1;
}
function _Tn(_OA1, _1t1) {
_OA1 = yyGetInt32(_OA1);
if (!(_1t1 instanceof Array)) _Rb1("must be an array");
if (_OA1 < 0 || _OA1 >= _1t1.length) _Rb1("index out of range");
return _OA1;
}
function _wp(_OA1) {
_OA1 = yyGetInt32(_OA1);
if (_OA1 < 0) _Rb1("index out of range");
return _OA1;
}
function _sl(_OA1) {
if (_OA1 === undefined) {
_Rb1("undefined value in expression");
} else if (_OA1 instanceof ArrayBuffer) {
_Rb1("pointer value in expression");
}
return _OA1;
}
function _EX(_781, _M01) {
_781 = yyGetInt32(_781);
var _J41 = 0;
if (arguments.length == 2) _J41 = _M01;
var __b1 = [];
for (var _X9 = 0; _X9 < _781; ++_X9) {
__b1[_X9] = _J41;
}
__b1._iB1 = 1;
return __b1;
}
function _9c1(_fi3) {
var _8c1 = "";
var size = _Pj3(_fi3);
for (var _X9 = 0; _X9 < size; ++_X9) {
var y = _Nj3(_fi3, _X9, _1i3);
_8c1 += _uc3[y >> 4] + _uc3[y & 0xf];
}
return _8c1;
}
function _7c1(_fi3, _M01) {
if (typeof _M01 == "boolean") {
_5c1(_fi3, _6c1, _yJ3);
var _X9 = 0;
if (_M01) _X9 = 1;
_5c1(_fi3, _6i3, _X9);
} else if (typeof _M01 == "number") {
_5c1(_fi3, _6c1, _lJ3);
_5c1(_fi3, _6i3, _M01);
} else if (typeof _M01 == "string") {
_5c1(_fi3, _6c1, _mJ3);
var _FJ3 = _yr1(_M01);
_5c1(_fi3, _6c1, _FJ3.length);
_5c1(_fi3, _ai3, _M01);
} else if (_M01 instanceof Array) {
_5c1(_fi3, _6c1, _nJ3);
if (_M01._iB1 != 2) {
_5c1(_fi3, _6c1, 1);
var _Bc1 = _M01.length;
_5c1(_fi3, _6c1, _Bc1);
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _GJ3 = _M01[_X9];
_7c1(_fi3, _GJ3);
}
} else {
var _Bc1 = _M01.length;
_5c1(_fi3, _6c1, _Bc1);
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _HJ3 = _M01[_X9];
var _IJ3 = _HJ3.length;
_5c1(_fi3, _6c1, _IJ3);
for (var _ot1 = 0; _ot1 < _IJ3; _ot1++) {
var _GJ3 = _HJ3[_ot1];
_7c1(_fi3, _GJ3);
}
}
}
} else {
_5c1(_fi3, _6c1, _qJ3);
}
}
function _JJ3(_6Q1) {
return (_6Q1 >= "0" && _6Q1 <= "9") || (_6Q1 >= "A" && _6Q1 <= "F") || (_6Q1 >= "a" && _6Q1 <= "f");
}
function _KJ3(_6Q1) {
var _e21 = (_6Q1 & 0x40) >> 6;
return (_6Q1 & 0x0f) + _e21 * 9;
}
function _ec1(_Qp1) {
var _Bc1 = _Qp1.length;
if (_Bc1 === 0) return -1;
var _LJ3 = 0;
for (var _X9 = 0; _X9 < _Bc1; _X9 += 2) {
if (_JJ3(_Qp1[_X9]) && _JJ3(_Qp1[_X9 + 1])) {
_LJ3 += 2;
} else {
break;
}
}
var _2c1 = -1;
if (_LJ3 > 0) {
var _2c1 = _3c1(_LJ3 / 2, _4c1, 1);
var index = 0;
for (var _X9 = 0; _X9 < _LJ3; _X9 += 2) {
var _l41 = _KJ3(_Qp1.charCodeAt(_X9)) * 16 + _KJ3(_Qp1.charCodeAt(_X9 + 1));
_Oj3(_2c1, index++, _1i3, _l41);
}
return _2c1;
}
return -1;
}
function _ic1(_fi3) {
var _d21 = _hc1(_fi3, _6c1);
if (_d21 === _yJ3) {
var _e21 = _hc1(_fi3, _6i3);
var _MJ3 = false;
if (_e21 != 0) _MJ3 = true;
return _MJ3;
} else if (_d21 === _lJ3) {
var _e21 = _hc1(_fi3, _6i3);
return _e21;
} else if (_d21 === _pJ3) {
var _J41 = _hc1(_fi3, _5G2);
return _J41;
} else if (_d21 === _vJ3 || _d21 === _rJ3) {
var _J41 = _hc1(_fi3, _6c1);
var _c61 = _hc1(_fi3, _5G2);
return (_c61 << 32) | _J41;
} else if (_d21 === _mJ3) {
var _921 = _hc1(_fi3, _6c1);
_Wo1 = "";
for (var _X9 = 0; _X9 < _921; _X9++) {
_Wo1 += String.fromCharCode(_hc1(_fi3, _1i3));
}
return _zr1(_Wo1);
} else if (_d21 === _nJ3) {
var _NJ3 = _hc1(_fi3, _6c1);
var _q21 = [];
if (_NJ3 === 1) {
var _Bc1 = _hc1(_fi3, _6c1);
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
_q21[_X9] = _ic1(_fi3);
}
} else {
for (var _4q1 = 0; _4q1 < _NJ3; _4q1++) {
var _Bc1 = _hc1(_fi3, _6c1);
for (var _X9 = 0; _X9 < _Bc1; _X9++) {
var _e21 = _ic1(_fi3);
_vx(_q21, _4q1, _X9, _e21);
}
}
}
return _q21;
} else {
return undefined;
}
}
var _OJ3 = {
room: [!0, !0, !0, "set_current_room", "get_current_room"],
room_first: [!0, !1, !1, null, null],
room_last: [!0, !1, !1, null, null],
transition_kind: [!0, !0, !0, null, null],
transition_steps: [!0, !0, !0, null, null],
score: [!0, !0, !0, null, null],
lives: [!0, !0, !0, "set_lives_function", null],
health: [!0, !0, !0, "set_health_function", null],
game_id: [!0, !1, !1, null, null],
game_display_name: [!0, !1, !0, null, null],
game_project_name: [!0, !1, !0, null, null],
game_save_id: [!0, !1, !0, null, null],
working_directory: [!0, !1, !1, null, null],
temp_directory: [!0, !1, !1, null, null],
program_directory: [!0, !1, !1, null, null],
instance_count: [!0, !1, !1, null, "get_instance_count"],
instance_id: [!0, !1, !1, null, null],
room_width: [!0, !0, !1, "set_room_width", null],
room_height: [!0, !0, !1, "set_room_height", null],
room_caption: [!0, !0, !0, "set_room_caption", null],
room_speed: [!0, !0, !0, "set_room_speed", "get_room_speed"],
room_persistent: [!0, !0, !0, "set_room_persistent", null],
background_color: [!0, !0, !0, "setbackground_color", "getbackground_color"],
background_showcolor: [!0, !0, !0, "setbackground_showcolor", "getbackground_showcolor"],
background_colour: [!0, !0, !0, "setbackground_color", "getbackground_color"],
background_showcolour: [!0, !0, !0, "setbackground_showcolor", "getbackground_showcolor"],
background_visible: [!0, !0, !0, null, null],
background_foreground: [!0, !0, !0, null, null],
background_index: [!0, !0, !0, null, null],
background_x: [!0, !0, !0, null, null],
background_y: [!0, !0, !0, null, null],
background_width: [!0, !1, !1, null, null],
background_height: [!0, !1, !1, null, null],
background_htiled: [!0, !0, !0, null, null],
background_vtiled: [!0, !0, !0, null, null],
background_xscale: [!0, !0, !0, null, null],
background_yscale: [!0, !0, !0, null, null],
background_hspeed: [!0, !0, !0, null, null],
background_vspeed: [!0, !0, !0, null, null],
background_blend: [!0, !0, !0, null, null],
background_alpha: [!0, !0, !0, null, null],
view_enabled: [!0, !0, !0, "set_view_enable", "get_view_enable"],
view_current: [!0, !1, !1, null, null],
view_visible: [!0, !0, !0, null, null],
view_xview: [!0, !0, !0, null, null],
view_yview: [!0, !0, !0, null, null],
view_wview: [!0, !0, !0, null, null],
view_hview: [!0, !0, !0, null, null],
view_angle: [!0, !0, !0, null, null],
view_hborder: [!0, !0, !0, null, null],
view_vborder: [!0, !0, !0, null, null],
view_hspeed: [!0, !0, !0, null, null],
view_vspeed: [!0, !0, !0, null, null],
view_object: [!0, !0, !0, null, null],
view_xport: [!0, !0, !0, null, null],
view_yport: [!0, !0, !0, null, null],
view_wport: [!0, !0, !0, null, null],
view_hport: [!0, !0, !0, null, null],
view_surface_id: [!0, !0, !0, null, null],
view_camera: [!0, !0, !0, null, null],
mouse_x: [!0, !1, !1, null, "get_mouse_x"],
mouse_y: [!0, !1, !1, null, "get_mouse_y"],
mouse_button: [!0, !0, !0, null, null],
mouse_lastbutton: [!0, !0, !0, null, null],
keyboard_key: [!0, !0, !0, null, null],
keyboard_lastkey: [!0, !0, !0, null, null],
keyboard_lastchar: [!0, !0, !0, null, null],
keyboard_string: [!0, !0, !0, null, null],
show_score: [!0, !0, !0, null, null],
show_lives: [!0, !0, !0, null, null],
show_health: [!0, !0, !0, null, null],
caption_score: [!0, !0, !0, null, null],
caption_lives: [!0, !0, !0, null, null],
caption_health: [!0, !0, !0, null, null],
fps: [!0, !1, !1, null, null],
fps_real: [!0, !1, !1, null, null],
current_time: [!0, !1, !1, null, "get_current_time"],
current_year: [!0, !1, !1, null, "get_current_year"],
current_month: [!0, !1, !1, null, "get_current_month"],
current_day: [!0, !1, !1, null, "get_current_day"],
current_weekday: [!0, !1, !1, null, "get_current_weekday"],
current_hour: [!0, !1, !1, null, "get_current_hour"],
current_minute: [!0, !1, !1, null, "get_current_minute"],
current_second: [!0, !1, !1, null, "get_current_second"],
event_type: [!0, !1, !1, null, "get_current_event_type"],
event_number: [!0, !1, !1, null, "get_current_event_number"],
event_object: [!0, !1, !1, null, "get_current_event_object"],
event_action: [!0, !1, !1, null, null],
error_occurred: [!0, !0, !0, null, null],
error_last: [!0, !0, !0, null, null],
gamemaker_registered: [!0, !1, !1, null, null],
gamemaker_pro: [!0, !1, !1, null, null],
application_surface: [!0, !1, !1, null, null],
os_type: [!0, !1, !1, null, "get_os_type"],
os_device: [!0, !1, !1, null, "get_os_device"],
os_browser: [!0, !1, !1, null, "get_os_browser"],
os_version: [!0, !1, !1, null, "get_os_version"],
browser_width: [!0, !1, !1, null, "get_browser_width"],
browser_height: [!0, !1, !1, null, "get_browser_height"],
async_load: [!0, !1, !1, null, "get_async_load"],
event_data: [!0, !1, !1, null, "get_event_data"],
display_aa: [!0, !1, !1, null, "get_display_aa"],
iap_data: [!0, !1, !1, null, "get_iap_data"],
cursor_sprite: [!0, !0, !1, "set_cursor_sprite", "get_cursor_sprite"],
delta_time: [!0, !0, !1, null, "get_delta_time"],
webgl_enabled: [!0, !1, !1, null, null],
};
var _PJ3 = {
x: [!0, !0, !0, "setx", null],
y: [!0, !0, !0, "sety", null],
xprevious: [!0, !0, !0, null, null],
yprevious: [!0, !0, !0, null, null],
xstart: [!0, !0, !0, null, null],
ystart: [!0, !0, !0, null, null],
hspeed: [!0, !0, !0, "sethspeed", null],
vspeed: [!0, !0, !0, "setvspeed", null],
direction: [!0, !0, !0, "setdirection", null],
speed: [!0, !0, !0, "setspeed", null],
friction: [!0, !0, !0, null, null],
gravity: [!0, !0, !0, null, null],
gravity_direction: [!0, !0, !0, null, null],
object_index: [!0, !1, !1, null, null],
id: [!0, !1, !1, null, null],
alarm: [!0, !0, !0, null, null],
solid: [!0, !0, !0, null, null],
visible: [!0, !0, !0, null, null],
persistent: [!0, !0, !0, null, null],
depth: [!0, !0, !0, "setdepth", "getdepth"],
bbox_left: [!0, !1, !1, null, "get_bbox_left"],
bbox_right: [!0, !1, !1, null, "get_bbox_right"],
bbox_top: [!0, !1, !1, null, "get_bbox_top"],
bbox_bottom: [!0, !1, !1, null, "get_bbox_bottom"],
sprite_index: [!0, !0, !0, "set_sprite_index", null],
image_index: [!0, !0, !0, "set_image_index", null],
image_single: [!0, !0, !0, "set_image_single", "get_image_single"],
image_number: [!0, !1, !1, null, "get_image_number"],
sprite_width: [!0, !1, !1, null, "get_sprite_width"],
sprite_height: [!0, !1, !1, null, "get_sprite_height"],
sprite_xoffset: [!0, !1, !1, null, "get_sprite_xoffset"],
sprite_yoffset: [!0, !1, !1, null, "get_sprite_yoffset"],
image_xscale: [!0, !0, !0, "setxscale", null],
image_yscale: [!0, !0, !0, "setyscale", null],
image_angle: [!0, !0, !0, "setangle", null],
image_alpha: [!0, !0, !0, null, null],
image_blend: [!0, !0, !0, "set_imageblend", "get_imageblend"],
image_speed: [!0, !0, !0, null, null],
in_collision_tree: [!0, !1, !1, null, null],
mask_index: [!0, !0, !0, "set_mask_index", null],
path_index: [!0, !1, !1, null, null],
path_position: [!0, !0, !0, null, null],
path_positionprevious: [!0, !0, !0, null, null],
path_speed: [!0, !0, !0, null, null],
path_scale: [!0, !0, !0, null, null],
path_orientation: [!0, !0, !0, null, null],
path_endaction: [!0, !0, !0, null, null],
timeline_index: [!0, !0, !0, null, null],
timeline_position: [!0, !0, !0, null, null],
timeline_speed: [!0, !0, !0, null, null],
timeline_running: [!0, !0, !0, "set_timeline_running", "get_timeline_running"],
timeline_loop: [!0, !0, !0, "set_timeline_loop", "get_timeline_loop"],
phy_rotation: [!0, !0, !0, "set_physics_rotation", null],
phy_position_x: [!0, !0, !0, "set_physics_position_x", null],
phy_position_y: [!0, !0, !0, "set_physics_position_y", null],
phy_angular_velocity: [!0, !0, !0, "set_physics_omega", null],
phy_linear_velocity_x: [!0, !0, !0, "set_physics_linear_velocity_x", null],
phy_linear_velocity_y: [!0, !0, !0, "set_physics_linear_velocity_y", null],
phy_speed_x: [!0, !0, !0, "set_physics_speed_x", null],
phy_speed_y: [!0, !0, !0, "set_physics_speed_y", null],
phy_speed: [!0, !1, !0, null, null],
phy_angular_damping: [!0, !0, !0, "set_physics_angular_damping", null],
phy_linear_damping: [!0, !0, !0, "set_physics_linear_damping", null],
phy_bullet: [!0, !0, !0, "set_physics_bullet", null],
phy_fixed_rotation: [!0, !0, !0, "set_physics_fixed_rotation", null],
phy_active: [!0, !0, !0, "set_physics_active", null],
phy_mass: [!0, !1, !0, null, null],
phy_inertia: [!0, !1, !0, null, null],
phy_com_x: [!0, !1, !0, null, null],
phy_com_y: [!0, !1, !0, null, null],
phy_dynamic: [!0, !1, !0, null, null],
phy_kinematic: [!0, !1, !0, null, null],
phy_sleeping: [!0, !1, !0, null, null],
phy_position_xprevious: [!0, !0, !0, null, null],
phy_position_yprevious: [!0, !0, !0, null, null],
phy_collision_points: [!0, !1, !0, null, null],
phy_collision_x: [!0, !1, !0, null, null],
phy_collision_y: [!0, !1, !0, null, null],
phy_col_normal_x: [!0, !1, !0, null, null],
phy_col_normal_y: [!0, !1, !0, null, null],
layer: [!0, !0, !0, "SetLayerID", "GetLayerID"],
};
function _QJ3() {
_w61("vertex_format_begin");
}
function _RJ3() {
_w61("vertex_format_end");
}
function _SJ3(_TJ3) {
_w61("vertex_format_delete");
}
function _UJ3() {
_w61("vertex_format_add_position");
}
function _VJ3() {
_w61("vertex_format_add_position_3d");
}
function _WJ3() {
_w61("vertex_format_add_colour");
}
function _XJ3() {
_w61("vertex_format_add_color");
}
function _YJ3() {
_w61("vertex_format_add_normal");
}
function _ZJ3() {
_w61("vertex_format_add_texcoord");
}
function __J3() {
_w61("vertex_format_add_textcoord");
}
function _0K3(type, _q81) {
_w61("vertex_format_add_custom");
}
var _1K3 = null;
function _2K3() {
_QJ3 = _3K3;
_RJ3 = _4K3;
_SJ3 = _5K3;
_UJ3 = _6K3;
_VJ3 = _7K3;
_WJ3 = _8K3;
_XJ3 = _8K3;
_YJ3 = _9K3;
_ZJ3 = _aK3;
__J3 = _aK3;
_0K3 = _bK3;
}
function _3K3() {
if (_1K3 != null) {
debug("ERROR vertex_format_begin: Vertex format is already under construction");
} else {
_1K3 = new _qp2();
}
}
function _6K3() {
if (_1K3 == null) {
debug("ERROR vertex_format_add_position: No vertex format is under construction");
} else {
_1K3._Px2();
}
}
function _7K3() {
if (_1K3 == null) {
debug("ERROR vertex_format_add_position_3d: No vertex format is under construction");
} else {
_1K3._Bp2();
}
}
function _8K3() {
if (_1K3 == null) {
debug("ERROR vertex_format_add_colour: No vertex format is under construction");
} else {
_1K3._Cp2();
}
}
function _9K3() {
if (_1K3 == null) {
debug("ERROR vertex_format_add_normal: No vertex format is under construction");
} else {
_1K3._Ep2();
}
}
function _aK3() {
if (_1K3 == null) {
debug("ERROR vertex_format_add_textcoord: No vertex format is under construction");
} else {
_1K3._Dp2();
}
}
function _bK3(_l81, _k81) {
if (_1K3 == null) {
debug("ERROR vertex_format_add_normal: No vertex format is under construction");
} else {
_1K3._Qx2(yyGetInt32(_l81), yyGetInt32(_k81));
}
}
function _4K3() {
if (_1K3 == null) {
debug("ERROR vertex_format_end: No vertex format under construction");
return -1;
}
var _Pv2 = _131._Hp2(_1K3);
_1K3 = null;
return _Pv2;
}
function _5K3(_cK3) {
debug("WARNING vertex_format_delete not implemented on HTML5 (System shares vertex formats but doesn't reference count)");
}
/*@constructor */ function _Cc3() {
this.__type = "[View]";
this._4a = false;
this._lM1 = 0;
this._nM1 = 0;
this._pM1 = 640;
this._rM1 = 480;
this._hF3 = 0;
this._iF3 = 0;
this._jF3 = 640;
this._kF3 = 480;
this.angle = 0;
this._ab1 = 0;
this._cb1 = 0;
this._bb1 = 0;
this._db1 = 0;
this._DG3 = 0;
this._EG3 = 0;
this._FG3 = 1;
this._GG3 = 1;
this._8i = 32;
this._9i = 32;
this._Yf = -1;
this._Zf = -1;
this._PX2 = -1;
this._lF3 = -1;
this._RZ2 = -1;
this._2X2 = -1;
}
_Cc3.prototype._Pb1 = function (_Qb1) {
this._4a = _Qb1._4a;
this._lM1 = _Qb1._lM1;
this._nM1 = _Qb1._nM1;
this._pM1 = _Qb1._pM1;
this._rM1 = _Qb1._rM1;
this._hF3 = _Qb1._hF3;
this._iF3 = _Qb1._iF3;
this._jF3 = _Qb1._jF3;
this._kF3 = _Qb1._kF3;
this.angle = _Qb1.angle;
this._ab1 = _Qb1._ab1;
this._cb1 = _Qb1._cb1;
this._bb1 = _Qb1._bb1;
this._db1 = _Qb1._db1;
this._DG3 = _Qb1._DG3;
this._EG3 = _Qb1._EG3;
this._FG3 = _Qb1._FG3;
this._GG3 = _Qb1._GG3;
this._8i = _Qb1._8i;
this._9i = _Qb1._9i;
this._Yf = _Qb1._Yf;
this._Zf = _Qb1._Zf;
this._PX2 = _Qb1._PX2;
this._lF3 = _Qb1._lF3;
this._RZ2 = _Qb1._RZ2;
};
_Cc3.prototype._dK3 = function (_a11, _b11, _eK3) {
var _Fq3 = _9b1;
_a11 = (_a11 - _Fq3.left - this._ab1) / (_Fq3.scaleX || 1);
_b11 = (_b11 - _Fq3.top - this._cb1) / (_Fq3.scaleY || 1);
if (_F01) {
var _fK3 = _zY2._hX2(this._RZ2);
if (_fK3 == null) return 0;
var _gK3 = _a11 / this._DG3;
var _hK3 = _b11 / this._EG3;
_gK3 = _gK3 * 2.0 - 1.0;
_hK3 = _hK3 * 2.0 - 1.0;
var _iK3 = _fK3._4Y2();
var out;
if (_eK3) {
out = _gK3 * _iK3._Z11[_cm1] + _hK3 * _iK3._Z11[_dm1] + _iK3._Z11[_fm1];
} else {
out = _gK3 * _iK3._Z11[_gm1] + _hK3 * _iK3._Z11[_6l1] + _iK3._Z11[_im1];
}
return Math.floor(out);
} else {
if (_eK3) {
_a11 /= this._FG3;
return _a11 + this._lM1;
} else {
_b11 /= this._GG3;
return _b11 + this._nM1;
}
}
};
_Cc3.prototype._eb1 = function (_a11, _b11) {
return this._dK3(_a11, _b11, true);
};
_Cc3.prototype._fb1 = function (_a11, _b11) {
return this._dK3(_a11, _b11, false);
};
function __E3(_jK3) {
var _Yk1 = new _Cc3();
if (_jK3._4a != undefined) _Yk1._4a = _jK3._4a;
if (_jK3._Yu1 != undefined) _Yk1._lM1 = _jK3._Yu1;
if (_jK3._Zu1 != undefined) _Yk1._nM1 = _jK3._Zu1;
if (_jK3._Of != undefined) _Yk1._pM1 = _jK3._Of;
if (_jK3._Pf != undefined) _Yk1._rM1 = _jK3._Pf;
if (_jK3._ME3 != undefined) _Yk1._hF3 = _jK3._ME3;
if (_jK3._NE3 != undefined) _Yk1._iF3 = _jK3._NE3;
if (_jK3._Qf != undefined) _Yk1._jF3 = _jK3._Qf;
if (_jK3._Rf != undefined) _Yk1._kF3 = _jK3._Rf;
if (_jK3.angle != undefined) _Yk1._kF3 = _jK3.angle;
if (_jK3._8i != undefined) _Yk1._8i = _jK3._8i;
if (_jK3._9i != undefined) _Yk1._9i = _jK3._9i;
if (_jK3._Yf != undefined) _Yk1._Yf = _jK3._Yf;
if (_jK3._Zf != undefined) _Yk1._Zf = _jK3._Zf;
if (_jK3.index != undefined) _Yk1._PX2 = _jK3.index;
if (_F01) {
if (_jK3._RZ2 !== undefined && _jK3._RZ2 >= 0) {
_Yk1._RZ2 = _zY2._fX2(_jK3._RZ2);
} else {
var _AX2 = _zY2._CX2(_Yk1);
_AX2._9X2(true);
_Yk1._RZ2 = _AX2._5Y2();
}
}
return _Yk1;
}
var _131 = null;
var _kK3 = null;
var _lK3 = null;
var _Uk1 = !0;
var _Gk1 = !1,
_Vk1 = !1,
_mD3 = _Z41.__41,
_nD3 = _Z41._151,
_mK3 = 0,
_nK3 = 0.0,
_oK3 = [],
_Rk1 = { _Ue1: !0, _Ve1: !0, _We1: !0, alpha: !0 };
var _I51 = 0.0,
_Ik1 = !0,
_Kk1 = !0,
_Mk1 = !0,
_pK3 = _Z41._yt2;
var _ul1 = null,
_Bl1 = null,
_yl1 = null,
_Dl1 = null,
_Il1 = null,
_zl1 = [],
_El1 = [];
var _Al1 = 0;
var _Fl1 = 1;
var _wm3 = !1,
_qK3 = !1,
_rK3 = 1.0;
var _Uk3 = [];
var _vm1 = null,
_sK3 = null,
_tK3 = 0;
var _lY2 = 0,
_pY2 = 1,
_0m1 = 2,
_uK3 = 16;
var _H71 = 16384;
var _vK3 = 36,
_wK3 = [],
_xK3 = [];
var _yK3 = 0.5;
var _np2 = null;
function _Vn3() {
_pi1();
_2K3();
_ok3();
_c71();
_zK3(_vK3);
_N71 = _AK3;
_DM1 = _BK3;
_BM1 = _CK3;
_Hm3 = _DK3;
_mn3 = _EK3;
_in3 = _FK3;
_Fm3 = _GK3;
_Rs1 = _HK3;
_Ys1 = _IK3;
_dn3 = _JK3;
_ln3 = _KK3;
_on3 = _LK3;
_kn3 = _MK3;
_ko3 = _NK3;
_hn3 = _OK3;
_bN1 = _PK3;
_nn3 = _QK3;
_Ao3 = _RK3;
_pn3 = _SK3;
_qn3 = _TK3;
_jn3 = _UK3;
_xU = _VK3;
_yt1 = _WK3;
_4L = _XK3;
_Bt1 = _WK3;
_6L = _XK3;
_Nt1 = _YK3;
_Tt1 = _ZK3;
__t1 = __K3;
_1u1 = _0L3;
_OL = _1L3;
_cu1 = _2L3;
_yu1 = _3L3;
_Ju1 = _4L3;
_Nu1 = _5L3;
_eu1 = _2L3;
_Au1 = _3L3;
_Lu1 = _4L3;
_Pu1 = _5L3;
_jX = _6L3;
_zL = _7L3;
_HU = _8L3;
_iL = _8L3;
_Ps1 = _9L3;
_aL = _aL3;
_bL = _aL3;
_0L = _bL3;
_Vu1 = _cL3;
_xO1 = _dL3;
_TM1 = _eL3;
_JE1 = _fL3;
_eC1 = _gL3;
_131._xK1 = _hL3;
_5e1 = _iL3;
_8M1 = _jL3;
_PM1 = _kL3;
_RM1 = _lL3;
__M1 = _mL3;
_1N1 = _nL3;
_1e1 = _oL3;
_ee1 = _pL3;
_rK1 = _qL3;
_AK1 = _rL3;
_PK1 = _sL3;
_Fo3 = _tL3;
_XF1 = _uL3;
_YF1 = _vL3;
_ZF1 = _wL3;
__F1 = _xL3;
_0G1 = _yL3;
_1G1 = _zL3;
_2G1 = _AL3;
_3G1 = _BL3;
_4G1 = _CL3;
_5G1 = _DL3;
_6G1 = _EL3;
_7G1 = _FL3;
_8G1 = _GL3;
_9G1 = _HL3;
_aG1 = _IL3;
_Mf3 = _JL3;
_el1 = _KL3;
_Nf3 = _LL3;
_An3 = _ML3;
_Of3 = _NL3;
_dl1 = _OL3;
_Kf3 = _PL3;
_Lf3 = _QL3;
_Pf3 = _RL3;
_Qf3 = _SL3;
_Rf3 = _TL3;
_Sf3 = _UL3;
_Tf3 = _VL3;
_Rj3 = _WL3;
_Vj3 = _XL3;
_YL3();
}
function _ZL3(_Lo2) {
var options = { _xp2: _Ho1._Vd3 !== undefined ? true : false, _yp2: _Ho1._ok._Lk ? true : false, _gp2: _Sb3 };
_131 = new _Ko2(_Lo2, options);
if (!_131._4p2) {
_131 = null;
return false;
}
if (!__L3()) return false;
if (!_0M3()) return false;
if (!_1M3()) return false;
_sK3 = [];
for (var _X9 = 0; _X9 < _uK3; _X9++) {
_sK3[_X9] = new _Fk1();
}
_tK3 = -1;
_7l1 = 1;
_Ab3 = new _Fk1();
_Bb3 = new _Fk1();
var _2M3 = _131.__q2();
for (var _X9 = 0; _X9 < _2M3; _X9++) {
_oK3[_X9] = false;
}
return true;
}
function _zK3(_ZC3) {
var _W11 = _ZC3;
if (_W11 < 4) _W11 = 4;
if (_W11 > 64) _W11 = 64;
_W11 = 4 * ((_W11 / 4) | 0);
_vK3 = _W11;
_wK3[0] = 1;
_xK3[0] = 0;
for (var _X9 = 1; _X9 < _W11; _X9++) {
_wK3[_X9] = Math.cos((_X9 * 2 * Math.PI) / _W11);
_xK3[_X9] = Math.sin((_X9 * 2 * Math.PI) / _W11);
}
_wK3[_W11] = 1;
_xK3[_W11] = 0;
}
function _YL3() {
_5f1(0, 0xff000000, 0, 0);
_Qf3(0);
_Tf3(0);
_3M3();
}
function __L3() {
return _4M3();
}
function _0M3() {
var _5M3 = document.createElement(_0p1);
_5M3._X71 = _5M3.width = 16;
_5M3._Y71 = _5M3.height = 16;
_5M3.complete = true;
_5M3._4M1 = false;
_5M3.name = "";
_5M3._R41 = _5M3.getContext("2d");
_5M3._R41.save();
_5M3._R41.setTransform(1, 0, 0, 1, 0, 0);
_5M3._R41.globalAlpha = 1;
_5M3._R41.fillStyle = "#ffffff";
_5M3._R41.fillRect(0, 0, 16, 16);
_5M3._R41.restore();
var _be1 = new _ce1();
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = 15;
_be1.__9 = 15;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = 15;
_be1._ck = 15;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = -1;
_be1._f31 = _5M3;
_be1._c31 = [];
_be1._e31 = 1;
_be1._d31 = 0;
_p51(_be1);
_131._us2(_be1._f31._o51);
return true;
}
function _1M3() {
_ul1 = new Float32Array(_Z41._Bs2 * 4);
_Bl1 = new Float32Array(_Z41._Bs2 * 4);
_yl1 = new Float32Array(_Z41._Bs2 * 4);
_Dl1 = new Float32Array(4);
var _tl1;
for (var _X9 = 0; _X9 < _Z41._Bs2; _X9++) {
_yl1[_X9] = 0;
_tl1 = _X9 * 4;
_ul1[_tl1 + 0] = 0;
_ul1[_tl1 + 1] = 0;
_ul1[_tl1 + 2] = 0;
_ul1[_tl1 + 3] = 0;
_Bl1[_tl1 + 0] = 0;
_Bl1[_tl1 + 1] = 0;
_Bl1[_tl1 + 2] = 0;
_Bl1[_tl1 + 3] = 0;
_El1[_X9] = false;
}
return true;
}
function _3M3() {
var _6M3 = _5L1;
_5L1 = function (_6L1, _7M3) {
var _f31 = _6M3(_6L1, _7M3);
if (_f31 && !_f31._E71._o51) {
_p51(_f31._F71);
}
return _f31;
};
var _8M3 = _ke1;
_ke1 = function (_911) {
var _f31 = _8M3(_911);
if (_f31 && !_f31._E71._o51) {
_p51(_f31._F71);
}
return _f31;
};
_KK3();
}
function _KK3() {
_131._yq2();
_131._Wk1(_Xk1());
_131._Uq2(_mK3, _nK3);
_131._Jl1(_Il1);
_131._Hl1(_Dl1);
_131._Sk1(_Rk1._Ue1, _Rk1._Ve1, _Rk1._We1, _Rk1.alpha);
for (var _X9 = 0; _X9 < _Z41._Bs2; _X9++) {
_131._Cl1(_X9, _Bl1.subarray(_X9 * 4, (_X9 + 1) * 4), _ul1.subarray(_X9 * 4, (_X9 + 1) * 4), _yl1.subarray(_X9 * 4, (_X9 + 1) * 4));
}
}
function _LK3() {
_131._zq2();
}
function _HK3(_9M3) {
if (_9M3) {
_kK3 = {};
if (_9M3._RG3) {
_kK3._Gk1 = _Gk1;
_kK3._Vk1 = _Vk1;
_kK3._Il1 = new Float32Array(_Il1);
if (_F01) {
_kK3._Mk1 = _Lh1();
_kK3._Ik1 = _Hh1();
_kK3._Kk1 = _Jh1();
}
_Gk1 = false;
_Vk1 = false;
_5f1(0, 0xff000000, 0, 0);
_131._Hk1(false);
_131._Lk1(false);
_131._Jk1(false);
_131._Wk1(_Xk1());
}
if (_9M3._SG3) {
_kK3._aM3 = _131._a51._b51(_Z41._c51);
_kK3._bM3 = _131._a51._b51(_Z41._d51);
_131._Cq2(_Z41._251, _Z41._3n1);
}
}
}
function _IK3(_cM3) {
if (_kK3 && _cM3) {
if (_cM3._UG3) {
_Gk1 = _kK3._Gk1;
_Vk1 = _kK3._Vk1;
_Il1 = new Float32Array(_kK3._Il1);
_131._Jl1(_Il1);
if (_Gk1 || _F01) {
if (_F01) {
_131._Lk1(_kK3._Mk1);
_131._Hk1(_kK3._Ik1);
_131._Jk1(_kK3._Kk1);
} else {
_131._Hk1(_Ik1);
_131._Jk1(_Kk1);
_131._Lk1(_Mk1);
}
}
_131._Wk1(_Xk1());
}
if (_cM3._VG3) {
_131._Cq2(_kK3._aM3, _kK3._bM3);
}
_kK3 = null;
}
}
function _Xk1() {
var _Tp2 = undefined;
if (_Vk1) {
_Tp2 = _131._6p2;
} else {
_Tp2 = _131._5p2;
}
return _Tp2;
}
function _EK3(_bo3, _co3, _do3, _eo3) {
var _dM3 = _MN1;
var _eM3 = _NN1;
_Bb3._8f3();
var _Z9 = _MN1 / _bo3;
var __9 = _NN1 / _co3;
_Bb3._1m1((_dM3 * -0.5 + _do3) / _bo3, (_eM3 * -0.5 + _eo3) / _co3, 16000);
_Ab3._al1(_Z9, -__9 * _7l1, 1.0, 32000.0);
__l1(_lY2, _Bb3);
__l1(_pY2, _Ab3);
}
function _BK3(_fo3, _go3, _ho3, _io3, _e11) {
if (!_Gk1) {
_ao3(_fo3, _go3, _ho3, _io3, _e11);
} else {
var angle = -_e11 * (Math.PI / 180.0);
var _ZS2 = new _Zk1(_fo3 + _ho3 / 2.0, _go3 + _io3 / 2.0, -_ho3);
var _6T2 = new _Zk1(_fo3 + _ho3 / 2.0, _go3 + _io3 / 2.0, 0.0);
var _eT2 = new _Zk1(Math.sin(angle), Math.cos(angle), 0.0);
_Bb3._1l1(_ZS2, _6T2, _eT2);
if (false == _Uk1) {
_Ab3._al1(_ho3, -_io3 * _7l1, 1.0, 32000.0);
} else {
_Ab3._bl1(1.0, _io3 / _ho3, 1.0, 32000.0);
}
_Ab3._Z11[_6l1] *= _7l1;
}
__l1(_lY2, _Bb3);
__l1(_pY2, _Ab3);
__l1(_0m1, _vm1[_0m1]);
_mM1 = _fo3;
_oM1 = _go3;
_qM1 = _ho3;
_sM1 = _io3;
}
function _CK3(_Np2, _Op2, _Pp2, _Qp2) {
_Us1 = _Np2;
_Vs1 = _Op2;
_Ws1 = _Pp2;
_Xs1 = _Qp2;
var _l21 = _Op2;
if (_7l1 == 1) {
_l21 = _ws1() - (_Qp2 + _Op2);
}
_131._Mp2(_Np2, _l21, _Pp2, _Qp2);
_131._EM1();
}
function _FK3(_081) {
_131._EM1();
_131._Or2(true, true, false, _N71(_081) | 0xff000000);
}
function _9L3(_081, _f41) {
_131._EM1();
var _L31 = ((_f41 * 255.0) << 24) | _N71(_081);
_131._Or2(true, true, false, _L31);
}
function _AK3(_081) {
return _081 & 0x00ffffff;
}
function _bL3(_f41) {
if (_f41 < 0) {
_f41 = 0;
}
if (_f41 > 1) {
_f41 = 1;
}
_K71 = _f41;
}
function _DK3(_fM3) {
if (arguments.length > 0) {
var _Ss1 = arguments[0];
} else {
}
}
function _GK3(_a11, _b11, _2N1, _3N1, _e11) {}
function _JK3(_gq1, _Qp1, _a11, _b11, _Dm1, _Em1, _e11, _081, _f41) {
if (!_lK3) {
var _B21 = 1024;
var _C21 = 1024;
var _N21 = _jo3(_B21, _C21);
var _be1 = new _ce1();
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _B21;
_be1.__9 = _C21;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = _N21;
_be1._f31 = _g31[_be1._fk];
_lK3 = _be1;
}
var _Y9 = document.createElement("canvas");
var _T51 = _Y9.getContext("2d");
_gq1 = "20px arial";
_T51.font = _gq1;
_T51.textBaseline = "top";
_T51.textAlign = "left";
var _gM3 = _T51.measureText(_Qp1);
var width = _gM3.width;
var height = 20;
_Y9.width = width;
_Y9.height = height;
_T51.globalAlpha = 0.0;
_T51.globalCompositeOperation = "copy";
_T51.fillStyle = "black";
_T51.fillRect(0, 0, _Y9.width, _Y9.height);
_T51.globalAlpha = 1.0;
_T51.globalCompositeOperation = "source-over";
_T51.fillStyle = "white";
_T51.fillText(_Qp1, 0, 0);
}
function _qm1(_ng1) {
if (_tK3 >= _uK3) {
return false;
}
_tK3++;
if (_tK3 == 0) {
_sK3[_tK3] = new _Fk1(_ng1);
} else {
_sK3[_tK3].Multiply(_sK3[_tK3 - 1], _ng1);
}
return true;
}
function _rm1(_ng1) {
if (_tK3 < 0) {
return false;
}
__l1(_0m1, _sK3[_tK3]);
_tK3--;
return true;
}
function _om1() {
_tK3 = -1;
}
function _pm1() {
if (_tK3 < 0) {
return true;
}
return false;
}
function _sm1() {
if (_tK3 < 0) {
return false;
}
__l1(_0m1, _sK3[_tK3]);
return true;
}
function _tm1() {
if (_tK3 < 0) {
return false;
}
_tK3--;
return true;
}
function _OK3(_YK1, _a11, _b11, _f41) {
var _u51, _6u3, _hM3, _B51, _D51, _F51, _L31;
if (!_YK1._f31._o51) {
if (_YK1._Z9 == 0 || _YK1.__9 == 0) return;
_p51(_YK1);
}
_u51 = _131._v51(_Z41._w51, _YK1._f31._o51, _131._x51, 6);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += 6;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
_B51 = _u51._C51;
_D51 = _u51._E51;
_F51 = _u51._G51;
_a11 = _a11 + _YK1._9k;
_b11 = _b11 + _YK1._ak;
_B51[_H51 + 0] = _B51[_e61 + 0] = _B51[_f61 + 0] = _a11;
_B51[_H51 + 1] = _B51[_b61 + 1] = _B51[_f61 + 1] = _b11;
_B51[_b61 + 0] = _B51[_c61 + 0] = _B51[_d61 + 0] = _a11 + _YK1._bk;
_B51[_c61 + 1] = _B51[_d61 + 1] = _B51[_e61 + 1] = _b11 + _YK1._ck;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_F51[_H51 + 0] = _F51[_e61 + 0] = _F51[_f61 + 0] = _YK1.x / _YK1._f31.width;
_F51[_H51 + 1] = _F51[_b61 + 1] = _F51[_f61 + 1] = _YK1.y / _YK1._f31.height;
_F51[_b61 + 0] = _F51[_c61 + 0] = _F51[_d61 + 0] = (_YK1.x + _YK1._Z9) / _YK1._f31.width;
_F51[_c61 + 1] = _F51[_d61 + 1] = _F51[_e61 + 1] = (_YK1.y + _YK1.__9) / _YK1._f31.height;
_L31 = ((_f41 * 255.0) << 24) | 0xffffff;
var _Qt1 = _L31,
_Rt1 = _L31,
_iM3 = _L31,
_jM3 = _L31;
if (_wm3) {
_Qt1 &= 0xfffefffe;
_Rt1 &= 0xfffefffe;
_iM3 &= 0xfffefffe;
_jM3 &= 0xfffefffe;
_Rt1 |= 0x00010000;
_iM3 |= 0x00000001;
_jM3 |= 0x00010001;
}
_D51[_H51] = _D51[_f61] = _Qt1;
_D51[_b61] = _Rt1;
_D51[_c61] = _D51[_d61] = _iM3;
_D51[_e61] = _jM3;
}
function _hL3(_YK1, _do3, _eo3, _kM3, _lM3, _a11, _b11, _Mb1, _Nb1, _Yq1, _Zq1, _Lt1, _Mt1) {
var _u51, _6u3, _hM3, _B51, _D51, _F51, _L31;
if (!_YK1._f31._o51) {
if (_YK1._Z9 == 0 || _YK1.__9 == 0) return;
_p51(_YK1);
}
if (_Yq1 == undefined) {
_Yq1 = _Zq1 = _Lt1 = _Mt1 = 0xffffffff;
}
if (_Zq1 == undefined) {
_Zq1 = _Lt1 = _Mt1 = _Yq1;
}
_u51 = _131._v51(_Z41._w51, _YK1._f31._o51, _131._x51, 6);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += 6;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
_B51 = _u51._C51;
_D51 = _u51._E51;
_F51 = _u51._G51;
_B51[_H51 + 0] = _B51[_e61 + 0] = _B51[_f61 + 0] = _a11;
_B51[_H51 + 1] = _B51[_b61 + 1] = _B51[_f61 + 1] = _b11;
_B51[_b61 + 0] = _B51[_c61 + 0] = _B51[_d61 + 0] = _a11 + _Mb1;
_B51[_c61 + 1] = _B51[_d61 + 1] = _B51[_e61 + 1] = _b11 + _Nb1;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_F51[_H51 + 0] = _F51[_e61 + 0] = _F51[_f61 + 0] = _do3 / _YK1._f31.width;
_F51[_H51 + 1] = _F51[_b61 + 1] = _F51[_f61 + 1] = _eo3 / _YK1._f31.height;
_F51[_b61 + 0] = _F51[_c61 + 0] = _F51[_d61 + 0] = (_do3 + _kM3) / _YK1._f31.width;
_F51[_c61 + 1] = _F51[_d61 + 1] = _F51[_e61 + 1] = (_eo3 + _lM3) / _YK1._f31.height;
if (_wm3) {
_Yq1 &= 0xfffefffe;
_Zq1 &= 0xfffefffe;
_Lt1 &= 0xfffefffe;
_Mt1 &= 0xfffefffe;
_Zq1 |= 0x00010000;
_Lt1 |= 0x00000001;
_Mt1 |= 0x00010001;
}
_D51[_H51] = _D51[_f61] = _Yq1;
_D51[_b61] = _Zq1;
_D51[_c61] = _D51[_d61] = _Lt1;
_D51[_e61] = _Mt1;
}
function _PK3(_YK1, _a11, _b11, _so3, _to3, _3x1, _2x1, _081, _f41) {
var _u51, _6u3, _hM3, _B51, _D51, _F51, _Z9, __9;
if (!_YK1._f31._o51) {
if (_YK1._Z9 == 0 || _YK1.__9 == 0) return;
_p51(_YK1);
}
var _mM3 = _so3 * _YK1._dk + ~~_a11;
var _nM3 = _to3 * _YK1._ek + ~~_b11;
var _B21 = ~~(_so3 * _YK1._dk);
var _C21 = ~~(_to3 * _YK1._ek);
var _oM3 = __u1.right - __u1.left;
var _pM3 = __u1.bottom - __u1.top;
if (_2x1) {
_a11 = ~~(__u1.left / _B21) * _B21 + (~~_a11 % _B21) - _B21;
_mM3 = ((((_oM3 + (_B21 - 1)) / _B21) & 0xffffffff) + 2) * _B21 + ~~_a11 + 1;
}
if (_3x1) {
_b11 = ~~(__u1.top / _C21) * _C21 + (~~_b11 % _C21) - _C21;
_nM3 = ((((_pM3 + (_C21 - 1)) / _C21) & 0xffffffff) + 2) * _C21 + ~~_b11 + 1;
}
_a11 = ~~_a11;
_b11 = ~~_b11;
var _CK1 = 0;
var _DK1 = 0;
if (_B21 <= 0 || _C21 <= 0) return;
var _If = _N71(_081) | ~~((_f41 * 255.0) << 24);
var _Qt1 = _If,
_Rt1 = _If,
_iM3 = _If,
_jM3 = _If;
if (_wm3) {
_Qt1 &= 0xfffefffe;
_Rt1 &= 0xfffefffe;
_iM3 &= 0xfffefffe;
_jM3 &= 0xfffefffe;
_Rt1 |= 0x00010000;
_iM3 |= 0x00000001;
_jM3 |= 0x00010001;
}
var __11 = -_so3 * (_CK1 - _YK1._9k);
var _021 = -_to3 * (_DK1 - _YK1._ak);
var _qM3 = _so3 * _YK1._bk;
var _rM3 = _to3 * _YK1._ck;
var _j21 = _a11 + __11;
var _l21 = ~~_b11 + _021;
var _P41 = _YK1.x;
var _yZ1 = _P41 + _YK1._Z9;
var _J41 = _YK1.y;
var _c61 = _YK1.y + _YK1.__9;
_P41 /= _YK1._f31.width;
_yZ1 /= _YK1._f31.width;
_J41 /= _YK1._f31.height;
_c61 /= _YK1._f31.height;
var _Eu1 = _l21;
while (_j21 < _mM3) {
_l21 = _Eu1;
var _pu1 = _j21 + _qM3;
while (_l21 < _nM3) {
_u51 = _131._v51(_Z41._w51, _YK1._f31._o51, _131._x51, 6);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += 6;
_B51 = _u51._C51;
_D51 = _u51._E51;
_F51 = _u51._G51;
var _ru1 = _l21 + _rM3;
_D51[index] = _jM3;
_B51[index + 0] = _j21;
_B51[index + 1] = _l21;
_B51[index + 2] = _I51;
_F51[index + 0] = _P41;
_F51[index + 1] = _J41;
index += _y51;
_D51[index] = _Qt1;
_B51[index + 0] = _pu1;
_B51[index + 1] = _l21;
_B51[index + 2] = _I51;
_F51[index + 0] = _yZ1;
_F51[index + 1] = _J41;
index += _y51;
_D51[index] = _Rt1;
_B51[index + 0] = _pu1;
_B51[index + 1] = _ru1;
_B51[index + 2] = _I51;
_F51[index + 0] = _yZ1;
_F51[index + 1] = _c61;
index += _y51;
_D51[index] = _Rt1;
_B51[index + 0] = _pu1;
_B51[index + 1] = _ru1;
_B51[index + 2] = _I51;
_F51[index + 0] = _yZ1;
_F51[index + 1] = _c61;
index += _y51;
_D51[index] = _iM3;
_B51[index + 0] = _j21;
_B51[index + 1] = _ru1;
_B51[index + 2] = _I51;
_F51[index + 0] = _P41;
_F51[index + 1] = _c61;
index += _y51;
_D51[index] = _Qt1;
_B51[index + 0] = _j21;
_B51[index + 1] = _l21;
_B51[index + 2] = _I51;
_F51[index + 0] = _P41;
_F51[index + 1] = _J41;
if (!_3x1) {
break;
}
_l21 = _l21 + _C21;
}
if (!_2x1) {
break;
}
_j21 = _j21 + _B21;
}
}
function _SK3(_sM3, _Wp3, __e1, _tM3, _uM3, x, y, _4x1, _5x1, angle, color, alpha, _vM3) {
var _wM3 = _Rk1;
var _xM3 = _Gk1;
__e1 = ~~__e1 % _Wp3._cV2;
if (__e1 < 0) {
__e1 = __e1 + _Wp3._cV2;
}
var _yM3 = [];
_yM3[0] = color & 0xff;
_yM3[1] = (color >> 8) & 0xff;
_yM3[2] = (color >> 16) & 0xff;
_yM3[3] = (alpha * 255) & 0xff;
var _zM3 = new _Fk1();
_zM3._1m1(x, y, 0.0);
var _AM3 = new _Fk1();
_AM3._5m1(angle);
var _BM3 = new _Fk1();
_BM3._1m1(-_tM3 / _9V2, -_uM3 / _9V2, 0.0);
var _CM3 = new _Fk1();
_CM3._2m1(_9V2 * _4x1, _9V2 * _5x1, 1.0);
var _DM3 = new _Fk1();
_DM3.Multiply(_BM3, _CM3);
var _EM3 = new _Fk1();
_EM3.Multiply(_DM3, _AM3);
var _FM3 = new _Fk1();
_FM3.Multiply(_EM3, _zM3);
var translate = new _Fk1();
translate._1m1(0.5, 0.5, 0.0);
var scale = new _Fk1();
scale._2m1(1.0 / 32768.0, 1.0 / 32768.0, 1.0);
var _GM3 = new _Fk1();
_GM3.Multiply(scale, translate);
var _jV2 = _Wp3._iV2[__e1];
var _HM3 = [],
_IM3 = 0,
_JM3 = 0,
_KM3 = true;
for (var _X9 = 0; _X9 < _jV2._kV2; _X9++) {
var _fw1 = _jV2._lV2[_X9];
for (var _i21 = 0; _i21 < _IM3; ) {
var _LM3 = _HM3[_i21];
if (_LM3._mV2 < _fw1._Xf) {
_131._2r2(_Z41._ut2);
_131._4r2(_Z41._mt2);
_131._Sk1(false, false, false, false);
_131._Jk1(false);
_JM3 += _qn3(_sM3, _LM3, _FM3, _GM3, color, _yM3, false, _vM3);
_131._7r2(_IM3 - 1);
_131._2r2(_Z41._pt2);
_131._4r2(_Z41._ft2);
_131._Sk1(_wM3._Ue1, _wM3._Ve1, _wM3._We1, _wM3.alpha);
_131._Jk1(_xM3);
_KM3 = true;
_IM3--;
for (var _Sc1 = _i21; _Sc1 < _IM3; _Sc1++) {
_HM3[_Sc1] = _HM3[_Sc1 + 1];
}
} else {
_i21++;
}
}
if (_fw1._mV2 > 0) {
_HM3[_IM3++] = _fw1;
_131._0r2(true);
_131._2r2(_Z41._ut2);
_131._4r2(_Z41._lt2);
_131._Sk1(false, false, false, false);
_131._Jk1(false);
_KM3 = false;
}
if (_IM3 == 0) {
_131._0r2(false);
_KM3 = true;
}
_JM3 += _qn3(_sM3, _fw1, _FM3, _GM3, color, _yM3, _KM3 ? _qK3 : false, _vM3);
if (_fw1._mV2 > 0) {
_131._7r2(_IM3);
_131._2r2(_Z41._pt2);
_131._4r2(_Z41._ft2);
_131._Sk1(_wM3._Ue1, _wM3._Ve1, _wM3._We1, _wM3.alpha);
_131._Jk1(_xM3);
_KM3 = true;
}
}
if (_IM3 > 0) {
_131._2r2(_Z41._ut2);
_131._4r2(_Z41._mt2);
_131._Sk1(false, false, false, false);
_131._Jk1(false);
for (var _i21 = 0; _i21 < _IM3; _i21++) {
var _LM3 = _HM3[_i21];
_JM3 += _qn3(_sM3, _LM3, _FM3, _GM3, color, _yM3, false, _vM3);
}
}
_131._0r2(false);
_131._Sk1(_wM3._Ue1, _wM3._Ve1, _wM3._We1, _wM3.alpha);
_131._Jk1(_xM3);
}
function _TK3(_RH3, _MM3, _NM3, _OM3, _PM3, _QM3, _RM3, _vM3) {
var _SM3 = [];
(_SM3[0] = _QM3[0]), (_SM3[1] = _QM3[1]), (_SM3[2] = _QM3[2]), (_SM3[3] = 0);
var _TM3 = new _Fk1();
_TM3.Multiply(_MM3._wU2, _NM3);
var _UM3 = 1.0;
if (_RM3) {
_UM3 = _VM3(_MM3, _TM3) * _rK3;
}
var _nV2 = [],
_oV2 = [],
_WM3 = [];
for (var _X9 = 0; _X9 < 4; _X9++) {
_nV2[_X9] = _MM3._pV2[_X9];
_oV2[_X9] = _MM3._qV2[_X9];
_WM3[_X9] = _MM3._rV2[_X9];
}
var _XM3 = 0;
if (_MM3._rw1 !== 0) {
var _YM3 = _RH3[_MM3.index];
if (_YM3.type === _4U2) {
var _SH3 = _YM3;
for (var _i21 = 0; _i21 < _SH3._hU2.length; _i21++) {
var _cK1 = _SH3._hU2[_i21];
for (var _Sc1 = 0; _Sc1 < _cK1._kU2; _Sc1++) {
var _NU2 = _cK1._oU2[_Sc1];
if (_NU2._PU2 >= 0 && _NU2._TU2 > 0) {
var _ZM3 = _cK1._mU2[_NU2._PU2];
if (_ZM3 !== null && _ZM3 !== undefined) {
var _tU2 = _ZM3.type;
if (_tU2 === _7U2) {
_XM3 += __M3(_MM3, _ZM3, _NU2, _TM3, _QM3, _SM3, _nV2, _oV2, _WM3, _RM3);
} else if (_tU2 == _8U2 || _tU2 == _9U2) {
_XM3 += _0N3(_RH3, _MM3, _tU2, _ZM3, _NU2, _OM3, _TM3, _QM3, _SM3, _PM3, _nV2, _oV2, _WM3, _RM3, _vM3);
}
}
}
if (_NU2._QU2 >= 0 && _NU2._VU2 > 0) {
var _L31 = _cK1._nU2[_NU2._QU2]._L31;
var _LU2 = [];
_LU2[0] = ((_L31 & 0xff) * _QM3[0]) >> 8;
_LU2[1] = (((_L31 >> 8) & 0xff) * _QM3[1]) >> 8;
_LU2[2] = (((_L31 >> 16) & 0xff) * _QM3[2]) >> 8;
_LU2[3] = (((_L31 >> 24) & 0xff) * _QM3[3]) >> 8;
for (var _d21 = 0; _d21 < 4; _d21++) {
_LU2[_d21] = ((_LU2[_d21] * _nV2[_d21]) >> 8) + _oV2[_d21];
_LU2[_d21] = Math.max(0, Math.min(_LU2[_d21], 255));
}
var _1N3 = _LU2[0] | (_LU2[1] << 8) | (_LU2[2] << 16) | (_LU2[3] << 24);
var _2N3 = [];
_2N3[0] = ((_L31 & 0xff) * _SM3[0]) >> 8;
_2N3[1] = (((_L31 >> 8) & 0xff) * _SM3[1]) >> 8;
_2N3[2] = (((_L31 >> 16) & 0xff) * _SM3[2]) >> 8;
_2N3[3] = (((_L31 >> 24) & 0xff) * _SM3[3]) >> 8;
for (var _d21 = 0; _d21 < 4; _d21++) {
_2N3[_d21] = ((_2N3[_d21] * _nV2[_d21]) >> 8) + _WM3[_d21];
_2N3[_d21] = _a21(0, _c21(_2N3[_d21], 255));
}
var _3N3 = _2N3[0] | (_2N3[1] << 8) | (_2N3[2] << 16) | (_2N3[3] << 24);
if (_RM3 && _NU2._YU2 > 0) {
var _q41 = _NU2._YU2 * 6;
var _u51 = _131._v51(_Z41._w51, null, _131._x51, _q41);
var _y51 = _u51._z51() >> 2;
var _4N3 = _y51 * _u51._A51;
_u51._A51 += _q41;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
var _F51 = _u51._G51;
_XM3 += _NU2._YU2 * 2;
for (var _d21 = 0; _d21 < _NU2._YU2; _d21++) {
var _l12 = _NU2._6V2[_d21 * 2 + 0],
_m12 = _NU2._6V2[_d21 * 2 + 1];
var _5N3 = _NU2._2V2[_l12 * 2 + 0],
_6N3 = _NU2._2V2[_l12 * 2 + 1];
var _7N3 = _NU2._7V2[_l12 * 2 + 0],
_8N3 = _NU2._7V2[_l12 * 2 + 1];
var _9N3 = _NU2._2V2[_m12 * 2 + 0],
_aN3 = _NU2._2V2[_m12 * 2 + 1];
var _bN3 = _NU2._7V2[_m12 * 2 + 0],
_cN3 = _NU2._7V2[_m12 * 2 + 1];
var __11 = _5N3 * _TM3._Z11[_cm1] + _6N3 * _TM3._Z11[_dm1] + _TM3._Z11[_fm1],
_021 = _5N3 * _TM3._Z11[_gm1] + _6N3 * _TM3._Z11[_6l1] + _TM3._Z11[_im1],
_121 = _9N3 * _TM3._Z11[_cm1] + _aN3 * _TM3._Z11[_dm1] + _TM3._Z11[_fm1],
_221 = _9N3 * _TM3._Z11[_gm1] + _aN3 * _TM3._Z11[_6l1] + _TM3._Z11[_im1];
_7N3 *= _UM3;
_8N3 *= _UM3;
_bN3 *= _UM3;
_cN3 *= _UM3;
var _961 = _7N3 * _TM3._Z11[_cm1] + _8N3 * _TM3._Z11[_dm1] + __11,
_a61 = _7N3 * _TM3._Z11[_gm1] + _8N3 * _TM3._Z11[_6l1] + _021,
_BO2 = _bN3 * _TM3._Z11[_cm1] + _cN3 * _TM3._Z11[_dm1] + _121,
_CO2 = _bN3 * _TM3._Z11[_gm1] + _cN3 * _TM3._Z11[_6l1] + _221;
_B51[_4N3 + 0] = __11;
_B51[_4N3 + 1] = _021;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _1N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _121;
_B51[_4N3 + 1] = _221;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _1N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _961;
_B51[_4N3 + 1] = _a61;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _3N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _961;
_B51[_4N3 + 1] = _a61;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _3N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _121;
_B51[_4N3 + 1] = _221;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _1N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _BO2;
_B51[_4N3 + 1] = _CO2;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _3N3;
_4N3 += _y51;
}
}
var _q41 = _NU2._VU2 * 3;
var _u51 = _131._v51(_Z41._w51, null, _131._x51, _q41);
var _y51 = _u51._z51() >> 2;
var _4N3 = _y51 * _u51._A51;
_u51._A51 += _q41;
_B51 = _u51._C51;
_D51 = _u51._E51;
_F51 = _u51._G51;
_XM3 += _NU2._VU2;
var _dN3 = 0;
for (var _d21 = _NU2._VU2 * 3; _d21 > 0; --_d21) {
var index = _NU2._3V2[_dN3++];
var _eN3 = _NU2._2V2[index * 2];
var _fN3 = _NU2._2V2[index * 2 + 1];
var x = _eN3 * _TM3._Z11[_cm1] + _fN3 * _TM3._Z11[_dm1] + _TM3._Z11[_fm1];
var y = _eN3 * _TM3._Z11[_gm1] + _fN3 * _TM3._Z11[_6l1] + _TM3._Z11[_im1];
_B51[_4N3 + 0] = x;
_B51[_4N3 + 1] = y;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _1N3;
_4N3 += _y51;
}
}
}
}
}
}
return _XM3;
}
function _0N3(_RH3, _MM3, _gN3, _hN3, _iN3, _OM3, _jN3, _QM3, _kN3, _PM3, _lN3, _mN3, _nN3, _RM3, _vM3) {
var _B51,
_D51,
_F51,
_be1 = null,
_UM3 = 1.0,
_oN3 = new _Fk1();
if (_RM3) {
_UM3 = _VM3(_MM3, _jN3) * _rK3;
}
if (_gN3 === _8U2) {
var _pN3 = _hN3;
if (_pN3._MT2 > -1) {
_be1 = _vM3[_pN3._MT2];
var _qN3 = new _Fk1();
var _rN3 = new _Fk1();
var _sN3 = new _Fk1();
var _tN3 = new _Fk1();
_rN3._1m1(_be1.x / _be1._f31.width, _be1.y / _be1._f31.height, 0);
_qN3._2m1(_be1._Z9 / _be1._f31.width, _be1.__9 / _be1._f31.height, 1.0);
_sN3.Multiply(_qN3, _rN3);
_tN3.Multiply(_OM3, _sN3);
_oN3.Multiply(_pN3._wU2, _tN3);
} else {
_be1 = _pN3._F71;
_oN3.Multiply(_pN3._wU2, _OM3);
}
} else if (_gN3 === _9U2) {
var _pN3 = _hN3;
if (_pN3._BU2 !== -1) {
var _uN3 = _RH3[_pN3._BU2];
if (_uN3._MT2 > -1) {
_be1 = _vM3[_uN3._MT2];
var _o11 = _be1._Z9 / _be1._dk;
var _p11 = _be1.__9 / _be1._ek;
var _rN3 = new _Fk1();
var _qN3 = new _Fk1();
var _sN3 = new _Fk1();
_rN3._1m1(_be1.x / _o11, _be1.y / _p11, 0);
_qN3._2m1((1.0 / _be1._f31.width) * _o11, (1.0 / _be1._f31.height) * _p11, 1.0);
_sN3.Multiply(_rN3, _qN3);
_oN3.Multiply(_pN3._wU2, _sN3);
if (_pN3._zU2 === _HT2 || _pN3._zU2 === _JT2) {
_131._Wq2(0, true);
} else {
_131._Wq2(0, false);
}
} else {
var _Gx2 = _uN3._Gx2;
_be1 = { _f31: _Gx2 };
if (_Gx2 !== null) {
var _qN3 = new _Fk1();
_qN3._2m1(1.0 / _Gx2.width, 1.0 / _Gx2.height, 1.0);
_oN3.Multiply(_pN3._wU2, _qN3);
if (_pN3._zU2 === _HT2 || _pN3._zU2 === _JT2) {
_131._Wq2(0, true);
} else {
_131._Wq2(0, false);
}
}
}
}
}
var _XM3 = 0;
if (_be1 !== null) {
if (!_be1._f31._o51) {
if (_be1._Z9 == 0 || _be1.__9 == 0) return;
_p51(_be1);
}
_XM3 += _iN3._TU2;
if (_RM3 && _iN3._WU2 > 0) {
_XM3 += _iN3._WU2 * 2;
var _LU2 = [];
for (var _d21 = 0; _d21 < 4; _d21++) {
_LU2[_d21] = ((_QM3[_d21] * _lN3[_d21]) >> 8) + _mN3[_d21];
_LU2[_d21] = Math.max(0, Math.min(_LU2[_d21], 255));
}
var _1N3 = _LU2[0] | (_LU2[1] << 8) | (_LU2[2] << 16) | (_LU2[3] << 24);
var _2N3 = [];
for (var _d21 = 0; _d21 < 4; _d21++) {
_2N3[_d21] = ((_kN3[_d21] * _lN3[_d21]) >> 8) + _nN3[_d21];
_2N3[_d21] = Math.max(0, Math.min(_2N3[_d21], 255));
}
var _3N3 = _2N3[0] | (_2N3[1] << 8) | (_2N3[2] << 16) | (_2N3[3] << 24);
var _q41 = _iN3._WU2 * 6;
var _u51 = _131._v51(_Z41._w51, _be1._f31._o51, _131._x51, _q41);
var _y51 = _u51._z51() >> 2;
var _4N3 = _y51 * _u51._A51;
_u51._A51 += _q41;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
var _F51 = _u51._G51;
var _vN3 = 0;
for (_d21 = _iN3._WU2; _d21 > 0; _d21--) {
var _l12 = _iN3._4V2[_vN3++],
_m12 = _iN3._4V2[_vN3++];
var _wN3 = _l12 * 2,
_xN3 = _l12 * 2;
var _5N3 = _iN3.__U2[_wN3];
_wN3++;
var _6N3 = _iN3.__U2[_wN3];
var _7N3 = _iN3._5V2[_xN3];
_xN3++;
var _8N3 = _iN3._5V2[_xN3];
_wN3 = _m12 * 2;
_xN3 = _m12 * 2;
var _9N3 = _iN3.__U2[_wN3];
_wN3++;
var _aN3 = _iN3.__U2[_wN3];
var _bN3 = _iN3._5V2[_xN3];
_xN3++;
var _cN3 = _iN3._5V2[_xN3];
var __11 = _5N3 * _jN3._Z11[_cm1] + _6N3 * _jN3._Z11[_dm1] + _jN3._Z11[_fm1],
_021 = _5N3 * _jN3._Z11[_gm1] + _6N3 * _jN3._Z11[_6l1] + _jN3._Z11[_im1],
_121 = _9N3 * _jN3._Z11[_cm1] + _aN3 * _jN3._Z11[_dm1] + _jN3._Z11[_fm1],
_221 = _9N3 * _jN3._Z11[_gm1] + _aN3 * _jN3._Z11[_6l1] + _jN3._Z11[_im1];
_7N3 *= _UM3;
_8N3 *= _UM3;
_bN3 *= _UM3;
_cN3 *= _UM3;
var _961 = _7N3 * _jN3._Z11[_cm1] + _8N3 * _jN3._Z11[_dm1] + __11,
_a61 = _7N3 * _jN3._Z11[_gm1] + _8N3 * _jN3._Z11[_6l1] + _021,
_BO2 = _bN3 * _jN3._Z11[_cm1] + _cN3 * _jN3._Z11[_dm1] + _121,
_CO2 = _bN3 * _jN3._Z11[_gm1] + _cN3 * _jN3._Z11[_6l1] + _221;
_7N3 += _5N3;
_8N3 += _6N3;
_bN3 += _9N3;
_cN3 += _aN3;
_B51[_4N3 + 0] = __11;
_B51[_4N3 + 1] = _021;
_B51[_4N3 + 2] = _I51;
_F51[_4N3 + 0] = _5N3 * _oN3._Z11[_cm1] + _6N3 * _oN3._Z11[_dm1] + _oN3._Z11[_fm1];
_F51[_4N3 + 1] = _5N3 * _oN3._Z11[_gm1] + _6N3 * _oN3._Z11[_6l1] + _oN3._Z11[_im1];
_D51[_4N3] = _1N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _121;
_B51[_4N3 + 1] = _221;
_B51[_4N3 + 2] = _I51;
_F51[_4N3 + 0] = _9N3 * _oN3._Z11[_cm1] + _aN3 * _oN3._Z11[_dm1] + _oN3._Z11[_fm1];
_F51[_4N3 + 1] = _9N3 * _oN3._Z11[_gm1] + _aN3 * _oN3._Z11[_6l1] + _oN3._Z11[_im1];
_D51[_4N3] = _1N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _961;
_B51[_4N3 + 1] = _a61;
_B51[_4N3 + 2] = _I51;
_F51[_4N3 + 0] = _7N3 * _oN3._Z11[_cm1] + _8N3 * _oN3._Z11[_dm1] + _oN3._Z11[_fm1];
_F51[_4N3 + 1] = _7N3 * _oN3._Z11[_gm1] + _8N3 * _oN3._Z11[_6l1] + _oN3._Z11[_im1];
_D51[_4N3] = _3N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _961;
_B51[_4N3 + 1] = _a61;
_B51[_4N3 + 2] = _I51;
_F51[_4N3 + 0] = _7N3 * _oN3._Z11[_cm1] + _8N3 * _oN3._Z11[_dm1] + _oN3._Z11[_fm1];
_F51[_4N3 + 1] = _7N3 * _oN3._Z11[_gm1] + _8N3 * _oN3._Z11[_6l1] + _oN3._Z11[_im1];
_D51[_4N3] = _3N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _121;
_B51[_4N3 + 1] = _221;
_B51[_4N3 + 2] = _I51;
_F51[_4N3 + 0] = _9N3 * _oN3._Z11[_cm1] + _aN3 * _oN3._Z11[_dm1] + _oN3._Z11[_fm1];
_F51[_4N3 + 1] = _9N3 * _oN3._Z11[_gm1] + _aN3 * _oN3._Z11[_6l1] + _oN3._Z11[_im1];
_D51[_4N3] = _1N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _BO2;
_B51[_4N3 + 1] = _CO2;
_B51[_4N3 + 2] = _I51;
_F51[_4N3 + 0] = _bN3 * _oN3._Z11[_cm1] + _cN3 * _oN3._Z11[_dm1] + _oN3._Z11[_fm1];
_F51[_4N3 + 1] = _bN3 * _oN3._Z11[_gm1] + _cN3 * _oN3._Z11[_6l1] + _oN3._Z11[_im1];
_D51[_4N3] = _3N3;
_4N3 += _y51;
}
}
var _q41 = _iN3._TU2 * 3;
var _u51 = _131._v51(_Z41._w51, _be1._f31._o51, _131._x51, _q41);
var _y51 = _u51._z51() >> 2;
var _4N3 = _y51 * _u51._A51;
_u51._A51 += _q41;
(_B51 = _u51._C51), (_D51 = _u51._E51), (_F51 = _u51._G51);
var _dN3 = 0;
for (var _d21 = _iN3._TU2 * 3; _d21 > 0; --_d21) {
var index = _iN3._1V2[_dN3++];
var _eN3 = _iN3.__U2[index * 2];
var _fN3 = _iN3.__U2[index * 2 + 1];
var x = _eN3 * _jN3._Z11[_cm1] + _fN3 * _jN3._Z11[_dm1] + _jN3._Z11[_fm1];
var y = _eN3 * _jN3._Z11[_gm1] + _fN3 * _jN3._Z11[_6l1] + _jN3._Z11[_im1];
_B51[_4N3 + 0] = x;
_B51[_4N3 + 1] = y;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _PM3;
_F51[_4N3 + 0] = _eN3 * _oN3._Z11[_cm1] + _fN3 * _oN3._Z11[_dm1] + _oN3._Z11[_fm1];
_F51[_4N3 + 1] = _eN3 * _oN3._Z11[_gm1] + _fN3 * _oN3._Z11[_6l1] + _oN3._Z11[_im1];
_4N3 += _y51;
}
}
return _XM3;
}
function __M3(_MM3, _hN3, _iN3, _jN3, _QM3, _kN3, _lN3, _mN3, _nN3, _RM3) {
var _UM3 = 1.0;
if (_RM3) {
_UM3 = _VM3(_MM3, _jN3) * _rK3;
}
var _yN3 = false;
var _pN3 = _hN3,
_L31 = _pN3._L31,
_XM3 = 0,
_d21 = 0;
var _LU2 = [];
var _b21 = _L31 & 0xff,
_k41 = (_L31 >> 8) & 0xff,
_e21 = (_L31 >> 16) & 0xff,
_l41 = (_L31 >> 24) & 0xff;
_LU2[0] = (_b21 * _QM3[0]) >> 8;
_LU2[1] = (_k41 * _QM3[1]) >> 8;
_LU2[2] = (_e21 * _QM3[2]) >> 8;
_LU2[3] = (_l41 * _QM3[3]) >> 8;
for (_d21 = 0; _d21 < 4; _d21++) {
_LU2[_d21] = ((_LU2[_d21] * _lN3[_d21]) >> 8) + _mN3[_d21];
_LU2[_d21] = _a21(0, _c21(_LU2[_d21], 255));
}
var _1N3 = _LU2[0] | (_LU2[1] << 8) | (_LU2[2] << 16) | (_LU2[3] << 24);
var _2N3 = [];
_2N3[0] = ((_L31 & 0xff) * _kN3[0]) >> 8;
_2N3[1] = (((_L31 >> 8) & 0xff) * _kN3[1]) >> 8;
_2N3[2] = (((_L31 >> 16) & 0xff) * _kN3[2]) >> 8;
_2N3[3] = (((_L31 >> 24) & 0xff) * _kN3[3]) >> 8;
for (_d21 = 0; _d21 < 4; _d21++) {
_2N3[_d21] = ((_2N3[_d21] * _lN3[_d21]) >> 8) + _nN3[_d21];
_2N3[_d21] = _a21(0, _c21(_2N3[_d21], 255));
}
var _3N3 = _2N3[0] | (_2N3[1] << 8) | (_2N3[2] << 16) | (_2N3[3] << 24);
if (_yN3) {
} else if (_RM3 && _iN3._WU2 > 0) {
_XM3 += _iN3._WU2 * 2;
var _q41 = _iN3._WU2 * 6;
var _u51 = _131._v51(_Z41._w51, null, _131._x51, _q41);
var _y51 = _u51._z51() >> 2;
var _4N3 = _y51 * _u51._A51;
_u51._A51 += _q41;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
var _vN3 = 0;
for (_d21 = _iN3._WU2; _d21 > 0; _d21--) {
var _l12 = _iN3._4V2[_vN3++],
_m12 = _iN3._4V2[_vN3++];
var _wN3 = _l12 * 2,
_xN3 = _l12 * 2;
var _5N3 = _iN3.__U2[_wN3];
_wN3++;
var _6N3 = _iN3.__U2[_wN3];
var _7N3 = _iN3._5V2[_xN3];
_xN3++;
var _8N3 = _iN3._5V2[_xN3];
_wN3 = _m12 * 2;
_xN3 = _m12 * 2;
var _9N3 = _iN3.__U2[_wN3];
_wN3++;
var _aN3 = _iN3.__U2[_wN3];
var _bN3 = _iN3._5V2[_xN3];
_xN3++;
var _cN3 = _iN3._5V2[_xN3];
var __11 = _5N3 * _jN3._Z11[_cm1] + _6N3 * _jN3._Z11[_dm1] + _jN3._Z11[_fm1],
_021 = _5N3 * _jN3._Z11[_gm1] + _6N3 * _jN3._Z11[_6l1] + _jN3._Z11[_im1],
_121 = _9N3 * _jN3._Z11[_cm1] + _aN3 * _jN3._Z11[_dm1] + _jN3._Z11[_fm1],
_221 = _9N3 * _jN3._Z11[_gm1] + _aN3 * _jN3._Z11[_6l1] + _jN3._Z11[_im1];
_7N3 *= _UM3;
_8N3 *= _UM3;
_bN3 *= _UM3;
_cN3 *= _UM3;
var _961 = _7N3 * _jN3._Z11[_cm1] + _8N3 * _jN3._Z11[_dm1] + __11,
_a61 = _7N3 * _jN3._Z11[_gm1] + _8N3 * _jN3._Z11[_6l1] + _021,
_BO2 = _bN3 * _jN3._Z11[_cm1] + _cN3 * _jN3._Z11[_dm1] + _121,
_CO2 = _bN3 * _jN3._Z11[_gm1] + _cN3 * _jN3._Z11[_6l1] + _221;
_B51[_4N3 + 0] = __11;
_B51[_4N3 + 1] = _021;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _1N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _121;
_B51[_4N3 + 1] = _221;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _1N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _961;
_B51[_4N3 + 1] = _a61;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _3N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _961;
_B51[_4N3 + 1] = _a61;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _3N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _121;
_B51[_4N3 + 1] = _221;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _1N3;
_4N3 += _y51;
_B51[_4N3 + 0] = _BO2;
_B51[_4N3 + 1] = _CO2;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _3N3;
_4N3 += _y51;
}
}
var _q41 = _iN3._TU2 * 3;
var _u51 = _131._v51(_Z41._w51, null, _131._x51, _q41);
var _y51 = _u51._z51() >> 2;
var _4N3 = _y51 * _u51._A51;
_u51._A51 += _q41;
_B51 = _u51._C51;
_D51 = _u51._E51;
_XM3 += _iN3._TU2;
var _dN3 = 0;
for (var _d21 = _iN3._TU2 * 3; _d21 > 0; --_d21) {
var index = _iN3._1V2[_dN3++];
var _eN3 = _iN3.__U2[index * 2];
var _fN3 = _iN3.__U2[index * 2 + 1];
var x = _eN3 * _jN3._Z11[_cm1] + _fN3 * _jN3._Z11[_dm1] + _jN3._Z11[_fm1];
var y = _eN3 * _jN3._Z11[_gm1] + _fN3 * _jN3._Z11[_6l1] + _jN3._Z11[_im1];
_B51[_4N3 + 0] = x;
_B51[_4N3 + 1] = y;
_B51[_4N3 + 2] = _I51;
_D51[_4N3] = _1N3;
_4N3 += _y51;
}
return _XM3;
}
function _VM3(_MM3, _jN3) {
if (_qK3) {
if (_MM3._UM3 !== undefined) {
return _MM3._UM3;
}
var _Mm3 = _9m1(_0m1);
var _lX2 = _9m1(_lY2);
var _mX2 = _9m1(_pY2);
var _zN3 = new _Fk1();
_zN3.Multiply(_Mm3, _lX2);
var _AN3 = new _Fk1();
_AN3.Multiply(_zN3, _mX2);
var _BN3 = new _Fk1();
_BN3.Multiply(_jN3, _AN3);
var _CN3 = _131._7p2,
_DN3 = _131._8p2;
var _EN3 = [];
_EN3[0] = 0.0;
_EN3[1] = 0.0;
_EN3[2] = 1.0;
_EN3[3] = 0.0;
_EN3[4] = 0.0;
_EN3[5] = 1.0;
var _FN3 = [];
for (var _X9 = 0; _X9 < 3; _X9++) {
var _5W2 = _EN3[_X9 * 2] * _BN3._Z11[_Oe3] + _EN3[_X9 * 2 + 1] * _BN3._Z11[_Pe3] + _I51 * _BN3._Z11[_Qe3] + _BN3._Z11[_Re3];
var index = _X9 * 2 + 0;
_FN3[index] = _EN3[_X9 * 2] * _BN3._Z11[_cm1] + _EN3[_X9 * 2 + 1] * _BN3._Z11[_dm1] + _I51 * _BN3._Z11[_em1] + _BN3._Z11[_fm1];
_FN3[index] = _FN3[index] / _5W2;
_FN3[index] = _FN3[index] * _CN3;
index++;
_FN3[index] = _EN3[_X9 * 2] * _BN3._Z11[_gm1] + _EN3[_X9 * 2 + 1] * _BN3._Z11[_6l1] + _I51 * _BN3._Z11[_hm1] + _BN3._Z11[_im1];
_FN3[index] = _FN3[index] / _5W2;
_FN3[index] = _FN3[index] * _DN3;
}
var _GN3 = [];
_GN3[0] = _FN3[2] - _FN3[0];
_GN3[1] = _FN3[3] - _FN3[1];
_GN3[2] = _FN3[4] - _FN3[0];
_GN3[3] = _FN3[5] - _FN3[1];
var _HN3 = 0.0,
_UM3 = 1.0,
index = 0;
for (var _X9 = 0; _X9 < 2; _X9++) {
var length = _GN3[index] * _GN3[index];
index++;
length += _GN3[index] * _GN3[index];
index++;
if (length > 0.0) {
length = Math.sqrt(length);
}
_HN3 = Math.max(length, _HN3);
}
_HN3 *= 0.5;
if (_HN3 > 0.0) {
_UM3 = 1.0 / _HN3;
}
_MM3._UM3 = _UM3;
return _UM3;
}
return 1.0;
}
function _QK3(_YK1, _CK1, _DK1, _a11, _b11, _so3, _to3, _9N1, _081, _Zq1, _Lt1, _Mt1, _f41) {
var _u51, _6u3, _hM3, _B51, _D51, _F51;
if (_YK1 === undefined) {
debug("Attempting to draw texture that is not loaded");
return;
}
if (!_YK1._f31._o51) {
if (_YK1._Z9 == 0 || _YK1.__9 == 0) return;
_p51(_YK1);
}
_u51 = _131._v51(_Z41._w51, _YK1._f31._o51, _131._x51, 6);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += 6;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
_B51 = _u51._C51;
_D51 = _u51._E51;
_F51 = _u51._G51;
var __11 = -_so3 * (_CK1 - _YK1._9k);
var _021 = -_to3 * (_DK1 - _YK1._ak);
var _121 = __11 + _so3 * _YK1._bk;
var _221 = _021 + _to3 * _YK1._ck;
if (Math.abs(_9N1) < 0.001) {
_B51[_H51 + 0] = _B51[_e61 + 0] = _B51[_f61 + 0] = _a11 + __11;
_B51[_H51 + 1] = _B51[_b61 + 1] = _B51[_f61 + 1] = _b11 + _021;
_B51[_b61 + 0] = _B51[_c61 + 0] = _B51[_d61 + 0] = _a11 + _121;
_B51[_c61 + 1] = _B51[_d61 + 1] = _B51[_e61 + 1] = _b11 + _221;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
} else {
var _E21 = Math.sin(_9N1);
var _F21 = Math.cos(_9N1);
var _dG2 = __11 * _F21;
var _eG2 = _121 * _F21;
var _fG2 = _021 * _F21;
var _gG2 = _221 * _F21;
var _hG2 = __11 * _E21;
var _iG2 = _121 * _E21;
var _jG2 = _021 * _E21;
var _kG2 = _221 * _E21;
_B51[_H51 + 0] = _B51[_f61 + 0] = _a11 + _dG2 + _jG2;
_B51[_H51 + 1] = _B51[_f61 + 1] = _b11 - _hG2 + _fG2;
_B51[_c61 + 0] = _B51[_d61 + 0] = _a11 + _eG2 + _kG2;
_B51[_c61 + 1] = _B51[_d61 + 1] = _b11 - _iG2 + _gG2;
_B51[_b61 + 1] = _b11 - _iG2 + _fG2;
_B51[_b61 + 0] = _a11 + _eG2 + _jG2;
_B51[_e61 + 0] = _a11 + _dG2 + _kG2;
_B51[_e61 + 1] = _b11 - _hG2 + _gG2;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
}
_F51[_H51 + 0] = _F51[_e61 + 0] = _F51[_f61 + 0] = _YK1.x / _YK1._f31.width;
_F51[_H51 + 1] = _F51[_b61 + 1] = _F51[_f61 + 1] = _YK1.y / _YK1._f31.height;
_F51[_b61 + 0] = _F51[_c61 + 0] = _F51[_d61 + 0] = (_YK1.x + _YK1._Z9) / _YK1._f31.width;
_F51[_c61 + 1] = _F51[_d61 + 1] = _F51[_e61 + 1] = (_YK1.y + _YK1.__9) / _YK1._f31.height;
var _l41 = ~~(_f41 * 255.0);
_l41 = _l41 - ((_l41 - 255) & ((255 - _l41) >> 31));
_l41 = _l41 - (_l41 & (_l41 >> 31));
_l41 = _l41 << 24;
_081 = _l41 | (_081 & 0xffffff);
if (_Zq1 == undefined) {
_Zq1 = _081;
_Lt1 = _081;
_Mt1 = _081;
} else {
_Zq1 = (_Zq1 & 0xffffff) | _l41;
_Lt1 = (_Lt1 & 0xffffff) | _l41;
_Mt1 = (_Mt1 & 0xffffff) | _l41;
}
if (_wm3) {
_081 &= 0xfffefffe;
_Zq1 &= 0xfffefffe;
_Lt1 &= 0xfffefffe;
_Mt1 &= 0xfffefffe;
_Zq1 |= 0x00010000;
_Lt1 |= 0x00000001;
_Mt1 |= 0x00010001;
}
_D51[_H51] = _D51[_f61] = _081;
_D51[_b61] = _Zq1;
_D51[_c61] = _D51[_d61] = _Lt1;
_D51[_e61] = _Mt1;
}
function _RK3(_YK1, _t21, _u21, _R11, _S11, _9u1, _au1, _Bo3, _Co3, _f41) {
var _L31 = ~~((_f41 * 255.0) << 24) | 0xffffff;
var _Rt1 = _L31;
var _iM3 = _L31;
var _jM3 = _L31;
var _u51, _6u3, _hM3, _B51, _D51, _F51;
if (!_YK1._f31._o51) {
if (_YK1._Z9 == 0 || _YK1.__9 == 0) return;
_p51(_YK1);
}
_u51 = _131._v51(_Z41._w51, _YK1._f31._o51, _131._x51, 6);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += 6;
var _H51 = index,
_b61 = _H51 + _y51,
_c61 = _b61 + _y51,
_d61 = _c61 + _y51,
_e61 = _d61 + _y51,
_f61 = _e61 + _y51;
_B51 = _u51._C51;
_D51 = _u51._E51;
_F51 = _u51._G51;
_B51[_H51 + 0] = _B51[_f61 + 0] = _t21;
_B51[_H51 + 1] = _B51[_f61 + 1] = _u21;
_B51[_b61 + 0] = _R11;
_B51[_b61 + 1] = _S11;
_B51[_c61 + 0] = _B51[_d61 + 0] = _9u1;
_B51[_c61 + 1] = _B51[_d61 + 1] = _au1;
_B51[_e61 + 0] = _Bo3;
_B51[_e61 + 1] = _Co3;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_F51[_H51 + 0] = _F51[_e61 + 0] = _F51[_f61 + 0] = _YK1.x / _YK1._f31.width;
_F51[_H51 + 1] = _F51[_b61 + 1] = _F51[_f61 + 1] = _YK1.y / _YK1._f31.height;
_F51[_b61 + 0] = _F51[_c61 + 0] = _F51[_d61 + 0] = (_YK1.x + _YK1._Z9) / _YK1._f31.width;
_F51[_c61 + 1] = _F51[_d61 + 1] = _F51[_e61 + 1] = (_YK1.y + _YK1.__9) / _YK1._f31.height;
if (_wm3) {
_L31 &= 0xfffefffe;
_Rt1 &= 0xfffefffe;
_iM3 &= 0xfffefffe;
_jM3 &= 0xfffefffe;
_Rt1 |= 0x00010000;
_iM3 |= 0x00000001;
_jM3 |= 0x00010001;
}
_D51[_H51] = _D51[_f61] = _L31;
_D51[_b61] = _Rt1;
_D51[_c61] = _D51[_d61] = _iM3;
_D51[_e61] = _jM3;
}
function _NK3(_891, _a11, _b11, _Mb1, _Nb1, _Lo2) {
_131._nr2(_891, _a11, _b11, _Mb1, _Nb1, _Lo2);
}
function _UK3(_YK1, _0C1, _1C1, _931, _a31, _a11, _b11, _Dm1, _Em1, _ZM1, _f41) {
if (!_YK1) return;
if (!_YK1._f31) return;
if (!_YK1._f31.complete) return;
_ZM1 &= 0xffffff;
_ZM1 |= (_f41 * 255) << 24;
if (_0C1 < _YK1._9k) {
var _Eo3 = _YK1._9k - _0C1;
_a11 += _Eo3;
_931 -= _Eo3;
_0C1 = 0;
} else {
_0C1 -= _YK1._9k;
}
if (_1C1 < _YK1._ak) {
var _Eo3 = _YK1._ak - _1C1;
_b11 += _Eo3;
_a31 -= _Eo3;
_1C1 = 0;
} else {
_1C1 -= _YK1._ak;
}
if (_931 > _YK1._bk - _0C1) _931 = _YK1._bk - _0C1;
if (_a31 > _YK1._ck - _1C1) _a31 = _YK1._ck - _1C1;
if (_931 <= 0 || _a31 <= 0) return;
_hL3(_YK1, _0C1 + _YK1.x, _1C1 + _YK1.y, _931, _a31, _a11, _b11, _931 * _Dm1, _a31 * _Em1, _ZM1);
}
function _VK3(_t21, _u21, _R11, _S11, _xt1) {
var _u51, _6u3, _hM3, _B51, _D51, _F51;
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_xt1 = yyGetBool(_xt1);
var _N_2 = _Z41._w51;
var _d31 = 6;
if (_xt1) {
_N_2 = _Z41._y71;
_d31 = 8;
}
_u51 = _131._v51(_N_2, null, _131._x51, _d31);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _d31;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
var _IN3 = _f61 + _y51;
var _JN3 = _IN3 + _y51;
_B51 = _u51._C51;
_D51 = _u51._E51;
var _L31 = ~~((_K71 * 255.0) << 24) | (_L71 & 0xffffff);
if (!_xt1) {
if (_yK3 != 0.0) {
_R11 += _yK3;
_S11 += _yK3;
}
_B51[_H51 + 0] = _B51[_e61 + 0] = _B51[_f61 + 0] = _t21;
_B51[_H51 + 1] = _B51[_b61 + 1] = _B51[_f61 + 1] = _u21;
_B51[_b61 + 0] = _B51[_c61 + 0] = _B51[_d61 + 0] = _R11;
_B51[_c61 + 1] = _B51[_d61 + 1] = _B51[_e61 + 1] = _S11;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_D51[_H51] = _D51[_b61] = _D51[_c61] = _D51[_d61] = _D51[_e61] = _D51[_f61] = _L31;
} else {
if (_yK3 != 0.0) {
_t21 += _yK3;
_u21 += _yK3;
_R11 += _yK3;
_S11 += _yK3;
}
_D51[_H51] = _D51[_b61] = _D51[_c61] = _D51[_d61] = _D51[_e61] = _D51[_f61] = _D51[_IN3] = _D51[_JN3] = _L31;
_B51[_f61 + 0] = _B51[_JN3 + 0] = _B51[_IN3 + 0] = _B51[_H51 + 0] = _t21;
_B51[_JN3 + 1] = _B51[_c61 + 1] = _B51[_b61 + 1] = _B51[_H51 + 1] = _u21;
_B51[_e61 + 0] = _B51[_d61 + 0] = _B51[_c61 + 0] = _B51[_b61 + 0] = _R11;
_B51[_d61 + 1] = _B51[_e61 + 1] = _B51[_f61 + 1] = _B51[_IN3 + 1] = _S11;
_B51[_JN3 + 1] = _u21;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _B51[_IN3 + 2] = _B51[_JN3 + 2] = _I51;
}
}
function _WK3(_t21, _u21, _R11, _S11, _Ct1, _Dt1, _Yq1, _Zq1, _xt1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_Ct1 = yyGetReal(_Ct1);
_Dt1 = yyGetReal(_Dt1);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
_xt1 = yyGetBool(_xt1);
if (_yK3 != 0.0) {
_t21 += _yK3;
_u21 += _yK3;
_R11 += _yK3;
_S11 += _yK3;
}
var _X9, _Z9, __9;
_Z9 = _Ct1;
__9 = _Dt1;
if (_Z9 > Math.abs(_R11 - _t21)) {
_Z9 = Math.abs(_R11 - _t21);
}
if (__9 > Math.abs(_S11 - _u21)) {
__9 = Math.abs(_S11 - _u21);
}
var _BS1 = (_N71(_Yq1) & 0xffffff) | ((_K71 * 255.0) << 24);
var _CS1 = (_N71(_Zq1) & 0xffffff) | ((_K71 * 255.0) << 24);
var _KN3 = _vK3 / 4;
var _N_2 = _Z41._B71;
var _d31 = (_KN3 + 1) * 4 + 2;
if (_xt1) {
_N_2 = _Z41._z71;
}
var _Hu1 = (_t21 + _R11) * 0.5;
var _Iu1 = (_u21 + _S11) * 0.5;
var _il1 = Math.abs(_R11 - _t21) * 0.5 - _Z9 * 0.5;
var _jl1 = Math.abs(_S11 - _u21) * 0.5 - __9 * 0.5;
var _u51 = _131._v51(_N_2, null, _131._x51, _d31);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
var _wL1 = index;
_u51._A51 += _d31;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
_B51[index] = _Hu1;
_B51[index + 1] = _Iu1;
_B51[index + 2] = _I51;
_D51[index] = _BS1;
index += _y51;
for (_X9 = 0; _X9 <= _KN3; _X9++) {
_B51[index] = _Hu1 + _il1 + (_Z9 * _wK3[_X9]) / 2;
_B51[index + 1] = _Iu1 + _jl1 + (__9 * _xK3[_X9]) / 2;
_B51[index + 2] = _I51;
_D51[index] = _CS1;
index += _y51;
}
for (_X9 = _KN3; _X9 <= _KN3 * 2; _X9++) {
_B51[index] = _Hu1 - _il1 + (_Z9 * _wK3[_X9]) / 2;
_B51[index + 1] = _Iu1 + _jl1 + (__9 * _xK3[_X9]) / 2;
_B51[index + 2] = _I51;
_D51[index] = _CS1;
index += _y51;
}
for (_X9 = _KN3 * 2; _X9 <= _KN3 * 3; _X9++) {
_B51[index] = _Hu1 - _il1 + (_Z9 * _wK3[_X9]) / 2;
_B51[index + 1] = _Iu1 - _jl1 + (__9 * _xK3[_X9]) / 2;
_B51[index + 2] = _I51;
_D51[index] = _CS1;
index += _y51;
}
for (_X9 = _KN3 * 3; _X9 <= _KN3 * 4; _X9++) {
_B51[index] = _Hu1 + _il1 + (_Z9 * _wK3[_X9]) / 2;
_B51[index + 1] = _Iu1 - _jl1 + (__9 * _xK3[_X9]) / 2;
_B51[index + 2] = _I51;
_D51[index] = _CS1;
index += _y51;
}
_B51[index] = _B51[_wL1 + _y51];
_B51[index + 1] = _B51[_wL1 + _y51 + 1];
_B51[index + 2] = _I51;
_D51[index] = _CS1;
if (_xt1) {
_B51[_wL1] = _B51[_wL1 + _y51];
_B51[_wL1 + 1] = _B51[_wL1 + _y51 + 1];
_B51[_wL1 + 2] = _I51;
_D51[_wL1] = _D51[_wL1 + _y51];
}
}
function _XK3(_t21, _u21, _R11, _S11, _Yq1, _Zq1, _Lt1, _Mt1, _xt1) {
var _u51, _6u3, _hM3, _B51, _D51, _F51;
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
_Lt1 = yyGetInt32(_Lt1);
_Mt1 = yyGetInt32(_Mt1);
_xt1 = yyGetBool(_xt1);
var _l41 = (_K71 * 255.0) << 24;
_Yq1 = _N71(_Yq1) | _l41;
_Zq1 = _N71(_Zq1) | _l41;
_Lt1 = _N71(_Lt1) | _l41;
_Mt1 = _N71(_Mt1) | _l41;
var _N_2 = _Z41._w51;
var _d31 = 6;
if (_xt1) {
_N_2 = _Z41._y71;
_d31 = 8;
}
_u51 = _131._v51(_N_2, null, _131._x51, _d31);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _d31;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
var _IN3 = _f61 + _y51;
var _JN3 = _IN3 + _y51;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
_F51 = _u51._G51;
var _L31 = ~~((_K71 * 255.0) << 24) | (_L71 & 0xffffff);
if (!_xt1) {
_B51[_H51 + 0] = _B51[_e61 + 0] = _B51[_f61 + 0] = _t21;
_B51[_H51 + 1] = _B51[_b61 + 1] = _B51[_f61 + 1] = _u21;
_B51[_b61 + 0] = _B51[_c61 + 0] = _B51[_d61 + 0] = _R11 + 1.0;
_B51[_c61 + 1] = _B51[_d61 + 1] = _B51[_e61 + 1] = _S11 + 1.0;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_D51[_H51] = _D51[_f61] = _Yq1;
_D51[_c61] = _D51[_d61] = _Lt1;
_D51[_b61] = _Zq1;
_D51[_e61] = _Mt1;
} else {
if (_yK3 != 0.0) {
_t21 += _yK3;
_u21 += _yK3;
_R11 += _yK3;
_S11 += _yK3;
}
_D51[_H51] = _D51[_JN3] = _Yq1;
_D51[_b61] = _D51[_c61] = _Zq1;
_D51[_d61] = _D51[_e61] = _Lt1;
_D51[_f61] = _D51[_IN3] = _Mt1;
_B51[_f61 + 0] = _B51[_JN3 + 0] = _B51[_IN3 + 0] = _B51[_H51 + 0] = _t21;
_B51[_JN3 + 1] = _B51[_c61 + 1] = _B51[_b61 + 1] = _B51[_H51 + 1] = _u21;
_B51[_e61 + 0] = _B51[_d61 + 0] = _B51[_c61 + 0] = _B51[_b61 + 0] = _R11;
_B51[_d61 + 1] = _B51[_e61 + 1] = _B51[_f61 + 1] = _B51[_IN3 + 1] = _S11;
_B51[_JN3 + 1] = _u21;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _B51[_IN3 + 2] = _B51[_JN3 + 2] = _I51;
}
}
function _5L3(_a11, _b11, _081) {
_a11 = yyGetReal(_a11);
_b11 = yyGetReal(_b11);
_081 = yyGetInt32(_081);
if (_yK3 != 0.0) {
_a11 += _yK3;
_b11 += _yK3;
}
var _u51, _B51, _D51;
_u51 = _131._v51(_Z41._x71, null, _131._x51, 1);
var _y51 = _u51._z51() >> 2;
var _H51 = _y51 * _u51._A51;
_u51._A51++;
_B51 = _u51._C51;
_D51 = _u51._E51;
var _L31 = ~~((_K71 * 255.0) << 24) | _N71(_081);
_B51[_H51 + 0] = ~~_a11 + 0.5;
_B51[_H51 + 1] = ~~_b11 + 0.5;
_B51[_H51 + 2] = _I51;
_D51[_H51] = _L31;
}
function _1L3(_t21, _u21, _R11, _S11, _9u1, _au1, _xt1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_9u1 = yyGetReal(_9u1);
_au1 = yyGetReal(_au1);
_xt1 = yyGetBool(_xt1);
if (_yK3 != 0.0) {
_t21 += _yK3;
_u21 += _yK3;
_R11 += _yK3;
_S11 += _yK3;
_9u1 += _yK3;
_au1 += _yK3;
}
var _u51, _B51, _D51, _F51;
if (_xt1) {
_u51 = _131._v51(_Z41._z71, null, _131._x51, 4);
} else {
_u51 = _131._v51(_Z41._w51, null, _131._x51, 3);
}
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += 3;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
_B51[_H51 + 0] = _t21;
_B51[_H51 + 1] = _u21;
_B51[_H51 + 2] = _I51;
_B51[_b61 + 0] = _R11;
_B51[_b61 + 1] = _S11;
_B51[_b61 + 2] = _I51;
_B51[_c61 + 0] = _9u1;
_B51[_c61 + 1] = _au1;
_B51[_c61 + 2] = _I51;
if (_xt1) {
_B51[_d61 + 0] = _t21;
_B51[_d61 + 1] = _u21;
_B51[_d61 + 2] = _I51;
_u51._A51++;
}
_D51[_H51] = _D51[_b61] = _D51[_c61] = _D51[_d61] = ((_K71 * 255.0) << 24) | _L71;
}
function _YK3(_t21, _u21, _R11, _S11, _Yq1, _Zq1, _Pt1, _xt1) {
if (_Pt1) {
_XK3(_t21, _u21, _R11, _S11, _Yq1, _Yq1, _Zq1, _Zq1, _xt1);
} else {
_XK3(_t21, _u21, _R11, _S11, _Yq1, _Zq1, _Zq1, _Yq1, _xt1);
}
}
function _ZK3(_a11, _b11) {
_5L3(_a11, _b11, _pq1);
}
function __K3(_a11, _b11) {
return _0L3(_a11, _b11) & 0x00ffffff;
}
function _0L3(_a11, _b11) {
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
if (_7l1 < 0) {
_b11 = _131._ap2 - _b11;
}
return _131._gs2(_a11, _b11);
}
function _2L3(_t21, _u21, _R11, _S11, _9u1, _au1, _jq1, _kq1, _lq1, _xt1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_9u1 = yyGetReal(_9u1);
_au1 = yyGetReal(_au1);
_jq1 = yyGetInt32(_jq1);
_kq1 = yyGetInt32(_kq1);
_lq1 = yyGetInt32(_lq1);
_xt1 = yyGetBool(_xt1);
if (_yK3 != 0.0) {
_t21 += _yK3;
_u21 += _yK3;
_R11 += _yK3;
_S11 += _yK3;
_9u1 += _yK3;
_au1 += _yK3;
}
var _u51, _B51, _D51, _F51;
var _l41 = (_K71 * 255.0) << 24;
_jq1 = _l41 | _N71(_jq1);
_kq1 = _l41 | _N71(_kq1);
_lq1 = _l41 | _N71(_lq1);
if (_xt1) {
_u51 = _131._v51(_Z41._z71, null, _131._x51, 4);
} else {
_u51 = _131._v51(_Z41._w51, null, _131._x51, 3);
}
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += 3;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
_B51 = _u51._C51;
_D51 = _u51._E51;
_B51[_H51 + 0] = _t21;
_B51[_H51 + 1] = _u21;
_B51[_H51 + 2] = _I51;
_B51[_b61 + 0] = _R11;
_B51[_b61 + 1] = _S11;
_B51[_b61 + 2] = _I51;
_B51[_c61 + 0] = _9u1;
_B51[_c61 + 1] = _au1;
_B51[_c61 + 2] = _I51;
if (_xt1) {
_B51[_d61 + 0] = _t21;
_B51[_d61 + 1] = _u21;
_B51[_d61 + 2] = _I51;
_u51._A51++;
}
_D51[_H51] = _jq1;
_D51[_b61] = _kq1;
_D51[_c61] = _lq1;
_D51[_d61] = _jq1;
}
function _3L3(_t21, _u21, _R11, _S11, _Yq1, _Zq1, _xt1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
_xt1 = yyGetBool(_xt1);
if (_yK3 != 0.0) {
_t21 += _yK3;
_u21 += _yK3;
_R11 += _yK3;
_S11 += _yK3;
}
var _Hu1 = (_t21 + _R11) / 2;
var _Iu1 = (_u21 + _S11) / 2;
var _il1 = Math.abs((_t21 - _R11) / 2);
var _jl1 = Math.abs((_u21 - _S11) / 2);
var _l41 = (_K71 * 255.0) << 24;
_Yq1 = _l41 | _N71(_Yq1);
_Zq1 = _l41 | _N71(_Zq1);
var _5G3, _u51, _B51, _D51;
var _J41;
if (_xt1) {
var _LN3 = _vK3 + 1;
_u51 = _131._v51(_Z41._z71, null, _131._x51, _LN3);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _LN3;
_B51 = _u51._C51;
_D51 = _u51._E51;
for (var _X9 = 0; _X9 <= _vK3; _X9++) {
_B51[index] = _Hu1 + _il1 * _wK3[_X9];
_B51[index + 1] = _Iu1 + _jl1 * _xK3[_X9];
_B51[index + 2] = _I51;
_D51[index] = _Zq1;
index += _y51;
}
} else {
var _MN3 = _vK3 * 3;
_u51 = _131._v51(_Z41._w51, null, _131._x51, _MN3);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += _MN3;
_B51 = _u51._C51;
_D51 = _u51._E51;
for (var _X9 = 0; _X9 < _vK3; _X9++) {
_B51[index] = _Hu1;
_B51[index + 1] = _Iu1;
_B51[index + 2] = _I51;
_D51[index] = _Yq1;
index += _y51;
_B51[index] = _Hu1 + _il1 * _wK3[_X9];
_B51[index + 1] = _Iu1 + _jl1 * _xK3[_X9];
_B51[index + 2] = _I51;
_D51[index] = _Zq1;
index += _y51;
_B51[index] = _Hu1 + _il1 * _wK3[_X9 + 1];
_B51[index + 1] = _Iu1 + _jl1 * _xK3[_X9 + 1];
_B51[index + 2] = _I51;
_D51[index] = _Zq1;
index += _y51;
}
}
}
function _4L3(_a11, _b11, __s1, _Yq1, _Zq1, _xt1) {
_3L3(_a11 - __s1, _b11 - __s1, _a11 + __s1, _b11 + __s1, _Yq1, _Zq1, _xt1);
}
function _6L3(_t21, _u21, _R11, _S11) {
_8L3(_t21, _u21, _R11, _S11, 1.0, _pq1, _pq1);
}
function _7L3(_t21, _u21, _R11, _S11, _Mb1) {
_8L3(_t21, _u21, _R11, _S11, _Mb1, _pq1, _pq1);
}
function _8L3(_t21, _u21, _R11, _S11, _Mb1, _Yq1, _Zq1) {
_t21 = yyGetReal(_t21);
_u21 = yyGetReal(_u21);
_R11 = yyGetReal(_R11);
_S11 = yyGetReal(_S11);
_Mb1 = yyGetReal(_Mb1);
_Yq1 = yyGetInt32(_Yq1);
_Zq1 = yyGetInt32(_Zq1);
if (_yK3 != 0.0) {
_t21 += _yK3;
_u21 += _yK3;
_R11 += _yK3;
_S11 += _yK3;
}
var _l41 = (_K71 * 255.0) << 24;
_Yq1 = _l41 | _N71(_Yq1);
_Zq1 = _l41 | _N71(_Zq1);
var _j21 = _R11 - _t21;
var _l21 = _S11 - _u21;
var _921 = _j21 * _j21 + _l21 * _l21;
if (_921 < 0.0001) return;
_921 = Math.sqrt(_921);
if (_921 < 0.0001) return;
_j21 = (0.5 * _Mb1 * _j21) / _921;
_l21 = (0.5 * _Mb1 * _l21) / _921;
var _u51 = _131._v51(_Z41._w51, null, _131._x51, 6);
var _y51 = _u51._z51() >> 2;
var index = _y51 * _u51._A51;
_u51._A51 += 6;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
_B51[_H51 + 0] = _t21 - _l21;
_B51[_H51 + 1] = _u21 + _j21;
_B51[_b61 + 0] = _R11 - _l21;
_B51[_b61 + 1] = _S11 + _j21;
_B51[_c61 + 0] = _R11 + _l21;
_B51[_c61 + 1] = _S11 - _j21;
_B51[_d61 + 0] = _R11 + _l21;
_B51[_d61 + 1] = _S11 - _j21;
_B51[_e61 + 0] = _t21 + _l21;
_B51[_e61 + 1] = _u21 - _j21;
_B51[_f61 + 0] = _t21 - _l21;
_B51[_f61 + 1] = _u21 + _j21;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_D51[_H51] = _D51[_e61] = _D51[_f61] = _Yq1;
_D51[_b61] = _D51[_c61] = _D51[_d61] = _Zq1;
}
function _NN3(_YK1, _Mb1, _Nb1) {
var _ps2 = _131._js2(_Mb1, _Nb1);
_YK1._ON3 = _ps2;
_YK1._hM1 = _ps2._hM1;
_YK1._f31._o51 = _ps2._Kr2;
}
function _iL3(_Mb1, _Nb1, _3M1) {
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
if (_3M1 != undefined) {
_3M1 = yyGetInt32(_3M1);
}
var _be1 = new _ce1();
_be1._f31 = document.createElement("surf");
_be1._X71 = _Mb1;
_be1._Y71 = _Nb1;
_be1._f31.width = _Mb1;
_be1._f31.height = _Nb1;
_be1._f31._X71 = _Mb1;
_be1._f31._Y71 = _Nb1;
if (_3M1 != undefined) {
var _he1 = _6e1._s11(_3M1);
if (_he1 && _he1._ON3) {
_131._rs2(_he1._ON3);
}
}
_NN3(_be1, _Mb1, _Nb1);
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _Mb1;
_be1.__9 = _Nb1;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
if (_3M1 != undefined) {
_6e1._sc1(_3M1, _be1);
_be1._fk = _3M1;
} else {
_be1._fk = _6e1._Da1(_be1);
}
_be1._5M1 = _be1;
_be1._f31.complete = true;
_be1._c31 = [];
_be1._d31 = 0;
_be1._e31 = 4;
_be1._6M1 = 0;
_be1._7M1 = null;
_be1._tK1 = _be1._f31;
return _be1._fk;
}
function _jL3(_Ub1) {
_Ub1 = yyGetInt32(_Ub1);
if (_Ub1 < 0) {
return;
}
var _he1 = _6e1._s11(_Ub1);
if (_he1 && _he1._ON3) {
if (_0M1(_Ub1)) {
_Mo1("Error: Surface in use via surface_set_target(). It can not be freed until it has been removed from the surface stack.");
return;
}
_131._Bq2();
_131._rs2(_he1._ON3);
_he1._f31._o51 = undefined;
_6e1._nc1(_Ub1);
} else if (!_he1) {
_Rb1("Surface does not exist");
return 0;
}
}
function _kL3(_Ub1, _a11, _b11) {
return _lL3(_Ub1, _a11, _b11) & 0x00ffffff;
}
function _lL3(_Ub1, _a11, _b11) {
var __b1 = 0;
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (_he1 != null) {
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
__b1 = _131._hs2(_he1._hM1, _a11, _b11);
}
return __b1;
}
function _eL3(_Ub1, _a11, _b11) {
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (!_he1) return;
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
var _If = ((_K71 * 255.0) << 24) | 0x00ffffff;
_R41._xK1(_he1, 0, 0, _he1._X71, _he1._Y71, _a11, _b11, _he1._X71, _he1._Y71, _If);
}
function _PN3(_v31, __11, _021, _121, _221, _961, _a61, _BO2, _CO2, _xZ1, _QN3, _yZ1, _RN3, _BS1, _CS1, _NS1, _Df3) {
var _L61 = _I51;
var _S71 = _v71(_971);
var _SN3 = _131._v51(_S71, _v31, _131._x51, 6);
var _y51 = _SN3._z51() >> 2;
var index = _y51 * _SN3._A51;
_SN3._A51 += 6;
var _B51 = _SN3._C51;
var _D51 = _SN3._E51;
var _F51 = _SN3._G51;
var _H51 = index;
var _b61 = _H51 + _y51;
var _c61 = _b61 + _y51;
var _d61 = _c61 + _y51;
var _e61 = _d61 + _y51;
var _f61 = _e61 + _y51;
_B51[_H51 + 0] = _B51[_f61 + 0] = __11;
_B51[_H51 + 1] = _B51[_f61 + 1] = _021;
_B51[_b61 + 0] = _121;
_B51[_b61 + 1] = _221;
_B51[_c61 + 0] = _B51[_d61 + 0] = _961;
_B51[_c61 + 1] = _B51[_d61 + 1] = _a61;
_B51[_e61 + 0] = _BO2;
_B51[_e61 + 1] = _CO2;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _L61;
_D51[_H51] = _D51[_f61] = _BS1;
_D51[_b61] = _CS1;
_D51[_c61] = _D51[_d61] = _NS1;
_D51[_e61] = _Df3;
_F51[_H51 + 0] = _F51[_f61 + 0] = _xZ1;
_F51[_H51 + 1] = _F51[_f61 + 1] = _QN3;
_F51[_b61 + 0] = _yZ1;
_F51[_b61 + 1] = _QN3;
_F51[_c61 + 0] = _F51[_d61 + 0] = _yZ1;
_F51[_c61 + 1] = _F51[_d61 + 1] = _RN3;
_F51[_e61 + 0] = _xZ1;
_F51[_e61 + 1] = _RN3;
return true;
}
function _mL3(_0N1, _TN3, _UN3, _pc1) {
_0N1 = yyGetInt32(_0N1);
_TN3 = yyGetInt32(_TN3);
_UN3 = yyGetInt32(_UN3);
_pc1 = yyGetInt32(_pc1);
_131._EM1();
_131._a51._Un1();
_AM1(_0N1);
_Bi1(0, 0, _aM1(_0N1), _bM1(_0N1), 0);
var _Nb1 = _bM1(_pc1);
var _Mb1 = _aM1(_pc1);
var _a11 = 0;
var _b11 = 0;
var _VN3 = _UN3;
var _WN3 = _UN3 + _Nb1;
var _021 = _b11;
var _221 = _b11 + _Nb1;
var _P41 = 1 / _Mb1;
var _J41 = 1 / _Nb1;
_PN3(_cM1(_pc1)._E71._o51, _TN3, _VN3, _TN3 + _Mb1, _VN3, _TN3 + _Mb1, _WN3, _TN3, _WN3, _P41 * _a11, _J41 * _021, _P41 * (_a11 + _Mb1), _J41 * _221, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff);
_131._EM1();
_GM1();
_131._a51._Vn1();
}
function _nL3(_0N1, _TN3, _UN3, _pc1, _2N1, _3N1, _4N1, _5N1) {
_0N1 = yyGetInt32(_0N1);
_TN3 = yyGetInt32(_TN3);
_UN3 = yyGetInt32(_UN3);
_pc1 = yyGetInt32(_pc1);
_2N1 = yyGetInt32(_2N1);
_3N1 = yyGetInt32(_3N1);
_4N1 = yyGetInt32(_4N1);
_5N1 = yyGetInt32(_5N1);
_131._Bq2();
_131._a51._Un1();
_AM1(_0N1);
_Bi1(0, 0, _aM1(_0N1), _bM1(_0N1), 0);
var _Nb1 = _5N1;
var _Mb1 = _4N1;
var _a11 = _2N1;
var _b11 = _3N1;
var _VN3 = _UN3;
var _WN3 = _UN3 + _Nb1;
var _021 = _b11;
var _221 = _b11 + _Nb1;
var _P41 = 1 / _aM1(_pc1);
var _J41 = 1 / _bM1(_pc1);
_PN3(_cM1(_pc1)._E71._o51, _TN3, _VN3, _TN3 + _Mb1, _VN3, _TN3 + _Mb1, _WN3, _TN3, _WN3, _P41 * _a11, _J41 * _021, _P41 * (_a11 + _Mb1), _J41 * _221, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff);
_131._Bq2();
_GM1();
_131._a51._Vn1();
_131._Bq2();
}
function _qL3(_911, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1) {
_Po1("sprite_add_from_screen() (WebGL)");
return -1;
}
function _pL3(_Ub1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1) {
var _he1 = _6e1._s11(_Ub1);
if (_he1 != null) {
_a11 = ~~_a11;
_b11 = ~~_b11;
_Mb1 = ~~_Mb1;
_Nb1 = ~~_Nb1;
var _tK1 = document.createElement(_0p1);
var _uK1 = _tK1.getContext("2d");
_vK1(_uK1);
var _V71 = _131._0s2(_tK1, _he1._hM1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1);
var _be1 = new _ce1();
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _V71._Cr2;
_be1.__9 = _V71._Dr2;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _Mb1;
_be1._ek = _Nb1;
_be1._fk = _zK1(_tK1);
_be1._f31 = _g31[_be1._fk];
_be1._f31._o51 = _V71;
_be1._f31._X71 = _tK1.width;
_be1._f31._Y71 = _tK1.height;
var _9e1 = new _ae1();
_9e1.__d1 = _be1;
return _Wd1._de1(_9e1);
}
debug("Surface " + _Ub1 + " does not exist");
return -1;
}
function _oL3(_a11, _b11, _Mb1, _Nb1, _2e1, _3e1) {
_a11 = ~~_a11;
_b11 = ~~_b11;
var _tK1 = document.createElement(_0p1);
var _uK1 = _tK1.getContext("2d");
_vK1(_uK1);
var _V71 = _131._Ur2(_tK1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1, _7l1 > 0);
var _be1 = new _ce1();
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _V71._Cr2;
_be1.__9 = _V71._Dr2;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _Mb1;
_be1._ek = _Nb1;
_be1._fk = _zK1(_tK1);
_be1._f31 = _g31[_be1._fk];
_be1._f31._o51 = _V71;
_be1._f31.width = _Mb1;
_be1._f31.height = _Nb1;
_be1._f31._X71 = _Mb1;
_be1._f31._Y71 = _Nb1;
var _9e1 = new _ae1();
_9e1.__d1 = _be1;
return _Wd1._de1(_9e1);
}
function _rL3(_Ub1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1, _CK1, _DK1) {
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (_he1 != null) {
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
_2e1 = yyGetBool(_2e1);
_3e1 = yyGetBool(_3e1);
_CK1 = yyGetInt32(_CK1);
_DK1 = yyGetInt32(_DK1);
var _tK1 = document.createElement(_0p1);
var _uK1 = _tK1.getContext("2d");
_vK1(_uK1);
var _V71 = _131._0s2(_tK1, _he1._hM1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1);
var _be1 = new _ce1();
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _V71._Cr2;
_be1.__9 = _V71._Dr2;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _Mb1;
_be1._ek = _Nb1;
_be1._fk = _zK1(_tK1);
_be1._f31 = _g31[_be1._fk];
_be1._f31._o51 = _V71;
_be1._f31._X71 = _tK1.width;
_be1._f31._Y71 = _tK1.height;
var _wK1 = new _EK1();
_wK1._d2 = "surface.copy";
_wK1.width = _Mb1;
_wK1.height = _Nb1;
_wK1._tC1 = new _tp1();
_wK1._tC1.right = _wK1.width;
_wK1._tC1.bottom = _wK1.height;
_wK1._n2 = true;
_wK1._o2 = true;
_wK1.preload = true;
_wK1._HK1 = 0;
_wK1._IK1 = false;
_wK1._v2 = _CK1;
_wK1._w2 = _DK1;
_wK1._JK1 = true;
_wK1._721 = 1;
_wK1._TK1 = 0;
_wK1._KK1 = false;
_wK1._LK1 = false;
_wK1._821 = [];
_wK1._yK1 = [];
_wK1._MK1 = [];
_wK1._NK1();
_wK1._yK1[0] = _be1;
var _FK1 = _r11._GK1(_wK1);
return _FK1;
}
debug("Surface " + yyGetInt32(_Ub1) + " does not exist");
return -1;
}
function _sL3(_911, _Ub1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1) {
var _he1 = _6e1._s11(yyGetInt32(_Ub1));
if (_he1 != null) {
_911 = yyGetInt32(_911);
_a11 = yyGetInt32(_a11);
_b11 = yyGetInt32(_b11);
_Mb1 = yyGetInt32(_Mb1);
_Nb1 = yyGetInt32(_Nb1);
_2e1 = yyGetBool(_2e1);
_3e1 = yyGetBool(_3e1);
var _tK1 = document.createElement(_0p1);
var _uK1 = _tK1.getContext("2d");
_vK1(_uK1);
var _V71 = _131._0s2(_tK1, _he1._hM1, _a11, _b11, _Mb1, _Nb1, _2e1, _3e1);
var _be1 = new _ce1();
_be1.x = 0;
_be1.y = 0;
_be1._Z9 = _Mb1;
_be1.__9 = _Nb1;
_be1._9k = 0;
_be1._ak = 0;
_be1._bk = _be1._Z9;
_be1._ck = _be1.__9;
_be1._dk = _be1._Z9;
_be1._ek = _be1.__9;
_be1._fk = _zK1(_tK1);
_be1._f31 = _g31[_be1._fk];
_be1._f31._o51 = _V71;
_be1._f31._X71 = _tK1.width;
_be1._f31._Y71 = _tK1.height;
var _qK1 = _r11._s11(_911);
_qK1._yK1[_qK1._yK1.length] = _be1;
_qK1._721++;
return _911;
}
debug("Surface " + yyGetInt32(_Ub1) + " does not exist");
return -1;
}
function _tL3(_Ho3, _Io3) {
var _Jo3, _Mo3;
_Jo3 = _131._As2(_Io3);
_Mo3 = _131._As2(_Ho3);
var _OJ1 = _Ho3.__9 * _Ho3._Z9 * 4;
for (var _X9 = _OJ1 - 4; _X9 >= 0; _X9 -= 4) {
var _Y9 = ~~((_Jo3[_X9] + _Jo3[_X9 + 1] + _Jo3[_X9 + 2]) / 3);
_Mo3[_X9 + 3] = _Y9;
}
var _Wj3 = new Image();
_131._ss2(_Ho3._f31._o51._Kr2);
_Ho3._f31._o51 = _131._6s2(_Wj3, _Mo3, _Ho3._Z9, _Ho3.__9);
return true;
}
function _gL3(_Ub1) {
var _gC1 = _hC1._s11(yyGetInt32(_Ub1));
if (_gC1) {
var _u51, _y51, index, _6u3, _hM3, _B51, _D51, _F51, _t21, _u21, _R11, _S11;
var _Ue1 = ~~((_K71 * 255.0) << 24) | 0x0000ff;
var _Ve1 = ~~((_K71 * 255.0) << 24) | 0x00ff00;
var _d31 = 6 * (_gC1._9C1 * _gC1._8C1);
_u51 = _131._v51(_Z41._w51, null, _131._x51, _d31);
_y51 = _u51._z51() >> 2;
index = _y51 * _u51._A51;
_hM3 = _u51._A51;
_u51._A51 += _d31;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
for (var y = 0; y < _gC1._9C1; y++) {
for (var x = 0; x < _gC1._8C1; x++, index += _y51 * 6) {
var _L31 = _Ve1;
var _H51 = index,
_b61 = _H51 + _y51,
_c61 = _b61 + _y51,
_d61 = _c61 + _y51,
_e61 = _d61 + _y51,
_f61 = _e61 + _y51;
if (_gC1._cC1[_gC1._9C1 * x + y] < 0) _L31 = _Ue1;
_t21 = ~~(_gC1._6C1 + x * _gC1._aC1);
_u21 = ~~(_gC1._7C1 + y * _gC1._bC1);
_R11 = _t21 + _gC1._aC1;
_S11 = _u21 + _gC1._bC1;
_B51[_f61 + 0] = _B51[_e61 + 0] = _B51[_H51 + 0] = _t21;
_B51[_f61 + 1] = _B51[_b61 + 1] = _B51[_H51 + 1] = _u21;
_B51[_d61 + 0] = _B51[_c61 + 0] = _B51[_b61 + 0] = _R11;
_B51[_e61 + 1] = _B51[_d61 + 1] = _B51[_c61 + 1] = _S11;
_B51[_H51 + 2] = _B51[_b61 + 2] = _B51[_c61 + 2] = _B51[_d61 + 2] = _B51[_e61 + 2] = _B51[_f61 + 2] = _I51;
_D51[_H51] = _D51[_b61] = _D51[_c61] = _D51[_d61] = _D51[_e61] = _D51[_f61] = _L31;
}
}
return;
}
_Rb1("Error: invalid mp_grid ID (mp_grid_draw)");
}
function _fL3(_Ub1, _LE1, _ME1, _NE1) {
var _DE1 = _CE1._A2[yyGetInt32(_Ub1)];
if (!_DE1) return;
_LE1 = yyGetInt32(_LE1);
_ME1 = yyGetInt32(_ME1);
_NE1 = yyGetBool(_NE1);
var _u51, _4N3, _B51, _D51, _F51, _y51;
var _L31 = ~~((_K71 * 255.0) << 24) | (_L71 & 0xffffff);
var _j21, _l21, _OE1;
var _PE1 = 0;
var _QE1 = _DE1._RE1(0);
if (!_NE1) {
_LE1 = _LE1 - _QE1.x;
_ME1 = _ME1 - _QE1.y;
} else {
_LE1 = 0;
_ME1 = 0;
}
_PE1 = _zc1(_DE1.length / 4.0);
if (_PE1 == 0) return;
var _d31 = _PE1 * 2;
_u51 = _131._v51(_Z41._y71, null, _131._x51, _d31);
_y51 = _u51._z51() >> 2;
_4N3 = _y51 * _u51._A51;
_u51._A51 += _d31;
var _B51 = _u51._C51;
var _D51 = _u51._E51;
for (var _X9 = 0; _X9 < _PE1; _X9++) {
_QE1 = _DE1._RE1(_X9 / _PE1);
var _t21 = ~~(_LE1 + _QE1.x);
var _u21 = ~~(_ME1 + _QE1.y);
_D51[_4N3 + 0] = _L31;
_B51[_4N3 + 0] = _t21;
_B51[_4N3 + 1] = _u21;
_B51[_4N3 + 2] = _I51;
_4N3 += _y51;
_QE1 = _DE1._RE1((_X9 + 1) / _PE1);
var _R11 = ~~(_LE1 + _QE1.x);
var _S11 = ~~(_ME1 + _QE1.y);
_D51[_4N3 + 0] = _L31;
_B51[_4N3 + 0] = _R11;
_B51[_4N3 + 1] = _S11;
_B51[_4N3 + 2] = _I51;
_4N3 += _y51;
}
}
function _MK3(_No1) {
_131._mr2(_No1);
}
function _cL3(_Qb1, _Tc1) {
_mD3 = _Qb1;
_nD3 = _Tc1;
_131._Cq2(_mD3, _nD3);
}
function _dL3(_XN3) {
if (_XN3) {
_Tu1(0);
} else {
_Vu1(_Qn1, _Sn1);
}
}
function _uL3(_b31) {
if (_b31) {
return 1.0 / _b31._E71._X71;
}
return 1.0;
}
function _vL3(_b31) {
if (_b31) {
return 1.0 / _b31._E71._Y71;
}
return 1;
}
function _wL3(_Xq2, _891) {
_131._or2(yyGetInt32(_Xq2), _891._E71._o51);
}
function _xL3(_bG1) {
_bG1 = yyGetInt32(_bG1);
if (_Uk3[_bG1] && _Uk3[_bG1]._gq2) {
return 1;
}
return 0;
}
function _yL3(_bG1) {
_bG1 = yyGetInt32(_bG1);
var _Tp2 = _bG1 == -1 ? _Xk1() : _Uk3[_bG1]._gq2;
if (_Tp2) {
_131._Wk1(_Tp2);
}
}
function _zL3(_bG1, _cG1) {
_bG1 = yyGetInt32(_bG1);
var _Tp2 = _bG1 == -1 ? _Xk1() : _Uk3[_bG1]._gq2;
if (_Tp2) {
return _131._br2(_Uk3[_bG1]._gq2, yyGetString(_cG1));
}
return undefined;
}
function _AL3(_fG1, _fr2) {
_fG1 = yyGetInt32(_fG1);
if (_fG1 != -1) {
_131._er2(_fG1, _fr2);
}
}
function _BL3(_fG1, _fr2) {
_fG1 = yyGetInt32(_fG1);
if (_fG1 != -1) {
_131._gr2(_fG1, _fr2);
}
}
function _CL3(_fG1, _fr2) {
_fG1 = yyGetInt32(_fG1);
if (_fG1 != -1) {
var _8m1 = _9m1(_0m1);
_131._hr2(_fG1, new Float32Array(_8m1._Z11));
}
}
function _DL3(_bG1, _891) {
_bG1 = yyGetInt32(_bG1);
if (_Uk3[_bG1]) {
var _Tp2 = _Uk3[_bG1];
if (_Tp2) {
for (var _X9 = 0; _X9 < _Tp2._hq2.length; _X9++) {
if (_Tp2._hq2[_X9] == _891) {
return Number(_X9);
}
}
}
}
return 0;
}
function _EL3(_dN1) {
_wm3 = yyGetBool(_dN1);
}
function _FL3(_fG1, _as1) {
if (_as1 instanceof Array) {
_131._kr2(yyGetInt32(_fG1), _eG1);
} else {
alert("ERROR: shader_set_uniform_i_array() Data is not an array");
}
}
function _GL3(_fG1, _as1) {
if (_as1 instanceof Array) {
_131._lr2(yyGetInt32(_fG1), _as1);
} else {
alert("ERROR: shader_set_uniform_f_array() Data is not an array");
}
}
function _HL3(_fG1, _as1) {
if (_as1 instanceof Array) {
var _eG1 = new Float32Array(_as1);
_131._hr2(yyGetInt32(_fG1), _eG1);
} else {
alert("ERROR: shader_set_uniform_matrix_array() Data is not an array");
}
}
function _JL3(_Uu1) {}
function _KL3(_YN3) {
var _on1 = _131.__q2();
for (var _En1 = 0; _En1 < _on1; _En1++) {
_Nf3(_En1, _YN3);
}
}
function _LL3(_Xq2, _YN3) {
_oK3[_Xq2] = _YN3 ? true : false;
_131._Wq2(_Xq2, _oK3[_Xq2]);
}
function _ML3(_nn1) {
var _on1 = _131.__q2();
for (var _En1 = 0; _En1 < _on1; _En1++) {
_Of3(_En1, _nn1);
}
}
function _NL3(_Xq2, _nn1) {
_131._Zq2(_Xq2, _nn1 ? _Z41._sn1 : _Z41._un1);
}
function _OL3() {
return _oK3[0];
}
function _PL3(_b31) {
if (typeof _b31 == "object") {
return 1.0;
} else if (yyGetInt32(_b31) != -1 && _g31[yyGetInt32(_b31)]) {
return 1.0;
}
return 0;
}
function _QL3(_b31) {
if (typeof _b31 == "object") {
return 1.0;
} else if (yyGetInt32(_b31) != -1 && _g31[yyGetInt32(_b31)]) {
return 1.0;
}
return 0;
}
function _RL3(_b31) {
if (_b31 == -1 || _b31 === undefined) return [0, 0, 1, 1];
var _be1 = _b31._F71;
var _f31 = _be1._f31;
if (_be1 === undefined || _f31 === undefined) return [0, 0, 1, 1];
var _ZN3 = 1.0 / _f31._X71;
var __N3 = 1.0 / _f31._Y71;
var _0O3 = [];
_0O3.push(_be1.x * _ZN3, _be1.y * __N3, (_be1.x + _be1._bk) * _ZN3, (_be1.y + _be1._ck) * __N3);
return _0O3;
}
function _IL3() {
return 1;
}
function _SL3(_Tk1) {
_mK3 = _Tk1 > 0.5 ? true : false;
_131._Uq2(_mK3, _nK3);
}
function _TL3(_kn1) {
_nK3 = _kn1 / 255.0;
_131._Uq2(_mK3, _nK3);
}
function _UL3() {
return _mK3 ? 1.0 : 0.0;
}
function _VL3() {
return _nK3;
}
function __l1(_l81, _ng1) {
_vm1[_l81] = new _Fk1(_ng1);
if (_131 == null) return;
switch (_l81) {
case _pY2:
_131._8l1(_vm1[_l81]);
break;
case _lY2:
_131._2l1(_vm1[_l81]);
break;
case _0m1:
_131._tr2(_vm1[_l81]);
break;
}
_131._EM1();
}
function _9m1(_l81) {
switch (_l81) {
case _pY2:
case _lY2:
case _0m1:
return _vm1[_l81];
break;
}
}
function _4M3() {
if (_Ho1._L9) {
for (var _X9 = 0; _X9 < _Ho1._L9.length; _X9++) {
var _fq2 = _Ho1._L9[_X9];
_Uk3[_X9] = _131._bq2(_fq2._M9, _fq2._N9, _fq2._O9);
}
}
return true;
}
function _aL3(_M71) {
_pq1 = _M71;
_L71 = _N71(_M71);
}
function _p51(_YK1) {
if (!_YK1._o51) {
var _V71 = _131._vr2(_YK1._f31);
_YK1._f31._o51 = _V71;
_YK1._f31._X71 = _YK1._f31.width;
_YK1._f31._Y71 = _YK1._f31.height;
}
}
function _es2(_b31, _Ar2) {
if (_b31._Kr2) return;
if (_Ar2 === _Z41._Er2 || (_Ar2 === _Z41._Fr2 && _b31.Image._xr2 !== undefined && _b31.Image._xr2 !== 0)) {
_b31._zb1 |= _Gr2._jw2 | _Gr2._Hr2;
}
_131._yr2(_b31, _Ar2);
_8J3(_b31);
}
function _ds2(_b31, _Ar2) {
if (_b31._Kr2) {
_131._ss2(_b31._Kr2);
_b31._Kr2 = undefined;
_b31._zb1 &= ~_Gr2._Jr2;
_9J3(_b31);
}
}
function _bs2(_b31, _Ar2) {
if (_b31._Kr2 != undefined) {
var _1O3 = true;
if (
_Ar2 !== _Z41._cs2 &&
((_Ar2 == _Z41._Er2 && (_b31._zb1 & _Gr2._Jr2) == 0 && (_b31._zb1 & _Gr2._jw2) != 0) ||
(_Ar2 == _Z41._Pt2 && (_b31._zb1 & _Gr2._Jr2) != 0) ||
(_Ar2 == _Z41._Fr2 && ((_b31._zb1 & _Gr2._Hr2 && (_b31._zb1 & _Gr2._Jr2) == 0) || ((_b31._zb1 & _Gr2._Hr2) == 0 && (_b31._zb1 & _Gr2._Jr2) != 0))))
) {
_1O3 = false;
}
return _1O3;
} else {
return false;
}
}
function _WL3(_IM1, _Sj3, _2n1, _uj3, _Tj3) {
var _u51 = _ZC1._s11(yyGetInt32(_IM1));
var _he1 = _6e1._s11(yyGetInt32(_Sj3));
if (!_u51 || !_he1) return false;
var _bm2 = _131._is2(_he1._hM1, 0, 0, _he1._X71, _he1._Y71);
for (var _X9 = 0; _X9 < _bm2.length; _X9++) {
_u51._Kj3(_1i3, _X9, _bm2[_X9]);
}
_bm2 = null;
}
function _XL3(_IM1, _Sj3, _2n1, _uj3, _Tj3) {
var _u51 = _ZC1._s11(yyGetInt32(_IM1));
var _he1 = _6e1._s11(yyGetInt32(_Sj3));
if (!_u51 || !_he1) return false;
var data = new Uint8Array(_u51.__C1);
_NK3(_he1._f31._o51, 0, 0, _he1._X71, _he1._Y71, data);
data = null;
}
var _2O3 = 0;
var _3O3 = 100;
var canvas = null;
var _4O3, _5O3, _6O3, _7O3, _8O3, _9O3, _aO3, _bO3;
var _op3 = !1;
var _R41 = null;
var g_CurrentGraphics;
var _cO3 = null;
var _OG3 = null;
var _dO3 = 0;
var _eO3 = !1;
var _fO3 = 0;
var _gO3 = 0;
var _1Z2 = 60;
if (!Date.now)
Date.now = function () {
return new Date().getTime();
};
var _hO3 = Date.now();
var _iO3 = _hO3;
var _jO3 = _hO3;
var _MK2 = "anonymous";
var _WL1 = -1;
var _WQ1 = -1;
var _XQ1 = -1;
var _QG3 = !0;
var _kO3 = !0;
var _VQ1 = !0;
var _lO3 = -1;
var _mO3 = -1;
var _YL1 = -1;
var _ZL1 = -1;
var _XL1 = !1;
var _UQ1 = !0;
var _YQ1 = { x: 0, y: 0, _Z9: 0, __9: 0 };
var _Fs1 = !1;
var _nO3 = !1;
var _oO3 = 1;
var _pO3 = 1;
var _qO3 = 1;
var _rO3 = 0;
var _sO3 = 0;
var _tO3 = 0;
if (window.chrome && window.chrome.app) {
_op3 = !0;
try {
if (window && window["localStorage"]) {
_op3 = !1;
}
} catch (e) {}
}
window._uO3 = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame;
if (!window._uO3) {
window.addEventListener(
"message",
function (e) {
if (e.source == window && e.data == "yyRequestAnimationFrame") {
e._vO3();
_wO3();
}
},
!0
);
}
window.requestAnimFrame = (function () {
return (
window._uO3 ||
function (_BW1) {
window.setTimeout(_BW1, 1000 / 60);
}
);
})();
var GMS_API = { debug_msg: _4z, ds_list_size: _el, ds_list_find_value: _hl, json_encode: _1d1, send_async_event_social: _xO3, get_facebook_app_id: _yO3, get_app_version_string: _zO3 };
function _yO3() {
return _Ho1._ok._AO3;
}
function _zO3() {
var appVersion = _Ho1._ok._Wk + "." + _Ho1._ok._Xk + "." + _Ho1._ok._Yk + " r" + _Ho1._ok._Zk;
return appVersion;
}
function _xO3(_BO3) {
var _CO3 = _Dq();
var _DO3 = JSON.stringify(_BO3);
var _EO3 = _Cx(_DO3);
_rn._mI1 = _EO3;
_o01._p01(_J23, 0);
_Tm(_EO3);
}
var _Eo1 = null;
function _FO3() {
var _Y9 = document.getElementById(_0p1);
var _cq1 = _Y9.parentNode;
var load = document.createElement("canvas");
_8b1(canvas, _9b1);
load.style.position = "absolute";
load.style.left = _9b1.left + "px";
load.style.top = _9b1.top + "px";
load.width = _Y9.width;
load.height = _Y9.height;
load.setAttribute("id", "loading_screen");
_cq1.insertBefore(load, _Y9.nextSibling);
_cO3 = load.getContext("2d");
_vK1(_cO3);
}
function _GO3() {
var _Y9 = document.getElementById(_0p1);
var _921 = document.getElementById("loading_screen");
var _cq1 = _Y9.parentNode;
if (_921 != null) {
_cq1.removeChild(_921);
}
_cO3 = null;
_eO3 = false;
}
function _8b1(_Lo2, _yn3) {
_yn3.left = 0;
_yn3.top = 0;
var _Br3 = _Lo2;
while (_Br3 != null) {
var rect = _Br3.getBoundingClientRect();
_yn3.left += rect.left;
_yn3.top += rect.top;
_Br3 = _Br3.offsetParent;
}
_yn3.right = _yn3.left + _MN1;
_yn3.bottom = _yn3.top + _NN1;
_yn3.scaleX = _Lo2.clientWidth / _Lo2.width || 1;
_yn3.scaleY = _Lo2.clientHeight / _Lo2.height || 1;
}
function _HO3(_kv1) {
_sb3 = [];
_tb3 = [];
_ub3 = [];
_cc3 = 0;
var _Wm1 = _kv1.search;
var _3I1 = _kv1.protocol + "//" + _kv1.host + _kv1.pathname;
_tb3[0] = _3I1;
_ub3[0] = null;
if (_Wm1[0] == "?") _Wm1 = _Wm1.substring(1, _Wm1.length);
var index = 0;
var start = 0;
var _IO3 = "";
var _r91 = null;
while (index < _Wm1.length) {
var _Y9 = _Wm1[index];
if (_Y9 == "&") {
if (_IO3 != "") {
if (start != index) _r91 = _Wm1.substring(start, index);
_tb3[_tb3.length] = _IO3;
_ub3[_ub3.length] = _r91;
_sb3[_IO3] = _r91;
_cc3++;
_IO3 = "";
_r91 = null;
}
start = index + 1;
} else if (_Y9 == "=") {
_IO3 = _Wm1.substring(start, index);
_r91 = null;
start = index + 1;
}
index++;
}
if (_IO3 != "") {
if (start != index) _r91 = _Wm1.substring(start, index);
_tb3[_tb3.length] = _IO3;
_ub3[_ub3.length] = _r91;
_sb3[_IO3] = _r91;
_cc3++;
_IO3 = _r91 = "";
}
}
function _6t3() {
_4O3 = canvas.style.position;
_5O3 = canvas.style.left;
_6O3 = canvas.style.top;
_7O3 = canvas.style.cssText;
_8O3 = canvas.parentNode;
_9O3 = canvas.nextSibling;
_aO3 = false;
_bO3 = canvas.margin;
if (_8O3 == document.body || canvas.mozRequestFullScreen || canvas.webkitRequestFullScreen) {
_aO3 = true;
}
}
window["GameMaker_Init"] = GameMaker_Init;
function GameMaker_Init() {
debug("------- GameMaker_Init -------------");
if (!document.getElementById || !document.createElement) return;
canvas = document.getElementById(_0p1);
_R41 = null;
if (!canvas) return;
_HO3(window.location);
_Ho1 = _72;
if (_Ho1._ok._Io1) {
var _JO3 = document.createElement("div");
_JO3.id = "yyDebugDiv";
_JO3.style.display = "none";
document.body.appendChild(_JO3);
}
_Ac3();
if (_Ho1._ok != undefined && _Ho1._ok._qk != undefined && _Ho1._ok._qk > 1) {
_F01 = true;
if (_Ho1._ok._tk != undefined) {
_I01._es1(_Ho1._ok._tk);
}
}
_xZ2();
_Ob3 = false;
_vm1 = [];
_vm1[_pY2] = new _Fk1();
_vm1[_lY2] = new _Fk1();
_vm1[_0m1] = new _Fk1();
if (_Ho1._ok._Kk && _Ho1._ok._Kk != 0) {
_Sb3 = _Ho1._ok._Ak;
var _KO3 = undefined;
_KO3 = _ZL3(canvas);
if (_KO3) {
_R41 = _131;
} else {
if (_Ho1._ok._Kk == 1) {
_Ob3 = true;
}
_R41 = canvas.getContext("2d");
}
} else {
_R41 = canvas.getContext("2d");
}
g_CurrentGraphics = _R41;
_2c3 = canvas.width;
_3c3 = canvas.height;
if (_Ho1._ok._Mk == true || _F01) {
_pb1 = _qb1;
}
if (_pb1 == _qb1) {
try {
g_WebAudioContext = new AudioContext();
} catch (e) {
try {
g_WebAudioContext = new webkitAudioContext();
} catch (e) {
debug("Web Audio API not supported in this browser");
_pb1 = _GI1;
}
}
if (_pb1 == _qb1 && g_WebAudioContext != null) {
g_WebAudioContext.addEventListener("statechange", _kI1);
}
_mH1();
}
document.body.style._LO3 = "hidden";
_OG3 = _R41;
_4u1 = canvas.width;
_6u1 = canvas.height;
_MN1 = _4u1;
_NN1 = _6u1;
_WQ1 = _MN1;
_XQ1 = _NN1;
_UQ1 = _Ho1._ok.scale != 0;
_oO3 = window.devicePixelRatio || 1;
_pO3 = _R41.webkitBackingStorePixelRatio || _R41.mozBackingStorePixelRatio || _R41.msBackingStorePixelRatio || _R41.oBackingStorePixelRatio || _R41.backingStorePixelRatio || 1;
_qO3 = _oO3 / _pO3;
_9b1 = new _tp1();
_8b1(canvas, _9b1);
_ON1 = _9b1.top;
_PN1 = _9b1.left;
_QN1 = _9b1.right;
_RN1 = _9b1.bottom;
if (_Ho1._ok._AO3 && !_Ho1._ok._0l) {
console.log("using internal runtime facebook");
_MO3(_Ho1._ok._AO3);
} else if (_Ho1._ok && _Ho1._ok._pk && _Ho1._ok._NO3) {
_Ho1._ok._NO3();
}
_6t3();
_vK1(_R41);
document.body.oncontextmenu = function () {
return false;
};
_Db1();
_Zc3 = document.getElementById("GM4HTML5_loadingscreen");
if ((_Ho1._ok && _Ho1._ok._pk) || (_Ho1._ok && _Ho1._ok._pk == undefined)) {
_Do1 = true;
}
if (_131 && _Do1) {
debug("WebGL Enabled!");
debug("Max Texture Size=" + _131._Lp2());
}
_4d3();
_nQ1();
if (_Ob3) {
_dO3 = -2;
} else {
if (_Do1) _rn._0m3 = _Ho1._ok._pk;
_Ib3 = "";
_Gb3 = "";
_Hb3 = function () {};
{
_Sd3(_Ho1);
_dO3 = 0;
}
}
_jO3 = Date.now();
window.requestAnimFrame(_wO3);
}
function _wO3() {
if (_dO3 != 3) window.requestAnimFrame(_wO3);
if (_eO3) {
_8b1(canvas, _9b1);
var load = document.getElementById("loading_screen");
load.style.position = "absolute";
load.style.left = _9b1.left + "px";
load.style.top = _9b1.top + "px";
}
var _t22 = false;
while (!_t22) {
_t22 = true;
switch (_dO3) {
case -2: {
if (_eO3) _GO3();
_OO3(_R41, _MN1, _NN1);
break;
}
case -1:
if (_Xc3 == _Yc3) {
_Sd3(_Ho1);
_dO3 = 0;
if (!_eO3) {
_FO3();
_eO3 = true;
}
__d3();
_Ib3(_cO3, _MN1, _NN1, _Wc3, _DJ1, _Zc3);
}
break;
case 0:
if (!_eO3) {
_FO3();
_eO3 = true;
}
if (_DJ1 >= _Wc3) {
_DJ1 = _Wc3;
_dO3 = 1;
_t22 = false;
}
__d3();
if (_Ho1._ok._PO3) {
if (_Xc3 == _Yc3) {
_Gb3 = eval(_Ho1._ok._PO3);
_Gb3(_cO3, _MN1, _NN1, _Wc3, _DJ1, _Zc3);
}
} else _Ib3(_cO3, _MN1, _NN1, _Wc3, _DJ1, _Zc3);
break;
case 1:
if (_Xc3 == _Yc3) {
_GO3();
_ae3(_Ho1);
_dO3 = 2;
_t22 = false;
}
break;
case 2:
_Hb3();
debug("Entering main loop...");
_QO3();
_dO3 = 3;
_rn._2l3 = new Date().getTime();
_t22 = false;
break;
case 3:
_RO3();
break;
}
}
}
function _SO3(_sn3, x, y, _If, text) {
_sn3.fillStyle = _If;
_sn3.lineStyle = _If;
_sn3.font = "14px Verdana";
_sn3.textAlign = "center";
_sn3.fillText(text, x, y);
_sn3.textAlign = "left";
}
function _OO3(_sn3, _931, _a31) {
_sn3.fillStyle = _ie1(0x151515, 1.0);
_sn3.fillRect(0, 0, _931, _a31);
_SO3(_sn3, _931 / 2, _a31 / 2, _ie1(0x8d8f90, 1.0), "WebGL is required to run this application.");
}
function _Ud3(_R41, _931, _a31, _TO3, _UO3, _VO3) {
_R41.globalAlpha = 1;
if (_VO3) {
try {
_R41.save();
_R41.fillStyle = _ie1(0, 1);
_R41.globalCompositeOperation = "copy";
_R41.fillRect(0, 0, _931, _a31);
_R41.restore();
_R41.drawImage(_Zc3, 0, 0, _931, _a31);
} catch (e) {
_Yo1(e.message);
}
} else {
var _WO3 = (_931 / 100) * 50;
var _XO3 = 2;
var x = (_931 - _WO3) / 2;
var y = 10 + (_a31 - _XO3) / 2;
_R41.fillStyle = _ie1(0x151515, 1.0);
_R41.fillRect(0, 0, _931, _a31);
if (_UO3 != 0) {
var _Z9 = (_WO3 / _TO3) * _UO3;
_R41.fillStyle = _ie1(0x404040, 1.0);
_R41.fillRect(x, y, _WO3, _XO3);
_R41.fillStyle = _ie1(0x8d8f90, 1.0);
_R41.fillRect(x, y, _Z9, _XO3);
}
_SO3(_R41, _931 / 2, _a31 / 2, _ie1(0x8d8f90, 1.0), "Loading");
}
}
function _YO3(_8H3) {
_Wd1._Ua1();
var _ZO3 = _8H3._SF1._Mf;
for (var _X9 = 0; _X9 < _ZO3.length; _X9++) {
_Wd1._Da1(_ZO3[_X9]);
var _Zd1 = _Wd1._s11(_X9);
var __O3 = _Wd1._Xd1(_X9);
_rn._8l3[_X9] = _Zd1._4a;
_rn._9l3[_X9] = _Zd1._1x1;
_rn._al3[_X9] = _Zd1.index;
_rn._bl3[_X9] = _Zd1.x;
_rn._cl3[_X9] = _Zd1.y;
if (__O3 !== null && __O3 !== undefined && __O3.__d1 !== null && __O3.__d1 !== undefined) {
_rn._dl3[_X9] = __O3.__d1._Z9;
_rn._el3[_X9] = __O3.__d1.__9;
} else {
_rn._dl3[_X9] = 0;
_rn._el3[_X9] = 0;
}
_rn._fl3[_X9] = _Zd1._Mh3;
_rn._gl3[_X9] = _Zd1._Nh3;
_rn._hl3[_X9] = _Zd1._4x1;
_rn._il3[_X9] = _Zd1._5x1;
_rn._kl3[_X9] = _Zd1._Ph3;
_rn._jl3[_X9] = _Zd1._Oh3;
_rn._ll3[_X9] = _Zd1._7x1;
_rn._ml3[_X9] = _Zd1.alpha;
}
_rn._6l3 = _8H3._gE3;
}
function _VX2(_ZC3, _0P3) {
if (_D01) {
_D01.__G3();
var _1P3 = _D01._eX2();
for (var _X9 = 0; _X9 < 8; _X9++) {
var _7b1 = _D01._lx2(_X9);
if (_7b1) {
var _2P3 = _7b1._RZ2;
if (_2P3 != -1) {
var _AX2 = _zY2._hX2(_2P3);
if (_AX2) {
if (_1P3) {
_AX2._cX2(true);
} else {
_AX2._cX2(false);
}
}
}
}
}
if (_F01) {
if (_zY2 != null) {
_zY2._XX2();
}
}
}
var _3P3 = _D01;
_VF1 = -1;
_iy1._B11(_X13, 0);
_uD3();
_lu3();
var _fc = [];
var _4P3 = [];
if (_3P3 != null) {
for (var _X9 = _3P3._8w1.length - 1; _X9 >= 0; _X9--) {
var _Yv1 = _3P3._8w1._s11(_X9);
if (_Yv1._fc) {
_fc[_fc.length] = _Yv1;
_Yv1._5P3 = true;
var _ty1 = _az1._fz1(_3P3, _Yv1._nT());
if (_ty1 != null) {
if (_ty1._fx1) {
_4P3[_4P3.length] = null;
} else {
_4P3[_4P3.length] = _ty1._gx1;
}
} else {
_4P3[_4P3.length] = null;
}
}
}
for (var _X9 = _fc.length - 1; _X9 >= 0; _X9--) {
_3P3._8w1._qz1(_fc[_X9]);
}
if (_3P3._iA3 === false) {
_3P3._1F3(true);
} else {
for (var _X9 = _3P3._8w1.length - 1; _X9 >= 0; _X9--) {
var _Yv1 = _3P3._8w1._s11(_X9);
_Yv1._fw1._iz1(_Yv1);
}
}
}
_f91._Ua1();
if (_D01 && !_D01._iA3) {
var _6P3 = _D01._SF1;
_D01._ay1();
_D01._SF1 = _6P3;
}
_D01 = _By1._s11(_ZC3);
var _7P3 = _D01._iA3;
if (_7P3 === true && _D01._fE3 === false) {
_7P3 = false;
}
if (_7P3 === false) {
_D01._yE3(_D01._SF1);
_D01._gF3();
} else {
_D01._rE3(_D01._Vz1);
_D01._sE3(_D01._Xz1);
_D01._tE3(_D01._2m3);
_D01._vE3(_D01._eE3);
_D01._cX2(_D01._iA3);
_D01._gF3();
for (_X9 = _D01._8w1.length - 1; _X9 >= 0; _X9--) {
var _Yv1 = _D01._8w1._s11(_X9);
_Yv1._fw1._cz1(_Yv1);
}
}
_rn._Ay1 = _D01.id;
_IG3();
var _vL2 = _YQ1._Z9 / (__u1.right - __u1.left);
var _wL2 = _YQ1.__9 / (__u1.bottom - __u1.top);
var _3b1 = _D01._4b1 ? _D01._6b1 : _5b1;
for (var _X9 = 0; _X9 < _3b1.length; _X9++) {
var _7b1 = _3b1[_X9];
_7b1._ab1 = _7b1._hF3 * _vL2 + _YQ1.x;
_7b1._cb1 = _7b1._iF3 * _wL2 + _YQ1.y;
_7b1._DG3 = _7b1._jF3 * _vL2;
_7b1._EG3 = _7b1._kF3 * _wL2;
_7b1._bb1 = _7b1._ab1 + _7b1._DG3;
_7b1._db1 = _7b1._cb1 + _7b1._EG3;
}
_YO3(_D01);
if (_7P3 === false) {
_D01._0F3();
_D01._1F3(false);
var _8P3 = _D01._SF1._Sf;
for (var _921 = 0; _921 < _D01._SF1._Sf.length; _921++) {
var _4o1 = false;
var _9P3 = _D01._SF1._Sf[_921];
if (_9P3.index >= 0) {
for (var _P41 = _fc.length - 1; _P41 >= 0; _P41--) {
if (_9P3.id == _fc[_P41].id) {
_4o1 = true;
_az1._lz1(_D01, _fc[_P41].id);
break;
}
}
if (!_4o1) {
var _iC1 = _D01._9F3(_9P3.x, _9P3.y, _9P3.id, _9P3.index, _9P3.scaleX, _9P3.scaleY, _9P3.imageSpeed, _9P3.imageIndex, _9P3.rotation, _9P3._If);
_iC1._5P3 = false;
}
}
}
var _8P3 = _D01._SF1._Sf;
for (var _921 = 0; _921 < _D01._SF1._Sf.length; _921++) {
var _9P3 = _D01._SF1._Sf[_921];
var _iC1 = _iy1._s11(_9P3.id);
if (_iC1 && _iC1._5P3 == false) {
_iC1._5P3 = true;
if (!_Pb3 && !_F01) {
if (_9P3._bg) _9P3._bg(_iC1, _iC1);
_iC1._B11(_iw1, 0, _iC1, _iC1);
if (_9P3._Tf) _9P3._Tf(_iC1, _iC1);
_iC1._B11(_jw1, 0, _iC1, _iC1);
} else {
_iC1._B11(_iw1, 0, _iC1, _iC1);
if (_9P3._Tf) _9P3._Tf(_iC1, _iC1);
_iC1._B11(_jw1, 0, _iC1, _iC1);
if (_9P3._bg) _9P3._bg(_iC1, _iC1);
}
}
}
} else {
for (var _P41 = _fc.length - 1; _P41 >= 0; _P41--) {
_az1._kz1(_D01, _fc[_P41]);
}
}
for (var _P41 = 0; _P41 < _fc.length; _P41++) {
_D01._8w1._Da1(_fc[_P41]);
_fc[_P41]._hw1();
if (_F01) {
var _aP3 = -1;
if (_4P3[_P41] != null) {
var _Bz1 = _az1._Wy1(_D01, _4P3[_P41]);
if (_Bz1 == null) {
_Bz1 = _az1._nz1(_D01, _fc[_P41]._Xf, _4P3[_P41]);
}
if (_Bz1 != null) {
_aP3 = _Bz1._k91;
}
}
_fc[_P41]._hy1(false);
_fc[_P41]._hz1(_aP3);
_az1._cz1(_D01, _fc[_P41]);
var _bP3 = _az1._fz1(_D01, _fc[_P41]._nT());
if (_bP3 != null) {
_fc[_P41]._Xf = _bP3._Xf;
}
}
}
if (_F01) {
if (_zY2 != null) {
_zY2._VX2();
}
}
if (_az1 != null) _az1._My1(_D01);
_qD3();
if (_0P3) {
_iy1._B11(_U13, 0);
}
if (_7P3 == false && _D01._lE3 != null) {
var _cP3 = new _WX2(0, 0, 0, 0, false, true);
try {
_D01._lE3(_cP3, _cP3);
} catch (e) {
_8p(-1);
}
_cP3 = null;
}
_iy1._B11(_W13, 0);
_D01._fE3 = true;
}
function _dP3(_eP3) {
_VX2(_eP3, false);
}
function _QO3() {
_rn._Xk3 = 0;
_rn._Yk3 = -1;
_Wb3 = 0;
_Xb3 = -1;
_Yb3 = 0;
_Zb3 = 0;
_VX2(_By1._we3(0).id, true);
_jO3 = Date.now();
_fO3 = _jO3;
_rn._Pz1 = _1Z2;
_rn._dW = _1Z2;
_eI1();
}
function _fP3() {
_lb3 = [];
_mb3 = [];
_CY2 = -1;
_BY2 = -1;
_AY2 = 0;
_D01._8w1._Ua1();
_D01._mE3._Ua1();
var _xc1 = _o01._wF2;
for (var _X9 = 0; _X9 < _xc1.length; _X9++) {
var _8q1 = _xc1[_X9];
_8q1._n_2._Ua1();
_8q1._bs3._Ua1();
}
_iy1._Ua1();
}
function _gP3() {
_ub1._mu3();
}
function _hP3() {
if (_D01._Xp3.length > 0) _D01._2H3();
if (_D01._8w1._xA3 >= 0) _D01._8w1._pu3();
if (_D01._2D3.length > 0) _D01._5H3();
}
function _iP3() {
if (_D01._uF1) {
if (_F01) {
_D01._uF1._Va1(_I01._J01());
} else _D01._uF1._Va1(_D01._2m3);
} else {
_iy1._es3();
}
}
function _jP3() {
if (_D01._uF1 == null || _D01._uF1 == undefined) {
_UZ2();
}
}
function _kP3() {
_rn._1l3 = (_iO3 - _rn._2l3) * 1000;
_rn._2l3 = _iO3;
_ub1._ut3();
_yZ2();
_f91._Va1();
_iy1._ds3();
_iy1._fs3();
_hP3();
if (_VF1 != -1) return;
_az1._Mz1();
_iy1._B11(_S13, 0);
_hP3();
if (_VF1 != -1) return;
if (_Tb3) {
_Tb3 = false;
_iy1._B11(_B23, 0);
}
_Ca1._yh3();
_hP3();
if (_VF1 != -1) return;
_w_2();
_hP3();
if (_VF1 != -1) return;
_F_2();
_hP3();
if (_VF1 != -1) return;
_iu3();
_hP3();
if (_VF1 != -1) return;
_4_2();
_hP3();
if (_VF1 != -1) return;
_iy1._B11(_R13, 0);
_hP3();
if (_VF1 != -1) return;
_iP3();
_zZ2();
_hP3();
if (_VF1 != -1) return;
_wO1();
_hP3();
if (_VF1 != -1) return;
_jP3();
_hP3();
if (_VF1 != -1) return;
_iy1._B11(_T13, 0);
_hP3();
if (_VF1 != -1) return;
_hD3();
if (_D01 != null) {
_D01.__G3();
if (_Kb3) {
_D01._O31();
_hP3();
}
}
_D01._nF3();
_gP3();
_1H1();
}
function _IG3() {
var left, right, top, bottom;
left = 0;
right = -999999;
top = 0;
bottom = -999999;
if (_D01._4b1) {
for (var _X9 = 0; _X9 < _D01._6b1.length; _X9++) {
var _7b1 = _D01._6b1[_X9];
if (_7b1._4a) {
if (right < _7b1._hF3 + _7b1._jF3) right = _7b1._hF3 + _7b1._jF3;
if (bottom < _7b1._iF3 + _7b1._kF3) bottom = _7b1._iF3 + _7b1._kF3;
}
}
} else {
left = 0;
right = _D01._Vz1;
top = 0;
bottom = _D01._Xz1;
_ib3._jF3 = _ib3._pM1 = right;
_ib3._kF3 = _ib3._rM1 = bottom;
}
if (_kO3) {
if (!_VQ1) {
_WQ1 = _lO3;
_XQ1 = _mO3;
}
} else {
_WQ1 = _MN1;
_XQ1 = _NN1;
if (__L1(_WL1)) {
_8M1(_WL1);
_WL1 = -1;
}
}
_VQ1 = _kO3;
_UN1 = _MN1;
_VN1 = _NN1;
_WN1 = _WQ1 / (right - left);
_XN1 = _XQ1 / (bottom - top);
var _b21 = new _tp1();
_b21.left = left;
_b21.top = top;
_b21.right = right;
_b21.bottom = bottom;
__u1 = _b21;
_mM1 = _b21.left;
_oM1 = _b21.top;
_qM1 = _b21.right - _b21.left;
_sM1 = _b21.bottom - _b21.top;
_PQ1();
}
function _Ns1() {
var _Z9 = 640;
if (typeof window.innerWidth == "number") {
_Z9 = window.innerWidth;
} else if (document.documentElement && document.documentElement.clientWidth) {
_Z9 = document.documentElement.clientWidth;
} else if (document.body && document.body.clientWidth) {
_Z9 = document.body.clientWidth;
}
return _Z9;
}
function _Os1() {
var __9 = 480;
if (typeof window.innerHeight == "number") {
__9 = window.innerHeight;
} else if (document.documentElement && document.documentElement.clientHeight) {
__9 = document.documentElement.clientHeight;
} else if (document.body && document.body.clientHeight) {
__9 = document.body.clientHeight;
}
return __9;
}
function _lP3() {
_8b1(canvas, _9b1);
_ON1 = _9b1.top;
_PN1 = _9b1.left;
_QN1 = _9b1.right;
_RN1 = _9b1.bottom;
_yM1(_R41);
if (_2c3 != canvas.width || _3c3 != canvas.height) {
_Tb3 = true;
}
_2c3 = canvas.width;
_3c3 = canvas.height;
var _Z9 = _Ns1();
var __9 = _Os1();
if (_Lb3 && !_Ub3) {
if (_SN1 != _Z9 || _TN1 != __9) {
_Ub3 = true;
_Lb3 = false;
}
}
if (_Ub3) {
_Ub3 = false;
if (_Lb3) {
_Z9 = _4u1;
__9 = _6u1;
_Lb3 = false;
canvas.style.position = _4O3;
canvas.style.left = _5O3;
canvas.style.top = _6O3;
canvas.style.margin = _bO3;
canvas.style.cssText = _7O3;
if (!_aO3) {
if (canvas.parentNode != _8O3) {
_8O3.insertBefore(canvas, _9O3);
}
}
} else {
_Lb3 = true;
_JN1(0, 0);
if (!_aO3) {
if (canvas.parentNode == _8O3) {
_8O3.removeChild(canvas);
document.body.insertBefore(canvas, null);
}
}
}
canvas.width = _Z9;
canvas.height = __9;
_MN1 = canvas.width;
_NN1 = canvas.height;
_PN1 = canvas.offsetLeft;
_QN1 = _PN1 + _MN1;
_ON1 = canvas.offsetTop;
_RN1 = _PN1 + _NN1;
_SN1 = _MN1;
_TN1 = _NN1;
_UN1 = _Z9;
_VN1 = __9;
_WN1 = 1;
_XN1 = 1;
_IG3();
}
}
var _mP3 = 0;
var _nP3 = 0;
function _RO3() {
if (_131) {
_131._EM1();
}
var _Nr3;
if (_F01) {
_I01._Va1();
_Nr3 = _I01._J01();
} else {
_Nr3 = _D01._E01();
if (_Nr3 <= 0) {
_Nr3 = 1;
_D01._tE3(1);
}
}
_iO3 = Date.now();
if (_iO3 >= _fO3 + 1000) {
if (_iO3 - _jO3 < 2000) {
_1Z2 = _gO3;
_rn._Pz1 = _1Z2;
}
_gO3 = 0;
_fO3 = _iO3;
}
_gO3++;
var _oP3 = _jO3 + 1000 / _Nr3;
var now = Date.now();
var _9m2 = _jO3 + 1000 / _Nr3 - now;
if (_9m2 < 0) _9m2 = 0;
_jO3 = now + _9m2;
if (_9m2 > 4) {
setTimeout(function () {
if (window._uO3) {
window._uO3(_wO3);
} else {
}
}, _9m2);
} else {
if (window._uO3) {
window._uO3(_wO3);
} else {
window._pP3("yyRequestAnimationFrame", "*");
}
}
if (!_wZ2) {
_lP3();
var _qP3 = 10;
var _t22 = false;
while (!_t22) {
_t22 = true;
if (_D01 === null) {
_ib3._bb1 = _ib3._DG3 = _ib3._jF3 = _ib3._pM1 = _MN1;
_ib3._db1 = _ib3._EG3 = _ib3._kF3 = _ib3._rM1 = _NN1;
} else {
_IG3();
}
_ln3();
_kP3();
_on3();
switch (_VF1) {
case -1:
break;
case _WF1:
case _E13:
return;
case _C13:
_fP3();
_By1._aH3();
_QO3();
break;
case _D13:
_ae3();
break;
default:
_dP3(_VF1);
_t22 = false;
break;
}
_qP3--;
if (_qP3 <= 0) break;
}
}
if (_Ho1._ok && _Ho1._ok._pk && _Ho1._ok._rP3) {
_Ho1._ok._rP3();
}
}