var oe={pe:[],qe:[{re:"soundtrack_1",se:3,te:".mp3",ue:"soundtrack_1",ve:0,volume:1,we:0,preload:!0}],xe:[{re:"spr_puzzle1",width:480,height:320,ye:!1,ze:479,af:319,bf:[0,1,2,3,4,5,6]},{re:"spr_mouse",width:40,height:40,ye:!1,ze:39,af:39,bf:[7,8,9,10,11,12]},{re:"spr_button",width:40,height:40,ye:!1,ze:39,af:39,bf:[13,14,15,16]},{re:"spr_menu",width:140,height:40,ye:!1,cf:70,df:20,ze:139,af:39,bf:[17,18]},{re:"spr_score",width:300,height:300,ye:!1,ef:17,ze:286,ff:20,af:285,bf:[19]},{re:"spr_info",
width:600,height:600,ye:!1,ze:599,af:599,bf:[20]},{re:"spr_next",width:100,height:70,ye:!1,ze:99,af:69,bf:[21,22]},{re:"spr_covers",width:600,height:600,ye:!1,ze:599,af:599,bf:[23,24,25,26]},{re:"spr_idioma",width:100,height:40,ye:!1,cf:50,df:20,ef:4,ze:96,ff:12,af:30,bf:[27,28,29,30]}],gf:[{re:"background0",hf:!1,ye:!1,preload:!1,bf:31},{re:"back_mirrors",hf:!1,ye:!1,preload:!1,bf:32},{re:"back_title",hf:!1,ye:!1,preload:!1,bf:33},{re:"oficial_sparcase_logo",hf:!1,ye:!1,preload:!1,bf:34}],jf:[],
kf:[lf,mf,nf,of],pf:[{re:"font_game",qf:14,bold:!0,rf:!1,sf:0,tf:0,uf:0,vf:4,wf:"Calibri",xf:35,yf:1,zf:1,ag:[{bg:32,cg:" ",dg:248,eg:68,fg:4,gg:23,shift:4,hg:0},{bg:33,cg:"!",dg:105,eg:93,fg:2,gg:18,shift:6,hg:2},{bg:34,cg:"\"",dg:82,eg:93,fg:5,gg:10,shift:8,hg:1},{bg:35,cg:"#",dg:199,eg:46,fg:9,gg:18,shift:9,hg:0},{bg:36,cg:"$",dg:243,eg:46,fg:8,gg:20,shift:10,hg:1},{bg:37,cg:"%",dg:85,eg:0,fg:14,gg:18,shift:14,hg:0},{bg:38,cg:"&",dg:175,eg:0,fg:12,gg:18,shift:13,hg:1},{bg:39,cg:"'",dg:109,eg:93,
fg:2,gg:10,shift:4,hg:1},{bg:40,cg:"(",dg:224,eg:68,fg:5,gg:21,shift:6,hg:1},{bg:41,cg:")",dg:27,eg:93,fg:4,gg:21,shift:6,hg:1},{bg:42,cg:"*",dg:238,eg:68,fg:8,gg:12,shift:9,hg:1},{bg:43,cg:"+",dg:30,eg:68,fg:8,gg:18,shift:9,hg:1},{bg:44,cg:",",dg:52,eg:93,fg:3,gg:20,shift:5,hg:0},{bg:45,cg:"-",dg:45,eg:93,fg:5,gg:14,shift:6,hg:1},{bg:46,cg:".",dg:62,eg:93,fg:3,gg:18,shift:5,hg:1},{bg:47,cg:"/",dg:74,eg:23,fg:9,gg:21,shift:8,hg:-1},{bg:48,cg:"0",dg:142,eg:23,fg:10,gg:18,shift:10,hg:0},{bg:49,cg:"1",
dg:80,eg:68,fg:8,gg:18,shift:10,hg:1},{bg:50,cg:"2",dg:56,eg:46,fg:9,gg:18,shift:10,hg:0},{bg:51,cg:"3",dg:210,eg:46,fg:9,gg:18,shift:10,hg:0},{bg:52,cg:"4",dg:0,eg:46,fg:10,gg:18,shift:10,hg:0},{bg:53,cg:"5",dg:232,eg:46,fg:9,gg:18,shift:10,hg:0},{bg:54,cg:"6",dg:118,eg:23,fg:10,gg:18,shift:10,hg:0},{bg:55,cg:"7",dg:188,eg:46,fg:9,gg:18,shift:10,hg:0},{bg:56,cg:"8",dg:202,eg:23,fg:10,gg:18,shift:10,hg:0},{bg:57,cg:"9",dg:133,eg:46,fg:9,gg:18,shift:10,hg:0},{bg:58,cg:":",dg:101,eg:93,fg:2,gg:18,
shift:5,hg:1},{bg:59,cg:";",dg:57,eg:93,fg:3,gg:20,shift:5,hg:0},{bg:60,cg:"<",dg:0,eg:68,fg:8,gg:18,shift:9,hg:1},{bg:61,cg:"=",dg:100,eg:68,fg:8,gg:16,shift:9,hg:1},{bg:62,cg:">",dg:70,eg:68,fg:8,gg:18,shift:9,hg:1},{bg:63,cg:"?",dg:162,eg:68,fg:7,gg:18,shift:9,hg:1},{bg:64,cg:"@",dg:19,eg:0,fg:15,gg:20,shift:17,hg:1},{bg:65,cg:"A",dg:161,eg:0,fg:12,gg:18,shift:12,hg:0},{bg:66,cg:"B",dg:12,eg:46,fg:9,gg:18,shift:11,hg:1},{bg:67,cg:"C",dg:178,eg:23,fg:10,gg:18,shift:10,hg:0},{bg:68,cg:"D",dg:39,
eg:23,fg:11,gg:18,shift:12,hg:1},{bg:69,cg:"E",dg:10,eg:68,fg:8,gg:18,shift:9,hg:1},{bg:70,cg:"F",dg:180,eg:68,fg:7,gg:18,shift:9,hg:1},{bg:71,cg:"G",dg:201,eg:0,fg:11,gg:18,shift:12,hg:0},{bg:72,cg:"H",dg:190,eg:23,fg:10,gg:18,shift:12,hg:1},{bg:73,cg:"I",dg:67,eg:93,fg:3,gg:18,shift:5,hg:1},{bg:74,cg:"J",dg:0,eg:93,fg:5,gg:18,shift:6,hg:0},{bg:75,cg:"K",dg:166,eg:23,fg:10,gg:18,shift:10,hg:1},{bg:76,cg:"L",dg:171,eg:68,fg:7,gg:18,shift:8,hg:1},{bg:77,cg:"M",dg:52,eg:0,fg:15,gg:18,shift:17,hg:1}
,{bg:78,cg:"N",dg:26,eg:23,fg:11,gg:18,shift:13,hg:1},{bg:79,cg:"O",dg:132,eg:0,fg:13,gg:18,shift:13,hg:0},{bg:80,cg:"P",dg:45,eg:46,fg:9,gg:18,shift:10,hg:1},{bg:81,cg:"Q",dg:36,eg:0,fg:14,gg:20,shift:13,hg:0},{bg:82,cg:"R",dg:154,eg:23,fg:10,gg:18,shift:11,hg:1},{bg:83,cg:"S",dg:34,eg:46,fg:9,gg:18,shift:9,hg:0},{bg:84,cg:"T",dg:214,eg:23,fg:10,gg:18,shift:9,hg:0},{bg:85,cg:"U",dg:0,eg:23,fg:11,gg:18,shift:12,hg:1},{bg:86,cg:"V",dg:240,eg:0,fg:11,gg:18,shift:11,hg:0},{bg:87,cg:"W",dg:0,eg:0,fg:17,
gg:18,shift:17,hg:0},{bg:88,cg:"X",dg:13,eg:23,fg:11,gg:18,shift:10,hg:0},{bg:89,cg:"Y",dg:226,eg:23,fg:10,gg:18,shift:10,hg:0},{bg:90,cg:"Z",dg:23,eg:46,fg:9,gg:18,shift:9,hg:0},{bg:91,cg:"[",dg:33,eg:93,fg:4,gg:21,shift:6,hg:1},{bg:92,cg:"\\",dg:85,eg:23,fg:9,gg:21,shift:8,hg:-1},{bg:93,cg:"]",dg:39,eg:93,fg:4,gg:21,shift:6,hg:1},{bg:94,cg:"^",dg:189,eg:68,fg:9,gg:13,shift:9,hg:0},{bg:95,cg:"_",dg:189,eg:0,fg:10,gg:21,shift:9,hg:0},{bg:96,cg:"`",dg:89,eg:93,fg:6,gg:8,shift:6,hg:0},{bg:97,cg:"a",
dg:166,eg:46,fg:9,gg:18,shift:9,hg:0},{bg:98,cg:"b",dg:78,eg:46,fg:9,gg:18,shift:10,hg:1},{bg:99,cg:"c",dg:60,eg:68,fg:8,gg:18,shift:8,hg:0},{bg:100,cg:"d",dg:144,eg:46,fg:9,gg:18,shift:10,hg:0},{bg:101,cg:"e",dg:122,eg:46,fg:9,gg:18,shift:10,hg:0},{bg:102,cg:"f",dg:136,eg:68,fg:7,gg:18,shift:6,hg:0},{bg:103,cg:"g",dg:96,eg:23,fg:9,gg:21,shift:9,hg:0},{bg:104,cg:"h",dg:67,eg:46,fg:9,gg:18,shift:10,hg:1},{bg:105,cg:"i",dg:77,eg:93,fg:3,gg:18,shift:5,hg:1},{bg:106,cg:"j",dg:231,eg:68,fg:5,gg:21,shift:5,
hg:-1},{bg:107,cg:"k",dg:50,eg:68,fg:8,gg:18,shift:9,hg:1},{bg:108,cg:"l",dg:72,eg:93,fg:3,gg:18,shift:5,hg:1},{bg:109,cg:"m",dg:101,eg:0,fg:14,gg:18,shift:15,hg:1},{bg:110,cg:"n",dg:177,eg:46,fg:9,gg:18,shift:10,hg:1},{bg:111,cg:"o",dg:238,eg:23,fg:10,gg:18,shift:10,hg:0},{bg:112,cg:"p",dg:107,eg:23,fg:9,gg:21,shift:10,hg:1},{bg:113,cg:"q",dg:63,eg:23,fg:9,gg:21,shift:10,hg:0},{bg:114,cg:"r",dg:216,eg:68,fg:6,gg:18,shift:7,hg:1},{bg:115,cg:"s",dg:127,eg:68,fg:7,gg:18,shift:8,hg:0},{bg:116,cg:"t",
dg:145,eg:68,fg:7,gg:18,shift:7,hg:0},{bg:117,cg:"u",dg:20,eg:68,fg:8,gg:18,shift:10,hg:1},{bg:118,cg:"v",dg:100,eg:46,fg:9,gg:18,shift:9,hg:0},{bg:119,cg:"w",dg:69,eg:0,fg:14,gg:18,shift:14,hg:0},{bg:120,cg:"x",dg:155,eg:46,fg:9,gg:18,shift:9,hg:0},{bg:121,cg:"y",dg:52,eg:23,fg:9,gg:21,shift:9,hg:0},{bg:122,cg:"z",dg:110,eg:68,fg:7,gg:18,shift:8,hg:0},{bg:123,cg:"{",dg:154,eg:68,fg:6,gg:21,shift:7,hg:0},{bg:124,cg:"|",dg:97,eg:93,fg:2,gg:21,shift:9,hg:3},{bg:125,cg:"}",dg:119,eg:68,fg:6,gg:21,shift:7,
hg:1},{bg:126,cg:"~",dg:17,eg:93,fg:8,gg:11,shift:9,hg:1},{bg:127,dg:7,eg:93,fg:8,gg:11,shift:9,hg:1},{bg:193,cg:"Á",dg:147,eg:0,fg:12,gg:18,shift:12,hg:0},{bg:201,cg:"É",dg:90,eg:68,fg:8,gg:18,shift:9,hg:1},{bg:205,cg:"Í",dg:200,eg:68,fg:6,gg:18,shift:5,hg:0},{bg:209,cg:"Ñ",dg:227,eg:0,fg:11,gg:18,shift:13,hg:1},{bg:211,cg:"Ó",dg:117,eg:0,fg:13,gg:18,shift:13,hg:0},{bg:218,cg:"Ú",dg:214,eg:0,fg:11,gg:18,shift:12,hg:1},{bg:225,cg:"á",dg:221,eg:46,fg:9,gg:18,shift:9,hg:0},{bg:233,cg:"é",dg:89,eg:46,
fg:9,gg:18,shift:10,hg:0},{bg:237,cg:"í",dg:208,eg:68,fg:6,gg:18,shift:5,hg:0},{bg:241,cg:"ñ",dg:111,eg:46,fg:9,gg:18,shift:10,hg:1},{bg:243,cg:"ó",dg:130,eg:23,fg:10,gg:18,shift:10,hg:0},{bg:250,cg:"ú",dg:40,eg:68,fg:8,gg:18,shift:10,hg:1},],}],ig:[],jg:[{},],kg:[{re:"obj_mouse",lg:1,mg:!0,ng:!0,og:-100,parent:-100,pg:qg,rg:sg,tg:ug,vg:[],wg:[]},{re:"obj_block",lg:2147483647,mg:!0,parent:-100,pg:xg,rg:yg,tg:zg,vg:[],wg:[]},{re:"obj_menu",lg:3,mg:!0,og:-20,parent:-100,pg:ah,rg:bh,vg:[],wg:[]},{re:"obj_entrada",
lg:2147483647,mg:!0,parent:-100,pg:ch,dh:eh,rg:fh,tg:gh,vg:[],wg:[]},{re:"obj_block3x3",lg:2147483647,mg:!0,parent:-100,pg:hh,rg:ih,tg:jh,vg:[],wg:[]},{re:"obj_info",lg:2147483647,mg:!0,og:-50,parent:-100,tg:kh,vg:[],wg:[]},{re:"obj_idioma",lg:2147483647,mg:!0,ng:!0,og:-50,parent:-100,pg:lh,rg:mh,tg:nh,vg:[],wg:[]}],oh:[{re:"room1",width:480,height:320,ph:qh,rh:[{sh:!0,},{sh:!0,dg:140,eg:40,th:!1,uh:!1,},{},{},{},{},{},{}],vh:[{mg:!0,wh:600,xh:600,yh:600,zh:600,ai:-100},{ai:-100},{ai:-100},{ai:-100}
,{ai:-100},{ai:-100},{ai:-100},{ai:-100}],bi:[{dg:0,eg:0,ai:3,id:100000,ci:0,yf:1,zf:1,di:4294967295},{dg:240,eg:120,ai:2,id:100001,ph:ei,ci:0,yf:1.48920857906342,zf:0.871794879436493,di:4294967295},{dg:240,eg:170,ai:2,id:100002,ph:fi,ci:0,yf:1.47142851352692,zf:0.824999988079071,di:4294967295},{dg:240,eg:220,ai:2,id:100003,ph:gi,ci:0,yf:1.47142851352692,zf:0.794871985912323,di:4294967295},{dg:70,eg:0,ai:6,id:100004,ci:0,yf:1,zf:1,di:4294967295},{dg:32,eg:0,ai:5,id:100005,ci:0,yf:1,zf:1,di:4294967295}
,{dg:450,eg:300,ai:6,id:100006,ci:0,yf:1,zf:1,di:4294967295}],hi:[{dg:10,eg:260,ai:3,fg:230,gg:50,og:-40,id:10000000,di:-1},{dg:80,ai:2,fg:300,gg:100,og:-45,id:10000001,di:-1}]},{re:"room0",width:480,height:320,rh:[{mg:!0,ai:0,th:!1,uh:!1,ii:!0},{},{},{},{},{},{},{}],vh:[{ai:-100},{ai:-100},{ai:-100},{ai:-100},{ai:-100},{ai:-100},{ai:-100},{ai:-100}],bi:[{dg:0,eg:0,ai:1,id:100007,ci:0,yf:1,zf:1,di:4294967295}],hi:[]}],ji:[0,1],ki:[{dg:1202,eg:606,fg:480,gg:320,li:0,mi:0,ni:480,oi:320,pi:480,qi:320,
ri:0},{dg:1202,eg:930,fg:480,gg:320,li:0,mi:0,ni:480,oi:320,pi:480,qi:320,ri:0},{dg:606,eg:1190,fg:480,gg:320,li:0,mi:0,ni:480,oi:320,pi:480,qi:320,ri:0},{dg:606,eg:1514,fg:480,gg:320,li:0,mi:0,ni:480,oi:320,pi:480,qi:320,ri:0},{dg:1090,eg:1254,fg:480,gg:320,li:0,mi:0,ni:480,oi:320,pi:480,qi:320,ri:0},{dg:1090,eg:1578,fg:480,gg:320,li:0,mi:0,ni:480,oi:320,pi:480,qi:320,ri:0},{dg:2,eg:2,fg:480,gg:320,li:0,mi:0,ni:480,oi:320,pi:480,qi:320,ri:1},{dg:2,eg:2006,fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,
qi:40,ri:0},{dg:1574,eg:1330,fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,qi:40,ri:0},{dg:1814,eg:78,fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,qi:40,ri:0},{dg:714,eg:1838,fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,qi:40,ri:0},{dg:714,eg:1902,fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,qi:40,ri:0},{dg:1962,eg:74,fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,qi:40,ri:0},{dg:1918,eg:2,fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,qi:40,ri:0},{dg:334,eg:1946,fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,qi:40,ri:0},{dg:46,eg:2006,
fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,qi:40,ri:0},{dg:1618,eg:1330,fg:40,gg:40,li:0,mi:0,ni:40,oi:40,pi:40,qi:40,ri:0},{dg:570,eg:1838,fg:140,gg:40,li:0,mi:0,ni:140,oi:40,pi:140,qi:40,ri:0},{dg:570,eg:1902,fg:140,gg:40,li:0,mi:0,ni:140,oi:40,pi:140,qi:40,ri:0},{dg:1686,eg:606,fg:270,gg:266,li:17,mi:20,ni:270,oi:266,pi:300,qi:300,ri:0},{dg:2,eg:2,fg:600,gg:600,li:0,mi:0,ni:600,oi:600,pi:600,qi:600,ri:0},{dg:1574,eg:1254,fg:100,gg:70,li:0,mi:0,ni:100,oi:70,pi:100,qi:70,ri:0},{dg:1814,eg:2,fg:100,
gg:70,li:0,mi:0,ni:100,oi:70,pi:100,qi:70,ri:0},{dg:2,eg:606,fg:600,gg:600,li:0,mi:0,ni:600,oi:600,pi:600,qi:600,ri:0},{dg:2,eg:1210,fg:600,gg:600,li:0,mi:0,ni:600,oi:600,pi:600,qi:600,ri:0},{dg:606,eg:2,fg:600,gg:600,li:0,mi:0,ni:600,oi:600,pi:600,qi:600,ri:0},{dg:1210,eg:2,fg:600,gg:600,li:0,mi:0,ni:600,oi:600,pi:600,qi:600,ri:0},{dg:1090,eg:1214,fg:91,gg:17,li:5,mi:13,ni:91,oi:17,pi:100,qi:40,ri:0},{dg:262,eg:1922,fg:86,gg:17,li:7,mi:13,ni:86,oi:17,pi:100,qi:40,ri:0},{dg:1090,eg:1190,fg:93,gg:19,
li:4,mi:12,ni:93,oi:19,pi:100,qi:40,ri:0},{dg:242,eg:1946,fg:88,gg:19,li:6,mi:12,ni:88,oi:19,pi:100,qi:40,ri:0},{dg:1964,eg:4,fg:64,gg:64,li:0,mi:0,ni:64,oi:64,pi:64,qi:64,ri:0},{dg:608,eg:608,fg:588,gg:573,li:1,mi:14,ni:588,oi:573,pi:600,qi:600,ri:0},{dg:264,eg:1816,fg:300,gg:100,li:0,mi:0,ni:300,oi:100,pi:300,qi:100,ri:0},{dg:4,eg:1948,fg:230,gg:50,li:0,mi:0,ni:230,oi:50,pi:230,qi:50,ri:0},{dg:2,eg:1814,fg:256,gg:128,li:0,mi:0,ni:256,oi:128,pi:256,qi:128,ri:0}],si:["index_texture_0.png","index_texture_1.png"],
ti:{vi:!1,wi:251398084,xi:"a850adcc-d921-413c-93a3-c252d88753e5",yi:!1,zi:!0,aj:!0,scale:-1,bj:!0,cj:!1,dj:!1,ej:!0,fj:!1,gj:!1,hj:!0,ij:0,jj:!0,kj:"html5game",lj:"Default",mj:0,nj:!0,oj:0,pj:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],qj:"gamemaker: studio",rj:1,sj:0,tj:1,uj:1414382911}};function vj(){}function wj(){}function lf(xj,yj,zj){xj.ak=zj;xj.bk=160;xj.ck=106;xj.dk=80;xj.ek=53;global.fk=0;if((gk(4).hk==1)){{for(xj.ik=0;(xj.ik<8);xj.ik+=1){if((((jk(gk(4),"__gmlpiece__",xj.ik,0)<kk.lk))&&(((jk(gk(4),"__gmlpiece__",
xj.ik,0)+xj.bk)>kk.lk))&&((jk(gk(4),"__gmlpiece__",xj.ik,1)<kk.mk))&&(((jk(gk(4),"__gmlpiece__",xj.ik,1)+xj.ck)>kk.mk)))){{if(nk(1)>0.5){{var ok,pk;ok=kk.lk;pk=kk.mk;xj.qk=(kk.lk-jk(gk(4),"__gmlpiece__",xj.ik,0));xj.rk=(kk.mk-jk(gk(4),"__gmlpiece__",xj.ik,1));xj.sk=(jk(gk(4),"__gmlpiece__",xj.ik,0)+xj.bk-kk.lk);xj.tk=(jk(gk(4),"__gmlpiece__",xj.ik,1)+xj.ck-kk.mk);var uk,vk,wk,xk;var yk,zk,al,bl;uk=1?1:0;vk=1?1:0;xk=1?1:0;wk=1?1:0;for(xj.cl=0;(xj.cl<8);xj.cl+=1){if((xj.ik==xj.cl)){continue};yk=((((ok-xj.qk)>=jk(gk(4),
"__gmlpiece__",xj.cl,0)))&&(((ok-xj.qk)<=(jk(gk(4),"__gmlpiece__",xj.cl,0)+xj.bk)))&&(((pk-xj.rk)>=jk(gk(4),"__gmlpiece__",xj.cl,1)))&&(((pk-xj.rk)<=(jk(gk(4),"__gmlpiece__",xj.cl,1)+xj.ck))))?1:0;zk=((((ok+xj.sk)>=jk(gk(4),"__gmlpiece__",xj.cl,0)))&&(((ok+xj.sk)<=(jk(gk(4),"__gmlpiece__",xj.cl,0)+xj.bk)))&&(((pk-xj.rk)>=jk(gk(4),"__gmlpiece__",xj.cl,1)))&&(((pk-xj.rk)<=(jk(gk(4),"__gmlpiece__",xj.cl,1)+xj.ck))))?1:0;al=((((ok-xj.qk)>=jk(gk(4),"__gmlpiece__",xj.cl,0)))&&(((ok-xj.qk)<=(jk(gk(4),"__gmlpiece__",
xj.cl,0)+xj.bk)))&&(((pk+xj.tk)>=jk(gk(4),"__gmlpiece__",xj.cl,1)))&&(((pk+xj.tk)<=(jk(gk(4),"__gmlpiece__",xj.cl,1)+xj.ck))))?1:0;bl=((((ok+xj.sk)>=jk(gk(4),"__gmlpiece__",xj.cl,0)))&&(((ok+xj.sk)<=(jk(gk(4),"__gmlpiece__",xj.cl,0)+xj.bk)))&&(((pk+xj.tk)>=jk(gk(4),"__gmlpiece__",xj.cl,1)))&&(((pk+xj.tk)<=(jk(gk(4),"__gmlpiece__",xj.cl,1)+xj.ck))))?1:0;if(((yk>0.5)&&(zk>0.5))){{uk=0?1:0;}}else {if(((al>0.5)&&(bl>0.5))){{vk=0?1:0;}}else {if(((yk>0.5)&&(al>0.5))){{xk=0?1:0;}}else {if(((zk>0.5)&&(bl>0.5))){
{wk=0?1:0;}}}}};};if(((uk>0.5)&&(((pk-xj.rk)>0)))){{dl(gk(4),"__gmlpiece__",xj.ik,1,jk(gk(4),"__gmlpiece__",xj.ik,1)-xj.ck);}}else {if(((vk>0.5)&&(((pk+xj.tk)<(kk.el-50))))){{dl(gk(4),"__gmlpiece__",xj.ik,1,jk(gk(4),"__gmlpiece__",xj.ik,1)+xj.ck);}}else {if(((xk>0.5)&&(((ok-xj.qk)>0)))){{dl(gk(4),"__gmlpiece__",xj.ik,0,jk(gk(4),"__gmlpiece__",xj.ik,0)-xj.bk);}}else {if(((wk>0.5)&&(((ok+xj.sk)<kk.fl)))){{dl(gk(4),"__gmlpiece__",xj.ik,0,jk(gk(4),"__gmlpiece__",xj.ik,0)+xj.bk);}}}}};}};}};};}};}function mf(xj,
yj,zj,gl){xj.ak=zj;xj.hl=(600/xj.ak);xj.il=gl;xj.ik=0;xj.jl=0;xj.kl=240;xj.ll=160;if((gk(1).ml==0)){{for(xj.ik=0;(xj.ik<3);xj.ik+=1){gk(1).nl-=1;switch(gk(1).nl){case 0:dl(gk(1),"__gmlpart__",xj.ik,0,0);dl(gk(1),"__gmlpart__",xj.ik,1,0);break;case 1:dl(gk(1),"__gmlpart__",xj.ik,0,xj.kl);dl(gk(1),"__gmlpart__",xj.ik,1,0);break;case 2:dl(gk(1),"__gmlpart__",xj.ik,0,0);dl(gk(1),"__gmlpart__",xj.ik,1,xj.ll);break;case 3:dl(gk(1),"__gmlpart__",xj.ik,0,xj.kl);dl(gk(1),"__gmlpart__",xj.ik,1,xj.ll);break;};
};gk(1).ml=1?1:0;}};for(xj.ik=0;(xj.ik<3);xj.ik+=1){ol(xj,0,gk(1).pl,jk(gk(1),"__gmlpart__",xj.ik,0),jk(gk(1),"__gmlpart__",xj.ik,1),240,160,ql(xj,"__gmlpiecex__",xj.ik),ql(xj,"__gmlpiecey__",xj.ik));};}function nf(xj,yj){xj.ik=0;xj.rl=0;if((((jk(gk(1),"__gmlpart__",0,0)==ql(gk(1),"__gmlpiecex__",0)))&&((jk(gk(1),"__gmlpart__",0,1)==ql(gk(1),"__gmlpiecey__",0)))&&((jk(gk(1),"__gmlpart__",1,0)==ql(gk(1),"__gmlpiecex__",1)))&&((jk(gk(1),"__gmlpart__",1,1)==ql(gk(1),"__gmlpiecey__",1)))&&((jk(gk(1),
"__gmlpart__",2,0)==ql(gk(1),"__gmlpiecex__",2)))&&((jk(gk(1),"__gmlpart__",2,1)==ql(gk(1),"__gmlpiecey__",2))))){{gk(1).hk=0?1:0;sl(xj,0,gk(1).pl,0,0,480,320);tl(xj,4,0,100,0);ul(220,80,jk(gk(6),"__gmltexto__",gk(6).vl,2));global.fk=0;if((((kk.lk>200))&&((kk.lk<300))&&((kk.mk>150))&&((kk.mk<220)))){{wl(ql(gk(6),"__gmlcolor__",0));tl(xj,6,1,200,150);ul(220,170,jk(gk(6),"__gmltexto__",gk(6).vl,3));if(xl(1)>0.5){global.fk=5};if((global.fk==5)){{gk(1).pl+=1;{var yl=zl(1);for(var am in yl){var bm=yl[am];
if(bm.cm)continue;{dm(bm,"__gmlpiecex__",0,0);dm(bm,"__gmlpiecex__",1,240);dm(bm,"__gmlpiecex__",2,240);dm(bm,"__gmlpiecey__",0,0);dm(bm,"__gmlpiecey__",1,0);dm(bm,"__gmlpiecey__",2,160);bm.hk=1?1:0;}}};}};}}else {{wl(ql(gk(6),"__gmlcolor__",1));tl(xj,6,0,200,150);ul(220,170,jk(gk(6),"__gmltexto__",gk(6).vl,3));}};wl(ql(gk(6),"__gmlcolor__",0));}};}function of(xj,yj,zj){xj.ak=zj;xj.ik=0;xj.jl=7;dl(xj,"__gmlparte__",0,0,0);dl(xj,"__gmlparte__",0,1,0);dl(xj,"__gmlparte__",1,0,160);dl(xj,"__gmlparte__",
1,1,0);dl(xj,"__gmlparte__",2,0,320);dl(xj,"__gmlparte__",2,1,0);dl(xj,"__gmlparte__",3,0,0);dl(xj,"__gmlparte__",3,1,106);dl(xj,"__gmlparte__",4,0,0);dl(xj,"__gmlparte__",4,1,212);dl(xj,"__gmlparte__",5,0,160);dl(xj,"__gmlparte__",5,1,106);dl(xj,"__gmlparte__",6,0,320);dl(xj,"__gmlparte__",6,1,106);dl(xj,"__gmlparte__",7,0,320);dl(xj,"__gmlparte__",7,1,212);for(xj.ik=0;(xj.ik<8);xj.ik+=1){ol(xj,0,gk(4).pl,jk(xj,"__gmlparte__",xj.jl,0),jk(xj,"__gmlparte__",xj.jl,1),160,106,jk(gk(4),"__gmlpiece__",
xj.ik,0),jk(gk(4),"__gmlpiece__",xj.ik,1));xj.jl-=1;};xj.jl=7;gk(4).rl=0;for(xj.ik=0;(xj.ik<8);xj.ik+=1){if((((jk(xj,"__gmlparte__",xj.jl,0)==jk(gk(4),"__gmlpiece__",xj.ik,0)))&&((jk(xj,"__gmlparte__",xj.jl,1)==jk(gk(4),"__gmlpiece__",xj.ik,1))))){gk(4).rl+=1};xj.jl-=1;};if((gk(4).em==1)){{gk(4).rl=8;}};if((((gk(4).rl==8))&&((gk(4).pl<6)))){{gk(4).hk=0?1:0;tl(xj,0,gk(4).pl,0,0);tl(xj,4,0,100,0);ul(220,80,jk(gk(6),"__gmltexto__",gk(6).vl,2));global.fk=0;if((((kk.lk>200))&&((kk.lk<300))&&((kk.mk>150))&&((kk.mk<220)))){
{wl(ql(gk(6),"__gmlcolor__",0));tl(xj,6,1,200,150);ul(220,170,jk(gk(6),"__gmltexto__",gk(6).vl,3));if(xl(1)>0.5){global.fk=5};if((global.fk==5)){{gk(4).pl+=1;{var fm=zl(4);for(var gm in fm){var hm=fm[gm];if(hm.cm)continue;{dl(hm,"__gmlpiece__",0,0,0);dl(hm,"__gmlpiece__",0,1,0);dl(hm,"__gmlpiece__",1,0,160);dl(hm,"__gmlpiece__",1,1,0);dl(hm,"__gmlpiece__",2,0,320);dl(hm,"__gmlpiece__",2,1,0);dl(hm,"__gmlpiece__",3,0,0);dl(hm,"__gmlpiece__",3,1,106);dl(hm,"__gmlpiece__",4,0,0);dl(hm,"__gmlpiece__",4,1,
212);dl(hm,"__gmlpiece__",5,0,160);dl(hm,"__gmlpiece__",5,1,106);dl(hm,"__gmlpiece__",6,0,320);dl(hm,"__gmlpiece__",6,1,106);dl(hm,"__gmlpiece__",7,0,320);dl(hm,"__gmlpiece__",7,1,212);hm.em=0?1:0;hm.hk=1?1:0;}}};}};}}else {{wl(ql(gk(6),"__gmlcolor__",1));tl(xj,6,0,200,150);ul(220,170,jk(gk(6),"__gmltexto__",gk(6).vl,3));}};wl(ql(gk(6),"__gmlcolor__",0));}}else {if((gk(4).rl==8)){{gk(4).hk=0?1:0;tl(xj,0,6,0,0);global.fk=5;sl(xj,5,0,0,0,480,320);ul(60,80,jk(gk(6),"__gmltexto__",gk(6).vl,4));if((((kk.lk>200))&&((kk.lk<300))&&((kk.mk>150))&&((kk.mk<220)))){
{wl(ql(gk(6),"__gmlcolor__",0));tl(xj,6,1,200,150);ul(220,170,jk(gk(6),"__gmltexto__",gk(6).vl,5));if(xl(1)>0.5){im(0)};}}else {{wl(0);tl(xj,6,0,200,150);ul(220,170,jk(gk(6),"__gmltexto__",gk(6).vl,5));}};wl(ql(gk(6),"__gmlcolor__",1));}}};}function qg(xj,yj){{xj.ik=0;xj.fk=0;};}function sg(xj,yj){{xj.jm(kk.lk);xj.km(kk.mk);};}function ug(xj,yj){{};}function xg(xj,yj){{dm(xj,"__gmlpiecex__",0,0);dm(xj,"__gmlpiecex__",1,240);dm(xj,"__gmlpiecex__",2,240);dm(xj,"__gmlpiecey__",0,0);dm(xj,"__gmlpiecey__",
1,0);dm(xj,"__gmlpiecey__",2,160);dm(xj,"__gmlpreviousx__",0,0);dm(xj,"__gmlpreviousx__",1,240);dm(xj,"__gmlpreviousx__",2,240);dm(xj,"__gmlpreviousy__",0,0);dm(xj,"__gmlpreviousy__",1,0);dm(xj,"__gmlpreviousy__",2,160);xj.ik=0;xj.cl=0;xj.lm=0;xj.mm=0;dl(xj,"__gmlpart__",0,0,0);dl(xj,"__gmlpart__",0,1,0);dl(xj,"__gmlpart__",1,0,0);dl(xj,"__gmlpart__",1,1,0);dl(xj,"__gmlpart__",2,0,0);dl(xj,"__gmlpart__",2,1,0);dl(xj,"__gmlpart__",3,0,0);dl(xj,"__gmlpart__",3,1,0);xj.ml=0?1:0;xj.nl=4;dm(xj,"__gmla__",
0,0);dm(xj,"__gmla__",1,1);dm(xj,"__gmla__",2,2);dm(xj,"__gmla__",3,3);xj.pl=0;xj.hk=1?1:0;var qk,rk,sk,tk;};}function yg(xj,yj){{global.fk=0;xj.ik=0;if((xj.hk==1)){{for(xj.ik=0;(xj.ik<3);xj.ik+=1){if((((ql(xj,"__gmlpiecex__",xj.ik)<kk.lk))&&(((ql(xj,"__gmlpiecex__",xj.ik)+240)>kk.lk))&&((ql(xj,"__gmlpiecey__",xj.ik)<kk.mk))&&(((ql(xj,"__gmlpiecey__",xj.ik)+160)>kk.mk)))){{if(nk(1)>0.5){{var ok,pk;ok=kk.lk;pk=kk.mk;xj.qk=(kk.lk-ql(xj,"__gmlpiecex__",xj.ik));xj.rk=(kk.mk-ql(xj,"__gmlpiecey__",xj.ik));
xj.sk=(ql(xj,"__gmlpiecex__",xj.ik)+240-kk.lk);xj.tk=(ql(xj,"__gmlpiecey__",xj.ik)+160-kk.mk);var uk,vk,wk,xk;var yk,zk,al,bl;uk=1?1:0;vk=1?1:0;xk=1?1:0;wk=1?1:0;for(xj.cl=0;(xj.cl<3);xj.cl+=1){if((xj.ik==xj.cl)){continue};yk=((((ok-xj.qk)>=ql(xj,"__gmlpiecex__",xj.cl)))&&(((ok-xj.qk)<=(ql(xj,"__gmlpiecex__",xj.cl)+240)))&&(((pk-xj.rk)>=ql(xj,"__gmlpiecey__",xj.cl)))&&(((pk-xj.rk)<=(ql(xj,"__gmlpiecey__",xj.cl)+160))))?1:0;zk=((((ok+xj.sk)>=ql(xj,"__gmlpiecex__",xj.cl)))&&(((ok+xj.sk)<=(ql(xj,"__gmlpiecex__",
xj.cl)+240)))&&(((pk-xj.rk)>=ql(xj,"__gmlpiecey__",xj.cl)))&&(((pk-xj.rk)<=(ql(xj,"__gmlpiecey__",xj.cl)+160))))?1:0;al=((((ok-xj.qk)>=ql(xj,"__gmlpiecex__",xj.cl)))&&(((ok-xj.qk)<=(ql(xj,"__gmlpiecex__",xj.cl)+240)))&&(((pk+xj.tk)>=ql(xj,"__gmlpiecey__",xj.cl)))&&(((pk+xj.tk)<=(ql(xj,"__gmlpiecey__",xj.cl)+160))))?1:0;bl=((((ok+xj.sk)>=ql(xj,"__gmlpiecex__",xj.cl)))&&(((ok+xj.sk)<=(ql(xj,"__gmlpiecex__",xj.cl)+240)))&&(((pk+xj.tk)>=ql(xj,"__gmlpiecey__",xj.cl)))&&(((pk+xj.tk)<=(ql(xj,"__gmlpiecey__",
xj.cl)+160))))?1:0;if(((yk>0.5)&&(zk>0.5))){{uk=0?1:0;}}else {if(((al>0.5)&&(bl>0.5))){{vk=0?1:0;}}else {if(((yk>0.5)&&(al>0.5))){{xk=0?1:0;}}else {if(((zk>0.5)&&(bl>0.5))){{wk=0?1:0;}}}}};};if(((uk>0.5)&&(((pk-xj.rk)>0)))){{dm(xj,"__gmlpiecey__",xj.ik,ql(xj,"__gmlpiecey__",xj.ik)-160);}}else {if(((vk>0.5)&&(((pk+xj.tk)<kk.el)))){{dm(xj,"__gmlpiecey__",xj.ik,ql(xj,"__gmlpiecey__",xj.ik)+160);}}else {if(((xk>0.5)&&(((ok-xj.qk)>0)))){{dm(xj,"__gmlpiecex__",xj.ik,ql(xj,"__gmlpiecex__",xj.ik)-240);}}else {
if(((wk>0.5)&&(((ok+xj.sk)<kk.fl)))){{dm(xj,"__gmlpiecex__",xj.ik,ql(xj,"__gmlpiecex__",xj.ik)+240);}}}}};}};}};};}};if((xj.pl>1)){{if((nm(4)==0)){om(xj,4,0,0)};}};};}function zg(xj,yj){{mf(xj,yj,2,4);nf(xj,yj);};}function ah(xj,yj){{xj.pm=0;};}function bh(xj,yj){{var qm;if(((xl(1)>0.5)&&((kk.lk>(xj.dg-(xj.rm()/2))))&&((kk.lk<(xj.dg+(xj.rm()/2))))&&((kk.mk>(xj.eg-(xj.sm()/2))))&&((kk.mk<(xj.eg+(xj.sm()/2)))))){{switch(xj.tm){case 0:im(1);break;case 1:global.um=1?1:0;break;case 2:global.vm=1?1:0;break;}
;}};};}function ch(xj,yj){{xj.wm=(-300);dm(xj,"__alarm__",0,(kk.xm*1.5));xj.ym="up";};}function eh(xj,yj){{dm(xj,"__alarm__",0,(kk.xm*1));};}function fh(xj,yj){{if((xj.wm>0)){xj.ym="down"}else {if((xj.wm<(-300))){xj.ym="up"}};switch(xj.ym){case "up":xj.wm+=1;break;case "down":xj.wm-=1;break;};};}function gh(xj,yj){{wl(ql(gk(6),"__gmlcolor__",0));tl(xj,7,0,xj.wm,xj.wm);tl(xj,7,1,(600+xj.wm),xj.wm);tl(xj,7,2,xj.wm,(600+xj.wm));tl(xj,7,3,(600+xj.wm),(600+xj.wm));};}function hh(xj,yj){{dl(xj,"__gmlpiece__",
0,0,0);dl(xj,"__gmlpiece__",0,1,0);dl(xj,"__gmlpiece__",1,0,160);dl(xj,"__gmlpiece__",1,1,0);dl(xj,"__gmlpiece__",2,0,320);dl(xj,"__gmlpiece__",2,1,0);dl(xj,"__gmlpiece__",3,0,0);dl(xj,"__gmlpiece__",3,1,106);dl(xj,"__gmlpiece__",4,0,0);dl(xj,"__gmlpiece__",4,1,212);dl(xj,"__gmlpiece__",5,0,160);dl(xj,"__gmlpiece__",5,1,106);dl(xj,"__gmlpiece__",6,0,320);dl(xj,"__gmlpiece__",6,1,106);dl(xj,"__gmlpiece__",7,0,320);dl(xj,"__gmlpiece__",7,1,212);xj.lm=0;xj.mm=0;xj.rl=0;xj.pl=2;xj.cl=0;xj.zm=0;xj.em=0?1:0;
xj.hk=1?1:0;global.fk=0;};}function ih(xj,yj){{if(an(1)>0.5){bn(xj,1)};};}function jh(xj,yj){{lf(xj,yj,3);of(xj,yj,3);};}function kh(xj,yj){{wl(ql(gk(6),"__gmlcolor__",1));if((global.um==1)){{sl(xj,5,0,0,0,kk.fl,kk.el);{var cn=zl(6);for(var dn in cn){var en=cn[dn];if(en.cm)continue;{ul(150,40,jk(en,"__gmltexto__",en.vl,0));ul(30,60,jk(en,"__gmltexto__",en.vl,1));}}};bn(xj,2);if((((kk.lk>230))&&((kk.lk<270))&&((kk.mk>270))&&((kk.mk<310)))){{tl(xj,2,1,230,270);if(xl(1)>0.5){{global.um=0?1:0;fn(xj,2);}};}}
else {tl(xj,2,0,230,270)};}};wl(ql(gk(6),"__gmlcolor__",0));};}function lh(xj,yj){{dm(xj,"__gmlidioma__",0,"espanol");dm(xj,"__gmlidioma__",1,"ingles");xj.vl=1;xj.gn=2;global.vm=0?1:0;dl(xj,"__gmltexto__",0,0,"Información del juego:");dl(xj,"__gmltexto__",0,1,"Diseñador de Juegos: Carlos Chavez Laguna.#Música: DeceasedSuperiorTechnician (CC BY)##Instruciones:#Toque la piezas más cercana al lugar vacío, #intente formar la figura con las piezas que #hay para que se muestre la foto real.");dl(xj,"__gmltexto__",
0,2,"¡Ganaste!");dl(xj,"__gmltexto__",0,3,"Siguiente");dl(xj,"__gmltexto__",0,4,"Gracias por jugar mi videojuego!#  CCL.SPARCASE.");dl(xj,"__gmltexto__",0,5,"Inicio");dl(xj,"__gmltexto__",0,6,"Empezar");dl(xj,"__gmltexto__",0,7,"Información");dl(xj,"__gmltexto__",0,8,"Opciones");dl(xj,"__gmltexto__",0,9,"Idioma:");dl(xj,"__gmltexto__",0,10,"Sonido:");dl(xj,"__gmltexto__",1,0,"Game Information:");dl(xj,"__gmltexto__",1,1,"Game Designer: Carlos Chavez Laguna.#Music: DeceasedSuperiorTechnician (CC BY)##Instructions:#Touch the nearest pieces to the empty place,#try to form a image with its parts so,#the real photo is going to appear.");
dl(xj,"__gmltexto__",1,2,"WIN!");dl(xj,"__gmltexto__",1,3,"Next");dl(xj,"__gmltexto__",1,4,"Thanks You for playing my Game!#   CCL. SPARCASE.");dl(xj,"__gmltexto__",1,5,"Menu");dl(xj,"__gmltexto__",1,6,"Start");dl(xj,"__gmltexto__",1,7,"Information");dl(xj,"__gmltexto__",1,8,"Options");dl(xj,"__gmltexto__",1,9,"Language:");dl(xj,"__gmltexto__",1,10,"Sound:");dm(xj,"__gmlcolor__",0,hn(219,219,219));dm(xj,"__gmlcolor__",1,hn(66,78,104));xj.jn=1?1:0;kn(0);};}function mh(xj,yj){{if(xj.jn>0.5){{if(!(ln(0)>0.5)){
kn(0)};}}else {mn(0)};};}function nh(xj,yj){{if((global.vm==1)){{wl(ql(xj,"__gmlcolor__",1));sl(xj,5,0,0,0,kk.fl,kk.el);ul(70,35,jk(xj,"__gmltexto__",xj.vl,8));ul(70,60,jk(xj,"__gmltexto__",xj.vl,9));var ik;ik=0;bn(xj,2);for(ik=0;(ik<xj.gn);ik+=1){if((xj.vl!=ik)){{tl(xj,8,ik,200,(120+(50*ik)));if(xl(1)>0.5){{if((((kk.lk>(200-(nn(8)/2))))&&((kk.lk<(200+(nn(8)/2))))&&((kk.mk>(120+(50*ik)-(on(8)/2))))&&((kk.mk<(120+(50*ik)+(on(8)/2)))))){xj.vl=ik};}};}}else {tl(xj,8,(ik+2),200,(120+(50*ik)))};};ul(70,200,
jk(xj,"__gmltexto__",xj.vl,10));var ok,pk,pn,qn;ok=180;pk=220;if(xj.jn>0.5){tl(xj,2,2,ok,pk)}else {tl(xj,2,3,ok,pk)};pn=(((kk.lk>ok))&&((kk.lk<(ok+nn(2)))))?1:0;qn=(((kk.mk>pk))&&((kk.mk<(pk+on(2)))))?1:0;if(((nk(1)>0.5)&&(pn>0.5)&&(qn>0.5))){xj.jn=!(xj.jn>0.5)?1:0};if((((kk.lk>230))&&((kk.lk<270))&&((kk.mk>270))&&((kk.mk<310)))){{tl(xj,2,1,230,270);if(xl(1)>0.5){{global.vm=0?1:0;fn(xj,2);}};}}else {tl(xj,2,0,230,270)};}};var ok;if((kk.rn()==0)){{{var sn=zl(2);for(var tn in sn){var un=sn[tn];if(un.cm)continue;
{var vn=0;if(((un.tm%2)==0)){vn=(45-(un.tm*5))}else {vn=15};ul((un.dg-(nn(3)/2)+vn),(un.eg-(on(3)/2)+8),jk(gk(6),"__gmltexto__",gk(6).vl,(6+un.tm)));}}};}};};}function qh(xj){wn(0);wl(16711680);global.um=0?1:0;}function ei(xj){xj.tm=0;}function fi(xj){xj.tm=1;}function gi(xj){xj.tm=2;}var xn={};(function(yn,undefined){if(!(Object.prototype.defineProperty instanceof Function)&&Object.prototype.__defineGetter__ instanceof Function&&Object.prototype.__defineSetter__ instanceof Function){Object.defineProperty=function(zn,
ao,bo){if(bo.get instanceof Function)zn.__defineGetter__(ao,bo.get);if(bo.set instanceof Function)zn.__defineSetter__(ao,bo.set)}}function co(){};yn.eo=function(fo,go){var ho=fo;co.prototype=go.prototype;fo.prototype=new co;fo.prototype.constructor=ho};yn.io=function io(context,jo){return function(){jo.apply(context,arguments)}};yn.ko=function ko(length){if(length===undefined)length=0;var lo=new Array(length||0);for(var bg=0;bg<length;++bg)lo[bg]=0;return lo};yn.mo=function mo(no,oo){if(no===null)return !1;if((oo instanceof Function)&&(no instanceof oo))return !0;
if((no.constructor.__implements!=undefined)&&(no.constructor.__implements[oo]))return !0;return !1};yn.po=function(qo){return Math.abs(parseInt(qo))}})(xn);var ro=Array;var so=xn.ko;if(typeof(xn)==="undefined")xn={};if(typeof(xn.to)==="undefined")xn.to={};if(typeof(xn.to.uo)==="undefined")xn.to.uo={};if(typeof(xn.vo)==="undefined")xn.vo={};if(typeof(xn.vo.Math)==="undefined")xn.vo.Math={};if(typeof(xn.wo)==="undefined")xn.wo={};if(typeof(xn.wo.xo)==="undefined")xn.wo.xo={};if(typeof(xn.wo.yo)==="undefined")xn.wo.yo={
};if(typeof(xn.wo.zo)==="undefined")xn.wo.zo={};(function(){xn.to.ap='Box2D.Collision.IBroadPhase';function bp(){bp.bp.apply(this,arguments)};xn.to.bp=bp;function cp(){cp.cp.apply(this,arguments);};xn.to.cp=cp;function dp(){dp.dp.apply(this,arguments);if(this.constructor===dp)this.dp.apply(this,arguments)};xn.to.dp=dp;function ep(){ep.ep.apply(this,arguments)};xn.to.ep=ep;function fp(){fp.fp.apply(this,arguments);if(this.constructor===fp)this.fp.apply(this,arguments)};xn.to.fp=fp;function gp(){gp.gp.apply(this,
arguments)};xn.to.gp=gp;function hp(){hp.hp.apply(this,arguments)};xn.to.hp=hp;function ip(){ip.ip.apply(this,arguments)};xn.to.ip=ip;function jp(){jp.jp.apply(this,arguments)};xn.to.jp=jp;function kp(){kp.kp.apply(this,arguments)};xn.to.kp=kp;function lp(){lp.lp.apply(this,arguments);if(this.constructor===lp)this.lp.apply(this,arguments)};xn.to.lp=lp;function mp(){mp.mp.apply(this,arguments)};xn.to.mp=mp;function np(){np.np.apply(this,arguments)};xn.to.np=np;function op(){op.op.apply(this,arguments)};xn.to.op=op;
function pp(){pp.pp.apply(this,arguments);if(this.constructor===pp)this.pp.apply(this,arguments)};xn.to.pp=pp;function qp(){qp.qp.apply(this,arguments);if(this.constructor===qp)this.qp.apply(this,arguments)};xn.to.qp=qp;function rp(){rp.rp.apply(this,arguments)};xn.to.rp=rp;function sp(){sp.sp.apply(this,arguments);if(this.constructor===sp)this.sp.apply(this,arguments)};xn.to.sp=sp;function tp(){tp.tp.apply(this,arguments)};xn.to.tp=tp;function up(){up.up.apply(this,arguments)};xn.to.up=up;function vp(){
vp.vp.apply(this,arguments)};xn.to.vp=vp;function wp(){wp.wp.apply(this,arguments);if(this.constructor===wp)this.wp.apply(this,arguments)};xn.to.wp=wp;function xp(){xp.xp.apply(this,arguments);};xn.to.xp=xp;function yp(){yp.yp.apply(this,arguments)};xn.to.yp=yp;function zp(){zp.zp.apply(this,arguments)};xn.to.zp=zp;function aq(){aq.aq.apply(this,arguments)};xn.to.aq=aq;function bq(){bq.bq.apply(this,arguments);if(this.constructor===bq)this.bq.apply(this,arguments)};xn.to.bq=bq;function cq(){cq.cq.apply(this,
arguments)};xn.to.cq=cq;function dq(){dq.dq.apply(this,arguments)};xn.to.dq=dq;function eq(){eq.eq.apply(this,arguments);if(this.constructor===eq)this.eq.apply(this,arguments)};xn.to.uo.eq=eq;function fq(){fq.fq.apply(this,arguments);if(this.constructor===fq)this.fq.apply(this,arguments)};xn.to.uo.fq=fq;function gq(){gq.gq.apply(this,arguments);if(this.constructor===gq)this.gq.apply(this,arguments)};xn.to.uo.gq=gq;function hq(){hq.hq.apply(this,arguments)};xn.to.uo.hq=hq;function iq(){iq.iq.apply(this,
arguments);if(this.constructor===iq)this.iq.apply(this,arguments)};xn.to.uo.iq=iq;function jq(){jq.jq.apply(this,arguments);if(this.constructor===jq)this.jq.apply(this,arguments)};xn.to.uo.jq=jq;xn.vo.kq='Box2D.Common.b2internal';function lq(){lq.lq.apply(this,arguments);if(this.constructor===lq)this.lq.apply(this,arguments)};xn.vo.lq=lq;function mq(){mq.mq.apply(this,arguments)};xn.vo.mq=mq;function nq(){nq.nq.apply(this,arguments);if(this.constructor===nq)this.nq.apply(this,arguments)};xn.vo.Math.nq=nq;
function oq(){oq.oq.apply(this,arguments);if(this.constructor===oq)this.oq.apply(this,arguments)};xn.vo.Math.oq=oq;function pq(){pq.pq.apply(this,arguments)};xn.vo.Math.pq=pq;function qq(){qq.qq.apply(this,arguments)};xn.vo.Math.qq=qq;function rq(){rq.rq.apply(this,arguments);if(this.constructor===rq)this.rq.apply(this,arguments)};xn.vo.Math.rq=rq;function sq(){sq.sq.apply(this,arguments);if(this.constructor===sq)this.sq.apply(this,arguments)};xn.vo.Math.sq=sq;function tq(){tq.tq.apply(this,arguments);
if(this.constructor===tq)this.tq.apply(this,arguments)};xn.vo.Math.tq=tq;function uq(){uq.uq.apply(this,arguments);if(this.constructor===uq)this.uq.apply(this,arguments)};xn.wo.uq=uq;function vq(){vq.vq.apply(this,arguments);if(this.constructor===vq)this.vq.apply(this,arguments)};xn.wo.vq=vq;function wq(){wq.wq.apply(this,arguments)};xn.wo.wq=wq;function xq(){xq.xq.apply(this,arguments)};xn.wo.xq=xq;function yq(){yq.yq.apply(this,arguments)};xn.wo.yq=yq;function zq(){zq.zq.apply(this,arguments);if(this.constructor===zq)this.zq.apply(this,
arguments)};xn.wo.zq=zq;function ar(){ar.ar.apply(this,arguments);if(this.constructor===ar)this.ar.apply(this,arguments)};xn.wo.ar=ar;function br(){br.br.apply(this,arguments)};xn.wo.br=br;function cr(){cr.cr.apply(this,arguments)};xn.wo.cr=cr;function dr(){dr.dr.apply(this,arguments);if(this.constructor===dr)this.dr.apply(this,arguments)};xn.wo.dr=dr;function er(){er.er.apply(this,arguments);if(this.constructor===er)this.er.apply(this,arguments)};xn.wo.er=er;function fr(){fr.fr.apply(this,arguments);
if(this.constructor===fr)this.fr.apply(this,arguments)};xn.wo.fr=fr;function gr(){gr.gr.apply(this,arguments)};xn.wo.gr=gr;function hr(){hr.hr.apply(this,arguments);if(this.constructor===hr)this.hr.apply(this,arguments)};xn.wo.hr=hr;function ir(){ir.ir.apply(this,arguments)};xn.wo.xo.ir=ir;function jr(){jr.jr.apply(this,arguments);if(this.constructor===jr)this.jr.apply(this,arguments)};xn.wo.xo.jr=jr;function kr(){kr.kr.apply(this,arguments);if(this.constructor===kr)this.kr.apply(this,arguments)};xn.wo.xo.kr=kr;
function lr(){lr.lr.apply(this,arguments)};xn.wo.xo.lr=lr;function mr(){mr.mr.apply(this,arguments)};xn.wo.xo.mr=mr;function nr(){nr.nr.apply(this,arguments);if(this.constructor===nr)this.nr.apply(this,arguments)};xn.wo.xo.nr=nr;function or(){or.or.apply(this,arguments)};xn.wo.xo.or=or;function pr(){pr.pr.apply(this,arguments)};xn.wo.xo.pr=pr;function qr(){qr.qr.apply(this,arguments);if(this.constructor===qr)this.qr.apply(this,arguments)};xn.wo.xo.qr=qr;function rr(){rr.rr.apply(this,arguments)};xn.wo.xo.rr=rr;
function sr(){sr.sr.apply(this,arguments);if(this.constructor===sr)this.sr.apply(this,arguments)};xn.wo.xo.sr=sr;function tr(){tr.tr.apply(this,arguments)};xn.wo.xo.tr=tr;function ur(){ur.ur.apply(this,arguments)};xn.wo.xo.ur=ur;function vr(){vr.vr.apply(this,arguments)};xn.wo.xo.vr=vr;function wr(){wr.wr.apply(this,arguments);if(this.constructor===wr)this.wr.apply(this,arguments)};xn.wo.xo.wr=wr;function xr(){xr.xr.apply(this,arguments)};xn.wo.yo.xr=xr;function yr(){yr.yr.apply(this,arguments)};xn.wo.yo.yr=yr;
function zr(){zr.zr.apply(this,arguments)};xn.wo.yo.zr=zr;function as(){as.as.apply(this,arguments)};xn.wo.yo.as=as;function bs(){bs.bs.apply(this,arguments)};xn.wo.yo.bs=bs;function cs(){cs.cs.apply(this,arguments)};xn.wo.yo.cs=cs;function ds(){ds.ds.apply(this,arguments)};xn.wo.yo.ds=ds;function es(){es.es.apply(this,arguments);if(this.constructor===es)this.es.apply(this,arguments)};xn.wo.zo.es=es;function fs(){fs.fs.apply(this,arguments);if(this.constructor===fs)this.fs.apply(this,arguments)};xn.wo.zo.fs=fs;
function gs(){gs.gs.apply(this,arguments);if(this.constructor===gs)this.gs.apply(this,arguments)};xn.wo.zo.gs=gs;function hs(){hs.hs.apply(this,arguments);if(this.constructor===hs)this.hs.apply(this,arguments)};xn.wo.zo.hs=hs;function is(){is.is.apply(this,arguments);if(this.constructor===is)this.is.apply(this,arguments)};xn.wo.zo.is=is;function js(){js.js.apply(this,arguments);if(this.constructor===js)this.js.apply(this,arguments)};xn.wo.zo.js=js;function ks(){ks.ks.apply(this,arguments)};xn.wo.zo.ks=ks;
function ls(){ls.ls.apply(this,arguments);if(this.constructor===ls)this.ls.apply(this,arguments)};xn.wo.zo.ls=ls;function ms(){ms.ms.apply(this,arguments);if(this.constructor===ms)this.ms.apply(this,arguments)};xn.wo.zo.ms=ms;function ns(){ns.ns.apply(this,arguments)};xn.wo.zo.ns=ns;function os(){os.os.apply(this,arguments);if(this.constructor===os)this.os.apply(this,arguments)};xn.wo.zo.os=os;function ps(){ps.ps.apply(this,arguments);if(this.constructor===ps)this.ps.apply(this,arguments)};xn.wo.zo.ps=ps;
function qs(){qs.qs.apply(this,arguments);if(this.constructor===qs)this.qs.apply(this,arguments)};xn.wo.zo.qs=qs;function rs(){rs.rs.apply(this,arguments);if(this.constructor===rs)this.rs.apply(this,arguments)};xn.wo.zo.rs=rs;function ss(){ss.ss.apply(this,arguments);if(this.constructor===ss)this.ss.apply(this,arguments)};xn.wo.zo.ss=ss;function ts(){ts.ts.apply(this,arguments);if(this.constructor===ts)this.ts.apply(this,arguments)};xn.wo.zo.ts=ts;function us(){us.us.apply(this,arguments);if(this.constructor===us)this.us.apply(this,
arguments)};xn.wo.zo.us=us;function vs(){vs.vs.apply(this,arguments);if(this.constructor===vs)this.vs.apply(this,arguments)};xn.wo.zo.vs=vs;function ws(){ws.ws.apply(this,arguments);if(this.constructor===ws)this.ws.apply(this,arguments)};xn.wo.zo.ws=ws;function xs(){xs.xs.apply(this,arguments);if(this.constructor===xs)this.xs.apply(this,arguments)};xn.wo.zo.xs=xs;function ys(){ys.ys.apply(this,arguments);if(this.constructor===ys)this.ys.apply(this,arguments)};xn.wo.zo.ys=ys;function zs(){zs.zs.apply(this,
arguments);if(this.constructor===zs)this.zs.apply(this,arguments)};xn.wo.zo.zs=zs})();xn.at=[];(function(){var eq=xn.to.uo.eq,fq=xn.to.uo.fq,gq=xn.to.uo.gq,hq=xn.to.uo.hq,iq=xn.to.uo.iq,jq=xn.to.uo.jq,lq=xn.vo.lq,kq=xn.vo.kq,mq=xn.vo.mq,nq=xn.vo.Math.nq,oq=xn.vo.Math.oq,pq=xn.vo.Math.pq,qq=xn.vo.Math.qq,rq=xn.vo.Math.rq,sq=xn.vo.Math.sq,tq=xn.vo.Math.tq,bp=xn.to.bp,cp=xn.to.cp,dp=xn.to.dp,ep=xn.to.ep,fp=xn.to.fp,gp=xn.to.gp,hp=xn.to.hp,ip=xn.to.ip,jp=xn.to.jp,kp=xn.to.kp,lp=xn.to.lp,mp=xn.to.mp,np=xn.to.np,
op=xn.to.op,pp=xn.to.pp,qp=xn.to.qp,rp=xn.to.rp,sp=xn.to.sp,tp=xn.to.tp,up=xn.to.up,vp=xn.to.vp,wp=xn.to.wp,xp=xn.to.xp,yp=xn.to.yp,zp=xn.to.zp,aq=xn.to.aq,bq=xn.to.bq,cq=xn.to.cq,dq=xn.to.dq,ap=xn.to.ap;bp.bp=function(){this.bt=new sq();this.ct=new sq()};bp.prototype.dt=function(){var et=this.ct.dg-this.bt.dg;var ft=this.ct.eg-this.bt.eg;var gt=et>=0.0&&ft>=0.0;gt=gt&&this.bt.dt()&&this.ct.dt();return gt};bp.prototype.ht=function(){return new sq((this.bt.dg+this.ct.dg)/2,(this.bt.eg+this.ct.eg)/2)};bp.prototype.it=function(){
return new sq((this.ct.dg-this.bt.dg)/2,(this.ct.eg-this.bt.eg)/2)};bp.prototype.jt=function(kt){var lt=!0;lt=lt&&this.bt.dg<=kt.bt.dg;lt=lt&&this.bt.eg<=kt.bt.eg;lt=lt&&kt.ct.dg<=this.ct.dg;lt=lt&&kt.ct.eg<=this.ct.eg;return lt};bp.prototype.mt=function(nt,ot){var pt=(-Number.MAX_VALUE);var qt=Number.MAX_VALUE;var rt=ot.st.dg;var tt=ot.st.eg;var et=ot.ut.dg-ot.st.dg;var ft=ot.ut.eg-ot.st.eg;var vt=Math.abs(et);var wt=Math.abs(ft);var xt=nt.xt;var yt=0;var zt=0;var au=0;var bu=0;var cu=0;{if(vt<Number.MIN_VALUE){
if(rt<this.bt.dg||this.ct.dg<rt)return !1}else {yt=1.0/et;zt=(this.bt.dg-rt)*yt;au=(this.ct.dg-rt)*yt;cu=(-1.0);if(zt>au){bu=zt;zt=au;au=bu;cu=1.0}if(zt>pt){xt.dg=cu;xt.eg=0;pt=zt}qt=Math.min(qt,au);if(pt>qt)return !1}}{if(wt<Number.MIN_VALUE){if(tt<this.bt.eg||this.ct.eg<tt)return !1}else {yt=1.0/ft;zt=(this.bt.eg-tt)*yt;au=(this.ct.eg-tt)*yt;cu=(-1.0);if(zt>au){bu=zt;zt=au;au=bu;cu=1.0}if(zt>pt){xt.eg=cu;xt.dg=0;pt=zt}qt=Math.min(qt,au);if(pt>qt)return !1}}nt.du=pt;return !0};bp.prototype.eu=function(fu){
var gu=fu.bt.dg-this.ct.dg;var hu=fu.bt.eg-this.ct.eg;var iu=this.bt.dg-fu.ct.dg;var ju=this.bt.eg-fu.ct.eg;if(gu>0.0||hu>0.0)return !1;if(iu>0.0||ju>0.0)return !1;return !0};bp.ku=function(lu,mu){var kt=new bp();kt.ku(lu,mu);return kt};bp.prototype.ku=function(lu,mu){this.bt.dg=Math.min(lu.bt.dg,mu.bt.dg);this.bt.eg=Math.min(lu.bt.eg,mu.bt.eg);this.ct.dg=Math.max(lu.ct.dg,mu.ct.dg);this.ct.eg=Math.max(lu.ct.eg,mu.ct.eg)};cp.cp=function(){};cp.prototype.nu=function(){return(this.value&1)==0};cp.prototype.ou=function(){
return(this.value&1)==1};cp.prototype.pu=function(qu){var ru=this.value;var su=this.tu;var uu=this.vu;this.value=qu.value;this.tu=qu.tu;this.vu=qu.vu;qu.value=ru;qu.tu=su;qu.vu=uu};dp.dp=function(){};dp.prototype.dp=function(){this.wu=new so();this.wu[0]=0.0;this.wu[1]=0.0;this.xu=new so();this.xu[0]=0.0;this.xu[1]=0.0};ep.ep=function(){};ep.yu=function(zu,av,xt,hg){if(hg===undefined)hg=0;var bv;var cv=0;bv=av[0];var dv=bv.qo;bv=av[1];var ev=bv.qo;var fv=xt.dg*dv.dg+xt.eg*dv.eg-hg;var gv=xt.dg*ev.dg+xt.eg*ev.eg-hg;
if(fv<=0.0)zu[cv++].hv(av[0]);if(gv<=0.0)zu[cv++].hv(av[1]);if(fv*gv<0.0){var iv=fv/(fv-gv);bv=zu[cv];var jv=bv.qo;jv.dg=dv.dg+iv*(ev.dg-dv.dg);jv.eg=dv.eg+iv*(ev.eg-dv.eg);bv=zu[cv];var kv;if(fv>0.0){kv=av[0];bv.id=kv.id}else {kv=av[1];bv.id=kv.id}++cv}return cv};ep.lv=function(mv,nv,ov,pv,qv){if(ov===undefined)ov=0;var rv=parseInt(mv.sv);var tv=mv.uv;var vv=mv.wv;var xv=parseInt(pv.sv);var yv=pv.uv;var zv;var jv;zv=nv.aw;jv=vv[ov];var bw=(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var ew=(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);
zv=qv.aw;var fw=(zv.cw.dg*bw+zv.cw.eg*ew);var gw=(zv.dw.dg*bw+zv.dw.eg*ew);var ai=0;var hw=Number.MAX_VALUE;for(var bg=0;bg<xv;++bg){jv=yv[bg];var iw=jv.dg*fw+jv.eg*gw;if(iw<hw){hw=iw;ai=bg}}jv=tv[ov];zv=nv.aw;var jw=nv.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var kw=nv.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);jv=yv[ai];zv=qv.aw;var lw=qv.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var mw=qv.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);lw-=jw;mw-=kw;var nw=lw*bw+mw*ew;return nw};ep.ow=function(pw,mv,nv,
pv,qv){var rv=parseInt(mv.sv);var vv=mv.wv;var jv;var zv;zv=qv.aw;jv=pv.qw;var et=qv.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var ft=qv.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);zv=nv.aw;jv=mv.qw;et-=nv.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);ft-=nv.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);var rw=(et*nv.aw.cw.dg+ft*nv.aw.cw.eg);var sw=(et*nv.aw.dw.dg+ft*nv.aw.dw.eg);var tw=0;var uw=(-Number.MAX_VALUE);for(var bg=0;bg<rv;++bg){jv=vv[bg];var iw=(jv.dg*rw+jv.eg*sw);if(iw>uw){uw=iw;tw=bg}}var cu=ep.lv(mv,
nv,tw,pv,qv);var vw=parseInt(tw-1>=0?tw-1:rv-1);var ww=ep.lv(mv,nv,vw,pv,qv);var xw=parseInt(tw+1<rv?tw+1:0);var yw=ep.lv(mv,nv,xw,pv,qv);var zw=0;var ax=0;var bx=0;if(ww>cu&&ww>yw){bx=(-1);zw=vw;ax=ww;}else if(yw>cu){bx=1;zw=xw;ax=yw}else {pw[0]=tw;return cu}while(!0){if(bx==(-1))tw=zw-1>=0?zw-1:rv-1;else tw=zw+1<rv?zw+1:0;cu=ep.lv(mv,nv,tw,pv,qv);if(cu>ax){zw=tw;ax=cu}else {break}}pw[0]=zw;return ax};ep.cx=function(cg,mv,nv,ov,pv,qv){if(ov===undefined)ov=0;var rv=parseInt(mv.sv);var vv=mv.wv;var xv=parseInt(pv.sv);
var yv=pv.uv;var dx=pv.wv;var zv;var jv;zv=nv.aw;jv=vv[ov];var fw=(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var gw=(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);zv=qv.aw;var ex=(zv.cw.dg*fw+zv.cw.eg*gw);gw=(zv.dw.dg*fw+zv.dw.eg*gw);fw=ex;var ai=0;var hw=Number.MAX_VALUE;for(var bg=0;bg<xv;++bg){jv=dx[bg];var iw=(fw*jv.dg+gw*jv.eg);if(iw<hw){hw=iw;ai=bg}}var fx;var gx=parseInt(ai);var hx=parseInt(gx+1<xv?gx+1:0);fx=cg[0];jv=yv[gx];zv=qv.aw;fx.qo.dg=qv.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);fx.qo.eg=qv.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);
fx.id.ix.referenceEdge=ov;fx.id.ix.incidentEdge=gx;fx.id.ix.incidentVertex=0;fx=cg[1];jv=yv[hx];zv=qv.aw;fx.qo.dg=qv.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);fx.qo.eg=qv.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);fx.id.ix.referenceEdge=ov;fx.id.ix.incidentEdge=hx;fx.id.ix.incidentVertex=1};ep.jx=function(){var r=new ro(2);r[0]=new cq();r[1]=new cq();return r};ep.kx=function(lx,mx,nx,ox,px){var bv;lx.qx=0;var rx=mx.sx+ox.sx;var tx=0;ep.ux[0]=tx;var vx=ep.ow(ep.ux,mx,nx,ox,px);tx=ep.ux[0];if(vx>rx)return;
var wx=0;ep.xx[0]=wx;var yx=ep.ow(ep.xx,ox,px,mx,nx);wx=ep.xx[0];if(yx>rx)return;var mv;var pv;var nv;var qv;var ov=0;var flip=0;var zx=0.98;var ay=0.001;var zv;if(yx>zx*vx+ay){mv=ox;pv=mx;nv=px;qv=nx;ov=wx;lx.by=pp.cy;flip=1;}else {mv=mx;pv=ox;nv=nx;qv=px;ov=tx;lx.by=pp.dy;flip=0}var incidentEdge=ep.ey;ep.cx(incidentEdge,mv,nv,ov,pv,qv);var rv=parseInt(mv.sv);var tv=mv.uv;var fy=tv[ov];var gy;if(ov+1<rv){gy=tv[parseInt(ov+1)]}else {gy=tv[0]}var hy=ep.iy;hy.hv(gy.dg-fy.dg,gy.eg-fy.eg);hy.jy();var ky=ep.ly;ky.dg=hy.eg;
ky.eg=(-hy.dg);var my=ep.ny;my.hv(0.5*(fy.dg+gy.dg),0.5*(fy.eg+gy.eg));var oy=ep.py;zv=nv.aw;oy.dg=(zv.cw.dg*hy.dg+zv.dw.dg*hy.eg);oy.eg=(zv.cw.eg*hy.dg+zv.dw.eg*hy.eg);var qy=ep.ry;qy.dg=(-oy.dg);qy.eg=(-oy.eg);var xt=ep.sy;xt.dg=oy.eg;xt.eg=(-oy.dg);var ty=ep.uy;var vy=ep.wy;ty.dg=nv.position.dg+(zv.cw.dg*fy.dg+zv.dw.dg*fy.eg);ty.eg=nv.position.eg+(zv.cw.eg*fy.dg+zv.dw.eg*fy.eg);vy.dg=nv.position.dg+(zv.cw.dg*gy.dg+zv.dw.dg*gy.eg);vy.eg=nv.position.eg+(zv.cw.eg*gy.dg+zv.dw.eg*gy.eg);var xy=xt.dg*ty.dg+xt.eg*ty.eg;
var yy=(-oy.dg*ty.dg)-oy.eg*ty.eg+rx;var zy=oy.dg*vy.dg+oy.eg*vy.eg+rx;var az=ep.bz;var cz=ep.dz;var ez=0;ez=ep.yu(az,incidentEdge,qy,yy);if(ez<2)return;ez=ep.yu(cz,az,oy,zy);if(ez<2)return;lx.fz.gz(ky);lx.hz.gz(my);var iz=0;for(var bg=0;bg<mq.jz;++bg){bv=cz[bg];var nw=xt.dg*bv.qo.dg+xt.eg*bv.qo.eg-xy;if(nw<=rx){var kz=lx.lz[iz];zv=qv.aw;var ex=bv.qo.dg-qv.position.dg;var mz=bv.qo.eg-qv.position.eg;kz.hz.dg=(ex*zv.cw.dg+mz*zv.cw.eg);kz.hz.eg=(ex*zv.dw.dg+mz*zv.dw.eg);kz.nz.hv(bv.id);kz.nz.ix.flip=flip;++iz}
}lx.qx=iz};ep.oz=function(lx,pz,nv,qz,qv){lx.qx=0;var zv;var jv;zv=nv.aw;jv=pz.rz;var sz=nv.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var tz=nv.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);zv=qv.aw;jv=qz.rz;var uz=qv.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var vz=qv.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);var et=uz-sz;var ft=vz-tz;var wz=et*et+ft*ft;var xz=pz.sx+qz.sx;if(wz>xz*xz){return }lx.by=pp.yz;lx.hz.gz(pz.rz);lx.fz.zz();lx.qx=1;lx.lz[0].hz.gz(qz.rz);lx.lz[0].nz.key=0};ep.aab=function(lx,bab,
nv,cab,qv){lx.qx=0;var dab;var et=0;var ft=0;var eab=0;var fab=0;var jv;var zv;zv=qv.aw;jv=cab.rz;var gab=qv.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var hab=qv.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);et=gab-nv.position.dg;ft=hab-nv.position.eg;zv=nv.aw;var iab=(et*zv.cw.dg+ft*zv.cw.eg);var jab=(et*zv.dw.dg+ft*zv.dw.eg);var kab=0;var lab=0;var nw=(-Number.MAX_VALUE);var xz=bab.sx+cab.sx;var mab=parseInt(bab.sv);var nab=bab.uv;var oab=bab.wv;for(var bg=0;bg<mab;++bg){jv=nab[bg];et=iab-jv.dg;ft=jab-jv.eg;jv=oab[bg];
var cu=jv.dg*et+jv.eg*ft;if(cu>xz){return }if(cu>nw){nw=cu;lab=bg}}var pab=parseInt(lab);var qab=parseInt(pab+1<mab?pab+1:0);var rab=nab[pab];var sab=nab[qab];if(nw<Number.MIN_VALUE){lx.qx=1;lx.by=pp.dy;lx.fz.gz(oab[lab]);lx.hz.dg=0.5*(rab.dg+sab.dg);lx.hz.eg=0.5*(rab.eg+sab.eg);lx.lz[0].hz.gz(cab.rz);lx.lz[0].nz.key=0;return }var tab=(iab-rab.dg)*(sab.dg-rab.dg)+(jab-rab.eg)*(sab.eg-rab.eg);var uab=(iab-sab.dg)*(rab.dg-sab.dg)+(jab-sab.eg)*(rab.eg-sab.eg);if(tab<=0.0){if((iab-rab.dg)*(iab-rab.dg)+(jab-rab.eg)*(jab-rab.eg)>xz*xz)return;
lx.qx=1;lx.by=pp.dy;lx.fz.dg=iab-rab.dg;lx.fz.eg=jab-rab.eg;lx.fz.jy();lx.hz.gz(rab);lx.lz[0].hz.gz(cab.rz);lx.lz[0].nz.key=0}else if(uab<=0){if((iab-sab.dg)*(iab-sab.dg)+(jab-sab.eg)*(jab-sab.eg)>xz*xz)return;lx.qx=1;lx.by=pp.dy;lx.fz.dg=iab-sab.dg;lx.fz.eg=jab-sab.eg;lx.fz.jy();lx.hz.gz(sab);lx.lz[0].hz.gz(cab.rz);lx.lz[0].nz.key=0}else {var vab=0.5*(rab.dg+sab.dg);var wab=0.5*(rab.eg+sab.eg);nw=(iab-vab)*oab[pab].dg+(jab-wab)*oab[pab].eg;if(nw>xz)return;lx.qx=1;lx.by=pp.dy;lx.fz.dg=oab[pab].dg;lx.fz.eg=oab[pab].eg;
lx.fz.jy();lx.hz.hv(vab,wab);lx.lz[0].hz.gz(cab.rz);lx.lz[0].nz.key=0}};ep.eu=function(xab,qu){var zt=qu.bt;var au=xab.ct;var gu=zt.dg-au.dg;var hu=zt.eg-au.eg;zt=xab.bt;au=qu.ct;var iu=zt.dg-au.dg;var ju=zt.eg-au.eg;if(gu>0.0||hu>0.0)return !1;if(iu>0.0||ju>0.0)return !1;return !0};xn.at.push(function(){xn.to.ep.ey=ep.jx();xn.to.ep.bz=ep.jx();xn.to.ep.dz=ep.jx();xn.to.ep.ux=new so(1);xn.to.ep.xx=new so(1);xn.to.ep.iy=new sq();xn.to.ep.ly=new sq();xn.to.ep.ny=new sq();xn.to.ep.sy=new sq();xn.to.ep.py=new sq();xn.to.ep.ry=new sq();
xn.to.ep.uy=new sq();xn.to.ep.wy=new sq();xn.to.ep.yab=new sq();xn.to.ep.zab=0x000000ff});fp.fp=function(){this.ix=new dq()};fp.prototype.fp=function(){this.ix.abb=this};fp.prototype.hv=function(id){this.key=id.bbb};fp.prototype.cbb=function(){var id=new fp();id.key=this.key;return id};Object.defineProperty(fp.prototype,'key',{enumerable:!1,configurable:!0,get:function(){return this.bbb}});Object.defineProperty(fp.prototype,'key',{enumerable:!1,configurable:!0,set:function(value){if(value===undefined)value=0;
this.bbb=value;this.ix.dbb=this.bbb&0x000000ff;this.ix.ebb=((this.bbb&0x0000ff00)>>8)&0x000000ff;this.ix.fbb=((this.bbb&0x00ff0000)>>16)&0x000000ff;this.ix.gbb=((this.bbb&0xff000000)>>24)&0x000000ff}});gp.gp=function(){this.position=new sq();this.hbb=new sq();this.xt=new sq();this.id=new fp()};hp.hp=function(){};hp.ibb=function(nt,jbb,ot){++hp.kbb;var lbb=ot.lbb;var mbb=ot.mbb;var nbb=ot.nbb;var obb=ot.obb;var pbb=hp.qbb;pbb.rbb(jbb,lbb,nbb,mbb,obb);var nab=pbb.uv;var sbb=20;var tbb=hp.ubb;var vbb=hp.wbb;var xbb=0;
var ybb=pbb.zbb();var acb=ybb.bcb();var ccb=acb;var bg=0;var ao;var dcb=0;while(dcb<sbb){xbb=pbb.ecb;for(bg=0;bg<xbb;bg++){tbb[bg]=nab[bg].fcb;vbb[bg]=nab[bg].gcb}switch(pbb.ecb){case 1:break;case 2:pbb.hcb();break;case 3:pbb.icb();break;default :mq.jcb(!1)}if(pbb.ecb==3){break}ao=pbb.zbb();ccb=ao.bcb();if(ccb>acb){}acb=ccb;var kcb=pbb.lcb();if(kcb.bcb()<Number.MIN_VALUE*Number.MIN_VALUE){break}var mcb=nab[pbb.ecb];mcb.fcb=lbb.ncb(pq.ocb(nbb.aw,kcb.pcb()));mcb.qcb=pq.rcb(nbb,lbb.scb(mcb.fcb));mcb.gcb=mbb.ncb(pq.ocb(obb.aw,
kcb));mcb.tcb=pq.rcb(obb,mbb.scb(mcb.gcb));mcb.fg=pq.ucb(mcb.tcb,mcb.qcb);++dcb;++hp.vcb;var wcb=!1;for(bg=0;bg<xbb;bg++){if(mcb.fcb==tbb[bg]&&mcb.gcb==vbb[bg]){wcb=!0;break}}if(wcb){break}++pbb.ecb}hp.xcb=pq.ycb(hp.xcb,dcb);pbb.zcb(nt.adb,nt.bdb);nt.cdb=pq.ucb(nt.adb,nt.bdb).ddb();nt.edb=dcb;pbb.fdb(jbb);if(ot.gdb){var hdb=lbb.sx;var idb=mbb.sx;if(nt.cdb>hdb+idb&&nt.cdb>Number.MIN_VALUE){nt.cdb-=hdb+idb;var xt=pq.ucb(nt.bdb,nt.adb);xt.jy();nt.adb.dg+=hdb*xt.dg;nt.adb.eg+=hdb*xt.eg;nt.bdb.dg-=idb*xt.dg;
nt.bdb.eg-=idb*xt.eg}else {ao=new sq();ao.dg=.5*(nt.adb.dg+nt.bdb.dg);ao.eg=.5*(nt.adb.eg+nt.bdb.eg);nt.adb.dg=nt.bdb.dg=ao.dg;nt.adb.eg=nt.bdb.eg=ao.eg;nt.cdb=0.0}}};xn.at.push(function(){xn.to.hp.qbb=new wp();xn.to.hp.ubb=new so(3);xn.to.hp.wbb=new so(3)});ip.ip=function(){};jp.jp=function(){this.adb=new sq();this.bdb=new sq()};kp.kp=function(){};kp.prototype.hv=function(jdb){switch(jdb.kdb()){case jq.ldb:{var cab=(jdb instanceof eq?jdb:null);this.uv=new ro(1,!0);this.uv[0]=cab.rz;this.ecb=1;this.sx=cab.sx}
break;case jq.mdb:{var bab=(jdb instanceof iq?jdb:null);this.uv=bab.uv;this.ecb=bab.sv;this.sx=bab.sx}break;default :mq.jcb(!1)}};kp.prototype.ncb=function(kcb){var ndb=0;var odb=this.uv[0].dg*kcb.dg+this.uv[0].eg*kcb.eg;for(var bg=1;bg<this.ecb;++bg){var value=this.uv[bg].dg*kcb.dg+this.uv[bg].eg*kcb.eg;if(value>odb){ndb=bg;odb=value}}return ndb};kp.prototype.pdb=function(kcb){var ndb=0;var odb=this.uv[0].dg*kcb.dg+this.uv[0].eg*kcb.eg;for(var bg=1;bg<this.ecb;++bg){var value=this.uv[bg].dg*kcb.dg+this.uv[bg].eg*kcb.eg;
if(value>odb){ndb=bg;odb=value}}return this.uv[ndb]};kp.prototype.qdb=function(){return this.ecb};kp.prototype.scb=function(ai){if(ai===undefined)ai=0;mq.jcb(0<=ai&&ai<this.ecb);return this.uv[ai]};lp.lp=function(){};lp.prototype.lp=function(){this.rdb=null;this.sdb=null;this.tdb=0;this.udb=0};lp.prototype.vdb=function(kt,wdb){var xdb=this.ydb();var zdb=mq.aeb;var beb=mq.aeb;xdb.kt.bt.dg=kt.bt.dg-zdb;xdb.kt.bt.eg=kt.bt.eg-beb;xdb.kt.ct.dg=kt.ct.dg+zdb;xdb.kt.ct.eg=kt.ct.eg+beb;xdb.wdb=wdb;this.ceb(xdb);
return xdb};lp.prototype.deb=function(tu){this.eeb(tu);this.feb(tu)};lp.prototype.geb=function(tu,kt,heb){mq.jcb(tu.ieb());if(tu.kt.jt(kt)){return !1}this.eeb(tu);var zdb=mq.aeb+mq.jeb*(heb.dg>0?heb.dg:(-heb.dg));var beb=mq.aeb+mq.jeb*(heb.eg>0?heb.eg:(-heb.eg));tu.kt.bt.dg=kt.bt.dg-zdb;tu.kt.bt.eg=kt.bt.eg-beb;tu.kt.ct.dg=kt.ct.dg+zdb;tu.kt.ct.eg=kt.ct.eg+beb;this.ceb(tu);return !0};lp.prototype.keb=function(edb){if(edb===undefined)edb=0;if(this.rdb==null)return;for(var bg=0;bg<edb;bg++){var xdb=this.rdb;
var leb=0;while(xdb.ieb()==!1){xdb=(this.tdb>>leb)&1?xdb.meb:xdb.neb;leb=(leb+1)&31}++this.tdb;this.eeb(xdb);this.ceb(xdb)}};lp.prototype.oeb=function(tu){return tu.kt};lp.prototype.peb=function(tu){return tu.wdb};lp.prototype.qeb=function(reb,kt){if(this.rdb==null)return;var seb=new ro();var teb=0;seb[teb++]=this.rdb;while(teb>0){var xdb=seb[--teb];if(xdb.kt.eu(kt)){if(xdb.ieb()){var ueb=reb(xdb);if(!ueb)return }else {seb[teb++]=xdb.neb;seb[teb++]=xdb.meb}}}};lp.prototype.mt=function(reb,ot){if(this.rdb==null)return;
var st=ot.st;var ut=ot.ut;var r=pq.ucb(st,ut);r.jy();var qo=pq.veb(1.0,r);var web=pq.xeb(qo);var yeb=ot.yeb;var zeb=new bp();var ex=0;var mz=0;{ex=st.dg+yeb*(ut.dg-st.dg);mz=st.eg+yeb*(ut.eg-st.eg);zeb.bt.dg=Math.min(st.dg,ex);zeb.bt.eg=Math.min(st.eg,mz);zeb.ct.dg=Math.max(st.dg,ex);zeb.ct.eg=Math.max(st.eg,mz)}var seb=new ro();var teb=0;seb[teb++]=this.rdb;while(teb>0){var xdb=seb[--teb];if(xdb.kt.eu(zeb)==!1){continue}var cg=xdb.kt.ht();var gg=xdb.kt.it();var nw=Math.abs(qo.dg*(st.dg-cg.dg)+qo.eg*(st.eg-cg.eg))-web.dg*gg.dg-web.eg*gg.eg;
if(nw>0.0)continue;if(xdb.ieb()){var afb=new sp();afb.st=ot.st;afb.ut=ot.ut;afb.yeb=ot.yeb;yeb=reb(afb,xdb);if(yeb==0.0)return;if(yeb>0.0){ex=st.dg+yeb*(ut.dg-st.dg);mz=st.eg+yeb*(ut.eg-st.eg);zeb.bt.dg=Math.min(st.dg,ex);zeb.bt.eg=Math.min(st.eg,mz);zeb.ct.dg=Math.max(st.dg,ex);zeb.ct.eg=Math.max(st.eg,mz)}}else {seb[teb++]=xdb.neb;seb[teb++]=xdb.meb}}};lp.prototype.ydb=function(){if(this.sdb){var xdb=this.sdb;this.sdb=xdb.parent;xdb.parent=null;xdb.neb=null;xdb.meb=null;return xdb}return new np()};lp.prototype.feb=function(xdb){
xdb.parent=this.sdb;this.sdb=xdb};lp.prototype.ceb=function(bfb){++this.udb;if(this.rdb==null){this.rdb=bfb;this.rdb.parent=null;return }var cfb=bfb.kt.ht();var dfb=this.rdb;if(dfb.ieb()==!1){do {var neb=dfb.neb;var meb=dfb.meb;var efb=Math.abs((neb.kt.bt.dg+neb.kt.ct.dg)/2-cfb.dg)+Math.abs((neb.kt.bt.eg+neb.kt.ct.eg)/2-cfb.eg);var ffb=Math.abs((meb.kt.bt.dg+meb.kt.ct.dg)/2-cfb.dg)+Math.abs((meb.kt.bt.eg+meb.kt.ct.eg)/2-cfb.eg);if(efb<ffb){dfb=neb}else {dfb=meb}}while(dfb.ieb()==!1)}var gfb=dfb.parent;var hfb=this.ydb();
hfb.parent=gfb;hfb.wdb=null;hfb.kt.ku(bfb.kt,dfb.kt);if(gfb){if(dfb.parent.neb==dfb){gfb.neb=hfb}else {gfb.meb=hfb}hfb.neb=dfb;hfb.meb=bfb;dfb.parent=hfb;bfb.parent=hfb;do {if(gfb.kt.jt(hfb.kt))break;gfb.kt.ku(gfb.neb.kt,gfb.meb.kt);hfb=gfb;gfb=gfb.parent}while(gfb)}else {hfb.neb=dfb;hfb.meb=bfb;dfb.parent=hfb;bfb.parent=hfb;this.rdb=hfb}};lp.prototype.eeb=function(bfb){if(bfb==this.rdb){this.rdb=null;return }var hfb=bfb.parent;var gfb=hfb.parent;var dfb;if(hfb.neb==bfb){dfb=hfb.meb}else {dfb=hfb.neb}if(gfb){
if(gfb.neb==hfb){gfb.neb=dfb}else {gfb.meb=dfb}dfb.parent=gfb;this.feb(hfb);while(gfb){var ifb=gfb.kt;gfb.kt=bp.ku(gfb.neb.kt,gfb.meb.kt);if(ifb.jt(gfb.kt))break;gfb=gfb.parent}}else {this.rdb=dfb;dfb.parent=null;this.feb(hfb)}};mp.mp=function(){this.jfb=new lp();this.kfb=new ro();this.lfb=new ro();this.mfb=0};mp.prototype.vdb=function(kt,wdb){var tu=this.jfb.vdb(kt,wdb);++this.nfb;this.ofb(tu);return tu};mp.prototype.deb=function(tu){this.pfb(tu);--this.nfb;this.jfb.deb(tu)};mp.prototype.geb=function(tu,
kt,heb){var buffer=this.jfb.geb(tu,kt,heb);if(buffer){this.ofb(tu)}};mp.prototype.eu=function(lbb,mbb){var qfb=this.jfb.oeb(lbb);var rfb=this.jfb.oeb(mbb);return qfb.eu(rfb)};mp.prototype.peb=function(tu){return this.jfb.peb(tu)};mp.prototype.oeb=function(tu){return this.jfb.oeb(tu)};mp.prototype.sfb=function(){return this.nfb};mp.prototype.tfb=function(reb){var ufb=this;ufb.mfb=0;var bg=0,vfb;for(bg=0;bg<ufb.kfb.length;++bg){vfb=ufb.kfb[bg];function wfb(tu){if(tu==vfb)return !0;if(ufb.mfb==ufb.lfb.length){
ufb.lfb[ufb.mfb]=new op()}var xfb=ufb.lfb[ufb.mfb];xfb.lbb=tu<vfb?tu:vfb;xfb.mbb=tu>=vfb?tu:vfb;++ufb.mfb;return !0};var yfb=ufb.jfb.oeb(vfb);ufb.jfb.qeb(wfb,yfb);}ufb.kfb.length=0;for(var bg=0;bg<ufb.mfb;){var zfb=ufb.lfb[bg];var agb=ufb.jfb.peb(zfb.lbb);var bgb=ufb.jfb.peb(zfb.mbb);reb(agb,bgb);++bg;while(bg<ufb.mfb){var xfb=ufb.lfb[bg];if(xfb.lbb!=zfb.lbb||xfb.mbb!=zfb.mbb){break}++bg}}};mp.prototype.qeb=function(reb,kt){this.jfb.qeb(reb,kt)};mp.prototype.mt=function(reb,ot){this.jfb.mt(reb,ot)};mp.prototype.cgb=function(){
};mp.prototype.keb=function(edb){if(edb===undefined)edb=0;this.jfb.keb(edb)};mp.prototype.ofb=function(tu){this.kfb[this.kfb.length]=tu};mp.prototype.pfb=function(tu){var bg=parseInt(this.kfb.indexOf(tu));this.kfb.splice(bg,1)};mp.prototype.dgb=function(egb,fgb){return 0};mp.__implements={};mp.__implements[ap]=!0;np.np=function(){this.kt=new bp()};np.prototype.ieb=function(){return this.neb==null};op.op=function(){};pp.pp=function(){this.qx=0};pp.prototype.pp=function(){this.lz=new ro(mq.jz);for(var bg=0;
bg<mq.jz;bg++){this.lz[bg]=new qp()}this.fz=new sq();this.hz=new sq()};pp.prototype.ggb=function(){for(var bg=0;bg<mq.jz;bg++){((this.lz[bg] instanceof qp?this.lz[bg]:null)).ggb()}this.fz.zz();this.hz.zz();this.by=0;this.qx=0};pp.prototype.hv=function(hgb){this.qx=hgb.qx;for(var bg=0;bg<mq.jz;bg++){((this.lz[bg] instanceof qp?this.lz[bg]:null)).hv(hgb.lz[bg])}this.fz.gz(hgb.fz);this.hz.gz(hgb.hz);this.by=hgb.by};pp.prototype.cbb=function(){var igb=new pp();igb.hv(this);return igb};xn.at.push(function(){xn.to.pp.yz=0x0001;
xn.to.pp.dy=0x0002;xn.to.pp.cy=0x0004});qp.qp=function(){this.hz=new sq();this.nz=new fp()};qp.prototype.qp=function(){this.ggb()};qp.prototype.ggb=function(){this.hz.zz();this.jgb=0.0;this.kgb=0.0;this.nz.key=0;};qp.prototype.hv=function(hgb){this.hz.gz(hgb.hz);this.jgb=hgb.jgb;this.kgb=hgb.kgb;this.nz.hv(hgb.nz)};rp.rp=function(){this.ao=new sq()};rp.prototype.lgb=function(mgb,ngb,ogb){if(ngb===undefined)ngb=0;if(ogb===undefined)ogb=0;return this.ao};rp.prototype.pgb=function(mgb){return this.ao};sp.sp=function(){
this.st=new sq();this.ut=new sq()};sp.prototype.sp=function(st,ut,yeb){if(st===undefined)st=null;if(ut===undefined)ut=null;if(yeb===undefined)yeb=1;if(st)this.st.gz(st);if(ut)this.ut.gz(ut);this.yeb=yeb};tp.tp=function(){this.xt=new sq()};up.up=function(){this.st=new sq();this.ut=new sq()};up.prototype.qgb=function(rgb,xt,sgb,tgb){if(tgb===undefined)tgb=0;var cu=sgb.st;var ugb=sgb.ut.dg-cu.dg;var vgb=sgb.ut.eg-cu.eg;var et=this.ut.dg-this.st.dg;var ft=this.ut.eg-this.st.eg;var wgb=ft;var xgb=(-et);var ygb=100.0*Number.MIN_VALUE;
var zgb=(-(ugb*wgb+vgb*xgb));if(zgb>ygb){var ahb=cu.dg-this.st.dg;var bhb=cu.eg-this.st.eg;var xab=(ahb*wgb+bhb*xgb);if(0.0<=xab&&xab<=tgb*zgb){var chb=(-ugb*bhb)+vgb*ahb;if((-ygb*zgb)<=chb&&chb<=zgb*(1.0+ygb)){xab/=zgb;var dhb=Math.sqrt(wgb*wgb+xgb*xgb);wgb/=dhb;xgb/=dhb;rgb[0]=xab;xt.hv(wgb,xgb);return !0}}}return !1};up.prototype.ehb=function(kt){this.fhb(kt);this.ghb(kt)};up.prototype.fhb=function(kt){var et=this.ut.dg-this.st.dg;var ft=this.ut.eg-this.st.eg;var rgb=Math.min(et>0?(kt.ct.dg-this.st.dg)/et:et<0?(kt.bt.dg-this.st.dg)/et:Number.POSITIVE_INFINITY,
ft>0?(kt.ct.eg-this.st.eg)/ft:ft<0?(kt.bt.eg-this.st.eg)/ft:Number.POSITIVE_INFINITY);this.ut.dg=this.st.dg+et*rgb;this.ut.eg=this.st.eg+ft*rgb};up.prototype.ghb=function(kt){var et=(-this.ut.dg)+this.st.dg;var ft=(-this.ut.eg)+this.st.eg;var rgb=Math.min(et>0?(kt.ct.dg-this.ut.dg)/et:et<0?(kt.bt.dg-this.ut.dg)/et:Number.POSITIVE_INFINITY,ft>0?(kt.ct.eg-this.ut.eg)/ft:ft<0?(kt.bt.eg-this.ut.eg)/ft:Number.POSITIVE_INFINITY);this.st.dg=this.ut.dg+et*rgb;this.st.eg=this.ut.eg+ft*rgb};vp.vp=function(){
this.hz=new sq();this.hhb=new sq()};vp.prototype.ihb=function(jbb,lbb,nbb,mbb,obb){this.jhb=lbb;this.khb=mbb;var teb=parseInt(jbb.teb);mq.jcb(0<teb&&teb<3);var lhb;var mhb;var nhb;var ohb;var phb;var qhb;var rhb=0;var shb=0;var thb=0;var uhb=0;var vhb=0;var whb=0;var zv;var jv;var cu=0;var xhb=0;if(teb==1){this.by=vp.yhb;lhb=this.jhb.scb(jbb.fcb[0]);ohb=this.khb.scb(jbb.gcb[0]);jv=lhb;zv=nbb.aw;rhb=nbb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);shb=nbb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);jv=ohb;zv=obb.aw;
thb=obb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);uhb=obb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);this.hhb.dg=thb-rhb;this.hhb.eg=uhb-shb;this.hhb.jy()}else if(jbb.gcb[0]==jbb.gcb[1]){this.by=vp.dy;mhb=this.jhb.scb(jbb.fcb[0]);nhb=this.jhb.scb(jbb.fcb[1]);ohb=this.khb.scb(jbb.gcb[0]);this.hz.dg=0.5*(mhb.dg+nhb.dg);this.hz.eg=0.5*(mhb.eg+nhb.eg);this.hhb=pq.zhb(pq.ucb(nhb,mhb),1.0);this.hhb.jy();jv=this.hhb;zv=nbb.aw;vhb=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;whb=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;jv=this.hz;
zv=nbb.aw;rhb=nbb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);shb=nbb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);jv=ohb;zv=obb.aw;thb=obb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);uhb=obb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);cu=(thb-rhb)*vhb+(uhb-shb)*whb;if(cu<0.0){this.hhb.aib()}}else if(jbb.fcb[0]==jbb.fcb[0]){this.by=vp.cy;phb=this.khb.scb(jbb.gcb[0]);qhb=this.khb.scb(jbb.gcb[1]);lhb=this.jhb.scb(jbb.fcb[0]);this.hz.dg=0.5*(phb.dg+qhb.dg);this.hz.eg=0.5*(phb.eg+qhb.eg);this.hhb=pq.zhb(pq.ucb(qhb,
phb),1.0);this.hhb.jy();jv=this.hhb;zv=obb.aw;vhb=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;whb=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;jv=this.hz;zv=obb.aw;thb=obb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);uhb=obb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);jv=lhb;zv=nbb.aw;rhb=nbb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);shb=nbb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);cu=(rhb-thb)*vhb+(shb-uhb)*whb;if(cu<0.0){this.hhb.aib()}}else {mhb=this.jhb.scb(jbb.fcb[0]);nhb=this.jhb.scb(jbb.fcb[1]);phb=this.khb.scb(jbb.gcb[0]);
qhb=this.khb.scb(jbb.gcb[1]);var bib=pq.rcb(nbb,lhb);var cib=pq.dib(nbb.aw,pq.ucb(nhb,mhb));var eib=pq.rcb(obb,ohb);var fib=pq.dib(obb.aw,pq.ucb(qhb,phb));var xab=cib.dg*cib.dg+cib.eg*cib.eg;var e=fib.dg*fib.dg+fib.eg*fib.eg;var r=pq.ucb(fib,cib);var cg=cib.dg*r.dg+cib.eg*r.eg;var gib=fib.dg*r.dg+fib.eg*r.eg;var qu=cib.dg*fib.dg+cib.eg*fib.eg;var zgb=xab*e-qu*qu;cu=0.0;if(zgb!=0.0){cu=pq.hib((qu*gib-cg*e)/zgb,0.0,1.0)}var iib=(qu*cu+gib)/e;if(iib<0.0){iib=0.0;cu=pq.hib((qu-cg)/xab,0.0,1.0)}lhb=new sq();lhb.dg=mhb.dg+cu*(nhb.dg-mhb.dg);
lhb.eg=mhb.eg+cu*(nhb.eg-mhb.eg);ohb=new sq();ohb.dg=phb.dg+cu*(qhb.dg-phb.dg);ohb.eg=phb.eg+cu*(qhb.eg-phb.eg);if(cu==0.0||cu==1.0){this.by=vp.cy;this.hhb=pq.zhb(pq.ucb(qhb,phb),1.0);this.hhb.jy();this.hz=ohb;jv=this.hhb;zv=obb.aw;vhb=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;whb=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;jv=this.hz;zv=obb.aw;thb=obb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);uhb=obb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);jv=lhb;zv=nbb.aw;rhb=nbb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);shb=nbb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);
xhb=(rhb-thb)*vhb+(shb-uhb)*whb;if(cu<0.0){this.hhb.aib()}}else {this.by=vp.dy;this.hhb=pq.zhb(pq.ucb(nhb,mhb),1.0);this.hz=lhb;jv=this.hhb;zv=nbb.aw;vhb=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;whb=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;jv=this.hz;zv=nbb.aw;rhb=nbb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);shb=nbb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);jv=ohb;zv=obb.aw;thb=obb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);uhb=obb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);xhb=(thb-rhb)*vhb+(uhb-shb)*whb;if(cu<0.0){
this.hhb.aib()}}}};vp.prototype.jib=function(nbb,obb){var kib;var lib;var lhb;var ohb;var adb;var bdb;var mib=0;var xt;switch(this.by){case vp.yhb:{kib=pq.ocb(nbb.aw,this.hhb);lib=pq.ocb(obb.aw,this.hhb.pcb());lhb=this.jhb.pdb(kib);ohb=this.khb.pdb(lib);adb=pq.rcb(nbb,lhb);bdb=pq.rcb(obb,ohb);mib=(bdb.dg-adb.dg)*this.hhb.dg+(bdb.eg-adb.eg)*this.hhb.eg;return mib}case vp.dy:{xt=pq.dib(nbb.aw,this.hhb);adb=pq.rcb(nbb,this.hz);lib=pq.ocb(obb.aw,xt.pcb());ohb=this.khb.pdb(lib);bdb=pq.rcb(obb,ohb);mib=(bdb.dg-adb.dg)*xt.dg+(bdb.eg-adb.eg)*xt.eg;
return mib}case vp.cy:{xt=pq.dib(obb.aw,this.hhb);bdb=pq.rcb(obb,this.hz);kib=pq.ocb(nbb.aw,xt.pcb());lhb=this.jhb.pdb(kib);adb=pq.rcb(nbb,lhb);mib=(adb.dg-bdb.dg)*xt.dg+(adb.eg-bdb.eg)*xt.eg;return mib}default :mq.jcb(!1);return 0.0}};xn.at.push(function(){xn.to.vp.yhb=0x01;xn.to.vp.dy=0x02;xn.to.vp.cy=0x04;});wp.wp=function(){this.nib=new yp();this.oib=new yp();this.pib=new yp();this.uv=new ro(3)};wp.prototype.wp=function(){this.uv[0]=this.nib;this.uv[1]=this.oib;this.uv[2]=this.pib};wp.prototype.rbb=function(jbb,
lbb,nbb,mbb,obb){mq.jcb(0<=jbb.teb&&jbb.teb<=3);var qib;var rib;this.ecb=jbb.teb;var nab=this.uv;for(var bg=0;bg<this.ecb;bg++){var qo=nab[bg];qo.fcb=jbb.fcb[bg];qo.gcb=jbb.gcb[bg];qib=lbb.scb(qo.fcb);rib=mbb.scb(qo.gcb);qo.qcb=pq.rcb(nbb,qib);qo.tcb=pq.rcb(obb,rib);qo.fg=pq.ucb(qo.tcb,qo.qcb);qo.xab=0}if(this.ecb>1){var sib=jbb.tib;var uib=this.vib();if(uib<.5*sib||2.0*sib<uib||uib<Number.MIN_VALUE){this.ecb=0}}if(this.ecb==0){qo=nab[0];qo.fcb=0;qo.gcb=0;qib=lbb.scb(0);rib=mbb.scb(0);qo.qcb=pq.rcb(nbb,
qib);qo.tcb=pq.rcb(obb,rib);qo.fg=pq.ucb(qo.tcb,qo.qcb);this.ecb=1}};wp.prototype.fdb=function(jbb){jbb.tib=this.vib();jbb.teb=xn.po(this.ecb);var nab=this.uv;for(var bg=0;bg<this.ecb;bg++){jbb.fcb[bg]=xn.po(nab[bg].fcb);jbb.gcb[bg]=xn.po(nab[bg].gcb)}};wp.prototype.lcb=function(){switch(this.ecb){case 1:return this.nib.fg.pcb();case 2:{var wib=pq.ucb(this.oib.fg,this.nib.fg);var xhb=pq.xib(wib,this.nib.fg.pcb());if(xhb>0.0){return pq.veb(1.0,wib)}else {return pq.zhb(wib,1.0)}}default :mq.jcb(!1);return new sq()}
};wp.prototype.zbb=function(){switch(this.ecb){case 0:mq.jcb(!1);return new sq();case 1:return this.nib.fg;case 2:return new sq(this.nib.xab*this.nib.fg.dg+this.oib.xab*this.oib.fg.dg,this.nib.xab*this.nib.fg.eg+this.oib.xab*this.oib.fg.eg);default :mq.jcb(!1);return new sq()}};wp.prototype.zcb=function(bib,eib){switch(this.ecb){case 0:mq.jcb(!1);break;case 1:bib.gz(this.nib.qcb);eib.gz(this.nib.tcb);break;case 2:bib.dg=this.nib.xab*this.nib.qcb.dg+this.oib.xab*this.oib.qcb.dg;bib.eg=this.nib.xab*this.nib.qcb.eg+this.oib.xab*this.oib.qcb.eg;
eib.dg=this.nib.xab*this.nib.tcb.dg+this.oib.xab*this.oib.tcb.dg;eib.eg=this.nib.xab*this.nib.tcb.eg+this.oib.xab*this.oib.tcb.eg;break;case 3:eib.dg=bib.dg=this.nib.xab*this.nib.qcb.dg+this.oib.xab*this.oib.qcb.dg+this.pib.xab*this.pib.qcb.dg;eib.eg=bib.eg=this.nib.xab*this.nib.qcb.eg+this.oib.xab*this.oib.qcb.eg+this.pib.xab*this.pib.qcb.eg;break;default :mq.jcb(!1);break}};wp.prototype.vib=function(){switch(this.ecb){case 0:mq.jcb(!1);return 0.0;case 1:return 0.0;case 2:return pq.ucb(this.nib.fg,this.oib.fg).ddb();
case 3:return pq.xib(pq.ucb(this.oib.fg,this.nib.fg),pq.ucb(this.pib.fg,this.nib.fg));default :mq.jcb(!1);return 0.0}};wp.prototype.hcb=function(){var yib=this.nib.fg;var zib=this.oib.fg;var wib=pq.ucb(zib,yib);var ajb=(-(yib.dg*wib.dg+yib.eg*wib.eg));if(ajb<=0.0){this.nib.xab=1.0;this.ecb=1;return }var bjb=(zib.dg*wib.dg+zib.eg*wib.eg);if(bjb<=0.0){this.oib.xab=1.0;this.ecb=1;this.nib.hv(this.oib);return }var cjb=1.0/(bjb+ajb);this.nib.xab=bjb*cjb;this.oib.xab=ajb*cjb;this.ecb=2};wp.prototype.icb=function(){
var yib=this.nib.fg;var zib=this.oib.fg;var djb=this.pib.fg;var wib=pq.ucb(zib,yib);var ejb=pq.fjb(yib,wib);var gjb=pq.fjb(zib,wib);var bjb=gjb;var ajb=(-ejb);var hjb=pq.ucb(djb,yib);var ijb=pq.fjb(yib,hjb);var jjb=pq.fjb(djb,hjb);var kjb=jjb;var ljb=(-ijb);var mjb=pq.ucb(djb,zib);var njb=pq.fjb(zib,mjb);var ojb=pq.fjb(djb,mjb);var pjb=ojb;var qjb=(-njb);var rjb=pq.xib(wib,hjb);var sjb=rjb*pq.xib(zib,djb);var tjb=rjb*pq.xib(djb,yib);var ujb=rjb*pq.xib(yib,zib);if(ajb<=0.0&&ljb<=0.0){this.nib.xab=1.0;this.ecb=1;return }
if(bjb>0.0&&ajb>0.0&&ujb<=0.0){var cjb=1.0/(bjb+ajb);this.nib.xab=bjb*cjb;this.oib.xab=ajb*cjb;this.ecb=2;return }if(kjb>0.0&&ljb>0.0&&tjb<=0.0){var vjb=1.0/(kjb+ljb);this.nib.xab=kjb*vjb;this.pib.xab=ljb*vjb;this.ecb=2;this.oib.hv(this.pib);return }if(bjb<=0.0&&qjb<=0.0){this.oib.xab=1.0;this.ecb=1;this.nib.hv(this.oib);return }if(kjb<=0.0&&pjb<=0.0){this.pib.xab=1.0;this.ecb=1;this.nib.hv(this.pib);return }if(pjb>0.0&&qjb>0.0&&sjb<=0.0){var wjb=1.0/(pjb+qjb);this.oib.xab=pjb*wjb;this.pib.xab=qjb*wjb;
this.ecb=2;this.nib.hv(this.pib);return }var xjb=1.0/(sjb+tjb+ujb);this.nib.xab=sjb*xjb;this.oib.xab=tjb*xjb;this.pib.xab=ujb*xjb;this.ecb=3};xp.xp=function(){this.fcb=new so(3);this.gcb=new so(3)};yp.yp=function(){};yp.prototype.hv=function(fu){this.qcb.gz(fu.qcb);this.tcb.gz(fu.tcb);this.fg.gz(fu.fg);this.xab=fu.xab;this.fcb=fu.fcb;this.gcb=fu.gcb};zp.zp=function(){};zp.yjb=function(ot){++zp.zjb;var lbb=ot.lbb;var mbb=ot.mbb;var akb=ot.akb;var bkb=ot.bkb;mq.jcb(akb.ckb==bkb.ckb);mq.jcb(1.0-akb.ckb>Number.MIN_VALUE);
var xz=lbb.sx+mbb.sx;var dkb=ot.dkb;var ekb=0.0;var fkb=1000;var dcb=0;var target=0.0;zp.gkb.teb=0;zp.hkb.gdb=!1;for(;;){akb.ikb(zp.jkb,ekb);bkb.ikb(zp.kkb,ekb);zp.hkb.lbb=lbb;zp.hkb.mbb=mbb;zp.hkb.nbb=zp.jkb;zp.hkb.obb=zp.kkb;hp.ibb(zp.lkb,zp.gkb,zp.hkb);if(zp.lkb.cdb<=0.0){ekb=1.0;break}zp.mkb.ihb(zp.gkb,lbb,zp.jkb,mbb,zp.kkb);var nw=zp.mkb.jib(zp.jkb,zp.kkb);if(nw<=0.0){ekb=1.0;break}if(dcb==0){if(nw>xz){target=pq.ycb(xz-dkb,0.75*xz)}else {target=pq.ycb(nw-dkb,0.02*xz)}}if(nw-target<0.5*dkb){if(dcb==0){
ekb=1.0;break}break}var nkb=ekb;{var okb=ekb;var pkb=1.0;var qkb=nw;akb.ikb(zp.jkb,pkb);bkb.ikb(zp.kkb,pkb);var rkb=zp.mkb.jib(zp.jkb,zp.kkb);if(rkb>=target){ekb=1.0;break}var skb=0;for(;;){var dg=0;if(skb&1){dg=okb+(target-qkb)*(pkb-okb)/(rkb-qkb)}else {dg=0.5*(okb+pkb)}akb.ikb(zp.jkb,dg);bkb.ikb(zp.kkb,dg);var gib=zp.mkb.jib(zp.jkb,zp.kkb);if(pq.tkb(gib-target)<0.025*dkb){nkb=dg;break}if(gib>target){okb=dg;qkb=gib}else {pkb=dg;rkb=gib}++skb;++zp.ukb;if(skb==50){break}}zp.vkb=pq.ycb(zp.vkb,skb)}if(nkb<(1.0+100.0*Number.MIN_VALUE)*ekb){
break}ekb=nkb;dcb++;++zp.wkb;if(dcb==fkb){break}}zp.xkb=pq.ycb(zp.xkb,dcb);return ekb;};xn.at.push(function(){xn.to.zp.zjb=0;xn.to.zp.wkb=0;xn.to.zp.xkb=0;xn.to.zp.ukb=0;xn.to.zp.vkb=0;xn.to.zp.gkb=new xp();xn.to.zp.hkb=new ip();xn.to.zp.jkb=new rq();xn.to.zp.kkb=new rq();xn.to.zp.mkb=new vp();xn.to.zp.lkb=new jp()});aq.aq=function(){this.lbb=new kp();this.mbb=new kp();this.akb=new qq();this.bkb=new qq()};bq.bq=function(){this.ykb=new sq()};bq.prototype.bq=function(){this.lz=new ro(mq.jz);for(var bg=0;bg<mq.jz;
bg++){this.lz[bg]=new sq()}};bq.prototype.ihb=function(lx,nx,zkb,px,alb){if(zkb===undefined)zkb=0;if(alb===undefined)alb=0;if(lx.qx==0){return }var bg=0;var jv;var zv;var vhb=0;var whb=0;var blb=0;var clb=0;var dlb=0;var elb=0;switch(lx.by){case pp.yz:{zv=nx.aw;jv=lx.hz;var rhb=nx.position.dg+zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;var shb=nx.position.eg+zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;zv=px.aw;jv=lx.lz[0].hz;var thb=px.position.dg+zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;var uhb=px.position.eg+zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;var et=thb-rhb;
var ft=uhb-shb;var flb=et*et+ft*ft;if(flb>Number.MIN_VALUE*Number.MIN_VALUE){var kcb=Math.sqrt(flb);this.ykb.dg=et/kcb;this.ykb.eg=ft/kcb;}else {this.ykb.dg=1;this.ykb.eg=0}var glb=rhb+zkb*this.ykb.dg;var hlb=shb+zkb*this.ykb.eg;var ilb=thb-alb*this.ykb.dg;var jlb=uhb-alb*this.ykb.eg;this.lz[0].dg=0.5*(glb+ilb);this.lz[0].eg=0.5*(hlb+jlb)}break;case pp.dy:{zv=nx.aw;jv=lx.fz;vhb=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;whb=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;zv=nx.aw;jv=lx.hz;blb=nx.position.dg+zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;
clb=nx.position.eg+zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;this.ykb.dg=vhb;this.ykb.eg=whb;for(bg=0;bg<lx.qx;bg++){zv=px.aw;jv=lx.lz[bg].hz;dlb=px.position.dg+zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;elb=px.position.eg+zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;this.lz[bg].dg=dlb+0.5*(zkb-(dlb-blb)*vhb-(elb-clb)*whb-alb)*vhb;this.lz[bg].eg=elb+0.5*(zkb-(dlb-blb)*vhb-(elb-clb)*whb-alb)*whb}}break;case pp.cy:{zv=px.aw;jv=lx.fz;vhb=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;whb=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;zv=px.aw;jv=lx.hz;blb=px.position.dg+zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;
clb=px.position.eg+zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;this.ykb.dg=(-vhb);this.ykb.eg=(-whb);for(bg=0;bg<lx.qx;bg++){zv=nx.aw;jv=lx.lz[bg].hz;dlb=nx.position.dg+zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;elb=nx.position.eg+zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;this.lz[bg].dg=dlb+0.5*(alb-(dlb-blb)*vhb-(elb-clb)*whb-zkb)*vhb;this.lz[bg].eg=elb+0.5*(alb-(dlb-blb)*vhb-(elb-clb)*whb-zkb)*whb}}break}};cq.cq=function(){this.qo=new sq();this.id=new fp()};cq.prototype.hv=function(fu){this.qo.gz(fu.qo);this.id.hv(fu.id)};dq.dq=function(){
};Object.defineProperty(dq.prototype,'referenceEdge',{enumerable:!1,configurable:!0,get:function(){return this.dbb}});Object.defineProperty(dq.prototype,'referenceEdge',{enumerable:!1,configurable:!0,set:function(value){if(value===undefined)value=0;this.dbb=value;this.abb.bbb=(this.abb.bbb&0xffffff00)|(this.dbb&0x000000ff)}});Object.defineProperty(dq.prototype,'incidentEdge',{enumerable:!1,configurable:!0,get:function(){return this.ebb}});Object.defineProperty(dq.prototype,'incidentEdge',{enumerable:!1,
configurable:!0,set:function(value){if(value===undefined)value=0;this.ebb=value;this.abb.bbb=(this.abb.bbb&0xffff00ff)|((this.ebb<<8)&0x0000ff00)}});Object.defineProperty(dq.prototype,'incidentVertex',{enumerable:!1,configurable:!0,get:function(){return this.fbb}});Object.defineProperty(dq.prototype,'incidentVertex',{enumerable:!1,configurable:!0,set:function(value){if(value===undefined)value=0;this.fbb=value;this.abb.bbb=(this.abb.bbb&0xff00ffff)|((this.fbb<<16)&0x00ff0000)}});Object.defineProperty(dq.prototype,
'flip',{enumerable:!1,configurable:!0,get:function(){return this.gbb}});Object.defineProperty(dq.prototype,'flip',{enumerable:!1,configurable:!0,set:function(value){if(value===undefined)value=0;this.gbb=value;this.abb.bbb=(this.abb.bbb&0x00ffffff)|((this.gbb<<24)&0xff000000)}})})();(function(){var lq=xn.vo.lq,kq=xn.vo.kq,mq=xn.vo.mq,eq=xn.to.uo.eq,fq=xn.to.uo.fq,gq=xn.to.uo.gq,hq=xn.to.uo.hq,iq=xn.to.uo.iq,jq=xn.to.uo.jq,nq=xn.vo.Math.nq,oq=xn.vo.Math.oq,pq=xn.vo.Math.pq,qq=xn.vo.Math.qq,rq=xn.vo.Math.rq,
sq=xn.vo.Math.sq,tq=xn.vo.Math.tq,uq=xn.wo.uq,vq=xn.wo.vq,wq=xn.wo.wq,xq=xn.wo.xq,yq=xn.wo.yq,zq=xn.wo.zq,ar=xn.wo.ar,br=xn.wo.br,cr=xn.wo.cr,dr=xn.wo.dr,er=xn.wo.er,fr=xn.wo.fr,gr=xn.wo.gr,hr=xn.wo.hr,bp=xn.to.bp,cp=xn.to.cp,dp=xn.to.dp,ep=xn.to.ep,fp=xn.to.fp,gp=xn.to.gp,hp=xn.to.hp,ip=xn.to.ip,jp=xn.to.jp,kp=xn.to.kp,lp=xn.to.lp,mp=xn.to.mp,np=xn.to.np,op=xn.to.op,pp=xn.to.pp,qp=xn.to.qp,rp=xn.to.rp,sp=xn.to.sp,tp=xn.to.tp,up=xn.to.up,vp=xn.to.vp,wp=xn.to.wp,xp=xn.to.xp,yp=xn.to.yp,zp=xn.to.zp,
aq=xn.to.aq,bq=xn.to.bq,cq=xn.to.cq,dq=xn.to.dq,ap=xn.to.ap;xn.eo(eq,xn.to.uo.jq);eq.prototype.__super=xn.to.uo.jq.prototype;eq.eq=function(){xn.to.uo.jq.jq.apply(this,arguments);this.rz=new sq();};eq.prototype.cbb=function(){var cu=new eq();cu.hv(this);return cu};eq.prototype.hv=function(fu){this.__super.hv.call(this,fu);if(xn.mo(fu,eq)){var klb=(fu instanceof eq?fu:null);this.rz.gz(klb.rz)}};eq.prototype.llb=function(transform,ao){var zv=transform.aw;var et=transform.position.dg+(zv.cw.dg*this.rz.dg+zv.dw.dg*this.rz.eg);
var ft=transform.position.eg+(zv.cw.eg*this.rz.dg+zv.dw.eg*this.rz.eg);et=ao.dg-et;ft=ao.eg-ft;return(et*et+ft*ft)<=this.sx*this.sx};eq.prototype.mt=function(nt,ot,transform){var zv=transform.aw;var eab=transform.position.dg+(zv.cw.dg*this.rz.dg+zv.dw.dg*this.rz.eg);var fab=transform.position.eg+(zv.cw.eg*this.rz.dg+zv.dw.eg*this.rz.eg);var mlb=ot.st.dg-eab;var nlb=ot.st.eg-fab;var qu=(mlb*mlb+nlb*nlb)-this.sx*this.sx;var ugb=ot.ut.dg-ot.st.dg;var vgb=ot.ut.eg-ot.st.eg;var cg=(mlb*ugb+nlb*vgb);var olb=(ugb*ugb+vgb*vgb);
var plb=cg*cg-olb*qu;if(plb<0.0||olb<Number.MIN_VALUE){return !1}var xab=(-(cg+Math.sqrt(plb)));if(0.0<=xab&&xab<=ot.yeb*olb){xab/=olb;nt.du=xab;nt.xt.dg=mlb+xab*ugb;nt.xt.eg=nlb+xab*vgb;nt.xt.jy();return !0;}return !1};eq.prototype.qlb=function(kt,transform){var zv=transform.aw;var rt=transform.position.dg+(zv.cw.dg*this.rz.dg+zv.dw.dg*this.rz.eg);var tt=transform.position.eg+(zv.cw.eg*this.rz.dg+zv.dw.eg*this.rz.eg);kt.bt.hv(rt-this.sx,tt-this.sx);kt.ct.hv(rt+this.sx,tt+this.sx)};eq.prototype.rlb=function(slb,
tlb){if(tlb===undefined)tlb=0;slb.ulb=tlb*mq.vlb*this.sx*this.sx;slb.cfb.gz(this.rz);slb.wlb=slb.ulb*(0.5*this.sx*this.sx+(this.rz.dg*this.rz.dg+this.rz.eg*this.rz.eg))};eq.prototype.xlb=function(xt,hg,mgb,cg){if(hg===undefined)hg=0;var ao=pq.rcb(mgb,this.rz);var ylb=(-(pq.fjb(xt,ao)-hg));if(ylb<(-this.sx)+Number.MIN_VALUE){return 0}if(ylb>this.sx){cg.gz(ao);return Math.PI*this.sx*this.sx}var zlb=this.sx*this.sx;var amb=ylb*ylb;var bmb=zlb*(Math.asin(ylb/this.sx)+Math.PI/2)+ylb*Math.sqrt(zlb-amb);var cmb=(-2/3*Math.pow(zlb-amb,
1.5)/bmb);cg.dg=ao.dg+xt.dg*cmb;cg.eg=ao.eg+xt.eg*cmb;return bmb};eq.prototype.dmb=function(){return this.rz};eq.prototype.emb=function(position){this.rz.gz(position)};eq.prototype.fmb=function(){return this.sx};eq.prototype.gmb=function(xz){if(xz===undefined)xz=0;this.sx=xz};eq.prototype.eq=function(xz){if(xz===undefined)xz=0;this.__super.jq.call(this);this.by=jq.ldb;this.sx=xz};fq.fq=function(){};fq.prototype.fq=function(){this.mab=0;this.hmb=!0;this.nab=[]};xn.eo(gq,xn.to.uo.jq);gq.prototype.__super=xn.to.uo.jq.prototype;
gq.gq=function(){xn.to.uo.jq.jq.apply(this,arguments);this.imb=new sq();this.nib=new sq();this.oib=new sq();this.jmb=new sq();this.kmb=new sq();this.ykb=new sq();this.lmb=new sq();this.mmb=new sq();this.nmb=new sq()};gq.prototype.llb=function(transform,ao){return !1};gq.prototype.mt=function(nt,ot,transform){var zv;var ugb=ot.ut.dg-ot.st.dg;var vgb=ot.ut.eg-ot.st.eg;zv=transform.aw;var jw=transform.position.dg+(zv.cw.dg*this.nib.dg+zv.dw.dg*this.nib.eg);var kw=transform.position.eg+(zv.cw.eg*this.nib.dg+zv.dw.eg*this.nib.eg);
var wgb=transform.position.eg+(zv.cw.eg*this.oib.dg+zv.dw.eg*this.oib.eg)-kw;var xgb=(-(transform.position.dg+(zv.cw.dg*this.oib.dg+zv.dw.dg*this.oib.eg)-jw));var ygb=100.0*Number.MIN_VALUE;var zgb=(-(ugb*wgb+vgb*xgb));if(zgb>ygb){var ahb=ot.st.dg-jw;var bhb=ot.st.eg-kw;var xab=(ahb*wgb+bhb*xgb);if(0.0<=xab&&xab<=ot.yeb*zgb){var chb=(-ugb*bhb)+vgb*ahb;if((-ygb*zgb)<=chb&&chb<=zgb*(1.0+ygb)){xab/=zgb;nt.du=xab;var dhb=Math.sqrt(wgb*wgb+xgb*xgb);nt.xt.dg=wgb/dhb;nt.xt.eg=xgb/dhb;return !0}}}return !1};gq.prototype.qlb=function(kt,
transform){var zv=transform.aw;var jw=transform.position.dg+(zv.cw.dg*this.nib.dg+zv.dw.dg*this.nib.eg);var kw=transform.position.eg+(zv.cw.eg*this.nib.dg+zv.dw.eg*this.nib.eg);var lw=transform.position.dg+(zv.cw.dg*this.oib.dg+zv.dw.dg*this.oib.eg);var mw=transform.position.eg+(zv.cw.eg*this.oib.dg+zv.dw.eg*this.oib.eg);if(jw<lw){kt.bt.dg=jw;kt.ct.dg=lw}else {kt.bt.dg=lw;kt.ct.dg=jw}if(kw<mw){kt.bt.eg=kw;kt.ct.eg=mw}else {kt.bt.eg=mw;kt.ct.eg=kw}};gq.prototype.rlb=function(slb,tlb){if(tlb===undefined)tlb=0;
slb.ulb=0;slb.cfb.gz(this.nib);slb.wlb=0};gq.prototype.xlb=function(xt,hg,mgb,cg){if(hg===undefined)hg=0;var omb=new sq(xt.dg*hg,xt.eg*hg);var rab=pq.rcb(mgb,this.nib);var sab=pq.rcb(mgb,this.oib);var pmb=pq.fjb(xt,rab)-hg;var flb=pq.fjb(xt,sab)-hg;if(pmb>0){if(flb>0){return 0}else {rab.dg=(-flb/(pmb-flb)*rab.dg)+pmb/(pmb-flb)*sab.dg;rab.eg=(-flb/(pmb-flb)*rab.eg)+pmb/(pmb-flb)*sab.eg}}else {if(flb>0){sab.dg=(-flb/(pmb-flb)*rab.dg)+pmb/(pmb-flb)*sab.dg;sab.eg=(-flb/(pmb-flb)*rab.eg)+pmb/(pmb-flb)*sab.eg}
else {}}cg.dg=(omb.dg+rab.dg+sab.dg)/3;cg.eg=(omb.eg+rab.eg+sab.eg)/3;return 0.5*((rab.dg-omb.dg)*(sab.eg-omb.eg)-(rab.eg-omb.eg)*(sab.dg-omb.dg))};gq.prototype.qmb=function(){return this.rmb};gq.prototype.smb=function(){return this.nib};gq.prototype.tmb=function(){return this.oib};gq.prototype.umb=function(){return this.jmb};gq.prototype.vmb=function(){return this.kmb};gq.prototype.wmb=function(){return this.ykb};gq.prototype.xmb=function(){return this.lmb};gq.prototype.ymb=function(){return this.mmb};gq.prototype.zmb=function(){
return this.nmb};gq.prototype.anb=function(){return this.bnb};gq.prototype.cnb=function(){return this.dnb};gq.prototype.pgb=function(mgb){var zv=mgb.aw;return new sq(mgb.position.dg+(zv.cw.dg*this.jmb.dg+zv.dw.dg*this.jmb.eg),mgb.position.eg+(zv.cw.eg*this.jmb.dg+zv.dw.eg*this.jmb.eg))};gq.prototype.enb=function(){return this.fnb};gq.prototype.gnb=function(){return this.hnb};gq.prototype.lgb=function(mgb,et,ft){if(et===undefined)et=0;if(ft===undefined)ft=0;var zv=mgb.aw;var jw=mgb.position.dg+(zv.cw.dg*this.jmb.dg+zv.dw.dg*this.jmb.eg);
var kw=mgb.position.eg+(zv.cw.eg*this.jmb.dg+zv.dw.eg*this.jmb.eg);var lw=mgb.position.dg+(zv.cw.dg*this.kmb.dg+zv.dw.dg*this.kmb.eg);var mw=mgb.position.eg+(zv.cw.eg*this.kmb.dg+zv.dw.eg*this.kmb.eg);if((jw*et+kw*ft)>(lw*et+mw*ft)){this.imb.dg=jw;this.imb.eg=kw}else {this.imb.dg=lw;this.imb.eg=mw}return this.imb;};gq.prototype.gq=function(rab,sab){this.__super.jq.call(this);this.by=jq.inb;this.hnb=null;this.fnb=null;this.nib=rab;this.oib=sab;this.lmb.hv(this.oib.dg-this.nib.dg,this.oib.eg-this.nib.eg);
this.rmb=this.lmb.jy();this.ykb.hv(this.lmb.eg,(-this.lmb.dg));this.jmb.hv((-mq.jnb*(this.ykb.dg-this.lmb.dg))+this.nib.dg,(-mq.jnb*(this.ykb.eg-this.lmb.eg))+this.nib.eg);this.kmb.hv((-mq.jnb*(this.ykb.dg+this.lmb.dg))+this.oib.dg,(-mq.jnb*(this.ykb.eg+this.lmb.eg))+this.oib.eg);this.mmb=this.ykb;this.nmb.hv((-this.ykb.dg),(-this.ykb.eg));};gq.prototype.knb=function(tw,lnb,mnb,nnb){this.hnb=tw;this.jmb=lnb;this.mmb=mnb;this.bnb=nnb};gq.prototype.onb=function(tw,lnb,mnb,nnb){this.fnb=tw;this.kmb=lnb;
this.nmb=mnb;this.dnb=nnb};hq.hq=function(){this.ulb=0.0;this.cfb=new sq(0,0);this.wlb=0.0};xn.eo(iq,xn.to.uo.jq);iq.prototype.__super=xn.to.uo.jq.prototype;iq.iq=function(){xn.to.uo.jq.jq.apply(this,arguments)};iq.prototype.cbb=function(){var cu=new iq();cu.hv(this);return cu};iq.prototype.hv=function(fu){this.__super.hv.call(this,fu);if(xn.mo(fu,iq)){var klb=(fu instanceof iq?fu:null);this.qw.gz(klb.qw);this.sv=klb.sv;this.pnb(this.sv);for(var bg=0;bg<this.sv;bg++){this.uv[bg].gz(klb.uv[bg]);this.wv[bg].gz(klb.wv[bg])}
}};iq.prototype.qnb=function(nab,mab){if(mab===undefined)mab=0;var qo=new ro();var bg=0,jv;for(bg=0;bg<nab.length;++bg){jv=nab[bg];qo.push(jv)}this.rnb(qo,mab)};iq.snb=function(nab,mab){if(mab===undefined)mab=0;var tnb=new iq();tnb.qnb(nab,mab);return tnb};iq.prototype.rnb=function(nab,mab){if(mab===undefined)mab=0;if(mab==0)mab=nab.length;mq.jcb(2<=mab);this.sv=mab;this.pnb(mab);var bg=0;for(bg=0;bg<this.sv;bg++){this.uv[bg].gz(nab[bg])}for(bg=0;bg<this.sv;++bg){var gx=parseInt(bg);var hx=parseInt(bg+1<this.sv?bg+1:0);
var tw=pq.ucb(this.uv[hx],this.uv[gx]);mq.jcb(tw.bcb()>Number.MIN_VALUE);this.wv[bg].gz(pq.zhb(tw,1.0));this.wv[bg].jy()}this.qw=iq.unb(this.uv,this.sv)};iq.vnb=function(nab,mab){if(mab===undefined)mab=0;var tnb=new iq();tnb.rnb(nab,mab);return tnb};iq.prototype.wnb=function(xnb,ynb){if(xnb===undefined)xnb=0;if(ynb===undefined)ynb=0;this.sv=4;this.pnb(4);this.uv[0].hv((-xnb),(-ynb));this.uv[1].hv(xnb,(-ynb));this.uv[2].hv(xnb,ynb);this.uv[3].hv((-xnb),ynb);this.wv[0].hv(0.0,(-1.0));this.wv[1].hv(1.0,
0.0);this.wv[2].hv(0.0,1.0);this.wv[3].hv((-1.0),0.0);this.qw.zz()};iq.znb=function(xnb,ynb){if(xnb===undefined)xnb=0;if(ynb===undefined)ynb=0;var tnb=new iq();tnb.wnb(xnb,ynb);return tnb};iq.prototype.aob=function(xnb,ynb,cfb,bob){if(xnb===undefined)xnb=0;if(ynb===undefined)ynb=0;if(cfb===undefined)cfb=null;if(bob===undefined)bob=0.0;this.sv=4;this.pnb(4);this.uv[0].hv((-xnb),(-ynb));this.uv[1].hv(xnb,(-ynb));this.uv[2].hv(xnb,ynb);this.uv[3].hv((-xnb),ynb);this.wv[0].hv(0.0,(-1.0));this.wv[1].hv(1.0,
0.0);this.wv[2].hv(0.0,1.0);this.wv[3].hv((-1.0),0.0);this.qw=cfb;var mgb=new rq();mgb.position=cfb;mgb.aw.hv(bob);for(var bg=0;bg<this.sv;++bg){this.uv[bg]=pq.rcb(mgb,this.uv[bg]);this.wv[bg]=pq.dib(mgb.aw,this.wv[bg])}};iq.cob=function(xnb,ynb,cfb,bob){if(xnb===undefined)xnb=0;if(ynb===undefined)ynb=0;if(cfb===undefined)cfb=null;if(bob===undefined)bob=0.0;var tnb=new iq();tnb.aob(xnb,ynb,cfb,bob);return tnb};iq.prototype.dob=function(rab,sab){this.sv=2;this.pnb(2);this.uv[0].gz(rab);this.uv[1].gz(sab);
this.qw.dg=0.5*(rab.dg+sab.dg);this.qw.eg=0.5*(rab.eg+sab.eg);this.wv[0]=pq.zhb(pq.ucb(sab,rab),1.0);this.wv[0].jy();this.wv[1].dg=(-this.wv[0].dg);this.wv[1].eg=(-this.wv[0].eg)};iq.eob=function(rab,sab){var tnb=new iq();tnb.dob(rab,sab);return tnb};iq.prototype.llb=function(mgb,ao){var jv;var zv=mgb.aw;var ex=ao.dg-mgb.position.dg;var mz=ao.eg-mgb.position.eg;var fob=(ex*zv.cw.dg+mz*zv.cw.eg);var gob=(ex*zv.dw.dg+mz*zv.dw.eg);for(var bg=0;bg<this.sv;++bg){jv=this.uv[bg];ex=fob-jv.dg;mz=gob-jv.eg;jv=this.wv[bg];
var iw=(jv.dg*ex+jv.eg*mz);if(iw>0.0){return !1}}return !0};iq.prototype.mt=function(nt,ot,transform){var hob=0.0;var iob=ot.yeb;var ex=0;var mz=0;var zv;var jv;ex=ot.st.dg-transform.position.dg;mz=ot.st.eg-transform.position.eg;zv=transform.aw;var sz=(ex*zv.cw.dg+mz*zv.cw.eg);var tz=(ex*zv.dw.dg+mz*zv.dw.eg);ex=ot.ut.dg-transform.position.dg;mz=ot.ut.eg-transform.position.eg;zv=transform.aw;var uz=(ex*zv.cw.dg+mz*zv.cw.eg);var vz=(ex*zv.dw.dg+mz*zv.dw.eg);var et=uz-sz;var ft=vz-tz;var ai=parseInt((-1));for(var bg=0;
bg<this.sv;++bg){jv=this.uv[bg];ex=jv.dg-sz;mz=jv.eg-tz;jv=this.wv[bg];var job=(jv.dg*ex+jv.eg*mz);var kob=(jv.dg*et+jv.eg*ft);if(kob==0.0){if(job<0.0){return !1}}else {if(kob<0.0&&job<hob*kob){hob=job/kob;ai=bg}else if(kob>0.0&&job<iob*kob){iob=job/kob}}if(iob<hob-Number.MIN_VALUE){return !1}}if(ai>=0){nt.du=hob;zv=transform.aw;jv=this.wv[ai];nt.xt.dg=(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);nt.xt.eg=(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);return !0}return !1;};iq.prototype.qlb=function(kt,mgb){var zv=mgb.aw;var jv=this.uv[0];
var lob=mgb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var mob=mgb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);var nob=lob;var oob=mob;for(var bg=1;bg<this.sv;++bg){jv=this.uv[bg];var ngb=mgb.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var ogb=mgb.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);lob=lob<ngb?lob:ngb;mob=mob<ogb?mob:ogb;nob=nob>ngb?nob:ngb;oob=oob>ogb?oob:ogb}kt.bt.dg=lob-this.sx;kt.bt.eg=mob-this.sx;kt.ct.dg=nob+this.sx;kt.ct.eg=oob+this.sx};iq.prototype.rlb=function(slb,tlb){if(tlb===undefined)tlb=0;
if(this.sv==2){slb.cfb.dg=0.5*(this.uv[0].dg+this.uv[1].dg);slb.cfb.eg=0.5*(this.uv[0].eg+this.uv[1].eg);slb.ulb=0.0;slb.wlb=0.0;return }var pob=0.0;var qob=0.0;var bmb=0.0;var wlb=0.0;var sz=0.0;var tz=0.0;var rob=1.0/3.0;for(var bg=0;bg<this.sv;++bg){var ut=this.uv[bg];var sob=bg+1<this.sv?this.uv[parseInt(bg+1)]:this.uv[0];var tob=ut.dg-sz;var uob=ut.eg-tz;var vob=sob.dg-sz;var wob=sob.eg-tz;var xob=tob*wob-uob*vob;var yob=0.5*xob;bmb+=yob;pob+=yob*rob*(sz+ut.dg+sob.dg);qob+=yob*rob*(tz+ut.eg+sob.eg);var zob=sz;
var apb=tz;var bpb=tob;var cpb=uob;var dpb=vob;var epb=wob;var fpb=rob*(0.25*(bpb*bpb+dpb*bpb+dpb*dpb)+(zob*bpb+zob*dpb))+0.5*zob*zob;var gpb=rob*(0.25*(cpb*cpb+epb*cpb+epb*epb)+(apb*cpb+apb*epb))+0.5*apb*apb;wlb+=xob*(fpb+gpb)}slb.ulb=tlb*bmb;pob*=1.0/bmb;qob*=1.0/bmb;slb.cfb.hv(pob,qob);slb.wlb=tlb*wlb};iq.prototype.xlb=function(xt,hg,mgb,cg){if(hg===undefined)hg=0;var hpb=pq.ocb(mgb.aw,xt);var ipb=hg-pq.fjb(xt,mgb.position);var jpb=new so();var kpb=0;var lpb=parseInt((-1));var mpb=parseInt((-1));var npb=!1;
var bg=0;for(bg=0;bg<this.sv;++bg){jpb[bg]=pq.fjb(hpb,this.uv[bg])-ipb;var opb=jpb[bg]<(-Number.MIN_VALUE);if(bg>0){if(opb){if(!npb){lpb=bg-1;kpb++}}else {if(npb){mpb=bg-1;kpb++}}}npb=opb}switch(kpb){case 0:if(npb){var ppb=new hq();this.rlb(ppb,1);cg.gz(pq.rcb(mgb,ppb.cfb));return ppb.ulb}else {return 0}break;case 1:if(lpb==(-1)){lpb=this.sv-1}else {mpb=this.sv-1}break}var qpb=parseInt((lpb+1)%this.sv);var rpb=parseInt((mpb+1)%this.sv);var spb=(0-jpb[lpb])/(jpb[qpb]-jpb[lpb]);var tpb=(0-jpb[mpb])/(jpb[rpb]-jpb[mpb]);
var upb=new sq(this.uv[lpb].dg*(1-spb)+this.uv[qpb].dg*spb,this.uv[lpb].eg*(1-spb)+this.uv[qpb].eg*spb);var vpb=new sq(this.uv[mpb].dg*(1-tpb)+this.uv[rpb].dg*tpb,this.uv[mpb].eg*(1-tpb)+this.uv[rpb].eg*tpb);var bmb=0;var cfb=new sq();var ut=this.uv[qpb];var sob;bg=qpb;while(bg!=rpb){bg=(bg+1)%this.sv;if(bg==rpb)sob=vpb;else sob=this.uv[bg];var yob=0.5*((ut.dg-upb.dg)*(sob.eg-upb.eg)-(ut.eg-upb.eg)*(sob.dg-upb.dg));bmb+=yob;cfb.dg+=yob*(upb.dg+ut.dg+sob.dg)/3;cfb.eg+=yob*(upb.eg+ut.eg+sob.eg)/3;ut=sob}cfb.wpb(1/bmb);
cg.gz(pq.rcb(mgb,cfb));return bmb;};iq.prototype.qdb=function(){return this.sv};iq.prototype.xpb=function(){return this.uv};iq.prototype.ypb=function(){return this.wv};iq.prototype.ncb=function(kcb){var ndb=0;var odb=this.uv[0].dg*kcb.dg+this.uv[0].eg*kcb.eg;for(var bg=1;bg<this.sv;++bg){var value=this.uv[bg].dg*kcb.dg+this.uv[bg].eg*kcb.eg;if(value>odb){ndb=bg;odb=value}}return ndb};iq.prototype.pdb=function(kcb){var ndb=0;var odb=this.uv[0].dg*kcb.dg+this.uv[0].eg*kcb.eg;for(var bg=1;bg<this.sv;++bg){var value=this.uv[bg].dg*kcb.dg+this.uv[bg].eg*kcb.eg;
if(value>odb){ndb=bg;odb=value;}}return this.uv[ndb]};iq.prototype.cgb=function(){return !1};iq.prototype.iq=function(){this.__super.jq.call(this);this.by=jq.mdb;this.qw=new sq();this.uv=new ro();this.wv=new ro()};iq.prototype.pnb=function(teb){if(teb===undefined)teb=0;for(var bg=parseInt(this.uv.length);bg<teb;bg++){this.uv[bg]=new sq();this.wv[bg]=new sq()}};iq.unb=function(zpb,teb){if(teb===undefined)teb=0;var cg=new sq();var bmb=0.0;var sz=0.0;var tz=0.0;var aqb=1.0/3.0;for(var bg=0;bg<teb;++bg){var ut=zpb[bg];
var sob=bg+1<teb?zpb[parseInt(bg+1)]:zpb[0];var tob=ut.dg-sz;var uob=ut.eg-tz;var vob=sob.dg-sz;var wob=sob.eg-tz;var xob=(tob*wob-uob*vob);var yob=0.5*xob;bmb+=yob;cg.dg+=yob*aqb*(sz+ut.dg+sob.dg);cg.eg+=yob*aqb*(tz+ut.eg+sob.eg)}cg.dg*=1.0/bmb;cg.eg*=1.0/bmb;return cg};iq.bqb=function(cqb,zpb,teb){if(teb===undefined)teb=0;var bg=0;var ao=new ro(teb+1);for(bg=0;bg<teb;++bg){ao[bg]=zpb[bg]}ao[teb]=ao[0];var dqb=Number.MAX_VALUE;for(bg=1;bg<=teb;++bg){var eqb=ao[parseInt(bg-1)];var fqb=ao[bg].dg-eqb.dg;var gqb=ao[bg].eg-eqb.eg;
var length=Math.sqrt(fqb*fqb+gqb*gqb);fqb/=length;gqb/=length;var hqb=(-gqb);var iqb=fqb;var lob=Number.MAX_VALUE;var mob=Number.MAX_VALUE;var nob=(-Number.MAX_VALUE);var oob=(-Number.MAX_VALUE);for(var jqb=0;jqb<teb;++jqb){var et=ao[jqb].dg-eqb.dg;var ft=ao[jqb].eg-eqb.eg;var ugb=(fqb*et+gqb*ft);var vgb=(hqb*et+iqb*ft);if(ugb<lob)lob=ugb;if(vgb<mob)mob=vgb;if(ugb>nob)nob=ugb;if(vgb>oob)oob=vgb}var bmb=(nob-lob)*(oob-mob);if(bmb<0.95*dqb){dqb=bmb;cqb.aw.cw.dg=fqb;cqb.aw.cw.eg=gqb;cqb.aw.dw.dg=hqb;cqb.aw.dw.eg=iqb;
var pob=0.5*(lob+nob);var qob=0.5*(mob+oob);var zv=cqb.aw;cqb.cfb.dg=eqb.dg+(zv.cw.dg*pob+zv.dw.dg*qob);cqb.cfb.eg=eqb.eg+(zv.cw.eg*pob+zv.dw.eg*qob);cqb.kqb.dg=0.5*(nob-lob);cqb.kqb.eg=0.5*(oob-mob)}}};xn.at.push(function(){xn.to.uo.iq.lqb=new nq()});jq.jq=function(){};jq.prototype.cbb=function(){return null};jq.prototype.hv=function(fu){this.sx=fu.sx};jq.prototype.kdb=function(){return this.by};jq.prototype.llb=function(mgb,ao){return !1};jq.prototype.mt=function(nt,ot,transform){return !1};jq.prototype.qlb=function(kt,
mgb){};jq.prototype.rlb=function(slb,tlb){if(tlb===undefined)tlb=0};jq.prototype.xlb=function(xt,hg,mgb,cg){if(hg===undefined)hg=0;return 0};jq.eu=function(mqb,nqb,oqb,pqb){var ot=new ip();ot.lbb=new kp();ot.lbb.hv(mqb);ot.mbb=new kp();ot.mbb.hv(oqb);ot.nbb=nqb;ot.obb=pqb;ot.gdb=!0;var qqb=new xp();qqb.teb=0;var nt=new jp();hp.ibb(nt,qqb,ot);return nt.cdb<10.0*Number.MIN_VALUE};jq.prototype.jq=function(){this.by=jq.rqb;this.sx=mq.sqb};xn.at.push(function(){xn.to.uo.jq.rqb=parseInt((-1));xn.to.uo.jq.ldb=0;
xn.to.uo.jq.mdb=1;xn.to.uo.jq.inb=2;xn.to.uo.jq.tqb=3;xn.to.uo.jq.uqb=1;xn.to.uo.jq.vqb=0;xn.to.uo.jq.wqb=parseInt((-1))})})();(function(){var lq=xn.vo.lq,kq=xn.vo.kq,mq=xn.vo.mq,nq=xn.vo.Math.nq,oq=xn.vo.Math.oq,pq=xn.vo.Math.pq,qq=xn.vo.Math.qq,rq=xn.vo.Math.rq,sq=xn.vo.Math.sq,tq=xn.vo.Math.tq;lq.lq=function(){this.xqb=0;this.yqb=0;this.zqb=0};lq.prototype.lq=function(olb,arb,brb){if(olb===undefined)olb=0;if(arb===undefined)arb=0;if(brb===undefined)brb=0;this.xqb=xn.po(255*pq.hib(olb,0.0,1.0));
this.yqb=xn.po(255*pq.hib(arb,0.0,1.0));this.zqb=xn.po(255*pq.hib(brb,0.0,1.0))};lq.prototype.hv=function(olb,arb,brb){if(olb===undefined)olb=0;if(arb===undefined)arb=0;if(brb===undefined)brb=0;this.xqb=xn.po(255*pq.hib(olb,0.0,1.0));this.yqb=xn.po(255*pq.hib(arb,0.0,1.0));this.zqb=xn.po(255*pq.hib(brb,0.0,1.0))};Object.defineProperty(lq.prototype,'r',{enumerable:!1,configurable:!0,set:function(olb){if(olb===undefined)olb=0;this.xqb=xn.po(255*pq.hib(olb,0.0,1.0))}});Object.defineProperty(lq.prototype,
'g',{enumerable:!1,configurable:!0,set:function(arb){if(arb===undefined)arb=0;this.yqb=xn.po(255*pq.hib(arb,0.0,1.0))}});Object.defineProperty(lq.prototype,'b',{enumerable:!1,configurable:!0,set:function(brb){if(brb===undefined)brb=0;this.zqb=xn.po(255*pq.hib(brb,0.0,1.0))}});Object.defineProperty(lq.prototype,'color',{enumerable:!1,configurable:!0,get:function(){return(this.xqb<<16)|(this.yqb<<8)|(this.zqb)}});mq.mq=function(){};mq.crb=function(drb,erb){if(drb===undefined)drb=0;if(erb===undefined)erb=0;
return Math.sqrt(drb*erb)};mq.frb=function(grb,hrb){if(grb===undefined)grb=0;if(hrb===undefined)hrb=0;return grb>hrb?grb:hrb};mq.jcb=function(xab){if(!xab){throw "Assertion Failed"}};xn.at.push(function(){xn.vo.mq.irb="2.1alpha";xn.vo.mq.jrb=0x0000ffff;xn.vo.mq.vlb=Math.PI;xn.vo.mq.jz=2;xn.vo.mq.aeb=0.1;xn.vo.mq.jeb=2.0;xn.vo.mq.sqb=0.005;xn.vo.mq.krb=2.0/180.0*mq.vlb;xn.vo.mq.lrb=2.0*mq.sqb;xn.vo.mq.jnb=8.0*mq.sqb;xn.vo.mq.mrb=32;xn.vo.mq.nrb=32;xn.vo.mq.orb=1.0;xn.vo.mq.prb=0.2;xn.vo.mq.qrb=8.0/180.0*mq.vlb;
xn.vo.mq.rrb=2.0;xn.vo.mq.srb=mq.rrb*mq.rrb;xn.vo.mq.trb=0.5*mq.vlb;xn.vo.mq.urb=mq.trb*mq.trb;xn.vo.mq.vrb=0.2;xn.vo.mq.wrb=0.5;xn.vo.mq.xrb=0.01;xn.vo.mq.yrb=2.0/180.0*mq.vlb})})();(function(){var bp=xn.to.bp,lq=xn.vo.lq,kq=xn.vo.kq,mq=xn.vo.mq,nq=xn.vo.Math.nq,oq=xn.vo.Math.oq,pq=xn.vo.Math.pq,qq=xn.vo.Math.qq,rq=xn.vo.Math.rq,sq=xn.vo.Math.sq,tq=xn.vo.Math.tq;nq.nq=function(){this.cw=new sq();this.dw=new sq()};nq.prototype.nq=function(){this.zrb()};nq.asb=function(bob){if(bob===undefined)bob=0;
var bsb=new nq();bsb.hv(bob);return bsb};nq.csb=function(dsb,esb){var bsb=new nq();bsb.fsb(dsb,esb);return bsb};nq.prototype.hv=function(bob){if(bob===undefined)bob=0;var cg=Math.cos(bob);var cu=Math.sin(bob);this.cw.dg=cg;this.dw.dg=(-cu);this.cw.eg=cu;this.dw.eg=cg};nq.prototype.fsb=function(dsb,esb){this.cw.gz(dsb);this.dw.gz(esb)};nq.prototype.cbb=function(){var bsb=new nq();bsb.gsb(this);return bsb};nq.prototype.gsb=function(hgb){this.cw.gz(hgb.cw);this.dw.gz(hgb.dw)};nq.prototype.hsb=function(hgb){this.cw.dg+=hgb.cw.dg;
this.cw.eg+=hgb.cw.eg;this.dw.dg+=hgb.dw.dg;this.dw.eg+=hgb.dw.eg};nq.prototype.zrb=function(){this.cw.dg=1.0;this.dw.dg=0.0;this.cw.eg=0.0;this.dw.eg=1.0};nq.prototype.zz=function(){this.cw.dg=0.0;this.dw.dg=0.0;this.cw.eg=0.0;this.dw.eg=0.0};nq.prototype.isb=function(){return Math.atan2(this.cw.eg,this.cw.dg)};nq.prototype.jsb=function(ksb){var xab=this.cw.dg;var qu=this.dw.dg;var cg=this.cw.eg;var kcb=this.dw.eg;var lsb=xab*kcb-qu*cg;if(lsb!=0.0){lsb=1.0/lsb}ksb.cw.dg=lsb*kcb;ksb.dw.dg=(-lsb*qu);ksb.cw.eg=(-lsb*cg);
ksb.dw.eg=lsb*xab;return ksb};nq.prototype.msb=function(ksb,ahb,bhb){if(ahb===undefined)ahb=0;if(bhb===undefined)bhb=0;var nsb=this.cw.dg;var osb=this.dw.dg;var psb=this.cw.eg;var qsb=this.dw.eg;var lsb=nsb*qsb-osb*psb;if(lsb!=0.0){lsb=1.0/lsb}ksb.dg=lsb*(qsb*ahb-osb*bhb);ksb.eg=lsb*(nsb*bhb-psb*ahb);return ksb};nq.prototype.tkb=function(){this.cw.tkb();this.dw.tkb()};oq.oq=function(){this.cw=new tq();this.dw=new tq();this.rsb=new tq()};oq.prototype.oq=function(dsb,esb,ssb){if(dsb===undefined)dsb=null;if(esb===undefined)esb=null;
if(ssb===undefined)ssb=null;if(!dsb&&!esb&&!ssb){this.cw.zz();this.dw.zz();this.rsb.zz()}else {this.cw.gz(dsb);this.dw.gz(esb);this.rsb.gz(ssb)}};oq.prototype.tsb=function(dsb,esb,ssb){this.cw.gz(dsb);this.dw.gz(esb);this.rsb.gz(ssb)};oq.prototype.cbb=function(){return new oq(this.cw,this.dw,this.rsb)};oq.prototype.gsb=function(hgb){this.cw.gz(hgb.cw);this.dw.gz(hgb.dw);this.rsb.gz(hgb.rsb)};oq.prototype.hsb=function(hgb){this.cw.dg+=hgb.cw.dg;this.cw.eg+=hgb.cw.eg;this.cw.usb+=hgb.cw.usb;this.dw.dg+=hgb.dw.dg;
this.dw.eg+=hgb.dw.eg;this.dw.usb+=hgb.dw.usb;this.rsb.dg+=hgb.rsb.dg;this.rsb.eg+=hgb.rsb.eg;this.rsb.usb+=hgb.rsb.usb};oq.prototype.zrb=function(){this.cw.dg=1.0;this.dw.dg=0.0;this.rsb.dg=0.0;this.cw.eg=0.0;this.dw.eg=1.0;this.rsb.eg=0.0;this.cw.usb=0.0;this.dw.usb=0.0;this.rsb.usb=1.0};oq.prototype.zz=function(){this.cw.dg=0.0;this.dw.dg=0.0;this.rsb.dg=0.0;this.cw.eg=0.0;this.dw.eg=0.0;this.rsb.eg=0.0;this.cw.usb=0.0;this.dw.usb=0.0;this.rsb.usb=0.0};oq.prototype.vsb=function(ksb,ahb,bhb){if(ahb===undefined)ahb=0;
if(bhb===undefined)bhb=0;var nsb=this.cw.dg;var osb=this.dw.dg;var psb=this.cw.eg;var qsb=this.dw.eg;var lsb=nsb*qsb-osb*psb;if(lsb!=0.0){lsb=1.0/lsb}ksb.dg=lsb*(qsb*ahb-osb*bhb);ksb.eg=lsb*(nsb*bhb-psb*ahb);return ksb};oq.prototype.wsb=function(ksb,ahb,bhb,xsb){if(ahb===undefined)ahb=0;if(bhb===undefined)bhb=0;if(xsb===undefined)xsb=0;var nsb=this.cw.dg;var psb=this.cw.eg;var ysb=this.cw.usb;var osb=this.dw.dg;var qsb=this.dw.eg;var zsb=this.dw.usb;var atb=this.rsb.dg;var btb=this.rsb.eg;var ctb=this.rsb.usb;
var lsb=nsb*(qsb*ctb-zsb*btb)+psb*(zsb*atb-osb*ctb)+ysb*(osb*btb-qsb*atb);if(lsb!=0.0){lsb=1.0/lsb}ksb.dg=lsb*(ahb*(qsb*ctb-zsb*btb)+bhb*(zsb*atb-osb*ctb)+xsb*(osb*btb-qsb*atb));ksb.eg=lsb*(nsb*(bhb*ctb-xsb*btb)+psb*(xsb*atb-ahb*ctb)+ysb*(ahb*btb-bhb*atb));ksb.usb=lsb*(nsb*(qsb*xsb-zsb*bhb)+psb*(zsb*ahb-osb*xsb)+ysb*(osb*bhb-qsb*ahb));return ksb};pq.pq=function(){};pq.dt=function(dg){if(dg===undefined)dg=0;return dtb(dg)};pq.fjb=function(xab,qu){return xab.dg*qu.dg+xab.eg*qu.eg};pq.xib=function(xab,
qu){return xab.dg*qu.eg-xab.eg*qu.dg};pq.zhb=function(xab,cu){if(cu===undefined)cu=0;var qo=new sq(cu*xab.eg,(-cu*xab.dg));return qo};pq.veb=function(cu,xab){if(cu===undefined)cu=0;var qo=new sq((-cu*xab.eg),cu*xab.dg);return qo};pq.dib=function(etb,qo){var ftb=new sq(etb.cw.dg*qo.dg+etb.dw.dg*qo.eg,etb.cw.eg*qo.dg+etb.dw.eg*qo.eg);return ftb};pq.ocb=function(etb,qo){var ftb=new sq(pq.fjb(qo,etb.cw),pq.fjb(qo,etb.dw));return ftb};pq.rcb=function(gtb,qo){var xab=pq.dib(gtb.aw,qo);xab.dg+=gtb.position.dg;xab.eg+=gtb.position.eg;
return xab};pq.htb=function(gtb,qo){var xab=pq.ucb(qo,gtb.position);var ex=(xab.dg*gtb.aw.cw.dg+xab.eg*gtb.aw.cw.eg);xab.eg=(xab.dg*gtb.aw.dw.dg+xab.eg*gtb.aw.dw.eg);xab.dg=ex;return xab};pq.itb=function(xab,qu){var qo=new sq(xab.dg+qu.dg,xab.eg+qu.eg);return qo};pq.ucb=function(xab,qu){var qo=new sq(xab.dg-qu.dg,xab.eg-qu.eg);return qo};pq.ibb=function(xab,qu){var gab=xab.dg-qu.dg;var hab=xab.eg-qu.eg;return Math.sqrt(gab*gab+hab*hab);};pq.jtb=function(xab,qu){var gab=xab.dg-qu.dg;var hab=xab.eg-qu.eg;return(gab*gab+hab*hab)}
;pq.ktb=function(cu,xab){if(cu===undefined)cu=0;var qo=new sq(cu*xab.dg,cu*xab.eg);return qo};pq.ltb=function(etb,mtb){var ntb=nq.csb(pq.itb(etb.cw,mtb.cw),pq.itb(etb.dw,mtb.dw));return ntb};pq.otb=function(etb,mtb){var ntb=nq.csb(pq.dib(etb,mtb.cw),pq.dib(etb,mtb.dw));return ntb};pq.ptb=function(etb,mtb){var dsb=new sq(pq.fjb(etb.cw,mtb.cw),pq.fjb(etb.dw,mtb.cw));var esb=new sq(pq.fjb(etb.cw,mtb.dw),pq.fjb(etb.dw,mtb.dw));var ntb=nq.csb(dsb,esb);return ntb};pq.tkb=function(xab){if(xab===undefined)xab=0;return xab>0.0?xab:(-xab)}
;pq.xeb=function(xab){var qu=new sq(pq.tkb(xab.dg),pq.tkb(xab.eg));return qu};pq.qtb=function(etb){var mtb=nq.csb(pq.xeb(etb.cw),pq.xeb(etb.dw));return mtb};pq.rtb=function(xab,qu){if(xab===undefined)xab=0;if(qu===undefined)qu=0;return xab<qu?xab:qu};pq.stb=function(xab,qu){var cg=new sq(pq.rtb(xab.dg,qu.dg),pq.rtb(xab.eg,qu.eg));return cg};pq.ycb=function(xab,qu){if(xab===undefined)xab=0;if(qu===undefined)qu=0;return xab>qu?xab:qu};pq.ttb=function(xab,qu){var cg=new sq(pq.ycb(xab.dg,qu.dg),pq.ycb(xab.eg,qu.eg));
return cg};pq.hib=function(xab,utb,vtb){if(xab===undefined)xab=0;if(utb===undefined)utb=0;if(vtb===undefined)vtb=0;return xab<utb?utb:xab>vtb?vtb:xab};pq.wtb=function(xab,utb,vtb){return pq.ttb(utb,pq.stb(xab,vtb))};pq.pu=function(xab,qu){var lo=xab[0];xab[0]=qu[0];qu[0]=lo};pq.xtb=function(){return Math.random()*2-1};pq.ytb=function(ztb,aub){if(ztb===undefined)ztb=0;if(aub===undefined)aub=0;var r=Math.random();r=(aub-ztb)*r+ztb;return r};pq.bub=function(dg){if(dg===undefined)dg=0;dg|=(dg>>1)&0x7FFFFFFF;
dg|=(dg>>2)&0x3FFFFFFF;dg|=(dg>>4)&0x0FFFFFFF;dg|=(dg>>8)&0x00FFFFFF;dg|=(dg>>16)&0x0000FFFF;return dg+1};pq.cub=function(dg){if(dg===undefined)dg=0;var lt=dg>0&&(dg&(dg-1))==0;return lt};xn.at.push(function(){xn.vo.Math.pq.dub=new sq(0.0,0.0);xn.vo.Math.pq.eub=nq.csb(new sq(1.0,0.0),new sq(0.0,1.0));xn.vo.Math.pq.fub=new rq(pq.dub,pq.eub)});qq.qq=function(){this.gub=new sq();this.hub=new sq;this.cg=new sq()};qq.prototype.hv=function(fu){this.gub.gz(fu.gub);this.hub.gz(fu.hub);this.cg.gz(fu.cg);this.iub=fu.iub;
this.xab=fu.xab;this.ckb=fu.ckb};qq.prototype.cbb=function(){var igb=new qq();igb.gub.gz(this.gub);igb.hub.gz(this.hub);igb.cg.gz(this.cg);igb.iub=this.iub;igb.xab=this.xab;igb.ckb=this.ckb;return igb};qq.prototype.ikb=function(mgb,ekb){if(ekb===undefined)ekb=0;mgb.position.dg=(1.0-ekb)*this.hub.dg+ekb*this.cg.dg;mgb.position.eg=(1.0-ekb)*this.hub.eg+ekb*this.cg.eg;var bob=(1.0-ekb)*this.iub+ekb*this.xab;mgb.aw.hv(bob);var zv=mgb.aw;mgb.position.dg-=(zv.cw.dg*this.gub.dg+zv.dw.dg*this.gub.eg);mgb.position.eg-=(zv.cw.eg*this.gub.dg+zv.dw.eg*this.gub.eg);
};qq.prototype.jub=function(iib){if(iib===undefined)iib=0;if(this.ckb<iib&&1.0-this.ckb>Number.MIN_VALUE){var ekb=(iib-this.ckb)/(1.0-this.ckb);this.hub.dg=(1.0-ekb)*this.hub.dg+ekb*this.cg.dg;this.hub.eg=(1.0-ekb)*this.hub.eg+ekb*this.cg.eg;this.iub=(1.0-ekb)*this.iub+ekb*this.xab;this.ckb=iib}};rq.rq=function(){this.position=new sq;this.aw=new nq()};rq.prototype.rq=function(kub,r){if(kub===undefined)kub=null;if(r===undefined)r=null;if(kub){this.position.gz(kub);this.aw.gsb(r)}};rq.prototype.ihb=function(kub,
r){this.position.gz(kub);this.aw.gsb(r)};rq.prototype.zrb=function(){this.position.zz();this.aw.zrb()};rq.prototype.hv=function(dg){this.position.gz(dg.position);this.aw.gsb(dg.aw)};rq.prototype.isb=function(){return Math.atan2(this.aw.cw.eg,this.aw.cw.dg)};sq.sq=function(){};sq.prototype.sq=function(lub,mub){if(lub===undefined)lub=0;if(mub===undefined)mub=0;this.dg=lub;this.eg=mub};sq.prototype.zz=function(){this.dg=0.0;this.eg=0.0};sq.prototype.hv=function(lub,mub){if(lub===undefined)lub=0;if(mub===undefined)mub=0;
this.dg=lub;this.eg=mub};sq.prototype.gz=function(qo){this.dg=qo.dg;this.eg=qo.eg};sq.prototype.pcb=function(){return new sq((-this.dg),(-this.eg))};sq.prototype.aib=function(){this.dg=(-this.dg);this.eg=(-this.eg)};sq.nub=function(lub,mub){if(lub===undefined)lub=0;if(mub===undefined)mub=0;return new sq(lub,mub)};sq.prototype.cbb=function(){return new sq(this.dg,this.eg)};sq.prototype.oub=function(qo){this.dg+=qo.dg;this.eg+=qo.eg};sq.prototype.pub=function(qo){this.dg-=qo.dg;this.eg-=qo.eg};sq.prototype.wpb=function(xab){
if(xab===undefined)xab=0;this.dg*=xab;this.eg*=xab};sq.prototype.qub=function(etb){var ex=this.dg;this.dg=etb.cw.dg*ex+etb.dw.dg*this.eg;this.eg=etb.cw.eg*ex+etb.dw.eg*this.eg};sq.prototype.rub=function(etb){var ex=pq.fjb(this,etb.cw);this.eg=pq.fjb(this,etb.dw);this.dg=ex};sq.prototype.zhb=function(cu){if(cu===undefined)cu=0;var ex=this.dg;this.dg=cu*this.eg;this.eg=(-cu*ex)};sq.prototype.veb=function(cu){if(cu===undefined)cu=0;var ex=this.dg;this.dg=(-cu*this.eg);this.eg=cu*ex};sq.prototype.stb=function(qu){
this.dg=this.dg<qu.dg?this.dg:qu.dg;this.eg=this.eg<qu.eg?this.eg:qu.eg};sq.prototype.ttb=function(qu){this.dg=this.dg>qu.dg?this.dg:qu.dg;this.eg=this.eg>qu.eg?this.eg:qu.eg};sq.prototype.tkb=function(){if(this.dg<0)this.dg=(-this.dg);if(this.eg<0)this.eg=(-this.eg)};sq.prototype.ddb=function(){return Math.sqrt(this.dg*this.dg+this.eg*this.eg)};sq.prototype.bcb=function(){return(this.dg*this.dg+this.eg*this.eg)};sq.prototype.jy=function(){var length=Math.sqrt(this.dg*this.dg+this.eg*this.eg);if(length<Number.MIN_VALUE){
return 0.0}var tub=1.0/length;this.dg*=tub;this.eg*=tub;return length};sq.prototype.dt=function(){return pq.dt(this.dg)&&pq.dt(this.eg)};tq.tq=function(){};tq.prototype.tq=function(dg,eg,usb){if(dg===undefined)dg=0;if(eg===undefined)eg=0;if(usb===undefined)usb=0;this.dg=dg;this.eg=eg;this.usb=usb};tq.prototype.zz=function(){this.dg=this.eg=this.usb=0.0};tq.prototype.hv=function(dg,eg,usb){if(dg===undefined)dg=0;if(eg===undefined)eg=0;if(usb===undefined)usb=0;this.dg=dg;this.eg=eg;this.usb=usb};tq.prototype.gz=function(qo){
this.dg=qo.dg;this.eg=qo.eg;this.usb=qo.usb};tq.prototype.pcb=function(){return new tq((-this.dg),(-this.eg),(-this.usb))};tq.prototype.aib=function(){this.dg=(-this.dg);this.eg=(-this.eg);this.usb=(-this.usb)};tq.prototype.cbb=function(){return new tq(this.dg,this.eg,this.usb)};tq.prototype.oub=function(qo){this.dg+=qo.dg;this.eg+=qo.eg;this.usb+=qo.usb};tq.prototype.pub=function(qo){this.dg-=qo.dg;this.eg-=qo.eg;this.usb-=qo.usb};tq.prototype.wpb=function(xab){if(xab===undefined)xab=0;this.dg*=xab;
this.eg*=xab;this.usb*=xab}})();(function(){var bs=xn.wo.yo.bs,nq=xn.vo.Math.nq,oq=xn.vo.Math.oq,pq=xn.vo.Math.pq,qq=xn.vo.Math.qq,rq=xn.vo.Math.rq,sq=xn.vo.Math.sq,tq=xn.vo.Math.tq,lq=xn.vo.lq,kq=xn.vo.kq,mq=xn.vo.mq,bp=xn.to.bp,cp=xn.to.cp,dp=xn.to.dp,ep=xn.to.ep,fp=xn.to.fp,gp=xn.to.gp,hp=xn.to.hp,ip=xn.to.ip,jp=xn.to.jp,kp=xn.to.kp,lp=xn.to.lp,mp=xn.to.mp,np=xn.to.np,op=xn.to.op,pp=xn.to.pp,qp=xn.to.qp,rp=xn.to.rp,sp=xn.to.sp,tp=xn.to.tp,up=xn.to.up,vp=xn.to.vp,wp=xn.to.wp,xp=xn.to.xp,yp=xn.to.yp,
zp=xn.to.zp,aq=xn.to.aq,bq=xn.to.bq,cq=xn.to.cq,dq=xn.to.dq,ap=xn.to.ap,eq=xn.to.uo.eq,fq=xn.to.uo.fq,gq=xn.to.uo.gq,hq=xn.to.uo.hq,iq=xn.to.uo.iq,jq=xn.to.uo.jq,uq=xn.wo.uq,vq=xn.wo.vq,wq=xn.wo.wq,xq=xn.wo.xq,yq=xn.wo.yq,zq=xn.wo.zq,ar=xn.wo.ar,br=xn.wo.br,cr=xn.wo.cr,dr=xn.wo.dr,er=xn.wo.er,fr=xn.wo.fr,gr=xn.wo.gr,hr=xn.wo.hr,ir=xn.wo.xo.ir,jr=xn.wo.xo.jr,kr=xn.wo.xo.kr,lr=xn.wo.xo.lr,mr=xn.wo.xo.mr,nr=xn.wo.xo.nr,or=xn.wo.xo.or,pr=xn.wo.xo.pr,qr=xn.wo.xo.qr,rr=xn.wo.xo.rr,sr=xn.wo.xo.sr,tr=xn.wo.xo.tr,
ur=xn.wo.xo.ur,vr=xn.wo.xo.vr,wr=xn.wo.xo.wr,as=xn.wo.yo.as,es=xn.wo.zo.es,fs=xn.wo.zo.fs,gs=xn.wo.zo.gs,hs=xn.wo.zo.hs,is=xn.wo.zo.is,js=xn.wo.zo.js,ks=xn.wo.zo.ks,ls=xn.wo.zo.ls,ms=xn.wo.zo.ms,ns=xn.wo.zo.ns,os=xn.wo.zo.os,ps=xn.wo.zo.ps,qs=xn.wo.zo.qs,rs=xn.wo.zo.rs,ss=xn.wo.zo.ss,ts=xn.wo.zo.ts,us=xn.wo.zo.us,vs=xn.wo.zo.vs,ws=xn.wo.zo.ws,xs=xn.wo.zo.xs,ys=xn.wo.zo.ys,zs=xn.wo.zo.zs;uq.uq=function(){this.uub=new rq();this.vub=new qq();this.wub=new sq();this.xub=new sq()};uq.prototype.yub=function(zub,
avb,bvb){if(bvb===undefined)bvb=0;var cvb=Math.atan2(avb.xmb().eg,avb.xmb().dg);var dvb=Math.tan((cvb-bvb)*0.5);var lnb=pq.ktb(dvb,avb.xmb());lnb=pq.ucb(lnb,avb.wmb());lnb=pq.ktb(mq.jnb,lnb);lnb=pq.itb(lnb,avb.smb());var mnb=pq.itb(zub.xmb(),avb.xmb());mnb.jy();var nnb=pq.fjb(zub.xmb(),avb.wmb())>0.0;zub.onb(avb,lnb,mnb,nnb);avb.knb(zub,lnb,mnb,nnb);return cvb};uq.prototype.evb=function(fvb){if(this.gvb.hvb()==!0){return null}var ivb=new dr();ivb.jvb(this,this.uub,fvb);if(this.kvb&uq.lvb){var mvb=this.gvb.nvb.ovb;
ivb.vdb(mvb,this.uub)}ivb.pvb=this.qvb;this.qvb=ivb;++this.rvb;ivb.svb=this;if(ivb.tvb>0.0){this.uvb();}this.gvb.kvb|=hr.vvb;return ivb};uq.prototype.wvb=function(jdb,tlb){if(tlb===undefined)tlb=0.0;var fvb=new er();fvb.jdb=jdb;fvb.tlb=tlb;return this.evb(fvb)};uq.prototype.xvb=function(ivb){if(this.gvb.hvb()==!0){return }var xdb=this.qvb;var yvb=null;var zvb=!1;while(xdb!=null){if(xdb==ivb){if(yvb)yvb.pvb=ivb.pvb;else this.qvb=ivb.pvb;zvb=!0;break}yvb=xdb;xdb=xdb.pvb}var tw=this.awb;while(tw){var cg=tw.bwb;
tw=tw.cwb;var dwb=cg.ewb();var fwb=cg.gwb();if(ivb==dwb||ivb==fwb){this.gvb.nvb.hwb(cg)}}if(this.kvb&uq.lvb){var mvb=this.gvb.nvb.ovb;ivb.deb(mvb)}else {}ivb.hwb();ivb.svb=null;ivb.pvb=null;--this.rvb;this.uvb()};uq.prototype.iwb=function(position,bob){if(bob===undefined)bob=0;var gib;if(this.gvb.hvb()==!0){return }this.uub.aw.hv(bob);this.uub.position.gz(position);var zv=this.uub.aw;var jv=this.vub.gub;this.vub.cg.dg=(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);this.vub.cg.eg=(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);this.vub.cg.dg+=this.uub.position.dg;
this.vub.cg.eg+=this.uub.position.eg;this.vub.hub.gz(this.vub.cg);this.vub.iub=this.vub.xab=bob;var mvb=this.gvb.nvb.ovb;for(gib=this.qvb;gib;gib=gib.pvb){gib.jwb(mvb,this.uub,this.uub)}this.gvb.nvb.kwb()};uq.prototype.lwb=function(mgb){this.iwb(mgb.position,mgb.isb())};uq.prototype.ikb=function(){return this.uub};uq.prototype.mwb=function(){return this.uub.position};uq.prototype.nwb=function(position){this.iwb(position,this.isb())};uq.prototype.isb=function(){return this.vub.xab};uq.prototype.owb=function(bob){
if(bob===undefined)bob=0;this.iwb(this.mwb(),bob)};uq.prototype.pwb=function(){return this.vub.cg;};uq.prototype.qwb=function(){return this.vub.gub};uq.prototype.rwb=function(qo){if(this.by==uq.swb){return }this.wub.gz(qo)};uq.prototype.twb=function(){return this.wub};uq.prototype.uwb=function(vwb){if(vwb===undefined)vwb=0;if(this.by==uq.swb){return }this.wwb=vwb};uq.prototype.xwb=function(){return this.wwb};uq.prototype.ywb=function(){var zwb=new vq();zwb.type=this.kdb();zwb.axb=(this.kvb&uq.bxb)==uq.bxb;
zwb.bob=this.isb();zwb.cxb=this.dxb;zwb.exb=this.wwb;zwb.fxb=(this.kvb&uq.gxb)==uq.gxb;zwb.hxb=(this.kvb&uq.ixb)==uq.ixb;zwb.jxb=(this.kvb&uq.kxb)==uq.kxb;zwb.lxb=this.mxb;zwb.nxb.gz(this.twb());zwb.position=this.mwb();zwb.wdb=this.peb();return zwb};uq.prototype.oxb=function(pxb,qxb){if(this.by!=uq.rxb){return }if(this.sxb()==!1){this.txb(!0)}this.xub.dg+=pxb.dg;this.xub.eg+=pxb.eg;this.uxb+=((qxb.dg-this.vub.cg.dg)*pxb.eg-(qxb.eg-this.vub.cg.eg)*pxb.dg)};uq.prototype.vxb=function(wxb){if(wxb===undefined)wxb=0;
if(this.by!=uq.rxb){return }if(this.sxb()==!1){this.txb(!0)}this.uxb+=wxb};uq.prototype.xxb=function(yxb,qxb){if(this.by!=uq.rxb){return }if(this.sxb()==!1){this.txb(!0)}this.wub.dg+=this.zxb*yxb.dg;this.wub.eg+=this.zxb*yxb.eg;this.wwb+=this.ayb*((qxb.dg-this.vub.cg.dg)*yxb.eg-(qxb.eg-this.vub.cg.eg)*yxb.dg)};uq.prototype.byb=function(reb){var nxb=this.twb().cbb();var exb=this.xwb();var cfb=this.pwb();var cyb=this;var dyb=this.gvb.eyb(this.ywb());var fyb;for(var gib=cyb.qvb;gib;){if(reb(gib)){var cwb=gib.pvb;
if(fyb){fyb.pvb=cwb}else {cyb.qvb=cwb}cyb.rvb--;gib.pvb=dyb.qvb;dyb.qvb=gib;dyb.rvb++;gib.svb=dyb;gib=cwb}else {fyb=gib;gib=gib.pvb}}cyb.uvb();dyb.uvb();var gyb=cyb.pwb();var hyb=dyb.pwb();var iyb=pq.itb(nxb,pq.veb(exb,pq.ucb(gyb,cfb)));var jyb=pq.itb(nxb,pq.veb(exb,pq.ucb(hyb,cfb)));cyb.rwb(iyb);dyb.rwb(jyb);cyb.uwb(exb);dyb.uwb(exb);cyb.kyb();dyb.kyb();return dyb};uq.prototype.lyb=function(fu){var gib;for(gib=fu.qvb;gib;){var cwb=gib.pvb;fu.rvb--;gib.pvb=this.qvb;this.qvb=gib;this.rvb++;gib.svb=dyb;gib=cwb}
cyb.rvb=0;var cyb=this;var dyb=fu;var gyb=cyb.pwb();var hyb=dyb.pwb();var iyb=cyb.twb().cbb();var jyb=dyb.twb().cbb();var myb=cyb.xwb();var nyb=dyb.xwb();cyb.uvb();this.kyb()};uq.prototype.oyb=function(){return this.pyb};uq.prototype.qyb=function(){return this.ryb};uq.prototype.syb=function(data){data.ulb=this.pyb;data.wlb=this.ryb;data.cfb.gz(this.vub.gub)};uq.prototype.tyb=function(slb){mq.jcb(this.gvb.hvb()==!1);if(this.gvb.hvb()==!0){return }if(this.by!=uq.rxb){return }this.zxb=0.0;this.ryb=0.0;this.ayb=0.0;
this.pyb=slb.ulb;if(this.pyb<=0.0){this.pyb=1.0}this.zxb=1.0/this.pyb;if(slb.wlb>0.0&&(this.kvb&uq.gxb)==0){this.ryb=slb.wlb-this.pyb*(slb.cfb.dg*slb.cfb.dg+slb.cfb.eg*slb.cfb.eg);this.ayb=1.0/this.ryb}var uyb=this.vub.cg.cbb();this.vub.gub.gz(slb.cfb);this.vub.hub.gz(pq.rcb(this.uub,this.vub.gub));this.vub.cg.gz(this.vub.hub);this.wub.dg+=this.wwb*(-(this.vub.cg.eg-uyb.eg));this.wub.eg+=this.wwb*(+(this.vub.cg.dg-uyb.dg))};uq.prototype.uvb=function(){this.pyb=0.0;this.zxb=0.0;this.ryb=0.0;this.ayb=0.0;
this.vub.gub.zz();if(this.by==uq.swb||this.by==uq.vyb){return }var cfb=sq.nub(0,0);for(var gib=this.qvb;gib;gib=gib.pvb){if(gib.tvb==0.0){continue}var slb=gib.syb();this.pyb+=slb.ulb;cfb.dg+=slb.cfb.dg*slb.ulb;cfb.eg+=slb.cfb.eg*slb.ulb;this.ryb+=slb.wlb}if(this.pyb>0.0){this.zxb=1.0/this.pyb;cfb.dg*=this.zxb;cfb.eg*=this.zxb}else {this.pyb=1.0;this.zxb=1.0}if(this.ryb>0.0&&(this.kvb&uq.gxb)==0){this.ryb-=this.pyb*(cfb.dg*cfb.dg+cfb.eg*cfb.eg);this.ryb*=this.wyb;mq.jcb(this.ryb>0);this.ayb=1.0/this.ryb}
else {this.ryb=0.0;this.ayb=0.0}var uyb=this.vub.cg.cbb();this.vub.gub.gz(cfb);this.vub.hub.gz(pq.rcb(this.uub,this.vub.gub));this.vub.cg.gz(this.vub.hub);this.wub.dg+=this.wwb*(-(this.vub.cg.eg-uyb.eg));this.wub.eg+=this.wwb*(+(this.vub.cg.dg-uyb.dg));};uq.prototype.xyb=function(yyb){var etb=this.uub.aw;var ftb=new sq(etb.cw.dg*yyb.dg+etb.dw.dg*yyb.eg,etb.cw.eg*yyb.dg+etb.dw.eg*yyb.eg);ftb.dg+=this.uub.position.dg;ftb.eg+=this.uub.position.eg;return ftb};uq.prototype.zyb=function(azb){return pq.dib(this.uub.aw,
azb)};uq.prototype.bzb=function(czb){return pq.htb(this.uub,czb)};uq.prototype.dzb=function(ezb){return pq.ocb(this.uub.aw,ezb)};uq.prototype.fzb=function(czb){return new sq(this.wub.dg-this.wwb*(czb.eg-this.vub.cg.eg),this.wub.eg+this.wwb*(czb.dg-this.vub.cg.dg));};uq.prototype.gzb=function(yyb){var etb=this.uub.aw;var czb=new sq(etb.cw.dg*yyb.dg+etb.dw.dg*yyb.eg,etb.cw.eg*yyb.dg+etb.dw.eg*yyb.eg);czb.dg+=this.uub.position.dg;czb.eg+=this.uub.position.eg;return new sq(this.wub.dg-this.wwb*(czb.eg-this.vub.cg.eg),
this.wub.eg+this.wwb*(czb.dg-this.vub.cg.dg))};uq.prototype.hzb=function(){return this.mxb};uq.prototype.izb=function(lxb){if(lxb===undefined)lxb=0;this.mxb=lxb};uq.prototype.jzb=function(){return this.dxb};uq.prototype.kzb=function(cxb){if(cxb===undefined)cxb=0;this.dxb=cxb;};uq.prototype.lzb=function(type){if(type===undefined)type=0;if(this.by==type){return }this.by=type;this.uvb();if(this.by==uq.swb){this.wub.zz();this.wwb=0.0}this.txb(!0);this.xub.zz();this.uxb=0.0;for(var mzb=this.awb;mzb;mzb=mzb.cwb){
mzb.bwb.nzb()}};uq.prototype.kdb=function(){return this.by};uq.prototype.ozb=function(pzb){if(pzb){this.kvb|=uq.ixb}else {this.kvb&=~uq.ixb}};uq.prototype.qzb=function(){return(this.kvb&uq.ixb)==uq.ixb};uq.prototype.rzb=function(pzb){if(pzb){this.kvb|=uq.bxb}else {this.kvb&=~uq.bxb;this.txb(!0)}};uq.prototype.txb=function(pzb){if(pzb){this.kvb|=uq.kxb;this.szb=0.0}else {this.kvb&=~uq.kxb;this.szb=0.0;this.wub.zz();this.wwb=0.0;this.xub.zz();this.uxb=0.0}};uq.prototype.sxb=function(){return(this.kvb&uq.kxb)==uq.kxb}
;uq.prototype.tzb=function(fixed){if(fixed){this.kvb|=uq.gxb}else {this.kvb&=~uq.gxb}this.uvb()};uq.prototype.uzb=function(){return(this.kvb&uq.gxb)==uq.gxb};uq.prototype.vzb=function(pzb){if(pzb==this.wzb()){return }var mvb;var gib;if(pzb){this.kvb|=uq.lvb;mvb=this.gvb.nvb.ovb;for(gib=this.qvb;gib;gib=gib.pvb){gib.vdb(mvb,this.uub)}}else {this.kvb&=~uq.lvb;mvb=this.gvb.nvb.ovb;for(gib=this.qvb;gib;gib=gib.pvb){gib.deb(mvb)}var mzb=this.awb;while(mzb){var xzb=mzb;mzb=mzb.cwb;this.gvb.nvb.hwb(xzb.bwb)}this.awb=null}
};uq.prototype.wzb=function(){return(this.kvb&uq.lvb)==uq.lvb};uq.prototype.yzb=function(){return(this.kvb&uq.bxb)==uq.bxb};uq.prototype.zzb=function(){return this.qvb};uq.prototype.aac=function(){return this.bac};uq.prototype.cac=function(){return this.dac};uq.prototype.eac=function(){return this.awb};uq.prototype.fac=function(){return this.pvb};uq.prototype.peb=function(){return this.gac};uq.prototype.hac=function(data){this.gac=data};uq.prototype.iac=function(){return this.gvb};uq.prototype.uq=function(zwb,
jac){this.kvb=0;if(zwb.hxb){this.kvb|=uq.ixb}if(zwb.fxb){this.kvb|=uq.gxb}if(zwb.axb){this.kvb|=uq.bxb}if(zwb.jxb){this.kvb|=uq.kxb}if(zwb.kac){this.kvb|=uq.lvb}this.gvb=jac;this.uub.position.gz(zwb.position);this.uub.aw.hv(zwb.bob);this.vub.gub.zz();this.vub.ckb=1.0;this.vub.iub=this.vub.xab=zwb.bob;var zv=this.uub.aw;var jv=this.vub.gub;this.vub.cg.dg=(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);this.vub.cg.eg=(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);this.vub.cg.dg+=this.uub.position.dg;this.vub.cg.eg+=this.uub.position.eg;
this.vub.hub.gz(this.vub.cg);this.bac=null;this.dac=null;this.awb=null;this.lac=0;this.mac=null;this.pvb=null;this.wub.gz(zwb.nxb);this.wwb=zwb.exb;this.mxb=zwb.lxb;this.dxb=zwb.cxb;this.xub.hv(0.0,0.0);this.uxb=0.0;this.szb=0.0;this.by=zwb.type;if(this.by==uq.rxb){this.pyb=1.0;this.zxb=1.0}else {this.pyb=0.0;this.zxb=0.0}this.ryb=0.0;this.ayb=0.0;this.wyb=zwb.nac;this.gac=zwb.wdb;this.qvb=null;this.rvb=0};uq.prototype.kyb=function(){var nv=uq.oac;nv.aw.hv(this.vub.iub);var zv=nv.aw;var jv=this.vub.gub;
nv.position.dg=this.vub.hub.dg-(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);nv.position.eg=this.vub.hub.eg-(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);var gib;var mvb=this.gvb.nvb.ovb;for(gib=this.qvb;gib;gib=gib.pvb){gib.jwb(mvb,nv,this.uub)}};uq.prototype.pac=function(){this.uub.aw.hv(this.vub.xab);var zv=this.uub.aw;var jv=this.vub.gub;this.uub.position.dg=this.vub.cg.dg-(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);this.uub.position.eg=this.vub.cg.eg-(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg)};uq.prototype.qac=function(fu){if(this.by!=uq.rxb&&fu.by!=uq.rxb){
return !1}for(var rac=this.bac;rac;rac=rac.cwb){if(rac.fu==fu)if(rac.sac.tac==!1){return !1}}return !0};uq.prototype.jub=function(iib){if(iib===undefined)iib=0;this.vub.jub(iib);this.vub.cg.gz(this.vub.hub);this.vub.xab=this.vub.iub;this.pac()};xn.at.push(function(){xn.wo.uq.oac=new rq();xn.wo.uq.uac=0x0001;xn.wo.uq.kxb=0x0002;xn.wo.uq.bxb=0x0004;xn.wo.uq.ixb=0x0008;xn.wo.uq.gxb=0x0010;xn.wo.uq.lvb=0x0020;xn.wo.uq.swb=0;xn.wo.uq.vyb=1;xn.wo.uq.rxb=2});vq.vq=function(){this.position=new sq();this.nxb=new sq()}
;vq.prototype.vq=function(){this.wdb=null;this.position.hv(0.0,0.0);this.bob=0.0;this.nxb.hv(0,0);this.exb=0.0;this.lxb=0.0;this.cxb=0.0;this.axb=!0;this.jxb=!0;this.fxb=!1;this.hxb=!1;this.type=uq.swb;this.kac=!0;this.nac=1.0};wq.wq=function(){};wq.prototype.qac=function(dwb,fwb){var vac=dwb.wac();var xac=fwb.wac();if(vac.yac==xac.yac&&vac.yac!=0){return vac.yac>0}var zac=(vac.abc&xac.bbc)!=0&&(vac.bbc&xac.abc)!=0;return zac};wq.prototype.cbc=function(wdb,ivb){if(!wdb)return !0;return this.qac((wdb instanceof dr?wdb:null),
ivb)};xn.at.push(function(){xn.wo.wq.dbc=new wq()});xq.xq=function(){this.ebc=new so(mq.jz);this.fbc=new so(mq.jz)};yq.yq=function(){};yq.prototype.gbc=function(bwb){};yq.prototype.hbc=function(bwb){};yq.prototype.ibc=function(bwb,jbc){};yq.prototype.kbc=function(bwb,yxb){};xn.at.push(function(){xn.wo.yq.lbc=new yq()});zq.zq=function(){};zq.prototype.zq=function(){this.gvb=null;this.mbc=0;this.nbc=wq.dbc;this.obc=yq.lbc;this.pbc=new nr(this.qbc);this.ovb=new mp()};zq.prototype.rbc=function(sbc,tbc){var dwb=(sbc instanceof dr?sbc:null);
var fwb=(tbc instanceof dr?tbc:null);var ubc=dwb.vbc();var wbc=fwb.vbc();if(ubc==wbc)return;var tw=wbc.eac();while(tw){if(tw.fu==ubc){var xbc=tw.bwb.ewb();var ybc=tw.bwb.gwb();if(xbc==dwb&&ybc==fwb)return;if(xbc==fwb&&ybc==dwb)return }tw=tw.cwb}if(wbc.qac(ubc)==!1){return }if(this.nbc.qac(dwb,fwb)==!1){return }var cg=this.pbc.jvb(dwb,fwb);dwb=cg.ewb();fwb=cg.gwb();ubc=dwb.svb;wbc=fwb.svb;cg.mac=null;cg.pvb=this.gvb.awb;if(this.gvb.awb!=null){this.gvb.awb.mac=cg}this.gvb.awb=cg;cg.zbc.bwb=cg;cg.zbc.fu=wbc;cg.zbc.fyb=null;
cg.zbc.cwb=ubc.awb;if(ubc.awb!=null){ubc.awb.fyb=cg.zbc}ubc.awb=cg.zbc;cg.acc.bwb=cg;cg.acc.fu=ubc;cg.acc.fyb=null;cg.acc.cwb=wbc.awb;if(wbc.awb!=null){wbc.awb.fyb=cg.acc}wbc.awb=cg.acc;++this.gvb.mbc;return };zq.prototype.kwb=function(){this.ovb.tfb(xn.io(this,this.rbc))};zq.prototype.hwb=function(cg){var dwb=cg.ewb();var fwb=cg.gwb();var ubc=dwb.vbc();var wbc=fwb.vbc();if(cg.bcc()){this.obc.hbc(cg)}if(cg.mac){cg.mac.pvb=cg.pvb}if(cg.pvb){cg.pvb.mac=cg.mac}if(cg==this.gvb.awb){this.gvb.awb=cg.pvb}if(cg.zbc.fyb){
cg.zbc.fyb.cwb=cg.zbc.cwb}if(cg.zbc.cwb){cg.zbc.cwb.fyb=cg.zbc.fyb}if(cg.zbc==ubc.awb){ubc.awb=cg.zbc.cwb}if(cg.acc.fyb){cg.acc.fyb.cwb=cg.acc.cwb}if(cg.acc.cwb){cg.acc.cwb.fyb=cg.acc.fyb}if(cg.acc==wbc.awb){wbc.awb=cg.acc.cwb}this.pbc.hwb(cg);--this.mbc};zq.prototype.ccc=function(){var cg=this.gvb.awb;while(cg){var dwb=cg.ewb();var fwb=cg.gwb();var ubc=dwb.vbc();var wbc=fwb.vbc();if(ubc.sxb()==!1&&wbc.sxb()==!1){cg=cg.fac();continue}if(cg.kvb&jr.dcc){if(wbc.qac(ubc)==!1){var ecc=cg;cg=ecc.fac();this.hwb(ecc);
continue}if(this.nbc.qac(dwb,fwb)==!1){ecc=cg;cg=ecc.fac();this.hwb(ecc);continue}cg.kvb&=~jr.dcc}var lbb=dwb.fcc;var mbb=fwb.fcc;var gcc=this.ovb.eu(lbb,mbb);if(gcc==!1){ecc=cg;cg=ecc.fac();this.hwb(ecc);continue}cg.hcc(this.obc);cg=cg.fac()}};xn.at.push(function(){xn.wo.zq.icc=new gp()});ar.ar=function(){};ar.prototype.ar=function(){};ar.prototype.jcc=function(kcc){if(kcc===undefined)kcc=0};ar.prototype.lcc=function(){};ar.prototype.mcc=function(kcc){if(kcc===undefined)kcc=0};ar.prototype.ncc=function(kcc){
if(kcc===undefined)kcc=0};ar.prototype.occ=function(pcc){};ar.prototype.qcc=function(){};ar.prototype.rcc=function(scc){if(scc===undefined)scc=0};ar.prototype.tcc=function(){};ar.prototype.ucc=function(vcc){if(vcc===undefined)vcc=0};ar.prototype.wcc=function(){};ar.prototype.xcc=function(ekb){if(ekb===undefined)ekb=0};ar.prototype.ycc=function(){};ar.prototype.zcc=function(ekb){if(ekb===undefined)ekb=0};ar.prototype.adc=function(){};ar.prototype.bdc=function(cdc){if(cdc===undefined)cdc=0};ar.prototype.ddc=function(){
};ar.prototype.edc=function(nab,mab,color){if(mab===undefined)mab=0};ar.prototype.fdc=function(nab,mab,color){if(mab===undefined)mab=0};ar.prototype.gdc=function(cfb,xz,color){if(xz===undefined)xz=0;};ar.prototype.hdc=function(cfb,xz,idc,color){if(xz===undefined)xz=0};ar.prototype.jdc=function(st,ut,color){};ar.prototype.kdc=function(mgb){};xn.at.push(function(){xn.wo.ar.ldc=0x0001;xn.wo.ar.mdc=0x0002;xn.wo.ar.ndc=0x0004;xn.wo.ar.odc=0x0008;xn.wo.ar.pdc=0x0010;xn.wo.ar.qdc=0x0020});br.br=function(){
};br.prototype.rdc=function(sac){};br.prototype.sdc=function(ivb){};cr.cr=function(){this.bbc=0x00000001;this.abc=0xFFFFFFFF;this.yac=0};cr.prototype.cbb=function(){var igb=new cr();igb.bbc=this.bbc;igb.abc=this.abc;igb.yac=this.yac;return igb};dr.dr=function(){this.tdc=new cr()};dr.prototype.kdb=function(){return this.udc.kdb()};dr.prototype.vdc=function(){return this.udc};dr.prototype.wdc=function(xdc){if(this.ydc==xdc)return;this.ydc=xdc;if(this.svb==null)return;var tw=this.svb.eac();while(tw){var bwb=tw.bwb;
var dwb=bwb.ewb();var fwb=bwb.gwb();if(dwb==this||fwb==this)bwb.wdc(dwb.zdc()||fwb.zdc());tw=tw.cwb}};dr.prototype.zdc=function(){return this.ydc};dr.prototype.aec=function(bec){this.tdc=bec.cbb();if(this.svb)return;var tw=this.svb.eac();while(tw){var bwb=tw.bwb;var dwb=bwb.ewb();var fwb=bwb.gwb();if(dwb==this||fwb==this)bwb.nzb();tw=tw.cwb}};dr.prototype.wac=function(){return this.tdc.cbb()};dr.prototype.vbc=function(){return this.svb};dr.prototype.fac=function(){return this.pvb};dr.prototype.peb=function(){
return this.gac};dr.prototype.hac=function(data){this.gac=data};dr.prototype.llb=function(ao){return this.udc.llb(this.svb.ikb(),ao)};dr.prototype.mt=function(nt,ot){return this.udc.mt(nt,ot,this.svb.ikb())};dr.prototype.syb=function(slb){if(slb===undefined)slb=null;if(slb==null){slb=new hq()}this.udc.rlb(slb,this.tvb);return slb};dr.prototype.cec=function(tlb){if(tlb===undefined)tlb=0;this.tvb=tlb};dr.prototype.dec=function(){return this.tvb};dr.prototype.eec=function(){return this.fec};dr.prototype.gec=function(hec){
if(hec===undefined)hec=0;this.fec=hec};dr.prototype.iec=function(){return this.jec};dr.prototype.kec=function(lec){if(lec===undefined)lec=0;this.jec=lec;};dr.prototype.mec=function(){return this.nec};dr.prototype.dr=function(){this.nec=new bp();this.gac=null;this.svb=null;this.pvb=null;this.udc=null;this.tvb=0.0;this.fec=0.0;this.jec=0.0};dr.prototype.jvb=function(body,mgb,fvb){this.gac=fvb.wdb;this.fec=fvb.hec;this.jec=fvb.lec;this.svb=body;this.pvb=null;this.tdc=fvb.bec.cbb();this.ydc=fvb.oec;this.udc=fvb.jdb.cbb();
this.tvb=fvb.tlb};dr.prototype.hwb=function(){this.udc=null};dr.prototype.vdb=function(mvb,mgb){this.udc.qlb(this.nec,mgb);this.fcc=mvb.vdb(this.nec,this)};dr.prototype.deb=function(mvb){if(this.fcc==null){return }mvb.deb(this.fcc);this.fcc=null};dr.prototype.jwb=function(mvb,nqb,pqb){if(!this.fcc)return;var lu=new bp();var mu=new bp();this.udc.qlb(lu,nqb);this.udc.qlb(mu,pqb);this.nec.ku(lu,mu);var heb=pq.ucb(pqb.position,nqb.position);mvb.geb(this.fcc,this.nec,heb)};er.er=function(){this.bec=new cr()}
;er.prototype.er=function(){this.jdb=null;this.wdb=null;this.hec=0.2;this.lec=0.0;this.tlb=0.0;this.bec.bbc=0x00000001;this.bec.abc=0xFFFFFFFF;this.bec.yac=0;this.oec=!1};fr.fr=function(){};fr.prototype.fr=function(){this.pec=new ro();this.qec=new ro();this.rec=new ro()};fr.prototype.ihb=function(sec,tec,uec,vec,listener,wec){if(sec===undefined)sec=0;if(tec===undefined)tec=0;if(uec===undefined)uec=0;var bg=0;this.xec=sec;this.yec=tec;this.zec=uec;this.afc=0;this.mbc=0;this.bfc=0;this.qbc=vec;this.cfc=listener;
this.dfc=wec;for(bg=this.pec.length;bg<sec;bg++)this.pec[bg]=null;for(bg=this.qec.length;bg<tec;bg++)this.qec[bg]=null;for(bg=this.rec.length;bg<uec;bg++)this.rec[bg]=null;};fr.prototype.efc=function(){this.afc=0;this.mbc=0;this.bfc=0};fr.prototype.msb=function(ffc,gfc,axb){var bg=0;var jqb=0;var qu;var sac;for(bg=0;bg<this.afc;++bg){qu=this.pec[bg];if(qu.kdb()!=uq.rxb)continue;qu.wub.dg+=ffc.hfc*(gfc.dg+qu.zxb*qu.xub.dg);qu.wub.eg+=ffc.hfc*(gfc.eg+qu.zxb*qu.xub.eg);qu.wwb+=ffc.hfc*qu.ayb*qu.uxb;qu.wub.wpb(pq.hib(1.0-ffc.hfc*qu.mxb,
0.0,1.0));qu.wwb*=pq.hib(1.0-ffc.hfc*qu.dxb,0.0,1.0)}this.dfc.ihb(ffc,this.qec,this.mbc,this.qbc);var wec=this.dfc;wec.ifc(ffc);for(bg=0;bg<this.bfc;++bg){sac=this.rec[bg];sac.ifc(ffc)}for(bg=0;bg<ffc.jfc;++bg){for(jqb=0;jqb<this.bfc;++jqb){sac=this.rec[jqb];sac.kfc(ffc)}wec.kfc()}for(bg=0;bg<this.bfc;++bg){sac=this.rec[bg];sac.lfc()}wec.lfc();for(bg=0;bg<this.afc;++bg){qu=this.pec[bg];if(qu.kdb()==uq.swb)continue;var mfc=ffc.hfc*qu.wub.dg;var nfc=ffc.hfc*qu.wub.eg;if((mfc*mfc+nfc*nfc)>mq.srb){qu.wub.jy();
qu.wub.dg*=mq.rrb*ffc.ofc;qu.wub.eg*=mq.rrb*ffc.ofc}var ci=ffc.hfc*qu.wwb;if(ci*ci>mq.urb){if(qu.wwb<0.0){qu.wwb=(-mq.trb*ffc.ofc)}else {qu.wwb=mq.trb*ffc.ofc}}qu.vub.hub.gz(qu.vub.cg);qu.vub.iub=qu.vub.xab;qu.vub.cg.dg+=ffc.hfc*qu.wub.dg;qu.vub.cg.eg+=ffc.hfc*qu.wub.eg;qu.vub.xab+=ffc.hfc*qu.wwb;qu.pac()}for(bg=0;bg<ffc.pfc;++bg){var qfc=wec.rfc(mq.vrb);var sfc=!0;for(jqb=0;jqb<this.bfc;++jqb){sac=this.rec[jqb];var tfc=sac.rfc(mq.vrb);sfc=sfc&&tfc}if(qfc&&sfc){break}}this.ufc(wec.vfc);if(axb){var wfc=Number.MAX_VALUE;
var xfc=mq.xrb*mq.xrb;var yfc=mq.yrb*mq.yrb;for(bg=0;bg<this.afc;++bg){qu=this.pec[bg];if(qu.kdb()==uq.swb){continue}if((qu.kvb&uq.bxb)==0){qu.szb=0.0;wfc=0.0}if((qu.kvb&uq.bxb)==0||qu.wwb*qu.wwb>yfc||pq.fjb(qu.wub,qu.wub)>xfc){qu.szb=0.0;wfc=0.0}else {qu.szb+=ffc.hfc;wfc=pq.rtb(wfc,qu.szb)}}if(wfc>=mq.wrb){for(bg=0;bg<this.afc;++bg){qu=this.pec[bg];qu.txb(!1)}}}};fr.prototype.zfc=function(agc){var bg=0;var jqb=0;this.dfc.ihb(agc,this.qec,this.mbc,this.qbc);var wec=this.dfc;for(bg=0;bg<this.bfc;++bg){
this.rec[bg].ifc(agc)}for(bg=0;bg<agc.jfc;++bg){wec.kfc();for(jqb=0;jqb<this.bfc;++jqb){this.rec[jqb].kfc(agc)}}for(bg=0;bg<this.afc;++bg){var qu=this.pec[bg];if(qu.kdb()==uq.swb)continue;var mfc=agc.hfc*qu.wub.dg;var nfc=agc.hfc*qu.wub.eg;if((mfc*mfc+nfc*nfc)>mq.srb){qu.wub.jy();qu.wub.dg*=mq.rrb*agc.ofc;qu.wub.eg*=mq.rrb*agc.ofc}var ci=agc.hfc*qu.wwb;if(ci*ci>mq.urb){if(qu.wwb<0.0){qu.wwb=(-mq.trb*agc.ofc)}else {qu.wwb=mq.trb*agc.ofc}}qu.vub.hub.gz(qu.vub.cg);qu.vub.iub=qu.vub.xab;qu.vub.cg.dg+=agc.hfc*qu.wub.dg;
qu.vub.cg.eg+=agc.hfc*qu.wub.eg;qu.vub.xab+=agc.hfc*qu.wwb;qu.pac()}var bgc=0.75;for(bg=0;bg<agc.pfc;++bg){var qfc=wec.rfc(bgc);var sfc=!0;for(jqb=0;jqb<this.bfc;++jqb){var tfc=this.rec[jqb].rfc(mq.vrb);sfc=sfc&&tfc}if(qfc&&sfc){break;}}this.ufc(wec.vfc)};fr.prototype.ufc=function(cgc){if(this.cfc==null){return }for(var bg=0;bg<this.mbc;++bg){var cg=this.qec[bg];var dgc=cgc[bg];for(var jqb=0;jqb<dgc.iz;++jqb){fr.egc.ebc[jqb]=dgc.fgc[jqb].ggc;fr.egc.fbc[jqb]=dgc.fgc[jqb].hgc}this.cfc.kbc(cg,fr.egc)}};fr.prototype.igc=function(body){
body.jgc=this.afc;this.pec[this.afc++]=body};fr.prototype.kgc=function(bwb){this.qec[this.mbc++]=bwb};fr.prototype.lgc=function(sac){this.rec[this.bfc++]=sac};xn.at.push(function(){xn.wo.fr.egc=new xq();});gr.gr=function(){};gr.prototype.hv=function(ffc){this.hfc=ffc.hfc;this.ofc=ffc.ofc;this.pfc=ffc.pfc;this.jfc=ffc.jfc;this.mgc=ffc.mgc};hr.hr=function(){this.ngc=new ro();this.nvb=new zq();this.dfc=new qr();this.ogc=new fr()};hr.prototype.hr=function(gfc,pgc){this.qgc=null;this.rgc=null;this.sgc=null;
this.awb=null;this.bac=null;this.dac=null;this.afc=0;this.mbc=0;this.bfc=0;this.lac=0;hr.tgc=!0;hr.ugc=!0;this.vgc=pgc;this.wgc=gfc;this.xgc=0.0;this.nvb.gvb=this;var zwb=new vq();this.ygc=this.eyb(zwb);};hr.prototype.zgc=function(listener){this.qgc=listener};hr.prototype.ahc=function(bec){this.nvb.nbc=bec};hr.prototype.bhc=function(listener){this.nvb.obc=listener};hr.prototype.chc=function(dhc){this.rgc=dhc};hr.prototype.ehc=function(mvb){var fhc=this.nvb.ovb;this.nvb.ovb=mvb;for(var qu=this.sgc;qu;
qu=qu.pvb){for(var gib=qu.qvb;gib;gib=gib.pvb){gib.fcc=mvb.vdb(fhc.oeb(gib.fcc),gib)}}};hr.prototype.cgb=function(){this.nvb.ovb.cgb()};hr.prototype.sfb=function(){return this.nvb.ovb.sfb()};hr.prototype.eyb=function(fvb){if(this.hvb()==!0){return null}var qu=new uq(fvb,this);qu.mac=null;qu.pvb=this.sgc;if(this.sgc){this.sgc.mac=qu}this.sgc=qu;++this.afc;return qu};hr.prototype.ghc=function(qu){if(this.hvb()==!0){return }var rac=qu.bac;while(rac){var hhc=rac;rac=rac.cwb;if(this.qgc){this.qgc.rdc(hhc.sac)}
this.ihc(hhc.sac)}var jhc=qu.dac;while(jhc){var khc=jhc;jhc=jhc.lhc;khc.mhc.nhc(qu)}var mzb=qu.awb;while(mzb){var xzb=mzb;mzb=mzb.cwb;this.nvb.hwb(xzb.bwb)}qu.awb=null;var gib=qu.qvb;while(gib){var ohc=gib;gib=gib.pvb;if(this.qgc){this.qgc.sdc(ohc)}ohc.deb(this.nvb.ovb);ohc.hwb()}qu.qvb=null;qu.rvb=0;if(qu.mac){qu.mac.pvb=qu.pvb}if(qu.pvb){qu.pvb.mac=qu.mac}if(qu==this.sgc){this.sgc=qu.pvb}--this.afc};hr.prototype.phc=function(fvb){var jqb=ls.jvb(fvb,null);jqb.mac=null;jqb.pvb=this.bac;if(this.bac){this.bac.mac=jqb}
this.bac=jqb;++this.bfc;jqb.qhc.sac=jqb;jqb.qhc.fu=jqb.rhc;jqb.qhc.fyb=null;jqb.qhc.cwb=jqb.shc.bac;if(jqb.shc.bac)jqb.shc.bac.fyb=jqb.qhc;jqb.shc.bac=jqb.qhc;jqb.thc.sac=jqb;jqb.thc.fu=jqb.shc;jqb.thc.fyb=null;jqb.thc.cwb=jqb.rhc.bac;if(jqb.rhc.bac)jqb.rhc.bac.fyb=jqb.thc;jqb.rhc.bac=jqb.thc;var ubc=fvb.ubc;var wbc=fvb.wbc;if(fvb.uhc==!1){var tw=wbc.eac();while(tw){if(tw.fu==ubc){tw.bwb.nzb()}tw=tw.cwb}}return jqb};hr.prototype.ihc=function(jqb){var uhc=jqb.tac;if(jqb.mac){jqb.mac.pvb=jqb.pvb}if(jqb.pvb){
jqb.pvb.mac=jqb.mac}if(jqb==this.bac){this.bac=jqb.pvb}var ubc=jqb.shc;var wbc=jqb.rhc;ubc.txb(!0);wbc.txb(!0);if(jqb.qhc.fyb){jqb.qhc.fyb.cwb=jqb.qhc.cwb}if(jqb.qhc.cwb){jqb.qhc.cwb.fyb=jqb.qhc.fyb;}if(jqb.qhc==ubc.bac){ubc.bac=jqb.qhc.cwb}jqb.qhc.fyb=null;jqb.qhc.cwb=null;if(jqb.thc.fyb){jqb.thc.fyb.cwb=jqb.thc.cwb}if(jqb.thc.cwb){jqb.thc.cwb.fyb=jqb.thc.fyb}if(jqb.thc==wbc.bac){wbc.bac=jqb.thc.cwb}jqb.thc.fyb=null;jqb.thc.cwb=null;ls.hwb(jqb,null);--this.bfc;if(uhc==!1){var tw=wbc.eac();while(tw){
if(tw.fu==ubc){tw.bwb.nzb()}tw=tw.cwb}}};hr.prototype.vhc=function(cg){cg.pvb=this.dac;cg.mac=null;this.dac=cg;cg.gvb=this;this.lac++;return cg};hr.prototype.whc=function(cg){if(cg.mac)cg.mac.pvb=cg.pvb;if(cg.pvb)cg.pvb.mac=cg.mac;if(this.dac==cg)this.dac=cg.pvb;this.lac--};hr.prototype.xhc=function(mhc){if(mhc.gvb!=this)throw new yhc("Controller can only be a member of one world");mhc.pvb=this.dac;mhc.mac=null;if(this.dac)this.dac.mac=mhc;this.dac=mhc;++this.lac;mhc.gvb=this;return mhc};hr.prototype.zhc=function(mhc){
mhc.efc();if(mhc.pvb)mhc.pvb.mac=mhc.mac;if(mhc.mac)mhc.mac.pvb=mhc.pvb;if(mhc==this.dac)this.dac=mhc.pvb;--this.lac};hr.prototype.aic=function(pzb){hr.tgc=pzb};hr.prototype.bic=function(pzb){hr.ugc=pzb};hr.prototype.cic=function(){return this.afc};hr.prototype.dic=function(){return this.bfc};hr.prototype.eic=function(){return this.mbc};hr.prototype.fic=function(gfc){this.wgc=gfc};hr.prototype.gic=function(){return this.wgc};hr.prototype.hic=function(){return this.ygc};hr.prototype.iic=function(hfc,jfc,
pfc){if(hfc===undefined)hfc=0;if(jfc===undefined)jfc=0;if(pfc===undefined)pfc=0;if(this.kvb&hr.vvb){this.nvb.kwb();this.kvb&=~hr.vvb}this.kvb|=hr.jic;var ffc=hr.kic;ffc.hfc=hfc;ffc.jfc=jfc;ffc.pfc=pfc;if(hfc>0.0){ffc.ofc=1.0/hfc}else {ffc.ofc=0.0}ffc.lic=this.xgc*hfc;ffc.mgc=hr.tgc;this.nvb.ccc();if(ffc.hfc>0.0){this.msb(ffc)}if(hr.ugc&&ffc.hfc>0.0){this.zfc(ffc)}if(ffc.hfc>0.0){this.xgc=ffc.ofc}this.kvb&=~hr.jic};hr.prototype.mic=function(){for(var body=this.sgc;body;body=body.pvb){body.xub.zz();body.uxb=0.0}
};hr.prototype.nic=function(){if(this.rgc==null){return }this.rgc.oic.pic.clear();var kcc=this.rgc.lcc();var bg=0;var qu;var gib;var cu;var jqb;var qic;var ric=new sq;var okb=new sq;var pkb=new sq;var mgb;var sic=new bp();var tic=new bp();var zpb=[new sq(),new sq(),new sq(),new sq()];var color=new lq(0,0,0);if(kcc&ar.ldc){for(qu=this.sgc;qu;qu=qu.pvb){mgb=qu.uub;for(gib=qu.zzb();gib;gib=gib.pvb){cu=gib.vdc();if(qu.wzb()==!1){color.hv(0.5,0.5,0.3);this.uic(cu,mgb,color)}else if(qu.kdb()==uq.swb){color.hv(0.5,0.9,0.5);this.uic(cu,
mgb,color)}else if(qu.kdb()==uq.vyb){color.hv(0.5,0.5,0.9);this.uic(cu,mgb,color)}else if(qu.sxb()==!1){color.hv(0.6,0.6,0.6);this.uic(cu,mgb,color)}else {color.hv(0.9,0.7,0.7);this.uic(cu,mgb,color)}}}}if(kcc&ar.mdc){for(jqb=this.bac;jqb;jqb=jqb.pvb){this.vic(jqb)}}if(kcc&ar.qdc){for(var cg=this.dac;cg;cg=cg.pvb){cg.wic(this.rgc)}}if(kcc&ar.odc){color.hv(0.3,0.9,0.9);for(var bwb=this.nvb.awb;bwb;bwb=bwb.fac()){var dwb=bwb.ewb();var fwb=bwb.gwb();var xic=dwb.mec().ht();var yic=fwb.mec().ht();this.rgc.jdc(xic,
yic,color)}}if(kcc&ar.ndc){qic=this.nvb.ovb;zpb=[new sq(),new sq(),new sq(),new sq()];for(qu=this.sgc;qu;qu=qu.fac()){if(qu.wzb()==!1){continue}for(gib=qu.zzb();gib;gib=gib.fac()){var kt=qic.oeb(gib.fcc);zpb[0].hv(kt.bt.dg,kt.bt.eg);zpb[1].hv(kt.ct.dg,kt.bt.eg);zpb[2].hv(kt.ct.dg,kt.ct.eg);zpb[3].hv(kt.bt.dg,kt.ct.eg);this.rgc.edc(zpb,4,color)}}}if(kcc&ar.pdc){for(qu=this.sgc;qu;qu=qu.pvb){mgb=hr.zic;mgb.aw=qu.uub.aw;mgb.position=qu.pwb();this.rgc.kdc(mgb)}}};hr.prototype.ajc=function(reb,kt){var ufb=this;
var mvb=ufb.nvb.ovb;function bjc(tu){return reb(mvb.peb(tu))};mvb.qeb(bjc,kt)};hr.prototype.cjc=function(reb,jdb,transform){var ufb=this;if(transform===undefined)transform=null;if(transform==null){transform=new rq();transform.zrb();}var mvb=ufb.nvb.ovb;function bjc(tu){var ivb=(mvb.peb(tu) instanceof dr?mvb.peb(tu):null);if(jq.eu(jdb,transform,ivb.vdc(),ivb.vbc().ikb()))return reb(ivb);return !0};var kt=new bp();jdb.qlb(kt,transform);mvb.qeb(bjc,kt)};hr.prototype.djc=function(reb,ao){var ufb=this;var mvb=ufb.nvb.ovb;
function bjc(tu){var ivb=(mvb.peb(tu) instanceof dr?mvb.peb(tu):null);if(ivb.llb(ao))return reb(ivb);return !0};var kt=new bp();kt.bt.hv(ao.dg-mq.sqb,ao.eg-mq.sqb);kt.ct.hv(ao.dg+mq.sqb,ao.eg+mq.sqb);mvb.qeb(bjc,kt)};hr.prototype.mt=function(reb,ejc,fjc){var ufb=this;var mvb=ufb.nvb.ovb;var nt=new tp;function gjc(ot,tu){var wdb=mvb.peb(tu);var ivb=(wdb instanceof dr?wdb:null);var hjc=ivb.mt(nt,ot);if(hjc){var du=nt.du;var qxb=new sq((1.0-du)*ejc.dg+du*fjc.dg,(1.0-du)*ejc.eg+du*fjc.eg);return reb(ivb,qxb,nt.xt,du)}return ot.yeb}
;var ot=new sp(ejc,fjc);mvb.mt(gjc,ot)};hr.prototype.ijc=function(ejc,fjc){var ufb=this;var lt;function jjc(ivb,qxb,xt,du){if(du===undefined)du=0;lt=ivb;return du};ufb.mt(jjc,ejc,fjc);return lt};hr.prototype.kjc=function(ejc,fjc){var ufb=this;var lt=new ro();function ljc(ivb,qxb,xt,du){if(du===undefined)du=0;lt[lt.length]=ivb;return 1};ufb.mt(ljc,ejc,fjc);return lt};hr.prototype.mjc=function(){return this.sgc};hr.prototype.aac=function(){return this.bac};hr.prototype.eac=function(){return this.awb};hr.prototype.hvb=function(){
return(this.kvb&hr.jic)>0};hr.prototype.msb=function(ffc){var qu;for(var mhc=this.dac;mhc;mhc=mhc.pvb){mhc.iic(ffc)}var njc=this.ogc;njc.ihb(this.afc,this.mbc,this.bfc,null,this.nvb.obc,this.dfc);for(qu=this.sgc;qu;qu=qu.pvb){qu.kvb&=~uq.uac;}for(var cg=this.awb;cg;cg=cg.pvb){cg.kvb&=~jr.uac}for(var jqb=this.bac;jqb;jqb=jqb.pvb){jqb.ojc=!1}var pjc=parseInt(this.afc);var seb=this.ngc;for(var qjc=this.sgc;qjc;qjc=qjc.pvb){if(qjc.kvb&uq.uac){continue}if(qjc.sxb()==!1||qjc.wzb()==!1){continue}if(qjc.kdb()==uq.swb){
continue}njc.efc();var rjc=0;seb[rjc++]=qjc;qjc.kvb|=uq.uac;while(rjc>0){qu=seb[--rjc];njc.igc(qu);if(qu.sxb()==!1){qu.txb(!0)}if(qu.kdb()==uq.swb){continue}var fu;for(var mzb=qu.awb;mzb;mzb=mzb.cwb){if(mzb.bwb.kvb&jr.uac){continue;}if(mzb.bwb.zdc()==!0||mzb.bwb.sjc()==!1||mzb.bwb.bcc()==!1){continue}njc.kgc(mzb.bwb);mzb.bwb.kvb|=jr.uac;fu=mzb.fu;if(fu.kvb&uq.uac){continue}seb[rjc++]=fu;fu.kvb|=uq.uac}for(var rac=qu.bac;rac;rac=rac.cwb){if(rac.sac.ojc==!0){continue}fu=rac.fu;if(fu.wzb()==!1){continue}
njc.lgc(rac.sac);rac.sac.ojc=!0;if(fu.kvb&uq.uac){continue}seb[rjc++]=fu;fu.kvb|=uq.uac}}njc.msb(ffc,this.wgc,this.vgc);for(var bg=0;bg<njc.afc;++bg){qu=njc.pec[bg];if(qu.kdb()==uq.swb){qu.kvb&=~uq.uac}}}for(bg=0;bg<seb.length;++bg){if(!seb[bg])break;seb[bg]=null}for(qu=this.sgc;qu;qu=qu.pvb){if(qu.sxb()==!1||qu.wzb()==!1){continue}if(qu.kdb()==uq.swb){continue}qu.kyb()}this.nvb.kwb()};hr.prototype.zfc=function(ffc){var qu;var xbc;var ybc;var tjc;var ujc;var vjc;var jqb;var njc=this.ogc;njc.ihb(this.afc,
mq.mrb,mq.nrb,null,this.nvb.obc,this.dfc);var wjc=hr.xjc;for(qu=this.sgc;qu;qu=qu.pvb){qu.kvb&=~uq.uac;qu.vub.ckb=0.0}var cg;for(cg=this.awb;cg;cg=cg.pvb){cg.kvb&=~(jr.yjc|jr.uac)}for(jqb=this.bac;jqb;jqb=jqb.pvb){jqb.ojc=!1}for(;;){var zjc=null;var akc=1.0;for(cg=this.awb;cg;cg=cg.pvb){if(cg.zdc()==!0||cg.sjc()==!1||cg.bkc()==!1){continue}var ckc=1.0;if(cg.kvb&jr.yjc){ckc=cg.dkc}else {xbc=cg.ekc;ybc=cg.fkc;tjc=xbc.svb;ujc=ybc.svb;if((tjc.kdb()!=uq.rxb||tjc.sxb()==!1)&&(ujc.kdb()!=uq.rxb||ujc.sxb()==!1)){
continue}var ckb=tjc.vub.ckb;if(tjc.vub.ckb<ujc.vub.ckb){ckb=ujc.vub.ckb;tjc.vub.jub(ckb)}else if(ujc.vub.ckb<tjc.vub.ckb){ckb=tjc.vub.ckb;ujc.vub.jub(ckb)}ckc=cg.gkc(tjc.vub,ujc.vub);mq.jcb(0.0<=ckc&&ckc<=1.0);if(ckc>0.0&&ckc<1.0){ckc=(1.0-ckc)*ckb+ckc;if(ckc>1)ckc=1}cg.dkc=ckc;cg.kvb|=jr.yjc}if(Number.MIN_VALUE<ckc&&ckc<akc){zjc=cg;akc=ckc}}if(zjc==null||1.0-100.0*Number.MIN_VALUE<akc){break}xbc=zjc.ekc;ybc=zjc.fkc;tjc=xbc.svb;ujc=ybc.svb;hr.hkc.hv(tjc.vub);hr.ikc.hv(ujc.vub);tjc.jub(akc);ujc.jub(akc);
zjc.hcc(this.nvb.obc);zjc.kvb&=~jr.yjc;if(zjc.zdc()==!0||zjc.sjc()==!1){tjc.vub.hv(hr.hkc);ujc.vub.hv(hr.ikc);tjc.pac();ujc.pac();continue}if(zjc.bcc()==!1){continue}var qjc=tjc;if(qjc.kdb()!=uq.rxb){qjc=ujc}njc.efc();var jkc=0;var kkc=0;wjc[jkc+kkc++]=qjc;qjc.kvb|=uq.uac;while(kkc>0){qu=wjc[jkc++];--kkc;njc.igc(qu);if(qu.sxb()==!1){qu.txb(!0)}if(qu.kdb()!=uq.rxb){continue}for(vjc=qu.awb;vjc;vjc=vjc.cwb){if(njc.mbc==njc.yec){break}if(vjc.bwb.kvb&jr.uac){continue}if(vjc.bwb.zdc()==!0||vjc.bwb.sjc()==!1||vjc.bwb.bcc()==!1){
continue}njc.kgc(vjc.bwb);vjc.bwb.kvb|=jr.uac;var fu=vjc.fu;if(fu.kvb&uq.uac){continue}if(fu.kdb()!=uq.swb){fu.jub(akc);fu.txb(!0)}wjc[jkc+kkc]=fu;++kkc;fu.kvb|=uq.uac}for(var lkc=qu.bac;lkc;lkc=lkc.cwb){if(njc.bfc==njc.zec)continue;if(lkc.sac.ojc==!0)continue;fu=lkc.fu;if(fu.wzb()==!1){continue}njc.lgc(lkc.sac);lkc.sac.ojc=!0;if(fu.kvb&uq.uac)continue;if(fu.kdb()!=uq.swb){fu.jub(akc);fu.txb(!0)}wjc[jkc+kkc]=fu;++kkc;fu.kvb|=uq.uac}}var agc=hr.mkc;agc.mgc=!1;agc.hfc=(1.0-akc)*ffc.hfc;agc.ofc=1.0/agc.hfc;
agc.lic=0.0;agc.jfc=ffc.jfc;agc.pfc=ffc.pfc;njc.zfc(agc);var bg=0;for(bg=0;bg<njc.afc;++bg){qu=njc.pec[bg];qu.kvb&=~uq.uac;if(qu.sxb()==!1){continue}if(qu.kdb()!=uq.rxb){continue}qu.kyb();for(vjc=qu.awb;vjc;vjc=vjc.cwb){vjc.bwb.kvb&=~jr.yjc}}for(bg=0;bg<njc.mbc;++bg){cg=njc.qec[bg];cg.kvb&=~(jr.yjc|jr.uac)}for(bg=0;bg<njc.bfc;++bg){jqb=njc.rec[bg];jqb.ojc=!1}this.nvb.kwb()}};hr.prototype.vic=function(sac){var sic=sac.nkc();var tic=sac.okc();var nv=sic.uub;var qv=tic.uub;var okb=nv.position;var pkb=qv.position;
var st=sac.pkc();var ut=sac.qkc();var color=hr.rkc;switch(sac.by){case ls.skc:this.rgc.jdc(st,ut,color);break;case ls.tkc:{var ukc=((sac instanceof us?sac:null));var zub=ukc.vkc();var avb=ukc.wkc();this.rgc.jdc(zub,st,color);this.rgc.jdc(avb,ut,color);this.rgc.jdc(zub,avb,color)}break;case ls.xkc:this.rgc.jdc(st,ut,color);break;default :if(sic!=this.ygc)this.rgc.jdc(okb,st,color);this.rgc.jdc(st,ut,color);if(tic!=this.ygc)this.rgc.jdc(pkb,ut,color)}};hr.prototype.uic=function(jdb,mgb,color){switch(jdb.by){case jq.ldb:{
var cab=((jdb instanceof eq?jdb:null));var cfb=pq.rcb(mgb,cab.rz);var xz=cab.sx;var idc=mgb.aw.cw;this.rgc.hdc(cfb,xz,idc,color)}break;case jq.mdb:{var bg=0;var ykc=((jdb instanceof iq?jdb:null));var mab=parseInt(ykc.qdb());var zkc=ykc.xpb();var nab=new ro(mab);for(bg=0;bg<mab;++bg){nab[bg]=pq.rcb(mgb,zkc[bg])}this.rgc.fdc(nab,mab,color)}break;case jq.inb:{var tw=(jdb instanceof gq?jdb:null);this.rgc.jdc(pq.rcb(mgb,tw.smb()),pq.rcb(mgb,tw.tmb()),color)}break}};xn.at.push(function(){xn.wo.hr.kic=new gr();xn.wo.hr.zic=new rq();
xn.wo.hr.hkc=new qq();xn.wo.hr.ikc=new qq();xn.wo.hr.mkc=new gr();xn.wo.hr.xjc=new ro();xn.wo.hr.rkc=new lq(0.5,0.8,0.8);xn.wo.hr.vvb=0x0001;xn.wo.hr.jic=0x0002})})();(function(){var eq=xn.to.uo.eq,fq=xn.to.uo.fq,gq=xn.to.uo.gq,hq=xn.to.uo.hq,iq=xn.to.uo.iq,jq=xn.to.uo.jq,ir=xn.wo.xo.ir,jr=xn.wo.xo.jr,kr=xn.wo.xo.kr,lr=xn.wo.xo.lr,mr=xn.wo.xo.mr,nr=xn.wo.xo.nr,or=xn.wo.xo.or,pr=xn.wo.xo.pr,qr=xn.wo.xo.qr,rr=xn.wo.xo.rr,sr=xn.wo.xo.sr,tr=xn.wo.xo.tr,ur=xn.wo.xo.ur,vr=xn.wo.xo.vr,wr=xn.wo.xo.wr,uq=xn.wo.uq,
vq=xn.wo.vq,wq=xn.wo.wq,xq=xn.wo.xq,yq=xn.wo.yq,zq=xn.wo.zq,ar=xn.wo.ar,br=xn.wo.br,cr=xn.wo.cr,dr=xn.wo.dr,er=xn.wo.er,fr=xn.wo.fr,gr=xn.wo.gr,hr=xn.wo.hr,lq=xn.vo.lq,kq=xn.vo.kq,mq=xn.vo.mq,nq=xn.vo.Math.nq,oq=xn.vo.Math.oq,pq=xn.vo.Math.pq,qq=xn.vo.Math.qq,rq=xn.vo.Math.rq,sq=xn.vo.Math.sq,tq=xn.vo.Math.tq,bp=xn.to.bp,cp=xn.to.cp,dp=xn.to.dp,ep=xn.to.ep,fp=xn.to.fp,gp=xn.to.gp,hp=xn.to.hp,ip=xn.to.ip,jp=xn.to.jp,kp=xn.to.kp,lp=xn.to.lp,mp=xn.to.mp,np=xn.to.np,op=xn.to.op,pp=xn.to.pp,qp=xn.to.qp,
rp=xn.to.rp,sp=xn.to.sp,tp=xn.to.tp,up=xn.to.up,vp=xn.to.vp,wp=xn.to.wp,xp=xn.to.xp,yp=xn.to.yp,zp=xn.to.zp,aq=xn.to.aq,bq=xn.to.bq,cq=xn.to.cq,dq=xn.to.dq,ap=xn.to.ap;xn.eo(ir,xn.wo.xo.jr);ir.prototype.__super=xn.wo.xo.jr.prototype;ir.ir=function(){xn.wo.xo.jr.jr.apply(this,arguments)};ir.jvb=function(vec){return new ir()};ir.hwb=function(bwb,vec){};ir.prototype.ggb=function(dwb,fwb){this.__super.ggb.call(this,dwb,fwb)};ir.prototype.jib=function(){var tjc=this.ekc.vbc();var ujc=this.fkc.vbc();ep.oz(this.alc,
(this.ekc.vdc() instanceof eq?this.ekc.vdc():null),tjc.uub,(this.fkc.vdc() instanceof eq?this.fkc.vdc():null),ujc.uub)};jr.jr=function(){this.zbc=new mr();this.acc=new mr();this.alc=new pp();this.blc=new pp()};jr.prototype.clc=function(){return this.alc};jr.prototype.dlc=function(elc){var ubc=this.ekc.vbc();var wbc=this.fkc.vbc();var flc=this.ekc.vdc();var glc=this.fkc.vdc();elc.ihb(this.alc,ubc.ikb(),flc.sx,wbc.ikb(),glc.sx)};jr.prototype.bcc=function(){return(this.kvb&jr.hlc)==jr.hlc};jr.prototype.bkc=function(){
return(this.kvb&jr.ilc)==jr.ilc};jr.prototype.wdc=function(xdc){if(xdc){this.kvb|=jr.jlc}else {this.kvb&=~jr.jlc}};jr.prototype.zdc=function(){return(this.kvb&jr.jlc)==jr.jlc};jr.prototype.klc=function(pzb){if(pzb){this.kvb|=jr.llc}else {this.kvb&=~jr.llc}};jr.prototype.sjc=function(){return(this.kvb&jr.llc)==jr.llc};jr.prototype.fac=function(){return this.pvb};jr.prototype.ewb=function(){return this.ekc};jr.prototype.gwb=function(){return this.fkc};jr.prototype.nzb=function(){this.kvb|=jr.dcc};jr.prototype.jr=function(){
};jr.prototype.ggb=function(dwb,fwb){if(dwb===undefined)dwb=null;if(fwb===undefined)fwb=null;this.kvb=jr.llc;if(!dwb||!fwb){this.ekc=null;this.fkc=null;return }if(dwb.zdc()||fwb.zdc()){this.kvb|=jr.jlc}var ubc=dwb.vbc();var wbc=fwb.vbc();if(ubc.kdb()!=uq.rxb||ubc.qzb()||wbc.kdb()!=uq.rxb||wbc.qzb()){this.kvb|=jr.ilc}this.ekc=dwb;this.fkc=fwb;this.alc.qx=0;this.mac=null;this.pvb=null;this.zbc.bwb=null;this.zbc.fyb=null;this.zbc.cwb=null;this.zbc.fu=null;this.acc.bwb=null;this.acc.fyb=null;this.acc.cwb=null;
this.acc.fu=null};jr.prototype.hcc=function(listener){var mlc=this.blc;this.blc=this.alc;this.alc=mlc;this.kvb|=jr.llc;var nlc=!1;var olc=(this.kvb&jr.hlc)==jr.hlc;var ubc=this.ekc.svb;var wbc=this.fkc.svb;var plc=this.ekc.nec.eu(this.fkc.nec);if(this.kvb&jr.jlc){if(plc){var flc=this.ekc.vdc();var glc=this.fkc.vdc();var nx=ubc.ikb();var px=wbc.ikb();nlc=jq.eu(flc,nx,glc,px)}this.alc.qx=0}else {if(ubc.kdb()!=uq.rxb||ubc.qzb()||wbc.kdb()!=uq.rxb||wbc.qzb()){this.kvb|=jr.ilc}else {this.kvb&=~jr.ilc}if(plc){this.jib();
nlc=this.alc.qx>0;for(var bg=0;bg<this.alc.qx;++bg){var qlc=this.alc.lz[bg];qlc.jgb=0.0;qlc.kgb=0.0;var rlc=qlc.nz;for(var jqb=0;jqb<this.blc.qx;++jqb){var slc=this.blc.lz[jqb];if(slc.nz.key==rlc.key){qlc.jgb=slc.jgb;qlc.kgb=slc.kgb;break}}}}else {this.alc.qx=0}if(nlc!=olc){ubc.txb(!0);wbc.txb(!0)}}if(nlc){this.kvb|=jr.hlc}else {this.kvb&=~jr.hlc}if(olc==!1&&nlc==!0){listener.gbc(this)}if(olc==!0&&nlc==!1){listener.hbc(this)}if((this.kvb&jr.jlc)==0){listener.ibc(this,this.blc)}};jr.prototype.jib=function(){
};jr.prototype.gkc=function(akb,bkb){jr.tlc.lbb.hv(this.ekc.vdc());jr.tlc.mbb.hv(this.fkc.vdc());jr.tlc.akb=akb;jr.tlc.bkb=bkb;jr.tlc.dkb=mq.sqb;return zp.yjb(jr.tlc)};xn.at.push(function(){xn.wo.xo.jr.jlc=0x0001;xn.wo.xo.jr.ilc=0x0002;xn.wo.xo.jr.uac=0x0004;xn.wo.xo.jr.yjc=0x0008;xn.wo.xo.jr.hlc=0x0010;xn.wo.xo.jr.llc=0x0020;xn.wo.xo.jr.dcc=0x0040;xn.wo.xo.jr.tlc=new aq()});kr.kr=function(){this.ulc=new sq();this.yyb=new sq();this.xt=new sq();this.vlc=new nq();this.wlc=new nq()};kr.prototype.kr=function(){
this.fgc=new ro(mq.jz);for(var bg=0;bg<mq.jz;bg++){this.fgc[bg]=new lr()}};lr.lr=function(){this.yyb=new sq();this.hdb=new sq();this.idb=new sq()};mr.mr=function(){};nr.nr=function(){};nr.prototype.nr=function(vec){this.qbc=vec;this.xlc()};nr.prototype.ylc=function(zlc,amc,bmc,cmc){if(bmc===undefined)bmc=0;if(cmc===undefined)cmc=0;this.dmc[bmc][cmc].zlc=zlc;this.dmc[bmc][cmc].amc=amc;this.dmc[bmc][cmc].emc=!0;if(bmc!=cmc){this.dmc[cmc][bmc].zlc=zlc;this.dmc[cmc][bmc].amc=amc;this.dmc[cmc][bmc].emc=!1}
};nr.prototype.xlc=function(){this.dmc=new ro(jq.tqb);for(var bg=0;bg<jq.tqb;bg++){this.dmc[bg]=new ro(jq.tqb);for(var jqb=0;jqb<jq.tqb;jqb++){this.dmc[bg][jqb]=new or()}}this.ylc(ir.jvb,ir.hwb,jq.ldb,jq.ldb);this.ylc(tr.jvb,tr.hwb,jq.mdb,jq.ldb);this.ylc(vr.jvb,vr.hwb,jq.mdb,jq.mdb);this.ylc(rr.jvb,rr.hwb,jq.inb,jq.ldb);this.ylc(ur.jvb,ur.hwb,jq.mdb,jq.inb)};nr.prototype.jvb=function(dwb,fwb){var bmc=parseInt(dwb.kdb());var cmc=parseInt(fwb.kdb());var fmc=this.dmc[bmc][cmc];var cg;if(fmc.gmc){cg=fmc.gmc;
fmc.gmc=cg.pvb;fmc.hmc--;cg.ggb(dwb,fwb);return cg}var zlc=fmc.zlc;if(zlc!=null){if(fmc.emc){cg=zlc(this.qbc);cg.ggb(dwb,fwb);return cg}else {cg=zlc(this.qbc);cg.ggb(fwb,dwb);return cg}}else {return null}};nr.prototype.hwb=function(bwb){if(bwb.alc.qx>0){bwb.ekc.svb.txb(!0);bwb.fkc.svb.txb(!0)}var bmc=parseInt(bwb.ekc.kdb());var cmc=parseInt(bwb.fkc.kdb());var fmc=this.dmc[bmc][cmc];if(!0){fmc.hmc++;bwb.pvb=fmc.gmc;fmc.gmc=bwb}var amc=fmc.amc;amc(bwb,this.qbc)};or.or=function(){};pr.pr=function(){this.position=new sq();
this.xt=new sq();this.id=new fp()};qr.qr=function(){this.imc=new gr();this.vfc=new ro()};qr.prototype.qr=function(){};qr.prototype.ihb=function(ffc,jmc,kmc,vec){if(kmc===undefined)kmc=0;var bwb;this.imc.hv(ffc);this.qbc=vec;var bg=0;var jv;var zv;this.lmc=kmc;while(this.vfc.length<this.lmc){this.vfc[this.vfc.length]=new kr()}for(bg=0;bg<kmc;++bg){bwb=jmc[bg];var dwb=bwb.ekc;var fwb=bwb.fkc;var flc=dwb.udc;var glc=fwb.udc;var zkb=flc.sx;var alb=glc.sx;var ubc=dwb.svb;var wbc=fwb.svb;var lx=bwb.clc();var hec=mq.crb(dwb.eec(),
fwb.eec());var lec=mq.frb(dwb.iec(),fwb.iec());var mmc=ubc.wub.dg;var nmc=ubc.wub.eg;var omc=wbc.wub.dg;var pmc=wbc.wub.eg;var qcb=ubc.wwb;var tcb=wbc.wwb;mq.jcb(lx.qx>0);qr.qmc.ihb(lx,ubc.uub,zkb,wbc.uub,alb);var vhb=qr.qmc.ykb.dg;var whb=qr.qmc.ykb.eg;var dgc=this.vfc[bg];dgc.ubc=ubc;dgc.wbc=wbc;dgc.lx=lx;dgc.xt.dg=vhb;dgc.xt.eg=whb;dgc.iz=lx.qx;dgc.hec=hec;dgc.lec=lec;dgc.ulc.dg=lx.fz.dg;dgc.ulc.eg=lx.fz.eg;dgc.yyb.dg=lx.hz.dg;dgc.yyb.eg=lx.hz.eg;dgc.xz=zkb+alb;dgc.type=lx.by;for(var rmc=0;rmc<dgc.iz;++rmc){
var kz=lx.lz[rmc];var smc=dgc.fgc[rmc];smc.ggc=kz.jgb;smc.hgc=kz.kgb;smc.yyb.gz(kz.hz);var tmc=smc.hdb.dg=qr.qmc.lz[rmc].dg-ubc.vub.cg.dg;var umc=smc.hdb.eg=qr.qmc.lz[rmc].eg-ubc.vub.cg.eg;var vmc=smc.idb.dg=qr.qmc.lz[rmc].dg-wbc.vub.cg.dg;var wmc=smc.idb.eg=qr.qmc.lz[rmc].eg-wbc.vub.cg.eg;var xmc=tmc*whb-umc*vhb;var ymc=vmc*whb-wmc*vhb;xmc*=xmc;ymc*=ymc;var zmc=ubc.zxb+wbc.zxb+ubc.ayb*xmc+wbc.ayb*ymc;smc.vlc=1.0/zmc;var anc=ubc.pyb*ubc.zxb+wbc.pyb*wbc.zxb;anc+=ubc.pyb*ubc.ayb*xmc+wbc.pyb*wbc.ayb*ymc;smc.bnc=1.0/anc;
var cnc=whb;var dnc=(-vhb);var enc=tmc*dnc-umc*cnc;var fnc=vmc*dnc-wmc*cnc;enc*=enc;fnc*=fnc;var gnc=ubc.zxb+wbc.zxb+ubc.ayb*enc+wbc.ayb*fnc;smc.hnc=1.0/gnc;smc.inc=0.0;var ex=omc+((-tcb*wmc))-mmc-((-qcb*umc));var mz=pmc+(tcb*vmc)-nmc-(qcb*tmc);var jnc=dgc.xt.dg*ex+dgc.xt.eg*mz;if(jnc<(-mq.orb)){smc.inc+=(-dgc.lec*jnc)}}if(dgc.iz==2){var knc=dgc.fgc[0];var lnc=dgc.fgc[1];var mnc=ubc.zxb;var nnc=ubc.ayb;var onc=wbc.zxb;var pnc=wbc.ayb;var qnc=knc.hdb.dg*whb-knc.hdb.eg*vhb;var rnc=knc.idb.dg*whb-knc.idb.eg*vhb;var snc=lnc.hdb.dg*whb-lnc.hdb.eg*vhb;
var tnc=lnc.idb.dg*whb-lnc.idb.eg*vhb;var unc=mnc+onc+nnc*qnc*qnc+pnc*rnc*rnc;var vnc=mnc+onc+nnc*snc*snc+pnc*tnc*tnc;var wnc=mnc+onc+nnc*qnc*snc+pnc*rnc*tnc;var xnc=100.0;if(unc*unc<xnc*(unc*vnc-wnc*wnc)){dgc.wlc.cw.hv(unc,wnc);dgc.wlc.dw.hv(wnc,vnc);dgc.wlc.jsb(dgc.vlc)}else {dgc.iz=1}}}};qr.prototype.ifc=function(ffc){var jv;var ync;var zv;for(var bg=0;bg<this.lmc;++bg){var cg=this.vfc[bg];var ubc=cg.ubc;var wbc=cg.wbc;var mnc=ubc.zxb;var nnc=ubc.ayb;var onc=wbc.zxb;var pnc=wbc.ayb;var vhb=cg.xt.dg;var whb=cg.xt.eg;
var cnc=whb;var dnc=(-vhb);var ex=0;var jqb=0;var znc=0;if(ffc.mgc){znc=cg.iz;for(jqb=0;jqb<znc;++jqb){var smc=cg.fgc[jqb];smc.ggc*=ffc.lic;smc.hgc*=ffc.lic;var aoc=smc.ggc*vhb+smc.hgc*cnc;var boc=smc.ggc*whb+smc.hgc*dnc;ubc.wwb-=nnc*(smc.hdb.dg*boc-smc.hdb.eg*aoc);ubc.wub.dg-=mnc*aoc;ubc.wub.eg-=mnc*boc;wbc.wwb+=pnc*(smc.idb.dg*boc-smc.idb.eg*aoc);wbc.wub.dg+=onc*aoc;wbc.wub.eg+=onc*boc}}else {znc=cg.iz;for(jqb=0;jqb<znc;++jqb){var lnc=cg.fgc[jqb];lnc.ggc=0.0;lnc.hgc=0.0}}}};qr.prototype.kfc=function(){var jqb=0;
var smc;var tmc=0;var umc=0;var vmc=0;var wmc=0;var coc=0;var doc=0;var eoc=0;var foc=0;var rgb=0;var goc=0;var hoc=0;var aoc=0;var boc=0;var et=0;var ft=0;var ioc=0;var joc=0;var koc=0;var loc=0;var zv;var jv;for(var bg=0;bg<this.lmc;++bg){var cg=this.vfc[bg];var ubc=cg.ubc;var wbc=cg.wbc;var qcb=ubc.wwb;var tcb=wbc.wwb;var moc=ubc.wub;var noc=wbc.wub;var mnc=ubc.zxb;var nnc=ubc.ayb;var onc=wbc.zxb;var pnc=wbc.ayb;var vhb=cg.xt.dg;var whb=cg.xt.eg;var cnc=whb;var dnc=(-vhb);var hec=cg.hec;var ex=0;for(jqb=0;jqb<cg.iz;jqb++){smc=cg.fgc[jqb];
coc=noc.dg-tcb*smc.idb.eg-moc.dg+qcb*smc.hdb.eg;doc=noc.eg+tcb*smc.idb.dg-moc.eg-qcb*smc.hdb.dg;foc=coc*cnc+doc*dnc;rgb=smc.hnc*(-foc);goc=hec*smc.ggc;hoc=pq.hib(smc.hgc+rgb,(-goc),goc);rgb=hoc-smc.hgc;aoc=rgb*cnc;boc=rgb*dnc;moc.dg-=mnc*aoc;moc.eg-=mnc*boc;qcb-=nnc*(smc.hdb.dg*boc-smc.hdb.eg*aoc);noc.dg+=onc*aoc;noc.eg+=onc*boc;tcb+=pnc*(smc.idb.dg*boc-smc.idb.eg*aoc);smc.hgc=hoc}var znc=parseInt(cg.iz);if(cg.iz==1){smc=cg.fgc[0];coc=noc.dg+((-tcb*smc.idb.eg))-moc.dg-((-qcb*smc.hdb.eg));doc=noc.eg+(tcb*smc.idb.dg)-moc.eg-(qcb*smc.hdb.dg);
eoc=coc*vhb+doc*whb;rgb=(-smc.vlc*(eoc-smc.inc));hoc=smc.ggc+rgb;hoc=hoc>0?hoc:0.0;rgb=hoc-smc.ggc;aoc=rgb*vhb;boc=rgb*whb;moc.dg-=mnc*aoc;moc.eg-=mnc*boc;qcb-=nnc*(smc.hdb.dg*boc-smc.hdb.eg*aoc);noc.dg+=onc*aoc;noc.eg+=onc*boc;tcb+=pnc*(smc.idb.dg*boc-smc.idb.eg*aoc);smc.ggc=hoc}else {var ooc=cg.fgc[0];var poc=cg.fgc[1];var qoc=ooc.ggc;var roc=poc.ggc;var soc=noc.dg-tcb*ooc.idb.eg-moc.dg+qcb*ooc.hdb.eg;var toc=noc.eg+tcb*ooc.idb.dg-moc.eg-qcb*ooc.hdb.dg;var uoc=noc.dg-tcb*poc.idb.eg-moc.dg+qcb*poc.hdb.eg;
var voc=noc.eg+tcb*poc.idb.dg-moc.eg-qcb*poc.hdb.dg;var woc=soc*vhb+toc*whb;var xoc=uoc*vhb+voc*whb;var ahb=woc-ooc.inc;var bhb=xoc-poc.inc;zv=cg.wlc;ahb-=zv.cw.dg*qoc+zv.dw.dg*roc;bhb-=zv.cw.eg*qoc+zv.dw.eg*roc;var yoc=0.001;for(;;){zv=cg.vlc;var zoc=(-(zv.cw.dg*ahb+zv.dw.dg*bhb));var apc=(-(zv.cw.eg*ahb+zv.dw.eg*bhb));if(zoc>=0.0&&apc>=0.0){et=zoc-qoc;ft=apc-roc;ioc=et*vhb;joc=et*whb;koc=ft*vhb;loc=ft*whb;moc.dg-=mnc*(ioc+koc);moc.eg-=mnc*(joc+loc);qcb-=nnc*(ooc.hdb.dg*joc-ooc.hdb.eg*ioc+poc.hdb.dg*loc-poc.hdb.eg*koc);
noc.dg+=onc*(ioc+koc);noc.eg+=onc*(joc+loc);tcb+=pnc*(ooc.idb.dg*joc-ooc.idb.eg*ioc+poc.idb.dg*loc-poc.idb.eg*koc);ooc.ggc=zoc;poc.ggc=apc;break}zoc=(-ooc.vlc*ahb);apc=0.0;woc=0.0;xoc=cg.wlc.cw.eg*zoc+bhb;if(zoc>=0.0&&xoc>=0.0){et=zoc-qoc;ft=apc-roc;ioc=et*vhb;joc=et*whb;koc=ft*vhb;loc=ft*whb;moc.dg-=mnc*(ioc+koc);moc.eg-=mnc*(joc+loc);qcb-=nnc*(ooc.hdb.dg*joc-ooc.hdb.eg*ioc+poc.hdb.dg*loc-poc.hdb.eg*koc);noc.dg+=onc*(ioc+koc);noc.eg+=onc*(joc+loc);tcb+=pnc*(ooc.idb.dg*joc-ooc.idb.eg*ioc+poc.idb.dg*loc-poc.idb.eg*koc);
ooc.ggc=zoc;poc.ggc=apc;break}zoc=0.0;apc=(-poc.vlc*bhb);woc=cg.wlc.dw.dg*apc+ahb;xoc=0.0;if(apc>=0.0&&woc>=0.0){et=zoc-qoc;ft=apc-roc;ioc=et*vhb;joc=et*whb;koc=ft*vhb;loc=ft*whb;moc.dg-=mnc*(ioc+koc);moc.eg-=mnc*(joc+loc);qcb-=nnc*(ooc.hdb.dg*joc-ooc.hdb.eg*ioc+poc.hdb.dg*loc-poc.hdb.eg*koc);noc.dg+=onc*(ioc+koc);noc.eg+=onc*(joc+loc);tcb+=pnc*(ooc.idb.dg*joc-ooc.idb.eg*ioc+poc.idb.dg*loc-poc.idb.eg*koc);ooc.ggc=zoc;poc.ggc=apc;break}zoc=0.0;apc=0.0;woc=ahb;xoc=bhb;if(woc>=0.0&&xoc>=0.0){et=zoc-qoc;
ft=apc-roc;ioc=et*vhb;joc=et*whb;koc=ft*vhb;loc=ft*whb;moc.dg-=mnc*(ioc+koc);moc.eg-=mnc*(joc+loc);qcb-=nnc*(ooc.hdb.dg*joc-ooc.hdb.eg*ioc+poc.hdb.dg*loc-poc.hdb.eg*koc);noc.dg+=onc*(ioc+koc);noc.eg+=onc*(joc+loc);tcb+=pnc*(ooc.idb.dg*joc-ooc.idb.eg*ioc+poc.idb.dg*loc-poc.idb.eg*koc);ooc.ggc=zoc;poc.ggc=apc;break}break}}ubc.wwb=qcb;wbc.wwb=tcb}};qr.prototype.lfc=function(){for(var bg=0;bg<this.lmc;++bg){var cg=this.vfc[bg];var hgb=cg.lx;for(var jqb=0;jqb<cg.iz;++jqb){var ejc=hgb.lz[jqb];var fjc=cg.fgc[jqb];
ejc.jgb=fjc.ggc;ejc.kgb=fjc.hgc}}};qr.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;var cpc=0.0;for(var bg=0;bg<this.lmc;bg++){var cg=this.vfc[bg];var ubc=cg.ubc;var wbc=cg.wbc;var mnc=ubc.pyb*ubc.zxb;var nnc=ubc.pyb*ubc.ayb;var onc=wbc.pyb*wbc.zxb;var pnc=wbc.pyb*wbc.ayb;qr.dpc.ihb(cg);var xt=qr.dpc.ykb;for(var jqb=0;jqb<cg.iz;jqb++){var smc=cg.fgc[jqb];var qxb=qr.dpc.lz[jqb];var nw=qr.dpc.epc[jqb];var tmc=qxb.dg-ubc.vub.cg.dg;var umc=qxb.eg-ubc.vub.cg.eg;var vmc=qxb.dg-wbc.vub.cg.dg;var wmc=qxb.eg-wbc.vub.cg.eg;
cpc=cpc<nw?cpc:nw;var ntb=pq.hib(bpc*(nw+mq.sqb),(-mq.prb),0.0);var yxb=(-smc.bnc*ntb);var aoc=yxb*xt.dg;var boc=yxb*xt.eg;ubc.vub.cg.dg-=mnc*aoc;ubc.vub.cg.eg-=mnc*boc;ubc.vub.xab-=nnc*(tmc*boc-umc*aoc);ubc.pac();wbc.vub.cg.dg+=onc*aoc;wbc.vub.cg.eg+=onc*boc;wbc.vub.xab+=pnc*(vmc*boc-wmc*aoc);wbc.pac()}}return cpc>(-1.5*mq.sqb)};xn.at.push(function(){xn.wo.xo.qr.qmc=new bq();xn.wo.xo.qr.dpc=new wr()});xn.eo(rr,xn.wo.xo.jr);rr.prototype.__super=xn.wo.xo.jr.prototype;rr.rr=function(){xn.wo.xo.jr.jr.apply(this,
arguments)};rr.jvb=function(vec){return new rr()};rr.hwb=function(bwb,vec){};rr.prototype.ggb=function(dwb,fwb){this.__super.ggb.call(this,dwb,fwb)};rr.prototype.jib=function(){var tjc=this.ekc.vbc();var ujc=this.fkc.vbc();this.fpc(this.alc,(this.ekc.vdc() instanceof gq?this.ekc.vdc():null),tjc.uub,(this.fkc.vdc() instanceof eq?this.fkc.vdc():null),ujc.uub)};rr.prototype.fpc=function(lx,tw,nv,cab,qv){};xn.eo(sr,xn.wo.xo.jr);sr.prototype.__super=xn.wo.xo.jr.prototype;sr.sr=function(){xn.wo.xo.jr.jr.apply(this,
arguments)};sr.prototype.sr=function(){this.__super.jr.call(this)};sr.prototype.jib=function(){};xn.eo(tr,xn.wo.xo.jr);tr.prototype.__super=xn.wo.xo.jr.prototype;tr.tr=function(){xn.wo.xo.jr.jr.apply(this,arguments)};tr.jvb=function(vec){return new tr()};tr.hwb=function(bwb,vec){};tr.prototype.ggb=function(dwb,fwb){this.__super.ggb.call(this,dwb,fwb);mq.jcb(dwb.kdb()==jq.mdb);mq.jcb(fwb.kdb()==jq.ldb)};tr.prototype.jib=function(){var tjc=this.ekc.svb;var ujc=this.fkc.svb;ep.aab(this.alc,(this.ekc.vdc() instanceof iq?this.ekc.vdc():null),
tjc.uub,(this.fkc.vdc() instanceof eq?this.fkc.vdc():null),ujc.uub)};xn.eo(ur,xn.wo.xo.jr);ur.prototype.__super=xn.wo.xo.jr.prototype;ur.ur=function(){xn.wo.xo.jr.jr.apply(this,arguments)};ur.jvb=function(vec){return new ur()};ur.hwb=function(bwb,vec){};ur.prototype.ggb=function(dwb,fwb){this.__super.ggb.call(this,dwb,fwb);mq.jcb(dwb.kdb()==jq.mdb);mq.jcb(fwb.kdb()==jq.inb)};ur.prototype.jib=function(){var tjc=this.ekc.vbc();var ujc=this.fkc.vbc();this.gpc(this.alc,(this.ekc.vdc() instanceof iq?this.ekc.vdc():null),
tjc.uub,(this.fkc.vdc() instanceof gq?this.fkc.vdc():null),ujc.uub)};ur.prototype.gpc=function(lx,bab,nv,tw,qv){};xn.eo(vr,xn.wo.xo.jr);vr.prototype.__super=xn.wo.xo.jr.prototype;vr.vr=function(){xn.wo.xo.jr.jr.apply(this,arguments)};vr.jvb=function(vec){return new vr()};vr.hwb=function(bwb,vec){};vr.prototype.ggb=function(dwb,fwb){this.__super.ggb.call(this,dwb,fwb)};vr.prototype.jib=function(){var tjc=this.ekc.vbc();var ujc=this.fkc.vbc();ep.kx(this.alc,(this.ekc.vdc() instanceof iq?this.ekc.vdc():null),
tjc.uub,(this.fkc.vdc() instanceof iq?this.fkc.vdc():null),ujc.uub)};wr.wr=function(){};wr.prototype.wr=function(){this.ykb=new sq();this.epc=new so(mq.jz);this.lz=new ro(mq.jz);for(var bg=0;bg<mq.jz;bg++){this.lz[bg]=new sq()}};wr.prototype.ihb=function(dgc){mq.jcb(dgc.iz>0);var bg=0;var dlb=0;var elb=0;var zv;var jv;var blb=0;var clb=0;switch(dgc.type){case pp.yz:{zv=dgc.ubc.uub.aw;jv=dgc.yyb;var rhb=dgc.ubc.uub.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var shb=dgc.ubc.uub.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);
zv=dgc.wbc.uub.aw;jv=dgc.fgc[0].yyb;var thb=dgc.wbc.uub.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);var uhb=dgc.wbc.uub.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);var et=thb-rhb;var ft=uhb-shb;var flb=et*et+ft*ft;if(flb>Number.MIN_VALUE*Number.MIN_VALUE){var kcb=Math.sqrt(flb);this.ykb.dg=et/kcb;this.ykb.eg=ft/kcb}else {this.ykb.dg=1.0;this.ykb.eg=0.0}this.lz[0].dg=0.5*(rhb+thb);this.lz[0].eg=0.5*(shb+uhb);this.epc[0]=et*this.ykb.dg+ft*this.ykb.eg-dgc.xz}break;case pp.dy:{zv=dgc.ubc.uub.aw;jv=dgc.ulc;this.ykb.dg=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;
this.ykb.eg=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;zv=dgc.ubc.uub.aw;jv=dgc.yyb;blb=dgc.ubc.uub.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);clb=dgc.ubc.uub.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);zv=dgc.wbc.uub.aw;for(bg=0;bg<dgc.iz;++bg){jv=dgc.fgc[bg].yyb;dlb=dgc.wbc.uub.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);elb=dgc.wbc.uub.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);this.epc[bg]=(dlb-blb)*this.ykb.dg+(elb-clb)*this.ykb.eg-dgc.xz;this.lz[bg].dg=dlb;this.lz[bg].eg=elb;}}break;case pp.cy:{zv=dgc.wbc.uub.aw;
jv=dgc.ulc;this.ykb.dg=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;this.ykb.eg=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;zv=dgc.wbc.uub.aw;jv=dgc.yyb;blb=dgc.wbc.uub.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);clb=dgc.wbc.uub.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);zv=dgc.ubc.uub.aw;for(bg=0;bg<dgc.iz;++bg){jv=dgc.fgc[bg].yyb;dlb=dgc.ubc.uub.position.dg+(zv.cw.dg*jv.dg+zv.dw.dg*jv.eg);elb=dgc.ubc.uub.position.eg+(zv.cw.eg*jv.dg+zv.dw.eg*jv.eg);this.epc[bg]=(dlb-blb)*this.ykb.dg+(elb-clb)*this.ykb.eg-dgc.xz;this.lz[bg].hv(dlb,
elb)}this.ykb.dg*=(-1);this.ykb.eg*=(-1)}break}};xn.at.push(function(){xn.wo.xo.wr.hpc=new sq();xn.wo.xo.wr.ipc=new sq()})})();(function(){var uq=xn.wo.uq,vq=xn.wo.vq,wq=xn.wo.wq,xq=xn.wo.xq,yq=xn.wo.yq,zq=xn.wo.zq,ar=xn.wo.ar,br=xn.wo.br,cr=xn.wo.cr,dr=xn.wo.dr,er=xn.wo.er,fr=xn.wo.fr,gr=xn.wo.gr,hr=xn.wo.hr,nq=xn.vo.Math.nq,oq=xn.vo.Math.oq,pq=xn.vo.Math.pq,qq=xn.vo.Math.qq,rq=xn.vo.Math.rq,sq=xn.vo.Math.sq,tq=xn.vo.Math.tq,lq=xn.vo.lq,kq=xn.vo.kq,mq=xn.vo.mq,eq=xn.to.uo.eq,fq=xn.to.uo.fq,gq=xn.to.uo.gq,
hq=xn.to.uo.hq,iq=xn.to.uo.iq,jq=xn.to.uo.jq,xr=xn.wo.yo.xr,yr=xn.wo.yo.yr,zr=xn.wo.yo.zr,as=xn.wo.yo.as,bs=xn.wo.yo.bs,cs=xn.wo.yo.cs,ds=xn.wo.yo.ds;xn.eo(xr,xn.wo.yo.as);xr.prototype.__super=xn.wo.yo.as.prototype;xr.xr=function(){xn.wo.yo.as.as.apply(this,arguments);this.xt=new sq(0,(-1));this.hg=0;this.tlb=0;this.hbb=new sq(0,0);this.jpc=2;this.kpc=1;this.lpc=!1;this.mpc=!0;this.gfc=null};xr.prototype.iic=function(ffc){if(!this.sgc)return;if(this.mpc){this.gfc=this.iac().gic().cbb();}for(var bg=this.sgc;
bg;bg=bg.npc){var body=bg.body;if(body.sxb()==!1){continue}var opc=new sq();var ppc=new sq();var bmb=0.0;var ulb=0.0;for(var ivb=body.zzb();ivb;ivb=ivb.fac()){var qpc=new sq();var rpc=ivb.vdc().xlb(this.xt,this.hg,body.ikb(),qpc);bmb+=rpc;opc.dg+=rpc*qpc.dg;opc.eg+=rpc*qpc.eg;var spc=0;if(this.lpc){spc=1}else {spc=1}ulb+=rpc*spc;ppc.dg+=rpc*qpc.dg*spc;ppc.eg+=rpc*qpc.eg*spc}opc.dg/=bmb;opc.eg/=bmb;ppc.dg/=ulb;ppc.eg/=ulb;if(bmb<Number.MIN_VALUE)continue;var tpc=this.gfc.pcb();tpc.wpb(this.tlb*bmb);body.oxb(tpc,
ppc);var upc=body.fzb(opc);upc.pub(this.hbb);upc.wpb((-this.jpc*bmb));body.oxb(upc,opc);body.vxb((-body.qyb()/body.oyb()*bmb*body.xwb()*this.kpc))}};xr.prototype.wic=function(dhc){var r=1000;var st=new sq();var ut=new sq();st.dg=this.xt.dg*this.hg+this.xt.eg*r;st.eg=this.xt.eg*this.hg-this.xt.dg*r;ut.dg=this.xt.dg*this.hg-this.xt.eg*r;ut.eg=this.xt.eg*this.hg+this.xt.dg*r;var color=new lq(0,0,1);dhc.jdc(st,ut,color)};xn.eo(yr,xn.wo.yo.as);yr.prototype.__super=xn.wo.yo.as.prototype;yr.yr=function(){xn.wo.yo.as.as.apply(this,
arguments);this.etb=new sq(0,0)};yr.prototype.iic=function(ffc){var vpc=new sq(this.etb.dg*ffc.hfc,this.etb.eg*ffc.hfc);for(var bg=this.sgc;bg;bg=bg.npc){var body=bg.body;if(!body.sxb())continue;body.rwb(new sq(body.twb().dg+vpc.dg,body.twb().eg+vpc.eg))}};xn.eo(zr,xn.wo.yo.as);zr.prototype.__super=xn.wo.yo.as.prototype;zr.zr=function(){xn.wo.yo.as.as.apply(this,arguments);this.wpc=new sq(0,0)};zr.prototype.iic=function(ffc){for(var bg=this.sgc;bg;bg=bg.npc){var body=bg.body;if(!body.sxb())continue;body.oxb(this.wpc,
body.pwb())}};as.as=function(){};as.prototype.iic=function(ffc){};as.prototype.wic=function(dhc){};as.prototype.igc=function(body){var tw=new bs();tw.mhc=this;tw.body=body;tw.npc=this.sgc;tw.xpc=null;this.sgc=tw;if(tw.npc)tw.npc.xpc=tw;this.afc++;tw.lhc=body.dac;tw.ypc=null;body.dac=tw;if(tw.lhc)tw.lhc.ypc=tw;body.lac++};as.prototype.nhc=function(body){var tw=body.dac;while(tw&&tw.mhc!=this)tw=tw.lhc;if(tw.xpc)tw.xpc.npc=tw.npc;if(tw.npc)tw.npc.xpc=tw.xpc;if(tw.lhc)tw.lhc.ypc=tw.ypc;if(tw.ypc)tw.ypc.lhc=tw.lhc;
if(this.sgc==tw)this.sgc=tw.npc;if(body.dac==tw)body.dac=tw.lhc;body.lac--;this.afc--};as.prototype.efc=function(){while(this.sgc)this.nhc(this.sgc.body)};as.prototype.fac=function(){return this.pvb};as.prototype.iac=function(){return this.gvb};as.prototype.mjc=function(){return this.sgc};bs.bs=function(){};xn.eo(cs,xn.wo.yo.as);cs.prototype.__super=xn.wo.yo.as.prototype;cs.cs=function(){xn.wo.yo.as.as.apply(this,arguments);this.zpc=1;this.aqc=!0};cs.prototype.iic=function(ffc){var bg=null;var cyb=null;
var st=null;var bqc=0;var jqb=null;var dyb=null;var ut=null;var cqc=0;var dqc=0;var zlb=0;var gib=null;if(this.aqc){for(bg=this.sgc;bg;bg=bg.npc){cyb=bg.body;st=cyb.pwb();bqc=cyb.oyb();for(jqb=this.sgc;jqb!=bg;jqb=jqb.npc){dyb=jqb.body;ut=dyb.pwb();cqc=ut.dg-st.dg;dqc=ut.eg-st.eg;zlb=cqc*cqc+dqc*dqc;if(zlb<Number.MIN_VALUE)continue;gib=new sq(cqc,dqc);gib.wpb(this.zpc/zlb/Math.sqrt(zlb)*bqc*dyb.oyb());if(cyb.sxb())cyb.oxb(gib,st);gib.wpb((-1));if(dyb.sxb())dyb.oxb(gib,ut)}}}else {for(bg=this.sgc;bg;bg=bg.npc){
cyb=bg.body;st=cyb.pwb();bqc=cyb.oyb();for(jqb=this.sgc;jqb!=bg;jqb=jqb.npc){dyb=jqb.body;ut=dyb.pwb();cqc=ut.dg-st.dg;dqc=ut.eg-st.eg;zlb=cqc*cqc+dqc*dqc;if(zlb<Number.MIN_VALUE)continue;gib=new sq(cqc,dqc);gib.wpb(this.zpc/zlb*bqc*dyb.oyb());if(cyb.sxb())cyb.oxb(gib,st);gib.wpb((-1));if(dyb.sxb())dyb.oxb(gib,ut)}}}};xn.eo(ds,xn.wo.yo.as);ds.prototype.__super=xn.wo.yo.as.prototype;ds.ds=function(){xn.wo.yo.as.as.apply(this,arguments);this.gtb=new nq();this.eqc=0};ds.prototype.fqc=function(gqc,hqc){
if(gqc===undefined)gqc=0;if(hqc===undefined)hqc=0;this.gtb.cw.dg=(-gqc);this.gtb.cw.eg=0;this.gtb.dw.dg=0;this.gtb.dw.eg=(-hqc);if(gqc>0||hqc>0){this.eqc=1/Math.max(gqc,hqc)}else {this.eqc=0}};ds.prototype.iic=function(ffc){var iqc=ffc.hfc;if(iqc<=Number.MIN_VALUE)return;if(iqc>this.eqc&&this.eqc>0)iqc=this.eqc;for(var bg=this.sgc;bg;bg=bg.npc){var body=bg.body;if(!body.sxb()){continue}var jqc=body.zyb(pq.dib(this.gtb,body.dzb(body.twb())));body.rwb(new sq(body.twb().dg+jqc.dg*iqc,body.twb().eg+jqc.eg*iqc))}
}})();(function(){var lq=xn.vo.lq,kq=xn.vo.kq,mq=xn.vo.mq,nq=xn.vo.Math.nq,oq=xn.vo.Math.oq,pq=xn.vo.Math.pq,qq=xn.vo.Math.qq,rq=xn.vo.Math.rq,sq=xn.vo.Math.sq,tq=xn.vo.Math.tq,es=xn.wo.zo.es,fs=xn.wo.zo.fs,gs=xn.wo.zo.gs,hs=xn.wo.zo.hs,is=xn.wo.zo.is,js=xn.wo.zo.js,ks=xn.wo.zo.ks,ls=xn.wo.zo.ls,ms=xn.wo.zo.ms,ns=xn.wo.zo.ns,os=xn.wo.zo.os,ps=xn.wo.zo.ps,qs=xn.wo.zo.qs,rs=xn.wo.zo.rs,ss=xn.wo.zo.ss,ts=xn.wo.zo.ts,us=xn.wo.zo.us,vs=xn.wo.zo.vs,ws=xn.wo.zo.ws,xs=xn.wo.zo.xs,ys=xn.wo.zo.ys,zs=xn.wo.zo.zs,
uq=xn.wo.uq,vq=xn.wo.vq,wq=xn.wo.wq,xq=xn.wo.xq,yq=xn.wo.yq,zq=xn.wo.zq,ar=xn.wo.ar,br=xn.wo.br,cr=xn.wo.cr,dr=xn.wo.dr,er=xn.wo.er,fr=xn.wo.fr,gr=xn.wo.gr,hr=xn.wo.hr;xn.eo(es,xn.wo.zo.ls);es.prototype.__super=xn.wo.zo.ls.prototype;es.es=function(){xn.wo.zo.ls.ls.apply(this,arguments);this.kqc=new sq();this.lqc=new sq();this.mqc=new sq()};es.prototype.pkc=function(){return this.shc.xyb(this.kqc)};es.prototype.qkc=function(){return this.rhc.xyb(this.lqc)};es.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;
return new sq(ofc*this.oqc*this.mqc.dg,ofc*this.oqc*this.mqc.eg)};es.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;return 0.0};es.prototype.qmb=function(){return this.rmb};es.prototype.qqc=function(length){if(length===undefined)length=0;this.rmb=length};es.prototype.rqc=function(){return this.sqc};es.prototype.tqc=function(uqc){if(uqc===undefined)uqc=0;this.sqc=uqc};es.prototype.vqc=function(){return this.wqc};es.prototype.xqc=function(yqc){if(yqc===undefined)yqc=0;this.wqc=yqc};es.prototype.es=function(fvb){
this.__super.ls.call(this,fvb);var zv;var ex=0;var mz=0;this.kqc.gz(fvb.zqc);this.lqc.gz(fvb.brc);this.rmb=fvb.length;this.sqc=fvb.crc;this.wqc=fvb.drc;this.oqc=0.0;this.erc=0.0;this.frc=0.0};es.prototype.ifc=function(ffc){var zv;var ex=0;var tjc=this.shc;var ujc=this.rhc;zv=tjc.uub.aw;var grc=this.kqc.dg-tjc.vub.gub.dg;var hrc=this.kqc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-ujc.vub.gub.dg;var jrc=this.lqc.eg-ujc.vub.gub.eg;
ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;this.mqc.dg=ujc.vub.cg.dg+irc-tjc.vub.cg.dg-grc;this.mqc.eg=ujc.vub.cg.eg+jrc-tjc.vub.cg.eg-hrc;var length=Math.sqrt(this.mqc.dg*this.mqc.dg+this.mqc.eg*this.mqc.eg);if(length>mq.sqb){this.mqc.wpb(1.0/length)}else {this.mqc.zz()}var krc=(grc*this.mqc.eg-hrc*this.mqc.dg);var lrc=(irc*this.mqc.eg-jrc*this.mqc.dg);var mrc=tjc.zxb+tjc.ayb*krc*krc+ujc.zxb+ujc.ayb*lrc*lrc;this.pyb=mrc!=0.0?1.0/mrc:0.0;if(this.sqc>0.0){var ntb=length-this.rmb;
var vwb=2.0*Math.PI*this.sqc;var kcb=2.0*this.pyb*this.wqc*vwb;var rmc=this.pyb*vwb*vwb;this.erc=ffc.hfc*(kcb+ffc.hfc*rmc);this.erc=this.erc!=0.0?1/this.erc:0.0;this.frc=ntb*ffc.hfc*rmc*this.erc;this.pyb=mrc+this.erc;this.pyb=this.pyb!=0.0?1.0/this.pyb:0.0}if(ffc.mgc){this.oqc*=ffc.lic;var aoc=this.oqc*this.mqc.dg;var boc=this.oqc*this.mqc.eg;tjc.wub.dg-=tjc.zxb*aoc;tjc.wub.eg-=tjc.zxb*boc;tjc.wwb-=tjc.ayb*(grc*boc-hrc*aoc);ujc.wub.dg+=ujc.zxb*aoc;ujc.wub.eg+=ujc.zxb*boc;ujc.wwb+=ujc.ayb*(irc*boc-jrc*aoc)}
else {this.oqc=0.0}};es.prototype.kfc=function(ffc){var zv;var tjc=this.shc;var ujc=this.rhc;zv=tjc.uub.aw;var grc=this.kqc.dg-tjc.vub.gub.dg;var hrc=this.kqc.eg-tjc.vub.gub.eg;var ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-ujc.vub.gub.dg;var jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var jw=tjc.wub.dg+((-tjc.wwb*hrc));var kw=tjc.wub.eg+(tjc.wwb*grc);var lw=ujc.wub.dg+((-ujc.wwb*jrc));var mw=ujc.wub.eg+(ujc.wwb*irc);
var nrc=(this.mqc.dg*(lw-jw)+this.mqc.eg*(mw-kw));var yxb=(-this.pyb*(nrc+this.frc+this.erc*this.oqc));this.oqc+=yxb;var aoc=yxb*this.mqc.dg;var boc=yxb*this.mqc.eg;tjc.wub.dg-=tjc.zxb*aoc;tjc.wub.eg-=tjc.zxb*boc;tjc.wwb-=tjc.ayb*(grc*boc-hrc*aoc);ujc.wub.dg+=ujc.zxb*aoc;ujc.wub.eg+=ujc.zxb*boc;ujc.wwb+=ujc.ayb*(irc*boc-jrc*aoc)};es.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;var zv;if(this.sqc>0.0){return !0}var tjc=this.shc;var ujc=this.rhc;zv=tjc.uub.aw;var grc=this.kqc.dg-tjc.vub.gub.dg;var hrc=this.kqc.eg-tjc.vub.gub.eg;
var ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-ujc.vub.gub.dg;var jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var et=ujc.vub.cg.dg+irc-tjc.vub.cg.dg-grc;var ft=ujc.vub.cg.eg+jrc-tjc.vub.cg.eg-hrc;var length=Math.sqrt(et*et+ft*ft);et/=length;ft/=length;var ntb=length-this.rmb;ntb=pq.hib(ntb,(-mq.prb),mq.prb);var yxb=(-this.pyb*ntb);this.mqc.hv(et,ft);var aoc=yxb*this.mqc.dg;var boc=yxb*this.mqc.eg;
tjc.vub.cg.dg-=tjc.zxb*aoc;tjc.vub.cg.eg-=tjc.zxb*boc;tjc.vub.xab-=tjc.ayb*(grc*boc-hrc*aoc);ujc.vub.cg.dg+=ujc.zxb*aoc;ujc.vub.cg.eg+=ujc.zxb*boc;ujc.vub.xab+=ujc.ayb*(irc*boc-jrc*aoc);tjc.pac();ujc.pac();return pq.tkb(ntb)<mq.sqb};xn.eo(fs,xn.wo.zo.ms);fs.prototype.__super=xn.wo.zo.ms.prototype;fs.fs=function(){xn.wo.zo.ms.ms.apply(this,arguments);this.zqc=new sq();this.brc=new sq()};fs.prototype.fs=function(){this.__super.ms.call(this);this.type=ls.skc;this.length=1.0;this.crc=0.0;this.drc=0.0};
fs.prototype.ihb=function(tjc,ujc,orc,prc){this.ubc=tjc;this.wbc=ujc;this.zqc.gz(this.ubc.bzb(orc));this.brc.gz(this.wbc.bzb(prc));var et=prc.dg-orc.dg;var ft=prc.eg-orc.eg;this.length=Math.sqrt(et*et+ft*ft);this.crc=0.0;this.drc=0.0};xn.eo(gs,xn.wo.zo.ls);gs.prototype.__super=xn.wo.zo.ls.prototype;gs.gs=function(){xn.wo.zo.ls.ls.apply(this,arguments);this.qrc=new sq();this.rrc=new sq();this.trc=new nq();this.urc=new sq()};gs.prototype.pkc=function(){return this.shc.xyb(this.qrc)};gs.prototype.qkc=function(){
return this.rhc.xyb(this.rrc)};gs.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;return new sq(ofc*this.urc.dg,ofc*this.urc.eg);};gs.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;return ofc*this.vrc};gs.prototype.wrc=function(pxb){if(pxb===undefined)pxb=0;this.xrc=pxb};gs.prototype.yrc=function(){return this.xrc};gs.prototype.zrc=function(wxb){if(wxb===undefined)wxb=0;this.asc=wxb};gs.prototype.bsc=function(){return this.asc};gs.prototype.gs=function(fvb){this.__super.ls.call(this,fvb);this.qrc.gz(fvb.zqc);
this.rrc.gz(fvb.brc);this.trc.zz();this.csc=0.0;this.urc.zz();this.vrc=0.0;this.xrc=fvb.dsc;this.asc=fvb.esc;};gs.prototype.ifc=function(ffc){var zv;var ex=0;var tjc=this.shc;var ujc=this.rhc;zv=tjc.uub.aw;var tmc=this.qrc.dg-tjc.vub.gub.dg;var umc=this.qrc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*tmc+zv.dw.dg*umc);umc=(zv.cw.eg*tmc+zv.dw.eg*umc);tmc=ex;zv=ujc.uub.aw;var vmc=this.rrc.dg-ujc.vub.gub.dg;var wmc=this.rrc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*vmc+zv.dw.dg*wmc);wmc=(zv.cw.eg*vmc+zv.dw.eg*wmc);vmc=ex;var fsc=tjc.zxb;
var gsc=ujc.zxb;var hsc=tjc.ayb;var isc=ujc.ayb;var wlc=new nq();wlc.cw.dg=fsc+gsc;wlc.dw.dg=0.0;wlc.cw.eg=0.0;wlc.dw.eg=fsc+gsc;wlc.cw.dg+=hsc*umc*umc;wlc.dw.dg+=(-hsc*tmc*umc);wlc.cw.eg+=(-hsc*tmc*umc);wlc.dw.eg+=hsc*tmc*tmc;wlc.cw.dg+=isc*wmc*wmc;wlc.dw.dg+=(-isc*vmc*wmc);wlc.cw.eg+=(-isc*vmc*wmc);wlc.dw.eg+=isc*vmc*vmc;wlc.jsb(this.trc);this.csc=hsc+isc;if(this.csc>0.0){this.csc=1.0/this.csc}if(ffc.mgc){this.urc.dg*=ffc.lic;this.urc.eg*=ffc.lic;this.vrc*=ffc.lic;var jsc=this.urc;tjc.wub.dg-=fsc*jsc.dg;
tjc.wub.eg-=fsc*jsc.eg;tjc.wwb-=hsc*(tmc*jsc.eg-umc*jsc.dg+this.vrc);ujc.wub.dg+=gsc*jsc.dg;ujc.wub.eg+=gsc*jsc.eg;ujc.wwb+=isc*(vmc*jsc.eg-wmc*jsc.dg+this.vrc);}else {this.urc.zz();this.vrc=0.0}};gs.prototype.kfc=function(ffc){var zv;var ex=0;var tjc=this.shc;var ujc=this.rhc;var moc=tjc.wub;var qcb=tjc.wwb;var noc=ujc.wub;var tcb=ujc.wwb;var fsc=tjc.zxb;var gsc=ujc.zxb;var hsc=tjc.ayb;var isc=ujc.ayb;zv=tjc.uub.aw;var tmc=this.qrc.dg-tjc.vub.gub.dg;var umc=this.qrc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*tmc+zv.dw.dg*umc);
umc=(zv.cw.eg*tmc+zv.dw.eg*umc);tmc=ex;zv=ujc.uub.aw;var vmc=this.rrc.dg-ujc.vub.gub.dg;var wmc=this.rrc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*vmc+zv.dw.dg*wmc);wmc=(zv.cw.eg*vmc+zv.dw.eg*wmc);vmc=ex;var ksc=0;{var nrc=tcb-qcb;var yxb=(-this.csc*nrc);var lsc=this.vrc;ksc=ffc.hfc*this.asc;this.vrc=pq.hib(this.vrc+yxb,(-ksc),ksc);yxb=this.vrc-lsc;qcb-=hsc*yxb;tcb+=isc*yxb}{var msc=noc.dg-tcb*wmc-moc.dg+qcb*umc;var nsc=noc.eg+tcb*vmc-moc.eg-qcb*tmc;var osc=pq.dib(this.trc,new sq((-msc),(-nsc)));var psc=this.urc.cbb();
this.urc.oub(osc);ksc=ffc.hfc*this.xrc;if(this.urc.bcb()>ksc*ksc){this.urc.jy();this.urc.wpb(ksc)}osc=pq.ucb(this.urc,psc);moc.dg-=fsc*osc.dg;moc.eg-=fsc*osc.eg;qcb-=hsc*(tmc*osc.eg-umc*osc.dg);noc.dg+=gsc*osc.dg;noc.eg+=gsc*osc.eg;tcb+=isc*(vmc*osc.eg-wmc*osc.dg)}tjc.wwb=qcb;ujc.wwb=tcb};gs.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;return !0};xn.eo(hs,xn.wo.zo.ms);hs.prototype.__super=xn.wo.zo.ms.prototype;hs.hs=function(){xn.wo.zo.ms.ms.apply(this,arguments);this.zqc=new sq();this.brc=new sq()}
;hs.prototype.hs=function(){this.__super.ms.call(this);this.type=ls.qsc;this.dsc=0.0;this.esc=0.0};hs.prototype.ihb=function(tjc,ujc,anchor){this.ubc=tjc;this.wbc=ujc;this.zqc.gz(this.ubc.bzb(anchor));this.brc.gz(this.wbc.bzb(anchor));};xn.eo(is,xn.wo.zo.ls);is.prototype.__super=xn.wo.zo.ls.prototype;is.is=function(){xn.wo.zo.ls.ls.apply(this,arguments);this.rsc=new sq();this.ssc=new sq();this.kqc=new sq();this.lqc=new sq();this.tsc=new ks()};is.prototype.pkc=function(){return this.shc.xyb(this.kqc)};
is.prototype.qkc=function(){return this.rhc.xyb(this.lqc)};is.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;return new sq(ofc*this.oqc*this.tsc.usc.dg,ofc*this.oqc*this.tsc.usc.eg)};is.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;var zv=this.rhc.uub.aw;var ugb=this.kqc.dg-this.rhc.vub.gub.dg;var vgb=this.kqc.eg-this.rhc.vub.gub.eg;var ex=zv.cw.dg*ugb+zv.dw.dg*vgb;vgb=zv.cw.eg*ugb+zv.dw.eg*vgb;ugb=ex;var aoc=this.oqc*this.tsc.usc.dg;var boc=this.oqc*this.tsc.usc.eg;return ofc*(this.oqc*this.tsc.vsc-ugb*boc+vgb*aoc)}
;is.prototype.wsc=function(){return this.xsc};is.prototype.ysc=function(yqc){if(yqc===undefined)yqc=0;this.xsc=yqc};is.prototype.is=function(fvb){this.__super.ls.call(this,fvb);var bmc=parseInt(fvb.zsc.by);var cmc=parseInt(fvb.atc.by);this.btc=null;this.ctc=null;this.dtc=null;this.etc=null;var ftc=0;var gtc=0;this.htc=fvb.zsc.nkc();this.shc=fvb.zsc.okc();if(bmc==ls.itc){this.btc=(fvb.zsc instanceof ws?fvb.zsc:null);this.rsc.gz(this.btc.kqc);this.kqc.gz(this.btc.lqc);ftc=this.btc.jtc()}else {this.ctc=(fvb.zsc instanceof ss?fvb.zsc:null);
this.rsc.gz(this.ctc.kqc);this.kqc.gz(this.ctc.lqc);ftc=this.ctc.ktc()}this.ltc=fvb.atc.nkc();this.rhc=fvb.atc.okc();if(cmc==ls.itc){this.dtc=(fvb.atc instanceof ws?fvb.atc:null);this.ssc.gz(this.dtc.kqc);this.lqc.gz(this.dtc.lqc);gtc=this.dtc.jtc()}else {this.etc=(fvb.atc instanceof ss?fvb.atc:null);this.ssc.gz(this.etc.kqc);this.lqc.gz(this.etc.lqc);gtc=this.etc.ktc()}this.xsc=fvb.yqc;this.mtc=ftc+this.xsc*gtc;this.oqc=0.0};is.prototype.ifc=function(ffc){var ntc=this.htc;var otc=this.ltc;var tjc=this.shc;
var ujc=this.rhc;var ptc=0;var qtc=0;var ugb=0;var vgb=0;var zv;var jv;var rtc=0;var ex=0;var wlc=0.0;this.tsc.zz();if(this.btc){this.tsc.stc=(-1.0);wlc+=tjc.ayb}else {zv=ntc.uub.aw;jv=this.ctc.ttc;ptc=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;qtc=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;zv=tjc.uub.aw;ugb=this.kqc.dg-tjc.vub.gub.dg;vgb=this.kqc.eg-tjc.vub.gub.eg;ex=zv.cw.dg*ugb+zv.dw.dg*vgb;vgb=zv.cw.eg*ugb+zv.dw.eg*vgb;ugb=ex;rtc=ugb*qtc-vgb*ptc;this.tsc.utc.hv((-ptc),(-qtc));this.tsc.stc=(-rtc);wlc+=tjc.zxb+tjc.ayb*rtc*rtc}if(this.dtc){
this.tsc.vsc=(-this.xsc);wlc+=this.xsc*this.xsc*ujc.ayb}else {zv=otc.uub.aw;jv=this.etc.ttc;ptc=zv.cw.dg*jv.dg+zv.dw.dg*jv.eg;qtc=zv.cw.eg*jv.dg+zv.dw.eg*jv.eg;zv=ujc.uub.aw;ugb=this.lqc.dg-ujc.vub.gub.dg;vgb=this.lqc.eg-ujc.vub.gub.eg;ex=zv.cw.dg*ugb+zv.dw.dg*vgb;vgb=zv.cw.eg*ugb+zv.dw.eg*vgb;ugb=ex;rtc=ugb*qtc-vgb*ptc;this.tsc.usc.hv((-this.xsc*ptc),(-this.xsc*qtc));this.tsc.vsc=(-this.xsc*rtc);wlc+=this.xsc*this.xsc*(ujc.zxb+ujc.ayb*rtc*rtc)}this.pyb=wlc>0.0?1.0/wlc:0.0;if(ffc.mgc){tjc.wub.dg+=tjc.zxb*this.oqc*this.tsc.utc.dg;
tjc.wub.eg+=tjc.zxb*this.oqc*this.tsc.utc.eg;tjc.wwb+=tjc.ayb*this.oqc*this.tsc.stc;ujc.wub.dg+=ujc.zxb*this.oqc*this.tsc.usc.dg;ujc.wub.eg+=ujc.zxb*this.oqc*this.tsc.usc.eg;ujc.wwb+=ujc.ayb*this.oqc*this.tsc.vsc}else {this.oqc=0.0}};is.prototype.kfc=function(ffc){var tjc=this.shc;var ujc=this.rhc;var nrc=this.tsc.vtc(tjc.wub,tjc.wwb,ujc.wub,ujc.wwb);var yxb=(-this.pyb*nrc);this.oqc+=yxb;tjc.wub.dg+=tjc.zxb*yxb*this.tsc.utc.dg;tjc.wub.eg+=tjc.zxb*yxb*this.tsc.utc.eg;tjc.wwb+=tjc.ayb*yxb*this.tsc.stc;
ujc.wub.dg+=ujc.zxb*yxb*this.tsc.usc.dg;ujc.wub.eg+=ujc.zxb*yxb*this.tsc.usc.eg;ujc.wwb+=ujc.ayb*yxb*this.tsc.vsc};is.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;var wtc=0.0;var tjc=this.shc;var ujc=this.rhc;var ftc=0;var gtc=0;if(this.btc){ftc=this.btc.jtc()}else {ftc=this.ctc.ktc();}if(this.dtc){gtc=this.dtc.jtc()}else {gtc=this.etc.ktc()}var ntb=this.mtc-(ftc+this.xsc*gtc);var yxb=(-this.pyb*ntb);tjc.vub.cg.dg+=tjc.zxb*yxb*this.tsc.utc.dg;tjc.vub.cg.eg+=tjc.zxb*yxb*this.tsc.utc.eg;tjc.vub.xab+=tjc.ayb*yxb*this.tsc.stc;
ujc.vub.cg.dg+=ujc.zxb*yxb*this.tsc.usc.dg;ujc.vub.cg.eg+=ujc.zxb*yxb*this.tsc.usc.eg;ujc.vub.xab+=ujc.ayb*yxb*this.tsc.vsc;tjc.pac();ujc.pac();return wtc<mq.sqb};xn.eo(js,xn.wo.zo.ms);js.prototype.__super=xn.wo.zo.ms.prototype;js.js=function(){xn.wo.zo.ms.ms.apply(this,arguments);};js.prototype.js=function(){this.__super.ms.call(this);this.type=ls.xtc;this.zsc=null;this.atc=null;this.yqc=1.0};ks.ks=function(){this.utc=new sq();this.usc=new sq()};ks.prototype.zz=function(){this.utc.zz();this.stc=0.0;
this.usc.zz();this.vsc=0.0};ks.prototype.hv=function(okb,ytc,pkb,ztc){if(ytc===undefined)ytc=0;if(ztc===undefined)ztc=0;this.utc.gz(okb);this.stc=ytc;this.usc.gz(pkb);this.vsc=ztc};ks.prototype.vtc=function(okb,ytc,pkb,ztc){if(ytc===undefined)ytc=0;if(ztc===undefined)ztc=0;return(this.utc.dg*okb.dg+this.utc.eg*okb.eg)+this.stc*ytc+(this.usc.dg*pkb.dg+this.usc.eg*pkb.eg)+this.vsc*ztc;};ls.ls=function(){this.qhc=new ns();this.thc=new ns();this.auc=new sq();this.buc=new sq()};ls.prototype.kdb=function(){
return this.by};ls.prototype.pkc=function(){return null};ls.prototype.qkc=function(){return null};ls.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;return null};ls.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;return 0.0};ls.prototype.nkc=function(){return this.shc};ls.prototype.okc=function(){return this.rhc};ls.prototype.fac=function(){return this.pvb};ls.prototype.peb=function(){return this.gac};ls.prototype.hac=function(data){this.gac=data};ls.prototype.wzb=function(){return this.shc.wzb()&&this.rhc.wzb()}
;ls.jvb=function(fvb,vec){var sac=null;switch(fvb.type){case ls.skc:{sac=new es((fvb instanceof fs?fvb:null))}break;case ls.xkc:{sac=new qs((fvb instanceof rs?fvb:null))}break;case ls.cuc:{sac=new ss((fvb instanceof ts?fvb:null))}break;case ls.itc:{sac=new ws((fvb instanceof xs?fvb:null))}break;case ls.tkc:{sac=new us((fvb instanceof vs?fvb:null))}break;case ls.xtc:{sac=new is((fvb instanceof js?fvb:null));}break;case ls.duc:{sac=new os((fvb instanceof ps?fvb:null))}break;case ls.euc:{sac=new ys((fvb instanceof zs?fvb:null))}break;
case ls.qsc:{sac=new gs((fvb instanceof hs?fvb:null))}break;default :break}return sac};ls.hwb=function(sac,vec){};ls.prototype.ls=function(fvb){mq.jcb(fvb.ubc!=fvb.wbc);this.by=fvb.type;this.mac=null;this.pvb=null;this.shc=fvb.ubc;this.rhc=fvb.wbc;this.tac=fvb.uhc;this.ojc=!1;this.gac=fvb.wdb};ls.prototype.ifc=function(ffc){};ls.prototype.kfc=function(ffc){};ls.prototype.lfc=function(){};ls.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;return !1};xn.at.push(function(){xn.wo.zo.ls.fuc=0;xn.wo.zo.ls.itc=1;
xn.wo.zo.ls.cuc=2;xn.wo.zo.ls.skc=3;xn.wo.zo.ls.tkc=4;xn.wo.zo.ls.xkc=5;xn.wo.zo.ls.xtc=6;xn.wo.zo.ls.duc=7;xn.wo.zo.ls.euc=8;xn.wo.zo.ls.qsc=9;xn.wo.zo.ls.guc=0;xn.wo.zo.ls.huc=1;xn.wo.zo.ls.iuc=2;xn.wo.zo.ls.juc=3});ms.ms=function(){};ms.prototype.ms=function(){this.type=ls.fuc;this.wdb=null;this.ubc=null;this.wbc=null;this.uhc=!1};ns.ns=function(){};xn.eo(os,xn.wo.zo.ls);os.prototype.__super=xn.wo.zo.ls.prototype;os.os=function(){xn.wo.zo.ls.ls.apply(this,arguments);this.kqc=new sq();this.lqc=new sq();
this.ttc=new sq();this.kuc=new sq();this.hhb=new sq();this.luc=new sq();this.muc=new nq();this.oqc=new sq()};os.prototype.pkc=function(){return this.shc.xyb(this.kqc)};os.prototype.qkc=function(){return this.rhc.xyb(this.lqc)};os.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;return new sq(ofc*(this.oqc.dg*this.luc.dg+(this.nuc+this.oqc.eg)*this.hhb.dg),ofc*(this.oqc.dg*this.luc.eg+(this.nuc+this.oqc.eg)*this.hhb.eg));};os.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;return ofc*this.oqc.eg};os.prototype.ktc=function(){
var tjc=this.shc;var ujc=this.rhc;var zv;var st=tjc.xyb(this.kqc);var ut=ujc.xyb(this.lqc);var et=ut.dg-st.dg;var ft=ut.eg-st.eg;var idc=tjc.zyb(this.ttc);var ouc=idc.dg*et+idc.eg*ft;return ouc};os.prototype.puc=function(){var tjc=this.shc;var ujc=this.rhc;var zv;zv=tjc.uub.aw;var grc=this.kqc.dg-tjc.vub.gub.dg;var hrc=this.kqc.eg-tjc.vub.gub.eg;var ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-ujc.vub.gub.dg;var jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);
jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var sz=tjc.vub.cg.dg+grc;var tz=tjc.vub.cg.eg+hrc;var uz=ujc.vub.cg.dg+irc;var vz=ujc.vub.cg.eg+jrc;var et=uz-sz;var ft=vz-tz;var idc=tjc.zyb(this.ttc);var rab=tjc.wub;var sab=ujc.wub;var yib=tjc.wwb;var zib=ujc.wwb;var quc=(et*((-yib*idc.eg))+ft*(yib*idc.dg))+(idc.dg*(((sab.dg+((-zib*jrc)))-rab.dg)-((-yib*hrc)))+idc.eg*(((sab.eg+(zib*irc))-rab.eg)-(yib*grc)));return quc};os.prototype.ruc=function(){return this.suc};os.prototype.tuc=function(pzb){this.shc.txb(!0);this.rhc.txb(!0);
this.suc=pzb};os.prototype.uuc=function(){return this.vuc};os.prototype.wuc=function(){return this.xuc};os.prototype.yuc=function(hob,iob){if(hob===undefined)hob=0;if(iob===undefined)iob=0;this.shc.txb(!0);this.rhc.txb(!0);this.vuc=hob;this.xuc=iob};os.prototype.zuc=function(){return this.avc};os.prototype.bvc=function(pzb){this.shc.txb(!0);this.rhc.txb(!0);this.avc=pzb};os.prototype.cvc=function(quc){if(quc===undefined)quc=0;this.shc.txb(!0);this.rhc.txb(!0);this.dvc=quc};os.prototype.evc=function(){
return this.dvc};os.prototype.fvc=function(pxb){if(pxb===undefined)pxb=0;this.shc.txb(!0);this.rhc.txb(!0);this.gvc=pxb};os.prototype.hvc=function(){return this.gvc};os.prototype.ivc=function(){return this.nuc};os.prototype.os=function(fvb){this.__super.ls.call(this,fvb);var zv;var ex=0;var mz=0;this.kqc.gz(fvb.zqc);this.lqc.gz(fvb.brc);this.ttc.gz(fvb.jvc);this.kuc.dg=(-this.ttc.eg);this.kuc.eg=this.ttc.dg;this.oqc.zz();this.kvc=0.0;this.nuc=0.0;this.vuc=fvb.lvc;this.xuc=fvb.mvc;this.gvc=fvb.nvc;this.dvc=fvb.ovc;
this.suc=fvb.pvc;this.avc=fvb.qvc;this.rvc=ls.guc;this.hhb.zz();this.luc.zz()};os.prototype.ifc=function(ffc){var tjc=this.shc;var ujc=this.rhc;var zv;var ex=0;this.auc.gz(tjc.qwb());this.buc.gz(ujc.qwb());var nv=tjc.ikb();var qv=ujc.ikb();zv=tjc.uub.aw;var grc=this.kqc.dg-this.auc.dg;var hrc=this.kqc.eg-this.auc.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-this.buc.dg;var jrc=this.lqc.eg-this.buc.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);
irc=ex;var et=ujc.vub.cg.dg+irc-tjc.vub.cg.dg-grc;var ft=ujc.vub.cg.eg+jrc-tjc.vub.cg.eg-hrc;this.svc=tjc.zxb;this.tvc=ujc.zxb;this.uvc=tjc.ayb;this.vvc=ujc.ayb;{this.hhb.gz(pq.dib(nv.aw,this.ttc));this.wvc=(et+grc)*this.hhb.eg-(ft+hrc)*this.hhb.dg;this.xvc=irc*this.hhb.eg-jrc*this.hhb.dg;this.kvc=this.svc+this.tvc+this.uvc*this.wvc*this.wvc+this.vvc*this.xvc*this.xvc;this.kvc=this.kvc>Number.MIN_VALUE?1.0/this.kvc:0.0}{this.luc.gz(pq.dib(nv.aw,this.kuc));this.yvc=(et+grc)*this.luc.eg-(ft+hrc)*this.luc.dg;
this.zvc=irc*this.luc.eg-jrc*this.luc.dg;var awc=this.svc;var bwc=this.tvc;var gx=this.uvc;var hx=this.vvc;this.muc.cw.dg=awc+bwc+gx*this.yvc*this.yvc+hx*this.zvc*this.zvc;this.muc.cw.eg=gx*this.yvc*this.wvc+hx*this.zvc*this.xvc;this.muc.dw.dg=this.muc.cw.eg;this.muc.dw.eg=awc+bwc+gx*this.wvc*this.wvc+hx*this.xvc*this.xvc}if(this.suc){var cwc=this.hhb.dg*et+this.hhb.eg*ft;if(pq.tkb(this.xuc-this.vuc)<2.0*mq.sqb){this.rvc=ls.juc}else if(cwc<=this.vuc){if(this.rvc!=ls.huc){this.rvc=ls.huc;this.oqc.eg=0.0}
}else if(cwc>=this.xuc){if(this.rvc!=ls.iuc){this.rvc=ls.iuc;this.oqc.eg=0.0}}else {this.rvc=ls.guc;this.oqc.eg=0.0}}else {this.rvc=ls.guc}if(this.avc==!1){this.nuc=0.0}if(ffc.mgc){this.oqc.dg*=ffc.lic;this.oqc.eg*=ffc.lic;this.nuc*=ffc.lic;var aoc=this.oqc.dg*this.luc.dg+(this.nuc+this.oqc.eg)*this.hhb.dg;var boc=this.oqc.dg*this.luc.eg+(this.nuc+this.oqc.eg)*this.hhb.eg;var dwc=this.oqc.dg*this.yvc+(this.nuc+this.oqc.eg)*this.wvc;var ewc=this.oqc.dg*this.zvc+(this.nuc+this.oqc.eg)*this.xvc;tjc.wub.dg-=this.svc*aoc;
tjc.wub.eg-=this.svc*boc;tjc.wwb-=this.uvc*dwc;ujc.wub.dg+=this.tvc*aoc;ujc.wub.eg+=this.tvc*boc;ujc.wwb+=this.vvc*ewc}else {this.oqc.zz();this.nuc=0.0}};os.prototype.kfc=function(ffc){var tjc=this.shc;var ujc=this.rhc;var rab=tjc.wub;var yib=tjc.wwb;var sab=ujc.wub;var zib=ujc.wwb;var aoc=0;var boc=0;var dwc=0;var ewc=0;if(this.avc&&this.rvc!=ls.juc){var nrc=this.hhb.dg*(sab.dg-rab.dg)+this.hhb.eg*(sab.eg-rab.eg)+this.xvc*zib-this.wvc*yib;var yxb=this.kvc*(this.dvc-nrc);var lsc=this.nuc;var ksc=ffc.hfc*this.gvc;
this.nuc=pq.hib(this.nuc+yxb,(-ksc),ksc);yxb=this.nuc-lsc;aoc=yxb*this.hhb.dg;boc=yxb*this.hhb.eg;dwc=yxb*this.wvc;ewc=yxb*this.xvc;rab.dg-=this.svc*aoc;rab.eg-=this.svc*boc;yib-=this.uvc*dwc;sab.dg+=this.tvc*aoc;sab.eg+=this.tvc*boc;zib+=this.vvc*ewc}var fwc=this.luc.dg*(sab.dg-rab.dg)+this.luc.eg*(sab.eg-rab.eg)+this.zvc*zib-this.yvc*yib;if(this.suc&&this.rvc!=ls.guc){var gwc=this.hhb.dg*(sab.dg-rab.dg)+this.hhb.eg*(sab.eg-rab.eg)+this.xvc*zib-this.wvc*yib;var qkb=this.oqc.cbb();var hwc=this.muc.msb(new sq(),
(-fwc),(-gwc));this.oqc.oub(hwc);if(this.rvc==ls.huc){this.oqc.eg=pq.ycb(this.oqc.eg,0.0)}else if(this.rvc==ls.iuc){this.oqc.eg=pq.rtb(this.oqc.eg,0.0)}var qu=(-fwc)-(this.oqc.eg-qkb.eg)*this.muc.dw.dg;var iwc=0;if(this.muc.cw.dg!=0.0){iwc=qu/this.muc.cw.dg+qkb.dg}else {iwc=qkb.dg}this.oqc.dg=iwc;hwc.dg=this.oqc.dg-qkb.dg;hwc.eg=this.oqc.eg-qkb.eg;aoc=hwc.dg*this.luc.dg+hwc.eg*this.hhb.dg;boc=hwc.dg*this.luc.eg+hwc.eg*this.hhb.eg;dwc=hwc.dg*this.yvc+hwc.eg*this.wvc;ewc=hwc.dg*this.zvc+hwc.eg*this.xvc;
rab.dg-=this.svc*aoc;rab.eg-=this.svc*boc;yib-=this.uvc*dwc;sab.dg+=this.tvc*aoc;sab.eg+=this.tvc*boc;zib+=this.vvc*ewc}else {var jwc=0;if(this.muc.cw.dg!=0.0){jwc=((-fwc))/this.muc.cw.dg}else {jwc=0.0}this.oqc.dg+=jwc;aoc=jwc*this.luc.dg;boc=jwc*this.luc.eg;dwc=jwc*this.yvc;ewc=jwc*this.zvc;rab.dg-=this.svc*aoc;rab.eg-=this.svc*boc;yib-=this.uvc*dwc;sab.dg+=this.tvc*aoc;sab.eg+=this.tvc*boc;zib+=this.vvc*ewc}tjc.wub.gz(rab);tjc.wwb=yib;ujc.wub.gz(sab);ujc.wwb=zib};os.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;
var kwc=0;var lwc=0;var tjc=this.shc;var ujc=this.rhc;var dsb=tjc.vub.cg;var ytc=tjc.vub.xab;var esb=ujc.vub.cg;var ztc=ujc.vub.xab;var zv;var ex=0;var awc=0;var bwc=0;var gx=0;var hx=0;var wtc=0.0;var mwc=0.0;var kac=!1;var nwc=0.0;var owc=nq.asb(ytc);var pwc=nq.asb(ztc);zv=owc;var grc=this.kqc.dg-this.auc.dg;var hrc=this.kqc.eg-this.auc.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=pwc;var irc=this.lqc.dg-this.buc.dg;var jrc=this.lqc.eg-this.buc.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);
irc=ex;var et=esb.dg+irc-dsb.dg-grc;var ft=esb.eg+jrc-dsb.eg-hrc;if(this.suc){this.hhb=pq.dib(owc,this.ttc);this.wvc=(et+grc)*this.hhb.eg-(ft+hrc)*this.hhb.dg;this.xvc=irc*this.hhb.eg-jrc*this.hhb.dg;var ouc=this.hhb.dg*et+this.hhb.eg*ft;if(pq.tkb(this.xuc-this.vuc)<2.0*mq.sqb){nwc=pq.hib(ouc,(-mq.prb),mq.prb);wtc=pq.tkb(ouc);kac=!0}else if(ouc<=this.vuc){nwc=pq.hib(ouc-this.vuc+mq.sqb,(-mq.prb),0.0);wtc=this.vuc-ouc;kac=!0}else if(ouc>=this.xuc){nwc=pq.hib(ouc-this.xuc+mq.sqb,0.0,mq.prb);wtc=ouc-this.xuc;
kac=!0}}this.luc=pq.dib(owc,this.kuc);this.yvc=(et+grc)*this.luc.eg-(ft+hrc)*this.luc.dg;this.zvc=irc*this.luc.eg-jrc*this.luc.dg;var yxb=new sq();var qwc=this.luc.dg*et+this.luc.eg*ft;wtc=pq.ycb(wtc,pq.tkb(qwc));mwc=0.0;if(kac){awc=this.svc;bwc=this.tvc;gx=this.uvc;hx=this.vvc;this.muc.cw.dg=awc+bwc+gx*this.yvc*this.yvc+hx*this.zvc*this.zvc;this.muc.cw.eg=gx*this.yvc*this.wvc+hx*this.zvc*this.xvc;this.muc.dw.dg=this.muc.cw.eg;this.muc.dw.eg=awc+bwc+gx*this.wvc*this.wvc+hx*this.xvc*this.xvc;this.muc.msb(yxb,
(-qwc),(-nwc))}else {awc=this.svc;bwc=this.tvc;gx=this.uvc;hx=this.vvc;var unc=awc+bwc+gx*this.yvc*this.yvc+hx*this.zvc*this.zvc;var rwc=0;if(unc!=0.0){rwc=((-qwc))/unc}else {rwc=0.0}yxb.dg=rwc;yxb.eg=0.0}var aoc=yxb.dg*this.luc.dg+yxb.eg*this.hhb.dg;var boc=yxb.dg*this.luc.eg+yxb.eg*this.hhb.eg;var dwc=yxb.dg*this.yvc+yxb.eg*this.wvc;var ewc=yxb.dg*this.zvc+yxb.eg*this.xvc;dsb.dg-=this.svc*aoc;dsb.eg-=this.svc*boc;ytc-=this.uvc*dwc;esb.dg+=this.tvc*aoc;esb.eg+=this.tvc*boc;ztc+=this.vvc*ewc;tjc.vub.xab=ytc;
ujc.vub.xab=ztc;tjc.pac();ujc.pac();return wtc<=mq.sqb&&mwc<=mq.krb};xn.eo(ps,xn.wo.zo.ms);ps.prototype.__super=xn.wo.zo.ms.prototype;ps.ps=function(){xn.wo.zo.ms.ms.apply(this,arguments);this.zqc=new sq();this.brc=new sq();this.jvc=new sq()};ps.prototype.ps=function(){this.__super.ms.call(this);this.type=ls.duc;this.jvc.hv(1.0,0.0);this.pvc=!1;this.lvc=0.0;this.mvc=0.0;this.qvc=!1;this.nvc=0.0;this.ovc=0.0};ps.prototype.ihb=function(tjc,ujc,anchor,idc){this.ubc=tjc;this.wbc=ujc;this.zqc=this.ubc.bzb(anchor);
this.brc=this.wbc.bzb(anchor);this.jvc=this.ubc.dzb(idc)};xn.eo(qs,xn.wo.zo.ls);qs.prototype.__super=xn.wo.zo.ls.prototype;qs.qs=function(){xn.wo.zo.ls.ls.apply(this,arguments);this.wlc=new nq();this.swc=new nq();this.twc=new nq();this.uwc=new sq();this.vwc=new sq();this.oqc=new sq();this.pyb=new nq();this.wwc=new sq()};qs.prototype.pkc=function(){return this.vwc};qs.prototype.qkc=function(){return this.rhc.xyb(this.uwc)};qs.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;return new sq(ofc*this.oqc.dg,
ofc*this.oqc.eg)};qs.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;return 0.0};qs.prototype.xwc=function(){return this.vwc};qs.prototype.ywc=function(target){if(this.rhc.sxb()==!1){this.rhc.txb(!0)}this.vwc=target};qs.prototype.yrc=function(){return this.xrc};qs.prototype.wrc=function(dsc){if(dsc===undefined)dsc=0;this.xrc=dsc};qs.prototype.rqc=function(){return this.sqc};qs.prototype.tqc=function(uqc){if(uqc===undefined)uqc=0;this.sqc=uqc};qs.prototype.vqc=function(){return this.wqc};qs.prototype.xqc=function(yqc){
if(yqc===undefined)yqc=0;this.wqc=yqc};qs.prototype.qs=function(fvb){this.__super.ls.call(this,fvb);this.vwc.gz(fvb.target);var ex=this.vwc.dg-this.rhc.uub.position.dg;var mz=this.vwc.eg-this.rhc.uub.position.eg;var zv=this.rhc.uub.aw;this.uwc.dg=(ex*zv.cw.dg+mz*zv.cw.eg);this.uwc.eg=(ex*zv.dw.dg+mz*zv.dw.eg);this.xrc=fvb.dsc;this.oqc.zz();this.sqc=fvb.crc;this.wqc=fvb.drc;this.zwc=0.0;this.erc=0.0};qs.prototype.ifc=function(ffc){var qu=this.rhc;var ulb=qu.oyb();var vwb=2.0*Math.PI*this.sqc;var kcb=2.0*ulb*this.wqc*vwb;
var rmc=ulb*vwb*vwb;this.erc=ffc.hfc*(kcb+ffc.hfc*rmc);this.erc=this.erc!=0?1/this.erc:0.0;this.zwc=ffc.hfc*rmc*this.erc;var zv;zv=qu.uub.aw;var ugb=this.uwc.dg-qu.vub.gub.dg;var vgb=this.uwc.eg-qu.vub.gub.eg;var ex=(zv.cw.dg*ugb+zv.dw.dg*vgb);vgb=(zv.cw.eg*ugb+zv.dw.eg*vgb);ugb=ex;var mrc=qu.zxb;var axc=qu.ayb;this.swc.cw.dg=mrc;this.swc.dw.dg=0.0;this.swc.cw.eg=0.0;this.swc.dw.eg=mrc;this.twc.cw.dg=axc*vgb*vgb;this.twc.dw.dg=(-axc*ugb*vgb);this.twc.cw.eg=(-axc*ugb*vgb);this.twc.dw.eg=axc*ugb*ugb;this.wlc.gsb(this.swc);
this.wlc.hsb(this.twc);this.wlc.cw.dg+=this.erc;this.wlc.dw.eg+=this.erc;this.wlc.jsb(this.pyb);this.wwc.dg=qu.vub.cg.dg+ugb-this.vwc.dg;this.wwc.eg=qu.vub.cg.eg+vgb-this.vwc.eg;qu.wwb*=0.98;this.oqc.dg*=ffc.lic;this.oqc.eg*=ffc.lic;qu.wub.dg+=mrc*this.oqc.dg;qu.wub.eg+=mrc*this.oqc.eg;qu.wwb+=axc*(ugb*this.oqc.eg-vgb*this.oqc.dg)};qs.prototype.kfc=function(ffc){var qu=this.rhc;var zv;var ex=0;var mz=0;zv=qu.uub.aw;var ugb=this.uwc.dg-qu.vub.gub.dg;var vgb=this.uwc.eg-qu.vub.gub.eg;ex=(zv.cw.dg*ugb+zv.dw.dg*vgb);
vgb=(zv.cw.eg*ugb+zv.dw.eg*vgb);ugb=ex;var msc=qu.wub.dg+((-qu.wwb*vgb));var nsc=qu.wub.eg+(qu.wwb*ugb);zv=this.pyb;ex=msc+this.zwc*this.wwc.dg+this.erc*this.oqc.dg;mz=nsc+this.zwc*this.wwc.eg+this.erc*this.oqc.eg;var bxc=(-(zv.cw.dg*ex+zv.dw.dg*mz));var cxc=(-(zv.cw.eg*ex+zv.dw.eg*mz));var dxc=this.oqc.dg;var exc=this.oqc.eg;this.oqc.dg+=bxc;this.oqc.eg+=cxc;var ksc=ffc.hfc*this.xrc;if(this.oqc.bcb()>ksc*ksc){this.oqc.wpb(ksc/this.oqc.ddb())}bxc=this.oqc.dg-dxc;cxc=this.oqc.eg-exc;qu.wub.dg+=qu.zxb*bxc;
qu.wub.eg+=qu.zxb*cxc;qu.wwb+=qu.ayb*(ugb*cxc-vgb*bxc)};qs.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;return !0};xn.eo(rs,xn.wo.zo.ms);rs.prototype.__super=xn.wo.zo.ms.prototype;rs.rs=function(){xn.wo.zo.ms.ms.apply(this,arguments);this.target=new sq();};rs.prototype.rs=function(){this.__super.ms.call(this);this.type=ls.xkc;this.dsc=0.0;this.crc=5.0;this.drc=0.7};xn.eo(ss,xn.wo.zo.ls);ss.prototype.__super=xn.wo.zo.ls.prototype;ss.ss=function(){xn.wo.zo.ls.ls.apply(this,arguments);this.kqc=new sq();
this.lqc=new sq();this.ttc=new sq();this.kuc=new sq();this.hhb=new sq();this.luc=new sq();this.muc=new oq();this.oqc=new tq()};ss.prototype.pkc=function(){return this.shc.xyb(this.kqc)};ss.prototype.qkc=function(){return this.rhc.xyb(this.lqc)};ss.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;return new sq(ofc*(this.oqc.dg*this.luc.dg+(this.nuc+this.oqc.usb)*this.hhb.dg),ofc*(this.oqc.dg*this.luc.eg+(this.nuc+this.oqc.usb)*this.hhb.eg))};ss.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;return ofc*this.oqc.eg}
;ss.prototype.ktc=function(){var tjc=this.shc;var ujc=this.rhc;var zv;var st=tjc.xyb(this.kqc);var ut=ujc.xyb(this.lqc);var et=ut.dg-st.dg;var ft=ut.eg-st.eg;var idc=tjc.zyb(this.ttc);var ouc=idc.dg*et+idc.eg*ft;return ouc};ss.prototype.puc=function(){var tjc=this.shc;var ujc=this.rhc;var zv;zv=tjc.uub.aw;var grc=this.kqc.dg-tjc.vub.gub.dg;var hrc=this.kqc.eg-tjc.vub.gub.eg;var ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-ujc.vub.gub.dg;var jrc=this.lqc.eg-ujc.vub.gub.eg;
ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var sz=tjc.vub.cg.dg+grc;var tz=tjc.vub.cg.eg+hrc;var uz=ujc.vub.cg.dg+irc;var vz=ujc.vub.cg.eg+jrc;var et=uz-sz;var ft=vz-tz;var idc=tjc.zyb(this.ttc);var rab=tjc.wub;var sab=ujc.wub;var yib=tjc.wwb;var zib=ujc.wwb;var quc=(et*((-yib*idc.eg))+ft*(yib*idc.dg))+(idc.dg*(((sab.dg+((-zib*jrc)))-rab.dg)-((-yib*hrc)))+idc.eg*(((sab.eg+(zib*irc))-rab.eg)-(yib*grc)));return quc};ss.prototype.ruc=function(){return this.suc};ss.prototype.tuc=function(pzb){
this.shc.txb(!0);this.rhc.txb(!0);this.suc=pzb};ss.prototype.uuc=function(){return this.vuc};ss.prototype.wuc=function(){return this.xuc};ss.prototype.yuc=function(hob,iob){if(hob===undefined)hob=0;if(iob===undefined)iob=0;this.shc.txb(!0);this.rhc.txb(!0);this.vuc=hob;this.xuc=iob};ss.prototype.zuc=function(){return this.avc};ss.prototype.bvc=function(pzb){this.shc.txb(!0);this.rhc.txb(!0);this.avc=pzb;};ss.prototype.cvc=function(quc){if(quc===undefined)quc=0;this.shc.txb(!0);this.rhc.txb(!0);this.dvc=quc}
;ss.prototype.evc=function(){return this.dvc};ss.prototype.fvc=function(pxb){if(pxb===undefined)pxb=0;this.shc.txb(!0);this.rhc.txb(!0);this.gvc=pxb};ss.prototype.ivc=function(){return this.nuc};ss.prototype.ss=function(fvb){this.__super.ls.call(this,fvb);var zv;var ex=0;var mz=0;this.kqc.gz(fvb.zqc);this.lqc.gz(fvb.brc);this.ttc.gz(fvb.jvc);this.kuc.dg=(-this.ttc.eg);this.kuc.eg=this.ttc.dg;this.fxc=fvb.gxc;this.oqc.zz();this.kvc=0.0;this.nuc=0.0;this.vuc=fvb.lvc;this.xuc=fvb.mvc;this.gvc=fvb.nvc;this.dvc=fvb.ovc;
this.suc=fvb.pvc;this.avc=fvb.qvc;this.rvc=ls.guc;this.hhb.zz();this.luc.zz()};ss.prototype.ifc=function(ffc){var tjc=this.shc;var ujc=this.rhc;var zv;var ex=0;this.auc.gz(tjc.qwb());this.buc.gz(ujc.qwb());var nv=tjc.ikb();var qv=ujc.ikb();zv=tjc.uub.aw;var grc=this.kqc.dg-this.auc.dg;var hrc=this.kqc.eg-this.auc.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-this.buc.dg;var jrc=this.lqc.eg-this.buc.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);
irc=ex;var et=ujc.vub.cg.dg+irc-tjc.vub.cg.dg-grc;var ft=ujc.vub.cg.eg+jrc-tjc.vub.cg.eg-hrc;this.svc=tjc.zxb;this.tvc=ujc.zxb;this.uvc=tjc.ayb;this.vvc=ujc.ayb;{this.hhb.gz(pq.dib(nv.aw,this.ttc));this.wvc=(et+grc)*this.hhb.eg-(ft+hrc)*this.hhb.dg;this.xvc=irc*this.hhb.eg-jrc*this.hhb.dg;this.kvc=this.svc+this.tvc+this.uvc*this.wvc*this.wvc+this.vvc*this.xvc*this.xvc;if(this.kvc>Number.MIN_VALUE)this.kvc=1.0/this.kvc;}{this.luc.gz(pq.dib(nv.aw,this.kuc));this.yvc=(et+grc)*this.luc.eg-(ft+hrc)*this.luc.dg;
this.zvc=irc*this.luc.eg-jrc*this.luc.dg;var awc=this.svc;var bwc=this.tvc;var gx=this.uvc;var hx=this.vvc;this.muc.cw.dg=awc+bwc+gx*this.yvc*this.yvc+hx*this.zvc*this.zvc;this.muc.cw.eg=gx*this.yvc+hx*this.zvc;this.muc.cw.usb=gx*this.yvc*this.wvc+hx*this.zvc*this.xvc;this.muc.dw.dg=this.muc.cw.eg;this.muc.dw.eg=gx+hx;this.muc.dw.usb=gx*this.wvc+hx*this.xvc;this.muc.rsb.dg=this.muc.cw.usb;this.muc.rsb.eg=this.muc.dw.usb;this.muc.rsb.usb=awc+bwc+gx*this.wvc*this.wvc+hx*this.xvc*this.xvc;}if(this.suc){
var cwc=this.hhb.dg*et+this.hhb.eg*ft;if(pq.tkb(this.xuc-this.vuc)<2.0*mq.sqb){this.rvc=ls.juc}else if(cwc<=this.vuc){if(this.rvc!=ls.huc){this.rvc=ls.huc;this.oqc.usb=0.0}}else if(cwc>=this.xuc){if(this.rvc!=ls.iuc){this.rvc=ls.iuc;this.oqc.usb=0.0}}else {this.rvc=ls.guc;this.oqc.usb=0.0}}else {this.rvc=ls.guc}if(this.avc==!1){this.nuc=0.0}if(ffc.mgc){this.oqc.dg*=ffc.lic;this.oqc.eg*=ffc.lic;this.nuc*=ffc.lic;var aoc=this.oqc.dg*this.luc.dg+(this.nuc+this.oqc.usb)*this.hhb.dg;var boc=this.oqc.dg*this.luc.eg+(this.nuc+this.oqc.usb)*this.hhb.eg;
var dwc=this.oqc.dg*this.yvc+this.oqc.eg+(this.nuc+this.oqc.usb)*this.wvc;var ewc=this.oqc.dg*this.zvc+this.oqc.eg+(this.nuc+this.oqc.usb)*this.xvc;tjc.wub.dg-=this.svc*aoc;tjc.wub.eg-=this.svc*boc;tjc.wwb-=this.uvc*dwc;ujc.wub.dg+=this.tvc*aoc;ujc.wub.eg+=this.tvc*boc;ujc.wwb+=this.vvc*ewc}else {this.oqc.zz();this.nuc=0.0}};ss.prototype.kfc=function(ffc){var tjc=this.shc;var ujc=this.rhc;var rab=tjc.wub;var yib=tjc.wwb;var sab=ujc.wub;var zib=ujc.wwb;var aoc=0;var boc=0;var dwc=0;var ewc=0;if(this.avc&&this.rvc!=ls.juc){
var nrc=this.hhb.dg*(sab.dg-rab.dg)+this.hhb.eg*(sab.eg-rab.eg)+this.xvc*zib-this.wvc*yib;var yxb=this.kvc*(this.dvc-nrc);var lsc=this.nuc;var ksc=ffc.hfc*this.gvc;this.nuc=pq.hib(this.nuc+yxb,(-ksc),ksc);yxb=this.nuc-lsc;aoc=yxb*this.hhb.dg;boc=yxb*this.hhb.eg;dwc=yxb*this.wvc;ewc=yxb*this.xvc;rab.dg-=this.svc*aoc;rab.eg-=this.svc*boc;yib-=this.uvc*dwc;sab.dg+=this.tvc*aoc;sab.eg+=this.tvc*boc;zib+=this.vvc*ewc}var hxc=this.luc.dg*(sab.dg-rab.dg)+this.luc.eg*(sab.eg-rab.eg)+this.zvc*zib-this.yvc*yib;
var ixc=zib-yib;if(this.suc&&this.rvc!=ls.guc){var gwc=this.hhb.dg*(sab.dg-rab.dg)+this.hhb.eg*(sab.eg-rab.eg)+this.xvc*zib-this.wvc*yib;var qkb=this.oqc.cbb();var hwc=this.muc.wsb(new tq(),(-hxc),(-ixc),(-gwc));this.oqc.oub(hwc);if(this.rvc==ls.huc){this.oqc.usb=pq.ycb(this.oqc.usb,0.0)}else if(this.rvc==ls.iuc){this.oqc.usb=pq.rtb(this.oqc.usb,0.0)}var ahb=(-hxc)-(this.oqc.usb-qkb.usb)*this.muc.rsb.dg;var bhb=(-ixc)-(this.oqc.usb-qkb.usb)*this.muc.rsb.eg;var iwc=this.muc.vsb(new sq(),ahb,bhb);iwc.dg+=qkb.dg;
iwc.eg+=qkb.eg;this.oqc.dg=iwc.dg;this.oqc.eg=iwc.eg;hwc.dg=this.oqc.dg-qkb.dg;hwc.eg=this.oqc.eg-qkb.eg;hwc.usb=this.oqc.usb-qkb.usb;aoc=hwc.dg*this.luc.dg+hwc.usb*this.hhb.dg;boc=hwc.dg*this.luc.eg+hwc.usb*this.hhb.eg;dwc=hwc.dg*this.yvc+hwc.eg+hwc.usb*this.wvc;ewc=hwc.dg*this.zvc+hwc.eg+hwc.usb*this.xvc;rab.dg-=this.svc*aoc;rab.eg-=this.svc*boc;yib-=this.uvc*dwc;sab.dg+=this.tvc*aoc;sab.eg+=this.tvc*boc;zib+=this.vvc*ewc}else {var jwc=this.muc.vsb(new sq(),(-hxc),(-ixc));this.oqc.dg+=jwc.dg;this.oqc.eg+=jwc.eg;
aoc=jwc.dg*this.luc.dg;boc=jwc.dg*this.luc.eg;dwc=jwc.dg*this.yvc+jwc.eg;ewc=jwc.dg*this.zvc+jwc.eg;rab.dg-=this.svc*aoc;rab.eg-=this.svc*boc;yib-=this.uvc*dwc;sab.dg+=this.tvc*aoc;sab.eg+=this.tvc*boc;zib+=this.vvc*ewc}tjc.wub.gz(rab);tjc.wwb=yib;ujc.wub.gz(sab);ujc.wwb=zib};ss.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;var kwc=0;var lwc=0;var tjc=this.shc;var ujc=this.rhc;var dsb=tjc.vub.cg;var ytc=tjc.vub.xab;var esb=ujc.vub.cg;var ztc=ujc.vub.xab;var zv;var ex=0;var awc=0;var bwc=0;var gx=0;var hx=0;
var wtc=0.0;var mwc=0.0;var kac=!1;var nwc=0.0;var owc=nq.asb(ytc);var pwc=nq.asb(ztc);zv=owc;var grc=this.kqc.dg-this.auc.dg;var hrc=this.kqc.eg-this.auc.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=pwc;var irc=this.lqc.dg-this.buc.dg;var jrc=this.lqc.eg-this.buc.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var et=esb.dg+irc-dsb.dg-grc;var ft=esb.eg+jrc-dsb.eg-hrc;if(this.suc){this.hhb=pq.dib(owc,this.ttc);this.wvc=(et+grc)*this.hhb.eg-(ft+hrc)*this.hhb.dg;
this.xvc=irc*this.hhb.eg-jrc*this.hhb.dg;var ouc=this.hhb.dg*et+this.hhb.eg*ft;if(pq.tkb(this.xuc-this.vuc)<2.0*mq.sqb){nwc=pq.hib(ouc,(-mq.prb),mq.prb);wtc=pq.tkb(ouc);kac=!0}else if(ouc<=this.vuc){nwc=pq.hib(ouc-this.vuc+mq.sqb,(-mq.prb),0.0);wtc=this.vuc-ouc;kac=!0}else if(ouc>=this.xuc){nwc=pq.hib(ouc-this.xuc+mq.sqb,0.0,mq.prb);wtc=ouc-this.xuc;kac=!0}}this.luc=pq.dib(owc,this.kuc);this.yvc=(et+grc)*this.luc.eg-(ft+hrc)*this.luc.dg;this.zvc=irc*this.luc.eg-jrc*this.luc.dg;var yxb=new tq();var jxc=this.luc.dg*et+this.luc.eg*ft;
var kxc=ztc-ytc-this.fxc;wtc=pq.ycb(wtc,pq.tkb(jxc));mwc=pq.tkb(kxc);if(kac){awc=this.svc;bwc=this.tvc;gx=this.uvc;hx=this.vvc;this.muc.cw.dg=awc+bwc+gx*this.yvc*this.yvc+hx*this.zvc*this.zvc;this.muc.cw.eg=gx*this.yvc+hx*this.zvc;this.muc.cw.usb=gx*this.yvc*this.wvc+hx*this.zvc*this.xvc;this.muc.dw.dg=this.muc.cw.eg;this.muc.dw.eg=gx+hx;this.muc.dw.usb=gx*this.wvc+hx*this.xvc;this.muc.rsb.dg=this.muc.cw.usb;this.muc.rsb.eg=this.muc.dw.usb;this.muc.rsb.usb=awc+bwc+gx*this.wvc*this.wvc+hx*this.xvc*this.xvc;
this.muc.wsb(yxb,(-jxc),(-kxc),(-nwc))}else {awc=this.svc;bwc=this.tvc;gx=this.uvc;hx=this.vvc;var unc=awc+bwc+gx*this.yvc*this.yvc+hx*this.zvc*this.zvc;var wnc=gx*this.yvc+hx*this.zvc;var vnc=gx+hx;this.muc.cw.hv(unc,wnc,0.0);this.muc.dw.hv(wnc,vnc,0.0);var rwc=this.muc.vsb(new sq(),(-jxc),(-kxc));yxb.dg=rwc.dg;yxb.eg=rwc.eg;yxb.usb=0.0}var aoc=yxb.dg*this.luc.dg+yxb.usb*this.hhb.dg;var boc=yxb.dg*this.luc.eg+yxb.usb*this.hhb.eg;var dwc=yxb.dg*this.yvc+yxb.eg+yxb.usb*this.wvc;var ewc=yxb.dg*this.zvc+yxb.eg+yxb.usb*this.xvc;
dsb.dg-=this.svc*aoc;dsb.eg-=this.svc*boc;ytc-=this.uvc*dwc;esb.dg+=this.tvc*aoc;esb.eg+=this.tvc*boc;ztc+=this.vvc*ewc;tjc.vub.xab=ytc;ujc.vub.xab=ztc;tjc.pac();ujc.pac();return wtc<=mq.sqb&&mwc<=mq.krb};xn.eo(ts,xn.wo.zo.ms);ts.prototype.__super=xn.wo.zo.ms.prototype;ts.ts=function(){xn.wo.zo.ms.ms.apply(this,arguments);this.zqc=new sq();this.brc=new sq();this.jvc=new sq()};ts.prototype.ts=function(){this.__super.ms.call(this);this.type=ls.cuc;this.jvc.hv(1.0,0.0);this.gxc=0.0;this.pvc=!1;this.lvc=0.0;
this.mvc=0.0;this.qvc=!1;this.nvc=0.0;this.ovc=0.0};ts.prototype.ihb=function(tjc,ujc,anchor,idc){this.ubc=tjc;this.wbc=ujc;this.zqc=this.ubc.bzb(anchor);this.brc=this.wbc.bzb(anchor);this.jvc=this.ubc.dzb(idc);this.gxc=this.wbc.isb()-this.ubc.isb()};xn.eo(us,xn.wo.zo.ls);us.prototype.__super=xn.wo.zo.ls.prototype;us.us=function(){xn.wo.zo.ls.ls.apply(this,arguments);this.rsc=new sq();this.ssc=new sq();this.kqc=new sq();this.lqc=new sq();this.lxc=new sq();this.mxc=new sq()};us.prototype.pkc=function(){
return this.shc.xyb(this.kqc)};us.prototype.qkc=function(){return this.rhc.xyb(this.lqc)};us.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;return new sq(ofc*this.oqc*this.mxc.dg,ofc*this.oqc*this.mxc.eg)};us.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;return 0.0};us.prototype.vkc=function(){var xab=this.nxc.uub.position.cbb();xab.oub(this.rsc);return xab};us.prototype.wkc=function(){var xab=this.nxc.uub.position.cbb();xab.oub(this.ssc);return xab};us.prototype.oxc=function(){var ao=this.shc.xyb(this.kqc);
var mlb=this.nxc.uub.position.dg+this.rsc.dg;var nlb=this.nxc.uub.position.eg+this.rsc.eg;var et=ao.dg-mlb;var ft=ao.eg-nlb;return Math.sqrt(et*et+ft*ft)};us.prototype.pxc=function(){var ao=this.rhc.xyb(this.lqc);var mlb=this.nxc.uub.position.dg+this.ssc.dg;var nlb=this.nxc.uub.position.eg+this.ssc.eg;var et=ao.dg-mlb;var ft=ao.eg-nlb;return Math.sqrt(et*et+ft*ft)};us.prototype.wsc=function(){return this.xsc};us.prototype.us=function(fvb){this.__super.ls.call(this,fvb);var zv;var ex=0;var mz=0;this.nxc=this.shc.gvb.ygc;
this.rsc.dg=fvb.qxc.dg-this.nxc.uub.position.dg;this.rsc.eg=fvb.qxc.eg-this.nxc.uub.position.eg;this.ssc.dg=fvb.rxc.dg-this.nxc.uub.position.dg;this.ssc.eg=fvb.rxc.eg-this.nxc.uub.position.eg;this.kqc.gz(fvb.zqc);this.lqc.gz(fvb.brc);this.xsc=fvb.yqc;this.mtc=fvb.sxc+this.xsc*fvb.txc;this.uxc=pq.rtb(fvb.vxc,this.mtc-this.xsc*us.wxc);this.xxc=pq.rtb(fvb.yxc,(this.mtc-us.wxc)/this.xsc);this.oqc=0.0;this.zxc=0.0;this.ayc=0.0};us.prototype.ifc=function(ffc){var tjc=this.shc;var ujc=this.rhc;var zv;zv=tjc.uub.aw;
var grc=this.kqc.dg-tjc.vub.gub.dg;var hrc=this.kqc.eg-tjc.vub.gub.eg;var ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-ujc.vub.gub.dg;var jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var sz=tjc.vub.cg.dg+grc;var tz=tjc.vub.cg.eg+hrc;var uz=ujc.vub.cg.dg+irc;var vz=ujc.vub.cg.eg+jrc;var byc=this.nxc.uub.position.dg+this.rsc.dg;var cyc=this.nxc.uub.position.eg+this.rsc.eg;var dyc=this.nxc.uub.position.dg+this.ssc.dg;
var eyc=this.nxc.uub.position.eg+this.ssc.eg;this.lxc.hv(sz-byc,tz-cyc);this.mxc.hv(uz-dyc,vz-eyc);var fyc=this.lxc.ddb();var gyc=this.mxc.ddb();if(fyc>mq.sqb){this.lxc.wpb(1.0/fyc)}else {this.lxc.zz()}if(gyc>mq.sqb){this.mxc.wpb(1.0/gyc);}else {this.mxc.zz()}var ntb=this.mtc-fyc-this.xsc*gyc;if(ntb>0.0){this.hyc=ls.guc;this.oqc=0.0}else {this.hyc=ls.iuc}if(fyc<this.uxc){this.iyc=ls.guc;this.zxc=0.0}else {this.iyc=ls.iuc}if(gyc<this.xxc){this.jyc=ls.guc;this.ayc=0.0}else {this.jyc=ls.iuc}var kyc=grc*this.lxc.eg-hrc*this.lxc.dg;
var lyc=irc*this.mxc.eg-jrc*this.mxc.dg;this.myc=tjc.zxb+tjc.ayb*kyc*kyc;this.nyc=ujc.zxb+ujc.ayb*lyc*lyc;this.oyc=this.myc+this.xsc*this.xsc*this.nyc;this.myc=1.0/this.myc;this.nyc=1.0/this.nyc;this.oyc=1.0/this.oyc;if(ffc.mgc){this.oqc*=ffc.lic;this.zxc*=ffc.lic;this.ayc*=ffc.lic;var ioc=((-this.oqc)-this.zxc)*this.lxc.dg;var joc=((-this.oqc)-this.zxc)*this.lxc.eg;var koc=((-this.xsc*this.oqc)-this.ayc)*this.mxc.dg;var loc=((-this.xsc*this.oqc)-this.ayc)*this.mxc.eg;tjc.wub.dg+=tjc.zxb*ioc;tjc.wub.eg+=tjc.zxb*joc;
tjc.wwb+=tjc.ayb*(grc*joc-hrc*ioc);ujc.wub.dg+=ujc.zxb*koc;ujc.wub.eg+=ujc.zxb*loc;ujc.wwb+=ujc.ayb*(irc*loc-jrc*koc)}else {this.oqc=0.0;this.zxc=0.0;this.ayc=0.0}};us.prototype.kfc=function(ffc){var tjc=this.shc;var ujc=this.rhc;var zv;zv=tjc.uub.aw;var grc=this.kqc.dg-tjc.vub.gub.dg;var hrc=this.kqc.eg-tjc.vub.gub.eg;var ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-ujc.vub.gub.dg;var jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);
jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var jw=0;var kw=0;var lw=0;var mw=0;var ioc=0;var joc=0;var koc=0;var loc=0;var nrc=0;var yxb=0;var lsc=0;if(this.hyc==ls.iuc){jw=tjc.wub.dg+((-tjc.wwb*hrc));kw=tjc.wub.eg+(tjc.wwb*grc);lw=ujc.wub.dg+((-ujc.wwb*jrc));mw=ujc.wub.eg+(ujc.wwb*irc);nrc=(-(this.lxc.dg*jw+this.lxc.eg*kw))-this.xsc*(this.mxc.dg*lw+this.mxc.eg*mw);yxb=this.oyc*((-nrc));lsc=this.oqc;this.oqc=pq.ycb(0.0,this.oqc+yxb);yxb=this.oqc-lsc;ioc=(-yxb*this.lxc.dg);joc=(-yxb*this.lxc.eg);koc=(-this.xsc*yxb*this.mxc.dg);
loc=(-this.xsc*yxb*this.mxc.eg);tjc.wub.dg+=tjc.zxb*ioc;tjc.wub.eg+=tjc.zxb*joc;tjc.wwb+=tjc.ayb*(grc*joc-hrc*ioc);ujc.wub.dg+=ujc.zxb*koc;ujc.wub.eg+=ujc.zxb*loc;ujc.wwb+=ujc.ayb*(irc*loc-jrc*koc)}if(this.iyc==ls.iuc){jw=tjc.wub.dg+((-tjc.wwb*hrc));kw=tjc.wub.eg+(tjc.wwb*grc);nrc=(-(this.lxc.dg*jw+this.lxc.eg*kw));yxb=(-this.myc*nrc);lsc=this.zxc;this.zxc=pq.ycb(0.0,this.zxc+yxb);yxb=this.zxc-lsc;ioc=(-yxb*this.lxc.dg);joc=(-yxb*this.lxc.eg);tjc.wub.dg+=tjc.zxb*ioc;tjc.wub.eg+=tjc.zxb*joc;tjc.wwb+=tjc.ayb*(grc*joc-hrc*ioc)}
if(this.jyc==ls.iuc){lw=ujc.wub.dg+((-ujc.wwb*jrc));mw=ujc.wub.eg+(ujc.wwb*irc);nrc=(-(this.mxc.dg*lw+this.mxc.eg*mw));yxb=(-this.nyc*nrc);lsc=this.ayc;this.ayc=pq.ycb(0.0,this.ayc+yxb);yxb=this.ayc-lsc;koc=(-yxb*this.mxc.dg);loc=(-yxb*this.mxc.eg);ujc.wub.dg+=ujc.zxb*koc;ujc.wub.eg+=ujc.zxb*loc;ujc.wwb+=ujc.ayb*(irc*loc-jrc*koc)}};us.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;var tjc=this.shc;var ujc=this.rhc;var zv;var byc=this.nxc.uub.position.dg+this.rsc.dg;var cyc=this.nxc.uub.position.eg+this.rsc.eg;
var dyc=this.nxc.uub.position.dg+this.ssc.dg;var eyc=this.nxc.uub.position.eg+this.ssc.eg;var grc=0;var hrc=0;var irc=0;var jrc=0;var sz=0;var tz=0;var uz=0;var vz=0;var fyc=0;var gyc=0;var ntb=0;var yxb=0;var lsc=0;var pyc=0;var ex=0;var wtc=0.0;if(this.hyc==ls.iuc){zv=tjc.uub.aw;grc=this.kqc.dg-tjc.vub.gub.dg;hrc=this.kqc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;irc=this.lqc.dg-ujc.vub.gub.dg;jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);
jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;sz=tjc.vub.cg.dg+grc;tz=tjc.vub.cg.eg+hrc;uz=ujc.vub.cg.dg+irc;vz=ujc.vub.cg.eg+jrc;this.lxc.hv(sz-byc,tz-cyc);this.mxc.hv(uz-dyc,vz-eyc);fyc=this.lxc.ddb();gyc=this.mxc.ddb();if(fyc>mq.sqb){this.lxc.wpb(1.0/fyc)}else {this.lxc.zz()}if(gyc>mq.sqb){this.mxc.wpb(1.0/gyc)}else {this.mxc.zz()}ntb=this.mtc-fyc-this.xsc*gyc;wtc=pq.ycb(wtc,(-ntb));ntb=pq.hib(ntb+mq.sqb,(-mq.prb),0.0);yxb=(-this.oyc*ntb);sz=(-yxb*this.lxc.dg);tz=(-yxb*this.lxc.eg);uz=(-this.xsc*yxb*this.mxc.dg);
vz=(-this.xsc*yxb*this.mxc.eg);tjc.vub.cg.dg+=tjc.zxb*sz;tjc.vub.cg.eg+=tjc.zxb*tz;tjc.vub.xab+=tjc.ayb*(grc*tz-hrc*sz);ujc.vub.cg.dg+=ujc.zxb*uz;ujc.vub.cg.eg+=ujc.zxb*vz;ujc.vub.xab+=ujc.ayb*(irc*vz-jrc*uz);tjc.pac();ujc.pac()}if(this.iyc==ls.iuc){zv=tjc.uub.aw;grc=this.kqc.dg-tjc.vub.gub.dg;hrc=this.kqc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;sz=tjc.vub.cg.dg+grc;tz=tjc.vub.cg.eg+hrc;this.lxc.hv(sz-byc,tz-cyc);fyc=this.lxc.ddb();if(fyc>mq.sqb){this.lxc.dg*=1.0/fyc;
this.lxc.eg*=1.0/fyc}else {this.lxc.zz()}ntb=this.uxc-fyc;wtc=pq.ycb(wtc,(-ntb));ntb=pq.hib(ntb+mq.sqb,(-mq.prb),0.0);yxb=(-this.myc*ntb);sz=(-yxb*this.lxc.dg);tz=(-yxb*this.lxc.eg);tjc.vub.cg.dg+=tjc.zxb*sz;tjc.vub.cg.eg+=tjc.zxb*tz;tjc.vub.xab+=tjc.ayb*(grc*tz-hrc*sz);tjc.pac()}if(this.jyc==ls.iuc){zv=ujc.uub.aw;irc=this.lqc.dg-ujc.vub.gub.dg;jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;uz=ujc.vub.cg.dg+irc;vz=ujc.vub.cg.eg+jrc;this.mxc.hv(uz-dyc,
vz-eyc);gyc=this.mxc.ddb();if(gyc>mq.sqb){this.mxc.dg*=1.0/gyc;this.mxc.eg*=1.0/gyc}else {this.mxc.zz()}ntb=this.xxc-gyc;wtc=pq.ycb(wtc,(-ntb));ntb=pq.hib(ntb+mq.sqb,(-mq.prb),0.0);yxb=(-this.nyc*ntb);uz=(-yxb*this.mxc.dg);vz=(-yxb*this.mxc.eg);ujc.vub.cg.dg+=ujc.zxb*uz;ujc.vub.cg.eg+=ujc.zxb*vz;ujc.vub.xab+=ujc.ayb*(irc*vz-jrc*uz);ujc.pac()}return wtc<mq.sqb};xn.at.push(function(){xn.wo.zo.us.wxc=2.0});xn.eo(vs,xn.wo.zo.ms);vs.prototype.__super=xn.wo.zo.ms.prototype;vs.vs=function(){xn.wo.zo.ms.ms.apply(this,
arguments);this.qxc=new sq();this.rxc=new sq();this.zqc=new sq();this.brc=new sq()};vs.prototype.vs=function(){this.__super.ms.call(this);this.type=ls.tkc;this.qxc.hv((-1.0),1.0);this.rxc.hv(1.0,1.0);this.zqc.hv((-1.0),0.0);this.brc.hv(1.0,0.0);this.sxc=0.0;this.vxc=0.0;this.txc=0.0;this.yxc=0.0;this.yqc=1.0;this.uhc=!0;};vs.prototype.ihb=function(tjc,ujc,qyc,ryc,orc,prc,r){if(r===undefined)r=0;this.ubc=tjc;this.wbc=ujc;this.qxc.gz(qyc);this.rxc.gz(ryc);this.zqc=this.ubc.bzb(orc);this.brc=this.wbc.bzb(prc);
var gu=orc.dg-qyc.dg;var hu=orc.eg-qyc.eg;this.sxc=Math.sqrt(gu*gu+hu*hu);var iu=prc.dg-ryc.dg;var ju=prc.eg-ryc.eg;this.txc=Math.sqrt(iu*iu+ju*ju);this.yqc=r;var ntb=this.sxc+this.yqc*this.txc;this.vxc=ntb-this.yqc*us.wxc;this.yxc=(ntb-us.wxc)/this.yqc};xn.eo(ws,xn.wo.zo.ls);ws.prototype.__super=xn.wo.zo.ls.prototype;ws.ws=function(){xn.wo.zo.ls.ls.apply(this,arguments);this.wlc=new nq();this.swc=new nq();this.twc=new nq();this.syc=new nq();this.tyc=new tq();this.uyc=new sq();this.vyc=new sq();this.kqc=new sq();
this.lqc=new sq();this.oqc=new tq();this.pyb=new oq()};ws.prototype.pkc=function(){return this.shc.xyb(this.kqc)};ws.prototype.qkc=function(){return this.rhc.xyb(this.lqc)};ws.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;return new sq(ofc*this.oqc.dg,ofc*this.oqc.eg)};ws.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;return ofc*this.oqc.usb};ws.prototype.jtc=function(){return this.rhc.vub.xab-this.shc.vub.xab-this.wyc};ws.prototype.puc=function(){return this.rhc.wwb-this.shc.wwb};ws.prototype.ruc=function(){
return this.suc};ws.prototype.tuc=function(pzb){this.suc=pzb};ws.prototype.uuc=function(){return this.xyc};ws.prototype.wuc=function(){return this.yyc};ws.prototype.yuc=function(hob,iob){if(hob===undefined)hob=0;if(iob===undefined)iob=0;this.xyc=hob;this.yyc=iob};ws.prototype.zuc=function(){this.shc.txb(!0);this.rhc.txb(!0);return this.avc};ws.prototype.bvc=function(pzb){this.avc=pzb};ws.prototype.cvc=function(quc){if(quc===undefined)quc=0;this.shc.txb(!0);this.rhc.txb(!0);this.dvc=quc};ws.prototype.evc=function(){
return this.dvc};ws.prototype.zyc=function(wxb){if(wxb===undefined)wxb=0;this.azc=wxb};ws.prototype.bzc=function(){return this.azc};ws.prototype.ws=function(fvb){this.__super.ls.call(this,fvb);this.kqc.gz(fvb.zqc);this.lqc.gz(fvb.brc);this.wyc=fvb.gxc;this.oqc.zz();this.nuc=0.0;this.xyc=fvb.czc;this.yyc=fvb.dzc;this.azc=fvb.ezc;this.dvc=fvb.ovc;this.suc=fvb.pvc;this.avc=fvb.qvc;this.rvc=ls.guc};ws.prototype.ifc=function(ffc){var tjc=this.shc;var ujc=this.rhc;var zv;var ex=0;if(this.avc||this.suc){}zv=tjc.uub.aw;
var grc=this.kqc.dg-tjc.vub.gub.dg;var hrc=this.kqc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-ujc.vub.gub.dg;var jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var awc=tjc.zxb;var bwc=ujc.zxb;var gx=tjc.ayb;var hx=ujc.ayb;this.pyb.cw.dg=awc+bwc+hrc*hrc*gx+jrc*jrc*hx;this.pyb.dw.dg=(-hrc*grc*gx)-jrc*irc*hx;this.pyb.rsb.dg=(-hrc*gx)-jrc*hx;this.pyb.cw.eg=this.pyb.dw.dg;this.pyb.dw.eg=awc+bwc+grc*grc*gx+irc*irc*hx;
this.pyb.rsb.eg=grc*gx+irc*hx;this.pyb.cw.usb=this.pyb.rsb.dg;this.pyb.dw.usb=this.pyb.rsb.eg;this.pyb.rsb.usb=gx+hx;this.kvc=1.0/(gx+hx);if(this.avc==!1){this.nuc=0.0}if(this.suc){var fzc=ujc.vub.xab-tjc.vub.xab-this.wyc;if(pq.tkb(this.yyc-this.xyc)<2.0*mq.krb){this.rvc=ls.juc}else if(fzc<=this.xyc){if(this.rvc!=ls.huc){this.oqc.usb=0.0}this.rvc=ls.huc}else if(fzc>=this.yyc){if(this.rvc!=ls.iuc){this.oqc.usb=0.0}this.rvc=ls.iuc}else {this.rvc=ls.guc;this.oqc.usb=0.0}}else {this.rvc=ls.guc}if(ffc.mgc){
this.oqc.dg*=ffc.lic;this.oqc.eg*=ffc.lic;this.nuc*=ffc.lic;var aoc=this.oqc.dg;var boc=this.oqc.eg;tjc.wub.dg-=awc*aoc;tjc.wub.eg-=awc*boc;tjc.wwb-=gx*((grc*boc-hrc*aoc)+this.nuc+this.oqc.usb);ujc.wub.dg+=bwc*aoc;ujc.wub.eg+=bwc*boc;ujc.wwb+=hx*((irc*boc-jrc*aoc)+this.nuc+this.oqc.usb);}else {this.oqc.zz();this.nuc=0.0}};ws.prototype.kfc=function(ffc){var tjc=this.shc;var ujc=this.rhc;var zv;var ex=0;var hoc=0;var grc=0;var hrc=0;var irc=0;var jrc=0;var rab=tjc.wub;var yib=tjc.wwb;var sab=ujc.wub;var zib=ujc.wwb;
var awc=tjc.zxb;var bwc=ujc.zxb;var gx=tjc.ayb;var hx=ujc.ayb;if(this.avc&&this.rvc!=ls.juc){var nrc=zib-yib-this.dvc;var yxb=this.kvc*((-nrc));var lsc=this.nuc;var ksc=ffc.hfc*this.azc;this.nuc=pq.hib(this.nuc+yxb,(-ksc),ksc);yxb=this.nuc-lsc;yib-=gx*yxb;zib+=hx*yxb}if(this.suc&&this.rvc!=ls.guc){zv=tjc.uub.aw;grc=this.kqc.dg-tjc.vub.gub.dg;hrc=this.kqc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;irc=this.lqc.dg-ujc.vub.gub.dg;jrc=this.lqc.eg-ujc.vub.gub.eg;
ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var hxc=sab.dg+((-zib*jrc))-rab.dg-((-yib*hrc));var ixc=sab.eg+(zib*irc)-rab.eg-(yib*grc);var gwc=zib-yib;this.pyb.wsb(this.tyc,(-hxc),(-ixc),(-gwc));if(this.rvc==ls.juc){this.oqc.oub(this.tyc)}else if(this.rvc==ls.huc){hoc=this.oqc.usb+this.tyc.usb;if(hoc<0.0){this.pyb.vsb(this.vyc,(-hxc),(-ixc));this.tyc.dg=this.vyc.dg;this.tyc.eg=this.vyc.eg;this.tyc.usb=(-this.oqc.usb);this.oqc.dg+=this.vyc.dg;this.oqc.eg+=this.vyc.eg;this.oqc.usb=0.0}
}else if(this.rvc==ls.iuc){hoc=this.oqc.usb+this.tyc.usb;if(hoc>0.0){this.pyb.vsb(this.vyc,(-hxc),(-ixc));this.tyc.dg=this.vyc.dg;this.tyc.eg=this.vyc.eg;this.tyc.usb=(-this.oqc.usb);this.oqc.dg+=this.vyc.dg;this.oqc.eg+=this.vyc.eg;this.oqc.usb=0.0}}rab.dg-=awc*this.tyc.dg;rab.eg-=awc*this.tyc.eg;yib-=gx*(grc*this.tyc.eg-hrc*this.tyc.dg+this.tyc.usb);sab.dg+=bwc*this.tyc.dg;sab.eg+=bwc*this.tyc.eg;zib+=hx*(irc*this.tyc.eg-jrc*this.tyc.dg+this.tyc.usb)}else {zv=tjc.uub.aw;grc=this.kqc.dg-tjc.vub.gub.dg;
hrc=this.kqc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;irc=this.lqc.dg-ujc.vub.gub.dg;jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var msc=sab.dg+((-zib*jrc))-rab.dg-((-yib*hrc));var nsc=sab.eg+(zib*irc)-rab.eg-(yib*grc);this.pyb.vsb(this.uyc,(-msc),(-nsc));this.oqc.dg+=this.uyc.dg;this.oqc.eg+=this.uyc.eg;rab.dg-=awc*this.uyc.dg;rab.eg-=awc*this.uyc.eg;yib-=gx*(grc*this.uyc.eg-hrc*this.uyc.dg);
sab.dg+=bwc*this.uyc.dg;sab.eg+=bwc*this.uyc.eg;zib+=hx*(irc*this.uyc.eg-jrc*this.uyc.dg)}tjc.wub.gz(rab);tjc.wwb=yib;ujc.wub.gz(sab);ujc.wwb=zib};ws.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;var lwc=0;var ntb=0;var zv;var tjc=this.shc;var ujc=this.rhc;var mwc=0.0;var gzc=0.0;var ex=0;var bxc=0;var cxc=0;if(this.suc&&this.rvc!=ls.guc){var bob=ujc.vub.xab-tjc.vub.xab-this.wyc;var hzc=0.0;if(this.rvc==ls.juc){ntb=pq.hib(bob-this.xyc,(-mq.qrb),mq.qrb);hzc=(-this.kvc*ntb);mwc=pq.tkb(ntb)}else if(this.rvc==ls.huc){
ntb=bob-this.xyc;mwc=(-ntb);ntb=pq.hib(ntb+mq.krb,(-mq.qrb),0.0);hzc=(-this.kvc*ntb)}else if(this.rvc==ls.iuc){ntb=bob-this.yyc;mwc=ntb;ntb=pq.hib(ntb-mq.krb,0.0,mq.qrb);hzc=(-this.kvc*ntb)}tjc.vub.xab-=tjc.ayb*hzc;ujc.vub.xab+=ujc.ayb*hzc;tjc.pac();ujc.pac()}{zv=tjc.uub.aw;var grc=this.kqc.dg-tjc.vub.gub.dg;var hrc=this.kqc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*grc+zv.dw.dg*hrc);hrc=(zv.cw.eg*grc+zv.dw.eg*hrc);grc=ex;zv=ujc.uub.aw;var irc=this.lqc.dg-ujc.vub.gub.dg;var jrc=this.lqc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*irc+zv.dw.dg*jrc);
jrc=(zv.cw.eg*irc+zv.dw.eg*jrc);irc=ex;var izc=ujc.vub.cg.dg+irc-tjc.vub.cg.dg-grc;var jzc=ujc.vub.cg.eg+jrc-tjc.vub.cg.eg-hrc;var kzc=izc*izc+jzc*jzc;var lzc=Math.sqrt(kzc);gzc=lzc;var mzc=tjc.zxb;var nzc=ujc.zxb;var ozc=tjc.ayb;var pzc=ujc.ayb;var qzc=10.0*mq.sqb;if(kzc>qzc*qzc){var rzc=izc/lzc;var szc=jzc/lzc;var rmc=mzc+nzc;var hgb=1.0/rmc;bxc=hgb*((-izc));cxc=hgb*((-jzc));var tzc=0.5;tjc.vub.cg.dg-=tzc*mzc*bxc;tjc.vub.cg.eg-=tzc*mzc*cxc;ujc.vub.cg.dg+=tzc*nzc*bxc;ujc.vub.cg.eg+=tzc*nzc*cxc;izc=ujc.vub.cg.dg+irc-tjc.vub.cg.dg-grc;
jzc=ujc.vub.cg.eg+jrc-tjc.vub.cg.eg-hrc}this.swc.cw.dg=mzc+nzc;this.swc.dw.dg=0.0;this.swc.cw.eg=0.0;this.swc.dw.eg=mzc+nzc;this.twc.cw.dg=ozc*hrc*hrc;this.twc.dw.dg=(-ozc*grc*hrc);this.twc.cw.eg=(-ozc*grc*hrc);this.twc.dw.eg=ozc*grc*grc;this.syc.cw.dg=pzc*jrc*jrc;this.syc.dw.dg=(-pzc*irc*jrc);this.syc.cw.eg=(-pzc*irc*jrc);this.syc.dw.eg=pzc*irc*irc;this.wlc.gsb(this.swc);this.wlc.hsb(this.twc);this.wlc.hsb(this.syc);this.wlc.msb(ws.uzc,(-izc),(-jzc));bxc=ws.uzc.dg;cxc=ws.uzc.eg;tjc.vub.cg.dg-=tjc.zxb*bxc;
tjc.vub.cg.eg-=tjc.zxb*cxc;tjc.vub.xab-=tjc.ayb*(grc*cxc-hrc*bxc);ujc.vub.cg.dg+=ujc.zxb*bxc;ujc.vub.cg.eg+=ujc.zxb*cxc;ujc.vub.xab+=ujc.ayb*(irc*cxc-jrc*bxc);tjc.pac();ujc.pac()}return gzc<=mq.sqb&&mwc<=mq.krb};xn.at.push(function(){xn.wo.zo.ws.uzc=new sq()});xn.eo(xs,xn.wo.zo.ms);xs.prototype.__super=xn.wo.zo.ms.prototype;xs.xs=function(){xn.wo.zo.ms.ms.apply(this,arguments);this.zqc=new sq();this.brc=new sq()};xs.prototype.xs=function(){this.__super.ms.call(this);this.type=ls.itc;this.zqc.hv(0.0,
0.0);this.brc.hv(0.0,0.0);this.gxc=0.0;this.czc=0.0;this.dzc=0.0;this.ezc=0.0;this.ovc=0.0;this.pvc=!1;this.qvc=!1};xs.prototype.ihb=function(tjc,ujc,anchor){this.ubc=tjc;this.wbc=ujc;this.zqc=this.ubc.bzb(anchor);this.brc=this.wbc.bzb(anchor);this.gxc=this.wbc.isb()-this.ubc.isb()};xn.eo(ys,xn.wo.zo.ls);ys.prototype.__super=xn.wo.zo.ls.prototype;ys.ys=function(){xn.wo.zo.ls.ls.apply(this,arguments);this.qrc=new sq();this.rrc=new sq();this.oqc=new tq();this.pyb=new oq()};ys.prototype.pkc=function(){
return this.shc.xyb(this.qrc)};ys.prototype.qkc=function(){return this.rhc.xyb(this.rrc)};ys.prototype.nqc=function(ofc){if(ofc===undefined)ofc=0;return new sq(ofc*this.oqc.dg,ofc*this.oqc.eg)};ys.prototype.pqc=function(ofc){if(ofc===undefined)ofc=0;return ofc*this.oqc.usb};ys.prototype.ys=function(fvb){this.__super.ls.call(this,fvb);this.qrc.gz(fvb.zqc);this.rrc.gz(fvb.brc);this.wyc=fvb.gxc;this.oqc.zz();this.pyb=new oq()};ys.prototype.ifc=function(ffc){var zv;var ex=0;var tjc=this.shc;var ujc=this.rhc;zv=tjc.uub.aw;
var tmc=this.qrc.dg-tjc.vub.gub.dg;var umc=this.qrc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*tmc+zv.dw.dg*umc);umc=(zv.cw.eg*tmc+zv.dw.eg*umc);tmc=ex;zv=ujc.uub.aw;var vmc=this.rrc.dg-ujc.vub.gub.dg;var wmc=this.rrc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*vmc+zv.dw.dg*wmc);wmc=(zv.cw.eg*vmc+zv.dw.eg*wmc);vmc=ex;var fsc=tjc.zxb;var gsc=ujc.zxb;var hsc=tjc.ayb;var isc=ujc.ayb;this.pyb.cw.dg=fsc+gsc+umc*umc*hsc+wmc*wmc*isc;this.pyb.dw.dg=(-umc*tmc*hsc)-wmc*vmc*isc;this.pyb.rsb.dg=(-umc*hsc)-wmc*isc;this.pyb.cw.eg=this.pyb.dw.dg;
this.pyb.dw.eg=fsc+gsc+tmc*tmc*hsc+vmc*vmc*isc;this.pyb.rsb.eg=tmc*hsc+vmc*isc;this.pyb.cw.usb=this.pyb.rsb.dg;this.pyb.dw.usb=this.pyb.rsb.eg;this.pyb.rsb.usb=hsc+isc;if(ffc.mgc){this.oqc.dg*=ffc.lic;this.oqc.eg*=ffc.lic;this.oqc.usb*=ffc.lic;tjc.wub.dg-=fsc*this.oqc.dg;tjc.wub.eg-=fsc*this.oqc.eg;tjc.wwb-=hsc*(tmc*this.oqc.eg-umc*this.oqc.dg+this.oqc.usb);ujc.wub.dg+=gsc*this.oqc.dg;ujc.wub.eg+=gsc*this.oqc.eg;ujc.wwb+=isc*(vmc*this.oqc.eg-wmc*this.oqc.dg+this.oqc.usb)}else {this.oqc.zz();}};ys.prototype.kfc=function(ffc){
var zv;var ex=0;var tjc=this.shc;var ujc=this.rhc;var moc=tjc.wub;var qcb=tjc.wwb;var noc=ujc.wub;var tcb=ujc.wwb;var fsc=tjc.zxb;var gsc=ujc.zxb;var hsc=tjc.ayb;var isc=ujc.ayb;zv=tjc.uub.aw;var tmc=this.qrc.dg-tjc.vub.gub.dg;var umc=this.qrc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*tmc+zv.dw.dg*umc);umc=(zv.cw.eg*tmc+zv.dw.eg*umc);tmc=ex;zv=ujc.uub.aw;var vmc=this.rrc.dg-ujc.vub.gub.dg;var wmc=this.rrc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*vmc+zv.dw.dg*wmc);wmc=(zv.cw.eg*vmc+zv.dw.eg*wmc);vmc=ex;var hxc=noc.dg-tcb*wmc-moc.dg+qcb*umc;
var ixc=noc.eg+tcb*vmc-moc.eg-qcb*tmc;var gwc=tcb-qcb;var yxb=new tq();this.pyb.wsb(yxb,(-hxc),(-ixc),(-gwc));this.oqc.oub(yxb);moc.dg-=fsc*yxb.dg;moc.eg-=fsc*yxb.eg;qcb-=hsc*(tmc*yxb.eg-umc*yxb.dg+yxb.usb);noc.dg+=gsc*yxb.dg;noc.eg+=gsc*yxb.eg;tcb+=isc*(vmc*yxb.eg-wmc*yxb.dg+yxb.usb);tjc.wwb=qcb;ujc.wwb=tcb};ys.prototype.rfc=function(bpc){if(bpc===undefined)bpc=0;var zv;var ex=0;var tjc=this.shc;var ujc=this.rhc;zv=tjc.uub.aw;var tmc=this.qrc.dg-tjc.vub.gub.dg;var umc=this.qrc.eg-tjc.vub.gub.eg;ex=(zv.cw.dg*tmc+zv.dw.dg*umc);
umc=(zv.cw.eg*tmc+zv.dw.eg*umc);tmc=ex;zv=ujc.uub.aw;var vmc=this.rrc.dg-ujc.vub.gub.dg;var wmc=this.rrc.eg-ujc.vub.gub.eg;ex=(zv.cw.dg*vmc+zv.dw.dg*wmc);wmc=(zv.cw.eg*vmc+zv.dw.eg*wmc);vmc=ex;var fsc=tjc.zxb;var gsc=ujc.zxb;var hsc=tjc.ayb;var isc=ujc.ayb;var jxc=ujc.vub.cg.dg+vmc-tjc.vub.cg.dg-tmc;var kxc=ujc.vub.cg.eg+wmc-tjc.vub.cg.eg-umc;var nwc=ujc.vub.xab-tjc.vub.xab-this.wyc;var qzc=10.0*mq.sqb;var gzc=Math.sqrt(jxc*jxc+kxc*kxc);var mwc=pq.tkb(nwc);if(gzc>qzc){hsc*=1.0;isc*=1.0}this.pyb.cw.dg=fsc+gsc+umc*umc*hsc+wmc*wmc*isc;
this.pyb.dw.dg=(-umc*tmc*hsc)-wmc*vmc*isc;this.pyb.rsb.dg=(-umc*hsc)-wmc*isc;this.pyb.cw.eg=this.pyb.dw.dg;this.pyb.dw.eg=fsc+gsc+tmc*tmc*hsc+vmc*vmc*isc;this.pyb.rsb.eg=tmc*hsc+vmc*isc;this.pyb.cw.usb=this.pyb.rsb.dg;this.pyb.dw.usb=this.pyb.rsb.eg;this.pyb.rsb.usb=hsc+isc;var yxb=new tq();this.pyb.wsb(yxb,(-jxc),(-kxc),(-nwc));tjc.vub.cg.dg-=fsc*yxb.dg;tjc.vub.cg.eg-=fsc*yxb.eg;tjc.vub.xab-=hsc*(tmc*yxb.eg-umc*yxb.dg+yxb.usb);ujc.vub.cg.dg+=gsc*yxb.dg;ujc.vub.cg.eg+=gsc*yxb.eg;ujc.vub.xab+=isc*(vmc*yxb.eg-wmc*yxb.dg+yxb.usb);
tjc.pac();ujc.pac();return gzc<=mq.sqb&&mwc<=mq.krb;};xn.eo(zs,xn.wo.zo.ms);zs.prototype.__super=xn.wo.zo.ms.prototype;zs.zs=function(){xn.wo.zo.ms.ms.apply(this,arguments);this.zqc=new sq();this.brc=new sq()};zs.prototype.zs=function(){this.__super.ms.call(this);this.type=ls.euc;this.gxc=0.0};zs.prototype.ihb=function(tjc,ujc,anchor){this.ubc=tjc;this.wbc=ujc;this.zqc.gz(this.ubc.bzb(anchor));this.brc.gz(this.wbc.bzb(anchor));this.gxc=this.wbc.isb()-this.ubc.isb()}})();(function(){var ar=xn.wo.ar;ar.ar=function(){
this.vzc=1.0;this.wzc=1.0;this.xzc=1.0;this.yzc=1.0;this.zzc=1.0;var ufb=this;this.oic={pic:{clear:function(){ufb.aad.clearRect(0,0,ufb.aad.canvas.width,ufb.aad.canvas.height)}}}};ar.prototype.bad=function(color,ekb){return "rgba("+((color&0xFF0000)>>16)+","+((color&0xFF00)>>8)+","+(color&0xFF)+","+ekb+")"};ar.prototype.ar=function(){this.cad=0};ar.prototype.jcc=function(kcc){if(kcc===undefined)kcc=0;this.cad=kcc};ar.prototype.lcc=function(){return this.cad};ar.prototype.mcc=function(kcc){if(kcc===undefined)kcc=0;
this.cad|=kcc};ar.prototype.ncc=function(kcc){if(kcc===undefined)kcc=0;this.cad&=~kcc};ar.prototype.occ=function(pcc){this.aad=pcc};ar.prototype.qcc=function(){return this.aad};ar.prototype.rcc=function(scc){if(scc===undefined)scc=0;this.vzc=scc};ar.prototype.tcc=function(){return this.vzc};ar.prototype.ucc=function(vcc){if(vcc===undefined)vcc=0;this.wzc=vcc;this.aad.dad=vcc};ar.prototype.wcc=function(){return this.wzc};ar.prototype.xcc=function(ekb){if(ekb===undefined)ekb=0;this.xzc=ekb};ar.prototype.ycc=function(){
return this.xzc};ar.prototype.zcc=function(ekb){if(ekb===undefined)ekb=0;this.yzc=ekb};ar.prototype.adc=function(){return this.yzc};ar.prototype.bdc=function(cdc){if(cdc===undefined)cdc=0;this.zzc=cdc};ar.prototype.ddc=function(){return this.zzc};ar.prototype.edc=function(nab,mab,color){if(!mab)return;var cu=this.aad;var scc=this.vzc;cu.beginPath();cu.strokeStyle=this.bad(color.color,this.xzc);cu.moveTo(nab[0].dg*scc,nab[0].eg*scc);for(var bg=1;bg<mab;bg++){cu.lineTo(nab[bg].dg*scc,nab[bg].eg*scc)}cu.lineTo(nab[0].dg*scc,
nab[0].eg*scc);cu.closePath();cu.stroke();};ar.prototype.fdc=function(nab,mab,color){if(!mab)return;var cu=this.aad;var scc=this.vzc;cu.beginPath();cu.strokeStyle=this.bad(color.color,this.xzc);cu.fillStyle=this.bad(color.color,this.yzc);cu.moveTo(nab[0].dg*scc,nab[0].eg*scc);for(var bg=1;bg<mab;bg++){cu.lineTo(nab[bg].dg*scc,nab[bg].eg*scc)}cu.lineTo(nab[0].dg*scc,nab[0].eg*scc);cu.closePath();cu.fill();cu.stroke()};ar.prototype.gdc=function(cfb,xz,color){if(!xz)return;var cu=this.aad;var scc=this.vzc;
cu.beginPath();cu.strokeStyle=this.bad(color.color,this.xzc);cu.arc(cfb.dg*scc,cfb.eg*scc,xz*scc,0,Math.PI*2,!0);cu.closePath();cu.stroke()};ar.prototype.hdc=function(cfb,xz,idc,color){if(!xz)return;var cu=this.aad,scc=this.vzc,ead=cfb.dg*scc,fad=cfb.eg*scc;cu.moveTo(0,0);cu.beginPath();cu.strokeStyle=this.bad(color.color,this.xzc);cu.fillStyle=this.bad(color.color,this.yzc);cu.arc(ead,fad,xz*scc,0,Math.PI*2,!0);cu.moveTo(ead,fad);cu.lineTo((cfb.dg+idc.dg*xz)*scc,(cfb.eg+idc.eg*xz)*scc);cu.closePath();
cu.fill();cu.stroke()};ar.prototype.jdc=function(st,ut,color){var cu=this.aad,scc=this.vzc;cu.strokeStyle=this.bad(color.color,this.xzc);cu.beginPath();cu.moveTo(st.dg*scc,st.eg*scc);cu.lineTo(ut.dg*scc,ut.eg*scc);cu.closePath();cu.stroke()};ar.prototype.kdc=function(mgb){var cu=this.aad,scc=this.vzc;cu.beginPath();cu.strokeStyle=this.bad(0xff0000,this.xzc);cu.moveTo(mgb.position.dg*scc,mgb.position.eg*scc);cu.lineTo((mgb.position.dg+this.zzc*mgb.aw.cw.dg)*scc,(mgb.position.eg+this.zzc*mgb.aw.cw.eg)*scc);
cu.strokeStyle=this.bad(0xff00,this.xzc);cu.moveTo(mgb.position.dg*scc,mgb.position.eg*scc);cu.lineTo((mgb.position.dg+this.zzc*mgb.aw.dw.dg)*scc,(mgb.position.eg+this.zzc*mgb.aw.dw.eg)*scc);cu.closePath();cu.stroke()}})();for(var bg=0;bg<xn.at.length;++bg)xn.at[bg]();delete xn.at;var gad=[];var had="None";var iad=0;var jad=0;function kad(){this.dg=0;this.eg=0;this.lad=0;this.mad=0;this.nad=0;this.oad=0};kad.prototype.efc=function(){this.lad=0;this.mad=0;this.nad=0;this.oad=0};kad.prototype.pad=function(qad,
rad){if(sad){var tad;if(!sad.uad){tad=vad}else {tad=sad.wad}for(qo in tad){xad=tad[qo];if(xad.mg){if(xad.yad==-1){zad(canvas,abd)}else {zad(bbd.cbd(xad.yad),abd)}if(((qad-abd.left)>=xad.dbd)&&((qad-abd.left)<xad.ebd)&&((rad-abd.top)>=xad.fbd)&&((rad-abd.top)<xad.gbd)){this.dg=xad.hbd(qad);this.eg=xad.ibd(rad);return }}}}this.dg=qad;this.eg=rad};function log(jbd){setTimeout(function(){throw new yhc(jbd)},0)}function kbd(lbd){for(var bg in gad){if(gad[bg]==lbd){return bg}}return -1}function mbd(lbd){var nbd=-1;for(var bg in gad){
if((gad[bg]==lbd)||(gad[bg]==-1)){nbd=bg;break}}if(nbd==-1){nbd=gad.length}gad[nbd]=lbd;obd[nbd]=new kad();return nbd}function pbd(event){for(var qbd=0;qbd<event.changedTouches.length;qbd++){var rbd=event.changedTouches[qbd];var type="";var nbd=-1;had=event.type;switch(event.type){case "touchstart":nbd=mbd(rbd.sbd);break;case "touchend":nbd=kbd(rbd.sbd);gad[nbd]=-1;break;case "touchmove":nbd=kbd(rbd.sbd);break;default :return }var tbd;var ubd;if(vbd){var wbd={dg:0,eg:0};vbd(rbd,wbd);tbd=wbd.dg;ubd=wbd.eg}else {
tbd=rbd.pageX;ubd=rbd.pageY}if(nbd==0){if(xbd!=null){ybd=tbd;zbd=ubd}switch(event.type){case "touchstart":acd=1;break;case "touchmove":acd=1;break;case "touchend":acd=0;break}}obd[nbd].pad(tbd,ubd);bcd[nbd].dg=tbd;bcd[nbd].eg=ubd;switch(event.type){case "touchstart":obd[nbd].lad=1;bcd[nbd].ccd=dcd|ecd|fcd;break;case "touchend":obd[nbd].lad=0;bcd[nbd].ccd=0;break;case "touchmove":default :break}event.preventDefault()}}function gcd(){canvas.ontouchstart=pbd;canvas.ontouchmove=pbd;canvas.ontouchend=pbd;canvas.ontouchcancel=pbd}
var hcd,icd,jcd,kcd,lcd,mcd,ncd;function ocd(pcd,qcd){this.rcd=[];this.scd=pcd;this.tcd=qcd;var iib=pcd*qcd;for(var bg=0;bg<iib;bg++){this.rcd[bg]=null}}ocd.prototype.cbb=function(ucd){this.scd=ucd.scd;this.tcd=ucd.tcd;this.rcd=ucd.rcd.slice()};var vcd=wcd;function wcd(xcd,qad,rad,ycd){var zcd=bdd.cbd(xcd);if(!zcd){yhc("Error: invalid ds_grid ID (ds_grid_set)");return }if(qad<0||qad>=zcd.scd||rad<0||rad>=zcd.tcd){yhc("Error: grid out of bounds(set) - GridID: "+xcd+"  size["+zcd.scd+","+zcd.tcd+"]  at  ("+qad+","+rad+")");
return }zcd.rcd[qad+(rad*zcd.scd)]=ycd}function cdd(xcd,qad,rad,ycd){var zcd=bdd.cbd(xcd);zcd.rcd[qad+(rad*zcd.scd)]=ycd}var ddd=edd;function edd(xcd,qad,rad){var zcd=bdd.cbd(xcd);if(!zcd){yhc("Error: invalid ds_grid ID (ds_grid_get)");return 0}if(qad<0||qad>=zcd.scd||rad<0||rad>=zcd.tcd){yhc("Error: grid out of bounds(get) - GridID: "+xcd+"  size["+zcd.scd+","+zcd.tcd+"]  at  ("+qad+","+rad+")");return 0}return zcd.rcd[qad+(rad*zcd.scd)]}function fdd(xcd,qad,rad){var zcd=bdd.cbd(xcd);return zcd.rcd[qad+(rad*zcd.scd)]}
function gdd(){var ylb=new hdd();ylb.idd=!0;return jdd.oub(ylb)}function kdd(xcd){var ldd=jdd.cbd(xcd);if(ldd){ldd.efc();return }yhc("Error: invalid ds_list ID (ds_list_clear)")}function mdd(xcd){var ldd=jdd.cbd(xcd);if(ldd)return ldd.length;yhc("Error: invalid ds_list ID (ds_list_size)");return 0}function ndd(xcd,ycd){var ldd=jdd.cbd(xcd);if(ldd){return ldd.oub(ycd)}yhc("Error: invalid ds_list ID (ds_list_add)");return -1}function odd(xcd,pdd,ycd){var ldd=jdd.cbd(xcd);if(ldd){return ldd.hv(pdd,ycd)}yhc("Error: invalid ds_list ID (ds_list_replace)");
return -1}function qdd(xcd,pdd){var qo;var ldd=jdd.cbd(xcd);if(ldd){if(pdd>=0&&pdd<ldd.gmc.length){qo=ldd.gmc[pdd];if(typeof(qo)=="object")return qo.Object;if(qo!=undefined)return qo}yhc("Error: invalid ds_list position (ds_list_find_value)");return 0}yhc("Error: invalid ds_list ID (ds_list_find_value)");return -1}var rdd=1,sdd=2;function tdd(udd,vdd){this.wdd=udd;this.Object=vdd}function xdd(){var ydd={};var id=zdd.oub(ydd);return id}function aed(xcd){zdd.bed(xcd)}function ced(xcd){var ydd=zdd.cbd(xcd);if(ydd){
var ded={};zdd.hv(xcd,ded)}}function eed(fed,ged){var hed=zdd.cbd(fed);var ied=zdd.cbd(ged);if(hed&&ied){hed={};for(var qo in ied){hed[qo]=ied[qo]}zdd.hv(fed,hed)}}function jed(xcd,bbb,ycd){var ydd=zdd.cbd(xcd);if(ydd){if(ydd[bbb]==undefined){yhc("Error: Key("+bbb+") NOT present in ds_map["+xcd+"], you must add a key before replacing it.")}ydd[bbb]=ycd}}function ked(xcd,bbb){var ydd=zdd.cbd(xcd);if(ydd){if(ydd[bbb]!=undefined)return !0}return !1}function led(xcd,bbb,ycd){var ydd=zdd.cbd(xcd);if(ydd){if(ydd[bbb]!=undefined){
yhc("Error: KEY("+bbb+") already present in ds_map["+xcd+"], you can not add a key twice.")}ydd[bbb]=ycd}}function med(xcd,bbb){var ydd=zdd.cbd(xcd);if(ydd){if(ydd[bbb]!=undefined){if((typeof(ydd[bbb])=="string")||(typeof(ydd[bbb])=="number")){return ydd[bbb]}var ned=ydd[bbb];return ned.Object}}yhc("Error: Key ("+bbb+") not found in ds_map["+xcd+"]");return 0}function oed(xcd,bbb){var ydd=zdd.cbd(xcd);if(typeof(bbb)=="string"){if(ydd){var zvb=!1;for(var key in ydd){if(zvb)return key;if(bbb==key)zvb=!0}}return 0}
else {var ped=1000000000000;var zvb=-1;if(ydd){for(var key in ydd){var qed=ydd[key];if(qed!=undefined){var rmc=(key-bbb);if(rmc>0){if(ped>rmc){ped=rmc;zvb=key}}}}}return zvb}}function red(xcd){var zvb=-1;var ydd=zdd.cbd(xcd);if(ydd){var sed=100000000000000;for(var key in ydd){if(ydd[key]!=undefined){if((sed-key)>0){sed=key;zvb=key}}}}if((zvb==-1)&&ydd){for(var key in ydd){return key}}return zvb}var NaN=0x7ff0000000000001;function ted(vtb,utb){var ued=(vtb>>31)*2+1;var ved=(vtb>>>20)&0x7FF;vtb&=0xFFFFF;if(ved===0x7FF)return(vtb+utb)?NaN:ued/0;
ved?(ved-=1023,vtb|=0x100000):ved=-1022;var wed=utb+(vtb*4294967296.0);return ued*wed*Math.pow(2,ved-52)}var xed=0;var yed=null;function zed(){var qf=yed.length;var teb=64-8;var utb=0;var vtb=0;while(xed<qf){var xab;var cg=yed[xed++];if(cg==','||cg==':'){xed--;break}if(cg>='A'){xab=((cg.charCodeAt()-65)+10)<<4}else {xab=((cg.charCodeAt()-48)<<4)}cg=yed[xed++];if(cg>='A'){xab|=(~~(cg.charCodeAt()-65))+10}else {xab|=~~(cg.charCodeAt()-48)}if(teb>32){vtb|=xab<<(teb-32)}else {utb|=xab<<(teb-32)}teb-=8}return ted(vtb,
utb)}function afd(){var qf=yed.length;var bfd="";while(xed<qf){var xab;var cg=yed[xed++];if(cg==','||cg==':'){xed--;break}if(cg>='A'){xab=((cg.charCodeAt()-65)+10)<<4}else {xab=((cg.charCodeAt()-48)<<4)}cg=yed[xed++];if(cg>='A'){xab|=(cg.charCodeAt()-65)+10}else {xab|=(cg.charCodeAt()-48)}bfd+=String.fromCharCode(xab)}return bfd}var cfd=!1;function dfd(){var efd=[];return ffd.oub(efd)}function gfd(xcd){var efd=ffd.cbd(xcd);if(!efd){yhc("Error: invalid ds_queue ID (ds_queue_clear)");return }efd=[];ffd.hv(xcd,efd)}
function hfd(xcd){var efd=ffd.cbd(xcd);if(efd==null){yhc("Error: invalid ds_queue ID (ds_queue_size)");return 0}return efd.length;}function ifd(xcd,ycd){var efd=ffd.cbd(xcd);if(efd==null){yhc("Error: invalid ds_queue ID (ds_queue_enqueue)");return 0}efd[efd.length]=ycd}var jfd=!1;var kfd='Trying to stop non-existing sound.',lfd='Trying to draw a non-existing sprite.',mfd='Trying to draw a non-existing background.',nfd='Cannot compare arguments.',ofd='Trying to replace non-existing resource.',pfd='File does not exist.',
qfd='The particle emitter must first be created.';var rfd=-1,sfd=[],tfd=[];function om(ufd,vfd,qad,rad){var wfd=xfd(vfd);if(!0!=yfd(wfd)){debug("Creating existence for non-existent object: "+wfd.toString());return }var zfd=null;if(!0==jfd){zfd=sad.agd(qad+ufd.dg,rad+ufd.eg,wfd)}else {zfd=sad.agd(qad,rad,wfd)}zfd.bgd(cgd,0,zfd,zfd);zfd.dgd=!0}var egd=[];var fgd=0;var ggd=1970;var hgd=0;var igd=1;var jgd=365.25;var kgd=30.4375;var lgd=[31,28,31,30,31,30,31,31,30,31,30,31];var mgd=[];var ngd=(86400.0);var ogd=(ngd*30);
function pgd(qgd){if(qgd<rgd){return qgd*sgd}else {return(qgd-rgd)*sgd}}var sgd=86400000.0;var rgd=25569;function tgd(){var kcb=new Date();var iib=kcb.getTime();return(iib/sgd)+rgd}function ugd(vgd){var kcb=new Date();kcb.setTime(pgd(vgd));return kcb.getUTCFullYear()}function wgd(vgd){var kcb=new Date();kcb.setTime(pgd(vgd));return(kcb.getMonth())+1}function xgd(vgd){var kcb=new Date();kcb.setTime(pgd(vgd));return kcb.getDate()}function ygd(vgd){var kcb=new Date();kcb.setTime(pgd(vgd));return kcb.getDay()}function zgd(vgd){
var kcb=new Date();kcb.setTime(pgd(vgd));return kcb.getHours()}function ahd(vgd){var kcb=new Date();kcb.setTime(pgd(vgd));return kcb.getMinutes()}function bhd(vgd){var kcb=new Date();kcb.setTime(pgd(vgd));return kcb.getSeconds()}function chd(dhd){return((dhd<10)?"0":"")+dhd.toString()}var ehd=[];var fhd=[];var ghd=[];var hhd=Date.now();var ihd=0;var jhd=1;var khd=2;var lhd=3;var mhd=function(text){if(nhd){if(!ohd)return;var phd=ohd.document.getElementById('debug_console');if(!phd)return;var qhd=String.fromCharCode(0x0a);
text=text.replace('<b>','').replace('</b>','');var rhd=Date.now()-hhd;if(!phd){alert(text)}else {phd.value+=text+qhd;var shd=phd.textLength}hhd=Date.now()}};function debug(){var ai;for(ai=0;ai<arguments.length;++ai){mhd(arguments[ai])}}function yhc(){var ai;for(ai=0;ai<arguments.length;++ai){mhd(arguments[ai])}}function thd(uhd){if(!ghd[uhd]){ghd[uhd]=!0;vhd(uhd)}}function whd(uhd){if(!ehd[uhd]){ehd[uhd]=!0;var xhd="Error: function "+uhd+" is not supported.";debug(xhd)}}function yhd(uhd){if(!ehd[uhd]){ehd[uhd]=!0;
var xhd="Error: function "+uhd+" is not yet implemented";debug(xhd)}}function zhd(aid){var eqb=document.getElementById(bid);var cid=eqb.parentNode;var did=document.createElement("div");eid="gm4html5_login_ID";did.setAttribute("class","gm4html5_login");did.setAttribute("id",eid);cid.insertBefore(did,eqb.nextSibling);did.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>";
fid();gid=!0;var login=document.getElementById("gm4html5_login_button_id");var hid=document.getElementById("gm4html5_login_username_id");var iid=document.getElementById("gm4html5_login_password_id");hid.value=aid.jid[0];iid.value=aid.jid[1];login.onmouseup=function(){var kid=hid.value;var lid=iid.value;var mid=nid(eid);if(!mid)return;mid.kid=kid;mid.lid=lid;mid.value=0;mid.lt="";mid.oid=!0;mid.pid=qid;cid.removeChild(did);gid=!1;rid();sid(aid.id)};var tid=document.getElementById("gm4html5_cancel_button_id");
tid.onmouseup=function(){cid.removeChild(did);gid=!1;var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=0;mid.lt="";mid.oid=!0;mid.pid=uid;rid();sid(aid.id)};vid();wid.oub(aid.id,null,xid,eid)}function yid(aid){var eqb=document.getElementById(bid);var cid=eqb.parentNode;var did=document.createElement("div");eid="gm4html5_input_ID";did.setAttribute("class","gm4html5_login");did.setAttribute("id",eid);cid.insertBefore(did,eqb.nextSibling);did.innerHTML="<div class=\"gm4html5_login_header\">Input</div>"+"<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>";
fid();gid=!0;var zid=document.getElementById("gm4html5_input_message_id");var ajd=document.getElementById("gm4html5_input_text_id");zid.innerHTML=aid.jid[0];ajd.value=aid.jid[1];var bjd=document.getElementById("gm4html5_input_ok_button_id");bjd.onmouseup=function(){var text=ajd.value;var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=parseFloat(text);mid.lt=text;mid.oid=!0;mid.pid=qid;cid.removeChild(did);gid=!1;rid();sid(aid.id)};var tid=document.getElementById("gm4html5_input_cancel_button_id");
tid.onmouseup=function(){cid.removeChild(did);gid=!1;var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=0;mid.lt="";mid.oid=!0;mid.pid=uid;rid();sid(aid.id)};vid();wid.oub(aid.id,null,xid,eid)}function cjd(aid){var eqb=document.getElementById(bid);var cid=eqb.parentNode;var did=document.createElement("div");eid="gm4html5_question_ID";did.setAttribute("class","gm4html5_login");did.setAttribute("id",eid);cid.insertBefore(did,eqb.nextSibling);did.innerHTML="<div class=\"gm4html5_question_header\">Question</div>"+"<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>";
fid();gid=!0;var djd=document.getElementById("gm4html5_question_message_id");djd.innerHTML=aid.jid[0];var bjd=document.getElementById("gm4html5_question_yes_button_id");bjd.onmouseup=function(){var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=1;mid.lt="1";mid.oid=!0;mid.pid=qid;cid.removeChild(did);gid=!1;rid();sid(aid.id)};var tid=document.getElementById("gm4html5_question_no_button_id");tid.onmouseup=function(){cid.removeChild(did);gid=!1;var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";
mid.value=0;mid.lt="0";mid.oid=!0;mid.pid=uid;rid();sid(aid.id)};vid();wid.oub(aid.id,null,xid,eid)}function ejd(aid){var eqb=document.getElementById(bid);var cid=eqb.parentNode;var did=document.createElement("div");eid="gm4html5_message_ID";did.setAttribute("class","gm4html5_login");did.setAttribute("id",eid);cid.insertBefore(did,eqb.nextSibling);did.innerHTML="<div class=\"gm4html5_message_header\">Message</div>"+"<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>"+"<div class=\"gm4html5_cancel_button\"><input type=\"button\" value=\"Cancel\" id=\"gm4html5_message_cancel_button_id\" /></div>";
fid();gid=!0;var djd=document.getElementById("gm4html5_message_message_id");djd.innerHTML=aid.jid[0];var bjd=document.getElementById("gm4html5_message_ok_button_id");bjd.onmouseup=function(){var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=1;mid.lt="1";mid.oid=!0;mid.pid=1;cid.removeChild(did);gid=!1;rid();sid(aid.id)};var tid=document.getElementById("gm4html5_message_cancel_button_id");tid.onmouseup=function(){var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=0;mid.lt="0";
mid.oid=!0;mid.pid=0;cid.removeChild(did);gid=!1;rid();sid(aid.id)};vid();wid.oub(aid.id,null,xid,eid)}function fjd(){if(gjd.length>0){switch(gjd[0].type){case ihd:zhd(gjd[0]);break;case jhd:yid(gjd[0]);break;case khd:cjd(gjd[0]);break;case lhd:ejd(gjd[0]);break}}}function sid(xcd){var ai=-1;for(var bg=0;bg<gjd.length;++bg){if(gjd[bg].id==xcd){ai=bg;break}}if(ai>=0){gjd.splice(ai,1)}fjd()}function vid(){if(gid){var login=document.getElementById(eid);var fg=login.offsetWidth;var gg=login.offsetHeight;var hjd=(canvas.width-fg)/2;
var ijd=(canvas.height-gg)/2;abd=new jjd();zad(canvas,abd);login.style.left=~~(hjd+abd.left)+"px";login.style.top=~~(ijd+abd.top)+"px";}}function kjd(ljd){return ljd.substr(0,ljd.indexOf("("))}function vhd(mjd){var gib=arguments.njd.ojd;var bfd="Error: "+mjd+pjd(13)+"--------------------------------------------------------------------"+pjd(13);while(gib){var name=pjd(9)+kjd(gib.toString());bfd+=name+'(';for(var bg=0;bg<gib.arguments.length;bg++){if(bg!=0)bfd+=', ';if(typeof gib.arguments[bg]=="string"){bfd+='"'+gib.arguments[bg].toString()+'"'}
else if(typeof gib.arguments[bg]=="number"){bfd+=gib.arguments[bg].toString()}else {if(gib.arguments[bg].qjd){bfd+=gib.arguments[bg].qjd;}else {bfd+="[unknown]"}}}bfd+=')'+pjd(13);gib=gib.ojd}debug(bfd)}var rjd=3;var sjd=-1;function tjd(response){if(response.status==='connected'){ujd=response.authResponse.userID;g_fbOAuthToken=response.authResponse.accessToken;vjd='AUTHORISED'}else if(response.status==='not_authorized'){vjd='DENIED'}else {vjd='FAILED'}}var wjd={appId:0,status:!0,cookie:!0,xfbml:!0};function xjd(){
wjd.appId=g_fbAppId;FB.init(wjd);FB.getLoginStatus(tjd);vjd='PROCESSING';FB.Canvas.setAutoGrow(100);if(yjd.ti&&yjd.ti.vi&&yjd.ti.zjd){yjd.ti.zjd()}}function akd(kcb){var bkd,id='facebook-jssdk',ckd=kcb.getElementsByTagName('script')[0];if(kcb.getElementById(id)){return }bkd=kcb.createElement('script');bkd.id=id;bkd.dkd=!0;bkd.src="//connect.facebook.net/en_US/all.js";ckd.parentNode.insertBefore(bkd,ckd)}function ekd(fkd){if(typeof(yjd.ti.GenerateSpotifyApp)!="undefined"){}else {var eqb=document.getElementById(bid);
var cid=eqb.parentNode;var did=document.createElement("div");did.setAttribute("id","fb-root");cid.insertBefore(did,eqb.nextSibling);g_fbAppId=fkd;window.fbAsyncInit=xjd;akd(document)}}function gkd(hkd){var ikd='https://graph.facebook.com/me';var jkd=ikd+'?access_token='+g_fbOAuthToken;var kkd=new XMLHttpRequest();kkd.open('GET',jkd);kkd.onreadystatechange=function(){if(kkd.readyState!=4)return;var data=JSON.parse(kkd.responseText);lkd(data);var mkd=eval(hkd);if(mkd){mkd(data)}};kkd.send(null)}function lkd(data){
ujd=data.id;vjd='AUTHORISED'}function nkd(hkd){if(typeof(getSpotifyApi)!="undefined"){var okd=getSpotifyApi(1);var pkd=okd.require('sp://import/scripts/api/auth');var qkd=['user_about_me','publish_stream'];var rkd=yjd.ti.skd;pkd.authenticateWithFacebook(rkd,qkd,{onSuccess:function(accessToken,tkd){g_fbOAuthToken=accessToken;gkd(hkd)},onFailure:function(error){console.log('Authentication failed with error: '+error)},onComplete:function(){}})}}function ukd(vkd){if(typeof(yjd.ti.GenerateSpotifyApp)=="undefined"){
if(typeof(FB)=='undefined'){console.log("Facebook initialisation has not completed");return }}vjd='PROCESSING';if(typeof(yjd.ti.GenerateSpotifyApp)!="undefined"){nkd(vkd)}else {var shd=0;var wkd='';if(vkd>=0){shd=mdd(vkd);for(var bg=0;bg<shd;bg++){var bfd=qdd(vkd,bg);wkd+=bfd;if(bg<shd-1){wkd+=','}}FB.login(tjd,{scope:wkd})}else {FB.login(tjd)}}}function xkd(ykd,zkd,ald,bld){var zn={};if(ald!=-1){var cld=red(ald);while(ked(ald,cld)){var dld=med(ald,cld);zn[cld]=dld;cld=oed(ald,cld)}}eld=bld;if(bld!=-1){ced(bld)}
FB.api(ykd,zkd,zn,fld)}function fld(data){if(eld!=-1){gld(data,eld)}debug("response received from facebook_graph_request")}function hld(ykd,ald,bld){var zn={};zn.method=ykd;if(ald!=-1){var cld=red(ald);while(ked(ald,cld)){var dld=med(ald,cld);zn[cld]=dld;cld=oed(ald,cld)}}ild=bld;if(bld!=-1){ced(bld)}FB.ui(zn,jld);return 1}function jld(data){if(ild!=-1){gld(data,eld)}debug("response received from facebook_dialog")}function kld(){this.lld="";this.mld=0;this.nld=!1;this.old=!1;this.pld=""}kld.prototype.qld=function(){
var bfd;var bg=this.mld;var cu=this.lld;while(bg<cu.length){var cg=cu.charCodeAt(bg);if(cg==0x0d||cg==0x0a){bg++;cg=cu.charCodeAt(bg);if(cg==0x0d||cg==0x0a){bg++}break}else {bg++}}this.mld=bg};kld.prototype.rld=function(){var bfd;var bg=this.mld;var cu=this.lld;while(bg<cu.length){var cg=cu.charCodeAt(bg);if(cg==0x0d||cg==0x0a||cg==0x09||cg==0x20){bg++}else {break}}this.mld=bg};function sld(tld){var uld;switch(typeof(tld)){case "object":if(tld instanceof Array){uld=new tdd(sdd,vld(tld))}else {uld=new tdd(rdd,wld(tld))}
break;case "boolean":uld=tld?1:0;break;case "number":case "string":uld=tld;break;default :uld=tld.toString();break}return uld}function vld(vdd){var uld=gdd();for(var bg=0;bg<vdd.length;++bg){var qo=sld(vdd[bg]);ndd(uld,qo)}return uld}function wld(vdd){var uld=xdd();for(var xld in vdd){var xab=vdd[xld];var qo=sld(xab);led(uld,xld,qo)}return uld}function yld(tld){var uld;switch(typeof(tld)){case "object":switch(tld.wdd){case sdd:uld=zld(tld.Object);break;case rdd:uld=amd(tld.Object);break;default :uld=tld.toString();break}
break;case "number":case "string":uld=tld;break;default :uld=tld.toString();break}return uld}function zld(bmd){var uld=[];var cmd=jdd.cbd(bmd);if(cmd){for(var bg=0;bg<cmd.gmc.length;++bg){if(cmd.gmc[bg]!=undefined)uld.push(yld(cmd.gmc[bg]))}}return uld}function amd(dmd){var uld={};var ydd=zdd.cbd(dmd);if(ydd){for(var bg in ydd){if(ydd[bg]!=undefined)uld[bg]=yld(ydd[bg])}}return uld}function wn(emd){fmd.gmd=emd}function ul(qad,rad,uhd){fmd.hmd(uhd.toString(),qad,rad,-1,-1,0,1,1)}function imd(qad,rad,uhd,jmd,kmd,lmd){
fmd.hmd(uhd.toString(),qad,rad,-1,-1,lmd,jmd,kmd)}function mmd(xcd){var nmd=fmd.cbd(xcd);if(!nmd)return "";return nmd.omd}var pmd=mmd;function qmd(rmd,smd,tmd,umd,vmd,wmd,xmd){var nmd=new ymd();nmd.zmd=!0;nmd.re="fnt_"+rmd;nmd.omd=rmd;nmd.qf=smd;nmd.bold=tmd;nmd.rf=umd;nmd.sf=vmd;nmd.tf=wmd;nmd.and=smd+"pt "+rmd+" ";if(tmd)nmd.and=nmd.and+"bold ";if(umd)nmd.and=nmd.and+"Italic ";if(xmd){return fmd.bnd(nmd)}else {return nmd}}function nm(vdd){return cnd.cbd(vdd).dnd.length}function end(){var fnd=gnd("hiscores_data_",
!0);if(fnd!=null){hnd=JSON.parse(fnd);var bg;for(bg=0;bg<ind;bg++){jnd[bg]=hnd[bg].name;knd[bg]=hnd[bg].value}}}function lnd(){knd[0]=knd[1]=knd[2]=knd[3]=knd[4]=knd[5]=knd[6]=knd[7]=knd[8]=knd[9]=0;jnd[0]=jnd[1]=jnd[2]=jnd[3]=jnd[4]=jnd[5]=jnd[6]=jnd[7]=jnd[8]=jnd[9]=mnd}function nnd(ond,pnd,qnd){var rnd,zlb,ntc,otc,sic,tic;rnd=(ond>>16)&0xff;ntc=(ond>>8)&0xff;sic=(ond&0xff);zlb=(pnd>>16)&0xff;otc=(pnd>>8)&0xff;tic=(pnd&0xff);var snd=1.0-qnd;var r=xfd(rnd*snd+zlb*qnd);var g=xfd(ntc*snd+otc*qnd);var qu=xfd(sic*snd+tic*qnd);
var tnd=((r&0xff)<<16)|((g&0xff)<<8)|(qu&0xff);return tnd}function und(ond,pnd,qnd){return nnd(ond,pnd,qnd)}function vnd(wnd,xnd,ynd,znd){var aod=bod.cbd(ynd);if((aod!=null)&&(aod!=undefined)){var cod=aod.dod[znd];if((cod!=null)&&(cod!=undefined)){cod.eod(wnd,wnd)}}}var fod=!0;var god=debug;function hod(iod){return jod(kod(iod))}function lod(mod){var arguments=lod.arguments;if(yjd.ti.TrackingID){if(arguments.length>=3){_gaq.push(['_trackEvent','GMEvent',mod,arguments[1],arguments[2]])}else {_gaq.push(['_trackEvent',
'GMEvent',mod])}}else if(yjd.ti.FlurryId){if((arguments.length>=3)&&(arguments.length&1)==1){var nod={};var ood=arguments.length-1;if(ood>10){ood=10}for(var bg=0;bg<ood;bg+=2){nod[arguments[bg+1]]=arguments[bg+2].toString()}FlurryAgent.logEvent(mod,nod)}else {FlurryAgent.logEvent(mod);}}}var pod=0;var qod="";function jod(cu){return rod(sod(tod(cu)))}function sod(cu){return uod(vod(wod(cu),cu.length*8))}function rod(ot){try{pod}catch(e){pod=0}var xod=pod?"0123456789ABCDEF":"0123456789abcdef";var nt="";var dg;for(var bg=0;
bg<ot.length;bg++){dg=ot.charCodeAt(bg);nt+=xod.charAt((dg>>>4)&0x0F)+xod.charAt(dg&0x0F)}return nt}function tod(ot){var nt="";var bg=-1;var dg,eg;while(++bg<ot.length){dg=ot.charCodeAt(bg);eg=bg+1<ot.length?ot.charCodeAt(bg+1):0;if(0xD800<=dg&&dg<=0xDBFF&&0xDC00<=eg&&eg<=0xDFFF){dg=0x10000+((dg&0x03FF)<<10)+(eg&0x03FF);bg++}if(dg<=0x7F)nt+=String.fromCharCode(dg);else if(dg<=0x7FF)nt+=String.fromCharCode(0xC0|((dg>>>6)&0x1F),0x80|(dg&0x3F));else if(dg<=0xFFFF)nt+=String.fromCharCode(0xE0|((dg>>>12)&0x0F),
0x80|((dg>>>6)&0x3F),0x80|(dg&0x3F));else if(dg<=0x1FFFFF)nt+=String.fromCharCode(0xF0|((dg>>>18)&0x07),0x80|((dg>>>12)&0x3F),0x80|((dg>>>6)&0x3F),0x80|(dg&0x3F));}return nt}function kod(ot){var nt="";for(var bg=0;bg<ot.length;bg++)nt+=String.fromCharCode(ot.charCodeAt(bg)&0xFF,(ot.charCodeAt(bg)>>>8)&0xFF);return nt}function wod(ot){var nt=Array(ot.length>>2);for(var bg=0;bg<nt.length;bg++)nt[bg]=0;for(var bg=0;bg<ot.length*8;bg+=8)nt[bg>>5]|=(ot.charCodeAt(bg/8)&0xFF)<<(bg%32);return nt}function uod(ot){var nt="";
for(var bg=0;bg<ot.length*32;bg+=8)nt+=String.fromCharCode((ot[bg>>5]>>>(bg%32))&0xFF);return nt}function vod(dg,shd){dg[shd>>5]|=0x80<<((shd)%32);dg[(((shd+64)>>>9)<<4)+14]=shd;var xab=1732584193;var qu=-271733879;var cg=-1732584194;var kcb=271733878;for(var bg=0;bg<dg.length;bg+=16){var yod=xab;var zod=qu;var apd=cg;var bpd=kcb;xab=cpd(xab,qu,cg,kcb,dg[bg+0],7,-680876936);kcb=cpd(kcb,xab,qu,cg,dg[bg+1],12,-389564586);cg=cpd(cg,kcb,xab,qu,dg[bg+2],17,606105819);qu=cpd(qu,cg,kcb,xab,dg[bg+3],22,-1044525330);
xab=cpd(xab,qu,cg,kcb,dg[bg+4],7,-176418897);kcb=cpd(kcb,xab,qu,cg,dg[bg+5],12,1200080426);cg=cpd(cg,kcb,xab,qu,dg[bg+6],17,-1473231341);qu=cpd(qu,cg,kcb,xab,dg[bg+7],22,-45705983);xab=cpd(xab,qu,cg,kcb,dg[bg+8],7,1770035416);kcb=cpd(kcb,xab,qu,cg,dg[bg+9],12,-1958414417);cg=cpd(cg,kcb,xab,qu,dg[bg+10],17,-42063);qu=cpd(qu,cg,kcb,xab,dg[bg+11],22,-1990404162);xab=cpd(xab,qu,cg,kcb,dg[bg+12],7,1804603682);kcb=cpd(kcb,xab,qu,cg,dg[bg+13],12,-40341101);cg=cpd(cg,kcb,xab,qu,dg[bg+14],17,-1502002290);
qu=cpd(qu,cg,kcb,xab,dg[bg+15],22,1236535329);xab=dpd(xab,qu,cg,kcb,dg[bg+1],5,-165796510);kcb=dpd(kcb,xab,qu,cg,dg[bg+6],9,-1069501632);cg=dpd(cg,kcb,xab,qu,dg[bg+11],14,643717713);qu=dpd(qu,cg,kcb,xab,dg[bg+0],20,-373897302);xab=dpd(xab,qu,cg,kcb,dg[bg+5],5,-701558691);kcb=dpd(kcb,xab,qu,cg,dg[bg+10],9,38016083);cg=dpd(cg,kcb,xab,qu,dg[bg+15],14,-660478335);qu=dpd(qu,cg,kcb,xab,dg[bg+4],20,-405537848);xab=dpd(xab,qu,cg,kcb,dg[bg+9],5,568446438);kcb=dpd(kcb,xab,qu,cg,dg[bg+14],9,-1019803690);cg=dpd(cg,
kcb,xab,qu,dg[bg+3],14,-187363961);qu=dpd(qu,cg,kcb,xab,dg[bg+8],20,1163531501);xab=dpd(xab,qu,cg,kcb,dg[bg+13],5,-1444681467);kcb=dpd(kcb,xab,qu,cg,dg[bg+2],9,-51403784);cg=dpd(cg,kcb,xab,qu,dg[bg+7],14,1735328473);qu=dpd(qu,cg,kcb,xab,dg[bg+12],20,-1926607734);xab=epd(xab,qu,cg,kcb,dg[bg+5],4,-378558);kcb=epd(kcb,xab,qu,cg,dg[bg+8],11,-2022574463);cg=epd(cg,kcb,xab,qu,dg[bg+11],16,1839030562);qu=epd(qu,cg,kcb,xab,dg[bg+14],23,-35309556);xab=epd(xab,qu,cg,kcb,dg[bg+1],4,-1530992060);kcb=epd(kcb,
xab,qu,cg,dg[bg+4],11,1272893353);cg=epd(cg,kcb,xab,qu,dg[bg+7],16,-155497632);qu=epd(qu,cg,kcb,xab,dg[bg+10],23,-1094730640);xab=epd(xab,qu,cg,kcb,dg[bg+13],4,681279174);kcb=epd(kcb,xab,qu,cg,dg[bg+0],11,-358537222);cg=epd(cg,kcb,xab,qu,dg[bg+3],16,-722521979);qu=epd(qu,cg,kcb,xab,dg[bg+6],23,76029189);xab=epd(xab,qu,cg,kcb,dg[bg+9],4,-640364487);kcb=epd(kcb,xab,qu,cg,dg[bg+12],11,-421815835);cg=epd(cg,kcb,xab,qu,dg[bg+15],16,530742520);qu=epd(qu,cg,kcb,xab,dg[bg+2],23,-995338651);xab=fpd(xab,qu,
cg,kcb,dg[bg+0],6,-198630844);kcb=fpd(kcb,xab,qu,cg,dg[bg+7],10,1126891415);cg=fpd(cg,kcb,xab,qu,dg[bg+14],15,-1416354905);qu=fpd(qu,cg,kcb,xab,dg[bg+5],21,-57434055);xab=fpd(xab,qu,cg,kcb,dg[bg+12],6,1700485571);kcb=fpd(kcb,xab,qu,cg,dg[bg+3],10,-1894986606);cg=fpd(cg,kcb,xab,qu,dg[bg+10],15,-1051523);qu=fpd(qu,cg,kcb,xab,dg[bg+1],21,-2054922799);xab=fpd(xab,qu,cg,kcb,dg[bg+8],6,1873313359);kcb=fpd(kcb,xab,qu,cg,dg[bg+15],10,-30611744);cg=fpd(cg,kcb,xab,qu,dg[bg+6],15,-1560198380);qu=fpd(qu,cg,
kcb,xab,dg[bg+13],21,1309151649);xab=fpd(xab,qu,cg,kcb,dg[bg+4],6,-145523070);kcb=fpd(kcb,xab,qu,cg,dg[bg+11],10,-1120210379);cg=fpd(cg,kcb,xab,qu,dg[bg+2],15,718787259);qu=fpd(qu,cg,kcb,xab,dg[bg+9],21,-343485551);xab=gpd(xab,yod);qu=gpd(qu,zod);cg=gpd(cg,apd);kcb=gpd(kcb,bpd)}return Array(xab,qu,cg,kcb)}function hpd(ipd,xab,qu,dg,cu,iib){return gpd(jpd(gpd(gpd(xab,ipd),gpd(dg,iib)),cu),qu)}function cpd(xab,qu,cg,kcb,dg,cu,iib){return hpd((qu&cg)|((~qu)&kcb),xab,qu,dg,cu,iib)}function dpd(xab,qu,cg,kcb,
dg,cu,iib){return hpd((qu&kcb)|(cg&(~kcb)),xab,qu,dg,cu,iib)}function epd(xab,qu,cg,kcb,dg,cu,iib){return hpd(qu^cg^kcb,xab,qu,dg,cu,iib)}function fpd(xab,qu,cg,kcb,dg,cu,iib){return hpd(cg^(qu|(~kcb)),xab,qu,dg,cu,iib)}function gpd(dg,eg){var kpd=(dg&0xFFFF)+(eg&0xFFFF);var lpd=(dg>>16)+(eg>>16)+(kpd>>16);return(lpd<<16)|(kpd&0xFFFF)}function jpd(mpd,npd){return(mpd<<npd)|(mpd>>>(32-npd))}function opd(ot){var nt=Array(ot.length>>2);for(var bg=0;bg<nt.length;bg++)nt[bg]=0;for(var bg=0;bg<ot.length*8;bg+=8)nt[bg>>5]|=(ot.charCodeAt(bg/8)&0xFF)<<(24-bg%32);
return nt}function ppd(dg,shd){dg[shd>>5]|=0x80<<(24-shd%32);dg[((shd+64>>9)<<4)+15]=shd;var fg=Array(80);var xab=1732584193;var qu=-271733879;var cg=-1732584194;var kcb=271733878;var e=-1009589776;for(var bg=0;bg<dg.length;bg+=16){var yod=xab;var zod=qu;var apd=cg;var bpd=kcb;var qpd=e;for(var jqb=0;jqb<80;jqb++){if(jqb<16)fg[jqb]=dg[bg+jqb];else fg[jqb]=jpd(fg[jqb-3]^fg[jqb-8]^fg[jqb-14]^fg[jqb-16],1);var iib=gpd(gpd(jpd(xab,5),rpd(jqb,qu,cg,kcb)),gpd(gpd(e,fg[jqb]),spd(jqb)));e=kcb;kcb=cg;cg=jpd(qu,30);qu=xab;
xab=iib}xab=gpd(xab,yod);qu=gpd(qu,zod);cg=gpd(cg,apd);kcb=gpd(kcb,bpd);e=gpd(e,qpd)}return Array(xab,qu,cg,kcb,e)}function rpd(iib,qu,cg,kcb){if(iib<20)return(qu&cg)|((~qu)&kcb);if(iib<40)return qu^cg^kcb;if(iib<60)return(qu&cg)|(qu&kcb)|(cg&kcb);return qu^cg^kcb}function spd(iib){return(iib<20)?1518500249:(iib<40)?1859775393:(iib<60)?-1894007588:-899497514;}function tpd(){return 0}var upd=vpd;function vpd(wpd,xpd){pic.ypd();var zpd=[];zpd[0]=1;zpd[1]=0;zpd[2]=0;zpd[3]=1;zpd[4]=0;zpd[5]=0;pic.aqd(zpd[0],
zpd[1],zpd[2],zpd[3],zpd[4],zpd[5]);if(!pic.clearRect||wpd!=0||xpd!=0){pic.globalAlpha=xpd;pic.fillStyle=bqd(cqd(wpd),xpd);pic.globalCompositeOperation='copy';pic.fillRect(dqd,eqd,fqd,gqd)}else {pic.clearRect(dqd,eqd,fqd,gqd)}pic.hqd()}function hn(iqd,jqd,kqd){return(~~iqd)|(jqd<<8)|(kqd<<16)}function lqd(xpd){if(xpd<0){xpd=0}if(xpd>1){xpd=1}mqd=xpd;nqd=bqd(oqd,mqd)}function pqd(){return mqd}function qqd(){return rqd}function wl(sqd){rqd=sqd;oqd=cqd(sqd);tqd=uqd(oqd);nqd=bqd(oqd,mqd)}var vqd=wqd;function wqd(xqd,
yqd,zqd,ard,ond,pnd,brd){if(ard<yqd){var crd=yqd;yqd=ard;ard=crd}if(zqd<xqd){var crd=xqd;xqd=zqd;zqd=crd}var width=zqd-xqd;var height=ard-yqd;xz=10;var tnd=pic.globalAlpha=mqd;pic.beginPath();pic.moveTo(xqd+xz,yqd);pic.lineTo(xqd+width-xz,yqd);pic.quadraticCurveTo(xqd+width,yqd,xqd+width,yqd+xz);pic.lineTo(xqd+width,yqd+height-xz);pic.quadraticCurveTo(xqd+width,yqd+height,xqd+width-xz,yqd+height);pic.lineTo(xqd+xz,yqd+height);pic.quadraticCurveTo(xqd,yqd+height,xqd,yqd+height-xz);pic.lineTo(xqd,yqd+xz);
pic.quadraticCurveTo(xqd,yqd,xqd+xz,yqd);pic.closePath();if(brd){pic.strokeStyle=bqd(cqd(ond),1.0);pic.stroke()}else {pic.fillStyle=bqd(cqd(ond),1.0);pic.fill()}}var drd=erd;function erd(xqd,yqd,zqd,ard,brd){xqd=~~xqd;yqd=~~yqd;zqd=~~zqd;ard=~~ard;pic.globalAlpha=mqd;if(brd){pic.lineWidth=1;pic.strokeStyle=nqd;pic.frd(xqd+0.5,yqd+0.5,(zqd-xqd),(ard-yqd))}else {pic.fillStyle=nqd;pic.grd(xqd,yqd,zqd-xqd+1,ard-yqd+1)}}var hrd=ird;function ird(xqd,yqd,zqd,ard,ond,pnd,jrd,krd,brd){var tnd=bqd(cqd(ond),1.0);
pic.globalAlpha=mqd;if(brd){pic.lineWidth=1;pic.strokeStyle=tnd;pic.frd(xqd+0.5,yqd+0.5,(zqd-xqd),(ard-yqd))}else {pic.fillStyle=tnd;pic.grd(xqd+0.5,yqd+0.5,(zqd-xqd),(ard-yqd))}}var lrd=mrd;function mrd(xqd,yqd,zqd,ard,ond,pnd,nrd,brd){pic.globalAlpha=mqd;pic.lineWidth=1;var cw=bqd(cqd(ond),1.0);var dw=bqd(cqd(pnd),1.0);var ord;if(nrd){ord=pic.createLinearGradient(xqd,yqd,xqd,ard)}else {ord=pic.createLinearGradient(xqd,yqd,zqd,yqd)}ord.addColorStop(0,cw);ord.addColorStop(1,dw);if(brd){pic.strokeStyle=ord;
pic.frd(xqd+0.5,yqd+0.5,zqd-xqd,ard-yqd)}else {pic.fillStyle=ord;pic.grd(xqd+0.5,yqd+0.5,zqd-xqd,ard-yqd)}}var prd=qrd;function qrd(qad,rad){pic.globalAlpha=mqd;pic.fillStyle=nqd;pic.grd(qad,rad,1,1)}function rrd(xqd,yqd,zqd,ard,pcd){pic.globalAlpha=mqd;pic.strokeStyle=tqd;pic.lineWidth=pcd;pic.srd();pic.trd(xqd+0.5,yqd+0.5);pic.urd(zqd+0.5,ard+0.5);pic.vrd();pic.wrd();pic.grd(zqd,ard,1,1)}function xrd(xqd,yqd,zqd,ard){rrd(xqd,yqd,zqd,ard,1)}var yrd=zrd;function zrd(qad,rad){var asd=canvas.width/bsd;var csd=canvas.height/dsd;
var tnd=esd(canvas,qad*asd,rad*csd);return tnd&0xffffff}var fsd=gsd;function gsd(xqd,yqd,zqd,ard,hsd,isd,brd){xqd+=0.5;yqd+=0.5;zqd+=0.5;ard+=0.5;hsd+=0.5;isd+=0.5;pic.globalAlpha=mqd;pic.lineWidth=1;if(brd){pic.strokeStyle=nqd;pic.srd();pic.trd(xqd,yqd);pic.urd(zqd,ard);pic.urd(hsd,isd);pic.urd(xqd,yqd);pic.wrd();pic.vrd()}else {pic.strokeStyle=nqd;pic.lineJoin="bevel";pic.fillStyle=nqd;pic.srd();pic.trd(xqd,yqd);pic.urd(zqd,ard);pic.urd(hsd,isd);pic.urd(xqd,yqd);pic.jsd();pic.wrd();pic.vrd();pic.lineJoin="miter"}
}var ksd=lsd;function lsd(xqd,yqd,zqd,ard,hsd,isd,ond,pnd,jrd,brd){var cw=uqd(cqd(ond)|0xff000000);xqd+=0.5;yqd+=0.5;zqd+=0.5;ard+=0.5;hsd+=0.5;isd+=0.5;pic.globalAlpha=mqd;pic.lineWidth=1;if(brd){pic.strokeStyle=cw;pic.srd();pic.trd(xqd,yqd);pic.urd(zqd,ard);pic.urd(hsd,isd);pic.urd(xqd,yqd);pic.wrd();pic.vrd()}else {pic.strokeStyle=cw;pic.lineJoin="bevel";pic.fillStyle=cw;pic.srd();pic.trd(xqd,yqd);pic.urd(zqd,ard);pic.urd(hsd,isd);pic.urd(xqd,yqd);pic.jsd();pic.wrd();pic.vrd();pic.lineJoin="miter"}
}var msd=nsd;function nsd(xqd,yqd,zqd,ard,osd,psd,qsd,rsd,ssd,tsd,usd,vsd){var wsd;var xsd;var ysd;var zsd;var tnd;if(usd){hrd(xqd,yqd,zqd,ard,psd,psd,psd,psd,!1);if(vsd){hrd(xqd,yqd,zqd,ard,atd,atd,atd,atd,!0)}}if(osd<0){osd=0}if(osd>100){osd=100}var btd=osd/100;switch(tsd){case 0:wsd=xqd;ysd=yqd;xsd=xqd+btd*(zqd-xqd);zsd=ard;break;case 1:wsd=zqd-btd*(zqd-xqd);ysd=yqd;xsd=zqd;zsd=ard;break;case 2:wsd=xqd;ysd=yqd;xsd=zqd;zsd=yqd+btd*(ard-yqd);break;case 3:wsd=xqd;ysd=ard-btd*(ard-yqd);xsd=zqd;zsd=ard;break;
default :wsd=xqd;ysd=yqd;xsd=xqd+btd*(zqd-xqd);zsd=ard;break}if(osd>50){tnd=nnd(rsd,ssd,(osd-50.0)/50.0)}else {tnd=nnd(qsd,rsd,osd/50.0)}hrd(wsd,ysd,xsd,zsd,tnd,tnd,tnd,tnd,!1);if(vsd){hrd(wsd,ysd,xsd,zsd,atd,atd,atd,atd,!0)}}var ctd=dtd;function dtd(okb,etd,pkb,ftd,qf){var gtd=Math.sqrt(((pkb-okb)*(pkb-okb))+((ftd-etd)*(ftd-etd)));if(gtd!=0){if(qf>gtd){qf=gtd}var hjd=qf*(pkb-okb)/gtd;var ijd=qf*(ftd-etd)/gtd;xrd(okb,etd,pkb,ftd);fsd(pkb-hjd-ijd/3.0,ftd-ijd+hjd/3.0,pkb,ftd,pkb-hjd+ijd/3.0,ftd-ijd-hjd/3.0,
!1)}}function htd(xqd,yqd,zqd,ard,brd){itd(xqd,yqd,zqd,ard,rqd,rqd,brd)}var itd=jtd;function jtd(dg,eg,okb,etd,ond,pnd,ktd){var fg=okb-dg;var gg=etd-eg;var ltd=0.5522848;mtd=(fg/2)*ltd,ntd=(gg/2)*ltd,otd=dg+fg,ptd=eg+gg,qtd=dg+fg/2,rtd=eg+gg/2;pic.beginPath();pic.moveTo(dg,rtd);pic.bezierCurveTo(dg,rtd-ntd,qtd-mtd,eg,qtd,eg);pic.bezierCurveTo(qtd+mtd,eg,otd,rtd-ntd,otd,rtd);pic.bezierCurveTo(otd,rtd+ntd,qtd+mtd,ptd,qtd,ptd);pic.bezierCurveTo(qtd-mtd,ptd,dg,rtd+ntd,dg,rtd);pic.closePath();var cw=bqd(cqd(ond),
1.0);var dw=bqd(cqd(pnd),1.0);var ord=pic.createRadialGradient(qtd,rtd,0,qtd,rtd,min(fg/2,gg/2));ord.addColorStop(0,cw);ord.addColorStop(1,dw);pic.globalAlpha=mqd;if(ktd){pic.lineWidth=1;pic.strokeStyle=ord;pic.stroke()}else {pic.fillStyle=ord;pic.fill()}}var std=ttd;function ttd(qad,rad,xqb,ond,pnd,brd){pic.globalAlpha=mqd;var cw=bqd(cqd(ond),1.0);var dw=bqd(cqd(pnd),1.0);var ord=pic.createRadialGradient(qad,rad,0,qad,rad,xqb);ord.addColorStop(0,cw);ord.addColorStop(1,dw);pic.srd();if(brd){pic.lineWidth=1;
pic.strokeStyle=ord;pic.utd(qad,rad,xqb,0,Math.PI*2,!0);pic.wrd()}else {pic.fillStyle=ord;pic.utd(qad,rad,xqb,0,Math.PI*2,!1);pic.jsd()}pic.vrd()}var vtd=wtd;function wtd(qad,rad,wpd){var cw=bqd(cqd(wpd),1.0);pic.globalAlpha=mqd;pic.fillStyle=cw;pic.grd(qad,rad,1,1)}var xtd=ytd;function ytd(xqd,yqd,zqd,ard,pcd,ond,pnd){pic.globalAlpha=mqd;var cw=bqd(cqd(ond),1.0);var dw=bqd(cqd(pnd),1.0);var ord=pic.createLinearGradient(xqd,yqd,zqd,ard);ord.addColorStop(0,cw);ord.addColorStop(1,dw);pic.strokeStyle=ord;pic.srd();
pic.trd(xqd+0.5,yqd+0.5);pic.urd(zqd+0.5,ard+0.5);pic.lineWidth=pcd;pic.wrd();pic.vrd()}function ztd(dg,eg,okb,etd,cw,dw,ktd){itd(dg,eg,okb,etd,cw,dw,ktd)}var aud=null;function an(vdd){var ned=zl(vdd);if(ned!=null&&ned.length>0){for(var zfd in ned){bud=ned[zfd];if(!bud.cud)return !0}}return !1}function nm(vdd){var dud=zl(vdd);if(dud==null)return 0;var teb=0;for(var bg=0;bg<dud.length;bg++){if(!dud[bg].cud)teb++;}return teb}function eud(wnd,qad,rad,vdd){var hjd=wnd.dg;var ijd=wnd.eg;wnd.nwb(qad,rad);var id=fud(null,
Math.floor(vdd),!1,gud,qad,rad,function(hud){if(hud.iud(wnd,!0)){return hud.id}else {return gud}});wnd.nwb(hjd,ijd);return id}function jud(wnd){wnd.bgd(kud,0,wnd,wnd);wnd.cud=!0}function lud(ufd,qad,rad){var bg;var bottom,top;var mud=[];var nud=sad.oud;for(bg in nud.gmc){var bud=nud.gmc[bg];if(bud.pud)bud.qud();var rud=bud.rud;if(!((qad>rud.sud)||(qad<rud.left)||(rad>rud.bottom)||(rad<rud.top))){mud[mud.length]=bud}}var nud=sad.oud;for(bg=0;bg<mud.length;bg++){jud(mud[bg])}}function tud(ufd,uud,vud){if(vud)ufd.bgd(kud,
0,ufd,ufd);ufd.wud(uud,!0,!1);ufd.xud=ufd.yud.zud;var avd=bvd.cbd(ufd.xud);if(avd){ufd.rud.left=avd.rud.left;ufd.rud.sud=avd.rud.sud;ufd.rud.top=avd.rud.top;ufd.rud.bottom=avd.rud.bottom}if(vud)ufd.bgd(cgd,0,ufd,ufd)}function cvd(ufd,uud,vud){if(!cnd.dvd(uud)){debug("Error: Trying to change an instance to an nonexistent object type.");return }tud(ufd,uud,vud)}var evd=cvd;function fn(ufd,uud){var bg;var mud=[];var fvd=sad.gvd;for(bg in fvd.gmc){var bud=fvd.gmc[bg];if(bud.hvd==uud||bud.id==uud){mud[mud.length]=bud}
}var nud=sad.oud;for(bg=0;bg<mud.length;bg++){sad.ivd(mud[bg])}}function jvd(vdd,kvd){if(vdd.lvd>=0){var mvd=cnd.cbd(vdd.lvd);if(mvd){if(mvd.nvd==kvd){return !0}else {return jvd(mvd,kvd)}}}return !1};function bn(ufd,uud){var bg;var mud=[];var nud=sad.oud;for(bg in nud.gmc){var bud=nud.gmc[bg];if(bud.hvd==uud||bud.id==uud){mud[mud.length]=bud}else if(jvd(cnd.cbd(bud.hvd),uud)){mud[mud.length]=bud}}var fvd=sad.gvd;for(bg=0;bg<mud.length;bg++){sad.ovd(mud[bg])}}function xl(pvd){with(xbd){switch(pvd){case 0:if(lad[0]||lad[1]||lad[2])return 0;
else return 1;case 1:if(lad[0])return 1;else return 0;case 2:if(lad[1])return 1;else return 0;case 3:if(lad[2])return 1;else return 0;case -1:if(lad[0]||lad[1]||lad[2])return 1;else return 0}}return 0}function nk(pvd){with(xbd){switch(pvd){case 0:if(mad[0]||mad[1]||mad[2])return 0;else return 1;case 1:if(mad[0])return 1;else return 0;case 2:if(mad[1])return 1;else return 0;case 3:if(mad[2])return 1;else return 0;case -1:if(mad[0]||mad[1]||mad[2])return 1;else return 0}}return 0}function qvd(pvd){with(xbd){switch(pvd){case 0:if(nad[0]||nad[1]||nad[2])return 0;
else return 1;case 1:if(nad[0])return 1;else return 0;case 2:if(nad[1])return 1;else return 0;case 3:if(nad[2])return 1;else return 0;case -1:if(nad[0]||nad[1]||nad[2])return 1;else return 0}return 0}}function rvd(mod,svd){var tvd=nid(svd);if(tvd){tvd.uvd=svd.status;tvd.oid=!0;tvd.pid=qid;tvd.vvd=svd.responseText;tvd.uvd=200}}function wvd(mod,svd){var tvd=nid(svd);if(tvd){tvd.uvd=svd.status;tvd.oid=!0;tvd.pid=uid;tvd.vvd="";tvd.uvd=404}}var xvd=!1;var yvd=0x7fff;var floor=Math.floor;function zvd(awd){var bg=awd&0xffffffff;
var gib=awd-bg;if((bg&1)==1){if(gib>=0.5){return bg+1}else {return bg}}else {if(gib<=0.5){return bg}else {return bg+1}}}var round=zvd;var xfd=zvd;var abs=Math.abs;function cos(awd){var qad=Math.cos(awd);var iib=~~(qad*0x1000000);qad=iib/0x1000000;return qad}function sin(awd){var qad=Math.sin(awd);var iib=~~(qad*0x1000000);qad=iib/0x1000000;return qad}function tan(awd){var qad=Math.tan(awd);var iib=~~(qad*0x1000000);qad=iib/0x1000000;return qad}function bwd(xqd,yqd,zqd,ard){var dg=zqd-xqd;var eg=ard-yqd;if(dg===0){if(eg>0)return 270.0;
else if(eg<0)return 90.0;else return 0.0}else {var gtd=180.0*Math.atan2(eg,dg)/cwd;gtd=(~~round(gtd*1000000))/1000000.0;if(gtd<=0.0){return -gtd;}else {return(360.0-gtd)}}return dwd}function ewd(xqd,yqd,zqd,ard){return bwd(xqd,yqd,zqd,ard)}function fwd(awd,zqb){if(awd<zqb)return awd;else return zqb}function gwd(awd,zqb){if(awd>zqb)return awd;else return zqb}var max=Math.max;var min=Math.min;var hwd=[];var ai=0;var iwd=jwd(0);function jwd(kwd){var cu=kwd;for(bg=0;bg<16;bg++){cu=(((cu*214013+2531011)>>16)&yvd)|0;hwd[bg]=~~cu}
ai=0;iwd=kwd;return iwd}function lwd(){var xab,qu,cg,kcb;xab=hwd[ai];cg=hwd[(ai+13)&15];qu=xab^cg^(xab<<16)^(cg<<15);cg=hwd[(ai+9)&15];cg^=(cg>>11);xab=hwd[ai]=qu^cg;kcb=xab^((xab<<5)&0xDA442D20);ai=(ai+15)&15;xab=hwd[ai];hwd[ai]=xab^qu^kcb^(xab<<2)^(qu<<18)^(cg<<28);return((hwd[ai]&0x7fffffff)/2147483647.0)}function random(mwd){var r=lwd();return r*mwd}function nwd(){var owd=nwd.arguments;var pwd=nwd.arguments.length;var ai=Math.floor(random(pwd));return owd[ai]}function ued(qad){if(qad==0)return 0;if(qad<0)return -1;
return 1}var ceil=Math.ceil;function qwd(qad){return qad-~~qad}var sqrt=Math.sqrt;function rwd(qad){return qad*qad}var swd=Math.pow;var exp=Math.exp;var twd=Math.log;var uwd=Math.asin;var vwd=Math.acos;var wwd=Math.atan2;function xwd(){var owd=xwd.arguments;var pwd=xwd.arguments.length;var hgb=owd[0];for(var bg=1;bg<pwd;bg++){hgb+=owd[bg]}return(hgb/pwd)}function ywd(){var arguments=ywd.arguments;if(arguments.length==0){return 0}var bg,jqb,lt;for(bg=0;bg<arguments.length;bg++){var zwd=0;var axd=0;for(jqb=0;jqb<arguments.length;
jqb++){if(arguments[jqb]<arguments[bg]){zwd=zwd+1}if(arguments[jqb]<=arguments[bg]){axd=axd+1}}if((zwd<(arguments.length/2))&&(axd>=(arguments.length/2))){return arguments[bg]}}debug("Error: was not able to successfully find the median value");return 0}var bxd=30,cxd=10,dxd=3,exd=!0;function fxd(gxd,hxd){var dwd=0.0;while(gxd<=0.0){gxd=gxd+360}while(gxd>=360.0){gxd=gxd-360}while(hxd<0.0){hxd=hxd+360}while(hxd>=360.){hxd=hxd-360}dwd=hxd-gxd;if(dwd<0){dwd=-dwd}if(dwd>180){dwd=360-dwd}return dwd}function ixd(wnd,
qad,rad,jxd,kxd){if(jxd==lxd){if(kxd){return mxd(wnd,qad,rad)}else {return nxd(wnd,qad,rad)}}else {return(eud(wnd,qad,rad,jxd)==gud)}}function oxd(wnd,qad,rad,pxd,jxd,kxd){var dwd=!1;var kab=0.0;var qxd=0.0;var rxd=0.0;if((wnd.dg==qad)&&(wnd.eg==rad))return !0;kab=sqrt(sxd(wnd.dg-qad)+sxd(wnd.eg-rad));if(kab<=pxd){qxd=qad;rxd=rad;dwd=!0}else {qxd=wnd.dg+pxd*(qad-wnd.dg)/kab;rxd=wnd.eg+pxd*(rad-wnd.eg)/kab;dwd=!1}if(!ixd(wnd,qxd,rxd,jxd,kxd)){return dwd}wnd.txd(bwd(wnd.dg,wnd.eg,qxd,rxd));wnd.nwb(qxd,rxd);return dwd}
function uxd(wnd,qad,rad,pxd,kxd){return oxd(wnd,qad,rad,pxd,lxd,kxd)}function vxd(wxd,wnd,xxd,jxd,kxd){var dwd=!1;var yxd=0.0;var zxd=0.0;if(fxd(wxd,wnd.ayd)>bxd){return dwd}yxd=wnd.dg+xxd*dxd*cos(cwd*wxd/180);zxd=wnd.eg-xxd*dxd*sin(cwd*wxd/180);if(!0!=ixd(wnd,yxd,zxd,jxd,kxd)){return dwd}yxd=wnd.dg+xxd*cos(cwd*wxd/180);zxd=wnd.eg-xxd*sin(cwd*wxd/180);if(!0!=ixd(wnd,yxd,zxd,jxd,kxd)){return dwd}wnd.txd(wxd);wnd.nwb(yxd,zxd);dwd=!0;return dwd}function byd(wnd,qad,rad,pxd,uud,kxd){var dwd=!1;var kab=0.0;var cyd=0.0;
var dyd=0.0;if((wnd.dg==qad)&&(wnd.eg==rad)){dwd=!0;return dwd}kab=sqrt(sxd(wnd.dg-qad)+sxd(wnd.eg-rad));if(kab<=pxd){if(ixd(wnd,qad,rad,uud,kxd)){wnd.txd(ewd(wnd.dg,wnd.eg,qad,rad));wnd.nwb(qad,rad)}dwd=!0;return dwd}cyd=ewd(wnd.dg,wnd.eg,qad,rad);dyd=0;dwd=!1;while(dyd<180){if(vxd(cyd-dyd,wnd,pxd,uud,kxd)){return dwd}if(vxd(cyd+dyd,wnd,pxd,uud,kxd)){return dwd}dyd=dyd+cxd}if(exd){wnd.txd(wnd.ayd+bxd)}return dwd}function eyd(wnd,qad,rad,pxd,kxd){return byd(wnd,qad,rad,pxd,lxd,kxd)}function fyd(gyd,hyd,iyd,
jyd,kyd,lyd){this.myd=gyd;this.nyd=hyd;this.oyd=iyd;this.pyd=jyd;this.qyd=kyd;this.ryd=lyd;this.syd=[];this.efc()};fyd.prototype.efc=function(){var tyd=this.oyd*this.pyd;for(var bg=0;bg<tyd;bg++){this.syd[bg]=0}};var uyd=vyd;function vyd(xcd){var wyd=xyd.cbd(xcd);if(wyd){pic.globalAlpha=mqd;var yyd=bqd(0xff0000,1.0);var zyd=bqd(0x00ff00,1.0);for(var dg=0;dg<wyd.oyd;dg++){for(var eg=0;eg<wyd.pyd;eg++){var tnd=zyd;if(wyd.syd[dg*wyd.pyd+eg]<0){tnd=yyd}pic.fillStyle=tnd;pic.grd((wyd.myd+dg*wyd.qyd),(wyd.nyd+eg*wyd.ryd),
wyd.qyd,wyd.ryd)}}return }yhc("Error: invalid mp_grid ID (mp_grid_draw)")}function nxd(wnd,qad,rad){var hjd,ijd,dwd,azd;dwd=!0;hjd=wnd.dg;ijd=wnd.eg;wnd.nwb(qad,rad);var gmc=sad.bzd();for(var zfd in gmc){azd=gmc[zfd];if(azd.czd){if(wnd.iud(azd,!0)){dwd=!1;break}}}wnd.nwb(hjd,ijd);return dwd}function mxd(wnd,qad,rad){var hjd,ijd,dwd,azd;dwd=!0;hjd=wnd.dg;ijd=wnd.eg;wnd.nwb(qad,rad);var gmc=sad.bzd();for(var zfd in gmc){azd=gmc[zfd];if(wnd.iud(azd,!0)){dwd=!1;break}}wnd.nwb(hjd,ijd);return dwd}function dzd(wnd,qad,
rad,vdd){var hjd,ijd,dwd,azd;dwd=!1;hjd=wnd.dg;ijd=wnd.eg;wnd.nwb(qad,rad);var gmc=zl(vdd);for(var zfd in gmc){azd=gmc[zfd];if(wnd.iud(azd,!0)){dwd=!0;break}}wnd.nwb(hjd,ijd);return dwd}function ezd(wnd,qad,rad,xxd){wnd.fzd(qad-wnd.dg);wnd.gzd(rad-wnd.eg);wnd.hzd(xxd)}function izd(wnd,qad,rad,jzd){if(jzd){return mxd(wnd,qad,rad)}else {return nxd(wnd,qad,rad)}}function kzd(ufd,qad,rad,jzd){if(jzd)return mxd(ufd,qad,rad);else return nxd(ufd,qad,rad)}function yfd(lzd){if(!cnd.cbd(lzd))return !1;return !0}var mzd=nzd;
var ozd=pzd;var qzd=rzd;var szd=tzd;var uzd=vzd;var wzd=xzd;var yzd=zzd;var aae=bae;var cae=dae;var eae=fae;var gae=hae;var iae=jae;var kae=lae;var mae=nae;var oae=pae;var qae=rae;var sae=tae;var uae=vae;var wae=xae;var yae=zae;var abe=bbe;var cbe=dbe;var ebe=fbe;var gbe=hbe;var ibe=jbe;var kbe=lbe;var mbe=lbe;var nbe=obe;var pbe=qbe;var rbe=sbe;var tbe=ube;var vbe=wbe;var xbe=ybe;var zbe=ace;var bce=cce;var dce=ece;var fce=gce;var hce=ice;var jce=kce;var lce=mce;var nce=oce;var pce=qce;var rce=sce;var tce=uce;var vce=wce;var xce=yce;var zce=ade;
var bde=cde;function dde(ufd){ufd.ede(-1,0,1,0,!1,0)}var fde=gde;function gde(xcd,hde,ide,jde){var kde=lde.jf[xcd];if(!kde)return;pic.globalAlpha=mqd;pic.strokeStyle=nqd;var hjd,ijd,okd;var mde=0;var nde=kde.mwb(0);if(!jde){hde=hde-nde.dg;ide=ide-nde.eg}else {hde=0;ide=0}mde=xfd(kde.length/4.0);if(mde==0)return;var sf=!0;pic.srd();for(var bg=0;bg<=mde;bg++){nde=kde.mwb(bg/mde);if(sf){pic.trd(hde+nde.dg,ide+nde.eg);sf=!1}else {pic.urd(hde+nde.dg,ide+nde.eg)}}pic.wrd();pic.vrd()}var ode=new pde();var qde=new pde();
var rde=new pde();function sde(){var tde=ode.oub(new ude(tde));return tde}function vde(wde){var ivb=ode.cbd(wde);ivb.xde()}function yde(wde,zde){var ivb=ode.cbd(wde);ivb.cec(zde)}function aee(wde,bee){var ivb=ode.cbd(wde);ivb.kec(bee)}function cee(wde,dee){var ivb=ode.cbd(wde);ivb.gec(dee)}function eee(wde,fee){var ivb=ode.cbd(wde);ivb.gee(fee)}function hee(wde,iee){var ivb=ode.cbd(wde);ivb.wdc((iee>0.5)?!0:!1)}function jee(wde,kee){var ivb=ode.cbd(wde);ivb.izb(kee)}function lee(wde,kee){var ivb=ode.cbd(wde);ivb.kzb(kee)}
function mee(wde,nee){var ivb=ode.cbd(wde);ivb.txb(nee)}function oee(wde,pee){var ivb=ode.cbd(wde);ivb.qee(pee*sad.ree.see)}function tee(wde){var ivb=ode.cbd(wde);ivb.uee()}function vee(wde,wee,xee){var ivb=ode.cbd(wde);var scale=sad.ree.see;ivb.yee(wee*scale,xee*scale)}function zee(ufd,wde,xcd){var ivb=ode.cbd(wde);var vdd=Math.floor(xcd);if(vdd==afe){vdd=ufd.id}if(vdd==lxd){var gmc=bfe.bzd();for(var zfd=0;zfd<gmc.length;zfd++){var bud=gmc[zfd];if(bud.cfe)continue;sad.ree.eyb(ivb,bud)}}else if(vdd<100000){var ned=cnd.cbd(vdd);
if(ned===null){return dfe}var gmc=ned.efe();for(var zfd=0;zfd<gmc.length;zfd++){var bud=gmc[zfd];if(bud.cfe)continue;sad.ree.eyb(ivb,bud)}}else {var bud=bfe.cbd(vdd);sad.ree.eyb(ivb,bud)}}function im(ffe){var gfe=hfe.cbd(ffe);if((gfe==null)||(gfe==undefined)){thd("Error: Room "+ffe+" is not a valid room index")}else {ife=ffe}}var jfe=[];var kfe=200000;var lfe=kfe;var mfe=[];var nfe=0;var audio_sampledata=[];var ofe=!1;var pfe=0;var qfe=[];var rfe=[];var sfe=0;var tfe=null;var ufe=null;var vfe=128;var wfe={xfe:0,yfe:1,zfe:2,
age:3,bge:4,cge:5,dge:6};var ege=0;var fge=1.0;var gge=0;function hge(){if(ige!=jge)return;pfe++;if(ege>0){fge+=gge;--ege;if(kge!=null)kge.gain.value=fge}}function lge(){if(ige!=jge)return;mge=g_WebAudioContext.createGainNode();mge.connect(g_WebAudioContext.destination);kge=g_WebAudioContext.createGainNode();kge.connect(mge);nge(wfe.yfe);document.addEventListener("webkitvisibilitychange",oge,!1);pge(0,0,0);qge(0,0,1.0,0,1.0,0.0)}function oge(){if(ige==jge){if(document.webkitHidden==!0){if(!ofe){ofe=!0;
rge(!0)}}else if(document.webkitHidden==!1){if(ofe){sge(!0);ofe=!1}}}}var tge;function nge(uge){var vge=g_WebAudioContext.createPanner();tge=vge.INVERSE_DISTANCE;switch(uge){case wfe.xfe:debug("Audio_falloff_none not supported in html5\n");break;case wfe.yfe:tge=vge.INVERSE_DISTANCE;break;case wfe.zfe:debug("Audio_falloff_inverse_distance_clamped not supported in html5\n");break;case wfe.age:tge=vge.LINEAR_DISTANCE;break;case wfe.bge:debug("Audio_falloff_linear_distance_clamped not supported in html5\n");
break;case wfe.cge:tge=vge.EXPONENTIAL_DISTANCE;break;case wfe.dge: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 rge(wge){for(bg=0;bg<lfe-kfe;bg++){if(jfe[bg]!=undefined){if(!jfe[bg].paused){if(jfe[bg].xge.playbackState==jfe[bg].xge.PLAYING_STATE){yge(bg+kfe);jfe[bg].zge=!0}}}}if(wge){if(tfe!=null){tfe.pause()}}}function sge(wge){for(bg=0;bg<lfe-kfe;bg++){if(jfe[bg]!=undefined){if(jfe[bg].zge){
ahe(bg+kfe);jfe[bg].zge=!1}}}if(wge){if(tfe!=null){tfe.play()}}}function pge(bhe,che,dhe){if(ige==jge){g_WebAudioContext.listener.setPosition(bhe,che,dhe)}}function qge(bhe,che,dhe,ehe,fhe,ghe){if(ige==jge)g_WebAudioContext.listener.setOrientation(bhe,che,dhe,ehe,fhe,ghe)}function hhe(ihe){if(ige==jge){if(ihe>=kfe){var bhe=ihe-kfe;if(jfe[bhe]!=undefined){jfe[bhe].xge.noteOff(0);jfe[bhe].xge.disconnect();if(jfe[bhe].jhe!=undefined)jfe[bhe].jhe.disconnect();if(jfe[bhe].khe!=undefined)jfe[bhe].khe.disconnect();
jfe[bhe]=undefined;debug("Stopping sound on channel "+bhe)}}else {for(bg=0;bg<lfe-kfe;bg++){if(jfe[bg]!=undefined){if(jfe[bg].lhe==ihe)hhe(bg+kfe)}}}}}function yge(ihe){if(ige==jge){if(ihe>=kfe){var bhe=ihe-kfe;if(jfe[bhe]!=undefined){if(!jfe[bhe].paused){jfe[bhe].xge.noteOff(0);jfe[bhe].paused=!0;jfe[bhe].playbackpoint+=g_WebAudioContext.currentTime-jfe[bhe].mhe}}}else {for(bg=0;bg<lfe-kfe;bg++){if(jfe[bg]!=undefined){if(jfe[bg].lhe==ihe){if(!jfe[bg].paused){if(jfe[bg].xge.playbackState==jfe[bg].xge.PLAYING_STATE){
yge(bg+kfe);jfe[bg].zge=!0}}}}}}}}function ahe(ihe){if(ige!=jge)return;if(ihe>=kfe){var bhe=ihe-kfe;if(jfe[bhe]!=undefined){if(jfe[bhe].paused){jfe[bhe].xge=g_WebAudioContext.createBufferSource();jfe[bhe].mhe=g_WebAudioContext.currentTime;jfe[bhe].jhe=g_WebAudioContext.createGainNode();jfe[bhe].xge.connect(jfe[bhe].jhe);if(jfe[bhe].khe!=null)jfe[bhe].jhe.connect(jfe[bhe].khe);else jfe[bhe].jhe.connect(mge);jfe[bhe].xge.buffer=audio_sampledata[jfe[bhe].lhe];if(jfe[bhe].nhe>0){jfe[bhe].xge.loop=!0;jfe[bhe].xge.noteGrainOn(0,
0,jfe[bhe].xge.buffer.duration)}else {var ohe=Math.floor(jfe[bhe].playbackpoint/jfe[bhe].xge.buffer.duration);var phe=jfe[bhe].playbackpoint-ohe*jfe[bhe].xge.buffer.duration;jfe[bhe].xge.noteGrainOn(0,phe,jfe[bhe].xge.buffer.duration-phe)}jfe[bhe].paused=!1}}}else {for(bg=0;bg<lfe-kfe;bg++){if(jfe[bg]!=undefined){if(jfe[bg].lhe==ihe){ahe(bg+kfe)}}}}}function qhe(e){if(ige!=jge)return;var targetid=e.target.targetid;debug("error loading sound"+targetid);if(targetid==undefined){}else {debug("AudioError: "+this.URL);
this.completed=!1;rhe++;ClearEventListeners(this)}}function she(e){if(ige!=jge)return;var targetid=e.target.targetid;if(the)debug("sound loaded"+targetid);if(targetid==undefined){}else {this.completed=!0;ClearEventListeners(this);try{g_WebAudioContext.decodeAudioData(e.target.response,function(buffer){audio_sampledata[targetid]=buffer;rhe++},function(err){debug("error decoding audio data:"+err);rhe++})}catch(uhe){debug("error decoding audio data: "+uhe.message);rhe++}}}function vhe(whe,xcd,xhe){whe=yhe(whe);
if(ige!=jge)return -1;var zhe;var ai;ai=whe.indexOf(xhe);if(ai>=0){whe=whe.substr(0,ai)}if(aie){xhe="ogg"}else if(bie){xhe="mp3"}else {xhe="ogg"}whe=whe+"."+xhe;var cie=new Audio();cie.src=whe;cie.controls=!1;cie.autoplay=!1;cie.loop=!0;cie.preload="auto";document.body.appendChild(cie);qfe[xcd]=cie;return xcd}function die(whe,xcd,xhe){whe=yhe(whe);if(ige!=jge)return -1;if(eie==!1){return -1}var zhe;var ai;ai=whe.indexOf(xhe);if(ai>=0){whe=whe.substr(0,ai)}if(aie){xhe="ogg"}else if(bie){xhe="mp3"}else {xhe="ogg"}
whe=whe+"."+xhe;var fie=new XMLHttpRequest();fie.open('GET',whe,!0);fie.responseType='arraybuffer';fie.targetid=xcd;fie.URL=whe;fie.completed=!1;fie.onload=she;fie.onerror=qhe;fie.send();gie[xcd]=fie;return xcd}function kn(hie){if(ige!=iie)return;jie.kie(hie)}function mn(hie){if(ige!=iie)return;jie.lie(hie)}function ln(hie){if(ige!=iie)return !1;return jie.mie(hie)}var nie=0,oie=1,pie=2,qie=3;function rie(hie){if(bvd.cbd(hie)==null)return !1;return !0}function nn(hie){var sie=bvd.cbd(hie);if(sie==null)return 0;
return sie.width}function on(hie){var sie=bvd.cbd(hie);if(sie==null)return 0;return sie.height}var tie=uie;function uie(lzd,qad,rad,pcd,qcd,vie,wie){var xie=document.createElement(bid);var yie=xie.getContext('2d');zie(yie);aje=bvd.cbd(lzd);aje.bje++;xie.width=aje.width;xie.height=aje.height;yie.cje(canvas,qad,rad,pcd,qcd,0,0,xie.width,xie.height);xie.complete=!0;aje.bje++;var dje=new eje();aje.fje[aje.fje.length]=dje;dje.dg=0;dje.eg=0;dje.fg=aje.width;dje.gg=aje.height;dje.li=0;dje.mi=0;dje.ni=dje.fg;dje.oi=dje.gg;
dje.pi=dje.fg;dje.qi=dje.gg;dje.ri=gje(xie);dje.hje=ije[dje.ri];return lzd}var jje=kje;function kje(xcd,qad,rad,pcd,qcd,vie,wie,lje,mje){var xie=document.createElement(bid);var yie=xie.getContext('2d');zie(yie);xie.width=bbd.cbd(xcd).width;xie.height=bbd.cbd(xcd).height;yie.cje(bbd.cbd(xcd),0,0);xie.complete=!0;var aje=new nje();var oje=bvd.pje(aje);aje.re="surface.copy";aje.width=xie.width;aje.height=xie.height;aje.rud=new jjd();aje.rud.sud=aje.width;aje.rud.bottom=aje.height;aje.hf=!0;aje.ye=!0;aje.preload=!0;
aje.qje=0;aje.rje=!1;aje.cf=lje;aje.df=mje;aje.igb=!0;aje.bje=1;aje.sje=!1;aje.tje=!1;aje.uje=[];aje.fje=[];aje.vje=[];aje.wje();var dje=new eje();aje.fje[0]=dje;dje.dg=0;dje.eg=0;dje.fg=aje.width;dje.gg=aje.height;dje.li=0;dje.mi=0;dje.ni=dje.fg;dje.oi=dje.gg;dje.pi=dje.fg;dje.qi=dje.gg;dje.ri=gje(xie);dje.hje=ije[dje.ri];xje(dje);return oje}var yje=zje;function zje(lzd,xcd,qad,rad,pcd,qcd,vie,wie){var xie=document.createElement(bid);var yie=xie.getContext('2d');zie(yie);aje=bvd.cbd(lzd);aje.bje++;xie.width=aje.width;
xie.height=aje.height;yie.cje(bbd.cbd(xcd),0,0,pcd,qcd,0,0,xie.width,xie.height);xie.complete=!0;var dje=new eje();aje.fje[aje.fje.length]=dje;dje.dg=0;dje.eg=0;dje.fg=aje.width;dje.gg=aje.height;dje.li=0;dje.mi=0;dje.ni=dje.fg;dje.oi=dje.gg;dje.pi=dje.fg;dje.qi=dje.gg;dje.ri=gje(xie);dje.hje=ije[dje.ri];return lzd}var ake=bke;function bke(lzd){var sie=bvd.cbd(lzd);if(sie==null)return 0;var aje=new nje();var oje=bvd.pje(aje);aje.re=sie.re+".copy";aje.width=sie.width;aje.height=sie.height;aje.rud.cbb(sie.rud);
aje.hf=sie.hf;aje.ye=sie.ye;aje.preload=sie.preload;aje.qje=sie.qje;aje.rje=sie.rje;aje.cf=sie.cf;aje.df=sie.df;aje.igb=!0;aje.bje=sie.bje;aje.cke=sie.cke;aje.sje=sie.sje;aje.tje=sie.tje;aje.uje=[];aje.fje=[];aje.vje=[];for(var bg=0;bg<sie.bje;bg++){var dje=new eje();aje.fje[bg]=dje;dje.igb(sie.fje[bg]);var dke=eke(sie.fje[bg]);dje.ri=gje(dke);dje.dg=0;dje.eg=0;dje.hje=ije[dje.ri]}return oje}function fke(gke,hke,ike,jke,kke,lke){var fg=hke.pi;var gg=hke.qi;var mke=[];var nke=gg*fg;for(jqb=0;jqb<nke;jqb++)mke[jqb]=!1;
if(kke==nie){var oke=pke(hke);var ai=0;for(var bg=0;bg<oke.length;bg+=4){if(oke[bg+3]>lke){mke[ai]=!0}else {mke[ai]=!1}ai++}}else {switch(kke){case oie:{for(var eg=jke.top;eg<=jke.bottom;eg++){for(var dg=jke.left;dg<=jke.sud;dg++){mke[dg+(eg*fg)]=!0}}break}case pie:{var qke=(jke.left+jke.sud)/2;var cqc=qke-jke.left+0.5;var rke=(jke.top+jke.bottom)/2;var dqc=rke-jke.top+0.5;for(var eg=jke.top;eg<=jke.bottom;eg++){for(var dg=jke.left;dg<=jke.sud;dg++){if((cqc>0)&&(dqc>0)){mke[dg+(eg*fg)]=rwd((dg-qke)/cqc)+rwd((eg-rke)/dqc)<1}
}}break}case qie:{var qke=(jke.left+jke.sud)/2;var cqc=qke-jke.left+0.5;var rke=(jke.top+jke.bottom)/2;var dqc=rke-jke.top+0.5;for(var eg=jke.top;eg<=jke.bottom;eg++){for(var dg=jke.left;dg<=jke.sud;dg++){if((cqc>0)&&(dqc>0)){mke[dg+(eg*fg)]=Math.abs((dg-qke)/cqc)+Math.abs((eg-rke)/dqc)<1}}}break}}}if(gke!=null){for(var bg=0;bg<mke.length;bg++){if(gke[bg])mke[bg]=!0}}return mke}function pjd(ycd){return String.fromCharCode(ycd)}function ske(tke){if(!tke||tke=="")return 0;return tke.charCodeAt(0)}function iod(vdd){
if(vdd==undefined){return "undefined"}if(typeof(vdd)=="number"){if((~~vdd)!=vdd){return vdd.toFixed(2).toString()}else {return vdd.toString()}}else if(typeof(vdd)=="boolean"){if(vdd)return "1";else return "0"}else {return vdd.toString()}}var uke=[];function vke(wke){debug("myBrandConnectReadyEvent");uke=wke}function xke(){rid()}function yke(){zke=!0;debug("myBrandConnectDoneEvent")}function ale(){var ble=document.getElementById("ssaBrandConnectInterstitial");var cle=document.getElementById("gm4html5_div_id");cle.appendChild(ble);
fid()}var dle=!1;var zke=!1;var ssa_json={'applicationUserId':'1234','applicationKey':'2b46ec59','onCampaignsReady':vke,'onCampaignsDone':yke,'onCampaignClose':xke,'onCampaignOpen':ale,'maxWidth':1000,'maxHeight':700,};var ele=(function(kcb,iib){var g=kcb.createElement(iib),cu=kcb.getElementsByTagName(iib)[0];g.dkd=!0;g.src=('https:'!=location.protocol?'http://jsd.supersonicads.com':'https://a248.e.akamai.net/ssastatic.s3.amazonaws.com')+'/inlineDelivery/delivery.min.gz.js';cu.parentNode.insertBefore(g,
cu)});var fle=ads_engagement_launch;function ads_engagement_launch(gle,hle){if(SSA_CORE!=undefined)SSA_CORE.BrandConnect.engage()}ile=jle;function jle(pcd,qcd){var kle=document.createElement(bid);kle.scd=kle.width=pcd;kle.tcd=kle.height=qcd;kle.complete=!0;kle.lle=!1;kle.name="";kle.pic=kle.getContext('2d');zie(kle.pic);var dje=new eje();kle.mle=dje;dje.dg=0;dje.eg=0;dje.fg=pcd;dje.gg=qcd;dje.li=0;dje.mi=0;dje.ni=dje.fg;dje.oi=dje.gg;dje.pi=dje.fg;dje.qi=dje.gg;dje.ri=bbd.oub(kle);dje.hje=kle;dje.jbb=[];
dje.teb=0;dje.nle=4;dje.ole=0;dje.ple=null;dje.xie=kle;return dje.ri}var qle=rle;function rle(xcd){bbd.bed(xcd)}function sle(xcd){var kle=bbd.cbd(xcd);if(kle!=null){pic=kle.pic;tle=!1}}var ule,vle,wle,xle;var yle=zle;function zle(xcd){var kle=bbd.cbd(xcd);if(kle!=null){ame.left=bme.left;ame.top=bme.top;ame.sud=bme.sud;ame.bottom=bme.bottom;bme.left=0;bme.top=0;bme.sud=kle.scd;bme.bottom=kle.tcd;cme.cbb(dme);dme.eme=0;dme.fme=0;dme.gme=kle.scd;dme.hme=kle.tcd;dme.ime=0;dme.jme=0;dme.kme=kle.scd;dme.lme=kle.tcd;
dme.dbd=0;dme.fbd=0;dme.mme=kle.scd;dme.nme=kle.tcd;dme.ebd=dme.dbd+dme.mme;dme.gbd=dme.fbd+dme.nme;pic.ypd();ule=dqd;vle=eqd;wle=fqd;xle=gqd;ome(0,0,kle.scd,kle.tcd);pme(0,0,kle.scd,kle.tcd);g_CurrentGraphics=kle.pic;pic=kle.pic;pic.ypd();tle=!0;}}var qme=rme;function rme(){if(tle){bme=ame;dme.cbb(cme);ome(ule,vle,wle,xle);pme(dme.eme,dme.fme,dme.gme,dme.hme);pic.hqd()}pic=sme;g_CurrentGraphics=sme;pic.hqd()}function esd(tme,qad,rad){var data=null;var ume=tme.getContext('2d');try{data=ume.vme(qad,rad,
1,1)}catch(uhe){return 0xff000000}wme=data.data;var ai=0;var ytc=wme[ai]&0xff;var ztc=wme[ai+1]&0xff;var xme=wme[ai+2]&0xff;var yme=wme[ai+3]&0xff;return(ytc|(ztc<<8)|(xme<<16)|(yme<<24))}var zme=ane;function ane(xcd,qad,rad){var kle=bbd.cbd(xcd);if(kle!=null){return esd(kle,xfd(qad),xfd(rad))&0xffffff}return 0x00000000}var bne=cne;function cne(xcd,qad,rad){var kle=bbd.cbd(xcd);if(!kle)return;qad=~~qad;rad=~~rad;pic.cje(kle,qad,rad)}var dne=ene;function ene(xcd,qad,rad,jmd,kmd,bad,xpd){whd("draw_surface_tiled_ext()")}
function fne(gne,qad,rad,ged){var hed=bbd.cbd(gne);var ied=bbd.cbd(ged);if(hed!=null&&ied!=null){var ume=hed.getContext('2d');ume.save();ume.globalCompositeOperation='copy';ume.drawImage(ied,qad,rad);ume.restore()}}function hne(gne,qad,rad,ged,ine,jne,kne,lne){var hed=bbd.cbd(gne);var ied=bbd.cbd(ged);if(hed!=null&&ied!=null){var zpd=[];var ume=hed.getContext('2d');ume.save();zpd[0]=1;zpd[1]=0;zpd[2]=0;zpd[3]=1;zpd[4]=0;zpd[5]=0;ume.setTransform(zpd[0],zpd[1],zpd[2],zpd[3],zpd[4],zpd[5]);ume.beginPath();
ume.rect(qad,rad,kne,lne);ume.clip();ume.globalCompositeOperation='copy';ume.drawImage(ied,ine,jne,kne,lne,qad,rad,kne,lne);ume.restore()}}function tl(wnd,mne,nne,qad,rad){if(nne<0)nne=~~wnd.one;var sie=bvd.cbd(mne);if(sie!=null){sie.pne(nne,qad,rad,mqd)}}function sl(wnd,mne,nne,qad,rad,pcd,qcd){if(nne<0)nne=~~wnd.one;var sie=bvd.cbd(mne);if(sie!=null){if(sie.bje<=0)return;nne=(~~nne)%sie.bje;if(nne<0)nne=nne+sie.bje;qne(sie.fje[nne],qad,rad,pcd,qcd,0xffffff,mqd)}}function ol(wnd,mne,nne,gyd,hyd,rne,
sne,qad,rad){if(nne<0)nne=~~wnd.nne;var sie=bvd.cbd(mne);if(sie!=null){if(sie.bje<=0)return;nne=(~~nne)%sie.bje;if(nne<0)nne=nne+sie.bje;tne(sie.fje[nne],gyd,hyd,rne,sne,qad,rad,1,1,0xffffff,mqd)}}function une(vne){if(vne){canvas.style.cursor=""}else {canvas.style.cursor="none"}}function wne(qad,rad){var xne=document.getElementById(bid);xne.style.position="absolute";xne.style.left=qad+"px";xne.style.top=rad+"px"}function yne(pcd,qcd){canvas.width=pcd;canvas.height=qcd;bsd=pcd;dsd=qcd;zne=canvas.width;
aoe=canvas.height;zad(canvas,abd);boe=abd.top;coe=abd.left;doe=abd.sud;eoe=abd.bottom;foe=zne;goe=aoe;hoe=pcd;ioe=joe=1;koe=1}function loe(qad,rad,pcd,qcd){yne(pcd,qcd);wne(qad,rad)}function moe(){return doe-coe}function noe(){return eoe-boe}var ooe;var poe;var qoe;var roe;var soe;var toe;var uoe;var voe;var woe;var xoe;var yoe;var zoe;var ape=0;var bpe=aa_1241_kz();function aa_1241_kz(){return 0x87155211}function cpe(bbb){}function dpe(){return -1}function epe(){}function fpe(){}function gpe(){}function hpe(){}function ipe(){
}function jpe(){}function kpe(){}function lpe(){}function mpe(){}function npe(){}function ope(){}function ppe(){}function qpe(){var rpe=null;if(window.XMLHttpRequest){rpe=new XMLHttpRequest()}if(typeof(XMLHttpRequest)=="undefined"){rpe=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 yhc("This browser does not support XMLHttpRequest.")}}this.spe=rpe;this.tpe=!1}var upe=new qpe();
var vpe=wpe;function wpe(vne){}var xpe=ype;function ype(){return !1}var zpe=aqe;function aqe(){}var bqe=cqe;function cqe(){}var dqe=eqe;function eqe(){return fqe}function gqe(){return hqe}function iqe(){return jqe}function kqe(){return lqe}function mqe(){return nqe}var oqe=pqe;function pqe(whe,qqe,rqe){if(qqe!="_self"&&qqe!="_blank"&&qqe!="_parent"&&qqe!="_top"){yhc("Error: invalid TARGET specified. Only '_self', '_blank', 'parent' or '_top' supported. (YoYo_OpenURL)");return }var sqe=window.open(whe,qqe,rqe)}var tqe=uqe;
function uqe(whe,qqe){oqe(whe,qqe,"scrollbars=yes,menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes")}var vqe=wqe;function wqe(whe){tqe(whe,"_self")}var xqe=yqe;function yqe(zqe,are){}var bre=cre;function cre(zqe,dre){}var ere=fre;function fre(dg,eg,fg,gg,gre){}var hre=ire;function ire(){}var jre=kre;function kre(uhd,lre,mre,nre){}var ore=pre;function pre(){var iib=new Date().getTime()*1000;return iib-ooe}var qre=rre;function rre(qad,rad,pcd,qcd,sre){var tre=ure();tre.dg=qad;tre.eg=rad;tre.fg=pcd;tre.gg=qcd;
tre.key=sre;tre.pkb=qad+pcd;tre.ftd=rad+qcd;tre.button=tre.ftb=tre.qo=0;tre.kcc=vre;return(tre.ai+1)}var wre=xre;function xre(xcd){if(xcd<0)return;var ai=xcd-1;if((ai<0)||(ai>=yre.length)){debug("Invalid index when deleting virtual key")}zre(xcd-1)}function ase(){bse=[];for(var ylb=0;ylb<yre.length;++ylb){var cse=yre[ylb];if((cse.kcc&dse)!=0)bse[bse.length]=cse}}var ese=fse;function fse(xcd){if(xcd<0)return;xcd--;if(!yre[xcd])return;yre[xcd].kcc|=dse;ase()}var hse=ise;function ise(xcd){if(xcd<0)return;xcd--;
if(!yre[xcd])return;yre[xcd].kcc&=~dse;ase()}var jse=kse;function kse(){return 0}var lse=mse;function mse(){return 0}var nse=ose;function ose(){return 0}var pse=qse;function qse(){yhd("device_ios_get_imagename()")}var rse=sse;function sse(){yhd("device_ios_get_image()")}var tse=use;function use(){yhd("openfeint_start()")}var vse=wse;function wse(awd,zqb){yhd("achievement_map_achievement()")}var xse=yse;function yse(awd,zqb,zse){yhd("achievement_map_leaderboard()")}var ate=bte;function bte(awd,zqb,zse){yhd("openfeint_send_challenge()")}
var cte=dte;function dte(awd){yhd("openfeint_send_invite()")}var ete=fte;function fte(awd,zqb,zse){yhd("openfeint_send_social()")}var gte=hte;function hte(awd){yhd("openfeint_set_url()")}var ite=jte;function jte(){yhd("openfeint_accept_challenge()");return "";}var kte=lte;function lte(){yhd("achievement_is_online()");return !1}var mte=nte;function nte(awd,zqb){yhd("openfeint_send_result()")}var ote=pte;function pte(){return !1}function qte(){ooe=new Date().getTime()*1000;var iib=0;for(var bg=0;bg<12;bg++){mgd[bg]=iib;
iib+=lgd[bg]}poe=0;qoe=1;roe=2;soe=3;toe=4;uoe=5;voe=0;woe=1;xoe=2;yoe=0;zoe=1}function rte(){var iib=setTimeout(function(){for(var ste in bvd.xe){bvd.tte(ste);break}rte()},1000)}var ute=vte;function vte(){return document.domain}function wte(xte,yte){for(var zte in xte){var aue=xte[zte];if(aue instanceof Array){var bue=gdd();ndd(yte,bue);wte(aue,bue)}else if(typeof(aue)=="object"){var cue=xdd();ndd(yte,cue);gld(aue,cue)}else if(typeof(aue)=="string"){ndd(yte,aue)}}}function gld(due,bld){for(var cld in due){if(due.hasOwnProperty(cld)){
var aue=due[cld];if(aue instanceof Array){var eue=gdd();led(bld,cld,eue);wte(aue,eue)}else if(typeof(aue)=="object"){var fue=xdd();led(bld,cld,fue);gld(aue,fue)}else if(typeof(aue)=="string"){led(bld,cld,aue)}}}}var gue=hue;function hue(){}var iue=jue;var vjd='UNINITIALISED';function jue(){return vjd}var kue=ukd;var lue=xkd;var mue=hld;var nue=oue;function oue(){if(typeof(yjd.ti.GenerateSpotifyApp)!="undefined"){if(typeof(g_fbOAuthToken)!="undefined"){if(g_fbOAuthToken!=null){var jkd='https://www.facebook.com/logout.php?access_token='+g_fbOAuthToken+'&app_id='+yjd.ti.skd+'&next=http://open.spotify.com/app/wordsong';
var kkd=new XMLHttpRequest();kkd.open('GET',jkd);kkd.send(null);g_fbOAuthToken=null;vjd='UNINITIALISED'}}}return 0}var pue=que;function que(rue,sue){if(rue==0){return xl(sue)}else {if(obd[rue]&&(sue<=1)){return obd[rue].lad}}return 0}var tue=uue;function uue(rue,sue){if(rue==0){return nk(sue)}else {if(obd[rue]&&(sue<=1)){return obd[rue].mad}}return 0}var vue=wue;function wue(rue,sue){if(rue==0){return qvd(sue)}else {if(obd[rue]&&(sue<=1)){return obd[rue].nad}}return 0}var xue=yue;function yue(rue){if(rue==0){return kk.lk}
else if(obd[rue]){return obd[rue].dg}return 0}var zue=ave;function ave(rue){if(rue==0&&bve[0]){return bve[0].dg;}else if(obd[rue]){return obd[rue].dg}return 0}var cve=dve;function dve(rue){if(rue==0){return kk.mk}else if(obd[rue]){return obd[rue].eg}return 0}var eve=fve;function fve(rue){if(rue==0&&bve[0]){return bve[0].eg}else if(obd[rue]){return obd[rue].eg}return 0}var gve=hve;function hve(){return 0}var ive=-1;var jve=-1;var kve=-1;var lve="Not Enabled";var mve=[];function nve(){cpe=ove;dpe=pve;epe=qve;fpe=rve;ipe=sve;jpe=tve;
gpe=uve;hpe=vve;lpe=wve;kpe=xve;mpe=yve;npe=zve;ope=awe;ppe=bwe}function cwe(dwe){lve=dwe;ewe(-1)}function fwe(gwe,hwe){var product=mve[gwe];product["status"]=hwe;ewe(gwe)}function iwe(jwe){for(var kwe=0;kwe<mve.length;kwe++){var lwe=mve[kwe];if(lwe["id"].toLowerCase()==jwe.toLowerCase()){return kwe}}return -1}function mwe(jwe){return hod(jwe+"_downloaded")}function nwe(jwe){return hod(jwe+"_files")}function owe(gwe){var product=mve[gwe];window["provideContent"](product["content_url"],product["local_path"],function(pwe){
fwe(gwe,"Purchased");window["setLocalSetting"](mwe(product["id"]),!0);window["setLocalSetting"](nwe(product["id"]),JSON.stringify(pwe))},function(err){alert("Content download for "+product["content_url"]+" failed: "+err);fwe(gwe,"Failed")},function(){})}function ove(bbb){if(typeof(bbb)=="string"){alert("ERROR: iap_activate() does not support activation without a local ds_map");return }cwe("Loading");for(var kwe=0;kwe<mdd(bbb);kwe++){mve[mve.length]=amd(qdd(bbb,kwe));if(uve(kwe)){if(vve(kwe)){fwe(kwe,
"Purchased")}else {fwe(kwe,"Downloading");owe(kwe)}}else {fwe(kwe,"Available");window["setLocalSetting"](mwe(mve[kwe]["id"]),!1);window["setLocalSetting"](nwe(mve[kwe]["id"]),null)}}cwe("Available")}function pve(){if(ive<0){ive=xdd();led(ive,"status",wve());var qwe=gdd();led(ive,"purchases",qwe)}else {jed(ive,"status",wve());var qwe=med(ive,"purchases");for(var kwe=0;kwe<mve.length;kwe++){if(mdd(qwe)<=kwe){ndd(qwe,wld(mve[kwe]))}else {var rwe=qdd(qwe,kwe);aed(rwe);odd(qwe,kwe,wld(mve[kwe]))}}}return ive}function wve(){
return lve}function qve(xcd){var swe=xcd;if(typeof(xcd)=="string"){swe=iwe(xcd)}swe=~~swe;cwe("Processing Order");var product=mve[swe];window["purchaseContent"](product["id"],function(){cwe("Available");if(product["content_url"]!=undefined){fwe(swe,"Downloading");owe(swe)}else {window["setLocalSetting"](mwe(product["id"]),!0);fwe(swe,"Purchased")}},function(err){cwe("Available");fwe(swe,"Error")})}function rve(xcd){var swe=xcd;if(typeof(xcd)=="string"){swe=iwe(xcd)}swe=~~swe;window["setLocalSetting"](mwe(mve[swe]["id"]),
!1);window["setLocalSetting"](nwe(mve[kwe]["id"]),null);fwe(swe,"Available")}function sve(){if(jve<0){jve=xdd()}for(var kwe=0;kwe<mve.length;kwe++){var lwe=mve[kwe];var twe=window["getLocalSetting"](nwe(lwe["id"]));if(twe!=null){var uwe=med(jve,lwe["id"]);if(uwe==0){uwe=gdd();led(jve,lwe["id"],uwe);}var vwe=JSON.parse(twe);kdd(uwe);for(var gib in vwe){ndd(uwe,vwe[gib])}}}return jve}function tve(){for(var kwe=0;kwe<mve.length;kwe++){if(uve(kwe)){owe(kwe)}}}function uve(xcd){var swe=xcd;if(typeof(xcd)=="string"){
swe=iwe(xcd)}swe=~~swe;return window["checkLicense"](mve[swe]["id"])}function vve(xcd){var swe=xcd;if(typeof(xcd)=="string"){swe=iwe(xcd)}swe=~~swe;var wwe=window["getLocalSetting"](mwe(mve[swe]["id"]));if(wwe!=null){return wwe}return !1}function xve(){return kve}function yve(xcd){var swe=xcd;if(typeof(xcd)=="string"){swe=iwe(xcd)}swe=~~swe;return mve[swe]["status"]}function zve(xcd,dmd){var swe=xcd;if(typeof(xcd)=="string"){swe=iwe(xcd)}swe=~~swe;var xwe=wld(mve[swe]);eed(dmd,xwe);aed(xwe)}function awe(xcd,bmd){
var swe=xcd;if(typeof(xcd)=="string"){swe=iwe(xcd)}swe=~~swe;var lwe=mve[swe];var twe=window["getLocalSetting"](nwe(lwe["id"]));if(twe!=null){var vwe=JSON.parse(twe);for(var gib in vwe){ndd(bmd,vwe[gib])}}}function ewe(xcd){if(kve==-1){kve=dfd();}ifd(kve,xcd)}function bwe(){if(kve!=-1){if(hfd(kve)!=0){bfe.bgd(ywe,0);gfd(kve)}}}function zwe(){axe=!1;if(ohd){var bxe=ohd.document.getElementById('debug_console');if((bxe!=undefined)&&(bxe!=null)){bxe.style.display="none"}}if(window["g_snapMaintainAspectRatio"]){
if(window.outerWidth<bsd){zne=canvas.width=window.outerWidth;aoe=canvas.height=window.outerWidth*(dsd/bsd)}else {zne=canvas.width=bsd;aoe=canvas.height=dsd}}else {zne=canvas.width=Math.min(window.outerWidth,bsd);aoe=canvas.height=Math.min(window.outerHeight,dsd)}cxe=!0}var dxe=[];function exe(lbd){for(var fxe in dxe){if(dxe[fxe]==lbd){return fxe}}return -1}function gxe(hxe){var nbd=-1;var ixe=!0;for(var bg in dxe){if(dxe[bg]!=-1){ixe=!1;break}}for(var bg in dxe){if(bg==0&&ixe==!1){continue}if((dxe[bg]==hxe)||(dxe[bg]==-1)){
nbd=bg;break}}if(nbd==-1){nbd=dxe.length}dxe[nbd]=hxe;obd[nbd]=new kad();return nbd}function jxe(kxe,qad,rad){var nbd=exe(kxe);if(nbd==0){return }if(nbd==-1){nbd=lxe(kxe,qad,rad)}else {if(nbd==0){if(xbd!=null){ybd=qad;zbd=rad}acd=1}obd[nbd].dg=qad;obd[nbd].eg=rad;bcd[nbd].dg=qad;bcd[nbd].eg=rad}}function lxe(kxe,qad,rad){var nbd=gxe(kxe);if(nbd==0){return }if(nbd==0){if(xbd!=null){ybd=qad;zbd=rad}acd=1}obd[nbd].dg=qad;obd[nbd].eg=rad;bcd[nbd].dg=qad;bcd[nbd].eg=rad;obd[nbd].lad=1;bcd[nbd].ccd=dcd|ecd|fcd;
return nbd}function mxe(kxe,qad,rad){var nbd=exe(kxe);dxe[nbd]=-1;if(nbd==0){return }if(nbd==0){if(xbd!=null){ybd=qad;zbd=rad}acd=0}obd[nbd].dg=qad;obd[nbd].eg=rad;bcd[nbd].dg=qad;bcd[nbd].eg=rad;obd[nbd].lad=0;bcd[nbd].ccd=0}function nxe(kxe,qad,rad){var nbd=exe(kxe);mxe(kxe,qad,rad)}function gse(oxe,pxe){switch(oxe){case "resize":return zwe;case "loading":if(!yjd.ti.qxe){rxe=pxe;return !0}return !1;case "onloaded":if(!yjd.ti.qxe){sxe=pxe}break;case "console":if(!yjd.ti.qxe){txe=function(){};uxe=function(){}
}break;case "pause":axe=pxe;break;case "mousescale":vxe=function(wxe){var yf=canvas.width/window.outerWidth;var zf=canvas.height/window.outerHeight;ybd=wxe.pageX*yf;zbd=wxe.pageY*zf;bcd[wxe.button].dg=ybd;bcd[wxe.button].eg=zbd};break;case "ontouchmove":jxe(arguments[1],arguments[2],arguments[3]);break;case "ontouchdown":lxe(arguments[1],arguments[2],arguments[3]);break;case "ontouchup":mxe(arguments[1],arguments[2],arguments[3]);break;case "ontouchcancel":nxe(arguments[1],arguments[2],arguments[3]);break;
case "browser":lqe=xxe;break;case "cmd_line":yxe(arguments[1]);break;case "iap":nve();break;case "async":zxe(arguments[1]);break}}function yxe(aye){if(aye==""||aye==null||aye==undefined){return }try{var owd=aye.split('&');for(var bye in owd){var xfb=owd[bye].split('=');cye[cye.length]=xfb[0];dye[dye.length]=xfb[1];eye++}}catch(e){alert(e.fye+". Malformed command line parameters: \""+aye+"\"")}}function zxe(gye){ejd=function(aid){eid="win8AsyncMessageDialog";wid.oub(aid.id,null,xid,eid);gye[0](aid.jid[0],function(){
var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=0;mid.lt="";mid.oid=!0;mid.pid=1},function(){gid=!1;sid(aid.id)})};cjd=function(aid){eid="win8AsyncQuestionDialog";wid.oub(aid.id,null,xid,eid);gye[1](aid.jid[0],function(){var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=0;mid.lt="";mid.oid=!0;mid.pid=1},function(){var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=0;mid.lt="";mid.oid=!0;mid.pid=0},function(){gid=!1;sid(aid.id)})};yid=function(aid){eid="win8AsyncInputDialog";
wid.oub(aid.id,null,xid,eid);gye[2](aid.jid[0],function(){var mid=nid(eid);if(!mid)return;mid.kid="";mid.lid="";mid.value=0;mid.lt="";mid.oid=!0;mid.pid=0},function(){gid=!1;sid(aid.id)})};zhd=function(aid){eid="win8AsyncLoginDialog";wid.oub(aid.id,null,xid,eid);gye[3](function(kid,lid){var mid=nid(eid);if(!mid)return;mid.kid=kid;mid.lid=lid;mid.pid=1;mid.value=0;mid.lt="";mid.oid=!0;gid=!1;sid(aid.id)})}}function ude(wde){this.mxb=0;this.dxb=0;this.hye=wde;this.iye=!1;this.jye=!0;this.kye=new xn.wo.er();
this.uv=[]};ude.prototype.qee=function(lye){this.kye.jdb=new xn.to.uo.eq();this.kye.jdb.sx=lye};ude.prototype.uee=function(){this.kye.jdb=new xn.to.uo.iq()};ude.prototype.yee=function(qad,rad){var mab=this.uv.length;this.uv[mab]=new xn.vo.Math.sq(qad,rad)};ude.prototype.mye=function(){if(this.uv.length>2){this.kye.jdb.rnb(this.uv,this.uv.length)}};ude.prototype.gee=function(fee){this.kye.bec.yac=fee};ude.prototype.gec=function(dee){this.kye.hec=dee};ude.prototype.kec=function(bee){this.kye.lec=bee};
ude.prototype.cec=function(zde){this.kye.tlb=zde};ude.prototype.wdc=function(nye){this.kye.oec=nye};ude.prototype.izb=function(kee){this.mxb=kee};ude.prototype.kzb=function(kee){this.dxb=kee};ude.prototype.kzb=function(kee){this.dxb=kee};ude.prototype.txb=function(nee){this.jye=nee};ude.prototype.xde=function(){this.iye=!0};var oye=0,pye=1,qye=2,rye=3,sye=4,tye=5,uye=6,vye=7,wye=8,xye=9,yye=10,zye=11,aze=12,bze=13,cze=14,dze=15,eze=16,fze=17,gze=18;function hze(ize){this.jze=ize};hze.prototype.bvc=function(kze){
if((this.jze instanceof xn.wo.zo.ws)||(this.jze instanceof xn.wo.zo.ss)){this.jze.nkc().txb(!0);this.jze.okc().txb(!0);this.jze.bvc(kze)}};function lze(mze,nze){this.oze=mze;this.pze=nze};lze.prototype.xxb=function(qze,rze,sze,tze){this.oze.xxb(new xn.vo.Math.sq(sze,tze),new xn.vo.Math.sq(qze,rze))};lze.prototype.oxb=function(qze,rze,sze,tze){this.oze.oxb(new xn.vo.Math.sq(sze,tze),new xn.vo.Math.sq(qze,rze))};lze.prototype.vxb=function(uze){this.oze.vxb(uze)};lze.prototype.vze=function(wze){this.oze.owb((wze*Math.PI)/180.0);
this.oze.txb(!0)};lze.prototype.xze=function(pdd){var yze=this.oze.mwb().eg;this.oze.nwb(new xn.vo.Math.sq(pdd,yze));this.oze.txb(!0)};lze.prototype.zze=function(pdd){var aaf=this.oze.mwb().dg;this.oze.nwb(new xn.vo.Math.sq(aaf,pdd));this.oze.txb(!0)};lze.prototype.uwb=function(baf){this.oze.uwb((baf*Math.PI)/180.0);this.oze.txb(!0)};lze.prototype.caf=function(daf){var eaf=this.oze.twb();this.oze.rwb(new xn.vo.Math.sq(daf,eaf.eg));this.oze.txb(!0)};lze.prototype.faf=function(daf){var eaf=this.oze.twb();
this.oze.rwb(new xn.vo.Math.sq(eaf.dg,daf));this.oze.txb(!0)};lze.prototype.ozb=function(gaf){this.oze.ozb(gaf)};lze.prototype.tzb=function(haf){this.oze.tzb(haf)};lze.prototype.vzb=function(iaf){this.oze.vzb(iaf)};lze.prototype.jaf=function(kaf){var ivb=this.oze.zzb();while((ivb!=null)&&(ivb!=undefined)){var jdb=ivb.vdc();var laf=this.oze.mwb();if(jdb instanceof xn.to.uo.eq){htd((laf.dg-jdb.sx)*kaf,(laf.eg-jdb.sx)*kaf,(laf.dg+jdb.sx)*kaf,(laf.eg+jdb.sx)*kaf,!0)}else if(jdb instanceof xn.to.uo.iq){var maf=Math.sin(this.oze.isb());
var naf=Math.cos(this.oze.isb());for(var kwe=0;kwe<jdb.sv;++kwe){var oaf=jdb.uv[kwe];var paf=jdb.uv[(kwe+1)%jdb.sv];xrd((laf.dg+((oaf.dg*naf)-(oaf.eg*maf)))*kaf,(laf.eg+((oaf.dg*maf)+(oaf.eg*naf)))*kaf,(laf.dg+((paf.dg*naf)-(paf.eg*maf)))*kaf,(laf.eg+((paf.dg*maf)+(paf.eg*naf)))*kaf)}}ivb=ivb.pvb}};lze.prototype.qaf=function(kaf){var rac=this.oze.bac;while((rac!=null)&&(rac!=undefined)){var sac=rac.sac;if(sac instanceof xn.wo.zo.ws){this.raf(sac,kaf)}else if(sac instanceof xn.wo.zo.ss){this.saf(sac,kaf)}else if(sac instanceof xn.wo.zo.es){
this.taf(sac,kaf)}else if(sac instanceof xn.wo.zo.us){this.uaf(sac,kaf)}else if(sac instanceof xn.wo.zo.is){if(sac.btc!=null){this.raf(sac.btc,kaf)}if(sac.dtc!=null){this.raf(sac.dtc,kaf)}if(sac.ctc!=null){this.saf(sac.ctc,kaf)}if(sac.etc!=null){this.saf(sac.etc,kaf)}}rac=rac.pvb}};lze.prototype.taf=function(vaf,kaf){var waf=vaf.pkc();var xaf=vaf.qkc();xrd(waf.dg*kaf,waf.eg*kaf,xaf.dg*kaf,xaf.eg*kaf)};lze.prototype.raf=function(vaf,kaf){var anchor=vaf.pkc();xrd((anchor.dg*kaf)-2,(anchor.eg*kaf)-2,(anchor.dg*kaf)+2,
(anchor.eg*kaf)+2);xrd((anchor.dg*kaf)-2,(anchor.eg*kaf)+2,(anchor.dg*kaf)+2,(anchor.eg*kaf)-2)};lze.prototype.saf=function(vaf,kaf){var waf=vaf.pkc();var xaf=this.oze.mwb();xrd(waf.dg*kaf,waf.eg*kaf,xaf.dg*kaf,xaf.eg*kaf)};lze.prototype.uaf=function(vaf,kaf){var anchor,yaf;if(vaf.zaf()==this.oze){anchor=vaf.pkc();yaf=vaf.vkc()}else {anchor=vaf.qkc();yaf=vaf.wkc()}xrd(anchor.dg*kaf,anchor.eg*kaf,yaf.dg*kaf,yaf.eg*kaf);xrd(vaf.vkc().dg*kaf,vaf.vkc().eg*kaf,vaf.wkc().dg*kaf,vaf.wkc().eg*kaf)};var abf=10,
bbf=32,cbf=(1<<0),dbf=(1<<1),ebf=(1<<2),fbf=(1<<3),gbf=(1<<4),hbf=(1<<5),ibf=(1<<6);function jbf(kbf){var elc=new xn.to.bq();kbf.dlc(elc);this.lbf=kbf.ewb();this.mbf=kbf.gwb();this.nbf=[];this.obf=[];this.nbf[0]=kbf.clc();this.obf[0]=elc};function pbf(qbf,rbf,sbf){this.tbf=qbf;this.bbc=rbf;this.abc=sbf};function ubf(vbf,wbf){this.see=vbf;this.xbf=wbf;this.ybf=abf;this.awb=[];this.dhc=null;this.zbf=!1;this.acf=[];for(var bg=0;bg<bbf;bg++){this.acf[bg]=new pbf(-1,0,0)}var gfc=new xn.vo.Math.sq(0,10);var pgc=!0;
this.gvb=new xn.wo.hr(gfc,pgc);this.bcf();this.ccf()};ubf.prototype.bcf=function(){var dcf=document.getElementById("canvas").getContext("2d");if(dcf){this.dhc=new xn.wo.ar();this.dhc.occ(dcf);this.dhc.rcc(1.0/this.see);this.dhc.zcc(0.1);this.dhc.ucc(1.0);this.dhc.jcc(xn.wo.ar.ldc|xn.wo.ar.mdc);this.gvb.chc(this.dhc)}};ubf.prototype.ccf=function(){var ecf=new xn.wo.yq();ecf.fcf=this;ecf.gbc=function(bwb){if(bwb.ewb().zdc()||bwb.gwb().zdc()){this.fcf.gcf(bwb)}};ecf.ibc=function(bwb,jbc){};ecf.hbc=function(bwb){
};ecf.kbc=function(bwb,hcf){this.fcf.gcf(bwb)};this.gvb.bhc(ecf)};ubf.prototype.gcf=function(kbf){for(var kwe=0;kwe<this.awb.length;kwe++){var icf=this.awb[kwe];if((icf.lbf==kbf.ewb()&&icf.mbf==kbf.gwb())||(icf.lbf==kbf.gwb()&&icf.mbf==kbf.ewb())){var elc=new xn.to.bq();kbf.dlc(elc);icf.nbf[icf.nbf.length]=kbf.clc();icf.obf[icf.obf.length]=elc;return }}this.awb[this.awb.length]=new jbf(kbf)};ubf.prototype.fic=function(jcf,kcf){this.gvb.wgc.dg=jcf;this.gvb.wgc.eg=kcf;if((jcf!=0.0)||(kcf!=0.0)){var lcf=this.gvb.mjc();
while((lcf!=null)&&(lcf!=undefined)){if(lcf.kdb()==xn.wo.uq.rxb){lcf.txb(!0)}lcf=lcf.fac();}}};ubf.prototype.mcf=function(){var gmc=sad.oud.gmc;for(var ai=0;ai<gmc.length;ai++){var bud=gmc[ai];if(bud.ncf>=0){var ocf=bud.pcf;if(ocf!=null&&ocf!=undefined){var lcf=ocf.oze;if(lcf.kdb()!=xn.wo.uq.rxb){if(bud.qcf()){bud.bgd(rcf,0,bud,bud)}lcf.nwb(new xn.vo.Math.sq(bud.dg*this.see,bud.eg*this.see))}}else {if(bud.qcf()){bud.bgd(rcf,0,bud,bud)}}}}};ubf.prototype.hcc=function(scf){if(scf<=0){return }this.mcf();if(this.zbf==!0){
return }var tcf=1.0/this.xbf;var ucf=this.xbf/scf;var vcf=ucf;while(vcf>0.0){var wcf=(vcf>1.0)?tcf:(tcf*vcf);this.gvb.iic(wcf,this.ybf,this.ybf);this.gvb.cgb();vcf-=1.0}this.gvb.mic();this.xcf();this.ycf()};ubf.prototype.xcf=function(){var zcf=1.0/this.see;var lcf=this.gvb.mjc();while((lcf!=null)&&(lcf!=undefined)){var bud=lcf.peb();if((bud!=null)&&(bud!=undefined)){bud.dg=lcf.mwb().dg*zcf;bud.eg=lcf.mwb().eg*zcf;bud.adf=(-lcf.isb()*180.0)/cwd;bud.pud=!0;bud.bdf=(lcf.isb()*180.0)/Math.PI;bud.cdf=bud.dg;
bud.ddf=bud.eg;bud.edf=(lcf.xwb()*180.0)/Math.PI;bud.fdf=lcf.twb().dg*zcf;bud.gdf=lcf.twb().eg*zcf;bud.hdf=bud.fdf/sad.idf();bud.jdf=bud.gdf/sad.idf();bud.kdf=lcf.qzb();bud.ldf=lcf.oyb();bud.mdf=lcf.qyb();bud.ndf=lcf.pwb().dg*zcf;bud.odf=lcf.pwb().eg*zcf;bud.pdf=(lcf.by==xn.wo.uq.rxb);bud.qdf=(lcf.by==xn.wo.uq.vyb);bud.rdf=!lcf.sxb();bud.sdf=lcf.uzb();bud.tdf=lcf.wzb()}lcf=lcf.fac()}};ubf.prototype.ycf=function(){var zcf=1.0/this.see;for(var bg=0;bg<this.awb.length;bg++){var udf=this.awb[bg].lbf.vbc().peb();
var vdf=this.awb[bg].mbf.vbc().peb();var iz=0;for(var wdf=0;wdf<this.awb[bg].nbf.length;wdf++){iz+=this.awb[bg].nbf[wdf].qx}udf.xdf=iz;udf.ydf["__phy_collision_x__"]=new zdf("__phy_collision_x__",iz);udf.ydf["__phy_collision_y__"]=new zdf("__phy_collision_y__",iz);udf.ydf["__phy_col_normal_x__"]=new zdf("__phy_col_normal_x__",iz);udf.ydf["__phy_col_normal_y__"]=new zdf("__phy_col_normal_y__",iz);vdf.xdf=iz;vdf.ydf["__phy_collision_x__"]=new zdf("__phy_collision_x__",iz);vdf.ydf["__phy_collision_y__"]=new zdf("__phy_collision_y__",
iz);vdf.ydf["__phy_col_normal_x__"]=new zdf("__phy_col_normal_x__",iz);vdf.ydf["__phy_col_normal_y__"]=new zdf("__phy_col_normal_y__",iz);var aef=0;for(var wdf=0;wdf<this.awb[bg].nbf.length;wdf++){var lx=this.awb[bg].nbf[wdf];var elc=this.awb[bg].obf[wdf];for(var jqb=0;jqb<lx.qx;jqb++,aef++){dm(udf,"__phy_collision_x__",aef,elc.lz[jqb].dg*zcf);dm(udf,"__phy_collision_y__",aef,elc.lz[jqb].eg*zcf);dm(udf,"__phy_col_normal_x__",aef,elc.ykb.dg);dm(udf,"__phy_col_normal_y__",aef,elc.ykb.eg);dm(vdf,"__phy_collision_x__",
aef,elc.lz[jqb].dg*zcf);dm(vdf,"__phy_collision_y__",aef,elc.lz[jqb].eg*zcf);dm(vdf,"__phy_col_normal_x__",aef,elc.ykb.dg);dm(vdf,"__phy_col_normal_y__",aef,elc.ykb.eg)}}udf.bgd(bef,vdf.hvd,udf,vdf);vdf.bgd(bef,udf.hvd,vdf,udf)}this.awb=[]};ubf.prototype.eyb=function(cef,def){cef.mye();var eef=this.fef(def.hvd);if(eef!=-1){cef.kye.bec.bbc=this.acf[eef].bbc;cef.kye.bec.abc=this.acf[eef].abc}else {cef.kye.bec.bbc=0;cef.kye.bec.abc=0}var gef=def.pcf;if(def.pcf){var lcf=gef.oze;lcf.evb(cef.kye)}else {var hef=new xn.wo.vq();
hef.type=(cef.kye.tlb==0)?(cef.iye?xn.wo.uq.vyb:xn.wo.uq.swb):xn.wo.uq.rxb;hef.position.dg=def.dg*this.see;hef.position.eg=def.eg*this.see;hef.bob=-def.adf*cwd/180.0;hef.lxb=cef.mxb;hef.cxb=cef.dxb;hef.jxb=cef.jye;hef.wdb=def;var lcf=this.gvb.eyb(hef);lcf.evb(cef.kye);gef=new lze(lcf,eef);def.pcf=gef;this.ief()}return gef};ubf.prototype.ghc=function(jef){this.gvb.ghc(jef.oze)};ubf.prototype.ihc=function(kef){this.gvb.ihc(kef.jze)};ubf.prototype.lef=function(qbf){for(var kwe=0;kwe<bbf;kwe++){if(this.acf[kwe].tbf==qbf){
return kwe}}return -1};ubf.prototype.mef=function(qbf){var nef=this.lef(qbf);if(nef!=-1){return nef}for(var kwe=0;kwe<bbf;kwe++){if(this.acf[kwe].tbf==-1){this.acf[kwe].tbf=qbf;this.acf[kwe].bbc=(1<<kwe);this.acf[kwe].abc=0;return kwe}}return -1};ubf.prototype.oef=function(qbf){var pef=[];for(var qef in ref){for(var rlc in ref[qef]){var sef=-1;if(qef==qbf){sef=rlc}else if(rlc==qbf){sef=qef}if(sef!=-1){pef[pef.length]=sef;}}}return pef};ubf.prototype.tef=function(vdd,uef){for(var xld in cnd.vef){var wef=cnd.vef[xld];
if(wef.lvd==vdd.nvd){if(this.oef(wef.nvd).length!=0){uef[uef.length]=wef.nvd}this.tef(wef,uef)}}};ubf.prototype.xef=function(qbf){var pef=this.oef(qbf);var yef=qbf;var zef=cnd.cbd(qbf);while((zef.lvd>=0)&&cnd.cbd(zef.lvd)){zef=cnd.cbd(zef.lvd);pef=pef.concat(this.oef(zef.nvd))}for(var kwe in pef){var aff=pef[kwe];var xld=cnd.cbd(aff);this.tef(xld,pef)}return pef};ubf.prototype.bff=function(qbf,nze){var pef=this.xef(qbf);for(var cff=0;cff<pef.length;++cff){for(var dff=0;dff<bbf;++dff){if(this.acf[dff].tbf==pef[cff]){
this.acf[nze].abc|=this.acf[dff].bbc;this.acf[dff].abc|=this.acf[nze].bbc}}}};ubf.prototype.fef=function(qbf){var eef=this.lef(qbf);if(eef!=-1){return eef}var pef=this.oef(qbf);var tbf=qbf;if(pef.length==0){var yef=qbf;var zef=cnd.cbd(qbf);while((zef.lvd>=0)&&cnd.cbd(zef.lvd)){zef=cnd.cbd(zef.lvd);tbf=zef.nvd;pef=this.oef(tbf);if(pef.length!=0){eef=this.lef(tbf);break}}if(pef.length==0){return -1}}if(eef==-1){eef=this.mef(tbf);if(eef==-1){return -1}}this.bff(qbf,eef);return eef};ubf.prototype.ief=function(){
var lcf=this.gvb.mjc();while((lcf!=null)&&(lcf!=undefined)){var bud=lcf.peb();if((bud!=null)&&(bud!=undefined)){var eff=bud.pcf.pze;if(eff!=-1){var fff=new xn.wo.cr();fff.bbc=this.acf[eff].bbc;fff.abc=this.acf[eff].abc;var ivb=lcf.zzb();while((ivb!=null)&&(ivb!=undefined)){fff.yac=ivb.wac().yac;ivb.aec(fff);ivb=ivb.pvb}}}lcf=lcf.fac()}};ubf.prototype.eu=function(ufd,xnd,qad,rad,lmd){var gff=new xn.vo.Math.rq();gff.position=new xn.vo.Math.sq(qad,rad);gff.aw.hv(lmd);if((ufd.pcf==null)||(ufd.pcf==undefined)||(xnd.pcf==null)||(xnd.pcf==undefined)){
return }var hff=ufd.pcf.oze;var iff=xnd.pcf.oze;var jff;for(jff=hff.zzb();jff;jff=jff.fac()){var kff;for(kff=iff.zzb();kff;kff=jff.fac()){if(xn.to.uo.jq.eu(jff.vdc(),gff,kff.vdc(),iff.ikb())){return !0}}}return !1};var lff=-1;var vbd=null;var mff=0;function nff(canvas){debug=off;debug('------- Tizen_Init -------------');debug('href='+window.location.pff);debug('clientWidth:'+document.documentElement.clientWidth);debug('clientHeight:'+document.documentElement.clientHeight);var qff=document.documentElement.clientWidth;
var rff=document.documentElement.clientHeight;if(yjd.ti.TizenKeepAspect){var sff=rff/qff;var tff=canvas.height/canvas.width;if(sff>tff){canvas.width=qff;canvas.height=qff*tff;wne(0,(rff-canvas.height)*0.5)}else {canvas.height=rff;canvas.width=rff/tff;wne((qff-canvas.width)*0.5,0)}}else {canvas.width=qff;canvas.height=rff}tpd=uff;{vbd=vff;}document.addEventListener("webkitvisibilitychange",wff,!1)}function wff(){if(yjd.ti.FlurryId){if(document.webkitHidden==!0){debug('pause flurry session');FlurryAgent.xff()}
else if(document.webkitHidden==!1){debug('resume flurry session: '+yjd.ti.FlurryId);FlurryAgent.startSession(yjd.ti.FlurryId)}}}function yff(){tizen.systeminfo.getPropertyValue("DeviceOrientation",zff,null)}function zff(agf){var agf=agf['status'];if(lff!=agf){lff=agf;bgf()}}function bgf(){debug("orientation changed: "+lff);var agf=yjd.ti.RotateCanvas;var cgf=document.getElementById("gm4html5_div_id");var qff=document.documentElement.clientWidth;var rff=document.documentElement.clientHeight;var dgf=!1;switch(lff){
case 0:{cgf.style.webkitTransform="rotate(0deg)";break}case 1:{if(agf==0||agf==2){cgf.style.webkitTransform="rotate(180deg) translateY(-"+rff+"px)"}else {cgf.style.webkitTransform="rotate(0deg)"}break}case 2:{if(agf==2){cgf.style.webkitTransform="rotate(-90deg) translateY(-"+qff/2+"px) translateX(-"+(rff-qff/2)+"px)";dgf=!0}else if(agf==1){cgf.style.webkitTransform="rotate(180deg) translateY(-"+rff+"px)"}else {cgf.style.webkitTransform="rotate(0deg)"}break}case 3:{if(agf==2){cgf.style.webkitTransform="rotate(90deg) translateX("+qff/2+"px) translateY(-"+qff/2+"px)";
dgf=!0}else {cgf.style.webkitTransform="rotate(0deg)"}break}}if(dgf){loe(0,0,rff,qff)}else {loe(0,0,qff,rff)}}function vff(rbd,wbd){var egf=rbd.pageX;var fgf=rbd.pageY;var agf=yjd.ti.RotateCanvas;wbd.dg=egf;wbd.eg=fgf;switch(lff){case 0:break;case 1:{if(agf==0||agf==2){wbd.dg=canvas.width-egf;wbd.eg=canvas.height-fgf}break}case 2:{if(agf==2){wbd.dg=canvas.width-fgf;wbd.eg=egf}else if(agf==1){wbd.dg=canvas.width-egf;wbd.eg=canvas.height-fgf}break}case 3:{if(agf==2){wbd.dg=fgf;wbd.eg=canvas.height-egf}break}
}}function uff(){if(lff==0||lff==1){return 1}return 0}function off(){var ai;for(ai=0;ai<arguments.length;++ai){console.log(arguments[ai])}}var ggf=!1,hgf=-1,igf=-1,jgf=0,kgf=1,lgf=2,mgf=3,ngf=4,ogf=5,pgf=6,qgf=7,rgf=8,sgf=9,tgf=10,ugf=11,vgf=[0,0,0],wgf=[0,0,0],xgf=[0,0,0,0,0,0],ygf=[0,0,0],zgf=[0,0,0],ahf=[0,0,0],bhf=[0,0,0],chf=[0,0,0],dhf=[0,0,0],ehf=[0,0,0],fhf=0,ghf=0;function hhf(){if((sad.idf()<=30)||(ihf<=30)){return 1.0}if((sad.idf()/ihf)<1.2){return 30.0/sad.idf()}else {return 30.0/ihf}}function jhf(){
if(!rzd(hgf)){hgf=nzd();xzd(hgf,100000)}if(!rzd(igf)){igf=nzd();xzd(igf,-100000)}if(!ggf){khf()}}function khf(){ggf=!0;for(var bg=0;bg<=5;bg++){xgf[bg]=rae()}for(var bg=0;bg<=2;bg++){ygf[bg]=rae();vgf[bg]=rae();zgf[bg]=rae();wgf[bg]=rae();ahf[bg]=rae();bhf[bg]=rae();chf[bg]=rae();dhf[bg]=rae();ehf[bg]=rae()}fhf=rae();ghf=rae()}function lhf(mhf,qad,rad,smd,wpd){var gib=hhf();if(smd==0){zae(xgf[0],nhf);dbe(xgf[0],0.1,0.1,0.05*gib,0);gce(xgf[0],0,360,0,0,!1);kce(xgf[0],0,360,0,0);ice(xgf[0],2*gib,2*gib,
-0.1*gib,0);wbe(xgf[0],0.6,0);ace(xgf[0],xfd(10.0/gib),xfd(15.0/gib));lae(mhf,qad,rad,xgf[0],wpd,20);zae(xgf[1],nhf);dbe(xgf[1],0.1,0.1,0.1*gib,0);gce(xgf[1],0,360,0,0,!1);wbe(xgf[1],0.8,0);ace(xgf[1],xfd(15/gib),xfd(15/gib));lae(mhf,qad,rad,xgf[1],ohf,1)}else if(smd==2){zae(xgf[4],nhf);dbe(xgf[4],0.4,0.4,0.2*gib,0);gce(xgf[4],0,360,0,0,!1);kce(xgf[4],0,360,0,0);ice(xgf[4],7*gib,7*gib,-0.2*gib,0);wbe(xgf[4],0.6,0);ace(xgf[4],xfd(15/gib),xfd(20/gib));lae(mhf,qad,rad,xgf[4],wpd,20);zae(xgf[5],nhf);
dbe(xgf[5],0.4,0.4,0.4*gib,0);gce(xgf[5],0,360,0,0,!1);wbe(xgf[5],0.8,0);ace(xgf[5],xfd(20/gib),xfd(20/gib));lae(mhf,qad,rad,xgf[5],ohf,1)}else {zae(xgf[2],nhf);dbe(xgf[2],0.3,0.3,0.1*gib,0);gce(xgf[2],0,360,0,0,!1);kce(xgf[2],0,360,0,0);ice(xgf[2],4*gib,4*gib,-0.18*gib,0);wbe(xgf[2],0.6,0);ace(xgf[2],xfd(12/gib),xfd(17/gib));lae(mhf,qad,rad,xgf[2],wpd,20);zae(xgf[3],nhf);dbe(xgf[3],0.3,0.3,0.2*gib,0);gce(xgf[3],0,360,0,0,!1);wbe(xgf[3],0.8,0);ace(xgf[3],xfd(17/gib),xfd(17/gib));lae(mhf,qad,rad,xgf[3],
ohf,1)}}function phf(mhf,qad,rad,smd,wpd){var gib=hhf();if(smd==0){zae(ygf[0],qhf);wbe(ygf[0],1,0);dbe(ygf[0],0.0,0.0,0.15*gib,0.0);ace(ygf[0],xfd(10.0/gib),xfd(12.0/gib));lae(mhf,qad,rad,ygf[0],wpd,1)}else if(smd==2){zae(ygf[2],qhf);wbe(ygf[2],1,0);dbe(ygf[2],0,0,0.4*gib,0);ace(ygf[2],xfd(18.0/gib),xfd(20.0/gib));lae(mhf,qad,rad,ygf[2],wpd,1)}else {zae(ygf[1],qhf);wbe(ygf[1],1,0);dbe(ygf[1],0,0,0.25*gib,0);ace(ygf[1],xfd(13.0/gib),xfd(15.0/gib));lae(mhf,qad,rad,ygf[1],wpd,1)}}function rhf(mhf,qad,rad,
smd,wpd){var gib=hhf();if(smd==0){zae(vgf[0],qhf);wbe(vgf[0],1,0);dbe(vgf[0],0,0,0.2*gib,0);fbe(vgf[0],1,0.5);ace(vgf[0],xfd(10.0/gib),xfd(12.0/gib));lae(mhf,qad,rad,vgf[0],wpd,1)}else if(smd==2){zae(vgf[2],qhf);wbe(vgf[2],1,0);dbe(vgf[2],0,0,0.6*gib,0);fbe(vgf[2],1,0.5);ace(vgf[2],xfd(18.0/gib),xfd(20.0/gib));lae(mhf,qad,rad,vgf[2],wpd,1)}else {zae(vgf[1],qhf);wbe(vgf[1],1,0);dbe(vgf[1],0,0,0.35*gib,0);fbe(vgf[1],1,0.5);ace(vgf[1],xfd(13.0/gib),xfd(15.0/gib));lae(mhf,qad,rad,vgf[1],wpd,1)}}function shf(mhf,
qad,rad,smd,wpd){var gib=hhf();if(smd==0){zae(zgf[1],thf);dbe(zgf[1],0.1,0.2,0,0);ice(zgf[1],0.5*gib,3.0*gib,0.0,0.0);kce(zgf[1],0,360,0,0);wbe(zgf[1],1,0.4);ace(zgf[1],xfd(15.0/gib),xfd(25.0/gib));mce(zgf[1],0.10*gib,270);lae(mhf,qad,rad,zgf[1],wpd,75)}else if(smd==2){zae(zgf[1],thf);dbe(zgf[1],0.1,0.2,0,0);ice(zgf[1],0.5*gib,8.0*gib,0.0,0.0);kce(zgf[1],0,360,0,0);wbe(zgf[1],1,0.4);ace(zgf[1],xfd(30.0/gib),xfd(40.0/gib));mce(zgf[1],0.17*gib,270);lae(mhf,qad,rad,zgf[1],wpd,250)}else {zae(zgf[1],thf);
dbe(zgf[1],0.1,0.2,0,0);ice(zgf[1],0.5*gib,6.0*gib,0.0,0.0);kce(zgf[1],0,360,0,0);wbe(zgf[1],1,0.4);ace(zgf[1],xfd(20.0/gib),xfd(30.0/gib));mce(zgf[1],0.15*gib,270);lae(mhf,qad,rad,zgf[1],wpd,150)}}function uhf(mhf,qad,rad,smd,wpd){var bg;var gib=hhf();if(smd==0){zae(wgf[0],nhf);dbe(wgf[0],0.2,0.4,-0.01*gib,0);wbe(wgf[0],0.4,0);ace(wgf[0],xfd(25.0/gib),xfd(25.0/gib));for(bg=0;bg<=5;bg++){lae(mhf,qad-5+vhf(10),rad-5+vhf(10),wgf[0],wpd,1)}}else if(smd==2){zae(wgf[2],nhf);dbe(wgf[2],0.4,1,-0.01*gib,0);
wbe(wgf[2],0.4,0);ace(wgf[2],xfd(50.0/gib),xfd(50.0/gib));for(bg=0;bg<=15;bg++){lae(mhf,qad-30+vhf(60),rad-30+vhf(60),wgf[2],wpd,1)}}else {zae(wgf[1],nhf);dbe(wgf[1],0.4,0.7,-0.01*gib,0);wbe(wgf[1],0.4,0);ace(wgf[1],xfd(30.0/gib),xfd(30.0/gib));for(bg=0;bg<=10;bg++){lae(mhf,qad-15+vhf(30),rad-15+vhf(30),wgf[1],wpd,1)}}}function whf(mhf,qad,rad,smd,wpd){var bg;var gib=hhf();if(smd==0){zae(ahf[0],nhf);dbe(ahf[0],0.2,0.4,-0.01*gib,0);wbe(ahf[0],0.4,0);ice(ahf[0],3.0*gib,4.0*gib,0,0);kce(ahf[0],90,90,0,
0);ace(ahf[0],xfd(25.0/gib),xfd(25.0/gib));for(bg=0;bg<=5;bg++){lae(mhf,qad-5+vhf(10),rad-5+vhf(10),ahf[0],wpd,1)}}else if(smd==2){zae(ahf[2],nhf);dbe(ahf[2],0.4,1,-0.01*gib,0);wbe(ahf[2],0.4,0);ice(ahf[2],6.0*gib,7.0*gib,0,0);kce(ahf[2],90,90,0,0);ace(ahf[2],xfd(50.0/gib),xfd(50.0/gib));for(bg=0;bg<=15;bg++){lae(mhf,qad-30+vhf(60),rad-30+vhf(60),ahf[2],wpd,1)}}else {zae(ahf[1],nhf);dbe(ahf[1],0.4,0.7,-0.01*gib,0);wbe(ahf[1],0.4,0);ice(ahf[1],5.0*gib,6.0*gib,0,0);kce(ahf[1],90,90,0,0);ace(ahf[1],xfd(30.0/gib),
xfd(30.0/gib));for(bg=0;bg<=10;bg++){lae(mhf,qad-15+vhf(30),rad-15+vhf(30),ahf[1],wpd,1)}}}function xhf(mhf,qad,rad,smd,wpd){var gib=hhf();if(smd==0){zae(bhf[0],yhf);dbe(bhf[0],0.4,0.3,-0.02*gib,0);gce(bhf[0],0,360,0,0,!1);ace(bhf[0],xfd(20/gib),xfd(20/gib));lae(mhf,qad,rad,bhf[0],wpd,1)}else if(smd==2){zae(bhf[2],yhf);dbe(bhf[2],1.2,1.2,-0.04*gib,0);gce(bhf[2],0,360,0,0,!1);ace(bhf[2],xfd(30/gib),xfd(30/gib));lae(mhf,qad,rad,bhf[2],wpd,1)}else {zae(bhf[1],yhf);dbe(bhf[1],0.75,0.75,-0.03*gib,0);gce(bhf[1],
0,360,0,0,!1);ace(bhf[1],xfd(25/gib),xfd(25/gib));lae(mhf,qad,rad,bhf[1],wpd,1)}}function zhf(mhf,qad,rad,smd,wpd){var gib=hhf();if(smd==0){zae(chf[0],aif);dbe(chf[0],0.4,0.4,-0.02*gib,0);gce(chf[0],0,360,0,0,!1);ace(chf[0],xfd(20/gib),xfd(20/gib));lae(mhf,qad,rad,chf[0],wpd,1)}else if(smd==2){zae(chf[2],aif);dbe(chf[2],1.2,1.2,-0.04*gib,0);gce(chf[2],0,360,0,0,!1);ace(chf[2],xfd(30/gib),xfd(30/gib));lae(mhf,qad,rad,chf[2],wpd,1)}else {zae(chf[1],aif);dbe(chf[1],0.75,0.75,-0.03*gib,0);gce(chf[1],0,360,
0,0,!1);ace(chf[1],xfd(25/gib),xfd(25/gib));lae(mhf,qad,rad,chf[1],wpd,1)}}function bif(mhf,qad,rad,smd,wpd){var gib=hhf();if(smd==0){zae(dhf[0],thf);dbe(dhf[0],0.4,0.4,-0.02*gib,0);gce(dhf[0],0,360,0,0,!1);ace(dhf[0],xfd(20/gib),xfd(20/gib));lae(mhf,qad,rad,dhf[0],wpd,1)}else if(smd==2){zae(dhf[2],thf);dbe(dhf[2],1.2,1.2,-0.04*gib,0);gce(dhf[2],0,360,0,0,!1);ace(dhf[2],xfd(30/gib),xfd(30/gib));lae(mhf,qad,rad,dhf[2],wpd,1)}else {zae(dhf[1],thf);dbe(dhf[1],0.75,0.75,-0.03*gib,0);gce(dhf[1],0,360,0,0,
!1);ace(dhf[1],xfd(25/gib),xfd(25/gib));lae(mhf,qad,rad,dhf[1],wpd,1)}}function cif(mhf,qad,rad,smd,wpd){var gib=hhf();if(smd==0){zae(ehf[0],nhf);dbe(ehf[0],2,2,0,0);fbe(ehf[0],1,0.5);ybe(ehf[0],0,0.3,0);ace(ehf[0],xfd(100.0/gib),xfd(100.0/gib));lae(mhf,qad,rad,ehf[0],wpd,1)}else if(smd==2){zae(ehf[2],nhf);dbe(ehf[2],8,8,0,0);fbe(ehf[2],1,0.5);ybe(ehf[2],0,0.3,0);ace(ehf[2],xfd(100.0/gib),xfd(100.0/gib));lae(mhf,qad,rad,ehf[02],wpd,1)}else {zae(ehf[1],nhf);dbe(ehf[1],4,4,0,0);fbe(ehf[1],1,0.5);ybe(ehf[1],
0,0.3,0);ace(ehf[1],xfd(100.0/gib),xfd(100.0/gib));lae(mhf,qad,rad,ehf[1],wpd,1)}}function dif(mhf,qad,rad,smd,wpd){var bg;var gib=hhf();zae(fhf,eif);dbe(fhf,0.2,0.3,0.0,0.0);gce(fhf,0,0,0,0,!0);ice(fhf,7*gib,7*gib,0,0);kce(fhf,260,260,0,0);ube(fhf,0.4);ace(fhf,xfd(0.2*sad.fif()/gib),xfd(0.2*sad.fif()/gib));if(smd==0){for(bg=0;bg<=1;bg++){lae(mhf,vhf(1)*1.2*sad.gif(),-30.0+vhf(20),fhf,wpd,1)}}else if(smd==2){for(bg=0;bg<=8;bg++){lae(mhf,vhf(1)*1.2*sad.gif(),-30.0+vhf(20),fhf,wpd,1)}}else {for(bg=0;bg<=4;
bg++){lae(mhf,vhf(1)*1.2*sad.gif(),-30.0+vhf(20),fhf,wpd,1)}}}function hif(mhf,qad,rad,smd,wpd){var bg;var gib=hhf();zae(ghf,iif);dbe(ghf,0.1,0.25,0.0,0.0);ube(ghf,0.6);gce(ghf,0,360,0,0,!1);ice(ghf,2.5*gib,3.0*gib,0.0,0.0);kce(ghf,240,300,0,20);ace(ghf,xfd(0.5*sad.fif()/gib),xfd(0.5*sad.fif()/gib));if(smd==0){for(bg=0;bg<=0;bg++){lae(mhf,vhf(1)*1.2*sad.gif()-60,-30.0+vhf(20),ghf,wpd,1)}}else if(smd==2){for(bg=0;bg<=6;bg++){lae(mhf,vhf(1)*1.2*sad.gif()-60,-30.0+vhf(20),ghf,wpd,1)}}else {for(bg=0;bg<=2;
bg++){lae(mhf,vhf(1)*1.2*sad.gif()-60,-30.0+vhf(20),ghf,wpd,1)}}}function jif(kif,kke,qad,rad,smd,wpd){var lif;jhf();if(kif){lif=hgf}else {lif=igf}switch(kke){case jgf:lhf(lif,qad,rad,smd,wpd);break;case kgf:phf(lif,qad,rad,smd,wpd);break;case lgf:rhf(lif,qad,rad,smd,wpd);break;case mgf:shf(lif,qad,rad,smd,wpd);break;case ngf:uhf(lif,qad,rad,smd,wpd);break;case ogf:whf(lif,qad,rad,smd,wpd);break;case pgf:xhf(lif,qad,rad,smd,wpd);break;case qgf:zhf(lif,qad,rad,smd,wpd);break;case rgf:bif(lif,qad,rad,smd,wpd);
break;case sgf:cif(lif,qad,rad,smd,wpd);break;case tgf:dif(lif,qad,rad,smd,wpd);break;case ugf:hif(lif,qad,rad,smd,wpd);break}}function mif(){var tad=null;if(sad.uad){tad=sad.wad}var gmc=sad.oud.gmc;for(var nif=0;nif<gmc.length;nif++){var zfd=gmc[nif];var yud=zfd.yud;if(!zfd.cud){if(yud.oif[pif]){if(rie(zfd.xud)||rie(zfd.qif)){var rud=zfd.rif();if((rud.sud<0)||(rud.left>sad.gif())||(rud.bottom<0)||(rud.top>sad.fif())){zfd.bgd(pif,sif,zfd,zfd)}}else {if((zfd.dg<0)||(zfd.dg>sad.gif())||(zfd.eg<0)||(zfd.eg>sad.fif())){
zfd.bgd(pif,sif,zfd,zfd)}}}if(yud.oif[tif]){if(rie(zfd.xud)||rie(zfd.qif)){var rud=zfd.rif();if((rud.left<0)||(rud.sud>sad.gif())||(rud.top<0)||(rud.bottom>sad.fif())){zfd.bgd(tif,sif,zfd,zfd)}}else {if((zfd.dg<0)||(zfd.dg>sad.gif())||(zfd.eg<0)||(zfd.eg>sad.fif())){zfd.bgd(tif,sif,zfd,zfd)}}}for(bg in tad){var uif=parseInt(bg);var vif=tad[bg];if(vif.mg){var wif=vif.eme;var xif=vif.fme;var yif=vif.eme+vif.gme;var zif=vif.fme+vif.hme;if(yud.oif[ajf+uif]){if(rie(zfd.xud)||rie(zfd.qif)){var rud=zfd.rif();if((rud.sud<wif)||(rud.left>yif)||(rud.bottom<xif)||(rud.top>zif)){
zfd.bgd(ajf+uif,sif,zfd,zfd)}}else {if((zfd.dg<wif)||(zfd.dg>yif)||(zfd.eg<xif)||(zfd.eg>zif)){zfd.bgd(ajf+uif,sif,zfd,zfd)}}}if(yud.oif[bjf+uif]){if(rie(zfd.xud)||rie(zfd.qif)){var rud=zfd.rif();if((rud.left<wif)||(rud.sud>yif)||(rud.top<xif)||(rud.bottom>zif)){zfd.bgd(bjf+uif,sif,zfd,zfd)}}else {if((zfd.dg<wif)||(zfd.dg>yif)||(zfd.eg<xif)||(zfd.eg>zif)){zfd.bgd(bjf+uif,sif,zfd,zfd)}}}}}}}if(((cjf-djf)>113*981)&&(ejf<=512))fjf()}function gjf(){for(var qef in ref){var hjf=cnd.cbd(qef);var ijf=hjf.efe();for(var udf=0;
udf<ijf.length;udf++){var jjf=ijf[udf];if(!jjf.cud&&jjf.kac){var kjf=ref[qef];for(var ljf in kjf){var rlc=kjf[ljf];var mjf=cnd.cbd(rlc);var njf=mjf.efe();for(var vdf=0;vdf<njf.length;vdf++){var ojf=njf[vdf];if(!ojf.cud&&ojf.kac){if((jjf.yud==ojf.yud)&&(vdf<udf))continue;if(jjf.iud(ojf,!0)){if((jjf.czd)||(ojf.czd)){jjf.dg=jjf.pjf;jjf.eg=jjf.qjf;jjf.pud=!0;jjf.rjf=jjf.sjf;ojf.dg=ojf.pjf;ojf.eg=ojf.qjf;ojf.pud=!0;ojf.rjf=ojf.sjf}jjf.bgd(bef,rlc,jjf,ojf);ojf.bgd(bef,qef,ojf,jjf);if((jjf.czd)||(ojf.czd)){jjf.qcf();
ojf.qcf();jjf.nwb(jjf.dg+jjf.tjf,jjf.eg+jjf.ujf);ojf.nwb(ojf.dg+ojf.tjf,ojf.eg+ojf.ujf);if(jjf.iud(ojf,!0)==!0){jjf.dg=jjf.pjf;jjf.eg=jjf.qjf;jjf.pud=!0;jjf.rjf=jjf.sjf;ojf.dg=ojf.pjf;ojf.eg=ojf.qjf;ojf.pud=!0;ojf.rjf=ojf.sjf}}}}}}}}}}function vjf(){if(sad){var tad;if(!sad.uad){tad=vad}else {tad=sad.wad}for(qo in tad){xad=tad[qo];if(xad.mg){if(xad.yad==-1){zad(canvas,abd)}else {zad(bbd.cbd(xad.yad),abd)}if(((xbd.wjf-abd.left)>=xad.dbd)&&((xbd.wjf-abd.left)<xad.ebd)&&((xbd.xjf-abd.top)>=xad.fbd)&&((xbd.xjf-abd.top)<xad.gbd)){
kk.lk=xad.hbd(xbd.wjf);kk.mk=xad.ibd(xbd.xjf);var hjd=kk.lk;var ijd=kk.mk;var yjf=cnd.bzd();for(var xld in yjf){var ned=yjf[xld];var zjf=ned.oif;if(zjf[akf]||zjf[bkf]||zjf[ckf]||zjf[dkf]||zjf[ekf]||zjf[fkf]||zjf[gkf]||zjf[hkf]||zjf[ikf]||zjf[jkf]||zjf[kkf]||zjf[lkf]||zjf[mkf]||zjf[nkf]){if(ned.okf.length>0){var pkf=ned.okf.gmc;for(var bg=pkf.length-1;bg>=0;bg--){var bud=pkf[bg];if(!bud.cud){{if(bud.pud)bud.qud();var avd=bvd.cbd(bud.xud);if((hjd>=bud.rud.left)&&(hjd<bud.rud.sud)&&(ijd>=bud.rud.top)&&(ijd<bud.rud.bottom)){
var qkf=!0;var rkf;for(rkf=0;rkf<3;rkf++){if(xbd.lad[rkf]){if(zjf[akf+rkf]){bud.bgd(akf+rkf,0,bud,bud);}qkf=!1}}for(rkf=0;rkf<3;rkf++){if(xbd.mad[rkf]==!0){if(zjf[dkf+rkf]){bud.bgd(dkf+rkf,0,bud,bud)}qkf=!1}}for(rkf=0;rkf<3;rkf++){if(xbd.nad[rkf]==!0){if(zjf[gkf+rkf]){bud.bgd(gkf+rkf,0,bud,bud)}}}if(qkf){bud.bgd(jkf,0,bud,bud)}if(!bud.skf){bud.bgd(kkf,0,bud,bud);bud.skf=!0}}else {if(bud.skf){bud.bgd(lkf,0,bud,bud);bud.skf=!1}}}}}}}}var rkf;for(rkf=0;rkf<3;rkf++){if(xbd.lad[rkf]){bfe.bgd(tkf+rkf)}}for(rkf=0;
rkf<3;rkf++){if(xbd.mad[rkf]==!0){bfe.bgd(ukf+rkf)}}for(rkf=0;rkf<3;rkf++){if(xbd.nad[rkf]==!0){bfe.bgd(vkf+rkf)}}if(wkf){bfe.bgd(mkf,0,bud,bud)}if(xkf){bfe.bgd(nkf,0,bud,bud)}}}}}}function ykf(){var gmc=sad.oud.gmc;for(var zfd=0;zfd<gmc.length;zfd++){var bud=gmc[zfd];if(!bud.cud&&(bud.zkf>=0)){if(!bud.alf){var aod=bod.cbd(bud.zkf);if((aod!=null)&&(aod!=undefined)){if(bud.blf>0){var clf=aod.dlf(bud.elf);bud.elf+=bud.blf;var flf=aod.dlf(bud.elf);for(var jqb=clf;jqb<flf;jqb++){vnd(bud,bud,bud.zkf,jqb)}if((bud.glf==!0)&&(bud.elf>aod.hlf())){
bud.elf=0}}else {var clf=aod.ilf(bud.elf);bud.elf+=bud.blf;var flf=aod.ilf(bud.elf);for(jqb=clf;jqb>flf;jqb--){vnd(bud,bud,bud.zkf,jqb)}if((bud.glf==!0)&&(bud.elf<0)){bud.elf=aod.hlf()}}}}}}}function jlf(){var gmc=sad.oud.gmc;for(var zfd in gmc){var bud=gmc[zfd];if(!bud.cud){for(var xab=0;xab<klf;xab++){var event=llf|(xab+1);var ned=bud.yud;if(ned.oif[event]){var mlf=~~ql(bud,"__alarm__",xab);if(mlf>=0){mlf--;dm(bud,"__alarm__",xab,mlf)}if(mlf==0){bud.bgd(llf|(xab+1),0,bud,bud)}}}}}}function nlf(){this.ydf=[]}
var cwd=3.14159265,olf=!0,plf=!1,eie=!0,jqe=0,qlf=-1,rlf=0,slf=1,tlf=2,lqe=0;ulf=-1,vlf=0,wlf=1,xlf=2,ylf=3,zlf=4,amf=5,bmf=6,cmf=7,xxe=8,dmf=9,hqe=0,vlf=-1,emf=0,fmf=0,gmf=1,hmf=2,imf=3,jmf=4,kmf=5,lmf=6,mmf=7,nqe=0,nmf=-1,omf=-100,pmf=-200,qmf=-300,rmf=-400;afe=-1,smf=-2,lxd=-3,gud=-4,tmf=-5,umf=-7,vmf=-6;var cgd=0x000,kud=0x100,llf=0x200,wmf=0x300,bef=0x400,xmf=0x500,ymf=0x600,sif=0x700,zmf=0x800,anf=0x900,bnf=0xA00,cnf=0xB00,dnf=wmf|1,enf=wmf|2,fnf=wmf|3,pif=sif|1,tif=sif|2,gnf=sif|3,hnf=sif|4,
inf=sif|5,jnf=sif|6,knf=sif|7,lnf=sif|8,rcf=sif|9,mnf=sif|10,nnf=sif|11,onf=sif|14;pnf=sif|15;qnf=sif|16;rnf=sif|17;snf=sif|18;tnf=sif|19;unf=sif|20;vnf=sif|21;wnf=sif|22;xnf=sif|23;ynf=sif|24;znf=sif|25;aof=sif|26;bof=sif|27;cof=sif|28;dof=sif|29;ajf=sif|30,eof=sif|31,fof=sif|32,gof=sif|33,hof=sif|34,iof=sif|35,jof=sif|36,kof=sif|37;bjf=sif|40,lof=sif|41,mof=sif|42,nof=sif|43,oof=sif|44,pof=sif|45,qof=sif|46,rof=sif|47;sof=sif|60,tof=sif|61,uof=sif|62,vof=sif|63,wof=zmf|64,xof=zmf|65,ywe=sif|66;
akf=ymf|1;ckf=ymf|2;bkf=ymf|3;dkf=ymf|4;fkf=ymf|5;ekf=ymf|6;gkf=ymf|7;ikf=ymf|8;hkf=ymf|9;tkf=ymf|10;yof=ymf|11;zof=ymf|12;ukf=ymf|13;apf=ymf|14;bpf=ymf|15;vkf=ymf|16;cpf=ymf|17;dpf=ymf|18;jkf=ymf|19;kkf=ymf|20;lkf=ymf|21;mkf=ymf|22;nkf=ymf|23;epf=llf|1;fpf=llf|2;gpf=llf|3;hpf=llf|4;ipf=llf|5;jpf=llf|6;kpf=llf|7;lpf=llf|8;mpf=llf|9;npf=llf|10;opf=llf|11;ppf=llf|12;qpf=0;rpf=1;spf=2;tpf=3;upf=4;vpf=5;wpf=6;xpf=7;ypf=8;zpf=9;aqf=10;bqf=11;cqf=0;dqf=1;eqf=2;fqf=3;gqf=4;hqf=5;iqf=6;jqf=7;kqf=8;lqf=9;
mqf=10;nqf=11;oqf=16;pqf=17;qqf=18;rqf=19;sqf=21;tqf=22;uqf=23;vqf=24;wqf=25;xqf=26;yqf=27;zqf=28;arf=31;brf=32;crf=33;drf=34;erf=36;frf=37;grf=38;hrf=39;irf=40;jrf=41;krf=42;lrf=43;mrf=50;nrf=51;orf=52;prf=53;qrf=54;rrf=55;srf=56;trf=57;urf=58;vrf=60;wrf=61;xrf=0,yrf=1,zrf=2,asf=0,bsf=1,csf=2,dsf=3,esf=4,fsf=5,gsf=6,hsf=7,isf=8,jsf=9,ksf=30,lsf=40,msf=41,nsf=42,osf=43,psf=44,qsf=45,rsf=46,ssf=47,tsf=50,usf=51,vsf=52,wsf=53,xsf=54,ysf=55,zsf=56,atf=57,btf=10,ctf=11,dtf=12,etf=13,ftf=14,gtf=15,htf=16,
itf=17,jtf=18,ktf=19,ltf=20,mtf=21,ntf=22,otf=23,ptf=24,qtf=25,rtf=60;stf=61;ttf=64;utf=65;vtf=66;wtf=anf|0,xtf=anf|1,ytf=anf|1,ztf=anf|8,auf=anf|9,buf=anf|13,cuf=anf|16,duf=anf|17,euf=anf|18,fuf=anf|19,guf=anf|27,huf=anf|32,iuf=anf|33,juf=anf|34,kuf=anf|35,luf=anf|36,muf=anf|37,nuf=anf|38,ouf=anf|39,puf=anf|40,quf=anf|45,ruf=anf|46,suf=anf|48,tuf=anf|49,uuf=anf|50,vuf=anf|51,wuf=anf|52,xuf=anf|53,yuf=anf|54,zuf=anf|55,avf=anf|56,bvf=anf|57,cvf=anf|65,dvf=anf|66,evf=anf|67,fvf=anf|68,gvf=anf|69,
hvf=anf|70,ivf=anf|71,jvf=anf|72,kvf=anf|73,lvf=anf|74,mvf=anf|75,nvf=anf|76,ovf=anf|77,pvf=anf|78,qvf=anf|79,rvf=anf|80,svf=anf|81,tvf=anf|82,uvf=anf|83,vvf=anf|84,wvf=anf|85,xvf=anf|86,yvf=anf|87,zvf=anf|88,awf=anf|89,bwf=anf|90,cwf=anf|112,dwf=anf|113,ewf=anf|114,fwf=anf|115,gwf=anf|116,hwf=anf|117,iwf=anf|118,jwf=anf|119,kwf=anf|120,lwf=anf|121,mwf=anf|122,nwf=anf|123,owf=anf|145,pwf=anf|186,qwf=anf|187,rwf=anf|188,swf=anf|189,twf=anf|190,uwf=anf|191,vwf=anf|192,wwf=anf|219,xwf=anf|220,ywf=anf|221,
zwf=anf|222,axf=anf|223,bxf=anf|144,cxf=anf|96,dxf=anf|97,exf=anf|98,fxf=anf|99,gxf=anf|100,hxf=anf|101,ixf=anf|102,jxf=anf|103,kxf=anf|104,lxf=anf|105,mxf=anf|106,nxf=anf|107,oxf=anf|109,pxf=anf|110,qxf=anf|111,rxf=xmf|0,sxf=xmf|1,txf=xmf|1,uxf=xmf|8,vxf=xmf|9,wxf=xmf|13,xxf=xmf|16,yxf=xmf|17,zxf=xmf|18,ayf=xmf|19,byf=xmf|27,cyf=xmf|32,dyf=xmf|33,eyf=xmf|34,fyf=xmf|35,gyf=xmf|36,hyf=xmf|37,iyf=xmf|38,jyf=xmf|39,kyf=xmf|40,lyf=xmf|45,myf=xmf|46,nyf=xmf|48,oyf=xmf|49,pyf=xmf|50,qyf=xmf|51,ryf=xmf|52,
syf=xmf|53,tyf=xmf|54,uyf=xmf|55,vyf=xmf|56,wyf=xmf|57,xyf=xmf|65,yyf=xmf|66,zyf=xmf|67,azf=xmf|68,bzf=xmf|69,czf=xmf|70,dzf=xmf|71,ezf=xmf|72,fzf=xmf|73,gzf=xmf|74,hzf=xmf|75,izf=xmf|76,jzf=xmf|77,kzf=xmf|78,lzf=xmf|79,mzf=xmf|80,nzf=xmf|81,ozf=xmf|82,pzf=xmf|83,qzf=xmf|84,rzf=xmf|85,szf=xmf|86,tzf=xmf|87,uzf=xmf|88,vzf=xmf|89,wzf=xmf|90,xzf=xmf|112,yzf=xmf|113,zzf=xmf|114,aag=xmf|115,bag=xmf|116,cag=xmf|117,dag=xmf|118,eag=xmf|119,fag=xmf|120,gag=xmf|121,hag=xmf|122,iag=xmf|123,jag=xmf|145,kag=xmf|186,
lag=xmf|187,mag=xmf|188,nag=xmf|189,oag=xmf|190,pag=xmf|191,qag=xmf|192,rag=xmf|219,sag=xmf|220,tag=xmf|221,uag=xmf|222,vag=xmf|223,wag=xmf|144,xag=xmf|96,yag=xmf|97,zag=xmf|98,abg=xmf|99,bbg=xmf|100,cbg=xmf|101,dbg=xmf|102,ebg=xmf|103,fbg=xmf|104,gbg=xmf|105,hbg=xmf|106,ibg=xmf|107,jbg=xmf|109,kbg=xmf|110,lbg=xmf|111,mbg=bnf|0,nbg=bnf|1,obg=bnf|1;pbg=bnf|8,qbg=bnf|9,rbg=bnf|13,sbg=bnf|16,tbg=bnf|17,ubg=bnf|18,vbg=bnf|19,wbg=bnf|27,xbg=bnf|32,ybg=bnf|33,zbg=bnf|34,acg=bnf|35,bcg=bnf|36,ccg=bnf|37,
dcg=bnf|38,ecg=bnf|39,fcg=bnf|40,gcg=bnf|45,hcg=bnf|46,icg=bnf|48,jcg=bnf|49,kcg=bnf|50,lcg=bnf|51,mcg=bnf|52,ncg=bnf|53,ocg=bnf|54,pcg=bnf|55,qcg=bnf|56,rcg=bnf|57,scg=bnf|65,tcg=bnf|66,ucg=bnf|67,vcg=bnf|68,wcg=bnf|69,xcg=bnf|70,ycg=bnf|71,zcg=bnf|72,adg=bnf|73,bdg=bnf|74,cdg=bnf|75,ddg=bnf|76,edg=bnf|77,fdg=bnf|78,gdg=bnf|79,hdg=bnf|80,idg=bnf|81,jdg=bnf|82,kdg=bnf|83,ldg=bnf|84,mdg=bnf|85,ndg=bnf|86,odg=bnf|87,pdg=bnf|88,qdg=bnf|89,rdg=bnf|90,sdg=bnf|112,tdg=bnf|113,udg=bnf|114,vdg=bnf|115,wdg=bnf|116,
xdg=bnf|117,ydg=bnf|118,zdg=bnf|119,aeg=bnf|120,beg=bnf|121,ceg=bnf|122,deg=bnf|123,eeg=bnf|145,feg=bnf|186,geg=bnf|187,heg=bnf|188,ieg=bnf|189,jeg=bnf|190,keg=bnf|191,leg=bnf|192,meg=bnf|219,neg=bnf|220,oeg=bnf|221,peg=bnf|222,qeg=bnf|223,reg=bnf|144,seg=bnf|96,teg=bnf|97,ueg=bnf|98,veg=bnf|99,weg=bnf|100,xeg=bnf|101,yeg=bnf|102,zeg=bnf|103,afg=bnf|104,bfg=bnf|105,cfg=bnf|106,dfg=bnf|107,efg=bnf|109,ffg=bnf|110,gfg=bnf|111;var hfg=0;var ifg=1;var jfg=2;var kfg=new Array();var klf=12;var lfg=8,mfg=8,nfg=8,
ind=10;var atd=0x000000,ofg=0x000080,pfg=0x008000,qfg=0x008080,rfg=0x800000,sfg=0x800080,tfg=0x808000,ufg=0x808080,vfg=0xC0C0C0,wfg=0x0000FF,xfg=0x00FF00,yfg=0x00FFFF,zfg=0xFF0000,agg=0xFF00FF,bgg=0xFFFF00,cgg=0xC0C0C0,dgg=0x808080,egg=0xFFFFFF,fgg=0xC0DCC0,ggg=0xF0CAA6,hgg=0xF0FBFF,igg=0xA4A0A0;var jgg=-1,iie=0,jge=1;var global=cnd=bfe=xbd=hfe=kk=yjd=kgg=jie=lgg=ref=lde=bod=wid=mgg=sad=ngg=vad=ogg=pgg=qgg=rgg=bdd=sgg=tgg=jdd=ugg=xyd=zdd=ffd=bbd=vgg=bse=knd=jnd=wgg=mnd=xgg=ygg=zgg=ahg=cye=dye=bhg=chg=abd=bme=ame=cme=dme=dhg=ehg=fhg=ghg=hhg=ihg=jhg=khg=lhg=mhg=nhg=mge=kge=g_WebAudioContext=gjd=eid=ohg=null,
ige=iie,phg=qhg=!0,rhg,axe=shg=bie=aie=the=nhd=thg=tle=uhg=vhg=whg=xhg=gid=yhg=cxe=zhg=!1,aig=ife=cig=dig=eig=fig=zne=aoe=coe=doe=boe=eoe=gig=hig=iig=mqd=oqd=rqd=tqd=nqd=bsd=dsd=foe=goe=jig=kig=lig=mig=nig=oig=pig=qig=rig=sig=tig=uig=eye=vig=wig=xig=yig=zig=ajg=ejf=bjg=cjg=djg=ejg=0;fjg=gjg=hjg=ijg=jjg=kjg=ljg=mjg=njg=ojg=pjg=qjg=rjg=sjg=tjg=ujg=vjg=wjg=xjg=yjg=zjg=akg=bkg=ckg=dkg=ekg=fkg=ohf=gkg=hkg=ikg=jkg=kkg=lkg=mkg=nkg=okg=0;var pkg=[],bid='canvas',qkg="0123456789ABCDEF";function rkg(){var debug=!1;
if((yjd.ti)&&(yjd.ti.vi)&&(yjd.ti.vi==!0)){debug=!0}if(!debug){evd=tud;gk=skg;ql=tkg;dm=ukg;jk=vkg;dl=wkg;ddd=fdd;vcd=cdd}else {evd=cvd;gk=xkg;ql=ykg;dm=zkg;jk=alg;dl=blg;ddd=edd;vcd=wcd}}function clg(){pkg=[];var dlg=~~0xEDB88320;for(var bg=0;bg<256;++bg){var elg=~~bg;for(var jqb=8;jqb>0;--jqb){if((elg&1)!=0){elg=((elg>>1)&0x7fffffff)^dlg}else {elg>>=1;elg&=0x7fffffff}}pkg[bg]=elg}}function flg(){clg();glg();if(ige!=jgg){var hlg=new Audio();hlg.controls=!1;bie=!!hlg.canPlayType&&""!=hlg.canPlayType('audio/mpeg');
aie=!!hlg.canPlayType&&""!=hlg.canPlayType('audio/ogg; codecs="vorbis"');hlg=null}if(bie)debug("Browser CAN play MP3");if(aie)debug("Browser CAN play OGG");rkg();ohg=aig=0;sad=null;axe=!1;ife=-1;cme=new ilg();ngg=new ilg();jlg=new ilg();dme=new ilg();bme=new jjd();ame=new jjd();ngg.mg=!0;jlg.mg=!0;vad=[];vad[0]=ngg;pgg=[];qgg=[];rgg=[];bdd=new pde(5);sgg=new pde(5);tgg=new pde(5);jdd=new pde(5);ugg=new pde(5);xyd=new pde(5);zdd=new pde(5);bbd=new pde(5);ffd=new pde(5);vgg=new eje();chg=new pde(5);abd=new jjd();ehg=new klg();
ehg.llg="DUMMY INSTANCE";kfg[0]=-1;kfg[1]=0;kfg[2]=0x00000000;kfg[3]=1;kfg[4]=0;kfg[5]=0x00000000;kfg[6]=0;kfg[7]=-1;kfg[8]=0x00000000;kfg[9]=0;kfg[10]=1;kfg[11]=0x00000000;kfg[12]=0;kfg[13]=0;kfg[14]=0xffffffff;bid="canvas";bhg="html5game/";bse=[];knd=[];jnd=[];wgg="Hiscore Table";mnd="<Nobody>";xgg="Press <ESC> to Continue";mig=0x000000;qig=-1;nig=0xffff00;oig=0xffffff;ygg="verdana";pig=16;zgg="";phg=!0;lnd();ijg=-1;jjg=-1;bbd.mlg();gig=0.0000001;ejf=512;gjd=[];tle=gid=cxe=qhg=!1;mhg=sig=null;
tig=uig=-1;xig=0;iig=1.0;cig=0;dig=-1;eig=0;rig=0;fig=0;nlg=!0;lig=10000000;hig=100000;mqd=1.0;rqd=0x00000000;oqd=0x000000;tqd=uqd(oqd);nqd=bqd(oqd,mqd);ohf=uqd(0x000000);gkg=uqd(0xffffff);hkg=uqd(0x0000ff);ikg=uqd(0x00ff00);jkg=uqd(0xff0000);kkg=uqd(0xff000000);lkg=uqd(0xffffffff);mkg=uqd(0xff0000ff);nkg=uqd(0xff00ff00);okg=uqd(0xffff0000);kjg=0;ljg=-1;mjg=-2;njg=-3;ojg=-4;pjg=-6;qjg=-7;rjg=-8;sjg=-9;tjg=-10;ujg=-11;vjg=-12;wjg=-13;xjg=-14;yjg=-15;zjg=-16;akg=-17;bkg=-18;ckg=-19;dkg=-20;ekg=-21;
fkg=-22;gjg=-1;fjg=-1;hjg=0;olg();global.ydf=[];if(yjd.ti&&yjd.ti.kj){bhg=yjd.ti.kj+'/'}if(yjd.ti&&yjd.ti.aj==!1){canvas.style.cursor="none"}vhg=!1;if(yjd.ti&&yjd.ti.nj==!0){vhg=!0}if(typeof plg=='function'){plg()}}function qlg(rlg){return rlg*(Math.PI/180.0)}function slg(qad,rad){if(qad==0)return 0;var iib=((qad*0x1000000)%(rad*0x1000000));iib=iib/0x1000000;return iib;}function sxd(qad){return qad*qad}function uqd(wpd){var tnd="rgb("+((wpd>>16)&0xff).toString()+","+((wpd>>8)&0xff).toString()+","+((wpd>>0)&0xff).toString()+")";
return tnd}function bqd(wpd,xpd){var tnd="rgba("+((wpd>>16)&0xff).toString()+","+((wpd>>8)&0xff).toString()+","+((wpd>>0)&0xff).toString()+","+((xpd*255.0)&0xff).toString()+")";return tnd}function tlg(rlg){return cwd*rlg/180.0}function cqd(wpd){return(((wpd&0xff)<<16)|(wpd&0xff00)|((wpd&0xff0000)>>16))}function fud(wnd,vdd,ulg,dfe){var xab=fud.arguments;var pwd=fud.arguments.length;var vlg=xab[pwd-1];vdd=~~vdd;if(vdd==gud)return dfe;if(vdd==lxd){var gmc=bfe.bzd();for(var zfd=0;zfd<gmc.length;zfd++){var bud=gmc[zfd];
if((ulg)&&(bud==wnd))continue;if(bud.cfe)continue;var r=vlg(bud);if(r>0)return r}}else if(vdd<100000){var ned=cnd.cbd(vdd);if(ned===null){return dfe}var gmc=ned.efe();for(var zfd=0;zfd<gmc.length;zfd++){var bud=gmc[zfd];if((ulg)&&(wnd==bud))continue;if(bud.cfe)continue;var r=vlg(bud);if(r>0)return r}}else {var bud=bfe.wlg(vdd);if((ulg)&&(wnd==bud)){return dfe}if(bud.cfe){return dfe}return vlg(bud)}return dfe}function xlg(wnd,vdd,ulg,dfe){var xab=xlg.arguments;var pwd=xlg.arguments.length;var vlg=xab[pwd-1];var kab=10000000000;
var id=-1;vdd=~~vdd;if(vdd==gud)return dfe;if(vdd==lxd){var gmc=bfe.bzd();for(var zfd=0;zfd<gmc.length;zfd++){var bud=gmc[zfd];if((ulg)&&(bud==wnd))continue;if(bud.cfe)continue;var kcb=vlg(bud);if(kcb<kab){kab=kcb}}if(kab!=10000000000)return kab}else if(vdd<100000){var ned=cnd.cbd(vdd);if(ned===null){return dfe}var gmc=ned.efe();for(var zfd=0;zfd<gmc.length;zfd++){var bud=gmc[zfd];if((ulg)&&(wnd==bud))continue;if(bud.cfe)continue;var kcb=vlg(bud);if(kcb<kab){kab=kcb}}if(kab!=10000000000)return kab}else {var bud=bfe.wlg(vdd);
if((ulg)&&(wnd==bud)){return dfe}if(bud.cfe){return dfe}return vlg(bud)}return dfe}var ylg={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.zlg=this.searchString(this.dataOS)||"an unknown OS";this.amg=this.bmg()},bmg: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 nmf;}},searchString:function(data){for(var bg=0;bg<data.length;bg++){var cmg=data[bg].iod;var dmg=data[bg].prop;this.versionSearchString=data[bg].versionSearch||data[bg].identity;if(cmg){if(cmg.indexOf(data[bg].emg)!=-1){return data[bg].identity}
}else if(dmg){return data[bg].identity}}},searchVersion:function(cmg){var ai=cmg.indexOf(this.versionSearchString);if(ai==-1)return;return parseFloat(cmg.substring(ai+this.versionSearchString.length+1))},dataBrowser:[{iod:navigator.userAgent,emg:"Tizen",identity:"Tizen"},{iod:navigator.userAgent,emg:"Chrome",identity:"Chrome"},{iod:navigator.userAgent,emg:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{iod:navigator.vendor,emg:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,
identity:"Opera"},{iod:navigator.userAgent,emg:"KHTML",identity:"KHTML",versionSearch:"Mozilla/"},{iod:navigator.vendor,emg:"iCab",identity:"iCab"},{iod:navigator.vendor,emg:"KDE",identity:"Konqueror"},{iod:navigator.userAgent,emg:"Firefox",identity:"Firefox"},{iod:navigator.userAgent,emg:"IceWeasel",identity:"IceWeasel"},{iod:navigator.vendor,emg:"Camino",identity:"Camino"},{iod:navigator.userAgent,emg:"Netscape",identity:"Netscape"},{iod:navigator.userAgent,emg:"MSIE",identity:"Explorer",versionSearch:"MSIE"}
,{iod:navigator.userAgent,emg:"Gecko",identity:"Mozilla",versionSearch:"rv"}],dataOS:[{iod:navigator.platform,emg:"Win",identity:"Windows"},{iod:navigator.platform,emg:"Mac",identity:"Mac"},{iod:navigator.userAgent,emg:"iPhone",identity:"iPhone"},{iod:navigator.userAgent,emg:"iPod",identity:"iPhone"},{iod:navigator.userAgent,emg:"iPad",identity:"iPad"},{iod:navigator.userAgent,emg:"Android",identity:"Android"},{iod:navigator.userAgent,emg:"Tizen",identity:"Tizen"},{iod:navigator.platform,emg:"Linux",
identity:"Linux"}]};function glg(){ylg.init();if(ylg.zlg=="Windows"){hqe=emf}else if(ylg.zlg=="Mac"){hqe=gmf}else if(ylg.zlg=="iPhone"){hqe=imf}else if(ylg.zlg=="iPad"){hqe=imf}else if(ylg.zlg=="Android"){hqe=jmf}else if(ylg.zlg=="Linux"){hqe=lmf}else if(ylg.zlg=="Tizen"){hqe=mmf}else {hqe=vlf}if(ylg.zlg!=""){debug(ylg.zlg+" Detected("+hqe+")")}nqe=ylg.amg;lqe=vlf;jqe=qlf;if(ylg.browser=="Explorer"){debug("Internet Explorer detected");lqe=wlf}else if(ylg.browser=="Firefox"){debug("Firefox detected");lqe=xlf}
else if(ylg.browser=="Chrome"){debug("Chrome detected");lqe=ylf}else if(ylg.browser=="Safari"){if(hqe==imf){lqe=amf;jqe=rlf;if(ylg.zlg=="iPad")jqe=tlf;debug("Safari mobile detected");}else {debug("Safari detected");lqe=zlf}}else if(ylg.browser=="Opera"){debug("BrowserDetect: "+ylg.zlg);debug("Opera detected");lqe=bmf}else if(ylg.browser=="KHTML"){debug("Default Android browser detected");debug("OS: "+nqe);lqe=cmf}else if(ylg.browser=="Tizen"){lqe=ulf}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(hqe!=mmf){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. "+pjd(13)+pjd(13)+"Please check the FAQ for more details. "+pjd(13)+pjd(13)+"http://wiki.yoyogames.com/index.php/GameMaker:Studio_FAQ");
}}}function olg(){try{if('localStorage' in window&&window['localStorage']!==null){rhg=!0}}catch(e){rhg=!1}return rhg}var fmg=0;var rhe=0;var gmg=0;var hmg=0;var jmg=null;var kmg=null;function lmg(){global=new nlf();kk=new mmg();xbd=new nmg();omg(canvas);bfe=new pmg();cnd=new qmg();hfe=new rmg();bvd=new smg();lgg=new tmg();jie=new umg();fmd=new vmg();ref=[];lde=new wmg();bod=new xmg();wid=new ymg();flg()}function zmg(ang){switch(ang){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 bng(ang){switch(ang){case 0:return "NETWORK_EMPTY";case 1:return "NETWORK_IDLE";case 2:return "NETWORK_LOADING";case 3:return "NETWORK_NO_SOURCE"}return "Unknown Error"}function cng(mod){debug("ImageLoaded: "+this.src);jmg[this.URL]=null;rhe++}function dng(mod){debug("ImageError: "+this.src);jmg[this.URL]=null;rhe++}function eng(mod){hmg++;debug("ExtensionLoaded: ")}function fng(mod){hmg++;debug("ExtensionError: ")}function ClearEventListeners(gng){
gng.removeEventListener('canplaythrough',hng,!1);gng.removeEventListener('error',ing,!1);gng.removeEventListener("loadstart",jng,!1);gng.removeEventListener("suspend",kng,!1);gng.removeEventListener("stalled",lng,!1);gng.removeEventListener("stall",lng,!1)}function hng(mod){this.completed=!0;if(jmg[this.URL]!=null){jmg[this.URL]=null;rhe++}ClearEventListeners(this);debug("SoundLoaded: "+this.URL)}function ing(mod){debug("SoundError: "+this.URL+"   NetworkError: "+zmg(this.error["code"]));this.completed=!1;
if(jmg[this.URL]!=null){jmg[this.URL]=null;rhe++}ClearEventListeners(this)}function jng(mod){this.mng=!0}function kng(mod){debug("SoundSuspended: "+this.URL);this.completed=!0;if(jmg[this.URL]!=null){jmg[this.URL]=null;rhe++}ClearEventListeners(this)}function lng(mod){}function nng(ong){debug("Loading: "+ong);var ai=png(ong);var dje=new eje();dje.dg=0;dje.eg=0;dje.fg=63;dje.gg=63;dje.li=-32;dje.mi=-32;dje.ni=63;dje.oi=63;dje.pi=dje.fg;dje.qi=dje.gg;dje.ri=ai;dje.hje=ije[ai];dje.jbb=[];dje.nle=32;dje.teb=0;
var qng=pgg.length;pgg[qng]=dje;return qng}function rng(sng){debug("Loading: "+bhg+sng);var e=window.document.createElement('script');e.setAttribute('src',bhg+sng);e.setAttribute('type',"text/javascript");e.onload=eng;e.onerror=fng;window.document.body.appendChild(e);gmg++}function tng(ung){if(ung.pe!=undefined){for(var bg=0;bg<ung.pe.length;bg++){var vng=ung.pe[bg];if(vng.wng){for(var bkd=0;bkd<vng.wng.length;bkd++){rng(vng.wng[bkd]);}}}}}function xng(ung){jmg=[];gmg=0;hmg=0;tng(ung)}function yng(ung){if(ung.zng)document.title=ung.zng;
kmg=document.getElementById('GM4HTML5_loadingscreen');if(rxe==""){xng(ung);rxe=aog}else {try{rxe=eval(rxe)}catch(e){rxe=aog}}rhe=0;for(ai=0;ai<ung.si.length;ai++){fmg++;debug("Loading: "+bhg+ung.si[ai]);var ai=png(bhg+ung.si[ai]);ije[ai].onload=cng;ije[ai].onerror=dng;ije[ai].URL=ung.si[ai];jmg[ije[ai].URL]=ije[iib]}for(var bg=2;bg<16;bg++){fmg++;var ao=nng(bhg+"particles/IDR_GIF"+bg+".png");var iib=pgg[ao].ri;ije[iib].onload=cng;ije[iib].onerror=dng;ije[iib].URL="particles/IDR_GIF"+bg+".png";jmg[ije[iib].URL]=ije[iib]}
if(ige==jge){for(ai=0;ai<ung.qe.length;ai++){if(ung.qe[ai]!=null){fmg++;debug("Loading: "+bhg+ung.qe[ai].ue);if(ung.qe[ai].se==0){var id=die(bhg+ung.qe[ai].ue,ai,ung.qe[ai].te);if(id>=0){}else {fmg--}}else if(ung.qe[ai].se==3){vhe(bhg+ung.qe[ai].ue,ai,ung.qe[ai].te);fmg--}else {debug("Attempting to load sound with unknown type: "+ung.qe[ai].se)}}}}else if(ige==iie){for(ai=0;ai<ung.qe.length;ai++){if(ung.qe[ai]!=null){fmg++;debug("Loading: "+bhg+ung.qe[ai].ue);var id=bog(bhg+ung.qe[ai].ue,ung.qe[ai].re,
ung.qe[ai].te,hng,ing);if(id>=0&&jmg[gie[id].URL]){jmg[gie[id].URL]=gie[id]}else {fmg--}}}}}function cog(){for(var bg in jmg){var dog=jmg[bg];if(dog){if((dog.eog)&&(dog.readyState)){if((dog.eog==1||dog.eog==3)&&(dog.mng)&&(dog.readyState!=4)){if(dog.completed!=!0){dog.completed=!1;rhe++;jmg[bg]=null;ClearEventListeners(dog);debug("SoundError: "+dog.URL+"   NetworkState: "+bng(dog.eog))}}}}}}function fog(gog,ned){if(ned.hog)return;if(ned.cid!=null){fog(ned.cid.nvd,ned.cid)}for(var iog in ned.jog){if(ref[iog]){
if(ref[iog][gog]){continue}}var zvb=!1;var kog=ned;while(kog!=null){var id=kog.nvd;var mog=cnd.cbd(iog);while(mog!=null){var nog=mog.nvd;if(ref[nog]&&ref[nog][id]){zvb=!0;break}mog=mog.cid}kog=kog.cid}if(!zvb){if(!ref[gog]){ref[gog]=[]}ref[gog][iog]=iog}}ned.hog=!0}function oog(){var gmc=cnd.bzd();for(var gog in gmc){var ned=gmc[gog];if(ned.cid!=null){fog(ned.cid.nvd,ned.cid)}fog(gog,ned)}}function pog(ung){var ai,qog;hig=1000000;kk.rog=ung.ti.wi;bjg=ung.ti.mj;thg=ung.ti.bj;fqe=ung.ti.lj;kk.sog=bhg;if(fhg)kk.tog=!0;
dhg=new uog(ung.jg);zig=ung.ti.pj;var id=0;for(ai in ung.kg){var vog=ung.kg[ai];if(vog!=null){var yud=wog(id,vog);cnd.oub(yud)}id++}cnd.xog();oog();for(ai in ung.oh){var yog=ung.oh[ai];if(yog!=null){qog=new zog();qog.apg(yog);hfe.oub(qog)}else {aig++;hfe.oub(null)}}zig=ung.ti.oj;hfe.bpg(ung.ji);for(var bg=0;bg<ung.ji.length;bg++){qog=hfe.cpg(bg);qog.dpg=bg}kk.epg=hfe.cpg(0).id;kk.fpg=hfe.cpg(hfe.gpg.length-1).id;hpg(ung.ki);for(ai=0;ai<ung.xe.length;ai++){if(ung.xe[ai]==null){bvd.pje(null)}else {var avd=ipg(ung.xe[ai]);
bvd.pje(avd)}}for(ai=0;ai<ung.gf.length;ai++){var jpg=lgg.kpg(ung.gf[ai]);var dke=lgg.lpg(jpg);if(dke!=null)dke.igb=mpg}for(ai=0;ai<ung.pf.length;ai++){fmd.oub(ung.pf[ai])}for(ai=0;ai<ung.jf.length;ai++){var kde=npg(ung.jf[ai]);lde.oub(kde)}for(ai=0;ai<ung.qe.length;ai++){jie.oub(ung.qe[ai])}if(ung.ig!=undefined){for(ai=0;ai<ung.ig.length;ai++){bod.oub(ung.ig[ai])}}lnd();end();if(typeof vj=='function'){nhg=new vj()}if(typeof wj=='function'){wj()}if(ung.pe!=undefined){for(var bg=0;bg<ung.pe.length;bg++){
var vng=ung.pe[bg];try{var mkd=eval(vng.init);if(mkd)mkd()}catch(uhe){yhc("Error calling extension initialisation function: "+vng.init.name)}}}}var opg=0;var ppg=1;var qpg=2;var rpg=3;var spg=4;var tpg=5;var upg=6;var vpg=7;var wpg=8;var xpg=9;var ypg=10;var zpg=11;var aqg=12;var bqg=13;var cqg=14;var dqg=15;function eqg(fqg){this.hgb=new Float32Array(16);if(eqg.arguments.length>0){for(var bg=0;bg<16;bg++){this.hgb[bg]=fqg.hgb[bg]}}else {this.gqg()}};;eqg.prototype.gqg=function(sab){this.hgb[1]=this.hgb[2]=this.hgb[3]=this.hgb[4]=this.hgb[6]=this.hgb[7]=this.hgb[8]=this.hgb[9]=this.hgb[11]=this.hgb[12]=this.hgb[13]=this.hgb[14]=0.0;
this.hgb[0]=this.hgb[5]=this.hgb[10]=this.hgb[15]=1.0};eqg.prototype.hqg=function(iqg,jqg,kqg){var lqg=new mqg(kqg);var nqg=new mqg();var oqg=jqg.pqg(iqg);oqg.qqg();lqg.qqg();nqg.rqg(lqg,oqg);nqg.qqg();lqg.rqg(oqg,nqg);lqg.qqg();var sqg=iqg.tqg(nqg);var uqg=iqg.tqg(lqg);var vqg=iqg.tqg(oqg);this.hgb[opg]=nqg.sqg;this.hgb[ppg]=lqg.sqg;this.hgb[qpg]=oqg.sqg;this.hgb[rpg]=0.0;this.hgb[spg]=nqg.uqg;this.hgb[tpg]=lqg.uqg;this.hgb[upg]=oqg.uqg;this.hgb[vpg]=0.0;this.hgb[wpg]=nqg.vqg;this.hgb[xpg]=lqg.vqg;this.hgb[ypg]=oqg.vqg;
this.hgb[zpg]=0.0;this.hgb[aqg]=-sqg;this.hgb[bqg]=-uqg;this.hgb[cqg]=-vqg;this.hgb[dqg]=1};eqg.prototype.wqg=function(pcd,qcd,xqg,yqg){this.hgb[opg]=2.0/pcd;this.hgb[ppg]=this.hgb[qpg]=0.0;this.hgb[rpg]=0;this.hgb[tpg]=2.0/qcd;this.hgb[spg]=this.hgb[upg]=0.0;this.hgb[vpg]=0;this.hgb[wpg]=this.hgb[xpg]=0.0;this.hgb[ypg]=1.0/(yqg-xqg);this.hgb[zpg]=0;this.hgb[aqg]=this.hgb[bqg]=0.0;this.hgb[cqg]=xqg/(xqg-yqg);this.hgb[dqg]=1.0};function eje(){this.dg=0;this.eg=0;this.fg=0;this.gg=0;this.li=0;this.mi=0;
this.ni=0;this.oi=0;this.pi=0;this.qi=0;this.ri=0;this.igb=mpg}function mpg(hke){this.dg=hke.dg;this.eg=hke.eg;this.fg=hke.fg;this.gg=hke.gg;this.li=hke.li;this.mi=hke.mi;this.ni=hke.ni;this.oi=hke.oi;this.pi=hke.pi;this.qi=hke.qi;this.ri=hke.ri}function god(bfd){yhd("clipboard_set_text()")};var zqg=!0;function mqg(arg,brg,crg){if(mqg.arguments.length>0){if(mqg.arguments.length==3){this.sqg=arg;this.uqg=brg;this.vqg=crg}else {this.sqg=arg.sqg;this.uqg=arg.uqg;this.vqg=arg.vqg;}}else {this.sqg=1.0;this.uqg=0.0;
this.vqg=0.0}}mqg.prototype.oub=function(sab){return new mqg(this.sqg+sab.sqg,this.uqg+sab.uqg,this.vqg+sab.vqg)};mqg.prototype.pqg=function(sab){return new mqg(this.sqg-sab.sqg,this.uqg-sab.uqg,this.vqg-sab.vqg)};mqg.prototype.qqg=function(){var shd=1.0/Math.sqrt((this.sqg*this.sqg)+(this.uqg*this.uqg)+(this.vqg*this.vqg));this.sqg=this.sqg*shd;this.uqg=this.uqg*shd;this.vqg=this.vqg*shd};mqg.prototype.rqg=function(drg,erg){this.sqg=(drg.uqg*erg.vqg)-(drg.vqg*erg.uqg);this.uqg=(drg.vqg*erg.sqg)-(drg.sqg*erg.vqg);
this.vqg=(drg.sqg*erg.uqg)-(drg.uqg*erg.sqg)};mqg.prototype.tqg=function(frg){return(this.sqg*frg.sqg)+(this.uqg*frg.uqg)+(this.vqg*frg.vqg)};function pde(grg){var owd=pde.arguments;var pwd=pde.arguments.length;this.gmc=[];this.seb=[];this.length=0;this.teb=0;if(pwd>0){for(var bg=0;bg<pwd;bg++){this.gmc[bg]=null;this.seb.push(bg)}}}pde.prototype.mlg=function(){var kwe;if(this.seb.length==0){kwe=this.gmc.length;this.gmc[kwe]=null;return kwe}return this.seb.pop()};pde.prototype.oub=function(hrg){var ai=this.mlg();
this.gmc[ai]=hrg;this.teb++;this.length=this.gmc.length;return ai};pde.prototype.cbd=function(jxd){var ded=this.gmc[jxd];if(ded==undefined)ded=null;return ded};pde.prototype.irg=function(jrg){for(var ylb=0;ylb<this.gmc.length;ylb++){if(this.gmc[ylb]==jrg)return ylb}return -1};pde.prototype.krg=function(jrg){var ai=irg(jrg);if(ai<0)return;gmc[ai]=null;seb.push(ai);this.teb--};pde.prototype.bed=function(jxd){if(jxd<0||jxd>=this.gmc.length)return;this.gmc[jxd]=null;this.seb.push(jxd);this.teb--};pde.prototype.efc=function(){
this.gmc=[];this.seb=[];this.teb=0;this.length=this.gmc.length};pde.prototype.hv=function(hie,ycd){if(hie<0||hie>=this.gmc.length)return;this.gmc[hie]=ycd};var lrg=0,mrg=1,nrg=2,org=3,prg=4,qrg=5,xid=6,rrg=0,qid=1,uid=-1;var srg=[];var trg=[];function urg(vdd,vrg){srg.push(vdd);trg.push(vrg)}function nid(vdd){var bg=0;for(bg=0;bg<srg.length;bg++){if(srg[bg]==vdd){var tvd=trg[bg];trg.splice(bg,1);srg.splice(bg,1);return tvd}}return undefined;}function wrg(){this.xrg="";this.yrg=-1;this.pid=0;this.zrg=null;
this.asg=lrg;this.oid=!1}function ymg(){this.gmc=new pde(5)};ymg.prototype.bzd=function(){return this.gmc};ymg.prototype.oub=function(xcd,ong,udd,bsg){var tvd=new wrg();tvd.yrg=xcd;tvd.xrg=ong;tvd.zrg=bsg;tvd.asg=udd;this.gmc.oub(tvd);urg(bsg,tvd)};ymg.prototype.csg=function(){var rwe=xdd();kk.dsg=rwe;var gmc=this.gmc.gmc;for(var bg=0;bg<gmc.length;bg++){var tvd=gmc[bg];if(tvd!=null){if(tvd.oid){ced(rwe);if(tvd.asg==qrg){led(rwe,"filename","");led(rwe,"url",tvd.xrg);led(rwe,"result",tvd.vvd);led(rwe,"http_status",
tvd.uvd)}else if(tvd.asg==xid){led(rwe,"username",tvd.kid);led(rwe,"password",tvd.lid);led(rwe,"url","");led(rwe,"result",tvd.lt);led(rwe,"value",tvd.value);led(rwe,"http_status",0)}else {led(rwe,"url","");led(rwe,"result","");led(rwe,"http_status",0);led(rwe,"filename",tvd.xrg)}led(rwe,"id",tvd.yrg);led(rwe,"status",tvd.pid);if(tvd.asg==mrg)cnd.esg(sof,0);else if(tvd.asg==nrg)cnd.esg(sof,0);else if(tvd.asg==org)cnd.esg(sof,0);else if(tvd.asg==prg)cnd.esg(tof,0);else if(tvd.asg==qrg)cnd.esg(uof,0);else if(tvd.asg==xid)cnd.esg(vof,
0);this.gmc.bed(bg)}}}aed(rwe);kk.dsg=-1};function fsg(){this.qjd="[Background]";this.re="";this.hf=!1;this.ye=!1;this.preload=!1;this.gsg=null}function hsg(isg){var dke=new fsg();dke.re=isg.re;if(isg.hf!=undefined)dke.hf=isg.hf;if(isg.ye!=undefined)dke.ye=isg.ye;if(isg.preload!=undefined)dke.preload=isg.preload;dke.gsg=jsg(isg.bf);return dke};function ksg(isg){this.efc();if(isg.mg!=undefined)this.mg=isg.mg;if(isg.sh!=undefined)this.sh=isg.sh;if(isg.ai!=undefined)this.ai=isg.ai;if(isg.dg!=undefined)this.dg=isg.dg;
if(isg.eg!=undefined)this.eg=isg.eg;if(isg.th!=undefined)this.lsg=isg.th;if(isg.uh!=undefined)this.msg=isg.uh;if(isg.tjf!=undefined)this.nsg=isg.tjf;if(isg.ujf!=undefined)this.osg=isg.ujf;if(isg.ii!=undefined)this.ii=isg.ii;if(isg.ekb!=undefined)this.ekb=isg.ekb;if(isg.psg!=undefined)this.psg=isg.psg}ksg.prototype.efc=function(){this.mg=!1;this.sh=!1;this.ai=-1;this.dg=0;this.eg=0;this.lsg=!0;this.msg=!0;this.nsg=0;this.osg=0;this.qsg=1;this.rsg=1;this.ii=!1;this.ekb=1.0;this.psg=0xffffff};function tmg(){
this.ssg=[];this.tsg=[];this.length=0}tmg.prototype.lpg=function(hie){return this.ssg[hie]};tmg.prototype.cbd=function(hie){return this.tsg[hie];};tmg.prototype.efc=function(){this.tsg=[];length=0};tmg.prototype.kpg=function(isg){var usg=null;if(isg!=null){usg=hsg(isg)}return this.vsg(usg)};tmg.prototype.vsg=function(wsg){var bg=this.ssg.length;this.ssg[bg]=wsg;this.length=bg+1;return bg};tmg.prototype.oub=function(isg){with(this){var usg=null;if(isg!=null){usg=new ksg(isg)}tsg[tsg.length]=usg}};var xsg=-1,
ysg=-2,zsg=-3;var atg=0,btg=1,ctg=2,dtg=3;var etg=0,ftg=1,gtg=2,htg=3,itg=4,jtg=5,ktg=6,ltg=7,mtg=8,ntg=9,otg=10,ptg=11;var qtg=0,rtg=1,stg=2;function ttg(smd){var qf=1;while(qf<=1024){if(smd<=qf)return qf;qf=qf<<1}return 1024}function utg(smd,udd,vtg){vtg=ttg(vtg&0x1ff);this.wtg=smd+vtg;this.xtg=new ArrayBuffer(this.wtg);this.ytg=new Uint8Array(this.xtg);this.ztg=new aug(this.xtg);this.asg=udd;this.bug=smd;this.cug=vtg;this.dug=0;this.eug=new ArrayBuffer(8);this.fug=new Uint8Array(this.eug);this.gug=new hug(this.eug);
this.iug=new Int16Array(this.eug);this.jug=new kug(this.eug);this.lug=new Int32Array(this.eug);this.mug=new Float32Array(this.eug);this.nug=new oug(this.eug)}function mmg(){this.qjd="[BuiltIn]";this.pug=0;this.epg=0;this.fpg=0;this.qug=0;this.rug=0;this.sug=0;this.tug=0;this.uug=100;this.rog=0;this.sog="/";this.vug="/";this.wug="/";this.xug=0;this.yug=0;this.fl=0;this.el=0;this.zug="room";this.xm=30;this.avg=!1;this.bvg=0x00000000;this.cvg=!1;this.dvg=!1;this.evg=!1;this.fvg=0;this.gvg=0;this.hvg=0;this.ivg=0;
this.jvg=0;this.kvg=0;this.lvg=0;this.mvg=1.0;this.nvg=1.0;this.ovg=0;this.pvg=0;this.qvg=0;this.rvg=1.0;this.svg=!1;this.tvg=0;this.uvg=0;this.vvg=0;this.wvg=0;this.xvg=0;this.yvg=0;this.zvg=0;this.awg=0;this.bwg=0;this.cwg=0;this.dwg=0;this.ewg=0;this.fwg=0;this.gwg=0;this.hwg=0;this.iwg=0;this.lk=0;this.mk=0;this.jwg=0;this.kwg=0;this.lwg=0;this.mwg=0;this.nwg="";this.owg="";this.tog=!1;this.pwg=!1;this.qwg=!1;this.rwg=!1;this.swg="score";this.twg="lives";this.uwg="health";this.vwg=0;this.wwg=0;
this.xwg=0;this.ywg=0;this.zwg=0;this.axg=0;this.bxg=0;this.cxg=0;this.dxg=0;this.exg=0;this.fxg=0;this.gxg=0;this.hxg=0;this.zqg=0;this.ixg=0;this.jxg=0;this.kxg=!0;this.lxg=!0;this.mxg=8.2;this.dsg=-1;this.nxg=!1;this.ydf=[];this.ydf["__view_visible__"]=new zdf("__view_visible__",1);this.ydf["__view_xview__"]=new zdf("__view_xview__",1);this.ydf["__view_yview__"]=new zdf("__view_yview__",1);this.ydf["__view_wview__"]=new zdf("__view_wview__",1);this.ydf["__view_hview__"]=new zdf("__view_hview__",1);
this.ydf["__view_xport__"]=new zdf("__view_xport__",1);this.ydf["__view_yport__"]=new zdf("__view_yport__",1);this.ydf["__view_wport__"]=new zdf("__view_wport__",1);this.ydf["__view_hport__"]=new zdf("__view_hport__",1);this.ydf["__view_angle__"]=new zdf("__view_angle__",1);this.ydf["__view_hborder__"]=new zdf("__view_hborder__",1);this.ydf["__view_vborder__"]=new zdf("__view_vborder__",1);this.ydf["__view_hspeed__"]=new zdf("__view_hspeed__",1);this.ydf["__view_vspeed__"]=new zdf("__view_vspeed__",1);this.ydf["__view_object__"]=new zdf("__view_object__",
1);this.ydf["__view_surface_id__"]=new zdf("__view_surface_id__",1);this.ydf["__background_visible__"]=new zdf("__background_visible__",1);this.ydf["__background_foreground__"]=new zdf("__background_foreground__",1);this.ydf["__background_index__"]=new zdf("__background_index__",1);this.ydf["__background_x__"]=new zdf("__background_x__",1);this.ydf["__background_y__"]=new zdf("__background_y__",1);this.ydf["__background_width__"]=new zdf("__background_width__",1);this.ydf["__background_height__"]=new zdf("__background_height__",
1);this.ydf["__background_htiled__"]=new zdf("__background_htiled__",1);this.ydf["__background_vtiled__"]=new zdf("__background_vtiled__",1);this.ydf["__background_xscale__"]=new zdf("__background_xscale__",1);this.ydf["__background_yscale__"]=new zdf("__background_yscale__",1);this.ydf["__background_hspeed__"]=new zdf("__background_hspeed__",1);this.ydf["__background_vspeed__"]=new zdf("__background_vspeed__",1);this.ydf["__background_blend__"]=new zdf("__background_blend__",1);this.ydf["__background_alpha__"]=new zdf("__background_alpha__",
1)}mmg.prototype.rn=function(){return sad.id};mmg.prototype.cbb=function(oxg){for(var qo in oxg){var ao=oxg[qo];this[qo]=ao}};var pxg=0;var qxg=1;var rxg=2;var sxg=3;var txg=4;var uxg=5;var vxg=6;var wxg=7;var xxg=8;var yxg=9;var zxg=10;var ayg=11;var byg=12;var cyg=13;var dyg=14;function eyg(){this.fyg=[];this.ggb()}eyg.prototype.ggb=function(hie,gyg){this.fyg.length=0;this.hyg=[];this.hyg[0]=1;this.hyg[1]=1;this.iyg=undefined};eyg.prototype.jyg=function(uhd){ghg.kyg();this.fyg.push(uhd)};eyg.prototype.lyg=function(hie,
gyg){if(this.hyg[hie]==gyg)return;this.hyg[hie]=gyg;this.fyg.push(qxg);this.fyg.push(gyg)};eyg.prototype.myg=function(nyg){if(this.iyg==nyg)return;this.iyg=nyg;this.fyg.push(ayg);this.fyg.push(nyg)};eyg.prototype.oyg=function(pyg,qyg){this.fyg.push(rxg);this.fyg.push(pyg);this.fyg.push(qyg)};eyg.prototype.ryg=function(pyg,qyg){this.fyg.push(sxg);this.fyg.push(pyg);this.fyg.push(qyg)};eyg.prototype.syg=function(pyg,qyg){this.fyg.push(txg);this.fyg.push(pyg);this.fyg.push(qyg)};eyg.prototype.tyg=function(pyg,
qyg){this.fyg.push(uxg);this.fyg.push(pyg);this.fyg.push(qyg)};eyg.prototype.uyg=function(pyg,qyg){this.fyg.push(vxg);this.fyg.push(pyg);this.fyg.push(qyg)};eyg.prototype.vyg=function(pyg,qyg){this.fyg.push(wxg);this.fyg.push(pyg);this.fyg.push(qyg)};eyg.prototype.wyg=function(fqg){this.fyg.push(xxg);var xyg=new eqg(fqg);this.fyg.push(xyg)};eyg.prototype.yyg=function(fqg){this.fyg.push(yxg);var xyg=new eqg(fqg);this.fyg.push(xyg)};eyg.prototype.zyg=function(qad,rad,pcd,qcd){this.fyg.push(zxg);this.fyg.push(qad);
this.fyg.push(rad);this.fyg.push(pcd);this.fyg.push(qcd)};eyg.prototype.azg=function(bzg,wpd){this.fyg.push(byg);this.fyg.push(bzg);this.fyg.push(~~wpd)};eyg.prototype.czg=function(dzg){this.fyg.push(cyg);this.fyg.push(dzg)};eyg.prototype.ezg=function(){var bg,fyg,error;bg=0;fyg=this.fyg;fhg.useProgram(fhg.fzg);fhg.enable(fhg.BLEND);fhg.blendFuncSeparate(fhg.SRC_ALPHA,fhg.ONE_MINUS_SRC_ALPHA,fhg.ONE,fhg.ONE);fhg.activeTexture(fhg.TEXTURE0);while(bg<fyg.length){switch(fyg[bg]){case xxg:fhg.uniformMatrix4fv(fhg.fzg.gzg,
!1,fyg[bg+1].hgb);bg+=2;break;case yxg:fhg.uniformMatrix4fv(fhg.fzg.hzg,!1,fyg[bg+1].hgb);bg+=2;break;case byg:var tnd=fyg[bg+2];fhg.clearColor((tnd&0xff)/255.0,((tnd>>8)&0xff)/255.0,((tnd>>16)&0xff)/255.0,((tnd>>24)&0xff)/255.0);fhg.clear(fyg[bg+1]);bg+=3;break;case zxg:{fhg.viewport(fyg[bg+1],fyg[bg+2],fyg[bg+3],fyg[bg+4]);bg+=5;break}case cyg:{fhg.bindFramebuffer(fhg.FRAMEBUFFER,fyg[bg+1]);bg+=2;break}case dyg:{fhg.colorMask(fyg[bg+2],fyg[bg+3],fyg[bg+4],fyg[bg+1]);bg+=5;break}case qxg:var hje=fyg[bg+1];
if(hje==null){hje=fhg.izg.hje;fhg.activeTexture(fhg.TEXTURE0);fhg.bindTexture(fhg.TEXTURE_2D,hje.jzg);fhg.uniform1i(fhg.fzg.kzg,0);fhg.uniform2f(fhg.fzg.lzg,1.0/hje.scd,1.0/hje.tcd)}else {fhg.activeTexture(fhg.TEXTURE0);fhg.bindTexture(fhg.TEXTURE_2D,hje.jzg);fhg.uniform1i(fhg.fzg.kzg,0);fhg.uniform2f(fhg.fzg.lzg,1.0/hje.scd,1.0/hje.tcd)}bg+=2;break;case ayg:{var mzg=fyg[bg+1];if(mzg.nzg)mzg.ozg();mzg.pzg=qzg;fhg.bindBuffer(fhg.ARRAY_BUFFER,mzg.rzg);fhg.enableVertexAttribArray(fhg.fzg.szg);fhg.vertexAttribPointer(fhg.fzg.szg,
2,fhg.SHORT,!1,0,0);fhg.bindBuffer(fhg.ARRAY_BUFFER,mzg.tzg);fhg.enableVertexAttribArray(fhg.fzg.uzg);fhg.vertexAttribPointer(fhg.fzg.uzg,4,fhg.UNSIGNED_BYTE,!0,0,0);fhg.bindBuffer(fhg.ARRAY_BUFFER,mzg.vzg);fhg.enableVertexAttribArray(fhg.fzg.wzg);fhg.vertexAttribPointer(fhg.fzg.wzg,2,fhg.SHORT,!1,0,0);bg+=2}break;case rxg:{fhg.drawArrays(fhg.TRIANGLES,fyg[bg+1],fyg[bg+2]);bg+=3;break}case sxg:{fhg.drawArrays(fhg.TRIANGLE_FAN,fyg[bg+1],fyg[bg+2]);bg+=3;break}case txg:{fhg.drawArrays(fhg.TRIANGLE_STRIP,
fyg[bg+1],fyg[bg+2]);bg+=3;break}case uxg:{fhg.drawArrays(fhg.LINES,fyg[bg+1],fyg[bg+2]);bg+=3;break}case vxg:{fhg.drawArrays(fhg.LINE_STRIP,fyg[bg+1],fyg[bg+2]);bg+=3;break}case wxg:{fhg.drawArrays(fhg.POINT,fyg[bg+1],fyg[bg+2]);bg+=3;break}}}};function ymd(){this.qjd="[Font]";this.zmd=!1;this.xzg=!1;this.re="";this.omd="";this.qf=12;this.bold=!1;this.rf=!1;this.sf=32;this.tf=127;this.and="";this.prop=!1;this.yzg=0;this.vf=0;this.uf=0;this.zzg=1;this.aah=1;this.ag=null;this.gsg=null;this.bah=null}ymd.prototype.cah=function(isg){
this.re=isg.re;this.omd=isg.wf;this.qf=isg.qf;this.bold=isg.bold;this.rf=isg.rf;this.sf=isg.sf&0xffff;this.zmd=!1;this.vf=0;this.uf=0;if(((isg.sf>>16)&0xff)!==0)this.uf=(isg.sf>>16)&0xff;if(((isg.sf>>24)&0xff)!==0)this.vf=((isg.sf>>24)&0xff)-1;this.tf=isg.tf;this.zzg=isg.yf;this.aah=isg.zf;this.ag=[];var gib=99999999;var ylb=-99999999;var maxHeight=0;for(var dah in isg.ag){var ai=-2;eah=isg.ag[dah];if(eah.cg!=undefined)ai=eah.cg.charCodeAt(0);else if(eah.bg!=undefined)ai=eah.bg;this.ag[ai]=eah;if(ai<gib)gib=ai;
if(ai>ylb)ylb=ai;if(eah.gg>maxHeight)maxHeight=eah.gg}this.fah=maxHeight;this.sf=gib;this.tf=gib;this.gsg=jsg(isg.xf)};ymd.prototype.gah=function(tke){if(this.zmd){if(this.xzg){var cg=tke.charCodeAt(0);if(cg<this.sf||cg>this.tf)cg=this.sf;var dje=this.bah.fje[cg-this.sf];return dje.oi}else {return this.qf}}else {return this.fah}};ymd.prototype.hah=function(bfd){if(bfd==null)return 0;if(this.zmd){if(this.xzg){var dwd=0;var bg=0;while(bg<bfd.length){var cg=bfd.charCodeAt(bg++);if(cg<this.sf||cg>this.tf)cg=this.sf;
var dje=this.bah.fje[cg-this.sf];if(this.prop)dwd+=dje.ni;else dwd+=dje.pi;dwd+=this.yzg}return dwd}else {pic.font=this.and;var iah=pic.measureText(bfd);return iah.width}}else {var dwd=0;var bg=0;while(bg<bfd.length){var cg=bfd.charCodeAt(bg++);var eah=this.ag[cg];if(!eah)eah=this.ag[this.sf];dwd=dwd+eah.shift}return dwd}};ymd.prototype.jah=function(kah){if(this.zmd){if(this.xzg){var dwd=0;if(kah<this.sf||kah>this.tf)kah=this.sf;var dje=this.bah.fje[kah-this.sf];if(this.prop)dwd+=dje.ni;else dwd+=dje.pi;return dwd}
else {pic.font=this.and;var iah=pic.measureText(String.fromCharCode(kah));return iah.width}}var eah=this.ag[kah];if(eah){return eah.shift}else if(0x20>=this.sf&&0x20<=this.tf){return this.ag[0x20].shift}else {return this.ag[this.sf].shift}};ymd.prototype.lah=function(qad,rad,mah,jmd,kmd,lmd,wpd,xpd){var nah;var oah=this.gsg;if(!oah.hje.complete)return;var shd=mah.length;wpd=wpd&0xffffff|((xpd*255)<<24);for(var bg=0;bg<shd;bg++){kah=mah.charCodeAt(bg);var eah=this.ag[kah];if(!eah)eah=this.ag[0x20];var pah=eah.dg;
var qah=eah.eg;var asd=eah.fg;var csd=eah.gg;if(Math.abs(lmd)<0.001){pic.cje(oah,pah+oah.dg,qah+oah.eg,asd,csd,qad+(eah.hg*jmd),rad,asd*this.zzg*jmd,csd*this.aah*kmd,wpd)}else {pic.cje(oah,pah+oah.dg,qah+oah.eg,asd,csd,qad+(eah.hg*jmd),rad,asd,csd,wpd)}qad+=jmd*this.jah(kah);}};ymd.prototype.rah=function(qad,rad,mah,jmd,kmd,lmd,wpd,xpd){var nah;var oah=ije[this.gsg.ri];if(!oah.complete)return;pic.globalAlpha=xpd;var shd=mah.length;wpd=wpd&0xffffff;if(wpd!=0xffffff){nah=sah(this.gsg,wpd)}lmd=tlg(lmd);if(Math.abs(lmd)>0.001){
tah(qad,rad,this.zzg*jmd,this.zzg*kmd,-lmd);qad=0;rad=0}qad=~~(qad+0.5);rad=~~(rad+0.5);for(var bg=0;bg<shd;bg++){kah=mah.charCodeAt(bg);var eah=this.ag[kah];if(!eah){eah=this.ag[0x20]}var pah=eah.dg;var qah=eah.eg;var asd=eah.fg;var csd=eah.gg;if(asd==99999){continue}if((wpd!=0xffffff)&&(nah!=null)){if(Math.abs(lmd)<0.001){pic.cje(nah,pah,qah,asd,csd,qad+(eah.hg*jmd),rad,asd*this.zzg*jmd,csd*this.aah*kmd)}else {pic.cje(nah,pah,qah,asd,csd,qad+eah.hg,rad,asd,csd)}}else {if(Math.abs(lmd)<0.001){pic.cje(oah,
pah+this.gsg.dg,qah+this.gsg.eg,asd,csd,qad+(eah.hg*jmd),rad,asd*this.zzg*jmd,csd*this.aah*kmd)}else {pic.cje(oah,pah+this.gsg.dg,qah+this.gsg.eg,asd,csd,qad+eah.hg,rad,asd,csd)}}if(Math.abs(lmd)<0.001){qad+=jmd*this.jah(kah)}else {qad+=this.jah(kah);}}if(Math.abs(lmd)>0.001)uah()};ymd.prototype.vah=function(qad,rad,mah,jmd,kmd,lmd,wpd,xpd){if(this.bah==null)return;pic.globalAlpha=xpd;var shd=mah.length;wpd=wpd&0xffffff;var tnd=wpd|(mqd*255)<<24;lmd=tlg(lmd);var wah=Math.sin(lmd);var dgc=Math.cos(lmd);
var xah=wah*jmd;var yah=dgc*jmd;var zah=this.zzg*jmd;var abh=this.aah*kmd;for(var bg=0;bg<shd;bg++){kah=mah.charCodeAt(bg);if(kah<this.sf||kah>this.tf){}else {var dg=qad;var eg=rad;var dje=this.bah.fje[kah-this.sf];var oah=ije[dje.ri];if(oah.complete){var mtd=dje.li;var ntd=dje.mi;if(this.prop)mtd=0;if(wpd!=0xffffff){var nah;if(!fhg){nah=sah(dje,wpd)}else {nah=dje}if(Math.abs(lmd)<0.001){pic.cje(nah,0,0,dje.ni,dje.oi,dg+(mtd*zah),eg+(ntd*abh),dje.ni*zah,dje.oi*abh)}else {tah(dg,eg,zah,abh,-lmd);pic.cje(nah,0,0,
dje.ni,dje.oi,mtd,ntd,dje.ni,dje.oi);uah()}}else {if(fhg){oah=dje}if(Math.abs(lmd)<0.001){pic.cje(oah,dje.dg,dje.eg,dje.fg,dje.gg,dg+(mtd*zah),eg+(ntd*abh),dje.ni*zah,dje.oi*abh)}else {tah(dg,eg,zah,abh,-lmd);pic.cje(oah,dje.dg,dje.eg,dje.fg,dje.gg,mtd,ntd,dje.ni,dje.oi);uah()}}}}var shift=this.jah(kah);qad=qad+yah*(shift+this.yzg);rad=rad-xah*(shift+this.yzg)}};ymd.prototype.bbh=function(qad,rad,mah,jmd,kmd,lmd,wpd,xpd){if(this.bah==null)return;pic.globalAlpha=xpd;var shd=mah.length;wpd=wpd&0xffffff;
var tnd=wpd|(mqd*255)<<24;lmd=tlg(lmd);var wah=Math.sin(lmd);var dgc=Math.cos(lmd);var xah=wah*jmd;var yah=dgc*jmd;var zah=this.zzg*jmd;var abh=this.aah*kmd;for(var bg=0;bg<shd;bg++){kah=mah.charCodeAt(bg);if(kah<this.sf||kah>this.tf){}else {var dg=qad;var eg=rad;var dje=this.bah.fje[kah-this.sf];var oah=ije[dje.ri];if(oah.complete){var mtd=dje.li;var ntd=dje.mi;if(this.prop)mtd=0;if(Math.abs(lmd)<0.001){pic.cje(dje,dje.dg,dje.eg,dje.fg,dje.gg,dg+(mtd*zah),eg+(ntd*abh),dje.ni*zah,dje.oi*abh,tnd)}else {tah(dg,eg,
zah,abh,-lmd);pic.cje(dje,dje.dg,dje.eg,dje.fg,dje.gg,mtd,ntd,dje.ni,dje.oi,tnd);uah()}}}var shift=this.jah(kah);qad=qad+yah*(shift+this.yzg);rad=rad-xah*(shift+this.yzg)}};function vmg(){this.pf=[];this.length=0;this.cbh=null;this.gmd=0;this.dbh=0;this.ebh=0;var nmd=qmd("Arial",12,!1,!1,32,127,!1);this.pf[-1]=nmd;cjg=-1;this.gmd=cjg}vmg.prototype.efc=function(){this.pf=[];length=0};vmg.prototype.oub=function(isg){var nmd=null;if(isg!=null){nmd=new ymd();nmd.cah(isg)}this.pf[this.pf.length]=nmd;return this.pf.length-1}
;vmg.prototype.bnd=function(fbh){this.pf[this.pf.length]=fbh;return this.pf.length-1};vmg.prototype.gbh=function(){if(this.gmd>=0&&this.gmd<=this.pf.length&&this.pf[this.gmd]!=null){this.cbh=this.pf[this.gmd]}else {this.cbh=this.pf[-1]}};vmg.prototype.cbd=function(xcd){if(xcd>=0&&xcd<=this.pf.length&&this.pf[xcd]){return this.pf[xcd]}return null};function hbh(bfd){if(bfd==null)return 0;var ibh=bfd;var jbh="";var bg=0;var kbh=0;while(kbh<ibh.length){var cu=ibh[kbh];if(cu=='#'){if((bg>0)&&(ibh[kbh-1]=='\\')){
jbh=jbh.substring(0,jbh.length-1)+'#';}else {jbh+=String.fromCharCode(0x0a);bg++}}else {jbh+=cu;bg++}kbh++}return jbh}vmg.prototype.lbh=function(mah,mbh){{var qhd=String.fromCharCode(0x0a);if(mah==null)return;if(mbh<0)mbh=10000000;nbh=[];var obh=0;mah=hbh(mah);var shd=mah.length;var pbh=mah;var qbh=0;var rbh=0;while(qbh<shd){var sbh=0;if(mbh==10000000){while(rbh<shd&&pbh[rbh]!=qhd){rbh++}nbh[obh++]=pbh.substring(qbh,rbh)}else {while(rbh<shd){if(pbh[rbh]!=" ")break;rbh++}while(rbh<shd&&sbh<mbh){cg=pbh[rbh];
if(cg==qhd)break;sbh+=this.cbh.jah(cg.charCodeAt(0));rbh++}if(sbh>mbh){rbh--;sbh-=this.cbh.jah(pbh.charCodeAt(rbh))}if(pbh[rbh]==qhd){nbh[obh++]=pbh.substring(qbh,rbh)}else {if(rbh==qbh)return nbh;if(rbh!=shd){if((pbh[rbh]!=" ")||(pbh[rbh]!=" "&&pbh[rbh+1]!=" ")){while(rbh>qbh){if(pbh[--rbh]==" ")break}}}if(rbh>qbh){while(pbh[rbh-1]==' '){rbh--}}else if(rbh==qbh){while(pbh[rbh]!=' '&&rbh<shd){rbh++}}nbh[obh++]=pbh.substring(qbh,rbh)}}qbh=++rbh}return nbh}};vmg.prototype.hmd=function(bfd,dg,eg,tbh,mbh,
lmd,jmd,kmd){with(this){var qsg=jmd;var rsg=kmd;var ubh=0.0;var vbh=0.0;var nbh=[];var bg=0;gbh();nbh=lbh(bfd,mbh);var wbh=tlg(lmd);var wah=Math.sin(wbh);var dgc=Math.cos(wbh);if(tbh<0){tbh=cbh?cbh.gah("M"):20}var xbh=wah*rsg*tbh;var ybh=dgc*rsg*tbh;if(dbh==1){eg=eg-Math.round((nbh.length*ybh)/2.0);dg=dg-Math.round((nbh.length*xbh)/2.0)}if(dbh==2){eg=eg-Math.round(nbh.length*ybh);dg=dg-Math.round(nbh.length*xbh)}if(!cbh){pic.fillStyle=nqd;pic.globalAlpha=mqd;for(bg=0;bg<=nbh.length-1;bg++){var zbh=nbh[bg];if(zbh!=null){
pic.fillText(zbh,dg,eg+13);eg=eg+ybh;dg=dg+xbh}}}else {for(bg=0;bg<=nbh.length-1;bg++){ubh=0;vbh=0;var zbh=nbh[bg];if(zbh!=null){if(ebh==1)ubh=-(qsg*cbh.hah(zbh)/2);if(ebh==2)ubh=-(qsg*cbh.hah(zbh));if(cbh.xzg){ubh-=(qsg*cbh.bah.cf);vbh-=(rsg*cbh.bah.df)}var hjd=dg+(dgc*ubh)+(wah*vbh);var ijd=eg-(wah*ubh)+(dgc*vbh);if(cbh.zmd){if(cbh.xzg){if(!fhg){cbh.vah(hjd,ijd,zbh,qsg,rsg,lmd,oqd,mqd)}else {cbh.bbh(hjd,ijd,zbh,qsg,rsg,lmd,oqd,mqd)}}else {ach(cbh.and,zbh,hjd,ijd,1,1,wbh,oqd,mqd)}}else {if(fhg){cbh.lah(hjd,
ijd,zbh,qsg,rsg,lmd,oqd,mqd)}else {cbh.rah(hjd,ijd,zbh,qsg,rsg,lmd,oqd,mqd)}}}eg=eg+ybh;dg=dg+xbh}}}};var bch;var ije;var cch=null;var hoe=1024;var ioe=768;var dch=1;var koe=1;var dqd=0;var eqd=0;var fqd=0;var gqd=0;var ech=0;var fch=0;var gch=0;var hch=0;var ich=[];var qzg=0;var jch=0xffffff;var kch;var lch;var ome;var pme;var uah;var mch;var tah;var tne;function nch(){return hoe}function och(){return ioe}function zie(pch){if(!pch)return;pch.qch=pch.transform;pch.aqd=pch.setTransform;pch.ypd=pch.save;pch.hqd=pch.restore;pch.grd=pch.fillRect;
pch.frd=pch.strokeRect;pch.srd=pch.beginPath;pch.utd=pch.arc;pch.wrd=pch.stroke;pch.vrd=pch.closePath;pch.lineWidth=pch.lineWidth;pch.trd=pch.moveTo;pch.urd=pch.lineTo;pch.jsd=pch.fill;pch.cje=pch.drawImage;pch.vme=pch.getImageData;pch.rch=pch.createImageData;pch.sch=pch.putImageData;pch.tch=pch.clip;pch.uch=pch.rect}function omg(vch){ije=[];cch=null;dqd=0;eqd=0;fqd=0;gqd=0;ech=0;fch=0;gch=0;hch=0;ich=[];ich[0]=1;ich[1]=0;ich[2]=0;ich[3]=0;ich[4]=1;ich[5]=0;if(!fhg){if(olf){kch=wch}else {kch=xch}lch=ych;
zch=adh;ome=bdh;pme=cdh;uah=ddh;mch=edh;tah=fdh;tne=gdh;hdh=idh;jdh=kdh;ach=ldh;mdh=ndh;odh=pdh;qdh=rdh;if(plf){if(olf){jch=0x1ffffff;kch=sdh}else {kch=tdh}lch=ych;zch=udh}}else {vdh()}ome(0,0,zne,aoe);pme(0,0,zne,aoe)}function idh(){pic.ypd()}function kdh(){pic.hqd()}function xje(hke){hke.jbb=[];hke.teb=0;hke.nle=4;hke.ole=0;hke.ple=null;hke.xie=null;hke.hje=ije[hke.ri]};function hpg(wdh){cch=wdh;for(var bg in wdh){var dje=wdh[bg];xje(dje)}}function xdh(){this.dke=null;this.ydh=0}function sah(hke,sqd){var zdh=hke.jbb[sqd];
if(zdh!=null){zdh.ydh=qzg;return zdh.dke}var aeh=-9999999999;zdh=null;beh=-1;if(hke.teb<hke.nle){zdh=new xdh();hke.teb++}else {for(var bg in hke.jbb){var ceh=hke.jbb[bg];if(ceh!=null){var iib=qzg-ceh.ydh;if(iib>aeh){beh=bg;zdh=ceh;aeh=iib}}}}if(beh>=0)hke.jbb[beh]=null;hke.jbb[sqd]=zdh;zdh.ydh=qzg;zdh.dke=deh(hke,sqd);return zdh.dke}function jsg(hie){return cch[hie]}function ddh(){pic.aqd(ich[0],ich[3],ich[1],ich[4],ich[2],ich[5])}function edh(wpd){pic.ypd();var zpd=[];zpd[0]=1;zpd[1]=0;zpd[2]=0;zpd[3]=1;zpd[4]=0;
zpd[5]=0;pic.aqd(zpd[0],zpd[1],zpd[2],zpd[3],zpd[4],zpd[5]);pic.fillStyle=uqd(wpd|0xff000000);pic.grd(dqd,eqd,fqd,gqd);pic.hqd()}function bdh(eeh,feh,geh,heh){dqd=eeh;eqd=feh;fqd=geh;gqd=heh}function ieh(qad,rad,pcd,qcd,lmd){var jeh=new mqg((qad+pcd/2.0),(rad+qcd/2.0),-16000.0);var keh=new mqg((qad+pcd/2.0),(rad+qcd/2.0),0.0);var leh=new mqg(Math.sin(-lmd*(Math.PI/180.0)),Math.cos(-lmd*(Math.PI/180.0)),0.0);lhg.hqg(jeh,keh,leh);khg.wqg(pcd,-qcd*djg,1.0,32000.0)}function fdh(qad,rad,ine,jne,lmd){var zpd=[];
zpd[0]=Math.cos(lmd);zpd[3]=Math.sin(lmd);zpd[1]=-zpd[3];zpd[4]=zpd[0];zpd[0]*=ine;zpd[3]*=ine;zpd[1]*=jne;zpd[4]*=jne;zpd[2]=qad;zpd[5]=rad;pic.qch(zpd[0],zpd[3],zpd[1],zpd[4],zpd[2],zpd[5]);}function cdh(meh,neh,oeh,peh,lmd){ich[0]=1;ich[1]=0;ich[2]=0;ich[3]=1;ich[4]=0;ich[5]=0;pic.aqd(ich[0],ich[1],ich[2],ich[3],ich[4],ich[5]);pic.beginPath();pic.moveTo(dqd,eqd);pic.lineTo(dqd+fqd,eqd);pic.lineTo(dqd+fqd,eqd+gqd);pic.lineTo(dqd,eqd+gqd);if(!(lqe==cmf&&nqe==4.0)){pic.clip()}var fg=fqd/oeh;var gg=gqd/peh;
ech=meh;fch=neh;gch=oeh;hch=peh;ich[0]=fg;ich[1]=0;ich[2]=-(meh*fg)+dqd;ich[3]=0;ich[4]=gg;ich[5]=-(neh*gg)+eqd;pic.aqd(ich[0],ich[3],ich[1],ich[4],ich[2],ich[5])}function png(rmd){var bg=ije.length;var hje=new Image();rmd=yhe(rmd);hje.src=rmd;ije[bg]=hje;return bg}function gje(qeh){var bg=ije.length;ije[bg]=qeh;return bg}function ndh(){qzg++}function pdh(){}function eke(hke){var xie=document.createElement(bid);var ume=xie.getContext('2d');zie(ume);xie.width=hke.fg;xie.height=hke.gg;ume.cje(hke.hje,hke.dg,hke.eg,
hke.fg,hke.gg,0,0,hke.fg,hke.gg);xie.complete=!0;return xie}function pke(hke){var xie=document.createElement(bid);var ume=xie.getContext('2d');zie(ume);var mke=[];var tyd=hke.pi*hke.qi*4;for(var bg=0;bg<tyd;bg++)mke[bg]=0;xie.width=hke.fg;xie.height=hke.gg;ume.cje(hke.hje,hke.dg,hke.eg,hke.fg,hke.gg,0,0,hke.fg,hke.gg);xie.complete=!0;var data,wme,reh,seh;try{data=ume.getImageData(0,0,hke.fg,hke.gg)}catch(uhe){return mke}teh=data.data;var ueh=(hke.li+(hke.mi*hke.pi))*4;for(eg=0;eg<hke.gg;eg++){var veh=ueh;var weh=(eg*data.width)*4;
var xeh=hke.fg*4;for(dg=0;dg<xeh;dg++){mke[veh++]=teh[weh++]}ueh+=hke.pi*4}return mke}function wch(hke,qad,rad,xpd){if(!hke.hje)return;if(!hke.hje.complete)return;if(hke.xie==null)hke.xie=eke(hke);qad+=hke.li;rad+=hke.mi;pic.globalAlpha=xpd;pic.cje(hke.xie,~~qad,~~rad)}function sdh(hke,qad,rad,xpd){wch(hke,qad,rad,xpd)}function xch(hke,qad,rad,xpd){if(!hke.hje)return;if(!hke.hje.complete)return;pic.globalAlpha=xpd;pic.cje(hke.hje,~~hke.dg,~~hke.eg,hke.fg,hke.gg,Math.floor(qad)+hke.li,Math.floor(rad)+hke.mi,
hke.ni,hke.oi)}function tdh(hke,qad,rad,xpd){xch(hke,qad,rad,xpd)}function ych(hke,qad,rad,yeh,zeh,wpd,xpd){var afh=hke.hje;if(!afh)return;if(!afh.complete)return;if(hke.fg==0||hke.gg==0)return;var bg=0;if(yeh)bg=1;if(zeh)bg|=2;if(bg==0){pic.globalAlpha=xpd;pic.cje(afh,hke.dg,hke.eg,hke.fg,hke.gg,qad+hke.li,rad+hke.mi,hke.ni,hke.oi);return }var fg=hke.pi;var gg=hke.qi;if(zeh){fg=(((((dme.gme+(hke.pi-1))/hke.pi)&0xffffffff)+2)*hke.pi);qad=ech+(~~((qad-ech)%hke.pi)-hke.pi)}if(yeh){gg=(((((dme.hme+(hke.qi-1))/hke.qi)&0xffffffff)+2)*hke.qi);
rad=fch+(~~((rad-fch)%hke.qi)-hke.qi)}if((hke.ple!=null)&&(hke.ple.width<fg||hke.ple.height<gg)){hke.ple=null;hke.bfh=0;}if((hke.ole!=bg)||(!hke.ple)){hke.ole=bg;var buffer=document.createElement(bid);var ume=buffer.getContext('2d');zie(ume);buffer.width=fg;buffer.height=gg;pic.globalAlpha=1;var ead=fg/hke.pi;var fad=gg/hke.qi;for(var eg=0;eg<fad;eg++){for(var dg=0;dg<ead;dg++){ume.cje(afh,hke.dg,hke.eg,hke.fg,hke.gg,hke.li+(dg*hke.pi),hke.mi+(eg*hke.qi),hke.ni,hke.oi)}}hke.ple=buffer}pic.globalAlpha=xpd;
pic.cje(hke.ple,qad,rad)}function adh(hke,lje,mje,qad,rad,cfh,dfh,efh,ond,pnd,jrd,krd,xpd){if(!hke.hje)return;if(!hke.hje.complete)return;if((abs(cfh)<=0.0001)||(abs(dfh)<=0.0001)||(xpd<=0))return;ond&=0xffffff;var mtd=-(lje-hke.li);var ntd=-(mje-hke.mi);pic.globalAlpha=xpd;if(ond!=jch){var nah=sah(hke,ond);if(Math.abs(efh)<0.001&&dfh==1&&cfh==1){pic.cje(nah,qad+mtd,rad+ntd)}else {var r=Math.abs(efh);if(cfh<0||dfh<0||r>0.0001){tah(qad,rad,cfh,dfh,-efh);pic.cje(nah,0,0,hke.fg,hke.gg,mtd,ntd,hke.ni,hke.oi);
uah()}else {pic.cje(nah,0,0,hke.fg,hke.gg,qad+(mtd*cfh),rad+(ntd*dfh),hke.ni*cfh,hke.oi*dfh)}}}else {var r=Math.abs(efh);if(r<0.0001&&dfh==1&&cfh==1){if(hke.xie==null)hke.xie=eke(hke);pic.cje(hke.xie,qad+mtd,rad+ntd)}else {if(cfh<0||dfh<0||r>0.001){tah(qad,rad,cfh,dfh,-efh);pic.cje(hke.hje,hke.dg,hke.eg,hke.fg,hke.gg,mtd,ntd,hke.ni,hke.oi);uah()}else {pic.cje(hke.hje,hke.dg,hke.eg,hke.fg,hke.gg,qad+(mtd*cfh),rad+(ntd*dfh),hke.ni*cfh,hke.oi*dfh)}}}}function udh(hke,lje,mje,qad,rad,cfh,dfh,efh,ond,pnd,jrd,
krd,xpd){try{adh(hke.hje,lje,mje,qad,rad,cfh,dfh,efh,ond,pnd,jrd,krd,xpd)}catch(uhe){debug("error drawing image")}}function deh(hke,wpd){var buffer=document.createElement(bid);var ume=buffer.getContext('2d');zie(ume);buffer.width=hke.fg;buffer.height=hke.gg;ume.cje(hke.hje,hke.dg,hke.eg,hke.fg,hke.gg,0,0,hke.fg,hke.gg);if(~~wpd!=0xffffff){var data,wme,reh,seh;try{data=ume.vme(0,0,hke.fg,hke.gg)}catch(uhe){return buffer}wme=data.data;ffh=ume.rch(hke.fg,hke.gg);seh=ffh.data;var r=((wpd>>16)&0xff)/255;var g=((wpd>>8)&0xff)/255;
var qu=(wpd&0xff)/255;var sbh=(data.height*data.width*4);for(var bg=sbh-4;bg>=00;bg-=4){seh[bg]=(wme[bg]*r)|0;seh[bg+1]=(wme[bg+1]*g)|0;seh[bg+2]=(wme[bg+2]*qu)|0;seh[bg+3]=(wme[bg+3])}ffh.data=seh;ume.sch(ffh,0,0)}return buffer}function gfh(hke,xqd,yqd,zqd,ard,hsd,isd,hfh,ifh,xpd){var afh=hke.hje;if(!afh)return;if(!afh.complete)return;pic.globalAlpha=xpd;jfh(afh,xqd,yqd,zqd,ard,hsd,isd,hke.dg,hke.eg,hke.dg+hke.fg,hke.eg,hke.dg+hke.fg,hke.eg+hke.gg);jfh(afh,hsd,isd,hfh,ifh,xqd,yqd,hke.dg+hke.fg,hke.eg+hke.gg,
hke.dg,hke.eg+hke.gg,hke.dg,hke.eg)}function jfh(jpg,kfh,lfh,okb,etd,pkb,ftd,mfh,nfh,ofh,pfh,qfh,rfh){pic.ypd();pic.srd();pic.trd(kfh,lfh);pic.urd(okb,etd);pic.urd(pkb,ftd);pic.vrd();pic.tch();var zgb=mfh*(rfh-pfh)-ofh*rfh+qfh*pfh+(ofh-qfh)*nfh;if(zgb==0)return;var sfh=-(nfh*(pkb-okb)-pfh*pkb+rfh*okb+(pfh-rfh)*kfh)/zgb;var tfh=(pfh*ftd+nfh*(etd-ftd)-rfh*etd+(rfh-pfh)*lfh)/zgb;var ufh=(mfh*(pkb-okb)-ofh*pkb+qfh*okb+(ofh-qfh)*kfh)/zgb;var vfh=-(ofh*ftd+mfh*(etd-ftd)-qfh*etd+(qfh-ofh)*lfh)/zgb;var cqc=(mfh*(rfh*okb-pfh*pkb)+nfh*(ofh*pkb-qfh*okb)+(qfh*pfh-ofh*rfh)*kfh)/zgb;
var dqc=(mfh*(rfh*etd-pfh*ftd)+nfh*(ofh*ftd-qfh*etd)+(qfh*pfh-ofh*rfh)*lfh)/zgb;pic.qch(sfh,tfh,ufh,vfh,cqc,dqc);pic.cje(jpg,0,0);pic.hqd()};function gdh(hke,gyd,hyd,rne,sne,qad,rad,jmd,kmd,bad,xpd){if(!hke)return;if(!hke.hje)return;if(!hke.hje.complete)return;bad&=0xffffff;pic.globalAlpha=xpd;if(gyd<hke.li){var wfh=hke.li-gyd;qad+=wfh;rne-=wfh;gyd=0}else {gyd-=hke.li;rne-=hke.li}if(hyd<hke.mi){var wfh=hke.mi-hyd;rad+=wfh;sne-=wfh;hyd=0}else {hyd-=hke.mi;sne-=hke.mi}if(rne>(hke.ni-gyd-hke.li))rne=hke.ni-gyd-hke.li;
if(sne>(hke.oi-hyd-hke.mi))sne=hke.oi-hyd-hke.mi;if(rne<=0||sne<=0)return;qad=~~qad;rad=~~rad;if(bad!=jch){var nah=sah(hke,bad);pic.cje(nah,gyd,hyd,rne,sne,qad,rad,rne*jmd,sne*kmd);return }pic.cje(hke.hje,gyd+hke.dg,hyd+hke.eg,rne,sne,qad,rad,rne*jmd,sne*kmd)}function qne(hke,qad,rad,pcd,qcd,bad,xpd){if(!hke)return;if(!hke.hje)return;if(!hke.hje.complete)return;qad=~~qad;rad=~~rad;var xfh=pcd/hke.pi;var yfh=qcd/hke.qi;zch(hke,0,0,qad,rad,xfh,yfh,0,bad,bad,bad,bad,xpd)}function ldh(emd,tke,qad,rad,jmd,
kmd,lmd,wpd,xpd){pic.globalAlpha=xpd;pic.fillStyle=bqd(wpd,1.0);pic.font=emd;pic.textBaseline="top";tah(qad,rad,jmd,kmd,-lmd);pic.fillText(tke,0,0);uah()}function rdh(uhd){}var zfh=0,agh=0;function bgh(cgh){this.dgh=!1;this.egh=[];this.fgh=cgh;this.ggh="";this.hgh=0;this.igh=0};function jgh(kgh,lgh){var tvd=gnd(kgh,lgh);mgh=new bgh(kgh);mgh.ggh=tvd;mgh.ngh();var teb=0;for(var bg in mgh.egh){teb++;break}if(teb==0)return null;return mgh}bgh.prototype.qld=function(){while((this.ggh.charCodeAt(this.hgh)!=0x0a)&&(this.ggh.charCodeAt(this.hgh)!=0x0d)&&(this.hgh<this.bug)){
this.hgh++}this.igh++;this.hgh++;if(this.hgh>=this.bug)return;if((this.ggh.charCodeAt(this.hgh)==0x0a)&&(this.ggh.charCodeAt(this.hgh)==0x0d)){this.hgh++}};bgh.prototype.ogh=function(){with(this){if(this.hgh>=bug)return !1;var cg=ggh.charCodeAt(hgh);if(cg==0x20||cg==0x09||cg==0x0a||cg==0x0d||cg==ske('#')||cg==ske(';')){return !0}else {return !1}}};bgh.prototype.rld=function(){with(this){while(ogh()&&(hgh<bug)){var cg=ggh.charCodeAt(hgh);if(cg=='#'||cg==';'){qld()}else if(cg==0x0a){igh++}hgh++}if(hgh>=bug)return }
};bgh.prototype.pgh=function(){with(this){rld();while((ggh.charAt(hgh)!='[')&&(hgh<bug)){hgh++}if(hgh>=bug)return null;hgh++;var qgh=hgh;while((ggh.charAt(hgh)!=']')&&(hgh<bug)){hgh++}if(hgh>=bug)return null;var shd=hgh-qgh;var rgh=[];rgh.sgh=ggh.substr(qgh,shd);hgh++;return rgh}};bgh.prototype.tgh=function(ugh){with(this){rld();if(hgh>=bug||ggh.charAt(hgh)=='[')return !1;var qgh=hgh;var vgh=-1;while((ggh.charAt(hgh)!='=')&&(hgh<bug)){if(ogh()){if(vgh<0)vgh=hgh}else {vgh=-1}hgh++}if(hgh>=bug)return !1;if(vgh<0)vgh=hgh;
var shd=vgh-qgh;var cse=ggh.substr(qgh,shd);while((ggh.charAt(hgh)!='=')&&(hgh<bug)){hgh++}if(hgh>=bug)return !1;hgh++;var wgh=igh;rld();if(wgh!=igh)return !1;var xgh=ske('#');var ygh=ske(';');var zgh=!1;var dgc=ggh.charCodeAt(hgh);if(dgc==ske('"')){xgh=ske('"');ygh=ske('"');zgh=!0;hgh++}else if(dgc==ske('\'')){xgh=ske('\'');ygh=ske('\'');zgh=!0;hgh++}qgh=hgh;var ahh=-1;var cg=ggh.charCodeAt(hgh);while((cg!=0x0a)&&(cg!=0x0d)&&(cg!=xgh)&&(cg!=ygh)&&(hgh<bug)){if(cg==0x20||cg==0x09){if(ahh<0)ahh=hgh}else {ahh=-1}
if(cg==ske('\\'))hgh++;hgh++;cg=ggh.charCodeAt(hgh)}if(ahh>=0){shd=ahh-qgh}else {shd=hgh-qgh}var bhh=ggh.substr(qgh,shd);ugh[cse]=bhh;if(zgh){dgc=ggh.charCodeAt(hgh);if((dgc==xgh)&&(dgc==ygh)){while((ggh.charCodeAt(hgh)!=0x0a)&&(ggh.charCodeAt(hgh)!=0x0d)&&(hgh<bug)){hgh++}}}return !0}};bgh.prototype.ngh=function(){with(this){if(ggh==null)return !1;bug=ggh.length;hgh=0;igh=0;var rgh=pgh();if(rgh==null){ggh=null;return !1}egh[rgh.sgh]=rgh;while(hgh<bug){var zvb=tgh(rgh);if(!zvb){if(hgh<bug){if(ggh.charAt(hgh)=='['){
rgh=pgh();if(rgh==null){ggh=null;return !0}egh[rgh.sgh]=rgh}}}}ggh=null;return !0}};bgh.prototype.chh=function(dhh,ehh){with(this){var rgh=egh[dhh];if(rgh!=null&&rgh!=undefined){var bhh=rgh[ehh];if(bhh!=undefined)return bhh}return null}};function yhe(kgh){if(kgh.substring(0,5)=="file:")return kgh;if((kgh.substring(0,7)=="http://")||(kgh.substring(0,8)=="https://"))return kgh;if(kgh.substring(0,bhg.length)==bhg)return kgh;return bhg+kgh}function fhh(kgh){if(kgh.substring(0,5)=="file:")return !1;if(kgh.substring(0,
4)=="ftp:")return !1;if(kgh.substring(0,7)=="gopher:")return !1;if(kgh.substring(0,7)=="mailto:")return !1;if(kgh.substring(0,5)=="news:")return !1;if(kgh.substring(0,5)=="nntp:")return !1;if(kgh.substring(0,7)=="telnet:")return !1;if(kgh.substring(0,5)=="wais:")return !1;if(kgh.substring(0,5)=="news:")return !1;if(kgh.substring(1,1)==":")return !1;return !0}function ghh(whe){try{var hhh=new XMLHttpRequest();hhh.open('HEAD',whe,!1);hhh.send();agh=hhh.status;return hhh.status!=404}catch(e){return !1}}function ihh(jhh,
khh){try{var sqg=!window.XMLHttpRequest?new ActiveXObject('Microsoft.XMLHTTP'):new XMLHttpRequest();sqg.open(khh?'PUT':'GET',jhh,!1);sqg.setRequestHeader('Content-Type','text/html');sqg.send(khh?khh:'');agh=sqg.status;return sqg.responseText}catch(e){return null}}function lhh(ong,sng){if('localStorage' in window&&window['localStorage']!==null){try{localStorage["GameMaker."+kk.rog+"."+ong]=sng}catch(uhe){return !1}}}function gnd(kgh,lgh){var tvd=null;if(kgh.substring(0,5)=="file:")return null;if(lgh){if((kgh.substring(0,
7)=="http://")||(kgh.substring(0,8)=="https://"))return;if('localStorage' in window&&window['localStorage']!==null){try{tvd=localStorage["GameMaker."+kk.rog+"."+kgh];}catch(uhe){return null}if((tvd==undefined)||(tvd==null))return null}}else {if(!fhh(kgh))return null;kgh=yhe(kgh);tvd=ihh(kgh,!1);if((tvd==null)||(tvd==undefined))return null;if(agh==404)return null}return tvd}function mhh(kgh,lgh){var tvd=null;if(kgh.substring(0,5)=="file:")return null;if(lgh){if('localStorage' in window&&window['localStorage']!==null){
try{var name="GameMaker."+kk.rog+"."+kgh;if(localStorage[name]&&(localStorage[name]!=undefined))return !0;return !1}catch(uhe){return !1;}}}else {if(!fhh(kgh))return !1;kgh=yhe(kgh);return ghh(kgh)}}var nhh=new Array("StepEvent","DrawEvent","LeftButtonPressed","RightButtonPressed","NoButtonPressed");var ohh=new jjd(0,0,0,0);var phh=null;var qhh=-1;var rhh=-1;function klg(){this.ydf=[]}function shh(thh,uhh,xcd,vhh,whh){this.ydf=[];this.qjd="[instance]";this.dg=thh;this.eg=uhh;this.pjf=thh;this.qjf=uhh;this.xhh=thh;
this.yhh=uhh;this.tjf=0;this.ujf=0;this.ayd=0;this.quc=0;this.hec=0;this.gfc=0;this.zhh=270;this.hvd=vhh;this.id=xcd;this.kac=!0;for(var bg=0;bg<=(klf-1);bg++){dm(this,"__alarm__",bg,-1)}this.czd=!0;this.mg=!0;this.ng=!1;this.og=0;this.rud=new jjd(0,0,0,0);this.xud=0;this.one=0;this.aih=0;this.bih=0;this.cih=0;this.dih=0;this.eih=0;this.fih=1.0;this.gih=1.0;this.adf=0;this.hih=1.0;this.iih=0xffffff;this.pm=1;this.qif=-1;this.ncf=-1;this.rjf=0;this.sjf=0;this.jih=0;this.kih=1;this.lih=0;this.mih=0;
this.dde=0;this.nih=0;this.oih=0;this.zkf=-1;this.elf=0;this.blf=1;this.alf=!0;this.glf=!1;this.pih=-1;this.qih=!1;this.cud=!1;this.rih=null;this.sih=!1;this.pud=!0;this.skf=!1;this.yud=null;this.tih=null;this.wud(vhh,whh,!0);this.xud=this.yud.zud;var avd=bvd.cbd(this.xud);if(avd){this.rud.left=avd.rud.left;this.rud.sud=avd.rud.sud;this.rud.top=avd.rud.top;this.rud.bottom=avd.rud.bottom}this.pcf=null}shh.prototype.jm=function(qad){this.dg=qad;this.pud=!0};shh.prototype.km=function(rad){this.eg=rad;
this.pud=!0};shh.prototype.uih=function(){var avd=bvd.cbd(this.xud);if(!avd)return 0;return avd.fje.length};shh.prototype.rm=function(){var avd=bvd.cbd(this.xud);if(!avd)return 0;return avd.width*this.fih};shh.prototype.sm=function(){var avd=bvd.cbd(this.xud);if(!avd)return 0;return avd.height*this.gih};shh.prototype.vih=function(wih){this.og=wih;sad.xih[sad.xih.length]=this};shh.prototype.nwb=function(yih,brg){if((this.dg==yih)&&(this.eg==brg))return;this.dg=yih;this.eg=brg;this.pud=!0;};shh.prototype.wud=function(uud,
zih,ajh){this.hvd=uud;if(this.yud!=null){this.yud.bjh(this);this.yud=null;this.tih=null}if(uud==-1)uud=0;this.tih=this.yud=cnd.cbd(uud);if(this.yud!=null){if(zih){this.yud.cjh(this)}this.oif=this.yud.oif;this.qif=this.yud.djh;if(ajh){this.og=this.yud.ejh}else {this.vih(this.yud.ejh)}this.czd=this.yud.fjh;this.mg=this.yud.gjh;this.ng=this.yud.hjh;this.pud=!0}};shh.prototype.ijh=function(){if(!this.yud.jjh.ocf){return }if(!rie(this.xud)){return }var kjh=bvd.cbd(this.xud);if(!sad.ree){return }var tde=sde();
var ljh=this.yud.jjh;switch(ljh.mjh){case njh:{var ojh=ljh.pjh[0];var qjh=ljh.pjh[1];var xz=ljh.pjh[2];oee(tde,xz)}break;case rjh:case sjh:{tee(tde);for(var kwe=0;kwe<ljh.pjh.length;kwe+=2){vee(tde,ljh.pjh[kwe+0],ljh.pjh[kwe+1])}}break}lee(tde,ljh.tjh);jee(tde,ljh.ujh);hee(tde,ljh.vjh);eee(tde,ljh.wjh);yde(tde,ljh.xjh);aee(tde,ljh.yjh);if(ljh.zjh!=undefined){cee(tde,ljh.zjh)}if(ljh.akh!=undefined){mee(tde,ljh.akh)}if(ljh.bkh!=undefined){vde(tde,ljh.bkh)}zee(this,tde,this.id)};shh.prototype.ckh=function(){
with(this){if(this.tjf==0){if(this.ujf>0){this.ayd=270;}else if(this.ujf<0){this.ayd=90}else {this.ayd=0}}else {var gtd=dkh(180*(Math.atan2(this.ujf,this.tjf))/cwd);if(gtd<=0){this.ayd=-gtd}else {this.ayd=360.0-gtd}}if(Math.abs(this.ayd-xfd(this.ayd))<0.0001){this.ayd=xfd(this.ayd)}this.ayd=slg(this.ayd,360.0);this.quc=Math.sqrt(sxd(this.tjf)+sxd(this.ujf));if(Math.abs(this.quc-xfd(this.quc))<0.0001)this.quc=xfd(this.quc)}};shh.prototype.ekh=function(){this.tjf=this.quc*dkh(Math.cos(this.ayd*0.0174532925));
this.ujf=-this.quc*dkh(Math.sin(this.ayd*0.0174532925));if(Math.abs(this.tjf-xfd(this.tjf))<0.0001){this.tjf=xfd(this.tjf)}if(Math.abs(this.ujf-xfd(this.ujf))<0.0001){this.ujf=xfd(this.ujf)}};function dkh(fkh){return gtd=(~~(fkh*1000000))/1000000.0}shh.prototype.gkh=function(wxd,osd){this.tjf+=osd*dkh(Math.cos(wxd*0.0174532925));this.ujf-=osd*dkh(Math.sin(wxd*0.0174532925));this.ckh()};shh.prototype.hkh=function(){if(this.hec!=0.0){var ikh;if(this.quc>0){ikh=this.quc-this.hec}else {ikh=this.quc+this.hec}
if((this.quc>0)&&(ikh<0)){this.hzd(0)}else if((this.quc<0)&&(ikh>0)){this.hzd(0)}else if(this.quc!=0){this.hzd(ikh)}}if(this.gfc!=0){this.gkh(this.zhh,this.gfc)}};shh.prototype.jkh=function(){return bvd.kkh(this.xud)};shh.prototype.lkh=function(mod,hie,wnd,mkh,nkh){var okh=phh;var pkh=qhh;var qkh=rhh;var lt=!1;var rkh=!1;if(mod==bef){var skh=mkh.yud;while(skh!=null&&!rkh){var ned=nkh;while(ned!=null&&!rkh){if(ned.eod[mod]){if(ned.jog[skh.nvd]){phh=ned;qhh=mod;rhh=skh.nvd;lt=ned.bgd(mod,skh.nvd,wnd,mkh);rkh=!0;
break}}ned=ned.cid}skh=skh.cid}var ned=nkh;while(ned!=null&&!rkh){if(ned.jog[hie]){phh=ned;qhh=mod;rhh=hie;lt=ned.bgd(mod,hie,wnd,mkh);rkh=!0}ned=ned.cid}}else {var ned=nkh;var tkh=mod|hie;while(ned!=null){if(ned.eod[tkh]){phh=ned;qhh=mod;rhh=hie;lt=ned.bgd(mod,hie,wnd,mkh);break}ned=ned.cid}}phh=okh;qhh=pkh;rhh=qkh;return lt};shh.prototype.bgd=function(mod,hie,wnd,mkh){return this.lkh(mod,hie,wnd,mkh,wnd.yud)};shh.prototype.fzd=function(ycd){if(this.tjf==ycd)return;this.tjf=ycd;this.ckh()};shh.prototype.gzd=function(ycd){
if(this.ujf==ycd)return;this.ujf=ycd;this.ckh()};shh.prototype.txd=function(ycd){while(ycd<0.0){ycd+=360.0}while(ycd>360.0){ycd-=360.0}this.ayd=slg(ycd,360.0);this.ekh()};shh.prototype.hzd=function(ycd){if(this.quc==ycd)return;this.quc=ycd;this.ekh()};shh.prototype.qud=function(){var kjh,iib;if(this.qif>=0){kjh=bvd.cbd(this.qif);}else {kjh=bvd.cbd(this.xud);}var rud=this.rud;if(kjh===null){this.rud.left=-100000;this.rud.top=-100000;this.rud.sud=-100000;this.rud.bottom=-100000;this.sih=!1}else if(this.adf==0){
var ukh=kjh.rud;rud.left=xfd(this.dg+this.fih*(ukh.left-kjh.cf));rud.sud=xfd(this.dg+this.fih*(ukh.sud-kjh.cf+1)-1);if(rud.left>rud.sud){iib=rud.left;rud.left=rud.sud;rud.sud=iib}rud.top=xfd(this.eg+this.gih*(ukh.top-kjh.df));rud.bottom=xfd(this.eg+this.gih*(ukh.bottom-kjh.df+1)-1);if(rud.top>rud.bottom){iib=rud.top;rud.top=rud.bottom;rud.bottom=iib}this.sih=kjh.vkh()}else {var ukh=kjh.rud;var wkh,xkh;wkh=this.fih*(ukh.left-kjh.cf);xkh=this.fih*(ukh.sud-kjh.cf+1)-1;var ykh,zkh;ykh=this.gih*(ukh.top-kjh.df);
zkh=this.gih*(ukh.bottom-kjh.df+1)-1;var dgc,wah;dgc=Math.cos(this.adf*cwd/180.0);wah=Math.sin(this.adf*cwd/180.0);var alh=dgc*xkh;var blh=dgc*wkh;var clh=wah*zkh;var dlh=wah*ykh;var iib;if(alh<blh){iib=blh;blh=alh;alh=iib}if(clh<dlh){iib=dlh;dlh=clh;clh=iib}rud.left=xfd(this.dg+blh+dlh);rud.sud=xfd(this.dg+alh+clh);var elh=dgc*zkh;var flh=dgc*ykh;var glh=wah*xkh;var hlh=wah*wkh;if(elh<flh){iib=flh;flh=elh;elh=iib}if(glh<hlh){iib=hlh;hlh=glh;glh=iib}rud.top=xfd(this.eg+flh-glh);rud.bottom=xfd(this.eg+elh-hlh);
this.sih=kjh.vkh()}this.rud=rud;this.pud=!1;};shh.prototype.ilh=function(xqd,yqd,zqd,ard,jlh){if(this.cud)return !1;if(this.pud)this.qud();var rud=this.rud;if(fwd(xqd,zqd)>=rud.sud+1)return !1;if(gwd(xqd,zqd)<rud.left)return !1;if(fwd(yqd,ard)>=rud.bottom+1)return !1;if(gwd(yqd,ard)<rud.top)return !1;if((!jlh)||(!this.sih))return !0;var sie;if(this.qif<0){sie=bvd.cbd(this.xud)}else {sie=bvd.cbd(this.qif)}if((sie===null)||(sie.bje==0))return !1;ohh.left=xfd(fwd(xqd,zqd));ohh.top=xfd(fwd(yqd,ard));ohh.sud=xfd(gwd(xqd,
zqd));ohh.bottom=xfd(gwd(yqd,ard));var dwd=sie.klh(Math.floor(this.one),rud,xfd(this.dg),xfd(this.eg),this.fih,this.gih,this.adf,ohh);return dwd};shh.prototype.iud=function(wnd,jlh){if(!(this==wnd)&&!this.cud&&!wnd.cud){if(this.pud)this.qud();if(wnd.pud)wnd.qud();var llh=wnd.rud;var mlh=this.rud;if(llh.left>=(mlh.sud+1))return !1;if((llh.sud+1)<=mlh.left)return !1;if(llh.top>=(mlh.bottom+1))return !1;if((llh.bottom+1)<=mlh.top)return !1;if(!jlh||(!this.sih&&!wnd.sih))return !0;var nlh=null;var olh=null;if(this.qif<0){
nlh=bvd.cbd(this.xud)}else {nlh=bvd.cbd(this.qif)}if((nlh==null)||(nlh.bje==0))return !1;if(wnd.qif<0){olh=bvd.cbd(wnd.xud);}else {olh=bvd.cbd(wnd.qif)}if((olh==null)||(olh.bje==0))return !1;return nlh.plh(this.one|0,this.rud,xfd(this.dg),xfd(this.eg),this.fih,this.gih,this.adf,olh,wnd.one|0,wnd.rud,xfd(wnd.dg),xfd(wnd.eg),wnd.fih,wnd.gih,wnd.adf)}return !1};shh.prototype.ede=function(lzd,xxd,kaf,qlh,jde,rlh){this.ncf=-1;if(lzd<0)return;var kde=lde.jf[lzd];if(!kde)return;if(kde.length<=0)return;if(kaf<0)return;
this.ncf=lzd;this.jih=xxd;if(this.jih>=0){this.rjf=0}else {this.rjf=1}this.sjf=this.rjf;this.kih=kaf;this.lih=qlh;this.dde=rlh;if(jde){if(this.jih>=0){this.nwb(kde.slh(0),kde.tlh(0))}else {this.nwb(kde.slh(1),kde.tlh(1))}}this.nih=this.dg;this.oih=this.eg};shh.prototype.qcf=function(){var okd,hjd,ijd;if(this.ncf<0)return !1;var kde=lde.jf[this.ncf];if(!kde)return;if(kde.length<=0)return;var ulh=!1;var vlh=this.lih*Math.PI/180.0;var wlh=kde.mwb(this.rjf);hjd=wlh.dg;ijd=wlh.eg;okd=wlh.quc;wlh=null;okd=okd/(100*this.kih);
this.rjf=this.rjf+this.jih*okd/kde.length;var xlh=kde.mwb(0);if((this.rjf>=1)||(this.rjf<=0)){ulh=(this.jih==0)?!1:!0;switch(this.dde){case 0:{if(this.jih!=0){this.rjf=1;this.ncf=-1}break}case 1:{if(this.rjf<0){this.rjf++}else {this.rjf--}break}case 2:{var ylh=kde.mwb(1);hjd=ylh.dg-xlh.dg;ijd=ylh.eg-xlh.eg;var zlh=this.kih*(hjd*Math.cos(vlh)+ijd*Math.sin(vlh));var amh=this.kih*(ijd*Math.cos(vlh)-hjd*Math.sin(vlh));if(this.rjf<0){this.nih=this.nih-zlh;this.oih=this.oih-amh;this.rjf++}else {this.nih=this.nih+zlh;
this.oih=this.oih+amh;this.rjf--}break}case 3:{if(this.rjf<0){this.rjf=-this.rjf;this.jih=Math.abs(this.jih)}else {this.rjf=2-this.rjf;this.jih=-Math.abs(this.jih);}break}default :{this.rjf=1;this.ncf=-1}}}wlh=kde.mwb(this.rjf);hjd=wlh.dg-xlh.dg;ijd=wlh.eg-xlh.eg;var qxd=this.nih+this.kih*(hjd*Math.cos(vlh)+ijd*Math.sin(vlh));var rxd=this.oih+this.kih*(ijd*Math.cos(vlh)-hjd*Math.sin(vlh));this.fzd(qxd-this.dg);this.gzd(rxd-this.eg);this.hzd(0);this.nwb(qxd,rxd);return ulh};shh.prototype.pre=function(hie){
var dwd=-1;if((hie>=0)&&(hie<klf)){dwd=ql(this,"__alarm__",hie)}return dwd};shh.prototype.bmh=function(hie,ycd){if((hie>=0)&&(hie<klf)){dm(this,"__alarm__",hie,ycd)}};shh.prototype.rif=function(){if(this.pud){this.qud()}return this.rud};shh.prototype.cmh=function(dmh,nrd){var fg,gg;if(!rie(this.xud)){fg=gg=0}else {var sie=bvd.cbd(this.xud);fg=sie.width*this.fih;gg=sie.height*this.gih}if(dmh){if((this.tjf<0)&&(this.dg<0)){this.nwb(this.dg+sad.gif()+fg,this.eg)}if((this.tjf>0)&&(this.dg>=sad.gif())){this.nwb(this.dg-sad.gif()-fg,
this.eg)}}if(nrd){if((this.ujf<0)&&(this.eg<0)){this.nwb(this.dg,this.eg+sad.fif()+gg)}if((this.ujf>0)&&(this.eg>=sad.fif())){this.nwb(this.dg,this.eg-sad.fif()-gg)}}};function pmg(){this.emh=new hdd();this.emh.idd=!0;this.fmh=[]}pmg.prototype.efc=function(){this.fmh=[];this.emh.efc()};pmg.prototype.bzd=function(){return this.emh.gmc};pmg.prototype.oub=function(bud){this.fmh[bud.id]=bud;this.emh.oub(bud)};pmg.prototype.wlg=function(xcd){return this.fmh[xcd]};pmg.prototype.cbd=function(xcd){var bud=this.fmh[xcd];
if(bud!=null)return bud;var ned=cnd.cbd(xcd);if(ned!=null){bud=ned.dnd.gmc[0];if(bud!=null)return bud}return null};pmg.prototype.gmh=function(wnd){this.emh.krg(wnd);var id=wnd.id;this.fmh[id]=null};pmg.prototype.hmh=function(){var gmc=sad.oud.gmc;for(var ai=0;ai<gmc.length;ai++){var bud=gmc[ai];bud.pjf=bud.dg;bud.qjf=bud.eg;bud.sjf=bud.rjf}};pmg.prototype.imh=function(){var gmc=sad.oud.gmc;for(var ai=0;ai<gmc.length;ai++){var bud=gmc[ai];bud.hkh();if(bud.qcf()){bud.bgd(rcf,0,bud,bud)}bud.dg+=bud.tjf;bud.eg+=bud.ujf;
bud.pud=!0}};pmg.prototype.jmh=function(){var gmc=sad.oud.gmc;for(var ai=0;ai<gmc.length;ai++){var bud=gmc[ai];bud.one+=bud.pm;var mpd=bud.jkh();if(bud.one>=mpd){bud.one-=mpd;var yud=bud.yud;if(yud.oif[lnf]){bud.bgd(lnf,0,bud,bud)}}}};pmg.prototype.bgd=function(mod,hie){var kmh=!0;if(sad){var tkh=mod;if(tkh!=bef)tkh|=hie;var gmc=sad.oud.gmc;for(var ai=0;ai<gmc.length;ai++){var bud=gmc[ai];if(!bud.cud){var yud=bud.yud;if(yud.oif[tkh]){kmh=bud.bgd(mod,hie,bud,bud)}}}}return kmh};var gk;function skg(xcd){var bud=bfe.cbd(xcd);
if(!bud){bud=cnd.cbd(xcd);if(!bud)bud=bud.okf.cbd(0)}return bud}function xkg(xcd){var bud=bfe.cbd(xcd);if(!bud){bud=cnd.cbd(xcd);if(!bud){thd("Unknown instance ID: "+xcd);debug(vhd());return ehg}bud=bud.okf.cbd(0);thd("Warning: Object ID being used to access instance"+xcd);debug(vhd())}return bud}var lmh=256;var mmh=3;var nmh=1024;var vre=1;var dse=2;var omh=4;var fcd=1;var dcd=2;var ecd=0x80000000;var pmh=128;var qmh=0,ybd=0,zbd=0,acd=0,rmh=-1,smh=0,tmh=0,umh=0,vmh=0,wmh=0,xmh=!1,wkf=0,xkf=0,ymh=0;var zmh=[];var anh=[];
var bnh=[];var yre=[];var bve=[];var bcd=[];var cnh=0;var obd=[];var dnh={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:";",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,186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"'",219:"[",220:"\\",221:"]",222:"#",223:"`"};var enh={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:":",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,186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"@",219:"{",220:"|",221:"}",222:"~",223:"¬"};function fnh(){xmh=!0}
function gnh(){xmh=!1;hnh()}function inh(jnh,knh){try{if(jnh){if(jnh.oe){if(jnh.oe.ti){if(jnh.oe.ti.xi){if(jnh.oe.ti.xi==oe.ti.xi){jnh.focus();knh.focus();return !0}}}}}}catch(err){}return !1}function lnh(){var xne=document.getElementById(bid);var mnh;if((lqe==ylf)||(lqe==xlf)||(lqe==zlf)||(lqe==amf)){mnh=parent.frames;for(var nnh=0;nnh<mnh.length;nnh++){var onh=mnh[nnh];if(inh(onh,xne))break}}else {mnh=parent.document.getElementsByTagName("IFRAME");for(var nnh in mnh){var onh=mnh[nnh].contentWindow;if(inh(onh,
xne))break}}}var pnh;var qnh;var rnh;var snh;function tnh(){var cle=document.getElementById("gm4html5_div_id");if(cle){qnh=cle.style.left;rnh=cle.style.top;snh=cle.style.margin;cle.style.margin="0px";cle.style.top="0";cle.style.left="0";cle.style.unh="0px";cle.style.vnh="0px";if(cle.mozRequestFullScreen){cle.mozRequestFullScreen()}else if(cle.webkitRequestFullScreen){cle.onwebkitfullscreenchange=function(e){cle.onwebkitfullscreenchange=wnh};if(lqe==zlf){cle.webkitRequestFullScreen()}else {cle.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}
}else if(document.documentElement.requestFullScreen){document.documentElement.requestFullScreen()}zhg=!0;return }if(canvas.mozRequestFullScreen){canvas.style.margin="0px";canvas.style.top="";canvas.style.left="";canvas.style.unh="0px";canvas.style.vnh="0px";canvas.mozRequestFullScreen()}else if(canvas.webkitRequestFullScreen){canvas.style.margin="0px";canvas.style.top="";canvas.style.left="";canvas.style.unh="0px";canvas.style.vnh="0px";canvas.onwebkitfullscreenchange=function(e){canvas.onwebkitfullscreenchange=wnh}
;if(lqe==zlf){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.unh="0px";canvas.style.vnh="0px";document.documentElement.requestFullScreen();}zhg=!0}function wnh(){if(shg){var cle=document.getElementById("gm4html5_div_id");if(cle){cle.style.left=qnh;cle.style.top=rnh;cle.style.margin=snh}zhg=!0}}function xnh(){if(document.webkitCancelFullScreen){
document.webkitCancelFullScreen()}else if(document.mozCancelFullScreen){document.mozCancelFullScreen();wnh()}else {zhg=!0}}function rid(){if(xhg)return;window.onkeyup=function(){ynh(arguments[0]||window.event)};window.onkeydown=function(){var znh=arguments[0]||window.event;if((thg)&&(znh!=null)&&(znh.which==121)&&(!znh.repeat)&&(canvas.mozRequestFullScreen)){if(!document.mozFullScreen){aoh();tnh()}else {boh()}znh.preventDefault();return }coh(arguments[0]||window.event)};xhg=!0}function fid(){if(xhg==!1)return;
window.onkeydown=null;window.onkeyup=null;xhg=!1}function coh(znh){var doh;if(znh==null){doh=window.event.which;if(doh==122)return;if(doh!=121)window.event.preventDefault();else zhg=!0;window.event.preventDefault()}else {if(znh.repeat)return;doh=znh.which;if(doh==122)return;if(doh==120){}else if(doh!=121)znh.preventDefault();else {if(thg){if(!shg){aoh();tnh()}else {xnh()}}}znh.preventDefault()}if(zmh[doh])return;zmh[doh]=1;anh[doh]=1;wmh=doh;if(lqe==wlf){vmh=znh.char}else {if(znh.shiftKey){vmh=enh[doh]}
else {vmh=dnh[doh]}}if(!vmh)vmh=""}function ynh(znh){var doh;if(znh==null){doh=window.event.which;if(doh==122)return;window.event.preventDefault()}else {doh=znh.which;if(doh==122)return;znh.preventDefault()}bnh[doh]=1;zmh[doh]=0;return !1}function vxe(wxe){ybd=wxe.pageX;zbd=wxe.pageY;bcd[wxe.button].dg=ybd;bcd[wxe.button].eg=zbd}function eoh(wxe){if(!xmh){lnh()}qmh=wxe.button;if(qmh==2)qmh=1;else if(qmh==1)qmh=2;tmh=rmh;rmh=qmh;acd|=(1<<qmh);bcd[wxe.button].ccd=dcd|ecd|fcd;bcd[wxe.button].dg=wxe.pageX;bcd[wxe.button].eg=wxe.pageY;
return wxe}function foh(wxe){qmh=wxe.button;if(qmh==2)qmh=1;else if(qmh==1)qmh=2;umh=smh;smh=qmh;acd&=~(1<<qmh);rmh=-1;bcd[wxe.button].ccd=0;return !1}function goh(wxe){if(wxe.detail){ymh=-wxe.detail}else {ymh=wxe.wheelDelta}}function hoh(){bfe.bgd(hnf,0);return undefined}function nmg(){this.ioh="a";this.joh=[];this.koh=this.loh=-1;this.moh=[];this.noh=[];this.ooh=[];this.poh=this.qoh=0;this.lad=[];this.nad=[];this.mad=[];this.roh=this.soh=!1;this.toh=[];this.uoh=this.voh=this.woh=this.xoh=this.wjf=this.xjf=this.yoh=0;
for(var ylb=0;ylb<nmh;ylb++){this.joh[ylb]=""}for(var ylb=0;ylb<lmh;ylb++){this.moh[ylb]=this.noh[ylb]=this.ooh[ylb]=!1;this.toh[ylb]=ylb}for(var ylb=0;ylb<mmh;ylb++){this.lad[ylb]=this.nad[ylb]=this.mad[ylb]=!1}this.hcc=zoh;this.aph=bph;this.cph=cph;this.dph=dph;this.eph=eph;this.fph=fph;this.gph=gph;this.hph=hph;this.iph=iph;this.jph=jph;this.kph=kph;this.lph=lph;this.mph=mph;this.nph=nph;this.oph=oph;this.pph=pph;this.qph=qph;this.rph=rph;this.sph=sph;this.tph=tph;this.uph=uph;this.vph=wph;this.xph=yph;
this.zph=aqh;this.bqh=bqh;for(var ylb=0;ylb<lmh;ylb++){zmh[ylb]=bnh[ylb]=!1}canvas.onmousemove=vxe;canvas.onmousedown=eoh;canvas.onmouseup=foh;canvas.onmousewheel=goh;canvas.onselectstart=function(){return !1};canvas.addEventListener("DOMMouseScroll",goh,!1);var ylb=document.getElementById("loading_screen");if(ylb){ylb.onmousemove=vxe;ylb.onmousedown=eoh;ylb.onmouseup=foh;ylb.onmousewheel=goh;ylb.addEventListener("DOMMouseScroll",goh,!1)}document.body.onfocusin=fnh;document.body.onfocusout=gnh;document.onfocusin=fnh;
document.onfocusout=gnh;window.cqh=fnh;window.dqh=gnh;if(typeof(yjd.ti.GenerateSpotifyApp)=="undefined")rid();window.eqh=hoh;bve=new Array(pmh);bcd=new Array(pmh);for(var fqh=0;fqh<pmh;fqh++){bve[fqh]=new gqh();bcd[fqh]=new gqh()}}function gqh(){this.ccd=0;this.dg=0;this.eg=0}function hnh(){hqh();iqh();kk.lwg=0;kk.lwg="";wmh=0;vmh=""}nmg.prototype.efc=function(){this.jqh();this.uph();kk.lwg=0;kk.mwg=0;kk.lwg="";wmh=0;vmh="";kk.nwg="";kk.owg=""};function cph(){return this.ioh}function dph(kqh){this.ioh=kah}
function eph(){return this.loh}function fph(){return this.koh}function gph(bbb){if(bbb<0||bbb>255)return !1;this.loh=bbb}function hph(bbb){if(bbb<0||bbb>255)return !1;this.koh=bbb}function iph(bbb){if(bbb<0||bbb>255)return !1;return this.moh[bbb]}function jph(bbb){if(bbb<0||bbb>255)return !1;return this.ooh[bbb]}function kph(bbb){if(bbb<0||bbb>255)return !1;return this.noh[bbb]}function lph(bbb){if(bbb<0||bbb>255)return;this.moh[bbb]=0;this.ooh[bbb]=0;this.noh[bbb]=0}nmg.prototype.jqh=function(){this.loh=0;this.koh=0;
this.ioh=0;for(var bg=0;bg<=lmh;bg++){this.moh[bg]=0;this.ooh[bg]=0;this.noh[bg]=0}};function hqh(){for(var bg=0;bg<lmh;bg++){anh[bg]=0;bnh[bg]=0;zmh[bg]=0}}function mph(){return this.poh}function nph(){return this.qoh}function oph(sue){if((sue<1)||(sue>3))return;this.poh=sue}function pph(sue){if((sue<1)||(sue>3))return;this.qoh=sue}function qph(sue){sue--;if(sue>=0&&sue<mmh){return this.lad[sue]}return !1}function rph(sue){sue--;if(sue>=0&&sue<mmh){return this.mad[sue]}}function sph(sue){sue--;if(sue>=0&&sue<mmh){
return this.nad[sue]}return !1}function tph(sue){sue--;if(sue>=0&&sue<mmh){this.lad[sue]=!1;this.mad[sue]=!1;this.nad[sue]=!1}}function uph(){this.poh=0;this.qoh=0;for(var bg=0;bg<=mmh;bg++){this.lad[bg]=!1;this.mad[bg]=!1;this.nad[bg]=!1}this.soh=!1;this.roh=!1;for(var qbd in obd){obd[qbd].efc()}}function iqh(){umh=-1;smh=-1;rmh=-1;acd=0;bcd[0].ccd=0;bcd[0].dg=0;bcd[0].eg=0;qmh=-1}function zoh(){for(var qbd in obd){var rbd=obd[qbd];if(rbd.lad){rbd.nad=0;rbd.mad=rbd.oad^rbd.lad}else {rbd.nad=rbd.oad^rbd.lad;rbd.mad=0}
rbd.oad=rbd.lad}for(var fqh=0;fqh<bcd.length;fqh++){bve[fqh].ccd=bcd[fqh].ccd;bve[fqh].dg=bcd[fqh].dg;bve[fqh].eg=bcd[fqh].eg;bcd[fqh].ccd&=~fcd}if(kk.lwg!=0)kk.mwg=kk.lwg;kk.lwg=wmh;if(wmh){if(vmh){if(wmh==13){}else if(wmh==8){kk.nwg=vmh;if(kk.owg.length>0){kk.owg=kk.owg.substring(0,kk.owg.length-1)}}else {kk.nwg=vmh;kk.owg+=kk.nwg;if(kk.owg.length>1024){kk.owg=kk.owg.substring(1,kk.owg.length-1)}}}wmh=0;}this.wjf=ybd;this.xjf=zbd;this.voh=acd;if((this.voh&1)!=0){this.lad[0]=1;if((this.woh^this.voh)!=0){
this.mad[0]=1}}else {this.lad[0]=0;if((this.voh^this.woh)==1){this.nad[0]=1}}if((this.voh&2)!=0){this.lad[1]=1;if((this.woh^this.voh)!=0){this.mad[1]=1}}else {this.lad[1]=0;if((this.voh^this.woh)==2){this.nad[1]=1}}if((this.voh&4)!=0){this.lad[2]=1;if((this.woh^this.voh)!=0){this.mad[2]=1}}else {this.lad[2]=0;if((this.voh^this.woh)==2){this.nad[2]=1}}this.woh=this.voh;kk.lk=this.wjf;kk.mk=this.xjf;kk.jwg=rmh+1;kk.kwg=tmh;this.bqh()}function bqh(){var lqh=0;var leb=0;var fg=ijg;var gg=jjg;var xeh=moe();var nke=noe();
if(fg<0)fg=xeh;if(gg<0)gg=nke;for(var fqh in bve){var mqh=bve[fqh];if((mqh.ccd&ecd)!=0){leb=1;for(var nqh in yre){var tre=yre[nqh];if((tre.kcc&vre)!=0){var dg=(fg*(mqh.dg-abd.left))/xeh;var eg=(gg*(mqh.eg-abd.top))/nke;if((dg>=tre.dg)&&(dg<tre.pkb)&&(eg>=tre.eg)&&(eg<tre.ftd)){lqh|=leb}}leb<<=1}mqh.ccd=0}}leb=1;var oqh=cnh^lqh;for(var nqh in yre){var tre=yre[nqh];if((tre.kcc&vre)!=0){var pqh=lqh&leb;var rhd=oqh&leb;if(tre.key!=0){this.ooh[tre.key]|=(pqh&&rhd);this.moh[tre.key]|=(pqh&&!rhd);this.noh[tre.key]|=(!pqh&&rhd)}
else {this.mad[tre.button-1]|=(pqh&&rhd);this.lad[tre.button-1]|=(pqh&&!rhd);this.nad[tre.button-1]|=(!pqh&&rhd)}}leb<<=1}cnh=lqh}function vph(qqh){var gmc=sad.oud.gmc;var znh=xmf|qqh;for(var xld=0;xld<gmc.length;xld++){var bud=gmc[xld];var ned=bud.yud;if(ned.oif[znh]){bud.bgd(xmf,qqh,bud,bud)}}}function rqh(sqh){var gmc=sad.oud.gmc;var znh=anf|sqh;for(var xld=0;xld<gmc.length;xld++){var bud=gmc[xld];if(bud.cud){continue}var ned=bud.yud;if(ned.oif[znh]){bud.bgd(anf,sqh,bud,bud)}}}function zph(tqh){var gmc=sad.oud.gmc;
var znh=bnf|tqh;for(var xld=0;xld<gmc.length;xld++){var bud=gmc[xld];var ned=bud.yud;if(ned.oif[znh]){bud.bgd(bnf,tqh,bud,bud)}}}function wph(){var uqh=0;for(var bg=2;bg<lmh;bg++){if(this.moh[bg]){uqh=1;vph(bg)}}vph(uqh)}function yph(){var vqh=0;for(var bg=2;bg<lmh;bg++){if(this.ooh[bg]){vqh=1;rqh(bg)}}rqh(vqh);}function aqh(){var wqh=0;for(var bg=2;bg<lmh;bg++){if(this.noh[bg]){wqh=1;zph(bg)}}zph(wqh)}function bph(){this.yoh++;for(var bg=0;bg<lmh;bg++){this.ooh[bg]=this.noh[bg]=this.moh[bg]=0}var xqh=0;var yqh=0;
for(var bg=0;bg<lmh;bg++){var key=this.toh[bg];this.ooh[key]|=anh[bg];this.noh[key]|=bnh[bg];this.moh[key]|=zmh[bg];xqh|=anh[bg];yqh|=zmh[bg];anh[bg]=0;bnh[bg]=0}this.ooh[1]=xqh;this.moh[1]=yqh;this.ooh[0]=xqh^1;this.moh[0]=yqh^1;wkf=xkf=0;if(ymh>0){wkf=1}else if(ymh<0){xkf=1}ymh=0;for(var bg=0;bg<=mmh;bg++){this.mad[bg]=!1;this.nad[bg]=!1}this.soh=!1;this.roh=!1;this.hcc();var tad;if(!sad.uad){tad=vad}else {tad=sad.wad}for(var qo=7;qo>=0;qo--){xad=tad[qo];if(xad&&xad.mg){if(xad.yad==-1){zad(canvas,abd)}
else {zad(bbd.cbd(xad.yad),abd)}if(((this.wjf-abd.left)>=xad.dbd)&&((this.wjf-abd.left)<xad.ebd)&&((this.xjf-abd.top)>=xad.fbd)&&((this.xjf-abd.top)<xad.gbd)){kk.lk=xad.hbd(xbd.wjf);kk.mk=xad.ibd(xbd.xjf);break}}}}function zqh(){xbd.vph();xbd.xph();xbd.zph()}function arh(ai){this.kcc=0;this.ai=ai;this.dg=0;this.eg=0;this.pkb=0;this.ftd=0;this.fg=0;this.gg=0;this.ftb=0;this.qo=0;this.key=0;this.button=0}function ure(){for(var ylb=0;ylb<yre.length;++ylb){if(yre[ylb].kcc==0){return yre[ylb]}}var bg=yre.length;
yre[bg]=new arh(bg);return yre[bg]}function zre(brh){yre[brh].kcc=0}function crh(){for(var ylb=0;ylb<yre.length;++ylb){yre[ylb].kcc=0}}nmg.prototype.drh=function(){vid();hdh();var zpd=[];zpd[0]=1;zpd[1]=0;zpd[2]=0;zpd[3]=1;zpd[4]=0;zpd[5]=0;uah(zpd);var erh=pqd();var frh=qqd();wl(0xffffff);for(var ylb=0;ylb<bse.length;++ylb){var cse=bse[ylb];drd(cse.dg,cse.eg,cse.dg+cse.fg-1,cse.eg+cse.gg-1,!0)}wl(frh);lqd(erh);jdh()};function hdd(){this.grh=[];this.gmc=[];this.idd=!1;this.length=0;this.teb=0}hdd.prototype.mlg=function(){
if(this.grh.length==0){return this.gmc.length}return this.grh.pop()};hdd.prototype.oub=function(hrg){var ai;if(this.idd){ai=this.gmc.length}else {ai=this.mlg()}this.gmc[ai]=hrg;this.teb++;this.length=this.gmc.length;return ai};hdd.prototype.cbd=function(jxd){if(jxd<0||jxd>=this.gmc.length)return null;return this.gmc[jxd]};hdd.prototype.irg=function(jrg){for(var ylb=0;ylb<this.gmc.length;ylb++){if(this.gmc[ylb]==jrg)return ylb}};hdd.prototype.krg=function(jrg){for(var ylb=0;ylb<this.gmc.length;ylb++){if(this.gmc[ylb]==jrg){
if(this.idd){this.gmc.splice(ylb,1)}else {this.gmc[ylb]=null;this.grh.push(ylb)}this.teb--;this.length=this.gmc.length;return !0}}return !1};hdd.prototype.bed=function(jxd){if(jxd<0||jxd>=this.gmc.length)return !1;if(this.idd){this.gmc.splice(jxd,1)}else {this.gmc[jxd]=null;this.grh.push(jxd)}this.teb--;this.length=this.gmc.length;return !0};hdd.prototype.efc=function(){this.gmc=[];this.grh=[];this.teb=0;this.length=this.gmc.length};hdd.prototype.hv=function(hie,ycd){if(hie<0||hie>=this.gmc.length)return;
this.gmc[hie]=ycd};hdd.prototype.hrh=function(irh){if(irh){this.gmc.sort(function(xab,qu){return xab-qu})}else {this.gmc.sort(function(xab,qu){return qu-xab})}this.grh=[];for(var bg=0;bg<this.gmc.length;bg++){if(this.gmc[bg]==null||this.gmc[bg]==undefined){this.grh.push(bg)}}};hdd.prototype.cbb=function(ucd){this.gmc=ucd.gmc.slice();this.grh=ucd.grh.slice();this.idd=ucd.idd;this.length=ucd.length;this.teb=ucd.teb};var njh=0,rjh=1,sjh=2;function jrh(){this.krh=null;this.lrh=0;this.mrh=null}function nrh(){
this.krh=null;this.orh=!1;this.zrg=null}function prh(){this.ocf=!1}function gef(qrh,rmd){this.qjd="[Object]";this.ccd=0;this.nvd=qrh;this.zng=rmd;this.djh=-1;this.zud=0;this.ejh=0;this.fjh=!1;this.gjh=!1;this.hjh=!1;this.lvd=0;this.cid=null;this.rrh=-1;this.hog=!1;this.okf=new hdd();this.dnd=new hdd();this.okf.idd=!0;this.dnd.idd=!0;this.srh=[];for(var xab=0;xab<klf;xab++){this.srh[xab]=null}this.trh=[];this.urh=[];this.vrh=[];this.jog=[];this.jg=[];this.eod=[];this.oif=[];this.jjh=new prh()}gef.prototype.bzd=function(){
return this.okf.gmc};gef.prototype.efe=function(){return this.dnd.gmc};function wog(wrh,xrh){var ned=new gef(wrh,xrh.re);with(ned){if(xrh.lg!=undefined)zud=xrh.lg;if(xrh.mg!=undefined)gjh=xrh.mg;if(xrh.czd!=undefined)fjh=xrh.czd;if(xrh.og!=undefined)ejh=xrh.og;if(xrh.ng!=undefined)hjh=xrh.ng;if(xrh.parent!=undefined)lvd=xrh.parent;if(xrh.yrh!=undefined)djh=xrh.yrh;if(xrh.pg){ned.pg=xrh.pg;ned.eod[cgd]=!0}if(xrh.zrh){ned.zrh=xrh.zrh;ned.eod[kud]=!0}if(xrh.ash){ned.ash=xrh.ash;ned.eod[enf]=!0}if(xrh.rg){
ned.rg=xrh.rg;ned.eod[dnf]=!0}if(xrh.bsh){ned.bsh=xrh.bsh;ned.eod[fnf]=!0}if(xrh.tg){ned.tg=xrh.tg;ned.eod[zmf]=!0}if(xrh.csh){ned.csh=xrh.csh;ned.eod[wof]=!0}if(xrh.dsh){ned.dsh=xrh.dsh;ned.eod[xof]=!0}if(xrh.esh){ned.esh=xrh.esh;ned.eod[jkf]=!0}if(xrh.fsh){ned.fsh=xrh.fsh;ned.eod[akf]=!0}if(xrh.gsh){ned.gsh=xrh.gsh;ned.eod[ckf]=!0;}if(xrh.hsh){ned.hsh=xrh.hsh;ned.eod[bkf]=!0}if(xrh.ish){ned.ish=xrh.ish;ned.eod[dkf]=!0}if(xrh.jsh){ned.jsh=xrh.jsh;ned.eod[fkf]=!0}if(xrh.ksh){ned.ksh=xrh.ksh;ned.eod[ekf]=!0}
if(xrh.lsh){ned.lsh=xrh.lsh;ned.eod[gkf]=!0}if(xrh.msh){ned.msh=xrh.msh;ned.eod[ikf]=!0}if(xrh.nsh){ned.nsh=xrh.nsh;ned.eod[hkf]=!0}if(xrh.osh){ned.osh=xrh.osh;ned.eod[mkf]=!0}if(xrh.psh){ned.psh=xrh.psh;ned.eod[nkf]=!0}if(xrh.qsh){ned.qsh=xrh.qsh;ned.eod[tkf]=!0}if(xrh.rsh){ned.rsh=xrh.rsh;ned.eod[yof]=!0}if(xrh.ssh){ned.ssh=xrh.ssh;ned.eod[zof]=!0}if(xrh.tsh){ned.tsh=xrh.tsh;ned.eod[ukf]=!0}if(xrh.ush){ned.ush=xrh.ush;ned.eod[apf]=!0}if(xrh.vsh){ned.vsh=xrh.vsh;ned.eod[bpf]=!0}if(xrh.wsh){ned.wsh=xrh.wsh;
ned.eod[vkf]=!0}if(xrh.xsh){ned.xsh=xrh.xsh;ned.eod[cpf]=!0}if(xrh.ysh){ned.ysh=xrh.ysh;ned.eod[dpf]=!0}if(xrh.zsh){ned.zsh=xrh.zsh;ned.eod[kkf]=!0}if(xrh.ath){ned.ath=xrh.ath;ned.eod[lkf]=!0}if(xrh.bth){ned.bth=xrh.bth;ned.eod[pif]=!0}if(xrh.cth){ned.cth=xrh.cth;ned.eod[tif]=!0}if(xrh.dth){ned.dth=xrh.dth;ned.eod[gnf]=!0}if(xrh.eth){ned.eth=xrh.eth;ned.eod[hnf]=!0}if(xrh.fth){ned.fth=xrh.fth;ned.eod[inf]=!0}if(xrh.gth){ned.gth=xrh.gth;ned.eod[jnf]=!0}if(xrh.hth){ned.hth=xrh.hth;ned.eod[knf]=!0}
if(xrh.ith){ned.ith=xrh.ith;ned.eod[lnf]=!0;}if(xrh.jth){ned.jth=xrh.jth;ned.eod[rcf]=!0}if(xrh.kth){ned.kth=xrh.kth;ned.eod[mnf]=!0}if(xrh.lth){ned.lth=xrh.lth;ned.eod[nnf]=!0}if(xrh.mth){ned.mth=xrh.mth;ned.eod[ajf]=!0}if(xrh.nth){ned.nth=xrh.nth;ned.eod[eof]=!0}if(xrh.oth){ned.oth=xrh.oth;ned.eod[fof]=!0}if(xrh.pth){ned.pth=xrh.pth;ned.eod[gof]=!0}if(xrh.qth){ned.qth=xrh.qth;ned.eod[hof]=!0}if(xrh.rth){ned.rth=xrh.rth;ned.eod[iof]=!0}if(xrh.sth){ned.sth=xrh.sth;ned.eod[jof]=!0}if(xrh.tth){ned.tth=xrh.tth;
ned.eod[kof]=!0}if(xrh.uth){ned.uth=xrh.uth;ned.eod[bjf]=!0}if(xrh.vth){ned.vth=xrh.vth;ned.eod[lof]=!0}if(xrh.wth){ned.wth=xrh.wth;ned.eod[mof]=!0}if(xrh.xth){ned.xth=xrh.xth;ned.eod[nof]=!0}if(xrh.yth){ned.yth=xrh.yth;ned.eod[oof]=!0}if(xrh.zth){ned.zth=xrh.zth;ned.eod[pof]=!0}if(xrh.auh){ned.auh=xrh.auh;ned.eod[qof]=!0}if(xrh.buh){ned.buh=xrh.buh;ned.eod[rof]=!0}if(xrh.cuh){ned.cuh=xrh.cuh;ned.eod[onf]=!0}if(xrh.duh){ned.duh=xrh.duh;ned.eod[pnf]=!0}if(xrh.euh){ned.euh=xrh.euh;ned.eod[qnf]=!0}
if(xrh.fuh){ned.fuh=xrh.fuh;ned.eod[rnf]=!0}if(xrh.guh){ned.guh=xrh.guh;ned.eod[snf]=!0}if(xrh.huh){ned.huh=xrh.huh;ned.eod[tnf]=!0}if(xrh.iuh){ned.iuh=xrh.iuh;ned.eod[unf]=!0}if(xrh.juh){ned.juh=xrh.juh;ned.eod[vnf]=!0}if(xrh.kuh){ned.kuh=xrh.kuh;ned.eod[wnf]=!0}if(xrh.luh){ned.luh=xrh.luh;ned.eod[xnf]=!0}if(xrh.muh){ned.muh=xrh.muh;ned.eod[ynf]=!0}if(xrh.nuh){ned.nuh=xrh.nuh;ned.eod[znf]=!0}if(xrh.ouh){ned.ouh=xrh.ouh;ned.eod[aof]=!0}if(xrh.puh){ned.puh=xrh.puh;ned.eod[bof]=!0}if(xrh.quh){ned.quh=xrh.quh;
ned.eod[cof]=!0}if(xrh.ruh){ned.ruh=xrh.ruh;ned.eod[dof]=!0}if(xrh.suh){ned.suh=xrh.suh;ned.eod[sof]=!0}if(xrh.tuh){ned.tuh=xrh.tuh;ned.eod[tof]=!0;}if(xrh.uuh){ned.uuh=xrh.uuh;ned.eod[uof]=!0}if(xrh.vuh){ned.vuh=xrh.vuh;ned.eod[vof]=!0}if(xrh.wuh){ned.wuh=xrh.wuh;ned.eod[ywe]=!0}if(xrh.dh){ned.srh[0]=xrh.dh;ned.eod[epf]=!0}if(xrh.xuh){ned.srh[1]=xrh.xuh;ned.eod[fpf]=!0}if(xrh.yuh){ned.srh[2]=xrh.yuh;ned.eod[gpf]=!0}if(xrh.zuh){ned.srh[3]=xrh.zuh;ned.eod[hpf]=!0;}if(xrh.avh){ned.srh[4]=xrh.avh;ned.eod[ipf]=!0}
if(xrh.bvh){ned.srh[5]=xrh.bvh;ned.eod[jpf]=!0}if(xrh.cvh){ned.srh[6]=xrh.cvh;ned.eod[kpf]=!0}if(xrh.dvh){ned.srh[7]=xrh.dvh;ned.eod[lpf]=!0}if(xrh.evh){ned.srh[8]=xrh.evh;ned.eod[mpf]=!0}if(xrh.fvh){ned.srh[9]=xrh.fvh;ned.eod[npf]=!0}if(xrh.gvh){ned.srh[10]=xrh.gvh;ned.eod[opf]=!0}if(xrh.hvh){ned.srh[11]=xrh.hvh;ned.eod[ppf]=!0;}if(xrh.ivh){ned.urh[wtf]=xrh.ivh;ned.eod[wtf]=!0}if(xrh.jvh){ned.urh[ytf]=xrh.jvh;ned.eod[ytf]=!0}if(xrh.kvh){ned.urh[ztf]=xrh.kvh;ned.eod[ztf]=!0}if(xrh.lvh){ned.urh[auf]=xrh.lvh;
ned.eod[auf]=!0}if(xrh.mvh){ned.urh[buf]=xrh.mvh;ned.eod[buf]=!0}if(xrh.nvh){ned.urh[cuf]=xrh.nvh;ned.eod[cuf]=!0}if(xrh.ovh){ned.urh[duf]=xrh.ovh;ned.eod[duf]=!0}if(xrh.pvh){ned.urh[euf]=xrh.pvh;ned.eod[euf]=!0}if(xrh.qvh){ned.urh[fuf]=xrh.qvh;ned.eod[fuf]=!0}if(xrh.rvh){ned.urh[guf]=xrh.rvh;ned.eod[guf]=!0}if(xrh.svh){ned.urh[huf]=xrh.svh;ned.eod[huf]=!0}if(xrh.tvh){ned.urh[iuf]=xrh.tvh;ned.eod[iuf]=!0}if(xrh.uvh){ned.urh[juf]=xrh.uvh;ned.eod[juf]=!0}if(xrh.vvh){ned.urh[kuf]=xrh.vvh;ned.eod[kuf]=!0}
if(xrh.wvh){ned.urh[luf]=xrh.wvh;ned.eod[luf]=!0}if(xrh.xvh){ned.urh[muf]=xrh.xvh;ned.eod[muf]=!0}if(xrh.yvh){ned.urh[nuf]=xrh.yvh;ned.eod[nuf]=!0}if(xrh.zvh){ned.urh[ouf]=xrh.zvh;ned.eod[ouf]=!0}if(xrh.awh){ned.urh[puf]=xrh.awh;ned.eod[puf]=!0}if(xrh.bwh){ned.urh[quf]=xrh.bwh;ned.eod[quf]=!0}if(xrh.cwh){ned.urh[ruf]=xrh.cwh;ned.eod[ruf]=!0}if(xrh.dwh){ned.urh[suf]=(xrh.dwh);ned.eod[suf]=!0}if(xrh.ewh){ned.urh[tuf]=(xrh.ewh);ned.eod[tuf]=!0}if(xrh.fwh){ned.urh[uuf]=(xrh.fwh);ned.eod[uuf]=!0}if(xrh.gwh){
ned.urh[vuf]=(xrh.gwh);ned.eod[vuf]=!0}if(xrh.hwh){ned.urh[wuf]=(xrh.hwh);ned.eod[wuf]=!0;}if(xrh.iwh){ned.urh[xuf]=(xrh.iwh);ned.eod[xuf]=!0}if(xrh.jwh){ned.urh[yuf]=(xrh.jwh);ned.eod[yuf]=!0}if(xrh.kwh){ned.urh[zuf]=(xrh.kwh);ned.eod[zuf]=!0}if(xrh.lwh){ned.urh[avf]=(xrh.lwh);ned.eod[avf]=!0}if(xrh.mwh){ned.urh[bvf]=(xrh.mwh);ned.eod[bvf]=!0}if(xrh.nwh){ned.urh[cvf]=(xrh.nwh);ned.eod[cvf]=!0}if(xrh.owh){ned.urh[dvf]=(xrh.owh);ned.eod[dvf]=!0;}if(xrh.pwh){ned.urh[evf]=(xrh.pwh);ned.eod[evf]=!0}
if(xrh.qwh){ned.urh[fvf]=(xrh.qwh);ned.eod[fvf]=!0}if(xrh.rwh){ned.urh[gvf]=(xrh.rwh);ned.eod[gvf]=!0}if(xrh.swh){ned.urh[hvf]=(xrh.swh);ned.eod[hvf]=!0}if(xrh.twh){ned.urh[ivf]=(xrh.twh);ned.eod[ivf]=!0}if(xrh.uwh){ned.urh[jvf]=(xrh.uwh);ned.eod[jvf]=!0}if(xrh.vwh){ned.urh[kvf]=(xrh.vwh);ned.eod[kvf]=!0;}if(xrh.wwh){ned.urh[lvf]=(xrh.wwh);ned.eod[lvf]=!0}if(xrh.xwh){ned.urh[mvf]=(xrh.xwh);ned.eod[mvf]=!0}if(xrh.ywh){ned.urh[nvf]=(xrh.ywh);ned.eod[nvf]=!0}if(xrh.zwh){ned.urh[ovf]=(xrh.zwh);ned.eod[ovf]=!0}
if(xrh.axh){ned.urh[pvf]=(xrh.axh);ned.eod[pvf]=!0}if(xrh.bxh){ned.urh[qvf]=(xrh.bxh);ned.eod[qvf]=!0}if(xrh.cxh){ned.urh[rvf]=(xrh.cxh);ned.eod[rvf]=!0;}if(xrh.dxh){ned.urh[svf]=(xrh.dxh);ned.eod[svf]=!0}if(xrh.exh){ned.urh[tvf]=(xrh.exh);ned.eod[tvf]=!0}if(xrh.fxh){ned.urh[uvf]=(xrh.fxh);ned.eod[uvf]=!0}if(xrh.gxh){ned.urh[vvf]=(xrh.gxh);ned.eod[vvf]=!0}if(xrh.hxh){ned.urh[wvf]=(xrh.hxh);ned.eod[wvf]=!0}if(xrh.ixh){ned.urh[xvf]=(xrh.ixh);ned.eod[xvf]=!0}if(xrh.jxh){ned.urh[yvf]=(xrh.jxh);ned.eod[yvf]=!0;
}if(xrh.kxh){ned.urh[zvf]=(xrh.kxh);ned.eod[zvf]=!0}if(xrh.lxh){ned.urh[awf]=(xrh.lxh);ned.eod[awf]=!0}if(xrh.mxh){ned.urh[bwf]=(xrh.mxh);ned.eod[bwf]=!0}if(xrh.nxh){ned.urh[cwf]=(xrh.nxh);ned.eod[cwf]=!0}if(xrh.oxh){ned.urh[dwf]=(xrh.oxh);ned.eod[dwf]=!0}if(xrh.pxh){ned.urh[ewf]=(xrh.pxh);ned.eod[ewf]=!0}if(xrh.qxh){ned.urh[fwf]=(xrh.qxh);ned.eod[fwf]=!0}if(xrh.rxh){ned.urh[gwf]=(xrh.rxh);ned.eod[gwf]=!0}if(xrh.sxh){ned.urh[hwf]=(xrh.sxh);ned.eod[hwf]=!0}if(xrh.txh){ned.urh[iwf]=(xrh.txh);ned.eod[iwf]=!0}
if(xrh.uxh){ned.urh[jwf]=(xrh.uxh);ned.eod[jwf]=!0}if(xrh.vxh){ned.urh[kwf]=(xrh.vxh);ned.eod[kwf]=!0}if(xrh.wxh){ned.urh[lwf]=(xrh.wxh);ned.eod[lwf]=!0}if(xrh.xxh){ned.urh[mwf]=(xrh.xxh);ned.eod[mwf]=!0}if(xrh.yxh){ned.urh[nwf]=(xrh.yxh);ned.eod[nwf]=!0}if(xrh.zxh){ned.urh[bxf]=(xrh.zxh);ned.eod[bxf]=!0}if(xrh.ayh){ned.urh[cxf]=(xrh.ayh);ned.eod[cxf]=!0}if(xrh.byh){ned.urh[dxf]=(xrh.byh);ned.eod[dxf]=!0}if(xrh.cyh){ned.urh[exf]=(xrh.cyh);ned.eod[exf]=!0}if(xrh.dyh){ned.urh[fxf]=(xrh.dyh);ned.eod[fxf]=!0}
if(xrh.eyh){ned.urh[gxf]=(xrh.eyh);ned.eod[gxf]=!0}if(xrh.fyh){ned.urh[hxf]=(xrh.fyh);ned.eod[hxf]=!0}if(xrh.gyh){ned.urh[ixf]=(xrh.gyh);ned.eod[ixf]=!0}if(xrh.hyh){ned.urh[jxf]=(xrh.hyh);ned.eod[jxf]=!0}if(xrh.iyh){ned.urh[kxf]=(xrh.iyh);ned.eod[kxf]=!0}if(xrh.jyh){ned.urh[lxf]=(xrh.jyh);ned.eod[lxf]=!0;}if(xrh.kyh){ned.urh[mxf]=(xrh.kyh);ned.eod[mxf]=!0}if(xrh.lyh){ned.urh[nxf]=(xrh.lyh);ned.eod[nxf]=!0}if(xrh.myh){ned.urh[oxf]=(xrh.myh);ned.eod[oxf]=!0}if(xrh.nyh){ned.urh[pxf]=(xrh.nyh);ned.eod[pxf]=!0}
if(xrh.oyh){ned.urh[qxf]=(xrh.oyh);ned.eod[qxf]=!0}if(xrh.pyh){ned.trh[rxf]=(xrh.pyh);ned.eod[rxf]=!0;}if(xrh.qyh){ned.trh[txf]=(xrh.qyh);ned.eod[txf]=!0}if(xrh.ryh){ned.trh[uxf]=(xrh.ryh);ned.eod[uxf]=!0}if(xrh.syh){ned.trh[vxf]=(xrh.syh);ned.eod[vxf]=!0}if(xrh.tyh){ned.trh[wxf]=(xrh.tyh);ned.eod[wxf]=!0}if(xrh.uyh){ned.trh[xxf]=(xrh.uyh);ned.eod[xxf]=!0}if(xrh.vyh){ned.trh[yxf]=(xrh.vyh);ned.eod[yxf]=!0}if(xrh.wyh){ned.trh[zxf]=(xrh.wyh);ned.eod[zxf]=!0}if(xrh.xyh){ned.trh[ayf]=(xrh.xyh);ned.eod[ayf]=!0}
if(xrh.yyh){ned.trh[byf]=(xrh.yyh);ned.eod[byf]=!0}if(xrh.zyh){ned.trh[cyf]=(xrh.zyh);ned.eod[cyf]=!0}if(xrh.azh){ned.trh[dyf]=(xrh.azh);ned.eod[dyf]=!0}if(xrh.bzh){ned.trh[eyf]=(xrh.bzh);ned.eod[eyf]=!0}if(xrh.czh){ned.trh[fyf]=(xrh.czh);ned.eod[fyf]=!0}if(xrh.dzh){ned.trh[gyf]=(xrh.dzh);ned.eod[gyf]=!0}if(xrh.ezh){ned.trh[hyf]=(xrh.ezh);ned.eod[hyf]=!0}if(xrh.fzh){ned.trh[iyf]=(xrh.fzh);ned.eod[iyf]=!0}if(xrh.gzh){ned.trh[jyf]=(xrh.gzh);ned.eod[jyf]=!0}if(xrh.hzh){ned.trh[kyf]=(xrh.hzh);ned.eod[kyf]=!0}
if(xrh.izh){ned.trh[lyf]=(xrh.izh);ned.eod[lyf]=!0}if(xrh.jzh){ned.trh[myf]=(xrh.jzh);ned.eod[myf]=!0}if(xrh.kzh){ned.trh[nyf]=(xrh.kzh);ned.eod[nyf]=!0}if(xrh.lzh){ned.trh[oyf]=(xrh.lzh);ned.eod[oyf]=!0}if(xrh.mzh){ned.trh[pyf]=(xrh.mzh);ned.eod[pyf]=!0;}if(xrh.nzh){ned.trh[qyf]=(xrh.nzh);ned.eod[qyf]=!0}if(xrh.ozh){ned.trh[ryf]=(xrh.ozh);ned.eod[ryf]=!0}if(xrh.pzh){ned.trh[syf]=(xrh.pzh);ned.eod[syf]=!0}if(xrh.qzh){ned.trh[tyf]=(xrh.qzh);ned.eod[tyf]=!0}if(xrh.rzh){ned.trh[uyf]=(xrh.rzh);ned.eod[uyf]=!0}
if(xrh.szh){ned.trh[vyf]=(xrh.szh);ned.eod[vyf]=!0}if(xrh.tzh){ned.trh[wyf]=(xrh.tzh);ned.eod[wyf]=!0}if(xrh.uzh){ned.trh[xyf]=(xrh.uzh);ned.eod[xyf]=!0}if(xrh.vzh){ned.trh[yyf]=(xrh.vzh);ned.eod[yyf]=!0}if(xrh.wzh){ned.trh[zyf]=(xrh.wzh);ned.eod[zyf]=!0}if(xrh.xzh){ned.trh[azf]=(xrh.xzh);ned.eod[azf]=!0}if(xrh.yzh){ned.trh[bzf]=(xrh.yzh);ned.eod[bzf]=!0}if(xrh.zzh){ned.trh[czf]=(xrh.zzh);ned.eod[czf]=!0}if(xrh.aai){ned.trh[dzf]=(xrh.aai);ned.eod[dzf]=!0}if(xrh.bai){ned.trh[ezf]=(xrh.bai);ned.eod[ezf]=!0}
if(xrh.cai){ned.trh[fzf]=(xrh.cai);ned.eod[fzf]=!0}if(xrh.dai){ned.trh[gzf]=(xrh.dai);ned.eod[gzf]=!0;}if(xrh.eai){ned.trh[hzf]=(xrh.eai);ned.eod[hzf]=!0}if(xrh.fai){ned.trh[izf]=(xrh.fai);ned.eod[izf]=!0}if(xrh.gai){ned.trh[jzf]=(xrh.gai);ned.eod[jzf]=!0}if(xrh.hai){ned.trh[kzf]=(xrh.hai);ned.eod[kzf]=!0}if(xrh.iai){ned.trh[lzf]=(xrh.iai);ned.eod[lzf]=!0}if(xrh.jai){ned.trh[mzf]=(xrh.jai);ned.eod[mzf]=!0}if(xrh.kai){ned.trh[nzf]=(xrh.kai);ned.eod[nzf]=!0}if(xrh.lai){ned.trh[ozf]=(xrh.lai);ned.eod[ozf]=!0}
if(xrh.mai){ned.trh[pzf]=(xrh.mai);ned.eod[pzf]=!0}if(xrh.nai){ned.trh[qzf]=(xrh.nai);ned.eod[qzf]=!0}if(xrh.oai){ned.trh[rzf]=(xrh.oai);ned.eod[rzf]=!0}if(xrh.pai){ned.trh[szf]=(xrh.pai);ned.eod[szf]=!0}if(xrh.qai){ned.trh[tzf]=(xrh.qai);ned.eod[tzf]=!0}if(xrh.rai){ned.trh[uzf]=(xrh.rai);ned.eod[uzf]=!0}if(xrh.sai){ned.trh[vzf]=(xrh.sai);ned.eod[vzf]=!0}if(xrh.tai){ned.trh[wzf]=(xrh.tai);ned.eod[wzf]=!0}if(xrh.uai){ned.trh[xzf]=(xrh.uai);ned.eod[xzf]=!0;}if(xrh.vai){ned.trh[yzf]=(xrh.vai);ned.eod[yzf]=!0}
if(xrh.wai){ned.trh[zzf]=(xrh.wai);ned.eod[zzf]=!0}if(xrh.xai){ned.trh[aag]=(xrh.xai);ned.eod[aag]=!0}if(xrh.yai){ned.trh[bag]=(xrh.yai);ned.eod[bag]=!0}if(xrh.zai){ned.trh[cag]=(xrh.zai);ned.eod[cag]=!0}if(xrh.abi){ned.trh[dag]=(xrh.abi);ned.eod[dag]=!0}if(xrh.bbi){ned.trh[eag]=(xrh.bbi);ned.eod[eag]=!0}if(xrh.cbi){ned.trh[fag]=(xrh.cbi);ned.eod[fag]=!0}if(xrh.dbi){ned.trh[gag]=(xrh.dbi);ned.eod[gag]=!0}if(xrh.ebi){ned.trh[hag]=(xrh.ebi);ned.eod[hag]=!0}if(xrh.fbi){ned.trh[iag]=(xrh.fbi);ned.eod[iag]=!0}
if(xrh.gbi){ned.trh[wag]=(xrh.gbi);ned.eod[wag]=!0}if(xrh.hbi){ned.trh[xag]=(xrh.hbi);ned.eod[xag]=!0}if(xrh.ibi){ned.trh[yag]=(xrh.ibi);ned.eod[yag]=!0}if(xrh.jbi){ned.trh[zag]=(xrh.jbi);ned.eod[zag]=!0}if(xrh.kbi){ned.trh[abg]=(xrh.kbi);ned.eod[abg]=!0}if(xrh.lbi){ned.trh[bbg]=(xrh.lbi);ned.eod[bbg]=!0}if(xrh.mbi){ned.trh[cbg]=(xrh.mbi);ned.eod[cbg]=!0}if(xrh.nbi){ned.trh[dbg]=(xrh.nbi);ned.eod[dbg]=!0}if(xrh.obi){ned.trh[ebg]=(xrh.obi);ned.eod[ebg]=!0}if(xrh.pbi){ned.trh[fbg]=(xrh.pbi);ned.eod[fbg]=!0}
if(xrh.qbi){ned.trh[gbg]=(xrh.qbi);ned.eod[gbg]=!0}if(xrh.rbi){ned.trh[hbg]=(xrh.rbi);ned.eod[hbg]=!0;}if(xrh.sbi){ned.trh[ibg]=(xrh.sbi);ned.eod[ibg]=!0}if(xrh.tbi){ned.trh[jbg]=(xrh.tbi);ned.eod[jbg]=!0}if(xrh.ubi){ned.trh[kbg]=(xrh.ubi);ned.eod[kbg]=!0}if(xrh.vbi){ned.trh[lbg]=(xrh.vbi);ned.eod[lbg]=!0}if(xrh.wbi){ned.vrh[mbg]=(xrh.wbi);ned.eod[mbg]=!0}if(xrh.xbi){ned.vrh[obg]=(xrh.xbi);ned.eod[obg]=!0}if(xrh.ybi){ned.vrh[pbg]=(xrh.ybi);ned.eod[pbg]=!0}if(xrh.zbi){ned.vrh[qbg]=(xrh.zbi);ned.eod[qbg]=!0}
if(xrh.aci){ned.vrh[rbg]=(xrh.aci);ned.eod[rbg]=!0}if(xrh.bci){ned.vrh[sbg]=(xrh.bci);ned.eod[sbg]=!0}if(xrh.cci){ned.vrh[tbg]=(xrh.cci);ned.eod[tbg]=!0}if(xrh.dci){ned.vrh[ubg]=(xrh.dci);ned.eod[ubg]=!0}if(xrh.eci){ned.vrh[vbg]=(xrh.eci);ned.eod[vbg]=!0;}if(xrh.fci){ned.vrh[wbg]=(xrh.fci);ned.eod[wbg]=!0}if(xrh.gci){ned.vrh[xbg]=(xrh.gci);ned.eod[xbg]=!0}if(xrh.hci){ned.vrh[ybg]=(xrh.hci);ned.eod[ybg]=!0}if(xrh.ici){ned.vrh[zbg]=(xrh.ici);ned.eod[zbg]=!0}if(xrh.jci){ned.vrh[acg]=(xrh.jci);ned.eod[acg]=!0}
if(xrh.kci){ned.vrh[bcg]=(xrh.kci);ned.eod[bcg]=!0;}if(xrh.lci){ned.vrh[ccg]=(xrh.lci);ned.eod[ccg]=!0}if(xrh.mci){ned.vrh[dcg]=(xrh.mci);ned.eod[dcg]=!0}if(xrh.nci){ned.vrh[ecg]=(xrh.nci);ned.eod[ecg]=!0}if(xrh.oci){ned.vrh[fcg]=(xrh.oci);ned.eod[fcg]=!0}if(xrh.pci){ned.vrh[gcg]=(xrh.pci);ned.eod[gcg]=!0}if(xrh.qci){ned.vrh[hcg]=(xrh.qci);ned.eod[hcg]=!0}if(xrh.rci){ned.vrh[icg]=(xrh.rci);ned.eod[icg]=!0}if(xrh.sci){ned.vrh[jcg]=(xrh.sci);ned.eod[jcg]=!0}if(xrh.tci){ned.vrh[kcg]=(xrh.tci);ned.eod[kcg]=!0}
if(xrh.uci){ned.vrh[lcg]=(xrh.uci);ned.eod[lcg]=!0}if(xrh.vci){ned.vrh[mcg]=(xrh.vci);ned.eod[mcg]=!0}if(xrh.wci){ned.vrh[ncg]=(xrh.wci);ned.eod[ncg]=!0}if(xrh.xci){ned.vrh[ocg]=(xrh.xci);ned.eod[ocg]=!0;}if(xrh.yci){ned.vrh[pcg]=(xrh.yci);ned.eod[pcg]=!0}if(xrh.zci){ned.vrh[qcg]=(xrh.zci);ned.eod[qcg]=!0}if(xrh.adi){ned.vrh[rcg]=(xrh.adi);ned.eod[rcg]=!0}if(xrh.bdi){ned.vrh[scg]=(xrh.bdi);ned.eod[scg]=!0}if(xrh.cdi){ned.vrh[tcg]=(xrh.cdi);ned.eod[tcg]=!0}if(xrh.ddi){ned.vrh[ucg]=(xrh.ddi);ned.eod[ucg]=!0}
if(xrh.edi){ned.vrh[vcg]=(xrh.edi);ned.eod[vcg]=!0}if(xrh.fdi){ned.vrh[wcg]=(xrh.fdi);ned.eod[wcg]=!0}if(xrh.gdi){ned.vrh[xcg]=(xrh.gdi);ned.eod[xcg]=!0}if(xrh.hdi){ned.vrh[ycg]=(xrh.hdi);ned.eod[ycg]=!0}if(xrh.idi){ned.vrh[zcg]=(xrh.idi);ned.eod[zcg]=!0}if(xrh.jdi){ned.vrh[adg]=(xrh.jdi);ned.eod[adg]=!0}if(xrh.kdi){ned.vrh[bdg]=(xrh.kdi);ned.eod[bdg]=!0}if(xrh.ldi){ned.vrh[cdg]=(xrh.ldi);ned.eod[cdg]=!0}if(xrh.mdi){ned.vrh[ddg]=(xrh.mdi);ned.eod[ddg]=!0}if(xrh.ndi){ned.vrh[edg]=(xrh.ndi);ned.eod[edg]=!0}
if(xrh.odi){ned.vrh[fdg]=(xrh.odi);ned.eod[fdg]=!0}if(xrh.pdi){ned.vrh[gdg]=(xrh.pdi);ned.eod[gdg]=!0}if(xrh.qdi){ned.vrh[hdg]=(xrh.qdi);ned.eod[hdg]=!0}if(xrh.rdi){ned.vrh[idg]=(xrh.rdi);ned.eod[idg]=!0}if(xrh.sdi){ned.vrh[jdg]=(xrh.sdi);ned.eod[jdg]=!0}if(xrh.tdi){ned.vrh[kdg]=(xrh.tdi);ned.eod[kdg]=!0}if(xrh.udi){ned.vrh[ldg]=(xrh.udi);ned.eod[ldg]=!0}if(xrh.vdi){ned.vrh[mdg]=(xrh.vdi);ned.eod[mdg]=!0}if(xrh.wdi){ned.vrh[ndg]=(xrh.wdi);ned.eod[ndg]=!0}if(xrh.xdi){ned.vrh[odg]=(xrh.xdi);ned.eod[odg]=!0}
if(xrh.ydi){ned.vrh[pdg]=(xrh.ydi);ned.eod[pdg]=!0}if(xrh.zdi){ned.vrh[qdg]=(xrh.zdi);ned.eod[qdg]=!0}if(xrh.aei){ned.vrh[rdg]=(xrh.aei);ned.eod[rdg]=!0}if(xrh.bei){ned.vrh[sdg]=(xrh.bei);ned.eod[sdg]=!0}if(xrh.cei){ned.vrh[tdg]=(xrh.cei);ned.eod[tdg]=!0}if(xrh.dei){ned.vrh[udg]=(xrh.dei);ned.eod[udg]=!0}if(xrh.eei){ned.vrh[vdg]=(xrh.eei);ned.eod[vdg]=!0}if(xrh.fei){ned.vrh[wdg]=(xrh.fei);ned.eod[wdg]=!0}if(xrh.gei){ned.vrh[xdg]=(xrh.gei);ned.eod[xdg]=!0}if(xrh.hei){ned.vrh[ydg]=(xrh.hei);ned.eod[ydg]=!0}
if(xrh.iei){ned.vrh[zdg]=(xrh.iei);ned.eod[zdg]=!0}if(xrh.jei){ned.vrh[aeg]=(xrh.jei);ned.eod[aeg]=!0}if(xrh.kei){ned.vrh[beg]=(xrh.kei);ned.eod[beg]=!0}if(xrh.lei){ned.vrh[ceg]=(xrh.lei);ned.eod[ceg]=!0}if(xrh.mei){ned.vrh[deg]=(xrh.mei);ned.eod[deg]=!0}if(xrh.nei){ned.vrh[reg]=(xrh.nei);ned.eod[reg]=!0}if(xrh.oei){ned.vrh[seg]=(xrh.oei);ned.eod[seg]=!0}if(xrh.pei){ned.vrh[teg]=(xrh.pei);ned.eod[teg]=!0}if(xrh.qei){ned.vrh[ueg]=(xrh.qei);ned.eod[ueg]=!0}if(xrh.rei){ned.vrh[veg]=(xrh.rei);ned.eod[veg]=!0}
if(xrh.sei){ned.vrh[weg]=(xrh.sei);ned.eod[weg]=!0}if(xrh.tei){ned.vrh[xeg]=(xrh.tei);ned.eod[xeg]=!0}if(xrh.uei){ned.vrh[yeg]=(xrh.uei);ned.eod[yeg]=!0}if(xrh.vei){ned.vrh[zeg]=(xrh.vei);ned.eod[zeg]=!0}if(xrh.wei){ned.vrh[afg]=(xrh.wei);ned.eod[afg]=!0}if(xrh.xei){ned.vrh[bfg]=(xrh.xei);ned.eod[bfg]=!0}if(xrh.yei){ned.vrh[cfg]=(xrh.yei);ned.eod[cfg]=!0}if(xrh.zei){ned.vrh[dfg]=(xrh.zei);ned.eod[dfg]=!0}if(xrh.afi){ned.vrh[efg]=(xrh.afi);ned.eod[efg]=!0}if(xrh.bfi){ned.vrh[ffg]=(xrh.bfi);ned.eod[ffg]=!0}
if(xrh.cfi){ned.vrh[gfg]=(xrh.cfi);ned.eod[gfg]=!0}var bg=0;if(xrh.vg!=undefined){while(bg<xrh.vg.length){var key=parseInt(xrh.vg[bg])+1;var mkd=xrh.vg[bg+1];var dfi=dhg.cbd(key);ned.eod[cnf]=!0;ned.eod[cnf|key]=!0;var efi=new jrh();efi.krh=mkd;efi.mrh=dfi;efi.lrh=key;ned.jg[cnf|key]=efi;bg+=2}}bg=0;if(xrh.wg!=undefined){while(bg<xrh.wg.length){ned.eod[bef]=!0;var key=parseInt(xrh.wg[bg]);var ffi=xrh.wg[bg+1];var gfi=new nrh();gfi.krh=ffi;gfi.hfi=!1;gfi.zrg=this;ned.jog[key]=gfi;bg+=2}}if(xrh.ocf!=undefined){
ned.jjh.ocf=xrh.ocf;ned.jjh.vjh=xrh.vjh;ned.jjh.mjh=xrh.mjh;ned.jjh.xjh=xrh.xjh;ned.jjh.yjh=xrh.yjh;ned.jjh.wjh=xrh.wjh;ned.jjh.ujh=xrh.ujh;ned.jjh.tjh=xrh.tjh;ned.jjh.zjh=xrh.zjh;ned.jjh.akh=xrh.akh;ned.jjh.bkh=xrh.bkh;ned.jjh.pjh=xrh.pjh}}return ned}gef.prototype.bgd=function(mod,ai,wnd,mkh){if(ife!=-1){return }var ifi=tig;var jfi=uig;var kfi=sig;var lfi=jfd;sig=this;tig=mod;uig=ai;jfd=!1;var kmh=!0;switch(mod){case cgd:if(this.pg)this.pg(wnd,mkh);else kmh=!1;break;case kud:if(this.zrh)this.zrh(wnd,mkh);
else kmh=!1;break;case llf:kmh=!1;break;case wmf:kmh=!1;break;case bef:if(this.jog[ai])this.jog[ai].krh(wnd,mkh);break;case xmf:if(this.trh[mod|ai])this.trh[mod|ai](wnd,mkh);else kmh=!1;break;case ymf:kmh=!1;break;case sif:kmh=!1;break;case zmf:if(this.tg)this.tg(wnd,mkh);else kmh=!1;break;case anf:if(this.urh[mod|ai])this.urh[mod|ai](wnd,mkh);else kmh=!1;break;case bnf:if(this.vrh[mod|ai])this.vrh[mod|ai](wnd,mkh);else kmh=!1;break;case cnf:if(this.jg[mod|ai]){var mfi=this.jg[mod|ai];var efi=mfi.mrh;var lt=efi.mkd(wnd,
mkh);if(lt|whg){mfi.krh(wnd,mkh)}}break;case wof:if(this.csh)this.csh(wnd,mkh);else kmh=!1;break;case xof:if(this.dsh)this.dsh(wnd,mkh);else kmh=!1;break;case enf:if(this.ash)this.ash(wnd,mkh);else kmh=!1;break;case dnf:if(this.rg)this.rg(wnd,mkh);else kmh=!1;break;case fnf:if(this.bsh)this.bsh(wnd,mkh);else kmh=!1;break;case pif:if(this.bth)this.bth(wnd,mkh);else kmh=!1;break;case tif:if(this.cth)this.cth(wnd,mkh);else kmh=!1;break;case gnf:if(this.dth)this.dth(wnd,mkh);else kmh=!1;break;case hnf:if(this.eth)this.eth(wnd,
mkh);else kmh=!1;break;case inf:if(this.fth)this.fth(wnd,mkh);else kmh=!1;break;case jnf:if(this.gth)this.gth(wnd,mkh);else kmh=!1;break;case knf:if(this.hth)this.hth(wnd,mkh);else kmh=!1;break;case lnf:if(this.ith)this.ith(wnd,mkh);else kmh=!1;break;case rcf:if(this.jth)this.jth(wnd,mkh);else kmh=!1;break;case mnf:if(this.kth)this.kth(wnd,mkh);else kmh=!1;break;case nnf:if(this.lth)this.lth(wnd,mkh);else kmh=!1;break;case ajf:if(this.mth)this.mth(wnd,mkh);else kmh=!1;break;case eof:if(this.nth)this.nth(wnd,mkh);
else kmh=!1;break;case fof:if(this.oth)this.oth(wnd,mkh);else kmh=!1;break;case gof:if(this.pth)this.pth(wnd,mkh);else kmh=!1;break;case hof:if(this.qth)this.qth(wnd,mkh);else kmh=!1;break;case iof:if(this.rth)this.rth(wnd,mkh);else kmh=!1;break;case jof:if(this.sth)this.sth(wnd,mkh);else kmh=!1;break;case kof:if(this.tth)this.tth(wnd,mkh);else kmh=!1;break;case bjf:if(this.uth)this.uth(wnd,mkh);else kmh=!1;break;case lof:if(this.vth)this.vth(wnd,mkh);else kmh=!1;break;case mof:if(this.wth)this.wth(wnd,mkh);else kmh=!1;
break;case nof:if(this.xth)this.xth(wnd,mkh);else kmh=!1;break;case oof:if(this.yth)this.yth(wnd,mkh);else kmh=!1;break;case pof:if(this.zth)this.zth(wnd,mkh);else kmh=!1;break;case qof:if(this.auh)this.auh(wnd,mkh);else kmh=!1;break;case rof:if(this.buh)this.buh(wnd,mkh);else kmh=!1;break;case sof:if(this.suh)this.suh(wnd,mkh);else kmh=!1;break;case tof:if(this.tuh)this.tuh(wnd,mkh);else kmh=!1;break;case uof:if(this.uuh)this.uuh(wnd,mkh);else kmh=!1;break;case vof:if(this.vuh)this.vuh(wnd,mkh);else kmh=!1;break;
case ywe:if(this.wuh)this.wuh(wnd,mkh);else kmh=!1;break;case onf:if(this.cuh)this.cuh(wnd,mkh);else kmh=!1;break;case pnf:if(this.duh)this.duh(wnd,mkh);else kmh=!1;break;case qnf:if(this.euh)this.euh(wnd,mkh);else kmh=!1;break;case rnf:if(this.fuh)this.fuh(wnd,mkh);else kmh=!1;break;case snf:if(this.guh)this.guh(wnd,mkh);else kmh=!1;break;case tnf:if(this.huh)this.huh(wnd,mkh);else kmh=!1;break;case unf:if(this.iuh)this.iuh(wnd,mkh);else kmh=!1;break;case vnf:if(this.juh)this.juh(wnd,mkh);else kmh=!1;break;case wnf:if(this.kuh)this.kuh(wnd,
mkh);else kmh=!1;break;case xnf:if(this.luh)this.luh(wnd,mkh);else kmh=!1;break;case ynf:if(this.muh)this.muh(wnd,mkh);else kmh=!1;break;case znf:if(this.nuh)this.nuh(wnd,mkh);else kmh=!1;break;case aof:if(this.ouh)this.ouh(wnd,mkh);else kmh=!1;break;case bof:if(this.puh)this.puh(wnd,mkh);else kmh=!1;break;case cof:if(this.quh)this.quh(wnd,mkh);else kmh=!1;break;case dof:if(this.ruh)this.ruh(wnd,mkh);else kmh=!1;break;case jkf:if(this.esh)this.esh(wnd,mkh);else kmh=!1;break;case akf:if(this.fsh)this.fsh(wnd,mkh);
else kmh=!1;break;case ckf:if(this.gsh)this.gsh(wnd,mkh);else kmh=!1;break;case bkf:if(this.hsh)this.hsh(wnd,mkh);else kmh=!1;break;case dkf:if(this.ish)this.ish(wnd,mkh);else kmh=!1;break;case fkf:if(this.jsh)this.jsh(wnd,mkh);else kmh=!1;break;case ekf:if(this.ksh)this.ksh(wnd,mkh);else kmh=!1;break;case gkf:if(this.lsh)this.lsh(wnd,mkh);else kmh=!1;break;case ikf:if(this.msh)this.msh(wnd,mkh);else kmh=!1;break;case hkf:if(this.nsh)this.nsh(wnd,mkh);else kmh=!1;break;case mkf:if(this.osh)this.osh(wnd,mkh);else kmh=!1;
break;case nkf:if(this.psh)this.psh(wnd,mkh);else kmh=!1;break;case tkf:if(this.qsh)this.qsh(wnd,mkh);else kmh=!1;break;case yof:if(this.rsh)this.rsh(wnd,mkh);else kmh=!1;break;case zof:if(this.ssh)this.ssh(wnd,mkh);else kmh=!1;break;case ukf:if(this.tsh)this.tsh(wnd,mkh);else kmh=!1;break;case apf:if(this.ush)this.ush(wnd,mkh);else kmh=!1;break;case bpf:if(this.vsh)this.vsh(wnd,mkh);else kmh=!1;break;case vkf:if(this.wsh)this.wsh(wnd,mkh);else kmh=!1;break;case cpf:if(this.xsh)this.xsh(wnd,mkh);else kmh=!1;break;
case dpf:if(this.ysh)this.ysh(wnd,mkh);else kmh=!1;break;case kkf:if(this.zsh)this.zsh(wnd,mkh);else kmh=!1;break;case lkf:if(this.ath)this.ath(wnd,mkh);else kmh=!1;break;case epf:if(this.srh[0]!=null)this.srh[0](wnd,mkh);else kmh=!1;break;case fpf:if(this.srh[1]!=null)this.srh[1](wnd,mkh);else kmh=!1;break;case gpf:if(this.srh[2]!=null)this.srh[2](wnd,mkh);else kmh=!1;break;case hpf:if(this.srh[3]!=null)this.srh[3](wnd,mkh);else kmh=!1;break;case ipf:if(this.srh[4]!=null)this.srh[4](wnd,mkh);else kmh=!1;break;
case jpf:if(this.srh[5]!=null)this.srh[5](wnd,mkh);else kmh=!1;break;case kpf:if(this.srh[6]!=null)this.srh[6](wnd,mkh);else kmh=!1;break;case lpf:if(this.srh[7]!=null)this.srh[7](wnd,mkh);else kmh=!1;break;case mpf:if(this.srh[8]!=null)this.srh[8](wnd,mkh);else kmh=!1;break;case npf:if(this.srh[9]!=null)this.srh[9](wnd,mkh);else kmh=!1;break;case opf:if(this.srh[10]!=null)this.srh[10](wnd,mkh);else kmh=!1;break;case ppf:if(this.srh[11]!=null)this.srh[11](wnd,mkh);else kmh=!1;break;default :kmh=!1}jfd=lfi;tig=ifi;
uig=jfi;sig=kfi;return kmh};gef.prototype.cjh=function(hud){this.okf.oub(hud);var ned=this;while(ned!=null){ned.dnd.oub(hud);ned=ned.cid}};gef.prototype.bjh=function(hud){this.okf.krg(hud);var nfi=this;while(nfi!=null){nfi.dnd.krg(hud);nfi=nfi.cid}};gef.prototype.ofi=function(mod,hie){if(!this.eod[mod|hie])return;var gmc=this.okf.gmc;for(var bg=0;bg<gmc.length;bg++){var bud=gmc[bg];this.bgd(mod,hie,bud,bud)}};function qmg(){this.pfi=[];this.vef=[];this.length=0}qmg.prototype.bzd=function(){return this.vef}
;qmg.prototype.oub=function(qfi){this.length++;this.pfi[qfi.zng]=qfi;this.vef[qfi.nvd]=qfi};qmg.prototype.cbd=function(wrh){return this.vef[wrh]};qmg.prototype.dvd=function(xcd){if(!this.vef[xcd])return !1;else return !0};qmg.prototype.esg=function(mod,hie){for(var xld in cnd.vef){var ned=cnd.vef[xld];if(ned.eod[mod|hie]){ned.ofi(mod|hie)}}};qmg.prototype.xog=function(){var gmc=this.vef;for(var ai in gmc){var ned=gmc[ai];ned.cid=cnd.cbd(ned.lvd);if(!ned.cid)ned.cid=null;for(var e in ned.eod){var znh=ned.eod[e];if(znh){
ned.oif[e]=!0}}}for(var ai in gmc){var tih=gmc[ai];var ned=tih.cid;while(ned!=null){for(var e in ned.eod){var znh=ned.eod[e];if(znh){tih.oif[e]=!0}}ned=ned.cid}}};function zl(wrh){if(wrh==lxd){return sad.bzd().slice(0)}var ned=cnd.cbd(wrh);if(ned!=null){return ned.dnd.gmc.slice(0)}var bud=bfe.cbd(wrh);if(bud!=null){var iib=[];iib[0]=bud;return iib}return null}function rfi(){this.gmc=[];this.length=0;this.teb=0;this.sfi=-1}rfi.prototype.cbd=function(hie){return this.gmc[hie]};rfi.prototype.oub=function(hrg){for(var bg=0;
bg<this.gmc.length;bg++){if(hrg.og<this.gmc[bg].og){this.gmc.splice(bg,0,hrg);this.teb++;this.length=this.gmc.length;return bg}}this.gmc[this.gmc.length]=hrg;this.teb++;this.length=this.gmc.length;return this.length-1};rfi.prototype.tfi=function(hrg){if(this.sfi<0){this.sfi=this.gmc.length}this.gmc[this.gmc.length]=hrg;this.teb++;this.length=this.gmc.length;return this.length-1};rfi.prototype.hrh=function(hrg){var bg=this.sfi;if(bg<0)return;var ldd=[];while(bg<this.gmc.length){ldd[ldd.length]=this.gmc[bg];
bg++}this.gmc.splice(this.sfi,this.gmc.length-this.sfi);for(bg=0;bg<ldd.length;bg++){this.oub(ldd[bg])}this.sfi=-1};rfi.prototype.tte=function(hrg){for(var bg=0;bg<this.gmc.length;bg++){if(hrg==this.gmc[bg]){this.gmc.splice(bg,1);this.teb--;this.length=this.gmc.length;return !0}}return !1};rfi.prototype.efc=function(){this.gmc=[];this.length=this.teb=0};rfi.prototype.cbd=function(hie){return this.gmc[hie]};rfi.prototype.cbb=function(ucd){this.gmc=ucd.gmc.slice();this.length=ucd.length;this.teb=ucd.teb;
this.sfi=ucd.sfi};var ufi=0,vfi=1,wfi=2,eif=3,yhf=4,xfi=5,qhf=6,yfi=7,thf=8,aif=9,nhf=10,zfi=11,agi=12,iif=13,bgi=14,cgi=0,dgi=1,egi=2,fgi=3,ggi=4,hgi=5,igi=0,jgi=1,kgi=2,lgi=0,mgi=1,ngi=2,ogi=3;function pgi(){this.ggb=qgi;this.efc=qgi;this.ggb()}function qgi(){this.qjd="[ParticleType]";this.dgd=!0;this.pcc=-1;this.rgi=!0;this.sgi=!1;this.tgi=!1;this.jdb=ufi;this.ugi=1.0;this.vgi=1.0;this.wgi=0.0;this.xgi=0.0;this.qsg=1.0;this.rsg=1.0;this.ygi=100;this.zgi=100;this.ahi=0;this.bhi=0;this.chi=0;this.dhi=0;
this.ehi=0.0;this.fhi=0.0;this.ghi=0.0;this.hhi=0.0;this.ihi=0.0;this.jhi=0.0;this.khi=0.0;this.lhi=0.0;this.mhi=0.0;this.nhi=0.0;this.ohi=0.0;this.phi=0.0;this.qhi=0.0;this.rhi=0.0;this.shi=270.0;this.thi=cgi;this.uhi=[];this.uhi[0]=egg;this.uhi[1]=egg;this.uhi[2]=egg;this.vhi=1.0;this.whi=1.0;this.xhi=1.0;this.yhi=!1;}function zhi(){this.efc=aii;this.ggb=aii;this.ggb()}function aii(){this.dgd=!0;this.bii=0;this.cii=0;this.wkh=0.0;this.xkh=0.0;this.ykh=0.0;this.zkh=0.0;this.jdb=lgi;this.dii=igi}function eii(){
this.fii;this.cii;this.gii;this.hii;this.dg;this.eg;this.quc;this.iii;this.wbh;this.color;this.ekb;this.qf;this.jii;this.kii};function lii(){this.efc=mii;this.ggb=mii;this.ggb()}function mii(){this.dgd=!1;this.nii=[];this.oii=[];this.pii=!0;this.og=0.0;this.qii=0.0;this.rii=0.0;this.sii=!0;this.tii=!0};function vhf(mwd){var r=lwd();return r*mwd}function uii(vii,wii,xii){var yii=wii-vii;if(yii<=0)return vii;var hjd=0.0;var dwd=0.0;switch(xii){case igi:dwd=vii+vhf(1)*yii;break;case jgi:{do {hjd=(vhf(1)-0.5)*6.0}
while(!(exp(-(hjd*hjd)*0.5)>vhf(1)));dwd=vii+((hjd+3.0)*(1.0/6.0))*yii}break;case kgi:{do {hjd=(vhf(1)-0.5)*6.0}while(!(exp(-(hjd*hjd)*0.5)>vhf(1)));if(hjd<0.0)hjd+=6.0;dwd=vii+(hjd*(1.0/6.0))*yii}break;default :dwd=vii+vhf(1)*yii}return dwd;}function zii(qcd,mwd){var iii;if(qcd==0){if(mwd>0){iii=270}else if(mwd<0){iii=90}else {iii=0}}else {var gtd=180.0*(Math.atan2(mwd,qcd))/Math.PI;if(gtd<=0){iii=-gtd}else {iii=360.0-gtd}}return iii-360.0*Math.floor(iii/360.0)}function aji(wxd,bji){return bji*Math.cos(wxd*Math.PI/180.0)}
function cji(wxd,bji){return -bji*Math.sin(wxd*Math.PI/180.0)}function dji(eji){fji=qgg[eji.cii];{if(eji.gii<=0||eji.hii<=0){switch(fji.thi){case cgi:eji.color=fji.uhi[0];break;case dgi:eji.color=fji.uhi[0];break;case egi:eji.color=fji.uhi[0];break;case fgi:{var r=~~(uii(fji.uhi[0],fji.uhi[1],igi));var g=~~(uii(fji.uhi[2],fji.uhi[3],igi));var qu=~~(uii(fji.uhi[4],fji.uhi[5],igi));eji.color=(r<<16)+(tnd.g<<8)+tnd.qu}break;case ggi:{var gg=~~(uii(fji.uhi[0],fji.uhi[1],igi));var cu=~~(uii(fji.uhi[2],fji.uhi[3],
igi));var qo=~~(uii(fji.uhi[4],fji.uhi[5],igi));eji.color=0xffffff}break;case hgi:eji.color=cqd(und(fji.uhi[0],fji.uhi[1],vhf(1)));break}}else {switch(fji.thi){case dgi:{var gji=eji.gii/eji.hii;if(gji>1)gji=1;eji.color=und((fji.uhi[0]),(fji.uhi[1]),gji)}break;case egi:{var gji=2.0*eji.gii/eji.hii;if(gji>2)gji=2;if(gji<1){eji.color=und(fji.uhi[0],fji.uhi[1],gji)}else {eji.color=und(fji.uhi[1],fji.uhi[2],gji-1)}}break}}}}function hji(qad,rad,iji){var dwd=new eii;jji=qgg[iji];if(jji==null||jji==undefined)return null;
dwd.fii=!0;dwd.cii=iji;dwd.dg=qad;dwd.eg=rad;dwd.quc=uii(jji.ehi,jji.fhi,0);dwd.iii=uii(jji.ihi,jji.jhi,0);dwd.wbh=uii(jji.mhi,jji.nhi,0);dwd.hii=uii(jji.ygi,jji.zgi,0);dwd.gii=0;dwd.color=0xffffff;dji(dwd);dwd.ekb=jji.vhi;dwd.qf=uii(jji.ugi,jji.vgi,0);if(jji.tgi){dwd.jii=vhf(10000)}else {dwd.jii=0}dwd.kii=vhf(100000);return dwd}function rae(){var rkf=qgg.length;qgg[rkf]=new pgi();return rkf}function tae(lzd){var kji=qgg[lzd];if(kji==null||kji==undefined)return !1;qgg[lzd]=null;return !0}function xae(lzd){
var kji=qgg[lzd];if(kji==null||kji==undefined)return !1;qgg[lzd].efc();return !0}function vae(lzd){var kji=qgg[lzd];if(kji==null||kji==undefined)return !1;return !0}function zae(lzd,lji){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.jdb=lji;kji.pcc=-1}function bbe(lzd,mne,mji,nji,oji){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.pcc=mne;kji.rgi=mji;kji.sgi=nji;kji.tgi=oji}function dbe(lzd,pji,qji,rji,sji){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.ugi=pji;kji.vgi=qji;kji.wgi=rji;
kji.xgi=sji}function fbe(lzd,jmd,kmd){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.qsg=jmd;kji.rsg=kmd}function ace(lzd,tji,uji){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.ygi=tji;kji.zgi=uji}function cce(lzd,vji,wji){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.bhi=vji;kji.ahi=wji}function ece(lzd,xji,yji){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.dhi=xji;kji.chi=yji}function ice(lzd,zji,aki,bki,cki){var kji=qgg[lzd];if(kji==null||kji==undefined)return;
kji.ehi=zji;kji.fhi=aki;kji.ghi=bki;kji.hhi=cki}function kce(lzd,dki,eki,fki,gki){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.ihi=dki;kji.jhi=eki;kji.khi=fki;kji.lhi=gki}function gce(lzd,hki,iki,jki,kki,lki){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.mhi=hki;kji.nhi=iki;kji.ohi=jki;kji.phi=kki;kji.qhi=lki}function mce(lzd,mki,nki){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.rhi=mki;kji.shi=nki}function qbe(lzd,oki,pki,qki,rki,ski,tki){var kji=qgg[lzd];if(kji==null||kji==undefined)return;
kji.thi=fgi;kji.uhi[0]=oki;kji.uhi[1]=pki;kji.uhi[2]=qki;kji.uhi[3]=rki;kji.uhi[4]=ski;kji.uhi[5]=tki}function obe(lzd,ond,pnd){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.thi=hgi;kji.uhi[0]=cqd(ond);kji.uhi[1]=cqd(pnd)}function sbe(lzd,uki,vki,wki,xki,yki,zki){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.thi=ggi;kji.uhi[0]=uki;kji.uhi[1]=vki;kji.uhi[2]=wki;kji.uhi[3]=xki;kji.uhi[4]=yki;kji.uhi[5]=zki}function hbe(lzd,ali){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.thi=cgi;
kji.uhi[0]=cqd(ali)}function jbe(lzd,ali,bli){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.thi=dgi;kji.uhi[0]=cqd(ali);kji.uhi[1]=cqd(bli)}function lbe(lzd,ali,cli,bli){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.thi=cgi;kji.uhi[0]=cqd(ali);kji.uhi[1]=cqd(cli);kji.uhi[2]=cqd(bli)}function ube(lzd,dli){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.vhi=dli;kji.whi=dli;kji.xhi=dli}function wbe(lzd,dli,eli){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.vhi=dli;
kji.whi=(dli+eli)/2.0;kji.xhi=eli}function ybe(lzd,dli,fli,eli){var kji=qgg[lzd];if(kji==null||kji==undefined)return;kji.vhi=dli;kji.whi=fli;kji.xhi=eli}function oce(mhf){var gli=rgg[mhf];if(gli==null||gli==undefined)return -1;var rkf=gli.oii.length;gli.oii[rkf]=new zhi();return rkf}function qce(mhf,lzd){var gli=rgg[mhf];if(gli==null||gli==undefined)return !1;var hli=gli.oii[lzd];if(hli==null||hli==undefined)return !1;gli.oii[lzd]=null;return !0}function sce(mhf){var gli=rgg[mhf];if(gli==null||gli==undefined)return !1;
gli.oii=[];return !0}function uce(mhf,lzd){var gli=rgg[mhf];if(gli==null||gli==undefined)return !1;var hli=gli.oii[lzd];if(hli==null||hli==undefined)return !1;return !0}function wce(mhf,lzd){var gli=rgg[mhf];if(gli==null||gli==undefined)return !1;var hli=gli.oii[lzd];if(hli==null||hli==undefined)return !1;hli.ggb()}function yce(mhf,lzd,ili,jli,kli,lli,lji,mli){var gli=rgg[mhf];if(gli==null||gli==undefined)return;var hli=gli.oii[lzd];if(hli==null||hli==undefined)return;hli.wkh=ili;hli.xkh=jli;hli.ykh=kli;hli.zkh=lli;
hli.jdb=lji;hli.dii=mli}function ade(mhf,lzd,nli,oli){if(oli<0){var lwd=vhf(-oli)|0;if(lwd==0){oli=1}else {return }}var gli=rgg[mhf];if(gli==null||gli==undefined)return;var hli=gli.oii[lzd];if(hli==null||hli==undefined)return;for(var bg=0;bg<=oli-1;bg++){var hjd,ijd;var pli=!1;while(pli==!1){hjd=uii(0.0,1.0,hli.dii);ijd=uii(0.0,1.0,hli.dii);if((hli.dii==kgi)&&(hli.jdb!=ogi)){if(vhf()<0.5){hjd=uii(0.0,1.0,0)}else {ijd=uii(0.0,1.0,0)}}switch(hli.jdb){case lgi:pli=!0;break;case mgi:if((sxd(hjd-0.5)+sxd(ijd-0.5))<=sxd(0.5))pli=!0;
break;case ngi:if((Math.abs(hjd-0.5)+Math.abs(ijd-0.5))<=0.5)pli=!0;break;case ogi:pli=!0;break;default :pli=!0;break}}if(hli.jdb==ogi){jae(mhf,hli.wkh+(hli.xkh-hli.wkh)*hjd,hli.ykh+(hli.zkh-hli.ykh)*hjd,nli,1)}else {jae(mhf,hli.wkh+(hli.xkh-hli.wkh)*hjd,hli.ykh+(hli.zkh-hli.ykh)*ijd,nli,1)}}}function cde(mhf,lzd,nli,oli){var gli=rgg[mhf];if(gli==null||gli==undefined)return;var hli=gli.oii[lzd];if(hli==null||hli==undefined)return;hli.bii=oli;hli.cii=nli}function jae(mhf,qad,rad,iji,oli){oli=~~oli;iji=~~iji;
var gli=rgg[mhf];if(gli==null||gli==undefined)return;var jji=qgg[iji];if(jji==null||jji==undefined)return !1;for(var bg=0;bg<oli;bg++){var ai=gli.nii.length;gli.nii[ai]=hji(qad,rad,iji)}}function lae(mhf,qad,rad,iji,wpd,oli){var gli=rgg[mhf];if(gli==null||gli==undefined)return;var jji=qgg[iji];if(jji==null||jji==undefined)return !1;for(var bg=1;bg<=oli;bg++){var ai=gli.nii.length;gli.nii[ai]=hji(qad,rad,iji);gli.nii[ai].color=cqd(wpd)}}function nae(mhf){var gli=rgg[mhf];if(gli==null||gli==undefined)return !1;
gli.nii=[];return !0}function pae(mhf){var gli=rgg[mhf];if(gli==null||gli==undefined)return 0;return gli.nii.teb}function nzd(){var ai=rgg.length;rgg[ai]=new lii();rgg[ai].efc();return ai}function rzd(mhf){var gli=rgg[mhf];if(gli==null||gli==undefined)return !1;return !0}function pzd(mhf){var gli=rgg[mhf];if(gli==null||gli==undefined)return;rgg[mhf]=null;return !0}function tzd(mhf){var gli=rgg[mhf];if(gli==null||gli==undefined)return;gli.efc()}function qli(){for(var lif in rgg){var gli=rgg[lif];if(gli){gli.nii=[]}}}function vzd(mhf,
rli){var gli=rgg[mhf];if(gli==null||gli==undefined)return;gli.pii=rli}function xzd(mhf,wih){var gli=rgg[mhf];if(gli==null||gli==undefined)return;gli.og=wih}function zzd(mhf,qad,rad){var gli=rgg[mhf];if(gli==null||gli==undefined)return;gli.qii=qad;gli.rii=rad}function bae(mhf,sli){var gli=rgg[mhf];if(gli==null||gli==undefined)return;gli.sii=sli}function dae(mhf,sli){var gli=rgg[mhf];if(gli==null||gli==undefined)return;gli.tii=sli}function tli(mhf){var bg=0;var bje=0;var rkf=0;var gli=rgg[mhf];var uli=gli.nii;bg=0;
while(bg<uli.length){var vli=uli[bg];var jji=qgg[vli.cii];vli.gii++;if(vli.gii>=vli.hii){bje=jji.dhi;if(bje<0){if(vhf(-bje)==0)bje=1}if(bje>0){jae(mhf,vli.dg,vli.eg,jji.chi,bje)}uli.splice(bg,1)}else {bje=jji.bhi;if(bje<0){if(vhf(-bje)==0)bje=1}if(bje>0){jae(mhf,vli.dg,vli.eg,jji.ahi,bje)}bg++}}}function wli(mhf){var bg=0;var jqb=0;var tjf=0.0;var ujf=0.0;var xli=0.0;var sab=0.0;var yli=0.0;var zli=0.0;var ami=0.0;var bmi=0.0;var cmi=0.0;var dmi=0.0;var emi=0.0;var gli=rgg[mhf];var uli=gli.nii;for(bg=0;bg<uli.length;
bg++){var vli=uli[bg];var jji=qgg[vli.cii];vli.quc=vli.quc+jji.ghi;if(vli.quc<0)vli.quc=0;vli.iii=vli.iii+jji.khi;vli.wbh=vli.wbh+jji.ohi;bmi=0;cmi=0;if((jji.rhi!=0)||(gli.fmi>0)){tjf=aji(vli.iii,vli.quc);ujf=cji(vli.iii,vli.quc);if(jji.rhi!=0){xli=aji(jji.shi,jji.rhi);sab=cji(jji.shi,jji.rhi);tjf=tjf+xli;ujf=ujf+sab}vli.iii=zii(tjf,ujf);vli.quc=Math.sqrt(tjf*tjf+ujf*ujf)}dmi=((vli.gii+3*vli.kii)%24)/6.0;if(dmi>2.0){dmi=4.0-dmi}dmi=dmi-1.0;emi=((vli.gii+4*vli.kii)%20)/5.0;if(emi>2.0){emi=4.0-emi}emi=emi-1.0;
tjf=aji(vli.iii+dmi*jji.lhi,vli.quc+emi*jji.hhi);ujf=cji(vli.iii+dmi*jji.lhi,vli.quc+emi*jji.hhi);vli.dg=vli.dg+tjf+bmi;vli.eg=vli.eg+ujf+cmi}}function gmi(mhf){var gli=rgg[mhf];var uli=gli.nii;for(var bg=0;bg<uli.length;bg++){var vli=uli[bg];var jji=qgg[vli.cii];vli.qf=vli.qf+jji.wgi;if(vli.qf<0){vli.qf=0}dji(vli);var hmi;if(vli.hii>0){hmi=2.0*vli.gii/vli.hii}else {hmi=1}if(hmi<1){vli.ekb=jji.vhi*(1.0-hmi)+jji.whi*hmi}else {vli.ekb=jji.whi*(2.0-hmi)+jji.xhi*(hmi-1)}}}function fae(mhf){var gli=rgg[mhf];if(gli==null||gli==undefined)return 0;
tli(mhf);wli(mhf);gmi(mhf);var imi=gli.oii;if(imi){for(var bg=0;bg<imi.length;bg++){if(imi[bg]!=null&&imi[bg].bii!=0){ade(mhf,bg,imi[bg].cii,imi[bg].bii)}}}}function jmi(){for(var bg=0;bg<rgg.length;bg++){var gli=rgg[bg];if(gli!=null){if(gli.sii){fae(bg)}}}}function kmi(eji,hde,ide){var kjh=null;var afh=null;if(eji.hii<=0)return;var jji=qgg[eji.cii];kjh=bvd.cbd(jji.pcc);if(kjh==null){var jdb=jji.jdb;if((jdb>=0)&&(jdb<bgi)){afh=pgg[jdb]}else {return }}var kwe;if(afh!=null){}else {if(kjh.mpd<=0)return;if(!jji.rgi){
kwe=eji.jii;}else if(jji.sgi){kwe=eji.jii+(kjh.bje*eji.gii/eji.hii)}else {kwe=eji.jii+eji.gii}}var r=((eji.gii+2*eji.kii)%16)/4.0;if(r>2.0)r=4.0-r;r=r-1.0;var lmi=eji.wbh;if(jji.qhi)lmi=lmi+eji.iii;lmi=lmi+r*jji.phi;r=((eji.gii+eji.kii)%16)/4.0;if(r>2.0)r=4.0-r;r=r-1.0;var cu=eji.qf+r*jji.xgi;var cg=eji.color;if(afh!=null){var qsg,rsg,wbh;var zah=jji.qsg*cu;var abh=jji.rsg*cu;var mmi=lmi;var nmi=~~(eji.dg+hde);var omi=~~(eji.eg+ide);if(zah==1&&abh==1&&mmi==0&&eji.color==0xffffff){kch(afh,nmi,omi,eji.ekb)}else {
zch(afh,0,0,nmi,omi,zah,abh,mmi*0.017453293,cg,cg,cg,cg,eji.ekb)}}else {kjh.wic(kwe,eji.dg+hde,eji.eg+ide,qgg[eji.cii].qsg*cu,qgg[eji.cii].rsg*cu,lmi,cg,eji.ekb)}}function hae(mhf){var gli=rgg[mhf];if(gli==null||gli==undefined)return;var uli=gli.nii;if(gli.pii){for(var bg=0;bg<gli.nii.length;bg++){kmi(uli[bg],gli.qii,gli.rii)}}else {for(var bg=gli.nii.length-1;bg>=0;bg--){kmi(uli[bg],gli.qii,gli.rii)}}}function pmi(qmi){for(var bg=0;bg<rgg.length;bg++){var gli=rgg[bg];if(gli!=null){if(gli.tii){if(Math.abs(gli.og-qmi)<0.01)hae(bg);
}}}}function rmi(){var dwd=-1000000000;for(var bg=0;bg<rgg.length;bg++){var gli=rgg[bg];if(gli!=null&&gli.nii.length>0){if(gli.tii){if(gli.og>dwd)dwd=gli.og}}}return dwd}function smi(qmi){var dwd=-1000000000;for(var bg=0;bg<rgg.length;bg++){var gli=rgg[bg];if(gli!=null&&gli.nii.length>0){if(gli.tii){if((gli.og>dwd)&&(gli.og<qmi))dwd=gli.og}}}return dwd}var tmi=0,umi=1;var vmi=0;function wmi(qad,rad,xxd){this.dg=qad;this.eg=rad;this.quc=xxd;this.ylb=0}function xmi(){this.qjd="[Path]";this.name="";this.id=vmi++;
this.se=0;this.ymi=0;this.zmi=0;this.efc()}xmi.prototype.efc=function(){this.fgc=[];this.ani=[];this.teb=0;this.bni=0;this.length=0};xmi.prototype.cni=function(){var bg=0;this.length=0;if(this.bni<=0)return;this.ani[0].ylb=0;for(bg=1;bg<this.bni;bg++){this.ani[bg].ylb=this.length=this.length+sqrt(sxd(this.ani[bg].dg-this.ani[bg-1].dg)+sxd(this.ani[bg].eg-this.ani[bg-1].eg))}};xmi.prototype.dni=function(thh,uhh,eni){with(this){this.bni++;if(this.bni>this.ani.length){}var fni=new wmi();this.ani[bni-1]=fni;
fni.dg=thh;fni.eg=uhh;fni.quc=eni}};xmi.prototype.gni=function(){this.bni=0;if(this.teb<=0)return;for(var bg=0;bg<this.teb;bg++){this.dni(this.fgc[bg].dg,this.fgc[bg].eg,this.fgc[bg].quc);}if(this.ymi){this.dni(this.fgc[0].dg,this.fgc[0].eg,this.fgc[0].quc)}};xmi.prototype.hni=function(wih,xqd,yqd,ini,zqd,ard,jni,hsd,isd,kni){if(wih==0)return;var qke=(xqd+zqd+zqd+hsd)/4.0;var rke=(yqd+ard+ard+isd)/4.0;var lni=(ini+jni+jni+kni)/4.0;if(sxd(zqd-xqd)+sxd(ard-yqd)>16.0){this.hni(wih-1,xqd,yqd,ini,(zqd+xqd)/2.0,
(ard+yqd)/2.0,(jni+ini)/2.0,qke,rke,lni)}this.dni(qke,rke,lni);if(sxd(zqd-hsd)+sxd(ard-isd)>16.0){this.hni(wih-1,qke,rke,lni,(hsd+zqd)/2.0,(isd+ard)/2.0,(kni+jni)/2.0,hsd,isd,kni)}};xmi.prototype.mni=function(){var bg=0;var kwe=0;this.bni=0;if(this.teb<=0)return;if(!this.ymi){this.dni(this.fgc[0].dg,this.fgc[0].eg,this.fgc[0].quc)}if(this.ymi){kwe=this.teb-1}else {kwe=this.teb-3}for(bg=0;bg<=kwe;bg++){var ejc=this.fgc[bg%this.teb];var fjc=this.fgc[(bg+1)%this.teb];var nni=this.fgc[(bg+2)%this.teb];this.hni(this.zmi,
(ejc.dg+fjc.dg)/2.0,(ejc.eg+fjc.eg)/2.0,(ejc.quc+fjc.quc)/2.0,fjc.dg,fjc.eg,fjc.quc,(fjc.dg+nni.dg)/2.0,(fjc.eg+nni.eg)/2.0,(fjc.quc+nni.quc)/2.0);}if(!this.ymi){this.dni(this.fgc[this.teb-1].dg,this.fgc[this.teb-1].eg,this.fgc[this.teb-1].quc)}else {this.dni(this.ani[0].dg,this.ani[0].eg,this.ani[0].quc)}};xmi.prototype.oni=function(){if(this.se==1){this.mni()}else {this.gni()}this.cni()};function npg(isg){var kde=new xmi();if((isg!=undefined)&&(isg!=null)){if(isg.zmi!=undefined){kde.zmi=isg.zmi}if(isg.ymi!=undefined){
kde.ymi=isg.ymi}if(isg.se!=undefined){kde.se=isg.se}if(isg.re!=undefined){kde.name=isg.re}if(isg.fgc!=undefined){kde.teb=isg.fgc.length}for(var ao in isg.fgc){var pni=isg.fgc[ao];var qni=new wmi(pni.dg,pni.eg,pni.quc);kde.fgc[kde.fgc.length]=qni}kde.oni()}return kde}var rni=new wmi(0,0,100);xmi.prototype.mwb=function(lzd){var kub=0;if(this.bni<=0){rni.dg=0;rni.eg=0;rni.quc=0;return rni}if((this.bni==1)||(this.length==0)||(lzd<=0)){return this.ani[0]}if(lzd>=1){return this.ani[this.bni-1]}var ylb=this.length*lzd;
kub=0;while((kub<this.bni-2)&&(ylb>=this.ani[kub+1].ylb)){kub++}var wlh=this.ani[kub];ylb=ylb-wlh.ylb;var fg=this.ani[kub+1].ylb-wlh.ylb;if(fg!=0){kub++;rni.dg=wlh.dg+ylb*(this.ani[kub].dg-wlh.dg)/fg;rni.eg=wlh.eg+ylb*(this.ani[kub].eg-wlh.eg)/fg;rni.quc=wlh.quc+ylb*(this.ani[kub].quc-wlh.quc)/fg;wlh=rni}return wlh};xmi.prototype.slh=function(lzd){ao=this.mwb(lzd);return ao.dg};xmi.prototype.tlh=function(lzd){ao=this.mwb(lzd);return ao.eg};xmi.prototype.sni=function(hde,ide){for(var bg=0;bg<=this.teb-1;
bg++){this.fgc[bg].dg+=hde;this.fgc[bg].eg+=ide}this.oni()};xmi.prototype.tni=function(){var wkh=100000000;var xkh=-100000000;var ykh=100000000;var zkh=-100000000;for(var bg=0;bg<=this.teb-1;bg++){if(this.fgc[bg].dg<wkh)wkh=this.fgc[bg].dg;if(this.fgc[bg].dg>xkh)xkh=this.fgc[bg].dg;if(this.fgc[bg].eg<ykh)ykh=this.fgc[bg].eg;if(this.fgc[bg].eg>zkh)zkh=this.fgc[bg].eg}return new wmi((wkh+xkh)/2.0,(ykh+zkh)/2.0,0)};xmi.prototype.uni=function(thh,uhh,eni){pni=new wmi(thh,uhh,eni);if(!this.fgc)this.fgc=[];this.fgc[this.fgc.length]=pni;
this.teb++;this.oni()};function wmg(){this.jf=[];vmi=0}wmg.prototype.oub=function(vni){this.jf[vni.id]=vni};wmg.prototype.tte=function(vni){this.jf[vni.id]=undefined};function wni(wih){this.og=wih;this.mg=!0;this.xni=new hdd()}wni.prototype.oub=function(yni){this.xni.oub(yni)};wni.prototype.tte=function(yni){this.xni.krg(yni);};wni.prototype.wic=function(uch){if(!this.mg){return }var gmc=this.xni.gmc;for(var ai=0;ai<gmc.length;ai++){var zni=gmc[ai];if(zni!=null){if(((zni.dg+zni.fg)>uch.left)&&(zni.dg<uch.sud)){
zni.wic()}}}};wni.prototype.bzd=function(){return this.xni.gmc};function aoi(){this.boi=new rfi();this.coi=-1}aoi.prototype.cbd=function(wih){var doi;for(var ai=0;ai<this.boi.teb;ai++){doi=this.boi.cbd(ai);if(doi.og==wih)return doi}return null};aoi.prototype.tte=function(wih){var doi=this.cbd(wih);if(doi){this.boi.tte(doi)}};aoi.prototype.oub=function(yni){var doi;doi=this.cbd(yni.og);if(!doi){doi=new wni(yni.og);this.boi.oub(doi)}doi.oub(yni)};aoi.prototype.eoi=function(yni){doi=this.cbd(yni.og);if(doi){
doi.tte(yni)}};aoi.prototype.foi=function(){this.coi=this.boi.length-1;return this.boi.cbd(this.coi)};aoi.prototype.fac=function(){this.coi--;if(this.coi<0)return null;return this.boi.cbd(this.coi)};function goi(){this.wjc=[];this.hg=0;this.hoi=goi.prototype.ioi;this.joi=goi.prototype.koi};goi.prototype.loi=function(){return(this.wjc.length==0)};goi.prototype.koi=function(jrg){this.wjc.push(jrg)};goi.prototype.ioi=function(){if(this.loi())return undefined;var moi=this.wjc[this.hg];if((++this.hg*2)>=this.wjc.length){
this.wjc=this.wjc.slice(this.hg);this.hg=0}return moi};function zog(){this.id=aig++;this.noi()}zog.prototype.noi=function(){this.qjd="[Room]";this.ooi="";this.poi="";this.qoi=30;this.roi=1024;this.soi=768;this.toi=!1;this.uoi=!1;this.voi=0xc0c0c0;this.woi=!0;this.xoi=!0;this.yoi=[];for(var iib=0;iib<lfg;iib++){this.yoi[iib]=null}this.uad=!1;this.zoi=null;this.oud=new rfi();this.gvd=new hdd();this.gvd.idd=!0;this.xih=[];this.bpi=0;this.cpi=[];this.dpi=new aoi();this.wad=[];this.epi=[];this.fpi=null;this.gpi="Room";
this.ree=null};zog.prototype.hpi=function(){return this.uad};zog.prototype.gif=function(){return this.roi};zog.prototype.fif=function(){return this.soi};zog.prototype.idf=function(){return this.qoi};zog.prototype.bzd=function(){return this.oud.gmc};zog.prototype.ipi=function(ycd){this.roi=ycd;kk.fl=ycd};zog.prototype.jpi=function(ycd){this.soi=ycd;kk.el=ycd};zog.prototype.kpi=function(ycd){this.qoi=ycd;kk.xm=ycd};zog.prototype.lpi=function(rmd){this.gpi=rmd};zog.prototype.mpi=function(npi){this.poi=npi;
kk.zug=npi};zog.prototype.opi=function(ycd){this.toi=ycd;kk.avg=ycd};zog.prototype.ppi=function(){this.fpi={re:"room_empty_"+this.id,width:640,height:480,rh:[{},{},{},{},{},{},{},{}],vh:[{},{},{},{},{},{},{},{}],bi:[],hi:[]};this.apg(this.fpi)};zog.prototype.qpi=function(isg){if(isg!=null){this.fpi.width=isg.width;this.fpi.height=isg.height;this.fpi.di=isg.di;this.fpi.rpi=isg.rpi;this.fpi.spi=isg.spi;this.fpi.tpi=isg.tpi;this.fpi.upi=isg.upi;this.fpi.quc=isg.quc;this.fpi.ng=isg.ng;for(var bg=0;bg<isg.rh.length;
bg++){var vpi=isg.rh[bg];if(vpi!=null){this.fpi.rh[bg]={mg:vpi.mg,ai:vpi.ai,ujf:vpi.ujf,tjf:vpi.tjf,sh:vpi.sh,dg:vpi.dg,eg:vpi.eg,th:vpi.th,uh:vpi.uh,tjf:vpi.tjf,ujf:vpi.ujf,ii:vpi.ii,ekb:vpi.ekb,psg:vpi.psg}}}for(var bg=0;bg<isg.vh.length;bg++){var wpi=isg.vh[bg];if(wpi){this.fpi.vh[bg]={mg:wpi.mg,xpi:wpi.xpi,ypi:wpi.ypi,wh:wpi.wh,xh:wpi.xh,zpi:wpi.zpi,aqi:wpi.aqi,yh:wpi.yh,zh:wpi.zh,bqi:wpi.bqi,cqi:wpi.cqi,tjf:wpi.tjf,ujf:wpi.ujf,ai:wpi.ai}}}this.fpi.bi=new Array(isg.bi.length);for(var bg=0;bg<isg.bi.length;
bg++){var dqi=isg.bi[bg];if(dqi){this.fpi.bi[bg]={dg:dqi.dg,eg:dqi.eg,ai:dqi.ai,id:dqi.id,ci:dqi.adf,yf:dqi.yf,zf:dqi.zf,di:dqi.iih}}}this.fpi.hi=new Array(isg.bi.length);for(var bg=0;bg<isg.hi.length;bg++){var eqi=isg.hi[bg];if(eqi!=null){this.fpi.hi[bg]={dg:eqi.dg,eg:eqi.eg,ai:eqi.ai,fqi:eqi.fqi,gqi:eqi.gqi,fg:eqi.fg,gg:eqi.gg,og:eqi.og,id:eqi.id}}}}};zog.prototype.apg=function(hqi){with(this){noi();fpi=hqi;if(hqi.re!=undefined)lpi(hqi.re);if(hqi.upi!=undefined)mpi(hqi.upi);if(hqi.width!=undefined)ipi(hqi.width);
if(hqi.height!=undefined)jpi(hqi.height);if(hqi.quc!=undefined)kpi(hqi.quc);if(hqi.ng!=undefined)opi(hqi.ng);if(hqi.di!=undefined)voi=hqi.di;if(hqi.rpi!=undefined)woi=hqi.rpi;if(hqi.spi!=undefined)uad=hqi.spi;if(hqi.tpi!=undefined)xoi=hqi.tpi;this.ipi(this.roi);this.jpi(this.soi);this.kpi(this.qoi);this.mpi(this.poi);this.opi(this.toi);wad=[];bpi=0;for(var ai in hqi.hi){var iqi=hqi.hi[ai];if(iqi!=null){var zni=jqi(iqi);this.dpi.oub(zni);this.cpi[zni.id]=zni;this.bpi++}}if(hqi.ph!=undefined)zoi=hqi.ph;
var bg=0;for(var qo in hqi.vh){wad[qo]=kqi(hqi.vh[qo])}}};zog.prototype.lqi=function(){if(this.fpi.mqi){this.ree=new ubf(this.fpi.nqi,this.idf());this.ree.fic(this.fpi.oqi,this.fpi.pqi)}};zog.prototype.qqi=function(){var bg;var rqi=0;var sqi=[];for(bg=this.oud.length-1;bg>=0;bg--){this.tqi(this.oud.cbd(0))}for(bg=this.gvd.length-1;bg>=0;bg--){this.tqi(this.gvd.cbd(0))}};zog.prototype.uqi=function(){var bg,fg,gg;if(sad.hpi()){}else {fg=sad.gif();gg=sad.fif()}if(fg>nch())fg=nch();if(gg>och())gg=och()};zog.prototype.agd=function(qad,
rad,vfd){return this.cjh(qad,rad,hig++,vfd,!0);};zog.prototype.cjh=function(qad,rad,xcd,uud,vqi,wqi,wze,sqd){var xqi=vqi;if(xqi!=!0&&xqi!=!1){xqi=!0}else {vqi=undefined}var yqi=new shh(qad,rad,xcd,uud,xqi);this.oud.tfi(yqi);bfe.oub(yqi);if(vqi!=undefined)yqi.fih=vqi;if(wqi!=undefined)yqi.gih=wqi;if(wze!=undefined)yqi.adf=wze;if(sqd!=undefined)yqi.iih=sqd;yqi.ijh();return yqi};zog.prototype.zqi=function(){var ai=0;for(bg in this.wad){xad=this.wad[bg];dm(kk,"__view_visible__",ai,xad.mg);dm(kk,"__view_xview__",
ai,xad.eme);dm(kk,"__view_yview__",ai,xad.fme);dm(kk,"__view_wview__",ai,xad.gme);dm(kk,"__view_hview__",ai,xad.hme);dm(kk,"__view_xport__",ai,xad.ime);dm(kk,"__view_yport__",ai,xad.jme);dm(kk,"__view_wport__",ai,xad.kme);dm(kk,"__view_hport__",ai,xad.lme);dm(kk,"__view_angle__",ai,xad.bob);dm(kk,"__view_hborder__",ai,xad.bqi);dm(kk,"__view_vborder__",ai,xad.cqi);dm(kk,"__view_hspeed__",ai,xad.tjf);dm(kk,"__view_vspeed__",ai,xad.ujf);dm(kk,"__view_object__",ai,xad.wfd);dm(kk,"__view_surface_id__",
ai,xad.yad);ai++}};zog.prototype.ari=function(){var ai=0;for(bg in this.wad){xad=this.wad[bg];xad.mg=ql(kk,"__view_visible__",ai);xad.eme=ql(kk,"__view_xview__",ai);xad.fme=ql(kk,"__view_yview__",ai);xad.gme=ql(kk,"__view_wview__",ai);xad.hme=ql(kk,"__view_hview__",ai);xad.ime=ql(kk,"__view_xport__",ai);xad.jme=ql(kk,"__view_yport__",ai);xad.kme=ql(kk,"__view_wport__",ai);xad.lme=ql(kk,"__view_hport__",ai);xad.bob=ql(kk,"__view_angle__",ai);xad.bqi=ql(kk,"__view_hborder__",ai);xad.cqi=ql(kk,"__view_vborder__",
ai);xad.tjf=ql(kk,"__view_hspeed__",ai);xad.ujf=ql(kk,"__view_vspeed__",ai);xad.wfd=ql(kk,"__view_object__",ai);xad.yad=ql(kk,"__view_surface_id__",ai);ai++}};zog.prototype.bri=function(){for(var bg=0;bg<lgg.tsg.length;bg++){var qo=ql(kk,"__background_visible__",bg);if(qo){var usg=lgg.cbd(bg);usg.tjf=ql(kk,"__background_hspeed__",bg);usg.ujf=ql(kk,"__background_vspeed__",bg);usg.dg=ql(kk,"__background_x__",bg);usg.eg=ql(kk,"__background_y__",bg);usg.dg+=usg.tjf;usg.eg+=usg.ujf;dm(kk,"__background_x__",
bg,usg.dg);dm(kk,"__background_y__",bg,usg.eg)}}};zog.prototype.cri=function(){var bg;var ylb,iib,dri,eri;var xad;var bud;if(!this.uad)return;this.ari();for(bg in this.wad){xad=this.wad[bg];if((xad.mg)&&(xad.wfd>=0)){bud=null;if(xad.wfd<100000){var ned=cnd.cbd(xad.wfd);if(ned!=null){var gmc=ned.efe();for(var xld in gmc){bud=gmc[xld];if(!bud.cud)break;bud=null}}}else {bud=bfe.cbd(xad.wfd);if(!bud&&bud.cud)bud=null}if(bud!=null){ylb=xad.eme;iib=xad.fme;dri=Math.round(bud.dg);eri=Math.round(bud.eg);if(2*xad.bqi>=xad.gme){
ylb=dri-xad.gme/2}else if(dri-xad.bqi<xad.eme){ylb=dri-xad.bqi}else if(dri+xad.bqi>xad.eme+xad.gme){ylb=dri+xad.bqi-xad.gme;}if(2*xad.cqi>=xad.hme){iib=eri-xad.hme/2}else if(eri-xad.cqi<xad.fme){iib=eri-xad.cqi}else if(eri+xad.cqi>xad.fme+xad.hme){iib=eri+xad.cqi-xad.hme}if(ylb<0)ylb=0;if(ylb+xad.gme>this.roi)ylb=this.roi-xad.gme;if(iib<0)iib=0;if(iib+xad.hme>this.soi)iib=this.soi-xad.hme;if(xad.tjf>=0){if((ylb<xad.eme)&&(xad.eme-ylb>xad.tjf))ylb=xad.eme-xad.tjf;if((ylb>xad.eme)&&(ylb-xad.eme>xad.tjf))ylb=xad.eme+xad.tjf}
if(xad.ujf>=0){if((iib<xad.fme)&&(xad.fme-iib>xad.ujf))iib=xad.fme-xad.ujf;if((iib>xad.fme)&&(iib-xad.fme>xad.ujf))iib=xad.fme+xad.ujf}xad.eme=ylb;xad.fme=iib}}}this.zqi()};var fri=!1;zog.prototype.gri=function(uch){var doi=this.dpi.foi();var hri=doi.og;for(var bg=this.oud.length-1;bg>=0;bg--){var bud=this.oud.cbd(bg);if(bud.cud||bud.mg==0)continue;while(hri>bud.og){doi.wic(uch);doi=this.dpi.fac();if(doi){hri=doi.og}else {hri=-1000000000000}}if(!bud.oif[zmf]){var avd=bvd.cbd(bud.xud);if(avd){if((bud.fih==1.0)&&(bud.gih==1.0)&&(bud.adf==0.0)&&(bud.iih==0xffffff)){
avd.pne(bud.one,bud.dg,bud.eg,bud.hih*mqd)}else {avd.wic(bud.one,bud.dg,bud.eg,bud.fih,bud.gih,bud.adf,bud.iih,bud.hih*mqd)}}}else {bud.bgd(zmf,0,bud,bud)}}while(doi){doi.wic(uch);doi=this.dpi.fac()}};zog.prototype.iri=function(uch){var avd,bud,bg,gmc,bah;gmc=this.oud.gmc;bah=bvd.xe;for(bg=gmc.length-1;bg>=0;bg--){bud=gmc[bg];if(bud.cud||!bud.mg)continue;if(!bud.oif[zmf]){avd=bah[bud.xud];if(avd){if((bud.fih==1.0)&&(bud.gih==1.0)&&(bud.adf==0.0)&&(bud.iih==0xffffff)){avd.pne(bud.one,bud.dg,bud.eg,bud.hih*mqd)}
else {avd.wic(bud.one,bud.dg,bud.eg,bud.fih,bud.gih,bud.adf,bud.iih,bud.hih*mqd)}}}else {bud.bgd(zmf,0,bud,bud)}}};zog.prototype.jri=function(uch){var kri=rmi();for(var bg=this.oud.length-1;bg>=0;bg--){var bud=this.oud.cbd(bg);if(bud.cud||bud.mg==0)continue;var lri=kri;while(kri>bud.og){pmi(kri);kri=smi(kri);if(kri==lri){break}lri=kri}if(!bud.oif[zmf]){var avd=bvd.cbd(bud.xud);if(avd){if((bud.fih==1.0)&&(bud.gih==1.0)&&(bud.adf==0.0)&&(bud.iih==0xffffff)){avd.pne(bud.one,bud.dg,bud.eg,bud.hih*mqd)}else {
avd.wic(bud.one,bud.dg,bud.eg,bud.fih,bud.gih,bud.adf,bud.iih,bud.hih*mqd)}}}else {bud.bgd(zmf,0,bud,bud)}}while(kri>-1000000000){pmi(kri);kri=smi(kri)}};zog.prototype.mri=function(uch){var kri=rmi();var doi=this.dpi.foi();var nri=doi.og;for(var bg=this.oud.length-1;bg>=0;bg--){var bud=this.oud.cbd(bg);if(bud.cud||bud.mg==0)continue;while(!0){if(nri>bud.og){if(nri>kri){doi.wic(uch);doi=this.dpi.fac();if(doi){nri=doi.og}else {nri=-1000000000000}}else {pmi(kri);kri=smi(kri)}}else if(kri>bud.og){pmi(kri);kri=smi(kri)}
else {break}}if(!bud.oif[zmf]){var avd=bvd.cbd(bud.xud);if(avd){if((bud.fih==1.0)&&(bud.gih==1.0)&&(bud.adf==0.0)&&(bud.iih==0xffffff)){avd.pne(bud.one,bud.dg,bud.eg,bud.hih*mqd)}else {avd.wic(bud.one,bud.dg,bud.eg,bud.fih,bud.gih,bud.adf,bud.iih,bud.hih*mqd)}}}else {bud.bgd(zmf,0,bud,bud)}}while(!0){if(nri>kri){doi.wic(uch);doi=this.dpi.fac();if(doi){nri=doi.og}else {nri=-1000000000000}}else {if(kri<=-1000000000)break;pmi(kri);kri=smi(kri)}}};zog.prototype.ori=function(uch){bme=uch;if(this.woi){mch(cqd(kk.bvg))}
for(var bg=0;bg<lgg.tsg.length;bg++){var usg=lgg.cbd(bg);if(usg){usg.mg=ql(kk,"__background_visible__",bg);usg.sh=ql(kk,"__background_foreground__",bg);usg.dg=ql(kk,"__background_x__",bg);usg.eg=ql(kk,"__background_y__",bg);usg.ai=ql(kk,"__background_index__",bg);usg.lsg=ql(kk,"__background_htiled__",bg);usg.msg=ql(kk,"__background_vtiled__",bg);usg.ekb=ql(kk,"__background_alpha__",bg);usg.psg=ql(kk,"__background_blend__",bg);usg.tjf=ql(kk,"__background_hspeed__",bg);usg.ujf=ql(kk,"__background_vspeed__",
bg);if(usg!=null&&usg.mg&&!usg.sh){var dke=lgg.lpg(usg.ai);if(dke!=null){if(usg.ii){qne(dke.gsg,usg.dg,usg.eg,this.roi,this.soi,usg.psg,usg.ekb)}else {lch(dke.gsg,usg.dg,usg.eg,usg.msg,usg.lsg,usg.psg,usg.ekb)}}}}}if(this.dpi.boi.teb>0){if(rgg.length!=0){this.mri(uch)}else {this.gri(uch)}}else if(rgg.length!=0){this.jri(uch)}else {this.iri(uch)}for(var bg=0;bg<lgg.tsg.length;bg++){var usg=lgg.cbd(bg);if(usg!=null&&usg.mg&&usg.sh){var dke=lgg.lpg(usg.ai);if(dke!=null){if(usg.ii){qne(dke.gsg,usg.dg,usg.eg,
this.roi,this.soi,usg.psg,usg.ekb)}else {lch(dke.gsg,usg.dg,usg.eg,usg.lsg,usg.msg,usg.psg,usg.ekb)}}}}};zog.prototype.pri=function(){if(gjg>=0){var sie=bvd.cbd(gjg);if(sie!=null){sie.wic(hjg,xbd.wjf-abd.left,xbd.xjf-abd.top,1.0,1.0,0,0xffffff,1.0)}hjg++;if(hjg>sie.bje)hjg-=sie.bje}};zog.prototype.qri=function(uch){var avd,bud,bg,gmc,bah;gmc=this.oud.gmc;bah=bvd.xe;for(bg=gmc.length-1;bg>=0;bg--){bud=gmc[bg];if(bud.cud||!bud.mg)continue;if(bud.oif[wof]){bud.bgd(wof,0,bud,bud)}}};zog.prototype.wic=function(){
var r=new jjd();this.cri();var tad;if(!this.uad){tad=vad;dch=zne/sad.roi;koe=aoe/sad.soi}else {tad=this.wad;if(this.xoi)mch(bjg)}var rri=dch;var sri=koe;ohg=0;for(bg in tad){dme=tad[bg];if(dme.mg){var tri=sme;hdh();if(dme.yad!=-1){sle(dme.yad);dch=1.0;koe=1.0}dme.dbd=dme.ime*dch;dme.fbd=dme.jme*koe;dme.mme=dme.kme*dch;dme.nme=dme.lme*koe;dme.ebd=dme.dbd+dme.mme;dme.gbd=dme.fbd+dme.nme;dme.uri=dme.mme/dme.gme;dme.vri=dme.nme/dme.hme;ome(dme.dbd,dme.fbd,dme.mme,dme.nme);pme(dme.eme,dme.fme,dme.gme,dme.hme,
dme.bob);r.left=dme.eme;r.top=dme.fme;r.sud=dme.eme+dme.gme;r.bottom=dme.fme+dme.hme;kk.tvg=ohg;this.ori(r);if(dme.yad!=-1)qme();ohg++;jdh();dch=rri;koe=sri}}var wri=ijg;var xri=jjg;if(wri<0)wri=moe();if(xri<0)xri=noe();hdh();r.left=0;r.top=0;r.sud=moe();r.bottom=noe();dch=r.sud/wri;koe=r.bottom/xri;dme=jlg;dme.dbd=0;dme.fbd=0;dme.mme=r.sud;dme.nme=r.bottom;dme.ebd=r.sud;dme.gbd=r.bottom;dme.uri=dch;dme.vri=koe;ome(0,0,r.sud,r.bottom);pme(0,0,wri,xri,0);this.qri(r);jdh();dch=rri;koe=sri;if(gjg>=0)this.pri()}
;zog.prototype.yri=function(){var lo=[];var dud=bfe.emh.gmc;for(var bg in dud){var bud=dud[bg];if(bud.cud){lo[lo.length]=bud}}for(var bg=0;bg<lo.length;bg++){var bud=lo[bg];this.tqi(bud)}};zog.prototype.tqi=function(bud){if(this.ree&&bud.pcf){this.ree.ghc(bud.pcf)}bfe.gmh(bud);this.oud.tte(bud);this.gvd.krg(bud);bud.yud.bjh(bud)};zog.prototype.ovd=function(wnd){if(wnd.kac){this.oud.tte(wnd);wnd.yud.bjh(wnd);this.gvd.oub(wnd);wnd.kac=!1}};zog.prototype.ivd=function(wnd){if(!wnd.kac){this.gvd.krg(wnd);this.oud.tfi(wnd);
wnd.yud.cjh(wnd);wnd.kac=!0}};zog.prototype.eoi=function(xcd){var zni=this.cpi[xcd];if(zni){this.dpi.eoi(zni);this.cpi[xcd]=undefined;this.bpi--}};zog.prototype.zri=function(){if(this.xih.length==0)return;var ldd=this.xih;for(var bg=0;bg<this.xih.length;bg++){var bud=ldd[bg];this.oud.tte(bud);this.oud.oub(bud,bud.og)}this.xih=[]};function rmg(){this.asi=[];this.gpg=[]}rmg.prototype.bpg=function(bsi){this.gpg=bsi};rmg.prototype.oub=function(csi){return this.asi[this.asi.length]=csi};rmg.prototype.cbd=function(dsi){
return this.asi[dsi]};rmg.prototype.cpg=function(dsi){return this.asi[this.gpg[dsi]]};rmg.prototype.tte=function(dsi){this.asi[dsi]=null};var gie=[];function esi(){this.qjd="[sound]";this.re="";this.se=0;this.te="";this.ue="";this.ve=0;this.volume=1;this.we=0;this.preload=!0;this.fsi=1.0;this.gsi=0;this.hsi=[]}esi.prototype.isi=function(isg){this.re=isg.re;this.se=isg.se;this.te=isg.te;this.ue=isg.ue;this.ve=isg.ve;this.volume=isg.volume;this.we=isg.we;this.preload=isg.preload;this.fsi=1.0;this.jsi(this.re)}
;esi.prototype.jsi=function(gng){this.gsi=0;this.hsi=[];if((lqe==ylf)||(lqe==wlf)){nfg=1;this.hsi[0]=gie[this.re]}else {if(gie[this.re]!=null){for(var bg=0;bg<nfg;bg++){this.hsi[bg]=gie[this.re].cloneNode(!0);}}}};function bog(whe,xcd,xhe,ksi,lsi){whe=yhe(whe);if(eie==!1){return -1}var msi=!1;var zhe;var ai;ai=whe.indexOf(xhe);if(ai>=0){whe=whe.substr(0,ai)}if(aie){xhe="ogg"}else if(bie){xhe="mp3"}else {xhe="ogg"}msi=!0;if(msi){whe=whe+"."+xhe;var nsi=new Audio();nsi.URL=whe;nsi.fsi=1.0;nsi.autobuffer=!0;if(typeof nsi.loop=='boolean')nsi.loop=!1;
nsi.preload='auto';nsi.mng=!1;nsi.osi=!1;var ied=document.createElement('source');ied.setAttribute("src",whe);if(xhe=="ogg"){ied.setAttribute("type",'audio/ogg');ied.setAttribute("codecs",'vorbis')}else {ied.setAttribute("type",'audio/mpeg')}nsi.setAttribute("networkState",0);nsi.insertBefore(ied,null);document.body.appendChild(nsi);gie[xcd]=nsi;nsi.addEventListener('canplaythrough',ksi,!1);nsi.addEventListener('error',lsi,!1);nsi.addEventListener("loadstart",jng,!1);nsi.addEventListener("suspend",
kng,!1);nsi.addEventListener("stalled",lng,!1);nsi.addEventListener("stall",lng,!1);nsi.load()}return xcd}function umg(){this.qe=[];this.length=0}umg.prototype.tte=function(hie){if(this.qe[hie]){this.lie(hie);this.qe[hie]=undefined}};function psi(){this.osi=!1}umg.prototype.qsi=function(hie){try{var rsi=this.qe[hie];if(!rsi)return null;var ssi=rsi.hsi[this.qe[hie].gsi];this.qe[hie].gsi++;if(this.qe[hie].gsi>=nfg){this.qe[hie].gsi=0}return ssi}catch(e){debug("Sound buffer unavailable for sound: "+hie)}return null}
;umg.prototype.kie=function(hie){var rsi=this.qsi(hie);if(rsi!=null){try{rsi.removeEventListener('ended',tsi,!1);rsi.removeEventListener('ended',psi,!1);if(typeof rsi.loop=='boolean'){rsi.loop=!1}try{if(rsi.currentTime!=0){rsi.currentTime=0}}catch(uhe){if(the)debug("Error setting current sound time: "+this.qe[hie].re)}rsi.volume=this.qe[hie].fsi*iig;rsi.addEventListener('ended',psi,!1);rsi.osi=!0;rsi.play()}catch(uhe){if(the)debug("Error playing sound: "+this.qe[hie].re)}}};umg.prototype.lie=function(udd){
with(this){var usi=this.qe[udd];if(!usi)return;usi=usi.hsi;for(var bg in usi){rsi=usi[bg];if(rsi!=null){try{rsi.pause();rsi.osi=!1}catch(uhe){if(the)debug("Error stopping sound: "+this.qe[udd].re)}}}}};function tsi(){try{this.currentTime=0}catch(uhe){if(the)debug("Error setting current sound time: "+this.qe[hie].re)}this.play()}umg.prototype.mie=function(udd){with(this){var usi=qe[udd];if(!usi)return;usi=usi.hsi;var playing=!1;for(var bg in usi){rsi=usi[bg];if(rsi!=null){try{if(rsi.osi){playing=!0;break}}
catch(uhe){if(the)debug("Error checking play state: "+this.qe[udd].re)}}}return playing}};umg.prototype.cbd=function(hie){return this.qe[hie]};umg.prototype.efc=function(){this.qe=[];length=0};umg.prototype.oub=function(isg){with(this){var usg=null;if(isg!=null){usg=new esi();usg.isi(isg)}qe[qe.length]=usg;}};function jjd(){this.left=0;this.top=0;this.sud=0;this.bottom=0}jjd.prototype.cbb=function(jke){this.left=jke.left;this.sud=jke.sud;this.top=jke.top;this.bottom=jke.bottom};function nje(){this.qjd="[sprite]";
this.re="sprite";this.width=16;this.height=16;this.rud=new jjd;this.hf=!0;this.ye=!0;this.preload=!0;this.qje=0;this.rje=!1;this.cf=0;this.df=0;this.igb=!1;this.bje=0;this.cke=8;this.sje=!1;this.tje=!1;this.uje=[];this.vsi=[];this.fje=[];this.vje=[]}nje.prototype.vkh=function(){return this.rje};nje.prototype.wsi=function(){return this.bje};nje.prototype.wje=function(){var xsi=(this.df*this.df);var ysi=(this.cf*this.cf);var zsi=(this.width-this.cf)*(this.width-this.cf);var ati=(this.height-this.df)*(this.height-this.df);
var bti=~~ceil(sqrt(ysi+xsi));var cti=~~ceil(sqrt(zsi+xsi));var dti=~~ceil(sqrt(ysi+ati));var eti=~~ceil(sqrt(zsi+ati));this.cke=gwd(bti,gwd(cti,gwd(dti,eti)))};function fti(gti,bzg){if(gti.vje[bzg]!=null){var hgb=[];var src=0;var hti=0;var kcb;while(src<gti.vje[bzg].length){var iti=gti.vje[bzg][src++];if(iti&0x80){iti=(iti&0x7f)+1;kcb=gti.vje[bzg][src++];for(var qo=0;qo<iti;qo++){hgb[hti++]=kcb}}else {iti++;for(var qo=0;qo<iti;qo++){hgb[hti++]=gti.vje[bzg][src++]}}}}gti.vje[bzg]=hgb}function ipg(jti){var avd=new nje();
if(jti.re!=undefined)avd.re=jti.re;if(jti.width!=undefined)avd.width=jti.width;if(jti.height!=undefined)avd.height=jti.height;if(jti.ef!=undefined)avd.rud.left=jti.ef;if(jti.ze!=undefined)avd.rud.sud=jti.ze;if(jti.ff!=undefined)avd.rud.top=jti.ff;if(jti.af!=undefined)avd.rud.bottom=jti.af;if(jti.hf!=undefined)avd.hf=jti.hf;if(jti.ye!=undefined)avd.ye=jti.ye;if(jti.preload!=undefined)avd.preload=jti.preload;if(jti.kti!=undefined)avd.qje=jti.kti;if(jti.lti!=undefined)avd.rje=jti.lti;if(jti.cf!=undefined)avd.cf=jti.cf;
if(jti.df!=undefined)avd.df=jti.df;avd.vje=null;if(jti.vje!=undefined)avd.vje=jti.vje;avd.fje=[];for(var bg=jti.bf.length-1;bg>=0;bg--){avd.fje[bg]=jti.bf[bg]}avd.bje=avd.fje.length;avd.wje();for(var bg=0;bg<avd.fje.length;bg++){avd.fje[bg]=jsg(avd.fje[bg]);if(avd.fje[bg].ni==0)avd.fje[bg].ni=1;if(avd.fje[bg].oi==0)avd.fje[bg].oi=1;}if(avd.vje){for(var bg=0;bg<jti.vje.length;bg++){if(!jti.mti)fti(avd,bg);avd.sje=!0;var qf=avd.width*avd.height;var nti=[];nti[qf-1]=0;var oti=((avd.width+7)>>3);var pti=0;
for(var eg=0;eg<avd.height;++eg,pti+=oti){var hgb=0x80;var qti=pti;for(var dg=0;dg<avd.width;++dg,hgb>>=1){if(hgb==0){hgb=0x80;++qti}nti[dg+(eg*avd.width)]=((avd.vje[bg][qti]&hgb)!=0)}}avd.uje[bg]=nti}}jti.mti=!0;return avd}nje.prototype.pne=function(rti,qad,rad,xpd){if(this.bje<=0)return;var cke=this.cke;if(((bme.top-rad)<=cke)&&((rad-bme.bottom)<=cke)&&((bme.left-qad)<=cke)&&((qad-bme.sud)<=cke)){rti=(~~rti)%this.bje;if(rti<0)rti=rti+this.bje;kch(this.fje[rti],qad-this.cf,rad-this.df,xpd)}};nje.prototype.wic=function(lzd,
qad,rad,jmd,kmd,lmd,sqd,xpd){if(this.bje<=0)return;var sti=abs(this.cke*jmd);var tti=abs(this.cke*kmd);var cke;if(sti>tti){cke=sti}else {cke=tti}if(((bme.top-rad)<=cke)&&((rad-bme.bottom)<=cke)&&((bme.left-qad)<=cke)&&((qad-bme.sud)<=cke)){lzd=(~~lzd)%this.bje;if(lzd<0)lzd+=this.bje;lmd=slg(lmd,360.0);zch(this.fje[lzd],this.cf,this.df,qad,rad,jmd,kmd,lmd*Math.PI/180.0,sqd,undefined,undefined,undefined,xpd)}};nje.prototype.uti=function(vti,wti,xqd,yqd,xti,yti,lmd,qad,rad){var hjd,ijd;if(!this.sje)return !0;
if(this.bje<=0)return !1;vti=vti%this.uje.length;if(vti<0)vti=vti+this.uje.length;if(Math.abs(lmd)<0.0001){hjd=Math.floor((qad-xqd)/xti+this.cf);ijd=Math.floor((rad-yqd)/yti+this.df);}else {var wah=Math.sin(-lmd*Math.PI/180.0);var dgc=Math.cos(-lmd*Math.PI/180.0);hjd=Math.floor((dgc*(qad-xqd)+wah*(rad-yqd))/xti+this.cf);ijd=Math.floor((dgc*(rad-yqd)-wah*(qad-xqd))/yti+this.df)}if((hjd<0)||(hjd>=this.width))return !1;if((ijd<0)||(ijd>=this.height))return !1;return this.uje[vti][hjd+(ijd*this.width)]};nje.prototype.klh=function(vti,
wti,xqd,yqd,xti,yti,lmd,zti){if(!this.sje)return !0;if(this.bje<=0)return !1;vti=vti%this.uje.length;if(vti<0){vti=vti+this.uje.length;}var ylb=gwd(wti.left,zti.left);var r=fwd(wti.sud,zti.sud);var iib=gwd(wti.top,zti.top);var qu=fwd(wti.bottom,zti.bottom);if((xti==1)&&(yti==1)&&(Math.abs(this.bob)<0.0001)){for(var bg=ylb;bg<=r;bg++){for(var jqb=iib;jqb<=qu;jqb++){var hjd=bg-xqd+this.cf;var ijd=jqb-yqd+this.df;if((hjd<0)||(hjd>=this.fg))continue;if((ijd<0)||(ijd>=this.gg))continue;if(this.uje[vti][hjd+(ijd*this.fg)]==!0)return !0}
}}else {var wah=Math.sin(-lmd*cwd/180.0);var dgc=Math.cos(-lmd*cwd/180.0);var aui=1.0/xti;var bui=1.0/yti;for(var bg=ylb;bg<=r;bg++){for(var jqb=iib;jqb<=qu;jqb++){var hjd=Math.floor((dgc*(bg-xqd)+wah*(jqb-yqd))*aui+this.cf);var ijd=Math.floor((dgc*(jqb-yqd)-wah*(bg-xqd))*bui+this.df);if((hjd<0)||(hjd>=this.width))continue;if((ijd<0)||(ijd>=this.height))continue;if(this.uje[vti][hjd+(ijd*this.width)])return !0}}}return !1};nje.prototype.cui=function(vti,wti,xqd,yqd,xti,yti,lmd,zti){var bg,jqb;if(!this.sje)return !0;
if(dui>3){dui=(1+dui)-1}if(this.bje<=0)return !1;vti=vti%this.uje.length;if(vti<0)vti=vti+this.uje.length;var ylb=gwd(wti.left,zti.left);var r=fwd(wti.sud,zti.sud);var iib=gwd(wti.top,zti.top);var qu=fwd(wti.bottom,zti.bottom);var qke=((zti.sud+zti.left)/2);var rke=((zti.bottom+zti.top)/2);var xeh=1.0/((zti.sud-zti.left)/2);var eui=1.0/((zti.bottom-zti.top)/2);var fui=this.uje[vti];if((xti==1)&&(yti==1)&&(Math.abs(lmd)<0.0001)){for(bg=ylb;bg<=r;bg++){var gui=sxd((bg-qke)*xeh);var hjd=bg-xqd+this.cf;if((hjd<0)||(hjd>=this.width))continue;
for(jqb=iib;jqb<=qu;jqb++){if(gui+sxd((jqb-rke)*eui)>1)continue;var ijd=jqb-yqd+this.df;if((ijd<0)||(ijd>=this.height))continue;if(fui[hjd+(ijd*this.width)])return !0}}}else {var wah=Math.sin(-lmd*Math.PI/180.0);var dgc=Math.sin(-lmd*Math.PI/180.0);var aui=1.0/xti;var bui=1.0/yti;for(bg=ylb;bg<=r;bg++){var hui=(bg-xqd);var iui=dgc*hui;var jui=wah*hui;var kui=sxd((bg-qke)*xeh);for(jqb=iib;jqb<=qu;jqb++){var lui=(jqb-rke)*eui;if((kui+(lui*lui))>1)continue;var mui=jqb-yqd;var hjd=~~((iui+wah*mui*aui)+this.cf);if((hjd<0)||(hjd>=this.width))continue;
var ijd=~~((dgc*mui-jui*bui)+this.df);if((ijd<0)||(ijd>=this.height))continue;if(fui[hjd+(ijd*this.width)])return !0}}}return !1};nje.prototype.plh=function(vti,wti,xqd,yqd,nui,oui,pui,qui,rui,sui,zqd,ard,tui,uui,vui){if(qui==null)return !1;if(this.bje<=0)return !1;if(qui.bje<=0)return !1;if(this.uje.length>0)vti=vti%this.uje.length;if(vti<0){vti=vti+this.uje.length;}if(qui.uje.length>0)rui=rui%qui.uje.length;if(rui<0){rui=rui+qui.uje.length}nui=1.0/nui;oui=1.0/oui;tui=1.0/tui;uui=1.0/uui;var ylb=gwd(wti.left,
sui.left);var r=fwd(wti.sud,sui.sud);var iib=gwd(wti.top,sui.top);var qu=fwd(wti.bottom,sui.bottom);if((nui==1)&&(tui==1)&&(oui==1)&&(uui==1)&&(pui==0)&&(vui==0)){for(var bg=ylb;bg<=r;bg++){for(var jqb=iib;jqb<=qu;jqb++){var hjd=bg-xqd+this.cf;var ijd=jqb-yqd+this.df;if((hjd<0)||(hjd>=this.width))continue;if((ijd<0)||(ijd>=this.height))continue;if(this.sje){if(!this.uje[vti][hjd+(ijd*this.width)])continue}hjd=bg-zqd+qui.cf;ijd=jqb-ard+qui.df;if((hjd<0)||(hjd>=qui.width))continue;if((ijd<0)||(ijd>=qui.height))continue;
if(qui.sje){if(!qui.uje[rui][hjd+(ijd*qui.width)])continue;}return !0}}}else if((pui==0)&&(vui==0)){for(var bg=ylb;bg<=r;bg++){for(var jqb=iib;jqb<=qu;jqb++){var hjd=Math.floor(((bg-xqd)*nui+this.cf));var ijd=Math.floor(((jqb-yqd)*oui+this.df));if((hjd<0)||(hjd>=this.width))continue;if((ijd<0)||(ijd>=this.height))continue;if(this.sje){if(!this.uje[vti][hjd+(ijd*this.width)])continue}hjd=Math.floor(((bg-zqd)*tui+qui.cf));ijd=Math.floor(((jqb-ard)*uui+qui.df));if((hjd<0)||(hjd>=qui.width))continue;if((ijd<0)||(ijd>=qui.height))continue;
if(qui.sje){if(!qui.uje[rui][hjd+(ijd*qui.width)])continue}return !0}}}else {var wui=Math.sin(-pui*cwd/180);var xui=Math.cos(-pui*cwd/180);var yui=Math.sin(-vui*cwd/180);var zui=Math.cos(-vui*cwd/180);for(var bg=ylb;bg<=r;bg++){for(var jqb=iib;jqb<=qu;jqb++){var hjd=Math.floor(((xui*(bg-xqd)+wui*(jqb-yqd))*nui+this.cf));var ijd=Math.floor(((xui*(jqb-yqd)-wui*(bg-xqd))*oui+this.df));if((hjd<0)||(hjd>=this.width))continue;if((ijd<0)||(ijd>=this.height))continue;if(this.sje){if(!this.uje[vti][hjd+(ijd*this.width)])continue;
}hjd=Math.floor(((zui*(bg-zqd)+yui*(jqb-ard))*tui+qui.cf));ijd=Math.floor(((zui*(jqb-ard)-yui*(bg-zqd))*uui+qui.df));if((hjd<0)||(hjd>=qui.width))continue;if((ijd<0)||(ijd>=qui.height))continue;if(qui.sje){if(!qui.uje[rui][hjd+(ijd*qui.width)])continue}return !0}}}return !1};nje.prototype.avi=function(vti,wti,xqd,yqd,xti,yti,lmd,bvi,cvi,dvi,evi){if(!this.sje){return !0}if(this.bje<=0){return !1}vti=vti%this.uje.length;if(vti<0){vti=vti+this.uje.length}if((bvi==dvi)||(cvi==evi)){var fvi=new jjd();fvi.left=bvi;
fvi.top=fwd(cvi,evi);fvi.sud=dvi;fvi.bottom=gwd(cvi,evi);return this.klh(vti,wti,xqd,yqd,xti,yti,lmd,fvi)}var wah=Math.sin(-lmd*Math.PI/180.0);var dgc=Math.cos(-lmd*Math.PI/180.0);if(Math.abs(dvi-bvi)>=Math.abs(evi-cvi)){if(dvi<bvi){var gji=dvi;dvi=bvi;bvi=ycd;gji=evi;evi=gvi;cvi=gji}var gtd=(evi-cvi)/(dvi-bvi);for(var bg=gwd(wti.left,bvi);bg<=fwd(wti.sud,dvi);bg++){var hjd=Math.floor((dgc*(bg-xqd)+wah*(cvi+(bg-bvi)*gtd-yqd))/xti+this.cf);var ijd=Math.floor((dgc*(cvi+(bg-bvi)*gtd-yqd)-wah*(bg-xqd))/yti+this.df);
if((hjd<0)||(hjd>=this.width))continue;if((ijd<0)||(ijd>=this.height))continue;if(this.uje[vti][hjd+(ijd*this.width)])return !0}}else {if(evi<cvi){var gji=evi;evi=cvi;cvi=gji;gji=dvi;dvi=bvi;bvi=gji}var gtd=(dvi-bvi)/(evi-cvi);for(var bg=gwd(wti.top,cvi);bg<=fwd(wti.bottom,evi);bg++){var hjd=Math.floor((dgc*(bvi+(bg-cvi)*gtd-xqd)+wah*(bg-yqd))/xti+this.cf);var ijd=Math.floor((dgc*(bg-yqd)-wah*(bvi+(bg-cvi)*gtd-xqd))/yti+this.df);if((hjd<0)||(hjd>=this.width))continue;if((ijd<0)||(ijd>=this.height))continue;
if(this.uje[vti][hjd+(ijd*this.width)])return !0}}return !1};function smg(){this.xe=[]}smg.prototype.pje=function(gti){var kwe=this.xe.length;this.xe[kwe]=gti;return kwe};smg.prototype.kkh=function(hvi){if(hvi<0||hvi>this.xe.length)return null;return this.xe[hvi].fje.length};smg.prototype.cbd=function(hvi){if(hvi<0||hvi>this.xe.length)return null;return this.xe[hvi]};smg.prototype.tte=function(xcd){if(this.xe[xcd]!=undefined)this.xe[xcd]=undefined};function ivi(){this.qjd="[Tile]";this.dg=0;this.eg=0;this.ai=0;
this.fqi=0;this.gqi=0;this.fg=0;this.gg=0;this.og=0.0;this.id=lig++;this.qsg=1.0;this.rsg=1.0;this.psg=0xffffff;this.ekb=1.0;this.mg=!0;this.jvi=!1}ivi.prototype.kvi=function(){var dke=lgg.lpg(this.ai);if(dke!=null){var dje=dke.gsg;if(dje.ri>=ije.length)return;if(!ije[dje.ri].complete)return;if(this.fqi<0){this.fg+=this.fqi;this.fqi=0}if(this.gqi<0){this.gg+=this.gqi;this.gqi=0}if(dje!=null){if((this.fqi+this.fg)>=dje.fg){this.fg=dje.fg-this.fqi;}if((this.gqi+this.gg)>=dje.gg){this.gg=dje.gg-this.gqi}
}}};function jqi(lvi){var zni=new ivi();if(lvi.dg!=undefined)zni.dg=lvi.dg;if(lvi.eg!=undefined)zni.eg=lvi.eg;if(lvi.ai!=undefined)zni.ai=lvi.ai;if(lvi.fqi!=undefined)zni.fqi=lvi.fqi;if(lvi.gqi!=undefined)zni.gqi=lvi.gqi;if(lvi.fg!=undefined)zni.fg=lvi.fg;if(lvi.gg!=undefined)zni.gg=lvi.gg;if(lvi.og!=undefined)zni.og=lvi.og;if(lvi.id!=undefined)zni.id=lvi.id;if(lvi.yf!=undefined)zni.qsg=lvi.yf;if(lvi.zf!=undefined)zni.rsg=lvi.zf;if(lvi.di!=undefined){zni.psg=(lvi.di&0xffffff);zni.ekb=((lvi.di>>24)&0xff)/255.0}
zni.kvi();if(lig<lvi.id)lig=lvi.id+1;return zni}ivi.prototype.wic=function(){var dke=lgg.lpg(this.ai);if(dke!=null){var dje=dke.gsg;if(dje.ri>=ije.length)return;if(!ije[dje.ri].complete)return;var zzg=dje.fg/dje.pi;var aah=dje.gg/dje.qi;if(!fhg){var nah=ije[dje.ri];if(this.psg!=0xffffff){nah=sah(dje,this.psg)}pic.globalAlpha=this.ekb;if(this.qsg<=0||this.rsg<=0){tah(this.dg,this.eg,this.qsg,this.rsg,0.0);pic.cje(nah,dje.dg+(this.fqi*zzg),dje.eg+(this.gqi*zzg),this.fg*zzg,this.gg*aah,0,0,this.fg,this.gg);
uah()}else {pic.cje(nah,dje.dg+(this.fqi*zzg),dje.eg+(this.gqi*zzg),this.fg*zzg,this.gg*aah,this.dg,this.eg,this.fg*this.qsg,this.gg*this.rsg)}}else {var tnd=this.psg|((this.ekb*255)<<24);pic.cje(dje,dje.dg+(this.fqi*zzg),dje.eg+(this.gqi*zzg),this.fg*zzg,this.gg*zzg,this.dg,this.eg,this.fg*this.qsg,this.gg*this.rsg,tnd)}}};function mvi(isg){this.qjd="[Timeline]";if((isg!=null)&&(isg!=undefined)){this.re=isg.re;this.dod=isg.dod}else {this.re="";this.dod=[]}}mvi.prototype.dlf=function(nvi){if(this.dod.length==0){
return 0}if(nvi>this.dod[this.dod.length-1].ovi){return this.dod.length}for(var bg=0;bg<this.dod.length;bg++){if(this.dod[bg].ovi>=nvi){return bg}}return this.dod.length};mvi.prototype.ilf=function(nvi){if(this.dod.length==0){return 0}if(nvi<this.dod[0].ovi){return -1}for(var bg=this.dod.length-1;bg>=0;bg--){if(this.dod[bg].ovi<=nvi){return bg}}return -1};mvi.prototype.hlf=function(){return this.dod[this.dod.length-1].ovi;};function xmg(){this.ig=[]}xmg.prototype.oub=function(isg){var usg=null;if(isg!=null){
usg=new mvi(isg)}this.ig[this.ig.length]=usg};xmg.prototype.cbd=function(lzd){if((lzd<0)||(lzd>=this.ig.length)){return undefined}return this.ig[lzd]};xmg.prototype.efc=function(lzd){if((lzd>=0)||(lzd<this.ig.length)){this.ig[lzd].dod.efc();}};xmg.prototype.tte=function(lzd){if((lzd>=0)||(lzd<this.ig.length)){this.ig[lzd]=null}};function uog(pvi){if(!pvi){this.gmc=[]}else {this.gmc=pvi}}uog.prototype.cbd=function(hie){return this.gmc[hie]};uog.prototype.csg=function(qvi){for(var bg=1;bg<this.gmc.length;
bg++){var dfi=this.gmc[bg];if(dfi.rvi==qvi){bfe.bgd(cnf,bg)}}};function zdf(cgh,svi){this.qjd="[Array]";this.gpi=cgh;this.tvi=[];this.uvi=svi}var ql,dm,jk,dl;function vvi(rmd){return "\""+rmd.substr(5,rmd.length-7)+"\""}function wvi(rmd){return rmd.substr(5,rmd.length-7)}function zkg(wnd,cgh,awd,ycd){try{if(!wnd){thd("ERROR: Accessing array with in an invalid instance/global");return }var xvi=wnd.ydf[cgh];if(!xvi){xvi=global.ydf[cgh];if(!xvi){xvi=new zdf(cgh,1);wnd.ydf[cgh]=xvi}}if(xvi.uvi!=1){thd("ERROR: Illegal number of dimensions when accessing array "+vvi(xvi.gpi));
return }xvi.tvi[~~awd]=ycd}catch(uhe){thd("ERROR: Accessing array "+vvi(cgh))}}function ukg(wnd,cgh,awd,ycd){var xvi=wnd.ydf[cgh];if(!xvi){xvi=global.ydf[cgh];if(!xvi){xvi=new zdf(cgh,1);wnd.ydf[cgh]=xvi}}xvi.tvi[~~awd]=ycd}function ykg(wnd,cgh,awd){try{var xvi=wnd.ydf[cgh];if(!xvi){xvi=global.ydf[cgh];if(!xvi){thd("Error: Trying to access unknown array "+vvi(cgh));return 0}}else if(xvi.uvi!=1){thd("ERROR: Illegal number of dimensions when accessing array "+vvi(xvi.gpi));return 0}awd=~~awd;if(xvi.tvi[awd]===undefined){
thd("Error: Out of bounds trying to access \""+wvi(cgh)+"["+awd+"]\", or value never written.");return 0}return xvi.tvi[awd]}catch(uhe){thd("Error: Trying to access unknown array "+vvi(cgh));return 0}}function tkg(wnd,cgh,awd){awd=~~awd;var xvi=wnd.ydf[cgh];if(xvi)return xvi.tvi[awd];return global.ydf[cgh].tvi[awd]}function blg(wnd,cgh,awd,zqb,ycd){try{var xvi=wnd.ydf[cgh];if(!xvi){xvi=new zdf(cgh,2);wnd.ydf[cgh]=xvi}else if(xvi.uvi!=2){thd("ERROR: Illegal number of dimensions when accessing array "+vvi(xvi.gpi));
return 0}awd=~~awd;zqb=~~zqb;if(!xvi.tvi[awd])xvi.tvi[awd]=[];xvi.tvi[awd][zqb]=ycd}catch(uhe){thd("Error: Trying to access unknown array "+vvi(cgh));return 0}}function wkg(wnd,cgh,awd,zqb,ycd){var xvi=wnd.ydf[cgh];if(!xvi){xvi=new zdf(cgh,2);wnd.ydf[cgh]=xvi}awd=~~awd;zqb=~~zqb;if(!xvi.tvi[awd])xvi.tvi[awd]=[];xvi.tvi[awd][zqb]=ycd}function alg(wnd,cgh,awd,zqb){try{var xvi=wnd.ydf[cgh];if(!xvi){thd("Error: Trying to access unknown array "+vvi(cgh));return 0}else if(xvi.uvi!=2){thd("ERROR: Illegal number of dimensions when accessing array "+vvi(xvi.gpi));
return 0}awd=~~awd;zqb=~~zqb;if(xvi.tvi[awd]==undefined||xvi.tvi[awd][zqb]==undefined){thd("Error: Out of bounds trying to access \""+wvi(xvi.gpi)+"["+awd+"]["+zqb+"]\", or value never written.",!1);return 0}return xvi.tvi[awd][zqb]}catch(uhe){thd("Error: Trying to access unknown array "+vvi(cgh));return 0}}function vkg(wnd,cgh,awd,zqb){awd=~~awd;zqb=~~zqb;var xvi=wnd.ydf[cgh];return xvi.tvi[awd][zqb]}var yvi=6*32000;var zvi=-1;var awi=0;var bwi=1;var cwi=2;var dwi=3;var ewi=4;var fwi=5;var gwi=20;function hwi(smd,
iwi){this.pzg=-1;this.jwi=new Int16Array(smd*2);this.kwi=new Int16Array(smd*2);this.lwi=new Int32Array(smd);this.max=smd;this.mwi=0;this.nwi=iwi;this.nzg=!1;this.rzg=fhg.createBuffer();this.vzg=fhg.createBuffer();this.tzg=fhg.createBuffer();fhg.bindBuffer(fhg.ARRAY_BUFFER,this.rzg);fhg.bufferData(fhg.ARRAY_BUFFER,this.jwi,fhg.DYNAMIC_DRAW);fhg.bindBuffer(fhg.ARRAY_BUFFER,this.vzg);fhg.bufferData(fhg.ARRAY_BUFFER,this.kwi,fhg.DYNAMIC_DRAW);fhg.bindBuffer(fhg.ARRAY_BUFFER,this.tzg);fhg.bufferData(fhg.ARRAY_BUFFER,
this.lwi,fhg.DYNAMIC_DRAW)}hwi.prototype.ozg=function(){fhg.bindBuffer(fhg.ARRAY_BUFFER,this.rzg);fhg.bufferSubData(fhg.ARRAY_BUFFER,0,this.jwi);fhg.bindBuffer(fhg.ARRAY_BUFFER,this.tzg);fhg.bufferSubData(fhg.ARRAY_BUFFER,0,this.lwi);fhg.bindBuffer(fhg.ARRAY_BUFFER,this.vzg);fhg.bufferSubData(fhg.ARRAY_BUFFER,0,this.kwi);this.mwi=0;this.nzg=!1};function owi(){this.pwi=[];this.pwi[gwi]=new hdd();this.pwi[gwi].idd=!0;this.qwi=0;this.hyg=null;this.rwi=null;this.swi=zvi}owi.prototype.kyg=function(){if(this.rwi==null)return;
var qf=this.rwi.mwi-this.qwi;switch(this.swi){case awi:hhg.lyg(0,this.hyg);hhg.myg(this.rwi);hhg.oyg(this.qwi,qf);break;case bwi:hhg.lyg(0,this.hyg);hhg.myg(this.rwi);hhg.ryg(this.qwi,qf);break;case cwi:hhg.lyg(0,this.hyg);hhg.myg(this.rwi);hhg.syg(this.qwi,qf);break;case dwi:hhg.lyg(0,null);hhg.myg(this.rwi);hhg.tyg(this.qwi,qf);break;case ewi:hhg.lyg(0,null);hhg.myg(this.rwi);hhg.uyg(this.qwi,qf);break;case fwi:hhg.lyg(0,null);hhg.myg(this.rwi);hhg.vyg(this.qwi,qf);break}this.rwi=this.hyg=null;this.swi=zvi}
;owi.prototype.twi=function(uwi,hke,vwi,wwi){var bg,xwi,mzg,afh;if(hke!=null)afh=hke.hje;else afh=null;if(this.rwi!=null){if((this.rwi.nwi==vwi)&&((this.rwi.mwi+wwi)<=this.rwi.max)&&(this.hyg==afh)&&(this.swi==uwi)&&((uwi!=ewi)&&(uwi!=cwi)&&(uwi!=bwi))){return this.rwi}else {var ywi=this.rwi;this.kyg();if((ywi.nwi==vwi)&&((ywi.mwi+wwi)<=ywi.max)){this.rwi=ywi;this.qwi=ywi.mwi;this.swi=uwi;this.hyg=afh;return this.rwi}}}this.swi=uwi;this.hyg=afh;xwi=this.pwi[vwi].gmc;for(bg=xwi.length-1;bg>=0;bg--){mzg=xwi[bg];
if((mzg.pzg!=qzg)&&(mzg.mwi+wwi)<=mzg.max){mzg.nzg=!0;this.qwi=mzg.mwi;this.rwi=mzg;return mzg}}if(wwi<yvi)wwi=yvi;mzg=new hwi(wwi,vwi);mzg.nzg=!0;this.qwi=mzg.mwi;this.rwi=mzg;this.pwi[vwi].oub(mzg);return mzg};function ilg(){this.qjd="[View]";this.mg=!1;this.eme=0;this.fme=0;this.gme=640;this.hme=480;this.ime=0;this.jme=0;this.kme=640;this.lme=480;this.bob=0;this.dbd=0;this.fbd=0;this.ebd=0;this.gbd=0;this.mme=0;this.nme=0;this.uri=1;this.vri=1;this.bqi=32;this.cqi=32;this.tjf=-1;this.ujf=-1;this.wfd=-1;
this.yad=-1}ilg.prototype.cbb=function(ucd){this.mg=ucd.mg;this.eme=ucd.eme;this.fme=ucd.fme;this.gme=ucd.gme;this.hme=ucd.hme;this.ime=ucd.ime;this.jme=ucd.jme;this.kme=ucd.kme;this.lme=ucd.lme;this.bob=ucd.bob;this.dbd=ucd.dbd;this.fbd=ucd.fbd;this.ebd=ucd.ebd;this.gbd=ucd.gbd;this.mme=ucd.mme;this.nme=ucd.nme;this.uri=ucd.uri;this.vri=ucd.vri;this.bqi=ucd.bqi;this.cqi=ucd.cqi;this.tjf=ucd.tjf;this.ujf=ucd.ujf;this.wfd=ucd.wfd;this.yad=ucd.yad};ilg.prototype.hbd=function(qad){return((qad-abd.left-this.dbd)/this.uri)+this.eme}
;ilg.prototype.ibd=function(rad){return((rad-abd.top-this.fbd)/this.vri)+this.fme};function kqi(zwi){axi=new ilg();if(zwi.mg!=undefined)axi.mg=zwi.mg;if(zwi.xpi!=undefined)axi.eme=zwi.xpi;if(zwi.ypi!=undefined)axi.fme=zwi.ypi;if(zwi.wh!=undefined)axi.gme=zwi.wh;if(zwi.xh!=undefined)axi.hme=zwi.xh;if(zwi.zpi!=undefined)axi.ime=zwi.zpi;if(zwi.aqi!=undefined)axi.jme=zwi.aqi;if(zwi.yh!=undefined)axi.kme=zwi.yh;if(zwi.zh!=undefined)axi.lme=zwi.zh;if(zwi.bob!=undefined)axi.lme=zwi.bob;if(zwi.bqi!=undefined)axi.bqi=zwi.bqi;
if(zwi.cqi!=undefined)axi.cqi=zwi.cqi;if(zwi.tjf!=undefined)axi.tjf=zwi.tjf;if(zwi.ujf!=undefined)axi.ujf=zwi.ujf;if(zwi.ai!=undefined)axi.wfd=zwi.ai;return axi}var bxi=0;var cxi=1;var dxi=2;var exi=16;var fxi=24;var gxi=[];var hxi=[];var ixi=0;var jxi=0;function kxi(vch){fhg=lxi(vch);if(!fhg)return !1;if(!mxi())return !1;if(!nxi())return !1;ghg=new owi();hhg=new eyg();ihg=[];ihg[bxi]=new eqg();ihg[cxi]=new eqg();ihg[dxi]=new eqg();jhg=[];for(var bg=0;bg<exi;bg++){jhg[bg]=new eqg()}ejg=0;djg=1;khg=new eqg();lhg=new eqg();
oxi(fxi);return !0}function vdh(){kch=pxi;lch=qxi;zch=rxi;pme=sxi;ome=txi;uah=uxi;mch=vxi;tah=wxi;tne=xxi;hdh=yxi;jdh=zxi;ach=ayi;mdh=byi;odh=cyi;qdh=dyi;drd=eyi;vqd=fyi;hrd=gyi;lrd=hyi;prd=iyi;yrd=jyi;fsd=kyi;ksd=lyi;itd=myi;std=nyi;vtd=oyi;xrd=pyi;rrd=qyi;xtd=ryi;upd=syi;ile=tyi;yle=uyi;qme=vyi;qle=wyi;zme=xyi;bne=yyi;fne=zyi;hne=azi;yje=bzi;jje=czi;tie=dzi;tie=dzi;jje=czi;yje=bzi;uyd=ezi;fde=fzi;fhg.cje=gzi}var hzi=0;function lxi(vch){var izi=null;var jzi=["webgl","experimental-webgl","moz-webgl","webkit-3d"];
{for(var bg=0;bg<jzi.length;bg++){try{izi=vch.getContext(jzi[bg],{vf:!1,ekb:!0,kzi:!1});if(izi)break}catch(uhe){return null}}}if(izi){izi.viewportWidth=vch.width;izi.viewportHeight=vch.height;ixi=izi.viewportWidth;jxi=izi.viewportHeight;}return izi}function nxi(){var izg=document.createElement(bid);izg.scd=izg.width=16;izg.tcd=izg.height=16;izg.complete=!0;izg.lle=!1;izg.name="";izg.pic=izg.getContext('2d');izg.pic.save();izg.pic.setTransform(1,0,0,1,0,0);izg.pic.globalAlpha=1;izg.pic.fillStyle='#ffffff';
izg.pic.fillRect(0,0,16,16);izg.pic.restore();var dje=new eje();dje.dg=0;dje.eg=0;dje.fg=15;dje.gg=15;dje.li=0;dje.mi=0;dje.ni=15;dje.oi=15;dje.pi=dje.fg;dje.qi=dje.gg;dje.ri=-1;dje.hje=izg;dje.jbb=[];dje.nle=1;dje.teb=0;lzi(dje);fhg.izg=dje;return !0}var mzi=function(nzi,type,source){var cu=fhg.createShader((type=='vertex')?fhg.VERTEX_SHADER:fhg.FRAGMENT_SHADER);fhg.shaderSource(cu,source);fhg.compileShader(cu);if(!fhg.getShaderParameter(cu,fhg.COMPILE_STATUS)){return }fhg.attachShader(nzi,cu)};function mxi(){
var ozi="uniform mat4 pmatrix;"+"uniform mat4 vmatrix;"+"uniform vec2 oneoveruv;"+" "+"attribute vec2 vertex;"+"attribute vec4 color;"+"attribute vec2 UV;"+"varying vec4 fcolor;"+"varying vec2 texc;"+" "+"void main(void)"+"{"+"    fcolor = color;"+"    texc   = UV * oneoveruv;"+"    gl_Position = (pmatrix * vmatrix) * vec4( vertex.x, vertex.y, 1, 1);"+"}";var pzi="precision mediump float;"+"uniform sampler2D pTexure;"+" "+"varying vec4 fcolor;"+"varying vec2 texc;"+" "+"void main(void)"+"{"+"    vec4 color   = texture2D( pTexure, texc ).rgba * fcolor.bgra;"+"    gl_FragColor = color;"+"}";
var qzi=fhg.createProgram();var error=fhg.getError();mzi(qzi,"vertex",ozi);mzi(qzi,"fragment",pzi);fhg.linkProgram(qzi);error=fhg.getError();if(!fhg.getProgramParameter(qzi,fhg.LINK_STATUS)){alert("Could not initialise shaders\n\n"+fhg.getShaderInfoLog(rzi));return !1;}fhg.useProgram(qzi);qzi.szi=fhg.getUniformLocation(qzi,"ViewMatrix");fhg.fzg=qzi;qzi.szg=fhg.getAttribLocation(qzi,"vertex");qzi.uzg=fhg.getAttribLocation(qzi,"color");qzi.wzg=fhg.getAttribLocation(qzi,"UV");qzi.gzg=fhg.getUniformLocation(qzi,
"pmatrix");qzi.hzg=fhg.getUniformLocation(qzi,"vmatrix");qzi.lzg=fhg.getUniformLocation(qzi,"oneoveruv");qzi.kzg=fhg.getUniformLocation(qzi,"pTexure");return !0}function yxi(){}function zxi(){}function sxi(meh,neh,oeh,peh,lmd){ghg.kyg();ieh(meh,neh,oeh,peh,lmd);hhg.yyg(lhg);hhg.wyg(khg);ech=meh;fch=neh;gch=oeh;hch=peh;txi(dqd,eqd,fqd,gqd)}function txi(eeh,feh,geh,heh){ghg.kyg();dqd=eeh;eqd=feh;fqd=geh;gqd=heh;hhg.zyg(eeh,feh,geh,heh)}function byi(){hhg.ggb();fhg.disable(fhg.CULL_FACE)}function cyi(){ghg.kyg();
qzg++;hhg.ezg()}function lzi(hke){var tzi=fhg.createTexture();hke.hje.jzg=tzi;tzi.uzi=hke.hje;hke.hje.scd=hke.hje.width;hke.hje.tcd=hke.hje.height;fhg.bindTexture(fhg.TEXTURE_2D,tzi);fhg.texImage2D(fhg.TEXTURE_2D,0,fhg.RGBA,fhg.RGBA,fhg.UNSIGNED_BYTE,hke.hje);if(!yhg){fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_MAG_FILTER,fhg.NEAREST);fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_MIN_FILTER,fhg.NEAREST)}else {fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_MAG_FILTER,fhg.LINEAR);fhg.texParameteri(fhg.TEXTURE_2D,
fhg.TEXTURE_MIN_FILTER,fhg.LINEAR)}fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_WRAP_S,fhg.CLAMP_TO_EDGE);fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_WRAP_T,fhg.CLAMP_TO_EDGE);fhg.bindTexture(fhg.TEXTURE_2D,null)}function pxi(hke,qad,rad,xpd){var mzg,pqh,vzi,wzi,xzi,yzi,tnd;if(!hke.hje.jzg)lzi(hke);mzg=ghg.twi(awi,hke,gwi,6);zzi=mzg.mwi<<1;vzi=mzg.mwi;mzg.mwi+=6;wzi=mzg.jwi;xzi=mzg.lwi;yzi=mzg.kwi;qad=qad+hke.li;rad=rad+hke.mi;wzi[zzi+0]=wzi[zzi+8]=wzi[zzi+10]=qad+0.5;wzi[zzi+1]=wzi[zzi+3]=wzi[zzi+11]=rad+0.5;
wzi[zzi+2]=wzi[zzi+6]=wzi[zzi+4]=(qad+hke.ni)+0.5;wzi[zzi+5]=wzi[zzi+7]=wzi[zzi+9]=(rad+hke.oi)+0.5;yzi[zzi+0]=yzi[zzi+8]=yzi[zzi+10]=hke.dg+0.5;yzi[zzi+1]=yzi[zzi+3]=yzi[zzi+11]=hke.eg+0.5;yzi[zzi+2]=yzi[zzi+4]=yzi[zzi+6]=(hke.dg+hke.fg)+0.5;yzi[zzi+5]=yzi[zzi+7]=yzi[zzi+9]=(hke.eg+hke.gg)+0.5;tnd=((xpd*255.0)<<24)|0xffffff;xzi[vzi]=xzi[vzi+1]=xzi[vzi+2]=xzi[vzi+3]=xzi[vzi+4]=xzi[vzi+5]=tnd}function gzi(hke,aaj,baj,caj,daj,qad,rad,pcd,qcd,wpd){var mzg,pqh,vzi,wzi,xzi,yzi,tnd;if(!hke.hje.jzg)lzi(hke);
if(wpd==undefined)wpd=0xffffffff;mzg=ghg.twi(awi,hke,gwi,6);zzi=mzg.mwi<<1;vzi=mzg.mwi;mzg.mwi+=6;wzi=mzg.jwi;xzi=mzg.lwi;yzi=mzg.kwi;wzi[zzi+0]=wzi[zzi+8]=wzi[zzi+10]=qad+0.5;wzi[zzi+1]=wzi[zzi+3]=wzi[zzi+11]=rad+0.5;wzi[zzi+2]=wzi[zzi+6]=wzi[zzi+4]=(qad+pcd)+0.5;wzi[zzi+5]=wzi[zzi+7]=wzi[zzi+9]=(rad+qcd)+0.5;yzi[zzi+0]=yzi[zzi+8]=yzi[zzi+10]=aaj+0.5;yzi[zzi+1]=yzi[zzi+3]=yzi[zzi+11]=baj+0.5;yzi[zzi+2]=yzi[zzi+6]=yzi[zzi+4]=(aaj+caj)+0.5;yzi[zzi+5]=yzi[zzi+7]=yzi[zzi+9]=(baj+daj)+0.5;xzi[vzi]=xzi[vzi+1]=xzi[vzi+2]=xzi[vzi+3]=xzi[vzi+4]=xzi[vzi+5]=wpd}
function vxi(wpd){hhg.azg(fhg.COLOR_BUFFER_BIT|fhg.DEPTH_BUFFER_BIT,cqd(wpd)|0xff000000)}function syi(wpd,xpd){wpd=((xpd*255.0)<<24)|cqd(wpd);hhg.azg(fhg.COLOR_BUFFER_BIT|fhg.DEPTH_BUFFER_BIT,wpd)}function uxi(eaj){if(uxi.arguments.length>0){var zpd=uxi.arguments[0]}else {}}function wxi(qad,rad,ine,jne,lmd){}function qxi(hke,qad,rad,uh,th,wpd,xpd){var mzg,pqh,vzi,wzi,xzi,yzi,fg,gg;if(!hke.hje.jzg)lzi(hke);faj=hke.pi+~~qad;gaj=hke.qi+~~rad;if(th){qad=(((~~(ech/hke.pi))*hke.pi)+(~~qad)%hke.pi)-hke.pi;faj=(((((dme.gme+(hke.pi-1))/hke.pi)&0xffffffff)+2)*hke.pi)+~~qad}
if(uh){rad=(((~~(fch/hke.qi))*hke.qi)+(~~rad)%hke.qi)-hke.qi;gaj=(((((dme.hme+(hke.qi-1))/hke.qi)&0xffffffff)+2)*hke.qi)+~~rad}qad=~~qad;rad=~~rad;var cfh=1;var dfh=1;var lje=0;var mje=0;var xeh=~~(cfh*hke.pi);var eui=~~(dfh*hke.qi);if((xeh<=0)||(eui<=0))return;var di=cqd(wpd)|(~~((xpd*255.0)<<24));var okb=(-cfh*(lje-hke.li));var etd=(-dfh*(mje-hke.mi));var haj=cfh*hke.ni;var iaj=dfh*hke.oi;var hjd=qad+okb;var ijd=~~rad+etd;var ftb=hke.dg;var uab=ftb+hke.fg;var qo=hke.eg;var sab=hke.eg+hke.gg;var ntd=ijd;while(hjd<faj){
ijd=ntd;var xsd=hjd+haj;while(ijd<gaj){mzg=ghg.twi(awi,hke,gwi,6);zzi=mzg.mwi<<1;vzi=mzg.mwi;mzg.mwi+=6;wzi=mzg.jwi;xzi=mzg.lwi;yzi=mzg.kwi;var zsd=ijd+iaj;xzi[vzi]=xzi[vzi+1]=xzi[vzi+2]=xzi[vzi+3]=xzi[vzi+4]=xzi[vzi+5]=di;wzi[zzi+0]=(hjd);wzi[zzi+1]=(ijd);yzi[zzi+0]=(ftb);yzi[zzi+1]=(qo);wzi[zzi+2]=(xsd);wzi[zzi+3]=(ijd);yzi[zzi+2]=(uab);yzi[zzi+3]=(qo);wzi[zzi+4]=(xsd);wzi[zzi+5]=(zsd);yzi[zzi+4]=(uab);yzi[zzi+5]=(sab);wzi[zzi+6]=(xsd);wzi[zzi+7]=(zsd);yzi[zzi+6]=(uab);yzi[zzi+7]=(sab);wzi[zzi+8]=(hjd);
wzi[zzi+9]=(zsd);yzi[zzi+8]=(ftb);yzi[zzi+9]=(sab);wzi[zzi+10]=(hjd);wzi[zzi+11]=(ijd);yzi[zzi+10]=(ftb);yzi[zzi+11]=(qo);if(!uh){break}ijd=ijd+eui}if(!th){break}hjd=hjd+xeh}}function rxi(hke,lje,mje,qad,rad,cfh,dfh,efh,wpd,pnd,jrd,krd,xpd){var mzg,pqh,vzi,wzi,xzi,yzi;if(!hke.hje.jzg)lzi(hke);mzg=ghg.twi(awi,hke,gwi,6);zzi=mzg.mwi<<1;vzi=mzg.mwi;mzg.mwi+=6;wzi=mzg.jwi;xzi=mzg.lwi;yzi=mzg.kwi;var okb=-cfh*(lje-hke.li);var etd=-dfh*(mje-hke.mi);var pkb=okb+cfh*hke.ni;var ftd=etd+dfh*hke.oi;if(Math.abs(efh)<0.001){
wzi[zzi+0]=wzi[zzi+8]=wzi[zzi+10]=(qad+okb)+0.5;wzi[zzi+1]=wzi[zzi+3]=wzi[zzi+11]=(rad+etd)+0.5;wzi[zzi+2]=wzi[zzi+6]=wzi[zzi+4]=(qad+pkb)+0.5;wzi[zzi+5]=wzi[zzi+7]=wzi[zzi+9]=(rad+ftd)+0.5}else {var wah=Math.sin(efh);var dgc=Math.cos(efh);var jaj=okb*dgc;var kaj=pkb*dgc;var laj=etd*dgc;var maj=ftd*dgc;var naj=okb*wah;var oaj=pkb*wah;var paj=etd*wah;var qaj=ftd*wah;wzi[zzi+0]=wzi[zzi+10]=(qad+jaj+paj)+0.5;wzi[zzi+1]=wzi[zzi+11]=(rad-naj+laj)+0.5;wzi[zzi+4]=wzi[zzi+6]=(qad+kaj+qaj)+0.5;wzi[zzi+5]=wzi[zzi+7]=(rad-oaj+maj)+0.5;
wzi[zzi+3]=(rad-oaj+laj)+0.5;wzi[zzi+2]=(qad+kaj+paj)+0.5;wzi[zzi+8]=(qad+jaj+qaj)+0.5;wzi[zzi+9]=(rad-naj+maj)+0.5}yzi[zzi+0]=yzi[zzi+8]=yzi[zzi+10]=hke.dg+0.5;yzi[zzi+1]=yzi[zzi+3]=yzi[zzi+11]=hke.eg+0.5;yzi[zzi+2]=yzi[zzi+4]=yzi[zzi+6]=(hke.dg+hke.fg)+0.5;yzi[zzi+5]=yzi[zzi+7]=yzi[zzi+9]=(hke.eg+hke.gg)+0.5;var xab=(xpd*255.0)<<24;wpd=xab|(wpd&0xffffff);if(pnd==undefined){pnd=wpd;jrd=wpd;krd=wpd}else {pnd=pnd|xab;jrd=jrd|xab;krd=krd|xab}xzi[vzi]=xzi[vzi+5]=wpd;xzi[vzi+1]=pnd;xzi[vzi+2]=xzi[vzi+3]=jrd;
xzi[vzi+4]=krd}function xxi(hke,gyd,hyd,rne,sne,qad,rad,jmd,kmd,bad,xpd){if(!hke)return;if(!hke.hje)return;if(!hke.hje.complete)return;bad&=0xffffff;bad|=(mqd*255)<<24;if(gyd<hke.li){var wfh=hke.li-gyd;qad+=wfh;rne-=wfh;gyd=0}else {gyd-=hke.li;rne-=hke.li}if(hyd<hke.mi){var wfh=hke.mi-hyd;rad+=wfh;sne-=wfh;hyd=0}else {hyd-=hke.mi;sne-=hke.mi}if(rne>(hke.ni-gyd-hke.li))rne=hke.ni-gyd-hke.li;if(sne>(hke.oi-hyd-hke.mi))sne=hke.oi-hyd-hke.mi;if(rne<=0||sne<=0)return;qad=~~qad;rad=~~rad;gzi(hke,gyd+hke.dg,
hyd+hke.eg,rne,sne,qad,rad,rne*jmd,sne*kmd,bad)}function ayi(emd,tke,qad,rad,jmd,kmd,lmd,wpd,xpd){}function eyi(xqd,yqd,zqd,ard,brd){var mzg,pqh,vzi,wzi,xzi,yzi;xqd=~~xqd;yqd=~~yqd;zqd=~~zqd;ard=~~ard;var raj=awi;var teb=6;if(brd){raj=dwi;teb=8}mzg=ghg.twi(raj,null,gwi,teb);zzi=mzg.mwi<<1;vzi=mzg.mwi;mzg.mwi+=teb;wzi=mzg.jwi;xzi=mzg.lwi;yzi=mzg.kwi;var tnd=~~((mqd*255.0)<<24)|(oqd&0xffffff);if(!brd){wzi[zzi+10]=wzi[zzi+8]=wzi[zzi+0]=xqd;wzi[zzi+11]=wzi[zzi+3]=wzi[zzi+1]=yqd;wzi[zzi+6]=wzi[zzi+4]=wzi[zzi+2]=zqd;
wzi[zzi+9]=wzi[zzi+7]=wzi[zzi+5]=ard;xzi[vzi]=xzi[vzi+1]=xzi[vzi+2]=xzi[vzi+3]=xzi[vzi+4]=xzi[vzi+5]=tnd}else {xzi[vzi]=xzi[vzi+1]=xzi[vzi+2]=xzi[vzi+3]=xzi[vzi+4]=xzi[vzi+5]=xzi[vzi+6]=xzi[vzi+7]=tnd;wzi[zzi+10]=wzi[zzi+14]=wzi[zzi+12]=wzi[zzi+0]=xqd;wzi[zzi+15]=wzi[zzi+5]=wzi[zzi+3]=wzi[zzi+1]=yqd;wzi[zzi+8]=wzi[zzi+6]=wzi[zzi+4]=wzi[zzi+2]=zqd;wzi[zzi+7]=wzi[zzi+9]=wzi[zzi+11]=wzi[zzi+13]=ard}}function oxi(oli){var bg=0;fxi=4*(fwd(64,gwd(4,oli))/4);for(bg=0;bg<=(fxi+1);bg++){gxi[bg]=Math.cos(bg*2*Math.PI/fxi);
hxi[bg]=Math.sin(bg*2*Math.PI/fxi)}}function fyi(xqd,yqd,zqd,ard,ond,pnd,brd){var bg,fg,gg;fg=10;gg=10;if(fg>Math.abs(zqd-xqd))fg=Math.abs(zqd-xqd);if(gg>Math.abs(ard-yqd))gg=Math.abs(ard-yqd);dsb=(ond&0xffffff)|((mqd*255.0)<<24);esb=(pnd&0xffffff)|((mqd*255.0)<<24);var raj=bwi;var teb=fxi+6;if(brd){raj=ewi}var qtd=(xqd+zqd)*0.5;var rtd=(yqd+ard)*0.5;var saj=Math.abs(zqd-xqd)*0.5-fg*0.5;var taj=Math.abs(ard-yqd)*0.5-gg*0.5;mzg=ghg.twi(raj,null,gwi,teb);zzi=mzg.mwi<<1;vzi=mzg.mwi;wzi=mzg.jwi;xzi=mzg.lwi;
wzi[zzi]=qtd;wzi[zzi+1]=rtd;xzi[vzi]=dsb;zzi+=2;vzi++;for(bg=0;bg<=fxi/4;bg++){wzi[zzi]=(qtd+saj+fg*gxi[bg]/2);wzi[zzi+1]=(rtd+taj+gg*hxi[bg]/2);xzi[vzi]=esb;zzi+=2;vzi++}for(bg=fxi/4;bg<=fxi/2;bg++){wzi[zzi]=(qtd-saj+fg*gxi[bg]/2);wzi[zzi+1]=(rtd+taj+gg*hxi[bg]/2);xzi[vzi]=esb;zzi+=2;vzi++}for(bg=fxi/2;bg<=3*(fxi/4);bg++){wzi[zzi]=(qtd-saj+fg*gxi[bg]/2);wzi[zzi+1]=(rtd-taj+gg*hxi[bg]/2);xzi[vzi]=esb;zzi+=2;vzi++}for(bg=3*(fxi/4);bg<=fxi;bg++){wzi[zzi]=(qtd+saj+fg*gxi[bg]/2);wzi[zzi+1]=(rtd-taj+gg*hxi[bg]/2);
xzi[vzi]=esb;zzi+=2;vzi++}wzi[zzi]=wzi[(mzg.mwi<<1)+2];wzi[zzi+1]=wzi[(mzg.mwi<<1)+3];xzi[vzi]=esb;if(brd){var uaj=mzg.mwi<<1;wzi[uaj]=wzi[uaj+2];wzi[uaj+1]=wzi[uaj+3];xzi[mzg.mwi]=xzi[mzg.mwi+1]}mzg.mwi+=teb}function gyi(xqd,yqd,zqd,ard,ond,pnd,jrd,krd,brd){var mzg,pqh,vzi,wzi,xzi,yzi;xqd=~~xqd;yqd=~~yqd;zqd=~~zqd;ard=~~ard;var xab=((mqd*255.0)<<24);ond=cqd(ond)|xab;pnd=cqd(pnd)|xab;jrd=cqd(jrd)|xab;krd=cqd(krd)|xab;var raj=awi;var teb=6;if(brd){raj=dwi;teb=8}mzg=ghg.twi(raj,null,gwi,teb);zzi=mzg.mwi<<1;
vzi=mzg.mwi;mzg.mwi+=teb;wzi=mzg.jwi;xzi=mzg.lwi;yzi=mzg.kwi;var tnd=~~((mqd*255.0)<<24)|(oqd&0xffffff);if(!brd){wzi[zzi+10]=wzi[zzi+8]=wzi[zzi+0]=xqd;wzi[zzi+11]=wzi[zzi+3]=wzi[zzi+1]=yqd;wzi[zzi+6]=wzi[zzi+4]=wzi[zzi+2]=zqd;wzi[zzi+9]=wzi[zzi+7]=wzi[zzi+5]=ard;xzi[vzi+0]=xzi[vzi+5]=ond;xzi[vzi+2]=xzi[vzi+3]=jrd;xzi[vzi+1]=pnd;xzi[vzi+4]=krd}else {xzi[vzi+0]=xzi[vzi+7]=ond;xzi[vzi+1]=xzi[vzi+2]=pnd;xzi[vzi+3]=xzi[vzi+4]=jrd;xzi[vzi+5]=xzi[vzi+6]=krd;wzi[zzi+10]=wzi[zzi+14]=wzi[zzi+12]=wzi[zzi+0]=xqd;
wzi[zzi+15]=wzi[zzi+5]=wzi[zzi+3]=wzi[zzi+1]=yqd;wzi[zzi+8]=wzi[zzi+6]=wzi[zzi+4]=wzi[zzi+2]=zqd;wzi[zzi+7]=wzi[zzi+9]=wzi[zzi+11]=wzi[zzi+13]=ard}}function hyi(xqd,yqd,zqd,ard,ond,pnd,nrd,brd){if(nrd){gyi(xqd,yqd,zqd,ard,ond,ond,pnd,pnd,brd)}else {gyi(xqd,yqd,zqd,ard,ond,pnd,pnd,ond,brd)}}function iyi(qad,rad){oyi(qad,rad,rqd)}function oyi(qad,rad,wpd){var mzg,pqh,vzi,wzi,xzi,yzi;mzg=ghg.twi(fwi,null,gwi,1);zzi=mzg.mwi<<1;wzi=mzg.jwi;xzi=mzg.lwi;yzi=mzg.kwi;var tnd=~~((mqd*255.0)<<24)|cqd(wpd);wzi[zzi+0]=~~qad;
wzi[zzi+1]=~~rad;xzi[mzg.mwi]=tnd;mzg.mwi++}function jyi(qad,rad){var vaj=new Uint8Array(16);qad=~~qad;rad=~~rad;ghg.kyg();hhg.ezg();fhg.readPixels(qad,jxi-rad,1,1,fhg.RGBA,fhg.UNSIGNED_BYTE,vaj);var tnd=vaj[2]<<16|(vaj[1]<<8)|(vaj[0]);hhg.ggb();return tnd}function kyi(xqd,yqd,zqd,ard,hsd,isd,brd){var mzg,pqh,vzi,wzi,xzi,yzi;mzg=ghg.twi(awi,null,gwi,3);zzi=mzg.mwi<<1;vzi=mzg.mwi;wzi=mzg.jwi;xzi=mzg.lwi;wzi[zzi+0]=~~xqd;wzi[zzi+1]=~~yqd;wzi[zzi+2]=~~zqd;wzi[zzi+3]=~~ard;wzi[zzi+4]=~~hsd;wzi[zzi+5]=~~isd;
xzi[vzi]=xzi[vzi+1]=xzi[vzi+2]=((mqd*255.0)<<24)|oqd;;mzg.mwi+=3}function lyi(xqd,yqd,zqd,ard,hsd,isd,waj,xaj,yaj,brd){var mzg,pqh,vzi,wzi,xzi,yzi;var xab=((mqd*255.0)<<24);waj=xab|cqd(waj);xaj=xab|cqd(xaj);yaj=xab|cqd(yaj);mzg=ghg.twi(awi,null,gwi,3);zzi=mzg.mwi<<1;vzi=mzg.mwi;wzi=mzg.jwi;xzi=mzg.lwi;wzi[zzi+0]=~~xqd;wzi[zzi+1]=~~yqd;wzi[zzi+2]=~~zqd;wzi[zzi+3]=~~ard;wzi[zzi+4]=~~hsd;wzi[zzi+5]=~~isd;xzi[vzi]=waj;xzi[vzi+1]=xaj;xzi[vzi+2]=yaj;mzg.mwi+=3}function myi(xqd,yqd,zqd,ard,ond,pnd,brd){var qtd=(xqd+zqd)/2;
var rtd=(yqd+ard)/2;var saj=Math.abs((xqd-zqd)/2);var taj=Math.abs((yqd-ard)/2);var xab=((mqd*255.0)<<24);ond=xab|cqd(ond);pnd=xab|cqd(pnd);var zaj;var qo;if(brd){mzg=ghg.twi(ewi,null,gwi,fxi+2);zzi=mzg.mwi<<1;vzi=mzg.mwi;wzi=mzg.jwi;xzi=mzg.lwi;mzg.mwi+=fxi+2;for(var bg=0;bg<=(fxi+2);bg++){wzi[zzi]=(qtd+saj*gxi[bg]);wzi[zzi+1]=(rtd+taj*hxi[bg]);xzi[vzi]=pnd;zzi+=2;vzi++}}else {mzg=ghg.twi(awi,null,gwi,(fxi+1)*3);zzi=mzg.mwi<<1;vzi=mzg.mwi;wzi=mzg.jwi;xzi=mzg.lwi;mzg.mwi+=(fxi+1)*3;for(var bg=0;bg<=(fxi+1);
bg++){wzi[zzi+0]=qtd;wzi[zzi+1]=rtd;xzi[vzi]=ond;wzi[zzi+2]=(qtd+saj*gxi[bg]);wzi[zzi+3]=(rtd+taj*hxi[bg]);xzi[vzi+1]=pnd;wzi[zzi+4]=(qtd+saj*gxi[bg+1]);wzi[zzi+5]=(rtd+taj*hxi[bg+1]);xzi[vzi+2]=pnd;zzi+=6;vzi+=3}}}function nyi(qad,rad,xqb,ond,pnd,brd){myi(qad-xqb,rad-xqb,qad+xqb,rad+xqb,ond,pnd,brd)}function pyi(xqd,yqd,zqd,ard){ryi(xqd,yqd,zqd,ard,1.0,rqd,rqd)}function qyi(xqd,yqd,zqd,ard,pcd){ryi(xqd,yqd,zqd,ard,pcd,rqd,rqd)}function ryi(xqd,yqd,zqd,ard,pcd,ond,pnd){var xab=((mqd*255.0)<<24);ond=xab|cqd(ond);
pnd=xab|cqd(pnd);var hjd=(zqd-xqd);var ijd=(ard-yqd);var ylb=(hjd*hjd)+(ijd*ijd);if(ylb<0.0001)return;ylb=Math.sqrt(ylb);if(ylb<0.0001)return;hjd=0.5*pcd*hjd/ylb;ijd=0.5*pcd*ijd/ylb;mzg=ghg.twi(awi,null,gwi,6);zzi=mzg.mwi<<1;vzi=mzg.mwi;wzi=mzg.jwi;xzi=mzg.lwi;mzg.mwi+=6;wzi[zzi]=(xqd-ijd);wzi[zzi+1]=(yqd+hjd);wzi[zzi+2]=(zqd-ijd);wzi[zzi+3]=(ard+hjd);wzi[zzi+4]=(zqd+ijd);wzi[zzi+5]=(ard-hjd);wzi[zzi+6]=(zqd+ijd);wzi[zzi+7]=(ard-hjd);wzi[zzi+8]=(xqd+ijd);wzi[zzi+9]=(yqd-hjd);wzi[zzi+10]=(xqd-ijd);wzi[zzi+11]=(yqd+hjd);
xzi[vzi]=xzi[vzi+4]=xzi[vzi+5]=ond;xzi[vzi+1]=xzi[vzi+2]=xzi[vzi+3]=pnd}function abj(hke,pcd,qcd){var bbj=fhg.createFramebuffer();fhg.bindFramebuffer(fhg.FRAMEBUFFER,bbj);bbj.width=pcd;bbj.height=qcd;hke.cbj=bbj;dbj=fhg.createTexture();fhg.bindTexture(fhg.TEXTURE_2D,dbj);if(!yhg){fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_MAG_FILTER,fhg.NEAREST);fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_MIN_FILTER,fhg.NEAREST)}else {fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_MAG_FILTER,fhg.LINEAR);fhg.texParameteri(fhg.TEXTURE_2D,
fhg.TEXTURE_MIN_FILTER,fhg.LINEAR)}fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_WRAP_S,fhg.CLAMP_TO_EDGE);fhg.texParameteri(fhg.TEXTURE_2D,fhg.TEXTURE_WRAP_T,fhg.CLAMP_TO_EDGE);hke.hje.jzg=dbj;fhg.texImage2D(fhg.TEXTURE_2D,0,fhg.RGBA,bbj.width,bbj.height,0,fhg.RGBA,fhg.UNSIGNED_BYTE,null);var ebj=fhg.createRenderbuffer();fhg.bindRenderbuffer(fhg.RENDERBUFFER,ebj);fhg.renderbufferStorage(fhg.RENDERBUFFER,fhg.DEPTH_COMPONENT16,bbj.width,bbj.height);fhg.framebufferTexture2D(fhg.FRAMEBUFFER,fhg.COLOR_ATTACHMENT0,
fhg.TEXTURE_2D,dbj,0);fhg.framebufferRenderbuffer(fhg.FRAMEBUFFER,fhg.fbj,fhg.RENDERBUFFER,ebj);hke.ebj=ebj;fhg.bindTexture(fhg.TEXTURE_2D,null);fhg.bindRenderbuffer(fhg.RENDERBUFFER,null);fhg.bindFramebuffer(fhg.FRAMEBUFFER,null)}function tyi(pcd,qcd){var dje=new eje();dje.hje=document.createElement("surf");dje.scd=pcd;dje.tcd=qcd;dje.hje.width=8;dje.hje.height=8;dje.hje.scd=pcd;dje.hje.tcd=qcd;abj(dje,pcd,qcd);dje.dg=0;dje.eg=0;dje.fg=pcd;dje.gg=qcd;dje.li=0;dje.mi=0;dje.ni=dje.fg;dje.oi=dje.gg;dje.pi=dje.fg;
dje.qi=dje.gg;dje.ri=bbd.oub(dje);dje.mle=dje;dje.hje.complete=!0;dje.jbb=[];dje.teb=0;dje.nle=4;dje.ole=0;dje.ple=null;dje.xie=dje.hje;return dje.ri}function uyi(xcd){var kle=bbd.cbd(xcd);if(kle!=null){ghg.kyg();ixi=kle.scd;jxi=kle.tcd;ame.left=bme.left;ame.top=bme.top;ame.sud=bme.sud;ame.bottom=bme.bottom;bme.left=0;bme.top=0;bme.sud=kle.scd;bme.bottom=kle.tcd;cme.cbb(dme);dme.eme=0;dme.fme=0;dme.gme=kle.scd;dme.hme=kle.tcd;dme.ime=0;dme.jme=0;dme.kme=kle.scd;dme.lme=kle.tcd;dme.dbd=0;dme.fbd=0;dme.mme=kle.scd;
dme.nme=kle.tcd;dme.ebd=dme.dbd+dme.mme;dme.gbd=dme.fbd+dme.nme;mhg=kle.cbj;hhg.czg(kle.cbj);djg=-1;pme(dme.eme,dme.fme,dme.gme,dme.hme,dme.bob);tle=!0}}function vyi(){ghg.kyg();if(tle){bme.left=ame.left;bme.sud=ame.sud;bme.top=ame.top;bme.bottom=ame.bottom;dme.cbb(cme)}djg=1;mhg=null;hhg.czg(null);pme(dme.eme,dme.fme,dme.gme,dme.hme,dme.bob);ixi=fhg.viewportWidth;jxi=fhg.viewportHeight}function wyi(xcd){var kle=bbd.cbd(xcd);if(kle!=null){fhg.deleteFramebuffer(kle.cbj);fhg.deleteRenderbuffer(kle.ebj);
fhg.deleteTexture(kle.hje.jzg);kle.hje.jzg=undefined;bbd.bed(xcd)}}function xyi(xcd,qad,rad){var kle=bbd.cbd(xcd);if(kle!=null){var vaj=new Uint8Array(16);qad=~~qad;rad=~~rad;ghg.kyg();hhg.ezg();fhg.bindFramebuffer(fhg.FRAMEBUFFER,kle.cbj);fhg.readPixels(qad,rad,1,1,fhg.RGBA,fhg.UNSIGNED_BYTE,vaj);fhg.bindFramebuffer(fhg.FRAMEBUFFER,mhg);var tnd=vaj[2]|(vaj[1]<<8)|(vaj[0]<<16);hhg.ggb();return tnd}return 0x00000000}function yyi(xcd,qad,rad){var kle=bbd.cbd(xcd);if(!kle)return;qad=~~qad;rad=~~rad;pic.cje(kle,
0,0,kle.scd,kle.tcd,qad,rad,kle.scd,kle.tcd,0xffffffff)}function zyi(gne,qad,rad,ged){yhd("surface_copy() (WebGL)")}function azi(gne,qad,rad,ged,ine,jne,kne,lne){var hed=bbd.cbd(gne);var ied=bbd.cbd(ged);if(hed!=null&&ied!=null){}yhd("surface_copy_part() (WebGL)")}function dzi(lzd,qad,rad,pcd,qcd,vie,wie){yhd("sprite_add_from_screen() (WebGL)");return -1}function czi(xcd,qad,rad,pcd,qcd,vie,wie,lje,mje){yhd("sprite_create_from_surface() (WebGL)");return -1}function bzi(lzd,xcd,qad,rad,pcd,qcd,vie,wie){yhd("sprite_add_from_surface() (WebGL)");
return -1}function ezi(xcd){var wyd=xyd.cbd(xcd);if(wyd){var mzg,pqh,vzi,wzi,xzi,yzi,xqd,yqd,zqd,ard;var yyd=~~((mqd*255.0)<<24)|(0xff0000&0xffffff);var zyd=~~((mqd*255.0)<<24)|(0x00ff00&0xffffff);var teb=6*(wyd.pyd*wyd.oyd);mzg=ghg.twi(awi,null,gwi,teb);zzi=mzg.mwi<<1;vzi=mzg.mwi;mzg.mwi+=teb;wzi=mzg.jwi;xzi=mzg.lwi;for(var eg=0;eg<wyd.pyd;eg++){for(var dg=0;dg<wyd.oyd;dg++){var tnd=zyd;if(wyd.syd[eg+wyd.oyd*dg]<0)tnd=yyd;xqd=~~(wyd.myd+dg*wyd.qyd);yqd=~~(wyd.nyd+eg*wyd.ryd);zqd=xqd+wyd.qyd;ard=yqd+wyd.ryd;
wzi[zzi+10]=wzi[zzi+8]=wzi[zzi+0]=xqd;wzi[zzi+11]=wzi[zzi+3]=wzi[zzi+1]=yqd;wzi[zzi+6]=wzi[zzi+4]=wzi[zzi+2]=zqd;wzi[zzi+9]=wzi[zzi+7]=wzi[zzi+5]=ard;xzi[vzi]=xzi[vzi+1]=xzi[vzi+2]=xzi[vzi+3]=xzi[vzi+4]=xzi[vzi+5]=tnd;zzi+=12;vzi+=6}}return }yhc("Error: invalid mp_grid ID (mp_grid_draw)")}function fzi(xcd,hde,ide,jde){var kde=lde.jf[xcd];if(!kde)return;var mzg,pqh,vzi,wzi,xzi,yzi;var tnd=~~((mqd*255.0)<<24)|(oqd&0xffffff);var hjd,ijd,okd;var mde=0;var nde=kde.mwb(0);if(!jde){hde=hde-nde.dg;ide=ide-nde.eg}
else {hde=0;ide=0}mde=xfd(kde.length/4.0);if(mde==0)return;var teb=mde*2;mzg=ghg.twi(dwi,null,gwi,teb);zzi=mzg.mwi<<1;vzi=mzg.mwi;mzg.mwi+=teb;wzi=mzg.jwi;xzi=mzg.lwi;yzi=mzg.kwi;for(var bg=0;bg<mde;bg++){nde=kde.mwb(bg/mde);xqd=~~(hde+nde.dg);yqd=~~(ide+nde.eg);nde=kde.mwb((bg+1)/mde);zqd=~~(hde+nde.dg);ard=~~(ide+nde.eg);xzi[vzi]=xzi[vzi+1]=tnd;wzi[zzi+0]=xqd;wzi[zzi+1]=yqd;wzi[zzi+2]=zqd;wzi[zzi+3]=ard;zzi+=4;vzi+=2}}function dyi(uhd){hhg.jyg(uhd);}var gbj=0;var hbj=100;var canvas=null;var ibj,jbj,kbj,
lbj,mbj,nbj,obj,pbj;var pic=null;var g_CurrentGraphics;var qbj=null;var sme=null;var rbj=0;var sbj=!1;var tbj=0;var ubj=0;var vbj=0;var wbj=0;var rhd=0;var xbj=0;var ihf=60;var ybj;var djf=new Date().getTime();var cjf;var zbj=null;window.onload=acj;window.requestAnimFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(reb,phd){ybj=window.setTimeout(reb,1000/60)}})();var ohd=null;
function txe(){var cg=document.getElementById(bid);var zn=cg.parentNode;var load=document.createElement('canvas');load.style.position="absolute";load.style.left="0px";load.style.top="0px";load.width=cg.width;load.height=cg.height;load.setAttribute("id","loading_screen");zn.insertBefore(load,cg.nextSibling);qbj=load.getContext('2d');zie(qbj);qbj.ypd();qbj.globalCompositeOperation='copy';qbj.fillStyle=uqd(0x00000000);qbj.globalAlpha=1;qbj.grd(0,0,cg.width,cg.height);qbj.hqd()}function uxe(){var cg=document.getElementById(bid);
var ylb=document.getElementById("loading_screen");var zn=cg.parentNode;zn.removeChild(ylb);qbj=null;sbj=!1}function zad(vch,uch){uch.left=0;uch.top=0;wlh=vch;{while(wlh!=null){uch.left+=wlh.offsetLeft;uch.top+=wlh.offsetTop;wlh=wlh.offsetParent}}uch.sud=uch.left+zne;uch.bottom=uch.top+aoe}function bcj(whe){ahg=[];cye=[];dye=[];eye=0;var nod=whe.search;var jkd=whe.protocol+"//"+whe.host+whe.pathname;cye[0]=jkd;dye[0]=null;if(nod[0]=="?")nod=nod.substring(1,nod.length);var ai=qbh=0;var bye="";var gji=null;
while(ai<nod.length){var cg=nod[ai];if(cg=="&"){if(bye!=""){if(qbh!=ai)gji=nod.substring(qbh,ai);cye[cye.length]=bye;dye[dye.length]=gji;ahg[bye]=gji;eye++;bye="";gji=null}qbh=ai+1;}else if(cg=="="){bye=nod.substring(qbh,ai);gji=null;qbh=ai+1}ai++}if(bye!=""){if(qbh!=ai)gji=nod.substring(qbh,ai);cye[cye.length]=bye;dye[dye.length]=gji;ahg[bye]=gji;eye++;bye=gji=""}}function aoh(){ibj=canvas.style.position;jbj=canvas.style.left;kbj=canvas.style.top;lbj=canvas.style;mbj=canvas.parentNode;nbj=canvas.nextSibling;
obj=!1;pbj=canvas.margin;if((mbj==document.body)||(canvas.mozRequestFullScreen)||(canvas.webkitRequestFullScreen)){obj=!0}}function acj(){debug('------- GameMaker_Init -------------');if(!document.getElementById||!document.createElement)return;canvas=document.getElementById(bid);pic=null;if(!canvas)return;bcj(window.location);yjd=oe;glg();if(hqe==mmf){nff(canvas)}uhg=!1;fhg=null;if((yjd.ti.ij)&&(yjd.ti.ij!=0)){yhg=yjd.ti.zi;var ccj=undefined;if(lqe!=bmf){ccj=kxi(canvas)}if(ccj){pic=fhg}else {if(yjd.ti.ij==1){
uhg=!0}pic=canvas.getContext('2d')}}else {pic=canvas.getContext('2d')}g_CurrentGraphics=pic;jig=canvas.width;kig=canvas.height;if(typeof(yjd.ti.GenerateSpotifyApp)!="undefined"){ige=jgg}else if(yjd.ti.jj==!0){ige=jge}if(hqe==mmf){ige=jge}if(ige==jge){try{g_WebAudioContext=new webkitAudioContext()}catch(e){debug('Web Audio API not supported in this browser');ige=iie}lge()}document.body.style.dcj="hidden";sme=pic;ecj=fhg;bsd=canvas.width;dsd=canvas.height;abd=new jjd();zad(canvas,abd);boe=abd.top;coe=abd.left;
doe=abd.sud;eoe=abd.bottom;if(yjd.ti.skd){ekd(yjd.ti.skd)}else if(yjd.ti&&yjd.ti.vi&&yjd.ti.zjd){yjd.ti.zjd()}aoh();zie(pic);if(typeof(yjd.ti.GenerateSpotifyApp)=="undefined"){document.body.oncontextmenu=function(){return !1}}zne=bsd;aoe=dsd;gcd();kmg=document.getElementById('GM4HTML5_loadingscreen');if((yjd.ti&&yjd.ti.vi)||(yjd.ti&&yjd.ti.vi==undefined)){nhd=!0}if(fhg){debug("WebGL Enabled!");debug("Max Texture Size="+fhg.getParameter(fhg.fcj))}lmg();qte();if(uhg){rbj=-2}else {if(nhd)kk.nxg=yjd.ti.vi;
rxe="";sxe=function(){};if(yjd.ti){if(yjd.ti.qxe){rxe=yjd.ti.qxe}}if(rxe!=""){xng(yjd);rbj=-1}else {yng(yjd);rbj=0}}if(typeof(yjd.ti.GenerateSpotifyApp)!="undefined"){zbj=setInterval(gcj,1000/(30))}else {requestAnimFrame(gcj)}}function gcj(){if(typeof(yjd.ti.GenerateSpotifyApp)=="undefined"||zbj==null){requestAnimFrame(gcj)}switch(rbj){case -2:{if(sbj)uxe();hcj(pic,zne,aoe);break}case -1:if(gmg==hmg){yng(yjd);rbj=0;rxe(qbj,zne,aoe,fmg,rhe,kmg)}break;case 0:if(!sbj){txe();sbj=!0}if(rhe>=fmg){rhe=fmg;rbj=1}
cog();rxe(qbj,zne,aoe,fmg,rhe,kmg);break;case 1:uxe();pog(yjd);rbj=2;break;case 2:sxe();icj();rbj=3;kk.yug=new Date().getTime();break;case 3:jcj();break}}function kcj(pch,dg,eg,di,text){pch.fillStyle=di;pch.lineStyle=di;pch.font="14px Verdana";;pch.textAlign="center";pch.fillText(text,dg,eg);pch.textAlign="left"}function hcj(pch,rne,sne){pch.fillStyle=bqd(0x151515,1.0);pch.fillRect(0,0,rne,sne);kcj(pch,rne/2,(sne/2),bqd(0x8d8f90,1.0),"WebGL is Required to run this application.")}function aog(pic,rne,sne,
lcj,mcj,ncj){pic.globalAlpha=1;if(ncj){pic.save();pic.fillStyle=bqd(0,1);pic.globalCompositeOperation='copy';pic.fillRect(0,0,rne,sne);pic.restore();pic.drawImage(kmg,0,0,rne,sne)}else {var ocj=(rne/100)*50;var pcj=2;var dg=(rne-ocj)/2;var eg=10+(sne-pcj)/2;pic.fillStyle=bqd(0x151515,1.0);pic.fillRect(0,0,rne,sne);if(mcj!=0){var fg=(ocj/lcj)*mcj;pic.fillStyle=bqd(0x404040,1.0);pic.fillRect(dg,eg,ocj,pcj);pic.fillStyle=bqd(0x8d8f90,1.0);pic.fillRect(dg,eg,fg,pcj)}kcj(pic,rne/2,(sne/2),bqd(0x8d8f90,1.0),
"Loading")}}function qcj(csi){lgg.efc();var rcj=csi.fpi.rh;for(var bg=0;bg<rcj.length;bg++){lgg.oub(rcj[bg]);var usg=lgg.cbd(bg);dm(kk,"__background_visible__",bg,usg.mg);dm(kk,"__background_foreground__",bg,usg.sh);dm(kk,"__background_index__",bg,usg.ai);dm(kk,"__background_x__",bg,usg.dg);dm(kk,"__background_y__",bg,usg.eg);dm(kk,"__background_width__",bg,usg.width);dm(kk,"__background_height__",bg,usg.height);dm(kk,"__background_htiled__",bg,usg.lsg);dm(kk,"__background_vtiled__",bg,usg.msg);dm(kk,
"__background_xscale__",bg,usg.qsg);dm(kk,"__background_yscale__",bg,usg.rsg);dm(kk,"__background_vspeed__",bg,usg.osg);dm(kk,"__background_hspeed__",bg,usg.nsg);dm(kk,"__background_blend__",bg,usg.psg);dm(kk,"__background_alpha__",bg,usg.ekb)}kk.bvg=csi.voi}function scj(oli,tcj){if(sad)sad.yri();var ucj=sad;bfe.bgd(jnf,0);crh();var ng=[];if(ucj!=null){var bg;for(bg=ucj.oud.length-1;bg>=0;bg--){var bud=ucj.oud.cbd(bg);if(bud.ng){ng[ng.length]=bud;bud.vcj=!0}}for(bg=ng.length-1;bg>=0;bg--){ucj.oud.tte(ng[bg])}
if(ucj.toi===!1){ucj.qqi()}else {for(bg=ucj.oud.length-1;bg>=0;bg--){var bud=ucj.oud.cbd(bg);bud.yud.bjh(bud);}}}ife=-1;xbd.efc();qli();sad=hfe.cbd(oli);var wcj=sad.toi;if(wcj===!0&&sad.uoi===!1){wcj=!1}if(wcj===!1){sad.apg(sad.fpi);sad.zqi()}else {sad.ipi(sad.roi);sad.jpi(sad.soi);sad.kpi(sad.qoi);sad.mpi(sad.poi);sad.opi(sad.toi);sad.zqi();for(bg=sad.oud.length-1;bg>=0;bg--){var bud=sad.oud.cbd(bg);bud.yud.cjh(bud)}}kk.pug=sad.id;sad.uqi();xcj();qcj(sad);if(wcj===!1){sad.lqi();sad.qqi();with(sad){sad.qqi();
oud=new rfi();var ycj=fpi.bi;for(var ylb=0;ylb<fpi.bi.length;ylb++){var zvb=!1;var zcj=fpi.bi[ylb];for(var ftb=ng.length-1;ftb>=0;ftb--){if(zcj.id==ng[ftb].id){zvb=!0;break}}if(!zvb){var azd=sad.cjh(zcj.dg,zcj.eg,zcj.id,zcj.ai,zcj.yf,zcj.zf,zcj.ci,zcj.di);azd.vcj=!1}}var ycj=fpi.bi;for(var ylb=0;ylb<fpi.bi.length;ylb++){var zcj=fpi.bi[ylb];var azd=bfe.cbd(zcj.id);if(azd.vcj==!1){azd.vcj=!0;if(!vhg){if(zcj.ph)zcj.ph(azd);azd.bgd(cgd,0,azd,azd)}else {azd.bgd(cgd,0,azd,azd);if(zcj.ph)zcj.ph(azd);}}}}}for(var ftb=0;
ftb<ng.length;ftb++){sad.oud.oub(ng[ftb])}if(tcj){bfe.bgd(gnf,0)}if((wcj==!1)&&(sad.zoi!=null)){adj=new klg();sad.zoi(adj);adj=null}bfe.bgd(inf,0);sad.uoi=!0}function bdj(cdj){scj(cdj,!1)}function icj(){kk.sug=0;kk.tug=-1;cig=0;dig=-1;eig=0;fig=0;scj(hfe.cpg(0).id,!0);tbj=ubj=ore();wbj=~~(tbj/1000000)+4;kk.vwg=ihf}function ddj(){qgg=[];rgg=[];igf=-1;hgf=-1;ggf=0;sad.oud.efc();sad.gvd.efc();var gmc=cnd.vef;for(var bg in gmc){var ned=gmc[bg];ned.okf.efc();ned.dnd.efc()}bfe.efc()}function edj(){xbd.drh()}function fdj(){
if(sad.oud.sfi>=0)sad.oud.hrh();if(sad.xih.length>0)sad.zri()}function gdj(){if(sad.ree){sad.ree.hcc(sad.qoi)}else {bfe.imh()}}function hdj(){if((sad.ree==null)||(sad.ree==undefined)){gjf()}}function idj(){kk.xug=(cjf-kk.yug)*1000;kk.yug=cjf;xbd.aph();bfe.hmh();bfe.bgd(enf,0);fdj();if(ife!=-1)return;if(cxe){cxe=!1;bfe.bgd(xof,0)}wid.csg();fdj();if(ife!=-1)return;ykf();fdj();if(ife!=-1)return;jlf();fdj();if(ife!=-1)return;zqh();fdj();if(ife!=-1)return;vjf();fdj();if(ife!=-1)return;bfe.bgd(dnf,0);fdj();
if(ife!=-1)return;gdj();mif();fdj();if(ife!=-1)return;ppe();fdj();if(ife!=-1)return;hdj();fdj();if(ife!=-1)return;bfe.bgd(fnf,0);fdj();if(ife!=-1)return;jmi();if(sad!=null){sad.yri();sad.wic();fdj()}sad.bri();bfe.jmh();fdj();edj();hge()}function xcj(){var left,sud,top,bottom;left=0;sud=-999999;top=0;bottom=-999999;with(sad){if(uad){for(bg in wad){xad=wad[bg];if(xad.mg&&xad.yad==-1){if(sud<xad.ime+xad.kme)sud=xad.ime+xad.kme;if(bottom<xad.jme+xad.lme)bottom=xad.jme+xad.lme}}}else {left=0;sud=sad.roi;top=0;
bottom=sad.soi}}hoe=zne;ioe=aoe;dch=zne/(sud-left);koe=aoe/(bottom-top);ngg.kme=hoe/dch;ngg.lme=ioe/koe;ngg.gme=hoe/dch;ngg.hme=ioe/koe;var r=new jjd();r.left=left;r.top=top;r.sud=sud;r.bottom=bottom;bme=r}function jdj(){var fg=640;if(typeof(window.innerWidth)=='number'){fg=window.innerWidth}else if(document.documentElement&&document.documentElement.clientWidth){fg=document.documentElement.clientWidth}else if(document.body&&document.body.clientWidth){fg=document.body.clientWidth}return fg}function kdj(){
var gg=480;if(typeof(window.innerHeight)=='number'){gg=window.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){gg=document.documentElement.clientHeight}else if(document.body&&document.body.clientHeight){gg=document.body.clientHeight}return gg;}var ldj="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function fjf(){var ajg=yjd.ti.uj;var sbh=(cjf/1000)-yjd.ti.uj}function mdj(){zad(canvas,abd);boe=abd.top;coe=abd.left;doe=abd.sud;eoe=abd.bottom;if(!oe.zi){
pic.mozImageSmoothingEnabled=!1;pic.ndj=!1;pic.odj="pixelated";pic.pdj=!1;pic.odj="-o-crisp-edges";pic.qdj="nearest-neighbor"}if((jig!=canvas.width)||(kig!=canvas.height)){cxe=!0}jig=canvas.width;kig=canvas.height;var fg=jdj();var gg=kdj();if((shg)&&(!zhg)){if((foe!=fg)||(goe!=gg)){zhg=!0;shg=!1}if(canvas.mozRequestFullScreen){if(!document.mozFullScreen){zhg=!0;shg=!0}}}if(zhg){zhg=!1;if(shg){fg=bsd;gg=dsd;shg=!1;canvas.style.position=ibj;canvas.style.left=jbj;canvas.style.top=kbj;canvas.style.margin=pbj;
canvas.style=lbj;if(!obj){if(canvas.parentNode!=mbj){mbj.insertBefore(canvas,nbj)}}}else {shg=!0;wne(0,0);if(!obj){if(canvas.parentNode==mbj){mbj.removeChild(canvas);document.body.insertBefore(canvas,null)}}}canvas.width=fg;canvas.height=gg;zne=canvas.width;aoe=canvas.height;coe=canvas.offsetLeft;doe=coe+zne;boe=canvas.offsetTop;eoe=coe+aoe;foe=zne;goe=aoe;hoe=fg;ioe=rdj=1;koe=1;xcj()}if(hqe==mmf){if(ubj>(mff+200000)){yff();mff=ubj}}}var sdj=0;var tdj=0.0;function jcj(){ubj=ore();if(ubj<tbj||((ubj-tbj)>2000000)){
tbj=ubj;wbj=tbj}if(sad.idf()<=0){sad.kpi(1)}cjf=new Date().getTime();rhd=~~(ubj-tbj);tdj=~~(1000000.0/sad.idf())-rhd;vbj=max(0,tdj);vbj=min(vbj,1000000.0);var udj=1000000.0/sad.idf();if(vbj>14000)return;tbj=ubj+vbj;if(tbj<wbj){wbj=tbj}if(~~tbj>(wbj+1000000)){ihf=xbj;xbj=0;wbj=~~tbj;tbj=0}xbj++;kk.vwg=ihf;if(!axe){dui=0;mdj();if(sad===null){ngg.ebd=ngg.mme=ngg.kme=ngg.gme=zne;ngg.gbd=ngg.nme=ngg.lme=ngg.hme=aoe}else {xcj()}if(ife==-1)mdh();{idj()}if(sdj<dui)sdj=dui;if(ife<0)odh();switch(ife){case -1:break;
;case omf:case rmf:vdj=!1;return;case pmf:ddj();icj();break;case qmf:pog();break;default :bdj(ife)}}if(yjd.ti&&yjd.ti.vi&&yjd.ti.wdj){yjd.ti.wdj()}}