Array.prototype.__2=0;var _03={_13:[],_23:[{_33:"souTiro",_43:0,_53:".wav",_63:"souTiro",_73:0,volume:1,_83:0,preload:!0,_93:0},{_33:"souExplosao",_43:0,_53:".wav",_63:"souExplosao",_73:0,volume:1,_83:0,preload:!0,_93:0},{_33:"souImpacto",_43:0,_53:".wav",_63:"souImpacto",_73:0,volume:1,_83:0,preload:!0,_93:0},{_33:"souMusica",_43:0,_53:".mp3",_63:"souMusica",_73:0,volume:1,_83:0,preload:!0,_93:0},{_33:"souDano",_43:0,_53:".wav",_63:"souDano",_73:0,volume:1,_83:0,preload:!0,_93:0}],_a3:[],_b3:[{_33:"spr_play",
width:160,height:55,_c3:!1,_d3:!1,preload:!1,_e3:!1,_f3:80,_g3:27,_h3:159,_i3:54,_j3:1,_k3:0,_l3:[7]},{_33:"spr_banner",width:160,height:55,_c3:!1,_d3:!1,preload:!1,_e3:!1,_f3:80,_g3:27,_h3:159,_i3:54,_j3:1,_k3:0,_l3:[5]},{_33:"spr_image",width:160,height:55,_c3:!1,_d3:!1,preload:!1,_e3:!1,_f3:80,_g3:27,_h3:159,_i3:54,_j3:1,_k3:0,_l3:[6]},{_33:"spr_video",width:160,height:55,_c3:!1,_d3:!1,preload:!1,_e3:!1,_f3:80,_g3:27,_h3:159,_i3:54,_j3:1,_k3:0,_l3:[8]},{_33:"sprMira",width:48,height:48,_c3:!1,
_d3:!1,preload:!1,_e3:!1,_f3:24,_g3:24,_h3:47,_i3:47,_j3:1,_k3:0,_l3:[10]},{_33:"sprArma",width:11,height:8,_c3:!1,_d3:!1,preload:!1,_e3:!1,_f3:5,_g3:4,_h3:10,_i3:7,_j3:1,_k3:0,_l3:[19]},{_33:"sprCabeca",width:12,height:11,_c3:!1,_d3:!1,preload:!1,_e3:!1,_f3:6,_g3:8,_h3:11,_i3:10,_j3:1,_k3:0,_l3:[17]},{_33:"sprParede",width:32,height:32,_c3:!1,_d3:!1,preload:!1,_e3:!1,_f3:16,_g3:16,_h3:31,_i3:31,_j3:1,_k3:0,_l3:[11]},{_33:"sprRay",width:26,height:26,_m3:2,_c3:!1,_d3:!1,preload:!1,_e3:!0,_f3:13,_g3:13,
_n3:8,_h3:17,_o3:8,_i3:17,_j3:1,_k3:0,_l3:[12],_p3:[[0xA0,0x00,0x00,0x3E,0x82,0x00,0x00,0x7F,0x82,0x00,0x14,0xFF,0x80,0x00,0x00,0xFF,0x80,0x00,0x00,0xFF,0x80,0x00,0x00,0xFF,0x80,0x00,0x00,0xFF,0x80,0x00,0x00,0x7F,0x82,0x00,0x00,0x3E,0xA5,0x00]]},{_33:"sprSerra",width:64,height:64,_c3:!1,_d3:!1,preload:!1,_e3:!0,_f3:32,_g3:32,_h3:63,_i3:63,_j3:1,_k3:0,_l3:[9],_p3:[[0x82,0x00,0x01,0x01,0x80,0x85,0x00,0x01,0x01,0xC0,0x85,0x00,0x01,0x03,0xC0,0x85,0x00,0x01,0x03,0xE0,0x85,0x00,0x01,0x07,0xF0,0x85,0x00,
0x01,0x0F,0xF0,0x85,0x00,0x01,0x0F,0xF8,0x85,0x00,0x01,0x1F,0xFC,0x85,0x00,0x01,0x3F,0xFE,0x83,0x00,0x10,0x60,0x00,0x7F,0xFF,0x00,0x06,0x00,0x00,0x7E,0x00,0xFF,0xFF,0xC0,0x3E,0x00,0x00,0x7F,0x83,0xFF,0x03,0xFE,0x00,0x00,0x3F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x3F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x3F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x3F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x3F,0x83,0xFF,0x03,0xF8,0x00,0x00,0x3F,0x83,0xFF,0x03,0xF8,0x00,0x00,0x3F,0x83,0xFF,0x03,0xF8,0x00,0x00,0x3F,0x83,0xFF,0x03,0xF8,0x00,0x00,
0x3F,0x83,0xFF,0x51,0xF8,0x00,0x00,0x3F,0xF9,0xFF,0xFF,0xDF,0xF8,0x00,0x00,0x3F,0xF8,0xFF,0xFF,0x1F,0xF8,0x00,0x00,0x7F,0xFC,0x7F,0xFC,0x3F,0xFC,0x00,0x00,0x7F,0xFC,0x3F,0xF8,0x3F,0xFC,0x00,0x00,0xFF,0xFE,0x1F,0xF0,0x7F,0xFE,0x00,0x01,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x87,0xE1,0xFF,0xFF,0xC0,0x07,0xFF,0xFF,0xC3,0xC3,0xFF,0xFF,0xE0,0x1F,0xFF,0xFF,0xE3,0xC7,0xFF,0xFF,0xF8,0x3F,0xFF,0xFF,0xF9,0x9F,0xFF,0xFF,0xFC,0x8F,0xFF,0x59,0x7F,0xFF,0xFF,0xFD,0xBF,0xFF,0xFF,0xFE,0x1F,0xFF,0xFF,
0xF9,0xDF,0xFF,0xFF,0xFC,0x0F,0xFF,0xFF,0xE3,0xC7,0xFF,0xFF,0xF0,0x07,0xFF,0xFF,0xC3,0xE3,0xFF,0xFF,0xE0,0x03,0xFF,0xFF,0x87,0xF1,0xFF,0xFF,0xC0,0x01,0xFF,0xFF,0x0F,0xF0,0xFF,0xFF,0x80,0x00,0xFF,0xFE,0x1F,0xF8,0x7F,0xFF,0x00,0x00,0x7F,0xFC,0x3F,0xFC,0x3F,0xFE,0x00,0x00,0x3F,0xFC,0x7F,0xFF,0x1F,0xFE,0x00,0x00,0x3F,0xF9,0xFF,0xFF,0x9F,0xFC,0x00,0x00,0x1F,0xF7,0xFF,0xFF,0xCF,0xFC,0x00,0x00,0x1F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x1F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x1F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x1F,
0x83,0xFF,0x03,0xFC,0x00,0x00,0x1F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x3F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x3F,0x83,0xFF,0x03,0xFC,0x00,0x00,0x3F,0x83,0xFF,0x03,0xFE,0x00,0x00,0x3F,0x83,0xFF,0x04,0xFE,0x00,0x00,0x7F,0x83,0x82,0xFF,0x08,0xFE,0x00,0x00,0x70,0x00,0x7F,0xFF,0x80,0x0E,0x83,0x00,0x01,0x3F,0xFE,0x85,0x00,0x01,0x1F,0xFC,0x85,0x00,0x01,0x1F,0xF8,0x85,0x00,0x01,0x0F,0xF8,0x85,0x00,0x01,0x07,0xF0,0x85,0x00,0x01,0x07,0xE0,0x85,0x00,0x01,0x03,0xC0,0x85,0x00,0x01,0x01,0xC0,0x85,0x00,0x01,0x01,0x80,
0x82,0x00]]},{_33:"sprEspinhos",width:32,height:32,_m3:2,_c3:!1,_d3:!1,preload:!1,_e3:!1,_f3:16,_g3:16,_h3:8,_o3:4,_i3:27,_j3:1,_k3:0,_l3:[15,13,16,14]},{_33:"sprTiro",width:10,height:10,_c3:!1,_d3:!1,preload:!1,_e3:!1,_f3:5,_g3:5,_h3:9,_i3:9,_j3:1,_k3:0,_l3:[18,20]},{_33:"sprite12",width:632,height:520,_c3:!1,_d3:!1,preload:!1,_e3:!1,_h3:631,_i3:519,_j3:1,_k3:0,_l3:[3]}],_q3:[{_33:"bac2",_c3:!1,_d3:!1,preload:!1,_r3:16,_s3:16,_t3:0,_u3:0,_v3:0,frames:0,_w3:0,_x3:0,_l3:2},{_33:"bac3",_c3:!1,_d3:!1,
preload:!1,_r3:16,_s3:16,_t3:0,_u3:0,_v3:0,frames:0,_w3:0,_x3:0,_l3:1},{_33:"bac1",_c3:!1,_d3:!1,preload:!1,_r3:16,_s3:16,_t3:0,_u3:0,_v3:0,frames:0,_w3:0,_x3:0,_l3:0}],_y3:[],_z3:[_A3,_B3,_C3,_D3,_E3],_F3:["scrObstaculo","scrObstaculoB","scrColore","scrTremerTela","scrSalvaMoeda"],_G3:[],_H3:[{_33:"fonMedia",_I3:16,bold:!1,_J3:!1,_K3:32,_L3:127,_M3:1,antialias:3,_N3:"Arial",_O3:4,scaleX:1,scaleY:1,_P3:[{_Q3:32,_R3:" ",x:197,y:81,_S3:6,_T3:24,shift:6,offset:0},{_Q3:33,_R3:"!",x:90,y:107,_S3:2,_T3:20,
shift:7,offset:3},{_Q3:34,_R3:"\"",x:66,y:107,_S3:6,_T3:11,shift:8,offset:1},{_Q3:35,_R3:"#",x:119,y:29,_S3:12,_T3:20,shift:12,offset:0},{_Q3:36,_R3:"$",x:53,y:55,_S3:10,_T3:22,shift:12,offset:1},{_Q3:37,_R3:"%",x:65,y:2,_S3:16,_T3:20,shift:19,offset:1},{_Q3:38,_R3:"&",x:17,y:29,_S3:13,_T3:20,shift:14,offset:1},{_Q3:39,_R3:"'",x:116,y:107,_S3:2,_T3:11,shift:4,offset:1},{_Q3:40,_R3:"(",x:181,y:81,_S3:6,_T3:24,shift:7,offset:2},{_Q3:41,_R3:")",x:165,y:81,_S3:6,_T3:24,shift:7,offset:0},{_Q3:42,_R3:"*",
x:48,y:107,_S3:8,_T3:12,shift:8,offset:1},{_Q3:43,_R3:"+",x:128,y:81,_S3:10,_T3:17,shift:13,offset:1},{_Q3:44,_R3:",",x:82,y:107,_S3:2,_T3:23,shift:6,offset:2},{_Q3:45,_R3:"-",x:58,y:107,_S3:6,_T3:15,shift:7,offset:1},{_Q3:46,_R3:".",x:106,y:107,_S3:2,_T3:20,shift:6,offset:2},{_Q3:47,_R3:"/",x:205,y:81,_S3:7,_T3:20,shift:6,offset:0},{_Q3:48,_R3:"0",x:197,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:49,_R3:"1",x:9,y:107,_S3:6,_T3:20,shift:12,offset:2},{_Q3:50,_R3:"2",x:101,y:55,_S3:10,_T3:20,shift:12,
offset:1},{_Q3:51,_R3:"3",x:65,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:52,_R3:"4",x:149,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:53,_R3:"5",x:161,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:54,_R3:"6",x:125,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:55,_R3:"7",x:2,y:81,_S3:10,_T3:20,shift:12,offset:1},{_Q3:56,_R3:"8",x:137,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:57,_R3:"9",x:26,y:81,_S3:10,_T3:20,shift:12,offset:1},{_Q3:58,_R3:":",x:94,y:107,_S3:2,_T3:20,shift:6,offset:2},{_Q3:59,_R3:";",
x:78,y:107,_S3:2,_T3:23,shift:6,offset:2},{_Q3:60,_R3:"<",x:93,y:81,_S3:10,_T3:18,shift:13,offset:1},{_Q3:61,_R3:"=",x:153,y:81,_S3:10,_T3:16,shift:13,offset:1},{_Q3:62,_R3:">",x:105,y:81,_S3:10,_T3:18,shift:13,offset:1},{_Q3:63,_R3:"?",x:173,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:64,_R3:"@",x:2,y:2,_S3:20,_T3:25,shift:22,offset:1},{_Q3:65,_R3:"A",x:100,y:2,_S3:15,_T3:20,shift:14,offset:0},{_Q3:66,_R3:"B",x:227,y:29,_S3:12,_T3:20,shift:14,offset:2},{_Q3:67,_R3:"C",x:2,y:29,_S3:13,_T3:20,shift:15,
offset:1},{_Q3:68,_R3:"D",x:32,y:29,_S3:13,_T3:20,shift:15,offset:2},{_Q3:69,_R3:"E",x:173,y:29,_S3:12,_T3:20,shift:14,offset:2},{_Q3:70,_R3:"F",x:27,y:55,_S3:11,_T3:20,shift:13,offset:2},{_Q3:71,_R3:"G",x:231,y:2,_S3:14,_T3:20,shift:17,offset:1},{_Q3:72,_R3:"H",x:159,y:29,_S3:12,_T3:20,shift:15,offset:2},{_Q3:73,_R3:"I",x:102,y:107,_S3:2,_T3:20,shift:6,offset:2},{_Q3:74,_R3:"J",x:38,y:81,_S3:9,_T3:20,shift:11,offset:0},{_Q3:75,_R3:"K",x:62,y:29,_S3:13,_T3:20,shift:14,offset:2},{_Q3:76,_R3:"L",x:209,
y:55,_S3:10,_T3:20,shift:12,offset:2},{_Q3:77,_R3:"M",x:151,y:2,_S3:15,_T3:20,shift:18,offset:2},{_Q3:78,_R3:"N",x:213,y:29,_S3:12,_T3:20,shift:15,offset:2},{_Q3:79,_R3:"O",x:117,y:2,_S3:15,_T3:20,shift:17,offset:1},{_Q3:80,_R3:"P",x:91,y:29,_S3:12,_T3:20,shift:14,offset:2},{_Q3:81,_R3:"Q",x:83,y:2,_S3:15,_T3:21,shift:17,offset:1},{_Q3:82,_R3:"R",x:47,y:29,_S3:13,_T3:20,shift:15,offset:2},{_Q3:83,_R3:"S",x:145,y:29,_S3:12,_T3:20,shift:14,offset:1},{_Q3:84,_R3:"T",x:187,y:29,_S3:12,_T3:20,shift:13,
offset:1},{_Q3:85,_R3:"U",x:105,y:29,_S3:12,_T3:20,shift:15,offset:2},{_Q3:86,_R3:"V",x:134,y:2,_S3:15,_T3:20,shift:14,offset:0},{_Q3:87,_R3:"W",x:24,y:2,_S3:21,_T3:20,shift:21,offset:1},{_Q3:88,_R3:"X",x:199,y:2,_S3:14,_T3:20,shift:14,offset:0},{_Q3:89,_R3:"Y",x:215,y:2,_S3:14,_T3:20,shift:14,offset:0},{_Q3:90,_R3:"Z",x:77,y:29,_S3:12,_T3:20,shift:13,offset:1},{_Q3:91,_R3:"[",x:42,y:107,_S3:4,_T3:24,shift:6,offset:2},{_Q3:92,_R3:"\\",x:214,y:81,_S3:7,_T3:20,shift:6,offset:0},{_Q3:93,_R3:"]",x:36,
y:107,_S3:4,_T3:24,shift:6,offset:1},{_Q3:94,_R3:"^",x:25,y:107,_S3:9,_T3:12,shift:10,offset:1},{_Q3:95,_R3:"_",x:185,y:2,_S3:12,_T3:24,shift:12,offset:0},{_Q3:96,_R3:"`",x:110,y:107,_S3:4,_T3:8,shift:7,offset:1},{_Q3:97,_R3:"a",x:221,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:98,_R3:"b",x:233,y:55,_S3:10,_T3:20,shift:12,offset:2},{_Q3:99,_R3:"c",x:89,y:55,_S3:10,_T3:20,shift:11,offset:1},{_Q3:100,_R3:"d",x:185,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:101,_R3:"e",x:113,y:55,_S3:10,_T3:20,shift:12,
offset:1},{_Q3:102,_R3:"f",x:235,y:81,_S3:7,_T3:20,shift:7,offset:1},{_Q3:103,_R3:"g",x:201,y:29,_S3:10,_T3:24,shift:12,offset:1},{_Q3:104,_R3:"h",x:82,y:81,_S3:9,_T3:20,shift:12,offset:2},{_Q3:105,_R3:"i",x:86,y:107,_S3:2,_T3:20,shift:5,offset:2},{_Q3:106,_R3:"j",x:2,y:107,_S3:5,_T3:24,shift:5,offset:-1},{_Q3:107,_R3:"k",x:49,y:81,_S3:9,_T3:20,shift:11,offset:2},{_Q3:108,_R3:"l",x:98,y:107,_S3:2,_T3:20,shift:5,offset:2},{_Q3:109,_R3:"m",x:168,y:2,_S3:15,_T3:20,shift:18,offset:2},{_Q3:110,_R3:"n",
x:71,y:81,_S3:9,_T3:20,shift:12,offset:2},{_Q3:111,_R3:"o",x:77,y:55,_S3:10,_T3:20,shift:12,offset:1},{_Q3:112,_R3:"p",x:133,y:29,_S3:10,_T3:24,shift:12,offset:2},{_Q3:113,_R3:"q",x:2,y:55,_S3:10,_T3:24,shift:12,offset:1},{_Q3:114,_R3:"r",x:244,y:81,_S3:6,_T3:20,shift:7,offset:2},{_Q3:115,_R3:"s",x:60,y:81,_S3:9,_T3:20,shift:10,offset:1},{_Q3:116,_R3:"t",x:17,y:107,_S3:6,_T3:20,shift:6,offset:0},{_Q3:117,_R3:"u",x:117,y:81,_S3:9,_T3:20,shift:12,offset:2},{_Q3:118,_R3:"v",x:14,y:55,_S3:11,_T3:20,
shift:12,offset:1},{_Q3:119,_R3:"w",x:47,y:2,_S3:16,_T3:20,shift:15,offset:0},{_Q3:120,_R3:"x",x:40,y:55,_S3:11,_T3:20,shift:11,offset:0},{_Q3:121,_R3:"y",x:241,y:29,_S3:10,_T3:24,shift:11,offset:1},{_Q3:122,_R3:"z",x:14,y:81,_S3:10,_T3:20,shift:11,offset:1},{_Q3:123,_R3:"{",x:173,y:81,_S3:6,_T3:24,shift:7,offset:1},{_Q3:124,_R3:"|",x:74,y:107,_S3:2,_T3:25,shift:6,offset:2},{_Q3:125,_R3:"}",x:189,y:81,_S3:6,_T3:24,shift:7,offset:1},{_Q3:126,_R3:"~",x:140,y:81,_S3:11,_T3:15,shift:13,offset:1},{_Q3:127,
x:223,y:81,_S3:10,_T3:14,shift:12,offset:1},],}],_U3:[],_V3:[{},],_W3:[{_33:"o_controla",_X3:-1,_Y3:!0,parent:-100,_Z3:__3,_04:_14,_24:[],_34:[]},{_33:"objAnulador",_X3:-1,_Y3:!0,_44:100,parent:-100,_54:!0,_64:!0,_74:1,_84:0,_94:0.1,_a4:0,_b4:0.1,_c4:0.1,_d4:0.2,_e4:!0,_f4:!0,_g4:[0,0,64,0,64,64,0,64],_24:[],_34:[]},{_33:"SOLIDO",_X3:-1,_Y3:!0,parent:-100,_24:[],_34:[]},{_33:"o_banner",_X3:1,_Y3:!0,parent:-100,_h4:_i4,_24:[],_34:[]},{_33:"objBloco",_X3:7,_Y3:!0,_j4:!0,parent:2,_54:!0,_64:!1,_74:1,
_84:0,_94:0.1,_a4:1,_b4:0.1,_c4:0.1,_d4:0.2,_e4:!0,_f4:!1,_g4:[-16,-16,16,-16,16,16,-16,16],_24:[],_34:[]},{_33:"objSerra",_X3:9,_Y3:!0,parent:10,_k4:_l4,_h4:_m4,_24:[],_34:[]},{_33:"o_int",_X3:2,_Y3:!0,parent:-100,_h4:_n4,_24:[],_34:[]},{_33:"objJogador",_X3:8,_Y3:!0,parent:-100,_54:!0,_64:!1,_74:0,_84:1,_94:0.1,_a4:1,_b4:0.1,_c4:0.1,_d4:0.2,_e4:!0,_f4:!1,_g4:[0,0,13,32],_k4:_o4,_p4:_q4,_h4:_r4,_04:_s4,_t4:_u4,_v4:_w4,_x4:_y4,_z4:_A4,_24:[],_34:[10,_B4]},{_33:"objTiro",_X3:11,_Y3:!0,_j4:!0,parent:-100,
_54:!0,_64:!1,_74:0,_84:0.5,_94:0.1,_a4:1,_b4:0.1,_c4:0.1,_d4:0.2,_e4:!0,_f4:!1,_g4:[-1,-1,3,4],_k4:_C4,_D4:_E4,_h4:_F4,_24:[],_34:[]},{_33:"o_video",_X3:3,_Y3:!0,parent:-100,_h4:_G4,_24:[],_34:[]},{_33:"DANO",_X3:-1,_Y3:!0,parent:-100,_24:[],_34:[]},{_33:"o_control",_X3:-1,_Y3:!0,_44:-1000,parent:-100,_k4:_H4,_h4:_I4,_Z3:_J4,_K4:_L4,_t4:_M4,_24:[],_34:[]},{_33:"objVento",_X3:-1,_44:100,parent:-100,_54:!0,_64:!0,_74:1,_84:0,_94:0.1,_a4:0,_b4:0.1,_c4:0.1,_d4:0.2,_e4:!0,_f4:!0,_g4:[0,0,64,0,64,64,
0,64],_k4:_N4,_24:[],_34:[]},{_33:"objEspinhos",_X3:10,_Y3:!0,_j4:!0,_44:16,parent:10,_k4:_O4,_24:[],_34:[]},{_33:"objFragmentos",_X3:11,_Y3:!0,parent:-100,_54:!0,_64:!1,_74:0,_84:0.1,_94:0.1,_a4:1,_b4:0.1,_c4:0.1,_d4:0.2,_e4:!0,_f4:!1,_g4:[-1,-1,4,4],_k4:_P4,_h4:_Q4,_24:[],_34:[0,_R4]},{_33:"objMorte",_X3:-1,_Y3:!0,parent:-100,_k4:_S4,_D4:_T4,_24:[],_34:[]},{_33:"objTremor",_X3:-1,_Y3:!0,parent:-100,_h4:_U4,_24:[],_34:[]}],_V4:[{_33:"room1",width:864,height:486,_W4:60,_X4:!0,_Y4:!0,_Z4:0,__4:0,
_05:1024,_15:768,_25:0,_35:10,_45:0.2,_55:[{_Y3:!0,index:0,},{},{},{},{},{},{},{}],_65:[{_Y3:!0,_75:864,_85:486,_95:1360,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,}],_b5:[{x:32,y:64,index:11,id:100000,rotation:0,scaleX:1,scaleY:1,_c5:4294967295},{x:864,y:352,index:4,id:100001,
rotation:0,scaleX:1,scaleY:1,_c5:4294967295},{x:864,y:288,index:7,id:100002,rotation:0,scaleX:1,scaleY:1,_c5:4294967295},{x:896,y:352,index:4,id:100003,rotation:0,scaleX:1,scaleY:1,_c5:4294967295},{x:832,y:352,index:4,id:100004,rotation:0,scaleX:1,scaleY:1,_c5:4294967295}],_d5:[]},{_33:"room0",width:480,height:720,_55:[{},{},{},{},{},{},{},{}],_65:[{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{
_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,},{_75:1024,_85:768,_95:1024,_a5:768,}],_b5:[{x:40,y:40,index:0,id:100005,rotation:0,scaleX:1,scaleY:1,_c5:4294967295},{x:240,y:120,index:3,id:100006,rotation:0,scaleX:1,scaleY:1,_c5:4294967295},{x:240,y:240,index:6,id:100007,rotation:0,scaleX:1,scaleY:1,_c5:4294967295},{x:240,y:360,index:9,id:100008,rotation:0,scaleX:1,scaleY:1,_c5:4294967295}],_d5:[]}],_e5:[0,1],_f5:[{x:4,y:4,_S3:768,_T3:768,
_g5:0,_h5:0,_i5:768,_j5:768,_k5:768,_l5:768,_m5:0},{x:4,y:780,_S3:768,_T3:768,_g5:0,_h5:0,_i5:768,_j5:768,_k5:768,_l5:768,_m5:0},{x:4,y:1556,_S3:864,_T3:486,_g5:0,_h5:0,_i5:864,_j5:486,_k5:864,_l5:486,_m5:0},{x:874,y:2,_S3:632,_T3:520,_g5:0,_h5:0,_i5:632,_j5:520,_k5:632,_l5:520,_m5:0},{x:1510,y:2,_S3:256,_T3:256,_g5:0,_h5:0,_i5:256,_j5:256,_k5:256,_l5:256,_m5:0},{x:1770,y:2,_S3:160,_T3:55,_g5:0,_h5:0,_i5:160,_j5:55,_k5:160,_l5:55,_m5:0},{x:1510,y:262,_S3:160,_T3:55,_g5:0,_h5:0,_i5:160,_j5:55,_k5:160,
_l5:55,_m5:0},{x:1770,y:62,_S3:160,_T3:55,_g5:0,_h5:0,_i5:160,_j5:55,_k5:160,_l5:55,_m5:0},{x:1674,y:262,_S3:160,_T3:55,_g5:0,_h5:0,_i5:160,_j5:55,_k5:160,_l5:55,_m5:0},{x:778,y:2,_S3:64,_T3:64,_g5:0,_h5:0,_i5:64,_j5:64,_k5:64,_l5:64,_m5:0},{x:778,y:526,_S3:48,_T3:48,_g5:0,_h5:0,_i5:48,_j5:48,_k5:48,_l5:48,_m5:0},{x:1934,y:2,_S3:32,_T3:32,_g5:0,_h5:0,_i5:32,_j5:32,_k5:32,_l5:32,_m5:0},{x:1510,y:322,_S3:26,_T3:26,_g5:0,_h5:0,_i5:26,_j5:26,_k5:26,_l5:26,_m5:0},{x:1838,y:122,_S3:20,_T3:32,_g5:0,_h5:0,
_i5:20,_j5:32,_k5:32,_l5:32,_m5:0},{x:846,y:2,_S3:19,_T3:32,_g5:0,_h5:0,_i5:19,_j5:32,_k5:32,_l5:32,_m5:0},{x:830,y:526,_S3:15,_T3:32,_g5:0,_h5:0,_i5:15,_j5:32,_k5:32,_l5:32,_m5:0},{x:778,y:578,_S3:15,_T3:32,_g5:0,_h5:0,_i5:15,_j5:32,_k5:32,_l5:32,_m5:0},{x:778,y:70,_S3:12,_T3:11,_g5:0,_h5:0,_i5:12,_j5:11,_k5:12,_l5:11,_m5:0},{x:1970,y:2,_S3:10,_T3:10,_g5:0,_h5:0,_i5:10,_j5:10,_k5:10,_l5:10,_m5:0},{x:1934,y:38,_S3:11,_T3:8,_g5:0,_h5:0,_i5:11,_j5:8,_k5:11,_l5:8,_m5:0},{x:1542,y:322,_S3:8,_T3:8,_g5:1,
_h5:1,_i5:8,_j5:8,_k5:10,_l5:10,_m5:0}],_n5:["impulsowrun_texture_0.png"],_o5:{_p5:!1,_q5:1,_r5:0,_s5:9999,_t5:30,_u5:4294967295,_v5:1360,_w5:768,_x5:249230135,_y5:"9c8d4fb9-a5cd-4c44-a3b8-e98906059df3",_z5:!1,_A5:!1,_B5:!0,scale:-1,_C5:!0,_D5:!1,_E5:!1,_F5:!0,_G5:!1,_H5:!1,_I5:!0,_J5:!0,_K5:2,_L5:0,_M5:!0,_N5:"html5game",_O5:"Default",_P5:0,_Q5:!0,_R5:!0,_S5:!0,_T5:-1750046418,_U5:[29,71,109,228,185,164,205,228,235,184,153,101,130,194,182,193],_V5:"GameMaker: Studio",_W5:1,_X5:0,_Y5:0,_Z5:1576293819}
};function __5(){}function _A3(_06,_16,_26){{var _36=_46(_56(_06.x,_26,4));for(var _66 in _36){if(!_36.hasOwnProperty(_66))continue;var _76=_36[_66];if(_76._86)continue;if(!_76._96)continue;{for(_76._a6=(-1.5);(_76._a6<=1.5);_76._a6+=1){{{var _b6=_46(_56((_76.x-32),(_76.y+(_76._a6*32)),13));for(var _c6 in _b6){if(!_b6.hasOwnProperty(_c6))continue;var _d6=_b6[_c6];if(_d6._86)continue;if(!_d6._96)continue;_d6._e6(180)}};_56(_76.x,(_76.y+(_76._a6*32)),4);}};}}};}function _B3(_06,_16,_26,_f6){_06._g6=_h6(_26,_f6);
for(_06._a6=0;(_06._a6<=12);_06._a6+=1){{if((((_06._a6<(_06._g6-1)))||((_06._a6>(_06._g6+1))))){{{var _i6=_46(_56((_06.x-32+(_06.x%32)),(_06.y+(_06._a6*32)),13));for(var _j6 in _i6){if(!_i6.hasOwnProperty(_j6))continue;var _k6=_i6[_j6];if(_k6._86)continue;if(!_k6._96)continue;_k6._l6(180)}};_56((_06.x+(_06.x%32)),(_06.y+(_06._a6*32)),4);}};}};}function _C3(_06,_16,_26){switch(_26){case 0:global._m6=_n6(74,74,74);_06._o6=_n6(71,69,62);_06._p6=_n6(150,145,131);_q6._r6[~~0]=2;break;case 1:global._m6=_n6(74,
74,74);_06._o6=_n6(71,69,62);_06._p6=_n6(150,145,131);_q6._r6[~~0]=2;break;case 2:global._m6=_n6(126,105,128);_06._o6=_n6(124,66,128);_06._p6=_n6(199,106,204);_q6._r6[~~0]=0;break;case 3:global._m6=_n6(112,113,128);_06._o6=_n6(74,77,128);_06._p6=_n6(118,123,204);_q6._r6[~~0]=1;break;};_s6(global._m6);{var _t6=_46((-3));for(var _u6 in _t6){if(!_t6.hasOwnProperty(_u6))continue;var _v6=_t6[_u6];if(_v6._86)continue;if(!_v6._96)continue;_v6._w6(_06._o6)}};_06._x6=_y6((-1000000));if((_z6(_06._x6)>1)){for(_06._a6=0;
(_06._a6<_z6(_06._x6));_06._a6++){_A6(_06._x6[~~_06._a6],_06._o6)}};_06._x6=_y6(1000000);if((_z6(_06._x6)>1)){for(_06._a6=0;(_06._a6<_z6(_06._x6));_06._a6++){_A6(_06._x6[~~_06._a6],_06._p6)}};}function _D3(_06,_16,_26,_f6){global._B6=_26;global._C6=_f6;}function _E3(_06,_16,_26){_D6(_26);_E6((_F6(global._G6)+_F6(global._H6)+_F6(global._I6)+_F6(global._J6)),_F6(((global._G6*5)+(global._H6*7)+(global._I6*2)+(global._J6*9))),1);_K6();}function __3(_06,_16){{var _L6=_M6(_q6._N6(),"id");if((_L6==9817)){{
var _O6=_M6(_q6._N6(),"type");switch(_O6){case "banner_load":if((_M6(_q6._N6(),"loaded")==1)){{_P6(((_Q6()/2)-(_P6()/2)),(_R6()-_P6()));_S6("Banner loaded");}};break;case "interstitial_load":if((_M6(_q6._N6(),"loaded")==1)){{_06._T6=1?1:0;_S6("Interstitial loaded");}};break;case "rewardedvideo_adloaded":_06._U6=1?1:0;_S6("Rewarded loaded");break;case "rewardedvideo_adopened":_06._V6=0?1:0;_S6("Rewarded Opened");break;case "rewardedvideo_videostarted":_S6("Rewarded Startedd");break;case "rewardedvideo_videowatched":_06._V6=1?1:0;
_S6("Rewarded Watched");break;case "rewardedvideo_adclosed":if((_06._V6==0)){{_S6("Rewarded Video Closed before Ad finished");}};break;};}};};}function _14(_06,_16){{if((_q6._W6()==4)){{_06._X6="ca-app-pub-3940256099942544~3347511713";_06._Y6="ca-app-pub-3940256099942544/6300978111";_06._Z6="ca-app-pub-3940256099942544/1033173712";_06.__6="ca-app-pub-3940256099942544/5224354917";}};_P6(_06._Z6,_06._X6);_P6();_06._T6=0?1:0;_P6(_06.__6);_06._U6=0?1:0;_06._V6=0?1:0;};}function _i4(_06,_16){{if(((_07(0,
1)>0.5)&&(_17(_06,_q6._27,_q6._37,_06.id)>0.5))){{_P6(_47(11)._Y6,6);}};};}function _l4(_06,_16){{_06._57=96;_06._67=0;_06._77=0;_06._87=2;};}function _m4(_06,_16){{_06._67+=_06._87;if(_06._77>0.5){_06._97((_06._a7+_b7(_06._57,_06._67)))}else {_06._c7((_06._d7+_e7(_06._57,_06._67)))};_06._l6(_06._f7+(_06._87*4));};}function _n4(_06,_16){{if(_47(11)._T6>0.5){{_06._g7(0);}}else {{_06._g7(2);}};if(((_07(0,1)>0.5)&&(_17(_06,_q6._27,_q6._37,_06.id)>0.5))){{if(_47(11)._T6>0.5){{_P6();_47(11)._T6=0?1:0;}}else {
{_P6();}};}};};}function _o4(_06,_16){{_06._h7=0;_06._i7=270;_06._j7=270;global._k7=_06.x;global._l7=_06.y;_06._m7=0;_06._n7=0;_06._o7=0?1:0;_06._p7=0;_06._q7=0;global._B6=0;global._C6=0;};}function _q4(_06,_16){{for(var _r7=0,_s7=~~(16);_r7<_s7;_r7++){{var _t7=_46(_56((_06.x+_u7((-16),16)),(_06.y+_u7((-16),16)),14));for(var _v7 in _t7){if(!_t7.hasOwnProperty(_v7))continue;var _w7=_t7[_v7];if(_w7._86)continue;if(!_w7._96)continue;_x7(_w7,_w7.x,_w7.y,_u7((-2),2),_u7((-2),2))}}};{var _y7=_46(11);for(var _z7 in _y7){
if(!_y7.hasOwnProperty(_z7))continue;var _A7=_y7[_z7];if(_A7._86)continue;if(!_A7._96)continue;{_A7._h7=10;_A7._B7=4;}}};_C7("",_q6._D7);_56(_06.x,_06.y,15);_E7(1,0);};}function _r4(_06,_16){{_06._F7=_G7(_06.x,_06.y,_q6._27,_q6._37);_06._e6(-_06._F7);if(((_H7(1)>0.5)&&(((_06._h7%5)==0))&&(!(_I7(_06,_06.x,_06.y,1,0,0)>0.5)))){{_x7(_06,_06.x,_06.y,_e7((-128),_06._F7),_b7((-128),_06._F7));{var _J7=_46(_56((_06.x+_e7(24,_06._F7)),(_06.y+_b7(24,_06._F7)),8));for(var _K7 in _J7){if(!_J7.hasOwnProperty(_K7))continue;
var _L7=_J7[_K7];if(_L7._86)continue;if(!_L7._96)continue;{_x7(_L7,_L7.x,_L7.y,_e7(32,_06._F7),_b7(32,_06._F7));}}};}};_06._h7+=1;_q6._D7=(_06.x-_06._d7);global._k7=_06.x;global._l7=_06.y;_06._M7=_N7(_06._i7,_06._j7);if((abs(_06._M7)>8)){_06._j7+=(_O7(_06._M7)*8)}else {_06._j7=_06._i7};if(_P7(_06,_06.x,_06.y,13,10,1,1)>0.5){_Q7(_06)};if(_P7(_06,_06.x,_06.y,13,12,1,1)>0.5){_x7(_06,_06.x,_06.y,_e7(_06._n7,_06._m7),_b7(_06._n7,_06._m7))};_R7(_e7(16,_06._i7),_b7(16,_06._i7));};}function _s4(_06,_16){{}
;}function _u4(_06,_16){{_S7(_06,5,0,(_06.x+_e7(16,_06._F7)),(_06.y+_b7(16,_06._F7)),1,1,_06._F7,16777215,1);_T7(_06);_U7(_06,6,0,(_06.x+_e7(16,(_06._F7+180))),(_06.y+_b7(16,(_06._F7+180))));};}function _w4(_06,_16){{_V7(_06);};}function _y4(_06,_16){{{var _W7=_46(_56(_06.x,_06.y,_06._X7));for(var _Y7 in _W7){if(!_W7.hasOwnProperty(_Y7))continue;var _Z7=_W7[_Y7];if(_Z7._86)continue;if(!_Z7._96)continue;_Z7._l6((_06._j7+90))}};};}function _A4(_06,_16){{{var __7=_46(_56(_06.x,_06.y,_06._X7));for(var _08 in __7){
if(!__7.hasOwnProperty(_08))continue;var _18=__7[_08];if(_18._86)continue;if(!_18._96)continue;_18._l6((_06._j7+90))}};};}function _B4(_06,_16){{_C7("",_q6._D7);_28();};}function _C4(_06,_16){{_38(_06,60,0);_E7(0,0);_06._m7=0;_06._n7=0;};}function _E4(_06,_16){{_V7(_06);};}function _F4(_06,_16){{_06._48-=0.01666;if(_P7(_06,_06.x,_06.y,4,12,1,1)>0.5){_x7(_06,_06.x,_06.y,_e7(_06._n7,_06._m7),_b7(_06._n7,_06._m7))};};}function _G4(_06,_16){{if(_47(11)._U6>0.5){{_06._g7(0);}}else {{_06._g7(3);}};if(((_07(0,
1)>0.5)&&(_17(_06,_q6._27,_q6._37,_06.id)>0.5))){{if(_47(11)._U6>0.5){{_P6();_47(11)._U6=0?1:0;}}else {{_P6(_47(11).__6);}};}};};}function _H4(_06,_16){{_58();_68(3,100,1);_06._c7((-208));for(_06._a6=0;(_06._a6<12);_06._a6+=1){if(!(_06._78 instanceof Array)){_06._78=[];_06._78.__2=3990423484}else if(_06._78.__2!==3990423484){_06._78=_06._78.slice(0);_06._78.__2=3990423484}_06._78[~~_06._a6]=_56(64,(64+(_06._a6*32)),13)};_06._h7=0;};}function _I4(_06,_16){{if((_06._h7>0)){{_06._h7-=1;_06._p7=_u7(-_06._B7,
_06._B7);_06._q7=_u7(-_06._B7,_06._B7);}}else {{_06._p7=0;_06._q7=0;}};_q6._88[~~0]=(global._k7-(_q6._98[~~0]/3)-_06._p7);_q6._a8[~~0]=_06._q7;if(_b8(7)>0.5){{for(_06._a6=0;(_06._a6<12);_06._a6+=1){_47(_06._78[~~_06._a6])._c7(_47(_06._78[~~_06._a6]).x+4)};if((_47(_06._78[~~0]).x<(_q6._88[~~0]-864))){for(_06._a6=0;(_06._a6<12);_06._a6+=1){_47(_06._78[~~_06._a6])._c7((_q6._88[~~0]-864))}};{var _c8=_46((-3));for(var _d8 in _c8){if(!_c8.hasOwnProperty(_d8))continue;var _e8=_c8[_d8];if(_e8._86)continue;if(!_e8._96)continue;
if((_e8.x<(_q6._88[~~0]-2560))){_Q7(_e8)}}};}};if((_q6._88[~~0]<(_47(_06._78[~~0]).x-16-_06._p7))){_q6._88[~~0]=(_47(_06._78[~~0]).x-16-_06._p7)};if((global._k7>(_06.x-432))){{_06._c7(_06.x+432);_06._f8=(_06.x/1360);for(_06._a6=(-7);(_06._a6<7);_06._a6+=1){{_56((_06.x+(_06.x%32)+(32*_06._a6)),32,4);_56((_06.x+(_06.x%32)+(32*_06._a6)),0,4);{var _g8=_46(_56((_06.x+(_06.x%32)+(32*_06._a6)),64,13));for(var _h8 in _g8){if(!_g8.hasOwnProperty(_h8))continue;var _i8=_g8[_h8];if(_i8._86)continue;if(!_i8._96)continue;
_i8._l6(270)}};}};for(_06._a6=(-7);(_06._a6<=7);_06._a6+=1){{_56((_06.x+(_06.x%32)+(32*_06._a6)),480,4);_56((_06.x+(_06.x%32)+(32*_06._a6)),448,4);{var _j8=_46(_56((_06.x+(_06.x%32)+(32*_06._a6)),416,13));for(var _k8 in _j8){if(!_j8.hasOwnProperty(_k8))continue;var _l8=_j8[_k8];if(_l8._86)continue;if(!_l8._96)continue;_l8._l6(90)}};}};_06._m8=_n8(_06._f8);if((_06._m8>4)){{_B3(_06,_16,2,10);}}else {if((_06._m8>0)){{_B3(_06,_16,4,8);}}};}};if((_q6._o8()!=(-1))){{if(((_q6._p8()/16)>(_q6._q8()/9))){{_r8((_q6._q8()/9*16),
_q6._q8());_s8(((_q6._p8()-_t8())/2),0);}}else {{_r8(_q6._p8(),(_q6._p8()/16*9));_s8(0,((_q6._q8()-_u8())/2));}};}};};}function _J4(_06,_16){{};}function _L4(_06,_16){{};}function _M4(_06,_16){{_v8(0);_w8(1);_x8(8421504);_y8((_q6._88[~~0]+433),81,("HIGHSCORE: "+_F6(_z8(1))+"#SCORE: "+_F6(_q6._D7)));_y8(757,367,"Click and hold here");_x8(16777215);_y8((_q6._88[~~0]+432),80,("HIGHSCORE: "+_F6(_z8(1))+"#SCORE: "+_F6(_q6._D7)));_y8(757,368,"Click and hold here");};}function _N4(_06,_16){{_06._n7=8;};}function _O4(_06,
_16){{_06._A8=0.25;};}function _P4(_06,_16){{_06._m7=0;_06._n7=0;};}function _Q4(_06,_16){{if((_06._48>0)){_06._48-=0.03333}else {_Q7(_06)};if(_P7(_06,_06.x,_06.y,4,12,1,1)>0.5){_x7(_06,_06.x,_06.y,_e7(_06._n7,_06._m7),_b7(_06._n7,_06._m7))};};}function _R4(_06,_16){{_06._m7=_16._f7;_06._n7=_16._n7;};}function _S4(_06,_16){{_38(_06,60,0);};}function _T4(_06,_16){{_28();};}function _U4(_06,_16){{};}/*@constructor */function _B8(_C8){this._D8=false;this._E8=0;this._F8=false;this._G8=null;this._H8=null;this._I8=null;
this._J8=null;this._K8=null;this._L8=null;this._M8=[];this._N8(_C8._L8)};_B8.prototype._O8=function(){var _P8=new _B8({_L8:this._L8});return _P8};_B8.prototype._N8=function(_Q8){this._L8=_Q8;this._G8=new spine._R8(_Q8);this._K8=new spine._S8(this._G8.data);this._J8=new spine._T8(this._K8);var listener=new Object();listener.start=function(_U8){};listener.end=function(_U8){};listener.complete=function(_U8,_V8){};listener.event=function(_U8,_W8){var map=_X8();_q6._Y8=map;_Z8(map,"name",_W8.data.name);_Z8(map,
"track",_U8);_Z8(map,"integer",_W8.data.__8);_Z8(map,"float",_W8.data._09);_Z8(map,"string",_W8.data._19?_W8.data._19:"");_29._39(_49,0);_59(map);_q6._Y8=-1};this._J8._69(listener);if(_Q8.animations.length>0){this._79(null)}this._89(null);this._H8=new spine._99();var _a9=this._G8._b9();this._c9=[_a9.scaleX,_a9.scaleY*-1.0];};_B8.prototype._d9=function(_e9){if(_e9==undefined)_e9=0;if(_e9<0)return 0;if(_e9>=this._J8._f9.length)return 0;var _g9=_h9?_h9._i9():30;if(_j9){_g9=_k9._l9()}if(this._J8._f9[_e9]==null){
return ~~((_g9*this._I8.duration)+0.5)}return ~~((_g9*this._J8._f9[_e9]._m9.duration)+0.5)};function _n9(_o9,_p9){if(_p9<0.0)return _o9;var _q9=_o9/_p9;var _r9=_q9-Math.floor(_q9);var _s9=_r9*_p9;return _s9}_B8.prototype._79=function(_t9){this._u9(_t9,0)};_B8.prototype._u9=function(_t9,_e9){var _m9=null;if(((_t9===null)||(_t9===undefined))&&(_e9===0)){if(this._L8.animations.length>0){_m9=this._L8._v9(this._L8.animations[0].name)}}else {_m9=this._L8._v9(_t9)}if(_m9!==null&&_m9!==undefined){if(_e9===0){this._E8=0;
this._I8=_m9}this._J8._w9(_e9,_m9.name,true)}};_B8.prototype._89=function(_x9){if(_x9===null||_x9===undefined){if(this._L8._y9){this._G8._z9(this._L8._y9.name)}}else {this._G8._z9(_x9)}this._G8._A9()};_B8.prototype._B9=function(_C9,_D9){var slot=this._G8._E9(_C9);if((slot!==null)&&(slot!==undefined)){if(typeof(_D9)==='number'){slot._F9(null)}else {var _G9=this._G8._H9(_C9);for(var _I9=0;_I9<this._L8.skins.length;_I9++){var skin=this._L8.skins[_I9];var attachment=skin._J9(_G9,_D9);if(attachment){slot._F9(attachment);
return }}for(var _K9=0;_K9<this._M8.length;_K9++){var attachment=this._M8[_K9].attachment;if(attachment.name===_D9){slot._F9(attachment);return }}}}};_B8.prototype._L9=function(_M9,_N9,_O9,_P9,_Q9,_R9,_S9){var skeleton=this._G8;var _a9=this._G8._b9();var _T9=this._E8;var _U9=this._D8;var _V9=(_S9!==undefined);var _W9=Math.abs(_P9*this._c9[0]);var _X9=Math.abs(_Q9*this._c9[1]);if((_U9==true)||(_T9!==_M9)||(skeleton.x!==_N9)||(skeleton.y!==_O9)||(_a9.scaleX!==_W9)||(_a9.scaleY!==_X9)||(_a9.rotation!==_R9)){var _Y9=this._d9(0);
if(_Y9>0){var _Z9=_M9%_Y9,__9=this._E8%_Y9,duration=this._I8.duration,_0a=this._I8._1a.length;if(__9>_Z9){_Z9+=_Y9}var _2a=(_Z9-__9)/_Y9;this._J8._3a(_2a*duration);this._J8.apply(this._G8);}this._E8=_M9;skeleton.x=_N9;skeleton.y=_O9;skeleton._4a=((_P9*this._c9[0])<0)?1:0;skeleton._5a=((_Q9*this._c9[1])<0)?1:0;_a9.scaleX=_W9;_a9.scaleY=_X9;_a9.rotation=_R9;_V9=true;this._D8=false}if(_V9){if(_S9){_S9._6a(_7a,0,_S9,null)}skeleton._V9();this._H8._3a(this._G8,1)}};_B8.prototype._8a=function(_9a,_N9,_O9,
_P9,_Q9,_R9){var _Y9=this._d9(0);var _aa=~~(_Y9*(_9a/this._I8.duration)+0.5);this._L9(_aa,_N9,_O9,_P9,_Q9,_R9)};_B8.prototype._ba=function(_ca,_M9,_N9,_O9,_P9,_Q9,_R9){var _da=this._H8;if(_da._ea.length>0){this._L9(_M9,_N9,_O9,_P9,_Q9,_R9);_ca.left=~~(_da._fa+0.5);_ca.right=~~(_da._ga+0.5);_ca.top=~~(_da._ha+0.5);_ca.bottom=~~(_da._ia+0.5);return true}return false};_B8.prototype._ja=function(_M9,_N9,_O9,_P9,_Q9,_R9,_ka,_la,_ma,_na,_oa,_pa,_qa){this._L9(_M9,_N9,_O9,_P9,_Q9,_R9);_ka._L9(_la,_ma,_na,_oa,
_pa,_qa);for(var _ra=0;_ra<_ka._H8._sa.length;_ra++){var _ta=_ka._H8._sa[_ra];var _I3=_ta.length/2;for(var _ua=0;_ua<_I3;_ua++){var _va,_wa,_xa,_ya;_va=_ta[(_ua*2)+0];_wa=_ta[(_ua*2)+1];if(_ua===(_I3-1)){_xa=_ta[0];_ya=_ta[1]}else {_xa=_ta[((_ua+1)*2)+0];_ya=_ta[((_ua+1)*2)+1]}var _za=this._H8._Aa(_va,_wa,_xa,_ya);if(_za!==null){return true}}}return false};_B8.prototype._Ba=function(_M9,_N9,_O9,_P9,_Q9,_R9,_Ca,_Da,_la,_ma,_na,_oa,_pa,_qa){this._L9(_M9,_N9,_O9,_P9,_Q9,_R9);if(_Ca==null){return false}if(_Ca._Ea<=0){
return false}if(_Ca._Fa.length>0){_la=_la%_Ca._Fa.length}if(_la<0){_la=_la+_Ca._Fa.length}_oa=1.0/_oa;_pa=1.0/_pa;var _da=this._H8;var _Ga=_Ha(_da._fa,_Da.left);var _Ia=_Ja(_da._ga,_Da.right);var _Ka=_Ha(_da._ha,_Da.top);var _La=_Ja(_da._ia,_Da.bottom);var _Ma=Math.sin(-_qa*(_Na/180.0));var _Oa=Math.cos(-_qa*(_Na/180.0));for(var _Q3=_Ga;_Q3<=_Ia;_Q3++){for(var _Pa=_Ka;_Pa<=_La;_Pa++){var _Qa=((_Oa*(_Q3-_ma)+_Ma*(_Pa-_na))*_oa+_Ca._Ra);var _Sa=((_Oa*(_Pa-_na)-_Ma*(_Q3-_ma))*_pa+_Ca._Ta);if((_Qa<0)||(_Qa>=_Ca._Ua)){
continue }if((_Sa<0)||(_Sa>=_Ca._Va)){continue }if(_Ca._Wa){if(!_Ca._Fa._Xa[_la]._Xa[_Qa+(_Sa*_Ca._Ua)]){continue }}var _za=_da._Ya(_Q3,_Pa);if(_za!==null){return true}}}return false};_B8.prototype._Za=function(_M9,_N9,_O9,_P9,_Q9,_R9,__a,_0b){this._L9(_M9,_N9,_O9,_P9,_Q9,_R9);var _za=this._H8._Ya(__a,_0b);if(_za!==null){return true}return false};_B8.prototype._1b=function(_M9,_N9,_O9,_P9,_Q9,_R9,__a,_0b,_ma,_na){this._L9(_M9,_N9,_O9,_P9,_Q9,_R9);var _za=this._H8._Aa(__a,_0b,_ma,_na);if(_za!==null){return true}
return false};_B8.prototype._2b=function(_M9,_N9,_O9,_P9,_Q9,_R9,__a,_0b,_ma,_na){this._L9(_M9,_N9,_O9,_P9,_Q9,_R9);var _da=this._H8;var _za=_da._Aa(__a,_0b,_ma,_na);if(_za!==null){return true}_za=_da._Aa(__a,_0b,_ma,_0b);if(_za!==null){return true}_za=_da._Aa(_ma,_0b,_ma,_na);if(_za!==null){return true}_za=_da._Aa(_ma,_na,__a,_na);if(_za!==null){return true}_za=_da._Aa(__a,_na,__a,_0b);if(_za!==null){return true}return false};_B8.prototype._3b=function(_M9,_N9,_O9,_P9,_Q9,_R9,_4b){this._L9(_M9,_N9,_O9,_P9,
_Q9,_R9);var _da=this._H8;var skeleton=this._G8;var _Ga=_Ha(_da._fa,_4b.left);var _Ia=_Ja(_da._ga,_4b.right);var _Ka=_Ha(_da._ha,_4b.top);var _La=_Ja(_da._ia,_4b.bottom);var _5b=((_4b.right+_4b.left)/2);var _6b=((_4b.bottom+_4b.top)/2);var _7b=((_4b.right-_4b.left)/2);var _8b=((_4b.bottom-_4b.top)/2);var _Ua=(_da._ga-_da._fa);var _Va=(_da._ia-_da._ha);var _Ra=skeleton.x-_da._fa;var _Ta=skeleton.y-_da._ha;if((_P9==1)&&(_Q9==1)&&(Math.abs(_R9)<0.0001)){for(var _Q3=_Ga;_Q3<=_Ia;_Q3++){for(var _Pa=_Ka;_Pa<=_La;_Pa++){
if(_9b((_Q3-_5b)/_7b)+_9b((_Pa-_6b)/_8b)>1)continue;var _Qa=_Q3-_N9+_Ra;var _Sa=_Pa-_O9+_Ta;if((_Qa<0)||(_Qa>=_Ua))continue;if((_Sa<0)||(_Sa>=_Va))continue;var _za=_da._Ya(_Q3,_Pa);if(_za!==null){return true}}}}else {var _ab=Math.sin(-_R9*_Na/180.0);var _bb=Math.cos(-_R9*_Na/180.0);for(var _Q3=_Ga;_Q3<=_Ia;_Q3++){for(var _Pa=_Ka;_Pa<=_La;_Pa++){if(_9b((_Q3-_5b)/_7b)+_9b((_Pa-_6b)/_8b)>1)continue;var _Qa=Math.floor((_bb*(_Q3-_N9)+_ab*(_Pa-_O9))/_P9+_Ra);var _Sa=Math.floor((_bb*(_Pa-_O9)-_ab*(_Q3-_N9))/_Q9+_Ta);
if((_Qa<0)||(_Qa>=_Ua))continue;if((_Sa<0)||(_Sa>=_Va))continue;var _za=_da._Ya(_Q3,_Pa);if(_za!==null){return true}}}}return false};var _cb=null;;function _db(){this.width=null;this.height=null}function _eb(){this.name=null;this._fb=new _db();this._gb=function(){return this._fb};this._hb=function(_ib,_jb){};this._kb=function(_lb,_mb){};this._nb=function(){};this._ob=null;this.width=null;this.height=null}/*@constructor */function _pb(){this._qb=[];this._rb=null;this._L8=null;this._sb=null;if(_tb){this._ub=this._vb;
this._wb=this._xb}else {this._ub=this._yb;this._wb=this._zb}};_pb.prototype._Ab=function(_t9,_Bb,_Cb,_Db){this._qb[_t9]={_Eb:[],_Fb:0,_Gb:32,_Hb:_Ib[_Db],x:0,y:0,_S3:_Bb,_T3:_Cb}};_pb.prototype._Jb=function(_Kb,_Lb,_Bb,_Cb){var width=_Bb;var height=_Cb;var _Mb=this;var _Nb=function(_Ob){var _Pb=new _eb();_Pb.name=_Ob;_Pb.width=_Pb._fb.width=width;_Pb.height=_Pb._fb.height=height;var _Qb=_Rb(_Sb+_Ob);_Pb._ob=_Qb;_Ib[_Qb].onload=function(e){_Pb._fb=e._Tb;var target=e.target||e.srcElement;_Mb._Ab(_Pb.name,target.width,
target.height,_Qb)};_Ib[_Qb].onerror=function(e){var target=e.target||e.srcElement;debug("ImageError: "+target.src)};_Ib[_Qb].URL=_Ob;return _Pb};this._sb=new spine._Ub(_Lb,_Nb);this._rb=new spine._Vb(new spine._Wb(this._sb));this._L8=this._rb._Xb(_Kb)};_pb.prototype._Yb=function(_Zb,_x9,_aa,x,y,__b,_0c,angle,_1c,alpha){if(this._L8===null||this._L8===undefined)return;spine._2c._3c=true;var _4c=new _B8(this);_4c._79(_Zb);_4c._89(_x9);_4c._L9(_aa,x,y,__b,_0c,angle);this._5c(_4c._G8,_1c,alpha)};_pb.prototype._6c=function(_aa,
x,y,__b,_0c,angle,_1c,alpha){if(!_cb||!_cb._7c()){this._Yb(null,null,_aa,x,y,__b,_0c,angle,_1c,alpha)}else {spine._2c._3c=true;var _8c=_cb._7c();_8c._L9(_aa,x,y,__b,_0c,angle,_cb);this._5c(_8c._G8,_1c,alpha);if(_8c._F8){this._9c(_8c._H8)}}};_pb.prototype._5c=function(_ac,color,alpha){var _bc=(color&0xff)/255.0,_cc=((color&0xff00)>>8)/255.0,_dc=((color&0xff0000)>>16)/255.0;for(var _Q3=0,_ra=_ac.slots.length;_Q3<_ra;_Q3++){var slot=_ac._ec[_Q3];if(!slot.attachment)continue;var _Ia=(_bc*255);var _fc=(_cc*255);
var _La=(_dc*255);var _gc=(alpha*255);if((slot.skeleton!=undefined)&&(slot.skeleton._Ia!=undefined)){_Ia*=slot.skeleton._Ia;_fc*=slot.skeleton._fc;_La*=slot.skeleton._La;_gc*=slot.skeleton._gc}if(slot.color!=undefined){_Ia*=slot.color._Ia;_fc*=slot.color._fc;_La*=slot.color._La;_gc*=slot.color._gc}var _1c=(_gc<<24)|(_Ia<<0)|(_fc<<8)|(_La<<16);if(slot.attachment instanceof spine._hc){this._ub(slot,_1c,alpha)}else if(slot.attachment instanceof spine._ic){this._wb(slot,_1c,alpha)}}};_pb.prototype._9c=function(_jc){
_kc(_jc._fa,_jc._ha,_jc._fa,_jc._ia);_kc(_jc._fa,_jc._ia,_jc._ga,_jc._ia);_kc(_jc._ga,_jc._ia,_jc._ga,_jc._ha);_kc(_jc._ga,_jc._ha,_jc._fa,_jc._ha);for(var _ra=0;_ra<_jc._sa.length;_ra++){var _ta=_jc._sa[_ra];var _I3=_ta.length/2;for(var _ua=0;_ua<_I3;_ua++){var _va,_wa,_xa,_ya;_va=_ta[(_ua*2)+0];_wa=_ta[(_ua*2)+1];if(_ua==(_I3-1)){_xa=_ta[0];_ya=_ta[1]}else {_xa=_ta[((_ua+1)*2)+0];_ya=_ta[((_ua+1)*2)+1]}_kc(_va,_wa,_xa,_ya)}}};_pb.prototype._yb=function(slot,_1c,alpha){var _lc=slot.attachment,vertices=[];
var _mc=0;var _nc=0;if(slot.skeleton){_mc=slot.skeleton.x;_nc=slot.skeleton.y}else if(slot.bone.skeleton){_mc=slot.bone.skeleton.x;_nc=slot.bone.skeleton.y}vertices=_lc._oc(slot,false);var _pc=[];_pc[0]={};_pc[0].x=vertices[spine._hc._qc];_pc[0].y=vertices[spine._hc._rc];_pc[0]._sc=vertices[spine._hc._tc];_pc[0]._uc=vertices[spine._hc._vc];_pc[1]={};_pc[1].x=vertices[spine._hc._wc];_pc[1].y=vertices[spine._hc._xc];_pc[1]._sc=vertices[spine._hc._yc];_pc[1]._uc=vertices[spine._hc._zc];_pc[2]={};_pc[2].x=vertices[spine._hc._Ac];
_pc[2].y=vertices[spine._hc._Bc];_pc[2]._sc=vertices[spine._hc._Cc];_pc[2]._uc=vertices[spine._hc._Dc];_pc[3]={};_pc[3].x=vertices[spine._hc._Ec];_pc[3].y=vertices[spine._hc._Fc];_pc[3]._sc=vertices[spine._hc._Gc];_pc[3]._uc=vertices[spine._hc._Hc];_Ic.globalAlpha=alpha;var _Jc=_lc._lc._Hb;var _Qb=_Ib[_lc._lc._Kc._Hb._ob];if(!_Qb.complete)return;if(_1c!=_Lc){if(!this._qb[_lc._lc._Kc._Hb.name]){var _Mc=_lc._lc._Hb;this._Ab(_Mc.name,_Mc.width,_Mc.height,_Mc._ob)}_Qb=_Nc(this._qb[_lc._lc._Hb.name],_1c)}
var _Oc=this._qb[_Jc.name];this._Pc(_Ic,_Qb,_pc[0].x,_pc[0].y,_pc[1].x,_pc[1].y,_pc[2].x,_pc[2].y,_pc[0]._sc*_Oc._S3,_pc[0]._uc*_Oc._T3,_pc[1]._sc*_Oc._S3,_pc[1]._uc*_Oc._T3,_pc[2]._sc*_Oc._S3,_pc[2]._uc*_Oc._T3);this._Pc(_Ic,_Qb,_pc[2].x,_pc[2].y,_pc[3].x,_pc[3].y,_pc[0].x,_pc[0].y,_pc[2]._sc*_Oc._S3,_pc[2]._uc*_Oc._T3,_pc[3]._sc*_Oc._S3,_pc[3]._uc*_Oc._T3,_pc[0]._sc*_Oc._S3,_pc[0]._uc*_Oc._T3)};_pb.prototype._zb=function(slot,_1c,alpha){var _Qc=slot.attachment,vertices=[];vertices=_Qc._oc(slot,false);
var _Jc=_Qc._lc;var _Qb=_Ib[_Qc._lc._Kc._Hb._ob];if(!_Qb.complete)return;if(_1c!=_Lc){if(!this._qb[_Qc._lc._Kc._Mc.name]){var _Mc=_Qc._lc._Kc._Mc;this._Ab(_Mc.name,_Mc.width,_Mc.height,_Qc._lc._Kc._Mc._ob)}_Qb=_Nc(this._qb[_Qc._lc._Kc._Mc.name],_1c)}for(var _ra=0;_ra<_Qc.triangles.length/3;_ra++){var _Rc=_ra*3;var _Sc=_Qc.triangles[_Rc++]*8,_Tc=_Qc.triangles[_Rc++]*8,_Uc=_Qc.triangles[_Rc++]*8;var _pc=[];_pc[0]={};_pc[0].x=vertices[_Sc];_pc[0]._sc=vertices[6+_Sc++];_pc[0].y=vertices[_Sc];_pc[0]._uc=vertices[6+_Sc];
_pc[1]={};_pc[1].x=vertices[_Tc];_pc[1]._sc=vertices[6+_Tc++];_pc[1].y=vertices[_Tc];_pc[1]._uc=vertices[6+_Tc];_pc[2]={};_pc[2].x=vertices[_Uc];_pc[2]._sc=vertices[6+_Uc++];_pc[2].y=vertices[_Uc];_pc[2]._uc=vertices[6+_Uc];var _Oc=this._qb[_Qc._lc._Kc._Mc.name];this._Pc(_Ic,_Qb,_pc[0].x,_pc[0].y,_pc[1].x,_pc[1].y,_pc[2].x,_pc[2].y,_pc[0]._sc*_Oc._S3,_pc[0]._uc*_Oc._T3,_pc[1]._sc*_Oc._S3,_pc[1]._uc*_Oc._T3,_pc[2]._sc*_Oc._S3,_pc[2]._uc*_Oc._T3)}};_pb.prototype._Pc=function(_Vc,_Wc,_Xc,_Yc,_va,_wa,
_xa,_ya,_Zc,__c,_0d,_1d,_2d,_3d){_Vc.save();_Vc.beginPath();_Vc.moveTo(_Xc,_Yc);_Vc.lineTo(_va,_wa);_Vc.lineTo(_xa,_ya);_Vc.closePath();_Vc.clip();var _4d=_Zc*(_3d-_1d)-_0d*_3d+_2d*_1d+(_0d-_2d)*__c;if(_4d==0){return }var _5d=-(__c*(_xa-_va)-_1d*_xa+_3d*_va+(_1d-_3d)*_Xc)/_4d;var _6d=(_1d*_ya+__c*(_wa-_ya)-_3d*_wa+(_3d-_1d)*_Yc)/_4d;var _7d=(_Zc*(_xa-_va)-_0d*_xa+_2d*_va+(_0d-_2d)*_Xc)/_4d;var _8d=-(_0d*_ya+_Zc*(_wa-_ya)-_2d*_wa+(_2d-_0d)*_Yc)/_4d;var _9d=(_Zc*(_3d*_va-_1d*_xa)+__c*(_0d*_xa-_2d*_va)+(_2d*_1d-_0d*_3d)*_Xc)/_4d;
var _ad=(_Zc*(_3d*_wa-_1d*_ya)+__c*(_0d*_ya-_2d*_wa)+(_2d*_1d-_0d*_3d)*_Yc)/_4d;_Vc.transform(_5d,_6d,_7d,_8d,_9d,_ad);_Vc.drawImage(_Wc,0,0);_Vc.restore()};_pb.prototype._vb=function(slot,_1c,alpha){var _lc=slot.attachment,vertices=[];var _mc=0;var _nc=0;if(slot.skeleton){_mc=slot.skeleton.x;_nc=slot.skeleton.y}else if(slot.bone.skeleton){_mc=slot.bone.skeleton.x;_nc=slot.bone.skeleton.y}vertices=_lc._oc(slot,false);var _pc=[];_pc[0]={};_pc[0].x=vertices[spine._hc._qc];_pc[0].y=vertices[spine._hc._rc];
_pc[0]._sc=vertices[spine._hc._tc];_pc[0]._uc=vertices[spine._hc._vc];_pc[1]={};_pc[1].x=vertices[spine._hc._wc];_pc[1].y=vertices[spine._hc._xc];_pc[1]._sc=vertices[spine._hc._yc];_pc[1]._uc=vertices[spine._hc._zc];_pc[2]={};_pc[2].x=vertices[spine._hc._Ac];_pc[2].y=vertices[spine._hc._Bc];_pc[2]._sc=vertices[spine._hc._Cc];_pc[2]._uc=vertices[spine._hc._Dc];_pc[3]={};_pc[3].x=vertices[spine._hc._Ec];_pc[3].y=vertices[spine._hc._Fc];_pc[3]._sc=vertices[spine._hc._Gc];_pc[3]._uc=vertices[spine._hc._Hc];
var _Qb=_Ib[_lc._lc._Kc._Hb._ob];if(!_Qb.complete)return;if(!_Qb._bd)_cd({_Hb:_Qb});var _dd=6;var _ed=_tb._fd(_gd._hd,_Qb._bd,_tb._id,_dd);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=_dd;var _md=_ed._nd;var _od=_ed._pd;var _qd=_ed._rd;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;_md[_sd+0]=_md[_xd+0]=vertices[spine._hc._qc];_md[_sd+1]=_md[_xd+1]=vertices[spine._hc._rc];_md[_td+0]=vertices[spine._hc._wc];_md[_td+1]=vertices[spine._hc._xc];_md[_ud+0]=_md[_vd+0]=vertices[spine._hc._Ac];
_md[_ud+1]=_md[_vd+1]=vertices[spine._hc._Bc];_md[_wd+0]=vertices[spine._hc._Ec];_md[_wd+1]=vertices[spine._hc._Fc];_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;_od[_sd]=_od[_td]=_od[_ud]=_od[_vd]=_od[_wd]=_od[_xd]=_1c;_qd[_sd+0]=_qd[_xd+0]=vertices[spine._hc._tc];_qd[_sd+1]=_qd[_xd+1]=vertices[spine._hc._vc];_qd[_td+0]=vertices[spine._hc._yc];_qd[_td+1]=vertices[spine._hc._zc];_qd[_ud+0]=_qd[_vd+0]=vertices[spine._hc._Cc];_qd[_ud+1]=_qd[_vd+1]=vertices[spine._hc._Dc];_qd[_wd+0]=vertices[spine._hc._Gc];
_qd[_wd+1]=vertices[spine._hc._Hc]};_pb.prototype._xb=function(slot,_1c,alpha){var _Qc=slot.attachment,vertices=[];var _mc=0;var _nc=0;if(slot.skeleton){_mc=slot.skeleton.x;_nc=slot.skeleton.y}else if(slot.bone.skeleton){_mc=slot.bone.skeleton.x;_nc=slot.bone.skeleton.y}vertices=_Qc._oc(slot,false);var _Qb=_Ib[_Qc._lc._Kc._Hb._ob];if(!_Qb.complete)return;if(!_Qb._bd)_cd({_Hb:_Qb});var _dd=_Qc.triangles.length;var _ed=_tb._fd(_gd._hd,_Qb._bd,_tb._id,_dd);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=_dd;
var _md=_ed._nd;var _od=_ed._pd;var _qd=_ed._rd;var _sd=index;for(var _ra=0;_ra<_dd;_ra++,_sd+=_jd){var _Sc=_Qc.triangles[_ra];_md[_sd+0]=vertices[(_Sc*8)+0];_md[_sd+1]=vertices[(_Sc*8)+1];_md[_sd+2]=_yd;_od[_sd+0]=_od[_sd+1]=_1c;_qd[_sd+0]=vertices[(_Sc*8)+6];_qd[_sd+1]=vertices[(_Sc*8)+7]}};function _zd(_43){_Ad("draw_primitive_begin()");}function _Bd(_43,_Cd){_Ad("draw_primitive_begin_texture()")}function _Dd(x,y){_Ad("draw_vertex()")}function _Ed(x,y,_1c,alpha){_Ad("draw_vertex_color()")}var _Fd=_Ed;function _Gd(x,
y,_Hd,_Id){_Ad("draw_vertex_texture()")}function _Jd(x,y,_Hd,_Id,_1c,alpha){_Ad("draw_vertex_texture_color()")}var _Kd=_Jd;function _Ld(){_Ad("draw_primitive_end()");}function _Md(_43){_Ad("d3d_primitive_begin()")}function _Nd(_43,_Cd){_Ad("d3d_primitive_begin_texture()")}function _Od(x,y,_Pd){_Ad("d3d_vertex()")}function _Qd(x,y,_Pd,_1c,alpha){_Ad("d3d_vertex_color()")}var _Rd=_Qd;function _Sd(x,y,_Pd,_Hd,_Id){_Ad("d3d_vertex_texture()")}function _Td(x,y,_Pd,_Hd,_Id,_1c,alpha){_Ad("d3d_vertex_texture_color()")}
var _Ud=_Td;function _Vd(x,y,_Pd,_Wd,_Xd,_Yd){_Ad("d3d_vertex_normal()")}function _Zd(x,y,_Pd,_Wd,_Xd,_Yd,_1c,alpha){_Ad("d3d_vertex_normal_color()")}var __d=_Zd;function _0e(x,y,_Pd,_Wd,_Xd,_Yd,_Hd,_Id){_Ad("d3d_vertex_normal_texture()")}function _1e(x,y,_Pd,_Wd,_Xd,_Yd,_Hd,_Id,_1c,alpha){_Ad("d3d_vertex_normal_texture_color()")}var _2e=_1e;function _3e(){_Ad("d3d_primitive_end()")}var _4e=null;var _5e=0,_6e=-1,_7e=null,_8e=null;var _9e=1,_ae=2,_be=3,_ce=4,_de=5,_ee=6,_fe=7;function _ge(){_zd=_he;_Bd=_ie;_Dd=_je;
_Ed=_ke;_Fd=_ke;_Gd=_le;_Jd=_me;_Kd=_me;_Ld=_ne;_Md=_oe;_Nd=_pe;_Od=_qe;_Qd=_re;_Rd=_re;_Sd=_se;_Td=_te;_Ud=_te;_Vd=_ue;_Zd=_ve;__d=_ve;_0e=_we;_1e=_xe;_2e=_xe;_3e=_ye}function _ze(_Ae){switch(_Ae){case _9e:return _gd._Be;case _ae:return _gd._Ce;case _be:return _gd._De;case _ce:return _gd._hd;case _de:return _gd._Ee;case _ee:return _gd._Fe;case _fe:return _gd._hd}return -1}function _Ge(){_5e=0;_6e=-1;_7e=null;_8e=null}function _he(_He){_ie(_He,-1)}function _ie(_He,_Db){_5e=_He;_6e=null;_7e=null;if(typeof(_Db)=="object"){
_6e=_Db._Ie;_7e=_Db._Je}else if((_Db!=-1)&&_Ib[_Db]){_6e=_Ib[_Db]}if(_6e&&!_6e._bd){_cd({_Hb:_6e})}_8e=new _Ke(_Le,_tb._Me(_tb._id),false)}function _je(_N9,_O9){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_yd;_8e._rd[index+0]=0;_8e._rd[index+1]=0;_8e._pd[index]=((_Oe*255.0)<<24)|(_Pe&0x00ffffff)}function _ke(_N9,_O9,_Qe,_Re){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_yd;
_8e._rd[index+0]=0;_8e._rd[index+1]=0;_8e._pd[index]=((_Re*255.0)<<24)|_Se(_Qe)}function _le(_N9,_O9,_Te,_Ue){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_yd;var _Ve=_We(_Te,_Ue);_8e._rd[index+0]=_Ve._sc;_8e._rd[index+1]=_Ve._uc;_8e._pd[index]=((_Oe*255.0)<<24)|(_Pe&0x00ffffff)}function _me(_N9,_O9,_Te,_Ue,_Qe,_Re){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_yd;var _Ve=_We(_Te,
_Ue);_8e._rd[index+0]=_Ve._sc;_8e._rd[index+1]=_Ve._uc;_8e._pd[index]=((_Re*255.0)<<24)|_Se(_Qe)}function _ne(){var _Xe=_ze(_5e);if(_Xe==-1){return }var _Ye=_8e._Ze.subarray(0,_8e._ld*_8e._kd());var __e=_6e?_6e._bd:null;var _ed=_tb._fd(_Xe,__e,_tb._id,_8e._ld);_ed._Ze.set(_Ye,_ed._ld*_ed._kd());_ed._ld+=_8e._ld}function _oe(_43){_Nd(_43,-1)}function _pe(_He,_Db){_5e=_He;_6e=null;_7e=null;if(typeof(_Db)=="object"){_6e=_Db._Ie;_7e=_Db._Je}else if((_Db!=-1)&&_Ib[_Db]){_6e=_Ib[_Db]}if(_6e&&!_6e._bd){_cd({_Hb:_6e}
)}_8e=new _Ke(_Le,_tb._Me(_tb._0f),false)}function _We(_Te,_Ue){if(_7e&&_6e){return({_sc:(_7e.x+(_Te*_7e._i5))/_6e._1f,_uc:(_7e.y+(_Ue*_7e._j5))/_6e._2f})}else {return({_sc:_Te,_uc:_Ue})}};function _qe(_N9,_O9,_3f){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_3f;_8e._4f[index+0]=0;_8e._4f[index+1]=0;_8e._4f[index+2]=0;_8e._rd[index+0]=0;_8e._rd[index+1]=0;_8e._pd[index]=((_Oe*255.0)<<24)|(_Pe&0x00ffffff)}function _re(_N9,_O9,_3f,_5f,_Re){
var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_3f;_8e._4f[index+0]=0;_8e._4f[index+1]=0;_8e._4f[index+2]=0;_8e._rd[index+0]=0;_8e._rd[index+1]=0;_8e._pd[index]=((_Re*255.0)<<24)|_Se(_5f)}function _se(_N9,_O9,_3f,_6f,_7f){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_3f;_8e._4f[index+0]=0;_8e._4f[index+1]=0;_8e._4f[index+2]=0;var _Ve=_We(_6f,_7f);_8e._rd[index+0]=_Ve._sc;
_8e._rd[index+1]=_Ve._uc;_8e._pd[index]=((_Oe*255.0)<<24)|(_Pe&0x00ffffff)}function _te(_N9,_O9,_3f,_6f,_7f,_5f,_Re){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_3f;_8e._4f[index+0]=0;_8e._4f[index+1]=0;_8e._4f[index+2]=0;var _Ve=_We(_6f,_7f);_8e._rd[index+0]=_Ve._sc;_8e._rd[index+1]=_Ve._uc;_8e._pd[index]=((_Re*255.0)<<24)|_Se(_5f)}function _ue(_N9,_O9,_3f,_8f,_9f,_af){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;
_8e._nd[index+1]=_O9;_8e._nd[index+2]=_3f;_8e._4f[index+0]=_8f;_8e._4f[index+1]=_9f;_8e._4f[index+2]=_af;_8e._rd[index+0]=0;_8e._rd[index+1]=0;_8e._pd[index]=((_Oe*255.0)<<24)|(_Pe&0x00ffffff)}function _ve(_N9,_O9,_3f,_8f,_9f,_af,_5f,_Re){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_3f;_8e._4f[index+0]=_8f;_8e._4f[index+1]=_9f;_8e._4f[index+2]=_af;_8e._rd[index+0]=0;_8e._rd[index+1]=0;_8e._pd[index]=((_Re*255.0)<<24)|_Se(_5f)}function _we(_N9,
_O9,_3f,_8f,_9f,_af,_6f,_7f){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_3f;_8e._4f[index+0]=_8f;_8e._4f[index+1]=_9f;_8e._4f[index+2]=_af;var _Ve=_We(_6f,_7f);_8e._rd[index+0]=_Ve._sc;_8e._rd[index+1]=_Ve._uc;_8e._pd[index]=((_Oe*255.0)<<24)|(_Pe&0x00ffffff);}function _xe(_N9,_O9,_3f,_8f,_9f,_af,_6f,_7f,_5f,_Re){var _jd=_8e._kd()>>2;var index=_8e._ld*_jd;_8e._Ne(1);_8e._nd[index+0]=_N9;_8e._nd[index+1]=_O9;_8e._nd[index+2]=_3f;_8e._4f[index+0]=_8f;
_8e._4f[index+1]=_9f;_8e._4f[index+2]=_af;var _Ve=_We(_6f,_7f);_8e._rd[index+0]=_Ve._sc;_8e._rd[index+1]=_Ve._uc;_8e._pd[index]=((_Re*255.0)<<24)|_Se(_5f)}function _ye(){var _Xe=_ze(_5e);if(_Xe==-1){return }var _Ye=_8e._Ze.subarray(0,_8e._ld*_8e._kd());var __e=_6e?_6e._bd:null;var _ed=_tb._fd(_Xe,__e,_tb._0f,_8e._ld);_ed._Ze.set(_Ye,_ed._ld*_ed._kd());_ed._ld+=_8e._ld}/*@constructor */function _bf(_cf){var _df=null,_ef=null,_ff=null,_gf=false,_hf=null,_if;var _jf=0,_kf=0,_lf=0,_mf=0;var _nf=this;(function(){
_df=new ArrayBuffer(_cf);_ef=new DataView(_df)})();function _of(_pf,_qf){var _rf=false;var _sf=_hf._tf;for(var _Q3=0;_Q3<_sf.length;_Q3++){var _uf=_sf[_Q3];if(((_pf==-1)||(_uf._vf==_pf))&&(_uf.type==_qf)){_rf=true;if((_uf._wf&_jf)===0){var _xf=(_mf+_uf.offset);_jf|=_uf._wf;if(_hf._yf===_jf){_jf=0;_kf++;_mf+=_hf._zf;if((_mf+_hf._zf)>=_df.byteLength){_nf._Af(_df.byteLength*2)}}return _xf}}}if(_rf){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._Af=function(_cf){var _Bf=new ArrayBuffer(_cf);var _Cf=new Int8Array(_df);var _Df=new Int8Array(_Bf);_Df.set(_Cf);_df=_Bf;_ef=new DataView(_df)};/*@this {yyVBufferBuilder} */this._Ef=function(_Ff){_jf=0;_kf=0;_lf=0;_mf=0;_if=_Ff;_hf=_tb._Me(_Ff);if(_hf._zf>_df.byteLength){this._Af(_hf._zf*36)}};/*@this {yyVBufferBuilder} */this._Gf=function(){};/*@this {yyVBufferBuilder} */this._Hf=function(x,y){var _xf=_of(_gd._If,_gd._Jf);if(_xf>=0){_ef.setFloat32(_xf,
x,true);_ef.setFloat32(_xf+4,y,true)}};/*@this {yyVBufferBuilder} */this._Kf=function(x,y,_Pd){var _xf=_of(_gd._If,_gd._Lf);if(_xf>=0){_ef.setFloat32(_xf,x,true);_ef.setFloat32(_xf+4,y,true);_ef.setFloat32(_xf+8,_Pd,true)}};/*@this {yyVBufferBuilder} */this._Mf=function(_5f,_Re){var _xf=_of(_gd._Nf,_gd._Of);if(_xf>=0){var _Pf=((_Re*255.0)<<24)|_Se(_5f);_ef.setUint32(_xf,_Pf,true)}};/*@this {yyVBufferBuilder} */this._Qf=function(_Rf){var _xf=_of(_gd._Nf,_gd._Of);if(_xf>=0){var _1c=((_Rf&0xff)<<24)|((_Rf&0xff00)<<8)|((_Rf&0xff0000)>>8)|((_Rf&0xff000000)>>24);
_ef.setUint32(_xf,_1c,true)}};/*@this {yyVBufferBuilder} */this._Sf=function(_Tf){var _xf=_of(_gd._Nf,_gd._Of);if(_xf>=0){var _1c=(_Tf&0xff000000)|((_Tf&0xff)<<16)|(_Tf&0xff00)|((_Tf&0xff0000)>>16);_ef.setUint32(_xf,_1c,true)}};/*@this {yyVBufferBuilder} */this._Uf=function(_sc,_uc){var _xf=_of(_gd._Vf,_gd._Jf);if(_xf>=0){_ef.setFloat32(_xf,_sc,true);_ef.setFloat32(_xf+4,_uc,true)}};/*@this {yyVBufferBuilder} */this._Wf=function(x,y,_Pd){var _xf=_of(_gd._Xf,_gd._Lf);if(_xf>=0){_ef.setFloat32(_xf,x,true);
_ef.setFloat32(_xf+4,y,true);_ef.setFloat32(_xf+8,_Pd,true)}};/*@this {yyVBufferBuilder} */this._Yf=function(x){var _xf=_of(-1,_gd._Zf);if(_xf>=0){_ef.setFloat32(_xf,x,true)}};/*@this {yyVBufferBuilder} */this.__f=function(x,y){var _xf=_of(-1,_gd._Jf);if(_xf>=0){_ef.setFloat32(_xf,x,true);_ef.setFloat32(_xf+4,y,true)}};/*@this {yyVBufferBuilder} */this._0g=function(x,y,_Pd){var _xf=_of(-1,_gd._Lf);if(_xf>=0){_ef.setFloat32(_xf,x,true);_ef.setFloat32(_xf+4,y,true);_ef.setFloat32(_xf+8,_Pd,true)}};/*@this {yyVBufferBuilder} */this._1g=function(x,
y,_Pd,_S3){var _xf=_of(-1,_gd._2g);if(_xf>=0){_ef.setFloat32(_xf,x,true);_ef.setFloat32(_xf+4,y,true);_ef.setFloat32(_xf+8,_Pd,true);_ef.setFloat32(_xf+12,_S3,true)}};/*@this {yyVBufferBuilder} */this._3g=function(x,y,_Pd,_S3){var _xf=_of(-1,_gd._4g);if(_xf>=0){_ef.setUint8(_xf,x,true);_ef.setUint8(_xf+1,y,true);_ef.setUint8(_xf+2,_Pd,true);_ef.setUint8(_xf+3,_S3,true)}};/*@this {yyVBufferBuilder} */this._5g=function(){var _6g=new _Ke(_kf,_hf,false);var _7g=_kf*_hf._zf;var _8g=new Int8Array(_df,0,_7g);
_6g._Ze.set(_8g);_6g._ld+=_kf;_6g._5g();_ff=_6g;_gf=true;_df=null;_ef=null};/*@this {yyVBufferBuilder} */this._9g=function(_ag,_bg){if(_gf){if(_bg==-1){_tb._cg(_ag,null,_ff,0)}else _tb._cg(_ag,_bg._Ie._bd,_ff,0)}else {var _ed;if(_bg==-1){_ed=_tb._fd(_ag,null,_if,_kf)}else {_ed=_tb._fd(_ag,_bg._Ie._bd,_if,_kf)}var _dg=_ed._ld*_hf._zf;var _8g=new Int8Array(_df,0,_kf*_hf._zf);_ed._Ze.set(_8g,_dg);_ed._ld+=_kf}};this._eg=function(_fg){_kf=_fg;_lf=0;_mf=_fg*_hf._zf};this._gg=function(){return _kf};this._hg=function(){
return _df}}var _ig=null;/*@constructor */function _jg(_kg){var _lg=0,_mg=0.5;var _ng=_kg;var _og=[];var _pg=[];var _qg=[];var _rg=_lg;var _sg=_mg;Object.defineProperties(this,{_tg:{get:function(){return _rg},set:function(_ug){_rg=_ug}},_vg:{get:function(){return _sg},set:function(_ug){_sg=_ug}}});/*@this {yyGamePad} */this._wg=function(){_pg=_og.slice();_qg=_ng.axes.slice();var _xg=_ng.buttons;if(_xg){for(var _La in _xg){if(!_xg.hasOwnProperty(_La))continue;if(typeof(_xg[_La])==="object"){_og[_La]=_xg[_La].value}
else {_og[_La]=_xg[_La]}}}};/*@this {yyGamePad} */this._yg=function(){if(_ng){return _ng.id||""}return ""};/*@this {yyGamePad} */this._zg=function(){if(_og){return _og.length}return 0};/*@this {yyGamePad} */this._Ag=function(_Bg){var _Cg=_og[_Bg];var _Dg=_pg[_Bg];if((_Cg!==undefined)&&(_Dg!==undefined)){return((_Cg>=_sg)&&(_Dg<_sg))}return false};/*@this {yyGamePad} */this._Eg=function(_Bg){var _Cg=_og[_Bg];var _Dg=_pg[_Bg];if((_Cg!==undefined)&&(_Dg!==undefined)){return((_Cg<_sg)&&(_Dg>=_sg))}return false}
;/*@this {yyGamePad} */this._Fg=function(_Bg){var _Cg;if(typeof(_og[_Bg])==="object"){_Cg=_og[_Bg].value}else {_Cg=_og[_Bg]}if(_Cg!==undefined){return(_Cg>=_sg)}return false};/*@this {yyGamePad} */this._Gg=function(_Bg){var _Cg;if(typeof(_og[_Bg])==="object"){_Cg=_og[_Bg].value}else {_Cg=_og[_Bg]}return _Cg||0.0};/*@this {yyGamePad} */this._Hg=function(){if(_qg){return _qg.length}return 0};/*@this {yyGamePad} */this._Ig=function(_Jg,_Kg){var _Lg=_qg[_Jg]||0;if(_rg>0.0){var _Mg=Math.abs(_Lg);if(_Mg<_rg){_Lg=0.0}
else {var _O7=(_Lg>=0)?1.0:-1.0;_Lg=((_Mg-_rg)/(_Kg-_rg))*_O7}}return _Lg}}/*@constructor */function _Ng(){var _Og=1.0,_Pg=1.0;var _Qg=0,_Rg=1,_Sg=2;var _Tg=0x8000,_Ug=0x8001,_Vg=0x8002,_Wg=0x8003,_Xg=0x8004,_Yg=0x8005,_Zg=0x8006,__g=0x8007,_0h=0x8008,_1h=0x8009,_2h=0x800A,_3h=0x800B,_4h=0x800C,_5h=0x800D,_6h=0x800E,_7h=0x800F,_8h=0x8010,_9h=0x8011,_ah=0x8012,_bh=0x8013,_ch=0x8014;var _dh=0,_eh=1,_fh=2,_gh=3,_hh=4,_ih=5,_jh=6,_kh=7,_lh=8,_mh=9,_nh=10,_oh=11,_ph=12,_qh=13,_rh=14,_sh=15;var _th=0,_uh=1,_vh=2,
_wh=3;function _xh(){return !!navigator["getGamepads"]||!!navigator["webkitGetGamepads"]||!!navigator["webkitGamepads"]}var _yh=_xh()?_Rg:_Qg;var _zh=[];function _Ah(){if(navigator["getGamepads"]){return navigator["getGamepads"]();}if(navigator["webkitGetGamepads"]){return navigator["webkitGetGamepads"]()}if(navigator["webkitGamepads"]){return navigator["webkitGamepads"]()}return null}function _Bh(){var _Q3=0;for(_Q3=0;_Q3<_zh.length;_Q3++){_zh[_Q3]._wg()}}function _Ch(){var _Dh=0;var gamepads=_Ah();if(gamepads!==null){
for(_Dh=0;_Dh<gamepads.length;++_Dh){var _Eh=gamepads[_Dh];if(!_Eh){if(_zh[_Dh]){_zh.splice(_Dh,1)}}else {if(!_zh[_Dh]){_zh[_Dh]=new _jg(_Eh)}}}}}function _Fh(_Bg){if(_Bg<_Tg){return _Bg}switch(_Bg){case _Ug:return _dh;case _Vg:return _eh;case _Wg:return _fh;case _Xg:return _gh;case _Yg:return _hh;case _Zg:return _ih;case __g:return _jh;case _0h:return _kh;case _1h:return _lh;case _2h:return _mh;case _3h:return _nh;case _4h:return _oh;case _5h:return _ph;case _6h:return _qh;case _7h:return _rh;case _8h:return _sh}return 0}function _Gh(_Jg){
if(_Jg<_Tg){return _Jg}switch(_Jg){case _9h:return _th;case _ah:return _uh;case _bh:return _vh;case _ch:return _wh}return 0}function _Ng(){}/*@this {yyGamepadManager} */this._Hh=function(){return _zh.length};/*@this {yyGamepadManager} */this._Ih=function(_Jh){var _Kh=_zh[_Jh];if(_Kh){return _Kh._yg()}return ""};/*@this {yyGamepadManager} */this._Lh=function(){return(_yh!==_Qg)};/*@this {yyGamepadManager} */this._vg=function(_Jh){var _Kh=_zh[_Jh];if(_Kh){return _Kh._vg}return 0.0};/*@this {yyGamepadManager} */this._Mh=function(_Jh,
_Nh){var _Kh=_zh[_Jh];if(_Kh){if((_Nh>=0.0)&&(_Nh<=_Og)){_Kh._vg=_Nh}}};/*@this {yyGamepadManager} */this._tg=function(_Jh){var _Kh=_zh[_Jh];if(_Kh){return _Kh._tg}return 0.0};/*@this {yyGamepadManager} */this._Oh=function(_Jh,_Ph){var _Kh=_zh[_Jh];if(_Kh){if((_Ph>=0.0)&&(_Ph<=_Pg)){_Kh._tg=_Ph}}};/*@this {yyGamepadManager} */this._Qh=function(){_zh=[]};/*@this {yyGamepadManager} */this._Rh=function(){switch(_yh){case _Rg:_Ch();_Bh();break;case _Sg:_Bh();break;case _Qg:default :return }};/*@this {yyGamepadManager} */this._Sh=function(_Jh){
if(_zh[_Jh]!==null&&_zh[_Jh]!==undefined){return true}return false};/*@this {yyGamepadManager} */this._zg=function(_Jh){var _Kh=_zh[_Jh];if(_Kh){return _Kh._zg()}return 0};/*@this {yyGamepadManager} */this._Hg=function(_Jh){var _Kh=_zh[_Jh];if(_Kh){return _Kh._Hg()}return 0};/*@this {yyGamepadManager} */this._Fg=function(_Jh,_Bg){var _Kh=_zh[_Jh];if(_Kh){return _Kh._Fg(_Fh(_Bg),_Kh._vg)}return false};/*@this {yyGamepadManager} */this._Ag=function(_Jh,_Bg){var _Kh=_zh[_Jh];if(_Kh){return _Kh._Ag(_Fh(_Bg),_Kh._vg)}
return false};/*@this {yyGamepadManager} */this._Eg=function(_Jh,_Bg){var _Kh=_zh[_Jh];if(_Kh){return _Kh._Eg(_Fh(_Bg),_Kh._vg)}return false};/*@this {yyGamepadManager} */this._Gg=function(_Jh,_Bg){var _Kh=_zh[_Jh];if(_Kh){return _Kh._Gg(_Fh(_Bg))}return 0};/*@this {yyGamepadManager} */this._Ig=function(_Jh,_Jg){var _Kh=_zh[_Jh];if(_Kh){return _Kh._Ig(_Gh(_Jg),_Pg)}return 0}};var _Th=[];var _Uh="None";var _Vh=0;var _Wh=0;/*@constructor */function _Xh(){this.x=0;this.y=0;this._Fg=0;this._Ag=0;this._Eg=0;this._Yh=0}
;_Xh.prototype._Qh=function(){this._Fg=0;this._Ag=0;this._Eg=0;this._Yh=0};_Xh.prototype._Zh=function(_N9,_O9){if(_h9){var __h;if(!_h9._0i){__h=_1i}else {__h=_h9._2i}for(var _uc=0;_uc<__h.length;_uc++){var _3i=__h[_uc];if(_3i._Y3){_4i(canvas,_5i);if(((_N9-_5i.left)>=_3i._6i)&&((_N9-_5i.left)<_3i._7i)&&((_O9-_5i.top)>=_3i._8i)&&((_O9-_5i.top)<_3i._9i)){this.x=_3i._ai(_N9,_O9);this.y=_3i._bi(_N9,_O9);return }}}}this.x=_N9;this.y=_O9};/*@constructor */function _ci(_di){for(var _Q3=0;_Q3<_Th.length;_Q3++){
if(_Th[_Q3]===_di){return _Q3}}return -1}function _ei(_di){var _fi=-1;for(var _Q3=0;_Q3<_Th.length;_Q3++){if((_Th[_Q3]===_di)||(_Th[_Q3]===-1)){_fi=_Q3;break;}}if(_fi==-1){_fi=_Th.length}_Th[_fi]=_di;_gi[_fi]=new _Xh();return _fi}var _hi=!1;function _ii(event){for(var _ji=0;_ji<event.changedTouches.length;_ji++){var _ki=event.changedTouches[_ji];var type="";var _fi=-1;_Uh=event.type;switch(event.type){case "touchstart":_fi=_ei(_ki["identifier"]);break;case "touchend":if(!_hi&&(_li==_mi)){_ni();_hi=true}_fi=_ci(_ki["identifier"]);
_Th[_fi]=-1;break;case "touchcancel":_fi=_ci(_ki["identifier"]);_Th[_fi]=-1;break;case "touchmove":_fi=_ci(_ki["identifier"]);break;default :return }var _oi;var _pi;_oi=_ki.pageX;_pi=_ki.pageY;if(_fi==0){if(_qi!=null){_ri=_oi;_si=_pi}switch(event.type){case "touchstart":_ti=1;break;case "touchmove":_ti=1;break;case "touchcancel":case "touchend":_ti=0;break }}_gi[_fi]._Zh(_oi,_pi);_ui[_fi].x=_oi;_ui[_fi].y=_pi;switch(event.type){case "touchstart":_gi[_fi]._Fg=1;_ui[_fi]._vi=_wi|_xi|_yi;break;case "touchcancel":case "touchend":_gi[_fi]._Fg=0;
_ui[_fi]._vi=0;break;case "touchmove":default :break }event.preventDefault()}}function _zi(){canvas.ontouchstart=_ii;canvas.ontouchmove=_ii;canvas.ontouchend=_ii;canvas.ontouchcancel=_ii}var _Ai,_Bi,_Ci,_Di,_Ei,_Fi,_Gi;/*@constructor *//*@constructor */function _Hi(_Ii,_Ji){this._Ki=[];this._1f=_Ii;this._2f=_Ji;var _Ka=_Ii*_Ji;for(var _Q3=0;_Q3<_Ka;_Q3++){this._Ki[_Q3]=0}}_Hi.prototype._Li=function(_Mi){this._1f=_Mi._1f;this._2f=_Mi._2f;this._Ki=_Mi._Ki.slice()};var _Ni=_Oi;function _Oi(_Pi,_N9,_O9,_o9){var _Qi=_Ri._Si(_Pi);
if(!_Qi){_Ti("Error: invalid ds_grid ID (ds_grid_set)");return }if(_N9<0||_N9>=_Qi._1f||_O9<0||_O9>=_Qi._2f){_Ti("Error: grid out of bounds(set) - GridID: "+_Pi+"  size["+_Qi._1f+","+_Qi._2f+"]  at  ("+_N9+","+_O9+")");return }_Qi._Ki[_N9+(_O9*_Qi._1f)]=_o9}var _Ui=_Vi;function _Vi(_Pi,_N9,_O9,_o9){var _Qi=_Ri._Si(_Pi);if(!_Qi){_Ti("Error: invalid ds_grid ID (ds_grid_set)");return _o9}if(_N9<0||_N9>=_Qi._1f||_O9<0||_O9>=_Qi._2f){_Ti("Error: grid out of bounds(set) - GridID: "+_Pi+"  size["+_Qi._1f+","+_Qi._2f+"]  at  ("+_N9+","+_O9+")");
return _o9}_Qi._Ki[_N9+(_O9*_Qi._1f)]=_o9;return _o9}var _Wi=_Xi;function _Xi(_Pi,_N9,_O9,_o9){var _Qi=_Ri._Si(_Pi);if(!_Qi){_Ti("Error: invalid ds_grid ID (ds_grid_set)");return _o9}if(_N9<0||_N9>=_Qi._1f||_O9<0||_O9>=_Qi._2f){_Ti("Error: grid out of bounds(set) - GridID: "+_Pi+"  size["+_Qi._1f+","+_Qi._2f+"]  at  ("+_N9+","+_O9+")");return _o9}var _Yi=_Qi._Ki[_N9+(_O9*_Qi._1f)];_Qi._Ki[_N9+(_O9*_Qi._1f)]=_o9;return _Yi}var _Zi=__i;function __i(_Pi,_N9,_O9){var _Qi=_Ri._Si(_Pi),x=~~_N9,y=~~_O9;if(!_Qi){_Ti("Error: invalid ds_grid ID (ds_grid_get)");
return undefined}if(x<0||x>=_Qi._1f||y<0||y>=_Qi._2f){_Ti("Error: grid out of bounds(get) - GridID: "+_Pi+"  size["+_Qi._1f+","+_Qi._2f+"]  at  ("+x+","+y+")");return undefined}return _Qi._Ki[x+(y*_Qi._1f)]}function _0j(){var _Ga=new _1j();_Ga._2j=true;return _3j._4j(_Ga)}function _5j(_Pi){var _6j=_3j._Si(_Pi);if(_6j){_6j._Qh();_3j._7j(_Pi)}}function _8j(_Pi){var _9j=_3j._Si(_Pi);if(_9j)return _9j.length;_Ti("Error: invalid ds_list ID (ds_list_size)");return 0}function _aj(){var _bj=arguments;var _cj=arguments.length;
var _9j=_3j._Si(_bj[0]);if(!_9j){_Ti("Error: invalid ds_list ID (ds_list_add)");return }for(var _Q3=1;_Q3<_cj;_Q3++){_9j._4j(_bj[_Q3])}return }function _dj(_Pi,_ej){var _uc,_fj=_gj(_ej),_9j=_3j._Si(_gj(_Pi));if(_9j){_uc=_9j._hj[_fj];if(typeof(_uc)==="object"&&_uc.Object!==undefined){return _uc.Object}else return _uc}_Ti("Error: invalid ds_list ID (ds_list_find_value)");return undefined}var _ij=1,_jj=2;/*@constructor */function _kj(_qf,_lj){this._mj=_qf;this.Object=_lj}function _X8(){var _nj={};var id=_oj._4j(_nj);
return id}function _59(_Pi){var _nj=_oj._Si(_Pi);if(_nj){_pj(_nj);_oj._7j(_Pi)}}function _qj(_Pi){var _nj=_oj._Si(_Pi);if(_nj){_pj(_nj);var _rj={};_oj._sj(_Pi,_rj)}}function _pj(_tj){for(var _uj in _tj){var _uc=_tj[_uj];if(_uc!=null&&_uc.Object!==undefined)switch(_uc._mj){case _ij:_59(_uc.Object);break;case _jj:_5j(_uc.Object);break }}}function _vj(_Pi,_wj){var _nj=_oj._Si(_Pi);if(_nj){return _nj.hasOwnProperty(_wj)}return false}function _Z8(_Pi,_wj,_o9){var _nj=_oj._Si(_Pi);if(_nj){if(_nj.hasOwnProperty(_wj)){}else _nj[_wj]=_o9}
}function _M6(_Pi,_wj){var _nj=_oj._Si(_Pi);if(_nj){var _xj=_nj[_wj];if(typeof(_xj)==="object"&&_xj.Object!==undefined){return _xj.Object}else return _xj}return undefined}function _yj(_Pi,_wj){var _zj=false;var _nj=_oj._Si(_Pi);for(var _Aj in _nj){if(_nj.hasOwnProperty(_Aj)){if(_zj){return _Aj}if(_Aj==_wj){_zj=true;}}}return undefined}function _Bj(_Pi){var _nj=_oj._Si(_Pi);for(var _Aj in _nj){if(_nj.hasOwnProperty(_Aj)){return _Aj}}return undefined}function _Cj(_Dj,_Ej){var _Fj=0x7ff0000000000001;var _O7=(_Dj>>31)*2+1;var _Gj=(_Dj>>>20)&0x7FF;
_Dj&=0xFFFFF;if(_Gj===0x7FF)return(_Dj+_Ej)?_Fj:_O7/0;_Gj?(_Gj-=1023,_Dj|=0x100000):_Gj=-1022;var _Hj=_Ej+(_Dj*4294967296.0);return _O7*_Hj*Math.pow(2,_Gj-52)}var _Ij=0;var _Jj=null;function _Kj(){var _I3=_Jj.length;var _Fb=64-8;var _Ej=0;var _Dj=0;while(_Ij<_I3){var _gc;var _R3=_Jj[_Ij++];if(_R3==','||_R3==':'){_Ij--;break }if(_R3>='A'){_gc=((_R3.charCodeAt()-65)+10)<<4}else {_gc=((_R3.charCodeAt()-48)<<4)}_R3=_Jj[_Ij++];if(_R3>='A'){_gc|=(~~(_R3.charCodeAt()-65))+10}else {_gc|=~~(_R3.charCodeAt()-48)}if(_Fb>32){
_Dj|=_gc<<(_Fb-32)}else {_Ej|=_gc<<(_Fb-32)}_Fb-=8}return _Cj(_Dj,_Ej)}function _Lj(){var _I3=_Jj.length;var _Mj="";while(_Ij<_I3){var _gc;var _R3=_Jj[_Ij++];if(_R3==','||_R3==':'){_Ij--;break }if(_R3>='A'){_gc=((_R3.charCodeAt()-65)+10)<<4}else {_gc=((_R3.charCodeAt()-48)<<4)}_R3=_Jj[_Ij++];if(_R3>='A'){_gc|=(_R3.charCodeAt()-65)+10;}else {_gc|=(_R3.charCodeAt()-48)}_Mj+=String.fromCharCode(_gc)}return _Mj}var _Nj=!1;/*@constructor *//*@constructor */var _Oj=!1;var _Pj='Trying to stop non-existing sound.',_Qj='Trying to draw a non-existing sprite.',
_Rj='Trying to draw a non-existing background.',_Sj='Cannot compare arguments.',_Tj='Trying to replace non-existing resource.',_Uj='File does not exist.',_Vj='The particle emitter must first be created.';var _Wj=-1,_Xj=[],_Yj=[];function _V7(_Zj){_Q7(_Zj)}function __j(_Zj,_5f,_Re){_Zj._w6(_gj(_5f));_Zj._48=_Re}var _0k=__j;function _E7(_1k,_2k){if(_li==_mi){var _3k=_gj(_1k);_68(_3k,1,_2k>=0.5?true:false)}else {var _3k=_gj(_1k);if(_2k>=0.5){_4k._5k(_3k)}_4k._6k(_3k)}}function _38(_Zj,_9a,_7k){var _8k=_gj(_7k);
var time=_gj(_9a);if(!_Oj||(_Zj._9k(_8k)<0)){_Zj._ak(_8k,time)}else {_Zj._ak(_8k,_Zj._9k(_8k)+time)}}function _bk(_5f){_x8(_5f)}var _ck=_bk;function _28(){_dk()}function _ek(_qf,_fk,_gk,_hk,_ik,_jk){var type=_gj(_qf);var _kk=_gj(_fk);var _lk=_gj(_gk);var _mk=_gj(_hk);if(_Wj<0){_Wj=_nk()}if(_Xj[type]<0){_Xj[type]=_ok();}var _pk=_Xj[type];if(_kk==0){_qk(_pk,_lk,_mk)}else {_rk(_pk,_lk,_mk)}_sk(_pk,_ik,_jk)}var _tk=_ek;function _uk(_vk){var _wk=_xk._yk(_vk);if((_wk===null)||(_wk===undefined)){return false}return true}
function _zk(_vk){var _Ak=_xk._yk(_vk);if(!_Ak)return 0;if(_Ak._Bk===undefined)return 0;return _Ak._Bk._k5;}function _Ck(_vk){var _Ak=_xk._yk(_vk);if(!_Ak)return 0;if(_Ak._Bk===undefined)return 0;return _Ak._Bk._l5}function _Dk(_N9,_O9,_Ii,_Ji,_Ek,_Fk){var _Gk=_Hk(_Ii,_Ji);var _Ik=_Jk._Si(_Gk);var _Kk=_Ik.getContext('2d');_Kk.drawImage(canvas,-_N9,-_O9);if(_Ek){_Lk(_Kk,_Ii,_Ji)}var _Mk=new _Nk();var _Ok=new _Pk();_Mk._Bk=_Ok;_Ok.x=0;_Ok.y=0;_Ok._S3=_Ii;_Ok._T3=_Ji;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;
_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;_Ok._m5=_Gk;_Ok._Hb=_Ik;return _xk._Qk(_Mk);}function _Rk(_Pi,_N9,_O9,_Ii,_Ji,_Ek,_Fk){var _Sk=_Jk._Si(_Pi);var _Gk=_Hk(_Ii,_Ji);var _Ik=_Jk._Si(_Gk);var _Kk=_Ik.getContext('2d');_Kk.drawImage(_Sk,-_N9,-_O9);if(_Ek){_Lk(_Kk,_Ii,_Ji)}var _Mk=new _Nk();var _Ok=new _Pk();_Mk._Bk=_Ok;_Ok.x=0;_Ok.y=0;_Ok._S3=_Ii;_Ok._T3=_Ji;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;_Ok._m5=_Gk;_Ok._Hb=_Ik;return _xk._Qk(_Mk)}function _Tk(_Ii,_Ji,_Qe){var _Uk=_Hk(_Ii,
_Ji);var _Vk=_Jk._Si(_Uk);var _Kk=_Vk.getContext('2d');_Kk.globalAlpha=1.0;_Kk.fillStyle=_Wk(_Se(_Qe),1);_Kk.fillRect(0,0,_Ii,_Ji);var _Mk=new _Nk();var _Ok=new _Pk();_Mk._Bk=_Ok;_Ok.x=0;_Ok.y=0;_Ok._S3=_Ii;_Ok._T3=_Ji;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;_Ok._m5=_Uk;_Ok._Hb=_Vk;return _xk._Qk(_Mk)}var _Xk=_Tk;function _Yk(_M9){var _Ik=_xk._yk(_M9);if(_Ik){return({_Ie:_Ik._Bk._Hb,_Je:_Ik._Bk})}return null}var _Zk=[];var __k=0;function _I7(_0l,_N9,_O9,_lj,_1l,_2l){
return _3l(_0l,Math.floor(_lj),_2l,_4l,_N9,_O9,_1l,function(_5l){var _6l=_5l._7l(_N9,_O9,_1l);if(!_6l){return _4l}return _5l.id})}function _P7(_0l,_8l,_9l,_al,_lj,_1l,_2l){return _bl(_0l,_8l-_al,_9l-_al,_8l+_al,_9l+_al,_lj,_1l,_2l)}function _bl(_0l,__a,_0b,_ma,_na,_lj,_1l,_2l){return _3l(_0l,Math.floor(_lj),_2l,_4l,__a,_0b,_ma,_na,_1l,function(_5l){var _6l=_5l._cl(__a,_0b,_ma,_na,_1l);if(!_6l){return _4l}return _5l.id})}function _dl(_el,_fl,_va,_wa,_xa,_ya,_gl,_hl){var _il=_gl-_va;var _jl=_xa-_va;var _kl=_el-_va;
var _ll=_hl-_wa;var _ml=_ya-_wa;var _nl=_fl-_wa;var _ol=(_il*_il)+(_ll*_ll);var _pl=(_il*_jl)+(_ll*_ml);var _ql=(_il*_kl)+(_ll*_nl);var _rl=(_jl*_jl)+(_ml*_ml);var _sl=(_jl*_kl)+(_ml*_nl);var _tl=1.0/(_ol*_rl-_pl*_pl);var _sc=(_rl*_ql-_pl*_sl)*_tl;var _uc=(_ol*_sl-_pl*_ql)*_tl;return((_sc>=0.0)&&(_uc>=0.0)&&(_sc+_uc<1.0))}function _ul(_vl,_wl,_xl,_yl,_zl){var _Al=(((_vl-_xl)*(_vl-_xl))+((_wl-_yl)*(_wl-_yl)));if(_Al<=_zl)return true;return false}function _Bl(){_Ad("d3d_start()")}function _Cl(){_Ad("d3d_end()")}function _Dl(enable){
_Ad("d3d_set_hidden()")}function _El(_Fl){_Ad("d3d_set_culling()")}function _Gl(_d3){_Ad("d3d_set_shading()")}function _Hl(_Il){_Ad("d3d_set_zwriteenable()")}function _Jl(_44){_Ad("d3d_set_depth()")}function _Kl(_Ll,_Ml,_Nl,alpha){_Ad("draw_set_color_write_enable()")}var _Ol=_Kl;function _Pl(enable){_Ad("d3d_set_shading()")}function _Ql(_Rl,_9d,_ad,_Sl,_1c){_Ad("d3d_light_define_direction()");}function _Tl(_Rl,x,y,_Pd,_Ul,_1c){_Ad("d3d_light_define_point()")}function _Vl(_Rl,enable){_Ad("d3d_light_enable()")}
function _Wl(_c5){_Ad("d3d_light_define_ambient()")}function _Xl(enable,color,start,end){_Ad("d3d_set_fog()")}function _Yl(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_0m,_1m){_Ad("d3d_draw_floor()")}function _2m(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_0m,_1m,_3m){_Ad("d3d_draw_ellipsoid()")}function _4m(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_0m,_1m){_Ad("d3d_draw_block()")}function _5m(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_0m,_1m,_6m,_3m){_Ad("d3d_draw_cylinder()")}function _7m(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_0m,_1m,_6m,_3m){_Ad("d3d_draw_cone()")}function _8m(_va,
_wa,_Zl,_xa,_ya,__l,_Cd,_0m,_1m){_Ad("d3d_draw_wall()")}function _9m(){_Ad("d3d_model_create()")}function _am(_Rl){_Ad("d3d_model_destroy()")}function _bm(_Rl){_Ad("d3d_model_clear()");}function _cm(_Rl,_dm){_Ad("d3d_model_save()")}function _em(_Rl,_dm){_Ad("d3d_model_load()")}function _fm(_Rl,_dm){_Ad("d3d_model_save_buffer()")}function _gm(_Rl,_dm){_Ad("d3d_model_load_buffer()")}function _hm(_Rl,x,y,_Pd,_Cd){_Ad("d3d_model_draw()")}function _im(_Rl,_43){_Ad("d3d_model_primitive_begin()")}function _jm(_Rl,
x,y,_Pd){_Ad("d3d_model_vertex()")}function _km(_Rl,x,y,_Pd,_1c,alpha){_Ad("d3d_model_vertex_colour()")}function _lm(_Rl,x,y,_Pd,_1c,alpha){_Ad("d3d_model_vertex_color()")}function _mm(_Rl,x,y,_Pd,_Hd,_Id){_Ad("d3d_model_vertex_texture()")}function _nm(_Rl,x,y,_Pd,_Hd,_Id,_1c,alpha){_Ad("d3d_model_vertex_texture_colour()")}function _om(_Rl,x,y,_Pd,_Hd,_Id,_1c,alpha){_Ad("d3d_model_vertex_texture_color()")}function _pm(_Rl,x,y,_Pd,_Wd,_Xd,_Yd){_Ad("d3d_model_vertex_normal()")}function _qm(_Rl,x,y,_Pd,_Wd,
_Xd,_Yd,_1c,alpha){_Ad("d3d_model_vertex_normal_color()")}function _rm(_Rl,x,y,_Pd,_Wd,_Xd,_Yd,_Hd,_Id){_Ad("d3d_model_vertex_normal_texture()")}function _sm(_Rl,x,y,_Pd,_Wd,_Xd,_Yd,_Hd,_Id,_1c,alpha){_Ad("d3d_model_vertex_normal_texture_color()")}function _tm(_Rl){_Ad("d3d_model_primitive_end()")}function _um(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m){_Ad("d3d_model_block()")}function _vm(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,_6m,_3m){_Ad("d3d_model_cylinder()")}function _wm(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,
_6m,_3m){_Ad("d3d_model_cone()")}function _xm(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,_3m){_Ad("d3d_model_ellipsoid()")}function _ym(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m){_Ad("d3d_model_wall()")}function _zm(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m){_Ad("d3d_model_floor()")}function _Am(enable){_Ad("d3d_set_perspective()")}function _Bm(_Cm,_Dm,_Em,_Fm,_Gm,_Hm,_Im,_Jm,_Km){_Ad("d3d_set_projection()")}function _Lm(_Cm,_Dm,_Em,_Fm,_Gm,_Hm,_Im,_Jm,_Km,angle,_Mm,_Nm,_Om){_Ad("d3d_set_projection_ext()")}function _Pm(x,
y,_S3,_T3,angle){_Ad("d3d_set_projection_ortho()")}function _Qm(x,y,_S3,_T3,angle){_Ad("d3d_set_projection_perspective()")}function _Rm(){_Ad("d3d_transform_set_identity()")}function _Sm(_Tm,_Um,_Vm){_Ad("d3d_transform_set_translation()")}function _Wm(__b,_0c,_Xm){_Ad("d3d_transform_set_scaling()")}function _Ym(angle){_Ad("d3d_transform_set_rotation_x()")}function _Zm(angle){_Ad("d3d_transform_set_rotation_y()")}function __m(angle){_Ad("d3d_transform_set_rotation_z()")}function _0n(_1n,_2n,_3n,angle){_Ad("d3d_transform_set_rotation_axis()")}
function _4n(_Tm,_Um,_Vm){_Ad("d3d_transform_add_translation()")}function _5n(__b,_0c,_Xm){_Ad("d3d_transform_add_scaling()")}function _6n(angle){_Ad("d3d_transform_add_rotation_x()")}function _7n(angle){_Ad("d3d_transform_add_rotation_y()")}function _8n(angle){_Ad("d3d_transform_add_rotation_axis()")}function _9n(_1n,_2n,_3n,angle){_Ad("d3d_transform_add_rotation_z()")}function _an(_N9,_O9,_3f){_Ad("d3d_transform_vertex()")}function _bn(_qf){_Ad("matrix_get()")}function _cn(_qf,_dn){_Ad("matrix_set()")}
var _en=_fn;var _gn=_hn;var _in=_jn;var _kn=_ln;var _mn=_nn;var _on=_pn;var _qn=_rn;var _sn=_tn;var _un=_vn;var _wn=_xn;var _yn=_zn;var _An=_Bn;var _Cn=_Dn;var _En=_Fn;function _Gn(){_Ad("d3d_transform_stack_clear()")}function _Hn(){_Ad("d3d_transform_stack_empty()")}function _In(){_Ad("d3d_transform_stack_push()")}function _Jn(){_Ad("d3d_transform_stack_pop()")}function _Kn(){_Ad("d3d_transform_stack_top()")}function _Ln(){_Ad("d3d_transform_stack_discard()")}function _Mn(enable){_Ad("gpu_set_blendenable()")}function _Nn(enable){
_Ad("gpu_set_ztestenable()")}function _On(_Pn){_Ad("gpu_set_zfunc()")}function _Qn(enable){_Ad("gpu_set_zwriteenable()")}function _Rn(enable,_1c,start,end){_Ad("gpu_set_fog()")}function _Sn(_Tn){_Ad("gpu_set_cullmode()")}function _Un(_Vn){_Ad("gpu_set_blendmode()")}function _Wn(src,_Xn){_Ad("gpu_set_blendmode_ext()")}function _Yn(src,_Xn,_Zn,__n){_Ad("gpu_set_blendmode_ext_sepalpha()")}function _0o(_Ll,_Ml,_Nl,alpha){_Ad("gpu_set_colorwriteenable()")}function _1o(_Ll,_Ml,_Nl,alpha){_Ad("gpu_set_colourwriteenable()")}
function _2o(enable){_Ad("gpu_set_alphatestenable()")}function _3o(value){_Ad("gpu_set_alphatestref()");}function _4o(_Pn){_Ad("gpu_set_alphatestfunc()")}function _5o(_6o){_Ad("gpu_set_texfilter()")}function _7o(_8o,_6o){_Ad("gpu_set_texfilter_ext()")}function _9o(repeat){_Ad("gpu_set_texrepeat()")}function _ao(_8o,repeat){_Ad("gpu_set_texrepeat_ext()")}function _bo(_6o){_Ad("gpu_set_tex_filter()")}function _co(_8o,_6o){_Ad("gpu_set_tex_filter_ext()")}function _do(repeat){_Ad("gpu_set_tex_repeat()")}function _eo(_8o,
repeat){_Ad("gpu_set_tex_repeat_ext()")}function _fo(_go){_Ad("gpu_set_tex_mip_filter(filter)")}function _ho(_8o,_go){_Ad("gpu_set_tex_mip_filter_ext(sampler_id, filter)")}function _io(_jo){_Ad("gpu_set_tex_mip_bias(bias)")}function _ko(_8o,_jo){_Ad("gpu_set_tex_mip_bias_ext(sampler_id, bias)")}function _lo(_mo){_Ad("gpu_set_tex_min_mip(minmip)");}function _no(_8o,_mo){_Ad("gpu_set_tex_min_mip_ext(sampler_id, minmip)")}function _oo(_po){_Ad("gpu_set_tex_max_mip(maxmip)")}function _qo(_8o,_po){_Ad("gpu_set_tex_max_mip_ext(sampler_id, maxmip)")}
function _ro(_so){_Ad("gpu_set_tex_max_aniso(maxaniso)")}function _to(_8o,_so){_Ad("gpu_set_tex_max_aniso_ext(sampler_id, maxaniso)")}function _uo(_vo){_Ad("gpu_set_tex_mip_enable(setting)");}function _wo(_8o,_vo){_Ad("gpu_set_tex_mip_enable_ext(sampler_id, setting)")}function _xo(){_Ad("gpu_get_blendenable()")}function _yo(){_Ad("gpu_get_ztestenable()")}function _zo(){_Ad("gpu_get_zfunc()")}function _Ao(){_Ad("gpu_get_zwriteenable()")}function _Bo(){_Ad("gpu_get_fog()")}function _Co(){_Ad("gpu_get_cullmode()")}
function _Do(){_Ad("gpu_get_blendmode()")}function _Eo(){_Ad("gpu_get_blendmode_ext()")}function _Fo(){_Ad("gpu_get_blendmode_ext_sepalpha()")}function _Go(){_Ad("gpu_get_blendmode_src()")}function _Ho(){_Ad("gpu_get_blendmode_dest()")}function _Io(){_Ad("gpu_get_blendmode_srcalpha()")}function _Jo(){_Ad("gpu_get_blendmode_destalpha()")}function _Ko(){_Ad("gpu_get_colorwriteenable()")}function _Lo(){_Ad("gpu_get_colourwriteenable()")}function _Mo(){_Ad("gpu_get_alphatestenable()")}function _No(){_Ad("gpu_get_alphatestref()")}
function _Oo(){_Ad("gpu_get_alphatestfunc()")}function _Po(){_Ad("gpu_get_texfilter()")}function _Qo(_8o){_Ad("gpu_get_texfilter_ext()")}function _Ro(){_Ad("gpu_get_texrepeat()")}function _So(_8o){_Ad("gpu_get_texrepeat_ext()")}function _To(){_Ad("gpu_get_tex_filter()")}function _Uo(_8o){_Ad("gpu_get_tex_filter_ext()")}function _Vo(){_Ad("gpu_get_tex_repeat()")}function _Wo(_8o){_Ad("gpu_get_tex_repeat_ext()")}function _Xo(){_Ad("gpu_get_tex_mip_filter()")}function _Yo(_8o){_Ad("gpu_get_tex_mip_filter_ext(sampler_id)")}
function _Zo(){_Ad("gpu_get_tex_mip_bias()")}function __o(_8o){_Ad("gpu_get_tex_mip_bias_ext(sampler_id)");}function _0p(){_Ad("gpu_get_tex_min_mip()")}function _1p(_8o){_Ad("gpu_get_tex_min_mip_ext(sampler_id)")}function _2p(){_Ad("gpu_get_tex_max_mip()")}function _3p(_8o){_Ad("gpu_get_tex_max_mip_ext(sampler_id)")}function _4p(){_Ad("gpu_get_tex_max_aniso()")}function _5p(_8o){_Ad("gpu_get_tex_max_aniso_ext(sampler_id)")}function _6p(){_Ad("gpu_get_tex_mip_enable()")}function _7p(_8o){_Ad("gpu_get_tex_mip_enable_ext(sampler_id)")}
function _8p(){_Ad("gpu_push_state()")}function _9p(){_Ad("gpu_pop_state()")}function _ap(){_Ad("gpu_get_state()")}function _bp(map){_Ad("gpu_set_state()")}var _cp=[];var _dp=50;var _ep=0;var _fp=new Array(_dp+1);function _gp(){if(!_tb){return }_Bl=_hp;_Cl=_ip;_El=_jp;_Gl=_kp;_Hl=_lp;_Jl=_mp;_Dl=_np;_Kl=_op;_Ol=_op;_Am=_pp;_Bm=_qp;_Lm=_rp;_Pm=_sp;_Qm=_tp;_Rm=_up;_Sm=_vp;_Wm=_wp;_Ym=_xp;_Zm=_yp;__m=_zp;_0n=_Ap;_4n=_Bp;_5n=_Cp;_6n=_Dp;_7n=_Ep;_8n=_Fp;_9n=_Gp;_an=_Hp;_Gn=_Ip;_Hn=_Jp;_In=_Kp;_Jn=_Lp;_Kn=_Mp;_Ln=_Np;
_Yl=_Op;_2m=_Pp;_4m=_Qp;_5m=_Rp;_7m=_Sp;_8m=_Tp;_Pl=_Up;_Ql=_Vp;_Tl=_Wp;_Vl=_Xp;_Wl=_Yp;_Xl=_Zp;_9m=__p;_am=_0q;_bm=_1q;_cm=_2q;_em=_3q;_fm=_4q;_gm=_5q;_hm=_6q;_im=_7q;_jm=_8q;_lm=_9q;_km=_9q;_mm=_aq;_om=_bq;_nm=_bq;_pm=_cq;_qm=_dq;_rm=_eq;_sm=_fq;_tm=_gq;_um=_hq;_vm=_iq;_wm=_jq;_xm=_kq;_ym=_lq;_zm=_mq;_bn=_nq;_cn=_oq;_en=_fn;_gn=_hn;_in=_jn;_kn=_ln;_mn=_nn;_on=_pn;_qn=_rn;_sn=_tn;_un=_vn;_Un=_pq;_Mn=_qq;_Nn=_rq;_On=_sq;_Qn=_tq;_Rn=_uq;_Sn=_vq;_Un=_pq;_Wn=_wq;_Yn=_xq;_0o=_yq;_1o=_zq;_2o=_Aq;_3o=_Bq;
_4o=_Cq;_5o=_Dq;_7o=_Eq;_9o=_Fq;_ao=_Gq;_bo=_Dq;_co=_Eq;_do=_Fq;_eo=_Gq;_fo=_Hq;_ho=_Hq;_io=_Hq;_ko=_Hq;_lo=_Hq;_no=_Hq;_oo=_Hq;_qo=_Hq;_ro=_Hq;_to=_Hq;_uo=_Hq;_wo=_Hq;_xo=_Iq;_yo=_Jq;_zo=_Kq;_Ao=_Lq;_Bo=_Mq;_Co=_Nq;_Do=_Oq;_Eo=_Pq;_Fo=_Qq;_Go=_Rq;_Ho=_Sq;_Io=_Tq;_Jo=_Uq;_Ko=_Vq;_Lo=_Wq;_Mo=_Xq;_No=_Yq;_Oo=_Zq;_Po=__q;_Qo=_0r;_Ro=_1r;_So=_2r;_To=__q;_Uo=_0r;_Vo=_1r;_Wo=_2r;_Xo=_Hq;_Yo=_Hq;_Zo=_Hq;__o=_Hq;_0p=_Hq;_1p=_Hq;_2p=_Hq;_3p=_Hq;_4p=_Hq;_5p=_Hq;_6p=_Hq;_7p=_Hq;_8p=_3r;_9p=_4r;_ap=_5r;_bp=_6r;
_fp[0]=new _7r()}function _hp(){_8r=true;_tb._9r(_ar);_tb._br(_cr);_tb._dr(_er)}function _ip(){_8r=false;_tb._9r(false);_tb._br(false);_tb._dr(false)}function _jp(_fr){_er=_fr>0.5;_tb._dr(_er)}function _kp(_Fk){}function _lp(_gr){_cr=(_gr>0.5);_tb._br(_cr)}function _mp(_hr){if(_8r||_j9){_yd=Math.min(16000.0,Math.max(-16000.0,_hr))}else {_yd=0.0}}function _np(_ir){_ar=(_ir>0.5);_tb._9r(_ar)}function _op(_Ll,_Ml,_Nl,alpha){_jr._Ll=(_Ll>=0.5);_jr._Ml=(_Ml>=0.5);_jr._Nl=(_Nl>=0.5);_jr.alpha=(alpha>=0.5);_tb._kr(_jr._Ll,
_jr._Ml,_jr._Nl,_jr.alpha)}function _pp(_lr){_mr=_lr}function _Up(_lr){if(_nr!=_lr){_nr=_lr;_tb._or(_pr())}}function _qp(_Cm,_Dm,_Em,_Fm,_Gm,_Hm,_Im,_Jm,_Km){var _qr=new _7r();var _fj=new _rr(_Cm,_Dm,_Em);var _sr=new _rr(_Fm,_Gm,_Hm);var _tr=new _rr(_Im,_Jm,_Km);_qr._ur(_fj,_sr,_tr);_tb._vr(_qr)}function _rp(_Cm,_Dm,_Em,_Fm,_Gm,_Hm,_Im,_Jm,_Km,angle,_Mm,_wr,_xr){var _qr=new _7r();var _fj=new _rr(_Cm,_Dm,_Em);var _sr=new _rr(_Fm,_Gm,_Hm);var _tr=new _rr(_Im,_Jm,_Km);_qr._ur(_fj,_sr,_tr);var _yr=new _7r();_yr._zr(angle,
_Mm,_wr,_xr);_yr._ua[_Ar]*=_Br;_tb._vr(_qr);_tb._Cr(_yr)}function _sp(x,y,_S3,_T3,angle){var _qr=new _7r();var _td=new _rr(x+(_S3/2.0),y+(_T3/2.0),-_S3);var _ud=new _rr(x+(_S3/2.0),y+(_T3/2.0),0.0);var _vd=new _rr(Math.sin(-angle*(Math.PI/180.0)),Math.cos(-angle*(Math.PI/180.0)),0.0);_qr._ur(_td,_ud,_vd);var _Dr=new _7r();_Dr._Er(_S3,-_T3*_Br,1.0,32000.0);_tb._vr(_qr);_tb._Cr(_Dr)}function _tp(x,y,_S3,_T3,angle){var _qr=new _7r();var _td=new _rr(x+(_S3/2.0),y+(_T3/2.0),-_S3);var _ud=new _rr(x+(_S3/2.0),y+(_T3/2.0),
0.0);var _vd=new _rr(Math.sin(-angle*(Math.PI/180.0)),Math.cos(-angle*(Math.PI/180.0)),0.0);_qr._ur(_td,_ud,_vd);var _yr=new _7r();_yr._Fr(1.0,(_T3/_S3),1.0,32000.0);_yr._ua[_Ar]*=_Br;_tb._vr(_qr);_tb._Cr(_yr)}function _Op(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_0m,_1m){var _Gr=_Hr();_Ir(true);_Nd(_ee,_Cd);{_0e(_va,_wa,_Zl,0,0,1,0,0);_0e(_va,_ya,_Zl,0,0,1,0,_1m);_0e(_xa,_ya,__l,0,0,1,_0m,_1m);_0e(_xa,_wa,__l,0,0,1,_0m,0)}_3e();_Ir(_Gr)}function _Pp(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_Jr,_Kr,_3m){var _Gr=_Hr();_Ir(true);if(_3m<3){
_3m=3}if(_3m>128){_3m=128}var _bb=[];var _ab=[];for(var _Q3=0;_Q3<=_3m;_Q3++){_bb[_Q3]=Math.cos(_Q3*2.0*Math.PI/_3m);_ab[_Q3]=Math.sin(_Q3*2.0*Math.PI/_3m)}var _5b=(_xa+_va)/2,_6b=(_ya+_wa)/2,_Lr=(__l+_Zl)/2,_Mr=(_xa-_va)/2,_Nr=(_ya-_wa)/2,_Or=(__l-_Zl)/2;var _Pr=(_3m+1)/2;for(var _Pa=0;_Pa<_Pr;_Pa++){var _Qr=Math.cos(_Pa*Math.PI/_Pr),_Rr=Math.sin(_Pa*Math.PI/_Pr),_Sr=Math.cos((_Pa+1)*Math.PI/_Pr),_Tr=Math.sin((_Pa+1)*Math.PI/_Pr);_Nd(_de,_Cd);for(var _Q3=0;_Q3<=_3m;_Q3++){_0e(_5b+_Mr*_Rr*_bb[_Q3],_6b+_Nr*_Rr*_ab[_Q3],
_Lr+_Or*_Qr,_Rr*_bb[_Q3],_Rr*_ab[_Q3],_Qr,_Jr*_Q3/_3m,_Pa*_Kr/_Pr);_0e(_5b+_Mr*_Tr*_bb[_Q3],_6b+_Nr*_Tr*_ab[_Q3],_Lr+_Or*_Sr,_Tr*_bb[_Q3],_Tr*_ab[_Q3],_Sr,_Jr*_Q3/_3m,(_Pa+1)*_Kr/_Pr)}_3e()}_Ir(_Gr)}function _Qp(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_Jr,_Kr){var _Gr=_Hr();_Ir(true);_Nd(_ce,_Cd);{_0e(_va,_wa,_Zl,0,0,-1,0,0);_0e(_va,_ya,_Zl,0,0,-1,0,_Kr);_0e(_xa,_ya,_Zl,0,0,-1,_Jr,_Kr);_0e(_xa,_ya,_Zl,0,0,-1,_Jr,_Kr);_0e(_xa,_wa,_Zl,0,0,-1,_Jr,0);_0e(_va,_wa,_Zl,0,0,-1,0,0)}{_0e(_va,_wa,__l,0,0,1,0,0);_0e(_xa,
_wa,__l,0,0,1,_Jr,0);_0e(_xa,_ya,__l,0,0,1,_Jr,_Kr);_0e(_xa,_ya,__l,0,0,1,_Jr,_Kr);_0e(_va,_ya,__l,0,0,1,0,_Kr);_0e(_va,_wa,__l,0,0,1,0,0)}{_0e(_va,_ya,_Zl,0,1,0,0,0);_0e(_va,_ya,__l,0,1,0,0,_Kr);_0e(_xa,_ya,__l,0,1,0,_Jr,_Kr);_0e(_xa,_ya,__l,0,1,0,_Jr,_Kr);_0e(_xa,_ya,_Zl,0,1,0,_Jr,0);_0e(_va,_ya,_Zl,0,1,0,0,0)}{_0e(_xa,_ya,_Zl,1,0,0,0,0);_0e(_xa,_ya,__l,1,0,0,0,_Kr);_0e(_xa,_wa,__l,1,0,0,_Jr,_Kr);_0e(_xa,_wa,__l,1,0,0,_Jr,_Kr);_0e(_xa,_wa,_Zl,1,0,0,_Jr,0);_0e(_xa,_ya,_Zl,1,0,0,0,0)}{_0e(_xa,_wa,
_Zl,0,-1,0,0,0);_0e(_xa,_wa,__l,0,-1,0,0,_Kr);_0e(_va,_wa,__l,0,-1,0,_Jr,_Kr);_0e(_va,_wa,__l,0,-1,0,_Jr,_Kr);_0e(_va,_wa,_Zl,0,-1,0,_Jr,0);_0e(_xa,_wa,_Zl,0,-1,0,0,0)}{_0e(_va,_wa,_Zl,-1,0,0,0,0);_0e(_va,_wa,__l,-1,0,0,0,_Kr);_0e(_va,_ya,__l,-1,0,0,_Jr,_Kr);_0e(_va,_ya,__l,-1,0,0,_Jr,_Kr);_0e(_va,_ya,_Zl,-1,0,0,_Jr,0);_0e(_va,_wa,_Zl,-1,0,0,0,0)}_3e();_Ir(_Gr)}function _Rp(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_Jr,_Kr,_6m,_3m){var _bb=[];var _ab=[];var _Gr=_Hr();_Ir(true);if(_3m<3){_3m=3}if(_3m>128){_3m=128}
for(var _Q3=0;_Q3<=_3m;_Q3++){_bb[_Q3]=Math.cos(_Q3*2.0*Math.PI/_3m);_ab[_Q3]=Math.sin(_Q3*2.0*Math.PI/_3m)}var _5b=(_xa+_va)/2.0;var _6b=(_ya+_wa)/2.0;var _Mr=(_xa-_va)/2.0;var _Nr=(_ya-_wa)/2.0;if(true==_6m){_Nd(_ee,_Cd);_0e(_5b,_6b,__l,0,0,1,0,_Kr);for(var _Q3=0;_Q3<=_3m;_Q3++){_0e(_5b+_bb[_Q3]*_Mr,_6b+_ab[_Q3]*_Nr,__l,0,0,1,0,_Kr)}_3e()}_Nd(_de,_Cd);for(var _Q3=0;_Q3<=_3m;_Q3++){_0e(_5b+_bb[_Q3]*_Mr,_6b+_ab[_Q3]*_Nr,__l,_bb[_Q3],_ab[_Q3],0,_Jr*_Q3/_3m,_Kr);_0e(_5b+_bb[_Q3]*_Mr,_6b+_ab[_Q3]*_Nr,_Zl,
_bb[_Q3],_ab[_Q3],0,_Jr*_Q3/_3m,0)}_3e();if(true==_6m){_Nd(_ee,_Cd);_0e(_5b,_6b,_Zl,0,0,-1,0,0);for(var _Q3=_3m;_Q3>=0;_Q3--){_0e(_5b+_bb[_Q3]*_Mr,_6b+_ab[_Q3]*_Nr,_Zl,0,0,-1,0,0)}_3e()}_Ir(_Gr)}function _Sp(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_Jr,_Kr,_6m,_3m){var _bb=[];var _ab=[];var _Gr=_Hr();_Ir(true);if(_3m<3){_3m=3}if(_3m>128){_3m=128}for(var _Q3=0;_Q3<=_3m;_Q3++){_bb[_Q3]=Math.cos(_Q3*2.0*Math.PI/_3m);_ab[_Q3]=Math.sin(_Q3*2.0*Math.PI/_3m)}var _5b=(_xa+_va)/2.0;var _6b=(_ya+_wa)/2.0;var _Mr=(_xa-_va)/2.0;
var _Nr=(_ya-_wa)/2.0;_Nd(_de,_Cd);for(var _Q3=0;_Q3<=_3m;_Q3++){_0e(_5b,_6b,__l,0,0,1,_Jr*_Q3/_3m,_Kr);_0e(_5b+_bb[_Q3]*_Mr,_6b+_ab[_Q3]*_Nr,_Zl,_bb[_Q3],_ab[_Q3],0,_Jr*_Q3/_3m,0)}_3e();if(true==_6m){_Nd(_ee,_Cd);_0e(_5b,_6b,_Zl,0,0,-1,0,0);for(var _Q3=_3m;_Q3>=0;_Q3--){_0e(_5b+_bb[_Q3]*_Mr,_6b+_ab[_Q3]*_Nr,_Zl,0,0,-1,0,0)}_3e()}_Ir(_Gr)}function _Tp(_va,_wa,_Zl,_xa,_ya,__l,_Cd,_Jr,_Kr){var _Gr=_Hr();_Ir(true);var _Ga=Math.sqrt(_Ur(_xa-_va)+_Ur(_ya-_wa));if(_Ga==0.0){return }var _Wd=(_ya-_wa)/_Ga;var _Xd=-(_xa-_va)/_Ga;
_Nd(_ee,_Cd);{_0e(_va,_wa,_Zl,_Wd,_Xd,0,0,0);_0e(_xa,_ya,_Zl,_Wd,_Xd,0,_Jr,0);_0e(_xa,_ya,__l,_Wd,_Xd,0,_Jr,_Kr);_0e(_va,_wa,__l,_Wd,_Xd,0,0,_Kr)}_3e();_Ir(_Gr)}function _Vp(_Rl,_9d,_ad,_Sl,_1c){var _Vr=new _rr(_9d,_ad,_Sl);_Vr._Wr();var _Xr=_Rl*4;_Yr[_Xr+0]=_Vr._Zr;_Yr[_Xr+1]=_Vr.__r;_Yr[_Xr+2]=_Vr._0s;_Yr[_Xr+3]=0.0;_1s[_Xr+0]=(_1c&0xff)/255.0;_1s[_Xr+1]=((_1c>>8)&0xff)/255.0;_1s[_Xr+2]=((_1c>>16)&0xff)/255.0;_1s[_Xr+3]=((_1c>>24)&0xff)/255.0;_2s[_Xr+0]=0;_2s[_Xr+1]=0;_2s[_Xr+2]=0;_2s[_Xr+3]=0;_tb._3s(_Rl,
_2s.subarray(_Rl*4,(_Rl+1)*4),_Yr.subarray(_Rl*4,(_Rl+1)*4),_1s.subarray(_Rl*4,(_Rl+1)*4))}function _Wp(_Rl,x,y,_Pd,_Ul,_1c){var _Xr=_Rl*4;_2s[_Xr+0]=x;_2s[_Xr+1]=y;_2s[_Xr+2]=_Pd;_2s[_Xr+3]=_Ul;_1s[_Xr+0]=(_1c&0xff)/255.0;_1s[_Xr+1]=((_1c>>8)&0xff)/255.0;_1s[_Xr+2]=((_1c>>16)&0xff)/255.0;_1s[_Xr+3]=((_1c>>24)&0xff)/255.0;_Yr[_Xr+0]=0;_Yr[_Xr+1]=0;_Yr[_Xr+2]=0;_Yr[_Xr+3]=0;_tb._3s(_Rl,_2s.subarray(_Rl*4,(_Rl+1)*4),_Yr.subarray(_Rl*4,(_Rl+1)*4),_1s.subarray(_Rl*4,(_Rl+1)*4))}function _Xp(_Rl,enable){
_4s[_Rl]=enable;_tb._5s(_Rl,enable,_1s.subarray(_Rl*4,(_Rl+1)*4))}function _Yp(_c5){_6s[0]=(_c5&0xff)/255.0;_6s[1]=((_c5>>8)&0xff)/255.0;_6s[2]=((_c5>>16)&0xff)/255.0;_6s[3]=((_c5>>24)&0xff)/255.0;_tb._7s(_6s);}function _Zp(enable,_c5,start,end){if(_8s==null){_8s=new Float32Array(8)}_8s[0]=enable;var _Ul=end-start;_8s[1]=(_Ul==0.0)?0.0:(1.0/_Ul);_8s[2]=end;_8s[3]=0.0;_8s[4]=(_c5&0xff)/255.0;_8s[5]=((_c5>>8)&0xff)/255.0;_8s[6]=((_c5>>16)&0xff)/255.0;_8s[7]=((_c5>>24)&0xff)/255.0;_tb._9s(_8s)}function __p(){
return(_cp.push(new _as())-1)}function _0q(_Rl){if(_cp[_Rl]){_cp[_Rl]._Qh();_cp[_Rl]=null}}function _1q(_Rl){if(_cp[_Rl]){_cp[_Rl]._Qh()}}function _2q(_Rl,_dm){if(_cp[_Rl]){_cp[_Rl]._bs(_dm);}}function _4q(_Rl,_cs){}function _3q(_Rl,_dm){if(_cp[_Rl]){_cp[_Rl]._Jb(_dm)}}function _5q(_Rl,_cs){}function _6q(_Rl,x,y,_Pd,_Cd){if(_cp[_Rl]){_cp[_Rl]._6c(x,y,_Pd,_Cd)}}function _7q(_Rl,_43){if(_cp[_Rl]){_cp[_Rl]._Ef(_43)}}function _8q(_Rl,x,y,_Pd){if(_cp[_Rl]){_cp[_Rl]._ds(x,y,_Pd)}}function _9q(_Rl,x,y,_Pd,_1c,alpha){
if(_cp[_Rl]){_cp[_Rl]._es(x,y,_Pd,_1c,alpha)}}function _aq(_Rl,x,y,_Pd,_Hd,_Id){if(_cp[_Rl]){_cp[_Rl]._fs(x,y,_Pd,_Hd,_Id)}}function _bq(_Rl,x,y,_Pd,_Hd,_Id,_1c,alpha){if(_cp[_Rl]){_cp[_Rl]._gs(x,y,_Pd,_Hd,_Id,_1c,alpha)}}function _cq(_Rl,x,y,_Pd,_Wd,_Xd,_Yd){if(_cp[_Rl]){_cp[_Rl]._hs(x,y,_Pd,_Wd,_Xd,_Yd)}}function _dq(_Rl,x,y,_Pd,_Wd,_Xd,_Yd,_1c,alpha){if(_cp[_Rl]){_cp[_Rl]._is(x,y,_Pd,_Wd,_Xd,_Yd,_1c,alpha)}}function _eq(_Rl,x,y,_Pd,_Wd,_Xd,_Yd,_Hd,_Id){if(_cp[_Rl]){_cp[_Rl]._js(x,y,_Pd,_Wd,_Xd,_Yd,
_Hd,_Id)}}function _fq(_Rl,x,y,_Pd,_Wd,_Xd,_Yd,_Hd,_Id,_1c,alpha){if(_cp[_Rl]){_cp[_Rl]._ks(x,y,_Pd,_Wd,_Xd,_Yd,_Hd,_Id,_1c,alpha)}}function _gq(_Rl){if(_cp[_Rl]){_cp[_Rl]._Gf();}}function _hq(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m){if(_cp[_Rl]){_cp[_Rl]._ls(_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m)}}function _iq(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,_6m,_3m){if(_cp[_Rl]){_cp[_Rl]._ms(_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,_6m,_3m)}}function _jq(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,_6m,_3m){if(_cp[_Rl]){_cp[_Rl]._ns(_va,_wa,
_Zl,_xa,_ya,__l,_0m,_1m,_6m,_3m)}}function _kq(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,_3m){if(_cp[_Rl]){_cp[_Rl]._os(_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,_3m)}}function _lq(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m){if(_cp[_Rl]){_cp[_Rl]._ps(_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m)}}function _mq(_Rl,_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m){if(_cp[_Rl]){_cp[_Rl]._qs(_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m)}}function _up(){_rs(_ss,new _7r())}function _vp(_Tm,_Um,_Vm){var _ua=new _7r();_ua._ts(_Tm,_Um,_Vm);_rs(_ss,_ua)}function _wp(__b,_0c,_Xm){
var _ua=new _7r();_ua._us(__b,_0c,_Xm);_rs(_ss,_ua)}function _xp(angle){var _ua=new _7r();_ua._vs(angle);_rs(_ss,_ua)}function _yp(angle){var _ua=new _7r();_ua._ws(angle);_rs(_ss,_ua)}function _zp(angle){var _ua=new _7r();_ua._xs(angle);_rs(_ss,_ua)}function _Ap(_1n,_2n,_3n,angle){var _ua=new _7r();_ua._ys(new _rr(_1n,_2n,_3n),-angle);_rs(_ss,_ua)}function _Bp(_Tm,_Um,_Vm){var _zs=new _7r();_zs._ts(_Tm,_Um,_Vm);var _As=_Bs(_ss);var _ua=new _7r();_ua.Multiply(_As,_zs);_rs(_ss,_ua)}function _Cp(__b,_0c,_Xm){var _Cs=new _7r();
_Cs._us(__b,_0c,_Xm);var _As=_Bs(_ss);var _ua=new _7r();_ua.Multiply(_As,_Cs);_rs(_ss,_ua)}function _Dp(angle){var _Ds=new _7r();_Ds._vs(angle);var _As=_Bs(_ss);var _ua=new _7r();_ua.Multiply(_As,_Ds);_rs(_ss,_ua)}function _Ep(angle){var _Ds=new _7r();_Ds._ws(angle);var _As=_Bs(_ss);var _ua=new _7r();_ua.Multiply(_As,_Ds);_rs(_ss,_ua)}function _Fp(angle){var _Ds=new _7r();_Ds._xs(angle);var _As=_Bs(_ss);var _ua=new _7r();_ua.Multiply(_As,_Ds);_rs(_ss,_ua)}function _Gp(_1n,_2n,_3n,angle){var _Ds=new _7r();_Ds._ys(new _rr(_1n,
_2n,_3n),-angle);var _As=_Bs(_ss);var _ua=new _7r();_ua.Multiply(_As,_Ds);_rs(_ss,_ua)}function _Hp(_N9,_O9,_3f){var _As=_Bs(_ss);var _Qa=(_As._ua[_Es]*_N9)+(_As._ua[_Fs]*_O9)+(_As._ua[_Gs]*_3f)+_As._ua[_Hs];var _Sa=(_As._ua[_Is]*_N9)+(_As._ua[_Ar]*_O9)+(_As._ua[_Js]*_3f)+_As._ua[_Ks];var _Ls=(_As._ua[_Ms]*_N9)+(_As._ua[_Ns]*_O9)+(_As._ua[_Os]*_3f)+_As._ua[_Ps];var _Ia=[];_Ia[0]=_Qa;_Ia[1]=_Sa;_Ia[2]=_Ls;return _Ia}function _Ip(){_Qs()}function _Jp(){return _Rs()}function _Kp(){var _As=_Bs(_ss);return _Ss(_As)}
function _Lp(){return _Ts()}function _Mp(){return _Us()}function _Np(){return _Vs()}function _nq(_qf){var _ua=[];if(_qf<0||_qf>2){_Ti('ERROR: Invalid matrix type (matrix_get)');for(var _Q3=0;_Q3<16;_Q3++){_ua[_Q3]=0;}return _ua}var _Ws=_Xs[_qf];for(var _Q3=0;_Q3<16;_Q3++){_ua[_Q3]=_Ws._ua[_Q3]}return _ua}function _oq(_qf,_dn){if(_qf<0||_qf>2){_Ti('ERROR: Invalid matrix type (matrix_get)');return }var _ua=new _7r();var _Ws=_Xs[_qf];for(var _Q3=0;_Q3<16;_Q3++){_ua._ua[_Q3]=_dn[_Q3]}_rs(_qf,_ua)}function _xn(){return [1,
0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,]}function _zn(_Cm,_Dm,_Em,_Fm,_Gm,_Hm,_Im,_Jm,_Km){var _ua=new _7r();var _Ys=new _rr(_Cm,_Dm,_Em);var _Zs=new _rr(_Fm,_Gm,_Hm);var __s=new _rr(_Im,_Jm,_Km);_ua._ur(_Ys,_Zs,__s);var _Ws=[];for(var _Q3=0;_Q3<16;_Q3++){_Ws[_Q3]=_ua._ua[_Q3]}return _Ws}function _Bn(width,height,_wr,_xr){var _ua=new _7r();_ua._Er(width,height,_wr,_xr);var _Ws=[];for(var _Q3=0;_Q3<16;_Q3++){_Ws[_Q3]=_ua._ua[_Q3]}return _Ws}function _Dn(width,height,_wr,_xr){var _ua=new _7r();_ua._Fr(width,height,_wr,_xr);var _Ws=[];
for(var _Q3=0;_Q3<16;_Q3++){_Ws[_Q3]=_ua._ua[_Q3]}return _Ws}function _Fn(_0t,width,height,_wr,_xr){var _ua=new _7r();_ua._zr(_0t,width,height,_wr,_xr);var _Ws=[];for(var _Q3=0;_Q3<16;_Q3++){_Ws[_Q3]=_ua._ua[_Q3]}return _Ws}function _fn(_N9,_O9,_3f,_1t,_2t,_3t,_4t,_5t,_6t){var _ua=new _7r();var _7t=(Math.PI/180.0);_1t=(_7t*-_1t);_2t=(_7t*-_2t);_3t=(_7t*-_3t);_ua._8t(_N9,_O9,_3f,_1t,_2t,_3t,_4t,_5t,_6t);var _Ws=[];for(var _Q3=0;_Q3<16;_Q3++){_Ws[_Q3]=_ua._ua[_Q3]}return _Ws}function _hn(_9t,_at){var _bt=new _7r();
var _ct=new _7r();var _dt=new _7r();for(var _Q3=0;_Q3<16;_Q3++){_bt._ua[_Q3]=_9t[_Q3];_ct._ua[_Q3]=_at[_Q3]}_dt.Multiply(_bt,_ct);var _Ws=[];for(var _Q3=0;_Q3<16;_Q3++){_Ws[_Q3]=_dt._ua[_Q3]}return _Ws}function _jn(_et,_N9,_O9,_3f){var _Qa=(_et._ua[_Es]*_N9)+(_et._ua[_Fs]*_O9)+(_et._ua[_Gs]*_3f)+_et._ua[_Hs];var _Sa=(_et._ua[_Is]*_N9)+(_et._ua[_Ar]*_O9)+(_et._ua[_Js]*_3f)+_et._ua[_Ks];var _Ls=(_et._ua[_Ms]*_N9)+(_et._ua[_Ns]*_O9)+(_et._ua[_Os]*_3f)+_et._ua[_Ps];var _ft=[_Qa,_Sa,_Ls];return _ft}function _ln(_dn){
if(_ep>=_dp){return }_ep++;if(arguments.length==0){_fp[_ep]=new _7r(_fp[_ep-1])}else {var _Ws=new _7r();var _Q3;for(_Q3=0;_Q3<16;_Q3++){_Ws._ua[_Q3]=_dn[_Q3]}_fp[_ep]=new _7r();_fp[_ep].Multiply(_Ws,_fp[_ep-1])}}function _nn(){_ep--;if(_ep<0){_rn()}}function _rn(){_ep=0;_fp[0]=new _7r()}function _pn(_dn){_fp[_ep]=new _7r(_dn);}function _tn(){var _gt=new Array(16);var _Q3;for(_Q3=0;_Q3<16;_Q3++){_gt[_Q3]=_fp[_ep]._ua[_Q3]}return _gt}function _vn(){if(_ep==0)return true;else return false}function _qq(_lr){_tb._ht._it(_gd._jt,
_lr>=0.5)}function _rq(_lr){_tb._ht._it(_gd._kt,_lr>=0.5)}function _sq(_lt){_tb._ht._it(_gd._mt,_lt)}function _tq(_lr){_tb._ht._it(_gd._nt,_lr>=0.5)}function _uq(_lr,_5f,_ot,_pt){if(Array.isArray(_lr)){var _qt=_lr;_tb._ht._it(_gd._rt,_qt[0]>=0.5);_tb._ht._it(_gd._st,_qt[1]);_tb._ht._it(_gd._tt,_qt[2]);_tb._ht._it(_gd._ut,_qt[3])}else {_tb._ht._it(_gd._rt,_lr>=0.5);_tb._ht._it(_gd._st,_5f);_tb._ht._it(_gd._tt,_ot);_tb._ht._it(_gd._ut,_pt)}}function _vq(_vt){_tb._ht._it(_gd._wt,_vt)}function _pq(_xt){switch(_xt){
case 1:_tb._ht._it(_gd._yt,_gd._zt);_tb._ht._it(_gd._At,_gd._Bt);_tb._ht._it(_gd._Ct,_gd._zt);_tb._ht._it(_gd._Dt,_gd._Bt);_tb._ht._it(_gd._Et,false);break;case 2:_tb._ht._it(_gd._yt,_gd._zt);_tb._ht._it(_gd._At,_gd._Ft);_tb._ht._it(_gd._Ct,_gd._zt);_tb._ht._it(_gd._Dt,_gd._Ft);_tb._ht._it(_gd._Et,false);break;case 3:_tb._ht._it(_gd._yt,_gd._Gt);_tb._ht._it(_gd._At,_gd._Ft);_tb._ht._it(_gd._Ct,_gd._Gt);_tb._ht._it(_gd._Dt,_gd._Ft);_tb._ht._it(_gd._Et,false);break;default :_tb._ht._it(_gd._yt,_gd._zt);
_tb._ht._it(_gd._At,_gd._Ht);_tb._ht._it(_gd._Ct,_gd._zt);_tb._ht._it(_gd._Dt,_gd._Ht);_tb._ht._it(_gd._Et,false);break }}function _wq(_Mi,_It){var _Jt,_Kt;if(Array.isArray(_Mi)){_Jt=_Mi[0];_Kt=_Mi[1]}else {_Jt=_Mi;_Kt=_It}_tb._ht._it(_gd._yt,_Jt);_tb._ht._it(_gd._At,_Kt);_tb._ht._it(_gd._Ct,_Jt);_tb._ht._it(_gd._Dt,_Kt);_tb._ht._it(_gd._Et,false)}function _xq(_Mi,_It,_Lt,_Mt){var _Jt,_Kt,_Nt,_Ot;if(Array.isArray(_Mi)){_Jt=_Mi[0];_Kt=_Mi[1];_Nt=_Mi[2];_Ot=_Mi[3]}else {_Jt=_Mi;_Kt=_It;_Nt=_Lt;_Ot=_Mt}_tb._ht._it(_gd._yt,
_Jt);_tb._ht._it(_gd._At,_Kt);_tb._ht._it(_gd._Ct,_Nt);_tb._ht._it(_gd._Dt,_Ot);_tb._ht._it(_gd._Et,true)}function _yq(_Pt,_Qt,_Rt,_Re){var _St;var _Tt;var _Ut;var _Vt;if(Array.isArray(_Pt)){var _qt=_Pt;_St=(_qt[0]>=0.5);_Tt=(_qt[1]>=0.5);_Ut=(_qt[2]>=0.5);_Vt=(_qt[3]>=0.5)}else {_St=(_Pt>=0.5);_Tt=(_Qt>=0.5);_Ut=(_Rt>=0.5);_Vt=(_Re>=0.5)}var _Wt={_Ll:_St,_Ml:_Tt,_Nl:_Ut,alpha:_Vt};_tb._ht._it(_gd._Xt,_Wt)}function _zq(_Pt,_Qt,_Rt,_Re){_yq(_Pt,_Qt,_Rt,_Re)}function _Aq(_lr){_tb._ht._it(_gd._Yt,_lr>=0.5)}function _Bq(_Zt){
_tb._ht._it(_gd.__t,_Zt)}function _Cq(_lt){_tb._ht._it(_gd._0u,_lt)}function _Dq(_1u){var _2u=_tb._3u;var _Q3;if(_1u){for(_Q3=0;_Q3<_2u;_Q3++){_tb._ht._4u(_Q3,_gd._5u,_gd._6u);_tb._ht._4u(_Q3,_gd._7u,_gd._6u)}}else {for(_Q3=0;_Q3<_2u;_Q3++){_tb._ht._4u(_Q3,_gd._5u,_gd._8u);_tb._ht._4u(_Q3,_gd._7u,_gd._8u)}}}function _Eq(_9u,_1u){var _8o,_6o;if(Array.isArray(_9u)){var _qt=_9u;_8o=_qt[0];_6o=_qt[1]}else {_8o=_9u;_6o=_1u}if(_6o){_tb._ht._4u(_8o,_gd._5u,_gd._6u);_tb._ht._4u(_8o,_gd._7u,_gd._6u)}else {_tb._ht._4u(_8o,
_gd._5u,_gd._8u);_tb._ht._4u(_8o,_gd._7u,_gd._8u)}}function _Fq(_au){var _2u=_tb._3u;var _Q3;if(_au){for(_Q3=0;_Q3<_2u;_Q3++){_tb._ht._4u(_Q3,_gd._bu,_gd._cu);_tb._ht._4u(_Q3,_gd._du,_gd._cu)}}else {for(_Q3=0;_Q3<_2u;_Q3++){_tb._ht._4u(_Q3,_gd._bu,_gd._eu);_tb._ht._4u(_Q3,_gd._du,_gd._eu)}}}function _Gq(_9u,_au){var _8o,repeat;if(Array.isArray(_9u)){var _qt=_9u;_8o=_qt[0];repeat=_qt[1]}else {_8o=_9u;repeat=_au}if(repeat){_tb._ht._4u(_8o,_gd._bu,_gd._cu);_tb._ht._4u(_8o,_gd._du,_gd._cu)}else {_tb._ht._4u(_8o,
_gd._bu,_gd._eu);_tb._ht._4u(_8o,_gd._du,_gd._eu)}}function _Iq(){return _tb._ht._fu(_gd._jt)?1.0:0.0}function _Jq(){return _tb._ht._fu(_gd._kt)?1.0:0.0}function _Kq(){return _tb._ht._fu(_gd._mt)}function _Lq(){return _tb._ht._fu(_gd._nt)?1.0:0.0}function _Mq(){var _qt=new Array();_qt.push(_tb._ht._fu(_gd._rt)?1.0:0.0);_qt.push(_tb._ht._fu(_gd._st));_qt.push(_tb._ht._fu(_gd._tt));_qt.push(_tb._ht._fu(_gd._ut));return _qt}function _Nq(){return _tb._ht._fu(_gd._wt)}function _Oq(){var _Jt=_tb._ht._fu(_gd._yt);var _Kt=_tb._ht._fu(_gd._At);
var _Nt=_tb._ht._fu(_gd._Ct);var _Ot=_tb._ht._fu(_gd._Dt);if((_Jt!=_Nt)||(_Kt!=_Ot)){return -1}else {switch(_Jt){case _gu:{switch(_Kt){case _hu:return 0;case _iu:return 1;case _ju:return 2;default :return -1}}case _ku:{if(_Kt==_ju){return 3}else {return -1}}default :return -1}}}function _Pq(){var _qt=new Array();_qt[0]=_tb._ht._fu(_gd._yt);_qt[1]=_tb._ht._fu(_gd._At);return _qt}function _Qq(){var _qt=new Array();_qt[0]=_tb._ht._fu(_gd._yt);_qt[1]=_tb._ht._fu(_gd._At);_qt[2]=_tb._ht._fu(_gd._Ct);_qt[3]=_tb._ht._fu(_gd._Dt);
return _qt}function _Rq(){return _tb._ht._fu(_gd._yt)}function _Sq(){return _tb._ht._fu(_gd._At)}function _Tq(){return _tb._ht._fu(_gd._Ct)}function _Uq(){return _tb._ht._fu(_gd._Dt)}function _Vq(){var _ug=_tb._ht._fu(_gd._Xt);var _Yi=new Array();_Yi.push(_ug._Ll?1.0:0.0);_Yi.push(_ug._Ml?1.0:0.0);_Yi.push(_ug._Nl?1.0:0.0);_Yi.push(_ug.alpha?1.0:0.0);return _Yi}function _Wq(){return _Vq()}function _Xq(){return _tb._ht._fu(_gd._Yt)?1.0:0.0}function _Yq(){return _tb._ht._fu(_gd.__t)}function _Zq(){return _tb._ht._fu(_gd._0u)}
function __q(){return _tb._ht._lu(0,_gd._5u)==_gd._6u?1.0:0.0}function _0r(_9u){return _tb._ht._lu(_9u,_gd._5u)==_gd._6u?1.0:0.0}function _1r(){return _tb._ht._lu(0,_gd._bu)==_gd._cu?1.0:0.0}function _2r(_9u){return _tb._ht._lu(_9u,_gd._bu)==_gd._cu?1.0:0.0}function _3r(){_tb._ht._mu();}function _4r(){_tb._ht._nu()}var _ou=undefined;var _pu=undefined;function _qu(){if(_ou==undefined)_ou=["blendenable",_gd._jt,"ztestenable",_gd._kt,"zfunc",_gd._mt,"zwriteenable",_gd._nt,"fogenable",_gd._rt,"fogcolor",_gd._st,
"fogstart",_gd._tt,"fogend",_gd._ut,"cullmode",_gd._wt,"srcblend",_gd._yt,"destblend",_gd._At,"srcblendalpha",_gd._Ct,"destblendalpha",_gd._Dt,"sepalphaenable",_gd._Et,"colorwriteenable",_gd._Xt,"alphatestenable",_gd._Yt,"alphatestref",_gd.__t,"alphatestfunc",_gd._0u]}function _ru(){if(_pu==undefined)_pu=["magfilter",_gd._5u,"minfilter",_gd._7u,"addressu",_gd._bu,"addressv",_gd._du]}function _5r(){_qu();_ru();var map=_X8();var _su=_ou.length/2;var _tu=_pu.length/2;var _Q3;for(_Q3=0;_Q3<_su;_Q3++){var _ug=_tb._ht._fu(_ou[_Q3*2+1]);
_Z8(map,_ou[_Q3*2],_ug)}var _2u=_tb._3u;for(_Q3=0;_Q3<_tu;_Q3++){var _Pa;for(_Pa=0;_Pa<_2u;_Pa++){var name=_pu[_Q3*2].slice(0)+_Pa;var _ug=_tb._ht._lu(_Pa,_pu[_Q3*2+1]);_Z8(map,name,_ug)}}return map}function _6r(_uu){_qu();_ru();var _Q3;var _su=_ou.length/2;var _tu=_pu.length/2;var _vu=_Bj(_uu);while(_vu!=undefined){var _wu=_vu;var value=_M6(_uu,_wu);var _xu=false;for(_Q3=0;_Q3<_su;_Q3++){if(_wu==_ou[_Q3*2]){_tb._ht._it(_ou[_Q3*2+1],value);_xu=true;break }}if(!_xu){for(_Q3=0;_Q3<_tu;_Q3++){var _yu=_pu[_Q3*2].length;
var _zu=_wu.substr(0,_yu);if(_zu==_pu[_Q3*2]){var _Au=_wu.substr(_yu-1,_wu.length-_yu);var _Bu=parseInt(_Au,10);_tb._ht._4u(_Bu,_pu[_Q3*2+1],value);break }}}_vu=_yj(_uu,_vu)}}function _Hq(){}var _Cu=1970;var _Du=0;var _Eu=1;var _Fu=365.25;var _Gu=30.4375;var _Hu=[31,28,31,30,31,30,31,31,30,31,30,31];var _Iu=[];var _Ju=(86400.0);var _Ku=(_Ju*30);var _Lu=!0;var _Mu=0;var _Nu=1;function _Ou(_Pu){if(_Pu<_Qu){return _Pu*_Ru}else {return(_Pu-_Qu)*_Ru}}function _Su(_Tu){return _Tu%400==0||(_Tu%100!=0&&_Tu%4==0)}function _Uu(_Tu){
var _Vu=_Hu.slice();;if(_Su(_Tu)){_Vu[1]=29}return _Vu}var _Ru=86400000.0;var _Qu=25569;function _Wu(_Xu){return((_Xu<10)?"0":"")+_Xu.toString()}var _Yu=[];var _Zu=[];var __u=[];var _0v=Date.now();var _1v=0;var _2v=1;var _3v=2;var _4v=3;var _5v=function(text){if(!text)return;if(_6v){if(!_7v)return;var _uf=_7v.document.getElementById('debug_console');if(!_uf)return;var _8v=String.fromCharCode(0x0a);text=text.replace('<b>','').replace('</b>','');var _9v=Date.now()-_0v;if(!_uf){alert(text)}else {_uf.value+=text+_8v;
var _av=_uf.textLength}_0v=Date.now()}if(_bv!=undefined){if(_bv._o5._J5)console.log(text)}};function debug(text){var index;for(index=0;index<arguments.length;++index){_5v(arguments[index])}}function _Ti(text){var index;for(index=0;index<arguments.length;++index){_5v(arguments[index])}}function _cv(_dv){if(!__u[_dv]){__u[_dv]=true;_ev(_dv)}}function _Ad(_dv){if(!_Yu[_dv]){_Yu[_dv]=true;var _fv="Error: function "+_dv+" is not supported.";debug(_fv)}}function _gv(_dv){if(!_Yu[_dv]){_Yu[_dv]=true;var _fv="Error: function "+_dv+" is not yet implemented";
debug(_fv)}}function _hv(_dv){if(!_Zu[_dv]){_Zu[_dv]=true;var _fv="Warning: function "+_dv;debug(_fv)}}function _S6(_iv){_jv(_kv,_4v,[_iv]);return _kv++}function _lv(_mv){var _a9=document.getElementById(_nv);var _ov=_a9.parentNode;var _pv=document.createElement("div");_qv="gm4html5_login_ID";_pv.setAttribute("class","gm4html5_login");_pv.setAttribute("id",_qv);_ov.insertBefore(_pv,_a9.nextSibling);_pv.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>";
_rv();_sv=true;var login=document.getElementById("gm4html5_login_button_id");var _tv=document.getElementById("gm4html5_login_username_id");var _uv=document.getElementById("gm4html5_login_password_id");_tv.value=_mv._vv[0];_uv.value=_mv._vv[1];login.onmouseup=function(){var _wv=_tv.value;var _xv=_uv.value;var _yv=_zv(_qv);if(!_yv)return;_yv._wv=_wv;_yv._xv=_xv;_yv.value=0;_yv._Av="";_yv._Bv=true;_yv._Cv=_Dv;_ov.removeChild(_pv);_sv=false;_Ev();_Fv(_mv.id)};var _Gv=document.getElementById("gm4html5_cancel_button_id");
_Gv.onmouseup=function(){_ov.removeChild(_pv);_sv=false;var _yv=_zv(_qv);if(!_yv)return;_yv._wv="";_yv._xv="";_yv.value=0;_yv._Av="";_yv._Bv=true;_yv._Cv=_Hv;_Ev();_Fv(_mv.id)};_Iv();_Jv._4j(_mv.id,null,_Kv,_qv)}function _Lv(_mv){var _a9=document.getElementById(_nv);var _ov=_a9.parentNode;var _pv=document.createElement("div");_qv="gm4html5_input_ID";_pv.setAttribute("class","gm4html5_login");_pv.setAttribute("id",_qv);_ov.insertBefore(_pv,_a9.nextSibling);_pv.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>";
_rv();_sv=true;var _Mv=document.getElementById("gm4html5_input_message_id");var _Nv=document.getElementById("gm4html5_input_text_id");_Mv.innerHTML=_mv._vv[0];_Nv.value=_mv._vv[1];var _Ov=document.getElementById("gm4html5_input_ok_button_id");_Ov.onmouseup=function(){var text=_Nv.value;var _yv=_zv(_qv);if(!_yv)return;_yv._wv="";_yv._xv="";_yv.value=parseFloat(text);_yv._Av=text;_yv._Bv=true;_yv._Cv=_Dv;_ov.removeChild(_pv);_sv=false;_Ev();_Fv(_mv.id)};var _Gv=document.getElementById("gm4html5_input_cancel_button_id");
_Gv.onmouseup=function(){_ov.removeChild(_pv);_sv=false;var _yv=_zv(_qv);if(!_yv)return;_yv._wv="";_yv._xv="";_yv.value=0;_yv._Av="";_yv._Bv=true;_yv._Cv=_Hv;_Ev();_Fv(_mv.id)};_Iv();_Jv._4j(_mv.id,null,_Kv,_qv)}function _Pv(_mv){var _a9=document.getElementById(_nv);var _ov=_a9.parentNode;var _pv=document.createElement("div");_qv="gm4html5_question_ID";_pv.setAttribute("class","gm4html5_login");_pv.setAttribute("id",_qv);_ov.insertBefore(_pv,_a9.nextSibling);_pv.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>";
_rv();_sv=true;var _Qv=document.getElementById("gm4html5_question_message_id");_Qv.innerHTML=_mv._vv[0];var _Ov=document.getElementById("gm4html5_question_yes_button_id");_Ov.onmouseup=function(){var _yv=_zv(_qv);if(!_yv)return;_yv._wv="";_yv._xv="";_yv.value=1;_yv._Av="1";_yv._Bv=true;_yv._Cv=_Dv;_ov.removeChild(_pv);_sv=false;_Ev();_Fv(_mv.id)};var _Gv=document.getElementById("gm4html5_question_no_button_id");_Gv.onmouseup=function(){_ov.removeChild(_pv);_sv=false;var _yv=_zv(_qv);if(!_yv)return;_yv._wv="";
_yv._xv="";_yv.value=0;_yv._Av="0";_yv._Bv=true;_yv._Cv=_Hv;_Ev();_Fv(_mv.id)};_Iv();_Jv._4j(_mv.id,null,_Kv,_qv)}function _Rv(_mv){var _a9=document.getElementById(_nv);var _ov=_a9.parentNode;var _pv=document.createElement("div");_qv="gm4html5_message_ID";_pv.setAttribute("class","gm4html5_login");_pv.setAttribute("id",_qv);_ov.insertBefore(_pv,_a9.nextSibling);_pv.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>";
_rv();_sv=true;var _Qv=document.getElementById("gm4html5_message_message_id");_Qv.innerHTML=_mv._vv[0];var _Ov=document.getElementById("gm4html5_message_ok_button_id");_Ov.onmouseup=function(){var _yv=_zv(_qv);if(!_yv)return;_yv._wv="";_yv._xv="";_yv.value=1;_yv._Av="1";_yv._Bv=true;_yv._Cv=1;_ov.removeChild(_pv);_sv=false;_Ev();_Fv(_mv.id)};_Iv();_Jv._4j(_mv.id,null,_Kv,_qv)}/*@constructor */function _Sv(_Pi,_qf,_Tv){this.id=_Pi;this.type=_qf;this._vv=_Tv}function _Uv(){if(_Vv.length>0){switch(_Vv[0].type){
case _1v:_lv(_Vv[0]);break;case _2v:_Lv(_Vv[0]);break;case _3v:_Pv(_Vv[0]);break;case _4v:_Rv(_Vv[0]);break }}}function _Wv(_Tv){for(var _Q3=0;_Q3<_Tv.length;++_Q3){var _Mj=_Tv[_Q3];if(typeof(_Mj)=='string'){var _Xv="";for(var _ra=0;_ra<_Mj.length;_ra++){var _Yv=_Mj[_ra];switch(_Yv){case '&':_Xv=_Xv+'&amp;';break;case '<':_Xv=_Xv+'&lt;';break;case '>':_Xv=_Xv+'&gt;';break;default :_Xv=_Xv+_Yv;break }}_Mj=_Xv;var _Zv=String.fromCharCode(13)+String.fromCharCode(10);_Mj=_Mj.split('#').join('<br>');_Mj=_Mj.split(_Zv).join('<br>');
_Tv[_Q3]=_Mj}}}function _jv(_Pi,_qf,_Tv){_Wv(_Tv);var _Al=new _Sv(_Pi,_qf,_Tv);_Vv.push(_Al);if(_Vv.length==1){_Uv()}}function _Fv(_Pi){var index=-1;for(var _Q3=0;_Q3<_Vv.length;++_Q3){if(_Vv[_Q3].id==_Pi){index=_Q3;break }}if(index>=0){_Vv.splice(index,1)}_Uv()}function _Iv(){if(_sv){var login=document.getElementById(_qv);var _S3=login.offsetWidth;var _T3=login.offsetHeight;var _Qa=(canvas.width-_S3)/2;var _Sa=(canvas.height-_T3)/2;_5i=new __v();_4i(canvas,_5i);login.style.left=~~(_Qa+_5i.left)+"px";login.style.top=~~(_Sa+_5i.top)+"px"}
}function _0w(_1w){return _1w.substr(0,_1w.indexOf("("))}function _ev(_2w){var _3w=arguments.callee.caller;var _Mj="Error: "+_2w+_Yv(13)+"--------------------------------------------------------------------"+_Yv(13);while(_3w){var name=_Yv(9)+_0w(_3w.toString());_Mj+=name+'(';for(var _Q3=0;_Q3<_3w.arguments.length;_Q3++){if(_Q3!=0){_Mj+=', '}if(typeof _3w.arguments[_Q3]=="string"){_Mj+='"'+_3w.arguments[_Q3].toString()+'"'}else if(typeof _3w.arguments[_Q3]=="number"){_Mj+=_3w.arguments[_Q3].toString()}else {
if(_3w.arguments[_Q3]==undefined){_Mj+="[undefined]"}else if(_3w.arguments[_Q3]==null){_Mj+="[null]"}else if(_3w.arguments[_Q3].__type){_Mj+=_3w.arguments[_Q3].__type}else {_Mj+="[unknown]"}}}_Mj+=')'+_Yv(13);_3w=_3w.caller}debug(_Mj)}var _4w=3;var _5w=-1;var _6w="IDLE";var _7w="PROCESSING";var _8w="AUTHORISED";var _9w="FAILED";var _aw=[];var _bw;var _cw=0;var g_fbOAuthToken="";var g_fbAppId=undefined;var _dw="";function _ew(){FB.api('/me/permissions',function(response){debug("fbQueryPermissions response:");try{
var text=JSON.stringify(response);debug(text)}catch(e){}_aw=[];var data=response["data"];if(data!=undefined){var length=data.length;for(var _Q3=0;_Q3<length;_Q3++){var _Aj=data[_Q3];var _fw=_Aj["permission"];var status=_Aj["status"];if(_fw!=undefined&&status=="granted"){_aw.push(_fw)}}}debug("current permissions: "+_aw)})}function _gw(response){try{var text=JSON.stringify(response);debug("facebook login response:");debug(text)}catch(e){}if(response.status==='connected'){_dw=response.authResponse.userID;g_fbOAuthToken=response.authResponse.accessToken;
_hw=_8w;_ew()}else if(response.status==='not_authorized'){_hw='DENIED'}else {_hw=_9w}}var _iw={appId:0,status:!0,cookie:!0,xfbml:!0,version:'v2.8'};function _jw(){_iw.appId=g_fbAppId;FB.init(_iw);FB._kw._lw();FB.getLoginStatus(_gw);FB.Canvas.setAutoGrow(100);if(_bv._o5&&_bv._o5._p5&&_bv._o5._mw){_bv._o5._mw()}}function _nw(_Al){var _ow,id='facebook-jssdk',_pw=_Al.getElementsByTagName('script')[0];if(_Al.getElementById(id)){return }_ow=_Al.createElement('script');_ow.id=id;_ow._qw=true;_ow.src="//connect.facebook.net/en_US/sdk.js";
_pw.parentNode.insertBefore(_ow,_pw)}function _rw(_sw){var _a9=document.getElementById(_nv);var _ov=_a9.parentNode;var _pv=document.createElement("div");_pv.setAttribute("id","fb-root");_ov.insertBefore(_pv,_a9.nextSibling);g_fbAppId=_sw;window.fbAsyncInit=_jw;_nw(document)}function _tw(data){_dw=data.id;_hw='AUTHORISED'}function _uw(_vw){if(typeof(FB)=='undefined'){console.log("Facebook initialisation has not completed");return }_hw=_7w;var _av=0;var _ww='';if(_vw>=0){_av=_8j(_vw);for(var _Q3=0;_Q3<_av;_Q3++){
var _Mj=_dj(_vw,_Q3);_ww+=_Mj;if(_Q3<_av-1){_ww+=','}}FB.login(_gw,{scope:_ww})}else {FB.login(_gw)}}var _xw=-1;function _yw(_zw,_Aw,_Bw,_Cw){var _Dw={};if(_Bw!=-1){var _vu=_Bj(_Bw);while(_vj(_Bw,_vu)){var _Ew=_M6(_Bw,_vu);_Dw[_vu]=_Ew;_vu=_yj(_Bw,_vu)}}_xw=_Cw;if(_Cw!=-1){_qj(_Cw)}FB.api(_zw,_Aw,_Dw,_Fw)}function _Fw(data){if(_xw!=-1){_Gw(data,_xw);try{var text=JSON.stringify(data);_Z8(_xw,"response_text",text)}catch(e){}}debug("response received from facebook_graph_request")}function _Hw(_zw,_Bw,_Cw){var _Dw={
};_Dw.method=_zw;if(_Bw!=-1){var _vu=_Bj(_Bw);while(_vj(_Bw,_vu)){var _Ew=_M6(_Bw,_vu);_Dw[_vu]=_Ew;_vu=_yj(_Bw,_vu)}}if(_Cw!=-1){_qj(_Cw)}FB.ui(_Dw,function(response){_Iw(response,_Cw)});return 1}function _Iw(data,_Jw){if(_Jw!=-1){_Gw(data,_Jw)}debug("response received from facebook_dialog:");try{var text=JSON.stringify(data);debug(text)}catch(e){}}/*@constructor */function _Kw(){this._Lw="";this._Mw=0;this._Nw=false;this._Ow=false;this._Pw=""}_Kw.prototype._Qw=function(){var _Mj;var _Q3=this._Mw;var _Rw=this._Lw;
while(_Q3<_Rw.length){var _R3=_Rw.charCodeAt(_Q3);if(_R3==0x0d||_R3==0x0a){_Q3++;_R3=_Rw.charCodeAt(_Q3);if(_R3==0x0d||_R3==0x0a){_Q3++}break }else {_Q3++}}this._Mw=_Q3};_Kw.prototype._Sw=function(){var _Mj;var _Q3=this._Mw;var _Rw=this._Lw;while(_Q3<_Rw.length){var _R3=_Rw.charCodeAt(_Q3);if(_R3==0x0d||_R3==0x0a||_R3==0x09||_R3==0x20){_Q3++}else {break }}this._Mw=_Q3};function _Tw(_Uw){var _Vw=_Ww._Si(_Uw);if(!_Vw){_Ti("Error: Illegal file handle");return }if(_Vw._Pw!=null){if(_Vw._Ow){_Xw(_Vw._Pw,_Vw._Lw)}
}_Ww._7j(_Uw)}function _Yw(_Zw){var _Vw=new _Kw();_Vw._Pw=_Zw;_Vw._Lw="";_Vw._Mw=0;_Vw.__w=true;return _Ww._4j(_Vw)}function _0x(_Uw,_1x){var _Vw=_Ww._Si(_Uw);if(!_Vw){_Ti("Error: Illegal file handle");return }if(!_Vw.__w){_Ti("Error: File "+_Vw._Pw+" has not been opened with WRITE permisions");return }_Vw._Lw+=_1x;_Vw._Ow=true;_Vw._Mw=_Vw._Lw.length}function _2x(_Zw){var _3x=_4x(_Zw,true);if(_3x==true)return true;return _4x(_Zw,false)}function _5x(_6x){var _Yi;switch(typeof(_6x)){case "object":if(_6x instanceof Array){
_Yi=new _kj(_jj,_7x(_6x))}else {_Yi=new _kj(_ij,_8x(_6x))}break;case "boolean":_Yi=_6x?1:0;break;case "number":case "string":_Yi=_6x;break;default :_Yi=_6x.toString();break }return _Yi}function _7x(_lj){var _Yi=_0j();for(var _Q3=0;_Q3<_lj.length;++_Q3){var _uc=_5x(_lj[_Q3]);_aj(_Yi,_uc)}return _Yi}function _8x(_lj){var _Yi=_X8();for(var _9x in _lj){var _gc=_lj[_9x];var _uc=_5x(_gc);_Z8(_Yi,_9x,_uc)}return _Yi}function _ax(_6x){var _Yi;switch(typeof(_6x)){case "object":switch(_6x._mj){case _jj:_Yi=_bx(_6x.Object);break;case _ij:_Yi=_cx(_6x.Object);
break;default :if(_6x.constructor===Array){return _6x}else {_Yi=_6x.toString()}break }break;case "number":case "string":_Yi=_6x;break;default :_Yi=_6x.toString();break }return _Yi}function _bx(_dx){var _Yi=[];var _6j=_3j._Si(_dx);if(_6j){for(var _Q3=0;_Q3<_6j._hj.length;++_Q3){if(_6j._hj[_Q3]!=undefined)_Yi.push(_ax(_6j._hj[_Q3]));}}return _Yi}function _cx(_uu){var _Yi={};var _nj=_oj._Si(_uu);if(_nj){for(var _Q3 in _nj){if(!_nj.hasOwnProperty(_Q3))continue;if(_nj[_Q3]!=undefined)_Yi[_Q3]=_ax(_nj[_Q3])}}return _Yi}var _ex="undefined";
function _w8(_fx){_gx._hx=_fx}function _v8(_ix){_gx._jx=_ix}function _y8(_N9,_O9,_dv){if(_dv!=undefined)_dv=_dv.toString();else _dv=_ex;var _R3=(_Pe&0xffffff)|(((_Oe*255.0)<<24)&0xff000000);_gx._kx(_dv,_N9,_O9,-1,-1,0,1,1,_R3,_R3,_R3,_R3)}var _lx=_mx;function _mx(_N9,_O9,_dv,_nx,_ox,_px,_qx,_Re){if(_dv!=undefined)_dv=_dv.toString();else _dv=_ex;if(!_tb)_hv("draw_text_color() only uses the 1st colour");var _rx=_Oe;var _sx=_tx;var _gc=((_Re*255)<<24)&0xff000000;_nx=(_nx&0xffffff)|_gc;_ox=(_ox&0xffffff)|_gc;_px=(_px&0xffffff)|_gc;
_qx=(_qx&0xffffff)|_gc;_gx._kx(_dv,_N9,_O9,-1,-1,0,1,1,_nx,_ox,_px,_qx);_Oe=_rx;_x8(_sx)}var _ux=_vx;function _vx(_N9,_O9,_dv,_wx,_Ii,_nx,_ox,_px,_qx,_Re){if(_dv!=undefined)_dv=_dv.toString();else _dv=_ex;if(!_tb)_hv("draw_text_ext_color() only uses the 1st colour");var _rx=_Oe;var _sx=_tx;var _gc=(_Re*255)<<24;_nx=(_nx&0xffffff)|_gc;_ox=(_ox&0xffffff)|_gc;_px=(_px&0xffffff)|_gc;_qx=(_qx&0xffffff)|_gc;_gx._kx(_dv,_N9,_O9,_wx,_Ii,0,1,1,_nx,_ox,_px,_qx);_Oe=_rx;_x8(_sx);}function _xx(_N9,_O9,_dv,_4t,_5t,
_R9){if(_dv!=undefined)_dv=_dv.toString();else _dv=_ex;var _R3=(_Pe&0xffffff)|(((_Oe*255.0)<<24)&0xff000000);_gx._kx(_dv,_N9,_O9,-1,-1,_R9,_4t,_5t,_R3,_R3,_R3,_R3)}var _yx=_zx;function _zx(_N9,_O9,_dv,_wx,_Ii,_4t,_5t,_R9,_nx,_ox,_px,_qx,_Re){if(!_tb)_hv("draw_text_ext_transformed_color() only uses the 1st colour");if(_dv!=undefined)_dv=_dv.toString();else _dv=_ex;var _rx=_Oe;var _sx=_tx;var _gc=((_Re*255)<<24)&0xff000000;_nx=_Se(_nx)|_gc;_ox=_Se(_ox)|_gc;_px=_Se(_px)|_gc;_qx=_Se(_qx)|_gc;_gx._kx(_dv,_N9,
_O9,_wx,_Ii,_R9,_4t,_5t,_nx,_ox,_px,_qx);_Oe=_rx;_x8(_sx)}var _Ax=_Bx;function _Bx(_N9,_O9,_dv,_4t,_5t,_R9,_nx,_ox,_px,_qx,_Re){if(!_tb)_hv("draw_text_transformed_color() only uses the 1st colour");if(_dv!=undefined)_dv=_dv.toString();else _dv=_ex;var _rx=_Oe;var _sx=_tx;var _gc=((_Re*255)<<24)&0xff000000;_nx=_Se(_nx)|_gc;_ox=_Se(_ox)|_gc;_px=_Se(_px)|_gc;_qx=_Se(_qx)|_gc;_gx._kx(_dv,_N9,_O9,-1,-1,_R9,_4t,_5t,_nx,_ox,_px,_qx);_Oe=_rx;_x8(_sx)}function _Cx(_t9,_cf,_Dx,_Ex,_Fx,_Gx,_Hx){var _Ix=new _Jx();_Ix._Kx=true;
_Ix._33="fnt_"+_t9;_Ix._Lx=_t9;_Ix._I3=_cf;_Ix.bold=_Dx;_Ix._J3=_Ex;_Ix._K3=_Fx;_Ix._L3=_Gx;_Ix._Mx=false;if(_t9.toLowerCase().lastIndexOf(".ttf")!=-1){_Ix._Nx=new Font();_Ix._Nx.onload=function(){_Ix._Mx=true};_Ix._Nx.onerror=function(err){alert(err);};_Ix._Nx.src=_Ox(null,null,_Sb+_t9);_Ix._Px=_cf+"px "+_Ix._Nx._Qx+" "}else {_Ix._Px=_cf+"px "+_t9+" ";_Ix._Mx=true}if(_Dx)_Ix._Px=_Ix._Px+"bold ";if(_Ex)_Ix._Px=_Ix._Px+"Italic ";if(_Hx){return _gx._Rx(_Ix)}else {return _Ix}};;var _Sx=0,_Tx=1,_Ux=2,_Vx=3,
_Wx=4,_Xx=5,_Yx=6,_Zx=7,__x=8,_0y=9;/*@constructor */function _1y(_Zt,_t9){this.name=_t9;this.value=_Zt}function _2y(){var _3y=_4y("hiscores_data_",true);if(_3y!=null){try{var _5y=JSON.parse(_3y);var _Q3;for(_Q3=0;_Q3<_6y;_Q3++){_7y[_Q3]=_5y[_Q3].name;_8y[_Q3]=_5y[_Q3].value}}catch(_9y){_Ti("Error: reading hiscore JSON")}}}function _ay(){var _5y={};var _Q3;for(_Q3=0;_Q3<_6y;_Q3++){_5y[_Q3]=new _1y(_8y[_Q3],_7y[_Q3])}var _3y=JSON.stringify(_5y);_Xw("hiscores_data_",_3y)}function _by(){_8y[0]=_8y[1]=_8y[2]=_8y[3]=_8y[4]=_8y[5]=_8y[6]=_8y[7]=_8y[8]=_8y[9]=0;
_7y[0]=_7y[1]=_7y[2]=_7y[3]=_7y[4]=_7y[5]=_7y[6]=_7y[7]=_7y[8]=_7y[9]=_cy}function _C7(_1x,_dy){var _ey=_1x;if(!_ey){_ey=""}for(var _Q3=0;_Q3<_6y;_Q3++){if(_dy>_8y[_Q3]){_8y.splice(_Q3,0,_dy);_7y.splice(_Q3,0,_ey);_8y.splice(10,1);_7y.splice(10,1);_ay();return }}}function _z8(_fy){if(_fy<1||_fy>_6y)return -1;return _8y[_fy-1]}function _gy(_hy,_iy,_Zt){var _jy,_ky,_ly,_my,_ny,_oy;_jy=(_hy>>16)&0xff;_ly=(_hy>>8)&0xff;_ny=(_hy&0xff);_ky=(_iy>>16)&0xff;_my=(_iy>>8)&0xff;_oy=(_iy&0xff);var _py=1.0-_Zt;var _Ia=_gj(_jy*_py+_ky*_Zt);
var _fc=_gj(_ly*_py+_my*_Zt);var _La=_gj(_ny*_py+_oy*_Zt);var _1c=((_Ia&0xff)<<16)|((_fc&0xff)<<8)|(_La&0xff);return _1c}function _qy(_hy,_iy,_Zt){return _gy(_hy,_iy,_Zt)}function _ry(_0l,_sy,_ty,_uy){var _vy=_wy._Si(_ty);if((_vy!=null)&&(_vy!=undefined)){var _xy=_vy._yy[_uy];if((_xy!=null)&&(_xy!=undefined)){_xy._zy(_0l,_0l)}}}var _Ay=!0;function _By(data){var _Cy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _Dy,_Ey,_Fy,_Gy,_Hy,_Iy,_Jy,_Ky;var _Q3=0;var _Ly=0;var _My="";var _Ny=[];if(!data){
return data}if(typeof data!=="string")return undefined;data=_Oy(data);do {_Dy=data.charCodeAt(_Q3++);_Ey=data.charCodeAt(_Q3++);_Fy=data.charCodeAt(_Q3++);_Ky=_Dy<<16|_Ey<<8|_Fy;_Gy=_Ky>>18&0x3f;_Hy=_Ky>>12&0x3f;_Iy=_Ky>>6&0x3f;_Jy=_Ky&0x3f;_Ny[_Ly++]=_Cy.charAt(_Gy)+_Cy.charAt(_Hy)+_Cy.charAt(_Iy)+_Cy.charAt(_Jy)}while(_Q3<data.length);_My=_Ny.join('');var _Ia=data.length%3;return(_Ia?_My.slice(0,_Ia-3):_My)+'==='.slice(_Ia||3)}function _Py(data){var _Cy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var _Dy,_Ey,_Fy,_Gy,_Hy,_Iy,_Jy,_Ky;var _Q3=0;var _Ly=0;var _Qy="";var _Ny=[];if(!data){return data}data+='';do {_Gy=_Cy.indexOf(data.charAt(_Q3++));_Hy=_Cy.indexOf(data.charAt(_Q3++));_Iy=_Cy.indexOf(data.charAt(_Q3++));_Jy=_Cy.indexOf(data.charAt(_Q3++));_Ky=_Gy<<18|_Hy<<12|_Iy<<6|_Jy;_Dy=_Ky>>16&0xff;_Ey=_Ky>>8&0xff;_Fy=_Ky&0xff;if(_Iy==64){_Ny[_Ly++]=String.fromCharCode(_Dy)}else if(_Jy==64){_Ny[_Ly++]=String.fromCharCode(_Dy,_Ey)}else {_Ny[_Ly++]=String.fromCharCode(_Dy,_Ey,_Fy)}}while(_Q3<data.length);
_Qy=_Ny.join('');return _Qy}function _Ry(_F6){return _Sy(_F6)}function _Ty(_Uy){return _Vy(_Uy)}var _Wy=0;var _Xy="";function _Sy(_Rw){return _Yy(_Zy(__y(_Rw)))}function _Zy(_Rw){return _0z(_1z(_2z(_Rw),_Rw.length*8))}function _Yy(_3z){var _4z=_Wy?"0123456789ABCDEF":"0123456789abcdef";var _5z="";var x;for(var _Q3=0;_Q3<_3z.length;_Q3++){x=_3z.charCodeAt(_Q3);_5z+=_4z.charAt((x>>>4)&0x0F)+_4z.charAt(x&0x0F)}return _5z}function __y(_3z){var _5z="";var _Q3=-1;var x,y;while(++_Q3<_3z.length){x=_3z.charCodeAt(_Q3);y=_Q3+1<_3z.length?_3z.charCodeAt(_Q3+1):0;
if(0xD800<=x&&x<=0xDBFF&&0xDC00<=y&&y<=0xDFFF){x=0x10000+((x&0x03FF)<<10)+(y&0x03FF);_Q3++}if(x<=0x7F)_5z+=String.fromCharCode(x);else if(x<=0x7FF)_5z+=String.fromCharCode(0xC0|((x>>>6)&0x1F),0x80|(x&0x3F));else if(x<=0xFFFF)_5z+=String.fromCharCode(0xE0|((x>>>12)&0x0F),0x80|((x>>>6)&0x3F),0x80|(x&0x3F));else if(x<=0x1FFFFF)_5z+=String.fromCharCode(0xF0|((x>>>18)&0x07),0x80|((x>>>12)&0x3F),0x80|((x>>>6)&0x3F),0x80|(x&0x3F))}return _5z}function _2z(_3z){var _5z=Array(_3z.length>>2);for(var _Q3=0;_Q3<_5z.length;
_Q3++)_5z[_Q3]=0;for(var _Q3=0;_Q3<_3z.length*8;_Q3+=8)_5z[_Q3>>5]|=(_3z.charCodeAt(_Q3/8)&0xFF)<<(_Q3%32);return _5z}function _0z(_3z){var _5z="";for(var _Q3=0;_Q3<_3z.length*32;_Q3+=8)_5z+=String.fromCharCode((_3z[_Q3>>5]>>>(_Q3%32))&0xFF);return _5z}function _1z(x,_av){x[_av>>5]|=0x80<<((_av)%32);x[(((_av+64)>>>9)<<4)+14]=_av;var _gc=1732584193;var _La=-271733879;var _R3=-1732584194;var _Al=271733878;for(var _Q3=0;_Q3<x.length;_Q3+=16){var _6z=_gc;var _7z=_La;var _8z=_R3;var _9z=_Al;_gc=_az(_gc,_La,_R3,_Al,x[_Q3+0],
7,-680876936);_Al=_az(_Al,_gc,_La,_R3,x[_Q3+1],12,-389564586);_R3=_az(_R3,_Al,_gc,_La,x[_Q3+2],17,606105819);_La=_az(_La,_R3,_Al,_gc,x[_Q3+3],22,-1044525330);_gc=_az(_gc,_La,_R3,_Al,x[_Q3+4],7,-176418897);_Al=_az(_Al,_gc,_La,_R3,x[_Q3+5],12,1200080426);_R3=_az(_R3,_Al,_gc,_La,x[_Q3+6],17,-1473231341);_La=_az(_La,_R3,_Al,_gc,x[_Q3+7],22,-45705983);_gc=_az(_gc,_La,_R3,_Al,x[_Q3+8],7,1770035416);_Al=_az(_Al,_gc,_La,_R3,x[_Q3+9],12,-1958414417);_R3=_az(_R3,_Al,_gc,_La,x[_Q3+10],17,-42063);_La=_az(_La,
_R3,_Al,_gc,x[_Q3+11],22,-1990404162);_gc=_az(_gc,_La,_R3,_Al,x[_Q3+12],7,1804603682);_Al=_az(_Al,_gc,_La,_R3,x[_Q3+13],12,-40341101);_R3=_az(_R3,_Al,_gc,_La,x[_Q3+14],17,-1502002290);_La=_az(_La,_R3,_Al,_gc,x[_Q3+15],22,1236535329);_gc=_bz(_gc,_La,_R3,_Al,x[_Q3+1],5,-165796510);_Al=_bz(_Al,_gc,_La,_R3,x[_Q3+6],9,-1069501632);_R3=_bz(_R3,_Al,_gc,_La,x[_Q3+11],14,643717713);_La=_bz(_La,_R3,_Al,_gc,x[_Q3+0],20,-373897302);_gc=_bz(_gc,_La,_R3,_Al,x[_Q3+5],5,-701558691);_Al=_bz(_Al,_gc,_La,_R3,x[_Q3+10],
9,38016083);_R3=_bz(_R3,_Al,_gc,_La,x[_Q3+15],14,-660478335);_La=_bz(_La,_R3,_Al,_gc,x[_Q3+4],20,-405537848);_gc=_bz(_gc,_La,_R3,_Al,x[_Q3+9],5,568446438);_Al=_bz(_Al,_gc,_La,_R3,x[_Q3+14],9,-1019803690);_R3=_bz(_R3,_Al,_gc,_La,x[_Q3+3],14,-187363961);_La=_bz(_La,_R3,_Al,_gc,x[_Q3+8],20,1163531501);_gc=_bz(_gc,_La,_R3,_Al,x[_Q3+13],5,-1444681467);_Al=_bz(_Al,_gc,_La,_R3,x[_Q3+2],9,-51403784);_R3=_bz(_R3,_Al,_gc,_La,x[_Q3+7],14,1735328473);_La=_bz(_La,_R3,_Al,_gc,x[_Q3+12],20,-1926607734);_gc=_cz(_gc,
_La,_R3,_Al,x[_Q3+5],4,-378558);_Al=_cz(_Al,_gc,_La,_R3,x[_Q3+8],11,-2022574463);_R3=_cz(_R3,_Al,_gc,_La,x[_Q3+11],16,1839030562);_La=_cz(_La,_R3,_Al,_gc,x[_Q3+14],23,-35309556);_gc=_cz(_gc,_La,_R3,_Al,x[_Q3+1],4,-1530992060);_Al=_cz(_Al,_gc,_La,_R3,x[_Q3+4],11,1272893353);_R3=_cz(_R3,_Al,_gc,_La,x[_Q3+7],16,-155497632);_La=_cz(_La,_R3,_Al,_gc,x[_Q3+10],23,-1094730640);_gc=_cz(_gc,_La,_R3,_Al,x[_Q3+13],4,681279174);_Al=_cz(_Al,_gc,_La,_R3,x[_Q3+0],11,-358537222);_R3=_cz(_R3,_Al,_gc,_La,x[_Q3+3],
16,-722521979);_La=_cz(_La,_R3,_Al,_gc,x[_Q3+6],23,76029189);_gc=_cz(_gc,_La,_R3,_Al,x[_Q3+9],4,-640364487);_Al=_cz(_Al,_gc,_La,_R3,x[_Q3+12],11,-421815835);_R3=_cz(_R3,_Al,_gc,_La,x[_Q3+15],16,530742520);_La=_cz(_La,_R3,_Al,_gc,x[_Q3+2],23,-995338651);_gc=_dz(_gc,_La,_R3,_Al,x[_Q3+0],6,-198630844);_Al=_dz(_Al,_gc,_La,_R3,x[_Q3+7],10,1126891415);_R3=_dz(_R3,_Al,_gc,_La,x[_Q3+14],15,-1416354905);_La=_dz(_La,_R3,_Al,_gc,x[_Q3+5],21,-57434055);_gc=_dz(_gc,_La,_R3,_Al,x[_Q3+12],6,1700485571);_Al=_dz(_Al,
_gc,_La,_R3,x[_Q3+3],10,-1894986606);_R3=_dz(_R3,_Al,_gc,_La,x[_Q3+10],15,-1051523);_La=_dz(_La,_R3,_Al,_gc,x[_Q3+1],21,-2054922799);_gc=_dz(_gc,_La,_R3,_Al,x[_Q3+8],6,1873313359);_Al=_dz(_Al,_gc,_La,_R3,x[_Q3+15],10,-30611744);_R3=_dz(_R3,_Al,_gc,_La,x[_Q3+6],15,-1560198380);_La=_dz(_La,_R3,_Al,_gc,x[_Q3+13],21,1309151649);_gc=_dz(_gc,_La,_R3,_Al,x[_Q3+4],6,-145523070);_Al=_dz(_Al,_gc,_La,_R3,x[_Q3+11],10,-1120210379);_R3=_dz(_R3,_Al,_gc,_La,x[_Q3+2],15,718787259);_La=_dz(_La,_R3,_Al,_gc,x[_Q3+9],
21,-343485551);_gc=_ez(_gc,_6z);_La=_ez(_La,_7z);_R3=_ez(_R3,_8z);_Al=_ez(_Al,_9z)}return Array(_gc,_La,_R3,_Al)}function _fz(_gz,_gc,_La,x,_Rw,_Ka){return _ez(_hz(_ez(_ez(_gc,_gz),_ez(x,_Ka)),_Rw),_La)}function _az(_gc,_La,_R3,_Al,x,_Rw,_Ka){return _fz((_La&_R3)|((~_La)&_Al),_gc,_La,x,_Rw,_Ka)}function _bz(_gc,_La,_R3,_Al,x,_Rw,_Ka){return _fz((_La&_Al)|(_R3&(~_Al)),_gc,_La,x,_Rw,_Ka)}function _cz(_gc,_La,_R3,_Al,x,_Rw,_Ka){return _fz(_La^_R3^_Al,_gc,_La,x,_Rw,_Ka)}function _dz(_gc,_La,_R3,_Al,x,_Rw,_Ka){
return _fz(_R3^(_La|(~_Al)),_gc,_La,x,_Rw,_Ka)}function _ez(x,y){var _iz=(x&0xFFFF)+(y&0xFFFF);var _jz=(x>>16)+(y>>16)+(_iz>>16);return(_jz<<16)|(_iz&0xFFFF)}function _hz(_Bu,_kz){return(_Bu<<_kz)|(_Bu>>>(32-_kz))}function _Vy(_Rw){return _Yy(_lz(__y(_Rw)))}function _lz(_Rw){return _mz(_nz(_oz(_Rw),_Rw.length*8))}function _oz(_3z){var _5z=Array(_3z.length>>2);for(var _Q3=0;_Q3<_5z.length;_Q3++)_5z[_Q3]=0;for(var _Q3=0;_Q3<_3z.length*8;_Q3+=8)_5z[_Q3>>5]|=(_3z.charCodeAt(_Q3/8)&0xFF)<<(24-_Q3%32);return _5z}function _mz(_3z){
var _5z="";for(var _Q3=0;_Q3<_3z.length*32;_Q3+=8)_5z+=String.fromCharCode((_3z[_Q3>>5]>>>(24-_Q3%32))&0xFF);return _5z}function _nz(x,_av){x[_av>>5]|=0x80<<(24-_av%32);x[((_av+64>>9)<<4)+15]=_av;var _S3=Array(80);var _gc=1732584193;var _La=-271733879;var _R3=-1732584194;var _Al=271733878;var e=-1009589776;for(var _Q3=0;_Q3<x.length;_Q3+=16){var _6z=_gc;var _7z=_La;var _8z=_R3;var _9z=_Al;var _pz=e;for(var _Pa=0;_Pa<80;_Pa++){if(_Pa<16)_S3[_Pa]=x[_Q3+_Pa];else _S3[_Pa]=_hz(_S3[_Pa-3]^_S3[_Pa-8]^_S3[_Pa-14]^_S3[_Pa-16],
1);var _Ka=_ez(_ez(_hz(_gc,5),_qz(_Pa,_La,_R3,_Al)),_ez(_ez(e,_S3[_Pa]),_rz(_Pa)));e=_Al;_Al=_R3;_R3=_hz(_La,30);_La=_gc;_gc=_Ka}_gc=_ez(_gc,_6z);_La=_ez(_La,_7z);_R3=_ez(_R3,_8z);_Al=_ez(_Al,_9z);e=_ez(e,_pz)}return Array(_gc,_La,_R3,_Al,e)}function _qz(_Ka,_La,_R3,_Al){if(_Ka<20)return(_La&_R3)|((~_La)&_Al);if(_Ka<40)return _La^_R3^_Al;if(_Ka<60)return(_La&_R3)|(_La&_Al)|(_R3&_Al);return _La^_R3^_Al}function _rz(_Ka){return(_Ka<20)?1518500249:(_Ka<40)?1859775393:(_Ka<60)?-1894007588:-899497514}function _sz(_t9,
_tz){for(var index=0;index<_tz.length;index++){var _uz=_tz[index];if(_uz._33==_t9){return index}}return -1};/*@constructor */function _vz(){this._wz=0;this._xz=0;this._yz=false;this._zz=0;this._Az=0};_vz.prototype._Bz=function(_Cz){this._zz=_Cz;this._Dz()};_vz.prototype._Dz=function(){this._wz=0;if(this._zz>0.0){this._xz=_Ez()}else {this._xz=0}this._Az=0;this._yz=false};_vz.prototype._Rh=function(){var current;if(this._zz>0.0){current=this._xz+1000000.0/this._zz}else current=_Ez();this._Az=current-this._xz;
if(!this._yz)this._wz+=this._Az;this._xz=current};_vz.prototype._l9=function(){if(this._zz>0)return this._zz;if(this._Az>0){return 1000000.0/this._Az}return 30.0};var _k9=new _vz();function _Fz(){return _ig._Hh()}function _Gz(_Jh){return _ig._Sh(_Jh)}function _Hz(_Jh){return _ig._zg(_Jh)}function _Iz(_Jh){return _ig._Hg(_Jh)}var _ku=1,_iu=2,_Jz=3,_ju=4,_gu=5,_hu=6,_Kz=7,_Lz=8,_Mz=9,_Nz=10,_Oz=11;var _Pz=0.0;function _R6(){var _Qz=_Rz;if(_Qz<0)_Qz=_u8();return _Qz}function _Q6(){var _Sz=_Tz;if(_Sz<0)_Sz=_t8();return _Sz}
function _Uz(_4t,_5t,_Vz,_Wz){_Xz=true;_Yz=0;_Zz=0;__z=1;_0A=1;_Tz=-1;_Rz=-1;if(_4t!=undefined)__z=_4t;if(_5t!=undefined)_0A=_5t;if(_Vz!=undefined)_Yz=_Vz;if(_Wz!=undefined)_Zz=_Wz;if(_1A){_2A()}}var _3A=_Uz;var _4A=96;var _5A=96;var _6A=_7A;function _7A(_5f,_Re){_Ic._8A();var _9A=[];_9A[0]=1;_9A[1]=0;_9A[2]=0;_9A[3]=1;_9A[4]=0;_9A[5]=0;_Ic._aA(_9A[0],_9A[1],_9A[2],_9A[3],_9A[4],_9A[5]);if(!_Ic.clearRect||_5f!=0||_Re!=0){_Ic.globalAlpha=_Re;_Ic.fillStyle=_Wk(_Se(_5f),_Re);_Ic.globalCompositeOperation='copy';
_Ic.fillRect(_bA,_cA,_dA,_eA)}else {_Ic.clearRect(_bA,_cA,_dA,_eA)}_Ic._fA()}function _gA(_Pt,_Qt,_Rt){return(~~_Pt)|(_Qt<<8)|(_Rt<<16)}function _hA(_iA,_jA,_kA){return _gA(_iA,_jA,_kA)}var _n6=_gA;var _lA=_hA;function _mA(_5f){return(_5f>>16)&0xff}var _nA=_mA;function _oA(_5f){return(_5f>>8)&0xff}var _pA=_oA;function _qA(_5f){return(_5f&0xff)}var _rA=_qA;function _sA(_5f){var _tA=0.0;var _uA=0.0;var _vA=0.0;var _8b=0.0;var _ab=0.0;var _wA=0.0;var _Al=0.0;var _ua=0.0;_tA=(_5f&0xff)/255.0;_uA=((_5f>>8)&0xff)/255.0;_vA=((_5f>>16)&0xff)/255.0;
_ua=_Ja(_Ja(_tA,_uA),_vA);_wA=_Ha(_Ha(_tA,_uA),_vA);_Al=_wA-_ua;if(_wA==0)_ab=0.0;else _ab=1.0*_Al/_wA;if(_ab==0)_8b=0.0;else if(_tA==_wA)_8b=60.0*(_uA-_vA)/_Al;else if(_uA==_wA)_8b=120.0+60.0*(_vA-_tA)/_Al;else _8b=240.0+60.0*(_tA-_uA)/_Al;if(_8b<0)_8b=_8b+360.0;var _uc=(Math.floor(_wA*255.0)&0xff)<<16;var _Rw=(Math.floor(_ab*255.0)&0xff)<<8;var _T3=(Math.floor(_8b*255.0/360.0))&0xff;return(_uc|_Rw|_T3)}function _xA(_5f){return _sA(_5f)&0xff}var _yA=_xA;function _zA(_5f){return(_sA(_5f)>>8)&0xff}var _AA=_zA;
function _BA(_5f){return(_sA(_5f)>>16)&0xff}var _CA=_BA;function _DA(_hy,_iy,_EA){var _jy=(_hy>>16)&0xff;var _ly=(_hy>>8)&0xff;var _ny=_hy&0xff;var _ky=(_iy>>16)&0xff;var _my=(_iy>>8)&0xff;var _oy=_iy&0xff;var _FA=1.0-_EA;var _Ia=~~(_jy*_FA+_ky*_EA);var _fc=~~(_ly*_FA+_my*_EA);var _La=~~(_ny*_FA+_oy*_EA);return((_Ia<<16)&0xff0000)|((_fc<<8)&0xff00)|(_La&0xff)}var _GA=_DA;function _HA(_IA,_JA,_Zt){var _tA=0.0;var _uA=0.0;var _vA=0.0;var _8b=0.0;var _ab=0.0;var _wA=0.0;var _3w=0.0;var _KA=0.0;var _gz=0.0;var _Ka=0.0;var _Q3=0;
var _LA;_8b=_IA*360.0/255.0;if(_8b==360.0)_8b=0.0;_ab=_JA/255.0;_wA=_Zt/255.0;if(_ab==0){_tA=_wA;_uA=_wA;_vA=_wA}else {_8b=_8b/60.0;_Q3=Math.floor(_8b);_3w=_8b-_Q3;_KA=_wA*(1.0-_ab);_gz=_wA*(1.0-(_ab*_3w));_Ka=_wA*(1.0-(_ab*(1.0-_3w)));switch(_Q3){case 0:{_tA=_wA;_uA=_Ka;_vA=_KA}break;case 1:{_tA=_gz;_uA=_wA;_vA=_KA}break;case 2:{_tA=_KA;_uA=_wA;_vA=_Ka}break;case 3:{_tA=_KA;_uA=_gz;_vA=_wA}break;case 4:{_tA=_Ka;_uA=_KA;_vA=_wA}break;default :{_tA=_wA;_uA=_KA;_vA=_gz}}}_LA=Math.floor(_tA*255.0)|(Math.floor(_uA*255.0)<<8)|(Math.floor(_vA*255.0)<<16);
return _LA}var _MA=_HA;function _NA(_Re){if(_Re<0){_Re=0}if(_Re>1){_Re=1}_Oe=_Re;_OA=_Wk(_Pe,_Oe)}function _PA(){return _Oe}function _QA(){return _tx}var _RA=_QA;function _x8(_Qe){_tx=_Qe;_Pe=_Se(_Qe);_SA=_TA(_Pe);_OA=_Wk(_Pe,_Oe)}var _s6=_x8;;;;;function _UA(__a,_0b,_ma,_na,_hy,_iy,_VA){_WA(__a,_0b,_ma,_na,10,10,_hy,_iy,_VA)}var _XA=_UA;var _WA=_YA;var _ZA=_YA;function _YA(__a,_0b,_ma,_na,__A,_0B,_hy,_iy,_VA){if(_Pz!=0.0){__a+=_Pz;_0b+=_Pz;_ma+=_Pz;_na+=_Pz}if(_na<_0b){var _1B=_0b;_0b=_na;_na=_1B}if(_ma<__a){var _1B=__a;
__a=_ma;_ma=_1B}var width=_ma-__a;var height=_na-_0b;var _2B=__A;var _3B=_0B;var _1c=_Ic.globalAlpha=_Oe;_Ic.beginPath();_Ic.moveTo(__a+_2B,_0b);_Ic.lineTo(__a+width-_2B,_0b);_Ic.quadraticCurveTo(__a+width,_0b,__a+width,_0b+_3B);_Ic.lineTo(__a+width,_0b+height-_3B);_Ic.quadraticCurveTo(__a+width,_0b+height,__a+width-_2B,_0b+height);_Ic.lineTo(__a+_2B,_0b+height);_Ic.quadraticCurveTo(__a,_0b+height,__a,_0b+height-_3B);_Ic.lineTo(__a,_0b+_3B);_Ic.quadraticCurveTo(__a,_0b,__a+_2B,_0b);_Ic.closePath();if(_VA){
_Ic.strokeStyle=_Wk(_Se(_hy),1.0);_Ic.stroke()}else {_Ic.fillStyle=_Wk(_Se(_hy),1.0);_Ic.fill()}}var _4B=_5B;function _5B(__a,_0b,_ma,_na,_VA){__a=~~__a;_0b=~~_0b;_ma=~~_ma;_na=~~_na;_Ic.globalAlpha=_Oe;if(_VA){if(_Pz!=0.0){__a+=_Pz;_0b+=_Pz;_ma+=_Pz;_na+=_Pz}_Ic.lineWidth=1;_Ic.strokeStyle=_OA;_Ic._6B(__a+0.5,_0b+0.5,(_ma-__a),(_na-_0b))}else {if(_Pz!=0.0){_ma+=_Pz;_na+=_Pz}_Ic.fillStyle=_OA;_Ic._7B(__a,_0b,_ma-__a+1,_na-_0b+1)}}var _8B=_9B;var _aB=_9B;function _9B(__a,_0b,_ma,_na,_hy,_iy,_bB,_cB,_VA){
var _1c=_Wk(_Se(_hy),1.0);_Ic.globalAlpha=_Oe;if(_VA){if(_Pz!=0.0){__a+=_Pz;_0b+=_Pz;_ma+=_Pz;_na+=_Pz}_Ic.lineWidth=1;_Ic.strokeStyle=_1c;_Ic._6B(__a+0.5,_0b+0.5,(_ma-__a),(_na-_0b))}else {if(_Pz!=0.0){_ma+=_Pz;_na+=_Pz}_Ic.fillStyle=_1c;_Ic._7B(__a+0.5,_0b+0.5,(_ma-__a),(_na-_0b))}}var _dB=_eB;function _eB(__a,_0b,_ma,_na,_hy,_iy,_fB,_VA){_Ic.globalAlpha=_Oe;_Ic.lineWidth=1;var _gB=_Wk(_Se(_hy),1.0);var _hB=_Wk(_Se(_iy),1.0);var _iB;if(_fB){_iB=_Ic.createLinearGradient(__a,_0b,__a,_na)}else {_iB=_Ic.createLinearGradient(__a,
_0b,_ma,_0b)}_iB.addColorStop(0,_gB);_iB.addColorStop(1,_hB);if(_VA){if(_Pz!=0.0){__a+=_Pz;_0b+=_Pz;_ma+=_Pz;_na+=_Pz}_Ic.strokeStyle=_iB;_Ic._6B(__a+0.5,_0b+0.5,_ma-__a,_na-_0b)}else {if(_Pz!=0.0){_ma+=_Pz;_na+=_Pz}_Ic.fillStyle=_iB;_Ic._7B(__a+0.5,_0b+0.5,_ma-__a,_na-_0b)}}var _jB=_kB;function _kB(_N9,_O9){if(_Pz!=0.0){_N9+=_Pz;_O9+=_Pz}_Ic.globalAlpha=_Oe;_Ic.fillStyle=_OA;_Ic._7B(_N9,_O9,1,1)}function _lB(__a,_0b,_ma,_na,_Ii){if(_Pz!=0.0){__a+=_Pz;_0b+=_Pz;_ma+=_Pz;_na+=_Pz}_Ic.globalAlpha=_Oe;_Ic.strokeStyle=_SA;
_Ic.lineWidth=_Ii;_Ic._mB();_Ic._nB(__a+0.5,_0b+0.5);_Ic._oB(_ma+0.5,_na+0.5);_Ic._pB();_Ic._qB();_Ic._7B(_ma,_na,1,1)}function _kc(__a,_0b,_ma,_na){_lB(__a,_0b,_ma,_na,1)}var _rB=_sB;var _tB=_uB;function _sB(_N9,_O9){return _uB(_N9,_O9)&0x00ffffff}function _uB(_N9,_O9){var _vB=canvas.width/_wB;var _xB=canvas.height/_yB;var _1c=_zB(canvas,_N9*_vB,_O9*_xB);return _1c}var _AB=_BB;function _BB(__a,_0b,_ma,_na,_CB,_DB,_VA){if(_Pz!=0.0){__a+=_Pz;_0b+=_Pz;_ma+=_Pz;_na+=_Pz;_CB+=_Pz;_DB+=_Pz}_Ic.globalAlpha=_Oe;_Ic.lineWidth=1;
if(_VA){_Ic.strokeStyle=_OA;_Ic._mB();_Ic._nB(__a,_0b);_Ic._oB(_ma,_na);_Ic._oB(_CB,_DB);_Ic._oB(__a,_0b);_Ic._qB();_Ic._pB()}else {_Ic.strokeStyle=_OA;_Ic.lineJoin="bevel";_Ic.fillStyle=_OA;_Ic._mB();_Ic._nB(__a,_0b);_Ic._oB(_ma,_na);_Ic._oB(_CB,_DB);_Ic._oB(__a,_0b);_Ic._EB();_Ic._qB();_Ic._pB();_Ic.lineJoin="miter"}}var _FB=_GB;var _HB=_GB;function _GB(__a,_0b,_ma,_na,_CB,_DB,_hy,_iy,_bB,_VA){var _gB=_TA(_Se(_hy)|0xff000000);if(_Pz!=0.0){__a+=_Pz;_0b+=_Pz;_ma+=_Pz;_na+=_Pz;_CB+=_Pz;_DB+=_Pz}_Ic.globalAlpha=_Oe;
_Ic.lineWidth=1;if(_VA){_Ic.strokeStyle=_gB;_Ic._mB();_Ic._nB(__a,_0b);_Ic._oB(_ma,_na);_Ic._oB(_CB,_DB);_Ic._oB(__a,_0b);_Ic._qB();_Ic._pB()}else {_Ic.strokeStyle=_gB;_Ic.lineJoin="bevel";_Ic.fillStyle=_gB;_Ic._mB();_Ic._nB(__a,_0b);_Ic._oB(_ma,_na);_Ic._oB(_CB,_DB);_Ic._oB(__a,_0b);_Ic._EB();_Ic._qB();_Ic._pB();_Ic.lineJoin="miter"}}var _IB=_JB;function _JB(__a,_0b,_ma,_na,_EA,_KB,_LB,_MB,_NB,_OB,_PB,_QB){var _RB;var _SB;var _TB;var _UB;var _1c;if(_PB){_8B(__a,_0b,_ma,_na,_KB,_KB,_KB,_KB,false);if(_QB){
_8B(__a,_0b,_ma,_na,_VB,_VB,_VB,_VB,true)}}if(_EA<0){_EA=0}if(_EA>100){_EA=100}var _WB=_EA/100;switch(_OB){case 0:_RB=__a;_TB=_0b;_SB=__a+_WB*(_ma-__a);_UB=_na;break;case 1:_RB=_ma-_WB*(_ma-__a);_TB=_0b;_SB=_ma;_UB=_na;break;case 2:_RB=__a;_TB=_0b;_SB=_ma;_UB=_0b+_WB*(_na-_0b);break;case 3:_RB=__a;_TB=_na-_WB*(_na-_0b);_SB=_ma;_UB=_na;break;default :_RB=__a;_TB=_0b;_SB=__a+_WB*(_ma-__a);_UB=_na;break }if(_EA>50){_1c=_gy(_MB,_NB,(_EA-50.0)/50.0)}else {_1c=_gy(_LB,_MB,_EA/50.0)}_8B(_RB,_TB,_SB,_UB,_1c,_1c,
_1c,_1c,false);if(_QB){_8B(_RB,_TB,_SB,_UB,_VB,_VB,_VB,_VB,true)}}var _XB=_YB;function _YB(_va,_wa,_xa,_ya,_I3){var _ZB=Math.sqrt(((_xa-_va)*(_xa-_va))+((_ya-_wa)*(_ya-_wa)));if(_ZB!=0){if(_I3>_ZB){_I3=_ZB}var _Qa=_I3*(_xa-_va)/_ZB;var _Sa=_I3*(_ya-_wa)/_ZB;_kc(_va,_wa,_xa,_ya);_AB(_xa-_Qa-_Sa/3.0,_ya-_Sa+_Qa/3.0,_xa,_ya,_xa-_Qa+_Sa/3.0,_ya-_Sa-_Qa/3.0,false)}}function __B(__a,_0b,_ma,_na,_VA){_0C(__a,_0b,_ma,_na,_tx,_tx,_VA)}var _0C=_1C;var _2C=_1C;function _1C(x,y,_va,_wa,_hy,_iy,_3C){if(_Pz!=0.0){x+=_Pz;
y+=_Pz;_va+=_Pz;_wa+=_Pz}var _S3=_va-x;var _T3=_wa-y;var _4C=0.5522848;var _5C=(_S3/2)*_4C;var _6C=(_T3/2)*_4C;var _7C=x+_S3;var _8C=y+_T3;var _9C=x+_S3/2;var _aC=y+_T3/2;_Ic.beginPath();_Ic.moveTo(x,_aC);_Ic.bezierCurveTo(x,_aC-_6C,_9C-_5C,y,_9C,y);_Ic.bezierCurveTo(_9C+_5C,y,_7C,_aC-_6C,_7C,_aC);_Ic.bezierCurveTo(_7C,_aC+_6C,_9C+_5C,_8C,_9C,_8C);_Ic.bezierCurveTo(_9C-_5C,_8C,x,_aC+_6C,x,_aC);_Ic.closePath();var _gB=_Wk(_Se(_hy),1.0);var _hB=_Wk(_Se(_iy),1.0);if(_S3<=0)_S3*=-1;if(_T3<=0)_T3*=-1;var _iB=_Ic.createRadialGradient(_9C,
_aC,0,_9C,_aC,min(_S3/2,_T3/2));_iB.addColorStop(0,_gB);_iB.addColorStop(1,_hB);_Ic.globalAlpha=_Oe;if(_3C){_Ic.lineWidth=1;_Ic.strokeStyle=_iB;_Ic.stroke()}else {_Ic.fillStyle=_iB;_Ic.fill()}}var _bC=_cC;var _dC=_cC;function _cC(_N9,_O9,_iA,_hy,_iy,_VA){if(_Pz!=0.0){_N9+=_Pz;_O9+=_Pz}_Ic.globalAlpha=_Oe;var _gB=_Wk(_Se(_hy),1.0);var _hB=_Wk(_Se(_iy),1.0);var _iB=_Ic.createRadialGradient(_N9,_O9,0,_N9,_O9,_iA);_iB.addColorStop(0,_gB);_iB.addColorStop(1,_hB);_Ic._mB();if(_VA){_Ic.lineWidth=1;_Ic.strokeStyle=_iB;
_Ic._eC(_N9,_O9,_iA,0,Math.PI*2,true);_Ic._qB()}else {_Ic.fillStyle=_iB;_Ic._eC(_N9,_O9,_iA,0,Math.PI*2,false);_Ic._EB()}_Ic._pB()}var _fC=_gC;var _hC=_gC;function _gC(_N9,_O9,_5f){if(_Pz!=0.0){_N9+=_Pz;_O9+=_Pz}var _gB=_Wk(_Se(_5f),1.0);_Ic.globalAlpha=_Oe;_Ic.fillStyle=_gB;_Ic._7B(_N9,_O9,1,1)}var _iC=_jC;var _kC=_jC;function _jC(__a,_0b,_ma,_na,_Ii,_hy,_iy){if(_Pz!=0.0){__a+=_Pz;_0b+=_Pz;_ma+=_Pz;_na+=_Pz}_Ic.globalAlpha=_Oe;var _gB=_Wk(_Se(_hy),1.0);var _hB=_Wk(_Se(_iy),1.0);var _iB=_Ic.createLinearGradient(__a,
_0b,_ma,_na);_iB.addColorStop(0,_gB);_iB.addColorStop(1,_hB);_Ic.strokeStyle=_iB;_Ic._mB();_Ic._nB(__a+0.5,_0b+0.5);_Ic._oB(_ma+0.5,_na+0.5);_Ic.lineWidth=_Ii;_Ic._qB();_Ic._pB()}function _lC(__a,_0b,_ma,_na,_hy,_iy){_iC(__a,_0b,_ma,_na,1,_hy,_iy)}var _mC=_lC;function _nC(x,y,_va,_wa,_gB,_hB,_3C){_0C(x,y,_va,_wa,_gB,_hB,_3C)}function _oC(_pC){switch(_pC){case 1:_qC(_gu,_iu);break;case 2:_qC(_gu,_ju);break;case 3:_qC(_ku,_ju);break;default :_qC(_gu,_hu);break }}var _qC=_rC;function _rC(src,_Xn){_Ad("Blend modes only available in WebGL mode.")}
;;;;;;;;;;function _sC(_tC,_uC,_75,_85,angle){if(Math.abs(angle)<0.001){_vC.left=_tC;_vC.top=_uC;_vC.right=_tC+_75;_vC.bottom=_uC+_85}else {var _wC=angle*(Math.PI/180.0);var _Rw=Math.abs(sin(_wC));var _R3=Math.abs(cos(_wC));var _9y=(_R3*_75)+(_Rw*_85);var _xC=(_Rw*_75)+(_R3*_85);_vC.left=(_tC+(_75-_9y)/2);_vC.right=(_tC+(_75+_9y)/2);_vC.top=(_uC+(_85-_xC)/2);_vC.bottom=(_uC+(_85+_xC)/2)}};/*@constructor */function _yC(){this._zC=0;this._AC=null;this._BC=new _1j()};/*@constructor */function _CC(){this._DC=0;
this._EC=new _7r();this._FC=new _7r();this._GC=new _7r();this._HC=new _7r();this._IC=new _7r();this._JC=new _7r();this._KC=0;this._LC=0;this._MC=0;this._NC=0;this._OC=0;this._PC=0;this._QC=0;this._RC=0;this._SC=0;this._TC=-1;this._UC=-1;this._VC=-1;this._WC=-1;this._XC=true};_CC.prototype._YC=function(){if(this._EC._ua[11]==0)return true;return false};_CC.prototype._ZC=function(){if(this._YC()){if((this._EC._ua[4]==0.0)&&(this._EC._ua[8]==0.0)&&(this._EC._ua[1]==0.0)&&(this._EC._ua[9]==0.0)&&(this._EC._ua[2]==0.0)&&(this._EC._ua[6]==0.0)){
if((this._FC._ua[2]==0.0)&&(this._FC._ua[6]==0.0)){this._XC=true;return }}}this._XC=false};_CC.prototype.__C=function(_0D){this._FC=_0D;this._IC._1D(_0D);this._GC.Multiply(this._FC,this._EC);this._JC._1D(this._GC);this._ZC()};_CC.prototype._2D=function(_0D){this._EC=_0D;this._HC._1D(_0D);this._GC.Multiply(this._FC,this._EC);this._JC._1D(this._GC);this._ZC()};_yC.prototype._3D=function(){var _4D=new _CC();_4D._DC=this._zC;this._zC++;this._BC._4j(_4D);return _4D._DC};_yC.prototype._5D=function(_6D){for(var _Q3=0;
_Q3<this._BC.length;_Q3++){if(this._BC._Si(_Q3)!=null)if(this._BC._Si(_Q3)._DC==_6D)return this._BC._Si(_Q3)}return null};_yC.prototype._7D=function(_8D){if(_8D==null)return null;var _9D=this._3D();var _aD=this._5D(_9D);if(_aD!=null){_aD._bD(_8D._cD);_aD._dD(_8D._eD);_aD._fD(_8D._gD);_aD._hD(_8D._iD);_aD._jD(_8D._kD);_aD._lD(_8D._mD);_aD._nD(_8D._oD);_aD._pD(_8D._qD);_aD._rD(0.0);_aD._sD(_8D._tD);_aD._uD(_aD._vD()+_aD._wD()*0.5,_aD._xD()+_aD._yD()*0.5)}return _aD};_yC.prototype._zD=function(){};_yC.prototype._AD=function(){
};_yC.prototype._BD=function(){this._CD=0;this._AC=null;this._DD=0;this._ED=0};_yC.prototype._FD=function(){return this._AC};_yC.prototype._GD=function(_Cz){if(typeof(_Cz)==_CC){this._AC=_Cz}else {this._AC=this._5D(_Cz)}};_CC.prototype._sD=function(_Cz){this._TC=_Cz};_CC.prototype._HD=function(){return this._JC};_CC.prototype._bD=function(_Cz){this._KC=_Cz};_CC.prototype._vD=function(){return this._KC};_CC.prototype._dD=function(_Cz){this._LC=_Cz};_CC.prototype._xD=function(){return this._LC};_CC.prototype._ID=function(){
return this._DC};_CC.prototype._fD=function(_Cz){this._MC=_Cz};_CC.prototype._wD=function(){return this._MC};_CC.prototype._hD=function(_Cz){this._NC=_Cz};_CC.prototype._yD=function(){return this._NC};_CC.prototype._jD=function(_Cz){this._OC=_Cz};_CC.prototype._lD=function(_Cz){this._PC=_Cz};_CC.prototype._nD=function(_Cz){this._QC=_Cz};_CC.prototype._pD=function(_Cz){this._RC=_Cz};_CC.prototype._rD=function(_Cz){this._SC=_Cz};_CC.prototype._Ef=function(){if(this._UC!=-1){_03._z3[this._UC](_JD,_JD)}
};_CC.prototype._Gf=function(){if(this._VC!=-1){_03._z3[this._VC](_JD,_JD)}};_CC.prototype._KD=function(){var _LD=new _rr();_LD._Zr=this._IC._ua[_Hs];_LD.__r=this._IC._ua[_Ks];_LD._0s=this._IC._ua[_Ps];return _LD};_CC.prototype._MD=function(){if(this._YC()){var _ND=this._KD();var _OD,_PD,_QD,_RD;_OD=this._JC._SD(new _rr(-1.0,0.0,0.0));_PD=this._JC._SD(new _rr(1.0,0.0,0.0));_QD=this._JC._SD(new _rr(0.0,1.0,0.0));_RD=this._JC._SD(new _rr(0.0,-1.0,0.0));var _TD=_PD._UD(_OD);var _VD=_QD._UD(_RD);_WD=_TD.Length();
_XD=_VD.Length();_YD=_ND._Zr-(_WD*0.5);_ZD=_ND.__r-(_XD*0.5);var __D=_VD;__D._Wr();var angle=Math.acos(__D.__r);if(__D._Zr<0.0){angle=(2.0*Math.PI)-angle}var _0E=(angle/(2.0*Math.PI))*360.0;_sC(_YD,_ZD,_WD,_XD,_0E)}else {_YD=0;_ZD=0;_WD=_h9!=null?_h9._1E():1;_XD=_h9!=null?_h9._2E():1;_sC(_YD,_ZD,_WD,_XD,0)}if(_tb!=null){_rs(_3E,this._FC)}else {_rs(_3E,this._FC);var _4E=_dA/_WD;var _5E=_eA/_XD;_6E[0]=this._FC._ua[_Es]*_4E;_6E[1]=this._FC._ua[_Fs]*_4E;_6E[2]=(this._FC._ua[_Hs]+(_WD*0.5))*_4E+_bA;_6E[3]=this._FC._ua[_Is]*_5E;
_6E[4]=this._FC._ua[_Ar]*_5E;_6E[5]=(this._FC._ua[_Ks]+(_XD*0.5))*_5E+_cA;_Ic._aA(_6E[0],_6E[3],_6E[1],_6E[4],_6E[2],_6E[5])}if(_Br==-1){_rs(_7E,this._EC)}else {var _8E=new _7r();_8E._ua[_Ar]=-1;var _yr=new _7r();_yr.Multiply(this._EC,_8E);_rs(_7E,_yr)}};_CC.prototype._Rh=function(){if(this._WC!=-1){_03._z3[this._WC](_JD,_JD)}else {if((this._TC>=0)&&(this._XC)){var _9E=null;if(this._TC<10000){var _aE=_29._Si(this._TC);var _hj=_aE._bE();for(var _cE=0;_cE<_hj.length;_cE++){var _dE=_hj[_cE];if(_dE._86)continue;
if(!_dE._96)continue;_9E=_dE;break }}else {_9E=_eE._Si(this._TC);if(_9E!=null){if(_9E._86||(!_9E._96))_9E=null}}if(_9E!=null){var _fE=this._MC*0.5;var _gE=this._NC*0.5;var _Ga,_Ka;var _hE,_iE;_Ga=this._KC;_Ka=this._LC;if(_9E._jE)_9E._kE();_hE=Math.floor(_9E.x);_iE=Math.floor(_9E.y);if(2*this._QC>=this._MC){_Ga=_hE-_fE}else if(_hE-this._QC<this._KC){_Ga=_hE-this._QC}else if(_hE+this._QC>(this._KC+this._MC)){_Ga=_hE+this._QC-this._MC}if(2*this._RC>=this._NC){_Ka=_iE-_gE}else if(_iE-this._RC<this._LC){_Ka=_iE-this._RC}
else if(_iE+this._RC>(this._LC+this._NC)){_Ka=_iE+this._RC-this._NC}if(_Ga<0)_Ga=0;if(_Ga+this._MC>_h9._1E())_Ga=_h9._1E()-this._MC;if(_Ka<0)_Ka=0;if(_Ka+this._NC>_h9._2E())_Ka=_h9._2E()-this._NC;if(this._OC>=0){if((_Ga<this._KC)&&(this._KC-_Ga>this._OC))_Ga=this._KC-this._OC;if((_Ga>this._KC)&&(_Ga-this._KC>this._OC))_Ga=this._KC+this._OC}if(this._PC>=0){if((_Ka<this._LC)&&(this._LC-_Ka>this._PC))_Ka=this._LC-this._PC;if((_Ka>this._LC)&&(_Ka-this._LC>this._PC))_Ka=this._LC+this._PC}this._KC=_Ga;
this._LC=_Ka;this._uD(_Ga+_fE,_Ka+_gE)}}}};_CC.prototype._uD=function(_Cz,_lE){var _Hc=new _rr();var _vc=new _rr();var _zc=new _rr();_Hc._Zr=_Cz;_Hc.__r=_lE;_Hc._0s=-16000.0;_vc._Zr=_Cz;_vc.__r=_lE;_vc._0s=0.0;_zc._Zr=Math.sin(-this._SC*(Math.PI/180.0));_zc.__r=Math.cos(-this._SC*(Math.PI/180.0));_zc._0s=0.0;var _mE=new _7r();_mE._ur(_Hc,_vc,_zc);var _nE=new _7r();_nE._Er(this._MC,this._NC,1,32000.0);this.__C(_mE);this._2D(_nE);};_CC.prototype._oE=function(_Cz,_lE){var _Hc=new _rr();var _vc=new _rr();var _zc=new _rr();
_Hc._Zr=_Cz;_Hc.__r=_lE;_Hc._0s=-(this._MC);_vc._Zr=_Cz;_vc.__r=_lE;_vc._0s=0.0;_zc._Zr=Math.sin(-this._SC*(Math.PI/180.0));_zc.__r=Math.cos(-this._SC*(Math.PI/180.0));_zc._0s=0.0;var _mE=new _7r();_mE._ur(_Hc,_vc,_zc);var _nE=new _7r();_nE._Fr(1.0,-(this._NC)/(this._MC),1,32000.0);this.__C(_mE);this._2D(_nE)};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;function _pE(){_qE=true};function _rE(){if(_qE){var _sE=new _7r();_sE._1D(_Xs[_ss]);var _mc=[];var _nc=[];_mc[0]=_vC.left;_mc[1]=_vC.right;_mc[2]=_vC.right;_mc[3]=_vC.left;
_nc[0]=_vC.top;_nc[1]=_vC.top;_nc[2]=_vC.bottom;_nc[3]=_vC.bottom;_tE.left=Number._uE;_tE.top=Number._uE;_tE.right=Number._vE;_tE.bottom=Number._vE;for(var _Q3=0;_Q3<4;_Q3++){var _wE=((_mc[_Q3]*_sE._ua[0])+(_nc[_Q3]*_sE._ua[4])+_sE._ua[12]);var _xE=((_mc[_Q3]*_sE._ua[1])+(_nc[_Q3]*_sE._ua[5])+_sE._ua[13]);_tE.left=_Ja(_tE.left,_wE);_tE.top=_Ja(_tE.top,_xE);_tE.right=_Ha(_tE.right,_wE);_tE.bottom=_Ha(_tE.bottom,_xE)}_qE=false}};;;;;;;;;;;;;;;;;;;function _yE(_zE,_AE){if((_zE.status<200)||(_zE.status>=300)){
_AE._Cv=_BE;_AE._CE=""}else {_AE._Cv=_DE;try{_AE._CE=_zE.responseText}catch(e){_AE._CE=""}}}function _EE(_zE,_FE){if(_zE.readyState!=4)return;var _Vw=_zv(_zE);if(_Vw){_Vw._GE=_zE.status;_Vw._Bv=true;_Vw._HE=_X8();var _IE=_zE.getAllResponseHeaders().split("\r\n");for(var _ra in _IE){if(!_IE.hasOwnProperty(_ra))continue;var _JE=_IE[_ra].split(": ");if(_JE.length==2){_Z8(_Vw._HE,_JE[0],_JE[1])}}if(_FE){_FE(_zE,_Vw)}}}function _KE(_LE){var _ME={};_Jv._4j(_NE,_LE,_OE,_ME);setTimeout(function(){var _Vw=_zv(_ME);
if(_Vw){_Vw._GE=404;_Vw._Bv=true;_Vw._Cv=_BE;_Vw._CE=""}},500);return _NE++}function _PE(_qf,_LE,_QE,_RE,_FE,_SE){try{var _TE=_UE(_LE,_QE);_Jv._4j(_NE,_LE,_OE,_TE._VE);if(_SE!==undefined){_TE._VE.responseType=_SE}if(_TE._WE){_XE(_qf,_LE,_QE,_RE,_TE._VE,_TE._YE,_FE)}else {_ZE(_qf,_LE,_QE,_RE,_TE._VE,_FE)}}catch(e){return _KE(_LE)}return _NE++}function _UE(_LE,_QE){var _TE={_VE:null,_YE:true,_WE:false};if((_LE.substring(0,7)!="http://")&&(_LE.substring(0,8)!="https://")){_TE._YE=false}else {var __E="";if(_LE.substring(0,
7)=="http://"){__E=_LE.substring(7)}if(_LE.substring(0,8)=="https://"){__E=_LE.substring(8)}if(__E.substring(0,document.domain.length)==document.domain){_TE._YE=false;}}if((_TE._YE)&&(window.XDomainRequest)){_TE._VE=new XDomainRequest();_TE._YE=true;_TE._WE=true}else {if(window.XMLHttpRequest){_TE._VE=new XMLHttpRequest();_TE._YE=false;_TE._WE=(_0F==_1F)&&(_2F._3F<=9.0)}else if(window.ActiveXObject){if(new ActiveXObject("Microsoft.XMLHTTP")){_TE._VE=new ActiveXObject("Microsoft.XMLHTTP")}else {_TE._VE=new ActiveXObject("Msxml2.XMLHTTP")}
}}return _TE}function _ZE(_qf,_LE,_QE,_RE,_zE,_FE){try{_zE.open(_qf,_LE,true);if(_QE!==null){for(var _JE in _QE){if(!_QE.hasOwnProperty(_JE))continue;try{_zE.setRequestHeader(_QE[_JE]._wu,_QE[_JE].value)}catch(e){debug("Unable to set request header "+_QE[_JE]._wu+":"+_QE[_JE].value+" "+e.message)}}}else if(_qf=="POST"){_zE.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}_zE.onreadystatechange=function(){_EE(_zE,_FE)};_zE.send(_RE)}catch(e){debug(e.message)}}function _XE(_qf,_LE,_QE,
_RE,_zE,_4F,_FE){_zE.open(_qf,_LE);_zE.ontimeout=function(_5F){_6F(_5F,_zE)};_zE.onerror=function(_5F){_6F(_5F,_zE)};if(_4F){_zE.onload=function(_5F){_7F(_5F,_zE,200)}}else {_zE.onload=function(_5F){};_zE.onreadystatechange=function(){if(_zE.readyState==4){_7F(null,_zE,_zE.status)}}}if(_QE!==null){for(var _JE in _QE){if(!_QE.hasOwnProperty(_JE))continue;try{_zE.setRequestHeader(_QE[_JE]._wu,_QE[_JE].value)}catch(e){debug("Unable to set request header "+_QE[_JE]._wu+":"+_QE[_JE].value+" "+e.message)}
}}_zE._8F=function(){};_zE.send(_RE)}function _7F(_5F,_zE,_9F){var _Vw=_zv(_zE);if(_Vw){_Vw._Bv=true;if((_9F>=200)&&(_9F<300)){_Vw._Cv=_DE;_Vw._GE=_9F;}else {_Vw._Cv=_BE;_Vw._GE=404}_Vw._CE=_zE.responseText;_Vw._HE=-1}}function _6F(_5F,_zE){var _Vw=_zv(_zE);if(_Vw){_Vw._Bv=true;_Vw._Cv=_BE;_Vw._CE="";_Vw._GE=404;_Vw._HE=-1}}function _aF(_LE){return _PE("GET",_LE,null,"",_yE)};var _bF=-1,_cF=0,_dF=1,_eF=2,_fF=3,_gF=4;var _hF=-3,_iF=-2,_jF=-1,_kF=0,_lF=1,_mF=2;var _nF=-2,_oF=-1,_pF=0,_qF=1,_rF=2,_sF=3;var _tF=0,
_uF=1,_vF=2,_wF=3,_xF=4;var _yF=-1,_zF=0;var _AF=[];var _BF=[];var _CF=[];var _DF=[];var _EF=_nF;function _FF(){_GF({type:_tF,status:_yF})};function _HF(){_GF({type:_xF,_Av:0})};function _IF(){return -1}function _JF(){return 0}function _KF(){return 0}/*@constructor */;/*@constructor */function _LF(_uu){this._MF="";this.title="";this.description="";this._NF="";this.type="";this._OF=_iF;this._PF=false;if((_uu!=null)&&(_uu!=undefined)){var id=_M6(_uu,"id");var title=_M6(_uu,"title");var description=_M6(_uu,"description");
var _NF=_M6(_uu,"price");var type=_M6(_uu,"type");if(id){this._MF=id}if(title){this.title=title}if(description){this.description=description}if(_NF){this._NF=_NF}if(type){this.type=type}}};/*@constructor */function _QF(){this._RF="";this._MF="";this._SF="";this._TF="";this._UF="";this._VF=0;this._WF=0;this._OF=_iF};function _XF(_YF){switch(_YF.type){case _cF:{_EF=_pF;_FF(_AF)}break;case _dF:{_EF=_sF;_HF()}break;case _eF:{_EF=_rF;_IF(_YF.product,_YF._ZF)}break;case _fF:{_EF=_rF;_JF(_YF.product)}break;case _gF:{
_EF=_rF;_KF(_YF.product)}break;default :{_EF=_qF}break }}function _GF(_5F){_CF.push(_5F)}function __F(_5F){_5F.map=_X8();_Z8(_5F.map,"type",_tF);_Z8(_5F.map,"status",_5F.status)}function _0G(_5F){_5F.map=_X8();_Z8(_5F.map,"type",_xF);_Z8(_5F.map,"result",_5F._Av)}function _1G(_5F){var product=null;var _2G=-1;var _3G=JSON.parse(_5F._4G);_2G=_5G(_3G["productId"]);if(_2G<0){product=new _LF();product._MF=_3G["productId"];_AF.push(product);_2G=_AF.length-1}else {product=_AF[_2G]}product._PF=true;product._OF=_jF;
if(_3G["title"]){product.title=_3G["title"]}if(_3G["price"]){product._NF=_3G["price"]}if(_3G["description"]){product.description=_3G["description"]}_5F.map=_X8();_Z8(_5F.map,"type",_uF);_Z8(_5F.map,"product",product._MF);_Z8(_5F.map,"index",_2G)}function _6G(_5F){var _3G=JSON.parse(_5F._4G);var _ZF=-1;if((_3G["purchaseIndex"]!=null)&&(_3G["purchaseIndex"]!=undefined)){_ZF=_3G["purchaseIndex"]}var _7G=null;if(_ZF!=-1){_7G=_BF[_ZF]}else {_7G=new _QF();_BF.push(_7G);_ZF=_BF.length-1}if(_3G["orderId"]){_7G._RF=_3G["orderId"]}
if(_3G["productId"]){_7G._MF=_3G["productId"]}if(_3G["purchaseTime"]){_7G._WF=_3G["purchaseTime"]}if((_3G["purchaseState"]!=null)&&(_3G["purchaseState"]!=undefined)){_7G._OF=_3G["purchaseState"]}if(_3G["purchaseToken"]){_7G._TF=_3G["purchaseToken"]}if(_3G["response"]){_7G._VF=_3G["response"]}if(_3G["receipt"]){_7G._SF=_3G["receipt"]}_5F.map=_X8();_Z8(_5F.map,"type",_vF);_Z8(_5F.map,"index",_ZF);_Z8(_5F.map,"response",_7G._VF)}function _8G(_5F){var _3G=JSON.parse(_5F._4G);var _9G=null;var _TF=null;var _aG=0.0;
if(_3G["productId"]){_9G=_3G["productId"]}if(_3G["token"]){_TF=_3G["token"]}if(_3G["consumed"]){if(typeof(_3G["consumed"])=="string"){_aG=(_3G["consumed"]=="false")?0.0:1.0}else {_aG=_3G["consumed"]}}if((_9G!=null)&&(_aG==true)){for(var _ra=0;_ra<_BF.length;_ra++){var _7G=_BF[_ra];if((_7G._9G==_9G)&&(_7G._TF==_TF)){_BF[_ra]=null}}}_5F.map=_X8();_Z8(_5F.map,"type",_wF);_Z8(_5F.map,"product",_9G);_Z8(_5F.map,"consumed",_aG?1.0:0.0)}function _bG(_5F){var _cG=false;if((_5F.type!=null)&&(_5F.type!=undefined)){
switch(_5F.type){case _tF:{__F(_5F);if(_5F.status==_zF){_EF=_qF;_cG=true}else {_EF=_oF}}break;case _uF:{_1G(_5F);if(_EF!=_pF){_EF=_qF;_cG=true}}break;case _vF:{_6G(_5F);if((_EF!=_pF)&&(_EF!=_sF)){_EF=_qF;_cG=true}}break;case _wF:{_8G(_5F);_EF=_qF;_cG=true}break;case _xF:{_0G(_5F);_EF=_qF;_cG=true}break }}if(_cG&&(_DF.length!=0)){var _dG=_DF.shift();_XF(_dG)}}function _eG(){while(_CF.length>0){var _fG=_CF.shift();_bG(_fG);_q6._gG=_fG.map;_eE._6a(_hG,0);_59(_fG.map)}}function _5G(_iG){var _jG=-1;if(typeof(_iG)=="string"){
for(var _ra=0;_ra<_AF.length;_ra++){var product=_AF[_ra];if(product._MF.toLowerCase()==_iG.toLowerCase()){_jG=_ra;break }}}else {_jG=~~_iG}return _jG}var _kG=null;function _D6(_lG){if(_kG){_K6()}var _mG=null;if(_nG){_mG=_oG(_lG,true)}if(_mG==null){_mG=_oG(_lG,false)}if(_mG==null){_mG=new _pG(_lG)}_kG=_mG}function _K6(){if(!_kG)return;var _3y=_kG._qG();_kG=null;return _3y}function _E6(_rG,_wj,_Zt){if(!_kG)return false;_kG._sG(_rG,_wj,""+_tG(_Zt));return true}function _b8(_lj){var _aE=_46(_lj);if(_aE!=null&&_aE.length>0){
for(var _9E=0;_9E<_aE.length;_9E++){var _dE=_aE[_9E];if(!_dE._86&&_dE._96)return true}}return false}function _uG(_0l,_N9,_O9,_lj){var _Qa=_0l.x;var _Sa=_0l.y;_0l._Hf(_N9,_O9);var id=_3l(null,Math.floor(_lj),false,_4l,_N9,_O9,function(_5l){if(_5l._vG(_0l,true)){return _5l.id}else {return _4l}});_0l._Hf(_Qa,_Sa);return id}function _56(_N9,_O9,_lj){var _9x=_29._Si(_lj);if(!_9x){_Ti("Error: Trying to create an instance using non-existent object type ("+_lj+")");return _4l}var _dE=_h9._wG(_N9,_O9,_lj);_dE._6a(_xG,0,
_dE,_dE);_dE._6a(_yG,0,_dE,_dE);return _dE.id}function _Q7(_0l,_Pi,_zG){if(_Pi===undefined){_0l._6a(_AG,0,_0l,_0l);_0l._6a(_BG,0,_0l,_0l);_0l._86=true}else {var _aE=_46(_Pi);if(_aE!=null&&_aE.length>0){for(var _9E=0;_9E<_aE.length;_9E++){var _dE=_aE[_9E];if(!_dE._86&&_dE._96){if((_zG===undefined)||(_zG)){_dE._6a(_AG,0,_dE,_dE)}_dE._6a(_BG,0,_dE,_dE);_dE._86=true}}}}}function _CG(_Zj,_N9,_O9){var _hj=_h9._DG._hj;var _xu=[];for(var _Q3=0;_Q3<_hj.length;_Q3++){var _dE=_hj[_Q3];if(_dE._7l(_N9,_O9,true)){_xu.push(_dE)}
}for(var _Q3=0;_Q3<_xu.length;_Q3++){_Q7(_xu[_Q3])}}function _EG(_Zj,_FG,_GG){if(_GG)_Zj._6a(_AG,0,_Zj,_Zj);_Zj._HG(_FG,true,false);_Zj._IG(_Zj._JG._KG);_Zj._LG(_h9);if(_GG)_Zj._6a(_yG,0,_Zj,_Zj)}function _MG(_Zj,_FG,_GG){if(!_29._NG(_FG)){debug("Error: Trying to change an instance to an nonexistent object type.");return }_EG(_Zj,_FG,_GG)}var _OG=_MG;function _PG(_lj,_QG){if(_lj._RG>=0){var _SG=_29._Si(_lj._RG);if(_SG){if(_SG._TG==_QG){return true}else {return _PG(_SG,_QG)}}}return false};function _H7(_UG){
{switch(_UG){case 0:if(_qi._Fg[0]||_qi._Fg[1]||_qi._Fg[2])return 0;else return 1;case 1:if(_qi._Fg[0])return 1;else return 0;case 2:if(_qi._Fg[1])return 1;else return 0;case 3:if(_qi._Fg[2])return 1;else return 0;case -1:if(_qi._Fg[0]||_qi._Fg[1]||_qi._Fg[2])return 1;else return 0}}return 0}function _VG(_UG){{switch(_UG){case 0:if(_qi._Ag[0]||_qi._Ag[1]||_qi._Ag[2])return 0;else return 1;case 1:if(_qi._Ag[0])return 1;else return 0;case 2:if(_qi._Ag[1])return 1;else return 0;case 3:if(_qi._Ag[2])return 1;else return 0;case -1:if(_qi._Ag[0]||_qi._Ag[1]||_qi._Ag[2])return 1;
else return 0}}return 0}function _WG(_UG){{switch(_UG){case 0:if(_qi._Eg[0]||_qi._Eg[1]||_qi._Eg[2])return 0;else return 1;case 1:if(_qi._Eg[0])return 1;else return 0;case 2:if(_qi._Eg[1])return 1;else return 0;case 3:if(_qi._Eg[2])return 1;else return 0;case -1:if(_qi._Eg[0]||_qi._Eg[1]||_qi._Eg[2])return 1;else return 0}return 0}}function _XG(_YG){if(_YG==-1){_XG(1);_XG(2);_XG(3)}else if(_YG>=1&&_YG<=3){var _Q3=_YG-1;_qi._Fg[_Q3]=0;_qi._Ag[_Q3]=0;_qi._Eg[_Q3]=0;_ti&=~(1<<_Q3)}}var _ZG=0,__G=1,_0H=2,_1H=3,_2H=4,_3H=5;var _4H=0,
_5H=1,_6H=2,_7H=3,_8H=4,_9H=5,_aH=6,_bH=7;var _cH=31;var _dH=29;var _eH=28;var _fH=30;var _gH=(1<<_cH);var _hH=(1<<_dH);var _iH=(1<<_eH);var _jH=(1<<_fH);var _kH=_eH;var _lH=(0x7<<_kH);var _mH=0x7;var _nH=0;var _oH=(0x7ffff<<_nH);var _pH=(0x7ffff);/*@constructor */function _qH(){this._Y3=true;this._rH=false;this.index=0;this._sH=false;this._tH=false;this._uH=1.0;this._vH=1.0;this._wH=false;this._xH=0;this.alpha=1.0;this._j3=0;this._k3=0;this._A8=0;this._yH=0};/*@constructor */function _zH(){this._DC=0;this._44=0;
this._AH=0;this._BH=0;this._CH=0;this._DH=0;this._EH=true;this._FH=0;this._GH="";this._HH=-1;this._IH=-1;this._JH=-1;this._KH=null;this._LH=new _1j()};/*@constructor */;/*@constructor */;/*@constructor */function _MH(){this._NH=-1;this._OH=null;this._PH=_6H;this._QH=false;this._RH=""};/*@constructor */function _SH(){this._TH=null;this._PH=_5H;this._QH=false;this._RH="";this._DC=0};/*@constructor */function _UH(){this._PH=_9H;this._VH=-1;this._WH=0;this._XH=0;this._YH=0;this._ZH=0;this.__H=0;this._0I=[];
this._QH=false;this._RH="";this._DC=0;this._1I=~_gH};/*@constructor */;/*@constructor */function _2I(){this._3I=-1;this._4I=0;this._5I=0;this._6I=1;this._7I=0;this._8I=1;this._9I=1;this._aI=0;this._bI=0xffffffff;this._cI=1;this._WH=0;this._XH=0;this._PH=_8H;this._RH="";this._DC=0;this._QH=false};/*@constructor */function _dI(){this._PH=_aH;this._eI=-1;this._RH="";this._DC=0;this._QH=false};/*@constructor */function _fI(){this._EH=true;this._Mw=-1;this._WH=0;this._XH=0;this._gI=0;this._hI=0;this._8I=1.0;
this._9I=1.0;this._aI=0.0;this._bI=0xffffffff;this._cI=1.0;this._iI=0;this._jI=0;this._PH=_bH;this._RH="";this._DC=0;this._QH=false};var _kI=32;/*@constructor */function _lI(){this._mI=0;this._nI=0;this._oI=0;this._pI=false;this._qI=0xffffffff;this._rI=-1;this._sI=false;this._tI=0};_lI.prototype._uI=function(){return this._mI;};_lI.prototype._vI=function(_Pi){this._wI=_Pi};_lI.prototype._xI=function(){return this._sI};_lI.prototype._yI=function(){return this._tI};_lI.prototype._zI=function(){return this._qI}
;_lI.prototype._AI=function(){if(!this._pI){this._pI=true}};_lI.prototype._BI=function(_CI,_DI){if(_DI._TH!=null){delete(_DI._TH);_DI._TH=null}_CI._LH._EI(_DI)};_lI.prototype._FI=function(_CI,_DI,_GI){if(_DI._OH){_DI._OH._HI(false)}if(_GI){if(_DI._NH>=0){_Q7(_DI._OH)}}_CI._LH._EI(_DI)};_lI.prototype._II=function(_CI,_DI){_CI._LH._EI(_DI)};_lI.prototype._JI=function(_CI,_DI){_CI._LH._EI(_DI)};_lI.prototype._KI=function(_CI,_DI){_CI._LH._EI(_DI)};_lI.prototype._LI=function(_CI,_DI){_CI._LH._EI(_DI)}
;_lI.prototype._MI=function(_CI,_DI){_CI._LH._EI(_DI)};_lI.prototype._NI=function(_OI,_PI,_CI,_QI,_RI){if(_OI==null)return;var _uf=_PI;var _SI=_CI;if(_uf===null)return;this._TI(_uf);switch(_uf._PH){case _5H:this._BI(_SI,_uf);break;case _6H:this._FI(_SI,_uf,_RI);break;case _7H:this._II(_SI,_uf);break;case _8H:this._JI(_SI,_uf);break;case _9H:this._KI(_SI,_uf);break;case _aH:this._LI(_SI,_uf);break;case _bH:this._MI(_SI,_uf);break };return };_lI.prototype._UI=function(_OI,_VI,_QI,_RI){if(_OI==null)return;var _uf=null;
var _SI=null;for(var _Q3=0;_Q3<_OI._WI.length;_Q3++){_SI=_OI._WI._Si(_Q3);_uf=this._XI(_SI,_VI);if(_uf!=null)break }if(_uf===null)return;this._TI(_uf);switch(_uf._PH){case _5H:this._BI(_SI,_uf);break;case _6H:this._FI(_SI,_uf,_RI);break;case _7H:this._II(_SI,_uf);break;case _8H:this._JI(_SI,_uf);break;case _9H:this._KI(_SI,_uf);break;case _aH:this._LI(_SI,_uf);break;case _bH:this._MI(_SI,_uf);break };return };_lI.prototype._YI=function(){if(this._rI==-1)return _h9;var _ZI=__I._Si(this._rI);if(_ZI==null)return _h9;
return _ZI};_lI.prototype._0J=function(_OI,_CI,_DI){_DI._QH=true};_lI.prototype._1J=function(_OI,_CI,_DI){var _9E=_eE._Si(_DI._NH);if(_9E===null)return;_DI._OH=_9E;_9E._2J=_CI._DC;_9E._3J=true;_9E._44=_CI._44;_DI._QH=true};_lI.prototype._4J=function(_OI,_CI,_DI){_DI._QH=true};_lI.prototype._5J=function(_OI,_CI,_DI){_DI._QH=true};_lI.prototype._6J=function(_OI,_CI,_DI){_DI._QH=true};_lI.prototype._7J=function(_OI,_CI,_DI){_DI._QH=true};_lI.prototype._8J=function(_OI,_CI,_DI){_DI._QH=true};_lI.prototype._9J=function(_OI,
_CI,_DI){if(_OI===null)return;if(_CI===null)return;if(_DI===null)return;switch(_DI._PH){case _5H:this._0J(_OI,_CI,_DI);break;case _6H:this._1J(_OI,_CI,_DI);break;case _7H:this._4J(_OI,_CI,_DI);break;case _8H:this._5J(_OI,_CI,_DI);break;case _9H:this._6J(_OI,_CI,_DI);break;case _aH:this._7J(_OI,_CI,_DI);break;case _bH:this._8J(_OI,_CI,_DI);break;}};_lI.prototype._vI=function(_Pi){this._mI=_Pi};_lI.prototype._aJ=function(_OI){if((_OI._WI===null)||(_OI._WI.length===0))return;for(var _Q3=0;_Q3<_OI._WI.length;
_Q3++){var _bJ=_OI._WI._Si(_Q3);_bJ._KH=_Ez();for(var _Pa=0;_Pa<_bJ._LH.length;_Pa++){var _cJ=_bJ._LH._Si(_Pa);if(_cJ==null)continue;this._9J(_OI,_bJ,_cJ)}}};_lI.prototype._dJ=function(_OI,_CI,_DI,_eJ){if(_OI==null||_CI==null||_DI===null)return;_DI._DC=this._fJ();_CI._LH._4j(_DI);if(_eJ){this._9J(_OI,_CI,_DI)}};_lI.prototype._gJ=function(_OI,_hJ,_DI,_eJ,_iJ){if(_OI==null||_DI===null)return -1;var _SI=this._jJ(_OI,_hJ,_iJ);if((_SI==null)&&(_iJ)){_SI=this._kJ(_OI,_hJ)}if(_SI==null){return -1}return this._dJ(_OI,
_SI,_DI,_eJ)};_lI.prototype._TI=function(_DI){if(_DI==null)return;switch(_DI._PH){case _5H:{this._lJ(_DI)}break;case _6H:{this._mJ(_DI)}break;case _7H:{this._nJ(_DI)}break;case _8H:{this._oJ(_DI)}break;case _9H:{this._pJ(_DI)}break;case _aH:{this._qJ(_DI)}break;case _bH:{this._rJ(_DI)}break }_DI._QH=false};_lI.prototype._lJ=function(_sJ){};_lI.prototype._mJ=function(_tJ){var _9E=_eE._Si(_tJ._NH);if(_9E!=null){_9E._HI(false)}_tJ._OH=null};_lI.prototype._nJ=function(_uJ){};_lI.prototype._oJ=function(_vJ){}
;_lI.prototype._pJ=function(_uJ){};_lI.prototype._qJ=function(_wJ){};_lI.prototype._rJ=function(_xJ){};_lI.prototype._kJ=function(_OI,_hJ){var _yJ=new _zH();_yJ._DC=_zJ._AJ();_yJ._44=_hJ;_yJ._FH=true;_h9._WI._4j(_yJ);return _yJ};_lI.prototype._BJ=function(_OI,_Zj){if(_OI==null||_Zj===null)return;if(_Zj._CJ()===false){if(_Zj._2J==-1){var _CI=this._jJ(_OI,_Zj._44,true);if(_CI===null){_CI=this._kJ(_OI,_Zj._44)}this._DJ(_OI,_CI,_Zj)}else {var _SI=this._EJ(_OI,_Zj._FJ);if(_SI===null)return;this._DJ(_OI,_SI,
_Zj)}}};_lI.prototype._DJ=function(_OI,_CI,_Zj){if(_OI==null||_CI==null||_Zj===null)return;if(_Zj._CJ()===false){var _GJ=new _MH();_GJ._NH=_Zj.id;_GJ._OH=_Zj;_Zj._HJ(_CI._DC);_Zj._HI(true);_GJ._QH=true;_CI._LH._4j(_GJ)}};_lI.prototype._IJ=function(_OI,_CI,_Zj){if(_OI==null||_CI==null||_Zj===null)return;if(_Zj._CJ()===true){for(var _Q3=0;_Q3<_CI._LH.length;_Q3++){var _cJ=_CI._LH._Si(_Q3);if(_cJ!=null){if(_cJ._PH==_6H){if(_cJ._OH==_Zj){this._NI(_OI,_cJ,_CI,true,false);_Zj._HI(false);_Zj._2J=-1}}}}}};_lI.prototype._JJ=function(_OI,
_KJ,_RI){var _SI=this._EJ(_OI,_KJ);if(_SI!=null){for(var _Q3=0;_Q3<_SI._LH.length;_Q3++){var _cJ=_SI._LH._Si(_Q3);if(_cJ!=null){this._NI(_OI,_cJ,_SI,false,true)}}_OI._WI._LJ(_SI)}};_lI.prototype._MJ=function(_OI,_CI,_NJ,_OJ){if(_OI==null)return;if(_CI==null)return;if(_NJ==_CI._44)return;var _PJ=_CI._44;_CI._44=_NJ;_OI._WI._LJ(_CI);_OI._WI._4j(_CI);if(_CI._FH&&_OJ){var _QJ=[];var _RJ=0;var _SJ=_OI._WI._TJ(_CI);if(_SJ!=-1){var _UJ=_SJ-1;while(_UJ>=0){var _VJ=_OI._WI._Si(_UJ);if((_VJ==null)||(_VJ._44==_CI._44)){
if(_VJ!=null){if(_VJ._FH){_QJ[_RJ++]=_VJ}}_UJ--}else {break }};_UJ=_SJ+1;while(_UJ<_OI._WI.length){var _VJ=_OI._WI._Si(_UJ);if((_VJ==null)||(_VJ._44==_CI._44)){if(_VJ!=null){if(_VJ._FH){_QJ[_RJ++]=_VJ}}_UJ++}else {break }};for(var _Q3=0;_Q3<_RJ;_Q3++){var _WJ=_QJ[_Q3];for(var _Pa=0;_Pa<_WJ._LH.length;_Pa++){var _cJ=_WJ._LH._Si(_Pa);if(_cJ==null)continue;if(_cJ._PH==_6H){if(_cJ._OH!=null){_cJ._OH._2J=_CI._DC}}_CI._LH._4j(_cJ)}_WJ._LH._Qh();_zJ._JJ(_OI,_WJ._DC,false)}}}};_lI.prototype._jJ=function(_OI,_hJ,
_XJ){for(var _Q3=0;_Q3<_OI._WI.length;_Q3++){var _SI=_OI._WI._Si(_Q3);if((_SI._44===_hJ)&&(!_XJ||(_SI._FH)))return _SI}return null};_lI.prototype._EJ=function(_OI,_Pi){for(var _Q3=0;_Q3<_OI._WI.length;_Q3++){var _SI=_OI._WI._Si(_Q3);if(_SI._DC===_Pi)return _SI}return null};_lI.prototype._AJ=function(){if(this._nI<this._mI)this._nI=this._mI;this._nI++;return this._nI};_lI.prototype._fJ=function(){return this._oI++};_lI.prototype._YJ=function(_OI,_ZJ){if(_OI==null)return null;for(var _Q3=0;_Q3<_OI._WI.length;
_Q3++){var _SI=_OI._WI._Si(_Q3);var _uf=_zJ._XI(_SI,_ZJ);if(_uf!=null){var __J=new _0K();__J._uf=_uf;__J._SI=_SI;return __J}}return null};_lI.prototype._XI=function(_CI,_1K){if(_CI==null)return null;for(var _Q3=0;_Q3<_CI._LH.length;_Q3++){var _cJ=_CI._LH._Si(_Q3);if(_cJ==null)continue;if(_cJ._DC===_1K){return _cJ}}return null};_lI.prototype._2K=function(_OI,_3K){if(_OI==null)return null;for(var _Q3=0;_Q3<_OI._WI.length;_Q3++){var _SI=_OI._WI._Si(_Q3);if(_SI!=null){for(var _Pa=0;_Pa<_SI._LH.length;_Pa++){var _cJ=_SI._LH._Si(_Pa);
if(_cJ!=null){if(_cJ._PH==_6H){if(_cJ._NH==_3K){var __J=new _0K();__J._uf=_cJ;__J._SI=_SI;return __J}}}}}}return null};_lI.prototype._4K=function(){if(_h9._WI===null||_h9._WI.length===0)return;var _5K=_h9._WI.length;var time=_Ez();for(var _Q3=0;_Q3<_5K;_Q3++){var _SI=_h9._WI._Si(_Q3);var _6K=time-_SI._KH;if(_6K>2000000)_6K=0;_SI._AH+=_SI._CH;_SI._BH+=_SI._DH;for(var _Pa=0;_Pa<_SI._LH.length;_Pa++){var _cJ=_SI._LH._Si(_Pa);if(_cJ==null)continue;var type=_cJ._PH;if(type==_5H){var _Ak=_cJ._TH;if(_Ak!=null){if(_Ak._j3==1){
_Ak._yH+=_Ak._A8*_Ak._k3}else {var _7K=_k9._l9();_Ak._yH+=_Ak._A8*_Ak._k3/_7K}}}else if(type==_8H){if(_cJ._4I==1){_cJ._7I+=_cJ._6I*_cJ._5I}else {var _7K=_k9._l9();_cJ._7I+=_cJ._6I*_cJ._5I/_7K}}else if(type==_9H){var _8K=_xk._yk(_cJ._VH);if(_8K!=null){if(_8K._x3>0)_cJ.__H=Math.floor((time/_8K._x3)%_8K.frames);else _cJ.__H=(_cJ.__H+1)%_8K.frames}}}_SI._KH=_Ez()}};_lI.prototype._9K=function(_OI,_aK){if(_OI===null)return;if(_aK===null)return;if(!this._pI)this._AI();var _bK=_OI._cK;var _dK=_OI._eK;var _5K=_aK.length;
{var _fK;for(var _Pa=_5K-1;_Pa>=0;_Pa--){_fK=_aK[_Pa];var _yJ=new _zH();if(_fK._33!=undefined)_yJ._GH=_fK._33.toLowerCase();if(_fK.id!=undefined)_yJ._DC=_fK.id;if(_fK._44!=undefined)_yJ._44=_fK._44;if(_fK.x!=undefined)_yJ._AH=_fK.x;if(_fK.y!=undefined)_yJ._BH=_fK.y;if(_fK._kD!=undefined)_yJ._CH=_fK._kD;if(_fK._mD!=undefined)_yJ._DH=_fK._mD;if(_fK._Y3!=undefined)_yJ._EH=_fK._Y3;if(_fK.type===__G){var _gK=new _SH();_gK._TH=new _qH();var _hK;_gK._TH._A8=1.0;if(_fK._iK!=undefined)_gK._TH._Y3=_fK._iK;if(_fK._jK!=undefined)_gK._TH._rH=_fK._jK;
if(_fK._kK!=undefined)_gK._TH.index=_fK._kK;if(_fK._lK!=undefined)_gK._TH._sH=_fK._lK;if(_fK._mK!=undefined)_gK._TH._tH=_fK._mK;if(_fK._nK!=undefined){_gK._TH._xH=_Se(_fK._nK);_gK._TH.alpha=((_fK._nK>>24)&0xff)/255.0}if(_fK._j3!=undefined)_gK._TH._j3=_fK._j3;if(_fK._oK!=undefined)_gK._TH._k3=_fK._oK;if(_fK._33!=undefined)_gK._RH=_fK._33.toLowerCase();if((_fK._pK!=undefined)){_gK._TH._wH=_fK._pK}if((_fK._pK!=undefined)&&(_fK._pK==true)&&(_qK(_gK._TH.index))){var value=_rK(_gK._TH.index);if(value>0)_gK._TH._uH=_bK/value;
value=_sK(_gK._TH.index);if(value>0)_gK._TH._vH=_dK/value}this._dJ(_OI,_yJ,_gK)}else if(_fK.type===_0H){var _tK=0;if(_fK._uK!=undefined)_tK=_fK._uK;for(var _Q3=0;_Q3<_tK;_Q3++){var _GJ=new _MH();_GJ._NH=_fK._vK[_Q3];this._dJ(_OI,_yJ,_GJ,false)}}else if(_fK.type===_1H){var _wK=0;if(_fK._xK!=undefined)_wK=_fK._xK;if(_wK>0){var _Q3;for(_Q3=0;_Q3<_wK;_Q3++){var _yK=new _fI();if(_fK._zK[_Q3]._AK!=undefined)_yK._WH=_fK._zK[_Q3]._AK;if(_fK._zK[_Q3]._BK!=undefined)_yK._XH=_fK._zK[_Q3]._BK;if(_fK._zK[_Q3]._CK!=undefined)_yK._Mw=_fK._zK[_Q3]._CK;
if(_fK._zK[_Q3]._DK!=undefined)_yK._iI=_fK._zK[_Q3]._DK;if(_fK._zK[_Q3]._EK!=undefined)_yK._jI=_fK._zK[_Q3]._EK;if(_fK._zK[_Q3]._FK!=undefined)_yK._gI=_fK._zK[_Q3]._FK;if(_fK._zK[_Q3]._GK!=undefined)_yK._hI=_fK._zK[_Q3]._GK;if(_fK._zK[_Q3]._HK!=undefined)_yK._IK=_fK._zK[_Q3]._HK;if(_fK._zK[_Q3]._JK!=undefined)_yK._KK=_fK._zK[_Q3]._JK;if(_fK._zK[_Q3]._LK!=undefined){_yK._MK=_fK._zK[_Q3]._LK&0xffffff;_yK._NK=((_fK._zK[_Q3]._LK>>24)&0xff)/255.0}this._dJ(_OI,_yJ,_yK,false)}}var _OK=0;if(_fK._PK!=undefined)_OK=_fK._PK;
if(_OK>0){for(var _Q3=0;_Q3<_OK;_Q3++){var _QK=new _2I();_QK._4I=0;_QK._3I=_fK._RK[_Q3]._SK;_QK._7I=_fK._RK[_Q3]._TK;_QK._6I=1.0;if(_fK._RK[_Q3]._UK!=undefined)_QK._4I=_fK._RK[_Q3]._UK;_QK._5I=_fK._RK[_Q3]._VK;_QK._8I=_fK._RK[_Q3]._WK;_QK._9I=_fK._RK[_Q3]._XK;_QK._aI=_fK._RK[_Q3]._YK;_QK._bI=_Se(_fK._RK[_Q3]._ZK&0xffffff);_QK._cI=((_fK._RK[_Q3]._ZK>>24)&0xff)/255.0;_QK._WH=_fK._RK[_Q3].__K;_QK._XH=_fK._RK[_Q3]._0L;_QK._RH=_fK._RK[_Q3]._1L;this._dJ(_OI,_yJ,_QK,false)}}}else if(_fK.type===_2H){var _2L=new _UH();
_2L._VH=_fK._3L;_2L._YH=_fK._4L;_2L._ZH=_fK._5L;_2L._0I=[];var _wK=0;if(_fK._6L!=undefined)_wK=_fK._6L;for(var _Q3=0;_Q3<_wK;_Q3++){_2L._0I[_Q3]=_fK._7L[_Q3]}if(_fK._33!=undefined)_2L._RH=_fK._33.toLowerCase();this._dJ(_OI,_yJ,_2L,false)}_OI._WI._4j(_yJ);this._vI(_Ha(this._uI(),_yJ._DC))}}};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/*@constructor */function _0K(){this._uf=-1;this._SI=-1};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;var _8L=0x7fff;
var floor=Math.floor;function _9L(_aL){if(_aL<0){var _Q3=~~_aL;var _3w=_aL-_Q3;if((_Q3&1)==1){if(_3w<=-0.5){return _Q3-1}else {return _Q3}}else {if(_3w>=-0.5){return _Q3}else {return _Q3-1}}}else {var _Q3=~~_aL;var _3w=_aL-_Q3;if((_Q3&1)==1){if(_3w>=0.5){return _Q3+1}else {return _Q3}}else {if(_3w<=0.5){return _Q3}else {return _Q3+1}}}}var round=_9L;var _gj=_9L;var abs=Math.abs;function cos(_aL){var _N9=Math.cos(_aL);var _Ka=~~(_N9*0x1000000);_N9=_Ka/0x1000000;return _N9}function sin(_aL){var _N9=Math.sin(_aL);var _Ka=~~(_N9*0x1000000);
_N9=_Ka/0x1000000;return _N9}function tan(_aL){var _N9=Math.tan(_aL);var _Ka=~~(_N9*0x1000000);_N9=_Ka/0x1000000;return _N9}function _e7(_bL,_cL){var _uc=(_bL*Math.cos(_cL*_Na/180.0));var _dL=Math.round(_uc);var _r9=_uc-_dL;if(Math.abs(_r9)<0.0001)return _dL;return _uc}function _b7(_bL,_cL){var _uc=-(_bL*Math.sin(_cL*_Na/180.0));var _dL=Math.round(_uc);var _r9=_uc-_dL;if(Math.abs(_r9)<0.0001)return _dL;return _uc}function _G7(__a,_0b,_ma,_na){var x=_ma-__a;var y=_na-_0b;if(x===0){if(y>0)return 270.0;else if(y<0)return 90.0;
else return 0.0}else {var _ZB=180.0*Math.atan2(y,x)/_Na;_ZB=(~~round(_ZB*1000000))/1000000.0;if(_ZB<=0.0){return -_ZB}else {return(360.0-_ZB)}}}function _eL(__a,_0b,_ma,_na){return _G7(__a,_0b,_ma,_na)}function _Ja(_aL,_kA){if(_aL<_kA)return _aL;else return _kA}function _Ha(_aL,_kA){if(_aL>_kA)return _aL;else return _kA}var max=Math.max;var min=Math.min;var _fL=[];var _gL=0;var _hL=_iL(0);var _jL=0xDA442D24;function _iL(_kL){var _Rw=_kL;for(var _Q3=0;_Q3<16;_Q3++){_Rw=(((_Rw*214013+2531011)>>16)&0x7fffffff)|0;_fL[_Q3]=~~_Rw}
_gL=0;_hL=_kL;return _hL}function _lL(){var _gc,_La,_R3,_Al;_gc=_fL[_gL];_R3=_fL[(_gL+13)&15];_La=_gc^_R3^(_gc<<16)^(_R3<<15);_R3=_fL[(_gL+9)&15];_R3^=(_R3>>11);_gc=_fL[_gL]=_La^_R3;_Al=_gc^((_gc<<5)&_jL);_gL=(_gL+15)&15;_gc=_fL[_gL];_fL[_gL]=_gc^_La^_Al^(_gc<<2)^(_La<<18)^(_R3<<28);return((_fL[_gL]&0x7fffffff)/2147483647.0)}function random(_Ue){var _Ia=_lL();return _Ia*_Ue}function _n8(_Ue){var _Ia=_lL()*(_Ue+1);_lL();return ~~_Ia;}function _u7(_mL,_nL){if(_mL==_nL){return _mL}var _oL,_pL;if(_mL>_nL){_oL=_nL;
_pL=_mL}else {_oL=_mL;_pL=_nL}var _qL=_lL();var _Av=_oL+(_qL*(_pL-_oL));_lL();return _Av}function _rL(){var _Al=new Date();var _Ka=_Al.getMilliseconds();_Ka=(_Ka&0xffffffff)^((_Ka>>16)&0xffff)^((_Ka<<16)&0xffff0000);_iL(_Ka)}var _sL=_rL;function _h6(_mL,_nL){var _oL,_pL;if(_mL>_nL){_oL=_nL;_pL=_mL}else {_oL=_mL;_pL=_nL}var _va=_oL|0;var _xa=_pL|0;var _Av=_va+random(_xa-_va+1);return(_Av|0)}function _O7(_N9){if(_N9==0)return 0;if(_N9<0)return -1;return 1}var ceil=Math.ceil;function _r9(_N9){return _N9-~~_N9}function sqrt(_N9){
if(_N9>=0)return Math.sqrt(_N9);else _Ti("Cannot apply sqrt to negative number.")}function _9b(_N9){return _N9*_N9}var _tL=Math.pow;var exp=Math.exp;var _uL=Math.log;var _vL=Math.asin;var _wL=Math.acos;var _xL=Math.atan;var _yL=Math.atan2;function _zL(){var _bj=_zL.arguments;var _cj=_zL.arguments.length;var _ua=_bj[0];for(var _Q3=1;_Q3<_cj;_Q3++){_ua+=_bj[_Q3]}return(_ua/_cj)}function _AL(__a,_0b,_ma,_na){var _BL=Math.sqrt(__a*__a+_0b*_0b);var _CL=Math.sqrt(_ma*_ma+_na*_na);return(__a*_ma+_0b*_na)/(_BL*_CL)}var _DL=_AL;
function _EL(__a,_0b,_FL,_ma,_na,_GL){var _BL=Math.sqrt(__a*__a+_0b*_0b+_FL*_FL);var _CL=Math.sqrt(_ma*_ma+_na*_na+_GL*_GL);return(__a*_ma+_0b*_na+_FL*_GL)/(_BL*_CL)}var _HL=_EL;function _z6(_N9){var _Yi=0;if(_N9 instanceof Array){if(_N9._IL!==undefined&&_N9._IL==2){return _N9[0].length}_Yi=_N9.length}return _Yi}function _JL(_Zt,_KL,_LL){if(_Zt<_KL)_Zt=_KL;else if(_Zt>_LL)_Zt=_LL;return _Zt}function _N7(_Mi,_It){var _gc=_Mi,_La=_It;return((((_gc-_La)%360.0)+540.0)%360.0)-180.0}var _ML=30,_NL=10,_OL=3,_PL=!0;function _QL(_RL,
_SL){var _LA=0.0;while(_RL<=0.0){_RL=_RL+360}while(_RL>=360.0){_RL=_RL-360}while(_SL<0.0){_SL=_SL+360}while(_SL>=360.){_SL=_SL-360}_LA=_SL-_RL;if(_LA<0){_LA=-_LA}if(_LA>180){_LA=360-_LA}return _LA}function _TL(_0l,_N9,_O9,_UL,_VL){if(_UL==_WL){if(_VL){return _XL(_0l,_N9,_O9)}else {return _YL(_0l,_N9,_O9)}}else {return(_uG(_0l,_N9,_O9,_UL)==_4l)}}function _ZL(_0l,_N9,_O9,__L,_UL,_VL){var _LA=false;var _0M=0.0;var _1M=0.0;var _2M=0.0;if((_0l.x==_N9)&&(_0l.y==_O9))return true;_0M=sqrt(_Ur(_0l.x-_N9)+_Ur(_0l.y-_O9));
if(_0M<=__L){_1M=_N9;_2M=_O9;_LA=true}else {_1M=_0l.x+__L*(_N9-_0l.x)/_0M;_2M=_0l.y+__L*(_O9-_0l.y)/_0M;_LA=false}if(!_TL(_0l,_1M,_2M,_UL,_VL)){return _LA}_0l._3M(_G7(_0l.x,_0l.y,_1M,_2M));_0l._Hf(_1M,_2M);return _LA}function _4M(_0l,_N9,_O9,__L,_VL){return _ZL(_0l,_N9,_O9,__L,_WL,_VL)}function _5M(_cL,_0l,_6M,_UL,_VL){var _LA=false;var _7M=0.0;var _8M=0.0;if(_QL(_cL,_0l._9M)>_ML){return _LA}_7M=_0l.x+_6M*_OL*cos(_Na*_cL/180);_8M=_0l.y-_6M*_OL*sin(_Na*_cL/180);if(true!=_TL(_0l,_7M,_8M,_UL,_VL)){return _LA}
_7M=_0l.x+_6M*cos(_Na*_cL/180);_8M=_0l.y-_6M*sin(_Na*_cL/180);if(true!=_TL(_0l,_7M,_8M,_UL,_VL)){return _LA}_0l._3M(_cL);_0l._Hf(_7M,_8M);_LA=true;return _LA}function _aM(_0l,_N9,_O9,__L,_FG,_VL){var _LA=false;var _0M=0.0;var _bM=0.0;var _cM=0.0;if((_0l.x==_N9)&&(_0l.y==_O9)){_LA=true;return _LA}_0M=sqrt(_Ur(_0l.x-_N9)+_Ur(_0l.y-_O9));if(_0M<=__L){if(_TL(_0l,_N9,_O9,_FG,_VL)){_0l._3M(_eL(_0l.x,_0l.y,_N9,_O9));_0l._Hf(_N9,_O9)}_LA=true;return _LA;}_bM=_eL(_0l.x,_0l.y,_N9,_O9);_cM=0;_LA=false;while(_cM<180){
if(_5M(_bM-_cM,_0l,__L,_FG,_VL)){return _LA}if(_5M(_bM+_cM,_0l,__L,_FG,_VL)){return _LA}_cM=_cM+_NL}if(_PL){_0l._3M(_0l._9M+_ML)}return _LA}function _dM(_0l,_N9,_O9,__L,_VL){return _aM(_0l,_N9,_O9,__L,_WL,_VL)}/*@constructor */function _eM(_fM,_gM,_hM,_iM,_jM,_kM){this._lM=_fM;this._mM=_gM;this._nM=~~_hM;this._oM=~~_iM;this._pM=_jM;this._qM=_kM;this._rM=[];this._Qh()};_eM.prototype._Qh=function(){var _sM=this._nM*this._oM;for(var _Q3=0;_Q3<_sM;_Q3++){this._rM[_Q3]=0}};var _tM=_uM;function _uM(_Pi){var _vM=_wM._Si(_Pi);
if(_vM){_Ic.globalAlpha=_Oe;var _Ll=_Wk(0xff0000,1.0);var _Ml=_Wk(0x00ff00,1.0);for(var x=0;x<_vM._nM;x++){for(var y=0;y<_vM._oM;y++){var _1c=_Ml;if(_vM._rM[x*_vM._oM+y]<0){_1c=_Ll}_Ic.fillStyle=_1c;_Ic._7B((_vM._lM+x*_vM._pM),(_vM._mM+y*_vM._qM),_vM._pM,_vM._qM)}}return }_Ti("Error: invalid mp_grid ID (mp_grid_draw)")}function _YL(_0l,_N9,_O9){var _Qa,_Sa,_LA,_xM;_LA=true;_Qa=_0l.x;_Sa=_0l.y;_0l._Hf(_N9,_O9);var _hj=_h9._yM();for(var _9E=0;_9E<_hj.length;_9E++){_xM=_hj[_9E];if(_xM._j4){if(_0l._vG(_xM,true)){
_LA=false;break }}}_0l._Hf(_Qa,_Sa);return _LA}function _XL(_0l,_N9,_O9){var _Qa,_Sa,_LA,_xM;_LA=true;_Qa=_0l.x;_Sa=_0l.y;_0l._Hf(_N9,_O9);var _hj=_h9._yM();for(var _9E=0;_9E<_hj.length;_9E++){_xM=_hj[_9E];if(_0l._vG(_xM,true)){_LA=false;break }}_0l._Hf(_Qa,_Sa);return _LA}function _zM(_0l,_N9,_O9,_lj){var _Qa,_Sa,_LA,_xM;_LA=false;_Qa=_0l.x;_Sa=_0l.y;_0l._Hf(_N9,_O9);var _hj=_46(_lj);for(var _9E=0;_9E<_hj.length;_9E++){_xM=_hj[_9E];if(_0l._vG(_xM,true)){_LA=true;break }}_0l._Hf(_Qa,_Sa);return _LA}function _AM(_0l,
_N9,_O9,_6M){_0l._BM(_N9-_0l.x);_0l._CM(_O9-_0l.y);_0l._DM(_6M)}function _EM(_0l,_N9,_O9,_FM){if(_FM){return _XL(_0l,_N9,_O9)}else {return _YL(_0l,_N9,_O9)}}function _GM(_Zj,_N9,_O9,_FM){if(_FM)return _XL(_Zj,_N9,_O9);else return _YL(_Zj,_N9,_O9)}function _17(_0l,_N9,_O9,_lj){var _LA,_xM;_LA=false;if(_lj==_HM)_lj=_0l.id;var _hj=_46(_lj);for(var _9E=0;_9E<_hj.length;_9E++){_xM=_hj[_9E];if(_xM._7l(_N9,_O9,true)){_LA=true;break }}return _LA}var _IM=1;var _JM=2;var _KM=3;var _LM=4;var _MM=window._NM;var _OM=null;try{_OM=require("ws")._PM}
catch(_QM){}function _RM(_SM,_TM){this._UM=_SM;this._TM=_TM}_RM.prototype={_UM:null,_TM:!1,_VM:!1,index:-1};var _WM="GM:Studio-Connect";var _XM=0xCAFEBABE;var _YM=0xDEADB00B;var _ZM=0xDEAFBEAD;var __M=0xF00DBEEB;var _0N=0xDEADC0DE;var _1N=[];var _2N=[];function _3N(_4N){var _Q3=_2N.shift();if(_Q3==null)_Q3=_1N.length;_1N[_Q3]=_4N;_4N.index=_Q3;return _Q3}function _5N(e){var _3y=_Jv._4j(e.id,null,_6N,e);_3y._Bv=true}function _7N(_qr,offset,length){var _8N=new Uint8Array(_qr.buffer);var _9N=_qr._aN+offset;var index=_bN(length,
_cN,1);var _dN=new Uint8Array(_eN._Si(index)._fN);for(var _Q3=0;_Q3<length;_Q3++)_dN[_Q3]=_8N[_9N+_Q3];return index}function _gN(_M9){if(!_29._Si(_M9))return false;return true}var _hN=_nk;var _iN=_jN;var _kN=_lN;var _mN=_nN;var _oN=_pN;var _qN=_rN;var _sN=_tN;var _uN=_vN;var _wN=_xN;var _yN=_zN;var _AN=_BN;var _CN=_DN;var _EN=_FN;var _GN=_FN;var _HN=_IN;var _JN=_KN;var _LN=_ok;var _MN=_NN;var _ON=_PN;var _QN=_RN;var _SN=_TN;var _UN=_VN;var _WN=_XN;var _YN=_ZN;var __N=_0O;var _1O=_2O;var _3O=_2O;var _4O=_rk;var _5O=_rk;var _6O=_7O;var _8O=_7O;
var _9O=_7O;var _aO=_7O;var _bO=_qk;var _cO=_qk;var _dO=_eO;var _fO=_eO;var _gO=_hO;var _iO=_hO;var _jO=_kO;var _lO=_sk;var _mO=_nO;var _oO=_pO;var _qO=_rO;var _sO=_tO;var _uO=_vO;var _wO=_xO;var _yO=_zO;var _AO=_BO;var _CO=_DO;var _EO=_FO;var _GO=_HO;var _IO=_JO;var _KO=_LO;var _MO=_NO;var _OO=_PO;var _QO=_RO;var _SO=_TO;function _TO(_Pi,_UO,_VO,_WO){var _XO=_YO._y3[_Pi];if(!_XO)return;_Ic.globalAlpha=_Oe;_Ic.strokeStyle=_OA;var _Qa,_Sa,_ZO;var __O=0;var _0P=_XO._1P(0);if(!_WO){_UO=_UO-_0P.x;_VO=_VO-_0P.y}else {_UO=0;_VO=0}__O=_gj(_XO.length/4.0);
if(__O==0)return;var _K3=true;_Ic._mB();for(var _Q3=0;_Q3<=__O;_Q3++){_0P=_XO._1P(_Q3/__O);if(_K3){_Ic._nB(_UO+_0P.x,_VO+_0P.y);_K3=false}else {_Ic._oB(_UO+_0P.x,_VO+_0P.y)}}_Ic._qB();_Ic._pB()}var _2P=new _3P();var _4P=new _3P();var _5P=new _3P();function _R7(_6P,_7P){_h9._8P._9P(_6P,_7P)}function _aP(){var _bP=_2P._4j(new _cP());return _bP}function _dP(_eP){var _fP=_2P._Si(_eP);_fP._gP()}function _hP(_eP,_iP){var _fP=_2P._Si(_eP);_fP._jP(_iP)}function _kP(_eP,_lP){var _fP=_2P._Si(_eP);_fP._mP(_lP)}function _nP(_eP,
_oP){var _fP=_2P._Si(_eP);_fP._pP(_oP)}function _qP(_eP,_rP){var _fP=_2P._Si(_eP);_fP._sP(_rP)}function _tP(_eP,_uP){var _fP=_2P._Si(_eP);_fP._vP((_uP>0.5)?true:false)}function _wP(_eP,_xP){var _fP=_2P._Si(_eP);_fP._yP(_xP)}function _zP(_eP,_xP){var _fP=_2P._Si(_eP);_fP._AP(_xP)}function _BP(_eP,_CP){var _fP=_2P._Si(_eP);_fP._DP(_CP)}function _EP(_eP,_FP){var _fP=_2P._Si(_eP);_fP._GP(_FP*_h9._8P._HP)}function _IP(_eP){var _fP=_2P._Si(_eP);_fP._JP()}function _KP(_eP,_LP,_MP){var _fP=_2P._Si(_eP);var scale=_h9._8P._HP;
_fP._NP(_LP*scale,_MP*scale)}function _OP(_Zj,_eP,_Pi,_PP,_QP){var _RP=-1;var _SP=-1;var _fP=_2P._Si(_eP);var _lj=Math.floor(_Pi);if(_lj==_HM){_lj=_Zj.id}if(_lj==_WL){var _hj=_eE._yM();for(var _9E=0;_9E<_hj.length;_9E++){var _dE=_hj[_9E];if(_dE._TP)continue;_RP=_h9._8P._UP(_fP,_dE,_PP,_QP)}}else if(_lj<100000){var _aE=_29._Si(_lj);if(_aE===null){return _SP}var _hj=_aE._bE();for(var _9E=0;_9E<_hj.length;_9E++){var _dE=_hj[_9E];if(_dE._TP)continue;_RP=_h9._8P._UP(_fP,_dE,_PP,_QP)}}else {var _dE=_eE._Si(_lj);_RP=_h9._8P._UP(_fP,
_dE,_PP,_QP)}return _RP}function _VP(_Zj,_eP,_Pi,_WP,_XP){if(_WP!==undefined&&_XP!==undefined){return _OP(_Zj,_eP,_Pi,_WP,_XP)}else {return _OP(_Zj,_eP,_Pi,0.0,0.0)}}function _x7(_0l,_YP,_ZP,__P,_0Q){var scale=_h9._8P._HP;var _1Q=_YP*scale;var _2Q=_ZP*scale;_0l._3Q._4Q(_1Q,_2Q,__P,_0Q)}function _5Q(_M9,_Qe,_6Q){var _7Q=__I._Si(_M9);if(_7Q===null)return;var _8Q=_7Q._9Q;_8Q._c5=_Qe;_8Q._aQ=_6Q}var _bQ=_5Q;;;;;;;;;;;;;;;function _dk(){_cQ=_h9.id};function _dQ(_OI){var _eQ=__I._Si(_OI);if((_eQ==null)||(_eQ==undefined)){
_cv("Error: Room "+_OI+" is not a valid room index")}else {_cQ=_OI}};;;;var _fQ=function(){_Ad("yy_texture_get_texel_width()")};var _gQ=function(){_Ad("yy_texture_get_texel_height()")};var _hQ=function(){_Ad("texture_set_stage()")};var _iQ=function(){_Ad("shader_is_compiled()")};var _jQ=function(){_Ad("shader_set()")};var _kQ=function(){_Ad("shader_get_uniform()")};var _lQ=function(){_Ad("shader_set_uniform_i()")};var _mQ=function(){_Ad("shader_set_uniform_f()")};var _nQ=function(){_Ad("shader_set_uniform_matrix()")}
;var _oQ=function(){_Ad("shader_set_uniform_matrix()")};var _pQ=function(){_Ad("shader_enable_corner_id()")};var _qQ=function(){_Ad("shader_set_uniform_array_i()")};var _rQ=function(){_Ad("shader_set_uniform_array_f()")};var _sQ=function(){_Ad("shader_set_uniform_matrix_array()")};var _tQ=-1;function _uQ(){return 0}function _vQ(_wQ){_tQ=_wQ;_jQ(_wQ)}function _xQ(){_tQ=-1;_jQ(-1)}var _yQ=[];var _zQ=300000;var _AQ=_zQ;var _BQ=[];var _CQ=0;var audio_sampledata=[];var _DQ=!1;var _EQ=0;var _FQ=128;var _GQ=100000;var _HQ=[];
var _IQ=[];var _JQ=0;var _KQ=200000;var _LQ=[];var _MQ=[];var _NQ=0;var _OQ=0;var _PQ=[];var _QQ={_RQ:0,_SQ:1,_TQ:2,_UQ:3,_VQ:4,_WQ:5,_XQ:6};var _YQ={_ZQ:0,__Q:1,_0R:2};var _1R=0;var _2R=1.0;var _3R=0;function _4R(){if(_li!=_mi)return;_EQ++}var _5R;function _6R(){_7R.disconnect();_7R=g_WebAudioContext.createGain();_7R.connect(g_WebAudioContext.destination);g_WebAudioContext.listener._fj=new _rr(0,0,0);g_WebAudioContext.listener._8R=new _rr(0,0,0);g_WebAudioContext.listener._9R=new Array(0,0,0,0,0,0)}function _aR(){
if(_li!=_mi){return }_7R=g_WebAudioContext.createGain();_7R.connect(g_WebAudioContext.destination);_bR(_QQ._SQ);var _cR;if(typeof document.hidden!=="undefined"){_5R="hidden";_cR="visibilitychange"}else if(typeof document.mozHidden!=="undefined"){_5R="mozHidden";_cR="mozvisibilitychange"}else if(typeof document.msHidden!=="undefined"){_5R="msHidden";_cR="msvisibilitychange"}else if(typeof document.webkitHidden!=="undefined"){_5R="webkitHidden";_cR="webkitvisibilitychange"}document.addEventListener(_cR,_dR,
false);g_WebAudioContext.listener._fj=new _rr(0,0,0);g_WebAudioContext.listener._8R=new _rr(0,0,0);g_WebAudioContext.listener._9R=new Array(0,0,0,0,0,0);_eR(0,0,0);_fR(0,0,1.0,0,1.0,0.0);_gR();_hR()}/*@constructor */function _iR(){this.buffer=null;this.gain=1.0;this._jR=1.0;this._kR=1.0;this.duration=0.0;this._lR=0.0;this._93=0;this._43=0}/*@constructor */function _mR(_nR,_oR,_pR){this._qR=g_WebAudioContext.createGain();this._rR=null;this._tw=0;this._AI(_nR,_oR,_pR)}_mR.prototype._AI=function(_nR,_oR,
_pR){this._sR=false;this._tR=g_WebAudioContext.currentTime;this.playbackpoint=0;this._uR=null;this._qR.disconnect();this.gain=1.0;this._qR.gain.value=1;if(this._rR!=null){this._rR.disconnect();this._rR=null}this.paused=false;this._vR=_nR;this._wR=_pR;this._xR=false;this._yR=_oR;this._zR=false;this._AR=false;this._BR=false;this._CR=null;this._DR=null;if(_nR>=0){this._zR=_ER(_nR);this._AR=_FR(_nR);this._BR=_GR(_nR);if(!this._AR&&!this._BR){this._qR.gain.value=audio_sampledata[_nR].gain;if(this._tw>=_zQ){
_PQ[this._tw-_zQ]=null}this._tw=_AQ;_PQ[_AQ-_zQ]=this;++_AQ}}};function _HR(_IR){if(_IR<_zQ||_IR>=_AQ){debug("Error: invalid sound handle "+_IR);return null}var _JR=_PQ[_IR-_zQ];if(_JR==undefined){return null}return _JR}function _ER(_vR){if(_vR>=0&&_vR<_bv._23.length){if(_bv._23[_vR]._43==1&&_KR!=_LR&&_KR!=_MR){return true}}else if(_vR<_GQ){debug("IsSoundStreamed - Error: soundid "+_vR+" not found")}return false}function _FR(_vR){if(_vR>=_GQ&&_vR<_KQ){return true}return false}function _GR(_vR){if(_vR>=_KQ&&_vR<_zQ){
return true}return false}function _NR(_nR){var _JR=_bv._23[_nR];var _OR=_Sb+_JR._63;var _PR=_JR._53;_OR=_QR(_OR);var index=_OR.indexOf(_PR);if(index>0){_OR=_OR.substr(0,index)}if(_RR){_PR="ogg"}else if(_SR){_PR="mp3"}else {_PR="ogg"}_OR=_OR+"."+_PR;return _OR}function _TR(_UR,_nR,_VR){var _WR=_XR(_nR);var _YR=_WR._lR;if(_WR._fL=='loading'){_WR._ZR.push(["Audio_Play",_UR,_nR,_VR]);return }if(_UR._zR)__R(_UR,_nR,_VR,_YR);else _0S(_UR,_nR,_VR,_YR);_UR._sR=true}function __R(_UR,_nR,_VR,_1S,_2S){var _3S=_NR(_nR);try{
if(_UR._CR!=null){document.body.removeChild(_UR._CR)}_UR._CR=new Audio();var _CR=_UR._CR;_CR.controls=false;_CR.autoplay=true;_CR.preload="none";_CR.loop=(_VR)!=0?true:false;_CR.src=_Ox(null,null,_3S);document.body.appendChild(_CR);if(_1S>0){_CR.addEventListener('loadedmetadata',function(){_UR._CR.currentTime=_1S},false)}_CR.load();try{var _4S=_CR.play();if(_4S!==undefined){_4S.then(function(){if(_2S)_2S()}).catch(function(error){console.log("playback failed ",error)})}}catch(_5S){debug("audio_tag.play() exception: "+_5S)}
_UR._vR=_nR;_CR.addEventListener("ended",function(e){for(_Q3=0;_Q3<_OQ;++_Q3){var _JR=_yQ[_Q3];var _6S=_JR._CR;if(_6S==this){_JR._sR=false}}},false);_UR._DR=g_WebAudioContext.createMediaElementSource(_CR);_UR._DR.connect(_UR._qR)}catch(_5S){debug("Audio_PlayStreamed exception: "+_5S)}}function _ni(){var _JR=g_WebAudioContext.createBufferSource();var gain=g_WebAudioContext.createGain();_JR.connect(gain);gain.connect(g_WebAudioContext.destination);gain.gain.value=0;_JR.start(0);if(g_WebAudioContext.sampleRate===48000){
if(_KR==_LR){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');_li=_7S}}_JR=g_WebAudioContext.createBufferSource();gain=g_WebAudioContext.createGain();_JR.connect(gain);gain.connect(g_WebAudioContext.destination);gain.gain.value=0;_JR.start(0);_6R();for(var _Q3=0;_Q3<_OQ;++_Q3){_yQ[_Q3]._qR=g_WebAudioContext.createGain()}debug("Sample rate now "+g_WebAudioContext.sampleRate)}
}}function _8S(){var _vR=-1;for(index=0;index<_bv._23.length;index++){if(_bv._23[index]._43==1){_vR=index;break }}if(_vR==-1)return;var _mR=_9S(_vR,1,false);if(_mR==null)return;_mR._qR.gain.value=0;_mR._sR=true;__R(_mR,_vR,false,0,function(){_aS(_mR)})}function _0S(_UR,_nR,_bS,_1S){_UR._vR=_nR;try{var _cS=null;var _dS=false;if(_nR>=_KQ&&_nR<(_KQ+_NQ)){_dS=true;var _eS=_nR-_KQ;_LQ[_eS]._fS.connect(_UR._qR);_LQ[_eS].gainnode=_UR._qR;_cS=_LQ[_eS]._fS}else {var _WR=_XR(_nR);var _kR=_WR._kR;if(_UR._rR!=null){_kR*=_UR._rR._kR}
_UR._uR=g_WebAudioContext.createBufferSource();_UR._uR.playbackRate.value=_kR;_UR._uR.loop=_bS;_UR._uR.buffer=_WR.buffer;_UR._uR.connect(_UR._qR);_cS=_UR._uR}_UR._tR=g_WebAudioContext.currentTime;_cS.onended=function(event){_UR._sR=false;if(true===_UR._uR.loop)_0S(_UR,_nR,_bS,_1S)};if(!_dS){if(_1S!=undefined){if(!_cS.start)_cS.noteOn(_1S);else _cS.start(0,_1S);_UR.playbackpoint=_1S}else {_cS.start(0);_UR.playbackpoint=0}}}catch(_5S){debug("Audio_PlayUnstreamed exception: "+_5S)}}function _aS(_UR){if(_UR._sR){
if(_UR._zR)_gS(_UR);else _hS(_UR);_UR._vR=-1;_UR._sR=false}}function _gS(_UR){if(_UR._CR!=null){try{_UR._CR.pause();_UR._DR.disconnect();if(_UR._qR!=null)_UR._qR.disconnect();if(_UR._rR!=null){_UR._rR.disconnect();_UR._rR=null}}catch(_5S){debug("Audio_StopStreamed exception: "+_5S)}}}function _hS(_UR){try{if(_UR._vR>=_KQ&&_UR._vR<(_KQ+_NQ)){var _iS=_UR._vR-_KQ;_LQ[_iS]._fS.onended=null;_LQ[_iS]._fS.disconnect()}else if(_UR._uR!=null){_UR._uR.onended=null;_UR._uR.loop=false;_UR._uR.stop(0);_UR._uR.disconnect()}
if(_UR._qR!=null)_UR._qR.disconnect();if(_UR._rR!=null){_UR._rR.disconnect();_UR._rR=null}}catch(_5S){debug("Audio_StopUnstreamed exception: "+_5S)}}function _jS(_UR){if(!_UR.paused){if(_UR._zR)_kS(_UR);else _lS(_UR);_UR.paused=true}}function _kS(_UR){try{_UR._CR.pause()}catch(_5S){debug("Audio_PauseStreamed exception: "+_5S)}}function _lS(_UR){try{if(_UR._vR>=_KQ&&_UR._vR<(_KQ+_NQ)){var _iS=_UR._vR-_KQ;_LQ[_iS]._fS.disconnect(0);_LQ[_iS]._fS.onended=null}else {_UR._uR.onended=null;_UR._uR.stop(0);_UR.playbackpoint+=g_WebAudioContext.currentTime-_UR._tR}
}catch(_5S){debug("Audio_PauseUnstreamed exception: "+_5S)}}function _mS(_UR){if(_UR.paused){if(_UR._zR)_nS(_UR);else _oS(_UR);_UR.paused=false}}function _nS(_UR){if(_UR.paused){try{_UR._CR.play()}catch(_5S){debug("Audio_ResumeStreamed exception: "+_5S)}}}function _oS(_UR){try{if(_UR._vR>=_KQ&&_UR._vR<(_KQ+_NQ)){var _iS=_UR._vR-_KQ;_LQ[_iS]._fS.connect(_UR._qR);_LQ[_iS]._fS.onended=function(event){_UR._sR=false}}else {_UR._uR=g_WebAudioContext.createBufferSource();_UR._tR=g_WebAudioContext.currentTime;
_UR._qR=g_WebAudioContext.createGain();var _pS=_XR(_UR._vR);_UR._qR.gain.value=_UR.gain*_pS.gain;_UR._uR.connect(_UR._qR);_UR._uR.onended=function(event){_UR._sR=false};if(_UR._rR!=null){_UR._qR.connect(_UR._rR)}else {_UR._qR.connect(_7R)}_UR._uR.buffer=_pS.buffer;if(_UR._wR>0)_UR._uR.loop=true;{var _qS=Math.floor(_UR.playbackpoint/_UR._uR.buffer.duration);var _rS=_UR.playbackpoint-_qS*_UR._uR.buffer.duration;_UR._uR.start(0,_rS)}}}catch(_5S){debug("Audio_ResumeUnstreamed exception: "+_5S)}}function _sS(_UR){
var _tS=false;if(_UR._sR){return _UR.paused}return false}function _uS(_UR){var _vS=false;if(_UR._sR){if(_UR._zR)_vS=_wS(_UR);else _vS=_xS(_UR)}return _vS}function _xS(_UR){if(_UR._uR!=null){if((_UR._uR.playbackState==undefined||_UR._uR.playbackState!=_UR._uR.FINISHED_STATE)||_UR.paused){return true}}return false}function _wS(_UR){if(_UR._CR!=null){if(!_UR._CR.ended){return true}}return false}function _9S(_nR,_oR,_pR){if(_li!=_mi)return null;var _Q3;var _JR;for(_Q3=0;_Q3<_OQ;++_Q3){_JR=_yQ[_Q3];if(!_JR._sR){_JR._AI(_nR,
_oR,_pR);return _JR}else {var _yS=false;if(_JR._zR&&_JR._CR!=null){_yS=_JR._CR.ended}else {_yS=((_JR._uR.playbackState!=undefined&&_JR._uR.playbackState==_JR._uR.FINISHED_STATE)&&!_JR.paused);}if(_yS){_JR._AI(_nR,_oR,_pR);return _JR}}}if(_OQ<_FQ){var _zS=new _mR(_nR,_oR,_pR);_yQ[_OQ]=_zS;++_OQ;return _zS}var _AS=_oR;var _BS=-1;for(_Q3=0;_Q3<_OQ;++_Q3){_JR=_yQ[_Q3];if(_JR._yR<_AS){_BS=_Q3;_AS=_JR._yR}}if(_BS>=0){debug("killing sound on channel "+_BS);var _CS=_yQ[_BS];_aS(_CS);_CS._AI(_nR,_oR,_pR);return _CS}
debug("reached max sounds and no lower priority");return null}function _XR(_vR){var _WR=null;if(_vR>=0&&_vR<=audio_sampledata.length){_WR=audio_sampledata[_vR]}else {var _DS=_vR-_GQ;if(_DS>=0&&_DS<_JQ){_WR=_IQ[_DS]}else {var _iS=_vR-_KQ;if(_iS>=0&&_iS<_NQ){_WR=_MQ[_iS]}}}return _WR}function _68(_vR,_yR,_wR){var _WR=_XR(_vR);if(_WR==null){debug("audio_play_sound - invalid sound index: "+_vR);return -1}var _93=_WR._93;if(!_ES(_93)){debug(_FS(_vR)+": Audio Group "+_93+" is not loaded");return -1}var _zS=_9S(_vR,
_yR,_wR);if(_zS==null)return -1;_zS._qR.connect(_7R);_TR(_zS,_vR,(_wR>0));return _zS._tw}function _dR(){if(_li==_mi){if(document[_5R]==true){if(!_DQ){_DQ=true;_GS(true)}}else if(document[_5R]==false){if(_DQ){_HS(true);_DQ=false}}}}function _FS(_IS){if(_li==_mi){var _JS=-1;if(_IS>=_zQ){var _JR=_HR(_IS);if(_JR!=null){_JS=_JR._vR}}else {_JS=_IS}if(_JS>=0&&_JS<_bv._23.length){var name=_bv._23[_JS]._33;return name}}return "<undefined>"}var _KS;function _bR(_LS){if(_li!=_mi){return }var _MS=g_WebAudioContext.createPanner();
_KS=_MS.INVERSE_DISTANCE;if(_KS==undefined)_KS="inverse";switch(_LS){case _QQ._RQ:debug("Audio_falloff_none not supported in html5\n");break;case _QQ._SQ:_KS=_MS.INVERSE_DISTANCE;if(_KS==undefined)_KS="inverse";break;case _QQ._TQ:debug("Audio_falloff_inverse_distance_clamped not supported in html5\n");break;case _QQ._UQ:_KS=_MS.LINEAR_DISTANCE;if(_KS==undefined)_KS="linear";break;case _QQ._VQ:debug("Audio_falloff_linear_distance_clamped not supported in html5\n");break;case _QQ._WQ:_KS=_MS.EXPONENTIAL_DISTANCE;
if(_KS==undefined)_KS="exponential";break;case _QQ._XQ:debug("Audio_falloff_exponent_distance_clamped not supported in html5\n");break;default :debug("Attempting to set audio falloff to unknown model\n");break }}function _GS(_NS){for(var _Q3=0;_Q3<_OQ;++_Q3){var _JR=_yQ[_Q3];if(_JR._sR){if(!_JR.paused){_jS(_JR);if(_NS)_JR._xR=true}}}}function _58(){for(var _Q3=0;_Q3<_OQ;++_Q3){var _JR=_yQ[_Q3];if(_JR._sR){_aS(_JR)}}}function _OS(_PS){for(var _Q3=0;_Q3<_OQ;++_Q3){var _JR=_yQ[_Q3];if(_JR._sR){var _93=audio_sampledata[_JR._vR]._93;
if(_93==_PS){_aS(_JR)}}}}function _HS(_NS){for(var _Q3=0;_Q3<_OQ;++_Q3){var _JR=_yQ[_Q3];if(_JR._sR){if(_JR.paused){if(_NS){if(_JR._xR){_mS(_JR);_JR._xR=false}}else {_mS(_JR)}}}}}function _eR(_QS,_RS,_SS){if(_li==_mi){var _TS=g_WebAudioContext.listener;_TS.setPosition(_QS,_RS,_SS);_TS._fj._Zr=_QS;_TS._fj.__r=_RS;_TS._fj._0s=_SS}}function _fR(_QS,_RS,_SS,_US,_VS,_WS){if(_li==_mi){var _TS=g_WebAudioContext.listener;_TS.setOrientation(_QS,_RS,_SS,_US,_VS,_WS);_TS._9R[0]=_QS;_TS._9R[1]=_RS;_TS._9R[2]=_SS;_TS._9R[3]=_US;
_TS._9R[4]=_VS;_TS._9R[5]=_WS}}/*@this {XMLHttpRequest} */function _XS(e){if(_li!=_mi)return;var targetid=e.target.targetid;debug("error loading sound"+targetid);if(targetid==undefined){}else {debug("AudioError: "+this.URL);this.completed=false;_YS++;ClearEventListeners(this)}}/*@this {XMLHttpRequest} */function _ZS(e){if(_li!=_mi)return;var targetid=e.target.targetid;if(__S)debug("sound loaded"+targetid);if(targetid==undefined){}else {this.completed=true;ClearEventListeners(this);try{g_WebAudioContext.decodeAudioData(e.target.response,
function(buffer){var _pS=audio_sampledata[targetid];_pS.buffer=buffer;_YS++},function(err){debug("error decoding audio data:"+err);_YS++})}catch(_9y){debug("error decoding audio data: "+_9y.message);_YS++}}}function _0T(_LE,_Pi,_1T){var _pS=audio_sampledata[_Pi];_pS.buffer=null}function _2T(e){var targetid=e.target.targetid;debug("Audio_SoundReadyStateChange:targetid/readyState/status:"+targetid+'/'+e.target.readyState+'/'+e.target.status);}function _3T(e){var targetid=e.target.targetid;debug("Audio_SoundProgress:targetid/loaded/total:"+targetid+'/'+e._Mx+'/'+e._4T)}
function _5T(_LE,_Pi,_1T,_6T){_LE=_QR(_LE);if((_li!=_mi)||(_7T==false)){return undefined}var _PR;var index;index=_LE.indexOf(_1T);if(index>0){_LE=_LE.substr(0,index)}if(_RR){_1T="ogg"}else if(_SR){_1T="mp3"}else {_1T="ogg"}_LE=_LE+"."+_1T;var _dG=new XMLHttpRequest();_dG.open('GET',_LE,true);_dG.responseType='arraybuffer';_dG.targetid=_Pi;_dG.URL=_LE;_dG.completed=false;if(_6T!=undefined){_dG.targetid={_8T:_6T,_JS:_Pi};_dG.onload=_9T;_dG.onerror=_aT}else {_dG.onload=_ZS;_dG.onerror=_XS;_dG.ontimeout=_XS;
_dG._8F=_3T;_dG.onreadystatechange=_2T}_dG.send();_bT[_Pi]=_dG;return _Pi}var _cT="Unloaded";var _dT="Loading";var _eT="Loaded";var _fT="Unloading";var _gT=0;var _hT=[];/*@constructor */function _iT(_PS){this._93=_PS;this._jT=_cT;this._kT=0;this._lT=0;this._mT=[]}_iT.prototype._nT=function(_oT){this._mT.push(_oT)};_iT.prototype._pT=function(_qT){if(this._jT!=_qT){this._jT=_qT;debug("Audio Group "+this._93+"-> "+this._jT);if(_qT==_eT){var map=_X8();_q6._rT=map;_Z8(map,"type","audiogroup_load");_Z8(map,"group_id",
this._93);_29._39(_sT,0)}}};/*@this {XMLHttpRequest} */function _9T(e){var targetid=this.targetid._JS;var _tT=this.targetid._8T;if(__S)debug("sound loaded "+targetid);if(targetid!=undefined){e.target.completed=true;ClearEventListeners(this);try{g_WebAudioContext.decodeAudioData(e.target.response,function(buffer){var _pS=audio_sampledata[targetid];_pS.buffer=buffer;_tT._uT();},function(err){debug("error decoding audio data:"+err);_tT._uT()})}catch(_9y){debug("error decoding audio data: "+_9y.message);
_tT._uT()}}}/*@this {XMLHttpRequest} */function _aT(e){var targetid=this.targetid._JS;var _tT=this.targetid._8T;debug("error loading sound"+targetid);if(targetid!=undefined){debug("AudioError: "+this.URL);this.completed=false;ClearEventListeners(this);_tT._uT()}}_iT.prototype._uT=function(){this._kT--;if(this._mT.length>0){this._lT=((this._mT.length-this._kT)*100)/(this._mT.length);}if(this._kT<=0){this._pT(_eT)}};_iT.prototype._Jb=function(){if(this._jT!=_cT){return 0}if(this._mT.length==0){return 0}
this._pT(_dT);this._kT=this._mT.length;this._lT=0;var _Q3;for(_Q3=0;_Q3<this._mT.length;++_Q3){var index=this._mT[_Q3];if(_bv._23[index]._43==0||((_KR==_LR||_KR==_MR)&&_vT._23[index]._43>=0&&_vT._23[index]._43<=3)){var id=_5T(_Sb+_bv._23[index]._63,index,_bv._23[index]._53,this);if(id===undefined)this._uT()}else {this._uT()}}};_iT.prototype._wT=function(){if(this._jT==_eT){return 1}return 0};function _gR(){var index;var _xT=1;for(index=0;index<_bv._23.length;index++){if(_bv._23[index]!==null){var _pS=new _iR();
audio_sampledata[index]=_pS;_pS.buffer=null;var _yT=_bv._23[index].volume;_pS.gain=_yT;_pS._jR=_yT;_pS._kR=1.0;_pS._43=_bv._23[index]._43;if(_bv._23[index].duration!=undefined){_pS.duration=_bv._23[index].duration}_pS._93=0;var _93=_bv._23[index]._93;if(_93!=undefined){_pS._93=_93}}}}function _hR(){if(_bv._a3){var _Q3;_gT=_bv._a3.length;for(_Q3=0;_Q3<_gT;++_Q3){_hT[_Q3]=new _iT(_Q3)}for(_Q3=0;_Q3<audio_sampledata.length;++_Q3){var _JR=audio_sampledata[_Q3];if(_JR!=undefined){var _93=_JR._93;if(_hT[_93]!=undefined){
_hT[_93]._nT(_Q3)}}}}}function _ES(_PS){if(_PS==0){return 1}if(_PS>0&&_PS<_gT){var _tT=_hT[_PS];var _Av=_tT._wT();return _Av}return 0}function _zT(_AT){return _AT}function _BT(_AT){return _AT}navigator._CT=(navigator._CT||navigator._DT||navigator._ET||navigator._FT);var _GT=!1;var _HT=undefined;var _IT=0,_JT=1,_KT=2,_LT=3;function _qK(_IS){if(_MT._Si(_IS)==null)return false;return true}function _rK(_IS){var _NT=_MT._Si(_IS);if(_NT==null)return 0;return _NT.width}function _sK(_IS){var _NT=_MT._Si(_IS);if(_NT==null)return 0;
return _NT.height}var _OT=_PT;function _PT(_M9,_N9,_O9,_Ii,_Ji,_Ek,_Fk){var _QT=document.createElement(_nv);var _RT=_QT.getContext('2d');_ST(_RT);var _TT=_MT._Si(_M9);_TT._Ea++;_QT.width=_TT.width;_QT.height=_TT.height;_RT._UT(canvas,_N9,_O9,_Ii,_Ji,0,0,_QT.width,_QT.height);if(_Ek){_QT.complete=_Lk(_RT,_Ii,_Ji)}else {_QT.complete=true}_TT._Ea++;var _Ok=new _Pk();_TT._VT[_TT._VT.length]=_Ok;_Ok.x=0;_Ok.y=0;_Ok._S3=_TT.width;_Ok._T3=_TT.height;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ok._S3;
_Ok._l5=_Ok._T3;_Ok._m5=_WT(_QT);_Ok._Hb=_Ib[_Ok._m5];return _M9}var _XT=_YT;function _YT(_Pi,_N9,_O9,_Ii,_Ji,_Ek,_Fk,_ZT,__T){var _QT=document.createElement(_nv);var _RT=_QT.getContext('2d');_ST(_RT);_QT.width=_Jk._Si(_Pi).width;_QT.height=_Jk._Si(_Pi).height;_RT._UT(_Jk._Si(_Pi),0,0);if(_Ek){_QT.complete=_Lk(_RT,_Ii,_Ji)}else {_QT.complete=true}var _TT=new _0U();var _1U=_MT._2U(_TT);_TT._33="surface.copy";_TT.width=_Ii;_TT.height=_Ji;_TT._3U=new __v();_TT._3U.right=_TT.width;_TT._3U.bottom=_TT.height;_TT._c3=true;
_TT._d3=true;_TT.preload=true;_TT._4U=0;_TT._5U=false;_TT._f3=_ZT;_TT._g3=__T;_TT._6U=true;_TT._Ea=1;_TT._7U=false;_TT._8U=false;_TT._Fa=[];_TT._VT=[];_TT._p3=[];_TT._9U();var _Ok=new _Pk();_TT._VT[0]=_Ok;_Ok.x=0;_Ok.y=0;_Ok._S3=_TT.width;_Ok._T3=_TT.height;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;_Ok._m5=_WT(_QT);_Ok._Hb=_Ib[_Ok._m5];_aU(_Ok);return _1U}var _bU=_cU;function _cU(_M9,_Pi,_N9,_O9,_Ii,_Ji,_Ek,_Fk){var _QT=document.createElement(_nv);var _RT=_QT.getContext('2d');
_ST(_RT);var _TT=_MT._Si(_M9);_TT._Ea++;_QT.width=_TT.width;_QT.height=_TT.height;_RT._UT(_Jk._Si(_Pi),0,0,_Ii,_Ji,0,0,_QT.width,_QT.height);if(_Ek){_QT.complete=_Lk(_RT,_Ii,_Ji)}else {_QT.complete=true}var _Ok=new _Pk();_TT._VT[_TT._VT.length]=_Ok;_Ok.x=0;_Ok.y=0;_Ok._S3=_TT.width;_Ok._T3=_TT.height;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;_Ok._m5=_WT(_QT);_Ok._Hb=_Ib[_Ok._m5];return _M9}var _dU=_eU;function _eU(_M9){var _NT=_MT._Si(_M9);if(_NT==null)return 0;var _TT=new _0U();
var _1U=_MT._2U(_TT);_TT._33=_NT._33+".copy";_TT.width=_NT.width;_TT.height=_NT.height;_TT._3U._Li(_NT._3U);_TT._c3=_NT._c3;_TT._d3=_NT._d3;_TT.preload=_NT.preload;_TT._4U=_NT._4U;_TT._5U=_NT._5U;_TT._f3=_NT._f3;_TT._g3=_NT._g3;_TT._6U=true;_TT._Ea=_NT._Ea;_TT._fU=_NT._fU;_TT._7U=_NT._7U;_TT._j3=_NT._j3;_TT._k3=_NT._k3;_TT._8U=_NT._8U;_TT._Fa=[];_TT._VT=[];_TT._p3=[];for(var _Q3=0;_Q3<_NT._Ea;_Q3++){var _Ok=new _Pk();_TT._VT[_Q3]=_Ok;_Ok._6U(_NT._VT[_Q3]);var _gU=_hU(_NT._VT[_Q3]);_Ok._m5=_WT(_gU);_Ok.x=0;
_Ok.y=0;_Ok._Hb=_Ib[_Ok._m5]}return _1U}function _iU(_jU,_kU,_lU,_mU,_He,_nU){var _S3=_kU._k5;var _T3=_kU._l5;var _oU=[];var _pU=_T3*_S3;for(var _Pa=0;_Pa<_pU;_Pa++)_oU[_Pa]=false;if(_He==_IT){var _qU=_rU(_kU);var index=0;for(var _Q3=0;_Q3<_qU.length;_Q3+=4){if(_qU[_Q3+3]>_nU){_oU[index]=true}else {_oU[index]=false}index++}}else {switch(_He){case _JT:{for(var y=_mU.top;y<=_mU.bottom;y++){for(var x=_mU.left;x<=_mU.right;x++){_oU[x+(y*_S3)]=true}}break }case _KT:{var _5b=(_mU.left+_mU.right)/2;var _9d=_5b-_mU.left+0.5;
var _6b=(_mU.top+_mU.bottom)/2;var _ad=_6b-_mU.top+0.5;for(var y=_mU.top;y<=_mU.bottom;y++){for(var x=_mU.left;x<=_mU.right;x++){if((_9d>0)&&(_ad>0)){_oU[x+(y*_S3)]=_9b((x-_5b)/_9d)+_9b((y-_6b)/_ad)<1}}}break }case _LT:{var _5b=(_mU.left+_mU.right)/2;var _9d=_5b-_mU.left+0.5;var _6b=(_mU.top+_mU.bottom)/2;var _ad=_6b-_mU.top+0.5;for(var y=_mU.top;y<=_mU.bottom;y++){for(var x=_mU.left;x<=_mU.right;x++){if((_9d>0)&&(_ad>0)){_oU[x+(y*_S3)]=Math.abs((x-_5b)/_9d)+Math.abs((y-_6b)/_ad)<1}}}break }}}if(_jU!=null){for(var _Q3=0;
_Q3<_oU.length;_Q3++){if(_jU[_Q3])_oU[_Q3]=true;}}return _oU}function _sU(_tU,_uU){if(_qK(_tU)){var _vU=_MT._Si(_tU);var _Ok=_vU._wU(~~_uU);if(_Ok){return({_Ie:_Ok._Hb,_Je:_Ok})}}return null}function _Yv(_o9){return String.fromCharCode(_o9)}function _xU(_1x){if(!_1x||_1x=="")return 0;return _1x.charCodeAt(0)}function _tG(_1x){if(_1x==undefined){return 0}else if(typeof(_1x)=="boolean"){if(_1x)return 1;else return 0}else if(typeof(_1x)=="number"){return _1x}return parseFloat(_1x)}function _F6(_lj,_hJ){if(_hJ===undefined)_hJ=0;
if(_hJ>64)return " recursion error ";if(_lj==undefined){return "undefined"}if(_lj instanceof Array){var _Yi="{";for(var _Q3=0;_Q3<_lj.length;++_Q3){if(_Q3!=0)_Yi+=",";_Yi+=_F6(_lj[_Q3],_hJ+1)}_Yi+="}";return _Yi}else if(typeof(_lj)=="number"){if((~~_lj)!=_lj){return _lj.toFixed(2).toString()}else {return _lj.toString()}}else if(typeof(_lj)=="boolean"){if(_lj)return "1";else return "0"}else {return _lj.toString()}}var _yU=[];function _zU(_AU){debug("myBrandConnectReadyEvent");_yU=_AU}function _BU(){_Ev()}function _CU(){
_DU=true;debug("myBrandConnectDoneEvent")}function _EU(){var _FU=document.getElementById("ssaBrandConnectInterstitial");var _GU=document.getElementById("gm4html5_div_id");_GU.appendChild(_FU);_rv()}var _HU=!1;var _DU=!1;var ssa_json={'applicationUserId':'1234','applicationKey':'2b46ec59','onCampaignsReady':_zU,'onCampaignsDone':_CU,'onCampaignClose':_BU,'onCampaignOpen':_EU,'maxWidth':1000,'maxHeight':700};var _IU=(function(_Al,_Ka){var _fc=_Al.createElement(_Ka),_Rw=_Al.getElementsByTagName(_Ka)[0];_fc._qw=!0;
_fc.src=('https:'!=location.protocol?'http://jsd.supersonicads.com':'https://a248.e.akamai.net/ssastatic.s3.amazonaws.com')+'/inlineDelivery/delivery.min.gz.js';_Rw.parentNode.insertBefore(_fc,_Rw)});var _JU=ads_engagement_launch;function ads_engagement_launch(_KU,_LU){if(SSA_CORE!=undefined)SSA_CORE.BrandConnect.engage()}var _MU=[];var _NU=_OU;function _OU(_Pi,_Ii,_Ji){if(_Pi==_PU){_QU=true;_RU=_Ii;_SU=_Ji;return 1}if(!_TU(_Pi)){_Ti("Surface does not exist");return 0}_Hk(_Ii,_Ji,_Pi);return 0}var _Hk=_UU;
function _UU(_Ii,_Ji,_VU){var _Vk=document.createElement(_nv);_Vk._1f=_Vk.width=_Ii;_Vk._2f=_Vk.height=_Ji;_Vk.complete=true;_Vk._WU=false;_Vk.name="";_Vk._Ic=_Vk.getContext('2d');_ST(_Vk._Ic);var _Ok=new _Pk();_Vk._XU=_Ok;_Ok.x=0;_Ok.y=0;_Ok._S3=_Ii;_Ok._T3=_Ji;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;if(_VU!=undefined){_Jk._sj(_VU,_Vk);_Ok._m5=_VU}else {_Ok._m5=_Jk._4j(_Vk)}_Ok._Hb=_Vk;_Ok._Eb=[];_Ok._Fb=0;_Ok._Gb=4;_Ok._YU=0;_Ok._ZU=null;_Ok._QT=_Vk;return _Ok._m5}
var __U=_0V;function _0V(_Pi){_Jk._7j(_Pi)}function _TU(_Pi){if(_Jk._Si(_Pi)!=null)return 1;else return 0}function _1V(_Pi){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){return _Vk._1f}return 0}function _2V(_Pi){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){return _Vk._2f}return 0}function _3V(_Pi){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){return({_Ie:_Vk._Hb,_Je:_Vk._XU})}return -1}var _4V=_5V;function _5V(_Pi){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){_Ic._8A();_MU.push(_Ic);_Vk._Ic._6V=_Pi;_Ic=_Vk._Ic;_7V(_Ic);g_CurrentGraphics=_Ic;_8V=false}}var _9V,
_aV,_bV,_cV;var _dV=_eV;function _eV(_Pi){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){_fV.left=_vC.left;_fV.top=_vC.top;_fV.right=_vC.right;_fV.bottom=_vC.bottom;_vC.left=0;_vC.top=0;_vC.right=_Vk._1f;_vC.bottom=_Vk._2f;_gV._Li(_hV);_iV=_hV;_hV._cD=0;_hV._eD=0;_hV._gD=_Vk._1f;_hV._iD=_Vk._2f;_hV._jV=0;_hV._kV=0;_hV._lV=_Vk._1f;_hV._mV=_Vk._2f;_hV._6i=0;_hV._8i=0;_hV._nV=_Vk._1f;_hV._oV=_Vk._2f;_hV._7i=_hV._6i+_hV._nV;_hV._9i=_hV._8i+_hV._oV;_Ic._8A();_MU.push(_Ic);_9V=_bA;_aV=_cA;_bV=_dA;_cV=_eA;_pV(0,0,_Vk._1f,
_Vk._2f);_qV(0,0,_Vk._1f,_Vk._2f);g_CurrentGraphics=_Vk._Ic;_Ic=_Vk._Ic;_7V(_Ic);_Ic._8A();_8V=true;_pE();if(_tb){_tb._rV()}}}var _sV=_tV;function _tV(){if(_8V){_vC=_fV;_iV._Li(_gV);_pV(_9V,_aV,_bV,_cV);_qV(_hV._cD,_hV._eD,_hV._gD,_hV._iD);_Ic._fA()}var _uV=_MU.pop();_Ic=_uV?_uV:_vV;g_CurrentGraphics=_Ic;_Ic._fA();_7V(_Ic);_pE()}function _zB(_wV,_N9,_O9){var data=null;var _Kk=_wV.getContext('2d');try{data=_Kk._xV(_N9,_O9,1,1)}catch(_9y){return 0xff000000}var _yV=data.data;var index=0;var _zV=_yV[index]&0xff;
var _AV=_yV[index+1]&0xff;var _BV=_yV[index+2]&0xff;var _CV=_yV[index+3]&0xff;return(_zV|(_AV<<8)|(_BV<<16)|(_CV<<24))}var _DV=_EV;var _FV=_GV;function _EV(_Pi,_N9,_O9){return _GV(_Pi,_N9,_O9)&0xffffff}function _GV(_Pi,_N9,_O9){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){return _zB(_Vk,_gj(_N9),_gj(_O9))}return 0x00000000}var _HV=_IV;function _IV(_Pi,_N9,_O9){var _Vk=_Jk._Si(_Pi);if(!_Vk)return;_N9=~~_N9;_O9=~~_O9;var alpha=_Ic.globalAlpha;{_Ic.globalAlpha=_Oe;_Ic._UT(_Vk,_N9,_O9)}_Ic.globalAlpha=alpha}function _JV(_Pi,
_N9,_O9,_Ii,_Ji){var _Vk=_Jk._Si(_Pi);if(!_Vk)return;_KV(_Vk._XU,_N9,_O9,_Ii,_Ji,0xffffff,1.0)}var _LV=_MV;function _MV(_Pi,_N9,_O9,_4t,_5t,_NV,_Re){_Ad("draw_surface_tiled_ext()")}function _OV(_PV,_N9,_O9,_QV){var _Ik=_Jk._Si(_PV);var _Sk=_Jk._Si(_QV);if(_Ik!=null&&_Sk!=null){var _Kk=_Ik.getContext('2d');_Kk.save();_Kk.globalCompositeOperation='copy';_Kk.drawImage(_Sk,_N9,_O9);_Kk.restore()}}function _RV(_PV,_N9,_O9,_QV,_SV,_TV,_UV,_VV){var _Ik=_Jk._Si(_PV);var _Sk=_Jk._Si(_QV);if(_Ik!=null&&_Sk!=null){var _9A=[];
var _Kk=_Ik.getContext('2d');_Kk.save();_9A[0]=1;_9A[1]=0;_9A[2]=0;_9A[3]=1;_9A[4]=0;_9A[5]=0;_Kk.setTransform(_9A[0],_9A[1],_9A[2],_9A[3],_9A[4],_9A[5]);_Kk.beginPath();_Kk.rect(_N9,_O9,_UV,_VV);_Kk.clip();_Kk.globalCompositeOperation='copy';_Kk.drawImage(_Sk,_SV,_TV,_UV,_VV,_N9,_O9,_UV,_VV);_Kk.restore()}}function _T7(_Zj){var index;index=_Zj._WV;_cb=_Zj;{var _vU=_MT._Si(index);if(_vU!=null){_vU._6c(Math.floor(_Zj._yH),_Zj.x,_Zj.y,_Zj._XV,_Zj._YV,_Zj._f7,_Zj._ZV,_Zj._48)}}_cb=null}function _S7(_0l,
__V,_0W,_N9,_O9,_4t,_5t,_1W,_5f,_Re){if(_0W<0)_0W=~~_0l._yH;var _NT=_MT._Si(__V);if(_NT!=null){_Re=min(1.0,_Re);_NT._6c(_0W,_N9,_O9,_4t,_5t,_1W,_Se(_5f),_Re)}}function _U7(_0l,__V,_0W,_N9,_O9){if(_0W<0)_0W=~~_0l._yH;var _NT=_MT._Si(__V);if(_NT!=null){_NT._2W(_0W,_N9,_O9,_Oe)}}function _A6(_Pi,_Qe){var _3W=_h9._4W[_Pi];if(!_3W)return;_3W._xH=_Se(_Qe)}function _y6(_hJ){var _d5=[];var index=0;for(var _5W in _h9._4W){if(!_h9._4W.hasOwnProperty(_5W))continue;var _3W=_h9._4W[_5W];if(_3W&&_3W._44==_hJ){_d5[index]=_3W.id;
index++}}return _d5}function _6W(_7W,_8W){if(_7W){if(_8W===undefined){canvas.style.cursor=""}else {canvas.style.cursor=_8W}}else {canvas.style.cursor="none"}}function _9W(_Qe){_aW=_Se(_Qe)}var _bW=_9W;function _cW(){return _Se(_aW)}var _dW=_cW;function _s8(_N9,_O9){var _eW=document.getElementById(_nv);for(var _fW=_eW;_fW;_fW=_fW.parentNode){var position;if(_fW["currentStyle"]){position=_fW["currentStyle"]["position"]}else if(window.getComputedStyle){try{var style=window.getComputedStyle(_fW,null);if(style){position=style.getPropertyValue("position")}
}catch(e){}}if(position&&(position=="fixed")){debug("Warning: Canvas position fixed. Ignoring position alterations");return }}_eW.style.position="absolute";_eW.style.left=_N9+"px";_eW.style.top=_O9+"px"}function _r8(_Ii,_Ji){canvas.width=_Ii;canvas.height=_Ji;_wB=_Ii;_yB=_Ji;_gW=canvas.width;_hW=canvas.height;_4i(canvas,_5i);_iW=_5i.top;_jW=_5i.left;_kW=_5i.right;_lW=_5i.bottom;_mW=_gW;_nW=_hW;_oW=_Ii;_pW=_Ji;_qW=1;_rW=1}function _t8(){return _kW-_jW}function _u8(){return _lW-_iW}var _sW;var _tW;var _uW;
var _vW;var _wW;var _xW;var _yW;var _zW;var _AW;var _BW;var _CW;var _DW;var _EW=0;var _FW=1,_GW=2,_HW=3,_IW=4,_JW=5,_KW=6;var _LW=aa_1241_kz();function aa_1241_kz(){return 0x87155211}/*@constructor */function _MW(){var _NW=null;if(window.XMLHttpRequest){_NW=new XMLHttpRequest()}if(typeof(XMLHttpRequest)=="undefined"){_NW=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 _Ti("This browser does not support XMLHttpRequest.")}
}this._OW=_NW;this._PW=false}var _QW=new _MW();function _RW(){}var _SW=_TW;function _TW(_7W){}var _UW=_VW;function _VW(){return false}var _WW=_XW;function _XW(){}var _YW=_ZW;function _ZW(){}var __W=_0X;function _0X(){}var _1X=_2X;function _2X(){}var _3X=_4X;function _4X(){}var _5X=_6X;function _6X(){}var _7X=_8X;function _8X(){}var _9X=_aX;function _aX(){}var _bX=_cX;function _cX(){}var _dX=_eX;function _eX(){}var _fX=_gX;function _gX(){}var _hX=_iX;function _iX(){return -1}var _jX=_kX;function _kX(){}var _lX=_mX;function _mX(){}var _nX=_oX;
function _oX(){}var _pX=_qX;function _qX(){return _rX}function _sX(){return _tX}function _uX(){return _0F}function _vX(){return _wX}var _xX=_yX;function _yX(_LE,_zX,_AX){if(_zX!="_self"&&_zX!="_blank"&&_zX!="_parent"&&_zX!="_top"){_Ti("Error: invalid TARGET specified. Only '_self', '_blank', 'parent' or '_top' supported. (YoYo_OpenURL)");return }var _Mx=window.open(_LE,_zX,_AX)}var _BX=_CX;function _CX(_LE,_zX){_xX(_LE,_zX,"scrollbars=yes,menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes")}var _DX=_EX;
function _EX(_LE){_BX(_LE,"_self")}var _FX=_GX;function _GX(_HX,_IX){}var _JX=_KX;function _KX(_HX,_LX){}var _MX=null;var _NX=null;var _OX=null;var _PX=_QX;function _QX(_dv,_RX,_SX,_TX){}var _Ez=_9k;function _9k(){var _Ka=new Date().getTime()*1000;return _Ka-_sW}var _UX=_VX;function _VX(_N9,_O9,_Ii,_Ji,_WX){var _XX=_YX();_XX.x=_N9;_XX.y=_O9;_XX._S3=_Ii;_XX._T3=_Ji;_XX._wu=_WX;_XX._xa=_N9+_Ii;_XX._ya=_O9+_Ji;_XX.button=_XX._sc=_XX._uc=0;_XX._ZX=__X;return(_XX.index+1)}var _0Y=_1Y;function _1Y(_Pi){if(_Pi<0)return;var index=_Pi-1;
if((index<0)||(index>=_2Y.length)){debug("Invalid index when deleting virtual key")}_3Y(_Pi-1)}function _4Y(){_5Y=[];for(var _Ga=0;_Ga<_2Y.length;++_Ga){var _6Y=_2Y[_Ga];if((_6Y._ZX&_7Y)!=0)_5Y[_5Y.length]=_6Y}}var _8Y=_9Y;function _9Y(_Pi){if(_Pi<0)return;_Pi--;if(!_2Y[_Pi])return;_2Y[_Pi]._ZX|=_7Y;_4Y()}var _aY=_bY;function _bY(_Pi){if(_Pi<0)return;_Pi--;if(!_2Y[_Pi])return;_2Y[_Pi]._ZX&=~_7Y;_4Y()}var _cY=_dY;function _dY(){return 0}var _eY=_fY;function _fY(){return 0}var _gY=_hY;function _hY(){return 0}var _iY=_jY;
function _jY(){_gv("device_ios_get_imagename()")}var _kY=_lY;function _lY(){_gv("device_ios_get_image()")}var _mY=_nY;function _nY(){_gv("openfeint_start()")}var _oY=_pY;function _pY(_aL,_kA){_gv("achievement_map_achievement()")}var _qY=_rY;function _rY(_aL,_kA,_sY){_gv("achievement_map_leaderboard()")}var _tY=_uY;function _uY(_aL,_kA,_sY){_gv("openfeint_send_challenge()")}var _vY=_wY;function _wY(_aL){_gv("openfeint_send_invite()")}var _xY=_yY;function _yY(_aL,_kA,_sY){_gv("openfeint_send_social()")}var _zY=_AY;
function _AY(_aL){_gv("openfeint_set_url()")}var _BY=_CY;function _CY(){_gv("openfeint_accept_challenge()");return ""}var _DY=_EY;function _EY(){_gv("achievement_is_online()");return false}var _FY=_GY;function _GY(_aL,_kA){_gv("openfeint_send_result()")}var _HY=_IY;function _IY(){return false}function _JY(){_sW=new Date().getTime()*1000;var _Ka=0;for(var _Q3=0;_Q3<12;_Q3++){_Iu[_Q3]=_Ka;_Ka+=_Hu[_Q3]}_tW=0;_uW=1;_vW=2;_wW=3;_xW=4;_yW=5;_zW=0;_AW=1;_BW=2;_CW=0;_DW=1}function _KY(){var _Ka=setTimeout(function(){for(var _LY in _MT._b3){
if(!_MT._b3.hasOwnProperty(_LY))continue;_MT._LJ(_LY);break }_KY();},1000)}var _MY=_NY;function _NY(){return document.domain}function _OY(_PY,_QY){for(var _RY in _PY){var _SY=_PY[_RY];if(_SY instanceof Array){var _TY=_0j();_aj(_QY,_TY);_OY(_SY,_TY)}else if(typeof(_SY)=="object"){var _UY=_X8();_aj(_QY,_UY);_Gw(_SY,_UY)}else if(typeof(_SY)=="string"){_aj(_QY,_SY)}}}function _Gw(_Kb,_Cw){for(var _vu in _Kb){if(_Kb.hasOwnProperty(_vu)){var _SY=_Kb[_vu];if(_SY instanceof Array){var _VY=_0j();_Z8(_Cw,_vu,_VY);_OY(_SY,_VY)}else if(typeof(_SY)=="object"){
var _WY=_X8();_Z8(_Cw,_vu,_WY);_Gw(_SY,_WY)}else if(typeof(_SY)=="string"){_Z8(_Cw,_vu,_SY)}}}}var _XY=_YY;function _YY(){}var _ZY=__Y;var _hw=_6w;function __Y(){return _hw}var _0Z=_uw;var _1Z=_yw;var _2Z=_Hw;var _3Z=_4Z;function _4Z(){debug("facebook_logout");FB.logout(function(response){if(response.status!='connected'){_hw=_6w;_dw="";g_fbOAuthToken=""}});return 0}var _5Z=_6Z;function _6Z(_7Z,_YG){if(_7Z==0){return _H7(_YG)}else {if(_gi[_7Z]&&(_YG<=1)){return _gi[_7Z]._Fg}}return 0}var _8Z=_07;function _07(_7Z,_YG){
if(_7Z==0){return _VG(_YG)}else {if(_gi[_7Z]&&(_YG<=1)){return _gi[_7Z]._Ag}}return 0}var _9Z=_aZ;function _aZ(_7Z,_YG){if(_7Z==0){return _WG(_YG)}else {if(_gi[_7Z]&&(_YG<=1)){return _gi[_7Z]._Eg}}return 0}var _bZ=_cZ;function _cZ(_7Z){if(_7Z==0){return _q6._27}else if(_gi[_7Z]){return _gi[_7Z].x}return 0;}var _dZ=_eZ;function _eZ(_7Z){if(_7Z==0&&_fZ[0]){return _fZ[0].x}else if(_gi[_7Z]){return _gi[_7Z].x}return 0}var _gZ=_hZ;function _hZ(_7Z){if(_7Z==0){return _q6._37}else if(_gi[_7Z]){return _gi[_7Z].y}return 0}var _iZ=_jZ;
function _jZ(_7Z){if(_7Z==0&&_fZ[0]){return _fZ[0].y}else if(_gi[_7Z]){return _gi[_7Z].y}return 0}var _kZ=_lZ;function _lZ(){return _mZ}var _nZ=_oZ;function _oZ(){return _pZ};function _qZ(){var _fM=0;var _gM=0;var _rZ=0;var _sZ=0;canvas=document.getElementById(_nv);var _tZ=_gW;var _uZ=_hW;if(_vZ&&_wZ){var _S3=_xZ;var _T3=_yZ;var _Mm,_8b,_7b;_Mm=_S3/_T3;_8b=_tZ/_Mm;if(_8b<_uZ){_Mm=_T3/_S3;_8b=_tZ*_Mm;_gM=(_uZ-_8b)/2;_7b=_tZ;_8b+=_gM}else {_Mm=_S3/_T3;_7b=_uZ*_Mm;_fM=(_tZ-_7b)/2;_8b=_uZ;_7b+=_fM}_rZ=_7b;_sZ=_8b}else {_rZ=_tZ;
_sZ=_uZ}_zZ.x=_fM;_zZ.y=_gM;_zZ._S3=_rZ-_fM;_zZ._T3=_sZ-_gM}function _P6(){return 0}(function(){'use strict';Function.prototype._AZ=function(parent){this.prototype.parent=parent;for(var x in parent.prototype){if(!this.prototype[x])this.prototype[x]=parent.prototype[x]}};Function.prototype._BZ=function(parent){return this._AZ(parent)};Array.prototype._CZ=function(_K3,_av,_DZ){if(typeof(_K3)==='undefined')_K3=0;if(typeof(_av)==='undefined')_av=this.length-_K3;if(typeof(_DZ)==='undefined')_DZ=function(_gc,
_La){return _gc<_La};var left=_K3,_EZ=[],_fj=0;for(;;){for(;left+1<_av;_av++){var _FZ=this[left+Math.floor(Math.random()*(_av-left))];_EZ[_fj++]=_av;for(var right=left-1;;){while(_DZ(this[++right],_FZ)){}while(_DZ(_FZ,this[--_av])){}if(right>=_av)break;var _1B=this[right];this[right]=this[_av];this[_av]=_1B}}if(_fj===0)break;left=_av;_av=_EZ[--_fj]}return this};Array.prototype._GZ=function(_HZ,length){if(typeof(length)==='undefined')length=this.length;var _Ga=0;for(var _R3=0;_R3<length;++_R3){if(_HZ(this[_R3]))continue;
if(_R3===_Ga){++_Ga;continue }this[_Ga++]=this[_R3]}return _Ga};Array.prototype._IZ=function(_K3,_L3,_ug,_DZ){if(typeof(_DZ)==='undefined')_DZ=function(_gc,_La){return _gc<_La};var _Fb=_L3-_K3;while(_Fb>0){var _JZ=Math.floor(_Fb/2);var _KZ=_K3+_JZ;if(_DZ(this[_KZ],_ug)){_K3=++_KZ;_Fb-=_JZ+1}else _Fb=_JZ}return _K3};Array.prototype._LZ=function(_K3,_L3,_ug,_DZ){if(typeof(_DZ)==='undefined')_DZ=function(_gc,_La){return _gc<_La};var _Fb=_L3-_K3;while(_Fb>0){var _JZ=Math.floor(_Fb/2);var _KZ=_K3+_JZ;if(!_DZ(_ug,
this[_KZ])){_K3=++_KZ;_Fb-=_JZ+1}else _Fb=_JZ}return _K3};Array.prototype.rotate=function(_K3,_MZ,_L3){var _zj=_MZ;while(_K3!=_zj){var _NZ=this[_K3];this[_K3]=this[_zj];this[_zj]=_NZ;++_K3;++_zj;if(_zj===_L3)_zj=_MZ;else if(_K3===_MZ)_MZ=_zj}};var _OZ=(function(){var _PZ=function(){return +new Date()};if(typeof(performance)==='undefined')window['performance']={now:_PZ};if(!window['performance'].now)window['performance'].now=_PZ;function _QZ(name,parent){this.name=name;this.parent=parent;this._RZ={};this._SZ=0;
this._TZ=0;this._UZ=0;this._VZ=!1;this._WZ=0}_QZ.prototype={start:function(){this._SZ=performance.now();this._VZ=!0},stop:function(_XZ){if(!this._VZ)return;this._VZ=!1;this._TZ+=performance.now()-this._SZ;if(_XZ)this.start();for(var x in this._RZ)this._RZ[x].stop()},_XZ:function(_YZ){if(!_YZ){this._VZ=!0;this._UZ+=this._TZ;this.start()}this._TZ=0;for(var x in this._RZ)this._RZ[x]._XZ(!0)}};var _ZZ=[];var _a9=new _QZ("root");function __Z(name,parent){if(!_ZZ)throw new Error("late profile creation not allowed");
var _Rw=new _QZ(name,parent||'root');_ZZ.push(_Rw);return _Rw}function _0_(_1_){_1_._WZ--;delete _1_._RZ[_1_.name]}function _2_(_fW,_1_){if(_fW.name===_1_.parent)return _fW;for(var x in _fW._RZ){var _ra;if(_ra=_2_(_fW._RZ[x],_1_))return _ra}return null}function init(){while(_ZZ.length){var _KA=_ZZ.pop();if(!(_KA.parentNode=_2_(_a9,_KA)))_ZZ._3_(_KA);else {_KA.parentNode._RZ[_KA.name]=_KA;_KA.parentNode._WZ++}}_ZZ=null}function _4_(){_a9._XZ(!0)}var _Yi={__Z:__Z,_0_:_0_,init:init,_XZ:_4_,_5_:_a9};return _Yi}());function _6_(_7_){
if(!_7_){console.log("Assertion failed! Pls debug.");debugger}}var _8_=Number.MAX_VALUE;var _9_=2.2204460492503131e-016;var _a_=Math.PI;/// @file
var _b_=2;var _c_=8;var _d_=0.1;var _e_=2.0;var _f_=0.005;var _g_=(2.0/180.0*_a_);var _h_=(2.0*_f_);var _i_=8;var _j_=32;var _k_=1.0;var _l_=0.2;var _m_=(8.0/180.0*_a_);var _n_=2.0;var _o_=(_n_*_n_);var _p_=(0.5*_a_);var _q_=(_p_*_p_);var _r_=0.2;var _s_=0.75;var _t_=0.5;var _u_=0.01;var _v_=(2.0/180.0*_a_);var _w_=(-1);var _x_=0.75;var _y_=1.0;var _z_=5.0;var _A_=2;var _B_=(_A_*_A_);
var _C_=256;function _D_(_E_,_F_,_G_){this._H_=_E_;this._I_=_F_;this._J_=_G_}_D_.prototype={toString:function(){return this._H_+'.'+this._I_+'.'+this._J_}};var _K_=new _D_(2,3,1);function _L_(x){return isFinite(x)&&!isNaN(x)}var _M_=Math.sqrt;var _N_=Math.atan2;var _O_=Math.sin;var _P_=Math.cos;var _Q_=Math.floor;var _R_=Math.ceil;var _S_=_M_;var _T_=_N_;function _U_(x){return 1.0/_M_(x)}function _V_(x,y){if(typeof(x)!=='undefined'){this.x=x;this.y=y}else this.x=this.y=0}_V_.prototype={_O8:function(){return new _V_(this.x,
this.y)},_W_:function(){this.x=0.0;this.y=0.0;return this},_sj:function(_X_,_Y_){this.x=_X_;this.y=_Y_;return this},_Z_:function(_Ga){this.x=_Ga.x;this.y=_Ga.y;return this},___:function(){var _uc=new _V_();_uc._sj(-this.x,-this.y);return _uc},_001:function(_Q3){switch(_Q3){case 0:return this.x;case 1:return this.y}},_101:function(_Q3,_uc){switch(_Q3){case 0:return this.x=_uc;case 1:return this.y=_uc}},_4j:function(_uc){this.x+=_uc.x;this.y+=_uc.y;return this},_201:function(_uc){this.x-=_uc.x;this.y-=_uc.y;return this}
,Multiply:function(_gc){this.x*=_gc;this.y*=_gc;return this},Length:function(){return _S_(this.x*this.x+this.y*this.y)},_301:function(){return this.x*this.x+this.y*this.y},_401:function(){var length=this.Length();if(length<_9_){return 0.0}var _501=1.0/length;this.x*=_501;this.y*=_501;return length},_601:function(){return _L_(this.x)&&_L_(this.y)},_701:function(){return new _V_(-this.y,this.x)},_801:function(_901){var _Dw=_901||[];_Dw[0]=this.x;_Dw[1]=this.y;return _Dw},_a01:function(data){this.x=data[0];this.y=data[1]}
};_V_._4j=function(_gc,_La){return new _V_(_gc.x+_La.x,_gc.y+_La.y)};_V_._201=function(_gc,_La){return new _V_(_gc.x-_La.x,_gc.y-_La.y)};_V_._b01=function(_gc,_La){return _gc.x==_La.x&&_gc.y==_La.y};_V_.Multiply=function(_Rw,_gc){return new _V_(_Rw*_gc.x,_Rw*_gc.y)};_V_.___=function(_gc){return new _V_(-_gc.x,-_gc.y)};function _c01(x,y,_Pd){if(typeof(x)!=='undefined'){this.x=x;this.y=y;this._Pd=_Pd}}_c01.prototype={_O8:function(){return new _c01(this.x,this.y,this._Pd)},_W_:function(){this.x=0.0;this.y=0.0;
this._Pd=0.0},_sj:function(_X_,_Y_,_d01){this.x=_X_;this.y=_Y_;this._Pd=_d01},___:function(){var _uc=new _c01();_uc._sj(-this.x,-this.y,-this._Pd);return _uc},_4j:function(_uc){this.x+=_uc.x;this.y+=_uc.y;this._Pd+=_uc._Pd},_201:function(_uc){this.x-=_uc.x;this.y-=_uc.y;this._Pd-=_uc._Pd},Multiply:function(_Rw){this.x*=_Rw;this.y*=_Rw;this._Pd*=_Rw},x:0,y:0,_Pd:0};_c01.Multiply=function(_Rw,_gc){return new _c01(_Rw*_gc.x,_Rw*_gc.y,_Rw*_gc._Pd)};_c01._4j=function(_gc,_La){return new _c01(_gc.x+_La.x,_gc.y+_La.y,
_gc._Pd+_La._Pd)};_c01._201=function(_gc,_La){return new _c01(_gc.x-_La.x,_gc.y-_La.y,_gc._Pd-_La._Pd)};function _e01(_f01,_g01){this._9y=_f01?_f01._O8():new _V_();this._xC=_g01?_g01._O8():new _V_()}_e01.prototype={_sj:function(_f01,_g01){this._9y._Z_(_f01);this._xC._Z_(_g01)},_Z_:function(_Ws){this._9y._Z_(_Ws._9y);this._xC._Z_(_Ws._xC)},_h01:function(){this._9y.x=1.0;this._xC.x=0.0;this._9y.y=0.0;this._xC.y=1.0},_W_:function(){this._9y.x=0.0;this._xC.x=0.0;this._9y.y=0.0;this._xC.y=0.0},_i01:function(){
var _gc=this._9y.x,_La=this._xC.x,_R3=this._9y.y,_Al=this._xC.y;var _j01=new _e01();var _k01=_gc*_Al-_La*_R3;if(_k01!=0.0){_k01=1.0/_k01}_j01._9y.x=_k01*_Al;_j01._xC.x=-_k01*_La;_j01._9y.y=-_k01*_R3;_j01._xC.y=_k01*_gc;return _j01},_l01:function(_La){var _m01=this._9y.x,_n01=this._xC.x,_o01=this._9y.y,_p01=this._xC.y;var _k01=_m01*_p01-_n01*_o01;if(_k01!=0.0){_k01=1.0/_k01}var x=new _V_();x.x=_k01*(_p01*_La.x-_n01*_La.y);x.y=_k01*(_m01*_La.y-_o01*_La.x);return x}};_e01._4j=function(_7_,_j01){return new _e01(_V_._4j(_7_._9y,
_j01._9y),_V_._4j(_7_._xC,_j01._xC))};function _q01(_f01,_g01,_r01){this._9y=_f01?_f01._O8():new _c01();this._xC=_g01?_g01._O8():new _c01();this._s01=_r01?_r01._O8():new _c01()}_q01.prototype={_W_:function(){this._9y._W_();this._xC._W_();this._s01._W_()},_t01:function(_La){var _k01=_u01(this._9y,_v01(this._xC,this._s01));if(_k01!=0.0){_k01=1.0/_k01}var x=new _c01();x.x=_k01*_u01(_La,_v01(this._xC,this._s01));x.y=_k01*_u01(this._9y,_v01(_La,this._s01));x._Pd=_k01*_u01(this._9y,_v01(this._xC,_La));return x}
,_w01:function(_La){var _m01=this._9y.x,_n01=this._xC.x,_o01=this._9y.y,_p01=this._xC.y;var _k01=_m01*_p01-_n01*_o01;if(_k01!=0.0){_k01=1.0/_k01}var x=new _V_();x.x=_k01*(_p01*_La.x-_n01*_La.y);x.y=_k01*(_m01*_La.y-_o01*_La.x);return x},_x01:function(_y01){var _gc=this._9y.x,_La=this._xC.x,_R3=this._9y.y,_Al=this._xC.y;var _k01=_gc*_Al-_La*_R3;if(_k01!=0.0){_k01=1.0/_k01}_y01._9y.x=_k01*_Al;_y01._xC.x=-_k01*_La;_y01._9y._Pd=0.0;_y01._9y.y=-_k01*_R3;_y01._xC.y=_k01*_gc;_y01._xC._Pd=0.0;_y01._s01.x=0.0;_y01._s01.y=0.0;
_y01._s01._Pd=0.0},_z01:function(_y01){var _k01=_u01(this._9y,_v01(this._xC,this._s01));if(_k01!=0.0){_k01=1.0/_k01}var _m01=this._9y.x,_n01=this._xC.x,_A01=this._s01.x;var _p01=this._xC.y,_B01=this._s01.y;var _C01=this._s01._Pd;_y01._9y.x=_k01*(_p01*_C01-_B01*_B01);_y01._9y.y=_k01*(_A01*_B01-_n01*_C01);_y01._9y._Pd=_k01*(_n01*_B01-_A01*_p01);_y01._xC.x=_y01._9y.y;_y01._xC.y=_k01*(_m01*_C01-_A01*_A01);_y01._xC._Pd=_k01*(_A01*_n01-_m01*_B01);_y01._s01.x=_y01._9y._Pd;_y01._s01.y=_y01._xC._Pd;_y01._s01._Pd=_k01*(_m01*_p01-_n01*_n01)}
};function _D01(angle,_R3){if(typeof(_R3)!=='undefined'){this._Rw=angle;this._R3=_R3}else if(typeof(angle)!=='undefined')this._sj(angle)}_D01.prototype={_O8:function(){return new _D01(this._Rw,this._R3)},_Z_:function(_Ga){this._Rw=_Ga._Rw;this._R3=_Ga._R3},_sj:function(x){this._Rw=_O_(x);this._R3=_P_(x)},_h01:function(){this._Rw=0.0;this._R3=1.0},_E01:function(){return _T_(this._Rw,this._R3)},_F01:function(){return new _V_(this._R3,this._Rw)},_G01:function(){return new _V_(-this._Rw,this._R3)},_Rw:0,_R3:1}
;function _H01(position,rotation){this._KA=new _V_();this._gz=new _D01();if(position){this._KA._Z_(position);this._gz._Z_(rotation)}}_H01.prototype={_O8:function(){var _I01=new _H01(this._KA,this._gz);return _I01},_Z_:function(_I01){this._KA._Z_(_I01._KA);this._gz._Z_(_I01._gz)},_h01:function(){this._KA._W_();this._gz._h01()},_sj:function(position,angle){this._KA._Z_(position);this._gz._sj(angle);}};function _J01(){this._K01=new _V_();this._L01=new _V_();this._R3=new _V_()}_J01.prototype={_Z_:function(_M01){
this._K01._Z_(_M01._K01);this._L01._Z_(_M01._L01);this._R3._Z_(_M01._R3);this._gc=_M01._gc;this._N01=_M01._N01;this._O01=_M01._O01},_O8:function(){var _M01=new _J01();_M01._K01._Z_(this._K01);_M01._L01._Z_(this._L01);_M01._R3._Z_(this._R3);_M01._gc=this._gc;_M01._N01=this._N01;_M01._O01=this._O01;return _M01},/// @param beta is a factor in [0,1], where 0 indicates alpha0.
_P01:function(_I01,_Q01){_I01._KA.x=((1.0-_Q01)*this._L01.x)+(_Q01*this._R3.x);_I01._KA.y=((1.0-_Q01)*this._L01.y)+(_Q01*this._R3.y);
var angle=(1.0-_Q01)*this._N01+_Q01*this._gc;_I01._gz._sj(angle);_I01._KA.x-=_I01._gz._R3*this._K01.x-_I01._gz._Rw*this._K01.y;_I01._KA.y-=_I01._gz._Rw*this._K01.x+_I01._gz._R3*this._K01.y},/// @param alpha the new initial time.
_R01:function(alpha){_6_(this._O01<1.0);var _Q01=(alpha-this._O01)/(1.0-this._O01);this._L01._4j(_V_.Multiply(_Q01,_V_._201(this._R3,this._L01)));this._N01+=_Q01*(this._gc-this._N01);this._O01=alpha},_401:function(){var _S01=2.0*_a_;var _Al=_S01*_Q_(this._N01/_S01);this._N01-=_Al;
this._gc-=_Al},_N01:0,_gc:0,_O01:0};function _T01(_gc,_La){return _gc.x*_La.x+_gc.y*_La.y}function _U01(_gc,_La){return _gc.x*_La.y-_gc.y*_La.x}function _V01(_gc,_Rw){return new _V_(_Rw*_gc.y,-_Rw*_gc.x)}function _W01(_Rw,_gc){return new _V_(-_Rw*_gc.y,_Rw*_gc.x)}function _X01(_7_,_uc){return new _V_(_7_._9y.x*_uc.x+_7_._xC.x*_uc.y,_7_._9y.y*_uc.x+_7_._xC.y*_uc.y)}function _Y01(_7_,_uc){return new _V_(_T01(_uc,_7_._9y),_T01(_uc,_7_._xC))}function _Z01(_gc,_La){var _R3=_V_._201(_gc,_La);return _R3.Length()}function __01(_gc,
_La){var _R3=_V_._201(_gc,_La);return _T01(_R3,_R3)}function _u01(_gc,_La){return _gc.x*_La.x+_gc.y*_La.y+_gc._Pd*_La._Pd}function _v01(_gc,_La){return new _c01(_gc.y*_La._Pd-_gc._Pd*_La.y,_gc._Pd*_La.x-_gc.x*_La._Pd,_gc.x*_La.y-_gc.y*_La.x)}function _011(_7_,_j01){return new _e01(_X01(_7_,_j01._9y),_X01(_7_,_j01._xC))}function _111(_7_,_j01){var _f01=new _V_(_T01(_7_._9y,_j01._9y),_T01(_7_._xC,_j01._9y));var _g01=new _V_(_T01(_7_._9y,_j01._xC),_T01(_7_._xC,_j01._xC));return new _e01(_f01,_g01)}function _211(_7_,
_uc){return _c01._4j(_c01._4j(_c01.Multiply(_uc.x,_7_._9y),_c01.Multiply(_uc.y,_7_._xC)),_c01.Multiply(_uc._Pd,_7_._s01))}function _311(_7_,_uc){return new _V_(_7_._9y.x*_uc.x+_7_._xC.x*_uc.y,_7_._9y.y*_uc.x+_7_._xC.y*_uc.y)}function _411(_gz,_Ia){var _511=new _D01();_511._Rw=_gz._Rw*_Ia._R3+_gz._R3*_Ia._Rw;_511._R3=_gz._R3*_Ia._R3-_gz._Rw*_Ia._Rw;return _511}function _611(_gz,_Ia){var _511=new _D01();_511._Rw=_gz._R3*_Ia._Rw-_gz._Rw*_Ia._R3;_511._R3=_gz._R3*_Ia._R3+_gz._Rw*_Ia._Rw;return _511}function _711(_gz,
_uc){return new _V_(_gz._R3*_uc.x-_gz._Rw*_uc.y,_gz._Rw*_uc.x+_gz._R3*_uc.y)}function _811(_gz,_uc){return new _V_(_gz._R3*_uc.x+_gz._Rw*_uc.y,-_gz._Rw*_uc.x+_gz._R3*_uc.y)}function _911(_a11,_uc){return new _V_((_a11._gz._R3*_uc.x-_a11._gz._Rw*_uc.y)+_a11._KA.x,(_a11._gz._Rw*_uc.x+_a11._gz._R3*_uc.y)+_a11._KA.y)}function _b11(_a11,_uc){var _el=_uc.x-_a11._KA.x;var _fl=_uc.y-_a11._KA.y;var x=(_a11._gz._R3*_el+_a11._gz._Rw*_fl);var y=(-_a11._gz._Rw*_el+_a11._gz._R3*_fl);return new _V_(x,y)}function _c11(_7_,_j01){
var _d11=new _H01();_d11._gz=_411(_7_._gz,_j01._gz);_d11._KA=_V_._4j(_711(_7_._gz,_j01._KA),_7_._KA);return _d11}function _e11(_7_,_j01){var _d11=new _H01();_d11._gz=_611(_7_._gz,_j01._gz);var _f11=_j01._KA.x-_7_._KA.x;var _g11=_j01._KA.y-_7_._KA.y;_d11._KA.x=_7_._gz._R3*_f11+_7_._gz._Rw*_g11;_d11._KA.y=-_7_._gz._Rw*_f11+_7_._gz._R3*_g11;return _d11}var _h11=Math.abs;function _i11(_gc){return new _V_(_h11(_gc.x),_h11(_gc.y));}function _j11(_7_){return new _e01(_i11(_7_._9y),_i11(_7_._xC))}var _k11=Math.min;function _l11(_gc,
_La){return new _V_(_k11(_gc.x,_La.x),_k11(_gc.y,_La.y))}var _m11=Math.max;function _n11(_gc,_La){return new _V_(_m11(_gc.x,_La.x),_m11(_gc.y,_La.y))}function _o11(_gc,_Ej,_Dj){return _m11(_Ej,_k11(_gc,_Dj))}function _p11(_gc,_Ej,_Dj){return _n11(_Ej,_l11(_gc,_Dj))}function _q11(x){x|=(x>>1);x|=(x>>2);x|=(x>>4);x|=(x>>8);x|=(x>>16);return x+1}function _r11(x){var _Av=x>0&&(x&(x-1))==0;return _Av}var _s11=32767;function _t11(_u11,_v11){var _Ia=Math.random();if(typeof(_u11)!=='undefined')_Ia=(_v11-_u11)*_Ia+_u11;else _Ia=2.0*_Ia-1.0;
return _Ia}function _w11(_Ia,_fc,_La){this._Ia=_Ia||0;this._fc=_fc||0;this._La=_La||0}_w11.prototype={_sj:function(_Ia,_fc,_La){this._Ia=_Ia;this._fc=_fc;this._La=_La}};function _x11(){}_x11.prototype={_y11:function(_ZX){this._z11=_ZX},_A11:function(){return this._z11},_B11:function(_ZX){this._z11|=_ZX},_C11:function(_ZX){this._z11&=~_ZX},_D11:function(_ZX){this._z11^=_ZX;},_E11:function(vertices,vertexCount,color){},_F11:function(vertices,vertexCount,color){},_G11:function(_H11,_I11,color){},_J11:function(_H11,
_I11,_K11,color){},_L11:function(_M11,_N11,color){},/// @param xf a transform.
_O11:function(_I01){},_P11:function(_Q11,_I11,_R11,_Fb){},_z11:0};_x11._S11=1;_x11._T11=2;_x11._U11=4;_x11._V11=8;_x11._W11=16;_x11._X11=32;_x11._Y11=64;_x11._Z11=128;_x11.__11=256;_x11._021=512;_x11._121=1024;if(typeof(performance)==='undefined'){window.performance={now:function(){return +new Date()}}}function _221(){this._Dz()}_221.prototype={_Dz:function(){this._321=performance.now()},_421:function(){return performance.now()-this._321}
};function _521(){this._621=0;this._H11=new _V_();this._721=0}/* * A shape.
 * @constructor
 * @returns {b2Shape}
 */function _821(){this._PH=0;this._921=0}_821.prototype={_O8:function(){},/// @return the shape type.
_a21:function(){return this._PH},_b21:function(){},/// @param xf the shape world transform.
/// @param p a point in world coordinates.
_c21:function(_I01,_KA){},/// @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
_d21:function(_5z,
_3z,transform,_e21){},/// @param aabb returns the axis aligned box.
/// @param xf the world transform of the shape.
/// @param childIndex the child shape
_f21:function(_g21,_I01,_e21){},/// @param massData returns the mass data for this shape.
/// @param density the density in kilograms per meter squared.
_h21:function(_i21,_j21){},/// @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.
_k21:function(_I01,
_KA,_l21,_m21,_e21){},_801:function(_901){var _Dw=_901||{};_Dw['m_type']=this._PH;_Dw['m_radius']=this._921;return _Dw},_a01:function(data){this._921=data['m_radius']}};_821._n21=0;_821._o21=1;_821._p21=2;_821._q21=3;_821._r21=4;function _s21(){this.parent.call(this);this._PH=_821._n21;this._921=0;this._t21=new _V_();Object.seal(this)}_s21.prototype={_O8:function(){var _u21=new _s21();_u21._921=this._921;_u21._t21=this._t21._O8();return _u21},/// @see b2Shape::GetChildCount
_b21:function(){return 1},_c21:function(transform,
_KA){var _H11=_V_._4j(transform._KA,_711(transform._gz,this._t21));var _Al=_V_._201(_KA,_H11);return _T01(_Al,_Al)<=this._921*this._921},_d21:function(_5z,_3z,transform,_e21){var position=_V_._4j(transform._KA,_711(transform._gz,this._t21));var _Rw=_V_._201(_3z._M11,position);var _La=_T01(_Rw,_Rw)-this._921*this._921;var _Ia=_V_._201(_3z._N11,_3z._M11);var _R3=_T01(_Rw,_Ia);var _tA=_T01(_Ia,_Ia);var _v21=_R3*_R3-_tA*_La;if(_v21<0.0||_tA<_9_){return !1}var _gc=-(_R3+_S_(_v21));if(0.0<=_gc&&_gc<=_3z._w21*_tA){
_gc/=_tA;_5z._x21=_gc;_5z._m21=_V_._4j(_Rw,_V_.Multiply(_gc,_Ia));_5z._m21._401();return !0}return !1},/// @see b2Shape::ComputeAABB
_f21:function(_g21,transform,_e21){var _el=transform._KA.x+(transform._gz._R3*this._t21.x-transform._gz._Rw*this._t21.y);var _fl=transform._KA.y+(transform._gz._Rw*this._t21.x+transform._gz._R3*this._t21.y);_g21._y21.x=_el-this._921;_g21._y21.y=_fl-this._921;_g21._z21.x=_el+this._921;_g21._z21.y=_fl+this._921},/// @see b2Shape::ComputeMass
_h21:function(_i21,_j21){_i21._621=_j21*_a_*this._921*this._921;
_i21._H11=this._t21;_i21._721=_i21._621*(0.5*this._921*this._921+_T01(this._t21,this._t21))},_A21:function(_Al){return 0},_B21:function(_Al){return this._t21},_gg:function(){return 1},_C21:function(index){_6_(index==0);return this._t21},_k21:function(transform,_KA,_l21,_m21,_e21){var _H11=_V_._4j(transform._KA,_711(transform._gz,this._t21));var _Al=_V_._201(_KA,_H11);var _D21=_Al.Length();_l21[0]=_D21-this._921;_m21._Z_(_V_.Multiply(1/_D21,_Al))},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,
_Dw);_Dw['m_p']=this._t21._801();return _Dw},_a01:function(data){this.parent.prototype._a01.call(this,data);this._t21._a01(data['m_p'])}};_s21._AZ(_821);function _E21(){this.parent.call(this);this._PH=_821._o21;this._921=_h_;this._F21=new _V_();this._G21=new _V_();this._H21=new _V_();this._I21=new _V_();this._J21=!1;this._K21=!1;Object.seal(this)}_E21.prototype={_sj:function(_td,_ud){this._G21._Z_(_td);this._H21._Z_(_ud);this._J21=!1;this._K21=!1},_O8:function(){var _u21=new _E21();_u21._F21=this._F21._O8();
_u21._G21=this._G21._O8();_u21._H21=this._H21._O8();_u21._I21=this._I21._O8();_u21._J21=this._J21;_u21._K21=this._K21;return _u21},/// @see b2Shape::GetChildCount
_b21:function(){return 1},/// @see b2Shape::TestPoint
_c21:function(transform,_KA){return !1},_d21:function(_5z,_3z,_I01,_e21){var _M11=_811(_I01._gz,_V_._201(_3z._M11,_I01._KA));var _N11=_811(_I01._gz,_V_._201(_3z._N11,_I01._KA));var _Al=_V_._201(_N11,_M11);var _td=this._G21;var _ud=this._H21;var e=_V_._201(_ud,_td);var _m21=new _V_(e.y,-e.x);_m21._401();
var _L21=_T01(_m21,_V_._201(_td,_M11));var _M21=_T01(_m21,_Al);if(_M21==0.0){return !1}var _Ka=_L21/_M21;if(_Ka<0.0||_3z._w21<_Ka){return !1}var _gz=_V_._4j(_M11,_V_.Multiply(_Ka,_Al));var _Ia=_V_._201(_ud,_td);var _tA=_T01(_Ia,_Ia);if(_tA==0.0){return !1;}var _Rw=_T01(_V_._201(_gz,_td),_Ia)/_tA;if(_Rw<0.0||1.0<_Rw){return !1}_5z._x21=_Ka;if(_L21>0.0){_5z._m21=_711(_I01._gz,_m21).___()}else {_5z._m21=_711(_I01._gz,_m21)}return !0},/// @see b2Shape::ComputeAABB
_f21:function(_g21,_I01,_e21){var _jl=(_I01._gz._R3*this._G21.x-_I01._gz._Rw*this._G21.y)+_I01._KA.x;
var _ml=(_I01._gz._Rw*this._G21.x+_I01._gz._R3*this._G21.y)+_I01._KA.y;var _kl=(_I01._gz._R3*this._H21.x-_I01._gz._Rw*this._H21.y)+_I01._KA.x;var _nl=(_I01._gz._Rw*this._H21.x+_I01._gz._R3*this._H21.y)+_I01._KA.y;var _N21=_k11(_jl,_kl);var _O21=_k11(_ml,_nl);var _P21=_m11(_jl,_kl);var _Q21=_m11(_ml,_nl);_g21._y21.x=_N21-this._921;_g21._y21.y=_O21-this._921;_g21._z21.x=_P21+this._921;_g21._z21.y=_Q21+this._921},/// @see b2Shape::ComputeMass
_h21:function(_i21,_j21){_i21._621=0.0;_i21._H11=_V_.Multiply(0.5,
_V_._4j(this._G21,this._H21));_i21._721=0.0},_k21:function(_I01,_KA,_l21,_m21,_e21){var _td=_911(_I01,this._G21);var _ud=_911(_I01,this._H21);var _Al=_V_._201(_KA,_td);var _Rw=_V_._201(_ud,_td);var _R21=_T01(_Al,_Rw);if(_R21>0){var _ct=_T01(_Rw,_Rw);if(_R21>_ct){_Al._Z_(_V_._201(_KA,_ud))}else {_Al._201(_V_.Multiply(_R21/_ct,_Rw))}}var _D21=_Al.Length();_l21[0]=_D21;_m21._Z_(_D21>0?_V_.Multiply(1/_D21,_Al):new _V_(0,0))},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['m_vertex1']=this._G21._801();
_Dw['m_vertex2']=this._H21._801();_Dw['m_hasVertex0']=this._J21;if(this._J21)_Dw['m_vertex0']=this._F21._801();_Dw['m_hasVertex3']=this._K21;if(this._K21)_Dw['m_vertex3']=this._I21._801();return _Dw},_a01:function(data){this.parent.prototype._a01.call(this,data);this._G21._a01(data['m_vertex1']);this._H21._a01(data['m_vertex2']);this._J21=data['m_hasVertex0'];if(this._J21)this._F21._a01(data['m_vertex0']);this._K21=data['m_hasVertex3'];if(this._K21)this._I21._a01(data['m_vertex3'])}};_E21._AZ(_821);
function _S21(){this.parent.call(this);this._PH=_821._q21;this._921=_h_;this._T21=null;this._U21=0;this._V21=new _V_();this._W21=new _V_();this._X21=!1;this._Y21=!1;Object.seal(this);}_S21._Z21=new _E21();_S21.prototype={/// @param vertices an array of vertices, these are copied
/// @param count the vertex count
__21:function(vertices,_Fb){_6_(this._T21==null&&this._U21==0);_6_(_Fb>=3);for(var _Q3=1;_Q3<_Fb;++_Q3){var _td=vertices[_Q3-1];var _ud=vertices[_Q3];_6_(__01(_td,_ud)>_f_*_f_)}this._U21=_Fb+1;
this._T21=new Array(this._U21);for(var _Q3=0;_Q3<_Fb;++_Q3)this._T21[_Q3]=vertices[_Q3]._O8();this._T21[_Fb]=this._T21[0]._O8();this._V21._Z_(this._T21[this._U21-2]);this._W21._Z_(this._T21[1]);this._X21=!0;this._Y21=!0},/// @param vertices an array of vertices, these are copied
/// @param count the vertex count
_031:function(vertices,_Fb){_6_(this._T21==null&&this._U21==0);_6_(_Fb>=2);for(var _Q3=1;_Q3<_Fb;++_Q3){var _td=vertices[_Q3-1];var _ud=vertices[_Q3];_6_(__01(_td,_ud)>_f_*_f_)}this._U21=_Fb;
this._T21=new Array(_Fb);for(var _Q3=0;_Q3<_Fb;++_Q3)this._T21[_Q3]=vertices[_Q3]._O8();this._X21=!1;this._Y21=!1;this._V21._W_();this._W21._W_()},_131:function(_231){this._V21._Z_(_231);this._X21=!0},_331:function(_431){this._W21._Z_(_431);this._Y21=!0},_O8:function(){var _u21=new _S21();_u21._U21=this._U21;_u21._T21=new Array(this._U21);for(var _Q3=0;_Q3<this._U21;++_Q3)_u21._T21[_Q3]=this._T21[_Q3]._O8();_u21._V21=this._V21._O8();_u21._W21=this._W21._O8();_u21._X21=this._X21;_u21._Y21=this._Y21;return _u21}
,/// @see b2Shape::GetChildCount
_b21:function(){return this._U21-1},_531:function(_631,index){_6_(0<=index&&index<this._U21-1);_631._PH=_821._o21;_631._921=this._921;_631._G21=this._T21[index+0];_631._H21=this._T21[index+1];if(index>0){_631._F21=this._T21[index-1];_631._J21=!0}else {_631._F21=this._V21;_631._J21=this._X21}if(index<this._U21-2){_631._I21=this._T21[index+2];_631._K21=!0}else {_631._I21=this._W21;_631._K21=this._Y21}},/// @see b2Shape::TestPoint
_c21:function(transform,_KA){return !1}
,_d21:function(_5z,_3z,_I01,_e21){_6_(_e21<this._U21);var _731=_e21;var _831=_e21+1;if(_831==this._U21){_831=0}_S21._Z21._G21=this._T21[_731]._O8();_S21._Z21._H21=this._T21[_831]._O8();return _S21._Z21._d21(_5z,_3z,_I01,0)},/// @see b2Shape::ComputeAABB
_f21:function(_g21,_I01,_e21){_6_(_e21<this._U21);var _731=_e21;var _831=_e21+1;if(_831==this._U21){_831=0}var _jl=(_I01._gz._R3*this._T21[_731].x-_I01._gz._Rw*this._T21[_731].y)+_I01._KA.x;var _ml=(_I01._gz._Rw*this._T21[_731].x+_I01._gz._R3*this._T21[_731].y)+_I01._KA.y;
var _kl=(_I01._gz._R3*this._T21[_831].x-_I01._gz._Rw*this._T21[_831].y)+_I01._KA.x;var _nl=(_I01._gz._Rw*this._T21[_831].x+_I01._gz._R3*this._T21[_831].y)+_I01._KA.y;_g21._y21.x=_k11(_jl,_kl);_g21._y21.y=_k11(_ml,_nl);_g21._z21.x=_m11(_jl,_kl);_g21._z21.y=_m11(_ml,_nl)},/// @see b2Shape::ComputeMass
_h21:function(_i21,_j21){_i21._621=0.0;_i21._H11._W_();_i21._721=0.0},_k21:function(_I01,_KA,_l21,_m21,_e21){this._531(_S21._Z21,_e21);_S21._Z21._k21(_I01,_KA,_l21,_m21,0)},_801:function(_901){var _Dw=_901||{
};this.parent.prototype._801.call(this,_Dw);_Dw['m_count']=this._U21;_Dw['m_vertices']=[];for(var _Q3=0;_Q3<this._U21;++_Q3)_Dw['m_vertices'].push(this._T21[_Q3]._801());_Dw['m_hasPrevVertex']=this._X21;if(this._X21)_Dw['m_prevVertex']=this._V21._801();_Dw['m_hasNextVertex']=this._Y21;if(this._Y21)_Dw['m_nextVertex']=this._W21._801();return _Dw},_a01:function(data){this.parent.prototype._a01.call(this,data);this._U21=data['m_count'];this._T21=[];for(var _Q3=0;_Q3<this._U21;++_Q3){this._T21[_Q3]=new _V_();
this._T21[_Q3]._a01(data['m_vertices'][_Q3])}this._X21=data['m_hasPrevVertex'];if(this._X21)this._V21._a01(data['m_prevVertex']);this._Y21=data['m_hasNextVertex'];if(this._Y21)this._W21._a01(data['m_nextVertex'])}};_S21._AZ(_821);function _931(){this.parent.call(this);this._PH=_821._p21;this._921=_h_;this._U21=0;this._a31=new _V_();this._T21=new Array(_c_);this._b31=new Array(_c_);Object.seal(this)}_931.prototype={_O8:function(){var _u21=new _931();_u21._U21=this._U21;_u21._a31=this._a31._O8();for(var _Q3=0;
_Q3<this._U21;++_Q3){_u21._T21[_Q3]=this._T21[_Q3]._O8();_u21._b31[_Q3]=this._b31[_Q3]._O8()}return _u21},/// @see b2Shape::GetChildCount
_b21: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
_sj:function(vertices,_Fb){_6_(3<=_Fb&&_Fb<=_c_);if(_Fb<3){this._c31(1.0,1.0);return }var _ra=_k11(_Fb,_c_);var _d31=new Array(_c_);var _e31=0;for(var _Q3=0;_Q3<_ra;++_Q3){var _uc=vertices[_Q3];
var _f31=!0;for(var _Pa=0;_Pa<_e31;++_Pa){if(__01(_uc,_d31[_Pa])<0.5*_f_){_f31=!1;break }}if(_f31){_d31[_e31++]=_uc._O8()}}_ra=_e31;if(_ra<3){_6_(!1);this._c31(1.0,1.0);return }var _g31=0;var _Xc=_d31[0].x;for(_Q3=1;_Q3<_ra;++_Q3){var x=_d31[_Q3].x;if(x>_Xc||(x==_Xc&&_d31[_Q3].y<_d31[_g31].y)){_g31=_Q3;_Xc=x}}var hull=new Array(_c_);var _ua=0;var _h31=_g31;for(;;){hull[_ua]=_h31;var _i31=0;for(_Pa=1;_Pa<_ra;++_Pa){if(_i31==_h31){_i31=_Pa;continue }var _Ia=_V_._201(_d31[_i31],_d31[hull[_ua]]);var _uc=_V_._201(_d31[_Pa],
_d31[hull[_ua]]);var _R3=_U01(_Ia,_uc);if(_R3<0.0){_i31=_Pa}if(_R3==0.0&&_uc._301()>_Ia._301()){_i31=_Pa}}++_ua;_h31=_i31;if(_i31==_g31){break }}this._U21=_ua;for(_Q3=0;_Q3<_ua;++_Q3){this._T21[_Q3]=_d31[hull[_Q3]]._O8()}for(_Q3=0;_Q3<_ua;++_Q3){var _731=_Q3;var _831=_Q3+1<_ua?_Q3+1:0;var _631=_V_._201(this._T21[_831],this._T21[_731]);_6_(_631._301()>_9_*_9_);this._b31[_Q3]=_V01(_631,1.0)._O8();this._b31[_Q3]._401()}this._a31=_931._j31(this._T21,_ua)},/// @param hx the half-width.
/// @param hy the half-height.
_c31:function(_k31,
_l31,_H11,angle){this._U21=4;this._T21[0]=new _V_(-_k31,-_l31);this._T21[1]=new _V_(_k31,-_l31);this._T21[2]=new _V_(_k31,_l31);this._T21[3]=new _V_(-_k31,_l31);this._b31[0]=new _V_(0.0,-1.0);this._b31[1]=new _V_(1.0,0.0);this._b31[2]=new _V_(0.0,1.0);this._b31[3]=new _V_(-1.0,0.0);if(!_H11)return;this._a31._Z_(_H11);var _I01=new _H01();_I01._KA=_H11;_I01._gz._sj(angle);for(var _Q3=0;_Q3<this._U21;++_Q3){this._T21[_Q3]._Z_(_911(_I01,this._T21[_Q3]));this._b31[_Q3]._Z_(_711(_I01._gz,this._b31[_Q3]))}},/// @see b2Shape::TestPoint
_c21:function(_I01,
_KA){var _m31=_811(_I01._gz,_V_._201(_KA,_I01._KA));for(var _Q3=0;_Q3<this._U21;++_Q3){var _n31=_T01(this._b31[_Q3],_V_._201(_m31,this._T21[_Q3]));if(_n31>0.0){return !1}}return !0},_d21:function(_5z,_3z,_I01,_e21){var _M11=_811(_I01._gz,_V_._201(_3z._M11,_I01._KA));var _N11=_811(_I01._gz,_V_._201(_3z._N11,_I01._KA));var _Al=_V_._201(_N11,_M11);var _oL=0.0,_o31=_3z._w21;var index=-1;for(var _Q3=0;_Q3<this._U21;++_Q3){var _L21=_T01(this._b31[_Q3],_V_._201(this._T21[_Q3],_M11));var _M21=_T01(this._b31[_Q3],_Al);
if(_M21==0.0){if(_L21<0.0){return !1}}else {if(_M21<0.0&&_L21<_oL*_M21){_oL=_L21/_M21;index=_Q3}else if(_M21>0.0&&_L21<_o31*_M21){_o31=_L21/_M21}}if(_o31<_oL){return !1}}_6_(0.0<=_oL&&_oL<=_3z._w21);if(index>=0){_5z._x21=_oL;_5z._m21=_711(_I01._gz,this._b31[index]);return !0}return !1},/// @see b2Shape::ComputeAABB
_f21:function(_g21,_I01,_e21){var _N21=(_I01._gz._R3*this._T21[0].x-_I01._gz._Rw*this._T21[0].y)+_I01._KA.x;var _O21=(_I01._gz._Rw*this._T21[0].x+_I01._gz._R3*this._T21[0].y)+_I01._KA.y;var _P21=_N21;
var _Q21=_O21;for(var _Q3=1;_Q3<this._U21;++_Q3){var _p31=(_I01._gz._R3*this._T21[_Q3].x-_I01._gz._Rw*this._T21[_Q3].y)+_I01._KA.x;var _q31=(_I01._gz._Rw*this._T21[_Q3].x+_I01._gz._R3*this._T21[_Q3].y)+_I01._KA.y;_N21=_k11(_N21,_p31);_O21=_k11(_O21,_q31);_P21=_m11(_P21,_p31);_Q21=_m11(_Q21,_q31)}_g21._y21.x=_N21-this._921;_g21._y21.y=_O21-this._921;_g21._z21.x=_P21+this._921;_g21._z21.y=_Q21+this._921},/// @see b2Shape::ComputeMass
_h21:function(_i21,_j21){_6_(this._U21>=3);var _H11=new _V_(0.0,0.0);var _r31=0.0;
var _721=0.0;var _Rw=new _V_(0.0,0.0);for(var _Q3=0;_Q3<this._U21;++_Q3){_Rw._4j(this._T21[_Q3])}_Rw.Multiply(1.0/this._U21);var _s31=1.0/3.0;for(var _Q3=0;_Q3<this._U21;++_Q3){var _t31=_V_._201(this._T21[_Q3],_Rw);var _u31=_Q3+1<this._U21?_V_._201(this._T21[_Q3+1],_Rw):_V_._201(this._T21[0],_Rw);var _v31=_U01(_t31,_u31);var _w31=0.5*_v31;_r31+=_w31;_H11._4j(_V_.Multiply(_w31*_s31,_V_._4j(_t31,_u31)));var _x31=_t31.x,_y31=_t31.y;var _z31=_u31.x,_A31=_u31.y;var _B31=_x31*_x31+_z31*_x31+_z31*_z31;var _C31=_y31*_y31+_A31*_y31+_A31*_A31;
_721+=(0.25*_s31*_v31)*(_B31+_C31)}_i21._621=_j21*_r31;_6_(_r31>_9_);_H11.Multiply(1.0/_r31);_i21._H11=_V_._4j(_H11,_Rw);_i21._721=_j21*_721;_i21._721+=_i21._621*(_T01(_i21._H11,_i21._H11)-_T01(_H11,_H11))},_gg:function(){return this._U21},_C21:function(index){_6_(0<=index&&index<this._U21);return this._T21[index]},/// @returns true if valid
_D31:function(){for(var _Q3=0;_Q3<this._U21;++_Q3){var _731=_Q3;var _831=_Q3<this._U21-1?_731+1:0;var _KA=this._T21[_731];var e=_V_._201(this._T21[_831],_KA);for(var _Pa=0;
_Pa<this._U21;++_Pa){if(_Pa==_731||_Pa==_831){continue }var _uc=_V_._201(this._T21[_Pa],_KA);var _R3=_U01(e,_uc);if(_R3<0.0){return !1}}}return !0},_k21:function(_I01,_KA,_E31,_m21,_e21){var _m31=_811(_I01._gz,_V_._201(_KA,_I01._KA));var maxDistance=-Number.MAX_VALUE;var _F31=_m31;for(var _Q3=0;_Q3<this._U21;++_Q3){var _n31=_T01(this._b31[_Q3],_V_._201(_m31,this._T21[_Q3]));if(_n31>maxDistance){maxDistance=_n31;_F31=this._b31[_Q3]}}if(maxDistance>0){var _G31=_F31;var _H31=maxDistance*maxDistance;for(var _Q3=0;
_Q3<this._U21;++_Q3){var _l21=_V_._201(_m31,this._T21[_Q3]);var _I31=_l21._301();if(_H31>_I31){_G31=_l21;_H31=_I31}}_E31[0]=_S_(_H31);_m21._Z_(_711(_I01._gz,_G31));_m21._401()}else {_E31[0]=maxDistance;_m21._Z_(_711(_I01._gz,_F31))}},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['m_count']=this._U21;_Dw['m_centroid']=this._a31._801();_Dw['m_vertices']=[];_Dw['m_normals']=[];for(var _Q3=0;_Q3<this._U21;++_Q3){_Dw['m_vertices'].push(this._T21[_Q3]._801());_Dw['m_normals'].push(this._b31[_Q3]._801())}
return _Dw},_a01:function(data){this.parent.prototype._a01.call(this,data);this._U21=data['m_count'];this._a31._a01(data['m_centroid']);this._T21=[];this._b31=[];for(var _Q3=0;_Q3<this._U21;++_Q3){this._T21[_Q3]=new _V_();this._T21[_Q3]._a01(data['m_vertices'][_Q3]);this._b31[_Q3]=new _V_();this._b31[_Q3]._a01(data['m_normals'][_Q3])}}};_931._j31=function(_J31,_Fb){_6_(_Fb>=3);var _R3=new _V_();var _r31=0.0;var _K31=new _V_(0.0,0.0);var _L31=1.0/3.0;for(var _Q3=0;_Q3<_Fb;++_Q3){var _M11=_K31;var _N11=_J31[_Q3];
var _M31=_Q3+1<_Fb?_J31[_Q3+1]:_J31[0];var _t31=_V_._201(_N11,_M11);var _u31=_V_._201(_M31,_M11);var _v31=_U01(_t31,_u31);var _w31=0.5*_v31;_r31+=_w31;_R3._4j(_V_.Multiply(_w31,_V_.Multiply(_L31,_V_._4j(_V_._4j(_M11,_N11),_M31))))}_6_(_r31>_9_);_R3.Multiply(1.0/_r31);return _R3};_931._AZ(_821);function _N31(){this._O31=0;this._P31=0}function _Q31(_R31,_S31){if(_R31._O31==_S31._O31){return _R31._P31-_S31._P31;}return _R31._O31-_S31._O31}function _T31(){this._U31=new _V31();this._W31=0;this._X31=0;this._Y31=0;
this._Z31=[];this.__31=0;this._041=[]}_T31.prototype={_141:function(_g21,_241){var _341=this._U31._141(_g21,_241);++this._X31;this._441(_341);return _341},_541:function(_341){this._641(_341);--this._X31;this._U31._541(_341)},_741:function(_341,_g21,_841){var buffer=this._U31._741(_341,_g21,_841);if(buffer){this._441(_341)}},_941:function(_341){this._441(_341)},_a41:function(_341){return this._U31._a41(_341);},_b41:function(_341){return this._U31._b41(_341)},_c41:function(_O31,_P31){var _d41=this._U31._a41(_O31);
var _e41=this._U31._a41(_P31);return _f41(_d41,_e41)},_g41:function(){return this._X31},_h41:function(_i41){this._Y31=0;this._Z31.length=0;for(var _Q3=0;_Q3<this.__31;++_Q3){this._W31=this._041[_Q3];if(this._W31==_T31._j41){continue }var _k41=this._U31._a41(this._W31);this._U31._l41(this,_k41)}this.__31=0;this._Z31.sort(_Q31);var _Q3=0;while(_Q3<this._Y31){var _m41=this._Z31[_Q3];var _n41=this._U31._b41(_m41._O31);var _o41=this._U31._b41(_m41._P31);_i41._p41(_n41,_o41);++_Q3;while(_Q3<this._Y31){var _q41=this._Z31[_Q3];
if(_q41._O31!=_m41._O31||_q41._P31!=_m41._P31){break }++_Q3}}},_l41:function(_i41,_g21){this._U31._l41(_i41,_g21)},/// @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.
_d21:function(_i41,_3z){this._U31._d21(_i41,_3z)},_r41:function(){return this._U31._2E()},_s41:function(){return this._U31._t41()},_u41:function(){return this._U31._v41()},/// @param newOrigin the new origin with respect to the old origin
_w41:function(_x41){
this._U31._w41(_x41)},_441:function(_341){this._041[this.__31]=_341;++this.__31},_641:function(_341){for(var _Q3=0;_Q3<this.__31;++_Q3){if(this._041[_Q3]==_341){this._041[_Q3]=_T31._j41}}},_y41:function(_341){if(_341==this._W31){return !0}this._Z31[this._Y31]=new _N31();this._Z31[this._Y31]._O31=_k11(_341,this._W31);this._Z31[this._Y31]._P31=_m11(_341,this._W31);++this._Y31;return !0}};_T31._j41=-1;function _z41(){this._T21=null;this._U21=0;this._921=0}_z41.prototype={_Z_:function(_Ga){this._T21=_Ga._T21;
this._U21=_Ga._U21;this._921=_Ga._921},_sj:function(_u21,index){switch(_u21._a21()){case _821._n21:{var _A41=_u21;this._T21=[_A41._t21];this._U21=1;this._921=_A41._921}break;case _821._p21:{var _B41=_u21;this._T21=_B41._T21;this._U21=_B41._U21;this._921=_B41._921}break;case _821._q21:{var _C41=_u21;_6_(0<=index&&index<_C41._U21);this._T21=[_C41._T21[index]];if(index+1<_C41._U21){this._T21[1]=_C41._T21[index+1]}else {this._T21[1]=_C41._T21[0]}this._U21=2;this._921=_C41._921}break;case _821._o21:{var _631=_u21;
this._T21=[_631._G21,_631._H21];this._U21=2;this._921=_631._921}break;default :_6_(!1)}},_A21:function(_9d,_ad){var _D41=0;var _E41=this._T21[0].x*_9d+this._T21[0].y*_ad;for(var _Q3=1;_Q3<this._U21;++_Q3){var value=this._T21[_Q3].x*_9d+this._T21[_Q3].y*_ad;if(value>_E41){_D41=_Q3;_E41=value}}return _D41},_B21:function(_9d,_ad){return this._T21[this._A21(_9d,_ad)]},_gg:function(){return this._U21},_C21:function(index){_6_(0<=index&&index<this._U21);return this._T21[index]}};function _F41(){this._G41=0;this._Fb=0;
this._H41=[0,0,0];this._I41=[0,0,0]};function _J41(){this._K41=new _z41();this._L41=new _z41();this._M41=new _H01();this._N41=new _H01();this._O41=!1};function _P41(){this._Q41=new _V_();this._R41=new _V_();this._l21=0;this._S41=0};function _T41(){this._U41=new _V_();this._V41=new _V_();this._S3=new _V_();this._gc=0;this._H41=0;this._I41=0}_T41.prototype={_Z_:function(_Ga){this._U41.x=_Ga._U41.x;this._U41.y=_Ga._U41.y;this._V41.x=_Ga._V41.x;this._V41.y=_Ga._V41.y;this._S3.x=_Ga._S3.x;this._S3.y=_Ga._S3.y;this._gc=_Ga._gc;
this._H41=_Ga._H41;this._I41=_Ga._I41}};function _W41(){this._X41=[new _T41(),new _T41(),new _T41()];this._U21=0}_W41.prototype={_Y41:function(_Eb,_K41,_M41,_L41,_N41){_6_(_Eb._Fb<=3);this._U21=_Eb._Fb;var vertices=this._X41;for(var _Q3=0;_Q3<this._U21;++_Q3){var _uc=vertices[_Q3];_uc._H41=_Eb._H41[_Q3];_uc._I41=_Eb._I41[_Q3];var _Z41=_K41._C21(_uc._H41);var __41=_L41._C21(_uc._I41);_uc._U41.x=(_M41._gz._R3*_Z41.x-_M41._gz._Rw*_Z41.y)+_M41._KA.x;_uc._U41.y=(_M41._gz._Rw*_Z41.x+_M41._gz._R3*_Z41.y)+_M41._KA.y;
_uc._V41.x=(_N41._gz._R3*__41.x-_N41._gz._Rw*__41.y)+_N41._KA.x;_uc._V41.y=(_N41._gz._Rw*__41.x+_N41._gz._R3*__41.y)+_N41._KA.y;_uc._S3.x=_uc._V41.x-_uc._U41.x;_uc._S3.y=_uc._V41.y-_uc._U41.y;_uc._gc=0.0}if(this._U21>1){var _051=_Eb._G41;var _151=this._251();if(_151<0.5*_051||2.0*_051<_151||_151<_9_){this._U21=0}}if(this._U21==0){var _uc=vertices[0];_uc._H41=0;_uc._I41=0;var _Z41=_K41._C21(0);var __41=_L41._C21(0);_uc._U41.x=(_M41._gz._R3*_Z41.x-_M41._gz._Rw*_Z41.y)+_M41._KA.x;_uc._U41.y=(_M41._gz._Rw*_Z41.x+_M41._gz._R3*_Z41.y)+_M41._KA.y;
_uc._V41.x=(_N41._gz._R3*__41.x-_N41._gz._Rw*__41.y)+_N41._KA.x;_uc._V41.y=(_N41._gz._Rw*__41.x+_N41._gz._R3*__41.y)+_N41._KA.y;_uc._S3.x=_uc._V41.x-_uc._U41.x;_uc._S3.y=_uc._V41.y-_uc._U41.y;_uc._gc=1.0;this._U21=1}},_351:function(_Eb){_Eb._G41=this._251();_Eb._Fb=this._U21;var vertices=this._X41;for(var _Q3=0;_Q3<this._U21;++_Q3){_Eb._H41[_Q3]=vertices[_Q3]._H41;_Eb._I41[_Q3]=vertices[_Q3]._I41}},_451:function(_KA){switch(this._U21){case 1:_KA.x=-this._X41[0]._S3.x;_KA.y=-this._X41[0]._S3.y;break;
case 2:{var _551=this._X41[1]._S3.x-this._X41[0]._S3.x;var _651=this._X41[1]._S3.y-this._X41[0]._S3.y;var _751=_551*-this._X41[0]._S3.y-_651*-this._X41[0]._S3.x;if(_751>0.0){_KA.x=-1.0*_651;_KA.y=1.0*_551}else {_KA.x=1.0*_651;_KA.y=-1.0*_551}}break;default :_6_(!1);_KA.x=_KA.y=0;break }},_851:function(_KA){switch(this._U21){case 1:_KA.x=this._X41[0]._S3.x;_KA.y=this._X41[0]._S3.y;break;case 2:_KA.x=(this._X41[0]._gc*this._X41[0]._S3.x)+(this._X41[1]._gc*this._X41[1]._S3.x);_KA.y=(this._X41[0]._gc*this._X41[0]._S3.y)+(this._X41[1]._gc*this._X41[1]._S3.y);
break;case 3:_KA.x=_KA.y=0;break;default :_6_(!1);_KA.x=_KA.y=0;break }},_951:function(_a51,_b51){switch(this._U21){case 1:_a51.x=this._X41[0]._U41.x;_a51.y=this._X41[0]._U41.y;_b51.x=this._X41[0]._V41.x;_b51.y=this._X41[0]._V41.y;break;case 2:_a51.x=(this._X41[0]._gc*this._X41[0]._U41.x)+(this._X41[1]._gc*this._X41[1]._U41.x);_a51.y=(this._X41[0]._gc*this._X41[0]._U41.y)+(this._X41[1]._gc*this._X41[1]._U41.y);_b51.x=(this._X41[0]._gc*this._X41[0]._V41.x)+(this._X41[1]._gc*this._X41[1]._V41.x);_b51.y=(this._X41[0]._gc*this._X41[0]._V41.y)+(this._X41[1]._gc*this._X41[1]._V41.y);
break;case 3:_a51.x=(this._X41[0]._gc*this._X41[0]._U41.x)+(this._X41[1]._gc*this._X41[1]._U41.x)+(this._X41[2]._gc*this._X41[2]._U41.x);_a51.y=(this._X41[0]._gc*this._X41[0]._U41.y)+(this._X41[1]._gc*this._X41[1]._U41.y)+(this._X41[2]._gc*this._X41[2]._U41.y);_b51.x=_a51.x;_b51.y=_a51.y;break;default :_6_(!1);break }},_251:function(){switch(this._U21){case 1:return 0.0;case 2:return _Z01(this._X41[0]._S3,this._X41[1]._S3);case 3:return(this._X41[1]._S3.x-this._X41[0]._S3.x)*(this._X41[2]._S3.y-this._X41[0]._S3.y)-(this._X41[1]._S3.y-this._X41[0]._S3.y)*(this._X41[2]._S3.x-this._X41[0]._S3.x);
default :_6_(!1);return 0.0}},_c51:function(){var _d51=this._X41[0]._S3;var _e51=this._X41[1]._S3;var _551=_e51.x-_d51.x;var _651=_e51.y-_d51.y;var _f51=-(_d51.x*_551+_d51.y*_651);if(_f51<=0.0){this._X41[0]._gc=1.0;this._U21=1;return }var _g51=_e51.x*_551+_e51.y*_651;if(_g51<=0.0){this._X41[1]._gc=1.0;this._U21=1;this._X41[0]._Z_(this._X41[1]);return }var _h51=1.0/(_g51+_f51);this._X41[0]._gc=_g51*_h51;this._X41[1]._gc=_f51*_h51;this._U21=2},_i51:function(){var _d51=this._X41[0]._S3;var _e51=this._X41[1]._S3;
var _j51=this._X41[2]._S3;var _551=_e51.x-_d51.x;var _651=_e51.y-_d51.y;var _k51=_d51.x*_551+_d51.y*_651;var _l51=_e51.x*_551+_e51.y*_651;var _g51=_l51;var _f51=-_k51;var _m51=_j51.x-_d51.x;var _n51=_j51.y-_d51.y;var _o51=_d51.x*_m51+_d51.y*_n51;var _p51=_j51.x*_m51+_j51.y*_n51;var _q51=_p51;var _r51=-_o51;var _s51=_j51.x-_e51.x;var _t51=_j51.y-_e51.y;var _u51=_e51.x*_s51+_e51.y*_t51;var _v51=_j51.x*_s51+_j51.y*_t51;var _w51=_v51;var _x51=-_u51;var _y51=_551*_n51-_651*_m51;var _z51=_y51*(_e51.x*_j51.y-_e51.y*_j51.x);
var _A51=_y51*(_j51.x*_d51.y-_j51.y*_d51.x);var _B51=_y51*(_d51.x*_e51.y-_d51.y*_e51.x);if(_f51<=0.0&&_r51<=0.0){this._X41[0]._gc=1.0;this._U21=1;return }if(_g51>0.0&&_f51>0.0&&_B51<=0.0){var _h51=1.0/(_g51+_f51);this._X41[0]._gc=_g51*_h51;this._X41[1]._gc=_f51*_h51;this._U21=2;return;}if(_q51>0.0&&_r51>0.0&&_A51<=0.0){var _C51=1.0/(_q51+_r51);this._X41[0]._gc=_q51*_C51;this._X41[2]._gc=_r51*_C51;this._U21=2;this._X41[1]._Z_(this._X41[2]);return }if(_g51<=0.0&&_x51<=0.0){this._X41[1]._gc=1.0;this._U21=1;
this._X41[0]._Z_(this._X41[1]);return }if(_q51<=0.0&&_w51<=0.0){this._X41[2]._gc=1.0;this._U21=1;this._X41[0]._Z_(this._X41[2]);return }if(_w51>0.0&&_x51>0.0&&_z51<=0.0){var _D51=1.0/(_w51+_x51);this._X41[1]._gc=_w51*_D51;this._X41[2]._gc=_x51*_D51;this._U21=2;this._X41[0]._Z_(this._X41[2]);return }var _E51=1.0/(_z51+_A51+_B51);this._X41[0]._gc=_z51*_E51;this._X41[1]._gc=_A51*_E51;this._X41[2]._gc=_B51*_E51;this._U21=3}};var _F51=new _W41();var _G51=new _V_();var _H51=new _V_();function _I51(_5z,_Eb,_3z){++_I51._J51;
var _K41=_3z._K41;var _L41=_3z._L41;var _M41=_3z._M41;var _N41=_3z._N41;_F51._Y41(_Eb,_K41,_M41,_L41,_N41);var vertices=_F51._X41;var _K51=20;var _L51=[0,0,0],_M51=[0,0,0];var _N51=0;var _O51=_8_;var _P51=_O51;var _Q51=0;while(_Q51<_K51){_N51=_F51._U21;for(var _Q3=0;_Q3<_N51;++_Q3){_L51[_Q3]=vertices[_Q3]._H41;_M51[_Q3]=vertices[_Q3]._I41}switch(_F51._U21){case 1:break;case 2:_F51._c51();break;case 3:_F51._i51();break;default :_6_(!1)}if(_F51._U21==3){break }_F51._851(_H51);_P51=_H51._301();_O51=_P51;_F51._451(_H51);
if(_H51._301()<_9_*_9_){break }var _R51=vertices[_F51._U21];_R51._H41=_K41._A21(_M41._gz._R3*-_H51.x+_M41._gz._Rw*-_H51.y,-_M41._gz._Rw*-_H51.x+_M41._gz._R3*-_H51.y);var _S51=_K41._C21(_R51._H41);_R51._U41.x=(_M41._gz._R3*_S51.x-_M41._gz._Rw*_S51.y)+_M41._KA.x;_R51._U41.y=(_M41._gz._Rw*_S51.x+_M41._gz._R3*_S51.y)+_M41._KA.y;_R51._I41=_L41._A21(_N41._gz._R3*_H51.x+_N41._gz._Rw*_H51.y,-_N41._gz._Rw*_H51.x+_N41._gz._R3*_H51.y);var _T51=_L41._C21(_R51._I41);_R51._V41.x=(_N41._gz._R3*_T51.x-_N41._gz._Rw*_T51.y)+_N41._KA.x;
_R51._V41.y=(_N41._gz._Rw*_T51.x+_N41._gz._R3*_T51.y)+_N41._KA.y;_R51._S3.x=_R51._V41.x-_R51._U41.x;_R51._S3.y=_R51._V41.y-_R51._U41.y;++_Q51;++_I51._U51;var _V51=!1;for(var _Q3=0;_Q3<_N51;++_Q3){if(_R51._H41==_L51[_Q3]&&_R51._I41==_M51[_Q3]){_V51=!0;break }}if(_V51){break }++_F51._U21}_I51._W51=_m11(_I51._W51,_Q51);_F51._951(_5z._Q41,_5z._R41);_5z._l21=_Z01(_5z._Q41,_5z._R41);_5z._S41=_Q51;_F51._351(_Eb);if(_3z._O41){var _X51=_K41._921;var _Y51=_L41._921;if(_5z._l21>_X51+_Y51&&_5z._l21>_9_){_5z._l21-=_X51+_Y51;
_G51.x=_5z._R41.x-_5z._Q41.x;_G51.y=_5z._R41.y-_5z._Q41.y;_G51._401();_5z._Q41.x+=(_X51*_G51.x);_5z._Q41.y+=(_X51*_G51.y);_5z._R41.x-=(_Y51*_G51.x);_5z._R41.y-=(_Y51*_G51.y)}else {var _el=(0.5*(_5z._Q41.x+_5z._R41.x));var _fl=(0.5*(_5z._Q41.y+_5z._R41.y));_5z._Q41.x=_el;_5z._Q41.y=_fl;_5z._R41.x=_el;_5z._R41.y=_fl;_5z._l21=0.0;}}}_I51._J51=0;_I51._U51=0;_I51._W51=0;var _Z51=255;function __51(){}__51.prototype={_H41:0,_I41:0,_061:0,_161:0,_Dz:function(){this._H41=this._I41=this._061=this._161=0},_Si:function(){
return this._H41|(this._I41<<8)|(this._061<<16)|(this._161<<24)},_Z_:function(_uj){this._H41=_uj._H41;this._I41=_uj._I41;this._061=_uj._061;this._161=_uj._161}};__51._261=0;__51._361=1;function _461(){this._561=new _V_();this._661=0;this._761=0;this.id=new __51()};_461.prototype={_O8:function(){var _861=new _461();_861._561.x=this._561.x;_861._561.y=this._561.y;_861._661=this._661;_861._761=this._761;_861.id._Z_(this.id);return _861}};function _961(){this._a61=new Array(_b_);this._b61=new _V_();this._561=new _V_();
this.type=0;this._c61=0};_961.prototype={_O8:function(){var _d61=new _961();_d61._c61=this._c61;_d61.type=this.type;_d61._561.x=this._561.x;_d61._561.y=this._561.y;_d61._b61.x=this._b61.x;_d61._b61.y=this._b61.y;for(var _Q3=0;_Q3<this._c61;++_Q3)_d61._a61[_Q3]=this._a61[_Q3]._O8();return _d61},_Z_:function(_d61){this._c61=_d61._c61;this.type=_d61.type;this._561.x=_d61._561.x;this._561.y=_d61._561.y;this._b61.x=_d61._b61.x;this._b61.y=_d61._b61.y;for(var _Q3=0;_Q3<this._c61;++_Q3)this._a61[_Q3]=_d61._a61[_Q3]._O8()}
};_961._e61=0;_961._f61=1;_961._g61=2;_961._h61=0;_961._i61=1;_961._j61=2;_961._k61=3;function _l61(){this._m21=new _V_();this._a61=new Array(_b_);this._m61=new Array(_b_)}_l61.prototype={_n61:function(_d61,_o61,_p61,_q61,_r61){if(_d61._c61==0){return }switch(_d61.type){case _961._e61:{this._m21.x=1;this._m21.y=0;var _s61=(_o61._gz._R3*_d61._561.x-_o61._gz._Rw*_d61._561.y)+_o61._KA.x;var _t61=(_o61._gz._Rw*_d61._561.x+_o61._gz._R3*_d61._561.y)+_o61._KA.y;var _u61=(_q61._gz._R3*_d61._a61[0]._561.x-_q61._gz._Rw*_d61._a61[0]._561.y)+_q61._KA.x;
var _v61=(_q61._gz._Rw*_d61._a61[0]._561.x+_q61._gz._R3*_d61._a61[0]._561.y)+_q61._KA.y;var _w61=_s61-_u61;var _x61=_t61-_v61;if((_w61*_w61+_x61*_x61)>_9_*_9_){this._m21.x=_u61-_s61;this._m21.y=_v61-_t61;this._m21._401()}var _y61=_s61+(_p61*this._m21.x);var _z61=_t61+(_p61*this._m21.y);var _A61=_u61-(_r61*this._m21.x);var _B61=_v61-(_r61*this._m21.y);this._a61[0]=new _V_(0.5*(_y61+_A61),0.5*(_z61+_B61));this._m61[0]=(_A61-_y61)*this._m21.x+(_B61-_z61)*this._m21.y}break;case _961._f61:{this._m21.x=_o61._gz._R3*_d61._b61.x-_o61._gz._Rw*_d61._b61.y;
this._m21.y=_o61._gz._Rw*_d61._b61.x+_o61._gz._R3*_d61._b61.y;var _C61=(_o61._gz._R3*_d61._561.x-_o61._gz._Rw*_d61._561.y)+_o61._KA.x;var _D61=(_o61._gz._Rw*_d61._561.x+_o61._gz._R3*_d61._561.y)+_o61._KA.y;for(var _Q3=0;_Q3<_d61._c61;++_Q3){var _E61=(_q61._gz._R3*_d61._a61[_Q3]._561.x-_q61._gz._Rw*_d61._a61[_Q3]._561.y)+_q61._KA.x;var _F61=(_q61._gz._Rw*_d61._a61[_Q3]._561.x+_q61._gz._R3*_d61._a61[_Q3]._561.y)+_q61._KA.y;var _Al=(_E61-_C61)*this._m21.x+(_F61-_D61)*this._m21.y;var _y61=_E61+((_p61-_Al)*this._m21.x);
var _z61=_F61+((_p61-_Al)*this._m21.y);var _A61=(_E61-(_r61*this._m21.x));var _B61=(_F61-(_r61*this._m21.y));this._a61[_Q3]=new _V_(0.5*(_y61+_A61),0.5*(_z61+_B61));this._m61[_Q3]=(_A61-_y61)*this._m21.x+(_B61-_z61)*this._m21.y}}break;case _961._g61:{this._m21.x=_q61._gz._R3*_d61._b61.x-_q61._gz._Rw*_d61._b61.y;this._m21.y=_q61._gz._Rw*_d61._b61.x+_q61._gz._R3*_d61._b61.y;var _C61=(_q61._gz._R3*_d61._561.x-_q61._gz._Rw*_d61._561.y)+_q61._KA.x;var _D61=(_q61._gz._Rw*_d61._561.x+_q61._gz._R3*_d61._561.y)+_q61._KA.y;
for(var _Q3=0;_Q3<_d61._c61;++_Q3){var _E61=(_o61._gz._R3*_d61._a61[_Q3]._561.x-_o61._gz._Rw*_d61._a61[_Q3]._561.y)+_o61._KA.x;var _F61=(_o61._gz._Rw*_d61._a61[_Q3]._561.x+_o61._gz._R3*_d61._a61[_Q3]._561.y)+_o61._KA.y;var _Al=(_E61-_C61)*this._m21.x+(_F61-_D61)*this._m21.y;var _A61=_E61+((_r61-_Al)*this._m21.x);var _B61=_F61+((_r61-_Al)*this._m21.y);var _y61=(_E61-(_p61*this._m21.x));var _z61=(_F61-(_p61*this._m21.y));this._a61[_Q3]=new _V_(0.5*(_y61+_A61),0.5*(_z61+_B61));this._m61[_Q3]=(_y61-_A61)*this._m21.x+(_z61-_B61)*this._m21.y}
this._m21.x=-this._m21.x;this._m21.y=-this._m21.y}break }}};function _G61(_H61,_I61,_J61,_K61){for(var _Q3=0;_Q3<_b_;++_Q3){_H61[_Q3]=_961._h61;_I61[_Q3]=_961._h61}for(var _Q3=0;_Q3<_J61._c61;++_Q3){var id=_J61._a61[_Q3].id;_H61[_Q3]=_961._k61;for(var _Pa=0;_Pa<_K61._c61;++_Pa){if(_K61._a61[_Pa].id._Si()==id._Si()){_H61[_Q3]=_961._j61;break }}}for(var _Q3=0;_Q3<_K61._c61;++_Q3){var id=_K61._a61[_Q3].id;_I61[_Q3]=_961._i61;for(var _Pa=0;_Pa<_J61._c61;++_Pa){if(_J61._a61[_Pa].id._Si()==id._Si()){_I61[_Q3]=_961._j61;
break }}}}function _L61(){this._uc=new _V_();this.id=new __51()};function _M61(){this._M11=new _V_(),this._N11=new _V_();this._w21=0};function _N61(){this._m21=new _V_();this._x21=0};function _O61(){this._y21=new _V_();this._z21=new _V_()}_O61.prototype={_Z_:function(_P61){this._y21.x=_P61._y21.x;this._y21.y=_P61._y21.y;this._z21.x=_P61._z21.x;this._z21.y=_P61._z21.y;},_O8:function(){var _Q61=new _O61();_Q61._y21.x=this._y21.x;_Q61._y21.y=this._y21.y;_Q61._z21.x=this._z21.x;_Q61._z21.y=this._z21.y;return _Q61}
,_601:function(){return(this._z21.x-this._y21.x)>=0.0&&(this._z21.y-this._y21.y)>=0.0&&this._y21._601()&&this._z21._601()},_R61:function(){return new _V_(0.5*(this._y21.x+this._z21.x),0.5*(this._y21.y+this._z21.y))},_S61:function(){return new _V_(0.5*(this._z21.x-this._y21.x),0.5*(this._z21.y-this._y21.y))},_T61:function(){return 2.0*((this._z21.x-this._y21.x)+(this._z21.y-this._y21.y));},_U61:function(_V61,_W61){if(_W61){this._y21.x=_k11(_V61._y21.x,_W61._y21.x);this._y21.y=_k11(_V61._y21.y,_W61._y21.y);
this._z21.x=_m11(_V61._z21.x,_W61._z21.x);this._z21.y=_m11(_V61._z21.y,_W61._z21.y)}else {this._y21.x=_k11(this._y21.x,_V61._y21.x);this._y21.y=_k11(this._y21.y,_V61._y21.y);this._z21.x=_m11(this._z21.x,_V61._z21.x);this._z21.y=_m11(this._z21.y,_V61._z21.y)}},_X61:function(_g21){return this._y21.x<=_g21._y21.x&&this._y21.y<=_g21._y21.y&&_g21._z21.x<=this._z21.x&&_g21._z21.y<=this._z21.y;},_d21:function(_5z,_3z){var _Y61=-_8_;var _Z61=_8_;var _KA=_3z._M11;var _Al=_V_._201(_3z._N11,_3z._M11);var __61=_i11(_Al);
var _m21=new _V_();for(var _Q3=0;_Q3<2;++_Q3){if(__61._001(_Q3)<_9_){if(_KA._001(_Q3)<this._y21._001(_Q3)||this._z21._001(_Q3)<_KA._001(_Q3)){return !1}}else {var _071=1.0/_Al._001(_Q3);var _171=(this._y21._001(_Q3)-_KA._001(_Q3))*_071;var _271=(this._z21._001(_Q3)-_KA._001(_Q3))*_071;var _Rw=-1.0;if(_171>_271){var _1B=_271;_271=_171;_171=_1B;_Rw=1.0}if(_171>_Y61){_m21.x=_m21.y=0;_m21._101(_Q3,_Rw);_Y61=_171;}_Z61=_k11(_Z61,_271);if(_Y61>_Z61){return !1}}}if(_Y61<0.0||_3z._w21<_Y61){return !1}_5z._x21=_Y61;
_5z._m21.x=_m21.x;_5z._m21.y=_m21.y;return !0}};function _371(_d61,_471,_o61,_571,_q61){_d61._c61=0;var _a51=_911(_o61,_471._t21);var _b51=_911(_q61,_571._t21);var _9d=_b51.x-_a51.x;var _ad=_b51.y-_a51.y;var _671=_9d*_9d+_ad*_ad;var _X51=_471._921,_Y51=_571._921;var _I11=_X51+_Y51;if(_671>_I11*_I11){return }_d61.type=_961._e61;_d61._561.x=_471._t21.x;_d61._561.y=_471._t21.y;_d61._b61.x=_d61._b61.y=0;_d61._c61=1;_d61._a61[0]=new _461();_d61._a61[0]._561.x=_571._t21.x;_d61._a61[0]._561.y=_571._t21.y;_d61._a61[0].id._Dz()}
function _771(_d61,_871,_o61,_571,_q61){_d61._c61=0;var _R3=_911(_q61,_571._t21);var _971=_b11(_o61,_R3);var _a71=0;var _b71=-_8_;var _I11=_871._921+_571._921;var vertexCount=_871._U21;var vertices=_871._T21;var _c71=_871._b31;for(var _Q3=0;_Q3<vertexCount;++_Q3){var _Rw=_c71[_Q3].x*(_971.x-vertices[_Q3].x)+_c71[_Q3].y*(_971.y-vertices[_Q3].y);if(_Rw>_I11){return }if(_Rw>_b71){_b71=_Rw;_a71=_Q3}}var _d71=_a71;var _e71=_d71+1<vertexCount?_d71+1:0;var _td=vertices[_d71];var _ud=vertices[_e71];if(_b71<_9_){_d61._c61=1;
_d61.type=_961._f61;_d61._b61.x=_c71[_a71].x;_d61._b61.y=_c71[_a71].y;_d61._561.x=0.5*(_td.x+_ud.x);_d61._561.y=0.5*(_td.y+_ud.y);_d61._a61[0]=new _461();_d61._a61[0]._561.x=_571._t21.x;_d61._a61[0]._561.y=_571._t21.y;_d61._a61[0].id._Dz();return }var _f71=(_971.x-_td.x)*(_ud.x-_td.x)+(_971.y-_td.y)*(_ud.y-_td.y);var _g71=(_971.x-_ud.x)*(_td.x-_ud.x)+(_971.y-_ud.y)*(_td.y-_ud.y);if(_f71<=0.0){if(__01(_971,_td)>_I11*_I11){return }_d61._c61=1;_d61.type=_961._f61;_d61._b61.x=_971.x-_td.x;_d61._b61.y=_971.y-_td.y;
_d61._b61._401();_d61._561.x=_td.x;_d61._561.y=_td.y;_d61._a61[0]=new _461();_d61._a61[0]._561.x=_571._t21.x;_d61._a61[0]._561.y=_571._t21.y;_d61._a61[0].id._Dz()}else if(_g71<=0.0){if(__01(_971,_ud)>_I11*_I11){return }_d61._c61=1;_d61.type=_961._f61;_d61._b61.x=_971.x-_ud.x;_d61._b61.y=_971.y-_ud.y;_d61._b61._401();_d61._561.x=_ud.x;_d61._561.y=_ud.y;_d61._a61[0]=new _461();_d61._a61[0]._561.x=_571._t21.x;_d61._a61[0]._561.y=_571._t21.y;_d61._a61[0].id._Dz()}else {var _h71=0.5*(_td.x+_ud.x);var _i71=0.5*(_td.y+_ud.y);
var _j71=(_971.x-_h71)*_c71[_d71].x+(_971.y-_i71)*_c71[_d71].y;if(_j71>_I11){return }_d61._c61=1;_d61.type=_961._f61;_d61._b61.x=_c71[_d71].x;_d61._b61.y=_c71[_d71].y;_d61._561.x=_h71;_d61._561.y=_i71;_d61._a61[0]=new _461();_d61._a61[0]._561.x=_571._t21.x;_d61._a61[0]._561.y=_571._t21.y;_d61._a61[0].id._Dz()}}function _k71(_l71,_m71,_n71,_o71,_p71){var _q71=_m71._U21;var _r71=_o71._U21;var _s71=_m71._b31;var _t71=_m71._T21;var _u71=_o71._T21;var _I01=_e11(_p71,_n71);var _D41=0;var _v71=-_8_;for(var _Q3=0;_Q3<_q71;
++_Q3){var _Wd=_I01._gz._R3*_s71[_Q3].x-_I01._gz._Rw*_s71[_Q3].y;var _Xd=_I01._gz._Rw*_s71[_Q3].x+_I01._gz._R3*_s71[_Q3].y;var _jl=(_I01._gz._R3*_t71[_Q3].x-_I01._gz._Rw*_t71[_Q3].y)+_I01._KA.x;var _ml=(_I01._gz._Rw*_t71[_Q3].x+_I01._gz._R3*_t71[_Q3].y)+_I01._KA.y;var _w71=_8_;for(var _Pa=0;_Pa<_r71;++_Pa){var _x71=_Wd*(_u71[_Pa].x-_jl)+_Xd*(_u71[_Pa].y-_ml);if(_x71<_w71){_w71=_x71}}if(_w71>_v71){_v71=_w71;_D41=_Q3}}_l71[0]=_D41;return _v71}function _y71(_R3,_m71,_n71,_z71,_o71,_p71){var _A71=_m71._b31;var _r71=_o71._U21;
var _B71=_o71._T21;var _C71=_o71._b31;_6_(0<=_z71&&_z71<_m71._U21);var _D71=_n71._gz._R3*_A71[_z71].x-_n71._gz._Rw*_A71[_z71].y;var _E71=_n71._gz._Rw*_A71[_z71].x+_n71._gz._R3*_A71[_z71].y;var _F71=_p71._gz._R3*_D71+_p71._gz._Rw*_E71;var _G71=-_p71._gz._Rw*_D71+_p71._gz._R3*_E71;var index=0;var _H71=_8_;for(var _Q3=0;_Q3<_r71;++_Q3){var _n31=_F71*_C71[_Q3].x+_G71*_C71[_Q3].y;if(_n31<_H71){_H71=_n31;index=_Q3}}var _731=index;var _831=_731+1<_r71?_731+1:0;_R3[0]._uc.x=(_p71._gz._R3*_B71[_731].x-_p71._gz._Rw*_B71[_731].y)+_p71._KA.x;
_R3[0]._uc.y=(_p71._gz._Rw*_B71[_731].x+_p71._gz._R3*_B71[_731].y)+_p71._KA.y;_R3[0].id._H41=_z71;_R3[0].id._I41=_731;_R3[0].id._061=__51._361;_R3[0].id._161=__51._261;_R3[1]._uc.x=(_p71._gz._R3*_B71[_831].x-_p71._gz._Rw*_B71[_831].y)+_p71._KA.x;_R3[1]._uc.y=(_p71._gz._Rw*_B71[_831].x+_p71._gz._R3*_B71[_831].y)+_p71._KA.y;_R3[1].id._H41=_z71;_R3[1].id._I41=_831;_R3[1].id._061=__51._361;_R3[1].id._161=__51._261;}function _I71(_d61,_J71,_o61,_K71,_q61){_d61._c61=0;var _L71=_J71._921+_K71._921;var _M71=[0];
var _N71=_k71(_M71,_J71,_o61,_K71,_q61);if(_N71>_L71)return;var _O71=[0];var _P71=_k71(_O71,_K71,_q61,_J71,_o61);if(_P71>_L71)return;var _m71;var _o71;var _n71,_p71;var _z71=0;var _Q71=0;var _R71=0.1*_f_;if(_P71>_N71+_R71){_m71=_K71;_o71=_J71;_n71=_q61;_p71=_o61;_z71=_O71[0];_d61.type=_961._g61;_Q71=1}else {_m71=_J71;_o71=_K71;_n71=_o61;_p71=_q61;_z71=_M71[0];_d61.type=_961._f61;_Q71=0}_y71(_I71._S71,_m71,_n71,_z71,_o71,_p71);var _q71=_m71._U21;var _T71=_m71._T21;var _U71=_z71;var _V71=_z71+1<_q71?_z71+1:0;var _W71=_T71[_U71];
var _X71=_T71[_V71];_I71._Y71.x=_X71.x-_W71.x;_I71._Y71.y=_X71.y-_W71.y;_I71._Y71._401();var _Z71=1.0*_I71._Y71.y;var __71=-1.0*_I71._Y71.x;var _C61=0.5*(_W71.x+_X71.x);var _D61=0.5*(_W71.y+_X71.y);var _081=_n71._gz._R3*_I71._Y71.x-_n71._gz._Rw*_I71._Y71.y;var _181=_n71._gz._Rw*_I71._Y71.x+_n71._gz._R3*_I71._Y71.y;var _281=1.0*_181;var _381=-1.0*_081;_W71=_911(_n71,_W71);_X71=_911(_n71,_X71);var _481=_281*_W71.x+_381*_W71.y;var _581=-(_081*_W71.x+_181*_W71.y)+_L71;var _681=(_081*_X71.x+_181*_X71.y)+_L71;var _781=new Array(2);
var _881=new Array(2);var _981;_981=_a81(_781,_I71._S71,-_081,-_181,_581,_U71);if(_981<2)return;_981=_a81(_881,_781,_081,_181,_681,_V71);if(_981<2){return }_d61._b61.x=_Z71;_d61._b61.y=__71;_d61._561.x=_C61;_d61._561.y=_D61;var _c61=0;for(var _Q3=0;_Q3<_b_;++_Q3){var _b71=(_281*_881[_Q3]._uc.x+_381*_881[_Q3]._uc.y)-_481;if(_b71<=_L71){var _b81=_d61._a61[_c61]=new _461();_b81._561._Z_(_b11(_p71,_881[_Q3]._uc));_b81.id._Z_(_881[_Q3].id);if(_Q71){var _c81=new __51();_c81._Z_(_b81.id);_b81.id._H41=_c81._I41;_b81.id._I41=_c81._H41;
_b81.id._061=_c81._161;_b81.id._161=_c81._061}++_c61}}_d61._c61=_c61}_I71._Y71=new _V_();_I71._S71=[new _L61(),new _L61()];function _d81(_d61,_M71,_o61,_571,_q61){_d61._c61=0;var _e81=_b11(_o61,_911(_q61,_571._t21));var _7_=_M71._G21,_j01=_M71._H21;var _9y=_j01.x-_7_.x;var _xC=_j01.y-_7_.y;var _sc=_9y*(_j01.x-_e81.x)+_xC*(_j01.y-_e81.y);var _uc=_9y*(_e81.x-_7_.x)+_xC*(_e81.y-_7_.y);var _I11=_M71._921+_571._921;var _c81=new __51();_c81._I41=0;_c81._161=__51._261;if(_uc<=0.0){var _f81=_7_;var _9d=_e81.x-_f81.x;var _ad=_e81.y-_f81.y;
var _ZB=_9d*_9d+_ad*_ad;if(_ZB>_I11*_I11){return }if(_M71._J21){var _g81=_M71._F21;var _h81=_7_;var _i81=_h81.x-_g81.x;var _j81=_h81.y-_g81.y;var _f71=_i81*(_h81.x-_e81.x)+_j81*(_h81.y-_e81.y);if(_f71>0.0){return }}_c81._H41=0;_c81._061=__51._261;_d61._c61=1;_d61.type=_961._e61;_d61._b61.x=_d61._b61.y=0;_d61._561.x=_f81.x;_d61._561.y=_f81.y;_d61._a61[0]=new _461();_d61._a61[0].id._Z_(_c81);_d61._a61[0]._561.x=_571._t21.x;_d61._a61[0]._561.y=_571._t21.y;return }if(_sc<=0.0){var _f81=_j01;var _9d=_e81.x-_f81.x;
var _ad=_e81.y-_f81.y;var _ZB=_9d*_9d+_ad*_ad;if(_ZB>_I11*_I11){return }if(_M71._K21){var _k81=_M71._I21;var _l81=_j01;var _m81=_k81.x-_l81.x;var _n81=_k81.y-_l81.y;var _ud=_m81*(_e81.x-_l81.x)+_n81*(_e81.y-_l81.y);if(_ud>0.0){return }}_c81._H41=1;_c81._061=__51._261;_d61._c61=1;_d61.type=_961._e61;_d61._b61.x=_d61._b61.y=0;_d61._561.x=_f81.x;_d61._561.y=_f81.y;_d61._a61[0]=new _461();_d61._a61[0].id._Z_(_c81);_d61._a61[0]._561.x=_571._t21.x;_d61._a61[0]._561.y=_571._t21.y;return }var _o81=_9y*_9y+_xC*_xC;_6_(_o81>0.0);
var _p81=(1.0/_o81)*((_sc*_7_.x)+(_uc*_j01.x));var _q81=(1.0/_o81)*((_sc*_7_.y)+(_uc*_j01.y));var _9d=_e81.x-_p81;var _ad=_e81.y-_q81;var _ZB=_9d*_9d+_ad*_ad;if(_ZB>_I11*_I11){return }var _Wd=-_xC;var _Xd=_9y;if(_Wd*(_e81.x-_7_.x)+_Xd*(_e81.y-_7_.y)<0.0){_Wd=-_Wd;_Xd=-_Xd}_c81._H41=0;_c81._061=__51._361;_d61._c61=1;_d61.type=_961._f61;_d61._b61.x=_Wd;_d61._b61.y=_Xd;_d61._b61._401();_d61._561.x=_7_.x;_d61._561.y=_7_.y;_d61._a61[0]=new _461();_d61._a61[0].id._Z_(_c81);_d61._a61[0]._561.x=_571._t21.x;_d61._a61[0]._561.y=_571._t21.y}
function _r81(){this.type=0;this.index=0;this._b71=0}_r81._s81=0;_r81._t81=1;_r81._u81=2;function _v81(){this.vertices=new Array(_c_);this._c71=new Array(_c_);this._Fb=0};function _w81(){this._731=0,this._831=0;this._td=new _V_(),this._ud=new _V_();this._m21=new _V_();this._x81=new _V_();this._581=0;this._y81=new _V_();this._681=0;};function _z81(){this._A81=new _v81();this._B81=new _H01();this._C81=new _V_();this._D81=new _V_(),this._E81=new _V_(),this._F81=new _V_(),this._G81=new _V_();this._H81=new _V_(),this._I81=new _V_(),
this._J81=new _V_();this._K81=new _V_();this._L81=0,this._M81=0;this._N81=new _V_(),this._O81=new _V_();this._921=0;this._P81=!1}_z81._Q81=new _V_();_z81._R81=new _V_();_z81._S81=new _V_();_z81.prototype={_T81:function(_d61,_M71,_o61,_U81,_q61){this._B81._Z_(_e11(_o61,_q61));this._C81.x=(this._B81._gz._R3*_U81._a31.x-this._B81._gz._Rw*_U81._a31.y)+this._B81._KA.x;this._C81.y=(this._B81._gz._Rw*_U81._a31.x+this._B81._gz._R3*_U81._a31.y)+this._B81._KA.y;this._D81.x=_M71._F21.x;this._D81.y=_M71._F21.y;this._E81.x=_M71._G21.x;
this._E81.y=_M71._G21.y;this._F81.x=_M71._H21.x;this._F81.y=_M71._H21.y;this._G81.x=_M71._I21.x;this._G81.y=_M71._I21.y;var _V81=_M71._J21;var _W81=_M71._K21;_z81._Q81.x=this._F81.x-this._E81.x;_z81._Q81.y=this._F81.y-this._E81.y;_z81._Q81._401();this._I81.x=_z81._Q81.y;this._I81.y=-_z81._Q81.x;var _X81=this._I81.x*(this._C81.x-this._E81.x)+this._I81.y*(this._C81.y-this._E81.y);var _Y81=0.0,_Z81=0.0;var __81=!1,_091=!1;if(_V81){_z81._R81.x=this._E81.x-this._D81.x;_z81._R81.y=this._E81.y-this._D81.y;_z81._R81._401();
this._H81.x=_z81._R81.y;this._H81.y=-_z81._R81.x;__81=(_z81._R81.x*_z81._Q81.y-_z81._R81.y*_z81._Q81.x)>=0;_Y81=this._H81.x*(this._C81.x-this._D81.x)+this._H81.y*(this._C81.y-this._D81.y)}if(_W81){_z81._S81.x=this._G81.x-this._F81.x;_z81._S81.y=this._G81.y-this._F81.y;_z81._S81._401();this._J81.x=_z81._S81.y;this._J81.y=-_z81._S81.x;_091=(_z81._Q81.x*_z81._S81.y-_z81._Q81.y*_z81._S81.x)>0.0;_Z81=this._J81.x*(this._C81.x-this._F81.x)+this._J81.y*(this._C81.y-this._F81.y)}if(_V81&&_W81){if(__81&&_091){
this._P81=_Y81>=0.0||_X81>=0.0||_Z81>=0.0;if(this._P81){this._K81.x=this._I81.x;this._K81.y=this._I81.y;this._N81.x=this._H81.x;this._N81.y=this._H81.y;this._O81.x=this._J81.x;this._O81.y=this._J81.y}else {this._K81.x=-this._I81.x;this._K81.y=-this._I81.y;this._N81.x=-this._I81.x;this._N81.y=-this._I81.y;this._O81.x=-this._I81.x;this._O81.y=-this._I81.y}}else if(__81){this._P81=_Y81>=0.0||(_X81>=0.0&&_Z81>=0.0);if(this._P81){this._K81.x=this._I81.x;this._K81.y=this._I81.y;this._N81.x=this._H81.x;this._N81.y=this._H81.y;
this._O81.x=this._I81.x;this._O81.y=this._I81.y}else {this._K81.x=-this._I81.x;this._K81.y=-this._I81.y;this._N81.x=-this._J81.x;this._N81.y=-this._J81.y;this._O81.x=-this._I81.x;this._O81.y=-this._I81.y}}else if(_091){this._P81=_Z81>=0.0||(_Y81>=0.0&&_X81>=0.0);if(this._P81){this._K81.x=this._I81.x;this._K81.y=this._I81.y;this._N81.x=this._I81.x;this._N81.y=this._I81.y;this._O81.x=this._J81.x;this._O81.y=this._J81.y}else {this._K81.x=-this._I81.x;this._K81.y=-this._I81.y;this._N81.x=-this._I81.x;this._N81.y=-this._I81.y;
this._O81.x=-this._H81.x;this._O81.y=-this._H81.y}}else {this._P81=_Y81>=0.0&&_X81>=0.0&&_Z81>=0.0;if(this._P81){this._K81.x=this._I81.x;this._K81.y=this._I81.y;this._N81.x=this._I81.x;this._N81.y=this._I81.y;this._O81.x=this._I81.x;this._O81.y=this._I81.y}else {this._K81.x=-this._I81.x;this._K81.y=-this._I81.y;this._N81.x=-this._J81.x;this._N81.y=-this._J81.y;this._O81.x=-this._H81.x;this._O81.y=-this._H81.y}}}else if(_V81){if(__81){this._P81=_Y81>=0.0||_X81>=0.0;if(this._P81){this._K81.x=this._I81.x;
this._K81.y=this._I81.y;this._N81.x=this._H81.x;this._N81.y=this._H81.y;this._O81.x=-this._I81.x;this._O81.y=-this._I81.y}else {this._K81.x=-this._I81.x;this._K81.y=-this._I81.y;this._N81.x=this._I81.x;this._N81.y=this._I81.y;this._O81.x=-this._I81.x;this._O81.y=-this._I81.y}}else {this._P81=_Y81>=0.0&&_X81>=0.0;if(this._P81){this._K81.x=this._I81.x;this._K81.y=this._I81.y;this._N81.x=this._I81.x;this._N81.y=this._I81.y;this._O81.x=-this._I81.x;this._O81.y=-this._I81.y}else {this._K81.x=-this._I81.x;
this._K81.y=-this._I81.y;this._N81.x=this._I81.x;this._N81.y=this._I81.y;this._O81.x=-this._H81.x;this._O81.y=-this._H81.y}}}else if(_W81){if(_091){this._P81=_X81>=0.0||_Z81>=0.0;if(this._P81){this._K81.x=this._I81.x;this._K81.y=this._I81.y;this._N81.x=-this._I81.x;this._N81.y=-this._I81.y;this._O81.x=this._J81.x;this._O81.y=this._J81.y}else {this._K81.x=-this._I81.x;this._K81.y=-this._I81.y;this._N81.x=-this._I81.x;this._N81.y=-this._I81.y;this._O81.x=this._I81.x;this._O81.y=this._I81.y}}else {this._P81=_X81>=0.0&&_Z81>=0.0;
if(this._P81){this._K81.x=this._I81.x;this._K81.y=this._I81.y;this._N81.x=-this._I81.x;this._N81.y=-this._I81.y;this._O81.x=this._I81.x;this._O81.y=this._I81.y}else {this._K81.x=-this._I81.x;this._K81.y=-this._I81.y;this._N81.x=-this._J81.x;this._N81.y=-this._J81.y;this._O81.x=this._I81.x;this._O81.y=this._I81.y}}}else {this._P81=_X81>=0.0;if(this._P81){this._K81.x=this._I81.x;this._K81.y=this._I81.y;this._N81.x=-this._I81.x;this._N81.y=-this._I81.y;this._O81.x=-this._I81.x;this._O81.y=-this._I81.y}
else {this._K81.x=-this._I81.x;this._K81.y=-this._I81.y;this._N81.x=this._I81.x;this._N81.y=this._I81.y;this._O81.x=this._I81.x;this._O81.y=this._I81.y}}this._A81._Fb=_U81._U21;for(var _Q3=0;_Q3<_U81._U21;++_Q3){this._A81.vertices[_Q3]=_911(this._B81,_U81._T21[_Q3]);this._A81._c71[_Q3]=_711(this._B81._gz,_U81._b31[_Q3])}this._921=2.0*_h_;_d61._c61=0;var _191=this._291();if(_191.type==_r81._s81){return }if(_191._b71>this._921){return }var _391=this._491();if(_391.type!=_r81._s81&&_391._b71>this._921){return }
var _591=0.98;var _691=0.001;var _791=new _r81();if(_391.type==_r81._s81){_791=_191}else if(_391._b71>_591*_191._b71+_691){_791=_391}else {_791=_191}var _i31=new Array(2);var _891=new _w81();if(_791.type==_r81._t81){_d61.type=_961._f61;var _D41=0;var _E41=this._K81.x*this._A81._c71[0].x+this._K81.y*this._A81._c71[0].y;for(var _Q3=1;_Q3<this._A81._Fb;++_Q3){var value=this._K81.x*this._A81._c71[_Q3].x+this._K81.y*this._A81._c71[_Q3].y;if(value<_E41){_E41=value;_D41=_Q3}}var _731=_D41;var _831=_731+1<this._A81._Fb?_731+1:0;
_i31[0]=new _L61();_i31[0]._uc.x=this._A81.vertices[_731].x;_i31[0]._uc.y=this._A81.vertices[_731].y;_i31[0].id._H41=0;_i31[0].id._I41=_731;_i31[0].id._061=__51._361;_i31[0].id._161=__51._261;_i31[1]=new _L61();_i31[1]._uc.x=this._A81.vertices[_831].x;_i31[1]._uc.y=this._A81.vertices[_831].y;_i31[1].id._H41=0;_i31[1].id._I41=_831;_i31[1].id._061=__51._361;_i31[1].id._161=__51._261;if(this._P81){_891._731=0;_891._831=1;_891._td.x=this._E81.x;_891._td.y=this._E81.y;_891._ud.x=this._F81.x;_891._ud.y=this._F81.y;
_891._m21.x=this._I81.x;_891._m21.y=this._I81.y}else {_891._731=1;_891._831=0;_891._td.x=this._F81.x;_891._td.y=this._F81.y;_891._ud.x=this._E81.x;_891._ud.y=this._E81.y;_891._m21.x=-this._I81.x;_891._m21.y=-this._I81.y}}else {_d61.type=_961._g61;_i31[0]=new _L61();_i31[0]._uc=this._E81;_i31[0].id._H41=0;_i31[0].id._I41=_791.index;_i31[0].id._061=__51._261;_i31[0].id._161=__51._361;_i31[1]=new _L61();_i31[1]._uc=this._F81;_i31[1].id._H41=0;_i31[1].id._I41=_791.index;_i31[1].id._061=__51._261;_i31[1].id._161=__51._361;
_891._731=_791.index;_891._831=_891._731+1<this._A81._Fb?_891._731+1:0;_891._td.x=this._A81.vertices[_891._731].x;_891._td.y=this._A81.vertices[_891._731].y;_891._ud.x=this._A81.vertices[_891._831].x;_891._ud.y=this._A81.vertices[_891._831].y;_891._m21.x=this._A81._c71[_891._731].x;_891._m21.y=this._A81._c71[_891._731].y}_891._x81.x=_891._m21.y;_891._x81.y=-_891._m21.x;_891._y81.x=-_891._x81.x;_891._y81.y=-_891._x81.y;_891._581=_891._x81.x*_891._td.x+_891._x81.y*_891._td.y;_891._681=_891._y81.x*_891._ud.x+_891._y81.y*_891._ud.y;
var _781=new Array(2);var _881=new Array(2);var _981;_981=_a81(_781,_i31,_891._x81.x,_891._x81.y,_891._581,_891._731);if(_981<_b_){return }_981=_a81(_881,_781,_891._y81.x,_891._y81.y,_891._681,_891._831);if(_981<_b_){return }if(_791.type==_r81._t81){_d61._b61.x=_891._m21.x;_d61._b61.y=_891._m21.y;_d61._561.x=_891._td.x;_d61._561.y=_891._td.y}else {_d61._b61.x=_U81._b31[_891._731].x;_d61._b61.y=_U81._b31[_891._731].y;_d61._561.x=_U81._T21[_891._731].x;_d61._561.y=_U81._T21[_891._731].y}var _c61=0;for(var _Q3=0;
_Q3<_b_;++_Q3){var _b71=_891._m21.x*(_881[_Q3]._uc.x-_891._td.x)+_891._m21.y*(_881[_Q3]._uc.y-_891._td.y);if(_b71<=this._921){var _b81=_d61._a61[_c61]=new _461();if(_791.type==_r81._t81){_b81._561._Z_(_b11(this._B81,_881[_Q3]._uc));_b81.id._Z_(_881[_Q3].id)}else {_b81._561.x=_881[_Q3]._uc.x;_b81._561.y=_881[_Q3]._uc.y;_b81.id._061=_881[_Q3].id._161;_b81.id._161=_881[_Q3].id._061;_b81.id._H41=_881[_Q3].id._I41;_b81.id._I41=_881[_Q3].id._H41;}++_c61}}_d61._c61=_c61},_291:function(){var _K11=new _r81();_K11.type=_r81._t81;
_K11.index=this._P81?0:1;_K11._b71=Number.MAX_VALUE;for(var _Q3=0;_Q3<this._A81._Fb;++_Q3){var _Rw=this._K81.x*(this._A81.vertices[_Q3].x-this._E81.x)+this._K81.y*(this._A81.vertices[_Q3].y-this._E81.y);if(_Rw<_K11._b71){_K11._b71=_Rw}}return _K11},_491:function(){var _K11=new _r81();_K11.type=_r81._s81;_K11.index=-1;_K11._b71=-Number.MAX_VALUE;var _991=-this._K81.y;var _a91=this._K81.x;for(var _Q3=0;_Q3<this._A81._Fb;++_Q3){var _Wd=-this._A81._c71[_Q3].x;var _Xd=-this._A81._c71[_Q3].y;var _bt=_Wd*(this._A81.vertices[_Q3].x-this._E81.x)+_Xd*(this._A81.vertices[_Q3].y-this._E81.y);
var _ct=_Wd*(this._A81.vertices[_Q3].x-this._F81.x)+_Xd*(this._A81.vertices[_Q3].y-this._F81.y);var _Rw=_k11(_bt,_ct);if(_Rw>this._921){_K11.type=_r81._u81;_K11.index=_Q3;_K11._b71=_Rw;return _K11}if(_Wd*_991+_Xd*_a91>=0.0){if((_Wd-this._O81.x)*this._K81.x+(_Xd-this._O81.y)*this._K81.y<-_g_){continue }}else {if((_Wd-this._N81.x)*this._K81.x+(_Xd-this._N81.y)*this._K81.y<-_g_){continue;}}if(_Rw>_K11._b71){_K11.type=_r81._u81;_K11.index=_Q3;_K11._b71=_Rw}}return _K11}};_z81._b91=0;_z81._c91=1;_z81._d91=2;
function _e91(_d61,_M71,_o61,_U81,_q61){_e91._f91._T81(_d61,_M71,_o61,_U81,_q61)}_e91._f91=new _z81();function _a81(_g91,_h91,_281,_381,offset,_i91){var _j91=0;var _k91=(_281*_h91[0]._uc.x+_381*_h91[0]._uc.y)-offset;var _l91=(_281*_h91[1]._uc.x+_381*_h91[1]._uc.y)-offset;if(_k91<=0.0)_g91[_j91++]=_h91[0];if(_l91<=0.0)_g91[_j91++]=_h91[1];if(_k91*_l91<0.0){var _m91=_k91/(_k91-_l91);_g91[_j91]=new _L61();_g91[_j91]._uc.x=_h91[0]._uc.x+(_m91*(_h91[1]._uc.x-_h91[0]._uc.x));_g91[_j91]._uc.y=_h91[0]._uc.y+(_m91*(_h91[1]._uc.y-_h91[0]._uc.y));
_g91[_j91].id._H41=_i91;_g91[_j91].id._I41=_h91[0].id._I41;_g91[_j91].id._061=__51._261;_g91[_j91].id._161=__51._361;++_j91}return _j91}function _n91(_o91,_H41,_p91,_I41,_o61,_q61){_n91._3z._K41._sj(_o91,_H41);_n91._3z._L41._sj(_p91,_I41);_n91._3z._M41=_o61;_n91._3z._N41=_q61;_n91._3z._O41=!0;_n91._Eb._Fb=0;_I51(_n91._5z,_n91._Eb,_n91._3z);return _n91._5z._l21<10.0*_9_;}_n91._3z=new _J41();_n91._Eb=new _F41();_n91._5z=new _P41();function _f41(_gc,_La){return !((_La._y21.x-_gc._z21.x)>0.0||(_La._y21.y-_gc._z21.y)>0.0||(_gc._y21.x-_La._z21.x)>0.0||(_gc._y21.y-_La._z21.y)>0.0)}
var _q91=-1;function _r91(){this._g21=new _O61();this._241=null;this.parent=0;this._s91=this._t91=this.height=0}_r91.prototype={_u91:function(){return this._s91==_q91}};function _V31(){this._v91=_q91;this._w91=16;this._x91=0;this._y91=new Array(this._w91);for(var _Q3=0;_Q3<this._w91-1;++_Q3){this._y91[_Q3]=new _r91();this._y91[_Q3].parent=_Q3+1;this._y91[_Q3].height=-1}this._y91[this._w91-1]=new _r91();this._y91[this._w91-1].parent=_q91;this._y91[this._w91-1].height=-1;this._z91=0;this._A91=0;this._B91=0}
_V31._C91=new _V_(_d_,_d_);_V31.prototype={_141:function(_g21,_241){var _341=this._D91();this._y91[_341]._g21._y21._Z_(_V_._201(_g21._y21,_V31._C91));this._y91[_341]._g21._z21._Z_(_V_._4j(_g21._z21,_V31._C91));this._y91[_341]._241=_241;this._y91[_341].height=0;this._E91(_341);return _341},_541:function(_341){_6_(0<=_341&&_341<this._w91);_6_(this._y91[_341]._u91());this._F91(_341);this._G91(_341)},/// @return true if the proxy was re-inserted.
_741:function(_341,_g21,_841){_6_(0<=_341&&_341<this._w91);
_6_(this._y91[_341]._u91());if(this._y91[_341]._g21._X61(_g21)){return !1}this._F91(_341);this._y91[_341]._g21._Z_(_g21);this._y91[_341]._g21._y21._201(_V31._C91);this._y91[_341]._g21._z21._4j(_V31._C91);var _Al=_V_.Multiply(_e_,_841);if(_Al.x<0.0){this._y91[_341]._g21._y21.x+=_Al.x}else {this._y91[_341]._g21._z21.x+=_Al.x;}if(_Al.y<0.0){this._y91[_341]._g21._y21.y+=_Al.y}else {this._y91[_341]._g21._z21.y+=_Al.y}this._E91(_341);return !0},/// @return the proxy user data or 0 if the id is invalid.
_b41:function(_341){
_6_(0<=_341&&_341<this._w91);return this._y91[_341]._241},_a41:function(_341){_6_(0<=_341&&_341<this._w91);return this._y91[_341]._g21},_l41:function(_i41,_g21){var _EZ=[];_EZ.push(this._v91);while(_EZ.length>0){var _H91=_EZ.pop();if(_H91==_q91){continue }var _fW=this._y91[_H91];if(_f41(_fW._g21,_g21)){if(_fW._u91()){var _I91=_i41._y41(_H91);if(_I91==!1){return }}else {_EZ.push(_fW._s91);_EZ.push(_fW._t91)}}}},/// @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.
_d21:function(_i41,
_3z){var _M11=_3z._M11;var _N11=_3z._N11;var _Ia=_V_._201(_N11,_M11);_6_(_Ia._301()>0.0);_Ia._401();var _uc=_W01(1.0,_Ia);var _J91=_i11(_uc);var _w21=_3z._w21;var _K91=new _O61();{var _Ka=_V_._4j(_M11,_V_.Multiply(_w21,_V_._201(_N11,_M11)));_K91._y21._Z_(_l11(_M11,_Ka));_K91._z21._Z_(_n11(_M11,_Ka))}var _EZ=[];_EZ.push(this._v91);while(_EZ.length>0){var _H91=_EZ.pop();if(_H91==_q91){continue }var _fW=this._y91[_H91];if(_f41(_fW._g21,_K91)==!1){continue }var _R3=_fW._g21._R61();var _T3=_fW._g21._S61();var _b71=_h11(_T01(_uc,
_V_._201(_M11,_R3)))-_T01(_J91,_T3);if(_b71>0.0){continue }if(_fW._u91()){var _L91=new _M61();_L91._M11._Z_(_3z._M11);_L91._N11._Z_(_3z._N11);_L91._w21=_w21;var value=_i41._M91(_L91,_H91);if(value==0.0){return }if(value>0.0){_w21=value;var _271=_V_._4j(_M11,_V_.Multiply(_w21,_V_._201(_N11,_M11)));_K91._y21._Z_(_l11(_M11,_271));_K91._z21._Z_(_n11(_M11,_271))}}else {_EZ.push(_fW._s91);_EZ.push(_fW._t91)}}},_D31:function(){this._N91(this._v91);this._O91(this._v91);var _P91=0;var _Q91=this._z91;while(_Q91!=_q91){
_6_(0<=_Q91&&_Q91<this._w91);_Q91=this._y91[_Q91].parent;++_P91}_6_(this._2E()==this._R91());_6_(this._x91+_P91==this._w91)},_2E:function(){if(this._v91==_q91){return 0;}return this._y91[this._v91].height},_t41:function(){var _S91=0;for(var _Q3=0;_Q3<this._w91;++_Q3){var _fW=this._y91[_Q3];if(_fW.height<=1){continue }_6_(_fW._u91()==!1);var _s91=_fW._s91;var _t91=_fW._t91;var _T91=_h11(this._y91[_t91].height-this._y91[_s91].height);_S91=_m11(_S91,_T91)}return _S91},_v41:function(){if(this._v91==_q91){return 0.0}
var _a9=this._y91[this._v91];var _U91=_a9._g21._T61();var _V91=0.0;for(var _Q3=0;_Q3<this._w91;++_Q3){var _fW=this._y91[_Q3];if(_fW.height<0){continue }_V91+=_fW._g21._T61();}return _V91/_U91},_W91:function(){var _X91=new Array(this._x91);var _Fb=0;for(var _Q3=0;_Q3<this._w91;++_Q3){if(this._y91[_Q3].height<0){continue }if(this._y91[_Q3]._u91()){this._y91[_Q3].parent=_q91;_X91[_Fb]=_Q3;++_Fb}else {this._G91(_Q3)}}while(_Fb>1){var _Y91=_8_;var _Z91=-1,__91=-1;for(_Q3=0;_Q3<_Fb;++_Q3){var _0a1=this._y91[_X91[_Q3]]._g21;
for(var _Pa=_Q3+1;_Pa<_Fb;++_Pa){var _1a1=this._y91[_X91[_Pa]]._g21;var _La=new _O61();_La._U61(_0a1,_1a1);var _2a1=_La._T61();if(_2a1<_Y91){_Z91=_Q3;__91=_Pa;_Y91=_2a1}}}var _3a1=_X91[_Z91];var _4a1=_X91[__91];var _s91=this._y91[_3a1];var _t91=this._y91[_4a1];var _5a1=this._D91();var parent=this._y91[_5a1];parent._s91=_3a1;parent._t91=_4a1;parent.height=1+_m11(_s91.height,_t91.height);parent._g21._U61(_s91._g21,_t91._g21);parent.parent=_q91;_s91.parent=_5a1;_t91.parent=_5a1;_X91[__91]=_X91[_Fb-1];_X91[_Z91]=_5a1;
--_Fb}this._v91=_X91[0];this._D31()},/// @param newOrigin the new origin with respect to the old origin
_w41:function(_x41){for(var _Q3=0;_Q3<this._w91;++_Q3){this._y91[_Q3]._g21._y21._201(_x41);this._y91[_Q3]._g21._z21._201(_x41)}},_D91:function(){if(this._z91==_q91){_6_(this._x91==this._w91);var _6a1=this._y91;this._w91*=2;this._y91=_6a1.concat(new Array(this._w91-this._x91));for(var _Q3=this._x91;_Q3<this._w91-1;++_Q3){this._y91[_Q3]=new _r91();this._y91[_Q3].parent=_Q3+1;this._y91[_Q3].height=-1}
this._y91[this._w91-1]=new _r91();this._y91[this._w91-1].parent=_q91;this._y91[this._w91-1].height=-1;this._z91=this._x91}var _H91=this._z91;this._z91=this._y91[_H91].parent;this._y91[_H91].parent=_q91;this._y91[_H91]._s91=_q91;this._y91[_H91]._t91=_q91;this._y91[_H91].height=0;this._y91[_H91]._241=null;++this._x91;return _H91},_G91:function(_H91){_6_(0<=_H91&&_H91<this._w91);_6_(0<this._x91);this._y91[_H91].parent=this._z91;this._y91[_H91].height=-1;this._z91=_H91;--this._x91},_E91:function(_7a1){
++this._B91;if(this._v91==_q91){this._v91=_7a1;this._y91[this._v91].parent=_q91;return }var _8a1=this._y91[_7a1]._g21;var index=this._v91;while(this._y91[index]._u91()==!1){var _s91=this._y91[index]._s91;var _t91=this._y91[index]._t91;var _r31=this._y91[index]._g21._T61();var _9a1=new _O61();_9a1._U61(this._y91[index]._g21,_8a1);var _aa1=_9a1._T61();var _2a1=2.0*_aa1;var _ba1=2.0*(_aa1-_r31);var _ca1;var _g21;if(this._y91[_s91]._u91()){_g21=new _O61();_g21._U61(_8a1,this._y91[_s91]._g21);_ca1=_g21._T61()+_ba1}
else {_g21=new _O61();_g21._U61(_8a1,this._y91[_s91]._g21);var _da1=this._y91[_s91]._g21._T61();var _ea1=_g21._T61();_ca1=(_ea1-_da1)+_ba1}var _fa1;if(this._y91[_t91]._u91()){_g21=new _O61();_g21._U61(_8a1,this._y91[_t91]._g21);_fa1=_g21._T61()+_ba1;}else {_g21=new _O61();_g21._U61(_8a1,this._y91[_t91]._g21);var _da1=this._y91[_t91]._g21._T61();var _ea1=_g21._T61();_fa1=_ea1-_da1+_ba1}if(_2a1<_ca1&&_2a1<_fa1){break }if(_ca1<_fa1){index=_s91}else {index=_t91}}var _ga1=index;var _ha1=this._y91[_ga1].parent;var _ia1=this._D91();
this._y91[_ia1].parent=_ha1;this._y91[_ia1]._241=null;this._y91[_ia1]._g21._U61(_8a1,this._y91[_ga1]._g21);this._y91[_ia1].height=this._y91[_ga1].height+1;if(_ha1!=_q91){if(this._y91[_ha1]._s91==_ga1){this._y91[_ha1]._s91=_ia1;}else {this._y91[_ha1]._t91=_ia1}this._y91[_ia1]._s91=_ga1;this._y91[_ia1]._t91=_7a1;this._y91[_ga1].parent=_ia1;this._y91[_7a1].parent=_ia1}else {this._y91[_ia1]._s91=_ga1;this._y91[_ia1]._t91=_7a1;this._y91[_ga1].parent=_ia1;this._y91[_7a1].parent=_ia1;this._v91=_ia1}index=this._y91[_7a1].parent;
while(index!=_q91){index=this._ja1(index);var _s91=this._y91[index]._s91;var _t91=this._y91[index]._t91;_6_(_s91!=_q91);_6_(_t91!=_q91);this._y91[index].height=1+_m11(this._y91[_s91].height,this._y91[_t91].height);this._y91[index]._g21._U61(this._y91[_s91]._g21,this._y91[_t91]._g21);index=this._y91[index].parent}},_F91:function(_7a1){if(_7a1==this._v91){this._v91=_q91;return }var parent=this._y91[_7a1].parent;var _ka1=this._y91[parent].parent;var _ga1;if(this._y91[parent]._s91==_7a1){_ga1=this._y91[parent]._t91}
else {_ga1=this._y91[parent]._s91}if(_ka1!=_q91){if(this._y91[_ka1]._s91==parent){this._y91[_ka1]._s91=_ga1}else {this._y91[_ka1]._t91=_ga1}this._y91[_ga1].parent=_ka1;this._G91(parent);var index=_ka1;while(index!=_q91){index=this._ja1(index);var _s91=this._y91[index]._s91;var _t91=this._y91[index]._t91;this._y91[index]._g21._U61(this._y91[_s91]._g21,this._y91[_t91]._g21);this._y91[index].height=1+_m11(this._y91[_s91].height,this._y91[_t91].height);index=this._y91[index].parent}}else {this._v91=_ga1;this._y91[_ga1].parent=_q91;
this._G91(parent)}},_ja1:function(_la1){_6_(_la1!=_q91);var _7_=this._y91[_la1];if(_7_._u91()||_7_.height<2){return _la1}var _ma1=_7_._s91;var _na1=_7_._t91;_6_(0<=_ma1&&_ma1<this._w91);_6_(0<=_na1&&_na1<this._w91);var _j01=this._y91[_ma1];var _d11=this._y91[_na1];var _T91=_d11.height-_j01.height;if(_T91>1){var _oa1=_d11._s91;var _pa1=_d11._t91;var _qa1=this._y91[_oa1];var _ra1=this._y91[_pa1];_6_(0<=_oa1&&_oa1<this._w91);_6_(0<=_pa1&&_pa1<this._w91);_d11._s91=_la1;_d11.parent=_7_.parent;_7_.parent=_na1;if(_d11.parent!=_q91){
if(this._y91[_d11.parent]._s91==_la1){this._y91[_d11.parent]._s91=_na1}else {_6_(this._y91[_d11.parent]._t91==_la1);this._y91[_d11.parent]._t91=_na1}}else {this._v91=_na1}if(_qa1.height>_ra1.height){_d11._t91=_oa1;_7_._t91=_pa1;_ra1.parent=_la1;_7_._g21._U61(_j01._g21,_ra1._g21);_d11._g21._U61(_7_._g21,_qa1._g21);_7_.height=1+_m11(_j01.height,_ra1.height);_d11.height=1+_m11(_7_.height,_qa1.height)}else {_d11._t91=_pa1;_7_._t91=_oa1;_qa1.parent=_la1;_7_._g21._U61(_j01._g21,_qa1._g21);_d11._g21._U61(_7_._g21,
_ra1._g21);_7_.height=1+_m11(_j01.height,_qa1.height);_d11.height=1+_m11(_7_.height,_ra1.height)}return _na1}if(_T91<-1){var _sa1=_j01._s91;var _ta1=_j01._t91;var _v31=this._y91[_sa1];var _ua1=this._y91[_ta1];_6_(0<=_sa1&&_sa1<this._w91);_6_(0<=_ta1&&_ta1<this._w91);_j01._s91=_la1;_j01.parent=_7_.parent;_7_.parent=_ma1;if(_j01.parent!=_q91){if(this._y91[_j01.parent]._s91==_la1){this._y91[_j01.parent]._s91=_ma1}else {_6_(this._y91[_j01.parent]._t91==_la1);this._y91[_j01.parent]._t91=_ma1}}else {this._v91=_ma1}
if(_v31.height>_ua1.height){_j01._t91=_sa1;_7_._s91=_ta1;_ua1.parent=_la1;_7_._g21._U61(_d11._g21,_ua1._g21);_j01._g21._U61(_7_._g21,_v31._g21);_7_.height=1+_m11(_d11.height,_ua1.height);_j01.height=1+_m11(_7_.height,_v31.height)}else {_j01._t91=_ta1;_7_._s91=_sa1;_v31.parent=_la1;_7_._g21._U61(_d11._g21,_v31._g21);_j01._g21._U61(_7_._g21,_ua1._g21);_7_.height=1+_m11(_d11.height,_v31.height);_j01.height=1+_m11(_7_.height,_ua1.height)}return _ma1}return _la1},_R91:function(_H91){if(typeof(_H91)==='undefined')_H91=this._v91;
_6_(0<=_H91&&_H91<this._w91);var _fW=this._y91[_H91];if(_fW._u91()){return 0}var _va1=this._R91(_fW._s91);var _wa1=this._R91(_fW._t91);return 1+_m11(_va1,_wa1)},_N91:function(index){if(index==_q91){return }if(index==this._v91){_6_(this._y91[index].parent==_q91)}var _fW=this._y91[index];var _s91=_fW._s91;var _t91=_fW._t91;if(_fW._u91()){_6_(_s91==_q91);_6_(_t91==_q91);_6_(_fW.height==0);return }_6_(0<=_s91&&_s91<this._w91);_6_(0<=_t91&&_t91<this._w91);_6_(this._y91[_s91].parent==index);_6_(this._y91[_t91].parent==index);
this._N91(_s91);this._N91(_t91)},_O91:function(index){if(index==_q91){return;}var _fW=this._y91[index];var _s91=_fW._s91;var _t91=_fW._t91;if(_fW._u91()){_6_(_s91==_q91);_6_(_t91==_q91);_6_(_fW.height==0);return }_6_(0<=_s91&&_s91<this._w91);_6_(0<=_t91&&_t91<this._w91);var _va1=this._y91[_s91].height;var _wa1=this._y91[_t91].height;var height;height=1+_m11(_va1,_wa1);_6_(_fW.height==height);var _g21=new _O61();_g21._U61(this._y91[_s91]._g21,this._y91[_t91]._g21);_6_(_V_._b01(_g21._y21,_fW._g21._y21));_6_(_V_._b01(_g21._z21,
_fW._g21._z21));this._O91(_s91);this._O91(_t91);}};function _xa1(){this._K41=new _z41();this._L41=new _z41();this._ya1=new _J01();this._za1=new _J01();this._Aa1=0};function _Ba1(){this._fL=0;this._Ka=0};_Ba1._s81=0;_Ba1._Ca1=1;_Ba1._Da1=2;_Ba1._Ea1=3;_Ba1._Fa1=4;function _Ga1(){this._Ha1=null;this._Ia1=null;this._Ja1=null;this._Ka1=null;this._PH=0;this._La1=new _V_();this._Ma1=new _V_()}var _Na1=new _H01();var _Oa1=new _H01();_Ga1.prototype={_n61:function(_Eb,_K41,_ya1,_L41,_za1,_171){this._Ha1=_K41;this._Ia1=_L41;
var _Fb=_Eb._Fb;_6_(0<_Fb&&_Fb<3);this._Ja1=_ya1;this._Ka1=_za1;this._Ja1._P01(_Na1,_171);this._Ka1._P01(_Oa1,_171);if(_Fb==1){this._PH=_Ga1._Pa1;var _Qa1=this._Ha1._C21(_Eb._H41[0]);var _Ra1=this._Ia1._C21(_Eb._I41[0]);var _s61=(_Na1._gz._R3*_Qa1.x-_Na1._gz._Rw*_Qa1.y)+_Na1._KA.x;var _t61=(_Na1._gz._Rw*_Qa1.x+_Na1._gz._R3*_Qa1.y)+_Na1._KA.y;var _u61=(_Oa1._gz._R3*_Ra1.x-_Oa1._gz._Rw*_Ra1.y)+_Oa1._KA.x;var _v61=(_Oa1._gz._Rw*_Ra1.x+_Oa1._gz._R3*_Ra1.y)+_Oa1._KA.y;this._Ma1.x=_u61-_s61;this._Ma1.y=_v61-_t61;
var _Rw=this._Ma1._401();return _Rw}else if(_Eb._H41[0]==_Eb._H41[1]){this._PH=_Ga1._g61;var _Sa1=_L41._C21(_Eb._I41[0]);var _Ta1=_L41._C21(_Eb._I41[1]);this._Ma1.x=1.0*(_Ta1.y-_Sa1.y);this._Ma1.y=-1.0*(_Ta1.x-_Sa1.x);this._Ma1._401();var _281=_Oa1._gz._R3*this._Ma1.x-_Oa1._gz._Rw*this._Ma1.y;var _381=_Oa1._gz._Rw*this._Ma1.x+_Oa1._gz._R3*this._Ma1.y;this._La1.x=0.5*(_Sa1.x+_Ta1.x);this._La1.y=0.5*(_Sa1.y+_Ta1.y);var _u61=(_Oa1._gz._R3*this._La1.x-_Oa1._gz._Rw*this._La1.y)+_Oa1._KA.x;var _v61=(_Oa1._gz._Rw*this._La1.x+_Oa1._gz._R3*this._La1.y)+_Oa1._KA.y;
var _Qa1=_K41._C21(_Eb._H41[0]);var _s61=(_Na1._gz._R3*_Qa1.x-_Na1._gz._Rw*_Qa1.y)+_Na1._KA.x;var _t61=(_Na1._gz._Rw*_Qa1.x+_Na1._gz._R3*_Qa1.y)+_Na1._KA.y;var _Rw=(_s61-_u61)*_281+(_t61-_v61)*_381;if(_Rw<0.0){this._Ma1.x=-this._Ma1.x;this._Ma1.y=-this._Ma1.y;_Rw=-_Rw}return _Rw}else {this._PH=_Ga1._f61;var _Ua1=this._Ha1._C21(_Eb._H41[0]);var _Va1=this._Ha1._C21(_Eb._H41[1]);this._Ma1.x=1.0*(_Va1.y-_Ua1.y);this._Ma1.y=-1.0*(_Va1.x-_Ua1.x);this._Ma1._401();var _281=_Na1._gz._R3*this._Ma1.x-_Na1._gz._Rw*this._Ma1.y;
var _381=_Na1._gz._Rw*this._Ma1.x+_Na1._gz._R3*this._Ma1.y;this._La1.x=0.5*(_Ua1.x+_Va1.x);this._La1.y=0.5*(_Ua1.y+_Va1.y);var _s61=(_Na1._gz._R3*this._La1.x-_Na1._gz._Rw*this._La1.y)+_Na1._KA.x;var _t61=(_Na1._gz._Rw*this._La1.x+_Na1._gz._R3*this._La1.y)+_Na1._KA.y;var _Ra1=this._Ia1._C21(_Eb._I41[0]);var _u61=(_Oa1._gz._R3*_Ra1.x-_Oa1._gz._Rw*_Ra1.y)+_Oa1._KA.x;var _v61=(_Oa1._gz._Rw*_Ra1.x+_Oa1._gz._R3*_Ra1.y)+_Oa1._KA.y;var _Rw=(_u61-_s61)*_281+(_v61-_t61)*_381;if(_Rw<0.0){this._Ma1.x=-this._Ma1.x;
this._Ma1.y=-this._Ma1.y;_Rw=-_Rw}return _Rw}},_Wa1:function(_Xa1,_Ka){this._Ja1._P01(_Na1,_Ka);this._Ka1._P01(_Oa1,_Ka);switch(this._PH){case _Ga1._Pa1:{var _Ya1=_Na1._gz._R3*this._Ma1.x+_Na1._gz._Rw*this._Ma1.y;var _Za1=-_Na1._gz._Rw*this._Ma1.x+_Na1._gz._R3*this._Ma1.y;var __a1=_Oa1._gz._R3*-this._Ma1.x+_Oa1._gz._Rw*-this._Ma1.y;var _0b1=-_Oa1._gz._Rw*-this._Ma1.x+_Oa1._gz._R3*-this._Ma1.y;_Xa1[0]=this._Ha1._A21(_Ya1,_Za1);_Xa1[1]=this._Ia1._A21(__a1,_0b1);var _Qa1=this._Ha1._C21(_Xa1[0]);var _Ra1=this._Ia1._C21(_Xa1[1]);
var _s61=(_Na1._gz._R3*_Qa1.x-_Na1._gz._Rw*_Qa1.y)+_Na1._KA.x;var _t61=(_Na1._gz._Rw*_Qa1.x+_Na1._gz._R3*_Qa1.y)+_Na1._KA.y;var _u61=(_Oa1._gz._R3*_Ra1.x-_Oa1._gz._Rw*_Ra1.y)+_Oa1._KA.x;var _v61=(_Oa1._gz._Rw*_Ra1.x+_Oa1._gz._R3*_Ra1.y)+_Oa1._KA.y;return(_u61-_s61)*this._Ma1.x+(_v61-_t61)*this._Ma1.y}case _Ga1._f61:{var _281=_Na1._gz._R3*this._Ma1.x-_Na1._gz._Rw*this._Ma1.y;var _381=_Na1._gz._Rw*this._Ma1.x+_Na1._gz._R3*this._Ma1.y;var _s61=(_Na1._gz._R3*this._La1.x-_Na1._gz._Rw*this._La1.y)+_Na1._KA.x;
var _t61=(_Na1._gz._Rw*this._La1.x+_Na1._gz._R3*this._La1.y)+_Na1._KA.y;var __a1=_Oa1._gz._R3*-_281+_Oa1._gz._Rw*-_381;var _0b1=-_Oa1._gz._Rw*-_281+_Oa1._gz._R3*-_381;_Xa1[0]=-1;_Xa1[1]=this._Ia1._A21(__a1,_0b1);var _Ra1=this._Ia1._C21(_Xa1[1]);var _u61=(_Oa1._gz._R3*_Ra1.x-_Oa1._gz._Rw*_Ra1.y)+_Oa1._KA.x;var _v61=(_Oa1._gz._Rw*_Ra1.x+_Oa1._gz._R3*_Ra1.y)+_Oa1._KA.y;return(_u61-_s61)*_281+(_v61-_t61)*_381}case _Ga1._g61:{var _281=_Oa1._gz._R3*this._Ma1.x-_Oa1._gz._Rw*this._Ma1.y;var _381=_Oa1._gz._Rw*this._Ma1.x+_Oa1._gz._R3*this._Ma1.y;
var _u61=(_Oa1._gz._R3*this._La1.x-_Oa1._gz._Rw*this._La1.y)+_Oa1._KA.x;var _v61=(_Oa1._gz._Rw*this._La1.x+_Oa1._gz._R3*this._La1.y)+_Oa1._KA.y;var _Ya1=_Na1._gz._R3*-_281+_Na1._gz._Rw*-_381;var _0b1=-_Na1._gz._Rw*-_281+_Na1._gz._R3*-_381;_Xa1[1]=-1;_Xa1[0]=this._Ha1._A21(_Ya1,_0b1);var _Qa1=this._Ha1._C21(_Xa1[0]);var _s61=(_Na1._gz._R3*_Qa1.x-_Na1._gz._Rw*_Qa1.y)+_Na1._KA.x;var _t61=(_Na1._gz._Rw*_Qa1.x+_Na1._gz._R3*_Qa1.y)+_Na1._KA.y;return(_s61-_u61)*_281+(_t61-_v61)*_381}default :_6_(!1);_Xa1[0]=-1;
_Xa1[1]=-1;return 0.0}},_1b1:function(_H41,_I41,_Ka){this._Ja1._P01(_Na1,_Ka);this._Ka1._P01(_Oa1,_Ka);switch(this._PH){case _Ga1._Pa1:{var _Qa1=this._Ha1._C21(_H41);var _Ra1=this._Ia1._C21(_I41);var _s61=(_Na1._gz._R3*_Qa1.x-_Na1._gz._Rw*_Qa1.y)+_Na1._KA.x;var _t61=(_Na1._gz._Rw*_Qa1.x+_Na1._gz._R3*_Qa1.y)+_Na1._KA.y;var _u61=(_Oa1._gz._R3*_Ra1.x-_Oa1._gz._Rw*_Ra1.y)+_Oa1._KA.x;var _v61=(_Oa1._gz._Rw*_Ra1.x+_Oa1._gz._R3*_Ra1.y)+_Oa1._KA.y;var _b71=(_u61-_s61)*this._Ma1.x+(_v61-_t61)*this._Ma1.y;return _b71}
case _Ga1._f61:{var _281=_Na1._gz._R3*this._Ma1.x-_Na1._gz._Rw*this._Ma1.y;var _381=_Na1._gz._Rw*this._Ma1.x+_Na1._gz._R3*this._Ma1.y;var _s61=(_Na1._gz._R3*this._La1.x-_Na1._gz._Rw*this._La1.y)+_Na1._KA.x;var _t61=(_Na1._gz._Rw*this._La1.x+_Na1._gz._R3*this._La1.y)+_Na1._KA.y;var _Ra1=this._Ia1._C21(_I41);var _u61=(_Oa1._gz._R3*_Ra1.x-_Oa1._gz._Rw*_Ra1.y)+_Oa1._KA.x;var _v61=(_Oa1._gz._Rw*_Ra1.x+_Oa1._gz._R3*_Ra1.y)+_Oa1._KA.y;var _b71=(_u61-_s61)*_281+(_v61-_t61)*_381;return _b71}case _Ga1._g61:{var _281=_Oa1._gz._R3*this._Ma1.x-_Oa1._gz._Rw*this._Ma1.y;
var _381=_Oa1._gz._Rw*this._Ma1.x+_Oa1._gz._R3*this._Ma1.y;var _u61=(_Oa1._gz._R3*this._La1.x-_Oa1._gz._Rw*this._La1.y)+_Oa1._KA.x;var _v61=(_Oa1._gz._Rw*this._La1.x+_Oa1._gz._R3*this._La1.y)+_Oa1._KA.y;var _Qa1=this._Ha1._C21(_H41);var _s61=(_Na1._gz._R3*_Qa1.x-_Na1._gz._Rw*_Qa1.y)+_Na1._KA.x;var _t61=(_Na1._gz._Rw*_Qa1.x+_Na1._gz._R3*_Qa1.y)+_Na1._KA.y;var _b71=(_s61-_u61)*_281+(_t61-_v61)*_381;return _b71}default :_6_(!1);return 0.0}}};_Ga1._Pa1=0;_Ga1._f61=1;_Ga1._g61=2;var _2b1=_OZ.__Z("toi","solveTOI");
function _3b1(_5z,_3z){_2b1.start();++_3b1._4b1;_5z._fL=_Ba1._s81;_5z._Ka=_3z._Aa1;var _K41=_3z._K41;var _L41=_3z._L41;_3b1._5b1._Z_(_3z._ya1);_3b1._6b1._Z_(_3z._za1);_3b1._5b1._401();_3b1._6b1._401();var _Aa1=_3z._Aa1;var _L71=_K41._921+_L41._921;var target=_m11(_f_,_L71-3.0*_f_);var _7b1=0.25*_f_;_6_(target>_7b1);var _171=0.0;var _8b1=20;var _Q51=0;var _Eb=new _F41();_Eb._Fb=0;var _9b1=new _J41();_9b1._K41._Z_(_3z._K41);_9b1._L41._Z_(_3z._L41);_9b1._O41=!1;for(;;){_3b1._5b1._P01(_9b1._M41,_171);_3b1._6b1._P01(_9b1._N41,
_171);var _ab1=new _P41();_I51(_ab1,_Eb,_9b1);if(_ab1._l21<=0.0){_5z._fL=_Ba1._Da1;_5z._Ka=0.0;break }if(_ab1._l21<target+_7b1){_5z._fL=_Ba1._Ea1;_5z._Ka=_171;break }var _bb1=new _Ga1();_bb1._n61(_Eb,_K41,_3b1._5b1,_L41,_3b1._6b1,_171);var _cb1=!1;var _271=_Aa1;var _db1=0;for(;;){var _Xa1=[];var _ct=_bb1._Wa1(_Xa1,_271);if(_ct>target+_7b1){_5z._fL=_Ba1._Fa1;_5z._Ka=_Aa1;_cb1=!0;break }if(_ct>target-_7b1){_171=_271;break }var _bt=_bb1._1b1(_Xa1[0],_Xa1[1],_171);if(_bt<target-_7b1){_5z._fL=_Ba1._Ca1;_5z._Ka=_171;
_cb1=!0;break }if(_bt<=target+_7b1){_5z._fL=_Ba1._Ea1;_5z._Ka=_171;_cb1=!0;break }var _eb1=0;var _zV=_171,_AV=_271;for(;;){var _Ka;if(_eb1&1){_Ka=_zV+(target-_bt)*(_AV-_zV)/(_ct-_bt);}else {_Ka=0.5*(_zV+_AV)}++_eb1;++_3b1._fb1;var _Rw=_bb1._1b1(_Xa1[0],_Xa1[1],_Ka);if(_h11(_Rw-target)<_7b1){_271=_Ka;break }if(_Rw>target){_zV=_Ka;_bt=_Rw}else {_AV=_Ka;_ct=_Rw}if(_eb1==50){break }}_3b1._gb1=_m11(_3b1._gb1,_eb1);++_db1;if(_db1==_c_){break }}++_Q51;++_3b1._hb1;if(_cb1){break }if(_Q51==_8b1){_5z._fL=_Ba1._Ca1;_5z._Ka=_171;
break }}_3b1._ib1=_m11(_3b1._ib1,_Q51);_2b1.stop();_3b1._jb1=_m11(_3b1._jb1,_2b1._TZ);_3b1._kb1+=_2b1._TZ}_3b1._5b1=new _J01();_3b1._6b1=new _J01();_3b1._kb1=0;_3b1._jb1=0;_3b1._4b1=0;_3b1._hb1=0;_3b1._ib1=0;_3b1._fb1=0;_3b1._gb1=0;function _lb1(){this.type=_mb1._nb1;this.position=new _V_(0.0,0.0);this.angle=0.0;this._ob1=new _V_(0.0,0.0);this._pb1=0.0;this._qb1=0.0;this._rb1=0.0;this._sb1=!0;this._tb1=!0;this._ub1=!1;/// @warning You should use this flag sparingly since it increases processing time.
this._vb1=!1;
this._96=!0;this._241=null;this._wb1=1.0;Object.seal(this)}_lb1.prototype={_a01:function(data){this.type=data['type'];this.position._a01(data['position']);this.angle=data['angle'];this._ob1._a01(data['linearVelocity']);this._pb1=data['angularVelocity'];this._qb1=data['linearDamping'];this._rb1=data['angularDamping'];this._sb1=data['allowSleep'];this._tb1=data['awake'];this._ub1=data['fixedRotation'];this._vb1=data['bullet'];this._96=data['active'];this._wb1=data['gravityScale']}};function _mb1(_xb1,
_yb1){_6_(_xb1.position._601());_6_(_xb1._ob1._601());_6_(_L_(_xb1.angle));_6_(_L_(_xb1._pb1));_6_(_L_(_xb1._rb1)&&_xb1._rb1>=0.0);_6_(_L_(_xb1._qb1)&&_xb1._qb1>=0.0);this._zb1=0;this._Ab1=0;if(_xb1._vb1){this._Ab1|=_mb1._Bb1}if(_xb1._ub1){this._Ab1|=_mb1._Cb1}if(_xb1._sb1){this._Ab1|=_mb1._Db1}if(_xb1._tb1){this._Ab1|=_mb1._Eb1}if(_xb1._96){this._Ab1|=_mb1._Fb1}this._Gb1=_yb1;this._B81=new _H01();this._B81._KA._Z_(_xb1.position);this._B81._gz._sj(_xb1.angle);this._Hb1=new _H01();this._Hb1._Z_(this._B81);
this._Ib1=new _J01();this._Ib1._K01._W_();this._Ib1._L01._Z_(this._B81._KA);this._Ib1._R3._Z_(this._B81._KA);this._Ib1._N01=_xb1.angle;this._Ib1._gc=_xb1.angle;this._Ib1._O01=0.0;this._Jb1=null;this._Kb1=null;this._Lb1=null;this._Mb1=null;this._Nb1=_xb1._ob1._O8();this._Ob1=_xb1._pb1;this._Pb1=_xb1._qb1;this._Qb1=_xb1._rb1;this._Rb1=_xb1._wb1;this._Sb1=new _V_();this._Tb1=0.0;this._Ub1=0.0;this._PH=_xb1.type;if(this._PH==_mb1._Vb1){this._Wb1=1.0;this._Xb1=1.0}else {this._Wb1=0.0;this._Xb1=0.0}this._Yb1=0.0;
this._Zb1=0.0;this.__b1=_xb1._241;this._0c1=null;this._1c1=0}_mb1._nb1=0;_mb1._2c1=1;_mb1._Vb1=2;_mb1._3c1=0x0001;_mb1._Eb1=0x0002;_mb1._Db1=0x0004;_mb1._Bb1=0x0008;_mb1._Cb1=0x0010;_mb1._Fb1=0x0020;_mb1._4c1=0x0040;_mb1._5c1=new _V_();_mb1._6c1=new _H01();_mb1.prototype={/// @param def the fixture definition.
/// @warning This function is locked during callbacks.
_7c1:function(_8c1,_j21){if(typeof(_j21)!=='undefined'){var _9c1=new _ac1();_9c1._u21=_8c1;_9c1._j21=_j21;return this._7c1(_9c1)}_6_(this._Gb1._bc1()==!1);
if(this._Gb1._bc1()==!0){return null}var _fP=new _cc1();_fP._dc1(this,_8c1);if(this._Ab1&_mb1._Fb1){var _ec1=this._Gb1._fc1._gc1;_fP._hc1(_ec1,this._B81)}_fP._Mb1=this._0c1;this._0c1=_fP;++this._1c1;_fP._ic1=this;if(_fP._jc1>0.0){this._kc1()}this._Gb1._Ab1|=_lc1._mc1;return _fP},/// @param fixture the fixture to be removed.
/// @warning This function is locked during callbacks.
_nc1:function(_fP){_6_(this._Gb1._bc1()==!1);if(this._Gb1._bc1()==!0){return }_6_(_fP._ic1==this);_6_(this._1c1>0);var _fW=this._0c1;
var _xu=!1;while(_fW!=null){if(_fW==_fP){this._0c1=_fW=_fP._Mb1;_xu=!0;break }_fW=_fW._Mb1}_6_(_xu);var _631=this._Kb1;while(_631){var _R3=_631._oc1;_631=_631._zj;var _pc1=_R3._qc1();var _rc1=_R3._sc1();if(_fP==_pc1||_fP==_rc1){this._Gb1._fc1._tc1(_R3)}}if(this._Ab1&_mb1._Fb1){var _ec1=this._Gb1._fc1._gc1;_fP._uc1(_ec1)}_fP._tc1();_fP._ic1=null;_fP._Mb1=null;--this._1c1;this._kc1()},/// @param position the world position of the body's local origin.
/// @param angle the world rotation in radians.
_vc1:function(position,
angle){_6_(this._Gb1._bc1()==!1);if(this._Gb1._bc1()==!0){return }this._B81._gz._sj(angle);this._B81._KA._Z_(position);this._Hb1._Z_(this._B81);this._Ib1._R3._Z_(_911(this._B81,this._Ib1._K01));this._Ib1._gc=angle;this._Ib1._L01._Z_(this._Ib1._R3);this._Ib1._N01=angle;var _ec1=this._Gb1._fc1._gc1;for(var _3w=this._0c1;_3w;_3w=_3w._Mb1){_3w._wc1(_ec1,this._B81,this._B81)}},/// @return the world transform of the body's origin.
_P01:function(){return this._B81},/// @return the world position of the body's origin.
_1P:function(){
return this._B81._KA},/// @return the current world rotation angle in radians.
_E01:function(){return this._Ib1._gc},_xc1:function(){return this._Ib1._R3},_yc1:function(){return this._Ib1._K01},/// @param v the new linear velocity of the center of mass.
_zc1:function(_uc){if(this._PH==_mb1._nb1){return }if(_T01(_uc,_uc)>0.0){this._DP(!0)}this._Nb1=_uc},/// @return the linear velocity of the center of mass.
_Ac1:function(){return this._Nb1},/// @param omega the new angular velocity in radians/second.
_Bc1:function(_S3){
if(this._PH==_mb1._nb1){return }if(_S3*_S3>0.0){this._DP(!0)}this._Ob1=_S3;},/// @return the angular velocity in radians/second.
_Cc1:function(){return this._Ob1},/// @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
_Dc1:function(_Ec1,_861,_Fc1){if(this._PH!=_mb1._Vb1){return }if(_Fc1&&(this._Ab1&_mb1._Eb1)==0){this._DP(!0)}if(this._Ab1&_mb1._Eb1){this._Sb1._4j(_Ec1);this._Tb1+=_U01(_V_._201(_861,
this._Ib1._R3),_Ec1)}},/// @param force the world force vector, usually in Newtons (N).
/// @param wake also wake up the body
_Gc1:function(_Ec1,_Fc1){if(this._PH!=_mb1._Vb1){return }if(_Fc1&&(this._Ab1&_mb1._Eb1)==0){this._DP(!0)}if(this._Ab1&_mb1._Eb1){this._Sb1._4j(_Ec1)}},/// @param torque about the z-axis (out of the screen), usually in N-m.
/// @param wake also wake up the body
_Hc1:function(_Ic1,_Fc1){if(this._PH!=_mb1._Vb1){return }if(_Fc1&&(this._Ab1&_mb1._Eb1)==0){this._DP(!0)}if(this._Ab1&_mb1._Eb1){
this._Tb1+=_Ic1}},/// @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
_Jc1:function(_Kc1,_861,_Fc1){if(this._PH!=_mb1._Vb1){return }if(_Fc1&&(this._Ab1&_mb1._Eb1)==0){this._DP(!0)}if(this._Ab1&_mb1._Eb1){this._Nb1._4j(_V_.Multiply(this._Xb1,_Kc1));this._Ob1+=this._Zb1*_U01(_V_._201(_861,this._Ib1._R3),_Kc1)}},/// @param impulse the angular impulse in units of kg*m*m/s
/// @param wake also wake up the body
_Lc1:function(_Kc1,
_Fc1){if(this._PH!=_mb1._Vb1){return }if(_Fc1&&(this._Ab1&_mb1._Eb1)==0){this._DP(!0)}if(this._Ab1&_mb1._Eb1){this._Ob1+=this._Zb1*_Kc1}},/// @return the mass, usually in kilograms (kg).
_Mc1:function(){return this._Wb1},/// @return the rotational inertia, usually in kg-m^2.
_Nc1:function(){return this._Yb1+this._Wb1*_T01(this._Ib1._K01,this._Ib1._K01)},/// @return a struct containing the mass, inertia and center of the body.
_Oc1:function(data){data._621=this._Wb1;data._721=this._Yb1+this._Wb1*_T01(this._Ib1._K01,
this._Ib1._K01);data._H11=this._Ib1._K01},/// @param massData the mass properties.
_Pc1:function(_i21){_6_(this._Gb1._bc1()==!1);if(this._Gb1._bc1()==!0){return }if(this._PH!=_mb1._Vb1){return }this._Xb1=0.0;this._Yb1=0.0;this._Zb1=0.0;this._Wb1=_i21._621;if(this._Wb1<=0.0){this._Wb1=1.0}this._Xb1=1.0/this._Wb1;if(_i21._721>0.0&&(this._Ab1&_mb1._Cb1)==0){this._Yb1=_i21._721-this._Wb1*_T01(_i21._H11,_i21._H11);_6_(this._Yb1>0.0);this._Zb1=1.0/this._Yb1}_mb1._5c1._Z_(this._Ib1._R3);this._Ib1._K01._Z_(_i21._H11);
this._Ib1._L01._Z_(_911(this._B81,this._Ib1._K01));this._Ib1._R3._Z_(this._Ib1._L01);this._Nb1._4j(_W01(this._Ob1,_V_._201(this._Ib1._R3,_mb1._5c1)))},_kc1:function(){this._Wb1=0.0;this._Xb1=0.0;this._Yb1=0.0;this._Zb1=0.0;this._Ib1._K01._W_();if(this._PH==_mb1._nb1||this._PH==_mb1._2c1){this._Ib1._L01._Z_(this._B81._KA);this._Ib1._R3._Z_(this._B81._KA);this._Ib1._N01=this._Ib1._gc;return }_6_(this._PH==_mb1._Vb1);var _K01=new _V_(0,0);for(var _3w=this._0c1;_3w;_3w=_3w._Mb1){if(_3w._jc1==0.0){continue }
var _i21=new _521();_3w._Oc1(_i21);this._Wb1+=_i21._621;_K01._4j(_V_.Multiply(_i21._621,_i21._H11));this._Yb1+=_i21._721}if(this._Wb1>0.0){this._Xb1=1.0/this._Wb1;_K01.Multiply(this._Xb1);}else {this._Wb1=1.0;this._Xb1=1.0}if(this._Yb1>0.0&&(this._Ab1&_mb1._Cb1)==0){this._Yb1-=this._Wb1*_T01(_K01,_K01);_6_(this._Yb1>0.0);this._Zb1=1.0/this._Yb1}else {this._Yb1=0.0;this._Zb1=0.0}_mb1._5c1._Z_(this._Ib1._R3);this._Ib1._K01._Z_(_K01);this._Ib1._L01._Z_(_911(this._B81,this._Ib1._K01));this._Ib1._R3._Z_(this._Ib1._L01);
this._Nb1._4j(_W01(this._Ob1,_V_._201(this._Ib1._R3,_mb1._5c1)))},/// @param localPoint a point on the body measured relative the the body's origin.
/// @return the same point expressed in world coordinates.
_Qc1:function(_561){return _911(this._B81,_561)},/// @param localVector a vector fixed in the body.
/// @return the same vector expressed in world coordinates.
_Rc1:function(_Sc1){return _711(this._B81._gz,_Sc1)},/// @param a point in world coordinates.
/// @return the corresponding local point relative to the body's origin.
_Tc1:function(_Uc1){
return _b11(this._B81,_Uc1)},/// @param a vector in world coordinates.
/// @return the corresponding local vector.
_Vc1:function(_Wc1){return _811(this._B81._gz,_Wc1)},/// @param a point in world coordinates.
/// @return the world velocity of a point.
_Xc1:function(_Uc1){return _V_._4j(this._Nb1,_W01(this._Ob1,_V_._201(_Uc1,this._Ib1._R3)))},/// @param a point in local coordinates.
/// @return the world velocity of a point.
_Yc1:function(_561){return this._Xc1(this._Qc1(_561))},_Zc1:function(){return this._Pb1}
,_yP:function(_qb1){this._Pb1=_qb1},__c1:function(){return this._Qb1},_AP:function(_rb1){this._Qb1=_rb1},_0d1:function(){return this._Rb1},_1d1:function(scale){this._Rb1=scale},_2d1:function(type){_6_(this._Gb1._bc1()==!1);if(this._Gb1._bc1()==!0){return }if(this._PH==type){return }this._PH=type;this._kc1();if(this._PH==_mb1._nb1){this._Nb1._W_();this._Ob1=0.0;this._Ib1._N01=this._Ib1._gc;this._Ib1._L01._Z_(this._Ib1._R3);this._3d1()}this._DP(!0);this._Sb1._W_();this._Tb1=0.0;var _4d1=this._Kb1;while(_4d1){
var _5d1=_4d1;_4d1=_4d1._zj;this._Gb1._fc1._tc1(_5d1._oc1)}this._Kb1=null;var _ec1=this._Gb1._fc1._gc1;for(var _3w=this._0c1;_3w;_3w=_3w._Mb1){var _6d1=_3w._X31;for(var _Q3=0;_Q3<_6d1;++_Q3){_ec1._941(_3w._7d1[_Q3]._341)}}},_a21:function(){return this._PH;},_8d1:function(_9d1){if(_9d1){this._Ab1|=_mb1._Bb1}else {this._Ab1&=~_mb1._Bb1}},_ad1:function(){return(this._Ab1&_mb1._Bb1)==_mb1._Bb1},_bd1:function(_9d1){if(_9d1){this._Ab1|=_mb1._Db1}else {this._Ab1&=~_mb1._Db1;this._DP(!0)}},_cd1:function(){return(this._Ab1&_mb1._Db1)==_mb1._Db1}
,/// @param flag set to true to wake the body, false to put it to sleep.
_DP:function(_9d1){if(_9d1){if((this._Ab1&_mb1._Eb1)==0){this._Ab1|=_mb1._Eb1;this._Ub1=0.0}}else {this._Ab1&=~_mb1._Eb1;this._Ub1=0.0;this._Nb1._W_();this._Ob1=0.0;this._Sb1._W_();this._Tb1=0.0}},/// @return true if the body is awake.
_dd1:function(){return(this._Ab1&_mb1._Eb1)==_mb1._Eb1},_ed1:function(_9d1){_6_(this._Gb1._bc1()==!1);if(_9d1==this._fd1()){return }if(_9d1){this._Ab1|=_mb1._Fb1;var _ec1=this._Gb1._fc1._gc1;for(var _3w=this._0c1;
_3w;_3w=_3w._Mb1){_3w._hc1(_ec1,this._B81)}}else {this._Ab1&=~_mb1._Fb1;var _ec1=this._Gb1._fc1._gc1;for(var _3w=this._0c1;_3w;_3w=_3w._Mb1){_3w._uc1(_ec1)}var _4d1=this._Kb1;while(_4d1){var _5d1=_4d1;_4d1=_4d1._zj;this._Gb1._fc1._tc1(_5d1._oc1)}this._Kb1=null}},_fd1:function(){return(this._Ab1&_mb1._Fb1)==_mb1._Fb1},_gd1:function(_9d1){var status=(this._Ab1&_mb1._Cb1)==_mb1._Cb1;if(status==_9d1){return }if(_9d1){this._Ab1|=_mb1._Cb1}else {this._Ab1&=~_mb1._Cb1}this._Ob1=0.0;this._kc1()},_hd1:function(){
return(this._Ab1&_mb1._Cb1)==_mb1._Cb1},_id1:function(){return this._0c1},_jd1:function(){return this._Jb1},/// @warning this list changes during the time step and you may
_kd1:function(){return this._Kb1},_ld1:function(){return this._Mb1},_b41:function(){return this.__b1},_md1:function(data){this.__b1=data},_nd1:function(){return this._Gb1},_3d1:function(){_mb1._6c1._gz._sj(this._Ib1._N01);_mb1._6c1._KA._Z_(_V_._201(this._Ib1._L01,_711(_mb1._6c1._gz,this._Ib1._K01)));var _ec1=this._Gb1._fc1._gc1;for(var _3w=this._0c1;
_3w;_3w=_3w._Mb1){_3w._wc1(_ec1,_mb1._6c1,this._B81)}},_od1:function(){this._B81._gz._sj(this._Ib1._gc);this._B81._KA._Z_(_V_._201(this._Ib1._R3,_711(this._B81._gz,this._Ib1._K01)))},_pd1:function(_P61){if(this._PH!=_mb1._Vb1&&_P61._PH!=_mb1._Vb1){return !1}for(var _qd1=this._Jb1;_qd1;_qd1=_qd1._zj){if(_qd1._P61==_P61){if(_qd1._rd1._sd1==!1){return !1}}}return !0},_R01:function(alpha){this._Ib1._R01(alpha);this._Ib1._R3._Z_(this._Ib1._L01);this._Ib1._gc=this._Ib1._N01;this._B81._gz._sj(this._Ib1._gc);
this._B81._KA._Z_(_V_._201(this._Ib1._R3,_711(this._B81._gz,this._Ib1._K01)))},_801:function(_901){var _Dw=_901||{};_Dw['fixtures']=null;_Dw['type']=this._PH;_Dw['position']=this._1P()._801();_Dw['angle']=this._E01();_Dw['linearVelocity']=this._Ac1()._801();_Dw['angularVelocity']=this._Cc1();_Dw['linearDamping']=this._Zc1();_Dw['angularDamping']=this.__c1();_Dw['allowSleep']=this._cd1();_Dw['awake']=this._dd1();_Dw['fixedRotation']=this._hd1();_Dw['bullet']=this._ad1();_Dw['active']=this._fd1();_Dw['gravityScale']=this._0d1();
return _Dw}};function _td1(){this._ud1=0x0001;this._vd1=0xFFFF;this._wd1=0}_td1.prototype={_O8:function(){var _go=new _td1();_go._ud1=this._ud1;_go._vd1=this._vd1;_go._wd1=this._wd1;return _go},_Z_:function(_go){this._ud1=_go._ud1;this._vd1=_go._vd1;this._wd1=_go._wd1},_801:function(_901){var _Dw=_901||{};_Dw['categoryBits']=this._ud1;_Dw['maskBits']=this._vd1;_Dw['groupIndex']=this._wd1;return _Dw},_a01:function(data){this._ud1=data['categoryBits'];this._vd1=data['maskBits'];this._wd1=data['groupIndex']}
};function _ac1(){this._u21=null;this._241=null;this._xd1=0.2;this._yd1=0.0;this._j21=0.0;this._zd1=!1;this._go=new _td1();Object.seal(this);}_ac1.prototype={_a01:function(data){this._xd1=data['friction'];this._yd1=data['restitution'];this._j21=data['density'];this._zd1=data['isSensor'];this._go._a01(data['filter'])}};function _Ad1(){this._g21=new _O61();this._fP=null;this._e21=0;this._341=0};/// @warning you cannot reuse fixtures.
function _cc1(){this.__b1=null;this._ic1=null;this._Mb1=null;this._7d1=null;
this._X31=0;this._Bd1=null;this._jc1=0.0;this._Cd1=new _td1();this._Dd1=!1;this._Ed1=0;this._Fd1=0}_cc1.prototype={/// @return the shape type.
_a21:function(){return this._Bd1._a21()},_Gd1:function(){return this._Bd1},_vP:function(_Hd1){if(_Hd1!=this._Dd1){this._ic1._DP(!0);this._Dd1=_Hd1}},/// @return the true if the shape is a sensor.
_Id1:function(){return this._Dd1},_Jd1:function(_go){this._Cd1=_go;this._Kd1()},_Ld1:function(){return this._Cd1},_Kd1:function(){if(this._ic1==null){return }var _631=this._ic1._kd1();
while(_631){var _oc1=_631._oc1;var _pc1=_oc1._qc1();var _rc1=_oc1._sc1();if(_pc1==this||_rc1==this){_oc1._Md1()}_631=_631._zj}var _yb1=this._ic1._nd1();if(_yb1==null){return }var _ec1=_yb1._fc1._gc1;for(var _Q3=0;_Q3<this._X31;++_Q3){_ec1._941(this._7d1[_Q3]._341)}},/// @return the parent body.
_Nd1:function(){return this._ic1},/// @return the next shape.
_ld1:function(){return this._Mb1},_b41:function(){return this.__b1},_md1:function(data){this.__b1=data},/// @param p a point in world coordinates.
_c21:function(_KA){
return this._Bd1._c21(this._ic1._P01(),_KA)},/// @param output the ray-cast results.
/// @param input the ray-cast input parameters.
_d21:function(_5z,_3z,_e21){return this._Bd1._d21(_5z,_3z,this._ic1._P01(),_e21)},_Oc1:function(_i21){this._Bd1._h21(_i21,this._jc1)},_jP:function(_j21){_6_(_L_(_j21)&&_j21>=0.0);this._jc1=_j21},_Od1:function(){return this._jc1},_Pd1:function(){return this._Ed1},_pP:function(_xd1){this._Ed1=_xd1},_Qd1:function(){return this._Fd1},_mP:function(_yd1){this._Fd1=_yd1},_Rd1:function(_e21){
_6_(0<=_e21&&_e21<this._X31);return this._7d1[_e21]._g21},_dc1:function(body,_8c1){this.__b1=_8c1._241;this._Ed1=_8c1._xd1;this._Fd1=_8c1._yd1;this._ic1=body;this._Mb1=null;this._Cd1._Z_(_8c1._go);this._Dd1=_8c1._zd1;this._Bd1=_8c1._u21._O8();var _Sd1=this._Bd1._b21();this._7d1=new Array(_Sd1);for(var _Q3=0;_Q3<_Sd1;++_Q3){this._7d1[_Q3]=new _Ad1();this._7d1[_Q3]._fP=null;this._7d1[_Q3]._341=_T31._j41}this._X31=0;this._jc1=_8c1._j21},_tc1:function(){_6_(this._X31==0);this._7d1=null;this._Bd1=null},_hc1:function(_ec1,
_I01){_6_(this._X31==0);this._X31=this._Bd1._b21();for(var _Q3=0;_Q3<this._X31;++_Q3){var _Td1=this._7d1[_Q3];this._Bd1._f21(_Td1._g21,_I01,_Q3);_Td1._341=_ec1._141(_Td1._g21,_Td1);_Td1._fP=this;_Td1._e21=_Q3}},_uc1:function(_ec1){for(var _Q3=0;_Q3<this._X31;++_Q3){var _Td1=this._7d1[_Q3];_ec1._541(_Td1._341);_Td1._341=_T31._j41}this._X31=0},_wc1:function(_ec1,_Ud1,_Vd1){if(this._X31==0){return }for(var _Q3=0;_Q3<this._X31;++_Q3){var _Td1=this._7d1[_Q3];var _V61=new _O61(),_W61=new _O61();this._Bd1._f21(_V61,
_Ud1,_Td1._e21);this._Bd1._f21(_W61,_Vd1,_Td1._e21);_Td1._g21._U61(_V61,_W61);var _841=_V_._201(_Vd1._KA,_Ud1._KA);_ec1._741(_Td1._341,_Td1._g21,_841)}},_k21:function(_KA,_Al,_ra,_e21){this._Bd1._k21(this._ic1._P01(),_KA,_Al,_ra,_e21)},_801:function(_901){var _Dw=_901||{};_Dw['shape']=null;_Dw['friction']=this._Ed1;_Dw['restitution']=this._Fd1;_Dw['density']=this._jc1;_Dw['isSensor']=this._Dd1;_Dw['filter']=this._Cd1._801();return _Dw}};function _Wd1(){}_Wd1.prototype={_Xd1:function(_rd1){},_Yd1:function(_fP){
},_Zd1:function(_8T){},__d1:function(index){}};function _0e1(){}_0e1.prototype={/// @warning for performance reasons this is only called when the AABBs begin to overlap.
_pd1:function(_pc1,_rc1){var _1e1=_pc1._Ld1();var _2e1=_rc1._Ld1();if(_1e1._wd1==_2e1._wd1&&_1e1._wd1!=0){return _1e1._wd1>0}var _3e1=(_1e1._vd1&_2e1._ud1)!=0&&(_1e1._ud1&_2e1._vd1)!=0;return _3e1}};function _4e1(){this._5e1=new Array(_b_);this._6e1=new Array(_b_);this._Fb=0}/// @warning You cannot create/destroy Box2D entities inside these callbacks.
function _7e1(){
}_7e1.prototype={_8e1:function(_oc1){},_9e1:function(_oc1){},_ae1:function(_oc1,_be1){},_ce1:function(_oc1,_Kc1){}};function _de1(){}_de1.prototype={/// @return false to terminate the query.
_ee1:function(_fP){return !1},/// @return false to terminate the query.
_fe1:function(index){return !1}};function _ge1(){}_ge1.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
_ee1:function(_fP,
_861,_m21,_x21){},_fe1:function(index,_861,_m21,_x21){return 0}};function _he1(){this._ie1=0;this._je1=0;this._ke1=0;this._le1=0;this._me1=0;this._ne1=!1}function _oe1(){this._R3=new _V_();this._gc=0}function _pe1(){this._uc=new _V_();this._S3=0}function _qe1(){this._JZ=new _he1();this._re1=null;this._se1=null}var _te1=_OZ.__Z("step");var _ue1=_OZ.__Z("collide","step");var _ve1=_OZ.__Z("solve","step");var _we1=_OZ.__Z("solveTOI","step");var _xe1=_OZ.__Z("broadphase","step");function _lc1(_ye1){this._fc1=new _ze1();
this._Ae1=null;this._Be1=null;this._Ce1=null;this._Jb1=null;this._De1=0;this._Ee1=0;this._Fe1=!0;this._Ge1=!0;this._He1=!1;this._Ie1=!0;this._Je1=!0;this._Ke1=_ye1;this._Ab1=_lc1._Le1;this._Me1=0.0;this._Ne1=new _he1();this._Oe1=new _Pe1();this._Qe1=new _Re1();this._Qe1._Gb1=this}function _Se1(){this._ec1=null;this._i41=null}_Se1.prototype={_y41:function(_341){var _Td1=this._ec1._b41(_341);return this._i41._ee1(_Td1._fP)}};function _Te1(){this._ec1=null;this._i41=null}_Te1.prototype={_M91:function(_3z,
_341){var _241=this._ec1._b41(_341);var _Td1=_241;var _fP=_Td1._fP;var index=_Td1._e21;var _5z=new _N61();var _za=_fP._d21(_5z,_3z,index);if(_za){var _x21=_5z._x21;var _861=_V_._4j(_V_.Multiply((1.0-_x21),_3z._M11),_V_.Multiply(_x21,_3z._N11));return this._i41._ee1(_fP,_861,_5z._m21,_x21)}return _3z._w21}};_lc1._Ue1=new _J01();_lc1._Ve1=new _J01();_lc1._We1=new _J01();_lc1.prototype={_tc1:function(){var _La=this._Ce1;while(_La){var _Xe1=_La._Mb1;var _3w=_La._0c1;while(_3w){var _Ye1=_3w._Mb1;_3w._X31=0;_3w._tc1();
_3w=_Ye1}_La=_Xe1}},_Ze1:function(listener){this._Ae1=listener},__e1:function(_go){this._fc1._0f1=_go;},_1f1:function(listener){this._fc1._2f1=listener},_3f1:function(_4f1){this._Be1=_4f1},/// @warning This function is locked during callbacks.
_UP:function(_8c1){_6_(this._bc1()==!1);if(this._bc1()){return null}var _La=new _mb1(_8c1,this);_La._Lb1=null;_La._Mb1=this._Ce1;if(this._Ce1){this._Ce1._Lb1=_La}this._Ce1=_La;++this._De1;return _La},/// @warning This automatically deletes all associated shapes and joints.
/// @warning This function is locked during callbacks.
_5f1:function(_La){
_6_(this._De1>0);_6_(this._bc1()==!1);if(this._bc1()){return }var _6f1=_La._Jb1;while(_6f1){var _7f1=_6f1;_6f1=_6f1._zj;if(this._Ae1){this._Ae1._Xd1(_7f1._rd1)}this._8f1(_7f1._rd1);_La._Jb1=_6f1}_La._Jb1=null;var _4d1=_La._Kb1;while(_4d1){var _5d1=_4d1;_4d1=_4d1._zj;this._fc1._tc1(_5d1._oc1)}_La._Kb1=null;var _3w=_La._0c1;while(_3w){var _9f1=_3w;_3w=_3w._Mb1;if(this._Ae1){this._Ae1._Yd1(_9f1)}_9f1._uc1(this._fc1._gc1);_9f1._tc1();_La._0c1=_3w;_La._1c1-=1}_La._0c1=null;_La._1c1=0;if(_La._Lb1){_La._Lb1._Mb1=_La._Mb1;
}if(_La._Mb1){_La._Mb1._Lb1=_La._Lb1}if(_La==this._Ce1){this._Ce1=_La._Mb1}_La._af1=!0;--this._De1},/// @warning This function is locked during callbacks.
_bf1:function(_8c1){_6_(this._bc1()==!1);if(this._bc1()){return null}var _Pa=_cf1._dc1(_8c1);_Pa._Lb1=null;_Pa._Mb1=this._Jb1;if(this._Jb1){this._Jb1._Lb1=_Pa}this._Jb1=_Pa;++this._Ee1;_Pa._df1._rd1=_Pa;_Pa._df1._P61=_Pa._ef1;_Pa._df1._ff1=null;_Pa._df1._zj=_Pa._gf1._Jb1;if(_Pa._gf1._Jb1)_Pa._gf1._Jb1._ff1=_Pa._df1;_Pa._gf1._Jb1=_Pa._df1;_Pa._hf1._rd1=_Pa;
_Pa._hf1._P61=_Pa._gf1;_Pa._hf1._ff1=null;_Pa._hf1._zj=_Pa._ef1._Jb1;if(_Pa._ef1._Jb1)_Pa._ef1._Jb1._ff1=_Pa._hf1;_Pa._ef1._Jb1=_Pa._hf1;var _if1=_8c1._if1;var _jf1=_8c1._jf1;if(_8c1._kf1==!1){var _631=_jf1._kd1();while(_631){if(_631._P61==_if1){_631._oc1._Md1()}_631=_631._zj}}return _Pa},/// @warning This function is locked during callbacks.
_8f1:function(_Pa){_6_(this._bc1()==!1);if(this._bc1()){return }var _kf1=_Pa._sd1;if(_Pa._Lb1){_Pa._Lb1._Mb1=_Pa._Mb1}if(_Pa._Mb1){_Pa._Mb1._Lb1=_Pa._Lb1;}if(_Pa==this._Jb1){
this._Jb1=_Pa._Mb1}var _if1=_Pa._gf1;var _jf1=_Pa._ef1;_if1._DP(!0);_jf1._DP(!0);if(_Pa._df1._ff1){_Pa._df1._ff1._zj=_Pa._df1._zj}if(_Pa._df1._zj){_Pa._df1._zj._ff1=_Pa._df1._ff1}if(_Pa._df1==_if1._Jb1){_if1._Jb1=_Pa._df1._zj}_Pa._df1._ff1=null;_Pa._df1._zj=null;if(_Pa._hf1._ff1){_Pa._hf1._ff1._zj=_Pa._hf1._zj}if(_Pa._hf1._zj){_Pa._hf1._zj._ff1=_Pa._hf1._ff1}if(_Pa._hf1==_jf1._Jb1){_jf1._Jb1=_Pa._hf1._zj}_Pa._hf1._ff1=null;_Pa._hf1._zj=null;_cf1._tc1(_Pa);_6_(this._Ee1>0);--this._Ee1;if(_kf1==!1){
var _631=_jf1._kd1();while(_631){if(_631._P61==_if1){_631._oc1._Md1()}_631=_631._zj}}},/// @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.
_lf1:function(_ie1,_le1,_me1){_te1.start();if(this._Ab1&_lc1._mc1){this._fc1._mf1();this._Ab1&=~_lc1._mc1}this._Ab1|=_lc1._nf1;this._Ne1._ie1=_ie1;this._Ne1._le1=_le1;this._Ne1._me1=_me1;if(_ie1>0.0){this._Ne1._je1=1.0/_ie1}
else {this._Ne1._je1=0.0}this._Ne1._ke1=this._Me1*_ie1;this._Ne1._ne1=this._Fe1;{_ue1.start();this._fc1._T81();_ue1.stop()}if(this._Ie1&&this._Ne1._ie1>0.0){_ve1.start();this._Qe1._l01(this._Ne1);this._l01(this._Ne1);_ve1.stop()}if(this._Ge1&&this._Ne1._ie1>0.0){_we1.start();this._of1(this._Ne1);_we1.stop()}if(this._Ne1._ie1>0.0){this._Me1=this._Ne1._je1}if(this._Ab1&_lc1._Le1){this._pf1()}this._Ab1&=~_lc1._nf1;_te1.stop()},/// @see SetAutoClearForces
_pf1:function(){for(var body=this._Ce1;body;body=body._ld1()){
body._Sb1.x=body._Sb1.y=0;body._Tb1=0.0}},_qf1:function(){if(this._Be1==null){return }var _ZX=this._Be1._A11();if(_ZX&_x11._S11){for(var _La=this._Ce1;_La;_La=_La._ld1()){var _I01=_La._P01();for(var _3w=_La._id1();_3w;_3w=_3w._ld1()){if(_La._fd1()==!1){this._rf1(_3w,_I01,new _w11(0.5,0.5,0.3))}else if(_La._a21()==_mb1._nb1){this._rf1(_3w,_I01,new _w11(0.5,0.9,0.5))}else if(_La._a21()==_mb1._2c1){this._rf1(_3w,_I01,new _w11(0.5,0.5,0.9))}else if(_La._dd1()==!1){this._rf1(_3w,_I01,new _w11(0.6,0.6,0.6))}else {
this._rf1(_3w,_I01,new _w11(0.9,0.7,0.7))}}}this._sf1(this._Qe1)}if(_ZX&_x11._T11){for(var _Pa=this._Jb1;_Pa;_Pa=_Pa._ld1()){this._tf1(_Pa)}}if(_ZX&_x11._121){var color=new _w11(0.3,0.9,0.9);for(var _R3=this._fc1._Kb1;_R3;_R3=_R3._ld1()){var _pc1=_R3._qc1();var _rc1=_R3._sc1();var _uf1=_pc1._Rd1(_R3._vf1())._R61();var _wf1=_rc1._Rd1(_R3._xf1())._R61();this._Be1._L11(_uf1,_wf1,color)}}if(_ZX&_x11._U11){var color=new _w11(0.9,0.3,0.9);var _yf1=new _w11(0.3,0.3,0.9);var _zf1=this._fc1._gc1;for(var _La=this._Ce1;_La;
_La=_La._ld1()){if(_La._fd1()==!1){continue }for(var _3w=_La._id1();_3w;_3w=_3w._ld1()){for(var _Q3=0;_Q3<_3w._X31;++_Q3){var _Td1=_3w._7d1[_Q3];var _g21=_zf1._a41(_Td1._341);var _J31=[];_J31[0]=new _V_(_g21._y21.x,_g21._y21.y);_J31[1]=new _V_(_g21._z21.x,_g21._y21.y);_J31[2]=new _V_(_g21._z21.x,_g21._z21.y);_J31[3]=new _V_(_g21._y21.x,_g21._z21.y);this._Be1._E11(_J31,4,color);var _Af1=new _O61();_3w._Gd1()._f21(_Af1,_La._P01(),0);_J31[0]=new _V_(_Af1._y21.x,_Af1._y21.y);_J31[1]=new _V_(_Af1._z21.x,_Af1._y21.y);
_J31[2]=new _V_(_Af1._z21.x,_Af1._z21.y);_J31[3]=new _V_(_Af1._y21.x,_Af1._z21.y);this._Be1._E11(_J31,4,_yf1)}}}}if(_ZX&_x11._V11){for(var _La=this._Ce1;_La;_La=_La._ld1()){var _I01=_La._P01()._O8();_I01._KA=_La._xc1();this._Be1._O11(_I01)}}},/// @param callback a user implemented callback class.
/// @param aabb the query box.
_Bf1:function(_i41,_g21){var _Cf1=new _Se1();_Cf1._ec1=this._fc1._gc1;_Cf1._i41=_i41;this._fc1._gc1._l41(_Cf1,_g21);this._Qe1._Bf1(_i41,_g21)},/// @param callback a user implemented callback class.
/// @param point1 the ray starting point
/// @param point2 the ray ending point
_d21:function(_i41,
_Df1,_Ef1){var _Cf1=new _Te1();_Cf1._ec1=this._fc1._gc1;_Cf1._i41=_i41;var _3z=new _M61();_3z._w21=1.0;_3z._M11=_Df1;_3z._N11=_Ef1;this._fc1._gc1._d21(_Cf1,_3z);this._Qe1._d21(_i41,_Df1,_Ef1)},/*@returns {b2Body} the head of the world body list. */_Ff1:function(){return this._Ce1},/// @return the head of the world joint list.
_jd1:function(){return this._Jb1},/// @return the head of the world contact list.
/// @warning contacts are created and destroyed in the middle of a time step.
_kd1:function(){return this._fc1._Kb1}
,_Gf1:function(_9d1){if(_9d1==this._Je1){return }this._Je1=_9d1;if(this._Je1==!1){for(var _La=this._Ce1;_La;_La=_La._Mb1){_La._DP(!0)}}},_Hf1:function(){return this._Je1},_If1:function(_9d1){this._Fe1=_9d1},_Jf1:function(){return this._Fe1},_Kf1:function(_9d1){this._Ge1=_9d1},_Lf1:function(){return this._Ge1},_Mf1:function(_9d1){this._He1=_9d1},_Nf1:function(){return this._He1},_g41:function(){return this._fc1._gc1._g41()},_Of1:function(){return this._De1},_Pf1:function(){return this._Ee1},_Qf1:function(){
return this._fc1._Rf1},_r41:function(){return this._fc1._gc1._r41()},_s41:function(){return this._fc1._gc1._s41()},_u41:function(){return this._fc1._gc1._u41()},_9P:function(_ye1){this._Ke1=_ye1},_Sf1:function(){return this._Ke1},_bc1:function(){return(this._Ab1&_lc1._nf1)==_lc1._nf1},_Tf1:function(_9d1){if(_9d1){this._Ab1|=_lc1._Le1}else {this._Ab1&=~_lc1._Le1}},_Uf1:function(){return(this._Ab1&_lc1._Le1)==_lc1._Le1},/// @param newOrigin the new origin with respect to the old origin
_w41:function(_x41){
_6_((this._Ab1&_lc1._nf1)==0);if((this._Ab1&_lc1._nf1)==_lc1._nf1){return }for(var _La=this._Ce1;_La;_La=_La._Mb1){_La._B81._KA._201(_x41);_La._Ib1._L01._201(_x41);_La._Ib1._R3._201(_x41)}for(var _Pa=this._Jb1;_Pa;_Pa=_Pa._Mb1){_Pa._w41(_x41)}this._fc1._gc1._w41(_x41)},_Vf1:function(){return this._fc1},_l01:function(_JZ){for(var _La=this._Ce1;_La;_La=_La._Mb1){_La._Hb1._Z_(_La._B81)}this._Oe1._n61(this._De1,this._fc1._Rf1,this._Ee1,this._fc1._2f1);for(var _La=this._Ce1;_La;_La=_La._Mb1){_La._Ab1&=~_mb1._3c1;
}for(var _R3=this._fc1._Kb1;_R3;_R3=_R3._Mb1){_R3._Ab1&=~_Wf1._3c1}for(var _Pa=this._Jb1;_Pa;_Pa=_Pa._Mb1){_Pa._Xf1=!1}var _Yf1=this._De1;var _EZ=new Array(_Yf1);for(var _Zf1=this._Ce1;_Zf1;_Zf1=_Zf1._Mb1){if(_Zf1._Ab1&_mb1._3c1){continue }if(_Zf1._dd1()==!1||_Zf1._fd1()==!1){continue }if(_Zf1._a21()==_mb1._nb1){continue }this._Oe1._Qh();var __f1=0;_EZ[__f1++]=_Zf1;_Zf1._Ab1|=_mb1._3c1;while(__f1>0){var _La=_EZ[--__f1];_6_(_La._fd1()==!0);this._Oe1._0g1(_La);_La._DP(!0);if(_La._a21()==_mb1._nb1){continue;}
for(var _4d1=_La._Kb1;_4d1;_4d1=_4d1._zj){var _oc1=_4d1._oc1;if(_oc1._Ab1&_Wf1._3c1){continue }if(_oc1._1g1()==!1||_oc1._2g1()==!1){continue }var _3g1=_oc1._4g1._Dd1;var _5g1=_oc1._6g1._Dd1;if(_3g1||_5g1){continue }this._Oe1._7g1(_oc1);_oc1._Ab1|=_Wf1._3c1;var _P61=_4d1._P61;if(_P61._Ab1&_mb1._3c1){continue }_6_(__f1<_Yf1);_EZ[__f1++]=_P61;_P61._Ab1|=_mb1._3c1}for(var _6f1=_La._Jb1;_6f1;_6f1=_6f1._zj){if(_6f1._rd1._Xf1==!0){continue }var _P61=_6f1._P61;if(_P61._fd1()==!1){continue;}this._Oe1._8g1(_6f1._rd1);
_6f1._rd1._Xf1=!0;if(_P61._Ab1&_mb1._3c1){continue }_6_(__f1<_Yf1);_EZ[__f1++]=_P61;_P61._Ab1|=_mb1._3c1}}this._Oe1._l01(_JZ,this._Ke1,this._Je1);for(var _Q3=0;_Q3<this._Oe1._De1;++_Q3){var _La=this._Oe1._9g1[_Q3];if(_La._a21()==_mb1._nb1){_La._Ab1&=~_mb1._3c1}}}{_xe1.start();for(var _La=this._Ce1;_La;_La=_La._ld1()){if((_La._Ab1&_mb1._3c1)==0){continue }if(_La._a21()==_mb1._nb1){continue }_La._3d1()}this._fc1._mf1();_xe1.stop()}},_of1:function(_JZ){this._Oe1._n61(2*_j_,_j_,0,this._fc1._2f1);if(this._Ie1){
for(var _La=this._Ce1;_La;_La=_La._Mb1){_La._Ab1&=~_mb1._3c1;_La._Ib1._O01=0.0}for(var _R3=this._fc1._Kb1;_R3;_R3=_R3._Mb1){_R3._Ab1&=~(_Wf1._4c1|_Wf1._3c1);_R3._ag1=0;_R3._bg1=1.0}}for(;;){var _cg1=null;var _dg1=1.0;for(var _R3=this._fc1._Kb1;_R3;_R3=_R3._Mb1){if(_R3._1g1()==!1){continue }if(_R3._ag1>_i_){continue }var alpha=1.0;if(_R3._Ab1&_Wf1._4c1){alpha=_R3._bg1}else {var _eg1=_R3._qc1();var _fg1=_R3._sc1();if(_eg1._Id1()||_fg1._Id1()){continue }var _gg1=_eg1._Nd1();var _hg1=_fg1._Nd1();var _061=_gg1._PH;
var _161=_hg1._PH;_6_(_061==_mb1._Vb1||_161==_mb1._Vb1);var _ig1=_gg1._dd1()&&_061!=_mb1._nb1;var _jg1=_hg1._dd1()&&_161!=_mb1._nb1;if(_ig1==!1&&_jg1==!1){continue }var _kg1=_gg1._ad1()||_061!=_mb1._Vb1;var _lg1=_hg1._ad1()||_161!=_mb1._Vb1;if(_kg1==!1&&_lg1==!1){continue }var _O01=_gg1._Ib1._O01;if(_gg1._Ib1._O01<_hg1._Ib1._O01){_O01=_hg1._Ib1._O01;_gg1._Ib1._R01(_O01)}else if(_hg1._Ib1._O01<_gg1._Ib1._O01){_O01=_gg1._Ib1._O01;_hg1._Ib1._R01(_O01)}_6_(_O01<1.0);var _H41=_R3._vf1();var _I41=_R3._xf1();var _3z=new _xa1();
_3z._K41._sj(_eg1._Gd1(),_H41);_3z._L41._sj(_fg1._Gd1(),_I41);_3z._ya1._Z_(_gg1._Ib1);_3z._za1._Z_(_hg1._Ib1);_3z._Aa1=1.0;var _5z=new _Ba1();_3b1(_5z,_3z);var _Q01=_5z._Ka;if(_5z._fL==_Ba1._Ea1){alpha=_k11(_O01+(1.0-_O01)*_Q01,1.0)}else {alpha=1.0}_R3._bg1=alpha;_R3._Ab1|=_Wf1._4c1}if(alpha<_dg1){_cg1=_R3;_dg1=alpha}}if(_cg1==null||1.0-10.0*_9_<_dg1){this._Ie1=!0;break }var _eg1=_cg1._qc1();var _fg1=_cg1._sc1();var _gg1=_eg1._Nd1();var _hg1=_fg1._Nd1();_lc1._Ue1._Z_(_gg1._Ib1);_lc1._Ve1._Z_(_hg1._Ib1);_gg1._R01(_dg1);
_hg1._R01(_dg1);_cg1._Rh(this._fc1._2f1);_cg1._Ab1&=~_Wf1._4c1;++_cg1._ag1;if(_cg1._1g1()==!1||_cg1._2g1()==!1){_cg1._mg1(!1);_gg1._Ib1._Z_(_lc1._Ue1);_hg1._Ib1._Z_(_lc1._Ve1);_gg1._od1();_hg1._od1();continue }_gg1._DP(!0);_hg1._DP(!0);this._Oe1._Qh();this._Oe1._0g1(_gg1);this._Oe1._0g1(_hg1);this._Oe1._7g1(_cg1);_gg1._Ab1|=_mb1._3c1;_hg1._Ab1|=_mb1._3c1;_cg1._Ab1|=_Wf1._3c1;var _ng1=[_gg1,_hg1];for(var _Q3=0;_Q3<2;++_Q3){var body=_ng1[_Q3];if(body._PH==_mb1._Vb1){for(var _4d1=body._Kb1;_4d1;_4d1=_4d1._zj){
if(this._Oe1._De1==this._Oe1._og1){break }if(this._Oe1._Rf1==this._Oe1._pg1){break }var _oc1=_4d1._oc1;if(_oc1._Ab1&_Wf1._3c1){continue }var _P61=_4d1._P61;if(_P61._PH==_mb1._Vb1&&body._ad1()==!1&&_P61._ad1()==!1){continue }var _3g1=_oc1._4g1._Dd1;var _5g1=_oc1._6g1._Dd1;if(_3g1||_5g1){continue }_lc1._We1._Z_(_P61._Ib1);if((_P61._Ab1&_mb1._3c1)==0){_P61._R01(_dg1)}_oc1._Rh(this._fc1._2f1);if(_oc1._1g1()==!1){_P61._Ib1._Z_(_lc1._We1);_P61._od1();continue }if(_oc1._2g1()==!1){_P61._Ib1._Z_(_lc1._We1);_P61._od1();
continue }_oc1._Ab1|=_Wf1._3c1;this._Oe1._7g1(_oc1);if(_P61._Ab1&_mb1._3c1){continue }_P61._Ab1|=_mb1._3c1;if(_P61._PH!=_mb1._nb1){_P61._DP(!0)}this._Oe1._0g1(_P61)}}}var _qg1=new _he1();_qg1._ie1=(1.0-_dg1)*_JZ._ie1;_qg1._je1=1.0/_qg1._ie1;_qg1._ke1=1.0;_qg1._me1=20;_qg1._le1=_JZ._le1;_qg1._ne1=!1;this._Oe1._of1(_qg1,_gg1._zb1,_hg1._zb1);for(var _Q3=0;_Q3<this._Oe1._De1;++_Q3){var body=this._Oe1._9g1[_Q3];body._Ab1&=~_mb1._3c1;if(body._PH!=_mb1._Vb1){continue;}body._3d1();for(var _4d1=body._Kb1;_4d1;_4d1=_4d1._zj){
_4d1._oc1._Ab1&=~(_Wf1._4c1|_Wf1._3c1)}}this._fc1._mf1();if(this._He1){this._Ie1=!1;break }}},_tf1:function(_rd1){var _if1=_rd1._rg1();var _jf1=_rd1._sg1();var _n71=_if1._P01();var _p71=_jf1._P01();var _va=_n71._KA;var _xa=_p71._KA;var _M11=_rd1._tg1();var _N11=_rd1._ug1();var color=new _w11(0.5,0.8,0.8);switch(_rd1._a21()){case _cf1._vg1:this._Be1._L11(_M11,_N11,color);break;case _cf1._wg1:{var _xg1=_rd1;var _bt=_xg1._yg1();var _ct=_xg1._zg1();this._Be1._L11(_bt,_M11,color);this._Be1._L11(_ct,_N11,color);this._Be1._L11(_bt,
_ct,color)}break;case _cf1._Ag1:break;case _cf1._Bg1:this._Be1._Cg1(_rd1._Dg1(),5.0,color);default :this._Be1._L11(_va,_M11,color);this._Be1._L11(_M11,_N11,color);this._Be1._L11(_xa,_N11,color)}},_rf1:function(_fP,_I01,color){switch(_fP._a21()){case _821._n21:{var _A41=_fP._Gd1();var _H11=_911(_I01,_A41._t21);var _I11=_A41._921;var _K11=_711(_I01._gz,new _V_(1.0,0.0));this._Be1._J11(_H11,_I11,_K11,color)}break;case _821._o21:{var _631=_fP._Gd1();var _td=_911(_I01,_631._G21);var _ud=_911(_I01,_631._H21);this._Be1._L11(_td,
_ud,color)}break;case _821._q21:{var _C41=_fP._Gd1();var _Fb=_C41._U21;var vertices=_C41._T21;var _td=_911(_I01,vertices[0]);for(var _Q3=1;_Q3<_Fb;++_Q3){var _ud=_911(_I01,vertices[_Q3]);this._Be1._L11(_td,_ud,color);_td=_ud}}break;case _821._p21:{var _Eg1=_fP._Gd1();var vertexCount=_Eg1._U21;_6_(vertexCount<=_c_);var vertices=new Array(_c_);for(var _Q3=0;_Q3<vertexCount;++_Q3){vertices[_Q3]=_911(_I01,_Eg1._T21[_Q3])}this._Be1._F11(vertices,vertexCount,color)}break;default :break }},_Fg1:function(){return this._Qe1._Fg1()}
,_Gg1:function(_Fb){this._Qe1._Gg1(_Fb)},_Hg1:function(_j21){this._Qe1._Hg1(_j21)},_Ig1:function(){return this._Qe1._Ig1()},_Jg1:function(_wb1){this._Qe1._Jg1(_wb1)},_Kg1:function(){return this._Qe1._Kg1()},_Lg1:function(_Mg1){this._Qe1._Lg1(_Mg1)},_Ng1:function(){return this._Qe1._Ng1()},_Og1:function(_I11){this._Qe1._Og1(_I11)},_Pg1:function(){return this._Qe1._Pg1()},_Qg1:function(_8c1){_6_(this._bc1()==!1);if(this._bc1()){return 0}var _KA=this._Qe1._Qg1(_8c1);return _KA},_Rg1:function(index,_Sg1){this._Qe1._Rg1(index,
_Sg1)},_Tg1:function(_u21,_I01,_Sg1){_6_(this._bc1()==!1);if(this._bc1()){return 0}return this._Qe1._Tg1(_u21,_I01,_Sg1)},_Ug1:function(_8c1){_6_(this._bc1()==!1);if(this._bc1()){return null}var _fc=this._Qe1._Ug1(_8c1);return _fc},_Vg1:function(_Wg1,_Xg1){_6_(this._bc1()==!1);if(this._bc1()){return }this._Qe1._Vg1(_Wg1,_Xg1)},_Yg1:function(_8T,_Sg1){_6_(this._bc1()==!1);if(this._bc1()){return }this._Qe1._Yg1(_8T,_Sg1)},_Zg1:function(){return this._Qe1._Zg1()},__g1:function(){return this._Qe1.__g1()},_0h1:function(){
return this._Qe1._0h1()},_1h1:function(){return this._Qe1._1h1()},_2h1:function(){return this._Qe1._2h1()},_3h1:function(){return this._Qe1._3h1()},_4h1:function(buffer,_5h1){this._Qe1._4h1(buffer,_5h1)},_6h1:function(buffer,_5h1){this._Qe1._6h1(buffer,_5h1)},_7h1:function(buffer,_5h1){this._Qe1._7h1(buffer,_5h1)},_8h1:function(buffer,_5h1){this._Qe1._8h1(buffer,_5h1)},_9h1:function(buffer,_5h1){this._Qe1._9h1(buffer,_5h1)},_ah1:function(){return this._Qe1._bh1},_ch1:function(){return this._Qe1._Rf1},
_dh1:function(){return this._Qe1._eh1},_fh1:function(){return this._Qe1._gh1},_hh1:function(){return this._Qe1._hh1()},_ih1:function(){return this._Qe1._ih1()},_jh1:function(){return this._Qe1._jh1()},_kh1:function(){return this._Qe1._kh1()},_sf1:function(_lh1){var _mh1=_lh1._kh1();if(_mh1){var _nh1=_lh1._Pg1();var _oh1=_lh1.__g1();if(_lh1._ph1.data){var _qh1=_lh1._1h1();this._Be1._P11(_oh1,_nh1,_qh1,_mh1)}else {this._Be1._P11(_oh1,_nh1,null,_mh1)}}}};_lc1._mc1=0x0001;_lc1._nf1=0x0002;_lc1._Le1=0x0004;function _rh1(_5h1){
this._sh1=new Array(_5h1);this._P81=0;this._th1=0;this._uh1=_5h1}_rh1.prototype={_vh1:function(_Aj){if(this._th1>=this._uh1)return;this._sh1[this._th1++]=_Aj},_wh1:function(){_6_(this._P81<this._th1);this._P81++},_xh1:function(){return this._P81>=this._th1},_yh1:function(){return this._sh1[this._P81]}};function _zh1(_Ah1){this._Bh1=new Array(_Ah1);this._Ch1=0;this._Dh1=0;this._Eh1=0;this._Fh1=null}_zh1._Gh1=function(){this._H11=new _V_();this._6S=0};_zh1._Hh1=function(x,y,_Q3,_fc){this._WH=x;this._XH=y;
this._Ih1=_Q3;this._Jh1=_fc};_zh1.prototype={_Kh1:function(_H11,_6S){var _fc=(this._Bh1[this._Ch1++]=new _zh1._Gh1());_fc._H11._Z_(_H11);_fc._6S=_6S},_Lh1:function(_I11){_6_(this._Fh1==null);var _Mh1=1/_I11;var _oL=new _V_(+_8_,+_8_);var _o31=new _V_(-_8_,-_8_);for(var _uj=0;_uj<this._Ch1;_uj++){var _fc=this._Bh1[_uj];_oL._Z_(_l11(_oL,_fc._H11));_o31._Z_(_n11(_o31,_fc._H11))}this._Dh1=1+((_Mh1*(_o31.x-_oL.x))>>>0);this._Eh1=1+((_Mh1*(_o31.y-_oL.y))>>>0);this._Fh1=new Array(this._Dh1*this._Eh1);for(var _Q3=0;
_Q3<this._Dh1*this._Eh1;_Q3++)this._Fh1[_Q3]=null;var _Nh1=new _rh1(this._Dh1*this._Dh1);for(var _uj=0;_uj<this._Ch1;_uj++){var _fc=this._Bh1[_uj];_fc._H11._Z_(_V_.Multiply(_Mh1,_V_._201(_fc._H11,_oL)));var x=_m11(0,_k11(Math.floor(_fc._H11.x),this._Dh1-1));var y=_m11(0,_k11(Math.floor(_fc._H11.y),this._Eh1-1));_Nh1._vh1(new _zh1._Hh1(x,y,x+y*this._Dh1,_fc))}while(!_Nh1._xh1()){var x=_Nh1._yh1()._WH;var y=_Nh1._yh1()._XH;var _Q3=_Nh1._yh1()._Ih1;var _fc=_Nh1._yh1()._Jh1;_Nh1._wh1();if(!this._Fh1[_Q3]){this._Fh1[_Q3]=_fc;
if(x>0){_Nh1._vh1(new _zh1._Hh1(x-1,y,_Q3-1,_fc))}if(y>0){_Nh1._vh1(new _zh1._Hh1(x,y-1,_Q3-this._Dh1,_fc))}if(x<this._Dh1-1){_Nh1._vh1(new _zh1._Hh1(x+1,y,_Q3+1,_fc))}if(y<this._Eh1-1){_Nh1._vh1(new _zh1._Hh1(x,y+1,_Q3+this._Dh1,_fc))}}}var _Oh1=this._Dh1+this._Eh1;for(var _Ph1=0;_Ph1<_Oh1;_Ph1++){for(var y=0;y<this._Eh1;y++){for(var x=0;x<this._Dh1-1;x++){var _Q3=x+y*this._Dh1;var _gc=this._Fh1[_Q3];var _La=this._Fh1[_Q3+1];if(_gc!=_La){_Nh1._vh1(new _zh1._Hh1(x,y,_Q3,_La));_Nh1._vh1(new _zh1._Hh1(x+1,y,_Q3+1,
_gc))}}}for(var y=0;y<this._Eh1-1;y++){for(var x=0;x<this._Dh1;x++){var _Q3=x+y*this._Dh1;var _gc=this._Fh1[_Q3];var _La=this._Fh1[_Q3+this._Dh1];if(_gc!=_La){_Nh1._vh1(new _zh1._Hh1(x,y,_Q3,_La));_Nh1._vh1(new _zh1._Hh1(x,y+1,_Q3+this._Dh1,_gc))}}}var _Qh1=!1;while(!_Nh1._xh1()){var x=_Nh1._yh1()._WH;var y=_Nh1._yh1()._XH;var _Q3=_Nh1._yh1()._Ih1;var _uj=_Nh1._yh1()._Jh1;_Nh1._wh1();var _gc=this._Fh1[_Q3];var _La=_uj;if(_gc!=_La){var _AK=_gc._H11.x-x;var _BK=_gc._H11.y-y;var _Rh1=_La._H11.x-x;var _Sh1=_La._H11.y-y;
var _AV=_AK*_AK+_BK*_BK;var _oy=_Rh1*_Rh1+_Sh1*_Sh1;if(_AV>_oy){this._Fh1[_Q3]=_La;if(x>0){_Nh1._vh1(new _zh1._Hh1(x-1,y,_Q3-1,_La))}if(y>0){_Nh1._vh1(new _zh1._Hh1(x,y-1,_Q3-this._Dh1,_La))}if(x<this._Dh1-1){_Nh1._vh1(new _zh1._Hh1(x+1,y,_Q3+1,_La))}if(y<this._Eh1-1){_Nh1._vh1(new _zh1._Hh1(x,y+1,_Q3+this._Dh1,_La))}_Qh1=!0}}}if(!_Qh1){break }}},_Th1:function(_i41){for(var y=0;y<this._Eh1-1;y++){for(var x=0;x<this._Dh1-1;x++){var _Q3=x+y*this._Dh1;var _gc=this._Fh1[_Q3];var _La=this._Fh1[_Q3+1];var _R3=this._Fh1[_Q3+this._Dh1];
var _Al=this._Fh1[_Q3+1+this._Dh1];if(_La!=_R3){if(_gc!=_La&&_gc!=_R3){_i41(_gc._6S,_La._6S,_R3._6S)}if(_Al!=_La&&_Al!=_R3){_i41(_La._6S,_Al._6S,_R3._6S)}}}}}};function _Uh1(_Ia,_fc,_La,_gc){if(_Ia instanceof _w11){this._Ia=(255*_Ia._Ia);this._fc=(255*_Ia._fc);this._La=(255*_Ia._La);this._gc=255}else if(typeof(_Ia)!=='undefined'){this._Ia=_Ia;this._fc=_fc;this._La=_La;this._gc=_gc}else this._Ia=this._fc=this._La=this._gc=0}_Uh1.prototype={_Vh1:function(){return !this._Ia&&!this._fc&&!this._La&&!this._gc}
,_Wh1:function(){return new _w11(1.0/255*this._Ia,1.0/255*this._fc,1.0/255*this._La)},_sj:function(_Xh1,_Yh1,_Zh1,__h1){if(_Xh1 instanceof _w11){this._Ia=(255*_Xh1._Ia);this._fc=(255*_Xh1._fc);this._La=(255*_Xh1._La);this._gc=255}else {this._Ia=_Xh1;this._fc=_Yh1;this._La=_Zh1;this._gc=__h1}},_Z_:function(_0i1){this._Ia=_0i1._Ia;this._fc=_0i1._fc;this._La=_0i1._La;this._gc=_0i1._gc},_O8:function(){return new _Uh1(this._Ia,this._fc,this._La,this._gc)}};_Uh1._1i1=new _Uh1();function _2i1(){this._ZX=0;this.position=new _V_();
this._8R=new _V_();this.color=new _Uh1();this._241=null}_2i1._3i1=0;_2i1._4i1=1<<1;_2i1._5i1=1<<2;_2i1._6i1=1<<3;_2i1._7i1=1<<4;_2i1._8i1=1<<5;_2i1._9i1=1<<6;_2i1._ai1=1<<7;_2i1._bi1=1<<8;_2i1._ci1=1<<9;function _di1(){this._ZX=0;this._ei1=0;this.position=new _V_();this.angle=0;this._ob1=new _V_();this._pb1=0;this.color=new _Uh1();this._fi1=1;this._u21=null;this._gi1=!0;this._241=null}function _hi1(){this._ii1=null;this._ji1=0;this._ki1=0;this._li1=0;this._mi1=1.0;this._Lb1=null;this._Mb1=null;this._ni1=-1;
this._Wb1=0;this._oi1=0;this._pi1=new _V_();this._Nb1=new _V_();this._Ob1=0;this._qi1=new _H01();this._qi1._h01();this._ri1=!0;this._si1=!1;this._ti1=!1;this.__b1=null}_hi1.prototype={_ld1:function(){return this._Mb1},_kh1:function(){return this._ki1-this._ji1},_ui1:function(){return this._ji1},_vi1:function(){return this._li1},_wi1:function(_ZX){this._li1=_ZX},_Mc1:function(){this._xi1();return this._Wb1},_Nc1:function(){this._xi1();return this._oi1},_R61:function(){this._xi1();return this._pi1;},_Ac1:function(){
this._xi1();return this._Nb1},_Cc1:function(){this._xi1();return this._Ob1},_P01:function(){return this._qi1},_1P:function(){return this._qi1._KA},_E01:function(){return this._qi1._gz._E01()},_b41:function(){return this.__b1},_md1:function(data){this.__b1=data},_xi1:function(){if(this._ni1!=this._ii1._ni1){var _ua=this._ii1._yi1();this._Wb1=0;this._pi1._W_();this._Nb1._W_();for(var _Q3=this._ji1;_Q3<this._ki1;_Q3++){this._Wb1+=_ua;this._pi1._4j(_V_.Multiply(_ua,this._ii1._zi1.data[_Q3]));this._Nb1._4j(_V_.Multiply(_ua,
this._ii1._Ai1.data[_Q3]))}if(this._Wb1>0){this._pi1.Multiply(1/this._Wb1);this._Nb1.Multiply(1/this._Wb1)}this._oi1=0;this._Ob1=0;for(var _Q3=this._ji1;_Q3<this._ki1;_Q3++){var _KA=_V_._201(this._ii1._zi1.data[_Q3],this._pi1);var _uc=_V_._201(this._ii1._Ai1.data[_Q3],this._Nb1);this._oi1+=_ua*_T01(_KA,_KA);this._Ob1+=_ua*_U01(_KA,_uc)}if(this._oi1>0){this._Ob1*=1/this._oi1}this._ni1=this._ii1._ni1}}};_hi1._Bi1=1<<0;_hi1._Ci1=1<<1;function _Di1(){this._H41=this._I41=0;this._ZX=0;this._Ei1=0.0;this._m21=new _V_()}
;function _Fi1(){this.index=0;this.body=null;this._Ei1=0.0;this._m21=new _V_();this._621=0.0};function _Re1(){this._ni1=0;this._Gi1=0;this._Hi1=0;this._jc1=1;this._Ii1=1;this._Rb1=1;this._Ji1=1;this._Ki1=1;this._Li1=1;this._U21=0;this._Mi1=0;this._Ni1=0;this._Oi1=new _Re1._Pi1();this._zi1=new _Re1._Pi1();this._Ai1=new _Re1._Pi1();this._Qi1=null;this._Ri1=null;this._Si1=null;this._ph1=new _Re1._Pi1();this._Ti1=null;this._Ui1=new _Re1._Pi1();this._X31=0;this._Vi1=0;this._Wi1=null;this._Rf1=0;this._pg1=0;this._bh1=null;
this._gh1=0;this._Xi1=0;this._eh1=null;this._Y31=0;this._Yi1=0;this._Z31=null;this._Zi1=0;this.__i1=0;this._0j1=null;this._1j1=0;this._2j1=null;this._3j1=0.05;this._4j1=1.0;this._5j1=0.25;this._6j1=0.25;this._7j1=0.25;this._8j1=0.1;this._9j1=0.2;this._aj1=0.5;this._bj1=0.5;this._cj1=0.5;this._Gb1=null}_Re1._Pi1=function(){this.data=null;this._dj1=0};_Re1._ej1=function(){this.index=0;this._6S=0};_Re1._ej1._fj1=function(_gc,_La){return _gc._6S<_La._6S};_Re1._ej1._gj1=function(_gc,_La){return _gc<_La._6S}
;_Re1._ej1._hj1=function(_gc,_La){return _gc._6S<_La};_Re1._ij1=function(){this._H41=this._I41=0;this._ZX=0;this._fi1=0.0;this._l21=0.0};_Re1._jj1=function(){this._H41=this._I41=this._kj1=0;this._ZX=0;this._fi1=0.0;this._lj1=new _V_(),this._mj1=new _V_(),this._0i1=new _V_();this._nj1=0.0,this._oj1=0.0,this._pj1=0.0,this._Rw=0.0};_Re1._qj1=_2i1._6i1;_Re1._rj1=_2i1._7i1;_Re1._sj1=_2i1._9i1;_Re1._tj1=12;_Re1._uj1=12;_Re1._vj1=8*4;_Re1._wj1=1<<(_Re1._uj1-1);_Re1._xj1=_Re1._vj1-_Re1._uj1;_Re1._yj1=_Re1._vj1-_Re1._uj1-_Re1._tj1;
_Re1._zj1=1<<_Re1._yj1;_Re1._Aj1=_Re1._zj1*(1<<(_Re1._tj1-1));_Re1._Bj1=(1<<_Re1._tj1)-1;_Re1._Cj1=(1<<_Re1._uj1)-1;function _Dj1(x,y){return((y+_Re1._wj1)<<_Re1._xj1)+(_Re1._zj1*x+_Re1._Aj1)>>>0}function _Ej1(_6S,x,y){return _6S+(y<<_Re1._xj1)+(x<<_Re1._yj1)}function _Fj1(_5h1,_Gj1){return _Gj1&&_5h1>_Gj1?_Gj1:_5h1}function _Hj1(_oc1){return(_oc1._ZX&_2i1._4i1)==_2i1._4i1}_Re1.prototype={_Ij1:function(_Jj1,_Kj1,_Lj1){_6_(_Lj1>_Kj1);var _Mj1=(_Jj1)?_Jj1.slice():[];_Mj1.length=_Lj1;return _Mj1},_Nj1:function(buffer,
_dj1,_Kj1,_Lj1,_Oj1){_6_(_Lj1>_Kj1);_6_(!_dj1||_Lj1<=_dj1);if((!_Oj1||buffer)&&!_dj1){buffer=this._Ij1(buffer,_Kj1,_Lj1)}return buffer},_Pj1:function(buffer,_Kj1,_Lj1,_Oj1){_6_(_Lj1>_Kj1);return this._Nj1(buffer.data,buffer._dj1,_Kj1,_Lj1,_Oj1)},_Qj1:function(buffer){if(!buffer){buffer=new Array(this._Mi1);for(var _Q3=0;_Q3<this._Mi1;_Q3++){buffer[_Q3]=0}}return buffer},_Qg1:function(_8c1){if(this._U21>=this._Mi1){var _5h1=this._U21?2*this._U21:_C_;_5h1=_Fj1(_5h1,this._Ni1);_5h1=_Fj1(_5h1,this._Oi1._dj1);
_5h1=_Fj1(_5h1,this._zi1._dj1);_5h1=_Fj1(_5h1,this._Ai1._dj1);_5h1=_Fj1(_5h1,this._ph1._dj1);_5h1=_Fj1(_5h1,this._Ui1._dj1);if(this._Mi1<_5h1){this._Oi1.data=this._Pj1(this._Oi1,this._Mi1,_5h1,!1);this._zi1.data=this._Pj1(this._zi1,this._Mi1,_5h1,!1);this._Ai1.data=this._Pj1(this._Ai1,this._Mi1,_5h1,!1);this._Qi1=this._Nj1(this._Qi1,0,this._Mi1,_5h1,!1);this._Ri1=this._Nj1(this._Ri1,0,this._Mi1,_5h1,!0);this._Si1=this._Nj1(this._Si1,0,this._Mi1,_5h1,!0);this._ph1.data=this._Pj1(this._ph1,this._Mi1,
_5h1,!0);this._Ti1=this._Nj1(this._Ti1,0,this._Mi1,_5h1,!1);this._Ui1.data=this._Pj1(this._Ui1,this._Mi1,_5h1,!0);this._Mi1=_5h1}}if(this._U21>=this._Mi1){return _w_}var index=this._U21++;this._Oi1.data[index]=_8c1._ZX;this._zi1.data[index]=_8c1.position._O8();this._Ai1.data[index]=_8c1._8R._O8();this._Ti1[index]=null;if(this._Si1){this._Si1[index]=0}if(this._ph1.data||!_8c1.color._Vh1()){this._ph1.data=this._Qj1(this._ph1.data);this._ph1.data[index]=_8c1.color._O8();}if(this._Ui1.data||_8c1._241){
this._Ui1.data=this._Qj1(this._Ui1.data);this._Ui1.data[index]=_8c1._241}if(this._X31>=this._Vi1){var _Kj1=this._Vi1;var _Lj1=this._X31?2*this._X31:_C_;this._Wi1=this._Ij1(this._Wi1,_Kj1,_Lj1);this._Vi1=_Lj1}this._Wi1[this._X31]=new _Re1._ej1();this._Wi1[this._X31++].index=index;return index},_Rg1:function(index,_Sg1){var _ZX=_2i1._4i1;if(_Sg1){_ZX|=_2i1._ci1}this._Oi1.data[index]|=_ZX},_Tg1:function(_u21,_I01,_Sg1){function _Rj1(_lh1,_u21,_I01,_Sg1){this._ii1=_lh1;this._Bd1=_u21;this._B81=_I01;this._Sj1=_Sg1;
this._af1=0}_Rj1.prototype={_ee1:function(_fP){return !1},_fe1:function(index){_6_(index>=0&&index<this._ii1._U21);if(this._Bd1._c21(this._B81,this._ii1._zi1.data[index])){this._ii1._Rg1(index,this._Sj1);this._af1++}return !0},_Tj1:function(){return this._af1}};var _i41=new _Rj1(this,_u21,_I01,_Sg1);var _g21=new _O61();_u21._f21(_g21,_I01,0);this._Gb1._Bf1(_i41,_g21);return _i41._Tj1()},_Yg1:function(_8T,_Sg1){for(var _Q3=_8T._ji1;_Q3<_8T._ki1;_Q3++){this._Rg1(_Q3,_Sg1)}},_Ug1:function(_Uj1){var _jd=this._Vj1();
var identity=new _H01();identity._h01();var transform=identity._O8();var _Wj1=this._U21;if(_Uj1._u21){var _Xj1=new _2i1();_Xj1._ZX=_Uj1._ZX;_Xj1.color=_Uj1.color;_Xj1._241=_Uj1._241;var _u21=_Uj1._u21;transform._sj(_Uj1.position,_Uj1.angle);var _g21=new _O61();var _Sd1=_u21._b21();for(var _e21=0;_e21<_Sd1;_e21++){if(_e21==0){_u21._f21(_g21,identity,_e21)}else {var _Yj1=new _O61();_u21._f21(_Yj1,identity,_e21);_g21._U61(_Yj1)}}for(var y=Math.floor(_g21._y21.y/_jd)*_jd;y<_g21._z21.y;y+=_jd){for(var x=Math.floor(_g21._y21.x/_jd)*_jd;
x<_g21._z21.x;x+=_jd){var _KA=new _V_(x,y);if(_u21._c21(identity,_KA)){_KA=_911(transform,_KA);_Xj1.position._Z_(_KA);_Xj1._8R._Z_(_V_._4j(_Uj1._ob1,_W01(_Uj1._pb1,_V_._201(_KA,_Uj1.position))));this._Qg1(_Xj1)}}}}var lastIndex=this._U21;var _8T=new _hi1();_8T._ii1=this;_8T._ji1=_Wj1;_8T._ki1=lastIndex;_8T._li1=_Uj1._ei1;_8T._mi1=_Uj1._fi1;_8T.__b1=_Uj1._241;_8T._qi1=transform;_8T._ri1=_Uj1._gi1;_8T._Lb1=null;_8T._Mb1=this._2j1;if(this._2j1){this._2j1._Lb1=_8T}this._2j1=_8T;++this._1j1;for(var _Q3=_Wj1;
_Q3<lastIndex;_Q3++){this._Ti1[_Q3]=_8T}this._Zj1(!0);if(_Uj1._ZX&_Re1._qj1){for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];var _gc=_oc1._H41;var _La=_oc1._I41;if(_gc>_La){var __j1=_gc;_gc=_La;_La=__j1}if(_Wj1<=_gc&&_La<lastIndex){if(this._Y31>=this._Yi1){var _Kj1=this._Yi1;var _Lj1=this._Y31?2*this._Y31:_C_;this._Z31=this._Ij1(this._Z31,_Kj1,_Lj1);this._Yi1=_Lj1}var _q41=this._Z31[this._Y31]=new _Re1._ij1();_q41._H41=_gc;_q41._I41=_La;_q41._ZX=_oc1._ZX;_q41._fi1=_Uj1._fi1;_q41._l21=_Z01(this._zi1.data[_gc],
this._zi1.data[_La]);this._Y31++}}}if(_Uj1._ZX&_Re1._rj1){var _0k1=new _zh1(lastIndex-_Wj1);for(var _Q3=_Wj1;_Q3<lastIndex;_Q3++){_0k1._Kh1(this._zi1.data[_Q3],_Q3)}_0k1._Lh1(_jd/2);var _i41=function _1k1(_gc,_La,_R3){var _lj1=this._zi1.data[_gc];var _mj1=this._zi1.data[_La];var _0i1=this._zi1.data[_R3];var _2k1=_V_._201(_lj1,_mj1);var _3k1=_V_._201(_mj1,_0i1);var _4k1=_V_._201(_0i1,_lj1);var _5k1=_B_*this._Li1;if(_T01(_2k1,_2k1)<_5k1&&_T01(_3k1,_3k1)<_5k1&&_T01(_4k1,_4k1)<_5k1){if(this._Zi1>=this.__i1){var _Kj1=this.__i1;
var _Lj1=this._Zi1?2*this._Zi1:_C_;this._0j1=this._Ij1(this._0j1,_Kj1,_Lj1);this.__i1=_Lj1}var _6k1=this._0j1[this._Zi1];_6k1._H41=_gc;_6k1._I41=_La;_6k1._kj1=_R3;_6k1._ZX=this._Oi1.data[_gc]|this._Oi1.data[_La]|this._Oi1.data[_R3];_6k1._fi1=_Uj1._fi1;var _7k1=_V_.Multiply(1.0/3.0,_V_._4j(_lj1,_V_._4j(_mj1,_0i1)));_6k1._lj1=_V_._201(_lj1,_7k1);_6k1._mj1=_V_._201(_mj1,_7k1);_6k1._0i1=_V_._201(_0i1,_7k1);_6k1._nj1=-_T01(_4k1,_2k1);_6k1._oj1=-_T01(_2k1,_3k1);_6k1._pj1=-_T01(_3k1,_4k1);_6k1._Rw=_U01(_lj1,
_mj1)+_U01(_mj1,_0i1)+_U01(_0i1,_lj1);this._Zi1++}};_0k1._Th1(_i41)}if(_Uj1._ei1&_2i1._Bi1){this._8k1(_8T)}return _8T},_Vg1:function(_Wg1,_Xg1){_6_(_Wg1!=_Xg1);this._9k1(_Xg1._ji1,_Xg1._ki1,this._U21);_6_(_Xg1._ki1==this._U21);this._9k1(_Wg1._ji1,_Wg1._ki1,_Xg1._ji1);this._6_(_Wg1._ki1==_Xg1._ji1);var _ak1=0;for(var _Q3=_Wg1._ji1;_Q3<_Xg1._ki1;_Q3++){_ak1|=this._Oi1.data[_Q3]}this._Zj1(!0);if(_ak1&_Re1._qj1){for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];var _gc=_oc1._H41;var _La=_oc1._I41;
if(_gc>_La){var __j1=_gc;_gc=_La;_La=__j1}if(_Wg1._ji1<=_gc&&_gc<_Wg1._ki1&&_Xg1._ji1<=_La&&_La<_Xg1._ki1){if(this._Y31>=this._Yi1){var _Kj1=this._Yi1;var _Lj1=this._Y31?2*this._Y31:_C_;this._Z31=this._Ij1(this._Z31,_Kj1,_Lj1);this._Yi1=_Lj1}var _q41=this._Z31[this._Y31]=new _Re1._ij1();_q41._H41=_gc;_q41._I41=_La;_q41._ZX=_oc1._ZX;_q41._fi1=_k11(_Wg1._mi1,_Xg1._mi1);_q41._l21=_Z01(this._zi1.data[_gc],this._zi1.data[_La]);this._Y31++}}}if(_ak1&_Re1._rj1){}for(var _Q3=_Xg1._ji1;_Q3<_Xg1._ki1;_Q3++){this._Ti1[_Q3]=_Wg1}
var _ei1=_Wg1._li1|_Xg1._li1;_Wg1._li1=_ei1;_Wg1._ki1=_Xg1._ki1;_Xg1._ji1=_Xg1._ki1;this._bk1(_Xg1);if(_ei1&_2i1._Bi1){this._8k1(_Wg1)}},_bk1:function(_8T){_6_(this._1j1>0);_6_(_8T);if(this._Gb1._Ae1){this._Gb1._Ae1._ck1(_8T)}for(var _Q3=_8T._ji1;_Q3<_8T._ki1;_Q3++){this._Ti1[_Q3]=null}if(_8T._Lb1){_8T._Lb1._Mb1=_8T._Mb1}if(_8T._Mb1){_8T._Mb1._Lb1=_8T._Lb1}if(_8T==this._2j1){this._2j1=_8T._Mb1}--this._1j1},_8k1:function(_8T){for(var _Q3=_8T._ji1;_Q3<_8T._ki1;_Q3++){this._Qi1[_Q3]=0}for(var _uj=0;_uj<this._Rf1;
_uj++){var _oc1=this._bh1[_uj];var _gc=_oc1._H41;var _La=_oc1._I41;if(_gc>=_8T._ji1&&_gc<_8T._ki1&&_La>=_8T._ji1&&_La<_8T._ki1){var _S3=_oc1._Ei1;this._Qi1[_gc]+=_S3;this._Qi1[_La]+=_S3}}this._Si1=this._Qj1(this._Si1);for(var _Q3=_8T._ji1;_Q3<_8T._ki1;_Q3++){var _S3=this._Qi1[_Q3];this._Si1[_Q3]=_S3<0.8?0:_8_}var _dk1=_8T._kh1();for(var _Ka=0;_Ka<_dk1;_Ka++){var _Qh1=!1;for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];var _gc=_oc1._H41;var _La=_oc1._I41;if(_gc>=_8T._ji1&&_gc<_8T._ki1&&_La>=_8T._ji1&&_La<_8T._ki1){
var _Ia=1-_oc1._Ei1;var _ek1=this._Si1[_gc];var _fk1=this._Si1[_La];var _gk1=_fk1+_Ia;var _hk1=_ek1+_Ia;if(_ek1>_gk1){_ek1=_gk1;_Qh1=!0}if(_fk1>_hk1){_fk1=_hk1;_Qh1=!0}this._Si1[_gc]=_ek1;this._Si1[_La]=_fk1}}if(!_Qh1){break }}for(var _Q3=_8T._ji1;_Q3<_8T._ki1;_Q3++){var _KA=this._Si1[_Q3];if(_KA<_8_){_KA*=this._Ji1}else {_KA=0}this._Si1[_Q3]=_KA}},_7g1:function(_gc,_La){var _Al=_V_._201(this._zi1.data[_La],this._zi1.data[_gc]);var _ik1=_T01(_Al,_Al);if(_ik1<this._Li1){if(this._Rf1>=this._pg1){var _Kj1=this._pg1;
var _Lj1=this._Rf1?2*this._Rf1:_C_;this._bh1=this._Ij1(this._bh1,_Kj1,_Lj1);this._pg1=_Lj1}var _jk1=_U_(_ik1);var _oc1=this._bh1[this._Rf1]=new _Di1();_oc1._H41=_gc;_oc1._I41=_La;_oc1._ZX=this._Oi1.data[_gc]|this._Oi1.data[_La];_oc1._Ei1=1-_ik1*_jk1*this._Ki1;_oc1._m21._Z_(_V_.Multiply(_jk1,_Al));this._Rf1++}},_Zj1:function(_kk1){var _lk1=0;var _mk1=this._X31;for(var _nk1=_lk1;_nk1<_mk1;++_nk1){var _Td1=this._Wi1[_nk1];var _Q3=_Td1.index;var _KA=this._zi1.data[_Q3];_Td1._6S=_Dj1(this._Ki1*_KA.x,this._Ki1*_KA.y)}
this._Wi1._CZ(_lk1,_mk1,function(_gc,_La){return _Re1._ej1._fj1(_gc,_La)});this._Rf1=0;for(var _gc=_lk1,_R3=_lk1;_gc<_mk1;_gc++){var _ok1=_Ej1(this._Wi1[_gc]._6S,1,0);for(var _La=_gc+1;_La<_mk1;_La++){if(_ok1<this._Wi1[_La]._6S)break;this._7g1(this._Wi1[_gc].index,this._Wi1[_La].index)}var _pk1=_Ej1(this._Wi1[_gc]._6S,-1,1);for(;_R3<_mk1;_R3++){if(_pk1<=this._Wi1[_R3]._6S)break }var _qk1=_Ej1(this._Wi1[_gc]._6S,1,1);for(var _La=_R3;_La<_mk1;_La++){if(_qk1<this._Wi1[_La]._6S)break;this._7g1(this._Wi1[_gc].index,
this._Wi1[_La].index)}}if(_kk1){this._Rf1=this._bh1._GZ(_Hj1,this._Rf1)}},_rk1:function(){var _g21=new _O61();_g21._y21.x=+_8_;_g21._y21.y=+_8_;_g21._z21.x=-_8_;_g21._z21.y=-_8_;for(var _Q3=0;_Q3<this._U21;_Q3++){var _KA=this._zi1.data[_Q3];_g21._y21._Z_(_l11(_g21._y21,_KA));_g21._z21._Z_(_n11(_g21._z21,_KA))}_g21._y21.x-=this._Ji1;_g21._y21.y-=this._Ji1;_g21._z21.x+=this._Ji1;_g21._z21.y+=this._Ji1;this._gh1=0;function _sk1(_lh1){this._ii1=_lh1}_sk1.prototype={_ee1:function(_fP){if(_fP._Id1()){return !0}
var _u21=_fP._Gd1();var _La=_fP._Nd1();var _zf1=_La._xc1();var _tk1=_La._Mc1();var _uk1=_La._Nc1()-_tk1*_La._yc1()._301();var _vk1=_tk1>0?1/_tk1:0;var _wk1=_uk1>0?1/_uk1:0;var _Sd1=_u21._b21();for(var _e21=0;_e21<_Sd1;_e21++){var _g21=_fP._Rd1(_e21)._O8();_g21._y21.x-=this._ii1._Ji1;_g21._y21.y-=this._ii1._Ji1;_g21._z21.x+=this._ii1._Ji1;_g21._z21.y+=this._ii1._Ji1;var _lk1=0;var _mk1=this._ii1._X31;var _xk1=this._ii1._Wi1._IZ(_lk1,_mk1,_Dj1(this._ii1._Ki1*_g21._y21.x,this._ii1._Ki1*_g21._y21.y),function(_gc,
_La){return _Re1._ej1._hj1(_gc,_La)});var _yk1=this._ii1._Wi1._LZ(_xk1,_mk1,_Dj1(this._ii1._Ki1*_g21._z21.x,this._ii1._Ki1*_g21._z21.y),function(_gc,_La){return _Re1._ej1._gj1(_gc,_La)});for(var _Td1=_xk1;_Td1!=_yk1;++_Td1){var _zk1=this._ii1._Wi1[_Td1];var _gc=_zk1.index;var _Ak1=this._ii1._zi1.data[_gc];if(_g21._y21.x<=_Ak1.x&&_Ak1.x<=_g21._z21.x&&_g21._y21.y<=_Ak1.y&&_Ak1.y<=_g21._z21.y){var _Al=[0];var _ra=new _V_();_fP._k21(_Ak1,_Al,_ra,_e21);if(_Al[0]<this._ii1._Ji1){var _Bk1=this._ii1._Oi1.data[_gc]&_2i1._5i1?0:this._ii1._Ck1();
var _Dk1=_V_._201(_Ak1,_zf1);var _Ek1=_U01(_Dk1,_ra);if(this._ii1._gh1>=this._ii1._Xi1){var _Kj1=this._ii1._Xi1;var _Lj1=this._ii1._gh1?2*this._ii1._gh1:_C_;this._ii1._eh1=this._ii1._Ij1(this._ii1._eh1,_Kj1,_Lj1);this._ii1._Xi1=_Lj1}var _oc1=this._ii1._eh1[this._ii1._gh1]=new _Fi1();_oc1.index=_gc;_oc1.body=_La;_oc1._Ei1=1-_Al[0]*this._ii1._Ki1;_oc1._m21._Z_(_ra.___());_oc1._621=1/(_Bk1+_vk1+_wk1*_Ek1*_Ek1);this._ii1._gh1++}}}}return !0},_fe1:function(_Q3){return !1}};var _i41=new _sk1(this);this._Gb1._Bf1(_i41,
_g21)},_l01:function(_JZ){++this._ni1;if(this._U21==0){return }this._Gi1=0;for(var _Q3=0;_Q3<this._U21;_Q3++){this._Gi1|=this._Oi1.data[_Q3]}if(this._Gi1&_2i1._4i1){this._Fk1()}this._Hi1=0;for(var _8T=this._2j1;_8T;_8T=_8T._ld1()){this._Hi1|=_8T._li1}var _ye1=_V_.Multiply(_JZ._ie1*this._Rb1,this._Gb1._Sf1());var _Gk1=this._Hk1(_JZ);for(var _Q3=0;_Q3<this._U21;_Q3++){var _uc=this._Ai1.data[_Q3];_uc._4j(_ye1);var _ud=_T01(_uc,_uc);if(_ud>_Gk1){_uc.Multiply(_S_(_Gk1/_ud))}}this._Ik1(_JZ);if(this._Hi1&_hi1._Ci1){
this._Jk1(_JZ)}if(this._Gi1&_2i1._5i1){this._Kk1(_JZ)}for(var _Q3=0;_Q3<this._U21;_Q3++){this._zi1.data[_Q3]._4j(_V_.Multiply(_JZ._ie1,this._Ai1.data[_Q3]))}this._rk1();this._Zj1(!1);if(this._Gi1&_2i1._8i1){this._Lk1(_JZ)}if(this._Gi1&_2i1._9i1){this._Mk1(_JZ)}if(this._Gi1&_2i1._ai1){this._Nk1(_JZ)}if(this._Gi1&_2i1._7i1){this._Ok1(_JZ)}if(this._Gi1&_2i1._6i1){this._Pk1(_JZ)}if(this._Hi1&_hi1._Bi1){this._Qk1(_JZ)}if(this._Gi1&_2i1._bi1){this._Rk1(_JZ)}this._Sk1(_JZ);this._Tk1(_JZ)},_Ik1:function(_JZ){
var _g21=new _O61();_g21._y21.x=+_8_;_g21._y21.y=+_8_;_g21._z21.x=-_8_;_g21._z21.y=-_8_;for(var _Q3=0;_Q3<this._U21;_Q3++){var _uc=this._Ai1.data[_Q3];var _M11=this._zi1.data[_Q3];var _N11=_V_._4j(_M11,_V_.Multiply(_JZ._ie1,_uc));_g21._y21=_l11(_g21._y21,_l11(_M11,_N11));_g21._z21=_n11(_g21._z21,_n11(_M11,_N11))}function _Uk1(_lh1,_JZ){this._ii1=_lh1;this._Vk1=_JZ}_Uk1.prototype={_ee1:function(_fP){if(_fP._Id1()){return !0}var _u21=_fP._Gd1();var body=_fP._Nd1();var _lk1=0;var _mk1=this._ii1._X31;var _Sd1=_u21._b21();
for(var _e21=0;_e21<_Sd1;_e21++){var _g21=_fP._Rd1(_e21)._O8();_g21._y21.x-=this._ii1._Ji1;_g21._y21.y-=this._ii1._Ji1;_g21._z21.x+=this._ii1._Ji1;_g21._z21.y+=this._ii1._Ji1;var _xk1=this._ii1._Wi1._IZ(_lk1,_mk1,_Dj1(this._ii1._Ki1*_g21._y21.x,this._ii1._Ki1*_g21._y21.y),function(_gc,_La){return _Re1._ej1._hj1(_gc,_La)});var _yk1=this._ii1._Wi1._LZ(_xk1,_mk1,_Dj1(this._ii1._Ki1*_g21._z21.x,this._ii1._Ki1*_g21._z21.y),function(_gc,_La){return _Re1._ej1._gj1(_gc,_La)});for(var _Td1=_xk1;_Td1!=_yk1;++_Td1){
var _zk1=this._ii1._Wi1[_Td1];var _gc=_zk1.index;var _Ak1=this._ii1._zi1.data[_gc];if(_g21._y21.x<=_Ak1.x&&_Ak1.x<=_g21._z21.x&&_g21._y21.y<=_Ak1.y&&_Ak1.y<=_g21._z21.y){var _Wk1=this._ii1._Ai1.data[_gc];var _5z=new _N61();var _3z=new _M61();_3z._M11=_911(body._B81,_b11(body._Hb1,_Ak1));_3z._N11=_V_._4j(_Ak1,_V_.Multiply(this._Vk1._ie1,_Wk1));_3z._w21=1;if(_fP._d21(_5z,_3z,_e21)){var _KA=_V_._4j(_V_._4j(_V_.Multiply((1-_5z._x21),_3z._M11),_V_.Multiply(_5z._x21,_3z._N11)),_V_.Multiply(_f_,_5z._m21));var _uc=_V_.Multiply(this._Vk1._je1,
_V_._201(_KA,_Ak1));this._ii1._Ai1.data[_gc]._Z_(_uc);var _3w=_V_.Multiply(this._ii1._yi1(),_V_._201(_Wk1,_uc));_3w=_V_.Multiply(_T01(_3w,_5z._m21),_5z._m21);body._Jc1(_3w,_KA,!0)}}}}return !0},_fe1:function(_Q3){return !1}};var _i41=new _Uk1(this,_JZ);this._Gb1._Bf1(_i41,_g21)},_Sk1:function(_JZ){for(var _Q3=0;_Q3<this._U21;_Q3++){this._Qi1[_Q3]=0}for(var _uj=0;_uj<this._gh1;_uj++){var _oc1=this._eh1[_uj];var _gc=_oc1.index;var _S3=_oc1._Ei1;this._Qi1[_gc]+=_S3}for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];
var _gc=_oc1._H41;var _La=_oc1._I41;var _S3=_oc1._Ei1;this._Qi1[_gc]+=_S3;this._Qi1[_La]+=_S3}if(this._Gi1&_Re1._sj1){for(var _Q3=0;_Q3<this._U21;_Q3++){if(this._Oi1.data[_Q3]&_Re1._sj1){this._Qi1[_Q3]=0}}}var _Xk1=this._3j1*this._Yk1(_JZ);for(var _Q3=0;_Q3<this._U21;_Q3++){var _S3=this._Qi1[_Q3];var _T3=_Xk1*_m11(0.0,_k11(_S3,_z_)-_y_);this._Qi1[_Q3]=_T3}var _Zk1=_JZ._ie1/(this._jc1*this._Ji1);for(var _uj=0;_uj<this._gh1;_uj++){var _oc1=this._eh1[_uj];var _gc=_oc1.index;var _La=_oc1.body;var _S3=_oc1._Ei1;var _ua=_oc1._621;
var _ra=_oc1._m21;var _KA=this._zi1.data[_gc];var _T3=this._Qi1[_gc]+_Xk1*_S3;var _3w=_V_.Multiply(_Zk1*_S3*_ua*_T3,_ra);this._Ai1.data[_gc]._201(_V_.Multiply(this._Ck1(),_3w));_La._Jc1(_3w,_KA,!0)}for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];var _gc=_oc1._H41;var _La=_oc1._I41;var _S3=_oc1._Ei1;var _ra=_oc1._m21;var _T3=this._Qi1[_gc]+this._Qi1[_La];var _3w=_V_.Multiply(_Zk1*_S3*_T3,_ra);this._Ai1.data[_gc]._201(_3w);this._Ai1.data[_La]._4j(_3w)}},_Tk1:function(_JZ){var _Mg1=this._4j1;for(var _uj=0;
_uj<this._gh1;_uj++){var _oc1=this._eh1[_uj];var _gc=_oc1.index;var _La=_oc1.body;var _S3=_oc1._Ei1;var _ua=_oc1._621;var _ra=_oc1._m21;var _KA=this._zi1.data[_gc];var _uc=_V_._201(_La._Xc1(_KA),this._Ai1.data[_gc]);var __k1=_T01(_uc,_ra);if(__k1<0){var _3w=_V_.Multiply(_Mg1*_S3*_ua*__k1,_ra);this._Ai1.data[_gc]._4j(_V_.Multiply(this._Ck1(),_3w));_La._Jc1(_3w.___(),_KA,!0)}}for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];var _gc=_oc1._H41;var _La=_oc1._I41;var _S3=_oc1._Ei1;var _ra=_oc1._m21;var _uc=_V_._201(this._Ai1.data[_La],
this._Ai1.data[_gc]);var __k1=_T01(_uc,_ra);if(__k1<0){var _3w=_V_.Multiply(_Mg1*_S3*__k1,_ra);this._Ai1.data[_gc]._4j(_3w);this._Ai1.data[_La]._201(_3w)}}},_Kk1:function(_JZ){for(var _Q3=0;_Q3<this._U21;_Q3++){if(this._Oi1.data[_Q3]&_2i1._5i1){this._Ai1.data[_Q3]._W_()}}},_Jk1:function(_JZ){for(var _8T=this._2j1;_8T;_8T=_8T._ld1()){if(_8T._li1&_hi1._Ci1){_8T._xi1();var rotation=new _D01(_JZ._ie1*_8T._Ob1);var transform=new _H01(_V_._4j(_8T._pi1,_V_._201(_V_.Multiply(_JZ._ie1,_8T._Nb1),_711(rotation,_8T._pi1))),
rotation);_8T._qi1=_c11(transform,_8T._qi1);var _0l1=new _H01();_0l1._KA.x=_JZ._je1*transform._KA.x;_0l1._KA.y=_JZ._je1*transform._KA.y;_0l1._gz._Rw=_JZ._je1*transform._gz._Rw;_0l1._gz._R3=_JZ._je1*(transform._gz._R3-1);for(var _Q3=_8T._ji1;_Q3<_8T._ki1;_Q3++){this._Ai1.data[_Q3]._Z_(_911(_0l1,this._zi1.data[_Q3]))}}}},_Ok1:function(_JZ){var _1l1=_JZ._je1*this._5j1;for(var _uj=0;_uj<this._Zi1;_uj++){var _6k1=this._0j1[_uj];if(_6k1._ZX&_2i1._7i1){var _gc=_6k1._H41;var _La=_6k1._I41;var _R3=_6k1._kj1;var __j1=_6k1._lj1;
var _2l1=_6k1._mj1;var _3l1=_6k1._0i1;var _lj1=this._zi1.data[_gc];var _mj1=this._zi1.data[_La];var _0i1=this._zi1.data[_R3];var _KA=_V_.Multiply(1/3,_V_._4j(_lj1,_V_._4j(_mj1,_0i1)));var _Ia=new _D01();_Ia._Rw=_U01(__j1,_lj1)+_U01(_2l1,_mj1)+_U01(_3l1,_0i1);_Ia._R3=_T01(__j1,_lj1)+_T01(_2l1,_mj1)+_T01(_3l1,_0i1);var _ky=_Ia._Rw*_Ia._Rw+_Ia._R3*_Ia._R3;var _4l1=_U_(_ky);_Ia._Rw*=_4l1;_Ia._R3*=_4l1;var _fi1=_1l1*_6k1._fi1;this._Ai1.data[_gc]._4j(_V_.Multiply(_fi1,(_V_._201(_V_.Multiply(__j1,_Ia),(_V_._201(_lj1,
_KA))))));this._Ai1.data[_La]._4j(_V_.Multiply(_fi1,(_V_._201(_V_.Multiply(_2l1,_Ia),(_V_._201(_mj1,_KA))))));this._Ai1.data[_R3]._4j(_V_.Multiply(_fi1,(_V_._201(_V_.Multiply(_3l1,_Ia),(_V_._201(_0i1,_KA))))))}}},_Pk1:function(_JZ){var _5l1=_JZ._je1*this._6j1;for(var _uj=0;_uj<this._Y31;_uj++){var _q41=this._Z31[_uj];if(_q41._ZX&_2i1._6i1){var _gc=_q41._H41;var _La=_q41._I41;var _Al=_V_._201(this._zi1.data[_La],this._zi1.data[_gc]);var _6l1=_q41._l21;var _jy=_Al.Length();var _fi1=_5l1*_q41._fi1;var _3w=_V_.Multiply(_fi1*(_6l1-_jy)/_jy,
_Al);this._Ai1.data[_gc]._201(_3w);this._Ai1.data[_La]._4j(_3w)}}},_Nk1:function(_JZ){this._Ri1=this._Qj1(this._Ri1);for(var _Q3=0;_Q3<this._U21;_Q3++){this._Qi1[_Q3]=0;this._Ri1[_Q3]=new _V_()}for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];if(_oc1._ZX&_2i1._ai1){var _gc=_oc1._H41;var _La=_oc1._I41;var _S3=_oc1._Ei1;var _ra=_oc1._m21;this._Qi1[_gc]+=_S3;this._Qi1[_La]+=_S3;this._Ri1[_gc]._201(_V_.Multiply((1-_S3)*_S3,_ra));this._Ri1[_La]._4j(_V_.Multiply((1-_S3)*_S3,_ra))}}var _7l1=this._8j1*this._8l1(_JZ);
var _9l1=this._9j1*this._8l1(_JZ);for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];if(_oc1._ZX&_2i1._ai1){var _gc=_oc1._H41;var _La=_oc1._I41;var _S3=_oc1._Ei1;var _ra=_oc1._m21;var _T3=this._Qi1[_gc]+this._Qi1[_La];var _Rw=_V_._201(this._Ri1[_La],this._Ri1[_gc]);var _al1=(_7l1*(_T3-2)+_9l1*_T01(_Rw,_ra))*_S3;var _3w=_V_.Multiply(_al1,_ra);this._Ai1.data[_gc]._201(_3w);this._Ai1.data[_La]._4j(_3w)}}},_Lk1:function(_JZ){var _bl1=this._7j1;for(var _uj=0;_uj<this._gh1;_uj++){var _oc1=this._eh1[_uj];var _gc=_oc1.index;
if(this._Oi1.data[_gc]&_2i1._8i1){var _La=_oc1.body;var _S3=_oc1._Ei1;var _ua=_oc1._621;var _KA=this._zi1.data[_gc];var _uc=_V_._201(_La._Xc1(_KA),this._Ai1.data[_gc]);var _3w=_V_.Multiply(_bl1*_ua*_S3,_uc);this._Ai1.data[_gc]._4j(_V_.Multiply(this._Ck1(),_3w));_La._Jc1(_3w.___(),_KA,!0)}}for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];if(_oc1._ZX&_2i1._8i1){var _gc=_oc1._H41;var _La=_oc1._I41;var _S3=_oc1._Ei1;var _uc=_V_._201(this._Ai1.data[_La],this._Ai1.data[_gc]);var _3w=_V_.Multiply(_bl1*_S3,
_uc);this._Ai1.data[_gc]._4j(_3w);this._Ai1.data[_La]._201(_3w)}}},_Mk1:function(_JZ){var _cl1=this._aj1*this._8l1(_JZ);var _dl1=1.0-_x_;for(var _uj=0;_uj<this._gh1;_uj++){var _oc1=this._eh1[_uj];var _gc=_oc1.index;if(this._Oi1.data[_gc]&_2i1._9i1){var _S3=_oc1._Ei1;if(_S3>_dl1){var _La=_oc1.body;var _ua=_oc1._621;var _KA=this._zi1.data[_gc];var _ra=_oc1._m21;var _3w=_V_.Multiply(_cl1*_ua*(_S3-_dl1),_ra);this._Ai1.data[_gc]._201(_V_.Multiply(this._Ck1(),_3w));_La._Jc1(_3w,_KA,!0)}}}for(var _uj=0;_uj<this._Rf1;
_uj++){var _oc1=this._bh1[_uj];if(_oc1._ZX&_2i1._9i1){var _S3=_oc1._Ei1;if(_S3>_dl1){var _gc=_oc1._H41;var _La=_oc1._I41;var _ra=_oc1._m21;var _3w=_V_.Multiply(_cl1*(_S3-_dl1),_ra);this._Ai1.data[_gc]._201(_3w);this._Ai1.data[_La]._4j(_3w)}}}},_Qk1:function(_JZ){this._Si1=this._Qj1(this._Si1);var _el1=_JZ._je1*this._bj1;for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];var _gc=_oc1._H41;var _La=_oc1._I41;if(this._Ti1[_gc]!=this._Ti1[_La]){var _S3=_oc1._Ei1;var _ra=_oc1._m21;var _T3=this._Si1[_gc]+this._Si1[_La];
var _3w=_V_.Multiply(_el1*_T3*_S3,_ra);this._Ai1.data[_gc]._201(_3w);this._Ai1.data[_La]._4j(_3w)}}},_Rk1:function(_JZ){this._ph1.data=this._Qj1(this._ph1.data);var _fl1=Math.floor(256*this._cj1);for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];var _gc=_oc1._H41;var _La=_oc1._I41;if(this._Oi1.data[_gc]&this._Oi1.data[_La]&_2i1._bi1){var _gl1=this._ph1.data[_gc];var _hl1=this._ph1.data[_La];var _il1=(_fl1*(_hl1._Ia-_gl1._Ia))>>8;var _jl1=(_fl1*(_hl1._fc-_gl1._fc))>>8;var _kl1=(_fl1*(_hl1._La-_gl1._La))>>8;
var _ll1=(_fl1*(_hl1._gc-_gl1._gc))>>8;_gl1._Ia+=_il1;_gl1._fc+=_jl1;_gl1._La+=_kl1;_gl1._gc+=_ll1;_hl1._Ia-=_il1;_hl1._fc-=_jl1;_hl1._La-=_kl1;_hl1._gc-=_ll1}}},_Fk1:function(){var _ml1=0;var _nl1=new Array(this._U21);for(var _Q3=0;_Q3<this._U21;_Q3++){var _ZX=this._Oi1.data[_Q3];if(_ZX&_2i1._4i1){var _ol1=this._Gb1._Ae1;if((_ZX&_2i1._ci1)&&_ol1){_ol1.__d1(_Q3)}_nl1[_Q3]=_w_}else {_nl1[_Q3]=_ml1;if(_Q3!=_ml1){this._Oi1.data[_ml1]=this._Oi1.data[_Q3];this._zi1.data[_ml1]=this._zi1.data[_Q3];this._Ai1.data[_ml1]=this._Ai1.data[_Q3];
this._Ti1[_ml1]=this._Ti1[_Q3];if(this._Si1){this._Si1[_ml1]=this._Si1[_Q3]}if(this._ph1.data){this._ph1.data[_ml1]=this._ph1.data[_Q3]}if(this._Ui1.data){this._Ui1.data[_ml1]=this._Ui1.data[_Q3]}}_ml1++}}var _pl1={_ql1:function(_Td1){return _Td1.index<0},_rl1:function(_oc1){return _oc1._H41<0||_oc1._I41<0},_sl1:function(_oc1){return _oc1.index<0},_tl1:function(_q41){return _q41._H41<0||_q41._I41<0},_ul1:function(_6k1){return _6k1._H41<0||_6k1._I41<0||_6k1._kj1<0;}};for(var _uj=0;_uj<this._X31;_uj++){var _Td1=this._Wi1[_uj];
_Td1.index=_nl1[_Td1.index]}if(this._Wi1){this._X31=this._Wi1._GZ(_pl1._ql1,this._X31)}for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];_oc1._H41=_nl1[_oc1._H41];_oc1._I41=_nl1[_oc1._I41]}if(this._bh1){this._Rf1=this._bh1._GZ(_pl1._rl1,this._Rf1)}for(var _uj=0;_uj<this._gh1;_uj++){var _oc1=this._eh1[_uj];_oc1.index=_nl1[_oc1.index]}if(this._eh1){this._gh1=this._eh1._GZ(_pl1._sl1,this._gh1)}for(var _uj=0;_uj<this._Y31;_uj++){var _q41=this._Z31[_uj];_q41._H41=_nl1[_q41._H41];_q41._I41=_nl1[_q41._I41]}
if(this._Z31){this._Y31=this._Z31._GZ(_pl1._tl1,this._Y31)}for(var _uj=0;_uj<this._Zi1;_uj++){var _6k1=this._0j1[_uj];_6k1._H41=_nl1[_6k1._H41];_6k1._I41=_nl1[_6k1._I41];_6k1._kj1=_nl1[_6k1._kj1]}if(this._0j1){this._Zi1=this._0j1._GZ(_pl1._ul1,this._Zi1)}for(var _8T=this._2j1;_8T;_8T=_8T._ld1()){var _Wj1=_ml1;var lastIndex=0;var _vl1=!1;for(var _Q3=_8T._ji1;_Q3<_8T._ki1;_Q3++){var _Pa=_nl1[_Q3];if(_Pa>=0){_Wj1=_k11(_Wj1,_Pa);lastIndex=_m11(lastIndex,_Pa+1)}else {_vl1=!0}}if(_Wj1<lastIndex){_8T._ji1=_Wj1;
_8T._ki1=lastIndex;if(_vl1){if(_8T._li1&_hi1._Ci1){_8T._ti1=!0}}}else {_8T._ji1=0;_8T._ki1=0;if(_8T._ri1){_8T._si1=!0}}}this._U21=_ml1;for(var _8T=this._2j1;_8T;){var _zj=_8T._ld1();if(_8T._si1){this._bk1(_8T)}_8T=_zj}},_9k1:function(start,_wl1,end){if(start==_wl1||_wl1==end){return }function _nl1(_Q3){if(_Q3<start){return _Q3}else if(_Q3<_wl1){return _Q3+end-_wl1}else if(_Q3<end){return _Q3+start-_wl1}else {return _Q3}}this._Oi1.data.rotate(start,_wl1,end);this._zi1.data.rotate(start,_wl1,end);this._Ai1.data.rotate(start,
_wl1,end);this._Ti1.rotate(start,_wl1,end);if(this._Si1){this._Si1.rotate(start,_wl1,end)}if(this._ph1.data){this._ph1.data.rotate(start,_wl1,end)}if(this._Ui1.data){this._Ui1.data.rotate(start,_wl1,end)}for(var _uj=0;_uj<this._X31;_uj++){var _Td1=this._Wi1[_uj];_Td1.index=_nl1(_Td1.index)}for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];_oc1._H41=_nl1(_oc1._H41);_oc1._I41=_nl1(_oc1._I41)}for(var _uj=0;_uj<this._gh1;_uj++){var _oc1=this._eh1[_uj];_oc1.index=_nl1(_oc1.index)}for(var _uj=0;_uj<this._Y31;
_uj++){var _q41=this._Z31[_uj];_q41._H41=_nl1(_q41._H41);_q41._I41=_nl1(_q41._I41)}for(var _uj=0;_uj<this._Zi1;_uj++){var _6k1=this._0j1[_uj];_6k1._H41=_nl1(_6k1._H41);_6k1._I41=_nl1(_6k1._I41);_6k1._kj1=_nl1(_6k1._kj1)}for(var _8T=this._2j1;_8T;_8T=_8T._ld1()){_8T._ji1=_nl1(_8T._ji1);_8T._ki1=_nl1(_8T._ki1-1)+1}},_Og1:function(_I11){this._Ji1=2*_I11;this._Li1=this._Ji1*this._Ji1;this._Ki1=1/this._Ji1},_Hg1:function(_j21){this._jc1=_j21;this._Ii1=1/this._jc1},_Ig1:function(){return this._jc1},_Jg1:function(_wb1){
this._Rb1=_wb1},_Kg1:function(){return this._Rb1},_Lg1:function(_Mg1){this._4j1=_Mg1},_Ng1:function(){return this._4j1},_Pg1:function(){return this._Ji1/2},_8l1:function(_JZ){return this._Ji1*_JZ._je1},_Hk1:function(_JZ){var _8R=this._8l1(_JZ);return _8R*_8R},_Yk1:function(_JZ){return this._jc1*this._Hk1(_JZ)},_Vj1:function(){return _x_*this._Ji1},_yi1:function(){var _jd=this._Vj1();return this._jc1*_jd*_jd;},_Ck1:function(){return 1.777777*this._Ii1*this._Ki1*this._Ki1},_Zg1:function(){return this._Oi1.data}
,__g1:function(){return this._zi1.data},_0h1:function(){return this._Ai1.data},_1h1:function(){this._ph1.data=this._Qj1(this._ph1.data);return this._ph1.data},_2h1:function(){this._Ui1.data=this._Qj1(this._Ui1.data);return this._Ui1.data},_Fg1:function(){return this._Ni1},_Gg1:function(_Fb){_6_(this._U21<=_Fb);this._Ni1=_Fb},_3h1:function(){return this._Ti1},_xl1:function(buffer,_yl1,_Lj1){_6_((_yl1&&_Lj1)||(!_yl1&&!_Lj1));buffer.data=_yl1;buffer._dj1=_Lj1},_4h1:function(buffer,_5h1){this._xl1(this._Oi1,
buffer,_5h1)},_6h1:function(buffer,_5h1){this._xl1(this._zi1,buffer,_5h1)},_7h1:function(buffer,_5h1){this._xl1(this._Ai1,buffer,_5h1)},_8h1:function(buffer,_5h1){this._xl1(this._ph1,buffer,_5h1)},_9h1:function(buffer,_5h1){this._xl1(this._Ui1,buffer,_5h1)},_Bf1:function(_i41,_g21){if(this._X31==0){return }var _lk1=0;var _mk1=this._X31;var _xk1=this._Wi1._IZ(_lk1,_mk1,_Dj1(this._Ki1*_g21._y21.x,this._Ki1*_g21._y21.y),function(_gc,_La){return _Re1._ej1._hj1(_gc,_La)});var _yk1=this._Wi1._LZ(_xk1,_mk1,_Dj1(this._Ki1*_g21._z21.x,
this._Ki1*_g21._z21.y),function(_gc,_La){return _Re1._ej1._gj1(_gc,_La)});for(var _Td1=_xk1;_Td1<_yk1;++_Td1){var _zk1=this._Wi1[_Td1];var _Q3=_zk1.index;var _KA=this._zi1.data[_Q3];if(_g21._y21.x<_KA.x&&_KA.x<_g21._z21.x&&_g21._y21.y<_KA.y&&_KA.y<_g21._z21.y){if(!_i41._fe1(_Q3)){break }}}},_d21:function(_i41,_Df1,_Ef1){if(this._X31==0){return }var _lk1=0;var _mk1=this._X31;var _xk1=this._Wi1._IZ(_lk1,_mk1,_Dj1(this._Ki1*_k11(_Df1.x,_Ef1.x)-1,this._Ki1*_k11(_Df1.y,_Ef1.y)-1),function(_gc,_La){return _Re1._ej1._hj1(_gc,
_La)});var _yk1=this._Wi1._LZ(_lk1,_mk1,_Dj1(this._Ki1*_m11(_Df1.x,_Ef1.x)+1,this._Ki1*_m11(_Df1.y,_Ef1.y)+1),function(_gc,_La){return _Re1._ej1._gj1(_gc,_La)});var _x21=1;var _uc=_V_._201(_Ef1,_Df1);var _ud=_T01(_uc,_uc);for(var _Td1=_xk1;_Td1<_yk1;++_Td1){var _zk1=this._Wi1[_Td1];var _Q3=_zk1.index;var _KA=_V_._201(_Df1,this._zi1.data[_Q3]);var _zl1=_T01(_KA,_uc);var _N11=_T01(_KA,_KA);var _Al1=_zl1*_zl1-_ud*(_N11-this._Li1);if(_Al1>=0){var _Bl1=_S_(_Al1);var _Ka=(-_zl1-_Bl1)/_ud;if(_Ka>_x21){continue }if(_Ka<0){
_Ka=(-_zl1+_Bl1)/_ud;if(_Ka<0||_Ka>_x21){continue }}var _ra=_V_._4j(_KA,_V_._201(_Ka,_uc));_ra._401();var _3w=_i41._fe1(_Q3,_V_._4j(_Df1,_V_.Multiply(_Ka,_uc)),_ra,_Ka);_x21=_k11(_x21,_3w);if(_x21<=0){break }}}},_hh1:function(){var _Cl1=0;for(var _uj=0;_uj<this._Rf1;_uj++){var _oc1=this._bh1[_uj];var _gc=_oc1._H41;var _La=_oc1._I41;var _ra=_oc1._m21;var _uc=_V_._201(this._Ai1.data[_La],this._Ai1.data[_gc]);var __k1=_T01(_uc,_ra);if(__k1<0){_Cl1+=__k1*__k1}}return 0.5*this._yi1()*_Cl1},_ih1:function(){return this._2j1}
,_jh1:function(){return this._1j1},_kh1:function(){return this._U21}};function _Dl1(_El1,_Fl1){return _S_(_El1*_Fl1)}function _Gl1(_Hl1,_Il1){return _Hl1>_Il1?_Hl1:_Il1}function _Jl1(){this._bb1=null;this._Kl1=!1};function _Ll1(){this._P61=null;this._oc1=null;this._ff1=null;this._zj=null};function _Wf1(){this._Ml1=new _Ll1();this._Nl1=new _Ll1();this._Ol1=new _961()}_Wf1._Pl1=new _961();_Wf1.prototype={_dc1:function(_eg1,_H41,_fg1,_I41){this._bg1=0;this._Ab1=_Wf1._Ql1;this._4g1=_eg1||null;this._6g1=_fg1||null;
this._Rl1=_H41||0;this._Sl1=_I41||0;this._Ol1._c61=0;this._Lb1=null;this._Mb1=null;this._Ml1._oc1=null;this._Ml1._ff1=null;this._Ml1._zj=null;this._Ml1._P61=null;this._Nl1._oc1=null;this._Nl1._ff1=null;this._Nl1._zj=null;this._Nl1._P61=null;this._ag1=0;if(_eg1){this._Ed1=_Dl1(this._4g1._Ed1,this._6g1._Ed1);this._Fd1=_Gl1(this._4g1._Fd1,this._6g1._Fd1)}else {this._Ed1=0;this._Fd1=0}this._Tl1=0.0},_Ul1:function(){return this._Ol1},_Vl1:function(_Wl1){var _if1=this._4g1._Nd1();var _jf1=this._6g1._Nd1();
var _o91=this._4g1._Gd1();var _p91=this._6g1._Gd1();_Wl1._n61(this._Ol1,_if1._P01(),_o91._921,_jf1._P01(),_p91._921)},_2g1:function(){return(this._Ab1&_Wf1._Xl1)==_Wf1._Xl1},_mg1:function(_9d1){if(_9d1){this._Ab1|=_Wf1._Ql1}else {this._Ab1&=~_Wf1._Ql1}},_1g1:function(){return(this._Ab1&_Wf1._Ql1)==_Wf1._Ql1},_ld1:function(){return this._Mb1},_qc1:function(){return this._4g1},_vf1:function(){return this._Rl1;},_sc1:function(){return this._6g1},_xf1:function(){return this._Sl1},_pP:function(_xd1){this._Ed1=_xd1}
,_Pd1:function(){return this._Ed1},_Yl1:function(){this._Ed1=_Dl1(this._4g1._Ed1,this._6g1._Ed1)},_mP:function(_yd1){this._Fd1=_yd1},_Qd1:function(){return this._Fd1},_Zl1:function(){this._Fd1=_Gl1(this._4g1._Fd1,this._6g1._Fd1)},__l1:function(_W4){this._Tl1=_W4},_0m1:function(){return this._Tl1},_1b1:function(_d61,_o61,_q61){},_Md1:function(){this._Ab1|=_Wf1._1m1},_2m1:null,_Rh:function(listener){_Wf1._Pl1._Z_(this._Ol1);this._Ab1|=_Wf1._Ql1;var _3m1=!1;var _4m1=(this._Ab1&_Wf1._Xl1)==_Wf1._Xl1;var _3g1=this._4g1._Id1();
var _5g1=this._6g1._Id1();var _Hd1=_3g1||_5g1;var _if1=this._4g1._Nd1();var _jf1=this._6g1._Nd1();var _o61=_if1._P01();var _q61=_jf1._P01();if(_Hd1){var _o91=this._4g1._Gd1();var _p91=this._6g1._Gd1();_3m1=_n91(_o91,this._Rl1,_p91,this._Sl1,_o61,_q61);this._Ol1._c61=0}else {this._1b1(this._Ol1,_o61,_q61);_3m1=this._Ol1._c61>0;for(var _Q3=0;_Q3<this._Ol1._c61;++_Q3){var _5m1=this._Ol1._a61[_Q3];_5m1._661=0.0;_5m1._761=0.0;var _6m1=_5m1.id;for(var _Pa=0;_Pa<_Wf1._Pl1._c61;++_Pa){var _7m1=_Wf1._Pl1._a61[_Pa];if(_7m1.id._Si()==_6m1._Si()){
_5m1._661=_7m1._661;_5m1._761=_7m1._761;break }}}if(_3m1!=_4m1){_if1._DP(!0);_jf1._DP(!0)}}if(_3m1){this._Ab1|=_Wf1._Xl1}else {this._Ab1&=~_Wf1._Xl1}if(_4m1==!1&&_3m1==!0&&listener){listener._8e1(this)}if(_4m1==!0&&_3m1==!1&&listener){listener._9e1(this)}if(_Hd1==!1&&_3m1&&listener){listener._ae1(this,_Wf1._Pl1)}}};_Wf1._3c1=0x0001;_Wf1._Xl1=0x0002;_Wf1._Ql1=0x0004;_Wf1._1m1=0x0008;_Wf1._8m1=0x0010;_Wf1._4c1=0x0020;function _9m1(){this.parent.call(this)}_9m1.prototype={_1b1:function(_d61,_o61,_q61){
_371(_d61,this._4g1._Gd1(),_o61,this._6g1._Gd1(),_q61)},_dc1:function(_pc1,_am1,_rc1,_bm1){this.parent.prototype._dc1.call(this,_pc1,0,_rc1,0);_6_(this._4g1._a21()==_821._n21);_6_(this._6g1._a21()==_821._n21)}};_9m1._AZ(_Wf1);var _cm1=new _E21();function _dm1(){this.parent.call(this)}_dm1.prototype={_1b1:function(_d61,_o61,_q61){var _C41=this._4g1._Gd1();_C41._531(_cm1,this._Rl1);_d81(_d61,_cm1,_o61,this._6g1._Gd1(),_q61)},_dc1:function(_pc1,_H41,_rc1,_I41){this.parent.prototype._dc1.call(this,_pc1,
_H41,_rc1,_I41);_6_(this._4g1._a21()==_821._q21);_6_(this._6g1._a21()==_821._n21)}};_dm1._AZ(_Wf1);function _em1(){this.parent.call(this)}_em1.prototype={_1b1:function(_d61,_o61,_q61){var _C41=this._4g1._Gd1();_C41._531(_cm1,this._Rl1);_e91(_d61,_cm1,_o61,this._6g1._Gd1(),_q61)},_dc1:function(_pc1,_H41,_rc1,_I41){this.parent.prototype._dc1.call(this,_pc1,_H41,_rc1,_I41);_6_(this._4g1._a21()==_821._q21);_6_(this._6g1._a21()==_821._p21)}};_em1._dc1=function(_pc1,_H41,_rc1,_I41){return new _em1(_pc1,_H41,
_rc1,_I41)};_em1._AZ(_Wf1);function _fm1(){this.parent.call(this)}_fm1.prototype={_1b1:function(_d61,_o61,_q61){_d81(_d61,this._4g1._Gd1(),_o61,this._6g1._Gd1(),_q61)},_dc1:function(_pc1,_H41,_rc1,_I41){this.parent.prototype._dc1.call(this,_pc1,0,_rc1,0);_6_(this._4g1._a21()==_821._o21);_6_(this._6g1._a21()==_821._n21)}};_fm1._dc1=function(_pc1,_H41,_rc1,_I41){return new _fm1(_pc1,_rc1)};_fm1._AZ(_Wf1);function _gm1(){this.parent.call(this)}_gm1.prototype={_1b1:function(_d61,_o61,_q61){_e91(_d61,this._4g1._Gd1(),
_o61,this._6g1._Gd1(),_q61)},_dc1:function(_pc1,_H41,_rc1,_I41){this.parent.prototype._dc1.call(this,_pc1,0,_rc1,0);_6_(this._4g1._a21()==_821._o21);_6_(this._6g1._a21()==_821._p21)}};_gm1._dc1=function(_pc1,_H41,_rc1,_I41){return new _gm1(_pc1,_rc1)};_gm1._AZ(_Wf1);function _hm1(){this.parent.call(this)}_hm1.prototype={_1b1:function(_d61,_o61,_q61){_771(_d61,this._4g1._Gd1(),_o61,this._6g1._Gd1(),_q61)},_dc1:function(_pc1,_H41,_rc1,_I41){this.parent.prototype._dc1.call(this,_pc1,0,_rc1,0);_6_(this._4g1._a21()==_821._p21);
_6_(this._6g1._a21()==_821._n21)}};_hm1._dc1=function(_pc1,_H41,_rc1,_I41){return new _hm1(_pc1,_rc1)};_hm1._AZ(_Wf1);function _im1(){this.parent.call(this)}_im1.prototype={_1b1:function(_d61,_o61,_q61){_I71(_d61,this._4g1._Gd1(),_o61,this._6g1._Gd1(),_q61)},_dc1:function(_pc1,_H41,_rc1,_I41){this.parent.prototype._dc1.call(this,_pc1,0,_rc1,0);_6_(this._4g1._a21()==_821._p21);_6_(this._6g1._a21()==_821._p21)}};_im1._dc1=function(_pc1,_H41,_rc1,_I41){return new _im1(_pc1,_rc1)};_im1._AZ(_Wf1);_Wf1._jm1=function(_bb1,
_km1,_lm1){_6_(0<=_km1&&_km1<_821._r21);_6_(0<=_lm1&&_lm1<_821._r21);if(!_Wf1._mm1[_km1])_Wf1._mm1[_km1]=[];_Wf1._mm1[_km1][_lm1]=new _Jl1();_Wf1._mm1[_km1][_lm1]._bb1=_bb1;_Wf1._mm1[_km1][_lm1]._Kl1=!0;if(_km1!=_lm1){if(!_Wf1._mm1[_lm1])_Wf1._mm1[_lm1]=[];_Wf1._mm1[_lm1][_km1]=new _Jl1();_Wf1._mm1[_lm1][_km1]._bb1=_bb1;_Wf1._mm1[_lm1][_km1]._Kl1=!1}_bb1._nm1=[];_bb1._om1=2};_Wf1._pm1=function(){_Wf1._jm1(_9m1,_821._n21,_821._n21);_Wf1._jm1(_hm1,_821._p21,_821._n21);_Wf1._jm1(_im1,_821._p21,_821._p21);
_Wf1._jm1(_fm1,_821._o21,_821._n21);_Wf1._jm1(_gm1,_821._o21,_821._p21);_Wf1._jm1(_dm1,_821._q21,_821._n21);_Wf1._jm1(_em1,_821._q21,_821._p21)};_Wf1._qm1=function(_bb1){var _oc1;if(_oc1=_bb1._nm1.pop())return _oc1;for(var _Q3=0;_Q3<_bb1._om1-1;++_Q3)_bb1._nm1.push(new _bb1());{_bb1._om1+=32}return new _bb1()};_Wf1._dc1=function(_pc1,_H41,_rc1,_I41){if(_Wf1._rm1==!1){_Wf1._pm1();_Wf1._rm1=!0}var _km1=_pc1._a21();var _lm1=_rc1._a21();_6_(0<=_km1&&_km1<_821._r21);_6_(0<=_lm1&&_lm1<_821._r21);var _bb1=_Wf1._mm1[_km1]?_Wf1._mm1[_km1][_lm1]?_Wf1._mm1[_km1][_lm1]._bb1:null:null;
if(_bb1){var _oc1=_Wf1._qm1(_bb1);if(_Wf1._mm1[_km1][_lm1]._Kl1)_oc1._dc1(_pc1,_H41,_rc1,_I41);else _oc1._dc1(_rc1,_I41,_pc1,_H41);return _oc1}return null};_Wf1._tc1=function(_oc1){_6_(_Wf1._rm1==!0);var _pc1=_oc1._4g1;var _rc1=_oc1._6g1;if(_oc1._Ol1._c61>0&&_pc1._Id1()==!1&&_rc1._Id1()==!1){_pc1._Nd1()._DP(!0);_rc1._Nd1()._DP(!0)}var _061=_pc1._a21();var _161=_rc1._a21();_6_(0<=_061&&_161<_821._r21);_6_(0<=_061&&_161<_821._r21);_Wf1._mm1[_061][_161]._bb1._nm1.push(_oc1)};_Wf1._mm1=[];_Wf1._rm1=!1;var _sm1=new _0e1();
var _tm1=new _7e1();function _ze1(){this._gc1=new _T31();this._Kb1=null;this._Rf1=0;this._0f1=_sm1;this._2f1=_tm1}_ze1.prototype={_p41:function(_um1,_vm1){var _K41=_um1;var _L41=_vm1;var _pc1=_K41._fP;var _rc1=_L41._fP;var _H41=_K41._e21;var _I41=_L41._e21;var _if1=_pc1._Nd1();var _jf1=_rc1._Nd1();if(_if1==_jf1){return }var _631=_jf1._kd1();while(_631){if(_631._P61==_if1){var _eg1=_631._oc1._qc1();var _fg1=_631._oc1._sc1();var _la1=_631._oc1._vf1();var _ma1=_631._oc1._xf1();if(_eg1==_pc1&&_fg1==_rc1&&_la1==_H41&&_ma1==_I41){
return }if(_eg1==_rc1&&_fg1==_pc1&&_la1==_I41&&_ma1==_H41){return }}_631=_631._zj}if(_jf1._pd1(_if1)==!1){return }if(this._0f1&&this._0f1._pd1(_pc1,_rc1)==!1){return }var _R3=_Wf1._dc1(_pc1,_H41,_rc1,_I41);if(_R3==null){return }_pc1=_R3._qc1();_rc1=_R3._sc1();_H41=_R3._vf1();_I41=_R3._xf1();_if1=_pc1._Nd1();_jf1=_rc1._Nd1();_R3._Lb1=null;_R3._Mb1=this._Kb1;if(this._Kb1!=null){this._Kb1._Lb1=_R3}this._Kb1=_R3;_R3._Ml1._oc1=_R3;_R3._Ml1._P61=_jf1;_R3._Ml1._ff1=null;_R3._Ml1._zj=_if1._Kb1;if(_if1._Kb1!=null){
_if1._Kb1._ff1=_R3._Ml1}_if1._Kb1=_R3._Ml1;_R3._Nl1._oc1=_R3;_R3._Nl1._P61=_if1;_R3._Nl1._ff1=null;_R3._Nl1._zj=_jf1._Kb1;if(_jf1._Kb1!=null){_jf1._Kb1._ff1=_R3._Nl1}_jf1._Kb1=_R3._Nl1;if(_pc1._Id1()==!1&&_rc1._Id1()==!1){_if1._DP(!0);_jf1._DP(!0)}++this._Rf1},_mf1:function(){this._gc1._h41(this)},_tc1:function(_R3){var _pc1=_R3._qc1();var _rc1=_R3._sc1();var _if1=_pc1._Nd1();var _jf1=_rc1._Nd1();if(this._2f1&&_R3._2g1()){this._2f1._9e1(_R3)}if(_R3._Lb1){_R3._Lb1._Mb1=_R3._Mb1}if(_R3._Mb1){_R3._Mb1._Lb1=_R3._Lb1}
if(_R3==this._Kb1){this._Kb1=_R3._Mb1}if(_R3._Ml1._ff1){_R3._Ml1._ff1._zj=_R3._Ml1._zj}if(_R3._Ml1._zj){_R3._Ml1._zj._ff1=_R3._Ml1._ff1}if(_R3._Ml1==_if1._Kb1){_if1._Kb1=_R3._Ml1._zj}if(_R3._Nl1._ff1){_R3._Nl1._ff1._zj=_R3._Nl1._zj}if(_R3._Nl1._zj){_R3._Nl1._zj._ff1=_R3._Nl1._ff1}if(_R3._Nl1==_jf1._Kb1){_jf1._Kb1=_R3._Nl1._zj;}_Wf1._tc1(_R3);--this._Rf1},_T81:function(){var _R3=this._Kb1;while(_R3){var _pc1=_R3._qc1();var _rc1=_R3._sc1();var _H41=_R3._vf1();var _I41=_R3._xf1();var _if1=_pc1._Nd1();var _jf1=_rc1._Nd1();
if(_R3._Ab1&_Wf1._1m1){if(_jf1._pd1(_if1)==!1){var _wm1=_R3;_R3=_wm1._ld1();this._tc1(_wm1);continue }if(this._0f1&&this._0f1._pd1(_pc1,_rc1)==!1){var _wm1=_R3;_R3=_wm1._ld1();this._tc1(_wm1);continue }_R3._Ab1&=~_Wf1._1m1}var _ig1=_if1._dd1()&&_if1._PH!=_mb1._nb1;var _jg1=_jf1._dd1()&&_jf1._PH!=_mb1._nb1;if(_ig1==!1&&_jg1==!1){_R3=_R3._ld1();continue }var _O31=_pc1._7d1[_H41]._341;var _P31=_rc1._7d1[_I41]._341;var _xm1=this._gc1._c41(_O31,_P31);if(_xm1==!1){var _wm1=_R3;_R3=_wm1._ld1();this._tc1(_wm1);continue }
_R3._Rh(this._2f1);_R3=_R3._ld1()}}};function _ym1(){this._X51=new _V_();this._Y51=new _V_();this._661=0;this._761=0;this._zm1=0;this._Am1=0;this._Bm1=0}function _Cm1(){this._Dm1=new Array(_b_);this._b61=new _V_();this._561=new _V_();this._H41=0;this._I41=0;this._Em1=0,this._Fm1=0;this._Gm1=new _V_(),this._Hm1=new _V_();this._Im1=0,this._Jm1=0;this.type=0;this._p61=0,this._r61=0;this._c61=0};function _Km1(){this._a61=new Array(_b_);for(var _Q3=0;_Q3<this._a61.length;++_Q3)this._a61[_Q3]=new _ym1();this._m21=new _V_();
this._zm1=new _e01();this._Lm1=new _e01();this._H41=0;this._I41=0;this._Em1=0,this._Fm1=0;this._Im1=0,this._Jm1=0;this._xd1=0;this._yd1=0;this._Mm1=0;this._c61=0;this._Nm1=0}function _Om1(){this._m21=new _V_();this._861=new _V_();this._b71=0}_Om1.prototype={_n61:function(_0i1,_o61,_q61,index){_6_(_0i1._c61>0);switch(_0i1.type){case _961._e61:{var _s61=(_o61._gz._R3*_0i1._561.x-_o61._gz._Rw*_0i1._561.y)+_o61._KA.x;var _t61=(_o61._gz._Rw*_0i1._561.x+_o61._gz._R3*_0i1._561.y)+_o61._KA.y;var _u61=(_q61._gz._R3*_0i1._Dm1[0].x-_q61._gz._Rw*_0i1._Dm1[0].y)+_q61._KA.x;
var _v61=(_q61._gz._Rw*_0i1._Dm1[0].x+_q61._gz._R3*_0i1._Dm1[0].y)+_q61._KA.y;this._861.x=0.5*(_s61+_u61);this._861.y=0.5*(_t61+_v61);this._m21.x=_u61-_s61;this._m21.y=_v61-_t61;var _Pm1=this._m21.x;var _Qm1=this._m21.y;this._m21._401();this._b71=(_Pm1*this._m21.x+_Qm1*this._m21.y)-_0i1._p61-_0i1._r61;}break;case _961._f61:{this._m21.x=_o61._gz._R3*_0i1._b61.x-_o61._gz._Rw*_0i1._b61.y;this._m21.y=_o61._gz._Rw*_0i1._b61.x+_o61._gz._R3*_0i1._b61.y;var _C61=(_o61._gz._R3*_0i1._561.x-_o61._gz._Rw*_0i1._561.y)+_o61._KA.x;
var _D61=(_o61._gz._Rw*_0i1._561.x+_o61._gz._R3*_0i1._561.y)+_o61._KA.y;var _E61=(_q61._gz._R3*_0i1._Dm1[index].x-_q61._gz._Rw*_0i1._Dm1[index].y)+_q61._KA.x;var _F61=(_q61._gz._Rw*_0i1._Dm1[index].x+_q61._gz._R3*_0i1._Dm1[index].y)+_q61._KA.y;this._b71=((_E61-_C61)*this._m21.x+(_F61-_D61)*this._m21.y)-_0i1._p61-_0i1._r61;this._861.x=_E61;this._861.y=_F61}break;case _961._g61:{this._m21.x=_q61._gz._R3*_0i1._b61.x-_q61._gz._Rw*_0i1._b61.y;this._m21.y=_q61._gz._Rw*_0i1._b61.x+_q61._gz._R3*_0i1._b61.y;
var _C61=(_q61._gz._R3*_0i1._561.x-_q61._gz._Rw*_0i1._561.y)+_q61._KA.x;var _D61=(_q61._gz._Rw*_0i1._561.x+_q61._gz._R3*_0i1._561.y)+_q61._KA.y;var _E61=(_o61._gz._R3*_0i1._Dm1[index].x-_o61._gz._Rw*_0i1._Dm1[index].y)+_o61._KA.x;var _F61=(_o61._gz._Rw*_0i1._Dm1[index].x+_o61._gz._R3*_0i1._Dm1[index].y)+_o61._KA.y;this._b71=((_E61-_C61)*this._m21.x+(_F61-_D61)*this._m21.y)-_0i1._p61-_0i1._r61;this._861.x=_E61;this._861.y=_F61;this._m21.x=-this._m21.x;this._m21.y=-this._m21.y}break }}};function _Rm1(){
this._JZ=new _he1();this._Sm1=null;this._Fb=0;this._re1=null;this._se1=null}function _Tm1(){this._Um1=[];this._Vm1=[]}_Tm1._Wm1=new _H01();_Tm1._Xm1=new _H01();_Tm1._Ym1=new _Om1();_Tm1.prototype={_AI:function(_8c1){this._Vk1=_8c1._JZ;this._U21=_8c1._Fb;this._Um1.length=this._U21;this._Vm1.length=this._U21;this._Zm1=_8c1._re1;this.__m1=_8c1._se1;this._0n1=_8c1._Sm1;for(var _Q3=0;_Q3<this._U21;++_Q3){var _oc1=this._0n1[_Q3];var _pc1=_oc1._4g1;var _rc1=_oc1._6g1;var _o91=_pc1._Gd1();var _p91=_rc1._Gd1();var _p61=_o91._921;
var _r61=_p91._921;var _if1=_pc1._Nd1();var _jf1=_rc1._Nd1();var _d61=_oc1._Ul1();var _c61=_d61._c61;_6_(_c61>0);var _1n1=this._Vm1[_Q3]||new _Km1();_1n1._xd1=_oc1._Ed1;_1n1._yd1=_oc1._Fd1;_1n1._Mm1=_oc1._Tl1;_1n1._H41=_if1._zb1;_1n1._I41=_jf1._zb1;_1n1._Em1=_if1._Xb1;_1n1._Fm1=_jf1._Xb1;_1n1._Im1=_if1._Zb1;_1n1._Jm1=_jf1._Zb1;_1n1._Nm1=_Q3;_1n1._c61=_c61;_1n1._Lm1._W_();_1n1._zm1._W_();this._Vm1[_Q3]=_1n1;var _0i1=this._Um1[_Q3]||new _Cm1();_0i1._H41=_if1._zb1;_0i1._I41=_jf1._zb1;_0i1._Em1=_if1._Xb1;_0i1._Fm1=_jf1._Xb1;
_0i1._Gm1.x=_if1._Ib1._K01.x;_0i1._Gm1.y=_if1._Ib1._K01.y;_0i1._Hm1.x=_jf1._Ib1._K01.x;_0i1._Hm1.y=_jf1._Ib1._K01.y;_0i1._Im1=_if1._Zb1;_0i1._Jm1=_jf1._Zb1;_0i1._b61.x=_d61._b61.x;_0i1._b61.y=_d61._b61.y;_0i1._561.x=_d61._561.x;_0i1._561.y=_d61._561.y;_0i1._c61=_c61;_0i1._p61=_p61;_0i1._r61=_r61;_0i1.type=_d61.type;this._Um1[_Q3]=_0i1;for(var _Pa=0;_Pa<_c61;++_Pa){var _b81=_d61._a61[_Pa];var _2n1=_1n1._a61[_Pa];if(this._Vk1._ne1){_2n1._661=this._Vk1._ke1*_b81._661;_2n1._761=this._Vk1._ke1*_b81._761}
else {_2n1._661=0.0;_2n1._761=0.0}_2n1._X51._W_();_2n1._Y51._W_();_2n1._zm1=0.0;_2n1._Am1=0.0;_2n1._Bm1=0.0;_0i1._Dm1[_Pa]=_b81._561}}},_3n1:function(){for(var _Q3=0;_Q3<this._U21;++_Q3){var _1n1=this._Vm1[_Q3];var _0i1=this._Um1[_Q3];var _p61=_0i1._p61;var _r61=_0i1._r61;var _d61=this._0n1[_1n1._Nm1]._Ul1();var _H41=_1n1._H41;var _I41=_1n1._I41;var _4n1=_1n1._Em1;var _5n1=_1n1._Fm1;var _la1=_1n1._Im1;var _ma1=_1n1._Jm1;var _Gm1=_0i1._Gm1;var _Hm1=_0i1._Hm1;var _uf1=this._Zm1[_H41]._R3;var _6n1=this._Zm1[_H41]._gc;
var _7n1=this.__m1[_H41]._uc;var _U41=this.__m1[_H41]._S3;var _wf1=this._Zm1[_I41]._R3;var _8n1=this._Zm1[_I41]._gc;var _9n1=this.__m1[_I41]._uc;var _V41=this.__m1[_I41]._S3;_6_(_d61._c61>0);_Tm1._Wm1._gz._sj(_6n1);_Tm1._Xm1._gz._sj(_8n1);_Tm1._Wm1._KA.x=_uf1.x-(_Tm1._Wm1._gz._R3*_Gm1.x-_Tm1._Wm1._gz._Rw*_Gm1.y);_Tm1._Wm1._KA.y=_uf1.y-(_Tm1._Wm1._gz._Rw*_Gm1.x+_Tm1._Wm1._gz._R3*_Gm1.y);_Tm1._Xm1._KA.x=_wf1.x-(_Tm1._Xm1._gz._R3*_Hm1.x-_Tm1._Xm1._gz._Rw*_Hm1.y);_Tm1._Xm1._KA.y=_wf1.y-(_Tm1._Xm1._gz._Rw*_Hm1.x+_Tm1._Xm1._gz._R3*_Hm1.y);
var _Wl1=new _l61();_Wl1._n61(_d61,_Tm1._Wm1,_p61,_Tm1._Xm1,_r61);_1n1._m21.x=_Wl1._m21.x;_1n1._m21.y=_Wl1._m21.y;var _c61=_1n1._c61;for(var _Pa=0;_Pa<_c61;++_Pa){var _2n1=_1n1._a61[_Pa];_2n1._X51.x=_Wl1._a61[_Pa].x-_uf1.x;_2n1._X51.y=_Wl1._a61[_Pa].y-_uf1.y;_2n1._Y51.x=_Wl1._a61[_Pa].x-_wf1.x;_2n1._Y51.y=_Wl1._a61[_Pa].y-_wf1.y;var _an1=_2n1._X51.x*_1n1._m21.y-_2n1._X51.y*_1n1._m21.x;var _bn1=_2n1._Y51.x*_1n1._m21.y-_2n1._Y51.y*_1n1._m21.x;var _cn1=_4n1+_5n1+_la1*_an1*_an1+_ma1*_bn1*_bn1;_2n1._zm1=_cn1>0.0?1.0/_cn1:0.0;
var _081=1.0*_1n1._m21.y;var _181=-1.0*_1n1._m21.x;var _dn1=_2n1._X51.x*_181-_2n1._X51.y*_081;var _en1=_2n1._Y51.x*_181-_2n1._Y51.y*_081;var _fn1=_4n1+_5n1+_la1*_dn1*_dn1+_ma1*_en1*_en1;_2n1._Am1=_fn1>0.0?1.0/_fn1:0.0;_2n1._Bm1=0.0;var _gn1=_1n1._m21.x*(((_9n1.x+(-_V41*_2n1._Y51.y))-_7n1.x)-(-_U41*_2n1._X51.y))+_1n1._m21.y*(((_9n1.y+(_V41*_2n1._Y51.x))-_7n1.y)-(_U41*_2n1._X51.x));if(_gn1<-_k_){_2n1._Bm1=-_1n1._yd1*_gn1}}if(_1n1._c61==2){var _hn1=_1n1._a61[0];var _in1=_1n1._a61[1];var _jn1=_hn1._X51.x*_1n1._m21.y-_hn1._X51.y*_1n1._m21.x;
var _kn1=_hn1._Y51.x*_1n1._m21.y-_hn1._Y51.y*_1n1._m21.x;var _ln1=_in1._X51.x*_1n1._m21.y-_in1._X51.y*_1n1._m21.x;var _mn1=_in1._Y51.x*_1n1._m21.y-_in1._Y51.y*_1n1._m21.x;var _nn1=_4n1+_5n1+_la1*_jn1*_jn1+_ma1*_kn1*_kn1;var _on1=_4n1+_5n1+_la1*_ln1*_ln1+_ma1*_mn1*_mn1;var _pn1=_4n1+_5n1+_la1*_jn1*_ln1+_ma1*_kn1*_mn1;var _qn1=1000.0;if(_nn1*_nn1<_qn1*(_nn1*_on1-_pn1*_pn1)){_1n1._Lm1._9y.x=_nn1;_1n1._Lm1._9y.y=_pn1;_1n1._Lm1._xC.x=_pn1;_1n1._Lm1._xC.y=_on1;_1n1._zm1._Z_(_1n1._Lm1._i01())}else {_1n1._c61=1}
}}},_rn1:function(){for(var _Q3=0;_Q3<this._U21;++_Q3){var _1n1=this._Vm1[_Q3];var _H41=_1n1._H41;var _I41=_1n1._I41;var _4n1=_1n1._Em1;var _la1=_1n1._Im1;var _5n1=_1n1._Fm1;var _ma1=_1n1._Jm1;var _c61=_1n1._c61;var _7n1=this.__m1[_H41]._uc;var _U41=this.__m1[_H41]._S3;var _9n1=this.__m1[_I41]._uc;var _V41=this.__m1[_I41]._S3;var _m21=_1n1._m21;var _081=1.0*_m21.y;var _181=-1.0*_m21.x;for(var _Pa=0;_Pa<_c61;++_Pa){var _2n1=_1n1._a61[_Pa];var _p81=(_2n1._661*_m21.x)+(_2n1._761*_081);var _q81=(_2n1._661*_m21.y)+(_2n1._761*_181);
_U41-=_la1*(_2n1._X51.x*_q81-_2n1._X51.y*_p81);_7n1.x-=_4n1*_p81;_7n1.y-=_4n1*_q81;_V41+=_ma1*(_2n1._Y51.x*_q81-_2n1._Y51.y*_p81);_9n1.x+=_5n1*_p81;_9n1.y+=_5n1*_q81}this.__m1[_H41]._S3=_U41;this.__m1[_I41]._S3=_V41}},_sn1:function(){for(var _Q3=0;_Q3<this._U21;++_Q3){var _1n1=this._Vm1[_Q3];var _H41=_1n1._H41;var _I41=_1n1._I41;var _4n1=_1n1._Em1;var _la1=_1n1._Im1;var _5n1=_1n1._Fm1;var _ma1=_1n1._Jm1;var _c61=_1n1._c61;var _7n1=this.__m1[_H41]._uc;var _U41=this.__m1[_H41]._S3;var _9n1=this.__m1[_I41]._uc;
var _V41=this.__m1[_I41]._S3;var _m21=_1n1._m21;var _081=1.0*_m21.y;var _181=-1.0*_m21.x;var _xd1=_1n1._xd1;_6_(_c61==1||_c61==2);for(var _Pa=0;_Pa<_c61;++_Pa){var _2n1=_1n1._a61[_Pa];var _tn1=_9n1.x+(-_V41*_2n1._Y51.y)-_7n1.x-(-_U41*_2n1._X51.y);var _un1=_9n1.y+(_V41*_2n1._Y51.x)-_7n1.y-(_U41*_2n1._X51.x);var _vn1=(_tn1*_081+_un1*_181)-_1n1._Mm1;var _wn1=_2n1._Am1*(-_vn1);var _xn1=_xd1*_2n1._661;var _yn1=_o11(_2n1._761+_wn1,-_xn1,_xn1);_wn1=_yn1-_2n1._761;_2n1._761=_yn1;var _p81=_wn1*_081;var _q81=_wn1*_181;_7n1.x-=_4n1*_p81;
_7n1.y-=_4n1*_q81;_U41-=_la1*(_2n1._X51.x*_q81-_2n1._X51.y*_p81);_9n1.x+=_5n1*_p81;_9n1.y+=_5n1*_q81;_V41+=_ma1*(_2n1._Y51.x*_q81-_2n1._Y51.y*_p81)}if(_1n1._c61==1){_2n1=_1n1._a61[0];_tn1=_9n1.x+(-_V41*_2n1._Y51.y)-_7n1.x-(-_U41*_2n1._X51.y);_un1=_9n1.y+(_V41*_2n1._Y51.x)-_7n1.y-(_U41*_2n1._X51.x);var __k1=_tn1*_m21.x+_un1*_m21.y;var _wn1=-_2n1._zm1*(__k1-_2n1._Bm1);var _yn1=_m11(_2n1._661+_wn1,0.0);_wn1=_yn1-_2n1._661;_2n1._661=_yn1;_p81=_wn1*_m21.x;_q81=_wn1*_m21.y;_7n1.x-=_4n1*_p81;_7n1.y-=_4n1*_q81;
_U41-=_la1*(_2n1._X51.x*_q81-_2n1._X51.y*_p81);_9n1.x+=_5n1*_p81;_9n1.y+=_5n1*_q81;_V41+=_ma1*(_2n1._Y51.x*_q81-_2n1._Y51.y*_p81)}else {var _zn1=_1n1._a61[0];var _An1=_1n1._a61[1];var _AK=_zn1._661;var _BK=_An1._661;_6_(_AK>=0.0&&_BK>=0.0);var _Bn1=_9n1.x+(-_V41*_zn1._Y51.y)-_7n1.x-(-_U41*_zn1._X51.y);var _Cn1=_9n1.y+(_V41*_zn1._Y51.x)-_7n1.y-(_U41*_zn1._X51.x);var _Dn1=_9n1.x+(-_V41*_An1._Y51.y)-_7n1.x-(-_U41*_An1._X51.y);var _En1=_9n1.y+(_V41*_An1._Y51.x)-_7n1.y-(_U41*_An1._X51.x);var _Fn1=_Bn1*_m21.x+_Cn1*_m21.y;
var _Gn1=_Dn1*_m21.x+_En1*_m21.y;var _Rh1=_Fn1-_zn1._Bm1;var _Sh1=_Gn1-_An1._Bm1;_Rh1-=_1n1._Lm1._9y.x*_AK+_1n1._Lm1._xC.x*_BK;_Sh1-=_1n1._Lm1._9y.y*_AK+_1n1._Lm1._xC.y*_BK;for(;;){var _Qa=-(_1n1._zm1._9y.x*_Rh1+_1n1._zm1._xC.x*_Sh1);var _Hn1=-(_1n1._zm1._9y.y*_Rh1+_1n1._zm1._xC.y*_Sh1);if(_Qa>=0.0&&_Hn1>=0.0){var _9d=_Qa-_AK;var _ad=_Hn1-_BK;var _In1=_9d*_m21.x;var _Jn1=_9d*_m21.y;var _Kn1=_ad*_m21.x;var _Ln1=_ad*_m21.y;_7n1.x-=_4n1*(_In1+_Kn1);_7n1.y-=_4n1*(_Jn1+_Ln1);_U41-=_la1*((_zn1._X51.x*_Jn1-_zn1._X51.y*_In1)+(_An1._X51.x*_Ln1-_An1._X51.y*_Kn1));
_9n1.x+=_5n1*(_In1+_Kn1);_9n1.y+=_5n1*(_Jn1+_Ln1);_V41+=_ma1*((_zn1._Y51.x*_Jn1-_zn1._Y51.y*_In1)+(_An1._Y51.x*_Ln1-_An1._Y51.y*_Kn1));_zn1._661=_Qa;_An1._661=_Hn1;break }_Qa=-_zn1._zm1*_Rh1;_Hn1=0.0;_Fn1=0.0;_Gn1=_1n1._Lm1._9y.y*_Qa+_Sh1;if(_Qa>=0.0&&_Gn1>=0.0){_9d=_Qa-_AK;_ad=_Hn1-_BK;_In1=_9d*_m21.x;_Jn1=_9d*_m21.y;_Kn1=_ad*_m21.x;_Ln1=_ad*_m21.y;_7n1.x-=_4n1*(_In1+_Kn1);_7n1.y-=_4n1*(_Jn1+_Ln1);_U41-=_la1*((_zn1._X51.x*_Jn1-_zn1._X51.y*_In1)+(_An1._X51.x*_Ln1-_An1._X51.y*_Kn1));_9n1.x+=_5n1*(_In1+_Kn1);
_9n1.y+=_5n1*(_Jn1+_Ln1);_V41+=_ma1*((_zn1._Y51.x*_Jn1-_zn1._Y51.y*_In1)+(_An1._Y51.x*_Ln1-_An1._Y51.y*_Kn1));_zn1._661=_Qa;_An1._661=_Hn1;break }_Qa=0.0;_Hn1=-_An1._zm1*_Sh1;_Fn1=_1n1._Lm1._xC.x*_Hn1+_Rh1;_Gn1=0.0;if(_Hn1>=0.0&&_Fn1>=0.0){_9d=_Qa-_AK;_ad=_Hn1-_BK;_In1=_9d*_m21.x;_Jn1=_9d*_m21.y;_Kn1=_ad*_m21.x;_Ln1=_ad*_m21.y;_7n1.x-=_4n1*(_In1+_Kn1);_7n1.y-=_4n1*(_Jn1+_Ln1);_U41-=_la1*((_zn1._X51.x*_Jn1-_zn1._X51.y*_In1)+(_An1._X51.x*_Ln1-_An1._X51.y*_Kn1));_9n1.x+=_5n1*(_In1+_Kn1);_9n1.y+=_5n1*(_Jn1+_Ln1);
_V41+=_ma1*((_zn1._Y51.x*_Jn1-_zn1._Y51.y*_In1)+(_An1._Y51.x*_Ln1-_An1._Y51.y*_Kn1));_zn1._661=_Qa;_An1._661=_Hn1;break }_Qa=0.0;_Hn1=0.0;_Fn1=_Rh1;_Gn1=_Sh1;if(_Fn1>=0.0&&_Gn1>=0.0){_9d=_Qa-_AK;_ad=_Hn1-_BK;_In1=_9d*_m21.x;_Jn1=_9d*_m21.y;_Kn1=_ad*_m21.x;_Ln1=_ad*_m21.y;_7n1.x-=_4n1*(_In1+_Kn1);_7n1.y-=_4n1*(_Jn1+_Ln1);_U41-=_la1*((_zn1._X51.x*_Jn1-_zn1._X51.y*_In1)+(_An1._X51.x*_Ln1-_An1._X51.y*_Kn1));_9n1.x+=_5n1*(_In1+_Kn1);_9n1.y+=_5n1*(_Jn1+_Ln1);_V41+=_ma1*((_zn1._Y51.x*_Jn1-_zn1._Y51.y*_In1)+(_An1._Y51.x*_Ln1-_An1._Y51.y*_Kn1));
_zn1._661=_Qa;_An1._661=_Hn1;break }break }}this.__m1[_H41]._S3=_U41;this.__m1[_I41]._S3=_V41}},_Mn1:function(){for(var _Q3=0;_Q3<this._U21;++_Q3){var _1n1=this._Vm1[_Q3];var _d61=this._0n1[_1n1._Nm1]._Ul1();for(var _Pa=0;_Pa<_1n1._c61;++_Pa){_d61._a61[_Pa]._661=_1n1._a61[_Pa]._661;_d61._a61[_Pa]._761=_1n1._a61[_Pa]._761}}},_Nn1:function(){var _On1=0.0;for(var _Q3=0;_Q3<this._U21;++_Q3){var _0i1=this._Um1[_Q3];var _H41=_0i1._H41;var _I41=_0i1._I41;var _Gm1=_0i1._Gm1;var _4n1=_0i1._Em1;var _la1=_0i1._Im1;var _Hm1=_0i1._Hm1;
var _5n1=_0i1._Fm1;var _ma1=_0i1._Jm1;var _c61=_0i1._c61;var _uf1=this._Zm1[_H41]._R3;var _6n1=this._Zm1[_H41]._gc;var _wf1=this._Zm1[_I41]._R3;var _8n1=this._Zm1[_I41]._gc;for(var _Pa=0;_Pa<_c61;++_Pa){_Tm1._Wm1._gz._sj(_6n1);_Tm1._Xm1._gz._sj(_8n1);_Tm1._Wm1._KA.x=_uf1.x-(_Tm1._Wm1._gz._R3*_Gm1.x-_Tm1._Wm1._gz._Rw*_Gm1.y);_Tm1._Wm1._KA.y=_uf1.y-(_Tm1._Wm1._gz._Rw*_Gm1.x+_Tm1._Wm1._gz._R3*_Gm1.y);_Tm1._Xm1._KA.x=_wf1.x-(_Tm1._Xm1._gz._R3*_Hm1.x-_Tm1._Xm1._gz._Rw*_Hm1.y);_Tm1._Xm1._KA.y=_wf1.y-(_Tm1._Xm1._gz._Rw*_Hm1.x+_Tm1._Xm1._gz._R3*_Hm1.y);
_Tm1._Ym1._n61(_0i1,_Tm1._Wm1,_Tm1._Xm1,_Pa);var _m21=_Tm1._Ym1._m21;var _861=_Tm1._Ym1._861;var _b71=_Tm1._Ym1._b71;var _Pn1=_861.x-_uf1.x;var _Qn1=_861.y-_uf1.y;var _Rn1=_861.x-_wf1.x;var _Sn1=_861.y-_wf1.y;_On1=_k11(_On1,_b71);var _d11=_o11(_r_*(_b71+_f_),-_l_,0.0);var _an1=_Pn1*_m21.y-_Qn1*_m21.x;var _bn1=_Rn1*_m21.y-_Sn1*_m21.x;var _Lm1=_4n1+_5n1+_la1*_an1*_an1+_ma1*_bn1*_bn1;var _Kc1=_Lm1>0.0?-_d11/_Lm1:0.0;var _p81=_Kc1*_m21.x;var _q81=_Kc1*_m21.y;_uf1.x-=_4n1*_p81;_uf1.y-=_4n1*_q81;_6n1-=_la1*(_Pn1*_q81-_Qn1*_p81);
_wf1.x+=_5n1*_p81;_wf1.y+=_5n1*_q81;_8n1+=_ma1*(_Rn1*_q81-_Sn1*_p81)}this._Zm1[_H41]._gc=_6n1;this._Zm1[_I41]._gc=_8n1}return _On1>=-3.0*_f_},_Tn1:function(_Un1,_Vn1){var _On1=0.0;for(var _Q3=0;_Q3<this._U21;++_Q3){var _0i1=this._Um1[_Q3];var _H41=_0i1._H41;var _I41=_0i1._I41;var _Gm1=_0i1._Gm1;var _Hm1=_0i1._Hm1;var _c61=_0i1._c61;var _4n1=0.0;var _la1=0.0;if(_H41==_Un1||_H41==_Vn1){_4n1=_0i1._Em1;_la1=_0i1._Im1}var _5n1=0.0;var _ma1=0.0;if(_I41==_Un1||_I41==_Vn1){_5n1=_0i1._Fm1;_ma1=_0i1._Jm1}var _uf1=this._Zm1[_H41]._R3;
var _6n1=this._Zm1[_H41]._gc;var _wf1=this._Zm1[_I41]._R3;var _8n1=this._Zm1[_I41]._gc;for(var _Pa=0;_Pa<_c61;++_Pa){_Tm1._Wm1._gz._sj(_6n1);_Tm1._Xm1._gz._sj(_8n1);_Tm1._Wm1._KA._Z_(_V_._201(_uf1,_711(_Tm1._Wm1._gz,_Gm1)));_Tm1._Xm1._KA._Z_(_V_._201(_wf1,_711(_Tm1._Xm1._gz,_Hm1)));_Tm1._Ym1._n61(_0i1,_Tm1._Wm1,_Tm1._Xm1,_Pa);var _m21=_Tm1._Ym1._m21;var _861=_Tm1._Ym1._861;var _b71=_Tm1._Ym1._b71;var _X51=_V_._201(_861,_uf1);var _Y51=_V_._201(_861,_wf1);_On1=_k11(_On1,_b71);var _d11=_o11(_s_*(_b71+_f_),-_l_,
0.0);var _an1=_U01(_X51,_m21);var _bn1=_U01(_Y51,_m21);var _Lm1=_4n1+_5n1+_la1*_an1*_an1+_ma1*_bn1*_bn1;var _Kc1=_Lm1>0.0?-_d11/_Lm1:0.0;var _f81=_V_.Multiply(_Kc1,_m21);_uf1._201(_V_.Multiply(_4n1,_f81));_6n1-=_la1*_U01(_X51,_f81);_wf1._4j(_V_.Multiply(_5n1,_f81));_8n1+=_ma1*_U01(_Y51,_f81)}this._Zm1[_H41]._gc=_6n1;this._Zm1[_I41]._gc=_8n1}return _On1>=-1.5*_f_;}};function _Pe1(){this._9g1=[];this._0n1=[];this._Wn1=[];this.__m1=[];this._Zm1=[]}var _Xn1=_OZ.__Z("solve initialization","solve");var _Yn1=_OZ.__Z("warm starting",
"solve initialization");var _Zn1=_OZ.__Z("solve velocities","solve");var __n1=_OZ.__Z("solve positions","solve");_Pe1._0o1=new _qe1();_Pe1._1o1=new _Rm1();_Pe1._2o1=new _Tm1();_Pe1.prototype={_Qh:function(){this._De1=0;this._Rf1=0;this._Ee1=0},_n61:function(_3o1,_4o1,_5o1,listener){this._6o1=listener;this._og1=_3o1;this._pg1=_4o1;this._7o1=_5o1;this._De1=0;this._Rf1=0;this._Ee1=0;this._9g1.length=_3o1;this._0n1.length=_4o1;this._Wn1.length=_5o1;this.__m1.length=_3o1;this._Zm1.length=_3o1},_l01:function(_JZ,
_ye1,_sb1){_Xn1.start();var _T3=_JZ._ie1;for(var _Q3=0;_Q3<this._De1;++_Q3){var _La=this._9g1[_Q3];this._Zm1[_Q3]._R3._Z_(_La._Ib1._R3);var _gc=_La._Ib1._gc;this.__m1[_Q3]._uc._Z_(_La._Nb1);var _S3=_La._Ob1;_La._Ib1._L01._Z_(_La._Ib1._R3);_La._Ib1._N01=_La._Ib1._gc;if(_La._PH==_mb1._Vb1){this.__m1[_Q3]._uc.x+=_T3*((_La._Rb1*_ye1.x)+(_La._Xb1*_La._Sb1.x));this.__m1[_Q3]._uc.y+=_T3*((_La._Rb1*_ye1.y)+(_La._Xb1*_La._Sb1.y));_S3+=_T3*_La._Zb1*_La._Tb1;this.__m1[_Q3]._uc.x*=1.0/(1.0+_T3*_La._Pb1);this.__m1[_Q3]._uc.y*=1.0/(1.0+_T3*_La._Pb1);
_S3*=1.0/(1.0+_T3*_La._Qb1)}this._Zm1[_Q3]._gc=_gc;this.__m1[_Q3]._S3=_S3}_Pe1._0o1._JZ=_JZ;_Pe1._0o1._re1=this._Zm1;_Pe1._0o1._se1=this.__m1;_Pe1._1o1._JZ=_JZ;_Pe1._1o1._Sm1=this._0n1;_Pe1._1o1._Fb=this._Rf1;_Pe1._1o1._re1=this._Zm1;_Pe1._1o1._se1=this.__m1;_Pe1._1o1._8o1=this._9o1;_Pe1._2o1._AI(_Pe1._1o1);_Pe1._2o1._3n1();if(_JZ._ne1){_Yn1.start();_Pe1._2o1._rn1();_Yn1.stop()}for(var _Q3=0;_Q3<this._Ee1;++_Q3){this._Wn1[_Q3]._ao1(_Pe1._0o1)}_Xn1.stop();_Zn1.start();for(var _Q3=0;_Q3<_JZ._le1;++_Q3){
for(var _Pa=0;_Pa<this._Ee1;++_Pa){this._Wn1[_Pa]._sn1(_Pe1._0o1)}_Pe1._2o1._sn1()}_Pe1._2o1._Mn1();_Zn1.stop();__n1.start();for(var _Q3=0;_Q3<this._De1;++_Q3){var _R3=this._Zm1[_Q3]._R3;var _gc=this._Zm1[_Q3]._gc;var _uc=this.__m1[_Q3]._uc;var _S3=this.__m1[_Q3]._S3;var _bo1=_T3*_uc.x;var _co1=_T3*_uc.y;var _do1=_bo1*_bo1+_co1*_co1;if(_do1>_o_){var _eo1=_n_/_S_(_do1);_uc.x*=_eo1;_uc.y*=_eo1}var rotation=_T3*_S3;if(rotation*rotation>_q_){var _eo1=_p_/_h11(rotation);_S3*=_eo1}_R3.x+=_T3*_uc.x;_R3.y+=_T3*_uc.y;
_gc+=_T3*_S3;this._Zm1[_Q3]._gc=_gc;this.__m1[_Q3]._S3=_S3}var _fo1=!1;for(var _Q3=0;_Q3<_JZ._me1;++_Q3){var _go1=_Pe1._2o1._Nn1();var _ho1=!0;for(var _Pa=0;_Pa<this._Ee1;++_Pa){var _io1=this._Wn1[_Pa]._Nn1(_Pe1._0o1);_ho1=_ho1&&_io1}if(_go1&&_ho1){_fo1=!0;break }}for(var _Q3=0;_Q3<this._De1;++_Q3){var body=this._9g1[_Q3];body._Ib1._R3._Z_(this._Zm1[_Q3]._R3);body._Ib1._gc=this._Zm1[_Q3]._gc;body._Nb1._Z_(this.__m1[_Q3]._uc);body._Ob1=this.__m1[_Q3]._S3;body._od1()}__n1.stop();this._jo1(_Pe1._2o1._Vm1);if(_sb1){
var _ko1=_8_;var _lo1=_u_*_u_;var _mo1=_v_*_v_;for(var _Q3=0;_Q3<this._De1;++_Q3){var _La=this._9g1[_Q3];if(_La._a21()==_mb1._nb1){continue }if((_La._Ab1&_mb1._Db1)==0||_La._Ob1*_La._Ob1>_mo1||_T01(_La._Nb1,_La._Nb1)>_lo1){_La._Ub1=0.0;_ko1=0.0}else {_La._Ub1+=_T3;_ko1=_k11(_ko1,_La._Ub1)}}if(_ko1>=_t_&&_fo1){for(var _Q3=0;_Q3<this._De1;++_Q3){var _La=this._9g1[_Q3];_La._DP(!1)}}}},_of1:function(_qg1,_Un1,_Vn1){_6_(_Un1<this._De1);_6_(_Vn1<this._De1);for(var _Q3=0;_Q3<this._De1;++_Q3){var _La=this._9g1[_Q3];
this._Zm1[_Q3]._R3._Z_(_La._Ib1._R3);this._Zm1[_Q3]._gc=_La._Ib1._gc;this.__m1[_Q3]._uc._Z_(_La._Nb1);this.__m1[_Q3]._S3=_La._Ob1}_Pe1._1o1._Sm1=this._0n1;_Pe1._1o1._Fb=this._Rf1;_Pe1._1o1._JZ=_qg1;_Pe1._1o1._re1=this._Zm1;_Pe1._1o1._se1=this.__m1;_Pe1._2o1._AI(_Pe1._1o1);for(var _Q3=0;_Q3<_qg1._me1;++_Q3){var _go1=_Pe1._2o1._Tn1(_Un1,_Vn1);if(_go1){break }}this._9g1[_Un1]._Ib1._L01._Z_(this._Zm1[_Un1]._R3);this._9g1[_Un1]._Ib1._N01=this._Zm1[_Un1]._gc;this._9g1[_Vn1]._Ib1._L01._Z_(this._Zm1[_Vn1]._R3);
this._9g1[_Vn1]._Ib1._N01=this._Zm1[_Vn1]._gc;_Pe1._2o1._3n1();for(var _Q3=0;_Q3<_qg1._le1;++_Q3){_Pe1._2o1._sn1()}var _T3=_qg1._ie1;for(var _Q3=0;_Q3<this._De1;++_Q3){var _R3=this._Zm1[_Q3]._R3;var _gc=this._Zm1[_Q3]._gc;var _uc=this.__m1[_Q3]._uc;var _S3=this.__m1[_Q3]._S3;var _no1=_V_.Multiply(_T3,_uc);if(_T01(_no1,_no1)>_o_){var _eo1=_n_/_no1.Length();_uc.Multiply(_eo1)}var rotation=_T3*_S3;if(rotation*rotation>_q_){var _eo1=_p_/_h11(rotation);_S3*=_eo1}_R3._4j(_V_.Multiply(_T3,_uc));_gc+=_T3*_S3;this._Zm1[_Q3]._gc=_gc;
this.__m1[_Q3]._S3=_S3;var body=this._9g1[_Q3];body._Ib1._R3._Z_(_R3);body._Ib1._gc=_gc;body._Nb1._Z_(_uc);body._Ob1=_S3;body._od1()}this._jo1(_Pe1._2o1._Vm1)},_0g1:function(body){_6_(this._De1<this._og1);body._zb1=this._De1;this._9g1[this._De1]=body;if(!this._Zm1[this._De1]){this._Zm1[this._De1]=new _oe1();this.__m1[this._De1]=new _pe1()}++this._De1},_7g1:function(_oc1){_6_(this._Rf1<this._pg1);this._0n1[this._Rf1++]=_oc1},_8g1:function(_rd1){_6_(this._Ee1<this._7o1);this._Wn1[this._Ee1++]=_rd1;},
_jo1:function(_oo1){if(this._6o1==null){return }for(var _Q3=0;_Q3<this._Rf1;++_Q3){var _R3=this._0n1[_Q3];var _1n1=_oo1[_Q3];var _Kc1=new _4e1();_Kc1._Fb=_1n1._c61;for(var _Pa=0;_Pa<_1n1._c61;++_Pa){_Kc1._5e1[_Pa]=_1n1._a61[_Pa]._661;_Kc1._6e1[_Pa]=_1n1._a61[_Pa]._761}this._6o1._ce1(_R3,_Kc1)}}};function _po1(){this._6o=new _V_();this._qo1=0;this._ro1=0};function _so1(){this._P61=null;this._rd1=null;this._ff1=null;this._zj=null};function _to1(){this.type=_cf1._uo1;this._241=null;this._if1=null;this._jf1=null;
this._kf1=!1};_to1.prototype={_a01:function(data,_ng1,_vo1){this._if1=_ng1[data['bodyA']];this._jf1=_ng1[data['bodyB']];this._kf1=data['collideConnected']}};function _cf1(_8c1){_6_(_8c1._if1!=_8c1._jf1);this._PH=_8c1.type;this._Lb1=null;this._Mb1=null;this._gf1=_8c1._if1;this._ef1=_8c1._jf1;this._Mw=0;this._sd1=_8c1._kf1;this._Xf1=!1;this.__b1=_8c1._241;this._df1=new _so1();this._df1._rd1=null;this._df1._P61=null;this._df1._ff1=null;this._df1._zj=null;this._hf1=new _so1();this._hf1._rd1=null;this._hf1._P61=null;
this._hf1._ff1=null;this._hf1._zj=null}_cf1.prototype={_a21:function(){return this._PH},_rg1:function(){return this._gf1},_sg1:function(){return this._ef1},_tg1:function(){},_ug1:function(){},_wo1:function(_je1){},_xo1:function(_je1){},_ld1:function(){return this._Mb1},_b41:function(){return this.__b1},_md1:function(data){this.__b1=data},_fd1:function(){return this._gf1._fd1()&&this._ef1._fd1()},_yo1:function(){return this._sd1},_w41:function(_x41){},_ao1:function(data){},_sn1:function(data){},_Nn1:function(data){
},_801:function(_901){var _Dw=_901||{};_Dw['bodyA']=null;_Dw['bodyB']=null;_Dw['type']=this._PH;_Dw['collideConnected']=this._sd1;return _Dw}};_cf1._zo1=0;_cf1._Ao1=1;_cf1._Bo1=2;_cf1._Co1=3;_cf1._uo1=0;_cf1._Do1=1;_cf1._Eo1=2;_cf1._vg1=3;_cf1._wg1=4;_cf1._Ag1=5;_cf1._Fo1=6;_cf1._Go1=7;_cf1._Ho1=8;_cf1._Io1=9;_cf1._Jo1=10;_cf1._Bg1=11;_cf1._dc1=function(_8c1){var _rd1=null;switch(_8c1.type){case _cf1._vg1:_rd1=new _Ko1(_8c1);break;case _cf1._Ag1:_rd1=new _Lo1(_8c1);break;case _cf1._Eo1:_rd1=new _Mo1(_8c1);
break;case _cf1._Do1:_rd1=new _No1(_8c1);break;case _cf1._wg1:_rd1=new _Oo1(_8c1);break;case _cf1._Fo1:_rd1=new _Po1(_8c1);break;case _cf1._Go1:_rd1=new _Qo1(_8c1);break;case _cf1._Ho1:_rd1=new _Ro1(_8c1);break;case _cf1._Io1:_rd1=new _So1(_8c1);break;case _cf1._Jo1:_rd1=new _To1(_8c1);break;case _cf1._Bg1:_rd1=new _Uo1(_8c1);break;default :_6_(!1);break }return _rd1};_cf1._tc1=function(_rd1){};function _Vo1(){this.parent.call(this);this.type=_cf1._Do1;this._Wo1=new _V_();this._Xo1=new _V_();this._Yo1=0.0;this._Zo1=0.0;
this.__o1=0.0;this._0p1=0.0;this._1p1=0.0;this._2p1=!1;this._3p1=!1;Object.seal(this)}_Vo1.prototype={_n61:function(_gg1,_hg1,anchor){this._if1=_gg1;this._jf1=_hg1;this._Wo1=this._if1._Tc1(anchor);this._Xo1=this._jf1._Tc1(anchor);this._Yo1=this._jf1._E01()-this._if1._E01()},_a01:function(data,_ng1,_vo1){this.parent.prototype._a01.call(this,data,_ng1,_vo1);this._Wo1._a01(data['localAnchorA']);this._Xo1._a01(data['localAnchorB']);this._Yo1=data['referenceAngle'];this._Zo1=data['lowerAngle'];this.__o1=data['upperAngle'];
this._0p1=data['maxMotorTorque'];this._1p1=data['motorSpeed'];this._2p1=data['enableLimit'];this._3p1=data['enableMotor']}};_Vo1._AZ(_to1);function _No1(_8c1){this.parent.call(this,_8c1);this._4p1=_8c1._Wo1._O8();this._5p1=_8c1._Xo1._O8();this._6p1=_8c1._Yo1;this._7p1=new _c01();this._8p1=0.0;this._9p1=_8c1._Zo1;this._ap1=_8c1.__o1;this._bp1=_8c1._0p1;this._cp1=_8c1._1p1;this._dp1=_8c1._2p1;this._ep1=_8c1._3p1;this._fp1=_cf1._zo1;this._Rl1=0;this._Sl1=0;this._gp1=new _V_();this._hp1=new _V_();this._ip1=new _V_();
this._jp1=new _V_();this._kp1=0;this._lp1=0;this._mp1=0;this._np1=0;this._Wb1=new _q01();this._op1=0}_No1.prototype={_tg1:function(){return this._gf1._Qc1(this._4p1)},_ug1:function(){return this._ef1._Qc1(this._5p1)},_pp1:function(){return this._4p1},_qp1:function(){return this._5p1},_rp1:function(){return this._6p1},_sp1:function(){var _gg1=this._gf1;var _hg1=this._ef1;return _hg1._Ib1._gc-_gg1._Ib1._gc-this._6p1},_tp1:function(){var _gg1=this._gf1;var _hg1=this._ef1;return _hg1._Ob1-_gg1._Ob1},_up1:function(){
return this._dp1},_vp1:function(_9d1){if(_9d1!=this._dp1){this._gf1._DP(!0);this._ef1._DP(!0);this._dp1=_9d1;this._7p1._Pd=0.0}},_wp1:function(){return this._9p1},_xp1:function(){return this._ap1},_yp1:function(_oL,_o31){_6_(_oL<=_o31);if(_oL!=this._9p1||_o31!=this._ap1){this._gf1._DP(!0);this._ef1._DP(!0);this._7p1._Pd=0.0;this._9p1=_oL;this._ap1=_o31}},_zp1:function(){return this._ep1},_Ap1:function(_9d1){this._gf1._DP(!0);this._ef1._DP(!0);this._ep1=_9d1},_Bp1:function(_W4){this._gf1._DP(!0);this._ef1._DP(!0);
this._cp1=_W4},_Cp1:function(){return this._cp1},_Dp1:function(_Ic1){this._gf1._DP(!0);this._ef1._DP(!0);this._bp1=_Ic1},_Ep1:function(){return this._bp1},_wo1:function(_je1){var _f81=new _V_(this._7p1.x,this._7p1.y);return _V_.Multiply(_je1,_f81)},_xo1:function(_je1){return _je1*this._7p1._Pd},_Fp1:function(_je1){return _je1*this._8p1},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._ip1=this._gf1._Ib1._K01;this._jp1=this._ef1._Ib1._K01;this._kp1=this._gf1._Xb1;this._lp1=this._ef1._Xb1;
this._mp1=this._gf1._Zb1;this._np1=this._ef1._Zb1;var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _8n1=data._re1[this._Sl1]._gc;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);this._gp1=_711(_Gp1,_V_._201(this._4p1,this._ip1));this._hp1=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _ub1=(_la1+_ma1==0.0);this._Wb1._9y.x=_4n1+_5n1+this._gp1.y*this._gp1.y*_la1+this._hp1.y*this._hp1.y*_ma1;
this._Wb1._xC.x=-this._gp1.y*this._gp1.x*_la1-this._hp1.y*this._hp1.x*_ma1;this._Wb1._s01.x=-this._gp1.y*_la1-this._hp1.y*_ma1;this._Wb1._9y.y=this._Wb1._xC.x;this._Wb1._xC.y=_4n1+_5n1+this._gp1.x*this._gp1.x*_la1+this._hp1.x*this._hp1.x*_ma1;this._Wb1._s01.y=this._gp1.x*_la1+this._hp1.x*_ma1;this._Wb1._9y._Pd=this._Wb1._s01.x;this._Wb1._xC._Pd=this._Wb1._s01.y;this._Wb1._s01._Pd=_la1+_ma1;this._op1=_la1+_ma1;if(this._op1>0.0){this._op1=1.0/this._op1}if(this._ep1==!1||_ub1){this._8p1=0.0}if(this._dp1&&_ub1==!1){
var _Ip1=_8n1-_6n1-this._6p1;if(_h11(this._ap1-this._9p1)<2.0*_g_){this._fp1=_cf1._Co1}else if(_Ip1<=this._9p1){if(this._fp1!=_cf1._Ao1){this._7p1._Pd=0.0}this._fp1=_cf1._Ao1}else if(_Ip1>=this._ap1){if(this._fp1!=_cf1._Bo1){this._7p1._Pd=0.0}this._fp1=_cf1._Bo1}else {this._fp1=_cf1._zo1;this._7p1._Pd=0.0}}else {this._fp1=_cf1._zo1}if(data._JZ._ne1){this._7p1.Multiply(data._JZ._ke1);this._8p1*=data._JZ._ke1;var _f81=new _V_(this._7p1.x,this._7p1.y);_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*(_U01(this._gp1,
_f81)+this._8p1+this._7p1._Pd);_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*(_U01(this._hp1,_f81)+this._8p1+this._7p1._Pd)}else {this._7p1._W_();this._8p1=0.0}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_sn1:function(data){var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,
_ma1=this._np1;var _ub1=(_la1+_ma1==0.0);if(this._ep1&&this._fp1!=_cf1._Co1&&_ub1==!1){var _Jp1=_V41-_U41-this._cp1;var _Kc1=-this._op1*_Jp1;var _Kp1=this._8p1;var _Lp1=data._JZ._ie1*this._bp1;this._8p1=_o11(this._8p1+_Kc1,-_Lp1,_Lp1);_Kc1=this._8p1-_Kp1;_U41-=_la1*_Kc1;_V41+=_ma1*_Kc1}if(this._dp1&&this._fp1!=_cf1._zo1&&_ub1==!1){var _Mp1=_V_._201(_V_._201(_V_._4j(_9n1,_W01(_V41,this._hp1)),_7n1),_W01(_U41,this._gp1));var _Np1=_V41-_U41;var _Jp1=new _c01(_Mp1.x,_Mp1.y,_Np1);var _Kc1=this._Wb1._t01(_Jp1).___();
if(this._fp1==_cf1._Co1){this._7p1._4j(_Kc1)}else if(this._fp1==_cf1._Ao1){var _yn1=this._7p1._Pd+_Kc1._Pd;if(_yn1<0.0){var _Op1=_V_._4j(_Mp1.___(),_V_.Multiply(this._7p1._Pd,new _V_(this._Wb1._s01.x,this._Wb1._s01.y)));var _Pp1=this._Wb1._w01(_Op1);_Kc1.x=_Pp1.x;_Kc1.y=_Pp1.y;_Kc1._Pd=-this._7p1._Pd;this._7p1.x+=_Pp1.x;this._7p1.y+=_Pp1.y;this._7p1._Pd=0.0;}else {this._7p1._4j(_Kc1)}}else if(this._fp1==_cf1._Bo1){var _yn1=this._7p1._Pd+_Kc1._Pd;if(_yn1>0.0){var _Op1=_V_._4j(_Mp1.___(),_V_.Multiply(this._7p1._Pd,
new _V_(this._Wb1._s01.x,this._Wb1._s01.y)));var _Pp1=this._Wb1._w01(_Op1);_Kc1.x=_Pp1.x;_Kc1.y=_Pp1.y;_Kc1._Pd=-this._7p1._Pd;this._7p1.x+=_Pp1.x;this._7p1.y+=_Pp1.y;this._7p1._Pd=0.0}else {this._7p1._4j(_Kc1)}}var _f81=new _V_(_Kc1.x,_Kc1.y);_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*(_U01(this._gp1,_f81)+_Kc1._Pd);_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*(_U01(this._hp1,_f81)+_Kc1._Pd)}else {var _Jp1=_V_._201(_V_._201(_V_._4j(_9n1,_W01(_V41,this._hp1)),_7n1),_W01(_U41,this._gp1));var _Kc1=this._Wb1._w01(_Jp1.___());
this._7p1.x+=_Kc1.x;this._7p1.y+=_Kc1.y;_7n1._201(_V_.Multiply(_4n1,_Kc1));_U41-=_la1*_U01(this._gp1,_Kc1);_9n1._4j(_V_.Multiply(_5n1,_Kc1));_V41+=_ma1*_U01(this._hp1,_Kc1)}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_Nn1:function(data){var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);
var _Qp1=0.0;var _Rp1=0.0;var _ub1=(this._mp1+this._np1==0.0);if(this._dp1&&this._fp1!=_cf1._zo1&&_ub1==!1){var angle=_8n1-_6n1-this._6p1;var _Sp1=0.0;if(this._fp1==_cf1._Co1){var _d11=_o11(angle-this._9p1,-_m_,_m_);_Sp1=-this._op1*_d11;_Qp1=_h11(_d11)}else if(this._fp1==_cf1._Ao1){var _d11=angle-this._9p1;_Qp1=-_d11;_d11=_o11(_d11+_g_,-_m_,0.0);_Sp1=-this._op1*_d11}else if(this._fp1==_cf1._Bo1){var _d11=angle-this._ap1;_Qp1=_d11;_d11=_o11(_d11-_g_,0.0,_m_);_Sp1=-this._op1*_d11}_6n1-=this._mp1*_Sp1;_8n1+=this._np1*_Sp1}
{_Gp1._sj(_6n1);_Hp1._sj(_8n1);var _X51=_711(_Gp1,_V_._201(this._4p1,this._ip1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _d11=_V_._201(_V_._201(_V_._4j(_wf1,_Y51),_uf1),_X51);_Rp1=_d11.Length();var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _Lm1=new _e01();_Lm1._9y.x=_4n1+_5n1+_la1*_X51.y*_X51.y+_ma1*_Y51.y*_Y51.y;_Lm1._9y.y=-_la1*_X51.x*_X51.y-_ma1*_Y51.x*_Y51.y;_Lm1._xC.x=_Lm1._9y.y;_Lm1._xC.y=_4n1+_5n1+_la1*_X51.x*_X51.x+_ma1*_Y51.x*_Y51.x;var _Kc1=_Lm1._l01(_d11).___();
_uf1._201(_V_.Multiply(_4n1,_Kc1));_6n1-=_la1*_U01(_X51,_Kc1);_wf1._4j(_V_.Multiply(_5n1,_Kc1));_8n1+=_ma1*_U01(_Y51,_Kc1)}data._re1[this._Rl1]._R3._Z_(_uf1);data._re1[this._Rl1]._gc=_6n1;data._re1[this._Sl1]._R3._Z_(_wf1);data._re1[this._Sl1]._gc=_8n1;return _Rp1<=_f_&&_Qp1<=_g_},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['localAnchorA']=this._4p1._801();_Dw['localAnchorB']=this._5p1._801();_Dw['referenceAngle']=this._6p1;_Dw['lowerAngle']=this._9p1;_Dw['upperAngle']=this._ap1;
_Dw['maxMotorTorque']=this._bp1;_Dw['motorSpeed']=this._cp1;_Dw['enableLimit']=this._dp1;_Dw['enableMotor']=this._ep1;return _Dw}};_No1._AZ(_cf1);function _Tp1(){this.parent.call(this);this.type=_cf1._Ag1;this.target=new _V_(0.0,0.0);this._Up1=0.0;this._Vp1=5.0;this._Wp1=0.7;Object.seal(this)}_Tp1._AZ(_to1);function _Lo1(_8c1){this.parent.call(this,_8c1);_6_(_8c1.target._601());_6_(_L_(_8c1._Up1)&&_8c1._Up1>=0.0);_6_(_L_(_8c1._Vp1)&&_8c1._Vp1>=0.0);_6_(_L_(_8c1._Wp1)&&_8c1._Wp1>=0.0);this._Xp1=_8c1.target._O8();
this._5p1=_b11(this._ef1._P01(),this._Xp1);this._Yp1=_8c1._Up1;this._7p1=new _V_();this._Zp1=_8c1._Vp1;this.__p1=_8c1._Wp1;this._0q1=0.0;this._1q1=0.0;this._Rl1=0;this._Sl1=0;this._hp1=new _V_();this._jp1=new _V_();this._lp1=0;this._np1=0;this._Wb1=new _e01();this._2q1=new _V_()}_Lo1.prototype={_tg1:function(){return this._Xp1;},_ug1:function(){return this._ef1._Qc1(this._5p1)},_wo1:function(_je1){return _V_.Multiply(_je1,this._7p1)},_xo1:function(_je1){return _je1*0.0},_3q1:function(target){if(this._ef1._dd1()==!1){
this._ef1._DP(!0)}this._Xp1._Z_(target)},_4q1:function(){return this._Xp1},_5q1:function(_Ec1){this._Yp1=_Ec1},_6q1:function(){return this._Yp1},_7q1:function(_8q1){this._Zp1=_8q1},_9q1:function(){return this._Zp1},_aq1:function(_eo1){this.__p1=_eo1},_bq1:function(){return this.__p1},_w41:function(_x41){this._Xp1._201(_x41)},_ao1:function(data){this._Sl1=this._ef1._zb1;this._jp1._Z_(this._ef1._Ib1._K01);this._lp1=this._ef1._Xb1;this._np1=this._ef1._Zb1;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;
var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Hp1=new _D01(_8n1);var _621=this._ef1._Mc1();var _cq1=2.0*_a_*this._Zp1;var _Al=2.0*_621*this.__p1*_cq1;var _uj=_621*(_cq1*_cq1);var _T3=data._JZ._ie1;_6_(_Al+_T3*_uj>_9_);this._1q1=_T3*(_Al+_T3*_uj);if(this._1q1!=0.0){this._1q1=1.0/this._1q1}this._0q1=_T3*_uj*this._1q1;this._hp1._Z_(_711(_Hp1,_V_._201(this._5p1,this._jp1)));var _Lm1=new _e01();_Lm1._9y.x=this._lp1+this._np1*this._hp1.y*this._hp1.y+this._1q1;_Lm1._9y.y=-this._np1*this._hp1.x*this._hp1.y;
_Lm1._xC.x=_Lm1._9y.y;_Lm1._xC.y=this._lp1+this._np1*this._hp1.x*this._hp1.x+this._1q1;this._Wb1._Z_(_Lm1._i01());this._2q1._Z_(_V_._201(_V_._4j(_wf1,this._hp1),this._Xp1));this._2q1.Multiply(this._0q1);_V41*=0.98;if(data._JZ._ne1){this._7p1.Multiply(data._JZ._ke1);_9n1._4j(_V_.Multiply(this._lp1,this._7p1));_V41+=this._np1*_U01(this._hp1,this._7p1)}else {this._7p1._W_()}data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_sn1:function(data){var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;
var _Jp1=_V_._4j(_9n1,_W01(_V41,this._hp1));var _Kc1=_X01(this._Wb1,(_V_._4j(_V_._4j(_Jp1,this._2q1),_V_.Multiply(this._1q1,this._7p1))).___());var _Kp1=this._7p1._O8();this._7p1._4j(_Kc1);var _Lp1=data._JZ._ie1*this._Yp1;if(this._7p1._301()>_Lp1*_Lp1){this._7p1.Multiply(_Lp1/this._7p1.Length())}_Kc1._Z_(_V_._201(this._7p1,_Kp1));_9n1._4j(_V_.Multiply(this._lp1,_Kc1));_V41+=this._np1*_U01(this._hp1,_Kc1);data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_Nn1:function(data){return !0}}
;_Lo1._AZ(_cf1);/// @warning Do not use a zero or short length.
function _dq1(){this.parent.call(this);this.type=_cf1._vg1;this._Wo1=new _V_(0.0,0.0);this._Xo1=new _V_(0.0,0.0);this.length=1.0;this._Vp1=0.0;this._Wp1=0.0;Object.seal(this)}_dq1.prototype={_n61:function(_ny,_oy,_eq1,_fq1){this._if1=_ny;this._jf1=_oy;this._Wo1=this._if1._Tc1(_eq1);this._Xo1=this._jf1._Tc1(_fq1);var _Al=_V_._201(_fq1,_eq1);this.length=_Al.Length()},_a01:function(data,_ng1,_vo1){this.parent.prototype._a01.call(this,data,
_ng1,_vo1);this._Wo1._a01(data['localAnchorA']);this._Xo1._a01(data['localAnchorB']);this.length=data['length'];this._Vp1=data['frequencyHz'];this._Wp1=data['dampingRatio']}};_dq1._AZ(_to1);function _Ko1(_8c1){this.parent.call(this,_8c1);this._4p1=_8c1._Wo1._O8();this._5p1=_8c1._Xo1._O8();this._gq1=_8c1.length;this._Zp1=_8c1._Vp1;this.__p1=_8c1._Wp1;this._7p1=0.0;this._1q1=0.0;this._hq1=0.0;this._Rl1=0;this._Sl1=0;this._iq1=new _V_();this._gp1=new _V_();this._hp1=new _V_();this._ip1=new _V_();this._jp1=new _V_();
this._kp1=0;this._lp1=0;this._mp1=0;this._np1=0;this._Wb1=0}_Ko1.prototype={_tg1:function(){return this._gf1._Qc1(this._4p1)},_ug1:function(){return this._ef1._Qc1(this._5p1)},_wo1:function(_je1){var _qa1=_V_.Multiply((_je1*this._7p1),this._iq1);return _qa1},_xo1:function(_je1){return 0.0},_pp1:function(){return this._4p1},_qp1:function(){return this._5p1},_jq1:function(length){this._gq1=length},_kq1:function(){return this._gq1},_7q1:function(_8q1){this._Zp1=_8q1},_9q1:function(){return this._Zp1},_aq1:function(_eo1){
this.__p1=_eo1},_bq1:function(){return this.__p1},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._ip1._Z_(this._gf1._Ib1._K01);this._jp1._Z_(this._ef1._Ib1._K01);this._kp1=this._gf1._Xb1;this._lp1=this._ef1._Xb1;this._mp1=this._gf1._Zb1;this._np1=this._ef1._Zb1;var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;
var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);this._gp1=_711(_Gp1,_V_._201(this._4p1,this._ip1));this._hp1=_711(_Hp1,_V_._201(this._5p1,this._jp1));this._iq1=_V_._201(_V_._201(_V_._4j(_wf1,this._hp1),_uf1),this._gp1);var length=this._iq1.Length();if(length>_f_){this._iq1.Multiply(1.0/length)}else {this._iq1._sj(0.0,0.0)}var _lq1=_U01(this._gp1,this._iq1);var _mq1=_U01(this._hp1,this._iq1);var _nq1=this._kp1+this._mp1*_lq1*_lq1+this._lp1+this._np1*_mq1*_mq1;
this._Wb1=_nq1!=0.0?1.0/_nq1:0.0;if(this._Zp1>0.0){var _d11=length-this._gq1;var _cq1=2.0*_a_*this._Zp1;var _Al=2.0*this._Wb1*this.__p1*_cq1;var _uj=this._Wb1*_cq1*_cq1;var _T3=data._JZ._ie1;this._1q1=_T3*(_Al+_T3*_uj);this._1q1=this._1q1!=0.0?1.0/this._1q1:0.0;this._hq1=_d11*_T3*_uj*this._1q1;_nq1+=this._1q1;this._Wb1=_nq1!=0.0?1.0/_nq1:0.0}else {this._1q1=0.0;this._hq1=0.0}if(data._JZ._ne1){this._7p1*=data._JZ._ke1;var _f81=_V_.Multiply(this._7p1,this._iq1);_7n1._201(_V_.Multiply(this._kp1,_f81));_U41-=this._mp1*_U01(this._gp1,
_f81);_9n1._4j(_V_.Multiply(this._lp1,_f81));_V41+=this._np1*_U01(this._hp1,_f81)}else {this._7p1=0.0}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41;},_sn1:function(data){var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _oq1=_V_._4j(_7n1,_W01(_U41,this._gp1));var _pq1=_V_._4j(_9n1,_W01(_V41,this._hp1));var _Jp1=_T01(this._iq1,
_V_._201(_pq1,_oq1));var _Kc1=-this._Wb1*(_Jp1+this._hq1+this._1q1*this._7p1);this._7p1+=_Kc1;var _f81=_V_.Multiply(_Kc1,this._iq1);_7n1._201(_V_.Multiply(this._kp1,_f81));_U41-=this._mp1*_U01(this._gp1,_f81);_9n1._4j(_V_.Multiply(this._lp1,_f81));_V41+=this._np1*_U01(this._hp1,_f81);data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_Nn1:function(data){if(this._Zp1>0.0){return !0}var _uf1=data._re1[this._Rl1]._R3._O8();
var _6n1=data._re1[this._Rl1]._gc;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);var _X51=_711(_Gp1,_V_._201(this._4p1,this._ip1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _sc=_V_._201(_V_._201(_V_._4j(_wf1,_Y51),_uf1),_X51);var length=_sc._401();var _d11=length-this._gq1;_d11=_o11(_d11,-_l_,_l_);var _Kc1=-this._Wb1*_d11;var _f81=_V_.Multiply(_Kc1,_sc);_uf1._201(_V_.Multiply(this._kp1,_f81));_6n1-=this._mp1*_U01(_X51,_f81);_wf1._4j(_V_.Multiply(this._lp1,
_f81));_8n1+=this._np1*_U01(_Y51,_f81);data._re1[this._Rl1]._R3._Z_(_uf1);data._re1[this._Rl1]._gc=_6n1;data._re1[this._Sl1]._R3._Z_(_wf1);data._re1[this._Sl1]._gc=_8n1;return _h11(_d11)<_f_},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['localAnchorA']=this._4p1._801();_Dw['localAnchorB']=this._5p1._801();_Dw['length']=this._gq1;_Dw['frequencyHz']=this._Zp1;_Dw['dampingRatio']=this.__p1;return _Dw}};_Ko1._AZ(_cf1);function _qq1(){this.parent.call(this);this.type=_cf1._Eo1;
this._Wo1=new _V_();this._Xo1=new _V_();this._rq1=new _V_(1.0,0.0);this._Yo1=0.0;this._2p1=!1;this._sq1=0.0;this._tq1=0.0;this._3p1=!1;this._uq1=0.0;this._1p1=0.0;Object.seal(this)}_qq1.prototype={_n61:function(_gg1,_hg1,anchor,_K11){this._if1=_gg1;this._jf1=_hg1;this._Wo1=this._if1._Tc1(anchor);this._Xo1=this._jf1._Tc1(anchor);this._rq1=this._if1._Vc1(_K11);this._Yo1=this._jf1._E01()-this._if1._E01()},_a01:function(data,_ng1,_vo1){this.parent.prototype._a01.call(this,data,_ng1,_vo1);this._Wo1._a01(data['localAnchorA']);
this._Xo1._a01(data['localAnchorB']);this._rq1._a01(data['localAxisA']);this._Yo1=data['referenceAngle'];this._2p1=data['enableLimit'];this._sq1=data['lowerTranslation'];this._tq1=data['upperTranslation'];this._3p1=data['enableMotor'];this._uq1=data['maxMotorForce'];this._1p1=data['motorSpeed']}};_qq1._AZ(_to1);function _Mo1(_8c1){this.parent.call(this,_8c1);this._4p1=_8c1._Wo1._O8();this._5p1=_8c1._Xo1._O8();this._vq1=_8c1._rq1._O8();this._vq1._401();this._wq1=_W01(1.0,this._vq1);this._6p1=_8c1._Yo1;
this._7p1=new _c01();this._op1=0.0;this._8p1=0.0;this._xq1=_8c1._sq1;this._yq1=_8c1._tq1;this._zq1=_8c1._uq1;this._cp1=_8c1._1p1;this._dp1=_8c1._2p1;this._ep1=_8c1._3p1;this._fp1=_cf1._zo1;this._Ma1=new _V_();this._Aq1=new _V_();this._Rl1=0;this._Sl1=0;this._ip1=new _V_();this._jp1=new _V_();this._kp1=0;this._lp1=0;this._mp1=0;this._np1=0;this._Bq1=0,this._Cq1=0;this._Dq1=0,this._Eq1=0;this._Fq1=new _q01();this._op1=0}_Mo1.prototype={_tg1:function(){return this._gf1._Qc1(this._4p1)},_ug1:function(){return this._ef1._Qc1(this._5p1)}
,_wo1:function(_je1){return _V_.Multiply(_je1,_V_._4j(_V_.Multiply(this._7p1.x,this._Aq1),_V_.Multiply((this._8p1+this._7p1._Pd),this._Ma1)))},_xo1:function(_je1){return _je1*this._7p1.y},_pp1:function(){return this._4p1},_qp1:function(){return this._5p1},_Gq1:function(){return this._vq1},_rp1:function(){return this._6p1},_Hq1:function(){var _a51=this._gf1._Qc1(this._4p1);var _b51=this._ef1._Qc1(this._5p1);var _Al=_V_._201(_b51,_a51);var _K11=this._gf1._Rc1(this._vq1);var _no1=_T01(_Al,_K11);return _no1},_tp1:function(){
var _gg1=this._gf1;var _hg1=this._ef1;var _X51=_711(_gg1._B81._gz,_V_._201(this._4p1,_gg1._Ib1._K01));var _Y51=_711(_hg1._B81._gz,_V_._201(this._5p1,_hg1._Ib1._K01));var _M11=_V_._4j(_gg1._Ib1._R3,_X51);var _N11=_V_._4j(_hg1._Ib1._R3,_Y51);var _Al=_V_._201(_N11,_M11);var _K11=_711(_gg1._B81._gz,this._vq1);var _7n1=_gg1._Nb1;var _9n1=_hg1._Nb1;var _U41=_gg1._Ob1;var _V41=_hg1._Ob1;var _W4=_T01(_Al,_W01(_U41,_K11))+_T01(_K11,_V_._201(_V_._201(_V_._4j(_9n1,_W01(_V41,_Y51)),_7n1),_W01(_U41,_X51)));return _W4},_up1:function(){
return this._dp1},_vp1:function(_9d1){if(_9d1!=this._dp1){this._gf1._DP(!0);this._ef1._DP(!0);this._dp1=_9d1;this._7p1._Pd=0.0}},_wp1:function(){return this._xq1},_xp1:function(){return this._yq1},_yp1:function(_oL,_o31){_6_(_oL<=_o31);if(_oL!=this._xq1||_o31!=this._yq1){this._gf1._DP(!0);this._ef1._DP(!0);this._xq1=_oL;this._yq1=_o31;this._7p1._Pd=0.0}},_zp1:function(){return this._ep1},_Ap1:function(_9d1){this._gf1._DP(!0);this._ef1._DP(!0);this._ep1=_9d1},_Bp1:function(_W4){this._gf1._DP(!0);this._ef1._DP(!0);
this._cp1=_W4},_Cp1:function(){return this._cp1},_Iq1:function(_Ec1){this._gf1._DP(!0);this._ef1._DP(!0);this._zq1=_Ec1},_Jq1:function(){return this._zq1},_Kq1:function(_je1){return _je1*this._8p1},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._ip1=this._gf1._Ib1._K01;this._jp1=this._ef1._Ib1._K01;this._kp1=this._gf1._Xb1;this._lp1=this._ef1._Xb1;this._mp1=this._gf1._Zb1;this._np1=this._ef1._Zb1;var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();
var _U41=data._se1[this._Rl1]._S3;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);var _X51=_711(_Gp1,_V_._201(this._4p1,this._ip1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _Al=_V_._4j(_V_._201(_wf1,_uf1),_V_._201(_Y51,_X51));var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;{this._Ma1=_711(_Gp1,this._vq1);this._Dq1=_U01(_V_._4j(_Al,_X51),
this._Ma1);this._Eq1=_U01(_Y51,this._Ma1);this._op1=_4n1+_5n1+_la1*this._Dq1*this._Dq1+_ma1*this._Eq1*this._Eq1;if(this._op1>0.0){this._op1=1.0/this._op1}}{this._Aq1=_711(_Gp1,this._wq1);this._Bq1=_U01(_V_._4j(_Al,_X51),this._Aq1);this._Cq1=_U01(_Y51,this._Aq1);var _nn1=_4n1+_5n1+_la1*this._Bq1*this._Bq1+_ma1*this._Cq1*this._Cq1;var _pn1=_la1*this._Bq1+_ma1*this._Cq1;var _Lq1=_la1*this._Bq1*this._Dq1+_ma1*this._Cq1*this._Eq1;var _on1=_la1+_ma1;if(_on1==0.0){_on1=1.0}var _Mq1=_la1*this._Dq1+_ma1*this._Eq1;
var _Nq1=_4n1+_5n1+_la1*this._Dq1*this._Dq1+_ma1*this._Eq1*this._Eq1;this._Fq1._9y._sj(_nn1,_pn1,_Lq1);this._Fq1._xC._sj(_pn1,_on1,_Mq1);this._Fq1._s01._sj(_Lq1,_Mq1,_Nq1)}if(this._dp1){var _Oq1=_T01(this._Ma1,_Al);if(_h11(this._yq1-this._xq1)<2.0*_f_){this._fp1=_cf1._Co1}else if(_Oq1<=this._xq1){if(this._fp1!=_cf1._Ao1){this._fp1=_cf1._Ao1;this._7p1._Pd=0.0}}else if(_Oq1>=this._yq1){if(this._fp1!=_cf1._Bo1){this._fp1=_cf1._Bo1;this._7p1._Pd=0.0}}else {this._fp1=_cf1._zo1;this._7p1._Pd=0.0}}else {this._fp1=_cf1._zo1;
this._7p1._Pd=0.0}if(this._ep1==!1){this._8p1=0.0}if(data._JZ._ne1){this._7p1.Multiply(data._JZ._ke1);this._8p1*=data._JZ._ke1;var _f81=_V_._4j(_V_.Multiply(this._7p1.x,this._Aq1),_V_.Multiply((this._8p1+this._7p1._Pd),this._Ma1));var _Pq1=this._7p1.x*this._Bq1+this._7p1.y+(this._8p1+this._7p1._Pd)*this._Dq1;var _Qq1=this._7p1.x*this._Cq1+this._7p1.y+(this._8p1+this._7p1._Pd)*this._Eq1;_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*_Pq1;_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*_Qq1}else {this._7p1._W_();
this._8p1=0.0}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_sn1:function(data){var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;if(this._ep1&&this._fp1!=_cf1._Co1){var _Jp1=_T01(this._Ma1,_V_._201(_9n1,_7n1))+this._Eq1*_V41-this._Dq1*_U41;var _Kc1=this._op1*(this._cp1-_Jp1);
var _Kp1=this._8p1;var _Lp1=data._JZ._ie1*this._zq1;this._8p1=_o11(this._8p1+_Kc1,-_Lp1,_Lp1);_Kc1=this._8p1-_Kp1;var _f81=_V_.Multiply(_Kc1,this._Ma1);var _Pq1=_Kc1*this._Dq1;var _Qq1=_Kc1*this._Eq1;_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*_Pq1;_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*_Qq1}var _Mp1=new _V_();_Mp1.x=_T01(this._Aq1,_V_._201(_9n1,_7n1))+this._Cq1*_V41-this._Bq1*_U41;_Mp1.y=_V41-_U41;if(this._dp1&&this._fp1!=_cf1._zo1){var _Np1;_Np1=_T01(this._Ma1,_V_._201(_9n1,_7n1))+this._Eq1*_V41-this._Dq1*_U41;
var _Jp1=new _c01(_Mp1.x,_Mp1.y,_Np1);var _Rq1=this._7p1._O8();var _Sq1=this._Fq1._t01(_Jp1.___());this._7p1._4j(_Sq1);if(this._fp1==_cf1._Ao1){this._7p1._Pd=_m11(this._7p1._Pd,0.0)}else if(this._fp1==_cf1._Bo1){this._7p1._Pd=_k11(this._7p1._Pd,0.0)}var _La=_V_._201(_Mp1.___(),_V_.Multiply((this._7p1._Pd-_Rq1._Pd),new _V_(this._Fq1._s01.x,this._Fq1._s01.y)));var _Tq1=_V_._4j(this._Fq1._w01(_La),new _V_(_Rq1.x,_Rq1.y));this._7p1.x=_Tq1.x;this._7p1.y=_Tq1.y;_Sq1=_c01._201(this._7p1,_Rq1);var _f81=_V_._4j(_V_.Multiply(_Sq1.x,
this._Aq1),_V_.Multiply(_Sq1._Pd,this._Ma1));var _Pq1=_Sq1.x*this._Bq1+_Sq1.y+_Sq1._Pd*this._Dq1;var _Qq1=_Sq1.x*this._Cq1+_Sq1.y+_Sq1._Pd*this._Eq1;_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*_Pq1;_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*_Qq1}else {var _Sq1=this._Fq1._w01(_Mp1.___());this._7p1.x+=_Sq1.x;this._7p1.y+=_Sq1.y;var _f81=_V_.Multiply(_Sq1.x,this._Aq1);var _Pq1=_Sq1.x*this._Bq1+_Sq1.y;var _Qq1=_Sq1.x*this._Cq1+_Sq1.y;_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*_Pq1;_9n1._4j(_V_.Multiply(_5n1,
_f81));_V41+=_ma1*_Qq1}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_Nn1:function(data){var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _X51=_711(_Gp1,_V_._201(this._4p1,this._ip1));var _Y51=_711(_Hp1,_V_._201(this._5p1,
this._jp1));var _Al=_V_._201(_V_._201(_V_._4j(_wf1,_Y51),_uf1),_X51);var _K11=_711(_Gp1,this._vq1);var _zV=_U01(_V_._4j(_Al,_X51),_K11);var _AV=_U01(_Y51,_K11);var _Uq1=_711(_Gp1,this._wq1);var _bt=_U01(_V_._4j(_Al,_X51),_Uq1);var _ct=_U01(_Y51,_Uq1);var _Kc1=new _c01();var _Vq1=new _V_();_Vq1.x=_T01(_Uq1,_Al);_Vq1.y=_8n1-_6n1-this._6p1;var _Wq1=_h11(_Vq1.x);var _Qp1=_h11(_Vq1.y);var _96=!1;var _Xq1=0.0;if(this._dp1){var _no1=_T01(_K11,_Al);if(_h11(this._yq1-this._xq1)<2.0*_f_){_Xq1=_o11(_no1,-_l_,_l_);_Wq1=_m11(_Wq1,
_h11(_no1));_96=!0}else if(_no1<=this._xq1){_Xq1=_o11(_no1-this._xq1+_f_,-_l_,0.0);_Wq1=_m11(_Wq1,this._xq1-_no1);_96=!0}else if(_no1>=this._yq1){_Xq1=_o11(_no1-this._yq1-_f_,0.0,_l_);_Wq1=_m11(_Wq1,_no1-this._yq1);_96=!0}}if(_96){var _nn1=_4n1+_5n1+_la1*_bt*_bt+_ma1*_ct*_ct;var _pn1=_la1*_bt+_ma1*_ct;var _Lq1=_la1*_bt*_zV+_ma1*_ct*_AV;var _on1=_la1+_ma1;if(_on1==0.0){_on1=1.0}var _Mq1=_la1*_zV+_ma1*_AV;var _Nq1=_4n1+_5n1+_la1*_zV*_zV+_ma1*_AV*_AV;var _Lm1=new _q01();_Lm1._9y._sj(_nn1,_pn1,_Lq1);_Lm1._xC._sj(_pn1,
_on1,_Mq1);_Lm1._s01._sj(_Lq1,_Mq1,_Nq1);var _d11=new _c01();_d11.x=_Vq1.x;_d11.y=_Vq1.y;_d11._Pd=_Xq1;_Kc1=_Lm1._t01(_d11.___())}else {var _nn1=_4n1+_5n1+_la1*_bt*_bt+_ma1*_ct*_ct;var _pn1=_la1*_bt+_ma1*_ct;var _on1=_la1+_ma1;if(_on1==0.0){_on1=1.0}var _Lm1=new _e01();_Lm1._9y._sj(_nn1,_pn1);_Lm1._xC._sj(_pn1,_on1);var _Yq1=_Lm1._l01(_Vq1.___());_Kc1.x=_Yq1.x;_Kc1.y=_Yq1.y;_Kc1._Pd=0.0}var _f81=_V_._4j(_V_.Multiply(_Kc1.x,_Uq1),_V_.Multiply(_Kc1._Pd,_K11));var _Pq1=_Kc1.x*_bt+_Kc1.y+_Kc1._Pd*_zV;var _Qq1=_Kc1.x*_ct+_Kc1.y+_Kc1._Pd*_AV;
_uf1._201(_V_.Multiply(_4n1,_f81));_6n1-=_la1*_Pq1;_wf1._4j(_V_.Multiply(_5n1,_f81));_8n1+=_ma1*_Qq1;data._re1[this._Rl1]._R3._Z_(_uf1);data._re1[this._Rl1]._gc=_6n1;data._re1[this._Sl1]._R3._Z_(_wf1);data._re1[this._Sl1]._gc=_8n1;return _Wq1<=_f_&&_Qp1<=_g_},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['localAnchorA']=this._4p1._801();_Dw['localAnchorB']=this._5p1._801();_Dw['localAxisA']=this._vq1._801();_Dw['referenceAngle']=this._6p1;_Dw['enableLimit']=this._dp1;
_Dw['lowerTranslation']=this._xq1;_Dw['upperTranslation']=this._yq1;_Dw['enableMotor']=this._ep1;_Dw['maxMotorForce']=this._zq1;_Dw['motorSpeed']=this._cp1;return _Dw}};_Mo1._AZ(_cf1);function _Zq1(){this.parent.call(this);this.type=_cf1._Io1;this._Wo1=new _V_();this._Xo1=new _V_();this._Up1=0.0;this.__q1=0.0;Object.seal(this)}_Zq1.prototype={_n61:function(_gg1,_hg1,anchor){this._if1=_gg1;this._jf1=_hg1;this._Wo1._Z_(this._if1._Tc1(anchor));this._Xo1._Z_(this._jf1._Tc1(anchor))},_a01:function(data,_ng1,
_vo1){this.parent.prototype._a01.call(this,data,_ng1,_vo1);this._Wo1._a01(data['localAnchorA']);this._Xo1._a01(data['localAnchorB']);this._Up1=data['maxForce'];this.__q1=data['maxTorque']}};_Zq1._AZ(_to1);function _So1(_8c1){this.parent.call(this,_8c1);this._4p1=_8c1._Wo1._O8();this._5p1=_8c1._Xo1._O8();this._0r1=new _V_();this._1r1=0.0;this._Yp1=_8c1._Up1;this._2r1=_8c1.__q1;this._Rl1=0;this._Sl1=0;this._gp1=new _V_();this._hp1=new _V_();this._ip1=new _V_();this._jp1=new _V_();this._kp1=0;this._lp1=0;
this._mp1=0;this._np1=0;this._3r1=new _e01();this._4r1=0}_So1.prototype={_tg1:function(){return this._gf1._Qc1(this._4p1)},_ug1:function(){return this._ef1._Qc1(this._5p1)},_wo1:function(_je1){return _V_.Multiply(_je1,this._0r1)},_xo1:function(_je1){return _je1*this._1r1},_pp1:function(){return this._4p1},_qp1:function(){return this._5p1},_5q1:function(_Ec1){_6_(_L_(_Ec1)&&_Ec1>=0.0);this._Yp1=_Ec1},_6q1:function(){return this._Yp1},_5r1:function(_Ic1){_6_(_L_(_Ic1)&&_Ic1>=0.0);this._2r1=_Ic1},_6r1:function(){
return this._2r1},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._ip1._Z_(this._gf1._Ib1._K01);this._jp1._Z_(this._ef1._Ib1._K01);this._kp1=this._gf1._Xb1;this._lp1=this._ef1._Xb1;this._mp1=this._gf1._Zb1;this._np1=this._ef1._Zb1;var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _8n1=data._re1[this._Sl1]._gc;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);
this._gp1=_711(_Gp1,_V_._201(this._4p1,this._ip1));this._hp1=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _Lm1=new _e01();_Lm1._9y.x=_4n1+_5n1+_la1*this._gp1.y*this._gp1.y+_ma1*this._hp1.y*this._hp1.y;_Lm1._9y.y=-_la1*this._gp1.x*this._gp1.y-_ma1*this._hp1.x*this._hp1.y;_Lm1._xC.x=_Lm1._9y.y;_Lm1._xC.y=_4n1+_5n1+_la1*this._gp1.x*this._gp1.x+_ma1*this._hp1.x*this._hp1.x;this._3r1=_Lm1._i01();this._4r1=_la1+_ma1;if(this._4r1>0.0){this._4r1=1.0/this._4r1}
if(data._JZ._ne1){this._0r1.Multiply(data._JZ._ke1);this._1r1*=data._JZ._ke1;var _f81=new _V_(this._0r1.x,this._0r1.y);_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*(_U01(this._gp1,_f81)+this._1r1);_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*(_U01(this._hp1,_f81)+this._1r1)}else {this._0r1._W_();this._1r1=0.0}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_sn1:function(data){var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;
var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _T3=data._JZ._ie1;{var _Jp1=_V41-_U41;var _Kc1=-this._4r1*_Jp1;var _Kp1=this._1r1;var _Lp1=_T3*this._2r1;this._1r1=_o11(this._1r1+_Kc1,-_Lp1,_Lp1);_Kc1=this._1r1-_Kp1;_U41-=_la1*_Kc1;_V41+=_ma1*_Kc1}{var _Np1=_V_._4j(_9n1,_V_._201(_W01(_V41,this._hp1),_V_._201(_7n1,_W01(_U41,this._gp1))));var _7r1=_X01(this._3r1,_Np1).___();var _8r1=this._0r1._O8();this._0r1._4j(_7r1);
var _9r1=_T3*this._Yp1;if(this._0r1._301()>_9r1*_9r1){this._0r1._401();this._0r1.Multiply(_9r1)}_7r1=_V_._201(this._0r1,_8r1);_7n1._201(_V_.Multiply(_4n1,_7r1));_U41-=_la1*_U01(this._gp1,_7r1);_9n1._4j(_V_.Multiply(_5n1,_7r1));_V41+=_ma1*_U01(this._hp1,_7r1)}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_Nn1:function(data){return !0},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['localAnchorA']=this._4p1._801();
_Dw['localAnchorB']=this._5p1._801();_Dw['maxForce']=this._Yp1;_Dw['maxTorque']=this._2r1;return _Dw}};_So1._AZ(_cf1);function _ar1(){this.parent.call(this);this.type=_cf1._Ho1;this._Wo1=new _V_(0.0,0.0);this._Xo1=new _V_(0.0,0.0);this._Yo1=0.0;this._Vp1=0.0;this._Wp1=0.0;Object.seal(this)}_ar1.prototype={_n61:function(_gg1,_hg1,anchor){this._if1=_gg1;this._jf1=_hg1;this._Wo1._Z_(this._if1._Tc1(anchor));this._Xo1._Z_(this._jf1._Tc1(anchor));this._Yo1=this._jf1._E01()-this._if1._E01();},_a01:function(data,
_ng1,_vo1){this.parent.prototype._a01.call(this,data,_ng1,_vo1);this._Wo1._a01(data['localAnchorA']);this._Xo1._a01(data['localAnchorB']);this._Yo1=data['referenceAngle'];this._Vp1=data['frequencyHz'];this._Wp1=data['dampingRatio']}};_ar1._AZ(_to1);function _Ro1(_8c1){this.parent.call(this,_8c1);this._hq1=0;this._1q1=0;this._Rl1=0;this._Sl1=0;this._gp1=new _V_();this._hp1=new _V_();this._ip1=new _V_();this._jp1=new _V_();this._kp1=0;this._lp1=0;this._mp1=0;this._np1=0;this._Wb1=new _q01();this._4p1=_8c1._Wo1._O8();
this._5p1=_8c1._Xo1._O8();this._6p1=_8c1._Yo1;this._Zp1=_8c1._Vp1;this.__p1=_8c1._Wp1;this._7p1=new _c01()}_Ro1.prototype={_tg1:function(){return this._gf1._Qc1(this._4p1)},_ug1:function(){return this._ef1._Qc1(this._5p1)},_wo1:function(_je1){var _f81=new _V_(this._7p1.x,this._7p1.y);return _V_.Multiply(_je1,_f81)},_xo1:function(_je1){return _je1*this._7p1._Pd},_pp1:function(){return this._4p1},_qp1:function(){return this._5p1},_rp1:function(){return this._6p1},_7q1:function(_8q1){this._Zp1=_8q1},_9q1:function(){
return this._Zp1},_aq1:function(_eo1){this.__p1=_eo1},_bq1:function(){return this.__p1},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._ip1._Z_(this._gf1._Ib1._K01);this._jp1._Z_(this._ef1._Ib1._K01);this._kp1=this._gf1._Xb1;this._lp1=this._ef1._Xb1;this._mp1=this._gf1._Zb1;this._np1=this._ef1._Zb1;var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _8n1=data._re1[this._Sl1]._gc;var _9n1=data._se1[this._Sl1]._uc._O8();
var _V41=data._se1[this._Sl1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);this._gp1._Z_(_711(_Gp1,_V_._201(this._4p1,this._ip1)));this._hp1._Z_(_711(_Hp1,_V_._201(this._5p1,this._jp1)));var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _Lm1=new _q01();_Lm1._9y.x=_4n1+_5n1+this._gp1.y*this._gp1.y*_la1+this._hp1.y*this._hp1.y*_ma1;_Lm1._xC.x=-this._gp1.y*this._gp1.x*_la1-this._hp1.y*this._hp1.x*_ma1;_Lm1._s01.x=-this._gp1.y*_la1-this._hp1.y*_ma1;_Lm1._9y.y=_Lm1._xC.x;_Lm1._xC.y=_4n1+_5n1+this._gp1.x*this._gp1.x*_la1+this._hp1.x*this._hp1.x*_ma1;
_Lm1._s01.y=this._gp1.x*_la1+this._hp1.x*_ma1;_Lm1._9y._Pd=_Lm1._s01.x;_Lm1._xC._Pd=_Lm1._s01.y;_Lm1._s01._Pd=_la1+_ma1;if(this._Zp1>0.0){_Lm1._x01(this._Wb1);var _br1=_la1+_ma1;var _ua=_br1>0.0?1.0/_br1:0.0;var _d11=_8n1-_6n1-this._6p1;var _cq1=2.0*_a_*this._Zp1;var _Al=2.0*_ua*this.__p1*_cq1;var _uj=_ua*_cq1*_cq1;var _T3=data._JZ._ie1;this._1q1=_T3*(_Al+_T3*_uj);this._1q1=this._1q1!=0.0?1.0/this._1q1:0.0;this._hq1=_d11*_T3*_uj*this._1q1;_br1+=this._1q1;this._Wb1._s01._Pd=_br1!=0.0?1.0/_br1:0.0}else {_Lm1._z01(this._Wb1);
this._1q1=0.0;this._hq1=0.0}if(data._JZ._ne1){this._7p1.Multiply(data._JZ._ke1);var _f81=new _V_(this._7p1.x,this._7p1.y);_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*(_U01(this._gp1,_f81)+this._7p1._Pd);_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*(_U01(this._hp1,_f81)+this._7p1._Pd)}else {this._7p1._W_()}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_sn1:function(data){var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;
var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;if(this._Zp1>0.0){var _Np1=_V41-_U41;var _7r1=-this._Wb1._s01._Pd*(_Np1+this._hq1+this._1q1*this._7p1._Pd);this._7p1._Pd+=_7r1;_U41-=_la1*_7r1;_V41+=_ma1*_7r1;var _Mp1=_V_._201(_V_._201(_V_._4j(_9n1,_W01(_V41,this._hp1)),_7n1),_W01(_U41,this._gp1));var _Yq1=_311(this._Wb1,_Mp1).___();this._7p1.x+=_Yq1.x;this._7p1.y+=_Yq1.y;var _f81=_Yq1._O8();_7n1._201(_V_.Multiply(_4n1,
_f81));_U41-=_la1*_U01(this._gp1,_f81);_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*_U01(this._hp1,_f81)}else {var _Mp1=_V_._201(_V_._201(_V_._4j(_9n1,_W01(_V41,this._hp1)),_7n1),_W01(_U41,this._gp1));var _Np1=_V41-_U41;var _Jp1=new _c01(_Mp1.x,_Mp1.y,_Np1);var _Kc1=_211(this._Wb1,_Jp1).___();this._7p1._4j(_Kc1);var _f81=new _V_(_Kc1.x,_Kc1.y);_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*(_U01(this._gp1,_f81)+_Kc1._Pd);_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*(_U01(this._hp1,_f81)+_Kc1._Pd)}data._se1[this._Rl1]._uc._Z_(_7n1);
data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_Nn1:function(data){var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _X51=_711(_Gp1,_V_._201(this._4p1,this._ip1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _Rp1,_Qp1;var _Lm1=new _q01();_Lm1._9y.x=_4n1+_5n1+_X51.y*_X51.y*_la1+_Y51.y*_Y51.y*_ma1;
_Lm1._xC.x=-_X51.y*_X51.x*_la1-_Y51.y*_Y51.x*_ma1;_Lm1._s01.x=-_X51.y*_la1-_Y51.y*_ma1;_Lm1._9y.y=_Lm1._xC.x;_Lm1._xC.y=_4n1+_5n1+_X51.x*_X51.x*_la1+_Y51.x*_Y51.x*_ma1;_Lm1._s01.y=_X51.x*_la1+_Y51.x*_ma1;_Lm1._9y._Pd=_Lm1._s01.x;_Lm1._xC._Pd=_Lm1._s01.y;_Lm1._s01._Pd=_la1+_ma1;if(this._Zp1>0.0){var _Vq1=_V_._201(_V_._201(_V_._4j(_wf1,_Y51),_uf1),_X51);_Rp1=_Vq1.Length();_Qp1=0.0;var _f81=_Lm1._w01(_Vq1).___();_uf1._201(_V_.Multiply(_4n1,_f81));_6n1-=_la1*_U01(_X51,_f81);_wf1._4j(_V_.Multiply(_5n1,
_f81));_8n1+=_ma1*_U01(_Y51,_f81)}else {var _Vq1=_V_._201(_V_._201(_V_._4j(_wf1,_Y51),_uf1),_X51);var _Xq1=_8n1-_6n1-this._6p1;_Rp1=_Vq1.Length();_Qp1=_h11(_Xq1);var _d11=new _c01(_Vq1.x,_Vq1.y,_Xq1);var _Kc1=_Lm1._t01(_d11).___();var _f81=new _V_(_Kc1.x,_Kc1.y);_uf1._201(_V_.Multiply(_4n1,_f81));_6n1-=_la1*(_U01(_X51,_f81)+_Kc1._Pd);_wf1._4j(_V_.Multiply(_5n1,_f81));_8n1+=_ma1*(_U01(_Y51,_f81)+_Kc1._Pd)}data._re1[this._Rl1]._R3._Z_(_uf1);data._re1[this._Rl1]._gc=_6n1;data._re1[this._Sl1]._R3._Z_(_wf1);
data._re1[this._Sl1]._gc=_8n1;return _Rp1<=_f_&&_Qp1<=_g_},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['localAnchorA']=this._4p1._801();_Dw['localAnchorB']=this._5p1._801();_Dw['referenceAngle']=this._6p1;_Dw['frequencyHz']=this._Zp1;_Dw['dampingRatio']=this.__p1;return _Dw}};_Ro1._AZ(_cf1);function _cr1(){this.parent.call(this);this.type=_cf1._Go1;this._Wo1=new _V_();this._Xo1=new _V_();this._rq1=new _V_(1.0,0.0);this._3p1=!1;this._0p1=0.0;this._1p1=0.0;this._Vp1=2.0;
this._Wp1=0.7;Object.seal(this)}_cr1.prototype={_n61:function(_gg1,_hg1,anchor,_K11){this._if1=_gg1;this._jf1=_hg1;this._Wo1._Z_(this._if1._Tc1(anchor));this._Xo1._Z_(this._jf1._Tc1(anchor));this._rq1._Z_(this._if1._Vc1(_K11))},_a01:function(data,_ng1,_vo1){this.parent.prototype._a01.call(this,data,_ng1,_vo1);this._Wo1._a01(data['localAnchorA']);this._Xo1._a01(data['localAnchorB']);this._rq1._a01(data['localAxisA']);this._3p1=data['enableMotor'];this._0p1=data['maxMotorTorque'];this._1p1=data['motorSpeed'];
this._Vp1=data['frequencyHz'];this._Wp1=data['dampingRatio']}};_cr1._AZ(_to1);function _Qo1(_8c1){this.parent.call(this,_8c1);this._Rl1=0;this._Sl1=0;this._ip1=new _V_();this._jp1=new _V_();this._kp1=0;this._lp1=0;this._mp1=0;this._np1=0;this._4p1=_8c1._Wo1._O8();this._5p1=_8c1._Xo1._O8();this._vq1=_8c1._rq1._O8();this._wq1=_W01(1.0,this._vq1);this._Wb1=0.0;this._7p1=0.0;this._op1=0.0;this._8p1=0.0;this._dr1=0.0;this._er1=0.0;this._bp1=_8c1._0p1;this._cp1=_8c1._1p1;this._ep1=_8c1._3p1;this._Zp1=_8c1._Vp1;
this.__p1=_8c1._Wp1;this._hq1=0.0;this._1q1=0.0;this._fr1=new _V_();this._gr1=new _V_();this._hr1=this._ir1=0;this._jr1=this._kr1=0}_Qo1.prototype={_tg1:function(){return this._gf1._Qc1(this._4p1)},_ug1:function(){return this._ef1._Qc1(this._5p1)},_wo1:function(_je1){return _V_.Multiply(_je1,_V_._4j(_V_.Multiply(this._7p1,this._gr1),_V_.Multiply(this._er1,this._fr1)))},_xo1:function(_je1){return _je1*this._8p1;},_pp1:function(){return this._4p1},_qp1:function(){return this._5p1},_Gq1:function(){return this._vq1}
,_Hq1:function(){var _gg1=this._gf1;var _hg1=this._ef1;var _a51=_gg1._Qc1(this._4p1);var _b51=_hg1._Qc1(this._5p1);var _Al=_V_._201(_b51,_a51);var _K11=_gg1._Rc1(this._vq1);var _no1=_T01(_Al,_K11);return _no1},_tp1:function(){var _U41=this._gf1._Ob1;var _V41=this._ef1._Ob1;return _V41-_U41},_zp1:function(){return this._ep1},_Ap1:function(_9d1){this._gf1._DP(!0);this._ef1._DP(!0);this._ep1=_9d1},_Bp1:function(_W4){this._gf1._DP(!0);this._ef1._DP(!0);this._cp1=_W4},_Cp1:function(){return this._cp1},_Dp1:function(_Ic1){
this._gf1._DP(!0);this._ef1._DP(!0);this._bp1=_Ic1},_Ep1:function(){return this._bp1},_Fp1:function(_je1){return _je1*this._8p1},_lr1:function(_8q1){this._Zp1=_8q1},_mr1:function(){return this._Zp1},_nr1:function(_eo1){this.__p1=_eo1},_or1:function(){return this.__p1},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._ip1._Z_(this._gf1._Ib1._K01);this._jp1._Z_(this._ef1._Ib1._K01);this._kp1=this._gf1._Xb1;this._lp1=this._ef1._Xb1;this._mp1=this._gf1._Zb1;this._np1=this._ef1._Zb1;
var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);var _X51=_711(_Gp1,_V_._201(this._4p1,this._ip1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _Al=_V_._201(_V_._201(_V_._4j(_wf1,
_Y51),_uf1),_X51);{this._gr1._Z_(_711(_Gp1,this._wq1));this._jr1=_U01(_V_._4j(_Al,_X51),this._gr1);this._kr1=_U01(_Y51,this._gr1);this._Wb1=_4n1+_5n1+_la1*this._jr1*this._jr1+_ma1*this._kr1*this._kr1;if(this._Wb1>0.0){this._Wb1=1.0/this._Wb1}}this._dr1=0.0;this._hq1=0.0;this._1q1=0.0;if(this._Zp1>0.0){this._fr1._Z_(_711(_Gp1,this._vq1));this._hr1=_U01(_V_._4j(_Al,_X51),this._fr1);this._ir1=_U01(_Y51,this._fr1);var _nq1=_4n1+_5n1+_la1*this._hr1*this._hr1+_ma1*this._ir1*this._ir1;if(_nq1>0.0){this._dr1=1.0/_nq1;
var _d11=_T01(_Al,this._fr1);var _cq1=2.0*_a_*this._Zp1;var _ik1=2.0*this._dr1*this.__p1*_cq1;var _uj=this._dr1*_cq1*_cq1;var _T3=data._JZ._ie1;this._1q1=_T3*(_ik1+_T3*_uj);if(this._1q1>0.0){this._1q1=1.0/this._1q1}this._hq1=_d11*_T3*_uj*this._1q1;this._dr1=_nq1+this._1q1;if(this._dr1>0.0){this._dr1=1.0/this._dr1}}}else {this._er1=0.0}if(this._ep1){this._op1=_la1+_ma1;if(this._op1>0.0){this._op1=1.0/this._op1}}else {this._op1=0.0;this._8p1=0.0}if(data._JZ._ne1){this._7p1*=data._JZ._ke1;this._er1*=data._JZ._ke1;
this._8p1*=data._JZ._ke1;var _f81=_V_._4j(_V_.Multiply(this._7p1,this._gr1),_V_.Multiply(this._er1,this._fr1));var _Pq1=this._7p1*this._jr1+this._er1*this._hr1+this._8p1;var _Qq1=this._7p1*this._kr1+this._er1*this._ir1+this._8p1;_7n1._201(_V_.Multiply(this._kp1,_f81));_U41-=this._mp1*_Pq1;_9n1._4j(_V_.Multiply(this._lp1,_f81));_V41+=this._np1*_Qq1}else {this._7p1=0.0;this._er1=0.0;this._8p1=0.0}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41}
,_sn1:function(data){var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;{var _Jp1=_T01(this._fr1,_V_._201(_9n1,_7n1))+this._ir1*_V41-this._hr1*_U41;var _Kc1=-this._dr1*(_Jp1+this._hq1+this._1q1*this._er1);this._er1+=_Kc1;var _f81=_V_.Multiply(_Kc1,this._fr1);var _Pq1=_Kc1*this._hr1;var _Qq1=_Kc1*this._ir1;_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*_Pq1;
_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*_Qq1}{var _Jp1=_V41-_U41-this._cp1;var _Kc1=-this._op1*_Jp1;var _Kp1=this._8p1;var _Lp1=data._JZ._ie1*this._bp1;this._8p1=_o11(this._8p1+_Kc1,-_Lp1,_Lp1);_Kc1=this._8p1-_Kp1;_U41-=_la1*_Kc1;_V41+=_ma1*_Kc1}{var _Jp1=_T01(this._gr1,_V_._201(_9n1,_7n1))+this._kr1*_V41-this._jr1*_U41;var _Kc1=-this._Wb1*_Jp1;this._7p1+=_Kc1;var _f81=_V_.Multiply(_Kc1,this._gr1);var _Pq1=_Kc1*this._jr1;var _Qq1=_Kc1*this._kr1;_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*_Pq1;_9n1._4j(_V_.Multiply(_5n1,
_f81));_V41+=_ma1*_Qq1}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_Nn1:function(data){var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);var _X51=_711(_Gp1,_V_._201(this._4p1,this._ip1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _Al=_V_._4j(_V_._201(_wf1,_uf1),_V_._201(_Y51,
_X51));var _BK=_711(_Gp1,this._wq1);var _pr1=_U01(_V_._4j(_Al,_X51),_BK);var _qr1=_U01(_Y51,_BK);var _d11=_T01(_Al,_BK);var _uj=this._kp1+this._lp1+this._mp1*this._jr1*this._jr1+this._np1*this._kr1*this._kr1;var _Kc1;if(_uj!=0.0){_Kc1=-_d11/_uj}else {_Kc1=0.0}var _f81=_V_.Multiply(_Kc1,_BK);var _Pq1=_Kc1*_pr1;var _Qq1=_Kc1*_qr1;_uf1._201(_V_.Multiply(this._kp1,_f81));_6n1-=this._mp1*_Pq1;_wf1._4j(_V_.Multiply(this._lp1,_f81));_8n1+=this._np1*_Qq1;data._re1[this._Rl1]._R3._Z_(_uf1);data._re1[this._Rl1]._gc=_6n1;
data._re1[this._Sl1]._R3._Z_(_wf1);data._re1[this._Sl1]._gc=_8n1;return _h11(_d11)<=_f_},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['localAnchorA']=this._4p1._801();_Dw['localAnchorB']=this._5p1._801();_Dw['localAxisA']=this._rr1._801();_Dw['enableMotor']=this._ep1;_Dw['maxMotorTorque']=this._bp1;_Dw['motorSpeed']=this._cp1;_Dw['frequencyHz']=this._Zp1;_Dw['dampingRatio']=this.__p1;return _Dw}};_Qo1._AZ(_cf1);function _sr1(){this.parent.call(this);this.type=_cf1._Fo1;
this._tr1=null;this._ur1=null;this._eo1=1.0;Object.seal(this)}_sr1.prototype={_a01:function(data,_ng1,_vo1){this.parent.prototype._a01.call(this,data,_ng1,_vo1);this._tr1=data['joint1'];this._ur1=data['joint2'];this._eo1=data['ratio']}};_sr1._AZ(_to1);/// @warning You have to manually destroy the gear joint if joint1 or joint2
function _Po1(_8c1){this.parent.call(this,_8c1);this._vr1=_8c1._tr1;this._wr1=_8c1._ur1;this._xr1=this._vr1._a21();this._yr1=this._wr1._a21();_6_(this._xr1==_cf1._Do1||this._xr1==_cf1._Eo1);
_6_(this._yr1==_cf1._Do1||this._yr1==_cf1._Eo1);var _zr1,_Ar1;this._Br1=this._vr1._rg1();this._gf1=this._vr1._sg1();var _o61=this._gf1._B81;var _6n1=this._gf1._Ib1._gc;var _Cr1=this._Br1._B81;var _Dr1=this._Br1._Ib1._gc;this._4p1=new _V_();this._5p1=new _V_();this._Er1=new _V_();this._Fr1=new _V_();this._Gr1=new _V_();this._Hr1=new _V_();if(this._xr1==_cf1._Do1){var _Ir1=_8c1._tr1;this._Er1._Z_(_Ir1._4p1);this._4p1._Z_(_Ir1._5p1);this._Jr1=_Ir1._6p1;this._Gr1._W_();_zr1=_6n1-_Dr1-this._Jr1}else {var _Kr1=_8c1._tr1;
this._Er1._Z_(_Kr1._4p1);this._4p1._Z_(_Kr1._5p1);this._Jr1=_Kr1._6p1;this._Gr1._Z_(_Kr1._vq1);var _Lr1=this._Er1;var _a51=_811(_Cr1._gz,_V_._4j(_711(_o61._gz,this._4p1),_V_._201(_o61._KA,_Cr1._KA)));_zr1=_T01(_V_._201(_a51,_Lr1),this._Gr1)}this._Mr1=this._wr1._rg1();this._ef1=this._wr1._sg1();var _q61=this._ef1._B81;var _8n1=this._ef1._Ib1._gc;var _Nr1=this._Mr1._B81;var _Or1=this._Mr1._Ib1._gc;if(this._yr1==_cf1._Do1){var _Ir1=_8c1._ur1;this._Fr1._Z_(_Ir1._4p1);this._5p1._Z_(_Ir1._5p1);this._Pr1=_Ir1._6p1;
this._Hr1._W_();_Ar1=_8n1-_Or1-this._Pr1}else {var _Kr1=_8c1._ur1;this._Fr1._Z_(_Kr1._4p1);this._5p1._Z_(_Kr1._5p1);this._Pr1=_Kr1._6p1;this._Hr1._Z_(_Kr1._vq1);var _Qr1=this._Fr1;var _b51=_811(_Nr1._gz,_V_._4j(_711(_q61._gz,this._5p1),_V_._201(_q61._KA,_Nr1._KA)));_Ar1=_T01(_V_._201(_b51,_Qr1),this._Hr1)}this._Rr1=_8c1._eo1;this._Sr1=_zr1+this._Rr1*_Ar1;this._7p1=0.0;this._Rl1=this._Sl1=this._Tr1=this._Ur1=0;this._Vr1=new _V_();this._Wr1=new _V_();this._Xr1=new _V_();this._Yr1=new _V_();this._Zr1=this.__r1=this._0s1=this._1s1=0;
this._2s1=this._3s1=this._4s1=this._5s1=0;this._6s1=new _V_(),this._7s1=new _V_();this._8s1=this._9s1=this._as1=this._bs1=0;this._Wb1=0}_Po1.prototype={_tg1:function(){return this._gf1._Qc1(this._4p1)},_ug1:function(){return this._ef1._Qc1(this._5p1)},_wo1:function(_je1){var _f81=_V_.Multiply(this._7p1,this._6s1);return _V_.Multiply(_je1,_f81)},_xo1:function(_je1){var _cs1=this._7p1*this._8s1;return _je1*_cs1},_ds1:function(){return this._vr1},_es1:function(){return this._wr1},_fs1:function(_eo1){_6_(_L_(_eo1));
this._Rr1=_eo1},_gs1:function(){return this._Rr1},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._Tr1=this._Br1._zb1;this._Ur1=this._Mr1._zb1;this._Vr1._Z_(this._gf1._Ib1._K01);this._Wr1._Z_(this._ef1._Ib1._K01);this._Xr1._Z_(this._Br1._Ib1._K01);this._Yr1._Z_(this._Mr1._Ib1._K01);this._Zr1=this._gf1._Xb1;this.__r1=this._ef1._Xb1;this._0s1=this._Br1._Xb1;this._1s1=this._Mr1._Xb1;this._2s1=this._gf1._Zb1;this._3s1=this._ef1._Zb1;this._4s1=this._Br1._Zb1;this._5s1=this._Mr1._Zb1;
var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _8n1=data._re1[this._Sl1]._gc;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Dr1=data._re1[this._Tr1]._gc;var _hs1=data._se1[this._Tr1]._uc._O8();var _is1=data._se1[this._Tr1]._S3;var _Or1=data._re1[this._Ur1]._gc;var _js1=data._se1[this._Ur1]._uc._O8();var _ks1=data._se1[this._Ur1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1),_ls1=new _D01(_Dr1),_ms1=new _D01(_Or1);this._Wb1=0.0;
if(this._xr1==_cf1._Do1){this._6s1._W_();this._8s1=1.0;this._as1=1.0;this._Wb1+=this._2s1+this._4s1}else {var _sc=_711(_ls1,this._Gr1);var _ns1=_711(_ls1,_V_._201(this._Er1,this._Xr1));var _X51=_711(_Gp1,_V_._201(this._4p1,this._Vr1));this._6s1._Z_(_sc);this._as1=_U01(_ns1,_sc);this._8s1=_U01(_X51,_sc);this._Wb1+=this._0s1+this._Zr1+this._4s1*this._as1*this._as1+this._2s1*this._8s1*this._8s1;}if(this._yr1==_cf1._Do1){this._7s1._W_();this._9s1=this._Rr1;this._bs1=this._Rr1;this._Wb1+=this._Rr1*this._Rr1*(this._3s1+this._5s1)}
else {var _sc=_711(_ms1,this._Hr1);var _os1=_711(_ms1,_V_._201(this._Fr1,this._Yr1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._Wr1));this._7s1._Z_(_V_.Multiply(this._Rr1,_sc));this._bs1=this._Rr1*_U01(_os1,_sc);this._9s1=this._Rr1*_U01(_Y51,_sc);this._Wb1+=this._Rr1*this._Rr1*(this._1s1+this.__r1)+this._5s1*this._bs1*this._bs1+this._3s1*this._9s1*this._9s1}this._Wb1=this._Wb1>0.0?1.0/this._Wb1:0.0;if(data._JZ._ne1){_7n1._4j(_V_.Multiply((this._Zr1*this._7p1),this._6s1));_U41+=this._2s1*this._7p1*this._8s1;
_9n1._4j(_V_.Multiply((this.__r1*this._7p1),this._7s1));_V41+=this._3s1*this._7p1*this._9s1;_hs1._201(_V_.Multiply((this._0s1*this._7p1),this._6s1));_is1-=this._4s1*this._7p1*this._as1;_js1._201(_V_.Multiply((this._1s1*this._7p1),this._7s1));_ks1-=this._5s1*this._7p1*this._bs1}else {this._7p1=0.0}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41;data._se1[this._Tr1]._uc._Z_(_hs1);data._se1[this._Tr1]._S3=_is1;data._se1[this._Ur1]._uc._Z_(_js1);
data._se1[this._Ur1]._S3=_ks1},_sn1:function(data){var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _hs1=data._se1[this._Tr1]._uc._O8();var _is1=data._se1[this._Tr1]._S3;var _js1=data._se1[this._Ur1]._uc._O8();var _ks1=data._se1[this._Ur1]._S3;var _Jp1=_T01(this._6s1,_V_._201(_7n1,_hs1))+_T01(this._7s1,_V_._201(_9n1,_js1));_Jp1+=(this._8s1*_U41-this._as1*_is1)+(this._9s1*_V41-this._bs1*_ks1);var _Kc1=-this._Wb1*_Jp1;
this._7p1+=_Kc1;_7n1._4j(_V_.Multiply((this._Zr1*_Kc1),this._6s1));_U41+=this._2s1*_Kc1*this._8s1;_9n1._4j(_V_.Multiply((this.__r1*_Kc1),this._7s1));_V41+=this._3s1*_Kc1*this._9s1;_hs1._201(_V_.Multiply((this._0s1*_Kc1),this._6s1));_is1-=this._4s1*_Kc1*this._as1;_js1._201(_V_.Multiply((this._1s1*_Kc1),this._7s1));_ks1-=this._5s1*_Kc1*this._bs1;data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41;data._se1[this._Tr1]._uc._Z_(_hs1);
data._se1[this._Tr1]._S3=_is1;data._se1[this._Ur1]._uc._Z_(_js1);data._se1[this._Ur1]._S3=_ks1},_Nn1:function(data){var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _ps1=data._re1[this._Tr1]._R3._O8();var _Dr1=data._re1[this._Tr1]._gc;var _qs1=data._re1[this._Ur1]._R3._O8();var _Or1=data._re1[this._Ur1]._gc;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1),_ls1=new _D01(_Dr1),_ms1=new _D01(_Or1);var _Wq1=0.0;var _zr1,
_Ar1;var _rs1=new _V_(),_ss1=new _V_();var _ts1,_us1,_vs1,_ws1;var _621=0.0;if(this._xr1==_cf1._Do1){_rs1._W_();_ts1=1.0;_vs1=1.0;_621+=this._2s1+this._4s1;_zr1=_6n1-_Dr1-this._Jr1}else {var _sc=_711(_ls1,this._Gr1);var _ns1=_711(_ls1,_V_._201(this._Er1,this._Xr1));var _X51=_711(_Gp1,_V_._201(this._4p1,this._Vr1));_rs1._Z_(_sc);_vs1=_U01(_ns1,_sc);_ts1=_U01(_X51,_sc);_621+=this._0s1+this._Zr1+this._4s1*_vs1*_vs1+this._2s1*_ts1*_ts1;var _Lr1=_V_._201(this._Er1,this._Xr1);var _a51=_811(_ls1,_V_._4j(_X51,_V_._201(_uf1,
_ps1)));_zr1=_T01(_V_._201(_a51,_Lr1),this._Gr1)}if(this._yr1==_cf1._Do1){_ss1._W_();_us1=this._Rr1;_ws1=this._Rr1;_621+=this._Rr1*this._Rr1*(this._3s1+this._5s1);_Ar1=_8n1-_Or1-this._Pr1}else {var _sc=_711(_ms1,this._Hr1);var _os1=_711(_ms1,_V_._201(this._Fr1,this._Yr1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._Wr1));_ss1._Z_(_V_.Multiply(this._Rr1,_sc));_ws1=this._Rr1*_U01(_os1,_sc);_us1=this._Rr1*_U01(_Y51,_sc);_621+=this._Rr1*this._Rr1*(this._1s1+this.__r1)+this._5s1*_ws1*_ws1+this._3s1*_us1*_us1;
var _Qr1=_V_._201(this._Fr1,this._Yr1);var _b51=_811(_ms1,_V_._4j(_Y51,_V_._201(_wf1,_qs1)));_Ar1=_T01(_V_._201(_b51,_Qr1),this._Hr1)}var _d11=(_zr1+this._Rr1*_Ar1)-this._Sr1;var _Kc1=0.0;if(_621>0.0){_Kc1=-_d11/_621}_uf1._4j(_V_.Multiply(this._Zr1,_V_.Multiply(_Kc1,_rs1)));_6n1+=this._2s1*_Kc1*_ts1;_wf1._4j(_V_.Multiply(this.__r1,_V_.Multiply(_Kc1,_ss1)));_8n1+=this._3s1*_Kc1*_us1;_ps1._201(_V_.Multiply(this._0s1,_V_.Multiply(_Kc1,_rs1)));_Dr1-=this._4s1*_Kc1*_vs1;_qs1._201(_V_.Multiply(this._1s1,_V_.Multiply(_Kc1,
_ss1)));_Or1-=this._5s1*_Kc1*_ws1;data._re1[this._Rl1]._R3._Z_(_uf1);data._re1[this._Rl1]._gc=_6n1;data._re1[this._Sl1]._R3._Z_(_wf1);data._re1[this._Sl1]._gc=_8n1;data._re1[this._Tr1]._R3._Z_(_ps1);data._re1[this._Tr1]._gc=_Dr1;data._re1[this._Ur1]._R3._Z_(_qs1);data._re1[this._Ur1]._gc=_Or1;return _Wq1<_f_},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['joint1']=this._vr1._xs1;_Dw['joint2']=this._wr1._xs1;_Dw['ratio']=this._Rr1;return _Dw}};_Po1._AZ(_cf1);function _ys1(){
this.parent.call(this);this.type=_cf1._Bg1;this._zs1=new _V_();this._As1=0.0;this._Up1=1.0;this.__q1=1.0;this._Bs1=0.3;Object.seal(this)}_ys1.prototype={_n61:function(_gg1,_hg1){this._if1=_gg1;this._jf1=_hg1;var _Cs1=this._jf1._1P();this._zs1._Z_(this._if1._Tc1(_Cs1));var _Ds1=this._if1._E01();var _Es1=this._jf1._E01();this._As1=_Es1-_Ds1},_a01:function(data,_ng1,_vo1){this.parent.prototype._a01.call(this,data,_ng1,_vo1);this._zs1._a01(data['linearOffset']);this._As1=data['angularOffset'];this._Up1=data['maxForce'];
this.__q1=data['maxTorque'];this._Bs1=data['correctionFactor']}};_ys1._AZ(_to1);function _Uo1(_8c1){this.parent.call(this,_8c1);this._Fs1=_8c1._zs1._O8();this._Gs1=_8c1._As1;this._0r1=new _V_();this._1r1=0.0;this._Yp1=_8c1._Up1;this._2r1=_8c1.__q1;this._Hs1=_8c1._Bs1;this._Rl1=0;this._Sl1=0;this._gp1=new _V_();this._hp1=new _V_();this._ip1=new _V_();this._jp1=new _V_();this._Is1=new _V_();this._Js1=0;this._kp1=0;this._lp1=0;this._mp1=0;this._np1=0;this._3r1=new _e01();this._4r1=0}_Uo1.prototype={_tg1:function(){
return this._gf1._1P()},_ug1:function(){return this._ef1._1P()},_wo1:function(_je1){return _V_.Multiply(_je1,this._0r1)},_xo1:function(_je1){return _je1*this._1r1},_Ks1:function(_zs1){if(_zs1.x!=this._Fs1.x||_zs1.y!=this._Fs1.y){this._gf1._DP(!0);this._ef1._DP(!0);this._Fs1._Z_(_zs1)}},_Dg1:function(){return this._Fs1},_Ls1:function(_As1){if(_As1!=this._Gs1){this._gf1._DP(!0);this._ef1._DP(!0);this._Gs1=_As1}},_Ms1:function(){return this._Gs1},_5q1:function(_Ec1){_6_(_L_(_Ec1)&&_Ec1>=0.0);this._Yp1=_Ec1}
,_6q1:function(){return this._Yp1},_5r1:function(_Ic1){_6_(_L_(_Ic1)&&_Ic1>=0.0);this._2r1=_Ic1},_6r1:function(){return this._2r1},_Ns1:function(_Os1){_6_(_L_(_Os1)&&0.0<=_Os1&&_Os1<=1.0);this._Hs1=_Os1},_Ps1:function(){return this._Hs1},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._ip1._Z_(this._gf1._Ib1._K01);this._jp1._Z_(this._ef1._Ib1._K01);this._kp1=this._gf1._Xb1;this._lp1=this._ef1._Xb1;this._mp1=this._gf1._Zb1;this._np1=this._ef1._Zb1;var _uf1=data._re1[this._Rl1]._R3._O8();
var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);this._gp1._Z_(_711(_Gp1,this._ip1.___()));this._hp1._Z_(_711(_Hp1,this._jp1.___()));var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _Lm1=new _e01();_Lm1._9y.x=_4n1+_5n1+_la1*this._gp1.y*this._gp1.y+_ma1*this._hp1.y*this._hp1.y;
_Lm1._9y.y=-_la1*this._gp1.x*this._gp1.y-_ma1*this._hp1.x*this._hp1.y;_Lm1._xC.x=_Lm1._9y.y;_Lm1._xC.y=_4n1+_5n1+_la1*this._gp1.x*this._gp1.x+_ma1*this._hp1.x*this._hp1.x;this._3r1._Z_(_Lm1._i01());this._4r1=_la1+_ma1;if(this._4r1>0.0){this._4r1=1.0/this._4r1}this._Is1.x=_wf1.x+this._hp1.x-_uf1.x-this._gp1.x-(_Gp1._R3*this._Fs1.x-_Gp1._Rw*this._Fs1.y);this._Is1.y=_wf1.y+this._hp1.y-_uf1.y-this._gp1.y-(_Gp1._Rw*this._Fs1.x+_Gp1._R3*this._Fs1.y);this._Js1=_8n1-_6n1-this._Gs1;if(data._JZ._ne1){this._0r1.Multiply(data._JZ._ke1);
this._1r1*=data._JZ._ke1;var _f81=new _V_(this._0r1.x,this._0r1.y);_7n1._201(_V_.Multiply(_4n1,_f81));_U41-=_la1*(_U01(this._gp1,_f81)+this._1r1);_9n1._4j(_V_.Multiply(_5n1,_f81));_V41+=_ma1*(_U01(this._hp1,_f81)+this._1r1)}else {this._0r1._W_();this._1r1=0.0}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_sn1:function(data){var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _9n1=data._se1[this._Sl1]._uc._O8();
var _V41=data._se1[this._Sl1]._S3;var _4n1=this._kp1,_5n1=this._lp1;var _la1=this._mp1,_ma1=this._np1;var _T3=data._JZ._ie1;var _Qs1=data._JZ._je1;{var _Jp1=_V41-_U41+_Qs1*this._Hs1*this._Js1;var _Kc1=-this._4r1*_Jp1;var _Kp1=this._1r1;var _Lp1=_T3*this._2r1;this._1r1=_o11(this._1r1+_Kc1,-_Lp1,_Lp1);_Kc1=this._1r1-_Kp1;_U41-=_la1*_Kc1;_V41+=_ma1*_Kc1}{var _Jp1=new _V_(_9n1.x+(-_V41*this._hp1.x)-_7n1.x-(-_U41*this._gp1.x)+_Qs1*this._Hs1*this._Is1.x,_9n1.y+(_V41*this._hp1.y)-_7n1.y-(_U41*this._gp1.y)+_Qs1*this._Hs1*this._Is1.y);
var _Kc1=_X01(this._3r1,_Jp1).___();var _Kp1=this._0r1._O8();this._0r1._4j(_Kc1);var _Lp1=_T3*this._Yp1;if(this._0r1._301()>_Lp1*_Lp1){this._0r1._401();this._0r1.Multiply(_Lp1)}_Kc1._Z_(_V_._201(this._0r1,_Kp1));_7n1._201(_V_.Multiply(_4n1,_Kc1));_U41-=_la1*_U01(this._gp1,_Kc1);_9n1._4j(_V_.Multiply(_5n1,_Kc1));_V41+=_ma1*_U01(this._hp1,_Kc1)}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_Nn1:function(data){return !0}
,_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['linearOffset']=this._Fs1._801();_Dw['angularOffset']=this._Gs1;_Dw['maxForce']=this._Yp1;_Dw['maxTorque']=this._2r1;_Dw['correctionFactor']=this._Hs1;return _Dw}};_Uo1._AZ(_cf1);var _Rs1=2.0;function _Ss1(){this.parent.call(this);this.type=_cf1._wg1;this._Ts1=new _V_(-1.0,1.0);this._Us1=new _V_(1.0,1.0);this._Wo1=new _V_(-1.0,0.0);this._Xo1=new _V_(1.0,0.0);this._Vs1=0.0;this._Ws1=0.0;this._eo1=1.0;this._kf1=!0;Object.seal(this)}
_Ss1.prototype={_n61:function(_gg1,_hg1,_Xs1,_Ys1,_Zs1,__s1,_Ia){this._if1=_gg1;this._jf1=_hg1;this._Ts1._Z_(_Xs1);this._Us1._Z_(_Ys1);this._Wo1._Z_(this._if1._Tc1(_Zs1));this._Xo1._Z_(this._jf1._Tc1(__s1));var _0t1=_V_._201(_Zs1,_Xs1);this._Vs1=_0t1.Length();var _1t1=_V_._201(__s1,_Ys1);this._Ws1=_1t1.Length();this._eo1=_Ia;_6_(this._eo1>_9_)},_a01:function(data,_ng1,_vo1){this.parent.prototype._a01.call(this,data,_ng1,_vo1);this._Ts1._a01(data['groundAnchorA']);this._Us1._a01(data['groundAnchorB']);
this._Wo1._a01(data['localAnchorA']);this._Xo1._a01(data['localAnchorB']);this._Vs1=data['lengthA'];this._Ws1=data['lengthB'];this._eo1=data['ratio']}};_Ss1._AZ(_to1);function _Oo1(_8c1){this.parent.call(this,_8c1);this._Rl1=0;this._Sl1=0;this._2t1=new _V_();this._3t1=new _V_();this._gp1=new _V_();this._hp1=new _V_();this._ip1=new _V_();this._jp1=new _V_();this._kp1=0;this._lp1=0;this._mp1=0;this._np1=0;this._Wb1=0;this._4t1=_8c1._Ts1._O8();this._5t1=_8c1._Us1._O8();this._4p1=_8c1._Wo1._O8();this._5p1=_8c1._Xo1._O8();
this._6t1=_8c1._Vs1;this._7t1=_8c1._Ws1;_6_(_8c1._eo1!=0.0);this._Rr1=_8c1._eo1;this._Sr1=_8c1._Vs1+this._Rr1*_8c1._Ws1;this._7p1=0.0}_Oo1.prototype={_tg1:function(){return this._gf1._Qc1(this._4p1)},_ug1:function(){return this._ef1._Qc1(this._5p1)},_wo1:function(_je1){var _f81=_V_.Multiply(this._7p1,this._3t1);return _V_.Multiply(_je1,_f81)},_xo1:function(_je1){return 0.0},_yg1:function(){return this._4t1},_zg1:function(){return this._5t1},_8t1:function(){return this._6t1},_9t1:function(){return this._7t1}
,_gs1:function(){return this._Rr1},_at1:function(){var _KA=this._gf1._Qc1(this._4p1);var _Rw=this._4t1;var _Al=_V_._201(_KA,_Rw);return _Al.Length()},_bt1:function(){var _KA=this._ef1._Qc1(this._5p1);var _Rw=this._5t1;var _Al=_V_._201(_KA,_Rw);return _Al.Length()},_w41:function(_x41){this._4t1._201(_x41);this._5t1._201(_x41)},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._ip1._Z_(this._gf1._Ib1._K01);this._jp1._Z_(this._ef1._Ib1._K01);this._kp1=this._gf1._Xb1;this._lp1=this._ef1._Xb1;
this._mp1=this._gf1._Zb1;this._np1=this._ef1._Zb1;var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);this._gp1._Z_(_711(_Gp1,_V_._201(this._4p1,this._ip1)));this._hp1._Z_(_711(_Hp1,_V_._201(this._5p1,this._jp1)));this._2t1._Z_(_V_._4j(_uf1,
_V_._201(this._gp1,this._4t1)));this._3t1._Z_(_V_._4j(_wf1,_V_._201(this._hp1,this._5t1)));var _Vs1=this._2t1.Length();var _Ws1=this._3t1.Length();if(_Vs1>10.0*_f_){this._2t1.Multiply(1.0/_Vs1)}else {this._2t1._W_()}if(_Ws1>10.0*_f_){this._3t1.Multiply(1.0/_Ws1)}else {this._3t1._W_();}var _ct1=_U01(this._gp1,this._2t1);var _dt1=_U01(this._hp1,this._3t1);var _4n1=this._kp1+this._mp1*_ct1*_ct1;var _5n1=this._lp1+this._np1*_dt1*_dt1;this._Wb1=_4n1+this._Rr1*this._Rr1*_5n1;if(this._Wb1>0.0){this._Wb1=1.0/this._Wb1}
if(data._JZ._ne1){this._7p1*=data._JZ._ke1;var _et1=_V_.Multiply(-(this._7p1),this._2t1);var _ft1=_V_.Multiply((-this._Rr1*this._7p1),this._3t1);_7n1._4j(_V_.Multiply(this._kp1,_et1));_U41+=this._mp1*_U01(this._gp1,_et1);_9n1._4j(_V_.Multiply(this._lp1,_ft1));_V41+=this._np1*_U01(this._hp1,_ft1)}else {this._7p1=0.0}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_sn1:function(data){var _7n1=data._se1[this._Rl1]._uc._O8();
var _U41=data._se1[this._Rl1]._S3;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _oq1=_V_._4j(_7n1,_W01(_U41,this._gp1));var _pq1=_V_._4j(_9n1,_W01(_V41,this._hp1));var _Jp1=-_T01(this._2t1,_oq1)-this._Rr1*_T01(this._3t1,_pq1);var _Kc1=-this._Wb1*_Jp1;this._7p1+=_Kc1;var _et1=_V_.Multiply(-_Kc1,this._2t1);var _ft1=_V_.Multiply(-this._Rr1,_V_.Multiply(_Kc1,this._3t1));_7n1._4j(_V_.Multiply(this._kp1,_et1));_U41+=this._mp1*_U01(this._gp1,_et1);_9n1._4j(_V_.Multiply(this._lp1,
_ft1));_V41+=this._np1*_U01(this._hp1,_ft1);data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},_Nn1:function(data){var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);var _X51=_711(_Gp1,_V_._201(this._4p1,this._ip1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _gt1=_V_._4j(_uf1,_V_._201(_X51,
this._4t1));var _ht1=_V_._4j(_wf1,_V_._201(_Y51,this._5t1));var _Vs1=_gt1.Length();var _Ws1=_ht1.Length();if(_Vs1>10.0*_f_){_gt1.Multiply(1.0/_Vs1)}else {_gt1._W_()}if(_Ws1>10.0*_f_){_ht1.Multiply(1.0/_Ws1)}else {_ht1._W_()}var _ct1=_U01(_X51,_gt1);var _dt1=_U01(_Y51,_ht1);var _4n1=this._kp1+this._mp1*_ct1*_ct1;var _5n1=this._lp1+this._np1*_dt1*_dt1;var _621=_4n1+this._Rr1*this._Rr1*_5n1;if(_621>0.0){_621=1.0/_621}var _d11=this._Sr1-_Vs1-this._Rr1*_Ws1;var _Wq1=_h11(_d11);var _Kc1=-_621*_d11;var _et1=_V_.Multiply(-_Kc1,
_gt1);var _ft1=_V_.Multiply(-this._Rr1,_V_.Multiply(_Kc1,_ht1));_uf1._4j(_V_.Multiply(this._kp1,_et1));_6n1+=this._mp1*_U01(_X51,_et1);_wf1._4j(_V_.Multiply(this._lp1,_ft1));_8n1+=this._np1*_U01(_Y51,_ft1);data._re1[this._Rl1]._R3._Z_(_uf1);data._re1[this._Rl1]._gc=_6n1;data._re1[this._Sl1]._R3._Z_(_wf1);data._re1[this._Sl1]._gc=_8n1;return _Wq1<_f_},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['groundAnchorA']=this._4t1._801();_Dw['groundAnchorB']=this._5t1._801();
_Dw['localAnchorA']=this._4p1._801();_Dw['localAnchorB']=this._5p1._801();_Dw['lengthA']=this._6t1;_Dw['lengthB']=this._7t1;_Dw['ratio']=this._Rr1;return _Dw}};_Oo1._AZ(_cf1);function _it1(){this.parent.call(this);this.type=_cf1._Jo1;this._Wo1=new _V_(-1.0,0.0);this._Xo1=new _V_(1.0,0.0);this._jt1=0.0;Object.seal(this)}_it1.prototype={_a01:function(data,_ng1,_vo1){this.parent.prototype._a01.call(this,data,_ng1,_vo1);this._Wo1._a01(data['localAnchorA']);this._Xo1._a01(data['localAnchorB']);this._jt1=data['maxLength']}
};_it1._AZ(_to1);function _To1(_8c1){this.parent.call(this,_8c1);this._4p1=_8c1._Wo1._O8();this._5p1=_8c1._Xo1._O8();this._kt1=_8c1._jt1;this._Wb1=0.0;this._7p1=0.0;this._lt1=_cf1._zo1;this._gq1=0.0;this._Rl1=0;this._Sl1=0;this._iq1=new _V_();this._gp1=new _V_();this._hp1=new _V_();this._ip1=new _V_();this._jp1=new _V_();this._kp1=0;this._lp1=0;this._mp1=0;this._np1=0}_To1.prototype={_tg1:function(){return this._gf1._Qc1(this._4p1)},_ug1:function(){return this._ef1._Qc1(this._5p1)},_wo1:function(_je1){var _qa1=_V_.Multiply((_je1*this._7p1),
this._iq1);return _qa1},_xo1:function(_je1){return 0.0},_pp1:function(){return this._4p1},_qp1:function(){return this._5p1},_mt1:function(length){this._kt1=length},_nt1:function(){return this._kt1},_ot1:function(){return this._lt1},_ao1:function(data){this._Rl1=this._gf1._zb1;this._Sl1=this._ef1._zb1;this._ip1._Z_(this._gf1._Ib1._K01);this._jp1._Z_(this._ef1._Ib1._K01);this._kp1=this._gf1._Xb1;this._lp1=this._ef1._Xb1;this._mp1=this._gf1._Zb1;this._np1=this._ef1._Zb1;var _uf1=data._re1[this._Rl1]._R3._O8();
var _6n1=data._re1[this._Rl1]._gc;var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);this._gp1._Z_(_711(_Gp1,_V_._201(this._4p1,this._ip1)));this._hp1._Z_(_711(_Hp1,_V_._201(this._5p1,this._jp1)));this._iq1._Z_(_V_._201(_V_._201(_V_._4j(_wf1,this._hp1),_uf1),this._gp1));this._gq1=this._iq1.Length();
var _d11=this._gq1-this._kt1;if(_d11>0.0){this._lt1=_cf1._Bo1}else {this._lt1=_cf1._zo1}if(this._gq1>_f_){this._iq1.Multiply(1.0/this._gq1)}else {this._iq1._W_();this._Wb1=0.0;this._7p1=0.0;return }var _pt1=_U01(this._gp1,this._iq1);var _qt1=_U01(this._hp1,this._iq1);var _nq1=this._kp1+this._mp1*_pt1*_pt1+this._lp1+this._np1*_qt1*_qt1;this._Wb1=_nq1!=0.0?1.0/_nq1:0.0;if(data._JZ._ne1){this._7p1*=data._JZ._ke1;var _f81=_V_.Multiply(this._7p1,this._iq1);_7n1._201(_V_.Multiply(this._kp1,_f81));_U41-=this._mp1*_U01(this._gp1,
_f81);_9n1._4j(_V_.Multiply(this._lp1,_f81));_V41+=this._np1*_U01(this._hp1,_f81)}else {this._7p1=0.0}data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41;},_sn1:function(data){var _7n1=data._se1[this._Rl1]._uc._O8();var _U41=data._se1[this._Rl1]._S3;var _9n1=data._se1[this._Sl1]._uc._O8();var _V41=data._se1[this._Sl1]._S3;var _oq1=_V_._4j(_7n1,_W01(_U41,this._gp1));var _pq1=_V_._4j(_9n1,_W01(_V41,this._hp1));var _d11=this._gq1-this._kt1;
var _Jp1=_T01(this._iq1,_V_._201(_pq1,_oq1));if(_d11<0.0){_Jp1+=data._JZ._je1*_d11}var _Kc1=-this._Wb1*_Jp1;var _Kp1=this._7p1;this._7p1=_k11(0.0,this._7p1+_Kc1);_Kc1=this._7p1-_Kp1;var _f81=_V_.Multiply(_Kc1,this._iq1);_7n1._201(_V_.Multiply(this._kp1,_f81));_U41-=this._mp1*_U01(this._gp1,_f81);_9n1._4j(_V_.Multiply(this._lp1,_f81));_V41+=this._np1*_U01(this._hp1,_f81);data._se1[this._Rl1]._uc._Z_(_7n1);data._se1[this._Rl1]._S3=_U41;data._se1[this._Sl1]._uc._Z_(_9n1);data._se1[this._Sl1]._S3=_V41},
_Nn1:function(data){var _uf1=data._re1[this._Rl1]._R3._O8();var _6n1=data._re1[this._Rl1]._gc;var _wf1=data._re1[this._Sl1]._R3._O8();var _8n1=data._re1[this._Sl1]._gc;var _Gp1=new _D01(_6n1),_Hp1=new _D01(_8n1);var _X51=_711(_Gp1,_V_._201(this._4p1,this._ip1));var _Y51=_711(_Hp1,_V_._201(this._5p1,this._jp1));var _sc=_V_._201(_V_._201(_V_._4j(_wf1,_Y51),_uf1),_X51);var length=_sc._401();var _d11=length-this._kt1;_d11=_o11(_d11,0.0,_l_);var _Kc1=-this._Wb1*_d11;var _f81=_V_.Multiply(_Kc1,_sc);_uf1._201(_V_.Multiply(this._kp1,
_f81));_6n1-=this._mp1*_U01(_X51,_f81);_wf1._4j(_V_.Multiply(this._lp1,_f81));_8n1+=this._np1*_U01(_Y51,_f81);data._re1[this._Rl1]._R3._Z_(_uf1);data._re1[this._Rl1]._gc=_6n1;data._re1[this._Sl1]._R3._Z_(_wf1);data._re1[this._Sl1]._gc=_8n1;return length-this._kt1<_f_},_801:function(_901){var _Dw=_901||{};this.parent.prototype._801.call(this,_Dw);_Dw['localAnchorA']=this._4p1._801();_Dw['localAnchorB']=this._5p1._801();_Dw['maxLength']=this._kt1;return _Dw}};_To1._AZ(_cf1);var _rt1=Math.exp;function _st1(){
this.vertices=null;this._Fb=0;this._tt1=null;this._ye1=new _V_();this._Mg1=0.1;this._ut1=0.9;this._vt1=0.1}function _wt1(){this._U21=0;this._xt1=null;this._yt1=null;this._zt1=null;this._At1=null;this._Bt1=null;this._Ct1=null;this._Dt1=0;this._Ke1=new _V_();this._Et1=1.0;this._Ft1=0.1}_wt1.prototype={_n61:function(_8c1){_6_(_8c1._Fb>=3);this._U21=_8c1._Fb;this._xt1=new Array(this._U21);this._yt1=new Array(this._U21);this._zt1=new Array(this._U21);this._At1=new Array(this._U21);for(var _Q3=0;_Q3<this._U21;
++_Q3){this._xt1[_Q3]=_8c1.vertices[_Q3]._O8();this._yt1[_Q3]=_8c1.vertices[_Q3]._O8();this._zt1[_Q3]=new _V_();var _ua=_8c1._tt1[_Q3];if(_ua>0.0){this._At1[_Q3]=1.0/_ua}else {this._At1[_Q3]=0.0}}var _r71=this._U21-1;var _Gt1=this._U21-2;this._Bt1=new Array(_r71);this._Ct1=new Array(_Gt1);for(var _Q3=0;_Q3<_r71;++_Q3){var _M11=this._xt1[_Q3];var _N11=this._xt1[_Q3+1];this._Bt1[_Q3]=_Z01(_M11,_N11)}for(var _Q3=0;_Q3<_Gt1;++_Q3){var _M11=this._xt1[_Q3];var _N11=this._xt1[_Q3+1];var _M31=this._xt1[_Q3+2];var _D21=_V_._201(_N11,
_M11);var _ik1=_V_._201(_M31,_N11);var _gc=_U01(_D21,_ik1);var _La=_T01(_D21,_ik1);this._Ct1[_Q3]=_T_(_gc,_La)}this._Ke1=_8c1._ye1._O8();this._Dt1=_8c1._Mg1;this._Et1=_8c1._ut1;this._Ft1=_8c1._vt1},_lf1:function(_T3,_S41){if(_T3==0.0){return }var _Al=_rt1(-_T3*this._Dt1);for(var _Q3=0;_Q3<this._U21;++_Q3){this._yt1[_Q3]._Z_(this._xt1[_Q3]);if(this._At1[_Q3]>0.0){this._zt1[_Q3]._4j(_V_.Multiply(_T3,this._Ke1))}this._zt1[_Q3].Multiply(_Al);this._xt1[_Q3]._4j(_V_.Multiply(_T3,this._zt1[_Q3]))}for(var _Q3=0;
_Q3<_S41;++_Q3){this._Ht1();this._It1();this._Ht1()}var _Qs1=1.0/_T3;for(var _Q3=0;_Q3<this._U21;++_Q3){this._zt1[_Q3]=_V_.Multiply(_Qs1,_V_._201(this._xt1[_Q3],this._yt1[_Q3]))}},_gg:function(){return this._U21},_Jt1:function(){return this._xt1},_6c:function(_Kt1){var _R3=new _w11(0.4,0.5,0.7);for(var _Q3=0;_Q3<this._U21-1;++_Q3){_Kt1._L11(this._xt1[_Q3],this._xt1[_Q3+1],_R3)}},_Lt1:function(angle){var _Gt1=this._U21-2;for(var _Q3=0;_Q3<_Gt1;++_Q3){this._Ct1[_Q3]=angle}},_Ht1:function(){var _r71=this._U21-1;
for(var _Q3=0;_Q3<_r71;++_Q3){var _M11=this._xt1[_Q3];var _N11=this._xt1[_Q3+1];var _Al=_V_._201(_N11,_M11);var _cs1=_Al._401();var _Mt1=this._At1[_Q3];var _Nt1=this._At1[_Q3+1];if(_Mt1+_Nt1==0.0){continue }var _bt=_Mt1/(_Mt1+_Nt1);var _ct=_Nt1/(_Mt1+_Nt1);_M11._201(_V_.Multiply(this._Et1*_bt*(this._Bt1[_Q3]-_cs1),_Al));_N11._4j(_V_.Multiply(this._Et1*_ct*(this._Bt1[_Q3]-_cs1),_Al))}},_It1:function(){var _Gt1=this._U21-2;for(var _Q3=0;_Q3<_Gt1;++_Q3){var _M11=this._xt1[_Q3];var _N11=this._xt1[_Q3+1];var _M31=this._xt1[_Q3+2];
var _Ot1=this._At1[_Q3];var _Pt1=this._At1[_Q3+1];var _Qt1=this._At1[_Q3+2];var _D21=_V_._201(_N11,_M11);var _ik1=_V_._201(_M31,_N11);var _Rt1=_D21._301();var _St1=_ik1._301();if(_Rt1*_St1==0.0){continue }var _gc=_U01(_D21,_ik1);var _La=_T01(_D21,_ik1);var angle=_T_(_gc,_La);var _Tt1=_V_.Multiply((-1.0/_Rt1),_D21._701());var _Ut1=_V_.Multiply((1.0/_St1),_ik1._701());var _Vt1=_V_.___(_Tt1);var _Wt1=_V_._201(_Tt1,_Ut1);var _Xt1=_Ut1;var _621=_Ot1*_T01(_Vt1,_Vt1)+_Pt1*_T01(_Wt1,_Wt1)+_Qt1*_T01(_Xt1,_Xt1);if(_621==0.0){
continue }_621=1.0/_621;var _d11=angle-this._Ct1[_Q3];while(_d11>_a_){angle-=2*_a_;_d11=angle-this._Ct1[_Q3]}while(_d11<-_a_){angle+=2.0*_a_;_d11=angle-this._Ct1[_Q3]}var _Kc1=-this._Ft1*_621*_d11;_M11._4j(_V_.Multiply((_Ot1*_Kc1),_Vt1));_N11._4j(_V_.Multiply((_Pt1*_Kc1),_Wt1));_M31._4j(_V_.Multiply((_Qt1*_Kc1),_Xt1))}}};var _Yt1={/*@param {b2World} world */_Zt1:function(_yb1){var __t1=[];/*@type Number */var _Q3;/*@type String */var _0u1;/*@type b2Body */var _La;/*@type b2Fixture */var _3w;/*@type b2Shape */var _u21;
for(_La=_yb1._Ff1();_La;_La=_La._ld1()){for(_3w=_La._id1();_3w;_3w=_3w._ld1()){_u21=_3w._Gd1();_3w._1u1=__t1.length;__t1.push(_u21._801())}}var _2u1=[];for(_La=_yb1._Ff1();_La;_La=_La._ld1()){_La._3u1=[];for(_3w=_La._id1();_3w;_3w=_3w._ld1()){_0u1=_3w._801();_0u1['shape']=_3w._1u1;delete _3w._1u1;_La._3u1.push(_2u1.length);_2u1.push(_0u1)}}var _ng1=[];for(_La=_yb1._Ff1();_La;_La=_La._ld1()){_0u1=_La._801();_0u1._2u1=[];for(_Q3=0;_Q3<_La._3u1.length;++_Q3)_0u1._2u1.push(_La._3u1[_Q3]);delete _La._3u1;
_La._4u1=_ng1.length;_ng1.push(_0u1)};var _vo1=[];/*@type b2Joint */var _Pa;for(_Pa=_yb1._jd1(),_Q3=0;_Pa;_Pa=_Pa._ld1(),++_Q3)_Pa._xs1=_Q3;for(_Pa=_yb1._jd1();_Pa;_Pa=_Pa._ld1()){if(_Pa._a21()===_cf1._Ag1)continue;_0u1=_Pa._801();_0u1['bodyA']=_Pa._rg1()._4u1;_0u1['bodyB']=_Pa._sg1()._4u1;_vo1.push(_0u1)}for(_Pa=_yb1._jd1();_Pa;_Pa=_Pa._ld1())delete _Pa._xs1;for(_La=_yb1._Ff1();_La;_La=_La._ld1())delete _La._4u1;var _Yi={__t1:__t1,_2u1:_2u1,_ng1:_ng1,_vo1:_vo1};return _Yi},/*@param {b2World} world */_5u1:function(_0u1,
_yb1,clear){var _6u1=JSON.parse(_0u1);if(clear){for(var _La=_yb1._Ff1();_La;){var _zj=_La._ld1();_yb1._5f1(_La);_La=_zj}for(var _Pa=_yb1._jd1();_Pa;){var _zj=_Pa._ld1();_yb1._8f1(_Pa);_Pa=_zj}}var __t1=[];for(var _Q3=0;_Q3<_6u1.__t1.length;++_Q3){var _7u1=_6u1.__t1[_Q3];var _u21;switch(_7u1._PH){case _821._n21:_u21=new _s21();break;case _821._o21:_u21=new _E21();break;case _821._q21:_u21=new _S21();break;case _821._p21:_u21=new _931();break }_u21._a01(_7u1);__t1.push(_u21)}var _2u1=[];for(_Q3=0;_Q3<_6u1._2u1.length;
++_Q3){var _8u1=_6u1._2u1[_Q3];var _fP=new _ac1();_fP._a01(_8u1);_fP._u21=__t1[_8u1['shape']];_2u1.push(_fP)}var _ng1=[];for(_Q3=0;_Q3<_6u1._ng1.length;++_Q3){var _9u1=_6u1._ng1[_Q3];var _8c1=new _lb1();_8c1._a01(_9u1);var body=_yb1._UP(_8c1);for(var x=0;x<_9u1._2u1.length;++x)body._7c1(_2u1[_9u1._2u1[x]]);_ng1.push(body)}var _vo1=[];var _au1=[];for(_Q3=0;_Q3<_6u1._vo1.length;++_Q3){var _bu1=_6u1._vo1[_Q3];var _cu1;switch(_bu1.type){case _cf1._Do1:_cu1=new _Vo1();break;case _cf1._Eo1:_cu1=new _qq1();break;case _cf1._vg1:_cu1=new _dq1();
break;case _cf1._wg1:_cu1=new _Ss1();break;case _cf1._Fo1:_cu1=new _sr1();break;case _cf1._Go1:_cu1=new _cr1();break;case _cf1._Ho1:_cu1=new _ar1();break;case _cf1._Io1:_cu1=new _Zq1();break;case _cf1._Jo1:_cu1=new _it1();break;case _cf1._Bg1:_cu1=new _ys1();break;default :throw new Error('unknown joint')}_cu1._a01(_bu1,_ng1);if(_bu1.type===_cf1._Fo1){_au1.push([_cu1,_vo1.length]);_vo1.push(null)}else {var _rd1=_yb1._bf1(_cu1);_vo1.push(_rd1)}}for(_Q3=0;_Q3<_au1.length;++_Q3){_au1[_Q3][0]._tr1=_vo1[_au1[_Q3][0]._tr1];
_au1[_Q3][0]._ur1=_vo1[_au1[_Q3][0]._ur1];_rd1=_yb1._bf1(_au1[_Q3][0]);_vo1[_au1[_Q3][1]]=_rd1}}};var _du1=(function(){function _eu1(_Dw){return new _V_(_Dw?(_Dw.x||0):0,_Dw?(_Dw.y||0):0)}function _fu1(_Dw){var _gu1=new Array(_Dw.x.length);for(var _Q3=0;_Q3<_gu1.length;++_Q3)_gu1[_Q3]=new _V_(_Dw.x[_Q3],_Dw.y[_Q3]);return _gu1}function _hu1(_Dw,_iu1){var name=_Dw.name;var _ug;if(typeof(_Dw['int'])!=='undefined')_ug=_Dw['int'];else if(typeof(_Dw['float'])!=='undefined')_ug=_Dw['float'];else if(typeof(_Dw['string'])!=='undefined')_ug=_Dw['string'];
else if(typeof(_Dw['bool'])!=='undefined')_ug=_Dw['bool'];else if(typeof(_Dw._ju1)!=='undefined')_ug=_eu1(_Dw._ju1);else throw new Error("unknown property type");if(_iu1.hasOwnProperty(name))throw new Error("custom property possibly overwriting an existing one");_iu1[name]=_ug}function _ku1(_Dw,body){var _8c1=new _ac1();_8c1._j21=_Dw._j21||0;_8c1._go._ud1=typeof(_Dw['filter-categoryBits'])==='undefined'?1:_Dw['filter-categoryBits'];_8c1._go._vd1=typeof(_Dw['filter-maskBits'])==='undefined'?65535:_Dw['filter-maskBits'];
_8c1._go._wd1=typeof(_Dw['filter-groupIndex'])==='undefined'?0:_Dw['filter-groupIndex'];_8c1._xd1=_Dw._xd1||0;_8c1._yd1=_Dw._yd1||0;_8c1._zd1=_Dw._Hd1||0;var _u21;if(typeof(_Dw._A41)!=='undefined'){_u21=new _s21();_u21._t21=_eu1(_Dw._A41._H11);_u21._921=_Dw._A41._I11||0}else if(typeof(_Dw._B41)!=='undefined'){var vertices=_fu1(_Dw._B41.vertices);_u21=new _931();_u21._sj(vertices,vertices.length)}else if(typeof(_Dw._C41)!=='undefined'){var vertices=_fu1(_Dw._C41.vertices);_u21=new _S21();_u21._U21=vertices.length;
_u21._T21=vertices;if(_u21._Y21=_Dw._C41._lu1)_u21._W21=_eu1(_Dw._C41._431);if(_u21._X21=_Dw._C41._mu1)_u21._V21=_eu1(_Dw._C41._231)}else throw new Error("unknown shape type");_8c1._u21=_u21;var _fP=body._7c1(_8c1);_fP.name=_Dw.name;if(_Dw._nu1)for(var _Q3=0;_Q3<_Dw._nu1.length;++_Q3)_hu1(_Dw,_fP)}function _ou1(_Dw,_yb1){var _8c1=new _lb1();_8c1.type=_Dw.type||_mb1._nb1;_8c1.angle=_Dw.angle||0;_8c1._rb1=_Dw._rb1||0;_8c1._pb1=_Dw._pb1||0;_8c1._tb1=_Dw._tb1||!1;_8c1._vb1=_Dw._vb1||!1;_8c1._ub1=_Dw._ub1||!1;
_8c1._qb1=_Dw._qb1||!1;_8c1._ob1=_eu1(_Dw._ob1);_8c1._wb1=typeof(_Dw._wb1)!=='undefined'?_Dw._wb1:1;var _pu1=new _521();_pu1._621=_Dw['massData-mass']||0;_pu1._H11=_eu1(_Dw['massData-center']);_pu1._721=_Dw['massData-I']||0;_8c1.position=_eu1(_Dw.position);var body=_yb1._UP(_8c1);body.name=_Dw.name;body._Pc1(_pu1);if(_Dw._fP)for(var _Q3=0;_Q3<_Dw._fP.length;++_Q3)_ku1(_Dw._fP[_Q3],body);if(_Dw._nu1)for(_Q3=0;_Q3<_Dw._nu1.length;++_Q3)_hu1(_Dw,body);return body}var _qu1={'revolute':_Vo1,'distance':_dq1,
'prismatic':_qq1,'wheel':_cr1,'rope':_it1,'motor':_ys1,'weld':_ar1,'friction':_Zq1};function _ru1(_Dw,_yb1,_ng1){if(!_qu1[_Dw.type])throw new Error("unknown joint type");var _su1=new _qu1[_Dw.type]();switch(_su1.type){case _cf1._Do1:_su1._Wo1=_eu1(_Dw._Zs1);_su1._Xo1=_eu1(_Dw.__s1);_su1._2p1=_Dw._2p1||!1;_su1._3p1=_Dw._3p1||!1;_su1._Zo1=_Dw._tu1||0;_su1._0p1=_Dw._0p1||0;_su1._1p1=_Dw._1p1||0;_su1._Yo1=_Dw._uu1||0;_su1.__o1=_Dw._vu1||0;break;case _cf1._vg1:_su1._Wo1=_eu1(_Dw._Zs1);_su1._Xo1=_eu1(_Dw.__s1);
_su1._Wp1=_Dw._Wp1||0;_su1._Vp1=_Dw._wu1||0;_su1.length=_Dw.length||0;break;case _cf1._Eo1:_su1._Wo1=_eu1(_Dw._Zs1);_su1._Xo1=_eu1(_Dw.__s1);_su1._2p1=_Dw._2p1||!1;_su1._3p1=_Dw._3p1||!1;_su1._rq1=_eu1(_Dw._rq1);_su1._sq1=_Dw._tu1||0;_su1._uq1=_Dw._uq1||0;_su1._1p1=_Dw._1p1||0;_su1._Yo1=_Dw._uu1||0;_su1._tq1=_Dw._vu1||0;break;case _cf1._Go1:_su1._Wo1=_eu1(_Dw._Zs1);_su1._Xo1=_eu1(_Dw.__s1);_su1._3p1=_Dw._3p1||!1;_su1._rq1=_eu1(_Dw._rq1);_su1._0p1=_Dw._0p1||0;_su1._1p1=_Dw._1p1||0;_su1._Wp1=_Dw._xu1||0;
_su1._Vp1=_Dw._yu1||0;break;case _cf1._Jo1:_su1._Wo1=_eu1(_Dw._Zs1);_su1._Xo1=_eu1(_Dw.__s1);_su1._jt1=_Dw._jt1||0;break;case _cf1._Bg1:_su1._zs1=_eu1(_Dw._Zs1);_su1._As1=_Dw._uu1||0;_su1._Up1=_Dw._Up1||0;_su1.__q1=_Dw.__q1||0;_su1._Bs1=_Dw._Bs1||0;break;case _cf1._Ho1:_su1._Wo1=_eu1(_Dw._Zs1);_su1._Xo1=_eu1(_Dw.__s1);_su1._Yo1=_Dw._uu1||0;_su1._Wp1=_Dw._Wp1||0;_su1._Vp1=_Dw._Vp1||0;break;case _cf1._Io1:_su1._Wo1=_eu1(_Dw._Zs1);_su1._Xo1=_eu1(_Dw.__s1);_su1._Up1=_Dw._Up1||0;_su1.__q1=_Dw.__q1||0;break;
default :throw new Error("wat?");}_su1._if1=_ng1[_Dw._if1||0];_su1._jf1=_ng1[_Dw._jf1||0];_su1._kf1=_Dw._kf1||!1;var _rd1=_yb1._bf1(_su1);_rd1.name=_Dw.name;if(_Dw._nu1)for(var _Q3=0;_Q3<_Dw._nu1.length;++_Q3)_hu1(_Dw,_rd1);return _rd1}function _zu1(){this._yb1=null;this._me1=0;this._le1=0;this._Au1=0;this._2u1={};this._ng1={};this._vo1={};Object.seal(this)}function _Bu1(_Dw,_yb1){var _qt=new _zu1();_qt._yb1=_yb1=_yb1||new _lc1(new _V_(0,0));_qt._me1=_Dw._me1||0;_qt._le1=_Dw._le1||0;_qt._Au1=_Dw._Au1||0;if(_Dw._ye1)_yb1._9P(_eu1(_Dw._ye1));
_yb1._Gf1(_Dw._sb1||!1);_yb1._Tf1(_Dw._Cu1||!1);_yb1._If1(_Dw._ne1||!1);_yb1._Kf1(_Dw._Du1||!1);_yb1._Mf1(_Dw._Eu1||!1);var _ng1=[];var _Fu1=_Dw.body;if(_Fu1){for(var _Q3=0;_Q3<_Fu1.length;++_Q3){var body=_ou1(_Fu1[_Q3],_yb1);_ng1.push(body);for(var _3w=body._id1();_3w;_3w=_3w._ld1()){if(!_qt._2u1[_3w.name])_qt._2u1[_3w.name]=[];_qt._2u1[_3w.name].push(_3w)}if(!_qt._ng1[body.name])_qt._ng1[body.name]=[];_qt._ng1[body.name].push(body)}}var _vo1=[];var _Gu1=_Dw._rd1;if(_Gu1){for(_Q3=0;_Q3<_Gu1.length;++_Q3){
var _rd1=_ru1(_Gu1[_Q3],_yb1,_ng1);_vo1.push(_rd1);if(!_qt._vo1[_rd1.name])_qt._vo1[_rd1.name]=[];_qt._vo1[_rd1.name].push(_rd1)}}return _qt}var _Yi={_Bu1:_Bu1};return _Yi})();var _Hu1=[{"trimmed":"version","name":"b2_version","def":_K_},{"trimmed":"Vec2","name":"b2Vec2","def":_V_},{"trimmed":"Vec3","name":"b2Vec3","def":_c01},{"trimmed":"Mat22","name":"b2Mat22","def":_e01},{"trimmed":"Mat33","name":"b2Mat33","def":_q01},{"trimmed":"Rot","name":"b2Rot","def":_D01},{"trimmed":"Transform","name":"b2Transform",
"def":_H01},{"trimmed":"Sweep","name":"b2Sweep","def":_J01},{"trimmed":"Dot_v2_v2","name":"b2Dot_v2_v2","def":_T01},{"trimmed":"Cross_v2_v2","name":"b2Cross_v2_v2","def":_U01},{"trimmed":"Cross_v2_f","name":"b2Cross_v2_f","def":_V01},{"trimmed":"Cross_f_v2","name":"b2Cross_f_v2","def":_W01},{"trimmed":"Mul_m22_v2","name":"b2Mul_m22_v2","def":_X01},{"trimmed":"MulT_m22_v2","name":"b2MulT_m22_v2","def":_Y01},{"trimmed":"Distance","name":"b2Distance","def":_Z01},{"trimmed":"DistanceSquared","name":"b2DistanceSquared",
"def":__01},{"trimmed":"Dot_v3_v3","name":"b2Dot_v3_v3","def":_u01},{"trimmed":"Cross_v3_v3","name":"b2Cross_v3_v3","def":_v01},{"trimmed":"Mul_m22_m22","name":"b2Mul_m22_m22","def":_011},{"trimmed":"MulT_m22_m22","name":"b2MulT_m22_m22","def":_111},{"trimmed":"Mul_m33_v3","name":"b2Mul_m33_v3","def":_211},{"trimmed":"Mul22_m33_v2","name":"b2Mul22_m33_v2","def":_311},{"trimmed":"Mul_r_r","name":"b2Mul_r_r","def":_411},{"trimmed":"MulT_r_r","name":"b2MulT_r_r","def":_611},{"trimmed":"Mul_r_v2","name":"b2Mul_r_v2",
"def":_711},{"trimmed":"MulT_r_v2","name":"b2MulT_r_v2","def":_811},{"trimmed":"Mul_t_v2","name":"b2Mul_t_v2","def":_911},{"trimmed":"Min_v2","name":"b2Min_v2","def":_l11},{"trimmed":"Max_v2","name":"b2Max_v2","def":_n11},{"trimmed":"Clamp","name":"b2Clamp","def":_o11},{"trimmed":"MulT_t_v2","name":"b2MulT_t_v2","def":_b11},{"trimmed":"Mul_t_t","name":"b2Mul_t_t","def":_c11},{"trimmed":"MulT_t_t","name":"b2MulT_t_t","def":_e11},{"trimmed":"Clamp_v2","name":"b2Clamp_v2","def":_p11},{"trimmed":"NextPowerOfTwo",
"name":"b2NextPowerOfTwo","def":_q11},{"trimmed":"Abs_v2","name":"b2Abs_v2","def":_i11},{"trimmed":"Abs_m22","name":"b2Abs_m22","def":_j11},{"trimmed":"IsPowerOfTwo","name":"b2IsPowerOfTwo","def":_r11},{"trimmed":"RandomFloat","name":"b2RandomFloat","def":_t11},{"trimmed":"Timer","name":"b2Timer","def":_221},{"trimmed":"Color","name":"b2Color","def":_w11},{"trimmed":"Draw","name":"b2Draw","def":_x11},{"trimmed":"ContactID","name":"b2ContactID","def":__51},{"trimmed":"ManifoldPoint","name":"b2ManifoldPoint",
"def":_461},{"trimmed":"Manifold","name":"b2Manifold","def":_961},{"trimmed":"WorldManifold","name":"b2WorldManifold","def":_l61},{"trimmed":"GetPointStates","name":"b2GetPointStates","def":_G61},{"trimmed":"ClipVertex","name":"b2ClipVertex","def":_L61},{"trimmed":"RayCastInput","name":"b2RayCastInput","def":_M61},{"trimmed":"RayCastOutput","name":"b2RayCastOutput","def":_N61},{"trimmed":"AABB","name":"b2AABB","def":_O61},{"trimmed":"CollideCircles","name":"b2CollideCircles","def":_371},{"trimmed":"CollidePolygonAndCircle",
"name":"b2CollidePolygonAndCircle","def":_771},{"trimmed":"FindMaxSeparation","name":"b2FindMaxSeparation","def":_k71},{"trimmed":"FindIncidentEdge","name":"b2FindIncidentEdge","def":_y71},{"trimmed":"CollidePolygons","name":"b2CollidePolygons","def":_I71},{"trimmed":"CollideEdgeAndCircle","name":"b2CollideEdgeAndCircle","def":_d81},{"trimmed":"EPAxis","name":"b2EPAxis","def":_r81},{"trimmed":"TempPolygon","name":"b2TempPolygon","def":_v81},{"trimmed":"ReferenceFace","name":"b2ReferenceFace","def":_w81}
,{"trimmed":"EPCollider","name":"b2EPCollider","def":_z81},{"trimmed":"CollideEdgeAndPolygon","name":"b2CollideEdgeAndPolygon","def":_e91},{"trimmed":"ClipSegmentToLine","name":"b2ClipSegmentToLine","def":_a81},{"trimmed":"TestShapeOverlap","name":"b2TestShapeOverlap","def":_n91},{"trimmed":"TestOverlap","name":"b2TestOverlap","def":_f41},{"trimmed":"Shape","name":"b2Shape","def":_821},{"trimmed":"MassData","name":"b2MassData","def":_521},{"trimmed":"CircleShape","name":"b2CircleShape","def":_s21}
,{"trimmed":"EdgeShape","name":"b2EdgeShape","def":_E21},{"trimmed":"ChainShape","name":"b2ChainShape","def":_S21},{"trimmed":"PolygonShape","name":"b2PolygonShape","def":_931},{"trimmed":"Pair","name":"b2Pair","def":_N31},{"trimmed":"PairLessThan","name":"b2PairLessThan","def":_Q31},{"trimmed":"BroadPhase","name":"b2BroadPhase","def":_T31},{"trimmed":"DistanceProxy","name":"b2DistanceProxy","def":_z41},{"trimmed":"SimplexCache","name":"b2SimplexCache","def":_F41},{"trimmed":"DistanceInput","name":"b2DistanceInput",
"def":_J41},{"trimmed":"DistanceOutput","name":"b2DistanceOutput","def":_P41},{"trimmed":"SimplexVertex","name":"b2SimplexVertex","def":_T41},{"trimmed":"Simplex","name":"b2Simplex","def":_W41},{"trimmed":"DistanceFunc","name":"b2DistanceFunc","def":_I51},{"trimmed":"TreeNode","name":"b2TreeNode","def":_r91},{"trimmed":"DynamicTree","name":"b2DynamicTree","def":_V31},{"trimmed":"TOIInput","name":"b2TOIInput","def":_xa1},{"trimmed":"TOIOutput","name":"b2TOIOutput","def":_Ba1},{"trimmed":"SeparationFunction",
"name":"b2SeparationFunction","def":_Ga1},{"trimmed":"TimeOfImpact","name":"b2TimeOfImpact","def":_3b1},{"trimmed":"BodyDef","name":"b2BodyDef","def":_lb1},{"trimmed":"Body","name":"b2Body","def":_mb1},{"trimmed":"Filter","name":"b2Filter","def":_td1},{"trimmed":"FixtureDef","name":"b2FixtureDef","def":_ac1},{"trimmed":"Fixture","name":"b2Fixture","def":_cc1},{"trimmed":"DestructionListener","name":"b2DestructionListener","def":_Wd1},{"trimmed":"ContactFilter","name":"b2ContactFilter","def":_0e1}
,{"trimmed":"ContactImpulse","name":"b2ContactImpulse","def":_4e1},{"trimmed":"ContactListener","name":"b2ContactListener","def":_7e1},{"trimmed":"QueryCallback","name":"b2QueryCallback","def":_de1},{"trimmed":"RayCastCallback","name":"b2RayCastCallback","def":_ge1},{"trimmed":"TimeStep","name":"b2TimeStep","def":_he1},{"trimmed":"Position","name":"b2Position","def":_oe1},{"trimmed":"Velocity","name":"b2Velocity","def":_pe1},{"trimmed":"SolverData","name":"b2SolverData","def":_qe1},{"trimmed":"World",
"name":"b2World","def":_lc1},{"trimmed":"MixFriction","name":"b2MixFriction","def":_Dl1},{"trimmed":"MixRestitution","name":"b2MixRestitution","def":_Gl1},{"trimmed":"ContactRegister","name":"b2ContactRegister","def":_Jl1},{"trimmed":"ContactEdge","name":"b2ContactEdge","def":_Ll1},{"trimmed":"Contact","name":"b2Contact","def":_Wf1},{"trimmed":"CircleContact","name":"b2CircleContact","def":_9m1},{"trimmed":"PolygonContact","name":"b2PolygonContact","def":_im1},{"trimmed":"ChainAndCircleContact",
"name":"b2ChainAndCircleContact","def":_dm1},{"trimmed":"ChainAndPolygonContact","name":"b2ChainAndPolygonContact","def":_em1},{"trimmed":"EdgeAndCircleContact","name":"b2EdgeAndCircleContact","def":_fm1},{"trimmed":"EdgeAndPolygonContact","name":"b2EdgeAndPolygonContact","def":_gm1},{"trimmed":"PolygonAndCircleContact","name":"b2PolygonAndCircleContact","def":_hm1},{"trimmed":"defaultFilter","name":"b2_defaultFilter","def":_sm1},{"trimmed":"defaultListener","name":"b2_defaultListener","def":_tm1}
,{"trimmed":"ContactManager","name":"b2ContactManager","def":_ze1},{"trimmed":"VelocityConstraintPoint","name":"b2VelocityConstraintPoint","def":_ym1},{"trimmed":"ContactPositionConstraint","name":"b2ContactPositionConstraint","def":_Cm1},{"trimmed":"ContactVelocityConstraint","name":"b2ContactVelocityConstraint","def":_Km1},{"trimmed":"PositionSolverManifold","name":"b2PositionSolverManifold","def":_Om1},{"trimmed":"ContactSolverDef","name":"b2ContactSolverDef","def":_Rm1},{"trimmed":"ContactSolver",
"name":"b2ContactSolver","def":_Tm1},{"trimmed":"Island","name":"b2Island","def":_Pe1},{"trimmed":"Jacobian","name":"b2Jacobian","def":_po1},{"trimmed":"JointEdge","name":"b2JointEdge","def":_so1},{"trimmed":"JointDef","name":"b2JointDef","def":_to1},{"trimmed":"Joint","name":"b2Joint","def":_cf1},{"trimmed":"RevoluteJointDef","name":"b2RevoluteJointDef","def":_Vo1},{"trimmed":"RevoluteJoint","name":"b2RevoluteJoint","def":_No1},{"trimmed":"MouseJointDef","name":"b2MouseJointDef","def":_Tp1},{"trimmed":"MouseJoint",
"name":"b2MouseJoint","def":_Lo1},{"trimmed":"DistanceJointDef","name":"b2DistanceJointDef","def":_dq1},{"trimmed":"DistanceJoint","name":"b2DistanceJoint","def":_Ko1},{"trimmed":"PrismaticJointDef","name":"b2PrismaticJointDef","def":_qq1},{"trimmed":"PrismaticJoint","name":"b2PrismaticJoint","def":_Mo1},{"trimmed":"FrictionJointDef","name":"b2FrictionJointDef","def":_Zq1},{"trimmed":"FrictionJoint","name":"b2FrictionJoint","def":_So1},{"trimmed":"WeldJointDef","name":"b2WeldJointDef","def":_ar1}
,{"trimmed":"WeldJoint","name":"b2WeldJoint","def":_Ro1},{"trimmed":"WheelJointDef","name":"b2WheelJointDef","def":_cr1},{"trimmed":"WheelJoint","name":"b2WheelJoint","def":_Qo1},{"trimmed":"GearJointDef","name":"b2GearJointDef","def":_sr1},{"trimmed":"GearJoint","name":"b2GearJoint","def":_Po1},{"trimmed":"MotorJointDef","name":"b2MotorJointDef","def":_ys1},{"trimmed":"MotorJoint","name":"b2MotorJoint","def":_Uo1},{"trimmed":"PulleyJointDef","name":"b2PulleyJointDef","def":_Ss1},{"trimmed":"PulleyJoint",
"name":"b2PulleyJoint","def":_Oo1},{"trimmed":"RopeJointDef","name":"b2RopeJointDef","def":_it1},{"trimmed":"RopeJoint","name":"b2RopeJoint","def":_To1},{"trimmed":"RopeDef","name":"b2RopeDef","def":_st1},{"trimmed":"Rope","name":"b2Rope","def":_wt1},{"trimmed":"maxManifoldPoints","name":"b2_maxManifoldPoints","def":_b_},{"trimmed":"maxPolygonVertices","name":"b2_maxPolygonVertices","def":_c_},{"trimmed":"aabbExtension","name":"b2_aabbExtension","def":_d_},{"trimmed":"aabbMultiplier","name":"b2_aabbMultiplier",
"def":_e_},{"trimmed":"linearSlop","name":"b2_linearSlop","def":_f_},{"trimmed":"angularSlop","name":"b2_angularSlop","def":_g_},{"trimmed":"polygonRadius","name":"b2_polygonRadius","def":_h_},{"trimmed":"maxSubSteps","name":"b2_maxSubSteps","def":_i_},{"trimmed":"maxTOIContacts","name":"b2_maxTOIContacts","def":_j_},{"trimmed":"velocityThreshold","name":"b2_velocityThreshold","def":_k_},{"trimmed":"maxLinearCorrection","name":"b2_maxLinearCorrection","def":_l_},{"trimmed":"maxAngularCorrection",
"name":"b2_maxAngularCorrection","def":_m_},{"trimmed":"maxTranslation","name":"b2_maxTranslation","def":_n_},{"trimmed":"maxTranslationSquared","name":"b2_maxTranslationSquared","def":_o_},{"trimmed":"maxRotation","name":"b2_maxRotation","def":_p_},{"trimmed":"maxRotationSquared","name":"b2_maxRotationSquared","def":_q_},{"trimmed":"baumgarte","name":"b2_baumgarte","def":_r_},{"trimmed":"toiBaugarte","name":"b2_toiBaugarte","def":_s_},{"trimmed":"timeToSleep","name":"b2_timeToSleep","def":_t_},
{"trimmed":"linearSleepTolerance","name":"b2_linearSleepTolerance","def":_u_},{"trimmed":"angularSleepTolerance","name":"b2_angularSleepTolerance","def":_v_},{"trimmed":"epsilon","name":"b2_epsilon","def":_9_},{"trimmed":"JsonSerializer","name":"b2JsonSerializer","def":_Yt1},{"trimmed":"RUBELoader","name":"b2RUBELoader","def":_du1},{"trimmed":"Profiler","name":"b2Profiler","def":_OZ},{"trimmed":"ParticleDef","name":"b2ParticleDef","def":_2i1},{"trimmed":"ParticleColor","name":"b2ParticleColor","def":_Uh1}
,{"trimmed":"ParticleGroupDef","name":"b2ParticleGroupDef","def":_di1},{"trimmed":"ParticleGroup","name":"b2ParticleGroup","def":_hi1},{"trimmed":"ParticleSystem","name":"b2ParticleSystem","def":_Re1}];if(typeof(b2_compatibility)!=="undefined"&&typeof(window)!=="undefined"){for(var _Q3=0;_Q3<_Hu1.length;++_Q3)window[_Hu1[_Q3]["name"]]=_Hu1[_Q3]["def"]}else {var _oy={};for(var _Q3=0;_Q3<_Hu1.length;++_Q3)_oy[_Hu1[_Q3]["trimmed"]]=_Hu1[_Q3]["def"];if(typeof(module)!=="undefined")module._Iu1=_oy;else window["b2"]=_oy;
}})();function _Ju1(){var _Ku1="#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 _Ku1}function _Lu1(){var _Mu1="precision mediump 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 _Mu1}function _Nu1(){var _Ou1="#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 _Ou1}function _Pu1(){var _Mu1="precision mediump 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 _Mu1}/*@constructor */function _Qu1(_Ru1,_AX){var _Su1=null;var _Tu1=null,_Uu1=null,_Vu1=null;var _Wu1=0;var _Xu1,_Yu1;var _Zu1,__u1,_0v1=[];var _1v1,_2v1,_3v1,_4v1;var _5v1,_6v1;Object.defineProperties(this,{_7v1:{get:function(){return _Su1}},_8v1:{get:function(){return(_Su1!==null&&_Su1!==undefined)}},_ht:{get:function(){return _Vu1}},_id:{get:function(){return _Zu1}},_0f:{get:function(){return __u1}},_9v1:{get:function(){return _Xu1}},_av1:{get:function(){return _Yu1}},_bv1:{get:function(){return _1v1}
},_cv1:{get:function(){return _2v1}},_dv1:{get:function(){return _3v1},set:function(_ug){_3v1=_ug}},_ev1:{get:function(){return _4v1},set:function(_ug){_4v1=_ug}},_3u:{get:function(){return _5v1}}});(function(){_Su1=_fv1(_Ru1,_AX);if(_Su1){_gv1(_Su1);var _hv1=_Su1.getParameter(_Su1.MAX_TEXTURE_IMAGE_UNITS);_5v1=(_hv1<_gd._iv1)?_hv1:_gd._iv1;_6v1=_Su1.getParameter(_Su1.MAX_TEXTURE_SIZE);_Uu1=new _jv1(_AX._kv1);_Vu1=new _lv1(_5v1,32,_Uu1,_AX._kv1);_Tu1=new _mv1(_Uu1,_Vu1);_nv1();_ov1();_pv1();_Uu1._or(_Xu1)}
})();function _gv1(_qv1){_jv1.prototype._qv1=_qv1;_mv1.prototype._qv1=_qv1;_Ke.prototype._qv1=_qv1;_rv1.prototype._qv1=_qv1;_sv1.prototype._qv1=_qv1;_tv1.prototype._qv1=_qv1};function _uv1(){var userAgent=navigator.userAgent.toString().toLowerCase();var _vv1=userAgent.indexOf("trident/");if(_vv1>=0){var version=parseFloat(userAgent.slice(_vv1+"trident/".length));if(version==7){return true}}return false};function _fv1(_Ru1,_AX){if(_uv1())return null;var _wv1=null;var _xv1=["webgl","experimental-webgl","moz-webgl",
"webkit-3d"];{for(var _Q3=0;_Q3<_xv1.length;_Q3++){try{var _yv1={alpha:true,stencil:_AX._zv1,antialias:false,premultipliedAlpha:false,preserveDrawingBuffer:_AX._Av1};_wv1=_Ru1.getContext(_xv1[_Q3],_yv1);if(_wv1){break }}catch(_9y){return null}}}if(_wv1){_1v1=_Ru1.width;_2v1=_Ru1.height;_3v1=_1v1;_4v1=_2v1}return _wv1};function _nv1(){var _Bv1=new _sv1(),_Cv1=new _sv1();_Bv1._Dv1();_Bv1._Ev1();_Bv1._Fv1();_Cv1._Dv1();_Cv1._Ev1();_Cv1._Fv1();_Cv1._Gv1();_Zu1=_0v1.push(_Bv1)-1;__u1=_0v1.push(_Cv1)-1;_Tu1._Hv1(_Zu1);
_Tu1._Hv1(__u1);_Bv1._Iv1=_Cv1._Iv1=true};/*@this {yyWebGL} */this._Jv1=function(_Kv1){for(var _Q3 in _0v1){if(!_0v1.hasOwnProperty(_Q3))continue;if(_0v1[_Q3]._b01(_Kv1)){return _Q3}}var _Lv1=_0v1.push(_Kv1)-1;_Tu1._Hv1(_Lv1);return _Lv1};/*@this {yyWebGL} */this._Me=function(_Ff){return _0v1[_Ff]};function _Mv1(_Nv1){while(((_Nv1&0x1)==0)&&(_Nv1>1)){_Nv1>>=1}return(_Nv1==1)};/*@this {yyWebGL} */this._Ov1=function(){return _6v1};/*@this {yyWebGL} */this._Pv1=function(_Qv1,_Rv1,_Sv1,_Tv1){_Tu1._rV();_Uu1._Pv1(_Qv1,
_Rv1,_Sv1,_Tv1)};function _Uv1(_Vv1,type,source){var _Rw=_Su1.createShader((type=='vertex')?_Su1.VERTEX_SHADER:_Su1.FRAGMENT_SHADER);_Su1.shaderSource(_Rw,source);_Su1.compileShader(_Rw);if(!_Su1.getShaderParameter(_Rw,_Su1.COMPILE_STATUS)){alert("Could not compile "+type+" shader:\n\n"+_Su1.getShaderInfoLog(_Rw));return }_Su1.attachShader(_Vv1,_Rw)};function _ov1(){var _Ou1=_Ju1();var _Mu1=_Lu1();var _Wv1=_Su1.createProgram();var error=_Su1.getError();_Uv1(_Wv1,"vertex",_Ou1);_Uv1(_Wv1,"fragment",_Mu1);
_Su1.linkProgram(_Wv1);error=_Su1.getError();if(!_Su1.getProgramParameter(_Wv1,_Su1.LINK_STATUS)){alert("Could not initialise shaders\n\n");return false}_Su1.useProgram(_Wv1);_Xu1=_Wv1;_Wv1._Xv1=_Su1.getAttribLocation(_Wv1,"vertex");_Wv1._Yv1=_Su1.getAttribLocation(_Wv1,"normal");_Wv1._Zv1=_Su1.getAttribLocation(_Wv1,"UV");_Wv1.__v1=_Su1.getAttribLocation(_Wv1,"color");_Wv1._0w1=_Su1.getUniformLocation(_Wv1,"pTexure");_Wv1._1w1=_Su1.getUniformLocation(_Wv1,"matrices");_Wv1._2w1=_Su1.getUniformLocation(_Wv1,
"fogParameters");_Wv1._3w1=_Su1.getUniformLocation(_Wv1,"alphaTestEnabled");_Wv1._4w1=_Su1.getUniformLocation(_Wv1,"alphaRefValue");_Wv1._5w1=[];_Wv1._5w1.push(_Su1.getAttribLocation(_Wv1,"vertex"));_Wv1._5w1.push(_Su1.getAttribLocation(_Wv1,"color"));_Wv1._5w1.push(_Su1.getAttribLocation(_Wv1,"UV"));return true};function _pv1(){var _Ku1=_Nu1();var _Mu1=_Pu1();var _Wv1=_Su1.createProgram();var error=_Su1.getError();_Uv1(_Wv1,"vertex",_Ku1);_Uv1(_Wv1,"fragment",_Mu1);_Su1.linkProgram(_Wv1);error=_Su1.getError();
if(!_Su1.getProgramParameter(_Wv1,_Su1.LINK_STATUS)){alert("Could not initialise 3D shader\n\n");return false}_Su1.useProgram(_Wv1);_Wv1._6w1=_Su1.getUniformLocation(_Wv1,"ViewMatrix");_Yu1=_Wv1;_Wv1._Xv1=_Su1.getAttribLocation(_Wv1,"vertex");_Wv1._Yv1=_Su1.getAttribLocation(_Wv1,"normal");_Wv1._Zv1=_Su1.getAttribLocation(_Wv1,"UV");_Wv1.__v1=_Su1.getAttribLocation(_Wv1,"color");_Wv1._0w1=_Su1.getUniformLocation(_Wv1,"pTexure");_Wv1._1w1=_Su1.getUniformLocation(_Wv1,"matrices");_Wv1._7w1=_Su1.getUniformLocation(_Wv1,
"dirlightdir");_Wv1._8w1=_Su1.getUniformLocation(_Wv1,"pointlightpos");_Wv1._9w1=_Su1.getUniformLocation(_Wv1,"lightcol");_Wv1._aw1=_Su1.getUniformLocation(_Wv1,"ambientcol");_Wv1._2w1=_Su1.getUniformLocation(_Wv1,"fogParameters");_Wv1._3w1=_Su1.getUniformLocation(_Wv1,"alphaTestEnabled");_Wv1._4w1=_Su1.getUniformLocation(_Wv1,"alphaRefValue");_Wv1._5w1=[];_Wv1._5w1.push(_Su1.getAttribLocation(_Wv1,"vertex"));_Wv1._5w1.push(_Su1.getAttribLocation(_Wv1,"normal"));_Wv1._5w1.push(_Su1.getAttribLocation(_Wv1,
"color"));_Wv1._5w1.push(_Su1.getAttribLocation(_Wv1,"UV"));return true};/*@this {yyWebGL} */this._bw1=function(_cw1,_dw1,_ew1){if(_cw1=="None"||_dw1=="None"){var _fw1={_gw1:null,_hw1:null};return _fw1}var _Wv1=_Su1.createProgram();var error=_Su1.getError();_Uv1(_Wv1,"vertex",_cw1);_Uv1(_Wv1,"fragment",_dw1);_Su1.linkProgram(_Wv1);error=_Su1.getError();if(!_Su1.getProgramParameter(_Wv1,_Su1.LINK_STATUS)){var _fw1={_gw1:null,_hw1:null};return _fw1;}_Su1.useProgram(_Wv1);_Wv1._1w1=_Su1.getUniformLocation(_Wv1,
"gm_Matrices");_Wv1._7w1=_Su1.getUniformLocation(_Wv1,"gm_Lights_Direction");_Wv1._8w1=_Su1.getUniformLocation(_Wv1,"gm_Lights_PosRange");_Wv1._9w1=_Su1.getUniformLocation(_Wv1,"gm_Lights_Colour");_Wv1._aw1=_Su1.getUniformLocation(_Wv1,"gm_AmbientColour");_Wv1._Xv1=_Su1.getAttribLocation(_Wv1,"in_Position");_Wv1._Yv1=_Su1.getAttribLocation(_Wv1,"in_Normal");_Wv1._Zv1=_Su1.getAttribLocation(_Wv1,"in_TextureCoord");_Wv1.__v1=_Su1.getAttribLocation(_Wv1,"in_Colour");_Wv1._5w1=[];for(var _iw1=0;_iw1<_ew1.length;
_iw1++){_Wv1._5w1.push(_Su1.getAttribLocation(_Wv1,_ew1[_iw1]))}var _jw1="gm_BaseTexture";var _2u=[_jw1];var _kw1=0;var _lw1=[];var _mw1=_Su1.getUniformLocation(_Wv1,_jw1);_Su1.uniform1iv(_mw1,[_kw1++]);_Wv1._0w1=_mw1;_Wv1._nw1={_ow1:[]};for(var _sc=0,_pw1=_Su1.getProgramParameter(_Wv1,_Su1.ACTIVE_UNIFORMS);_sc<_pw1;_sc++){var _qw1=_Su1.getActiveUniform(_Wv1,_sc),_rw1=_qw1["name"];if(_qw1["size"]>1){var _Rl=_rw1.indexOf('[');if(_Rl>0){_rw1=_rw1.substring(0,_Rl)}}if((_qw1["type"]==_Su1.SAMPLER_2D)||(_qw1["type"]==_Su1.SAMPLER_CUBE)){
if(_rw1!=_jw1){_2u[_kw1]=_rw1;var _iw1=_Su1.getUniformLocation(_Wv1,_rw1);_Su1.uniform1iv(_iw1,[_kw1++])}}_Wv1._nw1._ow1[_sc]=_rw1;_Wv1._nw1[_rw1]={index:_sc,location:_Su1.getUniformLocation(_Wv1,_rw1),_sw1:_qw1}}_fw1={_gw1:_Wv1,_hw1:_2u};return _fw1};/*@this {yyWebGL} */this._tw1=function(){_Wu1++};/*@this {yyWebGL} */this._uw1=function(){_Tu1._rV();_Uu1._d9++;_Uu1._vw1();_Uu1._Dz();_Su1.clearColor(1,1,1,1);_Su1.colorMask(false,false,false,true);_Su1.clear(_Su1.COLOR_BUFFER_BIT);_Su1.colorMask(true,
true,true,true)};/*@this {yyWebGL} */this._ww1=function(){_Tu1._rV();_Uu1._vw1()};/*@this {yyWebGL} */this._xw1=function(_Mi,_It){_Vu1._it(_gd._yt,_Mi);_Vu1._it(_gd._At,_It);_Vu1._it(_gd._Ct,_Mi);_Vu1._it(_gd._Dt,_It)};this._yw1=function(_lr){_Vu1._it(_gd._jt,_lr)};/*@this {yyWebGL} */this._9r=function(_zw1){_Vu1._it(_gd._kt,_zw1)};/*@this {yyWebGL} */this._dr=function(_zw1){_Vu1._it(_gd._wt,_zw1?_gd._Aw1:_gd._Bw1)};/*@this {yyWebGL} */this._Cw1=function(_Dw1){};/*@this {yyWebGL} */this._br=function(_zw1){
_Vu1._it(_gd._nt,_zw1)};/*@this {yyWebGL} *//*@this {yyWebGL} */this._kr=function(_Ew1,_Fw1,_Gw1,_Hw1){var _Wt={_Ll:_Ew1,_Ml:_Fw1,_Nl:_Gw1,alpha:_Hw1};_Vu1._it(_gd._Xt,_Wt)};/*@this {yyWebGL} */this._3s=function(_M9,_Iw1,_Jw1,_Kw1){_Tu1._rV();_Uu1._3s(_M9,_Iw1,_Jw1,_Kw1)};/*@this {yyWebGL} */this._5s=function(_M9,_zw1,_Lw1){_Tu1._rV();_Uu1._5s(_M9,_zw1,_Lw1)};/*@this {yyWebGL} */this._7s=function(_Lw1){_Tu1._rV();_Uu1._Mw1(_Lw1)};/*@this {yyWebGL} */this._9s=function(_Nw1){var _Ow1=_Nw1[0];var end=_Nw1[2];
var start=end;if(_Nw1[1]!=0.0)start=end-(1.0/_Nw1[1]);var _c5=(_Nw1[4]*255)|((_Nw1[5]*255)<<8)|((_Nw1[6]*255)<<16)|((_Nw1[7]*255)<<24);_Vu1._it(_gd._rt,_Ow1);_Vu1._it(_gd._tt,start);_Vu1._it(_gd._ut,end);_Vu1._it(_gd._st,_c5)};/*@this {yyWebGL} */this._Pw1=function(_lr,_Qw1){_Vu1._it(_gd._Yt,_lr);_Vu1._it(_gd.__t,(_Qw1*255)|0)};/*@this {yyWebGL} */this._Rw1=function(_Sw1,_Tw1){if(_Tw1){_Vu1._4u(_Sw1,_gd._bu,_gd._cu);_Vu1._4u(_Sw1,_gd._du,_gd._cu)}else {_Vu1._4u(_Sw1,_gd._bu,_gd._eu);_Vu1._4u(_Sw1,_gd._du,
_gd._eu)}};/*@this {yyWebGL} */this._Uw1=function(_Sw1,_Vw1){_Vu1._4u(_Sw1,_gd._5u,_Vw1);_Vu1._4u(_Sw1,_gd._7u,_Vw1)};/*@this {yyWebGL} */this._Ww1=function(){return _5v1};/*@this {yyWebGL} */this._Xw1=function(_lr){_Vu1._it(_gd._Yw1,_lr)};/*@this {yyWebGL} */this._Zw1=function(_1w){_Vu1._it(_gd.__w1,_1w)};/*@this {yyWebGL} */this._0x1=function(_1x1){_Vu1._it(_gd._2x1,_1x1)};/*@this {yyWebGL} */this._3x1=function(_4x1){_Vu1._it(_gd._5x1,_4x1)};/*@this {yyWebGL} */this._or=function(_6x1){_Tu1._rV();
_Uu1._or(_6x1)};/*@this {yyWebGL} */this._7x1=function(_6x1,_8x1){var _9x1=_6x1._nw1[_8x1];if(_9x1){return _9x1.index}return -1};/*@this {yyWebGL} */this._ax1=function(_IR,_bx1){if(_IR!=-1){_Tu1._rV();_Uu1._ax1(_IR,_bx1)}};/*@this {yyWebGL} */this._cx1=function(_IR,_bx1){if(_IR!=-1){_Tu1._rV();_Uu1._cx1(_IR,_bx1)}};/*@this {yyWebGL} */this._dx1=function(_IR,_bx1){if(_IR!=-1){_Tu1._rV();_Uu1._dx1(_IR,_bx1)}};/*@this {yyWebGL} */this._ex1=function(_IR,_bx1){if(_IR!=-1){_Tu1._rV();_Uu1._ex1(_IR,_bx1)}
};/*@this {yyWebGL} */this._fx1=function(_IR,_bx1){if(_IR!=-1){_Tu1._rV();_Uu1._fx1(_IR,_bx1)}};/*@this {yyWebGL} */this._gx1=function(_1x){_Tu1._rV();_Uu1._gx1(_1x)};this._rV=function(){_Tu1._rV()};/*@this {yyWebGL} */this._hx1=function(_bg,_N9,_O9,_Ii,_Ji,_Ru1){_Uu1._hx1(_bg,_N9,_O9,_Ii,_Ji,_Ru1)};/*@this {yyWebGL} */this._ix1=function(_Sw1,_bg){_gd._jx1(_bg instanceof _rv1,"Texture is not a yyGLTexture",_gd._kx1);_Tu1._rV();_Uu1._ix1(_Sw1,_bg)};/*@this {yyWebGL} */this._vr=function(_dn){_Tu1._rV();
_Uu1._lx1(_dn)};/*@this {yyWebGL} */this._Cr=function(_dn){_Tu1._rV();_Uu1._mx1(_dn)};/*@this {yyWebGL} */this._nx1=function(_dn){_Tu1._rV();_Uu1._ox1(_dn)};/*@this {yyWebGL} */this._px1=function(_qx1){var _Yi=new _rv1(undefined,_qx1.width,_qx1.height,_Mv1(_qx1.width)&&_Mv1(_qx1.height),_qx1);return _Yi};this._rx1=function(_sx1){var _tx1=_Su1.getParameter(_Su1.TEXTURE_BINDING_2D);var __e=_Su1.createTexture();_Su1.bindTexture(_Su1.TEXTURE_2D,__e);if(_sx1.Image instanceof Uint8Array){_Su1.texImage2D(_Su1.TEXTURE_2D,
0,_Su1.RGBA,_sx1._ux1,_sx1._vx1,0,_Su1.RGBA,_Su1.UNSIGNED_BYTE,_sx1.Image)}else {_Su1.texImage2D(_Su1.TEXTURE_2D,0,_Su1.RGBA,_Su1.RGBA,_Su1.UNSIGNED_BYTE,_sx1.Image)}_sx1._wx1=__e;_sx1._xx1._yx1(_Su1.TEXTURE_2D);_Su1.bindTexture(_Su1.TEXTURE_2D,_tx1)};/*@this {yyWebGL} */this._zx1=function(_Qe,_hJ,_Ax1,_5f){var _Ky=0;if(_Qe){_Ky|=_Su1.COLOR_BUFFER_BIT}if(_hJ){_Ky|=_Su1.DEPTH_BUFFER_BIT}_Uu1._zx1(_Ky,_5f)};/*@this {yyWebGL} */this._Bx1=function(_zX){_Tu1._rV();_Uu1._Bx1(_zX)};function _Cx1(_Dx1,_Ii,
_Ji){if((_Ii==0)||(_Ji==0)){return }var _Ex1=_Dx1[(_Ji-1)*_Ii]&0xffffff;for(var _Q3=0;_Q3<(_Ii*_Ji);_Q3++){if((_Dx1[_Q3]&0xffffff)==_Ex1){_Dx1[_Q3]=_Dx1[_Q3]&0xffffff}}};function _Fx1(_cf){var max=_6v1;var _I3=1;while(_I3<=max){if(_cf<=_I3)return _I3;_I3=_I3<<1}return max};/*@this {yyWebGL} */this._Gx1=function(_qx1,_N9,_O9,_Ii,_Ji,_Ek,_Fk,_Hx1){this._rV();var _Ix1=new Uint8Array(_Ii*_Ji*4);_Su1.readPixels(_N9,_4v1-(_O9+_Ji),_Ii,_Ji,_Su1.RGBA,_Su1.UNSIGNED_BYTE,_Ix1);var _Jx1;if(_Hx1){var _Kx1=new ArrayBuffer(_Ii*_Ji*4);
_Jx1=new Uint8Array(_Kx1);for(var _uc=0;_uc<_Ji;_uc++){var _Lx1=_Ix1.subarray(_uc*_Ii*4,(_uc+1)*_Ii*4);var _Mx1=_Jx1.subarray((_Ji-1-_uc)*_Ii*4,(_Ji-_uc)*_Ii*4);_Mx1.set(_Lx1)}if(_Ek){_Cx1(new Int32Array(_Kx1),_Ii,_Ji)}}else {_Jx1=_Ix1}var _S3=_Fx1(_Ii);var _T3=_Fx1(_Ji);var _tx1=_Su1.getParameter(_Su1.TEXTURE_BINDING_2D);var _Yi=new _rv1(undefined,_S3,_T3,(_S3==_Ii)&&(_T3==_Ji),_Jx1);_qx1.width=_S3;_qx1.height=_T3;_Su1.bindTexture(_Su1.TEXTURE_2D,_tx1);_Uu1._Dz();return _Yi};/*@this {yyWebGL} */this._Nx1=function(_qx1,
_Ox1,_N9,_O9,_Ii,_Ji,_Ek,_Fk){this._ww1();var _Px1=_Su1.getParameter(_Su1.FRAMEBUFFER_BINDING);var _Kx1=new ArrayBuffer(_Ii*_Ji*4);var _Jx1=new Uint8Array(_Kx1);_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_Ox1);_Su1.readPixels(_N9,_O9,_Ii,_Ji,_Su1.RGBA,_Su1.UNSIGNED_BYTE,_Jx1);_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_Px1);if(_Ek){_Cx1(new Int32Array(_Kx1),_Ii,_Ji)}var _S3=_Fx1(_Ii);var _T3=_Fx1(_Ji);var _tx1=_Su1.getParameter(_Su1.TEXTURE_BINDING_2D);var _Qx1=new ArrayBuffer(_S3*_T3*4);var _Rx1=new Uint8Array(_Qx1);
var y;var _fj=0;var _Sx1=0;for(y=0;y<_Ji;y++){var x;for(x=0;x<_Ii;x++){_Rx1[_fj++]=_Jx1[_Sx1++];_Rx1[_fj++]=_Jx1[_Sx1++];_Rx1[_fj++]=_Jx1[_Sx1++];_Rx1[_fj++]=_Jx1[_Sx1++]}for(;x<_S3;x++){_Rx1[_fj++]=0;_Rx1[_fj++]=0;_Rx1[_fj++]=0;_Rx1[_fj++]=0}}for(;y<_T3;y++){var x;for(x=0;x<_S3;x++){_Rx1[_fj++]=0;_Rx1[_fj++]=0;_Rx1[_fj++]=0;_Rx1[_fj++]=0}}var _Yi=new _rv1(undefined,_S3,_T3,(_S3==_Ii)&&(_T3==_Ji),_Rx1);_qx1.width=_S3;_qx1.height=_T3;_Su1.bindTexture(_Su1.TEXTURE_2D,_tx1);this._ww1();_Uu1._Dz();return _Yi}
;/*@this {yyWebGL} */this._Tx1=function(_qx1,_Ux1,_Ii,_Ji){var _S3=_Fx1(_Ii);var _T3=_Fx1(_Ji);var _tx1=_Su1.getParameter(_Su1.TEXTURE_BINDING_2D);var _Yi=new _rv1(undefined,_S3,_T3,(_S3==_Ii)&&(_T3==_Ji),_Ux1);_qx1.width=_S3;_qx1.height=_T3;_Su1.bindTexture(_Su1.TEXTURE_2D,_tx1);_Uu1._Dz();return _Yi};/*@this {yyWebGL} */this._Vx1=function(_qx1,_Ux1,_Ii,_Ji){var _Kx1=new ArrayBuffer(_Ii*_Ji*4);var _Wx1=new DataView(_Kx1);for(var _ra=0;_ra<_Ii*_Ji;_ra++){_Wx1.setUint32(_ra*4,~~_Ux1[_ra],true)}return this._Tx1(_qx1,
new Uint8Array(_Kx1),_Ii,_Ji)};/*@this {yyWebGL} */this._Xx1=function(_bg,_Re){_gd._jx1(_bg instanceof _rv1,"Texture is not a yyGLTexture",_gd._kx1);if(!_Yx1(_bg)){_Zx1(_bg)}var __e=_bg._wx1;var _S3=_bg._ux1;var _T3=_bg._vx1;var _Px1=_Su1.getParameter(_Su1.FRAMEBUFFER_BINDING);var __x1=_Su1.createFramebuffer();_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,__x1);_Su1.framebufferTexture2D(_Su1.FRAMEBUFFER,_Su1.COLOR_ATTACHMENT0,_Su1.TEXTURE_2D,__e,0);var _Jx1=new Uint8Array(_S3*_T3*4);_Su1.readPixels(0,0,_S3,_T3,_Su1.RGBA,
_Su1.UNSIGNED_BYTE,_Jx1);_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_Px1);_Su1.deleteFramebuffer(__x1);for(var _Q3=0;_Q3<(_S3*_T3);_Q3++){_Jx1[(_Q3*4)+3]=_Re[_Q3]}var _e51=_Fx1(_S3);var _Hy=_Fx1(_T3);var _tx1=_Su1.getParameter(_Su1.TEXTURE_BINDING_2D);var _Yi=new _rv1(undefined,_e51,_Hy,(_e51==_S3)&&(_Hy==_T3),_Jx1);_Su1.deleteTexture(_bg._wx1);_Su1.bindTexture(_Su1.TEXTURE_2D,_tx1);return _Yi};/*@this {yyWebGL} */this._0y1=function(_N9,_O9){this._rV();var _Jx1=new Uint8Array(16);_Su1.readPixels(_N9,_4v1-_O9,
1,1,_Su1.RGBA,_Su1.UNSIGNED_BYTE,_Jx1);var _1c=(_Jx1[0])|(_Jx1[1]<<8)|(_Jx1[2]<<16)|(_Jx1[3]<<24);_Uu1._Dz();return _1c;};/*@this {yyWebGL} */this._1y1=function(_Ox1,_N9,_O9){this._rV();var _Px1=_Su1.getParameter(_Su1.FRAMEBUFFER_BINDING);var _Jx1=new Uint8Array(16);_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_Ox1);_Su1.readPixels(_N9,_O9,1,1,_Su1.RGBA,_Su1.UNSIGNED_BYTE,_Jx1);var _1c=(_Jx1[0])|(_Jx1[1]<<8)|(_Jx1[2]<<16)|(_Jx1[3]<<24);_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_Px1);_Uu1._Dz();return _1c};/*@this {yyWebGL} */this._2y1=function(_Ox1,
_N9,_O9,_Ii,_Ji){this._ww1();var _Px1=_Su1.getParameter(_Su1.FRAMEBUFFER_BINDING);var _Jx1=new Uint8Array(_Ii*_Ji*4);_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_Ox1);_Su1.readPixels(_N9,_O9,_Ii,_Ji,_Su1.RGBA,_Su1.UNSIGNED_BYTE,_Jx1);_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_Px1);_Uu1._Dz();return _Jx1};/*@this {yyWebGL} */this._3y1=function(_Ii,_Ji){var _tx1=_Su1.getParameter(_Su1.TEXTURE_BINDING_2D);var _Px1=_Su1.getParameter(_Su1.FRAMEBUFFER_BINDING);var _4y1=_Su1.getParameter(_Su1.RENDERBUFFER_BINDING);{var _5y1=_Su1.createFramebuffer();
_5y1.width=_Ii;_5y1.height=_Ji;_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_5y1);var _6y1=_Su1.createTexture();_Su1.bindTexture(_Su1.TEXTURE_2D,_6y1);_Su1.texImage2D(_Su1.TEXTURE_2D,0,_Su1.RGBA,_Ii,_Ji,0,_Su1.RGBA,_Su1.UNSIGNED_BYTE,null);var _7y1=new _rv1(_6y1,_Ii,_Ji,_Mv1(_Ii)&&_Mv1(_Ji),null);var _8y1=_Su1.createRenderbuffer();_Su1.bindRenderbuffer(_Su1.RENDERBUFFER,_8y1);_Su1.renderbufferStorage(_Su1.RENDERBUFFER,_Su1.DEPTH_STENCIL,_5y1.width,_5y1.height);_Su1.framebufferTexture2D(_Su1.FRAMEBUFFER,_Su1.COLOR_ATTACHMENT0,
_Su1.TEXTURE_2D,_6y1,0);_Su1.framebufferRenderbuffer(_Su1.FRAMEBUFFER,_Su1.DEPTH_STENCIL_ATTACHMENT,_Su1.RENDERBUFFER,_8y1)}_Su1.bindTexture(_Su1.TEXTURE_2D,_tx1);_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_Px1);_Su1.bindRenderbuffer(_Su1.RENDERBUFFER,_4y1);var _9y1={_ay1:_5y1,_by1:_8y1,_wx1:_7y1};return _9y1};/*@this {yyWebGL} */this._cy1=function(_Ox1){_Su1.deleteFramebuffer(_Ox1._ay1);_Su1.deleteRenderbuffer(_Ox1._by1);_Su1.deleteTexture(_Ox1._wx1._wx1);_Ox1._wx1=null};/*@this {yyWebGL} */this._dy1=function(_ey1){
_Su1.deleteTexture(_ey1)};/*@this {yyWebGL} */this._fy1=function(_bg){_gd._jx1(_bg instanceof _rv1,"NULL texture is not a yyGLTexture",_gd._kx1);_Uu1._gy1=_bg};/*@this {yyWebGL} */this._fd=function(_Ae,_bg,_Ff,_hy1){_gd._jx1((_bg==null)||(_bg instanceof _rv1),"Texture is not a yyGLTexture",_gd._kx1);return _Tu1._fd(_Ae,_bg,_Ff,_hy1,_0v1[_Ff],_Wu1)};/*@this {yyWebGL} */this._cg=function(_Ae,_bg,_iy1,_jy1){_gd._jx1((_bg==null)||(_bg instanceof _rv1),"Texture is not a yyGLTexture",_gd._kx1);_Tu1._ky1(_Ae,
_bg,_iy1,_jy1)};/*@this {yyWebGL} */this._ly1=function(_kU){var _Hb=_kU._Hb._bd;if(!_Yx1(_Hb)){_Zx1(_Hb)}var __e=_Hb._wx1;var _S3=_Hb._ux1;var _T3=_Hb._vx1;var _Px1=_Su1.getParameter(_Su1.FRAMEBUFFER_BINDING);var __x1=_Su1.createFramebuffer();_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,__x1);_Su1.framebufferTexture2D(_Su1.FRAMEBUFFER,_Su1.COLOR_ATTACHMENT0,_Su1.TEXTURE_2D,__e,0);var data=new Uint8Array(_S3*_T3*4);_Su1.readPixels(0,0,_S3,_T3,_Su1.RGBA,_Su1.UNSIGNED_BYTE,data);_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,
_Px1);_Su1.deleteFramebuffer(__x1);return data}}var _gd={_my1:8,_iv1:8,_ny1:-1,_hd:0,_Fe:1,_Ee:2,_Ce:3,_De:4,_Be:5,_If:1,_Nf:2,_Xf:3,_Vf:4,_oy1:5,_py1:6,_qy1:7,_ry1:8,_sy1:9,_ty1:10,_uy1:11,_vy1:12,_wy1:13,_xy1:14,_yy1:14,_Zf:1,_Jf:2,_Lf:3,_2g:4,_Of:5,_4g:6,_zy1:6,_Gt:1,_Bt:2,_Ay1:3,_Ft:4,_zt:5,_Ht:6,_By1:7,_Cy1:8,_Dy1:9,_Ey1:10,_Fy1:11,_Gy1:12,_Hy1:13,_Iy1:14,_Jy1:15,_Ky1:16,_Ly1:16,_My1:0,_kt:1,_Ny1:2,_Oy1:3,_nt:4,_Yt:5,_yt:6,_At:7,_wt:8,_mt:9,__t:10,_0u:11,_jt:12,_rt:13,_Py1:14,_st:15,_Qy1:16,_tt:17,
_ut:18,_Ry1:19,_Sy1:20,_Ty1:21,_Uy1:22,_Vy1:23,_Xt:24,_Yw1:25,_Wy1:26,_Xy1:27,_2x1:28,__w1:29,_5x1:30,_Yy1:31,_Zy1:32,_Et:33,_Ct:34,_Dt:35,__y1:36,_0z1:37,_1z1:1,_2z1:2,_3z1:3,_4z1:4,_5z1:5,_6z1:6,_7z1:7,_8z1:8,_9z1:1,_az1:2,_bz1:3,_cz1:4,_dz1:5,_ez1:6,_fz1:7,_gz1:8,_cu:0,_eu:1,_5u:0,_7u:1,_bu:2,_du:3,_hz1:4,_6u:0,_8u:1,_Bw1:0,_iz1:1,_Aw1:2,_jz1:0,_kz1:1,_lz1:2,_mz1:0,_nz1:1,_oz1:0,_pz1:1,_qz1:0,_rz1:1,_sz1:2,_tz1:3,_uz1:0,_vz1:1,_wz1:2,_xz1:4,_yz1:8,_zz1:0,_Az1:1,_kx1:2,_jx1:function(_Bz1,_Cz1,
_Dz1){if(!_Bz1){throw new Error(_Cz1)}}};Object.freeze(_gd);/*@constructor */function _jv1(_Ez1){var _Su1=this._qv1;var _Fz1=0,_Gz1=1,_Hz1=2,_Iz1=3,_Jz1=4,_Kz1=5,_Lz1=6,_Mz1=7,_Nz1=8,_Oz1=9,_Pz1=10,_Qz1=11,_Rz1=12,_Sz1=13,_Tz1=14,_Uz1=15,_Vz1=16,_Wz1=17,_Xz1=18,_Yz1=19,_Zz1=20,__z1=21,_0A1=22,_1A1=23,_2A1=24,_3A1=25,_4A1=26,_5A1=27;var _6A1=0,_7A1=1,_8A1=2,_9A1=3,_aA1=4,_bA1=5;var _cA1=1,_dA1=2,_eA1=4,_fA1=8;var _gA1=[];var _hA1=[],_iA1,_jA1;var _kA1,_lA1=[],_mA1=[],_nA1=[],_oA1=new Float32Array(_gd._my1*4),
_pA1=new Float32Array(_gd._my1*4),_qA1=new Float32Array(_gd._my1*4),_rA1=new Float32Array(4),_sA1=new Float32Array(8),_tA1=false,_uA1=0.0,_vA1,_wA1=_Su1.SRC_ALPHA,_xA1=_Su1.ONE_MINUS_SRC_ALPHA,_yA1=_Su1.SRC_ALPHA,_zA1=_Su1.ONE_MINUS_SRC_ALPHA;var _Wu1=0,_AA1;Object.defineProperties(this,{_d9:{get:function(){return _Wu1},set:function(_ug){_Wu1=_ug}},_gy1:{get:function(){return _AA1},set:function(_ug){_AA1=_ug}}});(function(){_BA1();var _hv1=_Su1.getParameter(_Su1.MAX_TEXTURE_IMAGE_UNITS);if(_hv1>_gd._iv1){
_hv1=_gd._iv1}for(var _kw1=0;_kw1<_hv1;_kw1++){_nA1[_kw1]=new _tv1(_Ez1)}var _CA1=_DA1(_gd._1z1);_vA1={_pw:0,_EA1:0xffffffff,_FA1:0xffffffff,_GA1:_HA1(_gd._gz1),_IA1:_CA1,_JA1:_CA1,_KA1:_CA1};for(var _Q3=0;_Q3<_bA1;_Q3++){_mA1[_Q3]=new _7r()}})();function _BA1(){_hA1=[];_jA1=undefined;_iA1=undefined;_hA1[0]=1;_hA1[1]=1};/*@this {yyCommandBuilder} */this._Dz=function(){_BA1()};/*@this {yyCommandBuilder} */this._or=function(_LA1){if(_LA1!=_iA1){_jA1=null;_gA1.push(_Wz1);_gA1.push(_LA1);_iA1=_LA1}};/*@this {yyCommandBuilder} */this._ix1=function(_Sw1,
_bg){if(_hA1[_Sw1]==_bg){return }_hA1[_Sw1]=_bg;_gA1.push(_Gz1);_gA1.push(_bg);_gA1.push(_Sw1)};/*@this {yyCommandBuilder} */this._gx1=function(_dv){_gA1.push(_dv)};this._hx1=function(_bg,_N9,_O9,_Ii,_Ji,_MA1){_gA1.push(_5A1);_gA1.push(_bg);_gA1.push(_N9);_gA1.push(_O9);_gA1.push(_Ii);_gA1.push(_Ji);_gA1.push(_MA1)};/*@this {yyCommandBuilder} */this._NA1=function(_OA1){if(_jA1==_OA1)return;_jA1=_OA1;_gA1.push(_Rz1);_gA1.push(_OA1)};/*@this {yyCommandBuilder} */this._PA1=function(_ot,_QA1){_gA1.push(_Hz1);
_gA1.push(_ot);_gA1.push(_QA1)};/*@this {yyCommandBuilder} */this._RA1=function(_ot,_QA1){_gA1.push(_Iz1);_gA1.push(_ot);_gA1.push(_QA1)};/*@this {yyCommandBuilder} */this._SA1=function(_ot,_QA1){_gA1.push(_Jz1);_gA1.push(_ot);_gA1.push(_QA1)};/*@this {yyCommandBuilder} */this._TA1=function(_ot,_QA1){_gA1.push(_Kz1);_gA1.push(_ot);_gA1.push(_QA1)};/*@this {yyCommandBuilder} */this._UA1=function(_ot,_QA1){_gA1.push(_Lz1);_gA1.push(_ot);_gA1.push(_QA1)};/*@this {yyCommandBuilder} */this._Cg1=function(_ot,
_QA1){_gA1.push(_Mz1);_gA1.push(_ot);_gA1.push(_QA1)};/*@this {yyCommandBuilder} */this._mx1=function(_dn){_gA1.push(_Oz1);_gA1.push(new _7r(_dn))};/*@this {yyCommandBuilder} */this._lx1=function(_dn){_gA1.push(_Pz1);_gA1.push(new _7r(_dn))};/*@this {yyCommandBuilder} */this._ox1=function(_dn){_gA1.push(_Nz1);_gA1.push(new _7r(_dn))};/*@this {yyCommandBuilder} */this._Pv1=function(_N9,_O9,_Ii,_Ji){_gA1.push(_Qz1);_gA1.push(_N9);_gA1.push(_O9);_gA1.push(_Ii);_gA1.push(_Ji)};/*@this {yyCommandBuilder} */this._zx1=function(_VA1,
_5f){_gA1.push(_Sz1);_gA1.push(_VA1);_gA1.push(~~_5f)};/*@this {yyCommandBuilder} */this._Bx1=function(_WA1){_gA1.push(_Tz1);_gA1.push(_WA1)};/*@this {yyCommandBuilder} */this._XA1=function(_Re,_Pt,_Qt,_Rt){_gA1.push(_Uz1);_gA1.push(_Re);_gA1.push(_Pt);_gA1.push(_Qt);_gA1.push(_Rt)};/*@this {yyCommandBuilder} */this._xw1=function(_Mi,_It){_gA1.push(_Vz1);_gA1.push(_Mi);_gA1.push(_It)};/*@this {yyCommandBuilder} */this._ax1=function(_YA1,_bx1){_gA1.push(_Xz1);_gA1.push(_YA1);_gA1.push(_bx1)};/*@this {yyCommandBuilder} */this._cx1=function(_YA1,
_bx1){_gA1.push(_Yz1);_gA1.push(_YA1);_gA1.push(_bx1);};/*@this {yyCommandBuilder} */this._ex1=function(_YA1,_bx1){_gA1.push(_Xz1);_gA1.push(_YA1);_gA1.push(_bx1)};/*@this {yyCommandBuilder} */this._fx1=function(_YA1,_bx1){_gA1.push(_Yz1);_gA1.push(_YA1);_gA1.push(_bx1)};/*@this {yyCommandBuilder} */this._dx1=function(_YA1,_bx1){_gA1.push(_Yz1);_gA1.push(_YA1);_gA1.push(_bx1)};/*@this {yyCommandBuilder} */this._it=function(_ZA1,__A1){_gA1.push(_Zz1);_gA1.push(_ZA1);_gA1.push(__A1)};/*@this {yyCommandBuilder} */this._4u=function(_Sw1,
_0B1,_1B1){_gA1.push(__z1);_gA1.push(_Sw1);_gA1.push(_0B1);_gA1.push(_1B1)};/*@this {yyCommandBuilder} */this._3s=function(_Rl,_2B1,_3B1,_4B1){_gA1.push(_0A1);_gA1.push(_Rl);_gA1.push(new Float32Array(_2B1));_gA1.push(new Float32Array(_3B1));_gA1.push(new Float32Array(_4B1))};/*@this {yyCommandBuilder} */this._Mw1=function(_c5){_gA1.push(_1A1);_gA1.push(new Float32Array(_c5))};/*@this {yyCommandBuilder} */this._5B1=function(_6B1){_gA1.push(_2A1);_gA1.push(new Float32Array(_6B1))};/*@this {yyCommandBuilder} */this._5s=function(_Rl,
enable,_c5){_gA1.push(_3A1);_gA1.push(_Rl);_gA1.push(enable);_gA1.push(_c5)};/*@this {yyCommandBuilder} */this._Pw1=function(_lr,_7B1){_gA1.push(_4A1);_gA1.push(_lr);_gA1.push(_7B1)};function _8B1(_Zt){switch(_Zt){case _gd._Gt:return _Su1.ZERO;case _gd._Bt:return _Su1.ONE;case _gd._Ay1:return _Su1.SRC_COLOR;case _gd._Ft:return _Su1.ONE_MINUS_SRC_COLOR;case _gd._zt:return _Su1.SRC_ALPHA;case _gd._Ht:return _Su1.ONE_MINUS_SRC_ALPHA;case _gd._By1:return _Su1.DST_ALPHA;case _gd._Cy1:return _Su1.ONE_MINUS_DST_ALPHA;case _gd._Dy1:return _Su1.DST_COLOR;
case _gd._Ey1:return _Su1.ONE_MINUS_DST_COLOR;case _gd._Fy1:return _Su1.SRC_ALPHA_SATURATE;case _gd._Gy1:return 0;case _gd._Hy1:return 0;case _gd._Iy1:return 0;case _gd._Jy1:return 0;case _gd._Ky1:return 0;case _gd._Ly1:return 0}return 0}function _DA1(_Zt){switch(_Zt){case _gd._1z1:return _Su1.KEEP;case _gd._2z1:return _Su1.ZERO;case _gd._3z1:return _Su1.REPLACE;case _gd._4z1:return _Su1.INCR;case _gd._5z1:return _Su1.DECR;case _gd._6z1:return _Su1.INVERT;case _gd._7z1:return _Su1.INCR;case _gd._8z1:return _Su1.DECR;default :return _Su1.KEEP}
}function _HA1(_Zt){switch(_Zt){case _gd._9z1:return _Su1.NEVER;case _gd._az1:return _Su1.LESS;case _gd._bz1:return _Su1.EQUAL;case _gd._cz1:return _Su1.LEQUAL;case _gd._dz1:return _Su1.GREATER;case _gd._ez1:return _Su1.NOTEQUAL;case _gd._fz1:return _Su1.GEQUAL;case _gd._gz1:default :return _Su1.ALWAYS}}function _9B1(_ZA1,__A1){switch(_ZA1){case _gd._kt:if(__A1){_Su1.enable(_Su1.DEPTH_TEST)}else {_Su1.disable(_Su1.DEPTH_TEST)}break;case _gd._nt:_Su1.depthMask(__A1);break;case _gd._Yt:_tA1=__A1;_aB1(_fA1);break;case _gd._yt:_wA1=_8B1(__A1);
_Su1.blendFuncSeparate(_wA1,_xA1,_yA1,_zA1);break;case _gd._At:_xA1=_8B1(__A1);_Su1.blendFuncSeparate(_wA1,_xA1,_yA1,_zA1);break;case _gd._wt:if(__A1!=_gd._Bw1){_Su1.enable(_Su1.CULL_FACE);_Su1.frontFace((__A1===_gd._iz1)?_Su1.CW:_Su1.CCW)}else {_Su1.disable(_Su1.CULL_FACE)}break;case _gd._mt:_Su1.depthFunc(_HA1(__A1));break;case _gd.__t:_uA1=__A1/255.0;_aB1(_fA1);break;case _gd._0u:break;case _gd._jt:if(__A1){_Su1.enable(_Su1.BLEND)}else {_Su1.disable(_Su1.BLEND);}break;case _gd._rt:break;case _gd._Py1:break;
case _gd._st:break;case _gd._Qy1:break;case _gd._tt:break;case _gd._ut:break;case _gd._Ry1:break;case _gd._Sy1:break;case _gd._Ty1:break;case _gd._Uy1:break;case _gd._Vy1:break;case _gd._Xt:_Su1.colorMask(__A1._Ll,__A1._Ml,__A1._Nl,__A1.alpha);break;case _gd._Yw1:if(__A1){_Su1.enable(_Su1.STENCIL_TEST)}else {_Su1.disable(_Su1.STENCIL_TEST)}break;case _gd._Wy1:_vA1._IA1=_DA1(__A1);_Su1.stencilOp(_vA1._IA1,_vA1._JA1,_vA1._KA1);break;case _gd._Xy1:_vA1._JA1=_DA1(__A1);_Su1.stencilOp(_vA1._IA1,_vA1._JA1,_vA1._KA1);
break;case _gd._2x1:_vA1._KA1=_DA1(__A1);_Su1.stencilOp(_vA1._IA1,_vA1._JA1,_vA1._KA1);break;case _gd.__w1:_vA1._GA1=_HA1(__A1);_Su1.stencilFunc(_vA1._GA1,_vA1._pw,_vA1._EA1);break;case _gd._5x1:_vA1._pw=__A1;_Su1.stencilFunc(_vA1._GA1,_vA1._pw,_vA1._EA1);break;case _gd._Yy1:_vA1._EA1=__A1;_Su1.stencilFunc(_vA1._GA1,_vA1._pw,_vA1._EA1);break;case _gd._Zy1:_Su1.stencilMask(__A1);break;case _gd._Et:break;case _gd._Ct:_yA1=_8B1(__A1);_Su1.blendFuncSeparate(_wA1,_xA1,_yA1,_zA1);break;case _gd._Dt:_zA1=_8B1(__A1);
_Su1.blendFuncSeparate(_wA1,_xA1,_yA1,_zA1);break;case _gd.__y1:if(__A1!=_gd._Bw1){_Su1.enable(_Su1.CULL_FACE);_Su1.frontFace((__A1===_gd._iz1)?_Su1.CW:_Su1.CCW)}else {_Su1.disable(_Su1.CULL_FACE)}break }}function _bB1(){if(_kA1&&_kA1._1w1){_mA1[_9A1].Multiply(_mA1[_8A1],_mA1[_6A1]);_mA1[_aA1].Multiply(_mA1[_9A1],_mA1[_7A1]);var _cB1=new Float32Array(16*_bA1);for(var _Q3=0;_Q3<_bA1;_Q3++){_cB1.set(_mA1[_Q3]._ua,_Q3*16)}_Su1.uniformMatrix4fv(_kA1._1w1,_Su1._dB1,_cB1);}}function _aB1(_eB1){if(_eB1&_fA1){if(_kA1._3w1!==undefined){
_Su1.uniform1i(_kA1._3w1,_tA1)}if(_kA1._4w1!==undefined){_Su1.uniform1f(_kA1._4w1,_uA1)}}if((_eB1&_cA1)&&(_kA1._2w1!==undefined)){_Su1.uniform4fv(_kA1._2w1,_sA1)}if(_eB1&_dA1){if(_kA1._8w1!==undefined){_Su1.uniform4fv(_kA1._8w1,_oA1)}if(_kA1._7w1!==undefined){_Su1.uniform4fv(_kA1._7w1,_pA1)}if(_kA1._9w1!==undefined){_Su1.uniform4fv(_kA1._9w1,_qA1)}}if((_eB1&_eA1)&&(_kA1._aw1!==undefined)){_Su1.uniform4fv(_kA1._aw1,_rA1)}}function _fB1(_bg,_Sw1){if(_bg===null||_bg===undefined){return }var _gB1=_nA1[_Sw1];
if(_gB1===null||_gB1===undefined){return }var _hB1=_gB1._iB1;var _jB1=_bg._xx1._iB1;if(_hB1[_gd._5u]!=_jB1[_gd._5u]){_Su1.texParameteri(_Su1.TEXTURE_2D,_Su1.TEXTURE_MAG_FILTER,(_hB1[_gd._5u]==_gd._6u)?_Su1.LINEAR:_Su1.NEAREST);_jB1[_gd._5u]=_hB1[_gd._5u]}if(_hB1[_gd._7u]!=_jB1[_gd._7u]){_Su1.texParameteri(_Su1.TEXTURE_2D,_Su1.TEXTURE_MIN_FILTER,(_hB1[_gd._7u]==_gd._6u)?_Su1.LINEAR:_Su1.NEAREST);_jB1[_gd._7u]=_hB1[_gd._7u]}if(_hB1[_gd._bu]!=_jB1[_gd._bu]){if(_bg._kB1){var _lB1=(_hB1[_gd._bu]==_gd._eu)?_Su1.CLAMP_TO_EDGE:_Su1.REPEAT;
_Su1.texParameteri(_Su1.TEXTURE_2D,_Su1.TEXTURE_WRAP_S,_lB1)}_jB1[_gd._bu]=_hB1[_gd._bu]}if(_hB1[_gd._du]!=_jB1[_gd._du]){if(_bg._kB1){var _lB1=(_hB1[_gd._du]==_gd._eu)?_Su1.CLAMP_TO_EDGE:_Su1.REPEAT;_Su1.texParameteri(_Su1.TEXTURE_2D,_Su1.TEXTURE_WRAP_T,_lB1)}_jB1[_gd._du]=_hB1[_gd._du]}}var _mB1=null;function _NA1(_nB1){_Su1.bindBuffer(_Su1.ARRAY_BUFFER,_nB1._oB1);if(_mB1!=null){if(_mB1._Iv1===true){var _pB1,_qB1,_rB1=_mB1._tf.length;;for(_pB1=0;_pB1<_rB1;++_pB1){switch(_pB1){case 0:_qB1=_kA1._Xv1;
break;case 1:_qB1=_kA1.__v1;break;case 2:_qB1=_kA1._Zv1;break;case 3:_qB1=_kA1._Yv1;break;default :_qB1=-1;break }if(_qB1>=0){_Su1.disableVertexAttribArray(_qB1)}}}else {var _pB1,_qB1,_rB1=_mB1._tf.length;;for(_pB1=0;_pB1<_rB1;++_pB1){_qB1=_kA1._5w1[_pB1];if(_qB1>=0){_Su1.disableVertexAttribArray(_qB1)}}}}var _sB1=_nB1._tB1;_mB1=_sB1;if(_sB1._Iv1===true){var _pB1,_qB1,_uB1,_rB1=_sB1._tf.length;for(_pB1=0;_pB1<_rB1;++_pB1){_uB1=_sB1._tf[_pB1];switch(_pB1){case 0:_qB1=_kA1._Xv1;break;case 1:_qB1=_kA1.__v1;break;
case 2:_qB1=_kA1._Zv1;break;case 3:_qB1=_kA1._Yv1;break;default :_qB1=-1;break }if(_qB1>=0){_Su1.enableVertexAttribArray(_qB1);_Su1.vertexAttribPointer(_qB1,_uB1._vB1,_uB1._wB1,_uB1._xB1,_sB1._zf,_uB1.offset)}}}else {var _pB1,_qB1,_uB1,_rB1=_sB1._tf.length;for(_pB1=0;_pB1<_rB1;++_pB1){_uB1=_sB1._tf[_pB1];_qB1=_kA1._5w1[_pB1];if(_qB1>=0){_Su1.enableVertexAttribArray(_qB1);_Su1.vertexAttribPointer(_qB1,_uB1._vB1,_uB1._wB1,_uB1._xB1,_sB1._zf,_uB1.offset)}}}}/*@this {yyCommandBuilder} */this._vw1=function(){
var _Q3,error,_tw,_lw1,_yB1,_kw1,_Hb,_ed,_Rl,_1c,enable,_zB1,_9x1;_Q3=0;while(_Q3<_gA1.length){switch(_gA1[_Q3]){case _Wz1:{_kA1=_gA1[_Q3+1];_zB1=_kA1._nw1;_Q3+=2;_Su1.useProgram(_kA1);_bB1();_aB1(0xff);break }case _Qz1:{_Su1.viewport(_gA1[_Q3+1],_gA1[_Q3+2],_gA1[_Q3+3],_gA1[_Q3+4]);_Su1.scissor(_gA1[_Q3+1],_gA1[_Q3+2],_gA1[_Q3+3],_gA1[_Q3+4]);_Q3+=5;break }case _Sz1:{_1c=_gA1[_Q3+2];_Su1.clearColor((_1c&0xff)/255.0,((_1c>>8)&0xff)/255.0,((_1c>>16)&0xff)/255.0,((_1c>>24)&0xff)/255.0);_Su1.clear(_gA1[_Q3+1]);
_Q3+=3;break }case _Oz1:{_mA1[_7A1]=_gA1[_Q3+1];_bB1();_Q3+=2;break }case _Pz1:{_mA1[_6A1]=_gA1[_Q3+1];_bB1();_Q3+=2;break }case _Nz1:{_mA1[_8A1]=_gA1[_Q3+1];_bB1();_Q3+=2;break }case _Gz1:{_Hb=_gA1[_Q3+1];_kw1=_gA1[_Q3+2];_Q3+=3;if(_Hb===null){_Hb=_AA1;_Su1.activeTexture(_Su1.TEXTURE0+_kw1);if(!_Yx1(_Hb)){_Zx1(_Hb)}_Su1.bindTexture(_Su1.TEXTURE_2D,_Hb._wx1);_Su1.uniform1i(_kA1._0w1,0);_lA1[_kw1]=null}else {_Su1.activeTexture(_Su1.TEXTURE0+_kw1);if(!_Yx1(_Hb)){_Zx1(_Hb)}_Su1.bindTexture(_Su1.TEXTURE_2D,_Hb._wx1);
_Su1.uniform1i(_kA1._0w1,0);_fB1(_Hb,_kw1);_lA1[_kw1]=_Hb}break }case _Rz1:{_ed=_gA1[_Q3+1];_Q3+=2;if(_ed._AB1){_ed._BB1()}_ed._CB1=this._d9;_NA1(_ed)}break;case _Hz1:{_Su1.drawArrays(_Su1.TRIANGLES,_gA1[_Q3+1],_gA1[_Q3+2]);_Q3+=3;break }case _Iz1:{_Su1.drawArrays(_Su1.TRIANGLE_FAN,_gA1[_Q3+1],_gA1[_Q3+2]);_Q3+=3;break }case _Jz1:{_Su1.drawArrays(_Su1.TRIANGLE_STRIP,_gA1[_Q3+1],_gA1[_Q3+2]);_Q3+=3;break }case _Kz1:{_Su1.drawArrays(_Su1.LINES,_gA1[_Q3+1],_gA1[_Q3+2]);_Q3+=3;break }case _Lz1:{_Su1.drawArrays(_Su1.LINE_STRIP,
_gA1[_Q3+1],_gA1[_Q3+2]);_Q3+=3;break }case _Mz1:{_Su1.drawArrays(_Su1.POINTS,_gA1[_Q3+1],_gA1[_Q3+2]);_Q3+=3;break }case _Tz1:{_Su1.bindFramebuffer(_Su1.FRAMEBUFFER,_gA1[_Q3+1]);_Q3+=2;break }case _Uz1:{_Su1.colorMask(_gA1[_Q3+2],_gA1[_Q3+3],_gA1[_Q3+4],_gA1[_Q3+1]);_Q3+=5;break }case _Vz1:{_Su1.blendFunc(_8B1(_gA1[_Q3+1]),_8B1(_gA1[_Q3+2]));_Q3+=3;break }case _Zz1:{_9B1(_gA1[_Q3+1],_gA1[_Q3+2]);_Q3+=3;break }case _Xz1:{_tw=_gA1[_Q3+1];_lw1=_gA1[_Q3+2];_Q3+=3;_9x1=_zB1[_zB1._ow1[_tw]];switch(_9x1._sw1["type"]){
case _Su1.INT:_Su1.uniform1iv(_9x1.location,_lw1);break;case _Su1.INT_VEC2:_Su1.uniform2iv(_9x1.location,_lw1);break;case _Su1.INT_VEC3:_Su1.uniform3iv(_9x1.location,_lw1);break;case _Su1.INT_VEC4:_Su1.uniform4iv(_9x1.location,_lw1);break }break }case _Yz1:{_tw=_gA1[_Q3+1];_lw1=_gA1[_Q3+2];_Q3+=3;_9x1=_zB1[_zB1._ow1[_tw]];switch(_9x1._sw1["type"]){case _Su1.FLOAT:_Su1.uniform1fv(_9x1.location,_lw1);break;case _Su1.FLOAT_VEC2:_Su1.uniform2fv(_9x1.location,_lw1);break;case _Su1.FLOAT_VEC3:_Su1.uniform3fv(_9x1.location,
_lw1);break;case _Su1.FLOAT_VEC4:_Su1.uniform4fv(_9x1.location,_lw1);break;case _Su1.FLOAT_MAT2:_Su1.uniformMatrix2fv(_9x1.location,false,_lw1);break;case _Su1.FLOAT_MAT3:_Su1.uniformMatrix3fv(_9x1.location,false,_lw1);break;case _Su1.FLOAT_MAT4:_Su1.uniformMatrix4fv(_9x1.location,false,_lw1);break }break }case __z1:{_kw1=_gA1[_Q3+1];var _fL=_gA1[_Q3+2];var _vo=_gA1[_Q3+3];_Q3+=4;var _gB1=_nA1[_kw1];_gB1._iB1[_fL]=_vo;_fB1(_lA1[_kw1],_kw1);break }case _0A1:{_Rl=_gA1[_Q3+1];_oA1.set(_gA1[_Q3+2],_Rl*4);_pA1.set(_gA1[_Q3+3],
_Rl*4);_qA1.set(_gA1[_Q3+4],_Rl*4);_Q3+=5;_aB1(_dA1);break }case _1A1:{_rA1.set(_gA1[_Q3+1]);_Q3+=2;_aB1(_eA1);break }case _2A1:{_sA1.set(_gA1[_Q3+1]);_Q3+=2;_aB1(_cA1);break }case _3A1:{_Rl=_gA1[_Q3+1];enable=_gA1[_Q3+2];_1c=_gA1[_Q3+3];_Q3+=4;if(enable){_qA1.set(_1c,_Rl*4)}else {var _Xr=_Rl*4;_qA1[_Xr+0]=0;_qA1[_Xr+1]=0;_qA1[_Xr+2]=0;_qA1[_Xr+3]=0}_aB1(_dA1);break }case _4A1:{_tA1=_gA1[_Q3+1];_uA1=_gA1[_Q3+2];_Q3+=3;_aB1(_fA1);break }case _5A1:{_Hb=_gA1[_Q3+1];var _Qa=_gA1[_Q3+2];var _Sa=_gA1[_Q3+3];var _7b=_gA1[_Q3+4];
var _8b=_gA1[_Q3+5];var canvas=_gA1[_Q3+6];_Q3+=7;if(!_Yx1(_Hb)){_Zx1(_Hb)}_Su1.activeTexture(_Su1.TEXTURE0);_Su1.bindTexture(_Su1.TEXTURE_2D,_Hb._wx1);_Su1.texSubImage2D(_Su1.TEXTURE_2D,0,_Qa,_Sa,_7b,_8b,_Su1.RGBA,_Su1.UNSIGNED_BYTE,canvas);if(_lA1.length>0){if(_lA1[0]!=null){_Su1.bindTexture(_Su1.TEXTURE_2D,_lA1[0]._wx1)}}break }}}_gA1.length=0}}/*@constructor */function _rv1(_DB1,_Bb,_Cb,_EB1,_qx1){var _Su1=this._qv1;var _FB1,_GB1,_cK,_eK,_HB1,_IB1;Object.defineProperties(this,{_xx1:{get:function(){
return _FB1}},_wx1:{get:function(){return _GB1},set:function(_o9){_GB1=_o9}},_ux1:{get:function(){return _cK;}},_vx1:{get:function(){return _eK}},_kB1:{get:function(){return _HB1}},Image:{get:function(){return _IB1}}});(function(){_GB1=_DB1;_cK=_Bb;_eK=_Cb;_HB1=_EB1;_IB1=_qx1;_FB1=new _tv1();if(_GB1){_FB1._yx1(_Su1.TEXTURE_2D)}})()}function _JB1(_KB1){var _LB1=[];var _MB1;(function(){if(_KB1==undefined)_KB1=32;_MB1=~~(_KB1/32);if(_MB1==0)_MB1=1;_LB1=new Array(_MB1);for(var _Q3=0;_Q3<_MB1;_Q3++){_LB1[_Q3]=0x0}
})();this._NB1=function(){return _KB1};this._OB1=function(_PB1){if(_PB1>=_KB1)return;var _xj=~~(_PB1/32);var _QB1=_PB1-(_xj*32);_LB1[_xj]|=1<<_QB1};this._RB1=function(_PB1){if(_PB1>=_KB1)return;var _xj=~~(_PB1/32);var _QB1=_PB1-(_xj*32);_LB1[_xj]&=~(1<<_QB1)};this._SB1=function(_PB1){if(_PB1>=_KB1)return 0;var _xj=~~(_PB1/32);var _TB1=_PB1-(_xj*32);var _ug=(_LB1[_xj]>>_TB1)&0x1;return _ug};this._UB1=function(){var _Q3;for(_Q3=0;_Q3<(_MB1-1);_Q3++){_LB1[_Q3]=0xffffffff}var _VB1=_KB1-(_Q3*32);var _Pa;var _wf=1;
for(_Pa=0;_Pa<_VB1;_Pa++){_LB1[_Q3]|=_wf;_wf<<=1}};this._WB1=function(){for(var _Q3=0;_Q3<_MB1;_Q3++){_LB1[_Q3]=0x0}};this._XB1=function(){var _Q3;for(_Q3=0;_Q3<_MB1;_Q3++){if(_LB1[_Q3]!=0)return 1}return 0};this._YB1=function(_sy){var _ZB1=_sy._NB1()>this._NB1()?_sy._NB1():this._NB1();var __B1=new _JB1(_ZB1);for(var _Q3=0;_Q3<_ZB1;_Q3++){var _0C1=this._SB1(_Q3)|_sy._SB1(_Q3);if(_0C1==1){__B1._OB1(_Q3)}}return __B1};this._1C1=function(_sy){var _ZB1=_sy._NB1()>this._NB1()?_sy._NB1():this._NB1();var __B1=new _JB1(_ZB1);
for(var _Q3=0;_Q3<_ZB1;_Q3++){var _0C1=this._SB1(_Q3)&_sy._SB1(_Q3);if(_0C1==1){__B1._OB1(_Q3)}}return __B1}}function _2C1(_3C1,_4C1,_5C1){var _6C1=[];var _7C1=[];(function(){_6C1=new Array(_3C1);_7C1=new Array(_4C1*_5C1)})();Object.defineProperties(this,{_8C1:{get:function(){return _6C1},set:function(_ug){_6C1=_ug}},_9C1:{get:function(){return _7C1},set:function(_ug){_7C1=_ug}},})}/*@constructor */function _lv1(_aC1,_bC1,_cC1,_Ez1){var _Su1=this._qv1;var _dC1=null;var _Mb1=null;var _eC1=[];var _fC1;var _gC1=null;
var _hC1=null;var _iC1=false;var _jC1=_cC1;(function(){_gC1=new _JB1(64);_hC1=new _JB1(64);_dC1=new _2C1(_gd._0z1,_aC1,_gd._hz1);_Mb1=new _2C1(_gd._0z1,_aC1,_gd._hz1);_eC1=new Array(_bC1);for(var _Q3=0;_Q3<_bC1;_Q3++){_eC1[_Q3]=new _2C1(_gd._0z1,_aC1,_gd._hz1)}_BA1()})();function _BA1(){_gC1._UB1();_hC1._UB1();_iC1=true;_fC1=0;_dC1._8C1[_gd._kt]=false;_dC1._8C1[_gd._Ny1]=_gd._lz1;_dC1._8C1[_gd._Oy1]=_gd._nz1;_dC1._8C1[_gd._nt]=true;_dC1._8C1[_gd._Yt]=false;_dC1._8C1[_gd._yt]=_gd._zt;_dC1._8C1[_gd._At]=_gd._Ht;
_dC1._8C1[_gd._wt]=_gd._Bw1;_dC1._8C1[_gd._mt]=_gd._cz1;_dC1._8C1[_gd.__t]=0;_dC1._8C1[_gd._0u]=_gd._dz1;_dC1._8C1[_gd._jt]=true;_dC1._8C1[_gd._rt]=false;_dC1._8C1[_gd._Py1]=false;_dC1._8C1[_gd._st]=0x00000000;_dC1._8C1[_gd._Qy1]=_gd._tz1;_dC1._8C1[_gd._tt]=0.0;_dC1._8C1[_gd._ut]=1.0;_dC1._8C1[_gd._Ry1]=0;_dC1._8C1[_gd._Sy1]=false;_dC1._8C1[_gd._Ty1]=false;_dC1._8C1[_gd._Uy1]=0x00000000;_dC1._8C1[_gd._Vy1]=_gd._tz1;_dC1._8C1[_gd._Xt]=_gd._vz1|_gd._xz1|_gd._wz1|_gd._yz1;_dC1._8C1[_gd._Yw1]=false;
_dC1._8C1[_gd._Wy1]=_gd._1z1;_dC1._8C1[_gd._Xy1]=_gd._1z1;_dC1._8C1[_gd._2x1]=_gd._1z1;_dC1._8C1[_gd.__w1]=_gd._gz1;_dC1._8C1[_gd._5x1]=0;_dC1._8C1[_gd._Yy1]=0xffffffff;_dC1._8C1[_gd._Zy1]=0xffffffff;_dC1._8C1[_gd._Et]=false;_dC1._8C1[_gd._Ct]=_gd._zt;_dC1._8C1[_gd._Dt]=_gd._Ht;_dC1._8C1[_gd.__y1]=0;var _Q3;for(_Q3=0;_Q3<_gd._0z1;_Q3++){_Mb1._8C1[_Q3]=_dC1._8C1[_Q3]}for(_Q3=0;_Q3<_aC1;_Q3++){var index=_Q3*4;_dC1._9C1[index+_gd._5u]=_Ez1==true?_gd._6u:_gd._8u;_dC1._9C1[index+_gd._7u]=_Ez1==true?_gd._6u:_gd._8u;
_dC1._9C1[index+_gd._bu]=_gd._eu;_dC1._9C1[index+_gd._du]=_gd._eu}for(_Q3=0;_Q3<(_gd._hz1*_aC1);_Q3++){_Mb1._9C1[_Q3]=_dC1._9C1[_Q3]}_fC1=0};this._Dz=function(){_BA1()};this._kC1=function(){return _gC1};this._lC1=function(){return _hC1};this._mC1=function(){return _iC1};this._it=function(_0B1,_Zt){if(_Mb1._8C1[_0B1]==_Zt)return;if(_dC1._8C1[_0B1]!=_Zt){_gC1._OB1(_0B1)}else {_gC1._RB1(_0B1)}_Mb1._8C1[_0B1]=_Zt;_iC1=_gC1._XB1()||_hC1._XB1()};this._4u=function(_Sw1,_0B1,_Zt){var index=(_Sw1*_gd._hz1)+_0B1;
if(_Mb1._9C1[index]==_Zt)return;if(_dC1._9C1[index]!=_Zt){_hC1._OB1(index)}else {_hC1._RB1(index)}_Mb1._9C1[index]=_Zt;_iC1=_gC1._XB1()||_hC1._XB1()};this._fu=function(_0B1){return _Mb1._8C1[_0B1]};this._lu=function(_Sw1,_0B1){return _Mb1._9C1[(_Sw1*_gd._hz1)+_0B1]};this._mu=function(){_eC1[_fC1]._8C1=_Mb1._8C1.slice();_eC1[_fC1]._9C1=_Mb1._9C1.slice();if(_fC1<_bC1){_fC1++}else {debug("GPU state stack has run out of space")}};this._nu=function(){if(_fC1>0){_fC1--}else {debug("Attempting to drop below bottom of GPU state stack")}
var _Q3;for(_Q3=0;_Q3<_gd._0z1;_Q3++){this._it(_Q3,_eC1[_fC1]._8C1[_Q3])}for(_Q3=0;_Q3<_aC1;_Q3++){var _Pa;for(_Pa=0;_Pa<_gd._hz1;_Pa++){this._4u(_Q3,_Pa,_eC1[_fC1]._9C1[(_Q3*_aC1)+_Pa])}}};this._rV=function(){var _Q3;if(_gC1._XB1()){for(_Q3=0;_Q3<_gd._0z1;_Q3++){if(_gC1._SB1(_Q3)!=0){_jC1._it(_Q3,_Mb1._8C1[_Q3]);_dC1._8C1[_Q3]=_Mb1._8C1[_Q3]}}_gC1._WB1()}if(_hC1._XB1()){for(_Q3=0;_Q3<(_aC1*_gd._hz1);_Q3++){if(_hC1._SB1(_Q3)!=0){var _kw1=~~(_Q3/_gd._hz1);var _fL=_Q3-_kw1;_jC1._4u(_kw1,_fL,_Mb1._9C1[_Q3]);
_dC1._9C1[_Q3]=_Mb1._9C1[_Q3]}}_hC1._WB1()}_iC1=false}}/*@constructor */function _tv1(_Ez1){var _Su1=this._qv1;var _nC1=[];Object.defineProperties(this,{_iB1:{get:function(){return _nC1}}});(function(){if(_Ez1){_nC1[_gd._5u]=_gd._6u;_nC1[_gd._7u]=_gd._6u;}else {_nC1[_gd._5u]=_gd._8u;_nC1[_gd._7u]=_gd._8u}_nC1[_gd._bu]=_gd._eu;_nC1[_gd._du]=_gd._eu})();/*@this {yyTextureSamplerState} */this._yx1=function(_zX){var _oC1=_nC1;_Su1.texParameteri(_zX,_Su1.TEXTURE_MAG_FILTER,(_oC1[_gd._5u]==_gd._6u)?_Su1.LINEAR:_Su1.NEAREST);
_Su1.texParameteri(_zX,_Su1.TEXTURE_MIN_FILTER,(_oC1[_gd._7u]==_gd._6u)?_Su1.LINEAR:_Su1.NEAREST);_Su1.texParameteri(_zX,_Su1.TEXTURE_WRAP_S,(_oC1[_gd._bu]==_gd._eu)?_Su1.CLAMP_TO_EDGE:_Su1.REPEAT);_Su1.texParameteri(_zX,_Su1.TEXTURE_WRAP_T,(_oC1[_gd._du]==_gd._eu)?_Su1.CLAMP_TO_EDGE:_Su1.REPEAT)}}/*@constructor */function _Ke(_cf,_pC1,_qC1){var _Su1=this._qv1;this._rC1=null;this._Ze=null;this._oB1=null;this._nd=null;this._pd=null;this._4f=null;this._rd=null;this._tB1=_pC1;this._CB1=-1;this._ld=0;
this._sC1=_cf;this._AB1=false;_tC1(this);function _tC1(_wV){_uC1(_wV);_vC1(_wV);if(_qC1){_wC1(_wV)}}function _uC1(_wV){var _xC1=_wV._tB1._zf;_wV._rC1=new ArrayBuffer(_cf*_xC1);_wV._Ze=new Int8Array(_wV._rC1)}function _wC1(_wV){_wV._oB1=_Su1.createBuffer();_Su1.bindBuffer(_Su1.ARRAY_BUFFER,_wV._oB1);_Su1.bufferData(_Su1.ARRAY_BUFFER,_wV._Ze,_Su1.DYNAMIC_DRAW)}function _vC1(_wV){var _yC1=_wV._tB1._tf;for(var _ra=0;_ra<_yC1.length;_ra++){var _uB1=_yC1[_ra];switch(_uB1._vf){case _gd._If:_wV._nd=_zC1(_uB1._wB1,
_wV._rC1,_uB1.offset);break;case _gd._Nf:_wV._pd=_zC1(_uB1._wB1,_wV._rC1,_uB1.offset);break;case _gd._Xf:_wV._4f=_zC1(_uB1._wB1,_wV._rC1,_uB1.offset);break;case _gd._Vf:_wV._rd=_zC1(_uB1._wB1,_wV._rC1,_uB1.offset);break }}}function _zC1(_AC1,_BC1,_CC1){switch(_AC1){case _Su1.UNSIGNED_BYTE:return(new Int32Array(_BC1,_CC1));break;case _Su1.FLOAT:return(new Float32Array(_BC1,_CC1));break }return false}/*@this {yyVBuffer} */this._DC1=function(_iy1){if(_iy1._kd()===this._kd()){var _7g=_iy1._ld*_iy1._kd();var offset=this._ld*this._kd();
if((offset+_7g)>this._Ze.length){var _EC1=new ArrayBuffer(this._Ze.length*2);var _Ye=new Int8Array(_EC1);_Ye.set(this._Ze);this._Ze=_Ye;this._rC1=_EC1;_vC1(this)}this._Ze.set(_iy1._Ze.subarray(0,_7g),offset);this._ld+=_iy1._ld}};/*@this {yyVBuffer} */this._5g=function(){if(this._ld<this.max){var _7g=this._ld*this._kd();var _FC1=new ArrayBuffer(_7g);var _GC1=new Int8Array(_FC1);_GC1.set(this._Ze.subarray(0,_7g));this._Ze=_GC1;this._rC1=_FC1}this._oB1=_Su1.createBuffer();_Su1.bindBuffer(_Su1.ARRAY_BUFFER,this._oB1);
_Su1.bufferData(_Su1.ARRAY_BUFFER,this._Ze,_Su1.STATIC_DRAW);this._nd=null;this._pd=null;this._4f=null;this._rd=null};/*@this {yyVBuffer} */this._Ne=function(_HC1){if((this._ld+_HC1)>this.max){var _IC1=this.max*2;this.max=_IC1;var _Bf=new ArrayBuffer(_IC1);var _Df=new Int8Array(_Bf);_Df.set(this._Ze);this._rC1=_Bf;_vC1(this)}this._ld+=_HC1};/*@this {yyVBuffer} */this._kd=function(){return this._tB1._zf};/*@this {yyVBuffer} */this._BB1=function(){_Su1.bindBuffer(_Su1.ARRAY_BUFFER,this._oB1);var _JC1=new Int8Array(this._rC1,
0,this._ld*this._tB1._zf);_Su1.bufferSubData(_Su1.ARRAY_BUFFER,0,_JC1);this._ld=0;this._AB1=false}}/*@constructor */function _mv1(_cC1,_KC1){var _Su1=this._qv1;var _LC1=[];var _MC1=0,_hA1=null,_NC1=null,_OC1=_gd._ny1,_iA1=null;var _jC1=_cC1;var _PC1=_KC1;/*@this {yyVBufferManager} */this._Hv1=function(_Ff){if(_LC1[_Ff]){debug("WARNING: Vertex format has already been registered\n")}else {_LC1[_Ff]=new _1j()}};/*@this {yyVBufferManager} */this._ky1=function(_Ae,_bg,_iy1,_jy1){var _I3=_iy1._ld-_jy1;switch(_Ae){
case _gd._hd:_jC1._ix1(0,_bg);_jC1._NA1(_iy1);_jC1._PA1(_jy1,_I3);break;case _gd._Fe:_jC1._ix1(0,_bg);_jC1._NA1(_iy1);_jC1._RA1(_jy1,_I3);break;case _gd._Ee:_jC1._ix1(0,_bg);_jC1._NA1(_iy1);_jC1._SA1(_jy1,_I3);break;case _gd._Ce:_jC1._ix1(0,null);_jC1._NA1(_iy1);_jC1._TA1(_jy1,_I3);break;case _gd._De:_jC1._ix1(0,null);_jC1._NA1(_iy1);_jC1._UA1(_jy1,_I3);break;case _gd._Be:_jC1._ix1(0,null);_jC1._NA1(_iy1);_jC1._Cg1(_jy1,_I3);break }};/*@this {yyVBufferManager} */this._rV=function(){if(_NC1==null){_PC1._rV();
return }this._ky1(_OC1,_hA1,_NC1,_MC1);_NC1=_hA1=null;_OC1=_gd._ny1;_PC1._rV()};/*@this {yyVBufferManager} */this._fd=function(_Ae,_QC1,_Ff,_RC1,_pC1,_SC1){var _Q3,_TC1,_ed,_UC1;_UC1=_QC1;if(_NC1!=null){if((_NC1._Lv1==_Ff)&&((_NC1._ld+_RC1)<=_NC1._sC1)&&(_hA1==_UC1)&&(_OC1==_Ae)&&((_Ae!=_gd._De)&&(_Ae!=_gd._Ee)&&(_Ae!=_gd._Fe))&&(_PC1._mC1()==false)){return _NC1}else {var _VC1=_NC1;_tb._rV();if((_VC1._Lv1==_Ff)&&((_VC1._ld+_RC1)<=_VC1._sC1)){_NC1=_VC1;_MC1=_VC1._ld;_OC1=_Ae;_hA1=_UC1;return _NC1}}}else this._rV();
_OC1=_Ae;_hA1=_UC1;_TC1=_LC1[_Ff]._hj;for(_Q3=_TC1.length-1;_Q3>=0;_Q3--){_ed=_TC1[_Q3];if((_ed._CB1!=_SC1)&&(_ed._ld+_RC1)<=_ed._sC1){_ed._AB1=true;_MC1=_ed._ld;_NC1=_ed;return _ed}}if(_RC1<_Le){_RC1=_Le}_ed=new _Ke(_RC1,_pC1,true);_ed._Lv1=_Ff;_ed._AB1=true;_MC1=_ed._ld;_NC1=_ed;_LC1[_Ff]._4j(_ed);return _ed}}/*@constructor */function _sv1(){var _Su1=this._qv1;var _WC1=1,_XC1=false,_YC1=[],_ZC1=0,__C1=0;Object.defineProperties(this,{_tf:{get:function(){return _YC1},set:function(_ug){_YC1=_ug}},_yf:{get:function(){
return __C1},set:function(_ug){__C1=_ug}},_zf:{get:function(){return _ZC1},set:function(_ug){_ZC1=_ug}},_Iv1:{get:function(){return _XC1},set:function(_ug){_XC1=_ug}}});function _0D1(_qf,_pf,_1D1){var _uf={offset:_ZC1,type:_qf,_vf:_pf,_wf:_1D1,_wB1:0,_vB1:0,_xB1:false};return _uf}function _4j(_qf,_pf,_1D1){__C1|=_1D1;var _uB1=_0D1(_qf,_pf,_1D1);switch(_qf){case _gd._Of:case _gd._4g:_ZC1+=4;_uB1._wB1=_Su1.UNSIGNED_BYTE;_uB1._vB1=4;_uB1._xB1=true;break;case _gd._Zf:_ZC1+=4;_uB1._wB1=_Su1.FLOAT;_uB1._vB1=1;_uB1._xB1=false;
break;case _gd._Jf:_ZC1+=8;_uB1._wB1=_Su1.FLOAT;_uB1._vB1=2;_uB1._xB1=false;break;case _gd._Lf:_ZC1+=12;_uB1._wB1=_Su1.FLOAT;_uB1._vB1=3;_uB1._xB1=false;break;case _gd._2g:_ZC1+=16;_uB1._wB1=_Su1.FLOAT;_uB1._vB1=4;_uB1._xB1=false;break }_YC1.push(_uB1)}/*@this {yyVertexFormat} */this._2D1=function(){_4j(_gd._Jf,_gd._If,_WC1);_WC1=_WC1<<1};/*@this {yyVertexFormat} */this._Dv1=function(){_4j(_gd._Lf,_gd._If,_WC1);_WC1=_WC1<<1};/*@this {yyVertexFormat} */this._Ev1=function(){_4j(_gd._Of,_gd._Nf,_WC1);_WC1=_WC1<<1}
;/*@this {yyVertexFormat} */this._Gv1=function(){_4j(_gd._Lf,_gd._Xf,_WC1);_WC1=_WC1<<1};/*@this {yyVertexFormat} */this._Fv1=function(){_4j(_gd._Jf,_gd._Vf,_WC1);_WC1=_WC1<<1};/*@this {yyVertexFormat} */this._3D1=function(_qf,_pf){if((_qf<_gd._Zf)||(_qf>_gd._zy1)){debug("ERROR vertex_format_add_custom: illegal types");return }if((_pf<_gd._If)||(_pf>_gd._yy1)){debug("ERROR vertex_format_add_custom: illegal usage");return }_4j(_qf,_pf,_WC1);_WC1=_WC1<<1};/*@this {yyVertexFormat} */this._b01=function(_Kv1){
if(_YC1.length!==_Kv1._tf.length){return false}for(var _Q3=0;_Q3<_YC1.length;_Q3++){var _4D1=_YC1[_Q3];var _5D1=_Kv1._tf[_Q3];if((_4D1.offset!==_5D1.offset)||(_4D1.type!==_5D1.type)||(_4D1._vf!==_5D1._vf)||(_4D1._wf!==_5D1._wf)||(_4D1._wB1!==_5D1._wB1)||(_4D1._vB1!==_5D1._vB1)){return false}}return true}}function _6D1(color){return(((color._Ia*255)&0xff)<<0)|(((color._fc*255)&0xff)<<8)|(((color._La*255)&0xff)<<16)}/*@this {yyPhysicsDebugDraw} */function _7D1(vertices,vertexCount,color){_x8(_6D1(color));
var scale=1.0/this._8D1._HP;for(var _ra=0;_ra<vertexCount;++_ra){var _9D1=vertices[_ra];var _aD1=vertices[(_ra+1)%vertexCount];_kc(_9D1.x*scale,_9D1.y*scale,_aD1.x*scale,_aD1.y*scale)}}/*@this {yyPhysicsDebugDraw} */function _bD1(vertices,vertexCount,color){_x8(_6D1(color));var scale=1.0/this._8D1._HP;var _9D1=vertices[0];for(var _ra=2;_ra<vertexCount;++_ra){var _aD1=vertices[_ra-1];var _cD1=vertices[_ra];_AB(_9D1.x*scale,_9D1.y*scale,_aD1.x*scale,_aD1.y*scale,_cD1.x*scale,_cD1.y*scale,false)}}/*@this {yyPhysicsDebugDraw} */function _dD1(_H11,
_I11,color){_x8(_6D1(color));var scale=1.0/this._8D1._HP;__B((_H11.x-_I11)*scale,(_H11.y-_I11)*scale,(_H11.x+_I11)*scale,(_H11.y+_I11)*scale,true)}/*@this {yyPhysicsDebugDraw} */function _eD1(_H11,_I11,_K11,color){_x8(_6D1(color));var scale=1.0/this._8D1._HP;__B((_H11.x-_I11)*scale,(_H11.y-_I11)*scale,(_H11.x+_I11)*scale,(_H11.y+_I11)*scale,false)}/*@this {yyPhysicsDebugDraw} */function _fD1(_M11,_N11,color){_x8(_6D1(color));var scale=1.0/this._8D1._HP;_kc(_M11.x*scale,_M11.y*scale,_N11.x*scale,_N11.y*scale)}
/*@this {yyPhysicsDebugDraw} */function _gD1(_I01){var _hD1=0.4;var scale=1.0/this._8D1._HP;var _M11=_I01._KA,_N11=new _iD1._jD1();_N11.x=_M11.x+_hD1*_I01._gz._F01().x;_N11.y=_M11.y+_hD1*_I01._gz._F01().y;_x8(_kD1);_kc(_M11.x*scale,_M11.y*scale,_N11.x*scale,_N11.y*scale);_N11.x=_M11.x+_hD1*_I01._gz._G01().x;_N11.y=_M11.y+_hD1*_I01._gz._G01().y;_x8(_lD1);_kc(_M11.x*scale,_M11.y*scale,_N11.x*scale,_N11.y*scale)}/*@this {yyPhysicsDebugDraw} */function _mD1(_Q11,_I11,_R11,_Fb){for(var _ra=0;_ra<_Fb;_ra++){
var scale=1.0/this._8D1._HP;_x8(((_R11[_ra]._Ia&0xff)<<0)|((_R11[_ra]._fc&0xff)<<8)|((_R11[_ra]._La&0xff)<<16));__B((_Q11[_ra].x-_I11)*scale,(_Q11[_ra].y-_I11)*scale,(_Q11[_ra].x+_I11)*scale,(_Q11[_ra].y+_I11)*scale,true)}}/*@constructor */function _cP(){this._Pb1=0;this._Qb1=0;this._nD1=false;this._oD1=true;this._pD1=false;this._qD1=new _iD1._rD1();this._T21=null};_cP.prototype._GP=function(_al){this._T21=null;this._qD1._u21=new _iD1._sD1();this._qD1._u21._921=_al};_cP.prototype._JP=function(){this._T21=[];
this._qD1._u21=new _iD1._tD1()};_cP.prototype._NP=function(_N9,_O9){var vertexCount=this._T21.length;this._T21[vertexCount]=new _iD1._jD1(_N9,_O9)};_cP.prototype._uD1=function(){if(this._T21===null||this._T21===undefined){return true}if(this._qD1._u21._PH===_iD1._vD1._p21){if(this._T21.length>2){this._qD1._u21._sj(this._T21,this._T21.length);return true}}else if(this._qD1._u21._PH===_iD1._vD1._q21){if(this._pD1){if(this._T21.length>=3){this._qD1._u21.__21(this._T21,this._T21.length);return true}}else {if(this._T21.length>=2){
this._qD1._u21._031(this._T21,this._T21.length);return true}}}return false};_cP.prototype._sP=function(_rP){this._qD1._go._wd1=_rP};_cP.prototype._pP=function(_oP){this._qD1._xd1=_oP};_cP.prototype._mP=function(_lP){this._qD1._yd1=_lP};_cP.prototype._jP=function(_iP){this._qD1._j21=_iP};_cP.prototype._vP=function(_wD1){this._qD1._zd1=_wD1};_cP.prototype._yP=function(_xP){this._Pb1=_xP};_cP.prototype._AP=function(_xP){this._Qb1=_xP};_cP.prototype._AP=function(_xP){this._Qb1=_xP};_cP.prototype._DP=function(_CP){
this._oD1=_CP};_cP.prototype._gP=function(){this._nD1=true};var _xD1=0,_yD1=1,_zD1=2,_AD1=3,_BD1=4,_CD1=5,_DD1=6,_ED1=7,_FD1=8,_GD1=9,_HD1=10,_ID1=11,_JD1=12,_KD1=13,_LD1=14,_MD1=15,_ND1=16,_OD1=17,_PD1=18,_QD1=19,_RD1=20,_SD1=21,_TD1=22,_UD1=23,_VD1=24;/*@constructor */function _WD1(_XD1){this._YD1=_XD1;};_WD1.prototype._Ap1=function(_ZD1){if((this._YD1 instanceof _iD1.__D1)||(this._YD1 instanceof _iD1._0E1)||(this._YD1 instanceof _iD1._1E1)){this._YD1._rg1()._DP(true);this._YD1._sg1()._DP(true);this._YD1._Ap1(_ZD1)}
};/*@constructor */function _2E1(_3E1,_4E1,_PP,_QP){this._5E1=_3E1;this._6E1=_4E1;this._7E1=new _iD1._jD1(_PP,_QP);this._8E1=[]};_2E1.prototype._4Q=function(_9E1,_aE1,_bE1,_cE1){this._5E1._Jc1(new _iD1._jD1(_bE1,_cE1),new _iD1._jD1(_9E1,_aE1),true)};_2E1.prototype._Dc1=function(_9E1,_aE1,_bE1,_cE1){this._5E1._Dc1(new _iD1._jD1(_bE1,_cE1),new _iD1._jD1(_9E1,_aE1),true)};_2E1.prototype._Lc1=function(_dE1){this._5E1._Lc1(_dE1,true)};_2E1.prototype._Hc1=function(_eE1){this._5E1._Hc1(_eE1,true)};_2E1.prototype._fE1=function(_gE1){
var position=this._5E1._1P();this._5E1._vc1(position,(_gE1*Math.PI)/180.0);this._5E1._DP(true)};_2E1.prototype._hE1=function(_ej){var angle=this._5E1._E01();var _nc=this._5E1._1P().y;this._5E1._vc1(new _iD1._jD1(_ej,_nc),angle);this._5E1._DP(true)};_2E1.prototype._iE1=function(_ej){var angle=this._5E1._E01();var _mc=this._5E1._1P().x;this._5E1._vc1(new _iD1._jD1(_mc,_ej),angle);this._5E1._DP(true)};_2E1.prototype._Bc1=function(_jE1){this._5E1._Bc1((_jE1*Math.PI)/180.0);this._5E1._DP(true)};_2E1.prototype._kE1=function(_lE1){
var _mE1=this._5E1._Ac1();this._5E1._zc1(new _iD1._jD1(_lE1,_mE1.y));this._5E1._DP(true)};_2E1.prototype._nE1=function(_lE1){var _mE1=this._5E1._Ac1();this._5E1._zc1(new _iD1._jD1(_mE1.x,_lE1));this._5E1._DP(true)};_2E1.prototype._8d1=function(_oE1){this._5E1._8d1(_oE1);};_2E1.prototype._gd1=function(_pE1){this._5E1._gd1(_pE1)};_2E1.prototype._ed1=function(_qE1){this._5E1._ed1(_qE1)};_2E1.prototype._rE1=function(_sE1){var _fP=this._5E1._id1();while((_fP!=null)&&(_fP!=undefined)){var _u21=_fP._Gd1();var _tE1=this._5E1._1P();
if(_u21 instanceof _iD1._sD1){__B((_tE1.x-_u21._921)*_sE1,(_tE1.y-_u21._921)*_sE1,(_tE1.x+_u21._921)*_sE1,(_tE1.y+_u21._921)*_sE1,true)}else if(_u21 instanceof _iD1._tD1){var _uE1=Math.sin(this._5E1._E01());var _vE1=Math.cos(this._5E1._E01());for(var _ra=0;_ra<_u21._U21;++_ra){var _9D1=_u21._T21[_ra];var _aD1=_u21._T21[(_ra+1)%_u21._U21];_kc((_tE1.x+((_9D1.x*_vE1)-(_9D1.y*_uE1)))*_sE1,(_tE1.y+((_9D1.x*_uE1)+(_9D1.y*_vE1)))*_sE1,(_tE1.x+((_aD1.x*_vE1)-(_aD1.y*_uE1)))*_sE1,(_tE1.y+((_aD1.x*_uE1)+(_aD1.y*_vE1)))*_sE1)}
}_fP=_fP._Mb1}};_2E1.prototype._wE1=function(_sE1){var _qd1=this._5E1._Jb1;while((_qd1!=null)&&(_qd1!=undefined)){var _rd1=_qd1._rd1;if(_rd1 instanceof _iD1.__D1){this._xE1(_rd1,_sE1)}else if(_rd1 instanceof _iD1._0E1){this._yE1(_rd1,_sE1)}else if(_rd1 instanceof _iD1._zE1){this._AE1(_rd1,_sE1)}else if(_rd1 instanceof _iD1._BE1){this._CE1(_rd1,_sE1)}else if(_rd1 instanceof _iD1._DE1){if(_rd1._EE1!=null){this._xE1(_rd1._EE1,_sE1)}if(_rd1._FE1!=null){this._xE1(_rd1._FE1,_sE1)}if(_rd1._GE1!=null){this._yE1(_rd1._GE1,
_sE1)}if(_rd1._HE1!=null){this._yE1(_rd1._HE1,_sE1)}}_qd1=_qd1._Mb1}};_2E1.prototype._AE1=function(_IE1,_sE1){var _eq1=_IE1._tg1();var _fq1=_IE1._ug1();_kc(_eq1.x*_sE1,_eq1.y*_sE1,_fq1.x*_sE1,_fq1.y*_sE1)};_2E1.prototype._xE1=function(_IE1,_sE1){var anchor=_IE1._tg1();_kc((anchor.x*_sE1)-2,(anchor.y*_sE1)-2,(anchor.x*_sE1)+2,(anchor.y*_sE1)+2);_kc((anchor.x*_sE1)-2,(anchor.y*_sE1)+2,(anchor.x*_sE1)+2,(anchor.y*_sE1)-2)};_2E1.prototype._yE1=function(_IE1,_sE1){var _eq1=_IE1._tg1();var _fq1=this._5E1._1P();
_kc(_eq1.x*_sE1,_eq1.y*_sE1,_fq1.x*_sE1,_fq1.y*_sE1)};_2E1.prototype._CE1=function(_IE1,_sE1){var anchor,_JE1;if(_IE1._KE1()==this._5E1){anchor=_IE1._tg1();_JE1=_IE1._yg1()}else {anchor=_IE1._ug1();_JE1=_IE1._zg1()}_kc(anchor.x*_sE1,anchor.y*_sE1,_JE1.x*_sE1,_JE1.y*_sE1);_kc(_IE1._yg1().x*_sE1,_IE1._yg1().y*_sE1,_IE1._zg1().x*_sE1,_IE1._zg1().y*_sE1)};_2E1.prototype._LE1=function(_ME1){for(var _Q3=0;_Q3<this._8E1.length;_Q3++){if(this._8E1[_Q3]==null||this._8E1[_Q3]==undefined){this._8E1[_Q3]=_ME1;
return _Q3}}return(this._8E1.push(_ME1)-1)};_2E1.prototype._NE1=function(_OE1){if(this._8E1[_OE1]){this._5E1._nc1(this._8E1[_OE1]);this._8E1[_OE1]=undefined}};_2E1.prototype._Pd1=function(_OE1){if(this._8E1[_OE1]){return this._8E1[_OE1]._Pd1()}return 0.0};_2E1.prototype._Od1=function(_OE1){if(this._8E1[_OE1]){return this._8E1[_OE1]._Od1()}return 0.0};_2E1.prototype._Qd1=function(_OE1){if(this._8E1[_OE1]){return this._8E1[_OE1]._Qd1()}return 0.0};_2E1.prototype._pP=function(_OE1,_o9){if(this._8E1[_OE1]){
this._8E1[_OE1]._pP(_o9)}};_2E1.prototype._jP=function(_OE1,_o9){if(this._8E1[_OE1]){this._8E1[_OE1]._jP(_o9);this._5E1._kc1()}};_2E1.prototype._mP=function(_OE1,_o9){if(this._8E1[_OE1]){this._8E1[_OE1]._mP(_o9)}};var _PE1=10,_QE1=32,_RE1=(1<<0),_SE1=(1<<1),_TE1=(1<<2),_UE1=(1<<3),_VE1=(1<<4),_WE1=(1<<5),_XE1=(1<<6);var _iD1=null;function _YE1(){if(_iD1===null){var _oy=window["b2"];_iD1={};_iD1.version=_oy["version"];_iD1._jD1=_oy["Vec2"];_iD1._ZE1=_oy["Vec3"];_iD1.__E1=_oy["Mat22"];_iD1._0F1=_oy["Mat33"];
_iD1._1F1=_oy["Rot"];_iD1._2F1=_oy["Transform"];_iD1._3F1=_oy["Sweep"];_iD1._4F1=_oy["Dot_v2_v2"];_iD1._5F1=_oy["Cross_v2_v2"];_iD1._6F1=_oy["Cross_v2_f"];_iD1._7F1=_oy["Cross_f_v2"];_iD1._8F1=_oy["Mul_m22_v2"];_iD1._9F1=_oy["MulT_m22_v2"];_iD1._aF1=_oy["Distance"];_iD1._bF1=_oy["DistanceSquared"];_iD1._cF1=_oy["Dot_v3_v3"];_iD1._dF1=_oy["Cross_v3_v3"];_iD1._eF1=_oy["Mul_m22_m22"];_iD1._fF1=_oy["MulT_m22_m22"];_iD1._gF1=_oy["Mul_m33_v3"];_iD1._hF1=_oy["Mul22_m33_v2"];_iD1._iF1=_oy["Mul_r_r"];_iD1._jF1=_oy["MulT_r_r"];
_iD1._kF1=_oy["Mul_r_v2"];_iD1._lF1=_oy["MulT_r_v2"];_iD1._mF1=_oy["Mul_t_v2"];_iD1._nF1=_oy["Min_v2"];_iD1._oF1=_oy["Max_v2"];_iD1._pF1=_oy["Clamp"];_iD1._qF1=_oy["MulT_t_v2"];_iD1._rF1=_oy["Mul_t_t"];_iD1._sF1=_oy["MulT_t_t"];_iD1._tF1=_oy["Clamp_v2"];_iD1._uF1=_oy["NextPowerOfTwo"];_iD1._vF1=_oy["Abs_v2"];_iD1._wF1=_oy["Abs_m22"];_iD1._xF1=_oy["IsPowerOfTwo"];_iD1._yF1=_oy["RandomFloat"];_iD1._zF1=_oy["Timer"];_iD1._AF1=_oy["Color"];_iD1._6c=_oy["Draw"];_iD1._BF1=_oy["ContactID"];_iD1._CF1=_oy["ManifoldPoint"];
_iD1._DF1=_oy["Manifold"];_iD1._EF1=_oy["WorldManifold"];_iD1._FF1=_oy["GetPointStates"];_iD1._GF1=_oy["ClipVertex"];_iD1._HF1=_oy["RayCastInput"];_iD1._IF1=_oy["RayCastOutput"];_iD1._JF1=_oy["AABB"];_iD1._KF1=_oy["CollideCircles"];_iD1._LF1=_oy["CollidePolygonAndCircle"];_iD1._MF1=_oy["FindMaxSeparation"];_iD1._NF1=_oy["FindIncidentEdge"];_iD1._OF1=_oy["CollidePolygons"];_iD1._PF1=_oy["CollideEdgeAndCircle"];_iD1._QF1=_oy["EPAxis"];_iD1._RF1=_oy["TempPolygon"];_iD1._SF1=_oy["ReferenceFace"];_iD1._TF1=_oy["EPCollider"];
_iD1._UF1=_oy["CollideEdgeAndPolygon"];_iD1._VF1=_oy["ClipSegmentToLine"];_iD1._WF1=_oy["TestShapeOverlap"];_iD1._c41=_oy["TestOverlap"];_iD1._vD1=_oy["Shape"];_iD1._XF1=_oy["MassData"];_iD1._sD1=_oy["CircleShape"];_iD1._YF1=_oy["EdgeShape"];_iD1._ZF1=_oy["ChainShape"];_iD1._tD1=_oy["PolygonShape"];_iD1._ij1=_oy["Pair"];_iD1.__F1=_oy["PairLessThan"];_iD1._0G1=_oy["BroadPhase"];_iD1._1G1=_oy["DistanceProxy"];_iD1._2G1=_oy["SimplexCache"];_iD1._3G1=_oy["DistanceInput"];_iD1._4G1=_oy["DistanceOutput"];
_iD1._5G1=_oy["SimplexVertex"];_iD1._6G1=_oy["Simplex"];_iD1._7G1=_oy["DistanceFunc"];_iD1._8G1=_oy["TreeNode"];_iD1._9G1=_oy["DynamicTree"];_iD1._aG1=_oy["TOIInput"];_iD1._bG1=_oy["TOIOutput"];_iD1._cG1=_oy["SeparationFunction"];_iD1._dG1=_oy["TimeOfImpact"];_iD1._eG1=_oy["BodyDef"];_iD1._fG1=_oy["Body"];_iD1._gG1=_oy["Filter"];_iD1._rD1=_oy["FixtureDef"];_iD1._hG1=_oy["Fixture"];_iD1._iG1=_oy["DestructionListener"];_iD1._jG1=_oy["ContactFilter"];_iD1._kG1=_oy["ContactImpulse"];_iD1._lG1=_oy["ContactListener"];
_iD1._y41=_oy["QueryCallback"];_iD1._M91=_oy["RayCastCallback"];_iD1._mG1=_oy["TimeStep"];_iD1._nG1=_oy["Position"];_iD1._oG1=_oy["Velocity"];_iD1._pG1=_oy["SolverData"];_iD1._qG1=_oy["World"];_iD1._rG1=_oy["MixFriction"];_iD1._sG1=_oy["MixRestitution"];_iD1._tG1=_oy["ContactRegister"];_iD1._uG1=_oy["ContactEdge"];_iD1._vG1=_oy["Contact"];_iD1._wG1=_oy["CircleContact"];_iD1._xG1=_oy["PolygonContact"];_iD1._yG1=_oy["ChainAndCircleContact"];_iD1._zG1=_oy["ChainAndPolygonContact"];_iD1._AG1=_oy["EdgeAndCircleContact"];
_iD1._BG1=_oy["EdgeAndPolygonContact"];_iD1._CG1=_oy["PolygonAndCircleContact"];_iD1._DG1=_oy["defaultFilter"];_iD1._EG1=_oy["defaultListener"];_iD1._FG1=_oy["ContactManager"];_iD1._GG1=_oy["VelocityConstraintPoint"];_iD1._HG1=_oy["ContactPositionConstraint"];_iD1._IG1=_oy["ContactVelocityConstraint"];_iD1._JG1=_oy["PositionSolverManifold"];_iD1._KG1=_oy["ContactSolverDef"];_iD1._LG1=_oy["ContactSolver"];_iD1._MG1=_oy["Island"];_iD1._NG1=_oy["Jacobian"];_iD1._OG1=_oy["JointEdge"];_iD1._PG1=_oy["JointDef"];
_iD1._QG1=_oy["Joint"];_iD1._RG1=_oy["RevoluteJointDef"];_iD1.__D1=_oy["RevoluteJoint"];_iD1._SG1=_oy["MouseJointDef"];_iD1._TG1=_oy["MouseJoint"];_iD1._UG1=_oy["DistanceJointDef"];_iD1._zE1=_oy["DistanceJoint"];_iD1._VG1=_oy["PrismaticJointDef"];_iD1._0E1=_oy["PrismaticJoint"];_iD1._WG1=_oy["FrictionJointDef"];_iD1._XG1=_oy["FrictionJoint"];_iD1._YG1=_oy["WeldJointDef"];_iD1._ZG1=_oy["WeldJoint"];_iD1.__G1=_oy["WheelJointDef"];_iD1._1E1=_oy["WheelJoint"];_iD1._0H1=_oy["GearJointDef"];_iD1._DE1=_oy["GearJoint"];
_iD1._1H1=_oy["MotorJointDef"];_iD1._2H1=_oy["MotorJoint"];_iD1._3H1=_oy["PulleyJointDef"];_iD1._BE1=_oy["PulleyJoint"];_iD1._4H1=_oy["RopeJointDef"];_iD1._5H1=_oy["RopeJoint"];_iD1._6H1=_oy["RopeDef"];_iD1._7H1=_oy["Rope"];_iD1._8H1=_oy["maxManifoldPoints"];_iD1._9H1=_oy["maxPolygonVertices"];_iD1._aH1=_oy["aabbExtension"];_iD1._bH1=_oy["aabbMultiplier"];_iD1._cH1=_oy["linearSlop"];_iD1._dH1=_oy["angularSlop"];_iD1._eH1=_oy["polygonRadius"];_iD1._fH1=_oy["maxSubSteps"];_iD1._gH1=_oy["maxTOIContacts"];
_iD1._hH1=_oy["velocityThreshold"];_iD1._iH1=_oy["maxLinearCorrection"];_iD1._jH1=_oy["maxAngularCorrection"];_iD1._kH1=_oy["maxTranslation"];_iD1._lH1=_oy["maxTranslationSquared"];_iD1._mH1=_oy["maxRotation"];_iD1._nH1=_oy["maxRotationSquared"];_iD1._oH1=_oy["baumgarte"];_iD1._pH1=_oy["toiBaugarte"];_iD1._qH1=_oy["timeToSleep"];_iD1._rH1=_oy["linearSleepTolerance"];_iD1._sH1=_oy["angularSleepTolerance"];_iD1._tH1=_oy["epsilon"];_iD1._uH1=_oy["JsonSerializer"];_iD1._vH1=_oy["RUBELoader"];_iD1._wH1=_oy["Profiler"];
_iD1._xH1=_oy["ParticleDef"];_iD1._yH1=_oy["ParticleColor"];_iD1._zH1=_oy["ParticleGroupDef"];_iD1._AH1=_oy["ParticleGroup"];_iD1._BH1=_oy["ParticleSystem"]}}/*@constructor */function _CH1(_DH1){var _Wl1=new _iD1._EF1();_DH1._Vl1(_Wl1);this._EH1=_DH1._qc1();this._FH1=_DH1._sc1();this._GH1=[];this._HH1=[];this._GH1[0]=_DH1._Ul1();this._HH1[0]=_Wl1};/*@constructor */function _IH1(_JH1,_KH1,_LH1){this._MH1=_JH1;this._ud1=_KH1;this._vd1=_LH1};/*@constructor */function _NH1(_OH1,_PH1){_YE1();if(_iD1===null){
_iD1=window["b2"]}this._HP=_OH1;this._QH1=_PH1;this._RH1=_PE1;this._Kb1=[];this._SH1=[];this._TH1=new _iD1._zH1();this._4f1=null;this._yz=false;this._UH1=[];for(var _Q3=0;_Q3<_QE1;_Q3++){this._UH1[_Q3]=new _IH1(-1,0,0)}var _ye1=new _iD1._jD1(0,10);this._Gb1=new _iD1._qG1(_ye1);this._VH1();this._WH1();this._P11=_tb?this._XH1:this._YH1;this._ZH1=_tb?this.__H1:this._0I1};_NH1.prototype._VH1=function(){var _Vc=document.getElementById("canvas").getContext("2d");if(_Vc){this._4f1=new _iD1._6c();this._4f1._y11(_iD1._6c._S11|_iD1._6c._T11);
this._4f1._8D1=this;this._4f1._E11=_7D1;this._4f1._F11=_bD1;this._4f1._G11=_dD1;this._4f1._J11=_eD1;this._4f1._L11=_fD1;this._4f1._O11=_gD1;this._4f1._P11=_mD1;this._Gb1._3f1(this._4f1)}};_NH1.prototype._WH1=function(){var _1I1=new _iD1._lG1();_1I1._2I1=this;_1I1._8e1=function(_oc1){if(_oc1._qc1()._Id1()||_oc1._sc1()._Id1()){this._2I1._3I1(_oc1)}};_1I1._ae1=function(_oc1,_be1){};_1I1._9e1=function(_oc1){};_1I1._ce1=function(_oc1,_4I1){this._2I1._3I1(_oc1)};this._Gb1._1f1(_1I1)};_NH1.prototype._3I1=function(_DH1){
for(var _ra=0;_ra<this._Kb1.length;_ra++){var _5I1=this._Kb1[_ra];if((_5I1._EH1==_DH1._qc1()&&_5I1._FH1==_DH1._sc1())||(_5I1._EH1==_DH1._sc1()&&_5I1._FH1==_DH1._qc1())){var _Wl1=new _iD1._EF1();_DH1._Vl1(_Wl1);_5I1._GH1[_5I1._GH1.length]=_DH1._Ul1();_5I1._HH1[_5I1._HH1.length]=_Wl1;return }}this._Kb1[this._Kb1.length]=new _CH1(_DH1)};_NH1.prototype._6I1=function(_6M){this._QH1=_6M};_NH1.prototype._9P=function(_6P,_7P){this._Gb1._Ke1.x=_6P;this._Gb1._Ke1.y=_7P;if((_6P!=0.0)||(_7P!=0.0)){var _7I1=this._Gb1._Ff1();
while((_7I1!=null)&&(_7I1!=undefined)){if(_7I1._a21()===_iD1._fG1._Vb1){_7I1._DP(true)}_7I1=_7I1._ld1()}}};_NH1.prototype._8I1=function(){var _hj=_h9._DG._hj;for(var index=0;index<_hj.length;index++){var _dE=_hj[index];if(_dE._9I1>=0){var _54=_dE._3Q;if(_54!==null&&_54!==undefined){var _7I1=_54._5E1;if(_7I1._a21()!==_iD1._fG1._Vb1){if(_dE._aI1()){_dE._6a(_bI1,0,_dE,_dE)}_7I1._vc1(new _iD1._jD1(_dE.x*this._HP,_dE.y*this._HP),_7I1._E01())}}else {if(_dE._aI1()){_dE._6a(_bI1,0,_dE,_dE)}}}}};_NH1.prototype._cI1=function(){
var _dI1=1.0/this._HP;var _7I1=this._Gb1._Ff1();while((_7I1!=null)&&(_7I1!=undefined)){var _dE=_7I1._b41();if((_dE!=null)&&(_dE!=undefined)){_dE._eI1(_7I1);var _fj=_7I1._1P();_dE._fI1=_fj.x*_dI1;_dE._gI1=_fj.y*_dI1}_7I1=_7I1._ld1()}};_NH1.prototype._Rh=function(_hI1){if(_hI1<=0){return }this._8I1();if(this._yz==true){return }this._cI1();var _iI1=1.0/this._QH1;var _jI1=this._QH1/_hI1;var _kI1=_jI1;while(_kI1>0.0){var _lI1=(_kI1>1.0)?_iI1:(_iI1*_kI1);this._Gb1._lf1(_lI1,this._RH1,this._RH1);_kI1-=1.0}this._Gb1._pf1();
this._mI1();this._nI1()};_NH1.prototype._mI1=function(){var _dI1=1.0/this._HP;var _7I1=this._Gb1._Ff1();while((_7I1!=null)&&(_7I1!=undefined)){var _dE=_7I1._b41();if((_dE!=null)&&(_dE!=undefined)){_dE._eI1(_7I1)}_7I1=_7I1._ld1()}};_NH1.prototype._nI1=function(){var _dI1=1.0/this._HP;for(var _Q3=0;_Q3<this._Kb1.length;_Q3++){if(this._Kb1[_Q3]._EH1&&this._Kb1[_Q3]._FH1&&this._Kb1[_Q3]._EH1._Nd1()&&this._Kb1[_Q3]._FH1._Nd1()){var _oI1=this._Kb1[_Q3]._EH1._Nd1()._b41();var _pI1=this._Kb1[_Q3]._FH1._Nd1()._b41();
_oI1._qI1=0;_oI1._rI1=[];_oI1._sI1=[];_oI1._tI1=[];_oI1._uI1=[];_pI1._qI1=0;_pI1._rI1=[];_pI1._sI1=[];_pI1._tI1=[];_pI1._uI1=[];var _vI1=0;for(var _wI1=0;_wI1<this._Kb1[_Q3]._GH1.length;_wI1++){var _Wl1=this._Kb1[_Q3]._HH1[_wI1];for(var _Pa in _Wl1._a61){if(!_Wl1._a61.hasOwnProperty(_Pa))continue;_oI1._rI1[_vI1]=_Wl1._a61[_Pa].x*_dI1;_oI1._sI1[_vI1]=_Wl1._a61[_Pa].y*_dI1;_oI1._tI1[_vI1]=_Wl1._m21.x;_oI1._uI1[_vI1]=_Wl1._m21.y;_pI1._rI1[_vI1]=_Wl1._a61[_Pa].x*_dI1;_pI1._sI1[_vI1]=_Wl1._a61[_Pa].y*_dI1;
_pI1._tI1[_vI1]=_Wl1._m21.x;_pI1._uI1[_vI1]=_Wl1._m21.y;_oI1._qI1++;_pI1._qI1++;_vI1++}}_oI1._6a(_xI1,_pI1._yI1,_oI1,_pI1);_pI1._6a(_xI1,_oI1._yI1,_pI1,_oI1);_oI1._qI1=0;_oI1._rI1=undefined;_oI1._sI1=undefined;_oI1._tI1=undefined;_oI1._uI1=undefined;_pI1._qI1=0;_pI1._rI1=undefined;_pI1._sI1=undefined;_pI1._tI1=undefined;_pI1._uI1=undefined}}this._Kb1=[]};_NH1.prototype._UP=function(_ME1,_zI1,_PP,_QP){var _RP=-1;if(!_ME1._uD1()){return }var _AI1=this._BI1(_zI1._yI1);if(_AI1!=-1){_ME1._qD1._go._ud1=this._UH1[_AI1]._ud1;
_ME1._qD1._go._vd1=this._UH1[_AI1]._vd1}else {_ME1._qD1._go._ud1=0;_ME1._qD1._go._vd1=0}var _CI1=(_ME1._qD1._j21==0)?(_ME1._nD1?_iD1._fG1._2c1:_iD1._fG1._nb1):_iD1._fG1._Vb1;var _DI1=_zI1._3Q;if(_zI1._3Q){var _7I1=_DI1._5E1;var _fP=_7I1._id1();if((_fP==null)||(_fP==undefined)){_7I1._2d1(_CI1)}var _fP=_7I1._7c1(_ME1._qD1);_RP=_DI1._LE1(_fP)}else {var _EI1=new _iD1._eG1();_EI1.type=_CI1;_EI1.angle=-_zI1._f7*_Na/180.0;_EI1._qb1=_ME1._Pb1;_EI1._rb1=_ME1._Qb1;_EI1._tb1=_ME1._oD1;var _FI1=_zI1._GI1(_EI1.angle,{
x:_PP,y:_QP});_EI1.position.x=(_zI1.x-_FI1.x)*this._HP;_EI1.position.y=(_zI1.y-_FI1.y)*this._HP;_EI1._241=_zI1;var _7I1=this._Gb1._UP(_EI1);var _fP=_7I1._7c1(_ME1._qD1);_DI1=new _2E1(_7I1,_AI1,_PP,_QP);_zI1._3Q=_DI1;_zI1._eI1(_7I1);_RP=_DI1._LE1(_fP);this._HI1()}return _RP};_NH1.prototype._5f1=function(_II1){this._Gb1._5f1(_II1._5E1)};_NH1.prototype._8f1=function(_JI1){this._Gb1._8f1(_JI1._YD1)};_NH1.prototype._KI1=function(_JH1){for(var _ra=0;_ra<_QE1;_ra++){if(this._UH1[_ra]._MH1==_JH1){return _ra}}
return -1};_NH1.prototype._LI1=function(_JH1){var _MI1=this._KI1(_JH1);if(_MI1!=-1){return _MI1}for(var _ra=0;_ra<_QE1;_ra++){if(this._UH1[_ra]._MH1==-1){this._UH1[_ra]._MH1=_JH1;this._UH1[_ra]._ud1=(1<<_ra);this._UH1[_ra]._vd1=0;return _ra}}return -1};_NH1.prototype._NI1=function(_JH1){var _OI1=[];for(var _PI1 in _QI1){if(!_QI1.hasOwnProperty(_PI1))continue;for(var _6m1 in _QI1[_PI1]){if(!_QI1[_PI1].hasOwnProperty(_6m1))continue;var _RI1=-1;if(_PI1==_JH1){_RI1=_6m1}else if(_6m1==_JH1){_RI1=_PI1}if(_RI1!==-1){
_OI1[_OI1.length]=_RI1}}}return _OI1};_NH1.prototype._SI1=function(_lj,_TI1){for(var _9x in _29._UI1){if(!_29._UI1.hasOwnProperty(_9x))continue;var _VI1=_29._UI1[_9x];if(_VI1._RG===_lj._TG){if(this._NI1(_VI1._TG).length!==0){_TI1[_TI1.length]=_VI1._TG}this._SI1(_VI1,_TI1)}}};_NH1.prototype._WI1=function(_JH1){var _OI1=this._NI1(_JH1);var _XI1=_JH1;var _YI1=_29._Si(_JH1);while((_YI1._RG>=0)&&_29._Si(_YI1._RG)){_YI1=_29._Si(_YI1._RG);_OI1=_OI1.concat(this._NI1(_YI1._TG))}for(var _ra=0;_ra<_OI1.length;_ra++){
var _ZI1=_OI1[_ra];var _9x=_29._Si(_ZI1);this._SI1(_9x,_OI1)}return _OI1};_NH1.prototype.__I1=function(_JH1,_4E1){var _OI1=this._WI1(_JH1);for(var _0J1=0;_0J1<_OI1.length;++_0J1){for(var _1J1=0;_1J1<_QE1;++_1J1){if(this._UH1[_1J1]._MH1==_OI1[_0J1]){this._UH1[_4E1]._vd1|=this._UH1[_1J1]._ud1;this._UH1[_1J1]._vd1|=this._UH1[_4E1]._ud1}}}};_NH1.prototype._BI1=function(_JH1){var _AI1=this._KI1(_JH1);if(_AI1!==-1){return _AI1}var _OI1=this._NI1(_JH1);var _MH1=_JH1;if(_OI1.length===0){var _XI1=_JH1;var _YI1=_29._Si(_JH1);
while((_YI1._RG>=0)&&_29._Si(_YI1._RG)){_YI1=_29._Si(_YI1._RG);_MH1=_YI1._TG;_OI1=this._NI1(_MH1);if(_OI1.length!==0){_AI1=this._KI1(_MH1);break }}if(_OI1.length===0){return -1}}if(_AI1===-1){_AI1=this._LI1(_MH1);if(_AI1===-1){return -1}}this.__I1(_JH1,_AI1);return _AI1};_NH1.prototype._HI1=function(){var _7I1=this._Gb1._Ff1();while((_7I1!=null)&&(_7I1!=undefined)){var _dE=_7I1._b41();if((_dE!=null)&&(_dE!=undefined)){var _2J1=_dE._3Q._6E1;if(_2J1!=-1){var _3J1=new _iD1._gG1();_3J1._ud1=this._UH1[_2J1]._ud1;
_3J1._vd1=this._UH1[_2J1]._vd1;var _fP=_7I1._id1();while((_fP!=null)&&(_fP!=undefined)){_3J1._wd1=_fP._Ld1()._wd1;_fP._Jd1(_3J1);_fP=_fP._Mb1}}}_7I1=_7I1._ld1()}};_NH1.prototype._c41=function(_Zj,_sy,_N9,_O9,_R9){var _4J1=new _iD1._2F1();_4J1._sj(new _iD1._jD1(_N9,_O9),_R9);if((_Zj._3Q===null)||(_Zj._3Q===undefined)||(_sy._3Q===null)||(_sy._3Q===undefined)){return;}var _5J1=_Zj._3Q._5E1;var _6J1=_sy._3Q._5E1;var _7J1;for(_7J1=_5J1._id1();_7J1;_7J1=_7J1._ld1()){var _8J1;for(_8J1=_6J1._id1();_8J1;_8J1=_7J1._ld1()){
if(_iD1._WF1(_7J1._Gd1(),0,_8J1._Gd1(),0,_4J1,_6J1._P01())){return true}}}return false};_NH1.prototype._Qg1=function(_9J1,_N9,_O9,_aJ1,_bJ1,_5f,_Re,_cJ1){var _8c1=new _iD1._xH1();_8c1._ZX=_9J1;_8c1.position._sj(_N9*this._HP,_O9*this._HP);_8c1._8R._sj(_aJ1*this._HP,_bJ1*this._HP);_8c1.color._sj((_5f&0xff),(_5f&0xff00)>>8,(_5f&0xff0000)>>16,(_Re*255.0));_8c1._241=_cJ1;return this._Gb1._Qg1(_8c1)};_NH1.prototype._dJ1=function(){for(var _ra=0;_ra<this._SH1.length;_ra++){var _8T=this._SH1[_ra];if(_8T===null||_8T===undefined){
return _ra}}var slot=this._SH1.length;return slot};_NH1.prototype._eJ1=function(_fJ1){if(_fJ1>=0&&_fJ1<this._SH1.length){return this._SH1[_fJ1]}return null};_NH1.prototype._Vg1=function(_gJ1,_hJ1){var _iJ1=this._eJ1(_gJ1);var _jJ1=this._eJ1(_hJ1);if((_iJ1!==null)&&(_jJ1!==null)){this._Gb1._Vg1(_iJ1,_jJ1);this._SH1[_hJ1]=null}};_NH1.prototype._kJ1=function(_wV,_lJ1,_mJ1,_nJ1){var _Fb=this._Gb1._kh1();if(_mJ1<0||_mJ1>=_Fb)return;if(_nJ1<_mJ1)return;if(_nJ1>_Fb)return;var _ZX=this._Gb1._Zg1();var _re1=this._Gb1.__g1();
var _se1=this._Gb1._0h1();var _oJ1=this._Gb1._1h1();var _241=this._Gb1._2h1();var _pJ1=_wV._qJ1;var _rJ1=1.0/this._HP;for(var _ra=_mJ1;_ra<_nJ1;_ra++){if(_lJ1&(1<<0)){_wV._sJ1(_tJ1,_ZX[_ra])}if(_lJ1&(1<<1)){_wV._sJ1(_uJ1,_re1[_ra].x*_rJ1);_wV._sJ1(_uJ1,_re1[_ra].y*_rJ1)}if(_lJ1&(1<<2)){_wV._sJ1(_uJ1,_se1[_ra].x*_rJ1);_wV._sJ1(_uJ1,_se1[_ra].y*_rJ1)}if(_lJ1&(1<<3)){_wV._sJ1(_tJ1,(_oJ1[_ra]._gc<<24)|(_oJ1[_ra]._Ia<<16)|(_oJ1[_ra]._fc<<8)|_oJ1[_ra]._La)}if(_lJ1&(1<<4)){_wV._sJ1(_vJ1,_241[_ra])}}_wV._wJ1(_xJ1,
_pJ1)};_NH1.prototype._wi1=function(_fJ1,_9J1){var _8T=this._eJ1(_fJ1);if(_8T!==null&&_8T!==undefined){_8T._wi1(_9J1)}};_NH1.prototype._vi1=function(_fJ1){var _8T=this._eJ1(_fJ1);if(_8T!==null&&_8T!==undefined){return _8T._vi1()}return 0};_NH1.prototype._YH1=function(_yJ1,_cJ1,_Ca,_zJ1){var _Fb=this._Gb1._kh1();var _ZX=this._Gb1._Zg1();var _re1=this._Gb1.__g1();var _oJ1=this._Gb1._1h1();var _241=this._Gb1._2h1();var _rJ1=1.0/this._HP;for(var _ra=0;_ra<_Fb;_ra++){if(((_ZX[_ra]===0)||((_ZX[_ra]&_yJ1)!==0))&&((_cJ1===0)||(_cJ1===_241[_ra]))){
var _1c=(_oJ1[_ra]._La&0xff)|((_oJ1[_ra]._fc<<8)&0xff00)|((_oJ1[_ra]._Ia<<16)&0xff0000);_Ca._6c(_ra,_re1[_ra].x*_rJ1,_re1[_ra].y*_rJ1,1.0,1.0,0,_1c,_oJ1[_ra]._gc/255.0)}}};_NH1.prototype._0I1=function(_yJ1,_cJ1,_Ca,_zJ1,_4t,_5t,_R9,_5f,_Re){var _Fb=this._Gb1._kh1();var _ZX=this._Gb1._Zg1();var _re1=this._Gb1.__g1();var _241=this._Gb1._2h1();var _rJ1=1.0/this._HP;for(var _ra=0;_ra<_Fb;_ra++){if(((_ZX[_ra]===0)||((_ZX[_ra]&_yJ1)!==0))&&((_cJ1===0)||(_cJ1===_241[_ra]))){_Ca._6c(_ra,_re1[_ra].x*_rJ1,_re1[_ra].y*_rJ1,
_4t,_5t,_R9,_5f,_Re)}}};_NH1.prototype._XH1=function(_yJ1,_cJ1,_Ca,_zJ1){var _Ok=_Ca._VT[_zJ1%_Ca._AJ1()];if(!_Ok){return }if(!_Ok._Hb.complete){return }if(!_Ok._Hb._bd){_cd(_Ok)}var _Fb=this._Gb1._kh1();var _ZX=this._Gb1._Zg1();var _re1=this._Gb1.__g1();var _oJ1=this._Gb1._1h1();var _241=this._Gb1._2h1();var _rJ1=1.0/this._HP;var _BJ1=0;for(var _ra=0;_ra<_Fb;_ra++){if(((_ZX[_ra]===0)||((_ZX[_ra]&_yJ1)!==0))&&((_cJ1===0)||(_cJ1===_241[_ra]))){_BJ1++}}if(_BJ1===0){return }var _ed=_tb._fd(_gd._hd,_Ok._Hb._bd,_tb._id,
_BJ1*6);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=_BJ1*6;var _md=_ed._nd;var _od=_ed._pd;var _qd=_ed._rd;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;var _va=-(_Ca._f3-_Ok._g5);var _wa=-(_Ca._g3-_Ok._h5);var _xa=_va+_Ok._i5;var _ya=_wa+_Ok._j5;var _CJ1=0;for(var _ra=0;_ra<_Fb;_ra++){if(((_ZX[_ra]===0)||((_ZX[_ra]&_yJ1)!==0))&&((_cJ1===0)||(_cJ1===_241[_ra]))){var x=_re1[_ra].x*_rJ1;var y=_re1[_ra].y*_rJ1;_md[_sd+0]=_md[_wd+0]=_md[_xd+0]=x+_va;_md[_sd+1]=_md[_td+1]=_md[_xd+1]=y+_wa;
_md[_td+0]=_md[_ud+0]=_md[_vd+0]=x+_xa;_md[_ud+1]=_md[_vd+1]=_md[_wd+1]=y+_ya;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;var _1c=(_oJ1[_ra]._La&0xff)|((_oJ1[_ra]._fc<<8)&0xff00)|((_oJ1[_ra]._Ia<<16)&0xff0000)|((_oJ1[_ra]._gc<<24)&0xff000000);_od[_sd]=_od[_td]=_od[_ud]=_od[_vd]=_od[_wd]=_od[_xd]=_1c;_qd[_sd+0]=_qd[_wd+0]=_qd[_xd+0]=_Ok.x/_Ok._Hb.width;_qd[_sd+1]=_qd[_td+1]=_qd[_xd+1]=_Ok.y/_Ok._Hb.height;_qd[_td+0]=_qd[_ud+0]=_qd[_vd+0]=(_Ok.x+_Ok._S3)/_Ok._Hb.width;_qd[_ud+1]=_qd[_vd+1]=_qd[_wd+1]=(_Ok.y+_Ok._T3)/_Ok._Hb.height;
var _DJ1=_jd*6;_sd+=_DJ1;_td+=_DJ1;_ud+=_DJ1;_vd+=_DJ1;_wd+=_DJ1;_xd+=_DJ1}}};_NH1.prototype.__H1=function(_yJ1,_cJ1,_Ca,_zJ1,_4t,_5t,_R9,_5f,_Re){_R9=(_R9*Math.PI)/180.0;var _Ok=_Ca._VT[_zJ1%_Ca._AJ1()];if(!_Ok){return;}if(!_Ok._Hb.complete){return }if(!_Ok._Hb._bd){_cd(_Ok)}var _Fb=this._Gb1._kh1();var _ZX=this._Gb1._Zg1();var _re1=this._Gb1.__g1();var _241=this._Gb1._2h1();var _rJ1=1.0/this._HP;var _BJ1=0;for(var _ra=0;_ra<_Fb;_ra++){if(((_ZX[_ra]===0)||((_ZX[_ra]&_yJ1)!==0))&&((_cJ1===0)||(_cJ1===_241[_ra]))){
_BJ1++}}if(_BJ1===0){return }var _ed=_tb._fd(_gd._hd,_Ok._Hb._bd,_tb._id,_BJ1*6);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=_BJ1*6;var _md=_ed._nd;var _od=_ed._pd;var _qd=_ed._rd;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;var _1c=_5f|(((_Re*255)&0xff)<<24);var _va=-_4t*(_Ca._f3-_Ok._g5);var _wa=-_5t*(_Ca._g3-_Ok._h5);var _xa=_va+(_4t*_Ok._i5);var _ya=_wa+(_5t*_Ok._j5);var _CJ1=0;if(Math.abs(_R9)<0.0001){for(var _ra=0;_ra<_Fb;_ra++){if(((_ZX[_ra]===0)||((_ZX[_ra]&_yJ1)!==0))&&((_cJ1===0)||(_cJ1===_241[_ra]))){
var x=_re1[_ra].x*_rJ1;var y=_re1[_ra].y*_rJ1;_md[_sd+0]=_md[_wd+0]=_md[_xd+0]=x+_va;_md[_sd+1]=_md[_td+1]=_md[_xd+1]=y+_wa;_md[_td+0]=_md[_ud+0]=_md[_vd+0]=x+_xa;_md[_ud+1]=_md[_vd+1]=_md[_wd+1]=y+_ya;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;_od[_sd]=_od[_td]=_od[_ud]=_od[_vd]=_od[_wd]=_od[_xd]=_1c;_qd[_sd+0]=_qd[_wd+0]=_qd[_xd+0]=_Ok.x/_Ok._Hb.width;_qd[_sd+1]=_qd[_td+1]=_qd[_xd+1]=_Ok.y/_Ok._Hb.height;_qd[_td+0]=_qd[_ud+0]=_qd[_vd+0]=(_Ok.x+_Ok._S3)/_Ok._Hb.width;_qd[_ud+1]=_qd[_vd+1]=_qd[_wd+1]=(_Ok.y+_Ok._T3)/_Ok._Hb.height;
var _DJ1=_jd*6;_sd+=_DJ1;_td+=_DJ1;_ud+=_DJ1;_vd+=_DJ1;_wd+=_DJ1;_xd+=_DJ1}}}else {var _ab=Math.sin(_R9);var _bb=Math.cos(_R9);var _EJ1=_va*_bb;var _FJ1=_xa*_bb;var _GJ1=_wa*_bb;var _HJ1=_ya*_bb;var _IJ1=_va*_ab;var _JJ1=_xa*_ab;var _KJ1=_wa*_ab;var _LJ1=_ya*_ab;for(var _ra=0;_ra<_Fb;_ra++){if(((_ZX[_ra]===0)||((_ZX[_ra]&_yJ1)!==0))&&((_cJ1===0)||(_cJ1===_241[_ra]))){var x=_re1[_ra].x*_rJ1;var y=_re1[_ra].y*_rJ1;_md[_sd+0]=_md[_xd+0]=x+_EJ1+_KJ1;_md[_sd+1]=_md[_xd+1]=y-_IJ1+_GJ1;_md[_ud+0]=_md[_vd+0]=x+_FJ1+_LJ1;
_md[_ud+1]=_md[_vd+1]=y-_JJ1+_HJ1;_md[_td+1]=y-_JJ1+_GJ1;_md[_td+0]=x+_FJ1+_KJ1;_md[_wd+0]=x+_EJ1+_LJ1;_md[_wd+1]=y-_IJ1+_HJ1;_od[_sd]=_od[_td]=_od[_ud]=_od[_vd]=_od[_wd]=_od[_xd]=_1c;_qd[_sd+0]=_qd[_wd+0]=_qd[_xd+0]=_Ok.x/_Ok._Hb.width;_qd[_sd+1]=_qd[_td+1]=_qd[_xd+1]=_Ok.y/_Ok._Hb.height;_qd[_td+0]=_qd[_ud+0]=_qd[_vd+0]=(_Ok.x+_Ok._S3)/_Ok._Hb.width;_qd[_ud+1]=_qd[_vd+1]=_qd[_wd+1]=(_Ok.y+_Ok._T3)/_Ok._Hb.height;var _DJ1=_jd*6;_sd+=_DJ1;_td+=_DJ1;_ud+=_DJ1;_vd+=_DJ1;_wd+=_DJ1;_xd+=_DJ1}}}};_NH1.prototype._kh1=function(){
return this._Gb1._kh1()};_NH1.prototype._Fg1=function(){return this._Gb1._Fg1()};_NH1.prototype._Pg1=function(){return this._Gb1._Pg1()*(1.0/this._HP)};_NH1.prototype._Ig1=function(){return this._Gb1._Ig1()};_NH1.prototype._Ng1=function(){return this._Gb1._Ng1()};_NH1.prototype._Kg1=function(){return this._Gb1._Kg1()};_NH1.prototype._Gg1=function(_fg){this._Gb1._Gg1(_fg)};_NH1.prototype._Og1=function(_al){this._Gb1._Og1(_al*this._HP)};_NH1.prototype._Hg1=function(_iP){this._Gb1._Hg1(_iP)};_NH1.prototype._Lg1=function(_xP){
this._Gb1._Lg1(_xP)};_NH1.prototype._Jg1=function(_sE1){this._Gb1._Jg1(_sE1)};var _MJ1=(this&&this._MJ1)||function(_Al,_La){for(var _KA in _La)if(_La.hasOwnProperty(_KA))_Al[_KA]=_La[_KA];function _NJ1(){this.constructor=_Al}_Al.prototype=_La===null?Object.__Z(_La):(_NJ1.prototype=_La.prototype,new _NJ1())};var spine;(function(spine){var _OJ1=(function(){function _OJ1(name,_1a,duration){if(name==null)throw new Error("name cannot be null.");if(_1a==null)throw new Error("timelines cannot be null.");this.name=name;
this._1a=_1a;this.duration=duration}_OJ1.prototype.apply=function(skeleton,_PJ1,time,loop,events){if(skeleton==null)throw new Error("skeleton cannot be null.");if(loop&&this.duration!=0){time%=this.duration;if(_PJ1>0)_PJ1%=this.duration}var _1a=this._1a;for(var _Q3=0,_ra=_1a.length;_Q3<_ra;_Q3++)_1a[_Q3].apply(skeleton,_PJ1,time,events,1)};_OJ1.prototype.mix=function(skeleton,_PJ1,time,loop,events,alpha){if(skeleton==null)throw new Error("skeleton cannot be null.");if(loop&&this.duration!=0){time%=this.duration;
if(_PJ1>0)_PJ1%=this.duration}var _1a=this._1a;for(var _Q3=0,_ra=_1a.length;_Q3<_ra;_Q3++)_1a[_Q3].apply(skeleton,_PJ1,time,events,alpha)};_OJ1._QJ1=function(_RJ1,target,_JZ){if(_JZ===void 0){_JZ=1}var _Ej=0;var _Dj=_RJ1.length/_JZ-2;if(_Dj==0)return _JZ;var current=_Dj>>>1;while(!0){if(_RJ1[(current+1)*_JZ]<=target)_Ej=current+1;else _Dj=current;if(_Ej==_Dj)return(_Ej+1)*_JZ;current=(_Ej+_Dj)>>>1}};_OJ1._SJ1=function(_RJ1,target,_JZ){for(var _Q3=0,_L3=_RJ1.length-_JZ;_Q3<=_L3;_Q3+=_JZ)if(_RJ1[_Q3]>target)return _Q3;
return -1};return _OJ1}());spine._OJ1=_OJ1;var _TJ1=(function(){function _TJ1(_Y9){if(_Y9<=0)throw new Error("frameCount must be > 0: "+_Y9);this._UJ1=spine._VJ1._WJ1((_Y9-1)*_TJ1._XJ1);}_TJ1.prototype._YJ1=function(){return this._UJ1.length/_TJ1._XJ1+1};_TJ1.prototype._ZJ1=function(__J1){this._UJ1[__J1*_TJ1._XJ1]=_TJ1.LINEAR};_TJ1.prototype._0K1=function(__J1){this._UJ1[__J1*_TJ1._XJ1]=_TJ1._1K1};_TJ1.prototype._2K1=function(__J1){var index=__J1*_TJ1._XJ1;if(index==this._UJ1.length)return _TJ1.LINEAR;var type=this._UJ1[index];
if(type==_TJ1.LINEAR)return _TJ1.LINEAR;if(type==_TJ1._1K1)return _TJ1._1K1;return _TJ1._3K1};_TJ1.prototype._4K1=function(__J1,_5K1,_6K1,_7K1,_8K1){var _9K1=(-_5K1*2+_7K1)*0.03,_aK1=(-_6K1*2+_8K1)*0.03;var _bK1=((_5K1-_7K1)*3+1)*0.006,_cK1=((_6K1-_8K1)*3+1)*0.006;var _dK1=_9K1*2+_bK1,_eK1=_aK1*2+_cK1;var _fK1=_5K1*0.3+_9K1+_bK1*0.16666667,_gK1=_6K1*0.3+_aK1+_cK1*0.16666667;var _Q3=__J1*_TJ1._XJ1;var _UJ1=this._UJ1;_UJ1[_Q3++]=_TJ1._3K1;var x=_fK1,y=_gK1;for(var _ra=_Q3+_TJ1._XJ1-1;_Q3<_ra;_Q3+=2){_UJ1[_Q3]=x;
_UJ1[_Q3+1]=y;_fK1+=_dK1;_gK1+=_eK1;_dK1+=_bK1;_eK1+=_cK1;x+=_fK1;y+=_gK1}};_TJ1.prototype._hK1=function(__J1,_iK1){_iK1=spine._jK1._JL(_iK1,0,1);var _UJ1=this._UJ1;var _Q3=__J1*_TJ1._XJ1;var type=_UJ1[_Q3];if(type==_TJ1.LINEAR)return _iK1;if(type==_TJ1._1K1)return 0;_Q3++;var x=0;for(var start=_Q3,_ra=_Q3+_TJ1._XJ1-1;_Q3<_ra;_Q3+=2){x=_UJ1[_Q3];if(x>=_iK1){var _kK1=void 0,_lK1=void 0;if(_Q3==start){_kK1=0;_lK1=0}else {_kK1=_UJ1[_Q3-2];_lK1=_UJ1[_Q3-1]}return _lK1+(_UJ1[_Q3+1]-_lK1)*(_iK1-_kK1)/(x-_kK1)}}var y=_UJ1[_Q3-1];
return y+(1-y)*(_iK1-x)/(1-x)};_TJ1.LINEAR=0;_TJ1._1K1=1;_TJ1._3K1=2;_TJ1._XJ1=10*2-1;return _TJ1}());spine._TJ1=_TJ1;var _mK1=(function(_nK1){_MJ1(_mK1,_nK1);function _mK1(_Y9){_nK1.call(this,_Y9);this.frames=spine._VJ1._WJ1(_Y9<<1)}_mK1.prototype._oK1=function(__J1,time,_pK1){__J1<<=1;this.frames[__J1]=time;this.frames[__J1+_mK1._qK1]=_pK1};_mK1.prototype.apply=function(skeleton,_PJ1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var bone=skeleton.bones[this._rK1];if(time>=frames[frames.length-_mK1._sK1]){
var _tK1=bone.data.rotation+frames[frames.length+_mK1._uK1]-bone.rotation;while(_tK1>180)_tK1-=360;while(_tK1<-180)_tK1+=360;bone.rotation+=_tK1*alpha;return }var _aa=_OJ1._QJ1(frames,time,_mK1._sK1);var _vK1=frames[_aa+_mK1._uK1];var _wK1=frames[_aa];var _iK1=this._hK1((_aa>>1)-1,1-(time-_wK1)/(frames[_aa+_mK1._xK1]-_wK1));var _yK1=frames[_aa+_mK1._qK1]-_vK1;while(_yK1>180)_yK1-=360;while(_yK1<-180)_yK1+=360;_yK1=bone.data.rotation+(_vK1+_yK1*_iK1)-bone.rotation;while(_yK1>180)_yK1-=360;while(_yK1<-180)_yK1+=360;
bone.rotation+=_yK1*alpha};_mK1._sK1=2;_mK1._xK1=-2;_mK1._uK1=-1;_mK1._qK1=1;return _mK1}(_TJ1));spine._mK1=_mK1;var _zK1=(function(_nK1){_MJ1(_zK1,_nK1);function _zK1(_Y9){_nK1.call(this,_Y9);this.frames=spine._VJ1._WJ1(_Y9*_zK1._sK1)}_zK1.prototype._oK1=function(__J1,time,x,y){__J1*=_zK1._sK1;this.frames[__J1]=time;this.frames[__J1+_zK1._Zr]=x;this.frames[__J1+_zK1.__r]=y};_zK1.prototype.apply=function(skeleton,_PJ1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var bone=skeleton.bones[this._rK1];
if(time>=frames[frames.length-_zK1._sK1]){bone.x+=(bone.data.x+frames[frames.length+_zK1._AK1]-bone.x)*alpha;bone.y+=(bone.data.y+frames[frames.length+_zK1._BK1]-bone.y)*alpha;return }var _aa=_OJ1._QJ1(frames,time,_zK1._sK1);var _kK1=frames[_aa+_zK1._AK1];var _lK1=frames[_aa+_zK1._BK1];var _wK1=frames[_aa];var _iK1=this._hK1(_aa/_zK1._sK1-1,1-(time-_wK1)/(frames[_aa+_zK1._xK1]-_wK1));bone.x+=(bone.data.x+_kK1+(frames[_aa+_zK1._Zr]-_kK1)*_iK1-bone.x)*alpha;bone.y+=(bone.data.y+_lK1+(frames[_aa+_zK1.__r]-_lK1)*_iK1-bone.y)*alpha}
;_zK1._sK1=3;_zK1._xK1=-3;_zK1._AK1=-2;_zK1._BK1=-1;_zK1._Zr=1;_zK1.__r=2;return _zK1}(_TJ1));spine._zK1=_zK1;var _CK1=(function(_nK1){_MJ1(_CK1,_nK1);function _CK1(_Y9){_nK1.call(this,_Y9)}_CK1.prototype.apply=function(skeleton,_PJ1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var bone=skeleton.bones[this._rK1];if(time>=frames[frames.length-_CK1._sK1]){bone.scaleX+=(bone.data.scaleX*frames[frames.length+_CK1._AK1]-bone.scaleX)*alpha;bone.scaleY+=(bone.data.scaleY*frames[frames.length+_CK1._BK1]-bone.scaleY)*alpha;
return }var _aa=_OJ1._QJ1(frames,time,_CK1._sK1);var _kK1=frames[_aa+_CK1._AK1];var _lK1=frames[_aa+_CK1._BK1];var _wK1=frames[_aa];var _iK1=this._hK1(_aa/_CK1._sK1-1,1-(time-_wK1)/(frames[_aa+_CK1._xK1]-_wK1));bone.scaleX+=(bone.data.scaleX*(_kK1+(frames[_aa+_CK1._Zr]-_kK1)*_iK1)-bone.scaleX)*alpha;bone.scaleY+=(bone.data.scaleY*(_lK1+(frames[_aa+_CK1.__r]-_lK1)*_iK1)-bone.scaleY)*alpha};return _CK1}(_zK1));spine._CK1=_CK1;var _DK1=(function(_nK1){_MJ1(_DK1,_nK1);function _DK1(_Y9){_nK1.call(this,_Y9)}_DK1.prototype.apply=function(skeleton,
_PJ1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var bone=skeleton.bones[this._rK1];if(time>=frames[frames.length-_DK1._sK1]){bone.shearX+=(bone.data.shearX+frames[frames.length+_DK1._AK1]-bone.shearX)*alpha;bone.shearY+=(bone.data.shearY+frames[frames.length+_DK1._BK1]-bone.shearY)*alpha;return }var _aa=_OJ1._QJ1(frames,time,_DK1._sK1);var _kK1=frames[_aa+_DK1._AK1];var _lK1=frames[_aa+_DK1._BK1];var _wK1=frames[_aa];var _iK1=this._hK1(_aa/_DK1._sK1-1,1-(time-_wK1)/(frames[_aa+_DK1._xK1]-_wK1));
bone.shearX+=(bone.data.shearX+(_kK1+(frames[_aa+_DK1._Zr]-_kK1)*_iK1)-bone.shearX)*alpha;bone.shearY+=(bone.data.shearY+(_lK1+(frames[_aa+_DK1.__r]-_lK1)*_iK1)-bone.shearY)*alpha};return _DK1}(_zK1));spine._DK1=_DK1;var _EK1=(function(_nK1){_MJ1(_EK1,_nK1);function _EK1(_Y9){_nK1.call(this,_Y9);this.frames=spine._VJ1._WJ1(_Y9*_EK1._sK1)}_EK1.prototype._oK1=function(__J1,time,_Ia,_fc,_La,_gc){__J1*=_EK1._sK1;this.frames[__J1]=time;this.frames[__J1+_EK1._FK1]=_Ia;this.frames[__J1+_EK1._ra1]=_fc;this.frames[__J1+_EK1._j01]=_La;
this.frames[__J1+_EK1._7_]=_gc};_EK1.prototype.apply=function(skeleton,_PJ1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var _Ia=0,_fc=0,_La=0,_gc=0;if(time>=frames[frames.length-_EK1._sK1]){var _Q3=frames.length;_Ia=frames[_Q3+_EK1._GK1];_fc=frames[_Q3+_EK1._HK1];_La=frames[_Q3+_EK1._IK1];_gc=frames[_Q3+_EK1._JK1]}else {var _aa=_OJ1._QJ1(frames,time,_EK1._sK1);_Ia=frames[_aa+_EK1._GK1];_fc=frames[_aa+_EK1._HK1];_La=frames[_aa+_EK1._IK1];_gc=frames[_aa+_EK1._JK1];var _wK1=frames[_aa];
var _iK1=this._hK1(_aa/_EK1._sK1-1,1-(time-_wK1)/(frames[_aa+_EK1._xK1]-_wK1));_Ia+=(frames[_aa+_EK1._FK1]-_Ia)*_iK1;_fc+=(frames[_aa+_EK1._ra1]-_fc)*_iK1;_La+=(frames[_aa+_EK1._j01]-_La)*_iK1;_gc+=(frames[_aa+_EK1._7_]-_gc)*_iK1}var color=skeleton.slots[this._G9].color;if(alpha<1)color.add((_Ia-color._Ia)*alpha,(_fc-color._fc)*alpha,(_La-color._La)*alpha,(_gc-color._gc)*alpha);else color.set(_Ia,_fc,_La,_gc)};_EK1._sK1=5;_EK1._xK1=-5;_EK1._GK1=-4;_EK1._HK1=-3;_EK1._IK1=-2;_EK1._JK1=-1;_EK1._FK1=1;
_EK1._ra1=2;_EK1._j01=3;_EK1._7_=4;return _EK1}(_TJ1));spine._EK1=_EK1;var _KK1=(function(){function _KK1(_Y9){this.frames=spine._VJ1._WJ1(_Y9);this._LK1=new Array(_Y9)}_KK1.prototype._YJ1=function(){return this.frames.length};_KK1.prototype._oK1=function(__J1,time,_MK1){this.frames[__J1]=time;this._LK1[__J1]=_MK1};_KK1.prototype.apply=function(skeleton,_PJ1,time,events,alpha){var frames=this.frames;if(time<frames[0])return;var __J1=0;if(time>=frames[frames.length-1])__J1=frames.length-1;else __J1=_OJ1._QJ1(frames,
time,1)-1;var _MK1=this._LK1[__J1];skeleton.slots[this._G9]._F9(_MK1==null?null:skeleton._J9(this._G9,_MK1))};return _KK1}());spine._KK1=_KK1;var _NK1=(function(){function _NK1(_Y9){this.frames=spine._VJ1._WJ1(_Y9);this.events=new Array(_Y9)}_NK1.prototype._YJ1=function(){return this.frames.length};_NK1.prototype._oK1=function(__J1,event){this.frames[__J1]=event.time;this.events[__J1]=event};_NK1.prototype.apply=function(skeleton,_PJ1,time,_OK1,alpha){if(_OK1==null)return;var frames=this.frames;var _Y9=this.frames.length;
if(_PJ1>time){this.apply(skeleton,_PJ1,Number.MAX_VALUE,_OK1,alpha);_PJ1=-1}else if(_PJ1>=frames[_Y9-1])return;if(time<frames[0])return;var _aa=0;if(_PJ1<frames[0])_aa=0;else {_aa=_OJ1._QJ1(frames,_PJ1);var _wK1=frames[_aa];while(_aa>0){if(frames[_aa-1]!=_wK1)break;_aa--}}for(;_aa<_Y9&&time>=frames[_aa];_aa++)_OK1.push(this.events[_aa])};return _NK1}());spine._NK1=_NK1;var _PK1=(function(){function _PK1(_Y9){this.frames=spine._VJ1._WJ1(_Y9);this._QK1=new Array(_Y9)}_PK1.prototype._YJ1=function(){return this.frames.length}
;_PK1.prototype._oK1=function(__J1,time,_ec){this.frames[__J1]=time;this._QK1[__J1]=_ec};_PK1.prototype.apply=function(skeleton,_PJ1,time,_OK1,alpha){var frames=this.frames;if(time<frames[0])return;var _aa=0;if(time>=frames[frames.length-1])_aa=frames.length-1;else _aa=_OJ1._QJ1(frames,time)-1;var _ec=skeleton._ec;var slots=skeleton.slots;var _RK1=this._QK1[_aa];if(_RK1==null)spine._VJ1._SK1(slots,0,_ec,0,slots.length);else {for(var _Q3=0,_ra=_RK1.length;_Q3<_ra;_Q3++)_ec[_Q3]=slots[_RK1[_Q3]]}};return _PK1}
());spine._PK1=_PK1;var _TK1=(function(_nK1){_MJ1(_TK1,_nK1);function _TK1(_Y9){_nK1.call(this,_Y9);this.frames=spine._VJ1._WJ1(_Y9);this._UK1=new Array(_Y9)}_TK1.prototype._oK1=function(__J1,time,vertices){this.frames[__J1]=time;this._UK1[__J1]=vertices};_TK1.prototype.apply=function(skeleton,_PJ1,time,_OK1,alpha){var slot=skeleton.slots[this._G9];var _VK1=slot._J9();if(!(_VK1 instanceof spine._WK1)||!_VK1._XK1(this.attachment))return;var frames=this.frames;if(time<frames[0])return;var _UK1=this._UK1;var vertexCount=_UK1[0].length;
var _YK1=slot._ZK1;if(_YK1.length!=vertexCount)alpha=1;var vertices=spine._VJ1.__K1(_YK1,vertexCount);if(time>=frames[frames.length-1]){var _0L1=_UK1[frames.length-1];if(alpha<1){for(var _Q3=0;_Q3<vertexCount;_Q3++)vertices[_Q3]+=(_0L1[_Q3]-vertices[_Q3])*alpha}else spine._VJ1._SK1(_0L1,0,vertices,0,vertexCount);return }var _aa=_OJ1._QJ1(frames,time);var _1L1=_UK1[_aa-1];var _2L1=_UK1[_aa];var _wK1=frames[_aa];var _iK1=this._hK1(_aa-1,1-(time-_wK1)/(frames[_aa-1]-_wK1));if(alpha<1){for(var _Q3=0;_Q3<vertexCount;
_Q3++){var _ff1=_1L1[_Q3];vertices[_Q3]+=(_ff1+(_2L1[_Q3]-_ff1)*_iK1-vertices[_Q3])*alpha}}else {for(var _Q3=0;_Q3<vertexCount;_Q3++){var _ff1=_1L1[_Q3];vertices[_Q3]=_ff1+(_2L1[_Q3]-_ff1)*_iK1}}};return _TK1}(_TJ1));spine._TK1=_TK1;var _3L1=(function(_nK1){_MJ1(_3L1,_nK1);function _3L1(_Y9){_nK1.call(this,_Y9);this.frames=spine._VJ1._WJ1(_Y9*_3L1._sK1)}_3L1.prototype._oK1=function(__J1,time,mix,_4L1){__J1*=_3L1._sK1;this.frames[__J1]=time;this.frames[__J1+_3L1._5L1]=mix;this.frames[__J1+_3L1._6L1]=_4L1}
;_3L1.prototype.apply=function(skeleton,_PJ1,time,_OK1,alpha){var frames=this.frames;if(time<frames[0])return;var _7L1=skeleton._8L1[this._9L1];if(time>=frames[frames.length-_3L1._sK1]){_7L1.mix+=(frames[frames.length+_3L1._aL1]-_7L1.mix)*alpha;_7L1._4L1=Math.floor(frames[frames.length+_3L1._bL1]);return }var _aa=_OJ1._QJ1(frames,time,_3L1._sK1);var mix=frames[_aa+_3L1._aL1];var _wK1=frames[_aa];var _iK1=this._hK1(_aa/_3L1._sK1-1,1-(time-_wK1)/(frames[_aa+_3L1._xK1]-_wK1));_7L1.mix+=(mix+(frames[_aa+_3L1._5L1]-mix)*_iK1-_7L1.mix)*alpha;
_7L1._4L1=Math.floor(frames[_aa+_3L1._bL1])};_3L1._sK1=3;_3L1._xK1=-3;_3L1._aL1=-2;_3L1._bL1=-1;_3L1._5L1=1;_3L1._6L1=2;return _3L1}(_TJ1));spine._3L1=_3L1;var _cL1=(function(_nK1){_MJ1(_cL1,_nK1);function _cL1(_Y9){_nK1.call(this,_Y9);this.frames=spine._VJ1._WJ1(_Y9*_cL1._sK1)}_cL1.prototype._oK1=function(__J1,time,rotateMix,_dL1,scaleMix,_eL1){__J1*=_cL1._sK1;this.frames[__J1]=time;this.frames[__J1+_cL1._fL1]=rotateMix;this.frames[__J1+_cL1._gL1]=_dL1;this.frames[__J1+_cL1._hL1]=scaleMix;this.frames[__J1+_cL1._iL1]=_eL1}
;_cL1.prototype.apply=function(skeleton,_PJ1,time,_OK1,alpha){var frames=this.frames;if(time<frames[0])return;var _7L1=skeleton._jL1[this._kL1];if(time>=frames[frames.length-_cL1._sK1]){var _Q3=frames.length;_7L1.rotateMix+=(frames[_Q3+_cL1._lL1]-_7L1.rotateMix)*alpha;_7L1._dL1+=(frames[_Q3+_cL1._mL1]-_7L1._dL1)*alpha;_7L1.scaleMix+=(frames[_Q3+_cL1._nL1]-_7L1.scaleMix)*alpha;_7L1._eL1+=(frames[_Q3+_cL1._oL1]-_7L1._eL1)*alpha;return }var _aa=_OJ1._QJ1(frames,time,_cL1._sK1);var _wK1=frames[_aa];var _iK1=this._hK1(_aa/_cL1._sK1-1,
1-(time-_wK1)/(frames[_aa+_cL1._xK1]-_wK1));var rotate=frames[_aa+_cL1._lL1];var translate=frames[_aa+_cL1._mL1];var scale=frames[_aa+_cL1._nL1];var _pL1=frames[_aa+_cL1._oL1];_7L1.rotateMix+=(rotate+(frames[_aa+_cL1._fL1]-rotate)*_iK1-_7L1.rotateMix)*alpha;_7L1._dL1+=(translate+(frames[_aa+_cL1._gL1]-translate)*_iK1-_7L1._dL1)*alpha;_7L1.scaleMix+=(scale+(frames[_aa+_cL1._hL1]-scale)*_iK1-_7L1.scaleMix)*alpha;_7L1._eL1+=(_pL1+(frames[_aa+_cL1._iL1]-_pL1)*_iK1-_7L1._eL1)*alpha};_cL1._sK1=5;_cL1._xK1=-5;
_cL1._lL1=-4;_cL1._mL1=-3;_cL1._nL1=-2;_cL1._oL1=-1;_cL1._fL1=1;_cL1._gL1=2;_cL1._hL1=3;_cL1._iL1=4;return _cL1;}(_TJ1));spine._cL1=_cL1;var _qL1=(function(_nK1){_MJ1(_qL1,_nK1);function _qL1(_Y9){_nK1.call(this,_Y9);this.frames=spine._VJ1._WJ1(_Y9*_qL1._sK1)}_qL1.prototype._oK1=function(__J1,time,value){__J1*=_qL1._sK1;this.frames[__J1]=time;this.frames[__J1+_qL1._rL1]=value};_qL1.prototype.apply=function(skeleton,_PJ1,time,_OK1,alpha){var frames=this.frames;if(time<frames[0])return;var _7L1=skeleton._sL1[this._tL1];
if(time>=frames[frames.length-_qL1._sK1]){var _Q3=frames.length;_7L1.position+=(frames[_Q3+_qL1._uL1]-_7L1.position)*alpha;return }var _aa=_OJ1._QJ1(frames,time,_qL1._sK1);var position=frames[_aa+_qL1._uL1];var _wK1=frames[_aa];var _iK1=this._hK1(_aa/_qL1._sK1-1,1-(time-_wK1)/(frames[_aa+_qL1._xK1]-_wK1));_7L1.position+=(position+(frames[_aa+_qL1._rL1]-position)*_iK1-_7L1.position)*alpha};_qL1._sK1=2;_qL1._xK1=-2;_qL1._uL1=-1;_qL1._rL1=1;return _qL1}(_TJ1));spine._qL1=_qL1;var _vL1=(function(_nK1){_MJ1(_vL1,
_nK1);function _vL1(_Y9){_nK1.call(this,_Y9)}_vL1.prototype.apply=function(skeleton,_PJ1,time,_OK1,alpha){var frames=this.frames;if(time<frames[0])return;var _7L1=skeleton._sL1[this._tL1];if(time>=frames[frames.length-_vL1._sK1]){var _Q3=frames.length;_7L1.spacing+=(frames[_Q3+_vL1._uL1]-_7L1.spacing)*alpha;return }var _aa=_OJ1._QJ1(frames,time,_vL1._sK1);var spacing=frames[_aa+_vL1._uL1];var _wK1=frames[_aa];var _iK1=this._hK1(_aa/_vL1._sK1-1,1-(time-_wK1)/(frames[_aa+_vL1._xK1]-_wK1));_7L1.spacing+=(spacing+(frames[_aa+_vL1._rL1]-spacing)*_iK1-_7L1.spacing)*alpha}
;return _vL1}(_qL1));spine._vL1=_vL1;var _wL1=(function(_nK1){_MJ1(_wL1,_nK1);function _wL1(_Y9){_nK1.call(this,_Y9);this.frames=spine._VJ1._WJ1(_Y9*_wL1._sK1)}_wL1.prototype._oK1=function(__J1,time,rotateMix,_dL1){__J1*=_wL1._sK1;this.frames[__J1]=time;this.frames[__J1+_wL1._fL1]=rotateMix;this.frames[__J1+_wL1._gL1]=_dL1};_wL1.prototype.apply=function(skeleton,_PJ1,time,_OK1,alpha){var frames=this.frames;if(time<frames[0])return;var _7L1=skeleton._sL1[this._tL1];if(time>=frames[frames.length-_wL1._sK1]){
var _Q3=frames.length;_7L1.rotateMix+=(frames[_Q3+_wL1._lL1]-_7L1.rotateMix)*alpha;_7L1._dL1+=(frames[_Q3+_wL1._mL1]-_7L1._dL1)*alpha;return }var _aa=_OJ1._QJ1(frames,time,_wL1._sK1);var rotate=frames[_aa+_wL1._lL1];var translate=frames[_aa+_wL1._mL1];var _wK1=frames[_aa];var _iK1=this._hK1(_aa/_wL1._sK1-1,1-(time-_wK1)/(frames[_aa+_wL1._xK1]-_wK1));_7L1.rotateMix+=(rotate+(frames[_aa+_wL1._fL1]-rotate)*_iK1-_7L1.rotateMix)*alpha;_7L1._dL1+=(translate+(frames[_aa+_wL1._gL1]-translate)*_iK1-_7L1._dL1)*alpha}
;_wL1._sK1=3;_wL1._xK1=-3;_wL1._lL1=-2;_wL1._mL1=-1;_wL1._fL1=1;_wL1._gL1=2;return _wL1;}(_TJ1));spine._wL1=_wL1})(spine||(spine={}));(function(spine){var _T8=(function(){function _T8(data){if(data===void 0){data=null}this._f9=new Array();this.events=new Array();this._xL1=new Array();this._yL1=1;if(data==null)throw new Error("data cannot be null.");this.data=data}_T8.prototype._3a=function(_zL1){_zL1*=this._yL1;for(var _Q3=0;_Q3<this._f9.length;_Q3++){var current=this._f9[_Q3];if(current==null)continue;var _zj=current._zj;
if(_zj!=null){var _AL1=current._PJ1-_zj._BL1;if(_AL1>=0){var _CL1=_zL1*_zj._yL1;_zj.time=_AL1+_CL1;current.time+=_zL1*current._yL1;this._DL1(_Q3,_zj);_zj.time-=_CL1;current=_zj}}else if(!current.loop&&current._PJ1>=current._EL1){this._FL1(_Q3);continue }current.time+=_zL1*current._yL1;if(current._GL1!=null){var _HL1=_zL1*current._GL1._yL1;current._GL1.time+=_HL1;current._IL1+=_HL1}}};_T8.prototype.apply=function(skeleton){var events=this.events;var _JL1=this._xL1.length;for(var _Q3=0;_Q3<this._f9.length;
_Q3++){var current=this._f9[_Q3];if(current==null)continue;events.length=0;var time=current.time;var _PJ1=current._PJ1;var _EL1=current._EL1;var loop=current.loop;if(!loop&&time>_EL1)time=_EL1;var _GL1=current._GL1;if(_GL1==null)current._m9.mix(skeleton,_PJ1,time,loop,events,current.mix);else {var _KL1=_GL1.time;if(!_GL1.loop&&_KL1>_GL1._EL1)_KL1=_GL1._EL1;_GL1._m9.apply(skeleton,_KL1,_KL1,_GL1.loop,null);var alpha=current._IL1/current._LL1*current.mix;if(alpha>=1){alpha=1;current._GL1=null}current._m9.mix(skeleton,
_PJ1,time,loop,events,alpha)}for(var _cE=0,_ML1=events.length;_cE<_ML1;_cE++){var _NL1=events[_cE];if(current.listener!=null&&current.listener.event!=null)current.listener.event(_Q3,_NL1);for(var _OL1=0;_OL1<_JL1;_OL1++)if(this._xL1[_OL1].event)this._xL1[_OL1].event(_Q3,_NL1)}if(loop?(_PJ1%_EL1>time%_EL1):(_PJ1<_EL1&&time>=_EL1)){var _Fb=spine._jK1._PL1(time/_EL1);if(current.listener!=null&&current.listener.complete)current.listener.complete(_Q3,_Fb);for(var _cE=0,_ML1=this._xL1.length;_cE<_ML1;_cE++)if(this._xL1[_cE].complete)this._xL1[_cE].complete(_Q3,
_Fb)}current._PJ1=current.time}};_T8.prototype._QL1=function(){for(var _Q3=0,_ra=this._f9.length;_Q3<_ra;_Q3++)this._FL1(_Q3);this._f9.length=0};_T8.prototype._FL1=function(_RL1){if(_RL1>=this._f9.length)return;var current=this._f9[_RL1];if(current==null)return;if(current.listener!=null&&current.listener.end!=null)current.listener.end(_RL1);for(var _Q3=0,_ra=this._xL1.length;_Q3<_ra;_Q3++)if(this._xL1[_Q3].end)this._xL1[_Q3].end(_RL1);this._f9[_RL1]=null;this._SL1(current)};_T8.prototype._SL1=function(_xj){
while(_xj!=null){var _zj=_xj._zj;_xj=_zj}};_T8.prototype._TL1=function(index){if(index<this._f9.length)return this._f9[index];spine._VJ1.__K1(this._f9,index-this._f9.length+1,null);this._f9.length=index+1;return null};_T8.prototype._DL1=function(index,_xj){var current=this._TL1(index);if(current!=null){var _GL1=current._GL1;current._GL1=null;if(current.listener!=null&&current.listener.end!=null)current.listener.end(index);for(var _Q3=0,_ra=this._xL1.length;_Q3<_ra;_Q3++)if(this._xL1[_Q3].end)this._xL1[_Q3].end(index);
_xj._LL1=this.data._UL1(current._m9,_xj._m9);if(_xj._LL1>0){_xj._IL1=0;if(_GL1!=null&&current._IL1/current._LL1<0.5){_xj._GL1=_GL1;_GL1=current}else _xj._GL1=current}}this._f9[index]=_xj;if(_xj.listener!=null&&_xj.listener.start!=null)_xj.listener.start(index);for(var _Q3=0,_ra=this._xL1.length;_Q3<_ra;_Q3++)if(this._xL1[_Q3].start)this._xL1[_Q3].start(index)};_T8.prototype._w9=function(_RL1,_VL1,loop){var _m9=this.data._WL1._v9(_VL1);if(_m9==null)throw new Error("Animation not found: "+_VL1);return this._XL1(_RL1,
_m9,loop)};_T8.prototype._XL1=function(_RL1,_m9,loop){var current=this._TL1(_RL1);if(current!=null)this._SL1(current._zj);var _xj=new _YL1();_xj._m9=_m9;_xj.loop=loop;_xj._EL1=_m9.duration;this._DL1(_RL1,_xj);return _xj};_T8.prototype._ZL1=function(_RL1,_VL1,loop,_BL1){var _m9=this.data._WL1._v9(_VL1);if(_m9==null)throw new Error("Animation not found: "+_VL1);return this.__L1(_RL1,_m9,loop,_BL1)};_T8.prototype.__L1=function(_RL1,_m9,loop,_BL1){var _xj=new _YL1();_xj._m9=_m9;_xj.loop=loop;_xj._EL1=_m9.duration;
var _L3=this._TL1(_RL1);if(_L3!=null){while(_L3._zj!=null)_L3=_L3._zj;_L3._zj=_xj}else this._f9[_RL1]=_xj;if(_BL1<=0){if(_L3!=null)_BL1+=_L3._EL1-this.data._UL1(_L3._m9,_m9);else _BL1=0}_xj._BL1=_BL1;return _xj};_T8.prototype._0M1=function(_RL1){if(_RL1>=this._f9.length)return null;return this._f9[_RL1]};_T8.prototype._69=function(listener){if(listener==null)throw new Error("listener cannot be null.");this._xL1.push(listener)};_T8.prototype._1M1=function(listener){var index=this._xL1.indexOf(listener);if(index>=0)this._xL1.splice(index,
1)};_T8.prototype._2M1=function(){this._xL1.length=0};return _T8}());spine._T8=_T8;var _YL1=(function(){function _YL1(){this.loop=!1;this._BL1=0;this.time=0;this._PJ1=-1;this._EL1=0;this._yL1=1;this._IL1=0;this._LL1=0;this.mix=1}_YL1.prototype._XZ=function(){this._zj=null;this._GL1=null;this._m9=null;this.listener=null;this._yL1=1;this._PJ1=-1;this.time=0};_YL1.prototype._3M1=function(){return this.time>=this._EL1};return _YL1}());spine._YL1=_YL1;var _4M1=(function(){function _4M1(){}_4M1.prototype.event=function(_RL1,
event){};_4M1.prototype.complete=function(_RL1,_5M1){};_4M1.prototype.start=function(_RL1){};_4M1.prototype.end=function(_RL1){};return _4M1}());spine._4M1=_4M1})(spine||(spine={}));(function(spine){var _S8=(function(){function _S8(_WL1){this._6M1={};this._7M1=0;if(_WL1==null)throw new Error("skeletonData cannot be null.");this._WL1=_WL1}_S8.prototype._8M1=function(_9M1,_aM1,duration){var _bM1=this._WL1._v9(_9M1);if(_bM1==null)throw new Error("Animation not found: "+_9M1);var _cM1=this._WL1._v9(_aM1);if(_cM1==null)throw new Error("Animation not found: "+_aM1);
this._dM1(_bM1,_cM1,duration)};_S8.prototype._dM1=function(_bM1,_cM1,duration){if(_bM1==null)throw new Error("from cannot be null.");if(_cM1==null)throw new Error("to cannot be null.");var _wu=_bM1.name+_cM1.name;this._6M1[_wu]=duration};_S8.prototype._UL1=function(_bM1,_cM1){var _wu=_bM1.name+_cM1.name;var value=this._6M1[_wu];return value===undefined?this._7M1:value};return _S8}());spine._S8=_S8})(spine||(spine={}));(function(spine){var _eM1=(function(){function _eM1(_fM1,_gM1){if(_gM1===void 0){_gM1=""}this._zK={
};this._hM1={};this._iM1=0;this._Mx=0;this._fM1=_fM1;this._gM1=_gM1}_eM1.prototype._jM1=function(path,_kM1,error){var _lM1=this;if(_kM1===void 0){_kM1=null}if(error===void 0){error=null}path=this._gM1+path;this._iM1++;var _dG=new XMLHttpRequest();_dG.onreadystatechange=function(){if(_dG.readyState==XMLHttpRequest._mM1){if(_dG.status>=200&&_dG.status<300){if(_kM1)_kM1(path,_dG.responseText);_lM1._zK[path]=_dG.responseText}else {if(error)error(path,"Couldn't load text "+path+": status "+_dG.status+", "+_dG.responseText);
_lM1._hM1[path]="Couldn't load text "+path+": status "+_dG.status+", "+_dG.responseText}_lM1._iM1--;_lM1._Mx++}};_dG.open("GET",path,!0);_dG.send()};_eM1.prototype._Nb=function(path,_kM1,error){var _lM1=this;if(_kM1===void 0){_kM1=null}if(error===void 0){error=null}path=this._gM1+path;this._iM1++;var img=new Image();img.src=_Ox(null,null,path);img.crossOrigin="anonymous";img.onload=function(_fG){if(_kM1)_kM1(path,img);var _Hb=_lM1._fM1(img);_lM1._zK[path]=_Hb;_lM1._iM1--;_lM1._Mx++};img.onerror=function(_fG){
if(error)error(path,"Couldn't load image "+path);_lM1._hM1[path]="Couldn't load image "+path;_lM1._iM1--;_lM1._Mx++}};_eM1.prototype.get=function(path){path=this._gM1+path;return this._zK[path]};_eM1.prototype.remove=function(path){path=this._gM1+path;var _nM1=this._zK[path];if(_nM1._nb)_nM1._nb();this._zK[path]=null};_eM1.prototype._oM1=function(){for(var _wu in this._zK){var _nM1=this._zK[_wu];if(_nM1._nb)_nM1._nb()}this._zK={}};_eM1.prototype._pM1=function(){return this._iM1==0;};_eM1.prototype._qM1=function(){
return this._iM1};_eM1.prototype._rM1=function(){return this._Mx};_eM1.prototype._nb=function(){this._oM1()};_eM1.prototype._sM1=function(){return Object._tM1(this._hM1).length>0};_eM1.prototype._uM1=function(){return this._hM1};return _eM1}());spine._eM1=_eM1})(spine||(spine={}));(function(spine){var _vM1=(function(){function _vM1(name){if(name==null)throw new Error("name cannot be null.");this.name=name}return _vM1}());spine._vM1=_vM1;var _WK1=(function(_nK1){_MJ1(_WK1,_nK1);function _WK1(name){_nK1.call(this,
name);this._wM1=0}_WK1.prototype._xM1=function(slot,_yM1){this._zM1(slot,0,this._wM1,_yM1,0)};_WK1.prototype._zM1=function(slot,start,_Fb,_yM1,offset){_Fb+=offset;var skeleton=slot.bone.skeleton;var x=skeleton.x,y=skeleton.y;var _AM1=slot._ZK1;var vertices=this.vertices;var bones=this.bones;if(bones==null){if(_AM1.length>0)vertices=_AM1;var bone=slot.bone;x+=bone._BM1;y+=bone._CM1;var _gc=bone._gc,_La=bone._La,_R3=bone._R3,_Al=bone._Al;for(var _DM1=start,_S3=offset;_S3<_Fb;_DM1+=2,_S3+=2){var _p31=vertices[_DM1],
_q31=vertices[_DM1+1];_yM1[_S3]=_p31*_gc+_q31*_La+x;_yM1[_S3+1]=_p31*_R3+_q31*_Al+y}return }var _uc=0,_EM1=0;for(var _Q3=0;_Q3<start;_Q3+=2){var _ra=bones[_uc];_uc+=_ra+1;_EM1+=_ra}var _FM1=skeleton.bones;if(_AM1.length==0){for(var _S3=offset,_La=_EM1*3;_S3<_Fb;_S3+=2){var _GM1=x,_HM1=y;var _ra=bones[_uc++];_ra+=_uc;for(;_uc<_ra;_uc++,_La+=3){var bone=_FM1[bones[_uc]];var _p31=vertices[_La],_q31=vertices[_La+1],_Ei1=vertices[_La+2];_GM1+=(_p31*bone._gc+_q31*bone._La+bone._BM1)*_Ei1;_HM1+=(_p31*bone._R3+_q31*bone._Al+bone._CM1)*_Ei1;
}_yM1[_S3]=_GM1;_yM1[_S3+1]=_HM1}}else {var deform=_AM1;for(var _S3=offset,_La=_EM1*3,_3w=_EM1<<1;_S3<_Fb;_S3+=2){var _GM1=x,_HM1=y;var _ra=bones[_uc++];_ra+=_uc;for(;_uc<_ra;_uc++,_La+=3,_3w+=2){var bone=_FM1[bones[_uc]];var _p31=vertices[_La]+deform[_3w],_q31=vertices[_La+1]+deform[_3w+1],_Ei1=vertices[_La+2];_GM1+=(_p31*bone._gc+_q31*bone._La+bone._BM1)*_Ei1;_HM1+=(_p31*bone._R3+_q31*bone._Al+bone._CM1)*_Ei1}_yM1[_S3]=_GM1;_yM1[_S3+1]=_HM1}}};_WK1.prototype._XK1=function(_IM1){return this==_IM1};return _WK1}
(_vM1));spine._WK1=_WK1})(spine||(spine={}));(function(spine){(function(_JM1){_JM1[_JM1["Region"]=0]="Region";_JM1[_JM1["BoundingBox"]=1]="BoundingBox";_JM1[_JM1["Mesh"]=2]="Mesh";_JM1[_JM1["LinkedMesh"]=3]="LinkedMesh";_JM1[_JM1["Path"]=4]="Path"})(spine._JM1||(spine._JM1={}));var _JM1=spine._JM1})(spine||(spine={}));(function(spine){var _KM1=(function(_nK1){_MJ1(_KM1,_nK1);function _KM1(name){_nK1.call(this,name);this.color=new spine._AF1(1,1,1,1)}return _KM1}(spine._WK1));spine._KM1=_KM1})(spine||(spine={
}));(function(spine){var _ic=(function(_nK1){_MJ1(_ic,_nK1);function _ic(name){_nK1.call(this,name);this.color=new spine._AF1(1,1,1,1);this._LM1=!1;this._MM1=new spine._AF1(0,0,0,0)}_ic.prototype._NM1=function(){var _OM1=this._OM1;var _PM1=_OM1.length;var _wM1=(_PM1>>1)*8;if(this._yM1==null||this._yM1.length!=_wM1)this._yM1=spine._VJ1._WJ1(_wM1);var _sc=0,_uc=0,width=0,height=0;if(this._lc==null){_sc=_uc=0;width=height=1}else {_sc=this._lc._sc;_uc=this._lc._uc;width=this._lc._g71-_sc;height=this._lc._ud-_uc;
}if(this._lc.rotate){for(var _Q3=0,_S3=6;_Q3<_PM1;_Q3+=2,_S3+=8){this._yM1[_S3]=_sc+_OM1[_Q3+1]*width;this._yM1[_S3+1]=_uc+height-_OM1[_Q3]*height}}else {for(var _Q3=0,_S3=6;_Q3<_PM1;_Q3+=2,_S3+=8){this._yM1[_S3]=_sc+_OM1[_Q3]*width;this._yM1[_S3+1]=_uc+_OM1[_Q3+1]*height}}};_ic.prototype._oc=function(slot,premultipliedAlpha){var skeleton=slot.bone.skeleton;var _QM1=skeleton.color,_RM1=slot.color,_SM1=this.color;var alpha=_QM1._gc*_RM1._gc*_SM1._gc;var _TM1=premultipliedAlpha?alpha:1;var color=this._MM1;
color.set(_QM1._Ia*_RM1._Ia*_SM1._Ia*_TM1,_QM1._fc*_RM1._fc*_SM1._fc*_TM1,_QM1._La*_RM1._La*_SM1._La*_TM1,alpha);var x=skeleton.x,y=skeleton.y;var _AM1=slot._ZK1;var vertices=this.vertices,_yM1=this._yM1;var bones=this.bones;if(bones==null){var _PM1=vertices.length;if(_AM1.length>0)vertices=_AM1;var bone=slot.bone;x+=bone._BM1;y+=bone._CM1;var _gc=bone._gc,_La=bone._La,_R3=bone._R3,_Al=bone._Al;for(var _uc=0,_S3=0;_uc<_PM1;_uc+=2,_S3+=8){var _p31=vertices[_uc],_q31=vertices[_uc+1];_yM1[_S3]=_p31*_gc+_q31*_La+x;
_yM1[_S3+1]=_p31*_R3+_q31*_Al+y;_yM1[_S3+2]=color._Ia;_yM1[_S3+3]=color._fc;_yM1[_S3+4]=color._La;_yM1[_S3+5]=color._gc}return _yM1}var _FM1=skeleton.bones;if(_AM1.length==0){for(var _S3=0,_uc=0,_La=0,_ra=bones.length;_uc<_ra;_S3+=8){var _GM1=x,_HM1=y;var _ML1=bones[_uc++]+_uc;for(;_uc<_ML1;_uc++,_La+=3){var bone=_FM1[bones[_uc]];var _p31=vertices[_La],_q31=vertices[_La+1],_Ei1=vertices[_La+2];_GM1+=(_p31*bone._gc+_q31*bone._La+bone._BM1)*_Ei1;_HM1+=(_p31*bone._R3+_q31*bone._Al+bone._CM1)*_Ei1}_yM1[_S3]=_GM1;
_yM1[_S3+1]=_HM1;_yM1[_S3+2]=color._Ia;_yM1[_S3+3]=color._fc;_yM1[_S3+4]=color._La;_yM1[_S3+5]=color._gc}}else {var deform=_AM1;for(var _S3=0,_uc=0,_La=0,_3w=0,_ra=bones.length;_uc<_ra;_S3+=8){var _GM1=x,_HM1=y;var _ML1=bones[_uc++]+_uc;for(;_uc<_ML1;_uc++,_La+=3,_3w+=2){var bone=_FM1[bones[_uc]];var _p31=vertices[_La]+deform[_3w],_q31=vertices[_La+1]+deform[_3w+1],_Ei1=vertices[_La+2];_GM1+=(_p31*bone._gc+_q31*bone._La+bone._BM1)*_Ei1;_HM1+=(_p31*bone._R3+_q31*bone._Al+bone._CM1)*_Ei1}_yM1[_S3]=_GM1;_yM1[_S3+1]=_HM1;
_yM1[_S3+2]=color._Ia;_yM1[_S3+3]=color._fc;_yM1[_S3+4]=color._La;_yM1[_S3+5]=color._gc;}}return _yM1};_ic.prototype._XK1=function(_IM1){return this==_IM1||(this._LM1&&this._UM1==_IM1)};_ic.prototype._VM1=function(){return this._UM1};_ic.prototype._WM1=function(_UM1){this._UM1=_UM1;if(_UM1!=null){this.bones=_UM1.bones;this.vertices=_UM1.vertices;this._OM1=_UM1._OM1;this.triangles=_UM1.triangles;this._XM1=_UM1._XM1}};return _ic}(spine._WK1));spine._ic=_ic})(spine||(spine={}));(function(spine){var _YM1=(function(_nK1){
_MJ1(_YM1,_nK1);function _YM1(name){_nK1.call(this,name);this._6m=!1;this._ZM1=!1;this.color=new spine._AF1(1,1,1,1)}return _YM1}(spine._WK1));spine._YM1=_YM1})(spine||(spine={}));(function(spine){var _hc=(function(_nK1){_MJ1(_hc,_nK1);function _hc(name){_nK1.call(this,name);this.x=0;this.y=0;this.scaleX=1;this.scaleY=1;this.rotation=0;this.width=0;this.height=0;this.color=new spine._AF1(1,1,1,1);this.offset=spine._VJ1._WJ1(8);this.vertices=spine._VJ1._WJ1(8*4);this._MM1=new spine._AF1(1,1,1,1)}_hc.prototype.__M1=function(_lc){
var vertices=this.vertices;if(_lc.rotate){vertices[_hc._tc]=_lc._sc;vertices[_hc._vc]=_lc._ud;vertices[_hc._yc]=_lc._sc;vertices[_hc._zc]=_lc._uc;vertices[_hc._Cc]=_lc._g71;vertices[_hc._Dc]=_lc._uc;vertices[_hc._Gc]=_lc._g71;vertices[_hc._Hc]=_lc._ud}else {vertices[_hc._Gc]=_lc._sc;vertices[_hc._Hc]=_lc._ud;vertices[_hc._tc]=_lc._sc;vertices[_hc._vc]=_lc._uc;vertices[_hc._yc]=_lc._g71;vertices[_hc._zc]=_lc._uc;vertices[_hc._Cc]=_lc._g71;vertices[_hc._Dc]=_lc._ud}this._lc=_lc};_hc.prototype._0N1=function(){
var _1N1=this.width/this._lc._2N1*this.scaleX;var _3N1=this.height/this._lc._4N1*this.scaleY;var _5N1=-this.width/2*this.scaleX+this._lc._6N1*_1N1;var _7N1=-this.height/2*this.scaleY+this._lc._8N1*_3N1;var _9N1=_5N1+this._lc.width*_1N1;var _aN1=_7N1+this._lc.height*_3N1;var _bN1=this.rotation*Math.PI/180;var cos=Math.cos(_bN1);var sin=Math.sin(_bN1);var _cN1=_5N1*cos+this.x;var _dN1=_5N1*sin;var _eN1=_7N1*cos+this.y;var _fN1=_7N1*sin;var _gN1=_9N1*cos+this.x;var _hN1=_9N1*sin;var _iN1=_aN1*cos+this.y;var _jN1=_aN1*sin;
var offset=this.offset;offset[_hc._kN1]=_cN1-_fN1;offset[_hc._lN1]=_eN1+_dN1;offset[_hc._mN1]=_cN1-_jN1;offset[_hc._nN1]=_iN1+_dN1;offset[_hc._oN1]=_gN1-_jN1;offset[_hc._pN1]=_iN1+_hN1;offset[_hc._qN1]=_gN1-_fN1;offset[_hc._rN1]=_eN1+_hN1};_hc.prototype._oc=function(slot,premultipliedAlpha){var skeleton=slot.bone.skeleton;var _QM1=skeleton.color;var _RM1=slot.color;var _sN1=this.color;var alpha=_QM1._gc*_RM1._gc*_sN1._gc;var _TM1=premultipliedAlpha?alpha:1;var color=this._MM1;color.set(_QM1._Ia*_RM1._Ia*_sN1._Ia*_TM1,
_QM1._fc*_RM1._fc*_sN1._fc*_TM1,_QM1._La*_RM1._La*_sN1._La*_TM1,alpha);var vertices=this.vertices;var offset=this.offset;var bone=slot.bone;var x=skeleton.x+bone._BM1,y=skeleton.y+bone._CM1;var _gc=bone._gc,_La=bone._La,_R3=bone._R3,_Al=bone._Al;var _6N1=0,_8N1=0;_6N1=offset[_hc._kN1];_8N1=offset[_hc._lN1];vertices[_hc._Ec]=_6N1*_gc+_8N1*_La+x;vertices[_hc._Fc]=_6N1*_R3+_8N1*_Al+y;vertices[_hc._tN1]=color._Ia;vertices[_hc._uN1]=color._fc;vertices[_hc._vN1]=color._La;vertices[_hc._wN1]=color._gc;_6N1=offset[_hc._mN1];
_8N1=offset[_hc._nN1];vertices[_hc._qc]=_6N1*_gc+_8N1*_La+x;vertices[_hc._rc]=_6N1*_R3+_8N1*_Al+y;vertices[_hc._xN1]=color._Ia;vertices[_hc._yN1]=color._fc;vertices[_hc._zN1]=color._La;vertices[_hc._AN1]=color._gc;_6N1=offset[_hc._oN1];_8N1=offset[_hc._pN1];vertices[_hc._wc]=_6N1*_gc+_8N1*_La+x;vertices[_hc._xc]=_6N1*_R3+_8N1*_Al+y;vertices[_hc._BN1]=color._Ia;vertices[_hc._CN1]=color._fc;vertices[_hc._DN1]=color._La;vertices[_hc._EN1]=color._gc;_6N1=offset[_hc._qN1];_8N1=offset[_hc._rN1];vertices[_hc._Ac]=_6N1*_gc+_8N1*_La+x;
vertices[_hc._Bc]=_6N1*_R3+_8N1*_Al+y;vertices[_hc._FN1]=color._Ia;vertices[_hc._GN1]=color._fc;vertices[_hc._HN1]=color._La;vertices[_hc._IN1]=color._gc;return vertices};_hc._kN1=0;_hc._lN1=1;_hc._mN1=2;_hc._nN1=3;_hc._oN1=4;_hc._pN1=5;_hc._qN1=6;_hc._rN1=7;_hc._Ec=0;_hc._Fc=1;_hc._tN1=2;_hc._uN1=3;_hc._vN1=4;_hc._wN1=5;_hc._Gc=6;_hc._Hc=7;_hc._qc=8;_hc._rc=9;_hc._xN1=10;_hc._yN1=11;_hc._zN1=12;_hc._AN1=13;_hc._tc=14;_hc._vc=15;_hc._wc=16;_hc._xc=17;_hc._BN1=18;_hc._CN1=19;_hc._DN1=20;_hc._EN1=21;
_hc._yc=22;_hc._zc=23;_hc._Ac=24;_hc._Bc=25;_hc._FN1=26;_hc._GN1=27;_hc._HN1=28;_hc._IN1=29;_hc._Cc=30;_hc._Dc=31;return _hc}(spine._vM1));spine._hc=_hc})(spine||(spine={}));(function(spine){(function(_JN1){_JN1[_JN1["Normal"]=0]="Normal";_JN1[_JN1["Additive"]=1]="Additive";_JN1[_JN1["Multiply"]=2]="Multiply";_JN1[_JN1["Screen"]=3]="Screen"})(spine._JN1||(spine._JN1={}));var _JN1=spine._JN1})(spine||(spine={}));(function(spine){var _2c=(function(){function _2c(data,skeleton,parent){this._RZ=new Array();
this.x=0;this.y=0;this.rotation=0;this.scaleX=0;this.scaleY=0;this.shearX=0;this.shearY=0;this._KN1=0;this._gc=0;this._La=0;this._BM1=0;this._R3=0;this._Al=0;this._CM1=0;this._LN1=0;this._MN1=0;this._NN1=!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._ON1()}_2c.prototype._3a=function(){this._PN1(this.x,this.y,this.rotation,this.scaleX,this.scaleY,this.shearX,this.shearY)}
;_2c.prototype._V9=function(){this._PN1(this.x,this.y,this.rotation,this.scaleX,this.scaleY,this.shearX,this.shearY)};_2c.prototype._PN1=function(x,y,rotation,scaleX,scaleY,shearX,shearY){this._KN1=rotation;var _QN1=rotation+90+shearY;var _RN1=spine._jK1._SN1(rotation+shearX)*scaleX,_TN1=spine._jK1._SN1(_QN1)*scaleY;var _UN1=spine._jK1._VN1(rotation+shearX)*scaleX,_WN1=spine._jK1._VN1(_QN1)*scaleY;var parent=this.parent;if(parent==null){var skeleton=this.skeleton;if(skeleton._4a){x=-x;_RN1=-_RN1;_TN1=-_TN1}
if(skeleton._5a){y=-y;_UN1=-_UN1;_WN1=-_WN1}this._gc=_RN1;this._La=_TN1;this._R3=_UN1;this._Al=_WN1;this._BM1=x;this._CM1=y;this._LN1=spine._jK1._XN1(scaleX);this._MN1=spine._jK1._XN1(scaleY);return }var _lj1=parent._gc,_mj1=parent._La,_0i1=parent._R3,_YN1=parent._Al;this._BM1=_lj1*x+_mj1*y+parent._BM1;this._CM1=_0i1*x+_YN1*y+parent._CM1;this._LN1=parent._LN1*spine._jK1._XN1(scaleX);this._MN1=parent._MN1*spine._jK1._XN1(scaleY);if(this.data.inheritRotation&&this.data.inheritScale){this._gc=_lj1*_RN1+_mj1*_UN1;
this._La=_lj1*_TN1+_mj1*_WN1;this._R3=_0i1*_RN1+_YN1*_UN1;this._Al=_0i1*_TN1+_YN1*_WN1}else {if(this.data.inheritRotation){_lj1=1;_mj1=0;_0i1=0;_YN1=1;do {var cos=spine._jK1._SN1(parent._KN1),sin=spine._jK1._VN1(parent._KN1);var _1B=_lj1*cos+_mj1*sin;_mj1=_mj1*cos-_lj1*sin;_lj1=_1B;_1B=_0i1*cos+_YN1*sin;_YN1=_YN1*cos-_0i1*sin;_0i1=_1B;if(!parent.data.inheritRotation)break;parent=parent.parent}while(parent!=null);this._gc=_lj1*_RN1+_mj1*_UN1;this._La=_lj1*_TN1+_mj1*_WN1;this._R3=_0i1*_RN1+_YN1*_UN1;this._Al=_0i1*_TN1+_YN1*_WN1}
else if(this.data.inheritScale){_lj1=1;_mj1=0;_0i1=0;_YN1=1;do {var cos=spine._jK1._SN1(parent._KN1),sin=spine._jK1._VN1(parent._KN1);var _ZN1=parent.scaleX,__N1=parent.scaleY;var _3n=cos*_ZN1,_0O1=sin*__N1,_1O1=sin*_ZN1,_2O1=cos*__N1;var _1B=_lj1*_3n+_mj1*_1O1;_mj1=_mj1*_2O1-_lj1*_0O1;_lj1=_1B;_1B=_0i1*_3n+_YN1*_1O1;_YN1=_YN1*_2O1-_0i1*_0O1;_0i1=_1B;if(_ZN1>=0)sin=-sin;_1B=_lj1*cos+_mj1*sin;_mj1=_mj1*cos-_lj1*sin;_lj1=_1B;_1B=_0i1*cos+_YN1*sin;_YN1=_YN1*cos-_0i1*sin;_0i1=_1B;if(!parent.data.inheritScale)break;
parent=parent.parent}while(parent!=null);this._gc=_lj1*_RN1+_mj1*_UN1;this._La=_lj1*_TN1+_mj1*_WN1;this._R3=_0i1*_RN1+_YN1*_UN1;this._Al=_0i1*_TN1+_YN1*_WN1}else {this._gc=_RN1;this._La=_TN1;this._R3=_UN1;this._Al=_WN1}if(this.skeleton._4a){this._gc=-this._gc;this._La=-this._La}if(this.skeleton._5a){this._R3=-this._R3;this._Al=-this._Al}}};_2c.prototype._ON1=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};_2c.prototype._3O1=function(){return Math.atan2(this._R3,this._gc)*spine._jK1._4O1;};_2c.prototype._5O1=function(){return Math.atan2(this._Al,this._La)*spine._jK1._4O1};_2c.prototype._6O1=function(){return Math.sqrt(this._gc*this._gc+this._La*this._La)*this._LN1};_2c.prototype._7O1=function(){return Math.sqrt(this._R3*this._R3+this._Al*this._Al)*this._MN1};_2c.prototype._8O1=function(){var parent=this.parent;if(parent==null)return this.rotation;var _lj1=parent._gc,_mj1=parent._La,
_0i1=parent._R3,_YN1=parent._Al,_gc=this._gc,_R3=this._R3;return Math.atan2(_lj1*_R3-_0i1*_gc,_YN1*_gc-_mj1*_R3)*spine._jK1._4O1;};_2c.prototype._9O1=function(){var parent=this.parent;if(parent==null)return this.rotation;var _lj1=parent._gc,_mj1=parent._La,_0i1=parent._R3,_YN1=parent._Al,_La=this._La,_Al=this._Al;return Math.atan2(_lj1*_Al-_0i1*_La,_YN1*_La-_mj1*_Al)*spine._jK1._4O1};_2c.prototype._aO1=function(_pK1){var _gc=this._gc,_La=this._La,_R3=this._R3,_Al=this._Al;var cos=spine._jK1._SN1(_pK1),
sin=spine._jK1._VN1(_pK1);this._gc=cos*_gc-sin*_R3;this._La=cos*_La-sin*_Al;this._R3=sin*_gc+cos*_R3;this._Al=sin*_La+cos*_Al};_2c.prototype._bO1=function(){var parent=this.parent;if(parent==null){this.x=this._BM1;this.y=this._CM1;this.rotation=Math.atan2(this._R3,this._gc)*spine._jK1._4O1;this.scaleX=Math.sqrt(this._gc*this._gc+this._R3*this._R3);this.scaleY=Math.sqrt(this._La*this._La+this._Al*this._Al);var _k01=this._gc*this._Al-this._La*this._R3;this.shearX=0;this.shearY=Math.atan2(this._gc*this._La+this._R3*this._Al,
_k01)*spine._jK1._4O1;return }var _lj1=parent._gc,_mj1=parent._La,_0i1=parent._R3,_YN1=parent._Al;var _cO1=1/(_lj1*_YN1-_mj1*_0i1);var _9d=this._BM1-parent._BM1,_ad=this._CM1-parent._CM1;this.x=(_9d*_YN1*_cO1-_ad*_mj1*_cO1);this.y=(_ad*_lj1*_cO1-_9d*_0i1*_cO1);var _dO1=_cO1*_YN1;var id=_cO1*_lj1;var _eO1=_cO1*_mj1;var _fO1=_cO1*_0i1;var _gO1=_dO1*this._gc-_eO1*this._R3;var _hO1=_dO1*this._La-_eO1*this._Al;var _iO1=id*this._R3-_fO1*this._gc;var _jO1=id*this._Al-_fO1*this._La;this.shearX=0;this.scaleX=Math.sqrt(_gO1*_gO1+_iO1*_iO1);
if(this.scaleX>0.0001){var _k01=_gO1*_jO1-_hO1*_iO1;this.scaleY=_k01/this.scaleX;this.shearY=Math.atan2(_gO1*_hO1+_iO1*_jO1,_k01)*spine._jK1._4O1;this.rotation=Math.atan2(_iO1,_gO1)*spine._jK1._4O1}else {this.scaleX=0;this.scaleY=Math.sqrt(_hO1*_hO1+_jO1*_jO1);this.shearY=0;this.rotation=90-Math.atan2(_jO1,_hO1)*spine._jK1._4O1}this._KN1=this.rotation};_2c.prototype._kO1=function(_yb1){var _gc=this._gc,_La=this._La,_R3=this._R3,_Al=this._Al;var _lO1=1/(_gc*_Al-_La*_R3);var x=_yb1.x-this._BM1,y=_yb1.y-this._CM1;
_yb1.x=(x*_Al*_lO1-y*_La*_lO1);_yb1.y=(y*_gc*_lO1-x*_R3*_lO1);return _yb1};_2c.prototype._mO1=function(_nO1){var x=_nO1.x,y=_nO1.y;_nO1.x=x*this._gc+y*this._La+this._BM1;_nO1.y=x*this._R3+y*this._Al+this._CM1;return _nO1};return _2c}());spine._2c=_2c})(spine||(spine={}));(function(spine){var _oO1=(function(){function _oO1(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.inheritRotation=!0;this.inheritScale=!0;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 _oO1}());spine._oO1=_oO1})(spine||(spine={}));(function(spine){var _zy=(function(){function _zy(time,data){if(data==null)throw new Error("data cannot be null.");this.time=time;this.data=data}return _zy}());spine._zy=_zy})(spine||(spine={}));(function(spine){var _pO1=(function(){function _pO1(name){this.name=name}return _pO1}());spine._pO1=_pO1})(spine||(spine={}));(function(spine){var _qO1=(function(){
function _qO1(data,skeleton){this.mix=1;this._4L1=0;this._rO1=0;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._4L1=data._4L1;this.bones=new Array();for(var _Q3=0;_Q3<data.bones.length;_Q3++)this.bones.push(skeleton._sO1(data.bones[_Q3].name));this.target=skeleton._sO1(data.target.name)}_qO1.prototype.apply=function(){this._3a()};_qO1.prototype._3a=function(){var target=this.target;var bones=this.bones;
switch(bones.length){case 1:this._tO1(bones[0],target._BM1,target._CM1,this.mix);break;case 2:this._uO1(bones[0],bones[1],target._BM1,target._CM1,this._4L1,this.mix);break }};_qO1.prototype._tO1=function(bone,_vO1,_wO1,alpha){var _xO1=bone.parent;var id=1/(_xO1._gc*_xO1._Al-_xO1._La*_xO1._R3);var x=_vO1-_xO1._BM1,y=_wO1-_xO1._CM1;var _yO1=(x*_xO1._Al-y*_xO1._La)*id-bone.x,_zO1=(y*_xO1._gc-x*_xO1._R3)*id-bone.y;var _AO1=Math.atan2(_zO1,_yO1)*spine._jK1._4O1-bone.shearX-bone.rotation;if(bone.scaleX<0)_AO1+=180;
if(_AO1>180)_AO1-=360;else if(_AO1<-180)_AO1+=360;bone._PN1(bone.x,bone.y,bone.rotation+_AO1*alpha,bone.scaleX,bone.scaleY,bone.shearX,bone.shearY)};_qO1.prototype._uO1=function(parent,_BO1,_vO1,_wO1,_CO1,alpha){if(alpha==0){_BO1._V9();return }var _el=parent.x,_fl=parent.y,_ZN1=parent.scaleX,__N1=parent.scaleY,_DO1=_BO1.scaleX;var _EO1=0,_FO1=0,_ct=0;if(_ZN1<0){_ZN1=-_ZN1;_EO1=180;_ct=-1}else {_EO1=0;_ct=1}if(__N1<0){__N1=-__N1;_ct=-_ct}if(_DO1<0){_DO1=-_DO1;_FO1=180}else _FO1=0;var _w61=_BO1.x,_x61=0,
_GO1=0,_HO1=0,_gc=parent._gc,_La=parent._La,_R3=parent._R3,_Al=parent._Al;var _sc=Math.abs(_ZN1-__N1)<=0.0001;if(!_sc){_x61=0;_GO1=_gc*_w61+parent._BM1;_HO1=_R3*_w61+parent._CM1}else {_x61=_BO1.y;_GO1=_gc*_w61+_La*_x61+parent._BM1;_HO1=_R3*_w61+_Al*_x61+parent._CM1}var _xO1=parent.parent;_gc=_xO1._gc;_La=_xO1._La;_R3=_xO1._R3;_Al=_xO1._Al;var id=1/(_gc*_Al-_La*_R3),x=_vO1-_xO1._BM1,y=_wO1-_xO1._CM1;var _yO1=(x*_Al-y*_La)*id-_el,_zO1=(y*_gc-x*_R3)*id-_fl;x=_GO1-_xO1._BM1;y=_HO1-_xO1._CM1;var _9d=(x*_Al-y*_La)*id-_el,
_ad=(y*_gc-x*_R3)*id-_fl;var _IO1=Math.sqrt(_9d*_9d+_ad*_ad),_JO1=_BO1.data.length*_DO1,_zV=0,_AV=0;_KO1:if(_sc){_JO1*=_ZN1;var cos=(_yO1*_yO1+_zO1*_zO1-_IO1*_IO1-_JO1*_JO1)/(2*_IO1*_JO1);if(cos<-1)cos=-1;else if(cos>1)cos=1;_AV=Math.acos(cos)*_CO1;_gc=_IO1+_JO1*cos;_La=_JO1*Math.sin(_AV);_zV=Math.atan2(_zO1*_gc-_yO1*_La,_yO1*_gc+_zO1*_La)}else {_gc=_ZN1*_JO1;_La=__N1*_JO1;var _LO1=_gc*_gc,_vA=_La*_La,_ZB=_yO1*_yO1+_zO1*_zO1,_MO1=Math.atan2(_zO1,_yO1);_R3=_vA*_IO1*_IO1+_LO1*_ZB-_LO1*_vA;var _f01=-2*_vA*_IO1,
_g01=_vA-_LO1;_Al=_f01*_f01-4*_g01*_R3;if(_Al>=0){var _gz=Math.sqrt(_Al);if(_f01<0)_gz=-_gz;_gz=-(_f01+_gz)/2;var _6l1=_gz/_g01,_jy=_R3/_gz;var _Ia=Math.abs(_6l1)<Math.abs(_jy)?_6l1:_jy;if(_Ia*_Ia<=_ZB){y=Math.sqrt(_ZB-_Ia*_Ia)*_CO1;_zV=_MO1-Math.atan2(y,_Ia);_AV=Math.atan2(y/__N1,(_Ia-_IO1)/_ZN1);break _KO1}}var _NO1=0,_OO1=Number.MAX_VALUE,_fa=0,_ha=0;var _PO1=0,_QO1=0,_ga=0,_ia=0;x=_IO1+_gc;_Al=x*x;if(_Al>_QO1){_PO1=0;_QO1=_Al;_ga=x}x=_IO1-_gc;_Al=x*x;if(_Al<_OO1){_NO1=spine._jK1.PI;_OO1=_Al;_fa=x}
var angle=Math.acos(-_gc*_IO1/(_LO1-_vA));x=_gc*Math.cos(angle)+_IO1;y=_La*Math.sin(angle);_Al=x*x+y*y;if(_Al<_OO1){_NO1=angle;_OO1=_Al;_fa=x;_ha=y}if(_Al>_QO1){_PO1=angle;_QO1=_Al;_ga=x;_ia=y}if(_ZB<=(_OO1+_QO1)/2){_zV=_MO1-Math.atan2(_ha*_CO1,_fa);_AV=_NO1*_CO1}else {_zV=_MO1-Math.atan2(_ia*_CO1,_ga);_AV=_PO1*_CO1}}var _RO1=Math.atan2(_x61,_w61)*_ct;var rotation=parent.rotation;_zV=(_zV-_RO1)*spine._jK1._4O1+_EO1-rotation;if(_zV>180)_zV-=360;else if(_zV<-180)_zV+=360;parent._PN1(_el,_fl,rotation+_zV*alpha,
parent.scaleX,parent.scaleY,0,0);rotation=_BO1.rotation;_AV=((_AV+_RO1)*spine._jK1._4O1-_BO1.shearX)*_ct+_FO1-rotation;if(_AV>180)_AV-=360;else if(_AV<-180)_AV+=360;_BO1._PN1(_w61,_x61,rotation+_AV*alpha,_BO1.scaleX,_BO1.scaleY,_BO1.shearX,_BO1.shearY);};return _qO1}());spine._qO1=_qO1})(spine||(spine={}));(function(spine){var _SO1=(function(){function _SO1(name){this.bones=new Array();this._4L1=1;this.mix=1;this.name=name}return _SO1}());spine._SO1=_SO1})(spine||(spine={}));(function(spine){var _TO1=(function(){
function _TO1(data,skeleton){this.position=0;this.spacing=0;this.rotateMix=0;this._dL1=0;this._UO1=new Array();this._re1=new Array();this._yb1=new Array();this._UJ1=new Array();this.lengths=new Array();this._VO1=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 _Q3=0,_ra=data.bones.length;_Q3<_ra;_Q3++)this.bones.push(skeleton._sO1(data.bones[_Q3].name));this.target=skeleton._E9(data.target.name);
this.position=data.position;this.spacing=data.spacing;this.rotateMix=data.rotateMix;this._dL1=data._dL1}_TO1.prototype.apply=function(){this._3a()};_TO1.prototype._3a=function(){var attachment=this.target._J9();if(!(attachment instanceof spine._YM1))return;var rotateMix=this.rotateMix,_dL1=this._dL1;var translate=_dL1>0,rotate=rotateMix>0;if(!translate&&!rotate)return;var data=this.data;var spacingMode=data.spacingMode;var _WO1=spacingMode==spine._XO1.Length;var rotateMode=data.rotateMode;var _YO1=rotateMode==spine._ZO1.Tangent,
scale=rotateMode==spine._ZO1.ChainScale;var __O1=this.bones.length,_0P1=_YO1?__O1:__O1+1;var bones=this.bones;var _UO1=spine._VJ1.__K1(this._UO1,_0P1),lengths=null;var spacing=this.spacing;if(scale||_WO1){if(scale)lengths=spine._VJ1.__K1(this.lengths,__O1);for(var _Q3=0,_ra=_0P1-1;_Q3<_ra;){var bone=bones[_Q3];var _1P1=bone.data.length,x=_1P1*bone._gc,y=_1P1*bone._R3;_1P1=Math.sqrt(x*x+y*y);if(scale)lengths[_Q3]=_1P1;_UO1[++_Q3]=_WO1?Math.max(0,_1P1+spacing):spacing}}else {for(var _Q3=1;_Q3<_0P1;_Q3++)_UO1[_Q3]=spacing}
var _re1=this._2P1(attachment,_0P1,_YO1,data._3P1==spine._4P1.Percent,spacingMode==spine._XO1.Percent);var skeleton=this.target.bone.skeleton;var _5P1=skeleton.x,_6P1=skeleton.y;var _7P1=_re1[0],_8P1=_re1[1],_9P1=data._9P1;var _aP1=rotateMode==spine._ZO1.Chain&&_9P1==0;for(var _Q3=0,_KA=3;_Q3<__O1;_Q3++,_KA+=3){var bone=bones[_Q3];bone._BM1+=(_7P1-_5P1-bone._BM1)*_dL1;bone._CM1+=(_8P1-_6P1-bone._CM1)*_dL1;var x=_re1[_KA],y=_re1[_KA+1],_9d=x-_7P1,_ad=y-_8P1;if(scale){var _bP1=lengths[_Q3];if(_bP1!=0){var _Rw=(Math.sqrt(_9d*_9d+_ad*_ad)/_bP1-1)*rotateMix+1;
bone._gc*=_Rw;bone._R3*=_Rw}}_7P1=x;_8P1=y;if(rotate){var _gc=bone._gc,_La=bone._La,_R3=bone._R3,_Al=bone._Al,_Ia=0,cos=0,sin=0;if(_YO1)_Ia=_re1[_KA-1];else if(_UO1[_Q3+1]==0)_Ia=_re1[_KA+2];else _Ia=Math.atan2(_ad,_9d);_Ia-=Math.atan2(_R3,_gc)-_9P1*spine._jK1._cP1;if(_aP1){cos=Math.cos(_Ia);sin=Math.sin(_Ia);var _dP1=bone.data.length;_7P1+=(_dP1*(cos*_gc-sin*_R3)-_9d)*rotateMix;_8P1+=(_dP1*(sin*_gc+cos*_R3)-_ad)*rotateMix}if(_Ia>spine._jK1.PI)_Ia-=spine._jK1._eP1;else if(_Ia<-spine._jK1.PI)_Ia+=spine._jK1._eP1;
_Ia*=rotateMix;cos=Math.cos(_Ia);sin=Math.sin(_Ia);bone._gc=cos*_gc-sin*_R3;bone._La=cos*_La-sin*_Al;bone._R3=sin*_gc+cos*_R3;bone._Al=sin*_La+cos*_Al}}};_TO1.prototype._2P1=function(path,_0P1,_YO1,_fP1,_gP1){var target=this.target;var position=this.position;var _UO1=this._UO1,_901=spine._VJ1.__K1(this._re1,_0P1*3+2),_yb1=null;var _6m=path._6m;var _PM1=path._wM1,_hP1=_PM1/6,_iP1=_TO1._jP1;if(!path._ZM1){var lengths=path.lengths;_hP1-=_6m?1:2;var _kP1=lengths[_hP1];if(_fP1)position*=_kP1;if(_gP1){for(var _Q3=0;
_Q3<_0P1;_Q3++)_UO1[_Q3]*=_kP1}_yb1=spine._VJ1.__K1(this._yb1,8);for(var _Q3=0,_9x=0,curve=0;_Q3<_0P1;_Q3++,_9x+=3){var _lP1=_UO1[_Q3];position+=_lP1;var _KA=position;if(_6m){_KA%=_kP1;if(_KA<0)_KA+=_kP1;curve=0}else if(_KA<0){if(_iP1!=_TO1._mP1){_iP1=_TO1._mP1;path._zM1(target,2,4,_yb1,0)}this._nP1(_KA,_yb1,0,_901,_9x);continue }else if(_KA>_kP1){if(_iP1!=_TO1._oP1){_iP1=_TO1._oP1;path._zM1(target,_PM1-6,4,_yb1,0)}this._pP1(_KA-_kP1,_yb1,0,_901,_9x);continue }for(;;curve++){var _qP1=lengths[curve];if(_KA>_qP1)continue;
if(curve==0)_KA/=_qP1;else {var _ff1=lengths[curve-1];_KA=(_KA-_ff1)/(_qP1-_ff1)}break }if(curve!=_iP1){_iP1=curve;if(_6m&&curve==_hP1){path._zM1(target,_PM1-4,4,_yb1,0);path._zM1(target,0,4,_yb1,4)}else path._zM1(target,curve*6+2,8,_yb1,0)}this._rP1(_KA,_yb1[0],_yb1[1],_yb1[2],_yb1[3],_yb1[4],_yb1[5],_yb1[6],_yb1[7],_901,_9x,_YO1||(_Q3>0&&_lP1==0))}return _901}if(_6m){_PM1+=2;_yb1=spine._VJ1.__K1(this._yb1,_PM1);path._zM1(target,2,_PM1-4,_yb1,0);path._zM1(target,0,2,_yb1,_PM1-4);_yb1[_PM1-2]=_yb1[0];
_yb1[_PM1-1]=_yb1[1]}else {_hP1--;_PM1-=4;_yb1=spine._VJ1.__K1(this._yb1,_PM1);path._zM1(target,2,_PM1,_yb1,0)}var _UJ1=spine._VJ1.__K1(this._UJ1,_hP1);var _sP1=0;var _va=_yb1[0],_wa=_yb1[1],_5K1=0,_6K1=0,_7K1=0,_8K1=0,_xa=0,_ya=0;var _9K1=0,_aK1=0,_bK1=0,_cK1=0,_dK1=0,_eK1=0,_fK1=0,_gK1=0;for(var _Q3=0,_S3=2;_Q3<_hP1;_Q3++,_S3+=6){_5K1=_yb1[_S3];_6K1=_yb1[_S3+1];_7K1=_yb1[_S3+2];_8K1=_yb1[_S3+3];_xa=_yb1[_S3+4];_ya=_yb1[_S3+5];_9K1=(_va-_5K1*2+_7K1)*0.1875;_aK1=(_wa-_6K1*2+_8K1)*0.1875;_bK1=((_5K1-_7K1)*3-_va+_xa)*0.09375;
_cK1=((_6K1-_8K1)*3-_wa+_ya)*0.09375;_dK1=_9K1*2+_bK1;_eK1=_aK1*2+_cK1;_fK1=(_5K1-_va)*0.75+_9K1+_bK1*0.16666667;_gK1=(_6K1-_wa)*0.75+_aK1+_cK1*0.16666667;_sP1+=Math.sqrt(_fK1*_fK1+_gK1*_gK1);_fK1+=_dK1;_gK1+=_eK1;_dK1+=_bK1;_eK1+=_cK1;_sP1+=Math.sqrt(_fK1*_fK1+_gK1*_gK1);_fK1+=_dK1;_gK1+=_eK1;_sP1+=Math.sqrt(_fK1*_fK1+_gK1*_gK1);_fK1+=_dK1+_bK1;_gK1+=_eK1+_cK1;_sP1+=Math.sqrt(_fK1*_fK1+_gK1*_gK1);_UJ1[_Q3]=_sP1;_va=_xa;_wa=_ya}if(_fP1)position*=_sP1;if(_gP1){for(var _Q3=0;_Q3<_0P1;_Q3++)_UO1[_Q3]*=_sP1}
var _VO1=this._VO1;var _tP1=0;for(var _Q3=0,_9x=0,curve=0,_uP1=0;_Q3<_0P1;_Q3++,_9x+=3){var _lP1=_UO1[_Q3];position+=_lP1;var _KA=position;if(_6m){_KA%=_sP1;if(_KA<0)_KA+=_sP1;curve=0}else if(_KA<0){this._nP1(_KA,_yb1,0,_901,_9x);continue }else if(_KA>_sP1){this._pP1(_KA-_sP1,_yb1,_PM1-4,_901,_9x);continue }for(;;curve++){var _vP1=_UJ1[curve];if(_KA>_vP1)continue;if(curve==0)_KA/=_vP1;else {var _ff1=_UJ1[curve-1];_KA=(_KA-_ff1)/(_vP1-_ff1)}break }if(curve!=_iP1){_iP1=curve;var _cE=curve*6;_va=_yb1[_cE];_wa=_yb1[_cE+1];
_5K1=_yb1[_cE+2];_6K1=_yb1[_cE+3];_7K1=_yb1[_cE+4];_8K1=_yb1[_cE+5];_xa=_yb1[_cE+6];_ya=_yb1[_cE+7];_9K1=(_va-_5K1*2+_7K1)*0.03;_aK1=(_wa-_6K1*2+_8K1)*0.03;_bK1=((_5K1-_7K1)*3-_va+_xa)*0.006;_cK1=((_6K1-_8K1)*3-_wa+_ya)*0.006;_dK1=_9K1*2+_bK1;_eK1=_aK1*2+_cK1;_fK1=(_5K1-_va)*0.3+_9K1+_bK1*0.16666667;_gK1=(_6K1-_wa)*0.3+_aK1+_cK1*0.16666667;_tP1=Math.sqrt(_fK1*_fK1+_gK1*_gK1);_VO1[0]=_tP1;for(_cE=1;_cE<8;_cE++){_fK1+=_dK1;_gK1+=_eK1;_dK1+=_bK1;_eK1+=_cK1;_tP1+=Math.sqrt(_fK1*_fK1+_gK1*_gK1);_VO1[_cE]=_tP1}
_fK1+=_dK1;_gK1+=_eK1;_tP1+=Math.sqrt(_fK1*_fK1+_gK1*_gK1);_VO1[8]=_tP1;_fK1+=_dK1+_bK1;_gK1+=_eK1+_cK1;_tP1+=Math.sqrt(_fK1*_fK1+_gK1*_gK1);_VO1[9]=_tP1;_uP1=0}_KA*=_tP1;for(;;_uP1++){var _wP1=_VO1[_uP1];if(_KA>_wP1)continue;if(_uP1==0)_KA/=_wP1;else {var _ff1=_VO1[_uP1-1];_KA=_uP1+(_KA-_ff1)/(_wP1-_ff1);}break }this._rP1(_KA*0.1,_va,_wa,_5K1,_6K1,_7K1,_8K1,_xa,_ya,_901,_9x,_YO1||(_Q3>0&&_lP1==0))}return _901};_TO1.prototype._nP1=function(_KA,_1B,_Q3,_901,_9x){var _va=_1B[_Q3],_wa=_1B[_Q3+1],_9d=_1B[_Q3+2]-_va,
_ad=_1B[_Q3+3]-_wa,_Ia=Math.atan2(_ad,_9d);_901[_9x]=_va+_KA*Math.cos(_Ia);_901[_9x+1]=_wa+_KA*Math.sin(_Ia);_901[_9x+2]=_Ia};_TO1.prototype._pP1=function(_KA,_1B,_Q3,_901,_9x){var _va=_1B[_Q3+2],_wa=_1B[_Q3+3],_9d=_va-_1B[_Q3],_ad=_wa-_1B[_Q3+1],_Ia=Math.atan2(_ad,_9d);_901[_9x]=_va+_KA*Math.cos(_Ia);_901[_9x+1]=_wa+_KA*Math.sin(_Ia);_901[_9x+2]=_Ia};_TO1.prototype._rP1=function(_KA,_va,_wa,_5K1,_6K1,_7K1,_8K1,_xa,_ya,_901,_9x,_YO1){if(_KA==0)_KA=0.0001;var _xP1=_KA*_KA,_yP1=_xP1*_KA,_sc=1-_KA,_zP1=_sc*_sc,
_AP1=_zP1*_sc;var _BP1=_sc*_KA,_CP1=_BP1*3,_DP1=_sc*_CP1,_EP1=_CP1*_KA;var x=_va*_AP1+_5K1*_DP1+_7K1*_EP1+_xa*_yP1,y=_wa*_AP1+_6K1*_DP1+_8K1*_EP1+_ya*_yP1;_901[_9x]=x;_901[_9x+1]=y;if(_YO1)_901[_9x+2]=Math.atan2(y-(_wa*_zP1+_6K1*_BP1*2+_8K1*_xP1),x-(_va*_zP1+_5K1*_BP1*2+_7K1*_xP1))};_TO1._jP1=-1;_TO1._mP1=-2;_TO1._oP1=-3;return _TO1;}());spine._TO1=_TO1})(spine||(spine={}));(function(spine){var _FP1=(function(){function _FP1(name){this.bones=new Array();this.name=name}return _FP1}());spine._FP1=_FP1;(function(_4P1){
_4P1[_4P1["Fixed"]=0]="Fixed";_4P1[_4P1["Percent"]=1]="Percent"})(spine._4P1||(spine._4P1={}));var _4P1=spine._4P1;(function(_XO1){_XO1[_XO1["Length"]=0]="Length";_XO1[_XO1["Fixed"]=1]="Fixed";_XO1[_XO1["Percent"]=2]="Percent"})(spine._XO1||(spine._XO1={}));var _XO1=spine._XO1;(function(_ZO1){_ZO1[_ZO1["Tangent"]=0]="Tangent";_ZO1[_ZO1["Chain"]=1]="Chain";_ZO1[_ZO1["ChainScale"]=2]="ChainScale"})(spine._ZO1||(spine._ZO1={}));var _ZO1=spine._ZO1})(spine||(spine={}));(function(spine){var _GP1=(function(){
function _GP1(_HP1){this._iM1=new Array();this._zK={};this._HP1=_HP1}_GP1.prototype._Mx=function(){var _Q3=0;for(var _uc in this._zK)_Q3++;return _Q3};return _GP1}());var _IP1=(function(){function _IP1(_gM1){if(_gM1===void 0){_gM1=""}this._JP1={};this._KP1={};this._LP1={};this._hM1={};this._gM1=_gM1}_IP1.prototype._MP1=function(_HP1,_fM1,path){var _JP1=this._JP1[_HP1];if(_JP1===null||_JP1===undefined){_JP1=new _GP1(_HP1);this._JP1[_HP1]=_JP1}if(_fM1!==null)_JP1._fM1=_fM1;_JP1._iM1.push(path);if(this._KP1[path]===path){
return !1}else {this._KP1[path]=path;return !0}};_IP1.prototype._jM1=function(_HP1,path){var _lM1=this;path=this._gM1+path;if(!this._MP1(_HP1,null,path))return;var _dG=new XMLHttpRequest();_dG.onreadystatechange=function(){if(_dG.readyState==XMLHttpRequest._mM1){if(_dG.status>=200&&_dG.status<300){_lM1._LP1[path]=_dG.responseText;}else {_lM1._hM1[path]="Couldn't load text "+path+": status "+_dG.status+", "+_dG.responseText}}};_dG.open("GET",path,!0);_dG.send()};_IP1.prototype._NP1=function(_HP1,path){var _lM1=this;
path=this._gM1+path;if(!this._MP1(_HP1,null,path))return;var _dG=new XMLHttpRequest();_dG.onreadystatechange=function(){if(_dG.readyState==XMLHttpRequest._mM1){if(_dG.status>=200&&_dG.status<300){_lM1._LP1[path]=JSON.parse(_dG.responseText)}else {_lM1._hM1[path]="Couldn't load text "+path+": status "+_dG.status+", "+_dG.responseText;}}};_dG.open("GET",path,!0);_dG.send()};_IP1.prototype._Nb=function(_HP1,_fM1,path){var _lM1=this;path=this._gM1+path;if(!this._MP1(_HP1,_fM1,path))return;var img=new Image();
img.src=_Ox(null,null,path);img.crossOrigin="anonymous";img.onload=function(_fG){_lM1._LP1[path]=img};img.onerror=function(_fG){_lM1._hM1[path]="Couldn't load image "+path}};_IP1.prototype.get=function(_HP1,path){path=this._gM1+path;var _JP1=this._JP1[_HP1];if(_JP1===null||_JP1===undefined)return !0;return _JP1._zK[path];};_IP1.prototype._OP1=function(_JP1){for(var _Q3=0;_Q3<_JP1._iM1.length;_Q3++){var path=_JP1._iM1[_Q3];var _nM1=_JP1._zK[path];if(_nM1===null||_nM1===undefined){var _PP1=this._LP1[path];
if(_PP1===null||_PP1===undefined)continue;if(_PP1 instanceof HTMLImageElement){_JP1._zK[path]=_JP1._fM1(_PP1)}else {_JP1._zK[path]=_PP1}}}};_IP1.prototype._pM1=function(_HP1){var _JP1=this._JP1[_HP1];if(_JP1===null||_JP1===undefined)return !0;this._OP1(_JP1);return _JP1._iM1.length==_JP1._Mx()};_IP1.prototype._nb=function(){};_IP1.prototype._sM1=function(){return Object._tM1(this._hM1).length>0};_IP1.prototype._uM1=function(){return this._hM1};return _IP1}());spine._IP1=_IP1})(spine||(spine={}));(function(spine){
var _R8=(function(){function _R8(data){this._QP1=new Array();this.time=0;this._4a=!1;this._5a=!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 _Q3=0;_Q3<data.bones.length;_Q3++){var _RP1=data.bones[_Q3];var bone=void 0;if(_RP1.parent==null)bone=new spine._2c(_RP1,this,null);else {var _SP1=this.bones[_RP1.parent.index];bone=new spine._2c(_RP1,this,_SP1);_SP1._RZ.push(bone)}this.bones.push(bone)}this.slots=new Array();this._ec=new Array();for(var _Q3=0;
_Q3<data.slots.length;_Q3++){var _TP1=data.slots[_Q3];var bone=this.bones[_TP1._RP1.index];var slot=new spine._UP1(_TP1,bone);this.slots.push(slot);this._ec.push(slot)}this._8L1=new Array();this._VP1=new Array();for(var _Q3=0;_Q3<data._8L1.length;_Q3++){var _WP1=data._8L1[_Q3];this._8L1.push(new spine._qO1(_WP1,this))}this._jL1=new Array();for(var _Q3=0;_Q3<data._jL1.length;_Q3++){var _XP1=data._jL1[_Q3];this._jL1.push(new spine._YP1(_XP1,this))}this._sL1=new Array();for(var _Q3=0;_Q3<data._sL1.length;_Q3++){var _ZP1=data._sL1[_Q3];
this._sL1.push(new spine._TO1(_ZP1,this))}this.color=new spine._AF1(1,1,1,1);this.__P1()}_R8.prototype.__P1=function(){var __P1=this._QP1;__P1.length=0;var bones=this.bones;for(var _Q3=0,_ra=bones.length;_Q3<_ra;_Q3++)bones[_Q3]._NN1=!1;var _8L1=this._VP1;_8L1.length=0;for(var _Q3=0;_Q3<this._8L1.length;_Q3++)_8L1.push(this._8L1[_Q3]);var _0Q1=_8L1.length;for(var _Q3=0,_rO1=0,_ra=_0Q1;_Q3<_ra;_Q3++){var ik=_8L1[_Q3];var bone=ik.bones[0].parent;for(_rO1=0;bone!=null;_rO1++)bone=bone.parent;ik._rO1=_rO1}for(var _Q3=1,
_cE=0;_Q3<_0Q1;_Q3++){var ik=_8L1[_Q3];var _rO1=ik._rO1;for(_cE=_Q3-1;_cE>=0;_cE--){var _P61=_8L1[_cE];if(_P61._rO1<_rO1)break;_8L1[_cE+1]=_P61}_8L1[_cE+1]=ik}for(var _Q3=0,_ra=_8L1.length;_Q3<_ra;_Q3++){var _7L1=_8L1[_Q3];var target=_7L1.target;this._1Q1(target);var _2Q1=_7L1.bones;var _3Q1=_2Q1[0];this._1Q1(_3Q1);__P1.push(_7L1);this._4Q1(_3Q1._RZ);_2Q1[_2Q1.length-1]._NN1=!0;}var _sL1=this._sL1;for(var _Q3=0,_ra=_sL1.length;_Q3<_ra;_Q3++){var _7L1=_sL1[_Q3];var slot=_7L1.target;var _G9=slot.data.index;var _5Q1=slot.bone;
if(this.skin!=null)this._6Q1(this.skin,_G9,_5Q1);if(this.data._y9!=null&&this.data._y9!=this.skin)this._6Q1(this.data._y9,_G9,_5Q1);for(var _cE=0,_ML1=this.data.skins.length;_cE<_ML1;_cE++)this._6Q1(this.data.skins[_cE],_G9,_5Q1);var attachment=slot._J9();if(attachment instanceof spine._YM1)this._7Q1(attachment,_5Q1);var _2Q1=_7L1.bones;var __O1=_2Q1.length;for(var _cE=0;_cE<__O1;_cE++)this._1Q1(_2Q1[_cE]);__P1.push(_7L1);for(var _cE=0;_cE<__O1;_cE++)this._4Q1(_2Q1[_cE]._RZ);for(var _cE=0;_cE<__O1;_cE++)_2Q1[_cE]._NN1=!0}
var _jL1=this._jL1;for(var _Q3=0,_ra=_jL1.length;_Q3<_ra;_Q3++){var _7L1=_jL1[_Q3];this._1Q1(_7L1.target);var _2Q1=_7L1.bones;var __O1=_2Q1.length;for(var _cE=0;_cE<__O1;_cE++)this._1Q1(_2Q1[_cE]);__P1.push(_7L1);for(var _cE=0;_cE<__O1;_cE++)this._4Q1(_2Q1[_cE]._RZ);for(var _cE=0;_cE<__O1;_cE++)_2Q1[_cE]._NN1=!0}for(var _Q3=0,_ra=bones.length;_Q3<_ra;_Q3++)this._1Q1(bones[_Q3]);};_R8.prototype._6Q1=function(skin,_G9,_5Q1){var _8Q1=skin._8Q1[_G9];if(!_8Q1)return;for(var _wu in _8Q1){this._7Q1(_8Q1[_wu],_5Q1)}
};_R8.prototype._7Q1=function(attachment,_5Q1){if(!(attachment instanceof spine._YM1))return;var _9Q1=attachment.bones;if(_9Q1==null)this._1Q1(_5Q1);else {var bones=this.bones;var _Q3=0;while(_Q3<_9Q1.length){var __O1=_9Q1[_Q3++];for(var _ra=_Q3+__O1;_Q3<_ra;_Q3++){var _rK1=_9Q1[_Q3];this._1Q1(bones[_rK1])}}}};_R8.prototype._1Q1=function(bone){if(bone._NN1)return;var parent=bone.parent;if(parent!=null)this._1Q1(parent);bone._NN1=!0;this._QP1.push(bone)};_R8.prototype._4Q1=function(bones){for(var _Q3=0,_ra=bones.length;
_Q3<_ra;_Q3++){var bone=bones[_Q3];if(bone._NN1)this._4Q1(bone._RZ);bone._NN1=!1}};_R8.prototype._V9=function(){var __P1=this._QP1;for(var _Q3=0,_ra=__P1.length;_Q3<_ra;_Q3++)__P1[_Q3]._3a()};_R8.prototype._ON1=function(){this._aQ1();this._A9()};_R8.prototype._aQ1=function(){var bones=this.bones;for(var _Q3=0,_ra=bones.length;_Q3<_ra;_Q3++)bones[_Q3]._ON1();var _8L1=this._8L1;for(var _Q3=0,_ra=_8L1.length;_Q3<_ra;_Q3++){var _7L1=_8L1[_Q3];_7L1._4L1=_7L1.data._4L1;_7L1.mix=_7L1.data.mix}var _jL1=this._jL1;
for(var _Q3=0,_ra=_jL1.length;_Q3<_ra;_Q3++){var _7L1=_jL1[_Q3];var data=_7L1.data;_7L1.rotateMix=data.rotateMix;_7L1._dL1=data._dL1;_7L1.scaleMix=data.scaleMix;_7L1._eL1=data._eL1}var _sL1=this._sL1;for(var _Q3=0,_ra=_sL1.length;_Q3<_ra;_Q3++){var _7L1=_sL1[_Q3];var data=_7L1.data;_7L1.position=data.position;_7L1.spacing=data.spacing;_7L1.rotateMix=data.rotateMix;_7L1._dL1=data._dL1}};_R8.prototype._A9=function(){var slots=this.slots;spine._VJ1._SK1(slots,0,this._ec,0,slots.length);for(var _Q3=0,_ra=slots.length;
_Q3<_ra;_Q3++)slots[_Q3]._ON1()};_R8.prototype._b9=function(){if(this.bones.length==0)return null;return this.bones[0]};_R8.prototype._sO1=function(_bQ1){if(_bQ1==null)throw new Error("boneName cannot be null.");var bones=this.bones;for(var _Q3=0,_ra=bones.length;_Q3<_ra;_Q3++){var bone=bones[_Q3];if(bone.data.name==_bQ1)return bone}return null};_R8.prototype._cQ1=function(_bQ1){if(_bQ1==null)throw new Error("boneName cannot be null.");var bones=this.bones;for(var _Q3=0,_ra=bones.length;_Q3<_ra;_Q3++)if(bones[_Q3].data.name==_bQ1)return _Q3;
return -1};_R8.prototype._E9=function(_dQ1){if(_dQ1==null)throw new Error("slotName cannot be null.");var slots=this.slots;for(var _Q3=0,_ra=slots.length;_Q3<_ra;_Q3++){var slot=slots[_Q3];if(slot.data.name==_dQ1)return slot}return null};_R8.prototype._H9=function(_dQ1){if(_dQ1==null)throw new Error("slotName cannot be null.");var slots=this.slots;for(var _Q3=0,_ra=slots.length;_Q3<_ra;_Q3++)if(slots[_Q3].data.name==_dQ1)return _Q3;return -1};_R8.prototype._z9=function(_eQ1){var skin=this.data._fQ1(_eQ1);if(skin==null)throw new Error("Skin not found: "+_eQ1);
this._gQ1(skin)};_R8.prototype._gQ1=function(_hQ1){if(_hQ1!=null){if(this.skin!=null)_hQ1._iQ1(this,this.skin);else {var slots=this.slots;for(var _Q3=0,_ra=slots.length;_Q3<_ra;_Q3++){var slot=slots[_Q3];var _jQ1=slot.data._MK1;if(_jQ1!=null){var attachment=_hQ1._J9(_Q3,_jQ1);if(attachment!=null)slot._F9(attachment)}}}}this.skin=_hQ1};_R8.prototype._kQ1=function(_dQ1,_MK1){return this._J9(this.data._H9(_dQ1),_MK1)};_R8.prototype._J9=function(_G9,_MK1){if(_MK1==null)throw new Error("attachmentName cannot be null.");
if(this.skin!=null){var attachment=this.skin._J9(_G9,_MK1);if(attachment!=null)return attachment}if(this.data._y9!=null)return this.data._y9._J9(_G9,_MK1);return null};_R8.prototype._F9=function(_dQ1,_MK1){if(_dQ1==null)throw new Error("slotName cannot be null.");var slots=this.slots;for(var _Q3=0,_ra=slots.length;_Q3<_ra;_Q3++){var slot=slots[_Q3];if(slot.data.name==_dQ1){var attachment=null;if(_MK1!=null){attachment=this._J9(_Q3,_MK1);if(attachment==null)throw new Error("Attachment not found: "+_MK1+", for slot: "+_dQ1);
}slot._F9(attachment);return }}throw new Error("Slot not found: "+_dQ1)};_R8.prototype._lQ1=function(_mQ1){if(_mQ1==null)throw new Error("constraintName cannot be null.");var _8L1=this._8L1;for(var _Q3=0,_ra=_8L1.length;_Q3<_ra;_Q3++){var _nQ1=_8L1[_Q3];if(_nQ1.data.name==_mQ1)return _nQ1}return null};_R8.prototype._oQ1=function(_mQ1){if(_mQ1==null)throw new Error("constraintName cannot be null.");var _jL1=this._jL1;for(var _Q3=0,_ra=_jL1.length;_Q3<_ra;_Q3++){var _7L1=_jL1[_Q3];if(_7L1.data.name==_mQ1)return _7L1}
return null;};_R8.prototype._pQ1=function(_mQ1){if(_mQ1==null)throw new Error("constraintName cannot be null.");var _sL1=this._sL1;for(var _Q3=0,_ra=_sL1.length;_Q3<_ra;_Q3++){var _7L1=_sL1[_Q3];if(_7L1.data.name==_mQ1)return _7L1}return null};_R8.prototype.getBounds=function(offset,_I3){if(offset==null)throw new Error("offset cannot be null.");if(_I3==null)throw new Error("size cannot be null.");var _ec=this._ec;var _fa=Number.POSITIVE_INFINITY,_ha=Number.POSITIVE_INFINITY,_ga=Number.NEGATIVE_INFINITY,_ia=Number.NEGATIVE_INFINITY;
for(var _Q3=0,_ra=_ec.length;_Q3<_ra;_Q3++){var slot=_ec[_Q3];var vertices=null;var attachment=slot._J9();if(attachment instanceof spine._hc)vertices=attachment._oc(slot,!1);else if(attachment instanceof spine._ic)vertices=attachment._oc(slot,!0);if(vertices!=null){for(var _cE=0,_ML1=vertices.length;_cE<_ML1;_cE+=8){var x=vertices[_cE],y=vertices[_cE+1];_fa=Math.min(_fa,x);_ha=Math.min(_ha,y);_ga=Math.max(_ga,x);_ia=Math.max(_ia,y)}}}offset.set(_fa,_ha);_I3.set(_ga-_fa,_ia-_ha)};_R8.prototype._3a=function(_zL1){
this.time+=_zL1};return _R8}());spine._R8=_R8})(spine||(spine={}));(function(spine){var _99=(function(){function _99(){this._fa=0;this._ha=0;this._ga=0;this._ia=0;this._ea=new Array();this._sa=new Array();this._qQ1=new spine._rQ1(function(){return spine._VJ1._WJ1(16)})}_99.prototype._3a=function(skeleton,_sQ1){if(skeleton==null)throw new Error("skeleton cannot be null.");var _ea=this._ea;var _sa=this._sa;var _qQ1=this._qQ1;var slots=skeleton.slots;var _tQ1=slots.length;_ea.length=0;_qQ1._SL1(_sa);_sa.length=0;
for(var _Q3=0;_Q3<_tQ1;_Q3++){var slot=slots[_Q3];var attachment=slot._J9();if(attachment instanceof spine._KM1){var _uQ1=attachment;_ea.push(_uQ1);var _B41=_qQ1._vQ1();if(_B41.length!=_uQ1._wM1){_B41=spine._VJ1._WJ1(_uQ1._wM1)}_sa.push(_B41);_uQ1._xM1(slot,_B41)}}if(_sQ1)this._wQ1()};_99.prototype._wQ1=function(){var _fa=Number.POSITIVE_INFINITY,_ha=Number.POSITIVE_INFINITY,_ga=Number.NEGATIVE_INFINITY,_ia=Number.NEGATIVE_INFINITY;var _sa=this._sa;for(var _Q3=0,_ra=_sa.length;_Q3<_ra;_Q3++){var _B41=_sa[_Q3];
var vertices=_B41;for(var _cE=0,_ML1=_B41.length;_cE<_ML1;_cE+=2){var x=vertices[_cE];var y=vertices[_cE+1];_fa=Math.min(_fa,x);_ha=Math.min(_ha,y);_ga=Math.max(_ga,x);_ia=Math.max(_ia,y)}}this._fa=_fa;this._ha=_ha;this._ga=_ga;this._ia=_ia};_99.prototype._xQ1=function(x,y){return x>=this._fa&&x<=this._ga&&y>=this._ha&&y<=this._ia};_99.prototype._yQ1=function(_va,_wa,_xa,_ya){var _fa=this._fa;var _ha=this._ha;var _ga=this._ga;var _ia=this._ia;if((_va<=_fa&&_xa<=_fa)||(_wa<=_ha&&_ya<=_ha)||(_va>=_ga&&_xa>=_ga)||(_wa>=_ia&&_ya>=_ia))return !1;
var _ua=(_ya-_wa)/(_xa-_va);var y=_ua*(_fa-_va)+_wa;if(y>_ha&&y<_ia)return !0;y=_ua*(_ga-_va)+_wa;if(y>_ha&&y<_ia)return !0;var x=(_ha-_wa)/_ua+_va;if(x>_fa&&x<_ga)return !0;x=(_ia-_wa)/_ua+_va;if(x>_fa&&x<_ga)return !0;return !1};_99.prototype._zQ1=function(_AQ1){return this._fa<_AQ1._ga&&this._ga>_AQ1._fa&&this._ha<_AQ1._ia&&this._ia>_AQ1._ha};_99.prototype._Ya=function(x,y){var _sa=this._sa;for(var _Q3=0,_ra=_sa.length;_Q3<_ra;_Q3++)if(this._BQ1(_sa[_Q3],x,y))return this._ea[_Q3];return null};_99.prototype._BQ1=function(_B41,
x,y){var vertices=_B41;var _ML1=_B41.length;var _CQ1=_ML1-2;var _DQ1=!1;for(var _cE=0;_cE<_ML1;_cE+=2){var _EQ1=vertices[_cE+1];var _lK1=vertices[_CQ1+1];if((_EQ1<y&&_lK1>=y)||(_lK1<y&&_EQ1>=y)){var _FQ1=vertices[_cE];if(_FQ1+(y-_EQ1)/(_lK1-_EQ1)*(vertices[_CQ1]-_FQ1)<x)_DQ1=!_DQ1}_CQ1=_cE}return _DQ1};_99.prototype._Aa=function(_va,_wa,_xa,_ya){var _sa=this._sa;for(var _Q3=0,_ra=_sa.length;_Q3<_ra;_Q3++)if(this._GQ1(_sa[_Q3],_va,_wa,_xa,_ya))return this._ea[_Q3];return null};_99.prototype._GQ1=function(_B41,
_va,_wa,_xa,_ya){var vertices=_B41;var _ML1=_B41.length;var _HQ1=_va-_xa,_IQ1=_wa-_ya;var _JQ1=_va*_ya-_wa*_xa;var _gl=vertices[_ML1-2],_hl=vertices[_ML1-1];for(var _cE=0;_cE<_ML1;_cE+=2){var _KQ1=vertices[_cE],_LQ1=vertices[_cE+1];var _MQ1=_gl*_LQ1-_hl*_KQ1;var _NQ1=_gl-_KQ1,_OQ1=_hl-_LQ1;var _PQ1=_HQ1*_OQ1-_IQ1*_NQ1;var x=(_JQ1*_NQ1-_HQ1*_MQ1)/_PQ1;if(((x>=_gl&&x<=_KQ1)||(x>=_KQ1&&x<=_gl))&&((x>=_va&&x<=_xa)||(x>=_xa&&x<=_va))){var y=(_JQ1*_OQ1-_IQ1*_MQ1)/_PQ1;if(((y>=_hl&&y<=_LQ1)||(y>=_LQ1&&y<=_hl))&&((y>=_wa&&y<=_ya)||(y>=_ya&&y<=_wa)))return !0;
}_gl=_KQ1;_hl=_LQ1}return !1};_99.prototype._QQ1=function(_uQ1){if(_uQ1==null)throw new Error("boundingBox cannot be null.");var index=this._ea.indexOf(_uQ1);return index==-1?null:this._sa[index]};_99.prototype._RQ1=function(){return this._ga-this._fa};_99.prototype._SQ1=function(){return this._ia-this._ha};return _99}());spine._99=_99})(spine||(spine={}));(function(spine){var _TQ1=(function(){function _TQ1(){this.bones=new Array();this.slots=new Array();this.skins=new Array();this.events=new Array();this.animations=new Array();
this._8L1=new Array();this._jL1=new Array();this._sL1=new Array()}_TQ1.prototype._sO1=function(_bQ1){if(_bQ1==null)throw new Error("boneName cannot be null.");var bones=this.bones;for(var _Q3=0,_ra=bones.length;_Q3<_ra;_Q3++){var bone=bones[_Q3];if(bone.name==_bQ1)return bone}return null};_TQ1.prototype._cQ1=function(_bQ1){if(_bQ1==null)throw new Error("boneName cannot be null.");var bones=this.bones;for(var _Q3=0,_ra=bones.length;_Q3<_ra;_Q3++)if(bones[_Q3].name==_bQ1)return _Q3;return -1};_TQ1.prototype._E9=function(_dQ1){
if(_dQ1==null)throw new Error("slotName cannot be null.");var slots=this.slots;for(var _Q3=0,_ra=slots.length;_Q3<_ra;_Q3++){var slot=slots[_Q3];if(slot.name==_dQ1)return slot}return null};_TQ1.prototype._H9=function(_dQ1){if(_dQ1==null)throw new Error("slotName cannot be null.");var slots=this.slots;for(var _Q3=0,_ra=slots.length;_Q3<_ra;_Q3++)if(slots[_Q3].name==_dQ1)return _Q3;return -1};_TQ1.prototype._fQ1=function(_eQ1){if(_eQ1==null)throw new Error("skinName cannot be null.");var skins=this.skins;for(var _Q3=0,
_ra=skins.length;_Q3<_ra;_Q3++){var skin=skins[_Q3];if(skin.name==_eQ1)return skin}return null};_TQ1.prototype._UQ1=function(_VQ1){if(_VQ1==null)throw new Error("eventDataName cannot be null.");var events=this.events;for(var _Q3=0,_ra=events.length;_Q3<_ra;_Q3++){var _WQ1=events[_Q3];if(_WQ1.name==_VQ1)return _WQ1}return null};_TQ1.prototype._v9=function(_VL1){if(_VL1==null)throw new Error("animationName cannot be null.");var animations=this.animations;for(var _Q3=0,_ra=animations.length;_Q3<_ra;_Q3++){var _m9=animations[_Q3];
if(_m9.name==_VL1)return _m9;}return null};_TQ1.prototype._lQ1=function(_mQ1){if(_mQ1==null)throw new Error("constraintName cannot be null.");var _8L1=this._8L1;for(var _Q3=0,_ra=_8L1.length;_Q3<_ra;_Q3++){var _7L1=_8L1[_Q3];if(_7L1.name==_mQ1)return _7L1}return null};_TQ1.prototype._oQ1=function(_mQ1){if(_mQ1==null)throw new Error("constraintName cannot be null.");var _jL1=this._jL1;for(var _Q3=0,_ra=_jL1.length;_Q3<_ra;_Q3++){var _7L1=_jL1[_Q3];if(_7L1.name==_mQ1)return _7L1}return null};_TQ1.prototype._pQ1=function(_mQ1){
if(_mQ1==null)throw new Error("constraintName cannot be null.");var _sL1=this._sL1;for(var _Q3=0,_ra=_sL1.length;_Q3<_ra;_Q3++){var _7L1=_sL1[_Q3];if(_7L1.name==_mQ1)return _7L1}return null};_TQ1.prototype._XQ1=function(_YQ1){if(_YQ1==null)throw new Error("pathConstraintName cannot be null.");var _sL1=this._sL1;for(var _Q3=0,_ra=_sL1.length;_Q3<_ra;_Q3++)if(_sL1[_Q3].name==_YQ1)return _Q3;return -1};return _TQ1}());spine._TQ1=_TQ1})(spine||(spine={}));(function(spine){var _Vb=(function(){function _Vb(_ZQ1){this.scale=1;
this.__Q1=new Array();this._ZQ1=_ZQ1}_Vb.prototype._Xb=function(_4G){var scale=this.scale;var _WL1=new spine._TQ1();var _a9=typeof(_4G)==="string"?JSON.parse(_4G):_4G;var _0R1=_a9.skeleton;if(_0R1!=null){_WL1.hash=_0R1.hash;_WL1.version=_0R1.spine;_WL1.width=_0R1.width;_WL1.height=_0R1.height;_WL1._1R1=_0R1.images}if(_a9.bones){for(var _Q3=0;_Q3<_a9.bones.length;_Q3++){var _2R1=_a9.bones[_Q3];var _3R1=null;var _4R1=this._5R1(_2R1,"parent",null);if(_4R1!=null){_3R1=_WL1._sO1(_4R1);if(_3R1==null)throw new Error("Parent bone not found: "+_4R1)}
var data=new spine._oO1(_WL1.bones.length,_2R1.name,_3R1);data.length=this._5R1(_2R1,"length",0)*scale;data.x=this._5R1(_2R1,"x",0)*scale;data.y=this._5R1(_2R1,"y",0)*scale;data.rotation=this._5R1(_2R1,"rotation",0);data.scaleX=this._5R1(_2R1,"scaleX",1);data.scaleY=this._5R1(_2R1,"scaleY",1);data.shearX=this._5R1(_2R1,"shearX",0);data.shearY=this._5R1(_2R1,"shearY",0);data.inheritRotation=this._5R1(_2R1,"inheritRotation",!0);data.inheritScale=this._5R1(_2R1,"inheritScale",!0);_WL1.bones.push(data)}
}if(_a9.slots){for(var _Q3=0;_Q3<_a9.slots.length;_Q3++){var _6R1=_a9.slots[_Q3];var _dQ1=_6R1.name;var _bQ1=_6R1.bone;var _RP1=_WL1._sO1(_bQ1);if(_RP1==null)throw new Error("Slot bone not found: "+_bQ1);var data=new spine._7R1(_WL1.slots.length,_dQ1,_RP1);var color=this._5R1(_6R1,"color",null);if(color!=null)data.color._8R1(color);data._MK1=this._5R1(_6R1,"attachment",null);data._9R1=_Vb._aR1(this._5R1(_6R1,"blend","normal"));_WL1.slots.push(data)}}if(_a9.ik){for(var _Q3=0;_Q3<_a9.ik.length;_Q3++){var _bR1=_a9.ik[_Q3];
var data=new spine._SO1(_bR1.name);for(var _Pa=0;_Pa<_bR1.bones.length;_Pa++){var _bQ1=_bR1.bones[_Pa];var bone=_WL1._sO1(_bQ1);if(bone==null)throw new Error("IK bone not found: "+_bQ1);data.bones.push(bone)}var _cR1=_bR1.target;data.target=_WL1._sO1(_cR1);if(data.target==null)throw new Error("IK target bone not found: "+_cR1);data._4L1=this._5R1(_bR1,"bendPositive",!0)?1:-1;data.mix=this._5R1(_bR1,"mix",1);_WL1._8L1.push(data)}}if(_a9.transform){for(var _Q3=0;_Q3<_a9.transform.length;_Q3++){var _bR1=_a9.transform[_Q3];
var data=new spine._dR1(_bR1.name);for(var _Pa=0;_Pa<_bR1.bones.length;_Pa++){var _bQ1=_bR1.bones[_Pa];var bone=_WL1._sO1(_bQ1);if(bone==null)throw new Error("Transform constraint bone not found: "+_bQ1);data.bones.push(bone)}var _cR1=_bR1.target;data.target=_WL1._sO1(_cR1);if(data.target==null)throw new Error("Transform constraint target bone not found: "+_cR1);data._9P1=this._5R1(_bR1,"rotation",0);data._6N1=this._5R1(_bR1,"x",0)*scale;data._8N1=this._5R1(_bR1,"y",0)*scale;data._eR1=this._5R1(_bR1,"scaleX",
0);data._fR1=this._5R1(_bR1,"scaleY",0);data._gR1=this._5R1(_bR1,"shearY",0);data.rotateMix=this._5R1(_bR1,"rotateMix",1);data._dL1=this._5R1(_bR1,"translateMix",1);data.scaleMix=this._5R1(_bR1,"scaleMix",1);data._eL1=this._5R1(_bR1,"shearMix",1);_WL1._jL1.push(data)}}if(_a9.path){for(var _Q3=0;_Q3<_a9.path.length;_Q3++){var _bR1=_a9.path[_Q3];var data=new spine._FP1(_bR1.name);for(var _Pa=0;_Pa<_bR1.bones.length;_Pa++){var _bQ1=_bR1.bones[_Pa];var bone=_WL1._sO1(_bQ1);if(bone==null)throw new Error("Transform constraint bone not found: "+_bQ1);
data.bones.push(bone)}var _cR1=_bR1.target;data.target=_WL1._E9(_cR1);if(data.target==null)throw new Error("Path target slot not found: "+_cR1);data._3P1=_Vb._hR1(this._5R1(_bR1,"positionMode","percent"));data.spacingMode=_Vb._iR1(this._5R1(_bR1,"spacingMode","length"));data.rotateMode=_Vb._jR1(this._5R1(_bR1,"rotateMode","tangent"));data._9P1=this._5R1(_bR1,"rotation",0);data.position=this._5R1(_bR1,"position",0);if(data._3P1==spine._4P1.Fixed)data.position*=scale;data.spacing=this._5R1(_bR1,"spacing",
0);if(data.spacingMode==spine._XO1.Length||data.spacingMode==spine._XO1.Fixed)data.spacing*=scale;data.rotateMix=this._5R1(_bR1,"rotateMix",1);data._dL1=this._5R1(_bR1,"translateMix",1);_WL1._sL1.push(data)}}if(_a9.skins){for(var _eQ1 in _a9.skins){var _kR1=_a9.skins[_eQ1];var skin=new spine._lR1(_eQ1);for(var _dQ1 in _kR1){var _G9=_WL1._H9(_dQ1);if(_G9==-1)throw new Error("Slot not found: "+_dQ1);var _6R1=_kR1[_dQ1];for(var _mR1 in _6R1){var attachment=this._nR1(_6R1[_mR1],skin,_G9,_mR1);if(attachment!=null)skin._oR1(_G9,
_mR1,attachment)}}_WL1.skins.push(skin);if(skin.name=="default")_WL1._y9=skin}}for(var _Q3=0,_ra=this.__Q1.length;_Q3<_ra;_Q3++){var _pR1=this.__Q1[_Q3];var skin=_pR1.skin==null?_WL1._y9:_WL1._fQ1(_pR1.skin);if(skin==null)throw new Error("Skin not found: "+_pR1.skin);var _qR1=skin._J9(_pR1._G9,_pR1.parent);if(_qR1==null)throw new Error("Parent mesh not found: "+_pR1.parent);_pR1._Qc._WM1(_qR1);_pR1._Qc._NM1()}this.__Q1.length=0;if(_a9.events){for(var _rR1 in _a9.events){var _sR1=_a9.events[_rR1];var data=new spine._pO1(_rR1);
data.__8=this._5R1(_sR1,"int",0);data._09=this._5R1(_sR1,"float",0);data._19=this._5R1(_sR1,"string",null);_WL1.events.push(data)}}if(_a9.animations){for(var _VL1 in _a9.animations){var _tR1=_a9.animations[_VL1];this._uR1(_tR1,_VL1,_WL1)}}return _WL1};_Vb.prototype._nR1=function(map,skin,_G9,name){var scale=this.scale;name=this._5R1(map,"name",name);var type=this._5R1(map,"type","region");switch(type){case "region":{var path=this._5R1(map,"path",name);var _lc=this._ZQ1._vR1(skin,name,path);if(_lc==null)return null;
_lc.path=path;_lc.x=this._5R1(map,"x",0)*scale;_lc.y=this._5R1(map,"y",0)*scale;_lc.scaleX=this._5R1(map,"scaleX",1);_lc.scaleY=this._5R1(map,"scaleY",1);_lc.rotation=this._5R1(map,"rotation",0);_lc.width=map.width*scale;_lc.height=map.height*scale;var color=this._5R1(map,"color",null);if(color!=null)_lc.color._8R1(color);_lc._0N1();return _lc}case "boundingbox":{var _wR1=this._ZQ1._xR1(skin,name);if(_wR1==null)return null;this._yR1(map,_wR1,map.vertexCount<<1);var color=this._5R1(map,"color",null);if(color!=null)_wR1.color._8R1(color);
return _wR1}case "mesh":case "linkedmesh":{var path=this._5R1(map,"path",name);var _Qc=this._ZQ1._zR1(skin,name,path);if(_Qc==null)return null;_Qc.path=path;var color=this._5R1(map,"color",null);if(color!=null)_Qc.color._8R1(color);var _AR1=this._5R1(map,"parent",null);if(_AR1!=null){_Qc._LM1=this._5R1(map,"deform",!0);this.__Q1.push(new LinkedMesh(_Qc,this._5R1(map,"skin",null),_G9,_AR1));return _Qc}var uvs=map.uvs;this._yR1(map,_Qc,uvs.length);_Qc.triangles=map.triangles;_Qc._OM1=uvs;_Qc._NM1();_Qc._XM1=this._5R1(map,
"hull",0)*2;return _Qc}case "path":{var path=this._ZQ1._BR1(skin,name);if(path==null)return null;path._6m=this._5R1(map,"closed",!1);path._ZM1=this._5R1(map,"constantSpeed",!0);var vertexCount=map.vertexCount;this._yR1(map,path,vertexCount<<1);var lengths=spine._VJ1._CR1(vertexCount/3,0);for(var _Q3=0;_Q3<map.lengths.length;_Q3++)lengths[_Q3++]=map.lengths[_Q3]*scale;path.lengths=lengths;var color=this._5R1(map,"color",null);if(color!=null)path.color._8R1(color);return path}}return null};_Vb.prototype._yR1=function(map,
attachment,_PM1){var scale=this.scale;attachment._wM1=_PM1;var vertices=map.vertices;if(_PM1==vertices.length){if(scale!=1){for(var _Q3=0,_ra=vertices.length;_Q3<_ra;_Q3++)vertices[_Q3]*=scale}attachment.vertices=spine._VJ1._DR1(vertices);return }var _ER1=new Array();var bones=new Array();for(var _Q3=0,_ra=vertices.length;_Q3<_ra;){var __O1=vertices[_Q3++];bones.push(__O1);for(var _ML1=_Q3+__O1*4;_Q3<_ML1;_Q3+=4){bones.push(vertices[_Q3]);_ER1.push(vertices[_Q3+1]*scale);_ER1.push(vertices[_Q3+2]*scale);_ER1.push(vertices[_Q3+3])}
}attachment.bones=bones;attachment.vertices=spine._VJ1._DR1(_ER1);};_Vb.prototype._uR1=function(map,name,_WL1){var scale=this.scale;var _1a=new Array();var duration=0;if(map.slots){for(var _dQ1 in map.slots){var _6R1=map.slots[_dQ1];var _G9=_WL1._H9(_dQ1);if(_G9==-1)throw new Error("Slot not found: "+_dQ1);for(var _FR1 in _6R1){var _GR1=_6R1[_FR1];if(_FR1=="color"){var _vy=new spine._EK1(_GR1.length);_vy._G9=_G9;var __J1=0;for(var _Q3=0;_Q3<_GR1.length;_Q3++){var _HR1=_GR1[_Q3];var color=new spine._AF1();color._8R1(_HR1.color);
_vy._oK1(__J1,_HR1.time,color._Ia,color._fc,color._La,color._gc);this._IR1(_HR1,_vy,__J1);__J1++}_1a.push(_vy);duration=Math.max(duration,_vy.frames[(_vy._YJ1()-1)*spine._EK1._sK1])}else if(_FR1="attachment"){var _vy=new spine._KK1(_GR1.length);_vy._G9=_G9;var __J1=0;for(var _Q3=0;_Q3<_GR1.length;_Q3++){var _HR1=_GR1[_Q3];_vy._oK1(__J1++,_HR1.time,_HR1.name)}_1a.push(_vy);duration=Math.max(duration,_vy.frames[_vy._YJ1()-1])}else throw new Error("Invalid timeline type for a slot: "+_FR1+" ("+_dQ1+")")}}}if(map.bones){
for(var _bQ1 in map.bones){var _2R1=map.bones[_bQ1];var _rK1=_WL1._cQ1(_bQ1);if(_rK1==-1)throw new Error("Bone not found: "+_bQ1);for(var _FR1 in _2R1){var _GR1=_2R1[_FR1];if(_FR1==="rotate"){var _vy=new spine._mK1(_GR1.length);_vy._rK1=_rK1;var __J1=0;for(var _Q3=0;_Q3<_GR1.length;_Q3++){var _HR1=_GR1[_Q3];_vy._oK1(__J1,_HR1.time,_HR1.angle);this._IR1(_HR1,_vy,__J1);__J1++}_1a.push(_vy);duration=Math.max(duration,_vy.frames[(_vy._YJ1()-1)*spine._mK1._sK1])}else if(_FR1==="translate"||_FR1==="scale"||_FR1==="shear"){
var _vy=null;var _JR1=1;if(_FR1==="scale")_vy=new spine._CK1(_GR1.length);else if(_FR1==="shear")_vy=new spine._DK1(_GR1.length);else {_vy=new spine._zK1(_GR1.length);_JR1=scale}_vy._rK1=_rK1;var __J1=0;for(var _Q3=0;_Q3<_GR1.length;_Q3++){var _HR1=_GR1[_Q3];var x=this._5R1(_HR1,"x",0),y=this._5R1(_HR1,"y",0);_vy._oK1(__J1,_HR1.time,x*_JR1,y*_JR1);this._IR1(_HR1,_vy,__J1);__J1++}_1a.push(_vy);duration=Math.max(duration,_vy.frames[(_vy._YJ1()-1)*spine._zK1._sK1])}else throw new Error("Invalid timeline type for a bone: "+_FR1+" ("+_bQ1+")")}
}}if(map.ik){for(var _mQ1 in map.ik){var _bR1=map.ik[_mQ1];var _7L1=_WL1._lQ1(_mQ1);var _vy=new spine._3L1(_bR1.length);_vy._9L1=_WL1._8L1.indexOf(_7L1);var __J1=0;for(var _Q3=0;_Q3<_bR1.length;_Q3++){var _HR1=_bR1[_Q3];_vy._oK1(__J1,_HR1.time,this._5R1(_HR1,"mix",1),this._5R1(_HR1,"bendPositive",!0)?1:-1);this._IR1(_HR1,_vy,__J1);__J1++}_1a.push(_vy);duration=Math.max(duration,_vy.frames[(_vy._YJ1()-1)*spine._3L1._sK1])}}if(map.transform){for(var _mQ1 in map.transform){var _bR1=map.transform[_mQ1];var _7L1=_WL1._oQ1(_mQ1);
var _vy=new spine._cL1(_bR1.length);_vy._kL1=_WL1._jL1.indexOf(_7L1);var __J1=0;for(var _Q3=0;_Q3<_bR1.length;_Q3++){var _HR1=_bR1[_Q3];_vy._oK1(__J1,_HR1.time,this._5R1(_HR1,"rotateMix",1),this._5R1(_HR1,"translateMix",1),this._5R1(_HR1,"scaleMix",1),this._5R1(_HR1,"shearMix",1));this._IR1(_HR1,_vy,__J1);__J1++}_1a.push(_vy);duration=Math.max(duration,_vy.frames[(_vy._YJ1()-1)*spine._cL1._sK1])}}if(map.paths){for(var _mQ1 in map.paths){var _bR1=map.paths[_mQ1];var index=_WL1._XQ1(_mQ1);if(index==-1)throw new Error("Path constraint not found: "+_mQ1);
var data=_WL1._sL1[index];for(var _FR1 in _bR1){var _GR1=_bR1[_FR1];if(_FR1==="position"||_FR1==="spacing"){var _vy=null;var _JR1=1;if(_FR1==="spacing"){_vy=new spine._vL1(_GR1.length);if(data.spacingMode==spine._XO1.Length||data.spacingMode==spine._XO1.Fixed)_JR1=scale}else {_vy=new spine._qL1(_GR1.length);if(data._3P1==spine._4P1.Fixed)_JR1=scale}_vy._tL1=index;var __J1=0;for(var _Q3=0;_Q3<_GR1.length;_Q3++){var _HR1=_GR1[_Q3];_vy._oK1(__J1,_HR1.time,this._5R1(_HR1,_FR1,0)*_JR1);this._IR1(_HR1,_vy,__J1);__J1++}
_1a.push(_vy);duration=Math.max(duration,_vy.frames[(_vy._YJ1()-1)*spine._qL1._sK1])}else if(_FR1==="mix"){var _vy=new spine._wL1(_GR1.length);_vy._tL1=index;var __J1=0;for(var _Q3=0;_Q3<_GR1.length;_Q3++){var _HR1=_GR1[_Q3];_vy._oK1(__J1,_HR1.time,this._5R1(_HR1,"rotateMix",1),this._5R1(_HR1,"translateMix",1));this._IR1(_HR1,_vy,__J1);__J1++}_1a.push(_vy);duration=Math.max(duration,_vy.frames[(_vy._YJ1()-1)*spine._wL1._sK1])}}}}if(map.deform){for(var _KR1 in map.deform){var _LR1=map.deform[_KR1];var skin=_WL1._fQ1(_KR1);
if(skin==null)throw new Error("Skin not found: "+_KR1);for(var _dQ1 in _LR1){var _6R1=_LR1[_dQ1];var _G9=_WL1._H9(_dQ1);if(_G9==-1)throw new Error("Slot not found: "+_6R1.name);for(var _FR1 in _6R1){var _GR1=_6R1[_FR1];var attachment=skin._J9(_G9,_FR1);if(attachment==null)throw new Error("Deform attachment not found: "+_GR1.name);var _MR1=attachment.bones!=null;var vertices=attachment.vertices;var _NR1=_MR1?vertices.length/3*2:vertices.length;var _vy=new spine._TK1(_GR1.length);_vy._G9=_G9;_vy.attachment=attachment;
var __J1=0;for(var _Pa=0;_Pa<_GR1.length;_Pa++){var _HR1=_GR1[_Pa];var deform=void 0;var _OR1=this._5R1(_HR1,"vertices",null);if(_OR1==null)deform=_MR1?spine._VJ1._WJ1(_NR1):vertices;else {deform=spine._VJ1._WJ1(_NR1);var start=this._5R1(_HR1,"offset",0);spine._VJ1._SK1(_OR1,0,deform,start,_OR1.length);if(scale!=1){for(var _Q3=start,_ra=_Q3+_OR1.length;_Q3<_ra;_Q3++)deform[_Q3]*=scale}if(!_MR1){for(var _Q3=0;_Q3<_NR1;_Q3++)deform[_Q3]+=vertices[_Q3]}}_vy._oK1(__J1,_HR1.time,deform);this._IR1(_HR1,_vy,__J1);
__J1++}_1a.push(_vy);duration=Math.max(duration,_vy.frames[_vy._YJ1()-1])}}}}var _PR1=map._ec;if(_PR1==null)_PR1=map.draworder;if(_PR1!=null){var _vy=new spine._PK1(_PR1.length);var _tQ1=_WL1.slots.length;var __J1=0;for(var _Pa=0;_Pa<_PR1.length;_Pa++){var _QR1=_PR1[_Pa];var _ec=null;var _RR1=this._5R1(_QR1,"offsets",null);if(_RR1!=null){_ec=spine._VJ1._CR1(_tQ1,-1);var _SR1=spine._VJ1._CR1(_tQ1-_RR1.length,0);var _TR1=0,_UR1=0;for(var _Q3=0;_Q3<_RR1.length;_Q3++){var _VR1=_RR1[_Q3];var _G9=_WL1._H9(_VR1.slot);
if(_G9==-1)throw new Error("Slot not found: "+_VR1.slot);while(_TR1!=_G9)_SR1[_UR1++]=_TR1++;_ec[_TR1+_VR1.offset]=_TR1++}while(_TR1<_tQ1)_SR1[_UR1++]=_TR1++;for(var _Q3=_tQ1-1;_Q3>=0;_Q3--)if(_ec[_Q3]==-1)_ec[_Q3]=_SR1[--_UR1]}_vy._oK1(__J1++,_QR1.time,_ec)}_1a.push(_vy);duration=Math.max(duration,_vy.frames[_vy._YJ1()-1])}if(map.events){var _vy=new spine._NK1(map.events.length);var __J1=0;for(var _Q3=0;_Q3<map.events.length;_Q3++){var _sR1=map.events[_Q3];var _xy=_WL1._UQ1(_sR1.name);if(_xy==null)throw new Error("Event not found: "+_sR1.name);
var _WR1=new spine._zy(_sR1.time,_xy);_WR1.__8=this._5R1(_sR1,"int",_xy.__8);_WR1._09=this._5R1(_sR1,"float",_xy._09);_WR1._19=this._5R1(_sR1,"string",_xy._19);_vy._oK1(__J1++,_WR1)}_1a.push(_vy);duration=Math.max(duration,_vy.frames[_vy._YJ1()-1])}if(isNaN(duration)){throw new Error("Error while parsing animation, duration is NaN")}_WL1.animations.push(new spine._OJ1(name,_1a,duration))};_Vb.prototype._IR1=function(map,_vy,__J1){if(!map.curve)return;if(map.curve==="stepped")_vy._0K1(__J1);else if(Object.prototype.toString.call(map.curve)==='[object Array]'){
var curve=map.curve;_vy._4K1(__J1,curve[0],curve[1],curve[2],curve[3])}};_Vb.prototype._5R1=function(map,prop,_XR1){return map[prop]!==undefined?map[prop]:_XR1};_Vb._aR1=function(_Mj){_Mj=_Mj.toLowerCase();if(_Mj=="normal")return spine._JN1.Normal;if(_Mj=="additive")return spine._JN1.Additive;if(_Mj=="multiply")return spine._JN1.Multiply;if(_Mj=="screen")return spine._JN1.Screen;throw new Error("Unknown blend mode: "+_Mj)};_Vb._hR1=function(_Mj){_Mj=_Mj.toLowerCase();if(_Mj=="fixed")return spine._4P1.Fixed;
if(_Mj=="percent")return spine._4P1.Percent;throw new Error("Unknown position mode: "+_Mj)};_Vb._iR1=function(_Mj){_Mj=_Mj.toLowerCase();if(_Mj=="length")return spine._XO1.Length;if(_Mj=="fixed")return spine._XO1.Fixed;if(_Mj=="percent")return spine._XO1.Percent;throw new Error("Unknown position mode: "+_Mj)};_Vb._jR1=function(_Mj){_Mj=_Mj.toLowerCase();if(_Mj=="tangent")return spine._ZO1.Tangent;if(_Mj=="chain")return spine._ZO1.Chain;if(_Mj=="chainscale")return spine._ZO1.ChainScale;throw new Error("Unknown rotate mode: "+_Mj)}
;return _Vb}());spine._Vb=_Vb;var LinkedMesh=(function(){function LinkedMesh(_Qc,skin,_G9,parent){this._Qc=_Qc;this.skin=skin;this._G9=_G9;this.parent=parent}return LinkedMesh}())})(spine||(spine={}));(function(spine){var _lR1=(function(){function _lR1(name){this._8Q1=new Array();if(name==null)throw new Error("name cannot be null.");this.name=name}_lR1.prototype._oR1=function(_G9,name,attachment){if(attachment==null)throw new Error("attachment cannot be null.");var _8Q1=this._8Q1;if(_G9>=_8Q1.length)_8Q1.length=_G9+1;
if(!_8Q1[_G9])_8Q1[_G9]={};_8Q1[_G9][name]=attachment};_lR1.prototype._J9=function(_G9,name){var _YR1=this._8Q1[_G9];return _YR1?_YR1[name]:null};_lR1.prototype._iQ1=function(skeleton,_ZR1){var _G9=0;for(var _Q3=0;_Q3<skeleton.slots.length;_Q3++){var slot=skeleton.slots[_Q3];var _VK1=slot._J9();if(_VK1&&_G9<_ZR1._8Q1.length){var _YR1=_ZR1._8Q1[_G9];for(var _wu in _YR1){var __R1=_YR1[_wu];if(_VK1==__R1){var attachment=this._J9(_G9,_wu);if(attachment!=null)slot._F9(attachment);break }}}_G9++}};return _lR1}());spine._lR1=_lR1}
)(spine||(spine={}));(function(spine){var _UP1=(function(){function _UP1(data,bone){this._ZK1=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._AF1();this._ON1()}_UP1.prototype._J9=function(){return this.attachment};_UP1.prototype._F9=function(attachment){if(this.attachment==attachment)return;this.attachment=attachment;this._0S1=this.bone.skeleton.time;this._ZK1.length=0};_UP1.prototype._1S1=function(time){
this._0S1=this.bone.skeleton.time-time};_UP1.prototype._2S1=function(){return this.bone.skeleton.time-this._0S1};_UP1.prototype._ON1=function(){this.color._3S1(this.data.color);if(this.data._MK1==null)this.attachment=null;else {this.attachment=null;this._F9(this.bone.skeleton._J9(this.data.index,this.data._MK1))}};return _UP1}());spine._UP1=_UP1})(spine||(spine={}));(function(spine){var _7R1=(function(){function _7R1(index,name,_RP1){this.color=new spine._AF1(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(_RP1==null)throw new Error("boneData cannot be null.");this.index=index;this.name=name;this._RP1=_RP1}return _7R1}());spine._7R1=_7R1})(spine||(spine={}));(function(spine){var _wx1=(function(){function _wx1(_fb){this._qx1=_fb}_wx1.prototype._gb=function(){return this._qx1};_wx1._4S1=function(text){switch(text.toLowerCase()){case "nearest":return _5S1.Nearest;case "linear":return _5S1.Linear;case "mipmap":return _5S1.MipMap;case "mipmapnearestnearest":return _5S1.MipMapNearestNearest;
case "mipmaplinearnearest":return _5S1.MipMapLinearNearest;case "mipmapnearestlinear":return _5S1.MipMapNearestLinear;case "mipmaplinearlinear":return _5S1.MipMapLinearLinear;default :throw new Error("Unknown texture filter "+text)}};_wx1._6S1=function(text){switch(text.toLowerCase()){case "mirroredtepeat":return _7S1.MirroredRepeat;case "clamptoedge":return _7S1.ClampToEdge;case "repeat":return _7S1.Repeat;default :throw new Error("Unknown texture wrap "+text)}};return _wx1}());spine._wx1=_wx1;(function(_5S1){_5S1[_5S1["Nearest"]=9728]="Nearest";
_5S1[_5S1["Linear"]=9729]="Linear";_5S1[_5S1["MipMap"]=9987]="MipMap";_5S1[_5S1["MipMapNearestNearest"]=9984]="MipMapNearestNearest";_5S1[_5S1["MipMapLinearNearest"]=9985]="MipMapLinearNearest";_5S1[_5S1["MipMapNearestLinear"]=9986]="MipMapNearestLinear";_5S1[_5S1["MipMapLinearLinear"]=9987]="MipMapLinearLinear"})(spine._5S1||(spine._5S1={}));var _5S1=spine._5S1;(function(_7S1){_7S1[_7S1["MirroredRepeat"]=33648]="MirroredRepeat";_7S1[_7S1["ClampToEdge"]=33071]="ClampToEdge";_7S1[_7S1["Repeat"]=10497]="Repeat"}
)(spine._7S1||(spine._7S1={}));var _7S1=spine._7S1;var _8S1=(function(){function _8S1(){this._sc=0;this._uc=0;this._g71=0;this._ud=0;this.width=0;this.height=0;this.rotate=!1;this._6N1=0;this._8N1=0;this._2N1=0;this._4N1=0}return _8S1}());spine._8S1=_8S1})(spine||(spine={}));(function(spine){var _Ub=(function(){function _Ub(_9S1,_fM1){this._aS1=new Array();this._bS1=new Array();this.load(_9S1,_fM1)}_Ub.prototype.load=function(_9S1,_fM1){if(_9S1===null||_9S1===undefined)return;if(_fM1===null||_fM1===undefined)return;
var _cS1=new _dS1(_9S1);var _eS1=new Array(4);var _Mc=null;while(!0){var _fS1=_cS1._gS1();if(_fS1==null)break;_fS1=_fS1.trim();if(_fS1.length==0)_Mc=null;else if(!_Mc){_Mc=new _hS1();_Mc.name=_fS1;if(_cS1._iS1(_eS1)==2){_Mc.width=parseInt(_eS1[0]);_Mc.height=parseInt(_eS1[1]);_cS1._iS1(_eS1)}_cS1._iS1(_eS1);_Mc._ib=spine._wx1._4S1(_eS1[0]);_Mc._jb=spine._wx1._4S1(_eS1[1]);var _9M=_cS1._jS1();_Mc._lb=spine._7S1.ClampToEdge;_Mc._mb=spine._7S1.ClampToEdge;if(_9M=="x")_Mc._lb=spine._7S1.Repeat;else if(_9M=="y")_Mc._mb=spine._7S1.Repeat;
else if(_9M=="xy")_Mc._lb=_Mc._mb=spine._7S1.Repeat;_Mc._Hb=_fM1(_fS1);_Mc._Hb._hb(_Mc._ib,_Mc._jb);_Mc._Hb._kb(_Mc._lb,_Mc._mb);_Mc.width=_Mc._Hb._gb().width;_Mc.height=_Mc._Hb._gb().height;this._aS1.push(_Mc)}else {var _lc=new _kS1();_lc.name=_fS1;_lc._Mc=_Mc;_lc.rotate=_cS1._jS1()=="true";_cS1._iS1(_eS1);var x=parseInt(_eS1[0]);var y=parseInt(_eS1[1]);_cS1._iS1(_eS1);var width=parseInt(_eS1[0]);var height=parseInt(_eS1[1]);_lc._sc=x/_Mc.width;_lc._uc=y/_Mc.height;if(_lc.rotate){_lc._g71=(x+height)/_Mc.width;
_lc._ud=(y+width)/_Mc.height}else {_lc._g71=(x+width)/_Mc.width;_lc._ud=(y+height)/_Mc.height}_lc.x=x;_lc.y=y;_lc.width=Math.abs(width);_lc.height=Math.abs(height);if(_cS1._iS1(_eS1)==4){if(_cS1._iS1(_eS1)==4){_cS1._iS1(_eS1)}}_lc._2N1=parseInt(_eS1[0]);_lc._4N1=parseInt(_eS1[1]);_cS1._iS1(_eS1);_lc._6N1=parseInt(_eS1[0]);_lc._8N1=parseInt(_eS1[1]);_lc.index=parseInt(_cS1._jS1());_lc._Hb=_Mc._Hb;this._bS1.push(_lc)}}};_Ub.prototype._lS1=function(name){for(var _Q3=0;_Q3<this._bS1.length;_Q3++){if(this._bS1[_Q3].name==name){
return this._bS1[_Q3]}}return null};_Ub.prototype._nb=function(){for(var _Q3=0;_Q3<this._aS1.length;_Q3++){this._aS1[_Q3]._Hb._nb()}};return _Ub;}());spine._Ub=_Ub;var _dS1=(function(){function _dS1(text){this.index=0;var _fv=text.replace("\r\n","\n");_fv=_fv.replace("\r","\n");this._mS1=text.split("\n")}_dS1.prototype._gS1=function(){if(this.index>=this._mS1.length)return null;return this._mS1[this.index++]};_dS1.prototype._jS1=function(){var _fS1=this._gS1();var _nS1=_fS1.indexOf(":");if(_nS1==-1)throw new Error("Invalid line: "+_fS1);
return _fS1.substring(_nS1+1).trim()};_dS1.prototype._iS1=function(_eS1){var _fS1=this._gS1();var _nS1=_fS1.indexOf(":");if(_nS1==-1)throw new Error("Invalid line: "+_fS1);var _Q3=0,_oS1=_nS1+1;for(;_Q3<3;_Q3++){var _pS1=_fS1.indexOf(",",_oS1);if(_pS1==-1)break;_eS1[_Q3]=_fS1.substr(_oS1,_pS1-_oS1).trim();_oS1=_pS1+1}_eS1[_Q3]=_fS1.substring(_oS1).trim();return _Q3+1};return _dS1}());var _hS1=(function(){function _hS1(){}return _hS1}());spine._hS1=_hS1;var _kS1=(function(_nK1){_MJ1(_kS1,_nK1);function _kS1(){
_nK1.apply(this,arguments)}return _kS1}(spine._8S1));spine._kS1=_kS1})(spine||(spine={}));(function(spine){var _Wb=(function(){function _Wb(_qS1){this._qS1=_qS1}_Wb.prototype._vR1=function(skin,name,path){var _lc=this._qS1._lS1(path);if(_lc==null)throw new Error("Region not found in atlas: "+path+" (region attachment: "+name+")");_lc._Kc=_lc;var attachment=new spine._hc(name);attachment.__M1(_lc);return attachment};_Wb.prototype._zR1=function(skin,name,path){var _lc=this._qS1._lS1(path);if(_lc==null)throw new Error("Region not found in atlas: "+path+" (mesh attachment: "+name+")");
_lc._Kc=_lc;var attachment=new spine._ic(name);attachment._lc=_lc;return attachment;};_Wb.prototype._xR1=function(skin,name){return new spine._KM1(name)};_Wb.prototype._BR1=function(skin,name){return new spine._YM1(name)};return _Wb}());spine._Wb=_Wb})(spine||(spine={}));(function(spine){var _YP1=(function(){function _YP1(data,skeleton){this.rotateMix=0;this._dL1=0;this.scaleMix=0;this._eL1=0;this._1B=new spine._rS1();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._dL1=data._dL1;this.scaleMix=data.scaleMix;this._eL1=data._eL1;this.bones=new Array();for(var _Q3=0;_Q3<data.bones.length;_Q3++)this.bones.push(skeleton._sO1(data.bones[_Q3].name));this.target=skeleton._sO1(data.target.name)}_YP1.prototype.apply=function(){this._3a()};_YP1.prototype._3a=function(){var rotateMix=this.rotateMix,_dL1=this._dL1,scaleMix=this.scaleMix,_eL1=this._eL1;var target=this.target;var _MO1=target._gc,_sS1=target._La,_tS1=target._R3,
_uS1=target._Al;var bones=this.bones;for(var _Q3=0,_ra=bones.length;_Q3<_ra;_Q3++){var bone=bones[_Q3];if(rotateMix>0){var _gc=bone._gc,_La=bone._La,_R3=bone._R3,_Al=bone._Al;var _Ia=Math.atan2(_tS1,_MO1)-Math.atan2(_R3,_gc)+this.data._9P1*spine._jK1._cP1;if(_Ia>spine._jK1.PI)_Ia-=spine._jK1._eP1;else if(_Ia<-spine._jK1.PI)_Ia+=spine._jK1._eP1;_Ia*=rotateMix;var cos=Math.cos(_Ia),sin=Math.sin(_Ia);bone._gc=cos*_gc-sin*_R3;bone._La=cos*_La-sin*_Al;bone._R3=sin*_gc+cos*_R3;bone._Al=sin*_La+cos*_Al}if(_dL1>0){
var _1B=this._1B;target._mO1(_1B.set(this.data._6N1,this.data._8N1));bone._BM1+=(_1B.x-bone._BM1)*_dL1;bone._CM1+=(_1B.y-bone._CM1)*_dL1}if(scaleMix>0){var _vS1=Math.sqrt(bone._gc*bone._gc+bone._R3*bone._R3);var _wS1=Math.sqrt(_MO1*_MO1+_tS1*_tS1);var _Rw=_vS1>0.00001?(_vS1+(_wS1-_vS1+this.data._eR1)*scaleMix)/_vS1:0;bone._gc*=_Rw;bone._R3*=_Rw;_vS1=Math.sqrt(bone._La*bone._La+bone._Al*bone._Al);_wS1=Math.sqrt(_sS1*_sS1+_uS1*_uS1);_Rw=_vS1>0.00001?(_vS1+(_wS1-_vS1+this.data._fR1)*scaleMix)/_vS1:0;bone._La*=_Rw;
bone._Al*=_Rw}if(_eL1>0){var _La=bone._La,_Al=bone._Al;var _Sh1=Math.atan2(_Al,_La);var _Ia=Math.atan2(_uS1,_sS1)-Math.atan2(_tS1,_MO1)-(_Sh1-Math.atan2(bone._R3,bone._gc));if(_Ia>spine._jK1.PI)_Ia-=spine._jK1._eP1;else if(_Ia<-spine._jK1.PI)_Ia+=spine._jK1._eP1;_Ia=_Sh1+(_Ia+this.data._gR1*spine._jK1._cP1)*_eL1;var _Rw=Math.sqrt(_La*_La+_Al*_Al);bone._La=Math.cos(_Ia)*_Rw;bone._Al=Math.sin(_Ia)*_Rw}}};return _YP1}());spine._YP1=_YP1})(spine||(spine={}));(function(spine){var _dR1=(function(){function _dR1(name){
this.bones=new Array();this.rotateMix=0;this._dL1=0;this.scaleMix=0;this._eL1=0;this._9P1=0;this._6N1=0;this._8N1=0;this._eR1=0;this._fR1=0;this._gR1=0;if(name==null)throw new Error("name cannot be null.");this.name=name}return _dR1}());spine._dR1=_dR1})(spine||(spine={}));(function(spine){var _AF1=(function(){function _AF1(_Ia,_fc,_La,_gc){if(_Ia===void 0){_Ia=0}if(_fc===void 0){_fc=0}if(_La===void 0){_La=0}if(_gc===void 0){_gc=0}this._Ia=_Ia;this._fc=_fc;this._La=_La;this._gc=_gc}_AF1.prototype.set=function(_Ia,
_fc,_La,_gc){this._Ia=_Ia;this._fc=_fc;this._La=_La;this._gc=_gc;this._JL();return this;};_AF1.prototype._3S1=function(_R3){this._Ia=_R3._Ia;this._fc=_R3._fc;this._La=_R3._La;this._gc=_R3._gc;return this};_AF1.prototype._8R1=function(_xS1){_xS1=_xS1.charAt(0)=='#'?_xS1.substr(1):_xS1;this._Ia=parseInt(_xS1.substr(0,2),16)/255.0;this._fc=parseInt(_xS1.substr(2,2),16)/255.0;this._La=parseInt(_xS1.substr(4,2),16)/255.0;this._gc=(_xS1.length!=8?255:parseInt(_xS1.substr(6,2),16))/255.0;return this};_AF1.prototype.add=function(_Ia,
_fc,_La,_gc){this._Ia+=_Ia;this._fc+=_fc;this._La+=_La;this._gc+=_gc;this._JL();return this};_AF1.prototype._JL=function(){if(this._Ia<0)this._Ia=0;else if(this._Ia>1)this._Ia=1;if(this._fc<0)this._fc=0;else if(this._fc>1)this._fc=1;if(this._La<0)this._La=0;else if(this._La>1)this._La=1;if(this._gc<0)this._gc=0;else if(this._gc>1)this._gc=1;return this};_AF1._yS1=new _AF1(1,1,1,1);_AF1._zS1=new _AF1(1,0,0,1);_AF1._AS1=new _AF1(0,1,0,1);_AF1._BS1=new _AF1(0,0,1,1);_AF1._CS1=new _AF1(1,0,1,1);return _AF1}());
spine._AF1=_AF1;var _jK1=(function(){function _jK1(){}_jK1._JL=function(value,min,max){if(value<min)return min;if(value>max)return max;return value};_jK1._SN1=function(_pK1){return Math.cos(_pK1*_jK1._cP1)};_jK1._VN1=function(_pK1){return Math.sin(_pK1*_jK1._cP1)};_jK1._XN1=function(value){return value>=0?1:-1};_jK1._PL1=function(x){return x>0?Math.floor(x):Math.ceil(x)};_jK1._DS1=function(x){var y=Math.pow(Math.abs(x),1/3);return x<0?-y:y};_jK1.PI=3.1415927;_jK1._eP1=_jK1.PI*2;_jK1._ES1=180/_jK1.PI;_jK1._4O1=_jK1._ES1;
_jK1._FS1=_jK1.PI/180;_jK1._cP1=_jK1._FS1;return _jK1}());spine._jK1=_jK1;var _VJ1=(function(){function _VJ1(){}_VJ1._SK1=function(source,_GS1,_Xn,_HS1,_IS1){for(var _Q3=_GS1,_Pa=_HS1;_Q3<_GS1+_IS1;_Q3++,_Pa++){_Xn[_Pa]=source[_Q3]}};_VJ1.__K1=function(_JS1,_I3,value){if(value===void 0){value=0}var _KS1=_JS1.length;if(_KS1==_I3)return _JS1;_JS1.length=_I3;if(_KS1<_I3){for(var _Q3=_KS1;_Q3<_I3;_Q3++)_JS1[_Q3]=value}return _JS1};_VJ1._CR1=function(_I3,_XR1){var _JS1=new Array(_I3);for(var _Q3=0;_Q3<_I3;_Q3++)_JS1[_Q3]=_XR1;
return _JS1};_VJ1._WJ1=function(_I3){if(_VJ1._LS1){return new Float32Array(_I3);}else {var _JS1=new Array(_I3);for(var _Q3=0;_Q3<_JS1.length;_Q3++)_JS1[_Q3]=0;return _JS1}};_VJ1._DR1=function(_JS1){return _VJ1._LS1?new Float32Array(_JS1):_JS1};_VJ1._LS1=typeof(Float32Array)!=="undefined";return _VJ1}());spine._VJ1=_VJ1;var _MS1=(function(){function _MS1(){}_MS1._NS1=function(skeleton){for(var _Q3=0;_Q3<skeleton.bones.length;_Q3++){var bone=skeleton.bones[_Q3];console.log(bone.data.name+", "+bone._gc+", "+bone._La+", "+bone._R3+", "+bone._Al+", "+bone._BM1+", "+bone._CM1)}
};return _MS1}());spine._MS1=_MS1;var _rQ1=(function(){function _rQ1(_OS1){this._PS1=new Array();this._OS1=_OS1}_rQ1.prototype._vQ1=function(){return this._PS1.length>0?this._PS1.pop():this._OS1()};_rQ1.prototype._QS1=function(_Aj){this._PS1.push(_Aj)};_rQ1.prototype._SL1=function(_PS1){for(var _Q3=0;_Q3<_PS1.length;_Q3++)this._PS1[_Q3]=_PS1[_Q3]};_rQ1.prototype.clear=function(){this._PS1.length=0};return _rQ1}());spine._rQ1=_rQ1;var _rS1=(function(){function _rS1(x,y){if(x===void 0){x=0}if(y===void 0){y=0}
this.x=x;this.y=y}_rS1.prototype.set=function(x,y){this.x=x;this.y=y;return this};_rS1.prototype.length=function(){var x=this.x;var y=this.y;return Math.sqrt(x*x+y*y)};_rS1.prototype._RS1=function(){var _av=this.length();if(_av!=0){this.x/=_av;this.y/=_av}return this};return _rS1}());spine._rS1=_rS1;var _SS1=(function(){function _SS1(){this._TS1=0.064;this._US1=0;this._zL1=0;this._UZ=0;this._PJ1=Date.now()/1000;this._Y9=0;this._wK1=0}_SS1.prototype._3a=function(){var now=Date.now()/1000;this._zL1=now-this._PJ1;
this._wK1+=this._zL1;this._UZ+=this._zL1;if(this._zL1>this._TS1)this._zL1=this._TS1;this._PJ1=now;this._Y9++;if(this._wK1>1){this._US1=this._Y9/this._wK1;this._wK1=0;this._Y9=0}};return _SS1}());spine._SS1=_SS1})(spine||(spine={}));var _VS1=0,_WS1=1,_XS1=2,_YS1=3,_ZS1=4,__S1=5,_0T1=6,_1T1=7,_2T1=8,_3T1=9;var _4T1=0,_5T1=1,_6T1=2,_7T1=3;/*@constructor */function _8T1(_qf,_Pi){this.type=_qf;this.id=_Pi;this._UC1=null;this._9T1=-1};_8T1.prototype._aT1=function(_BC1,_bT1,_cT1,_dT1,_eT1){var _fT1=_bT1.getInt32(_cT1,
_dT1);_cT1+=4;var width=_bT1.getInt32(_cT1,_dT1);_cT1+=4;var height=_bT1.getInt32(_cT1,_dT1);_cT1+=4;this._9T1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;return _cT1};_8T1.prototype._gT1=function(_aL,_kA){var _La=new ArrayBuffer(4);var _gc=new Uint32Array(_La);var _R3=new Uint8Array(_La);_gc[0]=0xdeadbeef;if(_R3[0]==0xef){return(((_aL&0xff)<<8)|(_kA&0xff))}if(_R3[0]==0xde){return(((_kA&0xff)<<8)|(_aL&0xff))}};_8T1.prototype._hT1=function(_iT1){try{do {if(_iT1[1]==0xd9){_iT1=_iT1.subarray(2)}else if(_iT1[1]==0xd8){if((_iT1[6]===0x4a)&&(_iT1[7]===0x46)&&(_iT1[8]===0x49)&&(_iT1[9]===0x46)){
var _S3=this._gT1(_iT1[14],_iT1[15]);var _T3=this._gT1(_iT1[16],_iT1[17]);var _jT1={width:_S3,height:_T3,body:_iT1};return _jT1}_iT1=_iT1.subarray(4+this._gT1(_iT1[4],_iT1[5]))}else {_iT1=_iT1.subarray(2+this._gT1(_iT1[2],_iT1[3]))}}while((_iT1.byteLength>=0)&&(_iT1[0]==0xff))}catch(e){debug(e.message)}var _jT1={width:_S3,height:_T3,body:_iT1};return _jT1};_8T1.prototype._kT1=function(_Bb,_Cb,_iT1,_lT1,_FE,_mT1){var _nT1=new Uint16Array(_iT1);var _oT1="";for(var _Q3=0,_Ga=_nT1.length;_Q3<_Ga;_Q3++){_oT1+=String.fromCharCode(_nT1[_Q3])}
var _pT1=window.btoa(_oT1);var _qT1="data:image/"+_lT1+";base64,"+_pT1;var img=new Image();img.onload=function(){var _Ok={_Hb:img};_cd(_Ok);if(_FE){_FE(_Ok)}};img.onerror=function(e){debug(e);if(_mT1){_mT1(e)}};img.src=_Ox(null,null,_qT1);return img};function _Xx1(_kU,_Re){var __e=_tb._Xx1(_kU._Hb._bd,_Re);_kU._Hb._bd=__e;_kU._Hb._1f=__e._ux1;_kU._Hb._2f=__e._vx1;return _kU._Hb}var _rT1=0,_sT1=1,_tT1=2;var _uT1=0,_vT1=1,_wT1=2,_xT1=3;var _yT1=0,_zT1=1;var _AT1={_H_:0,_I_:0,version:1};/*@constructor */function _BT1(_qf,
_Pi){this.type=_qf;this.id=_Pi};_BT1.prototype._CT1=function(_bT1,_cT1,_dT1,_DT1){this._fa=_bT1.getFloat32(_cT1,_dT1);_cT1+=4;this._ga=_bT1.getFloat32(_cT1,_dT1);_cT1+=4;this._ha=_bT1.getFloat32(_cT1,_dT1);_cT1+=4;this._ia=_bT1.getFloat32(_cT1,_dT1);_cT1+=4;var _ET1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;this._FT1=[];for(var _Q3=0;_Q3<_ET1;_Q3++){var _GT1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;var _HT1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;var _IT1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;var _JT1={_GT1:_GT1,_HT1:_HT1,_IT1:_IT1}
;_JT1._KT1=(_GT1>0)?[]:null;_JT1._LT1=(_HT1>0)?[]:null;_JT1._MT1=(_IT1>0)?[]:null;_cT1=this._NT1(_JT1,_bT1,_cT1,_dT1,_DT1);_cT1=this._OT1(_JT1,_bT1,_cT1,_dT1);_cT1=this._PT1(_JT1,_bT1,_cT1,_dT1);this._FT1.push(_JT1);}return _cT1};_BT1.prototype._NT1=function(_QT1,_bT1,_cT1,_dT1,_DT1){_QT1._KT1=[];for(var _Q3=0;_Q3<_QT1._GT1;_Q3++){var _RT1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;var _ST1=null;switch(_RT1){case _vT1:{_ST1={type:_vT1};var _Ll=_bT1.getUint8(_cT1,_dT1);_cT1++;var _Ml=_bT1.getUint8(_cT1,_dT1);_cT1++;
var _Nl=_bT1.getUint8(_cT1,_dT1);_cT1++;var alpha=_bT1.getUint8(_cT1,_dT1);_cT1++;_ST1._1c=(_Ll|(_Ml<<8)|(_Nl<<16)|(alpha<<24))}break;case _wT1:{_ST1={type:_wT1};_ST1._TT1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_ST1._9T1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;var _UT1=[];for(var _ua=0;_ua<9;_ua++){_UT1[_ua]=_bT1.getFloat32(_cT1,_dT1);_cT1+=4}_ST1._UT1=new _7r();_ST1._UT1._ua[_Es]=_UT1[0];_ST1._UT1._ua[_Fs]=_UT1[1];_ST1._UT1._ua[_Hs]=_UT1[2];_ST1._UT1._ua[_Is]=_UT1[3];_ST1._UT1._ua[_Ar]=_UT1[4];_ST1._UT1._ua[_Ks]=_UT1[5];
_ST1._VT1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_ST1._WT1=[];for(var _ua=0;_ua<_ST1._VT1;_ua++){var _eo1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;var _Ll=_bT1.getUint8(_cT1,_dT1);_cT1++;var _Ml=_bT1.getUint8(_cT1,_dT1);_cT1++;var _Nl=_bT1.getUint8(_cT1,_dT1);_cT1++;var alpha=_bT1.getUint8(_cT1,_dT1);_cT1++;_ST1._WT1.push({_eo1:_eo1,_1c:(_Ll|(_Ml<<8)|(_Nl<<16)|(alpha<<24))})}_ST1._Je=null}break;case _xT1:{_ST1={type:_xT1};_ST1._XT1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_ST1._YT1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_ST1._ZT1=-1;
for(var index=0;index<_DT1.length;index++){if(_DT1[index].id===_ST1._YT1){_ST1._ZT1=index;break }}var _UT1=[];for(var _ua=0;_ua<9;_ua++){_UT1[_ua]=_bT1.getFloat32(_cT1,_dT1);_cT1+=4}_ST1._UT1=new _7r();_ST1._UT1._ua[_Es]=_UT1[0];_ST1._UT1._ua[_Fs]=_UT1[1];_ST1._UT1._ua[_Hs]=_UT1[2];_ST1._UT1._ua[_Is]=_UT1[3];_ST1._UT1._ua[_Ar]=_UT1[4];_ST1._UT1._ua[_Ks]=_UT1[5]}break }_QT1._KT1.push(_ST1)}return _cT1};function __T1(_Ii,_Ji,_Ux1){var _QT=document.createElement(_nv);var _RT=_QT.getContext('2d');_ST(_RT);var __e=_tb._Vx1(_QT,
_Ux1,_Ii,_Ji);var _Ok=new _Pk();_Ok.x=0;_Ok.y=0;_Ok._S3=__e._ux1;_Ok._T3=__e._vx1;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ii;_Ok._l5=_Ji;_Ok._m5=_WT(_QT);_Ok._Hb=_Ib[_Ok._m5];_Ok._Hb._bd=__e;_Ok._Hb._1f=_QT.width;_Ok._Hb._2f=_QT.height;return _Ok}_BT1.prototype._0U1=function(_1U1,_2U1){if(_1U1._VT1<=0){return 0}_2U1=(_2U1<0)?0:(_2U1>255)?255:_2U1;if(_2U1<_1U1._WT1[0]._eo1){return _1U1._WT1[0]._1c}for(var _Q3=1;_Q3<_1U1._VT1;_Q3++){var _3U1=_1U1._WT1[_Q3];if(_3U1._eo1>=_2U1){var _4U1=_1U1._WT1[_Q3-1];
var _5U1=0;if(_3U1._eo1!=_4U1._eo1){_5U1=((_2U1-_4U1._eo1)<<8)/(_3U1._eo1-_4U1._eo1)}var _6U1=256-_5U1;var _1c=_3U1._1c;var _7U1=_4U1._1c;var _8U1=[];_8U1[0]=((_1c&0xff)*_5U1)>>8;_8U1[1]=(((_1c>>8)&0xff)*_5U1)>>8;_8U1[2]=(((_1c>>16)&0xff)*_5U1)>>8;_8U1[3]=(((_1c>>24)&0xff)*_5U1)>>8;_8U1[0]+=((_7U1&0xff)*_6U1)>>8;_8U1[1]+=(((_7U1>>8)&0xff)*_6U1)>>8;_8U1[2]+=(((_7U1>>16)&0xff)*_6U1)>>8;_8U1[3]+=(((_7U1>>24)&0xff)*_6U1)>>8;var _9U1=_8U1[0]|(_8U1[1]<<8)|(_8U1[2]<<16)|(_8U1[3]<<24);return _9U1}}return _1U1._WT1[_1U1._VT1-1]._1c}
;_BT1.prototype._OT1=function(_QT1,_bT1,_cT1,_dT1){_QT1._LT1=[];for(var _Q3=0;_Q3<_QT1._HT1;_Q3++){var _Ll=_bT1.getUint8(_cT1,_dT1);_cT1++;var _Ml=_bT1.getUint8(_cT1,_dT1);_cT1++;var _Nl=_bT1.getUint8(_cT1,_dT1);_cT1++;var alpha=_bT1.getUint8(_cT1,_dT1);_cT1++;_QT1._LT1.push({_1c:(_Ll|(_Ml<<8)|(_Nl<<16)|(alpha<<24))})}return _cT1};_BT1.prototype._PT1=function(_QT1,_bT1,_cT1,_dT1){var _Q3,_ua;_QT1._MT1=[];for(_Q3=0;_Q3<_QT1._IT1;_Q3++){var _aU1={};_QT1._MT1.push(_aU1);_aU1._bU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;
_aU1._cU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_aU1._dU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_aU1._eU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_aU1._fU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_aU1._gU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_aU1._hU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_aU1._iU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;if(_AT1.version>=2){_aU1._jU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_aU1._kU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4}if(_AT1.version>=3){_aU1._lU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_aU1._mU1=_bT1.getInt32(_cT1,_dT1);
_cT1+=4}_aU1._nU1=(_aU1._eU1>0)?[]:null;_aU1._oU1=(_aU1._fU1>0)?[]:null;_aU1._pU1=(_aU1._gU1>0)?[]:null;_aU1._qU1=(_aU1._hU1>0)?[]:null;_aU1._rU1=(_aU1._iU1>0)?[]:null;_aU1._sU1=(_aU1._jU1)?[]:null;_aU1._tU1=(_aU1._kU1)?[]:null;_aU1._uU1=(_aU1._lU1)?[]:null;_aU1._vU1=(_aU1._mU1)?[]:null;for(_ua=0;_ua<_aU1._eU1*2;_ua++){_aU1._nU1[_ua]=_bT1.getFloat32(_cT1,_dT1);_cT1+=4}for(_ua=0;_ua<_aU1._fU1*2;_ua++){_aU1._wU1[_ua]=_bT1.getInt32(_cT1,_dT1);_cT1+=4}for(_ua=0;_ua<_aU1._gU1*3;_ua++){_aU1._pU1[_ua]=_bT1.getUint32(_cT1,
_dT1);_cT1+=4}for(_ua=0;_ua<_aU1._hU1*2;_ua++){_aU1._qU1[_ua]=_bT1.getFloat32(_cT1,_dT1);_cT1+=4}for(_ua=0;_ua<_aU1._iU1*3;_ua++){_aU1._rU1[_ua]=_bT1.getUint32(_cT1,_dT1);_cT1+=4}if(_AT1.version>=2){for(_ua=0;_ua<_aU1._jU1*2;_ua++){_aU1._sU1[_ua]=_bT1.getInt32(_cT1,_dT1);_cT1+=4}for(_ua=0;_ua<_aU1._kU1*2;_ua++){_aU1._tU1[_ua]=_bT1.getFloat32(_cT1,_dT1);_cT1+=4}}if(_AT1.version>=3){for(_ua=0;_ua<_aU1._lU1*2;_ua++){_aU1._uU1[_ua]=_bT1.getInt32(_cT1,_dT1);_cT1+=4}for(_ua=0;_ua<_aU1._mU1*2;_ua++){_aU1._vU1[_ua]=_bT1.getFloat32(_cT1,
_dT1);_cT1+=4}}}return _cT1};var _xU1=1.0/20.0;/*@constructor */function _yU1(){this._zU1=0;this._AU1=0;this._fa=0;this._ga=0;this._ha=0;this._ia=0;this._BU1=null};_yU1.prototype._CU1=function(_bT1,_cT1,_dT1){this._zU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;this._AU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;this._fa=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;this._ga=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;this._ha=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;this._ia=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;var _DU1,_EU1,
_FU1;_DU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_EU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_FU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;this._BU1={_DU1:_DU1,_EU1:_EU1,_FU1:_FU1};this._GU1=[];for(var _Q3=0;_Q3<this._AU1;_Q3++){var _HU1={};this._GU1.push(_HU1);_HU1._IU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_HU1._fa=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;_HU1._ga=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;_HU1._ha=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;_HU1._ia=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;_HU1._JU1=[];for(var _Pa=0;
_Pa<_HU1._IU1;_Pa++){var _JG={};_HU1._JU1.push(_JG);_JG._TG=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_JG.index=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_JG._44=_bT1.getInt32(_cT1,_dT1);_cT1+=4;_JG._KU1=_bT1.getInt32(_cT1,_dT1);_cT1+=4;var _LU1=[];for(var _uj=0;_uj<4;_uj++){_LU1[_uj]=_bT1.getInt32(_cT1,_dT1);_cT1+=4}var _MU1=[];for(var _uj=0;_uj<4;_uj++){_MU1[_uj]=_bT1.getInt32(_cT1,_dT1);_cT1+=4}_JG._NU1=[];_JG._OU1=[];_JG._PU1=[];_JG._NU1[0]=_LU1[2];_JG._OU1[0]=_MU1[2];_JG._PU1[0]=0;_JG._NU1[1]=_LU1[1];_JG._OU1[1]=_MU1[1];
_JG._PU1[1]=_MU1[1];_JG._NU1[2]=_LU1[0];_JG._OU1[2]=_MU1[0];_JG._PU1[2]=_MU1[0];_JG._NU1[3]=_LU1[3];_JG._OU1[3]=_MU1[3];_JG._PU1[3]=_MU1[3];_JG._fa=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;_JG._ga=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;_JG._ha=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;_JG._ia=_bT1.getFloat32(_cT1,_dT1)*_xU1;_cT1+=4;var _UT1=[];for(var _uj=0;_uj<9;_uj++){_UT1[_uj]=_bT1.getFloat32(_cT1,_dT1);_cT1+=4}_JG._UT1=new _7r();_JG._UT1._ua[_Es]=_UT1[0];_JG._UT1._ua[_Fs]=_UT1[1];_JG._UT1._ua[_Hs]=_UT1[2];
_JG._UT1._ua[_Is]=_UT1[3];_JG._UT1._ua[_Ar]=_UT1[4];_JG._UT1._ua[_Ks]=_UT1[5]}}return _cT1};/*@license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */(function(){'use strict';var _ra=void 0,_S3=!0,_LO1=this;function _QU1(_3w,_Al){var _R3=_3w.split("."),e=_LO1;!(_R3[0] in e)&&e._RU1&&e._RU1("var "+_R3[0]);for(var _La;_R3.length&&(_La=_R3.shift());)!_R3.length&&_Al!==_ra?e[_La]=_Al:e=e[_La]?e[_La]:e[_La]={}};var _d11="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array&&"undefined"!==typeof DataView;
function _Lm1(_3w,_Al){this.index="number"===typeof _Al?_Al:0;this.e=0;this.buffer=_3w instanceof(_d11?Uint8Array:Array)?_3w:new(_d11?Uint8Array:Array)(32768);if(2*this.buffer.length<=this.index)throw Error("invalid index");this.buffer.length<=this.index&&_SU1(this)}function _SU1(_3w){var _Al=_3w.buffer,_R3,e=_Al.length,_La=new(_d11?Uint8Array:Array)(e<<1);if(_d11)_La.set(_Al);else for(_R3=0;_R3<e;++_R3)_La[_R3]=_Al[_R3];return _3w.buffer=_La}_Lm1.prototype._La=function(_3w,_Al,_R3){var e=this.buffer,_La=this.index,
_gc=this.e,_fc=e[_La],_ua;_R3&&1<_Al&&(_3w=8<_Al?(_cs1[_3w&255]<<24|_cs1[_3w>>>8&255]<<16|_cs1[_3w>>>16&255]<<8|_cs1[_3w>>>24&255])>>32-_Al:_cs1[_3w]>>8-_Al);if(8>_Al+_gc)_fc=_fc<<_Al|_3w,_gc+=_Al;else for(_ua=0;_ua<_Al;++_ua)_fc=_fc<<1|_3w>>_Al-_ua-1&1,8===++_gc&&(_gc=0,e[_La++]=_cs1[_fc],_fc=0,_La===e.length&&(e=_SU1(this)));e[_La]=_fc;this.buffer=e;this.e=_gc;this.index=_La};_Lm1.prototype._TU1=function(){var _3w=this.buffer,_Al=this.index,_R3;0<this.e&&(_3w[_Al]<<=8-this.e,_3w[_Al]=_cs1[_3w[_Al]],
_Al++);_d11?_R3=_3w.subarray(0,_Al):(_3w.length=_Al,_R3=_3w);return _R3};var _ll1=new(_d11?Uint8Array:Array)(256),_y01;for(_y01=0;256>_y01;++_y01){for(var _UU1=_y01,_VU1=_UU1,_WU1=7,_UU1=_UU1>>>1;_UU1;_UU1>>>=1)_VU1<<=1,_VU1|=_UU1&1,--_WU1;_ll1[_y01]=(_VU1<<_WU1&255)>>>0}var _cs1=_ll1;function _dO1(_3w){this.buffer=new(_d11?Uint16Array:Array)(2*_3w);this.length=0}_dO1.prototype._XU1=function(_3w){return 2*((_3w-2)/4|0)};_dO1.prototype.push=function(_3w,_Al){var _R3,e,_La=this.buffer,_gc;_R3=this.length;
_La[this.length++]=_Al;for(_La[this.length++]=_3w;0<_R3;)if(e=this._XU1(_R3),_La[_R3]>_La[e])_gc=_La[_R3],_La[_R3]=_La[e],_La[e]=_gc,_gc=_La[_R3+1],_La[_R3+1]=_La[e+1],_La[e+1]=_gc,_R3=e;else break;return this.length};_dO1.prototype.pop=function(){var _3w,_Al,_R3=this.buffer,e,_La,_gc;_Al=_R3[0];_3w=_R3[1];this.length-=2;_R3[0]=_R3[this.length];_R3[1]=_R3[this.length+1];for(_gc=0;;){_La=2*_gc+2;if(_La>=this.length)break;_La+2<this.length&&_R3[_La+2]>_R3[_La]&&(_La+=2);if(_R3[_La]>_R3[_gc])e=_R3[_gc],
_R3[_gc]=_R3[_La],_R3[_La]=e,e=_R3[_gc+1],_R3[_gc+1]=_R3[_La+1],_R3[_La+1]=e;else break;_gc=_La}return({index:_3w,value:_Al,length:this.length})};function _nj1(_3w,_Al){this._Al=_RN1;this._Q3=0;this._3z=_d11&&_3w instanceof Array?new Uint8Array(_3w):_3w;this._R3=0;_Al&&(_Al._YU1&&(this._Q3=_Al._YU1),"number"===typeof _Al._ZU1&&(this._Al=_Al._ZU1),_Al.__U1&&(this._gc=_d11&&_Al.__U1 instanceof Array?new Uint8Array(_Al.__U1):_Al.__U1),"number"===typeof _Al._0V1&&(this._R3=_Al._0V1));this._gc||(this._gc=new(_d11?Uint8Array:Array)(32768))}
var _RN1=2,_1V1={_jP1:0,_T3:1,_fc:_RN1,_ra:3},_a11=[],_2V1;for(_2V1=0;288>_2V1;_2V1++)switch(_S3){case 143>=_2V1:_a11.push([_2V1+48,8]);break;case 255>=_2V1:_a11.push([_2V1-144+400,9]);break;case 279>=_2V1:_a11.push([_2V1-256+0,7]);break;case 287>=_2V1:_a11.push([_2V1-280+192,8]);break;default :throw "invalid literal: "+_2V1}_nj1.prototype._3w=function(){var _3w,_Al,_R3,e,_La=this._3z;switch(this._Al){case 0:_R3=0;for(e=_La.length;_R3<e;){_Al=_d11?_La.subarray(_R3,_R3+65535):_La.slice(_R3,_R3+65535);_R3+=_Al.length;
var _gc=_Al,_fc=_R3===e,_ua=_ra,_uj=_ra,_KA=_ra,_Ka=_ra,_sc=_ra,_Ga=this._gc,_T3=this._R3;if(_d11){for(_Ga=new Uint8Array(this._gc.buffer);_Ga.length<=_T3+_gc.length+5;)_Ga=new Uint8Array(_Ga.length<<1);_Ga.set(this._gc)}_ua=_fc?1:0;_Ga[_T3++]=_ua|0;_uj=_gc.length;_KA=~_uj+65536&65535;_Ga[_T3++]=_uj&255;_Ga[_T3++]=_uj>>>8&255;_Ga[_T3++]=_KA&255;_Ga[_T3++]=_KA>>>8&255;if(_d11)_Ga.set(_gc,_T3),_T3+=_gc.length,_Ga=_Ga.subarray(0,_T3);else {_Ka=0;for(_sc=_gc.length;_Ka<_sc;++_Ka)_Ga[_T3++]=_gc[_Ka];_Ga.length=_T3}
this._R3=_T3;this._gc=_Ga}break;case 1:var _gz=new _Lm1(_d11?new Uint8Array(this._gc.buffer):this._gc,this._R3);_gz._La(1,1,_S3);_gz._La(1,2,_S3);var _Rw=__j1(this,_La),x,_3V1,_Pd;x=0;for(_3V1=_Rw.length;x<_3V1;x++)if(_Pd=_Rw[x],_Lm1.prototype._La.apply(_gz,_a11[_Pd]),256<_Pd)_gz._La(_Rw[++x],_Rw[++x],_S3),_gz._La(_Rw[++x],5),_gz._La(_Rw[++x],_Rw[++x],_S3);else if(256===_Pd)break;this._gc=_gz._TU1();this._R3=this._gc.length;break;case _RN1:var _j01=new _Lm1(_d11?new Uint8Array(this._gc.buffer):this._gc,this._R3),
_MO1,_4V1,_5V1,_f81,_e81,_6V1=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_Zr,_7V1,__r,_8V1,_9V1,_aV1=Array(19),_bV1,_FK1,_cV1,y,_1n;_MO1=_RN1;_j01._La(1,1,_S3);_j01._La(_MO1,2,_S3);_4V1=__j1(this,_La);_Zr=_lj1(this._ua,15);_7V1=_dV1(_Zr);__r=_lj1(this._Ga,7);_8V1=_dV1(__r);for(_5V1=286;257<_5V1&&0===_Zr[_5V1-1];_5V1--);for(_f81=30;1<_f81&&0===__r[_f81-1];_f81--);var _2n=_5V1,_3n=_f81,_qa1=new(_d11?Uint32Array:Array)(_2n+_3n),_Ia,_ra1,_uc,_0s,_ua1=new(_d11?Uint32Array:Array)(316),_v31,_7_,_eV1=new(_d11?Uint8Array:Array)(19);
for(_Ia=_ra1=0;_Ia<_2n;_Ia++)_qa1[_ra1++]=_Zr[_Ia];for(_Ia=0;_Ia<_3n;_Ia++)_qa1[_ra1++]=__r[_Ia];if(!_d11){_Ia=0;for(_0s=_eV1.length;_Ia<_0s;++_Ia)_eV1[_Ia]=0}_Ia=_v31=0;for(_0s=_qa1.length;_Ia<_0s;_Ia+=_ra1){for(_ra1=1;_Ia+_ra1<_0s&&_qa1[_Ia+_ra1]===_qa1[_Ia];++_ra1);_uc=_ra1;if(0===_qa1[_Ia])if(3>_uc)for(;0<_uc--;)_ua1[_v31++]=0,_eV1[0]++;else for(;0<_uc;)_7_=138>_uc?_uc:138,_7_>_uc-3&&_7_<_uc&&(_7_=_uc-3),10>=_7_?(_ua1[_v31++]=17,_ua1[_v31++]=_7_-3,_eV1[17]++):(_ua1[_v31++]=18,_ua1[_v31++]=_7_-11,
_eV1[18]++),_uc-=_7_;else if(_ua1[_v31++]=_qa1[_Ia],_eV1[_qa1[_Ia]]++,_uc--,3>_uc)for(;0<_uc--;)_ua1[_v31++]=_qa1[_Ia],_eV1[_qa1[_Ia]]++;else for(;0<_uc;)_7_=6>_uc?_uc:6,_7_>_uc-3&&_7_<_uc&&(_7_=_uc-3),_ua1[_v31++]=16,_ua1[_v31++]=_7_-3,_eV1[16]++,_uc-=_7_}_3w=_d11?_ua1.subarray(0,_v31):_ua1.slice(0,_v31);_9V1=_lj1(_eV1,7);for(y=0;19>y;y++)_aV1[y]=_9V1[_6V1[y]];for(_e81=19;4<_e81&&0===_aV1[_e81-1];_e81--);_bV1=_dV1(_9V1);_j01._La(_5V1-257,5,_S3);_j01._La(_f81-1,5,_S3);_j01._La(_e81-4,4,_S3);for(y=0;
y<_e81;y++)_j01._La(_aV1[y],3,_S3);y=0;for(_1n=_3w.length;y<_1n;y++)if(_FK1=_3w[y],_j01._La(_bV1[_FK1],_9V1[_FK1],_S3),16<=_FK1){y++;switch(_FK1){case 16:_cV1=2;break;case 17:_cV1=3;break;case 18:_cV1=7;break;default :throw "invalid code: "+_FK1}_j01._La(_3w[y],_cV1,_S3)}var _fV1=[_7V1,_Zr],_gV1=[_8V1,__r],_721,_hV1,$,_E_,_iV1,_jV1,_kV1,_lV1;_iV1=_fV1[0];_jV1=_fV1[1];_kV1=_gV1[0];_lV1=_gV1[1];_721=0;for(_hV1=_4V1.length;_721<_hV1;++_721)if($=_4V1[_721],_j01._La(_iV1[$],_jV1[$],_S3),256<$)_j01._La(_4V1[++_721],
_4V1[++_721],_S3),_E_=_4V1[++_721],_j01._La(_kV1[_E_],_lV1[_E_],_S3),_j01._La(_4V1[++_721],_4V1[++_721],_S3);else if(256===$)break;this._gc=_j01._TU1();this._R3=this._gc.length;break;default :throw "invalid compression type"}return this._gc};function _gO1(_3w,_Al){this.length=_3w;this._uj=_Al}var _mV1=function(){function _3w(_La){switch(_S3){case 3===_La:return [257,_La-3,0];case 4===_La:return [258,_La-4,0];case 5===_La:return [259,_La-5,0];case 6===_La:return [260,_La-6,0];case 7===_La:return [261,_La-7,0];case 8===_La:return [262,
_La-8,0];case 9===_La:return [263,_La-9,0];case 10===_La:return [264,_La-10,0];case 12>=_La:return [265,_La-11,1];case 14>=_La:return [266,_La-13,1];case 16>=_La:return [267,_La-15,1];case 18>=_La:return [268,_La-17,1];case 22>=_La:return [269,_La-19,2];case 26>=_La:return [270,_La-23,2];case 30>=_La:return [271,_La-27,2];case 34>=_La:return [272,_La-31,2];case 42>=_La:return [273,_La-35,3];case 50>=_La:return [274,_La-43,3];case 58>=_La:return [275,_La-51,3];case 66>=_La:return [276,_La-59,3];case 82>=_La:return [277,_La-67,
4];case 98>=_La:return [278,_La-83,4];case 114>=_La:return [279,_La-99,4];case 130>=_La:return [280,_La-115,4];case 162>=_La:return [281,_La-131,5];case 194>=_La:return [282,_La-163,5];case 226>=_La:return [283,_La-195,5];case 257>=_La:return [284,_La-227,5];case 258===_La:return [285,_La-258,0];default :throw "invalid length: "+_La;}}var _Al=[],_R3,e;for(_R3=3;258>=_R3;_R3++)e=_3w(_R3),_Al[_R3]=e[2]<<24|e[1]<<16|e[0];return _Al}(),_nV1=_d11?new Uint32Array(_mV1):_mV1;function __j1(_3w,_Al){function _R3(_La,_R3){var _gc=_La._uj,
_Al=[],e=0,_3w;_3w=_nV1[_La.length];_Al[e++]=_3w&65535;_Al[e++]=_3w>>16&255;_Al[e++]=_3w>>24;var _fc;switch(_S3){case 1===_gc:_fc=[0,_gc-1,0];break;case 2===_gc:_fc=[1,_gc-2,0];break;case 3===_gc:_fc=[2,_gc-3,0];break;case 4===_gc:_fc=[3,_gc-4,0];break;case 6>=_gc:_fc=[4,_gc-5,1];break;case 8>=_gc:_fc=[5,_gc-7,1];break;case 12>=_gc:_fc=[6,_gc-9,2];break;case 16>=_gc:_fc=[7,_gc-13,2];break;case 24>=_gc:_fc=[8,_gc-17,3];break;case 32>=_gc:_fc=[9,_gc-25,3];break;case 48>=_gc:_fc=[10,_gc-33,4];break;case 64>=_gc:_fc=[11,
_gc-49,4];break;case 96>=_gc:_fc=[12,_gc-65,5];break;case 128>=_gc:_fc=[13,_gc-97,5];break;case 192>=_gc:_fc=[14,_gc-129,6];break;case 256>=_gc:_fc=[15,_gc-193,6];break;case 384>=_gc:_fc=[16,_gc-257,7];break;case 512>=_gc:_fc=[17,_gc-385,7];break;case 768>=_gc:_fc=[18,_gc-513,8];break;case 1024>=_gc:_fc=[19,_gc-769,8];break;case 1536>=_gc:_fc=[20,_gc-1025,9];break;case 2048>=_gc:_fc=[21,_gc-1537,9];break;case 3072>=_gc:_fc=[22,_gc-2049,10];break;case 4096>=_gc:_fc=[23,_gc-3073,10];break;case 6144>=_gc:_fc=[24,
_gc-4097,11];break;case 8192>=_gc:_fc=[25,_gc-6145,11];break;case 12288>=_gc:_fc=[26,_gc-8193,12];break;case 16384>=_gc:_fc=[27,_gc-12289,12];break;case 24576>=_gc:_fc=[28,_gc-16385,13];break;case 32768>=_gc:_fc=[29,_gc-24577,13];break;default :throw "invalid distance"}_3w=_fc;_Al[e++]=_3w[0];_Al[e++]=_3w[1];_Al[e++]=_3w[2];var _uj,_ua;_uj=0;for(_ua=_Al.length;_uj<_ua;++_uj)_Ga[_T3++]=_Al[_uj];_Rw[_Al[0]]++;x[_Al[3]]++;_gz=_La.length+_R3-1;_sc=null}var e,_La,_gc,_fc,_ua,_uj={},_KA,_Ka,_sc,_Ga=_d11?new Uint16Array(2*_Al.length):[],
_T3=0,_gz=0,_Rw=new(_d11?Uint32Array:Array)(286),x=new(_d11?Uint32Array:Array)(30),_3V1=_3w._Q3,_Pd;if(!_d11){for(_gc=0;285>=_gc;)_Rw[_gc++]=0;for(_gc=0;29>=_gc;)x[_gc++]=0}_Rw[256]=1;e=0;for(_La=_Al.length;e<_La;++e){_gc=_ua=0;for(_fc=3;_gc<_fc&&e+_gc!==_La;++_gc)_ua=_ua<<8|_Al[e+_gc];_uj[_ua]===_ra&&(_uj[_ua]=[]);_KA=_uj[_ua];if(!(0<_gz--)){for(;0<_KA.length&&32768<e-_KA[0];)_KA.shift();if(e+3>=_La){_sc&&_R3(_sc,-1);_gc=0;for(_fc=_La-e;_gc<_fc;++_gc)_Pd=_Al[e+_gc],_Ga[_T3++]=_Pd,++_Rw[_Pd];break }
0<_KA.length?(_Ka=_oV1(_Al,e,_KA),_sc?_sc.length<_Ka.length?(_Pd=_Al[e-1],_Ga[_T3++]=_Pd,++_Rw[_Pd],_R3(_Ka,0)):_R3(_sc,-1):_Ka.length<_3V1?_sc=_Ka:_R3(_Ka,0)):_sc?_R3(_sc,-1):(_Pd=_Al[e],_Ga[_T3++]=_Pd,++_Rw[_Pd])}_KA.push(e)}_Ga[_T3++]=256;_Rw[256]++;_3w._ua=_Rw;_3w._Ga=x;return _d11?_Ga.subarray(0,_T3):_Ga}function _oV1(_3w,_Al,_R3){var e,_La,_gc=0,_fc,_ua,_uj,_KA,_Ka=_3w.length;_ua=0;_KA=_R3.length;_gc:for(;_ua<_KA;_ua++){e=_R3[_KA-_ua-1];_fc=3;if(3<_gc){for(_uj=_gc;3<_uj;_uj--)if(_3w[e+_uj-1]!==_3w[_Al+_uj-1])continue _gc;
_fc=_gc}for(;258>_fc&&_Al+_fc<_Ka&&_3w[e+_fc]===_3w[_Al+_fc];)++_fc;_fc>_gc&&(_La=e,_gc=_fc);if(258===_fc)break }return new _gO1(_gc,_Al-_La)}function _lj1(_3w,_Al){var _R3=_3w.length,e=new _dO1(572),_La=new(_d11?Uint8Array:Array)(_R3),_gc,_fc,_ua,_uj,_KA;if(!_d11)for(_uj=0;_uj<_R3;_uj++)_La[_uj]=0;for(_uj=0;_uj<_R3;++_uj)0<_3w[_uj]&&e.push(_uj,_3w[_uj]);_gc=Array(e.length/2);_fc=new(_d11?Uint32Array:Array)(e.length/2);if(1===_gc.length)return _La[e.pop().index]=1,_La;_uj=0;for(_KA=e.length/2;_uj<_KA;++_uj)_gc[_uj]=e.pop(),
_fc[_uj]=_gc[_uj].value;_ua=_pV1(_fc,_fc.length,_Al);_uj=0;for(_KA=_gc.length;_uj<_KA;++_uj)_La[_gc[_uj].index]=_ua[_uj];return _La}function _pV1(_3w,_Al,_R3){function e(_gc){var _La=_uj[_gc][_KA[_gc]];_La===_Al?(e(_gc+1),e(_gc+1)):--_fc[_La];++_KA[_gc]}var _La=new(_d11?Uint16Array:Array)(_R3),_gc=new(_d11?Uint8Array:Array)(_R3),_fc=new(_d11?Uint8Array:Array)(_Al),_ua=Array(_R3),_uj=Array(_R3),_KA=Array(_R3),_Ka=(1<<_R3)-_Al,_sc=1<<_R3-1,_Ga,_T3,_gz,_Rw,x;_La[_R3-1]=_Al;for(_T3=0;_T3<_R3;++_T3)_Ka<_sc?_gc[_T3]=0:(_gc[_T3]=1,
_Ka-=_sc),_Ka<<=1,_La[_R3-2-_T3]=(_La[_R3-1-_T3]/2|0)+_Al;_La[0]=_gc[0];_ua[0]=Array(_La[0]);_uj[0]=Array(_La[0]);for(_T3=1;_T3<_R3;++_T3)_La[_T3]>2*_La[_T3-1]+_gc[_T3]&&(_La[_T3]=2*_La[_T3-1]+_gc[_T3]),_ua[_T3]=Array(_La[_T3]),_uj[_T3]=Array(_La[_T3]);for(_Ga=0;_Ga<_Al;++_Ga)_fc[_Ga]=_R3;for(_gz=0;_gz<_La[_R3-1];++_gz)_ua[_R3-1][_gz]=_3w[_gz],_uj[_R3-1][_gz]=_gz;for(_Ga=0;_Ga<_R3;++_Ga)_KA[_Ga]=0;1===_gc[_R3-1]&&(--_fc[0],++_KA[_R3-1]);for(_T3=_R3-2;0<=_T3;--_T3){_Rw=_Ga=0;x=_KA[_T3+1];for(_gz=0;
_gz<_La[_T3];_gz++)_Rw=_ua[_T3+1][x]+_ua[_T3+1][x+1],_Rw>_3w[_Ga]?(_ua[_T3][_gz]=_Rw,_uj[_T3][_gz]=_Al,x+=2):(_ua[_T3][_gz]=_3w[_Ga],_uj[_T3][_gz]=_Ga,++_Ga);_KA[_T3]=0;1===_gc[_T3]&&e(_T3)}return _fc}function _dV1(_3w){var _Al=new(_d11?Uint16Array:Array)(_3w.length),_R3=[],e=[],_La=0,_gc,_fc,_ua,_uj;_gc=0;for(_fc=_3w.length;_gc<_fc;_gc++)_R3[_3w[_gc]]=(_R3[_3w[_gc]]|0)+1;_gc=1;for(_fc=16;_gc<=_fc;_gc++)e[_gc]=_La,_La+=_R3[_gc]|0,_La<<=1;_gc=0;for(_fc=_3w.length;_gc<_fc;_gc++){_La=e[_3w[_gc]];e[_3w[_gc]]+=1;
_ua=_Al[_gc]=0;for(_uj=_3w[_gc];_ua<_uj;_ua++)_Al[_gc]=_Al[_gc]<<1|_La&1,_La>>>=1}return _Al};function _qV1(_3w,_Al){this._3z=_3w;this._gc=new(_d11?Uint8Array:Array)(32768);this._Al=_rV1._fc;var _R3={},e;if((_Al||!(_Al={}))&&"number"===typeof _Al._ZU1)this._Al=_Al._ZU1;for(e in _Al)_R3[e]=_Al[e];_R3.__U1=this._gc;this._Pa=new _nj1(this._3z,_R3)}var _rV1=_1V1;_qV1.prototype._3w=function(){var _3w,_Al,_R3,e,_La,_gc,_fc=0;_gc=this._gc;switch(8){case 8:_3w=Math.LOG2E*Math.log(32768)-8;break;default :throw Error("invalid compression method")}
_Al=_3w<<4|8;_gc[_fc++]=_Al;switch(8){case 8:switch(this._Al){case _rV1._jP1:e=0;break;case _rV1._T3:e=1;break;case _rV1._fc:e=2;break;default :throw Error("unsupported compression type")}break;default :throw Error("invalid compression method")}_R3=e<<6|0;_gc[_fc++]=_R3|31-(256*_Al+_R3)%31;var _ua=this._3z;if("string"===typeof _ua){var _uj=_ua.split(""),_KA,_Ka;_KA=0;for(_Ka=_uj.length;_KA<_Ka;_KA++)_uj[_KA]=(_uj[_KA].charCodeAt(0)&255)>>>0;_ua=_uj}for(var _sc=1,_Ga=0,_T3=_ua.length,_gz,_Rw=0;0<_T3;){_gz=1024<_T3?1024:_T3;
_T3-=_gz;do _sc+=_ua[_Rw++],_Ga+=_sc;while(--_gz);_sc%=65521;_Ga%=65521}_La=(_Ga<<16|_sc)>>>0;this._Pa._R3=_fc;_gc=this._Pa._3w();_fc=_gc.length;_d11&&(_gc=new Uint8Array(_gc.buffer),_gc.length<=_fc+4&&(this._gc=new Uint8Array(_gc.length+4),this._gc.set(_gc),_gc=this._gc),_gc=_gc.subarray(0,_fc+4));_gc[_fc++]=_La>>24&255;_gc[_fc++]=_La>>16&255;_gc[_fc++]=_La>>8&255;_gc[_fc++]=_La&255;return _gc};_QU1("Zlib.Deflate",_qV1);_QU1("Zlib.Deflate.compress",function(_3w,_Al){return(new _qV1(_3w,_Al))._3w()});
_QU1("Zlib.Deflate.prototype.compress",_qV1.prototype._3w);var _sV1={_jP1:_rV1._jP1,FIXED:_rV1._T3,_tV1:_rV1._fc},_uV1,_vV1,_wV1,_xV1;if(Object._tM1)_uV1=Object._tM1(_sV1);else for(_vV1 in _uV1=[],_wV1=0,_sV1)_uV1[_wV1++]=_vV1;_wV1=0;for(_xV1=_uV1.length;_wV1<_xV1;++_wV1)_vV1=_uV1[_wV1],_QU1("Zlib.Deflate.CompressionType."+_vV1,_sV1[_vV1])}).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,_yV1){if(typeof module!=='undefined'&&module._Iu1){module._Iu1=_yV1()}else if(typeof define==='function'&&define._zV1){define(_yV1)}else {context[name]=_yV1()}})('Fingerprint',this,function(){'use strict';var Fingerprint=function(options){var _AV1,_BV1;_AV1=Array.prototype._CV1;_BV1=Array.prototype.map;this._DV1=function(_Dw,_EV1,context){if(_Dw===null){return }if(_AV1&&_Dw._CV1===_AV1){_Dw._CV1(_EV1,context)}else if(_Dw.length===+_Dw.length){for(var _Q3=0,_Ga=_Dw.length;_Q3<_Ga;_Q3++){
if(_EV1.call(context,_Dw[_Q3],_Q3,_Dw)==={})return }}else {for(var _wu in _Dw){if(_Dw.hasOwnProperty(_wu)){if(_EV1.call(context,_Dw[_wu],_wu,_Dw)==={})return }}}};this.map=function(_Dw,_EV1,context){var _FV1=[];if(_Dw==null)return _FV1;if(_BV1&&_Dw.map===_BV1)return _Dw.map(_EV1,context);this._DV1(_Dw,function(value,index,_9j){_FV1[_FV1.length]=_EV1.call(context,value,index,_9j)});return _FV1};if(typeof options=='object'){this._GV1=options._GV1;this._HV1=options._HV1;this._IV1=options._IV1;this.canvas=options.canvas;
this._JV1=options._JV1}else if(typeof options=='function'){this._GV1=options}};Fingerprint.prototype={get:function(){var _tM1=[];_tM1.push(navigator.userAgent);_tM1.push(navigator.language);_tM1.push(screen.colorDepth);if(this._HV1){var _KV1=this._LV1();if(typeof _KV1!=='undefined'){_tM1.push(_KV1.join('x'))}}_tM1.push(new Date().getTimezoneOffset());_tM1.push(this.hasSessionStorage());_tM1.push(this.hasLocalStorage());_tM1.push(!!window.indexedDB);if(document.body){_tM1.push(typeof(document.body.addBehavior));
}else {_tM1.push(typeof undefined)}_tM1.push(typeof(window.openDatabase));_tM1.push(navigator.cpuClass);_tM1.push(navigator.platform);_tM1.push(navigator.doNotTrack);_tM1.push(this._MV1());if(this.canvas&&this._NV1()){_tM1.push(this._OV1())}if(this._GV1){return this._GV1(_tM1.join('###'),31)}else {return this._PV1(_tM1.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
     */_PV1:function(_wu,
_Zf1){var _QV1,_RV1,_Gy,_SV1,_f01,_g01,_TV1,_Q3;_QV1=_wu.length&3;_RV1=_wu.length-_QV1;_Gy=_Zf1;_f01=0xcc9e2d51;_g01=0x1b873593;_Q3=0;while(_Q3<_RV1){_TV1=((_wu.charCodeAt(_Q3)&0xff))|((_wu.charCodeAt(++_Q3)&0xff)<<8)|((_wu.charCodeAt(++_Q3)&0xff)<<16)|((_wu.charCodeAt(++_Q3)&0xff)<<24);++_Q3;_TV1=((((_TV1&0xffff)*_f01)+((((_TV1>>>16)*_f01)&0xffff)<<16)))&0xffffffff;_TV1=(_TV1<<15)|(_TV1>>>17);_TV1=((((_TV1&0xffff)*_g01)+((((_TV1>>>16)*_g01)&0xffff)<<16)))&0xffffffff;_Gy^=_TV1;_Gy=(_Gy<<13)|(_Gy>>>19);
_SV1=((((_Gy&0xffff)*5)+((((_Gy>>>16)*5)&0xffff)<<16)))&0xffffffff;_Gy=(((_SV1&0xffff)+0x6b64)+((((_SV1>>>16)+0xe654)&0xffff)<<16))}_TV1=0;switch(_QV1){case 3:_TV1^=(_wu.charCodeAt(_Q3+2)&0xff)<<16;case 2:_TV1^=(_wu.charCodeAt(_Q3+1)&0xff)<<8;case 1:_TV1^=(_wu.charCodeAt(_Q3)&0xff);_TV1=(((_TV1&0xffff)*_f01)+((((_TV1>>>16)*_f01)&0xffff)<<16))&0xffffffff;_TV1=(_TV1<<15)|(_TV1>>>17);_TV1=(((_TV1&0xffff)*_g01)+((((_TV1>>>16)*_g01)&0xffff)<<16))&0xffffffff;_Gy^=_TV1}_Gy^=_wu.length;_Gy^=_Gy>>>16;_Gy=(((_Gy&0xffff)*0x85ebca6b)+((((_Gy>>>16)*0x85ebca6b)&0xffff)<<16))&0xffffffff;
_Gy^=_Gy>>>13;_Gy=((((_Gy&0xffff)*0xc2b2ae35)+((((_Gy>>>16)*0xc2b2ae35)&0xffff)<<16)))&0xffffffff;_Gy^=_Gy>>>16;return _Gy>>>0},hasLocalStorage:function(){try{return !!window.localStorage}catch(e){return !0}},hasSessionStorage:function(){try{return !!window._UV1}catch(e){return !0}},_NV1:function(){var _GU=document.createElement('canvas');return !!(_GU.getContext&&_GU.getContext('2d'))},_VV1:function(){if(navigator._WV1==='Microsoft Internet Explorer'){return !0}else if(navigator._WV1==='Netscape'&&/_XV1/.test(navigator.userAgent)){
return !0}return !1},_MV1:function(){if(this._VV1()&&this._JV1){return this._YV1()}else {return this._ZV1()}},_ZV1:function(){return this.map(navigator.__V1,function(_KA){var _0W1=this.map(_KA,function(_zs){return [_zs.type,_zs._1W1].join('~')}).join(',');return [_KA.name,_KA.description,_0W1].join('::')},this).join(';')},_YV1:function(){if(window.ActiveXObject){var _ow1=['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(_ow1,function(name){try{new ActiveXObject(name);return name}catch(e){return null}}).join(';')}else {return ""}},_LV1:function(){var _KV1;if(this._IV1){_KV1=(screen.height>screen.width)?[screen.height,screen.width]:[screen.width,screen.height]}else {_KV1=[screen.height,screen.width]}return _KV1},_OV1:function(){
var canvas=document.createElement('canvas');var _Vc=canvas.getContext('2d');var _fv='http://valve.github.io';_Vc.textBaseline="top";_Vc.font="14px 'Arial'";_Vc.textBaseline="alphabetic";_Vc.fillStyle="#f60";_Vc.fillRect(125,1,62,20);_Vc.fillStyle="#069";_Vc.fillText(_fv,2,15);_Vc.fillStyle="rgba(102, 204, 0, 0.7)";_Vc.fillText(_fv,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 _ua(_La){
throw _La}var _ra=void 0,_Ia=this;function _Rw(_La,_Al){var _gc=_La.split("."),_R3=_Ia;!(_gc[0] in _R3)&&_R3._RU1&&_R3._RU1("var "+_gc[0]);for(var _3w;_gc.length&&(_3w=_gc.shift());)!_gc.length&&_Al!==_ra?_R3[_3w]=_Al:_R3=_R3[_3w]?_R3[_3w]:_R3[_3w]={}};var _sc="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array;function _uc(_La){var _Al=_La.length,_gc=0,_R3=Number.POSITIVE_INFINITY,_3w,e,_fc,_T3,_uj,_Ga,_gz,_KA,_Ka;for(_KA=0;_KA<_Al;++_KA)_La[_KA]>_gc&&(_gc=_La[_KA]),
_La[_KA]<_R3&&(_R3=_La[_KA]);_3w=1<<_gc;e=new(_sc?Uint32Array:Array)(_3w);_fc=1;_T3=0;for(_uj=2;_fc<=_gc;){for(_KA=0;_KA<_Al;++_KA)if(_La[_KA]===_fc){_Ga=0;_gz=_T3;for(_Ka=0;_Ka<_fc;++_Ka)_Ga=_Ga<<1|_gz&1,_gz>>=1;for(_Ka=_Ga;_Ka<_3w;_Ka+=_uj)e[_Ka]=_fc<<16|_KA;++_T3}++_fc;_T3<<=1;_uj<<=1}return [e,_gc,_R3]};function _S3(_La,_Al){this._fc=[];this._T3=32768;this._Al=this._3w=this._gc=this._Ga=0;this._3z=_sc?new Uint8Array(_La):_La;this._ua=!1;this._Q3=x;this._Ia=!1;if(_Al||!(_Al={}))_Al.index&&(this._gc=_Al.index),
_Al._2W1&&(this._T3=_Al._2W1),_Al._3W1&&(this._Q3=_Al._3W1),_Al._4W1&&(this._Ia=_Al._4W1);switch(this._Q3){case y:this._La=32768;this._R3=new(_sc?Uint8Array:Array)(32768+this._T3+258);break;case x:this._La=0;this._R3=new(_sc?Uint8Array:Array)(this._T3);this.e=this._Pd;this._ra=this._uc;this._Pa=this._S3;break;default :_ua(Error("invalid inflate mode"))}}var y=0,x=1,_Pd={_Ka:y,_Rw:x};_S3.prototype._uj=function(){for(;!this._ua;){var _La=_7_(this,3);_La&1&&(this._ua=!0);_La>>>=1;switch(_La){case 0:var _Al=this._3z,
_gc=this._gc,_R3=this._R3,_3w=this._La,e=_ra,_fc=_ra,_T3=_ra,_uj=_R3.length,_Ga=_ra;this._Al=this._3w=0;e=_Al[_gc++];e===_ra&&_ua(Error("invalid uncompressed block header: LEN (first byte)"));_fc=e;e=_Al[_gc++];e===_ra&&_ua(Error("invalid uncompressed block header: LEN (second byte)"));_fc|=e<<8;e=_Al[_gc++];e===_ra&&_ua(Error("invalid uncompressed block header: NLEN (first byte)"));_T3=e;e=_Al[_gc++];e===_ra&&_ua(Error("invalid uncompressed block header: NLEN (second byte)"));_T3|=e<<8;_fc===~_T3&&_ua(Error("invalid uncompressed block header: length verify"));
_gc+_fc>_Al.length&&_ua(Error("input buffer is broken"));switch(this._Q3){case y:for(;_3w+_fc>_R3.length;){_Ga=_uj-_3w;_fc-=_Ga;if(_sc)_R3.set(_Al.subarray(_gc,_gc+_Ga),_3w),_3w+=_Ga,_gc+=_Ga;else for(;_Ga--;)_R3[_3w++]=_Al[_gc++];this._La=_3w;_R3=this.e();_3w=this._La}break;case x:for(;_3w+_fc>_R3.length;)_R3=this.e({_KA:2});break;default :_ua(Error("invalid inflate mode"))}if(_sc)_R3.set(_Al.subarray(_gc,_gc+_fc),_3w),_3w+=_fc,_gc+=_fc;else for(;_fc--;)_R3[_3w++]=_Al[_gc++];this._gc=_gc;this._La=_3w;
this._R3=_R3;break;case 1:this._Pa(_j01,_d11);break;case 2:_LO1(this);break;default :_ua(Error("unknown BTYPE: "+_La))}}return this._ra()};var _v31=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_ua1=_sc?new Uint16Array(_v31):_v31,_qa1=[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],_ra1=_sc?new Uint16Array(_qa1):_qa1,_eV1=[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],_721=_sc?new Uint8Array(_eV1):_eV1,_4V1=[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],_Lm1=_sc?new Uint16Array(_4V1):_4V1,_cs1=[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],_y01=_sc?new Uint8Array(_cs1):_cs1,_UU1=new(_sc?Uint8Array:Array)(288),_5V1,_f81;_5V1=0;for(_f81=_UU1.length;_5V1<_f81;++_5V1)_UU1[_5V1]=143>=_5V1?8:255>=_5V1?9:279>=_5V1?7:8;var _j01=_uc(_UU1),_e81=new(_sc?Uint8Array:Array)(30),_FK1,_VU1;_FK1=0;for(_VU1=_e81.length;_FK1<_VU1;++_FK1)_e81[_FK1]=5;var _d11=_uc(_e81);
function _7_(_La,_Al){for(var _gc=_La._3w,_R3=_La._Al,_3w=_La._3z,e=_La._gc,_fc;_R3<_Al;)_fc=_3w[e++],_fc===_ra&&_ua(Error("input buffer is broken")),_gc|=_fc<<_R3,_R3+=8;_fc=_gc&(1<<_Al)-1;_La._3w=_gc>>>_Al;_La._Al=_R3-_Al;_La._gc=e;return _fc}function _a11(_La,_Al){for(var _gc=_La._3w,_R3=_La._Al,_3w=_La._3z,e=_La._gc,_fc=_Al[0],_T3=_Al[1],_uj,_Ga,_gz;_R3<_T3;){_uj=_3w[e++];if(_uj===_ra)break;_gc|=_uj<<_R3;_R3+=8}_Ga=_fc[_gc&(1<<_T3)-1];_gz=_Ga>>>16;_La._3w=_gc>>_gz;_La._Al=_R3-_gz;_La._gc=e;return _Ga&65535}
function _LO1(_La){function _Al(_gc,_La,_R3){var _Al,e,_3w,_fc;for(_fc=0;_fc<_gc;)switch(_Al=_a11(this,_La),_Al){case 16:for(_3w=3+_7_(this,2);_3w--;)_R3[_fc++]=e;break;case 17:for(_3w=3+_7_(this,3);_3w--;)_R3[_fc++]=0;e=0;break;case 18:for(_3w=11+_7_(this,7);_3w--;)_R3[_fc++]=0;e=0;break;default :e=_R3[_fc++]=_Al}return _R3}var _gc=_7_(_La,5)+257,_R3=_7_(_La,5)+1,_3w=_7_(_La,4)+4,e=new(_sc?Uint8Array:Array)(_ua1.length),_fc,_T3,_uj,_Ga;for(_Ga=0;_Ga<_3w;++_Ga)e[_ua1[_Ga]]=_7_(_La,3);_fc=_uc(e);_T3=new(_sc?Uint8Array:Array)(_gc);
_uj=new(_sc?Uint8Array:Array)(_R3);_La._Pa(_uc(_Al.call(_La,_gc,_fc,_T3)),_uc(_Al.call(_La,_R3,_fc,_uj)))}_S3.prototype._Pa=function(_La,_Al){var _gc=this._R3,_R3=this._La;this._9x=_La;for(var _3w=_gc.length-258,e,_fc,_T3,_uj;256!==(e=_a11(this,_La));)if(256>e)_R3>=_3w&&(this._La=_R3,_gc=this.e(),_R3=this._La),_gc[_R3++]=e;else {_fc=e-257;_uj=_ra1[_fc];0<_721[_fc]&&(_uj+=_7_(this,_721[_fc]));e=_a11(this,_Al);_T3=_Lm1[e];0<_y01[e]&&(_T3+=_7_(this,_y01[e]));_R3>=_3w&&(this._La=_R3,_gc=this.e(),_R3=this._La);
for(;_uj--;)_gc[_R3]=_gc[_R3++-_T3]}for(;8<=this._Al;)this._Al-=8,this._gc--;this._La=_R3};_S3.prototype._S3=function(_La,_Al){var _gc=this._R3,_R3=this._La;this._9x=_La;for(var _3w=_gc.length,e,_fc,_T3,_uj;256!==(e=_a11(this,_La));)if(256>e)_R3>=_3w&&(_gc=this.e(),_3w=_gc.length),_gc[_R3++]=e;else {_fc=e-257;_uj=_ra1[_fc];0<_721[_fc]&&(_uj+=_7_(this,_721[_fc]));e=_a11(this,_Al);_T3=_Lm1[e];0<_y01[e]&&(_T3+=_7_(this,_y01[e]));_R3+_uj>_3w&&(_gc=this.e(),_3w=_gc.length);for(;_uj--;)_gc[_R3]=_gc[_R3++-_T3]}
for(;8<=this._Al;)this._Al-=8,this._gc--;this._La=_R3};_S3.prototype.e=function(){var _La=new(_sc?Uint8Array:Array)(this._La-32768),_Al=this._La-32768,_gc,_R3,_3w=this._R3;if(_sc)_La.set(_3w.subarray(32768,_La.length));else {_gc=0;for(_R3=_La.length;_gc<_R3;++_gc)_La[_gc]=_3w[_gc+32768]}this._fc.push(_La);this._Ga+=_La.length;if(_sc)_3w.set(_3w.subarray(_Al,_Al+32768));else for(_gc=0;32768>_gc;++_gc)_3w[_gc]=_3w[_Al+_gc];this._La=32768;return _3w};_S3.prototype._Pd=function(_La){var _Al,_gc=this._3z.length/this._gc+1|0,
_R3,_3w,e,_fc=this._3z,_T3=this._R3;_La&&("number"===typeof _La._KA&&(_gc=_La._KA),"number"===typeof _La._sc&&(_gc+=_La._sc));2>_gc?(_R3=(_fc.length-this._gc)/this._9x[2],e=258*(_R3/2)|0,_3w=e<_T3.length?_T3.length+e:_T3.length<<1):_3w=_T3.length*_gc;_sc?(_Al=new Uint8Array(_3w),_Al.set(_T3)):_Al=_T3;return this._R3=_Al};_S3.prototype._ra=function(){var _La=0,_Al=this._R3,_gc=this._fc,_R3,_3w=new(_sc?Uint8Array:Array)(this._Ga+(this._La-32768)),e,_fc,_T3,_uj;if(0===_gc.length)return _sc?this._R3.subarray(32768,
this._La):this._R3.slice(32768,this._La);e=0;for(_fc=_gc.length;e<_fc;++e){_R3=_gc[e];_T3=0;for(_uj=_R3.length;_T3<_uj;++_T3)_3w[_La++]=_R3[_T3]}e=32768;for(_fc=this._La;e<_fc;++e)_3w[_La++]=_Al[e];this._fc=[];return this.buffer=_3w};_S3.prototype._uc=function(){var _La,_Al=this._La;_sc?this._Ia?(_La=new Uint8Array(_Al),_La.set(this._R3.subarray(0,_Al))):_La=this._R3.subarray(0,_Al):(this._R3.length>_Al&&(this._R3.length=_Al),_La=this._R3);return this.buffer=_La};function _2V1(_La,_Al){var _gc,_R3;this._3z=_La;
this._gc=0;if(_Al||!(_Al={}))_Al.index&&(this._gc=_Al.index),_Al._5W1&&(this._7_=_Al._5W1);_gc=_La[this._gc++];_R3=_La[this._gc++];switch(_gc&15){case _rV1:this.method=_rV1;break;default :_ua(Error("unsupported compression method"))}0!==((_gc<<8)+_R3)%31&&_ua(Error("invalid fcheck flag:"+((_gc<<8)+_R3)%31));_R3&32&&_ua(Error("fdict flag is not supported"));this._gz=new _S3(_La,{index:this._gc,_2W1:_Al._2W1,_3W1:_Al._3W1,_4W1:_Al._4W1})}_2V1.prototype._uj=function(){var _La=this._3z,_Al,_gc;_Al=this._gz._uj();
this._gc=this._gz._gc;if(this._7_){_gc=(_La[this._gc++]<<24|_La[this._gc++]<<16|_La[this._gc++]<<8|_La[this._gc++])>>>0;var _R3=_Al;if("string"===typeof _R3){var _3w=_R3.split(""),e,_fc;e=0;for(_fc=_3w.length;e<_fc;e++)_3w[e]=(_3w[e].charCodeAt(0)&255)>>>0;_R3=_3w}for(var _T3=1,_uj=0,_Ga=_R3.length,_gz,_KA=0;0<_Ga;){_gz=1024<_Ga?1024:_Ga;_Ga-=_gz;do _T3+=_R3[_KA++],_uj+=_T3;while(--_gz);_T3%=65521;_uj%=65521}_gc!==(_uj<<16|_T3)>>>0&&_ua(Error("invalid adler-32 checksum"))}return _Al};var _rV1=8;_Rw("Zlib.Inflate",
_2V1);_Rw("Zlib.Inflate.prototype.decompress",_2V1.prototype._uj);var _wV1={_6W1:_Pd._Rw,_7W1:_Pd._Ka},_Zr,__r,_0s,$;if(Object._tM1)_Zr=Object._tM1(_wV1);else for(__r in _Zr=[],_0s=0,_wV1)_Zr[_0s++]=__r;_0s=0;for($=_Zr.length;_0s<$;++_0s)__r=_Zr[_0s],_Rw("Zlib.Inflate.BufferType."+__r,_wV1[__r])}).call(this);//@ sourceMappingURL=inflate.min.js.map
var _8W1=!1,_9W1=-1,_aW1=-1,_bW1=0,_cW1=1,_dW1=2,_eW1=3,_fW1=4,_gW1=5,_hW1=6,_iW1=7,_jW1=8,_kW1=9,_lW1=10,_mW1=11,_nW1=[0,0,0],_oW1=[0,0,0],_pW1=[0,0,0,0,0,
0],_qW1=[0,0,0],_rW1=[0,0,0],_sW1=[0,0,0],_tW1=[0,0,0],_uW1=[0,0,0],_vW1=[0,0,0],_wW1=[0,0,0],_xW1=0,_yW1=0;function _zW1(){if(_j9){if((_k9._l9()<=30)||(_AW1<=30)){return 1.0}if((_k9._l9()/_AW1)<1.2){return 30.0/_k9._l9()}else {return 30.0/_AW1}}else {if((_h9._i9()<=30)||(_AW1<=30)){return 1.0}if((_h9._i9()/_AW1)<1.2){return 30.0/_h9._i9()}else {return 30.0/_AW1;}}}function _BW1(){if(!_lN(_9W1)){_9W1=_nk();if(_j9){_rN(_9W1,50)}else {_rN(_9W1,100000)}}if(!_lN(_aW1)){_aW1=_nk();if(_j9){_rN(_aW1,-15000)}else {_rN(_aW1,
-100000)}}if(!_8W1){_CW1()}}function _CW1(){var _Q3;_8W1=true;for(_Q3=0;_Q3<=5;_Q3++){_pW1[_Q3]=_ok()}for(_Q3=0;_Q3<=2;_Q3++){_qW1[_Q3]=_ok();_nW1[_Q3]=_ok();_rW1[_Q3]=_ok();_oW1[_Q3]=_ok();_sW1[_Q3]=_ok();_tW1[_Q3]=_ok();_uW1[_Q3]=_ok();_vW1[_Q3]=_ok();_wW1[_Q3]=_ok()}_xW1=_ok();_yW1=_ok()}function _DW1(_EW1,_N9,_O9,_cf,_5f){var _3w=_zW1();if(_cf===0){_TN(_pW1[0],_FW1);_XN(_pW1[0],0.1,0.1,0.05*_3w,0);_vO(_pW1[0],0,360,0,0,false);_zO(_pW1[0],0,360,0,0);_xO(_pW1[0],2*_3w,2*_3w,-0.1*_3w,0);_sk(_pW1[0],
0.6,0);_pO(_pW1[0],_gj(10.0/_3w),_gj(15.0/_3w));_FN(_EW1,_N9,_O9,_pW1[0],_5f,20);_TN(_pW1[1],_FW1);_XN(_pW1[1],0.1,0.1,0.1*_3w,0);_vO(_pW1[1],0,360,0,0,false);_sk(_pW1[1],0.8,0);_pO(_pW1[1],_gj(15/_3w),_gj(15/_3w));_FN(_EW1,_N9,_O9,_pW1[1],_GW1,1)}else if(_cf==2){_TN(_pW1[4],_FW1);_XN(_pW1[4],0.4,0.4,0.2*_3w,0);_vO(_pW1[4],0,360,0,0,false);_zO(_pW1[4],0,360,0,0);_xO(_pW1[4],7*_3w,7*_3w,-0.2*_3w,0);_sk(_pW1[4],0.6,0);_pO(_pW1[4],_gj(15/_3w),_gj(20/_3w));_FN(_EW1,_N9,_O9,_pW1[4],_5f,20);_TN(_pW1[5],
_FW1);_XN(_pW1[5],0.4,0.4,0.4*_3w,0);_vO(_pW1[5],0,360,0,0,false);_sk(_pW1[5],0.8,0);_pO(_pW1[5],_gj(20/_3w),_gj(20/_3w));_FN(_EW1,_N9,_O9,_pW1[5],_GW1,1)}else {_TN(_pW1[2],_FW1);_XN(_pW1[2],0.3,0.3,0.1*_3w,0);_vO(_pW1[2],0,360,0,0,false);_zO(_pW1[2],0,360,0,0);_xO(_pW1[2],4*_3w,4*_3w,-0.18*_3w,0);_sk(_pW1[2],0.6,0);_pO(_pW1[2],_gj(12/_3w),_gj(17/_3w));_FN(_EW1,_N9,_O9,_pW1[2],_5f,20);_TN(_pW1[3],_FW1);_XN(_pW1[3],0.3,0.3,0.2*_3w,0);_vO(_pW1[3],0,360,0,0,false);_sk(_pW1[3],0.8,0);_pO(_pW1[3],_gj(17/_3w),
_gj(17/_3w));_FN(_EW1,_N9,_O9,_pW1[3],_GW1,1)}}function _HW1(_EW1,_N9,_O9,_cf,_5f){var _3w=_zW1();if(_cf===0){_TN(_qW1[0],_IW1);_sk(_qW1[0],1,0);_XN(_qW1[0],0.0,0.0,0.15*_3w,0.0);_pO(_qW1[0],_gj(10.0/_3w),_gj(12.0/_3w));_FN(_EW1,_N9,_O9,_qW1[0],_5f,1)}else if(_cf==2){_TN(_qW1[2],_IW1);_sk(_qW1[2],1,0);_XN(_qW1[2],0,0,0.4*_3w,0);_pO(_qW1[2],_gj(18.0/_3w),_gj(20.0/_3w));_FN(_EW1,_N9,_O9,_qW1[2],_5f,1)}else {_TN(_qW1[1],_IW1);_sk(_qW1[1],1,0);_XN(_qW1[1],0,0,0.25*_3w,0);_pO(_qW1[1],_gj(13.0/_3w),_gj(15.0/_3w));
_FN(_EW1,_N9,_O9,_qW1[1],_5f,1)}}function _JW1(_EW1,_N9,_O9,_cf,_5f){var _3w=_zW1();if(_cf===0){_TN(_nW1[0],_IW1);_sk(_nW1[0],1,0);_XN(_nW1[0],0,0,0.2*_3w,0);_ZN(_nW1[0],1,0.5);_pO(_nW1[0],_gj(10.0/_3w),_gj(12.0/_3w));_FN(_EW1,_N9,_O9,_nW1[0],_5f,1)}else if(_cf==2){_TN(_nW1[2],_IW1);_sk(_nW1[2],1,0);_XN(_nW1[2],0,0,0.6*_3w,0);_ZN(_nW1[2],1,0.5);_pO(_nW1[2],_gj(18.0/_3w),_gj(20.0/_3w));_FN(_EW1,_N9,_O9,_nW1[2],_5f,1)}else {_TN(_nW1[1],_IW1);_sk(_nW1[1],1,0);_XN(_nW1[1],0,0,0.35*_3w,0);_ZN(_nW1[1],1,0.5);
_pO(_nW1[1],_gj(13.0/_3w),_gj(15.0/_3w));_FN(_EW1,_N9,_O9,_nW1[1],_5f,1)}}function _KW1(_EW1,_N9,_O9,_cf,_5f){var _3w=_zW1();if(_cf===0){_TN(_rW1[1],_LW1);_XN(_rW1[1],0.1,0.2,0,0);_xO(_rW1[1],0.5*_3w,3.0*_3w,0.0,0.0);_zO(_rW1[1],0,360,0,0);_sk(_rW1[1],1,0.4);_pO(_rW1[1],_gj(15.0/_3w),_gj(25.0/_3w));_BO(_rW1[1],0.10*_3w,270);_FN(_EW1,_N9,_O9,_rW1[1],_5f,75)}else if(_cf==2){_TN(_rW1[1],_LW1);_XN(_rW1[1],0.1,0.2,0,0);_xO(_rW1[1],0.5*_3w,8.0*_3w,0.0,0.0);_zO(_rW1[1],0,360,0,0);_sk(_rW1[1],1,0.4);_pO(_rW1[1],
_gj(30.0/_3w),_gj(40.0/_3w));_BO(_rW1[1],0.17*_3w,270);_FN(_EW1,_N9,_O9,_rW1[1],_5f,250)}else {_TN(_rW1[1],_LW1);_XN(_rW1[1],0.1,0.2,0,0);_xO(_rW1[1],0.5*_3w,6.0*_3w,0.0,0.0);_zO(_rW1[1],0,360,0,0);_sk(_rW1[1],1,0.4);_pO(_rW1[1],_gj(20.0/_3w),_gj(30.0/_3w));_BO(_rW1[1],0.15*_3w,270);_FN(_EW1,_N9,_O9,_rW1[1],_5f,150)}}function _MW1(_EW1,_N9,_O9,_cf,_5f){var _Q3;var _3w=_zW1();if(_cf===0){_TN(_oW1[0],_FW1);_XN(_oW1[0],0.2,0.4,-0.01*_3w,0);_sk(_oW1[0],0.4,0);_pO(_oW1[0],_gj(25.0/_3w),_gj(25.0/_3w));for(_Q3=0;
_Q3<=5;_Q3++){_FN(_EW1,_N9-5+_NW1(10),_O9-5+_NW1(10),_oW1[0],_5f,1)}}else if(_cf===2){_TN(_oW1[2],_FW1);_XN(_oW1[2],0.4,1,-0.01*_3w,0);_sk(_oW1[2],0.4,0);_pO(_oW1[2],_gj(50.0/_3w),_gj(50.0/_3w));for(_Q3=0;_Q3<=15;_Q3++){_FN(_EW1,_N9-30+_NW1(60),_O9-30+_NW1(60),_oW1[2],_5f,1)}}else {_TN(_oW1[1],_FW1);_XN(_oW1[1],0.4,0.7,-0.01*_3w,0);_sk(_oW1[1],0.4,0);_pO(_oW1[1],_gj(30.0/_3w),_gj(30.0/_3w));for(_Q3=0;_Q3<=10;_Q3++){_FN(_EW1,_N9-15+_NW1(30),_O9-15+_NW1(30),_oW1[1],_5f,1)}}}function _OW1(_EW1,_N9,_O9,
_cf,_5f){var _Q3;var _3w=_zW1();if(_cf===0){_TN(_sW1[0],_FW1);_XN(_sW1[0],0.2,0.4,-0.01*_3w,0);_sk(_sW1[0],0.4,0);_xO(_sW1[0],3.0*_3w,4.0*_3w,0,0);_zO(_sW1[0],90,90,0,0);_pO(_sW1[0],_gj(25.0/_3w),_gj(25.0/_3w));for(_Q3=0;_Q3<=5;_Q3++){_FN(_EW1,_N9-5+_NW1(10),_O9-5+_NW1(10),_sW1[0],_5f,1)}}else if(_cf===2){_TN(_sW1[2],_FW1);_XN(_sW1[2],0.4,1,-0.01*_3w,0);_sk(_sW1[2],0.4,0);_xO(_sW1[2],6.0*_3w,7.0*_3w,0,0);_zO(_sW1[2],90,90,0,0);_pO(_sW1[2],_gj(50.0/_3w),_gj(50.0/_3w));for(_Q3=0;_Q3<=15;_Q3++){_FN(_EW1,
_N9-30+_NW1(60),_O9-30+_NW1(60),_sW1[2],_5f,1)}}else {_TN(_sW1[1],_FW1);_XN(_sW1[1],0.4,0.7,-0.01*_3w,0);_sk(_sW1[1],0.4,0);_xO(_sW1[1],5.0*_3w,6.0*_3w,0,0);_zO(_sW1[1],90,90,0,0);_pO(_sW1[1],_gj(30.0/_3w),_gj(30.0/_3w));for(_Q3=0;_Q3<=10;_Q3++){_FN(_EW1,_N9-15+_NW1(30),_O9-15+_NW1(30),_sW1[1],_5f,1)}}}function _PW1(_EW1,_N9,_O9,_cf,_5f){var _3w=_zW1();if(_cf===0){_TN(_tW1[0],_QW1);_XN(_tW1[0],0.4,0.3,-0.02*_3w,0);_vO(_tW1[0],0,360,0,0,false);_pO(_tW1[0],_gj(20/_3w),_gj(20/_3w));_FN(_EW1,_N9,_O9,_tW1[0],
_5f,1)}else if(_cf===2){_TN(_tW1[2],_QW1);_XN(_tW1[2],1.2,1.2,-0.04*_3w,0);_vO(_tW1[2],0,360,0,0,false);_pO(_tW1[2],_gj(30/_3w),_gj(30/_3w));_FN(_EW1,_N9,_O9,_tW1[2],_5f,1)}else {_TN(_tW1[1],_QW1);_XN(_tW1[1],0.75,0.75,-0.03*_3w,0);_vO(_tW1[1],0,360,0,0,false);_pO(_tW1[1],_gj(25/_3w),_gj(25/_3w));_FN(_EW1,_N9,_O9,_tW1[1],_5f,1)}}function _RW1(_EW1,_N9,_O9,_cf,_5f){var _3w=_zW1();if(_cf===0){_TN(_uW1[0],_SW1);_XN(_uW1[0],0.4,0.4,-0.02*_3w,0);_vO(_uW1[0],0,360,0,0,false);_pO(_uW1[0],_gj(20/_3w),_gj(20/_3w));
_FN(_EW1,_N9,_O9,_uW1[0],_5f,1)}else if(_cf===2){_TN(_uW1[2],_SW1);_XN(_uW1[2],1.2,1.2,-0.04*_3w,0);_vO(_uW1[2],0,360,0,0,false);_pO(_uW1[2],_gj(30/_3w),_gj(30/_3w));_FN(_EW1,_N9,_O9,_uW1[2],_5f,1)}else {_TN(_uW1[1],_SW1);_XN(_uW1[1],0.75,0.75,-0.03*_3w,0);_vO(_uW1[1],0,360,0,0,false);_pO(_uW1[1],_gj(25/_3w),_gj(25/_3w));_FN(_EW1,_N9,_O9,_uW1[1],_5f,1)}}function _TW1(_EW1,_N9,_O9,_cf,_5f){var _3w=_zW1();if(_cf===0){_TN(_vW1[0],_LW1);_XN(_vW1[0],0.4,0.4,-0.02*_3w,0);_vO(_vW1[0],0,360,0,0,false);_pO(_vW1[0],
_gj(20/_3w),_gj(20/_3w));_FN(_EW1,_N9,_O9,_vW1[0],_5f,1)}else if(_cf===2){_TN(_vW1[2],_LW1);_XN(_vW1[2],1.2,1.2,-0.04*_3w,0);_vO(_vW1[2],0,360,0,0,false);_pO(_vW1[2],_gj(30/_3w),_gj(30/_3w));_FN(_EW1,_N9,_O9,_vW1[2],_5f,1)}else {_TN(_vW1[1],_LW1);_XN(_vW1[1],0.75,0.75,-0.03*_3w,0);_vO(_vW1[1],0,360,0,0,false);_pO(_vW1[1],_gj(25/_3w),_gj(25/_3w));_FN(_EW1,_N9,_O9,_vW1[1],_5f,1)}}function _UW1(_EW1,_N9,_O9,_cf,_5f){var _3w=_zW1();if(_cf===0){_TN(_wW1[0],_FW1);_XN(_wW1[0],2,2,0,0);_ZN(_wW1[0],1,0.5);_nO(_wW1[0],
0,0.3,0);_pO(_wW1[0],_gj(100.0/_3w),_gj(100.0/_3w));_FN(_EW1,_N9,_O9,_wW1[0],_5f,1)}else if(_cf===2){_TN(_wW1[2],_FW1);_XN(_wW1[2],8,8,0,0);_ZN(_wW1[2],1,0.5);_nO(_wW1[2],0,0.3,0);_pO(_wW1[2],_gj(100.0/_3w),_gj(100.0/_3w));_FN(_EW1,_N9,_O9,_wW1[2],_5f,1)}else {_TN(_wW1[1],_FW1);_XN(_wW1[1],4,4,0,0);_ZN(_wW1[1],1,0.5);_nO(_wW1[1],0,0.3,0);_pO(_wW1[1],_gj(100.0/_3w),_gj(100.0/_3w));_FN(_EW1,_N9,_O9,_wW1[1],_5f,1)}}function _VW1(_EW1,_N9,_O9,_cf,_5f){var _Q3;var _3w=_zW1();_TN(_xW1,_WW1);_XN(_xW1,0.2,0.3,
0.0,0.0);_vO(_xW1,0,0,0,0,true);_xO(_xW1,7*_3w,7*_3w,0,0);_zO(_xW1,260,260,0,0);_kO(_xW1,0.4);_pO(_xW1,_gj(0.2*_h9._2E()/_3w),_gj(0.2*_h9._2E()/_3w));if(_cf===0){for(_Q3=0;_Q3<=1;_Q3++){_FN(_EW1,_NW1(1)*1.2*_h9._1E(),-30.0+_NW1(20),_xW1,_5f,1)}}else if(_cf==2){for(_Q3=0;_Q3<=8;_Q3++){_FN(_EW1,_NW1(1)*1.2*_h9._1E(),-30.0+_NW1(20),_xW1,_5f,1)}}else {for(_Q3=0;_Q3<=4;_Q3++){_FN(_EW1,_NW1(1)*1.2*_h9._1E(),-30.0+_NW1(20),_xW1,_5f,1)}}}function _XW1(_EW1,_N9,_O9,_cf,_5f){var _Q3;var _3w=_zW1();_TN(_yW1,_YW1);
_XN(_yW1,0.1,0.25,0.0,0.0);_kO(_yW1,0.6);_vO(_yW1,0,360,0,0,false);_xO(_yW1,2.5*_3w,3.0*_3w,0.0,0.0);_zO(_yW1,240,300,0,20);_pO(_yW1,_gj(0.5*_h9._2E()/_3w),_gj(0.5*_h9._2E()/_3w));if(_cf===0){for(_Q3=0;_Q3<=0;_Q3++){_FN(_EW1,_NW1(1)*1.2*_h9._1E()-60,-30.0+_NW1(20),_yW1,_5f,1)}}else if(_cf===2){for(_Q3=0;_Q3<=6;_Q3++){_FN(_EW1,_NW1(1)*1.2*_h9._1E()-60,-30.0+_NW1(20),_yW1,_5f,1)}}else {for(_Q3=0;_Q3<=2;_Q3++){_FN(_EW1,_NW1(1)*1.2*_h9._1E()-60,-30.0+_NW1(20),_yW1,_5f,1)}}}function _ZW1(__W1,_He,_N9,_O9,
_cf,_5f){var _d31;_BW1();if(__W1){_d31=_9W1}else {_d31=_aW1}switch(_He){case _bW1:_DW1(_d31,_N9,_O9,_cf,_5f);break;case _cW1:_HW1(_d31,_N9,_O9,_cf,_5f);break;case _dW1:_JW1(_d31,_N9,_O9,_cf,_5f);break;case _eW1:_KW1(_d31,_N9,_O9,_cf,_5f);break;case _fW1:_MW1(_d31,_N9,_O9,_cf,_5f);break;case _gW1:_OW1(_d31,_N9,_O9,_cf,_5f);break;case _hW1:_PW1(_d31,_N9,_O9,_cf,_5f);break;case _iW1:_RW1(_d31,_N9,_O9,_cf,_5f);break;case _jW1:_TW1(_d31,_N9,_O9,_cf,_5f);break;case _kW1:_UW1(_d31,_N9,_O9,_cf,_5f);break;case _lW1:_VW1(_d31,
_N9,_O9,_cf,_5f);break;case _mW1:_XW1(_d31,_N9,_O9,_cf,_5f);break }}var _0X1=!1,_mZ=!1,_1X1=!0;function _2X1(_3X1){if(_3X1){_0X1=true}else {_mZ=false;_0X1=false;if(_1X1){_4X1=false}}}function _5X1(){if(window["page"]===undefined){_1X1=false;window.addEventListener("focus",function(){_2X1(false)});window.addEventListener("blur",function(){_2X1(true)});window.addEventListener("click",function(){_2X1(false)})}}function _6X1(){if(_0X1){_mZ=true;_0X1=false}else if(_mZ){_mZ=false;if(_1X1){_4X1=true}}}function _7X1(){
var _3U,_Q3,_8X1;var __h=null;if(_h9._0i){__h=_h9._2i}var _hj=_h9._DG._hj;var _Fb=_9X1++;for(var _aX1=0;_aX1<_hj.length;_aX1++){var _9E=_hj[_aX1];var _JG=_9E._JG;if(!_9E._86&&(_9E._bX1<=_Fb)){if(_JG._cX1[_dX1]){var _eX1=false;if(_qK(_9E._WV)||_qK(_9E._fX1)){_3U=_9E._gX1();_eX1=((_3U.right<0)||(_3U.left>_h9._1E())||(_3U.bottom<0)||(_3U.top>_h9._2E()))}else {_eX1=((_9E.x<0)||(_9E.x>_h9._1E())||(_9E.y<0)||(_9E.y>_h9._2E()));}if(_eX1){if(!_9E._hX1){_9E._6a(_dX1,_iX1,_9E,_9E)}}_9E._hX1=_eX1}if(_JG._cX1[_jX1]){
if(_qK(_9E._WV)||_qK(_9E._fX1)){_3U=_9E._gX1();if((_3U.left<0)||(_3U.right>_h9._1E())||(_3U.top<0)||(_3U.bottom>_h9._2E())){_9E._6a(_jX1,_iX1,_9E,_9E)}}else {if((_9E.x<0)||(_9E.x>_h9._1E())||(_9E.y<0)||(_9E.y>_h9._2E())){_9E._6a(_jX1,_iX1,_9E,_9E)}}}if(__h){for(_8X1=0;_8X1<__h.length;_8X1++){var _kX1=__h[_8X1];if(_kX1._Y3){var _lX1=_kX1._cD;var _mX1=_kX1._eD;var _nX1=_kX1._cD+_kX1._gD;var _oX1=_kX1._eD+_kX1._iD;var _pX1=_qX1._5D(_kX1._rX1);if(_pX1!=null){_lX1=_pX1._vD();_mX1=_pX1._xD();_nX1=_pX1._vD()+_pX1._wD();
_oX1=_pX1._xD()+_pX1._yD()}if(_JG._cX1[_sX1+_8X1]){if(_qK(_9E._WV)||_qK(_9E._fX1)){_3U=_9E._gX1();if((_3U.right<_lX1)||(_3U.left>_nX1)||(_3U.bottom<_mX1)||(_3U.top>_oX1)){_9E._6a(_sX1+_8X1,_iX1,_9E,_9E)}}else {if((_9E.x<_lX1)||(_9E.x>_nX1)||(_9E.y<_mX1)||(_9E.y>_oX1)){_9E._6a(_sX1+_8X1,_iX1,_9E,_9E)}}}if(_JG._cX1[_tX1+_8X1]){if(_qK(_9E._WV)||_qK(_9E._fX1)){_3U=_9E._gX1();if((_3U.left<_lX1)||(_3U.right>_nX1)||(_3U.top<_mX1)||(_3U.bottom>_oX1)){_9E._6a(_tX1+_8X1,_iX1,_9E,_9E)}}else {if((_9E.x<_lX1)||(_9E.x>_nX1)||(_9E.y<_mX1)||(_9E.y>_oX1)){
_9E._6a(_tX1+_8X1,_iX1,_9E,_9E)}}}}}}}}}function _uX1(){for(var _PI1 in _QI1){if(!_QI1.hasOwnProperty(_PI1))continue;var _vX1=_29._Si(_PI1);var _wX1=_vX1._bE();var _Fb=_9X1++;for(var _oI1=0;_oI1<_wX1.length;_oI1++){var _xX1=_wX1[_oI1];if(!_xX1._86&&_xX1._96&&(_xX1._bX1<=_Fb)){var _yX1=_QI1[_PI1];for(var _zX1 in _yX1){if(!_yX1.hasOwnProperty(_zX1))continue;var _6m1=_yX1[_zX1];var _AX1=_29._Si(_6m1);var _BX1=_AX1._bE();for(var _pI1=0;_pI1<_BX1.length;_pI1++){var _CX1=_BX1[_pI1];if(!_CX1._86&&_CX1._96&&(_CX1._bX1<=_Fb)){
if((_xX1._JG==_CX1._JG)&&(_pI1<_oI1))continue;if(_xX1._vG(_CX1,true)){if((_xX1._j4)||(_CX1._j4)){_xX1.x=_xX1._DX1;_xX1.y=_xX1._EX1;_xX1._jE=true;_xX1._FX1=_xX1._GX1;_CX1.x=_CX1._DX1;_CX1.y=_CX1._EX1;_CX1._jE=true;_CX1._FX1=_CX1._GX1}_xX1._6a(_xI1,_CX1._JG._TG,_xX1,_CX1);_CX1._6a(_xI1,_xX1._JG._TG,_CX1,_xX1);if((_xX1._j4)||(_CX1._j4)){_xX1._aI1();_CX1._aI1();_xX1._Hf(_xX1.x+_xX1._kD,_xX1.y+_xX1._mD);_CX1._Hf(_CX1.x+_CX1._kD,_CX1.y+_CX1._mD);if(_xX1._vG(_CX1,true)){_xX1.x=_xX1._DX1;_xX1.y=_xX1._EX1;
_xX1._jE=true;_xX1._FX1=_xX1._GX1;_CX1.x=_CX1._DX1;_CX1.y=_CX1._EX1;_CX1._jE=true;_CX1._FX1=_CX1._GX1}}}}}}}}}}function _HX1(){if(_h9){var __h,_Rl,_IX1,_JX1;if(!_h9._0i){__h=_1i}else {__h=_h9._2i}var _Fb=_9X1++;for(var _uc=0;_uc<__h.length;_uc++){var _3i=__h[_uc];if(_3i._Y3){_4i(canvas,_5i);_IX1=_qi._KX1-_5i.left;_JX1=_qi._LX1-_5i.top;if((_IX1>=_3i._6i)&&(_IX1<_3i._7i)&&(_JX1>=_3i._8i)&&(_JX1<_3i._9i)){var _Qa=_q6._27;var _Sa=_q6._37;var _MX1=_29._yM();for(var _9x=0;_9x<_MX1.length;_9x++){var _aE=_MX1[_9x];
var _NX1=_aE._cX1;if(_NX1[_OX1]||_NX1[_PX1]||_NX1[_QX1]||_NX1[_RX1]||_NX1[_SX1]||_NX1[_TX1]||_NX1[_UX1]||_NX1[_VX1]||_NX1[_WX1]||_NX1[_XX1]||_NX1[_YX1]||_NX1[_ZX1]||_NX1[__X1]||_NX1[_0Y1]){if(_aE._1Y1.length>0){var _2Y1=_aE._1Y1._hj.slice(0);for(var _Q3=_2Y1.length-1;_Q3>=0;_Q3--){var _dE=_2Y1[_Q3];if(!_dE._86&&(_dE._bX1<=_Fb)){{if(_dE._jE)_dE._kE();if(_dE._7l(_Qa,_Sa,true)){var _3Y1=true;for(_Rl=0;_Rl<3;_Rl++){if(_qi._Fg[_Rl]){if(_NX1[_OX1+_Rl]){_dE._6a(_OX1+_Rl,0,_dE,_dE)}_3Y1=false}}for(_Rl=0;_Rl<3;
_Rl++){if(_qi._Ag[_Rl]===1){if(_NX1[_RX1+_Rl]){_dE._6a(_RX1+_Rl,0,_dE,_dE)}_3Y1=false}}for(_Rl=0;_Rl<3;_Rl++){if(_qi._Eg[_Rl]===1){if(_NX1[_UX1+_Rl]){_dE._6a(_UX1+_Rl,0,_dE,_dE)}}}if(_3Y1){_dE._6a(_XX1,0,_dE,_dE)}if(!_dE._4Y1){_dE._6a(_YX1,0,_dE,_dE);_dE._4Y1=true}}else {if(_dE._4Y1){_dE._6a(_ZX1,0,_dE,_dE);_dE._4Y1=false;}}}}}}}}for(_Rl=0;_Rl<3;_Rl++){if(_qi._Fg[_Rl]){_eE._6a(_5Y1+_Rl,0)}}for(_Rl=0;_Rl<3;_Rl++){if(_qi._Ag[_Rl]===1){_eE._6a(_6Y1+_Rl,0)}}for(_Rl=0;_Rl<3;_Rl++){if(_qi._Eg[_Rl]===1){
_eE._6a(_7Y1+_Rl,0)}}if(_8Y1){_eE._6a(__X1,0)}if(_9Y1){_eE._6a(_0Y1,0)}}}}}}function _aY1(){var _Tc,_Uc,_Pa;var _hj=_h9._DG._hj;var _Fb=_9X1++;for(var _9E=0;_9E<_hj.length;_9E++){var _dE=_hj[_9E];if(!_dE._86&&(_dE._bY1>=0)&&(_dE._bX1<=_Fb)){if(!_dE._cY1){var _vy=_wy._Si(_dE._bY1);if((_vy!==null)&&(_vy!==undefined)){if(_dE._dY1>0){_Tc=_vy._eY1(_dE._fY1);_dE._fY1+=_dE._dY1;_Uc=_vy._eY1(_dE._fY1);for(_Pa=_Tc;_Pa<_Uc;_Pa++){_ry(_dE,_dE,_dE._bY1,_Pa)}if(_dE._gY1&&(_dE._fY1>_vy._hY1())){_dE._fY1=0}}else {_Tc=_vy._iY1(_dE._fY1);
_dE._fY1+=_dE._dY1;_Uc=_vy._iY1(_dE._fY1);for(_Pa=_Tc;_Pa>_Uc;_Pa--){_ry(_dE,_dE,_dE._bY1,_Pa)}if(_dE._gY1&&(_dE._fY1<0)){_dE._fY1=_vy._hY1();}}}}}}}function _jY1(){var _hj=_h9._DG._hj;var _Fb=_9X1++;for(var _9E=0;_9E<_hj.length;_9E++){var _dE=_hj[_9E];if(!_dE._86&&(_dE._bX1<=_Fb)){for(var _gc=0;_gc<_kY1;_gc++){var event=_lY1|(_gc+1);var _aE=_dE._JG;if(_aE._cX1[event]){var _mY1;_mY1=~~(_dE._8k[_gc]);if(_mY1>=0){_mY1--;_dE._8k[_gc]=_mY1}if(_mY1===0){_dE._6a(_lY1|(_gc+1),0,_dE,_dE)}}}}}}(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 _gc=new Uint8Array(1);return }catch(e){}function subarray(start,end){return this.slice(start,end)}function _nY1(_JS1,offset){var _Q3,_ra=_JS1.length;if(arguments.length<2){offset=0}for(_Q3=0;_Q3<_ra;++_Q3,++offset){this[offset]=_JS1[_Q3]&0xFF}}function _oY1(_lE){
var _Av,_Q3;if(typeof _lE==="number"){_Av=new Array(_lE);for(_Q3=0;_Q3<_lE;++_Q3){_Av[_Q3]=0}}else {_Av=_lE.slice(0)}_Av.subarray=subarray;_Av.buffer=_Av;_Av.byteLength=_Av.length;_Av.set=_nY1;if(typeof _lE==="object"&&_lE.buffer){_Av.buffer=_lE.buffer}return _Av}window.Uint8Array=_oY1;window.Uint32Array=_oY1;window.Int32Array=_oY1}(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)._pY1())}}else {getter=function(){return this.responseBody}}Object.defineProperty(XMLHttpRequest.prototype,"response",{get:getter})}(window));if(!window.btoa){window.btoa=function(data){var _Cy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _Dy,_Ey,_Fy,_Gy,_Hy,_Iy,_Jy,_Ky,_Q3=0,_Ly=0,_My="",_Ny=[];if(!data){return data}do {_Dy=data.charCodeAt(_Q3++);_Ey=data.charCodeAt(_Q3++);
_Fy=data.charCodeAt(_Q3++);_Ky=_Dy<<16|_Ey<<8|_Fy;_Gy=_Ky>>18&0x3f;_Hy=_Ky>>12&0x3f;_Iy=_Ky>>6&0x3f;_Jy=_Ky&0x3f;_Ny[_Ly++]=_Cy.charAt(_Gy)+_Cy.charAt(_Hy)+_Cy.charAt(_Iy)+_Cy.charAt(_Jy)}while(_Q3<data.length);_My=_Ny.join('');var _Ia=data.length%3;return(_Ia?_My.slice(0,_Ia-3):_My)+'==='.slice(_Ia||3)}}function Font(){this._Qx="fjs"+(999999*Math.random()|0)}Font.prototype._OR="";Font.prototype._qY1="";Font.prototype.data="";Font.prototype._rY1="AAEAAAAKAIAAAwAgT1MvMgAAAAAAAACsAAAAWGNtYXAA"+"AAAAAAABBAAAACxnbHlmAAAAAAAAATAAAAAQaGVhZAAAA"+"AAAAAFAAAAAOGhoZWEAAAAAAAABeAAAACRobXR4AAAAAA"+"AAAZwAAAAIbG9jYQAAAAAAAAGkAAAACG1heHAAAAAAAAA"+"BrAAAACBuYW1lAAAAAAAAAcwAAAAgcG9zdAAAAAAAAAHs"+"AAAAEAAEAAEAZAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"+"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"+"AAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAABAAMAAQA"+"AAAwABAAgAAAABAAEAAEAAABB//8AAABB////wAABAAAA"+"AAABAAAAAAAAAAAAAAAAMQAAAQAAAAAAAAAAAABfDzz1A"+"AAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAEAAg"+"AAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAA"+"AAAAAAAAAAQAAAAAAAAAAAAAAAAAIAAAAAQAAAAIAAQAB"+"AAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAHgADAAEEC"+"QABAAAAAAADAAEECQACAAIAAAAAAAEAAAAAAAAAAAAAAA"+"AAAA==";
Font.prototype._sY1={_tY1:0,_uY1:0,_vY1:0,_wY1:0,_xY1:400};Font.prototype._yY1=!1;Font.prototype._Mx=!1;Font.prototype.onload=function(){};Font.prototype.onerror=function(){};Font.prototype.canvas=!1;Font.prototype.context=!1;Font.prototype.validate=function(target,_1i1,_zY1,font,_AY1){if(_AY1!==!1&&_AY1<0){this.onerror("Requested system font '"+this._Qx+"' could not be loaded (it may not be installed).");return }var _BY1=document._CY1.getComputedStyle(target,'');var width=_BY1.getPropertyValue("width").replace("px",
'');if(width>0){document._DY1.removeChild(_1i1);document.body.removeChild(target);this._Mx=!0;this.onload()}else {setTimeout(function(){font.validate(target,_1i1,_zY1,font,_AY1===!1?!1:_AY1-50)},50)}};Font.prototype._EY1=function(){var _iu1=this;var _Yv=function(_ug){return String.fromCharCode(_ug)};var _FY1=function(_ug){if(_ug<256){return _Yv(0)+_Yv(_ug)}var _ny=_ug>>8;var _oy=_ug&0xFF;return _Yv(_ny)+_Yv(_oy)};var _GY1=function(_ug){if(_ug<0){_ug=0xFFFFFFFF+_ug+1}return parseInt(_ug,10).toString(16);};var _HY1=function(_ny,
_oy){return 256*_ny+_oy};var _IY1=function(_ny,_oy){var _JY1=_ny>>7===1,_ug;_ny=_ny&0x7F;_ug=256*_ny+_oy;if(!_JY1){return _ug}return _ug-0x8000};var _KY1=function(_ny,_oy,_LY1,_MY1){return 16777216*_ny+65536*_oy+256*_LY1+_MY1};var error=function(_NY1){_iu1.onerror(_NY1)};var _OY1=_Yv(0)+_Yv(1)+_Yv(0)+_Yv(0);var _PY1="OTTO";var data=this.data;var version=_Yv(data[0])+_Yv(data[1])+_Yv(data[2])+_Yv(data[3]);var _QY1=(version===_OY1);var _RY1=(_QY1?!1:version===_PY1);if(_QY1){this._qY1="truetype";}else if(_RY1){this._qY1="opentype"}
else {error("Error: file at "+this._OR+" cannot be interpreted as OpenType font.");return }var _SY1=_HY1(data[4],data[5]),_TY1=12,_UY1,end=_TY1+16*_SY1,_VY1={},_6S;for(_UY1=_TY1;_UY1<end;_UY1+=16){_6S=_Yv(data[_UY1])+_Yv(data[_UY1+1])+_Yv(data[_UY1+2])+_Yv(data[_UY1+3]);_VY1[_6S]={name:_6S,_WY1:_KY1(data[_UY1+4],data[_UY1+5],data[_UY1+6],data[_UY1+7]),offset:_KY1(data[_UY1+8],data[_UY1+9],data[_UY1+10],data[_UY1+11]),length:_KY1(data[_UY1+12],data[_UY1+13],data[_UY1+14],data[_UY1+15])}}var _XY1=function(_6S){
if(!_VY1[_6S]){error("Error: font is missing the required OpenType '"+_6S+"' table.");return !1}return _6S};_6S=_XY1("head");if(_6S===!1){return }_UY1=_VY1[_6S].offset;_VY1[_6S].version=""+data[_UY1]+data[_UY1+1]+data[_UY1+2]+data[_UY1+3];var _YY1=_HY1(data[_UY1+18],data[_UY1+19]);this._sY1._tY1=_YY1;_6S=_XY1("hhea");if(_6S===!1){return }_UY1=_VY1[_6S].offset;_VY1[_6S].version=""+data[_UY1]+data[_UY1+1]+data[_UY1+2]+data[_UY1+3];this._sY1._vY1=_IY1(data[_UY1+4],data[_UY1+5])/_YY1;this._sY1._wY1=_IY1(data[_UY1+6],
data[_UY1+7])/_YY1;this._sY1._uY1=_IY1(data[_UY1+8],data[_UY1+9])/_YY1;_6S=_XY1("OS/2");if(_6S===!1){return }_UY1=_VY1[_6S].offset;_VY1[_6S].version=""+data[_UY1]+data[_UY1+1];this._sY1._xY1=_HY1(data[_UY1+4],data[_UY1+5]);_6S=_XY1("cmap");if(_6S===!1){return }_UY1=_VY1[_6S].offset;_VY1[_6S].version=""+data[_UY1]+data[_UY1+1];_SY1=_HY1(data[_UY1+2],data[_UY1+3]);var _ZY1,__Y1,_0Z1,_1Z1,offset,_2Z1=!1;for(_ZY1=0;_ZY1<_SY1;_ZY1++){__Y1=_UY1+4+_ZY1*8;_0Z1=_HY1(data[__Y1],data[__Y1+1]);_1Z1=_HY1(data[__Y1+2],
data[__Y1+3]);offset=_KY1(data[__Y1+4],data[__Y1+5],data[__Y1+6],data[__Y1+7]);if(_0Z1===3&&_1Z1===1){_2Z1=offset}}var _3Z1="A";this._4Z1=[];if(_2Z1!==!1){_UY1+=_2Z1;version=_HY1(data[_UY1],data[_UY1+1]);if(version===4){var _5Z1=_HY1(data[_UY1+6],data[_UY1+7])/2;var _6Z1=function(_Yv){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(_Yv)===-1;};var _Q3=_UY1+14,
e=_UY1+14+2*_5Z1,_7Z1=!1;for(;_Q3<e;_Q3+=2){_7Z1=_HY1(data[_Q3],data[_Q3+1]);if(_6Z1(_7Z1)){break }_7Z1=!1}var _Rw=e+2;for(;_Q3<e;_Q3+=2,_Rw+=2){var _8Z1=_HY1(data[_Q3],data[_Q3+1]);var _9Z1=_HY1(data[_Rw],data[_Rw+1]);if(_8Z1!=0xffff){for(var _ra=_9Z1;_ra<=_8Z1;++_ra){this._4Z1.push(_ra)}}}if(_7Z1!==!1){_3Z1=String.fromCharCode(_7Z1);var _zL1=-(_7Z1-1)+65536;var _aZ1=btoa(_Yv(0)+_FY1(_7Z1)+_FY1(0xFFFF)+_FY1(0)+_FY1(_7Z1)+_FY1(0xFFFF)+_FY1(_zL1)+_FY1(1));this._rY1=this._rY1.substring(0,380)+_aZ1+this._rY1.substring(380+_aZ1.length);
}}}this._bZ1(_3Z1,!1)};Font.prototype._bZ1=function(_3Z1,_AY1){var _cZ1=this._Qx+" testfont";var _dZ1=document.createElement("style");_dZ1.setAttribute("type","text/css");_dZ1.innerHTML="@font-face {\n"+"  font-family: '"+_cZ1+"';\n"+"  src: url('data:application/x-font-ttf;base64,"+this._rY1+"')\n"+"       format('truetype');}";document._DY1.appendChild(_dZ1);var _eZ1=!1;if(!this._yY1){_eZ1=this._fZ1();document._DY1.appendChild(_eZ1)}var _gZ1=document.createElement("p");_gZ1.style.cssText="position: absolute; top: 0; left: 0; opacity: 0;";
_gZ1.style._Qx="'"+this._Qx+"', '"+_cZ1+"'";_gZ1.innerHTML=_3Z1+_3Z1+_3Z1+_3Z1+_3Z1+_3Z1+_3Z1+_3Z1+_3Z1+_3Z1;document.body.appendChild(_gZ1);if(!document._CY1.getComputedStyle){this.onload();_cv("Error: document.defaultView.getComputedStyle is not supported by this browser.\n"+"Consequently, Font.onload() cannot be trusted.")}else {var _hZ1=this._yY1?1000:this._sY1._tY1;var canvas=document.createElement("canvas");canvas.width=_hZ1;canvas.height=_hZ1;this.canvas=canvas;var context=canvas.getContext("2d");
context.font="1em '"+this._Qx+"'";context.fillStyle="white";context.fillRect(-1,-1,_hZ1+2,_hZ1+2);context.fillStyle="black";context.fillText("test text",50,_hZ1/2);this.context=context;var _nO1=this;var _iZ1=function(){_nO1.validate(_gZ1,_dZ1,_eZ1,_nO1,_AY1)};setTimeout(_iZ1,50)}};Font.prototype._jZ1=function(){this._yY1=!0;this._sY1=!1;this._bZ1("A",1000)};Font.prototype._kZ1=function(){var font=this;if(this._OR.indexOf(".")===-1){setTimeout(function(){font._jZ1()},10);return }var _lZ1=new XMLHttpRequest();
_lZ1.open('GET',font._OR,!0);_lZ1.responseType="arraybuffer";_lZ1.onload=function(_mZ1){var _nZ1=_lZ1.response;if(_nZ1){font.data=new Uint8Array(_nZ1);font._EY1()}else {font.onerror("Error downloading font resource from "+font._OR)}};_lZ1.send(null)};Font.prototype._oZ1=!1;Font.prototype._fZ1=function(){if(this._oZ1){return this._oZ1}this._oZ1=document.createElement("style");this._oZ1.type="text/css";var _pZ1="@font-face {\n";_pZ1+="  font-family: '"+this._Qx+"';\n";_pZ1+="  src: url('"+this._OR+"') format('"+this._qY1+"');\n";
_pZ1+="}";this._oZ1.innerHTML=_pZ1;return this._oZ1};Font.prototype.measureText=function(_qZ1,_rZ1){if(!this._Mx){console.log("Error:measureText() was called while the font was not yet loaded");return !1}this.context.font=_rZ1+"px '"+this._Qx+"'";var _sY1=this.context.measureText(_qZ1);_sY1.fontsize=_rZ1;_sY1._vY1=0;_sY1._wY1=0;_sY1._AQ1={_sZ1:0,_tZ1:_sY1.width,_uZ1:0,_vZ1:0};_sY1.height=0;var _VO1=[],_wZ1=_sY1.width/this._sY1._tY1;if(_wZ1<=1){_VO1.push(_qZ1)}else {_VO1.push(_qZ1)}var _xZ1=_VO1.length,
_Q3;for(_Q3=0;_Q3<_xZ1;_Q3++){this._yZ1(_VO1[_Q3],_rZ1,_sY1)}return _sY1};Font.prototype._yZ1=function(_zZ1,_rZ1,_sY1){var _AZ1=function(_uf,_BZ1){return document._CY1.getComputedStyle(_uf,null).getPropertyValue(_BZ1)};var _Q3,_Pa,_CZ1,_av,_wl1;var _DZ1=document.createElement("div");_DZ1.style.position="absolute";_DZ1.style.opacity=0;_DZ1.style.font=_rZ1+"px '"+this._Qx+"'";var _fU1=10;_DZ1.innerHTML=_zZ1;for(_Q3=1;_Q3<_fU1;_Q3++){_DZ1.innerHTML+="<br/>"+_zZ1}document.body.appendChild(_DZ1);_sY1._uY1=1.2*_rZ1;
var _EZ1=_AZ1(_DZ1,"height");_EZ1=_EZ1.replace("px","");if(_EZ1>=_rZ1*_fU1){_sY1._uY1=(_EZ1/_fU1)|0}document.body.removeChild(_DZ1);if(/^_FZ1*$/.test(_zZ1)){return _sY1}var canvas=this.canvas,_Vc=this.context,_hZ1=this._yY1?1000:this._sY1._tY1,_S3=_hZ1,_T3=_hZ1,_GZ1=_hZ1/2,padding=50,_HZ1=(_hZ1-_sY1.width)/2;if(_HZ1!==(_HZ1|0)){_HZ1=_HZ1|0}_Vc.fillStyle="white";_Vc.fillRect(-padding,-padding,_S3+2*padding,_T3+2*padding);_Vc.fillStyle="black";_Vc.fillText(_zZ1,_HZ1,_GZ1);var _IZ1=(_sY1.width+padding)|0,
_JZ1=4*_rZ1,_KZ1=_HZ1-padding/2,_LZ1=_GZ1-_JZ1/2,_Kx1=_Vc.getImageData(_KZ1,_LZ1,_IZ1,_JZ1).data;_Q3=0;_Pa=0;_CZ1=_IZ1*4;_av=_Kx1.length;_wl1=_JZ1/2;while(++_Q3<_av&&_Kx1[_Q3]===255){}var _vY1=(_Q3/_CZ1)|0;_Q3=_av-1;while(--_Q3>0&&_Kx1[_Q3]===255){}var _wY1=(_Q3/_CZ1)|0;for(_Q3=0,_Pa=0;_Pa<_IZ1&&_Kx1[_Q3]===255;){_Q3+=_CZ1;if(_Q3>=_av){_Pa++;_Q3=(_Q3-_av)+4}}var _sZ1=_Pa;var _JZ=1;for(_Q3=_av-3,_Pa=0;_Pa<_IZ1&&_Kx1[_Q3]===255;){_Q3-=_CZ1;if(_Q3<0){_Pa++;_Q3=(_av-3)-(_JZ++)*4}}var _tZ1=_IZ1-_Pa;_sY1._vY1=(_wl1-_vY1);
_sY1._wY1=(_wY1-_wl1);_sY1._AQ1={_sZ1:_sZ1-(padding/2),_tZ1:_tZ1-(padding/2),_uZ1:-_sY1._wY1,_vZ1:_sY1._vY1};_sY1.height=1+(_wY1-_vY1);return _sY1};Object.defineProperty(Font.prototype,"src",{set:function(_OR){this._OR=_OR;this._kZ1()}});window.Font=Font}(window));function _MZ1(){}var _Na=3.14159265,_NZ1=!0,_OZ1=!1,_7T=!0,_tX=0,_PZ1=-1,_QZ1=0,_RZ1=1,_SZ1=2,_0F=0,_TZ1=-1,_UZ1=0,_1F=1,_VZ1=2,_WZ1=3,_XZ1=4,_YZ1=5,_ZZ1=6,__Z1=7,_0_1=8,_1_1=9,_2_1=10,_3_1=11,_KR=0,_4_1=-1,_5_1=0,_6_1=0,_7_1=1,_8_1=2,_LR=3,
_MR=4,_9_1=5,_a_1=6,_b_1=7,_c_1=8,_d_1=9,_wX=0,_e_1=-1,_f_1=-100,_g_1=-200,_h_1=-300,_i_1=-400,_HM=-1,_j_1=-2,_WL=-3,_4l=-4,_k_1=-5,_l_1=-7,_m_1=-6,_yG=0x000,_AG=0x100,_lY1=0x200,_n_1=0x300,_xI1=0x400,_o_1=0x500,_p_1=0x600,_iX1=0x700,_q_1=0x800,_r_1=0x900,_s_1=0xA00,_t_1=0xB00,_BG=0xC00,_u_1=0xD00,_xG=0xE00,_v_1=_n_1|1,_w_1=_n_1|2,_x_1=_n_1|3,_dX1=_iX1|1,_jX1=_iX1|2,_y_1=_iX1|3,_z_1=_iX1|4,_A_1=_iX1|5,_B_1=_iX1|6,_C_1=_iX1|7,_D_1=_iX1|8,_bI1=_iX1|9,_E_1=_iX1|10,_F_1=_iX1|11,_G_1=_iX1|14,_H_1=_iX1|15,
_I_1=_iX1|16,_J_1=_iX1|17,_K_1=_iX1|18,_L_1=_iX1|19,_M_1=_iX1|20,_N_1=_iX1|21,_O_1=_iX1|22,_P_1=_iX1|23,_Q_1=_iX1|24,_R_1=_iX1|25,_S_1=_iX1|26,_T_1=_iX1|27,_U_1=_iX1|28,_V_1=_iX1|29,_sX1=_iX1|30,_W_1=_iX1|31,_X_1=_iX1|32,_Y_1=_iX1|33,_Z_1=_iX1|34,___1=_iX1|35,_002=_iX1|36,_102=_iX1|37,_tX1=_iX1|40,_202=_iX1|41,_302=_iX1|42,_402=_iX1|43,_502=_iX1|44,_602=_iX1|45,_702=_iX1|46,_802=_iX1|47,_7a=_iX1|58,_49=_iX1|59,_902=_iX1|60,_a02=_iX1|61,_b02=_iX1|62,_c02=_iX1|63,_d02=_iX1|68,_e02=_q_1|64,_f02=_q_1|65,
_g02=_q_1|72,_h02=_q_1|73,_i02=_q_1|74,_j02=_q_1|75,_k02=_q_1|76,_l02=_q_1|77,_hG=_iX1|66,_m02=_iX1|70,_n02=_iX1|71,_sT=_iX1|72,_o02=_iX1|73,_p02=_iX1|74,_OX1=_p_1|1,_QX1=_p_1|2,_PX1=_p_1|3,_RX1=_p_1|4,_TX1=_p_1|5,_SX1=_p_1|6,_UX1=_p_1|7,_WX1=_p_1|8,_VX1=_p_1|9,_5Y1=_p_1|10,_q02=_p_1|11,_r02=_p_1|12,_6Y1=_p_1|13,_s02=_p_1|14,_t02=_p_1|15,_7Y1=_p_1|16,_u02=_p_1|17,_v02=_p_1|18,_XX1=_p_1|19,_YX1=_p_1|20,_ZX1=_p_1|21,__X1=_p_1|22,_0Y1=_p_1|23,_w02=_lY1|1,_x02=_lY1|2,_y02=_lY1|3,_z02=_lY1|4,_A02=_lY1|5,
_B02=_lY1|6,_C02=_lY1|7,_D02=_lY1|8,_E02=_lY1|9,_F02=_lY1|10,_G02=_lY1|11,_H02=_lY1|12,_I02=_u_1|1,_J02=_u_1|2,_K02=_u_1|3,_L02=_u_1|4,_M02=_u_1|5,_N02=_u_1|6,_O02=_u_1|7,_P02=_u_1|8,_Q02=_u_1|9,_R02=_u_1|10,_S02=_u_1|11,_T02=_u_1|12,_U02=_u_1|13,_V02=_u_1|65,_W02=_u_1|66,_X02=_u_1|67,_Y02=_u_1|68,_Z02=_u_1|69,__02=_u_1|70,_012=_u_1|71,_112=_u_1|72,_212=_u_1|73,_312=_u_1|74,_412=_u_1|75,_512=_u_1|76,_612=_u_1|77,_712=0,_812=1,_912=2,_a12=3,_b12=4,_c12=5,_d12=6,_e12=7,_f12=8,_g12=9,_h12=10,_i12=11,
_j12=12,_k12=13,_l12=14,_m12=0,_n12=1,_o12=2,_p12=3,_q12=4,_r12=5,_s12=6,_t12=7,_u12=8,_v12=9,_w12=10,_x12=11,_y12=16,_z12=17,_A12=18,_B12=19,_C12=21,_D12=22,_E12=23,_F12=24,_G12=25,_H12=26,_I12=27,_J12=28,_K12=31,_L12=32,_M12=33,_N12=34,_O12=36,_P12=37,_Q12=38,_R12=39,_S12=40,_T12=41,_U12=42,_V12=43,_W12=50,_X12=51,_Y12=52,_Z12=53,__12=54,_022=55,_122=56,_222=57,_322=58,_422=60,_522=61,_622=0,_722=1,_822=2,_922=3,_a22=4,_b22=5,_c22=6,_d22=7,_e22=8,_f22=9,_g22=10,_h22=11,_i22=12,_j22=64,_k22=65,
_l22=66,_m22=67,_n22=68,_o22=69,_p22=70,_q22=71,_r22=72,_s22=73,_t22=74,_u22=75,_v22=76,_w22=0,_x22=1,_y22=2,_z22=0,_A22=1,_B22=2,_C22=3,_D22=4,_E22=5,_F22=6,_G22=7,_H22=8,_I22=9,_J22=30,_K22=40,_L22=41,_M22=42,_N22=43,_O22=44,_P22=45,_Q22=46,_R22=47,_S22=50,_T22=51,_U22=52,_V22=53,_W22=54,_X22=55,_Y22=56,_Z22=57,__22=58,_032=59,_132=10,_232=11,_332=12,_432=13,_532=14,_632=15,_732=16,_832=17,_932=18,_a32=19,_b32=20,_c32=21,_d32=22,_e32=23,_f32=24,_g32=25,_h32=60,_i32=61,_j32=64,_k32=65,_l32=66,_m32=70,
_n32=71,_o32=72,_p32=_r_1|0,_q32=_r_1|1,_r32=_r_1|1,_s32=_r_1|8,_t32=_r_1|9,_u32=_r_1|13,_v32=_r_1|16,_w32=_r_1|17,_x32=_r_1|18,_y32=_r_1|19,_z32=_r_1|27,_A32=_r_1|32,_B32=_r_1|33,_C32=_r_1|34,_D32=_r_1|35,_E32=_r_1|36,_F32=_r_1|37,_G32=_r_1|38,_H32=_r_1|39,_I32=_r_1|40,_J32=_r_1|45,_K32=_r_1|46,_L32=_r_1|48,_M32=_r_1|49,_N32=_r_1|50,_O32=_r_1|51,_P32=_r_1|52,_Q32=_r_1|53,_R32=_r_1|54,_S32=_r_1|55,_T32=_r_1|56,_U32=_r_1|57,_V32=_r_1|65,_W32=_r_1|66,_X32=_r_1|67,_Y32=_r_1|68,_Z32=_r_1|69,__32=_r_1|70,
_042=_r_1|71,_142=_r_1|72,_242=_r_1|73,_342=_r_1|74,_442=_r_1|75,_542=_r_1|76,_642=_r_1|77,_742=_r_1|78,_842=_r_1|79,_942=_r_1|80,_a42=_r_1|81,_b42=_r_1|82,_c42=_r_1|83,_d42=_r_1|84,_e42=_r_1|85,_f42=_r_1|86,_g42=_r_1|87,_h42=_r_1|88,_i42=_r_1|89,_j42=_r_1|90,_k42=_r_1|112,_l42=_r_1|113,_m42=_r_1|114,_n42=_r_1|115,_o42=_r_1|116,_p42=_r_1|117,_q42=_r_1|118,_r42=_r_1|119,_s42=_r_1|120,_t42=_r_1|121,_u42=_r_1|122,_v42=_r_1|123,_w42=_r_1|145,_x42=_r_1|186,_y42=_r_1|187,_z42=_r_1|188,_A42=_r_1|189,_B42=_r_1|190,
_C42=_r_1|191,_D42=_r_1|192,_E42=_r_1|219,_F42=_r_1|220,_G42=_r_1|221,_H42=_r_1|222,_I42=_r_1|223,_J42=_r_1|144,_K42=_r_1|96,_L42=_r_1|97,_M42=_r_1|98,_N42=_r_1|99,_O42=_r_1|100,_P42=_r_1|101,_Q42=_r_1|102,_R42=_r_1|103,_S42=_r_1|104,_T42=_r_1|105,_U42=_r_1|106,_V42=_r_1|107,_W42=_r_1|109,_X42=_r_1|110,_Y42=_r_1|111,_Z42=_o_1|0,__42=_o_1|1,_052=_o_1|1,_152=_o_1|8,_252=_o_1|9,_352=_o_1|13,_452=_o_1|16,_552=_o_1|17,_652=_o_1|18,_752=_o_1|19,_852=_o_1|27,_952=_o_1|32,_a52=_o_1|33,_b52=_o_1|34,_c52=_o_1|35,
_d52=_o_1|36,_e52=_o_1|37,_f52=_o_1|38,_g52=_o_1|39,_h52=_o_1|40,_i52=_o_1|45,_j52=_o_1|46,_k52=_o_1|48,_l52=_o_1|49,_m52=_o_1|50,_n52=_o_1|51,_o52=_o_1|52,_p52=_o_1|53,_q52=_o_1|54,_r52=_o_1|55,_s52=_o_1|56,_t52=_o_1|57,_u52=_o_1|65,_v52=_o_1|66,_w52=_o_1|67,_x52=_o_1|68,_y52=_o_1|69,_z52=_o_1|70,_A52=_o_1|71,_B52=_o_1|72,_C52=_o_1|73,_D52=_o_1|74,_E52=_o_1|75,_F52=_o_1|76,_G52=_o_1|77,_H52=_o_1|78,_I52=_o_1|79,_J52=_o_1|80,_K52=_o_1|81,_L52=_o_1|82,_M52=_o_1|83,_N52=_o_1|84,_O52=_o_1|85,_P52=_o_1|86,
_Q52=_o_1|87,_R52=_o_1|88,_S52=_o_1|89,_T52=_o_1|90,_U52=_o_1|112,_V52=_o_1|113,_W52=_o_1|114,_X52=_o_1|115,_Y52=_o_1|116,_Z52=_o_1|117,__52=_o_1|118,_062=_o_1|119,_162=_o_1|120,_262=_o_1|121,_362=_o_1|122,_462=_o_1|123,_562=_o_1|145,_662=_o_1|186,_762=_o_1|187,_862=_o_1|188,_962=_o_1|189,_a62=_o_1|190,_b62=_o_1|191,_c62=_o_1|192,_d62=_o_1|219,_e62=_o_1|220,_f62=_o_1|221,_g62=_o_1|222,_h62=_o_1|223,_i62=_o_1|144,_j62=_o_1|96,_k62=_o_1|97,_l62=_o_1|98,_m62=_o_1|99,_n62=_o_1|100,_o62=_o_1|101,_p62=_o_1|102,
_q62=_o_1|103,_r62=_o_1|104,_s62=_o_1|105,_t62=_o_1|106,_u62=_o_1|107,_v62=_o_1|109,_w62=_o_1|110,_x62=_o_1|111,_y62=_s_1|0,_z62=_s_1|1,_A62=_s_1|1,_B62=_s_1|8,_C62=_s_1|9,_D62=_s_1|13,_E62=_s_1|16,_F62=_s_1|17,_G62=_s_1|18,_H62=_s_1|19,_I62=_s_1|27,_J62=_s_1|32,_K62=_s_1|33,_L62=_s_1|34,_M62=_s_1|35,_N62=_s_1|36,_O62=_s_1|37,_P62=_s_1|38,_Q62=_s_1|39,_R62=_s_1|40,_S62=_s_1|45,_T62=_s_1|46,_U62=_s_1|48,_V62=_s_1|49,_W62=_s_1|50,_X62=_s_1|51,_Y62=_s_1|52,_Z62=_s_1|53,__62=_s_1|54,_072=_s_1|55,_172=_s_1|56,
_272=_s_1|57,_372=_s_1|65,_472=_s_1|66,_572=_s_1|67,_672=_s_1|68,_772=_s_1|69,_872=_s_1|70,_972=_s_1|71,_a72=_s_1|72,_b72=_s_1|73,_c72=_s_1|74,_d72=_s_1|75,_e72=_s_1|76,_f72=_s_1|77,_g72=_s_1|78,_h72=_s_1|79,_i72=_s_1|80,_j72=_s_1|81,_k72=_s_1|82,_l72=_s_1|83,_m72=_s_1|84,_n72=_s_1|85,_o72=_s_1|86,_p72=_s_1|87,_q72=_s_1|88,_r72=_s_1|89,_s72=_s_1|90,_t72=_s_1|112,_u72=_s_1|113,_v72=_s_1|114,_w72=_s_1|115,_x72=_s_1|116,_y72=_s_1|117,_z72=_s_1|118,_A72=_s_1|119,_B72=_s_1|120,_C72=_s_1|121,_D72=_s_1|122,
_E72=_s_1|123,_F72=_s_1|145,_G72=_s_1|186,_H72=_s_1|187,_I72=_s_1|188,_J72=_s_1|189,_K72=_s_1|190,_L72=_s_1|191,_M72=_s_1|192,_N72=_s_1|219,_O72=_s_1|220,_P72=_s_1|221,_Q72=_s_1|222,_R72=_s_1|223,_S72=_s_1|144,_T72=_s_1|96,_U72=_s_1|97,_V72=_s_1|98,_W72=_s_1|99,_X72=_s_1|100,_Y72=_s_1|101,_Z72=_s_1|102,__72=_s_1|103,_082=_s_1|104,_182=_s_1|105,_282=_s_1|106,_382=_s_1|107,_482=_s_1|109,_582=_s_1|110,_682=_s_1|111,_782=0,_882=1,_982=2,_a82=[],_kY1=12,_b82=8,_c82=8,_d82=8,_6y=10,_VB=0x000000,_e82=0x000080,
_f82=0x008000,_g82=0x008080,_h82=0x800000,_i82=0x800080,_j82=0x808000,_k82=0x808080,_l82=0xC0C0C0,_kD1=0x0000FF,_m82=0x00FF00,_n82=0x00FFFF,_lD1=0xFF0000,_o82=0xFF00FF,_p82=0xFFFF00,_q82=0xC0C0C0,_r82=0x808080,_s82=0xFFFFFF,_t82=0xC0DCC0,_u82=0xF0CAA6,_v82=0xF0FBFF,_w82=0xA4A0A0,_x82=-1,_7S=0,_mi=1,global=null,_29=null,_eE=null,_qi=null,__I=null,_q6=null,_bv=null,_y82=null,_4k=null,_gx=null,_xk=null,_MT=null,_zJ=null,_qX1=null,_QI1=null,_YO=null,_wy=null,_Jv=null,_z82=null,_h9=null,_A82=null,_1i=null,
_B82=null,_C82=null,_D82=null,_E82=null,_Ri=null,_F82=null,_eN=null,_3j=null,_G82=null,_wM=null,_oj=null,_H82=null,_Jk=null,_I82=null,_5Y=null,_8y=null,_7y=null,_J82=null,_cy=null,_K82=null,_L82=null,_M82=null,_N82=null,_O82=null,_P82=null,_Sb=null,_Ww=null,_5i=null,_vC=null,_tE=null,_fV=null,_gV=null,_iV=null,_hV=null,_Q82=null,_JD=null,_R82=null,_S82=null,_T82=null,_U82=null,_7R=null,_V82=null,g_WebAudioContext=null,_Vv=null,_qv=null,_W82=null,_rX=null,_X82=null,g_GameMakerHTML5Dir=undefined,_Y82=undefined,
_Z82=undefined,gml_Script_gmcallback_html5_set_load_location=undefined,__82="",g_yyPrePostObject__=undefined,_li=_7S,_092=!0,_192=!0,_nG=!1,_4X1=!1,_292=!1,_SR=!1,_RR=!1,__S=!1,_6v=!1,_392=!1,_8V=!1,_492=!1,_592=!1,_692=!1,_792=!1,_sv=!1,_892=!1,_992=!1,_a92=!1,_b92=0,_cQ=0,_c92=0,_d92=0,_e92=0,_f92=0,_gW=0,_hW=0,_jW=0,_kW=0,_iW=0,_lW=0,_g92=0,_h92=0,_i92=0,_Oe=0,_Pe=0,_tx=0,_SA=0,_OA=0,_wB=0,_yB=0,_mW=0,_nW=0,_j92=0,_k92=0,_l92=0,_m92=0,_n92=0,_o92=0,_p92=0,_q92=0,_kv=0,_r92=0,_s92=0,_t92=0,_u92=0,
_v92=0,_w92=0,_NE=0,_x92=0,_y92=0,_z92=0,_A92=0,_aW=0,_B92=0,_Br=0,_C92=0,_D92=0,_E92=0,_Tz=0,_Rz=0,_Xz=!1,_Yz=-1,_Zz=-1,__z=1,_0A=1,_qE=!0,_F92=0,_G92=0,_H92=0,_I92=0,_J92=0,_K92=0,_L92=0,_M92=0,_N92=0,_O92=0,_P92=0,_Q92=0,_R92=0,_S92=0,_T92=0,_U92=0,_V92=0,_W92=0,_X92=0,_Y92=0,_Z92=0,__92=0,_GW1=0,_0a2=0,_1a2=0,_2a2=0,_3a2=0,_4a2=0,_5a2=0,_6a2=0,_7a2=0,_8a2=0,_j9=0,_9a2=[],_nv='canvas',_aa2='0123456789ABCDEF';function _ba2(){var debug=false;if((_bv._o5)&&(_bv._o5._p5)&&(_bv._o5._p5===true)){debug=true}
}function _ca2(){_9a2=[];var _da2=0xEDB88320;for(var _Q3=0;_Q3<256;++_Q3){var _ea2=~~_Q3;for(var _Pa=8;_Pa>0;--_Pa){if((_ea2&1)!==0){_ea2=((_ea2>>1)&0x7fffffff)^_da2}else {_ea2>>=1;_ea2&=0x7fffffff}}_9a2[_Q3]=_ea2}}function _fa2(){_ca2();_ga2();if(_li!=_x82){try{var _ha2=new Audio();_ha2.controls=false;_SR=!!_ha2.canPlayType&&_ha2.canPlayType('audio/mpeg')!=="";_RR=!!_ha2.canPlayType&&_ha2.canPlayType('audio/ogg; codecs="vorbis"')!=="";_ha2=null}catch(e){_SR=false;_RR=false}}if(_SR)debug("Browser CAN play MP3");
if(_RR)debug("Browser CAN play OGG");_ba2();_W82=_b92=0;_h9=null;_4X1=false;_cQ=-1;_gV=new _ia2();_iV=new _ia2();_A82=new _ia2();_A82._rX1=0;_X82=new _ia2();_hV=new _ia2();_tE=new __v();_vC=new __v();_fV=new __v();_A82._Y3=true;_X82._Y3=true;_1i=[];_1i[0]=_A82;_C82=[];_D82=[];_E82=[];_Ri=new _3P(5);_F82=new _3P(5);_eN=new _3P(5);_3j=new _3P(5);_G82=new _3P(5);_wM=new _3P(5);_oj=new _3P(5);_Jk=new _3P(5);_H82=new _3P(5);_I82=new _Pk();_Ww=new _3P(5);_5i=new __v();_JD=new _ja2();_JD._ka2="DUMMY INSTANCE";_a82[0]=-1;_a82[1]=0;
_a82[2]=0x00000000;_a82[3]=1;_a82[4]=0;_a82[5]=0x00000000;_a82[6]=0;_a82[7]=-1;_a82[8]=0x00000000;_a82[9]=0;_a82[10]=1;_a82[11]=0x00000000;_a82[12]=0;_a82[13]=0;_a82[14]=0xffffffff;_nv="canvas";_Sb="html5game/";if(typeof(g_GameMakerHTML5Dir)!="undefined"){_Sb=g_GameMakerHTML5Dir}else {if(_bv._o5&&_bv._o5._N5){_Sb=_bv._o5._N5+'/'}}_5Y=[];_8y=[];_7y=[];_J82="Hiscore Table";_cy="<Nobody>";_K82="Press <ESC> to Continue";_m92=0x000000;_q92=-1;_n92=0xffff00;_o92=0xffffff;_L82="verdana";_p92=16;_M82="";
_092=true;_by();_Tz=-1;_Rz=-1;_Jk._la2();_g92=0.0000001;_A92=512;_Vv=[];_8V=_992=false;_192=true;_sv=false;_T82=_r92=null;_s92=_t92=-1;_NE=0;_i92=1.0;_c92=0;_d92=-1;_e92=0;_kv=0;_f92=0;_l92=10000000;_h92=100000;_Oe=1.0;if(_j9){_s6(_bv._o5._ma2)}else {_tx=0x00000000;_Pe=0x000000;_SA=_TA(_Pe);_OA=_Wk(_Pe,_Oe)}_GW1=_TA(0x000000);_0a2=_TA(0xffffff);_1a2=_TA(0x0000ff);_2a2=_TA(0x00ff00);_3a2=_TA(0xff0000);_4a2=_TA(0xff000000);_5a2=_TA(0xffffffff);_6a2=_TA(0xff0000ff);_7a2=_TA(0xff00ff00);_8a2=_TA(0xffff0000);
_F92=0;_G92=-1;_H92=-2;_I92=-3;_J92=-4;_K92=-6;_L92=-7;_M92=-8;_N92=-9;_O92=-10;_P92=-11;_Q92=-12;_R92=-13;_S92=-14;_T92=-15;_U92=-16;_V92=-17;_W92=-18;_X92=-19;_Y92=-20;_Z92=-21;__92=-22;_D92=-1;_C92=_bv._o5._B5?_F92:_G92;_E92=0;_na2();if(_bv._o5&&_bv._o5._B5===false){canvas.style.cursor="none"}_592=false;if(_bv._o5&&_bv._o5._Q5===true){_592=true}if(typeof gmlGlobalInit=='function'){gmlGlobalInit()}}function _oa2(_pa2){return _pa2*(Math.PI/180.0)}function _qa2(_N9,_O9){if(_N9===0)return 0;var _Ka=((_N9*0x1000000)%(_O9*0x1000000));
_Ka=_Ka/0x1000000;return _Ka}function _Ur(_N9){return _N9*_N9}function _TA(_5f){var _1c="rgb("+((_5f>>16)&0xff).toString()+","+((_5f>>8)&0xff).toString()+","+(_5f&0xff).toString()+")";return _1c}function _Wk(_5f,_Re){var _1c="rgba("+((_5f>>16)&0xff).toString()+","+((_5f>>8)&0xff).toString()+","+(_5f&0xff).toString()+","+((_Re*255.0)&0xff).toString()+")";return _1c}function _ra2(_pa2){return _Na*_pa2/180.0}function _Se(_5f){return(((_5f&0xff)<<16)|(_5f&0xff00)|((_5f&0xff0000)>>16));}function _3l(_0l,_lj,_2l,_SP){
var _hj,_dE,_9E,_Ia;var _gc=arguments;var _cj=arguments.length;var _sa2=_gc[_cj-1];_lj=~~_lj;if(_lj==_4l)return _SP;if(_lj==_WL){_hj=_eE._yM();for(_9E=0;_9E<_hj.length;_9E++){_dE=_hj[_9E];if((_2l)&&(_dE==_0l))continue;if(_dE._TP)continue;_Ia=_sa2(_dE);if(_Ia>0)return _Ia}}else if(_lj<100000){var _aE=_29._Si(_lj);if(_aE===null){return _SP}_hj=_aE._bE();for(_9E=0;_9E<_hj.length;_9E++){_dE=_hj[_9E];if((_2l)&&(_0l==_dE))continue;if(_dE._TP)continue;_Ia=_sa2(_dE);if(_Ia>0)return _Ia}}else {_dE=_eE._ta2(_lj);if((_2l)&&(_0l==_dE)){
return _SP}if(_dE._TP){return _SP}return _sa2(_dE)}return _SP}/*@constructor */function _ua2(){/*@this {BrowserDetect} */this.init=function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this._3F=this._va2();this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this._wa2=this.searchString(this.dataOS)||"an unknown OS";this._xa2=this._ya2()},/*@this {BrowserDetect} */this._va2=function(){var _za2=navigator.userAgent.toString().toLowerCase();
if(_za2.indexOf("trident/5")>-1){return 9.0}else if(_za2.indexOf("trident/6")>-1){return 10.0}else if(_za2.indexOf("trident/7")>-1){return 11.0}return -1},/*@this {BrowserDetect} */this._ya2=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 _e_1}},/*@this {BrowserDetect} */this.searchString=function(data){for(var _Q3=0;_Q3<data.length;_Q3++){var _Aa2=data[_Q3]._F6;var _Ba2=data[_Q3].prop;this.versionSearchString=data[_Q3].versionSearch||data[_Q3].identity;if(_Aa2){if(_Aa2.indexOf(data[_Q3]._Ca2)!=-1){return data[_Q3].identity}}else if(_Ba2){return data[_Q3].identity}}},/*@this {BrowserDetect} */this.searchVersion=function(_Aa2){var index=_Aa2.indexOf(this.versionSearchString);
if(index==-1)return;return parseFloat(_Aa2.substring(index+this.versionSearchString.length+1))},this.dataBrowser=[{_F6:navigator.userAgent,_Ca2:"Tizen",identity:"Tizen"},{_F6:navigator.userAgent,_Ca2:"Edge",identity:"Edge"},{_F6:navigator.userAgent,_Ca2:"Chrome",identity:"Chrome"},{_F6:navigator.userAgent,_Ca2:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{_F6:navigator.vendor,_Ca2:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{_F6:navigator.userAgent,
_Ca2:"KHTML",identity:"KHTML",versionSearch:"Mozilla/"},{_F6:navigator.vendor,_Ca2:"iCab",identity:"iCab"},{_F6:navigator.vendor,_Ca2:"KDE",identity:"Konqueror"},{_F6:navigator.userAgent,_Ca2:"Firefox",identity:"Firefox"},{_F6:navigator.userAgent,_Ca2:"IceWeasel",identity:"IceWeasel"},{_F6:navigator.vendor,_Ca2:"Camino",identity:"Camino"},{_F6:navigator.userAgent,_Ca2:"Netscape",identity:"Netscape"},{_F6:navigator.userAgent,_Ca2:"IEMobile",identity:"IEMobile"},{_F6:navigator.userAgent,_Ca2:"MSIE",
identity:"Explorer",versionSearch:"MSIE"},{_F6:navigator.userAgent,_Ca2:"Trident/",identity:"Explorer",versionSearch:"rv"},{_F6:navigator.userAgent,_Ca2:"Gecko",identity:"Mozilla",versionSearch:"rv"}],this.dataOS=[{_F6:navigator.userAgent,_Ca2:"Phone 8",identity:"WindowsPhone8"},{_F6:navigator.platform,_Ca2:"Win",identity:"Windows"},{_F6:navigator.platform,_Ca2:"Mac",identity:"Mac"},{_F6:navigator.userAgent,_Ca2:"iPhone",identity:"iPhone"},{_F6:navigator.userAgent,_Ca2:"iPod",identity:"iPhone"},
{_F6:navigator.userAgent,_Ca2:"iPad",identity:"iPad"},{_F6:navigator.userAgent,_Ca2:"Android",identity:"Android"},{_F6:navigator.userAgent,_Ca2:"Tizen",identity:"Tizen"},{_F6:navigator.platform,_Ca2:"Linux",identity:"Linux"}]};var _2F=new _ua2();function _ga2(){_2F.init();if(_2F._wa2=="Windows"){_KR=_5_1}else if(_2F._wa2=="Mac"){_KR=_7_1}else if(_2F._wa2=="iPhone"){_KR=_LR}else if(_2F._wa2=="iPad"){_KR=_LR}else if(_2F._wa2=="Android"){_KR=_MR}else if(_2F._wa2=="Linux"){_KR=_a_1}else if(_2F._wa2=="Tizen"){
_KR=_c_1}else if(_2F._wa2=="WindowsPhone8"){_KR=_b_1}else {_KR=_4_1}if(_2F._wa2!==""){debug(_2F._wa2+" Detected("+_KR+")")}_wX=_2F._xa2;_0F=_UZ1;_tX=_PZ1;if(_2F.browser=="Explorer"){debug("Internet Explorer detected");_0F=_1F}else if(_2F.browser=="Explorer"){debug("Internet Explorer detected");_0F=_1F}else if(_2F.browser=="Edge"){debug("Microsoft Edge detected");_0F=_3_1}else if(_2F.browser=="IEMobile"){debug("IE Mobile detected");_0F=_2_1}else if(_2F.browser=="Firefox"){debug("Firefox detected");_0F=_VZ1}
else if(_2F.browser=="Chrome"){debug("Chrome detected");_0F=_WZ1}else if(_2F.browser=="Safari"){if(_KR==_LR){_0F=_YZ1;_tX=_QZ1;if(_2F._wa2=="iPad")_tX=_SZ1;debug("Safari mobile detected")}else {debug("Safari detected");_0F=_XZ1}}else if(_2F.browser=="Opera"){debug("BrowserDetect: "+_ua2._wa2);debug("Opera detected");_0F=_ZZ1}else if(_2F.browser=="KHTML"){debug("Default Android browser detected");debug("OS: "+_wX);_0F=__Z1}else if(_2F.browser=="Tizen"){_0F=_TZ1}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==_bv._o5._S5){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. "+_Yv(13)+_Yv(13)+"Please check the FAQ for more details. "+_Yv(13)+_Yv(13)+"http://help.yoyogames.com/entries/40534573");
}}}var _Da2=0;var _YS=0;var _Ea2=0;var _Fa2=0;var _Ga2=null;var _Ha2=null;var _Ia2=0,_Ja2=1,_Ka2=2,_La2=3;function _Ma2(){global=new _MZ1();_q6=new _Na2();_qi=new _Oa2();_ig=new _Ng();_Pa2(canvas);_eE=new _Qa2();_29=new _Ra2();__I=new _Sa2();_MT=new _Ta2();_xk=new _Ua2();_4k=new _Va2();_gx=new _Wa2();_QI1=[];_YO=new _Xa2();_wy=new _Ya2();_Jv=new _Za2();_zJ=new _lI();_qX1=new _yC();_fa2();if(_j9){_qX1._BD();__a2()}}function _0b2(_1b2){switch(_1b2){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 _2b2(_1b2){switch(_1b2){case _Ia2:return "NETWORK_EMPTY";case _Ja2:return "NETWORK_IDLE";case _Ka2:return "NETWORK_LOADING";case _La2:return "NETWORK_NO_SOURCE"}return "Unknown Error"}/*@this {XMLHttpRequest} */function _3b2(_5F){debug("ImageLoaded: "+this.src);_YS++}/*@this {XMLHttpRequest} */function _4b2(_5F){debug("ImageError: "+this.src);_YS++}/*@this {XMLHttpRequest} */function _5b2(_5F){_Fa2++;debug("ExtensionLoaded: ")}/*@this {XMLHttpRequest} */function _6b2(_5F){
_Fa2++;debug("ExtensionError: ")}function ClearEventListeners(_1k){_1k.removeEventListener('canplaythrough',_7b2,false);_1k.removeEventListener('error',_8b2,false);_1k.removeEventListener("loadstart",_9b2,false);_1k.removeEventListener("suspend",_ab2,false);_1k.removeEventListener("stalled",_bb2,false);_1k.removeEventListener("stall",_bb2,false)}/*@this {XMLHttpRequest} */function _7b2(_5F){this.completed=true;if(_Ha2[this.URL]!==null){_Ha2[this.URL]=null;_YS++}ClearEventListeners(this);debug("SoundLoaded: "+this.URL)}
/*@this {XMLHttpRequest} */function _8b2(_5F){debug("SoundError: "+this.URL+"   NetworkError: "+_0b2(this.error["code"]));this.completed=false;if(_Ha2[this.URL]!==null){_Ha2[this.URL]=null;_YS++}ClearEventListeners(this)}/*@this {XMLHttpRequest} */function _9b2(_5F){this._cb2=true}/*@this {XMLHttpRequest} */function _ab2(_5F){debug("SoundSuspended: "+this.URL);this.completed=true;if(_Ha2[this.URL]!==null){_Ha2[this.URL]=null;_YS++}ClearEventListeners(this)}function _bb2(_5F){}function _db2(_eb2){debug("Loading: "+_eb2);
var index=_Rb(_eb2);var _Ok=new _Pk();_Ok.x=0;_Ok.y=0;_Ok._S3=63;_Ok._T3=63;_Ok._g5=-32;_Ok._h5=-32;_Ok._i5=63;_Ok._j5=63;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;_Ok._m5=index;_Ok._Hb=_Ib[index];_Ok._Eb=[];_Ok._Gb=32;_Ok._Fb=0;var _fb2=_C82.length;_C82[_fb2]=_Ok;return _fb2}function _gb2(_AE){debug("Loading: "+_Sb+_AE);var e=window.document.createElement('script');e.setAttribute('src',_Sb+_AE);e.setAttribute('type',"text/javascript");e.onload=_5b2;e.onerror=_6b2;window.document.body.appendChild(e);_Ea2++}function _hb2(_vT){
if(_vT._13!==undefined){for(var _Q3=0;_Q3<_vT._13.length;_Q3++){var _ib2=_vT._13[_Q3];if(_ib2._jb2){for(var _ow=0;_ow<_ib2._jb2.length;_ow++){_gb2(_ib2._jb2[_ow])}}}}}function _kb2(_vT){_Ha2=[];_Ea2=0;_Fa2=0;_hb2(_vT)}function _lb2(_eb2){_Da2++;var _dG=new XMLHttpRequest();_dG.open('GET',_QR(_eb2),true);_dG.send();_dG.onload=function(_fG){_YS++;_MT._mb2(_dG.responseText)};_dG.onerror=function(_fG){_YS++}}function _nb2(_eb2){_Da2++;var _dG=new XMLHttpRequest();_dG.open('GET',_QR(_eb2),true);_dG.responseType='arraybuffer';
_dG.send();_dG.onload=function(_fG){_YS++;_MT._ob2(_dG.response||_dG.responseText)};_dG.onerror=function(_fG){_YS++}}var _Ox;function _pb2(_Mb,_P61,_qb2){return _qb2};function _rb2(_vT){var _Ka,id;if(_vT._sb2)document.title=_vT._sb2;if(typeof(gml_Script_gmcallback_html5_set_load_location)!='undefined'){_Ox=gml_Script_gmcallback_html5_set_load_location}else _Ox=_pb2;_Ga2=document.getElementById('GM4HTML5_loadingscreen');_kb2(_vT);__82=_tb2;_YS=0;for(var index=0;index<_vT._n5.length;index++){_Da2++;debug("Loading: "+_Sb+_vT._n5[index]);
_Ka=_Rb(_Sb+_vT._n5[index]);_Ib[_Ka].onload=_3b2;_Ib[_Ka].onerror=_4b2;_Ib[_Ka].URL=_vT._n5[index]}if((_vT._ub2!==null)&&(_vT._ub2!==undefined)){_nb2(_vT._ub2)}if((_vT._vb2!==null)&&(_vT._vb2!==undefined)){_lb2(_vT._vb2)}if(true==_bv._o5._R5){for(var _Q3=2;_Q3<16;_Q3++){_Da2++;var _KA=_db2(_Sb+"particles/IDR_GIF"+_Q3+".png");_Ka=_C82[_KA]._m5;_Ib[_Ka].onload=_3b2;_Ib[_Ka].onerror=_4b2;_Ib[_Ka].URL="particles/IDR_GIF"+_Q3+".png"}}if(_li==_mi){for(index=0;index<_vT._23.length;index++){if(_vT._23[index]!==null){
var _93=0;if(_vT._23[index]._93!==undefined){_93=_vT._23[index]._93}if(_93==0){_Da2++;debug("Loading: "+_Sb+_vT._23[index]._63);if((_vT._23[index]._43===0)||((_KR==_LR||_KR==_MR)&&_vT._23[index]._43>=0&&_vT._23[index]._43<=3)){id=_5T(_Sb+_vT._23[index]._63,index,_vT._23[index]._53);if(id===undefined){_Da2--}}else if((_vT._23[index]._43==3)||(_vT._23[index]._43==1)){_0T(_Sb+_vT._23[index]._63,index,_vT._23[index]._53);_Da2--}else {debug("Attempting to load sound with unknown type: "+_vT._23[index]._43);
_Da2--}}}}}else if(_li==_7S){for(index=0;index<_vT._23.length;index++){if(_vT._23[index]!==null){_Da2++;debug("Loading: "+_Sb+_vT._23[index]._63);id=_wb2(_Sb+_vT._23[index]._63,_vT._23[index]._33,_vT._23[index]._53,_7b2,_8b2);if((id!==undefined)&&(_bT[id])&&(_bT[id].URL)){_Ha2[_bT[id].URL]=_bT[id]}else {_Da2--}}}}}function _xb2(){for(var _Q3 in _Ha2){if(!_Ha2.hasOwnProperty(_Q3))continue;var _yb2=_Ha2[_Q3];if(_yb2){if((_yb2.networkState!==null&&_yb2.networkState!==undefined)&&(_yb2.readyState!==null&&_yb2.readyState!==undefined)){
if((_yb2.networkState==_Ja2||_yb2.networkState==_La2)&&(_yb2._cb2)&&(_yb2.readyState!=4)){if(_yb2.completed!==true){_yb2.completed=false;_YS++;_Ha2[_Q3]=null;ClearEventListeners(_yb2);debug("SoundError: "+_yb2.URL+"   NetworkState: "+_2b2(_yb2.networkState))}}}}}}function _zb2(_Ab2,_aE){if(_aE._Bb2)return;if(_aE._ov!==null){_zb2(_aE._ov._TG,_aE._ov)}for(var _Cb2 in _aE._Db2){if(!_aE._Db2.hasOwnProperty(_Cb2))continue;if(_QI1[_Cb2]){if(_QI1[_Cb2][_Ab2]){continue }}var _xu=false;var _Eb2=_aE;while(_Eb2!==null){
var id=_Eb2._TG;var _Fb2=_29._Si(_Cb2);while(_Fb2!==null){var _Gb2=_Fb2._TG;if(_QI1[_Gb2]&&_QI1[_Gb2][id]){_xu=true;break }_Fb2=_Fb2._ov}_Eb2=_Eb2._ov}if(!_xu){if(!_QI1[_Ab2]){_QI1[_Ab2]=[]}_QI1[_Ab2][_Cb2]=_Cb2}}_aE._Bb2=true}function _Hb2(){var _hj=_29._yM();for(var _Ab2=0;_Ab2<_hj.length;_Ab2++){var _aE=_hj[_Ab2];if(_aE._ov!==null){_zb2(_aE._ov._TG,_aE._ov)}_zb2(_Ab2,_aE)}}function _Ib2(_vT){var index,_7Q,_Q3;_h92=1000000;_q6._Jb2=_vT._o5._x5;_aW=_vT._o5._P5;_392=_vT._o5._C5;_rX=_vT._o5._O5;_q6._Kb2=_Lb2();
_q6._Mb2=_vT._o5._V5;_q6._Nb2=_vT._o5._V5;_q6._Ob2=_Sb;_q6._Pb2=_Lb2();if(_tb)_q6._Qb2=true;_Q82=new _Rb2(_vT._V3);_y92=_vT._o5._U5;var id=0;for(var index=0;index<_vT._W3.length;index++){var _uz=_vT._W3[index];if(_uz!==null){var _JG=_Sb2(id,_uz);_29._4j(_JG)}id++}_29._Tb2();_Hb2();_Ub2(_vT._f5);for(index=0;index<_vT._b3.length;index++){if(_vT._b3[index]===null){_MT._2U(null)}else {var _Vb2=_Wb2(_vT._b3[index]);_MT._2U(_Vb2)}}for(index=0;index<_vT._q3.length;index++){var _Wc=_xk._Xb2(_vT._q3[index]);var _gU=_xk._yk(_Wc);
if(_gU!==null)_gU._6U=_Yb2}for(index=0;index<_vT._H3.length;index++){_gx._4j(_vT._H3[index])}for(var index=0;index<_vT._V4.length;index++){var _Zb2=_vT._V4[index];if(_Zb2!==null){_7Q=new __b2();_7Q._0c2(_Zb2);__I._4j(_7Q)}else {_b92++;__I._4j(null)}}_y92=_vT._o5._T5;__I._1c2(_vT._e5);for(_Q3=0;_Q3<_vT._e5.length;_Q3++){_7Q=__I._2c2(_Q3);_7Q._3c2=_Q3}_q6._4c2=__I._2c2(0).id;_q6._5c2=__I._2c2(__I._6c2.length-1).id;for(index=0;index<_vT._y3.length;index++){var _XO=_7c2(_vT._y3[index]);_YO._4j(_XO)}for(index=0;
index<_vT._23.length;index++){_4k._4j(_vT._23[index])}if(_vT._U3!==undefined){for(index=0;index<_vT._U3.length;index++){_wy._4j(_vT._U3[index])}}_by();_2y();if(typeof gmlConst=='function'){_U82=new gmlConst()}if(typeof __5=='function'){__5()}if(_vT._13!==undefined){for(_Q3=0;_Q3<_vT._13.length;_Q3++){var _ib2=_vT._13[_Q3];if(_ib2.init!=undefined){try{var _8c2=eval(_ib2.init);if(_8c2)_8c2()}catch(_9y){_Ti("Error calling extension initialisation function: "+_ib2.init);_Ti("exception: "+_9y.toString())}
}else if(_ib2._9c2!=undefined){for(var _Pa=0;_Pa<_ib2._9c2.length;_Pa++){try{var _8c2=eval(_ib2._9c2[_Pa]);if(_8c2)_8c2()}catch(_9y){_Ti("Error calling extension initialisation function: "+_ib2._9c2[_Pa]);_Ti("exception: "+_9y.toString())}}}}}}function _na2(){try{if(('localStorage' in window)&&(window['localStorage']!==null)){_nG=true}}catch(e){_nG=false}return _nG}function _Lb2(){var _ac2="";if(_bv._o5._V5!==null&&_bv._o5._V5!==undefined){for(var _Q3=0;_Q3<_bv._o5._V5.length;_Q3++){var _Yv=_bv._o5._V5[_Q3];
if((_Yv>='a'&&_Yv<='z')||(_Yv>='A'&&_Yv<='Z')||(_Yv>='0'&&_Yv<='9')||(_Yv==='_')){_ac2=_ac2+_bv._o5._V5[_Q3]}}}if(_ac2.length===0){_ac2="GameMaker"}return _ac2+"."+_q6._Jb2+"."}function _bc2(_Zw){return(_q6._Pb2+_Zw)}var _Es=0;var _Is=1;var _Ms=2;var _cc2=3;var _Fs=4;var _Ar=5;var _Ns=6;var _dc2=7;var _Gs=8;var _Js=9;var _Os=10;var _ec2=11;var _Hs=12;var _Ks=13;var _Ps=14;var _fc2=15;var _gc2=0;var _hc2=1;var _ic2=2;var _jc2=3;var _kc2=4;var _lc2=5;var _mc2=6;var _nc2=7;var _oc2=8;var _pc2=9;var _qc2=10;var _rc2=11;var _sc2=12;
var _tc2=13;var _uc2=14;var _vc2=15;/*@constructor 
  * @param {Object=} _matrix Some value (optional).
*/function _7r(_dn){this._ua=new Float32Array(16);if(arguments.length>0){for(var _Q3=0;_Q3<16;_Q3++){this._ua[_Q3]=_dn._ua[_Q3]}}else {this._wc2()}}_7r.prototype.identity=function(_ud){this._ua[1]=this._ua[2]=this._ua[3]=this._ua[4]=this._ua[6]=this._ua[7]=this._ua[8]=this._ua[9]=this._ua[11]=this._ua[12]=this._ua[13]=this._ua[14]=0.0;this._ua[0]=this._ua[5]=this._ua[10]=this._ua[15]=1.0};_7r.prototype._wc2=function(_ud){
this._ua[1]=this._ua[2]=this._ua[3]=this._ua[4]=this._ua[6]=this._ua[7]=this._ua[8]=this._ua[9]=this._ua[11]=this._ua[12]=this._ua[13]=this._ua[14]=0.0;this._ua[0]=this._ua[5]=this._ua[10]=this._ua[15]=1.0};_7r.prototype._ur=function(_xc2,_yc2,_zc2){var _Ac2=new _rr(_zc2);var _Bc2=new _rr();var _Cc2=_yc2._UD(_xc2);_Cc2._Wr();_Ac2._Wr();_Bc2._Dc2(_Ac2,_Cc2);_Bc2._Wr();_Ac2._Dc2(_Cc2,_Bc2);_Ac2._Wr();var _Zr=_xc2._Ec2(_Bc2);var __r=_xc2._Ec2(_Ac2);var _0s=_xc2._Ec2(_Cc2);this._ua[_Es]=_Bc2._Zr;this._ua[_Is]=_Ac2._Zr;
this._ua[_Ms]=_Cc2._Zr;this._ua[_cc2]=0.0;this._ua[_Fs]=_Bc2.__r;this._ua[_Ar]=_Ac2.__r;this._ua[_Ns]=_Cc2.__r;this._ua[_dc2]=0.0;this._ua[_Gs]=_Bc2._0s;this._ua[_Js]=_Ac2._0s;this._ua[_Os]=_Cc2._0s;this._ua[_ec2]=0.0;this._ua[_Hs]=-_Zr;this._ua[_Ks]=-__r;this._ua[_Ps]=-_0s;this._ua[_fc2]=1};_7r.prototype._zr=function(_Fc2,_Gc2,_Hc2,_Ic2){var _gc=_oa2(_Fc2);var _Jc2=1.0/Math.tan(_gc*0.5);var _zj1=_Jc2/_Gc2;this._ua[_Es]=_zj1;this._ua[_Is]=this._ua[_Ms]=this._ua[_cc2]=0.0;this._ua[_Ar]=_Jc2;this._ua[_Fs]=this._ua[_Ns]=this._ua[_dc2]=0.0;
this._ua[_Gs]=this._ua[_Js]=0.0;this._ua[_ec2]=1.0;this._ua[_Os]=_Ic2/(_Ic2-_Hc2);this._ua[_Hs]=this._ua[_Hs]=this._ua[_fc2]=0.0;this._ua[_Ps]=-_Hc2*_Ic2/(_Ic2-_Hc2)};_7r.prototype._Fr=function(_Ii,_Ji,_Hc2,_Ic2){this._ua[_Es]=2*_Hc2/_Ii;this._ua[_Is]=this._ua[_Ms]=this._ua[_cc2]=0.0;this._ua[_Ar]=2*_Hc2/_Ji;this._ua[_Fs]=this._ua[_Ns]=this._ua[_dc2]=0.0;this._ua[_Gs]=this._ua[_Js]=0.0;this._ua[_ec2]=1.0;this._ua[_Os]=_Ic2/(_Ic2-_Hc2);this._ua[_Hs]=this._ua[_Ks]=this._ua[_fc2]=0.0;this._ua[_Ps]=-_Hc2*_Ic2/(_Ic2-_Hc2)}
;_7r.prototype._Er=function(_Ii,_Ji,_Hc2,_Ic2){this._ua[_Es]=2.0/_Ii;this._ua[_Is]=this._ua[_Ms]=0.0;this._ua[_cc2]=0;this._ua[_Ar]=2.0/_Ji;this._ua[_Fs]=this._ua[_Ns]=0.0;this._ua[_dc2]=0;this._ua[_Gs]=this._ua[_Js]=0.0;this._ua[_Os]=1.0/(_Ic2-_Hc2);this._ua[_ec2]=0;this._ua[_Hs]=this._ua[_Ks]=0.0;this._ua[_Ps]=_Hc2/(_Hc2-_Ic2);this._ua[_fc2]=1.0};_7r.prototype.Multiply=function(_Kc2,_Lc2){this._ua[_Es]=(_Kc2._ua[_Es]*_Lc2._ua[_Es])+(_Kc2._ua[_Is]*_Lc2._ua[_Fs])+(_Kc2._ua[_Ms]*_Lc2._ua[_Gs])+(_Kc2._ua[_cc2]*_Lc2._ua[_Hs]);
this._ua[_Is]=(_Kc2._ua[_Es]*_Lc2._ua[_Is])+(_Kc2._ua[_Is]*_Lc2._ua[_Ar])+(_Kc2._ua[_Ms]*_Lc2._ua[_Js])+(_Kc2._ua[_cc2]*_Lc2._ua[_Ks]);this._ua[_Ms]=(_Kc2._ua[_Es]*_Lc2._ua[_Ms])+(_Kc2._ua[_Is]*_Lc2._ua[_Ns])+(_Kc2._ua[_Ms]*_Lc2._ua[_Os])+(_Kc2._ua[_cc2]*_Lc2._ua[_Ps]);this._ua[_cc2]=(_Kc2._ua[_Es]*_Lc2._ua[_cc2])+(_Kc2._ua[_Is]*_Lc2._ua[_dc2])+(_Kc2._ua[_Ms]*_Lc2._ua[_ec2])+(_Kc2._ua[_cc2]*_Lc2._ua[_fc2]);this._ua[_Fs]=(_Kc2._ua[_Fs]*_Lc2._ua[_Es])+(_Kc2._ua[_Ar]*_Lc2._ua[_Fs])+(_Kc2._ua[_Ns]*_Lc2._ua[_Gs])+(_Kc2._ua[_dc2]*_Lc2._ua[_Hs]);
this._ua[_Ar]=(_Kc2._ua[_Fs]*_Lc2._ua[_Is])+(_Kc2._ua[_Ar]*_Lc2._ua[_Ar])+(_Kc2._ua[_Ns]*_Lc2._ua[_Js])+(_Kc2._ua[_dc2]*_Lc2._ua[_Ks]);this._ua[_Ns]=(_Kc2._ua[_Fs]*_Lc2._ua[_Ms])+(_Kc2._ua[_Ar]*_Lc2._ua[_Ns])+(_Kc2._ua[_Ns]*_Lc2._ua[_Os])+(_Kc2._ua[_dc2]*_Lc2._ua[_Ps]);this._ua[_dc2]=(_Kc2._ua[_Fs]*_Lc2._ua[_cc2])+(_Kc2._ua[_Ar]*_Lc2._ua[_dc2])+(_Kc2._ua[_Ns]*_Lc2._ua[_ec2])+(_Kc2._ua[_dc2]*_Lc2._ua[_fc2]);this._ua[_Gs]=(_Kc2._ua[_Gs]*_Lc2._ua[_Es])+(_Kc2._ua[_Js]*_Lc2._ua[_Fs])+(_Kc2._ua[_Os]*_Lc2._ua[_Gs])+(_Kc2._ua[_ec2]*_Lc2._ua[_Hs]);
this._ua[_Js]=(_Kc2._ua[_Gs]*_Lc2._ua[_Is])+(_Kc2._ua[_Js]*_Lc2._ua[_Ar])+(_Kc2._ua[_Os]*_Lc2._ua[_Js])+(_Kc2._ua[_ec2]*_Lc2._ua[_Ks]);this._ua[_Os]=(_Kc2._ua[_Gs]*_Lc2._ua[_Ms])+(_Kc2._ua[_Js]*_Lc2._ua[_Ns])+(_Kc2._ua[_Os]*_Lc2._ua[_Os])+(_Kc2._ua[_ec2]*_Lc2._ua[_Ps]);this._ua[_ec2]=(_Kc2._ua[_Gs]*_Lc2._ua[_cc2])+(_Kc2._ua[_Js]*_Lc2._ua[_dc2])+(_Kc2._ua[_Os]*_Lc2._ua[_ec2])+(_Kc2._ua[_ec2]*_Lc2._ua[_fc2]);this._ua[_Hs]=(_Kc2._ua[_Hs]*_Lc2._ua[_Es])+(_Kc2._ua[_Ks]*_Lc2._ua[_Fs])+(_Kc2._ua[_Ps]*_Lc2._ua[_Gs])+(_Kc2._ua[_fc2]*_Lc2._ua[_Hs]);
this._ua[_Ks]=(_Kc2._ua[_Hs]*_Lc2._ua[_Is])+(_Kc2._ua[_Ks]*_Lc2._ua[_Ar])+(_Kc2._ua[_Ps]*_Lc2._ua[_Js])+(_Kc2._ua[_fc2]*_Lc2._ua[_Ks]);this._ua[_Ps]=(_Kc2._ua[_Hs]*_Lc2._ua[_Ms])+(_Kc2._ua[_Ks]*_Lc2._ua[_Ns])+(_Kc2._ua[_Ps]*_Lc2._ua[_Os])+(_Kc2._ua[_fc2]*_Lc2._ua[_Ps]);this._ua[_fc2]=(_Kc2._ua[_Hs]*_Lc2._ua[_cc2])+(_Kc2._ua[_Ks]*_Lc2._ua[_dc2])+(_Kc2._ua[_Ps]*_Lc2._ua[_ec2])+(_Kc2._ua[_fc2]*_Lc2._ua[_fc2])};_7r.prototype._xs=function(_R9){this._wc2();var _gc=_oa2(_R9);var _Rw=Math.sin(_gc);var _R3=Math.cos(_gc);
this._ua[_Es]=_R3;this._ua[_Is]=-_Rw;this._ua[_Fs]=_Rw;this._ua[_Ar]=_R3};_7r.prototype._ws=function(_R9){this._wc2();var _gc=_oa2(_R9);var _Rw=Math.sin(_gc);var _R3=Math.cos(_gc);this._ua[_Es]=_R3;this._ua[_Ms]=_Rw;this._ua[_Gs]=-_Rw;this._ua[_Os]=_R3};_7r.prototype._vs=function(_R9){this._wc2();var _gc=_oa2(_R9);var _Rw=Math.sin(_gc);var _R3=Math.cos(_gc);this._ua[_Ar]=_R3;this._ua[_Ns]=-_Rw;this._ua[_Js]=_Rw;this._ua[_Os]=_R3};_7r.prototype._ts=function(_N9,_O9,_3f){this._wc2();this._ua[_Hs]=_N9;this._ua[_Ks]=_O9;
this._ua[_Ps]=_3f};_7r.prototype._us=function(_SV,_TV,_Mc2){this._wc2();this._ua[_Es]=_SV;this._ua[_Ar]=_TV;this._ua[_Os]=_Mc2};_7r.prototype._ys=function(_Ue,_R9){_Ue._Wr();var _gc=_oa2(_R9);var _R3=Math.cos(_gc);var _Rw=Math.sin(_gc);var _Nc2=1.0-_R3;this._wc2();this._ua[0]=(_Nc2*_Ue._Zr*_Ue._Zr+_R3);this._ua[1]=(_Nc2*_Ue._Zr*_Ue.__r+_Rw*_Ue._0s);this._ua[2]=(_Nc2*_Ue._Zr*_Ue._0s-_Rw*_Ue.__r);this._ua[4]=(_Nc2*_Ue._Zr*_Ue.__r-_Rw*_Ue._0s);this._ua[5]=(_Nc2*_Ue.__r*_Ue.__r+_R3);this._ua[6]=(_Nc2*_Ue.__r*_Ue._0s+_Rw*_Ue._Zr);
this._ua[8]=(_Nc2*_Ue._Zr*_Ue._0s+_Rw*_Ue.__r);this._ua[9]=(_Nc2*_Ue.__r*_Ue._0s-_Rw*_Ue._Zr);this._ua[10]=(_Nc2*_Ue._0s*_Ue._0s+_R3)};_7r.prototype._8t=function(_N9,_O9,_3f,_1t,_2t,_3t,_4t,_5t,_6t){var _Oc2=Math.sin(_1t);var _Pc2=Math.cos(_1t);var _Qc2=Math.sin(_2t);var _Rc2=Math.cos(_2t);var _Sc2=Math.sin(_3t);var _Tc2=Math.cos(_3t);var _Uc2=-_Sc2*-_Oc2;var _Vc2=_Tc2*-_Oc2;this._ua[0]=((_Tc2*_Rc2)+(_Uc2*-_Qc2))*_4t;this._ua[4]=(-_Sc2*_Pc2)*_4t;this._ua[8]=((_Tc2*_Qc2)+(_Uc2*_Rc2))*_4t;this._ua[12]=_N9;
this._ua[1]=((_Sc2*_Rc2)+(_Vc2*-_Qc2))*_5t;this._ua[5]=(_Tc2*_Pc2)*_5t;this._ua[9]=((_Sc2*_Qc2)+(_Vc2*_Rc2))*_5t;this._ua[13]=_O9;this._ua[2]=(_Pc2*-_Qc2)*_6t;this._ua[6]=_Oc2*_6t;this._ua[10]=(_Pc2*_Rc2)*_6t;this._ua[14]=_3f;this._ua[3]=this._ua[7]=this._ua[11]=0.0;this._ua[15]=1.0};_7r.prototype._1D=function(_Wc2){var _Xc2=_Wc2._ua[_gc2]*_Wc2._ua[_lc2]-_Wc2._ua[_kc2]*_Wc2._ua[_hc2];var _bt=_Wc2._ua[_gc2]*_Wc2._ua[_mc2]-_Wc2._ua[_kc2]*_Wc2._ua[_ic2];var _ct=_Wc2._ua[_gc2]*_Wc2._ua[_nc2]-_Wc2._ua[_kc2]*_Wc2._ua[_jc2];
var _dt=_Wc2._ua[_hc2]*_Wc2._ua[_mc2]-_Wc2._ua[_lc2]*_Wc2._ua[_ic2];var _Yc2=_Wc2._ua[_hc2]*_Wc2._ua[_nc2]-_Wc2._ua[_lc2]*_Wc2._ua[_jc2];var _Zc2=_Wc2._ua[_ic2]*_Wc2._ua[_nc2]-_Wc2._ua[_mc2]*_Wc2._ua[_jc2];var __c2=_Wc2._ua[_qc2]*_Wc2._ua[_vc2]-_Wc2._ua[_uc2]*_Wc2._ua[_rc2];var _0d2=_Wc2._ua[_pc2]*_Wc2._ua[_vc2]-_Wc2._ua[_tc2]*_Wc2._ua[_rc2];var _r01=_Wc2._ua[_pc2]*_Wc2._ua[_uc2]-_Wc2._ua[_tc2]*_Wc2._ua[_qc2];var _g01=_Wc2._ua[_oc2]*_Wc2._ua[_vc2]-_Wc2._ua[_sc2]*_Wc2._ua[_rc2];var _f01=_Wc2._ua[_oc2]*_Wc2._ua[_uc2]-_Wc2._ua[_sc2]*_Wc2._ua[_qc2];
var _L01=_Wc2._ua[_oc2]*_Wc2._ua[_tc2]-_Wc2._ua[_sc2]*_Wc2._ua[_pc2];var _k01=(_Xc2*__c2-_bt*_0d2+_ct*_r01+_dt*_g01-_Yc2*_f01+_Zc2*_L01);if(_k01!=0){var _1d2=1.0/_k01;var _La=new Float32Array(16);_La[_gc2]=(_Wc2._ua[_lc2]*__c2-_Wc2._ua[_mc2]*_0d2+_Wc2._ua[_nc2]*_r01)*_1d2;_La[_hc2]=(-_Wc2._ua[_hc2]*__c2+_Wc2._ua[_ic2]*_0d2-_Wc2._ua[_jc2]*_r01)*_1d2;_La[_ic2]=(_Wc2._ua[_tc2]*_Zc2-_Wc2._ua[_uc2]*_Yc2+_Wc2._ua[_vc2]*_dt)*_1d2;_La[_jc2]=(-_Wc2._ua[_pc2]*_Zc2+_Wc2._ua[_qc2]*_Yc2-_Wc2._ua[_rc2]*_dt)*_1d2;_La[_kc2]=(-_Wc2._ua[_kc2]*__c2+_Wc2._ua[_mc2]*_g01-_Wc2._ua[_nc2]*_f01)*_1d2;
_La[_lc2]=(_Wc2._ua[_gc2]*__c2-_Wc2._ua[_ic2]*_g01+_Wc2._ua[_jc2]*_f01)*_1d2;_La[_mc2]=(-_Wc2._ua[_sc2]*_Zc2+_Wc2._ua[_uc2]*_ct-_Wc2._ua[_vc2]*_bt)*_1d2;_La[_nc2]=(_Wc2._ua[_oc2]*_Zc2-_Wc2._ua[_qc2]*_ct+_Wc2._ua[_rc2]*_bt)*_1d2;_La[_oc2]=(_Wc2._ua[_kc2]*_0d2-_Wc2._ua[_lc2]*_g01+_Wc2._ua[_nc2]*_L01)*_1d2;_La[_pc2]=(-_Wc2._ua[_gc2]*_0d2+_Wc2._ua[_hc2]*_g01-_Wc2._ua[_jc2]*_L01)*_1d2;_La[_qc2]=(_Wc2._ua[_sc2]*_Yc2-_Wc2._ua[_tc2]*_ct+_Wc2._ua[_vc2]*_Xc2)*_1d2;_La[_rc2]=(-_Wc2._ua[_oc2]*_Yc2+_Wc2._ua[_pc2]*_ct-_Wc2._ua[_rc2]*_Xc2)*_1d2;
_La[_sc2]=(-_Wc2._ua[_kc2]*_r01+_Wc2._ua[_lc2]*_f01-_Wc2._ua[_mc2]*_L01)*_1d2;_La[_tc2]=(_Wc2._ua[_gc2]*_r01-_Wc2._ua[_hc2]*_f01+_Wc2._ua[_ic2]*_L01)*_1d2;_La[_uc2]=(-_Wc2._ua[_sc2]*_dt+_Wc2._ua[_tc2]*_bt-_Wc2._ua[_uc2]*_Xc2)*_1d2;_La[_vc2]=(_Wc2._ua[_oc2]*_dt-_Wc2._ua[_pc2]*_bt+_Wc2._ua[_qc2]*_Xc2)*_1d2;this._ua=_La}};_7r.prototype._SD=function(_2d2){var _3d2=new _rr(0.0,0.0,0.0);if(_2d2!=undefined){_3d2._Zr=(this._ua[_Es]*_2d2._Zr)+(this._ua[_Fs]*_2d2.__r)+(this._ua[_Gs]*_2d2._0s)+this._ua[_Hs];
_3d2.__r=(this._ua[_Is]*_2d2._Zr)+(this._ua[_Ar]*_2d2.__r)+(this._ua[_Js]*_2d2._0s)+this._ua[_Ks];_3d2._0s=(this._ua[_Ms]*_2d2._Zr)+(this._ua[_Ns]*_2d2.__r)+(this._ua[_Os]*_2d2._0s)+this._ua[_Ps]}return _3d2};/*@constructor */function _Pk(){this.x=0;this.y=0;this._S3=0;this._T3=0;this._g5=0;this._h5=0;this._i5=0;this._j5=0;this._k5=0;this._l5=0;this._m5=0;this._6U=_Yb2}/*@constructor */function _Yb2(_kU){this.x=_kU.x;this.y=_kU.y;this._S3=_kU._S3;this._T3=_kU._T3;this._g5=_kU._g5;this._h5=_kU._h5;this._i5=_kU._i5;
this._j5=_kU._j5;this._k5=_kU._k5;this._l5=_kU._l5;this._m5=_kU._m5}/*@constructor *//*@constructor *//*@constructor *//*@constructor *//*@constructor *//*@constructor *//*@constructor *//*@constructor */function _4d2(_1c){_Ad("splash_set_color()")}var _5d2=_4d2;var _6d2=!0;function _7d2(_Cd){_Ad("texture_get_width()")}function _8d2(_Cd){_Ad("texture_get_height()")}function _9d2(_xH){_Ad("texture_set_blending()")}function _Ir(repeat){_Ad("texture_set_repeat()")}function _Hr(){_Ad("texture_get_repeat()")}
function _ad2(repeat){_Ad("texture_set_repeat_ext()")}function _bd2(_kw1,_6o){_Ad("texture_set_interpolation_ext()")}function _cd2(_Db){_Ad("texture_get_uvs()")}function _dd2(){_Ad("draw_set_alpha_test()")}function _ed2(){_Ad("draw_set_alpha_test_ref_value()")}function _fd2(){_Ad("draw_get_alpha_test()");return 0}function _gd2(){_Ad("draw_get_alpha_test_ref_value()");return 0}/*@constructor */function _rr(_hd2,_id2,_jd2){if(arguments.length>0){if(arguments.length==3){this._Zr=_hd2;this.__r=_id2;this._0s=_jd2}
else {this._Zr=_hd2._Zr;this.__r=_hd2.__r;this._0s=_hd2._0s}}else {this._Zr=1.0;this.__r=0.0;this._0s=0.0}}_rr.prototype._4j=function(_ud){return new _rr(this._Zr+_ud._Zr,this.__r+_ud.__r,this._0s+_ud._0s)};_rr.prototype._UD=function(_ud){return new _rr(this._Zr-_ud._Zr,this.__r-_ud.__r,this._0s-_ud._0s)};_rr.prototype._Wr=function(){var _av=1.0/Math.sqrt((this._Zr*this._Zr)+(this.__r*this.__r)+(this._0s*this._0s));this._Zr=this._Zr*_av;this.__r=this.__r*_av;this._0s=this._0s*_av};_rr.prototype._kd2=function(){
var _ld2=(this._Zr*this._Zr)+(this.__r*this.__r)+(this._0s*this._0s);return _ld2};_rr.prototype.Length=function(){var _ld2=this._kd2();if(_ld2>0.0){return Math.sqrt(_ld2)}else {return 0.0}};_rr.prototype._Dc2=function(_md2,_nd2){this._Zr=(_md2.__r*_nd2._0s)-(_md2._0s*_nd2.__r);this.__r=(_md2._0s*_nd2._Zr)-(_md2._Zr*_nd2._0s);this._0s=(_md2._Zr*_nd2.__r)-(_md2.__r*_nd2._Zr)};_rr.prototype._Ec2=function(_od2){return(this._Zr*_od2._Zr)+(this.__r*_od2.__r)+(this._0s*_od2._0s)};(function(global,_Iu1,_pd2){
'use strict';function _qd2(_rd2){if(!_rd2)return;if(!_rd2.setTargetAtTime)_rd2.setTargetAtTime=_rd2.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._sd2;if(!AudioContext.prototype.hasOwnProperty('createScriptProcessor'))AudioContext.prototype.createScriptProcessor=AudioContext.prototype._td2;
if(!AudioContext.prototype.hasOwnProperty('createPeriodicWave'))AudioContext.prototype.createPeriodicWave=AudioContext.prototype._ud2;AudioContext.prototype._vd2=AudioContext.prototype.createGain;AudioContext.prototype.createGain=function(){var _fW=this._vd2();_qd2(_fW.gain);return _fW};AudioContext.prototype._wd2=AudioContext.prototype.createDelay;AudioContext.prototype.createDelay=function(_xd2){var _fW=_xd2?this._wd2(_xd2):this._wd2();_qd2(_fW.delayTime);return _fW};AudioContext.prototype._yd2=AudioContext.prototype.createBufferSource;
AudioContext.prototype.createBufferSource=function(){var _fW=this._yd2();if(!_fW.start){_fW.start=function(_zd2,offset,duration){if(offset||duration)this.noteGrainOn(_zd2||0,offset,duration);else this.noteOn(_zd2||0)}}else {_fW._Ad2=_fW.start;_fW.start=function(_zd2,offset,duration){if(typeof duration!=='undefined')_fW._Ad2(_zd2||0,offset,duration);else _fW._Ad2(_zd2||0,offset||0)}}if(!_fW.stop){_fW.stop=function(_zd2){this.noteOff(_zd2||0)}}else {_fW._Bd2=_fW.stop;_fW.stop=function(_zd2){_fW._Bd2(_zd2||0);
}}_qd2(_fW.playbackRate);return _fW};AudioContext.prototype._Cd2=AudioContext.prototype._Dd2;AudioContext.prototype._Dd2=function(){var _fW=this._Cd2();_qd2(_fW._Ed2);_qd2(_fW._Fd2);_qd2(_fW._eo1);_qd2(_fW._Gd2);_qd2(_fW._Hd2);_qd2(_fW._Id2);return _fW};AudioContext.prototype._Jd2=AudioContext.prototype._Kd2;AudioContext.prototype._Kd2=function(){var _fW=this._Jd2();_qd2(_fW._wu1);_qd2(_fW._Ld2);_qd2(_fW._e81);_qd2(_fW.gain);return _fW};if(AudioContext.prototype.hasOwnProperty('createOscillator')){AudioContext.prototype._Md2=AudioContext.prototype._Nd2;
AudioContext.prototype._Nd2=function(){var _fW=this._Md2();if(!_fW.start){_fW.start=function(_zd2){this.noteOn(_zd2||0)}}else {_fW._Ad2=_fW.start;_fW.start=function(_zd2){_fW._Ad2(_zd2||0)}}if(!_fW.stop){_fW.stop=function(_zd2){this.noteOff(_zd2||0)}}else {_fW._Bd2=_fW.stop;_fW.stop=function(_zd2){_fW._Bd2(_zd2||0)}}if(!_fW._Od2)_fW._Od2=_fW._Pd2;_qd2(_fW._wu1);_qd2(_fW._Ld2);return _fW}}}if(window.hasOwnProperty('webkitOfflineAudioContext')&&!window.hasOwnProperty('OfflineAudioContext')){window.OfflineAudioContext=webkitOfflineAudioContext}
}(window));var _Qd2=0,_Rd2=1,_Sd2=2,_Td2=3,_Ud2=4,_Vd2=5,_Wd2=6,_Xd2=7,_Yd2=8,_Zd2=9,__d2=10,_0e2=11,_1e2=12,_2e2=13,_3e2=14,_4e2=15;/*@constructor */function _as(){this._Qh()}_as.prototype._Qh=function(){this._5e2=[];this._6e2=[]};_as.prototype._7e2=function(){var _8e2="100\n";_8e2+=this._5e2.length.toString()+"\n";for(var _Q3=0;_Q3<this._5e2.length;_Q3++){var _9e2=this._5e2[_Q3];_8e2+=_9e2._ae2.toString()+" ";switch(_9e2._ae2){case _Rd2:break;case _Qd2:_8e2+=_9e2._be2.toString();break;case _Sd2:_8e2+=_9e2.x.toString()+" ";
_8e2+=_9e2.y.toString()+" ";_8e2+=_9e2._Pd.toString()+" ";_8e2+="0.0 0.0 0.0 0.0 0.0 0.0 0.0\n";break;case _Td2:_8e2+=_9e2.x.toString()+" ";_8e2+=_9e2.y.toString()+" ";_8e2+=_9e2._Pd.toString()+" ";_8e2+=(_9e2.color*1.0).toString()+" ";_8e2+=_9e2.alpha.toString()+" ";_8e2+="0.0 0.0 0.0 0.0 0.0\n";break;case _Ud2:_8e2+=_9e2.x.toString()+" ";_8e2+=_9e2.y.toString()+" ";_8e2+=_9e2._Pd.toString()+" ";_8e2+=_9e2._sc.toString()+" ";_8e2+=_9e2._uc.toString()+" ";_8e2+="0.0 0.0 0.0 0.0 0.0\n";break;case _Vd2:_8e2+=_9e2.x.toString()+" ";
_8e2+=_9e2.y.toString()+" ";_8e2+=_9e2._Pd.toString()+" ";_8e2+=_9e2._sc.toString()+" ";_8e2+=_9e2._uc.toString()+" ";_8e2+=(_9e2.color*1.0).toString()+" ";_8e2+=_9e2.alpha.toString()+" ";_8e2+="0.0 0.0 0.0\n";break;case _Wd2:_8e2+=_9e2.x.toString()+" ";_8e2+=_9e2.y.toString()+" ";_8e2+=_9e2._Pd.toString()+" ";_8e2+=_9e2._Wd.toString()+" ";_8e2+=_9e2._Xd.toString()+" ";_8e2+=_9e2._Yd.toString()+" ";_8e2+="0.0 0.0 0.0 0.0\n";break;case _Xd2:_8e2+=_9e2.x.toString()+" ";_8e2+=_9e2.y.toString()+" ";_8e2+=_9e2._Pd.toString()+" ";
_8e2+=_9e2._Wd.toString()+" ";_8e2+=_9e2._Xd.toString()+" ";_8e2+=_9e2._Yd.toString()+" ";_8e2+=(_9e2.color*1.0).toString()+" ";_8e2+=_9e2.alpha.toString()+" ";_8e2+="0.0 0.0\n";break;case _Yd2:_8e2+=_9e2.x.toString()+" ";_8e2+=_9e2.y.toString()+" ";_8e2+=_9e2._Pd.toString()+" ";_8e2+=_9e2._Wd.toString()+" ";_8e2+=_9e2._Xd.toString()+" ";_8e2+=_9e2._Yd.toString()+" ";_8e2+=_9e2._sc.toString()+" ";_8e2+=_9e2._uc.toString()+" ";_8e2+="0.0 0.0\n";break;case _Zd2:_8e2+=_9e2.x.toString()+" ";_8e2+=_9e2.y.toString()+" ";
_8e2+=_9e2._Pd.toString()+" ";_8e2+=_9e2._Wd.toString()+" ";_8e2+=_9e2._Xd.toString()+" ";_8e2+=_9e2._Yd.toString()+" ";_8e2+=_9e2._sc.toString()+" ";_8e2+=_9e2._uc.toString()+" ";_8e2+=(_9e2.color*1.0).toString()+" ";_8e2+=_9e2.alpha.toString()+" ";_8e2+="\n";break;case __d2:case _3e2:case _4e2:_8e2+=_9e2._va.toString()+" ";_8e2+=_9e2._wa.toString()+" ";_8e2+=_9e2._Zl.toString()+" ";_8e2+=_9e2._xa.toString()+" ";_8e2+=_9e2._ya.toString()+" ";_8e2+=_9e2.__l.toString()+" ";_8e2+=(_9e2._Jr?1.0:0.0).toString()+" ";
_8e2+=(_9e2._Kr?1.0:0.0).toString()+" ";_8e2+="0.0 0.0\n";break;case _2e2:_8e2+=_9e2._va.toString()+" ";_8e2+=_9e2._wa.toString()+" ";_8e2+=_9e2._Zl.toString()+" ";_8e2+=_9e2._xa.toString()+" ";_8e2+=_9e2._ya.toString()+" ";_8e2+=_9e2.__l.toString()+" ";_8e2+=(_9e2._Jr?1.0:0.0).toString()+" ";_8e2+=(_9e2._Kr?1.0:0.0).toString()+" ";_8e2+=(_9e2._3m*1.0).toString()+" ";_8e2+="0.0\n";break;case _0e2:case _1e2:_8e2+=_9e2._va.toString()+" ";_8e2+=_9e2._wa.toString()+" ";_8e2+=_9e2._Zl.toString()+" ";_8e2+=_9e2._xa.toString()+" ";
_8e2+=_9e2._ya.toString()+" ";_8e2+=_9e2.__l.toString()+" ";_8e2+=(_9e2._Jr?1.0:0.0).toString()+" ";_8e2+=(_9e2._Kr?1.0:0.0).toString()+" ";_8e2+=(_9e2._6m?1.0:0.0).toString()+" ";_8e2+=(_9e2._3m*1.0).toString()+" ";_8e2+="\n";break }}return _8e2};_as.prototype._bs=function(_Zw){if(_nG===true){var _ce2=this._7e2();var _de2=_Yw(_Zw);_0x(_de2,_ce2);_Tw(_de2)}else {debug("d3d_model_save() browser does not support local storage\n")}};_as.prototype._ee2=function(_fe2){var _ge2="";var _lP1=false;for(var _Q3=0;
_Q3<_fe2.length;_Q3++){var _he2=_fe2.charAt(_Q3);if(_he2==' '){if(!_lP1){_ge2=_ge2+_he2}_lP1=true}else {_lP1=false;_ge2=_ge2+_he2}}return _ge2};_as.prototype._ie2=function(_je2){var _ke2=_je2.split("\n");var version=parseInt(_ke2[0]);if(version==100){var _le2=parseInt(_ke2[1]);for(var _Q3=2;_Q3<_ke2.length;_Q3++){var _9e2={};var _me2=this._ee2(_ke2[_Q3]);var _ne2=_me2.split(" ");_9e2._ae2=parseInt(_ne2[0]);switch(_9e2._ae2){case _Rd2:break;case _Qd2:{_9e2._be2=parseInt(_ne2[1]);break;}case _Sd2:{_9e2.x=parseFloat(_ne2[1]);
_9e2.y=parseFloat(_ne2[2]);_9e2._Pd=parseFloat(_ne2[3]);break }case _Td2:{_9e2.x=parseFloat(_ne2[1]);_9e2.y=parseFloat(_ne2[2]);_9e2._Pd=parseFloat(_ne2[3]);_9e2.color=parseInt(_ne2[4]);_9e2.alpha=parseFloat(_ne2[5]);break }case _Ud2:{_9e2.x=parseFloat(_ne2[1]);_9e2.y=parseFloat(_ne2[2]);_9e2._Pd=parseFloat(_ne2[3]);_9e2._sc=parseFloat(_ne2[4]);_9e2._uc=parseFloat(_ne2[5]);break }case _Vd2:{_9e2.x=parseFloat(_ne2[1]);_9e2.y=parseFloat(_ne2[2]);_9e2._Pd=parseFloat(_ne2[3]);_9e2._sc=parseFloat(_ne2[4]);
_9e2._uc=parseFloat(_ne2[5]);_9e2.color=parseInt(_ne2[6]);_9e2.alpha=parseFloat(_ne2[7]);break }case _Wd2:{_9e2.x=parseFloat(_ne2[1]);_9e2.y=parseFloat(_ne2[2]);_9e2._Pd=parseFloat(_ne2[3]);_9e2._Wd=parseFloat(_ne2[4]);_9e2._Xd=parseFloat(_ne2[5]);_9e2._Yd=parseFloat(_ne2[6]);break }case _Xd2:{_9e2.x=parseFloat(_ne2[1]);_9e2.y=parseFloat(_ne2[2]);_9e2._Pd=parseFloat(_ne2[3]);_9e2._Wd=parseFloat(_ne2[4]);_9e2._Xd=parseFloat(_ne2[5]);_9e2._Yd=parseFloat(_ne2[6]);_9e2.color=parseInt(_ne2[7]);_9e2.alpha=parseFloat(_ne2[8]);
break }case _Yd2:{_9e2.x=parseFloat(_ne2[1]);_9e2.y=parseFloat(_ne2[2]);_9e2._Pd=parseFloat(_ne2[3]);_9e2._Wd=parseFloat(_ne2[4]);_9e2._Xd=parseFloat(_ne2[5]);_9e2._Yd=parseFloat(_ne2[6]);_9e2._sc=parseFloat(_ne2[7]);_9e2._uc=parseFloat(_ne2[8]);break }case _Zd2:{_9e2.x=parseFloat(_ne2[1]);_9e2.y=parseFloat(_ne2[2]);_9e2._Pd=parseFloat(_ne2[3]);_9e2._Wd=parseFloat(_ne2[4]);_9e2._Xd=parseFloat(_ne2[5]);_9e2._Yd=parseFloat(_ne2[6]);_9e2._sc=parseFloat(_ne2[7]);_9e2._uc=parseFloat(_ne2[8]);_9e2.color=parseInt(_ne2[9]);
_9e2.alpha=parseFloat(_ne2[10]);break }case __d2:case _3e2:case _4e2:{_9e2._va=parseFloat(_ne2[1]);_9e2._wa=parseFloat(_ne2[2]);_9e2._Zl=parseFloat(_ne2[3]);_9e2._xa=parseFloat(_ne2[4]);_9e2._ya=parseFloat(_ne2[5]);_9e2.__l=parseFloat(_ne2[6]);_9e2._Jr=(parseFloat(_ne2[7])>=0.5)?true:false;_9e2._Kr=(parseFloat(_ne2[8])>=0.5)?true:false;break }case _2e2:{_9e2._va=parseFloat(_ne2[1]);_9e2._wa=parseFloat(_ne2[2]);_9e2._Zl=parseFloat(_ne2[3]);_9e2._xa=parseFloat(_ne2[4]);_9e2._ya=parseFloat(_ne2[5]);_9e2.__l=parseFloat(_ne2[6]);
_9e2._Jr=(parseFloat(_ne2[7])>=0.5)?true:false;_9e2._Kr=(parseFloat(_ne2[8])>=0.5)?true:false;_9e2._3m=~~parseFloat(_ne2[9]);break }case _0e2:case _1e2:{_9e2._va=parseFloat(_ne2[1]);_9e2._wa=parseFloat(_ne2[2]);_9e2._Zl=parseFloat(_ne2[3]);_9e2._xa=parseFloat(_ne2[4]);_9e2._ya=parseFloat(_ne2[5]);_9e2.__l=parseFloat(_ne2[6]);_9e2._Jr=(parseFloat(_ne2[7])>=0.5)?true:false;_9e2._Kr=(parseFloat(_ne2[8])>=0.5)?true:false;_9e2._6m=(parseFloat(_ne2[9])>=0.5)?true:false;_9e2._3m=~~parseFloat(_ne2[10]);break }
}this._5e2.push(_9e2)}}};_as.prototype._Jb=function(_Zw){var _oe2=_4y(_Zw,true);if(_oe2!==null&&_oe2!==undefined){this._ie2(_oe2)}else {var _dm=_QR(_Zw);var _Mb=this;var _pe2=new XMLHttpRequest();_pe2.open("GET",_dm,false);_pe2.onload=function(){if(_pe2.readyState==4&&_pe2.status==200){_Mb._ie2(_pe2.responseText)}};_pe2.send(null)}};_as.prototype._Ef=function(_43){this._5e2.push({_ae2:_Qd2,_be2:_43})};_as.prototype._Gf=function(){this._5e2.push({_ae2:_Rd2})};_as.prototype._ds=function(x,y,_Pd){this._5e2.push({
_ae2:_Sd2,x:x,y:y,_Pd:_Pd})};_as.prototype._es=function(x,y,_Pd,_1c,alpha){this._5e2.push({_ae2:_Td2,x:x,y:y,_Pd:_Pd,color:_1c,alpha:alpha})};_as.prototype._fs=function(x,y,_Pd,_Hd,_Id){this._5e2.push({_ae2:_Ud2,x:x,y:y,_Pd:_Pd,_sc:_Hd,_uc:_Id})};_as.prototype._gs=function(x,y,_Pd,_Hd,_Id,_1c,alpha){this._5e2.push({_ae2:_Vd2,x:x,y:y,_Pd:_Pd,_sc:_Hd,_uc:_Id,color:_1c,alpha:alpha})};_as.prototype._hs=function(x,y,_Pd,_Wd,_Xd,_Yd){this._5e2.push({_ae2:_Wd2,x:x,y:y,_Pd:_Pd,_Wd:_Wd,_Xd:_Xd,_Yd:_Yd})}
;_as.prototype._is=function(x,y,_Pd,_Wd,_Xd,_Yd,_1c,alpha){this._5e2.push({_ae2:_Xd2,x:x,y:y,_Pd:_Pd,_Wd:_Wd,_Xd:_Xd,_Yd:_Yd,color:_1c,alpha:alpha})};_as.prototype._js=function(x,y,_Pd,_Wd,_Xd,_Yd,_Hd,_Id){this._5e2.push({_ae2:_Yd2,x:x,y:y,_Pd:_Pd,_Wd:_Wd,_Xd:_Xd,_Yd:_Yd,_sc:_Hd,_uc:_Id})};_as.prototype._ks=function(x,y,_Pd,_Wd,_Xd,_Yd,_Hd,_Id,_1c,alpha){this._5e2.push({_ae2:_Zd2,x:x,y:y,_Pd:_Pd,_Wd:_Wd,_Xd:_Xd,_Yd:_Yd,_sc:_Hd,_uc:_Id,color:_1c,alpha:alpha})};_as.prototype._ls=function(_va,_wa,_Zl,
_xa,_ya,__l,_0m,_1m){this._5e2.push({_ae2:__d2,_va:_va,_wa:_wa,_Zl:_Zl,_xa:_xa,_ya:_ya,__l:__l,_Jr:_0m,_Kr:_1m})};_as.prototype._ms=function(_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,_6m,_3m){this._5e2.push({_ae2:_0e2,_va:_va,_wa:_wa,_Zl:_Zl,_xa:_xa,_ya:_ya,__l:__l,_Jr:_0m,_Kr:_1m,_6m:_6m,_3m:_3m})};_as.prototype._ns=function(_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m,_6m,_3m){this._5e2.push({_ae2:_1e2,_va:_va,_wa:_wa,_Zl:_Zl,_xa:_xa,_ya:_ya,__l:__l,_Jr:_0m,_Kr:_1m,_6m:_6m,_3m:_3m})};_as.prototype._os=function(_va,_wa,
_Zl,_xa,_ya,__l,_0m,_1m,_3m){this._5e2.push({_ae2:_2e2,_va:_va,_wa:_wa,_Zl:_Zl,_xa:_xa,_ya:_ya,__l:__l,_Jr:_0m,_Kr:_1m,_3m:_3m})};_as.prototype._ps=function(_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m){this._5e2.push({_ae2:_3e2,_va:_va,_wa:_wa,_Zl:_Zl,_xa:_xa,_ya:_ya,__l:__l,_Jr:_0m,_Kr:_1m})};_as.prototype._qs=function(_va,_wa,_Zl,_xa,_ya,__l,_0m,_1m){this._5e2.push({_ae2:_4e2,_va:_va,_wa:_wa,_Zl:_Zl,_xa:_xa,_ya:_ya,__l:__l,_Jr:_0m,_Kr:_1m})};_as.prototype._qe2=function(){this._re2=new _Ke(_Le,_tb._Me(_tb._0f),
false);this._re2._be2=-1;this._re2._se2=null};_as.prototype._te2=function(_Ae){switch(_Ae){case _9e:case _ae:case _ce:return true}return false};_as.prototype._ue2=function(_ve2){var _we2=this._re2;if((_we2._be2!=-1)&&((_5e!=_we2._be2)||(_6e!=_we2._se2)||(this._te2(_we2._be2)===false))){_we2._5g();_ve2.push({_be2:_ze(_we2._be2),_se2:_we2._se2,_xe2:_we2});this._qe2();_we2=this._re2}_we2._DC1(_8e);_we2._be2=_5e;_we2._se2=_6e;_Ge()};_as.prototype._ye2=function(_ve2){var _we2=this._re2;_we2._5g();_ve2.push({
_be2:_ze(_we2._be2),_se2:_we2._se2,_xe2:_we2});_Ge()};_as.prototype._rf1=function(_9e2,_Qb,_ve2){var _ze2=_3e;var _Mb=this;_3e=function(){_Mb._ue2(_ve2)};switch(_9e2._ae2){case __d2:_4m(_9e2._va,_9e2._wa,_9e2._Zl,_9e2._xa,_9e2._ya,_9e2.__l,_Qb,_9e2._Jr,_9e2._Kr);break;case _0e2:_5m(_9e2._va,_9e2._wa,_9e2._Zl,_9e2._xa,_9e2._ya,_9e2.__l,_Qb,_9e2._Jr,_9e2._Kr,_9e2._6m,_9e2._3m);break;case _1e2:_7m(_9e2._va,_9e2._wa,_9e2._Zl,_9e2._xa,_9e2._ya,_9e2.__l,_Qb,_9e2._Jr,_9e2._Kr,_9e2._6m,_9e2._3m);break;case _2e2:_2m(_9e2._va,
_9e2._wa,_9e2._Zl,_9e2._xa,_9e2._ya,_9e2.__l,_Qb,_9e2._Jr,_9e2._Kr,_9e2._3m);break;case _3e2:_8m(_9e2._va,_9e2._wa,_9e2._Zl,_9e2._xa,_9e2._ya,_9e2.__l,_Qb,_9e2._Jr,_9e2._Kr);break;case _4e2:_Yl(_9e2._va,_9e2._wa,_9e2._Zl,_9e2._xa,_9e2._ya,_9e2.__l,_Qb,_9e2._Jr,_9e2._Kr);break }_3e=_ze2};_as.prototype._6c=function(x,y,_Pd,_Qb){var _Q3,_zs=new _7r();_zs._ts(x,y,_Pd);var _As=_Bs(_ss);var _ua=new _7r();_ua.Multiply(_zs,_As);_rs(_ss,_ua);var _c5=((_Oe*255.0)<<24)|(_Pe&0x00ffffff);var _Ae2=this._6e2[_c5];if(_Ae2===undefined){
_Ae2=[];this._6e2[_c5]=_Ae2}if(_Ae2[_Qb]===undefined){_Ae2[_Qb]=[];var _Eb=_Ae2[_Qb];this._qe2();for(var _Q3=0;_Q3<this._5e2.length;_Q3++){var _9e2=this._5e2[_Q3];switch(_9e2._ae2){case _Qd2:_Nd(_9e2._be2,_Qb);break;case _Rd2:this._ue2(_Eb);break;case _Sd2:_Od(_9e2.x,_9e2.y,_9e2._Pd);break;case _Td2:_Qd(_9e2.x,_9e2.y,_9e2._Pd,_9e2.color,_9e2.alpha);break;case _Ud2:_Sd(_9e2.x,_9e2.y,_9e2._Pd,_9e2._sc,_9e2._uc);break;case _Vd2:_Td(_9e2.x,_9e2.y,_9e2._Pd,_9e2._sc,_9e2._uc,_9e2.color,_9e2.alpha);break;case _Wd2:_Vd(_9e2.x,
_9e2.y,_9e2._Pd,_9e2._Wd,_9e2._Xd,_9e2._Yd);break;case _Xd2:_Zd(_9e2.x,_9e2.y,_9e2._Pd,_9e2._Wd,_9e2._Xd,_9e2._Yd,_9e2.color,_9e2.alpha);break;case _Yd2:_0e(_9e2.x,_9e2.y,_9e2._Pd,_9e2._Wd,_9e2._Xd,_9e2._Yd,_9e2._sc,_9e2._uc);break;case _Zd2:_1e(_9e2.x,_9e2.y,_9e2._Pd,_9e2._Wd,_9e2._Xd,_9e2._Yd,_9e2._sc,_9e2._uc,_9e2.color,_9e2.alpha);break;case __d2:case _0e2:case _1e2:case _2e2:case _3e2:case _4e2:this._rf1(_9e2,_Qb,_Eb);break }}this._ye2(_Eb);this._re2=null}var _Be2=_Ae2[_Qb];for(_Q3=0;_Q3<_Be2.length;_Q3++){
var _Ce2=_Be2[_Q3];var __e=_Ce2._se2?_Ce2._se2._bd:null;_tb._cg(_Ce2._be2,__e,_Ce2._xe2,0)}_rs(_ss,_As)};/*@constructor */function _3P(_De2){var _bj=arguments;var _cj=arguments.length;this._hj=[];this._EZ=[];this.length=0;this._Fb=0;if(_cj>0){for(var _Q3=0;_Q3<_cj;_Q3++){this._hj[_Q3]=null;this._EZ.push(_Q3)}}}_3P.prototype._la2=function(){var _ra;if(this._EZ.length===0){_ra=this._hj.length;this._hj[_ra]=null;return _ra}return this._EZ.pop()};_3P.prototype._4j=function(_Ee2){var index=this._la2();this._hj[index]=_Ee2;
this._Fb++;this.length=this._hj.length;return index};_3P.prototype._Si=function(_UL){var _rj=this._hj[_UL];if(_rj===undefined)_rj=null;return _rj};_3P.prototype._TJ=function(_Fe2){for(var _Ga=0;_Ga<this._hj.length;_Ga++){if(this._hj[_Ga]==_Fe2)return _Ga}return -1};_3P.prototype._EI=function(_Fe2){var index=this._TJ(_Fe2);if(index<0)return;this._hj[index]=null;this._EZ.push(index);this._Fb--};_3P.prototype._7j=function(_UL){if(_UL<0||_UL>=this._hj.length)return;this._hj[_UL]=null;this._EZ.push(_UL);this._Fb--}
;_3P.prototype._Qh=function(){this._hj=[];this._EZ=[];this._Fb=0;this.length=this._hj.length};_3P.prototype._sj=function(_IS,_o9){if(_IS<0||_IS>=this._hj.length)return;this._hj[_IS]=_o9};var _Ge2=0,_He2=1,_Ie2=2,_Je2=3,_Ke2=4,_OE=5,_Kv=6,_Le2=7,_6N=8,_Me2=0,_Dv=1,_Hv=-1,_DE=0,_Ne2=1,_BE=-1;var _Oe2=[];var _Pe2=[];function _Qe2(_lj,_Ux1){_Oe2.push(_lj);_Pe2.push(_Ux1)}function _zv(_lj){var _Q3=0;for(_Q3=0;_Q3<_Oe2.length;_Q3++){if(_Oe2[_Q3]==_lj){var _Vw=_Pe2[_Q3];_Pe2.splice(_Q3,1);_Oe2.splice(_Q3,1);return _Vw}
}return undefined}/*@constructor */function _Re2(){this._Se2="";this._Te2=-1;this._Cv=0;this._Ue2=null;this._Ve2=_Ge2;this._Bv=false}/*@constructor */function _Za2(){this._hj=new _3P(5);}_Za2.prototype._yM=function(){return this._hj};_Za2.prototype._4j=function(_Pi,_eb2,_qf,_We2){var _Vw=new _Re2();_Vw._Te2=_Pi;_Vw._Se2=_eb2;_Vw._Ue2=_We2;_Vw._Ve2=_qf;this._hj._4j(_Vw);_Qe2(_We2,_Vw);return _Vw};_Za2.prototype._Xe2=function(){var map=_X8();_q6._rT=map;var _hj=this._hj._hj;for(var _Q3=0;_Q3<_hj.length;_Q3++){
var _Vw=_hj[_Q3];if(_Vw!==null){if(_Vw._Bv){_qj(map);if(_Vw._Ve2==_6N){var _JG=_Vw._Ue2;for(var prop in _JG){if(_JG.hasOwnProperty(prop)){_Z8(map,prop,_JG[prop]);}}}else if(_Vw._Ve2==_Le2){_Z8(map,"filename",_Vw._Se2);_Z8(map,"url",_Vw._Se2)}else if(_Vw._Ve2==_OE){_Z8(map,"filename","");_Z8(map,"url",_Vw._Se2);_Z8(map,"result",_Vw._CE);_Z8(map,"http_status",_Vw._GE);_Z8(map,"response_headers",_Vw._HE)}else if(_Vw._Ve2==_Kv){_Z8(map,"username",_Vw._wv);_Z8(map,"password",_Vw._xv);_Z8(map,"url","");_Z8(map,
"result",_Vw._Av);_Z8(map,"value",_Vw.value);_Z8(map,"http_status",0)}else {_Z8(map,"url","");_Z8(map,"result","");_Z8(map,"http_status",0);_Z8(map,"filename",_Vw._Se2)}if(_Vw._Ve2!=_6N){_Z8(map,"id",_Vw._Te2);_Z8(map,"status",_Vw._Cv)}if(_Vw._Ve2==_He2)_29._39(_902,0);else if(_Vw._Ve2==_Ie2)_29._39(_902,0);else if(_Vw._Ve2==_Je2)_29._39(_902,0);else if(_Vw._Ve2==_Ke2)_29._39(_a02,0);else if(_Vw._Ve2==_OE)_29._39(_b02,0);else if(_Vw._Ve2==_Kv)_29._39(_c02,0);else if(_Vw._Ve2==_Le2)_29._39(_sT,0);else if(_Vw._Ve2==_6N)_29._39(_d02,
0);this._hj._7j(_Q3);if(_Vw._Ve2==_OE){_59(_Vw._HE)}if(_Vw._Ve2==_6N&&_Vw._Ue2.type==_KM){_Ye2(_Vw._Ue2.buffer)}}}}_59(map);_q6._rT=-1};/*@constructor */function _Nk(){this.__type="[Background]";this._33="";this._c3=false;this._d3=false;this.preload=false;this._Bk=null;this._r3=0;this._s3=0;this._t3=0;this._u3=0;this._v3=0;this.frames=0;this._w3=0;this._x3=0;this._Ze2=[]}function __e2(_0f2){var _gU=new _Nk();_gU._33=_0f2._33;if(_0f2._c3!=undefined)_gU._c3=_0f2._c3;if(_0f2._d3!=undefined)_gU._d3=_0f2._d3;
if(_0f2.preload!=undefined)_gU.preload=_0f2.preload;_gU._Bk=_1f2(_0f2._l3);if(_0f2._r3!=undefined)_gU._r3=_0f2._r3;if(_0f2._s3!=undefined)_gU._s3=_0f2._s3;if(_0f2._t3!=undefined)_gU._t3=_0f2._t3;if(_0f2._u3!=undefined)_gU._u3=_0f2._u3;if(_0f2._v3!=undefined)_gU._v3=_0f2._v3;if(_0f2.frames!=undefined)_gU.frames=_0f2.frames;if(_0f2._w3!=undefined)_gU._w3=_0f2._w3;if(_0f2._x3!=undefined)_gU._x3=_0f2._x3;for(var _Q3=0;_Q3<_0f2.frames*_0f2._w3;_Q3++){if(_0f2._Ze2[_Q3]!=undefined)_gU._Ze2[_Q3]=_0f2._Ze2[_Q3]}
return _gU}/*@constructor */function _2f2(_0f2){this._Qh();if(_0f2._Y3!=undefined)this._Y3=_0f2._Y3;if(_0f2._rH!=undefined)this._rH=_0f2._rH;if(_0f2.index!=undefined)this.index=_0f2.index;if(_0f2.x!=undefined)this.x=_0f2.x;if(_0f2.y!=undefined)this.y=_0f2.y;if(_0f2._sH!=undefined)this._3f2=_0f2._sH;if(_0f2._tH!=undefined)this._4f2=_0f2._tH;if(_0f2._kD!=undefined)this._5f2=_0f2._kD;if(_0f2._mD!=undefined)this._6f2=_0f2._mD;if(_0f2._wH!=undefined)this._wH=_0f2._wH;if(_0f2.alpha!=undefined)this.alpha=_0f2.alpha;
if(_0f2._xH!=undefined)this._xH=_0f2._xH;if(_0f2._r3!=undefined)this._r3=_0f2._r3;if(_0f2._s3!=undefined)this._s3=_0f2._s3;if(_0f2._t3!=undefined)this._t3=_0f2._t3;if(_0f2._u3!=undefined)this._u3=_0f2._u3;if(_0f2._v3!=undefined)this._v3=_0f2._v3;if(_0f2.frames!=undefined)this.frames=_0f2.frames;if(_0f2._w3!=undefined)this._w3=_0f2._w3;if(_0f2._7f2!=undefined)this._7f2=_0f2._7f2;if(_0f2._8f2!=undefined)this._8f2=_0f2._8f2}_2f2.prototype._Qh=function(){this._Y3=false;this._rH=false;this.index=-1;this.x=0;
this.y=0;this._3f2=true;this._4f2=true;this._5f2=0;this._6f2=0;this._uH=1;this._vH=1;this._wH=false;this.alpha=1.0;this._xH=0xffffff};/*@constructor */function _Ua2(){this.images=[];this._wk=[]}_Ua2.prototype._yk=function(_IS){return this.images[_IS]};_Ua2.prototype._Si=function(_IS){return this._wk[_IS]};_Ua2.prototype._Qh=function(){this._wk=[]};_Ua2.prototype._Xb2=function(_0f2){var _Ak=null;if(_0f2!=null){_Ak=__e2(_0f2)}return this._Qk(_Ak);};_Ua2.prototype._Qk=function(_9f2){var _Q3=this.images.length;
this.images[_Q3]=_9f2;return _Q3};_Ua2.prototype._4j=function(_0f2){var _Ak=null;if(_0f2!=null){_Ak=new _2f2(_0f2)}this._wk[this._wk.length]=_Ak};var _af2=-1,_bf2=-2,_cf2=-3,_df2=-4,_ef2=-5;var _cN=0,_ff2=1,_gf2=2,_hf2=3,_if2=4;var _jf2=0,_kf2=1,_lf2=2,_mf2=3,_nf2=4,_tJ1=5,_vJ1=6,_of2=7,_uJ1=8,_pf2=9,_qf2=10,_rf2=11,_sf2=12,_tf2=13;var _xJ1=0,_uf2=1,_vf2=2;function _wf2(data,_xf2,_yf2,_zf2,_Af2,_Bf2){var _Cy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _Dy,_Ey,_Fy,_Gy,_Hy,_Iy,_Jy,
_Ky;var _Q3=0;var _Ly=_zf2;var _Qy="";var _Cf2=Math.floor(_Bf2/3);_Q3=_Cf2*4;var _Df2=_Bf2%3;if(!data){return data}data+='';do {_Gy=_Hy=_Iy=_Jy=-1;while(_Gy<0){_Gy=_Cy.indexOf(data.charAt(_Q3++))}while(_Hy<0){_Hy=_Cy.indexOf(data.charAt(_Q3++))}while(_Iy<0){_Iy=_Cy.indexOf(data.charAt(_Q3++))}while(_Jy<0){_Jy=_Cy.indexOf(data.charAt(_Q3++))}var _Ef2=(_Gy<<2)|(_Hy>>4);var _Ff2=((_Hy&15)<<4)|(_Iy>>2);var _Gf2=((_Iy&3)<<6)|_Jy;_yf2[_Ly++]=_Ef2;if(_Ly>=_xf2)return _yf2;if(_Iy!=64){_yf2[_Ly++]=_Ff2;if(_Ly>=_xf2)return _yf2}
if(_Jy!=64){_yf2[_Ly++]=_Gf2;if(_Ly>=_xf2)return _yf2}}while(_Q3<data.length);var _Hf2=_Ly;if(_Af2&&_Hf2<_xf2){_yf2[_Hf2++]='\0'}return _yf2}function _If2(_3z,length){var _Jf2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _5z="";var _Ef2,_Ff2,_Gf2="";var _Kf2,_Lf2,_Mf2,_Nf2="";var _Q3=0;do {_Ef2=_3z.charCodeAt(_Q3++);_Ff2=_3z.charCodeAt(_Q3++);_Gf2=_3z.charCodeAt(_Q3++);_Kf2=_Ef2>>2;_Lf2=((_Ef2&3)<<4)|(_Ff2>>4);_Mf2=((_Ff2&15)<<2)|(_Gf2>>6);_Nf2=_Gf2&63;if(isNaN(_Ff2)){_Mf2=_Nf2=64}
else if(isNaN(_Gf2)){_Nf2=64}_5z=_5z+_Jf2.charAt(_Kf2)+_Jf2.charAt(_Lf2)+_Jf2.charAt(_Mf2)+_Jf2.charAt(_Nf2);_Ef2=_Ff2=_Gf2="";_Kf2=_Lf2=_Mf2=_Nf2=""}while(_Q3<length);return _5z}function _Fx1(_cf){var _I3=1;while(_I3<=1024){if(_cf<=_I3)return _I3;_I3=_I3<<1}return 1024}/*@constructor */function _Of2(_cf,_qf,_Pf2,_Qf2){_Pf2=_Fx1(_Pf2&0x1ff);this._Rf2=_cf+_Pf2;this._Ve2=_qf;this._Sf2=_cf;this._Tf2=_Pf2;this._Uf2=0;this._qJ1=0;this._Vf2=0;this._fN=new ArrayBuffer(_cf);this._Wf2=new DataView(this._fN);if(_Qf2!=undefined&&_Qf2.length>0){
var _Xf2=_Ja(_Qf2.length,_cf);this._Vf2=_Xf2;var _Yf2=new Uint8Array(this._fN);for(var _Q3=0;_Q3<_Xf2;_Q3++){_Yf2[_Q3]=_Qf2[_Q3]}}}_Of2.prototype._Zf2=function(_IC1){var __f2=new ArrayBuffer(_IC1);var _0g2=new Uint8Array(this._fN);var _1g2=new Uint8Array(__f2);if(this._fN.byteLength>_IC1){for(var _Q3=0;_Q3<_IC1;_Q3++){_1g2[_Q3]=_0g2[_Q3]}}else {_1g2.set(_0g2)}this._fN=__f2;this._Wf2=new DataView(this._fN);this._Sf2=_IC1;this._2g2(-1)};_Of2.prototype._2g2=function(_cf,_3g2){if(_cf==undefined)_cf=-1;if(_3g2==undefined)_3g2=false;
var _I3=_cf;if(_I3==-1)_I3=this._qJ1;if(_3g2){this._Vf2=_I3}else {this._Vf2=_Ha(this._Vf2,_I3);this._Vf2=_Ja(this._Vf2,this._Sf2)}};function _Oy(_1x){var _fv="";for(var _Q3=0;_Q3<_1x.length;_Q3++){var _4g2=_1x.charCodeAt(_Q3);if(_4g2<0x80){_fv+=String.fromCharCode(_4g2&0x7f);}else if(_4g2<0x0800){_fv+=String.fromCharCode((((_4g2>>6)&0x1f)|0xc0));_fv+=String.fromCharCode((_4g2&0x3f)|0x80)}else if(_4g2<0x10000){_fv+=String.fromCharCode(((_4g2>>12)&0x0f)|0xe0);_fv+=String.fromCharCode(((_4g2>>6)&0x3f)|0x80);
_fv+=String.fromCharCode((_4g2&0x3f)|0x80)}else {_fv+=String.fromCharCode(((_4g2>>18)&0x07)|0xf0);_fv+=String.fromCharCode(((_4g2>>12)&0x3f)|0x80);_fv+=String.fromCharCode(((_4g2>>6)&0x3f)|0x80);_fv+=String.fromCharCode((_4g2&0x3f)|0x80)}}return _fv}_Of2.prototype._5g2=function(){this._Uf2=(this._Uf2+this._Sf2)%this._Tf2};function _6g2(_qf){var _7g2=0;switch(_qf){case _qf2:case _kf2:case _lf2:_7g2=1;break;case _mf2:case _nf2:_7g2=2;break;case _vJ1:case _tJ1:case _uJ1:_7g2=4;break;case _pf2:_7g2=8;break }return _7g2}
function _8g2(){this._Q3=new Uint32Array(2);this._9g2=new Uint32Array(4);this._ag2=new Uint8Array(64);this._bg2=new Uint8Array(16);this._Q3[0]=this._Q3[1]=0;this._9g2[0]=this._9g2[1]=this._9g2[2]=this._9g2[3]=0;for(var _Q3=0;_Q3<64;_Q3++)this._ag2[_Q3]=0;for(var _Q3=0;_Q3<16;_Q3++)this._bg2[_Q3]=0}_8g2.prototype._cg2=function(){var _8b="0123456789abcdef";var _Rw="";for(var _T3=0;_T3<16;_T3++){var _La=this._bg2[_T3];_Rw+=_8b[((_La>>4)&0xf)];_Rw+=_8b[(_La&0xf)]}return _Rw};function _dg2(){var _eg2=new _8g2();_eg2._Q3[0]=_eg2._Q3[1]=0;
_eg2._9g2[0]=0x67452301;_eg2._9g2[1]=0xefcdab89;_eg2._9g2[2]=0x98badcfe;_eg2._9g2[3]=0x10325476;return _eg2}var _fg2=new Uint32Array(16);function _gg2(x,y,_Pd){_fg2[0]=x;_fg2[1]=y;_fg2[2]=_Pd;return(((_fg2[0])&(_fg2[1]))|((~_fg2[0])&(_fg2[2])));}function _hg2(x,y,_Pd){_fg2[0]=x;_fg2[1]=y;_fg2[2]=_Pd;return(((_fg2[0])&(_fg2[2]))|((_fg2[1])&(~_fg2[2])))}function _ig2(x,y,_Pd){_fg2[0]=x;_fg2[1]=y;_fg2[2]=_Pd;return((_fg2[0])^(_fg2[1])^(_fg2[2]))}function _jg2(x,y,_Pd){_fg2[0]=x;_fg2[1]=y;_fg2[2]=_Pd;return((_fg2[1])^((_fg2[0])|(~_fg2[2])))}
var _kg2=new Uint32Array(2);function _lg2(x,_ra){_kg2[0]=x;_kg2[1]=((_kg2[0]<<_ra)&0xffffffff)|((_kg2[0]>>(32-_ra))&((1<<_ra)-1));return _kg2[1]}var _mg2=new Uint32Array(7);function _ng2(_gc,_La,_R3,_Al,x,_Rw,_Ly){_mg2[0]=_gc;_mg2[1]=_La;_mg2[2]=_R3;_mg2[3]=_Al;_mg2[4]=x;_mg2[5]=_Rw;_mg2[6]=_Ly;_mg2[0]+=_gg2(_mg2[1],_mg2[2],_mg2[3])+_mg2[4]+(_mg2[6]);_mg2[0]=_lg2(_mg2[0],_mg2[5]);_mg2[0]+=_mg2[1];return _mg2[0]}function _og2(_gc,_La,_R3,_Al,x,_Rw,_Ly){_mg2[0]=_gc;_mg2[1]=_La;_mg2[2]=_R3;_mg2[3]=_Al;_mg2[4]=x;
_mg2[5]=_Rw;_mg2[6]=_Ly;_mg2[0]+=_hg2(_mg2[1],_mg2[2],_mg2[3])+_mg2[4]+(_mg2[6]);_mg2[0]=_lg2(_mg2[0],_mg2[5]);_mg2[0]+=_mg2[1];return _mg2[0]}function _pg2(_gc,_La,_R3,_Al,x,_Rw,_Ly){_mg2[0]=_gc;_mg2[1]=_La;_mg2[2]=_R3;_mg2[3]=_Al;_mg2[4]=x;_mg2[5]=_Rw;_mg2[6]=_Ly;_mg2[0]+=_ig2(_mg2[1],_mg2[2],_mg2[3])+_mg2[4]+(_mg2[6]);_mg2[0]=_lg2(_mg2[0],_mg2[5]);_mg2[0]+=_mg2[1];return _mg2[0]}function _qg2(_gc,_La,_R3,_Al,x,_Rw,_Ly){_mg2[0]=_gc;_mg2[1]=_La;_mg2[2]=_R3;_mg2[3]=_Al;_mg2[4]=x;_mg2[5]=_Rw;_mg2[6]=_Ly;
_mg2[0]+=_jg2(_mg2[1],_mg2[2],_mg2[3])+_mg2[4]+(_mg2[6]);_mg2[0]=_lg2(_mg2[0],_mg2[5]);_mg2[0]+=_mg2[1];return _mg2[0]}function _2F1(_rg2,_sg2){var _gc=_rg2[0],_La=_rg2[1],_R3=_rg2[2],_Al=_rg2[3];var _tg2=7;var _ug2=12;var _vg2=17;var _wg2=22;_gc=_ng2(_gc,_La,_R3,_Al,_sg2[0],_tg2,0xD76AA478);_Al=_ng2(_Al,_gc,_La,_R3,_sg2[1],_ug2,0xE8C7B756);_R3=_ng2(_R3,_Al,_gc,_La,_sg2[2],_vg2,0x242070DB);_La=_ng2(_La,_R3,_Al,_gc,_sg2[3],_wg2,0xC1BDCEEE);_gc=_ng2(_gc,_La,_R3,_Al,_sg2[4],_tg2,0xF57C0FAF);_Al=_ng2(_Al,_gc,
_La,_R3,_sg2[5],_ug2,0x4787C62A);_R3=_ng2(_R3,_Al,_gc,_La,_sg2[6],_vg2,0xA8304613);_La=_ng2(_La,_R3,_Al,_gc,_sg2[7],_wg2,0xFD469501);_gc=_ng2(_gc,_La,_R3,_Al,_sg2[8],_tg2,0x698098D8);_Al=_ng2(_Al,_gc,_La,_R3,_sg2[9],_ug2,0x8B44F7AF);_R3=_ng2(_R3,_Al,_gc,_La,_sg2[10],_vg2,0xFFFF5BB1);_La=_ng2(_La,_R3,_Al,_gc,_sg2[11],_wg2,0x895CD7BE);_gc=_ng2(_gc,_La,_R3,_Al,_sg2[12],_tg2,0x6B901122);_Al=_ng2(_Al,_gc,_La,_R3,_sg2[13],_ug2,0xFD987193);_R3=_ng2(_R3,_Al,_gc,_La,_sg2[14],_vg2,0xA679438E);_La=_ng2(_La,
_R3,_Al,_gc,_sg2[15],_wg2,0x49B40821);var _xg2=5;var _yg2=9;var _zg2=14;var _Ag2=20;_gc=_og2(_gc,_La,_R3,_Al,_sg2[1],_xg2,0xF61E2562);_Al=_og2(_Al,_gc,_La,_R3,_sg2[6],_yg2,0xC040B340);_R3=_og2(_R3,_Al,_gc,_La,_sg2[11],_zg2,0x265E5A51);_La=_og2(_La,_R3,_Al,_gc,_sg2[0],_Ag2,0xE9B6C7AA);_gc=_og2(_gc,_La,_R3,_Al,_sg2[5],_xg2,0xD62F105D);_Al=_og2(_Al,_gc,_La,_R3,_sg2[10],_yg2,0x02441453);_R3=_og2(_R3,_Al,_gc,_La,_sg2[15],_zg2,0xD8A1E681);_La=_og2(_La,_R3,_Al,_gc,_sg2[4],_Ag2,0xE7D3FBC8);_gc=_og2(_gc,_La,
_R3,_Al,_sg2[9],_xg2,0x21E1CDE6);_Al=_og2(_Al,_gc,_La,_R3,_sg2[14],_yg2,0xC33707D6);_R3=_og2(_R3,_Al,_gc,_La,_sg2[3],_zg2,0xF4D50D87);_La=_og2(_La,_R3,_Al,_gc,_sg2[8],_Ag2,0x455A14ED);_gc=_og2(_gc,_La,_R3,_Al,_sg2[13],_xg2,0xA9E3E905);_Al=_og2(_Al,_gc,_La,_R3,_sg2[2],_yg2,0xFCEFA3F8);_R3=_og2(_R3,_Al,_gc,_La,_sg2[7],_zg2,0x676F02D9);_La=_og2(_La,_R3,_Al,_gc,_sg2[12],_Ag2,0x8D2A4C8A);var _Bg2=4;var _Cg2=11;var _Dg2=16;var _Eg2=23;_gc=_pg2(_gc,_La,_R3,_Al,_sg2[5],_Bg2,0xFFFA3942);_Al=_pg2(_Al,_gc,_La,
_R3,_sg2[8],_Cg2,0x8771F681);_R3=_pg2(_R3,_Al,_gc,_La,_sg2[11],_Dg2,0x6D9D6122);_La=_pg2(_La,_R3,_Al,_gc,_sg2[14],_Eg2,0xFDE5380C);_gc=_pg2(_gc,_La,_R3,_Al,_sg2[1],_Bg2,0xA4BEEA44);_Al=_pg2(_Al,_gc,_La,_R3,_sg2[4],_Cg2,0x4BDECFA9);_R3=_pg2(_R3,_Al,_gc,_La,_sg2[7],_Dg2,0xF6BB4B60);_La=_pg2(_La,_R3,_Al,_gc,_sg2[10],_Eg2,0xBEBFBC70);_gc=_pg2(_gc,_La,_R3,_Al,_sg2[13],_Bg2,0x289B7EC6);_Al=_pg2(_Al,_gc,_La,_R3,_sg2[0],_Cg2,0xEAA127FA);_R3=_pg2(_R3,_Al,_gc,_La,_sg2[3],_Dg2,0xD4EF3085);_La=_pg2(_La,_R3,
_Al,_gc,_sg2[6],_Eg2,0x04881D05);_gc=_pg2(_gc,_La,_R3,_Al,_sg2[9],_Bg2,0xD9D4D039);_Al=_pg2(_Al,_gc,_La,_R3,_sg2[12],_Cg2,0xE6DB99E5);_R3=_pg2(_R3,_Al,_gc,_La,_sg2[15],_Dg2,0x1FA27CF8);_La=_pg2(_La,_R3,_Al,_gc,_sg2[2],_Eg2,0xC4AC5665);var _Fg2=6;var _Gg2=10;var _Hg2=15;var _Ig2=21;_gc=_qg2(_gc,_La,_R3,_Al,_sg2[0],_Fg2,0xF4292244);_Al=_qg2(_Al,_gc,_La,_R3,_sg2[7],_Gg2,0x432AFF97);_R3=_qg2(_R3,_Al,_gc,_La,_sg2[14],_Hg2,0xAB9423A7);_La=_qg2(_La,_R3,_Al,_gc,_sg2[5],_Ig2,0xFC93A039);_gc=_qg2(_gc,_La,_R3,
_Al,_sg2[12],_Fg2,0x655B59C3);_Al=_qg2(_Al,_gc,_La,_R3,_sg2[3],_Gg2,0x8F0CCC92);_R3=_qg2(_R3,_Al,_gc,_La,_sg2[10],_Hg2,0xFFEFF47D);_La=_qg2(_La,_R3,_Al,_gc,_sg2[1],_Ig2,0x85845DD1);_gc=_qg2(_gc,_La,_R3,_Al,_sg2[8],_Fg2,0x6FA87E4F);_Al=_qg2(_Al,_gc,_La,_R3,_sg2[15],_Gg2,0xFE2CE6E0);_R3=_qg2(_R3,_Al,_gc,_La,_sg2[6],_Hg2,0xA3014314);_La=_qg2(_La,_R3,_Al,_gc,_sg2[13],_Ig2,0x4E0811A1);_gc=_qg2(_gc,_La,_R3,_Al,_sg2[4],_Fg2,0xF7537E82);_Al=_qg2(_Al,_gc,_La,_R3,_sg2[11],_Gg2,0xBD3AF235);_R3=_qg2(_R3,_Al,
_gc,_La,_sg2[2],_Hg2,0x2AD7D2BB);_La=_qg2(_La,_R3,_Al,_gc,_sg2[9],_Ig2,0xEB86D391);_rg2[0]+=_gc;_rg2[1]+=_La;_rg2[2]+=_R3;_rg2[3]+=_Al}function _Jg2(_Kg2,_Lg2,_Mg2,_Ng2){var _sg2=new Uint32Array(16);var _Og2;var _Q3,_cE;var _IS=0;_Og2=(_Kg2._Q3[0]>>3)&0x3F;if((_Kg2._Q3[0]+((_Ng2<<3)&0xffffffff))<_Kg2._Q3[0]){_Kg2._Q3[1]++}_Kg2._Q3[0]+=(_Ng2<<3)&0xffffffff;_Kg2._Q3[1]+=(_Ng2>>29)&0xffffffff;while(_Ng2--){_Kg2._ag2[_Og2++]=_Lg2[_IS++];if(_Og2==0x40){for(_Q3=0,_cE=0;_Q3<16;_Q3++,_cE+=4)_sg2[_Q3]=(((0xffffffff&_Kg2._ag2[_cE+3])<<24)|((0xffffffff&_Kg2._ag2[_cE+2])<<16)|((0xffffffff&_Kg2._ag2[_cE+1])<<8)|(0xffffffff&_Kg2._ag2[_cE]));
_2F1(_Kg2._9g2,_sg2);_Og2=0}}}var _Pg2=new Uint8Array(64);function _Qg2(_Kg2){var _sg2=new Uint32Array(16);var _Og2;var _Q3,_cE;var _Rg2;_sg2[14]=_Kg2._Q3[0];_sg2[15]=_Kg2._Q3[1];_Og2=((_Kg2._Q3[0]>>3)&0x3F);_Rg2=(_Og2<56)?(56-_Og2):(120-_Og2);_Pg2[0]=0x80;_Jg2(_Kg2,_Pg2,0,_Rg2);for(_Q3=0,_cE=0;_Q3<14;_Q3++,_cE+=4){_sg2[_Q3]=((~~_Kg2._ag2[_cE+3])<<24)|((~~_Kg2._ag2[_cE+2])<<16)|((~~_Kg2._ag2[_cE+1])<<8)|(~~_Kg2._ag2[_cE]);}_2F1(_Kg2._9g2,_sg2);for(_Q3=0,_cE=0;_Q3<4;_Q3++,_cE+=4){_Kg2._bg2[_cE]=(_Kg2._9g2[_Q3]&0xFF);
_Kg2._bg2[_cE+1]=((_Kg2._9g2[_Q3]>>8)&0xFF);_Kg2._bg2[_cE+2]=((_Kg2._9g2[_Q3]>>16)&0xFF);_Kg2._bg2[_cE+3]=((_Kg2._9g2[_Q3]>>24)&0xFF)}}function _Sg2(_Tg2,_cf,_Mg2){var _eg2=_dg2();var _Ug2=_cf;while(_Ug2>0){var _Vg2=_Ja(_Ug2,_cf-_Mg2);_Jg2(_eg2,_Tg2,_Mg2,_Vg2);_Mg2=0;_Ug2-=_Vg2}_Qg2(_eg2);return _eg2._cg2()}_Of2.prototype._Wg2=function(_Mg2,_cf){if(this._Sf2==0)return;if(_cf<0)_cf=this._Sf2;if(_cf==0)return "";if(this._Ve2==_gf2){while(_Mg2<0)_Mg2+=this._Sf2;while(_Mg2>=this._Sf2)_Mg2-=this._Sf2}else {
if(_Mg2<0)_Mg2=0;if(_Mg2>=this._Sf2)_Mg2=this._Sf2-1;if((_Mg2+_cf)>this._Sf2)_cf=this._Sf2-_Mg2}if(_cf>this._Sf2-_Mg2){return ""}else {var _Xg2=new Uint8Array(this._fN,_Mg2,_cf);var _oT1=String.fromCharCode.apply(null,_Xg2);return _If2(_oT1,_cf);}};_Of2.prototype._sJ1=function(_qf,_Zt){var _Yg2;var _I3=0;this._qJ1=(((this._qJ1+this._Uf2)+(this._Tf2-1))&~(this._Tf2-1))-this._Uf2;if(this._qJ1>=this._Sf2&&this._Ve2==_gf2){while(this._qJ1>=this._Sf2){this._5g2();this._qJ1-=this._Sf2}}if((this._qJ1>=this._Sf2)&&(this._Ve2!=_ff2)){
return _bf2}var _7g2=_6g2(_qf);if((_qf===_rf2)||(_qf===_tf2)){_Yg2=_Oy(_Zt);_7g2=_Yg2.length;if(_qf===_rf2)_7g2++;}if((this._qJ1+_7g2)>this._Sf2){if(this._Ve2==_ff2){var _Zg2=this._Sf2;var _IC1=this._Sf2;while((this._qJ1+_7g2)>_IC1){_IC1=(_IC1<<1)}this._Zf2(_IC1)}else {if(this._Ve2!=_gf2){return _bf2}}}switch(_qf){case _qf2:if(_Zt==true){_Zt=1}else {_Zt=0}case _kf2:{this._Wf2.setUint8(this._qJ1,_Zt);this._qJ1++}break;case _rf2:case _tf2:{for(var _Q3=0;_Q3<_Yg2.length;_Q3++){var _4g2=_Yg2.charCodeAt(_Q3)&0xff;
this._Wf2.setUint8(this._qJ1++,_4g2,true)}if(_qf===_rf2){this._Wf2.setUint8(this._qJ1++,0,true)}}break;case _lf2:this._Wf2.setInt8(this._qJ1,_Zt);this._qJ1++;break;case _mf2:this._Wf2.setUint16(this._qJ1,_Zt,true);this._qJ1+=2;break;case _nf2:this._Wf2.setInt16(this._qJ1,_Zt,true);this._qJ1+=2;break;case _vJ1:this._Wf2.setInt32(this._qJ1,_Zt,true);this._qJ1+=4;break;case _tJ1:this._Wf2.setUint32(this._qJ1,_Zt,true);this._qJ1+=4;break;case _uJ1:this._Wf2.setFloat32(this._qJ1,_Zt,true);this._qJ1+=4;break;
case _pf2:this._Wf2.setFloat64(this._qJ1,_Zt,true);this._qJ1+=8;break;case _sf2:_Ti("Error (buffer_write): HTML5 buffers do not support U64 types.");this._qJ1+=8;break;}this._2g2(-1)};_Of2.prototype.__g2=function(_qf,_Mg2){var _I3=_6g2(_qf);if(_Mg2<0)return 0;if(this._Ve2!=_gf2){if(_Mg2>(this._Sf2-_I3))return 0}else {while(_Mg2>=this._Sf2){_Mg2-=this._Sf2}}var _ft;switch(_qf){case _qf2:_ft=this._Wf2.getUint8(_Mg2);if(_ft==1){_ft=true}else {_ft=false}break;case _kf2:{_ft=this._Wf2.getUint8(_Mg2)}break;case _lf2:_ft=this._Wf2.getInt8(_Mg2);
break;case _mf2:_ft=this._Wf2.getUint16(_Mg2,true);break;case _nf2:_ft=this._Wf2.getInt16(_Mg2,true);break;case _vJ1:_ft=this._Wf2.getInt32(_Mg2,true);break;case _tJ1:_ft=this._Wf2.getUint32(_Mg2,true);break;case _uJ1:_ft=this._Wf2.getFloat32(_Mg2,true);break;case _pf2:_ft=this._Wf2.getFloat64(_Mg2,true);break;case _sf2:_Ti("Error (buffer_peek): HTML5 buffers do not support U64 types.");_ft=0;break }return _ft};_Of2.prototype._0h2=function(_qf,_Mg2,_Zt){if(_Mg2<0)return;var _I3=_6g2(_qf);if(this._Ve2!=_gf2){
if(_Mg2>(this._Sf2-_I3))return 0}else {while(_Mg2>=this._Sf2){_Mg2-=this._Sf2}}switch(_qf){case _qf2:if(_Zt==true){_Zt=1}else {_Zt=0}case _kf2:this._Wf2.setUint8(_Mg2,_Zt);this._2g2(_Mg2+1);return;break;case _lf2:this._Wf2.setInt8(_Mg2,_Zt);this._2g2(_Mg2+1);return;break;case _mf2:this._Wf2.setUint16(_Mg2,_Zt,true);break;case _nf2:this._Wf2.setInt16(_Mg2,_Zt,true);break;case _vJ1:this._Wf2.setInt32(_Mg2,_Zt,true);break;case _tJ1:this._Wf2.setUint32(_Mg2,_Zt,true);break;case _uJ1:this._Wf2.setFloat32(_Mg2,_Zt,
true);break;case _pf2:this._Wf2.setFloat64(_Mg2,_Zt,true);break;case _sf2:_Ti("Error (buffer_peek): HTML5 buffers do not support U64 types.");break }this._2g2(_Mg2+_I3)};_Of2.prototype._wJ1=function(_1h2,_Mg2){switch(_1h2){case _xJ1:if(_Mg2<0)_Mg2=0;this._qJ1=_Mg2;break;case _uf2:this._qJ1+=_Mg2;if(this._qJ1<0)this._qJ1=0;break;case _vf2:this._qJ1=this._Sf2-_Mg2;if(this._qJ1>this._Sf2)this._qJ1=this._Sf2;break }return this._qJ1;};function _bN(_cf,_qf,_Pf2){try{return _eN._4j(new _Of2(_cf,_qf,_Pf2))}catch(e){
alert("ArrayBuffer Error : This functionality requires at least IE10");return -1}}function _2h2(_IS,_qf,_Zt){var _ed=_eN._Si(_IS);if(!_ed)return _ef2;return _ed._sJ1(_qf,_Zt)}function _Ye2(_IS){var _ed=_eN._Si(_IS);if(!_ed)return _ef2;_ed._fN=null;_ed._Wf2=null;_eN._7j(_IS);return 0}var _3h2=-1;function _4h2(_wV,_5h2,_xt,_Mg2,_6h2){var _ed=_eN._Si(_wV);var _Vk=_Jk._Si(_5h2);if(!_ed||!_Vk)return false;var data=null;var _Kk=_Vk._Ic;try{data=_Kk._xV(0,0,_Vk._1f,_Vk._2f)}catch(_9y){return false}var _7h2=data.data;for(var _Q3=0;
_Q3<_7h2.length;_Q3++){_ed._0h2(_kf2,_Q3,_7h2[_Q3])}return true}function _8h2(_wV,_5h2,_xt,_Mg2,_6h2){var _ed=_eN._Si(_wV);var _Vk=_Jk._Si(_5h2);if(!_ed||!_Vk)return false;var data=null;var _Kk=_Vk._Ic;try{var _9h2=_Kk.createImageData(_Vk._1f,_Vk._2f);var data=_9h2.data;var _av=_Vk._1f*_Vk._2f*4;for(var _Q3=0;_Q3<_av;_Q3++){data[_Q3]=_ed.__g2(_kf2,_Q3)}_Kk._ah2(_9h2,0,0)}catch(_9y){return false}return true}var _bh2=function(){_Ad("vertex_create_buffer")};var _ch2=function(_I3){_Ad("vertex_create_buffer_ext")};
var _dh2=function(buffer){_Ad("vertex_delete_buffer")};var _eh2=function(buffer,_qY1){_Ad("vertex_begin")};var _fh2=function(buffer){_Ad("vertex_end")};var _gh2=function(buffer,x,y){_Ad("vertex_position")};var _hh2=function(buffer,x,y,_Pd){_Ad("vertex_position_3d")};var _ih2=function(buffer,_1c,alpha){_Ad("vertex_colour")};var _jh2=function(buffer,_1c,alpha){_Ad("vertex_color")};var _kh2=function(buffer,_Ia,_fc,_La,_gc){_Ad("vertex_rgba")};var _lh2=function(buffer,_Ia,_fc,_La,_gc){_Ad("vertex_argb")};var _mh2=function(buffer,
_sc,_uc){_Ad("vertex_texcoord")};var _nh2=function(buffer,x,y,_Pd){_Ad("vertex_normal")};var _oh2=function(buffer,x){_Ad("vertex_float1")};var _ph2=function(buffer,x,y){_Ad("vertex_float2")};var _qh2=function(buffer,x,y,_Pd){_Ad("vertex_float3")};var _rh2=function(buffer,x,y,_Pd,_S3){_Ad("vertex_float4")};var _sh2=function(buffer,x,y,_Pd,_S3){_Ad("vertex_ubyte4")};var _th2=function(buffer){_Ad("vertex_freeze")};var _uh2=function(buffer){_Ad("vertex_submit")};var _vh2=function(buffer){_Ad("vertex_get_number")}
;var _wh2=function(buffer){_Ad("vertex_get_buffer_size")};var _xh2=function(buffer){_Ad("vertex_create_buffer_from_buffer")};var _yh2=function(buffer){_Ad("vertex_create_buffer_from_buffer_ext")};var _zh2=function(){};var _Ah2=8*1024;var _Bh2=[];function _Ch2(){_bh2=_Dh2;_ch2=_Eh2;_xh2=_Fh2;_yh2=_Gh2;_dh2=_Hh2;_eh2=_Ih2;_fh2=_Jh2;_gh2=_Kh2;_hh2=_Lh2;_ih2=_Mh2;_jh2=_Mh2;_kh2=_Nh2;_lh2=_Oh2;_mh2=_Ph2;_nh2=_Qh2;_oh2=_Rh2;_ph2=_Sh2;_qh2=_Th2;_rh2=_Uh2;_sh2=_Vh2;_th2=_Wh2;_uh2=_Xh2;_vh2=_Yh2;_wh2=_Zh2;_zh2=__h2}
function _Gh2(_wV,_Kv1,_0i2,_1i2){var _4T=0;var _tB1=_tb._Me(_Kv1);var _ed=_eN._Si(_wV);if(!_ed||!_tB1)return -1;if(_1i2==-1){_0i2=0;_4T=_ed._Vf2;_1i2=_4T/_tB1._zf}else {_4T=_1i2*_tB1._zf;if((_4T+_0i2)>_ed._Vf2){_4T=(_ed._Vf2-_0i2);_1i2=~~(_4T/_tB1._zf);_4T=_1i2*_tB1._zf}}var _2i2=_ch2(_4T);var _3i2=_Bh2[_2i2];var _4i2=new Uint8Array(_ed._fN);var _Yf2=new Uint8Array(_3i2._hg());_3i2._Ef(_Kv1);var src=_0i2;for(var _Q3=0;_Q3<_4T;_Q3++){_Yf2[_Q3]=_4i2[src++]}_3i2._eg(_1i2);_3i2._Gf();return _2i2}function _Fh2(_wV,
_Kv1){return _Gh2(_wV,_Kv1,0,-1)}function _Dh2(){return _ch2(_Ah2);}function _Eh2(_cf){var _5i2=new _bf(_cf);var _6i2=_Bh2.length;for(var _Q3=0;_Q3<_Bh2;_Q3++){if((_Bh2[_Q3]===null)||(_Bh2[_Q3]===undefined)){_6i2=_Q3;break }}_Bh2[_6i2]=_5i2;return _6i2}function _Hh2(_wV){_Bh2[_wV]=null}function _Ih2(_wV,_Kv1){_Bh2[_wV]._Ef(_Kv1)}function _Jh2(_wV){_Bh2[_wV]._Gf()}function _Kh2(_wV,x,y){_Bh2[_wV]._Hf(x,y)}function _Lh2(_wV,x,y,_Pd){_Bh2[_wV]._Kf(x,y,_Pd)}function _Mh2(_wV,_1c,alpha){_Bh2[_wV]._Mf(_1c,alpha)}function _Nh2(_wV,
_Rf){_Bh2[_wV]._Qf(_Rf)}function _Oh2(_wV,_Tf){_Bh2[_wV]._Sf(_Tf);}function _Ph2(_wV,_sc,_uc){_Bh2[_wV]._Uf(_sc,_uc)}function _Qh2(_wV,x,y,_Pd){_Bh2[_wV]._Wf(x,y,_Pd)}function _Rh2(_wV,x){_Bh2[_wV]._Yf(x)}function _Sh2(_wV,x,y){_Bh2[_wV].__f(x,y)}function _Th2(_wV,x,y,_Pd){_Bh2[_wV]._0g(x,y,_Pd)}function _Uh2(_wV,x,y,_Pd,_S3){_Bh2[_wV]._1g(x,y,_Pd,_S3)}function _Vh2(_wV,x,y,_Pd,_S3){_Bh2[_wV]._3g(x,y,_Pd,_S3)}function _Wh2(_wV){var _5i2=_Bh2[_wV];if(_5i2){_5i2._5g()}}function __h2(){_tb._rV()}function _Xh2(_wV,
_ag,_bg){_tb._rV();var _Xe,_5i2=_Bh2[_wV];if(_5i2){_5i2._9g(_ze(_ag),_bg)}}function _Yh2(_wV){var _5i2=_Bh2[_wV];if(_5i2){return _5i2._gg()}return 0}function _Zh2(_wV){var _5i2=_Bh2[_wV];if(_5i2){return _5i2._hg().byteLength}return 0}/*@constructor */function _Na2(){this.__type="[BuiltIn]";this._ZI=0;this._4c2=0;this._5c2=0;this._7i2=0;this._8i2=0;this._D7=0;this._9i2=0;this._ai2=100;this._Jb2=0;this._Ob2="/";this._bi2="/";this._ci2="/";this._di2=0;this._ei2=0;this._fi2=0;this._gi2=0;this._hi2="room";this._ii2=30;
this._ji2=false;this._ki2=0x00000000;this._li2=false;this._mi2=false;this._ni2=false;this._r6=0;this._oi2=0;this._pi2=0;this._qi2=0;this._ri2=0;this._si2=0;this._ti2=0;this._ui2=1.0;this._vi2=1.0;this._wi2=0;this._xi2=0;this._yi2=0;this._zi2=1.0;this._Ai2=false;this._Bi2=0;this._Ci2=0;this._88=0;this._a8=0;this._98=0;this._Di2=0;this._Ei2=0;this._Fi2=0;this._Gi2=0;this._Hi2=0;this._Ii2=0;this._Ji2=0;this._Ki2=0;this._Li2=0;this._Mi2=0;this._Ni2=0;this._27=0;this._37=0;this._Oi2=0;this._Pi2=0;this._Qi2=0;
this._Ri2=0;this._Si2="";this._Ti2="";this._Qb2=false;this._Ui2=false;this._Vi2=false;this._Wi2=false;this._Xi2="score";this._Yi2="lives";this._Zi2="health";this._7K=0;this.__i2=0;this._0j2=0;this._1j2=0;this._2j2=0;this._3j2=0;this._4j2=0;this._5j2=0;this._6j2=0;this._7j2=0;this._8j2=0;this._6d2=0;this._9j2=0;this._aj2=0;this._bj2=true;this._cj2=true;this._dj2=8.2;this._rT=-1;this._Y8=-1;this._gG=-1;this._ej2=false;this._fj2=-1;this._Ci2=[];this._88=[];this._a8=[];this._98=[];this._Di2=[];this._Ei2=[];
this._Fi2=[];this._Gi2=[];this._Hi2=[];this._Ii2=[];this._Ji2=[];this._Ki2=[];this._Li2=[];this._Mi2=[];this._Ni2=[];this._gj2=[];this._hj2=[];this._mi2=[];this._ni2=[];this._r6=[];this._oi2=[];this._pi2=[];this._qi2=[];this._ri2=[];this._si2=[];this._ti2=[];this._ui2=[];this._vi2=[];this._wi2=[];this._xi2=[];this._yi2=[];this._zi2=[]}_Na2.prototype._p8=function(){return _ij2()};_Na2.prototype._q8=function(){return _jj2()};_Na2.prototype._W6=function(){return _KR};_Na2.prototype._o8=function(){return _uX()}
;_Na2.prototype._N6=function(){return this._rT};_Na2.prototype._Li=function(_kj2){for(var _uc=0;_uc<_kj2.length;_uc++){var _KA=_kj2[_uc];this[_uc]=_KA}};/*@constructor */function _Jx(){this.__type="[Font]";this._Kx=false;this._lj2=false;this._33="";this._Lx="";this._I3=12;this.bold=false;this._J3=false;this._K3=32;this._L3=127;this._Px="";this.prop=false;this._mj2=0;this._nj2=null;this.antialias=0;this._M3=0;this._W9=1;this._X9=1;this._oj2=0.5;this._P3=null;this._Bk=null;this._pj2=null}_Jx.prototype._qj2=function(_0f2){
this._33=_0f2._33;this._Lx=_0f2._N3;this._I3=_0f2._I3;this.bold=_0f2.bold;this._J3=_0f2._J3;this._K3=_0f2._K3&0xffff;this._Kx=false;this.antialias=0;this._M3=0;if(((_0f2._K3>>16)&0xff)!==0)this._M3=(_0f2._K3>>16)&0xff;if(((_0f2._K3>>24)&0xff)!==0)this.antialias=((_0f2._K3>>24)&0xff)-1;this._L3=_0f2._L3;this._W9=_0f2.scaleX;this._X9=_0f2.scaleY;this._P3=[];var _3w=99999999;var _Ga=-99999999;var maxHeight=0;for(var _rj2=0;_rj2<_0f2._P3.length;_rj2++){var index=-2;var _sj2=_0f2._P3[_rj2];if(_sj2._R3!=undefined)index=_sj2._R3.charCodeAt(0);
else if(_sj2._Q3!=undefined)index=_sj2._Q3;this._P3[index]=_sj2;if(index<_3w)_3w=index;if(index>_Ga)_Ga=index;if(_sj2._T3>maxHeight)maxHeight=_sj2._T3}this._tj2=maxHeight;this._K3=_3w;this._L3=_Ga;this._Bk=_1f2(_0f2._O3)};_Jx.prototype._uj2=function(){var height=0;for(var _ra=0;_ra<this._pj2._VT.length;_ra++){var _Ok=this._pj2._VT[_ra];height=_Ha(height,_Ok._l5)}this._I3=height};_Jx.prototype._vj2=function(_1x){if((this._nj2!=null)&&(this._nj2!=undefined)){var _Mj="";for(var _Q3=0;_Q3<_1x.length;_Q3++){
if(_1x.charAt(_Q3)==='\n'){_Mj=_Mj+_1x.charAt(_Q3)}else {var _wj2=this._nj2.indexOf(_1x.charAt(_Q3));if((_wj2>=0)&&(_wj2<this._nj2.length)){_Mj=_Mj+String.fromCharCode(this._K3+_wj2)}}}return _Mj}return _1x};_Jx.prototype._xj2=function(_1x){if((!_1x)||(0===_1x.length))return 0;if(this._Kx){return this._I3}else {return this._tj2}};_Jx.prototype._yj2=function(_1x,_zj2){if((!_1x)||(0===_1x.length))return 0;var _Mj,_mS1;if(_zj2){_mS1=[_1x]}else {var _Mj=this._vj2(_1x,this);var _mS1=_gx._Aj2(_Mj,-1,this)}if(this._Kx){
if(this._lj2){var _LA=0;for(var _Q3=0;_Q3<_mS1.length;_Q3++){var _Bj2=0;var _fS1=_mS1[_Q3];for(var _Pa=0;_Pa<_fS1.length;_Pa++){_Bj2+=this._Cj2(_fS1.charCodeAt(_Pa))}_LA=_Ha(_LA,_Bj2)}return _LA}else {var _LA=0;_Ic.font=this._Px;if(_Ic.measureText){for(var _Q3=0;_Q3<_mS1.length;_Q3++){var _sY1=_Ic.measureText(_mS1[_Q3]);_LA=_Ha(_LA,_sY1.width)}}return _LA}}else {var _LA=0;for(var _Q3=0;_Q3<_mS1.length;_Q3++){var _Bj2=0;var _fS1=_mS1[_Q3];for(var _Pa=0;_Pa<_fS1.length;_Pa++){var _R3=_fS1.charCodeAt(_Pa);var _sj2=this._P3[_R3];
if(!_sj2){_sj2=this._P3[this._K3]}_Bj2+=_sj2.shift}_LA=_Ha(_LA,_Bj2)}return _LA}};_Jx.prototype._Cj2=function(_uZ){if(this._Kx){if(this._lj2){var _LA=this._mj2;if((_uZ>=this._K3)&&(_uZ<this._L3)){var _Ok=this._pj2._VT[_uZ-this._K3];if(this.prop){_LA+=_Ok._i5}else {_LA+=_Ok._k5}}else if(_uZ===32){_LA+=this._Dj2}return _LA}else {_Ic.font=this._Px;if(_Ic.measureText){var _sY1=_Ic.measureText(String.fromCharCode(_uZ));return _sY1.width}return 0}}var _sj2=this._P3[_uZ];if(_sj2){return _sj2.shift}else if(0x20>=this._K3&&0x20<=this._L3){
return this._P3[0x20].shift}else {return this._P3[this._K3].shift}};_Jx.prototype._Ej2=function(_N9,_O9,_Fj2,_4t,_5t,_R9,_hy,_iy,_bB,_cB){var _Gj2=this._Bk;if(!_Gj2._Hb.complete)return;var _av=_Fj2.length;for(var _Q3=0;_Q3<_av;_Q3++){var _uZ=_Fj2.charCodeAt(_Q3);var _sj2=this._P3[_uZ];if(_sj2){var __b=_sj2.x;var _0c=_sj2.y;var _vB=_sj2._S3;var _xB=_sj2._T3;if(Math.abs(_R9)<0.001){_Ic._UT(_Gj2,__b+_Gj2.x,_0c+_Gj2.y,_vB,_xB,_N9+(_sj2.offset*_4t),_O9,_vB*this._W9*_4t,_xB*this._X9*_5t,_hy,_iy,_bB,_cB)}else {_Ic._UT(_Gj2,
__b+_Gj2.x,_0c+_Gj2.y,_vB,_xB,_N9+(_sj2.offset*_4t),_O9,_vB,_xB,_hy,_iy,_bB,_cB)}_N9+=_4t*this._Cj2(_uZ)}}};_Jx.prototype._Hj2=function(_N9,_O9,_R9){var _zs=new _7r();_zs._ts(-_N9,-_O9,0);var _Ds=new _7r();_Ds._xs(_R9);var _F_=new _7r();_F_.Multiply(_zs,_Ds);_zs._ts(_N9,_O9,0);var _Ij2=new _7r();_Ij2.Multiply(_F_,_zs);return _Ij2};_Jx.prototype._Jj2=function(_N9,_O9,_Fj2,_4t,_5t,_R9,_hy,_iy,_bB,_cB){if(this._Kx){this._Ej2(_N9,_O9,_Fj2,_4t,_5t,_R9,_hy,_iy,_bB,_cB)}var _Kj2;var _Gj2=this._Bk;if(!_Gj2._Hb.complete)return;
var _av=_Fj2.length;if(_Lj2){_hy&=0xfffefffe;_iy&=0xfffefffe;_bB&=0xfffefffe;_cB&=0xfffefffe;_iy|=0x00010000;_bB|=0x00000001;_cB|=0x00010001}var _ed,_md,_od,_qd;if(!_Gj2._Hb._bd)_cd(_Gj2);var _Mj2;if(Math.abs(_R9)>0.001){_Mj2=_Bs(_ss);_rs(_ss,this._Hj2(_N9,_O9,_R9))}var _dd=_av*6;_ed=_tb._fd(_gd._hd,_Gj2._Hb._bd,_tb._id,_dd);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=_dd;var _sd=index,_td=_sd+_jd,_ud=_td+_jd,_vd=_ud+_jd,_wd=_vd+_jd,_xd=_wd+_jd;_md=_ed._nd;_od=_ed._pd;_qd=_ed._rd;var scaleX,scaleY;
if(Math.abs(_R9)<0.001){scaleX=this._W9*_4t;scaleY=this._X9*_5t}else {scaleX=this._W9*_4t;scaleY=this._X9*_5t}var _EM1=0;var _Nj2=this._oj2,_Oj2=1.0/_Gj2._Hb.width,_Pj2=1.0/_Gj2._Hb.height;for(var _Q3=0;_Q3<_av;_Q3++){var _uZ=_Fj2.charCodeAt(_Q3);var _sj2=this._P3[_uZ];if(_sj2){var __b=_sj2.x,_0c=_sj2.y,_vB=_sj2._S3,_xB=_sj2._T3;var x=_N9+(_sj2.offset*_4t);_md[_sd+0]=_md[_wd+0]=_md[_xd+0]=x-_Nj2;_md[_sd+1]=_md[_td+1]=_md[_xd+1]=_O9-_Nj2;_md[_td+0]=_md[_ud+0]=_md[_vd+0]=x+_Nj2+(_vB*scaleX);_md[_ud+1]=_md[_vd+1]=_md[_wd+1]=_O9+_Nj2+(_xB*scaleY);
_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;_qd[_sd+0]=_qd[_wd+0]=_qd[_xd+0]=(_Gj2.x+__b-_Nj2)*_Oj2;_qd[_sd+1]=_qd[_td+1]=_qd[_xd+1]=(_Gj2.y+_0c-_Nj2)*_Pj2;_qd[_td+0]=_qd[_ud+0]=_qd[_vd+0]=(_Gj2.x+__b+_vB+_Nj2)*_Oj2;_qd[_ud+1]=_qd[_vd+1]=_qd[_wd+1]=(_Gj2.y+_0c+_xB+_Nj2)*_Pj2;_od[_sd]=_od[_xd]=_hy;_od[_td]=_iy;_od[_ud]=_od[_vd]=_bB;_od[_wd]=_cB;_sd+=(_jd*6);_td+=(_jd*6);_ud+=(_jd*6);_vd+=(_jd*6);_wd+=(_jd*6);_xd+=(_jd*6);_N9+=_4t*_sj2.shift}else {_EM1++}}_ed._ld-=_EM1;if(_Mj2!=undefined){
_rs(_ss,_Mj2)}};_Jx.prototype._Qj2=function(_N9,_O9,_Fj2,_4t,_5t,_R9,_hy,_iy,_bB,_cB){var _Kj2=null;var _uZ;var _Gj2=_Ib[this._Bk._m5];if(!_Gj2.complete)return;var _RN1=_Ic.globalAlpha;_Ic.globalAlpha=((_hy>>24)&0xff)/255.0;var _av=_Fj2.length;_hy=_hy&0xffffff;_R9=_ra2(_R9);if(Math.abs(_R9)>0.00001){_Rj2(_N9,_O9,this._W9*_4t,this._X9*_5t,-_R9);_N9=0;_O9=0;if(_hy!=0xffffff){for(var _Q3=0;_Q3<_av;_Q3++){_uZ=_Fj2.charCodeAt(_Q3);var _sj2=this._P3[_uZ];if(_sj2){var _vB=_sj2._S3;if(_vB!=99999){var _xB=_sj2._T3;
_Kj2=_Sj2(_Gj2,_sj2,_sj2.x,_sj2.y,_vB+2,_xB+2,_hy);_Ic._UT(_Kj2,0,0,_vB,_xB,_N9+_sj2.offset,_O9,_vB,_xB);_N9+=this._Cj2(_uZ)}}}}else {for(var _Q3=0;_Q3<_av;_Q3++){_uZ=_Fj2.charCodeAt(_Q3);var _sj2=this._P3[_uZ];if(_sj2){var _vB=_sj2._S3;if(_vB!=99999){var _xB=_sj2._T3;_Ic._UT(_Gj2,_sj2.x+this._Bk.x,_sj2.y+this._Bk.y,_vB,_xB,_N9+_sj2.offset,_O9,_vB,_xB);_N9+=this._Cj2(_uZ)}}}}_Tj2()}else {_N9=~~(_N9+0.5);_O9=~~(_O9+0.5);var _Uj2=this._W9*_4t;var _Vj2=this._X9*_5t;if(_hy!=0xffffff){for(var _Q3=0;_Q3<_av;_Q3++){
_uZ=_Fj2.charCodeAt(_Q3);var _sj2=this._P3[_uZ];if(_sj2){var _vB=_sj2._S3;if(_vB!=99999){var _xB=_sj2._T3;_Kj2=_Sj2(_Gj2,_sj2,_sj2.x+this._Bk.x,_sj2.y+this._Bk.y,_vB+2,_xB+2,_hy);_Ic._UT(_Kj2,0,0,_vB+1,_xB+1,_N9+(_sj2.offset*_Uj2),_O9,(_vB+1)*_Uj2,(_xB+1)*_Vj2);_N9+=_Uj2*this._Cj2(_uZ)}}}}else {for(var _Q3=0;_Q3<_av;_Q3++){_uZ=_Fj2.charCodeAt(_Q3);var _sj2=this._P3[_uZ];if(_sj2){var _vB=_sj2._S3;if(_vB!=99999){var _xB=_sj2._T3;_Ic._UT(_Gj2,_sj2.x+this._Bk.x,_sj2.y+this._Bk.y,_vB,_xB,_N9+(_sj2.offset*_Uj2),
_O9,_vB*_Uj2,_xB*_Vj2);_N9+=_Uj2*this._Cj2(_uZ)}}}}}_Ic.globalAlpha=_RN1};_Jx.prototype._Wj2=function(_N9,_O9,_Fj2,_4t,_5t,_R9,_hy,_iy,_bB,_cB){if(this._pj2==null)return;var _gc=((_hy>>24)&0xff)/255.0;var _RN1=_Ic.globalAlpha;_Ic.globalAlpha=_gc;_hy&=0xffffff;var _Uj2=this._W9*_4t;var _Vj2=this._X9*_5t;if(Math.abs(_R9)>=0.001){_Rj2(_N9,_O9,1,1,-_ra2(_R9));_O9=_N9=0}var _av=_Fj2.length;for(var _Q3=0;_Q3<_av;_Q3++){var _uZ=_Fj2.charCodeAt(_Q3);if(_uZ!=0x20){if(_uZ<this._K3||_uZ>=this._L3){}else {var _Ok=this._pj2._VT[_uZ-this._K3];
var _Gj2=_Ib[_Ok._m5];if(_Gj2.complete){var _5C=_Ok._g5;var _6C=_Ok._h5;if(this.prop)_5C=0;if(_hy!=0xffffff){var _Kj2=_Nc(_Ok,_hy);_Ic._UT(_Kj2,0,0,_Ok._i5,_Ok._j5,_N9+(_5C*_Uj2),_O9+(_6C*_Vj2),_Ok._i5*_Uj2,_Ok._j5*_Vj2)}else {_Ic._UT(_Gj2,_Ok.x,_Ok.y,_Ok._S3,_Ok._T3,_N9+(_5C*_Uj2),_O9+(_6C*_Vj2),_Ok._i5*_Uj2,_Ok._j5*_Vj2)}}}}_N9=_N9+_Uj2*this._Cj2(_uZ);}if(Math.abs(_R9)>=0.001)_Tj2();_Ic.globalAlpha=_RN1};_Jx.prototype._Xj2=function(_N9,_O9,_Fj2,_4t,_5t,_R9,_nx,_ox,_px,_qx){if(this._pj2==null)return;
var _av=_Fj2.length;var _Uj2=this._W9*_4t;var _Vj2=this._X9*_5t;var _Yj2=undefined;if(Math.abs(_R9)>=0.001){_Yj2=_Bs(_ss);_rs(_ss,this._Hj2(_N9,_O9,_R9))}var alpha=(_nx&0xff000000);var _Zj2=((_ox&0xff0000)-(_nx&0xff0000))/_av;var __j2=((((_ox&0xff00)<<8)-((_nx&0xff00)<<8)))/_av;var _0k2=((((_ox&0xff)<<16)-((_nx&0xff)<<16)))/_av;var _1k2=((_px&0xff0000)-(_qx&0xff0000))/_av;var _2k2=((((_px&0xff00)<<8)-((_qx&0xff00)<<8)))/_av;var _3k2=((((_px&0xff)<<16)-((_qx&0xff)<<16)))/_av;var _4k2=_Zj2;var _5k2=__j2;var _6k2=_0k2;
var _7k2=_1k2;var _8k2=_2k2;var _9k2=_3k2;var _f01=_nx;var _0d2=_qx;for(var _Q3=0;_Q3<_av;_Q3++){var _g01=((_nx&0xff0000)+(_4k2&0xff0000))&0xff0000;_g01|=((_nx&0xff00)+(_5k2>>8)&0xff00)&0xff00;_g01|=((_nx&0xff)+(_6k2>>16))&0xff;_g01|=alpha;var _r01=((_qx&0xff0000)+(_7k2&0xff0000))&0xff0000;_r01|=((_qx&0xff00)+(_8k2>>8)&0xff00)&0xff00;_r01|=((_qx&0xff)+(_9k2>>16))&0xff;_r01|=alpha;_4k2+=_Zj2;_5k2+=__j2;_6k2+=_0k2;_7k2+=_1k2;_8k2+=_2k2;_9k2+=_3k2;var _uZ=_Fj2.charCodeAt(_Q3);if(_uZ!=0x20){if(_uZ<this._K3||_uZ>this._L3){
}else {var _Ok=this._pj2._VT[_uZ-this._K3];var _Gj2=_Ib[_Ok._m5];if(_Gj2.complete){var _5C=_Ok._g5;var _6C=_Ok._h5;if(this.prop)_5C=0;_Ic._UT(_Ok,_Ok.x,_Ok.y,_Ok._S3,_Ok._T3,_N9+(_5C*_Uj2),_O9+(_6C*_Vj2),_Ok._i5*_Uj2,_Ok._j5*_Vj2,_f01,_g01,_r01,_0d2)}}}_0d2=_r01;_f01=_g01;_N9+=_Uj2*this._Cj2(_uZ)}if(_Yj2!==undefined){_rs(_ss,_Yj2)}};/*@constructor */function _Wa2(){this._H3=[];this.length=0;this._ak2=null;this._jx=0;this._bk2=0;this._hx=0;var _Ix=_Cx("Arial",12,false,false,32,127,false);this._H3[-1]=_Ix;
_B92=-1;this._jx=_B92}_Wa2.prototype._Qh=function(){this._H3=[];this._H3.length=0};_Wa2.prototype._4j=function(_0f2){var _Ix=null;if(_0f2!=null){_Ix=new _Jx();_Ix._qj2(_0f2)}this._H3[this._H3.length]=_Ix;return this._H3.length-1};_Wa2.prototype._Rx=function(_ck2){this._H3[this._H3.length]=_ck2;return this._H3.length-1};_Wa2.prototype._dk2=function(){if(this._jx>=0&&this._jx<=this._H3.length&&this._H3[this._jx]!=null){this._ak2=this._H3[this._jx]}else {this._ak2=this._H3[-1]}};_Wa2.prototype._Si=function(_Pi){
if(_Pi>=0&&_Pi<=this._H3.length&&this._H3[_Pi]){return this._H3[_Pi]}return null};function _ek2(_Mj,_ak2,_fk2){if(_fk2===undefined)_fk2=false;if(_fk2==false&&_j9)return _Mj;if(_Mj==null)return 0;var hash=_ak2?_ak2._vj2("#")[0]:'#';var _gk2=_ak2?_ak2._vj2("\\")[0]:'\\';var _hk2=_Mj;var _Qr1="";var _Q3=0;var _w71=0;while(_w71<_hk2.length){var _Rw=_hk2[_w71];if(_Rw==hash){if((_Q3>0)&&(_hk2[_w71-1]=='\\')){_Qr1=_Qr1.substring(0,_Qr1.length-1)+'#'}else {_Qr1+=String.fromCharCode(0x0a);_Q3++}}else {_Qr1+=_Rw;_Q3++}
_w71++}return _Qr1}_Wa2.prototype._Aj2=function(_Fj2,_ik2,_ak2){if(_Fj2==null)return;if(_ik2<0)_ik2=10000000;var _jk2=_ak2?_ak2._vj2(" "):" ";var _8v=String.fromCharCode(0x0a);var _kk2=String.fromCharCode(0x0d);var _lk2=[];var _mk2=0;if(!_j9)_Fj2=_ek2(_Fj2,_ak2);var _av=_Fj2.length;var _Mk=_Fj2;var _nk2=_Mk[0];var start=0;var end=0;while(start<_av){var _4T=0;if(_ik2==10000000){while(end<_av&&_Mk[end]!=_8v&&_Mk[end]!=_kk2){end++;if(end<_av)_nk2=_Mk[end];else _nk2=String.fromCharCode(0x0)}var _R3;if(end<_av)_R3=_Mk[end];
else _R3=String.fromCharCode(0x0);if((_8v==_nk2)&&(_kk2==_Mk[end])){end++;continue }if((_kk2==_nk2)&&(_8v==_Mk[end])){end++;continue }_nk2=_Mk[end];_lk2[_mk2++]=_Mk.substring(start,end)}else {while(end<_av){if(_Mk[end]!=_jk2)break;end++}start=end;while(end<_av&&_4T<_ik2){_R3=_Mk[end];if(_R3==_8v)break;_4T+=this._ak2._Cj2(_R3.charCodeAt(0));end++}if(_4T>_ik2){end--;_4T-=this._ak2._Cj2(_Mk.charCodeAt(end))}if(_Mk[end]==_8v){_lk2[_mk2++]=_Mk.substring(start,end)}else {if(end==start)return _lk2;if(end!=_av){
if((_Mk[end]!=_jk2)||(_Mk[end]!=_jk2&&_Mk[end+1]!=_jk2)){while(end>start){if(_Mk[--end]==_jk2)break }}}if(end>start){while(_Mk[end-1]==_jk2){end--}}else if(end==start){while(_Mk[end]!=_jk2&&end<_av){end++}}_lk2[_mk2++]=_Mk.substring(start,end)}}start=++end}return _lk2};_Wa2.prototype._kx=function(_1x,x,y,_ok2,_ik2,_R9,_4t,_5t,_nx,_ox,_px,_qx){var _uH=_4t;var _vH=_5t;var _pk2=0.0;var _qk2=0.0;var _lk2=[];var _Q3=0;this._dk2();var _ak2=this._ak2;if(_nx===undefined){_nx=_Pe|((_Oe*255.0)<<24);_ox=_Pe|((_Oe*255.0)<<24);
_px=_Pe|((_Oe*255.0)<<24);_qx=_Pe|((_Oe*255.0)<<24)}else if(_ox===undefined){_ox=_nx;_px=_nx;_qx=_nx}var _Mj=_1x;_lk2=this._Aj2(_Mj,_ik2,_ak2);var _rk2=_ra2(_R9);var _ab=Math.sin(_rk2);var _bb=Math.cos(_rk2);if(_ok2<0){_ok2=_ak2?_ak2._xj2('M'):20}var _sk2=_ab*_vH*_ok2;var _tk2=_bb*_vH*_ok2;if(this._bk2==1){y=y-Math.round((_lk2.length*_tk2)/2.0);x=x-Math.round((_lk2.length*_sk2)/2.0)}if(this._bk2==2){y=y-Math.round(_lk2.length*_tk2);x=x-Math.round(_lk2.length*_sk2)}if(!_ak2){if(!_tb){_Ic.fillStyle=_OA;_Ic.globalAlpha=_Oe;
for(_Q3=0;_Q3<=_lk2.length-1;_Q3++){var _uk2=_lk2[_Q3];if(_uk2!=null){_Ic.fillText(_ak2._vj2(_uk2),x,y+13);y=y+_tk2;x=x+_sk2}}}else {_cv("Error: Runtime canvas fonts are not supported in WebGL.")}}else {for(_Q3=0;_Q3<=_lk2.length-1;_Q3++){_pk2=0;_qk2=0;var _uk2=_lk2[_Q3];if(_uk2!=null){_uk2=_ak2._vj2(_uk2);if(this._hx==1)_pk2=-(_uH*_ak2._yj2(_uk2,true)/2);if(this._hx==2)_pk2=-(_uH*_ak2._yj2(_uk2,true));if(_ak2._lj2){_pk2-=(_uH*_ak2._pj2._f3);_qk2-=(_vH*_ak2._pj2._g3)}var _Qa=x+(_bb*_pk2)+(_ab*_qk2);var _Sa=y-(_ab*_pk2)+(_bb*_qk2);
if(_ak2._Kx){if(_ak2._lj2){if(!_tb){_ak2._Wj2(_Qa,_Sa,_uk2,_uH,_vH,_R9,_nx,_ox,_px,_qx)}else {_ak2._Xj2(_Qa,_Sa,_uk2,_uH,_vH,_R9,_nx,_ox,_px,_qx)}}else {if(_ak2._Mx){_vk2(_ak2._Px,_uk2,_Qa,_Sa,1,1,_rk2,_nx,_ox,_px,_qx)}}}else {if(_tb){_ak2._Jj2(_Qa,_Sa,_uk2,_uH,_vH,_R9,_nx,_ox,_px,_qx)}else {_ak2._Qj2(_Qa,_Sa,_uk2,_uH,_vH,_R9,_nx,_ox,_px,_qx)}}}y=y+_tk2;x=x+_sk2}}};var _wk2;var _Ib;var _xk2=null;var _oW=1024;var _pW=768;var _qW=1;var _rW=1;var _bA=0;var _cA=0;var _dA=0;var _eA=0;var _YD=0;var _ZD=0;var _WD=0;var _XD=0;
var _6E=[];var _yk2=0;var _Lc=0xffffff;var _zk2;var _Ak2;var _pV;var _qV;var _Tj2;var _Bk2;var _Rj2;var _Ck2;var _Dk2;var _Ek2;var _Fk2;var _Gk2;var _Hk2;var _Ik2;var _Jk2;var _Kk2;var _Lk2;var _vk2;var _Mk2=!0;function _Nk2(){return _oW}function _Ok2(){return _pW}function _ST(_Pk2){if(!_Pk2)return;_Pk2._Qk2=_Pk2.transform;_Pk2._aA=_Pk2.setTransform;_Pk2._8A=_Pk2.save;_Pk2._fA=_Pk2.restore;_Pk2._7B=_Pk2.fillRect;_Pk2._6B=_Pk2.strokeRect;_Pk2._mB=_Pk2.beginPath;_Pk2._eC=_Pk2.arc;_Pk2._qB=_Pk2.stroke;_Pk2._pB=_Pk2.closePath;
_Pk2.lineWidth=_Pk2.lineWidth;_Pk2._nB=_Pk2.moveTo;_Pk2._oB=_Pk2.lineTo;_Pk2._EB=_Pk2.fill;_Pk2._UT=_Pk2.drawImage;_Pk2._xV=_Pk2.getImageData;_Pk2._Rk2=_Pk2.createImageData;_Pk2._ah2=_Pk2.putImageData;_Pk2._Sk2=_Pk2.clip;_Pk2._Tk2=_Pk2.rect}function _Uk2(_Pk2,_lr){if(_Pk2.imageSmoothingEnabled==_lr)return;_Pk2.imageSmoothingEnabled=_lr;_Pk2.webkitImageSmoothingEnabled=_lr;_Pk2.mozImageSmoothingEnabled=_lr;_Pk2.msImageSmoothingEnabled=_lr;_Pk2.oImageSmoothingEnabled=_lr;}function _7V(_Pk2){if(!_tb)_Uk2(_Pk2,
_Mk2)}function _Vk2(_1u){_1u=_1u>0.5;if(_Mk2!=_1u){_Mk2=_1u;_Uk2(_Ic,_1u)}}function _Pa2(_Ru1){_Ib=[];_xk2=null;_bA=0;_cA=0;_dA=0;_eA=0;_YD=0;_ZD=0;_WD=0;_XD=0;_6E=[];_6E[0]=1;_6E[1]=0;_6E[2]=0;_6E[3]=0;_6E[4]=1;_6E[5]=0;if(!_tb){if(_NZ1){_zk2=_Wk2}else {_zk2=_Xk2}_Ak2=_Yk2;_Ik2=_Zk2;_pV=__k2;_qV=_0l2;_Hk2=_1l2;_Tj2=_2l2;_Bk2=_3l2;_Rj2=_4l2;_Ck2=_5l2;_Gk2=_6l2;_Fk2=_7l2;_vk2=_8l2;_Ek2=_9l2;_Jk2=_al2;_Dk2=_bl2;_Kk2=function(){};_Lk2=function(){};_Mk2=!(_bv._o5&&!_bv._o5._A5);if(_OZ1){if(_NZ1){_Lc=0x1ffffff;
_zk2=_cl2}else {_zk2=_dl2}_Ak2=_Yk2;_Ik2=_el2}}else {_fl2()}_pV(0,0,_gW,_hW);_qV(0,0,_gW,_hW,0)}function _6l2(){_Ic._8A()}function _7l2(){_Ic._fA()}function _aU(_kU){_kU._Eb=[];_kU._Fb=0;_kU._Gb=4;_kU._YU=0;_kU._ZU=null;_kU._QT=null;_kU._Hb=_Ib[_kU._m5]}function _Ub2(_gl2){_xk2=_gl2;for(var _Q3=0;_Q3<_gl2.length;_Q3++){var _Ok=_gl2[_Q3];_aU(_Ok)}}/*@constructor */function _hl2(){this._gU=null;this._il2=0}function _Sj2(_bg,_jl2,_N9,_O9,_Ii,_Ji,_Qe){var _kl2=null;if(_jl2._Eb!=undefined){_kl2=_jl2._Eb[_Qe]}else {
_jl2._Eb=[];_jl2._Gb=4;_jl2._Fb=0}if(_kl2!=null){_kl2._il2=_yk2;return _kl2._gU}var _ll2=-9999999999;_kl2=null;if(_jl2._Fb<_jl2._Gb){_kl2=new _hl2();_jl2._Fb++}else {var _ml2=-1;for(var _Q3 in _jl2._Eb){if(!_jl2._Eb.hasOwnProperty(_Q3))continue;var _nl2=_jl2._Eb[_Q3];if(_nl2!=null){var _Ka=_yk2-_nl2._il2;if(_Ka>_ll2){_ml2=_Q3;_kl2=_nl2;_ll2=_Ka}}}if(_ml2>=0)delete _jl2._Eb[_ml2]}_jl2._Eb[_Qe]=_kl2;_kl2._il2=_yk2;_kl2._gU=_ol2(_bg,_N9,_O9,_Ii,_Ji,_Qe);return _kl2._gU}function _Nc(_kU,_Qe){return _Sj2(_kU._Hb,_kU,
_kU.x,_kU.y,_kU._S3,_kU._T3,_Qe)}function _1f2(_IS){return _xk2[_IS]}function _2l2(){_Ic._aA(_6E[0],_6E[3],_6E[1],_6E[4],_6E[2],_6E[5])}function _3l2(_5f){_Ic._8A();var _9A=[];_9A[0]=1;_9A[1]=0;_9A[2]=0;_9A[3]=1;_9A[4]=0;_9A[5]=0;_Ic._aA(_9A[0],_9A[1],_9A[2],_9A[3],_9A[4],_9A[5]);_Ic.fillStyle=_TA(_5f|0xff000000);_Ic._7B(_bA,_cA,_dA,_eA);_Ic._fA()}function __k2(_Qv1,_Rv1,_Sv1,_Tv1){_bA=_Qv1;_cA=_Rv1;_dA=_Sv1;_eA=_Tv1;if(_j9){if((_bA===0&&_cA===0)&&(_dA==_Ic.canvas.width&&_eA===_Ic.canvas.height)){}else {
_6E[0]=1;_6E[1]=0;_6E[2]=0;_6E[3]=1;_6E[4]=0;_6E[5]=0;_Ic._aA(_6E[0],_6E[1],_6E[2],_6E[3],_6E[4],_6E[5]);_Ic.beginPath();_Ic.moveTo(_bA,_cA);_Ic.lineTo(_bA+_dA,_cA);_Ic.lineTo(_bA+_dA,_cA+_eA);_Ic.lineTo(_bA,_cA+_eA);if(!(_0F==__Z1&&_wX==4.0)){_Ic.clip()}}}}function _pl2(_N9,_O9,_Ii,_Ji,_R9){var _Hc=new _rr((_N9+_Ii/2.0),(_O9+_Ji/2.0),-16000.0);var _vc=new _rr((_N9+_Ii/2.0),(_O9+_Ji/2.0),0.0);var _zc=new _rr(Math.sin(-_R9*(Math.PI/180.0)),Math.cos(-_R9*(Math.PI/180.0)),0.0);_S82._ur(_Hc,_vc,_zc);_R82._Er(_Ii,
-_Ji*_Br,1.0,32000.0)}function _4l2(_N9,_O9,_SV,_TV,_R9){var _9A=[];_9A[0]=Math.cos(_R9);_9A[3]=Math.sin(_R9);_9A[1]=-_9A[3];_9A[4]=_9A[0];_9A[0]*=_SV;_9A[3]*=_SV;_9A[1]*=_TV;_9A[4]*=_TV;_9A[2]=_N9;_9A[5]=_O9;_Ic._Qk2(_9A[0],_9A[3],_9A[1],_9A[4],_9A[2],_9A[5])}function _1l2(_ql2,_rl2,_sl2,_tl2){if((_bA===0&&_cA===0)&&(_dA==_Ic.canvas.width&&_eA===_Ic.canvas.height)){}else {_6E[0]=1;_6E[1]=0;_6E[2]=0;_6E[3]=1;_6E[4]=0;_6E[5]=0;_Ic._aA(_6E[0],_6E[1],_6E[2],_6E[3],_6E[4],_6E[5]);_Ic.moveTo(_bA,_cA);_Ic.lineTo(_bA+_dA,
_cA);_Ic.lineTo(_bA+_dA,_cA+_eA);_Ic.lineTo(_bA,_cA+_eA);if(!(_0F==__Z1&&_wX==4.0)){_Ic.clip()}}_6E[0]=_ql2;_6E[1]=0;_6E[2]=_sl2;_6E[3]=0;_6E[4]=_rl2;_6E[5]=_tl2;_Ic._aA(_6E[0],_6E[3],_6E[1],_6E[4],_6E[2],_6E[5])}function _0l2(_ul2,_vl2,_wl2,_xl2,_R9){if((_bA===0&&_cA===0)&&(_dA==_Ic.canvas.width&&_eA===_Ic.canvas.height)){}else {_6E[0]=1;_6E[1]=0;_6E[2]=0;_6E[3]=1;_6E[4]=0;_6E[5]=0;_Ic._aA(_6E[0],_6E[1],_6E[2],_6E[3],_6E[4],_6E[5]);_Ic.beginPath();_Ic.moveTo(_bA,_cA);_Ic.lineTo(_bA+_dA,_cA);_Ic.lineTo(_bA+_dA,
_cA+_eA);_Ic.lineTo(_bA,_cA+_eA);if(!(_0F==__Z1&&_wX==4.0)){_Ic.clip()}}var _S3=_dA/_wl2;var _T3=_eA/_xl2;_YD=_ul2;_ZD=_vl2;_WD=_wl2;_XD=_xl2;_6E[0]=_S3;_6E[1]=0;_6E[2]=-(_ul2*_S3)+_bA;_6E[3]=0;_6E[4]=_T3;_6E[5]=-(_vl2*_T3)+_cA;_Ic._aA(_6E[0],_6E[3],_6E[1],_6E[4],_6E[2],_6E[5])}function _Rb(_t9){var _Q3=_Ib.length;var _Hb=new Image();_t9=_QR(_t9);_Hb.crossOrigin='anonymous';_Hb.src=_Ox(null,null,_t9);_Ib[_Q3]=_Hb;return _Q3}function _yl2(_Bb,_Cb){var _R3=document.createElement("canvas");_R3.width=_Bb;_R3.height=_Cb;
var _Q3=_Ib.length;var _Hb=new Image(_Bb,_Cb);_Hb.src=_Ox(null,null,_R3.toDataURL());_Ib[_Q3]=_Hb;return _Q3}function _zl2(_bg,_N9,_O9,_Ii,_Ji,_Ru1){var context=_bg.getContext('2d');context.globalCompositeOperation='copy';context.drawImage(_Ru1,_N9,_O9)}function _WT(_Al2){var _Q3=_Ib.length;_Ib[_Q3]=_Al2;return _Q3}function _9l2(){_yk2++}function _al2(){}function _hU(_kU){var _QT=document.createElement(_nv);var _Kk=_QT.getContext('2d');_ST(_Kk);_QT.width=_kU._S3;_QT.height=_kU._T3;_Kk._UT(_kU._Hb,_kU.x,_kU.y,
_kU._S3,_kU._T3,0,0,_kU._S3,_kU._T3);_QT.complete=true;return _QT}function _rU(_kU){var _oU=[];var _sM=_kU._k5*_kU._l5*4;var _Bl2;for(var _Q3=0;_Q3<_sM;_Q3++)_oU[_Q3]=0;if(_kU._Hb._bd)_Bl2=_tb._ly1(_kU);else {var _QT=document.createElement(_nv);var _Kk=_QT.getContext('2d');_ST(_Kk);_QT.width=_kU._S3;_QT.height=_kU._T3;_Kk._UT(_kU._Hb,_kU.x,_kU.y,_kU._S3,_kU._T3,0,0,_kU._S3,_kU._T3);_QT.complete=true;var data,_yV,_Cl2,_Dl2;try{data=_Kk.getImageData(0,0,_kU._S3,_kU._T3)}catch(_9y){return _oU}_Bl2=data.data;}
var _El2=(_kU._g5+(_kU._h5*_kU._k5))*4;var _7b=_kU._S3*4;var x,y;for(y=0;y<_kU._T3;y++){var _kK=_El2;var _Fl2=y*_7b;for(x=0;x<_7b;x++){_oU[_kK++]=_Bl2[_Fl2++]}_El2+=_kU._k5*4}return _oU}function _Wk2(_kU,_N9,_O9,_Re){if(!_kU._Hb)return;if(!_kU._Hb.complete)return;if(_kU._QT==null)_kU._QT=_hU(_kU);_N9+=_kU._g5;_O9+=_kU._h5;_Ic.globalAlpha=_Re;_Ic._UT(_kU._QT,~~_N9,~~_O9)}function _cl2(_kU,_N9,_O9,_Re){_Wk2(_kU,_N9,_O9,_Re)}function _Xk2(_kU,_N9,_O9,_Re){if(!_kU._Hb)return;if(!_kU._Hb.complete)return;_Ic.globalAlpha=_Re;
_Ic._UT(_kU._Hb,~~_kU.x,~~_kU.y,_kU._S3,_kU._T3,Math.floor(_N9)+_kU._g5,Math.floor(_O9)+_kU._h5,_kU._i5,_kU._j5)}function _dl2(_kU,_N9,_O9,_Re){_Xk2(_kU,_N9,_O9,_Re)}function _Gl2(_Ru1){try{_Ic._UT(_Ru1,0,0,_Ru1.width,_Ru1.height,canvas.width,canvas.height,0,0)}catch(e){return false}var _Vc=_Ru1.getContext('2d');_Vc.fillStyle="white";_Vc.fillRect(0,0,1,1);var _9h2=_Vc.getImageData(0,0,1,1);return(_9h2.data[0]===255)}function _Yk2(_kU,_N9,_O9,_Hl2,_Il2,_Jl2,_Kl2,_5f,_Re){var _UC1=_kU._Hb;if(!_UC1)return;
if(!_UC1.complete)return;if(_kU._S3==0||_kU._T3==0)return;var _Q3=0;if(_Jl2)_Q3=1;if(_Kl2)_Q3|=2;if(_Q3===0){_Ic.globalAlpha=_Re;_Ic._UT(_UC1,_kU.x,_kU.y,_kU._S3,_kU._T3,_N9+_kU._g5,_O9+_kU._h5,(_kU._i5*_Hl2),(_kU._j5*_Il2));return }var _S3=_kU._k5;var _T3=_kU._l5;if(_Kl2){_S3=(((((_hV._gD+(_kU._k5-1))/_kU._k5)&0xffffffff)+2)*_kU._k5);_N9=_YD+(((_N9-_YD)%_kU._k5)-_kU._k5)}if(_Jl2){_T3=(((((_hV._iD+(_kU._l5-1))/_kU._l5)&0xffffffff)+2)*_kU._l5);_O9=_ZD+(((_O9-_ZD)%_kU._l5)-_kU._l5);}if((_kU._ZU!=null)&&(_kU._ZU.width<(_S3*_kU._Ll2)||_kU._ZU.height<(_T3*_kU._Ll2))){
_kU._ZU=null;_kU._Ml2=0}if((_kU._YU!=_Q3)||(!_kU._ZU)){_kU._YU=_Q3;var buffer=document.createElement(_nv);var _Kk=buffer.getContext('2d');_ST(_Kk);buffer.width=_S3;buffer.height=_T3;_Ic.globalAlpha=1;var _Nl2=1;while((_Gl2(buffer)===false)&&(buffer.width>=64)&&(buffer.height>=64)){debug("WARNING: Tiled image quality reduction");buffer.width/=2;buffer.height/=2;_Nl2/=2}var _Ol2=_kU.x;var _Pl2=_kU.y;if(_5f!=_Lc){_UC1=_Nc(_kU,_5f);_Ol2=0;_Pl2=0}var _w61=_S3/_kU._k5;var _x61=_T3/_kU._l5;for(var y=0;y<_x61;y++){
for(var x=0;x<_w61;x++){_Kk._UT(_UC1,_Ol2,_Pl2,_kU._S3,_kU._T3,_kU._g5+((x*_kU._k5)*_Nl2),_kU._h5+((y*_kU._l5)*_Nl2),_kU._i5*_Nl2,_kU._j5*_Nl2)}}_kU._Ll2=_Nl2;_kU._ZU=buffer}_Ic.globalAlpha=_Re;_Ic._UT(_kU._ZU,_N9,_O9,_kU._ZU.width/_kU._Ll2,_kU._ZU.height/_kU._Ll2)}function _Zk2(_kU,_ZT,__T,_N9,_O9,_Hl2,_Il2,_1W,_hy,_iy,_bB,_cB,_Re){if(!_kU._Hb)return;if(!_kU._Hb.complete)return;if((abs(_Hl2)<=0.0001)||(abs(_Il2)<=0.0001)||(_Re<=0)){return }_hy&=0xffffff;var _5C=-(_ZT-_kU._g5);var _6C=-(__T-_kU._h5);
var _RN1=_Ic.globalAlpha;_Ic.globalAlpha=_Re;if(_hy!=_Lc){var _Kj2=_Nc(_kU,_hy);var _Ia=Math.abs(_1W);if((_Ia<0.0001)&&(_Hl2==1)&&(_Il2==1)&&(_kU._S3===_kU._i5)&&(_kU._T3===_kU._j5)){_Ic._UT(_Kj2,_N9+_5C,_O9+_6C)}else {if((_Hl2<0)||(_Il2<0)||(_Ia>0.0001)){_Rj2(_N9,_O9,_Hl2,_Il2,-_1W);_Ic._UT(_Kj2,0,0,_kU._S3,_kU._T3,_5C,_6C,_kU._i5,_kU._j5);_Tj2()}else {_Ic._UT(_Kj2,0,0,_kU._S3,_kU._T3,_N9+(_5C*_Hl2),_O9+(_6C*_Il2),_kU._i5*_Hl2,_kU._j5*_Il2)}}}else {var _Ia=Math.abs(_1W);if((_Ia<0.0001)&&(_Hl2==1)&&(_Il2==1)&&(_kU._S3===_kU._i5)&&(_kU._T3===_kU._j5)){
if(_kU._QT==null){_kU._QT=_hU(_kU)}_Ic._UT(_kU._QT,_N9+_5C,_O9+_6C)}else {if(_Hl2<0||_Il2<0||_Ia>0.001){_Rj2(_N9,_O9,_Hl2,_Il2,-_1W);_Ic._UT(_kU._Hb,_kU.x,_kU.y,_kU._S3,_kU._T3,_5C,_6C,_kU._i5,_kU._j5);_Tj2()}else {_Ic._UT(_kU._Hb,_kU.x,_kU.y,_kU._S3,_kU._T3,_N9+(_5C*_Hl2),_O9+(_6C*_Il2),_kU._i5*_Hl2,_kU._j5*_Il2)}}}_Ic.globalAlpha=_RN1;}function _el2(_kU,_ZT,__T,_N9,_O9,_Hl2,_Il2,_1W,_hy,_iy,_bB,_cB,_Re){try{_Zk2(_kU._Hb,_ZT,__T,_N9,_O9,_Hl2,_Il2,_1W,_hy,_iy,_bB,_cB,_Re)}catch(_9y){debug("error drawing image")}
}function _ol2(_bg,_N9,_O9,_Ii,_Ji,_5f){var buffer=document.createElement(_nv);var _Kk=buffer.getContext('2d');_ST(_Kk);buffer.width=_Ii;buffer.height=_Ji;_Kk._UT(_bg,_N9,_O9,_Ii,_Ji,0,0,_Ii,_Ji);if(~~_5f!=0xffffff){var data,_yV,_Cl2,_Dl2;data=_Kk._xV(0,0,buffer.width,buffer.height);_yV=data.data;var _Ql2=_Kk._Rk2(buffer.width,buffer.height);_Dl2=_Ql2.data;var _Ia=((_5f>>16)&0xff)/255;var _fc=((_5f>>8)&0xff)/255;var _La=(_5f&0xff)/255;var _4T=(data.height*data.width*4);for(var _Q3=_4T-4;_Q3>=0;_Q3-=4){_Dl2[_Q3]=(_yV[_Q3]*_Ia)|0;
_Dl2[_Q3+1]=(_yV[_Q3+1]*_fc)|0;_Dl2[_Q3+2]=(_yV[_Q3+2]*_La)|0;_Dl2[_Q3+3]=(_yV[_Q3+3])}_Ql2.data=_Dl2;_Kk._ah2(_Ql2,0,0)}return buffer}function _Rl2(_kU,__a,_0b,_ma,_na,_CB,_DB,_Sl2,_Tl2,_Re){var _UC1=_kU._Hb;if(!_UC1)return;if(!_UC1.complete)return;_Ic.globalAlpha=_Re;_Ul2(_UC1,__a,_0b,_ma,_na,_CB,_DB,_kU.x,_kU.y,_kU.x+_kU._S3,_kU.y,_kU.x+_kU._S3,_kU.y+_kU._T3);_Ul2(_UC1,_CB,_DB,_Sl2,_Tl2,__a,_0b,_kU.x+_kU._S3,_kU.y+_kU._T3,_kU.x,_kU.y+_kU._T3,_kU.x,_kU.y)}function _Ul2(_Wc,_Xc,_Yc,_va,_wa,_xa,_ya,
_Zc,__c,_0d,_1d,_2d,_3d){_Ic._8A();_Ic._mB();_Ic._nB(_Xc,_Yc);_Ic._oB(_va,_wa);_Ic._oB(_xa,_ya);_Ic._pB();_Ic._Sk2();var _4d=_Zc*(_3d-_1d)-_0d*_3d+_2d*_1d+(_0d-_2d)*__c;if(_4d==0)return;var _5d=-(__c*(_xa-_va)-_1d*_xa+_3d*_va+(_1d-_3d)*_Xc)/_4d;var _6d=(_1d*_ya+__c*(_wa-_ya)-_3d*_wa+(_3d-_1d)*_Yc)/_4d;var _7d=(_Zc*(_xa-_va)-_0d*_xa+_2d*_va+(_0d-_2d)*_Xc)/_4d;var _8d=-(_0d*_ya+_Zc*(_wa-_ya)-_2d*_wa+(_2d-_0d)*_Yc)/_4d;var _9d=(_Zc*(_3d*_va-_1d*_xa)+__c*(_0d*_xa-_2d*_va)+(_2d*_1d-_0d*_3d)*_Xc)/_4d;var _ad=(_Zc*(_3d*_wa-_1d*_ya)+__c*(_0d*_ya-_2d*_wa)+(_2d*_1d-_0d*_3d)*_Yc)/_4d;
_Ic._Qk2(_5d,_6d,_7d,_8d,_9d,_ad);_Ic._UT(_Wc,0,0);_Ic._fA()}function _5l2(_kU,_fM,_gM,_Bb,_Cb,_N9,_O9,_4t,_5t,_NV,_Re){if(!_kU)return;if(!_kU._Hb)return;if(!_kU._Hb.complete)return;_NV&=0xffffff;_Ic.globalAlpha=_Re;if(_fM<_kU._g5){var _Vl2=_kU._g5-_fM;_N9+=_Vl2;_Bb-=_Vl2;_fM=0;}else {_fM-=_kU._g5}if(_gM<_kU._h5){var _Vl2=_kU._h5-_gM;_O9+=_Vl2;_Cb-=_Vl2;_gM=0}else {_gM-=_kU._h5}if(_Bb>(_kU._i5-_fM))_Bb=_kU._i5-_fM;if(_Cb>(_kU._j5-_gM))_Cb=_kU._j5-_gM;if(_Bb<=0||_Cb<=0)return;_N9=~~_N9;_O9=~~_O9;if(_NV!=_Lc){
var _Kj2=_Nc(_kU,_NV);if(_4t<0||_5t<0){_Rj2(_N9,_O9,_4t,_5t,0);_Ic._UT(_Kj2,_fM,_gM,_Bb,_Cb,0,0,_Bb,_Cb);_Tj2()}else {_Ic._UT(_Kj2,_fM,_gM,_Bb,_Cb,_N9,_O9,_Bb*_4t,_Cb*_5t)}}else {if(_4t<0||_5t<0){_Rj2(_N9,_O9,_4t,_5t,0);_Ic._UT(_kU._Hb,_fM+_kU.x,_gM+_kU.y,_Bb,_Cb,0,0,_Bb,_Cb);_Tj2()}else {_Ic._UT(_kU._Hb,_fM+_kU.x,_gM+_kU.y,_Bb,_Cb,_N9,_O9,_Bb*_4t,_Cb*_5t)}}}function _KV(_kU,_N9,_O9,_Ii,_Ji,_NV,_Re){if(!_kU)return;if(!_kU._Hb)return;if((_kU._Hb instanceof HTMLImageElement)&&(!_kU._Hb.complete))return;_N9=~~_N9;
_O9=~~_O9;var _Ol2=_Ii/_kU._k5;var _Pl2=_Ji/_kU._l5;_Ik2(_kU,0,0,_N9,_O9,_Ol2,_Pl2,0,_NV,_NV,_NV,_NV,_Re)}function _8l2(_ix,_1x,_N9,_O9,_4t,_5t,_R9,_5f,_Re){_Ic.globalAlpha=_Re;_Ic.fillStyle=_Wk(_5f,1.0);_Ic.font=_ix;_Ic.textBaseline="top";_Rj2(_N9,_O9,_4t,_5t,-_R9);_Ic.fillText(_1x,0,0);_Tj2()}function _Lk(_Wl2,_Ii,_Ji){try{var data,_yV,_Cl2,_Dl2;data=_Wl2._xV(0,0,_Ii,_Ji);_yV=_Dl2=data.data;var _Xl2=(_Ji-1)*_Ii*4;var _Ia=_yV[_Xl2+0];var _fc=_yV[_Xl2+1];var _La=_yV[_Xl2+2];var _gc=_yV[_Xl2+3];var _4T=(data.height*data.width*4);
for(var _Q3=_4T-4;_Q3>=0;_Q3-=4){_Dl2[_Q3+0]=_yV[_Q3+0];_Dl2[_Q3+1]=_yV[_Q3+1];_Dl2[_Q3+2]=_yV[_Q3+2];if((_Dl2[_Q3+0]==_Ia)&&(_Dl2[_Q3+1]==_fc)&&(_Dl2[_Q3+2]==_La)){_Dl2[_Q3+3]=0x0}else {_Dl2[_Q3+3]=_yV[_Q3+3]}}_Wl2._ah2(data,0,0)}catch(_9y){return false}return true}function _bl2(_dv){}var _Yl2=0,_Zl2=0;function _pG(__l2){this._0m2=false;this._1m2=[];this._2m2=__l2;this._3m2="";this._4m2=0;this._5m2=0}function _oG(_6m2,_7m2){var _Vw=_4y(_6m2,_7m2);var _8m2=new _pG(_6m2);_8m2._3m2=_Vw;_8m2._9m2();var _Fb=0;for(var _Q3 in _8m2._1m2){
if(!_8m2._1m2.hasOwnProperty(_Q3))continue;_Fb++;break }if(_Fb==0)return null;return _8m2}_pG.prototype._Qw=function(){while((this._3m2.charCodeAt(this._4m2)!=0x0a)&&(this._3m2.charCodeAt(this._4m2)!=0x0d)&&(this._4m2<this._Sf2)){this._4m2++}this._5m2++;this._4m2++;if(this._4m2>=this._Sf2)return;if((this._3m2.charCodeAt(this._4m2)==0x0a)&&(this._3m2.charCodeAt(this._4m2)==0x0d)){this._4m2++}};_pG.prototype._am2=function(){{if(this._4m2>=this._Sf2)return false;var _R3=this._3m2.charCodeAt(this._4m2);if(_R3==0x20||_R3==0x09||_R3==0x0a||_R3==0x0d||_R3==_xU('#')||_R3==_xU(';')){
return true;}else {return false}}};_pG.prototype._Sw=function(){{while(this._am2()&&(this._4m2<this._Sf2)){var _R3=this._3m2.charCodeAt(this._4m2);if(_R3=='#'||_R3==';'){this._Qw()}else if(_R3==0x0a){this._5m2++}this._4m2++}if(this._4m2>=this._Sf2)return }};_pG.prototype._bm2=function(){{this._Sw();while((this._3m2.charAt(this._4m2)!='[')&&(this._4m2<this._Sf2)){this._4m2++}if(this._4m2>=this._Sf2)return null;this._4m2++;var _cm2=this._4m2;while((this._3m2.charAt(this._4m2)!=']')&&(this._4m2<this._Sf2)){
this._4m2++;}if(this._4m2>=this._Sf2)return null;var _av=this._4m2-_cm2;var _dm2=[];_dm2.__m_pIniFileName__=this._3m2.substr(_cm2,_av);this._4m2++;return _dm2}};_pG.prototype._em2=function(_fm2){{this._Sw();if(this._4m2>=this._Sf2||this._3m2.charAt(this._4m2)=='[')return false;var _cm2=this._4m2;var _gm2=-1;while((this._3m2.charAt(this._4m2)!='=')&&(this._4m2<this._Sf2)){if(this._am2()){if(_gm2<0)_gm2=this._4m2}else {_gm2=-1}this._4m2++}if(this._4m2>=this._Sf2)return false;if(_gm2<0)_gm2=this._4m2;var _av=_gm2-_cm2;
var _6Y=this._3m2.substr(_cm2,_av);while((this._3m2.charAt(this._4m2)!='=')&&(this._4m2<this._Sf2)){this._4m2++}if(this._4m2>=this._Sf2)return false;this._4m2++;var _fS1=this._5m2;this._Sw();if(_fS1!=this._5m2)return false;var _hm2=_xU('#');var _im2=_xU(';');var _jm2=false;var _bb=this._3m2.charCodeAt(this._4m2);switch(_bb){case 34:case 39:_hm2=_bb;_im2=_bb;_jm2=true;this._4m2++;break;case 91:case 123:_hm2=-1;_im2=-1;break }_cm2=this._4m2;var _km2=-1;var _R3=this._3m2.charCodeAt(this._4m2);while((_R3!=0x0a)&&(_R3!=0x0d)&&(_R3!=_hm2)&&(_R3!=_im2)&&(this._4m2<this._Sf2)){
if(_R3==0x20||_R3==0x09){if(_km2<0)_km2=this._4m2}else {_km2=-1}if(_R3==_xU('\\'))this._4m2++;this._4m2++;_R3=this._3m2.charCodeAt(this._4m2)}if(_km2>=0&&!_jm2){_av=_km2-_cm2}else {_av=this._4m2-_cm2}var _lm2=this._3m2.substr(_cm2,_av);_fm2[_6Y]=_lm2;if(_jm2){_bb=this._3m2.charCodeAt(this._4m2);if((_bb==_hm2)&&(_bb==_im2)){while((this._3m2.charCodeAt(this._4m2)!=0x0a)&&(this._3m2.charCodeAt(this._4m2)!=0x0d)&&(this._4m2<this._Sf2)){this._4m2++}}}return true}};_pG.prototype._9m2=function(){{if(this._3m2==null)return false;
this._Sf2=this._3m2.length;this._4m2=0;this._5m2=0;var _dm2=this._bm2();if(_dm2==null){this._3m2=null;return false}this._1m2[_dm2.__m_pIniFileName__]=_dm2;while(this._4m2<this._Sf2){var _xu=this._em2(_dm2);if(!_xu){if(this._4m2<this._Sf2){if(this._3m2.charAt(this._4m2)=='['){_dm2=this._bm2();if(_dm2==null){this._3m2=null;return true}this._1m2[_dm2.__m_pIniFileName__]=_dm2}}}}this._3m2=null;return true}};_pG.prototype._mm2=function(_nm2,_om2){{var _dm2=this._1m2[_nm2];if(_dm2!=null&&_dm2!=undefined){var _lm2=_dm2[_om2];
if(_lm2!=undefined)return _lm2}return null}};_pG.prototype._sG=function(_nm2,_om2,_pm2){this._0m2=true;var _dm2=this._1m2[_nm2];if(_dm2==null||_dm2==undefined){_dm2=[];_dm2.__m_pIniFileName__=_nm2;this._1m2[_dm2.__m_pIniFileName__]=_dm2}_dm2[_om2]=_pm2;return true};_pG.prototype._qG=function(){var _Vw="";var _8v=_Yv(0x0d)+_Yv(0x0a);for(var _qm2 in this._1m2){if(!this._1m2.hasOwnProperty(_qm2))continue;_Vw=_Vw+"["+_qm2+"]"+_8v;var _dm2=this._1m2[_qm2];for(var _wu in _dm2){if(!_dm2.hasOwnProperty(_wu))continue;
if(_wu!="__m_pIniFileName__"){var _lm2=_dm2[_wu];if(_lm2.indexOf('"')<0){_Vw+=_wu+'="'+_lm2+'"'+_8v}else if(_lm2.indexOf("'")<0){_Vw+=_wu+"='"+_lm2+"'"+_8v}else {_Vw+=_wu+"="+_lm2+_8v}}}}if(this._0m2){_Xw(this._2m2,_Vw);this._0m2=false}return _Vw};function _QR(_6m2){if(_6m2.substring(0,5)=="file:")return _6m2;if((_6m2.substring(0,7)=="http://")||(_6m2.substring(0,8)=="https://"))return _6m2;if(_6m2.substring(0,_Sb.length)==_Sb)return _Ox(null,null,_6m2);return _Ox(null,null,_Sb+_6m2)}function _rm2(_6m2){if(_6m2.substring(0,
5)=="file:")return false;if(_6m2.substring(0,4)=="ftp:")return false;if(_6m2.substring(0,7)=="gopher:")return false;if(_6m2.substring(0,7)=="mailto:")return false;if(_6m2.substring(0,5)=="news:")return false;if(_6m2.substring(0,5)=="nntp:")return false;if(_6m2.substring(0,7)=="telnet:")return false;if(_6m2.substring(0,5)=="wais:")return false;if(_6m2.substring(0,5)=="news:")return false;if(_6m2.substring(1,1)==":")return false;return true}function _sm2(_LE){try{var _tm2=new XMLHttpRequest();_tm2.open('HEAD',_LE,
false);_tm2.send();_Zl2=_tm2.status;var _um2=(_tm2.status!=404&&_tm2.status!=0);return _um2}catch(e){return false}}function _vm2(_2V1,_rV1){try{var _Zr=!window.XMLHttpRequest?new ActiveXObject('Microsoft.XMLHTTP'):new XMLHttpRequest();_Zr.open(_rV1?'PUT':'GET',_2V1,false);_Zr.setRequestHeader('Content-Type','text/html');_Zr.send(_rV1?_rV1:'');_Zl2=_Zr.status;return _Zr.responseText}catch(e){return null}}function _Xw(_eb2,_AE){if(_wm2){return false}else if(_nG){try{window.localStorage[_bc2(_eb2)]=_AE;return true}
catch(_9y){return false}}}function _4y(_6m2,_7m2){var _Vw=null;if(_6m2.substring(0,5)=="file:")return null;if(_7m2){if((_6m2.substring(0,7)=="http://")||(_6m2.substring(0,8)=="https://"))return;if(_wm2){return null}else if(_nG){try{_Vw=window.localStorage[_bc2(_6m2)]}catch(_9y){return null}if((_Vw==undefined)||(_Vw==null))return null}}else {if(!_rm2(_6m2))return null;_6m2=_QR(_6m2);_Vw=_vm2(_6m2,false);if((_Vw==null)||(_Vw==undefined))return null;if(_Zl2==404)return null}return _Vw}function _4x(_6m2,_7m2){var _Vw=null;
if(_6m2.substring(0,5)=="file:")return null;if(_7m2){if(_wm2){return false}else if(_nG){try{var name=_bc2(_6m2);if(window.localStorage[name]&&(window.localStorage[name]!==undefined)){return true}return false}catch(_9y){return false}}}else {if(!_rm2(_6m2)){return false}_6m2=_QR(_6m2);return _sm2(_6m2)}}var _xm2=new Array("StepEvent","DrawEvent","LeftButtonPressed","RightButtonPressed","NoButtonPressed");var _ym2=new __v(0,0,0,0);var _zm2=null;var _Am2=-1;var _Bm2=-1;var _9X1=0;function _ja2(){}function _Cm2(_Dm2,_Em2,
_Pi,_Fm2,_Gm2){this.__type="[instance]";this.x=_Dm2;this.y=_Em2;this._DX1=_Dm2;this._EX1=_Em2;this._d7=_Dm2;this._a7=_Em2;this._kD=0;this._mD=0;this._9M=0;this._W4=0;this._xd1=0;this._ye1=0;this._Hm2=270;this._yI1=_Fm2;this.id=_Pi;this._96=true;this._8k=[];for(var _Q3=0;_Q3<=(_kY1-1);_Q3++){this._8k[_Q3]=-1}this._j4=true;this._Y3=true;this._Im2=false;this._44=0;this._3U=new __v(0,0,0,0);this._WV=0;this._yH=0;this._Jm2=0;this._Km2=0;this._Lm2=0;this._Mm2=0;this._Nm2=0;this._XV=1.0;this._YV=1.0;this._f7=0;
this._48=1.0;this._ZV=0xffffff;this._A8=1;this._fX1=-1;this._9I1=-1;this._FX1=0;this._GX1=0;this._Om2=0;this._Pm2=1;this._Qm2=0;this._Rm2=0;this._Sm2=0;this._Tm2=0;this._bY1=-1;this._fY1=0;this._dY1=1;this._cY1=true;this._gY1=false;this._Um2=-1;this._Vm2=false;this._86=false;this._Wm2=null;this._Xm2=false;this._jE=true;this._4Y1=false;this._JG=null;this._Ym2=null;this._3Q=null;this._Zm2=null;this._hX1=false;this._bX1=_9X1;this._HG(_Fm2,_Gm2,true);this._IG(this._JG._KG);this._2J=-1;this._3J=false}
_Cm2.prototype._c7=function(_N9){if(this.x===_N9)return;this.x=_N9;this._jE=true};_Cm2.prototype._97=function(_O9){if(this.y===_O9)return;this.y=_O9;this._jE=true};_Cm2.prototype._l6=function(__m2){if(this._f7===__m2)return;this._f7=__m2;this._jE=true};_Cm2.prototype._w6=function(_5f){this._ZV=_5f};_Cm2.prototype._0n2=function(){return _Se(this._ZV)};_Cm2.prototype._g7=function(_Pi){this._WV=_Pi;this._jE=true;this._1n2=null};;_Cm2.prototype._2n2=function(_hJ){if(this._44!=_hJ){this._44=_hJ;_h9._3n2[_h9._3n2.length]=this;
var _ZI=_h9;var _dE=this;if(_ZI!=null){var _fK=_zJ._EJ(_ZI,_dE._2J);if(_fK!=null){if(floor(_fK._44)!=floor(_dE._44)){if(_fK._FH&&_fK._LH.length==1){_zJ._MJ(_ZI,_fK,_dE._44,true)}else {_zJ._IJ(_ZI,_fK,_dE);_zJ._BJ(_ZI,_dE)}}}}}};_Cm2.prototype._Hf=function(_4n2,_id2){if((this.x==_4n2)&&(this.y==_id2))return;this.x=_4n2;this.y=_id2;this._jE=true};_Cm2.prototype._HG=function(_FG,_5n2,_6n2){this._yI1=_FG;if(this._JG!=null){this._JG._7n2(this);this._JG=null;this._Ym2=null}if(_FG==-1)_FG=0;this._Ym2=this._JG=_29._Si(_FG);
if(this._JG!=null){if(_5n2){this._JG._BJ(this)}this._cX1=this._JG._cX1;this._fX1=this._JG._8n2;if(!_j9){if(_6n2){this._44=this._JG._9n2}else {this._2n2(this._JG._9n2)}}this._j4=this._JG._an2;this._Y3=this._JG._bn2;this._Im2=this._JG._cn2;this._jE=true}};_Cm2.prototype._IG=function(_IS){var _Vb2=_MT._Si(_IS);if(_Vb2){this._3U.left=_Vb2._3U.left;this._3U.right=_Vb2._3U.right;this._3U.top=_Vb2._3U.top;this._3U.bottom=_Vb2._3U.bottom}this._WV=_IS;this._1n2=null;if(this._JG!==null){this._7c()}};_Cm2.prototype._LG=function(_OI){
if(_OI&&this._3Q){_OI._8P._5f1(this._3Q)}this._3Q=null;if(this._JG._dn2._54){this._en2();this._jE=true}};_Cm2.prototype._en2=function(){if(!this._JG._dn2._54){return }if(!_qK(this._WV)){return }var _vU=_MT._Si(this._WV);if(!_h9._8P){return }var _bP=_aP();var _fn2=this._JG._dn2,_gn2=0.0,_hn2=0.0;switch(_fn2._74){case _in2:{var _jn2=1.0;if(Math.abs(this._XV-this._YV)<0.0001){_jn2=this._XV}else {debug("Image scale for physics object using circle collision should not vary across axes: "+this._JG._sb2);}_gn2=-_fn2._g4[0]*_jn2;
_hn2=-_fn2._g4[1]*_jn2;var _I11=_fn2._g4[2]*_jn2;_EP(_bP,_I11)}break;case _kn2:case _ln2:{_IP(_bP);if((this._XV*this._YV)<0){for(var _ra=_fn2._g4.length-2;_ra>=0;_ra-=2){_KP(_bP,_fn2._g4[_ra+0]*this._XV,_fn2._g4[_ra+1]*this._YV)}}else {for(var _ra=0;_ra<_fn2._g4.length;_ra+=2){_KP(_bP,_fn2._g4[_ra+0]*this._XV,_fn2._g4[_ra+1]*this._YV)}}}break }_zP(_bP,_fn2._c4);_wP(_bP,_fn2._b4);_tP(_bP,_fn2._64);_qP(_bP,_fn2._a4);_hP(_bP,_fn2._84);_kP(_bP,_fn2._94);if(_fn2._d4!=undefined){_nP(_bP,_fn2._d4)}if(_fn2._e4!=undefined){
_BP(_bP,_fn2._e4)}if(_fn2._f4!=undefined){_dP(_bP,_fn2._f4)}_VP(this,_bP,this.id,_gn2,_hn2)};_Cm2.prototype._mn2=function(){with(this){if(this._kD==0){if(this._mD>0){this._9M=270}else if(this._mD<0){this._9M=90}else {this._9M=0}}else {var _ZB=_nn2(180*(Math.atan2(this._mD,this._kD))/_Na);if(_ZB<=0){this._9M=-_ZB}else {this._9M=360.0-_ZB}}if(Math.abs(this._9M-_gj(this._9M))<0.0001){this._9M=_gj(this._9M)}this._9M=_qa2(this._9M,360.0);this._W4=Math.sqrt(_Ur(this._kD)+_Ur(this._mD));if(Math.abs(this._W4-_gj(this._W4))<0.0001)this._W4=_gj(this._W4)}
};_Cm2.prototype._on2=function(){this._kD=this._W4*_nn2(Math.cos(this._9M*0.0174532925));this._mD=-this._W4*_nn2(Math.sin(this._9M*0.0174532925));if(Math.abs(this._kD-_gj(this._kD))<0.0001){this._kD=_gj(this._kD)}if(Math.abs(this._mD-_gj(this._mD))<0.0001){this._mD=_gj(this._mD)}};function _nn2(_pn2){return(~~(_pn2*1000000))/1000000.0}_Cm2.prototype._qn2=function(_cL,_EA){this._kD+=_EA*_nn2(Math.cos(_cL*0.0174532925));this._mD-=_EA*_nn2(Math.sin(_cL*0.0174532925));this._mn2()};_Cm2.prototype._rn2=function(){
if(this._xd1!=0.0){var _sn2;if(this._W4>0){_sn2=this._W4-this._xd1}else {_sn2=this._W4+this._xd1;}if((this._W4>0)&&(_sn2<0)){this._DM(0)}else if((this._W4<0)&&(_sn2>0)){this._DM(0)}else if(this._W4!=0){this._DM(_sn2)}}if(this._ye1!=0){this._qn2(this._Hm2,this._ye1)}};_Cm2.prototype._tn2=function(){var _un2=this._7c();if(_un2){return _un2._d9()}return _MT._vn2(this._WV)};_Cm2.prototype._6a=function(_5F,_IS,_0l,_wn2,_xn2){if(_xn2==undefined){_xn2=_0l._JG}var _yn2=_zm2;var _zn2=_Am2;var _An2=_Bm2;var _Av=false;
var _Bn2=false;if(_5F==_xI1){var _Cn2=_29._Si(_IS);while(_Cn2!=null&&!_Bn2){var _aE=_xn2;while(_aE!=null&&!_Bn2){if(_aE._zy[_5F]){if(_aE._Db2[_Cn2._TG]){_zm2=_aE;_Am2=_5F;_Bm2=_Cn2._TG;_Av=_aE._6a(_5F,_Cn2._TG,_0l,_wn2);_Bn2=true;break }}_aE=_aE._ov}_Cn2=_Cn2._ov}}else {var _aE=_xn2;var _Dn2=_5F|_IS;while(_aE!=null){if(_aE._zy[_Dn2]){_zm2=_aE;_Am2=_5F;_Bm2=_IS;_Av=_aE._6a(_5F,_IS,_0l,_wn2);break }_aE=_aE._ov}}_zm2=_yn2;_Am2=_zn2;_Bm2=_An2;return _Av};_Cm2.prototype._BM=function(_o9){if(this._kD==_o9)return;
this._kD=_o9;this._mn2()};_Cm2.prototype._CM=function(_o9){if(this._mD==_o9)return;this._mD=_o9;this._mn2()};_Cm2.prototype._3M=function(_o9){while(_o9<0.0){_o9+=360.0}while(_o9>360.0){_o9-=360.0}this._9M=_qa2(_o9,360.0);this._on2()};_Cm2.prototype._DM=function(_o9){if(this._W4==_o9)return;this._W4=_o9;this._on2()};_Cm2.prototype._kE=function(){var _vU,_Ka;var _hE=(this._fX1>=0)?this._fX1:this._WV;if(_hE<0||_hE>_MT._b3.length){if(!this._3U){this._3U=new __v(0,0,0,0)}this._3U.left=this.x;this._3U.top=this.y;
this._3U.right=this.x;this._3U.bottom=this.y;this._Xm2=false}else {var _3U=this._3U;_vU=_MT._b3[_hE];if(this._f7==0){var _En2=_vU._3U;var width=(_En2.right+1)-_En2.left;var height=(_En2.bottom+1)-_En2.top;_3U.left=_gj(this.x+this._XV*(_En2.left-_vU._f3));_3U.right=_gj(_3U.left+(this._XV*width));if(_3U.left>_3U.right){_Ka=_3U.left;_3U.left=_3U.right;_3U.right=_Ka;}_3U.top=_gj(this.y+this._YV*(_En2.top-_vU._g3));_3U.bottom=_gj(_3U.top+(this._YV*height));if(_3U.top>_3U.bottom){_Ka=_3U.top;_3U.top=_3U.bottom;
_3U.bottom=_Ka}_3U.right-=1;_3U.bottom-=1;this._Xm2=_vU._Fn2();this._Gn2=_vU._Gn2}else {var _En2=_vU._3U;var _Hn2,_In2;_Hn2=this._XV*(_En2.left-_vU._f3);_In2=this._XV*(_En2.right-_vU._f3+1);var _Jn2,_Kn2;_Jn2=this._YV*(_En2.top-_vU._g3);_Kn2=this._YV*(_En2.bottom-_vU._g3+1);var _bb,_ab;_bb=Math.cos(this._f7*_Na/180.0);_ab=Math.sin(this._f7*_Na/180.0);var _Ln2=_bb*_In2;var _Mn2=_bb*_Hn2;var _Nn2=_ab*_Kn2;var _On2=_ab*_Jn2;var _Ka;if(_Ln2<_Mn2){_Ka=_Mn2;_Mn2=_Ln2;_Ln2=_Ka}if(_Nn2<_On2){_Ka=_On2;_On2=_Nn2;_Nn2=_Ka}
_3U.left=Math.floor((this.x+_Mn2+_On2)+0.5);_3U.right=Math.floor((this.x+_Ln2+_Nn2)-0.5);var _Pn2=_bb*_Kn2;var _Qn2=_bb*_Jn2;var _Rn2=_ab*_In2;var _Sn2=_ab*_Hn2;if(_Pn2<_Qn2){_Ka=_Qn2;_Qn2=_Pn2;_Pn2=_Ka}if(_Rn2<_Sn2){_Ka=_Sn2;_Sn2=_Rn2;_Rn2=_Ka}_3U.top=Math.floor((this.y+_Qn2-_Rn2)+0.5);_3U.bottom=Math.floor((this.y+_Pn2-_Sn2)-0.5);this._Xm2=_vU._Fn2();this._Gn2=_vU._Gn2}this._3U=_3U}this._jE=false};_Cm2.prototype._7l=function(_N9,_O9,_1l){if(this._86)return false;var _un2=this._7c();if(_un2){var _Tn2=_cb;
_cb=this;if(_un2._ba(this._3U,this._yH,this.x,this.y,this._XV,this._YV,this._f7)){this._Xm2=true;this._jE=false}_cb=_Tn2}if(this._jE)this._kE();var _3U=this._3U;if(_N9>=_3U.right+1)return false;if(_N9<_3U.left)return false;if(_O9>=_3U.bottom+1)return false;if(_O9<_3U.top)return false;if((!_1l)||(!this._Xm2))return true;var _LA=false;if(_un2){_LA=_un2._Za(this._yH,this.x,this.y,this._XV,this._YV,this._f7,_N9,_O9)}else {var _NT;if(this._fX1<0){_NT=_MT._Si(this._WV)}else {_NT=_MT._Si(this._fX1)}if((_NT===null)||(_NT._Ea===0))return false;
_LA=_NT._Un2(Math.floor(this._yH),_3U,_gj(this.x),_gj(this.y),this._XV,this._YV,this._f7,_gj(_N9),_gj(_O9))}return _LA};_Cm2.prototype._Vn2=function(__a,_0b,_ma,_na,_1l){if(this._86)return false;var _un2=this._7c();if(_un2){var _Tn2=_cb;_cb=this;if(_un2._ba(this._3U,this._yH,this.x,this.y,this._XV,this._YV,this._f7)){this._Xm2=true;this._jE=false}_cb=_Tn2}if(this._jE)this._kE();var _3U=this._3U;if(_Ja(__a,_ma)>=_3U.right+1)return false;if(_Ha(__a,_ma)<_3U.left)return false;if(_Ja(_0b,_na)>=_3U.bottom+1)return false;
if(_Ha(_0b,_na)<_3U.top)return false;if((!_1l)||(!this._Xm2))return true;var _LA=false;if(_un2){_LA=_un2._2b(this._yH,this.x,this.y,this._XV,this._YV,this._f7,__a,_0b,_ma,_na)}else {var _NT;if(this._fX1<0){_NT=_MT._Si(this._WV)}else {_NT=_MT._Si(this._fX1)}if((_NT===null)||(_NT._Ea==0))return false;_ym2.left=_gj(_Ja(__a,_ma));_ym2.top=_gj(_Ja(_0b,_na));_ym2.right=_gj(_Ha(__a,_ma));_ym2.bottom=_gj(_Ha(_0b,_na));_LA=_NT._Wn2(Math.floor(this._yH),_3U,_gj(this.x),_gj(this.y),this._XV,this._YV,this._f7,_ym2)}
return _LA};function _Xn2(__a,_0b,_ma,_na,_vl,_wl){var _5b=(__a+_ma)*0.5;var _6b=(_0b+_na)*0.5;var _7b=(_ma-__a)*0.5;var _8b=(_na-_0b)*0.5;var _gc=(_vl-_5b)/_7b;var _La=(_wl-_6b)/_8b;return((_gc*_gc)+(_La*_La)<=1)?true:false}_Cm2.prototype._cl=function(__a,_0b,_ma,_na,_1l){if(this._86)return false;var _un2=this._7c();if(_un2){var _Tn2=_cb;_cb=this;if(_un2._ba(this._3U,this._yH,this.x,this.y,this._XV,this._YV,this._f7)){this._Xm2=true;this._jE=false}_cb=_Tn2}if(this._jE)this._kE();__a=_gj(__a);_ma=_gj(_ma);
_0b=_gj(_0b);_na=_gj(_na);var _Yn2,_Zn2,__n2,_0o2;if(__a<_ma){__n2=__a;_Yn2=_ma}else {__n2=_ma;_Yn2=__a}if(_0b<_na){_0o2=_0b;_Zn2=_na}else {_0o2=_na;_Zn2=_0b}var _3U=this._3U;if(__n2>=_3U.right)return false;if(_Yn2<_3U.left)return false;if(_0o2>=_3U.bottom)return false;if(_Zn2<_3U.top)return false;if((__a==_ma)||(_0b==_na)){return this._Vn2(__a,_0b,_ma,_na,_1l)}var _w61=(__a+_ma)*0.5;var _x61=(_0b+_na)*0.5;if(!(_3U.left<=_w61&&_3U.right>=_w61)&&!(_3U.top<=_x61&&_3U.bottom>=_x61)){var _el=(_3U.right<=_w61)?_3U.right:_3U.left;
var _fl=(_3U.bottom<=_x61)?_3U.bottom:_3U.top;if(!_Xn2(__a,_0b,_ma,_na,_el,_fl))return false}if((!_1l)||(!this._Xm2))return true;_ym2.left=__n2;_ym2.top=_0o2;_ym2.right=_Yn2;_ym2.bottom=_Zn2;if(_un2){return _un2._3b(this._yH,this.x,this.y,this._XV,this._YV,this._f7,_ym2)}else {var _NT;if(this._fX1<0){_NT=_MT._Si(this._WV)}else {_NT=_MT._Si(this._fX1)}if((_NT===null)||(_NT._Ea==0))return false;_1o2++;return _NT._2o2(Math.floor(this._yH),_3U,_gj(this.x),_gj(this.y),this._XV,this._YV,this._f7,_ym2)}};_Cm2.prototype._3o2=function(_9E,
_4o2){var _5o2=this._7c();var _6o2=_9E._7c();var _7o2=_MT._Si(this._WV);var _Tn2=_cb;_cb=this;if(_5o2._ba(this._3U,this._yH,this.x,this.y,this._XV,this._YV,this._f7)){this._jE=false}_cb=_9E;if(_6o2){if(_6o2._ba(_9E._3U,_9E._yH,_9E.x,_9E.y,_9E._XV,_9E._YV,_9E._f7)){_9E._jE=false}}_cb=_Tn2;if(this._jE)this._kE();if(_9E._jE)_9E._kE();if(_9E._3U.left>=this._3U.right+1)return false;if(_9E._3U.right+1<=this._3U.left)return false;if(_9E._3U.top>=this._3U.bottom+1)return false;if(_9E._3U.bottom+1<=this._3U.top)return false;
var _7o2=_MT._Si(this._WV);var _8o2=(_9E._fX1<0)?_MT._Si(_9E._WV):_MT._Si(_9E._fX1);if(_8o2===null)return false;if(!_4o2||(!this._Xm2&&!_9E._Xm2))return true;if(_6o2){return _5o2._ja(this._yH,this.x,this.y,this._XV,this._YV,this._f7,_6o2,_9E._yH,_9E.x,_9E.y,_9E._XV,_9E._YV,_9E._f7)}else {return _5o2._Ba(this._yH,this.x,this.y,this._XV,this._YV,this._f7,_8o2,_9E._3U,_9E._yH,_9E.x,_9E.y,_9E._XV,_9E._YV,_9E._f7)}};_Cm2.prototype._9o2=function(){if(_j9){var _gU=_MT._Si(this._WV);if(_gU!=null){if(_gU._j3==1){
this._yH+=this._A8*_gU._k3}else {var _7K=_k9._l9();this._yH+=this._A8*_gU._k3/_7K}}}else {this._yH+=this._A8}};function _ao2(_a61){var _bo2=[];for(var _Q3=0;_Q3<2;++_Q3){var x=_a61[_Q3+1].x-_a61[_Q3].x;var y=_a61[_Q3+1].y-_a61[_Q3].y;var length=sqrt(x*x+y*y);x=x/length;y=y/length;_bo2[_Q3]={"x":-y,"y":x}}return _bo2}function _co2(_M11,_N11){var _do2=_ao2(_M11);var _eo2=_ao2(_N11);for(var _Q3=0;_Q3<2;++_Q3){var _fo2=_go2(_M11,_do2[_Q3]);var _ho2=_go2(_N11,_do2[_Q3]);var _io2=((_fo2.max<=_ho2.min)||(_ho2.max<=_fo2.min));
if(_io2)return false}for(var _Q3=0;_Q3<2;++_Q3){var _fo2=_go2(_M11,_eo2[_Q3]);var _ho2=_go2(_N11,_eo2[_Q3]);var _io2=((_fo2.max<=_ho2.min)||(_ho2.max<=_fo2.min));if(_io2)return false}return true}function _go2(_a61,_K11){var _jo2=_a61[0].x*_K11.x+_a61[0].y*_K11.y;var _Av={"min":_jo2,"max":_jo2};for(var _Q3=1;_Q3<4;++_Q3){_jo2=_a61[_Q3].x*_K11.x+_K11.y*_a61[_Q3].y;if(_jo2<_Av.min)_Av.min=_jo2;else if(_jo2>_Av.max)_Av.max=_jo2}return _Av}function _ko2(_731){var _hE=(_731._fX1>=0)?_731._fX1:_731._WV;var _vU=_MT._b3[_hE];
var _En2=_vU._3U;var _Hn2,_In2;_Hn2=_731._XV*(_En2.left-_vU._f3);_In2=_731._XV*(_En2.right-_vU._f3+1);var _Jn2,_Kn2;_Jn2=_731._YV*(_En2.top-_vU._g3);_Kn2=_731._YV*(_En2.bottom-_vU._g3+1);var _bb,_ab;_bb=Math.cos(-_731._f7*_Na/180.0);_ab=Math.sin(-_731._f7*_Na/180.0);var _Ln2=_bb*_In2;var _Mn2=_bb*_Hn2;var _Nn2=_ab*_Kn2;var _On2=_ab*_Jn2;var _Pn2=_bb*_Kn2;var _Qn2=_bb*_Jn2;var _Rn2=_ab*_In2;var _Sn2=_ab*_Hn2;_bo2=[];_bo2[0]={"x":Math.round(_731.x+_Mn2-_On2),"y":Math.round(_731.y+_Qn2+_Sn2)};_bo2[1]={"x":Math.round(_731.x+_Ln2-_On2),
"y":Math.round(_731.y+_Qn2+_Rn2)};_bo2[2]={"x":Math.round(_731.x+_Ln2-_Nn2),"y":Math.round(_731.y+_Pn2+_Rn2)};_bo2[3]={"x":Math.round(_731.x+_Mn2-_Nn2),"y":Math.round(_731.y+_Pn2+_Sn2)};return _bo2}function _lo2(_731,_831){var _M11=_ko2(_731);var _N11=_ko2(_831);return _co2(_M11,_N11)}function _mo2(_a61){var x=_a61[1].x-_a61[0].x;var y=_a61[1].y-_a61[0].y;var length=sqrt(x*x+y*y);x=x/length;y=y/length;_bo2={"x":-y,"y":x};return _bo2}function _no2(_M11,_N11){var _do2=_ao2(_M11);var _oo2=_mo2(_N11);for(var _Q3=0;
_Q3<2;++_Q3){var _fo2=_go2(_M11,_do2[_Q3]);var _ho2=_po2(_N11,_do2[_Q3]);var _io2=((_fo2.max<=_ho2.min)||(_ho2.max<=_fo2.min));if(_io2)return false}{var _fo2=_go2(_M11,_oo2);var _ho2=_po2(_N11,_oo2);var _io2=((_fo2.max<=_ho2.min)||(_ho2.max<=_fo2.min));if(_io2)return false}return true}function _po2(_a61,_K11){var _jo2=_a61[0].x*_K11.x+_a61[0].y*_K11.y;var _Av={"min":_jo2,"max":_jo2};for(var _Q3=1;_Q3<2;++_Q3){_jo2=_a61[_Q3].x*_K11.x+_K11.y*_a61[_Q3].y;if(_jo2<_Av.min)_Av.min=_jo2;else if(_jo2>_Av.max)_Av.max=_jo2}
return _Av}function _qo2(__a,_0b,_ma,_na){_bo2=[];_bo2[0]={"x":__a,"y":_0b};_bo2[1]={"x":_ma,"y":_na};return _bo2}function _ro2(_731,__a,_0b,_ma,_na){var _M11=_ko2(_731);var _N11=_qo2(__a,_0b,_ma,_na);return _no2(_M11,_N11)}_Cm2.prototype._vG=function(_0l,_1l){if(this!=_0l&&!this._86&&!_0l._86){if(this._7c()){return this._3o2(_0l,_1l)}if(_0l._7c()){return _0l._3o2(this,_1l)}if(this._jE)this._kE();if(_0l._jE)_0l._kE();var _so2=_0l._3U;var _to2=this._3U;if(_so2.left>=(_to2.right+1))return false;if((_so2.right+1)<=_to2.left)return false;
if(_so2.top>=(_to2.bottom+1))return false;if((_so2.bottom+1)<=_to2.top)return false;if(this._Gn2||_0l._Gn2){if(!_lo2(this,_0l)){return false}}if(!_1l||(!this._Xm2&&!_0l._Xm2))return true;var _uo2=null;var _vo2=null;if(this._fX1<0){_uo2=_MT._Si(this._WV)}else {_uo2=_MT._Si(this._fX1)}if((_uo2==null)||(_uo2._Ea==0))return false;if(_0l._fX1<0){_vo2=_MT._Si(_0l._WV)}else {_vo2=_MT._Si(_0l._fX1)}if((_vo2==null)||(_vo2._Ea==0))return false;return _uo2._wo2(this._yH|0,this._3U,_gj(this.x),_gj(this.y),this._XV,this._YV,
this._f7,_vo2,_0l._yH|0,_0l._3U,_gj(_0l.x),_gj(_0l.y),_0l._XV,_0l._YV,_0l._f7)}return false};_Cm2.prototype._aI1=function(){var _ZO,_Qa,_Sa;if(this._9I1<0)return false;var _XO=_YO._y3[this._9I1];if(!_XO)return;if(_XO.length<=0)return;var _xo2=false;var _yo2=this._Qm2*Math.PI/180.0;var _zo2=_XO._1P(this._FX1);_Qa=_zo2.x;_Sa=_zo2.y;_ZO=_zo2._W4;_zo2=null;_ZO=_ZO/(100*this._Pm2);this._FX1=this._FX1+this._Om2*_ZO/_XO.length;var _Ao2=_XO._1P(0);if((this._FX1>=1)||(this._FX1<=0)){_xo2=(this._Om2==0)?false:true;
switch(this._Rm2){case 0:{if(this._Om2!=0){this._FX1=1;this._9I1=-1}break }case 1:{if(this._FX1<0){this._FX1++}else {this._FX1--}break }case 2:{var _Bo2=_XO._1P(1);_Qa=_Bo2.x-_Ao2.x;_Sa=_Bo2.y-_Ao2.y;var _Co2=this._Pm2*(_Qa*Math.cos(_yo2)+_Sa*Math.sin(_yo2));var _Do2=this._Pm2*(_Sa*Math.cos(_yo2)-_Qa*Math.sin(_yo2));if(this._FX1<0){this._Sm2=this._Sm2-_Co2;this._Tm2=this._Tm2-_Do2;this._FX1++}else {this._Sm2=this._Sm2+_Co2;this._Tm2=this._Tm2+_Do2;this._FX1--}break }case 3:{if(this._FX1<0){this._FX1=-this._FX1;
this._Om2=Math.abs(this._Om2)}else {this._FX1=2-this._FX1;this._Om2=-Math.abs(this._Om2)}break }default :{this._FX1=1;this._9I1=-1}}}_zo2=_XO._1P(this._FX1);_Qa=_zo2.x-_Ao2.x;_Sa=_zo2.y-_Ao2.y;var _1M=this._Sm2+this._Pm2*(_Qa*Math.cos(_yo2)+_Sa*Math.sin(_yo2));var _2M=this._Tm2+this._Pm2*(_Sa*Math.cos(_yo2)-_Qa*Math.sin(_yo2));this._BM(_1M-this.x);this._CM(_2M-this.y);this._DM(0);this._Hf(_1M,_2M);return _xo2};_Cm2.prototype._9k=function(_IS){var _LA=-1;if((_IS>=0)&&(_IS<_kY1)){_LA=this._8k[_IS]}return _LA}
;_Cm2.prototype._ak=function(_IS,_o9){if((_IS>=0)&&(_IS<_kY1)){this._8k[_IS]=_o9}};_Cm2.prototype._gX1=function(){if(this._jE){this._kE()}return this._3U};_Cm2.prototype._4N=function(_Eo2,_fB){var _S3,_T3;if(!_qK(this._WV)){_S3=_T3=0}else {var _NT=_MT._Si(this._WV);_S3=_NT.width*this._XV;_T3=_NT.height*this._YV}if(_Eo2){if((this._kD<0)&&(this.x<0)){this._Hf(this.x+_h9._1E()+_S3,this.y)}if((this._kD>0)&&(this.x>=_h9._1E())){this._Hf(this.x-_h9._1E()-_S3,this.y)}}if(_fB){if((this._mD<0)&&(this.y<0)){this._Hf(this.x,
this.y+_h9._2E()+_T3)}if((this._mD>0)&&(this.y>=_h9._2E())){this._Hf(this.x,this.y-_h9._2E()-_T3)}}};_Cm2.prototype._GI1=function(_R9,_Fo2){var _Go2={};if((_Fo2.x!=0.0)||(_Fo2.y!=0.0)){var _7_=_R9;var _Ho2=Math.cos(_7_);var _Io2=Math.sin(_7_);_Go2.x=((_Fo2.x*_Ho2)-(_Fo2.y*_Io2));_Go2.y=((_Fo2.y*_Ho2)+(_Fo2.x*_Io2))}else {_Go2.x=_Fo2.x;_Go2.y=_Fo2.y}return _Go2};_Cm2.prototype._eI1=function(_Jo2){var _Ko2=_h9._i9();if(_j9)_Ko2=_k9._l9();var _dI1=1.0/_h9._8P._HP;var _FI1=this._GI1(_Jo2._E01(),this._3Q._7E1);
this.x=(_Jo2._1P().x*_dI1)+_FI1.x;this.y=(_Jo2._1P().y*_dI1)+_FI1.y;this._f7=(-_Jo2._E01()*180.0)/_Na;this._jE=true;this._Lo2=(_Jo2._E01()*180.0)/Math.PI;this._Mo2=this.x;this._No2=this.y;this._Oo2=(_Jo2._Cc1()*180.0)/Math.PI;this._Po2=_Jo2._Ac1().x*_dI1;this._Qo2=_Jo2._Ac1().y*_dI1;this._Ro2=this._Po2/_Ko2;this._So2=this._Qo2/_Ko2;this._To2=_Jo2._ad1();this._Uo2=_Jo2._Mc1();this._Vo2=_Jo2._Nc1();this._Wo2=_Jo2._xc1().x*_dI1;this._Xo2=_Jo2._xc1().y*_dI1;this._Yo2=(_Jo2._PH===_iD1._fG1._Vb1);this._Zo2=(_Jo2._PH===_iD1._fG1._2c1);
this.__o2=!_Jo2._dd1();this._0p2=_Jo2._hd1();this._1p2=_Jo2._fd1();this._2p2=Math.sqrt((this._Ro2*this._Ro2)+(this._So2*this._So2));this._3p2=_Jo2.__c1();this._4p2=_Jo2._Zc1();if(this._fI1===undefined){this._fI1=_Jo2._1P().x*_dI1}if(this._gI1===undefined){this._gI1=_Jo2._1P().y*_dI1}};_Cm2.prototype._e6=function(_gE1){this._3Q._fE1(_gE1);this._eI1(this._3Q._5E1)};;_Cm2.prototype._7c=function(){if(_qK(this._WV)){var _vU=_MT._Si(this._WV);if(_vU._Zm2){if(!this._1n2){this._1n2=new _B8(_vU._Zm2)}}}return this._1n2}
;_Cm2.prototype._5p2=function(){return this._2J};_Cm2.prototype._HJ=function(_KJ){this._2J=_KJ};_Cm2.prototype._CJ=function(){return this._3J};_Cm2.prototype._HI=function(_6p2){this._3J=_6p2};function _Qa2(){this._7p2=new _1j();this._7p2._2j=true;this._8p2=[]}_Qa2.prototype._Qh=function(){this._8p2=[];this._7p2._Qh()};_Qa2.prototype._yM=function(){return this._7p2._hj};_Qa2.prototype._4j=function(_dE){this._8p2[_dE.id]=_dE;this._7p2._4j(_dE)};_Qa2.prototype._ta2=function(_Pi){return this._8p2[_Pi]};_Qa2.prototype._Si=function(_Pi){
var _dE=this._8p2[_Pi];if(_dE!=undefined&&_dE!=null)return _dE;var _aE=_29._Si(_Pi);if(_aE!=undefined&&_aE!=null){_dE=_aE._9p2._hj[0];if(_dE!=undefined&&_dE!=null)return _dE}return null};_Qa2.prototype._ap2=function(_0l){this._7p2._EI(_0l);var id=_0l.id;this._8p2[id]=null};_Qa2.prototype._bp2=function(){var _hj=_h9._DG._hj;var _ZI=_zJ._YI();for(var index=0;index<_hj.length;index++){var _dE=_hj[index];_dE._DX1=_dE.x;_dE._EX1=_dE.y;_dE._GX1=_dE._FX1;_dE._9o2()}};_Qa2.prototype._cp2=function(){var _hj=_h9._DG._hj;
for(var index=0;index<_hj.length;index++){var _dE=_hj[index];_dE._rn2();if(_dE._aI1()){_dE._6a(_bI1,0,_dE,_dE)}if(_dE._kD!==0||_dE._mD!==0){_dE.x+=_dE._kD;_dE.y+=_dE._mD;_dE._jE=true}}};_Qa2.prototype._dp2=function(){var _hj=_h9._DG._hj;for(var index=0;index<_hj.length;index++){var _dE=_hj[index];var _Bu=_dE._tn2();if(_dE._yH>=_Bu){_dE._yH-=_Bu;var _JG=_dE._JG;if(_JG._cX1[_D_1]){_dE._6a(_D_1,0,_dE,_dE)}}else if(_dE._yH<0){_dE._yH+=_Bu;var _JG=_dE._JG;if(_JG._cX1[_D_1]){_dE._6a(_D_1,0,_dE,_dE)}}}};_Qa2.prototype._6a=function(_5F,
_IS){var _cb1=true;if(_h9){var _Dn2=_5F;if(_Dn2!=_xI1)_Dn2|=_IS;var _hj=_h9._DG._hj;for(var index=0;index<_hj.length;index++){var _dE=_hj[index];if(!_dE._86){var _JG=_dE._JG;if(_JG._cX1[_Dn2]){_cb1=_dE._6a(_5F,_IS,_dE,_dE)}}}}return _cb1};var _47=_ep2;function _ep2(_Pi){var _dE=_eE._Si(_Pi);if(!_dE){_dE=_29._Si(_Pi);if(!_dE){_cv("Unknown instance ID: "+_Pi);debug(_ev());return undefined}_dE=_dE._1Y1._Si(0)}return _dE}var _fp2=256;var _gp2=3;var _hp2=1024;var __X=1;var _7Y=2;var _ip2=4;var _yi=1;var _wi=2;var _xi=0x80000000;
var _jp2=128;var _kp2=0,_ti=0,_ri=0,_si=0,_lp2=-1,_mp2=0,_np2=0,_op2=0,_pp2=0,_qp2=0,_pZ=(typeof(document.hasFocus)=="function"?document.hasFocus():!0),_8Y1=0,_9Y1=0,_rp2=!1,_sp2=0;var _tp2=[];var _up2=[];var _vp2=[];var _2Y=[];var _fZ=[];var _ui=[];var _wp2=0;var _gi=[];var _xp2={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 _yp2={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 _zp2(){_pZ=true}function _Ap2(){_pZ=false;_Bp2()}function _Cp2(_Dp2,_Ep2){try{if(_Dp2){if(_Dp2._03){if(_Dp2._03._o5){if(_Dp2._03._o5._y5){if(_Dp2._03._o5._y5==_03._o5._y5){_Dp2.focus();_Ep2.focus();return true}}}}}}catch(err){}return false}function _Fp2(){var _eW=document.getElementById(_nv);var _Gp2;if((_0F==_WZ1)||(_0F==_VZ1)||(_0F==_XZ1)||(_0F==_YZ1)){
_Gp2=_eW.parentNode.frames;for(var _Hp2=0;_Hp2<_Gp2.length;_Hp2++){var _Ip2=_Gp2[_Hp2];if(_Cp2(_Ip2,_eW))break }}else {_Gp2=_eW.parentNode.document.getElementsByTagName("IFRAME");for(var _Hp2 in _Gp2){var _Ip2=_Gp2[_Hp2].contentWindow;if(_Cp2(_Ip2,_eW))break }}}var _Jp2;var _Kp2;var _Lp2;var _Mp2;var _Np2;var _Op2;var _Pp2;var _Qp2;var _Rp2;var _Sp2;var _Tp2;function _Up2(){var _GU=document.getElementById("gm4html5_div_id");if(_GU){_Kp2=_GU.style.left;_Lp2=_GU.style.top;_Mp2=_GU.style.margin;var top=window.parent;if(top!=null){
if(top.chrome!=null&&top.chrome.app!=null&&top.chrome.app.window!=null){var _Vp2=top.chrome.app.window.current();if(_Vp2!=null){var _Wp2=window.parent.document.getElementById("container");var _Xp2=window.parent.document.getElementById("game");if(_Wp2!=null){_Np2=_Wp2.style.width;_Op2=_Wp2.style.height;_Rp2=_Wp2.style.left;_Pp2=_Wp2.style.margin;_Qp2=_Wp2.style.position}if(_Xp2!=null){_Sp2=_Xp2.style.width;_Tp2=_Xp2.style.height}_Vp2.fullscreen();var _Yp2=_Vp2.getBounds();if(_Wp2!=null){_Wp2.style.width="100%";
_Wp2.style.height="100%";_Wp2.style.left="0";_Wp2.style.margin='auto';_Wp2.style.position='relative'}if(_Xp2!=null){_Xp2.style.width="100%";_Xp2.style.height="100%";canvas.style.width="100%";canvas.style.height="100%"}}}}_GU.style.margin="0px";_GU.style.top="0";_GU.style.left="0";_GU.style._Zp2="0px";_GU.style.__p2="0px";if(_GU.mozRequestFullScreen){_GU.mozRequestFullScreen()}else if(_GU.webkitRequestFullScreen){_GU.onwebkitfullscreenchange=function(e){_GU.onwebkitfullscreenchange=_0q2};if(_0F==_XZ1){
_GU.webkitRequestFullScreen()}else {_GU.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);}}else if(document.documentElement.requestFullScreen){document.documentElement.requestFullScreen()}_a92=true;return }if(canvas.mozRequestFullScreen){canvas.style.margin="0px";canvas.style.top="";canvas.style.left="";canvas.style._Zp2="0px";canvas.style.__p2="0px";canvas.mozRequestFullScreen()}else if(canvas.webkitRequestFullScreen){canvas.style.margin="0px";canvas.style.top="";canvas.style.left="";canvas.style._Zp2="0px";
canvas.style.__p2="0px";canvas.onwebkitfullscreenchange=function(e){canvas.onwebkitfullscreenchange=_0q2;};if(_0F==_XZ1){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._Zp2="0px";canvas.style.__p2="0px";document.documentElement.requestFullScreen()}_a92=true}function _0q2(){if(_292){var _GU=document.getElementById("gm4html5_div_id");
if(_GU){_GU.style.left=_Kp2;_GU.style.top=_Lp2;_GU.style.margin=_Mp2}var top=window.parent;if(top!=null){if(top.chrome!=null&&top.chrome.app!=null&&top.chrome.app.window!=null){var _Vp2=top.chrome.app.window.current();if(_Vp2!=null)_Vp2.restore()}}_a92=true}}function _1q2(){var top=window.parent;if(top!=null){if(top.chrome!=null&&top.chrome.app!=null&&top.chrome.app.window!=null){var _Vp2=top.chrome.app.window.current();if(_Vp2!=null){_Vp2.restore();_a92=true;var _Wp2=window.parent.document.getElementById("container");
if(_Wp2!=null){_Wp2.style.width=_Np2;_Wp2.style.height=_Op2;_Wp2.style.left=_Rp2;_Wp2.style.margin=_Pp2;_Wp2.style.position=_Qp2}var _Xp2=window.parent.document.getElementById("game");if(_Xp2!=null){_Xp2.style.width=_Sp2;_Xp2.style.height=_Tp2;canvas.style.width=_Sp2;canvas.style.height=_Tp2}}}}if(document.webkitCancelFullScreen){document.webkitCancelFullScreen()}else if(document.mozCancelFullScreen){document.mozCancelFullScreen();_0q2()}else {_a92=true}}function _Ev(){if(_792)return;window.onkeyup=function(){
_2q2(arguments[0]||window.event)};window.onkeydown=function(){var _mZ1=arguments[0]||window.event;if((_392)&&(_mZ1!=null)&&(_mZ1.which==121)&&(!_mZ1.repeat)&&(canvas.mozRequestFullScreen)){if(!document.mozFullScreen){_3q2();_Up2()}else {_1q2()}_mZ1.preventDefault();return false}if(_4q2(_mZ1)==false){_mZ1.preventDefault();return false}};window.onmouseup=_5q2;_792=true}function _rv(){if(_792==false)return;window.onkeydown=null;window.onkeyup=null;window.onmouseup=null;_792=false}function _6q2(_7q2){if(_7q2==121){
return true}if(window.chrome&&window.chrome.app){if(_7q2==183)return true}return false;}function _4q2(_mZ1){var _7q2;if(_mZ1==null){_7q2=window.event.which;if(_7q2==122)return true;if(_7q2!=121)window.event.preventDefault();else _a92=true;window.event.preventDefault()}else {_7q2=_mZ1.which;if(_7q2==122)return true;if(_7q2==120){}else if(!_6q2(_7q2)){_mZ1.preventDefault()}else {if(_392){if(!_292){_3q2();_Up2()}else {_1q2()}}}_mZ1.preventDefault()}_tp2[_7q2]=1;_up2[_7q2]=1;_qp2=_7q2;if(_0F==_1F){_pp2=_mZ1.char}
else if(_mZ1._wu){if(_mZ1._wu.length==1){_pp2=_mZ1._wu}else if(_7q2==8){_pp2=String.fromCharCode(8);}else if(_7q2==13){_pp2=String.fromCharCode(13)}else {_pp2=""}}else {if(_mZ1.shiftKey){_pp2=_yp2[_7q2]}else {_pp2=_xp2[_7q2]}}if(!_pp2)_pp2="";return false}function _2q2(_mZ1){var _7q2;if(_mZ1==null){_7q2=window.event.which;if(_7q2==122)return;window.event.preventDefault()}else {_7q2=_mZ1.which;if(_7q2==122)return;_mZ1.preventDefault()}_vp2[_7q2]=1;_tp2[_7q2]=0;return false}function _8q2(_9q2){_ri=_9q2.pageX;
_si=_9q2.pageY;_ui[_9q2.button].x=_ri;_ui[_9q2.button].y=_si}var _hi=!1;function _aq2(_9q2){if(!_pZ){_Fp2()}if(!_hi){if(_0F==_XZ1)_8S();_hi=true}_kp2=_9q2.button;if(_kp2==2)_kp2=1;else if(_kp2==1)_kp2=2;_np2=_lp2;_lp2=_kp2;_ti|=(1<<_kp2);_ui[_9q2.button]._vi=_wi|_xi|_yi;_ui[_9q2.button].x=_9q2.pageX;_ui[_9q2.button].y=_9q2.pageY;return _9q2}function _5q2(_9q2){_kp2=_9q2.button;if(_kp2==2)_kp2=1;else if(_kp2==1)_kp2=2;_op2=_mp2;_mp2=_kp2;_ti&=~(1<<_kp2);_lp2=-1;_ui[_9q2.button]._vi=0;return false}function _bq2(_9q2){
if(_9q2.detail){_sp2=-_9q2.detail}else {_sp2=_9q2.wheelDelta}}function _cq2(){_eE._6a(_z_1,0);return undefined}function _Oa2(){this._dq2="a";this._eq2=[];this._fq2=this._gq2=-1;this._hq2=[];this._iq2=[];this._jq2=[];this._kq2=this._lq2=0;this._Fg=[];this._Eg=[];this._Ag=[];this._mq2=this._nq2=false;this._oq2=[];this._pq2=this._qq2=this._rq2=this._sq2=this._KX1=this._LX1=this._d9=0;for(var _Ga=0;_Ga<_hp2;_Ga++){this._eq2[_Ga]=""}for(var _Ga=0;_Ga<_fp2;_Ga++){this._hq2[_Ga]=this._iq2[_Ga]=this._jq2[_Ga]=false;
this._oq2[_Ga]=_Ga}for(var _Ga=0;_Ga<_gp2;_Ga++){this._Fg[_Ga]=this._Eg[_Ga]=this._Ag[_Ga]=false}this._Rh=_tq2;this._uq2=_vq2;this._wq2=_wq2;this._xq2=_xq2;this._yq2=_yq2;this._zq2=_zq2;this._Aq2=_Aq2;this._Bq2=_Bq2;this._Cq2=_Cq2;this._Dq2=_Dq2;this._Eq2=_Eq2;this._Fq2=_Fq2;this._Gq2=_Gq2;this._Hq2=_Hq2;this._Iq2=_Iq2;this._Jq2=_Jq2;this._Kq2=_Kq2;this._Lq2=_Lq2;this._Mq2=_Mq2;this._Nq2=_Nq2;this._Oq2=_Oq2;this._Pq2=_Qq2;this._Rq2=_Sq2;this._Tq2=_Uq2;this._Vq2=_Vq2;for(var _Ga=0;_Ga<_fp2;_Ga++){_tp2[_Ga]=_vp2[_Ga]=false}
if(!_wm2){window.onbeforeunload=_cq2}_fZ=new Array(_jp2);_ui=new Array(_jp2);for(var _Wq2=0;_Wq2<_jp2;_Wq2++){_fZ[_Wq2]=new _Xq2();_ui[_Wq2]=new _Xq2();}_Yq2(true)}function _Yq2(_lr){if(_rp2==_lr)return;_Bp2();_rp2=_lr;if(_lr){canvas.onmousemove=_8q2;canvas.onmousedown=_aq2;window.onmouseup=_5q2;canvas.onmousewheel=_bq2;canvas.onselectstart=function(){return false};canvas.addEventListener("DOMMouseScroll",_bq2,false);var _Ga=document.getElementById("loading_screen");if(_Ga){_Ga.onmousemove=_8q2;_Ga.onmousedown=_aq2;
_Ga.onmouseup=_5q2;_Ga.onmousewheel=_bq2;_Ga.addEventListener("DOMMouseScroll",_bq2,false)}document.body.onfocusin=_zp2;document.body.onfocusout=_Ap2;document.onfocusin=_zp2;document.onfocusout=_Ap2;window.onfocus=_zp2;window.onblur=_Ap2;_Ev()}else {canvas.onmousemove=null;canvas.onmousedown=null;window.onmouseup=null;canvas.onmousewheel=null;canvas.onselectstart=null;canvas.removeEventListener("DOMMouseScroll",_bq2);var _Ga=document.getElementById("loading_screen");if(_Ga){_Ga.onmousemove=null;_Ga.onmousedown=null;
_Ga.onmouseup=null;_Ga.onmousewheel=null;_Ga.removeEventListener("DOMMouseScroll",_bq2)}document.body.onfocusin=null;document.body.onfocusout=null;document.onfocusin=null;document.onfocusout=null;window.onfocus=null;window.onblur=null;_rv()}}function _Xq2(){this._vi=0;this.x=0;this.y=0}function _Bp2(){_Zq2();__q2();_q6._Qi2=0;_q6._Qi2="";_qp2=0;_pp2=""}_Oa2.prototype._Qh=function(){this._0r2();this._Oq2();_q6._Qi2=0;_q6._Ri2=0;_q6._Qi2="";_qp2=0;_pp2="";_q6._Si2="";_q6._Ti2=""};/*@this {yyIOManager} */function _wq2(){
return this._dq2}/*@this {yyIOManager} */function _xq2(_1r2){this._dq2=_1r2}/*@this {yyIOManager} */function _yq2(){return this._gq2}/*@this {yyIOManager} */function _zq2(){return this._fq2}/*@this {yyIOManager} */function _Aq2(_wj){if(_wj<0||_wj>255)return false;this._gq2=_wj}/*@this {yyIOManager} */function _Bq2(_wj){if(_wj<0||_wj>255)return false;this._fq2=_wj}/*@this {yyIOManager} */function _Cq2(_wj){if(_wj<0||_wj>255)return false;return this._hq2[_wj]}/*@this {yyIOManager} */function _Dq2(_wj){if(_wj<0||_wj>255)return false;
return this._jq2[_wj]}/*@this {yyIOManager} */function _Eq2(_wj){if(_wj<0||_wj>255)return false;return this._iq2[_wj]}/*@this {yyIOManager} */function _Fq2(_wj){if(_wj<0||_wj>255)return;this._hq2[_wj]=0;this._jq2[_wj]=0;this._iq2[_wj]=0}_Oa2.prototype._0r2=function(){this._gq2=0;this._fq2=0;this._dq2=0;for(var _Q3=0;_Q3<=_fp2;_Q3++){this._hq2[_Q3]=0;this._jq2[_Q3]=0;this._iq2[_Q3]=0}};function _Zq2(){for(var _Q3=0;_Q3<_fp2;_Q3++){_up2[_Q3]=0;_vp2[_Q3]=0;_tp2[_Q3]=0}}/*@this {yyIOManager} */function _Gq2(){
return this._kq2}/*@this {yyIOManager} */function _Hq2(){return this._lq2}/*@this {yyIOManager} */function _Iq2(_YG){if((_YG<1)||(_YG>3))return;this._kq2=_YG}/*@this {yyIOManager} */function _Jq2(_YG){if((_YG<1)||(_YG>3))return;this._lq2=_YG}/*@this {yyIOManager} */function _Kq2(_YG){_YG--;if(_YG>=0&&_YG<_gp2){return this._Fg[_YG]}return false}/*@this {yyIOManager} */function _Lq2(_YG){_YG--;if(_YG>=0&&_YG<_gp2){return this._Ag[_YG]}}/*@this {yyIOManager} */function _Mq2(_YG){_YG--;if(_YG>=0&&_YG<_gp2){return this._Eg[_YG]}
return false}/*@this {yyIOManager} */function _Nq2(_YG){_YG--;if(_YG>=0&&_YG<_gp2){this._Fg[_YG]=false;this._Ag[_YG]=false;this._Eg[_YG]=false}}/*@this {yyIOManager} */function _Oq2(){this._kq2=0;this._lq2=0;for(var _Q3=0;_Q3<=_gp2;_Q3++){this._Fg[_Q3]=false;this._Ag[_Q3]=false;this._Eg[_Q3]=false}this._nq2=false;this._mq2=false;for(var _ji=0;_ji<_gi.length;_ji++){_gi[_ji]._Qh()}}function __q2(){_op2=-1;_mp2=-1;_lp2=-1;_ti=0;_ui[0]._vi=0;_ui[0].x=0;_ui[0].y=0;_kp2=-1}/*@this {yyIOManager} */function _tq2(){
for(var _ji=0;_ji<_gi.length;_ji++){var _ki=_gi[_ji];if(_ki._Fg){_ki._Eg=0;_ki._Ag=_ki._Yh^_ki._Fg}else {_ki._Eg=_ki._Yh^_ki._Fg;_ki._Ag=0}_ki._Yh=_ki._Fg}for(var _Wq2=0;_Wq2<_ui.length;_Wq2++){_fZ[_Wq2]._vi=_ui[_Wq2]._vi;_fZ[_Wq2].x=_ui[_Wq2].x;_fZ[_Wq2].y=_ui[_Wq2].y;_ui[_Wq2]._vi&=~_yi}if(_qp2){if(_pp2){if(_qp2==13){}else if(_qp2==8){_q6._Si2=_pp2;if(_q6._Ti2.length>0){_q6._Ti2=_q6._Ti2.substring(0,_q6._Ti2.length-1);}}else {_q6._Si2=_pp2;_q6._Ti2+=_q6._Si2;if(_q6._Ti2.length>1024){_q6._Ti2=_q6._Ti2.substring(1,
_q6._Ti2.length-1)}}}if(_q6._Qi2!=0){_q6._Ri2=_q6._Qi2}_q6._Qi2=_qp2;_qp2=0}else if(!_qi._hq2[_q6._Qi2]){_q6._Qi2=0}this._KX1=_ri;this._LX1=_si;this._qq2=_ti;if((this._qq2&1)!=0){this._Fg[0]=1;if(((this._rq2^this._qq2)&0x1)!=0){this._Ag[0]=1}}else {this._Fg[0]=0;if(((this._rq2^this._qq2)&0x1)!=0){this._Eg[0]=1}}if((this._qq2&2)!=0){this._Fg[1]=1;if(((this._rq2^this._qq2)&0x2)!=0){this._Ag[1]=1}}else {this._Fg[1]=0;if(((this._rq2^this._qq2)&0x2)!=0){this._Eg[1]=1}}if((this._qq2&4)!=0){this._Fg[2]=1;
if(((this._rq2^this._qq2)&0x4)!=0){this._Ag[2]=1}}else {this._Fg[2]=0;if(((this._rq2^this._qq2)&0x4)!=0){this._Eg[2]=1}}this._rq2=this._qq2;_q6._27=this._KX1;_q6._37=this._LX1;_q6._Oi2=_lp2+1;_q6._Pi2=_np2;this._Vq2()}/*@this {yyIOManager} */function _Vq2(){var _2r2=0;var _wf=0;var _S3=_Tz;var _T3=_Rz;var _7b=_t8();var _pU=_u8();if(_S3<0)_S3=_7b;if(_T3<0)_T3=_pU;for(var _Wq2=0;_Wq2<_fZ.length;_Wq2++){var _3r2=_fZ[_Wq2];if((_3r2._vi&_xi)!=0){_wf=1;for(var _4r2=0;_4r2<_2Y.length;_4r2++){var _XX=_2Y[_4r2];if((_XX._ZX&__X)!=0){
var x=(_S3*(_3r2.x-_5i.left))/_7b;var y=(_T3*(_3r2.y-_5i.top))/_pU;if((x>=_XX.x)&&(x<_XX._xa)&&(y>=_XX.y)&&(y<_XX._ya)){_2r2|=_wf}}_wf<<=1}_3r2._vi=0}}_wf=1;var _5r2=_wp2^_2r2;for(var _4r2=0;_4r2<_2Y.length;_4r2++){var _XX=_2Y[_4r2];if((_XX._ZX&__X)!=0){var _6r2=_2r2&_wf;var _9v=_5r2&_wf;if(_XX._wu!=0){this._jq2[_XX._wu]|=(_6r2&&_9v);this._hq2[_XX._wu]|=(_6r2&&!_9v);this._iq2[_XX._wu]|=(!_6r2&&_9v)}else {this._Ag[_XX.button-1]|=(_6r2&&_9v);this._Fg[_XX.button-1]|=(_6r2&&!_9v);this._Eg[_XX.button-1]|=(!_6r2&&_9v)}
}_wf<<=1}_wp2=_2r2}function _Pq2(_7r2){var _mZ1=_o_1|_7r2;var _hj=_h9._DG._hj;var _8r2=_hj.length;for(var _9x=0;_9x<_8r2;_9x++){var _dE=_hj[_9x];var _aE=_dE._JG;if(_aE._cX1[_mZ1]){_dE._6a(_o_1,_7r2,_dE,_dE)}}}function _9r2(_ar2){var _mZ1=_r_1|_ar2;var _hj=_h9._DG._hj;var _8r2=_hj.length;for(var _9x=0;_9x<_8r2;_9x++){var _dE=_hj[_9x];if(_dE._86){continue }var _aE=_dE._JG;if(_aE._cX1[_mZ1]){_dE._6a(_r_1,_ar2,_dE,_dE)}}}function _Tq2(_br2){var _mZ1=_s_1|_br2;var _hj=_h9._DG._hj;var _8r2=_hj.length;for(var _9x=0;_9x<_8r2;
_9x++){var _dE=_hj[_9x];var _aE=_dE._JG;if(_aE._cX1[_mZ1]){_dE._6a(_s_1,_br2,_dE,_dE)}}}/*@this {yyIOManager} */function _Qq2(){var _cr2=0;for(var _Q3=2;_Q3<_fp2;_Q3++){if(this._hq2[_Q3]){_cr2=1;_Pq2(_Q3)}}_Pq2(_cr2)}/*@this {yyIOManager} */function _Sq2(){var _dr2=0;for(var _Q3=2;_Q3<_fp2;_Q3++){if(this._jq2[_Q3]){_dr2=1;_9r2(_Q3)}}_9r2(_dr2)}/*@this {yyIOManager} */function _Uq2(){var _er2=0;for(var _Q3=2;_Q3<_fp2;_Q3++){if(this._iq2[_Q3]){_er2=1;_Tq2(_Q3)}}_Tq2(_er2)}/*@this {yyIOManager} */function _vq2(){
var _fr2=0,_gr2=0,_hr2=0;this._d9++;for(var _Q3=0;_Q3<_fp2;_Q3++){this._jq2[_Q3]=this._iq2[_Q3]=this._hq2[_Q3]=0}for(var _Q3=0;_Q3<_fp2;_Q3++){var _wu=this._oq2[_Q3];this._jq2[_wu]|=_up2[_Q3];this._iq2[_wu]|=_vp2[_Q3];this._hq2[_wu]|=_tp2[_Q3];_fr2|=_up2[_Q3];_gr2|=_tp2[_Q3];_hr2|=_vp2[_Q3];_up2[_Q3]=0;_vp2[_Q3]=0}this._jq2[1]=_fr2;this._hq2[1]=_gr2;this._iq2[1]=_hr2;this._jq2[0]=_fr2^1;this._hq2[0]=_gr2^1;this._iq2[0]=_hr2^1;_8Y1=_9Y1=0;if(_sp2>0){_8Y1=1}else if(_sp2<0){_9Y1=1}_sp2=0;for(var _Q3=0;_Q3<=_gp2;
_Q3++){this._Ag[_Q3]=false;this._Eg[_Q3]=false}this._nq2=false;this._mq2=false;this._Rh();var __h;if(!_h9._0i){__h=_1i}else {__h=_h9._2i}var _3i;for(var _uc=0;_uc<=7;++_uc){_3i=__h[_uc];if(_3i&&_3i._Y3){_q6._27=_3i._ai(_qi._KX1,_qi._LX1);_q6._37=_3i._bi(_qi._KX1,_qi._LX1);break }}for(var _uc=7;_uc>=0;_uc--){_3i=__h[_uc];if(_3i&&_3i._Y3){_4i(canvas,_5i);if(((this._KX1-_5i.left)>=_3i._6i)&&((this._KX1-_5i.left)<_3i._7i)&&((this._LX1-_5i.top)>=_3i._8i)&&((this._LX1-_5i.top)<_3i._9i)){_q6._27=_3i._ai(_qi._KX1,
_qi._LX1);_q6._37=_3i._bi(_qi._KX1,_qi._LX1);break }}}}function _ir2(){_qi._Pq2();_qi._Rq2();_qi._Tq2()}function _jr2(index){this._ZX=0;this.index=index;this.x=0;this.y=0;this._xa=0;this._ya=0;this._S3=0;this._T3=0;this._sc=0;this._uc=0;this._wu=0;this.button=0}function _YX(){for(var _Ga=0;_Ga<_2Y.length;++_Ga){if(_2Y[_Ga]._ZX==0){return _2Y[_Ga]}}var _Q3=_2Y.length;_2Y[_Q3]=new _jr2(_Q3);return _2Y[_Q3]}function _3Y(_kr2){_2Y[_kr2]._ZX=0}function _lr2(){for(var _Ga=0;_Ga<_2Y.length;++_Ga){_2Y[_Ga]._ZX=0}}_Oa2.prototype._mr2=function(){
_Iv();_Gk2();var _9A=[];_9A[0]=1;_9A[1]=0;_9A[2]=0;_9A[3]=1;_9A[4]=0;_9A[5]=0;_Tj2(_9A);var _rx=_PA();var _nr2=_QA();_x8(0xffffff);for(var _Ga=0;_Ga<_5Y.length;++_Ga){var _6Y=_5Y[_Ga];_4B(_6Y.x,_6Y.y,_6Y.x+_6Y._S3-1,_6Y.y+_6Y._T3-1,true)}_x8(_nr2);_NA(_rx);_Fk2()};function _1j(){this._or2=[];this._hj=[];this._2j=false;this.length=0;this._Fb=0}_1j.prototype._la2=function(){if(this._or2.length==0){return this._hj.length}return this._or2.pop()};_1j.prototype._4j=function(_Ee2){var index;if(this._2j){index=this._hj.length}
else {index=this._la2()}this._hj[index]=_Ee2;this._Fb++;this.length=this._hj.length;return index};_1j.prototype._Si=function(_UL){if(_UL<0||_UL>=this._hj.length)return null;return this._hj[_UL]};_1j.prototype._TJ=function(_Fe2){for(var _Ga=0;_Ga<this._hj.length;_Ga++){if(this._hj[_Ga]==_Fe2)return _Ga}};_1j.prototype._EI=function(_Fe2){for(var _Ga=0;_Ga<this._hj.length;_Ga++){if(this._hj[_Ga]==_Fe2){if(this._2j){this._hj.splice(_Ga,1)}else {this._hj[_Ga]=null;this._or2.push(_Ga)}this._Fb--;this.length=this._hj.length;
return true}}return false};_1j.prototype._7j=function(_UL){if(_UL<0||_UL>=this._hj.length)return false;if(this._2j){this._hj.splice(_UL,1)}else {this._hj[_UL]=null;this._or2.push(_UL)}this._Fb--;this.length=this._hj.length;return true};_1j.prototype._Qh=function(){var _hj=this._hj;for(var _Q3=0;_Q3<_hj.length;_Q3++){var _uc=_hj[_Q3];if(_uc!=null&&_uc.Object!==undefined)switch(_uc._mj){case _ij:_59(_uc.Object);break;case _jj:_5j(_uc.Object);break }}this._hj=[];this._or2=[];this._Fb=0;this.length=this._hj.length}
;_1j.prototype._sj=function(_IS,_o9){if(_IS<0||_IS>=this._hj.length)return;this._hj[_IS]=_o9};_1j.prototype._pr2=function(_qr2){if(_qr2){this._hj.sort(function(_gc,_La){return _gc-_La;})}else {this._hj.sort(function(_gc,_La){return _La-_gc})}this._or2=[];for(var _Q3=0;_Q3<this._hj.length;_Q3++){if(this._hj[_Q3]==null||this._hj[_Q3]==undefined){this._or2.push(_Q3)}}};_1j.prototype._Li=function(_Mi){this._hj=_Mi._hj.slice();this._or2=_Mi._or2.slice();this._2j=_Mi._2j;this.length=_Mi.length;this._Fb=_Mi._Fb}
;var _in2=0,_kn2=1,_ln2=2;function _rr2(){this._sr2=null;this._tr2=0;this._ur2=null}function _vr2(){this._sr2=null;this._wr2=false;this._Ue2=null}function _xr2(){this._54=false}function _DI1(_yr2,_t9){this.__type="[Object]";this._vi=0;this._TG=_yr2;this._sb2=_t9;this._8n2=-1;this._KG=0;this._9n2=0;this._an2=false;this._bn2=false;this._cn2=false;this._RG=0;this._ov=null;this._zr2=-1;this._Bb2=false;this._1Y1=new _1j();this._9p2=new _1j();this._1Y1._2j=true;this._9p2._2j=true;this._Ar2=[];for(var _gc=0;_gc<_kY1;
_gc++){this._Ar2[_gc]=null}this._Br2=[];this._Cr2=[];this._Dr2=[];this._Db2=[];this._V3=[];this._zy=[];this._cX1=[];this._dn2=new _xr2()}_DI1.prototype._yM=function(){return this._1Y1._hj};_DI1.prototype._bE=function(){return this._9p2._hj};function _Sb2(_Er2,_Fr2){var _aE=new _DI1(_Er2,_Fr2._33);{if(_Fr2._X3!=undefined)_aE._KG=_Fr2._X3;if(_Fr2._Y3!=undefined)_aE._bn2=_Fr2._Y3;if(_Fr2._j4!=undefined)_aE._an2=_Fr2._j4;if(_Fr2._44!=undefined)_aE._9n2=_Fr2._44;if(_Fr2._Im2!=undefined)_aE._cn2=_Fr2._Im2;if(_Fr2.parent!=undefined)_aE._RG=_Fr2.parent;
if(_Fr2._Gr2!=undefined)_aE._8n2=_Fr2._Gr2;if(_Fr2._Hr2){_aE._Hr2=_Fr2._Hr2;_aE._zy[_xG]=true}if(_Fr2._k4){_aE._k4=_Fr2._k4;_aE._zy[_yG]=true}if(_Fr2._p4){_aE._p4=_Fr2._p4;_aE._zy[_AG]=true}if(_Fr2._Ir2){_aE._Ir2=_Fr2._Ir2;_aE._zy[_BG]=true}if(_Fr2._Jr2){_aE._Jr2=_Fr2._Jr2;_aE._zy[_w_1]=true}if(_Fr2._h4){_aE._h4=_Fr2._h4;_aE._zy[_v_1]=true}if(_Fr2._Kr2){_aE._Kr2=_Fr2._Kr2;_aE._zy[_x_1]=true}if(_Fr2._t4){_aE._t4=_Fr2._t4;_aE._zy[_q_1]=true}if(_Fr2._Lr2){_aE._Lr2=_Fr2._Lr2;_aE._zy[_e02]=true}if(_Fr2._Mr2){
_aE._Mr2=_Fr2._Mr2;_aE._zy[_g02]=true}if(_Fr2._Nr2){_aE._Nr2=_Fr2._Nr2;_aE._zy[_h02]=true}if(_Fr2._Or2){_aE._Or2=_Fr2._Or2;_aE._zy[_i02]=true}if(_Fr2._Pr2){_aE._Pr2=_Fr2._Pr2;_aE._zy[_j02]=true}if(_Fr2._Qr2){_aE._Qr2=_Fr2._Qr2;_aE._zy[_k02]=true}if(_Fr2._Rr2){_aE._Rr2=_Fr2._Rr2;_aE._zy[_l02]=true}if(_Fr2._Sr2){_aE._Sr2=_Fr2._Sr2;_aE._zy[_f02]=true}if(_Fr2._Tr2){_aE._Tr2=_Fr2._Tr2;_aE._zy[_XX1]=true}if(_Fr2._Ur2){_aE._Ur2=_Fr2._Ur2;_aE._zy[_OX1]=true}if(_Fr2._Vr2){_aE._Vr2=_Fr2._Vr2;_aE._zy[_QX1]=true}
if(_Fr2._Wr2){_aE._Wr2=_Fr2._Wr2;_aE._zy[_PX1]=true}if(_Fr2._Xr2){_aE._Xr2=_Fr2._Xr2;_aE._zy[_RX1]=true}if(_Fr2._Yr2){_aE._Yr2=_Fr2._Yr2;_aE._zy[_TX1]=true}if(_Fr2._Zr2){_aE._Zr2=_Fr2._Zr2;_aE._zy[_SX1]=true}if(_Fr2.__r2){_aE.__r2=_Fr2.__r2;_aE._zy[_UX1]=true}if(_Fr2._0s2){_aE._0s2=_Fr2._0s2;_aE._zy[_WX1]=true}if(_Fr2._1s2){_aE._1s2=_Fr2._1s2;_aE._zy[_VX1]=true}if(_Fr2._2s2){_aE._2s2=_Fr2._2s2;_aE._zy[__X1]=true}if(_Fr2._3s2){_aE._3s2=_Fr2._3s2;_aE._zy[_0Y1]=true}if(_Fr2._4s2){_aE._4s2=_Fr2._4s2;
_aE._zy[_5Y1]=true}if(_Fr2._5s2){_aE._5s2=_Fr2._5s2;_aE._zy[_q02]=true}if(_Fr2._6s2){_aE._6s2=_Fr2._6s2;_aE._zy[_r02]=true}if(_Fr2._7s2){_aE._7s2=_Fr2._7s2;_aE._zy[_6Y1]=true}if(_Fr2._8s2){_aE._8s2=_Fr2._8s2;_aE._zy[_s02]=true}if(_Fr2._9s2){_aE._9s2=_Fr2._9s2;_aE._zy[_t02]=true}if(_Fr2._as2){_aE._as2=_Fr2._as2;_aE._zy[_7Y1]=true}if(_Fr2._bs2){_aE._bs2=_Fr2._bs2;_aE._zy[_u02]=true}if(_Fr2._cs2){_aE._cs2=_Fr2._cs2;_aE._zy[_v02]=true}if(_Fr2._ds2){_aE._ds2=_Fr2._ds2;_aE._zy[_YX1]=true}if(_Fr2._es2){
_aE._es2=_Fr2._es2;_aE._zy[_ZX1]=true}if(_Fr2._fs2){_aE._fs2=_Fr2._fs2;_aE._zy[_I02]=true}if(_Fr2._gs2){_aE._gs2=_Fr2._gs2;_aE._zy[_J02]=true}if(_Fr2._hs2){_aE._hs2=_Fr2._hs2;_aE._zy[_K02]=true}if(_Fr2._is2){_aE._is2=_Fr2._is2;_aE._zy[_L02]=true}if(_Fr2._js2){_aE._js2=_Fr2._js2;_aE._zy[_M02]=true}if(_Fr2._ks2){_aE._ks2=_Fr2._ks2;_aE._zy[_N02]=true}if(_Fr2._ls2){_aE._ls2=_Fr2._ls2;_aE._zy[_V02]=true}if(_Fr2._ms2){_aE._ms2=_Fr2._ms2;_aE._zy[_W02]=true}if(_Fr2._ns2){_aE._ns2=_Fr2._ns2;_aE._zy[_X02]=true}
if(_Fr2._os2){_aE._os2=_Fr2._os2;_aE._zy[_Y02]=true}if(_Fr2._ps2){_aE._ps2=_Fr2._ps2;_aE._zy[_Z02]=true}if(_Fr2._qs2){_aE._qs2=_Fr2._qs2;_aE._zy[__02]=true}if(_Fr2._rs2){_aE._rs2=_Fr2._rs2;_aE._zy[_dX1]=true}if(_Fr2._ss2){_aE._ss2=_Fr2._ss2;_aE._zy[_jX1]=true}if(_Fr2._04){_aE._04=_Fr2._04;_aE._zy[_y_1]=true}if(_Fr2._ts2){_aE._ts2=_Fr2._ts2;_aE._zy[_z_1]=true}if(_Fr2._K4){_aE._K4=_Fr2._K4;_aE._zy[_A_1]=true}if(_Fr2._us2){_aE._us2=_Fr2._us2;_aE._zy[_B_1]=true}if(_Fr2._vs2){_aE._vs2=_Fr2._vs2;_aE._zy[_C_1]=true}
if(_Fr2._ws2){_aE._ws2=_Fr2._ws2;_aE._zy[_D_1]=true}if(_Fr2._xs2){_aE._xs2=_Fr2._xs2;_aE._zy[_bI1]=true}if(_Fr2._ys2){_aE._ys2=_Fr2._ys2;_aE._zy[_E_1]=true}if(_Fr2._zs2){_aE._zs2=_Fr2._zs2;_aE._zy[_F_1]=true}if(_Fr2._As2){_aE._As2=_Fr2._As2;_aE._zy[_sX1]=true}if(_Fr2._Bs2){_aE._Bs2=_Fr2._Bs2;_aE._zy[_W_1]=true}if(_Fr2._Cs2){_aE._Cs2=_Fr2._Cs2;_aE._zy[_X_1]=true}if(_Fr2._Ds2){_aE._Ds2=_Fr2._Ds2;_aE._zy[_Y_1]=true}if(_Fr2._Es2){_aE._Es2=_Fr2._Es2;_aE._zy[_Z_1]=true}if(_Fr2._Fs2){_aE._Fs2=_Fr2._Fs2;
_aE._zy[___1]=true}if(_Fr2._Gs2){_aE._Gs2=_Fr2._Gs2;_aE._zy[_002]=true}if(_Fr2._Hs2){_aE._Hs2=_Fr2._Hs2;_aE._zy[_102]=true}if(_Fr2._Is2){_aE._Is2=_Fr2._Is2;_aE._zy[_tX1]=true}if(_Fr2._Js2){_aE._Js2=_Fr2._Js2;_aE._zy[_202]=true}if(_Fr2._Ks2){_aE._Ks2=_Fr2._Ks2;_aE._zy[_302]=true}if(_Fr2._Ls2){_aE._Ls2=_Fr2._Ls2;_aE._zy[_402]=true}if(_Fr2._Ms2){_aE._Ms2=_Fr2._Ms2;_aE._zy[_502]=true}if(_Fr2._Ns2){_aE._Ns2=_Fr2._Ns2;_aE._zy[_602]=true}if(_Fr2._Os2){_aE._Os2=_Fr2._Os2;_aE._zy[_702]=true}if(_Fr2._Ps2){
_aE._Ps2=_Fr2._Ps2;_aE._zy[_802]=true}if(_Fr2._Qs2){_aE._Qs2=_Fr2._Qs2;_aE._zy[_7a]=true}if(_Fr2._Rs2){_aE._Rs2=_Fr2._Rs2;_aE._zy[_G_1]=true}if(_Fr2._Ss2){_aE._Ss2=_Fr2._Ss2;_aE._zy[_H_1]=true}if(_Fr2._Ts2){_aE._Ts2=_Fr2._Ts2;_aE._zy[_I_1]=true}if(_Fr2._Us2){_aE._Us2=_Fr2._Us2;_aE._zy[_J_1]=true}if(_Fr2._Vs2){_aE._Vs2=_Fr2._Vs2;_aE._zy[_K_1]=true}if(_Fr2._Ws2){_aE._Ws2=_Fr2._Ws2;_aE._zy[_L_1]=true}if(_Fr2._Xs2){_aE._Xs2=_Fr2._Xs2;_aE._zy[_M_1]=true}if(_Fr2._Ys2){_aE._Ys2=_Fr2._Ys2;_aE._zy[_N_1]=true}
if(_Fr2._Zs2){_aE._Zs2=_Fr2._Zs2;_aE._zy[_O_1]=true}if(_Fr2.__s2){_aE.__s2=_Fr2.__s2;_aE._zy[_P_1]=true}if(_Fr2._0t2){_aE._0t2=_Fr2._0t2;_aE._zy[_Q_1]=true}if(_Fr2._1t2){_aE._1t2=_Fr2._1t2;_aE._zy[_R_1]=true}if(_Fr2._2t2){_aE._2t2=_Fr2._2t2;_aE._zy[_S_1]=true}if(_Fr2._3t2){_aE._3t2=_Fr2._3t2;_aE._zy[_T_1]=true}if(_Fr2._4t2){_aE._4t2=_Fr2._4t2;_aE._zy[_U_1]=true}if(_Fr2._5t2){_aE._5t2=_Fr2._5t2;_aE._zy[_V_1]=true}if(_Fr2._6t2){_aE._6t2=_Fr2._6t2;_aE._zy[_902]=true}if(_Fr2._7t2){_aE._7t2=_Fr2._7t2;
_aE._zy[_a02]=true}if(_Fr2._8t2){_aE._8t2=_Fr2._8t2;_aE._zy[_b02]=true}if(_Fr2._9t2){_aE._9t2=_Fr2._9t2;_aE._zy[_c02]=true}if(_Fr2._at2){_aE._at2=_Fr2._at2;_aE._zy[_hG]=true}if(_Fr2._Z3){_aE._Z3=_Fr2._Z3;_aE._zy[_m02]=true;}if(_Fr2._bt2){_aE._bt2=_Fr2._bt2;_aE._zy[_n02]=true}if(_Fr2._ct2){_aE._ct2=_Fr2._ct2;_aE._zy[_sT]=true}if(_Fr2._dt2){_aE._dt2=_Fr2._dt2;_aE._zy[_d02]=true}if(_Fr2._et2){_aE._et2=_Fr2._et2;_aE._zy[_p02]=true}if(_Fr2._ft2){_aE._ft2=_Fr2._ft2;_aE._zy[_o02]=true}if(_Fr2._gt2){_aE._gt2=_Fr2._gt2;
_aE._zy[_49]=true}if(_Fr2._D4){_aE._Ar2[0]=_Fr2._D4;_aE._zy[_w02]=true}if(_Fr2._ht2){_aE._Ar2[1]=_Fr2._ht2;_aE._zy[_x02]=true}if(_Fr2._it2){_aE._Ar2[2]=_Fr2._it2;_aE._zy[_y02]=true}if(_Fr2._jt2){_aE._Ar2[3]=_Fr2._jt2;_aE._zy[_z02]=true}if(_Fr2._kt2){_aE._Ar2[4]=_Fr2._kt2;_aE._zy[_A02]=true}if(_Fr2._lt2){_aE._Ar2[5]=_Fr2._lt2;_aE._zy[_B02]=true}if(_Fr2._mt2){_aE._Ar2[6]=_Fr2._mt2;_aE._zy[_C02]=true}if(_Fr2._nt2){_aE._Ar2[7]=_Fr2._nt2;_aE._zy[_D02]=true}if(_Fr2._ot2){_aE._Ar2[8]=_Fr2._ot2;_aE._zy[_E02]=true}
if(_Fr2._pt2){_aE._Ar2[9]=_Fr2._pt2;_aE._zy[_F02]=true}if(_Fr2._qt2){_aE._Ar2[10]=_Fr2._qt2;_aE._zy[_G02]=true}if(_Fr2._rt2){_aE._Ar2[11]=_Fr2._rt2;_aE._zy[_H02]=true}if(_Fr2._st2){_aE._Cr2[_p32]=_Fr2._st2;_aE._zy[_p32]=true}if(_Fr2._tt2){_aE._Cr2[_r32]=_Fr2._tt2;_aE._zy[_r32]=true}if(_Fr2._ut2){_aE._Cr2[_s32]=_Fr2._ut2;_aE._zy[_s32]=true}if(_Fr2._vt2){_aE._Cr2[_t32]=_Fr2._vt2;_aE._zy[_t32]=true}if(_Fr2._z4){_aE._Cr2[_u32]=_Fr2._z4;_aE._zy[_u32]=true}if(_Fr2._wt2){_aE._Cr2[_v32]=_Fr2._wt2;_aE._zy[_v32]=true}
if(_Fr2._xt2){_aE._Cr2[_w32]=_Fr2._xt2;_aE._zy[_w32]=true}if(_Fr2._yt2){_aE._Cr2[_x32]=_Fr2._yt2;_aE._zy[_x32]=true}if(_Fr2._zt2){_aE._Cr2[_y32]=_Fr2._zt2;_aE._zy[_y32]=true}if(_Fr2._x4){_aE._Cr2[_z32]=_Fr2._x4;_aE._zy[_z32]=true}if(_Fr2._At2){_aE._Cr2[_A32]=_Fr2._At2;_aE._zy[_A32]=true}if(_Fr2._Bt2){_aE._Cr2[_B32]=_Fr2._Bt2;_aE._zy[_B32]=true}if(_Fr2._Ct2){_aE._Cr2[_C32]=_Fr2._Ct2;_aE._zy[_C32]=true}if(_Fr2._Dt2){_aE._Cr2[_D32]=_Fr2._Dt2;_aE._zy[_D32]=true}if(_Fr2._Et2){_aE._Cr2[_E32]=_Fr2._Et2;
_aE._zy[_E32]=true}if(_Fr2._Ft2){_aE._Cr2[_F32]=_Fr2._Ft2;_aE._zy[_F32]=true}if(_Fr2._Gt2){_aE._Cr2[_G32]=_Fr2._Gt2;_aE._zy[_G32]=true}if(_Fr2._Ht2){_aE._Cr2[_H32]=_Fr2._Ht2;_aE._zy[_H32]=true}if(_Fr2._It2){_aE._Cr2[_I32]=_Fr2._It2;_aE._zy[_I32]=true}if(_Fr2._Jt2){_aE._Cr2[_J32]=_Fr2._Jt2;_aE._zy[_J32]=true}if(_Fr2._Kt2){_aE._Cr2[_K32]=_Fr2._Kt2;_aE._zy[_K32]=true}if(_Fr2._Lt2){_aE._Cr2[_L32]=(_Fr2._Lt2);_aE._zy[_L32]=true}if(_Fr2._Mt2){_aE._Cr2[_M32]=(_Fr2._Mt2);_aE._zy[_M32]=true}if(_Fr2._Nt2){
_aE._Cr2[_N32]=(_Fr2._Nt2);_aE._zy[_N32]=true}if(_Fr2._Ot2){_aE._Cr2[_O32]=(_Fr2._Ot2);_aE._zy[_O32]=true}if(_Fr2._Pt2){_aE._Cr2[_P32]=(_Fr2._Pt2);_aE._zy[_P32]=true}if(_Fr2._Qt2){_aE._Cr2[_Q32]=(_Fr2._Qt2);_aE._zy[_Q32]=true}if(_Fr2._Rt2){_aE._Cr2[_R32]=(_Fr2._Rt2);_aE._zy[_R32]=true}if(_Fr2._St2){_aE._Cr2[_S32]=(_Fr2._St2);_aE._zy[_S32]=true}if(_Fr2._Tt2){_aE._Cr2[_T32]=(_Fr2._Tt2);_aE._zy[_T32]=true}if(_Fr2._Ut2){_aE._Cr2[_U32]=(_Fr2._Ut2);_aE._zy[_U32]=true}if(_Fr2._Vt2){_aE._Cr2[_V32]=(_Fr2._Vt2);
_aE._zy[_V32]=true}if(_Fr2._Wt2){_aE._Cr2[_W32]=(_Fr2._Wt2);_aE._zy[_W32]=true}if(_Fr2._Xt2){_aE._Cr2[_X32]=(_Fr2._Xt2);_aE._zy[_X32]=true}if(_Fr2._Yt2){_aE._Cr2[_Y32]=(_Fr2._Yt2);_aE._zy[_Y32]=true}if(_Fr2._Zt2){_aE._Cr2[_Z32]=(_Fr2._Zt2);_aE._zy[_Z32]=true}if(_Fr2.__t2){_aE._Cr2[__32]=(_Fr2.__t2);_aE._zy[__32]=true}if(_Fr2._0u2){_aE._Cr2[_042]=(_Fr2._0u2);_aE._zy[_042]=true}if(_Fr2._1u2){_aE._Cr2[_142]=(_Fr2._1u2);_aE._zy[_142]=true}if(_Fr2._2u2){_aE._Cr2[_242]=(_Fr2._2u2);_aE._zy[_242]=true}if(_Fr2._3u2){
_aE._Cr2[_342]=(_Fr2._3u2);_aE._zy[_342]=true}if(_Fr2._4u2){_aE._Cr2[_442]=(_Fr2._4u2);_aE._zy[_442]=true}if(_Fr2._5u2){_aE._Cr2[_542]=(_Fr2._5u2);_aE._zy[_542]=true}if(_Fr2._6u2){_aE._Cr2[_642]=(_Fr2._6u2);_aE._zy[_642]=true}if(_Fr2._7u2){_aE._Cr2[_742]=(_Fr2._7u2);_aE._zy[_742]=true}if(_Fr2._8u2){_aE._Cr2[_842]=(_Fr2._8u2);_aE._zy[_842]=true}if(_Fr2._9u2){_aE._Cr2[_942]=(_Fr2._9u2);_aE._zy[_942]=true}if(_Fr2._au2){_aE._Cr2[_a42]=(_Fr2._au2);_aE._zy[_a42]=true}if(_Fr2._v4){_aE._Cr2[_b42]=(_Fr2._v4);
_aE._zy[_b42]=true}if(_Fr2._bu2){_aE._Cr2[_c42]=(_Fr2._bu2);_aE._zy[_c42]=true}if(_Fr2._cu2){_aE._Cr2[_d42]=(_Fr2._cu2);_aE._zy[_d42]=true}if(_Fr2._du2){_aE._Cr2[_e42]=(_Fr2._du2);_aE._zy[_e42]=true}if(_Fr2._eu2){_aE._Cr2[_f42]=(_Fr2._eu2);_aE._zy[_f42]=true}if(_Fr2._fu2){_aE._Cr2[_g42]=(_Fr2._fu2);_aE._zy[_g42]=true}if(_Fr2._gu2){_aE._Cr2[_h42]=(_Fr2._gu2);_aE._zy[_h42]=true}if(_Fr2._hu2){_aE._Cr2[_i42]=(_Fr2._hu2);_aE._zy[_i42]=true}if(_Fr2._iu2){_aE._Cr2[_j42]=(_Fr2._iu2);_aE._zy[_j42]=true}if(_Fr2._ju2){
_aE._Cr2[_k42]=(_Fr2._ju2);_aE._zy[_k42]=true}if(_Fr2._ku2){_aE._Cr2[_l42]=(_Fr2._ku2);_aE._zy[_l42]=true}if(_Fr2._lu2){_aE._Cr2[_m42]=(_Fr2._lu2);_aE._zy[_m42]=true}if(_Fr2._mu2){_aE._Cr2[_n42]=(_Fr2._mu2);_aE._zy[_n42]=true}if(_Fr2._nu2){_aE._Cr2[_o42]=(_Fr2._nu2);_aE._zy[_o42]=true}if(_Fr2._ou2){_aE._Cr2[_p42]=(_Fr2._ou2);_aE._zy[_p42]=true}if(_Fr2._pu2){_aE._Cr2[_q42]=(_Fr2._pu2);_aE._zy[_q42]=true}if(_Fr2._qu2){_aE._Cr2[_r42]=(_Fr2._qu2);_aE._zy[_r42]=true}if(_Fr2._ru2){_aE._Cr2[_s42]=(_Fr2._ru2);
_aE._zy[_s42]=true;}if(_Fr2._su2){_aE._Cr2[_t42]=(_Fr2._su2);_aE._zy[_t42]=true}if(_Fr2._tu2){_aE._Cr2[_u42]=(_Fr2._tu2);_aE._zy[_u42]=true}if(_Fr2._uu2){_aE._Cr2[_v42]=(_Fr2._uu2);_aE._zy[_v42]=true}if(_Fr2._vu2){_aE._Cr2[_J42]=(_Fr2._vu2);_aE._zy[_J42]=true}if(_Fr2._wu2){_aE._Cr2[_K42]=(_Fr2._wu2);_aE._zy[_K42]=true}if(_Fr2._xu2){_aE._Cr2[_L42]=(_Fr2._xu2);_aE._zy[_L42]=true;}if(_Fr2._yu2){_aE._Cr2[_M42]=(_Fr2._yu2);_aE._zy[_M42]=true}if(_Fr2._zu2){_aE._Cr2[_N42]=(_Fr2._zu2);_aE._zy[_N42]=true}
if(_Fr2._Au2){_aE._Cr2[_O42]=(_Fr2._Au2);_aE._zy[_O42]=true}if(_Fr2._Bu2){_aE._Cr2[_P42]=(_Fr2._Bu2);_aE._zy[_P42]=true}if(_Fr2._Cu2){_aE._Cr2[_Q42]=(_Fr2._Cu2);_aE._zy[_Q42]=true}if(_Fr2._Du2){_aE._Cr2[_R42]=(_Fr2._Du2);_aE._zy[_R42]=true}if(_Fr2._Eu2){_aE._Cr2[_S42]=(_Fr2._Eu2);_aE._zy[_S42]=true}if(_Fr2._Fu2){_aE._Cr2[_T42]=(_Fr2._Fu2);_aE._zy[_T42]=true}if(_Fr2._Gu2){_aE._Cr2[_U42]=(_Fr2._Gu2);_aE._zy[_U42]=true}if(_Fr2._Hu2){_aE._Cr2[_V42]=(_Fr2._Hu2);_aE._zy[_V42]=true}if(_Fr2._Iu2){_aE._Cr2[_W42]=(_Fr2._Iu2);
_aE._zy[_W42]=true}if(_Fr2._Ju2){_aE._Cr2[_X42]=(_Fr2._Ju2);_aE._zy[_X42]=true}if(_Fr2._Ku2){_aE._Cr2[_Y42]=(_Fr2._Ku2);_aE._zy[_Y42]=true}if(_Fr2._Lu2){_aE._Br2[_Z42]=(_Fr2._Lu2);_aE._zy[_Z42]=true}if(_Fr2._Mu2){_aE._Br2[_052]=(_Fr2._Mu2);_aE._zy[_052]=true}if(_Fr2._Nu2){_aE._Br2[_152]=(_Fr2._Nu2);_aE._zy[_152]=true}if(_Fr2._Ou2){_aE._Br2[_252]=(_Fr2._Ou2);_aE._zy[_252]=true}if(_Fr2._Pu2){_aE._Br2[_352]=(_Fr2._Pu2);_aE._zy[_352]=true}if(_Fr2._Qu2){_aE._Br2[_452]=(_Fr2._Qu2);_aE._zy[_452]=true}if(_Fr2._Ru2){
_aE._Br2[_552]=(_Fr2._Ru2);_aE._zy[_552]=true}if(_Fr2._Su2){_aE._Br2[_652]=(_Fr2._Su2);_aE._zy[_652]=true}if(_Fr2._Tu2){_aE._Br2[_752]=(_Fr2._Tu2);_aE._zy[_752]=true}if(_Fr2._Uu2){_aE._Br2[_852]=(_Fr2._Uu2);_aE._zy[_852]=true}if(_Fr2._Vu2){_aE._Br2[_952]=(_Fr2._Vu2);_aE._zy[_952]=true}if(_Fr2._Wu2){_aE._Br2[_a52]=(_Fr2._Wu2);_aE._zy[_a52]=true}if(_Fr2._Xu2){_aE._Br2[_b52]=(_Fr2._Xu2);_aE._zy[_b52]=true}if(_Fr2._Yu2){_aE._Br2[_c52]=(_Fr2._Yu2);_aE._zy[_c52]=true}if(_Fr2._Zu2){_aE._Br2[_d52]=(_Fr2._Zu2);
_aE._zy[_d52]=true}if(_Fr2.__u2){_aE._Br2[_e52]=(_Fr2.__u2);_aE._zy[_e52]=true}if(_Fr2._0v2){_aE._Br2[_f52]=(_Fr2._0v2);_aE._zy[_f52]=true}if(_Fr2._1v2){_aE._Br2[_g52]=(_Fr2._1v2);_aE._zy[_g52]=true}if(_Fr2._2v2){_aE._Br2[_h52]=(_Fr2._2v2);_aE._zy[_h52]=true}if(_Fr2._3v2){_aE._Br2[_i52]=(_Fr2._3v2);_aE._zy[_i52]=true}if(_Fr2._4v2){_aE._Br2[_j52]=(_Fr2._4v2);_aE._zy[_j52]=true}if(_Fr2._5v2){_aE._Br2[_k52]=(_Fr2._5v2);_aE._zy[_k52]=true}if(_Fr2._6v2){_aE._Br2[_l52]=(_Fr2._6v2);_aE._zy[_l52]=true}if(_Fr2._7v2){
_aE._Br2[_m52]=(_Fr2._7v2);_aE._zy[_m52]=true}if(_Fr2._8v2){_aE._Br2[_n52]=(_Fr2._8v2);_aE._zy[_n52]=true}if(_Fr2._9v2){_aE._Br2[_o52]=(_Fr2._9v2);_aE._zy[_o52]=true}if(_Fr2._av2){_aE._Br2[_p52]=(_Fr2._av2);_aE._zy[_p52]=true}if(_Fr2._bv2){_aE._Br2[_q52]=(_Fr2._bv2);_aE._zy[_q52]=true}if(_Fr2._cv2){_aE._Br2[_r52]=(_Fr2._cv2);_aE._zy[_r52]=true}if(_Fr2._dv2){_aE._Br2[_s52]=(_Fr2._dv2);_aE._zy[_s52]=true}if(_Fr2._ev2){_aE._Br2[_t52]=(_Fr2._ev2);_aE._zy[_t52]=true}if(_Fr2._fv2){_aE._Br2[_u52]=(_Fr2._fv2);
_aE._zy[_u52]=true}if(_Fr2._gv2){_aE._Br2[_v52]=(_Fr2._gv2);_aE._zy[_v52]=true}if(_Fr2._hv2){_aE._Br2[_w52]=(_Fr2._hv2);_aE._zy[_w52]=true;}if(_Fr2._iv2){_aE._Br2[_x52]=(_Fr2._iv2);_aE._zy[_x52]=true}if(_Fr2._jv2){_aE._Br2[_y52]=(_Fr2._jv2);_aE._zy[_y52]=true}if(_Fr2._kv2){_aE._Br2[_z52]=(_Fr2._kv2);_aE._zy[_z52]=true}if(_Fr2._lv2){_aE._Br2[_A52]=(_Fr2._lv2);_aE._zy[_A52]=true}if(_Fr2._mv2){_aE._Br2[_B52]=(_Fr2._mv2);_aE._zy[_B52]=true}if(_Fr2._nv2){_aE._Br2[_C52]=(_Fr2._nv2);_aE._zy[_C52]=true}
if(_Fr2._ov2){_aE._Br2[_D52]=(_Fr2._ov2);_aE._zy[_D52]=true}if(_Fr2._pv2){_aE._Br2[_E52]=(_Fr2._pv2);_aE._zy[_E52]=true;}if(_Fr2._qv2){_aE._Br2[_F52]=(_Fr2._qv2);_aE._zy[_F52]=true}if(_Fr2._rv2){_aE._Br2[_G52]=(_Fr2._rv2);_aE._zy[_G52]=true}if(_Fr2._sv2){_aE._Br2[_H52]=(_Fr2._sv2);_aE._zy[_H52]=true}if(_Fr2._tv2){_aE._Br2[_I52]=(_Fr2._tv2);_aE._zy[_I52]=true}if(_Fr2._uv2){_aE._Br2[_J52]=(_Fr2._uv2);_aE._zy[_J52]=true}if(_Fr2._vv2){_aE._Br2[_K52]=(_Fr2._vv2);_aE._zy[_K52]=true}if(_Fr2._wv2){_aE._Br2[_L52]=(_Fr2._wv2);
_aE._zy[_L52]=true}if(_Fr2._xv2){_aE._Br2[_M52]=(_Fr2._xv2);_aE._zy[_M52]=true;}if(_Fr2._yv2){_aE._Br2[_N52]=(_Fr2._yv2);_aE._zy[_N52]=true}if(_Fr2._zv2){_aE._Br2[_O52]=(_Fr2._zv2);_aE._zy[_O52]=true}if(_Fr2._Av2){_aE._Br2[_P52]=(_Fr2._Av2);_aE._zy[_P52]=true}if(_Fr2._Bv2){_aE._Br2[_Q52]=(_Fr2._Bv2);_aE._zy[_Q52]=true}if(_Fr2._Cv2){_aE._Br2[_R52]=(_Fr2._Cv2);_aE._zy[_R52]=true}if(_Fr2._Dv2){_aE._Br2[_S52]=(_Fr2._Dv2);_aE._zy[_S52]=true}if(_Fr2._Ev2){_aE._Br2[_T52]=(_Fr2._Ev2);_aE._zy[_T52]=true}
if(_Fr2._Fv2){_aE._Br2[_U52]=(_Fr2._Fv2);_aE._zy[_U52]=true}if(_Fr2._Gv2){_aE._Br2[_V52]=(_Fr2._Gv2);_aE._zy[_V52]=true}if(_Fr2._Hv2){_aE._Br2[_W52]=(_Fr2._Hv2);_aE._zy[_W52]=true}if(_Fr2._Iv2){_aE._Br2[_X52]=(_Fr2._Iv2);_aE._zy[_X52]=true}if(_Fr2._Jv2){_aE._Br2[_Y52]=(_Fr2._Jv2);_aE._zy[_Y52]=true}if(_Fr2._Kv2){_aE._Br2[_Z52]=(_Fr2._Kv2);_aE._zy[_Z52]=true}if(_Fr2._Lv2){_aE._Br2[__52]=(_Fr2._Lv2);_aE._zy[__52]=true}if(_Fr2._Mv2){_aE._Br2[_062]=(_Fr2._Mv2);_aE._zy[_062]=true}if(_Fr2._Nv2){_aE._Br2[_162]=(_Fr2._Nv2);
_aE._zy[_162]=true}if(_Fr2._Ov2){_aE._Br2[_262]=(_Fr2._Ov2);_aE._zy[_262]=true}if(_Fr2._Pv2){_aE._Br2[_362]=(_Fr2._Pv2);_aE._zy[_362]=true}if(_Fr2._Qv2){_aE._Br2[_462]=(_Fr2._Qv2);_aE._zy[_462]=true}if(_Fr2._Rv2){_aE._Br2[_i62]=(_Fr2._Rv2);_aE._zy[_i62]=true}if(_Fr2._Sv2){_aE._Br2[_j62]=(_Fr2._Sv2);_aE._zy[_j62]=true}if(_Fr2._Tv2){_aE._Br2[_k62]=(_Fr2._Tv2);_aE._zy[_k62]=true}if(_Fr2._Uv2){_aE._Br2[_l62]=(_Fr2._Uv2);_aE._zy[_l62]=true}if(_Fr2._Vv2){_aE._Br2[_m62]=(_Fr2._Vv2);_aE._zy[_m62]=true}if(_Fr2._Wv2){
_aE._Br2[_n62]=(_Fr2._Wv2);_aE._zy[_n62]=true}if(_Fr2._Xv2){_aE._Br2[_o62]=(_Fr2._Xv2);_aE._zy[_o62]=true}if(_Fr2._Yv2){_aE._Br2[_p62]=(_Fr2._Yv2);_aE._zy[_p62]=true}if(_Fr2._Zv2){_aE._Br2[_q62]=(_Fr2._Zv2);_aE._zy[_q62]=true}if(_Fr2.__v2){_aE._Br2[_r62]=(_Fr2.__v2);_aE._zy[_r62]=true}if(_Fr2._0w2){_aE._Br2[_s62]=(_Fr2._0w2);_aE._zy[_s62]=true}if(_Fr2._1w2){_aE._Br2[_t62]=(_Fr2._1w2);_aE._zy[_t62]=true}if(_Fr2._2w2){_aE._Br2[_u62]=(_Fr2._2w2);_aE._zy[_u62]=true}if(_Fr2._3w2){_aE._Br2[_v62]=(_Fr2._3w2);
_aE._zy[_v62]=true}if(_Fr2._4w2){_aE._Br2[_w62]=(_Fr2._4w2);_aE._zy[_w62]=true}if(_Fr2._5w2){_aE._Br2[_x62]=(_Fr2._5w2);_aE._zy[_x62]=true}if(_Fr2._6w2){_aE._Dr2[_y62]=(_Fr2._6w2);_aE._zy[_y62]=true}if(_Fr2._7w2){_aE._Dr2[_A62]=(_Fr2._7w2);_aE._zy[_A62]=true}if(_Fr2._8w2){_aE._Dr2[_B62]=(_Fr2._8w2);_aE._zy[_B62]=true}if(_Fr2._9w2){_aE._Dr2[_C62]=(_Fr2._9w2);_aE._zy[_C62]=true}if(_Fr2._aw2){_aE._Dr2[_D62]=(_Fr2._aw2);_aE._zy[_D62]=true}if(_Fr2._bw2){_aE._Dr2[_E62]=(_Fr2._bw2);_aE._zy[_E62]=true}if(_Fr2._cw2){
_aE._Dr2[_F62]=(_Fr2._cw2);_aE._zy[_F62]=true}if(_Fr2._dw2){_aE._Dr2[_G62]=(_Fr2._dw2);_aE._zy[_G62]=true}if(_Fr2._ew2){_aE._Dr2[_H62]=(_Fr2._ew2);_aE._zy[_H62]=true}if(_Fr2._fw2){_aE._Dr2[_I62]=(_Fr2._fw2);_aE._zy[_I62]=true}if(_Fr2._gw2){_aE._Dr2[_J62]=(_Fr2._gw2);_aE._zy[_J62]=true}if(_Fr2._hw2){_aE._Dr2[_K62]=(_Fr2._hw2);_aE._zy[_K62]=true}if(_Fr2._iw2){_aE._Dr2[_L62]=(_Fr2._iw2);_aE._zy[_L62]=true}if(_Fr2._jw2){_aE._Dr2[_M62]=(_Fr2._jw2);_aE._zy[_M62]=true}if(_Fr2._kw2){_aE._Dr2[_N62]=(_Fr2._kw2);
_aE._zy[_N62]=true}if(_Fr2._lw2){_aE._Dr2[_O62]=(_Fr2._lw2);_aE._zy[_O62]=true}if(_Fr2._mw2){_aE._Dr2[_P62]=(_Fr2._mw2);_aE._zy[_P62]=true}if(_Fr2._nw2){_aE._Dr2[_Q62]=(_Fr2._nw2);_aE._zy[_Q62]=true}if(_Fr2._ow2){_aE._Dr2[_R62]=(_Fr2._ow2);_aE._zy[_R62]=true}if(_Fr2._pw2){_aE._Dr2[_S62]=(_Fr2._pw2);_aE._zy[_S62]=true}if(_Fr2._qw2){_aE._Dr2[_T62]=(_Fr2._qw2);_aE._zy[_T62]=true}if(_Fr2._rw2){_aE._Dr2[_U62]=(_Fr2._rw2);_aE._zy[_U62]=true}if(_Fr2._sw2){_aE._Dr2[_V62]=(_Fr2._sw2);_aE._zy[_V62]=true}if(_Fr2._tw2){
_aE._Dr2[_W62]=(_Fr2._tw2);_aE._zy[_W62]=true}if(_Fr2._uw2){_aE._Dr2[_X62]=(_Fr2._uw2);_aE._zy[_X62]=true}if(_Fr2._vw2){_aE._Dr2[_Y62]=(_Fr2._vw2);_aE._zy[_Y62]=true}if(_Fr2._ww2){_aE._Dr2[_Z62]=(_Fr2._ww2);_aE._zy[_Z62]=true}if(_Fr2._xw2){_aE._Dr2[__62]=(_Fr2._xw2);_aE._zy[__62]=true}if(_Fr2._yw2){_aE._Dr2[_072]=(_Fr2._yw2);_aE._zy[_072]=true}if(_Fr2._zw2){_aE._Dr2[_172]=(_Fr2._zw2);_aE._zy[_172]=true}if(_Fr2._Aw2){_aE._Dr2[_272]=(_Fr2._Aw2);_aE._zy[_272]=true;}if(_Fr2._Bw2){_aE._Dr2[_372]=(_Fr2._Bw2);
_aE._zy[_372]=true}if(_Fr2._Cw2){_aE._Dr2[_472]=(_Fr2._Cw2);_aE._zy[_472]=true}if(_Fr2._Dw2){_aE._Dr2[_572]=(_Fr2._Dw2);_aE._zy[_572]=true}if(_Fr2._Ew2){_aE._Dr2[_672]=(_Fr2._Ew2);_aE._zy[_672]=true}if(_Fr2._Fw2){_aE._Dr2[_772]=(_Fr2._Fw2);_aE._zy[_772]=true}if(_Fr2._Gw2){_aE._Dr2[_872]=(_Fr2._Gw2);_aE._zy[_872]=true}if(_Fr2._Hw2){_aE._Dr2[_972]=(_Fr2._Hw2);_aE._zy[_972]=true}if(_Fr2._Iw2){_aE._Dr2[_a72]=(_Fr2._Iw2);_aE._zy[_a72]=true}if(_Fr2._Jw2){_aE._Dr2[_b72]=(_Fr2._Jw2);_aE._zy[_b72]=true}if(_Fr2._Kw2){
_aE._Dr2[_c72]=(_Fr2._Kw2);_aE._zy[_c72]=true}if(_Fr2._Lw2){_aE._Dr2[_d72]=(_Fr2._Lw2);_aE._zy[_d72]=true}if(_Fr2._Mw2){_aE._Dr2[_e72]=(_Fr2._Mw2);_aE._zy[_e72]=true}if(_Fr2._Nw2){_aE._Dr2[_f72]=(_Fr2._Nw2);_aE._zy[_f72]=true}if(_Fr2._Ow2){_aE._Dr2[_g72]=(_Fr2._Ow2);_aE._zy[_g72]=true}if(_Fr2._Pw2){_aE._Dr2[_h72]=(_Fr2._Pw2);_aE._zy[_h72]=true}if(_Fr2._Qw2){_aE._Dr2[_i72]=(_Fr2._Qw2);_aE._zy[_i72]=true}if(_Fr2._Rw2){_aE._Dr2[_j72]=(_Fr2._Rw2);_aE._zy[_j72]=true}if(_Fr2._Sw2){_aE._Dr2[_k72]=(_Fr2._Sw2);
_aE._zy[_k72]=true}if(_Fr2._Tw2){_aE._Dr2[_l72]=(_Fr2._Tw2);_aE._zy[_l72]=true;}if(_Fr2._Uw2){_aE._Dr2[_m72]=(_Fr2._Uw2);_aE._zy[_m72]=true}if(_Fr2._Vw2){_aE._Dr2[_n72]=(_Fr2._Vw2);_aE._zy[_n72]=true}if(_Fr2._Ww2){_aE._Dr2[_o72]=(_Fr2._Ww2);_aE._zy[_o72]=true}if(_Fr2._Xw2){_aE._Dr2[_p72]=(_Fr2._Xw2);_aE._zy[_p72]=true}if(_Fr2._Yw2){_aE._Dr2[_q72]=(_Fr2._Yw2);_aE._zy[_q72]=true}if(_Fr2._Zw2){_aE._Dr2[_r72]=(_Fr2._Zw2);_aE._zy[_r72]=true}if(_Fr2.__w2){_aE._Dr2[_s72]=(_Fr2.__w2);_aE._zy[_s72]=true}
if(_Fr2._0x2){_aE._Dr2[_t72]=(_Fr2._0x2);_aE._zy[_t72]=true}if(_Fr2._1x2){_aE._Dr2[_u72]=(_Fr2._1x2);_aE._zy[_u72]=true}if(_Fr2._2x2){_aE._Dr2[_v72]=(_Fr2._2x2);_aE._zy[_v72]=true}if(_Fr2._3x2){_aE._Dr2[_w72]=(_Fr2._3x2);_aE._zy[_w72]=true}if(_Fr2._4x2){_aE._Dr2[_x72]=(_Fr2._4x2);_aE._zy[_x72]=true}if(_Fr2._5x2){_aE._Dr2[_y72]=(_Fr2._5x2);_aE._zy[_y72]=true}if(_Fr2._6x2){_aE._Dr2[_z72]=(_Fr2._6x2);_aE._zy[_z72]=true}if(_Fr2._7x2){_aE._Dr2[_A72]=(_Fr2._7x2);_aE._zy[_A72]=true}if(_Fr2._8x2){_aE._Dr2[_B72]=(_Fr2._8x2);
_aE._zy[_B72]=true}if(_Fr2._9x2){_aE._Dr2[_C72]=(_Fr2._9x2);_aE._zy[_C72]=true}if(_Fr2._ax2){_aE._Dr2[_D72]=(_Fr2._ax2);_aE._zy[_D72]=true}if(_Fr2._bx2){_aE._Dr2[_E72]=(_Fr2._bx2);_aE._zy[_E72]=true}if(_Fr2._cx2){_aE._Dr2[_S72]=(_Fr2._cx2);_aE._zy[_S72]=true}if(_Fr2._dx2){_aE._Dr2[_T72]=(_Fr2._dx2);_aE._zy[_T72]=true}if(_Fr2._ex2){_aE._Dr2[_U72]=(_Fr2._ex2);_aE._zy[_U72]=true}if(_Fr2._fx2){_aE._Dr2[_V72]=(_Fr2._fx2);_aE._zy[_V72]=true}if(_Fr2._gx2){_aE._Dr2[_W72]=(_Fr2._gx2);_aE._zy[_W72]=true}if(_Fr2._hx2){
_aE._Dr2[_X72]=(_Fr2._hx2);_aE._zy[_X72]=true}if(_Fr2._ix2){_aE._Dr2[_Y72]=(_Fr2._ix2);_aE._zy[_Y72]=true}if(_Fr2._jx2){_aE._Dr2[_Z72]=(_Fr2._jx2);_aE._zy[_Z72]=true}if(_Fr2._kx2){_aE._Dr2[__72]=(_Fr2._kx2);_aE._zy[__72]=true}if(_Fr2._lx2){_aE._Dr2[_082]=(_Fr2._lx2);_aE._zy[_082]=true}if(_Fr2._mx2){_aE._Dr2[_182]=(_Fr2._mx2);_aE._zy[_182]=true;}if(_Fr2._nx2){_aE._Dr2[_282]=(_Fr2._nx2);_aE._zy[_282]=true}if(_Fr2._ox2){_aE._Dr2[_382]=(_Fr2._ox2);_aE._zy[_382]=true}if(_Fr2._px2){_aE._Dr2[_482]=(_Fr2._px2);
_aE._zy[_482]=true}if(_Fr2._qx2){_aE._Dr2[_582]=(_Fr2._qx2);_aE._zy[_582]=true}if(_Fr2._rx2){_aE._Dr2[_682]=(_Fr2._rx2);_aE._zy[_682]=true}var _Q3=0;if(_Fr2._24!=undefined){while(_Q3<_Fr2._24.length){var _wu=parseInt(_Fr2._24[_Q3])+1;var _8c2=_Fr2._24[_Q3+1];var _sx2=_Q82._Si(_wu);_aE._zy[_t_1]=true;_aE._zy[_t_1|_wu]=true;var _tx2=new _rr2();_tx2._sr2=_8c2;_tx2._ur2=_sx2;_tx2._tr2=_wu;_aE._V3[_t_1|_wu]=_tx2;_Q3+=2}}_Q3=0;if(_Fr2._34!=undefined){while(_Q3<_Fr2._34.length){_aE._zy[_xI1]=true;var _wu=parseInt(_Fr2._34[_Q3]);
var _GA1=_Fr2._34[_Q3+1];var _ux2=new _vr2();_ux2._sr2=_GA1;_ux2._vx2=false;_ux2._Ue2=this;_aE._Db2[_wu]=_ux2;_Q3+=2}}if(_Fr2._54!=undefined){_aE._dn2._54=_Fr2._54;_aE._dn2._64=_Fr2._64;_aE._dn2._74=_Fr2._74;_aE._dn2._84=_Fr2._84;_aE._dn2._94=_Fr2._94;_aE._dn2._a4=_Fr2._a4;_aE._dn2._b4=_Fr2._b4;_aE._dn2._c4=_Fr2._c4;_aE._dn2._d4=_Fr2._d4;_aE._dn2._e4=_Fr2._e4;_aE._dn2._f4=_Fr2._f4;_aE._dn2._g4=_Fr2._g4}}return _aE}_DI1.prototype._6a=function(_5F,index,_0l,_wn2){if(_cQ!=-1){return }var _wx2=_s92;var _xx2=_t92;
var _yx2=_r92;var _zx2=_Oj;_r92=this;_s92=_5F;_t92=index;_Oj=false;var _cb1=true;switch(_5F){case _xG:if(this._Hr2)this._Hr2(_0l,_wn2);else _cb1=false;break;case _yG:if(this._k4)this._k4(_0l,_wn2);else _cb1=false;break;case _AG:if(this._p4)this._p4(_0l,_wn2);else _cb1=false;break;case _BG:if(this._Ir2)this._Ir2(_0l,_wn2);else _cb1=false;break;case _lY1:_cb1=false;break;case _n_1:_cb1=false;break;case _xI1:if(this._Db2[index])this._Db2[index]._sr2(_0l,_wn2);break;case _o_1:if(this._Br2[_5F|index])this._Br2[_5F|index](_0l,
_wn2);else _cb1=false;break;case _p_1:_cb1=false;break;case _iX1:_cb1=false;break;case _q_1:if(this._t4)this._t4(_0l,_wn2);else _cb1=false;break;case _r_1:if(this._Cr2[_5F|index])this._Cr2[_5F|index](_0l,_wn2);else _cb1=false;break;case _s_1:if(this._Dr2[_5F|index])this._Dr2[_5F|index](_0l,_wn2);else _cb1=false;break;case _t_1:if(this._V3[_5F|index]){var _Ax2=this._V3[_5F|index];var _tx2=_Ax2._ur2;var _Av=_tx2._8c2(_0l,_wn2);if(_Av|_692){_Ax2._sr2(_0l,_wn2)}}break;case _e02:if(this._Lr2)this._Lr2(_0l,_wn2);else _cb1=false;
break;case _g02:if(this._Mr2)this._Mr2(_0l,_wn2);else _cb1=false;break;case _h02:if(this._Nr2)this._Nr2(_0l,_wn2);else _cb1=false;break;case _i02:if(this._Or2)this._Or2(_0l,_wn2);else _cb1=false;break;case _j02:if(this._Pr2)this._Pr2(_0l,_wn2);else _cb1=false;break;case _k02:if(this._Qr2)this._Qr2(_0l,_wn2);else _cb1=false;break;case _l02:if(this._Rr2)this._Rr2(_0l,_wn2);else _cb1=false;break;case _f02:if(this._Sr2)this._Sr2(_0l,_wn2);else _cb1=false;break;case _w_1:if(this._Jr2)this._Jr2(_0l,_wn2);else _cb1=false;
break;case _v_1:if(this._h4)this._h4(_0l,_wn2);else _cb1=false;break;case _x_1:if(this._Kr2)this._Kr2(_0l,_wn2);else _cb1=false;break;case _dX1:if(this._rs2)this._rs2(_0l,_wn2);else _cb1=false;break;case _jX1:if(this._ss2)this._ss2(_0l,_wn2);else _cb1=false;break;case _y_1:if(this._04)this._04(_0l,_wn2);else _cb1=false;break;case _z_1:if(this._ts2)this._ts2(_0l,_wn2);else _cb1=false;break;case _A_1:if(this._K4)this._K4(_0l,_wn2);else _cb1=false;break;case _B_1:if(this._us2)this._us2(_0l,_wn2);else _cb1=false;break;
case _C_1:if(this._vs2)this._vs2(_0l,_wn2);else _cb1=false;break;case _D_1:if(this._ws2)this._ws2(_0l,_wn2);else _cb1=false;break;case _bI1:if(this._xs2)this._xs2(_0l,_wn2);else _cb1=false;break;case _E_1:if(this._ys2)this._ys2(_0l,_wn2);else _cb1=false;break;case _F_1:if(this._zs2)this._zs2(_0l,_wn2);else _cb1=false;break;case _sX1:if(this._As2)this._As2(_0l,_wn2);else _cb1=false;break;case _W_1:if(this._Bs2)this._Bs2(_0l,_wn2);else _cb1=false;break;case _X_1:if(this._Cs2)this._Cs2(_0l,_wn2);else _cb1=false;break;
case _Y_1:if(this._Ds2)this._Ds2(_0l,_wn2);else _cb1=false;break;case _Z_1:if(this._Es2)this._Es2(_0l,_wn2);else _cb1=false;break;case ___1:if(this._Fs2)this._Fs2(_0l,_wn2);else _cb1=false;break;case _002:if(this._Gs2)this._Gs2(_0l,_wn2);else _cb1=false;break;case _102:if(this._Hs2)this._Hs2(_0l,_wn2);else _cb1=false;break;case _tX1:if(this._Is2)this._Is2(_0l,_wn2);else _cb1=false;break;case _202:if(this._Js2)this._Js2(_0l,_wn2);else _cb1=false;break;case _302:if(this._Ks2)this._Ks2(_0l,_wn2);else _cb1=false;break;
case _402:if(this._Ls2)this._Ls2(_0l,_wn2);else _cb1=false;break;case _502:if(this._Ms2)this._Ms2(_0l,_wn2);else _cb1=false;break;case _602:if(this._Ns2)this._Ns2(_0l,_wn2);else _cb1=false;break;case _702:if(this._Os2)this._Os2(_0l,_wn2);else _cb1=false;break;case _802:if(this._Ps2)this._Ps2(_0l,_wn2);else _cb1=false;break;case _7a:if(this._Qs2)this._Qs2(_0l,_wn2);else _cb1=false;break;case _49:if(this._gt2)this._gt2(_0l,_wn2);else _cb1=false;break;case _902:if(this._6t2)this._6t2(_0l,_wn2);else _cb1=false;break;
case _a02:if(this._7t2)this._7t2(_0l,_wn2);else _cb1=false;break;case _b02:if(this._8t2)this._8t2(_0l,_wn2);else _cb1=false;break;case _c02:if(this._9t2)this._9t2(_0l,_wn2);else _cb1=false;break;case _hG:if(this._at2)this._at2(_0l,_wn2);else _cb1=false;break;case _m02:if(this._Z3)this._Z3(_0l,_wn2);else _cb1=false;break;case _n02:if(this._bt2)this._bt2(_0l,_wn2);else _cb1=false;break;case _sT:if(this._ct2)this._ct2(_0l,_wn2);else _cb1=false;break;case _d02:if(this._dt2)this._dt2(_0l,_wn2);else _cb1=false;break;
case _p02:if(this._et2)this._et2(_0l,_wn2);else _cb1=false;break;case _o02:if(this._ft2)this._ft2(_0l,_wn2);else _cb1=false;break;case _G_1:if(this._Rs2)this._Rs2(_0l,_wn2);else _cb1=false;break;case _H_1:if(this._Ss2)this._Ss2(_0l,_wn2);else _cb1=false;break;case _I_1:if(this._Ts2)this._Ts2(_0l,_wn2);else _cb1=false;break;case _J_1:if(this._Us2)this._Us2(_0l,_wn2);else _cb1=false;break;case _K_1:if(this._Vs2)this._Vs2(_0l,_wn2);else _cb1=false;break;case _L_1:if(this._Ws2)this._Ws2(_0l,_wn2);else _cb1=false;break;
case _M_1:if(this._Xs2)this._Xs2(_0l,_wn2);else _cb1=false;break;case _N_1:if(this._Ys2)this._Ys2(_0l,_wn2);else _cb1=false;break;case _O_1:if(this._Zs2)this._Zs2(_0l,_wn2);else _cb1=false;break;case _P_1:if(this.__s2)this.__s2(_0l,_wn2);else _cb1=false;break;case _Q_1:if(this._0t2)this._0t2(_0l,_wn2);else _cb1=false;break;case _R_1:if(this._1t2)this._1t2(_0l,_wn2);else _cb1=false;break;case _S_1:if(this._2t2)this._2t2(_0l,_wn2);else _cb1=false;break;case _T_1:if(this._3t2)this._3t2(_0l,_wn2);else _cb1=false;break;
case _U_1:if(this._4t2)this._4t2(_0l,_wn2);else _cb1=false;break;case _V_1:if(this._5t2)this._5t2(_0l,_wn2);else _cb1=false;break;case _XX1:if(this._Tr2)this._Tr2(_0l,_wn2);else _cb1=false;break;case _OX1:if(this._Ur2)this._Ur2(_0l,_wn2);else _cb1=false;break;case _QX1:if(this._Vr2)this._Vr2(_0l,_wn2);else _cb1=false;break;case _PX1:if(this._Wr2)this._Wr2(_0l,_wn2);else _cb1=false;break;case _RX1:if(this._Xr2)this._Xr2(_0l,_wn2);else _cb1=false;break;case _TX1:if(this._Yr2)this._Yr2(_0l,_wn2);else _cb1=false;break;
case _SX1:if(this._Zr2)this._Zr2(_0l,_wn2);else _cb1=false;break;case _UX1:if(this.__r2)this.__r2(_0l,_wn2);else _cb1=false;break;case _WX1:if(this._0s2)this._0s2(_0l,_wn2);else _cb1=false;break;case _VX1:if(this._1s2)this._1s2(_0l,_wn2);else _cb1=false;break;case __X1:if(this._2s2)this._2s2(_0l,_wn2);else _cb1=false;break;case _0Y1:if(this._3s2)this._3s2(_0l,_wn2);else _cb1=false;break;case _5Y1:if(this._4s2)this._4s2(_0l,_wn2);else _cb1=false;break;case _q02:if(this._5s2)this._5s2(_0l,_wn2);else _cb1=false;break;
case _r02:if(this._6s2)this._6s2(_0l,_wn2);else _cb1=false;break;case _6Y1:if(this._7s2)this._7s2(_0l,_wn2);else _cb1=false;break;case _s02:if(this._8s2)this._8s2(_0l,_wn2);else _cb1=false;break;case _t02:if(this._9s2)this._9s2(_0l,_wn2);else _cb1=false;break;case _7Y1:if(this._as2)this._as2(_0l,_wn2);else _cb1=false;break;case _u02:if(this._bs2)this._bs2(_0l,_wn2);else _cb1=false;break;case _v02:if(this._cs2)this._cs2(_0l,_wn2);else _cb1=false;break;case _YX1:if(this._ds2)this._ds2(_0l,_wn2);else _cb1=false;break;
case _ZX1:if(this._es2)this._es2(_0l,_wn2);else _cb1=false;break;case _I02:if(this._fs2)this._fs2(_0l,_wn2);else _cb1=false;break;case _J02:if(this._gs2)this._gs2(_0l,_wn2);else _cb1=false;break;case _K02:if(this._hs2)this._hs2(_0l,_wn2);else _cb1=false;break;case _L02:if(this._is2)this._is2(_0l,_wn2);else _cb1=false;break;case _M02:if(this._js2)this._js2(_0l,_wn2);else _cb1=false;break;case _N02:if(this._ks2)this._ks2(_0l,_wn2);else _cb1=false;break;case _V02:if(this._ls2)this._ls2(_0l,_wn2);else _cb1=false;break;
case _W02:if(this._ms2)this._ms2(_0l,_wn2);else _cb1=false;break;case _X02:if(this._ns2)this._ns2(_0l,_wn2);else _cb1=false;break;case _Y02:if(this._os2)this._os2(_0l,_wn2);else _cb1=false;break;case _Z02:if(this._ps2)this._ps2(_0l,_wn2);else _cb1=false;break;case __02:if(this._qs2)this._qs2(_0l,_wn2);else _cb1=false;break;case _w02:if(this._Ar2[0]!=null)this._Ar2[0](_0l,_wn2);else _cb1=false;break;case _x02:if(this._Ar2[1]!=null)this._Ar2[1](_0l,_wn2);else _cb1=false;break;case _y02:if(this._Ar2[2]!=null)this._Ar2[2](_0l,
_wn2);else _cb1=false;break;case _z02:if(this._Ar2[3]!=null)this._Ar2[3](_0l,_wn2);else _cb1=false;break;case _A02:if(this._Ar2[4]!=null)this._Ar2[4](_0l,_wn2);else _cb1=false;break;case _B02:if(this._Ar2[5]!=null)this._Ar2[5](_0l,_wn2);else _cb1=false;break;case _C02:if(this._Ar2[6]!=null)this._Ar2[6](_0l,_wn2);else _cb1=false;break;case _D02:if(this._Ar2[7]!=null)this._Ar2[7](_0l,_wn2);else _cb1=false;break;case _E02:if(this._Ar2[8]!=null)this._Ar2[8](_0l,_wn2);else _cb1=false;break;case _F02:if(this._Ar2[9]!=null)this._Ar2[9](_0l,
_wn2);else _cb1=false;break;case _G02:if(this._Ar2[10]!=null)this._Ar2[10](_0l,_wn2);else _cb1=false;break;case _H02:if(this._Ar2[11]!=null)this._Ar2[11](_0l,_wn2);else _cb1=false;break;default :_cb1=false}_Oj=_zx2;_s92=_wx2;_t92=_xx2;_r92=_yx2;return _cb1};_DI1.prototype._BJ=function(_5l){this._1Y1._4j(_5l);var _aE=this;while(_aE!=null){_aE._9p2._4j(_5l);_aE=_aE._ov}};_DI1.prototype._7n2=function(_5l){this._1Y1._EI(_5l);var _Bx2=this;while(_Bx2!=null){_Bx2._9p2._EI(_5l);_Bx2=_Bx2._ov}};_DI1.prototype._Cx2=function(_5F,
_IS){if(!this._zy[_5F|_IS])return;var _hj=this._9p2._hj;for(var _Q3=0;_Q3<_hj.length;_Q3++){var _dE=_hj[_Q3];this._6a(_5F,_IS,_dE,_dE)}};function _Ra2(){this._Dx2=[];this._UI1=[];this.length=0}_Ra2.prototype._yM=function(){return this._UI1};_Ra2.prototype._4j=function(_Ex2){this.length++;this._Dx2[_Ex2._sb2]=_Ex2;this._UI1[_Ex2._TG]=_Ex2};_Ra2.prototype._Si=function(_Er2){return this._UI1[_Er2]};_Ra2.prototype._NG=function(_Pi){if(!this._UI1[_Pi])return false;else return true};_Ra2.prototype._39=function(_5F,
_IS){for(var _9x=0;_9x<_29._UI1.length;_9x++){var _aE=_29._UI1[_9x];if(_aE._zy[_5F|_IS]){_aE._Cx2(_5F|_IS)}}};_Ra2.prototype._Tb2=function(){var _hj=this._UI1;for(var index=0;index<_hj.length;index++){var _aE=_hj[index];_aE._ov=_29._Si(_aE._RG);if(!_aE._ov)_aE._ov=null;for(var e=0;e<_aE._zy.length;e++){var _mZ1=_aE._zy[e];if(_mZ1){_aE._cX1[e]=true}}}for(var index=0;index<_hj.length;index++){var _Ym2=_hj[index];var _aE=_Ym2._ov;while(_aE!=null){for(var e=0;e<_aE._zy.length;e++){var _mZ1=_aE._zy[e];if(_mZ1){_Ym2._cX1[e]=true}
}_aE=_aE._ov}}};function _46(_Er2){if(_Er2===undefined){_Er2=0}if(_Er2===_WL){return _h9._yM().slice(0)}var _aE=_29._Si(_Er2);if(_aE!=null){return _aE._9p2._hj.slice(0)}var _dE=_eE._Si(_Er2);if(_dE!=null){var _Ka=[];_Ka[0]=_dE;return _Ka}return []}function _Fx2(){this._hj=[];this.length=0;this._Fb=0;this._Gx2=-1}_Fx2.prototype._Si=function(_IS){return this._hj[_IS]};_Fx2.prototype._4j=function(_Ee2){for(var _Q3=0;_Q3<this._hj.length;_Q3++){if(_Ee2._44<this._hj[_Q3]._44){this._hj.splice(_Q3,0,_Ee2);this._Fb++;
this.length=this._hj.length;return _Q3}}this._hj[this._hj.length]=_Ee2;this._Fb++;this.length=this._hj.length;return this.length-1};_Fx2.prototype._Hx2=function(_Ee2){if(this._Gx2<0){this._Gx2=this._hj.length}this._hj[this._hj.length]=_Ee2;this._Fb++;this.length=this._hj.length;return this.length-1};_Fx2.prototype._pr2=function(_Ee2){var _Q3=this._Gx2;if(_Q3<0)return;var _9j=[];while(_Q3<this._hj.length){_9j[_9j.length]=this._hj[_Q3];_Q3++}this._hj.splice(this._Gx2,this._hj.length-this._Gx2);for(_Q3=0;
_Q3<_9j.length;_Q3++){this._4j(_9j[_Q3])}this._Gx2=-1;};_Fx2.prototype._LJ=function(_Ee2){for(var _Q3=0;_Q3<this._hj.length;_Q3++){if(_Ee2==this._hj[_Q3]){this._hj.splice(_Q3,1);this._Fb--;this.length=this._hj.length;return true}}return false};_Fx2.prototype._Qh=function(){this._hj=[];this.length=this._Fb=0};_Fx2.prototype._Si=function(_IS){return this._hj[_IS]};_Fx2.prototype._TJ=function(_Ee2){for(var _Q3=0;_Q3<this._hj.length;_Q3++){if(_Ee2==this._hj[_Q3]){return _Q3}}return -1};_Fx2.prototype._Li=function(_Mi){
this._hj=_Mi._hj.slice();this.length=_Mi.length;this._Fb=_Mi._Fb;this._Gx2=_Mi._Gx2};var _Ix2=0,_Jx2=1,_Kx2=2,_WW1=3,_QW1=4,_Lx2=5,_IW1=6,_Mx2=7,_LW1=8,_SW1=9,_FW1=10,_Nx2=11,_Ox2=12,_YW1=13,_Px2=14,_Qx2=0,_Rx2=1,_Sx2=2,_Tx2=3,_Ux2=4,_Vx2=5,_Wx2=0,_Xx2=1,_Yx2=2,_Zx2=0,__x2=1,_0y2=2,_1y2=3;function _2y2(){this._Dz=_3y2;this._Qh=_3y2;this._Dz()}function _3y2(){this.__type="[ParticleType]";this._4y2=true;this._5y2=-1;this._6y2=true;this._7y2=false;this._8y2=false;this._u21=_Ix2;this._9y2=1.0;this._ay2=1.0;
this._by2=0.0;this._cy2=0.0;this._uH=1.0;this._vH=1.0;this._dy2=100;this._ey2=100;this._fy2=0;this._gy2=0;this._hy2=0;this._iy2=0;this._jy2=0.0;this._ky2=0.0;this._ly2=0.0;this._my2=0.0;this._ny2=0.0;this._oy2=0.0;this._py2=0.0;this._qy2=0.0;this._ry2=0.0;this._sy2=0.0;this._ty2=0.0;this._uy2=0.0;this._vy2=0.0;this._wy2=0.0;this._xy2=270.0;this._yy2=_Qx2;this._zy2=[];this._zy2[0]=_s82;this._zy2[1]=_s82;this._zy2[2]=_s82;this._Ay2=1.0;this._By2=1.0;this._Cy2=1.0;this._Dy2=false}function _Ey2(){this._Qh=_Fy2;
this._Dz=_Fy2;this._Dz();}function _Fy2(){this._4y2=true;this._Gy2=0;this._Hy2=0;this._Hn2=0.0;this._In2=0.0;this._Jn2=0.0;this._Kn2=0.0;this._u21=_Zx2;this._Iy2=_Wx2}function _Jy2(){this._Ky2=false;this._Hy2=0;this._Ly2=0;this._My2=0;this.x=0;this.y=0;this._W4=0;this._Ny2=0;this._rk2=0;this.color=0xffffff;this.alpha=1.0;this._I3=0;this._Oy2=0;this._Py2=0}function _Qy2(){this._Qh=_Ry2;this._Dz=_Ry2;this._Dz()}function _Ry2(){this._4y2=false;this._Sy2=[];this._Ty2=[];this._Uy2=true;this._44=0.0;this._Vy2=0.0;
this._Wy2=0.0;this._Xy2=true;this._Yy2=true;this._Zy2=-1;this.__y2=-1;this._0z2=false}function _NW1(_Ue){var _Ia=_lL();return _Ia*_Ue}function _1z2(_2z2,_3z2,_4z2){var _Ul=_3z2-_2z2;if(_Ul<=0)return _2z2;var _Qa=0.0;var _LA=0.0;switch(_4z2){case _Wx2:_LA=_2z2+_NW1(1)*_Ul;break;//Gaussian distribution, SD = 1, cutoff @ +/- 3
case _Xx2:{do {_Qa=(_NW1(1)-0.5)*6.0}while((exp(-(_Qa*_Qa)*0.5)<=_NW1(1)));_LA=_2z2+((_Qa+3.0)*(1.0/6.0))*_Ul}break;//Inverse Gaussian distribution, SD = 1, cutoff @ +/- 3
case _Yx2:{do {
_Qa=(_NW1(1)-0.5)*6.0}while(!(exp(-(_Qa*_Qa)*0.5)>_NW1(1)));if(_Qa<0.0)_Qa+=6.0;_LA=_2z2+(_Qa*(1.0/6.0))*_Ul}break;default :_LA=_2z2+_NW1(1)*_Ul}return _LA}function _5z2(_Ji,_Ue){var _Ny2;if(_Ji==0){if(_Ue>0){_Ny2=270}else if(_Ue<0){_Ny2=90}else {_Ny2=0}}else {var _ZB=180.0*(Math.atan2(_Ue,_Ji))/Math.PI;if(_ZB<=0){_Ny2=-_ZB}else {_Ny2=360.0-_ZB}}return _Ny2-360.0*Math.floor(_Ny2/360.0)}function _6z2(_cL,_7z2){return _7z2*Math.cos(_cL*Math.PI/180.0)}function _8z2(_cL,_7z2){return -_7z2*Math.sin(_cL*Math.PI/180.0);
}function _9z2(_az2){var _bz2=_D82[_az2._Hy2];{if(_az2._Ly2<=0||_az2._My2<=0){switch(_bz2._yy2){case _Qx2:_az2.color=_bz2._zy2[0];break;case _Rx2:_az2.color=_bz2._zy2[0];break;case _Sx2:_az2.color=_bz2._zy2[0];break;case _Tx2:{var _Ia=~~(_1z2(_bz2._zy2[0],_bz2._zy2[1],_Wx2));var _fc=~~(_1z2(_bz2._zy2[2],_bz2._zy2[3],_Wx2));var _La=~~(_1z2(_bz2._zy2[4],_bz2._zy2[5],_Wx2));_az2.color=(_Ia<<16)+(_fc<<8)+_La}break;case _Ux2:{var _T3=~~(_1z2(_bz2._zy2[0],_bz2._zy2[1],_Wx2));var _Rw=~~(_1z2(_bz2._zy2[2],_bz2._zy2[3],
_Wx2));var _uc=~~(_1z2(_bz2._zy2[4],_bz2._zy2[5],_Wx2));_az2.color=0xffffff}break;case _Vx2:_az2.color=_Se(_qy(_bz2._zy2[0],_bz2._zy2[1],_NW1(1)));break }}else {switch(_bz2._yy2){case _Rx2:{var _ug=_az2._Ly2/_az2._My2;if(_ug>1)_ug=1;_az2.color=_qy((_bz2._zy2[0]),(_bz2._zy2[1]),_ug)}break;case _Sx2:{var _ug=2.0*_az2._Ly2/_az2._My2;if(_ug>2)_ug=2;if(_ug<1){_az2.color=_qy(_bz2._zy2[0],_bz2._zy2[1],_ug)}else {_az2.color=_qy(_bz2._zy2[1],_bz2._zy2[2],_ug-1)}}break }}}}function _Qg1(_N9,_O9,_cz2){var _LA=new _Jy2;
var _dz2=_D82[_cz2];if(_dz2==null||_dz2==undefined)return null;_LA._Ky2=true;_LA._Hy2=_cz2;_LA.x=_N9;_LA.y=_O9;_LA._W4=_1z2(_dz2._jy2,_dz2._ky2,0);_LA._Ny2=_1z2(_dz2._ny2,_dz2._oy2,0);_LA._rk2=_1z2(_dz2._ry2,_dz2._sy2,0);_LA._My2=_1z2(_dz2._dy2,_dz2._ey2,0);_LA._Ly2=0;_LA.color=0xffffff;_9z2(_LA);_LA.alpha=_dz2._Ay2;_LA._I3=_1z2(_dz2._9y2,_dz2._ay2,0);_LA._Dy2=_dz2._Dy2;if(_dz2._8y2){_LA._Oy2=_NW1(10000)}else {_LA._Oy2=0}_LA._Py2=_NW1(100000);return _LA}function _ok(){var _Rl=_D82.length;_D82[_Rl]=new _2y2();
return _Rl;}function _NN(_M9){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return false;_D82[_M9]=null;return true}function _RN(_M9){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return false;_D82[_M9]._Qh();return true}function _PN(_M9){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return false;return true}function _TN(_M9,_fz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._u21=_fz2;_ez2._5y2=-1}function _VN(_M9,__V,_gz2,_hz2,_iz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;
_ez2._5y2=__V;_ez2._6y2=_gz2;_ez2._7y2=_hz2;_ez2._8y2=_iz2}function _XN(_M9,_jz2,_kz2,_lz2,_mz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._9y2=_jz2;_ez2._ay2=_kz2;_ez2._by2=_lz2;_ez2._cy2=_mz2}function _ZN(_M9,_4t,_5t){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._uH=_4t;_ez2._vH=_5t}function _pO(_M9,_nz2,_oz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._dy2=_nz2;_ez2._ey2=_oz2}function _rO(_M9,_pz2,_qz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;
_ez2._gy2=_pz2;_ez2._fy2=_qz2}function _tO(_M9,_rz2,_sz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._iy2=_rz2;_ez2._hy2=_sz2}function _xO(_M9,_tz2,_uz2,_vz2,_wz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._jy2=_tz2;_ez2._ky2=_uz2;_ez2._ly2=_vz2;_ez2._my2=_wz2}function _zO(_M9,_xz2,_yz2,_zz2,_Az2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._ny2=_xz2;_ez2._oy2=_yz2;_ez2._py2=_zz2;_ez2._qy2=_Az2}function _vO(_M9,_Bz2,_Cz2,_Dz2,_Ez2,_Fz2){var _ez2=_D82[_M9];
if(_ez2==null||_ez2==undefined)return;_ez2._ry2=_Bz2;_ez2._sy2=_Cz2;_ez2._ty2=_Dz2;_ez2._uy2=_Ez2;_ez2._vy2=_Fz2}function _BO(_M9,_Gz2,_Hz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._wy2=_Gz2;_ez2._xy2=_Hz2}function _eO(_M9,_Iz2,_Jz2,_Kz2,_Lz2,_Mz2,_Nz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._yy2=_Tx2;_ez2._zy2[0]=_Iz2;_ez2._zy2[1]=_Jz2;_ez2._zy2[2]=_Kz2;_ez2._zy2[3]=_Lz2;_ez2._zy2[4]=_Mz2;_ez2._zy2[5]=_Nz2}function _qk(_M9,_hy,_iy){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;
_ez2._yy2=_Vx2;_ez2._zy2[0]=_Se(_hy);_ez2._zy2[1]=_Se(_iy)}function _hO(_M9,_Oz2,_Pz2,_Qz2,_Rz2,_Sz2,_Tz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._yy2=_Ux2;_ez2._zy2[0]=_Oz2;_ez2._zy2[1]=_Pz2;_ez2._zy2[2]=_Qz2;_ez2._zy2[3]=_Rz2;_ez2._zy2[4]=_Sz2;_ez2._zy2[5]=_Tz2}function _2O(_M9,_Uz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._yy2=_Qx2;_ez2._zy2[0]=_Se(_Uz2)}function _rk(_M9,_Uz2,_Vz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._yy2=_Rx2;_ez2._zy2[0]=_Se(_Uz2);
_ez2._zy2[1]=_Se(_Vz2)}function _7O(_M9,_Uz2,_Wz2,_Vz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._yy2=(_tb===null)?_Qx2:_Sx2;_ez2._zy2[0]=_Se(_Uz2);_ez2._zy2[1]=_Se(_Wz2);_ez2._zy2[2]=_Se(_Vz2)}function _kO(_M9,_Xz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._Ay2=_Xz2;_ez2._By2=_Xz2;_ez2._Cy2=_Xz2}function _sk(_M9,_Xz2,_Yz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._Ay2=_Xz2;_ez2._By2=(_Xz2+_Yz2)/2.0;_ez2._Cy2=_Yz2;}function _nO(_M9,_Xz2,_Zz2,
_Yz2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._Ay2=_Xz2;_ez2._By2=_Zz2;_ez2._Cy2=_Yz2}function _0O(_M9,__z2){var _ez2=_D82[_M9];if(_ez2==null||_ez2==undefined)return;_ez2._Dy2=__z2}function _DO(_EW1){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return -1;var _Rl=_0A2._Ty2.length;_0A2._Ty2[_Rl]=new _Ey2();return _Rl}function _FO(_EW1,_M9){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return false;var _1A2=_0A2._Ty2[_M9];if(_1A2==null||_1A2==undefined)return false;_0A2._Ty2[_M9]=null;
return true}function _HO(_EW1){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return false;_0A2._Ty2=[];return true}function _JO(_EW1,_M9){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return false;var _1A2=_0A2._Ty2[_M9];if(_1A2==null||_1A2==undefined)return false;return true}function _LO(_EW1,_M9){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return false;var _1A2=_0A2._Ty2[_M9];if(_1A2==null||_1A2==undefined)return false;_1A2._Dz()}function _NO(_EW1,_M9,_2A2,_3A2,_4A2,_5A2,_fz2,_6A2){var _0A2=_E82[_EW1];
if(_0A2==null||_0A2==undefined)return;var _1A2=_0A2._Ty2[_M9];if(_1A2==null||_1A2==undefined)return;_1A2._Hn2=_2A2;_1A2._In2=_3A2;_1A2._Jn2=_4A2;_1A2._Kn2=_5A2;_1A2._u21=_fz2;_1A2._Iy2=_6A2}function _PO(_EW1,_M9,_7A2,_dy){if(_dy<0){var _lL=_NW1(-_dy)|0;if(_lL==0){_dy=1}else {return }}var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;var _1A2=_0A2._Ty2[_M9];if(_1A2==null||_1A2==undefined)return;for(var _Q3=0;_Q3<=_dy-1;_Q3++){var _Qa,_Sa;var _8A2=false;while(_8A2==false){_Qa=_1z2(0.0,1.0,_1A2._Iy2);
_Sa=_1z2(0.0,1.0,_1A2._Iy2);if((_1A2._Iy2==_Yx2)&&(_1A2._u21!=_1y2)){if(_NW1()<0.5){_Qa=_1z2(0.0,1.0,0)}else {_Sa=_1z2(0.0,1.0,0)}}switch(_1A2._u21){case _Zx2:_8A2=true;break;case __x2:{var _9d=_Qa-0.5;var _ad=_Sa-0.5;if((_9d*_9d+_ad*_ad)<=0.25)_8A2=true;break }case _0y2:if((Math.abs(_Qa-0.5)+Math.abs(_Sa-0.5))<=0.5)_8A2=true;break;case _1y2:_8A2=true;break;default :_8A2=true;break }}if(_1A2._u21==_1y2){_DN(_EW1,_1A2._Hn2+(_1A2._In2-_1A2._Hn2)*_Qa,_1A2._Jn2+(_1A2._Kn2-_1A2._Jn2)*_Qa,_7A2,1)}else {_DN(_EW1,
_1A2._Hn2+(_1A2._In2-_1A2._Hn2)*_Qa,_1A2._Jn2+(_1A2._Kn2-_1A2._Jn2)*_Sa,_7A2,1)}}}function _RO(_EW1,_M9,_7A2,_dy){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;var _1A2=_0A2._Ty2[_M9];if(_1A2==null||_1A2==undefined)return;_1A2._Gy2=_dy;_1A2._Hy2=_7A2}function _DN(_EW1,_N9,_O9,_cz2,_dy){_dy=~~_dy;_cz2=~~_cz2;var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;var _dz2=_D82[_cz2];if(_dz2==null||_dz2==undefined)return false;for(var _Q3=0;_Q3<_dy;_Q3++){var index=_0A2._Sy2.length;_0A2._Sy2[index]=_Qg1(_N9,
_O9,_cz2)}}function _FN(_EW1,_N9,_O9,_cz2,_5f,_dy){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;var _dz2=_D82[_cz2];if(_dz2==null||_dz2==undefined)return false;for(var _Q3=1;_Q3<=_dy;_Q3++){var index=_0A2._Sy2.length;_0A2._Sy2[index]=_Qg1(_N9,_O9,_cz2);_0A2._Sy2[index].color=_Se(_5f)}}function _IN(_EW1){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return false;_0A2._Sy2=[];return true}function _KN(_EW1){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return 0;return _0A2._Sy2.length}function _nk(_KJ,
_9A2){if(_KJ==undefined)_KJ=-1;if(_9A2==undefined)_9A2=true;if(_j9){var _aA2=null;if(_KJ==-1){_aA2=new _dI();_zJ._gJ(_h9,0,_aA2,true,true)}else {var _ZI=_zJ._YI();if(_ZI!=null){_SI=_zJ._EJ(_ZI,_KJ);if(_SI!=null){_aA2=new _dI();if(_ZI==_h9){var _ft=_zJ._dJ(_h9,_SI,_aA2,true);if(_ft==-1){_zJ._UI(_h9,_aA2._DC,true);_aA2=null}}else {_zJ._gJ(_h9,0,_aA2,true,true)}}}}if(_aA2==null)return -1}var _SI=null;var index=_E82.length;_E82[index]=new _Qy2();if(_j9){_E82[index]._Zy2=-1;_E82[index].__y2=-1}_E82[index]._Qh();
if(_j9){_aA2._eI=index;_E82[index]._Zy2=_aA2._DC;_E82[index]._0z2=!_9A2;if(_KJ!=-1){_SI=_zJ._EJ(_ZI,_KJ);_E82[index].__y2=_KJ;_E82[index]._44=_SI._44}}return index}function _lN(_EW1){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return false;return true}function _jN(_EW1){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;_nN(_EW1);_E82[_EW1]=null;return true}function _nN(_EW1){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;if(_j9){if(_E82[_EW1]._Zy2!==undefined){_zJ._UI(_h9,_E82[_EW1]._Zy2,
true)}_E82[_EW1]._Zy2=-1;_E82[_EW1].__y2=-1;_E82[_EW1]._0z2=false}_0A2._Qh()}function _pN(_EW1,_bA2){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;_0A2._Uy2=_bA2}function _rN(_EW1,_hJ){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;_0A2._44=_hJ;if(_j9){_zJ._UI(_h9,_0A2._Zy2,true);var _aA2=new _dI();_aA2._eI=_EW1;_E82[_EW1].__y2=-1;_E82[_EW1]._Zy2=_zJ._gJ(_h9,_E82[_EW1]._44,_aA2,true,true)}}function _tN(_EW1,_N9,_O9){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;_0A2._Vy2=_N9;
_0A2._Wy2=_O9}function _vN(_EW1,_cA2){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;_0A2._Xy2=_cA2}function _xN(_EW1,_cA2){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;_0A2._Yy2=_cA2}function _dA2(_EW1){var _Q3=0;var _Ea=0;var _Rl=0;var _0A2=_E82[_EW1];var _eA2=_0A2._Sy2;_Q3=0;while(_Q3<_eA2.length){var _fA2=_eA2[_Q3];var _dz2=_D82[_fA2._Hy2];_fA2._Ly2++;if(_fA2._Ly2>=_fA2._My2){_Ea=_dz2._iy2;if(_Ea<0){if(_NW1(-_Ea)==0)_Ea=1}if(_Ea>0){_DN(_EW1,_fA2.x,_fA2.y,_dz2._hy2,_Ea)}_eA2.splice(_Q3,
1)}else {_Ea=_dz2._gy2;if(_Ea<0){if(_NW1(-_Ea)==0)_Ea=1}if(_Ea>0){_DN(_EW1,_fA2.x,_fA2.y,_dz2._fy2,_Ea)}_Q3++}}}function _gA2(_EW1){var _Q3=0;var _Pa=0;var _kD=0.0;var _mD=0.0;var _Hy=0.0;var _ud=0.0;var _hA2=0.0;var _Wk1=0.0;var _iA2=0.0;var _jA2=0.0;var _kA2=0.0;var _jO1=0.0;var _lA2=0.0;var _0A2=_E82[_EW1];var _eA2=_0A2._Sy2;for(_Q3=0;_Q3<_eA2.length;_Q3++){var _fA2=_eA2[_Q3];var _dz2=_D82[_fA2._Hy2];_fA2._W4=_fA2._W4+_dz2._ly2;if(_fA2._W4<0)_fA2._W4=0;_fA2._Ny2=_fA2._Ny2+_dz2._py2;_fA2._rk2=_fA2._rk2+_dz2._ty2;
_jA2=0;_kA2=0;if((_dz2._wy2!=0)||(_0A2._xK>0)){_kD=_6z2(_fA2._Ny2,_fA2._W4);_mD=_8z2(_fA2._Ny2,_fA2._W4);if(_dz2._wy2!=0){_Hy=_6z2(_dz2._xy2,_dz2._wy2);_ud=_8z2(_dz2._xy2,_dz2._wy2);_kD=_kD+_Hy;_mD=_mD+_ud}_fA2._Ny2=_5z2(_kD,_mD);_fA2._W4=Math.sqrt(_kD*_kD+_mD*_mD)}_jO1=((_fA2._Ly2+3*_fA2._Py2)%24)/6.0;if(_jO1>2.0){_jO1=4.0-_jO1}_jO1=_jO1-1.0;_lA2=((_fA2._Ly2+4*_fA2._Py2)%20)/5.0;if(_lA2>2.0){_lA2=4.0-_lA2}_lA2=_lA2-1.0;_kD=_6z2(_fA2._Ny2+_jO1*_dz2._qy2,_fA2._W4+_lA2*_dz2._my2);_mD=_8z2(_fA2._Ny2+_jO1*_dz2._qy2,
_fA2._W4+_lA2*_dz2._my2);_fA2.x=_fA2.x+_kD+_jA2;_fA2.y=_fA2.y+_mD+_kA2}}function _mA2(_EW1){var _0A2=_E82[_EW1];var _eA2=_0A2._Sy2;for(var _Q3=0;_Q3<_eA2.length;_Q3++){var _fA2=_eA2[_Q3];var _dz2=_D82[_fA2._Hy2];_fA2._I3=_fA2._I3+_dz2._by2;if(_fA2._I3<0){_fA2._I3=0}_9z2(_fA2);var _nA2;if(_fA2._My2>0){_nA2=2.0*_fA2._Ly2/_fA2._My2}else {_nA2=1}if(_nA2<1){_fA2.alpha=_dz2._Ay2*(1.0-_nA2)+_dz2._By2*_nA2}else {_fA2.alpha=_dz2._By2*(2.0-_nA2)+_dz2._Cy2*(_nA2-1)}}}function _zN(_EW1){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return 0;
_dA2(_EW1);_gA2(_EW1);_mA2(_EW1);var _oA2=_0A2._Ty2;if(_oA2){for(var _Q3=0;_Q3<_oA2.length;_Q3++){if(_oA2[_Q3]!=null&&_oA2[_Q3]._Gy2!=0){_PO(_EW1,_Q3,_oA2[_Q3]._Hy2,_oA2[_Q3]._Gy2)}}}}function _pA2(){for(var _Q3=0;_Q3<_E82.length;_Q3++){var _0A2=_E82[_Q3];if(_0A2!=null){if(_0A2._Xy2){_zN(_Q3)}}}}function _qA2(_az2,_UO,_VO){var _vU=null;var _UC1=null;if(_az2._My2<=0)return;var _dz2=_D82[_az2._Hy2];_vU=_MT._Si(_dz2._5y2);if(_vU==null){var _u21=_dz2._u21;if((_u21>=0)&&(_u21<_Px2)){_UC1=_C82[_u21];if(_UC1==null){
return }}else {return }}var _ra;if(_UC1!=null){}else {if(_vU._Bu<=0)return;if(!_dz2._6y2){_ra=_az2._Oy2}else if(_dz2._7y2){_ra=_az2._Oy2+(_vU._Ea*_az2._Ly2/_az2._My2)}else {_ra=_az2._Oy2+_az2._Ly2;}}var _Ia=((_az2._Ly2+2*_az2._Py2)%16)/4.0;if(_Ia>2.0)_Ia=4.0-_Ia;_Ia=_Ia-1.0;var _LO1=_az2._rk2;if(_dz2._vy2)_LO1=_LO1+_az2._Ny2;_LO1=_LO1+_Ia*_dz2._uy2;_Ia=((_az2._Ly2+_az2._Py2)%16)/4.0;if(_Ia>2.0)_Ia=4.0-_Ia;_Ia=_Ia-1.0;_oC(_az2._Dy2?1:0);var _Rw=_az2._I3+_Ia*_dz2._cy2;var _R3=_az2.color;if(_UC1!=null){var _uH,
_vH,_rk2;var _Uj2=_dz2._uH*_Rw;var _Vj2=_dz2._vH*_Rw;var _rA2=_LO1;var _sA2=~~(_az2.x+_UO);var _tA2=~~(_az2.y+_VO);if(_Uj2==1&&_Vj2==1&&_rA2==0&&_az2.color==0xffffff){_zk2(_UC1,_sA2,_tA2,_az2.alpha)}else {_Ik2(_UC1,0,0,_sA2,_tA2,_Uj2,_Vj2,_rA2*0.017453293,_R3,_R3,_R3,_R3,_az2.alpha)}}else {_vU._6c(_ra,_az2.x+_UO,_az2.y+_VO,_D82[_az2._Hy2]._uH*_Rw,_D82[_az2._Hy2]._vH*_Rw,_LO1,_R3,_az2.alpha)}}function _BN(_EW1){var _0A2=_E82[_EW1];if(_0A2==null||_0A2==undefined)return;var src,_Xn;if(_tb!=null){src=_uA2;_Xn=_vA2}
var _eA2=_0A2._Sy2;if(_0A2._Uy2){for(var _Q3=0;_Q3<_0A2._Sy2.length;_Q3++){_qA2(_eA2[_Q3],_0A2._Vy2,_0A2._Wy2)}}else {for(var _Q3=_0A2._Sy2.length-1;_Q3>=0;_Q3--){_qA2(_eA2[_Q3],_0A2._Vy2,_0A2._Wy2)}}if(_tb!=null){_qC(src,_Xn)}else {_oC(0)}}function _wA2(_xA2){for(var _Q3=0;_Q3<_E82.length;_Q3++){var _0A2=_E82[_Q3];if(_0A2!=null){if(_0A2._Yy2){if(Math.abs(_0A2._44-_xA2)<0.01)_BN(_Q3)}}}}function _yA2(){if(_j9){for(var _Q3=0;_Q3<_E82.length;_Q3++){var _0A2=_E82[_Q3];if(_0A2!=null){if(_0A2._Zy2==-1){var _aA2=new _dI();
_aA2._eI=_Q3;if(_0A2.__y2!=-1){var _SI=_zJ._EJ(_h9,_0A2.__y2);if(_SI!=null){_0A2._Zy2=_zJ._dJ(_h9,_SI,_aA2,true)}}if(_0A2._Zy2==-1){_0A2._Zy2=_zJ._gJ(_h9,_0A2._44,_aA2,true,true);}}}}}};function _zA2(){if(_j9){for(var _Q3=0;_Q3<_E82.length;_Q3++){var _0A2=_E82[_Q3];if(_0A2!=null){if(_0A2._Zy2!=-1){_zJ._UI(_h9,_E82[_Q3]._Zy2,true);_0A2._Zy2=-1}if(_0A2._0z2==true){_jN(_Q3)}}}}}function _AA2(_EW1){if(true==_lN(_EW1)){var _0A2=_E82[_EW1];if(_0A2!=null){if(_0A2._Yy2){_BN(_EW1)}}}};function _BA2(){var _LA=-1000000000;
for(var _Q3=0;_Q3<_E82.length;_Q3++){var _0A2=_E82[_Q3];if(_0A2!=null&&_0A2._Sy2.length>0){if(_0A2._Yy2){if(_0A2._44>_LA)_LA=_0A2._44}}}return _LA}function _CA2(_xA2){var _LA=-1000000000;for(var _Q3=0;_Q3<_E82.length;_Q3++){var _0A2=_E82[_Q3];if(_0A2!=null&&_0A2._Sy2.length>0){if(_0A2._Yy2){if((_0A2._44>_LA)&&(_0A2._44<_xA2))_LA=_0A2._44}}}return _LA}var _DA2=0,_EA2=1;var _FA2=0;function _GA2(_N9,_O9,_6M){this.x=_N9;this.y=_O9;this._W4=_6M;this._Ga=0}function _HA2(){this.__type="[Path]";this.name="";this.id=_FA2++;
this._43=0;this._6m=1;this._IA2=4;this._Qh()}_HA2.prototype._Qh=function(){this._a61=[];this._JA2=[];this._Fb=0;this._KA2=0;this.length=0;};_HA2.prototype._LA2=function(){var _Q3=0;this.length=0;if(this._KA2<=0)return;this._JA2[0]._Ga=0;for(_Q3=1;_Q3<this._KA2;_Q3++){this._JA2[_Q3]._Ga=this.length=this.length+sqrt(_Ur(this._JA2[_Q3].x-this._JA2[_Q3-1].x)+_Ur(this._JA2[_Q3].y-this._JA2[_Q3-1].y));}};_HA2.prototype._MA2=function(_Dm2,_Em2,_NA2){this._KA2++;var _OA2=new _GA2();this._JA2[this._KA2-1]=_OA2;
_OA2.x=_Dm2;_OA2.y=_Em2;_OA2._W4=_NA2};_HA2.prototype._PA2=function(){this._KA2=0;if(this._Fb<=0)return;for(var _Q3=0;_Q3<this._Fb;_Q3++){this._MA2(this._a61[_Q3].x,this._a61[_Q3].y,this._a61[_Q3]._W4)}if(this._6m){this._MA2(this._a61[0].x,this._a61[0].y,this._a61[0]._W4)}};_HA2.prototype._QA2=function(_hJ,__a,_0b,_9t,_ma,_na,_at,_CB,_DB,_RA2){if(_hJ==0)return;var _5b=(__a+_ma+_ma+_CB)/4.0;var _6b=(_0b+_na+_na+_DB)/4.0;var _Cs=(_9t+_at+_at+_RA2)/4.0;if(_Ur(_ma-__a)+_Ur(_na-_0b)>16.0){this._QA2(_hJ-1,
__a,_0b,_9t,(_ma+__a)/2.0,(_na+_0b)/2.0,(_at+_9t)/2.0,_5b,_6b,_Cs)}this._MA2(_5b,_6b,_Cs);if(_Ur(_ma-_CB)+_Ur(_na-_DB)>16.0){this._QA2(_hJ-1,_5b,_6b,_Cs,(_CB+_ma)/2.0,(_DB+_na)/2.0,(_RA2+_at)/2.0,_CB,_DB,_RA2)}};_HA2.prototype._SA2=function(){var _Q3=0;var _ra=0;this._KA2=0;if(this._Fb<=0)return;if(!this._6m){this._MA2(this._a61[0].x,this._a61[0].y,this._a61[0]._W4)}if(this._6m){_ra=this._Fb-1}else {_ra=this._Fb-3}for(_Q3=0;_Q3<=_ra;_Q3++){var _Df1=this._a61[_Q3%this._Fb];var _Ef1=this._a61[(_Q3+1)%this._Fb];
var _TA2=this._a61[(_Q3+2)%this._Fb];this._QA2(this._IA2,(_Df1.x+_Ef1.x)/2.0,(_Df1.y+_Ef1.y)/2.0,(_Df1._W4+_Ef1._W4)/2.0,_Ef1.x,_Ef1.y,_Ef1._W4,(_Ef1.x+_TA2.x)/2.0,(_Ef1.y+_TA2.y)/2.0,(_Ef1._W4+_TA2._W4)/2.0)}if(!this._6m){this._MA2(this._a61[this._Fb-1].x,this._a61[this._Fb-1].y,this._a61[this._Fb-1]._W4)}else {this._MA2(this._JA2[0].x,this._JA2[0].y,this._JA2[0]._W4)}};_HA2.prototype._UA2=function(){if(this._43==1){this._SA2()}else {this._PA2()}this._LA2()};function _7c2(_0f2){var _XO=new _HA2();if((_0f2!=undefined)&&(_0f2!=null)){
if(_0f2._IA2!=undefined){_XO._IA2=_0f2._IA2}if(_0f2._6m!=undefined){_XO._6m=_0f2._6m}if(_0f2._43!=undefined){_XO._43=_0f2._43}if(_0f2._33!=undefined){_XO.name=_0f2._33}if(_0f2._a61!=undefined){_XO._Fb=_0f2._a61.length}for(var _KA=0;_KA<_0f2._a61.length;_KA++){var _VA2=_0f2._a61[_KA];var _WA2=new _GA2(_VA2.x,_VA2.y,_VA2._W4);_XO._a61[_XO._a61.length]=_WA2}_XO._UA2()}return _XO}var _XA2=new _GA2(0,0,100);_HA2.prototype._1P=function(_M9){var _fj=0;if(this._KA2<=0){_XA2.x=0;_XA2.y=0;_XA2._W4=0;return _XA2}if((this._KA2==1)||(this.length==0)||(_M9<=0)){
return this._JA2[0]}if(_M9>=1){return this._JA2[this._KA2-1]}var _Ga=this.length*_M9;_fj=0;while((_fj<this._KA2-2)&&(_Ga>=this._JA2[_fj+1]._Ga)){_fj++}var _zo2=this._JA2[_fj];_Ga=_Ga-_zo2._Ga;var _S3=this._JA2[_fj+1]._Ga-_zo2._Ga;if(_S3!=0){_fj++;_XA2.x=_zo2.x+_Ga*(this._JA2[_fj].x-_zo2.x)/_S3;_XA2.y=_zo2.y+_Ga*(this._JA2[_fj].y-_zo2.y)/_S3;_XA2._W4=_zo2._W4+_Ga*(this._JA2[_fj]._W4-_zo2._W4)/_S3;_zo2=_XA2}return _zo2};_HA2.prototype._YA2=function(_M9){var _KA=this._1P(_M9);return _KA.x};_HA2.prototype._ZA2=function(_M9){
var _KA=this._1P(_M9);return _KA.y};_HA2.prototype.__A2=function(_UO,_VO){for(var _Q3=0;_Q3<=this._Fb-1;_Q3++){this._a61[_Q3].x+=_UO;this._a61[_Q3].y+=_VO}this._UA2()};_HA2.prototype._0B2=function(){var _Hn2=100000000;var _In2=-100000000;var _Jn2=100000000;var _Kn2=-100000000;for(var _Q3=0;_Q3<=this._Fb-1;_Q3++){if(this._a61[_Q3].x<_Hn2)_Hn2=this._a61[_Q3].x;if(this._a61[_Q3].x>_In2)_In2=this._a61[_Q3].x;if(this._a61[_Q3].y<_Jn2)_Jn2=this._a61[_Q3].y;if(this._a61[_Q3].y>_Kn2)_Kn2=this._a61[_Q3].y}return new _GA2((_Hn2+_In2)/2.0,
(_Jn2+_Kn2)/2.0,0)};;_HA2.prototype._1B2=function(_Dm2,_Em2,_NA2){var _VA2=new _GA2(_Dm2,_Em2,_NA2);if(!this._a61)this._a61=[];this._a61[this._a61.length]=_VA2;this._Fb++;this._UA2()};function _Xa2(){this._y3=[];_FA2=0}_Xa2.prototype._4j=function(_2B2){this._y3[_2B2.id]=_2B2};_Xa2.prototype._LJ=function(_2B2){this._y3[_2B2.id]=undefined};function _3B2(_hJ){this._44=_hJ;this._Y3=true;this._4B2=new _1j();}_3B2.prototype._4j=function(_5B2){this._4B2._4j(_5B2)};_3B2.prototype._LJ=function(_5B2){this._4B2._EI(_5B2)}
;_3B2.prototype._6c=function(_Tk2){if(!this._Y3){return }var _hj=this._4B2._hj;for(var index=0;index<_hj.length;index++){var _3W=_hj[index];if(_3W!=null){var _Cs1=_3W.x+(_3W._uH*_3W._S3),_6B2=_3W.y+(_3W._vH*_3W._T3);var _va=(_3W.x<_Cs1)?_3W.x:_Cs1,_xa=(_3W.x>_Cs1)?_3W.x:_Cs1,_wa=(_3W.y<_6B2)?_3W.y:_6B2,_ya=(_3W.y>_6B2)?_3W.y:_6B2;if((_va<=_Tk2.right)&&(_wa<=_Tk2.bottom)&&(_xa>=_Tk2.left)&&(_ya>=_Tk2.top)){_3W._6c()}}}};_3B2.prototype._yM=function(){return this._4B2._hj};function _7B2(){this._8B2=new _Fx2();
this._9B2=-1}_7B2.prototype._Si=function(_hJ){var _aB2;for(var index=0;index<this._8B2._Fb;index++){_aB2=this._8B2._Si(index);if(_aB2._44==_hJ)return _aB2}return null};_7B2.prototype._LJ=function(_hJ){var _aB2=this._Si(_hJ);if(_aB2){this._8B2._LJ(_aB2)}};_7B2.prototype._4j=function(_5B2){var _aB2;_aB2=this._Si(_5B2._44);if(!_aB2){_aB2=new _3B2(_5B2._44);this._8B2._4j(_aB2)}_aB2._4j(_5B2);};_7B2.prototype._bB2=function(_5B2){var _aB2=this._Si(_5B2._44);if(_aB2){_aB2._LJ(_5B2)}};_7B2.prototype._cB2=function(){
this._9B2=this._8B2.length-1;return this._8B2._Si(this._9B2)};_7B2.prototype._ld1=function(){this._9B2--;if(this._9B2<0)return null;return this._8B2._Si(this._9B2)};function _dB2(){this._Nh1=[];this.offset=0;this._wh1=_dB2.prototype._eB2;this._vh1=_dB2.prototype._fB2};_dB2.prototype.Length=function(){return(this._Nh1.length-this.offset)};_dB2.prototype._gB2=function(){return(this._Nh1.length==0)};_dB2.prototype._fB2=function(_Fe2){this._Nh1.push(_Fe2)};_dB2.prototype._eB2=function(){if(this._gB2())return undefined;
var _Aj=this._Nh1[this.offset];if((++this.offset*2)>=this._Nh1.length){this._Nh1=this._Nh1.slice(this.offset);this.offset=0}return _Aj};function __b2(){this.id=_b92++;this._AI()};__b2.prototype._AI=function(){this.__type="[Room]";this._hB2="";this._iB2="";this._jB2=30;this._cK=1024;this._eK=768;this._kB2=false;this._lB2=false;this._mB2=0xc0c0c0;this._nB2=true;this._oB2=true;this._pB2=true;this._qB2=[];for(var _Ka=0;_Ka<_b82;_Ka++){this._qB2[_Ka]=null}this._0i=false;this._rB2=null;this._DG=new _Fx2();
this._sB2=new _1j();this._sB2._2j=true;this._3n2=[];this._tB2=0;this._4W=[];this._uB2=new _7B2();this._2i=[];this._vB2=[];this._9Q=null;this._GH="Room";this._8P=null;this._WI=new _Fx2()};__b2.prototype._wB2=function(){return this._0i};__b2.prototype._1E=function(){return this._cK};__b2.prototype._2E=function(){return this._eK};__b2.prototype._i9=function(){return this._jB2};__b2.prototype._yM=function(){return this._DG._hj};__b2.prototype._xB2=function(_o9){this._cK=_o9;_q6._fi2=_o9};__b2.prototype._yB2=function(_o9){
this._eK=_o9;_q6._gi2=_o9};__b2.prototype._zB2=function(_o9){this._jB2=_o9;_q6._ii2=_o9};__b2.prototype._AB2=function(_t9){this._GH=_t9};__b2.prototype._BB2=function(_CB2){this._iB2=_CB2;_q6._hi2=_CB2};__b2.prototype._DB2=function(_o9){this._kB2=_o9;_q6._ji2=_o9};__b2.prototype._EB2=function(){this._9Q={_33:"room_empty_"+this.id,width:640,height:480,_55:[{},{},{},{},{},{},{},{}],_65:[{},{},{},{},{},{},{},{}],_b5:[],_d5:[]};this._0c2(this._9Q)};__b2.prototype._FB2=function(_0f2){if(_0f2!=null){this._9Q.width=_0f2.width;
this._9Q.height=_0f2.height;this._9Q._c5=_0f2._c5;this._9Q._aQ=_0f2._aQ;this._9Q._X4=_0f2._X4;this._9Q._GB2=_0f2._GB2;this._9Q._HB2=_0f2._HB2;this._9Q._W4=_0f2._W4;this._9Q._Im2=_0f2._Im2;for(var _Q3=0;_Q3<_0f2._55.length;_Q3++){var _IB2=_0f2._55[_Q3];if(_IB2!=null){this._9Q._55[_Q3]={_Y3:_IB2._Y3,index:_IB2.index,_mD:_IB2._mD,_kD:_IB2._kD,_rH:_IB2._rH,x:_IB2.x,y:_IB2.y,_sH:_IB2._sH,_tH:_IB2._tH,_wH:_IB2._wH,alpha:_IB2.alpha,_xH:_IB2._xH}}}for(var _Q3=0;_Q3<_0f2._65.length;_Q3++){var _JB2=_0f2._65[_Q3];
if(_JB2){this._9Q._65[_Q3]={_Y3:_JB2._Y3,_tC:_JB2._tC,_uC:_JB2._uC,_75:_JB2._75,_85:_JB2._85,_KB2:_JB2._KB2,_LB2:_JB2._LB2,_95:_JB2._95,_a5:_JB2._a5,_oD:_JB2._oD,_qD:_JB2._qD,_kD:_JB2._kD,_mD:_JB2._mD,index:_JB2.index}}}this._9Q._b5=new Array(_0f2._b5.length);for(var _Q3=0;_Q3<_0f2._b5.length;_Q3++){var _MB2=_0f2._b5[_Q3];if(_MB2){this._9Q._b5[_Q3]={x:_MB2.x,y:_MB2.y,index:_MB2.index,id:_MB2.id,rotation:_MB2._f7,scaleX:_MB2.scaleX,scaleY:_MB2.scaleY,_c5:_MB2._ZV,_NB2:_MB2._NB2}}}this._9Q._d5=new Array(_0f2._d5.length);
for(var _Q3=0;_Q3<_0f2._d5.length;_Q3++){var _OB2=_0f2._d5[_Q3];if(_OB2!=null){this._9Q._d5[_Q3]={x:_OB2.x,y:_OB2.y,index:_OB2.index,_PB2:_OB2._PB2,_QB2:_OB2._QB2,_S3:_OB2._S3,_T3:_OB2._T3,_44:_OB2._44,id:_OB2.id}}}}};__b2.prototype._0c2=function(_RB2){this._AI();this._9Q=_RB2;if(_RB2._33!=undefined)this._AB2(_RB2._33);if(_RB2._HB2!=undefined)this._BB2(_RB2._HB2);if(_RB2.width!=undefined)this._xB2(_RB2.width);if(_RB2.height!=undefined)this._yB2(_RB2.height);if(_RB2._W4!=undefined)this._zB2(_RB2._W4);
if(_RB2._Im2!=undefined)this._DB2(_RB2._Im2);if(_RB2._c5!=undefined)this._mB2=_RB2._c5;if(_RB2._aQ!=undefined)this._nB2=_RB2._aQ;if(_RB2._X4!=undefined)this._0i=_RB2._X4;if(_RB2._GB2!=undefined)this._oB2=_RB2._GB2;if(_RB2._SB2!=undefined)this._pB2=_RB2._SB2;this._xB2(this._cK);this._yB2(this._eK);this._zB2(this._jB2);this._BB2(this._iB2);this._DB2(this._kB2);this._2i=[];this._tB2=0;for(var index=0;index<_RB2._d5.length;index++){var _TB2=_RB2._d5[index];if(_TB2!=null){var _3W=_UB2(_TB2);this._uB2._4j(_3W);
this._4W[_3W.id]=_3W;this._tB2++}}if(_RB2._NB2!=undefined)this._rB2=_RB2._NB2;for(var _uc=0;_uc<_RB2._65.length;_uc++){this._2i[_uc]=_VB2(_RB2._65[_uc])}if(_RB2._WB2!=undefined){if(_RB2._WB2>0){_zJ._9K(this,_RB2._XB2)}}};__b2.prototype._YB2=function(){if(this._9Q._Y4){if(_j9){this._8P=new _NH1(this._9Q._45,_k9._l9())}else {this._8P=new _NH1(this._9Q._45,this._i9())}this._8P._9P(this._9Q._25,this._9Q._35)}};__b2.prototype._ZB2=function(__B2){var _Q3;var _0C2=0;var _1C2=[];for(_Q3=this._DG.length-1;_Q3>=0;
_Q3--){var _9E=this._DG._Si(0);if(__B2){_9E._6a(_BG,0,_9E,_9E)}this._2C2(_9E)}for(_Q3=this._sB2.length-1;_Q3>=0;_Q3--){this._2C2(this._sB2._Si(0))}};__b2.prototype._zC1=function(index){if(this._2i!=undefined){var _qr=this._2i[index];if(_qr!=undefined)return _qr}return undefined};__b2.prototype._3C2=function(){var _Q3,_S3,_T3;if(_h9._wB2()){}else {_S3=_h9._1E();_T3=_h9._2E()}if(_S3>_Nk2())_S3=_Nk2();if(_T3>_Ok2())_T3=_Ok2();};__b2.prototype._wG=function(_N9,_O9,_4C2){return this._BJ(_N9,_O9,_h92++,_4C2,
false,0)};__b2.prototype._5C2=function(_N9,_O9,_Pi,_FG,_6C2,_7C2,_gE1,_Qe){var _8C2=new _Cm2(_N9,_O9,_Pi,_FG,true);this._DG._Hx2(_8C2);_eE._4j(_8C2);if(_6C2!=undefined)_8C2._XV=_6C2;if(_7C2!=undefined)_8C2._YV=_7C2;if(_gE1!=undefined)_8C2._f7=_gE1;if(_Qe!=undefined){_8C2._ZV=_Qe&0xffffff;_8C2._48=((_Qe>>24)&0xff)/255.0}if(_j9){var __J=_zJ._2K(this,_Pi);if(__J==null){_zJ._BJ(this,_8C2)}else {_zJ._9J(this,__J._SI,__J._uf)}}_8C2._en2();return _8C2};__b2.prototype._BJ=function(_N9,_O9,_Pi,_FG,_9C2,_hJ){var _8C2=new _Cm2(_N9,
_O9,_Pi,_FG,true);this._DG._Hx2(_8C2);_eE._4j(_8C2);if(_9C2){_8C2._44=_hJ}if(_j9){var __J=_zJ._2K(this,_Pi);if(__J==null){_zJ._BJ(this,_8C2)}else {_zJ._9J(this,__J._SI,__J._uf)}}_8C2._en2();return _8C2};__b2.prototype._aC2=function(_N9,_O9,_CI,_Pi,_FG){var _8C2=new _Cm2(_N9,_O9,_Pi,_FG,true);_8C2._44=_CI._44;this._DG._Hx2(_8C2);_eE._4j(_8C2);_8C2._en2();if(_j9)_zJ._DJ(this,_CI,_8C2);return _8C2};__b2.prototype._bC2=function(){var index=0;for(var _Q3=0;_Q3<this._2i.length;_Q3++){var _3i=this._2i[_Q3];_q6._Ci2[index]=_3i._Y3;
_q6._88[index]=_3i._cD;_q6._a8[index]=_3i._eD;_q6._98[index]=_3i._gD;_q6._Di2[index]=_3i._iD;_q6._Ei2[index]=_3i._jV;_q6._Fi2[index]=_3i._kV;_q6._Gi2[index]=_3i._lV;_q6._Hi2[index]=_3i._mV;_q6._Ii2[index]=_3i.angle;_q6._Ji2[index]=_3i._oD;_q6._Ki2[index]=_3i._qD;_q6._Li2[index]=_3i._kD;_q6._Mi2[index]=_3i._mD;_q6._Ni2[index]=_3i._tD;_q6._gj2[index]=_3i._cC2;_q6._hj2[index]=_3i._rX1;index++}};__b2.prototype._dC2=function(){var index=0;for(var _Q3=0;_Q3<this._2i.length;_Q3++){var _3i=this._2i[_Q3];_3i._Y3=_q6._Ci2[index];
_3i._cD=_q6._88[index];_3i._eD=_q6._a8[index];_3i._gD=_q6._98[index];_3i._iD=_q6._Di2[index];_3i._jV=_q6._Ei2[index];_3i._kV=_q6._Fi2[index];_3i._lV=_q6._Gi2[index];_3i._mV=_q6._Hi2[index];_3i.angle=_q6._Ii2[index];_3i._oD=_q6._Ji2[index];_3i._qD=_q6._Ki2[index];_3i._kD=_q6._Li2[index];_3i._mD=_q6._Mi2[index];_3i._tD=_q6._Ni2[index];_3i._cC2=_q6._gj2[index];_3i._rX1=_q6._hj2[index];index++}};__b2.prototype._eC2=function(){for(var _Q3=0;_Q3<_xk._wk.length;_Q3++){var _Ak=_xk._Si(_Q3);_Ak._kD=_q6._wi2[_Q3];
_Ak._mD=_q6._xi2[_Q3];_Ak.x=_q6._oi2[_Q3];_Ak.y=_q6._pi2[_Q3];_Ak.x+=_Ak._kD;_Ak.y+=_Ak._mD;_q6._oi2[_Q3]=_Ak.x;_q6._pi2[_Q3]=_Ak.y}};__b2.prototype._fC2=function(){var _Q3;var _Ga,_Ka,_hE,_iE;var _3i;var _dE;if(!this._0i)return;this._dC2();for(_Q3=0;_Q3<this._2i.length;_Q3++){_3i=this._2i[_Q3];if(!_3i._Y3)continue;if(_j9&&_tb==null){if(_3i._rX1!=-1){var _pX1=_qX1._5D(_3i._rX1);if(_pX1!=null){_3i._tD=_pX1._TC}}}if(_j9){if(_3i._rX1!=-1){var _pX1=_qX1._5D(_3i._rX1);if(_pX1!=null){_pX1._Rh()}}}else if((_3i._Y3)&&(_3i._tD>=0)){
_dE=null;if(_3i._tD<100000){var _aE=_29._Si(_3i._tD);if(_aE!=null){var _hj=_aE._bE();for(var _9x=0;_9x<_hj.length;_9x++){_dE=_hj[_9x];if(!_dE._86)break;_dE=null}}}else {_dE=_eE._Si(_3i._tD);if(!_dE&&_dE._86)_dE=null}if(_dE!=null){_Ga=_3i._cD;_Ka=_3i._eD;_hE=_dE.x;_iE=_dE.y;if(2*_3i._oD>=_3i._gD){_Ga=_hE-_3i._gD/2}else if(_hE-_3i._oD<_3i._cD){_Ga=_hE-_3i._oD}else if(_hE+_3i._oD>_3i._cD+_3i._gD){_Ga=_hE+_3i._oD-_3i._gD}if(2*_3i._qD>=_3i._iD){_Ka=_iE-_3i._iD/2}else if(_iE-_3i._qD<_3i._eD){_Ka=_iE-_3i._qD}
else if(_iE+_3i._qD>_3i._eD+_3i._iD){_Ka=_iE+_3i._qD-_3i._iD;}if(_Ga<0)_Ga=0;if(_Ga+_3i._gD>this._cK)_Ga=this._cK-_3i._gD;if(_Ka<0)_Ka=0;if(_Ka+_3i._iD>this._eK)_Ka=this._eK-_3i._iD;if(_3i._kD>=0){if((_Ga<_3i._cD)&&(_3i._cD-_Ga>_3i._kD))_Ga=_3i._cD-_3i._kD;if((_Ga>_3i._cD)&&(_Ga-_3i._cD>_3i._kD))_Ga=_3i._cD+_3i._kD}if(_3i._mD>=0){if((_Ka<_3i._eD)&&(_3i._eD-_Ka>_3i._mD))_Ka=_3i._eD-_3i._mD;if((_Ka>_3i._eD)&&(_Ka-_3i._eD>_3i._mD))_Ka=_3i._eD+_3i._mD}_3i._cD=_Ga;_3i._eD=_Ka}}}this._bC2();var left,right,
top,bottom;left=999999;right=-999999;top=999999;bottom=-999999;for(var _Q3=0;_Q3<_h9._2i.length;_Q3++){_3i=_h9._2i[_Q3];if(_3i._Y3){if(left>_3i._jV)left=_3i._jV;if(right<(_3i._jV+_3i._lV))right=_3i._jV+_3i._lV;if(top>_3i._kV)top=_3i._kV;if(bottom<(_3i._kV+_3i._mV))bottom=_3i._kV+_3i._mV}}_qW=_xZ/(right-left);_rW=_yZ/(bottom-top)};var _gC2=!1;__b2.prototype._hC2=function(_Tk2){var _aB2=this._uB2._cB2();var _iC2=_aB2._44;for(var _Q3=this._DG.length-1;_Q3>=0;_Q3--){var _dE=this._DG._Si(_Q3);if(_dE._86||_dE._Y3==0)continue;
while(_iC2>_dE._44){_aB2._6c(_Tk2);_aB2=this._uB2._ld1();if(_aB2){_iC2=_aB2._44}else {_iC2=-1000000000000}}if(!_dE._cX1[_q_1]){var _Vb2=_MT._Si(_dE._WV);if(_Vb2){if((_dE._XV==1.0)&&(_dE._YV==1.0)&&(_dE._f7==0.0)&&(_dE._ZV==0xffffff)){_Vb2._2W(_dE._yH,_dE.x,_dE.y,_dE._48*_Oe)}else {_Vb2._6c(_dE._yH,_dE.x,_dE.y,_dE._XV,_dE._YV,_dE._f7,_dE._0n2(),_dE._48*_Oe)}}}else {_cb=_dE;_dE._6a(_q_1,0,_dE,_dE);_cb=null;}}while(_aB2){_aB2._6c(_Tk2);_aB2=this._uB2._ld1()}};__b2.prototype._jC2=function(_Tk2){var _Vb2,
_dE,_Q3,_hj,_pj2;_hj=this._DG._hj;_pj2=_MT._b3;for(_Q3=_hj.length-1;_Q3>=0;_Q3--){_dE=_hj[_Q3];if(_dE._86||!_dE._Y3)continue;if(!_dE._cX1[_q_1]){_Vb2=_pj2[_dE._WV];if(_Vb2){_cb=_dE;if((_dE._XV==1.0)&&(_dE._YV==1.0)&&(_dE._f7==0.0)&&(_dE._ZV==0xffffff)){_Vb2._2W(_dE._yH,_dE.x,_dE.y,_dE._48*_Oe)}else {_Vb2._6c(_dE._yH,_dE.x,_dE.y,_dE._XV,_dE._YV,_dE._f7,_dE._0n2(),_dE._48*_Oe)}_cb=null}}else {_cb=_dE;_dE._6a(_q_1,0,_dE,_dE);_cb=null}}};__b2.prototype._kC2=function(_Tk2){var _lC2=_BA2();for(var _Q3=this._DG.length-1;
_Q3>=0;_Q3--){var _dE=this._DG._Si(_Q3);if(_dE._86||_dE._Y3==0)continue;var _mC2=_lC2;while(_lC2>_dE._44){_wA2(_lC2);_lC2=_CA2(_lC2);if(_lC2==_mC2){break }_mC2=_lC2}if(!_dE._cX1[_q_1]){var _Vb2=_MT._Si(_dE._WV);if(_Vb2){if((_dE._XV==1.0)&&(_dE._YV==1.0)&&(_dE._f7==0.0)&&(_dE._ZV==0xffffff)){_Vb2._2W(_dE._yH,_dE.x,_dE.y,_dE._48*_Oe)}else {_Vb2._6c(_dE._yH,_dE.x,_dE.y,_dE._XV,_dE._YV,_dE._f7,_dE._0n2(),_dE._48*_Oe)}}}else {_cb=_dE;_dE._6a(_q_1,0,_dE,_dE);_cb=null}}while(_lC2>-1000000000){_wA2(_lC2);_lC2=_CA2(_lC2)}
};__b2.prototype._nC2=function(_Tk2){var _lC2=_BA2();var _aB2=this._uB2._cB2();var _oC2=_aB2._44;for(var _Q3=this._DG.length-1;_Q3>=0;_Q3--){var _dE=this._DG._Si(_Q3);if(_dE._86||_dE._Y3==0)continue;while(true){if(_oC2>_dE._44){if(_oC2>_lC2){_aB2._6c(_Tk2);_aB2=this._uB2._ld1();if(_aB2){_oC2=_aB2._44}else {_oC2=-1000000000000}}else {_wA2(_lC2);_lC2=_CA2(_lC2)}}else if(_lC2>_dE._44){_wA2(_lC2);_lC2=_CA2(_lC2)}else {break }}if(!_dE._cX1[_q_1]){var _Vb2=_MT._Si(_dE._WV);if(_Vb2){if((_dE._XV==1.0)&&(_dE._YV==1.0)&&(_dE._f7==0.0)&&(_dE._ZV==0xffffff)){
_Vb2._2W(_dE._yH,_dE.x,_dE.y,_dE._48*_Oe)}else {_Vb2._6c(_dE._yH,_dE.x,_dE.y,_dE._XV,_dE._YV,_dE._f7,_dE._0n2(),_dE._48*_Oe)}}}else {_cb=_dE;_dE._6a(_q_1,0,_dE,_dE);_cb=null}}while(true){if(_oC2>_lC2){_aB2._6c(_Tk2);_aB2=this._uB2._ld1();if(_aB2){_oC2=_aB2._44}else {_oC2=-1000000000000}}else {if(_lC2<=-1000000000)break;_wA2(_lC2);_lC2=_CA2(_lC2)}}};__b2.prototype._pC2=function(_Tk2,_CI,_PI){var _9E=_PI._OH;if(_9E!=null){if(!(_9E._86||(!_9E._96)||(!_9E._Y3))){var _Dw=_29._Si(_9E._yI1);if(_Dw!=null){if(_Dw._cX1[_q_1]){
_cb=_9E;_9E._6a(_q_1,0,_9E,_9E);_cb=null}else {var _gU=_MT._Si(_9E._WV);if(_gU!=null){_cb=_9E;if((_9E._XV===1)&&(_9E._YV===1)&&(_9E._f7===0)&&(_9E._0n2()===0xffffff)&&(_9E._48===1)){_gU._2W(_9E._yH,_9E.x,_9E.y,_9E._48*_Oe)}else {_gU._6c(_9E._yH,_9E.x,_9E.y,_9E._XV,_9E._YV,_9E._f7,_9E._0n2(),_9E._48)}_cb=null}}}}}};__b2.prototype._qC2=function(_Tk2,_CI,_PI){for(var _Q3=0;_Q3<_PI._rC2.length();_Q3++){var _sC2=_PI._tC2;for(var _Pa=0;_Pa<_sC2.length();_Pa++){var _5W=_sC2[_Pa]}}};__b2.prototype._uC2=function(_Tk2,
_CI,_PI){var _8K=_PI._TH;if(!_8K._Y3)return;if(_8K._rH)return;var _vC2=_8K._xH;if(_qK(_8K.index)){var _gU=_MT._Si(_8K.index);if(!_gU)return;var _wC2=(~~_8K._yH)%_gU._VT.length;if(_gU._VT[_wC2]!=undefined){if(_8K._wH){var _uH=_h9._1E()/_gU.width;var _vH=_h9._2E()/_gU.height;_Ik2(_gU._VT[_wC2],_CI._AH,0,0,_CI._BH,_uH,_vH,0,_vC2,_vC2,_vC2,_vC2,_8K.alpha)}else _Ak2(_gU._VT[_wC2],_CI._AH,_CI._BH,_8K._uH,_8K._vH,_8K._tH,_8K._sH,_vC2,_8K.alpha)}}else {var _xC2=_Oe;_Oe=_8K.alpha;if(!_tb)_vC2=_Se(_8K._xH);_8B(_vC.left,
_vC.top,_vC.right,_vC.bottom,_vC2,_vC2,_vC2,_vC2,false);_Oe=_xC2}};__b2.prototype._yC2=function(_Tk2,_CI,_PI){if(_qK(_PI._3I)){var _gU=_MT._Si(_PI._3I);if(!_gU)return;var _wC2=(~~_PI._7I)%_gU._VT.length;if(_gU._VT[_wC2]!=undefined){_Ik2(_gU._VT[_wC2],0,0,_PI._WH+_CI._AH-_gU._f3,_PI._XH+_CI._BH-_gU._g3,_PI._8I,_PI._9I,_PI._aI*0.0174532925,_PI._bI,_PI._bI,_PI._bI,_PI._bI,_PI._cI)}}};var _zC2=-1;function __a2(){_zC2=_qX1._3D()}function _AC2(_N9,_O9,_Ii,_Ji,_R9){var _BC2=_qX1._5D(_zC2);if(_BC2){_BC2._bD(_N9);
_BC2._dD(_O9);_BC2._fD(_Ii);_BC2._hD(_Ji);_BC2._rD(_R9);if(_BC2._XC){_BC2._uD(_BC2._vD()+(_BC2._wD()*0.5),_BC2._xD()+(_BC2._yD()*0.5));_BC2._MD()}else {_BC2._oE(_BC2._vD()+(_BC2._wD()*0.5),_BC2._xD()+(_BC2._yD()*0.5));_BC2._MD();_YD=_N9;_ZD=_O9;_WD=_Ii;_XD=_Ji;var _0E=_R9;_sC(_YD,_ZD,_WD,_XD,_0E)}_qX1._GD(_zC2);_BC2._MD()}};;__b2.prototype._CC2=function(_Tk2,_CI,_PI,_YP,_ZP,_hJ){if(_uk(_PI._VH)){var _DC2=_zk(_PI._VH);var _EC2=_Ck(_PI._VH);var _Ak=_xk._yk(_PI._VH);var _FC2=null;var _GC2=1;var _HC2=1;var _IC2=false;
var _r3=0;var _s3=0;var _JC2=0,_KC2=0;var _LC2=0,_MC2=0;if(_Ak._Bk===null||_Ak._Bk===undefined){}else {var _Je=_Ak._Bk;var _Qb=_Je._Hb;if(!_Qb.complete)return;if(_tb)if(!_Qb._bd)_cd({_Hb:_Qb});_GC2=_Je._S3/_Je._k5;_HC2=_Je._T3/_Je._l5;if(_Je._g5!=0||_Je._h5!=0||_Je._i5!=_Je._k5||_Je._j5!=_Je._l5){_IC2=false}else {_IC2=true;_r3=_Ak._r3*_GC2/_Qb.width;_s3=_Ak._s3*_HC2/_Qb.height;var _t3=_Ak._t3*_GC2/_Qb.width;var _u3=_Ak._u3*_HC2/_Qb.height;_LC2=_t3+_Je.x/_Qb.width;_MC2=_u3+_Je.y/_Qb.height;_JC2=_r3+_t3*2;_KC2=_s3+_u3*2;
}}var _NC2,_OC2,_44;if(_CI!=null){_NC2=_CI._AH+_PI._WH;_OC2=_CI._BH+_PI._XH;_44=_CI._44}else {_NC2=_YP;_OC2=_ZP;_44=_hJ}if(_Qb!=null){var _PC2=_zJ._zI();_PC2&=_PI._1I;if(_IC2){var _QC2=2048;var _sZ1=Math.floor((_Tk2.left-_NC2)/_Ak._r3);var _tZ1=Math.floor(((_Tk2.right-_NC2)+_Ak._r3)/_Ak._r3);var _uZ1=Math.floor((_Tk2.top-_OC2)/_Ak._s3);var _vZ1=Math.floor(((_Tk2.bottom-_OC2)+_Ak._s3)/_Ak._s3);_sZ1=_Ha(0,_sZ1);_tZ1=_Ja(_PI._YH,_tZ1);_uZ1=_Ha(0,_uZ1);_vZ1=_Ja(_PI._ZH,_vZ1);var _RC2=_Ak._r3;var _SC2=_Ak._s3;
var _v3=_Ak._v3;var _TC2=(_tZ1-_sZ1)*(_vZ1-_uZ1);var _UC2=0;var _VC2=null;var _WC2=null;var _jd,_kK,_md,_od,_qd,_sd,_td,_ud,_vd,_wd,_xd;if(_tb){for(var y=_uZ1;y<_vZ1;y++){var index=y*_PI._YH+_sZ1;for(var x=_sZ1;x<_tZ1;x++,index++,_TC2--){var _XC2=_PI._0I[index];_XC2&=_PC2;var _YC2=(_XC2>>_nH)&_pH;if(_YC2===0)continue;_YC2=_Ak._Ze2[_YC2*_Ak.frames+_PI.__H];if(_YC2===0)continue;if(_UC2===0){_UC2=_Ja(_TC2,_QC2);_VC2=_tb._fd(_gd._hd,_Qb._bd,_tb._id,_UC2*6);_jd=_VC2._kd()>>2;_kK=_jd*_VC2._ld;_VC2._ld+=_UC2*6;_md=_VC2._nd;
_od=_VC2._pd;_qd=_VC2._rd;_sd=_kK;_td=_sd+_jd;_ud=_td+_jd;_vd=_ud+_jd;_wd=_vd+_jd;_xd=_wd+_jd}var _HZ1=x*_RC2+_NC2;var _ZC2=y*_SC2+_OC2;var _PB2=((_YC2%_v3)*_JC2)+_LC2;var _QB2=(Math.floor(_YC2/_v3)*_KC2)+_MC2;var __C2=_HZ1;var _0D2=_ZC2;var _1D2=_HZ1+_RC2;var _2D2=_ZC2;var _3D2=_HZ1;var _4D2=_ZC2+_SC2;var _5D2=_HZ1+_RC2;var _6D2=_ZC2+_SC2;var _7D2=_PB2;var _8D2=_QB2;var _9D2=_PB2+_r3;var _aD2=_QB2;var _bD2=_PB2;var _cD2=_QB2+_s3;var _dD2=_PB2+_r3;var _eD2=_QB2+_s3;if(_XC2&_lH){if(_XC2&_iH){var _1B;_1B=_7D2;_7D2=_9D2;
_9D2=_1B;_1B=_bD2;_bD2=_dD2;_dD2=_1B}if(_XC2&_hH){var _1B;_1B=_8D2;_8D2=_cD2;_cD2=_1B;_1B=_aD2;_aD2=_eD2;_eD2=_1B}if(_XC2&_jH){var _1B;_1B=_7D2;_7D2=_bD2;_bD2=_dD2;_dD2=_9D2;_9D2=_1B;_1B=_8D2;_8D2=_cD2;_cD2=_eD2;_eD2=_aD2;_aD2=_1B}}_md[_sd+0]=__C2;_md[_sd+1]=_0D2;_md[_sd+2]=_44;_md[_td+0]=_md[_wd+0]=_1D2;_md[_td+1]=_md[_wd+1]=_2D2;_md[_td+2]=_md[_wd+2]=_44;_md[_ud+0]=_md[_vd+0]=_3D2;_md[_ud+1]=_md[_vd+1]=_4D2;_md[_ud+2]=_md[_vd+2]=_44;_md[_xd+0]=_5D2;_md[_xd+1]=_6D2;_md[_xd+2]=_44;_od[_sd]=_od[_td]=_od[_ud]=_od[_vd]=_od[_wd]=_od[_xd]=0xffffffff;
_qd[_sd+0]=_7D2;_qd[_sd+1]=_8D2;_qd[_td+0]=_qd[_wd+0]=_9D2;_qd[_td+1]=_qd[_wd+1]=_aD2;_qd[_ud+0]=_qd[_vd+0]=_bD2;_qd[_ud+1]=_qd[_vd+1]=_cD2;_qd[_xd+0]=_dD2;_qd[_xd+1]=_eD2;_sd+=_jd*6;_td+=_jd*6;_ud+=_jd*6;_vd+=_jd*6;_wd+=_jd*6;_xd+=_jd*6;_UC2--}}if(_UC2>0)_VC2._ld-=_UC2*6}else {for(var y=_uZ1;y<_vZ1;y++){var index=y*_PI._YH+_sZ1;for(var x=_sZ1;x<_tZ1;x++,index++,_TC2--){var _XC2=_PI._0I[index];var _YC2=(_XC2>>_nH)&_pH;if(_YC2===0)continue;_YC2=_Ak._Ze2[_YC2*_Ak.frames+_PI.__H];if(_YC2===0)continue;var _HZ1=x*_RC2+_NC2;
var _ZC2=y*_SC2+_OC2;var _PB2=((_YC2%_v3)*_JC2)+_LC2;var _QB2=(Math.floor(_YC2/_v3)*_KC2)+_MC2;var __C2=_HZ1;var _0D2=_ZC2;var _1D2=_HZ1+_RC2;var _2D2=_ZC2;var _3D2=_HZ1;var _4D2=_ZC2+_SC2;var _5D2=_HZ1+_RC2;var _6D2=_ZC2+_SC2;var _7D2=_PB2;var _8D2=_QB2;var _9D2=_PB2+_r3;var _aD2=_QB2;var _bD2=_PB2;var _cD2=_QB2+_s3;var _dD2=_PB2+_r3;var _eD2=_QB2+_s3;if(_XC2&_lH){var _Hl2=1;var _Il2=1;var _1W=0;if(_XC2&_iH){_Hl2=-_Hl2}if(_XC2&_hH){_Il2=-_Il2}if(_XC2&_jH){_1W=-1.5708}_Rj2(Math.floor(__C2)+_RC2*0.5,Math.floor(_0D2)+_SC2*0.5,
_Hl2,_Il2,-_1W);_Ic._UT(_Qb,Math.floor(_7D2*_Qb.width),Math.floor(_8D2*_Qb.height),Math.floor(_r3*_Qb.width),Math.floor(_s3*_Qb.height),-_RC2*0.5,-_RC2*0.5,_RC2,_SC2);_Tj2()}else {_Ic._UT(_Qb,Math.floor(_7D2*_Qb.width),Math.floor(_8D2*_Qb.height),Math.floor(_r3*_Qb.width),Math.floor(_s3*_Qb.height),Math.floor(__C2),Math.floor(_0D2),_RC2,_SC2)}}}}}}}};__b2.prototype._fD2=function(_Tk2,_CI,_PI){_AA2(_PI._eI)};__b2.prototype._gD2=function(_Tk2,_CI,_PI){if(!_PI._EH)return false;var _gU=_MT._Si(_PI._Mw);
if(_gU!=null){var _Ok=_gU._VT[0];if((_Ok._Hb instanceof HTMLImageElement)&&(_Ok._m5>=_Ib.length))return;if((_Ib[_Ok._m5] instanceof HTMLImageElement)&&(!_Ib[_Ok._m5].complete))return;_Ck2(_Ok,_PI._iI,_PI._jI,_PI._gI,_PI._hI,_PI._WH,_PI._XH,_PI._8I,_PI._9I,_PI._bI,_PI._cI)}};__b2.prototype._hD2=function(_Tk2){var _bJ,_cJ,_Q3,_hj;_hj=this._WI._hj;for(_Q3=_hj.length-1;_Q3>=0;_Q3--){_bJ=_hj[_Q3];if(_bJ===null||_bJ._EH<=0){continue }if(_zJ._xI()){_mp(_zJ._yI())}else {_mp(_bJ._44)}for(var _Pa=0;_Pa<_bJ._LH.length;
_Pa++){_cJ=_bJ._LH._Si(_Pa);if(_cJ!=null){if(_cJ._PH===_5H){this._uC2(_Tk2,_bJ,_cJ)}else if(_cJ._PH===_6H){this._pC2(_Tk2,_bJ,_cJ)}else if(_cJ._PH===_7H){this._qC2(_Tk2,_bJ,_cJ)}else if(_cJ._PH===_8H){this._yC2(_Tk2,_bJ,_cJ,0,0,0)}else if(_cJ._PH===_9H){this._CC2(_Tk2,_bJ,_cJ)}else if(_cJ._PH===_aH){this._fD2(_Tk2,_bJ,_cJ);}else if(_cJ._PH===_bH){this._gD2(_Tk2,_bJ,_cJ)}}}}};__b2.prototype._iD2=function(_Tk2){_vC=_Tk2;_pE();if(this._nB2){_Bk2(_Se(_q6._ki2))}this._jD2(_Tk2,_g02);if(this._WI!=null&&this._WI.length>0){
this._hD2(_Tk2)}else {for(var _Q3=0;_Q3<_xk._wk.length;_Q3++){var _Ak=_xk._Si(_Q3);if(_Ak){_Ak._Y3=_q6._mi2[_Q3];_Ak._rH=_q6._ni2[_Q3];_Ak.x=_q6._oi2[_Q3];_Ak.y=_q6._pi2[_Q3];_Ak.index=_q6._r6[_Q3];_Ak._3f2=_q6._si2[_Q3];_Ak._4f2=_q6._ti2[_Q3];_Ak.alpha=_q6._zi2[_Q3];_Ak._xH=_q6._yi2[_Q3];_Ak._kD=_q6._wi2[_Q3];_Ak._mD=_q6._xi2[_Q3];_Ak._uH=_q6._ui2[_Q3];_Ak._vH=_q6._vi2[_Q3];if(_Ak!=null&&_Ak._Y3&&!_Ak._rH){var _gU=_xk._yk(_Ak.index);if(_gU!=null){if(_Ak._wH){_KV(_gU._Bk,_Ak.x,_Ak.y,this._cK,this._eK,
_Ak._xH,_Ak.alpha)}else {_Ak2(_gU._Bk,_Ak.x,_Ak.y,_Ak._uH,_Ak._vH,_Ak._4f2,_Ak._3f2,_Ak._xH,_Ak.alpha)}}}}}if(this._uB2._8B2._Fb>0){if(_E82.length!=0){this._nC2(_Tk2)}else {this._hC2(_Tk2)}}else if(_E82.length!=0){this._kC2(_Tk2)}else {this._jC2(_Tk2)}for(var _Q3=0;_Q3<_xk._wk.length;_Q3++){var _Ak=_xk._Si(_Q3);if(_Ak!=null&&_Ak._Y3&&_Ak._rH){var _gU=_xk._yk(_Ak.index);if(_gU!=null){if(_Ak._wH){_KV(_gU._Bk,_Ak.x,_Ak.y,this._cK,this._eK,_Ak._xH,_Ak.alpha)}else {_Ak2(_gU._Bk,_Ak.x,_Ak.y,_Ak._uH,_Ak._vH,_Ak._4f2,
_Ak._3f2,_Ak._xH,_Ak.alpha)}}}}}this._jD2(_Tk2,_h02)};__b2.prototype._kD2=function(){if(_D92>=0){var _NT=_MT._Si(_D92);if(_NT!=null){_NT._6c(_E92,_qi._KX1-_5i.left,_qi._LX1-_5i.top,1.0,1.0,0,0xffffff,1.0)}_E92++;if(_E92>_NT._Ea)_E92-=_NT._Ea}};function _lD2(_mD2,_nD2){if(_nD2!=-1){_03._z3[_nD2](null,null)}};function _oD2(_pD2){if(_pD2!=-1){_vQ(_pD2)}};function _qD2(_pD2){if(_pD2!=-1){_xQ()}};__b2.prototype._jD2=function(_Tk2,_5F){var _Vb2,_dE,_Q3,_hj,_pj2;_pE();if((this._WI.length>0)){var _bJ,_cJ;_hj=this._WI._hj;
for(_Q3=_hj.length-1;_Q3>=0;_Q3--){_bJ=_hj[_Q3];if(_bJ==null||_bJ._EH==false){continue }_oD2(_bJ._JH);_lD2(_bJ._DC,_bJ._HH);for(var _Pa=0;_Pa<_bJ._LH.length;_Pa++){_cJ=_bJ._LH._Si(_Pa);if(_cJ!=null){if(_cJ._PH===_6H){_dE=_cJ._OH;if(_dE!=null){if(!(_dE._86||(!_dE._96)||(!_dE._Y3))){if(_dE._cX1[_5F]){_dE._6a(_5F,0,_dE,_dE)}}}}}}_lD2(_bJ._DC,_bJ._IH);_qD2(_bJ._JH)}}else {_hj=this._DG._hj;_pj2=_MT._b3;for(_Q3=_hj.length-1;_Q3>=0;_Q3--){_dE=_hj[_Q3];if(_dE._86||!_dE._Y3)continue;if(_dE._cX1[_5F]){_dE._6a(_5F,
0,_dE,_dE)}}}};__b2.prototype._rD2=function(_Ia){_hV=_X82;_hV._6i=0;_hV._8i=0;_hV._nV=_Ia.right;_hV._oV=_Ia.bottom;_hV._7i=_Ia.right;_hV._9i=_Ia.bottom;_hV._sD2=1.0;_hV._tD2=1.0;_Gk2();{_pV(0,0,_Ia.right,_Ia.bottom);_qV(0,0,_Ia.right,_Ia.bottom,0);if(this._pB2&&_wZ){_Bk2(_aW)}this._jD2(_Ia,_k02)}_Fk2()};__b2.prototype._uD2=function(){if(_wZ){if(_PU<0){_PU=_Hk(_xZ,_yZ);_q6._fj2=_PU;debug("Application Surface created: w="+_xZ+", h="+_yZ)}if(_QU){_QU=false;_Hk(_RU,_SU,_PU);_xZ=_RU;_yZ=_SU;debug("Application Surface resized: w="+_xZ+", h="+_yZ);
_vD2()}_dV(_PU)}};__b2.prototype._wD2=function(_Ia){var _xD2=new __v();_xD2._Li(_vC);if(_j9){_AC2(0,0,_Ia.right,_Ia.bottom,0)}_qW=1;_rW=1;this._uD2();this._fC2();var __h;if(!this._0i){__h=_1i;_pV(0,0,_xZ,_yZ);if(_j9){_AC2(0,0,_h9._cK,_h9._eK,0)}else {_qV(0,0,_h9._cK,_h9._eK,0)}}else {__h=this._2i;if(this._oB2){_pV(0,0,_xZ,_yZ);_qV(0,0,_xZ,_yZ,0);_Bk2(_aW)}}var _yD2=_xD2.right-_xD2.left;var _zD2=_xD2.bottom-_xD2.top;var _AD2=_zZ._S3/_yD2;var _BD2=_zZ._T3/_zD2;var _Ol2=_xZ/_yD2;var _Pl2=_yZ/_zD2;_W82=0;for(var _Q3=0;
_Q3<__h.length;_Q3++){_hV=__h[_Q3];if(_hV._Y3){var _CD2=_vV;_Gk2();{if(_hV._cC2!=-1){_4V(_hV._cC2)}_hV._6i=_hV._jV*_Ol2+_zZ.x;_hV._8i=_hV._kV*_Pl2+_zZ.y;_hV._nV=_hV._lV*_Ol2;_hV._oV=_hV._mV*_Pl2;_hV._7i=_hV._6i+_hV._nV;_hV._9i=_hV._8i+_hV._oV;_hV._sD2=_hV._nV/_hV._gD;_hV._tD2=_hV._oV/_hV._iD;if(_hV._cC2!=-1){_pV(0,0,_1V(_hV._cC2),_2V(_hV._cC2))}else {_pV(_hV._jV*_Ol2,_hV._kV*_Pl2,_hV._lV*_Ol2,_hV._mV*_Pl2)}if(_j9){_qX1._GD(_hV._rX1);var _pX1=_qX1._FD();if(_pX1!=null){_pX1._Ef();_pX1._MD()}}else _qV(_hV._cD,
_hV._eD,_hV._gD,_hV._iD,_hV.angle);if((!_j9)){if(Math.abs(_hV.angle)<0.001){_Ia.left=_hV._cD;_Ia.top=_hV._eD;_Ia.right=_hV._cD+_hV._gD;_Ia.bottom=_hV._eD+_hV._iD}else {var _wC=_hV.angle*(_Na/180);var _Rw=Math.abs(Math.sin(_wC));var _R3=Math.abs(Math.cos(_wC));var _9y=(_R3*_hV._gD)+(_Rw*_hV._iD);var _xC=(_Rw*_hV._gD)+(_R3*_hV._iD);_Ia.left=_hV._cD+(_hV._gD-_9y)/2;_Ia.right=_hV._cD+(_hV._gD+_9y)/2;_Ia.top=_hV._eD+(_hV._iD-_xC)/2;_Ia.bottom=_hV._eD+(_hV._iD+_xC)/2}_q6._Bi2=_W82;this._iD2(_Ia)}else {_q6._Bi2=_W82;
this._iD2(_vC)}if(_hV._cC2!=-1){_sV()}_W82++;if(_j9){var _pX1=_qX1._FD();if(_pX1!=null){_pX1._Gf()}_qX1._GD(-1)}}_Fk2()}}_vC._Li(_xD2)};__b2.prototype._DD2=function(_Ia){if(_ED2&&_wZ){_Gk2({_FD2:true,_GD2:true});_Ia.left=0;_Ia.top=0;_Ia.right=_t8();_Ia.bottom=_u8();var rect=_zZ;var _Su1=_tb;var _HD2=_Su1&&_Mo();if(_Su1)_2o(false);_pV(0,0,_Ia.right,_Ia.bottom);_qV(0,0,_Ia.right,_Ia.bottom,0);_JV(_PU,rect.x,rect.y,rect._S3,rect._T3);if(_Su1)_2o(_HD2);_Fk2({_ID2:true,_JD2:true})}};__b2.prototype._KD2=function(_Ia){
_Ia.left=0;_Ia.top=0;_Ia.right=_t8();_Ia.bottom=_u8();_hV=_X82;_hV._6i=0;_hV._8i=0;_hV._nV=_Ia.right;_hV._oV=_Ia.bottom;_hV._7i=_Ia.right;_hV._9i=_Ia.bottom;_hV._sD2=1.0;_hV._tD2=1.0;_Gk2();{_pV(0,0,_Ia.right,_Ia.bottom);_qV(0,0,_Ia.right,_Ia.bottom,0);this._jD2(_Ia,_l02)}_Fk2()};__b2.prototype._Lr2=function(_Ia){var _LD2=_qW;var _MD2=_rW;var _Sz=_Tz;var _Qz=_Rz;if(_Sz<0)_Sz=_t8();if(_Qz<0)_Qz=_u8();_Gk2({_FD2:true});{_Ia.left=0;_Ia.top=0;_Ia.right=_t8();_Ia.bottom=_u8();_qW=_Ia.right/_Sz;_rW=_Ia.bottom/_Qz;
_hV=_X82;_hV._6i=0;_hV._8i=0;_hV._nV=_Ia.right;_hV._oV=_Ia.bottom;_hV._7i=_Ia.right;_hV._9i=_Ia.bottom;_hV._sD2=_qW;_hV._tD2=_rW;_1A=true;_pV(0,0,_Ia.right,_Ia.bottom);_2A();var _xD2=new __v();_xD2._Li(_vC);_vC.left=0;_vC.top=0;_vC.right=_Sz;_vC.bottom=_Qz;this._jD2(_Ia,_i02);this._jD2(_Ia,_e02);this._jD2(_Ia,_j02);_1A=false;_vC._Li(_xD2)}_Fk2({_ID2:true});_qW=_LD2;_rW=_MD2};__b2.prototype._ND2=function(_Ia){if(_D92>=0){_Gk2();_pV(0,0,_Ia.right,_Ia.bottom);_qV(0,0,_Ia.right,_Ia.bottom,0);this._kD2();
_Fk2()}};__b2.prototype._6c=function(){_Gk2();var _Ia=new __v();if(this._0i){_Ia.left=0;_Ia.top=0;_Ia.right=_t8();_Ia.bottom=_u8()}else {_Ia._Li(_vC)}this._rD2(_Ia);this._wD2(_Ia);if(_wZ){_sV()}if(_MU.length!=0){_Ti("Unbalanced surface stack. You MUST use surface_reset_target() for each set.");return }this._KD2(_Ia);this._DD2(_Ia);this._Lr2(_Ia);this._ND2(_Ia);_Fk2()};function _2A(){var _Sz=_Tz;var _Qz=_Rz;if(_Sz<0)_Sz=_gW;if(_Qz<0)_Qz=_hW;var _Ol2=1;var _Pl2=1;var _yO1=0;var _zO1=0;if(_Xz){_Ol2=__z;_Pl2=_0A;
_yO1=_Yz;_zO1=_Zz;_Hk2(_Ol2,_Pl2,_yO1,_zO1)}else {_yO1=_zZ.x;_zO1=_zZ.y;if(_Tz>0){_Ol2=_zZ._S3/_Sz}if(_Rz>0){_Pl2=_zZ._T3/_Qz}_Hk2(_Ol2,_Pl2,_yO1,_zO1)}_pE()};__b2.prototype._OD2=function(){var _PD2=[];var _QD2=_eE._7p2._hj;for(var _Q3=0;_Q3<_QD2.length;_Q3++){var _dE=_QD2[_Q3];if(_dE._86){_PD2[_PD2.length]=_dE}}for(var _Q3=0;_Q3<_PD2.length;_Q3++){var _dE=_PD2[_Q3];this._2C2(_dE)}};__b2.prototype._2C2=function(_dE){if(this._8P&&_dE._3Q){this._8P._5f1(_dE._3Q)}_eE._ap2(_dE);this._DG._LJ(_dE);this._sB2._EI(_dE);
_dE._JG._7n2(_dE)};__b2.prototype._RD2=function(_0l){if(_0l._96){this._DG._LJ(_0l);_0l._JG._7n2(_0l);this._sB2._4j(_0l);_0l._96=false}};__b2.prototype._bB2=function(_Pi){var _3W=this._4W[_Pi];if(_3W){this._uB2._bB2(_3W);this._4W[_Pi]=undefined;this._tB2--}};__b2.prototype._SD2=function(){if(this._3n2.length==0)return;var _9j=this._3n2;var _96=this._DG;var _TD2;var _UD2;if(_96._Gx2<0){_UD2=_96._hj.length}else {_UD2=_96._Gx2}var _Fb=0;for(var _Q3=0;_Q3<_9j.length;_Q3++){var _dE=_9j[_Q3];for(var _Pa=0;_Pa<_UD2;
_Pa++){if(_dE==_96._hj[_Pa]){_96._hj.splice(_Pa,1);_96._hj[_96._hj.length]=_dE;_Fb+=1;_UD2-=1;break;}}}if(_Fb>0){if(_96._Gx2<0){_96._Gx2=_96._hj.length-_Fb}else {_96._Gx2-=_Fb}}this._3n2=[]};function _Sa2(){this._VD2=[];this._6c2=[]}_Sa2.prototype._1c2=function(_Dw1){this._6c2=_Dw1};_Sa2.prototype._4j=function(_WD2){return this._VD2[this._VD2.length]=_WD2};_Sa2.prototype._Si=function(_XD2){if(_XD2<0||_XD2>=this._VD2.length)return null;return this._VD2[_XD2]};_Sa2.prototype._2c2=function(_XD2){return this._VD2[this._6c2[_XD2]]}
;_Sa2.prototype._LJ=function(_XD2){this._VD2[_XD2]=null;};_Sa2.prototype._YD2=function(){for(var _ZD2 in this._VD2){if(!this._VD2.hasOwnProperty(_ZD2))continue;var _ZI=this._VD2[_ZD2];_ZI._0c2(_ZI._9Q)}};var _bT=[];/*@constructor */function __D2(){this.__type="[sound]";this._33="";this._43=0;this._53="";this._63="";this._73=0;this.volume=1;this._83=0;this.preload=true;this._0E2=1.0;this._1E2=0;this._2E2=[]}__D2.prototype._3E2=function(_0f2){this._33=_0f2._33;this._43=_0f2._43;this._53=_0f2._53;this._63=_0f2._63;
this._73=_0f2._73;this.volume=_0f2.volume;this._83=_0f2._83;this.preload=_0f2.preload;this._0E2=this.volume;this._nT(this._33)};__D2.prototype._nT=function(_1k){this._1E2=0;this._2E2=[];if((_0F==_WZ1)||(_0F==_1F)||(_0F==_VZ1)){_d82=1;this._2E2[0]=_bT[this._33]}else {if(_bT[this._33]!=null){for(var _Q3=0;_Q3<_d82;_Q3++){this._2E2[_Q3]=_bT[this._33].cloneNode(true);}}}};var _4E2=!1;function _wb2(_LE,_Pi,_1T,_FE,_mT1){_LE=_QR(_LE);if(_7T==false){return undefined}var _5E2=false;var _PR;var index;index=_LE.indexOf(_1T);
if(index>0){_LE=_LE.substr(0,index)}if(_RR){_1T="ogg"}else if(_SR){_1T="mp3"}else {_1T="ogg"}_5E2=true;if(_5E2){_LE=_LE+"."+_1T;try{var _3k=new Audio();_3k.URL=_LE;_3k._0E2=1.0;_3k.autobuffer=true;if(typeof _3k.loop=='boolean')_3k.loop=false;_3k.preload='auto';_3k._cb2=false;_3k._6E2=false;var _Sk=document.createElement('source');_Sk.setAttribute("src",_LE);if(_1T=="ogg"){_Sk.setAttribute("type",'audio/ogg');_Sk.setAttribute("codecs",'vorbis')}else {_Sk.setAttribute("type",'audio/mpeg')}_3k.setAttribute("networkState",
0);_3k.insertBefore(_Sk,null);document.body.appendChild(_3k);_bT[_Pi]=_3k;_3k.addEventListener('canplaythrough',_FE,false);_3k.addEventListener('error',_mT1,false);_3k.addEventListener("loadstart",_9b2,false);_3k.addEventListener("suspend",_ab2,false);_3k.addEventListener("stalled",_bb2,false);_3k.addEventListener("stall",_bb2,false);_3k.load()}catch(e){if(_0F==_XZ1&&_4E2==false){var _7E2=navigator;_4E2=true;var _8E2=_7E2.userAgent.indexOf("Windows");if(_8E2!=-1){alert("Audio Error: Please ensure that quicktime is installed")}
}}}return _Pi}/*@constructor */function _Va2(){this._23=[];this.length=0}_Va2.prototype._LJ=function(_IS){if(this._23[_IS]){this._9E2(_IS);this._23[_IS]=undefined}};/*@this {yySound} */function _aE2(){this._6E2=false}_Va2.prototype._bE2=function(_IS){try{var _cE2=this._23[_IS];if(!_cE2)return null;var _dE2=_cE2._2E2[this._23[_IS]._1E2];this._23[_IS]._1E2++;if(this._23[_IS]._1E2>=_d82){this._23[_IS]._1E2=0}return _dE2}catch(e){debug("Sound buffer unavailable for sound: "+_IS)}return null};_Va2.prototype._6k=function(_IS){
var _cE2=this._bE2(_IS);if(_cE2!=null){try{if(_cE2._6E2)return;var buffered=_cE2.buffered;var _eE2=_cE2.buffered.length;var _Q3;for(_Q3=0;_Q3<_eE2;_Q3++){var start=_cE2.buffered.start(_Q3);var end=_cE2.buffered.end(_Q3)}_cE2.removeEventListener('ended',_fE2,false);_cE2.removeEventListener('ended',_aE2,false);if(typeof _cE2.loop=='boolean'){_cE2.loop=false}try{if(_cE2.currentTime!=0){_cE2.currentTime=0}}catch(_9y){if(__S)debug("Error setting current sound time: "+this._23[_IS]._33)}_cE2.volume=this._23[_IS]._0E2*_i92;
_cE2.addEventListener('ended',_aE2,false);_cE2._6E2=true;_cE2.play()}catch(_9y){if(__S)debug("Error playing sound: "+this._23[_IS]._33)}}};_Va2.prototype._9E2=function(_qf){{var _gE2=this._23[_qf];if(!_gE2)return;_gE2=_gE2._2E2;for(var _Q3=0;_Q3<_gE2.length;_Q3++){var _cE2=_gE2[_Q3];if(_cE2!=null){try{_cE2.pause();_cE2._6E2=false}catch(_9y){if(__S)debug("Error stopping sound: "+this._23[_qf]._33)}}}}};/*@this {yySound} */function _fE2(){try{this.currentTime=0}catch(_9y){if(__S)debug("Error in Repeat_Sound_Callback: "+_9y.message)}
this.play()}_Va2.prototype._5k=function(_IS){var _cE2=this._bE2(_IS);if(_cE2!=null){try{if(typeof _cE2.loop=='boolean'){_cE2.loop=true}else {_cE2.removeEventListener('ended',_fE2,false);_cE2.removeEventListener('ended',_aE2,false);_cE2.addEventListener('ended',_fE2,false);_cE2.onended=null}try{if(_cE2.currentTime!=0){_cE2.currentTime=0}}catch(_9y){if(__S){debug("Error setting current sound time: "+this._23[_IS]._33)}}_cE2.volume=this._23[_IS]._0E2*_i92;_cE2._6E2=true;_cE2.play()}catch(_9y){if(__S){
debug("Error looping sound: "+this._23[_IS]._33)}}}};_Va2.prototype._Si=function(_IS){if(_IS<0||_IS>=this._23.length)return null;return this._23[_IS]};_Va2.prototype._Qh=function(){this._23=[];this._23.length=0};_Va2.prototype._4j=function(_0f2){var _Ak=null;if(this._0f2!=null){_Ak=new __D2();_Ak._3E2(this._0f2)}this._23[this._23.length]=_Ak};/*@constructor */function __v(){this.left=0;this.top=0;this.right=0;this.bottom=0}__v.prototype._Li=function(_mU){this.left=_mU.left;this.right=_mU.right;this.top=_mU.top;
this.bottom=_mU.bottom};/*@constructor */function _0U(){this.__type="[sprite]";this._33="sprite";this.width=16;this.height=16;this._3U=new __v;this._c3=true;this._d3=true;this.preload=true;this._4U=0;this._5U=false;this._Gn2=false;this._f3=0;this._g3=0;this._6U=false;this._Ea=0;this._fU=8;this._7U=false;this._8U=false;this._Fa=[];this._hE2=[];this._VT=[];this._p3=[];this._j3=0;this._k3=30}_0U.prototype._Fn2=function(){return this._5U};_0U.prototype._AJ1=function(){return this._Ea};_0U.prototype._9U=function(){
var _iE2=(this._g3*this._g3);var _jE2=(this._f3*this._f3);var _kE2=(this.width-this._f3)*(this.width-this._f3);var _lE2=(this.height-this._g3)*(this.height-this._g3);var _mE2=~~ceil(sqrt(_jE2+_iE2));var _nE2=~~ceil(sqrt(_kE2+_iE2));var _oE2=~~ceil(sqrt(_jE2+_lE2));var _pE2=~~ceil(sqrt(_kE2+_lE2));this._fU=_Ha(_mE2,_Ha(_nE2,_Ha(_oE2,_pE2)))};_0U.prototype._qE2=function(_rE2,_PP,_QP){try{if(_MT._sE2!==undefined){var _tE2=true;var _aN=0;var _uE2=_MT._sE2[_rE2];var _Wx1=new DataView(_uE2);if(_Wx1!==undefined){var _vE2=_Wx1.getInt32(_aN,
_tE2);var _wE2=(1<<31);if((_vE2&_wE2)!=0){_vE2&=(~_wE2);_aN+=4}_aN+=4;var _xE2=null;if(_vE2>0){_xE2=new Uint8Array(_uE2,_aN,_vE2);_aN+=((_vE2+3)&~3)}var _yE2=_Wx1.getUint32(_aN,_tE2);_aN+=4;this._zE2=[];for(var _Q3=0;_Q3<_yE2;_Q3++){var type=_Wx1.getInt32(_aN,_tE2);_aN+=4;var id=_Wx1.getInt32(_aN,_tE2);_aN+=4;var _AE2=null;if(type===_sT1){_AE2=new _BT1(type,id);_aN=_AE2._CT1(_Wx1,_aN,_tE2,this._zE2)}else if(type===_tT1){_AE2=new _8T1(type,id);_aN=_AE2._aT1(_uE2,_Wx1,_aN,_tE2,_xE2)}else {_AE2={type:_rT1,id:id}
}this._zE2.push(_AE2)}this._BE2=new _yU1();_aN=this._BE2._CU1(_Wx1,_aN,_tE2);if(this._BE2._BU1._DU1>0){_aN=this._CE2(_Wx1,_aN,_tE2)}else {this.width=this._BE2._ga;this.height=this._BE2._ia;this._5U=false}this._4U=0;this.preload=true;if(!this._5U){this._3U.left=this._BE2._fa;this._3U.right=this._BE2._ga;this._3U.top=this._BE2._ha;this._3U.bottom=this._BE2._ia;this._f3=_PP;this._g3=_QP}this._9U();this._DE2()}}}catch(e){debug("Cannot build SWF data "+e.message)}};_0U.prototype._CE2=function(_bT1,_cT1,
_dT1){if(true!=this._5U){return }this._Fa=[];this.width=this._BE2._BU1._EU1;this.height=this._BE2._BU1._FU1;var _DU1=this._BE2._BU1._DU1;for(var _Q3=0;_Q3<_DU1;_Q3++){var _EE2=_bT1.getInt32(_cT1,_dT1);_cT1+=4;var _FE2=_cT1;var _GE2=0;var _EA1=[];for(var _Pa=0;_Pa<_EE2;_Pa++){var _HE2=_bT1.getUint8(_cT1,_dT1);_cT1+=1;var _IE2=((_HE2)&0x80)!=0?true:false;var _JE2=((_HE2)&0x7f)+1;for(var _uj=0;_uj<_JE2;_uj++){_EA1[_GE2++]=_IE2}}this._Fa[_Q3]=_EA1;_cT1=_FE2+((_EE2+3)&~3)}this._7U=true;return _cT1};_0U.prototype._DE2=function(){
this._6c=function(_M9,_N9,_O9,_4t,_5t,_R9,_Qe,_Re){_Kk2(this._zE2,this._BE2,_M9,this._f3,this._g3,_N9,_O9,_4t,_5t,_R9,_Qe,_Re,this._VT)};this._2W=function(_KE2,_N9,_O9,_Re){_Kk2(this._zE2,this._BE2,_KE2,this._f3,this._g3,_N9,_O9,1.0,1.0,0.0,0xffffffff,_Re,this._VT)}};_0U.prototype._LE2=function(_ME2){if(_ME2>=0){if(_MT._TQ1!==undefined){var _WL1=_MT._TQ1[_ME2];this._Zm2=new _pb();this._Zm2._Jb(_WL1._4G,_WL1._qS1,_WL1.width,_WL1.height)}this._6c=function(_M9,_N9,_O9,_4t,_5t,_R9,_Qe,_Re){this._Zm2._6c(_M9,
_N9,_O9,_4t,_5t,_R9,_Qe,_Re)};this._2W=function(_M9,_N9,_O9,_Re){this._Zm2._6c(_M9,_N9,_O9,1,1,0,0xffffff,_Re)}}};function _NE2(_OE2,_VA1){if(_OE2._p3[_VA1]!=null){var _ua=[];var src=0;var _Xn=0;var _Al;while(src<_OE2._p3[_VA1].length){var _PE2=_OE2._p3[_VA1][src++];if(_PE2&0x80){_PE2=(_PE2&0x7f)+1;_Al=_OE2._p3[_VA1][src++];for(var _uc=0;_uc<_PE2;_uc++){_ua[_Xn++]=_Al}}else {_PE2++;for(var _uc=0;_uc<_PE2;_uc++){_ua[_Xn++]=_OE2._p3[_VA1][src++]}}}}_OE2._p3[_VA1]=_ua}function _Wb2(_QE2){var _Vb2=new _0U();if(_QE2._33!==undefined)_Vb2._33=_QE2._33;
if(_QE2.width!==undefined)_Vb2.width=_QE2.width;if(_QE2.height!==undefined)_Vb2.height=_QE2.height;if(_QE2._n3!==undefined)_Vb2._3U.left=_QE2._n3;if(_QE2._h3!==undefined)_Vb2._3U.right=_QE2._h3;if(_QE2._o3!==undefined)_Vb2._3U.top=_QE2._o3;if(_QE2._i3!==undefined)_Vb2._3U.bottom=_QE2._i3;if(_QE2._c3!==undefined)_Vb2._c3=_QE2._c3;if(_QE2._d3!==undefined)_Vb2._d3=_QE2._d3;if(_QE2.preload!==undefined)_Vb2.preload=_QE2.preload;if(_QE2._m3!==undefined)_Vb2._4U=_QE2._m3;if(_QE2._e3!==undefined)_Vb2._5U=_QE2._e3==1;
if(_QE2._e3!==undefined)_Vb2._Gn2=_QE2._e3==2;if(_QE2._f3!==undefined)_Vb2._f3=_QE2._f3;if(_QE2._g3!==undefined)_Vb2._g3=_QE2._g3;if(_QE2._j3!==undefined)_Vb2._j3=_QE2._j3;if(_QE2._k3!==undefined)_Vb2._k3=_QE2._k3;_Vb2._p3=null;if(_QE2._RE2!==undefined){_Vb2._qE2(_QE2._RE2,_Vb2._f3,_Vb2._g3)}if(_QE2._SE2!==undefined){_Vb2._LE2(_QE2._SE2)}if(_QE2._p3!==undefined)_Vb2._p3=_QE2._p3;_Vb2._VT=[];for(var _Q3=_QE2._l3.length-1;_Q3>=0;_Q3--){_Vb2._VT[_Q3]=_QE2._l3[_Q3]}_Vb2._Ea=_Vb2._VT.length;_Vb2._9U();
for(var _Q3=0;_Q3<_Vb2._VT.length;_Q3++){_Vb2._VT[_Q3]=_1f2(_Vb2._VT[_Q3]);if(_Vb2._VT[_Q3]!=null){if(_Vb2._VT[_Q3]._i5==0)_Vb2._VT[_Q3]._i5=1;if(_Vb2._VT[_Q3]._j5==0)_Vb2._VT[_Q3]._j5=1}}if(_Vb2._p3){for(var _Q3=0;_Q3<_QE2._p3.length;_Q3++){if(!_QE2._TE2)_NE2(_Vb2,_Q3);_Vb2._7U=true;var _I3=_Vb2.width*_Vb2.height;var _EA1=[];_EA1[_I3-1]=0;var _UE2=((_Vb2.width+7)>>3);var _Go2=0;for(var y=0;y<_Vb2.height;++y,_Go2+=_UE2){var _ua=0x80;var _VE2=_Go2;for(var x=0;x<_Vb2.width;++x,_ua>>=1){if(_ua==0){_ua=0x80;++_VE2}
_EA1[x+(y*_Vb2.width)]=((_Vb2._p3[_Q3][_VE2]&_ua)!=0)}}_Vb2._Fa[_Q3]=_EA1}}_QE2._TE2=true;return _Vb2}_0U.prototype._2W=function(_KE2,_N9,_O9,_Re){if(this._Ea<=0)return;if(_qE){_rE()}var _fU=this._fU;if(((_tE.top-_O9)<=_fU)&&((_O9-_tE.bottom)<=_fU)&&((_tE.left-_N9)<=_fU)&&((_N9-_tE.right)<=_fU)||((_j9)&&(_qX1._FD()!=null)&&(_qX1._FD()._XC==false))){_KE2=(~~_KE2)%this._Ea;if(_KE2<0)_KE2=_KE2+this._Ea;var _Ok=this._VT[_KE2];if((_Ok._S3==_Ok._i5)&&(_Ok._T3==_Ok._j5)){_zk2(_Ok,_N9-this._f3,_O9-this._g3,
_Re)}else {var _1c=0xffffffff;_Ik2(_Ok,0,0,_N9-this._f3,_O9-this._g3,1,1,0,_1c,_1c,_1c,_1c,1)}}};_0U.prototype._6c=function(_M9,_N9,_O9,_4t,_5t,_R9,_Qe,_Re){if(this._Ea<=0)return;if(_qE){_rE()}var _WE2=abs(this._fU*_4t);var _XE2=abs(this._fU*_5t);var _fU;if(_WE2>_XE2){_fU=_WE2}else {_fU=_XE2}if(((_tE.top-_O9)<=_fU)&&((_O9-_tE.bottom)<=_fU)&&((_tE.left-_N9)<=_fU)&&((_N9-_tE.right)<=_fU)||((_j9)&&(_qX1._FD()!=null)&&(_qX1._FD()._XC==false))){_M9=(~~_M9)%this._Ea;if(_M9<0)_M9+=this._Ea;_R9=_qa2(_R9,360.0);
_Ik2(this._VT[_M9],this._f3,this._g3,_N9,_O9,_4t,_5t,_R9*Math.PI/180.0,_Qe,undefined,undefined,undefined,_Re)}};_0U.prototype._Un2=function(_YE2,_ZE2,__a,_0b,_P9,_Q9,_R9,_N9,_O9){var _Qa,_Sa;if(!this._7U)return true;if(this._Ea<=0)return false;_YE2=_YE2%this._Fa.length;if(_YE2<0)_YE2=_YE2+this._Fa.length;if(Math.abs(_R9)<0.0001){_Qa=Math.floor((_N9-__a)/_P9+this._f3);_Sa=Math.floor((_O9-_0b)/_Q9+this._g3)}else {var _ab=Math.sin(-_R9*Math.PI/180.0);var _bb=Math.cos(-_R9*Math.PI/180.0);_Qa=Math.floor((_bb*(_N9-__a)+_ab*(_O9-_0b))/_P9+this._f3);
_Sa=Math.floor((_bb*(_O9-_0b)-_ab*(_N9-__a))/_Q9+this._g3)}if((_Qa<0)||(_Qa>=this.width))return false;if((_Sa<0)||(_Sa>=this.height))return false;return this._Fa[_YE2][_Qa+(_Sa*this.width)];};_0U.prototype._Wn2=function(_YE2,_ZE2,__a,_0b,_P9,_Q9,_R9,_4b){if(!this._7U)return true;if(this._Ea<=0)return false;_YE2=_YE2%this._Fa.length;if(_YE2<0){_YE2=_YE2+this._Fa.length}var _Ga=_Ha(_ZE2.left,_4b.left);var _Ia=_Ja(_ZE2.right,_4b.right);var _Ka=_Ha(_ZE2.top,_4b.top);var _La=_Ja(_ZE2.bottom,_4b.bottom);if((_P9==1)&&(_Q9==1)&&(Math.abs(this.angle)<0.0001)){
for(var _Q3=_Ga;_Q3<=_Ia;_Q3++){for(var _Pa=_Ka;_Pa<=_La;_Pa++){var _Qa=_Q3-__a+this._f3;var _Sa=_Pa-_0b+this._g3;if((_Qa<0)||(_Qa>=this._S3))continue;if((_Sa<0)||(_Sa>=this._T3))continue;if(this._Fa[_YE2][_Qa+(_Sa*this._S3)]==true)return true}}}else {var _ab=Math.sin(-_R9*_Na/180.0);var _bb=Math.cos(-_R9*_Na/180.0);var __E2=1.0/_P9;var _0F2=1.0/_Q9;for(var _Q3=_Ga;_Q3<=_Ia;_Q3++){for(var _Pa=_Ka;_Pa<=_La;_Pa++){var _Qa=Math.floor((_bb*(_Q3-__a)+_ab*(_Pa-_0b))*__E2+this._f3);var _Sa=Math.floor((_bb*(_Pa-_0b)-_ab*(_Q3-__a))*_0F2+this._g3);
if((_Qa<0)||(_Qa>=this.width))continue;if((_Sa<0)||(_Sa>=this.height))continue;if(this._Fa[_YE2][_Qa+(_Sa*this.width)])return true;}}}return false};_0U.prototype._2o2=function(_YE2,_ZE2,__a,_0b,_P9,_Q9,_R9,_4b){var _Q3,_Pa;if(!this._7U)return true;if(_1o2>3){_1o2=(1+_1o2)-1}if(this._Ea<=0)return false;_YE2=_YE2%this._Fa.length;if(_YE2<0)_YE2=_YE2+this._Fa.length;var _Ga=_Ha(_ZE2.left,_4b.left);var _Ia=_Ja(_ZE2.right,_4b.right);var _Ka=_Ha(_ZE2.top,_4b.top);var _La=_Ja(_ZE2.bottom,_4b.bottom);var _5b=((_4b.right+_4b.left)/2);
var _6b=((_4b.bottom+_4b.top)/2);var _7b=1.0/((_4b.right-_4b.left)/2);var _8b=1.0/((_4b.bottom-_4b.top)/2);var _1F2=this._Fa[_YE2];var _PD2;if((_P9==1)&&(_Q9==1)&&(Math.abs(_R9)<0.0001)){for(_Q3=_Ga;_Q3<=_Ia;_Q3++){_PD2=(_Q3-_5b)*_7b;var _2F2=_PD2*_PD2;var _Qa=_Q3-__a+this._f3;if((_Qa<0)||(_Qa>=this.width))continue;for(_Pa=_Ka;_Pa<=_La;_Pa++){_PD2=(_Pa-_6b)*_8b;if(_2F2+(_PD2*_PD2)>1)continue;var _Sa=_Pa-_0b+this._g3;if((_Sa<0)||(_Sa>=this.height))continue;if(_1F2[_Qa+(_Sa*this.width)])return true}}}else {
var _ab=Math.sin(-_R9*Math.PI/180.0);var _bb=Math.cos(-_R9*Math.PI/180.0);var __E2=1.0/_P9;var _0F2=1.0/_Q9;for(_Q3=_Ga;_Q3<=_Ia;_Q3++){var _3F2=(_Q3-__a);var _4F2=_bb*_3F2;var _5F2=_ab*_3F2;var _PD2=(_Q3-_5b)*_7b;var _6F2=_PD2*_PD2;for(_Pa=_Ka;_Pa<=_La;_Pa++){var _7F2=(_Pa-_6b)*_8b;if((_6F2+(_7F2*_7F2))>1)continue;var _8F2=_Pa-_0b;var _Qa=~~(((_4F2+_ab*_8F2)*__E2)+this._f3);if((_Qa<0)||(_Qa>=this.width))continue;var _Sa=~~(((_bb*_8F2-_5F2)*_0F2)+this._g3);if((_Sa<0)||(_Sa>=this.height))continue;if(_1F2[_Qa+(_Sa*this.width)])return true}
}}return false};_0U.prototype._wo2=function(_YE2,_ZE2,__a,_0b,_9F2,_aF2,_bF2,_cF2,_dF2,_Da,_ma,_na,_oa,_pa,_qa){if(_cF2==null)return false;if(this._Ea<=0)return false;if(_cF2._Ea<=0)return false;if(this._Fa.length>0)_YE2=_YE2%this._Fa.length;if(_YE2<0){_YE2=_YE2+this._Fa.length;}if(_cF2._Fa.length>0)_dF2=_dF2%_cF2._Fa.length;if(_dF2<0){_dF2=_dF2+_cF2._Fa.length}_9F2=1.0/_9F2;_aF2=1.0/_aF2;_oa=1.0/_oa;_pa=1.0/_pa;var _Ga=_Ha(_ZE2.left,_Da.left);var _Ia=_Ja(_ZE2.right,_Da.right);var _Ka=_Ha(_ZE2.top,_Da.top);
var _La=_Ja(_ZE2.bottom,_Da.bottom);if((_9F2==1)&&(_oa==1)&&(_aF2==1)&&(_pa==1)&&(_bF2==0)&&(_qa==0)){for(var _Q3=_Ga;_Q3<=_Ia;_Q3++){for(var _Pa=_Ka;_Pa<=_La;_Pa++){var _Qa=_Q3-__a+this._f3;var _Sa=_Pa-_0b+this._g3;if((_Qa<0)||(_Qa>=this.width))continue;if((_Sa<0)||(_Sa>=this.height))continue;if(this._7U){if(!this._Fa[_YE2][_Qa+(_Sa*this.width)])continue }_Qa=_Q3-_ma+_cF2._f3;_Sa=_Pa-_na+_cF2._g3;if((_Qa<0)||(_Qa>=_cF2.width))continue;if((_Sa<0)||(_Sa>=_cF2.height))continue;if(_cF2._7U){if(!_cF2._Fa[_dF2][_Qa+(_Sa*_cF2.width)])continue }
return true}}}else if((_bF2==0)&&(_qa==0)){for(var _Q3=_Ga;_Q3<=_Ia;_Q3++){for(var _Pa=_Ka;_Pa<=_La;_Pa++){var _Qa=Math.floor(((_Q3-__a)*_9F2+this._f3));var _Sa=Math.floor(((_Pa-_0b)*_aF2+this._g3));if((_Qa<0)||(_Qa>=this.width))continue;if((_Sa<0)||(_Sa>=this.height))continue;if(this._7U){if(!this._Fa[_YE2][_Qa+(_Sa*this.width)])continue }_Qa=Math.floor(((_Q3-_ma)*_oa+_cF2._f3));_Sa=Math.floor(((_Pa-_na)*_pa+_cF2._g3));if((_Qa<0)||(_Qa>=_cF2.width))continue;if((_Sa<0)||(_Sa>=_cF2.height))continue;if(_cF2._7U){
if(!_cF2._Fa[_dF2][_Qa+(_Sa*_cF2.width)])continue }return true}}}else {var _eF2=Math.sin(-_bF2*_Na/180);var _fF2=Math.cos(-_bF2*_Na/180);var _Ma=Math.sin(-_qa*_Na/180);var _Oa=Math.cos(-_qa*_Na/180);for(var _Q3=_Ga;_Q3<=_Ia;_Q3++){for(var _Pa=_Ka;_Pa<=_La;_Pa++){var _Qa=Math.floor(((_fF2*(_Q3-__a)+_eF2*(_Pa-_0b))*_9F2+this._f3));var _Sa=Math.floor(((_fF2*(_Pa-_0b)-_eF2*(_Q3-__a))*_aF2+this._g3));if((_Qa<0)||(_Qa>=this.width))continue;if((_Sa<0)||(_Sa>=this.height))continue;if(this._7U){if(!this._Fa[_YE2][_Qa+(_Sa*this.width)])continue }
_Qa=Math.floor(((_Oa*(_Q3-_ma)+_Ma*(_Pa-_na))*_oa+_cF2._f3));_Sa=Math.floor(((_Oa*(_Pa-_na)-_Ma*(_Q3-_ma))*_pa+_cF2._g3));if((_Qa<0)||(_Qa>=_cF2.width))continue;if((_Sa<0)||(_Sa>=_cF2.height))continue;if(_cF2._7U){if(!_cF2._Fa[_dF2][_Qa+(_Sa*_cF2.width)])continue }return true}}}return false};_0U.prototype._gF2=function(_YE2,_ZE2,__a,_0b,_P9,_Q9,_R9,_hF2,_iF2,_jF2,_kF2){if(!this._7U){return true}if(this._Ea<=0){return false}_YE2=_YE2%this._Fa.length;if(_YE2<0){_YE2=_YE2+this._Fa.length}if((_hF2==_jF2)||(_iF2==_kF2)){
var _iO1=new __v();_iO1.left=_hF2;_iO1.top=_Ja(_iF2,_kF2);_iO1.right=_jF2;_iO1.bottom=_Ha(_iF2,_kF2);return this._Wn2(_YE2,_ZE2,__a,_0b,_P9,_Q9,_R9,_iO1)}var _ab=Math.sin(-_R9*Math.PI/180.0);var _bb=Math.cos(-_R9*Math.PI/180.0);if(Math.abs(_jF2-_hF2)>=Math.abs(_kF2-_iF2)){if(_jF2<_hF2){var _ug=_jF2;_jF2=_hF2;_hF2=_ug;_ug=_kF2;_kF2=_iF2;_iF2=_ug}var _ZB=(_kF2-_iF2)/(_jF2-_hF2);for(var _Q3=_Ha(_ZE2.left,_hF2);_Q3<=_Ja(_ZE2.right,_jF2);_Q3++){var _Qa=Math.floor((_bb*(_Q3-__a)+_ab*(_iF2+(_Q3-_hF2)*_ZB-_0b))/_P9+this._f3);
var _Sa=Math.floor((_bb*(_iF2+(_Q3-_hF2)*_ZB-_0b)-_ab*(_Q3-__a))/_Q9+this._g3);if((_Qa<0)||(_Qa>=this.width))continue;if((_Sa<0)||(_Sa>=this.height))continue;if(this._Fa[_YE2][_Qa+(_Sa*this.width)])return true}}else {if(_kF2<_iF2){var _ug=_kF2;_kF2=_iF2;_iF2=_ug;_ug=_jF2;_jF2=_hF2;_hF2=_ug}var _ZB=(_jF2-_hF2)/(_kF2-_iF2);for(var _Q3=_Ha(_ZE2.top,_iF2);_Q3<=_Ja(_ZE2.bottom,_kF2);_Q3++){var _Qa=Math.floor((_bb*(_hF2+(_Q3-_iF2)*_ZB-__a)+_ab*(_Q3-_0b))/_P9+this._f3);var _Sa=Math.floor((_bb*(_Q3-_0b)-_ab*(_hF2+(_Q3-_iF2)*_ZB-__a))/_Q9+this._g3);
if((_Qa<0)||(_Qa>=this.width))continue;if((_Sa<0)||(_Sa>=this.height))continue;if(this._Fa[_YE2][_Qa+(_Sa*this.width)])return true;}}return false};_0U.prototype._wU=function(_M9){if(this._Ea<=0){return null}_M9=_M9%this._Ea;if(_M9<0){_M9=_M9+this._Ea}if(this._VT){return this._VT[_M9]}return null};/*@constructor */function _Ta2(){this._b3=[]}_Ta2.prototype._2U=function(_OE2){var _ra=this._b3.length;this._b3[_ra]=_OE2;return _ra};_Ta2.prototype._vn2=function(_lF2){var _5y2=this._b3[_lF2];if(!_5y2)return null;
if((_5y2._BE2!==null)&&(_5y2._BE2!==undefined)){return _5y2._BE2._AU1}return _5y2._VT.length};_Ta2.prototype._Si=function(_lF2){if(_lF2<0||_lF2>this._b3.length)return null;return this._b3[_lF2]};_Ta2.prototype._LJ=function(_Pi){var _Vb2=this._b3[_Pi];if(_Vb2!=undefined){var _mF2=true;for(var _Q3=0;_Q3<_Vb2._VT.length;_Q3++){var _Ok=_Vb2._VT[_Q3];if(!_Ok||!_Ok._Hb)continue;var _UC1=_Ok._Hb;if(!_UC1||!_UC1._bd)continue;if(_mF2){_tb._ww1();_mF2=false}_tb._dy1(_UC1._bd._wx1);_UC1._bd=null}this._b3[_Pi]=undefined}
};_Ta2.prototype._ob2=function(_Ux1){try{var _nF2={data:new Uint8Array(_Ux1),offset:0};function _oF2(_pF2){var _qF2=";";var _Mj="";while(_nF2.offset<_pF2.data.byteLength){if(_pF2.data[_nF2.offset]===_qF2.charCodeAt(0)){_nF2.offset++;break }_Mj=_Mj+String.fromCharCode(_pF2.data[_nF2.offset]);_nF2.offset++}return _Mj};var type=_oF2(_nF2);if(type=="rswf"){var version=_oF2(_nF2),_rF2=version.split('.',3);_AT1._H_=parseInt(_rF2[0]);_AT1._I_=parseInt(_rF2[1]);_AT1.version=parseInt(_rF2[2]);var _sF2=parseInt(_oF2(_nF2)),
_tF2=parseInt(_oF2(_nF2));this._sE2=[];var _xf=_sF2;for(var _Q3=0;_Q3<_tF2;_Q3++){var _uF2=parseInt(_oF2(_nF2));this._sE2[_Q3]=_Ux1.slice(_xf,_xf+_uF2);_xf+=_uF2}}}catch(e){debug("Cannot parse SWF data "+e.message)}};_Ta2.prototype._mb2=function(_vF2){function _wF2(_gc,_La){var _hA2=(_gc>>16)&0xffff,_mY1=_gc&0xffff;var _xF2=(_La>>16)&0xffff,_Fu1=_La&0xffff;var _Dj=((_hA2*_Fu1)+(_mY1*_xF2))&0xffff;return((_Dj<<16)>>>0)+(_mY1*_Fu1)};function _yF2(_Ux1){var _zF2=Math.pow(2,32);var _AF2=6*7;var _BF2="";for(var _Pa=0;
_Pa<_Ux1.length;_Pa++){_BF2+=String.fromCharCode((_Ux1.charCodeAt(_Pa)-(_AF2&0xff))&0xff);_AF2=_wF2(_AF2,(_AF2+1)%_zF2)%_zF2}return _BF2};this._TQ1=[];try{var _CF2=_vF2.split(';',4);if(_CF2[0]=="skel"){var version=_CF2[1];var _xf=parseInt(_CF2[2]);var _DF2=parseInt(_CF2[3]);var _EF2=4+_DF2;_CF2=_vF2.split(';',_EF2);for(var _Q3=0;_Q3<_DF2;_Q3++){var _FF2=parseInt(_CF2[4+_Q3]);var _GF2=_vF2.substr(_xf,_FF2);var _HF2=_GF2.split(';',4);var _Rl=0;var _IF2=parseInt(_HF2[_Rl++]);var _JF2=parseInt(_HF2[_Rl++]);var _KF2=parseInt(_HF2[_Rl++]);
var _LF2=_HF2[_Rl].substr(0,_IF2);var _MF2=_HF2[_Rl].substr(_IF2,_HF2[_Rl].length-_IF2);this._TQ1.push({_4G:_yF2(_Py(_LF2)),_qS1:_yF2(_Py(_MF2)),width:_JF2,height:_KF2});_xf+=_FF2}}}catch(e){debug("Cannot parse Spine data "+e.message)}};/*@constructor */function _NF2(){this.__type="[Tile]";this.x=0;this.y=0;this.index=0;this._PB2=0;this._QB2=0;this._S3=0;this._T3=0;this._44=0.0;this.id=_l92++;this._uH=1.0;this._vH=1.0;this._xH=0xffffff;this.alpha=1.0;this._Y3=true;this._OF2=false}_NF2.prototype._PF2=function(){
var _gU=_xk._yk(this.index);if(_gU!=null){var _Ok=_gU._Bk;if(_Ok._m5>=_Ib.length)return;if(!_Ib[_Ok._m5].complete)return;if(this._PB2<0){this._S3+=this._PB2;this._PB2=0}if(this._QB2<0){this._T3+=this._QB2;this._QB2=0}if(_Ok!=null){if((this._PB2+this._S3)>=_Ok._S3){this._S3=_Ok._S3-this._PB2}if((this._QB2+this._T3)>=_Ok._T3){this._T3=_Ok._T3-this._QB2}}}};function _UB2(_QF2){var _3W=new _NF2();if(_QF2.x!=undefined)_3W.x=_QF2.x;if(_QF2.y!=undefined)_3W.y=_QF2.y;if(_QF2.index!=undefined)_3W.index=_QF2.index;
if(_QF2._PB2!=undefined)_3W._PB2=_QF2._PB2;if(_QF2._QB2!=undefined)_3W._QB2=_QF2._QB2;if(_QF2._S3!=undefined)_3W._S3=_QF2._S3;if(_QF2._T3!=undefined)_3W._T3=_QF2._T3;if(_QF2._44!=undefined)_3W._44=_QF2._44;if(_QF2.id!=undefined)_3W.id=_QF2.id;if(_QF2.scaleX!=undefined)_3W._uH=_QF2.scaleX;if(_QF2.scaleY!=undefined)_3W._vH=_QF2.scaleY;if(_QF2._c5!=undefined){_3W._xH=(_QF2._c5&0xffffff);_3W.alpha=((_QF2._c5>>24)&0xff)/255.0}_3W._PF2();if(_l92<_QF2.id)_l92=_QF2.id+1;return _3W}_NF2.prototype._6c=function(){
if(!this._Y3)return false;var _gU=_xk._yk(this.index);if(_gU!=null){var _Ok=_gU._Bk;if((_Ok._Hb instanceof HTMLImageElement)&&(_Ok._m5>=_Ib.length))return;if((_Ib[_Ok._m5] instanceof HTMLImageElement)&&(!_Ib[_Ok._m5].complete))return;var _W9=_Ok._S3/_Ok._k5;var _X9=_Ok._T3/_Ok._l5;if(!_tb){_Ic.globalAlpha=this.alpha;if(this._xH!=0xffffff){var _Kj2=_Nc(_Ok,this._xH);if(this._uH<=0||this._vH<=0){_Rj2(this.x,this.y,this._uH,this._vH,0.0);_Ic._UT(_Kj2,(this._PB2*_W9),(this._QB2*_X9),this._S3*_W9,this._T3*_X9,
0,0,this._S3,this._T3);_Tj2()}else {_Ic._UT(_Kj2,(this._PB2*_W9),(this._QB2*_X9),(this._S3*_W9),(this._T3*_X9),this.x,this.y,this._S3*this._uH,this._T3*this._vH)}}else {var _UC1=-1;if(_Ok._Hb instanceof HTMLImageElement)_UC1=_Ib[_Ok._m5];else _UC1=_Ok._Hb;if(this._uH<=0||this._vH<=0){_Rj2(this.x,this.y,this._uH,this._vH,0.0);_Ic._UT(_UC1,_Ok.x+(this._PB2*_W9),_Ok.y+(this._QB2*_W9),this._S3*_W9,this._T3*_X9,0,0,this._S3,this._T3);_Tj2()}else {_Ic._UT(_UC1,_Ok.x+(this._PB2*_W9),_Ok.y+(this._QB2*_W9),this._S3*_W9,
this._T3*_X9,this.x,this.y,this._S3*this._uH,this._T3*this._vH)}}}else {var _1c=this._xH|((this.alpha*255)<<24);_Ic._UT(_Ok,_Ok.x+(this._PB2*_W9),_Ok.y+(this._QB2*_W9),this._S3*_W9,this._T3*_W9,this.x,this.y,this._S3*this._uH,this._T3*this._vH,_1c)}}};/*@constructor */function _RF2(_0f2){this.__type="[Timeline]";if((_0f2!=null)&&(_0f2!=undefined)){this._33=_0f2._33;this._yy=_0f2._yy}else {this._33="";this._yy=[]}}_RF2.prototype._eY1=function(_SF2){if(this._yy.length==0){return 0}if(_SF2>this._yy[this._yy.length-1]._TF2){
return this._yy.length}for(var _Q3=0;_Q3<this._yy.length;_Q3++){if(this._yy[_Q3]._TF2>=_SF2){return _Q3}}return this._yy.length};_RF2.prototype._iY1=function(_SF2){if(this._yy.length==0){return 0}if(_SF2<this._yy[0]._TF2){return -1;}for(var _Q3=this._yy.length-1;_Q3>=0;_Q3--){if(this._yy[_Q3]._TF2<=_SF2){return _Q3}}return -1};_RF2.prototype._hY1=function(){return this._yy[this._yy.length-1]._TF2};/*@constructor */function _Ya2(){this._U3=[]}_Ya2.prototype._4j=function(_0f2){var _Ak=null;if(_0f2!=null){_Ak=new _RF2(_0f2)}
this._U3[this._U3.length]=_Ak};_Ya2.prototype._Si=function(_M9){if((_M9<0)||(_M9>=this._U3.length)){return undefined}return this._U3[_M9]};_Ya2.prototype._Qh=function(_M9){if((_M9>=0)||(_M9<this._U3.length)){this._U3[_M9]._yy._Qh()}};_Ya2.prototype._LJ=function(_M9){if((_M9>=0)||(_M9<this._U3.length)){this._U3[_M9]=null}};/*@constructor *//*@constructor */function _Rb2(_UF2){if(!_UF2){this._hj=[]}else {this._hj=_UF2}}_Rb2.prototype._Si=function(_IS){return this._hj[_IS]};_Rb2.prototype._Xe2=function(_VF2){
for(var _Q3=1;_Q3<this._hj.length;_Q3++){var _sx2=this._hj[_Q3];if(_sx2._WF2==_VF2){_eE._6a(_t_1,_Q3)}}};/*@constructor */var _XF2={"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,null],"mouse_y":[!0,!1,!1,null,null],"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 _YF2={"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],"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 _ZF2(){_Ad("vertex_format_begin")}function __F2(){_Ad("vertex_format_end")}function _0G2(_1G2){_Ad("vertex_format_delete")}function _2G2(){_Ad("vertex_format_add_position")}function _3G2(){_Ad("vertex_format_add_position_3d")}function _4G2(){_Ad("vertex_format_add_colour")}function _5G2(){_Ad("vertex_format_add_color")}function _6G2(){_Ad("vertex_format_add_normal")}function _7G2(){_Ad("vertex_format_add_texcoord")}function _8G2(){_Ad("vertex_format_add_textcoord")}
function _9G2(type,_vf){_Ad("vertex_format_add_custom")}var _aG2=null;function _bG2(){_ZF2=_cG2;__F2=_dG2;_0G2=_eG2;_2G2=_fG2;_3G2=_gG2;_4G2=_hG2;_5G2=_hG2;_6G2=_iG2;_7G2=_jG2;_8G2=_jG2;_9G2=_kG2}function _cG2(){if(_aG2!=null){debug("ERROR vertex_format_begin: Vertex format is already under construction")}else {_aG2=new _sv1()}}function _fG2(){if(_aG2==null){debug("ERROR vertex_format_add_position: No vertex format is under construction")}else {_aG2._2D1()}}function _gG2(){if(_aG2==null){debug("ERROR vertex_format_add_position_3d: No vertex format is under construction")}
else {_aG2._Dv1()}}function _hG2(){if(_aG2==null){debug("ERROR vertex_format_add_colour: No vertex format is under construction")}else {_aG2._Ev1()}}function _iG2(){if(_aG2==null){debug("ERROR vertex_format_add_normal: No vertex format is under construction")}else {_aG2._Gv1()}}function _jG2(){if(_aG2==null){debug("ERROR vertex_format_add_textcoord: No vertex format is under construction")}else {_aG2._Fv1()}}function _kG2(_qf,_pf){if(_aG2==null){debug("ERROR vertex_format_add_normal: No vertex format is under construction")}
else {_aG2._3D1(_qf,_pf)}}function _dG2(){if(_aG2==null){debug("ERROR vertex_format_end: No vertex format under construction");return -1}var _pB1=_tb._Jv1(_aG2);_aG2=null;return _pB1}function _eG2(_lG2){debug("WARNING vertex_format_delete not implemented on HTML5 (System shares vertex formats but doesn't reference count)")}/*@constructor */function _ia2(){this.__type="[View]";this._Y3=false;this._cD=0;this._eD=0;this._gD=640;this._iD=480;this._jV=0;this._kV=0;this._lV=640;this._mV=480;this.angle=0;this._6i=0;
this._8i=0;this._7i=0;this._9i=0;this._nV=0;this._oV=0;this._sD2=1;this._tD2=1;this._oD=32;this._qD=32;this._kD=-1;this._mD=-1;this._tD=-1;this._cC2=-1;this._rX1=-1;this._TC=-1}_ia2.prototype._Li=function(_Mi){this._Y3=_Mi._Y3;this._cD=_Mi._cD;this._eD=_Mi._eD;this._gD=_Mi._gD;this._iD=_Mi._iD;this._jV=_Mi._jV;this._kV=_Mi._kV;this._lV=_Mi._lV;this._mV=_Mi._mV;this.angle=_Mi.angle;this._6i=_Mi._6i;this._8i=_Mi._8i;this._7i=_Mi._7i;this._9i=_Mi._9i;this._nV=_Mi._nV;this._oV=_Mi._oV;this._sD2=_Mi._sD2;
this._tD2=_Mi._tD2;this._oD=_Mi._oD;this._qD=_Mi._qD;this._kD=_Mi._kD;this._mD=_Mi._mD;this._tD=_Mi._tD;this._cC2=_Mi._cC2;this._rX1=_Mi._rX1};_ia2.prototype._mG2=function(_N9,_O9,_nG2){var _En2=_5i;var _LD2=_xZ/_oW;var _MD2=_yZ/_pW;_N9=((_N9-_En2.left-this._6i))/(_En2.scaleX||1)*_LD2;_O9=((_O9-_En2.top-this._8i))/(_En2.scaleY||1)*_MD2;if(_j9){var _oG2=_qX1._5D(this._rX1);if(_oG2==null)return 0;var _pG2=_N9/this._nV;var _qG2=_O9/this._oV;_pG2=_pG2*2.0-1.0;_qG2=_qG2*2.0-1.0;var _rG2=_oG2._HD();var _901;if(_nG2){
_901=((_pG2*_rG2._ua[_Es])+(_qG2*_rG2._ua[_Fs])+_rG2._ua[_Hs])}else {_901=((_pG2*_rG2._ua[_Is])+(_qG2*_rG2._ua[_Ar])+_rG2._ua[_Ks])}return Math.floor(_901)}else {if(_nG2){_N9/=this._sD2;return _N9+this._cD}else {_O9/=this._tD2;return _O9+this._eD}}};_ia2.prototype._ai=function(_N9,_O9){return this._mG2(_N9,_O9,true)};_ia2.prototype._bi=function(_N9,_O9){return this._mG2(_N9,_O9,false)};function _VB2(_sG2){var _qr=new _ia2();if(_sG2._Y3!=undefined)_qr._Y3=_sG2._Y3;if(_sG2._tC!=undefined)_qr._cD=_sG2._tC;if(_sG2._uC!=undefined)_qr._eD=_sG2._uC;
if(_sG2._75!=undefined)_qr._gD=_sG2._75;if(_sG2._85!=undefined)_qr._iD=_sG2._85;if(_sG2._KB2!=undefined)_qr._jV=_sG2._KB2;if(_sG2._LB2!=undefined)_qr._kV=_sG2._LB2;if(_sG2._95!=undefined)_qr._lV=_sG2._95;if(_sG2._a5!=undefined)_qr._mV=_sG2._a5;if(_sG2.angle!=undefined)_qr._mV=_sG2.angle;if(_sG2._oD!=undefined)_qr._oD=_sG2._oD;if(_sG2._qD!=undefined)_qr._qD=_sG2._qD;if(_sG2._kD!=undefined)_qr._kD=_sG2._kD;if(_sG2._mD!=undefined)_qr._mD=_sG2._mD;if(_sG2.index!=undefined)_qr._tD=_sG2.index;if(_j9){
if(_sG2._rX1!=undefined){_qr._rX1=_sG2._rX1}else {var _pX1=_qX1._7D(_qr);_qr._rX1=_pX1._ID()}}return _qr}var _tb=null;var _tG2=null;var _uG2=null;var _mr=!0;var _8r=!1,_nr=!1,_uA2=_gd._zt,_vA2=_gd._Ht,_vG2=0,_wG2=0.0,_xG2=[],_jr={_Ll:!0,_Ml:!0,_Nl:!0,alpha:!0};var _yd=0.0,_ar=!0,_cr=!0,_er=!0,_yG2=_gd._iz1;var _Yr=null,_2s=null,_1s=null,_6s=null,_8s=null,_4s=[];var _Lj2=!1,_zG2=!1,_AG2=1.0;var _BG2=[];var _Xs=null,_CG2=null,_DG2=0;var _7E=0,_3E=1,_ss=2,_EG2=16;var _FG2=[];var _Le=16384;var _GG2=36,_HG2=[],_IG2=[];
var _JG2=0.5;function _fl2(){_gp();_bG2();_Ch2();_ge();_KG2(_GG2);_Se=_LG2;_qV=_MG2;_pV=_NG2;_Tj2=_OG2;_Hk2=_PG2;_Bk2=_QG2;_Rj2=_RG2;_Gk2=_SG2;_Fk2=_TG2;_vk2=_UG2;_Ek2=_VG2;_Jk2=_WG2;_Dk2=_XG2;_zl2=_YG2;_zk2=_ZG2;_Ak2=__G2;_Ik2=_0H2;_Rl2=_1H2;_Kk2=_2H2;_Lk2=_3H2;_Ck2=_4H2;_4B=_5H2;_WA=_6H2;_8B=_7H2;_ZA=_6H2;_aB=_7H2;_dB=_8H2;_jB=_9H2;_rB=_aH2;_tB=_bH2;_AB=_cH2;_FB=_dH2;_0C=_eH2;_bC=_fH2;_fC=_gH2;_HB=_dH2;_2C=_eH2;_dC=_fH2;_hC=_gH2;_kc=_hH2;_lB=_iH2;_iC=_jH2;_kC=_jH2;_6A=_kH2;_x8=_lH2;_s6=_lH2;_NA=_mH2;
_qC=_nH2;_SW=_oH2;_HV=_pH2;_SO=_qH2;_tM=_rH2;_tb._UT=_sH2;_Hk=_tH2;_dV=_uH2;_4V=_vH2;_sV=_wH2;__U=_xH2;_DV=_yH2;_FV=_zH2;_OV=_AH2;_RV=_BH2;_Dk=_CH2;_Rk=_DH2;_OT=_EH2;_XT=_FH2;_bU=_GH2;_fQ=_HH2;_gQ=_IH2;_hQ=_JH2;_iQ=_KH2;_jQ=_LH2;_kQ=_MH2;_lQ=_NH2;_mQ=_OH2;_nQ=_PH2;_oQ=_QH2;_pQ=_RH2;_qQ=_SH2;_rQ=_TH2;_sQ=_UH2;_uQ=_VH2;_9d2=_WH2;_Ir=_XH2;_ad2=_YH2;_Vk2=_ZH2;_bd2=__H2;_Hr=_0I2;_7d2=_1I2;_8d2=_2I2;_cd2=_3I2;_dd2=_4I2;_ed2=_5I2;_fd2=_6I2;_gd2=_7I2;_4h2=_8I2;_8h2=_9I2;_aI2()}function _bI2(_Ru1){var options={
_zv1:((_bv._ub2!==undefined)?true:false),_Av1:(_bv._o5._cI2?true:false),_kv1:_892};_tb=new _Qu1(_Ru1,options);if(!_tb._8v1){_tb=null;return false}if(!_dI2())return false;if(!_eI2())return false;if(!_fI2())return false;_CG2=[];for(var _Q3=0;_Q3<_EG2;_Q3++){_CG2[_Q3]=new _7r()}_DG2=-1;_Br=1;_R82=new _7r();_S82=new _7r();var _gI2=_tb._Ww1();for(var _Q3=0;_Q3<_gI2;_Q3++){_xG2[_Q3]=false}return true}function _KG2(_dy){_GG2=4*(_Ja(64,_Ha(4,_dy))/4);_HG2[0]=1;_IG2[0]=0;for(var _Q3=1;_Q3<_GG2;_Q3++){_HG2[_Q3]=Math.cos(_Q3*2*Math.PI/_GG2);
_IG2[_Q3]=Math.sin(_Q3*2*Math.PI/_GG2)}_HG2[_GG2]=1;_IG2[_GG2]=0}function _aI2(){_Xl(0,0xff000000,0,0);_dd2(0);_gd2(0);_hI2()}function _dI2(){return _iI2()}function _eI2(){var _jI2=document.createElement(_nv);_jI2._1f=_jI2.width=16;_jI2._2f=_jI2.height=16;_jI2.complete=true;_jI2._WU=false;_jI2.name="";_jI2._Ic=_jI2.getContext('2d');_jI2._Ic.save();_jI2._Ic.setTransform(1,0,0,1,0,0);_jI2._Ic.globalAlpha=1;_jI2._Ic.fillStyle='#ffffff';_jI2._Ic.fillRect(0,0,16,16);_jI2._Ic.restore();var _Ok=new _Pk();_Ok.x=0;
_Ok.y=0;_Ok._S3=15;_Ok._T3=15;_Ok._g5=0;_Ok._h5=0;_Ok._i5=15;_Ok._j5=15;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;_Ok._m5=-1;_Ok._Hb=_jI2;_Ok._Eb=[];_Ok._Gb=1;_Ok._Fb=0;_cd(_Ok);_tb._fy1(_Ok._Hb._bd);return true}function _fI2(){_Yr=new Float32Array(_gd._my1*4);_2s=new Float32Array(_gd._my1*4);_1s=new Float32Array(_gd._my1*4);_6s=new Float32Array(4);var _Xr;for(var _Q3=0;_Q3<_gd._my1;_Q3++){_1s[_Q3]=0;_Xr=_Q3*4;_Yr[_Xr+0]=0;_Yr[_Xr+1]=0;_Yr[_Xr+2]=0;_Yr[_Xr+3]=0;_2s[_Xr+0]=0;_2s[_Xr+1]=0;_2s[_Xr+2]=0;_2s[_Xr+3]=0;
_4s[_Q3]=false}return true}function _hI2(){var _kI2=_sU;_sU=function(_tU,_lI2){var _Hb=_kI2(_tU,_lI2);if(_Hb&&!_Hb._Ie._bd){_cd(_Hb._Je)}return _Hb};var _mI2=_Yk;_Yk=function(_M9){var _Hb=_mI2(_M9);if(_Hb&&!_Hb._Ie._bd){_cd(_Hb._Je)}return _Hb};_VG2()}function _VG2(){_tb._tw1();_tb._or(_pr());_tb._Pw1(_vG2,_wG2);_tb._9s(_8s);_tb._7s(_6s);_tb._kr(_jr._Ll,_jr._Ml,_jr._Nl,_jr.alpha);for(var _Q3=0;_Q3<_gd._my1;_Q3++){_tb._3s(_Q3,_2s.subarray(_Q3*4,(_Q3+1)*4),_Yr.subarray(_Q3*4,(_Q3+1)*4),_1s.subarray(_Q3*4,(_Q3+1)*4))}
}function _WG2(){_tb._uw1()}function _SG2(_nI2){if(_nI2){_tG2={};if(_nI2._FD2){_tG2._8r=_8r;_tG2._nr=_nr;_tG2._8s=new Float32Array(_8s);if(_j9){_tG2._er=_Co();_tG2._ar=_yo();_tG2._cr=_Ao()}_8r=false;_nr=false;_Xl(0,0xff000000,0,0);_tb._9r(false);_tb._dr(false);_tb._br(false);_tb._or(_pr())}if(_nI2._GD2){_tG2._oI2=_tb._ht._fu(_gd._yt);_tG2._pI2=_tb._ht._fu(_gd._At);_tb._xw1(_gd._Bt,_gd._Gt)}}}function _TG2(_qI2){if(_tG2&&_qI2){if(_qI2._ID2){_8r=_tG2._8r;_nr=_tG2._nr;_8s=new Float32Array(_tG2._8s);_tb._9s(_8s);
if(_8r||_j9){if(_j9){_tb._dr(_tG2._er);_tb._9r(_tG2._ar);_tb._br(_tG2._cr)}else {_tb._9r(_ar);_tb._br(_cr);_tb._dr(_er)}}_tb._or(_pr())}if(_qI2._JD2){_tb._xw1(_tG2._oI2,_tG2._pI2)}_tG2=null}}function _pr(){var _Wv1=undefined;if(_nr){_Wv1=_tb._av1}else {_Wv1=_tb._9v1}return _Wv1}function _PG2(_ql2,_rl2,_sl2,_tl2){var _rI2=_gW;var _sI2=_hW;_S82._wc2();var _S3=_gW/_ql2;var _T3=_hW/_rl2;_S82._ts((_rI2*-0.5+_sl2)/_ql2,(_sI2*-0.5+_tl2)/_rl2,16000);_R82._Er(_S3,-_T3*_Br,1.0,32000.0);_rs(_3E,_S82);_rs(_7E,_R82)}function _MG2(_ul2,
_vl2,_wl2,_xl2,_R9){if(!_8r){_pl2(_ul2,_vl2,_wl2,_xl2,_R9)}else {var angle=-_R9*(Math.PI/180.0);var _Hc=new _rr((_ul2+_wl2/2.0),(_vl2+_xl2/2.0),-_wl2);var _vc=new _rr((_ul2+_wl2/2.0),(_vl2+_xl2/2.0),0.0);var _zc=new _rr(Math.sin(angle),Math.cos(angle),0.0);_S82._ur(_Hc,_vc,_zc);if(false==_mr){_R82._Er(_wl2,-_xl2*_Br,1.0,32000.0)}else {_R82._Fr(1.0,_xl2/_wl2,1.0,32000.0)}_R82._ua[_Ar]*=_Br}_rs(_3E,_S82);_rs(_7E,_R82);_rs(_ss,_Xs[_ss]);_YD=_ul2;_ZD=_vl2;_WD=_wl2;_XD=_xl2}function _NG2(_Qv1,_Rv1,_Sv1,_Tv1){_bA=_Qv1;
_cA=_Rv1;_dA=_Sv1;_eA=_Tv1;var _Sa=_Rv1;if(_Br==1){_Sa=_u8()-(_Tv1+_Rv1)}_tb._Pv1(_Qv1,_Sa,_Sv1,_Tv1);_tb._rV()}function _QG2(_5f){_tb._rV();_tb._zx1(true,true,false,_Se(_5f)|0xff000000)}function _kH2(_5f,_Re){_tb._rV();var _1c=((_Re*255.0)<<24)|_Se(_5f);_tb._zx1(true,true,false,_1c)}function _LG2(_5f){return(_5f&0x00ffffff);}function _mH2(_Re){if(_Re<0){_Re=0}if(_Re>1){_Re=1}_Oe=_Re}function _OG2(_tI2){if(arguments.length>0){var _9A=arguments[0]}else {}}function _RG2(_N9,_O9,_SV,_TV,_R9){}function _UG2(_ix,
_1x,_N9,_O9,_4t,_5t,_R9,_5f,_Re){if(!_uG2){var _7b=1024;var _8b=1024;var _fb=_yl2(_7b,_8b);var _Ok=new _Pk();_Ok.x=0;_Ok.y=0;_Ok._S3=_7b;_Ok._T3=_8b;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;_Ok._m5=_fb;_Ok._Hb=_Ib[_Ok._m5];_uG2=_Ok}var _R3=document.createElement("canvas");var _Vc=_R3.getContext("2d");_ix="20px arial";_Vc.font=_ix;_Vc.textBaseline="top";_Vc.textAlign="left";var _uI2=_Vc.measureText(_1x);var width=_uI2.width;var height=20;_R3.width=width;_R3.height=height;
_Vc.globalAlpha=0.0;_Vc.globalCompositeOperation="copy";_Vc.fillStyle="black";_Vc.fillRect(0,0,_R3.width,_R3.height);_Vc.globalAlpha=1.0;_Vc.globalCompositeOperation="source-over";_Vc.fillStyle="white";_Vc.fillText(_1x,0,0)}function _Ss(_dn){if(_DG2>=_EG2){return false}_DG2++;if(_DG2==0){_CG2[_DG2]=new _7r(_dn)}else {_CG2[_DG2].Multiply(_CG2[_DG2-1],_dn)}return true}function _Ts(_dn){if(_DG2<0){return false}_rs(_ss,_CG2[_DG2]);_DG2--;return true}function _Qs(){_DG2=-1}function _Rs(){if(_DG2<0){return true}
return false}function _Us(){if(_DG2<0){return false}_rs(_ss,_CG2[_DG2]);return true}function _Vs(){if(_DG2<0){return false}_DG2--;return true}function _ZG2(_kU,_N9,_O9,_Re){var _ed,_6r2,_vI2,_md,_od,_qd,_1c;if(!_kU._Hb._bd){if(_kU._S3==0||_kU._T3==0)return;_cd(_kU)}_ed=_tb._fd(_gd._hd,_kU._Hb._bd,_tb._id,6);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=6;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;_md=_ed._nd;_od=_ed._pd;_qd=_ed._rd;_N9=_N9+_kU._g5;_O9=_O9+_kU._h5;
_md[_sd+0]=_md[_wd+0]=_md[_xd+0]=_N9;_md[_sd+1]=_md[_td+1]=_md[_xd+1]=_O9;_md[_td+0]=_md[_ud+0]=_md[_vd+0]=_N9+_kU._i5;_md[_ud+1]=_md[_vd+1]=_md[_wd+1]=_O9+_kU._j5;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;_qd[_sd+0]=_qd[_wd+0]=_qd[_xd+0]=_kU.x/_kU._Hb.width;_qd[_sd+1]=_qd[_td+1]=_qd[_xd+1]=_kU.y/_kU._Hb.height;_qd[_td+0]=_qd[_ud+0]=_qd[_vd+0]=(_kU.x+_kU._S3)/_kU._Hb.width;_qd[_ud+1]=_qd[_vd+1]=_qd[_wd+1]=(_kU.y+_kU._T3)/_kU._Hb.height;_1c=((_Re*255.0)<<24)|0xffffff;var _gB=_1c,
_hB=_1c,_wI2=_1c,_xI2=_1c;if(_Lj2){_gB&=0xfffefffe;_hB&=0xfffefffe;_wI2&=0xfffefffe;_xI2&=0xfffefffe;_hB|=0x00010000;_wI2|=0x00000001;_xI2|=0x00010001}_od[_sd]=_od[_xd]=_gB;_od[_td]=_hB;_od[_ud]=_od[_vd]=_wI2;_od[_wd]=_xI2}function _sH2(_kU,_sl2,_tl2,_yI2,_zI2,_N9,_O9,_Ii,_Ji,_hy,_iy,_bB,_cB){var _ed,_6r2,_vI2,_md,_od,_qd,_1c;if(!_kU._Hb._bd){if(_kU._S3==0||_kU._T3==0)return;_cd(_kU)}if(_hy==undefined){_hy=_iy=_bB=_cB=0xffffffff}if(_iy==undefined){_iy=_bB=_cB=_hy}_ed=_tb._fd(_gd._hd,_kU._Hb._bd,_tb._id,
6);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=6;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;_md=_ed._nd;_od=_ed._pd;_qd=_ed._rd;_md[_sd+0]=_md[_wd+0]=_md[_xd+0]=_N9;_md[_sd+1]=_md[_td+1]=_md[_xd+1]=_O9;_md[_td+0]=_md[_ud+0]=_md[_vd+0]=_N9+_Ii;_md[_ud+1]=_md[_vd+1]=_md[_wd+1]=_O9+_Ji;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;_qd[_sd+0]=_qd[_wd+0]=_qd[_xd+0]=_sl2/_kU._Hb.width;_qd[_sd+1]=_qd[_td+1]=_qd[_xd+1]=_tl2/_kU._Hb.height;
_qd[_td+0]=_qd[_ud+0]=_qd[_vd+0]=(_sl2+_yI2)/_kU._Hb.width;_qd[_ud+1]=_qd[_vd+1]=_qd[_wd+1]=(_tl2+_zI2)/_kU._Hb.height;if(_Lj2){_hy&=0xfffefffe;_iy&=0xfffefffe;_bB&=0xfffefffe;_cB&=0xfffefffe;_iy|=0x00010000;_bB|=0x00000001;_cB|=0x00010001}_od[_sd]=_od[_xd]=_hy;_od[_td]=_iy;_od[_ud]=_od[_vd]=_bB;_od[_wd]=_cB}function __G2(_kU,_N9,_O9,_Hl2,_Il2,_tH,_sH,_5f,_Re){var _ed,_6r2,_vI2,_md,_od,_qd,_S3,_T3;if(!_kU._Hb._bd){if(_kU._S3==0||_kU._T3==0)return;_cd(_kU)}var _AI2=_Hl2*_kU._k5+~~_N9;var _BI2=_Il2*_kU._l5+~~_O9;
var _7b=~~(_Hl2*_kU._k5);var _8b=~~(_Il2*_kU._l5);var _CI2=_vC.right-_vC.left;var _DI2=_vC.bottom-_vC.top;if(_sH){_N9=(((~~(_vC.left/_7b))*_7b)+(~~_N9)%_7b)-_7b;_AI2=(((((_CI2+(_7b-1))/_7b)&0xffffffff)+2)*_7b)+~~_N9+1}if(_tH){_O9=(((~~(_vC.top/_8b))*_8b)+(~~_O9)%_8b)-_8b;_BI2=(((((_DI2+(_8b-1))/_8b)&0xffffffff)+2)*_8b)+~~_O9+1}_N9=~~_N9;_O9=~~_O9;var _ZT=0;var __T=0;if((_7b<=0)||(_8b<=0))return;var _c5=_Se(_5f)|(~~((_Re*255.0)<<24));var _gB=_c5,_hB=_c5,_wI2=_c5,_xI2=_c5;if(_Lj2){_gB&=0xfffefffe;_hB&=0xfffefffe;
_wI2&=0xfffefffe;_xI2&=0xfffefffe;_hB|=0x00010000;_wI2|=0x00000001;_xI2|=0x00010001}var _va=(-_Hl2*(_ZT-_kU._g5));var _wa=(-_Il2*(__T-_kU._h5));var _EI2=_Hl2*_kU._i5;var _FI2=_Il2*_kU._j5;var _Qa=_N9+_va;var _Sa=~~_O9+_wa;var _sc=_kU.x;var _g71=_sc+_kU._S3;var _uc=_kU.y;var _ud=_kU.y+_kU._T3;_sc/=_kU._Hb.width;_g71/=_kU._Hb.width;_uc/=_kU._Hb.height;_ud/=_kU._Hb.height;var _6C=_Sa;while(_Qa<_AI2){_Sa=_6C;var _SB=_Qa+_EI2;while(_Sa<_BI2){_ed=_tb._fd(_gd._hd,_kU._Hb._bd,_tb._id,6);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;
_ed._ld+=6;_md=_ed._nd;_od=_ed._pd;_qd=_ed._rd;var _UB=_Sa+_FI2;_od[index]=_xI2;_md[index+0]=_Qa;_md[index+1]=_Sa;_md[index+2]=_yd;_qd[index+0]=_sc;_qd[index+1]=_uc;index+=_jd;_od[index]=_gB;_md[index+0]=_SB;_md[index+1]=_Sa;_md[index+2]=_yd;_qd[index+0]=_g71;_qd[index+1]=_uc;index+=_jd;_od[index]=_hB;_md[index+0]=_SB;_md[index+1]=_UB;_md[index+2]=_yd;_qd[index+0]=_g71;_qd[index+1]=_ud;index+=_jd;_od[index]=_hB;_md[index+0]=_SB;_md[index+1]=_UB;_md[index+2]=_yd;_qd[index+0]=_g71;_qd[index+1]=_ud;
index+=_jd;_od[index]=_wI2;_md[index+0]=_Qa;_md[index+1]=_UB;_md[index+2]=_yd;_qd[index+0]=_sc;_qd[index+1]=_ud;index+=_jd;_od[index]=_gB;_md[index+0]=_Qa;_md[index+1]=_Sa;_md[index+2]=_yd;_qd[index+0]=_sc;_qd[index+1]=_uc;if(!_tH){break }_Sa=_Sa+_8b}if(!_sH){break }_Qa=_Qa+_7b}}function _2H2(_GI2,_BE2,_Rl,_HI2,_II2,x,y,_uH,_vH,angle,color,alpha,_JI2){var _KI2=_jr;var _LI2=_8r;_Rl=~~_Rl%(_BE2._AU1);if(_Rl<0){_Rl=_Rl+(_BE2._AU1)}var _MI2=[];_MI2[0]=color&0xff;_MI2[1]=(color>>8)&0xff;_MI2[2]=(color>>16)&0xff;
_MI2[3]=(alpha*255)&0xff;var _NI2=new _7r();_NI2._ts(x,y,0.0);var _OI2=new _7r();_OI2._xs(angle);var _PI2=new _7r();_PI2._ts(-_HI2/_xU1,-_II2/_xU1,0.0);var _QI2=new _7r();_QI2._us(_xU1*_uH,_xU1*_vH,1.0);var _RI2=new _7r();_RI2.Multiply(_PI2,_QI2);var _SI2=new _7r();_SI2.Multiply(_RI2,_OI2);var _TI2=new _7r();_TI2.Multiply(_SI2,_NI2);var translate=new _7r();translate._ts(0.5,0.5,0.0);var scale=new _7r();scale._us(1.0/32768.0,1.0/32768.0,1.0);var _UI2=new _7r();_UI2.Multiply(scale,translate);var _HU1=_BE2._GU1[_Rl];var _VI2=[],
_WI2=0,_XI2=0,_YI2=true;for(var _Q3=0;_Q3<_HU1._IU1;_Q3++){var _JG=_HU1._JU1[_Q3];for(var _Pa=0;_Pa<_WI2;){var _ZI2=_VI2[_Pa];if(_ZI2._KU1<_JG._44){_tb._Zw1(_gd._gz1);_tb._0x1(_gd._8z1);_tb._kr(false,false,false,false);_tb._br(false);_XI2+=_Lk2(_GI2,_ZI2,_TI2,_UI2,color,_MI2,false,_JI2);_tb._3x1(_WI2-1);_tb._Zw1(_gd._bz1);_tb._0x1(_gd._1z1);_tb._kr(_KI2._Ll,_KI2._Ml,_KI2._Nl,_KI2.alpha);_tb._br(_LI2);_YI2=true;_WI2--;for(var _uj=_Pa;_uj<_WI2;_uj++){_VI2[_uj]=_VI2[_uj+1]}}else {_Pa++}}if(_JG._KU1>0){_VI2[_WI2++]=_JG;
_tb._Xw1(true);_tb._Zw1(_gd._gz1);_tb._0x1(_gd._7z1);_tb._kr(false,false,false,false);_tb._br(false);_YI2=false}if(_WI2==0){_tb._Xw1(false);_YI2=true}_XI2+=_Lk2(_GI2,_JG,_TI2,_UI2,color,_MI2,_YI2?_zG2:false,_JI2);if(_JG._KU1>0){_tb._3x1(_WI2);_tb._Zw1(_gd._bz1);_tb._0x1(_gd._1z1);_tb._kr(_KI2._Ll,_KI2._Ml,_KI2._Nl,_KI2.alpha);_tb._br(_LI2);_YI2=true;}}if(_WI2>0){_tb._Zw1(_gd._gz1);_tb._0x1(_gd._8z1);_tb._kr(false,false,false,false);_tb._br(false);for(var _Pa=0;_Pa<_WI2;_Pa++){var _ZI2=_VI2[_Pa];_XI2+=_Lk2(_GI2,
_ZI2,_TI2,_UI2,color,_MI2,false,_JI2)}}_tb._Xw1(false);_tb._kr(_KI2._Ll,_KI2._Ml,_KI2._Nl,_KI2.alpha);_tb._br(_LI2)}function _3H2(_zE2,__I2,_0J2,_1J2,_2J2,_3J2,_4J2,_JI2){var _5J2=[];_5J2[0]=_3J2[0],_5J2[1]=_3J2[1],_5J2[2]=_3J2[2],_5J2[3]=0;var _6J2=new _7r();_6J2.Multiply(__I2._UT1,_0J2);var _7J2=1.0;if(_4J2){_7J2=_8J2(__I2,_6J2)*_AG2}var _LU1=[],_MU1=[],_9J2=[];for(var _Q3=0;_Q3<4;_Q3++){_LU1[_Q3]=__I2._NU1[_Q3];_MU1[_Q3]=__I2._OU1[_Q3];_9J2[_Q3]=__I2._PU1[_Q3]}var _aJ2=0;if(__I2._TG!==0){var _bJ2=_zE2[__I2.index];
if(_bJ2.type===_sT1){var _AE2=_bJ2;for(var _Pa=0;_Pa<_AE2._FT1.length;_Pa++){var _tT=_AE2._FT1[_Pa];for(var _uj=0;_uj<_tT._IT1;_uj++){var _aU1=_tT._MT1[_uj];if((_aU1._cU1>=0)&&(_aU1._gU1>0)){var _cJ2=_tT._KT1[_aU1._cU1];if((_cJ2!==null)&&(_cJ2!==undefined)){var _RT1=_cJ2.type;if(_RT1===_vT1){_aJ2+=_dJ2(__I2,_cJ2,_aU1,_6J2,_3J2,_5J2,_LU1,_MU1,_9J2,_4J2)}else if((_RT1==_wT1)||(_RT1==_xT1)){_aJ2+=_eJ2(_zE2,__I2,_RT1,_cJ2,_aU1,_1J2,_6J2,_3J2,_5J2,_2J2,_LU1,_MU1,_9J2,_4J2,_JI2)}}}if((_aU1._dU1>=0)&&(_aU1._iU1>0)){
var _1c=_tT._LT1[_aU1._dU1]._1c;var _8U1=[];_8U1[0]=((_1c&0xff)*_3J2[0])>>8;_8U1[1]=(((_1c>>8)&0xff)*_3J2[1])>>8;_8U1[2]=(((_1c>>16)&0xff)*_3J2[2])>>8;_8U1[3]=(((_1c>>24)&0xff)*_3J2[3])>>8;for(var _Ka=0;_Ka<4;_Ka++){_8U1[_Ka]=((_8U1[_Ka]*_LU1[_Ka])>>8)+_MU1[_Ka];_8U1[_Ka]=Math.max(0,Math.min(_8U1[_Ka],255))}var _fJ2=_8U1[0]|(_8U1[1]<<8)|(_8U1[2]<<16)|(_8U1[3]<<24);var _gJ2=[];_gJ2[0]=((_1c&0xff)*_5J2[0])>>8;_gJ2[1]=(((_1c>>8)&0xff)*_5J2[1])>>8;_gJ2[2]=(((_1c>>16)&0xff)*_5J2[2])>>8;_gJ2[3]=(((_1c>>24)&0xff)*_5J2[3])>>8;
for(var _Ka=0;_Ka<4;_Ka++){_gJ2[_Ka]=((_gJ2[_Ka]*_LU1[_Ka])>>8)+_9J2[_Ka];_gJ2[_Ka]=_Ha(0,_Ja(_gJ2[_Ka],255))}var _hJ2=_gJ2[0]|(_gJ2[1]<<8)|(_gJ2[2]<<16)|(_gJ2[3]<<24);if(_4J2&&(_aU1._lU1>0)){var _dd=_aU1._lU1*6;var _ed=_tb._fd(_gd._hd,null,_tb._id,_dd);var _jd=_ed._kd()>>2;var _iJ2=_jd*_ed._ld;_ed._ld+=_dd;var _md=_ed._nd;var _od=_ed._pd;var _qd=_ed._rd;_aJ2+=_aU1._lU1*2;for(var _Ka=0;_Ka<_aU1._lU1;_Ka++){var _3a1=_aU1._uU1[(_Ka*2)+0],_4a1=_aU1._uU1[(_Ka*2)+1];var _jJ2=_aU1._qU1[(_3a1*2)+0],_kJ2=_aU1._qU1[(_3a1*2)+1];
var _lJ2=_aU1._vU1[(_3a1*2)+0],_mJ2=_aU1._vU1[(_3a1*2)+1];var _nJ2=_aU1._qU1[(_4a1*2)+0],_oJ2=_aU1._qU1[(_4a1*2)+1];var _pJ2=_aU1._vU1[(_4a1*2)+0],_qJ2=_aU1._vU1[(_4a1*2)+1];var _va=(_jJ2*_6J2._ua[_Es])+(_kJ2*_6J2._ua[_Fs])+_6J2._ua[_Hs],_wa=(_jJ2*_6J2._ua[_Is])+(_kJ2*_6J2._ua[_Ar])+_6J2._ua[_Ks],_xa=(_nJ2*_6J2._ua[_Es])+(_oJ2*_6J2._ua[_Fs])+_6J2._ua[_Hs],_ya=(_nJ2*_6J2._ua[_Is])+(_oJ2*_6J2._ua[_Ar])+_6J2._ua[_Ks];_lJ2*=_7J2;_mJ2*=_7J2;_pJ2*=_7J2;_qJ2*=_7J2;var _gl=(_lJ2*_6J2._ua[_Es])+(_mJ2*_6J2._ua[_Fs])+_va,
_hl=(_lJ2*_6J2._ua[_Is])+(_mJ2*_6J2._ua[_Ar])+_wa,_KQ1=(_pJ2*_6J2._ua[_Es])+(_qJ2*_6J2._ua[_Fs])+_xa,_LQ1=(_pJ2*_6J2._ua[_Is])+(_qJ2*_6J2._ua[_Ar])+_ya;_md[_iJ2+0]=_va;_md[_iJ2+1]=_wa;_md[_iJ2+2]=_yd;_od[_iJ2]=_fJ2;_iJ2+=_jd;_md[_iJ2+0]=_xa;_md[_iJ2+1]=_ya;_md[_iJ2+2]=_yd;_od[_iJ2]=_fJ2;_iJ2+=_jd;_md[_iJ2+0]=_gl;_md[_iJ2+1]=_hl;_md[_iJ2+2]=_yd;_od[_iJ2]=_hJ2;_iJ2+=_jd;_md[_iJ2+0]=_gl;_md[_iJ2+1]=_hl;_md[_iJ2+2]=_yd;_od[_iJ2]=_hJ2;_iJ2+=_jd;_md[_iJ2+0]=_xa;_md[_iJ2+1]=_ya;_md[_iJ2+2]=_yd;_od[_iJ2]=_fJ2;
_iJ2+=_jd;_md[_iJ2+0]=_KQ1;_md[_iJ2+1]=_LQ1;_md[_iJ2+2]=_yd;_od[_iJ2]=_hJ2;_iJ2+=_jd}}var _dd=_aU1._iU1*3;var _ed=_tb._fd(_gd._hd,null,_tb._id,_dd);var _jd=_ed._kd()>>2;var _iJ2=_jd*_ed._ld;_ed._ld+=_dd;_md=_ed._nd;_od=_ed._pd;_qd=_ed._rd;_aJ2+=_aU1._iU1;var _rJ2=0;for(var _Ka=_aU1._iU1*3;_Ka>0;--_Ka){var index=_aU1._rU1[_rJ2++];var _sJ2=_aU1._qU1[index*2];var _tJ2=_aU1._qU1[(index*2)+1];var x=(_sJ2*_6J2._ua[_Es])+(_tJ2*_6J2._ua[_Fs])+_6J2._ua[_Hs];var y=(_sJ2*_6J2._ua[_Is])+(_tJ2*_6J2._ua[_Ar])+_6J2._ua[_Ks];
_md[_iJ2+0]=x;_md[_iJ2+1]=y;_md[_iJ2+2]=_yd;_od[_iJ2]=_fJ2;_iJ2+=_jd}}}}}}return _aJ2}function _eJ2(_zE2,__I2,_uJ2,_vJ2,_wJ2,_1J2,_xJ2,_3J2,_yJ2,_2J2,_zJ2,_AJ2,_BJ2,_4J2,_JI2){var _md,_od,_qd,_Ok=null,_7J2=1.0,_CJ2=new _7r();if(_4J2){_7J2=_8J2(__I2,_xJ2)*_AG2}if(_uJ2===_wT1){var _DJ2=_vJ2;if(_DJ2._9T1>-1){_Ok=_JI2[_DJ2._9T1];var _EJ2=new _7r();var _FJ2=new _7r();var _GJ2=new _7r();var _HJ2=new _7r();_FJ2._ts(_Ok.x/_Ok._Hb.width,_Ok.y/_Ok._Hb.height,0);_EJ2._us(_Ok._S3/_Ok._Hb.width,_Ok._T3/_Ok._Hb.height,1.0);
_GJ2.Multiply(_EJ2,_FJ2);_HJ2.Multiply(_1J2,_GJ2);_CJ2.Multiply(_DJ2._UT1,_HJ2)}else {_Ok=_DJ2._Je;_CJ2.Multiply(_DJ2._UT1,_1J2)}}else if(_uJ2===_xT1){var _DJ2=_vJ2;if(_DJ2._ZT1!==-1){var _IJ2=_zE2[_DJ2._ZT1];if(_IJ2._9T1>-1){_Ok=_JI2[_IJ2._9T1];var _W9=_Ok._S3/_Ok._k5;var _X9=_Ok._T3/_Ok._l5;var _FJ2=new _7r();var _EJ2=new _7r();var _GJ2=new _7r();_FJ2._ts(_Ok.x/_W9,_Ok.y/_X9,0);_EJ2._us((1.0/_Ok._Hb.width)*_W9,(1.0/_Ok._Hb.height)*_X9,1.0);_GJ2.Multiply(_FJ2,_EJ2);_CJ2.Multiply(_DJ2._UT1,_GJ2);if((_DJ2._XT1===_4T1)||(_DJ2._XT1===_6T1)){
_tb._Rw1(0,true)}else {_tb._Rw1(0,false)}}else {var _UC1=_IJ2._UC1;_Ok={_Hb:_UC1};if(_UC1!==null){var _EJ2=new _7r();_EJ2._us(1.0/_UC1.width,1.0/_UC1.height,1.0);_CJ2.Multiply(_DJ2._UT1,_EJ2);if((_DJ2._XT1===_4T1)||(_DJ2._XT1===_6T1)){_tb._Rw1(0,true)}else {_tb._Rw1(0,false)}}}}}var _aJ2=0;if(_Ok!==null){if(!_Ok._Hb._bd){if(_Ok._S3==0||_Ok._T3==0)return;_cd(_Ok)}_aJ2+=_wJ2._gU1;if(_4J2&&(_wJ2._jU1>0)){_aJ2+=_wJ2._jU1*2;var _8U1=[];for(var _Ka=0;_Ka<4;_Ka++){_8U1[_Ka]=((_3J2[_Ka]*_zJ2[_Ka])>>8)+_AJ2[_Ka];
_8U1[_Ka]=Math.max(0,Math.min(_8U1[_Ka],255))}var _fJ2=_8U1[0]|(_8U1[1]<<8)|(_8U1[2]<<16)|(_8U1[3]<<24);var _gJ2=[];for(var _Ka=0;_Ka<4;_Ka++){_gJ2[_Ka]=((_yJ2[_Ka]*_zJ2[_Ka])>>8)+_BJ2[_Ka];_gJ2[_Ka]=Math.max(0,Math.min(_gJ2[_Ka],255))}var _hJ2=_gJ2[0]|(_gJ2[1]<<8)|(_gJ2[2]<<16)|(_gJ2[3]<<24);var _dd=_wJ2._jU1*6;var _ed=_tb._fd(_gd._hd,_Ok._Hb._bd,_tb._id,_dd);var _jd=_ed._kd()>>2;var _iJ2=_jd*_ed._ld;_ed._ld+=_dd;var _md=_ed._nd;var _od=_ed._pd;var _qd=_ed._rd;var _JJ2=0;for(_Ka=_wJ2._jU1;_Ka>0;_Ka--){var _3a1=_wJ2._sU1[_JJ2++],
_4a1=_wJ2._sU1[_JJ2++];var _KJ2=_3a1*2,_LJ2=_3a1*2;var _jJ2=_wJ2._nU1[_KJ2];_KJ2++;var _kJ2=_wJ2._nU1[_KJ2];var _lJ2=_wJ2._tU1[_LJ2];_LJ2++;var _mJ2=_wJ2._tU1[_LJ2];_KJ2=_4a1*2;_LJ2=_4a1*2;var _nJ2=_wJ2._nU1[_KJ2];_KJ2++;var _oJ2=_wJ2._nU1[_KJ2];var _pJ2=_wJ2._tU1[_LJ2];_LJ2++;var _qJ2=_wJ2._tU1[_LJ2];var _va=(_jJ2*_xJ2._ua[_Es])+(_kJ2*_xJ2._ua[_Fs])+_xJ2._ua[_Hs],_wa=(_jJ2*_xJ2._ua[_Is])+(_kJ2*_xJ2._ua[_Ar])+_xJ2._ua[_Ks],_xa=(_nJ2*_xJ2._ua[_Es])+(_oJ2*_xJ2._ua[_Fs])+_xJ2._ua[_Hs],_ya=(_nJ2*_xJ2._ua[_Is])+(_oJ2*_xJ2._ua[_Ar])+_xJ2._ua[_Ks];
_lJ2*=_7J2;_mJ2*=_7J2;_pJ2*=_7J2;_qJ2*=_7J2;var _gl=(_lJ2*_xJ2._ua[_Es])+(_mJ2*_xJ2._ua[_Fs])+_va,_hl=(_lJ2*_xJ2._ua[_Is])+(_mJ2*_xJ2._ua[_Ar])+_wa,_KQ1=(_pJ2*_xJ2._ua[_Es])+(_qJ2*_xJ2._ua[_Fs])+_xa,_LQ1=(_pJ2*_xJ2._ua[_Is])+(_qJ2*_xJ2._ua[_Ar])+_ya;_lJ2+=_jJ2;_mJ2+=_kJ2;_pJ2+=_nJ2;_qJ2+=_oJ2;_md[_iJ2+0]=_va;_md[_iJ2+1]=_wa;_md[_iJ2+2]=_yd;_qd[_iJ2+0]=(_jJ2*_CJ2._ua[_Es])+(_kJ2*_CJ2._ua[_Fs])+_CJ2._ua[_Hs];_qd[_iJ2+1]=(_jJ2*_CJ2._ua[_Is])+(_kJ2*_CJ2._ua[_Ar])+_CJ2._ua[_Ks];_od[_iJ2]=_fJ2;_iJ2+=_jd;
_md[_iJ2+0]=_xa;_md[_iJ2+1]=_ya;_md[_iJ2+2]=_yd;_qd[_iJ2+0]=(_nJ2*_CJ2._ua[_Es])+(_oJ2*_CJ2._ua[_Fs])+_CJ2._ua[_Hs];_qd[_iJ2+1]=(_nJ2*_CJ2._ua[_Is])+(_oJ2*_CJ2._ua[_Ar])+_CJ2._ua[_Ks];_od[_iJ2]=_fJ2;_iJ2+=_jd;_md[_iJ2+0]=_gl;_md[_iJ2+1]=_hl;_md[_iJ2+2]=_yd;_qd[_iJ2+0]=(_lJ2*_CJ2._ua[_Es])+(_mJ2*_CJ2._ua[_Fs])+_CJ2._ua[_Hs];_qd[_iJ2+1]=(_lJ2*_CJ2._ua[_Is])+(_mJ2*_CJ2._ua[_Ar])+_CJ2._ua[_Ks];_od[_iJ2]=_hJ2;_iJ2+=_jd;_md[_iJ2+0]=_gl;_md[_iJ2+1]=_hl;_md[_iJ2+2]=_yd;_qd[_iJ2+0]=(_lJ2*_CJ2._ua[_Es])+(_mJ2*_CJ2._ua[_Fs])+_CJ2._ua[_Hs];
_qd[_iJ2+1]=(_lJ2*_CJ2._ua[_Is])+(_mJ2*_CJ2._ua[_Ar])+_CJ2._ua[_Ks];_od[_iJ2]=_hJ2;_iJ2+=_jd;_md[_iJ2+0]=_xa;_md[_iJ2+1]=_ya;_md[_iJ2+2]=_yd;_qd[_iJ2+0]=(_nJ2*_CJ2._ua[_Es])+(_oJ2*_CJ2._ua[_Fs])+_CJ2._ua[_Hs];_qd[_iJ2+1]=(_nJ2*_CJ2._ua[_Is])+(_oJ2*_CJ2._ua[_Ar])+_CJ2._ua[_Ks];_od[_iJ2]=_fJ2;_iJ2+=_jd;_md[_iJ2+0]=_KQ1;_md[_iJ2+1]=_LQ1;_md[_iJ2+2]=_yd;_qd[_iJ2+0]=(_pJ2*_CJ2._ua[_Es])+(_qJ2*_CJ2._ua[_Fs])+_CJ2._ua[_Hs];_qd[_iJ2+1]=(_pJ2*_CJ2._ua[_Is])+(_qJ2*_CJ2._ua[_Ar])+_CJ2._ua[_Ks];_od[_iJ2]=_hJ2;
_iJ2+=_jd}}var _dd=_wJ2._gU1*3;var _ed=_tb._fd(_gd._hd,_Ok._Hb._bd,_tb._id,_dd);var _jd=_ed._kd()>>2;var _iJ2=_jd*_ed._ld;_ed._ld+=_dd;_md=_ed._nd,_od=_ed._pd,_qd=_ed._rd;var _rJ2=0;for(var _Ka=_wJ2._gU1*3;_Ka>0;--_Ka){var index=_wJ2._pU1[_rJ2++];var _sJ2=_wJ2._nU1[index*2];var _tJ2=_wJ2._nU1[(index*2)+1];var x=(_sJ2*_xJ2._ua[_Es])+(_tJ2*_xJ2._ua[_Fs])+_xJ2._ua[_Hs];var y=(_sJ2*_xJ2._ua[_Is])+(_tJ2*_xJ2._ua[_Ar])+_xJ2._ua[_Ks];_md[_iJ2+0]=x;_md[_iJ2+1]=y;_md[_iJ2+2]=_yd;_od[_iJ2]=_2J2;_qd[_iJ2+0]=(_sJ2*_CJ2._ua[_Es])+(_tJ2*_CJ2._ua[_Fs])+_CJ2._ua[_Hs];
_qd[_iJ2+1]=(_sJ2*_CJ2._ua[_Is])+(_tJ2*_CJ2._ua[_Ar])+_CJ2._ua[_Ks];_iJ2+=_jd}}return _aJ2}function _dJ2(__I2,_vJ2,_wJ2,_xJ2,_3J2,_yJ2,_zJ2,_AJ2,_BJ2,_4J2){var _7J2=1.0;if(_4J2){_7J2=_8J2(__I2,_xJ2)*_AG2}var _MJ2=false;var _DJ2=_vJ2,_1c=_DJ2._1c,_aJ2=0,_Ka=0;var _8U1=[];var _Ia=((_1c>>16)&0xff),_fc=((_1c>>8)&0xff),_La=(_1c&0xff),_gc=((_1c>>24)&0xff);_8U1[0]=(_Ia*_3J2[0])>>8;_8U1[1]=(_fc*_3J2[1])>>8;_8U1[2]=(_La*_3J2[2])>>8;_8U1[3]=(_gc*_3J2[3])>>8;for(_Ka=0;_Ka<4;_Ka++){_8U1[_Ka]=((_8U1[_Ka]*_zJ2[_Ka])>>8)+_AJ2[_Ka];
_8U1[_Ka]=_Ha(0,_Ja(_8U1[_Ka],255))}var _fJ2=_8U1[2]|(_8U1[1]<<8)|(_8U1[0]<<16)|(_8U1[3]<<24);var _gJ2=[];_gJ2[0]=((_1c&0xff)*_yJ2[0])>>8;_gJ2[1]=(((_1c>>8)&0xff)*_yJ2[1])>>8;_gJ2[2]=(((_1c>>16)&0xff)*_yJ2[2])>>8;_gJ2[3]=(((_1c>>24)&0xff)*_yJ2[3])>>8;for(_Ka=0;_Ka<4;_Ka++){_gJ2[_Ka]=((_gJ2[_Ka]*_zJ2[_Ka])>>8)+_BJ2[_Ka];_gJ2[_Ka]=_Ha(0,_Ja(_gJ2[_Ka],255))}var _hJ2=_gJ2[0]|(_gJ2[1]<<8)|(_gJ2[2]<<16)|(_gJ2[3]<<24);if(_MJ2){}else if(_4J2&&(_wJ2._jU1>0)){_aJ2+=_wJ2._jU1*2;var _dd=_wJ2._jU1*6;var _ed=_tb._fd(_gd._hd,
null,_tb._id,_dd);var _jd=_ed._kd()>>2;var _iJ2=_jd*_ed._ld;_ed._ld+=_dd;var _md=_ed._nd;var _od=_ed._pd;var _JJ2=0;for(_Ka=_wJ2._jU1;_Ka>0;_Ka--){var _3a1=_wJ2._sU1[_JJ2++],_4a1=_wJ2._sU1[_JJ2++];var _KJ2=_3a1*2,_LJ2=_3a1*2;var _jJ2=_wJ2._nU1[_KJ2];_KJ2++;var _kJ2=_wJ2._nU1[_KJ2];var _lJ2=_wJ2._tU1[_LJ2];_LJ2++;var _mJ2=_wJ2._tU1[_LJ2];_KJ2=_4a1*2;_LJ2=_4a1*2;var _nJ2=_wJ2._nU1[_KJ2];_KJ2++;var _oJ2=_wJ2._nU1[_KJ2];var _pJ2=_wJ2._tU1[_LJ2];_LJ2++;var _qJ2=_wJ2._tU1[_LJ2];var _va=(_jJ2*_xJ2._ua[_Es])+(_kJ2*_xJ2._ua[_Fs])+_xJ2._ua[_Hs],
_wa=(_jJ2*_xJ2._ua[_Is])+(_kJ2*_xJ2._ua[_Ar])+_xJ2._ua[_Ks],_xa=(_nJ2*_xJ2._ua[_Es])+(_oJ2*_xJ2._ua[_Fs])+_xJ2._ua[_Hs],_ya=(_nJ2*_xJ2._ua[_Is])+(_oJ2*_xJ2._ua[_Ar])+_xJ2._ua[_Ks];_lJ2*=_7J2;_mJ2*=_7J2;_pJ2*=_7J2;_qJ2*=_7J2;var _gl=(_lJ2*_xJ2._ua[_Es])+(_mJ2*_xJ2._ua[_Fs])+_va,_hl=(_lJ2*_xJ2._ua[_Is])+(_mJ2*_xJ2._ua[_Ar])+_wa,_KQ1=(_pJ2*_xJ2._ua[_Es])+(_qJ2*_xJ2._ua[_Fs])+_xa,_LQ1=(_pJ2*_xJ2._ua[_Is])+(_qJ2*_xJ2._ua[_Ar])+_ya;_md[_iJ2+0]=_va;_md[_iJ2+1]=_wa;_md[_iJ2+2]=_yd;_od[_iJ2]=_fJ2;_iJ2+=_jd;
_md[_iJ2+0]=_xa;_md[_iJ2+1]=_ya;_md[_iJ2+2]=_yd;_od[_iJ2]=_fJ2;_iJ2+=_jd;_md[_iJ2+0]=_gl;_md[_iJ2+1]=_hl;_md[_iJ2+2]=_yd;_od[_iJ2]=_hJ2;_iJ2+=_jd;_md[_iJ2+0]=_gl;_md[_iJ2+1]=_hl;_md[_iJ2+2]=_yd;_od[_iJ2]=_hJ2;_iJ2+=_jd;_md[_iJ2+0]=_xa;_md[_iJ2+1]=_ya;_md[_iJ2+2]=_yd;_od[_iJ2]=_fJ2;_iJ2+=_jd;_md[_iJ2+0]=_KQ1;_md[_iJ2+1]=_LQ1;_md[_iJ2+2]=_yd;_od[_iJ2]=_hJ2;_iJ2+=_jd}}var _dd=_wJ2._gU1*3;var _ed=_tb._fd(_gd._hd,null,_tb._id,_dd);var _jd=_ed._kd()>>2;var _iJ2=_jd*_ed._ld;_ed._ld+=_dd;_md=_ed._nd;_od=_ed._pd;
_aJ2+=_wJ2._gU1;var _rJ2=0;for(var _Ka=_wJ2._gU1*3;_Ka>0;--_Ka){var index=_wJ2._pU1[_rJ2++];var _sJ2=_wJ2._nU1[index*2];var _tJ2=_wJ2._nU1[(index*2)+1];var x=(_sJ2*_xJ2._ua[_Es])+(_tJ2*_xJ2._ua[_Fs])+_xJ2._ua[_Hs];var y=(_sJ2*_xJ2._ua[_Is])+(_tJ2*_xJ2._ua[_Ar])+_xJ2._ua[_Ks];_md[_iJ2+0]=x;_md[_iJ2+1]=y;_md[_iJ2+2]=_yd;_od[_iJ2]=_fJ2;_iJ2+=_jd}return _aJ2}function _8J2(__I2,_xJ2){if(_zG2){if(__I2._7J2!==undefined){return __I2._7J2;}var _Yj2=_Bs(_ss);var _NJ2=_Bs(_3E);var _OJ2=_Bs(_7E);var _PJ2=new _7r();_PJ2.Multiply(_Yj2,
_NJ2);var _QJ2=new _7r();_QJ2.Multiply(_PJ2,_OJ2);var _RJ2=new _7r();_RJ2.Multiply(_xJ2,_QJ2);var _SJ2=_tb._bv1,_TJ2=_tb._cv1;var _UJ2=[];_UJ2[0]=0.0;_UJ2[1]=0.0;_UJ2[2]=1.0;_UJ2[3]=0.0;_UJ2[4]=0.0;_UJ2[5]=1.0;var _VJ2=[];for(var _Q3=0;_Q3<3;_Q3++){var _wV1=(_UJ2[_Q3*2]*_RJ2._ua[_cc2])+(_UJ2[(_Q3*2)+1]*_RJ2._ua[_dc2])+(_yd*_RJ2._ua[_ec2])+_RJ2._ua[_fc2];var index=(_Q3*2)+0;_VJ2[index]=(_UJ2[_Q3*2]*_RJ2._ua[_Es])+(_UJ2[(_Q3*2)+1]*_RJ2._ua[_Fs])+(_yd*_RJ2._ua[_Gs])+_RJ2._ua[_Hs];_VJ2[index]=_VJ2[index]/_wV1;
_VJ2[index]=_VJ2[index]*_SJ2;index++;_VJ2[index]=(_UJ2[_Q3*2]*_RJ2._ua[_Is])+(_UJ2[(_Q3*2)+1]*_RJ2._ua[_Ar])+(_yd*_RJ2._ua[_Js])+_RJ2._ua[_Ks];_VJ2[index]=_VJ2[index]/_wV1;_VJ2[index]=_VJ2[index]*_TJ2}var _WJ2=[];_WJ2[0]=_VJ2[2]-_VJ2[0];_WJ2[1]=_VJ2[3]-_VJ2[1];_WJ2[2]=_VJ2[4]-_VJ2[0];_WJ2[3]=_VJ2[5]-_VJ2[1];var _XJ2=0.0,_7J2=1.0,index=0;for(var _Q3=0;_Q3<2;_Q3++){var length=_WJ2[index]*_WJ2[index];index++;length+=_WJ2[index]*_WJ2[index];index++;if(length>0.0){length=Math.sqrt(length);}_XJ2=Math.max(length,
_XJ2)}_XJ2*=0.5;if(_XJ2>0.0){_7J2=1.0/_XJ2}__I2._7J2=_7J2;return _7J2}return 1.0}function _0H2(_kU,_ZT,__T,_N9,_O9,_Hl2,_Il2,_1W,_5f,_iy,_bB,_cB,_Re){var _ed,_6r2,_vI2,_md,_od,_qd;if(_kU===undefined){debug("Attempting to draw texture that is not loaded");return }if(!_kU._Hb._bd){if(_kU._S3==0||_kU._T3==0)return;_cd(_kU)}_ed=_tb._fd(_gd._hd,_kU._Hb._bd,_tb._id,6);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=6;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;
_md=_ed._nd;_od=_ed._pd;_qd=_ed._rd;var _va=-_Hl2*(_ZT-_kU._g5);var _wa=-_Il2*(__T-_kU._h5);var _xa=_va+(_Hl2*_kU._i5);var _ya=_wa+(_Il2*_kU._j5);if(Math.abs(_1W)<0.001){_md[_sd+0]=_md[_wd+0]=_md[_xd+0]=_N9+_va;_md[_sd+1]=_md[_td+1]=_md[_xd+1]=_O9+_wa;_md[_td+0]=_md[_ud+0]=_md[_vd+0]=_N9+_xa;_md[_ud+1]=_md[_vd+1]=_md[_wd+1]=_O9+_ya;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd}else {var _ab=Math.sin(_1W);var _bb=Math.cos(_1W);var _EJ1=_va*_bb;var _FJ1=_xa*_bb;var _GJ1=_wa*_bb;var _HJ1=_ya*_bb;
var _IJ1=_va*_ab;var _JJ1=_xa*_ab;var _KJ1=_wa*_ab;var _LJ1=_ya*_ab;_md[_sd+0]=_md[_xd+0]=_N9+_EJ1+_KJ1;_md[_sd+1]=_md[_xd+1]=_O9-_IJ1+_GJ1;_md[_ud+0]=_md[_vd+0]=_N9+_FJ1+_LJ1;_md[_ud+1]=_md[_vd+1]=_O9-_JJ1+_HJ1;_md[_td+1]=_O9-_JJ1+_GJ1;_md[_td+0]=_N9+_FJ1+_KJ1;_md[_wd+0]=_N9+_EJ1+_LJ1;_md[_wd+1]=_O9-_IJ1+_HJ1;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd}_qd[_sd+0]=_qd[_wd+0]=_qd[_xd+0]=_kU.x/_kU._Hb.width;_qd[_sd+1]=_qd[_td+1]=_qd[_xd+1]=_kU.y/_kU._Hb.height;_qd[_td+0]=_qd[_ud+0]=_qd[_vd+0]=(_kU.x+_kU._S3)/_kU._Hb.width;
_qd[_ud+1]=_qd[_vd+1]=_qd[_wd+1]=(_kU.y+_kU._T3)/_kU._Hb.height;var _gc=(_Re*255.0)<<24;_5f=_gc|(_5f&0xffffff);if(_iy==undefined){_iy=_5f;_bB=_5f;_cB=_5f}else {_iy=_iy|_gc;_bB=_bB|_gc;_cB=_cB|_gc}if(_Lj2){_5f&=0xfffefffe;_iy&=0xfffefffe;_bB&=0xfffefffe;_cB&=0xfffefffe;_iy|=0x00010000;_bB|=0x00000001;_cB|=0x00010001}_od[_sd]=_od[_xd]=_5f;_od[_td]=_iy;_od[_ud]=_od[_vd]=_bB;_od[_wd]=_cB}function _1H2(_kU,__a,_0b,_ma,_na,_CB,_DB,_Sl2,_Tl2,_Re){var _1c=~~((_Re*255.0)<<24)|0xffffff;var _hB=_1c;var _wI2=_1c;
var _xI2=_1c;var _ed,_6r2,_vI2,_md,_od,_qd;if(!_kU._Hb._bd){if(_kU._S3==0||_kU._T3==0)return;_cd(_kU)}_ed=_tb._fd(_gd._hd,_kU._Hb._bd,_tb._id,6);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=6;var _sd=index,_td=_sd+_jd,_ud=_td+_jd,_vd=_ud+_jd,_wd=_vd+_jd,_xd=_wd+_jd;_md=_ed._nd;_od=_ed._pd;_qd=_ed._rd;_md[_sd+0]=_md[_xd+0]=__a;_md[_sd+1]=_md[_xd+1]=_0b;_md[_td+0]=_ma;_md[_td+1]=_na;_md[_ud+0]=_md[_vd+0]=_CB;_md[_ud+1]=_md[_vd+1]=_DB;_md[_wd+0]=_Sl2;_md[_wd+1]=_Tl2;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;
_qd[_sd+0]=_qd[_wd+0]=_qd[_xd+0]=_kU.x/_kU._Hb.width;_qd[_sd+1]=_qd[_td+1]=_qd[_xd+1]=_kU.y/_kU._Hb.height;_qd[_td+0]=_qd[_ud+0]=_qd[_vd+0]=(_kU.x+_kU._S3)/_kU._Hb.width;_qd[_ud+1]=_qd[_vd+1]=_qd[_wd+1]=(_kU.y+_kU._T3)/_kU._Hb.height;if(_Lj2){_1c&=0xfffefffe;_hB&=0xfffefffe;_wI2&=0xfffefffe;_xI2&=0xfffefffe;_hB|=0x00010000;_wI2|=0x00000001;_xI2|=0x00010001}_od[_sd]=_od[_xd]=_1c;_od[_td]=_hB;_od[_ud]=_od[_vd]=_wI2;_od[_wd]=_xI2;}function _YG2(_bg,_N9,_O9,_Ii,_Ji,_Ru1){_tb._hx1(_bg,_N9,_O9,_Ii,_Ji,
_Ru1)}function _4H2(_kU,_fM,_gM,_Bb,_Cb,_N9,_O9,_4t,_5t,_NV,_Re){if(!_kU)return;if(!_kU._Hb)return;if(!_kU._Hb.complete)return;_NV&=0xffffff;_NV|=(_Re*255)<<24;if(_fM<_kU._g5){var _Vl2=_kU._g5-_fM;_N9+=_Vl2;_Bb-=_Vl2;_fM=0}else {_fM-=_kU._g5}if(_gM<_kU._h5){var _Vl2=_kU._h5-_gM;_O9+=_Vl2;_Cb-=_Vl2;_gM=0}else {_gM-=_kU._h5}if(_Bb>(_kU._i5-_fM))_Bb=_kU._i5-_fM;if(_Cb>(_kU._j5-_gM))_Cb=_kU._j5-_gM;if(_Bb<=0||_Cb<=0)return;_sH2(_kU,_fM+_kU.x,_gM+_kU.y,_Bb,_Cb,_N9,_O9,_Bb*_4t,_Cb*_5t,_NV)}function _5H2(__a,
_0b,_ma,_na,_VA){var _ed,_6r2,_vI2,_md,_od,_qd;__a=~~__a;_0b=~~_0b;_ma=~~_ma;_na=~~_na;var _qY1=_gd._hd;var _Fb=6;if(_VA){_qY1=_gd._Ce;_Fb=8}_ed=_tb._fd(_qY1,null,_tb._id,_Fb);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=_Fb;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;var _YJ2=_xd+_jd;var _ZJ2=_YJ2+_jd;_md=_ed._nd;_od=_ed._pd;_qd=_ed._rd;var _1c=~~((_Oe*255.0)<<24)|(_Pe&0xffffff);if(!_VA){if(_JG2!=0.0){_ma+=_JG2;_na+=_JG2}_md[_sd+0]=_md[_wd+0]=_md[_xd+0]=__a;
_md[_sd+1]=_md[_td+1]=_md[_xd+1]=_0b;_md[_td+0]=_md[_ud+0]=_md[_vd+0]=_ma;_md[_ud+1]=_md[_vd+1]=_md[_wd+1]=_na;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;_od[_sd]=_od[_td]=_od[_ud]=_od[_vd]=_od[_wd]=_od[_xd]=_1c}else {if(_JG2!=0.0){__a+=_JG2;_0b+=_JG2;_ma+=_JG2;_na+=_JG2}_od[_sd]=_od[_td]=_od[_ud]=_od[_vd]=_od[_wd]=_od[_xd]=_od[_YJ2]=_od[_ZJ2]=_1c;_md[_xd+0]=_md[_ZJ2+0]=_md[_YJ2+0]=_md[_sd+0]=__a;_md[_ZJ2+1]=_md[_ud+1]=_md[_td+1]=_md[_sd+1]=_0b;_md[_wd+0]=_md[_vd+0]=_md[_ud+0]=_md[_td+0]=_ma;
_md[_vd+1]=_md[_wd+1]=_md[_xd+1]=_md[_YJ2+1]=_na;_md[_ZJ2+1]=_0b;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_md[_YJ2+2]=_md[_ZJ2+2]=_yd;}}function _6H2(__a,_0b,_ma,_na,__A,_0B,_hy,_iy,_VA){if(_JG2!=0.0){__a+=_JG2;_0b+=_JG2;_ma+=_JG2;_na+=_JG2}var _Q3,_S3,_T3;_S3=__A;_T3=_0B;if(_S3>Math.abs(_ma-__a)){_S3=Math.abs(_ma-__a)}if(_T3>Math.abs(_na-_0b)){_T3=Math.abs(_na-_0b)}var _f01=(_Se(_hy)&0xffffff)|((_Oe*255.0)<<24);var _g01=(_Se(_iy)&0xffffff)|((_Oe*255.0)<<24);var __J2=_GG2/4;var _qY1=_gd._Fe;
var _Fb=((__J2+1)*4)+2;if(_VA){_qY1=_gd._De}var _9C=(__a+_ma)*0.5;var _aC=(_0b+_na)*0.5;var _Mr=Math.abs(_ma-__a)*0.5-_S3*0.5;var _Nr=Math.abs(_na-_0b)*0.5-_T3*0.5;var _ed=_tb._fd(_qY1,null,_tb._id,_Fb);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;var _0K2=index;_ed._ld+=_Fb;var _md=_ed._nd;var _od=_ed._pd;_md[index]=_9C;_md[index+1]=_aC;_md[index+2]=_yd;_od[index]=_f01;index+=_jd;for(_Q3=0;_Q3<=__J2;_Q3++){_md[index]=(_9C+_Mr+_S3*_HG2[_Q3]/2);_md[index+1]=(_aC+_Nr+_T3*_IG2[_Q3]/2);_md[index+2]=_yd;_od[index]=_g01;
index+=_jd}for(_Q3=__J2;_Q3<=(__J2*2);_Q3++){_md[index]=(_9C-_Mr+_S3*_HG2[_Q3]/2);_md[index+1]=(_aC+_Nr+_T3*_IG2[_Q3]/2);_md[index+2]=_yd;_od[index]=_g01;index+=_jd}for(_Q3=(__J2*2);_Q3<=(__J2*3);_Q3++){_md[index]=(_9C-_Mr+_S3*_HG2[_Q3]/2);_md[index+1]=(_aC-_Nr+_T3*_IG2[_Q3]/2);_md[index+2]=_yd;_od[index]=_g01;index+=_jd}for(_Q3=(__J2*3);_Q3<=(__J2*4);_Q3++){_md[index]=(_9C+_Mr+_S3*_HG2[_Q3]/2);_md[index+1]=(_aC-_Nr+_T3*_IG2[_Q3]/2);_md[index+2]=_yd;_od[index]=_g01;index+=_jd}_md[index]=_md[_0K2+_jd];
_md[index+1]=_md[_0K2+_jd+1];_md[index+2]=_yd;_od[index]=_g01;if(_VA){_md[_0K2]=_md[_0K2+_jd];_md[_0K2+1]=_md[_0K2+_jd+1];_md[_0K2+2]=_yd;_od[_0K2]=_od[_0K2+_jd]}}function _7H2(__a,_0b,_ma,_na,_hy,_iy,_bB,_cB,_VA){var _ed,_6r2,_vI2,_md,_od,_qd;__a=~~__a;_0b=~~_0b;_ma=~~_ma;_na=~~_na;var _gc=((_Oe*255.0)<<24);_hy=_Se(_hy)|_gc;_iy=_Se(_iy)|_gc;_bB=_Se(_bB)|_gc;_cB=_Se(_cB)|_gc;var _qY1=_gd._hd;var _Fb=6;if(_VA){_qY1=_gd._Ce;_Fb=8}_ed=_tb._fd(_qY1,null,_tb._id,_Fb);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;
_ed._ld+=_Fb;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;var _YJ2=_xd+_jd;var _ZJ2=_YJ2+_jd;var _md=_ed._nd;var _od=_ed._pd;_qd=_ed._rd;var _1c=~~((_Oe*255.0)<<24)|(_Pe&0xffffff);if(!_VA){_md[_sd+0]=_md[_wd+0]=_md[_xd+0]=__a;_md[_sd+1]=_md[_td+1]=_md[_xd+1]=_0b;_md[_td+0]=_md[_ud+0]=_md[_vd+0]=_ma+1.0;_md[_ud+1]=_md[_vd+1]=_md[_wd+1]=_na+1.0;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;_od[_sd]=_od[_xd]=_hy;_od[_ud]=_od[_vd]=_bB;_od[_td]=_iy;
_od[_wd]=_cB}else {if(_JG2!=0.0){__a+=_JG2;_0b+=_JG2;_ma+=_JG2;_na+=_JG2}_od[_sd]=_od[_ZJ2]=_hy;_od[_td]=_od[_ud]=_iy;_od[_vd]=_od[_wd]=_bB;_od[_xd]=_od[_YJ2]=_cB;_md[_xd+0]=_md[_ZJ2+0]=_md[_YJ2+0]=_md[_sd+0]=__a;_md[_ZJ2+1]=_md[_ud+1]=_md[_td+1]=_md[_sd+1]=_0b;_md[_wd+0]=_md[_vd+0]=_md[_ud+0]=_md[_td+0]=_ma;_md[_vd+1]=_md[_wd+1]=_md[_xd+1]=_md[_YJ2+1]=_na;_md[_ZJ2+1]=_0b;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_md[_YJ2+2]=_md[_ZJ2+2]=_yd}}function _gH2(_N9,_O9,_5f){if(_JG2!=0.0){
_N9+=_JG2;_O9+=_JG2}var _ed,_md,_od;_ed=_tb._fd(_gd._Be,null,_tb._id,1);var _jd=_ed._kd()>>2;var _sd=_jd*_ed._ld;_ed._ld++;_md=_ed._nd;_od=_ed._pd;var _1c=~~((_Oe*255.0)<<24)|_Se(_5f);_md[_sd+0]=~~_N9+0.5;_md[_sd+1]=~~_O9+0.5;_md[_sd+2]=_yd;_od[_sd]=_1c;}function _cH2(__a,_0b,_ma,_na,_CB,_DB,_VA){if(_JG2!=0.0){__a+=_JG2;_0b+=_JG2;_ma+=_JG2;_na+=_JG2;_CB+=_JG2;_DB+=_JG2}var _ed,_md,_od,_qd;if(_VA){_ed=_tb._fd(_gd._De,null,_tb._id,4)}else {_ed=_tb._fd(_gd._hd,null,_tb._id,3)}var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;
_ed._ld+=3;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _md=_ed._nd;var _od=_ed._pd;_md[_sd+0]=__a;_md[_sd+1]=_0b;_md[_sd+2]=_yd;_md[_td+0]=_ma;_md[_td+1]=_na;_md[_td+2]=_yd;_md[_ud+0]=_CB;_md[_ud+1]=_DB;_md[_ud+2]=_yd;if(_VA){_md[_vd+0]=__a;_md[_vd+1]=_0b;_md[_vd+2]=_yd;_ed._ld++}_od[_sd]=_od[_td]=_od[_ud]=_od[_vd]=((_Oe*255.0)<<24)|_Pe}function _8H2(__a,_0b,_ma,_na,_hy,_iy,_fB,_VA){if(_fB){_7H2(__a,_0b,_ma,_na,_hy,_hy,_iy,_iy,_VA)}else {_7H2(__a,_0b,_ma,_na,_hy,_iy,_iy,_hy,_VA)}}function _9H2(_N9,
_O9){_gH2(_N9,_O9,_tx)}function _aH2(_N9,_O9){return _bH2(_N9,_O9)&0x00ffffff}function _bH2(_N9,_O9){_N9=~~_N9;_O9=~~_O9;if(_Br<0){_O9=_tb._ev1-_O9}return _tb._0y1(_N9,_O9)}function _dH2(__a,_0b,_ma,_na,_CB,_DB,_nx,_ox,_px,_VA){if(_JG2!=0.0){__a+=_JG2;_0b+=_JG2;_ma+=_JG2;_na+=_JG2;_CB+=_JG2;_DB+=_JG2}var _ed,_md,_od,_qd;var _gc=((_Oe*255.0)<<24);_nx=_gc|_Se(_nx);_ox=_gc|_Se(_ox);_px=_gc|_Se(_px);if(_VA){_ed=_tb._fd(_gd._De,null,_tb._id,4)}else {_ed=_tb._fd(_gd._hd,null,_tb._id,3)}var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;
_ed._ld+=3;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;_md=_ed._nd;_od=_ed._pd;_md[_sd+0]=__a;_md[_sd+1]=_0b;_md[_sd+2]=_yd;_md[_td+0]=_ma;_md[_td+1]=_na;_md[_td+2]=_yd;_md[_ud+0]=_CB;_md[_ud+1]=_DB;_md[_ud+2]=_yd;if(_VA){_md[_vd+0]=__a;_md[_vd+1]=_0b;_md[_vd+2]=_yd;_ed._ld++}_od[_sd]=_nx;_od[_td]=_ox;_od[_ud]=_px;_od[_vd]=_nx}function _eH2(__a,_0b,_ma,_na,_hy,_iy,_VA){if(_JG2!=0.0){__a+=_JG2;_0b+=_JG2;_ma+=_JG2;_na+=_JG2}var _9C=(__a+_ma)/2;var _aC=(_0b+_na)/2;var _Mr=Math.abs((__a-_ma)/2);
var _Nr=Math.abs((_0b-_na)/2);var _gc=((_Oe*255.0)<<24);_hy=_gc|_Se(_hy);_iy=_gc|_Se(_iy);var _VC2,_ed,_md,_od;var _uc;if(_VA){var _1K2=_GG2+1;_ed=_tb._fd(_gd._De,null,_tb._id,_1K2);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=_1K2;_md=_ed._nd;_od=_ed._pd;for(var _Q3=0;_Q3<=_GG2;_Q3++){_md[index]=(_9C+(_Mr*_HG2[_Q3]));_md[index+1]=(_aC+(_Nr*_IG2[_Q3]));_md[index+2]=_yd;_od[index]=_iy;index+=_jd}}else {var _2K2=_GG2*3;_ed=_tb._fd(_gd._hd,null,_tb._id,_2K2);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=_2K2;
_md=_ed._nd;_od=_ed._pd;for(var _Q3=0;_Q3<_GG2;_Q3++){_md[index]=_9C;_md[index+1]=_aC;_md[index+2]=_yd;_od[index]=_hy;index+=_jd;_md[index]=(_9C+_Mr*_HG2[_Q3]);_md[index+1]=(_aC+_Nr*_IG2[_Q3]);_md[index+2]=_yd;_od[index]=_iy;index+=_jd;_md[index]=(_9C+_Mr*_HG2[_Q3+1]);_md[index+1]=(_aC+_Nr*_IG2[_Q3+1]);_md[index+2]=_yd;_od[index]=_iy;index+=_jd}}}function _fH2(_N9,_O9,_iA,_hy,_iy,_VA){_eH2(_N9-_iA,_O9-_iA,_N9+_iA,_O9+_iA,_hy,_iy,_VA)}function _hH2(__a,_0b,_ma,_na){_jH2(__a,_0b,_ma,_na,1.0,_tx,_tx)}
function _iH2(__a,_0b,_ma,_na,_Ii){_jH2(__a,_0b,_ma,_na,_Ii,_tx,_tx)}function _jH2(__a,_0b,_ma,_na,_Ii,_hy,_iy){if(_JG2!=0.0){__a+=_JG2;_0b+=_JG2;_ma+=_JG2;_na+=_JG2}var _gc=((_Oe*255.0)<<24);_hy=_gc|_Se(_hy);_iy=_gc|_Se(_iy);var _Qa=(_ma-__a);var _Sa=(_na-_0b);var _Ga=(_Qa*_Qa)+(_Sa*_Sa);if(_Ga<0.0001)return;_Ga=Math.sqrt(_Ga);if(_Ga<0.0001)return;_Qa=0.5*_Ii*_Qa/_Ga;_Sa=0.5*_Ii*_Sa/_Ga;var _ed=_tb._fd(_gd._hd,null,_tb._id,6);var _jd=_ed._kd()>>2;var index=_jd*_ed._ld;_ed._ld+=6;var _sd=index;var _td=_sd+_jd;
var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;var _md=_ed._nd;var _od=_ed._pd;_md[_sd+0]=(__a-_Sa);_md[_sd+1]=(_0b+_Qa);_md[_td+0]=(_ma-_Sa);_md[_td+1]=(_na+_Qa);_md[_ud+0]=(_ma+_Sa);_md[_ud+1]=(_na-_Qa);_md[_vd+0]=(_ma+_Sa);_md[_vd+1]=(_na-_Qa);_md[_wd+0]=(__a+_Sa);_md[_wd+1]=(_0b-_Qa);_md[_xd+0]=(__a-_Sa);_md[_xd+1]=(_0b+_Qa);_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;_od[_sd]=_od[_wd]=_od[_xd]=_hy;_od[_td]=_od[_ud]=_od[_vd]=_iy}function _3K2(_kU,_Ii,_Ji){
var _9y1=_tb._3y1(_Ii,_Ji);_kU._4K2=_9y1;_kU._ay1=_9y1._ay1;_kU._Hb._bd=_9y1._wx1}function _tH2(_Ii,_Ji,_VU){var _Ok=new _Pk();_Ok._Hb=document.createElement("surf");_Ok._1f=_Ii;_Ok._2f=_Ji;_Ok._Hb.width=_Ii;_Ok._Hb.height=_Ji;_Ok._Hb._1f=_Ii;_Ok._Hb._2f=_Ji;if(_VU!=undefined){var _Vk=_Jk._Si(_VU);if(_Vk&&_Vk._4K2){_tb._cy1(_Vk._4K2)}}_3K2(_Ok,_Ii,_Ji);_Ok.x=0;_Ok.y=0;_Ok._S3=_Ii;_Ok._T3=_Ji;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;if(_VU!=undefined){_Jk._sj(_VU,
_Ok);_Ok._m5=_VU}else {_Ok._m5=_Jk._4j(_Ok)}_Ok._XU=_Ok;_Ok._Hb.complete=true;_Ok._Eb=[];_Ok._Fb=0;_Ok._Gb=4;_Ok._YU=0;_Ok._ZU=null;_Ok._QT=_Ok._Hb;return _Ok._m5}_4V=_5V;function _vH2(_Pi){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){_FG2.push({_ay1:_T82,_5K2:_Br,_6K2:_tb._dv1,_7K2:_tb._ev1,_cD:_YD,_eD:_ZD,_gD:_WD,_iD:_XD});_Br=-1;_T82=_Vk._ay1;_tb._Bx1(_Vk._ay1);_8V=false}}function _uH2(_Pi){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){_FG2.push({_ay1:_T82,_5K2:_Br,_8K2:_bA,_9K2:_cA,_aK2:_dA,_bK2:_eA,_cD:_YD,_eD:_ZD,_gD:_WD,
_iD:_XD});_T82=_Vk._ay1;_tb._Bx1(_Vk._ay1);_Br=-1;_pV(0,0,_Vk._1f,_Vk._2f);if(_j9){_AC2(0,0,_Vk._1f,_Vk._2f,0)}else {_qV(0,0,_Vk._1f,_Vk._2f,0)}_tb._rV();_pE()}}function _wH2(){var _cK2=_FG2.pop();if(_cK2){_bA=_cK2._8K2;_cA=_cK2._9K2;_dA=_cK2._aK2;_eA=_cK2._bK2;_YD=_cK2._cD;_ZD=_cK2._eD;_WD=_cK2._gD;_XD=_cK2._iD;_Br=_cK2._5K2;_T82=_cK2._ay1;_pV(_bA,_cA,_dA,_eA);if(_j9){_AC2(_YD,_ZD,_WD,_XD,0)}else {_qV(_YD,_ZD,_WD,_XD,0)}}else {_Br=1;_T82=null;_tb._dv1=_tb._bv1;_tb._ev1=_tb._cv1;if(_8V){_pV(_9V,_aV,_bV,
_cV);if(_j9){_AC2(_hV._cD,_hV._eD,_hV._gD,_hV._iD,_hV.angle)}else {_qV(_hV._cD,_hV._eD,_hV._gD,_hV._iD,_hV.angle)}}}_tb._Bx1(_T82);_pE()}function _xH2(_Pi){var _Vk=_Jk._Si(_Pi);if(_Vk&&_Vk._4K2){_tb._ww1();_tb._cy1(_Vk._4K2);_Vk._Hb._bd=undefined;_Jk._7j(_Pi)}}function _yH2(_Pi,_N9,_O9){return _zH2(_Pi,_N9,_O9)&0x00ffffff}function _zH2(_Pi,_N9,_O9){var _Yi=0;var _Vk=_Jk._Si(_Pi);if(_Vk!=null){_N9=~~_N9;_O9=~~_O9;_Yi=_tb._1y1(_Vk._ay1,_N9,_O9)}return _Yi}function _pH2(_Pi,_N9,_O9){var _Vk=_Jk._Si(_Pi);if(!_Vk)return;
_N9=~~_N9;_O9=~~_O9;_Ic._UT(_Vk,0,0,_Vk._1f,_Vk._2f,_N9,_O9,_Vk._1f,_Vk._2f,0xffffffff)}function _dK2(_Qb,_va,_wa,_xa,_ya,_gl,_hl,_KQ1,_LQ1,_f71,_eK2,_g71,_fK2,_f01,_g01,_r01,_0d2){var _Pd=(_yd);var _Xe=_ze(_de);var _gK2=_tb._fd(_Xe,_Qb,_tb._id,6);var _jd=_gK2._kd()>>2;var index=_jd*_gK2._ld;_gK2._ld+=6;var _md=_gK2._nd;var _od=_gK2._pd;var _qd=_gK2._rd;var _sd=index;var _td=_sd+_jd;var _ud=_td+_jd;var _vd=_ud+_jd;var _wd=_vd+_jd;var _xd=_wd+_jd;_md[_sd+0]=_md[_xd+0]=_va;_md[_sd+1]=_md[_xd+1]=_wa;_md[_td+0]=_xa;
_md[_td+1]=_ya;_md[_ud+0]=_md[_vd+0]=_gl;_md[_ud+1]=_md[_vd+1]=_hl;_md[_wd+0]=_KQ1;_md[_wd+1]=_LQ1;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_Pd;_od[_sd]=_od[_xd]=_f01;_od[_td]=_g01;_od[_ud]=_od[_vd]=_r01;_od[_wd]=_0d2;_qd[_sd+0]=_qd[_xd+0]=_f71;_qd[_sd+1]=_qd[_xd+1]=_eK2;_qd[_td+0]=_g71;_qd[_td+1]=_eK2;_qd[_ud+0]=_qd[_vd+0]=_g71;_qd[_ud+1]=_qd[_vd+1]=_fK2;_qd[_wd+0]=_f71;_qd[_wd+1]=_fK2;return true}function _AH2(_PV,_hK2,_iK2,_QV){_tb._rV();_tb._ht._mu();_uH2(_PV);_sp(0,0,
_1V(_PV),_2V(_PV),0);var _Ji=_2V(_QV);var _Ii=_1V(_QV);var _N9=0;var _O9=0;var _jK2=_iK2;var _kK2=(_iK2+_Ji);var _wa=_O9;var _ya=(_O9+_Ji);var _sc=(1/_Ii);var _uc=(1/_Ji);_dK2(_3V(_QV)._Ie._bd,_hK2,_jK2,_hK2+_Ii,_jK2,_hK2+_Ii,_kK2,_hK2,_kK2,_sc*_N9,_uc*_wa,_sc*(_N9+_Ii),_uc*_ya,0xffffffff,0xffffffff,0xffffffff,0xffffffff);_tb._rV();_wH2();_tb._ht._nu()}function _BH2(_PV,_hK2,_iK2,_QV,_SV,_TV,_UV,_VV){_tb._ww1();_tb._ht._mu();_uH2(_PV);_sp(0,0,_1V(_PV),_2V(_PV),0);var _Ji=_VV;var _Ii=_UV;var _N9=_SV;var _O9=_TV;
var _jK2=_iK2;var _kK2=(_iK2+_Ji);var _wa=_O9;var _ya=(_O9+_Ji);var _sc=(1/_1V(_QV));var _uc=(1/_2V(_QV));_dK2(_3V(_QV)._Ie._bd,_hK2,_jK2,_hK2+_Ii,_jK2,_hK2+_Ii,_kK2,_hK2,_kK2,_sc*_N9,_uc*_wa,_sc*(_N9+_Ii),_uc*_ya,0xffffffff,0xffffffff,0xffffffff,0xffffffff);_tb._ww1();_wH2();_tb._ht._nu();_tb._ww1()}function _EH2(_M9,_N9,_O9,_Ii,_Ji,_Ek,_Fk){_gv("sprite_add_from_screen() (WebGL)");return -1}function _DH2(_Pi,_N9,_O9,_Ii,_Ji,_Ek,_Fk){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){_N9=~~_N9;_O9=~~_O9;_Ii=~~_Ii;_Ji=~~_Ji;
var _QT=document.createElement(_nv);var _RT=_QT.getContext('2d');_ST(_RT);var __e=_tb._Nx1(_QT,_Vk._ay1,_N9,_O9,_Ii,_Ji,_Ek,_Fk);var _Ok=new _Pk();_Ok.x=0;_Ok.y=0;_Ok._S3=__e._ux1;_Ok._T3=__e._vx1;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ii;_Ok._l5=_Ji;_Ok._m5=_WT(_QT);_Ok._Hb=_Ib[_Ok._m5];_Ok._Hb._bd=__e;_Ok._Hb._1f=_QT.width;_Ok._Hb._2f=_QT.height;var _Mk=new _Nk();_Mk._Bk=_Ok;return _xk._Qk(_Mk)}debug("Surface "+_Pi+" does not exist");return -1}function _CH2(_N9,_O9,_Ii,_Ji,_Ek,_Fk){
_N9=~~_N9;_O9=~~_O9;var _QT=document.createElement(_nv);var _RT=_QT.getContext('2d');_ST(_RT);var __e=_tb._Gx1(_QT,_N9,_O9,_Ii,_Ji,_Ek,_Fk,(_Br>0));var _Ok=new _Pk();_Ok.x=0;_Ok.y=0;_Ok._S3=__e._ux1;_Ok._T3=__e._vx1;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ii;_Ok._l5=_Ji;_Ok._m5=_WT(_QT);_Ok._Hb=_Ib[_Ok._m5];_Ok._Hb._bd=__e;_Ok._Hb.width=_Ii;_Ok._Hb.height=_Ji;_Ok._Hb._1f=_Ii;_Ok._Hb._2f=_Ji;var _Mk=new _Nk();_Mk._Bk=_Ok;return _xk._Qk(_Mk)}function _FH2(_Pi,_N9,_O9,_Ii,_Ji,_Ek,_Fk,_ZT,
__T){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){_N9=~~_N9;_O9=~~_O9;_Ii=~~_Ii;_Ji=~~_Ji;var _QT=document.createElement(_nv);var _RT=_QT.getContext('2d');_ST(_RT);var __e=_tb._Nx1(_QT,_Vk._ay1,_N9,_O9,_Ii,_Ji,_Ek,_Fk);var _Ok=new _Pk();_Ok.x=0;_Ok.y=0;_Ok._S3=__e._ux1;_Ok._T3=__e._vx1;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ii;_Ok._l5=_Ji;_Ok._m5=_WT(_QT);_Ok._Hb=_Ib[_Ok._m5];_Ok._Hb._bd=__e;_Ok._Hb._1f=_QT.width;_Ok._Hb._2f=_QT.height;var _TT=new _0U();_TT._33="surface.copy";_TT.width=_Ii;_TT.height=_Ji;
_TT._3U=new __v();_TT._3U.right=_TT.width;_TT._3U.bottom=_TT.height;_TT._c3=true;_TT._d3=true;_TT.preload=true;_TT._4U=0;_TT._5U=false;_TT._f3=_ZT;_TT._g3=__T;_TT._6U=true;_TT._Ea=1;_TT._fU=0;_TT._7U=false;_TT._8U=false;_TT._Fa=[];_TT._VT=[];_TT._p3=[];_TT._9U();_TT._VT[0]=_Ok;var _1U=_MT._2U(_TT);return _1U}debug("Surface "+_Pi+" does not exist");return -1}function _GH2(_M9,_Pi,_N9,_O9,_Ii,_Ji,_Ek,_Fk){var _Vk=_Jk._Si(_Pi);if(_Vk!=null){_N9=~~_N9;_O9=~~_O9;_Ii=~~_Ii;_Ji=~~_Ji;var _QT=document.createElement(_nv);
var _RT=_QT.getContext('2d');_ST(_RT);var __e=_tb._Nx1(_QT,_Vk._ay1,_N9,_O9,_Ii,_Ji,_Ek,_Fk);var _Ok=new _Pk();_Ok.x=0;_Ok.y=0;_Ok._S3=_Ii;_Ok._T3=_Ji;_Ok._g5=0;_Ok._h5=0;_Ok._i5=_Ok._S3;_Ok._j5=_Ok._T3;_Ok._k5=_Ok._S3;_Ok._l5=_Ok._T3;_Ok._m5=_WT(_QT);_Ok._Hb=_Ib[_Ok._m5];_Ok._Hb._bd=__e;_Ok._Hb._1f=_QT.width;_Ok._Hb._2f=_QT.height;var _NT=_MT._Si(_M9);_NT._VT[_NT._VT.length]=_Ok;_NT._Ea++;return _M9}debug("Surface "+_Pi+" does not exist");return -1}function _rH2(_Pi){var _vM=_wM._Si(_Pi);if(_vM){var _ed,
_jd,index,_6r2,_vI2,_md,_od,_qd,__a,_0b,_ma,_na;var _Ll=~~((_Oe*255.0)<<24)|0x0000ff;var _Ml=~~((_Oe*255.0)<<24)|0x00ff00;var _Fb=6*(_vM._oM*_vM._nM);_ed=_tb._fd(_gd._hd,null,_tb._id,_Fb);_jd=_ed._kd()>>2;index=_jd*_ed._ld;_vI2=_ed._ld;_ed._ld+=_Fb;var _md=_ed._nd;var _od=_ed._pd;for(var y=0;y<_vM._oM;y++){for(var x=0;x<_vM._nM;x++,index+=_jd*6){var _1c=_Ml;var _sd=index,_td=_sd+_jd,_ud=_td+_jd,_vd=_ud+_jd,_wd=_vd+_jd,_xd=_wd+_jd;if(_vM._rM[(_vM._oM*x)+y]<0)_1c=_Ll;__a=~~(_vM._lM+x*_vM._pM);_0b=~~(_vM._mM+y*_vM._qM);
_ma=__a+_vM._pM;_na=_0b+_vM._qM;_md[_xd+0]=_md[_wd+0]=_md[_sd+0]=__a;_md[_xd+1]=_md[_td+1]=_md[_sd+1]=_0b;_md[_vd+0]=_md[_ud+0]=_md[_td+0]=_ma;_md[_wd+1]=_md[_vd+1]=_md[_ud+1]=_na;_md[_sd+2]=_md[_td+2]=_md[_ud+2]=_md[_vd+2]=_md[_wd+2]=_md[_xd+2]=_yd;_od[_sd]=_od[_td]=_od[_ud]=_od[_vd]=_od[_wd]=_od[_xd]=_1c}}return }_Ti("Error: invalid mp_grid ID (mp_grid_draw)")}function _qH2(_Pi,_UO,_VO,_WO){var _XO=_YO._y3[_Pi];if(!_XO)return;var _ed,_iJ2,_md,_od,_qd,_jd;var _1c=~~((_Oe*255.0)<<24)|(_Pe&0xffffff);var _Qa,
_Sa,_ZO;var __O=0;var _0P=_XO._1P(0);if(!_WO){_UO=_UO-_0P.x;_VO=_VO-_0P.y}else {_UO=0;_VO=0}__O=_gj(_XO.length/4.0);if(__O==0)return;var _Fb=__O*2;_ed=_tb._fd(_gd._Ce,null,_tb._id,_Fb);_jd=_ed._kd()>>2;_iJ2=_jd*_ed._ld;_ed._ld+=_Fb;var _md=_ed._nd;var _od=_ed._pd;for(var _Q3=0;_Q3<__O;_Q3++){_0P=_XO._1P(_Q3/__O);var __a=~~(_UO+_0P.x);var _0b=~~(_VO+_0P.y);_od[_iJ2+0]=_1c;_md[_iJ2+0]=__a;_md[_iJ2+1]=_0b;_md[_iJ2+2]=_yd;_iJ2+=_jd;_0P=_XO._1P((_Q3+1)/__O);var _ma=~~(_UO+_0P.x);var _na=~~(_VO+_0P.y);_od[_iJ2+0]=_1c;
_md[_iJ2+0]=_ma;_md[_iJ2+1]=_na;_md[_iJ2+2]=_yd;_iJ2+=_jd}}function _XG2(_dv){_tb._gx1(_dv)}function _nH2(_Mi,_It){_uA2=_Mi;_vA2=_It;_tb._xw1(_uA2,_vA2)}function _oH2(_lK2){if(_lK2){_oC(0)}else {_qC(_iu,_ku)}}function _HH2(_Db){if(_Db){return 1.0/_Db._Ie._1f}return 1.0}function _IH2(_Db){if(_Db){return 1.0/_Db._Ie._2f}return 1}function _JH2(_Sw1,_bg){_tb._ix1(_Sw1,_bg._Ie._bd)}function _KH2(_wQ){if(_BG2[_wQ]&&_BG2[_wQ]._gw1){return 1}return 0}function _LH2(_wQ){var _Wv1=(_wQ==-1)?_pr():_BG2[_wQ]._gw1;if(_Wv1){_tb._or(_Wv1)}
}function _MH2(_wQ,_mK2){var _Wv1=(_wQ==-1)?_pr():_BG2[_wQ]._gw1;if(_Wv1){return _tb._7x1(_BG2[_wQ]._gw1,_mK2)}return undefined}function _NH2(_IR,_bx1){if(_IR){_tb._ax1(_IR,_bx1)}}function _OH2(_IR,_bx1){if(_IR){_tb._cx1(_IR,_bx1)}}function _PH2(_IR,_bx1){if(_IR){var _As=_Bs(_ss);_tb._dx1(_IR,new Float32Array(_As._ua))}}function _QH2(_wQ,_bg){if(_BG2[_wQ]){var _Wv1=_BG2[_wQ];if(_Wv1){for(var _Q3=0;_Q3<_Wv1._hw1.length;_Q3++){if(_Wv1._hw1[_Q3]==_bg){return Number(_Q3)}}}}return 0}function _RH2(_7W){_Lj2=_7W}function _SH2(_IR,
_tz){if(_tz instanceof Array){var _lw1;var _Ga=_tz.length;var _JO1=(_Ga+3)&~3;if(_Ga==_JO1){_lw1=new Int32Array(_tz)}else {_lw1=new Int32Array(_JO1);for(var _Q3=0;_Q3<_Ga;_Q3++){_lw1[_Q3]=_tz[_Q3]}}_tb._ex1(_IR,_lw1)}else {alert('ERROR: shader_set_uniform_i_array() Data is not an array')}}function _TH2(_IR,_tz){if(_tz instanceof Array){var _lw1;var _Ga=_tz.length;var _JO1=(_Ga+3)&~3;if(_Ga==_JO1){_lw1=new Float32Array(_tz)}else {_lw1=new Float32Array(_JO1);for(var _Q3=0;_Q3<_Ga;_Q3++){_lw1[_Q3]=_tz[_Q3]}}_tb._fx1(_IR,
_lw1)}else {alert('ERROR: shader_set_uniform_f_array() Data is not an array')}}function _UH2(_IR,_tz){if(_tz instanceof Array){var _lw1=new Float32Array(_tz);_tb._dx1(_IR,_lw1)}else {alert('ERROR: shader_set_uniform_matrix_array() Data is not an array')}}function _WH2(_pC){}function _XH2(_nK2){var _2u=_tb._Ww1();for(var _kw1=0;_kw1<_2u;_kw1++){_ad2(_kw1,_nK2)}}function _YH2(_Sw1,_nK2){_xG2[_Sw1]=_nK2?true:false;_tb._Rw1(_Sw1,_xG2[_Sw1])}function _ZH2(_1u){var _2u=_tb._Ww1();for(var _kw1=0;_kw1<_2u;_kw1++){_bd2(_kw1,
_1u)}}function __H2(_Sw1,_1u){_tb._Uw1(_Sw1,_1u?_gd._6u:_gd._8u);}function _0I2(){return _xG2[0]};function _1I2(_Db){if(typeof(_Db)=="object"){return 1.0}else if((_Db!=-1)&&_Ib[_Db]){return 1.0}return 0}function _2I2(_Db){if(typeof(_Db)=="object"){return 1.0}else if((_Db!=-1)&&_Ib[_Db]){return 1.0}return 0}function _3I2(_Db){if((_Db!=-1)&&_Ib[_Db]){var _Qb=_Ib[_Db]}return []}function _VH2(){return 1}function _4I2(_lr){_vG2=(_lr>0.5)?true:false;_tb._Pw1(_vG2,_wG2)}function _5I2(_Zt){_wG2=_Zt/255.0;_tb._Pw1(_vG2,_wG2)}
function _6I2(){return(_vG2?1.0:0.0)}function _7I2(){return _wG2}function _rs(_qf,_dn){_Xs[_qf]=new _7r(_dn);if(_tb==null)return;switch(_qf){case _7E:_tb._Cr(_Xs[_qf]);break;case _3E:_tb._vr(_Xs[_qf]);break;case _ss:_tb._nx1(_Xs[_qf]);break }_tb._rV()}function _Bs(_qf){switch(_qf){case _7E:case _3E:case _ss:return _Xs[_qf];break }}function _iI2(){if(_bv._G3){for(var _Q3=0;_Q3<_bv._G3.length;_Q3++){var _fw1=_bv._G3[_Q3];_BG2[_Q3]=_tb._bw1(_fw1._ds,_fw1._oK2,_fw1._pK2)}}return true}function _lH2(_Qe){_tx=_Qe;_Pe=_Se(_Qe)}
function _cd(_kU){if(!_kU._bd){var __e=_tb._px1(_kU._Hb);_kU._Hb._bd=__e;_kU._Hb._1f=_kU._Hb.width;_kU._Hb._2f=_kU._Hb.height}}function _Zx1(_Db){if(_Db._wx1)return;_tb._rx1(_Db)}function _Yx1(_Db){if(_Db._wx1!=undefined){return true}else {return false}}function _8I2(_wV,_5h2,_xt,_Mg2,_6h2){var _ed=_eN._Si(_wV);var _Vk=_Jk._Si(_5h2);if(!_ed||!_Vk)return false;var _qK2=_tb._2y1(_Vk._ay1,0,0,_Vk._1f,_Vk._2f);for(var _Q3=0;_Q3<_qK2.length;_Q3++){_ed._0h2(_kf2,_Q3,_qK2[_Q3])}_qK2=null}function _9I2(_wV,_5h2,_xt,_Mg2,
_6h2){var _ed=_eN._Si(_wV);var _Vk=_Jk._Si(_5h2);if(!_ed||!_Vk)return false;var data=new Uint8Array(_ed._fN);_YG2(_Vk._Hb._bd,0,0,_Vk._1f,_Vk._2f,data);data=null}var _rK2=0;var _sK2=100;var canvas=null;var _tK2,_uK2,_vK2,_wK2,_xK2,_yK2,_zK2,_AK2;var _wm2=!1;var _Ic=null;var g_CurrentGraphics;var _BK2=null;var _vV=null;var _CK2=0;var _DK2=!1;var _EK2=0;var _FK2=0;var _AW1=60;if(!Date.now)Date.now=function(){return new Date().getTime()};var _GK2=Date.now();var _HK2=_GK2;var _IK2=_GK2;var _PU=-1;var _xZ=-1;var _yZ=-1;var _ED2=!0;
var _JK2=!0;var _wZ=!0;var _KK2=-1;var _LK2=-1;var _RU=-1;var _SU=-1;var _QU=!1;var _vZ=!0;var _zZ={x:0,y:0,_S3:0,_T3:0};var _1A=!1;var _MK2=!1;var _NK2=1;var _OK2=1;var _PK2=1;var _QK2=0;var _RK2=0;var _SK2=0;if(window.chrome&&window.chrome.app){_wm2=!0;try{if(window&&window['localStorage']){_wm2=!1}}catch(e){}}window._TK2=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(!window._TK2){window.addEventListener("message",
function(e){if(e.source==window&&e.data=="yyRequestAnimationFrame"){e._UK2();_VK2()}},!0)}window.requestAnimFrame=(function(){return window._TK2||function(_i41){window.setTimeout(_i41,1000/60)}})();var _7v=null;function _WK2(){var _R3=document.getElementById(_nv);var _Dw=_R3.parentNode;var load=document.createElement('canvas');load.style.position="absolute";load.style.left="0px";load.style.top="0px";load.width=_R3.width;load.height=_R3.height;load.setAttribute("id","loading_screen");_Dw.insertBefore(load,
_R3.nextSibling);_BK2=load.getContext('2d');_ST(_BK2)}function _XK2(){var _R3=document.getElementById(_nv);var _Ga=document.getElementById("loading_screen");var _Dw=_R3.parentNode;if(_Ga!=null){_Dw.removeChild(_Ga)}_BK2=null;_DK2=false}function _4i(_Ru1,_Tk2){_Tk2.left=0;_Tk2.top=0;var _zo2=_Ru1;while(_zo2!=null){_Tk2.left+=_zo2.offsetLeft;_Tk2.top+=_zo2.offsetTop;_zo2=_zo2.offsetParent;}_Tk2.right=_Tk2.left+_gW;_Tk2.bottom=_Tk2.top+_hW;_Tk2.scaleX=(_Ru1.clientWidth/_Ru1.width)||1;_Tk2.scaleY=(_Ru1.clientHeight/_Ru1.height)||1}
function _YK2(_LE){_N82=[];_O82=[];_P82=[];_u92=0;var _qt=_LE.search;var _OR=_LE.protocol+"//"+_LE.host+_LE.pathname;_O82[0]=_OR;_P82[0]=null;if(_qt[0]=="?")_qt=_qt.substring(1,_qt.length);var index=0;var start=0;var _ZK2="";var _ug=null;while(index<_qt.length){var _R3=_qt[index];if(_R3=="&"){if(_ZK2!=""){if(start!=index)_ug=_qt.substring(start,index);_O82[_O82.length]=_ZK2;_P82[_P82.length]=_ug;_N82[_ZK2]=_ug;_u92++;_ZK2="";_ug=null}start=index+1}else if(_R3=="="){_ZK2=_qt.substring(start,index);_ug=null;
start=index+1}index++}if(_ZK2!=""){if(start!=index)_ug=_qt.substring(start,index);_O82[_O82.length]=_ZK2;_P82[_P82.length]=_ug;_N82[_ZK2]=_ug;_u92++;_ZK2=_ug=""}}function _3q2(){_tK2=canvas.style.position;_uK2=canvas.style.left;_vK2=canvas.style.top;_wK2=canvas.style;_xK2=canvas.parentNode;_yK2=canvas.nextSibling;_zK2=false;_AK2=canvas.margin;if((_xK2==document.body)||(canvas.mozRequestFullScreen)||(canvas.webkitRequestFullScreen)){_zK2=true}}window['GameMaker_Init']=GameMaker_Init;function GameMaker_Init(){
debug('------- GameMaker_Init -------------');if(!document.getElementById||!document.createElement)return;canvas=document.getElementById(_nv);_Ic=null;if(!canvas)return;_YK2(window.location);_bv=_03;_ga2();if((_bv._o5!=undefined)&&(_bv._o5._q5!=undefined)&&(_bv._o5._q5>1)){_j9=true;if(_bv._o5._t5!=undefined){_k9._Bz(_bv._o5._t5)}}_5X1();_492=false;_Xs=[];_Xs[_7E]=new _7r();_Xs[_3E]=new _7r();_Xs[_ss]=new _7r();if((_bv._o5._K5)&&(_bv._o5._K5!=0)){_892=_bv._o5._A5;var __K2=undefined;if(_0F!=_ZZ1){__K2=_bI2(canvas)}
if(__K2){_Ic=_tb}else {if(_bv._o5._K5==1){_492=true}_Ic=canvas.getContext('2d')}}else {_Ic=canvas.getContext('2d')}g_CurrentGraphics=_Ic;_j92=canvas.width;_k92=canvas.height;if((_bv._o5._M5==true)||_j9){_li=_mi}if(_li==_mi){try{g_WebAudioContext=new AudioContext()}catch(e){try{g_WebAudioContext=new webkitAudioContext();}catch(e){debug('Web Audio API not supported in this browser');_li=_7S}}_aR()}document.body.style._0L2="hidden";_vV=_Ic;_wB=canvas.width;_yB=canvas.height;_gW=_wB;_hW=_yB;_xZ=_gW;_yZ=_hW;
_vZ=(_bv._o5.scale!=0);_NK2=window.devicePixelRatio||1;_OK2=(_Ic.webkitBackingStorePixelRatio||_Ic.mozBackingStorePixelRatio||_Ic.msBackingStorePixelRatio||_Ic.oBackingStorePixelRatio||_Ic.backingStorePixelRatio||1);_PK2=_NK2/_OK2;_5i=new __v();_4i(canvas,_5i);_iW=_5i.top;_jW=_5i.left;_kW=_5i.right;_lW=_5i.bottom;if(_bv._o5._1L2){_rw(_bv._o5._1L2)}else if(_bv._o5&&_bv._o5._p5&&_bv._o5._mw){_bv._o5._mw()}_3q2();_ST(_Ic);document.body.oncontextmenu=function(){return false};_zi();_Ga2=document.getElementById('GM4HTML5_loadingscreen');
if((_bv._o5&&_bv._o5._p5)||(_bv._o5&&_bv._o5._p5==undefined)){_6v=true}if(_tb&&_6v){debug("WebGL Enabled!");debug("Max Texture Size="+_tb._Ov1())}_Ma2();_JY();if(_492){_CK2=-2}else {if(_6v)_q6._ej2=_bv._o5._p5;__82="";_Y82="";_Z82=function(){};{_rb2(_bv);_CK2=0}}_IK2=Date.now();window.requestAnimFrame(_VK2)}function _VK2(){if(_CK2!=3)window.requestAnimFrame(_VK2);switch(_CK2){case -2:{if(_DK2)_XK2();_2L2(_Ic,_gW,_hW);break }case -1:if(_Ea2==_Fa2){_rb2(_bv);_CK2=0;if(!_DK2){_WK2();_DK2=true}_xb2();__82(_BK2,
_gW,_hW,_Da2,_YS,_Ga2)}break;case 0:if(!_DK2){_WK2();_DK2=true}if(_YS>=_Da2){_YS=_Da2;_CK2=1}_xb2();if(_bv._o5._3L2){if(_Ea2==_Fa2){_Y82=eval(_bv._o5._3L2);_Y82(_BK2,_gW,_hW,_Da2,_YS,_Ga2)}}else __82(_BK2,_gW,_hW,_Da2,_YS,_Ga2);break;case 1:_XK2();_Ib2(_bv);_CK2=2;break;case 2:_Z82();_4L2();_CK2=3;_q6._ei2=new Date().getTime();break;case 3:_5L2();break }}function _6L2(_Pk2,x,y,_c5,text){_Pk2.fillStyle=_c5;_Pk2.lineStyle=_c5;_Pk2.font="14px Verdana";;_Pk2.textAlign="center";_Pk2.fillText(text,x,y);_Pk2.textAlign="left"}
function _2L2(_Pk2,_Bb,_Cb){_Pk2.fillStyle=_Wk(0x151515,1.0);_Pk2.fillRect(0,0,_Bb,_Cb);_6L2(_Pk2,_Bb/2,(_Cb/2),_Wk(0x8d8f90,1.0),"WebGL is required to run this application.")}function _tb2(_Ic,_Bb,_Cb,_7L2,_8L2,_9L2){_Ic.globalAlpha=1;if(_9L2){}else {var _aL2=(_Bb/100)*50;var _bL2=2;var x=(_Bb-_aL2)/2;var y=10+(_Cb-_bL2)/2;_Ic.fillStyle=_Wk(0x151515,1.0);_Ic.fillRect(0,0,_Bb,_Cb);if(_8L2!=0){var _S3=(_aL2/_7L2)*_8L2;_Ic.fillStyle=_Wk(0x404040,1.0);_Ic.fillRect(x,y,_aL2,_bL2);_Ic.fillStyle=_Wk(0x8d8f90,
1.0);_Ic.fillRect(x,y,_S3,_bL2)}_6L2(_Ic,_Bb/2,(_Cb/2),_Wk(0x8d8f90,1.0),"Loading")}}function _cL2(_WD2){_xk._Qh();var _dL2=_WD2._9Q._55;for(var _Q3=0;_Q3<_dL2.length;_Q3++){_xk._4j(_dL2[_Q3]);var _Ak=_xk._Si(_Q3);var _eL2=_xk._yk(_Q3);_q6._mi2[_Q3]=_Ak._Y3;_q6._ni2[_Q3]=_Ak._rH;_q6._r6[_Q3]=_Ak.index;_q6._oi2[_Q3]=_Ak.x;_q6._pi2[_Q3]=_Ak.y;if((_eL2!==null)&&(_eL2!==undefined)&&(_eL2._Bk!==null)&&(_eL2._Bk!==undefined)){_q6._qi2[_Q3]=_eL2._Bk._S3;_q6._ri2[_Q3]=_eL2._Bk._T3;}else {_q6._qi2[_Q3]=0;_q6._ri2[_Q3]=0}
_q6._si2[_Q3]=_Ak._3f2;_q6._ti2[_Q3]=_Ak._4f2;_q6._ui2[_Q3]=_Ak._uH;_q6._vi2[_Q3]=_Ak._vH;_q6._xi2[_Q3]=_Ak._6f2;_q6._wi2[_Q3]=_Ak._5f2;_q6._yi2[_Q3]=_Ak._xH;_q6._zi2[_Q3]=_Ak.alpha}_q6._ki2=_WD2._mB2}function _zD(_dy,_fL2){if(_h9){_h9._OD2();if(_j9){if(_qX1!=null){_qX1._AD()}}}var _gL2=_h9;_cQ=-1;_eE._6a(_B_1,0);_zA2();_lr2();var _Im2=[];if(_gL2!=null){for(var _Q3=_gL2._DG.length-1;_Q3>=0;_Q3--){var _dE=_gL2._DG._Si(_Q3);if(_dE._Im2){_Im2[_Im2.length]=_dE;_dE._hL2=true}}for(var _Q3=_Im2.length-1;_Q3>=0;
_Q3--){_gL2._DG._LJ(_Im2[_Q3])}if(_gL2._kB2===false){_gL2._ZB2(true)}else {for(var _Q3=_gL2._DG.length-1;_Q3>=0;_Q3--){var _dE=_gL2._DG._Si(_Q3);_dE._JG._7n2(_dE)}}}_qi._Qh();_ig._Qh();_h9=__I._Si(_dy);var _iL2=_h9._kB2;if(_iL2===true&&_h9._lB2===false){_iL2=false}if(_iL2===false){_h9._0c2(_h9._9Q);_h9._bC2()}else {_h9._xB2(_h9._cK);_h9._yB2(_h9._eK);_h9._zB2(_h9._jB2);_h9._BB2(_h9._iB2);_h9._DB2(_h9._kB2);_h9._bC2();for(_Q3=_h9._DG.length-1;_Q3>=0;_Q3--){var _dE=_h9._DG._Si(_Q3);_dE._JG._BJ(_dE)}}_q6._ZI=_h9.id;
_h9._3C2();_vD2();_cL2(_h9);if(_iL2===false){_h9._YB2();_h9._ZB2(false);var _jL2=_h9._9Q._b5;for(var _Ga=0;_Ga<_h9._9Q._b5.length;_Ga++){var _xu=false;var _kL2=_h9._9Q._b5[_Ga];if(_kL2.index>=0){for(var _sc=_Im2.length-1;_sc>=0;_sc--){if(_kL2.id==_Im2[_sc].id){_xu=true;break }}if(!_xu){var _xM=_h9._5C2(_kL2.x,_kL2.y,_kL2.id,_kL2.index,_kL2.scaleX,_kL2.scaleY,_kL2.rotation,_kL2._c5);_xM._hL2=false}}}var _jL2=_h9._9Q._b5;for(var _Ga=0;_Ga<_h9._9Q._b5.length;_Ga++){var _kL2=_h9._9Q._b5[_Ga];var _xM=_eE._Si(_kL2.id);
if(_xM&&(_xM._hL2==false)){_xM._hL2=true;if(!_592&&!_j9){if(_kL2._NB2)_kL2._NB2(_xM);_xM._6a(_xG,0,_xM,_xM);if(_kL2._lL2)_kL2._lL2(_xM);_xM._6a(_yG,0,_xM,_xM);}else {_xM._6a(_xG,0,_xM,_xM);if(_kL2._lL2)_kL2._lL2(_xM);_xM._6a(_yG,0,_xM,_xM);if(_kL2._NB2)_kL2._NB2(_xM)}}}}for(var _sc=0;_sc<_Im2.length;_sc++){_h9._DG._4j(_Im2[_sc]);_Im2[_sc]._LG();if(_j9){_Im2[_sc]._HJ(-1);_Im2[_sc]._HI(false);_zJ._BJ(_h9,_Im2[_sc])}}if(_j9){if(_qX1!=null){_qX1._zD()}}if(_zJ!=null)_zJ._aJ(_h9);_yA2();if(_fL2){_eE._6a(_y_1,
0)}if((_iL2==false)&&(_h9._rB2!=null)){var _mL2=new _ja2();_h9._rB2(_mL2);_mL2=null}_eE._6a(_A_1,0);_h9._lB2=true}function _nL2(_oL2){_zD(_oL2,false)}function _4L2(){_q6._D7=0;_q6._9i2=-1;_c92=0;_d92=-1;_e92=0;_f92=0;_zD(__I._2c2(0).id,true);_IK2=Date.now();_EK2=_IK2;_q6._7K=_AW1;_q6.__i2=_AW1}function _pL2(){_D82=[];_E82=[];_aW1=-1;_9W1=-1;_8W1=0;_h9._DG._Qh();_h9._sB2._Qh();var _hj=_29._UI1;for(var _Q3=0;_Q3<_hj.length;_Q3++){var _aE=_hj[_Q3];_aE._1Y1._Qh();_aE._9p2._Qh()}_eE._Qh()}function _qL2(){_qi._mr2()}
function _rL2(){if(_h9._3n2.length>0)_h9._SD2();if(_h9._DG._Gx2>=0)_h9._DG._pr2();}function _sL2(){if(_h9._8P){if(_j9){_h9._8P._Rh(_k9._l9())}else _h9._8P._Rh(_h9._jB2)}else {_eE._cp2()}}function _tL2(){if((_h9._8P==null)||(_h9._8P==undefined)){_uX1()}}function _uL2(){_q6._di2=(_HK2-_q6._ei2)*1000;_q6._ei2=_HK2;_qi._uq2();_6X1();_ig._Rh();_eE._bp2();_eE._dp2();_rL2();if(_cQ!=-1)return;_zJ._4K();_eE._6a(_w_1,0);_rL2();if(_cQ!=-1)return;if(_992){_992=false;_eE._6a(_f02,0)}_Jv._Xe2();_rL2();if(_cQ!=-1)return;
_aY1();_rL2();if(_cQ!=-1)return;_jY1();_rL2();if(_cQ!=-1)return;_ir2();_rL2();if(_cQ!=-1)return;_HX1();_rL2();if(_cQ!=-1)return;_eE._6a(_v_1,0);_rL2();if(_cQ!=-1)return;_sL2();_7X1();_rL2();if(_cQ!=-1)return;_eG();_RW();_rL2();if(_cQ!=-1)return;_tL2();_rL2();if(_cQ!=-1)return;_eE._6a(_x_1,0);_rL2();if(_cQ!=-1)return;_pA2();if(_h9!=null){_h9._OD2();if(_192){_h9._6c();_rL2()}}if(!_MK2){_vL2();_MK2=true}_h9._eC2();_qL2();_4R()}function _vD2(){var left,right,top,bottom;left=0;right=-999999;top=0;bottom=-999999;
if(_h9._0i){for(var _Q3=0;_Q3<_h9._2i.length;_Q3++){var _3i=_h9._2i[_Q3];if(_3i._Y3){if(right<_3i._jV+_3i._lV)right=_3i._jV+_3i._lV;if(bottom<_3i._kV+_3i._mV)bottom=_3i._kV+_3i._mV}}}else {left=0;right=_h9._cK;top=0;bottom=_h9._eK;_A82._lV=_A82._gD=right;_A82._mV=_A82._iD=bottom}if(_JK2){if(!_wZ){_xZ=_KK2;_yZ=_LK2}}else {_xZ=_gW;_yZ=_hW;if(_TU(_PU)){__U(_PU);_PU=-1}}_wZ=_JK2;_oW=_gW;_pW=_hW;_qW=_xZ/(right-left);_rW=_yZ/(bottom-top);var _Ia=new __v();_Ia.left=left;_Ia.top=top;_Ia.right=right;_Ia.bottom=bottom;
_vC=_Ia;_qZ()}function _ij2(){var _S3=640;if(typeof(window.innerWidth)=='number'){_S3=window.innerWidth}else if(document.documentElement&&document.documentElement.clientWidth){_S3=document.documentElement.clientWidth}else if(document.body&&document.body.clientWidth){_S3=document.body.clientWidth}return _S3}function _jj2(){var _T3=480;if(typeof(window.innerHeight)=='number'){_T3=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){_T3=document.documentElement.clientHeight}
else if(document.body&&document.body.clientHeight){_T3=document.body.clientHeight}return _T3}function _wL2(){var _xL2=new Fingerprint().get();return _xL2};function _yL2(_9g2){return String.fromCharCode.apply(null,new Uint8Array(_9g2))};;function _zL2(_Mj){var _9g2=new ArrayBuffer(_Mj.length*2);var _AL2=new Uint16Array(_9g2);for(var _Q3=0,_BL2=_Mj.length;_Q3<_BL2;_Q3++){_AL2[_Q3]=_Mj.charCodeAt(_Q3)}return _9g2};function _vL2(){var _z92=_bv._o5._Z5;var _4T=(_HK2/1000)-_bv._o5._Z5;if((_03._o5._CL2!=undefined)&&(_03._o5._CL2))try{
var _DL2="{";var _EL2=_Ry(_wL2());_DL2+="\"mID\" : \"";_DL2+=_EL2;_DL2+="\", ";if(_03._o5._U5!=undefined){var _FL2="";for(var _Q3=0;_Q3<16;_Q3++)_FL2+=_03._o5._U5[_Q3].toString(16);_DL2+="\"mUS\" : \"";_DL2+=_FL2;_DL2+="\", "}if(_03._o5._y5!=undefined){_DL2+="\"mGM\" : \"";_DL2+=_03._o5._y5;_DL2+="\", "}if(_03._o5._V5!=undefined){_DL2+="\"gN\" : \"";_DL2+=_03._o5._V5;_DL2+="\", "}if((_03._o5._GL2!=undefined)&&(_03._o5._HL2!=undefined)&&(_03._o5._IL2!=undefined)){_DL2+="\"gV\" : \"";_DL2+=_03._o5._GL2+"."+_03._o5._HL2+"."+_03._o5._IL2+".0";
_DL2+="\", ";}_DL2+="\"osT\" : \"";_DL2+="19";_DL2+="\", ";_DL2+="\"osV\" : \"";_DL2+=_2F.browser;_DL2+="\", ";var _JL2=navigator.language;var _Xa=_JL2.split("-");_DL2+="\"osL\" : \"";_DL2+=_Xa[0];_DL2+="\", ";_DL2+="\"osR\" : \"";_DL2+=_Xa[1];_DL2+="\", ";if(navigator.userAgent){_DL2+="\"navUsrA\" : \"";_DL2+=navigator.userAgent;_DL2+="\", "}if(navigator.vendor){_DL2+="\"navVend\" : \"";_DL2+=navigator.vendor;_DL2+="\", "}if(navigator.platform){_DL2+="\"navPlat\" : \"";_DL2+=navigator.vendor;_DL2+="\", "}
if(navigator.cpuClass){_DL2+="\"navCpuC\" : \"";_DL2+=navigator.cpuClass;_DL2+="\", "}if(window.devicePixelRatio){_DL2+="\"winPixR\" : \"";_DL2+=window.devicePixelRatio;_DL2+="\", "}_DL2+="\"win\" : \"";_DL2+=_ij2()+","+_jj2();_DL2+="\", ";var _EA1=0;var _KL2=_Fz();for(var _Q3=0;_Q3<_KL2;_Q3++,_EA1<<=1){if(_Gz(_Q3))_EA1|=1}_DL2+="\"gpad\" : \"";_DL2+=_KL2+","+_EA1+",";for(var _Q3=0;_Q3<_KL2;_Q3++){if(_Gz(_Q3))_DL2+="("+_Hz(_Q3)+","+_Iz(_Q3)+"),"}_DL2+="\" ";_DL2+="}";var _LL2=undefined;try{_LL2=new TextEncoder("utf-8")}
catch(e){};var _VC1;if(_LL2!=undefined){_VC1=_LL2._ML2(_DL2)}else _VC1=_zL2(_DL2);var _NL2=new Zlib.Deflate(_VC1);var _OL2=_NL2.compress();var _PL2=_yL2(_OL2);var buffer=_By(_PL2);var _QL2=_Ry("MILES"+buffer+"JAMIE");var _OR="https://ping.yoyogames.com/pingback?data=";var _RL2=encodeURIComponent(buffer);_OR+=_RL2;_OR+="&validate=";var _kz=0;for(var _Q3=_NW1(12);_kz<2&&_Q3<16;++_Q3,++_kz){_OR+=_QL2.charAt(_Q3*2)+_QL2.charAt(_Q3*2+1)}_aF(_OR);}catch(e){debug("Failed to submit stats: "+e)}}function _SL2(){_4i(canvas,
_5i);_iW=_5i.top;_jW=_5i.left;_kW=_5i.right;_lW=_5i.bottom;_7V(_Ic);if((_j92!=canvas.width)||(_k92!=canvas.height)){_992=true}_j92=canvas.width;_k92=canvas.height;var _S3=_ij2();var _T3=_jj2();if((_292)&&(!_a92)){if((_mW!=_S3)||(_nW!=_T3)){_a92=true;_292=false}if(canvas.mozRequestFullScreen){if(!document.mozFullScreen){_a92=true;_292=true}}}if(_a92){_a92=false;if(_292){_S3=_wB;_T3=_yB;_292=false;canvas.style.position=_tK2;canvas.style.left=_uK2;canvas.style.top=_vK2;canvas.style.margin=_AK2;canvas.style=_wK2;
if(!_zK2){if(canvas.parentNode!=_xK2){_xK2.insertBefore(canvas,_yK2)}}}else {_292=true;_s8(0,0);if(!_zK2){if(canvas.parentNode==_xK2){_xK2.removeChild(canvas);document.body.insertBefore(canvas,null)}}}canvas.width=_S3;canvas.height=_T3;_gW=canvas.width;_hW=canvas.height;_jW=canvas.offsetLeft;_kW=_jW+_gW;_iW=canvas.offsetTop;_lW=_jW+_hW;_mW=_gW;_nW=_hW;_oW=_S3;_pW=_T3;_qW=1;_rW=1;_vD2()}}var _TL2=0;var _1o2=0;function _5L2(){if(_tb){_tb._rV()}var _Ko2;if(_j9){_k9._Rh();_Ko2=_k9._l9()}else {_Ko2=_h9._i9();
if(_Ko2<=0){_Ko2=1;_h9._zB2(1)}}_HK2=Date.now();if(_HK2>=_EK2+1000){if(_HK2-_IK2<2000){_AW1=_FK2;_q6._7K=_AW1}_FK2=0;_EK2=_HK2}_FK2++;var _UL2=_IK2+1000/_Ko2;var now=Date.now();var _BL1=_IK2+1000/_Ko2-now;if(_BL1<0)_BL1=0;_IK2=now+_BL1;if(_BL1>4){setTimeout(function(){if(window._TK2){window._TK2(_VK2)}else _VK2()},_BL1)}else {if(window._TK2){window._TK2(_VK2)}else {window._VL2("yyRequestAnimationFrame","*")}}if(!_4X1){_1o2=0;_SL2();if(_h9===null){_A82._7i=_A82._nV=_A82._lV=_A82._gD=_gW;_A82._9i=_A82._oV=_A82._mV=_A82._iD=_hW}
else {_vD2()}if(_cQ<0)_Ek2();{_uL2()}if(_TL2<_1o2)_TL2=_1o2;if(_cQ<0)_Jk2();switch(_cQ){case -1:break;;case _f_1:case _i_1:return;case _g_1:_pL2();__I._YD2();_4L2();break;case _h_1:_Ib2();break;default :_nL2(_cQ)}}if(_bv._o5&&_bv._o5._p5&&_bv._o5._WL2){_bv._o5._WL2()}}