Array.prototype.__yy_owner=0;var JSON_game={Extensions:[],ExtensionOptions:{},Sounds:[{pName:"ost_chill",kind:0,extension:"",origName:"ost_chill",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_bullet_fire",kind:0,extension:"",origName:"sfx_bullet_fire",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"ost_childhood",kind:0,extension:"",origName:"ost_childhood",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_getitem",kind:0,extension:"",origName:"sfx_getitem",effects:0,
volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_walk_slow",kind:0,extension:"",origName:"sfx_walk_slow",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_reload",kind:0,extension:"",origName:"sfx_reload",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"ost_battle_2",kind:0,extension:"",origName:"ost_battle_2",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_bullet_hit_enemy",kind:0,extension:"",origName:"sfx_bullet_hit_enemy",effects:0,volume:0.5,pan:0,preload:false,
groupId:0},{pName:"sfx_select",kind:0,extension:"",origName:"sfx_select",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"bgm_interior",kind:0,extension:"",origName:"bgm_interior",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_bullet_fire_real",kind:0,extension:"",origName:"sfx_bullet_fire_real",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"bgm_wind_basic",kind:0,extension:"",origName:"bgm_wind_basic",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_bullet_hit_wall",
kind:0,extension:"",origName:"sfx_bullet_hit_wall",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_ladder",kind:0,extension:"",origName:"sfx_ladder",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_dismiss",kind:0,extension:"",origName:"sfx_dismiss",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_walk",kind:0,extension:"",origName:"sfx_walk",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_ambush",kind:0,extension:"",origName:"sfx_ambush",effects:0,
volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_reload_real",kind:0,extension:"",origName:"sfx_reload_real",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"ost_menu",kind:0,extension:"",origName:"ost_menu",effects:0,volume:1,pan:0,preload:false,groupId:0},{pName:"sfx_end",kind:0,extension:"",origName:"sfx_end",effects:0,volume:1,pan:0,preload:false,groupId:0}],AudioGroups:[{name:"audiogroup_default",enabled:true,}],Sprites:[{pName:"spr_jim_walk_side_lt_g",width:32,height:32,transparent:false,
smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:19,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[334,148,299,333,149,224],sequence:{pName:"spr_jim_walk_side_lt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_blood",width:10,height:10,transparent:false,smooth:false,
preload:false,bboxRight:9,bboxBottom:9,playbackspeed:30,TPEntryIndex:[400,394,369,361],sequence:{pName:"spr_blood",playback:1,playbackSpeed:30,playbackSpeedType:0,length:4,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{
imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_jim_walk_front_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:18,bboxTop:7,bboxBottom:25,playbackspeed:10,TPEntryIndex:[250,362,249,251,332,248],sequence:{pName:"spr_jim_walk_front_g",playback:1,playbackSpeed:10,playbackSpeedType:0,
length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}
}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_crossair_aim",width:9,height:9,transparent:false,smooth:false,preload:false,xOrigin:5,yOrigin:5,bboxLeft:1,bboxRight:7,bboxTop:1,bboxBottom:7,playbackspeed:15,TPEntryIndex:[402,397,391,388,396,401,398,390,389,395],sequence:{pName:"spr_crossair_aim",playback:1,playbackSpeed:15,playbackSpeedType:0,
length:12,xorigin:5,yorigin:5,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:2,stretch:false,disabled:false,channels:{0:{imageIndex:3}
}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:6,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}},{key:7,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:6}}},{key:8,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:7}}},{key:9,length:2,stretch:false,disabled:false,channels:{0:{imageIndex:8}}},{key:11,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:9}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_jim_walk_back",
width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:6,bboxBottom:24,playbackspeed:10,TPEntryIndex:[140,326,139,141,327,142],sequence:{pName:"spr_jim_walk_back",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,
disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_dwi_walk_back",width:32,height:32,
transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[212,340,211,213,341,214],sequence:{pName:"spr_dwi_walk_back",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,
channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_jim_walk_side_rt",width:32,height:32,transparent:false,
smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[255,150,300,254,79,115],sequence:{pName:"spr_jim_walk_side_rt",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_jim_walk_front",width:32,height:32,transparent:false,smooth:false,
preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:7,bboxBottom:25,playbackspeed:10,TPEntryIndex:[145,330,144,146,331,143],sequence:{pName:"spr_jim_walk_front",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}
}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_interact",width:8,height:8,transparent:false,smooth:false,preload:false,bboxRight:7,
bboxBottom:7,playbackspeed:0,TPEntryIndex:[379,380,381,377,378],sequence:{pName:"spr_interact",playback:1,playbackSpeed:0,playbackSpeedType:0,length:5,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_c_walk_side_lt",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:8,bboxBottom:24,playbackspeed:10,TPEntryIndex:[312,238,321,311,93,203],sequence:{pName:"spr_player_c_walk_side_lt",
playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,
disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_cut",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:13,bboxRight:21,bboxTop:8,bboxBottom:20,playbackspeed:10,TPEntryIndex:[315],sequence:{pName:"spr_player_cut",playback:1,playbackSpeed:10,playbackSpeedType:0,
length:1,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_pam_walk_front_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:7,bboxBottom:25,playbackspeed:10,
TPEntryIndex:[192,190,191,194,193,189],sequence:{pName:"spr_pam_walk_front_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,
disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_c_walk_back_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:14,bboxRight:19,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[352,
364,351,353,365,354],sequence:{pName:"spr_player_c_walk_back_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,
channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_hud_gun",width:15,transparent:false,smooth:false,preload:false,bboxRight:14,bboxBottom:15,playbackspeed:30,TPEntryIndex:[55,59,60,54,53,56,57,58],sequence:{pName:"spr_hud_gun",playback:1,playbackSpeed:30,
playbackSpeedType:0,length:8,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}},{key:6,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:6}}},{key:7,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:7}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_hud_gun_toy",width:15,transparent:false,smooth:false,preload:false,bboxRight:14,bboxBottom:15,playbackspeed:30,TPEntryIndex:[61,64,
65,63,67,66,68,62],sequence:{pName:"spr_hud_gun_toy",playback:1,playbackSpeed:30,playbackSpeedType:0,length:8,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,
channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}},{key:6,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:6}}},{key:7,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:7}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_cutscene_stairs",width:128,height:256,transparent:false,
smooth:false,preload:false,yOrigin:256,bboxRight:127,bboxBottom:255,playbackspeed:30,TPEntryIndex:[3],sequence:{pName:"spr_cutscene_stairs",playback:1,playbackSpeed:30,playbackSpeedType:0,length:1,xorigin:0,yorigin:256,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}
},{pName:"spr_door_main",height:24,transparent:false,smooth:false,preload:false,bboxRight:15,bboxBottom:23,playbackspeed:30,TPEntryIndex:[50],sequence:{pName:"spr_door_main",playback:1,playbackSpeed:30,playbackSpeedType:0,length:1,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}
}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_c_front_arm",width:10,height:1,transparent:false,smooth:false,preload:false,bboxLeft:3,bboxRight:9,playbackspeed:10,TPEntryIndex:[405],sequence:{pName:"spr_player_c_front_arm",playback:1,playbackSpeed:10,playbackSpeedType:0,length:1,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_kev_cut",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:25,bboxTop:7,bboxBottom:25,playbackspeed:10,TPEntryIndex:[258,71,52,70,69,72],sequence:{pName:"spr_kev_cut",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",
builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,
channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_kev_walk_front_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:18,bboxTop:7,bboxBottom:25,playbackspeed:10,TPEntryIndex:[268,338,267,269,339,266],sequence:{pName:"spr_kev_walk_front_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,
traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_walk_side_lt_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:18,bboxTop:6,bboxBottom:26,playbackspeed:10,TPEntryIndex:[207,280,105,208,281,106],sequence:{pName:"spr_player_walk_side_lt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,
traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_mask",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:13,bboxRight:18,bboxTop:20,bboxBottom:26,playbackspeed:10,TPEntryIndex:[393],sequence:{pName:"spr_player_mask",playback:1,playbackSpeed:10,playbackSpeedType:0,length:1,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],
ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_dwi_walk_front",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:8,bboxBottom:25,playbackspeed:10,TPEntryIndex:[217,343,216,218,344,215],sequence:{pName:"spr_dwi_walk_front",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,
keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,
channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_end",width:128,height:128,transparent:false,smooth:false,preload:false,bboxRight:127,bboxBottom:127,playbackspeed:30,TPEntryIndex:[26,17,18,24,28,30,31,27,21,32,19,23,20,16,25,29,22],sequence:{pName:"spr_end",playback:1,playbackSpeed:30,playbackSpeedType:0,length:17,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",
pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,
disabled:false,channels:{0:{imageIndex:5}}},{key:6,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:6}}},{key:7,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:7}}},{key:8,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:8}}},{key:9,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:9}}},{key:10,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:10}}},{key:11,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:11}}},{key:12,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:12}}},{key:13,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:13}}},{key:14,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:14}}},{key:15,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:15}}},{key:16,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:16}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_jim_walk_back_g",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:13,bboxRight:19,bboxTop:6,bboxBottom:24,playbackspeed:10,TPEntryIndex:[245,328,244,246,329,247],sequence:{pName:"spr_jim_walk_back_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_dwi_walk_front_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,
yOrigin:16,bboxLeft:12,bboxRight:18,bboxTop:8,bboxBottom:25,playbackspeed:10,TPEntryIndex:[290,345,289,291,346,288],sequence:{pName:"spr_dwi_walk_front_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,
stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_door_fl2",height:8,transparent:false,smooth:false,preload:false,bboxRight:15,bboxBottom:7,playbackspeed:30,
TPEntryIndex:[243],sequence:{pName:"spr_door_fl2",playback:1,playbackSpeed:30,playbackSpeedType:0,length:1,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_pam_walk_front",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:7,bboxBottom:25,playbackspeed:10,TPEntryIndex:[186,184,185,188,187,183],sequence:{pName:"spr_pam_walk_front",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"bg_default",width:128,height:128,transparent:false,smooth:false,preload:false,bboxRight:127,
bboxBottom:127,playbackspeed:30,TPEntryIndex:[4],sequence:{pName:"bg_default",playback:1,playbackSpeed:30,playbackSpeedType:0,length:1,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_dwi_walk_side_lt",width:32,height:32,transparent:false,
smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:8,bboxBottom:24,playbackspeed:10,TPEntryIndex:[293,219,316,292,90,136],sequence:{pName:"spr_dwi_walk_side_lt",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_walk_front",width:32,height:32,transparent:false,smooth:false,
preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:6,bboxBottom:27,playbackspeed:10,TPEntryIndex:[102,276,101,103,277,100],sequence:{pName:"spr_player_walk_front",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}
}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_c_walk_back",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[231,349,230,232,350,233],sequence:{pName:"spr_player_c_walk_back",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_dwi_walk_side_rt_g",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:8,bboxBottom:24,playbackspeed:10,TPEntryIndex:[297,223,320,296,92,138],sequence:{pName:"spr_dwi_walk_side_rt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_kev_walk_back_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,
yOrigin:16,bboxLeft:13,bboxRight:19,bboxTop:6,bboxBottom:24,playbackspeed:10,TPEntryIndex:[261,262,260,263,336,264],sequence:{pName:"spr_kev_walk_back_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,
stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_painting",width:14,height:14,transparent:false,smooth:false,preload:false,bboxRight:13,bboxBottom:13,
playbackspeed:30,TPEntryIndex:[76],sequence:{pName:"spr_painting",playback:1,playbackSpeed:30,playbackSpeedType:0,length:1,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_pam_walk_side_rt_g",width:32,height:32,transparent:false,
smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[202,113,229,201,86,122],sequence:{pName:"spr_pam_walk_side_rt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_collider_2",width:8,height:8,transparent:false,smooth:false,
preload:false,bboxRight:7,bboxBottom:7,playbackspeed:0,TPEntryIndex:[371,370],sequence:{pName:"spr_collider_2",playback:1,playbackSpeed:0,playbackSpeedType:0,length:2,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}
}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_collider",width:8,height:8,transparent:false,smooth:false,preload:false,bboxRight:7,bboxBottom:7,playbackspeed:0,TPEntryIndex:[374,375,376,372,373],sequence:{pName:"spr_collider",playback:1,playbackSpeed:0,playbackSpeedType:0,length:5,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,
stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_walk_side_rt_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,
yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:6,bboxBottom:26,playbackspeed:10,TPEntryIndex:[283,108,210,282,75,89],sequence:{pName:"spr_player_walk_side_rt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,
stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_jim_walk_side_rt_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,
yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[257,151,301,256,80,116],sequence:{pName:"spr_jim_walk_side_rt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,
stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_bathtub",width:32,transparent:false,smooth:false,preload:false,bboxRight:31,bboxBottom:15,playbackspeed:30,
TPEntryIndex:[49],sequence:{pName:"spr_bathtub",playback:1,playbackSpeed:30,playbackSpeedType:0,length:1,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_kev_walk_side_lt_g",width:32,height:32,transparent:false,smooth:false,
preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:18,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[271,163,304,270,164,303],sequence:{pName:"spr_kev_walk_side_lt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}
}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_kev_walk_side_lt",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[162,160,302,161,81,117],sequence:{pName:"spr_kev_walk_side_lt",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_walk_front_g",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:18,bboxTop:6,bboxBottom:27,playbackspeed:10,TPEntryIndex:[129,278,128,130,279,127],sequence:{pName:"spr_player_walk_front_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{
key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_kev_walk_back",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:6,bboxBottom:24,playbackspeed:10,TPEntryIndex:[153,259,152,154,335,155],sequence:{pName:"spr_kev_walk_back",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_c_walk_side_rt",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:8,bboxBottom:24,playbackspeed:10,TPEntryIndex:[314,241,324,313,94,204],sequence:{pName:"spr_player_c_walk_side_rt",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},
{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_pam_walk_back_g",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:6,bboxBottom:24,playbackspeed:10,TPEntryIndex:[178,179,177,180,182,181],sequence:{pName:"spr_pam_walk_back_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_c_walk_side_lt_g",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:18,bboxTop:8,bboxBottom:24,playbackspeed:10,TPEntryIndex:[358,239,323,357,240,322],sequence:{pName:"spr_player_c_walk_side_lt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}
}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_walk_side_rt",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:6,bboxBottom:26,playbackspeed:10,TPEntryIndex:[134,107,209,133,74,88],sequence:{pName:"spr_player_walk_side_rt",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_walk_side_lt",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:6,bboxBottom:26,playbackspeed:10,TPEntryIndex:[132,104,206,131,73,87],sequence:{pName:"spr_player_walk_side_lt",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_kev_walk_side_rt",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,
yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[167,165,305,166,82,118],sequence:{pName:"spr_kev_walk_side_rt",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,
stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_transfer",width:8,height:8,transparent:false,smooth:false,preload:false,xOrigin:4,bboxRight:7,
bboxBottom:7,playbackspeed:0,TPEntryIndex:[384,385,386,382,383],sequence:{pName:"spr_transfer",playback:1,playbackSpeed:0,playbackSpeedType:0,length:5,xorigin:4,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_pam_walk_side_rt",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[200,112,228,199,85,121],sequence:{pName:"spr_pam_walk_side_rt",
playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,
disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_table",height:12,transparent:false,smooth:false,preload:false,bboxRight:15,bboxBottom:11,playbackspeed:30,TPEntryIndex:[77],sequence:{pName:"spr_table",playback:1,playbackSpeed:30,playbackSpeedType:0,length:1,xorigin:0,yorigin:0,volume:1,keyframeStore:[],
tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_dwi_walk_back_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:13,bboxRight:19,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[285,342,284,286,363,287],sequence:{pName:"spr_dwi_walk_back_g",
playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,
disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_c_walk_front_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:18,bboxTop:8,bboxBottom:25,playbackspeed:10,TPEntryIndex:[309,366,308,310,367,307],sequence:{pName:"spr_player_c_walk_front_g",
playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,
disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_kev_walk_side_rt_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[170,168,306,169,83,119],sequence:{pName:"spr_kev_walk_side_rt_g",playback:1,
playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,
channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_c_walk_side_rt_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:8,bboxBottom:24,playbackspeed:10,TPEntryIndex:[360,242,325,359,95,205],sequence:{pName:"spr_player_c_walk_side_rt_g",playback:1,
playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,
channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_kev_walk_front",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:7,bboxBottom:25,playbackspeed:10,TPEntryIndex:[158,265,157,159,337,156],sequence:{pName:"spr_kev_walk_front",playback:1,playbackSpeed:10,
playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_walk_back",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:5,bboxBottom:26,playbackspeed:10,TPEntryIndex:[97,272,96,98,273,99],sequence:{pName:"spr_player_walk_back",playback:1,playbackSpeed:10,playbackSpeedType:0,
length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}
}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_c_walk_front",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:8,bboxBottom:25,playbackspeed:10,TPEntryIndex:[236,355,235,237,356,234],sequence:{pName:"spr_player_c_walk_front",playback:1,playbackSpeed:10,playbackSpeedType:0,
length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}
}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_pam_walk_side_lt",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[196,109,225,195,84,120],sequence:{pName:"spr_pam_walk_side_lt",playback:1,playbackSpeed:10,playbackSpeedType:0,
length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}
}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_dwi_walk_side_lt_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:18,bboxTop:8,bboxBottom:24,playbackspeed:10,TPEntryIndex:[348,220,318,347,221,317],sequence:{pName:"spr_dwi_walk_side_lt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,
length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}
}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_crossair",width:9,height:9,bboxMode:2,transparent:false,smooth:false,preload:false,xOrigin:5,yOrigin:5,bboxLeft:3,bboxRight:5,bboxTop:3,bboxBottom:5,playbackspeed:0,TPEntryIndex:[403,387,399,368],sequence:{pName:"spr_crossair",playback:1,playbackSpeed:0,playbackSpeedType:0,length:4,xorigin:5,yorigin:5,
volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}}]}],sequenceEvents:[],momentsKeystore:[]}
},{pName:"spr_player_front_arm",width:12,height:1,transparent:false,smooth:false,preload:false,bboxLeft:3,bboxRight:11,playbackspeed:10,TPEntryIndex:[404],sequence:{pName:"spr_player_front_arm",playback:1,playbackSpeed:10,playbackSpeedType:0,length:1,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_hud",height:34,transparent:false,smooth:false,preload:false,xOrigin:8,yOrigin:34,bboxRight:15,bboxBottom:33,playbackspeed:30,TPEntryIndex:[51,48],sequence:{pName:"spr_hud",playback:1,playbackSpeed:30,playbackSpeedType:0,length:2,xorigin:8,yorigin:34,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{
key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}}]}],sequenceEvents:[],momentsKeystore:[]},nineslice:{nLeft:1,nTop:1,nRight:1,nBottom:1,nEnabled:true,nTilemode:[0,0,0,0,0]}},{pName:"spr_cutscene",width:128,height:128,transparent:false,smooth:false,preload:false,bboxRight:127,bboxBottom:127,playbackspeed:30,TPEntryIndex:[12,10,13,9,11,15,7,14,8],sequence:{pName:"spr_cutscene",playback:1,playbackSpeed:30,
playbackSpeedType:0,length:9,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}},{key:6,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:6}}},{key:7,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:7}}},{key:8,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:8}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_pam_walk_back",width:32,height:32,transparent:false,smooth:false,
preload:false,xOrigin:16,yOrigin:16,bboxLeft:12,bboxRight:19,bboxTop:6,bboxBottom:24,playbackspeed:10,TPEntryIndex:[172,173,171,174,176,175],sequence:{pName:"spr_pam_walk_back",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}
}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_dwi_walk_side_rt",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:8,bboxBottom:24,playbackspeed:10,TPEntryIndex:[295,222,319,294,91,137],sequence:{pName:"spr_dwi_walk_side_rt",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_pam_walk_side_lt_g",width:32,height:32,transparent:false,smooth:false,preload:false,
xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:19,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[198,110,227,197,111,226],sequence:{pName:"spr_pam_walk_side_lt_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,
length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_menu",width:128,height:128,transparent:false,smooth:false,preload:false,bboxRight:127,
bboxBottom:127,playbackspeed:30,TPEntryIndex:[34,33],sequence:{pName:"spr_menu",playback:1,playbackSpeed:30,playbackSpeedType:0,length:2,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}}]}],sequenceEvents:[],
momentsKeystore:[]}},{pName:"spr_chair",width:8,height:18,transparent:false,smooth:false,preload:false,bboxRight:7,bboxBottom:17,playbackspeed:30,TPEntryIndex:[135],sequence:{pName:"spr_chair",playback:1,playbackSpeed:30,playbackSpeedType:0,length:1,xorigin:0,yorigin:0,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_player_walk_back_g",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:13,bboxRight:19,bboxTop:5,bboxBottom:26,playbackspeed:10,TPEntryIndex:[124,274,123,125,275,126],sequence:{pName:"spr_player_walk_back_g",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,
traits:0,creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{
0:{imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_jim_walk_side_lt",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:16,bboxLeft:11,bboxRight:20,bboxTop:7,bboxBottom:24,playbackspeed:10,TPEntryIndex:[253,147,298,252,78,114],sequence:{pName:"spr_jim_walk_side_lt",playback:1,playbackSpeed:10,playbackSpeedType:0,length:6,xorigin:16,yorigin:16,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,
creationTrack:0,tags:[],ownedResourceModels:[],tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}},{key:1,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:1}}},{key:2,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:2}}},{key:3,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:3}}},{key:4,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:4}}},{key:5,length:1,stretch:false,disabled:false,channels:{0:{
imageIndex:5}}}]}],sequenceEvents:[],momentsKeystore:[]}},{pName:"spr_enemy_mask",width:32,height:32,transparent:false,smooth:false,preload:false,xOrigin:16,yOrigin:24,bboxLeft:13,bboxRight:18,bboxTop:20,bboxBottom:26,playbackspeed:10,TPEntryIndex:[392],sequence:{pName:"spr_enemy_mask",playback:1,playbackSpeed:10,playbackSpeedType:0,length:1,xorigin:16,yorigin:24,volume:1,keyframeStore:[],tracks:[{modelName:"GMSpriteFramesTrack",pName:"frames",builtinName:0,traits:0,creationTrack:0,tags:[],ownedResourceModels:[],
tracks:[],keyframeStore:[{key:0,length:1,stretch:false,disabled:false,channels:{0:{imageIndex:0}}}]}],sequenceEvents:[],momentsKeystore:[]}}],EmbeddedEntries:{"fallbacktexture":0,"pt_shape_circle":39,"pt_shape_cloud":46,"pt_shape_disk":40,"pt_shape_explosion":35,"pt_shape_flare":36,"pt_shape_line":47,"pt_shape_pixel":406,"pt_shape_ring":41,"pt_shape_smoke":37,"pt_shape_snow":43,"pt_shape_spark":38,"pt_shape_sphere":44,"pt_shape_square":42,"pt_shape_star":45,"FONT_builtin":2},Backgrounds:[{pName:"tl_default",
transparent:false,smooth:false,preload:false,tilewidth:8,tileheight:8,tilehsep:2,tilevsep:2,tilecolumns:16,frames:1,tilecount:256,spriteindex:-1,framelength:66666,framedata:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,
109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,
234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,],TPEntryIndex:1}],Paths:[{pName:"pth_child1_tub",kind:1,closed:false,precision:4,points:[{x:672,y:672,speed:100},{x:680,y:664,speed:100},{x:688,y:656,speed:100},{x:704,y:656,speed:100},{x:704,y:680,speed:100}]},{pName:"pth_child1_swing",kind:1,closed:true,precision:4,points:[{x:680,y:696,speed:100},{x:716,y:676,speed:100},{x:748,y:712,speed:100},{x:708,y:748,speed:100},{x:676,y:728,speed:100}]}],Shaders:[{name:"__yy_sdf_shader",
Vertex:"#define LOWPREC lowp\n#define	MATRIX_VIEW 					0\n#define	MATRIX_PROJECTION 				1\n#define	MATRIX_WORLD 					2\n#define	MATRIX_WORLD_VIEW 				3\n#define	MATRIX_WORLD_VIEW_PROJECTION 	4\n#define	MATRICES_MAX					5\n\nuniform mat4 gm_Matrices[MATRICES_MAX]; \n\nuniform bool gm_LightingEnabled;\nuniform bool gm_VS_FogEnabled;\nuniform float gm_FogStart;\nuniform float gm_RcpFogRange;\n\n#define MAX_VS_LIGHTS	8\n#define MIRROR_WIN32_LIGHTING_EQUATION\n\n\n//#define	MAX_VS_LIGHTS					8\nuniform vec4   gm_AmbientColour;							// rgb=colour, a=1\nuniform vec4   gm_Lights_Direction[MAX_VS_LIGHTS];		// normalised direction\nuniform vec4   gm_Lights_PosRange[MAX_VS_LIGHTS];			// X,Y,Z position,  W range\nuniform vec4   gm_Lights_Colour[MAX_VS_LIGHTS];			// rgb=colour, a=1\n\nfloat CalcFogFactor(vec4 pos)\n{\n	if (gm_VS_FogEnabled)\n	{\n		vec4 viewpos = gm_Matrices[MATRIX_WORLD_VIEW] * pos;\n		float fogfactor = ((viewpos.z - gm_FogStart) * gm_RcpFogRange);\n		return fogfactor;\n	}\n	else\n	{\n		return 0.0;\n	}\n}\n\nvec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n{\n	float dotresult = dot(ws_normal, dir.xyz);\n	dotresult = min(dotresult, dir.w);			// the w component is 1 if the directional light is active, or 0 if it isn't\n	dotresult = max(0.0, dotresult);\n\n	return dotresult * diffusecol;\n}\n\nvec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n{\n	vec3 diffvec = ws_pos - posrange.xyz;\n	float veclen = length(diffvec);\n	diffvec /= veclen;	// normalise\n	float atten;\n	if (posrange.w == 0.0)		// the w component of posrange is 0 if the point light is disabled - if we don't catch it here we might end up generating INFs or NaNs\n	{\n		atten = 0.0;\n	}\n	else\n	{\n#ifdef MIRROR_WIN32_LIGHTING_EQUATION\n	// This is based on the Win32 D3D and OpenGL falloff model, where:\n	// Attenuation = 1.0f / (factor0 + (d * factor1) + (d*d * factor2))\n	// For some reason, factor0 is set to 0.0f while factor1 is set to 1.0f/lightrange (on both D3D and OpenGL)\n	// This'll result in no visible falloff as 1.0f / (d / lightrange) will always be larger than 1.0f (if the vertex is within range)\n	\n		atten = 1.0 / (veclen / posrange.w);\n		if (veclen > posrange.w)\n		{\n			atten = 0.0;\n		}	\n#else\n		atten = clamp( (1.0 - (veclen / posrange.w)), 0.0, 1.0);		// storing 1.0f/range instead would save a rcp\n#endif\n	}\n	float dotresult = dot(ws_normal, diffvec);\n	dotresult = max(0.0, dotresult);\n\n	return dotresult * atten * diffusecol;\n}\n\nvec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n{\n	if (gm_LightingEnabled)\n	{\n		// Normally we'd have the light positions\\directions back-transformed from world to object space\n		// But to keep things simple for the moment we'll just transform the normal to world space\n		vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n		vec3 ws_normal;\n		ws_normal = (gm_Matrices[MATRIX_WORLD] * objectspacenormal4).xyz;\n		ws_normal = normalize(ws_normal);\n\n		vec3 ws_pos;\n		ws_pos = (gm_Matrices[MATRIX_WORLD] * objectspacepos).xyz;\n\n		// Accumulate lighting from different light types\n		vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0);		\n		for(int i = 0; i < MAX_VS_LIGHTS; i++)\n		{\n			accumcol += DoDirLight(ws_normal, gm_Lights_Direction[i], gm_Lights_Colour[i]);\n		}\n\n		for(int i = 0; i < MAX_VS_LIGHTS; i++)\n		{\n			accumcol += DoPointLight(ws_pos, ws_normal, gm_Lights_PosRange[i], gm_Lights_Colour[i]);\n		}\n\n		accumcol *= vertexcolour;\n		accumcol += gm_AmbientColour;\n		accumcol = min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n		accumcol.a = vertexcolour.a;\n		return accumcol;\n	}\n	else\n	{\n		return vertexcolour;\n	}\n}\n\n#define _YY_GLSLES_ 1\n//\n// SDF vertex shader\n//\nattribute vec3 in_Position;                  // (x,y,z)\n//attribute vec3 in_Normal;                  // (x,y,z)     unused in this shader.\nattribute vec4 in_Colour;                    // (r,g,b,a)\nattribute vec2 in_TextureCoord;              // (u,v)\n\nvarying vec2 v_vTexcoord;\nvarying vec4 v_vColour;\n\nvoid main()\n{\n    vec4 object_space_pos = vec4( in_Position.x, in_Position.y, in_Position.z, 1.0);\n    gl_Position = gm_Matrices[MATRIX_WORLD_VIEW_PROJECTION] * object_space_pos;\n    \n    v_vColour = in_Colour;\n    v_vTexcoord = in_TextureCoord;\n}\n",
Fragment:"precision mediump float;\n#define LOWPREC lowp\n// Uniforms look like they're shared between vertex and fragment shaders in GLSL, so we have to be careful to avoid name clashes\n\nuniform sampler2D gm_BaseTexture;\n\nuniform bool gm_PS_FogEnabled;\nuniform vec4 gm_FogColour;\nuniform bool gm_AlphaTestEnabled;\nuniform float gm_AlphaRefValue;\n\nvoid DoAlphaTest(vec4 SrcColour)\n{\n	if (gm_AlphaTestEnabled)\n	{\n		if (SrcColour.a <= gm_AlphaRefValue)\n		{\n			discard;\n		}\n	}\n}\n\nvoid DoFog(inout vec4 SrcColour, float fogval)\n{\n	if (gm_PS_FogEnabled)\n	{\n		SrcColour = mix(SrcColour, gm_FogColour, clamp(fogval, 0.0, 1.0)); \n	}\n}\n\n#define _YY_GLSLES_ 1\n//\n// SDF fragment shader\n//\nvarying vec2 v_vTexcoord;\nvarying vec4 v_vColour;\n\nvoid main()\n{\n	vec4 texcol = texture2D( gm_BaseTexture, v_vTexcoord );\n	\n	float spread = fwidth(texcol.a);	\n	spread = max(spread * 0.75, 0.001);	\n	texcol.a = smoothstep(0.5 - spread, 0.5 + spread, texcol.a);			\n	\n	vec4 combinedcol = v_vColour * texcol;\n	DoAlphaTest(combinedcol);	\n			\n    gl_FragColor = combinedcol;\n}\n",
Attributes:["in_Position","in_Colour","in_TextureCoord"]},{name:"__yy_sdf_effect_shader",Vertex:"#define LOWPREC lowp\n#define	MATRIX_VIEW 					0\n#define	MATRIX_PROJECTION 				1\n#define	MATRIX_WORLD 					2\n#define	MATRIX_WORLD_VIEW 				3\n#define	MATRIX_WORLD_VIEW_PROJECTION 	4\n#define	MATRICES_MAX					5\n\nuniform mat4 gm_Matrices[MATRICES_MAX]; \n\nuniform bool gm_LightingEnabled;\nuniform bool gm_VS_FogEnabled;\nuniform float gm_FogStart;\nuniform float gm_RcpFogRange;\n\n#define MAX_VS_LIGHTS	8\n#define MIRROR_WIN32_LIGHTING_EQUATION\n\n\n//#define	MAX_VS_LIGHTS					8\nuniform vec4   gm_AmbientColour;							// rgb=colour, a=1\nuniform vec4   gm_Lights_Direction[MAX_VS_LIGHTS];		// normalised direction\nuniform vec4   gm_Lights_PosRange[MAX_VS_LIGHTS];			// X,Y,Z position,  W range\nuniform vec4   gm_Lights_Colour[MAX_VS_LIGHTS];			// rgb=colour, a=1\n\nfloat CalcFogFactor(vec4 pos)\n{\n	if (gm_VS_FogEnabled)\n	{\n		vec4 viewpos = gm_Matrices[MATRIX_WORLD_VIEW] * pos;\n		float fogfactor = ((viewpos.z - gm_FogStart) * gm_RcpFogRange);\n		return fogfactor;\n	}\n	else\n	{\n		return 0.0;\n	}\n}\n\nvec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n{\n	float dotresult = dot(ws_normal, dir.xyz);\n	dotresult = min(dotresult, dir.w);			// the w component is 1 if the directional light is active, or 0 if it isn't\n	dotresult = max(0.0, dotresult);\n\n	return dotresult * diffusecol;\n}\n\nvec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n{\n	vec3 diffvec = ws_pos - posrange.xyz;\n	float veclen = length(diffvec);\n	diffvec /= veclen;	// normalise\n	float atten;\n	if (posrange.w == 0.0)		// the w component of posrange is 0 if the point light is disabled - if we don't catch it here we might end up generating INFs or NaNs\n	{\n		atten = 0.0;\n	}\n	else\n	{\n#ifdef MIRROR_WIN32_LIGHTING_EQUATION\n	// This is based on the Win32 D3D and OpenGL falloff model, where:\n	// Attenuation = 1.0f / (factor0 + (d * factor1) + (d*d * factor2))\n	// For some reason, factor0 is set to 0.0f while factor1 is set to 1.0f/lightrange (on both D3D and OpenGL)\n	// This'll result in no visible falloff as 1.0f / (d / lightrange) will always be larger than 1.0f (if the vertex is within range)\n	\n		atten = 1.0 / (veclen / posrange.w);\n		if (veclen > posrange.w)\n		{\n			atten = 0.0;\n		}	\n#else\n		atten = clamp( (1.0 - (veclen / posrange.w)), 0.0, 1.0);		// storing 1.0f/range instead would save a rcp\n#endif\n	}\n	float dotresult = dot(ws_normal, diffvec);\n	dotresult = max(0.0, dotresult);\n\n	return dotresult * atten * diffusecol;\n}\n\nvec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n{\n	if (gm_LightingEnabled)\n	{\n		// Normally we'd have the light positions\\directions back-transformed from world to object space\n		// But to keep things simple for the moment we'll just transform the normal to world space\n		vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n		vec3 ws_normal;\n		ws_normal = (gm_Matrices[MATRIX_WORLD] * objectspacenormal4).xyz;\n		ws_normal = normalize(ws_normal);\n\n		vec3 ws_pos;\n		ws_pos = (gm_Matrices[MATRIX_WORLD] * objectspacepos).xyz;\n\n		// Accumulate lighting from different light types\n		vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0);		\n		for(int i = 0; i < MAX_VS_LIGHTS; i++)\n		{\n			accumcol += DoDirLight(ws_normal, gm_Lights_Direction[i], gm_Lights_Colour[i]);\n		}\n\n		for(int i = 0; i < MAX_VS_LIGHTS; i++)\n		{\n			accumcol += DoPointLight(ws_pos, ws_normal, gm_Lights_PosRange[i], gm_Lights_Colour[i]);\n		}\n\n		accumcol *= vertexcolour;\n		accumcol += gm_AmbientColour;\n		accumcol = min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n		accumcol.a = vertexcolour.a;\n		return accumcol;\n	}\n	else\n	{\n		return vertexcolour;\n	}\n}\n\n#define _YY_GLSLES_ 1\n//\n// Simple passthrough vertex shader\n//\nattribute vec3 in_Position;                  // (x,y,z)\n//attribute vec3 in_Normal;                  // (x,y,z)     unused in this shader.\nattribute vec4 in_Colour;                    // (r,g,b,a)\nattribute vec2 in_TextureCoord;              // (u,v)\n\nvarying vec2 v_vTexcoord;\nvarying vec4 v_vColour;\n\nvoid main()\n{\n    vec4 object_space_pos = vec4( in_Position.x, in_Position.y, in_Position.z, 1.0);\n    gl_Position = gm_Matrices[MATRIX_WORLD_VIEW_PROJECTION] * object_space_pos;\n    \n    v_vColour = in_Colour;\n    v_vTexcoord = in_TextureCoord;\n}\n",
Fragment:"precision mediump float;\n#define LOWPREC lowp\n// Uniforms look like they're shared between vertex and fragment shaders in GLSL, so we have to be careful to avoid name clashes\n\nuniform sampler2D gm_BaseTexture;\n\nuniform bool gm_PS_FogEnabled;\nuniform vec4 gm_FogColour;\nuniform bool gm_AlphaTestEnabled;\nuniform float gm_AlphaRefValue;\n\nvoid DoAlphaTest(vec4 SrcColour)\n{\n	if (gm_AlphaTestEnabled)\n	{\n		if (SrcColour.a <= gm_AlphaRefValue)\n		{\n			discard;\n		}\n	}\n}\n\nvoid DoFog(inout vec4 SrcColour, float fogval)\n{\n	if (gm_PS_FogEnabled)\n	{\n		SrcColour = mix(SrcColour, gm_FogColour, clamp(fogval, 0.0, 1.0)); \n	}\n}\n\n#define _YY_GLSLES_ 1\n//\n// SDF (with effects) fragment shader\n//\nvarying vec2 v_vTexcoord;\nvarying vec4 v_vColour;\n\n// SDF values are measured from 0 (at the outer edge) to 1 which is the innermost point that can be represented\nuniform bool gm_SDF_DrawGlow;				// whether the glow effect is enabled\nuniform vec2 gm_SDF_Glow_MinMax;			// the SDF range across which the glow fades\nuniform vec4 gm_SDF_Glow_Col;				// the colour of the glow\n\nuniform bool gm_SDF_DrawOutline;			// whether the outline effect is enabled\nuniform float gm_SDF_Outline_Thresh;		// the SDF distance which represents the outer edge of the outline\nuniform vec4 gm_SDF_Outline_Col;			// the colour of the outline\n\nuniform float gm_SDF_Core_Thresh;			// the SDF distance which represents the outer edge the shape\nuniform vec4 gm_SDF_Core_Col;				// the colour of the core part of the shape\n\nvoid main()\n{\n	vec4 texcol = texture2D( gm_BaseTexture, v_vTexcoord );\n		\n	float pixelspread = fwidth(texcol.a);	\n	pixelspread = max(pixelspread * 0.75, 0.001);	\n	\n	float blendfactor;\n	vec4 currcol = vec4(0.0, 0.0, 0.0, -1.0);\n	\n	// Handle glow effect\n	if (gm_SDF_DrawGlow)\n	{		\n		if (texcol.a > gm_SDF_Glow_MinMax.x)\n		{\n			currcol = gm_SDF_Glow_Col;\n			currcol.a *= smoothstep(gm_SDF_Glow_MinMax.x, gm_SDF_Glow_MinMax.y, texcol.a);\n		}\n	}	\n	\n	// Handle outline effect\n	if (gm_SDF_DrawOutline)\n	{\n		if (texcol.a > (gm_SDF_Outline_Thresh - pixelspread))\n		{			\n			blendfactor = smoothstep(gm_SDF_Outline_Thresh - pixelspread, gm_SDF_Outline_Thresh + pixelspread, texcol.a);\n			if (currcol.a < 0.0)\n			{\n				currcol = vec4(gm_SDF_Outline_Col.r,gm_SDF_Outline_Col.g,gm_SDF_Outline_Col.b, 0.0);\n			}\n			currcol = mix(currcol, gm_SDF_Outline_Col, blendfactor);\n		}\n	}\n	\n	// Handle inner core\n	blendfactor = smoothstep(gm_SDF_Core_Thresh - pixelspread, gm_SDF_Core_Thresh + pixelspread, texcol.a);\n	\n	if (currcol.a < 0.0)\n	{\n		currcol = vec4(gm_SDF_Core_Col.r,gm_SDF_Core_Col.g,gm_SDF_Core_Col.b, 0.0);\n	}\n	texcol = mix(currcol, gm_SDF_Core_Col, blendfactor);	\n	\n	vec4 combinedcol = v_vColour * texcol;\n	DoAlphaTest(combinedcol);	\n			\n    gl_FragColor = combinedcol;\n}\n",
Attributes:["in_Position","in_Colour","in_TextureCoord"]},{name:"__yy_sdf_blur_shader",Vertex:"#define LOWPREC lowp\n#define	MATRIX_VIEW 					0\n#define	MATRIX_PROJECTION 				1\n#define	MATRIX_WORLD 					2\n#define	MATRIX_WORLD_VIEW 				3\n#define	MATRIX_WORLD_VIEW_PROJECTION 	4\n#define	MATRICES_MAX					5\n\nuniform mat4 gm_Matrices[MATRICES_MAX]; \n\nuniform bool gm_LightingEnabled;\nuniform bool gm_VS_FogEnabled;\nuniform float gm_FogStart;\nuniform float gm_RcpFogRange;\n\n#define MAX_VS_LIGHTS	8\n#define MIRROR_WIN32_LIGHTING_EQUATION\n\n\n//#define	MAX_VS_LIGHTS					8\nuniform vec4   gm_AmbientColour;							// rgb=colour, a=1\nuniform vec4   gm_Lights_Direction[MAX_VS_LIGHTS];		// normalised direction\nuniform vec4   gm_Lights_PosRange[MAX_VS_LIGHTS];			// X,Y,Z position,  W range\nuniform vec4   gm_Lights_Colour[MAX_VS_LIGHTS];			// rgb=colour, a=1\n\nfloat CalcFogFactor(vec4 pos)\n{\n	if (gm_VS_FogEnabled)\n	{\n		vec4 viewpos = gm_Matrices[MATRIX_WORLD_VIEW] * pos;\n		float fogfactor = ((viewpos.z - gm_FogStart) * gm_RcpFogRange);\n		return fogfactor;\n	}\n	else\n	{\n		return 0.0;\n	}\n}\n\nvec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n{\n	float dotresult = dot(ws_normal, dir.xyz);\n	dotresult = min(dotresult, dir.w);			// the w component is 1 if the directional light is active, or 0 if it isn't\n	dotresult = max(0.0, dotresult);\n\n	return dotresult * diffusecol;\n}\n\nvec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n{\n	vec3 diffvec = ws_pos - posrange.xyz;\n	float veclen = length(diffvec);\n	diffvec /= veclen;	// normalise\n	float atten;\n	if (posrange.w == 0.0)		// the w component of posrange is 0 if the point light is disabled - if we don't catch it here we might end up generating INFs or NaNs\n	{\n		atten = 0.0;\n	}\n	else\n	{\n#ifdef MIRROR_WIN32_LIGHTING_EQUATION\n	// This is based on the Win32 D3D and OpenGL falloff model, where:\n	// Attenuation = 1.0f / (factor0 + (d * factor1) + (d*d * factor2))\n	// For some reason, factor0 is set to 0.0f while factor1 is set to 1.0f/lightrange (on both D3D and OpenGL)\n	// This'll result in no visible falloff as 1.0f / (d / lightrange) will always be larger than 1.0f (if the vertex is within range)\n	\n		atten = 1.0 / (veclen / posrange.w);\n		if (veclen > posrange.w)\n		{\n			atten = 0.0;\n		}	\n#else\n		atten = clamp( (1.0 - (veclen / posrange.w)), 0.0, 1.0);		// storing 1.0f/range instead would save a rcp\n#endif\n	}\n	float dotresult = dot(ws_normal, diffvec);\n	dotresult = max(0.0, dotresult);\n\n	return dotresult * atten * diffusecol;\n}\n\nvec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n{\n	if (gm_LightingEnabled)\n	{\n		// Normally we'd have the light positions\\directions back-transformed from world to object space\n		// But to keep things simple for the moment we'll just transform the normal to world space\n		vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n		vec3 ws_normal;\n		ws_normal = (gm_Matrices[MATRIX_WORLD] * objectspacenormal4).xyz;\n		ws_normal = normalize(ws_normal);\n\n		vec3 ws_pos;\n		ws_pos = (gm_Matrices[MATRIX_WORLD] * objectspacepos).xyz;\n\n		// Accumulate lighting from different light types\n		vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0);		\n		for(int i = 0; i < MAX_VS_LIGHTS; i++)\n		{\n			accumcol += DoDirLight(ws_normal, gm_Lights_Direction[i], gm_Lights_Colour[i]);\n		}\n\n		for(int i = 0; i < MAX_VS_LIGHTS; i++)\n		{\n			accumcol += DoPointLight(ws_pos, ws_normal, gm_Lights_PosRange[i], gm_Lights_Colour[i]);\n		}\n\n		accumcol *= vertexcolour;\n		accumcol += gm_AmbientColour;\n		accumcol = min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n		accumcol.a = vertexcolour.a;\n		return accumcol;\n	}\n	else\n	{\n		return vertexcolour;\n	}\n}\n\n#define _YY_GLSLES_ 1\n//\n// Simple passthrough vertex shader\n//\nattribute vec3 in_Position;                  // (x,y,z)\n//attribute vec3 in_Normal;                  // (x,y,z)     unused in this shader.\nattribute vec4 in_Colour;                    // (r,g,b,a)\nattribute vec2 in_TextureCoord;              // (u,v)\n\nvarying vec2 v_vTexcoord;\nvarying vec4 v_vColour;\n\nvoid main()\n{\n    vec4 object_space_pos = vec4( in_Position.x, in_Position.y, in_Position.z, 1.0);\n    gl_Position = gm_Matrices[MATRIX_WORLD_VIEW_PROJECTION] * object_space_pos;\n    \n    v_vColour = in_Colour;\n    v_vTexcoord = in_TextureCoord;\n}\n",
Fragment:"precision mediump float;\n#define LOWPREC lowp\n// Uniforms look like they're shared between vertex and fragment shaders in GLSL, so we have to be careful to avoid name clashes\n\nuniform sampler2D gm_BaseTexture;\n\nuniform bool gm_PS_FogEnabled;\nuniform vec4 gm_FogColour;\nuniform bool gm_AlphaTestEnabled;\nuniform float gm_AlphaRefValue;\n\nvoid DoAlphaTest(vec4 SrcColour)\n{\n	if (gm_AlphaTestEnabled)\n	{\n		if (SrcColour.a <= gm_AlphaRefValue)\n		{\n			discard;\n		}\n	}\n}\n\nvoid DoFog(inout vec4 SrcColour, float fogval)\n{\n	if (gm_PS_FogEnabled)\n	{\n		SrcColour = mix(SrcColour, gm_FogColour, clamp(fogval, 0.0, 1.0)); \n	}\n}\n\n#define _YY_GLSLES_ 1\n//\n// SDF (with blur) fragment shader\n//\nvarying vec2 v_vTexcoord;\nvarying vec4 v_vColour;\n\n// SDF values are measured from 0 (at the outer edge) to 1 which is the innermost point that can be represented\nuniform vec2 gm_SDF_Blur_MinMax;			// the range across which to filter the SDF\nuniform vec4 gm_SDF_Blur_Col;				// the colour tint of the blurred text\n\nvoid main()\n{\n	vec4 texcol = texture2D( gm_BaseTexture, v_vTexcoord );	\n	vec4 currcol = gm_SDF_Blur_Col;\n		\n	currcol.a *= smoothstep(gm_SDF_Blur_MinMax.x, gm_SDF_Blur_MinMax.y, texcol.a);		\n	\n	vec4 combinedcol = v_vColour * currcol;\n	DoAlphaTest(combinedcol);	\n\n    gl_FragColor = combinedcol;\n}\n",
Attributes:["in_Position","in_Colour","in_TextureCoord"]}],Fonts:[{pName:"f_hud",size:9,bold:false,italic:false,first:32,last:9647,charset:0,antialias:0,fontname:"Fami Sans Condensed",ascenderOffset:0,ascender:11,sdfSpread:0,lineHeight:13,TPageEntry:5,scaleX:1,scaleY:1,glyphs:[{i:32,c:" ",x:2,y:2,w:6,h:13,shift:6,offset:0},{i:33,c:"!",x:25,y:47,w:1,h:13,shift:6,offset:2},{i:34,c:"\"",x:20,y:47,w:3,h:13,shift:6,offset:1},{i:35,c:"#",x:14,y:47,w:4,h:13,shift:6,offset:1},{i:36,c:"$",x:8,y:47,w:4,h:13,
shift:6,offset:1},{i:37,c:"%",x:2,y:47,w:4,h:13,shift:6,offset:1},{i:38,c:"&",x:121,y:32,w:4,h:13,shift:6,offset:1},{i:39,c:"'",x:118,y:32,w:1,h:13,shift:6,offset:1},{i:40,c:"(",x:114,y:32,w:2,h:13,shift:6,offset:3},{i:41,c:")",x:110,y:32,w:2,h:13,shift:6,offset:1},{i:42,c:"*",x:28,y:47,w:4,h:13,shift:6,offset:1},{i:43,c:"+",x:104,y:32,w:4,h:13,shift:6,offset:1},{i:44,c:",",x:95,y:32,w:1,h:13,shift:6,offset:1},{i:45,c:"-",x:89,y:32,w:4,h:13,shift:6,offset:1},{i:46,c:".",x:86,y:32,w:1,h:13,shift:6,
offset:1},{i:47,c:"/",x:80,y:32,w:4,h:13,shift:6,offset:1},{i:48,c:"0",x:74,y:32,w:4,h:13,shift:6,offset:1},{i:49,c:"1",x:68,y:32,w:4,h:13,shift:6,offset:1},{i:50,c:"2",x:62,y:32,w:4,h:13,shift:6,offset:1},{i:51,c:"3",x:56,y:32,w:4,h:13,shift:6,offset:1},{i:52,c:"4",x:50,y:32,w:4,h:13,shift:6,offset:1},{i:53,c:"5",x:98,y:32,w:4,h:13,shift:6,offset:1},{i:54,c:"6",x:34,y:47,w:4,h:13,shift:6,offset:1},{i:55,c:"7",x:40,y:47,w:4,h:13,shift:6,offset:1},{i:56,c:"8",x:46,y:47,w:4,h:13,shift:6,offset:1},
{i:57,c:"9",x:44,y:62,w:4,h:13,shift:6,offset:1},{i:58,c:":",x:41,y:62,w:1,h:13,shift:6,offset:2},{i:59,c:";",x:38,y:62,w:1,h:13,shift:6,offset:2},{i:60,c:"<",x:33,y:62,w:3,h:13,shift:6,offset:3},{i:61,c:"=",x:27,y:62,w:4,h:13,shift:6,offset:1},{i:62,c:">",x:22,y:62,w:3,h:13,shift:6,offset:0},{i:63,c:"?",x:16,y:62,w:4,h:13,shift:6,offset:1},{i:64,c:"@",x:8,y:62,w:6,h:13,shift:6,offset:0},{i:65,c:"A",x:2,y:62,w:4,h:13,shift:6,offset:1},{i:66,c:"B",x:116,y:47,w:4,h:13,shift:6,offset:1},{i:67,c:"C",
x:110,y:47,w:4,h:13,shift:6,offset:1},{i:68,c:"D",x:104,y:47,w:4,h:13,shift:6,offset:1},{i:69,c:"E",x:98,y:47,w:4,h:13,shift:6,offset:1},{i:70,c:"F",x:92,y:47,w:4,h:13,shift:6,offset:1},{i:71,c:"G",x:86,y:47,w:4,h:13,shift:6,offset:1},{i:72,c:"H",x:80,y:47,w:4,h:13,shift:6,offset:1},{i:73,c:"I",x:77,y:47,w:1,h:13,shift:6,offset:3},{i:74,c:"J",x:71,y:47,w:4,h:13,shift:6,offset:1},{i:75,c:"K",x:65,y:47,w:4,h:13,shift:6,offset:1},{i:76,c:"L",x:59,y:47,w:4,h:13,shift:6,offset:1},{i:77,c:"M",x:52,y:47,
w:5,h:13,shift:6,offset:0},{i:78,c:"N",x:44,y:32,w:4,h:13,shift:6,offset:1},{i:79,c:"O",x:38,y:32,w:4,h:13,shift:6,offset:1},{i:80,c:"P",x:32,y:32,w:4,h:13,shift:6,offset:1},{i:81,c:"Q",x:18,y:17,w:4,h:13,shift:6,offset:1},{i:82,c:"R",x:8,y:17,w:4,h:13,shift:6,offset:1},{i:83,c:"S",x:2,y:17,w:4,h:13,shift:6,offset:1},{i:84,c:"T",x:117,y:2,w:4,h:13,shift:6,offset:1},{i:85,c:"U",x:111,y:2,w:4,h:13,shift:6,offset:1},{i:86,c:"V",x:105,y:2,w:4,h:13,shift:6,offset:1},{i:87,c:"W",x:98,y:2,w:5,h:13,shift:6,
offset:0},{i:88,c:"X",x:92,y:2,w:4,h:13,shift:6,offset:1},{i:89,c:"Y",x:86,y:2,w:4,h:13,shift:6,offset:1},{i:90,c:"Z",x:80,y:2,w:4,h:13,shift:6,offset:1},{i:91,c:"[",x:14,y:17,w:2,h:13,shift:6,offset:3},{i:92,c:"\\",x:72,y:2,w:6,h:13,shift:6,offset:0},{i:93,c:"]",x:62,y:2,w:2,h:13,shift:6,offset:1},{i:94,c:"^",x:55,y:2,w:5,h:13,shift:6,offset:0},{i:95,c:"_",x:47,y:2,w:6,h:13,shift:6,offset:0},{i:96,c:"`",x:40,y:2,w:5,h:13,shift:6,offset:0},{i:97,c:"a",x:34,y:2,w:4,h:13,shift:6,offset:1},{i:98,c:"b",
x:28,y:2,w:4,h:13,shift:6,offset:1},{i:99,c:"c",x:22,y:2,w:4,h:13,shift:6,offset:1},{i:100,c:"d",x:16,y:2,w:4,h:13,shift:6,offset:1},{i:101,c:"e",x:10,y:2,w:4,h:13,shift:6,offset:1},{i:102,c:"f",x:66,y:2,w:4,h:13,shift:6,offset:1},{i:103,c:"g",x:24,y:17,w:4,h:13,shift:6,offset:1},{i:104,c:"h",x:83,y:17,w:4,h:13,shift:6,offset:1},{i:105,c:"i",x:30,y:17,w:1,h:13,shift:6,offset:2},{i:106,c:"j",x:20,y:32,w:4,h:13,shift:6,offset:1},{i:107,c:"k",x:14,y:32,w:4,h:13,shift:6,offset:1},{i:108,c:"l",x:9,y:32,
w:3,h:13,shift:6,offset:2},{i:109,c:"m",x:2,y:32,w:5,h:13,shift:6,offset:0},{i:110,c:"n",x:119,y:17,w:4,h:13,shift:6,offset:1},{i:111,c:"o",x:113,y:17,w:4,h:13,shift:6,offset:1},{i:112,c:"p",x:107,y:17,w:4,h:13,shift:6,offset:1},{i:113,c:"q",x:101,y:17,w:4,h:13,shift:6,offset:1},{i:114,c:"r",x:95,y:17,w:4,h:13,shift:6,offset:1},{i:115,c:"s",x:26,y:32,w:4,h:13,shift:6,offset:1},{i:116,c:"t",x:89,y:17,w:4,h:13,shift:6,offset:1},{i:117,c:"u",x:77,y:17,w:4,h:13,shift:6,offset:1},{i:118,c:"v",x:71,y:17,
w:4,h:13,shift:6,offset:1},{i:119,c:"w",x:64,y:17,w:5,h:13,shift:6,offset:0},{i:120,c:"x",x:58,y:17,w:4,h:13,shift:6,offset:1},{i:121,c:"y",x:52,y:17,w:4,h:13,shift:6,offset:1},{i:122,c:"z",x:46,y:17,w:4,h:13,shift:6,offset:1},{i:123,c:"{",x:41,y:17,w:3,h:13,shift:6,offset:2},{i:124,c:"|",x:38,y:17,w:1,h:13,shift:6,offset:2},{i:125,c:"}",x:33,y:17,w:3,h:13,shift:6,offset:1},{i:126,c:"~",x:50,y:62,w:5,h:13,shift:6,offset:0},{i:9647,c:"▯",x:57,y:62,w:7,h:13,shift:12,offset:2},],},{pName:"f_hud_name",
size:8,bold:false,italic:false,first:32,last:9647,charset:0,antialias:0,fontname:"Fami Sans Condensed",ascenderOffset:0,ascender:9,sdfSpread:0,lineHeight:11,TPageEntry:6,scaleX:1,scaleY:1,glyphs:[{i:32,c:" ",x:2,y:2,w:5,h:11,shift:5,offset:0},{i:33,c:"!",x:18,y:41,w:1,h:11,shift:5,offset:2},{i:34,c:"\"",x:14,y:41,w:2,h:11,shift:5,offset:1},{i:35,c:"#",x:8,y:41,w:4,h:11,shift:5,offset:1},{i:36,c:"$",x:2,y:41,w:4,h:11,shift:5,offset:1},{i:37,c:"%",x:118,y:28,w:4,h:11,shift:5,offset:1},{i:38,c:"&",
x:112,y:28,w:4,h:11,shift:5,offset:1},{i:39,c:"'",x:109,y:28,w:1,h:11,shift:5,offset:1},{i:40,c:"(",x:105,y:28,w:2,h:11,shift:5,offset:3},{i:41,c:")",x:101,y:28,w:2,h:11,shift:5,offset:1},{i:42,c:"*",x:21,y:41,w:3,h:11,shift:5,offset:1},{i:43,c:"+",x:95,y:28,w:4,h:11,shift:5,offset:1},{i:44,c:",",x:86,y:28,w:1,h:11,shift:5,offset:1},{i:45,c:"-",x:80,y:28,w:4,h:11,shift:5,offset:1},{i:46,c:".",x:77,y:28,w:1,h:11,shift:5,offset:1},{i:47,c:"/",x:71,y:28,w:4,h:11,shift:5,offset:1},{i:48,c:"0",x:65,y:28,
w:4,h:11,shift:5,offset:1},{i:49,c:"1",x:60,y:28,w:3,h:11,shift:5,offset:1},{i:50,c:"2",x:54,y:28,w:4,h:11,shift:5,offset:1},{i:51,c:"3",x:48,y:28,w:4,h:11,shift:5,offset:1},{i:52,c:"4",x:42,y:28,w:4,h:11,shift:5,offset:1},{i:53,c:"5",x:89,y:28,w:4,h:11,shift:5,offset:1},{i:54,c:"6",x:26,y:41,w:4,h:11,shift:5,offset:1},{i:55,c:"7",x:32,y:41,w:4,h:11,shift:5,offset:1},{i:56,c:"8",x:38,y:41,w:4,h:11,shift:5,offset:1},{i:57,c:"9",x:29,y:54,w:4,h:11,shift:5,offset:1},{i:58,c:":",x:26,y:54,w:1,h:11,shift:5,
offset:2},{i:59,c:";",x:23,y:54,w:1,h:11,shift:5,offset:2},{i:60,c:"<",x:19,y:54,w:2,h:11,shift:5,offset:3},{i:61,c:"=",x:13,y:54,w:4,h:11,shift:5,offset:1},{i:62,c:">",x:8,y:54,w:3,h:11,shift:5,offset:0},{i:63,c:"?",x:2,y:54,w:4,h:11,shift:5,offset:1},{i:64,c:"@",x:120,y:41,w:5,h:11,shift:5,offset:0},{i:65,c:"A",x:114,y:41,w:4,h:11,shift:5,offset:1},{i:66,c:"B",x:108,y:41,w:4,h:11,shift:5,offset:1},{i:67,c:"C",x:102,y:41,w:4,h:11,shift:5,offset:1},{i:68,c:"D",x:96,y:41,w:4,h:11,shift:5,offset:1}
,{i:69,c:"E",x:90,y:41,w:4,h:11,shift:5,offset:1},{i:70,c:"F",x:84,y:41,w:4,h:11,shift:5,offset:1},{i:71,c:"G",x:78,y:41,w:4,h:11,shift:5,offset:1},{i:72,c:"H",x:72,y:41,w:4,h:11,shift:5,offset:1},{i:73,c:"I",x:69,y:41,w:1,h:11,shift:5,offset:3},{i:74,c:"J",x:63,y:41,w:4,h:11,shift:5,offset:1},{i:75,c:"K",x:57,y:41,w:4,h:11,shift:5,offset:1},{i:76,c:"L",x:51,y:41,w:4,h:11,shift:5,offset:1},{i:77,c:"M",x:44,y:41,w:5,h:11,shift:5,offset:0},{i:78,c:"N",x:36,y:28,w:4,h:11,shift:5,offset:1},{i:79,c:"O",
x:30,y:28,w:4,h:11,shift:5,offset:1},{i:80,c:"P",x:24,y:28,w:4,h:11,shift:5,offset:1},{i:81,c:"Q",x:12,y:15,w:4,h:11,shift:5,offset:1},{i:82,c:"R",x:2,y:15,w:4,h:11,shift:5,offset:1},{i:83,c:"S",x:118,y:2,w:4,h:11,shift:5,offset:1},{i:84,c:"T",x:113,y:2,w:3,h:11,shift:5,offset:1},{i:85,c:"U",x:107,y:2,w:4,h:11,shift:5,offset:1},{i:86,c:"V",x:101,y:2,w:4,h:11,shift:5,offset:1},{i:87,c:"W",x:94,y:2,w:5,h:11,shift:5,offset:0},{i:88,c:"X",x:88,y:2,w:4,h:11,shift:5,offset:1},{i:89,c:"Y",x:83,y:2,w:3,
h:11,shift:5,offset:1},{i:90,c:"Z",x:77,y:2,w:4,h:11,shift:5,offset:1},{i:91,c:"[",x:8,y:15,w:2,h:11,shift:5,offset:3},{i:92,c:"\\",x:70,y:2,w:5,h:11,shift:5,offset:0},{i:93,c:"]",x:60,y:2,w:2,h:11,shift:5,offset:1},{i:94,c:"^",x:53,y:2,w:5,h:11,shift:5,offset:0},{i:95,c:"_",x:46,y:2,w:5,h:11,shift:5,offset:0},{i:96,c:"`",x:39,y:2,w:5,h:11,shift:5,offset:0},{i:97,c:"a",x:33,y:2,w:4,h:11,shift:5,offset:1},{i:98,c:"b",x:27,y:2,w:4,h:11,shift:5,offset:1},{i:99,c:"c",x:21,y:2,w:4,h:11,shift:5,offset:1}
,{i:100,c:"d",x:15,y:2,w:4,h:11,shift:5,offset:1},{i:101,c:"e",x:9,y:2,w:4,h:11,shift:5,offset:1},{i:102,c:"f",x:64,y:2,w:4,h:11,shift:5,offset:1},{i:103,c:"g",x:18,y:15,w:4,h:11,shift:5,offset:1},{i:104,c:"h",x:76,y:15,w:4,h:11,shift:5,offset:1},{i:105,c:"i",x:24,y:15,w:1,h:11,shift:5,offset:2},{i:106,c:"j",x:13,y:28,w:3,h:11,shift:5,offset:1},{i:107,c:"k",x:7,y:28,w:4,h:11,shift:5,offset:1},{i:108,c:"l",x:2,y:28,w:3,h:11,shift:5,offset:2},{i:109,c:"m",x:118,y:15,w:5,h:11,shift:5,offset:0},{i:110,
c:"n",x:112,y:15,w:4,h:11,shift:5,offset:1},{i:111,c:"o",x:106,y:15,w:4,h:11,shift:5,offset:1},{i:112,c:"p",x:100,y:15,w:4,h:11,shift:5,offset:1},{i:113,c:"q",x:94,y:15,w:4,h:11,shift:5,offset:1},{i:114,c:"r",x:88,y:15,w:4,h:11,shift:5,offset:1},{i:115,c:"s",x:18,y:28,w:4,h:11,shift:5,offset:1},{i:116,c:"t",x:82,y:15,w:4,h:11,shift:5,offset:1},{i:117,c:"u",x:70,y:15,w:4,h:11,shift:5,offset:1},{i:118,c:"v",x:64,y:15,w:4,h:11,shift:5,offset:1},{i:119,c:"w",x:57,y:15,w:5,h:11,shift:5,offset:0},{i:120,
c:"x",x:51,y:15,w:4,h:11,shift:5,offset:1},{i:121,c:"y",x:45,y:15,w:4,h:11,shift:5,offset:1},{i:122,c:"z",x:39,y:15,w:4,h:11,shift:5,offset:1},{i:123,c:"{",x:34,y:15,w:3,h:11,shift:5,offset:2},{i:124,c:"|",x:31,y:15,w:1,h:11,shift:5,offset:2},{i:125,c:"}",x:27,y:15,w:2,h:11,shift:5,offset:1},{i:126,c:"~",x:35,y:54,w:5,h:11,shift:5,offset:0},{i:9647,c:"▯",x:42,y:54,w:6,h:11,shift:10,offset:2},],}],EmbeddedFonts:[,{pName:"FONT_builtin",size:11,bold:false,italic:false,first:32,last:9647,charset:0,antialias:1,
fontname:"Roboto Mono",ascenderOffset:0,ascender:0,sdfSpread:0,lineHeight:0,TPageEntry:2,scaleX:1,scaleY:1,glyphs:[{i:32,c:" ",x:2,y:2,w:9,h:19,shift:9,offset:0},{i:33,c:"!",x:127,y:44,w:3,h:19,shift:9,offset:3},{i:34,c:"\"",x:120,y:44,w:5,h:19,shift:9,offset:2},{i:35,c:"#",x:109,y:44,w:9,h:19,shift:9,offset:0},{i:36,c:"$",x:100,y:44,w:7,h:19,shift:9,offset:1},{i:37,c:"%",x:89,y:44,w:9,h:19,shift:9,offset:0},{i:38,c:"&",x:78,y:44,w:9,h:19,shift:9,offset:0},{i:39,c:"'",x:74,y:44,w:2,h:19,shift:9,
offset:3},{i:40,c:"(",x:67,y:44,w:5,h:19,shift:9,offset:2},{i:41,c:")",x:60,y:44,w:5,h:19,shift:9,offset:2},{i:42,c:"*",x:132,y:44,w:8,h:19,shift:9,offset:1},{i:43,c:"+",x:49,y:44,w:9,h:19,shift:9,offset:0},{i:44,c:",",x:34,y:44,w:3,h:19,shift:9,offset:2},{i:45,c:"-",x:25,y:44,w:7,h:19,shift:9,offset:1},{i:46,c:".",x:20,y:44,w:3,h:19,shift:9,offset:3},{i:47,c:"/",x:11,y:44,w:7,h:19,shift:9,offset:1},{i:48,c:"0",x:2,y:44,w:7,h:19,shift:9,offset:1},{i:49,c:"1",x:245,y:23,w:5,h:19,shift:9,offset:1}
,{i:50,c:"2",x:235,y:23,w:8,h:19,shift:9,offset:0},{i:51,c:"3",x:225,y:23,w:8,h:19,shift:9,offset:0},{i:52,c:"4",x:214,y:23,w:9,h:19,shift:9,offset:0},{i:53,c:"5",x:39,y:44,w:8,h:19,shift:9,offset:1},{i:54,c:"6",x:142,y:44,w:7,h:19,shift:9,offset:1},{i:55,c:"7",x:151,y:44,w:9,h:19,shift:9,offset:0},{i:56,c:"8",x:162,y:44,w:8,h:19,shift:9,offset:1},{i:57,c:"9",x:110,y:65,w:7,h:19,shift:9,offset:1},{i:58,c:":",x:105,y:65,w:3,h:19,shift:9,offset:3},{i:59,c:";",x:100,y:65,w:3,h:19,shift:9,offset:3},
{i:60,c:"<",x:91,y:65,w:7,h:19,shift:9,offset:1},{i:61,c:"=",x:82,y:65,w:7,h:19,shift:9,offset:1},{i:62,c:">",x:73,y:65,w:7,h:19,shift:9,offset:1},{i:63,c:"?",x:64,y:65,w:7,h:19,shift:9,offset:1},{i:64,c:"@",x:53,y:65,w:9,h:19,shift:9,offset:0},{i:65,c:"A",x:42,y:65,w:9,h:19,shift:9,offset:0},{i:66,c:"B",x:32,y:65,w:8,h:19,shift:9,offset:1},{i:67,c:"C",x:21,y:65,w:9,h:19,shift:9,offset:0},{i:68,c:"D",x:11,y:65,w:8,h:19,shift:9,offset:1},{i:69,c:"E",x:2,y:65,w:7,h:19,shift:9,offset:1},{i:70,c:"F",
x:241,y:44,w:7,h:19,shift:9,offset:1},{i:71,c:"G",x:230,y:44,w:9,h:19,shift:9,offset:0},{i:72,c:"H",x:221,y:44,w:7,h:19,shift:9,offset:1},{i:73,c:"I",x:212,y:44,w:7,h:19,shift:9,offset:1},{i:74,c:"J",x:202,y:44,w:8,h:19,shift:9,offset:0},{i:75,c:"K",x:192,y:44,w:8,h:19,shift:9,offset:1},{i:76,c:"L",x:182,y:44,w:8,h:19,shift:9,offset:1},{i:77,c:"M",x:172,y:44,w:8,h:19,shift:9,offset:1},{i:78,c:"N",x:205,y:23,w:7,h:19,shift:9,offset:1},{i:79,c:"O",x:194,y:23,w:9,h:19,shift:9,offset:0},{i:80,c:"P",
x:184,y:23,w:8,h:19,shift:9,offset:1},{i:81,c:"Q",x:208,y:2,w:9,h:19,shift:9,offset:0},{i:82,c:"R",x:192,y:2,w:8,h:19,shift:9,offset:1},{i:83,c:"S",x:181,y:2,w:9,h:19,shift:9,offset:0},{i:84,c:"T",x:170,y:2,w:9,h:19,shift:9,offset:0},{i:85,c:"U",x:161,y:2,w:7,h:19,shift:9,offset:1},{i:86,c:"V",x:150,y:2,w:9,h:19,shift:9,offset:0},{i:87,c:"W",x:139,y:2,w:9,h:19,shift:9,offset:0},{i:88,c:"X",x:128,y:2,w:9,h:19,shift:9,offset:0},{i:89,c:"Y",x:117,y:2,w:9,h:19,shift:9,offset:0},{i:90,c:"Z",x:107,y:2,
w:8,h:19,shift:9,offset:0},{i:91,c:"[",x:202,y:2,w:4,h:19,shift:9,offset:3},{i:92,c:"\\",x:98,y:2,w:7,h:19,shift:9,offset:1},{i:93,c:"]",x:82,y:2,w:4,h:19,shift:9,offset:2},{i:94,c:"^",x:73,y:2,w:7,h:19,shift:9,offset:1},{i:95,c:"_",x:64,y:2,w:7,h:19,shift:9,offset:1},{i:96,c:"`",x:59,y:2,w:3,h:19,shift:9,offset:3},{i:97,c:"a",x:50,y:2,w:7,h:19,shift:9,offset:1},{i:98,c:"b",x:41,y:2,w:7,h:19,shift:9,offset:1},{i:99,c:"c",x:32,y:2,w:7,h:19,shift:9,offset:1},{i:100,c:"d",x:23,y:2,w:7,h:19,shift:9,
offset:1},{i:101,c:"e",x:13,y:2,w:8,h:19,shift:9,offset:0},{i:102,c:"f",x:88,y:2,w:8,h:19,shift:9,offset:1},{i:103,c:"g",x:219,y:2,w:7,h:19,shift:9,offset:1},{i:104,c:"h",x:72,y:23,w:7,h:19,shift:9,offset:1},{i:105,c:"i",x:228,y:2,w:8,h:19,shift:9,offset:1},{i:106,c:"j",x:167,y:23,w:6,h:19,shift:9,offset:1},{i:107,c:"k",x:157,y:23,w:8,h:19,shift:9,offset:1},{i:108,c:"l",x:147,y:23,w:8,h:19,shift:9,offset:1},{i:109,c:"m",x:136,y:23,w:9,h:19,shift:9,offset:0},{i:110,c:"n",x:127,y:23,w:7,h:19,shift:9,
offset:1},{i:111,c:"o",x:116,y:23,w:9,h:19,shift:9,offset:0},{i:112,c:"p",x:107,y:23,w:7,h:19,shift:9,offset:1},{i:113,c:"q",x:98,y:23,w:7,h:19,shift:9,offset:1},{i:114,c:"r",x:90,y:23,w:6,h:19,shift:9,offset:2},{i:115,c:"s",x:175,y:23,w:7,h:19,shift:9,offset:1},{i:116,c:"t",x:81,y:23,w:7,h:19,shift:9,offset:1},{i:117,c:"u",x:63,y:23,w:7,h:19,shift:9,offset:1},{i:118,c:"v",x:52,y:23,w:9,h:19,shift:9,offset:0},{i:119,c:"w",x:41,y:23,w:9,h:19,shift:9,offset:0},{i:120,c:"x",x:30,y:23,w:9,h:19,shift:9,
offset:0},{i:121,c:"y",x:19,y:23,w:9,h:19,shift:9,offset:0},{i:122,c:"z",x:10,y:23,w:7,h:19,shift:9,offset:1},{i:123,c:"{",x:2,y:23,w:6,h:19,shift:9,offset:2},{i:124,c:"|",x:246,y:2,w:3,h:19,shift:9,offset:3},{i:125,c:"}",x:238,y:2,w:6,h:19,shift:9,offset:2},{i:126,c:"~",x:119,y:65,w:9,h:19,shift:9,offset:0},{i:9647,c:"▯",x:130,y:65,w:5,h:19,shift:8,offset:1},],}],Timelines:[],Triggers:[{}],GMObjects:[{pName:"obj_collider2",spriteIndex:37,visible:true,parent:-100,CreateEvent:gml_Object_obj_collider2_Create_0,
TriggerEvents:[],CollisionEvents:[]},{pName:"obj_ladder_climb",spriteIndex:37,parent:9,CreateEvent:gml_Object_obj_ladder_climb_Create_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_bullet_enemy",spriteIndex:63,visible:true,parent:-100,CreateEvent:gml_Object_obj_bullet_enemy_Create_0,ObjAlarm0:gml_Object_obj_bullet_enemy_Alarm_0,StepNormalEvent:gml_Object_obj_bullet_enemy_Step_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_child_pam",spriteIndex:27,visible:true,parent:7,spritemask:74,CreateEvent:gml_Object_obj_child_pam_Create_0,
ObjAlarm2:gml_Object_obj_child_pam_Alarm_2,StepNormalEvent:gml_Object_obj_child_pam_Step_0,PreCreateEvent:gml_Object_obj_child_pam_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_pivot_pam",spriteIndex:63,parent:-100,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_collider_destroy",spriteIndex:37,parent:24,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_pam_talk",spriteIndex:7,parent:9,CreateEvent:gml_Object_obj_pam_talk_Create_0,PreCreateEvent:gml_Object_obj_pam_talk_PreCreate_0,
TriggerEvents:[],CollisionEvents:[]},{pName:"obj_child",spriteIndex:-1,visible:true,parent:33,CreateEvent:gml_Object_obj_child_Create_0,ObjAlarm0:gml_Object_obj_child_Alarm_0,ObjAlarm1:gml_Object_obj_child_Alarm_1,StepNormalEvent:gml_Object_obj_child_Step_0,DrawEvent:gml_Object_obj_child_Draw_0,PreCreateEvent:gml_Object_obj_child_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_door_main",spriteIndex:16,visible:true,parent:9,CreateEvent:gml_Object_obj_door_main_Create_0,StepNormalEvent:gml_Object_obj_door_main_Step_0,
PreCreateEvent:gml_Object_obj_door_main_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_interactable",spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_interactable_Create_0,PreCreateEvent:gml_Object_obj_interactable_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_trigger_spawnchild_2",spriteIndex:51,parent:-100,PreCreateEvent:gml_Object_obj_trigger_spawnchild_2_PreCreate_0,TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_spawnchild_2_Collision_obj_player]}
,{pName:"obj_passage",spriteIndex:16,parent:9,CreateEvent:gml_Object_obj_passage_Create_0,PreCreateEvent:gml_Object_obj_passage_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_trigger_cutonly",spriteIndex:51,parent:-100,ObjAlarm0:gml_Object_obj_trigger_cutonly_Alarm_0,ObjAlarm1:gml_Object_obj_trigger_cutonly_Alarm_1,PreCreateEvent:gml_Object_obj_trigger_cutonly_PreCreate_0,TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_cutonly_Collision_obj_player]},{pName:"obj_trigger_bgm_out",
spriteIndex:37,parent:-100,TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_bgm_out_Collision_obj_player]},{pName:"obj_cut_child_parent",spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_cut_child_parent_Create_0,ObjAlarm9:gml_Object_obj_cut_child_parent_Alarm_9,ObjAlarm10:gml_Object_obj_cut_child_parent_Alarm_10,DrawEvent:gml_Object_obj_cut_child_parent_Draw_0,PreCreateEvent:gml_Object_obj_cut_child_parent_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_intro",
spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_intro_Create_0,ObjAlarm0:gml_Object_obj_intro_Alarm_0,ObjAlarm1:gml_Object_obj_intro_Alarm_1,ObjAlarm2:gml_Object_obj_intro_Alarm_2,ObjAlarm9:gml_Object_obj_intro_Alarm_9,StepBeginEvent:gml_Object_obj_intro_Step_1,DrawGUI:gml_Object_obj_intro_Draw_64,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_after",spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_after_Create_0,ObjAlarm0:gml_Object_obj_after_Alarm_0,ObjAlarm1:gml_Object_obj_after_Alarm_1,
ObjAlarm2:gml_Object_obj_after_Alarm_2,ObjAlarm9:gml_Object_obj_after_Alarm_9,ObjAlarm8:gml_Object_obj_after_Alarm_8,StepBeginEvent:gml_Object_obj_after_Step_1,DrawGUI:gml_Object_obj_after_Draw_64,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_dialogue",spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_dialogue_Create_0,ObjAlarm0:gml_Object_obj_dialogue_Alarm_0,ObjAlarm1:gml_Object_obj_dialogue_Alarm_1,ObjAlarm2:gml_Object_obj_dialogue_Alarm_2,ObjAlarm3:gml_Object_obj_dialogue_Alarm_3,
ObjAlarm4:gml_Object_obj_dialogue_Alarm_4,StepNormalEvent:gml_Object_obj_dialogue_Step_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_trigger_outside",spriteIndex:51,parent:-100,StartRoomEvent:gml_Object_obj_trigger_outside_Other_4,PreCreateEvent:gml_Object_obj_trigger_outside_PreCreate_0,TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_outside_Collision_obj_player]},{pName:"obj_trigger_text",spriteIndex:51,parent:-100,ObjAlarm0:gml_Object_obj_trigger_text_Alarm_0,ObjAlarm1:gml_Object_obj_trigger_text_Alarm_1,
PreCreateEvent:gml_Object_obj_trigger_text_PreCreate_0,TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_text_Collision_obj_player]},{pName:"obj_bullet",spriteIndex:63,visible:true,parent:-100,CreateEvent:gml_Object_obj_bullet_Create_0,ObjAlarm0:gml_Object_obj_bullet_Alarm_0,StepNormalEvent:gml_Object_obj_bullet_Step_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_door_fl2",spriteIndex:26,visible:true,parent:9,CreateEvent:gml_Object_obj_door_fl2_Create_0,StepNormalEvent:gml_Object_obj_door_fl2_Step_0,
PreCreateEvent:gml_Object_obj_door_fl2_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_trigger_bgm_in",spriteIndex:37,parent:-100,TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_bgm_in_Collision_obj_player]},{pName:"obj_player",spriteIndex:30,visible:true,parent:-100,spritemask:21,CreateEvent:gml_Object_obj_player_Create_0,DestroyEvent:gml_Object_obj_player_Destroy_0,ObjAlarm0:gml_Object_obj_player_Alarm_0,ObjAlarm10:gml_Object_obj_player_Alarm_10,ObjAlarm9:gml_Object_obj_player_Alarm_9,
StepBeginEvent:gml_Object_obj_player_Step_1,StepNormalEvent:gml_Object_obj_player_Step_0,DrawEvent:gml_Object_obj_player_Draw_0,PreCreateEvent:gml_Object_obj_player_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_collider",spriteIndex:37,parent:-100,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_cut_pam",spriteIndex:27,visible:true,parent:14,CreateEvent:gml_Object_obj_cut_pam_Create_0,PreCreateEvent:gml_Object_obj_cut_pam_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_child_kev",
spriteIndex:58,visible:true,parent:7,CreateEvent:gml_Object_obj_child_kev_Create_0,ObjAlarm9:gml_Object_obj_child_kev_Alarm_9,StepNormalEvent:gml_Object_obj_child_kev_Step_0,PreCreateEvent:gml_Object_obj_child_kev_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_crossair",spriteIndex:63,visible:true,parent:-100,StepNormalEvent:gml_Object_obj_crossair_Step_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_dialogue_end",spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_dialogue_end_Create_0,
ObjAlarm0:gml_Object_obj_dialogue_end_Alarm_0,ObjAlarm1:gml_Object_obj_dialogue_end_Alarm_1,ObjAlarm2:gml_Object_obj_dialogue_end_Alarm_2,ObjAlarm3:gml_Object_obj_dialogue_end_Alarm_3,ObjAlarm4:gml_Object_obj_dialogue_end_Alarm_4,StepNormalEvent:gml_Object_obj_dialogue_end_Step_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_menu",spriteIndex:70,visible:true,parent:-100,CreateEvent:gml_Object_obj_menu_Create_0,ObjAlarm0:gml_Object_obj_menu_Alarm_0,ObjAlarm1:gml_Object_obj_menu_Alarm_1,ObjAlarm2:gml_Object_obj_menu_Alarm_2,
StepBeginEvent:gml_Object_obj_menu_Step_1,DrawGUI:gml_Object_obj_menu_Draw_64,DrawEvent:gml_Object_obj_menu_Draw_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_blood",spriteIndex:1,visible:true,parent:-100,AnimationEndEvent:gml_Object_obj_blood_Other_7,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_trigger_spawnchild_3",spriteIndex:51,parent:-100,PreCreateEvent:gml_Object_obj_trigger_spawnchild_3_PreCreate_0,TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_spawnchild_3_Collision_obj_player]}
,{pName:"obj_patreon",spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_patreon_Create_0,ObjAlarm0:gml_Object_obj_patreon_Alarm_0,ObjAlarm1:gml_Object_obj_patreon_Alarm_1,ObjAlarm2:gml_Object_obj_patreon_Alarm_2,StepBeginEvent:gml_Object_obj_patreon_Step_1,DrawGUI:gml_Object_obj_patreon_Draw_64,DrawEvent:gml_Object_obj_patreon_Draw_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_enemy",spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_enemy_Create_0,ObjAlarm10:gml_Object_obj_enemy_Alarm_10,
DrawEvent:gml_Object_obj_enemy_Draw_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_controller",spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_controller_Create_0,ObjAlarm0:gml_Object_obj_controller_Alarm_0,ObjAlarm1:gml_Object_obj_controller_Alarm_1,ObjAlarm2:gml_Object_obj_controller_Alarm_2,ObjAlarm9:gml_Object_obj_controller_Alarm_9,ObjAlarm10:gml_Object_obj_controller_Alarm_10,StepNormalEvent:gml_Object_obj_controller_Step_0,StartRoomEvent:gml_Object_obj_controller_Other_4,
EndRoomEvent:gml_Object_obj_controller_Other_5,DrawEvent:gml_Object_obj_controller_Draw_0,DrawGUI:gml_Object_obj_controller_Draw_64,KeyPressed_ESCAPE:gml_Object_obj_controller_KeyPress_27,KeyPressed_F4:gml_Object_obj_controller_KeyPress_115,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_child_dwi",spriteIndex:22,visible:true,parent:7,PreCreateEvent:gml_Object_obj_child_dwi_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_jim_talk",spriteIndex:7,parent:9,CreateEvent:gml_Object_obj_jim_talk_Create_0,
PreCreateEvent:gml_Object_obj_jim_talk_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_trigger_inside",spriteIndex:37,parent:-100,TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_inside_Collision_obj_player]},{pName:"obj_child_jim",spriteIndex:7,visible:true,parent:7,spritemask:7,CreateEvent:gml_Object_obj_child_jim_Create_0,ObjAlarm2:gml_Object_obj_child_jim_Alarm_2,ObjAlarm3:gml_Object_obj_child_jim_Alarm_3,ObjAlarm4:gml_Object_obj_child_jim_Alarm_4,StepNormalEvent:gml_Object_obj_child_jim_Step_0,
EndOfPathEvent:gml_Object_obj_child_jim_Other_8,PreCreateEvent:gml_Object_obj_child_jim_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_intro_dialogue",spriteIndex:-1,visible:true,parent:-100,CreateEvent:gml_Object_obj_intro_dialogue_Create_0,ObjAlarm0:gml_Object_obj_intro_dialogue_Alarm_0,ObjAlarm1:gml_Object_obj_intro_dialogue_Alarm_1,ObjAlarm2:gml_Object_obj_intro_dialogue_Alarm_2,ObjAlarm3:gml_Object_obj_intro_dialogue_Alarm_3,ObjAlarm4:gml_Object_obj_intro_dialogue_Alarm_4,StepNormalEvent:gml_Object_obj_intro_dialogue_Step_0,
StartRoomEvent:gml_Object_obj_intro_dialogue_Other_4,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_cut_jim",spriteIndex:7,visible:true,parent:14,CreateEvent:gml_Object_obj_cut_jim_Create_0,PreCreateEvent:gml_Object_obj_cut_jim_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_trigger_spawnchild_1",spriteIndex:51,parent:-100,PreCreateEvent:gml_Object_obj_trigger_spawnchild_1_PreCreate_0,TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_spawnchild_1_Collision_obj_player]},{
pName:"obj_trigger_end",spriteIndex:51,parent:-100,CreateEvent:gml_Object_obj_trigger_end_Create_0,ObjAlarm0:gml_Object_obj_trigger_end_Alarm_0,ObjAlarm1:gml_Object_obj_trigger_end_Alarm_1,ObjAlarm2:gml_Object_obj_trigger_end_Alarm_2,ObjAlarm3:gml_Object_obj_trigger_end_Alarm_3,ObjAlarm4:gml_Object_obj_trigger_end_Alarm_4,ObjAlarm5:gml_Object_obj_trigger_end_Alarm_5,ObjAlarm6:gml_Object_obj_trigger_end_Alarm_6,StepNormalEvent:gml_Object_obj_trigger_end_Step_0,PreCreateEvent:gml_Object_obj_trigger_end_PreCreate_0,
TriggerEvents:[],CollisionEvents:[23,gml_Object_obj_trigger_end_Collision_obj_player]},{pName:"obj_cut_kev",spriteIndex:58,visible:true,parent:14,CreateEvent:gml_Object_obj_cut_kev_Create_0,PreCreateEvent:gml_Object_obj_cut_kev_PreCreate_0,TriggerEvents:[],CollisionEvents:[]},{pName:"obj_trigger_spawnchild_1_tub",spriteIndex:51,parent:-100,CreateEvent:gml_Object_obj_trigger_spawnchild_1_tub_Create_0,PreCreateEvent:gml_Object_obj_trigger_spawnchild_1_tub_PreCreate_0,TriggerEvents:[],CollisionEvents:[23,
gml_Object_obj_trigger_spawnchild_1_tub_Collision_obj_player]}],AnimCurves:[],Sequences:[],FiltersAndEffectDefs:[],PSEmitters:[],ParticleSystems:[],GMRooms:[{pName:"rm_menu",width:128,height:128,speed:0,colour:0,LayerCount:2,showColour:false,enableViews:true,viewClearScreen:false,backgrounds:[],views:[{visible:true,wview:128,hview:128,wport:256,hport:256},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,
hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768}],pInstances:[{x:0,y:0,index:29,id:100000,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295}],tiles:[],layers:[{pName:"Instances",id:0,type:2,depth:0,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:1,iinstIDs:[100000]},{pName:"Background",id:1,type:1,depth:100,x:0,y:0,
hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],bvisible:true,bforeground:false,bindex:-1,bhtiled:false,bvtiled:false,bstretch:false,bblend:-14284024,bimage_index:0,bimage_speed:30}]},{pName:"rm_intro",width:128,height:128,speed:0,colour:0,LayerCount:2,showColour:false,enableViews:true,viewClearScreen:false,backgrounds:[],views:[{visible:true,wview:128,hview:128,wport:256,hport:256},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768}
,{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768}],pInstances:[{x:0,y:0,index:15,id:100001,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295}],tiles:[],layers:[{pName:"Instances",id:2,type:2,depth:0,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:1,iinstIDs:[100001]}
,{pName:"Background",id:3,type:1,depth:100,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],bvisible:true,bforeground:false,bindex:-1,bhtiled:false,bvtiled:false,bstretch:false,bblend:-14284024,bimage_index:0,bimage_speed:15}]},{pName:"Room1",height:1024,speed:0,colour:0,LayerCount:10,showColour:false,enableViews:true,viewClearScreen:false,backgrounds:[],views:[{visible:true,wview:128,hview:128,wport:256,hport:256},{wview:1366,hview:768,wport:1366,hport:768},
{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768}],pInstances:[{x:464,y:840,index:23,id:100097,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:0,y:0,index:34,id:100115,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:320,y:600,index:24,
id:100002,rotation:0,scaleX:11,scaleY:9,imageSpeed:1,imageIndex:1,colour:4294967295},{x:424,y:632,index:24,id:100003,rotation:0,scaleX:13,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:528,y:624,index:24,id:100004,rotation:0,scaleX:5,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:304,y:720,index:24,id:100005,rotation:0,scaleX:13,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:424,y:696,index:24,id:100006,rotation:0,scaleX:18,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295}
,{x:424,y:704,index:24,id:100007,rotation:0,scaleX:0.5,scaleY:4,imageSpeed:1,imageIndex:0,colour:4294967295},{x:404,y:728,index:24,id:100008,rotation:0,scaleX:0.5,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:568,y:664,index:24,id:100009,rotation:0,scaleX:0.5,scaleY:5,imageSpeed:1,imageIndex:0,colour:4294967295},{x:416,y:640,index:18,id:100093,pPreCreateCode:gml_RoomCC_Room1_10_PreCreate,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:3,colour:4294967295},{x:352,y:497,index:38,id:100098,
rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:416,y:256,index:18,id:100094,pPreCreateCode:gml_RoomCC_Room1_12_PreCreate,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:3,colour:4294967295},{x:408,y:648,index:8,id:100099,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:280,y:400,index:19,id:100100,pPreCreateCode:gml_RoomCC_Room1_14_PreCreate,rotation:0,scaleX:1,scaleY:12,imageSpeed:1,imageIndex:0,colour:4294967295},{x:320,y:464,index:24,
id:100010,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:240,y:496,index:24,id:100011,rotation:0,scaleX:19,scaleY:4,imageSpeed:1,imageIndex:1,colour:4294967295},{x:200,y:512,index:24,id:100012,rotation:0,scaleX:5,scaleY:13,imageSpeed:1,imageIndex:1,colour:4294967295},{x:300,y:624,index:24,id:100013,rotation:0,scaleX:0.5,scaleY:12.999999046325684,imageSpeed:1,imageIndex:0,colour:4294967295},{x:240,y:584,index:24,id:100014,rotation:0,scaleX:8,scaleY:5,imageSpeed:1,imageIndex:1,
colour:4294967295},{x:304,y:568,index:24,id:100015,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:568,y:432,index:24,id:100016,rotation:0,scaleX:12,scaleY:29,imageSpeed:1,imageIndex:1,colour:4294967295},{x:320,y:464,index:24,id:100017,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:320,y:392,index:24,id:100018,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:160,y:384,index:24,id:100019,rotation:0,scaleX:75,scaleY:2,
imageSpeed:1,imageIndex:1,colour:4294967295},{x:360,y:400,index:24,id:100020,rotation:0,scaleX:15,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:368,y:424,index:24,id:100021,rotation:0,scaleX:13,scaleY:9,imageSpeed:1,imageIndex:1,colour:4294967295},{x:144,y:400,index:24,id:100022,rotation:0,scaleX:2,scaleY:58,imageSpeed:1,imageIndex:1,colour:4294967295},{x:160,y:856,index:24,id:100023,rotation:0,scaleX:39,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:472,y:856,index:24,id:100024,
rotation:0,scaleX:19,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:328,y:248,index:24,id:100025,rotation:0,scaleX:10,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:424,y:248,index:24,id:100026,rotation:0,scaleX:12,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:304,y:400,index:41,id:100101,rotation:0,scaleX:1,scaleY:12,imageSpeed:1,imageIndex:0,colour:4294967295},{x:376,y:408,index:24,id:100027,rotation:0,scaleX:11,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295}
,{x:712,y:688,index:44,id:100102,pPreCreateCode:gml_RoomCC_Room1_34_PreCreate,rotation:0,scaleX:10,scaleY:10,imageSpeed:1,imageIndex:0,colour:4294967295},{x:656,y:672,index:24,id:100028,rotation:0,scaleX:4,scaleY:2,imageSpeed:1,imageIndex:0,colour:4294967295},{x:704,y:712,index:24,id:100029,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:624,y:752,index:24,id:100030,rotation:0,scaleX:17,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:616,y:752,index:24,id:100031,
rotation:0,scaleX:1,scaleY:13,imageSpeed:1,imageIndex:1,colour:4294967295},{x:760,y:384,index:24,id:100032,rotation:0,scaleX:1,scaleY:47,imageSpeed:1,imageIndex:1,colour:4294967295},{x:296,y:104,index:18,id:100095,pPreCreateCode:gml_RoomCC_Room1_40_PreCreate,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:3,colour:4294967295},{x:808,y:144,index:18,id:100096,pPreCreateCode:gml_RoomCC_Room1_41_PreCreate,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:3,colour:4294967295},{x:472,y:432,index:24,
id:100033,rotation:0,scaleX:12,scaleY:8,imageSpeed:1,imageIndex:1,colour:4294967295},{x:264,y:152,index:24,id:100034,rotation:0,scaleX:20,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:424,y:112,index:24,id:100035,rotation:0,scaleX:3,scaleY:12,imageSpeed:1,imageIndex:1,colour:4294967295},{x:400,y:112,index:24,id:100036,rotation:0,scaleX:3,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:464,y:112,index:24,id:100037,rotation:0,scaleX:21,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295}
,{x:512,y:152,index:24,id:100038,rotation:0,scaleX:1,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:512,y:216,index:24,id:100039,rotation:0,scaleX:1,scaleY:4,imageSpeed:1,imageIndex:1,colour:4294967295},{x:264,y:208,index:24,id:100040,rotation:0,scaleX:8,scaleY:6,imageSpeed:1,imageIndex:1,colour:4294967295},{x:256,y:160,index:24,id:100041,rotation:0,scaleX:1,scaleY:7,imageSpeed:1,imageIndex:1,colour:4294967295},{x:552,y:176,index:24,id:100042,rotation:0,scaleX:6,scaleY:2,imageSpeed:1,imageIndex:0,
colour:4294967295},{x:528,y:176,index:24,id:100043,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:608,y:176,index:24,id:100044,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:576,y:149,index:24,id:100045,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:520,y:224,index:24,id:100046,rotation:0,scaleX:15,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:632,y:112,index:24,id:100047,rotation:0,scaleX:1,scaleY:14,
imageSpeed:1,imageIndex:1,colour:4294967295},{x:304,y:96,index:24,id:100048,rotation:0,scaleX:12,scaleY:4,imageSpeed:1,imageIndex:1,colour:4294967295},{x:504,y:32,index:24,id:100049,rotation:0,scaleX:1,scaleY:10,imageSpeed:1,imageIndex:1,colour:4294967295},{x:400,y:32,index:24,id:100050,rotation:0,scaleX:13,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:272,y:48,index:24,id:100051,rotation:0,scaleX:16,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:264,y:96,index:24,id:100052,
rotation:0,scaleX:3,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:264,y:48,index:24,id:100053,rotation:0,scaleX:1,scaleY:6,imageSpeed:1,imageIndex:1,colour:4294967295},{x:768,y:136,index:24,id:100054,rotation:0,scaleX:1,scaleY:9,imageSpeed:1,imageIndex:1,colour:4294967295},{x:776,y:120,index:24,id:100055,rotation:0,scaleX:3,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:832,y:128,index:24,id:100056,rotation:0,scaleX:13,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:928,
y:168,index:24,id:100057,rotation:0,scaleX:1,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:952,y:128,index:24,id:100058,rotation:0,scaleX:8,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:1016,y:128,index:24,id:100059,rotation:0,scaleX:1,scaleY:15,imageSpeed:1,imageIndex:1,colour:4294967295},{x:768,y:208,index:24,id:100060,rotation:0,scaleX:8,scaleY:6,imageSpeed:1,imageIndex:1,colour:4294967295},{x:832,y:248,index:24,id:100061,rotation:0,scaleX:24,scaleY:1,imageSpeed:1,imageIndex:1,
colour:4294967295},{x:480,y:176,index:19,id:100103,pPreCreateCode:gml_RoomCC_Room1_71_PreCreate,rotation:0,scaleX:8,scaleY:5,imageSpeed:1,imageIndex:0,colour:4294967295},{x:464,y:152,index:24,id:100062,rotation:0,scaleX:0.5,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:392,y:184,index:24,id:100063,rotation:0,scaleX:1,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:336,y:216,index:24,id:100064,rotation:0,scaleX:1,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:336,y:184,
index:24,id:100065,rotation:0,scaleX:1,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:296,y:184,index:24,id:100066,rotation:0,scaleX:1,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:424,y:88,index:24,id:100067,rotation:0,scaleX:1,scaleY:1.5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:480,y:88,index:24,id:100068,rotation:0,scaleX:1,scaleY:1.5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:480,y:64,index:24,id:100069,rotation:0,scaleX:1,scaleY:1.5,imageSpeed:1,imageIndex:1,
colour:4294967295},{x:424,y:64,index:24,id:100070,rotation:0,scaleX:1,scaleY:1.5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:456,y:53,index:24,id:100071,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:456,y:80,index:10,id:100072,rotation:0,scaleX:5,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:432,y:88,index:10,id:100073,rotation:0,scaleX:1,scaleY:3,imageSpeed:1,imageIndex:0,colour:4294967295},{x:480,y:88,index:10,id:100074,rotation:0,scaleX:1,scaleY:3,
imageSpeed:1,imageIndex:0,colour:4294967295},{x:368,y:80,index:3,id:100104,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:288,y:95,index:21,id:100105,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:816,y:120,index:24,id:100075,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:872,y:176,index:24,id:100076,rotation:0,scaleX:6,scaleY:3,imageSpeed:1,imageIndex:0,colour:4294967295},{x:856,y:176,index:24,id:100077,rotation:0,
scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:936,y:128,index:24,id:100078,rotation:0,scaleX:2,scaleY:10,imageSpeed:1,imageIndex:1,colour:4294967295},{x:976,y:168,index:24,id:100079,rotation:0,scaleX:2,scaleY:2,imageSpeed:1,imageIndex:0,colour:4294967295},{x:984,y:192,index:12,id:100106,pPreCreateCode:gml_RoomCC_Room1_92_PreCreate,rotation:0,scaleX:9,scaleY:2,imageSpeed:1,imageIndex:0,colour:4294967295},{x:928,y:632,index:24,id:100080,rotation:0,scaleX:8,scaleY:1,imageSpeed:1,
imageIndex:1,colour:4294967295},{x:920,y:400,index:24,id:100081,rotation:0,scaleX:1,scaleY:30,imageSpeed:1,imageIndex:1,colour:4294967295},{x:992,y:400,index:24,id:100082,rotation:0,scaleX:1,scaleY:30,imageSpeed:1,imageIndex:1,colour:4294967295},{x:928,y:408,index:24,id:100083,rotation:0,scaleX:8,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:928,y:608,index:24,id:100084,rotation:0,scaleX:8,scaleY:2,imageSpeed:1,imageIndex:0,colour:4294967295},{x:976,y:168,index:1,id:100107,pPreCreateCode:gml_RoomCC_Room1_98_PreCreate,
rotation:0,scaleX:2,scaleY:2,imageSpeed:1,imageIndex:0,colour:4294967295},{x:960,y:560,index:19,id:100108,pPreCreateCode:gml_RoomCC_Room1_99_PreCreate,rotation:0,scaleX:7,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:960,y:552,index:31,id:100109,rotation:0,scaleX:7,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:960,y:480,index:26,id:100110,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:408,y:264,index:24,id:100085,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,
imageIndex:1,colour:4294967295},{x:248,y:256,index:24,id:100086,rotation:0,scaleX:1,scaleY:16,imageSpeed:1,imageIndex:1,colour:4294967295},{x:632,y:768,index:24,id:100087,rotation:0,scaleX:1,scaleY:16,imageSpeed:1,imageIndex:1,colour:4294967295},{x:768,y:632,index:24,id:100088,rotation:0,scaleX:16,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:440,y:816,index:40,id:100111,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:464,y:800,index:43,id:100112,rotation:0,
scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:480,y:816,index:25,id:100113,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:400,y:776,index:39,id:100114,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:664,y:552,index:24,id:100089,rotation:0,scaleX:13,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:440,y:710,index:24,id:100090,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:456,y:708,
index:24,id:100091,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:584,y:678,index:24,id:100092,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295}],tiles:[],layers:[{pName:"solid",id:4,type:2,depth:-900,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:91,iinstIDs:[100002,100003,100004,100005,100006,100007,100008,100009,100010,100011,100012,100013,100014,100015,100016,100017,100018,100019,100020,100021,
100022,100023,100024,100025,100026,100027,100028,100029,100030,100031,100032,100033,100034,100035,100036,100037,100038,100039,100040,100041,100042,100043,100044,100045,100046,100047,100048,100049,100050,100051,100052,100053,100054,100055,100056,100057,100058,100059,100060,100061,100062,100063,100064,100065,100066,100067,100068,100069,100070,100071,100072,100073,100074,100075,100076,100077,100078,100079,100080,100081,100082,100083,100084,100085,100086,100087,100088,100089,100090,100091,100092]},{
pName:"Tiles_foreground",id:5,type:4,depth:-800,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],tcount:16384,tMapWidth:128,tMapHeight:128,tIndex:0,ttiles:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306619,0,0,0,0,0,0,805306619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306619,0,0,0,0,0,0,805306619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306619,0,0,0,0,805306619,0,0,0,0,0,0,805306619,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306619,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,252,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,249,268435705,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,536871162,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536871162,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,
34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536871162,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,
34,34,34,34,34,34,34,34,34,34,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,243,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,
138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,
138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,
138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138]},{pName:"Instances_HUD",id:6,type:2,depth:-700,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:4,iinstIDs:[100093,
100094,100095,100096]},{pName:"LayPath1",id:7,type:0,depth:-600,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[]},{pName:"Instances",id:8,type:2,depth:-500,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:18,iinstIDs:[100097,100098,100099,100100,100101,100102,100103,100104,100105,100106,100107,100108,100109,100110,100111,100112,100113,100114]},{pName:"Assets_1",id:9,type:3,depth:-400,x:0,y:0,hspeed:0,vspeed:0,visible:1,
effectEnabled:1,effectType:"",effectProperties:[],acount:0,assets:[],scount:1,sprites:[{sName:"graphic_596D1C1",sIndex:34,sX:606,sY:129,sXScale:1,sYScale:1,sBlend:-1,sImageSpeed:1,sImageIndex:0,sRotation:-4.874435}],ecount:0,sequences:[],pcount:0,particles:[],},{pName:"Tiles_outside",id:10,type:4,depth:0,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],tcount:16384,tMapWidth:128,tMapHeight:128,tIndex:0,ttiles:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,21,21,21,21,21,21,21,53,21,21,21,21,21,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,0,0,0,0,0,0,0,69,0,0,0,0,0,268435463,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306618,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,0,64,0,0,0,85,0,0,64,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306618,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,21,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,64,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742074,268435705,805306389,805306389,249,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,250,0,0,21,0,0,0,0,0,0,21,0,0,268435463,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435462,4,5,3,4,5,0,0,4,5,3,4,5,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,131,132,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,21,21,21,21,21,21,22,23,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,147,148,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,38,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,163,164,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,22,23,64,64,64,64,64,64,252,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306618,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,131,132,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,38,39,64,64,64,64,64,64,252,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,536870919,64,64,64,0,0,64,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,147,148,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,536870919,22,23,21,21,21,21,21,21,252,21,21,21,21,21,21,21,53,21,21,21,21,21,21,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,0,0,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,536870919,21,21,21,163,164,21,21,21,268435463,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,536870919,38,39,0,0,0,0,0,0,252,0,0,0,0,0,0,0,69,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,21,21,21,0,0,21,21,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,536870919,0,0,0,131,132,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,
268435463,0,536870919,22,23,0,0,0,0,0,0,251,0,0,0,0,0,0,0,85,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,21,21,21,21,21,21,21,21,21,21,21,21,268435463,0,536870919,0,0,0,147,148,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,536870919,0,0,0,0,0,0,0,0,64,0,54,0,0,64,64,64,64,64,64,0,53,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,0,0,0,53,0,64,
64,64,64,64,64,0,268435463,0,536870919,0,0,0,163,164,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,1879048435,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,536870919,0,0,0,0,0,0,0,0,64,0,70,0,0,64,64,64,64,64,64,0,69,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,0,0,0,69,0,64,64,64,64,64,64,0,64,64,64,0,0,0,179,180,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,1879048434,0,0,0,64,
0,0,0,0,64,0,0,0,0,0,0,64,0,0,0,1879048441,1610612743,805306617,0,0,0,0,0,0,0,0,21,0,86,0,0,250,0,0,0,0,268435706,0,85,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,0,0,0,85,0,64,64,64,64,64,64,0,64,64,64,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,21,0,0,0,0,21,0,0,0,0,0,0,21,0,0,0,64,64,64,0,0,0,0,0,0,0,1073741845,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,
0,0,0,0,0,0,0,250,0,0,0,0,268435706,0,64,64,64,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,805306611,805306610,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,0,0,0,0,0,0,0,1073741845,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,250,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,249,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,805306611,805306610,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,246,246,246,246,246,246,246,246,246,246,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306611,805306610,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,246,268435705,
805306389,805306389,249,246,246,246,246,246,246,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,28,28,28,28,28,28,28,28,28,28,28,28,28,
28,28,28,28,28,28,250,268435706,28,28,28,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435706,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,250,268435706,28,28,28,536871161,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,
1879048442,1879048442,1879048442,1879048442,805306617,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,250,268435706,246,246,246,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,
246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,64,64,64,64,64,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,268435706,0,0,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,64,64,64,64,64,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536871161,805306617,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,21,21,21,21,21,21,97,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,0,0,0,0,240,245,240,240,240,240,245,240,240,245,240,240,245,240,240,245,240,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,242,240,241,241,240,240,
241,240,242,240,241,242,240,240,240,241,241,242,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,245,241,240,240,240,240,240,240,245,241,240,245,241,240,240,240,240,245,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,
268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,243,244,244,240,240,240,249,235,268435705,244,240,243,240,240,240,244,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,240,241,245,240,240,245,536871161,251,1342177529,
240,240,245,240,240,245,240,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,241,240,240,240,242,240,240,240,241,240,242,240,240,242,240,240,242,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,241,240,241,242,240,245,241,240,240,240,240,245,241,240,245,241,240,245,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,243,244,240,240,241,240,243,240,240,240,241,240,243,241,240,243,241,240,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,536870941,12,12,12,12,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,
0,13,1073741836,28,28,28,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,28,28,28,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,
1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,225,240,240,241,240,242,240,241,242,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,225,240,240,240,240,245,241,240,245,241,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,246,246,246,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,225,240,240,240,249,268435705,243,244,240,243,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,240,245,240,240,245,240,240,245,240,240,240,240,245,240,245,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1879048441,12,12,12,12,225,240,240,245,536871161,1342177529,245,240,240,245,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,241,242,240,241,241,240,240,240,241,240,242,240,245,240,245,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,28,28,28,28,28,225,240,242,240,240,240,241,240,242,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,245,241,240,240,240,240,240,240,240,245,240,240,241,240,241,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,147,148,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,28,28,28,28,28,225,240,245,241,240,240,240,240,249,246,225,240,240,245,240,240,245,240,240,245,240,240,240,245,240,240,245,240,245,240,240,245,240,240,245,224,244,240,243,244,244,240,240,240,240,241,240,241,241,243,241,243,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,249,163,164,1073742073,0,268435706,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,29,246,246,246,246,246,225,241,240,243,240,240,240,241,250,0,225,240,240,241,240,242,240,241,242,240,241,240,240,241,240,242,240,241,240,240,240,241,240,242,240,224,240,240,240,241,245,240,240,244,243,245,242,245,243,240,243,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,1879048441,805306614,805306614,805306617,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,246,246,
246,246,246,246,246,246,250,0,225,240,240,240,240,245,241,240,245,241,240,240,240,240,240,245,241,240,240,240,240,240,240,245,241,224,226,240,241,240,240,244,249,268435705,240,240,240,240,240,240,240,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048441,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,805306617,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,225,240,240,240,241,240,243,244,
240,243,244,240,240,240,241,240,243,244,240,240,240,240,241,240,243,224,226,241,240,241,242,241,536871161,1342177529,242,240,243,240,241,240,241,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,225,240,240,245,240,240,245,240,240,245,240,240,243,240,244,240,245,240,244,243,240,240,245,242,240,224,226,243,244,240,240,243,240,240,241,240,242,240,240,
240,240,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,225,240,242,240,240,240,241,240,242,240,241,247,248,245,240,240,244,249,268435705,240,241,240,240,240,240,224,246,246,246,246,1073742073,240,245,240,240,245,240,245,244,241,244,241,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,225,240,245,241,240,240,240,240,245,241,240,250,268435706,240,240,245,241,1610612984,1342177529,242,240,241,240,243,240,224,0,0,0,0,7,242,240,240,240,241,240,241,240,242,240,242,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,225,241,240,243,240,240,240,241,240,243,244,
250,268435706,241,240,240,243,240,240,241,240,240,240,242,240,224,0,0,0,0,7,246,246,246,246,246,246,246,246,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,0,0,0,0,7,0,0,53,0,0,0,0,0,0,0,0,100,101,102,103,0,0,0,0,0,0,0,0,13,1073741836,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,69,0,0,0,0,0,0,0,0,116,117,118,119,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,5,3,4,5,3,4,5,3,4,5,3,4,5,3,4,5,
6,0,0,85,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,7,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,9,11,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,53,0,268435521,65,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,25,27,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435462,4,4,5,3,4,5,3,4,5,3,4,5,0,7,0,0,69,0,268435537,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,41,43,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,21,21,21,21,21,21,21,21,21,21,22,23,0,0,85,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,38,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870941,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,17,
17,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,536870942,0,805306398,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
12,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,13,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,28,28,28,28,28,28,28,28,28,28,28,
28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,13,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,29,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,30,0,29,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,
246,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{pName:"Tiles_inside",id:11,
type:4,depth:100,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],tcount:16384,tMapWidth:128,tMapHeight:128,tIndex:0,ttiles:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,
0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,4,5,3,4,5,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435462,4,5,3,4,5,0,0,0,0,0,0,0,0,268435463,0,0,0,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,21,21,21,22,23,0,0,0,0,0,0,268435463,0,0,0,0,249,268435705,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,38,39,0,0,0,0,0,0,268435463,0,0,0,0,250,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22,23,0,0,0,0,0,0,268435463,0,0,0,805306614,1879048441,1342177529,805306614,805306614,805306614,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,249,268435705,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,38,39,4,5,3,4,5,4,268435463,0,0,0,0,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,268435706,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,22,23,21,21,21,21,21,21,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306614,805306614,805306614,805306614,805306614,805306614,1879048441,1342177529,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,38,39,0,249,268435705,0,0,0,268435463,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,0,0,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22,23,0,250,268435706,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435706,805306614,1879048441,1342177529,805306614,805306614,805306614,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,1879048435,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,1879048434,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073741845,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,805306611,805306610,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073741845,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,250,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306611,805306610,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,246,268435705,805306389,805306389,249,246,246,246,246,246,246,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{pName:"Background",id:12,type:1,depth:200,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],bvisible:true,
bforeground:false,bindex:-1,bhtiled:false,bvtiled:false,bstretch:false,bblend:-14284024,bimage_index:0,bimage_speed:15},{pName:"controller",id:13,type:2,depth:300,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:1,iinstIDs:[100115]}]},{pName:"rm_after",width:128,height:128,speed:0,colour:0,LayerCount:2,showColour:false,enableViews:true,viewClearScreen:false,backgrounds:[],views:[{visible:true,wview:128,hview:128,wport:256,hport:256},{wview:1366,hview:768,
wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768}],pInstances:[{x:0,y:0,index:16,id:100116,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295}],tiles:[],layers:[{pName:"Instances",id:14,type:2,depth:0,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,
effectType:"",effectProperties:[],icount:1,iinstIDs:[100116]},{pName:"Background",id:15,type:1,depth:100,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],bvisible:true,bforeground:false,bindex:-1,bhtiled:false,bvtiled:false,bstretch:false,bblend:-14284024,bimage_index:0,bimage_speed:15}]},{pName:"Room2",height:1024,speed:0,colour:0,LayerCount:10,showColour:false,enableViews:true,viewClearScreen:false,backgrounds:[],views:[{visible:true,wview:128,hview:128,wport:256,
hport:256},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768}],pInstances:[{x:460,y:832,index:23,id:100209,pPreCreateCode:gml_RoomCC_Room2_0_PreCreate,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:0,y:0,index:34,
id:100219,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:320,y:600,index:24,id:100117,rotation:0,scaleX:11,scaleY:9,imageSpeed:1,imageIndex:1,colour:4294967295},{x:424,y:632,index:24,id:100118,rotation:0,scaleX:13,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:528,y:624,index:24,id:100119,rotation:0,scaleX:5,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:304,y:720,index:24,id:100120,rotation:0,scaleX:13,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295}
,{x:424,y:696,index:24,id:100121,rotation:0,scaleX:18,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:424,y:704,index:24,id:100122,rotation:0,scaleX:0.5,scaleY:4,imageSpeed:1,imageIndex:0,colour:4294967295},{x:404,y:728,index:24,id:100123,rotation:0,scaleX:0.5,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:568,y:664,index:24,id:100124,rotation:0,scaleX:0.5,scaleY:5,imageSpeed:1,imageIndex:0,colour:4294967295},{x:416,y:640,index:18,id:100205,pPreCreateCode:gml_RoomCC_Room2_10_PreCreate,
rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:3,colour:4294967295},{x:352,y:497,index:38,id:100210,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:416,y:256,index:18,id:100206,pPreCreateCode:gml_RoomCC_Room2_12_PreCreate,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:3,colour:4294967295},{x:408,y:648,index:8,id:100211,pCode:gml_RoomCC_Room2_13_Create,pPreCreateCode:gml_RoomCC_Room2_13_PreCreate,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295}
,{x:280,y:400,index:19,id:100212,pPreCreateCode:gml_RoomCC_Room2_14_PreCreate,rotation:0,scaleX:1,scaleY:12,imageSpeed:1,imageIndex:0,colour:4294967295},{x:320,y:464,index:24,id:100125,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:240,y:496,index:24,id:100126,rotation:0,scaleX:19,scaleY:4,imageSpeed:1,imageIndex:1,colour:4294967295},{x:200,y:512,index:24,id:100127,rotation:0,scaleX:5,scaleY:13,imageSpeed:1,imageIndex:1,colour:4294967295},{x:300,y:624,index:24,id:100128,
rotation:0,scaleX:0.5,scaleY:12.999999046325684,imageSpeed:1,imageIndex:0,colour:4294967295},{x:240,y:584,index:24,id:100129,rotation:0,scaleX:8,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:304,y:568,index:24,id:100130,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:568,y:432,index:24,id:100131,rotation:0,scaleX:12,scaleY:29,imageSpeed:1,imageIndex:1,colour:4294967295},{x:320,y:464,index:24,id:100132,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,
colour:4294967295},{x:320,y:392,index:24,id:100133,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:160,y:384,index:24,id:100134,rotation:0,scaleX:75,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:360,y:400,index:24,id:100135,rotation:0,scaleX:15,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:368,y:424,index:24,id:100136,rotation:0,scaleX:13,scaleY:9,imageSpeed:1,imageIndex:1,colour:4294967295},{x:144,y:400,index:24,id:100137,rotation:0,scaleX:2,scaleY:58,
imageSpeed:1,imageIndex:1,colour:4294967295},{x:160,y:856,index:24,id:100138,rotation:0,scaleX:39,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:472,y:856,index:24,id:100139,rotation:0,scaleX:19,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:328,y:248,index:24,id:100140,rotation:0,scaleX:10,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:424,y:248,index:24,id:100141,rotation:0,scaleX:12,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:376,y:408,index:24,id:100142,
rotation:0,scaleX:11,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:656,y:672,index:24,id:100143,rotation:0,scaleX:4,scaleY:2,imageSpeed:1,imageIndex:0,colour:4294967295},{x:704,y:712,index:24,id:100144,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:624,y:752,index:24,id:100145,rotation:0,scaleX:17,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:616,y:752,index:24,id:100146,rotation:0,scaleX:1,scaleY:13,imageSpeed:1,imageIndex:1,colour:4294967295}
,{x:760,y:384,index:24,id:100147,rotation:0,scaleX:1,scaleY:47,imageSpeed:1,imageIndex:1,colour:4294967295},{x:296,y:104,index:18,id:100207,pPreCreateCode:gml_RoomCC_Room2_38_PreCreate,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:3,colour:4294967295},{x:808,y:144,index:18,id:100208,pPreCreateCode:gml_RoomCC_Room2_39_PreCreate,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:3,colour:4294967295},{x:472,y:432,index:24,id:100148,rotation:0,scaleX:12,scaleY:8,imageSpeed:1,imageIndex:1,colour:4294967295}
,{x:264,y:152,index:24,id:100149,rotation:0,scaleX:20,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:424,y:112,index:24,id:100150,rotation:0,scaleX:3,scaleY:12,imageSpeed:1,imageIndex:1,colour:4294967295},{x:400,y:112,index:24,id:100151,rotation:0,scaleX:3,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:464,y:112,index:24,id:100152,rotation:0,scaleX:21,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:512,y:152,index:24,id:100153,rotation:0,scaleX:1,scaleY:5,imageSpeed:1,
imageIndex:1,colour:4294967295},{x:512,y:216,index:24,id:100154,rotation:0,scaleX:1,scaleY:4,imageSpeed:1,imageIndex:1,colour:4294967295},{x:264,y:208,index:24,id:100155,rotation:0,scaleX:8,scaleY:6,imageSpeed:1,imageIndex:1,colour:4294967295},{x:256,y:160,index:24,id:100156,rotation:0,scaleX:1,scaleY:7,imageSpeed:1,imageIndex:1,colour:4294967295},{x:552,y:176,index:24,id:100157,rotation:0,scaleX:6,scaleY:2,imageSpeed:1,imageIndex:0,colour:4294967295},{x:528,y:176,index:24,id:100158,rotation:0,scaleX:1,
scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:608,y:176,index:24,id:100159,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:576,y:149,index:24,id:100160,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:520,y:224,index:24,id:100161,rotation:0,scaleX:15,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:632,y:112,index:24,id:100162,rotation:0,scaleX:1,scaleY:14,imageSpeed:1,imageIndex:1,colour:4294967295},{x:304,y:96,index:24,
id:100163,rotation:0,scaleX:12,scaleY:4,imageSpeed:1,imageIndex:1,colour:4294967295},{x:504,y:32,index:24,id:100164,rotation:0,scaleX:1,scaleY:10,imageSpeed:1,imageIndex:1,colour:4294967295},{x:400,y:32,index:24,id:100165,rotation:0,scaleX:13,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:272,y:48,index:24,id:100166,rotation:0,scaleX:16,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:264,y:96,index:24,id:100167,rotation:0,scaleX:3,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295}
,{x:264,y:48,index:24,id:100168,rotation:0,scaleX:1,scaleY:6,imageSpeed:1,imageIndex:1,colour:4294967295},{x:768,y:136,index:24,id:100169,rotation:0,scaleX:1,scaleY:9,imageSpeed:1,imageIndex:1,colour:4294967295},{x:776,y:120,index:24,id:100170,rotation:0,scaleX:3,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:832,y:128,index:24,id:100171,rotation:0,scaleX:13,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:928,y:168,index:24,id:100172,rotation:0,scaleX:1,scaleY:5,imageSpeed:1,imageIndex:1,
colour:4294967295},{x:952,y:128,index:24,id:100173,rotation:0,scaleX:8,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:1016,y:128,index:24,id:100174,rotation:0,scaleX:1,scaleY:15,imageSpeed:1,imageIndex:1,colour:4294967295},{x:768,y:208,index:24,id:100175,rotation:0,scaleX:8,scaleY:6,imageSpeed:1,imageIndex:1,colour:4294967295},{x:832,y:248,index:24,id:100176,rotation:0,scaleX:24,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:480,y:176,index:19,id:100213,pPreCreateCode:gml_RoomCC_Room2_69_PreCreate,
rotation:0,scaleX:8,scaleY:5,imageSpeed:1,imageIndex:0,colour:4294967295},{x:464,y:152,index:24,id:100177,rotation:0,scaleX:0.5,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:392,y:184,index:24,id:100178,rotation:0,scaleX:1,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:336,y:216,index:24,id:100179,rotation:0,scaleX:1,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:336,y:184,index:24,id:100180,rotation:0,scaleX:1,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},
{x:296,y:184,index:24,id:100181,rotation:0,scaleX:1,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:424,y:88,index:24,id:100182,rotation:0,scaleX:1,scaleY:1.5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:480,y:88,index:24,id:100183,rotation:0,scaleX:1,scaleY:1.5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:480,y:64,index:24,id:100184,rotation:0,scaleX:1,scaleY:1.5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:424,y:64,index:24,id:100185,rotation:0,scaleX:1,scaleY:1.5,imageSpeed:1,
imageIndex:1,colour:4294967295},{x:456,y:53,index:24,id:100186,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:288,y:95,index:21,id:100214,pCode:gml_RoomCC_Room2_80_Create,pPreCreateCode:gml_RoomCC_Room2_80_PreCreate,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:816,y:120,index:24,id:100187,rotation:0,scaleX:2,scaleY:5,imageSpeed:1,imageIndex:1,colour:4294967295},{x:872,y:176,index:24,id:100188,rotation:0,scaleX:6,scaleY:3,imageSpeed:1,
imageIndex:0,colour:4294967295},{x:856,y:176,index:24,id:100189,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:936,y:128,index:24,id:100190,rotation:0,scaleX:2,scaleY:10,imageSpeed:1,imageIndex:1,colour:4294967295},{x:976,y:168,index:24,id:100191,rotation:0,scaleX:2,scaleY:2,imageSpeed:1,imageIndex:0,colour:4294967295},{x:928,y:632,index:24,id:100192,rotation:0,scaleX:8,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:920,y:400,index:24,id:100193,rotation:0,
scaleX:1,scaleY:30,imageSpeed:1,imageIndex:1,colour:4294967295},{x:992,y:400,index:24,id:100194,rotation:0,scaleX:1,scaleY:30,imageSpeed:1,imageIndex:1,colour:4294967295},{x:928,y:408,index:24,id:100195,rotation:0,scaleX:8,scaleY:2,imageSpeed:1,imageIndex:1,colour:4294967295},{x:928,y:608,index:24,id:100196,rotation:0,scaleX:8,scaleY:2,imageSpeed:1,imageIndex:0,colour:4294967295},{x:976,y:168,index:1,id:100215,pPreCreateCode:gml_RoomCC_Room2_91_PreCreate,rotation:0,scaleX:2,scaleY:2,imageSpeed:1,
imageIndex:0,colour:4294967295},{x:960,y:560,index:42,id:100216,rotation:0,scaleX:7,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:408,y:264,index:24,id:100197,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:248,y:256,index:24,id:100198,rotation:0,scaleX:1,scaleY:16,imageSpeed:1,imageIndex:1,colour:4294967295},{x:632,y:768,index:24,id:100199,rotation:0,scaleX:1,scaleY:16,imageSpeed:1,imageIndex:1,colour:4294967295},{x:768,y:632,index:24,id:100200,rotation:0,
scaleX:16,scaleY:1,imageSpeed:1,imageIndex:1,colour:4294967295},{x:664,y:552,index:24,id:100201,rotation:0,scaleX:13,scaleY:3,imageSpeed:1,imageIndex:1,colour:4294967295},{x:440,y:710,index:24,id:100202,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:456,y:708,index:24,id:100203,rotation:0,scaleX:2,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:584,y:678,index:24,id:100204,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295},{x:400,y:232,
index:22,id:100217,rotation:0,scaleX:4,scaleY:3,imageSpeed:1,imageIndex:0,colour:4294967295},{x:400,y:648,index:13,id:100218,rotation:0,scaleX:4,scaleY:4,imageSpeed:1,imageIndex:0,colour:4294967295}],tiles:[],layers:[{pName:"solid",id:16,type:2,depth:-900,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:88,iinstIDs:[100117,100118,100119,100120,100121,100122,100123,100124,100125,100126,100127,100128,100129,100130,100131,100132,100133,100134,100135,100136,
100137,100138,100139,100140,100141,100142,100143,100144,100145,100146,100147,100148,100149,100150,100151,100152,100153,100154,100155,100156,100157,100158,100159,100160,100161,100162,100163,100164,100165,100166,100167,100168,100169,100170,100171,100172,100173,100174,100175,100176,100177,100178,100179,100180,100181,100182,100183,100184,100185,100186,100187,100188,100189,100190,100191,100192,100193,100194,100195,100196,100197,100198,100199,100200,100201,100202,100203,100204]},{pName:"Tiles_foreground",
id:17,type:4,depth:-800,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],tcount:16384,tMapWidth:128,tMapHeight:128,tIndex:0,ttiles:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306619,0,0,0,0,0,0,805306619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306619,0,0,0,0,0,0,805306619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306619,0,0,0,0,805306619,0,0,0,0,0,0,805306619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306619,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,805306619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,252,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,
20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,
0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,249,268435705,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536871162,805306618,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536871162,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,
34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536871162,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,
34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,34,34,34,34,34,34,34,34,34,34,34,
34,34,34,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,243,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,
138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,
138,138,138,138,138,138,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138]},{pName:"Instances_HUD",id:18,type:2,depth:-700,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:4,iinstIDs:[100205,100206,100207,100208]},
{pName:"LayPath1",id:19,type:0,depth:-600,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[]},{pName:"Instances",id:20,type:2,depth:-500,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:10,iinstIDs:[100209,100210,100211,100212,100213,100214,100215,100216,100217,100218]},{pName:"Assets_1",id:21,type:3,depth:-400,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],acount:0,assets:[],scount:1,
sprites:[{sName:"graphic_2F3A5D32",sIndex:34,sX:605,sY:146,sXScale:1,sYScale:0.6428571343421936,sBlend:-1,sImageSpeed:1,sImageIndex:0,sRotation:-14.213734}],ecount:0,sequences:[],pcount:0,particles:[],},{pName:"Tiles_outside",id:22,type:4,depth:0,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],tcount:16384,tMapWidth:128,tMapHeight:128,tIndex:0,ttiles:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,21,21,21,21,21,21,21,53,21,21,21,21,21,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,0,0,0,0,0,0,0,69,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306618,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,0,64,0,0,0,85,0,0,64,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,21,0,0,268435463,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306618,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,64,0,0,0,0,0,0,64,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742074,268435705,805306389,805306389,249,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,1073742074,250,0,0,21,0,0,0,0,0,0,21,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435462,4,5,3,4,5,0,0,4,5,3,4,5,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,131,132,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,21,21,21,22,23,21,21,21,21,21,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,147,148,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,38,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,163,164,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
536870919,22,23,64,64,64,64,64,64,252,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306618,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,131,132,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,38,39,64,64,64,64,64,64,252,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,0,0,64,64,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,536870919,64,64,64,147,148,64,64,64,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,536870919,22,23,21,21,21,21,21,21,252,21,21,21,21,21,21,21,53,21,21,21,21,21,21,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,64,64,64,0,0,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,536870919,21,21,21,163,164,21,21,21,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,536870919,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,536870919,38,39,0,0,0,0,0,0,252,0,0,0,0,0,0,0,69,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,21,21,21,0,0,21,21,64,64,64,64,64,64,64,64,64,64,64,64,268435463,0,536870919,0,0,0,131,132,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,268435463,0,536870919,22,23,0,0,0,0,0,0,251,0,0,0,
0,0,0,0,85,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,21,21,21,21,21,21,21,21,21,21,21,21,268435463,0,536870919,0,0,0,147,148,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,536870919,0,0,0,0,0,0,0,0,64,0,54,0,0,64,64,64,64,64,64,0,53,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,0,0,0,53,0,64,64,64,64,64,64,0,268435463,0,536870919,0,0,0,163,
164,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,1879048435,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,536870919,0,0,0,0,0,0,0,0,64,0,70,0,0,64,64,64,64,64,64,0,69,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,0,0,0,69,0,64,64,64,64,64,64,0,64,64,64,0,0,0,179,180,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,1879048434,0,0,0,64,0,0,0,0,64,0,0,0,0,0,0,64,0,0,0,1879048441,1610612743,
805306617,0,0,0,0,0,0,0,0,21,0,86,0,0,250,0,0,0,0,268435706,0,85,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,0,0,0,85,0,64,64,64,64,64,64,0,64,64,64,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,21,0,0,0,0,21,0,0,0,0,0,0,21,0,0,0,64,64,64,0,0,0,0,0,0,0,1073741845,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,268435706,0,64,64,64,0,0,0,
0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,805306611,805306610,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,0,0,0,0,0,0,0,1073741845,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870919,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,249,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,805306611,805306610,0,0,0,0,0,0,1879048438,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,246,246,246,246,246,246,246,246,246,246,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306611,805306610,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,246,268435705,805306389,805306389,249,246,246,246,246,246,246,246,
246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,250,268435706,28,28,28,250,0,0,0,0,
0,0,0,0,0,0,0,0,0,268435706,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,250,268435706,28,28,28,536871161,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,805306617,
28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,250,268435706,246,246,246,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,
246,246,246,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,64,64,64,64,64,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,268435706,0,0,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,64,64,64,64,64,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536871161,
805306617,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,21,21,21,21,21,21,97,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,0,0,0,0,240,245,240,240,240,240,245,240,240,245,240,240,245,240,240,245,240,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,242,240,241,241,240,240,241,240,242,240,241,242,240,240,240,241,241,242,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,245,241,240,240,240,240,240,240,245,241,240,245,241,240,240,240,240,245,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,
14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,243,244,244,240,240,240,249,235,268435705,244,240,243,240,240,240,244,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,240,241,245,240,240,245,536871161,251,1342177529,240,240,245,240,240,245,240,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,241,240,240,240,242,240,240,240,241,240,242,240,240,242,240,240,242,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,241,240,241,242,240,245,241,240,240,240,240,245,241,240,245,241,240,245,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,243,244,240,240,241,240,243,240,240,240,241,240,243,241,240,243,241,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,536870941,12,12,12,12,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,28,28,28,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,28,28,28,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,225,240,240,241,240,242,240,241,242,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,28,28,28,28,28,
28,28,28,28,28,28,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1073741836,0,0,0,0,225,240,240,240,240,245,241,240,245,241,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,246,246,246,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,
1073741836,0,0,0,0,225,240,240,240,249,268435705,243,244,240,243,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,240,245,240,240,245,240,240,245,240,240,240,240,245,240,245,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,1879048441,12,12,12,12,225,240,240,245,536871161,1342177529,245,240,240,245,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,241,242,240,241,
241,240,240,240,241,240,242,240,245,240,245,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,28,28,28,28,28,225,240,242,240,240,240,241,240,242,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,245,241,240,240,240,240,240,240,240,245,240,240,241,240,241,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,147,148,0,0,268435706,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,13,28,28,28,28,28,225,240,245,241,240,240,240,240,249,246,225,240,240,245,240,240,245,240,240,245,240,240,240,245,240,240,245,240,245,240,240,245,240,240,245,224,244,240,243,244,244,240,240,240,240,241,240,241,241,243,241,243,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,249,163,164,1073742073,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,29,246,246,246,246,246,
225,241,240,243,240,240,240,241,250,0,225,240,240,241,240,242,240,241,242,240,241,240,240,241,240,242,240,241,240,240,240,241,240,242,240,224,240,240,240,241,245,240,240,244,243,245,242,245,243,240,243,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,1879048441,805306614,805306614,805306617,0,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,250,0,225,240,240,240,240,245,241,240,245,241,
240,240,240,240,240,245,241,240,240,240,240,240,240,245,241,224,226,240,241,240,240,244,249,268435705,240,240,240,240,240,240,240,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048441,1879048442,1879048442,1879048442,1879048442,1879048442,1879048442,805306617,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,225,240,240,240,241,240,243,244,240,243,244,240,240,240,241,240,243,244,240,240,240,240,241,240,243,
224,226,241,240,241,242,241,536871161,1342177529,242,240,243,240,241,240,241,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,225,240,240,245,240,240,245,240,240,245,240,240,243,240,244,240,245,240,244,243,240,240,245,242,240,224,226,243,244,240,240,243,240,240,241,240,242,240,240,240,240,240,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,225,240,242,240,240,240,241,240,242,240,241,247,248,245,240,240,244,249,268435705,240,241,240,240,240,240,224,246,246,246,246,1073742073,240,245,240,240,245,240,245,244,241,244,241,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,250,0,225,240,245,241,240,240,240,240,245,241,240,250,268435706,240,240,245,241,1610612984,1342177529,242,240,241,240,243,240,224,0,0,0,0,7,242,240,240,240,241,240,241,240,242,240,242,224,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,225,241,240,243,240,240,240,241,240,243,244,250,268435706,241,240,240,243,240,240,241,240,240,240,242,240,224,
0,0,0,0,7,246,246,246,246,246,246,246,246,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,0,0,0,0,7,0,0,53,0,0,0,0,0,0,0,0,100,101,102,103,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,69,0,0,0,0,0,0,0,0,116,117,118,119,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,5,3,4,5,3,4,5,3,4,5,3,4,5,3,4,5,6,0,0,85,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,7,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,9,11,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,53,0,268435521,65,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,25,27,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435462,4,4,5,3,4,5,3,4,5,3,4,5,0,7,0,0,69,0,268435537,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,41,43,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,21,21,21,21,21,21,21,21,21,21,22,23,0,0,85,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,38,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,536870941,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,17,17,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,28,
28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,14,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1879048204,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,536870942,0,805306398,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1073741836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,13,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,
28,28,28,14,0,13,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,29,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,30,0,29,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,246,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{pName:"Tiles_inside",id:23,type:4,depth:100,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,
effectType:"",effectProperties:[],tcount:16384,tMapWidth:128,tMapHeight:128,tIndex:0,ttiles:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,4,5,3,4,5,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435462,
4,5,3,4,5,0,0,0,0,0,0,0,0,268435463,0,0,0,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,21,21,21,21,22,23,0,0,0,0,0,0,268435463,0,0,0,0,249,268435705,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,38,39,0,0,0,0,0,0,268435463,0,0,0,0,250,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22,23,0,0,0,0,0,0,268435463,0,0,0,805306614,1879048441,1342177529,805306614,805306614,805306614,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,249,268435705,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,38,39,4,5,3,4,5,4,268435463,0,0,0,0,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,268435706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22,23,21,21,21,21,21,21,268435463,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,805306614,805306614,805306614,805306614,805306614,805306614,1879048441,1342177529,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,805306614,38,39,0,249,268435705,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,0,0,21,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22,23,0,250,268435706,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435706,805306614,1879048441,
1342177529,805306614,805306614,805306614,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,1879048435,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,21,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,1073742070,1879048434,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073741845,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073742070,0,805306611,805306610,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1073741845,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,250,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,805306611,805306610,0,0,0,0,0,268435463,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,246,246,246,246,246,246,246,246,268435705,805306389,805306389,249,246,246,246,246,246,246,246,246,246,246,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{pName:"Background",id:24,type:1,depth:200,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],bvisible:true,bforeground:false,bindex:-1,bhtiled:false,bvtiled:false,bstretch:false,
bblend:-14284024,bimage_index:0,bimage_speed:15},{pName:"controller",id:25,type:2,depth:300,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:1,iinstIDs:[100219]}]},{pName:"rm_patreon",width:128,height:128,speed:0,colour:0,LayerCount:2,showColour:false,enableViews:true,viewClearScreen:false,backgrounds:[],views:[{visible:true,wview:128,hview:128,wport:256,hport:256},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},
{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768},{wview:1366,hview:768,wport:1366,hport:768}],pInstances:[{x:0,y:0,index:32,id:100220,rotation:0,scaleX:1,scaleY:1,imageSpeed:1,imageIndex:0,colour:4294967295}],tiles:[],layers:[{pName:"Instances",id:26,type:2,depth:0,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],icount:1,iinstIDs:[100220]}
,{pName:"Background",id:27,type:1,depth:100,x:0,y:0,hspeed:0,vspeed:0,visible:1,effectEnabled:1,effectType:"",effectProperties:[],bvisible:true,bforeground:false,bindex:-1,bhtiled:false,bvtiled:false,bstretch:false,bblend:-14284024,bimage_index:0,bimage_speed:30}]}],RoomOrder:[0,1,2,3,4,5],TPageEntries:[{x:0,y:0,w:64,h:64,XOffset:0,YOffset:0,CropWidth:64,CropHeight:64,ow:64,oh:64,tp:0},{x:4,y:4,w:192,h:192,XOffset:0,YOffset:0,CropWidth:192,CropHeight:192,ow:192,oh:192,tp:1},{x:0,y:4,w:256,h:128,
XOffset:0,YOffset:0,CropWidth:256,CropHeight:128,ow:256,oh:128,tp:2},{x:2,y:0,w:128,h:256,XOffset:0,YOffset:0,CropWidth:128,CropHeight:256,ow:128,oh:256,tp:3},{x:2,y:2,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:4},{x:0,y:2,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:5},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:6},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,
oh:128,tp:7},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:8},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:9},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:10},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:24},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:11},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,
CropWidth:128,CropHeight:128,ow:128,oh:128,tp:12},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:13},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:24},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:14},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:15},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:16}
,{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:17},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:18},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:19},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:20},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:21},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,
CropHeight:128,ow:128,oh:128,tp:22},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:23},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:24},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:25},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:26},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:27},{x:0,y:0,
w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:28},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:29},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:30},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:31},{x:0,y:0,w:128,h:128,XOffset:0,YOffset:0,CropWidth:128,CropHeight:128,ow:128,oh:128,tp:32},{x:4,y:140,w:64,h:64,XOffset:0,YOffset:0,CropWidth:64,
CropHeight:64,ow:64,oh:64,tp:2},{x:76,y:140,w:64,h:64,XOffset:0,YOffset:0,CropWidth:64,CropHeight:64,ow:64,oh:64,tp:2},{x:148,y:140,w:64,h:64,XOffset:0,YOffset:0,CropWidth:64,CropHeight:64,ow:64,oh:64,tp:2},{x:136,y:4,w:64,h:64,XOffset:0,YOffset:0,CropWidth:64,CropHeight:64,ow:64,oh:64,tp:3},{x:136,y:76,w:62,h:62,XOffset:1,YOffset:1,CropWidth:62,CropHeight:62,ow:64,oh:64,tp:3},{x:136,y:146,w:62,h:62,XOffset:1,YOffset:1,CropWidth:62,CropHeight:62,ow:64,oh:64,tp:3},{x:4,y:136,w:62,h:62,XOffset:1,YOffset:1,
CropWidth:62,CropHeight:62,ow:64,oh:64,tp:4},{x:74,y:136,w:62,h:62,XOffset:1,YOffset:1,CropWidth:62,CropHeight:62,ow:64,oh:64,tp:4},{x:144,y:4,w:60,h:64,XOffset:2,YOffset:0,CropWidth:60,CropHeight:64,ow:64,oh:64,tp:4},{x:144,y:76,w:61,h:61,XOffset:2,YOffset:2,CropWidth:61,CropHeight:61,ow:64,oh:64,tp:4},{x:144,y:145,w:62,h:60,XOffset:1,YOffset:1,CropWidth:62,CropHeight:60,ow:64,oh:64,tp:4},{x:4,y:136,w:57,h:57,XOffset:3,YOffset:4,CropWidth:57,CropHeight:57,ow:64,oh:64,tp:5},{x:4,y:204,w:62,h:10,
XOffset:1,YOffset:27,CropWidth:62,CropHeight:10,ow:64,oh:64,tp:1},{x:72,y:202,w:16,h:34,XOffset:0,YOffset:0,CropWidth:16,CropHeight:34,ow:16,oh:34,tp:1},{x:92,y:202,w:32,h:16,XOffset:0,YOffset:0,CropWidth:32,CropHeight:16,ow:32,oh:16,tp:1},{x:2,y:220,w:16,h:24,XOffset:0,YOffset:0,CropWidth:16,CropHeight:24,ow:16,oh:24,tp:1},{x:128,y:202,w:16,h:20,XOffset:0,YOffset:14,CropWidth:16,CropHeight:20,ow:16,oh:34,tp:1},{x:22,y:220,w:14,h:18,XOffset:12,YOffset:7,CropWidth:14,CropHeight:18,ow:32,oh:32,tp:1}
,{x:148,y:202,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:92,y:222,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:40,y:220,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:167,y:202,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:148,y:222,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:167,y:222,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,
ow:15,oh:16,tp:1},{x:111,y:226,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:186,y:202,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:205,y:2,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:205,y:22,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:205,y:42,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:205,y:62,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,
CropHeight:16,ow:15,oh:16,tp:1},{x:205,y:82,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:205,y:102,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:205,y:122,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:205,y:142,w:15,h:16,XOffset:0,YOffset:0,CropWidth:15,CropHeight:16,ow:15,oh:16,tp:1},{x:205,y:162,w:13,h:18,XOffset:12,YOffset:7,CropWidth:13,CropHeight:18,ow:32,oh:32,tp:1},{x:205,y:162,w:13,h:18,XOffset:12,
YOffset:7,CropWidth:13,CropHeight:18,ow:32,oh:32,tp:1},{x:205,y:184,w:12,h:18,XOffset:12,YOffset:8,CropWidth:12,CropHeight:18,ow:32,oh:32,tp:1},{x:205,y:206,w:12,h:18,XOffset:12,YOffset:7,CropWidth:12,CropHeight:18,ow:32,oh:32,tp:1},{x:186,y:222,w:10,h:21,XOffset:11,YOffset:6,CropWidth:10,CropHeight:21,ow:32,oh:32,tp:1},{x:200,y:228,w:10,h:21,XOffset:11,YOffset:6,CropWidth:10,CropHeight:21,ow:32,oh:32,tp:1},{x:224,y:2,w:10,h:21,XOffset:11,YOffset:6,CropWidth:10,CropHeight:21,ow:32,oh:32,tp:1},{x:224,
y:27,w:14,h:14,XOffset:0,YOffset:0,CropWidth:14,CropHeight:14,ow:14,oh:14,tp:1},{x:238,y:2,w:16,h:12,XOffset:0,YOffset:0,CropWidth:16,CropHeight:12,ow:16,oh:12,tp:1},{x:242,y:18,w:10,h:18,XOffset:11,YOffset:7,CropWidth:10,CropHeight:18,ow:32,oh:32,tp:1},{x:242,y:40,w:10,h:18,XOffset:11,YOffset:7,CropWidth:10,CropHeight:18,ow:32,oh:32,tp:1},{x:224,y:62,w:10,h:18,XOffset:11,YOffset:7,CropWidth:10,CropHeight:18,ow:32,oh:32,tp:1},{x:224,y:84,w:10,h:18,XOffset:11,YOffset:7,CropWidth:10,CropHeight:18,
ow:32,oh:32,tp:1},{x:224,y:106,w:10,h:18,XOffset:11,YOffset:7,CropWidth:10,CropHeight:18,ow:32,oh:32,tp:1},{x:224,y:128,w:10,h:18,XOffset:11,YOffset:7,CropWidth:10,CropHeight:18,ow:32,oh:32,tp:1},{x:224,y:150,w:10,h:18,XOffset:11,YOffset:7,CropWidth:10,CropHeight:18,ow:32,oh:32,tp:1},{x:222,y:172,w:10,h:18,XOffset:11,YOffset:7,CropWidth:10,CropHeight:18,ow:32,oh:32,tp:1},{x:221,y:194,w:10,h:18,XOffset:11,YOffset:7,CropWidth:10,CropHeight:18,ow:32,oh:32,tp:1},{x:221,y:216,w:9,h:20,XOffset:12,YOffset:7,
CropWidth:9,CropHeight:20,ow:32,oh:32,tp:1},{x:238,y:62,w:9,h:20,XOffset:11,YOffset:7,CropWidth:9,CropHeight:20,ow:32,oh:32,tp:1},{x:238,y:86,w:9,h:20,XOffset:11,YOffset:7,CropWidth:9,CropHeight:20,ow:32,oh:32,tp:1},{x:238,y:110,w:10,h:17,XOffset:11,YOffset:8,CropWidth:10,CropHeight:17,ow:32,oh:32,tp:1},{x:238,y:131,w:10,h:17,XOffset:11,YOffset:8,CropWidth:10,CropHeight:17,ow:32,oh:32,tp:1},{x:238,y:152,w:10,h:17,XOffset:11,YOffset:8,CropWidth:10,CropHeight:17,ow:32,oh:32,tp:1},{x:236,y:173,w:10,
h:17,XOffset:11,YOffset:8,CropWidth:10,CropHeight:17,ow:32,oh:32,tp:1},{x:235,y:194,w:10,h:17,XOffset:11,YOffset:8,CropWidth:10,CropHeight:17,ow:32,oh:32,tp:1},{x:234,y:216,w:10,h:17,XOffset:11,YOffset:8,CropWidth:10,CropHeight:17,ow:32,oh:32,tp:1},{x:130,y:226,w:8,h:21,XOffset:12,YOffset:5,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:1},{x:59,y:220,w:8,h:21,XOffset:12,YOffset:5,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:1},{x:218,y:138,w:8,h:21,XOffset:12,YOffset:5,CropWidth:8,CropHeight:21,ow:32,oh:32,
tp:2},{x:218,y:138,w:8,h:21,XOffset:12,YOffset:5,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:2},{x:242,y:138,w:8,h:21,XOffset:12,YOffset:6,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:2},{x:230,y:138,w:8,h:21,XOffset:12,YOffset:6,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:2},{x:218,y:163,w:8,h:21,XOffset:12,YOffset:6,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:2},{x:242,y:138,w:8,h:21,XOffset:12,YOffset:6,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:2},{x:230,y:163,w:8,h:21,XOffset:11,YOffset:6,CropWidth:8,CropHeight:21,
ow:32,oh:32,tp:2},{x:242,y:163,w:8,h:21,XOffset:11,YOffset:6,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:2},{x:2,y:210,w:8,h:21,XOffset:11,YOffset:6,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:2},{x:14,y:210,w:8,h:21,XOffset:13,YOffset:6,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:2},{x:14,y:210,w:8,h:21,XOffset:13,YOffset:6,CropWidth:8,CropHeight:21,ow:32,oh:32,tp:2},{x:26,y:210,w:9,h:18,XOffset:11,YOffset:7,CropWidth:9,CropHeight:18,ow:32,oh:32,tp:2},{x:26,y:232,w:9,h:18,XOffset:11,YOffset:7,CropWidth:9,
CropHeight:18,ow:32,oh:32,tp:2},{x:2,y:235,w:9,h:18,XOffset:11,YOffset:7,CropWidth:9,CropHeight:18,ow:32,oh:32,tp:2},{x:39,y:210,w:9,h:18,XOffset:12,YOffset:7,CropWidth:9,CropHeight:18,ow:32,oh:32,tp:2},{x:39,y:210,w:9,h:18,XOffset:12,YOffset:7,CropWidth:9,CropHeight:18,ow:32,oh:32,tp:2},{x:234,y:237,w:9,h:17,XOffset:12,YOffset:8,CropWidth:9,CropHeight:17,ow:32,oh:32,tp:1},{x:39,y:232,w:9,h:17,XOffset:11,YOffset:8,CropWidth:9,CropHeight:17,ow:32,oh:32,tp:2},{x:52,y:210,w:9,h:17,XOffset:11,YOffset:8,
CropWidth:9,CropHeight:17,ow:32,oh:32,tp:2},{x:52,y:231,w:9,h:17,XOffset:12,YOffset:8,CropWidth:9,CropHeight:17,ow:32,oh:32,tp:2},{x:65,y:210,w:9,h:17,XOffset:11,YOffset:8,CropWidth:9,CropHeight:17,ow:32,oh:32,tp:2},{x:65,y:231,w:9,h:17,XOffset:11,YOffset:8,CropWidth:9,CropHeight:17,ow:32,oh:32,tp:2},{x:78,y:210,w:9,h:17,XOffset:12,YOffset:8,CropWidth:9,CropHeight:17,ow:32,oh:32,tp:2},{x:78,y:231,w:9,h:17,XOffset:11,YOffset:8,CropWidth:9,CropHeight:17,ow:32,oh:32,tp:2},{x:91,y:210,w:9,h:17,XOffset:11,
YOffset:8,CropWidth:9,CropHeight:17,ow:32,oh:32,tp:2},{x:91,y:231,w:7,h:21,XOffset:13,YOffset:5,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:102,y:231,w:7,h:21,XOffset:13,YOffset:5,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:113,y:210,w:7,h:21,XOffset:13,YOffset:5,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:113,y:210,w:7,h:21,XOffset:13,YOffset:5,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:146,y:210,w:7,h:21,XOffset:12,YOffset:6,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:124,y:210,
w:7,h:21,XOffset:12,YOffset:6,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:135,y:210,w:7,h:21,XOffset:12,YOffset:6,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:146,y:210,w:7,h:21,XOffset:12,YOffset:6,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:157,y:210,w:7,h:21,XOffset:13,YOffset:6,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:157,y:210,w:7,h:21,XOffset:13,YOffset:6,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:168,y:210,w:7,h:21,XOffset:12,YOffset:6,CropWidth:7,CropHeight:21,ow:32,oh:32,
tp:2},{x:168,y:210,w:7,h:21,XOffset:12,YOffset:6,CropWidth:7,CropHeight:21,ow:32,oh:32,tp:2},{x:179,y:210,w:8,h:18,XOffset:0,YOffset:0,CropWidth:8,CropHeight:18,ow:8,oh:18,tp:2},{x:191,y:210,w:9,h:16,XOffset:12,YOffset:9,CropWidth:9,CropHeight:16,ow:32,oh:32,tp:2},{x:204,y:210,w:9,h:16,XOffset:11,YOffset:9,CropWidth:9,CropHeight:16,ow:32,oh:32,tp:2},{x:217,y:210,w:9,h:16,XOffset:11,YOffset:9,CropWidth:9,CropHeight:16,ow:32,oh:32,tp:2},{x:230,y:188,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,
ow:32,oh:32,tp:2},{x:218,y:188,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:242,y:188,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:230,y:210,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:242,y:210,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:113,y:235,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:125,y:235,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,
CropHeight:18,ow:32,oh:32,tp:2},{x:137,y:235,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:149,y:235,w:8,h:18,XOffset:11,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:161,y:235,w:8,h:18,XOffset:11,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:173,y:235,w:8,h:18,XOffset:11,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:185,y:232,w:8,h:18,XOffset:13,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:185,y:232,w:8,h:18,XOffset:13,
YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:197,y:232,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:209,y:232,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:221,y:232,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:233,y:232,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:245,y:232,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:2},{x:134,y:214,
w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:146,y:214,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:134,y:236,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:158,y:214,w:8,h:18,XOffset:11,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:146,y:236,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:146,y:236,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,
tp:3},{x:170,y:214,w:8,h:18,XOffset:11,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:158,y:236,w:8,h:18,XOffset:11,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:170,y:236,w:8,h:18,XOffset:13,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:182,y:214,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:182,y:214,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:170,y:236,w:8,h:18,XOffset:13,YOffset:7,CropWidth:8,CropHeight:18,
ow:32,oh:32,tp:3},{x:194,y:214,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:194,y:214,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:182,y:236,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:194,y:236,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:2,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:24,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,
CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:46,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:68,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:90,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:112,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:134,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:156,w:8,h:18,XOffset:12,YOffset:6,
CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:178,w:8,h:18,XOffset:12,YOffset:6,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:200,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:206,y:222,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:2,w:8,h:18,XOffset:12,YOffset:8,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:24,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:46,w:8,h:18,XOffset:12,
YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:68,w:8,h:18,XOffset:12,YOffset:8,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:90,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:112,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:134,w:8,h:18,XOffset:12,YOffset:8,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:156,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:178,
w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:200,w:8,h:18,XOffset:12,YOffset:8,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:218,y:222,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:230,y:2,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:230,y:2,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:230,y:24,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3}
,{x:230,y:24,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:230,y:46,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:230,y:46,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:230,y:68,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:230,y:68,w:8,h:18,XOffset:12,YOffset:7,CropWidth:8,CropHeight:18,ow:32,oh:32,tp:3},{x:230,y:90,w:9,h:16,XOffset:12,YOffset:9,CropWidth:9,CropHeight:16,ow:32,
oh:32,tp:3},{x:243,y:2,w:9,h:16,XOffset:11,YOffset:9,CropWidth:9,CropHeight:16,ow:32,oh:32,tp:3},{x:243,y:22,w:9,h:16,XOffset:11,YOffset:9,CropWidth:9,CropHeight:16,ow:32,oh:32,tp:3},{x:243,y:42,w:7,h:20,XOffset:12,YOffset:7,CropWidth:7,CropHeight:20,ow:32,oh:32,tp:3},{x:243,y:66,w:7,h:20,XOffset:12,YOffset:7,CropWidth:7,CropHeight:20,ow:32,oh:32,tp:3},{x:243,y:90,w:7,h:20,XOffset:12,YOffset:7,CropWidth:7,CropHeight:20,ow:32,oh:32,tp:3},{x:230,y:114,w:7,h:20,XOffset:13,YOffset:7,CropWidth:7,CropHeight:20,
ow:32,oh:32,tp:3},{x:230,y:114,w:7,h:20,XOffset:13,YOffset:7,CropWidth:7,CropHeight:20,ow:32,oh:32,tp:3},{x:230,y:138,w:8,h:17,XOffset:12,YOffset:7,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:3},{x:242,y:114,w:8,h:17,XOffset:12,YOffset:7,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:3},{x:242,y:135,w:8,h:17,XOffset:12,YOffset:7,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:3},{x:242,y:156,w:8,h:17,XOffset:12,YOffset:7,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:3},{x:230,y:177,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,
CropHeight:17,ow:32,oh:32,tp:3},{x:230,y:198,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:3},{x:230,y:219,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:3},{x:242,y:177,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:3},{x:242,y:198,w:8,h:17,XOffset:11,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:3},{x:242,y:219,w:8,h:17,XOffset:11,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:3},{x:212,y:2,w:8,h:17,XOffset:11,YOffset:8,
CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:224,y:2,w:8,h:17,XOffset:13,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:224,y:2,w:8,h:17,XOffset:13,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:212,y:23,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:224,y:23,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:236,y:2,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:224,y:23,w:8,h:17,XOffset:12,
YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:212,y:44,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:212,y:44,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:236,y:23,w:8,h:17,XOffset:12,YOffset:7,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:224,y:44,w:8,h:17,XOffset:12,YOffset:7,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:212,y:65,w:8,h:17,XOffset:12,YOffset:7,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:236,y:44,w:8,
h:17,XOffset:12,YOffset:7,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:224,y:65,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:212,y:86,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:236,y:65,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:224,y:86,w:8,h:17,XOffset:12,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:212,y:107,w:8,h:17,XOffset:11,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4}
,{x:236,y:86,w:8,h:17,XOffset:11,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:224,y:107,w:8,h:17,XOffset:11,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:212,y:128,w:8,h:17,XOffset:13,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:212,y:128,w:8,h:17,XOffset:13,YOffset:8,CropWidth:8,CropHeight:17,ow:32,oh:32,tp:4},{x:214,y:240,w:16,h:8,XOffset:0,YOffset:0,CropWidth:16,CropHeight:8,ow:16,oh:8,tp:1},{x:15,y:235,w:7,h:18,XOffset:13,YOffset:6,CropWidth:7,CropHeight:18,
ow:32,oh:32,tp:2},{x:236,y:107,w:7,h:18,XOffset:13,YOffset:6,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:212,y:149,w:7,h:18,XOffset:13,YOffset:6,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:247,y:107,w:7,h:18,XOffset:13,YOffset:6,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:224,y:128,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:212,y:171,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:235,y:129,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,
CropHeight:18,ow:32,oh:32,tp:4},{x:246,y:129,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:223,y:150,w:7,h:18,XOffset:13,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:234,y:151,w:7,h:18,XOffset:13,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:245,y:151,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:223,y:172,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:234,y:173,w:7,h:18,XOffset:12,
YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:245,y:173,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:2,y:211,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:2,y:233,w:7,h:18,XOffset:13,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:13,y:211,w:7,h:18,XOffset:13,YOffset:6,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:13,y:233,w:7,h:18,XOffset:13,YOffset:6,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:24,y:211,w:7,h:18,
XOffset:13,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:24,y:233,w:7,h:18,XOffset:13,YOffset:6,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:35,y:211,w:7,h:18,XOffset:13,YOffset:6,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:35,y:233,w:7,h:18,XOffset:12,YOffset:8,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:46,y:211,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:46,y:233,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:57,
y:211,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:57,y:233,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:68,y:211,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:68,y:211,w:7,h:18,XOffset:12,YOffset:7,CropWidth:7,CropHeight:18,ow:32,oh:32,tp:4},{x:248,y:215,w:6,h:21,XOffset:13,YOffset:6,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:1},{x:68,y:233,w:6,h:21,XOffset:13,YOffset:6,CropWidth:6,CropHeight:21,ow:32,oh:32,
tp:4},{x:78,y:233,w:6,h:21,XOffset:13,YOffset:6,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:4},{x:79,y:204,w:6,h:21,XOffset:13,YOffset:6,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:4},{x:88,y:229,w:6,h:21,XOffset:13,YOffset:7,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:4},{x:89,y:204,w:6,h:21,XOffset:13,YOffset:7,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:4},{x:98,y:229,w:6,h:21,XOffset:13,YOffset:7,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:4},{x:99,y:204,w:6,h:21,XOffset:13,YOffset:7,CropWidth:6,CropHeight:21,
ow:32,oh:32,tp:4},{x:108,y:229,w:6,h:21,XOffset:13,YOffset:6,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:4},{x:108,y:229,w:6,h:21,XOffset:13,YOffset:6,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:4},{x:109,y:204,w:6,h:21,XOffset:12,YOffset:6,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:4},{x:109,y:204,w:6,h:21,XOffset:12,YOffset:6,CropWidth:6,CropHeight:21,ow:32,oh:32,tp:4},{x:118,y:229,w:7,h:17,XOffset:13,YOffset:7,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:119,y:204,w:7,h:17,XOffset:13,YOffset:7,CropWidth:7,
CropHeight:17,ow:32,oh:32,tp:4},{x:129,y:225,w:7,h:17,XOffset:13,YOffset:7,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:130,y:204,w:7,h:17,XOffset:13,YOffset:7,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:140,y:225,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:151,y:211,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:151,y:232,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:162,y:211,w:7,h:17,XOffset:12,
YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:162,y:232,w:7,h:17,XOffset:13,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:162,y:232,w:7,h:17,XOffset:13,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:173,y:211,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:173,y:211,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:173,y:232,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:173,y:232,
w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:184,y:211,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:184,y:211,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:184,y:232,w:7,h:17,XOffset:13,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:184,y:232,w:7,h:17,XOffset:13,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:195,y:232,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,
tp:4},{x:195,y:211,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:195,y:232,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:206,y:211,w:7,h:17,XOffset:13,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:206,y:211,w:7,h:17,XOffset:13,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:217,y:195,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:217,y:216,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,
ow:32,oh:32,tp:4},{x:206,y:232,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:217,y:237,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:228,y:195,w:7,h:17,XOffset:13,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:228,y:195,w:7,h:17,XOffset:13,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:228,y:216,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,CropHeight:17,ow:32,oh:32,tp:4},{x:228,y:216,w:7,h:17,XOffset:12,YOffset:8,CropWidth:7,
CropHeight:17,ow:32,oh:32,tp:4},{x:71,y:240,w:9,h:13,XOffset:13,YOffset:8,CropWidth:9,CropHeight:13,ow:32,oh:32,tp:1},{x:228,y:237,w:7,h:16,XOffset:12,YOffset:9,CropWidth:7,CropHeight:16,ow:32,oh:32,tp:4},{x:239,y:195,w:7,h:16,XOffset:12,YOffset:9,CropWidth:7,CropHeight:16,ow:32,oh:32,tp:4},{x:239,y:215,w:7,h:16,XOffset:12,YOffset:9,CropWidth:7,CropHeight:16,ow:32,oh:32,tp:4},{x:239,y:235,w:7,h:16,XOffset:13,YOffset:9,CropWidth:7,CropHeight:16,ow:32,oh:32,tp:4},{x:239,y:235,w:7,h:16,XOffset:13,YOffset:9,
CropWidth:7,CropHeight:16,ow:32,oh:32,tp:4},{x:13,y:199,w:7,h:16,XOffset:12,YOffset:9,CropWidth:7,CropHeight:16,ow:32,oh:32,tp:5},{x:2,y:199,w:7,h:16,XOffset:12,YOffset:9,CropWidth:7,CropHeight:16,ow:32,oh:32,tp:5},{x:13,y:199,w:7,h:16,XOffset:12,YOffset:9,CropWidth:7,CropHeight:16,ow:32,oh:32,tp:5},{x:2,y:219,w:7,h:16,XOffset:13,YOffset:9,CropWidth:7,CropHeight:16,ow:32,oh:32,tp:5},{x:2,y:219,w:7,h:16,XOffset:13,YOffset:9,CropWidth:7,CropHeight:16,ow:32,oh:32,tp:5},{x:248,y:2,w:6,h:18,XOffset:13,
YOffset:7,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:4},{x:248,y:24,w:6,h:18,XOffset:13,YOffset:7,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:4},{x:248,y:46,w:6,h:18,XOffset:13,YOffset:7,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:4},{x:248,y:68,w:6,h:18,XOffset:13,YOffset:7,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:4},{x:24,y:199,w:6,h:18,XOffset:13,YOffset:8,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},{x:34,y:199,w:6,h:18,XOffset:13,YOffset:8,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},{x:13,y:219,w:6,
h:18,XOffset:13,YOffset:8,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},{x:44,y:199,w:6,h:18,XOffset:13,YOffset:7,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},{x:23,y:221,w:6,h:18,XOffset:13,YOffset:7,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},{x:54,y:199,w:6,h:18,XOffset:13,YOffset:7,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},{x:33,y:221,w:6,h:18,XOffset:13,YOffset:7,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},{x:43,y:221,w:6,h:18,XOffset:13,YOffset:8,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},
{x:53,y:221,w:6,h:18,XOffset:12,YOffset:8,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},{x:63,y:221,w:6,h:18,XOffset:13,YOffset:8,CropWidth:6,CropHeight:18,ow:32,oh:32,tp:5},{x:64,y:199,w:6,h:17,XOffset:13,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:67,y:134,w:6,h:17,XOffset:13,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:74,y:155,w:6,h:17,XOffset:13,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:77,y:134,w:6,h:17,XOffset:13,YOffset:9,CropWidth:6,CropHeight:17,ow:32,
oh:32,tp:5},{x:87,y:134,w:6,h:17,XOffset:13,YOffset:9,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:97,y:134,w:6,h:17,XOffset:13,YOffset:9,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:107,y:134,w:6,h:17,XOffset:13,YOffset:9,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:117,y:134,w:6,h:17,XOffset:13,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:117,y:134,w:6,h:17,XOffset:13,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:84,y:155,w:6,h:17,XOffset:13,YOffset:8,CropWidth:6,CropHeight:17,
ow:32,oh:32,tp:5},{x:94,y:155,w:6,h:17,XOffset:13,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:104,y:155,w:6,h:17,XOffset:14,YOffset:7,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:114,y:155,w:6,h:17,XOffset:14,YOffset:7,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:67,y:176,w:6,h:17,XOffset:14,YOffset:7,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:67,y:176,w:6,h:17,XOffset:14,YOffset:7,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:74,y:197,w:6,h:17,XOffset:13,YOffset:9,CropWidth:6,
CropHeight:17,ow:32,oh:32,tp:5},{x:77,y:176,w:6,h:17,XOffset:13,YOffset:9,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:84,y:197,w:6,h:17,XOffset:13,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:84,y:197,w:6,h:17,XOffset:13,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:87,y:176,w:6,h:17,XOffset:12,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:87,y:176,w:6,h:17,XOffset:12,YOffset:8,CropWidth:6,CropHeight:17,ow:32,oh:32,tp:5},{x:40,y:240,w:10,h:10,XOffset:0,YOffset:0,
CropWidth:10,CropHeight:10,ow:10,oh:10,tp:1},{x:97,y:176,w:5,h:18,XOffset:13,YOffset:8,CropWidth:5,CropHeight:18,ow:32,oh:32,tp:5},{x:249,y:194,w:5,h:17,XOffset:14,YOffset:8,CropWidth:5,CropHeight:17,ow:32,oh:32,tp:1},{x:104,y:210,w:5,h:17,XOffset:14,YOffset:8,CropWidth:5,CropHeight:17,ow:32,oh:32,tp:2},{x:106,y:176,w:5,h:17,XOffset:14,YOffset:8,CropWidth:5,CropHeight:17,ow:32,oh:32,tp:5},{x:115,y:176,w:5,h:17,XOffset:13,YOffset:9,CropWidth:5,CropHeight:17,ow:32,oh:32,tp:5},{x:106,y:197,w:5,h:17,
XOffset:13,YOffset:9,CropWidth:5,CropHeight:17,ow:32,oh:32,tp:5},{x:84,y:246,w:9,h:8,XOffset:0,YOffset:0,CropWidth:9,CropHeight:8,ow:9,oh:9,tp:1},{x:22,y:242,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:10,oh:10,tp:1},{x:54,y:245,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:142,y:242,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:109,y:246,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:142,y:242,w:8,h:8,XOffset:0,
YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:154,y:242,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:166,y:242,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:224,y:45,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:109,y:246,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:142,y:242,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:97,y:246,w:8,h:8,XOffset:0,YOffset:0,
CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:166,y:242,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:224,y:45,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:109,y:246,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:142,y:242,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:154,y:242,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:166,y:242,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,
CropHeight:8,ow:8,oh:8,tp:1},{x:224,y:45,w:8,h:8,XOffset:0,YOffset:0,CropWidth:8,CropHeight:8,ow:8,oh:8,tp:1},{x:247,y:240,w:7,h:9,XOffset:1,YOffset:0,CropWidth:7,CropHeight:9,ow:9,oh:9,tp:1},{x:178,y:247,w:7,h:7,XOffset:1,YOffset:1,CropWidth:7,CropHeight:7,ow:9,oh:9,tp:1},{x:189,y:247,w:7,h:7,XOffset:1,YOffset:1,CropWidth:7,CropHeight:7,ow:9,oh:9,tp:1},{x:230,y:159,w:7,h:7,XOffset:1,YOffset:1,CropWidth:7,CropHeight:7,ow:9,oh:9,tp:3},{x:206,y:244,w:7,h:7,XOffset:1,YOffset:1,CropWidth:7,CropHeight:7,
ow:9,oh:9,tp:3},{x:217,y:244,w:6,h:7,XOffset:13,YOffset:20,CropWidth:6,CropHeight:7,ow:32,oh:32,tp:3},{x:217,y:244,w:6,h:7,XOffset:13,YOffset:20,CropWidth:6,CropHeight:7,ow:32,oh:32,tp:3},{x:2,y:248,w:6,h:5,XOffset:0,YOffset:0,CropWidth:6,CropHeight:5,ow:10,oh:10,tp:1},{x:121,y:246,w:5,h:5,XOffset:2,YOffset:2,CropWidth:5,CropHeight:5,ow:9,oh:9,tp:1},{x:12,y:248,w:5,h:5,XOffset:2,YOffset:2,CropWidth:5,CropHeight:5,ow:9,oh:9,tp:1},{x:12,y:248,w:5,h:5,XOffset:2,YOffset:2,CropWidth:5,CropHeight:5,ow:9,
oh:9,tp:1},{x:121,y:246,w:5,h:5,XOffset:2,YOffset:2,CropWidth:5,CropHeight:5,ow:9,oh:9,tp:1},{x:227,y:244,w:5,h:5,XOffset:2,YOffset:2,CropWidth:5,CropHeight:5,ow:9,oh:9,tp:3},{x:130,y:251,w:4,h:3,XOffset:0,YOffset:0,CropWidth:4,CropHeight:3,ow:10,oh:10,tp:1},{x:214,y:228,w:3,h:3,XOffset:3,YOffset:3,CropWidth:3,CropHeight:3,ow:9,oh:9,tp:1},{x:214,y:228,w:3,h:3,XOffset:3,YOffset:3,CropWidth:3,CropHeight:3,ow:9,oh:9,tp:1},{x:214,y:228,w:3,h:3,XOffset:3,YOffset:3,CropWidth:3,CropHeight:3,ow:9,oh:9,tp:1}
,{x:224,y:57,w:9,h:1,XOffset:3,YOffset:0,CropWidth:9,CropHeight:1,ow:12,oh:1,tp:1},{x:200,y:253,w:7,h:1,XOffset:3,YOffset:0,CropWidth:7,CropHeight:1,ow:10,oh:1,tp:1},{x:238,y:242,w:1,h:1,XOffset:31,YOffset:31,CropWidth:1,CropHeight:1,ow:64,oh:64,tp:3}],Textures:["TDProject_texture_0.png","TDProject_texture_1.png","TDProject_texture_2.png","TDProject_texture_3.png","TDProject_texture_4.png","TDProject_texture_5.png","TDProject_texture_6.png","TDProject_texture_7.png","TDProject_texture_8.png","TDProject_texture_9.png",
"TDProject_texture_10.png","TDProject_texture_11.png","TDProject_texture_12.png","TDProject_texture_13.png","TDProject_texture_14.png","TDProject_texture_15.png","TDProject_texture_16.png","TDProject_texture_17.png","TDProject_texture_18.png","TDProject_texture_19.png","TDProject_texture_20.png","TDProject_texture_21.png","TDProject_texture_22.png","TDProject_texture_23.png","TDProject_texture_24.png","TDProject_texture_25.png","TDProject_texture_26.png","TDProject_texture_27.png","TDProject_texture_28.png",
"TDProject_texture_29.png","TDProject_texture_30.png","TDProject_texture_31.png","TDProject_texture_32.png"],TexturesBlocks:[{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0}
,{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0},{MipsToGenerate:0}],TextureGroupInfo:[{pName:"__YY__0fallbacktexture.png_YYG_AUTO_GEN_TEX_GROUP_NAME_",TextureIDs:[0],SpriteIDs:[],SpineSpriteIDs:[],FontIDs:[],TilesetIDs:[]},{pName:"Default",TextureIDs:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,
27,28,29,30,31,32],SpriteIDs:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],SpineSpriteIDs:[],FontIDs:[0,1],TilesetIDs:[0]}],FeatureFlags:{"filt+fx":"filt+fx","gx_mod_wallpaper":"gx_mod_wallpaper","nullish":"nullish","login_sso":"login_sso","operagx-yyc":"operagx-yyc","mqtt":"mqtt","audio-fx":"audio-fx","rollback":"rollback","intellisense":"intellisense",
"test":"test","custom_env":"custom_env","filt+fx":"filt+fx"},Options:{debugMode:false,AssetCompilerMajorVersion:2,AssetCompilerMinorVersion:0,AssetCompilerBuildVersion:0,GameSpeed:60,DrawColour:4294967295,xscreensize:256,yscreensize:256,gameId:0,gameGuid:"d76b44a8-a989-457d-b93b-eee734ca5e77",fullScreen:false,interpolatePixels:false,showCursor:true,scale:1,allowFullScreenKey:true,freezeOnLostFocus:false,showLoadingBar:false,displayErrors:false,writeErrors:false,abortErrors:false,variableErrors:true,
outputDebugToConsole:true,WebGL:2,WebGLPreserveDrawingBuffer:0,CollisionCompatibility:false,UseNewAudio:true,GameDir:"html5game",Config:"Default",ViewColour:0,CreateEventOrder:false,UseParticles:true,UseBuiltinFont:true,LocalRunAlert:true,crc:0,ProjectName:"TDProject",md5:[45,42,0,0,0,0,0,0,0,0,0,0,0,0,0,0],MajorVersion:1,MinorVersion:0,BuildVersion:0,RevisionVersion:0,DisplayName:"Created with GameMaker",UseFBExtension:false,tm:1700583022,AllowStatistics:"True"}};function gml_GlobalScript_Translations(_inst,
_other){(_inst.gmltranslation_get_default_language=__yy_method(_inst,gml_Script_translation_get_default_language));(_inst.gmltranslation_load=__yy_method(_inst,gml_Script_translation_load));(_inst.gmltranslation_init=__yy_method(_inst,gml_Script_translation_init));(_inst.gmltranslation_set_next_lang=__yy_method(_inst,gml_Script_translation_set_next_lang));(_inst.gmltranslation_set_prev_lang=__yy_method(_inst,gml_Script_translation_set_prev_lang));(_inst.gmltranslation_set=__yy_method(_inst,gml_Script_translation_set));
(_inst.gmlT=__yy_method(_inst,gml_Script_T));}function gml_Script_translation_get_default_language(_inst,_other){{var gmldefault_lang=os_get_language();var gmlcount=array_length(global.gmllangs);var gmli=0;for(;yyfless(gmli,gmlcount);(g_yyPrePostObject__=gmli,gmli=(g_yyPrePostObject__ instanceof Long?gmli.add(1):++gmli),g_yyPrePostObject__)){{if(!yyGetBool(ds_map_exists(global.gmllangs[__yy_gml_array_check_index(gmli,global.gmllangs)],"language_id"))){{show_debug_message("A language does not contain the language_id key");
continue;};};if(yyfequal(ds_map_find_value(array_get(global.gmllangs,gmli),"language_id"),gmldefault_lang)){{return gmli;};};}};return 0;}}function gml_Script_translation_load(_inst,_other,argument0){{try{{var gmlstr="";var gmlfile=file_text_open_read(yyfplus(__yy_gml_errCheck(argument0),".lang"));while(!yyGetBool(file_text_eof(gmlfile))){gmlstr=yyfplus(gmlstr,yyfplus(__yy_gml_errCheck(file_text_readln(gmlfile)),"\n"))};file_text_close(gmlfile);var gmlresults=json_decode(gmlstr);if(yyfequal(gmlresults,
(-1))){{show_message(yyfplus(yyfplus("Language file '",__yy_gml_errCheck(argument0)),"' is corrupted. Please reinstall the game"));return ds_map_create();};};return gmlresults;}}catch(gmlexception){gmlexception=__yy__processException(gmlexception);{show_debug_message(gmlexception);show_message(yyfplus(yyfplus("Language files '",__yy_gml_errCheck(argument0)),"' is corrupted. Please reinstall the game"));return ds_map_create();}};}}function gml_Script_translation_init(_inst,_other){{global.gmllangs=__yy_gml_array_create([gml_Script_translation_load(_inst,
_other,"english"),gml_Script_translation_load(_inst,_other,"italiano")]);global.gmllang_index=0;global.gmllanguage=global.gmllangs[__yy_gml_array_check_index(global.gmllang_index,global.gmllangs)];}}function gml_Script_translation_set_next_lang(_inst,_other){{global.gmllang_index=yyfmod(__yy_gml_errCheck(yyfplus(__yy_gml_errCheck(global.gmllang_index),1)),__yy_gml_errCheck(array_length(global.gmllangs)));global.gmllanguage=global.gmllangs[__yy_gml_array_check_index(global.gmllang_index,global.gmllangs)];
}}function gml_Script_translation_set_prev_lang(_inst,_other){{(g_yyPrePostObject__=global.gmllang_index,global.gmllang_index=(g_yyPrePostObject__ instanceof Long?global.gmllang_index.subtract(1):--global.gmllang_index),g_yyPrePostObject__);if(yyfless(global.gmllang_index,0)){global.gmllang_index=yyfminus(__yy_gml_errCheck(array_length(global.gmllangs)),1);};global.gmllanguage=global.gmllangs[__yy_gml_array_check_index(global.gmllang_index,global.gmllangs)];}}function gml_Script_translation_set(_inst,
_other,argument0){{global.gmllang_index=argument0;global.gmllanguage=global.gmllangs[__yy_gml_array_check_index(global.gmllang_index,global.gmllangs)];}}function gml_Script_T(_inst,_other,argument0){{if(yyGetBool(ds_map_exists(global.gmllanguage,argument0))){return ds_map_find_value(global.gmllanguage,argument0);}else {return argument0;};}}function gml_GlobalScript_Init(_inst,_other){global.gmlscreen_size=4;global.gmlVW=yyftime(128,__yy_gml_errCheck(global.gmlscreen_size));global.gmlVH=yyftime(128,__yy_gml_errCheck(global.gmlscreen_size));
window_set_size(global.gmlVW,global.gmlVH);global.gmllang_index=0;gml_Script_translation_init(_inst,_other);var ___sw2___=os_get_language();var ___swc3___=-1;if(yyCompareVal(___sw2___,"en",g_GMLMathEpsilon,false)==0){___swc3___=0;}else if(yyCompareVal(___sw2___,"it",g_GMLMathEpsilon,false)==0){___swc3___=1;}switch(___swc3___){case 0:{global.gmllang_index=0;break;}case 1:{global.gmllang_index=1;break;}default :{global.gmllang_index=0;break;}};gml_Script_translation_set(_inst,_other,global.gmllang_index);
}function gml_GlobalScript_Controls(_inst,_other){(_inst.gmlSetControls=__yy_method(_inst,gml_Script_SetControls));}function gml_Script_SetControls(_inst,_other){{_inst.gmlk_up=(yyGetBool(keyboard_check(38)))||(yyGetBool(keyboard_check(87)));_inst.gmlk_dwn=(yyGetBool(keyboard_check(40)))||(yyGetBool(keyboard_check(83)));_inst.gmlk_rt=(yyGetBool(keyboard_check(39)))||(yyGetBool(keyboard_check(68)));_inst.gmlk_lt=(yyGetBool(keyboard_check(37)))||(yyGetBool(keyboard_check(65)));_inst.gmlk_enter=(yyGetBool(keyboard_check_pressed(37)))||(yyGetBool(keyboard_check_pressed(65)));
_inst.gmlmb_aim=mouse_check_button(2);_inst.gmlmb_fire=mouse_check_button_pressed(1);}}// /// @description  
function gml_Object_obj_collider2_Create_0(_inst,_other){_inst.image_index=1;}// /// @description  
function gml_Object_obj_ladder_climb_Create_0(_inst,_other){(_inst.gmlInteract=__yy_method(_inst,gml_Script_Interact_gml_Object_obj_ladder_climb_Create_0));(_inst.gmlInteractFar=__yy_method(_inst,gml_Script_InteractFar_gml_Object_obj_ladder_climb_Create_0));}function gml_Script_Interact_gml_Object_obj_ladder_climb_Create_0(_inst,
_other){{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlCutsceneStairs)(__temp__,_other));}}function gml_Script_InteractFar_gml_Object_obj_ladder_climb_Create_0(_inst,_other){{}}// /// @description  
function gml_Object_obj_bullet_enemy_Create_0(_inst,_other){_inst.image_speed=0;_inst.image_index=0;audio_play_sound(YYASSET_REF(0x02000001),1,false);_inst.gmlcanDestroy=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=10;
}// /// @description  
function gml_Object_obj_bullet_enemy_Alarm_0(_inst,_other){_inst.gmlcanDestroy=true;}// /// @description  
function gml_Object_obj_bullet_enemy_Step_0(_inst,_other){var gmlcoll=instance_place(_inst,_inst.x,_inst.y,YYASSET_REF(0x00000018));var gmlenemy=instance_place(_inst,_inst.x,_inst.y,YYASSET_REF(0x00000017));if((yyGetBool(yyfnotequal(gmlcoll,(-4))))&&(yyGetBool(_inst.gmlcanDestroy))){{if(yyfequal(yyInst(_inst,_other,gmlcoll).image_index,1)){{audio_play_sound(YYASSET_REF(0x0200000C),
1,false);instance_destroy(_inst);};};};};if(yyfnotequal(gmlenemy,(-4))){{{var __yy__v0=GetWithArray(gmlenemy);for(var __yy__v1 in __yy__v0){if(!__yy__v0.hasOwnProperty(__yy__v1))continue;var __yy__v2=__yy__v0[__yy__v1];{__yy__v2.gmlisHit=true;__yy__v2.alarm=__yy_gml_array_check(__yy__v2.alarm,3313249962);__yy__v2.alarm[__yy_gml_array_check_index_set(10)]=20;}}};audio_play_sound(YYASSET_REF(0x02000007),1,false);instance_destroy(_inst);};};if(yyfgreater(distance_to_object(_inst,YYASSET_REF(0x00000017)),
128)){{instance_destroy(_inst);};};}// /// @description  
function gml_Object_obj_child_pam_Create_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlambush1=false;_inst.gmlambush2=false;_inst.gmlrun=false;_inst.gmlx_1=416;_inst.gmly_1=88;_inst.gmly_center=_inst.y;_inst.gmlhp=12;_inst.gmlattacklogic="pam";_inst.gmlrunlogic="pam";_inst.gmlfire_frequency=10;_inst.gmlbul_time=6;(_inst.gmlAmbush1=__yy_method(_inst,gml_Script_Ambush1_gml_Object_obj_child_pam_Create_0));(_inst.gmlStartFight=__yy_method(_inst,
gml_Script_StartFight_gml_Object_obj_child_pam_Create_0));(_inst.gmlDefeat=__yy_method(_inst,gml_Script_Defeat_gml_Object_obj_child_pam_Create_0));}function gml_Script_Ambush1_gml_Object_obj_child_pam_Create_0(_inst,_other){{audio_stop_sound(YYASSET_REF(0x02000000));_inst.gmlattacklogic="pam";yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;audio_play_sound(YYASSET_REF(0x02000010),1,false);_inst.gmlambush1=true;}}function gml_Script_StartFight_gml_Object_obj_child_pam_Create_0(_inst,_other){
{_inst.gmly_center=_inst.y;_inst.gmly_1=yyfminus(__yy_gml_errCheck(_inst.gmly_center),24);audio_play_sound(YYASSET_REF(0x02000006),1,true);_inst.gmlactive=true;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=60;_inst.alarm[__yy_gml_array_check_index_set(0)]=70;}}function gml_Script_Defeat_gml_Object_obj_child_pam_Create_0(_inst,_other){{yyInst(_inst,_other,100085).y=yyfplus(yyInst(_inst,
_other,100085).y,16);audio_stop_sound(YYASSET_REF(0x02000006));_inst.gmlactive=false;_inst.gmlisAiming=false;_inst.gmlisFiring=false;_inst.gmlenemy_health=10;_inst.gmlxSpd=0;_inst.gmlySpd=0;_inst.gmlx_1=360;_inst.gmly_1=424;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(2)]=60;}}// /// @description  
function gml_Object_obj_child_pam_Alarm_2(_inst,_other){_inst.gmlrun=false;_inst.gmlactive=false;
_inst.speed=0;_inst.image_index=0;instance_create_layer(_inst.x,_inst.y,"Instances",YYASSET_REF(0x00000006));yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;audio_play_sound(YYASSET_REF(0x02000000),1,true);}// /// @description  
function gml_Object_obj_child_pam_Step_0(_inst,_other){if(yyGetBool(_inst.gmlambush1)){{if(yyfgreater(point_distance(_inst.x,_inst.y,_inst.gmlx_1,_inst.gmly_1),2.5)){{_inst.direction=point_direction(_inst.x,_inst.y,_inst.gmlx_1,_inst.gmly_1);move_towards_point(_inst,
_inst.gmlx_1,_inst.gmly_1,5);};}else {{_inst.gmlambush1=false;_inst.speed=0;call_later(30,1,_inst.gmlStartFight);};};};}else {{event_inherited(_inst,_other);if(yyfless(_inst.gmlenemy_health,1)){{__yyg_call_method(_inst.gmlDefeat)(_inst,_other);};};};};}function gml_Object_obj_child_pam_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmla_walk_front=YYASSET_REF(0x0100001B);_inst.gmla_walk_front_g=YYASSET_REF(0x0100000B);_inst.gmla_walk_back=YYASSET_REF(0x01000043);_inst.gmla_walk_back_g=YYASSET_REF(0x0100002E);
_inst.gmla_walk_side_rt=YYASSET_REF(0x01000034);_inst.gmla_walk_side_rt_g=YYASSET_REF(0x01000023);_inst.gmla_walk_side_lt=YYASSET_REF(0x0100003D);_inst.gmla_walk_side_lt_g=YYASSET_REF(0x01000045);}// /// @description  
function gml_Object_obj_pam_talk_Create_0(_inst,_other){_inst.gmlstr=gml_Script_T(_inst,_other,"jimfight_1");_inst.gmlflag=0;(_inst.gmlInteract=__yy_method(_inst,gml_Script_Interact_gml_Object_obj_pam_talk_Create_0));(_inst.gmlInteractFar=__yy_method(_inst,gml_Script_InteractFar_gml_Object_obj_pam_talk_Create_0));
}function gml_Script_Interact_gml_Object_obj_pam_talk_Create_0(_inst,_other){{var ___sw6___=_inst.gmlflag;var ___swc7___=-1;if(yyCompareVal(___sw6___,0,g_GMLMathEpsilon,false)==0){___swc7___=0;}else if(yyCompareVal(___sw6___,1,g_GMLMathEpsilon,false)==0){___swc7___=1;}else if(yyCompareVal(___sw6___,2,g_GMLMathEpsilon,false)==0){___swc7___=2;}switch(___swc7___){case 0:{(g_yyPrePostObject__=_inst.gmlflag,_inst.gmlflag=(g_yyPrePostObject__ instanceof Long?_inst.gmlflag.add(1):++_inst.gmlflag),g_yyPrePostObject__);
if(yyGetBool(instance_exists(YYASSET_REF(0x00000015)))){yyInst(_inst,_other,YYASSET_REF(0x00000015)).gmlopen=true;};yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlget_item=true;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,gml_Script_T(_inst,_other,"c_pam"),gml_Script_T(_inst,_other,"pamfight_1")));break;}case 1:{(g_yyPrePostObject__=_inst.gmlflag,_inst.gmlflag=(g_yyPrePostObject__ instanceof Long?_inst.gmlflag.add(1):++_inst.gmlflag),
g_yyPrePostObject__);(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,gml_Script_T(_inst,_other,"c_pam"),gml_Script_T(_inst,_other,"pamfight_2")));break;}case 2:{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,gml_Script_T(_inst,_other,"c_pam"),gml_Script_T(_inst,_other,"pamfight_3")));break;}};}}function gml_Script_InteractFar_gml_Object_obj_pam_talk_Create_0(_inst,_other){{}}function gml_Object_obj_pam_talk_PreCreate_0(_inst,
_other){event_inherited(_inst,_other);_inst.gmlhud_index=2;}// /// @description  
function gml_Object_obj_child_Create_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlenemy_health=10;_inst.gmldir=0;_inst.gmlattacklogic="default";_inst.gmlrunlogic="flee";_inst.gmlxSpd=0;_inst.gmlySpd=0;_inst.gmlspd=1;_inst.gmlarm_index=YYASSET_REF(0x01000011);_inst.gmlindex=_inst.gmla_walk_front;_inst.gmlarm_rot=0;_inst.gmlrot_x=_inst.x;_inst.gmlrot_y=_inst.y;_inst.gmlmx=_inst.x;_inst.gmlmy=_inst.y;_inst.gmlbul_spd=2;
_inst.gmlbul_reload=false;_inst.gmlbul_timer=0;_inst.gmlbul_time=4;_inst.gmlisAiming=false;_inst.gmlisFiring=false;_inst.gmlfire_frequency=30;_inst.gmlrun=false;(_inst.gmlEnemyDirection=__yy_method(_inst,gml_Script_EnemyDirection_gml_Object_obj_child_Create_0));(_inst.gmlAttackLogic=__yy_method(_inst,gml_Script_AttackLogic_gml_Object_obj_child_Create_0));(_inst.gmlRunLogic=__yy_method(_inst,gml_Script_RunLogic_gml_Object_obj_child_Create_0));}function gml_Script_EnemyDirection_gml_Object_obj_child_Create_0(_inst,
_other){{if((yyGetBool(yyflessequal(_inst.direction,45)))||(yyGetBool(yyfgreater(_inst.direction,315)))){{_inst.gmlindex=_inst.gmla_walk_side_rt_g;_inst.gmlrot_x=(-2);_inst.gmlrot_y=(-5);};}else {if((yyGetBool(yyflessequal(_inst.direction,135)))&&(yyGetBool(yyfgreater(_inst.direction,45)))){{_inst.gmlindex=_inst.gmla_walk_back_g;_inst.gmlrot_x=(-2);_inst.gmlrot_y=(-3);};}else {if((yyGetBool(yyflessequal(_inst.direction,225)))&&(yyGetBool(yyfgreater(_inst.direction,135)))){{_inst.gmlindex=_inst.gmla_walk_side_lt_g;
_inst.gmlrot_x=2;_inst.gmlrot_y=(-3);};}else {if((yyGetBool(yyflessequal(_inst.direction,315)))&&(yyGetBool(yyfgreater(_inst.direction,225)))){{_inst.gmlindex=_inst.gmla_walk_front_g;_inst.gmlrot_x=2;_inst.gmlrot_y=(-5);};};};};};_inst.gmlarm_rot=_inst.direction;}}function gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0(_inst,_other){if(_inst.__yyIsGMLObject){_inst.__type="gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0";}if(gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0.prototype.__type===undefined){
gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0.prototype.__type="gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0";}{if(_inst.__yyIsGMLObject)Object.setPrototypeOf(_inst,gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0.prototype);{var $$args=Array.prototype.slice.call(arguments);{_inst.direction=$$args[__yy_gml_array_check_index(2+(0),$$args)];_inst.speed=$$args[__yy_gml_array_check_index(2+(1),$$args)];}}}}function gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0(_inst,
_other){if(_inst.__yyIsGMLObject){_inst.__type="gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0";}if(gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0.prototype.__type===undefined){gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0.prototype.__type="gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0";}{if(_inst.__yyIsGMLObject)Object.setPrototypeOf(_inst,gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0.prototype);
{var $$args=Array.prototype.slice.call(arguments);{_inst.direction=$$args[__yy_gml_array_check_index(2+(0),$$args)];_inst.speed=$$args[__yy_gml_array_check_index(2+(1),$$args)];}}}}function gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0(_inst,_other){if(_inst.__yyIsGMLObject){_inst.__type="gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0";}if(gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0.prototype.__type===undefined){gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0.prototype.__type="gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0";
}{if(_inst.__yyIsGMLObject)Object.setPrototypeOf(_inst,gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0.prototype);{var $$args=Array.prototype.slice.call(arguments);{_inst.direction=$$args[__yy_gml_array_check_index(2+(0),$$args)];_inst.speed=$$args[__yy_gml_array_check_index(2+(1),$$args)];}}}}function gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0(_inst,_other){if(_inst.__yyIsGMLObject){_inst.__type="gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0";
}if(gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0.prototype.__type===undefined){gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0.prototype.__type="gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0";}{if(_inst.__yyIsGMLObject)Object.setPrototypeOf(_inst,gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0.prototype);{var $$args=Array.prototype.slice.call(arguments);{_inst.direction=$$args[__yy_gml_array_check_index(2+(0),$$args)];
_inst.speed=$$args[__yy_gml_array_check_index(2+(1),$$args)];}}}}function gml_Script_AttackLogic_gml_Object_obj_child_Create_0(_inst,_other,argument0){{if(yyfequal(argument0,_inst.undefined)){argument0="default";};}{var ___sw12___=argument0;var ___swc13___=-1;if(yyCompareVal(___sw12___,"default",g_GMLMathEpsilon,false)==0){___swc13___=0;}else if(yyCompareVal(___sw12___,"jim1",g_GMLMathEpsilon,false)==0){___swc13___=1;}else if(yyCompareVal(___sw12___,"jim2",g_GMLMathEpsilon,false)==0){___swc13___=2;}else if(yyCompareVal(___sw12___,
"pam",g_GMLMathEpsilon,false)==0){___swc13___=3;}switch(___swc13___){case 0:{__yyg_call_method(_inst.gmlEnemyDirection)(_inst,_other);if(yyGetBool(_inst.gmlisFiring)){{if(yyfless(_inst.gmlbul_timer,_inst.gmlbul_time)){{_inst.gmlisFiring=false;_inst.gmlbul_timer=yyfplus(_inst.gmlbul_timer,1);instance_create_layer(yyfplus(yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(lengthdir_x(8,_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_x)),yyfplus(yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(lengthdir_y(8,
_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_y)),"Instances",YYASSET_REF(0x00000002),__yy_gml_object_create(_inst,(_inst.gml___struct___0=__yy_method(_inst,gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0)),_inst.direction,_inst.gmlbul_spd));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=40;};}else {{_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=100;_inst.gmlbul_timer=0;
_inst.gmlisAiming=false;};};};};break;}case 1:{__yyg_call_method(_inst.gmlEnemyDirection)(_inst,_other);if(yyfless(_inst.y,_inst.gmly_1)){_inst.gmlySpd=1;}else {if(yyfgreater(_inst.y,_inst.gmly_1)){_inst.gmlySpd=(-1);};};if(yyGetBool(_inst.gmlisFiring)){{if(yyfnotequal(_inst.y,_inst.gmly_1)){{_inst.gmlisFiring=false;instance_create_layer(yyfplus(yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(lengthdir_x(8,_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_x)),yyfplus(yyfplus(__yy_gml_errCheck(_inst.y),
__yy_gml_errCheck(lengthdir_y(8,_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_y)),"Instances",YYASSET_REF(0x00000002),__yy_gml_object_create(_inst,(_inst.gml___struct___1=__yy_method(_inst,gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0)),_inst.direction,_inst.gmlbul_spd));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=_inst.gmlfire_frequency;};}else {{if(yyfequal(_inst.gmly_1,yyfminus(__yy_gml_errCheck(_inst.gmly_center),
24))){_inst.gmly_1=yyfplus(__yy_gml_errCheck(_inst.gmly_center),24);}else {_inst.gmly_1=yyfminus(__yy_gml_errCheck(_inst.gmly_center),24);};_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=100;_inst.gmlisAiming=false;};};};};break;}case 2:{__yyg_call_method(_inst.gmlEnemyDirection)(_inst,_other);(g_yyPrePostObject__=_inst.gmldir,_inst.gmldir=(g_yyPrePostObject__ instanceof Long?_inst.gmldir.add(1):++_inst.gmldir),g_yyPrePostObject__);var gmlxto=floor(yyfplus(708,
__yy_gml_errCheck(lengthdir_x(24,_inst.gmldir))));var gmlyto=floor(yyfplus(712,__yy_gml_errCheck(lengthdir_y(24,_inst.gmldir))));if(yyfless(_inst.x,gmlxto)){_inst.gmlxSpd=0.5;}else {if(yyfgreater(_inst.x,gmlxto)){_inst.gmlxSpd=(-0.5);};};if(yyfless(_inst.y,gmlyto)){_inst.gmlySpd=0.5;}else {if(yyfgreater(_inst.y,gmlyto)){_inst.gmlySpd=(-0.5);};};if(yyGetBool(_inst.gmlisFiring)){{if(yyfless(_inst.gmlbul_timer,_inst.gmlbul_time)){{_inst.gmlisFiring=false;(g_yyPrePostObject__=_inst.gmlbul_timer,_inst.gmlbul_timer=(g_yyPrePostObject__ instanceof Long?_inst.gmlbul_timer.add(1):++_inst.gmlbul_timer),
g_yyPrePostObject__);instance_create_layer(yyfplus(yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(lengthdir_x(8,_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_x)),yyfplus(yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(lengthdir_y(8,_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_y)),"Instances",YYASSET_REF(0x00000002),__yy_gml_object_create(_inst,(_inst.gml___struct___2=__yy_method(_inst,gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0)),_inst.direction,_inst.gmlbul_spd));
_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=_inst.gmlfire_frequency;};}else {{_inst.gmldir=irandom_range(0,359);_inst.gmlbul_timer=0;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=100;_inst.gmlisAiming=false;};};};};break;}case 3:{__yyg_call_method(_inst.gmlEnemyDirection)(_inst,_other);(g_yyPrePostObject__=_inst.gmldir,_inst.gmldir=(g_yyPrePostObject__ instanceof Long?_inst.gmldir.add(1):++_inst.gmldir),
g_yyPrePostObject__);var gmlxto=floor(yyfplus(__yy_gml_errCheck(_inst.gmlx_1),__yy_gml_errCheck(lengthdir_x(12,_inst.gmldir))));var gmlyto=floor(yyfplus(__yy_gml_errCheck(_inst.gmly_1),__yy_gml_errCheck(lengthdir_y(12,_inst.gmldir))));var gml_spd=0.5;if(yyfless(_inst.x,gmlxto)){_inst.gmlxSpd=gml_spd;}else {if(yyfgreater(_inst.x,gmlxto)){_inst.gmlxSpd=__yy_gml_errCheck(-__yy_gml_errCheck(gml_spd));};};if(yyfless(_inst.y,gmlyto)){_inst.gmlySpd=gml_spd;}else {if(yyfgreater(_inst.y,gmlyto)){_inst.gmlySpd=__yy_gml_errCheck(-__yy_gml_errCheck(gml_spd));
};};if(yyGetBool(_inst.gmlisFiring)){{if(yyfless(_inst.gmlbul_timer,_inst.gmlbul_time)){{_inst.gmlisFiring=false;(g_yyPrePostObject__=_inst.gmlbul_timer,_inst.gmlbul_timer=(g_yyPrePostObject__ instanceof Long?_inst.gmlbul_timer.add(1):++_inst.gmlbul_timer),g_yyPrePostObject__);instance_create_layer(yyfplus(yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(lengthdir_x(8,_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_x)),yyfplus(yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(lengthdir_y(8,
_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_y)),"Instances",YYASSET_REF(0x00000002),__yy_gml_object_create(_inst,(_inst.gml___struct___3=__yy_method(_inst,gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0)),_inst.direction,_inst.gmlbul_spd));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=_inst.gmlfire_frequency;};}else {{_inst.gmldir=0;_inst.gmlx_1=_inst.x;_inst.gmly_1=_inst.y;_inst.gmlbul_timer=0;_inst.alarm=__yy_gml_array_check(_inst.alarm,
1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=100;_inst.gmlisAiming=false;};};};};break;}};}}function gml_Script_RunLogic_gml_Object_obj_child_Create_0(_inst,_other,argument0){{if(yyfequal(argument0,_inst.undefined)){argument0="flee";};}{var ___sw14___=argument0;var ___swc15___=-1;if(yyCompareVal(___sw14___,"flee",g_GMLMathEpsilon,false)==0){___swc15___=0;}else if(yyCompareVal(___sw14___,"jim2",g_GMLMathEpsilon,false)==0){___swc15___=1;}else if(yyCompareVal(___sw14___,"pam",g_GMLMathEpsilon,
false)==0){___swc15___=2;}else if(yyCompareVal(___sw14___,"kev",g_GMLMathEpsilon,false)==0){___swc15___=3;}else if(yyCompareVal(___sw14___,"kev4",g_GMLMathEpsilon,false)==0){___swc15___=4;}switch(___swc15___){case 0:{if(yyGetBool(_inst.gmlrun)){{__yyg_call_method(_inst.gmlEnemyDirection)(_inst,_other);if(yyfless(_inst.y,_inst.gmly_1)){_inst.gmlySpd=1;}else {if(yyfgreater(_inst.y,_inst.gmly_1)){_inst.gmlySpd=(-1);};};if(yyfless(_inst.x,_inst.gmlx_1)){_inst.gmlxSpd=1;}else {if(yyfgreater(_inst.x,_inst.gmlx_1)){
_inst.gmlxSpd=(-1);};};if((yyGetBool(yyfequal(_inst.x,_inst.gmlx_1)))&&(yyGetBool(yyfequal(_inst.y,_inst.gmly_1)))){{_inst.gmlrun=false;_inst.gmlactive=false;_inst.speed=0;_inst.x=(-1000);_inst.y=(-1000);instance_create_layer(360,400,"Instances",YYASSET_REF(0x0000000B));yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;audio_play_sound(YYASSET_REF(0x02000000),1,true);};};};};break;}case 1:{var gmlxto=floor(yyfplus(708,__yy_gml_errCheck(lengthdir_x(24,_inst.gmldir))));var gmlyto=floor(yyfplus(712,
__yy_gml_errCheck(lengthdir_y(24,_inst.gmldir))));if(yyfless(_inst.x,gmlxto)){_inst.gmlxSpd=0.5;}else {if(yyfgreater(_inst.x,gmlxto)){_inst.gmlxSpd=(-0.5);}else {_inst.gmlxSpd=0;};};if(yyfless(_inst.y,gmlyto)){_inst.gmlySpd=0.5;}else {if(yyfgreater(_inst.y,gmlyto)){_inst.gmlySpd=(-0.5);}else {_inst.gmlySpd=0;};};break;}case 2:{_inst.gmldir=point_direction(_inst.x,_inst.y,yyInst(_inst,_other,YYASSET_REF(0x00000017)).x,yyInst(_inst,_other,YYASSET_REF(0x00000017)).y);var gmlxto=floor(yyfplus(__yy_gml_errCheck(_inst.x),
__yy_gml_errCheck(lengthdir_x(12,_inst.gmldir))));var gmlyto=floor(yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(lengthdir_y(12,_inst.gmldir))));var gml_spd=0.25;if(yyfless(_inst.x,gmlxto)){_inst.gmlxSpd=gml_spd;}else {if(yyfgreater(_inst.x,gmlxto)){_inst.gmlxSpd=__yy_gml_errCheck(-__yy_gml_errCheck(gml_spd));};};if(yyfless(_inst.y,gmlyto)){_inst.gmlySpd=gml_spd;}else {if(yyfgreater(_inst.y,gmlyto)){_inst.gmlySpd=__yy_gml_errCheck(-__yy_gml_errCheck(gml_spd));};};break;}case 3:{_inst.direction=270;
var gmlxto=floor(yyInst(_inst,_other,YYASSET_REF(0x00000017)).x);var gmlyto=floor(yyInst(_inst,_other,YYASSET_REF(0x00000017)).y);var gml_spd=3;if(yyfgreater(_inst.y,yyfplus(__yy_gml_errCheck(_inst.gmly_1),6))){gml_spd=10;};if(yyfless(_inst.x,yyfminus(__yy_gml_errCheck(gmlxto),1))){_inst.gmlxSpd=gml_spd;}else {if(yyfgreater(_inst.x,yyfplus(__yy_gml_errCheck(gmlxto),1))){_inst.gmlxSpd=__yy_gml_errCheck(-__yy_gml_errCheck(gml_spd));};};if(yyfless(_inst.y,gmlyto)){_inst.gmlySpd=gml_spd;}else {if(yyfgreater(_inst.y,
gmlyto)){_inst.gmlySpd=__yy_gml_errCheck(-__yy_gml_errCheck(gml_spd));};};if(yyGetBool(place_meeting(_inst,_inst.x,_inst.y,YYASSET_REF(0x00000017)))){{audio_stop_all();audio_play_sound(YYASSET_REF(0x02000007),1,false,1,0,1.25);audio_play_sound(YYASSET_REF(0x02000010),1,false,1,0,1.25);_inst.gmlactive=false;if(!yyGetBool(instance_exists(YYASSET_REF(0x0000001E)))){instance_create_layer(yyInst(_inst,_other,YYASSET_REF(0x00000017)).x,yyInst(_inst,_other,YYASSET_REF(0x00000017)).y,"Instances",YYASSET_REF(0x0000001E));
};yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlisHit=true;yyInst(_inst,_other,YYASSET_REF(0x00000017)).alarm=__yy_gml_array_check(yyInst(_inst,_other,YYASSET_REF(0x00000017)).alarm,3757492706);yyInst(_inst,_other,YYASSET_REF(0x00000017)).alarm[__yy_gml_array_check_index_set(10)]=30;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcut=true;};};break;}case 4:{_inst.gmlspd=3;_inst.gmlySpd=3;if(yyfgreater(_inst.y,596)){{_inst.x=10000;_inst.y=10000;
};};break;}};}}// /// @description  
function gml_Object_obj_child_Alarm_0(_inst,_other){_inst.gmlisFiring=true;}// /// @description  
function gml_Object_obj_child_Alarm_1(_inst,_other){if(yyGetBool(_inst.gmlactive)){_inst.gmlisAiming=true;}else {_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=10;};}// /// @description  
// /// @description  
function gml_Object_obj_child_Step_0(_inst,_other){if((yyGetBool(yyfequal(abs(_inst.gmlxSpd),_inst.gmlspd)))&&(yyGetBool(yyfequal(abs(_inst.gmlySpd),
_inst.gmlspd)))){{_inst.gmlxSpd=yyfdivide(__yy_gml_errCheck(_inst.gmlxSpd),1.5);_inst.gmlySpd=yyfdivide(__yy_gml_errCheck(_inst.gmlySpd),1.5);};};_inst.direction=point_direction(_inst.x,_inst.y,yyInst(_inst,_other,YYASSET_REF(0x00000017)).x,yyInst(_inst,_other,YYASSET_REF(0x00000017)).y);_inst.direction=yyfmod(__yy_gml_errCheck(yyfplus(__yy_gml_errCheck(yyfmod(__yy_gml_errCheck(_inst.direction),360)),360)),360);if(yyGetBool(_inst.gmlisAiming)){{__yyg_call_method(_inst.gmlAttackLogic)(_inst,_other,
_inst.gmlattacklogic);};}else {{if((yyGetBool(_inst.gmlactive))||(yyGetBool(_inst.gmlrun))){__yyg_call_method(_inst.gmlRunLogic)(_inst,_other,_inst.gmlrunlogic);};if(yyfequal(_inst.gmlrunlogic,"kev")){{if(yyfequal(_inst.gmlindex,_inst.gmla_walk_front_g)){_inst.gmlindex=_inst.gmla_walk_front_g;};if(yyfequal(_inst.gmlindex,_inst.gmla_walk_back_g)){_inst.gmlindex=_inst.gmla_walk_back_g;};if(yyfequal(_inst.gmlindex,_inst.gmla_walk_side_lt_g)){_inst.gmlindex=_inst.gmla_walk_side_lt_g;};if(yyfequal(_inst.gmlindex,
_inst.gmla_walk_side_rt_g)){_inst.gmlindex=_inst.gmla_walk_side_rt_g;};if(yyfgreater(_inst.gmlySpd,0)){_inst.gmlindex=_inst.gmla_walk_front;}else {if(yyfless(_inst.gmlySpd,0)){_inst.gmlindex=_inst.gmla_walk_back;};};if(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcut)){{_inst.image_index=0;_inst.gmlindex=_inst.gmla_cut;_inst.gmlrunlogic="kev2";};};};}else {if(yyfequal(_inst.gmlrunlogic,"kev2")){{_inst.image_index=yyfplus(_inst.image_index,0.2);if(yyfgreaterequal(_inst.image_index,yyfminus(__yy_gml_errCheck(sprite_get_number(YYASSET_REF(0x01000012))),
1))){{_inst.image_index=yyfminus(__yy_gml_errCheck(_inst.image_number),1);_inst.gmlrunlogic="kev3";_inst.gmlindex=_inst.gmla_walk_front;};};};}else {{if(yyfequal(_inst.gmlindex,_inst.gmla_walk_front_g)){_inst.gmlindex=_inst.gmla_walk_front_g;};if(yyfequal(_inst.gmlindex,_inst.gmla_walk_back_g)){_inst.gmlindex=_inst.gmla_walk_back_g;};if(yyfequal(_inst.gmlindex,_inst.gmla_walk_side_lt_g)){_inst.gmlindex=_inst.gmla_walk_side_lt_g;};if(yyfequal(_inst.gmlindex,_inst.gmla_walk_side_rt_g)){_inst.gmlindex=_inst.gmla_walk_side_rt_g;
};if(yyfgreater(_inst.gmlySpd,0)){_inst.gmlindex=_inst.gmla_walk_front;}else {if(yyfless(_inst.gmlySpd,0)){_inst.gmlindex=_inst.gmla_walk_back;};};if(yyfgreater(_inst.gmlxSpd,0)){_inst.gmlindex=_inst.gmla_walk_side_rt;}else {if(yyfless(_inst.gmlxSpd,0)){_inst.gmlindex=_inst.gmla_walk_side_lt;};};};};};};};_inst.image_speed=(yyGetBool(yyfnotequal(_inst.gmlxSpd,0)))||(yyGetBool(yyfnotequal(_inst.gmlySpd,0)));move_and_collide(_inst,_inst.gmlxSpd,_inst.gmlySpd,YYASSET_REF(0x00000018),1,0,0,_inst.gmlspd,
_inst.gmlspd);_inst.gmlxSpd=0;_inst.gmlySpd=0;_inst.sprite_index=_inst.gmlindex;}// /// @description  
function gml_Object_obj_child_Draw_0(_inst,_other){event_inherited(_inst,_other);draw_sprite_ext(_inst,_inst.gmlarm_index,_inst.image_index,yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(_inst.gmlrot_x)),yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(_inst.gmlrot_y)),1,1,_inst.gmlarm_rot,16777215,_inst.gmlisAiming);}function gml_Object_obj_child_PreCreate_0(_inst,_other){event_inherited(_inst,
_other);_inst.gmlactive=false;_inst.gmla_walk_front=0;_inst.gmla_walk_front_g=0;_inst.gmla_walk_back=0;_inst.gmla_walk_back_g=0;_inst.gmla_walk_side_rt=0;_inst.gmla_walk_side_rt_g=0;_inst.gmla_walk_side_lt=0;_inst.gmla_walk_side_lt_g=0;_inst.gmla_cut=YYASSET_REF(0x01000012);}// /// @description  
function gml_Object_obj_door_main_Create_0(_inst,_other){_inst.gmlopen=false;_inst.gmldoor=instance_create_layer(_inst.x,_inst.y,"solid",YYASSET_REF(0x00000005),__yy_gml_object_create(_inst,(_inst.gml___struct___4=__yy_method(_inst,
gml_Script____struct___4_gml_Object_obj_door_main_Create_0))));(_inst.gmlInteract=__yy_method(_inst,gml_Script_Interact_gml_Object_obj_door_main_Create_0));(_inst.gmlInteractFar=__yy_method(_inst,gml_Script_InteractFar_gml_Object_obj_door_main_Create_0));}function gml_Script____struct___4_gml_Object_obj_door_main_Create_0(_inst,_other){if(_inst.__yyIsGMLObject){_inst.__type="gml_Script____struct___4_gml_Object_obj_door_main_Create_0";}if(gml_Script____struct___4_gml_Object_obj_door_main_Create_0.prototype.__type===undefined){
gml_Script____struct___4_gml_Object_obj_door_main_Create_0.prototype.__type="gml_Script____struct___4_gml_Object_obj_door_main_Create_0";}{if(_inst.__yyIsGMLObject)Object.setPrototypeOf(_inst,gml_Script____struct___4_gml_Object_obj_door_main_Create_0.prototype);{_inst.image_xscale=2;_inst.image_yscale=3;_inst.image_index=1;}}}function gml_Script_Interact_gml_Object_obj_door_main_Create_0(_inst,_other){{if(!yyGetBool(_inst.gmlopen)){(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,
_other,"",gml_Script_T(_inst,_other,"doorclosed")));}else {{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"",gml_Script_T(_inst,_other,_inst.gmltext_open)));if(yyfnotequal(_inst.gmldoor,(-4))){instance_destroy(_inst,_inst.gmldoor);};instance_destroy(_inst);};};}}function gml_Script_InteractFar_gml_Object_obj_door_main_Create_0(_inst,_other){{}}// /// @description  
function gml_Object_obj_door_main_Step_0(_inst,_other){_inst.depth=__yy_gml_errCheck(-__yy_gml_errCheck(_inst.y));
}function gml_Object_obj_door_main_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmltext_open="opendoor_c";_inst.gmlhud_index=2;}// /// @description  
function gml_Object_obj_interactable_Create_0(_inst,_other){(_inst.gmlInteract=__yy_method(_inst,gml_Script_Interact_gml_Object_obj_interactable_Create_0));(_inst.gmlInteractFar=__yy_method(_inst,gml_Script_InteractFar_gml_Object_obj_interactable_Create_0));}function gml_Script_Interact_gml_Object_obj_interactable_Create_0(_inst,_other){
{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"",gml_Script_T(_inst,_other,"doorclosed")));}}function gml_Script_InteractFar_gml_Object_obj_interactable_Create_0(_inst,_other){{}}function gml_Object_obj_interactable_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlhud_index=1;}function gml_Object_obj_trigger_spawnchild_2_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmltxt="TEST";}// /// @description  
function gml_Object_obj_trigger_spawnchild_2_Collision_obj_player(_inst,
_other){yyInst(_inst,_other,100085).y=yyfminus(yyInst(_inst,_other,100085).y,16);(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000003)),__yyg_call_method(__temp__.gmlAmbush1)(__temp__,_other));{var __yy__v3=GetWithArray(YYASSET_REF(0x0000000A));for(var __yy__v4 in __yy__v3){if(!__yy__v3.hasOwnProperty(__yy__v4))continue;var __yy__v5=__yy__v3[__yy__v4];instance_destroy(__yy__v5);}};}// /// @description  
function gml_Object_obj_passage_Create_0(_inst,_other){_inst.gmlstr=gml_Script_T(_inst,_other,"passage_1");
(_inst.gmlInteract=__yy_method(_inst,gml_Script_Interact_gml_Object_obj_passage_Create_0));(_inst.gmlInteractFar=__yy_method(_inst,gml_Script_InteractFar_gml_Object_obj_passage_Create_0));}function gml_Script_Interact_gml_Object_obj_passage_Create_0(_inst,_other){{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"",_inst.gmlstr));_inst.gmlstr=gml_Script_T(_inst,_other,"passage_2");}}function gml_Script_InteractFar_gml_Object_obj_passage_Create_0(_inst,
_other){{}}function gml_Object_obj_passage_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlhud_index=2;}// /// @description  
function gml_Object_obj_trigger_cutonly_Alarm_0(_inst,_other){audio_play_sound(YYASSET_REF(0x0200000D),1,false);(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlShowCut)(__temp__,_other,_inst.gmlcutindex));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=30;}// /// @description  
function gml_Object_obj_trigger_cutonly_Alarm_1(_inst,
_other){if((yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlk_enter))||(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlmb_fire))){{yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_show=false;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;instance_destroy(_inst);};}else {_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=1;};}function gml_Object_obj_trigger_cutonly_PreCreate_0(_inst,_other){event_inherited(_inst,
_other);_inst.gmltxt="TEST";_inst.gmlstopsound=false;_inst.gmlcutindex=0;}// /// @description  
function gml_Object_obj_trigger_cutonly_Collision_obj_player(_inst,_other){if(yyGetBool(_inst.gmlstopsound)){{_inst.gmlstopsound=false;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;audio_stop_sound(YYASSET_REF(0x02000000));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=100;};};}// /// @description  
function gml_Object_obj_trigger_bgm_out_Collision_obj_player(_inst,
_other){if(yyGetBool(audio_is_playing(YYASSET_REF(0x02000009)))){{audio_stop_sound(YYASSET_REF(0x02000009));audio_play_sound(YYASSET_REF(0x0200000B),1,true);};};}// /// @description  
function gml_Object_obj_cut_child_parent_Create_0(_inst,_other){_inst.gmlshake=false;_inst.gmlshake_value=1;_inst.gmlrun=false;}// /// @description  
function gml_Object_obj_cut_child_parent_Alarm_9(_inst,_other){_inst.gmlshake=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(10)]=30;
}// /// @description  
function gml_Object_obj_cut_child_parent_Alarm_10(_inst,_other){_inst.gmlshake=false;}// /// @description  
function gml_Object_obj_cut_child_parent_Draw_0(_inst,_other){if(yyGetBool(_inst.gmlrun)){{_inst.sprite_index=_inst.gmla_run;move_towards_point(_inst,_inst.gmlxx,_inst.gmlyy,2);};};var gmlshk_x=yyftime(__yy_gml_errCheck(random_range(_inst.gmlshake_value,__yy_gml_errCheck(-__yy_gml_errCheck(_inst.gmlshake_value)))),__yy_gml_errCheck(_inst.gmlshake));var gmlshk_y=yyftime(__yy_gml_errCheck(random_range(_inst.gmlshake_value,
__yy_gml_errCheck(-__yy_gml_errCheck(_inst.gmlshake_value)))),__yy_gml_errCheck(_inst.gmlshake));draw_sprite(_inst,_inst.sprite_index,_inst.image_index,yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(gmlshk_x)),yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(gmlshk_y)));}function gml_Object_obj_cut_child_parent_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmla_run=0;}// /// @description  
function gml_Object_obj_intro_Create_0(_inst,_other){_inst.gmlwind=audio_play_sound(YYASSET_REF(0x0200000B),
1,true,0);audio_sound_gain(_inst.gmlwind,1,4000);_inst.gmlcut_show=false;_inst.gmlcut_index=0;_inst.gmlcol_light=11645361;_inst.gmlcol_dark=2493192;_inst.gmlnum=0;_inst.gmlintro=__yy_gml_array_check(_inst.gmlintro,3718650346);_inst.gmlintro[__yy_gml_array_check_index_set(0)]=gml_Script_T(_inst,_other,"intro_0");_inst.gmlintro[__yy_gml_array_check_index_set(1)]=gml_Script_T(_inst,_other,"intro_1");_inst.gmlintro[__yy_gml_array_check_index_set(2)]="";_inst.gmlintro[__yy_gml_array_check_index_set(3)]=gml_Script_T(_inst,
_other,"intro_2");_inst.gmlintro[__yy_gml_array_check_index_set(4)]="";_inst.gmlintro[__yy_gml_array_check_index_set(5)]=gml_Script_T(_inst,_other,"intro_3");_inst.gmlintro[__yy_gml_array_check_index_set(6)]=gml_Script_T(_inst,_other,"intro_4");_inst.gmlintro[__yy_gml_array_check_index_set(7)]=gml_Script_T(_inst,_other,"intro_5");_inst.gmlintro[__yy_gml_array_check_index_set(8)]="";_inst.gmlintro[__yy_gml_array_check_index_set(9)]=gml_Script_T(_inst,_other,"intro_6");_inst.gmlintro[__yy_gml_array_check_index_set(10)]="";
_inst.gmlintro[__yy_gml_array_check_index_set(11)]="";_inst.gmlpos=0;_inst.gmltextspeed=0.25;_inst.gmlcanProceed=true;_inst.gmlrect_y=0;_inst.gmlstart=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(9)]=30;}// /// @description  
function gml_Object_obj_intro_Alarm_0(_inst,_other){if(yyfless(_inst.gmlrect_y,128)){{_inst.gmlrect_y=yyfplus(_inst.gmlrect_y,16);_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=5;
};}else {{_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=1;};};}// /// @description  
function gml_Object_obj_intro_Alarm_1(_inst,_other){if(yyGetBool(_inst.gmlk_next)){{_inst.gmlrect_y=0;_inst.gmlcanProceed=true;};}else {_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=1;};}// /// @description  
function gml_Object_obj_intro_Alarm_2(_inst,_other){audio_stop_sound(YYASSET_REF(0x0200000B));
if(yyGetBool(audio_is_playing(YYASSET_REF(0x02000012)))){audio_stop_sound(YYASSET_REF(0x02000012));};room_goto(YYASSET_REF(0x03000002));}// /// @description  
function gml_Object_obj_intro_Alarm_9(_inst,_other){_inst.gmlstart=true;}// /// @description  
function gml_Object_obj_intro_Step_1(_inst,_other){_inst.gmlk_next=mouse_check_button_pressed(1);_inst.gmlk_next_hold=mouse_check_button(1);_inst.gmlk_enter=keyboard_check_pressed(13);}// /// @description  
function gml_Object_obj_intro_Draw_64(_inst,
_other){if(yyGetBool(_inst.gmlk_enter)){{audio_stop_sound(YYASSET_REF(0x0200000B));if(yyGetBool(audio_is_playing(YYASSET_REF(0x02000012)))){audio_stop_sound(YYASSET_REF(0x02000012));};room_goto(YYASSET_REF(0x03000002));};};display_set_gui_size(128,128);draw_set_color(16777215);draw_set_halign(1);draw_sprite(_inst,YYASSET_REF(0x01000042),_inst.gmlcut_index,0,0);draw_set_color(_inst.gmlcol_dark);draw_rectangle(0,_inst.gmlrect_y,129,129,false);draw_set_color(16777215);if(yyGetBool(_inst.gmlstart)){
{if(yyfless(_inst.gmlpos,string_length(_inst.gmlintro[__yy_gml_array_check_index(_inst.gmlnum,_inst.gmlintro)]))){{if(yyGetBool(_inst.gmlk_next_hold)){{_inst.gmlpos=yyfplus(_inst.gmlpos,1);};};_inst.gmlpos=yyfplus(_inst.gmlpos,_inst.gmltextspeed);};}else {{_inst.gmlpos=string_length(_inst.gmlintro[__yy_gml_array_check_index(_inst.gmlnum,_inst.gmlintro)]);if((yyGetBool(_inst.gmlk_next))&&(yyGetBool(_inst.gmlcanProceed))){{_inst.gmlpos=0;_inst.gmlnum=yyfplus(_inst.gmlnum,1);if(yyfequal(_inst.gmlnum,
2)){{_inst.gmlcanProceed=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=30;};}else {if(yyfequal(_inst.gmlnum,4)){{_inst.gmlcut_index=7;_inst.gmlcanProceed=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=30;};}else {if(yyfequal(_inst.gmlnum,8)){{_inst.gmlcut_index=8;_inst.gmlcanProceed=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=30;
};}else {if(yyfequal(_inst.gmlnum,10)){{_inst.gmlcanProceed=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(2)]=60;};};};};};};};};};var gmlstr=string_copy(_inst.gmlintro[__yy_gml_array_check_index(_inst.gmlnum,_inst.gmlintro)],0,_inst.gmlpos);draw_set_halign(1);draw_set_valign(1);draw_set_color(_inst.gmlcol_light);draw_set_font(YYASSET_REF(0x07000000));draw_text_ext(64,64,gmlstr,16,124);};};draw_set_color(16777215);}// /// @description  
function gml_Object_obj_after_Create_0(_inst,
_other){_inst.gmlcut_show=false;_inst.gmlcut_index=0;_inst.gmlcol_light=11645361;_inst.gmlcol_dark=2493192;_inst.gmlnum=0;_inst.gmlintro=__yy_gml_array_check(_inst.gmlintro,3718650346);_inst.gmlintro[__yy_gml_array_check_index_set(0)]=gml_Script_T(_inst,_other,"after_0");_inst.gmlintro[__yy_gml_array_check_index_set(1)]=gml_Script_T(_inst,_other,"after_1");_inst.gmlintro[__yy_gml_array_check_index_set(2)]=gml_Script_T(_inst,_other,"after_2");_inst.gmlintro[__yy_gml_array_check_index_set(3)]=gml_Script_T(_inst,
_other,"after_3");_inst.gmlintro[__yy_gml_array_check_index_set(4)]=gml_Script_T(_inst,_other,"after_4");_inst.gmlintro[__yy_gml_array_check_index_set(5)]=gml_Script_T(_inst,_other,"after_5");_inst.gmlintro[__yy_gml_array_check_index_set(6)]=gml_Script_T(_inst,_other,"after_6");_inst.gmlintro[__yy_gml_array_check_index_set(7)]=gml_Script_T(_inst,_other,"after_7");_inst.gmlintro[__yy_gml_array_check_index_set(8)]="";_inst.gmlintro[__yy_gml_array_check_index_set(9)]="Armati delle nostre pistole giocattolo, ci intrufolammo nella vecchia proprieta'.";
_inst.gmlintro[__yy_gml_array_check_index_set(10)]="";_inst.gmlintro[__yy_gml_array_check_index_set(11)]="";_inst.gmlpos=0;_inst.gmltextspeed=0.25;_inst.gmlcanProceed=true;_inst.gmlrect_y=0;_inst.gmlstart=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(8)]=60;_inst.alarm[__yy_gml_array_check_index_set(9)]=120;}// /// @description  
function gml_Object_obj_after_Alarm_0(_inst,_other){if(yyfless(_inst.gmlrect_y,128)){{_inst.gmlrect_y=yyfplus(_inst.gmlrect_y,
16);_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=5;};}else {{_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=1;};};}// /// @description  
function gml_Object_obj_after_Alarm_1(_inst,_other){if(yyGetBool(_inst.gmlk_enter)){{_inst.gmlrect_y=0;_inst.gmlcanProceed=true;};}else {_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=1;};}// /// @description  
function gml_Object_obj_after_Alarm_2(_inst,
_other){room_goto(YYASSET_REF(0x03000004));}// /// @description  
function gml_Object_obj_after_Alarm_9(_inst,_other){_inst.gmlstart=true;}// /// @description  
function gml_Object_obj_after_Alarm_8(_inst,_other){_inst.gmlbgm=audio_play_sound(YYASSET_REF(0x0200000B),1,true,0);audio_sound_gain(_inst.gmlbgm,1,3000);}// /// @description  
function gml_Object_obj_after_Step_1(_inst,_other){_inst.gmlk_next=mouse_check_button_pressed(1);_inst.gmlk_next_hold=mouse_check_button(1);_inst.gmlk_enter=keyboard_check_pressed(13);
}// /// @description  
function gml_Object_obj_after_Draw_64(_inst,_other){if(yyGetBool(_inst.gmlk_enter)){{room_goto(YYASSET_REF(0x03000004));};};display_set_gui_size(128,128);draw_set_color(16777215);draw_set_halign(1);draw_sprite(_inst,YYASSET_REF(0x01000042),_inst.gmlcut_index,0,0);draw_set_color(_inst.gmlcol_dark);draw_rectangle(0,_inst.gmlrect_y,129,129,false);draw_set_color(16777215);if(yyGetBool(_inst.gmlstart)){{if(yyfless(_inst.gmlpos,string_length(_inst.gmlintro[__yy_gml_array_check_index(_inst.gmlnum,
_inst.gmlintro)]))){{if(yyGetBool(_inst.gmlk_next_hold)){{_inst.gmlpos=yyfplus(_inst.gmlpos,1);};};_inst.gmlpos=yyfplus(_inst.gmlpos,_inst.gmltextspeed);};}else {{if((yyGetBool(_inst.gmlk_next))&&(yyGetBool(_inst.gmlcanProceed))){{_inst.gmlpos=0;_inst.gmlnum=yyfplus(_inst.gmlnum,1);if(yyfequal(_inst.gmlnum,8)){{_inst.gmlcanProceed=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(2)]=60;};};};};};};var gmlstr=string_copy(_inst.gmlintro[__yy_gml_array_check_index(_inst.gmlnum,
_inst.gmlintro)],0,_inst.gmlpos);draw_set_halign(1);draw_set_valign(1);draw_set_color(_inst.gmlcol_light);draw_set_font(YYASSET_REF(0x07000000));draw_text_ext(64,64,gmlstr,16,124);};};draw_set_color(16777215);}// /// @description  
function gml_Object_obj_dialogue_Create_0(_inst,_other){_inst.gmlt_mike=gml_Script_T(_inst,_other,"c_mike");_inst.gmlt_kev=gml_Script_T(_inst,_other,"c_kev");_inst.gmldlg=__yy_gml_array_check(_inst.gmldlg,622997480);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(0)]=_inst.gmlt_mike;
_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(0)]=gml_Script_T(_inst,_other,"climax_0");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(0)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(1)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(1)]=gml_Script_T(_inst,_other,"climax_1");
_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(1)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(2)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(2)]=gml_Script_T(_inst,_other,"climax_2");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(2)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(3)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(3)]=gml_Script_T(_inst,_other,"climax_3");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(3)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(4)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(4)]=gml_Script_T(_inst,
_other,"climax_4");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(4)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(5)]=_inst.gmlt_mike;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(5)]=gml_Script_T(_inst,_other,"climax_5");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(5)]=YYASSET_REF(0x00000017);
_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(6)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(6)]=gml_Script_T(_inst,_other,"climax_6");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(6)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(7)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,
_inst.gmldlg)][__yy_gml_array_check_index_set(7)]=gml_Script_T(_inst,_other,"climax_7");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(7)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(8)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(8)]=gml_Script_T(_inst,_other,"climax_8");_inst.gmldlg[__yy_gml_array_check_index_chain(2,
_inst.gmldlg)][__yy_gml_array_check_index_set(8)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(9)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(9)]=gml_Script_T(_inst,_other,"climax_9");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(9)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(10)]=_inst.gmlt_mike;
_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(10)]=gml_Script_T(_inst,_other,"climax_10");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(10)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(11)]=_inst.gmlt_mike;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(11)]=gml_Script_T(_inst,_other,
"climax_11");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(11)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(12)]=_inst.gmlt_mike;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(12)]=gml_Script_T(_inst,_other,"climax_12");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(12)]=YYASSET_REF(0x00000017);
_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(13)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(13)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(13)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(14)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(14)]=gml_Script_T(_inst,
_other,"climax_13");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(14)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(15)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(15)]=gml_Script_T(_inst,_other,"climax_14");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(15)]=YYASSET_REF(0x0000001A);
_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(16)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(16)]=gml_Script_T(_inst,_other,"climax_15");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(16)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(17)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,
_inst.gmldlg)][__yy_gml_array_check_index_set(17)]=gml_Script_T(_inst,_other,"climax_16");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(17)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(18)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(18)]=gml_Script_T(_inst,_other,"climax_17");_inst.gmldlg[__yy_gml_array_check_index_chain(2,
_inst.gmldlg)][__yy_gml_array_check_index_set(18)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(19)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(19)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(19)]=YYASSET_REF(0x0000001A);_inst.gmldlgno=0;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=140;
}// /// @description  
function gml_Object_obj_dialogue_Alarm_0(_inst,_other){ini_open("save.ini");ini_write_real("save","cut",1);ini_close();yyInst(_inst,_other,YYASSET_REF(0x00000017)).alarm=__yy_gml_array_check(yyInst(_inst,_other,YYASSET_REF(0x00000017)).alarm,3757492706);yyInst(_inst,_other,YYASSET_REF(0x00000017)).alarm[__yy_gml_array_check_index_set(9)]=1;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,
_other,_inst.gmldlg[__yy_gml_array_check_index(0,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~0])],_inst.gmldlg[__yy_gml_array_check_index(1,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~1])]));yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm=__yy_gml_array_check(yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,
_inst.gmldlg[~~2])]).alarm,1635733262);yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm[__yy_gml_array_check_index_set(9)]=1;}// /// @description  
function gml_Object_obj_dialogue_Alarm_1(_inst,_other){yyInst(_inst,_other,YYASSET_REF(0x0000001A)).gmlrun=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(2)]=180;}// /// @description  
function gml_Object_obj_dialogue_Alarm_2(_inst,
_other){_inst.gmldlgno=14;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,_inst.gmldlg[__yy_gml_array_check_index(0,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~0])],_inst.gmldlg[__yy_gml_array_check_index(1,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~1])]));}// /// @description  
function gml_Object_obj_dialogue_Alarm_3(_inst,
_other){(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlShowCut)(__temp__,_other,5));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(4)]=200;}// /// @description  
function gml_Object_obj_dialogue_Alarm_4(_inst,_other){_inst.gmldlgno=20;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,
"",gml_Script_T(_inst,_other,"climax_18")));}// /// @description  
function gml_Object_obj_dialogue_Step_0(_inst,_other){if(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_text_show)){{if((yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlk_enter))||(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlmb_fire))){{_inst.gmldlgno=yyfplus(_inst.gmldlgno,1);if(yyfequal(_inst.gmldlgno,13)){{if(yyfnotequal(yyInst(_inst,_other,YYASSET_REF(0x0000001A)).gmlrunlogic,"kev4")){{(__temp__=yyInst(_inst,
_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlCloseHud)(__temp__,_other));yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;yyInst(_inst,_other,YYASSET_REF(0x0000001A)).gmlrunlogic="kev4";_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=80;};};};}else {if(yyfequal(_inst.gmldlgno,19)){{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlCloseHud)(__temp__,_other));_inst.alarm=__yy_gml_array_check(_inst.alarm,
1584050178);_inst.alarm[__yy_gml_array_check_index_set(3)]=80;};}else {if(yyfequal(_inst.gmldlgno,21)){{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,""," "));room_goto(YYASSET_REF(0x03000003));};}else {if(yyfgreater(_inst.gmldlgno,20)){{};}else {{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,_inst.gmldlg[__yy_gml_array_check_index(0,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,
_inst.gmldlg[~~0])],_inst.gmldlg[__yy_gml_array_check_index(1,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~1])]));yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm=__yy_gml_array_check(yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm,1635733262);yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,
_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm[__yy_gml_array_check_index_set(9)]=1;};};};};};};};};};}// /// @description  
function gml_Object_obj_trigger_outside_Other_4(_inst,_other){if(yyfnotequal(_inst.gmltarget,(-4))){{_inst.gmlxx=yyfplus(__yy_gml_errCheck(yyInst(_inst,_other,_inst.gmltarget).x),__yy_gml_errCheck(_inst.gmlxxx));_inst.gmlyy=yyfplus(__yy_gml_errCheck(yyInst(_inst,_other,_inst.gmltarget).y),__yy_gml_errCheck(_inst.gmlyyy));};};}function gml_Object_obj_trigger_outside_PreCreate_0(_inst,
_other){event_inherited(_inst,_other);_inst.gmlxx=0;_inst.gmlyy=0;_inst.gmltarget=(-4);_inst.gmlxxx=0;_inst.gmlyyy=0;}// /// @description  
function gml_Object_obj_trigger_outside_Collision_obj_player(_inst,_other){yyInst(_inst,_other,YYASSET_REF(0x00000017)).x=_inst.gmlxx;yyInst(_inst,_other,YYASSET_REF(0x00000017)).y=_inst.gmlyy;}// /// @description  
function gml_Object_obj_trigger_text_Alarm_0(_inst,_other){(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlShowCut)(__temp__,
_other,_inst.gmlcutindex));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=80;}// /// @description  
function gml_Object_obj_trigger_text_Alarm_1(_inst,_other){(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"",gml_Script_T(_inst,_other,_inst.gmltxt)));instance_destroy(_inst);}function gml_Object_obj_trigger_text_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmltxt="someonescoming";
_inst.gmlstopsound=false;_inst.gmlcutindex=0;}// /// @description  
function gml_Object_obj_trigger_text_Collision_obj_player(_inst,_other){if(yyGetBool(_inst.gmlstopsound)){{_inst.gmlstopsound=false;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;audio_stop_sound(YYASSET_REF(0x02000000));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=100;};};}// /// @description  
function gml_Object_obj_bullet_Create_0(_inst,_other){_inst.image_speed=0;
_inst.image_index=0;if(yyGetBool(instance_exists(YYASSET_REF(0x00000017)))){audio_play_sound(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlsnd_bullet,1,false);};_inst.gmlcanDestroy=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=10;}// /// @description  
function gml_Object_obj_bullet_Alarm_0(_inst,_other){_inst.gmlcanDestroy=true;}// /// @description  
function gml_Object_obj_bullet_Step_0(_inst,_other){var gmlcoll=instance_place(_inst,
_inst.x,_inst.y,YYASSET_REF(0x00000018));var gmlenemy=instance_place(_inst,_inst.x,_inst.y,YYASSET_REF(0x00000021));if((yyGetBool(yyfnotequal(gmlcoll,(-4))))&&(yyGetBool(_inst.gmlcanDestroy))){{if(yyfequal(yyInst(_inst,_other,gmlcoll).image_index,1)){{audio_play_sound(YYASSET_REF(0x0200000C),1,false);instance_destroy(_inst);};};};};if(yyfnotequal(gmlenemy,(-4))){{{var __yy__v6=GetWithArray(gmlenemy);for(var __yy__v7 in __yy__v6){if(!__yy__v6.hasOwnProperty(__yy__v7))continue;var __yy__v8=__yy__v6[__yy__v7];
{if(yyGetBool(__yy__v8.gmlactive)){{__yy__v8.gmlisHit=true;__yy__v8.gmlenemy_health=yyfminus(__yy__v8.gmlenemy_health,1);__yy__v8.alarm=__yy_gml_array_check(__yy__v8.alarm,390853681);__yy__v8.alarm[__yy_gml_array_check_index_set(10)]=20;};};}}};audio_play_sound(YYASSET_REF(0x02000007),1,false);instance_destroy(_inst);};};if(yyfgreater(distance_to_object(_inst,YYASSET_REF(0x00000017)),128)){{instance_destroy(_inst);};};}// /// @description  
function gml_Object_obj_door_fl2_Create_0(_inst,_other){
_inst.gmlopen=false;_inst.gmldoor=instance_create_layer(_inst.x,_inst.y,"solid",YYASSET_REF(0x00000005),__yy_gml_object_create(_inst,(_inst.gml___struct___5=__yy_method(_inst,gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0))));(_inst.gmlInteract=__yy_method(_inst,gml_Script_Interact_gml_Object_obj_door_fl2_Create_0));(_inst.gmlInteractFar=__yy_method(_inst,gml_Script_InteractFar_gml_Object_obj_door_fl2_Create_0));}function gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0(_inst,
_other){if(_inst.__yyIsGMLObject){_inst.__type="gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0";}if(gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0.prototype.__type===undefined){gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0.prototype.__type="gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0";}{if(_inst.__yyIsGMLObject)Object.setPrototypeOf(_inst,gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0.prototype);{_inst.image_xscale=2;_inst.image_yscale=1;
_inst.image_index=1;}}}function gml_Script_Interact_gml_Object_obj_door_fl2_Create_0(_inst,_other){{if(!yyGetBool(_inst.gmlopen)){(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"",gml_Script_T(_inst,_other,"doorclosed")));}else {{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"",gml_Script_T(_inst,_other,_inst.gmltext_open)));if(yyfnotequal(_inst.gmldoor,(-4))){instance_destroy(_inst,
_inst.gmldoor);};instance_destroy(_inst);};};}}function gml_Script_InteractFar_gml_Object_obj_door_fl2_Create_0(_inst,_other){{}}// /// @description  
function gml_Object_obj_door_fl2_Step_0(_inst,_other){_inst.depth=__yy_gml_errCheck(-__yy_gml_errCheck(_inst.y));}function gml_Object_obj_door_fl2_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmltext_open="opendoor_c";_inst.gmlhud_index=2;}// /// @description  
function gml_Object_obj_trigger_bgm_in_Collision_obj_player(_inst,_other){
if(yyGetBool(audio_is_playing(YYASSET_REF(0x0200000B)))){{audio_stop_sound(YYASSET_REF(0x0200000B));audio_play_sound(YYASSET_REF(0x02000009),1,true);};};}// /// @description  
function gml_Object_obj_player_Create_0(_inst,_other){_inst.gmlxSpd=0;_inst.gmlySpd=0;_inst.gmlspd=1;_inst.gmla_walk_front=YYASSET_REF(0x0100001E);_inst.gmla_walk_front_g=YYASSET_REF(0x0100002B);_inst.gmla_walk_back=YYASSET_REF(0x0100003B);_inst.gmla_walk_back_g=YYASSET_REF(0x01000048);_inst.gmla_walk_side_rt=YYASSET_REF(0x01000030);
_inst.gmla_walk_side_rt_g=YYASSET_REF(0x01000026);_inst.gmla_walk_side_lt=YYASSET_REF(0x01000031);_inst.gmla_walk_side_lt_g=YYASSET_REF(0x01000014);_inst.gmla_cut=YYASSET_REF(0x0100000A);_inst.gmlarm_index=YYASSET_REF(0x01000040);_inst.gmlindex=_inst.gmla_walk_front;_inst.gmlshake_value=1;_inst.gmlarm_rot=0;_inst.gmlrot_x=_inst.x;_inst.gmlrot_y=_inst.y;_inst.gmlmx=g_pBuiltIn.get_mouse_x();_inst.gmlmy=g_pBuiltIn.get_mouse_y();_inst.gmlm_xx=0;_inst.gmlm_yy=0;_inst.gmlbul_spd=2;_inst.gmlbul_reload=false;
_inst.gmlsnd_bullet=YYASSET_REF(0x02000001);_inst.gmlsnd_reload=YYASSET_REF(0x02000005);_inst.gmlisHit=false;_inst.gmlcut=false;_inst.gmlsnd_walk=audio_play_sound(YYASSET_REF(0x0200000F),1,true,0);audio_pause_sound(_inst.gmlsnd_walk);audio_sound_gain(_inst.gmlsnd_walk,1,1);instance_create_layer(g_pBuiltIn.get_mouse_x(),g_pBuiltIn.get_mouse_y(),"Instances_HUD",YYASSET_REF(0x0000001B));_inst.gmlcanControl=true;_inst.gmlcanMove=true;(_inst.gmlSetPlayerAge=__yy_method(_inst,gml_Script_SetPlayerAge_gml_Object_obj_player_Create_0));
gml_Script_SetPlayerAge_gml_Object_obj_player_Create_0(_inst,_other,_inst.gmlisAdult);}function gml_Script_SetPlayerAge_gml_Object_obj_player_Create_0(_inst,_other,argument0){{if(yyfequal(argument0,_inst.undefined)){argument0=true;};}{if(yyGetBool(argument0)){{_inst.gmla_walk_front=YYASSET_REF(0x0100001E);_inst.gmla_walk_front_g=YYASSET_REF(0x0100002B);_inst.gmla_walk_back=YYASSET_REF(0x0100003B);_inst.gmla_walk_back_g=YYASSET_REF(0x01000048);_inst.gmla_walk_side_rt=YYASSET_REF(0x01000030);_inst.gmla_walk_side_rt_g=YYASSET_REF(0x01000026);
_inst.gmla_walk_side_lt=YYASSET_REF(0x01000031);_inst.gmla_walk_side_lt_g=YYASSET_REF(0x01000014);_inst.gmlarm_index=YYASSET_REF(0x01000040);_inst.gmlsnd_bullet=YYASSET_REF(0x0200000A);_inst.gmlsnd_reload=YYASSET_REF(0x02000011);if(!yyGetBool(audio_is_playing(YYASSET_REF(0x0200000B)))){audio_play_sound(YYASSET_REF(0x0200000B),1,true);};};}else {{_inst.gmla_walk_front=YYASSET_REF(0x0100003C);_inst.gmla_walk_front_g=YYASSET_REF(0x01000037);_inst.gmla_walk_back=YYASSET_REF(0x0100001F);_inst.gmla_walk_back_g=YYASSET_REF(0x0100000C);
_inst.gmla_walk_side_rt=YYASSET_REF(0x0100002D);_inst.gmla_walk_side_rt_g=YYASSET_REF(0x01000039);_inst.gmla_walk_side_lt=YYASSET_REF(0x01000009);_inst.gmla_walk_side_lt_g=YYASSET_REF(0x0100002F);_inst.gmlarm_index=YYASSET_REF(0x01000011);};};_inst.gmlindex=_inst.gmla_walk_front;}}// /// @description  
function gml_Object_obj_player_Destroy_0(_inst,_other){}// /// @description  
function gml_Object_obj_player_Alarm_0(_inst,_other){_inst.gmlspd=1;_inst.gmlbul_reload=false;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlbullets=yyInst(_inst,
_other,YYASSET_REF(0x00000022)).gmlbullets_max;}// /// @description  
function gml_Object_obj_player_Alarm_10(_inst,_other){_inst.gmlisHit=false;}// /// @description  
function gml_Object_obj_player_Alarm_9(_inst,_other){_inst.gmlisHit=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(10)]=30;}// /// @description  
function gml_Object_obj_player_Step_1(_inst,_other){gml_Script_SetControls(_inst,_other);}// /// @description  
function gml_Object_obj_player_Step_0(_inst,
_other){_inst.depth=__yy_gml_errCheck(-__yy_gml_errCheck(_inst.y));if((yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_open))||(yyGetBool(!yyGetBool(_inst.gmlcanMove)))){{_inst.gmlxSpd=0;_inst.gmlySpd=0;audio_pause_sound(_inst.gmlsnd_walk);_inst.image_speed=0;if(yyGetBool(_inst.gmlcut)){{if(yyGetBool(_inst.gmlisHit)){{_inst.gmlshake_value=1;};}else {{{var __yy__v9=GetWithArray(YYASSET_REF(0x0000001A));for(var __yy__v10 in __yy__v9){if(!__yy__v9.hasOwnProperty(__yy__v10))continue;var __yy__v11=__yy__v9[__yy__v10];
{if(yyfgreater(__yy__v11.y,yyfminus(__yy_gml_errCheck(yyInst(_inst,_other,YYASSET_REF(0x00000017)).y),32))){__yy__v11.gmlySpd=(-1);}else {{if(!yyGetBool(instance_exists(YYASSET_REF(0x00000011)))){{instance_create_layer(__yy__v11.x,__yy__v11.y,"Instances",YYASSET_REF(0x00000011));};};__yy__v11.gmlySpd=0;};};}}};_inst.gmlindex=_inst.gmla_cut;_inst.gmlshake_value=0.55;};};_inst.sprite_index=_inst.gmlindex;};};return;};};_inst.gmlxSpd=0;_inst.gmlySpd=0;_inst.gmlxSpd=yyfplus(_inst.gmlxSpd,_inst.gmlk_rt);
_inst.gmlxSpd=yyfminus(_inst.gmlxSpd,_inst.gmlk_lt);_inst.gmlySpd=yyfminus(_inst.gmlySpd,_inst.gmlk_up);_inst.gmlySpd=yyfplus(_inst.gmlySpd,_inst.gmlk_dwn);_inst.gmlxSpd=yyftime(__yy_gml_errCheck(_inst.gmlxSpd),__yy_gml_errCheck(_inst.gmlspd));_inst.gmlySpd=yyftime(__yy_gml_errCheck(_inst.gmlySpd),__yy_gml_errCheck(_inst.gmlspd));_inst.gmlxSpd=clamp(_inst.gmlxSpd,__yy_gml_errCheck(-__yy_gml_errCheck(_inst.gmlspd)),_inst.gmlspd);_inst.gmlySpd=clamp(_inst.gmlySpd,__yy_gml_errCheck(-__yy_gml_errCheck(_inst.gmlspd)),
_inst.gmlspd);if((yyGetBool(yyfequal(abs(_inst.gmlxSpd),_inst.gmlspd)))&&(yyGetBool(yyfequal(abs(_inst.gmlySpd),_inst.gmlspd)))){{_inst.gmlxSpd=yyfdivide(__yy_gml_errCheck(_inst.gmlxSpd),1.5);_inst.gmlySpd=yyfdivide(__yy_gml_errCheck(_inst.gmlySpd),1.5);};};_inst.image_speed=(yyGetBool(yyfnotequal(_inst.gmlxSpd,0)))||(yyGetBool(yyfnotequal(_inst.gmlySpd,0)));move_and_collide(_inst,_inst.gmlxSpd,_inst.gmlySpd,YYASSET_REF(0x00000018),1,0,0,_inst.gmlspd,_inst.gmlspd);if((yyGetBool(yyfnotequal(_inst.x,
_inst.xprevious)))||(yyGetBool(yyfnotequal(_inst.y,_inst.yprevious)))){{var gml_pitch=1;if(yyfless(_inst.gmlspd,1)){gml_pitch=0.8;};audio_sound_pitch(_inst.gmlsnd_walk,gml_pitch);audio_resume_sound(_inst.gmlsnd_walk);};}else {audio_pause_sound(_inst.gmlsnd_walk);};var gmlvalx=yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlg_x[__yy_gml_array_check_index(yyfdiv(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlgrid_size)),yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlg_x)];
var gmlvaly=yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlg_y[__yy_gml_array_check_index(yyfdiv(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlgrid_size)),yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlg_y)];_inst.gmlmx=yyfplus(__yy_gml_errCheck(g_pBuiltIn.get_mouse_x()),__yy_gml_errCheck(gmlvalx));_inst.gmlmy=yyfplus(__yy_gml_errCheck(g_pBuiltIn.get_mouse_y()),__yy_gml_errCheck(gmlvaly));_inst.direction=point_direction(_inst.x,_inst.y,_inst.gmlmx,
_inst.gmlmy);_inst.direction=yyfmod(__yy_gml_errCheck(yyfplus(__yy_gml_errCheck(yyfmod(__yy_gml_errCheck(_inst.direction),360)),360)),360);var gmlcrossair_index=YYASSET_REF(0x0100003F);var gmlcrossair_frame=0;if(yyGetBool(_inst.gmlmb_aim)){{gmlcrossair_index=YYASSET_REF(0x01000003);if((yyGetBool(yyflessequal(_inst.direction,45)))||(yyGetBool(yyfgreater(_inst.direction,315)))){{_inst.gmlindex=_inst.gmla_walk_side_rt_g;_inst.gmlrot_x=(-2);_inst.gmlrot_y=(-5);};}else {if((yyGetBool(yyflessequal(_inst.direction,
135)))&&(yyGetBool(yyfgreater(_inst.direction,45)))){{_inst.gmlindex=_inst.gmla_walk_back_g;_inst.gmlrot_x=(-2);_inst.gmlrot_y=(-3);};}else {if((yyGetBool(yyflessequal(_inst.direction,225)))&&(yyGetBool(yyfgreater(_inst.direction,135)))){{_inst.gmlindex=_inst.gmla_walk_side_lt_g;_inst.gmlrot_x=2;_inst.gmlrot_y=(-3);};}else {if((yyGetBool(yyflessequal(_inst.direction,315)))&&(yyGetBool(yyfgreater(_inst.direction,225)))){{_inst.gmlindex=_inst.gmla_walk_front_g;_inst.gmlrot_x=2;_inst.gmlrot_y=(-5);};
};};};};_inst.gmlarm_rot=_inst.direction;};}else {{gmlcrossair_frame=0;if(yyfequal(_inst.gmlindex,_inst.gmla_walk_front_g)){_inst.gmlindex=_inst.gmla_walk_front_g;};if(yyfequal(_inst.gmlindex,_inst.gmla_walk_back_g)){_inst.gmlindex=_inst.gmla_walk_back_g;};if(yyfequal(_inst.gmlindex,_inst.gmla_walk_side_lt_g)){_inst.gmlindex=_inst.gmla_walk_side_lt_g;};if(yyfequal(_inst.gmlindex,_inst.gmla_walk_side_rt_g)){_inst.gmlindex=_inst.gmla_walk_side_rt_g;};if(yyfgreater(_inst.gmlySpd,0)){_inst.gmlindex=_inst.gmla_walk_front;
}else {if(yyfless(_inst.gmlySpd,0)){_inst.gmlindex=_inst.gmla_walk_back;};};if(yyfgreater(_inst.gmlxSpd,0)){_inst.gmlindex=_inst.gmla_walk_side_rt;}else {if(yyfless(_inst.gmlxSpd,0)){_inst.gmlindex=_inst.gmla_walk_side_lt;};};};};if(yyGetBool(instance_exists(YYASSET_REF(0x0000001B)))){{yyInst(_inst,_other,YYASSET_REF(0x0000001B)).x=_inst.gmlmx;yyInst(_inst,_other,YYASSET_REF(0x0000001B)).y=_inst.gmlmy;yyInst(_inst,_other,YYASSET_REF(0x0000001B)).sprite_index=gmlcrossair_index;if(yyfequal(gmlcrossair_index,
YYASSET_REF(0x0100003F))){{yyInst(_inst,_other,YYASSET_REF(0x0000001B)).image_index=gmlcrossair_frame;var gml_interact=collision_point(_inst,yyInst(_inst,_other,YYASSET_REF(0x0000001B)).x,yyInst(_inst,_other,YYASSET_REF(0x0000001B)).y,YYASSET_REF(0x00000009),true,true);if(yyfnotequal(gml_interact,(-4))){{if(yyfless(distance_to_object(_inst,gml_interact),16)){{yyInst(_inst,_other,YYASSET_REF(0x0000001B)).image_index=yyInst(_inst,_other,gml_interact).gmlhud_index;if((yyGetBool(!yyGetBool(_inst.gmlmb_aim)))&&(yyGetBool(_inst.gmlmb_fire))){
{audio_play_sound(YYASSET_REF(0x02000008),1,false);(__temp__=yyInst(_inst,_other,gml_interact),__yyg_call_method(__temp__.gmlInteract)(__temp__,_other));};};};}else {yyInst(_inst,_other,YYASSET_REF(0x0000001B)).image_index=1;};};};};}else {{if((yyGetBool(_inst.gmlmb_fire))&&(yyGetBool(!yyGetBool(_inst.gmlbul_reload)))){{if(yyfgreater(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlbullets,0)){{yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlbullets=yyfminus(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlbullets,
1);instance_create_layer(yyfplus(yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(lengthdir_x(8,_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_x)),yyfplus(yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(lengthdir_y(8,_inst.direction))),__yy_gml_errCheck(_inst.gmlrot_y)),"Instances",YYASSET_REF(0x00000014),__yy_gml_object_create(_inst,(_inst.gml___struct___6=__yy_method(_inst,gml_Script____struct___6_gml_Object_obj_player_Step_0)),_inst.direction,_inst.gmlbul_spd));};}else {{yyInst(_inst,
_other,YYASSET_REF(0x00000022)).gmlbullets=yyfminus(__yy_gml_errCheck(sprite_get_number(YYASSET_REF(0x0100000D))),1);audio_play_sound(_inst.gmlsnd_reload,1,false);_inst.gmlspd=0.5;_inst.gmlbul_reload=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=100;};};};};};};};};_inst.sprite_index=_inst.gmlindex;}function gml_Script____struct___6_gml_Object_obj_player_Step_0(_inst,_other){if(_inst.__yyIsGMLObject){_inst.__type="gml_Script____struct___6_gml_Object_obj_player_Step_0";
}if(gml_Script____struct___6_gml_Object_obj_player_Step_0.prototype.__type===undefined){gml_Script____struct___6_gml_Object_obj_player_Step_0.prototype.__type="gml_Script____struct___6_gml_Object_obj_player_Step_0";}{if(_inst.__yyIsGMLObject)Object.setPrototypeOf(_inst,gml_Script____struct___6_gml_Object_obj_player_Step_0.prototype);{var $$args=Array.prototype.slice.call(arguments);{_inst.direction=$$args[__yy_gml_array_check_index(2+(0),$$args)];_inst.speed=$$args[__yy_gml_array_check_index(2+(1),
$$args)];}}}}// /// @description  
function gml_Object_obj_player_Draw_0(_inst,_other){var gmlshake_x=yyftime(__yy_gml_errCheck(random_range(_inst.gmlshake_value,__yy_gml_errCheck(-__yy_gml_errCheck(_inst.gmlshake_value)))),(yyGetBool(_inst.gmlisHit))||(yyGetBool(_inst.gmlcut)));var gmlshake_y=yyftime(__yy_gml_errCheck(random_range(_inst.gmlshake_value,__yy_gml_errCheck(-__yy_gml_errCheck(_inst.gmlshake_value)))),(yyGetBool(_inst.gmlisHit))||(yyGetBool(_inst.gmlcut)));draw_sprite_ext(_inst,_inst.gmlindex,
_inst.image_index,yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(gmlshake_x)),yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(gmlshake_y)),1,1,0,16777215,1);draw_sprite_ext(_inst,_inst.gmlarm_index,_inst.image_index,yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(_inst.gmlrot_x)),yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(_inst.gmlrot_y)),1,1,_inst.gmlarm_rot,16777215,_inst.gmlmb_aim);}function gml_Object_obj_player_PreCreate_0(_inst,_other){event_inherited(_inst,_other);
_inst.gmlisAdult=false;}// /// @description  
function gml_Object_obj_cut_pam_Create_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlxx=464;_inst.gmlyy=728;}function gml_Object_obj_cut_pam_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmla_run=YYASSET_REF(0x01000043);}// /// @description  
function gml_Object_obj_child_kev_Create_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlambush1=false;_inst.gmlambush2=false;_inst.gmlrun=false;_inst.gmlx_1=960;_inst.gmly_1=528;_inst.gmly_center=_inst.y;
_inst.gmlhp=12;_inst.gmlattacklogic="kev";_inst.gmlrunlogic="kev";_inst.gmlfire_frequency=10;_inst.gmlbul_time=6;(_inst.gmlAmbush1=__yy_method(_inst,gml_Script_Ambush1_gml_Object_obj_child_kev_Create_0));(_inst.gmlStartFight=__yy_method(_inst,gml_Script_StartFight_gml_Object_obj_child_kev_Create_0));(_inst.gmlDefeat=__yy_method(_inst,gml_Script_Defeat_gml_Object_obj_child_kev_Create_0));}function gml_Script_Ambush1_gml_Object_obj_child_kev_Create_0(_inst,_other){{audio_stop_sound(YYASSET_REF(0x02000000));
_inst.gmlattacklogic="kev";yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;audio_play_sound(YYASSET_REF(0x02000010),1,false);_inst.gmlambush1=true;}}function gml_Script_StartFight_gml_Object_obj_child_kev_Create_0(_inst,_other){{audio_play_sound(YYASSET_REF(0x02000006),1,true);_inst.gmlactive=true;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;}}function gml_Script_Defeat_gml_Object_obj_child_kev_Create_0(_inst,_other){{audio_stop_sound(YYASSET_REF(0x02000006));_inst.gmlactive=false;
_inst.gmlisAiming=false;_inst.gmlisFiring=false;_inst.gmlenemy_health=10;_inst.gmlxSpd=0;_inst.gmlySpd=0;_inst.gmlx_1=360;_inst.gmly_1=424;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(2)]=60;}}// /// @description  
function gml_Object_obj_child_kev_Alarm_9(_inst,_other){_inst.gmlisHit=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(10)]=30;
}// /// @description  
function gml_Object_obj_child_kev_Step_0(_inst,_other){if(yyGetBool(_inst.gmlambush1)){{if(yyfgreater(point_distance(_inst.x,_inst.y,_inst.gmlx_1,_inst.gmly_1),2.5)){{_inst.direction=point_direction(_inst.x,_inst.y,_inst.gmlx_1,_inst.gmly_1);move_towards_point(_inst,_inst.gmlx_1,_inst.gmly_1,5);};}else {{_inst.gmlambush1=false;_inst.speed=0;call_later(30,1,_inst.gmlStartFight);};};};}else {{event_inherited(_inst,_other);};};}function gml_Object_obj_child_kev_PreCreate_0(_inst,
_other){event_inherited(_inst,_other);_inst.gmla_walk_front=YYASSET_REF(0x0100003A);_inst.gmla_walk_front_g=YYASSET_REF(0x01000013);_inst.gmla_walk_back=YYASSET_REF(0x0100002C);_inst.gmla_walk_back_g=YYASSET_REF(0x01000021);_inst.gmla_walk_side_rt=YYASSET_REF(0x01000032);_inst.gmla_walk_side_rt_g=YYASSET_REF(0x01000038);_inst.gmla_walk_side_lt=YYASSET_REF(0x0100002A);_inst.gmla_walk_side_lt_g=YYASSET_REF(0x01000029);}// /// @description  
function gml_Object_obj_crossair_Step_0(_inst,_other){_inst.depth=(-999999);
}// /// @description  
function gml_Object_obj_dialogue_end_Create_0(_inst,_other){_inst.gmldlg=__yy_gml_array_check(_inst.gmldlg,622997480);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(0)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(0)]="PERCHE' L'HAI FATTO?!";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(0)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(1)]="Kev";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(1)]="I... Io...";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(1)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(2)]="Kev";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(2)]="E' stato...";
_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(2)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(3)]="Kev";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(3)]="E' colpa del bambino!";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(3)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(4)]="Kev";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(4)]="Mi ha detto lui di farlo!";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(4)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(5)]="Mike";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(5)]="Il mio dito...";
_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(5)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(6)]="Kev";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(6)]="Mi ha dato lui questo";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(6)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(7)]="Kev";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(7)]="coltello, mi ha detto";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(7)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(8)]="Kev";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(8)]="che e' piu' forte delle";
_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(8)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(9)]="Kev";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(9)]="nostre pistole giocattolo!";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(9)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(10)]="Mike";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(10)]="Ma di che stai parlando?!";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(10)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(11)]="Mike";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(11)]="IL DITO!";
_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(11)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(12)]="Mike";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(12)]="MI HAI TAGLIATO UN DITO!";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(12)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(13)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(13)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(13)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(14)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(14)]="Per diversi minuti,";
_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(14)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(15)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(15)]="rimasi li' da solo.";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(15)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(16)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(16)]="Piangendo, volsi lo sguardo";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(16)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(17)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(17)]="verso la fitta oscurita'.";
_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(17)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(18)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(18)]="Nel buio...";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(18)]=YYASSET_REF(0x0000001A);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(19)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(19)]="";_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(19)]=YYASSET_REF(0x0000001A);_inst.gmldlgno=0;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=140;}// /// @description  
function gml_Object_obj_dialogue_end_Alarm_0(_inst,_other){yyInst(_inst,_other,
YYASSET_REF(0x00000017)).alarm=__yy_gml_array_check(yyInst(_inst,_other,YYASSET_REF(0x00000017)).alarm,3757492706);yyInst(_inst,_other,YYASSET_REF(0x00000017)).alarm[__yy_gml_array_check_index_set(9)]=1;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,_inst.gmldlg[__yy_gml_array_check_index(0,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~0])],_inst.gmldlg[__yy_gml_array_check_index(1,
_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~1])]));yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm=__yy_gml_array_check(yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm,1635733262);yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,
_inst.gmldlg[~~2])]).alarm[__yy_gml_array_check_index_set(9)]=1;}// /// @description  
function gml_Object_obj_dialogue_end_Alarm_1(_inst,_other){yyInst(_inst,_other,YYASSET_REF(0x0000001A)).gmlrun=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(2)]=180;}// /// @description  
function gml_Object_obj_dialogue_end_Alarm_2(_inst,_other){_inst.gmldlgno=14;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,_other,
YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,_inst.gmldlg[__yy_gml_array_check_index(0,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~0])],_inst.gmldlg[__yy_gml_array_check_index(1,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~1])]));}// /// @description  
function gml_Object_obj_dialogue_end_Alarm_3(_inst,_other){(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlShowCut)(__temp__,
_other,5));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(4)]=200;}// /// @description  
function gml_Object_obj_dialogue_end_Alarm_4(_inst,_other){_inst.gmldlgno=20;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"","...Non c'era nessuno."));}// /// @description  
function gml_Object_obj_dialogue_end_Step_0(_inst,_other){
if(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_text_show)){{if((yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlk_enter))||(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlmb_fire))){{_inst.gmldlgno=yyfplus(_inst.gmldlgno,1);if(yyfequal(_inst.gmldlgno,13)){{if(yyfnotequal(yyInst(_inst,_other,YYASSET_REF(0x0000001A)).gmlrunlogic,"kev4")){{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlCloseHud)(__temp__,_other));yyInst(_inst,
_other,YYASSET_REF(0x00000017)).gmlcanMove=false;yyInst(_inst,_other,YYASSET_REF(0x0000001A)).gmlrunlogic="kev4";_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=80;};};};}else {if(yyfequal(_inst.gmldlgno,19)){{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlCloseHud)(__temp__,_other));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(3)]=80;};}else {if(yyfequal(_inst.gmldlgno,
21)){{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,""," "));game_end();};}else {if(yyfgreater(_inst.gmldlgno,20)){{};}else {{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,_inst.gmldlg[__yy_gml_array_check_index(0,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~0])],_inst.gmldlg[__yy_gml_array_check_index(1,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,
_inst.gmldlg[~~1])]));yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm=__yy_gml_array_check(yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm,1635733262);yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm[__yy_gml_array_check_index_set(9)]=1;
};};};};};};};};};}// /// @description  
function gml_Object_obj_menu_Create_0(_inst,_other){_inst.gmlcut_show=false;_inst.gmlcut_index=0;_inst.gmlcol_light=11645361;_inst.gmlcol_dark=2493192;_inst.gmlnum=0;_inst.gmltxt=gml_Script_T(_inst,_other,"disclaimer");_inst.gmltxt2=gml_Script_T(_inst,_other,"disclaimer_b");_inst.gmltxt_click=gml_Script_T(_inst,_other,"begin");_inst.gmltxt_p=gml_Script_T(_inst,_other,"begin_p");_inst.gmlcanProceed=false;_inst.gmlrect_y=0;_inst.alarm=__yy_gml_array_check(_inst.alarm,
1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=20;_inst.gmlisCut=0;ini_open("save.ini");_inst.gmlisCut=ini_read_real("save","cut",0);ini_close();}// /// @description  
function gml_Object_obj_menu_Alarm_0(_inst,_other){if(yyfless(_inst.gmlrect_y,128)){{_inst.gmlrect_y=yyfplus(_inst.gmlrect_y,16);_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=5;};}else {{_inst.gmlrect_y=129;};};}// /// @description  
function gml_Object_obj_menu_Alarm_1(_inst,
_other){if(yyGetBool(_inst.gmlk_enter)){{_inst.gmlrect_y=0;_inst.gmlcanProceed=true;};}else {_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=1;};}// /// @description  
function gml_Object_obj_menu_Alarm_2(_inst,_other){room_goto(YYASSET_REF(0x03000002));}// /// @description  
function gml_Object_obj_menu_Step_1(_inst,_other){_inst.gmlk_next=mouse_check_button_pressed(1);_inst.gmlk_next_hold=mouse_check_button(1);_inst.gmlk_enter=keyboard_check_pressed(13);
_inst.gmlk_p=keyboard_check_pressed(80);}// /// @description  
function gml_Object_obj_menu_Draw_64(_inst,_other){display_set_gui_size(128,128);draw_set_color(16777215);draw_set_halign(1);if(yyGetBool(_inst.gmlk_next)){{if(!yyGetBool(_inst.gmlcanProceed)){{if(!yyGetBool(audio_is_playing(YYASSET_REF(0x02000012)))){audio_play_sound(YYASSET_REF(0x02000012),1,false);};_inst.gmlrect_y=0;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=10;_inst.gmlcanProceed=true;
};}else {{room_goto(YYASSET_REF(0x03000001));};};};}else {{if((yyGetBool(_inst.gmlk_p))&&(yyGetBool(_inst.gmlcanProceed))){{room_goto(YYASSET_REF(0x03000005));};};};};if(yyGetBool(_inst.gmlcanProceed)){{draw_set_color(_inst.gmlcol_light);draw_sprite(_inst,_inst.sprite_index,_inst.gmlisCut,0,0);draw_set_font(YYASSET_REF(0x07000001));draw_set_halign(0);draw_set_valign(2);display_set_gui_size(384,384);draw_text_ext(8,380,_inst.gmltxt_p,16,384);display_set_gui_size(128,128);draw_set_halign(0);draw_set_valign(2);
draw_text_ext(2,122,_inst.gmltxt_click,16,124);draw_set_color(_inst.gmlcol_dark);draw_rectangle(0,_inst.gmlrect_y,128,129,false);};}else {{draw_set_halign(1);draw_set_valign(1);draw_set_color(4235519);draw_set_font(YYASSET_REF(0x07000000));draw_text_ext(64,64,_inst.gmltxt,16,124);draw_set_color(_inst.gmlcol_light);draw_text_ext(64,64,_inst.gmltxt2,16,124);draw_set_color(_inst.gmlcol_dark);draw_rectangle(0,_inst.gmlrect_y,128,129,false);};};draw_set_color(16777215);}// /// @description  
function gml_Object_obj_menu_Draw_0(_inst,
_other){}// /// @description  
function gml_Object_obj_blood_Other_7(_inst,_other){_inst.image_speed=0;_inst.image_index=yyfminus(__yy_gml_errCheck(_inst.image_number),1);}function gml_Object_obj_trigger_spawnchild_3_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmltxt="TEST";}// /// @description  
function gml_Object_obj_trigger_spawnchild_3_Collision_obj_player(_inst,_other){yyInst(_inst,_other,YYASSET_REF(0x0000001A)).x=960;yyInst(_inst,_other,YYASSET_REF(0x0000001A)).y=480;(__temp__=yyInst(_inst,
_other,YYASSET_REF(0x0000001A)),__yyg_call_method(__temp__.gmlAmbush1)(__temp__,_other));instance_destroy(_inst);}// /// @description  
function gml_Object_obj_patreon_Create_0(_inst,_other){_inst.gmlcut_show=false;_inst.gmlcut_index=0;_inst.gmlcol_light=11645361;_inst.gmlcol_dark=2493192;_inst.gmlnum=0;_inst.gmltxt=gml_Script_T(_inst,_other,"thanks");_inst.gmltxt2="Random-1NC | awful twine | lelestorm8\nBadTea(TeaBearAdolov) | Alex Georgescu | That One Medic\nD . ool | Marooo | Shift\nSaltlymail | Turner Powell | AssimilatedDoggy\nLasagne Al Forno (Sb) | Seth M | Xavier Wilson\nKedamono | Jordis_ | JHLock | vivian bibian | Oliver | Dawson Granados\n\nneitherworld | Kitty Alberti | Elvisish\nReed777 | Zion Seda\n\nMr.Carcallo | Calipra | AlexoFalco\nPatience | VampiricJuggalo | Scario\nThinkerXXIX | Slotek | Eric Patton\nAestheticGamer | Carrie Krueger\n\npatreon.com/MyMadnessWorks";
_inst.gmltxt_click=gml_Script_T(_inst,_other,"begin");_inst.gmlcanProceed=false;_inst.gmlrect_y=0;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=10;}// /// @description  
function gml_Object_obj_patreon_Alarm_0(_inst,_other){if(yyfless(_inst.gmlrect_y,320)){{_inst.gmlrect_y=yyfplus(_inst.gmlrect_y,16);_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=5;};}else {{_inst.gmlrect_y=321;};};}
// /// @description  
function gml_Object_obj_patreon_Alarm_1(_inst,_other){}// /// @description  
function gml_Object_obj_patreon_Alarm_2(_inst,_other){room_goto(YYASSET_REF(0x03000000));}// /// @description  
function gml_Object_obj_patreon_Step_1(_inst,_other){_inst.gmlk_next=mouse_check_button_pressed(1);_inst.gmlk_next_hold=mouse_check_button(1);_inst.gmlk_enter=keyboard_check_pressed(13);}// /// @description  
function gml_Object_obj_patreon_Draw_64(_inst,_other){if((yyGetBool(_inst.gmlk_next))||(yyGetBool(_inst.gmlk_enter))||(yyGetBool(keyboard_check_pressed(80)))){
room_goto(YYASSET_REF(0x03000000));};var gmlvw=320;var gmlvh=320;display_set_gui_size(gmlvw,gmlvh);draw_set_halign(1);draw_set_valign(0);draw_set_font(YYASSET_REF(0x07000000));draw_set_color(_inst.gmlcol_light);draw_text_ext(yyfdivide(__yy_gml_errCheck(gmlvw),2),8,_inst.gmltxt,16,yyfminus(__yy_gml_errCheck(gmlvw),4));draw_set_valign(1);draw_text_ext(yyfdivide(__yy_gml_errCheck(gmlvw),2),yyfplus(__yy_gml_errCheck(yyfdivide(__yy_gml_errCheck(gmlvh),2)),12),_inst.gmltxt2,16,yyfminus(__yy_gml_errCheck(gmlvw),
4));draw_set_color(_inst.gmlcol_dark);draw_rectangle(0,_inst.gmlrect_y,gmlvw,gmlvh,false);draw_set_color(16777215);}// /// @description  
function gml_Object_obj_patreon_Draw_0(_inst,_other){}// /// @description  
function gml_Object_obj_enemy_Create_0(_inst,_other){_inst.gmlisHit=false;_inst.gmlshake_value=1;_inst.gmlindex=(-1);}// /// @description  
function gml_Object_obj_enemy_Alarm_10(_inst,_other){_inst.gmlisHit=false;}// /// @description  
function gml_Object_obj_enemy_Draw_0(_inst,_other){
var gmlshake_x=yyftime(__yy_gml_errCheck(random_range(_inst.gmlshake_value,__yy_gml_errCheck(-__yy_gml_errCheck(_inst.gmlshake_value)))),__yy_gml_errCheck(_inst.gmlisHit));var gmlshake_y=yyftime(__yy_gml_errCheck(random_range(_inst.gmlshake_value,__yy_gml_errCheck(-__yy_gml_errCheck(_inst.gmlshake_value)))),__yy_gml_errCheck(_inst.gmlisHit));draw_sprite_ext(_inst,_inst.gmlindex,_inst.image_index,yyfplus(__yy_gml_errCheck(_inst.x),__yy_gml_errCheck(gmlshake_x)),yyfplus(__yy_gml_errCheck(_inst.y),__yy_gml_errCheck(gmlshake_y)),
1,1,0,16777215,1);}function gml_Object_obj_controller_Create_0(_inst,_other){_inst.gmlshkx=0;_inst.gmlshky=0;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(9)]=1;_inst.gmlcam_x=0;_inst.gmlcam_y=0;_inst.gmlcam_w=128;_inst.gmlcam_h=128;_inst.gmlhud_xscale=0;_inst.gmlhud_xscale_max=8;_inst.gmlhud_yscale=1;_inst.gmlstairs_y=128;_inst.gmlstairs_climb=false;_inst.gmlcutscene_stairs=false;_inst.gmlcanProceed=true;_inst.gmlmain_camera=camera_create_view(_inst.gmlcam_x,
_inst.gmlcam_y,_inst.gmlcam_w,_inst.gmlcam_h);camera_apply(_inst.gmlmain_camera);surface_resize(g_pBuiltIn.application_surface,_inst.gmlcam_w,_inst.gmlcam_h);_inst.gmlhud_open=false;_inst.gmlhud_text_show=false;_inst.gmlhud_bullet_show=true;_inst.gmlhud_text="";_inst.gmlhud_name="";_inst.gmlget_item=false;_inst.gmlcol_light=11645361;_inst.gmlcol_dark=2493192;_inst.gmlgrid_size=128;_inst.gmlg_x=array_create(yyfdiv(__yy_gml_errCheck(g_pBuiltIn.room_width),__yy_gml_errCheck(_inst.gmlgrid_size)),0);
var gmli=0;for(;yyfless(gmli,array_length(_inst.gmlg_x));(g_yyPrePostObject__=gmli,gmli=(g_yyPrePostObject__ instanceof Long?gmli.add(1):++gmli),g_yyPrePostObject__)){{_inst.gmlg_x=__yy_gml_array_check(_inst.gmlg_x,2356282519);_inst.gmlg_x[__yy_gml_array_check_index_set(gmli)]=yyftime(128,__yy_gml_errCheck(gmli));}};_inst.gmlg_y=array_create(yyfdiv(__yy_gml_errCheck(g_pBuiltIn.room_height),__yy_gml_errCheck(_inst.gmlgrid_size)),0);var gmli=0;for(;yyfless(gmli,array_length(_inst.gmlg_y));(g_yyPrePostObject__=gmli,
gmli=(g_yyPrePostObject__ instanceof Long?gmli.add(1):++gmli),g_yyPrePostObject__)){{_inst.gmlg_y=__yy_gml_array_check(_inst.gmlg_y,2506700246);_inst.gmlg_y[__yy_gml_array_check_index_set(gmli)]=yyftime(128,__yy_gml_errCheck(gmli));}};_inst.gmlbullets_max=6;_inst.gmlbullets=_inst.gmlbullets_max;_inst.gmlcut_show=false;_inst.gmlcut_index=0;_inst.gmlsprgun=YYASSET_REF(0x0100000E);_inst.gmlcut_end=false;(_inst.gmlCutsceneStairs=__yy_method(_inst,gml_Script_CutsceneStairs_gml_Object_obj_controller_Create_0));
(_inst.gmlShowCut=__yy_method(_inst,gml_Script_ShowCut_gml_Object_obj_controller_Create_0));(_inst.gmlShowCutEnd=__yy_method(_inst,gml_Script_ShowCutEnd_gml_Object_obj_controller_Create_0));(_inst.gmlSetHud=__yy_method(_inst,gml_Script_SetHud_gml_Object_obj_controller_Create_0));(_inst.gmlOpenHud=__yy_method(_inst,gml_Script_OpenHud_gml_Object_obj_controller_Create_0));(_inst.gmlCloseHud=__yy_method(_inst,gml_Script_CloseHud_gml_Object_obj_controller_Create_0));}function gml_Script_CutsceneStairs_gml_Object_obj_controller_Create_0(_inst,
_other){{yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;_inst.gmlcutscene_stairs=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=100;}}function gml_Script_ShowCut_gml_Object_obj_controller_Create_0(_inst,_other,argument0){{_inst.gmlcut_show=true;_inst.gmlcut_index=argument0;}}function gml_Script_ShowCutEnd_gml_Object_obj_controller_Create_0(_inst,_other){{_inst.gmlcut_end=true;_inst.gmlcut_show=true;_inst.gmlcut_index=0;}}
function gml_Script_SetHud_gml_Object_obj_controller_Create_0(_inst,_other,argument0,argument1){{if(yyfequal(argument0,_inst.undefined)){argument0="";};if(yyfequal(argument1,_inst.undefined)){argument1="";};}{_inst.gmlhud_name=argument0;_inst.gmlhud_text=argument1;__yyg_call_method(_inst.gmlOpenHud)(_inst,_other);}}function gml_Script_anon_OpenHud_gml_Object_obj_controller_Create_0_2118_OpenHud_gml_Object_obj_controller_Create_0(_inst,_other){{_inst.gmlhud_text_show=true;}}function gml_Script_OpenHud_gml_Object_obj_controller_Create_0(_inst,
_other,argument0,argument1){{if(yyfequal(argument0,_inst.undefined)){argument0="";};if(yyfequal(argument1,_inst.undefined)){argument1="";};}{_inst.gmlhud_open=true;if(yyfequal(_inst.gmlhud_xscale,0)){{_inst.gmlhud_xscale=0.2;call_later(0.1,0,_inst.gmlOpenHud);};}else {{if(yyfless(_inst.gmlhud_xscale,_inst.gmlhud_xscale_max)){{call_later(0.05,0,_inst.gmlOpenHud);_inst.gmlhud_xscale=yyfplus(_inst.gmlhud_xscale,2);};}else {{_inst.gmlhud_xscale=_inst.gmlhud_xscale_max;var gml_showtext=__yy_method(_inst,
gml_Script_anon_OpenHud_gml_Object_obj_controller_Create_0_2118_OpenHud_gml_Object_obj_controller_Create_0);call_later(0.1,0,gml_showtext);};};};};}}function gml_Script_anon_CloseHud_gml_Object_obj_controller_Create_0_2772_CloseHud_gml_Object_obj_controller_Create_0(_inst,_other){{_inst.gmlcut_show=false;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;}}function gml_Script_CloseHud_gml_Object_obj_controller_Create_0(_inst,_other){{audio_play_sound(YYASSET_REF(0x0200000E),1,false);_inst.gmlhud_name="";
_inst.gmlhud_text="";_inst.gmlhud_text_show=false;if(yyfgreater(_inst.gmlhud_xscale,0)){{call_later(0.05,0,_inst.gmlCloseHud);_inst.gmlhud_xscale=yyfminus(_inst.gmlhud_xscale,2);};}else {{_inst.gmlhud_xscale=0;_inst.gmlhud_open=false;if((yyGetBool(_inst.gmlcut_show))&&(yyGetBool(!yyGetBool(_inst.gmlcut_end)))){{var gml_callback=__yy_method(_inst,gml_Script_anon_CloseHud_gml_Object_obj_controller_Create_0_2772_CloseHud_gml_Object_obj_controller_Create_0);call_later(2,0,gml_callback);};};if(yyGetBool(_inst.gmlget_item)){
{_inst.gmlget_item=false;audio_play_sound(YYASSET_REF(0x02000003),1,false);__yyg_call_method(_inst.gmlSetHud)(_inst,_other,"",gml_Script_T(_inst,_other,"getkey"));};};};};}}// /// @description  
function gml_Object_obj_controller_Alarm_0(_inst,_other){var gmli=0;for(;yyfless(gmli,array_length(_inst.gmlg_x));(g_yyPrePostObject__=gmli,gmli=(g_yyPrePostObject__ instanceof Long?gmli.add(1):++gmli),g_yyPrePostObject__)){{var gmlj=0;for(;yyfless(gmlj,array_length(_inst.gmlg_y));(g_yyPrePostObject__=gmlj,gmlj=(g_yyPrePostObject__ instanceof Long?gmlj.add(1):++gmlj),
g_yyPrePostObject__)){{instance_create_layer(_inst.gmlg_x[__yy_gml_array_check_index(gmli,_inst.gmlg_x)],_inst.gmlg_y[__yy_gml_array_check_index(gmlj,_inst.gmlg_y)],"Instances_1",YYASSET_REF(0x00000000));}};}};}// /// @description  
function gml_Object_obj_controller_Alarm_1(_inst,_other){if(yyfless(_inst.gmlstairs_y,256)){{yyInst(_inst,_other,YYASSET_REF(0x00000017)).x=960;yyInst(_inst,_other,YYASSET_REF(0x00000017)).y=592;audio_play_sound(YYASSET_REF(0x02000004),1,false);_inst.gmlstairs_climb=true;
_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(2)]=36;};}else {{yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;_inst.gmlstairs_climb=false;_inst.gmlcutscene_stairs=false;};};}// /// @description  
function gml_Object_obj_controller_Alarm_2(_inst,_other){_inst.gmlstairs_climb=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=60;}// /// @description  
function gml_Object_obj_controller_Alarm_9(_inst,
_other){_inst.gmlshkx=random_range(0.1,(-0.1));_inst.gmlshky=random_range(0.1,(-0.1));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(9)]=5;}// /// @description  
function gml_Object_obj_controller_Alarm_10(_inst,_other){_inst.gmlshkx=random_range(0.5,(-0.5));_inst.gmlshky=random_range(0.5,(-0.5));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(10)]=1;}// /// @description  
function gml_Object_obj_controller_Step_0(_inst,
_other){if((yyGetBool(_inst.gmlhud_text_show))&&(yyGetBool(_inst.gmlcanProceed))){{if((yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlk_enter))||(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlmb_fire))){{__yyg_call_method(_inst.gmlCloseHud)(_inst,_other);};};};};yyInst(_inst,_other,YYASSET_REF(0x00000017)).x=clamp(yyInst(_inst,_other,YYASSET_REF(0x00000017)).x,0,yyfminus(__yy_gml_errCheck(g_pBuiltIn.room_width),16));yyInst(_inst,_other,YYASSET_REF(0x00000017)).y=clamp(yyInst(_inst,
_other,YYASSET_REF(0x00000017)).y,0,yyfminus(__yy_gml_errCheck(g_pBuiltIn.room_height),16));_inst.gmlcam_x=_inst.gmlg_x[__yy_gml_array_check_index(yyfdiv(__yy_gml_errCheck(yyInst(_inst,_other,YYASSET_REF(0x00000017)).x),__yy_gml_errCheck(_inst.gmlgrid_size)),_inst.gmlg_x)];_inst.gmlcam_y=_inst.gmlg_y[__yy_gml_array_check_index(yyfdiv(__yy_gml_errCheck(yyInst(_inst,_other,YYASSET_REF(0x00000017)).y),__yy_gml_errCheck(_inst.gmlgrid_size)),_inst.gmlg_y)];_inst.gmlcam_x=yyfplus(_inst.gmlcam_x,yyftime(__yy_gml_errCheck(keyboard_check(76)),
4));_inst.gmlcam_x=yyfminus(_inst.gmlcam_x,yyftime(__yy_gml_errCheck(keyboard_check(74)),4));_inst.gmlcam_y=yyfplus(_inst.gmlcam_y,yyftime(__yy_gml_errCheck(keyboard_check(75)),4));_inst.gmlcam_y=yyfminus(_inst.gmlcam_y,yyftime(__yy_gml_errCheck(keyboard_check(73)),4));window_set_cursor((-1));}// /// @description  
function gml_Object_obj_controller_Other_4(_inst,_other){if(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlisAdult)){_inst.gmlsprgun=YYASSET_REF(0x0100000D);};}// /// @description  
function gml_Object_obj_controller_Other_5(_inst,
_other){}// /// @description  
function gml_Object_obj_controller_Draw_0(_inst,_other){camera_set_view_pos(_inst.gmlmain_camera,_inst.gmlcam_x,_inst.gmlcam_y);camera_set_view_size(_inst.gmlmain_camera,_inst.gmlcam_w,_inst.gmlcam_h);camera_apply(_inst.gmlmain_camera);}// /// @description  
function gml_Object_obj_controller_Draw_64(_inst,_other){display_set_gui_size(128,128);draw_set_color(16777215);draw_set_halign(1);if(yyGetBool(_inst.gmlhud_bullet_show)){{draw_set_color(16777215);draw_sprite(_inst,
_inst.gmlsprgun,_inst.gmlbullets,112,112);};};if(yyGetBool(_inst.gmlcut_show)){{if(yyGetBool(_inst.gmlcut_end)){{draw_set_color(_inst.gmlcol_dark);draw_rectangle(0,0,128,128,false);draw_set_color(16777215);draw_sprite(_inst,YYASSET_REF(0x01000017),_inst.gmlcut_index,_inst.gmlshkx,_inst.gmlshky);};}else {{if(yyfequal(_inst.gmlcut_index,5)){{draw_sprite_ext(_inst,YYASSET_REF(0x01000042),_inst.gmlcut_index,yyfplus((-10),__yy_gml_errCheck(_inst.gmlshkx)),yyfplus((-6),__yy_gml_errCheck(_inst.gmlshky)),
1.15,1.15,0,16777215,1);};}else {draw_sprite(_inst,YYASSET_REF(0x01000042),_inst.gmlcut_index,0,0);};};};};};draw_sprite_ext(_inst,YYASSET_REF(0x01000041),yyfnotequal(_inst.gmlhud_name,""),64,128,_inst.gmlhud_xscale,_inst.gmlhud_yscale,0,16777215,1);if(yyGetBool(_inst.gmlhud_text_show)){{draw_set_halign(1);draw_set_valign(2);draw_set_font(YYASSET_REF(0x07000001));draw_set_color(_inst.gmlcol_light);draw_text(64,108,_inst.gmlhud_name);draw_set_font(YYASSET_REF(0x07000000));if(yyfgreater(string_length(_inst.gmlhud_text),
10)){draw_text_transformed(64,125,_inst.gmlhud_text,0.75,1,0);}else {draw_text(64,125,_inst.gmlhud_text);};show_debug_message(_inst.gmlhud_name);show_debug_message(_inst.gmlhud_text);};};if(yyGetBool(_inst.gmlcutscene_stairs)){{if(yyGetBool(_inst.gmlstairs_climb)){_inst.gmlstairs_y=yyfplus(_inst.gmlstairs_y,1);};_inst.gmlstairs_y=clamp(_inst.gmlstairs_y,128,256);draw_sprite(_inst,YYASSET_REF(0x0100000F),0,0,_inst.gmlstairs_y);};};draw_set_color(16777215);}// /// @description  
function gml_Object_obj_controller_KeyPress_27(_inst,
_other){game_end();}// /// @description  
function gml_Object_obj_controller_KeyPress_115(_inst,_other){window_set_fullscreen(!yyGetBool(window_get_fullscreen()));}function gml_Object_obj_child_dwi_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmla_walk_front=YYASSET_REF(0x01000016);_inst.gmla_walk_front_g=YYASSET_REF(0x01000019);_inst.gmla_walk_side_lt_g=YYASSET_REF(0x0100003E);_inst.gmla_walk_side_lt=YYASSET_REF(0x0100001D);_inst.gmla_walk_side_rt_g=YYASSET_REF(0x01000020);_inst.gmla_walk_side_rt=YYASSET_REF(0x01000044);
_inst.gmla_walk_back_g=YYASSET_REF(0x01000036);_inst.gmla_walk_back=YYASSET_REF(0x01000005);}// /// @description  
function gml_Object_obj_jim_talk_Create_0(_inst,_other){_inst.gmlstr=gml_Script_T(_inst,_other,"jimfight_1");_inst.gmlflag=0;(_inst.gmlInteract=__yy_method(_inst,gml_Script_Interact_gml_Object_obj_jim_talk_Create_0));(_inst.gmlInteractFar=__yy_method(_inst,gml_Script_InteractFar_gml_Object_obj_jim_talk_Create_0));}function gml_Script_Interact_gml_Object_obj_jim_talk_Create_0(_inst,_other){
{var ___sw18___=_inst.gmlflag;var ___swc19___=-1;if(yyCompareVal(___sw18___,0,g_GMLMathEpsilon,false)==0){___swc19___=0;}else if(yyCompareVal(___sw18___,1,g_GMLMathEpsilon,false)==0){___swc19___=1;}else if(yyCompareVal(___sw18___,2,g_GMLMathEpsilon,false)==0){___swc19___=2;}switch(___swc19___){case 0:{(g_yyPrePostObject__=_inst.gmlflag,_inst.gmlflag=(g_yyPrePostObject__ instanceof Long?_inst.gmlflag.add(1):++_inst.gmlflag),g_yyPrePostObject__);(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,
_other,gml_Script_T(_inst,_other,"c_jim"),gml_Script_T(_inst,_other,"jimfight_1")));break;}case 1:{(g_yyPrePostObject__=_inst.gmlflag,_inst.gmlflag=(g_yyPrePostObject__ instanceof Long?_inst.gmlflag.add(1):++_inst.gmlflag),g_yyPrePostObject__);if(yyGetBool(instance_exists(YYASSET_REF(0x00000008)))){yyInst(_inst,_other,YYASSET_REF(0x00000008)).gmlopen=true;};yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlget_item=true;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,
_other,gml_Script_T(_inst,_other,"c_jim"),gml_Script_T(_inst,_other,"jimfight_2")));break;}case 2:{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,gml_Script_T(_inst,_other,"c_jim"),gml_Script_T(_inst,_other,"jimfight_3")));break;}};}}function gml_Script_InteractFar_gml_Object_obj_jim_talk_Create_0(_inst,_other){{}}function gml_Object_obj_jim_talk_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlhud_index=2;}// /// @description  
function gml_Object_obj_trigger_inside_Collision_obj_player(_inst,
_other){var gml_inactivelay=layer_get_id("Tiles_outside");var gml_activelay=layer_get_id("Tiles_inside");if(yyGetBool(layer_get_visible(gml_inactivelay))){{layer_set_visible(gml_inactivelay,false);layer_set_visible(gml_activelay,true);};};}// /// @description  
function gml_Object_obj_child_jim_Create_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlambush1=false;_inst.gmlambush2=false;_inst.gmlrun=false;_inst.gmlx_1=352;_inst.gmly_1=448;_inst.gmly_center=_inst.y;_inst.gmlhp=12;_inst.gmlattacklogic="jim1";
(_inst.gmlAmbush1=__yy_method(_inst,gml_Script_Ambush1_gml_Object_obj_child_jim_Create_0));(_inst.gmlAmbush2=__yy_method(_inst,gml_Script_Ambush2_gml_Object_obj_child_jim_Create_0));(_inst.gmlDefeat=__yy_method(_inst,gml_Script_Defeat_gml_Object_obj_child_jim_Create_0));(_inst.gmlStartFight=__yy_method(_inst,gml_Script_StartFight_gml_Object_obj_child_jim_Create_0));(_inst.gmlStartFight2=__yy_method(_inst,gml_Script_StartFight2_gml_Object_obj_child_jim_Create_0));}function gml_Script_Ambush1_gml_Object_obj_child_jim_Create_0(_inst,
_other){{_inst.gmlattacklogic="jim1";yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;audio_play_sound(YYASSET_REF(0x02000010),1,false);_inst.gmlambush1=true;}}function gml_Script_Ambush2_gml_Object_obj_child_jim_Create_0(_inst,_other){{audio_stop_sound(YYASSET_REF(0x02000000));_inst.gmlattacklogic="jim2";_inst.gmlrunlogic="jim2";yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;audio_play_sound(YYASSET_REF(0x02000010),1,false);path_start(_inst,YYASSET_REF(0x05000000),2,0,
true);_inst.gmlambush2=true;}}function gml_Script_Defeat_gml_Object_obj_child_jim_Create_0(_inst,_other){{audio_stop_sound(YYASSET_REF(0x02000006));_inst.gmlactive=false;_inst.gmlisAiming=false;_inst.gmlisFiring=false;_inst.gmlenemy_health=10;_inst.gmlxSpd=0;_inst.gmlySpd=0;_inst.gmlx_1=360;_inst.gmly_1=424;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;if(yyGetBool(_inst.gmlambush2)){{yyInst(_inst,_other,100087).y=yyfplus(yyInst(_inst,_other,100087).y,128);yyInst(_inst,_other,100088).x=yyfplus(yyInst(_inst,
_other,100088).x,128);_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(4)]=60;};}else {{yyInst(_inst,_other,100086).y=yyfminus(yyInst(_inst,_other,100086).y,128);_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(3)]=60;};};}}function gml_Script_StartFight_gml_Object_obj_child_jim_Create_0(_inst,_other){{_inst.gmly_center=_inst.y;_inst.gmly_1=yyfminus(__yy_gml_errCheck(_inst.gmly_center),24);audio_play_sound(YYASSET_REF(0x02000006),
1,true);_inst.gmlactive=true;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=60;_inst.alarm[__yy_gml_array_check_index_set(0)]=70;}}function gml_Script_StartFight2_gml_Object_obj_child_jim_Create_0(_inst,_other){{audio_play_sound(YYASSET_REF(0x02000006),1,true);_inst.gmlactive=true;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;_inst.alarm=__yy_gml_array_check(_inst.alarm,
1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=60;_inst.alarm[__yy_gml_array_check_index_set(0)]=70;}}// /// @description  
function gml_Object_obj_child_jim_Alarm_2(_inst,_other){}// /// @description  
function gml_Object_obj_child_jim_Alarm_3(_inst,_other){yyInst(_inst,_other,YYASSET_REF(0x0000002C)).gmlactive=true;_inst.gmlrun=true;}// /// @description  
function gml_Object_obj_child_jim_Alarm_4(_inst,_other){_inst.gmlrun=false;_inst.gmlactive=false;_inst.speed=0;_inst.image_index=0;
instance_create_layer(_inst.x,_inst.y,"Instances",YYASSET_REF(0x00000024));yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;audio_play_sound(YYASSET_REF(0x02000000),1,true);}// /// @description  
function gml_Object_obj_child_jim_Step_0(_inst,_other){if(yyGetBool(_inst.gmlambush1)){{if(yyfgreater(point_distance(_inst.x,_inst.y,_inst.gmlx_1,_inst.gmly_1),2.5)){{_inst.direction=point_direction(_inst.x,_inst.y,_inst.gmlx_1,_inst.gmly_1);move_towards_point(_inst,_inst.gmlx_1,_inst.gmly_1,
5);};}else {{_inst.gmlambush1=false;_inst.speed=0;call_later(30,1,_inst.gmlStartFight);};};};}else {{event_inherited(_inst,_other);if(yyfless(_inst.gmlenemy_health,1)){{__yyg_call_method(_inst.gmlDefeat)(_inst,_other);};};};};}// /// @description  
function gml_Object_obj_child_jim_Other_8(_inst,_other){call_later(30,1,_inst.gmlStartFight2);}function gml_Object_obj_child_jim_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmla_walk_front=YYASSET_REF(0x01000007);_inst.gmla_walk_front_g=YYASSET_REF(0x01000002);
_inst.gmla_walk_back=YYASSET_REF(0x01000004);_inst.gmla_walk_back_g=YYASSET_REF(0x01000018);_inst.gmla_walk_side_rt=YYASSET_REF(0x01000006);_inst.gmla_walk_side_rt_g=YYASSET_REF(0x01000027);_inst.gmla_walk_side_lt=YYASSET_REF(0x01000049);_inst.gmla_walk_side_lt_g=YYASSET_REF(0x01000000);}// /// @description  
function gml_Object_obj_intro_dialogue_Create_0(_inst,_other){_inst.gmlt_pam=gml_Script_T(_inst,_other,"c_pam");_inst.gmlt_kev=gml_Script_T(_inst,_other,"c_kev");_inst.gmlt_jim=gml_Script_T(_inst,
_other,"c_jim");_inst.gmlt_mike=gml_Script_T(_inst,_other,"c_mike");audio_play_sound(YYASSET_REF(0x02000002),1,false);_inst.gmldlg=__yy_gml_array_check(_inst.gmldlg,622997480);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(0)]=_inst.gmlt_pam;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(0)]=gml_Script_T(_inst,_other,"gamestart_0");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(0)]=YYASSET_REF(0x00000019);
_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(1)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(1)]=gml_Script_T(_inst,_other,"gamestart_1");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(1)]=YYASSET_REF(0x0000002B);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(2)]=_inst.gmlt_jim;_inst.gmldlg[__yy_gml_array_check_index_chain(1,
_inst.gmldlg)][__yy_gml_array_check_index_set(2)]=gml_Script_T(_inst,_other,"gamestart_2");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(2)]=YYASSET_REF(0x00000028);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(3)]=_inst.gmlt_kev;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(3)]=gml_Script_T(_inst,_other,"gamestart_3");_inst.gmldlg[__yy_gml_array_check_index_chain(2,
_inst.gmldlg)][__yy_gml_array_check_index_set(3)]=YYASSET_REF(0x0000002B);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(4)]=_inst.gmlt_mike;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(4)]=gml_Script_T(_inst,_other,"gamestart_4");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(4)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(5)]=_inst.gmlt_mike;
_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(5)]=gml_Script_T(_inst,_other,"gamestart_5");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(5)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(6)]=_inst.gmlt_jim;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(6)]=gml_Script_T(_inst,_other,"gamestart_6");
_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(6)]=YYASSET_REF(0x00000028);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(7)]=_inst.gmlt_pam;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(7)]=gml_Script_T(_inst,_other,"gamestart_7");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(7)]=YYASSET_REF(0x00000019);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(8)]=_inst.gmlt_mike;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(8)]=gml_Script_T(_inst,_other,"gamestart_8");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(8)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(9)]=_inst.gmlt_mike;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(9)]=gml_Script_T(_inst,
_other,"gamestart_9");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(9)]=YYASSET_REF(0x00000017);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(10)]=_inst.gmlt_mike;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(10)]=gml_Script_T(_inst,_other,"gamestart_10");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(10)]=YYASSET_REF(0x00000017);
_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(11)]=_inst.gmlt_pam;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(11)]=gml_Script_T(_inst,_other,"gamestart_11");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(11)]=YYASSET_REF(0x00000019);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(12)]=_inst.gmlt_pam;_inst.gmldlg[__yy_gml_array_check_index_chain(1,
_inst.gmldlg)][__yy_gml_array_check_index_set(12)]=gml_Script_T(_inst,_other,"gamestart_12");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(12)]=YYASSET_REF(0x00000019);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(13)]=_inst.gmlt_pam;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(13)]=gml_Script_T(_inst,_other,"gamestart_13");_inst.gmldlg[__yy_gml_array_check_index_chain(2,
_inst.gmldlg)][__yy_gml_array_check_index_set(13)]=YYASSET_REF(0x00000019);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(14)]=_inst.gmlt_jim;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(14)]=gml_Script_T(_inst,_other,"gamestart_14");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(14)]=YYASSET_REF(0x00000028);_inst.gmldlg[__yy_gml_array_check_index_chain(0,
_inst.gmldlg)][__yy_gml_array_check_index_set(15)]=_inst.gmlt_jim;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(15)]=gml_Script_T(_inst,_other,"gamestart_15");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(15)]=YYASSET_REF(0x00000028);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(16)]=_inst.gmlt_jim;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(16)]=gml_Script_T(_inst,
_other,"gamestart_16");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(16)]=YYASSET_REF(0x00000028);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(17)]=_inst.gmlt_pam;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(17)]=gml_Script_T(_inst,_other,"gamestart_17");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(17)]=YYASSET_REF(0x00000019);
_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(18)]=_inst.gmlt_pam;_inst.gmldlg[__yy_gml_array_check_index_chain(1,_inst.gmldlg)][__yy_gml_array_check_index_set(18)]=gml_Script_T(_inst,_other,"gamestart_18");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(18)]=YYASSET_REF(0x00000019);_inst.gmldlg[__yy_gml_array_check_index_chain(0,_inst.gmldlg)][__yy_gml_array_check_index_set(19)]=_inst.gmlt_pam;_inst.gmldlg[__yy_gml_array_check_index_chain(1,
_inst.gmldlg)][__yy_gml_array_check_index_set(19)]=gml_Script_T(_inst,_other,"gamestart_19");_inst.gmldlg[__yy_gml_array_check_index_chain(2,_inst.gmldlg)][__yy_gml_array_check_index_set(19)]=YYASSET_REF(0x00000019);_inst.gmldlgno=0;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=140;}// /// @description  
function gml_Object_obj_intro_dialogue_Alarm_0(_inst,_other){yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,
_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,_inst.gmldlg[__yy_gml_array_check_index(0,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~0])],_inst.gmldlg[__yy_gml_array_check_index(1,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~1])]));yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm=__yy_gml_array_check(yyInst(_inst,
_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm,1635733262);yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm[__yy_gml_array_check_index_set(9)]=1;}// /// @description  
function gml_Object_obj_intro_dialogue_Alarm_1(_inst,_other){yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=true;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=true;
audio_play_sound(YYASSET_REF(0x02000000),1,true);{var __yy__v12=GetWithArray(YYASSET_REF(0x0000000E));for(var __yy__v13 in __yy__v12){if(!__yy__v12.hasOwnProperty(__yy__v13))continue;var __yy__v14=__yy__v12[__yy__v13];instance_destroy(__yy__v14);}};instance_destroy(_inst);}// /// @description  
function gml_Object_obj_intro_dialogue_Alarm_2(_inst,_other){_inst.gmldlgno=14;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,
_other,_inst.gmldlg[__yy_gml_array_check_index(0,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~0])],_inst.gmldlg[__yy_gml_array_check_index(1,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~1])]));}// /// @description  
function gml_Object_obj_intro_dialogue_Alarm_3(_inst,_other){(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlShowCut)(__temp__,_other,5));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);
_inst.alarm[__yy_gml_array_check_index_set(4)]=200;}// /// @description  
function gml_Object_obj_intro_dialogue_Alarm_4(_inst,_other){_inst.gmldlgno=20;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"",gml_Script_T(_inst,_other,"end_1")));}// /// @description  
function gml_Object_obj_intro_dialogue_Step_0(_inst,_other){if(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_text_show)){
{if((yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlk_enter))||(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlmb_fire))){{_inst.gmldlgno=yyfplus(_inst.gmldlgno,1);if(yyfequal(_inst.gmldlgno,20)){{audio_stop_sound(YYASSET_REF(0x02000002));{var __yy__v15=GetWithArray(YYASSET_REF(0x0000000E));for(var __yy__v16 in __yy__v15){if(!__yy__v15.hasOwnProperty(__yy__v16))continue;var __yy__v17=__yy__v15[__yy__v16];__yy__v17.gmlrun=true;}};(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),
__yyg_call_method(__temp__.gmlCloseHud)(__temp__,_other));yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=160;};}else {{(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,_inst.gmldlg[__yy_gml_array_check_index(0,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~0])],_inst.gmldlg[__yy_gml_array_check_index(1,
_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~1])]));yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm=__yy_gml_array_check(yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,_inst.gmldlg[~~2])]).alarm,1635733262);yyInst(_inst,_other,_inst.gmldlg[__yy_gml_array_check_index(2,_inst.gmldlg)][__yy_gml_array_check_index(_inst.gmldlgno,
_inst.gmldlg[~~2])]).alarm[__yy_gml_array_check_index_set(9)]=1;};};};};};};}// /// @description  
function gml_Object_obj_intro_dialogue_Other_4(_inst,_other){yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;}// /// @description  
function gml_Object_obj_cut_jim_Create_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlxx=328;_inst.gmlyy=760;}function gml_Object_obj_cut_jim_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmla_run=YYASSET_REF(0x01000049);}function gml_Object_obj_trigger_spawnchild_1_PreCreate_0(_inst,
_other){event_inherited(_inst,_other);_inst.gmltxt="TEST";}// /// @description  
function gml_Object_obj_trigger_spawnchild_1_Collision_obj_player(_inst,_other){yyInst(_inst,_other,100086).y=yyfplus(yyInst(_inst,_other,100086).y,128);(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000026)),__yyg_call_method(__temp__.gmlAmbush1)(__temp__,_other));instance_destroy(_inst);}// /// @description  
function gml_Object_obj_trigger_end_Create_0(_inst,_other){_inst.gmlactive=false;_inst.gmldoEnd=false;}// /// @description  
function gml_Object_obj_trigger_end_Alarm_0(_inst,
_other){yyInst(_inst,_other,YYASSET_REF(0x00000022)).alarm=__yy_gml_array_check(yyInst(_inst,_other,YYASSET_REF(0x00000022)).alarm,2493900239);yyInst(_inst,_other,YYASSET_REF(0x00000022)).alarm[__yy_gml_array_check_index_set(9)]=(-1);yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlshkx=0;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlshky=0;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlShowCutEnd)(__temp__,_other,_inst.gmlcutindex));_inst.alarm=__yy_gml_array_check(_inst.alarm,
1584050178);_inst.alarm[__yy_gml_array_check_index_set(1)]=80;}// /// @description  
function gml_Object_obj_trigger_end_Alarm_1(_inst,_other){yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcanProceed=false;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"",gml_Script_T(_inst,_other,_inst.gmltxt)));}// /// @description  
function gml_Object_obj_trigger_end_Alarm_2(_inst,_other){(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,
_other,"",gml_Script_T(_inst,_other,_inst.gmltxt)));instance_destroy(_inst);}// /// @description  
function gml_Object_obj_trigger_end_Alarm_3(_inst,_other){_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(4)]=40;(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlSetHud)(__temp__,_other,"",gml_Script_T(_inst,_other,"end_2")));}// /// @description  
function gml_Object_obj_trigger_end_Alarm_4(_inst,_other){if(!yyGetBool(audio_is_playing(YYASSET_REF(0x02000013)))){
audio_play_sound(YYASSET_REF(0x02000013),1,false);};if(yyfless(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_index,11)){{(g_yyPrePostObject__=yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_index,yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_index=(g_yyPrePostObject__ instanceof Long?yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_index.add(1):++yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_index),g_yyPrePostObject__);_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);
_inst.alarm[__yy_gml_array_check_index_set(4)]=3;};}else {{window_set_caption(gml_Script_T(_inst,_other,"cut"));yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_text=gml_Script_T(_inst,_other,"cut");yyInst(_inst,_other,YYASSET_REF(0x00000022)).alarm=__yy_gml_array_check(yyInst(_inst,_other,YYASSET_REF(0x00000022)).alarm,2493900239);yyInst(_inst,_other,YYASSET_REF(0x00000022)).alarm[__yy_gml_array_check_index_set(10)]=1;_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(5)]=80;
};};}// /// @description  
function gml_Object_obj_trigger_end_Alarm_5(_inst,_other){if(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_open)){{audio_play_sound(YYASSET_REF(0x02000007),1,false,2,0,1.2);yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_xscale=0;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_open=false;yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_text_show=false;};};if(yyfless(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_index,16)){{(g_yyPrePostObject__=yyInst(_inst,
_other,YYASSET_REF(0x00000022)).gmlcut_index,yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_index=(g_yyPrePostObject__ instanceof Long?yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_index.add(1):++yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlcut_index),g_yyPrePostObject__);_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(5)]=2;};}else {{_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(6)]=60;
};};}// /// @description  
function gml_Object_obj_trigger_end_Alarm_6(_inst,_other){game_end();}// /// @description  
function gml_Object_obj_trigger_end_Step_0(_inst,_other){if((yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000022)).gmlhud_text_show))&&(yyGetBool(_inst.gmlactive))){{if((yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlk_enter))||(yyGetBool(yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlmb_fire))){{if(!yyGetBool(_inst.gmldoEnd)){{_inst.gmldoEnd=true;(__temp__=yyInst(_inst,
_other,YYASSET_REF(0x00000022)),__yyg_call_method(__temp__.gmlCloseHud)(__temp__,_other));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(3)]=60;};};};};};};}function gml_Object_obj_trigger_end_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmltxt="end_1";_inst.gmlstopsound=true;_inst.gmlcutindex=0;}// /// @description  
function gml_Object_obj_trigger_end_Collision_obj_player(_inst,_other){_inst.gmlactive=true;if(yyGetBool(_inst.gmlstopsound)){
{_inst.gmlstopsound=false;yyInst(_inst,_other,YYASSET_REF(0x00000017)).gmlcanMove=false;audio_stop_sound(YYASSET_REF(0x02000000));_inst.alarm=__yy_gml_array_check(_inst.alarm,1584050178);_inst.alarm[__yy_gml_array_check_index_set(0)]=100;};};}// /// @description  
function gml_Object_obj_cut_kev_Create_0(_inst,_other){event_inherited(_inst,_other);_inst.gmlxx=416;_inst.gmlyy=742;}function gml_Object_obj_cut_kev_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmla_run=YYASSET_REF(0x0100002C);
}// /// @description  
function gml_Object_obj_trigger_spawnchild_1_tub_Create_0(_inst,_other){}function gml_Object_obj_trigger_spawnchild_1_tub_PreCreate_0(_inst,_other){event_inherited(_inst,_other);_inst.gmltxt="TEST";_inst.gmlactive=false;}// /// @description  
function gml_Object_obj_trigger_spawnchild_1_tub_Collision_obj_player(_inst,_other){if(yyGetBool(_inst.gmlactive)){{yyInst(_inst,_other,100087).y=yyfminus(yyInst(_inst,_other,100087).y,128);yyInst(_inst,_other,100088).x=yyfminus(yyInst(_inst,
_other,100088).x,128);(__temp__=yyInst(_inst,_other,YYASSET_REF(0x00000026)),__yyg_call_method(__temp__.gmlAmbush2)(__temp__,_other));instance_destroy(_inst);};};}function gml_RoomCC_Room1_10_PreCreate(_inst,_other){_inst.gmltarget=100094;_inst.gmlyyy=(-16);}function gml_RoomCC_Room1_12_PreCreate(_inst,_other){_inst.gmltarget=100093;_inst.gmlyyy=16;}function gml_RoomCC_Room1_14_PreCreate(_inst,_other){_inst.gmlstopsound=true;_inst.gmlcutindex=1;}function gml_RoomCC_Room1_34_PreCreate(_inst,_other){_inst.gmlactive=false;
}function gml_RoomCC_Room1_40_PreCreate(_inst,_other){_inst.gmltarget=100096;_inst.gmlyyy=16;}function gml_RoomCC_Room1_41_PreCreate(_inst,_other){_inst.gmltarget=100095;_inst.gmlyyy=(-16);}function gml_RoomCC_Room1_71_PreCreate(_inst,_other){_inst.gmlstopsound=true;_inst.gmlcutindex=2;}function gml_RoomCC_Room1_92_PreCreate(_inst,_other){_inst.gmlcutindex=3;_inst.gmlstopsound=true;}function gml_RoomCC_Room1_98_PreCreate(_inst,_other){_inst.gmlhud_index=2;}function gml_RoomCC_Room1_99_PreCreate(_inst,
_other){_inst.gmlstopsound=true;_inst.gmlcutindex=4;}function gml_RoomCC_Room2_0_PreCreate(_inst,_other){_inst.gmlisAdult=true;}function gml_RoomCC_Room2_10_PreCreate(_inst,_other){_inst.gmltarget=100206;_inst.gmlyyy=(-16);}function gml_RoomCC_Room2_12_PreCreate(_inst,_other){_inst.gmltarget=100205;_inst.gmlyyy=16;}function gml_RoomCC_Room2_13_Create(_inst,_other){_inst.gmlopen=true;}function gml_RoomCC_Room2_13_PreCreate(_inst,_other){_inst.gmltext_open="opendoor";}function gml_RoomCC_Room2_14_PreCreate(_inst,
_other){_inst.gmlstopsound=true;_inst.gmlcutindex=1;_inst.gmltxt="noonescoming";}function gml_RoomCC_Room2_38_PreCreate(_inst,_other){_inst.gmltarget=100208;_inst.gmlyyy=16;}function gml_RoomCC_Room2_39_PreCreate(_inst,_other){_inst.gmltarget=100207;_inst.gmlyyy=(-16);}function gml_RoomCC_Room2_69_PreCreate(_inst,_other){_inst.gmlstopsound=true;_inst.gmlcutindex=2;_inst.gmltxt="noonescoming";}function gml_RoomCC_Room2_80_Create(_inst,_other){_inst.gmlopen=true;}function gml_RoomCC_Room2_80_PreCreate(_inst,
_other){_inst.gmltext_open="opendoor";}function gml_RoomCC_Room2_91_PreCreate(_inst,_other){_inst.gmlhud_index=2;}function gmlInitGlobal(){gml_GlobalScript_Translations(global,global);gml_GlobalScript_Init(global,global);gml_GlobalScript_Controls(global,global);move_random.__yy_onlySelfNoOther=true;place_free.__yy_onlySelfNoOther=true;place_empty.__yy_onlySelfNoOther=true;place_meeting.__yy_onlySelfNoOther=true;place_snapped.__yy_onlySelfNoOther=true;move_snap.__yy_onlySelfNoOther=true;move_towards_point.__yy_onlySelfNoOther=true;
move_contact_solid.__yy_onlySelfNoOther=true;move_contact_all.__yy_onlySelfNoOther=true;move_outside_solid.__yy_onlySelfNoOther=true;move_outside_all.__yy_onlySelfNoOther=true;move_and_collide.__yy_onlySelfNoOther=true;move_bounce_solid.__yy_onlySelfNoOther=true;move_bounce_all.__yy_onlySelfNoOther=true;move_wrap.__yy_onlySelfNoOther=true;motion_set.__yy_onlySelfNoOther=true;motion_add.__yy_onlySelfNoOther=true;distance_to_point.__yy_onlySelfNoOther=true;distance_to_object.__yy_onlySelfNoOther=true;
path_start.__yy_onlySelfNoOther=true;path_end.__yy_onlySelfNoOther=true;mp_linear_step.__yy_onlySelfNoOther=true;mp_linear_path.__yy_onlySelfNoOther=true;mp_linear_step_object.__yy_onlySelfNoOther=true;mp_linear_path_object.__yy_onlySelfNoOther=true;mp_potential_settings.__yy_onlySelfNoOther=true;mp_potential_step.__yy_onlySelfNoOther=true;mp_potential_path.__yy_onlySelfNoOther=true;mp_potential_step_object.__yy_onlySelfNoOther=true;mp_potential_path_object.__yy_onlySelfNoOther=true;mp_grid_add_instances.__yy_onlySelfNoOther=true;
mp_grid_path.__yy_onlySelfNoOther=true;collision_point.__yy_onlySelfNoOther=true;collision_point_list.__yy_onlySelfNoOther=true;collision_rectangle.__yy_onlySelfNoOther=true;collision_rectangle_list.__yy_onlySelfNoOther=true;collision_circle.__yy_onlySelfNoOther=true;collision_circle_list.__yy_onlySelfNoOther=true;collision_ellipse.__yy_onlySelfNoOther=true;collision_ellipse_list.__yy_onlySelfNoOther=true;collision_line.__yy_onlySelfNoOther=true;collision_line_list.__yy_onlySelfNoOther=true;instance_nearest.__yy_onlySelfNoOther=true;
instance_furthest.__yy_onlySelfNoOther=true;instance_place.__yy_onlySelfNoOther=true;instance_place_list.__yy_onlySelfNoOther=true;instance_copy.__yy_onlySelfNoOther=true;instance_change.__yy_onlySelfNoOther=true;instance_destroy.__yy_onlySelfNoOther=true;position_empty.__yy_onlySelfNoOther=true;position_meeting.__yy_onlySelfNoOther=true;position_destroy.__yy_onlySelfNoOther=true;position_change.__yy_onlySelfNoOther=true;instance_id_get.__yy_onlySelfNoOther=true;instance_deactivate_all.__yy_onlySelfNoOther=true;
instance_deactivate_object.__yy_onlySelfNoOther=true;instance_deactivate_region.__yy_onlySelfNoOther=true;instance_deactivate_layer.__yy_onlySelfNoOther=true;instance_activate_all.__yy_onlySelfNoOther=true;instance_activate_object.__yy_onlySelfNoOther=true;instance_activate_region.__yy_onlySelfNoOther=true;instance_activate_layer.__yy_onlySelfNoOther=true;draw_self.__yy_onlySelfNoOther=true;draw_sprite.__yy_onlySelfNoOther=true;draw_sprite_pos.__yy_onlySelfNoOther=true;draw_sprite_ext.__yy_onlySelfNoOther=true;
draw_sprite_stretched.__yy_onlySelfNoOther=true;draw_sprite_stretched_ext.__yy_onlySelfNoOther=true;draw_sprite_part.__yy_onlySelfNoOther=true;draw_sprite_part_ext.__yy_onlySelfNoOther=true;draw_sprite_general.__yy_onlySelfNoOther=true;draw_sprite_tiled.__yy_onlySelfNoOther=true;draw_sprite_tiled_ext.__yy_onlySelfNoOther=true;event_inherited.__yy_bothSelfAndOther=true;event_perform.__yy_bothSelfAndOther=true;event_perform_async.__yy_bothSelfAndOther=true;event_user.__yy_bothSelfAndOther=true;event_perform_object.__yy_bothSelfAndOther=true;
alarm_get.__yy_onlySelfNoOther=true;alarm_set.__yy_onlySelfNoOther=true;physics_fixture_bind.__yy_onlySelfNoOther=true;physics_fixture_bind_ext.__yy_onlySelfNoOther=true;physics_apply_force.__yy_onlySelfNoOther=true;physics_apply_impulse.__yy_onlySelfNoOther=true;physics_apply_angular_impulse.__yy_onlySelfNoOther=true;physics_apply_local_force.__yy_onlySelfNoOther=true;physics_apply_local_impulse.__yy_onlySelfNoOther=true;physics_apply_torque.__yy_onlySelfNoOther=true;physics_mass_properties.__yy_onlySelfNoOther=true;
physics_draw_debug.__yy_onlySelfNoOther=true;physics_test_overlap.__yy_onlySelfNoOther=true;physics_get_friction.__yy_onlySelfNoOther=true;physics_get_density.__yy_onlySelfNoOther=true;physics_get_restitution.__yy_onlySelfNoOther=true;physics_set_friction.__yy_onlySelfNoOther=true;physics_set_density.__yy_onlySelfNoOther=true;physics_set_restitution.__yy_onlySelfNoOther=true;skeleton_animation_set.__yy_onlySelfNoOther=true;skeleton_animation_get.__yy_onlySelfNoOther=true;skeleton_animation_mix.__yy_onlySelfNoOther=true;
skeleton_animation_set_ext.__yy_onlySelfNoOther=true;skeleton_animation_get_ext.__yy_onlySelfNoOther=true;skeleton_animation_get_duration.__yy_onlySelfNoOther=true;skeleton_animation_get_frames.__yy_onlySelfNoOther=true;skeleton_animation_clear.__yy_onlySelfNoOther=true;skeleton_skin_set.__yy_onlySelfNoOther=true;skeleton_skin_get.__yy_onlySelfNoOther=true;skeleton_skin_create.__yy_onlySelfNoOther=true;skeleton_attachment_set.__yy_onlySelfNoOther=true;skeleton_attachment_get.__yy_onlySelfNoOther=true;
skeleton_attachment_create.__yy_onlySelfNoOther=true;skeleton_attachment_create_colour.__yy_onlySelfNoOther=true;skeleton_attachment_create_color.__yy_onlySelfNoOther=true;skeleton_attachment_replace.__yy_onlySelfNoOther=true;skeleton_attachment_replace_colour.__yy_onlySelfNoOther=true;skeleton_attachment_replace_color.__yy_onlySelfNoOther=true;skeleton_attachment_destroy.__yy_onlySelfNoOther=true;skeleton_attachment_exists.__yy_onlySelfNoOther=true;skeleton_collision_draw_set.__yy_onlySelfNoOther=true;
skeleton_bone_data_get.__yy_onlySelfNoOther=true;skeleton_bone_data_set.__yy_onlySelfNoOther=true;skeleton_bone_state_get.__yy_onlySelfNoOther=true;skeleton_bone_state_set.__yy_onlySelfNoOther=true;skeleton_slot_data_instance.__yy_onlySelfNoOther=true;skeleton_slot_colour_set.__yy_onlySelfNoOther=true;skeleton_slot_color_set.__yy_onlySelfNoOther=true;skeleton_slot_colour_get.__yy_onlySelfNoOther=true;skeleton_slot_color_get.__yy_onlySelfNoOther=true;skeleton_slot_alpha_get.__yy_onlySelfNoOther=true;
skeleton_animation_get_frame.__yy_onlySelfNoOther=true;skeleton_animation_set_frame.__yy_onlySelfNoOther=true;skeleton_animation_is_looping.__yy_onlySelfNoOther=true;skeleton_animation_is_finished.__yy_onlySelfNoOther=true;skeleton_animation_get_position.__yy_onlySelfNoOther=true;skeleton_animation_set_position.__yy_onlySelfNoOther=true;skeleton_animation_get_event_frames.__yy_onlySelfNoOther=true;skeleton_get_minmax.__yy_onlySelfNoOther=true;skeleton_get_num_bounds.__yy_onlySelfNoOther=true;skeleton_get_bounds.__yy_onlySelfNoOther=true;
skeleton_find_slot.__yy_onlySelfNoOther=true;draw_tilemap.__yy_onlySelfNoOther=true;draw_tile.__yy_onlySelfNoOther=true;}function gmlGameEndScripts(){}Tags=[];IDToTagList=[];JSON_game.ScriptNames=["gml_GlobalScript_Translations","gml_Script_translation_get_default_language","gml_Script_translation_load","gml_Script_translation_init","gml_Script_translation_set_next_lang","gml_Script_translation_set_prev_lang","gml_Script_translation_set","gml_Script_T","gml_GlobalScript_Init","gml_GlobalScript_Controls",
"gml_Script_SetControls","gml_Script_Interact_gml_Object_obj_ladder_climb_Create_0","gml_Script_InteractFar_gml_Object_obj_ladder_climb_Create_0","gml_Script_Ambush1_gml_Object_obj_child_pam_Create_0","gml_Script_StartFight_gml_Object_obj_child_pam_Create_0","gml_Script_Defeat_gml_Object_obj_child_pam_Create_0","gml_Script_Interact_gml_Object_obj_pam_talk_Create_0","gml_Script_InteractFar_gml_Object_obj_pam_talk_Create_0","gml_Script_EnemyDirection_gml_Object_obj_child_Create_0","gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0",
"gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0","gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0","gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0","gml_Script_AttackLogic_gml_Object_obj_child_Create_0","gml_Script_RunLogic_gml_Object_obj_child_Create_0","gml_Script____struct___4_gml_Object_obj_door_main_Create_0","gml_Script_Interact_gml_Object_obj_door_main_Create_0","gml_Script_InteractFar_gml_Object_obj_door_main_Create_0","gml_Script_Interact_gml_Object_obj_interactable_Create_0",
"gml_Script_InteractFar_gml_Object_obj_interactable_Create_0","gml_Script_Interact_gml_Object_obj_passage_Create_0","gml_Script_InteractFar_gml_Object_obj_passage_Create_0","gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0","gml_Script_Interact_gml_Object_obj_door_fl2_Create_0","gml_Script_InteractFar_gml_Object_obj_door_fl2_Create_0","gml_Script_SetPlayerAge_gml_Object_obj_player_Create_0","gml_Script____struct___6_gml_Object_obj_player_Step_0","gml_Script_Ambush1_gml_Object_obj_child_kev_Create_0",
"gml_Script_StartFight_gml_Object_obj_child_kev_Create_0","gml_Script_Defeat_gml_Object_obj_child_kev_Create_0","gml_Script_CutsceneStairs_gml_Object_obj_controller_Create_0","gml_Script_ShowCut_gml_Object_obj_controller_Create_0","gml_Script_ShowCutEnd_gml_Object_obj_controller_Create_0","gml_Script_SetHud_gml_Object_obj_controller_Create_0","gml_Script_anon_OpenHud_gml_Object_obj_controller_Create_0_2118_OpenHud_gml_Object_obj_controller_Create_0","gml_Script_OpenHud_gml_Object_obj_controller_Create_0",
"gml_Script_anon_CloseHud_gml_Object_obj_controller_Create_0_2772_CloseHud_gml_Object_obj_controller_Create_0","gml_Script_CloseHud_gml_Object_obj_controller_Create_0","gml_Script_Interact_gml_Object_obj_jim_talk_Create_0","gml_Script_InteractFar_gml_Object_obj_jim_talk_Create_0","gml_Script_Ambush1_gml_Object_obj_child_jim_Create_0","gml_Script_Ambush2_gml_Object_obj_child_jim_Create_0","gml_Script_Defeat_gml_Object_obj_child_jim_Create_0","gml_Script_StartFight_gml_Object_obj_child_jim_Create_0",
"gml_Script_StartFight2_gml_Object_obj_child_jim_Create_0"];JSON_game.Scripts=[gml_GlobalScript_Translations,gml_Script_translation_get_default_language,gml_Script_translation_load,gml_Script_translation_init,gml_Script_translation_set_next_lang,gml_Script_translation_set_prev_lang,gml_Script_translation_set,gml_Script_T,gml_GlobalScript_Init,gml_GlobalScript_Controls,gml_Script_SetControls,gml_Script_Interact_gml_Object_obj_ladder_climb_Create_0,gml_Script_InteractFar_gml_Object_obj_ladder_climb_Create_0,
gml_Script_Ambush1_gml_Object_obj_child_pam_Create_0,gml_Script_StartFight_gml_Object_obj_child_pam_Create_0,gml_Script_Defeat_gml_Object_obj_child_pam_Create_0,gml_Script_Interact_gml_Object_obj_pam_talk_Create_0,gml_Script_InteractFar_gml_Object_obj_pam_talk_Create_0,gml_Script_EnemyDirection_gml_Object_obj_child_Create_0,gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0,gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0,gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0,
gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0,gml_Script_AttackLogic_gml_Object_obj_child_Create_0,gml_Script_RunLogic_gml_Object_obj_child_Create_0,gml_Script____struct___4_gml_Object_obj_door_main_Create_0,gml_Script_Interact_gml_Object_obj_door_main_Create_0,gml_Script_InteractFar_gml_Object_obj_door_main_Create_0,gml_Script_Interact_gml_Object_obj_interactable_Create_0,gml_Script_InteractFar_gml_Object_obj_interactable_Create_0,gml_Script_Interact_gml_Object_obj_passage_Create_0,
gml_Script_InteractFar_gml_Object_obj_passage_Create_0,gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0,gml_Script_Interact_gml_Object_obj_door_fl2_Create_0,gml_Script_InteractFar_gml_Object_obj_door_fl2_Create_0,gml_Script_SetPlayerAge_gml_Object_obj_player_Create_0,gml_Script____struct___6_gml_Object_obj_player_Step_0,gml_Script_Ambush1_gml_Object_obj_child_kev_Create_0,gml_Script_StartFight_gml_Object_obj_child_kev_Create_0,gml_Script_Defeat_gml_Object_obj_child_kev_Create_0,gml_Script_CutsceneStairs_gml_Object_obj_controller_Create_0,
gml_Script_ShowCut_gml_Object_obj_controller_Create_0,gml_Script_ShowCutEnd_gml_Object_obj_controller_Create_0,gml_Script_SetHud_gml_Object_obj_controller_Create_0,gml_Script_anon_OpenHud_gml_Object_obj_controller_Create_0_2118_OpenHud_gml_Object_obj_controller_Create_0,gml_Script_OpenHud_gml_Object_obj_controller_Create_0,gml_Script_anon_CloseHud_gml_Object_obj_controller_Create_0_2772_CloseHud_gml_Object_obj_controller_Create_0,gml_Script_CloseHud_gml_Object_obj_controller_Create_0,gml_Script_Interact_gml_Object_obj_jim_talk_Create_0,
gml_Script_InteractFar_gml_Object_obj_jim_talk_Create_0,gml_Script_Ambush1_gml_Object_obj_child_jim_Create_0,gml_Script_Ambush2_gml_Object_obj_child_jim_Create_0,gml_Script_Defeat_gml_Object_obj_child_jim_Create_0,gml_Script_StartFight_gml_Object_obj_child_jim_Create_0,gml_Script_StartFight2_gml_Object_obj_child_jim_Create_0];const kgml_GlobalScript_Translations=100000;const kgml_Script_translation_get_default_language=100001;const kgml_Script_translation_load=100002;const kgml_Script_translation_init=100003;
const kgml_Script_translation_set_next_lang=100004;const kgml_Script_translation_set_prev_lang=100005;const kgml_Script_translation_set=100006;const kgml_Script_T=100007;const kgml_GlobalScript_Init=100008;const kgml_GlobalScript_Controls=100009;const kgml_Script_SetControls=100010;const kgml_Script_Interact_gml_Object_obj_ladder_climb_Create_0=100011;const kgml_Script_InteractFar_gml_Object_obj_ladder_climb_Create_0=100012;const kgml_Script_Ambush1_gml_Object_obj_child_pam_Create_0=100013;const kgml_Script_StartFight_gml_Object_obj_child_pam_Create_0=100014;
const kgml_Script_Defeat_gml_Object_obj_child_pam_Create_0=100015;const kgml_Script_Interact_gml_Object_obj_pam_talk_Create_0=100016;const kgml_Script_InteractFar_gml_Object_obj_pam_talk_Create_0=100017;const kgml_Script_EnemyDirection_gml_Object_obj_child_Create_0=100018;const kgml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0=100019;const kgml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0=100020;const kgml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0=100021;
const kgml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0=100022;const kgml_Script_AttackLogic_gml_Object_obj_child_Create_0=100023;const kgml_Script_RunLogic_gml_Object_obj_child_Create_0=100024;const kgml_Script____struct___4_gml_Object_obj_door_main_Create_0=100025;const kgml_Script_Interact_gml_Object_obj_door_main_Create_0=100026;const kgml_Script_InteractFar_gml_Object_obj_door_main_Create_0=100027;const kgml_Script_Interact_gml_Object_obj_interactable_Create_0=100028;const kgml_Script_InteractFar_gml_Object_obj_interactable_Create_0=100029;
const kgml_Script_Interact_gml_Object_obj_passage_Create_0=100030;const kgml_Script_InteractFar_gml_Object_obj_passage_Create_0=100031;const kgml_Script____struct___5_gml_Object_obj_door_fl2_Create_0=100032;const kgml_Script_Interact_gml_Object_obj_door_fl2_Create_0=100033;const kgml_Script_InteractFar_gml_Object_obj_door_fl2_Create_0=100034;const kgml_Script_SetPlayerAge_gml_Object_obj_player_Create_0=100035;const kgml_Script____struct___6_gml_Object_obj_player_Step_0=100036;const kgml_Script_Ambush1_gml_Object_obj_child_kev_Create_0=100037;
const kgml_Script_StartFight_gml_Object_obj_child_kev_Create_0=100038;const kgml_Script_Defeat_gml_Object_obj_child_kev_Create_0=100039;const kgml_Script_CutsceneStairs_gml_Object_obj_controller_Create_0=100040;const kgml_Script_ShowCut_gml_Object_obj_controller_Create_0=100041;const kgml_Script_ShowCutEnd_gml_Object_obj_controller_Create_0=100042;const kgml_Script_SetHud_gml_Object_obj_controller_Create_0=100043;const kgml_Script_anon_OpenHud_gml_Object_obj_controller_Create_0_2118_OpenHud_gml_Object_obj_controller_Create_0=100044;
const kgml_Script_OpenHud_gml_Object_obj_controller_Create_0=100045;const kgml_Script_anon_CloseHud_gml_Object_obj_controller_Create_0_2772_CloseHud_gml_Object_obj_controller_Create_0=100046;const kgml_Script_CloseHud_gml_Object_obj_controller_Create_0=100047;const kgml_Script_Interact_gml_Object_obj_jim_talk_Create_0=100048;const kgml_Script_InteractFar_gml_Object_obj_jim_talk_Create_0=100049;const kgml_Script_Ambush1_gml_Object_obj_child_jim_Create_0=100050;const kgml_Script_Ambush2_gml_Object_obj_child_jim_Create_0=100051;
const kgml_Script_Defeat_gml_Object_obj_child_jim_Create_0=100052;const kgml_Script_StartFight_gml_Object_obj_child_jim_Create_0=100053;const kgml_Script_StartFight2_gml_Object_obj_child_jim_Create_0=100054;gml_Script____struct___0_AttackLogic_gml_Object_obj_child_Create_0.__yyg__is_constructor=true;gml_Script____struct___1_AttackLogic_gml_Object_obj_child_Create_0.__yyg__is_constructor=true;gml_Script____struct___2_AttackLogic_gml_Object_obj_child_Create_0.__yyg__is_constructor=true;gml_Script____struct___3_AttackLogic_gml_Object_obj_child_Create_0.__yyg__is_constructor=true;
gml_Script____struct___4_gml_Object_obj_door_main_Create_0.__yyg__is_constructor=true;gml_Script____struct___5_gml_Object_obj_door_fl2_Create_0.__yyg__is_constructor=true;gml_Script____struct___6_gml_Object_obj_player_Step_0.__yyg__is_constructor=true;var g_instance_names={"x":[true,true,true,null,null],"y":[true,true,true,null,null],"xprevious":[true,true,true,null,null],"yprevious":[true,true,true,null,null],"xstart":[true,true,true,null,null],"ystart":[true,true,true,null,null],"hspeed":[true,
true,true,null,null],"vspeed":[true,true,true,null,null],"direction":[true,true,true,null,null],"speed":[true,true,true,null,null],"friction":[true,true,true,null,null],"gravity":[true,true,true,null,null],"gravity_direction":[true,true,true,null,null],"in_collision_tree":[true,false,true,null,null],"object_index":[true,false,false,null,null],"id":[true,false,false,null,null],"alarm":[true,true,true,null,null],"solid":[true,true,true,null,null],"visible":[true,true,true,null,null],"persistent":[true,
true,true,null,null],"managed":[true,false,true,null,null],"depth":[true,true,true,null,null],"bbox_left":[true,false,false,null,null],"bbox_right":[true,false,false,null,null],"bbox_top":[true,false,false,null,null],"bbox_bottom":[true,false,false,null,null],"sprite_index":[true,true,true,null,null],"image_index":[true,true,true,null,null],"image_single":[true,true,true,null,null],"image_number":[true,false,false,null,null],"sprite_width":[true,false,false,null,null],"sprite_height":[true,false,
false,null,null],"sprite_xoffset":[true,false,false,null,null],"sprite_yoffset":[true,false,false,null,null],"image_xscale":[true,true,true,null,null],"image_yscale":[true,true,true,null,null],"image_angle":[true,true,true,null,null],"image_alpha":[true,true,true,null,null],"image_blend":[true,true,true,null,null],"image_speed":[true,true,true,null,null],"mask_index":[true,true,true,null,null],"path_index":[true,false,false,null,null],"path_position":[true,true,true,null,null],"path_positionprevious":[true,
true,true,null,null],"path_speed":[true,true,true,null,null],"path_scale":[true,true,true,null,null],"path_orientation":[true,true,true,null,null],"path_endaction":[true,true,true,null,null],"timeline_index":[true,true,true,null,null],"timeline_position":[true,true,true,null,null],"timeline_speed":[true,true,true,null,null],"timeline_running":[true,true,true,null,null],"timeline_loop":[true,true,true,null,null],"phy_rotation":[true,true,true,null,null],"phy_position_x":[true,true,true,null,null],
"phy_position_y":[true,true,true,null,null],"phy_angular_velocity":[true,true,true,null,null],"phy_linear_velocity_x":[true,true,true,null,null],"phy_linear_velocity_y":[true,true,true,null,null],"phy_speed_x":[true,true,true,null,null],"phy_speed_y":[true,true,true,null,null],"phy_speed":[true,false,true,null,null],"phy_angular_damping":[true,true,true,null,null],"phy_linear_damping":[true,true,true,null,null],"phy_bullet":[true,true,true,null,null],"phy_fixed_rotation":[true,true,true,null,null],
"phy_active":[true,true,true,null,null],"phy_mass":[true,false,true,null,null],"phy_inertia":[true,false,true,null,null],"phy_com_x":[true,false,true,null,null],"phy_com_y":[true,false,true,null,null],"phy_dynamic":[true,false,true,null,null],"phy_kinematic":[true,false,true,null,null],"phy_sleeping":[true,false,true,null,null],"phy_position_xprevious":[true,true,true,null,null],"phy_position_yprevious":[true,true,true,null,null],"phy_collision_points":[true,false,true,null,null],"layer":[true,true,
true,null,null],"in_sequence":[true,false,true,null,null],"sequence_instance":[true,false,true,null,null],"drawn_by_sequence":[true,false,true,null,null],"phy_collision_x":[true,false,true,null,null],"phy_collision_y":[true,false,true,null,null],"phy_col_normal_x":[true,false,true,null,null],"phy_col_normal_y":[true,false,true,null,null]};var g_global_names={"argument_relative":[true,false,false,"get_argument_relative",null],"argument_count":[true,false,false,null,null],"argument":[true,true,true,
null,null],"argument0":[true,true,true,null,null],"argument1":[true,true,true,null,null],"argument2":[true,true,true,null,null],"argument3":[true,true,true,null,null],"argument4":[true,true,true,null,null],"argument5":[true,true,true,null,null],"argument6":[true,true,true,null,null],"argument7":[true,true,true,null,null],"argument8":[true,true,true,null,null],"argument9":[true,true,true,null,null],"argument10":[true,true,true,null,null],"argument11":[true,true,true,null,null],"argument12":[true,
true,true,null,null],"argument13":[true,true,true,null,null],"argument14":[true,true,true,null,null],"argument15":[true,true,true,null,null],"debug_mode":[true,false,true,null,null],"pointer_invalid":[true,false,false,null,null],"pointer_null":[true,false,false,null,null],"undefined":[true,false,false,null,null],"NaN":[true,false,false,null,null],"infinity":[true,false,false,null,null],"room":[true,true,true,"get_current_room","set_current_room"],"room_first":[true,false,false,null,null],"room_last":[true,
false,false,null,null],"transition_kind":[true,true,true,null,null],"transition_steps":[true,true,true,null,null],"score":[true,true,true,null,null],"lives":[true,true,true,null,"set_lives_function"],"health":[true,true,true,null,"set_health_function"],"game_id":[true,false,false,null,null],"game_display_name":[true,false,true,null,null],"game_project_name":[true,false,true,null,null],"game_save_id":[true,false,true,null,null],"working_directory":[true,false,false,null,null],"temp_directory":[true,
false,false,null,null],"program_directory":[true,false,false,null,null],"instance_count":[true,false,false,"get_instance_count",null],"instance_id":[true,false,false,null,null],"room_width":[true,true,false,null,"set_room_width"],"room_height":[true,true,false,null,"set_room_height"],"room_caption":[true,true,true,null,"set_room_caption"],"room_speed":[true,true,true,"get_room_speed","set_room_speed"],"room_persistent":[true,true,true,null,"set_room_persistent"],"background_color":[true,true,true,
"getbackground_color","setbackground_color"],"background_showcolor":[true,true,true,"getbackground_showcolor","setbackground_showcolor"],"background_colour":[true,true,true,"getbackground_color","setbackground_color"],"background_showcolour":[true,true,true,"getbackground_showcolor","setbackground_showcolor"],"view_enabled":[true,true,true,"get_view_enable","set_view_enable"],"view_current":[true,false,false,null,null],"view_visible":[true,true,true,null,null],"mouse_x":[true,false,false,"get_mouse_x",
null],"mouse_y":[true,false,false,"get_mouse_y",null],"mouse_button":[true,true,true,null,null],"mouse_lastbutton":[true,true,true,null,null],"keyboard_key":[true,true,true,null,null],"keyboard_lastkey":[true,true,true,null,null],"keyboard_lastchar":[true,true,true,null,null],"keyboard_string":[true,true,true,null,null],"show_score":[true,true,true,null,null],"show_lives":[true,true,true,null,null],"show_health":[true,true,true,null,null],"caption_score":[true,true,true,null,null],"caption_lives":[true,
true,true,null,null],"caption_health":[true,true,true,null,null],"fps":[true,false,false,null,null],"fps_real":[true,false,false,null,null],"current_time":[true,false,false,"get_current_time",null],"current_year":[true,false,false,"get_current_year",null],"current_month":[true,false,false,"get_current_month",null],"current_day":[true,false,false,"get_current_day",null],"current_weekday":[true,false,false,"get_current_weekday",null],"current_hour":[true,false,false,"get_current_hour",null],"current_minute":[true,
false,false,"get_current_minute",null],"current_second":[true,false,false,"get_current_second",null],"event_type":[true,false,false,"get_current_event_type",null],"event_number":[true,false,false,"get_current_event_number",null],"event_object":[true,false,false,"get_current_event_object",null],"event_action":[true,false,false,null,null],"error_occurred":[true,true,true,null,null],"error_last":[true,true,true,null,null],"gamemaker_registered":[true,false,false,null,null],"gamemaker_pro":[true,false,
false,null,null],"application_surface":[true,false,false,null,null],"font_texture_page_size":[true,true,false,null,null],"os_type":[true,false,false,"get_os_type",null],"os_device":[true,false,false,"get_os_device",null],"os_browser":[true,false,false,"get_os_browser",null],"os_version":[true,false,false,"get_os_version",null],"browser_width":[true,false,false,"get_browser_width",null],"browser_height":[true,false,false,"get_browser_height",null],"async_load":[true,false,false,"get_async_load",null],
"event_data":[true,false,false,"get_event_data",null],"display_aa":[true,false,false,"get_display_aa",null],"iap_data":[true,false,false,"get_iap_data",null],"cursor_sprite":[true,true,false,"get_cursor_sprite","set_cursor_sprite"],"delta_time":[true,true,false,"get_delta_time",null],"webgl_enabled":[true,false,false,null,null],"audio_bus_main":[true,true,true,null,null],"rollback_current_frame":[true,false,false,null,null],"rollback_confirmed_frame":[true,false,false,null,null],"rollback_event_id":[true,
false,false,null,null],"rollback_event_param":[true,false,false,null,null],"rollback_game_running":[true,false,false,null,null],"rollback_api_server":[true,false,false,null,null],"wallpaper_config":[true,false,false,null,null],"view_xview":[true,true,true,null,null],"view_yview":[true,true,true,null,null],"view_wview":[true,true,true,null,null],"view_hview":[true,true,true,null,null],"view_angle":[true,true,true,null,null],"view_hborder":[true,true,true,null,null],"view_vborder":[true,true,true,
null,null],"view_hspeed":[true,true,true,null,null],"view_vspeed":[true,true,true,null,null],"view_object":[true,true,true,null,null],"view_xport":[true,true,true,null,null],"view_yport":[true,true,true,null,null],"view_wport":[true,true,true,null,null],"view_hport":[true,true,true,null,null],"view_surface_id":[true,true,true,null,null],"view_camera":[true,true,true,null,null],"marked":[false,false,false,null,null],"active":[false,false,false,null,null]};/*@constructor */function _T1(_U1){this._V1=false;
this._W1=0;this._X1=0;this._Y1=false;this._Z1=0;this.__1=new _02(0);this._12=new _02(0);this._22=null;this._32=null;this._42=null;this._52=null;this._62=null;this._72=null;this._82=[];this._92(_U1._72);};_T1.prototype._a2=function(){var _b2=new _T1({_72:this._72});return _b2;};_T1.prototype._92=function(_c2){this._72=_c2;this._22=new spine._d2(_c2);this._62=new spine._e2(this._22.data);this._52=new spine._f2(this._62);var listener=new Object();listener.start=function(_g2){};listener.end=function(_g2){};listener.complete=function(_g2,
_h2){};listener.event=function(_g2,_i2){var map=ds_map_create();g_pBuiltIn.event_data=map;ds_map_add(map,"name",_i2.data.name);ds_map_add(map,"track",_g2);ds_map_add(map,"integer",_i2._j2);ds_map_add(map,"float",_i2._k2);var _l2=_i2._l2?_i2._l2:_i2.data._l2;ds_map_add(map,"string",_l2);_m2._n2(_o2,0);ds_map_destroy(map);g_pBuiltIn.event_data=-1;};this._52._p2(listener);if(_c2.animations.length>0){this._q2(null);}this._r2(null);this._32=new spine._s2();};_T1.prototype._t2=function(_u2,_v2){if(_v2==undefined)_v2=0;
if(_v2<0)return 0;if(_v2>=this._52.tracks.length)return 0;var _w2=_x2?_x2._y2():30;if(_z2){if((_u2!=undefined)&&(_u2!=null)){if(_u2.playbackspeedtype==_A2){_w2=_B2._C2();}else {_w2=_u2.playbackspeed;}}else {_w2=_B2._C2();}}if(this._52.tracks[_v2]==null){return ~~((_w2*this._42.duration)+0.5);}return ~~((_w2*this._52.tracks[_v2]._D2.duration)+0.5);};function _E2(_F2,_G2){if(_G2<0.0)return _F2;var _H2=_F2/_G2;var frac=_H2-Math.floor(_H2);var _I2=frac*_G2;return _I2;}_T1.prototype._J2=function(_v2){if(_v2<0)return 0;
if(_v2>=this._52.tracks.length)return 0;if(this._52.tracks[_v2]===null)return 0;var _w2=_x2?_x2._y2():30;if(_z2){_w2=_B2._C2();}if(_w2<=0)return 0;var _K2=this._52.tracks[_v2]._L2*_w2;_K2=_E2(_K2,_w2*this._52.tracks[_v2]._D2.duration);return ~~(_K2+0.5);};_T1.prototype._M2=function(_v2,_N2){if(_v2<0)return;if(_v2>=this._52.tracks.length)return;if(this._52.tracks[_v2]===null)return;var _w2=_x2?_x2._y2():30;if(_z2){_w2=_B2._C2();}if(_w2<=0)return 0;var _K2=_E2(_N2,_w2*this._52.tracks[_v2]._D2.duration);var time=(_K2/_w2);
this._52.tracks[_v2]._L2=time;this._V1=true;};_T1.prototype._O2=function(_v2){if(_v2<0)return false;if(_v2>=this._52.tracks.length)return false;if(this._52.tracks[_v2]===null)return false;return this._52.tracks[_v2].loop;};_T1.prototype._P2=function(_v2){if(_v2<0)return false;if(_v2>=this._52.tracks.length)return false;if(this._52.tracks[_v2]===null)return false;var _Q2=this._52.tracks[_v2];return !_Q2.loop&&_Q2._L2>=_Q2._D2.duration;};_T1.prototype._q2=function(_R2,_S2=true){this._T2(_R2,0,_S2);};_T1.prototype._T2=function(_R2,
_v2,_S2=true){var _D2=null;if(((_R2===null)||(_R2===undefined))&&(_v2===0)){if(this._72.animations.length>0){_D2=this._72._U2(this._72.animations[0].name);}}else {_D2=this._72._U2(_R2);}if(_D2!==null&&_D2!==undefined){if(_v2===0){this._W1=0;this._X1=0;this._42=_D2;}this._52._V2(_v2,_D2.name,_S2);}};_T1.prototype._r2=function(_W2){var _X2=_W2;if(_W2===null||_W2===undefined){if(this._72._Y2){_X2=this._72._Y2.name;}}if(_X2!=null){if(_X2.__type=="[SkeletonSkin]"){if(this._22._Z2===_X2._Z2){return;}this._22.__2(_X2._Z2);
this._22._03();}else {if((this._22.skin!=null)&&(this._22.skin.name!=null)){if(_X2==this._22.skin.name){return;}}this._22._13(_X2);this._22._03();}}};_T1.prototype._23=function(_33,_43,_53){this._62._63(_33,_43,_53);};_T1.prototype._73=function(_83,_93){var slot=this._22._a3(_83);if((slot!==null)&&(slot!==undefined)){if(typeof(_93)==='number'){slot._b3(null);}else {var _c3=-1;if((slot.data!==null)&&(slot.data!==undefined)){_c3=slot.data.index;}for(var _d3=0;_d3<this._72.skins.length;_d3++){var skin=this._72.skins[_d3];
var attachment=skin._e3(_c3,_93);if(attachment){slot._b3(attachment);return;}}for(var _f3=0;_f3<this._82.length;_f3++){var attachment=this._82[_f3].attachment;if(attachment.name===_93){slot._b3(attachment);return;}}}}};_T1.prototype._g3=function(_83,_h3){var slot=this._22._a3(_83);if((slot!==null)&&(slot!==undefined)){var _i3,_j3,_k3,_l3;_i3=(_h3&0xff)/255.0;_j3=((_h3&0xff00)>>8)/255.0;_k3=((_h3&0xff0000)>>16)/255.0;if(slot.color!=undefined){_l3=slot.color._l3;}else {_l3=1.0;}slot.color=new spine._m3(_i3,
_j3,_k3,_l3);}};_T1.prototype._n3=function(_83,_o3){var slot=this._22._a3(_83);if((slot!==null)&&(slot!==undefined)){var _i3,_j3,_k3,_l3;_l3=_o3;if(slot.color!=undefined){_i3=slot.color._i3;_j3=slot.color._j3;_k3=slot.color._k3;}else {_i3=1.0;_j3=1.0;_k3=1.0;}slot.color=new spine._m3(_i3,_j3,_k3,_l3);}};_T1.prototype._p3=function(_83,_h3){var slot=this._22._a3(_83);if((slot!==null)&&(slot!==undefined)){var _q3;if(slot.color!=undefined){_q3=slot.color._i3*255.0;_q3|=(slot.color._j3*255.0)<<8;_q3|=(slot.color._k3*255.0)<<16;
_q3|=0xff000000;}else {_q3=0xffffffff;}return _q3;}return 0xffffffff;};_T1.prototype._r3=function(_83,_h3){var slot=this._22._a3(_83);if((slot!==null)&&(slot!==undefined)){if(slot.color!=undefined){return slot.color._l3;}else {return 1.0;}}return 1.0;};_T1.prototype._s3=function(_83,_93,_t3=false){var _u3=undefined;if(!_t3){var _c3=-1;var slot=this._22._a3(_83);if((slot!==null)&&(slot!==undefined)&&(slot.data!==null)&&(slot.data!==undefined)){_c3=slot.data.index;}for(var _d3=0;_d3<this._72.skins.length;_d3++){
var skin=this._72.skins[_d3];var attachment=skin._e3(_c3,_93);if(attachment){_u3=_93;break;}}}if(_u3===undefined){for(var _f3=0;_f3<this._82.length;_f3++){var attachment=this._82[_f3].attachment;if(attachment.name===_93){_u3=_93;break;}}}return _u3;};_T1.prototype._v3=function(_93,_w3,_x3,_y3,_z3,_A3,_B3,_C3,_D3,_h3,_o3,_E3){var _F3=_w3._G3[_x3%_w3._H3()];var _I3=_J3[_F3.tp];var _K3;for(_K3=0;_K3<this._82.length;_K3++){var attachment=this._82[_K3].attachment;if(attachment.name===_93){if(_E3){break;}else {
_L3("Custom attachment with name '"+_93+"' already exists");}}}if(!_I3.complete){debug("Trying to create attachment "+_93+" with texture that hasn't been loaded yet.");return;}var _M3=new spine._N3();_M3.name=_w3.pName;_M3._O3=_F3.tp;_M3.width=_F3.texture.width;_M3.height=_F3.texture.height;_M3._P3=spine._Q3.Linear;_M3._R3=spine._Q3.Linear;_M3._S3=spine._T3.ClampToEdge;_M3._U3=spine._T3.ClampToEdge;_M3.texture=new _V3();_M3.texture.width=_M3.width;_M3.texture.height=_M3.height;_M3.texture._O3=_F3.tp;
_M3.texture._W3=_I3;_M3.texture._X3(_M3._P3,_M3._R3);_M3.texture._Y3(_M3._S3,_M3._U3);var _Z3=new spine.__3();_Z3._M3=_M3;_Z3.name=_93;_Z3.x=0;_Z3.y=0;_Z3.width=_w3.width;_Z3.height=_w3.height;_Z3._04=_F3.x/_F3.texture.width;_Z3._14=_F3.y/_F3.texture.height;_Z3._24=(_F3.x+_F3.w)/_F3.texture.width;_Z3._34=(_F3.y+_F3.h)/_F3.texture.height;_Z3._44=0;_Z3._54=0;_Z3._64=_Z3.width;_Z3._74=_Z3.height;_Z3.index=0;_Z3._84=0;_Z3._94=null;_Z3._a4=null;_Z3.texture=_M3.texture;var _b4=new spine._c4("");_b4._d4.push(_M3);
_b4._e4.push(_Z3);var _f4=new spine._g4(_b4);var _h4=_f4._i4(this._72.skins[0],_93,_93);_h4.width=_Z3.width;_h4.height=_Z3.height;_h4.scaleX=_A3;_h4.scaleY=_B3;_h4.x=_y3;_h4.y=_z3;_h4.rotation=_C3;if((_h3!=undefined)&&(_o3!=undefined)){var _j4=(_h3&0xff)/255.0,_k4=((_h3&0xff00)>>8)/255.0,_l4=((_h3&0xff0000)>>16)/255.0;_h4.color=new spine._m3(_j4,_k4,_l4,_o3);}else if(_D3!=undefined){_h4.color=new spine._m3();_h4.color._m4(_D3);}_h4._n4(_h4);if(_K3<this._82.length){this._o4(this._82[_K3].attachment,_h4);
this._82[_K3]={attachment:_h4,_b4:_b4};}else {this._82.push({attachment:_h4,_b4:_b4});}};_T1.prototype._p4=function(_93){for(var i=0;i<this._82.length;i++){var attachment=this._82[i].attachment;if(attachment.name===_93){this._o4(attachment,null);this._82.splice(i,1);return true;}}return false;};_T1.prototype._o4=function(_q4,_r4){for(var i=0;i<this._22.slots.length;++i){var slot=this._22.slots[i];if(slot&&slot._e3()===_q4){slot._b3(_r4);}}};_T1.prototype._s4=function(_F2){this._Y1=_F2;};_T1.prototype._t4=function(_x3,
_u4,_v4,_w4,_x4,_y4,_z4,_u2){var skeleton=this._22;var _A4=this._22._B4();var _C4=this._W1;var _D4=this._V1;var _E4=false;_x4*=-1.0;var _F4=(_z4!==undefined);if((_D4==true)||(_C4!==_x3)||(skeleton.x!==_u4)||(skeleton.y!==_v4)||(skeleton.scaleX!=_w4)||(skeleton.scaleY!=_x4)||(this._Z1!==_y4)){var _G4=_u2;if(((_u2==undefined)||(_u2==null))&&(_z4!=undefined)&&(_z4!=null)){var index;index=_z4.sprite_index;_G4=_H4._I4(index);}var _J4=this._t2(_G4,0);if(_J4>0){var _K4=_x3%_J4,_L4=this._W1%_J4,duration=this._42.duration,
_M4=this._42._N4.length;var _O4=0;if(Math.abs(_K4-_L4)<(_J4/2)){if(_K4>_L4)_O4=1;else if(_K4<_L4)_O4=-1;else _O4=0;}if((this._X1>0)&&(_K4<_L4)){_K4+=_J4;}if(_L4-_K4>=_J4-1){_K4+=_J4;}this._X1=_O4;var _P4=(_K4-_L4)/_J4;this._52._Q4(_P4*duration);}this._52.apply(this._22);this._W1=_x3;skeleton.x=_u4;skeleton.y=_v4;skeleton.scaleX=_w4;skeleton.scaleY=_x4;this._Z1=_y4;this.__1=new _02(-_y4);this._12=new _02(_y4);_F4=true;_E4=true;this._V1=false;}if(_F4){if(_z4){_z4._R4(_S4,0,_z4,null);}this._T4();}return _E4;
};_T1.prototype._T4=function(){var skeleton=this._22;skeleton._F4();this._32._Q4(this._22,1);var _U4=this._V4();_W4(this._32,this.__1,_U4[0],_U4[1]);};function _W4(_X4,_Y4,_Z4,__4){var _05=true;for(var i=0;i<_X4._15.length;++i){var _25=_X4._15[i];for(var _35=0;_35<_25.length;){var _45=_55([_25[_35],_25[_35+1]],[_Z4,__4],_Y4);var _65=_25[_35++]=_45[0];var _75=_25[_35++]=_45[1];if(_05){_X4._85=_X4._95=_65;_X4._a5=_X4._b5=_75;_05=false;}else {_X4._85=Math.min(_X4._85,_65);_X4._95=Math.max(_X4._95,_65);_X4._a5=Math.min(_X4._a5,
_75);_X4._b5=Math.max(_X4._b5,_75);}}}}_T1.prototype._c5=function(_d5,_u4,_v4,_w4,_x4,_y4){var _J4=this._t2(undefined,0);var frame=~~(_J4*(_d5/this._42.duration)+0.5);this._t4(frame,_u4,_v4,_w4,_x4,_y4);};_T1.prototype._e5=function(_f5,_x3,_u4,_v4,_w4,_x4,_y4){if(this._32!=null){var _g5=this._32;this._t4(_x3,_u4,_v4,_w4,_x4,_y4,_h5);if(_g5._i5.length>0){_f5.left=~~(_g5._85+0.5);_f5.right=~~(_g5._95+0.5);_f5.top=~~(_g5._a5+0.5);_f5.bottom=~~(_g5._b5+0.5);return true;}}return false;};_T1.prototype._j5=function(_f5){
if(this._32!=null){this._T4();if(this._32._i5.length>0){_f5.left=this._32._85;_f5.right=this._32._95;_f5.top=this._32._a5;_f5.bottom=this._32._b5;return true;}}return false;};_T1.prototype._k5=function(){if(this._32==null)return 0;this._T4();return this._32._i5.length;};_T1.prototype._l5=function(_N2){if(this._32!=null){if(_N2>=0){this._T4();if(_N2<this._32._i5.length){var _m5=this._32._15[_N2];var _n5=_m5.length/2;var _o5=[];_o5.push(_n5);_o5.push(this._32._i5[_N2].name);for(var i=0;i<_n5;i++){_o5.push(_m5[i*2]);
_o5.push(_m5[i*2+1]);}return _o5;}}}var _o5=[];_o5.push(0,"");return _o5;};_T1.prototype._V4=function(){return [this._22.x,this._22.y];};_T1.prototype._p5=function(_x3,_u4,_v4,_w4,_x4,_y4,_q5,_r5,_s5,_t5,_u5,_v5,_w5){this._t4(_x3,_u4,_v4,_w4,_x4,_y4);_q5._t4(_r5,_s5,_t5,_u5,_v5,_w5);for(var _x5=0;_x5<_q5._32._15.length;_x5++){var _y5=_q5._32._15[_x5];var size=_y5.length/2;for(var _z5=0;_z5<size;_z5++){var _A5,_B5,_C5,_D5;_A5=_y5[(_z5*2)+0];_B5=_y5[(_z5*2)+1];if(_z5===(size-1)){_C5=_y5[0];_D5=_y5[1];}else {
_C5=_y5[((_z5+1)*2)+0];_D5=_y5[((_z5+1)*2)+1];}var _E5=this._32._F5(_A5,_B5,_C5,_D5);if(_E5!==null){return true;}}}return false;};_T1.prototype._G5=function(_x3,_u4,_v4,_w4,_x4,_y4,_G4,_H5,_r5,_s5,_t5,_u5,_v5,_w5){this._t4(_x3,_u4,_v4,_w4,_x4,_y4);if(_G4==null){return false;}if(_G4._I5<=0){return false;}if(_G4._J5.length>0){_r5=_r5%_G4._J5.length;}if(_r5<0){_r5=_r5+_G4._J5.length;}_u5=1.0/_u5;_v5=1.0/_v5;var _g5=this._32;var _K5=_L5(_g5._85,_H5.left);var _i3=_M5(_g5._95,_H5.right);var _N5=_L5(_g5._a5,_H5.top);
var _k3=_M5(_g5._b5,_H5.bottom);var _O5=Math.sin(-_w5*(_P5/180.0));var _Q5=Math.cos(-_w5*(_P5/180.0));for(var i=_K5;i<=_i3;i++){for(var _35=_N5;_35<=_k3;_35++){var _R5=((_Q5*(i-_s5)+_O5*(_35-_t5))*_u5+_G4._S5);var _T5=((_Q5*(_35-_t5)-_O5*(i-_s5))*_v5+_G4._U5);if((_R5<0)||(_R5>=_G4._V5)){continue;}if((_T5<0)||(_T5>=_G4._W5)){continue;}if(_G4._X5){if(!_G4._J5._o5[_r5]._o5[_R5+(_T5*_G4._V5)]){continue;}}var _E5=_g5._Y5(i,_35);if(_E5!==null){return true;}}}return false;};_T1.prototype._Z5=function(_x3,_u4,_v4,
_w4,_x4,_y4,__5,_06){this._t4(_x3,_u4,_v4,_w4,_x4,_y4);var _E5=this._32._Y5(__5,_06);if(_E5!==null){return true;}return false;};_T1.prototype._16=function(_x3,_u4,_v4,_w4,_x4,_y4,__5,_06,_s5,_t5){this._t4(_x3,_u4,_v4,_w4,_x4,_y4);var _E5=this._32._F5(__5,_06,_s5,_t5);if(_E5!==null){return true;}return false;};_T1.prototype._26=function(_x3,_u4,_v4,_w4,_x4,_y4,__5,_06,_s5,_t5){this._t4(_x3,_u4,_v4,_w4,_x4,_y4);var _g5=this._32;var _E5=_g5._F5(__5,_06,_s5,_t5);if(_E5!==null){return true;}_E5=_g5._F5(__5,_06,
_s5,_06);if(_E5!==null){return true;}_E5=_g5._F5(_s5,_06,_s5,_t5);if(_E5!==null){return true;}_E5=_g5._F5(_s5,_t5,__5,_t5);if(_E5!==null){return true;}_E5=_g5._F5(__5,_t5,__5,_06);if(_E5!==null){return true;}return false;};_T1.prototype._36=function(_x3,_u4,_v4,_w4,_x4,_y4,_46){this._t4(_x3,_u4,_v4,_w4,_x4,_y4);var _g5=this._32;var skeleton=this._22;var _K5=_L5(_g5._85,_46.left);var _i3=_M5(_g5._95,_46.right);var _N5=_L5(_g5._a5,_46.top);var _k3=_M5(_g5._b5,_46.bottom);var _56=((_46.right+_46.left)/2);var _66=((_46.bottom+_46.top)/2);
var _76=((_46.right-_46.left)/2);var _86=((_46.bottom-_46.top)/2);var _V5=(_g5._95-_g5._85);var _W5=(_g5._b5-_g5._a5);var _S5=skeleton.x-_g5._85;var _U5=skeleton.y-_g5._a5;if((_w4==1)&&(_x4==1)&&(Math.abs(_y4)<0.0001)){for(var i=_K5;i<=_i3;i++){for(var _35=_N5;_35<=_k3;_35++){if(sqr((i-_56)/_76)+sqr((_35-_66)/_86)>1)continue;var _R5=i-_u4+_S5;var _T5=_35-_v4+_U5;if((_R5<0)||(_R5>=_V5))continue;if((_T5<0)||(_T5>=_W5))continue;var _E5=_g5._Y5(i,_35);if(_E5!==null){return true;}}}}else {var _96=Math.sin(-_y4*_P5/180.0);
var _a6=Math.cos(-_y4*_P5/180.0);for(var i=_K5;i<=_i3;i++){for(var _35=_N5;_35<=_k3;_35++){if(sqr((i-_56)/_76)+sqr((_35-_66)/_86)>1)continue;var _R5=Math.floor((_a6*(i-_u4)+_96*(_35-_v4))/_w4+_S5);var _T5=Math.floor((_a6*(_35-_v4)-_96*(i-_u4))/_x4+_U5);if((_R5<0)||(_R5>=_V5))continue;if((_T5<0)||(_T5>=_W5))continue;var _E5=_g5._Y5(i,_35);if(_E5!==null){return true;}}}}return false;};_T1.prototype._b6=function(_c6,_d6){var bone=this._22._e6(_c6);if(bone){var _f6=_g6._I4(_d6);if(_f6){_f6.set("length",bone.data.length);
_f6.set("x",bone.data.x);_f6.set("y",bone.data.y);_f6.set("angle",bone.data.rotation);_f6.set("xscale",bone.data.scaleX);_f6.set("yscale",bone.data.scaleY);if((bone.data.parent!==undefined)&&(bone.data.parent!==null)){_f6.set("parent",bone.data.parent.name);}else {_f6.set("parent","");}return true;}}return false;};_T1.prototype._h6=function(_c6,_d6){var bone=this._22._e6(_c6);if(bone){var _f6=_g6._I4(_d6);if(_f6){bone.data.length=(_f6.get("length")!==undefined)?_f6.get("length"):bone.data.length;bone.data.x=(_f6.get("x")!==undefined)?_f6.get("x"):bone.data.x;
bone.data.y=(_f6.get("y")!==undefined)?_f6.get("y"):bone.data.y;bone.data.rotation=(_f6.get("angle")!==undefined)?_f6.get("angle"):bone.data.rotation;bone.data.scaleX=(_f6.get("xscale")!==undefined)?_f6.get("xscale"):bone.data.scaleX;bone.data.scaleY=(_f6.get("yscale")!==undefined)?_f6.get("yscale"):bone.data.scaleY;return true;}}return false;};_T1.prototype._i6=function(_j6,_c6,_d6){var bone=this._22._e6(_c6);if(bone){var _f6=_g6._I4(_d6);if(_f6){var angle=_j6.image_angle;var _U4=this._V4();var _k6=[bone._l6,
bone._m6];_k6=_55(_k6,_U4,this.__1);_f6.set("x",bone.x);_f6.set("y",bone.y);_f6.set("angle",bone.rotation);_f6.set("xscale",bone.scaleX);_f6.set("yscale",bone.scaleY);_f6.set("worldX",_k6[0]);_f6.set("worldY",_k6[1]);_f6.set("worldAngleX",bone._n6()-angle);_f6.set("worldAngleY",bone._o6()-angle);_f6.set("worldScaleX",bone._p6());_f6.set("worldScaleY",bone._q6());_f6.set("appliedAngle",bone._r6);if(bone.parent!=null)if(bone.parent.data!=null)_f6.set("parent",bone.parent.data.name);return true;}}return false;
};_T1.prototype._s6=function(_j6,_c6,_d6){var bone=this._22._e6(_c6);if(bone){var _f6=_g6._I4(_d6);if(_f6){if(_f6.get("angle")!==undefined)bone.rotation=_f6.get("angle");if(_f6.get("xscale")!==undefined)bone.scaleX=_f6.get("xscale");if(_f6.get("yscale")!==undefined)bone.scaleY=_f6.get("yscale");var _U4=this._V4();var _k6=[bone._l6,bone._m6];_k6=_55(_k6,_U4,this.__1);if(_f6.get("worldX")!==undefined)_k6[0]=_f6.get("worldX");if(_f6.get("worldY")!==undefined)_k6[1]=_f6.get("worldY");_k6=_55(_k6,_U4,this._12);
if(!(Math.abs(_k6[0]-bone._l6)<0.01)||!(Math.abs(_k6[1]-bone._m6)<0.01)){var _t6;if((bone.parent!==undefined)&&(bone.parent!==null)){_t6=bone.parent._u6({x:_k6[0],y:_k6[1]});}else {_t6=bone._u6({x:_k6[0],y:_k6[1]});}bone.x=_t6.x;bone.y=_t6.y;}else {if(_f6.get("x")!==undefined)bone.x=_f6.get("x");if(_f6.get("y")!==undefined)bone.y=_f6.get("y");}return true;}}return false;};_T1.prototype._v6=function(){if(this._22.skin){return this._22.skin.name;}return "";};_T1.prototype._w6=function(_R2,_x6){var _y6=new spine._z6(_R2);
for(var i=0;i<_x6.length;++i){var _A6=this._72._B6(_x6[i]);if(_A6===null){debug("Skin "+_x6[i]+" not found in skeleton");}else {_y6._C6(_A6);}}return new _D6(_y6);};_T1.prototype._E6=function(_v2){if((_v2>=0)&&(_v2<this._52.tracks.length)&&(this._52.tracks[_v2])&&(this._52.tracks[_v2]._D2)){return this._52.tracks[_v2]._D2.name;}return "";};_T1.prototype._F6=function(_v2){if((_v2>=0)&&(_v2<this._52.tracks.length)){this._52._G6(_v2);}};_T1.prototype._H6=function(_I6){var _D2=this._72._U2(_I6);if(_D2){return _D2.duration;
}return 0.0;};_T1.prototype._J6=function(_I6){var _D2=this._72._U2(_I6);if(_D2){var _w2=_x2?_x2._y2():30;if(_z2){_w2=_B2._C2();}if(_w2<=0)return 0;var _J4=_D2.duration*_w2;return ~~(_J4+0.5);}return 0.0;};_T1.prototype._K6=function(_I6,_L6){var _D2=this._72._U2(_I6);if(_D2==null){return null;}var i;var _M6=null;for(i=0;i<_D2._N4.length;i++){var _N6=_D2._N4[i];if(_N6 instanceof spine._O6){_M6=_N6;break;}}if(_M6==null){return null;}var _w2;if(_z2){_w2=_B2._C2();}else {_w2=_x2?_x2._y2():30;}var _P6=[];for(i=0;i<_M6.events.length;
i++){var _Q6=_M6.events[i];if(_Q6.data!=null){var _R6=_Q6.data;if(_R6.name==_L6){var time=_Q6.time;_P6.push(_w2*time);}}}if(_P6.length==0){return null;}return _P6;};_T1.prototype._S6=function(_83){var slot=this._22._a3(_83);if(slot!==null&&slot!==undefined){if(slot.attachment){return slot.attachment.name;}}return "";};_T1.prototype._T6=function(_U6){for(var _x5=0;_x5<this._22.slots.length;_x5++){var _V6=this._22.slots[_x5];var map=ds_map_create();ds_map_add(map,"name",_V6.data.name);ds_map_add(map,"bone",_V6.data._W6.name);
ds_map_add(map,"attachment",_V6.attachment?_V6.attachment.name:"(none)");ds_list_add(_U6,map);}};/*@constructor */function _D6(_W2){this.__type="[SkeletonSkin]";this._Z2=_W2;}var _h5=null;var _X6=false;var _Y6=-1;var _Z6=null;var __6=[0.0,0.0,0.0,0.0];var _07=0;var _17=1;var _27=2;var _37=3;var _47=4;var _57=5;var _67=6;var _77=7;function _87(_97){_h5=_97;};function _a7(){this.width=null;this.height=null;}function _V3(){this.name=null;this._W3=new _a7();this._b7=function(){return this._W3;};this._X3=function(_P3,_R3){
};this._Y3=function(_S3,_U3){};this.dispose=function(){};this._O3=null;this.width=null;this.height=null;}/*@constructor */function _c7(){this._d7=[];this._e7=null;this._72=null;this._f7=null;this._g7=null;this._h7=false;if(_i7){this._j7=this._k7;this._l7=this._m7;}else {this._j7=this._n7;this._l7=this._o7;}};_c7.prototype._p7=function(_R2,_q7,_r7,_s7){this._d7[_R2]={_t7:[],_u7:0,_v7:32,texture:_J3[_s7],x:0,y:0,w:_q7,h:_r7};};_c7.prototype._w7=function(_x7,_y7,_z7,_A7,_B7,_C7,_u2){var _D7=_B7;var _E7=_C7;
var _F7=0;var self=this;var _G7=function(_H7,_I7){var _J7=new _V3();_J7.name=_H7;_J7.width=_J7._W3.width=_E7[_F7].width;_J7.height=_J7._W3.height=_E7[_F7].height;if(_I7!=undefined){_J7._O3=_I7.tp;self._d7[_J7.name]=_I7;}else {var _K7=_L7(_M7+_x7+_H7);_J7._O3=_K7;_J3[_K7].onload=function(e){_J7._W3=e._N7;var target=e.target||e.srcElement;self._p7(_J7.name,target.width,target.height,_K7);if(_u2._O7!=undefined){if(_u2._O7==true){var _P7=self._d7[_J7.name];_Q7(_P7);if(_P7.texture._R7){_S7(_P7.texture._R7);}}
}};_J3[_K7].onerror=function(e){var target=e.target||e.srcElement;debug("ImageError: "+target.src);};_J3[_K7].URL=_H7;}if(_F7<(_D7-1))_F7++;return _J7;};this._f7=new spine._c4(_A7);var _T7=0;if(_u2._G3!=undefined)_T7=_u2._G3.length;for(var i=0;i<this._f7._d4.length;i++){var _M3=this._f7._d4[i];_M3._U7(_G7(_M3.name,(i<_T7)?_u2._G3[i]:undefined));}this._e7=new spine._V7(new spine._g4(this._f7));this._72=this._e7._W7(_z7);};_c7.prototype._X7=function(){if(this._f7){if(this._f7._d4){return this._f7._d4.length;
}}return 0;};_c7.prototype._Y7=function(_N2){if(this._f7){if(this._f7._d4){if(this._f7._d4.length>_N2){if(this._f7._d4[_N2].texture){if(this._f7._d4[_N2].texture._O3){return this._f7._d4[_N2].texture._O3;}}}}}return -1;};_c7.prototype._Z7=function(__7,_W2,frame,x,y,_08,_18,angle,_q3,alpha){if(this._72===null||this._72===undefined)return;var _28=new _T1(this);_28._q2(__7);_28._r2(_W2);_28._t4(frame,x,y,_08,_18,angle);var _U4=_28._V4();this._38(_28._22,_q3,alpha,_28.__1,_U4[0],_U4[1]);};_c7.prototype._48=function(__7,
_W2,_d5,x,y,_08,_18,angle,_q3,alpha){if(this._72===null||this._72===undefined)return;var _28=new _T1(this);_28._q2(__7);_28._r2(_W2);_28._c5(_d5,x,y,_08,_18,angle);var _U4=_28._V4();this._38(_28._22,_q3,alpha,_28.__1,_U4[0],_U4[1]);};_c7.prototype._58=function(frame,x,y,_08,_18,angle,_q3,alpha){if(!_h5||!_h5._68()){this._Z7(null,null,frame,x,y,_08,_18,angle,_q3,alpha);}else {var _78=_h5._68();_78._t4(frame,x,y,_08,_18,angle,_h5);var _U4=_78._V4();this._38(_78._22,_q3,alpha,_78.__1,_U4[0],_U4[1]);if(_78._Y1){
this._88(_78._32);}}};_c7.prototype._98=function(_a8,__7,_W2,frame,x,y,_08,_18,angle,_b8,_c8,_U6){ds_list_clear(_U6);var _d8=false;var _78=null;if((_a8===undefined)||(_a8===null)||(_a8._68()===null)){_78=new _T1(this);_d8=true;_78._q2(__7);_78._r2(_W2);}else {_78=_a8._68();if((__7!==undefined)&&(__7!==null)){_78._q2(__7);}if((_W2!==undefined)&&(_W2!==null)){_78._r2(_W2);}}_78._t4(frame,x,y,_08,_18,angle,_a8);var _e8=[];var _f8=0;for(var i=0,_x5=_78._22.slots.length;i<_x5;i++){var slot=_78._22.drawOrder[i];
if(!slot.attachment)continue;var _g8=false;if(slot.attachment instanceof spine._h8){_g8=this._i8(slot,_b8,_c8);}else if(slot.attachment instanceof spine._j8){_g8=this._k8(slot,_b8,_c8);}else if(slot.attachment instanceof spine._l8){_g8=this._m8(slot,_b8,_c8);}if(_g8){_e8[_f8]=slot;_f8++;}}if(_f8>0){for(var i=(_f8-1);i>=0;i--){ds_list_add(_U6,_e8[i].data.name);}}};_c7.prototype._n8=function(__7,_o8,x,y,_08,_18,angle,color,_w3){var _28=new _T1(this);_28._q2(__7);_28._t4(_o8,x,y,_08,_18,angle,null,_w3);this._88(_28._32);
};_c7.prototype._38=function(_p8,color,alpha,_q8,_r8,_s8){var _j4=(color&0xff)/255.0,_k4=((color&0xff00)>>8)/255.0,_l4=((color&0xff0000)>>16)/255.0;if(_i7){this._t8(_p8,_j4,_k4,_l4,alpha,_q8,_r8,_s8);}else {this._u8(_p8,_l4,_k4,_j4,alpha,_q8,_r8,_s8);}};_c7.prototype._u8=function(_p8,_v8,_w8,_x8,_y8,_z8,_A8,_B8){var _C8=[0,1,2,2,3,0];var vertices=[];var _D8=new spine._m3(1.0,1.0,1.0,1.0);var _E8=false;for(var i=0,_x5=_p8.slots.length;i<_x5;i++){var slot=_p8.drawOrder[i];if(!slot.attachment)continue;var _i3=(_v8*255);
var _j3=(_w8*255);var _k3=(_x8*255);var _l3=(_y8*255);if((slot.skeleton!=undefined)&&(slot.skeleton._i3!=undefined)){_i3*=slot.skeleton._i3;_j3*=slot.skeleton._j3;_k3*=slot.skeleton._k3;_l3*=slot.skeleton._l3;}if(slot.color!=undefined){_i3*=slot.color._i3;_j3*=slot.color._j3;_k3*=slot.color._k3;_l3*=slot.color._l3;}if(slot.attachment.color!=undefined){_i3*=slot.attachment.color._i3;_j3*=slot.attachment.color._j3;_k3*=slot.attachment.color._k3;_l3*=slot.attachment.color._l3;}var _q3;_q3=(_l3<<24)|(_i3<<16)|(_j3<<8)|(_k3<<0);
var _F8=null;var uvs=null;var _G8=null;var _H8=2;var _I8=0;var _J8=0;var _K8=0;var _L8=null;var _K7=null;if(slot.attachment instanceof spine._h8){var _Z3=slot.attachment;if((this._g7!=null)&&(this._g7._M8())){_Z3._N8(slot.bone,vertices,0,2);_F8=vertices;uvs=_Z3.uvs;_G8=_C8;_J8=4;_K8=6;_K7=_J3[_Z3._Z3._O8._M3.texture._O3];if(!_K7.complete)continue;if(_q3!=_P8){if(!this._d7[_Z3._Z3._O8._M3.name]){var _M3=_Z3._Z3._O8._M3;this._p7(_M3.name,_M3.width,_M3.height,_M3._O3);}_K7=_Q8(this._d7[_Z3._Z3._O8._M3.name],_q3);
}var _R8=_Z3._Z3._O8._M3;_L8=this._d7[_R8.name];}else {this._n7(slot,_q3,_l3/255.0,_z8,_A8,_B8);}}else if(slot.attachment instanceof spine._j8){var _S8=slot.attachment;_S8._N8(slot,0,_S8._T8,vertices,0,2);_F8=vertices;uvs=_S8.uvs;_G8=_S8.triangles;_J8=_S8._T8;_K8=_S8.triangles.length;_K7=_J3[_S8._Z3._O8._M3.texture._O3];if(!_K7.complete)continue;if(_q3!=_P8){if(!this._d7[_S8._Z3._O8._M3.name]){var _M3=_S8._Z3._O8._M3;this._p7(_M3.name,_M3.width,_M3.height,_S8._Z3._O8._M3._O3);}_K7=_Q8(this._d7[_S8._Z3._O8._M3.name],
_q3);}_L8=this._d7[_S8._Z3._O8._M3.name];}else if(slot.attachment instanceof spine._U8){if(this._g7==null){this._g7=new spine._V8();}this._g7._W8(slot,slot.attachment);continue;}if((_J8>0)&&(_K7!=null)){if((this._g7!=null)&&(this._g7._M8())){this._g7._X8(vertices,_J8*2,_G8,_K8,uvs,_D8,_D8,_E8);_F8=this._g7._Y8;uvs=this._g7._Y8;_G8=this._g7._Z8;_H8=8;_I8=6;_J8=_F8.length/_H8;_K8=_G8.length;}for(var _14=0;_14<_K8/3;_14++){var __8=_14*3;var _09=_G8[__8++]*_H8,_19=_G8[__8++]*_H8,_29=_G8[__8++]*_H8;var _39=[];
_39[0]={};_39[0].x=_F8[_09];_39[0]._04=uvs[_I8+_09];_09++;_39[0].y=_F8[_09];_39[0]._14=uvs[_I8+_09];_39[1]={};_39[1].x=_F8[_19];_39[1]._04=uvs[_I8+_19];_19++;_39[1].y=_F8[_19];_39[1]._14=uvs[_I8+_19];_39[2]={};_39[2].x=_F8[_29];_39[2]._04=uvs[_I8+_29];_29++;_39[2].y=_F8[_29];_39[2]._14=uvs[_I8+_29];for(var pi=0;pi<3;++pi){var _45=_55([_39[pi].x,_39[pi].y],[_A8,_B8],_z8);_39[pi].x=_45[0];_39[pi].y=_45[1];}this._49(_59,_K7,_39[0].x,_39[0].y,_39[1].x,_39[1].y,_39[2].x,_39[2].y,_39[0]._04*_L8.w,_39[0]._14*_L8.h,
_39[1]._04*_L8.w,_39[1]._14*_L8.h,_39[2]._04*_L8.w,_39[2]._14*_L8.h);}}if(this._g7!=null){this._g7._69(slot);}}if(this._g7!=null){this._g7._79();}};function _89(_99,_a9,_b9){if(_a9==false){switch(_99){case spine._c9.Normal:_b9.src=_d9._e9;_b9._f9=_d9._g9;break;case spine._c9.Additive:_b9.src=_d9._e9;_b9._f9=_d9._h9;break;case spine._c9.Multiply:_b9.src=_d9._i9;_b9._f9=_d9._g9;break;case spine._c9.Screen:_b9.src=_d9._h9;_b9._f9=_d9._j9;break;default :_b9.src=_d9._e9;_b9._f9=_d9._g9;break;}}else {switch(_99){
case spine._c9.Normal:_b9.src=_d9._h9;_b9._f9=_d9._g9;break;case spine._c9.Additive:_b9.src=_d9._h9;_b9._f9=_d9._h9;break;case spine._c9.Multiply:_b9.src=_d9._i9;_b9._f9=_d9._g9;break;case spine._c9.Screen:_b9.src=_d9._h9;_b9._f9=_d9._j9;break;default :_b9.src=_d9._e9;_b9._f9=_d9._g9;break;}}}_c7.prototype._t8=function(_p8,_v8,_w8,_x8,_y8,_z8,_A8,_B8){var _C8=[0,1,2,2,3,0];var vertices=[];var _D8=new spine._m3(1.0,1.0,1.0,1.0);var _E8=false;var _k9,_l9,_m9,_n9;var _o9;if(_X6==true){_k9=_i7._p9._q9(_d9._r9);
_l9=_i7._p9._q9(_d9._s9);_m9=_i7._p9._q9(_d9._t9);_n9=_i7._p9._q9(_d9._u9);_o9=_i7._p9._q9(_d9._v9);}var _w9=new spine._m3(0.0,0.0,0.0,0.0);var _x9=false;if(_y9!=_Y6){_Y6=_y9;_x9=true;if(_Y6!=-1){_Z6=shader_get_uniform(_Y6,"gm_SpineTintBlackColour");}}for(var i=0,_x5=_p8.slots.length;i<_x5;i++){var slot=_p8.drawOrder[i];if(!slot.attachment)continue;var _i3=(_v8*255);var _j3=(_w8*255);var _k3=(_x8*255);var _l3=(_y8*255);if((slot.skeleton!=undefined)&&(slot.skeleton._i3!=undefined)){_i3*=slot.skeleton._i3;
_j3*=slot.skeleton._j3;_k3*=slot.skeleton._k3;_l3*=slot.skeleton._l3;}if(slot.color!=undefined){_i3*=slot.color._i3;_j3*=slot.color._j3;_k3*=slot.color._k3;_l3*=slot.color._l3;}if(slot.attachment.color!=undefined){_i3*=slot.attachment.color._i3;_j3*=slot.attachment.color._j3;_k3*=slot.attachment.color._k3;_l3*=slot.attachment.color._l3;}var _q3;_q3=(_l3<<24)|(_i3<<0)|(_j3<<8)|(_k3<<16);if(_Y6!=-1){if((_Z6!=undefined)&&(_Z6!=-1)){var _z9;if((slot._A9!=undefined)&&(slot._A9!=null)){_z9=slot._A9;}else {
_z9=_w9;}var _B9=[_z9._i3*_v8,_z9._j3*_w8,_z9._k3*_x8,_y8];if((_x9)||((__6[0]!=_B9[0])||(__6[1]!=_B9[1])||(__6[2]!=_B9[2])||(__6[3]!=_B9[3]))){__6=_B9;shader_set_uniform_f_array(_Z6,__6);_x9=false;}}}var _F8=null;var uvs=null;var _G8=null;var _H8=2;var _I8=0;var _J8=0;var _K8=0;var _K7=null;if(slot.attachment instanceof spine._h8){var _Z3=slot.attachment;_Z3._N8(slot.bone,vertices,0,2);_F8=vertices;uvs=_Z3.uvs;_G8=_C8;_J8=4;_K8=6;_K7=_J3[_Z3._Z3._O8._M3.texture._O3];}else if(slot.attachment instanceof spine._j8){
var _S8=slot.attachment;_S8._N8(slot,0,_S8._T8,vertices,0,2);_F8=vertices;uvs=_S8.uvs;_G8=_S8.triangles;_J8=_S8._T8;_K8=_S8.triangles.length;_K7=_J3[_S8._Z3._O8._M3.texture._O3];}else if(slot.attachment instanceof spine._U8){if(this._g7==null){this._g7=new spine._V8();}this._g7._W8(slot,slot.attachment);continue;}if((_J8>0)&&(_K7!=null)){if(!_K7.complete)continue;if(!_K7._R7)_Q7({texture:_K7});if((this._g7!=null)&&(this._g7._M8())){this._g7._X8(vertices,_J8*2,_G8,_K8,uvs,_D8,_D8,_E8);_F8=this._g7._Y8;
uvs=this._g7._Y8;_G8=this._g7._Z8;_H8=8;_I8=6;_J8=_F8.length/_H8;_K8=_G8.length;}if(_X6==true){var _C9=slot.data._D9;var _E9=new Object();_89(_C9,this._h7,_E9);_i7._p9._F9(_d9._r9,_E9.src);_i7._p9._F9(_d9._s9,_E9._f9);_i7._p9._F9(_d9._t9,_E9.src);_i7._p9._F9(_d9._u9,_E9._f9);}var _G9=_i7._H9(_d9._I9,_K7._R7,_i7._J9,_K8);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_K8;var _N9=_G9._O9;var _P9=_G9._Q9;var _R9=_G9._S9;var _T9=index;for(var _14=0;_14<_K8;_14++,_T9+=_K9){var index=_G8[_14];var _U9=_F8[(index*_H8)+0];
var _V9=_F8[(index*_H8)+1];var _W9=_55([_U9,_V9],[_A8,_B8],_z8);_N9[_T9+0]=_W9[0];_N9[_T9+1]=_W9[1];_N9[_T9+2]=_X9;_P9[_T9+0]=_q3;_R9[_T9+0]=uvs[(index*_H8)+_I8+0];_R9[_T9+1]=uvs[(index*_H8)+_I8+1];}}if(this._g7!=null){this._g7._69(slot);}}if(this._g7!=null){this._g7._79();}if(_X6==true){_i7._p9._F9(_d9._r9,_k9);_i7._p9._F9(_d9._s9,_l9);_i7._p9._F9(_d9._t9,_m9);_i7._p9._F9(_d9._u9,_n9);_i7._p9._F9(_d9._v9,_o9);}};_c7.prototype._88=function(_Y9){draw_line(_Y9._85,_Y9._a5,_Y9._85,_Y9._b5);draw_line(_Y9._85,
_Y9._b5,_Y9._95,_Y9._b5);draw_line(_Y9._95,_Y9._b5,_Y9._95,_Y9._a5);draw_line(_Y9._95,_Y9._a5,_Y9._85,_Y9._a5);for(var _x5=0;_x5<_Y9._15.length;_x5++){var _y5=_Y9._15[_x5];var size=_y5.length/2;for(var _z5=0;_z5<size;_z5++){var _A5,_B5,_C5,_D5;_A5=_y5[(_z5*2)+0];_B5=_y5[(_z5*2)+1];if(_z5==(size-1)){_C5=_y5[0];_D5=_y5[1];}else {_C5=_y5[((_z5+1)*2)+0];_D5=_y5[((_z5+1)*2)+1];}draw_line(_A5,_B5,_C5,_D5);}}};_c7.prototype._n7=function(slot,_q3,alpha,_q8,originX,originY){var _Z3=slot.attachment,vertices=[],uvs;
var _Z9=0;var __9=0;if(slot.skeleton){_Z9=slot.skeleton.x;__9=slot.skeleton.y;}else if(slot.bone.skeleton){_Z9=slot.bone.skeleton.x;__9=slot.bone.skeleton.y;}_Z3._N8(slot.bone,vertices,0,2);uvs=_Z3.uvs;var _39=[];_39[0]={};_39[0].x=vertices[_27];_39[0].y=vertices[_37];_39[0]._04=uvs[_27];_39[0]._14=uvs[_37];_39[1]={};_39[1].x=vertices[_47];_39[1].y=vertices[_57];_39[1]._04=uvs[_47];_39[1]._14=uvs[_57];_39[2]={};_39[2].x=vertices[_67];_39[2].y=vertices[_77];_39[2]._04=uvs[_67];_39[2]._14=uvs[_77];for(var i=0;
i<3;++i){var _45=_55([_39[i].x,_39[i].y],[originX,originY],_q8);;_39[i].x=_45[0];_39[i].y=_45[1];}_59.globalAlpha=alpha;var _R8=_Z3._Z3._O8._M3;var _K7=_J3[_R8.texture._O3];if(!_K7.complete)return;if(_q3!=_P8){if(!this._d7[_Z3._Z3._O8._M3.name]){var _M3=_Z3._Z3._O8._M3;this._p7(_M3.name,_M3.width,_M3.height,_M3._O3);}_K7=_Q8(this._d7[_Z3._Z3._O8._M3.name],_q3);}var _L8=this._d7[_R8.name];this._0a(_59,_K7,_39[0].x,_39[0].y,_39[1].x,_39[1].y,_39[2].x,_39[2].y,_39[0]._04*_L8.w,_39[0]._14*_L8.h,_39[1]._04*_L8.w,
_39[1]._14*_L8.h,_39[2]._04*_L8.w,_39[2]._14*_L8.h);};_c7.prototype._o7=function(slot,_q3,alpha){var _S8=slot.attachment,vertices=[],uvs;_S8._N8(slot,0,_S8._T8,vertices,0,2);uvs=_S8.uvs;var _R8=_S8._Z3._O8._M3;var _K7=_J3[_S8._Z3._O8._M3.texture._O3];if(!_K7.complete)return;if(_q3!=_P8){if(!this._d7[_S8._Z3._O8._M3.name]){var _M3=_S8._Z3._O8._M3;this._p7(_M3.name,_M3.width,_M3.height,_S8._Z3._O8._M3._O3);}_K7=_Q8(this._d7[_S8._Z3._O8._M3.name],_q3);}for(var _x5=0;_x5<_S8.triangles.length/3;_x5++){var __8=_x5*3;
var _09=_S8.triangles[__8++]*2,_19=_S8.triangles[__8++]*2,_29=_S8.triangles[__8++]*2;var _39=[];_39[0]={};_39[0].x=vertices[_09];_39[0]._04=uvs[_09++];_39[0].y=vertices[_09];_39[0]._14=uvs[_09];_39[1]={};_39[1].x=vertices[_19];_39[1]._04=uvs[_19++];_39[1].y=vertices[_19];_39[1]._14=uvs[_19];_39[2]={};_39[2].x=vertices[_29];_39[2]._04=uvs[_29++];_39[2].y=vertices[_29];_39[2]._14=uvs[_29];var _L8=this._d7[_S8._Z3._O8._M3.name];this._49(_59,_K7,_39[0].x,_39[0].y,_39[1].x,_39[1].y,_39[2].x,_39[2].y,_39[0]._04*_L8.w,
_39[0]._14*_L8.h,_39[1]._04*_L8.w,_39[1]._14*_L8.h,_39[2]._04*_L8.w,_39[2]._14*_L8.h);}};_c7.prototype._1a=function(slot,_q3,alpha){var _S8=slot.attachment,vertices=[];var _Z9=0;var __9=0;if(slot.skeleton){_Z9=slot.skeleton.x;__9=slot.skeleton.y;}else if(slot.bone.skeleton){_Z9=slot.bone.skeleton.x;__9=slot.bone.skeleton.y;}_S8._N8(_Z9,__9,slot,vertices);var _M3=_S8._O3._M3;var _K7=_J3[_M3._O3];if(_q3!=_P8){if(!this._d7[_M3.name]){this._p7(_M3.name,_M3.width,_M3.height,_M3._O3);}_K7=_Q8(this._d7[_M3.name],
_q3);}for(var _x5=0;_x5<_S8.triangles.length/3;_x5++){var _09=_S8.triangles[(_x5*3)+0],_19=_S8.triangles[(_x5*3)+1],_29=_S8.triangles[(_x5*3)+2];var _39=[];_39[0]={};_39[0].x=vertices[(_09*2)+0];_39[0].y=vertices[(_09*2)+1];_39[0]._04=_S8.uvs[(_09*2)+0];_39[0]._14=_S8.uvs[(_09*2)+1];_39[1]={};_39[1].x=vertices[(_19*2)+0];_39[1].y=vertices[(_19*2)+1];_39[1]._04=_S8.uvs[(_19*2)+0];_39[1]._14=_S8.uvs[(_19*2)+1];_39[2]={};_39[2].x=vertices[(_29*2)+0];_39[2].y=vertices[(_29*2)+1];_39[2]._04=_S8.uvs[(_29*2)+0];
_39[2]._14=_S8.uvs[(_29*2)+1];var _L8=this._d7[_M3.name];this._49(_59,_K7,_39[0].x,_39[0].y,_39[1].x,_39[1].y,_39[2].x,_39[2].y,_39[0]._04*_L8.w,_39[0]._14*_L8.h,_39[1]._04*_L8.w,_39[1]._14*_L8.h,_39[2]._04*_L8.w,_39[2]._14*_L8.h);}};_c7.prototype._49=function(_2a,_3a,_4a,_5a,_A5,_B5,_C5,_D5,_6a,_7a,_8a,_9a,_aa,_ba){_2a.save();_2a.beginPath();_2a.moveTo(_4a,_5a);_2a.lineTo(_A5,_B5);_2a.lineTo(_C5,_D5);_2a.closePath();_2a.clip();var _ca=_6a*(_ba-_9a)-_8a*_ba+_aa*_9a+(_8a-_aa)*_7a;if(_ca==0){return;
}var _da=-(_7a*(_C5-_A5)-_9a*_C5+_ba*_A5+(_9a-_ba)*_4a)/_ca;var _ea=(_9a*_D5+_7a*(_B5-_D5)-_ba*_B5+(_ba-_9a)*_5a)/_ca;var _fa=(_6a*(_C5-_A5)-_8a*_C5+_aa*_A5+(_8a-_aa)*_4a)/_ca;var _ga=-(_8a*_D5+_6a*(_B5-_D5)-_aa*_B5+(_aa-_8a)*_5a)/_ca;var _ha=(_6a*(_ba*_A5-_9a*_C5)+_7a*(_8a*_C5-_aa*_A5)+(_aa*_9a-_8a*_ba)*_4a)/_ca;var _ia=(_6a*(_ba*_B5-_9a*_D5)+_7a*(_8a*_D5-_aa*_B5)+(_aa*_9a-_8a*_ba)*_5a)/_ca;_2a.transform(_da,_ea,_fa,_ga,_ha,_ia);_2a.drawImage(_3a,0,0);_2a.restore();};_c7.prototype._0a=function(_2a,_3a,
_4a,_5a,_A5,_B5,_C5,_D5,_6a,_7a,_8a,_9a,_aa,_ba){_2a.save();var _ja,_ka;_ja=_4a+(_C5-_A5);_ka=_5a+(_D5-_B5);_2a.beginPath();_2a.moveTo(_4a,_5a);_2a.lineTo(_A5,_B5);_2a.lineTo(_C5,_D5);_2a.lineTo(_ja,_ka);_2a.closePath();_2a.clip();var _ca=_6a*(_ba-_9a)-_8a*_ba+_aa*_9a+(_8a-_aa)*_7a;if(_ca==0){return;}var _da=-(_7a*(_C5-_A5)-_9a*_C5+_ba*_A5+(_9a-_ba)*_4a)/_ca;var _ea=(_9a*_D5+_7a*(_B5-_D5)-_ba*_B5+(_ba-_9a)*_5a)/_ca;var _fa=(_6a*(_C5-_A5)-_8a*_C5+_aa*_A5+(_8a-_aa)*_4a)/_ca;var _ga=-(_8a*_D5+_6a*(_B5-_D5)-_aa*_B5+(_aa-_8a)*_5a)/_ca;
var _ha=(_6a*(_ba*_A5-_9a*_C5)+_7a*(_8a*_C5-_aa*_A5)+(_aa*_9a-_8a*_ba)*_4a)/_ca;var _ia=(_6a*(_ba*_B5-_9a*_D5)+_7a*(_8a*_D5-_aa*_B5)+(_aa*_9a-_8a*_ba)*_5a)/_ca;_2a.transform(_da,_ea,_fa,_ga,_ha,_ia);_2a.drawImage(_3a,0,0);_2a.restore();};_c7.prototype._k7=function(slot,_q3,alpha,_q8){var _Z3=slot.attachment,vertices=[],uvs;var _Z9=0;var __9=0;if(slot.skeleton){_Z9=slot.skeleton.x;__9=slot.skeleton.y;}else if(slot.bone.skeleton){_Z9=slot.bone.skeleton.x;__9=slot.bone.skeleton.y;}_Z3._N8(slot.bone,vertices,
0,2);uvs=_Z3.uvs;var _K7=_J3[_Z3._Z3._O8.texture._O3];if(!_K7.complete)return;if(!_K7._R7)_Q7({texture:_K7});var _J8=6;var _G9=_i7._H9(_d9._I9,_K7._R7,_i7._J9,_J8);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_J8;var _N9=_G9._O9;var _P9=_G9._Q9;var _R9=_G9._S9;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;_N9[_T9+0]=_N9[_oa+0]=vertices[_27];_N9[_T9+1]=_N9[_oa+1]=vertices[_37];_N9[_la+0]=vertices[_47];_N9[_la+1]=vertices[_57];_N9[_34+0]=_N9[_ma+0]=vertices[_67];
_N9[_34+1]=_N9[_ma+1]=vertices[_77];_N9[_na+0]=vertices[_07];_N9[_na+1]=vertices[_17];_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=_P9[_na]=_P9[_oa]=_q3;_R9[_T9+0]=_R9[_oa+0]=uvs[_27];_R9[_T9+1]=_R9[_oa+1]=uvs[_37];_R9[_la+0]=uvs[_47];_R9[_la+1]=uvs[_57];_R9[_34+0]=_R9[_ma+0]=uvs[_67];_R9[_34+1]=_R9[_ma+1]=uvs[_77];_R9[_na+0]=uvs[_07];_R9[_na+1]=uvs[_17];};_c7.prototype._m7=function(slot,_q3,alpha){var _S8=slot.attachment,vertices=[],uvs;
var _Z9=0;var __9=0;if(slot.skeleton){_Z9=slot.skeleton.x;__9=slot.skeleton.y;}else if(slot.bone.skeleton){_Z9=slot.bone.skeleton.x;__9=slot.bone.skeleton.y;}_S8._N8(slot,0,_S8._T8,vertices,0,2);uvs=_S8.uvs;var _K7=_J3[_S8._Z3._O8.texture._O3];if(!_K7.complete)return;if(!_K7._R7)_Q7({texture:_K7});var _J8=_S8.triangles.length;var _G9=_i7._H9(_d9._I9,_K7._R7,_i7._J9,_J8);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_J8;var _N9=_G9._O9;var _P9=_G9._Q9;var _R9=_G9._S9;var _T9=index;for(var _x5=0;_x5<_J8;
_x5++,_T9+=_K9){var _09=_S8.triangles[_x5];_N9[_T9+0]=vertices[(_09*2)+0];_N9[_T9+1]=vertices[(_09*2)+1];_N9[_T9+2]=_X9;_P9[_T9+0]=_P9[_T9+1]=_q3;_R9[_T9+0]=uvs[(_09*2)+0];_R9[_T9+1]=uvs[(_09*2)+1];}};_c7.prototype._i8=function(slot,_u4,_v4){var _Z3=slot.attachment,vertices=[];_Z3._N8(slot.bone,vertices,0,2);var _pa,_qa,_ra,_sa;var _ta;_pa=_u4-vertices[_07];_qa=_v4-vertices[_17];_ra=vertices[_27]-vertices[_07];_sa=vertices[_37]-vertices[_17];_ta=(_pa*_sa)-(_qa*_ra);if(_ta>=0)return false;_pa=_u4-vertices[_47];
_qa=_v4-vertices[_57];_ra=vertices[_67]-vertices[_47];_sa=vertices[_77]-vertices[_57];_ta=(_pa*_sa)-(_qa*_ra);if(_ta>=0)return false;_pa=_u4-vertices[_27];_qa=_v4-vertices[_37];_ra=vertices[_47]-vertices[_27];_sa=vertices[_57]-vertices[_37];_ta=(_pa*_sa)-(_qa*_ra);if(_ta>=0)return false;_pa=_u4-vertices[_67];_qa=_v4-vertices[_77];_ra=vertices[_07]-vertices[_67];_sa=vertices[_17]-vertices[_77];_ta=(_pa*_sa)-(_qa*_ra);if(_ta>=0)return false;return true;};_c7.prototype._k8=function(slot,_u4,_v4){var _S8=slot.attachment,
vertices=[];_S8._N8(slot,0,_S8._T8,vertices,0,2);var _pa,_qa,_ra,_sa;var _ta;var _K8=_S8.triangles.length;for(var _x5=0;_x5<_K8;_x5+=3){var _09=_S8.triangles[_x5+0];var _19=_S8.triangles[_x5+1];var _29=_S8.triangles[_x5+2];var _ua=vertices[(_09*2)+0];var _va=vertices[(_09*2)+1];var _wa=vertices[(_19*2)+0];var _xa=vertices[(_19*2)+1];var _ya=vertices[(_29*2)+0];var _za=vertices[(_29*2)+1];_pa=_u4-_ua;_qa=_v4-_va;_ra=_wa-_ua;_sa=_xa-_va;_ta=(_pa*_sa)-(_qa*_ra);if(_ta>=0)continue;_pa=_u4-_wa;_qa=_v4-_xa;_ra=_ya-_wa;
_sa=_za-_xa;_ta=(_pa*_sa)-(_qa*_ra);if(_ta>=0)continue;_pa=_u4-_ya;_qa=_v4-_za;_ra=_ua-_ya;_sa=_va-_za;_ta=(_pa*_sa)-(_qa*_ra);if(_ta>=0)continue;return true;}return false;};_c7.prototype._m8=function(slot,_u4,_v4){var _Aa=slot.attachment,vertices=[];_Aa._N8(slot,0,_Aa._T8,vertices,0,2);var _pa,_qa,_ra,_sa;var _ta;var _Ba=0;for(var _x5=0;_x5<((_Aa._T8)/2)-1;_x5++){var _ua=vertices[_Ba+0];var _va=vertices[_Ba+1];_Ba+=2;var _wa=vertices[_Ba+0];var _xa=vertices[_Ba+1];_pa=_u4-_ua;_qa=_v4-_va;_ra=_wa-_ua;_sa=_xa-_va;
_ta=(_pa*_sa)-(_qa*_ra);if(_ta<=0){return false;}}var _ua=vertices[_Ba+0];var _va=vertices[_Ba+1];var _wa=vertices[0];var _xa=vertices[1];_pa=_u4-_ua;_qa=_v4-_va;_ra=_wa-_ua;_sa=_xa-_va;_ta=(_pa*_sa)-(_qa*_ra);if(_ta<=0){return false;}return true;};_c7.prototype._Ca=function(_U6){for(var _x5=0;_x5<this._72.animations.length;_x5++){ds_list_add(_U6,this._72.animations[_x5].name);}};_c7.prototype._Da=function(_U6){for(var _x5=0;_x5<this._72.skins.length;_x5++){ds_list_add(_U6,this._72.skins[_x5].name);}};_c7.prototype._Ea=function(_U6){
for(var _x5=0;_x5<this._72.bones.length;_x5++){ds_list_add(_U6,this._72.bones[_x5].name);}};_c7.prototype._Fa=function(_U6){for(var _x5=0;_x5<this._72.slots.length;_x5++){ds_list_add(_U6,this._72.slots[_x5].name);}};_c7.prototype._T6=function(_U6){for(var _x5=0;_x5<this._72.slots.length;_x5++){var _V6=this._72.slots[_x5];var map=ds_map_create();ds_map_add(map,"name",_V6.name);ds_map_add(map,"bone",_V6._W6.name);ds_map_add(map,"attachment",_V6._Ga?_V6._Ga:"(none)");ds_list_add(_U6,map);}};_c7.prototype._Ha=function(_83){
var _V6=this._72._a3(_83);if(_V6===null){return [];}var _Ia=[];for(var _d3=0;_d3<this._72.skins.length;_d3++){var skin=this._72.skins[_d3];var _Ja=[];skin._Ka(_V6.index,_Ja);for(var i=0;i<_Ja.length;++i){_Ia.push(_Ja[i].name);}}_Ia=_Ia.filter(function(value,index,_La){return _La.indexOf(value)===index;});return _Ia;};function draw_primitive_begin(kind){_Ma("draw_primitive_begin()");}function draw_primitive_begin_texture(kind,_Na){_Ma("draw_primitive_begin_texture()");}function draw_vertex(x,y){_Ma("draw_vertex()");
}function draw_vertex_color(x,y,_q3,alpha){_Ma("draw_vertex_color()");}var draw_vertex_colour=draw_vertex_color;function draw_vertex_texture(x,y,_Oa,_Pa){_Ma("draw_vertex_texture()");}function draw_vertex_texture_color(x,y,_Oa,_Pa,_q3,alpha){_Ma("draw_vertex_texture_color()");}var draw_vertex_texture_colour=draw_vertex_texture_color;function draw_primitive_end(){_Ma("draw_primitive_end()");}function _Qa(kind){_Ma("d3d_primitive_begin()");}function _Ra(kind,_Na){_Ma("d3d_primitive_begin_texture()");}function _Sa(x,
y,z){_Ma("d3d_vertex()");}function _Ta(x,y,z,_q3,alpha){_Ma("d3d_vertex_color()");}var _Ua=_Ta;function _Va(x,y,z,_Oa,_Pa){_Ma("d3d_vertex_texture()");}function _Wa(x,y,z,_Oa,_Pa,_q3,alpha){_Ma("d3d_vertex_texture_color()");}var _Xa=_Wa;function _Ya(x,y,z,_Za,__a,_0b){_Ma("d3d_vertex_normal()");}function _1b(x,y,z,_Za,__a,_0b,_q3,alpha){_Ma("d3d_vertex_normal_color()");}var _2b=_1b;function _3b(x,y,z,_Za,__a,_0b,_Oa,_Pa){_Ma("d3d_vertex_normal_texture()");}function _4b(x,y,z,_Za,__a,_0b,_Oa,_Pa,_q3,alpha){
_Ma("d3d_vertex_normal_texture_color()");}var _5b=_4b;function _6b(){_Ma("d3d_primitive_end()");}var _7b=null;var _8b=0,_9b=-1,_ab=null,_bb=null;var _cb=1,_db=2,_eb=3,_fb=4,_gb=5,_hb=6,_ib=7;function _jb(){draw_primitive_begin=_kb;draw_primitive_begin_texture=_lb;draw_vertex=_mb;draw_vertex_color=_nb;draw_vertex_colour=_nb;draw_vertex_texture=_ob;draw_vertex_texture_color=_pb;draw_vertex_texture_colour=_pb;draw_primitive_end=_qb;_Qa=_rb;_Ra=_sb;_Sa=_tb;_Ta=_ub;_Ua=_ub;_Va=_vb;_Wa=_wb;_Xa=_wb;_Ya=_xb;_1b=_yb;
_2b=_yb;_3b=_zb;_4b=_Ab;_5b=_Ab;_6b=_Bb;}function _Cb(_Db){switch(_Db){case _cb:return _d9._Eb;case _db:return _d9._Fb;case _eb:return _d9._Gb;case _fb:return _d9._I9;case _gb:return _d9._Hb;case _hb:return _d9._Ib;case _ib:return _d9._I9;}return -1;}function _Jb(){_8b=0;_9b=-1;_ab=null;_bb=null;}function _kb(_Kb){_lb(yyGetInt32(_Kb),-1);}function _lb(_Kb,_s7){_8b=yyGetInt32(_Kb);_9b=null;_ab=null;if(typeof(_s7)=="object"){_9b=_s7._Lb;_ab=_s7._Mb;}else if((_s7!=-1)&&_J3[yyGetInt32(_s7)]){_9b=_J3[yyGetInt32(_s7)];}if(_9b&&!_9b._R7){
_Q7({texture:_9b});}_bb=new _Nb(_Ob,_i7._Pb(_i7._J9),false);}function _mb(_u4,_v4){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=yyGetReal(_u4);_bb._O9[index+1]=yyGetReal(_v4);_bb._O9[index+2]=_X9;_bb._S9[index+0]=0;_bb._S9[index+1]=0;_bb._Q9[index]=((_Rb*255.0)<<24)|(_Sb&0x00ffffff);}function _nb(_u4,_v4,_Tb,_y8){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=yyGetReal(_u4);_bb._O9[index+1]=yyGetReal(_v4);_bb._O9[index+2]=_X9;_bb._S9[index+0]=0;_bb._S9[index+1]=0;
_bb._Q9[index]=((yyGetReal(_y8)*255.0)<<24)|_Ub(yyGetInt32(_Tb));}function _ob(_u4,_v4,_Vb,_Wb){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=yyGetReal(_u4);_bb._O9[index+1]=yyGetReal(_v4);_bb._O9[index+2]=_X9;var _Xb=_Yb(yyGetReal(_Vb),yyGetReal(_Wb));_bb._S9[index+0]=_Xb._04;_bb._S9[index+1]=_Xb._14;_bb._Q9[index]=((_Rb*255.0)<<24)|(_Sb&0x00ffffff);}function _pb(_u4,_v4,_Vb,_Wb,_Tb,_y8){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=yyGetReal(_u4);_bb._O9[index+1]=yyGetReal(_v4);
_bb._O9[index+2]=_X9;var _Xb=_Yb(yyGetReal(_Vb),yyGetReal(_Wb));_bb._S9[index+0]=_Xb._04;_bb._S9[index+1]=_Xb._14;_bb._Q9[index]=((yyGetReal(_y8)*255.0)<<24)|_Ub(yyGetInt32(_Tb));}function _qb(){var _Zb=_Cb(_8b);if(_Zb==-1){return;}var __b=_bb._0c.subarray(0,_bb._M9*_bb._L9());var _1c=_9b?_9b._R7:null;var _G9=_i7._H9(_Zb,_1c,_i7._J9,_bb._M9);_G9._0c.set(__b,_G9._M9*_G9._L9());_G9._M9+=_bb._M9;}function _rb(kind){_Ra(kind,-1);}function _sb(_Kb,_s7){_8b=_Kb;_9b=null;_ab=null;if(typeof(_s7)=="object"){_9b=_s7._Lb;
_ab=_s7._Mb;}else if((_s7!=-1)&&_J3[_s7]){_9b=_J3[_s7];}if(_9b&&!_9b._R7){_Q7({texture:_9b});}_bb=new _Nb(_Ob,_i7._Pb(_i7._2c),false);}function _Yb(_Vb,_Wb){if(_ab&&_9b){return({_04:(_ab.x+(_Vb*_ab.CropWidth))/_9b._3c,_14:(_ab.y+(_Wb*_ab.CropHeight))/_9b._4c});}else {return({_04:_Vb,_14:_Wb});}};function _tb(_u4,_v4,_5c){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=_u4;_bb._O9[index+1]=_v4;_bb._O9[index+2]=_5c;_bb._6c[index+0]=0;_bb._6c[index+1]=0;_bb._6c[index+2]=0;_bb._S9[index+0]=0;
_bb._S9[index+1]=0;_bb._Q9[index]=((_Rb*255.0)<<24)|(_Sb&0x00ffffff);}function _ub(_u4,_v4,_5c,_7c,_y8){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=_u4;_bb._O9[index+1]=_v4;_bb._O9[index+2]=_5c;_bb._6c[index+0]=0;_bb._6c[index+1]=0;_bb._6c[index+2]=0;_bb._S9[index+0]=0;_bb._S9[index+1]=0;_bb._Q9[index]=((_y8*255.0)<<24)|_Ub(_7c);}function _vb(_u4,_v4,_5c,_8c,_9c){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=_u4;_bb._O9[index+1]=_v4;_bb._O9[index+2]=_5c;
_bb._6c[index+0]=0;_bb._6c[index+1]=0;_bb._6c[index+2]=0;var _Xb=_Yb(_8c,_9c);_bb._S9[index+0]=_Xb._04;_bb._S9[index+1]=_Xb._14;_bb._Q9[index]=((_Rb*255.0)<<24)|(_Sb&0x00ffffff);}function _wb(_u4,_v4,_5c,_8c,_9c,_7c,_y8){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=_u4;_bb._O9[index+1]=_v4;_bb._O9[index+2]=_5c;_bb._6c[index+0]=0;_bb._6c[index+1]=0;_bb._6c[index+2]=0;var _Xb=_Yb(_8c,_9c);_bb._S9[index+0]=_Xb._04;_bb._S9[index+1]=_Xb._14;_bb._Q9[index]=((_y8*255.0)<<24)|_Ub(_7c);
}function _xb(_u4,_v4,_5c,_ac,_bc,_cc){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=_u4;_bb._O9[index+1]=_v4;_bb._O9[index+2]=_5c;_bb._6c[index+0]=_ac;_bb._6c[index+1]=_bc;_bb._6c[index+2]=_cc;_bb._S9[index+0]=0;_bb._S9[index+1]=0;_bb._Q9[index]=((_Rb*255.0)<<24)|(_Sb&0x00ffffff);}function _yb(_u4,_v4,_5c,_ac,_bc,_cc,_7c,_y8){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=_u4;_bb._O9[index+1]=_v4;_bb._O9[index+2]=_5c;_bb._6c[index+0]=_ac;_bb._6c[index+1]=_bc;
_bb._6c[index+2]=_cc;_bb._S9[index+0]=0;_bb._S9[index+1]=0;_bb._Q9[index]=((_y8*255.0)<<24)|_Ub(_7c);}function _zb(_u4,_v4,_5c,_ac,_bc,_cc,_8c,_9c){var _K9=_bb._L9()>>2;var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=_u4;_bb._O9[index+1]=_v4;_bb._O9[index+2]=_5c;_bb._6c[index+0]=_ac;_bb._6c[index+1]=_bc;_bb._6c[index+2]=_cc;var _Xb=_Yb(_8c,_9c);_bb._S9[index+0]=_Xb._04;_bb._S9[index+1]=_Xb._14;_bb._Q9[index]=((_Rb*255.0)<<24)|(_Sb&0x00ffffff);}function _Ab(_u4,_v4,_5c,_ac,_bc,_cc,_8c,_9c,_7c,_y8){var _K9=_bb._L9()>>2;
var index=_bb._M9*_K9;_bb._Qb(1);_bb._O9[index+0]=_u4;_bb._O9[index+1]=_v4;_bb._O9[index+2]=_5c;_bb._6c[index+0]=_ac;_bb._6c[index+1]=_bc;_bb._6c[index+2]=_cc;var _Xb=_Yb(_8c,_9c);_bb._S9[index+0]=_Xb._04;_bb._S9[index+1]=_Xb._14;_bb._Q9[index]=((_y8*255.0)<<24)|_Ub(_7c);}function _Bb(){var _Zb=_Cb(_8b);if(_Zb==-1){return;}var __b=_bb._0c.subarray(0,_bb._M9*_bb._L9());var _1c=_9b?_9b._R7:null;var _G9=_i7._H9(_Zb,_1c,_i7._2c,_bb._M9);_G9._0c.set(__b,_G9._M9*_G9._L9());_G9._M9+=_bb._M9;}/*@constructor */function _dc(_ec){
var _fc=null,_gc=null,_hc=null,_ic=false,_jc=null,_kc;var _lc=0,_mc=0,_nc=0,_oc=0;var _pc=this;(function(){_fc=new ArrayBuffer(_ec);_gc=new DataView(_fc);})();function _qc(_rc,_sc){var _tc=false;var _uc=_jc._vc;for(var i=0;i<_uc.length;i++){var _wc=_uc[i];if(((_rc==-1)||(_wc._xc==_rc))&&(_wc.type==_sc)){_tc=true;if((_wc._yc&_lc)===0){var _zc=(_oc+_wc.offset);_lc|=_wc._yc;if(_jc._Ac===_lc){_lc=0;_mc++;_oc+=_jc._Bc;if((_oc+_jc._Bc)>=_fc.byteLength){_pc._Cc(_fc.byteLength*2);}}return _zc;}}}if(_tc){debug("VERTEX BUILDER: element already written, must write the whole vertex first\n\n",
true);return -1;}debug("VERTEX BUILDER: Vertex format does not contain selected type.\n\n",true);return -1;};/*@this {yyVBufferBuilder} */this._Cc=function(_ec){var _Dc=new ArrayBuffer(_ec);var _Ec=new Int8Array(_fc);var _Fc=new Int8Array(_Dc);_Fc.set(_Ec);_fc=_Dc;_gc=new DataView(_fc);};/*@this {yyVBufferBuilder} */this._Gc=function(_Hc){_lc=0;_mc=0;_nc=0;_oc=0;_kc=_Hc;_jc=_i7._Pb(_Hc);if(_jc._Bc>_fc.byteLength){this._Cc(_jc._Bc*36);}};/*@this {yyVBufferBuilder} */this._Ic=function(){};this._Jc=function(){
return _kc;};this._Kc=function(){return _i7._Pb(_kc);};/*@this {yyVBufferBuilder} */this._Lc=function(x,y){var _zc=_qc(_d9._Mc,_d9._Nc);if(_zc>=0){_gc.setFloat32(_zc,x,true);_gc.setFloat32(_zc+4,y,true);}};/*@this {yyVBufferBuilder} */this._Oc=function(x,y,z){var _zc=_qc(_d9._Mc,_d9._Pc);if(_zc>=0){_gc.setFloat32(_zc,x,true);_gc.setFloat32(_zc+4,y,true);_gc.setFloat32(_zc+8,z,true);}};/*@this {yyVBufferBuilder} */this._Qc=function(_7c,_y8){var _zc=_qc(_d9._Rc,_d9._Sc);if(_zc>=0){var _Tc=((_y8*255.0)<<24)|_Ub(_7c);
_gc.setUint32(_zc,_Tc,true);}};/*@this {yyVBufferBuilder} */this._Uc=function(_Vc){var _zc=_qc(_d9._Rc,_d9._Sc);if(_zc>=0){var _q3=((_Vc&0xff)<<24)|((_Vc&0xff00)<<8)|((_Vc&0xff0000)>>8)|((_Vc&0xff000000)>>24);_gc.setUint32(_zc,_q3,true);}};/*@this {yyVBufferBuilder} */this._Wc=function(_Xc){var _zc=_qc(_d9._Rc,_d9._Sc);if(_zc>=0){var _q3=(_Xc&0xff000000)|((_Xc&0xff)<<16)|(_Xc&0xff00)|((_Xc&0xff0000)>>16);_gc.setUint32(_zc,_q3,true);}};/*@this {yyVBufferBuilder} */this._Yc=function(_04,_14){var _zc=_qc(_d9._Zc,
_d9._Nc);if(_zc>=0){_gc.setFloat32(_zc,_04,true);_gc.setFloat32(_zc+4,_14,true);}};/*@this {yyVBufferBuilder} */this.__c=function(x,y,z){var _zc=_qc(_d9._0d,_d9._Pc);if(_zc>=0){_gc.setFloat32(_zc,x,true);_gc.setFloat32(_zc+4,y,true);_gc.setFloat32(_zc+8,z,true);}};/*@this {yyVBufferBuilder} */this._1d=function(x){var _zc=_qc(-1,_d9._2d);if(_zc>=0){_gc.setFloat32(_zc,x,true);}};/*@this {yyVBufferBuilder} */this._3d=function(x,y){var _zc=_qc(-1,_d9._Nc);if(_zc>=0){_gc.setFloat32(_zc,x,true);_gc.setFloat32(_zc+4,
y,true);}};/*@this {yyVBufferBuilder} */this._4d=function(x,y,z){var _zc=_qc(-1,_d9._Pc);if(_zc>=0){_gc.setFloat32(_zc,x,true);_gc.setFloat32(_zc+4,y,true);_gc.setFloat32(_zc+8,z,true);}};/*@this {yyVBufferBuilder} */this._5d=function(x,y,z,w){var _zc=_qc(-1,_d9._6d);if(_zc>=0){_gc.setFloat32(_zc,x,true);_gc.setFloat32(_zc+4,y,true);_gc.setFloat32(_zc+8,z,true);_gc.setFloat32(_zc+12,w,true);}};/*@this {yyVBufferBuilder} */this._7d=function(x,y,z,w){var _zc=_qc(-1,_d9._8d);if(_zc>=0){_gc.setUint8(_zc,
x,true);_gc.setUint8(_zc+1,y,true);_gc.setUint8(_zc+2,z,true);_gc.setUint8(_zc+3,w,true);}};/*@this {yyVBufferBuilder} */this._9d=function(){var _ad=new _Nb(_mc,_jc,false);var _bd=_mc*_jc._Bc;var _cd=new Int8Array(_fc,0,_bd);_ad._0c.set(_cd);_ad._M9+=_mc;_ad._9d();_hc=_ad;_ic=true;_fc=null;_gc=null;};/*@this {yyVBufferBuilder} */this._dd=function(_ed,_fd){if(_ic){if(_fd==-1){_i7._gd(_ed,null,_hc,0);}else {if(_fd&&!_fd._Lb._R7){_Q7(_fd._Mb);}_i7._gd(_ed,_fd._Lb._R7,_hc,0);}}else {var _G9;if(_fd==-1){_G9=_i7._H9(_ed,
null,_kc,_mc);}else {if(_fd&&!_fd._Lb._R7){_Q7(_fd._Mb);}_G9=_i7._H9(_ed,_fd._Lb._R7,_kc,_mc);}var _hd=_G9._M9*_jc._Bc;var _cd=new Int8Array(_fc,0,_mc*_jc._Bc);_G9._0c.set(_cd,_hd);_G9._M9+=_mc;}};this._id=function(_jd){_mc=_jd;_nc=0;_oc=_jd*_jc._Bc;};this._kd=function(){return _mc;};this._ld=function(){return _fc;};}var _md=null;var _nd=[];/*@constructor */function _od(){var _pd=0,_qd=0.5;var _rd;var _sd=[];var _td=[];var _ud=[];var _vd=_pd;var _wd=_qd;Object.defineProperties(this,{_xd:{get :function(){return _vd;
},set :function(_yd){_vd=_yd;}},_zd:{get :function(){return _wd;},set :function(_yd){_wd=_yd;}}});/*@this {yyGamePad} */this._Ad=function(_Bd){_rd=_Bd.id;_td=_sd.slice();_ud=_Bd.axes.slice();var _Cd=_Bd.buttons;if(_Cd){for(var _k3 in _Cd){if(!_Cd.hasOwnProperty(_k3))continue;if(typeof(_Cd[_k3])==="object"){_sd[_k3]=_Cd[_k3].value;}else {_sd[_k3]=_Cd[_k3];}}}};/*@this {yyGamePad} */this._Dd=function(){return _rd||"";};/*@this {yyGamePad} */this._Ed=function(){if(_sd){return _sd.length;}return 0;};/*@this {yyGamePad} */this._Fd=function(_Gd){
var _Hd=_sd[_Gd];var _Id=_td[_Gd];if((_Hd!==undefined)&&(_Id!==undefined)){return((_Hd>=_wd)&&(_Id<_wd));}return false;};/*@this {yyGamePad} */this._Jd=function(_Gd){var _Hd=_sd[_Gd];var _Id=_td[_Gd];if((_Hd!==undefined)&&(_Id!==undefined)){return((_Hd<_wd)&&(_Id>=_wd));}return false;};/*@this {yyGamePad} */this._Kd=function(_Gd){var _Hd;if(typeof(_sd[_Gd])==="object"){_Hd=_sd[_Gd].value;}else {_Hd=_sd[_Gd];}if(_Hd!==undefined){return(_Hd>=_wd);}return false;};/*@this {yyGamePad} */this._Ld=function(_Gd){
var _Hd;if(typeof(_sd[_Gd])==="object"){_Hd=_sd[_Gd].value;}else {_Hd=_sd[_Gd];}return _Hd||0.0;};/*@this {yyGamePad} */this._Md=function(){if(_ud){return _ud.length;}return 0;};/*@this {yyGamePad} */this._Nd=function(_Od,_Pd){var _Qd=_ud[_Od]||0;if(_vd>0.0){var _Rd=Math.abs(_Qd);if(_Rd<_vd){_Qd=0.0;}else {var sign=(_Qd>=0)?1.0:-1.0;_Qd=((_Rd-_vd)/(_Pd-_vd))*sign;}}return _Qd;};}/*@constructor */function _Sd(){var _Td=1.0,_Ud=1.0;var _Vd=0,_Wd=1;var _Xd=0x8000,_Yd=0x8001,_Zd=0x8002,__d=0x8003,_0e=0x8004,_1e=0x8005,
_2e=0x8006,_3e=0x8007,_4e=0x8008,_5e=0x8009,_6e=0x800A,_7e=0x800B,_8e=0x800C,_9e=0x800D,_ae=0x800E,_be=0x800F,_ce=0x8010,_de=0x8011,_ee=0x8012,_fe=0x8013,_ge=0x8014;var _he=0,_ie=1,_je=2,_ke=3,_le=4,_me=5,_ne=6,_oe=7,_pe=8,_qe=9,_re=10,_se=11,_te=12,_ue=13,_ve=14,_we=15;var _xe=0,_ye=1,_ze=2,_Ae=3;function _Be(){var api=null;try{api=_Ce();}catch(err){console.log("Failed to initialize the Gamepad API: "+err);}return(api!==null);}function _Ce(){if(navigator["getGamepads"]){return navigator["getGamepads"]();
}if(navigator["webkitGetGamepads"]){return navigator["webkitGetGamepads"]();}if(navigator["webkitGamepads"]){return navigator["webkitGamepads"]();}return null;}var _De=_Be()?_Wd:_Vd;var _Ee=[];function _Fe(){var gamepads=_Ce();if(gamepads!==null){var _Ge=0;for(_Ge=0;_Ge<gamepads.length;++_Ge){var _He=gamepads[_Ge];if(!_He&&_Ee[_Ge]){_Ee[_Ge]=undefined;var _Ie=_Je._Ke(undefined,undefined,_Le,undefined);_Ie.event_type="gamepad lost";_Ie._Me=_Ge;_Ie._Ne=0;_Ie._Oe=true;}else {if(_He&&!_Ee[_Ge]){_Ee[_Ge]=new _od();
if(_nd[_Ge]!==undefined){_Ee[_Ge]._xd=_nd[_Ge];}var _Ie=_Je._Ke(undefined,undefined,_Le,undefined);_Ie.event_type="gamepad discovered";_Ie._Me=_Ge;_Ie._Ne=0;_Ie._Oe=true;}if(_Ee[_Ge]){_Ee[_Ge]._Ad(_He);}}}}}function _Pe(_Gd){if(_Gd<_Xd){return _Gd;}switch(_Gd){case _Yd:return _he;case _Zd:return _ie;case __d:return _je;case _0e:return _ke;case _1e:return _le;case _2e:return _me;case _3e:return _ne;case _4e:return _oe;case _5e:return _pe;case _6e:return _qe;case _7e:return _re;case _8e:return _se;case _9e:return _te;case _ae:return _ue;
case _be:return _ve;case _ce:return _we;}return 0;}function _Qe(_Od){if(_Od<_Xd){return _Od;}switch(_Od){case _de:return _xe;case _ee:return _ye;case _fe:return _ze;case _ge:return _Ae;}return 0;}function _Sd(){}/*@this {yyGamepadManager} */this._Re=function(){return _Ee.length;};/*@this {yyGamepadManager} */this._Se=function(_Te){var _Ue=_Ee[_Te];if(_Ue){return _Ue._Dd();}return "";};/*@this {yyGamepadManager} */this._Ve=function(){return(_De!==_Vd);};/*@this {yyGamepadManager} */this._zd=function(_Te){var _Ue=_Ee[_Te];
if(_Ue){return _Ue._zd;}return 0.0;};/*@this {yyGamepadManager} */this._We=function(_Te,_Xe){var _Ue=_Ee[_Te];if(_Ue){if((_Xe>=0.0)&&(_Xe<=_Td)){_Ue._zd=_Xe;}}};/*@this {yyGamepadManager} */this._xd=function(_Te){var _Ue=_Ee[_Te];if(_Ue){return _Ue._xd;}else if(_nd[_Te]!==undefined){return _nd[_Te];}return 0.0;};/*@this {yyGamepadManager} */this._Ye=function(_Te,_Ze){_nd[_Te]=_Ze;var _Ue=_Ee[_Te];if(_Ue){if((_Ze>=0.0)&&(_Ze<=_Ud)){_Ue._xd=_Ze;}}};/*@this {yyGamepadManager} */this.__e=function(){_Ee=[];};
/*@this {yyGamepadManager} */this._0f=function(){switch(_De){case _Wd:_Fe();break;case _Vd:default :return;}};/*@this {yyGamepadManager} */this._1f=function(_Te){if(_Ee[_Te]!==null&&_Ee[_Te]!==undefined){return true;}return false;};/*@this {yyGamepadManager} */this._Ed=function(_Te){var _Ue=_Ee[_Te];if(_Ue){return _Ue._Ed();}return 0;};/*@this {yyGamepadManager} */this._Md=function(_Te){var _Ue=_Ee[_Te];if(_Ue){return _Ue._Md();}return 0;};/*@this {yyGamepadManager} */this._Kd=function(_Te,_Gd){var _Ue=_Ee[_Te];
if(_Ue){return _Ue._Kd(_Pe(_Gd),_Ue._zd);}return false;};/*@this {yyGamepadManager} */this._Fd=function(_Te,_Gd){var _Ue=_Ee[_Te];if(_Ue){return _Ue._Fd(_Pe(_Gd),_Ue._zd);}return false;};/*@this {yyGamepadManager} */this._Jd=function(_Te,_Gd){var _Ue=_Ee[_Te];if(_Ue){return _Ue._Jd(_Pe(_Gd),_Ue._zd);}return false;};/*@this {yyGamepadManager} */this._Ld=function(_Te,_Gd){var _Ue=_Ee[_Te];if(_Ue){return _Ue._Ld(_Pe(_Gd));}return 0;};/*@this {yyGamepadManager} */this._Nd=function(_Te,_Od){var _Ue=_Ee[_Te];if(_Ue){
return _Ue._Nd(_Qe(_Od),_Ud);}return 0;};};var _2f=[];var _3f="None";var _4f=0;var _5f=0;/*@constructor */function _6f(){this.x=0;this.y=0;this._Kd=0;this._Fd=0;this._Jd=0;this._7f=0;};_6f.prototype.__e=function(){this._Kd=0;this._Fd=0;this._Jd=0;this._7f=0;};_6f.prototype._8f=function(_u4,_v4){if(_x2){var _9f;if(!_x2._af){_9f=_bf;}else {_9f=_x2._cf;}for(var _14=0;_14<_9f.length;_14++){var _df=_9f[_14];if(_df.visible){_ef(canvas,_ff);if(((_u4-_ff.left)>=_df._gf)&&((_u4-_ff.left)<_df._hf)&&((_v4-_ff.top)>=_df._if)&&((_v4-_ff.top)<_df._jf)){
this.x=_df._kf(_u4,_v4);this.y=_df._lf(_u4,_v4);return;}}}}this.x=_u4;this.y=_v4;};/*@constructor */function _mf(_nf,_u4,_v4){this.id=_nf;this.x=_u4;this.y=_v4;}function _of(_pf){for(var i=0;i<_2f.length;i++){if(_2f[i]===_pf){return i;}}return -1;}function _qf(_pf){var _rf=-1;for(var i=0;i<_2f.length;i++){if((_2f[i]===_pf)||(_2f[i]===-1)){_rf=i;break;}}if(_rf==-1){_rf=_2f.length;}_2f[_rf]=_pf;_sf[_rf]=new _6f();return _rf;}function _tf(event){for(var _uf=0;_uf<event.changedTouches.length;_uf++){var _vf=event.changedTouches[_uf];
var type="";var _rf=-1;_3f=event.type;switch(event.type){case "touchstart":_rf=_qf(_vf["identifier"]);break;case "touchend":_rf=_of(_vf["identifier"]);_2f[_rf]=-1;break;case "touchcancel":_rf=_of(_vf["identifier"]);_2f[_rf]=-1;break;case "touchmove":_rf=_of(_vf["identifier"]);break;default :return;}var _wf;var _xf;_wf=_vf.clientX;_xf=_vf.clientY;if(_rf==0){if(_yf!=null){_zf=_wf;_Af=_xf;}switch(event.type){case "touchstart":_Bf=1;break;case "touchmove":_Bf=1;break;case "touchcancel":case "touchend":_Bf=0;break;
}}_sf[_rf]._8f(_wf,_xf);_Cf[_rf].x=_wf;_Cf[_rf].y=_xf;switch(event.type){case "touchstart":_sf[_rf]._Kd=1;_Cf[_rf]._Df=_Ef|_Ff|_Gf;break;case "touchcancel":case "touchend":_sf[_rf]._Kd=0;_Cf[_rf]._Df=0;break;case "touchmove":default :break;}event.preventDefault();}}function _Hf(e){var _If=(window["wallpaperMediaIntegration"]||window["wallpaperRegisterAudioListener"]);var _rf=-1;var type="";var button=0;var buttons=0;switch(e.type){case 'mousemove':_rf=0;button=e.button;buttons=e.buttons;break;case 'touchstart':case 'touchmove':case 'touchend':_tf(e);
break;case 'pointerdown':case 'MSPointerDown':_rf=_qf(e["pointerId"]);type="start";button=e.button;buttons=e.buttons;break;case 'pointermove':case 'MSPointerMove':case 'pointerover':_rf=_of(e["pointerId"]);if(_If&&(_rf==-1)){_Hf({"type":'pointerdown',"pointerId":e["pointerId"],"button":1,"buttons":1,"clientX":e.clientX,"clientY":e.clientY,"preventDefault":function(){}});_rf=_of(e["pointerId"]);}button=e.button;buttons=e.buttons;type="move";break;case 'pointerup':case 'MSPointerUp':case 'pointercancel':case 'MSPointerCancel':case 'pointerout':case 'MSPointerOut':_rf=_of(e["pointerId"]);
if(_If&&(_rf==-1)){_Hf({"type":'pointerdown',"pointerId":e["pointerId"],"button":1,"buttons":1,"clientX":e.clientX,"clientY":e.clientY,"preventDefault":function(){}});_rf=_of(e["pointerId"]);}type="end";button=e.button;buttons=e.buttons;_2f[_rf]=-1;break;}if(_rf>=0){var _wf=e.clientX;var _xf=e.clientY;if(_rf==0){if(_yf!=null){_zf=_wf;_Af=_xf;}switch(type){case "start":case "move":{_Jf=0;if(e.pointerType=="mouse"){_Jf=button;}if(button!=-1){if(_Jf==2)_Jf=1;else if(_Jf==1)_Jf=2;_Kf=_Jf;_Lf=_Jf;_Bf=buttons;
}}break;case "end":_Bf=0;break;}}_sf[_rf]._8f(_wf,_xf);_Cf[_rf].x=_wf;_Cf[_rf].y=_xf;switch(type){case "start":_sf[_rf]._Kd=1;_Cf[_rf]._Df=_Ef|_Ff|_Gf;break;case "end":_sf[_rf]._Kd=0;_Cf[_rf]._Df=0;break;case "move":default :break;}}e.preventDefault();}function _Mf(){if((window.PointerEvent)||(window.navigator.pointerEnabled)||(window.navigator.msPointerEnabled)){canvas.addEventListener("pointerdown",_Hf,false);canvas.addEventListener("pointermove",_Hf,false);canvas.addEventListener("pointerup",_Hf,false);
canvas.addEventListener("pointercancel",_Hf,false);canvas.addEventListener("pointerover",_Hf,false);canvas.addEventListener("pointerout",_Hf,false);canvas.addEventListener("MSPointerDown",_Hf,false);canvas.addEventListener("MSPointerMove",_Hf,false);canvas.addEventListener("MSPointerUp",_Hf,false);canvas.addEventListener("MSPointerCancel",_Hf,false);canvas.addEventListener("MSPointerOver",_Hf,false);canvas.addEventListener("MSPointerOut",_Hf,false);}else {canvas.ontouchstart=_tf;canvas.ontouchmove=_tf;
canvas.ontouchend=_tf;canvas.ontouchcancel=_tf;}canvas.style.touchAction="none";}/** fingerprintJS 0.5.4 - Fast browser fingerprint library
* https://github.com/Valve/fingerprintjs
* Copyright (c) 2013 Valentin Vasilyev (valentin.vasilyev@outlook.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/;
(function(name,context,_Nf){if(typeof module!=='undefined'&&module._Of){module._Of=_Nf();}else if(typeof define==='function'&&define._Pf){define(_Nf);}else {context[name]=_Nf();}})('Fingerprint',this,function(){'use strict';var Fingerprint=function(options){var _Qf,_Rf;_Qf=Array.prototype.forEach;_Rf=Array.prototype.map;this._Sf=function(_Tf,_Uf,context){if(_Tf===null){return;}if(_Qf&&_Tf.forEach===_Qf){_Tf.forEach(_Uf,context);}else if(_Tf.length===+_Tf.length){for(var i=0,_K5=_Tf.length;i<_K5;i++){if(_Uf.call(context,
_Tf[i],i,_Tf)==={})return;}}else {for(var key in _Tf){if(_Tf.hasOwnProperty(key)){if(_Uf.call(context,_Tf[key],key,_Tf)==={})return;}}}};this.map=function(_Tf,_Uf,context){var _Vf=[];if(_Tf==null)return _Vf;if(_Rf&&_Tf.map===_Rf)return _Tf.map(_Uf,context);this._Sf(_Tf,function(value,index,_Wf){_Vf[_Vf.length]=_Uf.call(context,value,index,_Wf);});return _Vf;};if(typeof options=='object'){this._Xf=options._Xf;this._Yf=options._Yf;this._Zf=options._Zf;this.canvas=options.canvas;this.__f=options.__f;}else if(typeof options=='function'){
this._Xf=options;}};Fingerprint.prototype={get :function(){var keys=[];keys.push(navigator.userAgent);keys.push(navigator.language);keys.push(screen.colorDepth);if(this._Yf){var resolution=this._0g();if(typeof resolution!=='undefined'){keys.push(resolution.join('x'));}}keys.push(new Date().getTimezoneOffset());keys.push(this.hasSessionStorage());keys.push(this.hasLocalStorage());keys.push(!!window.indexedDB);if(document.body){keys.push(typeof(document.body.addBehavior));}else {keys.push(typeof undefined);
}keys.push(typeof(window.openDatabase));keys.push(navigator.cpuClass);keys.push(navigator.platform);keys.push(navigator.doNotTrack);keys.push(this._1g());if(this.canvas&&this._2g()){keys.push(this._3g());}if(this._Xf){return this._Xf(keys.join('###'),31);}else {return this._4g(keys.join('###'),31);}},/*
     * JS Implementation of MurmurHash3 (r136) (as of May 20, 2011)
     *
     * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
     * @see http://github.com/garycourt/murmurhash-js
     * @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
     * @see http://sites.google.com/site/murmurhash/
     *
     * @param {string} key ASCII only
     * @param {number} seed Positive integer only
     * @return {number} 32-bit positive integer hash
     */_4g:function(key,
_5g){var _6g,_7g,_8g,_9g,_ag,_bg,_cg,i;_6g=key.length&3;_7g=key.length-_6g;_8g=_5g;_ag=0xcc9e2d51;_bg=0x1b873593;i=0;while(i<_7g){_cg=((key.charCodeAt(i)&0xff))|((key.charCodeAt(++i)&0xff)<<8)|((key.charCodeAt(++i)&0xff)<<16)|((key.charCodeAt(++i)&0xff)<<24);++i;_cg=((((_cg&0xffff)*_ag)+((((_cg>>>16)*_ag)&0xffff)<<16)))&0xffffffff;_cg=(_cg<<15)|(_cg>>>17);_cg=((((_cg&0xffff)*_bg)+((((_cg>>>16)*_bg)&0xffff)<<16)))&0xffffffff;_8g^=_cg;_8g=(_8g<<13)|(_8g>>>19);_9g=((((_8g&0xffff)*5)+((((_8g>>>16)*5)&0xffff)<<16)))&0xffffffff;
_8g=(((_9g&0xffff)+0x6b64)+((((_9g>>>16)+0xe654)&0xffff)<<16));}_cg=0;switch(_6g){case 3:_cg^=(key.charCodeAt(i+2)&0xff)<<16;case 2:_cg^=(key.charCodeAt(i+1)&0xff)<<8;case 1:_cg^=(key.charCodeAt(i)&0xff);_cg=(((_cg&0xffff)*_ag)+((((_cg>>>16)*_ag)&0xffff)<<16))&0xffffffff;_cg=(_cg<<15)|(_cg>>>17);_cg=(((_cg&0xffff)*_bg)+((((_cg>>>16)*_bg)&0xffff)<<16))&0xffffffff;_8g^=_cg;}_8g^=key.length;_8g^=_8g>>>16;_8g=(((_8g&0xffff)*0x85ebca6b)+((((_8g>>>16)*0x85ebca6b)&0xffff)<<16))&0xffffffff;_8g^=_8g>>>13;_8g=((((_8g&0xffff)*0xc2b2ae35)+((((_8g>>>16)*0xc2b2ae35)&0xffff)<<16)))&0xffffffff;
_8g^=_8g>>>16;return _8g>>>0;},hasLocalStorage:function(){try{return !!window.localStorage;}catch(e){return true;}},hasSessionStorage:function(){try{return !!window._dg;}catch(e){return true;}},_2g:function(){var _eg=document.createElement('canvas');return !!(_eg.getContext&&_eg.getContext('2d'));},_fg:function(){if(navigator._gg==='Microsoft Internet Explorer'){return true;}else if(navigator._gg==='Netscape'&&new RegExp('Trident').test(navigator.userAgent)){return true;}return false;},_1g:function(){if(this._fg()&&this.__f){
return this._hg();}else {return this._ig();}},_ig:function(){return this.map(navigator._jg,function(_kg){var _lg=this.map(_kg,function(_mg){return [_mg.type,_mg._ng].join('~');}).join(',');return [_kg.name,_kg.description,_lg].join('::');},this).join(';');},_hg:function(){if(window.ActiveXObject){var _og=['ShockwaveFlash.ShockwaveFlash','AcroPDF.PDF','PDF.PdfCtrl','QuickTime.QuickTime','rmocx.RealPlayer G2 Control','rmocx.RealPlayer G2 Control.1','RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)','RealVideo.RealVideo(tm) ActiveX Control (32-bit)',
'RealPlayer','SWCtl.SWCtl','WMPlayer.OCX','AgControl.AgControl','Skype.Detection'];return this.map(_og,function(name){try{new ActiveXObject(name);return name;}catch(e){return null;}}).join(';');}else {return "";}},_0g:function(){var resolution;if(this._Zf){resolution=(screen.height>screen.width)?[screen.height,screen.width]:[screen.width,screen.height];}else {resolution=[screen.height,screen.width];}return resolution;},_3g:function(){var canvas=document.createElement('canvas');var _2a=canvas.getContext('2d');
var _pg='http://valve.github.io';_2a.textBaseline="top";_2a.font="14px 'Arial'";_2a.textBaseline="alphabetic";_2a.fillStyle="#f60";_2a.fillRect(125,1,62,20);_2a.fillStyle="#069";_2a.fillText(_pg,2,15);_2a.fillStyle="rgba(102, 204, 0, 0.7)";_2a.fillText(_pg,4,17);return canvas.toDataURL();}};return Fingerprint;});_qg:(function(window){if(!Object.defineProperty){throw("Font.js requires Object.defineProperty, which this browser does not support.");}if(!document.createElement("canvas").getContext){throw("Font.js requires <canvas> and the Canvas2D API, which this browser does not support.");
}(function(window){try{var _l3=new Uint8Array(1);return;}catch(e){}function subarray(start,end){return this.slice(start,end);}function _rg(_La,offset){var i,_x5=_La.length;if(arguments.length<2){offset=0;}for(i=0;i<_x5;++i,++offset){this[offset]=_La[i]&0xFF;}}function _sg(_tg){var result,i;if(typeof _tg==="number"){result=new Array(_tg);for(i=0;i<_tg;++i){result[i]=0;}}else {result=_tg.slice(0);}result.subarray=subarray;result.buffer=result;result.byteLength=result.length;result.set =_rg;if(typeof _tg==="object"&&_tg.buffer){
result.buffer=_tg.buffer;}return result;}window.Uint8Array=_sg;window.Uint32Array=_sg;window.Int32Array=_sg;}(window));(function(window){if(window.opera)return;if("response" in XMLHttpRequest.prototype||"mozResponseArrayBuffer" in XMLHttpRequest.prototype||"mozResponse" in XMLHttpRequest.prototype||"responseArrayBuffer" in XMLHttpRequest.prototype){return;}var getter;if(window.VBArray){getter=function(){return new Uint8Array(new window.VBArray(this.responseBody)._ug());};}else {getter=function(){return this.responseBody;
};}Object.defineProperty(XMLHttpRequest.prototype,"response",{get:getter});}(window));if(!window.btoa){window.btoa=function(data){var _vg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _wg,_xg,_yg,_8g,_zg,_Ag,_Bg,_Cg,i=0,_Dg=0,_Eg="",_Fg=[];if(!data){return data;}do {_wg=data.charCodeAt(i++);_xg=data.charCodeAt(i++);_yg=data.charCodeAt(i++);_Cg=_wg<<16|_xg<<8|_yg;_8g=_Cg>>18&0x3f;_zg=_Cg>>12&0x3f;_Ag=_Cg>>6&0x3f;_Bg=_Cg&0x3f;_Fg[_Dg++]=_vg.charAt(_8g)+_vg.charAt(_zg)+_vg.charAt(_Ag)+_vg.charAt(_Bg);
}while(i<data.length);_Eg=_Fg.join('');var _i3=data.length%3;return(_i3?_Eg.slice(0,_i3-3):_Eg)+'==='.slice(_i3||3);};}function Font(){this._Gg="fjs"+(999999*Math.random()|0);}Font.prototype._Hg="";Font.prototype._Ig="";Font.prototype.data="";Font.prototype._Jg="AAEAAAAKAIAAAwAgT1MvMgAAAAAAAACsAAAAWGNtYXAA"+"AAAAAAABBAAAACxnbHlmAAAAAAAAATAAAAAQaGVhZAAAA"+"AAAAAFAAAAAOGhoZWEAAAAAAAABeAAAACRobXR4AAAAAA"+"AAAZwAAAAIbG9jYQAAAAAAAAGkAAAACG1heHAAAAAAAAA"+"BrAAAACBuYW1lAAAAAAAAAcwAAAAgcG9zdAAAAAAAAAHs"+"AAAAEAAEAAEAZAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"+"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"+"AAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAABAAMAAQA"+"AAAwABAAgAAAABAAEAAEAAABB//8AAABB////wAABAAAA"+"AAABAAAAAAAAAAAAAAAAMQAAAQAAAAAAAAAAAABfDzz1A"+"AAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAEAAg"+"AAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAA"+"AAAAAAAAAAQAAAAAAAAAAAAAAAAAIAAAAAQAAAAIAAQAB"+"AAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAHgADAAEEC"+"QABAAAAAAADAAEECQACAAIAAAAAAAEAAAAAAAAAAAAAAA"+"AAAA==";
Font.prototype._Kg={_Lg:0,_Mg:0,_Ng:0,_Og:0,_Pg:400};Font.prototype._Qg=false;Font.prototype._Rg=false;Font.prototype.onload=function(){};Font.prototype.onerror=function(){};Font.prototype.canvas=false;Font.prototype.context=false;Font.prototype.validate=function(target,_Sg,_Tg,font,_Ug){if(_Ug!==false&&_Ug<0){this.onerror("Requested system font '"+this._Gg+"' could not be loaded (it may not be installed).");return;}var _Vg=document.defaultView.getComputedStyle(target,'');var width=_Vg.getPropertyValue("width").replace("px",
'');if(width>0){document.head.removeChild(_Sg);document.body.removeChild(target);this._Rg=true;this.onload();}else {setTimeout(function(){font.validate(target,_Sg,_Tg,font,_Ug===false?false:_Ug-50);},50);}};Font.prototype._Wg=function(){var instance=this;var chr=function(_yd){return String.fromCharCode(_yd);};var _Xg=function(_yd){if(_yd<256){return chr(0)+chr(_yd);}var _Yg=_yd>>8;var _Zg=_yd&0xFF;return chr(_Yg)+chr(_Zg);};var __g=function(_yd){if(_yd<0){_yd=0xFFFFFFFF+_yd+1;}return parseInt(_yd,10).toString(16);
};var _0h=function(_Yg,_Zg){return 256*_Yg+_Zg;};var _1h=function(_Yg,_Zg){var _2h=_Yg>>7===1,_yd;_Yg=_Yg&0x7F;_yd=256*_Yg+_Zg;if(!_2h){return _yd;}return _yd-0x8000;};var _3h=function(_Yg,_Zg,_4h,_5h){return 16777216*_Yg+65536*_Zg+256*_4h+_5h;};var error=function(_6h){instance.onerror(_6h);};var _7h=chr(0)+chr(1)+chr(0)+chr(0);var _8h="OTTO";var data=this.data;var version=chr(data[0])+chr(data[1])+chr(data[2])+chr(data[3]);var _9h=(version===_7h);var _ah=(_9h?false:version===_8h);if(_9h){this._Ig="truetype";}
else if(_ah){this._Ig="opentype";}else {error("Error: file at "+this._Hg+" cannot be interpreted as OpenType font.");return;}var _bh=_0h(data[4],data[5]),_ch=12,ptr,end=_ch+16*_bh,tags={},_dh;for(ptr=_ch;ptr<end;ptr+=16){_dh=chr(data[ptr])+chr(data[ptr+1])+chr(data[ptr+2])+chr(data[ptr+3]);tags[_dh]={name:_dh,_eh:_3h(data[ptr+4],data[ptr+5],data[ptr+6],data[ptr+7]),offset:_3h(data[ptr+8],data[ptr+9],data[ptr+10],data[ptr+11]),length:_3h(data[ptr+12],data[ptr+13],data[ptr+14],data[ptr+15])};}var _fh=function(_dh){
if(!tags[_dh]){error("Error: font is missing the required OpenType '"+_dh+"' table.");return false;}return _dh;};_dh=_fh("head");if(_dh===false){return;}ptr=tags[_dh].offset;tags[_dh].version=""+data[ptr]+data[ptr+1]+data[ptr+2]+data[ptr+3];var _gh=_0h(data[ptr+18],data[ptr+19]);this._Kg._Lg=_gh;_dh=_fh("hhea");if(_dh===false){return;}ptr=tags[_dh].offset;tags[_dh].version=""+data[ptr]+data[ptr+1]+data[ptr+2]+data[ptr+3];this._Kg._Ng=_1h(data[ptr+4],data[ptr+5])/_gh;this._Kg._Og=_1h(data[ptr+6],data[ptr+7])/_gh;
this._Kg._Mg=_1h(data[ptr+8],data[ptr+9])/_gh;_dh=_fh("OS/2");if(_dh===false){return;}ptr=tags[_dh].offset;tags[_dh].version=""+data[ptr]+data[ptr+1];this._Kg._Pg=_0h(data[ptr+4],data[ptr+5]);_dh=_fh("cmap");if(_dh===false){return;}ptr=tags[_dh].offset;tags[_dh].version=""+data[ptr]+data[ptr+1];_bh=_0h(data[ptr+2],data[ptr+3]);var _hh,_ih,_jh,_kh,offset,_lh=false;for(_hh=0;_hh<_bh;_hh++){_ih=ptr+4+_hh*8;_jh=_0h(data[_ih],data[_ih+1]);_kh=_0h(data[_ih+2],data[_ih+3]);offset=_3h(data[_ih+4],data[_ih+5],
data[_ih+6],data[_ih+7]);if(_jh===3&&_kh===1){_lh=offset;}}var _mh="A";this._nh=[];if(_lh!==false){ptr+=_lh;version=_0h(data[ptr],data[ptr+1]);if(version===4){var _oh=_0h(data[ptr+6],data[ptr+7])/2;var _ph=function(chr){return [0x0009,0x000A,0x000B,0x000C,0x000D,0x0020,0x0085,0x00A0,0x1680,0x180E,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200A,0x2028,0x2029,0x202F,0x205F,0x3000].indexOf(chr)===-1;};var i=ptr+14,e=ptr+14+2*_oh,_qh=false;for(;i<e;i+=2){_qh=_0h(data[i],data[i+1]);
if(_ph(_qh)){break;}_qh=false;}var _rh=e+2;for(;i<e;i+=2,_rh+=2){var _sh=_0h(data[i],data[i+1]);var _th=_0h(data[_rh],data[_rh+1]);if(_sh!=0xffff){for(var _x5=_th;_x5<=_sh;++_x5){this._nh.push(_x5);}}}if(_qh!==false){_mh=String.fromCharCode(_qh);var _uh=-(_qh-1)+65536;var _vh=btoa(chr(0)+_Xg(_qh)+_Xg(0xFFFF)+_Xg(0)+_Xg(_qh)+_Xg(0xFFFF)+_Xg(_uh)+_Xg(1));this._Jg=this._Jg.substring(0,380)+_vh+this._Jg.substring(380+_vh.length);}}}this._wh(_mh,false);};Font.prototype._wh=function(_mh,_Ug){var _xh=this._Gg+" testfont";
var _yh=document.createElement("style");_yh.setAttribute("type","text/css");_yh.innerHTML="@font-face {\n"+"  font-family: '"+_xh+"';\n"+"  src: url('data:application/x-font-ttf;base64,"+this._Jg+"')\n"+"       format('truetype');}";document.head.appendChild(_yh);var _zh=false;if(!this._Qg){_zh=this._Ah();document.head.appendChild(_zh);}var _Bh=document.createElement("p");_Bh.style.cssText="position: absolute; top: 0; left: 0; opacity: 0;";_Bh.style._Gg="'"+this._Gg+"', '"+_xh+"'";_Bh.innerHTML=_mh+_mh+_mh+_mh+_mh+_mh+_mh+_mh+_mh+_mh;
document.body.appendChild(_Bh);if(!document.defaultView.getComputedStyle){this.onload();_Ch("Error: document.defaultView.getComputedStyle is not supported by this browser.\n"+"Consequently, Font.onload() cannot be trusted.");}else {var _Dh=this._Qg?1000:this._Kg._Lg;var canvas=document.createElement("canvas");canvas.width=_Dh;canvas.height=_Dh;this.canvas=canvas;var context=canvas.getContext("2d");context.font="1em '"+this._Gg+"'";context.fillStyle="white";context.fillRect(-1,-1,_Dh+2,_Dh+2);context.fillStyle="black";
context.fillText("test text",50,_Dh/2);this.context=context;var _Eh=this;var _Fh=function(){_Eh.validate(_Bh,_yh,_zh,_Eh,_Ug);};setTimeout(_Fh,50);}};Font.prototype._Gh=function(){this._Qg=true;this._Kg=false;this._wh("A",1000);};Font.prototype._Hh=function(){var font=this;if(this._Hg.indexOf(".")===-1){setTimeout(function(){font._Gh();},10);return;}var _Ih=new XMLHttpRequest();_Ih.open('GET',font._Hg,true);_Ih.responseType="arraybuffer";_Ih.onload=function(_Jh){var _Kh=_Ih.response;if(_Kh){font.data=new Uint8Array(_Kh);
font._Wg();}else {font.onerror("Error downloading font resource from "+font._Hg);}};_Ih.send(null);};Font.prototype._Lh=false;Font.prototype._Ah=function(){if(this._Lh){return this._Lh;}this._Lh=document.createElement("style");this._Lh.type="text/css";var _Mh="@font-face {\n";_Mh+="  font-family: '"+this._Gg+"';\n";_Mh+="  src: url('"+this._Hg+"') format('"+this._Ig+"');\n";_Mh+="}";this._Lh.innerHTML=_Mh;return this._Lh;};Font.prototype.measureText=function(_Nh,_Oh){if(!this._Rg){console.log("Error:measureText() was called while the font was not yet loaded");
return false;}this.context.font=_Oh+"px '"+this._Gg+"'";var _Kg=this.context.measureText(_Nh);_Kg.fontsize=_Oh;_Kg._Ng=0;_Kg._Og=0;_Kg._Ph={_Qh:0,_Rh:_Kg.width,_Sh:0,_Th:0};_Kg.height=0;var _Uh=[],_Vh=_Kg.width/this._Kg._Lg;if(_Vh<=1){_Uh.push(_Nh);}else {_Uh.push(_Nh);}var _Wh=_Uh.length,i;for(i=0;i<_Wh;i++){this._Xh(_Uh[i],_Oh,_Kg);}return _Kg;};Font.prototype._Xh=function(_Yh,_Oh,_Kg){var _Zh=function(_wc,__h){return document.defaultView.getComputedStyle(_wc,null).getPropertyValue(__h);};var i,_35,_0i,
_1i,_2i;var _3i=document.createElement("div");_3i.style.position="absolute";_3i.style.opacity=0;_3i.style.font=_Oh+"px '"+this._Gg+"'";var _4i=10;_3i.innerHTML=_Yh;for(i=1;i<_4i;i++){_3i.innerHTML+="<br/>"+_Yh;}document.body.appendChild(_3i);_Kg._Mg=1.2*_Oh;var _5i=_Zh(_3i,"height");_5i=_5i.replace("px","");if(_5i>=_Oh*_4i){_Kg._Mg=(_5i/_4i)|0;}document.body.removeChild(_3i);if(new RegExp('^\s*$').test(_Yh)){return _Kg;}var canvas=this.canvas,_2a=this.context,_Dh=this._Qg?1000:this._Kg._Lg,w=_Dh,h=_Dh,
_6i=_Dh/2,padding=50,_7i=(_Dh-_Kg.width)/2;if(_7i!==(_7i|0)){_7i=_7i|0;}_2a.fillStyle="white";_2a.fillRect(-padding,-padding,w+2*padding,h+2*padding);_2a.fillStyle="black";_2a.fillText(_Yh,_7i,_6i);var _8i=(_Kg.width+padding)|0,_9i=4*_Oh,_ai=_7i-padding/2,_bi=_6i-_9i/2,_ci=_2a.getImageData(_ai,_bi,_8i,_9i).data;i=0;_35=0;_0i=_8i*4;_1i=_ci.length;_2i=_9i/2;while(++i<_1i&&_ci[i]===255){}var _Ng=(i/_0i)|0;i=_1i-1;while(--i>0&&_ci[i]===255){}var _Og=(i/_0i)|0;for(i=0,_35=0;_35<_8i&&_ci[i]===255;){i+=_0i;
if(i>=_1i){_35++;i=(i-_1i)+4;}}var _Qh=_35;var step=1;for(i=_1i-3,_35=0;_35<_8i&&_ci[i]===255;){i-=_0i;if(i<0){_35++;i=(_1i-3)-(step++)*4;}}var _Rh=_8i-_35;_Kg._Ng=(_2i-_Ng);_Kg._Og=(_Og-_2i);_Kg._Ph={_Qh:_Qh-(padding/2),_Rh:_Rh-(padding/2),_Sh:-_Kg._Og,_Th:_Kg._Ng};_Kg.height=1+(_Og-_Ng);return _Kg;};Object.defineProperty(Font.prototype,"src",{set:function(_Hg){this._Hg=_Hg;this._Hh();}});window.Font=Font;}(window));_qg:var _di,_ei,_fi,_gi,_hi,_ii,_ji;function ds_set_precision(_ki){_li=yyGetReal(_ki);
}/*@constructor */function _mi(){this.width=0;this.height=0;this.body=[];}/*@constructor */function _ni(_oi,_pi){this._qi=[];this._3c=_oi;this._4c=_pi;var _N5=_oi*_pi;for(var i=0;i<_N5;i++){this._qi[i]=0;}}_ni.prototype._ri=function(_si){this._3c=_si._3c;this._4c=_si._4c;this._qi=_si._qi.slice();};function ds_grid_create(_oi,_pi){_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);if(_oi<0||_pi<0){_L3("Error: Invalid ds_grid size: ("+_oi+","+_pi+")");}var _ti=new _ni(_oi,_pi);var id=_ui._Ke(_ti);return id;}function ds_grid_destroy(_nf){
_ui._vi(yyGetInt32(_nf));}function ds_grid_copy(_nf,_wi){var _xi=_ui._I4(yyGetInt32(_nf));if(!_xi){_L3("Error: invalid dest ds_grid(copy)");return;}var _yi=_ui._I4(yyGetInt32(_wi));if(!_yi){_L3("Error: invalid source ds_grid(copy)");return;}_xi._ri(_yi);}function ds_grid_resize(_nf,_oi,_pi){_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);_nf=yyGetInt32(_nf);if(_oi<0||_pi<0){_L3("Error: Can't resize grid to ("+string(_oi)+","+string(_pi)+")");return;}var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid dest ds_grid(copy)");
return;}var _zi=new _ni(_oi,_pi);var i=_ui._Ke(_zi);ds_grid_set_grid_region(i,_nf,0,0,_ti._3c-1,_ti._4c-1,0,0);_ui._vi(i);_ui.Set(_nf,_zi);}function ds_grid_width(_nf){var _ti=_ui._I4(yyGetInt32(_nf));if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_width)");return;}return _ti._3c;}function ds_grid_height(_nf){var _ti=_ui._I4(yyGetInt32(_nf));if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_height)");return;}return _ti._4c;}function ds_grid_clear(_nf,_F2){var _ti=_ui._I4(yyGetInt32(_nf));if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_height)");
return;}for(var i=0;i<_ti._qi.length;i++){_ti._qi[i]=_F2;}}var ds_grid_set=_Ai;function _Ai(_nf,_u4,_v4,_F2){_nf=yyGetInt32(_nf);_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_set)");return;}if(_u4<0||_u4>=_ti._3c||_v4<0||_v4>=_ti._4c){_L3("Error: grid out of bounds(set) - GridID: "+_nf+"  size["+_ti._3c+","+_ti._4c+"]  at  ("+_u4+","+_v4+")");return;}_ti._qi[_u4+(_v4*_ti._3c)]=_F2;}function _Bi(_nf,_u4,_v4,_F2){_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);
var _ti=_ui._I4(yyGetInt32(_nf));if((_u4<0)||(_u4>=_ti._3c)||(_v4<0)||(_v4>=_ti._4c)){return;}_ti._qi[_u4+(_v4*_ti._3c)]=_F2;}var ds_grid_set_pre=_Ci;function _Ci(_nf,_u4,_v4,_F2){_nf=yyGetInt32(_nf);_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_set)");return _F2;}if(_u4<0||_u4>=_ti._3c||_v4<0||_v4>=_ti._4c){_L3("Error: grid out of bounds(set) - GridID: "+_nf+"  size["+_ti._3c+","+_ti._4c+"]  at  ("+_u4+","+_v4+")");return _F2;}_ti._qi[_u4+(_v4*_ti._3c)]=_F2;
return _F2;}function _Di(_nf,_u4,_v4,_F2){_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);var _ti=_ui._I4(yyGetInt32(_nf));if((_u4<0)||(_u4>=_ti._3c)||(_v4<0)||(_v4>=_ti._4c)){return _F2;}_ti._qi[_u4+(_v4*_ti._3c)]=_F2;return _F2;}var ds_grid_set_post=_Ei;function _Ei(_nf,_u4,_v4,_F2){_nf=yyGetInt32(_nf);_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_set)");return _F2;}if(_u4<0||_u4>=_ti._3c||_v4<0||_v4>=_ti._4c){_L3("Error: grid out of bounds(set) - GridID: "+_nf+"  size["+_ti._3c+","+_ti._4c+"]  at  ("+_u4+","+_v4+")");
return _F2;}var _u3=_ti._qi[_u4+(_v4*_ti._3c)];_ti._qi[_u4+(_v4*_ti._3c)]=_F2;return _u3;}function _Fi(_nf,_u4,_v4,_F2){_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);var _ti=_ui._I4(yyGetInt32(_nf));if((_u4<0)||(_u4>=_ti._3c)||(_v4<0)||(_v4>=_ti._4c)){return _F2;}var _u3=_ti._qi[_u4+(_v4*_ti._3c)];_ti._qi[_u4+(_v4*_ti._3c)]=_F2;return _u3;}function ds_grid_add(_nf,_u4,_v4,_F2){_nf=yyGetInt32(_nf);_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_add)");
return;}if(_u4<0||_u4>=_ti._3c||_v4<0||_v4>=_ti._4c){_L3("Error: grid out of bounds(ds_grid_add): "+_nf+" ("+_u4+","+_v4+")");return;}var index=_u4+(_v4*_ti._3c);var _Gi=_ti._qi[index];var _Hi=typeof(_Gi);var _Ii=typeof(_F2);if(_Hi==_Ii&&(_Hi=="number"||_Hi=="string")){_ti._qi[index]+=_F2;}else if(_Hi!="object"||_Ii!="object"){_ti._qi[index]=_F2;}else if(_Hi!="string"&&_Ii!="string"){_ti._qi[index]=yyGetReal(_Gi)+yyGetReal(_F2);}else _ti._qi[index]=_F2;}function ds_grid_multiply(_nf,_u4,_v4,_F2){_nf=yyGetInt32(_nf);
_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_multiply)");return;}if(_u4<0||_u4>=_ti._3c||_v4<0||_v4>=_ti._4c){_L3("Error: grid out of bounds(ds_grid_multiply): "+_nf+" ("+_u4+","+_v4+")");return;}var index=_u4+(_v4*_ti._3c);var _Gi=_ti._qi[index];var _Hi=typeof(_Gi);if(typeof(_F2)=="string"||_Hi=="string")return;_ti._qi[index]=yyGetReal(_Gi)*yyGetReal(_F2);}function ds_grid_set_region(_nf,__5,_06,_s5,_t5,_F2){_nf=yyGetInt32(_nf);__5=yyGetInt32(__5);
_06=yyGetInt32(_06);_s5=yyGetInt32(_s5);_t5=yyGetInt32(_t5);if(__5>_s5){var _N5=__5;__5=_s5;_s5=_N5;}if(_06>_t5){var _N5=_06;_06=_t5;_t5=_N5;}var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_set_region)");return;}var _Ji=_L5(0,_M5(_06,_t5));var _Ki=_M5(_ti._4c-1,_L5(_06,_t5));var _Li=_L5(0,_M5(__5,_s5));var _Mi=_M5(_ti._3c-1,_L5(__5,_s5));for(var y=_Ji;y<=_Ki;y++){for(var x=_Li;x<=_Mi;x++){var index=(y*_ti._3c)+x;_ti._qi[index]=_F2;}}}function ds_grid_add_region(_nf,__5,_06,_s5,_t5,_F2){
_nf=yyGetInt32(_nf);__5=yyGetInt32(__5);_06=yyGetInt32(_06);_s5=yyGetInt32(_s5);_t5=yyGetInt32(_t5);if(__5>_s5){var _N5=__5;__5=_s5;_s5=_N5;}if(_06>_t5){var _N5=_06;_06=_t5;_t5=_N5;}var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_add_region)");return;}if((__5<0||__5>=_ti._3c||_06<0||_06>=_ti._4c)||(_s5<0||_s5>=_ti._3c||_t5<0||_t5>=_ti._4c)){_L3("Error: region out of bounds(ds_grid_add_region): "+_nf);}for(var y=_06;y<=_t5;y++){var index=(y*_ti._3c)+__5;for(var x=__5;x<=_s5;x++){var _Gi=_ti._qi[index];
var _Hi=typeof(_Gi);var _Ii=typeof(_F2);if(_Hi==_Ii&&(_Hi=="number"||_Hi=="string")){_ti._qi[index]+=_F2;}else if(_Hi!="object"||_Ii!="object"){_ti._qi[index]=_F2;}else if(_Hi!="string"&&_Ii!="string"){_ti._qi[index]=yyGetReal(_Gi)+yyGetReal(_F2);}else _ti._qi[index]=_F2;index++;}}}function ds_grid_multiply_region(_nf,__5,_06,_s5,_t5,_F2){_nf=yyGetInt32(_nf);__5=yyGetInt32(__5);_06=yyGetInt32(_06);_s5=yyGetInt32(_s5);_t5=yyGetInt32(_t5);if(__5>_s5){var _N5=__5;__5=_s5;_s5=_N5;}if(_06>_t5){var _N5=_06;_06=_t5;
_t5=_N5;}var _ti=_ui._I4(_nf);if(_ti==null||_ti==undefined){_L3("Error: invalid ds_grid ID (ds_grid_multiply_region)");return;}if((__5<0||__5>=_ti._3c||_06<0||_06>=_ti._4c)||(_s5<0||_s5>=_ti._3c||_t5<0||_t5>=_ti._4c)){_L3("Error: region out of bounds(ds_grid_multiply_region): "+_nf);}for(var y=_06;y<=_t5;y++){var index=(y*_ti._3c)+__5;for(var x=__5;x<=_s5;x++){var _Gi=_ti._qi[index];var _Hi=typeof(_Gi);if(typeof(_F2)=="string"||_Hi=="string")continue;_ti._qi[index]=yyGetReal(_Gi)*yyGetReal(_F2);index++;
}}}function ds_grid_set_disk(_nf,_u4,_v4,_Ni,_F2){_nf=yyGetInt32(_nf);_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_Ni=yyGetReal(_Ni);var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_set_disk)");return;}var _A5=0;var _B5=0;var _C5=0;var _D5=0;var i=0;var _35=0;_A5=~~(_L5(0.0,Math.floor(_u4-_Ni)));_C5=~~(_M5(_ti._3c-1,Math.ceil(_u4+_Ni)));_B5=~~(_L5(0,Math.floor(_v4-_Ni)));_D5=~~(_M5(_ti._4c-1,Math.ceil(_v4+_Ni)));_Ni=_Ni*_Ni;var w=_ti._3c;for(i=_A5;i<=_C5;i++){var _Oi=(i-_u4)*(i-_u4);for(_35=_B5;
_35<=_D5;_35++){var _Pi=_35-_v4;if(_Oi+(_Pi*_Pi)<=_Ni){if(i>=0&&i<_ti._3c&&_35>=0&&_35<_ti._4c){_ti._qi[i+(_35*w)]=_F2;}}}}}function ds_grid_add_disk(_nf,_u4,_v4,_Ni,_F2){_nf=yyGetInt32(_nf);_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_Ni=yyGetReal(_Ni);var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_set_disk)");return;}var _A5=0;var _B5=0;var _C5=0;var _D5=0;var i=0;var _35=0;_A5=~~(_L5(0.0,Math.floor(_u4-_Ni)));_C5=~~(_M5(_ti._3c-1,Math.ceil(_u4+_Ni)));_B5=~~(_L5(0,Math.floor(_v4-_Ni)));
_D5=~~(_M5(_ti._4c-1,Math.ceil(_v4+_Ni)));_Ni=_Ni*_Ni;var w=_ti._3c;for(i=_A5;i<=_C5;i++){var _Oi=(i-_u4)*(i-_u4);for(_35=_B5;_35<=_D5;_35++){var _Pi=_35-_v4;if(_Oi+(_Pi*_Pi)<=_Ni){if(i>=0&&i<_ti._3c&&_35>=0&&_35<_ti._4c){var index=i+(_35*w);var _Gi=_ti._qi[index];var _Hi=typeof(_Gi);var _Ii=typeof(_F2);if(_Hi==_Ii&&(_Hi=="number"||_Hi=="string")){_ti._qi[index]+=_F2;}else if(_Hi!="object"||_Ii!="object"){_ti._qi[index]=_F2;}else if(_Hi!="string"&&_Ii!="string"){_ti._qi[index]=yyGetReal(_Gi)+yyGetReal(_F2);
}else _ti._qi[index]=_F2;}}}}}function ds_grid_multiply_disk(_nf,_u4,_v4,_Ni,_F2){_nf=yyGetInt32(_nf);_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_Ni=yyGetReal(_Ni);var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_set_disk)");return;}var _A5=0;var _B5=0;var _C5=0;var _D5=0;var i=0;var _35=0;_A5=~~(_L5(0.0,Math.floor(_u4-_Ni)));_C5=~~(_M5(_ti._3c-1,Math.ceil(_u4+_Ni)));_B5=~~(_L5(0,Math.floor(_v4-_Ni)));_D5=~~(_M5(_ti._4c-1,Math.ceil(_v4+_Ni)));_Ni=_Ni*_Ni;var w=_ti._3c;for(i=_A5;i<=_C5;i++){
var _Oi=(i-_u4)*(i-_u4);for(_35=_B5;_35<=_D5;_35++){var _Pi=_35-_v4;if(_Oi+(_Pi*_Pi)<=_Ni){if(i>=0&&i<_ti._3c&&_35>=0&&_35<_ti._4c){var index=i+(_35*w);var _Gi=_ti._qi[index];var _Hi=typeof(_Gi);if(typeof(_F2)=="string"||_Hi=="string")continue;_ti._qi[index]=yyGetReal(_Gi)*yyGetReal(_F2);}}}}}function _Qi(_nf,_wi,__5,_06,_s5,_t5,_Ri,_Si,_Ti){_nf=yyGetInt32(_nf);__5=yyGetInt32(__5);_06=yyGetInt32(_06);_s5=yyGetInt32(_s5);_t5=yyGetInt32(_t5);_Ri=yyGetInt32(_Ri);_Si=yyGetInt32(_Si);if(__5>_s5){var _N5=__5;
__5=_s5;_s5=_N5;}if(_06>_t5){var _N5=_06;_06=_t5;_t5=_N5;}var _yi=_ui._I4(_wi);if(!_yi){_L3("Error: invalid ds_grid ID (ds_grid_set_grid_region)");return;}var _xi=_ui._I4(_nf);if(!_xi){_L3("Error: invalid ds_grid ID (ds_grid_set_grid_region)");return;}var _Ui=__5+(_yi._3c*_06);var _Vi=_Ri+(_xi._3c*_Si);if(_Ui>=_Vi){for(var y=_06;y<=_t5;y++){var _Wi=_Ri;var index=(y*_yi._3c)+__5;for(var x=__5;x<=_s5;x++){if((x>=0&&x<_yi._3c&&y>=0&&y<_yi._4c)&&(_Wi>=0&&_Wi<_xi._3c&&_Si>=0&&_Si<_xi._4c)){_Ti(_xi,(_Wi+(_Si*_xi._3c)),
_yi,index);}index++;_Wi++;}_Si++;}}else {_Si+=_t5-_06;_Ri+=_s5-__5;for(var y=_t5;y>=_06;y--){var _Wi=_Ri;var index=(y*_yi._3c)+_s5;for(var x=_s5;x>=__5;x--){if((x>=0&&x<_yi._3c&&y>=0&&y<_yi._4c)&&(_Wi>=0&&_Wi<_xi._3c&&_Si>=0&&_Si<_xi._4c)){_Ti(_xi,(_Wi+(_Si*_xi._3c)),_yi,index);}index--;_Wi--;}_Si--;}}}function ds_grid_set_grid_region(_nf,_wi,__5,_06,_s5,_t5,_Ri,_Si){_Qi(_nf,_wi,__5,_06,_s5,_t5,_Ri,_Si,function _Xi(_Yi,_Zi,__i,_N2){_Yi._qi[_Zi]=__i._qi[_N2];});}function ds_grid_add_grid_region(_nf,_wi,__5,
_06,_s5,_t5,_Ri,_Si){_Qi(_nf,_wi,__5,_06,_s5,_t5,_Ri,_Si,function _Xi(_Yi,_Zi,__i,_N2){var _Gi=_Yi._qi[_Zi];var _Hi=typeof(_Gi);var _0j=__i._qi[_N2];var _Ii=typeof(_0j);if(_Hi==_Ii&&(_Hi=="number"||_Hi=="string")){_Yi._qi[_Zi]+=_0j;}else if(_Hi!="object"||_Ii!="object"){_Yi._qi[_Zi]=_0j;}else if(_Hi!="string"&&_Ii!="string"){_Yi._qi[_Zi]=yyGetReal(_Gi)+yyGetReal(_0j);}else _Yi._qi[_Zi]=_0j;});}function ds_grid_multiply_grid_region(_nf,_wi,__5,_06,_s5,_t5,_Ri,_Si,_F2){_Qi(_nf,_wi,__5,_06,_s5,_t5,_Ri,_Si,function _Xi(_Yi,
_Zi,__i,_N2){var _Gi=_Yi._qi[_Zi];var _0j=__i._qi[_N2];if(typeof(_Gi)=="string"||typeof(_0j)=="string")return;_Yi._qi[_Zi]=yyGetReal(_Gi)*yyGetReal(_0j);});}var ds_grid_get=_1j;function _1j(_nf,_u4,_v4){_nf=yyGetInt32(_nf);var _ti=_ui._I4(_nf),x=yyGetInt32(_u4),y=yyGetInt32(_v4);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_get)");return undefined;}if(x<0||x>=_ti._3c||y<0||y>=_ti._4c){_L3("Error: grid out of bounds(get) - GridID: "+_nf+"  size["+_ti._3c+","+_ti._4c+"]  at  ("+x+","+y+")");return undefined;
}return _ti._qi[x+(y*_ti._3c)];}function _2j(_nf,_u4,_v4){var _ti=_ui._I4(_nf);return _ti._qi[~~_u4+(~~_v4*_ti._3c)];}function _3j(_nf,__5,_06,_s5,_t5){_nf=yyGetInt32(_nf);__5=yyGetInt32(__5);_06=yyGetInt32(_06);_s5=yyGetInt32(_s5);_t5=yyGetInt32(_t5);var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_get_sum)");return 0;}if(__5>_s5){var _N5=__5;__5=_s5;_s5=_N5;}if(__5<0)__5=0;if(__5>=_ti._3c)__5=_ti._3c-1;if(_s5<0)_s5=0;if(_s5>=_ti._3c)_s5=_ti._3c-1;if(_06>_t5){var _N5=_06;_06=_t5;_t5=_N5;
}if(_06<0)_06=0;if(_06>=_ti._4c)_06=_ti._4c-1;if(_t5<0)_t5=0;if(_t5>=_ti._4c)_t5=_ti._4c-1;_ei=_di=_fi=_gi=0;var first=true;var _u7=0;for(var y=_06;y<=_t5;y++){var index=(y*_ti._3c)+__5;for(var x=__5;x<=_s5;x++){var _14=_ti._qi[index];if(first){_di=_ei=_14;first=false;}else {if(_di>_14)_di=_14;if(_ei<_14)_ei=_14;}if(typeof _14!=="string"){_fi+=_14;}_u7++;index++;}}_gi=_fi/_u7;}function ds_grid_get_sum(_nf,__5,_06,_s5,_t5){_3j(_nf,__5,_06,_s5,_t5);return _fi;}function ds_grid_get_max(_nf,__5,_06,_s5,_t5){_3j(_nf,
__5,_06,_s5,_t5);return _ei;}function ds_grid_get_min(_nf,__5,_06,_s5,_t5){_3j(_nf,__5,_06,_s5,_t5);return _di;}function ds_grid_get_mean(_nf,__5,_06,_s5,_t5){_3j(_nf,__5,_06,_s5,_t5);return _gi;}function _4j(_nf,_u4,_v4,_Ni){var _ti=_ui._I4(yyGetInt32(_nf));if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_set_disk)");return;}_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_Ni=yyGetReal(_Ni);var _A5=0;var _B5=0;var _C5=0;var _D5=0;var i=0;var _35=0;_A5=~~(_L5(0.0,Math.floor(_u4-_Ni)));_C5=~~(_M5(_ti._3c-1,Math.ceil(_u4+_Ni)));
_B5=~~(_L5(0,Math.floor(_v4-_Ni)));_D5=~~(_M5(_ti._4c-1,Math.ceil(_v4+_Ni)));var first=true;var _u7=0;_ei=_di=_fi=0;_Ni=_Ni*_Ni;var w=_ti._3c;for(i=_A5;i<=_C5;i++){var _Oi=(i-_u4)*(i-_u4);for(_35=_B5;_35<=_D5;_35++){var _Pi=_35-_v4;if(_Oi+(_Pi*_Pi)<=_Ni){if(i>=0&&i<_ti._3c&&_35>=0&&_35<_ti._4c){var _14=_ti._qi[i+(_35*w)];if(first){_di=_ei=_14;first=false;}else {if(_di>_14)_di=_14;if(_ei<_14)_ei=_14;}if(typeof _14!=="string"){_fi+=_14;}_u7++;}}}}_gi=_fi/_u7;}function ds_grid_get_disk_sum(_nf,_u4,_v4,_Ni){
_4j(_nf,_u4,_v4,_Ni);return _fi;}function ds_grid_get_disk_max(_nf,_u4,_v4,_Ni){_4j(_nf,_u4,_v4,_Ni);return _ei;}function ds_grid_get_disk_min(_nf,_u4,_v4,_Ni){_4j(_nf,_u4,_v4,_Ni);return _di;}function ds_grid_get_disk_mean(_nf,_u4,_v4,_Ni){_4j(_nf,_u4,_v4,_Ni);return _gi;}function _5j(_nf,__5,_06,_s5,_t5,_F2){var _ti=_ui._I4(yyGetInt32(_nf));if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_get_sum)");return 0;}__5=yyGetInt32(__5);_06=yyGetInt32(_06);_s5=yyGetInt32(_s5);_t5=yyGetInt32(_t5);if(__5>_s5){var _N5=__5;
__5=_s5;_s5=_N5;}if(__5<0)__5=0;if(__5>=_ti._3c)__5=_ti._3c-1;if(_s5<0)_s5=0;if(_s5>=_ti._3c)_s5=_ti._3c-1;if(_06>_t5){var _N5=_06;_06=_t5;_t5=_N5;}if(_06<0)_06=0;if(_06>=_ti._4c)_06=_ti._4c-1;if(_t5<0)_t5=0;if(_t5>=_ti._4c)_t5=_ti._4c-1;_hi=false;_ii=-1;_ji=-1;for(var y=_06;y<=_t5;y++){var index=(y*_ti._3c)+__5;for(var x=__5;x<=_s5;x++){var _14=_ti._qi[index];if((typeof(_F2)=="number"&&typeof(_14)=="number")){if(_li>abs(_F2-_14)){_hi=true;_ii=x;_ji=y;return true;}}else {if(_F2==_14){_hi=true;_ii=x;_ji=y;
return true;}}index++;}}return false;}function ds_grid_value_exists(_nf,__5,_06,_s5,_t5,_F2){_5j(_nf,__5,_06,_s5,_t5,_F2);return _hi;}function ds_grid_value_x(_nf,__5,_06,_s5,_t5,_F2){_5j(_nf,__5,_06,_s5,_t5,_F2);return _ii;}function ds_grid_value_y(_nf,__5,_06,_s5,_t5,_F2){_5j(_nf,__5,_06,_s5,_t5,_F2);return _ji;}function _6j(_nf,_u4,_v4,_Ni,_F2){var _ti=_ui._I4(yyGetInt32(_nf));if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_set_disk)");return;}_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_Ni=yyGetReal(_Ni);var _A5=0;
var _B5=0;var _C5=0;var _D5=0;var i=0;var _35=0;_A5=~~(_L5(0.0,Math.floor(_u4-_Ni)));_C5=~~(_M5(_ti._3c-1,Math.ceil(_u4+_Ni)));_B5=~~(_L5(0,Math.floor(_v4-_Ni)));_D5=~~(_M5(_ti._4c-1,Math.ceil(_v4+_Ni)));_ii=_ji=-1;_hi=false;_Ni=_Ni*_Ni;var w=_ti._3c;for(i=_A5;i<=_C5;i++){var _Oi=(i-_u4)*(i-_u4);for(_35=_B5;_35<=_D5;_35++){var _Pi=_35-_v4;if(_Oi+(_Pi*_Pi)<=_Ni){if(i>=0&&i<_ti._3c&&_35>=0&&_35<_ti._4c){var _14=_ti._qi[i+(_35*w)];if((typeof(_F2)=="number"&&typeof(_14)=="number")){if(_li>abs(_F2-_14)){_ii=i;
_ji=_35;_hi=true;return;}}else {if(_14==_F2){_ii=i;_ji=_35;_hi=true;return;}}}}}}}function ds_grid_value_disk_exists(_nf,_u4,_v4,_Ni,_F2){_6j(_nf,_u4,_v4,_Ni,_F2);return _hi;}function ds_grid_value_disk_x(_nf,_u4,_v4,_Ni,_F2){_6j(_nf,_u4,_v4,_Ni,_F2);return _ii;}function ds_grid_value_disk_y(_nf,_u4,_v4,_Ni,_F2){_6j(_nf,_u4,_v4,_Ni,_F2);return _ji;}function ds_grid_shuffle(_nf){var _ti=_ui._I4(yyGetInt32(_nf));if(_ti==null||_ti==undefined){_L3("Error: invalid ds_grid ID (ds_grid_shuffle)");return;}_ti._qi.sort(function(){
return 0.5-Math.random();});}function ds_grid_write(_nf){var _ti=_ui._I4(yyGetInt32(_nf));if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_write)");return;}var width=_ti._3c;var height=_ti._4c;var _7j=buffer_create(16384,_8j,1);buffer_write(_7j,_9j,603);buffer_write(_7j,_9j,width);buffer_write(_7j,_9j,height);for(var x=0;x<=width-1;x++){for(y=0;y<=height-1;y++){var _yd=_ti._qi[x+(y*width)];_aj(_7j,_yd);}}var _bj=_cj(_7j);buffer_delete(_7j);return _bj;}function ds_grid_read(_nf,_dj){if(!_dj){_L3("Error: no string provided (ds_grid_read)");
return false;}var _ti=_ui._I4(yyGetInt32(_nf));if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_read)");return false;}if(_dj[0]=="{"){try{var _ej=JSON.parse(_dj);if((_ej!=null)&&(_ej!=undefined)&&(typeof(_ej.body)=="object")&&(typeof(_ej.width)=="number")&&(typeof(_ej.height)=="number")){_ti._3c=_ej.width;_ti._4c=_ej.height;_ti._qi=_ej.body;}}catch(_fj){_L3("Error: reading ds_grid JSON");return false;}return true;}else {var _7j=_gj(_dj);if(_7j<0)return false;buffer_seek(_7j,_hj,0);var id=buffer_read(_7j,_ij);
var version;if(id==602){version=3;}else if(id==603){version=0;}else {_L3("Error: unrecognised format - resave the grid to update/fix issues. (ds_grid_read)");return false;}var w=buffer_read(_7j,_ij);var h=buffer_read(_7j,_ij);_ti._3c=w;_ti._4c=h;_ti._qi=[];var _N5=w*h;for(var i=0;i<_N5;i++){_ti._qi[i]=0;}for(i=0;i<=w-1;i++){for(_35=0;_35<=h-1;_35++){var _yd=_jj(_7j,version);_ti._qi[i+(_35*w)]=_yd;}}buffer_delete(_7j);return true;}}function ds_grid_sort(_nf,_kj,_lj){_nf=yyGetInt32(_nf);_kj=yyGetInt32(_kj);_lj=yyGetBool(_lj);
var _ti=_ui._I4(_nf);if(!_ti){_L3("Error: invalid ds_grid ID (ds_grid_read)");return;}var _mj=[];for(var y=0;y<_ti._4c;y++){_mj[y]=ds_grid_get(_nf,_kj,y);}var _nj=_lj?1:-1;_mj.sort(function(_l3,_k3){return yyCompareVal(_l3,_k3,g_GMLMathEpsilon)*_nj;});var _oj=[];var _pj=[];for(var y=0;y<_mj.length;y++){_pj[y]=false;}for(var y=0;y<_mj.length;y++){var _qj=_mj[y];for(var _35=0;_35<_mj.length;_35++){var _rj=_lj?_35:(_mj.length-1-_35);if(_pj[_rj]){continue;}var _sj=ds_grid_get(_nf,_kj,_rj);if(_sj==_qj){for(var x=0;
x<_ti._3c;x++){_oj[x+(_ti._3c*y)]=ds_grid_get(_nf,x,_rj);}_pj[_rj]=true;break;}}}_ti._qi=_oj;}function ds_grid_to_mp_grid(_si,_tj,_uj){var _ti=_ui._I4(yyGetInt32(_si));var _vj=_wj._I4(yyGetInt32(_tj));if(_vj==null||_ti==null){_L3("ds_grid_to_mp_grid :: Invalid source or destination grid");return;}var w=_vj._xj;var h=_vj._yj;var _zj=_ti._3c;var _Aj=_ti._4c;if(w!=_zj||h!=_Aj){_L3("ds_grid_to_mp_grid :: Grid sizes do not match");return;}if(_uj==undefined){for(var y=0;y<h;++y){for(var x=0;x<w;++x){var _yd=yyGetReal(_ti._qi[x+(y*_ti._3c)]);
_vj._Bj[(x*_vj._yj)+y]=_yd===0?0:-1;}}}else {_Cj=_Dj(_uj,2);_Ej="boundObject" in _Cj?_Cj._Fj:{};for(var y=0;y<h;++y){for(var x=0;x<w;++x){var _yd=_ti._qi[x+(y*_ti._3c)];var _ta=yyGetBool(_Cj(_Ej,_Ej,_yd,x,y));_vj._Bj[(x*_vj._yj)+y]=_ta?-1:0;}}}}function ds_list_create(){var _K5=new _Gj();_K5._Hj=true;return _Ij._Ke(_K5);}function ds_list_destroy(_nf){_nf=yyGetInt32(_nf);var _Jj=_Ij._I4(_nf);if(_Jj){_Jj.__e();_Ij._vi(_nf);}}function ds_list_clear(_nf){var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){_Wf.__e();return;}_L3("Error: invalid ds_list ID (ds_list_clear)");
}function ds_list_copy(_nf,_wi){_nf=yyGetInt32(_nf);var _Kj=_Ij._I4(_nf);if(!_Kj){_L3("Error: invalid DEST ds_list ID (ds_list_copy)");return;}var _Lj=_Ij._I4(yyGetInt32(_wi));if(!_Lj){_L3("Error: invalid SOURCE ds_list ID (ds_list_copy)");return;}_Kj._ri(_Lj);_Ij.Set(_nf,_Kj);}function ds_list_size(_nf){var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf)return _Wf.length;return 0;}function ds_list_empty(_nf){var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){if(_Wf.length!==0)return false;else return true;}_L3("Error: invalid ds_list ID (ds_list_empty)");
return true;}function ds_list_add(){var _Mj=arguments;var _Nj=arguments.length;var _Wf=_Ij._I4(_Mj[0]);if(!_Wf){_L3("Error: invalid ds_list ID (ds_list_add)");return;}for(var i=1;i<_Nj;i++){_Wf._Ke(_Mj[i]);}return;}function _Oj(_nf,_F2){return ds_list_add(yyGetInt32(_nf),new _Pj(_Qj,_F2));}function _Rj(_nf,_F2){return ds_list_add(yyGetInt32(_nf),new _Pj(_Sj,_F2));}function ds_list_set(_nf,_N2,_F2){if(isNaN(_N2))_L3("Error: index must be a number");var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){_Wf._Tj(yyGetInt32(_N2),
_F2);}else {_L3("Error: invalid ds_list ID (ds_list_set)");}}function ds_list_set_pre(_nf,_N2,_F2){if(isNaN(_N2))_L3("Error: index must be a number");var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){_Wf._Tj(yyGetInt32(_N2),_F2);}else {_L3("Error: invalid ds_list ID (ds_list_set)");}return _F2;}function ds_list_set_post(_nf,_N2,_F2){if(isNaN(_N2))_L3("Error: index must be a number");var _u3=_F2;var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){_u3=_Wf._Tj(yyGetInt32(_N2),_F2);}else {_L3("Error: invalid ds_list ID (ds_list_set)");
}return _u3;}function ds_list_insert(_nf,_Uj,_F2){if(isNaN(_Uj))_L3("Error: index must be a number");var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){return _Wf._Vj(yyGetInt32(_Uj),_F2);}_L3("Error: invalid ds_list ID (ds_list_insert)");return -1;}function _Wj(_nf,_Uj,_F2){return ds_list_insert(yyGetInt32(_nf),yyGetInt32(_Uj),new _Pj(_Qj,_F2));}function _Xj(_nf,_Uj,_F2){return ds_list_insert(yyGetInt32(_nf),yyGetInt32(_Uj),new _Pj(_Sj,_F2));}function ds_list_replace(_nf,_Uj,_F2){if(isNaN(_Uj))_L3("Error: index must be a number");
var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){return _Wf._Yj(yyGetInt32(_Uj),_F2);}_L3("Error: invalid ds_list ID (ds_list_replace)");return -1;}function ds_list_delete(_nf,_Uj){if(isNaN(_Uj))_L3("Error: index must be a number");var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){return _Wf._vi(yyGetInt32(_Uj));}}function ds_list_find_index(_nf,_F2){var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){var _u3=-1;for(var _K5=0;_K5<_Wf._Zj.length;_K5++){var _l3=_Wf._Zj[_K5];if(((typeof(_l3)=="object")&&(_l3.Object==_F2))||(_l3==_F2)){_u3=_K5;
break;}}return _u3;}_L3("Error: invalid ds_list ID (ds_list_find_index)");return -1;}function ds_list_find_value(_nf,_Uj){if(isNaN(_Uj))_L3("Error: index must be a number");var _14,__j=_0k(_Uj),_Wf=_Ij._I4(_0k(yyGetInt32(_nf)));if(_Wf){_14=_Wf._Zj[__j];if(typeof(_14)==="object"&&_14.Object!==undefined){return _14.Object;}else return _14;}_L3("Error: invalid ds_list ID (ds_list_find_value)");return undefined;}function ds_list_is_list(_nf,_Uj){if(isNaN(_Uj))_L3("Error: index must be a number");var _14,__j=_0k(_Uj),
_Wf=_Ij._I4(_0k(yyGetInt32(_nf)));if(_Wf){_14=_Wf._Zj[__j];if(typeof(_14)==="object"&&_14.Object!==undefined){return _14._1k==_Sj;}else return false;}_L3("Error: invalid ds_list ID (ds_list_find_value)");return undefined;}function ds_list_is_map(_nf,_Uj){if(isNaN(_Uj))_L3("Error: index must be a number");var _14,__j=_0k(_Uj),_Wf=_Ij._I4(_0k(yyGetInt32(_nf)));if(_Wf){_14=_Wf._Zj[__j];if(typeof(_14)==="object"&&_14.Object!==undefined){return _14._1k==_Qj;}else return false;}_L3("Error: invalid ds_list ID (ds_list_find_value)");
return undefined;}function ds_list_sort(_nf,_2k){var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){var _nj=yyGetBool(_2k)?1:-1;_Wf._Zj.sort(function(_l3,_k3){return yyCompareVal(_l3,_k3,g_GMLMathEpsilon)*_nj;});return 0;}_L3("Error: invalid ds_list ID (ds_list_sort)");return 0;}function ds_list_shuffle(_nf){var _Wf=_Ij._I4(yyGetInt32(_nf));if(_Wf){_Wf._3k();return 0;}_L3("Error: invalid ds_list ID (ds_list_shuffle)");return 0;}function ds_list_write(_nf){_nf=yyGetInt32(_nf);var _Wf=_Ij._I4(_nf);if(!_Wf){_L3("Error: invalid ds_list ID (ds_list_write)");
return "";}var _1i=_Wf.length;var _7j=buffer_create(16384,_8j,1);buffer_write(_7j,_9j,303);buffer_write(_7j,_9j,_1i);for(var i=0;i<_1i;i++){var _yd=ds_list_find_value(_nf,i);_aj(_7j,_yd);}var _bj=_cj(_7j);buffer_delete(_7j);return _bj;}function ds_list_read(_nf,_dj){if(_dj===undefined||_dj==""){return false;}_nf=yyGetInt32(_nf);var _Wf=_Ij._I4(_nf);if(!_Wf){_L3("Error: invalid ds_list ID (ds_list_read)");return false;}if(_dj[0]=="{"){try{var _Jj=JSON.parse(_dj);_Wf._Zj=_Jj;_Wf.length=_Jj.length;_Wf._u7=_Jj.length;
}catch(err){_L3("Error: reading ds_list file.");return false;}}else {var _7j=_gj(_dj);if(_7j<0)return false;buffer_seek(_7j,_hj,0);var id=buffer_read(_7j,_ij);var version;if(id==302){version=3;}else if(id==303){version=0;}else {_L3("Error: unrecognised format - resave the list to update/fix issues. (ds_list_read)");return false;}var _1i=buffer_read(_7j,_ij);_Wf.__e();for(var i=0;i<_1i;i++){var _yd=_jj(_7j,version);ds_list_add(_nf,_yd);}buffer_delete(_7j);}return true;}function ds_list_mark_as_map(_nf,_Uj){_nf=yyGetInt32(_nf);
_Uj=yyGetInt32(_Uj);var _yd=ds_list_find_value(_nf,_Uj);if(_yd!=undefined){ds_list_replace(_nf,_Uj,new _Pj(_Qj,_yd));}}function ds_list_mark_as_list(_nf,_Uj){_nf=yyGetInt32(_nf);_Uj=yyGetInt32(_Uj);var _yd=ds_list_find_value(_nf,_Uj);if(_yd!=undefined){ds_list_replace(_nf,_Uj,new _Pj(_Sj,_yd));}}var _Qj=1,_Sj=2;function _4k(){}_4k.prototype._nf=0;_4k.prototype._5k=function(){return(++_4k.prototype._nf).toString();};/*@constructor */function _Pj(_sc,_Ej){this._1k=_sc;this.Object=_Ej;}const hasOwnProperty=Object.prototype.hasOwnProperty;
const _6k=(string)=>{let hash=0;string=string.toString();for(let i=0;i<string.length;i++){hash=(((hash<<5)-hash)+string.charCodeAt(i))&0xFFFFFFFF;}return hash;};const _7k=(_Tf)=>{if(typeof _Tf.getTime=='function'){return _Tf.getTime();}let _8k=[];for(let __h in _Tf){if(hasOwnProperty.call(_Tf,__h)){_8k.push(__h);}}_8k.sort();let result=0;for(let __h in _8k){result+=_6k(__h+_9k(_Tf[__h]));}return result;};const _9k=(value)=>{const type=value==undefined?undefined:typeof value;return _ak[type]?_ak[type](value)+_6k(type):0;
};const _ak={string:_6k,_bk:_6k,_ck:_6k,_dk:_7k};function _ek(_Wb){var _u3=_Wb;switch(typeof(_Wb)){case "object":if(_Wb.id!==undefined){_u3=_Wb.id;}else {_u3=_9k(_Wb);}break;default :break;}return _u3;}function ds_map_create(){var _f6=new Map();var id=_g6._Ke(_f6);return id;}function ds_map_destroy(_nf){_nf=yyGetInt32(_nf);var _f6=_g6._I4(_nf);if(_f6){_fk(_f6);_g6._vi(_nf);}}function ds_map_clear(_nf){_nf=yyGetInt32(_nf);var _f6=_g6._I4(_nf);if(_f6){_fk(_f6);}}function _fk(_gk){_gk.forEach(function(_14,key,_gk){
if(_14!=null&&_14.Object!==undefined)switch(_14._1k){case _Qj:ds_map_destroy(_14.Object);break;case _Sj:ds_list_destroy(_14.Object);break;}});_gk.clear();if(_gk._hk)_gk._hk.clear();}function ds_map_copy(_tj,_wi){_tj=yyGetInt32(_tj);var _Kj=_g6._I4(_tj);var _Lj=_g6._I4(yyGetInt32(_wi));if(_Kj&&_Lj){_Kj=new Map();_Lj.forEach(function(_14,key,_Lj){_Kj.set(key,_14);});_g6.Set(_tj,_Kj);}}function ds_map_size(_nf){var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){return _f6.size;}return 0;}function ds_map_empty(_nf){var _f6=_g6._I4(yyGetInt32(_nf));
if(_f6){return _f6.size==0;}return false;}function ds_map_replace(_nf,_ik,_F2){_ik=_ek(_ik);var _f6=_g6._I4(yyGetInt32(_nf));if(_f6)_f6.set(_ik,_F2);}function ds_map_replace_map(_nf,_ik,_F2){ds_map_replace(_nf,_ik,new _Pj(_Qj,_F2));}function ds_map_replace_list(_nf,_ik,_F2){ds_map_replace(_nf,_ik,new _Pj(_Sj,_F2));}function ds_map_delete(_nf,_ik){var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){_ik=_ek(_ik);_f6.delete(_ik);if(_f6._hk&&_f6._hk.has(_ik))_f6._hk.delete(_ik);}}function ds_map_exists(_nf,_ik){var _f6=_g6._I4(yyGetInt32(_nf));
if(_f6){_ik=_ek(_ik);return _f6.has(_ik);}return false;}function ds_map_add(_nf,_ik,_F2){var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){var _jk=_ik;_ik=_ek(_ik);if(_ik!==_jk){if(_f6._hk==undefined){_f6._hk=new Map();}_f6._hk.set(_ik,_jk);}_f6.set(_ik,_F2)}}function ds_map_add_map(_nf,_ik,_F2){ds_map_add(yyGetInt32(_nf),_ik,new _Pj(_Qj,_F2));}function ds_map_add_list(_nf,_ik,_F2){ds_map_add(yyGetInt32(_nf),_ik,new _Pj(_Sj,_F2));}function ds_map_set(_nf,_ik,_F2){var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){var _jk=_ik;_ik=_ek(_ik);
if(_ik!==_jk){if(_f6._hk==undefined){_f6._hk=new Map();}_f6._hk.set(_ik,_jk);}_f6.set(_ik,_F2);}}function ds_map_set_pre(_nf,_ik,_F2){var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){var _jk=_ik;_ik=_ek(_ik);if(_ik!==_jk){if(_f6._hk==undefined){_f6._hk=new Map();}_f6._hk.set(_ik,_jk);}_f6.set(_ik,_F2);;}return _F2;}function ds_map_set_post(_nf,_ik,_F2){var _u3=_F2;var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){var _jk=_ik;_ik=_ek(_ik);if(_ik!==_jk){if(_f6._hk==undefined){_f6._hk=new Map();}_f6._hk.set(_ik,_jk);}_u3=_f6.get(_ik);
_f6.set(_ik,_F2);}return _u3;}function ds_map_find_value(_nf,_ik){if(Number.isNaN(_ik))return undefined;if((_nf==undefined)||Number.isNaN(_nf)){_L3("Error: "+_nf+" is not a valid map reference");return undefined;}var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){_ik=_ek(_ik);var _kk=_f6.get(_ik);if(typeof(_kk)==="object"&&(_kk!=null)&&_kk.Object!==undefined){return _kk.Object;}else return _kk;}return undefined;}function ds_map_values_to_array(_nf,_lk){if((_nf==undefined)||Number.isNaN(_nf)){_L3("Error: "+_nf+" is not a valid map reference");
return undefined;}var _u3;if(arguments.length>=2){_u3=_lk;}else {_u3=[];}var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){for(const [_l3,_kk] of _f6){if(typeof(_kk)==="object"&&(_kk!=null)&&_kk.Object!==undefined){_u3.push(_kk.Object);}else _u3.push(_kk);}}return _u3;}function ds_map_keys_to_array(_nf,_lk){if((_nf==undefined)||Number.isNaN(_nf)){_L3("Error: "+_nf+" is not a valid map reference");return undefined;}var _u3;if(arguments.length>=2){_u3=_lk;}else {_u3=[];}var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){for(const [key,
_l3] of _f6){var _14=key;if(_f6._hk&&_f6._hk.has(key))_14=_f6._hk.get(key);_u3.push(_14);}}return _u3;}function ds_map_is_map(_nf,_ik){if(Number.isNaN(_ik))return undefined;if((_nf==undefined)||Number.isNaN(_nf)){_L3("Error: "+_nf+" is not a valid map reference");return undefined;}var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){_ik=_ek(_ik);var _kk=_f6.get(_ik);if(typeof(_kk)==="object"&&(_kk!=null)&&_kk.Object!==undefined){return _kk._1k===_Qj;}else return false;}return undefined;}function ds_map_is_list(_nf,_ik){if(Number.isNaN(_ik))return undefined;
if((_nf==undefined)||Number.isNaN(_nf)){_L3("Error: "+_nf+" is not a valid map reference");return undefined;}var _f6=_g6._I4(yyGetInt32(_nf));if(_f6){_ik=_ek(_ik);var _kk=_f6.get(_ik);if(typeof(_kk)==="object"&&(_kk!=null)&&_kk.Object!==undefined){return _kk._1k===_Sj;}else return false;}return undefined;}function ds_map_find_previous(_nf,_ik){_ik=_ek(_ik);var _mk=undefined;var _f6=_g6._I4(yyGetInt32(_nf));for(const [key,_nk] of _f6){if(key==_ik){return _mk;}_mk=key;}return undefined;}function ds_map_find_next(_nf,
_ik){_ik=_ek(_ik);var _ok=false;var _f6=_g6._I4(yyGetInt32(_nf));for(const [key,_nk] of _f6){if(_ok){return key;}if(key==_ik){_ok=true;}}return undefined;}function ds_map_find_first(_nf){var _f6=_g6._I4(yyGetInt32(_nf));for(const [key,_nk] of _f6){return key;}return undefined;}function ds_map_find_last(_nf){var _mk=undefined;var _f6=_g6._I4(yyGetInt32(_nf));for(const [key,_nk] of _f6){_mk=key;}return _mk;}function ds_map_write(_nf){var _f6=_g6._I4(yyGetInt32(_nf));if(_f6==null){_L3("Error: invalid ds_map ID (ds_map_write)");
return "";}var _7j=buffer_create(16384,_8j,1);buffer_write(_7j,_9j,403);var _pk=_f6.size;buffer_write(_7j,_9j,_pk);for(const [key,_yd] of _f6){var _qk=key;if(_f6._hk&&_f6._hk.has(key))_qk=_f6._hk.get(key);_aj(_7j,_qk);var _14=_yd;if(typeof(_yd)==="object"&&(_yd!=null)&&_yd.Object!==undefined)_14=_yd.Object;_aj(_7j,_14);}var _bj=_cj(_7j);buffer_delete(_7j);return _bj;}function ds_map_read(_nf,_dj){_nf=yyGetInt32(_nf);var _f6=_g6._I4(_nf);if(_f6==null){_L3("Error: invalid ds_map ID (ds_map_read)");return false;
}if(_dj[0]=="{"){try{if(null!=_dj){_f6=JSON.parse(_dj);_g6.Set(_nf,_f6);}else {_g6.Set(_nf,'');}}catch(_fj){_L3("Error: reading ds_map JSON.");return false;}}else {ds_map_clear(_nf);var _7j=_gj(_dj);if(_7j<0)return false;buffer_seek(_7j,_hj,0);var id=buffer_read(_7j,_ij);var version;if(id==402){version=3;}else if(id==403){version=0;}else {_L3("Error: unrecognised format - resave the map to update/fix issues. (ds_map_read)");return false;}var _u7=buffer_read(_7j,_ij);while(_u7>0){var key=_jj(_7j,version);var value=_jj(_7j,
version);ds_map_add(_nf,key,value);_u7--;}buffer_delete(_7j);}return true;}function ds_map_secure_save(_nf,_rk){if(_rk!=null){var _sk=_tk();var json=json_encode(yyGetInt32(_nf));var _uk=base64_encode(json);_vk(yyGetString(_rk),_sk+_uk);}}function ds_map_secure_load_buffer(_wk){return -1;}function ds_map_secure_save_buffer(_d6,_wk){return -1;}function ds_map_secure_load(_rk){var _xk=-1;try{var _yk=_tk();var data=_zk(yyGetString(_rk),true);var _Ak=data.substring(0,_yk.length);var _uk=data.substring(_yk.length,data.length);
if(_Ak==_yk){var json=base64_decode(_uk);return json_decode(json);}}catch(e){debug(e.message);}return -1;}function _Bk(){var id=0xF35065da3bb79cac7;return id.toString();}function _tk(){var _sk=_Bk();var _Ck=sha1_string_utf8(_sk.split("").reverse().join(""));return sha1_string_utf8(_Ck);}/*@constructor */function _Dk(_Ek,_Ej){this.sub=_Ek;this.data=_Ej;}/*@constructor */function _Fk(_Ek,_Ej){this.depth=_Ek;this._Gk=_Ej;}function ds_priority_create(){var _Wf=new _Hk();return _Ik._Ke(_Wf);}function ds_priority_destroy(_nf){
_Ik._vi(yyGetInt32(_nf));}function ds_priority_clear(_nf){var _Jk=_Ik._I4(yyGetInt32(_nf));if(_Jk==null||_Jk==undefined){_L3("Error: invalid dest priority queue ds_priority_clear()");return;}_Jk.__e();}function ds_priority_copy(_nf,_wi){_nf=yyGetInt32(_nf);var _Kk=_Ik._I4(_nf);if(_Kk==null||_Kk==undefined){_L3("Error: invalid dest priority queue ds_priority_copy()");return;}var _Lk=_Ik._I4(yyGetInt32(_wi));if(_Lk==null||_Lk==undefined){_L3("Error: invalid source priority queue ds_priority_copy()");return;
}_Kk._ri(_Lk);_Ik.Set(_nf,_Kk);}function ds_priority_size(_nf){var _Jk=_Ik._I4(yyGetInt32(_nf));if(_Jk==null||_Jk==undefined){_L3("Error: invalid priority queue ds_priority_size()");return 0;}return _Jk.length;}function ds_priority_empty(_nf){if(ds_priority_size(yyGetInt32(_nf))==0)return true;else return false;}function ds_priority_add(_nf,_F2,_Mk){var _Jk=_Ik._I4(yyGetInt32(_nf));if(_Jk==null||_Jk==undefined){_L3("Error: invalid priority queue ds_priority_add()");return;}var _Nk=new _Fk(_Mk,_F2);_Jk._Ke(_Nk);
}function ds_priority_change_priority(_nf,_F2,_Mk){var _Jk=_Ik._I4(yyGetInt32(_nf));if(_Jk==null||_Jk==undefined){_L3("Error: invalid priority queue ds_priority_change_priority()");return;}var i=0;while(i<_Jk.length){var _Ok=_Jk._I4(i);if(_Ok!=null){var _14=_Ok._Gk;if(typeof(_F2)=="number"&&typeof(_14)=="number"){if(_li>abs(_14-_F2)){_Jk._Pk(_Ok);_Ok.depth=_Mk;_Jk._Ke(_Ok);return;}}else {if(_14==_F2){_Jk._Pk(_Ok);_Ok.depth=_Mk;_Jk._Ke(_Ok);return;}}}i++;}}function ds_priority_find_priority(_nf,_F2){var _Jk=_Ik._I4(yyGetInt32(_nf));
if(_Jk==null||_Jk==undefined){_L3("Error: invalid priority queue ds_priority_find_priority()");return undefined;}var i=0;while(i<_Jk.length){var _Ok=_Jk._I4(i);if(_Ok!=null){var _14=_Ok._Gk;if(((typeof(_F2)=="number")||(_F2 instanceof Long))&&((typeof(_14)=="number")||(_14 instanceof Long))){var _Qk=yyGetReal(_F2);var _Rk=yyGetReal(_14);if(_li>abs(_Rk-_Qk))return _Ok.depth;}else {if(_14==_F2)return _Ok.depth;}}i++;}return undefined;}function ds_priority_delete_value(_nf,_F2){var _Jk=_Ik._I4(yyGetInt32(_nf));if(_Jk==null||_Jk==undefined){
_L3("Error: invalid priority queue ds_priority_delete_value()");return;}var i=0;while(i<_Jk.length){var _Ok=_Jk._I4(i);if(_Ok!=null){var _14=_Ok._Gk;if(typeof(_F2)=="number"&&typeof(_14)=="number"){if(_li>abs(_14-_F2)){_Jk._Pk(_Ok);return;}}else {if(_14==_F2){_Jk._Pk(_Ok);}}}i++;}return;}function ds_priority_delete_min(_nf){var _Jk=_Ik._I4(yyGetInt32(_nf));if(_Jk==null||_Jk==undefined){_L3("Error: invalid priority queue ds_priority_delete_min()");return;}if(_Jk.length<=0)return 0;var _Ok=_Jk._I4(0);_Jk._Pk(_Ok);
return _Ok._Gk;}function ds_priority_find_min(_nf){var _Jk=_Ik._I4(yyGetInt32(_nf));if(_Jk==null||_Jk==undefined){_L3("Error: invalid priority queue ds_priority_find_min()");return undefined;}if(_Jk.length<=0)return undefined;var _Ok=_Jk._I4(0);return _Ok._Gk;}function ds_priority_delete_max(_nf){var _Jk=_Ik._I4(yyGetInt32(_nf));if(_Jk==null||_Jk==undefined){_L3("Error: invalid priority queue ds_priority_delete_max()");return;}if(_Jk.length<=0)return 0;var _Ok=_Jk._I4(_Jk.length-1);_Jk._Pk(_Ok);return _Ok._Gk;
}function ds_priority_find_max(_nf){var _Jk=_Ik._I4(yyGetInt32(_nf));if(_Jk==null||_Jk==undefined){_L3("Error: invalid priority queue ds_priority_find_max()");return undefined;}if(_Jk.length<=0)return undefined;var _Ok=_Jk._I4(_Jk.length-1);return _Ok._Gk;}function ds_priority_write(_nf){var _Wf=_Ik._I4(yyGetInt32(_nf));if(_Wf==null){_L3("Error: invalid ds_priority ID (ds_priority_write)");return "";}var _Sk=[];var _yd=[];for(var index=0;index<_Wf._Zj.length;index++){var _Tk=_Wf._Zj[index];if(_Tk){_Sk.push(_Tk.depth);
_yd.push(_Tk._Gk);}}var _1i=_Wf._Zj.length;var _7j=buffer_create(16384,_8j,1);buffer_write(_7j,_9j,503);buffer_write(_7j,_9j,_1i);for(var i=0;i<_1i;i++){_aj(_7j,_Sk[i]);}for(var i=0;i<_1i;i++){_aj(_7j,_yd[i]);}var _bj=_cj(_7j);buffer_delete(_7j);return _bj;}function ds_priority_read(_nf,_dj){_nf=yyGetInt32(_nf);var _Uk=_Ik._I4(_nf);if(_Uk==null){_L3("Error: invalid ds_priority ID (ds_priority_read)");return false;}if(_dj[0]=="{"){try{var _Wf=JSON.parse(_dj);_Uk.__e();for(var index=0;index<_Wf.length;index++){
var _Jj=_Wf[index];ds_priority_add(_nf,_Jj.data,_Jj.sub);}}catch(_fj){_L3("Error: reading ds_priority JSON");return false;}}else {var _7j=_gj(_dj);if(_7j<0)return false;buffer_seek(_7j,_hj,0);var id=buffer_read(_7j,_ij);var version;if(id==502){version=3;}else if(id==503){version=0;}else {_L3("Error: unrecognised format - resave the priority list to update/fix issues. (ds_priority_read)");return false;}var _1i=buffer_read(_7j,_ij);ds_priority_clear(_nf);var _Sk=[];var _yd=[];for(var i=0;i<_1i;i++){_Sk[i]=_jj(_7j,
version);}for(var i=0;i<_1i;i++){_yd[i]=_jj(_7j,version);}for(var i=0;i<_1i;i++){ds_priority_add(_nf,_yd[i],_Sk[i]);}buffer_delete(_7j);}return true;}function ds_queue_create(){var _bj=[];return _Vk._Ke(_bj);}function ds_queue_destroy(_nf){_Vk._vi(yyGetInt32(_nf));}function ds_queue_clear(_nf){_nf=yyGetInt32(_nf);var _bj=_Vk._I4(_nf);if(!_bj){_L3("Error: invalid ds_queue ID (ds_queue_clear)");return;}_bj=[];_Vk.Set(_nf,_bj);}function ds_queue_copy(_tj,_wi){_tj=yyGetInt32(_tj);var _Kj=_Vk._I4(_tj);if(_Kj==null){
_L3("Error: invalid DEST ds_queue ID (ds_queue_copy)");return;}var _Lj=_Vk._I4(yyGetInt32(_wi));if(_Lj==null){_L3("Error: invalid SOURCE ds_queue ID (ds_queue_copy)");return;}_Kj=_Lj.slice();_Vk.Set(_tj,_Kj);}function ds_queue_size(_nf){var _bj=_Vk._I4(yyGetInt32(_nf));if(_bj==null){_L3("Error: invalid ds_queue ID (ds_queue_size)");return 0;}return _bj.length;}function ds_queue_empty(_nf){return(ds_queue_size(yyGetInt32(_nf))==0);}function ds_queue_enqueue(){var _Mj=arguments;var _Nj=arguments.length;var _Uk=_Vk._I4(_Mj[0]);
if(!_Uk){_L3("Error: invalid ds_queue ID (ds_queue_enqueue)");return;}for(var i=1;i<_Nj;i++){_Uk.push(_Mj[i]);}return;}function ds_queue_dequeue(_nf){var _bj=_Vk._I4(yyGetInt32(_nf));if(_bj==null){_L3("Error: invalid ds_queue ID (ds_queue_dequeue)");return 0;}return _bj.shift();}function ds_queue_head(_nf){var _bj=_Vk._I4(yyGetInt32(_nf));if(_bj==null){_L3("Error: invalid ds_queue ID (ds_queue_head)");return 0;}return _bj[0];}function ds_queue_tail(_nf){var _bj=_Vk._I4(yyGetInt32(_nf));if(_bj==null){_L3("Error: invalid ds_queue ID (ds_queue_tail)");
return 0;}return _bj[_bj.length-1];}function ds_queue_write(_nf){var _Uk=_Vk._I4(yyGetInt32(_nf));if(_Uk==null){_L3("Error: invalid ds_queue ID (ds_queue_write)");return "";}var _1i=_Uk.length;var _7j=buffer_create(16384,_8j,1);buffer_write(_7j,_9j,203);buffer_write(_7j,_9j,_1i);buffer_write(_7j,_9j,0);buffer_write(_7j,_9j,_1i);for(var i=0;i<_1i;i++){var _yd=_Uk[i];_aj(_7j,_yd);}var _bj=_cj(_7j);buffer_delete(_7j);return _bj;}function ds_queue_read(_nf,_dj){_nf=yyGetInt32(_nf);var _Uk=_Vk._I4(_nf);if(_Uk==null){
_L3("Error: invalid ds_queue ID (ds_queue_read)");return false;}if(_dj=="{"){try{_Uk=JSON.parse(_dj);_Vk.Set(_nf,_Uk);}catch(_fj){_L3("Error: reading ds_queue JSON.");return false;}}else {var _7j=_gj(_dj);if(_7j<0)return false;buffer_seek(_7j,_hj,0);var id=buffer_read(_7j,_ij);var version;if(id==202){version=3;}else if(id==203){version=0;}else {_L3("Error: unrecognised format - resave the queue to update/fix issues. (ds_queue_read)");return false;}var last=buffer_read(_7j,_ij);var first=buffer_read(_7j,_ij);
var _1i=buffer_read(_7j,_ij);_Uk=[];_Vk.Set(_nf,_Uk);for(var i=0;i<last;i++){var _yd=_jj(_7j,version);if(first<=0){_Uk.push(_yd);}first--;}buffer_delete(_7j);}return true;}function ds_stack_create(){var _bj=[];return _Wk._Ke(_bj);}function ds_stack_destroy(_nf){_Wk._vi(yyGetInt32(_nf));}function ds_stack_clear(_nf){_nf=yyGetInt32(_nf);var _bj=_Wk._I4(_nf);if(_bj==null){_L3("Error: invalid ds_stack ID (ds_stack_clear)");return;}_bj=[];_Wk.Set(_nf,_bj);}function ds_stack_copy(_nf,_wi){_nf=yyGetInt32(_nf);var _Kj=_Wk._I4(_nf);
if(_Kj==null){_L3("Error: invalid DEST ds_stack ID (ds_stack_clear)");return;}var _Lj=_Wk._I4(yyGetInt32(_wi));if(_Lj==null){_L3("Error: invalid SOURCE ds_stack ID (ds_stack_clear)");return;}_Kj=_Lj.slice();_Wk.Set(_nf,_Kj);}function ds_stack_size(_nf){var _bj=_Wk._I4(yyGetInt32(_nf));if(_bj==null){_L3("Error: invalid ds_stack ID (ds_stack_size)");return 0;}return _bj.length;}function ds_stack_empty(_nf){var _bj=_Wk._I4(yyGetInt32(_nf));if(_bj==null){_L3("Error: invalid ds_stack ID (ds_stack_empty)");return true;
}if(_bj.length==0)return true;else return false;}function ds_stack_push(_nf,_F2){var _Mj=arguments;var _Nj=arguments.length;var stack=_Wk._I4(yyGetInt32(_nf));if(!stack){_L3("Error: invalid ds_stack ID (ds_stack_push)");return;}for(var i=1;i<_Nj;i++){stack.push(_Mj[i]);}}function ds_stack_pop(_nf){var _bj=_Wk._I4(yyGetInt32(_nf));if(_bj==null){_L3("Error: invalid ds_stack ID (ds_stack_pop)");return undefined;}return _bj.pop();}function ds_stack_top(_nf){var _bj=_Wk._I4(yyGetInt32(_nf));if(_bj==null){_L3("Error: invalid ds_stack ID (ds_stack_pop)");
return 0;}return _bj[_bj.length-1];}function ds_stack_write(_nf){var _bj=_Wk._I4(yyGetInt32(_nf));if(_bj==null){_L3("Error: invalid ds_stack ID (ds_stack_write)");return;}var _1i=_bj.length;var _7j=buffer_create(16384,_8j,1);buffer_write(_7j,_9j,103);buffer_write(_7j,_9j,_1i);for(var i=0;i<_1i;i++){var _yd=_bj[i];_aj(_7j,_yd);}var _Xk=_cj(_7j);buffer_delete(_7j);return _Xk;}function ds_stack_read(_nf,_dj){_nf=yyGetInt32(_nf);var _bj=_Wk._I4(_nf);if(_bj==null){_L3("Error: invalid ds_stack ID (ds_stack_read)");
return false;}if(_dj[0]=="{"){try{_bj=JSON.parse(_dj);_Wk.Set(_nf,_bj);}catch(_fj){_L3("Error: reading ds_stack JSON.");return false;}}else {var _7j=_gj(_dj);if(_7j<0)return false;buffer_seek(_7j,_hj,0);var id=buffer_read(_7j,_ij);var version;if(id==102){version=3;}else if(id==103){version=0;}else {_L3("Error: unrecognised format - resave the stack to update/fix issues. (ds_stack_read)");return false;}var _1i=buffer_read(_7j,_ij);_bj=[];_Wk.Set(_nf,_bj);for(var i=0;i<_1i;i++){var _yd=_jj(_7j,version);_bj.push(_yd);
}buffer_delete(_7j);}return true;}var _Yk=false;var _Zk='Trying to stop non-existing sound.',__k='Trying to draw a non-existing sprite.',_0l='Trying to draw a non-existing background.',_1l='Cannot compare arguments.',_2l='Trying to replace non-existing resource.',_3l='File does not exist.',_4l='The particle emitter must first be created.';var _5l=-1,_6l=[],_7l=[];function _8l(){_Ma("action_execute_script()");}function _9l(){_Ma("action_show_info()");}function _al(){_Ma("action_show_video()");}function _bl(){
}function _cl(){_bl();}function _dl(){_bl();}function _el(){_bl();}function _fl(){_bl();}function _gl(){_bl();}function _hl(){_bl();}function _il(_jl){return show_question(_jl);}function _kl(_ll){_Yk=(_ll<0.5)?false:true;}function _ml(_G4,_nl){window_set_cursor(_G4);_ol=_G4;if(!_nl){_pl(false);}else {_pl(true);}}function _ql(_j6,_G4,_rl){var _sl=_0k(_G4);if(sprite_exists(_sl)){_j6.sprite_index=_sl;}if(_rl>0){_j6.image_xscale=_rl;_j6.image_yscale=_rl;}}function _tl(_j6,_ul,_F2){if(true==_Yk){_j6._vl(_ul,_F2);}
else {_j6.direction=_ul;_j6.speed=_F2;}}function _wl(_j6,_xl){if(_Yk){_j6.hspeed=_j6.hspeed+_xl;}else {_j6.hspeed=_xl;}}function _yl(_j6,_xl){if(_Yk){_j6.vspeed=_j6.vspeed+_xl;}else {_j6.vspeed=_xl;}}function _zl(_j6,_Al,_Bl){if(true==_Yk){_j6.gravity_direction+=_Al;_j6.gravity+=_Bl;}else {_j6.gravity_direction=_Al;_j6.gravity=_Bl;}}function _Cl(_j6,_Dl){if(true==_Yk){_j6.friction+=_Dl;}else {_j6.friction=_Dl;}}function _El(_j6,direction,size){var _k3=false;var _Fl=0;if(direction.length!=9){debug("Incorrect argument for action_move()");
return;}for(_Fl=0;_Fl<9;_Fl++){_k3=((true==_k3)||(direction[_Fl]=='1'))?true:false;}if(true!=_k3){return;}if(true==_Yk){_j6.speed=_j6.speed+size;}else {_j6.speed=size;}do {_Fl=floor(_Gl(9));}while(!(direction[_Fl]=='1'));switch(_Fl){case 0:_j6.direction=225;break;case 1:_j6.direction=270;break;case 2:_j6.direction=315;break;case 3:_j6.direction=180;break;case 4:{_j6.direction=0;_j6.speed=0;break;}case 5:_j6.direction=0;break;case 6:_j6.direction=135;break;case 7:_j6.direction=90;break;case 8:_j6.direction=45;
break;}}function _Hl(_j6,_u4,_v4,_xl){if(true==_Yk){move_towards_point(_j6,_u4+_j6.x,_v4+_j6.y,_xl);}else {move_towards_point(_j6,_u4,_v4,_xl);}}function _Il(_j6,_u4,_v4){if(true==_Yk){_j6._Lc(_u4+_j6.x,_v4+_j6.y);}else {_j6._Lc(_u4,_v4);}}function _Jl(_j6){_j6._Lc(_j6.xstart,_j6.ystart);}function _Kl(_j6,_Ll,_Ml){move_random(_j6,_Ll,_Ml);}function _Nl(_j6,_Ol,_Pl){move_snap(_j6,_Ol,_Pl);}function _Ql(_j6,_Rl){var wrap=_0k(_Rl);_j6.wrap((wrap==0)||(wrap==2)?true:false,(wrap==1)||(wrap==2)?true:false);}function _Sl(_j6){
_j6.hspeed=-_j6.hspeed;}function _Tl(_j6){_j6.vspeed=-_j6.vspeed;}function _Ul(_j6,_ul,_Vl,_Wl){_Xl(_j6,_ul,_Vl,_Wl);}function _Yl(_j6,_Zl,_Wl){__l(_j6,(_Zl>=0.5)?true:false,(_Wl==1)?true:false);}function _0m(_j6){instance_destroy(_j6);}function _1m(_j6,_2m,_u4,_v4){var _3m=_0k(_2m);if(true!=object_exists(_3m)){debug("Creating existence for non-existent object: "+_3m.toString());return;}var _4m=null;if(true==_Yk){_4m=_x2._5m(_u4+_j6.x,_v4+_j6.y,_3m);}else {_4m=_x2._5m(_u4,_v4,_3m);}_4m._R4(_6m,0,_4m,_4m);
_4m._R4(_7m,0,_4m,_4m);_4m._8m=true;}function _9m(_j6,_2m,_u4,_v4,_xl,_ul){var _3m=_0k(_2m);if(true!=object_exists(_3m)){debug("Creating instance for non-existent object: "+_3m);return;}var _4m=null;if(true==_Yk){_4m=_x2._5m(_u4+_j6.x,_v4+_j6.y,_3m);}else {_4m=_x2._5m(_u4,_v4,_3m);}_4m.speed=_xl;_4m.direction=_ul;_4m._R4(_6m,0,_4m,_4m);_4m._R4(_7m,0,_4m,_4m);_4m._8m=true;}function _am(_j6,_bm,_cm,_dm,_em,_u4,_v4){if(!object_exists(_bm|0)&&!object_exists(_cm|0)&&!object_exists(_dm|0)&&!object_exists(_em|0)){
return;}while(true){var _x5=~~_Gl(4);var id=arguments[_x5+1]|0;if(!object_exists(id)){continue;}var _4m;if(true==_Yk){_4m=_x2._5m(_u4+_j6.x,_v4+_j6.y,id);}else {_4m=_x2._5m(_u4,_v4,id);}_4m._R4(_6m,0,_4m,_4m);_4m._R4(_7m,0,_4m,_4m);_4m._8m=true;return;}}function _fm(_j6,_G4,_gm,_hm){var _sl=_0k(_G4);if(sprite_exists(_sl)){_j6.sprite_index=_sl;}if(_gm>=0){_j6.image_index=_gm;}_j6.image_speed=_hm;}function _im(_j6,_7c,_y8){_j6.image_blend=_0k(_7c);_j6.image_alpha=_y8;}var _jm=_im;function _km(_lm,_S2){if(_mm==_nm){
var _om=_0k(_lm);audio_play_sound(_om,1,_S2>=0.5?true:false);}else {var _om=_0k(_lm);if(_S2>=0.5){_pm._qm(_om);}_pm._rm(_om);}}function _sm(_j6,_d5,_tm){var alarm=_0k(_tm);var time=_0k(_d5);if(!_Yk||(_j6.get_timer(alarm)<0)){_j6._um(alarm,time);}else {_j6._um(alarm,_j6.get_timer(alarm)+time);}}function _vm(){game_end();}function _wm(){game_restart();}function _xm(_jl){var _ym;if(_jl<=1){_ym=1;}else {_ym=(_Gl(_0k(1000*_jl))<=1000)?1:0;}return _ym;}function _zm(){var _i3=0;if(typeof(arguments[0])!=typeof(arguments[1])){
if((typeof(arguments[0]=="boolean")&&(typeof(arguments[1])=="number"))){_i3=(arguments[0]==true)?(1-arguments[1]):(0-arguments[1]);}else if((typeof(arguments[1]=="boolean")&&(typeof(arguments[0])=="number"))){_i3=(arguments[1]==true)?(arguments[0]-1):(arguments[0]-0);}else {debug(_1l);return;}}else {if(typeof(arguments[0])=="string"){_i3=(arguments[0]==arguments[1])?0:1;}else {_i3=arguments[0]-arguments[1];}}var result;if(_0k(arguments[2])==1){result=(_i3<0)?1:0;}else if(_0k(arguments[2])==2){result=(_i3>0)?1:0;
}else if(_0k(arguments[2])==3){result=(_i3<=0)?1:0;}else if(_0k(arguments[2])==4){result=(_i3>=0)?1:0;}else {result=(_i3==0)?1:0;}return result;}function _Am(_j6,_Bm,_u4,_v4){var _Xk="";if(typeof(arguments[0])=="number"){if(_Bm==_0k(_Bm)){_Xk=(_0k(_Bm)|0).toString();}else {_Xk=_Bm.toFixed(2).toString();}}else {_Xk=_Bm.toString();}if(_Yk){draw_text(_u4+_j6.x,_v4+_j6.y,_Xk);}else {draw_text(_u4,_v4,_Xk);}}function _Cm(_Dm){if(_Yk){g_pBuiltIn.score+=_0k(_Dm);}else {g_pBuiltIn.score=_0k(_Dm);}}function _Em(){var result;
if(_0k(arguments[1])==1){result=(g_pBuiltIn.score<arguments[0])?1:0;}else if(_0k(arguments[1])==2){result=(g_pBuiltIn.score>arguments[0])?1:0;}else {result=(g_pBuiltIn.score==arguments[0])?1:0;}return result;}function _Fm(_j6,_u4,_v4,_Gm){var _Hm="";if(_Gm){_Hm=_Gm;}var score=_Hm+g_pBuiltIn.score.toString();if(_Yk){draw_text(_u4+_j6.x,_v4+_j6.y,score);}else {draw_text(_u4,_v4,score);}}function _Im(_Jm){var _Km=g_pBuiltIn.lives;if(true==_Yk){g_pBuiltIn.lives+=_0k(_Jm);}else {g_pBuiltIn.lives=_0k(_Jm);}if((_Km>0)&&(g_pBuiltIn.lives<=0)){
_Lm._R4(_Mm,0);}}function _Nm(){var result;if(_0k(arguments[1])==1){result=(g_pBuiltIn.lives<arguments[0])?1:0;}else if(_0k(arguments[1])==2){result=(g_pBuiltIn.lives>arguments[0])?1:0;}else {result=(g_pBuiltIn.lives==arguments[0])?1:0;}return result;}function _Om(_j6,_u4,_v4,_Pm){var _Qm=_Pm;if(!_Qm){_Qm="";}var lives=_Qm+g_pBuiltIn.lives.toString();if(_Yk){draw_text(_u4+_j6.x,_v4+_j6.y,lives);}else {draw_text(_u4,_v4,lives);}}function _Rm(_j6,_u4,_v4,_G4){if(sprite_exists(_0k(_G4))){var _Sm=_H4._I4(_0k(_G4));
var w=_Sm.width;for(var i=0;i<g_pBuiltIn.lives;i++){if(_Yk){_Sm._58(0,_u4+_j6.x+(i*w),_v4+_j6.y,1,1,0,_Tm,1);}else {_Sm._58(0,_u4+(i*w),_v4,1,1,0,_Tm,1);}}}}function _Um(_j6,_Vm){var _Wm=0.0;_Wm=g_pBuiltIn.health;if(true==_Yk){g_pBuiltIn.health+=_Vm;}else {g_pBuiltIn.health=_Vm;}if((_Wm>0)&&(g_pBuiltIn.health<=0)){_Lm._R4(_Xm,0);}}function _Ym(_j6,_Zm,__m){var result;__m=~~__m;if(__m==1){result=(g_pBuiltIn.health<_Zm)?1:0;}else if(__m==2){result=(g_pBuiltIn.health>_Zm)?1:0;}else {result=(g_pBuiltIn.health==_Zm)?1:0;
}return result;}function _0n(_1n,_2n,_3n,_4n,_5n,_6n){g_pBuiltIn.show_score=_0k(_1n)==1?true:false;g_pBuiltIn.caption_score=_2n;g_pBuiltIn.show_lives=_0k(_3n)==1?true:false;g_pBuiltIn.caption_lives=_4n;g_pBuiltIn.show_health=_0k(_5n)==1?true:false;g_pBuiltIn.caption_health=_6n;}function _7n(_j6,_G4,_u4,_v4,_gm){if(!sprite_exists(_0k(_G4))){debug(__k);return;}var _8n;if(_gm<0){_8n=_j6.image_index;}else {_8n=Math.floor(_gm);}var _Sm=_H4._I4(_0k(_G4));if(_Yk){_Sm._58(_8n,_u4+_j6.x,_v4+_j6.y,1,1,0,_Tm,1);
}else {_Sm._58(_8n,_u4,_v4,1,1,0,_Tm,1);}}function _9n(_j6,_an,_u4,_v4,_bn){_Ma("action_draw_background()");}function _cn(_j6,_dn,_u4,_v4){if(_Yk){draw_text(_u4+_j6.x,_v4+_j6.y,_dn);}else {draw_text(_u4,_v4,_dn);}}function _en(_j6,_fn,_u4,_v4,_gn,_hn,_C3){if(_Yk){draw_text_transformed(_u4+_j6.x,_v4+_j6.y,_fn,_gn,_hn,_C3);}else {draw_text_transformed(_u4,_v4,_fn,_gn,_hn,_C3);}}function _in(_j6,_u4,_v4,_s5,_t5,_jn){if(_Yk){draw_rectangle(_u4+_j6.x,_v4+_j6.y,_s5+_j6.x,_t5+_j6.y,(_jn>=0.5)?true:false);}else {
draw_rectangle(_u4,_v4,_s5,_t5,(_jn>=0.5)?true:false);}}function _kn(_j6,_u4,_v4,_s5,_t5){if(_Yk){draw_line(_u4+_j6.x,_v4+_j6.y,_s5+_j6.x,_t5+_j6.y);}else {draw_line(_u4,_v4,_s5,_t5);}}function _ln(_7c){draw_set_color(_7c);}var _mn=_ln;function _nn(_on,_pn){draw_set_font(_on);draw_set_halign(_pn);}function _qn(_j6,_u4,_v4,_s5,_t5,_7c,_rn){var _sn=0;var _tn=0;var _un=0;var _vn=0;switch(_0k(_7c)){case 0:_sn=_wn;break;case 1:_sn=_wn;break;case 2:_sn=_xn;break;case 3:_sn=_yn;break;case 4:_sn=_Tm;break;case 5:_sn=_zn;
break;case 6:_sn=_An;break;case 7:_sn=_Bn;break;case 8:_sn=_Cn;break;case 9:_sn=_Dn;break;case 10:_sn=_En;break;case 11:_sn=_Fn;break;case 12:_sn=_Gn;break;case 13:_sn=_Hn;break;case 14:_sn=_In;break;case 15:_sn=_Jn;break;case 16:_sn=_Kn;break;}switch(_0k(_rn)){case 0:{_tn=_Fn;_un=_Hn;_vn=_Gn;}break;case 1:{_tn=_wn;_un=_xn;_vn=_Tm;}break;case 2:_tn=_wn;break;case 3:_tn=_xn;break;case 4:_tn=_yn;break;case 5:_tn=_Tm;break;case 6:_tn=_zn;break;case 7:_tn=_An;break;case 8:_tn=_Bn;break;case 9:_tn=_Cn;break;case 10:_tn=_Dn;
break;case 11:_tn=_En;break;case 12:_tn=_Fn;break;case 13:_tn=_Gn;break;case 14:_tn=_Hn;break;case 15:_tn=_In;break;case 16:_tn=_Jn;break;case 17:_tn=_Kn;break;}if(_0k(_rn)>1){_un=_tn;_vn=_tn;}if(_Yk){_Ln(_u4+_j6.x,_v4+_j6.y,_s5+_j6.x,_t5+_j6.y,g_pBuiltIn.health,_sn,_tn,_un,_vn,0,(_7c>=0.5)?true:false,true);}else {_Ln(_u4,_v4,_s5,_t5,g_pBuiltIn.health,_sn,_tn,_un,_vn,0,(_7c>=0.5)?true:false,true);}}function _Mn(_Nn,_On){room_goto(_0k(_Nn));}function _Pn(){room_restart();}function _Qn(){room_goto_previous();
}function _Rn(){room_goto_next();}function _Sn(){return((g_pBuiltIn.get_current_room()!=g_pBuiltIn.room_first)?1:0);}function _Tn(){return((g_pBuiltIn.get_current_room()!=g_pBuiltIn.room_last)?1:0);}function _Un(_Ek){if(_5l<0){_5l=_Vn();}_Wn(_5l);_Xn(_5l,_0k(_Ek));_6l=new Array(16);_7l=new Array(16);for(var i=0;i<16;i++){_6l[i]=-1;_7l[i]=-1;}}function _Yn(){if(_5l>=0){_Zn(_5l);}_5l=-1;}function __n(){if(_5l>=0){_0o(_5l);}}function _1o(_sc,_2o,_3o,_4o,_5o,_6o){var type=_0k(_sc);var shape=_0k(_2o);var _7o=_0k(_5o);
var _8o=_0k(_6o);if(_5l<0){_5l=_Vn();}if(_6l[type]<0){_6l[type]=_9o();}var _ao=_6l[type];_bo(_ao,shape);_co(_ao,_3o,_4o,0,0);_do(_ao,_7o,_8o);}function _eo(_sc,_2o,_G4,_3o,_4o,_fo){var type=_0k(_sc);var shape=_0k(_2o);var _Sm=_0k(_G4);if(_5l<0){_5l=_Vn();}if(_6l[type]<0){_6l[type]=_9o();}var _ao=_6l[type];_bo(_ao,shape);_go(_ao,_Sm,true,false,false);_co(_ao,_3o,_4o,_fo,0);}function _ho(_sc,_io,_5o,_6o,_jo,_ko){var type=_0k(_sc);var _lo=_0k(_io);var _7o=_0k(_5o);var _8o=_0k(_6o);if(_5l<0){_5l=_Vn();}if(_6l[type]<0){
_6l[type]=_9o();}var _ao=_6l[type];if(_lo==0){_mo(_ao,_7o,_8o);}else {_do(_ao,_7o,_8o);}_no(_ao,_jo,_ko);}var _oo=_ho;function _po(_sc,_qo,_ro){var type=_0k(_sc);var _so=_0k(_qo);var _to=_0k(_ro);if(_5l<0){_5l=_Vn();}if(_6l[type]<0){_6l[type]=_9o();}var _ao=_6l[type];_uo(_ao,_so,_to);}function _vo(_sc,_wo,_xo,_yo,_zo,_Ao){var type=_0k(_sc);if(_5l<0){_5l=_Vn();}if(_6l[type]<0){_6l[type]=_9o();}var _ao=_6l[type];_Bo(_ao,_wo,_xo,-_Ao,0);_Co(_ao,_yo,_zo,0,0);}function _Do(_sc,_Eo,_Fo){var type=_0k(_sc);if(_5l<0){
_5l=_Vn();}if(_6l[type]<0){_6l[type]=_9o();}var _ao=_6l[type];_Go(_ao,_Eo,_Fo);}function _Ho(_sc,_Io,_Jo,_Ko,_Lo){var type=_0k(_sc);var _Mo=_0k(_Jo);var _No=_0k(_Io);var _Oo=_0k(_Lo);var _Po=_0k(_Ko);if(_5l<0){_5l=_Vn();}if(_6l[type]<0){_6l[type]=_9o();}var _ao=_6l[type];_Qo(_ao,_Mo,_6l[_No]);_Ro(_ao,_Oo,_6l[_Po]);}function _So(_To,_2o,_Uo,_Vo,_Wo,_Xo){var _Yo=_0k(_To);var shape=_0k(_2o);if(_5l<0){_5l=_Vn();}if(_7l[_Yo]<0){_7l[_Yo]=_Zo(_5l);}var __o=_7l[_Yo];_0p(_5l,__o,_Uo,_Vo,_Wo,_Xo,shape,_1p);}function _2p(_To){
var _Yo=_0k(_To);if(_5l<0){_5l=_Vn();}if(_7l[_Yo]<0){return;}var __o=_7l[_Yo];_3p(_5l,__o);}function _4p(_To,_sc,_5p){var _Yo=_0k(_To);var type=_0k(_sc);var _bk=_0k(_5p);if(_5l<0){_5l=_Vn();}if(_7l[_Yo]<0){debug(_4l);return;}var __o=_7l[_Yo];_6p(_5l,__o,_6l[type],_bk);}function _7p(_To,_sc,_5p){var _Yo=_0k(_To);var type=_0k(_sc);var _bk=_0k(_5p);if(_5l<0){_5l=_Vn();}if(_7l[_Yo]<0){debug(_4l);return;}var __o=_7l[_Yo];_8p(_5l,__o,_6l[type],_bk);}function _9p(_j6,_u4,_v4,_s5,_t5,_ap,_rn){if(_Yk){_bp(_u4+_j6.x,_v4+_j6.y,
_s5+_j6.x,_t5+_j6.y,_ap,_rn,false,false);}else {_bp(_u4,_v4,_s5,_t5,_ap,_rn,false,false);}}function _cp(_j6,_u4,_v4,_s5,_t5,_ap,_rn){if(_Yk){_bp(_u4+_j6.x,_v4+_j6.y,_s5+_j6.x,_t5+_j6.y,_ap,_rn,true,false);}else {_bp(_u4,_v4,_s5,_t5,_ap,_rn,true,false);}}function _dp(_j6,_u4,_v4,_s5,_t5,_ec){if(_Yk){draw_arrow(_u4+_j6.x,_v4+_j6.y,_s5+_j6.x,_t5+_j6.y,_ec);}else {draw_arrow(_u4,_v4,_s5,_t5,_ec);}}function _ep(_j6,_fp,_gp,_hp){var _ip=_fp;var _jp=_gp;if(_Yk){_ip+=_j6.x;_jp+=_j6.y;}if(_0k(_hp)==0){return place_free(_j6,
_ip,_jp)?1:0;}return place_empty(_j6,_ip,_jp)?1:0;}function _kp(_j6,_fp,_gp,_hp){var _ip=_fp;var _jp=_gp;if(_Yk){_ip+=_j6.x;_jp+=_j6.y;}if(_0k(_hp)==0){return !place_free(_j6,_ip,_jp)?1:0;}return !place_empty(_j6,_ip,_jp)?1:0;}function _lp(_fp){return _fp;}function _mp(_fp,_gp,_hp){var _x5=instance_number(_0k(_fp));var result;if(_0k(_hp)==1){result=(_x5<_gp)?1:0;}else if(_0k(_hp)==2){result=(_x5>_gp)?1:0;}else {result=(_x5==_gp)?1:0;}return result;}function _np(_j6,_Ej,_u4,_v4){if(_Yk){return place_meeting(_j6,
_u4+_j6.x,_v4+_j6.y,_0k(_Ej))?1:0;}return place_meeting(_j6,_u4,_v4,_0k(_Ej))?1:0;}function _op(_fp){var result;switch(_0k(_fp)){case 1:result=(_yf._pp(1)||_yf._qp(1))?1:0;break;case 2:result=(_yf._pp(2)||_yf._qp(2))?1:0;break;case 3:result=(_yf._pp(3)||_yf._qp(3))?1:0;break;default :result=(_yf._rp()==0)?1:0;}return result;}function _sp(_j6,_u4,_v4){if(_u4>0){if(Math.abs(_j6.x-_u4*_0k(_j6.x/_u4))>=0.001){return 0;}}if(_v4>0){if(Math.abs(_j6.y-_v4*_0k(_j6.y/_v4))>=0.001){return 0;}}return 1;}function _tp(_j6,
_up,_xl,_vp,_wp){_j6._xp(_0k(_up),_xl,1,0,(_wp>=0.5)?true:false,_0k(_vp));}function _yp(_j6){_j6._xp(-1,0,1,0,false,0);}function _zp(_j6,_Uj){if(_Yk){_j6.path_position+=_Uj;}else {_j6.path_position=_Uj;}}function _Ap(_j6,_xl){if(_Yk){_j6.path_speed=_j6.path_speed+_xl;}else {_j6.path_speed=_xl;}}function _Bp(_j6,_u4,_v4,_Cp,_Dp){if(_Yk){mp_linear_step(_j6,_u4+_j6.x,_v4+_j6.y,_Cp,(_Dp>=0.5)?true:false);}else {mp_linear_step(_j6,_u4,_v4,_Cp,(_Dp>=0.5)?true:false);}}function _Ep(_j6,_u4,_v4,_Cp,_Dp){if(_Yk){
mp_potential_step(_j6,_u4+_j6.x,_v4+_j6.y,_Cp,(_Dp>=0.5)?true:false);}else {mp_potential_step(_j6,_u4,_v4,_Cp,(_Dp>=0.5)?true:false);}}function _Fp(_j6,_Gp){if(!_j6)return;event_inherited(_j6,_Gp);}function _Hp(_j6,_Ip,_Jp){instance_change(_j6,_Ip|0,(_Jp>=0.5)?true:false);}function _Kp(_j6,_u4,_v4){if(_Yk){position_destroy(_j6,_u4+_j6.x,_v4+_j6.y);}else {position_destroy(_j6,_u4,_v4);}}function _Lp(_lm){if(_mm==_nm){var _om=_0k(_lm);audio_stop_sound(_om);}else {var _om=_pm._I4(_0k(_lm));if((_om!=null)&&(_om!=undefined)){
_pm._Mp(_lm);}else {debug(_Zk);}}}function _Np(_lm){if(_mm==_nm){var _om=_0k(_lm);return audio_is_playing(_om);}else {var _om=_pm._I4(_0k(_lm));if((_om!=null)&&(_om!=undefined)){return(_pm._Op(_lm)?1:0);}return 0;}}function _Pp(_j6,_Kb,_u4,_v4,_ec,_7c,_Qp){var _Rp=(_Qp<0.5)?_Sp:_Tp;if(_Yk){_Up(_Rp,_0k(_Kb),_u4+_j6.x,_v4+_j6.y,_0k(_ec),_0k(_7c));}else {_Up(_Rp,_0k(_Kb),_u4,_v4,_0k(_ec),_0k(_7c));}}function _Vp(_Wp){alert(_Wp);}function _Xp(_j6,_Ll,_Ml,_y4,_ul){_j6.image_xscale=_Ll;_j6.image_yscale=_Ml;_j6.image_angle=_y4;
if((_ul==1)||(_ul==3)){_j6.image_xscale=-_j6.image_xscale;}if((_ul==2)||(_ul==3)){_j6.image_yscale=-_j6.image_yscale;}}function _Yp(_Zp,__p){if(__p>=0.5){_x2._58();}_0q(_Zp);}function _1q(_2q){surface_save(0,_2q);}function _3q(_G4,_2q,_4q){if(!sprite_exists(_0k(_G4))){debug(_2l);return;}if(!file_exists(_2q)){debug(_3l);return;}var _Sm=_H4._I4(_0k(_G4));sprite_replace(_0k(_G4),_2q,_0k(_4q),_Sm._5q,_Sm.transparent,_Sm.smooth,_Sm.preload,_Sm.xOrigin,_Sm.yOrigin);}function _6q(_lm,_2q){if(!_7q(_0k(_lm))){
debug(_2l);return;}if(true!=file_exists(_2q)){debug(_3l);return;}var _om=_pm._I4(_0k(_lm));_8q(_0k(_lm),_2q,_om.kind,_om.preload);}function _9q(_an,_2q){if(!_aq(_0k(_an))){debug(_2l);return;}if(!file_exists(_2q)){debug(_3l);return;}var _bq=_cq._I4(_0k(_an));_dq(_0k(_an),_2q,_bq.transparent,_bq.smooth,_bq.preload);}function _eq(_j6,_N2,_Uj){_fq(_j6,_N2,_Uj,0,0);}function _fq(_j6,_N2,_Uj,_gq,_S2){_j6.timeline_index=_N2;_j6.timeline_position=_Uj;_j6._hq=_gq;_j6._iq=_S2;}function _jq(_j6,_Uj){if(_Yk){_j6.timeline_position+=_Uj;
}else {_j6.timeline_position=_Uj;}}function _kq(_j6,_xl){if(_Yk){_j6.timeline_speed+=_xl;}else {_j6.timeline_speed=_xl;}}function _lq(_j6){_j6._hq=false;}function _mq(_j6){_j6._hq=true;_j6.timeline_position=0;}function _nq(_j6){_j6._hq=true;}function _oq(_j6,_u4,_v4,_s5,_t5,_jn){if(_Yk){draw_ellipse(_u4+_j6.x,_v4+_j6.y,_s5+_j6.x,_t5+_j6.y,(_jn>=0.5)?true:false);}else {draw_ellipse(_u4,_v4,_s5,_t5,(_jn>=0.5)?true:false);}}function _pq(_j6,_u4,_v4,_s5,_t5,_ap,_rn){if(_Yk){_qq(_u4+_j6.x,_v4+_j6.y,_s5+_j6.x,
_t5+_j6.y,_ap,_rn,false);}else {_qq(_u4,_v4,_s5,_t5,_ap,_rn,false);}}function _rq(_sq){_tq(_sq);}function _uq(_sq){_tq(_sq);}function _vq(_wq,_xq,_ap,_rn,_yq,_zq,_Aq){var x,y;x=(g_pBuiltIn.room_width/2)-100;y=(g_pBuiltIn.room_height/2)-100;draw_highscore(x,y,x+200,y+200);}function _Bq(){highscore_clear();_Cq();}function _Dq(_Eq){}function _Fq(_F2){var _Gq=null;if(typeof(_F2)=="object"){_Gq=_F2;}else {var _Hq=yyGetInt32(_F2);_Gq=_Iq._Jq(_Hq);}return _Gq;}function animcurve_get(_Kq){if(arguments.length!=1){_L3("animcurve_get() - wrong number of arguments");
return;}var _Gq=_Fq(_Kq);if(_Gq==null){_L3("animcurve_get() - specified curve not valid");}else {return _Gq;}return -1;}function animcurve_get_channel_index(_Lq,_Mq){var result=-1;if(arguments.length!=2){_L3("animcurve_get_channel_index() - wrong number of arguments");return result;}var _Gq=_Fq(_Lq);if(_Gq==null){_L3("animcurve_get_channel_index() - specified curve not valid");return result;}var name=yyGetString(_Mq);for(var i=0;i<_Gq._Nq;i++){var _Oq=_Gq._Pq[i];if((_Oq!=null)&&(_Oq._Qq!=null)&&_Oq._Qq==name){
result=i;break;}}return result;}function animcurve_get_channel(_Lq,_Rq){var result=-1;if(arguments.length!=2){_L3("animcurve_get_channel() - wrong number of arguments");return;}if(typeof(_Lq)!="number"&&typeof(_Lq)!="object"){_L3("animcurve_get_channel() - first parameter must be either curve ID or curve object");return;}if(typeof(_Rq)!="number"&&typeof(_Rq)!="string"){_L3("animcurve_get_channel() - second parameter must be either channel index or channel name");return;}var _Gq=_Fq(_Lq);if(_Gq!=null){
if(typeof(_Rq)=="number"){var _Sq=yyGetInt32(_Rq);if((_Sq<0)||(_Sq>=_Gq._Nq)){_L3("animcurve_get_channel() - specified channel index out of range");return;}if(_Gq._Pq[_Sq]==null){_L3("animcurve_get_channel() - specified channel is invalid");return;}result=_Gq._Pq[_Sq];}else {var name=yyGetString(_Rq);for(var i=0;i<_Gq._Nq;i++){var _Oq=_Gq._Pq[i];if((_Oq!=null)&&(_Oq._Qq!=null)&&_Oq._Qq==name){result=_Oq;break;}}}}return result;}function animcurve_channel_evaluate(_Tq,_Zm){if(arguments.length!=2){_L3("animcurve_channel_evaluate() - wrong number of arguments");
return;}if(_Tq==null||!(_Tq instanceof _Uq)){_L3("animcurve_channel_evaluate() - first parameter is not valid animation curve channel");return;}return _Tq._Vq(yyGetReal(_Zm));}function animcurve_create(){var _Gq=_Iq._Wq();if(_Gq==null){_L3("animcurve_create() - could not create new curve");}return _Gq;}function animcurve_destroy(_Lq){if(arguments.length!=1){_L3("animcurve_destroy() - requires a curve ID or object");}var _Gq=_Fq(_Lq);if(_Gq==null){_L3("animcurve_destroy() - specified curve not valid");}else if(_Gq._Xq==true){
_L3("animcurve_destroy() - can't delete a curve created in the IDE");}else {_Iq._Yq(_Gq);}}function animcurve_exists(_Lq){if(arguments.length!=1){_L3("animcurve_exists() - requires a curve ID or struct");}var _Zq=false;if(typeof(_Lq)=="object"){if(_Lq instanceof __q){if(_Iq._0r(_Lq)){_Zq=true;}}}else {var _Hq=yyGetInt32(_Lq);if(_Iq._Jq(_Hq)!=null){_Zq=true;}}return _Zq?1.0:0.0;}function animcurve_channel_new(){return new _Uq();}function animcurve_point_new(){return new _1r();}function _aq(_2r){var _3r=_cq._4r(_2r);
if((_3r===null)||(_3r===undefined)){return false;}return true;}function _5r(_2r){var _6r=_cq._4r(_2r);if(!_6r)return "";return _6r.pName;}function _7r(_2r){return _5r(_2r);}function _8r(_2r){var _6r=_cq._4r(_2r);if(!_6r)return 0;if(_6r._9r===undefined)return 0;return _6r._9r.ow;}function _ar(_2r){var _6r=_cq._4r(_2r);if(!_6r)return 0;if(_6r._9r===undefined)return 0;return _6r._9r.oh;}function _br(_u4,_v4,_oi,_pi,_cr,_dr){var _er=surface_create(_oi,_pi,_fr);var _Kj=_gr._I4(_er);var _hr=_Kj.getContext('2d');_hr.drawImage(canvas,
-_u4,-_v4);if(_cr){_ir(_hr,_oi,_pi);}var _jr=new _kr();var _F3=new _lr();_jr._9r=_F3;_F3.x=0;_F3.y=0;_F3.w=_oi;_F3.h=_pi;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_er;_F3.texture=_Kj;return _cq._mr(_jr);}function _nr(_nf,_u4,_v4,_oi,_pi,_cr,_dr){var _Lj=_gr._I4(_nf);var _er=surface_create(_oi,_pi,_fr);var _Kj=_gr._I4(_er);var _hr=_Kj.getContext('2d');_hr.drawImage(_Lj,-_u4,-_v4);if(_cr){_ir(_hr,_oi,_pi);}var _jr=new _kr();var _F3=new _lr();_jr._9r=_F3;
_F3.x=0;_F3.y=0;_F3.w=_oi;_F3.h=_pi;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_er;_F3.texture=_Kj;return _cq._mr(_jr);}function _or(_oi,_pi,_Tb){var _pr=surface_create(_oi,_pi,_fr);var _qr=_gr._I4(_pr);var _hr=_qr.getContext('2d');_hr.globalAlpha=1.0;_hr.fillStyle=_rr(_Ub(_Tb),1);_hr.fillRect(0,0,_oi,_pi);var _jr=new _kr();var _F3=new _lr();_jr._9r=_F3;_F3.x=0;_F3.y=0;_F3.w=_oi;_F3.h=_pi;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;
_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_pr;_F3.texture=_qr;return _cq._mr(_jr);}var _sr=_or;function _tr(_oi,_pi,_ap,_rn,_Kb){var _pr=surface_create(_oi,_pi,_fr);var _qr=_gr._I4(_pr);var _hr=_qr.getContext('2d');_hr.globalAlpha=1.0;var _ur;if(_Kb==0){_ur=_hr.createLinearGradient(0,0,_oi,0);}else {_ur=_hr.createLinearGradient(0,0,0,_pi);}_ur.addColorStop("0",_rr(_Ub(_ap),1));_ur.addColorStop("1.0",_rr(_Ub(_rn),1));_hr.fillStyle=_ur;_hr.fillRect(0,0,_oi,_pi);var _jr=new _kr();var _F3=new _lr();_jr._9r=_F3;_F3.x=0;_F3.y=0;
_F3.w=_oi;_F3.h=_pi;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_pr;_F3.texture=_qr;return _cq._mr(_jr);}function _vr(_x3){return _cq._wr(_x3);}function _xr(_yr){var _6r=_cq._4r(_yr);if(_6r!=null&&_6r!=undefined){var _zr=_Ar(_6r._9r);var _jr=new _kr();_jr.pName=_6r.pName;_jr.transparent=_6r.transparent;_jr.smooth=_6r.smooth;_jr.preload=_6r.preload;_jr._Br=true;var _F3=_jr._9r=new _lr();_F3._Br(_6r._9r);_F3.tp=_Cr(_zr);_F3.texture=_J3[_F3.tp];_F3.texture.complete=true;
_F3.x=0;_F3.y=0;return _cq._mr(_jr);}return -1;}function _Dr(_tj,_si){var _Kj=_cq._4r(_tj);var _Lj=_cq._4r(_si);if(_Kj!=null&&_Kj!=undefined&&_Lj!=null&&_Lj!=undefined){var _zr=_Ar(_Lj._9r);var _jr=new _kr();_jr.pName=_Lj.pName;_jr.transparent=_Lj.transparent;_jr.smooth=_Lj.smooth;_jr.preload=_Lj.preload;_jr._9r=new _lr();_jr._9r._Br(_Lj._9r);_jr._9r.tp=_Cr(_zr);_jr._9r.texture=_J3[_jr._9r.tp];_jr._9r.texture.complete=true;_jr._9r.x=0;_jr._9r.y=0;return _cq._Er(_tj,_jr);}}function _Fr(_yr,_u4,_v4){var _zr=_cq._4r(_yr);
if(!_zr)return;_Gr(_zr._9r,_u4,_v4,_Rb);}function _Hr(_yr,_u4,_v4,_oi,_pi){var _zr=_cq._4r(_yr);if(!_zr)return;_Ir(_zr._9r,_u4,_v4,_oi,_pi,0xffffff,_Rb);}function _Jr(_yr,_u4,_v4){var _zr=_cq._4r(_yr);if(!_zr)return;_Kr(_zr._9r,_u4,_v4,1,1,true,true,0xffffff,_Rb);}function _Lr(_yr,_Mr,_Nr,_q7,_r7,_u4,_v4){var _zr=_cq._4r(_yr);if(!_zr)return;_Or(_zr._9r,_Mr,_Nr,_q7,_r7,_u4,_v4,1,1,_Tm,_Rb);}function _Pr(_yr,_u4,_v4,_gn,_hn,_C3,_Qr,_y8){var _zr=_cq._4r(_yr);if(!_zr)return;var c=_Ub(_Qr);_Rr(_zr._9r,0,0,_u4,
_v4,_gn,_hn,_C3*Math.PI/180.0,c,c,c,c,_y8);}function _Sr(_yr,_u4,_v4,_oi,_pi,_Qr,_y8){var _zr=_cq._4r(_yr);if(!_zr)return;_Qr=_Ub(_Qr);_Ir(_zr._9r,_u4,_v4,_oi,_pi,_Qr,_y8);}function _Tr(_yr,_u4,_v4,_gn,_hn,_Qr,_y8){var _zr=_cq._4r(_yr);if(!_zr)return;_Qr=_Ub(_Qr);_Kr(_zr._9r,_u4,_v4,_gn,_hn,true,true,_Qr,_y8);}function _Ur(_yr,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_Qr,_y8){var _zr=_cq._4r(_yr);if(!_zr)return;_Qr=_Ub(_Qr);_Or(_zr._9r,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_Qr,_y8);}function _Vr(_yr,_Mr,_Nr,_q7,_r7,_u4,
_v4,_gn,_hn,_C3,_Wr,_Xr,_Yr,_Zr,_y8){var _6r=_cq._4r(_yr);if(!_6r)return;_Wr=_Ub(_Wr);_Xr=_Ub(_Xr);_Yr=_Ub(_Yr);_Zr=_Ub(_Zr);__r(_6r._9r,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_C3*Math.PI/180.0,_Wr,_Xr,_Yr,_Zr,_y8);}function _0s(_x3,_yr){var _Kj=_cq._4r(_x3);var _Lj=_cq._4r(_yr);if(!_Kj||!_Lj)return;if(!_Kj._Br){var _zr=_Ar(_Kj._9r);var _jr=new _kr();_Kj._9r.tp=_Cr(_zr);_Kj._9r.texture=_J3[_Lj._9r.tp];_Kj._9r.texture.complete=true;_Kj._9r.x=0;_Kj._9r.y=0;_Kj._Br=true;}_1s(_Kj._9r,_Lj._9r);}function _2s(_rk,_cr,
_dr){var _jr=new _kr();_jr.pName="";_jr.transparent=_cr;_jr.smooth=_dr;_jr.preload=true;var _3s=_cq._mr(_jr);if(_rk.substring(0,5)=="file:")return -1;var _4s=_rk;var _W3=_L7(_4s);_J3[_W3].onload=_5s;_J3[_W3].onerror=_6s;_Je._Ke(_3s,_rk,_7s,_J3[_W3]);var _F3=new _lr();_jr._9r=_F3;_F3.x=0;_F3.y=0;_F3.w=0;_F3.h=0;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_W3;_F3.texture=_J3[_F3.tp];return _3s;}function _dq(_x3,_rk,_cr,_dr){var _jr=_cq._4r(_x3);_jr.transparent=_cr;
_jr.smooth=_dr;if(_rk.substring(0,5)=="file:")return -1;var _4s=_rk;var _8s=_jr._9r.texture._R7;var _W3=_L7(_4s);_J3[_W3]._R7=_8s;_J3[_W3].onload=_5s;_J3[_W3].onerror=_6s;_Je._Ke(_x3,_rk,_7s,_J3[_W3]);var _F3=_jr._9r;_F3.x=0;_F3.y=0;_F3.w=0;_F3.h=0;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3._9s=null;_F3._as=0;_F3.tp=_W3;_F3.texture=_J3[_F3.tp];return _x3;}function _bs(_x3){var _Kj=_cq._4r(_x3);if(_Kj){return({_Lb:_Kj._9r.texture,_Mb:_Kj._9r});}return null;
}function _cs(_x3){var _Kj=_cq._4r(_x3);if(_Kj){var _F3=_Kj._9r;var texture=_F3.texture;var _ds=1.0/texture._3c;var _es=1.0/texture._4c;var _fs=[];_fs.push(_F3.x*_ds,_F3.y*_es,(_F3.x+_F3.CropWidth)*_ds,(_F3.y+_F3.CropHeight)*_es);return _fs;}return null;}function _gs(_hs){var _6r=_cq._I4(_hs);if(_6r===null){return -1;}var _F3=_6r._9r;if(_F3.texture){if(_F3.texture._R7){_S7(_F3.texture._R7);return 0;}}return -1;}function _is(_js){if(Array.isArray(_js)){for(var _35=0;_35<_js.length;_35++){var _6r=_cq._I4(_js[_35]);
if(_6r===null){return -1;}var _F3=_6r._9r;if(_F3.texture){if(_F3.texture._R7){_S7(_F3.texture._R7);return 0;}}}return 0;}else {return -1;}}function _ks(_hs){var _6r=_cq._I4(_hs);if(_6r===null){return -1;}var _F3=_6r._9r;if(_F3.texture){if(_F3.texture._R7){_ls(_F3.texture._R7);return 0;}}return -1;}function _ms(_js){if(Array.isArray(_js)){for(var _35=0;_35<_js.length;_35++){var _6r=_cq._I4(_js[_35]);if(_6r===null){return -1;}var _F3=_6r._9r;if(_F3.texture){if(_F3.texture._R7){_ls(_F3.texture._R7);return 0;}}}return 0;
}else {return -1;}}var _ns=[];var _os=0;function _ps(target){if(typeof target.onselectstart!="undefined"){target.onselectstart=function(){return false;};}else if(typeof target.style.MozUserSelect!="undefined"){target.style.MozUserSelect="none";}else {target.onmousedown=function(){return false;};}target.style.cursor="default";}function _qs(_u4,_v4,_rs,_ss,_ts,_us){var _Tf=document.getElementById("canvas").parentNode;var _vs=document.getElementById("canvas");var _ws=document.createElement("div");_ws.style.cssText="-moz-user-select: -moz-none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none;user-select: none;";
_ws._xs=false;_ws.setAttribute("id","gamemaker_image");_ws.style.position="absolute";_ws._L8=_rs;var left=_u4+_rs.tpe_XOffset;var top=_v4+_rs.tpe_YOffset;_ws.style.left=left+"px";_ws.style.top=top+"px";_ws.style.width=_rs.tpe_CropWidth+"px";_ws.style.height=_rs.tpe_CropHeight+"px";_ws.style.padding="0px";_ws.style.margin="0px";_ws.style.border="0px";_ps(_ws);_ws.angle=0;_ws.x=_u4;_ws.y=_v4;var _ys=document.createElement('button');_ys.onmousemove=_zs;_ys.type="button";_ys.style.cursor=_ws.style.cursor=_vs.style.cursor;
_ys.style.width=_rs.tpe_CropWidth+"px";_ys.style.height=_rs.tpe_CropHeight+"px";_ys.style.opacity="1.0";_ys.style.backgroundColor="rgba(0, 0, 0, 0.0)";_ys.style.border="0px";_ys.style.backgroundImage="url("+_rs.tpe_texture.src+")";_ys.style.backgroundPosition=(-_rs.tpe_x)+"px "+(-_rs.tpe_y)+"px";_ys.onclick=function(){if((_ss.substring(0,6)=="http:/")||(_ss.substring(0,6)=="https:")){var _As=window.open(_ss,_ts,_us);return false;}else {var pFunc=eval("gml_Script_"+_ss);if(pFunc)pFunc(null,null,_ts,_us);
return false;}};_ws.insertBefore(_ys,null);_Tf.insertBefore(_ws,null);return _ws;}function clickable_add(_u4,_v4,_rs,_ss,_ts,_us){_ns[_os]=_qs(yyGetReal(_u4),yyGetReal(_v4),_rs,yyGetString(_ss),yyGetString(_ts),yyGetString(_us));return _os++;}function clickable_add_ext(_u4,_v4,_rs,_ss,_ts,_us,_rl,_y8){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_ss=yyGetString(_ss);_ts=yyGetString(_ts);_us=yyGetString(_us);_ns[_os]=_qs(_u4,_v4,_rs,_ss,_ts,_us);clickable_change_ext(_os,_rs,_u4,_v4,yyGetReal(_y8),yyGetReal(_rl));
return _os++;}function clickable_exists(_nf){var _Bs=_ns[yyGetInt32(_nf)];if(_Bs){return true;}else {return false;}}function clickable_delete(_nf){_nf=yyGetInt32(_nf);var _Bs=_ns[_nf];if(_Bs){_Bs.parentNode.removeChild(_Bs);_ns[_nf]=undefined;}}function clickable_change(_nf,_rs,_u4,_v4){var _Bs=_ns[yyGetInt32(_nf)];if(_Bs){if(_Bs.firstChild){var _Cs=_Bs.firstChild;var left=yyGetReal(_u4)+_rs.tpe_XOffset;var top=yyGetReal(_v4)+_rs.tpe_YOffset;_Bs.style.left=left+"px";_Bs.style.top=top+"px";_Bs.style.width=(_rs.tpe_CropWidth)+"px";
_Bs.style.height=(_rs.tpe_CropHeight)+"px";_Cs.style.left=_Bs.style.left;_Cs.style.right=_Bs.style.top;_Cs.style.width=_Bs.style.width;_Cs.style.height=_Bs.style.height;_Cs.style.backgroundPosition=(-_rs.tpe_x)+"px "+(-_rs.tpe_y)+"px";var _Ds=true;var _Es="url("+_rs.tpe_texture.src+")";if(typeof(_Cs.style.backgroundImage)!=undefined){if(_Cs.style.backgroundImage==_Es){_Ds=false;}}if(_Ds==true){_Cs.style.backgroundImage=_Es;}}}}function clickable_change_ext(_nf,_rs,_u4,_v4,_rl,_y8){_nf=yyGetInt32(_nf);
_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_rl=yyGetReal(_rl);_y8=yyGetReal(_y8);clickable_change(_nf,_rs,_u4,_v4);var _Bs=_ns[_nf];if(_Bs){var _Cs=_Bs.firstChild;if(_Bs.x!=_u4){_Bs.style.left=_u4+"px";_Bs.x=_u4;}if(_Bs.y!=_v4){_Bs.style.top=_v4+"px";_Bs.y=_v4;}if(_Cs){_Cs.style.width=_Bs.style.width=(_rs.tpe_CropWidth*_rl)+"px";_Cs.style.height=_Bs.style.height=(_rs.tpe_CropHeight*_rl)+"px";var _Fs=(_rl*_rs.tpe_texture.width*100)/(_rs.tpe_CropWidth);_Cs.style.backgroundSize=(_rl*_rs.tpe_texture.width)+"px "+(_rl*_rs.tpe_texture.height)+"px";
var _Gs=(-_rs.tpe_x*_rl);var _Hs=(-_rs.tpe_y*_rl);_Cs.style.backgroundPosition=_Gs+"px "+_Hs+"px";if(_Cs.style.opacity!=_y8)_Cs.style.opacity=_y8;}}}function clickable_set_style(_Is,_Js){var _Bs=_ns[yyGetInt32(_Is)];var _f6=_g6._I4(yyGetInt32(_Js));if(_Bs&&_f6){var _Cs=_Bs.firstChild;if(_Cs){for(const [key,_yd] of _f6){_Cs.style[key]=_yd;}}}}function _Ks(_Ls,_u4,_v4,_Ej,_ki,_Ms){return _Ns(_Ls,yyGetInt32(_Ej),yyGetBool(_Ms),_Os,_u4,_v4,_ki,function(_Ps){var _Qs=_Ps._Rs(_u4,_v4,_ki);if(!_Qs){return _Os;}return _Ss(_Ts,
_Ps.id);});};function _Us(_Ls,_u4,_v4,_Ej,_ki,_Ms,_U6){_Ns(_Ls,yyGetInt32(_Ej),yyGetBool(_Ms),_Os,_u4,_v4,_ki,function(_Ps){if(_Ps._Rs(_u4,_v4,_ki)){_U6.push(_Ss(_Ts,_Ps.id));}return _Os;});};function collision_point(_Ls,_u4,_v4,_Ej,_ki,_Ms){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_ki=yyGetBool(_ki);if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){if(_Ys(_u4,_v4,_Ej,null,_ki)){return _Ej;}return -1;}else {var id=_Ks(_Ls,_u4,_v4,_Ej,_ki,_Ms);return id;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){
var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){if(_Ys(_u4,_v4,_Zs,null,_ki)){return _Zs;}}else {var id=_Ks(_Ls,_u4,_v4,_Zs,_ki,_Ms);if(id!=_Os)return id;}}return -1;}else {var id=_Ks(_Ls,_u4,_v4,_Ej,_ki,_Ms);return id;}};function __s(_0t,_1t,_2t,_3t){var _4t=[];for(var i=0;i<_0t.length;++i){var _5t=_0t[i];if(_5t instanceof _Vs){var _Ws=_5t.type;if(_Ws==_Xs){var _6t=_7t._8t();var _9t=_7t._at(_6t,_5t.value);var _ha=_9t.x-_2t;var _ia=_9t.y-_3t;var _bt=(_ha*_ha)+(_ia*_ia);var _Tf={_ct:_5t,_dt:_bt};_4t.push(_Tf);_5t=null;
}else _5t=yyInst(null,null,yyGetInt32(_5t));}if(_5t){var _ha=_5t.x-_2t;var _ia=_5t.y-_3t;var _bt=(_ha*_ha)+(_ia*_ia);var _Tf={_ct:_Ss(_Ts,_5t.id),_dt:_bt};_4t.push(_Tf);}}_4t.sort(function(_l3,_k3){return _l3._dt-_k3._dt;});for(var i=0;i<_4t.length;++i){_1t._Ke(_4t[i]._ct);}};function collision_point_list(_Ls,_u4,_v4,_Ej,_ki,_Ms,_U6,_et){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_ki=yyGetBool(_ki);var _Wf=_Ij._I4(yyGetInt32(_U6));if(!_Wf){_L3("Error: invalid ds_list ID (instance_position_list)");return 0;}var _ft=false;
var _gt=[];if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){_Ys(_u4,_v4,_Ej,_gt,_ki);_ft=true;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){_Ys(_u4,_v4,_Zs,_gt,_ki);}else {_Us(_Ls,_u4,_v4,_Zs,_ki,_Ms,_gt);}}_ft=true;}if(!_ft)_Us(_Ls,_u4,_v4,_Ej,_ki,_Ms,_gt);var _u7=_gt.length;__s(_gt,_Wf,_u4,_v4,_et);return _u7;};function _ht(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms){return _Ns(_Ls,yyGetInt32(_Ej),yyGetBool(_Ms),_Os,__5,_06,_s5,_t5,_ki,function(_Ps){
var _Qs=_Ps._it(__5,_06,_s5,_t5,_ki);if(!_Qs){return _Os;}return _Ss(_Ts,_Ps.id);});};function collision_rectangle(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ki=yyGetBool(_ki);if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){if(_jt(__5,_06,_s5,_t5,_Ej,null,_ki)){return _Ej;}return -1;}else {var id=_ht(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms);return id;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){
if(_jt(__5,_06,_s5,_t5,_Zs,null,_ki)){return _Zs;}}else {var id=_ht(_Ls,__5,_06,_s5,_t5,_Zs,_ki,_Ms);if(id!=_Os)return id;}}return -1;}else {var id=_ht(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms);return id;}};function _kt(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms,_U6){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ki=yyGetBool(_ki);return _Ns(_Ls,yyGetInt32(_Ej),yyGetBool(_Ms),_Os,__5,_06,_s5,_t5,_ki,function(_Ps){if(_Ps._it(__5,_06,_s5,_t5,_ki)){_U6.push(_Ss(_Ts,_Ps.id));}return _Os;});};function collision_rectangle_list(_Ls,
__5,_06,_s5,_t5,_Ej,_ki,_Ms,_U6,_et){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ki=yyGetBool(_ki);var _Wf=_Ij._I4(yyGetInt32(_U6));if(!_Wf){_L3("Error: invalid ds_list ID (instance_position_list)");return 0;}var _ft=false;var _gt=[];if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){_jt(__5,_06,_s5,_t5,_Ej,_gt,_ki);_ft=true;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){_jt(__5,_06,_s5,_t5,_Zs,_gt,_ki);
}else {_kt(_Ls,__5,_06,_s5,_t5,_Zs,_ki,_Ms,_gt);}}_ft=true;}if(!_ft)_kt(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms,_gt);var _u7=_gt.length;var _lt=(__5+_s5)*0.5;var _mt=(_06+_t5)*0.5;__s(_gt,_Wf,_lt,_mt,_et);return _u7;};function collision_circle(_Ls,_nt,_ot,_pt,_Ej,_ki,_Ms){return collision_ellipse(_Ls,_nt-_pt,_ot-_pt,_nt+_pt,_ot+_pt,_Ej,_ki,_Ms);};function collision_circle_list(_Ls,_nt,_ot,_pt,_Ej,_ki,_Ms,_U6,_et){var _Wf=_Ij._I4(yyGetInt32(_U6));if(!_Wf){_L3("Error: invalid ds_list ID (collision_circle_list)");return 0;
}return collision_ellipse_list(_Ls,_nt-_pt,_ot-_pt,_nt+_pt,_ot+_pt,_Ej,_ki,_Ms,_U6,_et);};function _qt(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ki=yyGetBool(_ki);return _Ns(_Ls,yyGetInt32(_Ej),yyGetBool(_Ms),_Os,__5,_06,_s5,_t5,_ki,function(_Ps){var _Qs=_Ps._rt(__5,_06,_s5,_t5,_ki);if(!_Qs){return _Os;}return _Ss(_Ts,_Ps.id);});};function _st(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms,_U6){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);
_t5=yyGetReal(_t5);_ki=yyGetBool(_ki);return _Ns(_Ls,yyGetInt32(_Ej),yyGetBool(_Ms),_Os,__5,_06,_s5,_t5,_ki,function(_Ps){if(_Ps._rt(__5,_06,_s5,_t5,_ki)){_U6.push(_Ss(_Ts,_Ps.id));}return _Os;});};function collision_ellipse(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ki=yyGetBool(_ki);if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){if(_tt(__5,_06,_s5,_t5,_Ej,null,_ki)){return _Ej;}return -1;}else {var id=_qt(_Ls,__5,_06,_s5,_t5,_Ej,_ki,
_Ms);return id;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){if(_tt(__5,_06,_s5,_t5,_Zs,null,_ki)){return _Zs;}}else {var id=_qt(_Ls,__5,_06,_s5,_t5,_Zs,_ki,_Ms);if(id!=_Os)return id;}}return -1;}else {var id=_qt(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms);return id;}};function collision_ellipse_list(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms,_U6,_et){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ki=yyGetBool(_ki);var _Wf=_Ij._I4(yyGetInt32(_U6));
if(!_Wf){_L3("Error: invalid ds_list ID (instance_position_list)");return 0;}var _ft=false;var _gt=[];if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){_tt(__5,_06,_s5,_t5,_Ej,_gt,_ki);_ft=true;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){_tt(__5,_06,_s5,_t5,_Zs,_gt,_ki);}else {_st(_Ls,__5,_06,_s5,_t5,_Zs,_ki,_Ms,_gt);}}_ft=true;}if(!_ft)_st(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms,_gt);var _u7=_gt.length;var _lt=(__5+_s5)*0.5;var _mt=(_06+_t5)*0.5;
__s(_gt,_Wf,_lt,_mt,_et);return _u7;};function _ut(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms){return _Ns(_Ls,yyGetInt32(_Ej),yyGetBool(_Ms),_Os,__5,_06,_s5,_t5,_ki,function(_Ps){var _Qs=_Ps._vt(__5,_06,_s5,_t5,_ki);if(!_Qs){return _Os;}return _Ss(_Ts,_Ps.id);});};function _wt(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms,_U6){_Ns(_Ls,yyGetInt32(_Ej),yyGetBool(_Ms),_Os,__5,_06,_s5,_t5,_ki,function(_Ps){if(_Ps._vt(__5,_06,_s5,_t5,_ki)){_U6.push(_Ss(_Ts,_Ps.id));}return _Os;});};function collision_line(_Ls,__5,_06,_s5,_t5,_Ej,_ki,
_Ms){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ki=yyGetBool(_ki);if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){if(_xt(__5,_06,_s5,_t5,_Ej,null,_ki)){return _Ej;}return -1;}else {var id=_ut(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms);return id;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){if(_xt(__5,_06,_s5,_t5,_Zs,null,_ki)){return _Zs;}}else {var id=_ut(_Ls,__5,_06,_s5,_t5,_Zs,_ki,_Ms);if(id!=_Os)return id;}}return -1;
}else {var id=_ut(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms);return id;}};function collision_line_list(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms,_U6,_et){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ki=yyGetBool(_ki);var _Wf=_Ij._I4(yyGetInt32(_U6));if(!_Wf){_L3("Error: invalid ds_list ID (collision_line_list)");return 0;}var _ft=false;var _gt=[];if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){_xt(__5,_06,_s5,_t5,_Ej,_gt,_ki);_ft=true;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){
var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){_xt(__5,_06,_s5,_t5,_Zs,_gt,_ki);}else {_wt(_Ls,__5,_06,_s5,_t5,_Zs,_ki,_Ms,_gt);}}_ft=true;}if(!_ft)_wt(_Ls,__5,_06,_s5,_t5,_Ej,_ki,_Ms,_gt);var _u7=_gt.length;__s(_gt,_Wf,__5,_06,_et);return _u7;};function point_in_rectangle(_2t,_3t,__5,_06,_s5,_t5){_2t=yyGetReal(_2t);_3t=yyGetReal(_3t);if((_2t>=yyGetReal(__5)&&_2t<=yyGetReal(_s5))&&(_3t>=yyGetReal(_06)&&_3t<=yyGetReal(_t5))){return true;}return false;};function rectangle_in_rectangle(_yt,_zt,_At,
_Bt,__5,_06,_s5,_t5){_yt=yyGetReal(_yt);_zt=yyGetReal(_zt);_At=yyGetReal(_At);_Bt=yyGetReal(_Bt);__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);var _Ct=0;var _Dt=0;if(_yt>_At){_Dt=_yt;_yt=_At;_At=_Dt;}if(_zt>_Bt){_Dt=_zt;_zt=_Bt;_Bt=_Dt;}if(__5>_s5){_Dt=__5;__5=_s5;_s5=_Dt;}if(_06>_t5){_Dt=_06;_06=_t5;_t5=_Dt;}if((_yt>=__5&&_yt<=_s5)&&(_zt>=_06&&_zt<=_t5))_Ct|=1;if((_At>=__5&&_At<=_s5)&&(_zt>=_06&&_zt<=_t5))_Ct|=2;if((_At>=__5&&_At<=_s5)&&(_Bt>=_06&&_Bt<=_t5))_Ct|=4;if((_yt>=__5&&_yt<=_s5)&&(_Bt>=_06&&_Bt<=_t5))_Ct|=8;
var result=0;if(_Ct==15){result=1.0;}else if(_Ct==0){result=0.0;_Ct=0;if((__5>=_yt&&__5<=_At)&&(_06>=_zt&&_06<=_Bt))_Ct|=1;if((_s5>=_yt&&_s5<=_At)&&(_06>=_zt&&_06<=_Bt))_Ct|=2;if((_s5>=_yt&&_s5<=_At)&&(_t5>=_zt&&_t5<=_Bt))_Ct|=4;if((__5>=_yt&&__5<=_At)&&(_t5>=_zt&&_t5<=_Bt))_Ct|=8;if(0!=_Ct)result=2.0;else {_Ct=0;if((__5>=_yt&&__5<=_At)&&(_zt>=_06&&_zt<=_t5))_Ct|=1;if((_s5>=_yt&&_s5<=_At)&&(_zt>=_06&&_zt<=_t5))_Ct|=2;if((_s5>=_yt&&_s5<=_At)&&(_Bt>=_06&&_Bt<=_t5))_Ct|=4;if((__5>=_yt&&__5<=_At)&&(_Bt>=_06&&_Bt<=_t5))_Ct|=8;
if(0!=_Ct)result=2.0;else {_Ct=0;if((_yt>=__5&&_yt<=_s5)&&(_06>=_zt&&_06<=_Bt))_Ct|=1;if((_At>=__5&&_At<=_s5)&&(_06>=_zt&&_06<=_Bt))_Ct|=2;if((_At>=__5&&_At<=_s5)&&(_t5>=_zt&&_t5<=_Bt))_Ct|=4;if((_yt>=__5&&_yt<=_s5)&&(_t5>=_zt&&_t5<=_Bt))_Ct|=8;if(0!=_Ct)result=2.0;}}}else {result=2.0;}return result;};function _Et(_Ft,_Gt,_A5,_B5,_C5,_D5,_ja,_ka){var _ua=_ja-_A5;var _wa=_C5-_A5;var _ya=_Ft-_A5;var _va=_ka-_B5;var _xa=_D5-_B5;var _za=_Gt-_B5;var _Ht=(_ua*_ua)+(_va*_va);var _It=(_ua*_wa)+(_va*_xa);var _Jt=(_ua*_ya)+(_va*_za);
var _Kt=(_wa*_wa)+(_xa*_xa);var _Lt=(_wa*_ya)+(_xa*_za);var _Mt=1.0/(_Ht*_Kt-_It*_It);var _04=(_Kt*_Jt-_It*_Lt)*_Mt;var _14=(_Ht*_Lt-_It*_Jt)*_Mt;return((_04>=0.0)&&(_14>=0.0)&&(_04+_14<1.0));};function point_in_triangle(_2t,_3t,__5,_06,_s5,_t5,_Nt,_Ot){return _Et(yyGetReal(_2t),yyGetReal(_3t),yyGetReal(__5),yyGetReal(_06),yyGetReal(_s5),yyGetReal(_t5),yyGetReal(_Nt),yyGetReal(_Ot));};function _Pt(_2t,_3t,_Qt,_Rt,_St){var _Fl=(((_2t-_Qt)*(_2t-_Qt))+((_3t-_Rt)*(_3t-_Rt)));if(_Fl<=_St)return true;return false;
};function point_in_circle(_2t,_3t,_Qt,_Rt,_Tt){return _Pt(yyGetReal(_2t),yyGetReal(_3t),yyGetReal(_Qt),yyGetReal(_Rt),yyGetReal(_Tt)*yyGetReal(_Tt));};function rectangle_in_circle(_Ut,_Vt,_Wt,_Xt,_Qt,_Rt,_Tt){var _A5,_B5,_C5,_D5,_lt,_mt,_Yt,_Zt,__t;_A5=yyGetReal(_Ut);_B5=yyGetReal(_Vt);_C5=yyGetReal(_Wt);_D5=yyGetReal(_Xt);_lt=yyGetReal(_Qt);_mt=yyGetReal(_Rt);_Yt=yyGetReal(_Tt);var _0u=_Yt*_Yt;_Zt=_lt;__t=_mt;if(_Zt<_A5)_Zt=_A5;if(_Zt>_C5)_Zt=_C5;if(__t<_B5)__t=_B5;if(__t>_D5)__t=_D5;var _dt=(_Zt-_lt)*(_Zt-_lt)+(__t-_mt)*(__t-_mt);
var _ym=0.0;if(_dt<=_0u){_ym=2.0;if((_Pt(_A5,_B5,_lt,_mt,_0u))&&(_Pt(_C5,_B5,_lt,_mt,_0u))&&(_Pt(_C5,_D5,_lt,_mt,_0u))&&(_Pt(_A5,_D5,_lt,_mt,_0u))){_ym=1.0;}}return _ym;};function _1u(_Ut,_Vt,_Wt,_Xt,_Qt,_Rt,_Tt){var _A5,_B5,_C5,_D5,_lt,_mt,_Yt,_Zt,__t;_A5=yyGetReal(_Ut);_B5=yyGetReal(_Vt);_C5=yyGetReal(_Wt);_D5=yyGetReal(_Xt);_lt=yyGetReal(_Qt);_mt=yyGetReal(_Rt);_Yt=yyGetReal(_Tt);var _0u=_Yt*_Yt;_Zt=_lt;__t=_mt;if(_Zt<_A5)_Zt=_A5;if(_Zt>_C5)_Zt=_C5;if(__t<_B5)__t=_B5;if(__t>_D5)__t=_D5;var _dt=(_Zt-_lt)*(_Zt-_lt)+(__t-_mt)*(__t-_mt);
var _ym=0.0;if(_dt<=_0u){_ym=2.0;if((Math.abs(_lt-_A5)>_Yt)&&(Math.abs(_lt-_C5)>_Yt)&&(Math.abs(_mt-_B5)>_Yt)&&(Math.abs(_mt-_D5)>_Yt)){_ym=1.0;}}return _ym;};function _2u(_3u,_4u){var _ha=_4u.x-_3u.x;var _ia=_4u.y-_3u.y;var _5u={"x":-_ia,"y":_ha};return _5u;};function _6u(_39,_7u,_5u){var min,max;var _Fl=_39[0].x*_5u.x+_39[0].y*_5u.y;min=max=_Fl;for(var i=1;i<_7u;++i){_Fl=_39[i].x*_5u.x+_39[i].y*_5u.y;if(_Fl<min)min=_Fl;else if(_Fl>max)max=_Fl;}var _8u={"min":min,"max":max};return _8u;};function rectangle_in_triangle(_Ut,
_Vt,_Wt,_Xt,__5,_06,_s5,_t5,_Nt,_Ot){_Ut=yyGetReal(_Ut);_Vt=yyGetReal(_Vt);_Wt=yyGetReal(_Wt);_Xt=yyGetReal(_Xt);__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_Nt=yyGetReal(_Nt);_Ot=yyGetReal(_Ot);var _Ct=0;if(_Et(_Ut,_Vt,__5,_06,_s5,_t5,_Nt,_Ot))_Ct|=1;if(_Et(_Wt,_Vt,__5,_06,_s5,_t5,_Nt,_Ot))_Ct|=2;if(_Et(_Wt,_Xt,__5,_06,_s5,_t5,_Nt,_Ot))_Ct|=4;if(_Et(_Ut,_Xt,__5,_06,_s5,_t5,_Nt,_Ot))_Ct|=8;if(_Ct==15){return 1.0;}else if(_Ct!=0){return 2.0;}var _ao=[];_ao[0]={"x":__5,"y":_06}
;_ao[1]={"x":_s5,"y":_t5};_ao[2]={"x":_Nt,"y":_Ot};var axes=[];axes[0]={"x":0,"y":1};axes[1]={"x":1,"y":0};axes[2]=_2u(_ao[0],_ao[1]);axes[3]=_2u(_ao[1],_ao[2]);axes[4]=_2u(_ao[2],_ao[0]);var _9u=[];_9u[0]={"x":_Ut,"y":_Vt};_9u[1]={"x":_Wt,"y":_Vt};_9u[2]={"x":_Ut,"y":_Xt};_9u[3]={"x":_Wt,"y":_Xt};for(var i=0;i<5;++i){var _5u=axes[i];var _au=_6u(_ao,3,_5u);var _bu=_6u(_9u,4,_5u);if(_bu.max<=_au.min||_au.max<=_bu.min){return 0.0;}}return 2.0;};function _cu(){_Ma("d3d_start()");}function _du(){_Ma("d3d_end()");
}function _eu(enable){_Ma("d3d_set_hidden()");}function _fu(_gu){_Ma("d3d_set_culling()");}function _hu(smooth){_Ma("d3d_set_shading()");}function _iu(_ju){_Ma("d3d_set_zwriteenable()");}function _ku(depth){_Ma("d3d_set_depth()");}function _lu(_mu,_nu,_ou,alpha){_Ma("draw_set_color_write_enable()");}var _pu=_lu;function _qu(enable){_Ma("d3d_set_shading()");}function _ru(_o8,_ha,_ia,_su,_q3){_Ma("d3d_light_define_direction()");}function _tu(_o8,x,y,z,_uu,_q3){_Ma("d3d_light_define_point()");}function _vu(_o8,
enable){_Ma("d3d_light_enable()");}function _wu(colour){_Ma("d3d_light_define_ambient()");}function _xu(enable,color,start,end){_Ma("d3d_set_fog()");}function _yu(index){_Ma("d3d_light_get()");}function _zu(index){_Ma("d3d_light_get_ambient()");}function _Au(){_Ma("d3d_get_lighting()");}function _Bu(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_Eu,_Fu){_Ma("d3d_draw_floor()");}function _Gu(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_Eu,_Fu,_Hu){_Ma("d3d_draw_ellipsoid()");}function _Iu(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_Eu,_Fu){_Ma("d3d_draw_block()");
}function _Ju(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_Eu,_Fu,closed,_Hu){_Ma("d3d_draw_cylinder()");}function _Ku(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_Eu,_Fu,closed,_Hu){_Ma("d3d_draw_cone()");}function _Lu(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_Eu,_Fu){_Ma("d3d_draw_wall()");}function _Mu(){_Ma("d3d_model_create()");}function _Nu(_o8){_Ma("d3d_model_destroy()");}function _Ou(_o8){_Ma("d3d_model_clear()");}function _Pu(_o8,_Qu){_Ma("d3d_model_save()");}function _Ru(_o8,_Qu){_Ma("d3d_model_load()");}function _Su(_o8,_Qu){_Ma("d3d_model_save_buffer()");
}function _Tu(_o8,_Qu){_Ma("d3d_model_load_buffer()");}function _Uu(_o8,x,y,z,_Na){_Ma("d3d_model_draw()");}function _Vu(_o8,kind){_Ma("d3d_model_primitive_begin()");}function _Wu(_o8,x,y,z){_Ma("d3d_model_vertex()");}function _Xu(_o8,x,y,z,_q3,alpha){_Ma("d3d_model_vertex_colour()");}function _Yu(_o8,x,y,z,_q3,alpha){_Ma("d3d_model_vertex_color()");}function _Zu(_o8,x,y,z,_Oa,_Pa){_Ma("d3d_model_vertex_texture()");}function __u(_o8,x,y,z,_Oa,_Pa,_q3,alpha){_Ma("d3d_model_vertex_texture_colour()");}function _0v(_o8,
x,y,z,_Oa,_Pa,_q3,alpha){_Ma("d3d_model_vertex_texture_color()");}function _1v(_o8,x,y,z,_Za,__a,_0b){_Ma("d3d_model_vertex_normal()");}function _2v(_o8,x,y,z,_Za,__a,_0b,_q3,alpha){_Ma("d3d_model_vertex_normal_color()");}function _3v(_o8,x,y,z,_Za,__a,_0b,_Oa,_Pa){_Ma("d3d_model_vertex_normal_texture()");}function _4v(_o8,x,y,z,_Za,__a,_0b,_Oa,_Pa,_q3,alpha){_Ma("d3d_model_vertex_normal_texture_color()");}function _5v(_o8,x,y,z,_Za,__a,_0b,_Oa,_Pa,_q3,alpha){_Ma("d3d_model_vertex_normal_texture_colour()");
}function _6v(_o8){_Ma("d3d_model_primitive_end()");}function _7v(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu){_Ma("d3d_model_block()");}function _8v(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,closed,_Hu){_Ma("d3d_model_cylinder()");}function _9v(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,closed,_Hu){_Ma("d3d_model_cone()");}function _av(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,_Hu){_Ma("d3d_model_ellipsoid()");}function _bv(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu){_Ma("d3d_model_wall()");}function _cv(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,
_Fu){_Ma("d3d_model_floor()");}function _dv(enable){_Ma("d3d_set_perspective()");}function _ev(_fv,_gv,_hv,_iv,_jv,_kv,_lv,_mv,_nv){_Ma("d3d_set_projection()");}function _ov(_fv,_gv,_hv,_iv,_jv,_kv,_lv,_mv,_nv,angle,_pv,_qv,_rv){_Ma("d3d_set_projection_ext()");}function _sv(x,y,w,h,angle){_Ma("d3d_set_projection_ortho()");}function _tv(x,y,w,h,angle){_Ma("d3d_set_projection_perspective()");}function _uv(){_Ma("d3d_transform_set_identity()");}function _vv(_wv,_xv,_yv){_Ma("d3d_transform_set_translation()");
}function _zv(_08,_18,_Av){_Ma("d3d_transform_set_scaling()");}function _Bv(angle){_Ma("d3d_transform_set_rotation_x()");}function _Cv(angle){_Ma("d3d_transform_set_rotation_y()");}function _Dv(angle){_Ma("d3d_transform_set_rotation_z()");}function _Ev(_Fv,_Gv,_Hv,angle){_Ma("d3d_transform_set_rotation_axis()");}function _Iv(_wv,_xv,_yv){_Ma("d3d_transform_add_translation()");}function _Jv(_08,_18,_Av){_Ma("d3d_transform_add_scaling()");}function _Kv(angle){_Ma("d3d_transform_add_rotation_x()");}function _Lv(angle){
_Ma("d3d_transform_add_rotation_y()");}function _Mv(angle){_Ma("d3d_transform_add_rotation_axis()");}function _Nv(_Fv,_Gv,_Hv,angle){_Ma("d3d_transform_add_rotation_z()");}function _Ov(_u4,_v4,_5c){_Ma("d3d_transform_vertex()");}function matrix_get(_sc){_Ma("matrix_get()");}function matrix_set(_sc,_Pv){_Ma("matrix_set()");}var matrix_build=_Qv;var matrix_multiply=_Rv;var matrix_transform_vertex=_Sv;var matrix_stack_push=_Tv;var matrix_stack_pop=_Uv;var matrix_stack_set=_Vv;var matrix_stack_clear=_Wv;var matrix_stack_top=_Xv;
var matrix_stack_is_empty=_Yv;var matrix_build_identity=_Zv;var matrix_build_lookat=__v;var matrix_build_projection_ortho=_0w;var matrix_build_projection_perspective=_1w;var matrix_build_projection_perspective_fov=_2w;function _3w(){_Ma("d3d_transform_stack_clear()");}function _4w(){_Ma("d3d_transform_stack_empty()");}function _5w(){_Ma("d3d_transform_stack_push()");}function _6w(){_Ma("d3d_transform_stack_pop()");}function _7w(){_Ma("d3d_transform_stack_top()");}function _8w(){_Ma("d3d_transform_stack_discard()");
}function gpu_set_blendenable(enable){_Ma("gpu_set_blendenable()");}function gpu_set_ztestenable(enable){_Ma("gpu_set_ztestenable()");}function gpu_set_zfunc(_9w){_Ma("gpu_set_zfunc()");}function gpu_set_zwriteenable(enable){_Ma("gpu_set_zwriteenable()");}function gpu_set_fog(enable,_q3,start,end){_Ma("gpu_set_fog()");}function gpu_set_cullmode(_aw){_Ma("gpu_set_cullmode()");}function gpu_set_blendmode(mode){_Ma("gpu_set_blendmode()");}function gpu_set_blendmode_ext(src,_f9){_Ma("gpu_set_blendmode_ext()");
}function gpu_set_blendmode_ext_sepalpha(src,_f9,_bw,_cw){_Ma("gpu_set_blendmode_ext_sepalpha()");}function gpu_set_colorwriteenable(_mu,_nu,_ou,alpha){_Ma("gpu_set_colorwriteenable()");}function gpu_set_colourwriteenable(_mu,_nu,_ou,alpha){_Ma("gpu_set_colourwriteenable()");}function gpu_set_alphatestenable(enable){_Ma("gpu_set_alphatestenable()");}function gpu_set_alphatestref(value){_Ma("gpu_set_alphatestref()");}function gpu_set_texfilter(_dw){_Ma("gpu_set_texfilter()");}function gpu_set_texfilter_ext(_ew,
_dw){_Ma("gpu_set_texfilter_ext()");}function gpu_set_texrepeat(repeat){_Ma("gpu_set_texrepeat()");}function gpu_set_texrepeat_ext(_ew,repeat){_Ma("gpu_set_texrepeat_ext()");}function gpu_set_tex_filter(_dw){_Ma("gpu_set_tex_filter()");}function gpu_set_tex_filter_ext(_ew,_dw){_Ma("gpu_set_tex_filter_ext()");}function gpu_set_tex_repeat(repeat){_Ma("gpu_set_tex_repeat()");}function gpu_set_tex_repeat_ext(_ew,repeat){_Ma("gpu_set_tex_repeat_ext()");}function gpu_set_tex_mip_filter(filter){_Ma("gpu_set_tex_mip_filter(filter)");
}function gpu_set_tex_mip_filter_ext(_ew,filter){_Ma("gpu_set_tex_mip_filter_ext(sampler_id, filter)");}function gpu_set_tex_mip_bias(_fw){_Ma("gpu_set_tex_mip_bias(bias)");}function gpu_set_tex_mip_bias_ext(_ew,_fw){_Ma("gpu_set_tex_mip_bias_ext(sampler_id, bias)");}function gpu_set_tex_min_mip(_gw){_Ma("gpu_set_tex_min_mip(minmip)");}function gpu_set_tex_min_mip_ext(_ew,_gw){_Ma("gpu_set_tex_min_mip_ext(sampler_id, minmip)");}function gpu_set_tex_max_mip(_hw){_Ma("gpu_set_tex_max_mip(maxmip)");}function gpu_set_tex_max_mip_ext(_ew,
_hw){_Ma("gpu_set_tex_max_mip_ext(sampler_id, maxmip)");}function gpu_set_tex_max_aniso(_iw){_Ma("gpu_set_tex_max_aniso(maxaniso)");}function gpu_set_tex_max_aniso_ext(_ew,_iw){_Ma("gpu_set_tex_max_aniso_ext(sampler_id, maxaniso)");}function gpu_set_tex_mip_enable(_jw){_Ma("gpu_set_tex_mip_enable(setting)");}function gpu_set_tex_mip_enable_ext(_ew,_jw){_Ma("gpu_set_tex_mip_enable_ext(sampler_id, setting)");}function gpu_get_blendenable(){_Ma("gpu_get_blendenable()");}function gpu_get_ztestenable(){_Ma("gpu_get_ztestenable()");
}function gpu_get_zfunc(){_Ma("gpu_get_zfunc()");}function gpu_get_zwriteenable(){_Ma("gpu_get_zwriteenable()");}function gpu_get_fog(){_Ma("gpu_get_fog()");}function gpu_get_cullmode(){_Ma("gpu_get_cullmode()");}function gpu_get_blendmode(){_Ma("gpu_get_blendmode()");}function gpu_get_blendmode_ext(){_Ma("gpu_get_blendmode_ext()");}function gpu_get_blendmode_ext_sepalpha(){_Ma("gpu_get_blendmode_ext_sepalpha()");}function gpu_get_blendmode_src(){_Ma("gpu_get_blendmode_src()");}function gpu_get_blendmode_dest(){
_Ma("gpu_get_blendmode_dest()");}function gpu_get_blendmode_srcalpha(){_Ma("gpu_get_blendmode_srcalpha()");}function gpu_get_blendmode_destalpha(){_Ma("gpu_get_blendmode_destalpha()");}function gpu_get_colorwriteenable(){_Ma("gpu_get_colorwriteenable()");}function gpu_get_colourwriteenable(){_Ma("gpu_get_colourwriteenable()");}function gpu_get_alphatestenable(){_Ma("gpu_get_alphatestenable()");}function gpu_get_alphatestref(){_Ma("gpu_get_alphatestref()");}function gpu_get_texfilter(){_Ma("gpu_get_texfilter()");
}function gpu_get_texfilter_ext(_ew){_Ma("gpu_get_texfilter_ext()");}function gpu_get_texrepeat(){_Ma("gpu_get_texrepeat()");}function gpu_get_texrepeat_ext(_ew){_Ma("gpu_get_texrepeat_ext()");}function gpu_get_tex_filter(){_Ma("gpu_get_tex_filter()");}function gpu_get_tex_filter_ext(_ew){_Ma("gpu_get_tex_filter_ext()");}function gpu_get_tex_repeat(){_Ma("gpu_get_tex_repeat()");}function gpu_get_tex_repeat_ext(_ew){_Ma("gpu_get_tex_repeat_ext()");}function gpu_get_tex_mip_filter(){_Ma("gpu_get_tex_mip_filter()");
}function gpu_get_tex_mip_filter_ext(_ew){_Ma("gpu_get_tex_mip_filter_ext(sampler_id)");}function gpu_get_tex_mip_bias(){_Ma("gpu_get_tex_mip_bias()");}function gpu_get_tex_mip_bias_ext(_ew){_Ma("gpu_get_tex_mip_bias_ext(sampler_id)");}function gpu_get_tex_min_mip(){_Ma("gpu_get_tex_min_mip()");}function gpu_get_tex_min_mip_ext(_ew){_Ma("gpu_get_tex_min_mip_ext(sampler_id)");}function gpu_get_tex_max_mip(){_Ma("gpu_get_tex_max_mip()");}function gpu_get_tex_max_mip_ext(_ew){_Ma("gpu_get_tex_max_mip_ext(sampler_id)");
}function gpu_get_tex_max_aniso(){_Ma("gpu_get_tex_max_aniso()");}function gpu_get_tex_max_aniso_ext(_ew){_Ma("gpu_get_tex_max_aniso_ext(sampler_id)");}function gpu_get_tex_mip_enable(){_Ma("gpu_get_tex_mip_enable()");}function gpu_get_tex_mip_enable_ext(_ew){_Ma("gpu_get_tex_mip_enable_ext(sampler_id)");}function gpu_push_state(){_Ma("gpu_push_state()");}function gpu_pop_state(){_Ma("gpu_pop_state()");}function gpu_get_state(){_Ma("gpu_get_state()");}function gpu_set_state(map){_Ma("gpu_set_state()");}
var _kw=[];var _lw=50;var _mw=0;var _nw=new Array(_lw+1);function _ow(){if(!_i7){return;}_cu=_pw;_du=_qw;_fu=_rw;_hu=_sw;_iu=_tw;_ku=_uw;_eu=_vw;_lu=_ww;_pu=_ww;_dv=_xw;_ev=_yw;_ov=_zw;_sv=_Aw;_tv=_Bw;_uv=_Cw;_vv=_Dw;_zv=_Ew;_Bv=_Fw;_Cv=_Gw;_Dv=_Hw;_Ev=_Iw;_Iv=_Jw;_Jv=_Kw;_Kv=_Lw;_Lv=_Mw;_Mv=_Nw;_Nv=_Ow;_Ov=_Pw;_3w=_Qw;_4w=_Rw;_5w=_Sw;_6w=_Tw;_7w=_Uw;_8w=_Vw;_Bu=_Ww;_Gu=_Xw;_Iu=_Yw;_Ju=_Zw;_Ku=__w;_Lu=_0x;_qu=_1x;_ru=_2x;_tu=_3x;_vu=_4x;_wu=_5x;_xu=_6x;_yu=_7x;_zu=_8x;_Au=_9x;_Mu=_ax;_Nu=_bx;_Ou=_cx;_Pu=_dx;
_Ru=_ex;_Su=_fx;_Tu=_gx;_Uu=_hx;_Vu=_ix;_Wu=_jx;_Yu=_kx;_Xu=_kx;_Zu=_lx;_0v=_mx;__u=_mx;_1v=_nx;_2v=_ox;_3v=_px;_4v=_qx;_6v=_rx;_7v=_sx;_8v=_tx;_9v=_ux;_av=_vx;_bv=_wx;_cv=_xx;matrix_get=_yx;matrix_set=_zx;matrix_build=_Qv;matrix_multiply=_Rv;matrix_transform_vertex=_Sv;matrix_stack_push=_Tv;matrix_stack_pop=_Uv;matrix_stack_set=_Vv;matrix_stack_clear=_Wv;matrix_stack_top=_Xv;matrix_stack_is_empty=_Yv;gpu_set_blendmode=_Ax;gpu_set_blendenable=_Bx;gpu_set_ztestenable=_Cx;gpu_set_zfunc=_Dx;gpu_set_zwriteenable=_Ex;
gpu_set_fog=_Fx;gpu_set_cullmode=_Gx;gpu_set_blendmode=_Ax;gpu_set_blendmode_ext=_Hx;gpu_set_blendmode_ext_sepalpha=_Ix;gpu_set_colorwriteenable=_Jx;gpu_set_colourwriteenable=_Kx;gpu_set_alphatestenable=_Lx;gpu_set_alphatestref=_Mx;gpu_set_texfilter=_Nx;gpu_set_texfilter_ext=_Ox;gpu_set_texrepeat=_Px;gpu_set_texrepeat_ext=_Qx;gpu_set_tex_filter=_Nx;gpu_set_tex_filter_ext=_Ox;gpu_set_tex_repeat=_Px;gpu_set_tex_repeat_ext=_Qx;gpu_set_tex_mip_filter=_Rx;gpu_set_tex_mip_filter_ext=_Sx;gpu_set_tex_mip_bias=_Tx;
gpu_set_tex_mip_bias_ext=_Ux;gpu_set_tex_min_mip=_Vx;gpu_set_tex_min_mip_ext=_Wx;gpu_set_tex_max_mip=_Xx;gpu_set_tex_max_mip_ext=_Yx;gpu_set_tex_max_aniso=_Zx;gpu_set_tex_max_aniso_ext=__x;gpu_set_tex_mip_enable=_0y;gpu_set_tex_mip_enable_ext=_1y;gpu_get_blendenable=_2y;gpu_get_ztestenable=_3y;gpu_get_zfunc=_4y;gpu_get_zwriteenable=_5y;gpu_get_fog=_6y;gpu_get_cullmode=_7y;gpu_get_blendmode=_8y;gpu_get_blendmode_ext=_9y;gpu_get_blendmode_ext_sepalpha=_ay;gpu_get_blendmode_src=_by;gpu_get_blendmode_dest=_cy;
gpu_get_blendmode_srcalpha=_dy;gpu_get_blendmode_destalpha=_ey;gpu_get_colorwriteenable=_fy;gpu_get_colourwriteenable=_gy;gpu_get_alphatestenable=_hy;gpu_get_alphatestref=_iy;gpu_get_texfilter=_jy;gpu_get_texfilter_ext=_ky;gpu_get_texrepeat=_ly;gpu_get_texrepeat_ext=_my;gpu_get_tex_filter=_jy;gpu_get_tex_filter_ext=_ky;gpu_get_tex_repeat=_ly;gpu_get_tex_repeat_ext=_my;gpu_get_tex_mip_filter=_ny;gpu_get_tex_mip_filter_ext=_oy;gpu_get_tex_mip_bias=_py;gpu_get_tex_mip_bias_ext=_qy;gpu_get_tex_min_mip=_ry;
gpu_get_tex_min_mip_ext=_sy;gpu_get_tex_max_mip=_ty;gpu_get_tex_max_mip_ext=_uy;gpu_get_tex_max_aniso=_vy;gpu_get_tex_max_aniso_ext=_wy;gpu_get_tex_mip_enable=_xy;gpu_get_tex_mip_enable_ext=_yy;gpu_push_state=_zy;gpu_pop_state=_Ay;gpu_get_state=_By;gpu_set_state=_Cy;_nw[0]=new _Dy();}function _pw(){_Ey=true;_i7._Fy(_Gy);_i7._Hy(_Iy);_i7._Jy(_Ky);}function _qw(){_Ey=false;_i7._Fy(false);_i7._Hy(false);_i7._Jy(false);}function _rw(_Ly){_Ky=_Ly>0.5;_i7._Jy(_Ky);}function _sw(_dr){}function _tw(_My){_Iy=(_My>0.5);
_i7._Hy(_Iy);}function _uw(_Ny){if(_Ey||_z2){_X9=Math.min(16000.0,Math.max(-16000.0,_Ny));}else {_X9=0.0;}}function _vw(_Oy){_Gy=(_Oy>0.5);_i7._Fy(_Gy);}function _ww(_mu,_nu,_ou,alpha){_Py._mu=(_mu>=0.5);_Py._nu=(_nu>=0.5);_Py._ou=(_ou>=0.5);_Py.alpha=(alpha>=0.5);_i7._Qy(_Py._mu,_Py._nu,_Py._ou,_Py.alpha);}function _xw(_Ry){_Sy=_Ry;}function _1x(_Ry){if(_Ty!=_Ry){_Ty=_Ry;_i7._Uy(_Vy());}}function _9x(){return _Ty;}function _yw(_fv,_gv,_hv,_iv,_jv,_kv,_lv,_mv,_nv){var _Wy=new _Dy();var __j=new _Xy(_fv,_gv,_hv);
var _Yy=new _Xy(_iv,_jv,_kv);var _Zy=new _Xy(_lv,_mv,_nv);_Wy.__y(__j,_Yy,_Zy);_i7._0z(_Wy);}function _zw(_fv,_gv,_hv,_iv,_jv,_kv,_lv,_mv,_nv,angle,_pv,_1z,_2z){var _Wy=new _Dy();var __j=new _Xy(_fv,_gv,_hv);var _Yy=new _Xy(_iv,_jv,_kv);var _Zy=new _Xy(_lv,_mv,_nv);_Wy.__y(__j,_Yy,_Zy);var _8u=new _Dy();_8u._3z(angle,_pv,_1z,_2z);_8u._z5[_4z]*=_5z;_i7._0z(_Wy);_i7._6z(_8u);}function _Aw(x,y,w,h,angle){var _Wy=new _Dy();var _la=new _Xy(x+(w/2.0),y+(h/2.0),-w);var _34=new _Xy(x+(w/2.0),y+(h/2.0),0.0);var _ma=new _Xy(Math.sin(-angle*(Math.PI/180.0)),
Math.cos(-angle*(Math.PI/180.0)),0.0);_Wy.__y(_la,_34,_ma);var _7z=new _Dy();_7z._8z(w,-h*_5z,1.0,32000.0);_i7._0z(_Wy);_i7._6z(_7z);}function _Bw(x,y,w,h,angle){var _Wy=new _Dy();var _la=new _Xy(x+(w/2.0),y+(h/2.0),-w);var _34=new _Xy(x+(w/2.0),y+(h/2.0),0.0);var _ma=new _Xy(Math.sin(-angle*(Math.PI/180.0)),Math.cos(-angle*(Math.PI/180.0)),0.0);_Wy.__y(_la,_34,_ma);var _8u=new _Dy();_8u._9z(1.0,(h/w),1.0,32000.0);_8u._z5[_4z]*=_5z;_i7._0z(_Wy);_i7._6z(_8u);}function _Ww(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_Eu,_Fu){var _az=_bz();
_cz(true);_Ra(_hb,_Na);{_3b(_A5,_B5,_Cu,0,0,1,0,0);_3b(_A5,_D5,_Cu,0,0,1,0,_Fu);_3b(_C5,_D5,_Du,0,0,1,_Eu,_Fu);_3b(_C5,_B5,_Du,0,0,1,_Eu,0);}_6b();_cz(_az);}function _Xw(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_dz,_ez,_Hu){var _az=_bz();_cz(true);if(_Hu<3){_Hu=3;}if(_Hu>128){_Hu=128;}var _a6=[];var _96=[];for(var i=0;i<=_Hu;i++){_a6[i]=Math.cos(i*2.0*Math.PI/_Hu);_96[i]=Math.sin(i*2.0*Math.PI/_Hu);}var _56=(_C5+_A5)/2,_66=(_D5+_B5)/2,_fz=(_Du+_Cu)/2,_gz=(_C5-_A5)/2,_hz=(_D5-_B5)/2,_iz=(_Du-_Cu)/2;var _jz=(_Hu+1)/2;
for(var _35=0;_35<_jz;_35++){var _kz=Math.cos(_35*Math.PI/_jz),_lz=Math.sin(_35*Math.PI/_jz),_mz=Math.cos((_35+1)*Math.PI/_jz),_nz=Math.sin((_35+1)*Math.PI/_jz);_Ra(_gb,_Na);for(var i=0;i<=_Hu;i++){_3b(_56+_gz*_lz*_a6[i],_66+_hz*_lz*_96[i],_fz+_iz*_kz,_lz*_a6[i],_lz*_96[i],_kz,_dz*i/_Hu,_35*_ez/_jz);_3b(_56+_gz*_nz*_a6[i],_66+_hz*_nz*_96[i],_fz+_iz*_mz,_nz*_a6[i],_nz*_96[i],_mz,_dz*i/_Hu,(_35+1)*_ez/_jz);}_6b();}_cz(_az);}function _Yw(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_dz,_ez){var _az=_bz();_cz(true);_Ra(_fb,
_Na);{_3b(_A5,_B5,_Cu,0,0,-1,0,0);_3b(_A5,_D5,_Cu,0,0,-1,0,_ez);_3b(_C5,_D5,_Cu,0,0,-1,_dz,_ez);_3b(_C5,_D5,_Cu,0,0,-1,_dz,_ez);_3b(_C5,_B5,_Cu,0,0,-1,_dz,0);_3b(_A5,_B5,_Cu,0,0,-1,0,0);}{_3b(_A5,_B5,_Du,0,0,1,0,0);_3b(_C5,_B5,_Du,0,0,1,_dz,0);_3b(_C5,_D5,_Du,0,0,1,_dz,_ez);_3b(_C5,_D5,_Du,0,0,1,_dz,_ez);_3b(_A5,_D5,_Du,0,0,1,0,_ez);_3b(_A5,_B5,_Du,0,0,1,0,0);}{_3b(_A5,_D5,_Cu,0,1,0,0,0);_3b(_A5,_D5,_Du,0,1,0,0,_ez);_3b(_C5,_D5,_Du,0,1,0,_dz,_ez);_3b(_C5,_D5,_Du,0,1,0,_dz,_ez);_3b(_C5,_D5,_Cu,0,
1,0,_dz,0);_3b(_A5,_D5,_Cu,0,1,0,0,0);}{_3b(_C5,_D5,_Cu,1,0,0,0,0);_3b(_C5,_D5,_Du,1,0,0,0,_ez);_3b(_C5,_B5,_Du,1,0,0,_dz,_ez);_3b(_C5,_B5,_Du,1,0,0,_dz,_ez);_3b(_C5,_B5,_Cu,1,0,0,_dz,0);_3b(_C5,_D5,_Cu,1,0,0,0,0);}{_3b(_C5,_B5,_Cu,0,-1,0,0,0);_3b(_C5,_B5,_Du,0,-1,0,0,_ez);_3b(_A5,_B5,_Du,0,-1,0,_dz,_ez);_3b(_A5,_B5,_Du,0,-1,0,_dz,_ez);_3b(_A5,_B5,_Cu,0,-1,0,_dz,0);_3b(_C5,_B5,_Cu,0,-1,0,0,0);}{_3b(_A5,_B5,_Cu,-1,0,0,0,0);_3b(_A5,_B5,_Du,-1,0,0,0,_ez);_3b(_A5,_D5,_Du,-1,0,0,_dz,_ez);_3b(_A5,_D5,
_Du,-1,0,0,_dz,_ez);_3b(_A5,_D5,_Cu,-1,0,0,_dz,0);_3b(_A5,_B5,_Cu,-1,0,0,0,0);}_6b();_cz(_az);}function _Zw(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_dz,_ez,closed,_Hu){var _a6=[];var _96=[];var _az=_bz();_cz(true);if(_Hu<3){_Hu=3;}if(_Hu>128){_Hu=128;}for(var i=0;i<=_Hu;i++){_a6[i]=Math.cos(i*2.0*Math.PI/_Hu);_96[i]=Math.sin(i*2.0*Math.PI/_Hu);}var _56=(_C5+_A5)/2.0;var _66=(_D5+_B5)/2.0;var _gz=(_C5-_A5)/2.0;var _hz=(_D5-_B5)/2.0;if(true==closed){_Ra(_hb,_Na);_3b(_56,_66,_Du,0,0,1,0,_ez);for(var i=0;i<=_Hu;i++){_3b(_56+_a6[i]*_gz,
_66+_96[i]*_hz,_Du,0,0,1,0,_ez);}_6b();}_Ra(_gb,_Na);for(var i=0;i<=_Hu;i++){_3b(_56+_a6[i]*_gz,_66+_96[i]*_hz,_Du,_a6[i],_96[i],0,_dz*i/_Hu,_ez);_3b(_56+_a6[i]*_gz,_66+_96[i]*_hz,_Cu,_a6[i],_96[i],0,_dz*i/_Hu,0);}_6b();if(true==closed){_Ra(_hb,_Na);_3b(_56,_66,_Cu,0,0,-1,0,0);for(var i=_Hu;i>=0;i--){_3b(_56+_a6[i]*_gz,_66+_96[i]*_hz,_Cu,0,0,-1,0,0);}_6b();}_cz(_az);}function __w(_A5,_B5,_Cu,_C5,_D5,_Du,_Na,_dz,_ez,closed,_Hu){var _a6=[];var _96=[];var _az=_bz();_cz(true);if(_Hu<3){_Hu=3;}if(_Hu>128){
_Hu=128;}for(var i=0;i<=_Hu;i++){_a6[i]=Math.cos(i*2.0*Math.PI/_Hu);_96[i]=Math.sin(i*2.0*Math.PI/_Hu);}var _56=(_C5+_A5)/2.0;var _66=(_D5+_B5)/2.0;var _gz=(_C5-_A5)/2.0;var _hz=(_D5-_B5)/2.0;_Ra(_gb,_Na);for(var i=0;i<=_Hu;i++){_3b(_56,_66,_Du,0,0,1,_dz*i/_Hu,_ez);_3b(_56+_a6[i]*_gz,_66+_96[i]*_hz,_Cu,_a6[i],_96[i],0,_dz*i/_Hu,0);}_6b();if(true==closed){_Ra(_hb,_Na);_3b(_56,_66,_Cu,0,0,-1,0,0);for(var i=_Hu;i>=0;i--){_3b(_56+_a6[i]*_gz,_66+_96[i]*_hz,_Cu,0,0,-1,0,0);}_6b();}_cz(_az);}function _0x(_A5,_B5,
_Cu,_C5,_D5,_Du,_Na,_dz,_ez){var _az=_bz();_cz(true);var _K5=Math.sqrt(_oz(_C5-_A5)+_oz(_D5-_B5));if(_K5==0.0){return;}var _Za=(_D5-_B5)/_K5;var __a=-(_C5-_A5)/_K5;_Ra(_hb,_Na);{_3b(_A5,_B5,_Cu,_Za,__a,0,0,0);_3b(_C5,_D5,_Cu,_Za,__a,0,_dz,0);_3b(_C5,_D5,_Du,_Za,__a,0,_dz,_ez);_3b(_A5,_B5,_Du,_Za,__a,0,0,_ez);}_6b();_cz(_az);}function _2x(_o8,_ha,_ia,_su,_q3){var _pz=new _Xy(_ha,_ia,_su);_pz._qz();var _rz=_o8*4;_sz[_rz+0]=_pz._tz;_sz[_rz+1]=_pz._uz;_sz[_rz+2]=_pz._vz;_sz[_rz+3]=0.0;_wz[_rz+0]=(_q3&0xff)/255.0;
_wz[_rz+1]=((_q3>>8)&0xff)/255.0;_wz[_rz+2]=((_q3>>16)&0xff)/255.0;_wz[_rz+3]=1.0;_xz[_o8]=_yz;_zz[_rz+0]=0;_zz[_rz+1]=0;_zz[_rz+2]=0;_zz[_rz+3]=0;_i7._Az(_o8,_zz.subarray(_o8*4,(_o8+1)*4),_sz.subarray(_o8*4,(_o8+1)*4),_wz.subarray(_o8*4,(_o8+1)*4));}function _8x(){var _q3=(((_Bz[0]*255.0))&0xff)|(((_Bz[1]*255.0)<<8)&0xff00)|(((_Bz[2]*255.0)<<16)&0xff0000)|(((_Bz[3]*255.0)<<24)&0xff000000);return _q3;}function _7x(index){var _u3=[];if(index<0||index>7){console.log("draw_light_get() - light index out of range");
return;}var _rz=index*4;_u3[0]=_Cz[index];_u3[1]=_xz[index];if(_xz[index]==_yz){_u3[2]=_sz[_rz+0];_u3[3]=_sz[_rz+1];_u3[4]=_sz[_rz+2];_u3[5]=_sz[_rz+3];}else {_u3[2]=_zz[_rz+0];_u3[3]=_zz[_rz+1];_u3[4]=_zz[_rz+2];_u3[5]=_zz[_rz+3];}var _i3=(((_wz[_rz+0]*255.0))&0xff);var _j3=(((_wz[_rz+1]*255.0)<<8)&0xff00);var _k3=(((_wz[_rz+2]*255.0)<<16)&0xff0000);var _l3=(((_wz[_rz+3]*255.0)<<24)&0xff000000);var _q3=_i3|_j3|_k3|_l3;_u3[6]=_q3;return _u3;}function _3x(_o8,x,y,z,_uu,_q3){var _rz=_o8*4;_zz[_rz+0]=x;_zz[_rz+1]=y;
_zz[_rz+2]=z;_zz[_rz+3]=_uu;_wz[_rz+0]=(_q3&0xff)/255.0;_wz[_rz+1]=((_q3>>8)&0xff)/255.0;_wz[_rz+2]=((_q3>>16)&0xff)/255.0;_wz[_rz+3]=1.0;_xz[_o8]=_Dz;_sz[_rz+0]=0;_sz[_rz+1]=0;_sz[_rz+2]=0;_sz[_rz+3]=0;_i7._Az(_o8,_zz.subarray(_o8*4,(_o8+1)*4),_sz.subarray(_o8*4,(_o8+1)*4),_wz.subarray(_o8*4,(_o8+1)*4));}function _4x(_o8,enable){_Cz[_o8]=enable;_i7._Ez(_o8,enable,_wz.subarray(_o8*4,(_o8+1)*4));}function _5x(colour){_Bz[0]=(colour&0xff)/255.0;_Bz[1]=((colour>>8)&0xff)/255.0;_Bz[2]=((colour>>16)&0xff)/255.0;
_Bz[3]=((colour>>24)&0xff)/255.0;_i7._Fz(_Bz);}function _6x(enable,colour,start,end){if(_Gz==null){_Gz=new Float32Array(8);}_Gz[0]=enable;var _uu=end-start;_Gz[1]=(_uu==0.0)?0.0:(1.0/_uu);_Gz[2]=end;_Gz[3]=0.0;_Gz[4]=(colour&0xff)/255.0;_Gz[5]=((colour>>8)&0xff)/255.0;_Gz[6]=((colour>>16)&0xff)/255.0;_Gz[7]=((colour>>24)&0xff)/255.0;_i7._Hz(_Gz);}function _ax(){return(_kw.push(new _Iz())-1);}function _bx(_o8){if(_kw[_o8]){_kw[_o8].__e();_kw[_o8]=null;}}function _cx(_o8){if(_kw[_o8]){_kw[_o8].__e();}}function _dx(_o8,
_Qu){if(_kw[_o8]){_kw[_o8]._Jz(_Qu);}}function _fx(_o8,_Kz){}function _ex(_o8,_Qu){if(_kw[_o8]){_kw[_o8]._w7(_Qu);}}function _gx(_o8,_Kz){}function _hx(_o8,x,y,z,_Na){if(_kw[_o8]){_kw[_o8]._58(x,y,z,_Na);}}function _ix(_o8,kind){if(_kw[_o8]){_kw[_o8]._Gc(kind);}}function _jx(_o8,x,y,z){if(_kw[_o8]){_kw[_o8].Vertex(x,y,z);}}function _kx(_o8,x,y,z,_q3,alpha){if(_kw[_o8]){_kw[_o8]._Lz(x,y,z,_q3,alpha);}}function _lx(_o8,x,y,z,_Oa,_Pa){if(_kw[_o8]){_kw[_o8]._Mz(x,y,z,_Oa,_Pa);}}function _mx(_o8,x,y,z,_Oa,_Pa,
_q3,alpha){if(_kw[_o8]){_kw[_o8]._Nz(x,y,z,_Oa,_Pa,_q3,alpha);}}function _nx(_o8,x,y,z,_Za,__a,_0b){if(_kw[_o8]){_kw[_o8]._Oz(x,y,z,_Za,__a,_0b);}}function _ox(_o8,x,y,z,_Za,__a,_0b,_q3,alpha){if(_kw[_o8]){_kw[_o8]._Pz(x,y,z,_Za,__a,_0b,_q3,alpha);}}function _px(_o8,x,y,z,_Za,__a,_0b,_Oa,_Pa){if(_kw[_o8]){_kw[_o8]._Qz(x,y,z,_Za,__a,_0b,_Oa,_Pa);}}function _qx(_o8,x,y,z,_Za,__a,_0b,_Oa,_Pa,_q3,alpha){if(_kw[_o8]){_kw[_o8]._Rz(x,y,z,_Za,__a,_0b,_Oa,_Pa,_q3,alpha);}}function _rx(_o8){if(_kw[_o8]){_kw[_o8]._Ic();
}}function _sx(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu){if(_kw[_o8]){_kw[_o8]._Sz(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu);}}function _tx(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,closed,_Hu){if(_kw[_o8]){_kw[_o8]._Tz(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,closed,_Hu);}}function _ux(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,closed,_Hu){if(_kw[_o8]){_kw[_o8]._Uz(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,closed,_Hu);}}function _vx(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,_Hu){if(_kw[_o8]){_kw[_o8]._Vz(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,_Hu);}}function _wx(_o8,
_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu){if(_kw[_o8]){_kw[_o8]._Wz(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu);}}function _xx(_o8,_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu){if(_kw[_o8]){_kw[_o8]._Xz(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu);}}function _Cw(){_Yz(_Zz,new _Dy());}function _Dw(_wv,_xv,_yv){var _z5=new _Dy();_z5.__z(_wv,_xv,_yv);_Yz(_Zz,_z5);}function _Ew(_08,_18,_Av){var _z5=new _Dy();_z5._0A(_08,_18,_Av);_Yz(_Zz,_z5);}function _Fw(angle){var _z5=new _Dy();_z5._1A(angle);_Yz(_Zz,_z5);}function _Gw(angle){var _z5=new _Dy();_z5._2A(angle);
_Yz(_Zz,_z5);}function _Hw(angle){var _z5=new _Dy();_z5._3A(angle);_Yz(_Zz,_z5);}function _Iw(_Fv,_Gv,_Hv,angle){var _z5=new _Dy();_z5._4A(new _Xy(_Fv,_Gv,_Hv),-angle);_Yz(_Zz,_z5);}function _Jw(_wv,_xv,_yv){var _mg=new _Dy();_mg.__z(_wv,_xv,_yv);var _5A=_6A(_Zz);var _z5=new _Dy();_z5.Multiply(_5A,_mg);_Yz(_Zz,_z5);}function _Kw(_08,_18,_Av){var _7A=new _Dy();_7A._0A(_08,_18,_Av);var _5A=_6A(_Zz);var _z5=new _Dy();_z5.Multiply(_5A,_7A);_Yz(_Zz,_z5);}function _Lw(angle){var _8A=new _Dy();_8A._1A(angle);var _5A=_6A(_Zz);
var _z5=new _Dy();_z5.Multiply(_5A,_8A);_Yz(_Zz,_z5);}function _Mw(angle){var _8A=new _Dy();_8A._2A(angle);var _5A=_6A(_Zz);var _z5=new _Dy();_z5.Multiply(_5A,_8A);_Yz(_Zz,_z5);}function _Nw(angle){var _8A=new _Dy();_8A._3A(angle);var _5A=_6A(_Zz);var _z5=new _Dy();_z5.Multiply(_5A,_8A);_Yz(_Zz,_z5);}function _Ow(_Fv,_Gv,_Hv,angle){var _8A=new _Dy();_8A._4A(new _Xy(_Fv,_Gv,_Hv),-angle);var _5A=_6A(_Zz);var _z5=new _Dy();_z5.Multiply(_5A,_8A);_Yz(_Zz,_z5);}function _Pw(_u4,_v4,_5c){var _5A=_6A(_Zz);var _R5=(_5A._z5[_9A]*_u4)+(_5A._z5[_aA]*_v4)+(_5A._z5[_bA]*_5c)+_5A._z5[_cA];
var _T5=(_5A._z5[_dA]*_u4)+(_5A._z5[_4z]*_v4)+(_5A._z5[_eA]*_5c)+_5A._z5[_fA];var _gA=(_5A._z5[_hA]*_u4)+(_5A._z5[_iA]*_v4)+(_5A._z5[_jA]*_5c)+_5A._z5[_kA];var _i3=[];_i3[0]=_R5;_i3[1]=_T5;_i3[2]=_gA;return _i3;}function _Qw(){_lA();}function _Rw(){return _mA();}function _Sw(){var _5A=_6A(_Zz);return _nA(_5A);}function _Tw(){return _oA();}function _Uw(){return _pA();}function _Vw(){return _qA();}function _yx(_sc){_sc=yyGetInt32(_sc);var _z5=[];if(_sc<0||_sc>2){_L3('ERROR: Invalid matrix type (matrix_get)');for(var i=0;
i<16;i++){_z5[i]=0;}return _z5;}var _rA=_sA[_sc];for(var i=0;i<16;i++){_z5[i]=_rA._z5[i];}return _z5;}function _zx(_sc,_Pv){_sc=yyGetInt32(_sc);if(_sc<0||_sc>2){_L3('ERROR: Invalid matrix type (matrix_get)');return;}_Yz(_sc,_Pv);if(_sc==_tA){var _uA=new _Dy();var _vA=_6A(_wA);if(_5z==-1){_uA=_vA;}else {var _xA=new _Dy();_xA._yA();_xA._z5[_4z]=-1;_uA.Multiply(_vA,_xA);}_zA(new _Dy(_Pv),_uA);}else if(_sc==_wA){_zA(_6A(_tA),new _Dy(_Pv));}}function _Zv(){return [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,];}function __v(_fv,_gv,
_hv,_iv,_jv,_kv,_lv,_mv,_nv){var _z5=new _Dy();var _AA=new _Xy(yyGetReal(_fv),yyGetReal(_gv),yyGetReal(_hv));var _BA=new _Xy(yyGetReal(_iv),yyGetReal(_jv),yyGetReal(_kv));var _CA=new _Xy(yyGetReal(_lv),yyGetReal(_mv),yyGetReal(_nv));_z5.__y(_AA,_BA,_CA);var _rA=[];for(var i=0;i<16;i++){_rA[i]=_z5._z5[i];}return _rA;}function _0w(width,height,_1z,_2z){var _z5=new _Dy();_z5._8z(yyGetReal(width),yyGetReal(height),yyGetReal(_1z),yyGetReal(_2z));var _rA=[];for(var i=0;i<16;i++){_rA[i]=_z5._z5[i];}return _rA;}function _1w(width,
height,_1z,_2z){var _z5=new _Dy();_z5._9z(yyGetReal(width),yyGetReal(height),yyGetReal(_1z),yyGetReal(_2z));var _rA=[];for(var i=0;i<16;i++){_rA[i]=_z5._z5[i];}return _rA;}function _2w(_DA,_pv,_1z,_2z){var _z5=new _Dy();_z5._3z(yyGetReal(_DA),yyGetReal(_pv),yyGetReal(_1z),yyGetReal(_2z));var _rA=[];for(var i=0;i<16;i++){_rA[i]=_z5._z5[i];}return _rA;}function _Qv(_u4,_v4,_5c,_EA,_FA,_GA,_gn,_hn,_HA){var _z5=new _Dy();var _IA=(Math.PI/180.0);_EA=(_IA*-yyGetReal(_EA));_FA=(_IA*-yyGetReal(_FA));_GA=(_IA*-yyGetReal(_GA));
_z5._JA(yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_5c),_EA,_FA,_GA,yyGetReal(_gn),yyGetReal(_hn),yyGetReal(_HA));var _rA=[];for(var i=0;i<16;i++){_rA[i]=_z5._z5[i];}return _rA;}function _Rv(_KA,_LA){var _MA=new _Dy();var _NA=new _Dy();var _OA=new _Dy();for(var i=0;i<16;i++){_MA._z5[i]=yyGetReal(_KA[i]);_NA._z5[i]=yyGetReal(_LA[i]);}_OA.Multiply(_MA,_NA);var _rA=[];for(var i=0;i<16;i++){_rA[i]=_OA._z5[i];}return _rA;}function _Sv(_PA,_u4,_v4,_5c){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_5c=yyGetReal(_5c);var _ta;if(arguments.length==4){
var _R5=(_PA[_9A]*_u4)+(_PA[_aA]*_v4)+(_PA[_bA]*_5c)+_PA[_cA];var _T5=(_PA[_dA]*_u4)+(_PA[_4z]*_v4)+(_PA[_eA]*_5c)+_PA[_fA];var _gA=(_PA[_hA]*_u4)+(_PA[_iA]*_v4)+(_PA[_jA]*_5c)+_PA[_kA];_ta=[_R5,_T5,_gA];}else {var _oi=yyGetReal(arguments[4]);var _R5=(_PA[_9A]*_u4)+(_PA[_aA]*_v4)+(_PA[_bA]*_5c)+(_PA[_cA]*_oi);var _T5=(_PA[_dA]*_u4)+(_PA[_4z]*_v4)+(_PA[_eA]*_5c)+(_PA[_fA]*_oi);var _gA=(_PA[_hA]*_u4)+(_PA[_iA]*_v4)+(_PA[_jA]*_5c)+(_PA[_kA]*_oi);var _76=(_PA[_QA]*_u4)+(_PA[_RA]*_v4)+(_PA[_SA]*_5c)+(_PA[_TA]*_oi);
_ta=[_R5,_T5,_gA,_76];}return _ta;}function _Tv(_Pv){if(_mw>=_lw){return;}_mw++;if(arguments.length==0){_nw[_mw]=new _Dy(_nw[_mw-1]);}else {var _rA=new _Dy();var i;for(i=0;i<16;i++){_rA._z5[i]=_Pv[i];}_nw[_mw]=new _Dy();_nw[_mw].Multiply(_rA,_nw[_mw-1]);}}function _Uv(){_mw--;if(_mw<0){_Wv();}}function _Wv(){_mw=0;_nw[0]=new _Dy();}function _Vv(_Pv){_nw[_mw]=new _Dy(_Pv);}function _Xv(){var elements=new Array(16);var i;for(i=0;i<16;i++){elements[i]=_nw[_mw]._z5[i];}return elements;}function _Yv(){if(_mw==0)return true;
else return false;}function _Bx(_Ry){_i7._p9._F9(_d9._UA,yyGetInt32(_Ry)>=0.5);}function _Cx(_Ry){_i7._p9._F9(_d9._VA,yyGetInt32(_Ry)>=0.5);}function _Dx(_WA){_i7._p9._F9(_d9._XA,yyGetInt32(_WA));}function _Ex(_Ry){_i7._p9._F9(_d9._YA,yyGetInt32(_Ry)>=0.5);}function _Fx(_Ry,_7c,_ZA,__A){if(Array.isArray(_Ry)){var _0B=_Ry;_Ry=_0B[0];_7c=_0B[1];_ZA=_0B[2];__A=_0B[3];}_Ry=yyGetBool(_Ry);_7c=yyGetInt32(_7c)|0xff000000;_ZA=yyGetReal(_ZA);__A=yyGetReal(__A);_i7._p9._F9(_d9._1B,_Ry);_i7._p9._F9(_d9._2B,_7c);_i7._p9._F9(_d9._3B,
_ZA);_i7._p9._F9(_d9._4B,__A);_Gz[0]=_Ry;var _uu=__A-_ZA;_Gz[1]=(_uu==0.0)?0.0:(1.0/_uu);_Gz[2]=__A;_Gz[3]=0.0;_Gz[4]=(_7c&0xff)/255.0;_Gz[5]=((_7c>>8)&0xff)/255.0;_Gz[6]=((_7c>>16)&0xff)/255.0;_Gz[7]=1.0;_i7._Hz(_Gz);}function _Gx(_5B){_i7._p9._F9(_d9._6B,yyGetInt32(_5B));}function _Ax(_Eq){switch(yyGetInt32(_Eq)){case 1:_i7._p9._F9(_d9._r9,_d9._e9);_i7._p9._F9(_d9._s9,_d9._h9);_i7._p9._F9(_d9._t9,_d9._e9);_i7._p9._F9(_d9._u9,_d9._h9);_i7._p9._F9(_d9._v9,false);break;case 2:_i7._p9._F9(_d9._r9,_d9._e9);
_i7._p9._F9(_d9._s9,_d9._j9);_i7._p9._F9(_d9._t9,_d9._e9);_i7._p9._F9(_d9._u9,_d9._j9);_i7._p9._F9(_d9._v9,false);break;case 3:_i7._p9._F9(_d9._r9,_d9._7B);_i7._p9._F9(_d9._s9,_d9._j9);_i7._p9._F9(_d9._t9,_d9._7B);_i7._p9._F9(_d9._u9,_d9._j9);_i7._p9._F9(_d9._v9,false);break;default :_i7._p9._F9(_d9._r9,_d9._e9);_i7._p9._F9(_d9._s9,_d9._g9);_i7._p9._F9(_d9._t9,_d9._e9);_i7._p9._F9(_d9._u9,_d9._g9);_i7._p9._F9(_d9._v9,false);break;}}function _Hx(_si,_tj){var _8B,_9B;if(Array.isArray(_si)){_8B=yyGetInt32(_si[0]);
_9B=yyGetInt32(_si[1]);}else {_8B=yyGetInt32(_si);_9B=yyGetInt32(_tj);}_i7._p9._F9(_d9._r9,_8B);_i7._p9._F9(_d9._s9,_9B);_i7._p9._F9(_d9._t9,_8B);_i7._p9._F9(_d9._u9,_9B);_i7._p9._F9(_d9._v9,false);}function _Ix(_si,_tj,_aB,_bB){var _8B,_9B,_cB,_dB;if(Array.isArray(_si)){_8B=yyGetInt32(_si[0]);_9B=yyGetInt32(_si[1]);_cB=yyGetInt32(_si[2]);_dB=yyGetInt32(_si[3]);}else {_8B=yyGetInt32(_si);_9B=yyGetInt32(_tj);_cB=yyGetInt32(_aB);_dB=yyGetInt32(_bB);}_i7._p9._F9(_d9._r9,_8B);_i7._p9._F9(_d9._s9,_9B);_i7._p9._F9(_d9._t9,
_cB);_i7._p9._F9(_d9._u9,_dB);_i7._p9._F9(_d9._v9,true);}function _Jx(_eB,_fB,_gB,_y8){var _hB;var _iB;var _jB;var _kB;if(Array.isArray(_eB)){var _0B=_eB;_hB=(yyGetInt32(_0B[0])>=0.5);_iB=(yyGetInt32(_0B[1])>=0.5);_jB=(yyGetInt32(_0B[2])>=0.5);_kB=(yyGetInt32(_0B[3])>=0.5);}else {_hB=(yyGetInt32(_eB)>=0.5);_iB=(yyGetInt32(_fB)>=0.5);_jB=(yyGetInt32(_gB)>=0.5);_kB=(yyGetInt32(_y8)>=0.5);}var _lB={_mu:_hB,_nu:_iB,_ou:_jB,alpha:_kB};_i7._p9._F9(_d9._mB,_lB);}function _Kx(_eB,_fB,_gB,_y8){_Jx(_eB,_fB,_gB,_y8);
}function _Lx(_Ry){_nB=(yyGetInt32(_Ry)>=0.5)?true:false;_i7._p9._F9(_d9._oB,yyGetInt32(_Ry)>=0.5);}function _Mx(_Zm){_pB=yyGetInt32(_Zm)/255.0;_i7._p9._F9(_d9._qB,yyGetInt32(_Zm));}function _Nx(_rB){var _sB=_i7._tB;var i;if(yyGetBool(_rB)){for(i=0;i<_sB;i++){_i7._p9._uB(i,_d9._vB,_d9._wB);_i7._p9._uB(i,_d9._xB,_d9._wB);}}else {for(i=0;i<_sB;i++){_i7._p9._uB(i,_d9._vB,_d9._yB);_i7._p9._uB(i,_d9._xB,_d9._yB);}}}function _Ox(_zB,_rB){var _ew,_dw;if(Array.isArray(_zB)){var _0B=_zB;_ew=yyGetInt32(_0B[0]);_dw=yyGetBool(_0B[1]);
}else {_ew=yyGetInt32(_zB);_dw=yyGetBool(_rB);}if(_dw){_i7._p9._uB(_ew,_d9._vB,_d9._wB);_i7._p9._uB(_ew,_d9._xB,_d9._wB);}else {_i7._p9._uB(_ew,_d9._vB,_d9._yB);_i7._p9._uB(_ew,_d9._xB,_d9._yB);}}function _Px(_AB){var _sB=_i7._tB;var i;if(yyGetBool(_AB)){for(i=0;i<_sB;i++){_i7._p9._uB(i,_d9._BB,_d9._CB);_i7._p9._uB(i,_d9._DB,_d9._CB);}}else {for(i=0;i<_sB;i++){_i7._p9._uB(i,_d9._BB,_d9._EB);_i7._p9._uB(i,_d9._DB,_d9._EB);}}}function _Qx(_zB,_AB){var _ew,repeat;if(Array.isArray(_zB)){var _0B=_zB;_ew=yyGetInt32(_0B[0]);
repeat=yyGetBool(_0B[1]);}else {_ew=yyGetInt32(_zB);repeat=yyGetBool(_AB);}if(repeat){_i7._p9._uB(_ew,_d9._BB,_d9._CB);_i7._p9._uB(_ew,_d9._DB,_d9._CB);}else {_i7._p9._uB(_ew,_d9._BB,_d9._EB);_i7._p9._uB(_ew,_d9._DB,_d9._EB);}}function _Rx(_FB){var filter=_FB;for(var i=0;i<_i7._tB;i++){_i7._p9._uB(i,_d9._GB,filter);}}function _Sx(_HB,_FB){var _IB=_HB;var filter=_FB;if((_IB<0)||(_IB>=_i7._tB)){return;}_i7._p9._uB(_IB,_d9._GB,filter);}function _Tx(_JB){var _fw=_JB;for(var i=0;i<_i7._tB;i++){_i7._p9._uB(i,_d9._KB,
_fw);}}function _Ux(_HB,_JB){var _IB=_HB;var _fw=_JB;if((_IB<0)||(_IB>=_i7._tB)){return;}_i7._p9._uB(_IB,_d9._KB,_fw);}function _Vx(_LB){var _gw=_LB;for(var i=0;i<_i7._tB;i++){_i7._p9._uB(i,_d9._MB,_gw);}}function _Wx(_HB,_LB){var _IB=_HB;var _gw=_LB;if((_IB<0)||(_IB>=_i7._tB)){return;}_i7._p9._uB(_IB,_d9._MB,_gw);}function _Xx(_NB){var _hw=_NB;for(var i=0;i<_i7._tB;i++){_i7._p9._uB(i,_d9._OB,_hw);}}function _Yx(_HB,_NB){var _IB=_HB;var _hw=_NB;if((_IB<0)||(_IB>=_i7._tB)){return;}_i7._p9._uB(_IB,_d9._OB,_hw);}
function _Zx(_PB){var _iw=_PB;for(var i=0;i<_i7._tB;i++){_i7._p9._uB(i,_d9._QB,_iw);}}function __x(_HB,_PB){var _IB=_HB;var _iw=_PB;if((_IB<0)||(_IB>=_i7._tB)){return;}_i7._p9._uB(_IB,_d9._QB,_iw);}function _0y(_Ry){var enable=_Ry;for(var i=0;i<_i7._tB;i++){_i7._p9._uB(i,_d9._RB,enable);}}function _1y(_HB,_Ry){var _IB=_HB;var enable=_Ry;if((_IB<0)||(_IB>=_i7._tB)){return;}_i7._p9._uB(_IB,_d9._RB,enable);}function _2y(){return _i7._p9._q9(_d9._UA)?1.0:0.0;}function _3y(){return _i7._p9._q9(_d9._VA)?1.0:0.0;}function _4y(){
return _i7._p9._q9(_d9._XA);}function _5y(){return _i7._p9._q9(_d9._YA)?1.0:0.0;}function _6y(){var _0B=new Array();_0B.push(_i7._p9._q9(_d9._1B)?1.0:0.0);_0B.push(_i7._p9._q9(_d9._2B));_0B.push(_i7._p9._q9(_d9._3B));_0B.push(_i7._p9._q9(_d9._4B));return _0B;}function _7y(){return _i7._p9._q9(_d9._6B);}function _8y(){var _8B=_i7._p9._q9(_d9._r9);var _9B=_i7._p9._q9(_d9._s9);var _cB=_i7._p9._q9(_d9._t9);var _dB=_i7._p9._q9(_d9._u9);if((_8B!=_cB)||(_9B!=_dB)){return -1;}else {switch(_8B){case _SB:{switch(_9B){case _TB:return 0;
case _UB:return 1;case _VB:return 2;default :return -1;}}case _WB:{if(_9B==_VB){return 3;}else {return -1;}}default :return -1;}}}function _9y(){var _0B=new Array();_0B[0]=_i7._p9._q9(_d9._r9);_0B[1]=_i7._p9._q9(_d9._s9);return _0B;}function _ay(){var _0B=new Array();_0B[0]=_i7._p9._q9(_d9._r9);_0B[1]=_i7._p9._q9(_d9._s9);_0B[2]=_i7._p9._q9(_d9._t9);_0B[3]=_i7._p9._q9(_d9._u9);return _0B;}function _by(){return _i7._p9._q9(_d9._r9);}function _cy(){return _i7._p9._q9(_d9._s9);}function _dy(){return _i7._p9._q9(_d9._t9);}function _ey(){
return _i7._p9._q9(_d9._u9);}function _fy(){var _yd=_i7._p9._q9(_d9._mB);var _u3=new Array();_u3.push(_yd._mu?1.0:0.0);_u3.push(_yd._nu?1.0:0.0);_u3.push(_yd._ou?1.0:0.0);_u3.push(_yd.alpha?1.0:0.0);return _u3;}function _gy(){return _fy();}function _hy(){return _i7._p9._q9(_d9._oB)?1.0:0.0;}function _iy(){return _i7._p9._q9(_d9._qB);}function _jy(){return _i7._p9._XB(0,_d9._vB)==_d9._wB?1.0:0.0;}function _ky(_zB){return _i7._p9._XB(yyGetInt32(_zB),_d9._vB)==_d9._wB?1.0:0.0;}function _ly(){return _i7._p9._XB(0,_d9._BB)==_d9._CB?1.0:0.0;
}function _my(_zB){return _i7._p9._XB(yyGetInt32(_zB),_d9._BB)==_d9._CB?1.0:0.0;}function _ny(){return _i7._p9._XB(0,_d9._GB);}function _oy(_HB){var _IB=_HB;if((_IB<0)||(_IB>=_i7._tB)){return;}return _i7._p9._XB(_IB,_d9._GB);}function _py(){return _i7._p9._XB(0,_d9._KB);}function _qy(_HB){var _IB=_HB;if((_IB<0)||(_IB>=_i7._tB)){return;}return _i7._p9._XB(_IB,_d9._KB);}function _ry(){return _i7._p9._XB(0,_d9._MB);}function _sy(_HB){var _IB=_HB;if((_IB<0)||(_IB>=_i7._tB)){return;}return _i7._p9._XB(_IB,_d9._MB);}function _ty(){
return _i7._p9._XB(0,_d9._OB);}function _uy(_HB){var _IB=_HB;if((_IB<0)||(_IB>=_i7._tB)){return;}return _i7._p9._XB(_IB,_d9._OB);}function _vy(){return _i7._p9._XB(0,_d9._QB);}function _wy(_HB){var _IB=_HB;if((_IB<0)||(_IB>=_i7._tB)){return;}return _i7._p9._XB(_IB,_d9._QB);}function _xy(){return _i7._p9._XB(0,_d9._RB);}function _yy(_HB){var _IB=_HB;if((_IB<0)||(_IB>=_i7._tB)){return;}return _i7._p9._XB(_IB,_d9._RB);}function _zy(){_i7._p9._YB();}function _Ay(){_i7._p9._ZB();}var __B=undefined;var _0C=undefined;function _1C(){
if(__B==undefined){__B=["blendenable",_d9._UA,"ztestenable",_d9._VA,"zfunc",_d9._XA,"zwriteenable",_d9._YA,"fogenable",_d9._1B,"fogcolor",_d9._2B,"fogstart",_d9._3B,"fogend",_d9._4B,"cullmode",_d9._6B,"srcblend",_d9._r9,"destblend",_d9._s9,"srcblendalpha",_d9._t9,"destblendalpha",_d9._u9,"sepalphaenable",_d9._v9,"colorwriteenable",_d9._mB,"alphatestenable",_d9._oB,"alphatestref",_d9._qB,"alphatestfunc",_d9._2C];}}function _3C(){if(_0C==undefined){_0C=["magfilter",_d9._vB,"minfilter",_d9._xB,"mipfilter",
_d9._4C,"addressu",_d9._BB,"addressv",_d9._DB,"minmip",_d9._MB,"maxmip",_d9._OB,"mipbias",_d9._KB,"maxaniso",_d9._QB,"mipenable",_d9._RB];}}function _By(){_1C();_3C();var map=ds_map_create();var _5C=__B.length/2;var _6C=_0C.length/2;var i;for(i=0;i<_5C;i++){var _yd=_i7._p9._q9(__B[i*2+1]);ds_map_add(map,__B[i*2],_yd);}var _sB=_i7._tB;for(i=0;i<_6C;i++){var _35;for(_35=0;_35<_sB;_35++){var name=_0C[i*2].slice(0)+_35;var _yd=_i7._p9._XB(_35,_0C[i*2+1]);ds_map_add(map,name,_yd);}}return map;}function _Cy(_d6){
_d6=yyGetInt32(_d6);_1C();_3C();var i;var _5C=__B.length/2;var _6C=_0C.length/2;var _7C=ds_map_find_first(_d6);while(_7C!=undefined){var key=_7C;var value=ds_map_find_value(_d6,key);var _8C=false;for(i=0;i<_5C;i++){if(key==__B[i*2]){_i7._p9._F9(__B[i*2+1],value);_8C=true;break;}}if(!_8C){for(i=0;i<_6C;i++){var _9C=_0C[i*2].length;var _aC=key.substr(0,_9C);if(_aC==_0C[i*2]){var _bC=key.substr(_9C-1,key.length-_9C);var _7u=parseInt(_bC,10);_i7._p9._uB(_7u,_0C[i*2+1],value);break;}}}_7C=ds_map_find_next(_d6,_7C);
}}function _cC(){}var _dC=1970;var _eC=0;var _fC=1;var _gC=365.25;var _hC=30.4375;var _iC=[31,28,31,30,31,30,31,31,30,31,30,31];var _jC=[];var _kC=(86400.0);var _lC=(_kC*30);var _mC=true;var _nC=0;var _oC=1;function _pC(_qC){if(_qC<_rC){return _qC*_sC;}else {return(_qC-_rC)*_sC;}}function _tC(_uC){return _uC%400==0||(_uC%100!=0&&_uC%4==0);}function _vC(_uC){var _wC=_iC.slice();;if(_tC(_uC)){_wC[1]=29;}return _wC;}function _xC(_uC,_yC,_zC,_AC,_BC,_CC,_DC){_uC=yyGetInt32(_uC);_yC=yyGetInt32(_yC);_zC=yyGetInt32(_zC);_AC=yyGetInt32(_AC);
_BC=yyGetInt32(_BC);_CC=yyGetInt32(_CC);_DC=yyGetInt32(_DC);if((_uC>=1970)&&(_yC>=1)&&(_yC<=12)&&(_zC>=1)&&(_zC<=31)&&(_AC>=0)&&(_AC<=23)&&(_BC>=0)&&(_BC<=59)&&(_CC>=0)&&(_CC<=59)&&(_DC>=0)&&(_DC<=999)){if(_zC>28){switch(_yC){case 2:if(!_tC(_uC)||(_zC>29)){return 0;}break;case 4:case 6:case 9:case 11:if(_zC>30){return 0;}break;}}}else {return 0;}return 1;}var _sC=86400000.0;var _rC=25569;function date_current_datetime(){var _EC=new Date();var _FC=_EC.getMilliseconds();var _N5=_EC.getTime()-_FC;return(_N5/_sC)+_rC;
}function _GC(){var _Fl=new Date();return(~~(_Fl.getTime()/_sC))+_rC;}function _HC(){var _Fl=new Date();_Fl.setFullYear(_dC,_eC,_fC);var _IC=(_Fl.getTime()/_sC)+_rC;return(_IC-(~~_IC));}function date_create_datetime(_JC,_KC,_LC,_MC,_NC,_OC){_JC=yyGetInt32(_JC);_KC=yyGetInt32(_KC);_LC=yyGetInt32(_LC);_MC=yyGetInt32(_MC);_NC=yyGetInt32(_NC);_OC=yyGetInt32(_OC);var _Fl=new Date();if(_mC){_Fl.setFullYear(_JC,_KC-1,_LC);_Fl.setHours(_MC,_NC,_OC,10);}else {_Fl.setUTCFullYear(_JC,_KC-1,_LC);_Fl.setUTCHours(_MC,_NC,
_OC,10);}return(_Fl.getTime()/_sC)+_rC;}function date_get_year(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));return(_mC)?_Fl.getFullYear():_Fl.getUTCFullYear();}function date_get_month(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));return(_mC)?(_Fl.getMonth())+1:(_Fl.getUTCMonth())+1;}function date_get_day(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));return(_mC)?_Fl.getDate():_Fl.getUTCDate();}function date_get_weekday(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));
return(_mC)?_Fl.getDay():_Fl.getUTCDay();}function date_get_week(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));var w=_PC(_Fl);return floor(w/7);}function date_get_hour(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));return(_mC)?_Fl.getHours():_Fl.getUTCHours();}function date_get_minute(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));return(_mC)?_Fl.getMinutes():_Fl.getUTCMinutes();}function date_get_second(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));return(_mC)?_Fl.getSeconds():_Fl.getUTCSeconds();
}function _PC(_QC){var _zC=0;if(_mC){var _RC=_vC(_QC.getFullYear());for(var i=0;i<_QC.getMonth();i++){_zC+=_RC[i];}_zC+=_QC.getDate();}else {var _RC=_vC(_QC.getUTCFullYear());for(var i=0;i<_QC.getUTCMonth();i++){_zC+=_RC[i];}_zC+=_QC.getUTCDate();}return _zC;}function date_valid_datetime(_JC,_KC,_LC,_MC,_NC,_OC){return _xC(yyGetInt32(_JC),yyGetInt32(_KC),yyGetInt32(_LC),yyGetInt32(_MC),yyGetInt32(_NC),yyGetInt32(_OC),0);}function date_inc_year(_SC,_TC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));_Fl.setUTCFullYear(_Fl.getUTCFullYear()+yyGetInt32(_TC),
_Fl.getUTCMonth(),_Fl.getUTCDate());return(_Fl.getTime()/_sC)+_rC;}function date_inc_month(_SC,_TC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));_Fl.setUTCFullYear(_Fl.getUTCFullYear(),_Fl.getUTCMonth()+yyGetInt32(_TC),_Fl.getUTCDate());return(_Fl.getTime()/_sC)+_rC;}function date_inc_week(_SC,_TC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));_Fl.setUTCFullYear(_Fl.getUTCFullYear(),_Fl.getUTCMonth(),_Fl.getUTCDate()+(yyGetInt32(_TC)*7));return(_Fl.getTime()/_sC)+_rC;}function date_inc_day(_SC,
_TC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));_Fl.setUTCFullYear(_Fl.getUTCFullYear(),_Fl.getUTCMonth(),_Fl.getUTCDate()+yyGetInt32(_TC));return(_Fl.getTime()/_sC)+_rC;}function date_inc_hour(_SC,_TC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));_Fl.setUTCHours(_Fl.getUTCHours()+yyGetInt32(_TC),_Fl.getUTCMinutes(),_Fl.getUTCSeconds(),_Fl.getUTCMilliseconds());return(_Fl.getTime()/_sC)+_rC;}function date_inc_minute(_SC,_TC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));_Fl.setUTCHours(_Fl.getUTCHours(),
_Fl.getUTCMinutes()+yyGetInt32(_TC),_Fl.getUTCSeconds(),_Fl.getUTCMilliseconds());return(_Fl.getTime()/_sC)+_rC;}function date_inc_second(_SC,_TC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));_Fl.setUTCHours(_Fl.getUTCHours(),_Fl.getUTCMinutes(),_Fl.getUTCSeconds()+yyGetInt32(_TC),_Fl.getUTCMilliseconds());return(_Fl.getTime()/_sC)+_rC;}function date_get_day_of_year(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));var _UC=_PC(_Fl);return _UC;}function date_get_hour_of_year(_d5){var _Fl=new Date();
_Fl.setTime(_pC(yyGetReal(_d5)));var _UC=_PC(_Fl);var _VC=(_UC-1)*24;if(_mC)_VC+=_Fl.getHours();else _VC+=_Fl.getUTCHours();return _VC;}function date_get_minute_of_year(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));var _UC=_PC(_Fl);var _WC=(_UC-1)*24*60;if(_mC){_WC+=_Fl.getHours()*60;_WC+=_Fl.getMinutes();}else {_WC+=_Fl.getUTCHours()*60;_WC+=_Fl.getUTCMinutes();}return _WC;}function date_get_second_of_year(_d5){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_d5)));var _UC=_PC(_Fl);var _XC=(_UC-1)*24*60*60;
if(_mC){_XC+=_Fl.getHours()*60*60;_XC+=_Fl.getMinutes()*60;_XC+=_Fl.getSeconds();}else {_XC+=_Fl.getUTCHours()*60*60;_XC+=_Fl.getUTCMinutes()*60;_XC+=_Fl.getUTCSeconds();}return _XC;}function date_year_span(_YC,_ZC){var _Fl=new Date();var __C=_Fl.setTime(_pC(yyGetReal(_YC)));var _0D=_Fl.setTime(_pC(yyGetReal(_ZC)));var _1D=(_0D-__C);return Math.abs(Math.floor(_1D/1000)/60/60/24/_gC);}function date_month_span(_YC,_ZC){var _Fl=new Date();var __C=_Fl.setTime(_pC(yyGetReal(_YC)));var _0D=_Fl.setTime(_pC(yyGetReal(_ZC)));
var _1D=(_0D-__C);return Math.abs(Math.floor(_1D/1000)/60/60/24/_hC);}function date_week_span(_YC,_ZC){var _Fl=new Date();var __C=_Fl.setTime(_pC(yyGetReal(_YC)));var _0D=_Fl.setTime(_pC(yyGetReal(_ZC)));var _1D=(_0D-__C);return Math.abs(Math.floor(_1D/1000)/60/60/24/7);}function date_day_span(_YC,_ZC){var _Fl=new Date();var __C=_Fl.setTime(_pC(yyGetReal(_YC)));var _0D=_Fl.setTime(_pC(yyGetReal(_ZC)));var _1D=(_0D-__C);return Math.abs(Math.floor(_1D/1000)/60/60/24);}function date_hour_span(_YC,_ZC){var _Fl=new Date();
var __C=_Fl.setTime(_pC(yyGetReal(_YC)));var _0D=_Fl.setTime(_pC(yyGetReal(_ZC)));var _1D=(_0D-__C);return Math.abs(Math.floor(_1D/1000)/60/60);}function date_minute_span(_YC,_ZC){var _Fl=new Date();var __C=_Fl.setTime(_pC(yyGetReal(_YC)));var _0D=_Fl.setTime(_pC(yyGetReal(_ZC)));var _1D=(_0D-__C);return Math.abs(Math.floor(_1D/1000)/60);}function date_second_span(_YC,_ZC){var _Fl=new Date();var __C=_Fl.setTime(_pC(yyGetReal(_YC)));var _0D=_Fl.setTime(_pC(yyGetReal(_ZC)));var _1D=(_0D-__C);return ~~Math.abs(Math.floor(_1D/1000));
}function _2D(_SC){var _Fl=new Date();_Fl.setTime(_pC(_SC));return(_Fl.getHours()-_Fl.getUTCHours())*60*60*1000;}function date_compare_datetime(_YC,_ZC){_YC=yyGetReal(_YC);_ZC=yyGetReal(_ZC);if(_YC<_ZC){return -1;}else if(_YC>_ZC){return 1;}return 0;}function date_compare_date(_YC,_ZC){var _3D=new Date();_3D.setTime(_pC(yyGetReal(_YC)));var _4D=new Date();_4D.setTime(_pC(yyGetReal(_ZC)));var __C=(_3D.getFullYear()*366)+(_3D.getMonth()*31)+_3D.getDate();var _0D=(_4D.getFullYear()*366)+(_4D.getMonth()*31)+_4D.getDate();
return(__C==_0D)?0.0:((__C>_0D)?1.0:-1.0);}function date_compare_time(_YC,_ZC){var _3D=new Date();_3D.setTime(_pC(yyGetReal(_YC)));var _4D=new Date();_4D.setTime(_pC(yyGetReal(_ZC)));var _5D=(_3D.getHours()*3600)+(_3D.getMinutes()*60)+_3D.getSeconds();var _6D=(_4D.getHours()*3600)+(_4D.getMinutes()*60)+_4D.getSeconds();return(_5D==_6D)?0.0:((_5D>_6D)?1.0:-1.0);}function _7D(_8D){return(_8D-_rC)*_kC;}function _9D(_8D){return((_8D+0.5)/_kC)+_rC;}function _aD(_N5){let _bD=new Date(_N5._uC+1900,_N5._yC,_N5._zC,
_N5._AC,_N5._BC,_N5._CC);if(_mC)return _bD.getTime()/1000;return _bD.getTime()/1000-_bD.getTimezoneOffset()*60;}function _cD(time){let _bD=new Date(time*1000);let tm={_uC:_bD.getUTCFullYear()-1900,_yC:_bD.getUTCMonth(),_zC:_bD.getUTCDate(),_AC:_bD.getUTCHours(),_BC:_bD.getUTCMinutes(),_CC:_bD.getUTCSeconds()};if(_mC){tm._uC=_bD.getFullYear()-1900;tm._yC=_bD.getMonth();tm._zC=_bD.getDate();tm._AC=_bD.getHours();tm._BC=_bD.getMinutes();tm._CC=_bD.getSeconds();}return tm;}function date_date_of(_SC){let result=-1;
let _dD=_7D(_SC);let _eD=_cD(_dD);if(_eD){_eD._AC=0;_eD._BC=0;_eD._CC=0;result=_9D(_aD(_eD));}return result;}function date_time_of(_SC){return frac(yyGetReal(_SC));}function _fD(_5p){return((_5p<10)?"0":"")+_5p.toString();}function date_datetime_string(_SC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));var _Xk;if(_mC){_Xk=_fD(_Fl.getDate())+"/"+_fD(_Fl.getMonth()+1)+"/"+_Fl.getFullYear()+" "+_fD(_Fl.getHours())+":"+_fD(_Fl.getMinutes())+":"+_fD(_Fl.getSeconds());}else {_Xk=_fD(_Fl.getUTCDate())+"/"+_fD(_Fl.getUTCMonth()+1)+"/"+_Fl.getUTCFullYear()+" "+_fD(_Fl.getUTCHours())+":"+_fD(_Fl.getUTCMinutes())+":"+_fD(_Fl.getUTCSeconds());
}return _Xk;}function date_date_string(_SC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));var _Xk;if(_mC){_Xk=_fD(_Fl.getDate())+"/"+_fD(_Fl.getMonth()+1)+"/"+_Fl.getFullYear();}else {_Xk=_fD(_Fl.getUTCDate())+"/"+_fD(_Fl.getUTCMonth()+1)+"/"+_Fl.getUTCFullYear();}return _Xk;}function date_time_string(_SC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));if(_Fl.toString()=="Invalid Date"){return "invalid time";}var _Xk;if(_mC){_Xk=_fD(_Fl.getHours())+":"+_fD(_Fl.getMinutes())+":"+_fD(_Fl.getSeconds());
}else {_Xk=_fD(_Fl.getUTCHours())+":"+_fD(_Fl.getUTCMinutes())+":"+_fD(_Fl.getUTCSeconds());}return _Xk;}function date_days_in_month(_SC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));if(_mC){var _RC=_vC(_Fl.getFullYear());return _RC[_Fl.getMonth()];}var _RC=_vC(_Fl.getUTCFullYear());return _RC[_Fl.getUTCMonth()];}function date_days_in_year(_SC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));var _UC=0;var _RC;if(_mC)_RC=_vC(_Fl.getFullYear());else _RC=_vC(_Fl.getUTCFullYear());for(var i=0;i<_RC.length;
i++){_UC+=_RC[i];}return _UC;}function date_leap_year(_SC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));if(_mC)return _tC(_Fl.getFullYear());return _tC(_Fl.getUTCFullYear());}function date_is_today(_SC){var _Fl=new Date();_Fl.setTime(_pC(yyGetReal(_SC)));var _gD=new Date();if(_mC){if((_Fl.getFullYear()==_gD.getFullYear())&&(_Fl.getMonth()==_gD.getMonth())&&(_Fl.getDate()==_gD.getDate())){return true;}}else {if((_Fl.getUTCFullYear()==_gD.getUTCFullYear())&&(_Fl.getUTCMonth()==_gD.getUTCMonth())&&(_Fl.getUTCDate()==_gD.getUTCDate())){
return true;}}return false;}function date_set_timezone(_hD){_mC=(yyGetInt32(_hD)==_nC);}function date_get_timezone(){if(_mC)return _nC;return _oC;}var _iD=[];var _jD=[];var _kD=[];var _lD=Date.now();var _mD=0;var _nD=1;var _oD=2;var _pD=3;var _qD=function(text){if(!text)return;if(_rD){if(_sD){var _wc=_sD.document.getElementById('debug_console');if(_wc){var _tD=String.fromCharCode(0x0a);text=text.replace('<b>','').replace('</b>','');var _uD=Date.now()-_lD;if(!_wc){alert(text);}else {_wc.value+=text+_tD;var _1i=_wc.textLength;
}_lD=Date.now();}}}if(_vD!=undefined){if(_vD.Options.outputDebugToConsole)console.log(text);if(_vD.Options.outputDebugToDiv){var _wD=document.getElementById("yyDebugDiv");var _xD=document.createElement('P');_xD.textContent+=text;_wD.appendChild(_xD);}}};function debug(text){var index;for(index=0;index<arguments.length;++index){_qD(arguments[index]);}}function _yD(_Wp,_zD,_AD,_BD,_CD){this.gmlmessage=_Wp;this.gmllongMessage=_zD;this.gmlstacktrace=_CD;this.gmlscript=_AD;this.gmlline=_BD;this.__yyIsGMLObject=true;
}_yD.prototype.toString=function(){return yyGetString(this);};function __yy__processException(_DD){if(_DD instanceof Error){var message=(_DD.message)?_DD.message:"";var _ED=(_DD.message)?_DD.constructor.name+" - "+_DD.message:"";var _FD=(_DD.fileName)?_DD.fileName:"";var _GD=(_DD.lineNumber)?_DD.lineNumber:-1;var _HD=[];if(_DD.stack){_HD=_DD.stack.split(/_ID?_JD/);}_DD=new _yD(message,_ED,_FD,_GD,_HD);;}return _DD;}function _L3(text){var index;var _KD=_LD();var _MD=new _yD(text,text,_ND(_L3.caller.name),-1,_KD);
throw _MD;}function _Ch(_fn){if(!_kD[_fn]){_kD[_fn]=true;_HD(_fn);debug(_fn);}}function _Ma(_fn){if(!_iD[_fn]){_iD[_fn]=true;var _pg="Error: function "+_fn+" is not supported.";debug(_pg);}}function _OD(_fn){if(!_iD[_fn]){_iD[_fn]=true;var _pg="Error: "+_fn+" is not supported.";debug(_pg);}}function _PD(_fn){if(!_iD[_fn]){_iD[_fn]=true;var _pg="Error: function "+_fn+" is not yet implemented";debug(_pg);}}function _QD(_fn){if(!_jD[_fn]){_jD[_fn]=true;var _pg="Warning: function "+_fn;debug(_pg);}}function _RD(_SD){
var _TD=_UD._VD(_SD,-1);var _tD=String.fromCharCode(0x0a);var _rh="";for(var i=0;i<_TD.length;i++){if(i!=0)_rh=_rh+_tD;_rh+=_TD[i];}return _rh;}function _WD(_XD){if(!_XD)return;alert(_XD);}function _YD(_XD,_ZD){if(!_XD)return;alert(_XD);}function debug_event(_i2){switch(_i2){case "RangeError":{throw new __D("debug_event");}break;default :break;}}function dbg_view(){_Ma("dbg_view()");}function dbg_section(){_Ma("dbg_seciton()");}function dbg_view_delete(){_Ma("dbg_view_delete()");}function dbg_section_delete(){_Ma("dbg_section_delete()");
}function dbg_slider(){_Ma("dbg_slider()");}function dbg_drop_down(){_Ma("dbg_drop_down()");}function dbg_watch(){_Ma("dbg_watch()");}function dbg_same_line(){_Ma("dbg_same_line()");}function dbg_button(){_Ma("dbg_button()");}function dbg_text_input(){_Ma("dbg_text_input()");}function dbg_checkbox(){_Ma("dbg_checkbox()");}function dbg_colour(){_Ma("dbg_colour()");}function dbg_color(){_Ma("dbg_color()");}function dbg_text(){_Ma("dbg_text()");}function dbg_sprite(){_Ma("dbg_sprite()");}function ref_create(){
_Ma("ref_create()");return 0;}function is_debug_overlay_open(){return false;}function show_debug_log(){_Ma("show_debug_log()");;}function show_debug_message(_SD){var _6h=yyGetString(_SD);if(!_6h)return;if(arguments.length==1){debug(_6h);return;}if(typeof(_6h)!="string"){_L3("show_debug_message() trying to use string template but argument0 is not a string");}var _0E=[];for(var _x5=1;_x5<arguments.length;++_x5){_0E.push(arguments[_x5]);}debug(_1E(_6h,_0E));}function show_debug_message_ext(_SD,_0E){var _6h=yyGetString(_SD);
if(!_6h)return;if(typeof(_6h)!="string"){_L3("show_debug_message_ext() argument0 is not a string");}if(!(_0E instanceof Array)){_L3("show_debug_message_ext() argument1 is not an array");}debug(_1E(_6h,_0E));}function show_debug_overlay(_2E){}function debug_get_callstack(_3E){var _4E=[];if(_3E==undefined)_3E=100;var caller=arguments.callee.caller;while(caller!=null){_4E.push(caller);if(_4E.length>=_3E)break;caller=caller.caller;if(_4E.indexOf(caller)>=0)break;}var _5E=[];for(var i=0;i<_4E.length;i++){_5E[i]=_4E[i].name;
}_5E.push(0);return _5E;}function show_message_async(_SD){_6E(_7E,_pD,[yyGetString(_SD)]);return _7E++;}function show_message(_SD){var _6h=yyGetString(_SD);if(!_6h)return;alert(_RD(_6h));}function show_error(_dn,_8E){_dn=yyGetString(_dn);if(!_dn)return;alert(_dn);}function show_question_async(_dn){_6E(_7E,_oD,[yyGetString(_dn)]);return _7E++;}function show_question(_dn){_dn=yyGetString(_dn);if(!_dn){_dn="";}if(window.confirm){return confirm(_RD(_dn))?1.0:0.0;}_Ma("show_question()");return 0;}function get_integer_async(_dn,
_9E){_6E(_7E,_nD,[yyGetString(_dn),yyGetString(_9E)]);return _7E++;}function get_integer(_dn,_9E){return parseFloat(prompt(yyGetString(_dn),yyGetString(_9E)));}function _aE(_bE){var _A4=document.getElementById(_cE);var _dE=_A4.parentNode;var _eE=document.createElement("div");_fE="gm4html5_login_ID";_eE.setAttribute("class","gm4html5_login");_eE.setAttribute("id",_fE);_dE.insertBefore(_eE,_A4.nextSibling);_eE.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>";
_gE();_hE=true;var login=document.getElementById("gm4html5_login_button_id");var _iE=document.getElementById("gm4html5_login_username_id");var _jE=document.getElementById("gm4html5_login_password_id");_iE.value=_bE._kE[0];_jE.value=_bE._kE[1];login.onmouseup=function(){var _lE=_iE.value;var _mE=_jE.value;var _nE=_oE(_fE);if(!_nE)return;_nE._lE=_lE;_nE._mE=_mE;_nE.value=0;_nE.result="";_nE._Oe=true;_nE._Ne=_pE;_dE.removeChild(_eE);_hE=false;_qE();_rE(_bE.id);};var _sE=document.getElementById("gm4html5_cancel_button_id");
_sE.onmouseup=function(){_dE.removeChild(_eE);_hE=false;var _nE=_oE(_fE);if(!_nE)return;_nE._lE="";_nE._mE="";_nE.value=0;_nE.result="";_nE._Oe=true;_nE._Ne=_tE;_qE();_rE(_bE.id);};_uE();_Je._Ke(_bE.id,null,_vE,_fE);}function _wE(_bE){var _A4=document.getElementById(_cE);var _dE=_A4.parentNode;var _eE=document.createElement("div");_fE="gm4html5_input_ID";_eE.setAttribute("class","gm4html5_login");_eE.setAttribute("id",_fE);_dE.insertBefore(_eE,_A4.nextSibling);_eE.innerHTML="<table>"+"<tr>"+"<td><label for=\"username\" id=\"gm4html5_input_message_id\">Message</label></td>"+"</tr>"+"<tr>"+"<td><input type=\"text\" id=\"gm4html5_input_text_id\" value=\"text\" /></td>"+"</tr>"+"</table>"+"<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"OK\" id=\"gm4html5_input_ok_button_id\"/></div>"+"<div class=\"gm4html5_cancel_button\"><input type=\"button\" value=\"Cancel\" id=\"gm4html5_input_cancel_button_id\" /></div>";
_gE();_hE=true;var _xE=document.getElementById("gm4html5_input_message_id");var _yE=document.getElementById("gm4html5_input_text_id");_xE.innerHTML=_bE._kE[0];_yE.value=_bE._kE[1];var _zE=document.getElementById("gm4html5_input_ok_button_id");_zE.onmouseup=function(){var text=_yE.value;var _nE=_oE(_fE);if(!_nE)return;_nE._lE="";_nE._mE="";_nE.value=parseFloat(text);_nE.result=text;_nE._Oe=true;_nE._Ne=_pE;_dE.removeChild(_eE);_hE=false;_qE();_rE(_bE.id);};var _sE=document.getElementById("gm4html5_input_cancel_button_id");
_sE.onmouseup=function(){_dE.removeChild(_eE);_hE=false;var _nE=_oE(_fE);if(!_nE)return;_nE._lE="";_nE._mE="";_nE.value=0;_nE.result="";_nE._Oe=true;_nE._Ne=_tE;_qE();_rE(_bE.id);};_uE();_Je._Ke(_bE.id,null,_vE,_fE);}function _AE(_bE){var _A4=document.getElementById(_cE);var _dE=_A4.parentNode;var _eE=document.createElement("div");_fE="gm4html5_question_ID";_eE.setAttribute("class","gm4html5_login");_eE.setAttribute("id",_fE);_dE.insertBefore(_eE,_A4.nextSibling);_eE.innerHTML="<table>"+"<tr>"+"<td><label for=\"username\" id=\"gm4html5_question_message_id\">Message</label></td>"+"</tr>"+"</table>"+"<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"Yes\" id=\"gm4html5_question_yes_button_id\"/></div>"+"<div class=\"gm4html5_cancel_button\"><input type=\"button\" value=\"No\" id=\"gm4html5_question_no_button_id\" /></div>";
_gE();_hE=true;var _BE=document.getElementById("gm4html5_question_message_id");_BE.innerHTML=_bE._kE[0];var _zE=document.getElementById("gm4html5_question_yes_button_id");_zE.onmouseup=function(){var _nE=_oE(_fE);if(!_nE)return;_nE._lE="";_nE._mE="";_nE.value=1;_nE.result="1";_nE._Oe=true;_nE._Ne=_pE;_dE.removeChild(_eE);_hE=false;_qE();_rE(_bE.id);};var _sE=document.getElementById("gm4html5_question_no_button_id");_sE.onmouseup=function(){_dE.removeChild(_eE);_hE=false;var _nE=_oE(_fE);if(!_nE)return;
_nE._lE="";_nE._mE="";_nE.value=0;_nE.result="0";_nE._Oe=true;_nE._Ne=_tE;_qE();_rE(_bE.id);};_uE();_Je._Ke(_bE.id,null,_vE,_fE);}function _CE(_bE){var _A4=document.getElementById(_cE);var _dE=_A4.parentNode;var _eE=document.createElement("div");_fE="gm4html5_message_ID";_eE.setAttribute("class","gm4html5_login");_eE.setAttribute("id",_fE);_dE.insertBefore(_eE,_A4.nextSibling);_eE.innerHTML="<table>"+"<tr>"+"<td><label for=\"username\" id=\"gm4html5_message_message_id\">Message</label></td>"+"</tr>"+"</table>"+"<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"OK\" id=\"gm4html5_message_ok_button_id\"/></div>";
_gE();_hE=true;var _BE=document.getElementById("gm4html5_message_message_id");_BE.innerHTML=_bE._kE[0];var _zE=document.getElementById("gm4html5_message_ok_button_id");_zE.onmouseup=function(){var _nE=_oE(_fE);if(!_nE)return;_nE._lE="";_nE._mE="";_nE.value=1;_nE.result="1";_nE._Oe=true;_nE._Ne=1;_dE.removeChild(_eE);_hE=false;_qE();_rE(_bE.id);};_uE();_Je._Ke(_bE.id,null,_vE,_fE);}/*@constructor */function _DE(_nf,_sc,_EE){this.id=_nf;this.type=_sc;this._kE=_EE;}function _FE(){if(_GE.length>0){switch(_GE[0].type){
case _mD:_aE(_GE[0]);break;case _nD:_wE(_GE[0]);break;case _oD:_AE(_GE[0]);break;case _pD:_CE(_GE[0]);break;}}}function _HE(_EE){for(var i=0;i<_EE.length;++i){var _Xk=_EE[i];if(typeof(_Xk)=='string'){var _IE="";for(var _x5=0;_x5<_Xk.length;_x5++){var chr=_Xk[_x5];switch(chr){case '&':_IE=_IE+'&amp;';break;case '<':_IE=_IE+'&lt;';break;case '>':_IE=_IE+'&gt;';break;default :_IE=_IE+chr;break;}}_Xk=_IE;var _JE=String.fromCharCode(13)+String.fromCharCode(10);_Xk=_Xk.split('#').join('<br>');_Xk=_Xk.split(_JE).join('<br>');
_EE[i]=_Xk;}}}function _6E(_nf,_sc,_EE){_HE(_EE);var _Fl=new _DE(_nf,_sc,_EE);_GE.push(_Fl);if(_GE.length==1){_FE();}}function _rE(_nf){var index=-1;for(var i=0;i<_GE.length;++i){if(_GE[i].id==_nf){index=i;break;}}if(index>=0){_GE.splice(index,1);}_FE();}function get_login_async(_KE,_LE){_6E(_7E,_mD,[_KE,_LE]);return _7E++;}function get_string_async(_dn,_9E){_6E(_7E,_nD,[yyGetString(_dn),yyGetString(_9E)]);return _7E++;}function get_string(_dn,_9E){return prompt(yyGetString(_dn),yyGetString(_9E));}function _uE(){
if(_hE){var login=document.getElementById(_fE);var w=login.offsetWidth;var h=login.offsetHeight;var _R5=(canvas.width-w)/2;var _T5=(canvas.height-h)/2;_ff=new _ME();_ef(canvas,_ff);login.style.left=~~(_R5+_ff.left)+"px";login.style.top=~~(_T5+_ff.top)+"px";}}function _ND(_Cj){return _Cj.substr(0,_Cj.indexOf("("));}function _HD(_NE){var _IC=arguments.callee.caller;var _Xk="Error: "+_NE+"\n"+"--------------------------------------------------------------------\n";while(_IC){var name="\t"+_ND(_IC.toString());_Xk+=name+'(';
for(var i=0;i<_IC.arguments.length;i++){if(i!=0){_Xk+=', ';}if(typeof _IC.arguments[i]=="string"){_Xk+='"'+_IC.arguments[i].toString()+'"';}else if((typeof _IC.arguments[i]=="number")||(_IC.arguments[i] instanceof Long)){_Xk+=_IC.arguments[i].toString();}else {if(_IC.arguments[i]==undefined){_Xk+="[undefined]";}else if(_IC.arguments[i]==null){_Xk+="[null]";}else if(_IC.arguments[i].__type){_Xk+=_IC.arguments[i].__type;}else {_Xk+="[unknown]";}}}_Xk+=")\n";_IC=_IC.caller;}debug(_Xk);}function _LD(_NE){var _IC=arguments.callee.caller;
var _u3=[];while(_IC&&(_u3.length<100)){var name=_ND(_IC.toString());_Xk=name+'(';for(var i=0;i<_IC.arguments.length;i++){if(i!=0){_Xk+=', ';}if(typeof _IC.arguments[i]=="string"){_Xk+='"'+_IC.arguments[i].toString()+'"';}else if((typeof _IC.arguments[i]=="number")||(_IC.arguments[i] instanceof Long)){_Xk+=_IC.arguments[i].toString();}else {if(_IC.arguments[i]==undefined){_Xk+="[undefined]";}else if(_IC.arguments[i]==null){_Xk+="[null]";}else if(_IC.arguments[i].__type){_Xk+=_IC.arguments[i].__type;}else {_Xk+="[unknown]";
}}}_Xk+=")\n";_u3.push(_Xk);_IC=_IC.caller;}return _u3;}function _OE(){if(!_sD)return;var _PE=_sD.document.getElementById('debug_instances');if(!_PE)return;var _QE=[];var options=_PE.options;for(var index in options){if(!options.hasOwnProperty(index))continue;if(index!="selectedIndex"&&index!="length"){var _RE=options[index];if(_RE&&_RE.text){_QE[_QE.length]=_RE.text;}}}var _SE=[];for(var index in _Lm._TE){if(!_Lm._TE.hasOwnProperty(index))continue;var _4m=_Lm._TE[index];if(_4m!==undefined&&_4m!==null){var _rh=_4m.id.toString();
var i;for(i=0;i<_QE.length;i++){if(_QE[i]==_rh)break;}if(i>=_QE.length){_SE[_SE.length]=_rh;}else {_QE.splice(i,1);}}}for(var index in _QE){if(!_QE.hasOwnProperty(index))continue;for(var _RE in options){if(!options.hasOwnProperty(_RE))continue;if(options[_RE].text=index){_PE.removeChild(options[_RE]);break;}}}for(var index=0;index<_SE.length;index++){var _4m=_SE[index];var option=_sD.document.createElement("option");option.text=""+_4m;_PE.add(option,null);}}var _UE=3;var _VE=-1;function _WE(){if(!_sD)return;var _PE=_sD.document.getElementById('debug_instances');
var _XE=_sD.document.getElementById('debug_Instance_Data');if(!_PE||!_XE)return;var _YE=_PE.selectedIndex;if(_YE<0){return;}if(_YE==undefined)return;_YE=parseInt(_PE.options[_YE].text);var _5t=_Lm._TE[_YE];if(!_5t)return;var _rh=[];_rh[_rh.length]='<table ALIGN="left" VALIGN="top" style="border-spacing:0px; border-collapse:collapse; border:0px; margin:0px;">';_rh[_rh.length]='<tr bgcolor="#f0f0f0" "><td style="width:130px;"><b>Object</b></td><td style="width:270px;"><b>'+_5t._ZE.__E+'</b></td></tr>';
_rh[_rh.length]='<tr><td>x</td><td>'+_5t.x.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>y</td><td>'+_5t.y.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>depth</td><td>'+_5t.depth.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>visible</td><td>'+_5t.visible+'</td></tr>';_rh[_rh.length]='<tr><td>persistent</td><td>'+_5t.persistent+'</td></tr>';_rh[_rh.length]='<tr><td>vspeed</td><td>'+_5t.vspeed.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>direction</td><td>'+_5t.direction.toFixed(_UE)+'</td></tr>';
_rh[_rh.length]='<tr><td>speed</td><td>'+_5t.speed.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>friction</td><td>'+_5t.friction.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>gravity</td><td>'+_5t.gravity.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>gravity_direction</td><td>'+_5t.gravity_direction.toFixed(_UE)+'</td></tr>';var _0F=_H4._I4(_5t.sprite_index);if(!_0F){_rh[_rh.length]='<tr><td>sprite_index</td><td><none></td></tr>';}else {var _1F=_5t.image_index;if(_1F<0||_1F>_0F._G3.length)_1F=0;
var _F3=_0F._G3[~~_1F];_rh[_rh.length]='<tr><td>sprite_index</td><td height="'+(_F3.oh+32)+'px">'+_0F.pName+'<br>'+'<div style="padding:0px; margin:0px; border:0px; overflow: hidden; '+'width:'+_F3.CropWidth+'px; height:'+_F3.CropHeight+'px; '+'background: url('+_F3.texture.src+') '+-_F3.x+'px '+-_F3.y+'px;" />'+'</td></tr>';}_rh[_rh.length]='<tr><td>image_index</td><td>'+_5t.image_index.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>image_speed </td><td>'+_5t.image_speed.toFixed(_UE)+'</td></tr>';
_rh[_rh.length]='<tr><td>image_blend</td><td>'+~~_5t.image_blend+'</td></tr>';_rh[_rh.length]='<tr><td>image_alpha</td><td>'+_5t.image_alpha.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>image_xscale</td><td>'+_5t.image_xscale.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>image_yscale</td><td>'+_5t.image_yscale.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>mask_index</td><td>'+_5t.mask_index.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>path_index</td><td>'+_5t.path_index.toFixed(_UE)+'</td></tr>';
_rh[_rh.length]='<tr><td>path_position</td><td>'+_5t.path_position.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>path_speed</td><td>'+_5t.path_speed.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>path_scale</td><td>'+_5t.path_scale.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>path_orientation</td><td>'+_5t.path_orientation.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>path_endaction</td><td>'+_5t.path_endaction.toFixed(_UE)+'</td></tr>';_rh[_rh.length]='<tr><td>path_xstart</td><td>'+_5t._2F.toFixed(_UE)+'</td></tr>';
_rh[_rh.length]='<tr><td>path_ystart</td><td>'+_5t._3F.toFixed(_UE)+'</td></tr>';for(var _4F=0;_4F<12;_4F++){_rh[_rh.length]='<tr><td>alarm['+_4F+']</td><td>'+~~_5t.alarm[_4F]+'</td></tr>';}_rh[_rh.length]='</table>';_XE.innerHTML=_rh.join("");}function UpdateDebugWindow(){_OE();_WE();}/*@constructor */function _5F(){this._6F="";this._7F=0;this._8F=false;this._9F=false;this._aF="";}_5F.prototype._bF=function(){var _Xk;var i=this._7F;var _rh=this._6F;while(i<_rh.length){var c=_rh.charCodeAt(i);if(c==0x0d||c==0x0a){
i++;}else {break;}}this._7F=i;};_5F.prototype._cF=function(){var _Xk;var i=this._7F;var _rh=this._6F;while(i<_rh.length){var c=_rh.charCodeAt(i);if(c==0x0d||c==0x0a){i++;c=_rh.charCodeAt(i);if(c==0x0d||c==0x0a){i++;}break;}else {i++;}}this._7F=i;};_5F.prototype._dF=function(){var _Xk;var i=this._7F;var _rh=this._6F;while(i<_rh.length){var c=_rh.charCodeAt(i);if(c==0x0d||c==0x0a||c==0x09||c==0x20){i++;}else {break;}}this._7F=i;};function file_text_open_from_string(_eF){var _Ie=new _5F();_Ie._6F=yyGetString(_eF);
_Ie._7F=0;_Ie._aF=null;return _fF._Ke(_Ie);}function file_text_open_read(_2q){_2q=yyGetString(_2q);var _gF=_zk(_2q,true);if(_gF==null)_gF=_zk(_2q,false);if(_gF==null)return -1;var _Ie=new _5F();_Ie._6F=_gF;_Ie._7F=0;_Ie._aF=_2q;return _fF._Ke(_Ie);}function file_text_close(_hF){_hF=yyGetInt32(_hF);var _Ie=_fF._I4(_hF);if(!_Ie){_L3("Error: Illegal file handle");return;}if(_Ie._aF!=null){if(_Ie._9F){_vk(_Ie._aF,_Ie._6F);}}_fF._vi(_hF);}function file_text_open_write(_2q){var _Ie=new _5F();_Ie._aF=yyGetString(_2q);
_Ie._6F="";_Ie._7F=0;_Ie._iF=true;_Ie._9F=true;return _fF._Ke(_Ie);}function file_text_open_append(_2q){_2q=yyGetString(_2q);var _IC=file_text_open_read(_2q);if(_IC<0){return file_text_open_write(_2q);}var _Ie=_fF._I4(_IC);_Ie._iF=true;_Ie._7F=_Ie._6F.length;_Ie._9F=false;return _IC;}function file_text_write_string(_hF,_dn){var _Ie=_fF._I4(yyGetInt32(_hF));if(!_Ie){_L3("Error: Illegal file handle");return;}if(!_Ie._iF){_L3("Error: File "+_Ie._aF+" has not been opened with WRITE permisions");return;}_Ie._6F+=yyGetString(_dn);
_Ie._9F=true;_Ie._7F=_Ie._6F.length;}function file_text_write_real(_hF,_u4){var _Ie=_fF._I4(yyGetInt32(_hF));if(!_Ie){_L3("Error: Illegal file handle");return;}if(!_Ie._iF){_L3("Error: File "+_Ie._aF+" has not been opened with WRITE permisions");return;}_Ie._6F+=yyGetReal(_u4);_Ie._9F=true;_Ie._7F=_Ie._6F.length;}function file_text_writeln(_hF){var _Ie=_fF._I4(yyGetInt32(_hF));if(!_Ie){_L3("Error: Illegal file handle");return;}if(!_Ie._iF){_L3("Error: File "+_Ie._aF+" has not been opened with WRITE permisions");
return;}_Ie._6F+=String.fromCharCode(0x0d);_Ie._6F+=String.fromCharCode(0x0a);_Ie._7F=_Ie._6F.length;}function file_text_read_string(_hF){var _Ie=_fF._I4(yyGetInt32(_hF));if(!_Ie){_L3("Error: Illegal file handle");return;}var _Xk="";var i=_Ie._7F;var _rh=_Ie._6F;while(i<_rh.length){var c=_rh.charCodeAt(i);if(c==0x0d||c==0x0a){break;}else {_Xk+=_rh[i++];}}_Ie._7F=i;return _Xk;}function file_text_read_real(_hF){var _Ie=_fF._I4(yyGetInt32(_hF));if(!_Ie){_L3("Error: Illegal file handle");return;}_Ie._dF();var _Xk="";
var i=_Ie._7F;var _rh=_Ie._6F;while(i<_rh.length){var c=_rh[i];if((c=='-')&&(_Xk=="")){_Xk+=_rh[i++];}else if((c>='0'&&c<='9')||(c=='.')){_Xk+=_rh[i++];}else {break;}}_Ie._7F=i;return parseFloat(_Xk);}function file_text_readln(_hF){var _Ie=_fF._I4(yyGetInt32(_hF));if(!_Ie){_L3("Error: Illegal file handle");return;}var _Xk="";var i=_Ie._7F;var _rh=_Ie._6F;while(i<_rh.length){var c=_rh.charCodeAt(i);if(c==0x0d||c==0x0a){_Xk+=_rh[i++];if(i<_rh.length){c=_rh.charCodeAt(i);if(c==0x0d||c==0x0a){_Xk+=_rh[i++];}}break;
}else {_Xk+=_rh[i++];}}_Ie._7F=i;return _Xk;}function file_text_eof(_hF){var _Ie=_fF._I4(yyGetInt32(_hF));if(!_Ie){_L3("Error: Illegal file handle");return;}if(_Ie._7F>=_Ie._6F.length)return true;return false;}function file_text_eoln(_hF){var _Ie=_fF._I4(yyGetInt32(_hF));if(!_Ie){_L3("Error: Illegal file handle");return;}if(_Ie._7F>=_Ie._6F.length)return true;var c=_Ie._6F.charCodeAt(_Ie._7F);if(c==0x0a||c==0x0d)return true;return false;}function file_exists(_2q){_2q=yyGetString(_2q);var _Zq=_jF(_2q,true);if(_Zq==true)return true;
return _jF(_2q,false);}function file_delete(_2q){if(_kF){try{window.localStorage['removeItem'](_lF(yyGetString(_2q)));return true;}catch(_fj){return false;}}return false;}function file_rename(_mF,_nF){_mF=yyGetString(_mF);file_copy(_mF,yyGetString(_nF));file_delete(_mF);}function file_copy(_2q,_nF){_2q=yyGetString(_2q);_nF=yyGetString(_nF);if(true===file_exists(_nF))file_delete(_nF);if(false===file_exists(_2q))return false;var _oF=file_text_open_read(_2q);var _pF=file_text_open_write(_nF);while(false===file_text_eof(_oF)){
var _GD=file_text_readln(_oF);file_text_write_string(_pF,_GD);}file_text_close(_oF);file_text_close(_pF);}function directory_exists(_qF){_Ma("directory_exists()");return true;}function directory_create(_qF){_Ma("directory_create()");return true;}function directory_destroy(_qF){_Ma("directory_destroy()");return true;}function file_find_first(_rF,_sF){_Ma("file_find_first()");return "";}function file_find_next(){_Ma("file_find_next()");return "";}function file_find_close(){_Ma("file_find_close()");}function file_attributes(_2q,
_sF){_Ma("file_attributes()");return true;}function filename_name(_2q){_2q=yyGetString(_2q);var _l3=_2q.lastIndexOf('\\');var _k3=_2q.lastIndexOf('/');var last=(_l3>_k3)?_l3:_k3;var _u3=_2q;if(last>0){_u3=_2q.substr(last+1);}return _u3;}function filename_path(_2q){_2q=yyGetString(_2q);var _l3=_2q.lastIndexOf('\\');var _k3=_2q.lastIndexOf('/');var last=(_l3>_k3)?_l3:_k3;var _u3=_2q;if(last>0){_u3=_2q.substr(0,last+1);}return _u3;}function filename_dir(_2q){_2q=yyGetString(_2q);var _l3=_2q.lastIndexOf('\\');var _k3=_2q.lastIndexOf('/');
var last=(_l3>_k3)?_l3:_k3;var _u3=_2q;if(last>0){_u3=_2q.substr(0,last);}return _u3;}function filename_drive(_2q){_PD("filename_drive()");}function filename_change_ext(_2q,_tF){_2q=yyGetString(_2q);var last=_2q.lastIndexOf('.');var _u3=_2q;if(last>0){_u3=_2q.substr(0,last);_u3=_u3+yyGetString(_tF);}return _u3;}function file_bin_open(_2q,_uF){_Ma("file_bin_open()");}function file_bin_rewrite(_hF){_Ma("file_bin_rewrite()");}function file_bin_close(_hF){_Ma("file_bin_close()");}function file_bin_size(_hF){_Ma("file_bin_size()");
}function file_bin_position(_hF){_Ma("file_bin_position()");}function file_bin_seek(_hF,_Uj){_Ma("file_bin_seek()");}function file_bin_write_byte(_hF,_vF){_Ma("file_bin_write_byte()");}function file_bin_read_byte(_hF){_Ma("file_bin_read_byte()");}function environment_get_variable(_R2){return "";}function filename_ext(_rk){_rk=yyGetString(_rk);var _wF=_rk.lastIndexOf(".");var _xF=_rk.lastIndexOf("\\");if(_xF>_wF)return "";return _rk.substr(_wF,_rk.length);}const _yF=new RegExp("@i64@([0-9a-f]+?)\\$i64\\$","i");
function _zF(value){switch(typeof(value)){case "object":if(value==null)return g_pBuiltIn.pointer_null;if(value instanceof Array)return new _Pj(_Sj,_AF(value));return new _Pj(_Qj,_BF(value));case "boolean":return value?1:0;case "number":return value;case "string":if(value=="@@infinity$$")return Infinity;if(value=="@@-infinity$$")return -Infinity;if(value=="@@nan$$")return NaN;var match=value.match(_yF);if(match){return parseInt(match[1],16);}return value;default :return value.toString();}}function _AF(_Ej){var _u3=ds_list_create();
for(var i=0;i<_Ej.length;++i){var _14=_zF(_Ej[i]);ds_list_add(_u3,_14);}return _u3;}function _BF(_Ej){var _u3=ds_map_create();for(var _RE in _Ej){var _l3=_Ej[_RE];var _14=_zF(_l3);ds_map_add(_u3,_RE,_14);}return _u3;}function json_decode(_CF){var _Xk=yyGetString(_CF);var _DF=false;try{for(var _EF=0;_EF<_Xk.length;_EF++){if(_Xk.charAt(_EF)=="\""){if(!_DF){_DF=true;}else if(_EF==0||_Xk.charAt(_EF-1)!="\\"){_DF=false;}}if(!_DF&&_Xk.charAt(_EF)=="#"){_Xk=_Xk.substring(0,_EF)+_Xk.substring(_EF+1,_Xk.length);_EF--;}}
}catch(Error){}var _FF={};try{_FF=JSON.parse(_Xk);if(_FF instanceof Array){_Xk="{ \"default\" : "+_Xk+"}";_FF=JSON.parse(_Xk);}}catch(err){_Xk="{ \"default\" : \""+_Xk.toString()+"\"}";try{_FF=JSON.parse(_Xk);}catch(err){}}return _BF(_FF);}var _GF=new Map();function _HF(value){if(value==undefined)return null;switch(typeof(value)){case "object":if(value===null)return null;if(value instanceof Long){return "@i64@"+value.toString(16)+"$i64$";}if(value==g_pBuiltIn.pointer_null)return null;if(value instanceof Array){
return _IF(value);}switch(value._1k){case _Sj:return _JF(value.Object);case _Qj:return _KF(value.Object);default :return value.toString();}case "number":if(isNaN(value))return "@@nan$$";if(!isFinite(value))return value>0?"@@infinity$$":"@@-infinity$$";return value;case "string":case "boolean":return value;default :return value.toString();}}function _JF(_U6){var _u3=[];var _Jj=_Ij._I4(_U6);let _u7=_GF.get(_Jj)|0;if(_u7>1)return null;_GF.set(_Jj,_u7+1);if(_Jj){for(var i=0;i<_Jj._Zj.length;++i){if(_Jj._Zj[i]!=undefined)_u3.push(_HF(_Jj._Zj[i]));
}}return _u3;}function _KF(_d6){var _u3={};var _f6=_g6._I4(_d6);let _u7=_GF.get(_f6)|0;if(_u7>1)return null;_GF.set(_f6,_u7+1);if(_f6){for(const [key,_yd] of _f6){var _14=key;if(_f6._hk&&_f6._hk.has(key))_14=_f6._hk.get(key);_u3[_14.toString()]=_HF(_yd);}}return _u3;}function _IF(_lk){let _u7=_GF.get(_lk)|0;if(_u7>1)return null;_GF.set(_lk,_u7+1);var _u3="[";for(var i=0;i<_lk.length;++i){if(i>0)_u3+=", ";_u3+=_HF(_lk[i]);}_u3+="]";return _u3;}function json_encode(_d6,_LF){_LF=_LF==undefined?false:yyGetReal(_LF);_GF=new Map();
var _Tf=_KF(yyGetInt32(_d6));return JSON.stringify(_Tf,null,_LF?2:0);}function _MF(value){if(value==undefined)return null;switch(typeof value){case "string":return value;case "number":if(isNaN(value))return "@@nan$$";if(!isFinite(value))return value>0?"@@infinity$$":"@@-infinity$$";return value;case "boolean":return value;case "object":if(value==null)return null;if(value instanceof Long){return "@i64@"+value.toString(16)+"$i64$";}if(value==g_pBuiltIn.pointer_null)return null;if(value instanceof Array){if(_GF.has(value))return null;
_GF.set(value,1);var _u3=[];value.forEach(_nk=>{_u3.push(_MF(_nk));});_GF.delete(value);return _u3;}if(value.__yyIsGMLObject){if(_GF.has(value))return null;_GF.set(value,1);var _u3={};for(var _NF in value){if(!value.hasOwnProperty(_NF))continue;var nName=_NF;if(typeof _OF!="undefined"&&_OF.hasOwnProperty(_NF)){nName="gml"+_OF[_NF];}if(nName.startsWith("gml")||g_instance_names[nName]!=undefined){var name=nName.startsWith("gml")?nName.substring(3):nName;var _kk=g_instance_names[nName];if((_kk==undefined)||(_kk[0]|_kk[1])){
Object.defineProperty(_u3,name,{value:_MF(value[_NF]),_PF:true,_QF:true,enumerable:true});}}}_GF.delete(value);return _u3;}default :return undefined;}}function json_stringify(_Wb,_LF){try{_LF=_LF==undefined?false:yyGetReal(_LF);var _RF=_MF(_Wb);return JSON.stringify(_RF,null,_LF?2:0);}catch(e){console.log(e);_L3("JSON stringify error");}}function _SF(_TF,value){switch(typeof value){case "string":if(value=="@@nan$$")return NaN;if(value=="@@infinity$$")return Infinity;if(value=="@@-infinity$$")return -Infinity;
var match=value.match(_yF);if(match){return parseInt(match[1],16);}return value;case "number":return value;case "boolean":return value;case "object":if(value==null)return g_pBuiltIn.pointer_null;if(value instanceof Array){return value;}var _Tf={};_Tf.__type="Object";_Tf.__yyIsGMLObject=true;for(var _NF in value){if(!value.hasOwnProperty(_NF))continue;var nName;if(g_instance_names[_NF]!=undefined){nName=_NF;}else if(typeof g_var2obf!=="undefined"&&g_var2obf[_NF]!=undefined){nName=g_var2obf[_NF];}else {nName="gml"+_NF;
}Object.defineProperty(_Tf,nName,{value:value[_NF],configurable:true,writable:true,enumerable:true});}return _Tf;default :return value;}}function json_parse(_Wb){var _u3=undefined;try{return JSON.parse(_Wb,_SF);}catch(e){_L3("JSON parse error");}return _u3;}function _UF(_VF){var _x5=_VF.length,i=0;var _jz=[];var _WF=[];var start=0;var _nk="";var _XF=0;while(i<_x5){var _kg=i;var c=_VF.charCodeAt(i++);switch(c){case 13:case 10:if(c==13&&_VF.charCodeAt(i)==10)i+=1;if(_kg>_XF){if(_kg>start)_nk+=_VF.substring(start,_kg);
_WF.push(_nk);_nk="";}_jz.push(_WF);_WF=[];_XF=i;start=i;break;case 44:if(_kg>start)_nk+=_VF.substring(start,_kg);_WF.push(_nk);_nk="";if(_VF.charCodeAt(i)==34){i+=1;start=i;while(i<_x5){c=_VF.charCodeAt(i++);if(c!=34)continue;switch(_VF.charCodeAt(i)){case 34:if(i>start)_nk+=_VF.substring(start,i);i+=1;start=i;continue;case 13:case 10:case 44:break;default :continue;}break;}}else start=i;break;}}if(i>_XF){if(i>start)_nk+=_VF.substring(start,i);_WF.push(_nk);_jz.push(_WF);}return _jz;}function load_csv(_2q){
_2q=yyGetString(_2q);var _gF=_zk(_2q,true);if(_gF==null)_gF=_zk(_2q,false);if(_gF==null)return -1;var _YF=_UF(_gF);var height=_YF.length;if(height==0)return -1;var width=_YF[0].length;if(width==0)return -1;var _nf=ds_grid_create(width,height);var _ti=_ui._I4(_nf)._qi;for(var y=0;y<height;y++){var _ZF=_YF[y];for(var x=0;x<_ZF.length;x++){_ti[x+y*width]=_ZF[x];}}return _nf;}function draw_set_halign(__F){_UD._0G=yyGetInt32(__F);}function draw_get_halign(){return _UD._0G;}function draw_set_valign(__F){_UD._1G=yyGetInt32(__F);
}function draw_get_valign(){return _UD._1G;}function draw_set_font(_on){_UD._2G=yyGetInt32(_on);}function draw_get_font(){return _UD._2G;}function draw_text(_u4,_v4,_fn){var c=(_Sb&0xffffff)|(((_Rb*255.0)<<24)&0xff000000);_UD._3G(yyGetString(_fn),yyGetReal(_u4),yyGetReal(_v4),-1,-1,0,1,1,c,c,c,c);}var draw_text_colour=draw_text_color;function draw_text_color(_u4,_v4,_fn,_Wr,_Xr,_Yr,_Zr,_y8){if(!_i7)_QD("draw_text_color() only uses the 1st colour");var _4G=_Rb;var _5G=_6G;if(_y8>1.0)_y8=1.0;else if(_y8<0)_y8=0.0;
var _l3=((yyGetReal(_y8)*255)<<24)&0xff000000;_Wr=_Ub(yyGetInt32(_Wr)&0xffffff)|_l3;_Xr=_Ub(yyGetInt32(_Xr)&0xffffff)|_l3;_Yr=_Ub(yyGetInt32(_Yr)&0xffffff)|_l3;_Zr=_Ub(yyGetInt32(_Zr)&0xffffff)|_l3;_UD._3G(yyGetString(_fn),yyGetReal(_u4),yyGetReal(_v4),-1,-1,0,1,1,_Wr,_Xr,_Yr,_Zr);_Rb=_4G;draw_set_color(_5G);}var draw_text_ext_colour=draw_text_ext_color;function draw_text_ext_color(_u4,_v4,_fn,_7G,_oi,_Wr,_Xr,_Yr,_Zr,_y8){if(!_i7)_QD("draw_text_ext_color() only uses the 1st colour");var _4G=_Rb;var _5G=_6G;
if(_y8>1.0)_y8=1.0;else if(_y8<0)_y8=0.0;var _l3=(yyGetReal(_y8)*255)<<24;_Wr=_Ub(yyGetInt32(_Wr)&0xffffff)|_l3;_Xr=_Ub(yyGetInt32(_Xr)&0xffffff)|_l3;_Yr=_Ub(yyGetInt32(_Yr)&0xffffff)|_l3;_Zr=_Ub(yyGetInt32(_Zr)&0xffffff)|_l3;_UD._3G(yyGetString(_fn),yyGetReal(_u4),yyGetReal(_v4),yyGetInt32(_7G),yyGetInt32(_oi),0,1,1,_Wr,_Xr,_Yr,_Zr);_Rb=_4G;draw_set_color(_5G);}function draw_text_ext(_u4,_v4,_fn,_7G,_oi){var c=(_Sb&0xffffff)|(((_Rb*255.0)<<24)&0xff000000);_UD._3G(yyGetString(_fn),yyGetReal(_u4),yyGetReal(_v4),
yyGetInt32(_7G),yyGetInt32(_oi),0,1,1,c,c,c,c);}function draw_text_transformed(_u4,_v4,_fn,_gn,_hn,_y4){var c=(_Sb&0xffffff)|(((_Rb*255.0)<<24)&0xff000000);_UD._3G(yyGetString(_fn),yyGetReal(_u4),yyGetReal(_v4),-1,-1,yyGetReal(_y4),yyGetReal(_gn),yyGetReal(_hn),c,c,c,c);}function draw_text_ext_transformed(_u4,_v4,_fn,_7G,_oi,_gn,_hn,_y4){var c=(_Sb&0xffffff)|(((_Rb*255.0)<<24)&0xff000000);_UD._3G(yyGetString(_fn),yyGetReal(_u4),yyGetReal(_v4),yyGetInt32(_7G),yyGetInt32(_oi),yyGetReal(_y4),yyGetReal(_gn),
yyGetReal(_hn),c,c,c,c);}var draw_text_ext_transformed_colour=draw_text_ext_transformed_color;function draw_text_ext_transformed_color(_u4,_v4,_fn,_7G,_oi,_gn,_hn,_y4,_Wr,_Xr,_Yr,_Zr,_y8){if(!_i7)_QD("draw_text_ext_transformed_color() only uses the 1st colour");var _4G=_Rb;var _5G=_6G;var _l3=((yyGetReal(_y8)*255)<<24)&0xff000000;_Wr=_Ub(yyGetInt32(_Wr))|_l3;_Xr=_Ub(yyGetInt32(_Xr))|_l3;_Yr=_Ub(yyGetInt32(_Yr))|_l3;_Zr=_Ub(yyGetInt32(_Zr))|_l3;_UD._3G(yyGetString(_fn),yyGetReal(_u4),yyGetReal(_v4),yyGetInt32(_7G),
yyGetInt32(_oi),yyGetReal(_y4),yyGetReal(_gn),yyGetReal(_hn),_Wr,_Xr,_Yr,_Zr);_Rb=_4G;draw_set_color(_5G);}var draw_text_transformed_colour=draw_text_transformed_color;function draw_text_transformed_color(_u4,_v4,_fn,_gn,_hn,_y4,_Wr,_Xr,_Yr,_Zr,_y8){if(!_i7)_QD("draw_text_transformed_color() only uses the 1st colour");var _4G=_Rb;var _5G=_6G;var _l3=((yyGetReal(_y8)*255)<<24)&0xff000000;_Wr=_Ub(yyGetInt32(_Wr))|_l3;_Xr=_Ub(yyGetInt32(_Xr))|_l3;_Yr=_Ub(yyGetInt32(_Yr))|_l3;_Zr=_Ub(yyGetInt32(_Zr))|_l3;
_UD._3G(yyGetString(_fn),yyGetReal(_u4),yyGetReal(_v4),-1,-1,yyGetReal(_y4),yyGetReal(_gn),yyGetReal(_hn),_Wr,_Xr,_Yr,_Zr);_Rb=_4G;draw_set_color(_5G);}function string_height(_fn){_fn=yyGetString(_fn);_UD._8G();if(!_UD._9G)return 1;var _aG=_UD._VD(_fn,-1,_UD._9G);if(_aG==null)return _UD._9G._bG(_fn);return _UD._9G._bG(_fn)*_aG.length;}function string_width(_fn){_UD._8G();return _UD._9G?_UD._9G._cG(yyGetString(_fn)):1;}function string_width_ext(_CF,_7G,_oi){_UD._8G();if(!_UD._9G)return 1;_UD._dG(yyGetString(_CF),
0,0,yyGetInt32(_7G),yyGetInt32(_oi),0);return _eG;}function string_height_ext(_CF,_7G,_oi){_UD._8G();if(!_UD._9G)return 1;_UD._dG(yyGetString(_CF),0,0,yyGetInt32(_7G),yyGetInt32(_oi),0);return _fG;}function font_exists(_nf){if(_UD._I4(yyGetInt32(_nf)))return true;else return false;}function font_get_bold(_nf){var _gG=_UD._I4(yyGetInt32(_nf));if(!_gG)return false;return _gG.bold;}function font_get_fontname(_nf){var _gG=_UD._I4(yyGetInt32(_nf));if(!_gG)return "";return _gG._hG;}function font_get_name(_nf){var _gG=_UD._I4(yyGetInt32(_nf));
if(!_gG)return "";return _gG.pName;}var _iG=font_get_name;function font_get_italic(_nf){var _gG=_UD._I4(yyGetInt32(_nf));if(!_gG)return false;return _gG.italic;}function font_get_first(_nf){var _gG=_UD._I4(yyGetInt32(_nf));if(!_gG)return 0;return _gG.first;}function font_get_last(_nf){var _gG=_UD._I4(yyGetInt32(_nf));if(!_gG)return 255;return _gG.last;}function font_get_size(_nf){var _gG=_UD._I4(yyGetInt32(_nf));if(!_gG)return 0;return _gG.size;}function _jG(_R2,_ec,_kG,_lG,_mG,_nG,_oG){var _gG=new _pG();_gG._qG=0.5;
_gG._rG=true;_gG.pName="fnt_"+_R2;_gG._hG=_R2;_gG.size=_ec;_gG.bold=_kG;_gG.italic=_lG;_gG.first=_mG;_gG.last=_nG;_gG._Rg=false;if(_R2.toLowerCase().lastIndexOf(".ttf")!=-1){_gG._sG=new Font();_gG._sG.onload=function(){_gG._Rg=true;};_gG._sG.onerror=function(err){alert(err);};_gG._sG.src=_tG(null,null,_M7+_R2);_gG._uG=_ec+"px "+_gG._sG._Gg+" ";}else {_gG._uG=_ec+"px "+_R2+" ";_gG._Rg=true;}if(_kG)_gG._uG=_gG._uG+"bold ";if(_lG)_gG._uG=_gG._uG+"Italic ";if(_oG){return _UD._vG(_gG);}else {return _gG;}}
function font_delete(id){id=yyGetInt32(id);if(_UD.Fonts[id]!=undefined){_UD.Fonts[id]._sG=undefined;_UD.Fonts[id]=undefined;}}function font_enable_sdf(id,enable){console.log("font_enable_sdf() - SDF font rendering can't be dynamically toggled for fonts on HTML5");}function font_get_sdf_enabled(id){if(_i7){id=yyGetInt32(id);if(_UD.Fonts[id]!=undefined){var font=_UD.Fonts[id];return font._wG;}}return false;}function font_sdf_spread(id,enable){console.log("font_enable_sdf() - SDF spread value is fixed for fonts on HTML5");
}function font_get_sdf_spread(id){if(_i7){id=yyGetInt32(id);if(_UD.Fonts[id]!=undefined){var font=_UD.Fonts[id];if(font._wG){return font.sdfSpread;}}}return 0;}function font_enable_effects(id,enable,_0B){if(_i7){id=yyGetInt32(id);if(_UD.Fonts[id]!=undefined){var font=_UD.Fonts[id];font._xG.enabled=yyGetBool(enable);font._yG(_0B);}}}function font_add(_R2,_ec,_kG,_lG,_mG,_nG){return _jG(yyGetString(_R2),yyGetInt32(_ec),yyGetBool(_kG),yyGetBool(_lG),yyGetInt32(_mG),yyGetInt32(_nG),true);}function font_add_sprite(_G4,
_mG,_zG,_7G){var _gG=new _pG();_gG._AG(yyGetInt32(_G4),yyGetInt32(_mG),yyGetBool(_zG),yyGetInt32(_7G),null);return _UD._vG(_gG);}function font_add_sprite_ext(_G4,_BG,_zG,_7G){_BG=yyGetString(_BG);var _gG=new _pG();_gG._AG(yyGetInt32(_G4),_BG.charCodeAt(0),yyGetBool(_zG),yyGetInt32(_7G),_BG);return _UD._vG(_gG);}function font_replace_sprite(_nf,_G4,_mG,_zG,_7G){_nf=yyGetInt32(_nf);var _gG=_UD._I4(_nf);_gG._AG(yyGetInt32(_G4),yyGetInt32(_mG),yyGetBool(_zG),yyGetInt32(_7G),null);return _nf;};function font_replace_sprite_ext(_nf,
_G4,_BG,_zG,_7G){_nf=yyGetInt32(_nf);_BG=yyGetString(_BG);var _gG=_UD._I4(_nf);_gG._AG(yyGetInt32(_G4),_BG.charCodeAt(0),yyGetBool(_zG),yyGetInt32(_7G),_BG);return _nf;};function font_set_cache_size(_x3,_CG){_x3=yyGetInt32(_x3);_CG=yyGetInt32(_CG);var _gG=_UD._I4(_x3);if(!_gG){_L3("Trying to adjust the cache on a non-existant font ("+string(_x3)+")");return false;}if(_gG._DG){_L3("Trying to adjust the cache on a SPRITE font ("+string(_x3)+")");return false;}var _G3=_gG._9r;if(_G3._v7>_CG){_G3._t7=[];_G3._u7=0;
}_G3._v7=_CG;}function font_get_texture(_x3){_x3=yyGetInt32(_x3);var _gG=_UD._I4(_x3);if(!_gG){_L3("Trying to adjust the cache on a non-existant font ("+string(_x3)+")");return false;}if(_gG._DG){_L3("Trying to adjust the cache on a SPRITE font ("+string(_x3)+")");return false;}var _F3=_gG._9r;if(_F3){return({_Lb:_F3.texture,_Mb:_F3,toString:()=>{return "Texture:"+_F3.texture.URL;}});}return null;}function font_get_uvs(_x3){_x3=yyGetInt32(_x3);var _gG=_UD._I4(_x3);if(!_gG){_L3("Trying to adjust the uvs on a non-existent font ("+string(_x3)+")");
return null;}var _F3=_gG._9r;var texture=_F3.texture;var _ds=1.0/texture.width;var _es=1.0/texture.height;var _fs=[];_fs.push(_F3.x*_ds,_F3.y*_es,(_F3.x+_F3.CropWidth)*_ds,(_F3.y+_F3.CropHeight)*_es);return _fs;}function font_get_info(_x3){_x3=yyGetInt32(_x3);var _gG=_UD._I4(_x3);if(!_gG){return undefined;}var _F3=_gG._9r;var _7i=_F3!=null?_F3.x:0;var _EG=_F3!=null?_F3.y:0;_u3=new _FG();variable_struct_set(_u3,"ascenderOffset",_gG.ascenderOffset);variable_struct_set(_u3,"ascender",_gG.ascender);variable_struct_set(_u3,
"sdfSpread",_gG.sdfSpread);variable_struct_set(_u3,"sdfEnabled",_gG._wG);variable_struct_set(_u3,"freetype",false);variable_struct_set(_u3,"size",_gG.size);variable_struct_set(_u3,"spriteIndex",_gG.spriteIndex);variable_struct_set(_u3,"texture",_F3!=null?_F3.tp:-1);variable_struct_set(_u3,"name",_gG.pName);variable_struct_set(_u3,"bold",_gG.bold);variable_struct_set(_u3,"italic",_gG.italic);variable_struct_set(_u3,"effectsEnabled",_gG._xG.enabled);variable_struct_set(_u3,"effectParams",_gG._GG());
variable_struct_set(_u3,"glyphs",new _FG());var glyphs=variable_struct_get(_u3,"glyphs");if(_gG.spriteIndex!=-1){for(var _j3 in _gG._HG){if(_gG._HG.hasOwnProperty(_j3)){var _IG=new _FG();var _JG=_gG._HG[_j3];var _KG=parseInt(_j3);var char=String.fromCharCode(_KG);variable_struct_set(_IG,"char",_JG);variable_struct_set(glyphs,char,_IG);}}}else {for(var _j3 in _gG.glyphs){if(_gG.glyphs.hasOwnProperty(_j3)){var _IG=new _FG();var _JG=_gG.glyphs[_j3];var _KG=parseInt(_j3);var char=String.fromCharCode(_KG);variable_struct_set(_IG,
"char",_KG);variable_struct_set(_IG,"x",_JG.x);variable_struct_set(_IG,"y",_JG.y);variable_struct_set(_IG,"w",_JG.w);variable_struct_set(_IG,"h",_JG.h);variable_struct_set(_IG,"shift",_JG.shift);variable_struct_set(_IG,"offset",_JG.offset);if(_JG._LG!=undefined){var _LG=[];for(var _qk=0;_qk<_JG._LG.length;++_qk){_LG.push(_JG._LG[_qk]);}variable_struct_set(_IG,"kerning",_LG);}variable_struct_set(glyphs,char,_IG);}}}return _u3;}function font_add_enable_aa(){}function font_add_get_enable_aa(){return false;
}var _MG=1;function _NG(_d5){_0q(_d5*1000);}function scheduler_resolution_set(_F2){}function scheduler_resolution_get(){return -1;}function display_set_timing_method(_OG){_MG=yyGetInt32(_OG);}function display_get_timing_method(){return _MG;}/*@constructor */function _PG(_Zm,_R2){this.name=_R2;this.value=_Zm;}function _QG(){var _RG=_zk("hiscores_data_",true);if(_RG!=null){try{var _SG=JSON.parse(_RG);var i;for(i=0;i<_TG;i++){_UG[i]=_SG[i].name;_VG[i]=_SG[i].value;}}catch(_fj){_L3("Error: reading hiscore JSON");
}}}function _Cq(){var _SG={};var i;for(i=0;i<_TG;i++){_SG[i]=new _PG(_VG[i],_UG[i]);}var _RG=JSON.stringify(_SG);_vk("hiscores_data_",_RG);}function draw_highscore(__5,_06,_s5,_t5){__5=yyGetInt32(__5);_06=yyGetInt32(_06);_s5=yyGetInt32(_s5);_t5=yyGetInt32(_t5);var _0G=_UD._0G;var _ia=(_t5-_06)/_TG;for(var i=0;i<_TG;i++){_UD._0G=0;draw_text(__5,_06,_UG[i]);_UD._0G=2;draw_text(_s5,_06,_VG[i].toString());_06+=_ia;}_UD._0G=_0G;}function highscore_clear(){_VG[0]=_VG[1]=_VG[2]=_VG[3]=_VG[4]=_VG[5]=_VG[6]=_VG[7]=_VG[8]=_VG[9]=0;
_UG[0]=_UG[1]=_UG[2]=_UG[3]=_UG[4]=_UG[5]=_UG[6]=_UG[7]=_UG[8]=_UG[9]=_WG;}function highscore_add(_dn,_XG){_XG=yyGetInt32(_XG);var _YG=yyGetString(_dn);if(!_YG){_YG="";}for(var i=0;i<_TG;i++){if(_XG>_VG[i]){_VG.splice(i,0,_XG);_UG.splice(i,0,_YG);_VG.splice(10,1);_UG.splice(10,1);_Cq();return;}}}function highscore_value(_ZG){_ZG=yyGetInt32(_ZG);if(_ZG<1||_ZG>_TG)return -1;return _VG[_ZG-1];}function highscore_name(_ZG){_ZG=yyGetInt32(_ZG);if(_ZG<1||_ZG>_TG)return "";return _UG[_ZG-1];}function __G(_ap,_rn,
_Zm){var _0H,_1H,_2H,_3H,_Yg,_Zg;_0H=(_ap>>16)&0xff;_2H=(_ap>>8)&0xff;_Yg=(_ap&0xff);_1H=(_rn>>16)&0xff;_3H=(_rn>>8)&0xff;_Zg=(_rn&0xff);var _jp=1.0-_Zm;var _i3=_0k(_0H*_jp+_1H*_Zm);var _j3=_0k(_2H*_jp+_3H*_Zm);var _k3=_0k(_Yg*_jp+_Zg*_Zm);var _q3=((_i3&0xff)<<16)|((_j3&0xff)<<8)|(_k3&0xff);return _q3;}function _4H(_ap,_rn,_Zm){return __G(_ap,_rn,_Zm);}function _5H(_ap,_rn){return make_color_rgb((color_get_red(_ap)*color_get_red(_rn))/255,(color_get_green(_ap)*color_get_green(_rn))/255,(color_get_blue(_ap)*color_get_blue(_rn))/255);
}function event_perform(_Ls,_6H,_i2,_7H){_i2=yyGetInt32(_i2);_7H=yyGetInt32(_7H);if(YYInstanceof(_Ls)!="instance"){_L3("Attempt to dispatch event on non-instance object");}var _8H=_9H;_9H=true;var event=_aH(_i2,_7H);var index=_bH(_i2,_7H);_Ls._R4(event,index,_Ls,_6H);_9H=_8H;}function event_perform_async(_Ls,_6H,_i2,_cH){var _dH=g_pBuiltIn.async_load_i2=yyGetInt32(_i2);_cH=yyGetInt32(_cH);g_pBuiltIn.async_load=_cH;_m2._n2(_eH,_i2);ds_map_destroy(_cH);g_pBuiltIn.async_load=_dH;}function _fH(_Ls,_Gp,_gH,
_hH){var _iH=_jH._I4(_gH);if((_iH!=null)&&(_iH!=undefined)){var _kH=_iH.Events[_hH];if((_kH!=null)&&(_kH!=undefined)){_kH.Event(_Ls,_Ls);}}}function event_perform_object(_Ls,_6H,_Ej,_i2,_7H){_Ej=yyGetInt32(_Ej);_i2=yyGetInt32(_i2);_7H=yyGetInt32(_7H);var event=_aH(_i2,_7H);var index=_bH(_i2,_7H);var _ZE=_m2._I4(_Ej);if(!_ZE){_L3("Error: undefined object id passed to event_perform_object: "+_Ej);}else {var _lH=_mH;var _nH=_oH;var _pH=_qH;_mH=_ZE;_oH=event;_qH=index;var _rH=_ZE;while(_rH!=null){if(_rH._R4(event,
index,_Ls,_6H)){break;}_rH=_rH._dE;}_mH=_lH;_oH=_nH;_qH=_pH;}}var _sH=true;function event_user(_Ls,_6H,_7H){_7H=yyGetInt32(_7H);if(_7H<0||_7H>15){_L3("Error: illegal user event ID: "+_7H);}_7H+=_tH;event_perform(_Ls,_6H,_uH,_7H);}function event_inherited(_Ls,_6H){_Ls._vH(_wH,_xH,_6H);}function parameter_count(){return _yH;}function parameter_string(_N2){_N2=yyGetInt32(_N2);if(_N2<0||_N2>_yH)return "";var _rh=_zH[_N2];if(_AH[_N2]!=null)_rh=_rh+"="+_AH[_N2];return _rh;}function _BH(){var _CH="en";if(navigator["language"]){
_CH=navigator["language"];}else if(navigator["userLanguage"]){_CH=navigator["userLanguage"];}return _CH;}function os_get_language(){var _CH=_BH();var _DH=_CH.indexOf("-");if(_DH>=0){_CH=_CH.substring(0,_DH);}return _CH;}function os_get_region(){var _Z3="";var _CH=_BH();var _DH=_CH.indexOf("-");if(_DH>=0){_Z3=_CH.substring(_DH+1,_CH.length);}return _Z3;}function os_check_permission(){}function os_request_permission(){}function device_mouse_dbclick_enable(_Ry){}function base64_encode(data){var _vg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var _wg,_xg,_yg,_8g,_zg,_Ag,_Bg,_Cg;var i=0;var _Dg=0;var _Eg="";var _Fg=[];if(!data){return data;}data=yyGetString(data);if(typeof data!=="string")return undefined;data=_EH(data);do {_wg=data.charCodeAt(i++);_xg=data.charCodeAt(i++);_yg=data.charCodeAt(i++);_Cg=_wg<<16|_xg<<8|_yg;_8g=_Cg>>18&0x3f;_zg=_Cg>>12&0x3f;_Ag=_Cg>>6&0x3f;_Bg=_Cg&0x3f;_Fg[_Dg++]=_vg.charAt(_8g)+_vg.charAt(_zg)+_vg.charAt(_Ag)+_vg.charAt(_Bg);}while(i<data.length);_Eg=_Fg.join('');var _i3=data.length%3;return(_i3?_Eg.slice(0,_i3-3):_Eg)+'==='.slice(_i3||3);
}function _FH(_SD){var _ta="";var index=0;while(index<_SD.length){var _14=0;var _GH=_SD.charCodeAt(index++);if((_GH&0x80)==0){_14=_GH;}else if((_GH&0xe0)==0xc0){_14=(_GH&0x1f)<<6;_GH=_SD.charCodeAt(index++);_14|=(_GH&0x3f);}else if((_GH&0xf0)==0xe0){_14=(_GH&0x0f)<<12;_GH=_SD.charCodeAt(index++);_14|=(_GH&0x3f)<<6;_GH=_SD.charCodeAt(index++);_14|=(_GH&0x3f);}else {_14=(_GH&0x07)<<18;_GH=_SD.charCodeAt(index++);_14|=(_GH&0x3f)<<12;_GH=_SD.charCodeAt(index++);_14|=(_GH&0x3f)<<6;_GH=_SD.charCodeAt(index++);
_14|=(_GH&0x3f);}if(_14==0x00)break;var chr=String.fromCharCode(_14);_ta+=chr;}return _ta;}function base64_decode(data){var _vg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _wg,_xg,_yg,_8g,_zg,_Ag,_Bg,_Cg;var i=0;var _Dg=0;var _HH="";var _Fg=[];if(!data){return data;}data=yyGetString(data);data+='';do {_8g=_vg.indexOf(data.charAt(i++));_zg=_vg.indexOf(data.charAt(i++));_Ag=_vg.indexOf(data.charAt(i++));_Bg=_vg.indexOf(data.charAt(i++));_Cg=_8g<<18|_zg<<12|_Ag<<6|_Bg;_wg=_Cg>>16&0xff;
_xg=_Cg>>8&0xff;_yg=_Cg&0xff;if(_Ag==64){_Fg[_Dg++]=String.fromCharCode(_wg);}else if(_Bg==64){_Fg[_Dg++]=String.fromCharCode(_wg,_xg);}else {_Fg[_Dg++]=String.fromCharCode(_wg,_xg,_yg);}}while(i<data.length);_HH=_Fg.join('');return _FH(_HH);}function _IH(data){var _vg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _wg,_xg,_yg,_8g,_zg,_Ag,_Bg,_Cg;var i=0;var _Dg=0;var _HH="";var _Fg=[];if(!data){return data;}data=yyGetString(data);data+='';do {_8g=_vg.indexOf(data.charAt(i++));_zg=_vg.indexOf(data.charAt(i++));
_Ag=_vg.indexOf(data.charAt(i++));_Bg=_vg.indexOf(data.charAt(i++));_Cg=_8g<<18|_zg<<12|_Ag<<6|_Bg;_wg=_Cg>>16&0xff;_xg=_Cg>>8&0xff;_yg=_Cg&0xff;if(_Ag==64){_Fg[_Dg++]=String.fromCharCode(_wg);}else if(_Bg==64){_Fg[_Dg++]=String.fromCharCode(_wg,_xg);}else {_Fg[_Dg++]=String.fromCharCode(_wg,_xg,_yg);}}while(i<data.length);_HH=_Fg.join('');return _HH;}function md5_string_unicode(string){return _JH(_KH(yyGetString(string)));}function md5_string_utf8(string){return _JH(yyGetString(string));}function md5_file(_Qu){
return "unsupported";}function os_is_network_connected(){if(navigator!=null&&navigator!=undefined){return navigator["onLine"]?1.0:0.0;}return 1.0;}function os_powersave_enable(enable){}function os_lock_orientation(enable){}function analytics_event(_i2){_i2=yyGetString(_i2);try{if(_vD.Options.TrackingID){_gaq.push(['_trackEvent','GMEvent',_i2]);}else if(_vD.Options.FlurryId){FlurryAgent.logEvent(_i2);}}catch(_DD){show_debug_message("caught unhandled exception "+_DD.message);}}function analytics_event_ext(_i2){
_i2=yyGetString(_i2);try{var arguments=arguments;if(_vD.Options.TrackingID){if(arguments.length>=3){_gaq.push(['_trackEvent','GMEvent',_i2,arguments[1],arguments[2]]);}else {_gaq.push(['_trackEvent','GMEvent',_i2]);}}else if(_vD.Options.FlurryId){if((arguments.length>=3)&&(arguments.length&1)==1){var _0B={};var _LH=arguments.length-1;if(_LH>10){_LH=10;}for(var i=0;i<_LH;i+=2){_0B[arguments[i+1]]=arguments[i+2].toString();}FlurryAgent.logEvent(_i2,_0B);}else {FlurryAgent.logEvent(_i2);}}}catch(_DD){show_debug_message("caught unhandled exception "+_DD.message);
}}function sha1_string_unicode(_CF){return _MH(_KH(yyGetString(_CF)));}function sha1_string_utf8(_CF){return _MH(yyGetString(_CF));}function sha1_file(_2q){return "unsupported";}var _NH=0;var _OH="";function _JH(_rh){return _PH(_QH(_RH(_rh)));}function _SH(_rh){return _TH(_QH(_RH(_rh)));}function _UH(_rh,e){return _VH(_QH(_RH(_rh)),e);}function _WH(_qk,_Fl){return _PH(_XH(_RH(_qk),_RH(_Fl)));}function _YH(_qk,_Fl){return _TH(_XH(_RH(_qk),_RH(_Fl)));}function _ZH(_qk,_Fl,e){return _VH(_XH(_RH(_qk),_RH(_Fl)),e);}function __H(){
return _JH("abc").toLowerCase()=="900150983cd24fb0d6963f7d28e17f72";}function _QH(_rh){return _0I(_1I(_2I(_rh),_rh.length*8));}function _XH(key,data){var _3I=_2I(key);if(_3I.length>16)_3I=_1I(_3I,key.length*8);var _4I=Array(16),_5I=Array(16);for(var i=0;i<16;i++){_4I[i]=_3I[i]^0x36363636;_5I[i]=_3I[i]^0x5C5C5C5C;}var hash=_1I(_4I.concat(_2I(data)),512+data.length*8);return _0I(_1I(_5I.concat(hash),512+128));}function _PH(input){var _6I=_NH?"0123456789ABCDEF":"0123456789abcdef";var output="";var x;for(var i=0;
i<input.length;i++){x=input.charCodeAt(i);output+=_6I.charAt((x>>>4)&0x0F)+_6I.charAt(x&0x0F);}return output;}function _TH(input){var _7I="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var output="";var _1i=input.length;for(var i=0;i<_1i;i+=3){var _8I=(input.charCodeAt(i)<<16)|(i+1<_1i?input.charCodeAt(i+1)<<8:0)|(i+2<_1i?input.charCodeAt(i+2):0);for(var _35=0;_35<4;_35++){if(i*8+_35*6>input.length*8)output+=_OH;else output+=_7I.charAt((_8I>>>6*(3-_35))&0x3F);}}return output;}function _VH(input,
_9I){var _aI=_9I.length;var i,_35,q,x,_bI;var _cI=Array(Math.ceil(input.length/2));for(i=0;i<_cI.length;i++){_cI[i]=(input.charCodeAt(i*2)<<8)|input.charCodeAt(i*2+1);}var _dI=Math.ceil(input.length*8/(Math.log(_9I.length)/Math.log(2)));var _eI=Array(_dI);for(_35=0;_35<_dI;_35++){_bI=Array();x=0;for(i=0;i<_cI.length;i++){x=(x<<16)+_cI[i];q=Math.floor(x/_aI);x-=q*_aI;if(_bI.length>0||q>0)_bI[_bI.length]=q;}_eI[_35]=x;_cI=_bI;}var output="";for(i=_eI.length-1;i>=0;i--)output+=_9I.charAt(_eI[i]);return output;
}function _RH(input){var output="";var i=-1;var x,y;while(++i<input.length){x=input.charCodeAt(i);y=i+1<input.length?input.charCodeAt(i+1):0;if(0xD800<=x&&x<=0xDBFF&&0xDC00<=y&&y<=0xDFFF){x=0x10000+((x&0x03FF)<<10)+(y&0x03FF);i++;}if(x<=0x7F)output+=String.fromCharCode(x);else if(x<=0x7FF)output+=String.fromCharCode(0xC0|((x>>>6)&0x1F),0x80|(x&0x3F));else if(x<=0xFFFF)output+=String.fromCharCode(0xE0|((x>>>12)&0x0F),0x80|((x>>>6)&0x3F),0x80|(x&0x3F));else if(x<=0x1FFFFF)output+=String.fromCharCode(0xF0|((x>>>18)&0x07),
0x80|((x>>>12)&0x3F),0x80|((x>>>6)&0x3F),0x80|(x&0x3F));}return output;}function _KH(input){var output="";for(var i=0;i<input.length;i++)output+=String.fromCharCode(input.charCodeAt(i)&0xFF,(input.charCodeAt(i)>>>8)&0xFF);return output;}function _fI(input){var output="";for(var i=0;i<input.length;i++)output+=String.fromCharCode((input.charCodeAt(i)>>>8)&0xFF,input.charCodeAt(i)&0xFF);return output;}function _2I(input){var output=Array(input.length>>2);for(var i=0;i<output.length;i++)output[i]=0;for(var i=0;i<input.length*8;
i+=8)output[i>>5]|=(input.charCodeAt(i/8)&0xFF)<<(i%32);return output;}function _0I(input){var output="";for(var i=0;i<input.length*32;i+=8)output+=String.fromCharCode((input[i>>5]>>>(i%32))&0xFF);return output;}function _1I(x,_1i){x[_1i>>5]|=0x80<<((_1i)%32);x[(((_1i+64)>>>9)<<4)+14]=_1i;var _l3=1732584193;var _k3=-271733879;var c=-1732584194;var _Fl=271733878;for(var i=0;i<x.length;i+=16){var _gI=_l3;var _hI=_k3;var _iI=c;var _jI=_Fl;_l3=_kI(_l3,_k3,c,_Fl,x[i+0],7,-680876936);_Fl=_kI(_Fl,_l3,_k3,c,x[i+1],12,
-389564586);c=_kI(c,_Fl,_l3,_k3,x[i+2],17,606105819);_k3=_kI(_k3,c,_Fl,_l3,x[i+3],22,-1044525330);_l3=_kI(_l3,_k3,c,_Fl,x[i+4],7,-176418897);_Fl=_kI(_Fl,_l3,_k3,c,x[i+5],12,1200080426);c=_kI(c,_Fl,_l3,_k3,x[i+6],17,-1473231341);_k3=_kI(_k3,c,_Fl,_l3,x[i+7],22,-45705983);_l3=_kI(_l3,_k3,c,_Fl,x[i+8],7,1770035416);_Fl=_kI(_Fl,_l3,_k3,c,x[i+9],12,-1958414417);c=_kI(c,_Fl,_l3,_k3,x[i+10],17,-42063);_k3=_kI(_k3,c,_Fl,_l3,x[i+11],22,-1990404162);_l3=_kI(_l3,_k3,c,_Fl,x[i+12],7,1804603682);_Fl=_kI(_Fl,
_l3,_k3,c,x[i+13],12,-40341101);c=_kI(c,_Fl,_l3,_k3,x[i+14],17,-1502002290);_k3=_kI(_k3,c,_Fl,_l3,x[i+15],22,1236535329);_l3=_lI(_l3,_k3,c,_Fl,x[i+1],5,-165796510);_Fl=_lI(_Fl,_l3,_k3,c,x[i+6],9,-1069501632);c=_lI(c,_Fl,_l3,_k3,x[i+11],14,643717713);_k3=_lI(_k3,c,_Fl,_l3,x[i+0],20,-373897302);_l3=_lI(_l3,_k3,c,_Fl,x[i+5],5,-701558691);_Fl=_lI(_Fl,_l3,_k3,c,x[i+10],9,38016083);c=_lI(c,_Fl,_l3,_k3,x[i+15],14,-660478335);_k3=_lI(_k3,c,_Fl,_l3,x[i+4],20,-405537848);_l3=_lI(_l3,_k3,c,_Fl,x[i+9],5,568446438);
_Fl=_lI(_Fl,_l3,_k3,c,x[i+14],9,-1019803690);c=_lI(c,_Fl,_l3,_k3,x[i+3],14,-187363961);_k3=_lI(_k3,c,_Fl,_l3,x[i+8],20,1163531501);_l3=_lI(_l3,_k3,c,_Fl,x[i+13],5,-1444681467);_Fl=_lI(_Fl,_l3,_k3,c,x[i+2],9,-51403784);c=_lI(c,_Fl,_l3,_k3,x[i+7],14,1735328473);_k3=_lI(_k3,c,_Fl,_l3,x[i+12],20,-1926607734);_l3=_mI(_l3,_k3,c,_Fl,x[i+5],4,-378558);_Fl=_mI(_Fl,_l3,_k3,c,x[i+8],11,-2022574463);c=_mI(c,_Fl,_l3,_k3,x[i+11],16,1839030562);_k3=_mI(_k3,c,_Fl,_l3,x[i+14],23,-35309556);_l3=_mI(_l3,_k3,c,_Fl,
x[i+1],4,-1530992060);_Fl=_mI(_Fl,_l3,_k3,c,x[i+4],11,1272893353);c=_mI(c,_Fl,_l3,_k3,x[i+7],16,-155497632);_k3=_mI(_k3,c,_Fl,_l3,x[i+10],23,-1094730640);_l3=_mI(_l3,_k3,c,_Fl,x[i+13],4,681279174);_Fl=_mI(_Fl,_l3,_k3,c,x[i+0],11,-358537222);c=_mI(c,_Fl,_l3,_k3,x[i+3],16,-722521979);_k3=_mI(_k3,c,_Fl,_l3,x[i+6],23,76029189);_l3=_mI(_l3,_k3,c,_Fl,x[i+9],4,-640364487);_Fl=_mI(_Fl,_l3,_k3,c,x[i+12],11,-421815835);c=_mI(c,_Fl,_l3,_k3,x[i+15],16,530742520);_k3=_mI(_k3,c,_Fl,_l3,x[i+2],23,-995338651);_l3=_nI(_l3,
_k3,c,_Fl,x[i+0],6,-198630844);_Fl=_nI(_Fl,_l3,_k3,c,x[i+7],10,1126891415);c=_nI(c,_Fl,_l3,_k3,x[i+14],15,-1416354905);_k3=_nI(_k3,c,_Fl,_l3,x[i+5],21,-57434055);_l3=_nI(_l3,_k3,c,_Fl,x[i+12],6,1700485571);_Fl=_nI(_Fl,_l3,_k3,c,x[i+3],10,-1894986606);c=_nI(c,_Fl,_l3,_k3,x[i+10],15,-1051523);_k3=_nI(_k3,c,_Fl,_l3,x[i+1],21,-2054922799);_l3=_nI(_l3,_k3,c,_Fl,x[i+8],6,1873313359);_Fl=_nI(_Fl,_l3,_k3,c,x[i+15],10,-30611744);c=_nI(c,_Fl,_l3,_k3,x[i+6],15,-1560198380);_k3=_nI(_k3,c,_Fl,_l3,x[i+13],21,
1309151649);_l3=_nI(_l3,_k3,c,_Fl,x[i+4],6,-145523070);_Fl=_nI(_Fl,_l3,_k3,c,x[i+11],10,-1120210379);c=_nI(c,_Fl,_l3,_k3,x[i+2],15,718787259);_k3=_nI(_k3,c,_Fl,_l3,x[i+9],21,-343485551);_l3=_oI(_l3,_gI);_k3=_oI(_k3,_hI);c=_oI(c,_iI);_Fl=_oI(_Fl,_jI);}return Array(_l3,_k3,c,_Fl);}function _pI(q,_l3,_k3,x,_rh,_N5){return _oI(_qI(_oI(_oI(_l3,q),_oI(x,_N5)),_rh),_k3);}function _kI(_l3,_k3,c,_Fl,x,_rh,_N5){return _pI((_k3&c)|((~_k3)&_Fl),_l3,_k3,x,_rh,_N5);}function _lI(_l3,_k3,c,_Fl,x,_rh,_N5){return _pI((_k3&_Fl)|(c&(~_Fl)),
_l3,_k3,x,_rh,_N5);}function _mI(_l3,_k3,c,_Fl,x,_rh,_N5){return _pI(_k3^c^_Fl,_l3,_k3,x,_rh,_N5);}function _nI(_l3,_k3,c,_Fl,x,_rh,_N5){return _pI(c^(_k3|(~_Fl)),_l3,_k3,x,_rh,_N5);}function _oI(x,y){var _rI=(x&0xFFFF)+(y&0xFFFF);var _sI=(x>>16)+(y>>16)+(_rI>>16);return(_sI<<16)|(_rI&0xFFFF);}function _qI(_7u,_tI){return(_7u<<_tI)|(_7u>>>(32-_tI));}function _MH(_rh){return _PH(_uI(_RH(_rh)));}function _vI(_rh){return _TH(_uI(_RH(_rh)));}function _wI(_rh,e){return _VH(_uI(_RH(_rh)),e);}function _xI(_qk,_Fl){return _PH(_yI(_RH(_qk),
_RH(_Fl)));}function _zI(_qk,_Fl){return _TH(_yI(_RH(_qk),_RH(_Fl)));}function _AI(_qk,_Fl,e){return _VH(_yI(_RH(_qk),_RH(_Fl)),e);}function _BI(){return _MH("abc").toLowerCase()=="a9993e364706816aba3e25717850c26c9cd0d89d";}function _uI(_rh){return _CI(_DI(_EI(_rh),_rh.length*8));}function _yI(key,data){var _3I=_EI(key);if(_3I.length>16)_3I=_DI(_3I,key.length*8);var _4I=Array(16),_5I=Array(16);for(var i=0;i<16;i++){_4I[i]=_3I[i]^0x36363636;_5I[i]=_3I[i]^0x5C5C5C5C;}var hash=_DI(_4I.concat(_EI(data)),512+data.length*8);
return _CI(_DI(_5I.concat(hash),512+160));}function _EI(input){var output=Array(input.length>>2);for(var i=0;i<output.length;i++)output[i]=0;for(var i=0;i<input.length*8;i+=8)output[i>>5]|=(input.charCodeAt(i/8)&0xFF)<<(24-i%32);return output;}function _CI(input){var output="";for(var i=0;i<input.length*32;i+=8)output+=String.fromCharCode((input[i>>5]>>>(24-i%32))&0xFF);return output;}function _DI(x,_1i){x[_1i>>5]|=0x80<<(24-_1i%32);x[((_1i+64>>9)<<4)+15]=_1i;var w=Array(80);var _l3=1732584193;var _k3=-271733879;
var c=-1732584194;var _Fl=271733878;var e=-1009589776;for(var i=0;i<x.length;i+=16){var _gI=_l3;var _hI=_k3;var _iI=c;var _jI=_Fl;var _FI=e;for(var _35=0;_35<80;_35++){if(_35<16)w[_35]=x[i+_35];else w[_35]=_qI(w[_35-3]^w[_35-8]^w[_35-14]^w[_35-16],1);var _N5=_oI(_oI(_qI(_l3,5),_GI(_35,_k3,c,_Fl)),_oI(_oI(e,w[_35]),_HI(_35)));e=_Fl;_Fl=c;c=_qI(_k3,30);_k3=_l3;_l3=_N5;}_l3=_oI(_l3,_gI);_k3=_oI(_k3,_hI);c=_oI(c,_iI);_Fl=_oI(_Fl,_jI);e=_oI(e,_FI);}return Array(_l3,_k3,c,_Fl,e);}function _GI(_N5,_k3,c,_Fl){if(_N5<20)return(_k3&c)|((~_k3)&_Fl);
if(_N5<40)return _k3^c^_Fl;if(_N5<60)return(_k3&c)|(_k3&_Fl)|(c&_Fl);return _k3^c^_Fl;}function _HI(_N5){return(_N5<20)?1518500249:(_N5<40)?1859775393:(_N5<60)?-1894007588:-899497514;}function _II(_R2,_lk){for(var index=0;index<_lk.length;index++){var _JI=_lk[index];if(_JI.pName==_R2){return index;}}return -1;}function _KI(_R2,_lk){for(var index=0;index<_lk.length;index++){var _JI=_lk[index];if(_JI.name==_R2){return index;}}return -1;}function _LI(_R2,_lk){var _MI="gml_Script_"+_R2;var _NI=-1;for(var index=0;index<_lk.length;
index++){var _OI=_lk[index];if(_OI.endsWith(_R2)){if(_OI==_MI)return index+100000;else if(_OI==_R2)_NI=index+100000;}}if(_NI==-1){var _PI="gml_GlobalScript_"+_R2;for(var index=0;index<_lk.length;index++){var _OI=_lk[index];if(_OI.endsWith(_R2)){if(_OI==_PI)return index+100000;}}}return _NI;}function _QI(_R2){_R2=yyGetString(_R2);var _RI={type:-1,id:-1};if((_u3=_II(_R2,_vD.GMObjects))>=0){_RI.type=_SI;_RI.id=_u3;return _RI;}if((_u3=_II(_R2,_vD.Sprites))>=0){_RI.type=_TI;_RI.id=_u3;return _RI;}if((_u3=_II(_R2,
_vD.GMRooms))>=0){_RI.type=_UI;_RI.id=_u3;return _RI;}if((_u3=_II(_R2,_vD.Sounds))>=0){_RI.type=_VI;_RI.id=_u3;return _RI;}if((_u3=_II(_R2,_vD.Backgrounds))>=0){_RI.type=_z2?_WI:_XI,_RI.id=_u3;return _RI;}if((_u3=_II(_R2,_vD.Paths))>=0){_RI.type=_YI;_RI.id=_u3;return _RI;}if((_u3=_II(_R2,_vD.Fonts))>=0){_RI.type=_ZI;_RI.id=_u3;return _RI;}if((_u3=_II(_R2,_vD.Timelines))>=0){_RI.type=__I;_RI.id=_u3;return _RI;}if((_u3=_LI(_R2,_vD.ScriptNames))>=0){_RI.type=_0J;_RI.id=_u3;return _RI;}if((_u3=_KI(_R2,_vD.Shaders))>=0){
_RI.type=_1J;_RI.id=_u3;return _RI;}if((_u3=_II(_R2,_vD.Sequences))>=0){_RI.type=_2J;_RI.id=_u3;return _RI;}if((_u3=_II(_R2,_vD.AnimCurves))>=0){_RI.type=_3J;_RI.id=_u3;return _RI;}if((_u3=_4J._5J(_R2))>=0){_RI.type=_6J;_RI.id=_u3;return _RI;}return _RI;}function _7J(_N2,_8J){switch(_8J){case _SI:return(object_exists(_N2))?object_get_name(_N2):"";case _TI:return(sprite_exists(_N2))?sprite_get_name(_N2):"";case _VI:return(_7q(_N2))?_9J(_N2):"";case _UI:return(room_exists(_N2))?room_get_name(_N2):"";case _WI:case _XI:return(_aq(_N2))?_5r(_N2):"";
case _YI:return(path_exists(_N2))?path_get_name(_N2):"";case _0J:return(script_exists(_N2))?script_get_name(_N2):"";case _ZI:return(font_exists(_N2))?font_get_name(_N2):"";case __I:return(timeline_exists(_N2))?timeline_get_name(_N2):"";case _1J:return(_aJ(_N2))?shader_get_name(_N2):"";case _2J:return(_bJ(_N2))?_cJ(_N2):"";case _3J:return(_dJ(_N2))?_eJ(_N2):"";}return "";}function asset_get_index(_R2){_R2=yyGetString(_R2);var _RI=_QI(_R2);if(_RI.id>=0)return _RI.id;var _8k=Object.getOwnPropertyNames(g_pBuiltIn);
for(var i=0;i>_8k;i++){if(_8k[i]==_R2){return i;}}return -1;}function asset_get_type(_R2){_R2=yyGetString(_R2);var _RI=_QI(_R2);return _RI.type;}function alarm_get(_4m,index){return _4m.alarm[yyGetInt32(index)];}function alarm_set(_4m,index,_u7){_4m.alarm[yyGetInt32(index)]=yyGetInt32(_u7);}function game_set_speed(_fJ,_tg){_fJ=yyGetReal(_fJ);if(_fJ<0)return;if(_fJ==0)_B2._gJ(_fJ);if(yyGetInt32(_tg)==0)_B2._gJ(_fJ);else _B2._gJ(1000000.0/_fJ);};function game_get_speed(_fJ){if(!_B2._hJ())return 0;if(yyGetInt32(_fJ)==0)return _B2._C2();
else return 1000000.0/_B2._C2();}/*@constructor */function _iJ(){this._jJ=0;this._kJ=0;this._lJ=false;this._mJ=0;this._nJ=0;};_iJ.prototype._gJ=function(_fJ){this._mJ=_fJ;this._oJ();};_iJ.prototype._pJ=function(_fJ){this._lJ=_fJ;};_iJ.prototype._qJ=function(){return this._jJ;};_iJ.prototype._rJ=function(){return this._jJ*0.000001;};_iJ.prototype._sJ=function(_fJ){return this._jJ/_fJ;};_iJ.prototype._hJ=function(){if(this._mJ>0.0)return true;return true;};_iJ.prototype._oJ=function(){this._jJ=0;if(this._mJ>0.0){
this._kJ=_tJ();}else {this._kJ=0;}this._nJ=0;this._lJ=false;};_iJ.prototype._0f=function(){var current;if(this._mJ>0.0){current=this._kJ+1000000.0/this._mJ;}else current=_tJ();this._nJ=current-this._kJ;if(!this._lJ)this._jJ+=this._nJ;this._kJ=current;};_iJ.prototype._C2=function(){if(this._mJ>0)return this._mJ;if(this._nJ>0){return 1000000.0/this._nJ;}return 30.0;};var _B2=new _iJ();function gamepad_is_supported(){return _md._Ve();}function gamepad_get_device_count(){return _md._Re();}function gamepad_is_connected(_Te){
return _md._1f(yyGetInt32(_Te));}function gamepad_get_button_threshold(_Te){return _md._zd(yyGetInt32(_Te));}function gamepad_set_button_threshold(_Te,_Xe){_md._We(yyGetInt32(_Te),yyGetReal(_Xe));}function gamepad_get_axis_deadzone(_Te){return _md._xd(yyGetInt32(_Te));}function gamepad_set_axis_deadzone(_Te,_Ze){_md._Ye(yyGetInt32(_Te),yyGetReal(_Ze));}function gamepad_get_description(_Te){return _md._Se(yyGetInt32(_Te));}function gamepad_button_count(_Te){return _md._Ed(yyGetInt32(_Te));}function gamepad_button_check(_Te,
_Gd){return _md._Kd(yyGetInt32(_Te),yyGetInt32(_Gd));}function gamepad_button_check_pressed(_Te,_Gd){return _md._Fd(yyGetInt32(_Te),yyGetInt32(_Gd));}function gamepad_button_check_released(_Te,_Gd){return _md._Jd(yyGetInt32(_Te),yyGetInt32(_Gd));}function gamepad_button_value(_Te,_Gd){return _md._Ld(yyGetInt32(_Te),yyGetInt32(_Gd));}function gamepad_axis_count(_Te){return _md._Md(yyGetInt32(_Te));}function gamepad_axis_value(_Te,_Od){return _md._Nd(yyGetInt32(_Te),yyGetInt32(_Od));}function gamepad_set_vibration(_Te,
_uJ,_vJ){}function gamepad_set_color(_Te,_Qr){}function gamepad_set_colour(_Te,_Tb){}function gamepad_hat_count(_Te){return 0;}function gamepad_hat_value(_Te,_N2){return 0;}function gamepad_remove_mapping(_Te){}function gamepad_test_mapping(_Te,_wJ){}function gamepad_get_mapping(_Te){_Te=yyGetInt32(_Te);if((_Te<0)||(_Te>=_md._Re())){return "device index out of range";}return "no mapping";}function gamepad_get_guid(_Te){_Te=yyGetInt32(_Te);if((_Te<0)||(_Te>=_md._Re())){return "device index out of range";}return "none";
}function gamepad_set_option(){}function gamepad_get_option(){return 0;}var _WB=1,_UB=2,_xJ=3,_VB=4,_SB=5,_TB=6,_yJ=7,_zJ=8,_AJ=9,_BJ=10,_CJ=11;var _DJ=0.0;function display_get_gui_height(){var _EJ=_FJ;var scale=_GJ;if(_EJ<0)_EJ=window_get_height();if(scale==0.0)scale=1.0;return _EJ/scale;}function display_get_gui_width(){var _HJ=_IJ;var scale=_JJ;if(_HJ<0)_HJ=window_get_width();if(scale==0.0)scale=1.0;return _HJ/scale;}function display_set_gui_size(_q7,_r7){_IJ=yyGetInt32(_q7);_FJ=yyGetInt32(_r7);_KJ=false;_LJ=0;
_MJ=0;_JJ=1;_GJ=1;if(_NJ){_OJ();}}function display_set_gui_maximise(_gn,_hn,_PJ,_QJ){_KJ=true;_LJ=0;_MJ=0;_JJ=1;_GJ=1;_IJ=-1;_FJ=-1;if(_gn==-1&&_hn==-1&&_PJ==undefined&&_QJ==undefined){if(_NJ){_OJ();}return;}if(_gn!=undefined)_JJ=yyGetReal(_gn);if(_hn!=undefined)_GJ=yyGetReal(_hn);if(_PJ!=undefined)_LJ=yyGetReal(_PJ);if(_QJ!=undefined)_MJ=yyGetReal(_QJ);if(_NJ){_OJ();}}var display_set_gui_maximize=display_set_gui_maximise;var _RJ=96;function display_get_dpi_x(){return _RJ*window.devicePixelRatio;}var _SJ=96;
function display_get_dpi_y(){return _SJ;}function display_get_width(){return _TJ();}function display_get_height(){return _UJ();}function display_get_orientation(){return 0;}function draw_clear(_7c){_VJ(_Ub(yyGetInt32(_7c)));}var draw_clear_alpha=_WJ;function _WJ(_7c,_y8){_7c=yyGetInt32(_7c);_y8=yyGetReal(_y8);_XJ();var _YJ=[];_YJ[0]=1;_YJ[1]=0;_YJ[2]=0;_YJ[3]=1;_YJ[4]=0;_YJ[5]=0;_59._ZJ(_YJ[0],_YJ[1],_YJ[2],_YJ[3],_YJ[4],_YJ[5]);if(!_59.clearRect||_7c!=0||_y8!=0){_59.globalAlpha=_y8;_59.fillStyle=_rr(_Ub(_7c),
_y8);_59.globalCompositeOperation='copy';_59.fillRect(__J,_0K,_1K,_2K);}else {_59.clearRect(__J,_0K,_1K,_2K);}_3K();}function make_color_rgb(_eB,_fB,_gB){return(yyGetInt32(_eB))|(yyGetInt32(_fB)<<8)|(yyGetInt32(_gB)<<16);}function _4K(_Ni,_5K,_6K){return make_color_rgb(_Ni,_5K,_6K);}var make_colour_rgb=make_color_rgb;var _7K=_4K;function color_get_blue(_7c){return(yyGetInt32(_7c)>>16)&0xff;}var colour_get_blue=color_get_blue;function color_get_green(_7c){return(yyGetInt32(_7c)>>8)&0xff;}var colour_get_green=color_get_green;
function color_get_red(_7c){return(yyGetInt32(_7c)&0xff);}var colour_get_red=color_get_red;function _8K(_7c){_7c=yyGetInt32(_7c);var _9K=0.0;var _aK=0.0;var _bK=0.0;var _86=0.0;var _96=0.0;var _cK=0.0;var _Fl=0.0;var _z5=0.0;_9K=(_7c&0xff)/255.0;_aK=((_7c>>8)&0xff)/255.0;_bK=((_7c>>16)&0xff)/255.0;_z5=_M5(_M5(_9K,_aK),_bK);_cK=_L5(_L5(_9K,_aK),_bK);_Fl=_cK-_z5;if(_cK==0)_96=0.0;else _96=1.0*_Fl/_cK;if(_96==0)_86=0.0;else if(_9K==_cK)_86=60.0*(_aK-_bK)/_Fl;else if(_aK==_cK)_86=120.0+60.0*(_bK-_9K)/_Fl;else _86=240.0+60.0*(_9K-_aK)/_Fl;
if(_86<0)_86=_86+360.0;var _14=Math.min(255,Math.max(0,_cK*255.0));var _rh=Math.min(255,Math.max(0,_96*255.0));var h=Math.min(255,Math.max(0,(_86*255.0)/360.0));var _ym={h:h,_rh:_rh,_14:_14};return _ym;}function color_get_hue(_7c){var _dK=_8K(_7c);return _dK.h;}var colour_get_hue=color_get_hue;function color_get_saturation(_7c){var _dK=_8K(_7c);return _dK._rh;}var colour_get_saturation=color_get_saturation;function color_get_value(_7c){var _dK=_8K(_7c);return _dK._14;}var colour_get_value=color_get_value;function merge_color(_ap,
_rn,_TC){_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);_TC=yyGetReal(_TC);var _0H=(_ap>>16)&0xff;var _2H=(_ap>>8)&0xff;var _Yg=_ap&0xff;var _1H=(_rn>>16)&0xff;var _3H=(_rn>>8)&0xff;var _Zg=_rn&0xff;var _eK=1.0-_TC;var _i3=~~(_0H*_eK+_1H*_TC);var _j3=~~(_2H*_eK+_3H*_TC);var _k3=~~(_Yg*_eK+_Zg*_TC);return((_i3<<16)&0xff0000)|((_j3<<8)&0xff00)|(_k3&0xff);}var merge_colour=merge_color;function make_color_hsv(_fK,_gK,_Zm){var _9K=0.0;var _aK=0.0;var _bK=0.0;var _86=0.0;var _96=0.0;var _cK=0.0;var _IC=0.0;var _kg=0.0;var q=0.0;
var _N5=0.0;var i=0;var _ym;_86=yyGetReal(_fK)*360.0/255.0;if(_86==360.0)_86=0.0;_96=yyGetReal(_gK)/255.0;_cK=yyGetReal(_Zm)/255.0;if(_96==0){_9K=_cK;_aK=_cK;_bK=_cK;}else {_86=_86/60.0;i=Math.floor(_86);_IC=_86-i;_kg=_cK*(1.0-_96);q=_cK*(1.0-(_96*_IC));_N5=_cK*(1.0-(_96*(1.0-_IC)));switch(i){case 0:{_9K=_cK;_aK=_N5;_bK=_kg;}break;case 1:{_9K=q;_aK=_cK;_bK=_kg;}break;case 2:{_9K=_kg;_aK=_cK;_bK=_N5;}break;case 3:{_9K=_kg;_aK=q;_bK=_cK;}break;case 4:{_9K=_N5;_aK=_kg;_bK=_cK;}break;default :{_9K=_cK;_aK=_kg;
_bK=q;}}}_9K=Math.max(0,Math.min(255,Math.floor((_9K*255.0)+0.5)));_aK=Math.max(0,Math.min(255,Math.floor((_aK*255.0)+0.5)));_bK=Math.max(0,Math.min(255,Math.floor((_bK*255.0)+0.5)));_ym=_9K|(_aK<<8)|(_bK<<16);return _ym;}var make_colour_hsv=make_color_hsv;function draw_set_alpha(_y8){_y8=yyGetReal(_y8);if(_y8<0){_y8=0;}if(_y8>1){_y8=1;}_Rb=_y8;_hK=_rr(_Sb,_Rb);}function draw_get_alpha(){return _Rb;}function draw_get_color(){return _6G;}var draw_get_colour=draw_get_color;function draw_set_color(_Tb){_Tb=yyGetInt32(_Tb);
_6G=_Tb;_Sb=_Ub(_Tb);_iK=_jK(_Sb);_hK=_rr(_Sb,_Rb);}var draw_set_colour=draw_set_color;function draw_set_lighting(_Ry){_qu(_Ry);};function draw_light_enable(_o8,_Ry){_vu(_o8,_Ry);};function draw_light_define_direction(_o8,_ha,_ia,_su,_q3){_ru(_o8,_ha,_ia,_su,_q3);};function draw_light_define_ambient(colour){_wu(colour);};function draw_light_define_point(_o8,x,y,z,_i3,_q3){_tu(_o8,x,y,z,_i3,_q3);};function draw_light_get_ambient(){return _zu();}function draw_light_get(_o8){return _yu(yyGetInt32(_o8));};function draw_get_lighting(){
return _Au();}function draw_roundrect(__5,_06,_s5,_t5,_jn){draw_roundrect_color_ext(__5,_06,_s5,_t5,10,10,_6G,_6G,_jn);}function draw_roundrect_ext(__5,_06,_s5,_t5,_kK,_lK,_jn){draw_roundrect_color_ext(__5,_06,_s5,_t5,_kK,_lK,_6G,_6G,_jn);}function draw_roundrect_color(__5,_06,_s5,_t5,_ap,_rn,_jn){draw_roundrect_color_ext(__5,_06,_s5,_t5,10,10,_ap,_rn,_jn);}var draw_roundrect_colour=draw_roundrect_color;var draw_roundrect_color_ext=_mK;var draw_roundrect_colour_ext=_mK;function _mK(__5,_06,_s5,_t5,_kK,_lK,
_ap,_rn,_jn){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_kK=yyGetReal(_kK);_lK=yyGetReal(_lK);_ap=yyGetReal(_ap);_rn=yyGetReal(_rn);_jn=yyGetBool(_jn);if(_DJ!=0.0){__5+=_DJ;_06+=_DJ;_s5+=_DJ;_t5+=_DJ;}if(_t5<_06){var _nK=_06;_06=_t5;_t5=_nK;}if(_s5<__5){var _nK=__5;__5=_s5;_s5=_nK;}var width=_s5-__5;var height=_t5-_06;var _oK=_kK;var _pK=_lK;var _q3=_59.globalAlpha=_Rb;_59.beginPath();_59.moveTo(__5+_oK,_06);_59.lineTo(__5+width-_oK,_06);_59.quadraticCurveTo(__5+width,_06,
__5+width,_06+_pK);_59.lineTo(__5+width,_06+height-_pK);_59.quadraticCurveTo(__5+width,_06+height,__5+width-_oK,_06+height);_59.lineTo(__5+_oK,_06+height);_59.quadraticCurveTo(__5,_06+height,__5,_06+height-_pK);_59.lineTo(__5,_06+_pK);_59.quadraticCurveTo(__5,_06,__5+_oK,_06);_59.closePath();if(_jn){_59.strokeStyle=_rr(_Ub(_ap),1.0);_59.stroke();}else {_59.fillStyle=_rr(_Ub(_ap),1.0);_59.fill();}}var draw_rectangle=_qK;function _qK(__5,_06,_s5,_t5,_jn){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);
_t5=yyGetReal(_t5);_jn=yyGetBool(_jn);_59.globalAlpha=_Rb;if(_jn){if(_DJ!=0.0){__5+=_DJ;_06+=_DJ;_s5+=_DJ;_t5+=_DJ;}_59.lineWidth=1;_59.strokeStyle=_hK;_59._rK(__5+0.5,_06+0.5,(_s5-__5),(_t5-_06));}else {if(_DJ!=0.0){_s5+=_DJ;_t5+=_DJ;}_59.fillStyle=_hK;_59._sK(__5,_06,_s5-__5+1,_t5-_06+1);}}var draw_rectangle_color=_tK;var draw_rectangle_colour=_tK;function _tK(__5,_06,_s5,_t5,_ap,_rn,_uK,_vK,_jn){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);
_uK=yyGetInt32(_uK);_vK=yyGetInt32(_vK);_jn=yyGetBool(_jn);var _q3=_rr(_Ub(_ap),1.0);_59.globalAlpha=_Rb;if(_jn){if(_DJ!=0.0){__5+=_DJ;_06+=_DJ;_s5+=_DJ;_t5+=_DJ;}_59.lineWidth=1;_59.strokeStyle=_q3;_59._rK(__5+0.5,_06+0.5,(_s5-__5),(_t5-_06));}else {if(_DJ!=0.0){_s5+=_DJ;_t5+=_DJ;}_59.fillStyle=_q3;_59._sK(__5+0.5,_06+0.5,(_s5-__5),(_t5-_06));}}var _bp=_wK;function _wK(__5,_06,_s5,_t5,_ap,_rn,_xK,_jn){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);
_xK=yyGetBool(_xK);_jn=yyGetBool(_jn);_59.globalAlpha=_Rb;_59.lineWidth=1;var _sn=_rr(_Ub(_ap),1.0);var _tn=_rr(_Ub(_rn),1.0);var _yK;if(_xK){_yK=_59.createLinearGradient(__5,_06,__5,_t5);}else {_yK=_59.createLinearGradient(__5,_06,_s5,_06);}_yK.addColorStop(0,_sn);_yK.addColorStop(1,_tn);if(_jn){if(_DJ!=0.0){__5+=_DJ;_06+=_DJ;_s5+=_DJ;_t5+=_DJ;}_59.strokeStyle=_yK;_59._rK(__5+0.5,_06+0.5,_s5-__5,_t5-_06);}else {if(_DJ!=0.0){_s5+=_DJ;_t5+=_DJ;}_59.fillStyle=_yK;_59._sK(__5+0.5,_06+0.5,_s5-__5,_t5-_06);
}}var draw_point=_zK;function _zK(_u4,_v4){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);if(_DJ!=0.0){_u4+=_DJ;_v4+=_DJ;}_59.globalAlpha=_Rb;_59.fillStyle=_hK;_59._sK(_u4,_v4,1,1);}function draw_line_width(__5,_06,_s5,_t5,_oi){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);if(_DJ!=0.0){__5+=_DJ;_06+=_DJ;_s5+=_DJ;_t5+=_DJ;}_59.globalAlpha=_Rb;_59.strokeStyle=_iK;_59.lineWidth=yyGetReal(_oi);_59._AK();_59._BK(__5+0.5,_06+0.5);_59._CK(_s5+0.5,_t5+0.5);_59._DK();_59._EK();_59._sK(_s5,
_t5,1,1);}function draw_line(__5,_06,_s5,_t5){draw_line_width(__5,_06,_s5,_t5,1);}var draw_getpixel=_FK;var draw_getpixel_ext=_GK;function _FK(_u4,_v4){return _GK(yyGetReal(_u4),yyGetReal(_v4))&0x00ffffff;}function _GK(_u4,_v4){var _HK=canvas.width/_IK;var _JK=canvas.height/_KK;var _q3=_LK(canvas,yyGetReal(_u4)*_HK,yyGetReal(_v4)*_JK);return _q3;}var draw_triangle=_MK;function _MK(__5,_06,_s5,_t5,_Nt,_Ot,_jn){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_Nt=yyGetReal(_Nt);_Ot=yyGetReal(_Ot);
if(_DJ!=0.0){__5+=_DJ;_06+=_DJ;_s5+=_DJ;_t5+=_DJ;_Nt+=_DJ;_Ot+=_DJ;}_59.globalAlpha=_Rb;_59.lineWidth=1;if(yyGetBool(_jn)){_59.strokeStyle=_hK;_59._AK();_59._BK(__5,_06);_59._CK(_s5,_t5);_59._CK(_Nt,_Ot);_59._CK(__5,_06);_59._EK();_59._DK();}else {_59.strokeStyle=_hK;_59.lineJoin="bevel";_59.fillStyle=_hK;_59._AK();_59._BK(__5,_06);_59._CK(_s5,_t5);_59._CK(_Nt,_Ot);_59._CK(__5,_06);_59._NK();_59._EK();_59._DK();_59.lineJoin="miter";}}var draw_triangle_color=_OK;var draw_triangle_colour=_OK;function _OK(__5,
_06,_s5,_t5,_Nt,_Ot,_ap,_rn,_uK,_jn){var _sn=_jK(_Ub(_ap)|0xff000000);__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);_uK=yyGetInt32(_uK);_vK=yyGetInt32(_vK);_jn=yyGetBool(_jn);if(_DJ!=0.0){__5+=_DJ;_06+=_DJ;_s5+=_DJ;_t5+=_DJ;_Nt+=_DJ;_Ot+=_DJ;}_59.globalAlpha=_Rb;_59.lineWidth=1;if(_jn){_59.strokeStyle=_sn;_59._AK();_59._BK(__5,_06);_59._CK(_s5,_t5);_59._CK(_Nt,_Ot);_59._CK(__5,_06);_59._EK();_59._DK();}else {_59.strokeStyle=_sn;
_59.lineJoin="bevel";_59.fillStyle=_sn;_59._AK();_59._BK(__5,_06);_59._CK(_s5,_t5);_59._CK(_Nt,_Ot);_59._CK(__5,_06);_59._NK();_59._EK();_59._DK();_59.lineJoin="miter";}}var _Ln=_PK;function _PK(__5,_06,_s5,_t5,_TC,_QK,_RK,_SK,_TK,_UK,_VK,_WK){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_TC=yyGetReal(_TC);_QK=yyGetInt32(_QK);_RK=yyGetInt32(_RK);_SK=yyGetInt32(_SK);_TK=yyGetInt32(_TK);_UK=yyGetInt32(_UK);_VK=yyGetBool(_VK);_WK=yyGetBool(_WK);var _XK;var _YK;var _ZK;var __K;
var _q3;if(_VK){draw_rectangle_color(__5,_06,_s5,_t5,_QK,_QK,_QK,_QK,false);if(_WK){draw_rectangle_color(__5,_06,_s5,_t5,_wn,_wn,_wn,_wn,true);}}if(_TC<0){_TC=0;}if(_TC>100){_TC=100;}var _0L=_TC/100;switch(_UK){case 0:_XK=__5;_ZK=_06;_YK=__5+_0L*(_s5-__5);__K=_t5;break;case 1:_XK=_s5-_0L*(_s5-__5);_ZK=_06;_YK=_s5;__K=_t5;break;case 2:_XK=__5;_ZK=_06;_YK=_s5;__K=_06+_0L*(_t5-_06);break;case 3:_XK=__5;_ZK=_t5-_0L*(_t5-_06);_YK=_s5;__K=_t5;break;default :_XK=__5;_ZK=_06;_YK=__5+_0L*(_s5-__5);__K=_t5;break;
}if(_TC>50){_q3=__G(_SK,_TK,(_TC-50.0)/50.0);}else {_q3=__G(_RK,_SK,_TC/50.0);}draw_rectangle_color(_XK,_ZK,_YK,__K,_q3,_q3,_q3,_q3,false);if(_WK){draw_rectangle_color(_XK,_ZK,_YK,__K,_wn,_wn,_wn,_wn,true);}}function draw_healthbar(__5,_06,_s5,_t5,_TC,_QK,_RK,_TK,_UK,_VK,_WK){var _q3=merge_color(_RK,_TK,0.5);_Ln(__5,_06,_s5,_t5,_TC,_QK,_RK,_q3,_TK,_UK,_VK,_WK);}function draw_set_circle_precision(_1L){_2L(yyGetInt32(_1L));}function _3L(){return _4L();}var draw_arrow=_5L;function _5L(_A5,_B5,_C5,_D5,size){
_A5=yyGetReal(_A5);_B5=yyGetReal(_B5);_C5=yyGetReal(_C5);_D5=yyGetReal(_D5);size=yyGetReal(size);var _6L=Math.sqrt(((_C5-_A5)*(_C5-_A5))+((_D5-_B5)*(_D5-_B5)));if(_6L!=0){if(size>_6L){size=_6L;}var _R5=size*(_C5-_A5)/_6L;var _T5=size*(_D5-_B5)/_6L;draw_line(_A5,_B5,_C5,_D5);draw_triangle(_C5-_R5-_T5/3.0,_D5-_T5+_R5/3.0,_C5,_D5,_C5-_R5+_T5/3.0,_D5-_T5-_R5/3.0,false);}}function draw_ellipse(__5,_06,_s5,_t5,_jn){draw_ellipse_color(__5,_06,_s5,_t5,_6G,_6G,_jn);}var draw_ellipse_color=_7L;var draw_ellipse_colour=_7L;
function _7L(x,y,_A5,_B5,_ap,_rn,_8L){x=yyGetReal(x);y=yyGetReal(y);_A5=yyGetReal(_A5);_B5=yyGetReal(_B5);_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);_8L=yyGetBool(_8L);if(_DJ!=0.0){x+=_DJ;y+=_DJ;_A5+=_DJ;_B5+=_DJ;}var w=_A5-x;var h=_B5-y;var _9L=0.5522848;var _aL=(w/2)*_9L;var _bL=(h/2)*_9L;var _cL=x+w;var _dL=y+h;var _eL=x+w/2;var _fL=y+h/2;_59.beginPath();_59.moveTo(x,_fL);_59.bezierCurveTo(x,_fL-_bL,_eL-_aL,y,_eL,y);_59.bezierCurveTo(_eL+_aL,y,_cL,_fL-_bL,_cL,_fL);_59.bezierCurveTo(_cL,_fL+_bL,_eL+_aL,_dL,
_eL,_dL);_59.bezierCurveTo(_eL-_aL,_dL,x,_fL+_bL,x,_fL);_59.closePath();var _sn=_rr(_Ub(_ap),1.0);var _tn=_rr(_Ub(_rn),1.0);if(w<=0)w*=-1;if(h<=0)h*=-1;var _yK=_59.createRadialGradient(_eL,_fL,0,_eL,_fL,min(w/2,h/2));_yK.addColorStop(0,_sn);_yK.addColorStop(1,_tn);_59.globalAlpha=_Rb;if(_8L){_59.lineWidth=1;_59.strokeStyle=_yK;_59.stroke();}else {_59.fillStyle=_yK;_59.fill();}}var draw_circle_color=_gL;var draw_circle_colour=_gL;function _gL(_u4,_v4,_Ni,_ap,_rn,_jn){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);
_Ni=yyGetReal(_Ni);_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);_jn=yyGetBool(_jn);if(_DJ!=0.0){_u4+=_DJ;_v4+=_DJ;}_59.globalAlpha=_Rb;var _sn=_rr(_Ub(_ap),1.0);var _tn=_rr(_Ub(_rn),1.0);var _yK=_59.createRadialGradient(_u4,_v4,0,_u4,_v4,_Ni);_yK.addColorStop(0,_sn);_yK.addColorStop(1,_tn);_59._AK();if(_jn){_59.lineWidth=1;_59.strokeStyle=_yK;_59._hL(_u4,_v4,_Ni,0,Math.PI*2,true);_59._EK();}else {_59.fillStyle=_yK;_59._hL(_u4,_v4,_Ni,0,Math.PI*2,false);_59._NK();}_59._DK();}function draw_circle(_u4,_v4,_Ni,
_jn){draw_circle_color(_u4,_v4,_Ni,_6G,_6G,_jn);}var draw_point_color=_iL;var draw_point_colour=_iL;function _iL(_u4,_v4,_7c){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);if(_DJ!=0.0){_u4+=_DJ;_v4+=_DJ;}var _sn=_rr(_Ub(yyGetInt32(_7c)),1.0);_59.globalAlpha=_Rb;_59.fillStyle=_sn;_59._sK(_u4,_v4,1,1);}var draw_line_width_color=_jL;var draw_line_width_colour=_jL;function _jL(__5,_06,_s5,_t5,_oi,_ap,_rn){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_oi=yyGetReal(_oi);_ap=yyGetInt32(_ap);
_rn=yyGetInt32(_rn);if(_DJ!=0.0){__5+=_DJ;_06+=_DJ;_s5+=_DJ;_t5+=_DJ;}_59.globalAlpha=_Rb;var _sn=_rr(_Ub(_ap),1.0);var _tn=_rr(_Ub(_rn),1.0);var _yK=_59.createLinearGradient(__5,_06,_s5,_t5);_yK.addColorStop(0,_sn);_yK.addColorStop(1,_tn);_59.strokeStyle=_yK;_59._AK();_59._BK(__5+0.5,_06+0.5);_59._CK(_s5+0.5,_t5+0.5);_59.lineWidth=_oi;_59._EK();_59._DK();}function draw_line_color(__5,_06,_s5,_t5,_ap,_rn){draw_line_width_color(__5,_06,_s5,_t5,1,_ap,_rn);}var draw_line_colour=draw_line_color;function draw_button(__5,
_06,_s5,_t5,_kL){if(_DJ!=0.0){__5+=_DJ;_06+=_DJ;_s5+=_DJ;_t5+=_DJ;}if(_kL){draw_line_width_color(__5,_06,_s5,_06,2,0xffffff,0xffffff);draw_line_width_color(__5,_06,__5,_t5,2,0xffffff,0xffffff);draw_line_width_color(_s5,_06,_s5,_t5,2,0x404040,0x404040);draw_line_width_color(_s5,_t5,__5,_t5,2,0x404040,0x404040);}else {draw_line_width_color(__5,_06,_s5,_06,2,0x404040,0x404040);draw_line_width_color(__5,_06,__5,_t5,2,0x404040,0x404040);draw_line_width_color(_s5,_06,_s5,_t5,2,0xffffff,0xffffff);draw_line_width_color(_s5,
_t5,__5,_t5,2,0xffffff,0xffffff);}draw_rectangle_color(__5,_06,_s5,_t5,_6G,_6G,_6G,_6G,false);}function _qq(x,y,_A5,_B5,_sn,_tn,_8L){draw_ellipse_color(x,y,_A5,_B5,_sn,_tn,_8L);}function _lL(_mL){switch(_mL){case 1:_nL(_SB,_UB);break;case 2:_nL(_SB,_VB);break;case 3:_nL(_WB,_VB);break;default :_nL(_SB,_TB);break;}}var _nL=_oL;function _oL(src,_f9){_Ma("Blend modes only available in WebGL mode.");}function draw_texture_flush(){if(_i7==null)return;_pL();}function draw_enable_drawevent(_My){_qL=yyGetBool(_My);
}function skeleton_animation_set(_j6,_R2,_S2=true){var _rL=_j6._68();if(_rL){_rL._q2(yyGetString(_R2),_S2);_j6.image_index=0;_rL._M2(0,0);}}function skeleton_animation_mix(_j6,_sL,_tL,_53){var _rL=_j6._68();if(_rL){_rL._23(yyGetString(_sL),yyGetString(_tL),yyGetReal(_53));}}function skeleton_animation_set_ext(_j6,_I6,_v2,_S2=true){var _rL=_j6._68();if(_rL){_v2=yyGetInt32(_v2);_rL._T2(yyGetString(_I6),_v2,_S2);if(_v2==0){_j6.image_index=0;_rL._M2(0,0);}}}function skeleton_animation_get_ext(_j6,_v2){var _rL=_j6._68();
if(_rL){return _rL._E6(yyGetInt32(_v2));}return "";}function skeleton_attachment_set(_j6,_uL,_vL){_uL=yyGetString(_uL);var _rL=_j6._68();if(_rL){if(typeof(_vL)=="string"){_rL._73(_uL,_vL);}else {_vL=yyGetInt32(_vL);if(sprite_exists(_vL)){var _0F=_H4._I4(_vL);if(_rL._s3(_uL,_0F.pName)===undefined){_rL._v3(_0F.pName,_0F,0,_0F.xOrigin,_0F.yOrigin,1,1,0,undefined,0xffffffff,1.0,false);}_rL._73(_uL,_0F.pName);}else {_rL._73(_uL,-1);}}}}function skeleton_attachment_get(_j6,_uL){var _rL=_j6._68();if(_rL){return _rL._S6(yyGetString(_uL));
}return "";}function skeleton_attachment_create(_j6,_R2,_u2,_x3,_y3,_z3,_A3,_B3,_C3){var _rL=_j6._68();if(_rL){_x3=yyGetInt32(_x3);if(sprite_exists(_u2)&&(_x3>=0)){var _0F=_H4._I4(_u2);if((_0F._wL!=undefined)||(_0F._xL!=undefined)){console.log("ERROR: Sprite '"+_0F.pName+"' is not valid for use as an attachment (must be a bitmap)\n");return -1.0;}_rL._v3(yyGetString(_R2),_0F,_x3,yyGetReal(_y3),yyGetReal(_z3),yyGetReal(_A3),yyGetReal(_B3),yyGetReal(_C3),undefined,undefined,undefined,false);return 1.0;}
}return -1.0;}function skeleton_attachment_create_colour(_j6,_R2,_u2,_x3,_y3,_z3,_A3,_B3,_C3,_7c,_y8){var _rL=_j6._68();if(_rL){_x3=yyGetInt32(_x3);if(sprite_exists(_u2)&&(_x3>=0)){var _0F=_H4._I4(_u2);if((_0F._wL!=undefined)||(_0F._xL!=undefined)){console.log("ERROR: Sprite '"+_0F.pName+"' is not valid for use as an attachment (must be a bitmap)\n");return -1.0;}_rL._v3(yyGetString(_R2),_0F,_x3,yyGetReal(_y3),yyGetReal(_z3),yyGetReal(_A3),yyGetReal(_B3),yyGetReal(_C3),undefined,yyGetInt32(_7c),yyGetReal(_y8),
false);return 1.0;}}return -1.0;}function skeleton_attachment_create_color(_j6,_R2,_u2,_x3,_y3,_z3,_A3,_B3,_C3,_7c,_y8){skeleton_attachment_create_colour(_j6,_R2,_u2,_x3,_y3,_z3,_A3,_B3,_C3,_7c,_y8);}function skeleton_attachment_replace(_j6,_R2,_u2,_x3,_y3,_z3,_A3,_B3,_C3){var _rL=_j6._68();if(_rL){_x3=yyGetInt32(_x3);if(sprite_exists(_u2)&&(_x3>=0)){var _0F=_H4._I4(_u2);if((_0F._wL!=undefined)||(_0F._xL!=undefined)){console.log("ERROR: Sprite '"+_0F.pName+"' is not valid for use as an attachment (must be a bitmap)\n");
return -1.0;}_rL._v3(yyGetString(_R2),_0F,_x3,yyGetReal(_y3),yyGetReal(_z3),yyGetReal(_A3),yyGetReal(_B3),yyGetReal(_C3),undefined,undefined,undefined,true);return 1.0;}}return -1.0;}function skeleton_attachment_replace_colour(_j6,_R2,_u2,_x3,_y3,_z3,_A3,_B3,_C3,_7c,_y8){var _rL=_j6._68();if(_rL){_x3=yyGetInt32(_x3);if(sprite_exists(_u2)&&(_x3>=0)){var _0F=_H4._I4(_u2);if((_0F._wL!=undefined)||(_0F._xL!=undefined)){console.log("ERROR: Sprite '"+_0F.pName+"' is not valid for use as an attachment (must be a bitmap)\n");
return -1.0;}_rL._v3(yyGetString(_R2),_0F,_x3,yyGetReal(_y3),yyGetReal(_z3),yyGetReal(_A3),yyGetReal(_B3),yyGetReal(_C3),undefined,yyGetInt32(_7c),yyGetReal(_y8),true);return 1.0;}}return -1.0;}function skeleton_attachment_destroy(_j6,_R2){var name=yyGetString(_R2);var _rL=_j6._68();if(_rL){var _yL=_rL._p4(name);if(!_yL){console.log("skeleton_attachment_destroy: Attempted to destroy non-existant attachment '"+name+"'");}}}function skeleton_attachment_exists(_j6,_R2){var name=yyGetString(_R2);var _rL=_j6._68();
if(_rL){var _yL=(_rL._s3(null,name,true)!==undefined);return _yL;}}function skeleton_attachment_replace_color(_j6,_R2,_u2,_x3,_y3,_z3,_A3,_B3,_C3,_7c,_y8){skeleton_attachment_replace_colour(_j6,_R2,_u2,_x3,_y3,_z3,_A3,_B3,_C3,_7c,_y8);}function skeleton_slot_colour_set(_j6,_uL,_7c,_y8){var _rL=_j6._68();if(_rL){_uL=yyGetString(_uL);_rL._g3(_uL,yyGetInt32(_7c));_rL._n3(_uL,yyGetReal(_y8));}}function skeleton_slot_color_set(_j6,_uL,_7c,_y8){skeleton_slot_colour_set(_j6,_uL,_7c,_y8);}function skeleton_slot_colour_get(_j6,
_uL){var _rL=_j6._68();if(_rL){return _rL._p3(yyGetString(_uL));}return 0xffffffff;}function skeleton_slot_color_get(_j6,_uL){return skeleton_slot_colour_get(_j6,_uL);}function skeleton_slot_alpha_get(_j6,_uL){var _rL=_j6._68();if(_rL){return _rL._r3(yyGetString(_uL));}return 1.0;}function skeleton_skin_set(_j6,_R2){var _rL=_j6._68();if(_rL){if(_R2.__type=="[SkeletonSkin]"){_rL._r2(_R2);}else {_rL._r2(yyGetString(_R2));}}}function skeleton_skin_get(_j6){var _rL=_j6._68();if(_rL){return _rL._v6();}return "";}function skeleton_skin_create(_j6,
_R2,_zL){var name=yyGetString(_R2);if(!Array.isArray(_zL)){_L3("skeleton_skin_create argument 2 incorrect type (expecting an Array)");}var _AL=[];for(var i=0;i<_zL.length;++i){_AL.push(yyGetString(_zL[i]));}var _rL=_j6._68();if(_rL){var _y6=_rL._w6(name,_AL);return _y6;}}function skeleton_animation_get(_j6){return skeleton_animation_get_ext(_j6,0);}function skeleton_animation_get_duration(_j6,__7){var _rL=_j6._68();if(_rL){return _rL._H6(yyGetString(__7));}return 0.0;}function skeleton_animation_get_frames(_j6,
__7){var _rL=_j6._68();if(_rL){return _rL._J6(yyGetString(__7));}return 0.0;}function skeleton_animation_get_frame(_j6,_v2){var _rL=_j6._68();if(_rL){return _rL._J2(yyGetInt32(_v2));}return 0;}function skeleton_animation_set_frame(_j6,_v2,_N2){var _rL=_j6._68();if(_rL){_rL._M2(yyGetInt32(_v2),yyGetInt32(_N2));}}function skeleton_animation_get_position(_j6,_v2){var _Q2=yyGetInt32(_v2);var _rL=_j6._68();if(_rL){var _BL=_rL._t2(undefined,_Q2);var _CL=_rL._J2(_Q2);if(_BL!=0){var _DL=_CL/_BL;if(_DL<0.0)_DL=0.0;if(_DL>1.0)_DL=1.0;
return _DL;}}return -1;}function skeleton_animation_set_position(_j6,_v2,_EL){var _Q2=yyGetInt32(_v2);var _DL=yyGetReal(_EL);if(_DL>=1.0||_DL<=1.0){_DL-=Math.floor(_DL/1.0);}if(_DL<0.0){_DL=1.0+_DL;}var _rL=_j6._68();if(_rL){var _BL=_rL._t2(undefined,_Q2);if(_BL!=0){var _FL=Math.floor(_DL*_BL);if(_FL<0)_FL=0;if(_FL>=_BL)_FL=_BL-1;_rL._M2(_Q2,_FL);}}}function skeleton_animation_get_event_frames(_j6,_I6,_i2){var frames=[];var _rL=_j6._68();if(_rL){var _GL=_rL._K6(_I6,_i2);if(_GL==null){frames.push(-1);}else {frames=_GL;
}}else {frames.push(-1);}return frames;}function skeleton_animation_clear(_j6,_v2){var _rL=_j6._68();if(_rL){_rL._F6(yyGetInt32(_v2));}}function skeleton_animation_is_looping(_j6,_v2){var _rL=_j6._68();if(_rL){return _rL._O2(yyGetInt32(_v2));}return false;}function skeleton_animation_is_finished(_j6,_v2){var _rL=_j6._68();if(_rL){return _rL._P2(yyGetInt32(_v2));}return false;}function skeleton_collision_draw_set(_j6,_F2){var _rL=_j6._68();if(_rL){_rL._s4(yyGetReal(_F2)>0.5?true:false);}}function skeleton_bone_data_get(_j6,
_c6,_d6){var _rL=_j6._68();if(_rL){_rL._b6(yyGetString(_c6),yyGetInt32(_d6));}}function skeleton_bone_data_set(_j6,_c6,_d6){var _rL=_j6._68();if(_rL){_rL._h6(yyGetString(_c6),yyGetInt32(_d6));}}function skeleton_bone_state_get(_j6,_c6,_d6){var _rL=_j6._68();if(_rL){_rL._i6(_j6,yyGetString(_c6),yyGetInt32(_d6));}}function skeleton_bone_state_set(_j6,_c6,_d6){var _rL=_j6._68();if(_rL){_rL._s6(_j6,yyGetString(_c6),yyGetInt32(_d6));}}function draw_skeleton(_u2,_HL,_IL,_JL,_u4,_v4,_gn,_hn,_C3,_Tb,_y8){var _0F=_H4._I4(yyGetInt32(_u2));
if(_0F!=null&&_0F!=undefined){if(_0F._xL){_0F._xL._Z7(yyGetString(_HL),yyGetString(_IL),yyGetInt32(_JL),yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_gn),yyGetReal(_hn),yyGetReal(_C3),yyGetInt32(_Tb),yyGetReal(_y8));}}}function draw_skeleton_time(_u2,_HL,_IL,_d5,_u4,_v4,_gn,_hn,_C3,_Tb,_y8){var _0F=_H4._I4(yyGetInt32(_u2));if(_0F!=null&&_0F!=undefined){if(_0F._xL){_0F._xL._48(yyGetString(_HL),yyGetString(_IL),yyGetReal(_d5),yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_gn),yyGetReal(_hn),yyGetReal(_C3),yyGetInt32(_Tb),
yyGetReal(_y8));}}}function draw_skeleton_instance(){_Ma("draw_skeleton_instance()");};function draw_skeleton_collision(_u2,_HL,_JL,_u4,_v4,_gn,_hn,_C3,_Tb){var _0F=_H4._I4(yyGetInt32(_u2));if(_0F!=null&&_0F!=undefined){if(_0F._xL){_0F._xL._n8(yyGetString(_HL),yyGetInt32(_JL),yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_gn),yyGetReal(_hn),yyGetReal(_C3),yyGetInt32(_Tb),_0F);}}}function draw_enable_skeleton_blendmodes(_Ry){_X6=yyGetBool(_Ry);}function draw_get_enable_skeleton_blendmodes(){return _X6;}function skeleton_animation_list(_u2,
_U6){var _0F=_H4._I4(yyGetInt32(_u2));if(_0F!=null&&_0F!=undefined){if(_0F._xL){_0F._xL._Ca(yyGetInt32(_U6));}}};function skeleton_skin_list(_u2,_U6){var _0F=_H4._I4(yyGetInt32(_u2));if(_0F!=null&&_0F!=undefined){if(_0F._xL){_0F._xL._Da(yyGetInt32(_U6));}}};function skeleton_bone_list(_u2,_U6){var _0F=_H4._I4(yyGetInt32(_u2));if(_0F!=null&&_0F!=undefined){if(_0F._xL){_0F._xL._Ea(yyGetInt32(_U6));}}};function skeleton_slot_list(_u2,_U6){var _0F=_H4._I4(yyGetInt32(_u2));if(_0F!=null&&_0F!=undefined){if(_0F._xL){
_0F._xL._Fa(yyGetInt32(_U6));}}};function skeleton_slot_data(_u2,_U6){var _0F=_H4._I4(yyGetInt32(_u2));if(_0F!=null&&_0F!=undefined){if(_0F._xL){_0F._xL._T6(yyGetInt32(_U6));return 1;}}return -1;};function skeleton_slot_data_instance(_j6,_U6){var _rL=_j6._68();if(_rL){_rL._T6(yyGetInt32(_U6));return 1;}return -1;};function _KL(_j6,_v2){var _rL=_j6._68();if(_rL){return _rL._J2(_v2);}return 0.0;};function skeleton_get_minmax(_j6){var _rL=_j6._68();if(_rL){var rect=new _ME(0,0,0,0);if(_rL._j5(rect)){var _o5=[];_o5.push(rect.left,
rect.top,rect.right,rect.bottom);return _o5;}}var _o5=[];_o5.push(0.0,0.0,0.0,0.0);return _o5;};function skeleton_get_num_bounds(_j6){var _rL=_j6._68();if(_rL){return _rL._k5();}return 0.0;};function skeleton_get_bounds(_j6,_N2){var _rL=_j6._68();if(_rL){return _rL._l5(yyGetInt32(_N2));}var _o5=[];_o5.push(0,"");return _o5;};function skeleton_find_slot(_j6,_u4,_v4,_U6){var _rL=_j6._68();if(_rL){var _0F=_H4._I4(_j6.sprite_index);if(_0F!=null&&_0F!=undefined){if(_0F._xL){_0F._LL(_j6,yyGetReal(_u4),yyGetReal(_v4),
yyGetInt32(_U6));}}}}function draw_enable_swf_aa(_ML){_NL=yyGetBool(_ML);};function draw_set_swf_aa_level(_OL){_PL=yyGetReal(_OL);};function draw_get_swf_aa_level(){return _PL;};function _QL(xview,yview,wview,hview,angle){if(Math.abs(angle)<0.001){_RL.left=xview;_RL.top=yview;_RL.right=xview+wview;_RL.bottom=yview+hview;}else {var _Yt=angle*(Math.PI/180.0);var _rh=Math.abs(sin(_Yt));var c=Math.abs(cos(_Yt));var _fj=(c*wview)+(_rh*hview);var _SL=(_rh*wview)+(c*hview);_RL.left=(xview+(wview-_fj)/2);_RL.right=(xview+(wview+_fj)/2);
_RL.top=(yview+(hview-_SL)/2);_RL.bottom=(yview+(hview+_SL)/2);}};function _zA(_TL,_UL,_VL,_WL){var _XL=(_UL._z5[11]==0);if(_XL){if(_VL===undefined){_VL=new _Dy();_VL._YL(_TL);}if(_WL===undefined){var _ZL=new _Dy();_ZL.Multiply(_TL,_UL);_WL=new _Dy();_WL._YL(_ZL);}var __L=new _Xy();__L._tz=_VL._z5[_cA];__L._uz=_VL._z5[_fA];__L._vz=_VL._z5[_kA];var _0M,_1M,_2M,_3M;_0M=_WL._4M(new _Xy(-1.0,0.0,0.0));_1M=_WL._4M(new _Xy(1.0,0.0,0.0));_2M=_WL._4M(new _Xy(0.0,1.0,0.0));_3M=_WL._4M(new _Xy(0.0,-1.0,0.0));var _5M=_1M._6M(_0M);
var _7M=_2M._6M(_3M);_8M=_5M.Length();_9M=_7M.Length();_aM=__L._tz-(_8M*0.5);_bM=__L._uz-(_9M*0.5);var _cM=_7M;_cM._qz();var angle=Math.acos(_cM._uz);if(_cM._tz<0.0){angle=(2.0*Math.PI)-angle;}var _dM=(angle/(2.0*Math.PI))*360.0;_QL(_aM,_bM,_8M,_9M,_dM);}else {_aM=0;_bM=0;_8M=_x2!=null?_x2._eM():1;_9M=_x2!=null?_x2._fM():1;_QL(_aM,_bM,_8M,_9M,0);}}function _gM(){if(_hM){var _iM=new _Dy();_iM.Multiply(_sA[_tA],_sA[_wA]);_jM._kM(_iM);_hM=false;}return _jM;}function _lM(){_mM=true;};function _nM(){if(_mM){var _oM=new _Dy();
_oM._YL(_sA[_Zz]);var _Z9=[];var __9=[];_Z9[0]=_RL.left;_Z9[1]=_RL.right;_Z9[2]=_RL.right;_Z9[3]=_RL.left;__9[0]=_RL.top;__9[1]=_RL.top;__9[2]=_RL.bottom;__9[3]=_RL.bottom;_pM.left=Number.MAX_SAFE_INTEGER;_pM.top=Number.MAX_SAFE_INTEGER;_pM.right=Number.MIN_SAFE_INTEGER;_pM.bottom=Number.MIN_SAFE_INTEGER;for(var i=0;i<4;i++){var _qM=((_Z9[i]*_oM._z5[0])+(__9[i]*_oM._z5[4])+_oM._z5[12]);var _rM=((_Z9[i]*_oM._z5[1])+(__9[i]*_oM._z5[5])+_oM._z5[13]);_pM.left=_M5(_pM.left,_qM);_pM.top=_M5(_pM.top,_rM);_pM.right=_L5(_pM.right,
_qM);_pM.bottom=_L5(_pM.bottom,_rM);}_mM=false;}};function view_get_camera(_Wy){return g_pBuiltIn.view_camera[yyGetInt32(_Wy)];};function view_get_visible(_Wy){return g_pBuiltIn.view_visible[yyGetInt32(_Wy)];};function view_get_xport(_Wy){return g_pBuiltIn.view_xport[yyGetInt32(_Wy)];};function view_get_yport(_Wy){return g_pBuiltIn.view_yport[yyGetInt32(_Wy)];};function view_get_wport(_Wy){return g_pBuiltIn.view_wport[yyGetInt32(_Wy)];};function view_get_hport(_Wy){return g_pBuiltIn.view_hport[yyGetInt32(_Wy)];
};function view_get_surface_id(_Wy){return g_pBuiltIn.view_surface_id[yyGetInt32(_Wy)];};function view_set_camera(_Wy,_sM){g_pBuiltIn.view_camera[yyGetInt32(_Wy)]=yyGetInt32(_sM);};function view_set_visible(_Wy,visible){g_pBuiltIn.view_visible[yyGetInt32(_Wy)]=yyGetInt32(visible);};function view_set_xport(_Wy,xport){g_pBuiltIn.view_xport[yyGetInt32(_Wy)]=yyGetInt32(xport);};function view_set_yport(_Wy,yport){g_pBuiltIn.view_yport[yyGetInt32(_Wy)]=yyGetInt32(yport);};function view_set_wport(_Wy,wport){g_pBuiltIn.view_wport[yyGetInt32(_Wy)]=yyGetInt32(wport);
};function view_set_hport(_Wy,hport){g_pBuiltIn.view_hport[yyGetInt32(_Wy)]=yyGetInt32(hport);};function view_set_surface_id(_Wy,_tM){g_pBuiltIn.view_surface_id[yyGetInt32(_Wy)]=yyGetInt32(_tM);};function _uM(){return 0;};function _vM(){return 0;};function _wM(){};function display_set_windows_alternate_sync(){};function display_set_ui_visibility(){};function display_set_sleep_margin(){}function display_get_sleep_margin(){return 0;}function _xM(_yM,_zM){if((_yM.status<200)||(_yM.status>=300)){_zM._Ne=_AM;_zM._BM="";
}else {_zM._Ne=_CM;try{_zM._BM=_yM.responseText;}catch(e){_zM._BM="";}}}function _DM(_yM,_EM){if(_yM.readyState!=4)return;var _Ie=_oE(_yM);if(_Ie){_Ie._FM=_yM.status;_Ie._Oe=true;_Ie._GM=ds_map_create();var _HM=_yM.getAllResponseHeaders().split("\r\n");for(var _x5 in _HM){if(!_HM.hasOwnProperty(_x5))continue;var _IM=_HM[_x5].split(": ");if(_IM.length==2){ds_map_add(_Ie._GM,_IM[0],_IM[1]);}}if(_EM){_EM(_yM,_Ie);}}}function _JM(_sq){var _KM={};_Je._Ke(_LM,_sq,_MM,_KM);setTimeout(function(){var _Ie=_oE(_KM);if(_Ie){
_Ie._FM=404;_Ie._Oe=true;_Ie._Ne=_AM;_Ie._BM="";}},500);return _LM++;}function _NM(_sc,_sq,_OM,_us,_EM,_PM){try{var _QM=_RM(_sq,_OM);_Je._Ke(_LM,_sq,_MM,_QM._SM);if(_PM!==undefined){_QM._SM.responseType=_PM;}if(_QM._TM){_UM(_sc,_sq,_OM,_us,_QM._SM,_QM._VM,_EM);}else {_WM(_sc,_sq,_OM,_us,_QM._SM,_EM);}}catch(e){return _JM(_sq);}return _LM++;}function _RM(_sq,_OM){var _QM={_SM:null,_VM:true,_TM:false};if((_sq.substring(0,7)!="http://")&&(_sq.substring(0,8)!="https://")){_QM._VM=false;}else {var _XM="";if(_sq.substring(0,
7)=="http://"){_XM=_sq.substring(7);}if(_sq.substring(0,8)=="https://"){_XM=_sq.substring(8);}if(_XM.substring(0,document.domain.length)==document.domain){_QM._VM=false;}}if((_QM._VM)&&(window.XDomainRequest)){_QM._SM=new XDomainRequest();_QM._VM=true;_QM._TM=true;}else {if(window.XMLHttpRequest){_QM._SM=new XMLHttpRequest();_QM._VM=false;_QM._TM=(_YM==_ZM)&&(__M._0N<=9.0);}else if(window.ActiveXObject){if(new ActiveXObject("Microsoft.XMLHTTP")){_QM._SM=new ActiveXObject("Microsoft.XMLHTTP");}else {_QM._SM=new ActiveXObject("Msxml2.XMLHTTP");
}}if(_1N==="use-credentials"){_QM._SM._2N=true;}}return _QM;}function _WM(_sc,_sq,_OM,_us,_yM,_EM){try{_yM.open(_sc,_sq,true);if(_OM!==null){for(var _IM in _OM){if(!_OM.hasOwnProperty(_IM))continue;try{_yM.setRequestHeader(_OM[_IM].key,_OM[_IM].value);}catch(e){debug("Unable to set request header "+_OM[_IM].key+":"+_OM[_IM].value+" "+e.message);}}}else if(_sc=="POST"){_yM.setRequestHeader("Content-Type","application/x-www-form-urlencoded");}_yM.onreadystatechange=function(){_DM(_yM,_EM);};_yM.send(_us);
}catch(e){debug(e.message);}}function _UM(_sc,_sq,_OM,_us,_yM,_3N,_EM){_yM.open(_sc,_sq);_yM.ontimeout=function(_i2){_4N(_i2,_yM);};_yM.onerror=function(_i2){_4N(_i2,_yM);};if(_3N){_yM.onload=function(_i2){_5N(_i2,_yM,200);};}else {_yM.onload=function(_i2){};_yM.onreadystatechange=function(){if(_yM.readyState==4){_5N(null,_yM,_yM.status);}};}if(_OM!==null){for(var _IM in _OM){if(!_OM.hasOwnProperty(_IM))continue;try{_yM.setRequestHeader(_OM[_IM].key,_OM[_IM].value);}catch(e){debug("Unable to set request header "+_OM[_IM].key+":"+_OM[_IM].value+" "+e.message);
}}}_yM._6N=function(){};_yM.send(_us);}function _5N(_i2,_yM,_7N){var _Ie=_oE(_yM);if(_Ie){_Ie._Oe=true;if((_7N>=200)&&(_7N<300)){_Ie._Ne=_CM;_Ie._FM=_7N;}else {_Ie._Ne=_AM;_Ie._FM=404;}_Ie._BM=_yM.responseText;_Ie._GM=-1;}}function _4N(_i2,_yM){var _Ie=_oE(_yM);if(_Ie){_Ie._Oe=true;_Ie._Ne=_AM;_Ie._BM="";_Ie._FM=404;_Ie._GM=-1;}}function http_get(_sq){return _NM("GET",yyGetString(_sq),null,"",_xM);}function http_get_file(_sq,_8N){_8N=yyGetString(_8N);var _9N=function(_yM,_zM){if(_yM.response){try{var _aN=String.fromCharCode.apply(null,
new Uint8Array(_yM.response));_vk(_8N,_aN);_zM._Ne=_CM;_zM._BM=_8N;}catch(e){debug(e.message);_zM._Ne=_AM;}}else {_zM._Ne=_AM;}};return _NM("GET",yyGetString(_sq),null,"",_9N,'arraybuffer');}function http_post_string(_sq,_CF){if(!_CF){_CF="";}else {_CF=yyGetString(_CF);}return _NM('POST',yyGetString(_sq),null,_CF,_xM);}function http_request(_sq,_OG,_bN,_cN){_sq=yyGetString(_sq);_OG=yyGetString(_OG);_bN=yyGetInt32(_bN);var _dN=[];var _f6=_g6._I4(_bN);if(_f6!==null){for(const [key,_nk] of _f6){var _14=key;if(_f6._hk&&_f6._hk.has(key))_14=_f6._hk.get(key);
_dN.push({key:_14,value:_nk});}}if(typeof(_cN)==='number'){return _eN(_sq,_OG,_dN,_cN);}else {if(!_cN){_cN="";}return _NM(_OG,_sq,_dN,_cN,_xM);}}function _eN(_sq,_OG,_OM,_cN){var _G9=_fN._I4(_cN);if(!_G9){return _JM(_sq);}else if(_G9._gN!=0){var _hN=new Uint8Array(_G9._iN,0,_G9._gN);return _NM(_OG,_sq,_OM,_hN,_xM);}else {var _jN=function(_yM,_zM){_zM._BM=_G9._gN;if(_yM.response){_zM._Ne=_CM;var _fs=new Uint8Array(_yM.response);for(var i=0,_1i=_fs.length;i<_1i;++i){_G9._kN(_lN,_fs[i]);}_zM._BM=_fs.length;}else {
_zM._Ne=_AM;}};return _NM(_OG,_sq,_OM,_cN,_jN,'arraybuffer');}};function http_set_request_crossorigin(_mN){_1N=yyGetString(_mN);}function http_get_request_crossorigin(){return _1N;}function _nN(){return iap_status();}function _oN(){_Ma("iap_event_queue()");}function _pN(){_Ma("iap_product_status()");}function _qN(){_Ma("iap_is_downloaded()");}function _rN(){_Ma("iap_product_files()");}function _sN(){_Ma("iap_files_purchased()");}function iap_activate(_F2){}function iap_status(){return -1;}function iap_acquire(_tN,
_uN){return -1;}function iap_consume(_tN){}function iap_restore_all(){}function iap_enumerate_products(_U6){}function iap_product_details(_tN,_d6){return 0;}function iap_purchase_details(_vN,_d6){return 0;}var _wN=null;function ini_open_from_string(_xN){if(_wN){ini_close();}_wN=_yN(yyGetString(_xN));}function ini_open(_zN){_zN=yyGetString(_zN);if(_wN){ini_close();}var _AN=null;if(_kF){_AN=_BN(_zN,true);}if(_AN==null){_AN=_BN(_zN,false);}if(_AN==null){_AN=new _CN(_zN);}_wN=_AN;}function ini_close(){if(!_wN)return;
var _RG=_wN._DN();_wN=null;return _RG;}function ini_read_string(_EN,_ik,_FN){if(!_wN)_L3("ini_read_string : Trying to read from undefined INI file");return _wN._GN(yyGetString(_EN),yyGetString(_ik),yyGetString(_FN));}function ini_read_real(_EN,_ik,_FN){if(!_wN)_L3("ini_read_real : Trying to read from undefined INI file");return _wN._HN(yyGetString(_EN),yyGetString(_ik),yyGetString(_FN));}function ini_write_string(_EN,_ik,_Zm){if(!_wN)_L3("ini_write_string : Trying to write to undefined INI file");_wN._IN(yyGetString(_EN),
yyGetString(_ik),yyGetString(_Zm));return true;}function ini_write_real(_EN,_ik,_Zm){if(!_wN)_L3("ini_write_real : Trying to write to undefined INI file");_wN._IN(yyGetString(_EN),yyGetString(_ik),""+yyGetReal(_Zm));return true;}function ini_key_exists(_EN,_ik){if(!_wN)_L3("ini_key_exists : Trying to read from undefined INI file");var _JN=_wN._KN(yyGetString(_EN),yyGetString(_ik));if(_JN!=null&&_JN!=undefined)return true;return false;}function ini_section_exists(_EN){if(!_wN)_L3("ini_section_exists : Trying to read from undefined INI file");
var _LN=_wN._MN[yyGetString(_EN)];if(_LN!=null&&_LN!=undefined)return true;return false;}function ini_key_delete(_EN,_ik){if(!_wN)_L3("ini_key_delete : Trying to write to undefined INI file");return _wN._NN(yyGetString(_EN),yyGetString(_ik));}function ini_section_delete(_EN){if(!_wN)_L3("ini_section_delete : Trying to write to undefined INI file");return _wN._ON(yyGetString(_EN));}function instance_find(_Ej,_PN){_PN=yyGetInt32(_PN);var _QN=GetWithArray(yyGetInt32(_Ej));if(_QN==null)return _Os;if(_PN>=_QN.length)return _Os;
var _4m=_QN[_PN];if((_4m.active)&&(!_4m.marked))return _Ss(_Ts,_4m.id);return _Os;}function instance_id_get(_j6,_N2){return _x2._RN._I4(yyGetInt32(_N2)).id;}function instance_exists(_Ej){var _FF=GetWithArray(yyGetInt32(_Ej));if(_FF!=null&&_FF.length>0){for(var _4m=0;_4m<_FF.length;_4m++){var _5t=_FF[_4m];if(!_5t.marked&&_5t.active)return true;}}return false;}function instance_number(_Ej){var _QN=GetWithArray(yyGetInt32(_Ej));if(_QN==null)return 0;var _u7=0;for(var i=0;i<_QN.length;i++){if((_QN[i].active)&&(!_QN[i].marked))_u7++;
}return _u7;}function instance_position(_u4,_v4,_Ej){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){if(_Ys(_u4,_v4,_Ej,null,true)){return true;}}else {var id=_SN(_u4,_v4,_Ej,null);if(id!=_Os)return true;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){if(_Ys(_u4,_v4,_Zs,null,true)){return true;}}else {var id=_SN(_u4,_v4,_Zs,null);if(id!=_Os)return true;}}return false;}else {var id=_SN(_u4,_v4,_Ej,null);if(id!=_Os)return true;
}return false;}function instance_position_list(_u4,_v4,_Ej,_U6,_et){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);var _Wf=_Ij._I4(yyGetInt32(_U6));if(!_Wf){_L3("Error: invalid ds_list ID (instance_position_list)");return 0;}var _ft=false;var _gt=[];if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){_Ys(_u4,_v4,_Ej,_gt,true);_ft=true;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){_Ys(_u4,_v4,_Zs,_gt,true);}else {_SN(_u4,_v4,_Zs,_gt);}}_ft=true;}if(!_ft)_SN(_u4,
_v4,_Ej,_gt);var _u7=_gt.length;__s(_gt,_Wf,_u4,_v4,_et);return _u7;}function instance_nearest(_j6,_u4,_v4,_Ej){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);var _dt=10000000000;var i=_Os;var _TN=_UN(null,yyGetInt32(_Ej),false,_Os,_u4,_v4,function(_Ps){var _R5=_u4-_Ps.x;var _T5=_v4-_Ps.y;var _Fl=Math.sqrt(_R5*_R5+_T5*_T5);if(_Fl<_dt){i=_Ss(_Ts,_Ps.id);_dt=_Fl;}});return i;}function instance_furthest(_j6,_u4,_v4,_Ej){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);var _dt=-10000000000;var i=_Os;var _TN=_UN(null,yyGetInt32(_Ej),
false,_Os,_u4,_v4,function(_Ps){var _R5=_u4-_Ps.x;var _T5=_v4-_Ps.y;var _Fl=Math.sqrt(_R5*_R5+_T5*_T5);if(_Fl>_dt){i=_Ss(_Ts,_Ps.id);_dt=_Fl;}});return i;}function _VN(_WN,_XN,_YN,tilewidth,tileheight,_ZN){_WN[3]._04=_WN[0]._04=_YN*tilewidth;_WN[1]._04=_WN[2]._04=_WN[0]._04+tilewidth;_WN[0]._14=_WN[1]._14=_XN*tileheight;_WN[2]._14=_WN[3]._14=_WN[0]._14+tileheight;if(_ZN&__N){if(_ZN&_0O){var _nK=new _1O();_nK=_WN[1];_WN[1]=_WN[0];_WN[0]=_nK;_nK=_WN[2];_WN[2]=_WN[3];_WN[3]=_nK;}if(_ZN&_2O){var _nK=new _1O();
_nK=_WN[3];_WN[3]=_WN[0];_WN[0]=_nK;_nK=_WN[2];_WN[2]=_WN[1];_WN[1]=_nK;}var _3O=(3<<_4O);var _5O=(_ZN&_3O)>>_4O;if(_5O==1){var _nK=new _1O();_nK=_WN[3];_WN[3]=_WN[2];_WN[2]=_WN[1];_WN[1]=_WN[0];_WN[0]=_nK;}else if(_5O==2){var _nK=new _1O();var _6O=new _1O();_nK=_WN[3];_6O=_WN[0];_WN[3]=_WN[1];_WN[0]=_WN[2];_WN[2]=_6O;_WN[1]=_nK;}else if(_5O==3){var _nK=new _1O();var _6O=new _1O();_nK=_WN[3];_6O=_WN[0];_WN[1]=_WN[2];_WN[0]=_WN[1];_WN[3]=_6O;_WN[2]=_nK;}}}function _jt(_u4,_v4,_s5,_t5,_7O,_8O,_9O){var _6t=_7t._8t();
var _aO=null;var _bO=null;var _9t=_7t._at(_6t,_7O.value);if(_9t!=null){_aO=_9t._cO;_bO=_9t;}if((_bO!=null)&&(_bO._dO===_eO)&&(_bO._fO!=null)&&(_aO!=null)){var _6r=_cq._4r(_bO._gO);if(_6r==null){_L3("Tilemap_CollisionLine() - could not find tileset for this map",false);return false;}var _Sm=_H4._I4(_6r._hO);if((_Sm==null)||(_Sm._u7==0)){return false;}var _iO=_Sm._eM()/_6r.tilewidth;var _jO=_Sm._eM();var tilewidth,tileheight;var _kO=_Sm._J5[0];tilewidth=_6r.tilewidth;tileheight=_6r.tileheight;var _lO=1.0/tilewidth;
var _mO=1.0/tileheight;var _nO=new _ME();_nO.left=_bO._oO+_aO._pO;_nO.top=_bO._qO+_aO._rO;_nO.right=_nO.left+(_bO._sO*tilewidth);_nO.bottom=_nO.top+(_bO._tO*tileheight);var _K5=_u4;var _N5=_v4;var _i3=_s5;var _k3=_t5;var _uO=_bO._oO+_aO._pO;var _vO=_bO._qO+_aO._rO;_K5-=_uO;_K5*=_lO;_i3-=_uO;_i3*=_lO;_N5-=_vO;_N5*=_mO;_k3-=_vO;_k3*=_mO;if(_i3<_K5){var _nK=_K5;_K5=_i3;_i3=_nK;}if(_N5>_k3){var _nK=_N5;_N5=_k3;_k3=_nK;}_i3=~~_M5(_i3,_bO._sO-1);_k3=~~_M5(_k3,_bO._tO-1);var _wO=_7t._xO();_wO&=_bO._yO;_K5=~~_L5(_K5,
0);_N5=~~_L5(_N5,0);for(var x=_K5;x<=_i3;x++){for(var y=_N5;y<=_k3;y++){var index=(y*_bO._sO)+x;index=~~index;var _ZN=_bO._fO[index];_ZN&=_wO;var _zO=(_ZN>>_AO)&_BO;if(_zO==0)continue;_zO=_6r._CO(_zO,_bO._DO);if(_zO>0){var _EO=[new _FO(),new _FO(),new _FO(),new _FO()];_EO[3].x=_EO[0].x=_nO.left+tilewidth*x;_EO[1].x=_EO[2].x=_EO[0].x+tilewidth;_EO[0].y=_EO[1].y=_nO.top+tileheight*y;_EO[2].y=_EO[3].y=_EO[1].y+tileheight;var _A5=_u4;var _C5=_s5;var _B5=_v4;var _D5=_t5;if(_Sm._GO()&&_9O){var _WN=[new _1O(),new _1O(),
new _1O(),new _1O()];var _XN=~~(_zO/_iO);var _YN=~~(_zO%_iO);_VN(_WN,_XN,_YN,tilewidth,tileheight,_ZN);if(_Sm._HO(_kO,_EO,_WN,_A5,_B5,_C5,_D5,_Sm._eM())){if(_8O!=null)_8O.push(_7O);return true;}}else {if(_8O!=null)_8O.push(_7O);return true;}}}}}return false;}function _xt(_u4,_v4,_s5,_t5,_7O,_8O,_9O){var _6t=_7t._8t();var _aO=null;var _bO=null;var _9t=_7t._at(_6t,_7O.value);if(_9t!=null){_aO=_9t._cO;_bO=_9t;}if((_bO!=null)&&(_bO._dO===_eO)&&(_bO._fO!=null)&&(_aO!=null)){var _6r=_cq._4r(_bO._gO);if(_6r==null){_L3("Tilemap_CollisionLine() - could not find tileset for this map",
false);return false;}var _Sm=_H4._I4(_6r._hO);if((_Sm==null)||(_Sm._u7==0)){return false;}var _iO=_Sm._eM()/_6r.tilewidth;var _jO=_Sm._eM();var tilewidth,tileheight;var _kO=_Sm._J5[0];tilewidth=_6r.tilewidth;tileheight=_6r.tileheight;var _lO=1.0/tilewidth;var _mO=1.0/tileheight;var _nO=new _ME();_nO.left=_bO._oO+_aO._pO;_nO.top=_bO._qO+_aO._rO;_nO.right=_nO.left+(_bO._sO*tilewidth);_nO.bottom=_nO.top+(_bO._tO*tileheight);if(_s5<_u4){var _yd=_s5;_s5=_u4;_u4=_yd;_yd=_t5;_t5=_v4;_v4=_yd;}var _K5=_u4;var _N5=_v4;
var _i3=_s5;var _k3=_t5;var _uO=_bO._oO+_aO._pO;var _vO=_bO._qO+_aO._rO;_K5-=_uO;_K5*=_lO;_i3-=_uO;_i3*=_lO;_N5-=_vO;_N5*=_mO;_k3-=_vO;_k3*=_mO;if(_i3<_K5){var _nK=_K5;_K5=_i3;_i3=_nK;}if(_N5>_k3){var _nK=_N5;_N5=_k3;_k3=_nK;}_i3=~~_M5(_i3,_bO._sO-1);_k3=~~_M5(_k3,_bO._tO-1);var _wO=_7t._xO();_wO&=_bO._yO;_K5=~~_L5(_K5,0);_N5=~~_L5(_N5,0);for(var x=_K5;x<=_i3;x++){for(var y=_N5;y<=_k3;y++){var index=(y*_bO._sO)+x;index=~~index;var _ZN=_bO._fO[index];_ZN&=_wO;var _zO=(_ZN>>_AO)&_BO;if(_zO==0)continue;_zO=_6r._CO(_zO,
_bO._DO);if(_zO>0){var _EO=[new _FO(),new _FO(),new _FO(),new _FO()];_EO[3].x=_EO[0].x=_nO.left+tilewidth*x;_EO[1].x=_EO[2].x=_EO[0].x+tilewidth;_EO[0].y=_EO[1].y=_nO.top+tileheight*y;_EO[2].y=_EO[3].y=_EO[1].y+tileheight;var _A5=_u4;var _C5=_s5;var _B5=_v4;var _D5=_t5;if(_Sm._GO()&&_9O){var _WN=[new _1O(),new _1O(),new _1O(),new _1O()];var _XN=~~(_zO/_iO);var _YN=~~(_zO%_iO);_VN(_WN,_XN,_YN,tilewidth,tileheight,_ZN);if(_Sm._IO(_kO,_EO,_WN,_A5,_B5,_C5,_D5,_Sm._eM())){if(_8O!=null)_8O.push(_7O);return true;}}else {
if(_Sm._JO(_EO,_A5,_B5,_C5,_D5)){if(_8O!=null)_8O.push(_7O);return true;}}}}}}return false;}function _tt(_u4,_v4,_s5,_t5,_7O,_8O,_9O){var _6t=_7t._8t();var _aO=null;var _bO=null;var _9t=_7t._at(_6t,_7O.value);if(_9t!=null){_aO=_9t._cO;_bO=_9t;}if((_bO!=null)&&(_bO._dO===_eO)&&(_bO._fO!=null)&&(_aO!=null)){var _6r=_cq._4r(_bO._gO);if(_6r==null){_L3("Tilemap_CollisionEllipse() - could not find tileset for this map",false);return false;}var _Sm=_H4._I4(_6r._hO);if((_Sm==null)||(_Sm._u7==0)){return false;}var _iO=_Sm._eM()/_6r.tilewidth;
var _jO=_Sm._eM();var tilewidth,tileheight;var _kO=_Sm._J5[0];tilewidth=_6r.tilewidth;tileheight=_6r.tileheight;var _lO=1.0/tilewidth;var _mO=1.0/tileheight;var _nO=new _ME();_nO.left=_bO._oO+_aO._pO;_nO.top=_bO._qO+_aO._rO;_nO.right=_nO.left+(_bO._sO*tilewidth);_nO.bottom=_nO.top+(_bO._tO*tileheight);var _K5=_u4;var _N5=_v4;var _i3=_s5;var _k3=_t5;var _uO=_bO._oO+_aO._pO;var _vO=_bO._qO+_aO._rO;_K5-=_uO;_K5*=_lO;_i3-=_uO;_i3*=_lO;_N5-=_vO;_N5*=_mO;_k3-=_vO;_k3*=_mO;if(_i3<_K5){var _nK=_K5;_K5=_i3;_i3=_nK;}if(_N5>_k3){
var _nK=_N5;_N5=_k3;_k3=_nK;}_i3=~~_M5(_i3,_bO._sO-1);_k3=~~_M5(_k3,_bO._tO-1);var _wO=_7t._xO();_wO&=_bO._yO;_K5=~~_L5(_K5,0);_N5=~~_L5(_N5,0);for(var x=_K5;x<=_i3;x++){for(var y=_N5;y<=_k3;y++){var index=(y*_bO._sO)+x;index=~~index;var _ZN=_bO._fO[index];_ZN&=_wO;var _zO=(_ZN>>_AO)&_BO;if(_zO==0)continue;_zO=_6r._CO(_zO,_bO._DO);if(_zO>0){var _EO=[new _FO(),new _FO(),new _FO(),new _FO()];_EO[3].x=_EO[0].x=_nO.left+tilewidth*x;_EO[1].x=_EO[2].x=_EO[0].x+tilewidth;_EO[0].y=_EO[1].y=_nO.top+tileheight*y;_EO[2].y=_EO[3].y=_EO[1].y+tileheight;
var _A5=_u4;var _C5=_s5;var _B5=_v4;var _D5=_t5;if(_Sm._GO()&&_9O){var _WN=[new _1O(),new _1O(),new _1O(),new _1O()];var _XN=~~(_zO/_iO);var _YN=~~(_zO%_iO);_VN(_WN,_XN,_YN,tilewidth,tileheight,_ZN);if(_Sm._KO(_kO,_EO,_WN,_A5,_B5,_C5,_D5,_Sm._eM())){if(_8O!=null)_8O.push(_7O);return true;}}else {if(_Sm._LO(_EO,_A5,_B5,_C5,_D5)){if(_8O!=null)_8O.push(_7O);return true;}}}}}}return false;}function _Ys(_u4,_v4,_7O,_8O,_9O){var _6t=_7t._8t();var _aO=null;var _bO=null;var _9t=_7t._at(_6t,_7O.value);if(_9t!=null){_aO=_9t._cO;
_bO=_9t;}if((_bO!=null)&&(_bO._dO===_eO)&&(_bO._fO!=null)&&(_aO!=null)){var _6r=_cq._4r(_bO._gO);if(_6r==null){_4m._Lc(_R5,_T5);_4m._MO=_NO;_L3("Tilemap_InstancePlace() - could not find tileset for this map",false);return false;}var _Sm=_H4._I4(_6r._hO);if((_Sm==null)||(_Sm._u7==0)){return false;}var _iO=_Sm._eM()/_6r.tilewidth;var _jO=_Sm._eM();var tilewidth,tileheight;var _kO=_Sm._J5[0];tilewidth=_6r.tilewidth;tileheight=_6r.tileheight;var _lO=1.0/tilewidth;var _mO=1.0/tileheight;var _nO=new _ME();_nO.left=_bO._oO+_aO._pO;
_nO.top=_bO._qO+_aO._rO;_nO.right=_nO.left+(_bO._sO*tilewidth);_nO.bottom=_nO.top+(_bO._tO*tileheight);var _K5=_u4;var _N5=_v4;var _uO=_bO._oO+_aO._pO;var _vO=_bO._qO+_aO._rO;_K5-=_uO;_K5*=_lO;_N5-=_vO;_N5*=_mO;var _wO=_7t._xO();_wO&=_bO._yO;_K5=~~_L5(_K5,0);_N5=~~_L5(_N5,0);_K5=~~_M5(_K5,_bO._sO-1);_N5=~~_M5(_N5,_bO._tO-1);var index=(_N5*_bO._sO)+_K5;index=~~index;var _ZN=_bO._fO[index];_ZN&=_wO;var _zO=(_ZN>>_AO)&_BO;if(_zO==0)return false;_zO=_6r._CO(_zO,_bO._DO);if(_zO>0){if(_Sm._GO()&&_9O){var _EO=[new _FO(),
new _FO(),new _FO(),new _FO()];var _WN=[new _1O(),new _1O(),new _1O(),new _1O()];_EO[3].x=_EO[0].x=_nO.left+tilewidth*_K5;_EO[1].x=_EO[2].x=_EO[0].x+tilewidth;_EO[0].y=_EO[1].y=_nO.top+tileheight*_N5;_EO[2].y=_EO[3].y=_EO[1].y+tileheight;var _XN=~~(_zO/_iO);var _YN=~~(_zO%_iO);_VN(_WN,_XN,_YN,tilewidth,tileheight,_ZN);var _OO=((_u4+0.5)-_EO[0].x)/tilewidth;var _PO=((_v4+0.5)-_EO[0].y)/tileheight;var _QO=_WN[0]._04+_OO*(_WN[1]._04-_WN[0]._04)+_PO*(_WN[3]._04-_WN[0]._04);var _RO=_WN[0]._14+_OO*(_WN[1]._14-_WN[0]._14)+_PO*(_WN[3]._14-_WN[0]._14);
var ui=~~_QO;var _SO=~~_RO;if((ui<0)||(ui>=_Sm._eM()))return false;if((_SO<0)||(_SO>=_Sm._fM()))return false;if(_TO(ui,_SO,_kO,_Sm._eM())){if(_8O!=null){_8O.push(_7O);}return true;}}else {if(_8O!=null){_8O.push(_7O);}return true;}}}return false;}function _UO(_VO,_Ni,_WO,_6K,_XO,_YO,_ZO,__O){var _K5=(_L5(_VO,_XO));var _N5=(_L5(_WO,_ZO));var _i3=(_M5(_Ni,_YO));var _k3=(_M5(_6K,__O));if(Math.floor(_K5+0.49999)==Math.floor(_i3+0.5))return false;if(Math.floor(_N5+0.49999)==Math.floor(_k3+0.5))return false;return true;
}function _0P(_4m,_u4,_v4,_7O,_8O,_9O){var _R5,_T5;var _NO=new _ME();_NO=_4m._MO;_R5=_4m.x;_T5=_4m.y;_4m._Lc(_u4,_v4);if(_4m._1P)_4m._2P(false);var _3P=null;if(_4m.mask_index<0){_3P=_H4._I4(_4m.sprite_index);}else {_3P=_H4._I4(_4m.mask_index);}if((_3P==null)||(_3P._u7==0)){return false;}var _6t=_7t._8t();var _aO=null;var _bO=null;var _9t=_7t._at(_6t,_7O.value);if(_9t!=null){_aO=_9t._cO;_bO=_9t;}if((_bO!=null)&&(_bO._dO===_eO)&&(_bO._fO!=null)&&(_aO!=null)){var _6r=_cq._4r(_bO._gO);if(_6r==null){_4m._Lc(_R5,
_T5);_4m._MO=_NO;_L3("Tilemap_InstancePlace() - could not find tileset for this map",false);return false;}var _Sm=_H4._I4(_6r._hO);if((_Sm==null)||(_Sm._u7==0)){return false;}var _iO=_Sm._eM()/_6r.tilewidth;var _jO=_Sm._eM();var tilewidth,tileheight;var _kO=_Sm._J5[0];tilewidth=_6r.tilewidth;tileheight=_6r.tileheight;var _lO=1.0/tilewidth;var _mO=1.0/tileheight;var _nO=new _ME();_nO.left=_bO._oO+_aO._pO;_nO.top=_bO._qO+_aO._rO;_nO.right=_nO.left+(_bO._sO*tilewidth);_nO.bottom=_nO.top+(_bO._tO*tileheight);var _4P=(_4m._MO);
var _K5=(_L5(_4P.left,_nO.left));var _N5=(_L5(_4P.top,_nO.top));var _i3=(_M5(_4P.right,_nO.right));var _k3=(_M5(_4P.bottom,_nO.bottom));var _uO=_bO._oO+_aO._pO;var _vO=_bO._qO+_aO._rO;_K5-=_uO;_i3-=_uO;_K5*=_lO;_i3*=_mO;_N5-=_vO;_k3-=_vO;_N5*=_mO;_k3*=_mO;var _wO=_7t._xO();_wO&=_bO._yO;_i3=~~_M5(_i3,_bO._sO-1);_k3=~~_M5(_k3,_bO._tO-1);_K5=~~_L5(_K5,0);_N5=~~_L5(_N5,0);for(var x=_K5;x<=_i3;x++){for(var y=_N5;y<=_k3;y++){var index=(y*_bO._sO)+x;index=~~index;var _ZN=_bO._fO[index];_ZN&=_wO;var _zO=(_ZN>>_AO)&_BO;
if(_zO==0)continue;_zO=_6r._CO(_zO,_bO._DO);if(_zO>0){if(_Sm._GO()||_3P._GO()&&_9O){var _EO=[new _FO(),new _FO(),new _FO(),new _FO()];var _WN=[new _1O(),new _1O(),new _1O(),new _1O()];_EO[3].x=_EO[0].x=_nO.left+tilewidth*x;_EO[1].x=_EO[2].x=_EO[0].x+tilewidth;_EO[0].y=_EO[1].y=_nO.top+tileheight*y;_EO[2].y=_EO[3].y=_EO[1].y+tileheight;var _XN=~~(_zO/_iO);var _YN=~~(_zO%_iO);_VN(_WN,_XN,_YN,tilewidth,tileheight,_ZN);if(_3P._5P(_4m.image_index,_4P,_4m.x,_4m.y,_4m.image_xscale,_4m.image_yscale,_4m.image_angle,
_EO,_WN,_kO,_jO)){_4m._Lc(_R5,_T5);_4m._MO=_NO;if(_8O!=null){_8O.push(_7O);}return true;}}else {var _6P=_nO.left+tilewidth*x;var _7P=_6P+tilewidth;var _8P=_nO.top+tileheight*y;var _9P=_8P+tileheight;if(_UO(_4P.left,_4P.right,_4P.top,_4P.bottom,_6P,_7P,_8P,_9P)){_4m._Lc(_R5,_T5);_4m._MO=_NO;if(_8O!=null){_8O.push(_7O);}return true;}}}}}}_4m._Lc(_R5,_T5);_4m._MO=_NO;return false;}function _aP(_a8,_u4,_v4,_Ej){if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){if(_0P(_a8,_u4,_v4,_Ej,null,true)){return _Ej;}return -1;
}else {var id=_bP(_a8,_u4,_v4,_Ej,null);return id;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){if(_0P(_a8,_u4,_v4,_Zs,null,true)){return _Zs;}}else {var id=_bP(_a8,_u4,_v4,_Zs,null);if(id!=_Os)return id;}}return -1;}else {var id=_bP(_a8,_u4,_v4,_Ej,null);return id;}}function instance_place(_Ls,_u4,_v4,_Ej){var id=_aP(_Ls,_u4,_v4,_Ej,null);return id;}function instance_place_list(_Ls,_u4,_v4,_Ej,_U6,_et){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);var _Wf=_Ij._I4(yyGetInt32(_U6));
if(!_Wf){_L3("Error: invalid ds_list ID (instance_place_list)");return 0;}var _gt=[];var _ft=false;if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){_0P(_Ls,_u4,_v4,_Ej,_gt,true);_ft=true;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){_0P(_Ls,_u4,_v4,_Zs,_gt,true);}else {_bP(_Ls,_u4,_v4,_Zs,_gt);}}_ft=true;}if(!_ft)_bP(_Ls,_u4,_v4,_Ej,_gt);var _u7=_gt.length;__s(_gt,_Wf,_u4,_v4,_et);return _u7;}function _cP(_Ls,_dP){if(!_Ls.marked&&_Ls.active){
if((_dP===undefined)||(_dP)){_eP(_Ls);}else {_Ls._R4(_fP,0,_Ls,_Ls);_Ls.marked=true;}}}function instance_destroy(_Ls,_nf,_dP){_dP=_dP!==undefined?yyGetBool(_dP):true;if(_nf===undefined){_cP(_Ls,_dP);}else {var _FF=GetWithArray(yyGetInt32(_nf));if(_FF!=null&&_FF.length>0){for(var _4m=0;_4m<_FF.length;_4m++){var _5t=_FF[_4m];_cP(_5t,_dP);}}}}function position_destroy(_j6,_u4,_v4){var _Zj=_x2._RN._Zj;var _8C=[];for(var i=0;i<_Zj.length;i++){var _5t=_Zj[i];if(_5t._Rs(yyGetReal(_u4),yyGetReal(_v4),true)){_8C.push(_5t);
}}for(var i=0;i<_8C.length;i++){instance_destroy(_8C[i]);}}function position_change(_j6,_u4,_v4,_gP,_hP){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);var bottom,top;var _iP=[];var _jP=_x2._RN;for(var i=0;i<_jP._Zj.length;i++){var _5t=_jP._Zj[i];if(_5t._1P)_5t._2P();var _MO=_5t._MO;if(!((_u4>_MO.right)||(_u4<_MO.left)||(_v4>_MO.bottom)||(_v4<_MO.top))){_iP[_iP.length]=_5t;}}var _jP=_x2._RN;for(var i=0;i<_iP.length;i++){instance_change(_iP[i],yyGetInt32(_gP),_hP);}}function motion_set(_j6,_ul,_xl){_j6.direction=yyGetReal(_ul);
_j6.speed=yyGetReal(_xl);}function motion_add(_j6,_ul,_xl){_j6._vl(yyGetReal(_ul),yyGetReal(_xl));}function instance_copy(_j6,_kP){var _lP=new _mP(0,0,_nP++,_j6.object_index,true);var _oP=_lP.id;_lP._pP(_j6,true);_lP.id=_oP;_lP._qP=false;var _5t=_x2._rP(_lP);if(yyGetBool(_kP)){_lP._R4(_6m,0,_lP,_lP);_lP._R4(_7m,0,_lP,_lP);}return _Ss(_Ts,_lP.id);}function _sP(_j6,_gP,_hP){_hP=yyGetBool(_hP);if(_hP){_j6._R4(_tP,0,_j6,_j6);_j6._R4(_fP,0,_j6,_j6);}_j6._uP(yyGetInt32(_gP),true,false);_j6._vP(_j6._ZE._wP);_j6._xP(_x2);
if(_hP){_j6._R4(_6m,0,_j6,_j6);_j6._R4(_7m,0,_j6,_j6);}}function _yP(_j6,_gP,_hP){_gP=yyGetInt32(_gP);if(!_m2._zP(_gP)){debug("Error: Trying to change an instance to an nonexistent object type.");return;}_sP(_j6,_gP,yyGetBool(_hP));}var instance_change=_yP;function instance_deactivate_all(_j6,_Ms){var _Wf=[];_Wf=_x2._RN._Zj;_x2._RN.__e();var _AP=_x2._BP;for(var i=0;i<_Wf.length;i++){if(_Wf[i]==_j6){if(yyGetBool(_Ms)==false){_x2._CP(_Wf[i]);}else {_x2._RN._Ke(_Wf[i]);}}else {_x2._CP(_Wf[i]);}}}function instance_activate_all(_j6){
var _Wf=[];_Wf=_x2._BP._Zj;_x2._BP.__e();var _jP=_x2._RN;for(var i=0;i<_Wf.length;i++){_x2._DP(_Wf[i]);}}function _EP(_Ej,_FP){if(_Ej._GP>=0){_FP=yyGetInt32(_FP);var _HP=_m2._I4(_Ej._GP);if(_HP){if(_HP._IP==_FP){return true;}else {return _EP(_HP,_FP);}}}return false;};function instance_activate_object(_j6,_gP){_gP=yyGetInt32(_gP);var i;var _iP=[];var _AP=_x2._BP;if(_gP==_JP){for(var i=0;i<_AP._Zj;i++){var _5t=_AP._Zj[i];_iP[_iP.length]=_5t;}}else {for(var i=0;i<_AP._Zj.length;i++){var _5t=_AP._Zj[i];if(_5t.object_index==_gP||_5t.id==_gP){
_iP[_iP.length]=_5t;}else if(_EP(_m2._I4(_5t.object_index),_gP)){_iP[_iP.length]=_5t;}}}var _jP=_x2._RN;for(i=0;i<_iP.length;i++){_x2._DP(_iP[i]);}}function instance_deactivate_object(_j6,_gP){_gP=yyGetInt32(_gP);var i;var _iP=[];var _jP=_x2._RN;if(_gP==_JP){for(var i=0;i<_jP._Zj.length;i++){var _5t=_jP._Zj[i];_iP[_iP.length]=_5t;}}else {for(var i=0;i<_jP._Zj.length;i++){var _5t=_jP._Zj[i];if(_5t.object_index==_gP||_5t.id==_gP){_iP[_iP.length]=_5t;}else if(_EP(_m2._I4(_5t.object_index),_gP)){_iP[_iP.length]=_5t;
}}}var _AP=_x2._BP;for(i=0;i<_iP.length;i++){_x2._CP(_iP[i]);}}function instance_deactivate_region(_j6,_Mr,_Nr,_q7,_r7,_KP,_Ms){_Mr=yyGetReal(_Mr);_Nr=yyGetReal(_Nr);_q7=yyGetReal(_q7);_r7=yyGetReal(_r7);var bottom,top,right;var _iP=[];var _jP=_x2._RN;right=_Mr+_q7-1;bottom=_Nr+_r7-1;for(var i=0;i<_jP._Zj.length;i++){var _LP=false;var _5t=_jP._Zj[i];if(_5t._1P)_5t._2P();var _MO=_5t._MO;if((_MO)&&((_5t.sprite_index>=0)||(_5t.mask_index>=0))){if((_Mr>_MO.right)||(right<_MO.left)||(_Nr>_MO.bottom)||(bottom<_MO.top)){
_LP=true;}}else {if((_5t.x>right)||(_5t.x<_Mr)||(_5t.y>bottom)||(_5t.y<_Nr)){_LP=true;}}if(_LP!=yyGetBool(_KP))_iP[_iP.length]=_5t;}var _AP=_x2._BP;for(i=0;i<_iP.length;i++){if(_j6==_iP[i]){if(!yyGetBool(_Ms)){_x2._CP(_iP[i]);}}else {_x2._CP(_iP[i]);}}}function _MP(_j6,_u4,_v4,_q7,_r7,_Ms,_NP,_OP){_L3("not implemented yet!");}function instance_deactivate_layer(_j6,_tg){var room=_x2;if(room==null){return -1;}var _aO=null;if((typeof(_tg)==="string"))_aO=_7t._PP(room,yyGetString(_tg).toLowerCase());else _aO=_7t._QP(room,
yyGetInt32(_tg));if(_aO===null)return;for(var _35=0;_35<_aO._RP.length;_35++){var _bO=_aO._RP._I4(_35);if(_bO==null)continue;if(_bO._dO==_SP){room._CP(_bO._TP);}}}function instance_activate_layer(_4m,_tg){var room=_x2;if(room==null){return -1;}var _aO=null;if((typeof(_tg)==="string"))_aO=_7t._PP(room,yyGetString(_tg).toLowerCase());else _aO=_7t._QP(room,yyGetInt32(_tg));if(_aO===null)return;for(var _35=0;_35<_aO._RP.length;_35++){var _bO=_aO._RP._I4(_35);if(_bO==null)continue;if(_bO._dO==_SP){room._DP(_bO._TP);
}}}function instance_activate_region(_j6,_Mr,_Nr,_q7,_r7,_KP){_Mr=yyGetReal(_Mr);_Nr=yyGetReal(_Nr);_q7=yyGetReal(_q7);_r7=yyGetReal(_r7);var i;var bottom,top,right;var _iP=[];var _AP=_x2._BP;right=_Mr+_q7-1;bottom=_Nr+_r7-1;for(var i=0;i<_AP._Zj.length;i++){var _LP=false;var _5t=_AP._Zj[i];if(_5t._1P)_5t._2P();var _MO=_5t._MO;if((_5t.sprite_index>=0)||(_5t.mask_index>=0)){if(_MO.right<_Mr||_MO.left>right||_MO.bottom<_Nr||_MO.top>bottom){_LP=true;}}else {if((_5t.x>right)||(_5t.x<_Mr)||(_5t.y>bottom)||(_5t.y<_Nr)){
_LP=true;}}if(_LP!=yyGetBool(_KP))_iP[_iP.length]=_5t;}var _jP=_x2._RN;for(i=0;i<_iP.length;i++){_x2._DP(_iP[i]);}}function keyboard_key_press(_ik){_ik=yyGetInt32(_ik);if(_UP[_ik]){return;}_UP[_ik]=1;_VP[_ik]=1;_WP=_ik;}function keyboard_key_release(_ik){_ik=yyGetInt32(_ik);_XP[_ik]=1;_UP[_ik]=0;}function _YP(_ZP){{switch(yyGetInt32(_ZP)){case 0:if(_yf.__P==0)return 0;else return 1;case 1:if((_yf.__P&1)==0)return 0;else return 1;case 2:if((_yf.__P&2)==0)return 0;else return 1;case 3:if((_yf.__P&4)==0)return 0;else return 1;
case -1:if(_yf.__P==0)return 1;else return 0;}}return 0;}function mouse_check_button(_ZP){{switch(yyGetInt32(_ZP)){case 0:if(_yf._Kd[0]||_yf._Kd[1]||_yf._Kd[2]||_yf._Kd[3]||_yf._Kd[4])return 0;else return 1;case 1:if(_yf._Kd[0])return 1;else return 0;case 2:if(_yf._Kd[1])return 1;else return 0;case 3:if(_yf._Kd[2])return 1;else return 0;case 4:if(_yf._Kd[3])return 1;else return 0;case 5:if(_yf._Kd[4])return 1;else return 0;case -1:if(_yf._Kd[0]||_yf._Kd[1]||_yf._Kd[2]||_yf._Kd[3]||_yf._Kd[4])return 1;else return 0;}}return 0;}function mouse_check_button_pressed(_ZP){
{switch(yyGetInt32(_ZP)){case 0:if(_yf._Fd[0]||_yf._Fd[1]||_yf._Fd[2]||_yf._Fd[3]||_yf._Fd[4])return 0;else return 1;case 1:if(_yf._Fd[0])return 1;else return 0;case 2:if(_yf._Fd[1])return 1;else return 0;case 3:if(_yf._Fd[2])return 1;else return 0;case 4:if(_yf._Fd[3])return 1;else return 0;case 5:if(_yf._Fd[4])return 1;else return 0;case -1:if(_yf._Fd[0]||_yf._Fd[1]||_yf._Fd[2]||_yf._Fd[3]||_yf._Fd[4])return 1;else return 0;}}return 0;}function mouse_check_button_released(_ZP){{switch(yyGetInt32(_ZP)){case 0:if(_yf._Jd[0]||_yf._Jd[1]||_yf._Jd[2]||_yf._Jd[3]||_yf._Jd[4])return 0;
else return 1;case 1:if(_yf._Jd[0])return 1;else return 0;case 2:if(_yf._Jd[1])return 1;else return 0;case 3:if(_yf._Jd[2])return 1;else return 0;case 4:if(_yf._Jd[3])return 1;else return 0;case 5:if(_yf._Jd[4])return 1;else return 0;case -1:if(_yf._Jd[0]||_yf._Jd[1]||_yf._Jd[2]||_yf._Jd[3]||_yf._Jd[4])return 1;else return 0;}return 0;}}function mouse_wheel_up(){return _0Q;}function mouse_wheel_down(){return _1Q;}function mouse_clear(_Is){_Is=yyGetInt32(_Is);if(_Is==-1){mouse_clear(1);mouse_clear(2);mouse_clear(3);}else if(_Is>=1&&_Is<=3){
var i=_Is-1;_yf._Kd[i]=0;_yf._Fd[i]=0;_yf._Jd[i]=0;_Bf&=~(1<<i);}}function io_clear(){_yf.__e();}function keyboard_check(_ik){return _yf._2Q[yyGetInt32(_ik)];}function keyboard_check_pressed(_ik){return _yf._3Q[yyGetInt32(_ik)];}function keyboard_clear(_ik){_ik=yyGetInt32(_ik);_yf._2Q[_ik]=false;_yf._3Q[_ik]=false;_yf._4Q[_ik]=false;}function keyboard_check_released(_ik){return _yf._4Q[yyGetInt32(_ik)];}function keyboard_check_direct(_ik){return _yf._2Q[yyGetInt32(_ik)];}function display_mouse_get_x(){return(_yf._5Q-_ff.left);
}function display_mouse_get_y(){return(_yf._6Q-_ff.top);}function keyboard_set_map(_33,_43){_33=yyGetInt32(_33);_43=yyGetInt32(_43);if((_33<0)||(_33>_7Q))return 0;if((_43<0)||(_43>_7Q))return 0;_yf._8Q[_33]=_43;}function keyboard_get_map(_ik){_ik=yyGetInt32(_ik);if((_ik<0)||(_ik>_7Q))return 0;return _yf._8Q[_ik];}function keyboard_unset_map(){for(var _K5=0;_K5<_7Q;_K5++){_yf._8Q[_K5]=_K5;}}function keyboard_virtual_show(){_Ma("keyboard_virtual_show()");}function keyboard_virtual_hide(){_Ma("keyboard_virtual_hide()");
}function keyboard_virtual_status(){_Ma("keyboard_virtual_status()");}function keyboard_virtual_height(){_Ma("keyboard_virtual_height()");}function gesture_drag_time(_F2){}function gesture_drag_distance(_F2){}function gesture_flick_speed(_F2){}function gesture_double_tap_time(_F2){}function gesture_double_tap_distance(_F2){}function gesture_pinch_distance(_F2){}function gesture_pinch_angle_towards(_F2){}function gesture_pinch_angle_away(_F2){}function gesture_rotate_time(_F2){}function gesture_rotate_angle(_F2){
}function gesture_tap_count(_F2){}function gesture_get_drag_time(){}function gesture_get_drag_distance(){}function gesture_get_flick_speed(){}function gesture_get_double_tap_time(){}function gesture_get_double_tap_distance(){}function gesture_get_pinch_distance(){}function gesture_get_pinch_angle_towards(){}function gesture_get_pinch_angle_away(){}function gesture_get_rotate_time(){}function gesture_get_rotate_angle(){}function gesture_get_tap_count(){}var _9Q=0,_aQ=1,_bQ=2,_cQ=3,_dQ=4,_eQ=5,_fQ=6;var _gQ=0,_hQ=1,
_SP=2,_iQ=3,_jQ=4,_eO=5,_kQ=6,_lQ=7,_mQ=8,_nQ=9;var _oQ=31;var _pQ=29;var _qQ=28;var _4O=30;var _rQ=(1<<_oQ);var _2O=(1<<_pQ);var _0O=(1<<_qQ);var _sQ=(1<<_4O);var _tQ=_qQ;var __N=(0x7<<_tQ);var _uQ=0x7;var _AO=0;var _vQ=(0x7ffff<<_AO);var _BO=(0x7ffff);/*@constructor */function _wQ(){this.visible=true;this.foreground=false;this.index=0;this.htiled=false;this.vtiled=false;this._xQ=1.0;this._yQ=1.0;this.stretch=false;this._zQ=0;this.alpha=1.0;this.playbackspeedtype=_AQ;this.playbackspeed=0;this.image_speed=0;this.image_index=0;
};/*@constructor */function _BQ(){this._rd=0;this.depth=0;this._pO=0;this._rO=0;this._CQ=0;this._DQ=0;this._EQ=true;this._FQ=0;this._GQ="";this._HQ=null;this._IQ=null;this._JQ=-1;this._KQ=null;this._RP=new _Gj();this._LQ=true;this._MQ=true;this._NQ=null;this._OQ=null;this._PQ=-1;};_BQ.prototype._QQ=function(_RQ){this._NQ=_RQ;};_BQ.prototype._SQ=function(){this._NQ=null;};_BQ.prototype._TQ=function(){return this._NQ;};_BQ.prototype._UQ=function(){return this._NQ!=null;};_BQ.prototype._VQ=function(){return this._OQ;
};/*@constructor */function _WQ(){this.pName="";this.id=0;this.type=0;this.depth=0;this.x=0;this.y=0;this.hspeed=0;this.vspeed=0;this.visible=0;};/*@constructor */function _XQ(){this.x=0;this.y=0;this.index=0;this.xo=0;this.yo=0;this.w=0;this.h=0;this.depth=0;this.id=0;this.scaleX=0;this.scaleY=0;this.colour=0;};/*@constructor */function _YQ(){this._ZQ=-1;this._TP=null;this._dO=_SP;this.__Q=false;this._Qq="";};/*@constructor */function _0R(){this._1R=null;this._dO=_hQ;this.__Q=false;this._Qq="";this._rd=0;
};/*@constructor */function _2R(){this._dO=_eO;this._gO=-1;this._oO=0;this._qO=0;this._sO=0;this._tO=0;this._DO=0;this._fO=[];this.__Q=false;this._Qq="";this._rd=0;this._yO=~_rQ;};/*@constructor */function _3R(){this._dO=_iQ;this._4R=[];this._5R=[];this._Qq="";this._rd=0;this.__Q=false;};/*@constructor */function _6R(){this._7R=-1;this._8R=1;this._9R=_AQ;this._aR=0;this._bR=1;this._cR=0;this._dR=1;this._eR=1;this._fR=0;this._gR=0xffffffff;this._hR=1;this._oO=0;this._qO=0;this._dO=_jQ;this._Qq="";this._rd=0;
this.__Q=false;};/*@constructor */function _iR(){this._jR=-1;this._kR=-1;this._8R=1;this._lR=0;this._gR=0xffffffff;this._hR=1;this._mR=1;this._nR=1;this._oO=0;this._qO=0;this._Z1=0;this._dO=_mQ;this._Qq="";this._rd=0;this.__Q=false;this._cO=null;this._oR=0;};/*@constructor */function _pR(){this._dO=_kQ;this._qR=-1;this._Qq="";this._rd=0;this.__Q=false;this._rR=-1;this._dR=1.0;this._eR=1.0;this._fR=0.0;this._gR=0xffffffff;this._hR=1.0;this._oO=0;this._qO=0;};/*@constructor */function _sR(){this._EQ=true;
this._7F=-1;this._oO=0;this._qO=0;this._tR=0;this._uR=0;this._dR=1.0;this._eR=1.0;this._fR=0.0;this._gR=0xffffffff;this._hR=1.0;this._vR=0;this._wR=0;this._dO=_lQ;this._Qq="";this._rd=0;this.__Q=false;};/*@constructor */function _xR(){this.pName=null;this.type=0;this.elements=0;this._yR=null;};/*@constructor */function _zR(){this._dO=_nQ;this.pName="";this._LH=0;this._AR=[];this._BR=false;};var _CR=0;var _DR=1;var _ER=2;var _FR=3;var _GR=32;/*@constructor */function _HR(){this._IR=0;this._JR=0;this._KR=0;
this._LR=false;this._MR=0xffffffff;this._NR=-1;this._OR=false;this._PR=0;this._QR=null;};_HR.prototype._RR=function(){return this._IR;};_HR.prototype._SR=function(_nf){this._TR=_nf;};_HR.prototype._UR=function(_VR){this._OR=_VR;};_HR.prototype._WR=function(_Ek){this._PR=_Ek;};_HR.prototype._XR=function(){return this._OR;};_HR.prototype._YR=function(){return this._PR;};_HR.prototype._xO=function(){return this._MR;};_HR.prototype._ZR=function(_tg){this._MR=_tg;};_HR.prototype.__R=function(){if(!this._LR){
this._LR=true;}};_HR.prototype._0S=function(_1S,_2S){if(_2S._1R!=null){delete(_2S._1R);_2S._1R=null;}_1S._RP._3S(_2S);};_HR.prototype._4S=function(_1S,_2S,_5S){if(_2S._TP){_2S._TP._6S(false);}if(_5S){if(_2S._ZQ>=0){var _4m=_Lm._I4(_2S._ZQ);if(_4m!=null){instance_destroy(_4m);}}}_1S._RP._3S(_2S);};_HR.prototype._7S=function(_1S,_2S){_1S._RP._3S(_2S);};_HR.prototype._8S=function(_1S,_2S){_1S._RP._3S(_2S);};_HR.prototype._9S=function(_1S,_2S){_1S._RP._3S(_2S);};_HR.prototype._aS=function(_1S,_2S){_1S._RP._3S(_2S);
};_HR.prototype._bS=function(_1S,_2S){_1S._RP._3S(_2S);};_HR.prototype._cS=function(_1S,_2S){_1S._RP._3S(_2S);};_HR.prototype._dS=function(_Nn,_eS,_1S,_fS,_gS){if(_Nn==null)return;var _wc=_eS;var layer=_1S;if(_wc===null)return;this._hS(_wc);switch(_wc._dO){case _hQ:this._0S(layer,_wc);break;case _SP:this._4S(layer,_wc,_gS);break;case _iQ:this._7S(layer,_wc);break;case _jQ:this._8S(layer,_wc);break;case _eO:this._9S(layer,_wc);break;case _kQ:this._aS(layer,_wc);break;case _lQ:this._bS(layer,_wc);break;case _mQ:this._cS(layer,
_wc);break;};return;};_HR.prototype._iS=function(_Nn,_jS,_fS,_gS){if(_Nn==null)return;var _wc=null;var layer=null;for(var i=0;i<_Nn._kS.length;i++){layer=_Nn._kS._I4(i);_wc=this._lS(layer,_jS);if(_wc!=null)break;}if(_wc===null)return;this._hS(_wc);switch(_wc._dO){case _hQ:this._0S(layer,_wc);break;case _SP:this._4S(layer,_wc,_gS);break;case _iQ:this._7S(layer,_wc);break;case _jQ:this._8S(layer,_wc);break;case _eO:this._9S(layer,_wc);break;case _kQ:this._aS(layer,_wc);break;case _lQ:this._bS(layer,_wc);break;
case _mQ:this._cS(layer,_wc);break;};return;};_HR.prototype._mS=function(_Nn,_2S,_nS){if(_Nn==null)return;if(_2S==null)return;if(_nS==null)return;var _oS=_7t._pS(_Nn,_2S._rd);if(_oS!=null){_oS.layer._RP._3S(_2S);}if(_2S._dO==_SP){if(_2S._TP!=null){_2S._TP.layer=_nS._rd;_2S._TP._6S(true);}}_nS._RP._Ke(_2S);};_HR.prototype._8t=function(){if(this._NR==-1)return _x2;var room=_qS._I4(this._NR);if(room==null)return _x2;return room;};_HR.prototype._rS=function(){};_HR.prototype._sS=function(_Nn,_1S,_2S){_2S.__Q=true;
};_HR.prototype._tS=function(_Nn,_1S,_2S){var _4m=_Lm._I4(_2S._ZQ);if(_4m===null)return;_2S._TP=_4m;_4m._uS=_1S._rd;_4m._qP=true;_4m.depth=_1S.depth;_2S.__Q=true;};_HR.prototype._vS=function(_Nn,_1S,_2S){_2S.__Q=true;};_HR.prototype._wS=function(_Nn,_1S,_2S){_2S.__Q=true;};_HR.prototype._xS=function(_Nn,_1S,_2S){_2S.__Q=true;};_HR.prototype._yS=function(_Nn,_1S,_2S){if(_2S._rR!=-1&&_2S._qR==-1){_4J._I4(_2S._rR)._zS(_1S._rd,false,_2S);}_2S.__Q=true;};_HR.prototype._AS=function(_Nn,_1S,_2S){_2S.__Q=true;
};_HR.prototype._BS=function(_Nn,_1S,_2S){var _CS=_DS._ES();_CS._jR=_2S._jR;_CS._lR=_2S._lR;_CS._FS=_2S._8R;_Nn._GS(_2S._rd);_2S._kR=_CS.id;_DS._HS(_CS,_7m);_2S.__Q=true;};_HR.prototype._IS=function(_Nn,_1S,_2S){if(_Nn===null)return;if(_1S===null)return;if(_2S===null)return;if(_2S.__Q)return;switch(_2S._dO){case _hQ:this._sS(_Nn,_1S,_2S);break;case _SP:this._tS(_Nn,_1S,_2S);break;case _iQ:this._vS(_Nn,_1S,_2S);break;case _jQ:this._wS(_Nn,_1S,_2S);break;case _eO:this._xS(_Nn,_1S,_2S);break;case _kQ:this._yS(_Nn,
_1S,_2S);break;case _lQ:this._AS(_Nn,_1S,_2S);break;case _mQ:this._BS(_Nn,_1S,_2S);break;}};_HR.prototype._SR=function(_nf){this._IR=_nf;};_HR.prototype._JS=function(_Nn){if((_Nn._kS===null)||(_Nn._kS.length===0))return;for(var i=0;i<_Nn._kS.length;i++){var _KS=_Nn._kS._I4(i);_KS._KQ=_tJ();for(var _35=0;_35<_KS._RP.length;_35++){var _bO=_KS._RP._I4(_35);if(_bO==null)continue;this._IS(_Nn,_KS,_bO);}}};_HR.prototype._LS=function(_Nn,_1S,_2S,_MS){if(_Nn==null||_1S==null||_2S===null)return -1;_2S._rd=this._NS();
_2S._cO=_1S;var _OS=0;if(_2S._dO!=_SP){for(var _PS=0;_PS<_1S._RP._Zj.length;_PS++){var _QS=_1S._RP._Zj[_PS];if(_QS==null||_QS._dO!=_SP){break;}else {if(_QS._TP!==null&&_QS._TP.active){_OS=_PS+1;}else {break;}}}}_1S._RP._Vj(_OS,_2S);if(_MS){this._IS(_Nn,_1S,_2S);}return _2S._rd;};_HR.prototype._RS=function(_Nn,_Ek,_2S,_MS,_SS){if(_Nn==null||_2S===null)return -1;var layer=this._TS(_Nn,_Ek,_SS);if((layer==null)&&(_SS)){layer=this._US(_Nn,_Ek);}if(layer==null){return -1;}return this._LS(_Nn,layer,_2S,_MS);};_HR.prototype._PP=function(_Nn,
_R2){if(!_R2)return null;_R2=_R2.toLowerCase();for(var i=0;i<_Nn._kS.length;i++){var layer=_Nn._kS._I4(i);if(layer===undefined||layer===null)continue;if(!layer._GQ)continue;if(layer._GQ.toLowerCase()===_R2){return layer;}}return null;};_HR.prototype._VS=function(_Nn,_WS){if(_Nn==null)return -1;for(var i=0;i<_Nn._kS.length;i++){var layer=_Nn._kS._I4(i);if(layer!=null){for(var _35=0;i<layer._RP.length;_35++){var _bO=layer._RP._I4(_35);if(_bO!=null){if(_bO._dO===_SP){if(_bO._ZQ==_WS){return layer._rd;}}}}}}return -1;
};_HR.prototype._hS=function(_2S){if(_2S==null)return;switch(_2S._dO){case _hQ:{this._XS(_2S);}break;case _SP:{this._YS(_2S);}break;case _iQ:{this._ZS(_2S);}break;case _jQ:{this.__S(_2S);}break;case _eO:{this._0T(_2S);}break;case _kQ:{this._1T(_2S);}break;case _lQ:{this._2T(_2S);}break;case _mQ:{this._3T(_2S);}break;}_2S.__Q=false;};_HR.prototype._XS=function(_4T){};_HR.prototype._YS=function(_5T){var _4m=_Lm._I4(_5T._ZQ);if(_4m!=null){_4m._6S(false);}_5T._TP=null;};_HR.prototype._ZS=function(_6T){};_HR.prototype.__S=function(_7T){
};_HR.prototype._0T=function(_6T){};_HR.prototype._1T=function(_8T){};_HR.prototype._2T=function(_9T){};_HR.prototype._3T=function(_aT){if(_x2!=null){_x2._bT(_aT._rd);}var _CS=_DS._cT(_aT._kR);_DS._HS(_CS,_fP);_DS._dT(_CS);};_HR.prototype._US=function(_Nn,_Ek){var _eT=new _BQ();_eT._rd=_7t._fT();_eT.depth=_Ek;_eT._FQ=true;_x2._kS._Ke(_eT);return _eT;};_HR.prototype._gT=function(_Nn,_j6){if(_Nn==null||_j6===null)return;if(_j6._hT()===false){if(_j6._uS==-1){var _1S=this._TS(_Nn,_j6.depth,true);if(_1S===null){
_1S=this._US(_Nn,_j6.depth);}this._iT(_Nn,_1S,_j6);}else {var layer=this._QP(_Nn,_j6._uS);if(layer===null)return;this._iT(_Nn,layer,_j6);}}};_HR.prototype._iT=function(_Nn,_1S,_j6){if(_Nn==null||_1S==null||_j6===null)return;if(_j6._hT()===false){var _jT=new _YQ();_jT._ZQ=_j6.id;_jT._TP=_j6;_j6._uS=_1S._rd;_j6._6S(true);_jT.__Q=true;_7t._LS(_Nn,_1S,_jT,false);}};_HR.prototype._kT=function(_Nn,_j6){if(_j6._hT()===false)return;var layer=this._QP(_Nn,_j6._uS);if(layer===null){_j6._6S(false);return;}this._lT(_Nn,
layer,_j6);};_HR.prototype._mT=function(_Nn,_j6){if(_Nn==null||_j6===null)return;if(_j6._hT()===true){for(var _35=0;_35<_Nn._kS.length;_35++){var layer=_Nn._kS._I4(_35);for(var i=0;i<layer._RP.length;i++){var _bO=layer._RP._I4(i);if(_bO!=null){if(_bO._dO==_SP){if(_bO._TP==_j6){this._dS(_Nn,_bO,layer,true,false);_j6._6S(false);_j6._uS=-1;return;}}}}}}};_HR.prototype._lT=function(_Nn,_1S,_j6){if(_Nn==null||_1S==null||_j6===null)return;if(_j6._hT()===true){for(var i=0;i<_1S._RP.length;i++){var _bO=_1S._RP._I4(i);
if(_bO!=null){if(_bO._dO==_SP){if(_bO._TP==_j6){this._dS(_Nn,_bO,_1S,true,false);_j6._6S(false);_j6._uS=-1;}}}}}};_HR.prototype._nT=function(_Nn,_WS){if(_Nn==null)return;for(var _35=0;_35<_Nn._kS.length;_35++){var layer=_Nn._kS._I4(_35);for(var i=0;i<layer._RP.length;i++){var _bO=layer._RP._I4(i);if(_bO!=null){if(_bO._dO==_SP){if(_bO._ZQ==_WS){this._dS(_Nn,_bO,layer,true,false);return;}}}}}};_HR.prototype._oT=function(_Nn,_1S,_WS){if(_Nn==null||_1S==null)return;for(var i=0;i<_1S._RP.length;i++){var _bO=_1S._RP._I4(i);
if(_bO!=null){if(_bO._dO==_SP){if(_bO._ZQ==_WS){this._dS(_Nn,_bO,_1S,true,false);}}}}};_HR.prototype._pT=function(_Nn,_Ek,_R2){if(_Nn==null)return null;var _eT=new _BQ();_eT._rd=this._fT();_eT.depth=_Ek;_eT._GQ=_R2;_eT._FQ=false;_Nn._kS._Ke(_eT);return _eT;};_HR.prototype._qT=function(_Nn,_rT,_gS){if(_gS==undefined){_gS=true;}var layer=this._QP(_Nn,_rT);if(layer!=null){for(var i=0;i<layer._RP.length;i++){var _bO=layer._RP._I4(i);if(_bO!=null){this._dS(_Nn,_bO,layer,false,_gS);}}_Nn._kS._Pk(layer);}};_HR.prototype._sT=function(_Nn,
_1S,_tT,_uT){if(_Nn==null)return;if(_1S==null)return;if(_tT==_1S.depth)return;var _vT=_1S.depth;_1S.depth=_tT;_Nn._kS._Pk(_1S);_Nn._kS._Ke(_1S);if(_1S._FQ&&_uT){var _wT=[];var _xT=0;var _yT=_Nn._kS._zT(_1S);if(_yT!=-1){var _AT=_yT-1;while(_AT>=0){var _BT=_Nn._kS._I4(_AT);if((_BT==null)||(_BT.depth==_1S.depth)){if(_BT!=null){if(_BT._FQ){_wT[_xT++]=_BT;}}_AT--;}else {break;}};_AT=_yT+1;while(_AT<_Nn._kS.length){var _BT=_Nn._kS._I4(_AT);if((_BT==null)||(_BT.depth==_1S.depth)){if(_BT!=null){if(_BT._FQ){_wT[_xT++]=_BT;
}}_AT++;}else {break;}};for(var i=0;i<_xT;i++){var _CT=_wT[i];for(var _35=0;_35<_CT._RP.length;_35++){var _bO=_CT._RP._I4(_35);if(_bO==null)continue;if(_bO._dO==_SP){if(_bO._TP!=null){_bO._TP._uS=_1S._rd;}}_1S._RP._Ke(_bO);}_CT._RP.__e();_7t._qT(_Nn,_CT._rd,false);}}}};_HR.prototype._TS=function(_Nn,_Ek,_DT){if(_Nn==null)return null;for(var i=0;i<_Nn._kS.length;i++){var layer=_Nn._kS._I4(i);if((layer.depth===_Ek)&&(!_DT||(layer._FQ)))return layer;}return null;};_HR.prototype._QP=function(_Nn,_nf){for(var i=0;
i<_Nn._kS.length;i++){var layer=_Nn._kS._I4(i);if(layer._rd===_nf)return layer;}return null;};_HR.prototype._fT=function(){if(this._JR<this._IR)this._JR=this._IR;this._JR++;return this._JR;};_HR.prototype._NS=function(){return this._KR++;};_HR.prototype._at=function(_Nn,_ET){if(_Nn==null)return null;for(var i=0;i<_Nn._kS.length;i++){var layer=_Nn._kS._I4(i);var _wc=_7t._lS(layer,_ET);if(_wc!=null)return _wc;}return null;};_HR.prototype._pS=function(_Nn,_ET){if(_Nn==null)return null;for(var i=0;i<_Nn._kS.length;
i++){var layer=_Nn._kS._I4(i);var _wc=_7t._lS(layer,_ET);if(_wc!=null){var _oS=new _FT();_oS._wc=_wc;_oS.layer=layer;return _oS;}}return null;};_HR.prototype._lS=function(_1S,_GT){if(_1S==null)return null;for(var i=0;i<_1S._RP.length;i++){var _bO=_1S._RP._I4(i);if(_bO==null)continue;if(_bO._rd===_GT){return _bO;}}return null;};_HR.prototype._HT=function(_1S,_IT){if(_1S==null||_IT==null)return null;_IT=_IT.toLowerCase();for(var i=0;i<_1S._RP.length;i++){var _bO=_1S._RP._I4(i);if(_bO==null||_bO===undefined)continue;
if(!_bO._Qq)continue;if(_bO._Qq.toLowerCase()===_IT){return _bO;}}return null;};_HR.prototype._JT=function(_Nn,_WS){if(_Nn==null)return null;for(var i=0;i<_Nn._kS.length;i++){var layer=_Nn._kS._I4(i);if(layer!=null){for(var _35=0;_35<layer._RP.length;_35++){var _bO=layer._RP._I4(_35);if(_bO!=null){if(_bO._dO==_SP){if(_bO._ZQ==_WS){var _oS=new _FT();_oS._wc=_bO;_oS.layer=layer;return _oS;}}}}}}return null;};_HR.prototype._KT=function(_Nn,_ET){if(_Nn==null)return null;for(var i=0;i<_Nn._kS.length;i++){var layer=_Nn._kS._I4(i);
if(layer!=null){for(var _35=0;_35<layer._RP.length;_35++){var _bO=layer._RP._I4(_35);if(_bO!=null){if(_bO._rd==_ET){return layer;}}}}}return null;};_HR.prototype._LT=function(){if(_x2._kS===null||_x2._kS.length===0)return;var _MT=_x2._kS.length;var time=_tJ();for(var i=0;i<_MT;i++){var layer=_x2._kS._I4(i);var _NT=time-layer._KQ;if(_NT>2000000)_NT=0;layer._pO+=layer._CQ;layer._rO+=layer._DQ;for(var _35=0;_35<layer._RP.length;_35++){var _bO=layer._RP._I4(_35);if(_bO==null)continue;var type=_bO._dO;if(type==_hQ){
var _6r=_bO._1R;if(_6r!=null){if(_6r.playbackspeedtype==_A2){_6r.image_index+=_6r.image_speed*_6r.playbackspeed;}else {var fps=_B2._C2();_6r.image_index+=(_6r.image_speed*_6r.playbackspeed)/fps;}}}else if(type==_jQ){var _OT=_H4._I4(_bO._7R);if(_OT.sequence!=null){var _PT=_bO._aR;var fps=(_OT.playbackspeedtype==_AQ)?_B2._C2():1.0;_bO._aR+=_bO._bR*(_OT.playbackspeed/fps)*_bO._8R;var _45={headPosition:_bO._aR,_QT:_bO._bR,_RT:false};_ST(_OT.sequence,_45);_bO._aR=_45.headPosition;_bO._bR=_45._QT;if((_OT.sequence._TT!=null)&&(_OT.sequence._TT[0]._dO==_UT)){
var _Q2=_OT.sequence._TT[0];var _VT=_Q2._WT._XT(_bO._aR,_OT.sequence._YT);if(_VT==null){_bO._cR=-1;}else {_bO._cR=_VT._Pq[0]._cR;}_ZT(_OT.sequence,_bO._rd,fps,_OT.playbackspeed,_bO._bR,_PT,_bO._aR);}}else if(_OT._xL!==undefined){_bO._cR+=_bO._8R;}else {var fps=_B2._C2();if(fps!=0.0){if(_OT.playbackspeedtype!=_AQ)fps=1.0;_bO._cR+=(_OT.playbackspeed/fps)*_bO._8R;}}}else if(type==_eO){var _bq=_cq._4r(_bO._gO);if(_bq!=null){if(_bq.framelength>0)_bO._DO=Math.floor((time/_bq.framelength)%_bq.frames);else _bO._DO=(_bO._DO+1)%_bq.frames;
}}}layer._KQ=_tJ();}};_HR.prototype.__T=function(_Nn){if(_Nn==null)return;if(_Nn._kS==null)return;var _aO,_Zj;_Zj=_Nn._kS._Zj;while(_Zj.length>0){_aO=_Zj[0];if(_aO==null){continue;}this._qT(_Nn,_aO._rd,false);}};_HR.prototype._0U=function(_Nn){if(_Nn==null)return;if(_Nn._kS==null)return;for(var _K5=0;_K5<_Nn._kS._Zj.length;++_K5){var _1S=_Nn._kS._Zj[_K5];for(var e=0;e<_1S._RP._Zj.length;++e){var _2S=_1S._RP._Zj[e];this._hS(_2S);}}};_HR.prototype._1U=function(_Nn,_2U){if(_Nn===null)return;if(_2U===null)return;
if(!this._LR)this.__R();var _3U=_Nn._4U;var _5U=_Nn._6U;var _MT=_2U.length;{var _aO;for(var _35=_MT-1;_35>=0;_35--){_aO=_2U[_35];var _eT=new _BQ();if(_aO.pName!=undefined)_eT._GQ=_aO.pName;if(_aO.id!=undefined)_eT._rd=_aO.id;if(_aO.depth!=undefined)_eT.depth=_aO.depth;if(_aO.x!=undefined)_eT._pO=_aO.x;if(_aO.y!=undefined)_eT._rO=_aO.y;if(_aO.hspeed!=undefined)_eT._CQ=_aO.hspeed;if(_aO.vspeed!=undefined)_eT._DQ=_aO.vspeed;if(_aO.visible!=undefined)_eT._EQ=_aO.visible;if(_aO.effectEnabled!=undefined)_eT._LQ=_eT._MQ=_aO.effectEnabled;
if((_aO.effectType!=undefined)&&(_aO.effectType!="")){var _7U=new _zR();_7U.pName=_aO.effectType;_7U._LH=0;for(var _x5=0;_x5<_aO.effectProperties.length;_x5++){var _8U=_aO.effectProperties[_x5].value;if((_8U=="")||_8U.includes(".png")||_8U.includes(".jpg"))continue;var _z5;for(_z5=0;_z5<_x5;_z5++){if(_aO.effectProperties[_x5].name==_aO.effectProperties[_z5].name)break;}if(_x5==_z5){_7U._LH++;}}var _9U=[];var _aU=null;var _bU=-1;var _cU="";var _dU=1;for(var _x5=0;_x5<_aO.effectProperties.length;_x5++){var _8U=_aO.effectProperties[_x5].value;
if((_8U=="")||_8U.includes(".png")||_8U.includes(".jpg"))continue;var _eU=_aO.effectProperties[_x5];if(_cU!=_eU.name){_bU++;_cU=_eU.name;_aU=new _xR();_9U[_bU]=_aU;var _fU=_eU.name;_aU.pName=_fU;var _gU=_hU(_eU.type);_dU=_gU.elements;_aU.type=_gU.type;_aU._yR=[];}var _iU=_aU.elements;_aU.elements+=_dU;var _jU=_eU.value;var _kU=_jU;switch(_eU.type){case _CR:_aU._yR[_iU]=parseFloat(_kU);break;case _DR:{if(_jU.length>0){if(_jU[0]=='#'){_kU="0x"+_jU.substring(1);_kU=parseInt(_kU);var _q3=_kU;var _i3,_j3,_k3,_l3;
_i3=(_q3&0xff)/255.0;_j3=((_q3>>8)&0xff)/255.0;_k3=((_q3>>16)&0xff)/255.0;_l3=((_q3>>24)&0xff)/255.0;_aU._yR[_iU]=_i3;_aU._yR[_iU+1]=_j3;_aU._yR[_iU+2]=_k3;_aU._yR[_iU+3]=_l3;}}}break;case _ER:_aU._yR[_iU]=_kU;break;}}_7U._AR=_9U;_7U._BR=true;_eT._OQ=_7U;}if(_aO.type===_aQ){var _lU=new _0R();_lU._1R=new _wQ();var _mU;_lU._1R.image_speed=1.0;if(_aO.bvisible!=undefined)_lU._1R.visible=_aO.bvisible;if(_aO.bforeground!=undefined)_lU._1R.foreground=_aO.bforeground;if(_aO.bindex!=undefined)_lU._1R.index=_aO.bindex;
if(_aO.bhtiled!=undefined)_lU._1R.htiled=_aO.bhtiled;if(_aO.bvtiled!=undefined)_lU._1R.vtiled=_aO.bvtiled;if(_aO.bblend!=undefined){_lU._1R._zQ=_Ub(_aO.bblend);_lU._1R.alpha=((_aO.bblend>>24)&0xff)/255.0;}if(_aO.playbackspeedtype!=undefined)_lU._1R.playbackspeedtype=_aO.playbackspeedtype;if(_aO.bimage_speed!=undefined)_lU._1R.playbackspeed=_aO.bimage_speed;if(_aO.pName!=undefined)_lU._Qq=_aO.pName;if((_aO.bstretch!=undefined)){_lU._1R.stretch=_aO.bstretch;}if((_aO.bstretch!=undefined)&&(_aO.bstretch==true)&&(sprite_exists(_lU._1R.index))){
var value=sprite_get_width(_lU._1R.index);if(value>0)_lU._1R._xQ=_3U/value;value=sprite_get_height(_lU._1R.index);if(value>0)_lU._1R._yQ=_5U/value;}this._LS(_Nn,_eT,_lU);}else if(_aO.type===_bQ){var _nU=0;if(_aO.icount!=undefined)_nU=_aO.icount;for(var i=_nU-1;i>=0;i--){var _jT=new _YQ();_jT._ZQ=_aO.iinstIDs[i];this._LS(_Nn,_eT,_jT,false);}}else if(_aO.type===_cQ){var _oU=0;if(_aO.acount!=undefined)_oU=_aO.acount;if(_oU>0){var i;for(i=_oU-1;i>=0;i--){var _pU=new _sR();if(_aO.assets[i].ax!=undefined)_pU._oO=_aO.assets[i].ax;
if(_aO.assets[i].ay!=undefined)_pU._qO=_aO.assets[i].ay;if(_aO.assets[i].aindex!=undefined)_pU._7F=_aO.assets[i].aindex;if(_aO.assets[i].aXO!=undefined)_pU._vR=_aO.assets[i].aXO;if(_aO.assets[i].aYO!=undefined)_pU._wR=_aO.assets[i].aYO;if(_aO.assets[i].aW!=undefined)_pU._tR=_aO.assets[i].aW;if(_aO.assets[i].aH!=undefined)_pU._uR=_aO.assets[i].aH;if(_aO.assets[i].aXScale!=undefined)_pU._qU=_aO.assets[i].aXScale;if(_aO.assets[i].aYScale!=undefined)_pU._rU=_aO.assets[i].aYScale;if(_aO.assets[i].aBlend!=undefined){
_pU._sU=_aO.assets[i].aBlend&0xffffff;_pU._tU=((_aO.assets[i].aBlend>>24)&0xff)/255.0;}this._LS(_Nn,_eT,_pU,false);}}var _uU=0;if(_aO.scount!=undefined)_uU=_aO.scount;if(_uU>0){for(var i=_uU-1;i>=0;i--){var _vU=new _6R();_vU._9R=_AQ;_vU._7R=_aO.sprites[i].sIndex;_vU._aR=_aO.sprites[i].sImageIndex;_vU._bR=1.0;if(_aO.sprites[i].sPlaybackSpeedType!=undefined)_vU._9R=_aO.sprites[i].sPlaybackSpeedType;_vU._8R=_aO.sprites[i].sImageSpeed;_vU._cR=_aO.sprites[i].sImageIndex;_vU._dR=_aO.sprites[i].sXScale;_vU._eR=_aO.sprites[i].sYScale;
_vU._fR=_aO.sprites[i].sRotation;_vU._gR=_Ub(_aO.sprites[i].sBlend&0xffffff);_vU._hR=((_aO.sprites[i].sBlend>>24)&0xff)/255.0;_vU._oO=_aO.sprites[i].sX;_vU._qO=_aO.sprites[i].sY;_vU._Qq=_aO.sprites[i].sName;this._LS(_Nn,_eT,_vU,false);}}var _wU=0;if(_aO.ecount!=undefined)_wU=_aO.ecount;if(_wU>0){for(var i=_wU-1;i>=0;i--){var _xU=new _iR();_xU._jR=_aO.sequences[i].sIndex;_xU._lR=_aO.sequences[i].sHeadPosition;_xU._gR=_Ub(_aO.sequences[i].sBlend&0xffffff);_xU._hR=((_aO.sequences[i].sBlend>>24)&0xff)/255.0;
_xU._mR=_aO.sequences[i].sXScale;_xU._nR=_aO.sequences[i].sYScale;_xU._oO=_aO.sequences[i].sX;_xU._qO=_aO.sequences[i].sY;_xU._Z1=_aO.sequences[i].sRotation;_xU._Qq=_aO.sequences[i].sName;_xU._cO=_eT;_xU._8R=_aO.sequences[i].sImageSpeed;this._LS(_Nn,_eT,_xU,false);}}var _yU=0;if(_aO.pcount!=undefined)_yU=_aO.pcount;if(_yU>0){for(var i=_yU-1;i>=0;--i){var _zU=_aO.particles[i];var _AU=new _pR();_AU._qR=-1;_AU._rR=_zU.sIndex;_AU._dR=_zU.sXScale;_AU._eR=_zU.sYScale;_AU._fR=_zU.sRotation;_AU._gR=_Ub(_zU.sBlend&0xffffff);
_AU._hR=((_zU.sBlend>>24)&0xff)/255.0;_AU._oO=_zU.sX;_AU._qO=_zU.sY;_AU._GQ=_zU.sName;this._LS(_Nn,_eT,_AU,false);}}}else if(_aO.type===_dQ){if(_aO.tIndex>=0){var _BU=new _2R();_BU._gO=_aO.tIndex;_BU._sO=_aO.tMapWidth;_BU._tO=_aO.tMapHeight;_BU._fO=[];var _oU=0;if(_aO.tcount!=undefined)_oU=_aO.tcount;for(var i=0;i<_oU;i++){_BU._fO[i]=_aO.ttiles[i];}if(_aO.pName!=undefined)_BU._Qq=_aO.pName;this._LS(_Nn,_eT,_BU,false);}}else if(_aO.type===_fQ){if(_eT._OQ!=null){_eT._OQ._BR=false;}}_Nn._kS._Ke(_eT);this._SR(_L5(this._RR(),
_eT._rd));}}};function _hU(_CU){var type=_DU;if((_CU>=0)||(_CU<_FR)){var _EU=[_DU,_DU,_FU,];type=_EU[_CU];}var _gU={};var elements=1;switch(_CU){case _CR:break;case _DR:elements=4;break;case _ER:break;default :break;}_gU.type=type;_gU.elements=elements;return _gU;}_HR.prototype._GU=function(_j6){this._QR=_j6;};_HR.prototype._HU=function(){return this._QR;};function _IU(room,_JU){if(typeof(_JU)==="string")return _7t._PP(room,yyGetString(_JU));return _7t._QP(room,yyGetInt32(_JU));};function _KU(_LU){var room=_7t._8t();
if(room==null)return null;return _IU(room,_LU);};function layer_get_id(_R2){var room=_7t._8t();if(room==null)return -1;var _aO=_7t._PP(room,yyGetString(_R2));if(_aO!=null){return _aO._rd;}return -1;};function layer_get_id_at_depth(_Ek){var room=_7t._8t();if(room==null){var _o5=[];_o5[0]=-1;return _o5;}var _ta=[];var _MT=0;var i;for(i=0;i<room._kS.length;i++){var layer=room._kS[i];if(layer!=null){if(layer.depth==yyGetInt32(_Ek)){_ta[_MT++]=layer._rd;}}}if(_MT==0){var _o5=[];_o5[0]=-1;return _o5;}return _ta;}function layer_get_depth(_nf){
var _aO=_KU(_nf);if(_aO!=null){return _aO.depth;}return -1;};function layer_create(_Ek,_R2){var room=_7t._8t();if(room==null)return -1;var _eT=new _BQ();_eT._rd=_7t._fT();_eT.depth=yyGetInt32(_Ek);_eT._GQ=yyGetString(_R2);_eT._FQ=false;if((_eT._GQ==undefined)||(_eT._GQ==null)){_eT._GQ="_layer_"+_eT._rd.toString(16);}room._kS._Ke(_eT);return _eT._rd;};function layer_destroy(_tg){var room=_7t._8t();var _aO=_IU(room,_tg);if(_aO!=null)_7t._qT(room,_aO._rd);return -1;};function layer_destroy_instances(_tg){var room=_7t._8t();
var _aO=_IU(room,_tg);if(_aO!=null){for(var i=0;i<_aO._RP.length;i++){var _bO=_aO._RP._I4(i);if(_bO!=null){if(_bO._dO==_SP){_7t._dS(room,_bO,_aO,false,true);}}}}return -1;};function layer_add_instance(_tg,_MU){var room=_7t._8t();var _aO=_IU(room,_tg);if(_aO===null)return -1;if(room==_x2){var _4m=_Lm._I4(yyGetInt32(_MU));if(_4m===null)return -1;_7t._kT(room,_4m);_7t._iT(room,_aO,_4m);}else {var _NU=yyGetInt32(_MU);var _OU=_7t._VS(room,_NU);if(_OU!=-1){var _PU=_7t._QP(room,_OU);_7t._oT(room,_PU,_NU);}var _QU=new _YQ();
_QU._ZQ=_NU;_7t._LS(room,_aO,_QU,false);}return -1;};function _RU(_tg,_MU){var room=_7t._8t();var _aO=_IU(room,_tg);if(_aO===null)return;var _4m=_Lm._I4(yyGetInt32(_MU));if(_4m===null)return;if(_4m._qP===false){return;}if(_4m._uS!=_aO._rd){return;}_7t._lT(room,_aO,_4m);};function layer_has_instance(_tg,_MU){var _aO=_KU(_tg);if(_aO===null)return false;var _4m=_Lm._I4(yyGetInt32(_MU));if(_4m===null)return false;if(_4m._qP===true&&_4m._uS===_aO._rd){return true;}return false;};function layer_instance_get_instance(_nf){
var room=_7t._8t();if(room!=null){var _bO=_7t._at(room,yyGetInt32(_nf));if(_bO!=null&&_bO._dO===_SP){return _Ss(_Ts,_bO._ZQ);}}return _Os;}function layer_set_visible(_tg,_MU){var _aO=_KU(_tg);if(_aO===null)return;_aO._EQ=yyGetBool(_MU);};function layer_get_visible(_tg){var _aO=_KU(_tg);if(_aO===null)return;return _aO._EQ;};function layer_exists(_tg){var _aO=_KU(_tg);if(_aO===null)return false;return true;};function layer_script_begin(_tg,_MU){var layer=_KU(_tg);if(layer===null)return;if(typeof(_MU)==="number"){
var _o8=yyGetInt32(_MU);if(_o8>=100000)_o8-=100000;layer._HQ=_vD.Scripts[yyGetInt32(_o8)];}else {layer._HQ=_MU;}if(_7t._HU()===null){var _SU=new _mP(0,0,0,0,false,true);_7t._GU(_SU);}};function layer_script_end(_tg,_MU){var layer=_KU(_tg);if(layer===null)return;if(typeof(_MU)==="number"){var _o8=yyGetInt32(_MU);if(_o8>=100000)_o8-=100000;layer._IQ=_vD.Scripts[yyGetInt32(_o8)];}else {layer._IQ=_MU;}if(_7t._HU()===null){var _SU=new _mP(0,0,0,0,false,true);_7t._GU(_SU);}};function layer_shader(_tg,_MU){var layer=_KU(_tg);
if(layer===null)return;layer._JQ=yyGetInt32(_MU);};function _TU(_AD){var _u3=_AD;var _1i=_vD.Scripts.length;for(var _x5=0;_x5<_1i;++_x5){if(_AD==_vD.Scripts[_x5]){_u3=_x5+100000;break;}}return _u3;};function layer_get_script_begin(_tg){var layer=_KU(_tg);if(layer===null)return -1;_UU=_TU(layer._HQ);return _UU===null?-1:_UU;};function layer_get_script_end(_tg){var layer=_KU(_tg);if(layer===null)return -1;_UU=_TU(layer._IQ);return _UU===null?-1:_UU;};function layer_get_shader(_tg){var layer=_KU(_tg);if(layer===null)return -1;
return layer._JQ;};function layer_set_target_room(_tg){_7t._NR=yyGetInt32(_tg);};function layer_get_target_room(){return _7t._NR;}function layer_reset_target_room(){_7t._NR=-1;}function _VU(_WU){var room=_7t._8t();var _bO=_7t._at(room,_WU);if((_bO!=null)&&(_bO._dO===_hQ)&&(_bO._1R!=null))return _bO;return null;};function layer_background_get_id(_tg){var layer=_KU(_tg);if(layer===null)return -1;var _bO=_7t._HT(layer,layer._GQ);if(_bO!=null){return _bO._rd;}};function layer_background_exists(_tg,_MU){var layer=_KU(_tg);
if(layer===null)return false;var _bO=_7t._lS(layer,yyGetInt32(_MU));if((_bO!=null)&&(_bO._dO===_hQ)&&(_bO._1R!=null)){return true;}return false;};function layer_background_create(_tg,_MU){var room=_7t._8t();if(room===null)return -1;var layer=_IU(room,_tg);if(layer!=null){var _lU=new _0R();_lU._1R=new _wQ();var _mU;_lU._1R.visible=true;_lU._1R.foreground=false;_lU._1R.index=yyGetInt32(_MU);_lU._1R.htiled=false;_lU._1R.vtiled=false;_lU._1R._zQ=0xffffffff;_lU._1R.alpha=1;_lU._1R.image_index=0;_lU._1R.image_speed=1;
_7t._LS(room,layer,_lU);return _lU._rd;}return -1;};function layer_background_destroy(_tg){var room=_7t._8t();if(room===null)return;_7t._iS(room,yyGetInt32(_tg));};function layer_background_visible(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R.visible=yyGetBool(_MU);}};function layer_background_change(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R.index=yyGetInt32(_MU);}};function layer_background_htiled(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R.htiled=yyGetBool(_MU);
}};function layer_background_vtiled(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R.vtiled=yyGetBool(_MU);}};function layer_background_xscale(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R._xQ=yyGetReal(_MU);}};function layer_background_yscale(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R._yQ=yyGetReal(_MU);}};function layer_background_stretch(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R.stretch=yyGetBool(_MU);}};function layer_background_blend(_tg,_MU){
var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R._zQ=_Ub(yyGetInt32(_MU));}};function layer_background_alpha(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R.alpha=yyGetReal(_MU);}};function layer_background_index(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){var image_index=yyGetInt32(_MU);var _XU=sprite_get_number(_bO._1R.image_index);_bO._1R.image_index=_E2(image_index,_XU);}};function layer_background_sprite(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R.index=yyGetReal(_MU);
}};function layer_background_speed(_tg,_MU){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){_bO._1R.image_speed=yyGetReal(_MU);}};function layer_background_get_visible(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R.visible;}return true;};function layer_background_get_sprite(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R.index;}return -1;};function layer_background_get_htiled(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R.htiled;}return false;};function layer_background_get_vtiled(_tg){
var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R.vtiled;}return false;};function layer_background_get_stretch(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R.stretch;}return false;};function layer_background_get_xscale(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R._xQ;}return 1;};function layer_background_get_yscale(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R._yQ;}return 1;};function layer_background_get_blend(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){
return _Ub(_bO._1R._zQ);}return 0;};function layer_background_get_alpha(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R.alpha;}return 0;};function layer_background_get_index(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R.image_index;}return -1;};function layer_background_get_speed(_tg){var _bO=_VU(yyGetInt32(_tg));if(_bO!=null){return _bO._1R.image_speed;}return 0;};function _YU(_ZU){var room=_7t._8t();var _bO=_7t._at(room,_ZU);if((_bO!=null)&&(_bO._dO===_jQ))return _bO;return null;}
;function layer_sprite_get_id(__U,_0V){var room=_7t._8t();if(room===null)return -1;var layer=_IU(room,__U);if(layer!=null){var _wc=_7t._HT(layer,yyGetString(_0V));if(_wc!=null&&_wc._dO==_jQ){return _wc._rd;}}return -1;};function layer_sprite_exists(_tg,_MU){var room=_7t._8t();if(room===null)return false;var layer=_IU(room,_tg);if(layer===null)return false;var _bO=_7t._lS(layer,yyGetInt32(_MU));if((_bO!=null)&&(_bO._dO===_jQ)){return true;}return false;};function layer_sprite_create(_tg,_MU,_1V,_2V){var room=_7t._8t();
if(room===null)return -1;var layer=_IU(room,_tg);if(layer!=null){var _3V=new _6R();_3V._7R=yyGetInt32(_2V);_3V._oO=yyGetReal(_MU);_3V._qO=yyGetReal(_1V);_7t._LS(room,layer,_3V);return _3V._rd;}return -1;};function layer_sprite_destroy(_tg){var room=_7t._8t();if(room===null)return;_7t._iS(room,yyGetInt32(_tg));};function layer_sprite_change(_tg,_MU){var _bO=_YU(_tg);if(_bO!=null){_bO._7R=yyGetInt32(_MU);}};function layer_sprite_index(_tg,_MU){var room=_7t._8t();if(room===null)return;var _bO=_7t._at(room,yyGetInt32(_tg));
if((_bO!=null)&&(_bO._dO===_jQ)){_bO._cR=yyGetInt32(_MU);var frame=yyGetInt32(_MU);var _OT=_H4._I4(_bO._7R);if(_OT!=null){if(_OT.sequence!=null&&_OT.sequence._TT!=null&&_OT.sequence._TT[0]._dO==_UT){var _4V=_OT.sequence._TT[0];var keyframeStore=_4V._WT;var _5V=keyframeStore._6V;if(_5V>0){var _7V=_E2(frame,_5V);var _8V=_7V;var _9V=_7V-_8V;_bO._aR=(keyframeStore._aV[Math.floor(_8V)]._bV+(_9V*_5V));_bO._cR=_7V;}else {_bO._cR=frame;}}else {_bO._cR=frame;}}else {_bO._cR=frame;}}};function layer_sprite_speed(_tg,
_MU){var _bO=_YU(_tg);if(_bO!=null){_bO._8R=yyGetReal(_MU);}};function layer_sprite_xscale(_tg,_MU){var _bO=_YU(_tg);if(_bO!=null){_bO._dR=yyGetReal(_MU);}};function layer_sprite_yscale(_tg,_MU){var _bO=_YU(_tg);if(_bO!=null){_bO._eR=yyGetReal(_MU);}};function layer_sprite_angle(_tg,_MU){var _bO=_YU(_tg);if(_bO!=null){_bO._fR=yyGetReal(_MU);}};function layer_sprite_blend(_tg,_MU){var _bO=_YU(_tg);if(_bO!=null){_bO._gR=_Ub(yyGetInt32(_MU));}};function layer_sprite_alpha(_tg,_MU){var _bO=_YU(_tg);if(_bO!=null){
_bO._hR=yyGetReal(_MU);}};function layer_sprite_x(_tg,_MU){var _bO=_YU(_tg);if(_bO!=null){_bO._oO=yyGetReal(_MU);}};function layer_sprite_y(_tg,_MU){var _bO=_YU(_tg);if(_bO!=null){_bO._qO=yyGetReal(_MU);}};function layer_sprite_get_sprite(_tg){var _bO=_YU(_tg);if(_bO!=null){return _bO._7R;}return -1;};function layer_sprite_get_index(_tg){var _bO=_YU(_tg);if(_bO!=null){return _bO._cR;}return -1;};function layer_sprite_get_speed(_tg){var _bO=_YU(_tg);if(_bO!=null){return _bO._8R;}return 0;};function layer_sprite_get_xscale(_tg){
var _bO=_YU(_tg);if(_bO!=null){return _bO._dR;}return 1;};function layer_sprite_get_yscale(_tg){var _bO=_YU(_tg);if(_bO!=null){return _bO._eR;}return 1;};function layer_sprite_get_angle(_tg){var _bO=_YU(_tg);if(_bO!=null){return _bO._fR;}return 0;};function layer_sprite_get_blend(_tg){var _bO=_YU(_tg);if(_bO!=null){return _Ub(_bO._gR);}return 0;};function layer_sprite_get_alpha(_tg){var _bO=_YU(_tg);if(_bO!=null){return _bO._hR;}return 0;};function layer_sprite_get_x(_tg){var _bO=_YU(_tg);if(_bO!=null){return _bO._oO;
}return 0;};function layer_sprite_get_y(_tg){var _bO=_YU(_tg);if(_bO!=null){return _bO._qO;}return 0;};function _cV(_dV){var room=_7t._8t();var _bO=_7t._at(room,_dV);if((_bO!=null)&&(_bO._dO===_eO))return _bO;return null;}function layer_tilemap_get_id(_tg){var room=_7t._8t();if(room===null)_Ss(_Xs,-1);var layer=_IU(room,_tg);if(layer!=null){var _wc=_7t._HT(layer,layer._GQ);if(_wc!=null&&_wc._dO==_eO){return _Ss(_Xs,_wc._rd);}}return _Ss(_Xs,-1);};function layer_tilemap_exists(_tg,_MU){var room=_7t._8t();if(room===null)return false;
var layer=_IU(room,_tg);if(layer!=null){var _wc=_7t._lS(layer,yyGetInt32(_MU));if(_wc!=null&&_wc._dO==_eO){return true;}}return false;};function layer_tilemap_create(_tg,_MU,_1V,_2V,_eV,_fV){var room=_7t._8t();if(room===null)return -1;var layer=_IU(room,_tg);if(layer!=null){var _BU=new _2R();_BU._gO=yyGetInt32(_2V);_BU._sO=yyGetInt32(_eV);_BU._tO=yyGetInt32(_fV);_BU._oO=yyGetReal(_MU);_BU._qO=yyGetReal(_1V);_BU._fO=[];var _oU=0;_oU=_eV*_fV;for(var i=0;i<_oU;i++){_BU._fO[i]=0;}_7t._LS(room,layer,_BU,true);return _BU._rd;
}return -1;};function layer_tilemap_destroy(_tg){var room=_7t._8t();if(room===null)return;_7t._iS(room,yyGetInt32(_tg));};function layer_x(_tg,_MU){var layer=_KU(_tg);if(layer!=null){layer._pO=yyGetReal(_MU);}};function layer_y(_tg,_MU){var layer=_KU(_tg);if(layer!=null){layer._rO=yyGetReal(_MU);}};function layer_get_x(_tg){var layer=_KU(_tg);if(layer!=null){return layer._pO;}return 0;};function layer_get_y(_tg){var layer=_KU(_tg);if(layer!=null){return layer._rO;}return 0;};function layer_hspeed(_gV,speed){var layer=_KU(_gV);
if(layer!=null){layer._CQ=yyGetReal(speed);}return 0;};function layer_vspeed(_gV,speed){var layer=_KU(_gV);if(layer!=null){layer._DQ=yyGetReal(speed);}return 0;};function layer_get_hspeed(_gV){var layer=_KU(_gV);if(layer!=null){return layer._CQ;}return 0;};function layer_get_vspeed(_gV){var layer=_KU(_gV);if(layer!=null){return layer._DQ;}return 0;};function tilemap_tileset(_tg,_MU){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){_bO._gO=yyGetInt32(_MU);}};function tilemap_x(_tg,_MU){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){
_bO._oO=yyGetReal(_MU);}};function tilemap_y(_tg,_MU){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){_bO._qO=yyGetReal(_MU);}};function tilemap_set(_tg,_MU,_1V,_2V){_1V=yyGetInt32(_1V);_2V=yyGetInt32(_2V);var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){if(_1V<0){debug("tilemap_set_tile called with negative x coord, fails");return;}if(_2V<0){debug("tilemap_set_tile called with negative y coord, fails");return;}if(_1V>=_bO._sO){debug("tilemap_set_tile called with x coord greater than map width, fails");return;
}if(_2V>=_bO._tO){debug("tilemap_set_tile called with y coord greater than map height, fails");return;}var x=_1V;var y=_2V;var _bq=_cq._4r(_bO._gO);var _hV=yyGetInt32(_MU);var _zO=((_hV>>_AO)&_BO);if(_bq!=null&&_zO>=_bq.tilecount){debug("layer_tilemap_set_tile() - tile index outside tile set count");return;}var index=(y*_bO._sO)+x;_bO._fO[index]=_hV;}};/*@constructor */function _FT(){this._wc=-1;this.layer=-1;};function tilemap_set_at_pixel(_tg,_MU,_1V,_2V){var room=_7t._8t();var _u3=_7t._pS(room,yyGetInt32(_tg));
if(_u3==null)return -1;var _bO=_u3._wc;var _1S=_u3.layer;if((_bO!=null)&&(_bO._dO===_eO)){var _bq=_cq._4r(_bO._gO);var _iV=_bq.tilewidth;var _jV=_bq.tileheight;var _kV=1/_iV;var _lV=1/_jV;var _mV=_bO._oO+_1S._pO;var _nV=_bO._qO+_1S._rO;var _oV=_bO._sO*_iV;var _pV=_bO._tO*_jV;var x=yyGetReal(_1V);var y=yyGetReal(_2V);x-=_mV;y-=_nV;if(x<0)return -1;if(y<0)return -1;if(x>=_oV)return -1;if(y>_pV)return -1;var _qV=Math.floor(x*_kV);var _rV=Math.floor(y*_lV);_qV=_L5(0,_M5(_qV,_bO._sO));_rV=_L5(0,_M5(_rV,_bO._tO));var index=_rV*_bO._sO+_qV;
var _hV=yyGetInt32(_MU);var _zO=((_hV>>_AO)&_BO);if(_bq!=null&&_zO>=_bq.tilecount){debug("tilemap_set_tile_at_pixel() - tile index outside tile set count");return;}_bO._fO[index]=_hV;}};function tileset_get_texture(_x3){var _Kj=_cq._4r(yyGetInt32(_x3));if(_Kj){return({_Lb:_Kj._9r.texture,_Mb:_Kj._9r});}return null;}function tileset_get_name(_x3){var _Kj=_cq._4r(yyGetInt32(_x3));if(!_Kj)return "";return _Kj.pName;}function tileset_get_uvs(_x3){var _Kj=_cq._4r(yyGetInt32(_x3));if(_Kj){var _F3=_Kj._9r;var texture=_F3.texture;
var _ds=1.0/texture._3c;var _es=1.0/texture._4c;var _fs=[];_fs.push(_F3.x*_ds,_F3.y*_es,(_F3.x+_F3.CropWidth)*_ds,(_F3.y+_F3.CropHeight)*_es);return _fs;}return null;}function tileset_get_info(_x3){var _Kj=_cq._4r(yyGetInt32(_x3));var _u3=undefined;if(_Kj){_u3=new _FG();var _F3=_Kj._9r;var texture=_F3.texture;variable_struct_set(_u3,"width",texture.width);variable_struct_set(_u3,"height",texture.height);variable_struct_set(_u3,"texture",_F3.tp);variable_struct_set(_u3,"tile_width",_Kj.tilewidth);variable_struct_set(_u3,
"tile_height",_Kj.tileheight);variable_struct_set(_u3,"tile_horizontal_separator",_Kj.tilehsep);variable_struct_set(_u3,"tile_vertical_separator",_Kj.tilevsep);variable_struct_set(_u3,"tile_columns",_Kj.tilecolumns);variable_struct_set(_u3,"tile_count",_Kj.tilecount);variable_struct_set(_u3,"sprite_index",_Kj._hO);variable_struct_set(_u3,"frame_count",_Kj.frames);variable_struct_set(_u3,"frame_length_ms",_Kj.framelength);var frames=new _FG();for(var _N5=0;_N5<_Kj.tilecount;++_N5){var _sV=true;for(var _IC=0;
_sV&&_IC<_Kj.frames;++_IC){var _8P=_Kj.framedata[(_N5*_Kj.frames)+_IC];if(_8P==0)break;_sV=(_8P==_N5);}if(_sV)continue;var _0L=[];for(var _IC=0;_IC<_Kj.frames;++_IC){var _8P=_Kj.framedata[(_N5*_Kj.frames)+_IC];if(_8P==0)break;_0L[_IC]=_8P;}variable_struct_set(frames,_N5.toString(),_0L);}variable_struct_set(_u3,"frames",frames);}return _u3;}function tilemap_get_tileset(_tg){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){return _bO._gO;}return -1;};function tilemap_get_tile_width(_tg){var _bO=_cV(yyGetInt32(_tg));
if(_bO!=null){var _bq=_cq._4r(_bO._gO);if(_bq!=null){return _bq.tilewidth;}}return -1;};function tilemap_get_tile_height(_tg){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){var _bq=_cq._4r(_bO._gO);if(_bq!=null){return _bq.tileheight;}}return -1;};function tilemap_get_width(_tg){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){return _bO._sO;}return -1;};function tilemap_get_height(_tg){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){return _bO._tO;}return -1;};function _tV(_uV,_vV,_wV){if(_vV<1)_vV=1;if(_wV<1)_wV=1;var tiles=[];
var _oU=_vV*_wV;for(var i=0;i<_oU;++i){tiles[i]=0;}var src=0;var _f9=0;for(var y=0;y<Math.min(_wV,_uV._tO);++y){var _u7=Math.min(_vV,_uV._sO);for(var i=0;i<_u7;++i)tiles[_f9+i]=_uV._fO[src+i];src+=_uV._sO;_f9+=_vV;}_uV._fO=tiles;_uV._sO=_vV;_uV._tO=_wV;}function tilemap_set_width(_uV,_vV){var _bO=_cV(yyGetInt32(_uV));if(_bO!=null){_tV(_bO,yyGetInt32(_vV),_bO._tO);}}function tilemap_set_height(_uV,_wV){var _bO=_cV(yyGetInt32(_uV));if(_bO!=null){_tV(_bO,_bO._sO,yyGetInt32(_wV));}}function tilemap_get_x(_tg){var _bO=_cV(yyGetInt32(_tg));
if(_bO!=null){return _bO._oO;}return -1;};function tilemap_get_y(_tg){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){return _bO._qO;}return -1;};function tilemap_get(_tg,_MU,_1V){_MU=yyGetInt32(_MU);_1V=yyGetInt32(_1V);var room=_7t._8t();if(room==null){return 0;}var _bO=_7t._at(room,yyGetInt32(_tg));if((_bO!=null)&&(_bO._dO===_eO)){if(_MU<0){debug("tilemap_get_tile called with negative x coord, fails");return;}if(_1V<0){debug("tilemap_get_tile called with negative y coord, fails");return;}if(_MU>=_bO._sO){debug("tilemap_get_tile called with x coord greater than map width, fails");
return;}if(_1V>=_bO._tO){debug("tilemap_get_tile called with y coord greater than map height, fails");return;}var index=(_1V*_bO._sO)+_MU;return _bO._fO[index];}return -1;};function tilemap_get_at_pixel(_tg,_MU,_1V){var room=_7t._8t();var _u3=_7t._pS(room,yyGetInt32(_tg));if(_u3==null){return -1;}var _bO=_u3._wc;var _1S=_u3.layer;if((_bO!=null)&&(_bO._dO===_eO)){var _bq=_cq._4r(_bO._gO);var _iV=_bq.tilewidth;var _jV=_bq.tileheight;var _kV=1/_iV;var _lV=1/_jV;var _mV=_bO._oO+_1S._pO;var _nV=_bO._qO+_1S._rO;var _oV=_bO._sO*_iV;
var _pV=_bO._tO*_jV;var x=yyGetReal(_MU);var y=yyGetReal(_1V);x-=_mV;y-=_nV;if(x<0)return -1;if(y<0)return -1;if(x>=_oV)return -1;if(y>_pV)return -1;var _qV=Math.floor(x*_kV);var _rV=Math.floor(y*_lV);_qV=_L5(0,_M5(_qV,_bO._sO));_rV=_L5(0,_M5(_rV,_bO._tO));var index=_rV*_bO._sO+_qV;return _bO._fO[index];}return -1;};function tilemap_get_cell_x_at_pixel(_tg,_MU,_1V){var room=_7t._8t();var _u3=_7t._pS(room,yyGetInt32(_tg));if(_u3==null){return -1;}var _bO=_u3._wc;var _1S=_u3.layer;if((_bO!=null)&&(_bO._dO===_eO)){var _bq=_cq._4r(_bO._gO);
var _iV=_bq.tilewidth;var _jV=_bq.tileheight;var _kV=1/_iV;var _lV=1/_jV;var _mV=_bO._oO+_1S._pO;var _nV=_bO._qO+_1S._rO;var _oV=_bO._sO*_iV;var _pV=_bO._tO*_jV;var x=yyGetReal(_MU);var y=yyGetReal(_1V);x-=_mV;y-=_nV;if(x<0)return -1;if(y<0)return -1;if(x>=_oV)return -1;if(y>_pV)return -1;return(Math.floor(x*_kV));}return -1;};function tilemap_get_cell_y_at_pixel(_tg,_MU,_1V){var room=_7t._8t();var _u3=_7t._pS(room,yyGetInt32(_tg));if(_u3==null){return -1;}var _bO=_u3._wc;var _1S=_u3.layer;if((_bO!=null)&&(_bO._dO===_eO)){
var _bq=_cq._4r(_bO._gO);var _iV=_bq.tilewidth;var _jV=_bq.tileheight;var _kV=1/_iV;var _lV=1/_jV;var _mV=_bO._oO+_1S._pO;var _nV=_bO._qO+_1S._rO;var _oV=_bO._sO*_iV;var _pV=_bO._tO*_jV;var x=yyGetReal(_MU);var y=yyGetReal(_1V);x-=_mV;y-=_nV;if(x<0)return -1;if(y<0)return -1;if(x>=_oV)return -1;if(y>_pV)return -1;return(Math.floor(y*_lV));}return -1;};function tilemap_clear(_tg,_MU){var room=_7t._8t();var _u3=_7t._pS(room,yyGetInt32(_tg));if(_u3==null){return;}var _bO=_u3._wc;var _1S=_u3.layer;if((_bO!=null)&&(_bO._dO===_eO)&&(_1S!=null)){
var _ZN=yyGetInt32(_MU);var index=0;for(var i=0;i<_bO._sO;i++){for(var _35=0;_35<_bO._tO;_35++,index++){_bO._fO[index]=_ZN;}}}};function tilemap_set_global_mask(_tg){_7t._ZR(yyGetInt32(_tg));};function tilemap_get_global_mask(){return _7t._xO();};function tilemap_get_mask(_tg){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){return _bO._yO;}return -1;};function tilemap_get_frame(_tg){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){return _bO._DO;}return -1;};function tilemap_set_mask(_tg,_MU){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){
_bO._yO=yyGetInt32(_MU);}};function draw_tilemap(_4m,_tg,_MU,_1V){var _bO=_cV(yyGetInt32(_tg));if(_bO!=null){var room=_7t._8t();var x=yyGetReal(_MU);var y=yyGetReal(_1V);var depth=_xV(_4m);room._yV(_RL,null,_bO,x,y,depth);}};function tile_set_empty(_tg){var _hV=yyGetInt32(_tg);_hV&=(~_vQ);return _hV;};function tile_set_index(_tg,_MU){var _hV=yyGetInt32(_tg);var _zV=yyGetInt32(_MU);_hV&=(~_vQ);_hV|=_zV<<_AO;return _hV;};function tile_set_flip(_tg,_MU){var _AV=yyGetBool(_MU);var _hV=yyGetInt32(_tg);if(_AV)_hV|=_2O;
else _hV&=(~_2O);return _hV;};function tile_set_mirror(_tg,_MU){var _AV=yyGetBool(_MU);var _hV=yyGetInt32(_tg);if(_AV)_hV|=_0O;else _hV&=(~_0O);return _hV;};function tile_set_rotate(_tg,_MU){var _AV=yyGetBool(_MU);var _hV=yyGetInt32(_tg);if(_AV)_hV|=_sQ;else _hV&=(~_sQ);return _hV;};function tile_get_empty(_tg){return(yyGetInt32(_tg)&_vQ)?0.0:1.0;};function tile_get_index(_tg){var _hV=yyGetInt32(_tg);var index=(_hV&_vQ)>>_AO;return index;};function tile_get_flip(_tg){var _hV=yyGetInt32(_tg);return((_hV&_2O)?true:false);
};function tile_get_mirror(_tg){var _hV=yyGetInt32(_tg);return((_hV&_0O)?true:false);};function tile_get_rotate(_tg){var _hV=yyGetInt32(_tg);return((_hV&_sQ)?true:false);};function _BV(_tj,_Gp){if(_Gp!=undefined){var _8k=Object.getOwnPropertyNames(_Gp);_8k=_8k.filter(_yd=>!_yd.startsWith("__"));for(var i=0;i<_8k.length;i++){var prop=_8k[i];_CV=g_instance_names[prop];var _14=_Gp[prop];if((typeof _14=='function')&&_14._DV&&_14._Fj&&(_14._Fj==_Gp)){_14=method(_tj,_14);}if(_CV==undefined){_tj[prop]=_14;}else if(_CV[1]){
if(_CV[3]!=null){var _IC=undefined;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_CV[3]]!=undefined)){_IC=_tj[g_var2obf[_CV[3]]];}else {_IC=_tj[_CV[3]];}if(typeof _IC=='function'){_IC.call(_tj,_14);}}else {_tj[prop]=_14;}}}}}function instance_create_depth(_u4,_v4,_Ek,_EV,_FV){if(_7t._8t()!=_x2)return -1;if(_Ek==undefined)_Ek=0;_EV=yyGetInt32(_EV);var _RE=_m2._I4(_EV);if(!_RE){_L3("Error: Trying to create an instance using non-existent object type ("+_EV+")");return _Os;}var _4m=_x2._GV(yyGetReal(_u4),yyGetReal(_v4),
yyGetInt32(_Ek),_EV);if(_4m!=null){_4m._R4(_6m,0,_4m,_4m);_BV(_4m,_FV);_4m._R4(_7m,0,_4m,_4m);return _Ss(_Ts,_4m.id);}return _Os;};function instance_create_layer(_u4,_v4,__U,_Ej,_FV){if(_7t._8t()!=_x2)return -1;_Ej=yyGetInt32(_Ej);var _RE=_m2._I4(_Ej);if(!_RE){_L3("Error: Trying to create an instance using non-existent object type ("+_Ej+")");return _Os;}var layer=-1;if(typeof(__U)=="string")layer=_7t._PP(_x2,yyGetString(__U));else layer=_7t._QP(_x2,yyGetInt32(__U));if(layer!=null&&layer!=-1){var _5t=_x2._HV(yyGetReal(_u4),
yyGetReal(_v4),layer,_Ej);_5t._R4(_6m,0,_5t,_5t);_BV(_5t,_FV);_5t._R4(_7m,0,_5t,_5t);return _Ss(_Ts,_5t.id);}else {_L3("Error: Trying to create an instance on a non-existant layer");}return _Os;};function layer_get_all(){var room=_7t._8t();var _o5=[];if(room==null){return _o5;}var _MT=0;for(var i=0;i<room._kS.length;i++){var layer=room._kS._I4(i);if(layer!=null){if(layer._FQ==false){_o5[_MT++]=layer._rd;}}}return _o5;};function layer_get_all_elements(__U){var room=_7t._8t();var layer=_IU(room,__U);var _o5=[];var _IV=0;
if(layer!=null){for(var i=0;i<layer._RP.length;i++){var _bO=layer._RP._I4(i);if(_bO!=null){_o5[_IV++]=_bO._rd;}}}return _o5;};function layer_get_name(__U){var layer=_KU(__U);if(layer!=null){if(layer._GQ==null){return "";}else {return layer._GQ.slice(0);}}return "";};function layer_depth(__U,_Ek){var room=_7t._8t();var layer=_IU(room,__U);if(layer!=null){_Ek=yyGetInt32(_Ek);if(layer.depth==_Ek){return;}_7t._sT(room,layer,_Ek,false);}};function layer_get_element_layer(_jS){var room=_7t._8t();var _oS=_7t._pS(room,
yyGetInt32(_jS));if(_oS!=null){return _oS.layer._rd;}return -1;};function layer_get_element_type(_jS){var room=_7t._8t();if(room==null){return -1;}var _bO=_7t._at(room,yyGetInt32(_jS));if(_bO!=null){return _bO._dO;}return -1;};function layer_element_move(_jS,_JV){var room=_7t._8t();var _oS=_7t._pS(room,yyGetInt32(_jS));if(_oS==null){return -1;}var _KV=_7t._QP(room,yyGetInt32(_JV));if(_KV!=null){_7t._mS(room,_oS._wc,_KV);}};function layer_force_draw_depth(_VR,_Ek){_7t._UR(yyGetBool(_VR));_7t._WR(yyGetInt32(_Ek));
};function layer_is_draw_depth_forced(){return _7t._XR()?true:false;};function layer_get_forced_depth(){return _7t._YR();};function _LV(_MV){var room=_7t._8t();var _bO=_7t._at(room,yyGetInt32(_MV));if((_bO!=null)&&(_bO._dO===_lQ))return _bO;return null;}function layer_tile_exists(__U,_hp){var room=_7t._8t();if(room==null){return 0;}if(arguments.length==1){var _bO=_7t._at(room,yyGetInt32(__U));if(_bO!=null){return 1;}}else {var layer=null;if(typeof(__U)=="string")layer=_7t._PP(room,yyGetString(__U));else layer=_7t._QP(room,
yyGetInt32(__U));if(layer!=null){var _bO=_7t._lS(layer,yyGetInt32(_hp));if(_bO!=null){return 1;}}}return 0;};function layer_tile_create(__U,_u4,_v4,_NV,_Mr,_Nr,_q7,_r7){var room=_7t._8t();var layer=layer=_IU(room,__U);if(layer!=null){var _OV=new _sR();_OV._7F=yyGetInt32(_NV);_OV._oO=yyGetReal(_u4);_OV._qO=yyGetReal(_v4);_OV._vR=yyGetInt32(_Mr);_OV._wR=yyGetInt32(_Nr);_OV._tR=yyGetInt32(_q7);_OV._uR=yyGetInt32(_r7);_OV._EQ=true;_7t._LS(room,layer,_OV,room==_x2?true:false);return _OV._rd;}};function layer_tile_destroy(_jS){
var room=_7t._8t();_7t._iS(room,yyGetInt32(_jS));return -1;};function layer_tile_change(_MV,_OT){var _bO=_LV(_MV);if(_bO!=null){_bO._7F=yyGetInt32(_OT);}};function layer_tile_xscale(_MV,scale){var _bO=_LV(_MV);if(_bO!=null){_bO._dR=yyGetReal(scale);}};function layer_tile_yscale(_MV,scale){var _bO=_LV(_MV);if(_bO!=null){_bO._eR=yyGetReal(scale);}};function layer_tile_blend(_MV,_q3){var _bO=_LV(_MV);if(_bO!=null){_bO._gR=yyGetInt32(_q3);}};function layer_tile_alpha(_MV,alpha){var _bO=_LV(_MV);if(_bO!=null){_bO._hR=yyGetReal(alpha);
}};function layer_tile_x(_MV,x){var _bO=_LV(_MV);if(_bO!=null){_bO._oO=yyGetReal(x);}};function layer_tile_y(_MV,y){var _bO=_LV(_MV);if(_bO!=null){_bO._qO=yyGetReal(y);}};function layer_tile_region(_MV,left,top,width,height){var _bO=_LV(_MV);if(_bO!=null){_bO._vR=yyGetInt32(left);_bO._wR=yyGetInt32(top);_bO._tR=yyGetInt32(width);_bO._uR=yyGetInt32(height);}};function layer_tile_visible(_MV,visible){var _bO=_LV(_MV);if(_bO!=null){_bO._EQ=yyGetBool(visible);}};function layer_tile_get_sprite(_MV){var _bO=_LV(_MV);
if(_bO!=null){return _bO._7F;}return -1;};function layer_tile_get_xscale(_MV){var _bO=_LV(_MV);if(_bO!=null){return _bO._dR;}return 1;};function layer_tile_get_yscale(_MV){var _bO=_LV(_MV);if(_bO!=null){return _bO._eR;}return 1;};function layer_tile_get_blend(_MV){var _bO=_LV(_MV);if(_bO!=null){return _bO._gR;}return 0;};function layer_tile_get_alpha(_MV){var _bO=_LV(_MV);if(_bO!=null){return _bO._hR;}return 0;};function layer_tile_get_x(_MV){var _bO=_LV(_MV);if(_bO!=null){return _bO._oO;}return 0;};function layer_tile_get_y(_MV){
var _bO=_LV(_MV);if(_bO!=null){return _bO._qO;}return 0;};function layer_tile_get_region(_MV){var _bO=_LV(_MV);if(_bO!=null){var _o5=[];_o5[0]=_bO._vR;_o5[1]=_bO._wR;_o5[2]=_bO._tR;_o5[3]=_bO._uR;return _o5;}return -1;};function layer_tile_get_visible(_MV){var _bO=_LV(_MV);if(_bO!=null){return _bO._EQ;}return false;};function _PV(_QV){var room=_7t._8t();var _bO=_7t._at(room,_QV);if(_bO!=null&&_bO._dO==_mQ){return _bO;}return null;};function layer_sequence_get_instance(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO==null){
return -1;}var _4m=_DS._cT(_bO._kR);return _4m!=null?_4m:-1;};function layer_sequence_create(_gV,_RV,_SV,_TV){_TV=yyGetInt32(_TV);var room=_7t._8t();var layer=null;if(typeof(_gV)=="string"){layer=_7t._PP(room,yyGetString(_gV));}else {layer=_7t._QP(room,yyGetInt32(_gV));}if(layer==null){return -1;}var sequence=_DS._UV(_TV);if(sequence==null){return -1;}var _VV=new _iR();_VV._jR=_TV;_VV._lR=0;_VV._WV=-1;_VV._mR=1;_VV._nR=1;_VV._oO=_RV;_VV._qO=_SV;_VV._Z1=0;_VV._Qq=sequence.name;_7t._LS(room,layer,_VV,room==_x2?true:false);
return _VV._rd;}function layer_sequence_destroy(_QV){var room=_7t._8t();var _bO=_PV(yyGetInt32(_QV));if(_bO==null){return -1;}var _4m=_DS._cT(_bO._kR);if(_4m!=null){_DS._HS(_4m,_tP);}_7t._iS(room,yyGetInt32(_QV));}function layer_sequence_exists(_tg,_MU){var layer=_KU(_tg);var _bO=_7t._lS(layer,yyGetInt32(_MU));if((_bO!=null)&&(_bO._dO===_mQ))if(_bO!=null){return true;}return false;};function layer_sequence_x(_QV,_XV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){_bO._oO=yyGetReal(_XV);
_bO._oR|=(1<<_ZV);}}return -1;};function layer_sequence_y(_QV,__V){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){_bO._qO=yyGetReal(__V);_bO._oR|=(1<<_ZV);}}return -1;};function layer_sequence_angle(_QV,angle){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){_bO._Z1=yyGetReal(angle);_bO._oR|=(1<<_0W);}}return -1;};function layer_sequence_xscale(_QV,_xQ){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){_bO._mR=yyGetReal(_xQ);
_bO._oR|=(1<<_1W);}}return -1;};function layer_sequence_yscale(_QV,_yQ){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){_bO._nR=yyGetReal(_yQ);_bO._oR|=(1<<_1W);}}return -1;};function layer_sequence_headpos(_QV,position){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){var _2W=_DS._UV(_YV._jR);var _3W=yyGetReal(position);_3W=_L5(_3W,0.0);if(_2W!=null){var length=_2W._YT;_3W=_M5(_3W,length);}if((_YV._lR!=_3W)||(_YV._4W!=_3W)){_YV._lR=_3W;_YV._4W=_3W;
_bO._oR|=(1<<_5W);}}}return -1;};function layer_sequence_headdir(_QV,direction){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){direction=yyGetReal(direction);if(direction!=0){_YV._6W=Math.sign(direction);}}}return -1;};function layer_sequence_pause(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){_YV._pJ();}}return -1;};function layer_sequence_play(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){_YV._7W();
if(_YV._8W){if(_YV._6W<0.0){var _2W=_DS._UV(_YV._jR);if(_2W!=null){_YV._lR=_YV._4W=(_2W._YT-1);}}else {_YV._lR=_YV._4W=0.0;}_YV._8W=false;}}}return -1;};function layer_sequence_speedscale(_QV,_9W){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){_9W=yyGetReal(_9W);_YV._FS=_9W;}}return -1;};function layer_sequence_get_x(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){return _bO._oO;}return -1;};function layer_sequence_get_y(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){return _bO._qO;
}return -1;};function layer_sequence_get_angle(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){return _bO._Z1;}return -1;};function layer_sequence_get_xscale(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){return _bO._mR;}return -1;};function layer_sequence_get_yscale(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){return _bO._nR;}return -1;};function layer_sequence_get_headpos(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){return _YV._lR;}}return -1;};function layer_sequence_get_headdir(_QV){
var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){return _YV._6W;}}return -1;};function layer_sequence_get_sequence(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){var _2W=_DS._UV(_YV._jR);if(_2W!=null){return _2W;}}}return -1;};function layer_sequence_is_paused(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){return _YV._lJ;}}return -1;};function layer_sequence_is_finished(_QV){var _bO=_PV(yyGetInt32(_QV));
if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){return _YV._8W;}}return -1;};function layer_sequence_get_speedscale(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){return _YV._FS;}}return -1;};function layer_sequence_get_length(_QV){var _bO=_PV(yyGetInt32(_QV));if(_bO!=null){var _YV=_DS._cT(_bO._kR);if(_YV!=null){var _2W=_DS._UV(_YV._jR);if(_2W!=null){return _2W._YT;}}}return -1;};function sequence_instance_exists(_aW){var room=_7t._8t();if(room!=null){for(var _bW=0;_bW<room._cW.length;
++_bW){var _dW=room._cW[_bW];var _eW=_7t._at(room,_dW);if(_aW==_eW._jR){return true;}}}return false;};function fx_create(_fW){if(arguments.length!=1){_L3("fx_create() - wrong number of arguments");return -1;}var _gW=_hW._iW(yyGetString(_fW),false);return _gW._jW();}function fx_get_name(_RQ){if(arguments.length!=1){_L3("fx_get_name() - wrong number of arguments");return -1;}if(_hW._kW(_RQ)==false){_L3("fx_get_name() - parameter should be an FX object");return -1;}return _RQ.instance._7U.pName;}function fx_get_parameter_names(_RQ){
if(arguments.length!=1){_L3("fx_get_parameter_names() - wrong number of arguments");return -1;}if(_hW._kW(_RQ)==false){_L3("fx_get_parameter_names() - parameter should be an FX object");return -1;}return _RQ.instance._lW();}function fx_get_parameter(_RQ,_R2){if(arguments.length!=2){_L3("fx_get_parameter() - wrong number of arguments");return -1;}if(_hW._kW(_RQ)==false){_L3("fx_get_parameter() - first parameter should be an FX object");return -1;}return _RQ.instance._mW(_R2);}function fx_get_parameters(_RQ){
if(arguments.length!=1){_L3("fx_get_parameters() - wrong number of arguments");return -1;}if(_hW._kW(_RQ)==false){_L3("fx_get_parameters() - parameter should be an FX object");return -1;}return _RQ.instance._nW();}function fx_get_single_layer(_RQ){if(arguments.length!=1){_L3("fx_get_single_layer() - wrong number of arguments");return -1;}if(_hW._kW(_RQ)==false){_L3("fx_get_single_layer() - parameter should be an FX object");return -1;}if((_RQ.instance==null)||(_RQ.instance._oW==null)){_L3("fx_get_single_layer() - FX object is corrupted");
return -1;}var _pW=_qW;if(_RQ.instance._7U.type==_rW){var _pW="gml"+_qW;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_qW]!=undefined)){_pW=g_var2obf[_qW];}}return _RQ.instance._oW[_pW]==1?true:false;}function fx_set_parameter(_RQ,_R2,_F2){if(arguments.length<3){_L3("fx_set_parameter() - wrong number of arguments");return -1;}if(_hW._kW(_RQ)==false){_L3("fx_set_parameter() - first parameter should be an FX object");return -1;}if(arguments.length==3){_RQ.instance._sW(_R2,_F2);}else {var _o5=arguments.slice(2);
_RQ.instance._sW(_R2,_o5);}}function fx_set_parameters(_RQ,_tW){if(arguments.length!=2){_L3("fx_set_parameters() - wrong number of arguments");return -1;}if(_hW._kW(_RQ)==false){_L3("fx_set_parameters() - first parameter should be an FX object");return -1;}if(typeof _tW!=="object"){_L3("fx_set_parameters() - second parameter should be a parameter struct");}_RQ.instance._uW(_tW);}function fx_set_single_layer(_RQ,_F2){if(arguments.length<2){_L3("fx_set_single_layer() - wrong number of arguments");return -1;
}if(_hW._kW(_RQ)==false){_L3("fx_set_single_layer() - first parameter should be an FX object");return -1;}if((_RQ.instance==null)||(_RQ.instance._oW==null)){_L3("fx_set_single_layer() - FX object is corrupted");return -1;}_RQ.instance._vW(_qW,_wW,1,[yyGetBool(_F2)]);}function layer_set_fx(_xW,_RQ){if(arguments.length!=2){_L3("layer_set_fx() - wrong number of arguments");return -1;}if(_hW._kW(_RQ)==false){_L3("layer_set_fx() - second parameter should be an FX object");return -1;}var _6t=_7t._8t();var _aO=_IU(_6t,
_xW);if(_aO==null){return -1;}_aO._QQ(_RQ);_6t._yW(_aO._rd);}function layer_get_fx(_xW){if(arguments.length!=1){_L3("layer_get_fx() - wrong number of arguments");return -1;}var _6t=_7t._8t();var _aO=_IU(_6t,_xW);if(_aO==null){return -1;}var _zW=_aO._TQ();if(_zW!==null){return _zW;}return -1;}function layer_clear_fx(_xW){if(arguments.length!=1){_L3("layer_get_fx() - wrong number of arguments");return -1;}var _6t=_7t._8t();var _aO=_IU(_6t,_xW);if(_aO==null){return -1;}_aO._SQ();_6t._AW(_aO._rd);}function layer_enable_fx(_xW,
_Ry){if(arguments.length!=2){_L3("layer_enable_fx() - wrong number of arguments");return -1;}var _6t=_7t._8t();var _aO=_IU(_6t,_xW);if(_aO==null){return -1;}_aO._MQ=_Ry;}function layer_fx_is_enabled(_xW){if(arguments.length!=1){_L3("layer_fx_is_enabled() - wrong number of arguments");return 1;}var _6t=_7t._8t();var _aO=_IU(_6t,_xW);if(_aO==null){return true;}return _aO._MQ;}var _BW=0x7fff;var g_GMLMathEpsilon=1e-5;function floor(_F2){return Math.floor(yyGetReal(_F2));}function _CW(_DW){_DW=yyGetReal(_DW);var i=Math.sign(_DW)*Math.floor(Math.abs(_DW));
if(_DW<0){var _IC=_DW-i;if((i&1)==1){if(_IC<=-0.5){return i-1;}else {return i;}}else {if(_IC>=-0.5){return i;}else {return i-1;}}}else {var _IC=_DW-i;if((i&1)==1){if(_IC>=0.5){return i+1;}else {return i;}}else {if(_IC<=0.5){return i;}else {return i+1;}}}}function _EW(_DW){return ~~_DW;}var round=_CW;var _0k=_CW;function abs(_DW){return Math.abs(yyGetReal(_DW));}function cos(_DW){return Math.cos(yyGetReal(_DW));}function dcos(_DW){return cos(yyGetReal(_DW)*0.0174532925);}function sin(_DW){return Math.sin(yyGetReal(_DW));}function dsin(_DW){
return sin(yyGetReal(_DW)*0.0174532925);}function tan(_DW){return Math.tan(yyGetReal(_DW));}function dtan(_DW){return tan(yyGetReal(_DW)*0.0174532925);}function lengthdir_x(_FW,_ul){var _14=(yyGetReal(_FW)*Math.cos(yyGetReal(_ul)*_P5/180.0));var _GW=Math.round(_14);var frac=_14-_GW;if(Math.abs(frac)<0.0001)return _GW;return _14;}function lengthdir_y(_FW,_ul){var _14=-(yyGetReal(_FW)*Math.sin(yyGetReal(_ul)*_P5/180.0));var _GW=Math.round(_14);var frac=_14-_GW;if(Math.abs(frac)<0.0001)return _GW;return _14;}function point_direction(__5,
_06,_s5,_t5){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);var x=_s5-__5;var y=_t5-_06;if(x===0){if(y>0)return 270.0;else if(y<0)return 90.0;else return 0.0;}else {var _6L=180.0*Math.atan2(y,x)/_P5;_6L=(~~round(_6L*1000000))/1000000.0;if(_6L<=0.0){return -_6L;}else {return(360.0-_6L);}}}function _HW(__5,_06,_s5,_t5){return point_direction(__5,_06,_s5,_t5);}function point_distance(__5,_06,_s5,_t5){var _ha=yyGetReal(_s5)-yyGetReal(__5);var _ia=yyGetReal(_t5)-yyGetReal(_06);return Math.sqrt(_ha*_ha+_ia*_ia);
}function point_distance_3d(__5,_06,_IW,_s5,_t5,_JW){return Math.sqrt(_oz(yyGetReal(_s5)-yyGetReal(__5))+_oz(yyGetReal(_t5)-yyGetReal(_06))+_oz(yyGetReal(_JW)-yyGetReal(_IW)));}function _M5(_DW,_6K){if(_DW<_6K)return _DW;else return _6K;}function _L5(_DW,_6K){if(_DW>_6K)return _DW;else return _6K;}function max(){var _Mj=arguments;var _Nj=arguments.length;if(_Nj==0)return 0;var _z5=yyGetReal(_Mj[0]);for(var i=1;i<_Nj;i++){var _KW=yyGetReal(_Mj[i]);if(_z5<_KW)_z5=_KW;}return _z5;}function _LW(_DW,_6K,_MW){return max(_DW,
_6K,_MW);}function min(){var _Mj=arguments;var _Nj=arguments.length;if(_Nj==0)return 0;var _z5=yyGetReal(_Mj[0]);for(var i=1;i<_Nj;i++){var _KW=yyGetReal(_Mj[i]);if(_z5>_KW)_z5=_KW;}return _z5;}function _NW(_DW,_6K,_MW){return min(_DW,_6K,_MW);}var state=[];var _OW=0;var _PW=_QW(0);var _RW=0xDA442D24;function _QW(_SW){var _rh=_SW;for(var i=0;i<16;i++){_rh=(((_rh*214013+2531011)>>16)&0x7fffffff)|0;state[i]=~~_rh;}_OW=0;_PW=_SW;return _PW;}function _TW(_UW){if(_UW)_RW=0xDA442D20;else _RW=0xDA442D24;}function _VW(){var _l3,
_k3,c,_Fl;_l3=state[_OW];c=state[(_OW+13)&15];_k3=_l3^c^(_l3<<16)^(c<<15);c=state[(_OW+9)&15];c^=(c>>11);_l3=state[_OW]=_k3^c;_Fl=_l3^((_l3<<5)&_RW);_OW=(_OW+15)&15;_l3=state[_OW];state[_OW]=_l3^_k3^_Fl^(_l3<<2)^(_k3<<18)^(c<<28);return((state[_OW]&0x7fffffff)/2147483647.0);}function random(_Wb){var _i3=_VW();return _i3*yyGetReal(_Wb);}function irandom(_Wb){_Wb=yyGetInt32(_Wb);var sign=_Wb<0?-1:1;var _i3=_VW()*(_Wb+sign);_VW();return ~~_i3;}function random_range(_WW,_ip){_WW=yyGetReal(_WW);_ip=yyGetReal(_ip);
if(_WW==_ip){return _WW;}var _XW,_YW;if(_WW>_ip){_XW=_ip;_YW=_WW;}else {_XW=_WW;_YW=_ip;}var _ZW=_VW();var result=_XW+(_ZW*(_YW-_XW));_VW();return result;}function random_set_seed(_F2){_QW(yyGetInt32(_F2));}function randomize(){var _Fl=new Date();var _N5=_Fl.getMilliseconds();_N5=(_N5&0xffffffff)^((_N5>>16)&0xffff)^((_N5<<16)&0xffff0000);return _QW(_N5);}var randomise=randomize;function irandom_range(_WW,_ip){_WW=yyGetInt32(_WW);_ip=yyGetInt32(_ip);var _XW,_YW;if(_WW>_ip){_XW=_ip;_YW=_WW;}else {_XW=_WW;_YW=_ip;
}var _A5=_XW|0;var _C5=_YW|0;var result=_A5+~~random(_C5-_A5+1);return result;}function random_get_seed(){return _PW;}function choose(){var _Mj=arguments;var _Nj=arguments.length;if(_Nj==0)return 0;var index=Math.floor(random(_Nj));return _Mj[index];}function sign(_u4){_u4=yyGetReal(_u4);if(_u4==0)return 0;if(_u4<0)return -1;return 1;}function ceil(_u4){return Math.ceil(yyGetReal(_u4));}function frac(_u4){_u4=yyGetReal(_u4);return _u4-~~_u4;}function sqrt(_u4){_u4=yyGetReal(_u4);if(_u4>=0)return Math.sqrt(_u4);else _L3("Cannot apply sqrt to negative number.");
}function sqr(_u4){_u4=yyGetReal(_u4);return _u4*_u4;}function power(_u4,_PN){return Math.pow(yyGetReal(_u4),yyGetReal(_PN));}function exp(_u4){return Math.exp(yyGetReal(_u4));}function ln(_u4){return Math.log(yyGetReal(_u4));}function log2(_u4){return Math.log(yyGetReal(_u4))/Math.LN2;}function log10(_u4){return Math.log(yyGetReal(_u4))/Math.LN10;}function logn(_PN,_u4){return Math.log(yyGetReal(_u4))/Math.log(yyGetReal(_PN));}function arcsin(_F2){var _yd=yyGetReal(_F2);if(__W(_yd,-1.0)){_yd=-1.0;}else if(__W(_yd,
1.0)){_yd=1.0;}if(_yd<-1.0||_yd>1.0){_L3("Value "+_yd+" is not within valid range [-1.0, 1.0]: arcsin()");}return Math.asin(_yd);}function darcsin(_u4){return arcsin(_u4)*57.2957795;}function arccos(_F2){var _yd=yyGetReal(_F2);if(__W(_yd,-1.0)){_yd=-1.0;}else if(__W(_yd,1.0)){_yd=1.0;}if(_yd<-1.0||_yd>1.0){_L3("Value "+_yd+" is not within valid range [-1.0, 1.0]: arccos()");}return Math.acos(_yd);}function darccos(_u4){return arccos(_u4)*57.2957795;}function arctan(_F2){return Math.atan(yyGetReal(_F2));}function darctan(_u4){
return Math.atan(yyGetReal(_u4))*57.2957795;}function arctan2(_v4,_u4){return Math.atan2(yyGetReal(_v4),yyGetReal(_u4));}function darctan2(_v4,_u4){return arctan2(_v4,_u4)*57.2957795;}function degtorad(_u4){return yyGetReal(_u4)*0.0174532925;}function radtodeg(_u4){return yyGetReal(_u4)*57.2957795;}function mean(){var _Mj=mean.arguments;var _Nj=mean.arguments.length;if(_Nj==0)return 0;var _z5=yyGetReal(_Mj[0]);for(var i=1;i<_Nj;i++){_z5+=yyGetReal(_Mj[i]);}return(_z5/_Nj);}function median(){var _Mj=median.arguments;
var _Nj=median.arguments.length;if(_Nj==0)return 0;var _o5=[];for(var i=0;i<_Nj;i++){_o5[i]=yyGetReal(_Mj[i]);}_o5.sort(function(_l3,_k3){return _l3-_k3;});return _o5[~~(_Nj/2)];}function dot_product(__5,_06,_s5,_t5){return(yyGetReal(__5)*yyGetReal(_s5)+yyGetReal(_06)*yyGetReal(_t5));}function dot_product_3d(__5,_06,_IW,_s5,_t5,_JW){return(yyGetReal(__5)*yyGetReal(_s5)+yyGetReal(_06)*yyGetReal(_t5)+yyGetReal(_IW)*yyGetReal(_JW));}function math_set_epsilon(_0X){var _14=yyGetReal(_0X);if((_14>=0)&&(_14<1)){
if(_14==0)_14=0.00000000001;g_GMLMathEpsilon=_14;}}function math_get_epsilon(){return g_GMLMathEpsilon;}function dot_product_normalised(__5,_06,_s5,_t5){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);var _1X=Math.sqrt(__5*__5+_06*_06);var _2X=Math.sqrt(_s5*_s5+_t5*_t5);return(__5*_s5+_06*_t5)/(_1X*_2X);}var dot_product_normalized=dot_product_normalised;function dot_product_3d_normalised(__5,_06,_IW,_s5,_t5,_JW){__5=yyGetReal(__5);_06=yyGetReal(_06);_IW=yyGetReal(_IW);_s5=yyGetReal(_s5);
_t5=yyGetReal(_t5);_JW=yyGetReal(_JW);var _1X=Math.sqrt(__5*__5+_06*_06+_IW*_IW);var _2X=Math.sqrt(_s5*_s5+_t5*_t5+_JW*_JW);return(__5*_s5+_06*_t5+_IW*_JW)/(_1X*_2X);}var dot_product_3d_normalized=dot_product_3d_normalised;function is_real(_u4){if(typeof(_u4)=="number")return true;else return false;}function is_numeric(_u4){var _u3=false;switch(typeof(_u4)){case "number":case "boolean":_u3=true;break;case "object":if(_u4 instanceof Long){_u3=true;}break;}return _u3;}function is_bool(_u4){if(typeof(_u4)=="boolean")return true;
else return false;}function is_undefined(_u4){if(typeof(_u4)=="undefined")return true;else return false;}function is_int32(_u4){if((typeof(_u4)==="number")&&(~~_u4===_u4))return true;else return false;}function is_int64(_u4){if(_u4 instanceof Long)return true;else return false;}function is_ptr(_u4){return(typeof(_u4)=="object"&&(_u4 instanceof ArrayBuffer))?true:false;}function is_struct(_u4){return((typeof _u4==="object")&&(_u4.__yyIsGMLObject))?true:false;}function is_nan(_u4){try{if(is_ptr(_u4))return false;if(is_struct(_u4))return true;
if(is_method(_u4))return true;value=yyGetReal(_u4);return Number.isNaN(value);}catch{return true;}}function is_infinity(_u4){try{_u4=yyGetReal(_u4);return !Number.isFinite(_u4)&&!Number.isNaN(_u4);}catch{return false;}}function static_get(_rh){var _u3=undefined;switch(typeof(_rh)){case "number":var _3X=yyGetInt32(_rh);if(_3X>=100000){_4X=JSON_game.Scripts[_3X-100000];_u3=_4X.prototype;_u3.__yyIsGMLObject=true;}break;case "function":_u3=_rh.prototype;_u3.__yyIsGMLObject=true;break;case "object":_u3=Object.getPrototypeOf(_rh);
if(_rh.__yyIsGMLObject)_u3.__yyIsGMLObject=true;break;}return _u3;}function static_set(_Fl,_rh){if((typeof(_rh)=="object")&&(typeof(_Fl)=="object")){Object.setPrototypeOf(_Fl,_rh);}}function YYIsInstanceof(_u4,_Wb){var _u3=false;if((typeof(_u4)=="object")&&(_u4.__yyIsGMLObject===true)){var _4X=undefined;var _3X=yyGetInt32(_Wb);if(_3X>=100000)_4X=JSON_game.Scripts[_3X-100000];if(_4X){var c=Object.getPrototypeOf(_u4);var _5X=_4X.prototype;while(c&&!_u3){if(c===_5X){_u3=true;break;}c=Object.getPrototypeOf(c);
}}}return _u3;}function YYInstanceof(_u4){var type=typeof(_u4);var _u3=undefined;switch(type){case "function":_u3="function";break;case "object":if(_u4 instanceof Function)_u3="function";else if(_u4.__type==="[instance]"){_u3="instance";}else if(_u4.__type==="[weakref]"){_u3="weakref";}else if(_u4.__type!==undefined){_u3=_u4.__type;if(_u3.startsWith("gml_Script_")){_u3=_u3.substring(11);}if(_u3.startsWith("___struct___")){_u3="struct";}}break;default :break;}return _u3;}function YYTypeof(_u4){var _u3=typeof(_u4);
switch(_u3){case "boolean":return "bool";case "function":return "method";case "object":return(_u4 instanceof Array)?"array":(_u4 instanceof ArrayBuffer)?"ptr":(_u4 instanceof Long)?"int64":"struct";default :return _u3;}}function int64(_u4){if(_u4==undefined){_L3("int64() argument is undefined");}else if(_u4==null){_L3("int64() argument is unset");}else if(_u4 instanceof Array){_L3("int64() argument is array");}if((_u4) instanceof Long){return _u4;}switch(typeof(_u4)){case "boolean":return Long._6X(_u4?1:0,false);break;
default :return Long._6X(_u4,false);break;}}function ptr(_u4){if(_u4 instanceof ArrayBuffer)return _u4;if(_u4 instanceof Array)_L3("ptr argument is an array");if(_u4===undefined)_L3("ptr argument is undefined");var _u3=new ArrayBuffer(8);var _Wy=new DataView(_u3);if(typeof _u4!=="string"){_Wy.setFloat64(0,yyGetReal(_u4));}return _u3;}function is_string(_u4){if(typeof(_u4)=="string")return 1;else return 0;}function is_array(_u4){if(_u4 instanceof Array)return 1;else return 0;}function array_length_1d(_u4){var _u3=undefined;
if(_u4 instanceof Array){_u3=_u4.length;}return _u3;}var array_length=array_length_1d;function array_length_2d(_u4,_0X){_0X=yyGetInt32(_0X);var _u3=0;if((_u4 instanceof Array)&&(_0X>=0)&&(_0X<_u4.length)){var _CC=_u4[_0X];if(_CC instanceof Array){_u3=_CC.length;}}return _u3;}function array_height_2d(_u4){var _u3=0;if((_u4 instanceof Array)){_u3=_u4.length;}return _u3;}function clamp(_Zm,_7X,_CG){_Zm=yyGetReal(_Zm);_7X=yyGetReal(_7X);_CG=yyGetReal(_CG);if(_Zm<_7X)_Zm=_7X;if(_Zm>_CG)_Zm=_CG;return _Zm;}function lerp(_8X,
_9X,_TC){_8X=yyGetReal(_8X);_9X=yyGetReal(_9X);return _8X+((_9X-_8X)*_TC);}function angle_difference(_si,_tj){_si=yyGetReal(_si);_tj=yyGetReal(_tj);return((((_si-_tj)%360.0)+540.0)%360.0)-180.0;}function __W(_8X,_9X){var _IC=_8X-_9X;return abs(_IC)<=g_GMLMathEpsilon;}var _aX=new RegExp('^'+'[-+]?'+'(?:[0-9]{0,30}\\.)?'+'[0-9]{1,30}'+'(?:[Ee][-+]?[1-2]?[0-9])?');function yyCompareVal(_8X,_9X,_ki,_bX){var _u3=undefined;_bX=(_bX==undefined)?true:_bX;if((typeof _8X=="number")&&(typeof _9X=="number")){var _IC=_8X-_9X;
if(Number.isNaN(_IC)){_IC=(_8X==_9X)?0:_IC;}_u3=abs(_IC)<=_ki?0:(_IC<0.0)?-1:1;}else if(typeof _8X=="string"&&typeof _9X=="string"){_u3=(_8X===_9X)?0:((_8X>_9X)?1:-1);}else if(_8X===undefined&&_9X===undefined){_u3=0;}else if(_8X instanceof ArrayBuffer&&_9X instanceof ArrayBuffer){_u3=_8X==_9X?0:1;}else if(_8X instanceof Array&&_9X instanceof Array){_u3=_8X.length-_9X.length;if(_u3==0){_u3=_8X===_9X?0:1;}}else if(_8X instanceof Long&&_9X instanceof Long){_u3=(_8X.sub(_9X))._cX();}else if((_8X===undefined&&_9X instanceof Array)||(_9X===undefined&&_8X instanceof Array)){
_u3=1;}else if(typeof _8X=="object"&&typeof _9X=="object"&&_8X.__yyIsGMLObject&&_9X.__yyIsGMLObject){_u3=_8X==_9X?0:1;}else if(typeof _8X=="object"&&typeof _9X=="object"){_u3=_8X==_9X?0:1;}else if(typeof _8X=="function"&&typeof _9X=="function"){_u3=_8X==_9X?0:1;}if(_u3===undefined){if(typeof _8X=="boolean"){_8X=_8X?1:0;}else if(typeof _8X=="string"){_8X=_8X.trim();var match=_8X.match(_aX);if(match!=null){_8X=Number(match);if(Number.isNaN(_8X))_u3=1;}else _u3=Number.NaN;}else if(_8X instanceof Long){_8X=_8X._cX();
}else if(_8X instanceof Array){_u3=1;if(_bX)_L3("illegal array use")}else if(_8X===undefined){_u3=-2;}if(typeof _9X=="boolean"){_9X=_9X?1:0;}else if(typeof _9X=="string"){_9X=_9X.trim();var match=_9X.match(_aX);if(match!=null){_9X=Number(match);if(Number.isNaN(_9X))_u3=1;}else _u3=Number.NaN;}else if(_9X instanceof Long){_9X=_9X._cX();}else if(_9X instanceof Array){if(_bX)_L3("illegal array use")}else if(_9X===undefined){_u3=-2;}if(_u3===undefined){if((typeof _8X=="number")&&(typeof _9X=="number")){var _IC=_8X-_9X;
if(Number.isNaN(_IC)){_IC=(_8X==_9X)?0:_IC;}_u3=abs(_IC)<=_ki?0:(_IC<0.0)?-1:1;}else {_u3=1;if(typeof _8X=="number"){_u3=-1;}}}}return _u3;}function yyfplus(_8X,_9X){if(_8X instanceof Long&&_9X instanceof Long){return _8X.add(_9X);}else if(_8X instanceof Long){_8X=_8X._cX();}else if(_9X instanceof Long){_9X=_9X._cX();}if((typeof _8X==="string")&&(typeof _9X==="string"))return _8X+_9X;if((typeof _8X==="string")&&(typeof _9X!=="string"))_L3("unable to add string to "+typeof _9X);return yyGetReal(_8X)+yyGetReal(_9X);}function yyfminus(_8X,
_9X){if(_8X instanceof Long&&_9X instanceof Long){return _8X.sub(_9X);}else if(_8X instanceof Long){_8X=_8X._cX();}else if(_9X instanceof Long){_9X=_9X._cX();}return yyGetReal(_8X)-yyGetReal(_9X);}function yyftime(_8X,_9X){if(_8X instanceof Long&&_9X instanceof Long){return _8X._dX(_9X);}else if(_8X instanceof Long){_8X=_8X._cX();}else if(_9X instanceof Long){_9X=_9X._cX();}if((typeof _8X==="number")&&(typeof _9X==="string")){var _u3="";for(var _x5=yyGetReal(_8X)-1;_x5>=0;--_x5){_u3+=_9X;}return _u3;}else return yyGetReal(_8X)*yyGetReal(_9X);
}function yyfdivide(_8X,_9X){if((typeof _8X==="number")&&(typeof _9X==="number")){return _8X/_9X;}else if(_8X instanceof Long&&_9X instanceof Long){return _8X._eE(_9X);}if(_8X instanceof Long){_8X=_8X._cX();}if(_9X instanceof Long){_9X=_9X._cX();}var _la=yyGetReal(_8X);var _34=yyGetReal(_9X);var _u3=_la/_34;return _u3;}function yyfmod(_8X,_9X){if((_8X instanceof Long)&&(_9X instanceof Long)){return _8X._eX(_9X);}if(_9X instanceof Long){_9X=_9X._cX();}if(_8X instanceof Long){_8X=_8X._cX();}var _34=yyGetReal(_9X);if(_34==0){_L3("unable to mod with zero");
}return yyGetReal(_8X)%_34;}function yyfdiv(_8X,_9X){if(_8X instanceof Long){return _8X._eE(_9X);}else if(_9X instanceof Long){_9X=_9X._cX();}if(_9X==0)_L3("divide by zero");var _la=yyGetReal(_8X);var _34=yyGetReal(_9X);var _fX=Number.isNaN(_la);var _gX=Number.isNaN(_34);if(_fX||_gX){if(_fX&&_gX)return 1;if(_fX){if(Number.isFinite(_34))return _la;else return 1;}if(_gX){if(Number.isFinite(_la))return _34;else return 1;}}if(_la===_34)return 1;return ~~(~~_la/~~_34);}function yyfnotequal(_8X,_9X){var _u3=yyCompareVal(_8X,
_9X,g_GMLMathEpsilon,false);return _u3!=0;}function yyfequal(_8X,_9X){var _u3=yyCompareVal(_8X,_9X,g_GMLMathEpsilon,false);return _u3==0;}function yyfless(_8X,_9X){var _u3=yyCompareVal(_8X,_9X,g_GMLMathEpsilon);if(Number.isNaN(_u3)){_L3("unable to compare "+string(_8X)+" to "+string(_9X));}return _u3==-2?false:_u3<0;}function yyflessequal(_8X,_9X){var _u3=yyCompareVal(_8X,_9X,g_GMLMathEpsilon);if(Number.isNaN(_u3)){_L3("unable to compare "+string(_8X)+" to "+string(_9X));}return _u3==-2?false:_u3<=0;}function yyfgreater(_8X,
_9X){var _u3=yyCompareVal(_8X,_9X,g_GMLMathEpsilon);if(Number.isNaN(_u3)){_L3("unable to compare "+string(_8X)+" to "+string(_9X));}return _u3==-2?false:_u3>0;}function yyfgreaterequal(_8X,_9X){var _u3=yyCompareVal(_8X,_9X,g_GMLMathEpsilon);if(Number.isNaN(_u3)){_L3("unable to compare "+string(_8X)+" to "+string(_9X));}return _u3==-2?false:_u3>=0;}function yyfand(_8X,_9X){return yyGetBool(_8X)&&yyGetBool(_9X);}function yyfor(_8X,_9X){return yyGetBool(_8X)||yyGetBool(_9X);}function yyfxor(_8X,_9X){_9X=yyGetBool(_9X);
return yyGetBool(_8X)?!_9X:_9X;}function yyfbitand(_8X,_9X){if((typeof _8X==="number")&&(typeof _9X==="number"))return _8X&_9X;else if((_8X instanceof Long)&&(_9X instanceof Long)){return _8X._hX(_9X);}else if(_8X instanceof Long){return _8X._hX(yyGetInt64(_9X));}else if(_9X instanceof Long){return _9X._hX(yyGetInt64(_8X));}else if(typeof _8X=="number")return _8X&yyGetInt32(_9X);else if(typeof _9X=="number")return yyGetInt32(_8X)&_9X;return yyGetInt32(_8X)&yyGetInt32(_9X);}function yyfbitor(_8X,_9X){if((typeof _8X=="number")&&(typeof _9X=="number"))return _8X|_9X;
else if((_8X instanceof Long)&&(_9X instanceof Long)){return _8X._iX(_9X);}else if(_8X instanceof Long){return _8X._iX(yyGetInt64(_9X));}else if(_9X instanceof Long){return _9X._iX(yyGetInt64(_8X));}else if(typeof _8X=="number")return _8X|yyGetInt32(_9X);else if(typeof _9X=="number")return yyGetInt32(_8X)|_9X;return yyGetInt32(_8X)|yyGetInt32(_9X);}function yyfbitxor(_8X,_9X){if((typeof _8X=="number")&&(typeof _9X=="number"))return _8X^_9X;else if((_8X instanceof Long)&&(_9X instanceof Long)){return _8X._jX(_9X);}else if(_8X instanceof Long){
return _8X._jX(yyGetInt64(_9X));}else if(_9X instanceof Long){return _9X._jX(yyGetInt64(_8X));}else if(typeof _8X=="number")return _8X^yyGetInt32(_9X);else if(typeof _9X=="number")return yyGetInt32(_8X)^_9X;return yyGetInt32(_8X)^yyGetInt32(_9X);}function yyfbitshiftleft(_8X,_ZP){var shift=yyGetInt32(_ZP);var _kX=(_8X<0);if(_kX)_8X=-_8X;if(typeof _8X=="number"){_8X=new Long(_8X);}else if(_8X instanceof Long){}else {_8X=yyGetInt64(_8X);}var _u3=0;if(shift>=64)_u3=0;else _u3=_8X._lX(shift);if(_kX)_u3=-_u3;return _u3;}function yyfbitshiftright(_8X,
_ZP){var shift=yyGetInt32(_ZP);var _kX=(_8X<0);if(_kX)_8X=-_8X;if(typeof _8X=="number"){_8X=new Long(_8X);}else if(_8X instanceof Long){}else {_8X=yyGetInt64(_8X);}var _u3=0;if(shift>=64)_u3=0;else _u3=_8X._mX(shift);if(_kX)_u3=-_u3;return _u3;}function extension_exists(_nX){_nX=yyGetString(_nX);const extension=_vD.Extensions.find(_kk=>_kk["name"]==_nX);return extension!==undefined;}function extension_get_version(_nX){_nX=yyGetString(_nX);try{const extension=_vD.Extensions.find(_kk=>_kk["name"]==_nX);if(extension===undefined)return undefined;
return extension.version;}catch(_DD){show_debug_message("extension_get_version :: caught unhandled exception "+_DD.message);}return undefined;}function extension_get_option_value(_nX,_oX){_nX=yyGetString(_nX);_oX=yyGetString(_oX);try{if(_vD.ExtensionOptions!==undefined){if(_vD.ExtensionOptions[_nX]!==undefined){return _vD.ExtensionOptions[_nX][_oX];}}}catch(_DD){show_debug_message("extension_get_option_value :: caught unhandled exception "+_DD.message);}return undefined;}function extension_get_option_count(_nX){
_nX=yyGetString(_nX);try{if(_vD.ExtensionOptions!==undefined){if(_vD.ExtensionOptions[_nX]!==undefined){return Object.keys(_vD.ExtensionOptions[_nX]).length;}}}catch(_DD){show_debug_message("extension_get_option_count :: caught unhandled exception "+_DD.message);}return 0;}function extension_get_option_names(_nX){_nX=yyGetString(_nX);try{if(_vD.ExtensionOptions!==undefined){if(_vD.ExtensionOptions[_nX]!==undefined){return Object.keys(_vD.ExtensionOptions[_nX]);}}}catch(_DD){show_debug_message("extension_get_option_names :: caught unhandled exception "+_DD.message);
}return [];}function extension_get_options(_nX){_nX=yyGetString(_nX);try{if(_vD.ExtensionOptions!==undefined){if(_vD.ExtensionOptions[_nX]!==undefined){var data=_vD.ExtensionOptions[_nX];var _pX=new _FG();Object.keys(data).forEach(_wc=>{variable_struct_set(_pX,_wc,data[_wc])});return _pX;}}}catch(_DD){show_debug_message("extension_get_options :: caught unhandled exception "+_DD.message);}return {};}function gc_collect(){}function gc_enable(_Ry){}function gc_is_enabled(){return true;}function gc_get_stats(){
var _qX=new Object();_qX.__yyIsGMLObject=true;Object.defineProperties(_qX,{gmlobjects_touched:{enumerable:true,get :function(){return 0;}},gmlobjects_collected:{enumerable:true,get :function(){return 0;}},gmltraversal_time:{enumerable:true,get :function(){return 0;}},gmlcollection_time:{enumerable:true,get :function(){return 0;}},gmlgeneration_collected:{enumerable:true,get :function(){return 0;}},gmlgc_frame:{enumerable:true,get :function(){return 0;}},gmlnum_generations:{enumerable:true,get :function(){return 0;
}},gmlnum_objects_in_generation:{enumerable:true,get :function(){var _nK=[];return _nK;}},});return _qX;}var _rX=30,_sX=10,_tX=3,_uX=true;function _vX(_wX,_xX){var _ym=0.0;while(_wX<=0.0){_wX=_wX+360;}while(_wX>=360.0){_wX=_wX-360;}while(_xX<0.0){_xX=_xX+360;}while(_xX>=360.){_xX=_xX-360;}_ym=_xX-_wX;if(_ym<0){_ym=-_ym;}if(_ym>180){_ym=360-_ym;}return _ym;}function _yX(_Ls,_u4,_v4,_EV,_Dp){if(_EV==_JP){if(_Dp){return place_empty(_Ls,_u4,_v4);}else {return place_free(_Ls,_u4,_v4);}}else {return(instance_place(_Ls,
_u4,_v4,_EV)==_Os);}}function _zX(_Ls,_u4,_v4,_Cp,_EV,_Dp){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_Cp=yyGetReal(_Cp);_Dp=yyGetBool(_Dp);var _ym=false;var _dt=0.0;var _AX=0.0;var _BX=0.0;if((_Ls.x==_u4)&&(_Ls.y==_v4))return true;_dt=sqrt(_oz(_Ls.x-_u4)+_oz(_Ls.y-_v4));if(_dt<=_Cp){_AX=_u4;_BX=_v4;_ym=true;}else {_AX=_Ls.x+_Cp*(_u4-_Ls.x)/_dt;_BX=_Ls.y+_Cp*(_v4-_Ls.y)/_dt;_ym=false;}if(!_yX(_Ls,_AX,_BX,_EV,_Dp)){return _ym;}_Ls.direction=point_direction(_Ls.x,_Ls.y,_AX,_BX);_Ls._Lc(_AX,_BX);return _ym;}function mp_linear_step(_Ls,
_u4,_v4,_Cp,_Dp){return _zX(_Ls,_u4,_v4,_Cp,_JP,_Dp);}function mp_linear_step_object(_Ls,_u4,_v4,_Cp,_Ej){return _zX(_Ls,_u4,_v4,_Cp,_Ej,true);}function _CX(_ul,_Ls,_xl,_EV,_Dp){var _ym=false;var _DX=0.0;var _EX=0.0;if(_vX(_ul,_Ls.direction)>_rX){return _ym;}_DX=_Ls.x+_xl*_tX*cos(_P5*_ul/180);_EX=_Ls.y-_xl*_tX*sin(_P5*_ul/180);if(true!=_yX(_Ls,_DX,_EX,_EV,_Dp)){return _ym;}_DX=_Ls.x+_xl*cos(_P5*_ul/180);_EX=_Ls.y-_xl*sin(_P5*_ul/180);if(true!=_yX(_Ls,_DX,_EX,_EV,_Dp)){return _ym;}_Ls.direction=_ul;_Ls._Lc(_DX,
_EX);_ym=true;return _ym;}function _FX(_Ls,_u4,_v4,_Cp,_gP,_Dp){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_Cp=yyGetReal(_Cp);_gP=yyGetInt32(_gP);_Dp=yyGetBool(_Dp);var _ym=false;var _dt=0.0;var _GX=0.0;var _HX=0.0;if((_Ls.x==_u4)&&(_Ls.y==_v4)){_ym=true;return _ym;}_dt=sqrt(_oz(_Ls.x-_u4)+_oz(_Ls.y-_v4));if(_dt<=_Cp){if(_yX(_Ls,_u4,_v4,_gP,_Dp)){_Ls.direction=_HW(_Ls.x,_Ls.y,_u4,_v4);_Ls._Lc(_u4,_v4);}_ym=true;return _ym;}_GX=_HW(_Ls.x,_Ls.y,_u4,_v4);_HX=0;_ym=false;while(_HX<180){if(_CX(_GX-_HX,_Ls,_Cp,_gP,
_Dp)){return _ym;}if(_CX(_GX+_HX,_Ls,_Cp,_gP,_Dp)){return _ym;}_HX=_HX+_sX;}if(_uX){_Ls.direction=_Ls.direction+_rX;}return _ym;}function mp_potential_step(_Ls,_u4,_v4,_Cp,_Dp){return _FX(_Ls,_u4,_v4,_Cp,_JP,_Dp);}function mp_potential_step_object(_Ls,_u4,_v4,_Cp,_Ej){return _FX(_Ls,_u4,_v4,_Cp,_Ej,true);}function mp_potential_settings(_Ls,_IX,_JX,_KX,_LX){_rX=_L5(1,yyGetReal(_IX));_sX=_L5(1,yyGetReal(_JX));_tX=_L5(1,yyGetReal(_KX));_uX=yyGetBool(_LX);}function _MX(_j6,_u4,_v4,_xl,_EV,_Dp){var _ym=false;var _dt=0.0;
var _AX=0.0;var _BX=0.0;if((_j6.x==_u4)&&(_j6.y==_v4)){return true;}_dt=Math.sqrt(_oz(_j6.x-_u4)+_oz(_j6.y-_v4));if(_dt<=_xl){_AX=_u4;_BX=_v4;_ym=true;}else {_AX=_j6.x+_xl*(_u4-_j6.x)/_dt;_BX=_j6.y+_xl*(_v4-_j6.y)/_dt;_ym=false;}if(!_yX(_j6,_AX,_BX,_EV,_Dp)){return _ym;}_j6.direction=_HW(_j6.x,_j6.y,_AX,_BX);_j6._Lc(_AX,_BX);return _ym;}function _NX(_Ls,_up,_OX,_PX,_Cp,_EV,_Dp){var _R5=0.0;var _T5=0.0;var _6L=0.0;var _QX=0.0;var _RX=0.0;var _ym=false;var _SX=_TX.Paths[yyGetInt32(_up)];if(!_SX)return _ym;if(_Cp<=0.0)return _ym;
_R5=_Ls.x;_T5=_Ls.y;_6L=_Ls.direction;_SX.__e();_SX._UX(_VX);_SX._WX(false);_SX._XX(_R5,_T5,100);_ym=true;while(1){_QX=_Ls.x;_RX=_Ls.y;if(true==_MX(_Ls,_OX,_PX,_Cp,_EV,_Dp)){break;}if((_Ls.x==_QX)&&(_Ls.y==_RX)){_ym=false;break;}_SX._XX(_Ls.x,_Ls.y,100);}if(true==_ym){_SX._XX(_OX,_PX,100);}_Ls._Lc(_R5,_T5);_Ls.direction=_6L;return _ym;}function mp_linear_path(_Ls,_up,_OX,_PX,_Cp,_Dp){return _NX(_Ls,yyGetInt32(_up),yyGetReal(_OX),yyGetReal(_PX),yyGetReal(_Cp),_JP,yyGetBool(_Dp));}function mp_linear_path_object(_Ls,
_up,_OX,_PX,_Cp,_Ej){return _NX(_Ls,yyGetInt32(_up),yyGetReal(_OX),yyGetReal(_PX),yyGetReal(_Cp),yyGetInt32(_Ej),true);}function _vX(_wX,_xX){var _ym=0.0;while(_wX<=0.0){_wX=_wX+360.0;}while(_wX>=360.0){_wX=_wX-360.0;}while(_xX<0.0){_xX=_xX+360.0;}while(_xX>=360.0){_xX=_xX-360.0;}_ym=_xX-_wX;if(_ym<0.0){_ym=-_ym;}if(_ym>180.0){_ym=360.0-_ym;}return _ym;}function _CX(_ul,_j6,_xl,_EV,_Dp){var _DX=0.0;var _EX=0.0;if(_vX(_ul,_j6.direction)>_rX){return false;}_DX=_j6.x+_xl*_tX*Math.cos(Math.PI*_ul/180.0);_EX=_j6.y-_xl*_tX*Math.sin(Math.PI*_ul/180.0);
if(!_yX(_j6,_DX,_EX,_EV,_Dp)){return false;}_DX=_j6.x+_xl*Math.cos(Math.PI*_ul/180.0);_EX=_j6.y-_xl*Math.sin(Math.PI*_ul/180.0);if(!_yX(_j6,_DX,_EX,_EV,_Dp)){return false;}_j6.direction=_ul;_j6._Lc(_DX,_EX);return true;}function _YX(_j6,_u4,_v4,_xl,_EV,_Dp){var _ym=false;var _dt=0.0;var _GX=0.0;var _HX=0.0;if((_j6.x==_u4)&&(_j6.y==_v4)){return true;}_dt=Math.sqrt(_oz(_j6.x-_u4)+_oz(_j6.y-_v4));if(_dt<=_xl){if(true==_yX(_j6,_u4,_v4,_EV,_Dp)){_j6.direction=_HW(_j6.x,_j6.y,_u4,_v4);_j6._Lc(_u4,_v4);}return true;
}_GX=_HW(_j6.x,_j6.y,_u4,_v4);_HX=0;_ym=false;while(_HX<180){if(_CX(_GX-_HX,_j6,_xl,_EV,_Dp)){return _ym;}if(_CX(_GX+_HX,_j6,_xl,_EV,_Dp)){return _ym;}_HX=_HX+_sX;}if(_uX){_j6.direction=_j6.direction+_rX;}return _ym;}function _ZX(_j6,_up,_OX,_PX,_Cp,__X,_EV,_Dp){var _ym=false;var _0Y=0.0;var _R5=0.0;var _T5=0.0;var _6L=0.0;var _SX=_TX.Paths[_up];if(!_SX)return _ym;if(__X<1){return _ym;}if(_Cp<=0){return _ym;}_0Y=Math.sqrt(_oz(_OX-_j6.x)+_oz(_PX-_j6.y))*__X;_R5=_j6.x;_T5=_j6.y;_6L=_j6.direction;_SX.__e();_SX._UX(_VX);
_SX._WX(false);_SX._XX(_R5,_T5,100);_ym=true;var _1Y=0;var _2Y=0;var _3Y=0;while(1){if(true==_YX(_j6,_OX,_PX,_Cp,_EV,_Dp))break;_SX._XX(_j6.x,_j6.y,100);_1Y=_2Y;_2Y=_SX.length;if(_2Y>_0Y){_ym=false;break;}if(_2Y==_1Y){++_3Y;if(_3Y>100){_ym=false;break;}}else {_3Y=0;}}if(_ym){_SX._XX(_OX,_PX,100);}_j6._Lc(_R5,_T5);_j6.direction=_6L;return _ym;}function mp_potential_path(_Ls,_up,_OX,_PX,_Cp,_4Y,_Dp){return _ZX(_Ls,yyGetInt32(_up),yyGetReal(_OX),yyGetReal(_PX),yyGetReal(_Cp),yyGetReal(_4Y),_JP,yyGetBool(_Dp));
}function mp_potential_path_object(_Ls,_up,_OX,_PX,_Cp,_4Y,_Ej){return _ZX(_Ls,yyGetInt32(_up),yyGetReal(_OX),yyGetReal(_PX),yyGetReal(_Cp),yyGetReal(_4Y),yyGetInt32(_Ej),true);}/*@constructor */function _5Y(_Mr,_Nr,_6Y,_7Y,_8Y,_9Y){this._aY=_Mr;this._bY=_Nr;this._xj=~~_6Y;this._yj=~~_7Y;this._cY=_8Y;this._dY=_9Y;this._Bj=[];this.__e();};_5Y.prototype.__e=function(){var _eY=this._xj*this._yj;for(var i=0;i<_eY;i++){this._Bj[i]=0;}};_5Y.prototype._fY=function(_u4,_v4,_F2){if(_u4<0||_u4>=this._xj)return;
if(_v4<0||_v4>=this._yj)return;this._Bj[(_u4*this._yj)+_v4]=_F2;};_5Y.prototype._gY=function(_u4,_v4){if(_u4<0||_u4>=this._xj)return -1;if(_v4<0||_v4>=this._yj)return -1;return this._Bj[(_u4*this._yj)+_v4];};_5Y.prototype._hY=function(__5,_06,_s5,_t5,_F2){var _XK=~~((_M5(__5,_s5)-this._aY)/this._cY);if(_XK<0)_XK=0;var _YK=~~((_L5(__5,_s5)-this._aY)/this._cY);if(_YK>=this._xj)_YK=this._xj-1;var _ZK=~~((_M5(_06,_t5)-this._bY)/this._dY);if(_ZK<0)_ZK=0;var __K=~~((_L5(_06,_t5)-this._bY)/this._dY);if(__K>=this._yj)__K=this._yj-1;
for(var i=_XK;i<=_YK;i++){var index=i*this._yj;for(var _35=_ZK;_35<=__K;_35++){this._Bj[index+_35]=_F2;}}};function mp_grid_create(_Mr,_Nr,_iY,_jY,_8Y,_9Y){var _K5=new _5Y(yyGetInt32(_Mr),yyGetInt32(_Nr),yyGetInt32(_iY),yyGetInt32(_jY),yyGetInt32(_8Y),yyGetInt32(_9Y));return _wj._Ke(_K5);}function mp_grid_destroy(_nf){_wj._vi(yyGetInt32(_nf));}function mp_grid_clear_all(_nf){var _kY=_wj._I4(yyGetInt32(_nf));if(_kY){_kY.__e();return;}_L3("Error: invalid mp_grid ID (mp_grid_clear_all)");}function mp_grid_clear_cell(_nf,
_pi,_Wb){var _kY=_wj._I4(yyGetInt32(_nf));if(_kY){_kY._fY(yyGetInt32(_pi),yyGetInt32(_Wb),0);return;}_L3("Error: invalid mp_grid ID (mp_grid_clear_cell)");}function mp_grid_clear_rectangle(_nf,__5,_06,_s5,_t5){var _kY=_wj._I4(yyGetInt32(_nf));if(_kY){_kY._hY(yyGetInt32(__5),yyGetInt32(_06),yyGetInt32(_s5),yyGetInt32(_t5),0);return;}_L3("Error: invalid mp_grid ID (mp_grid_clear_rectangle)");}function mp_grid_add_cell(_nf,_u4,_v4){var _kY=_wj._I4(yyGetInt32(_nf));if(_kY){_kY._fY(yyGetInt32(_u4),yyGetInt32(_v4),
-1);return;}_L3("Error: invalid mp_grid ID (mp_grid_add_cell)");}function mp_grid_get_cell(_nf,_u4,_v4){var _kY=_wj._I4(yyGetInt32(_nf));if(_kY){return _kY._gY(yyGetInt32(_u4),yyGetInt32(_v4));}return -1;}function mp_grid_add_rectangle(_nf,__5,_06,_s5,_t5){var _kY=_wj._I4(yyGetInt32(_nf));if(_kY){_kY._hY(yyGetInt32(__5),yyGetInt32(_06),yyGetInt32(_s5),yyGetInt32(_t5),-1);return;}_L3("Error: invalid mp_grid ID (mp_grid_add_rectangle)");}function mp_grid_add_instances(_j6,_nf,_Ej,_ki){var _kY=_wj._I4(yyGetInt32(_nf));
if(_kY){var _lY=0.0001;if(_mY){_lY=0.0;}var _nY=GetWithArray(yyGetInt32(_Ej));for(var _oY=0;_oY<_nY.length;_oY++){var _5t=_nY[_oY];if(_5t.marked||!_5t.active)continue;if(_5t._1P)_5t._2P();var _XK=~~((_5t._MO.left+_lY-_kY._aY)/_kY._cY);if(_XK<0)_XK=0;var _YK=~~((_5t._MO.right-_lY-_kY._aY)/_kY._cY);if(_YK>=_kY._xj)_YK=_kY._xj-1;var _ZK=~~((_5t._MO.top+_lY-_kY._bY)/_kY._dY);if(_ZK<0)_ZK=0;var __K=~~((_5t._MO.bottom-_lY-_kY._bY)/_kY._dY);if(__K>=_kY._yj)__K=_kY._yj-1;for(var i=_XK;i<=_YK;i++){for(var _35=_ZK;
_35<=__K;_35++){if(!yyGetBool(_ki)){_kY._Bj[i*_kY._yj+_35]=-1;continue;}if(_kY._Bj[i*_kY._yj+_35]<0)continue;if(_5t._it(_kY._aY+i*_kY._cY,_kY._bY+_35*_kY._dY,_kY._aY+(i+1)*_kY._cY-1,_kY._bY+(_35+1)*_kY._dY-1,true)){_kY._Bj[i*_kY._yj+_35]=-1;}}}}return;}_L3("Error: invalid mp_grid ID (mp_grid_add_instances)");}var mp_grid_draw=_pY;function _pY(_nf){var _kY=_wj._I4(yyGetInt32(_nf));if(_kY){_59.globalAlpha=_Rb;var _mu=_rr(0xff0000,1.0);var _nu=_rr(0x00ff00,1.0);for(var x=0;x<_kY._xj;x++){for(var y=0;y<_kY._yj;
y++){var _q3=_nu;if(_kY._Bj[x*_kY._yj+y]<0){_q3=_mu;}_59.fillStyle=_q3;_59._sK((_kY._aY+x*_kY._cY),(_kY._bY+y*_kY._dY),_kY._cY,_kY._dY);}}return;}_L3("Error: invalid mp_grid ID (mp_grid_draw)");}function mp_grid_path(_Ls,_nf,_up,_qY,_rY,_sY,_tY,_uY){_qY=yyGetInt32(_qY);_rY=yyGetInt32(_rY);_sY=yyGetInt32(_sY);_tY=yyGetInt32(_tY);_uY=yyGetBool(_uY);var _vY,_wY,_xY,_yY,i,_35,_yd,_Fl,_R5,_T5,_zY,_AY,_BY,_CY,_DY,_EY,_FY,_GY,_HY;var _ym=false;var _kY=_wj._I4(yyGetInt32(_nf));var _SX=_TX.Paths[yyGetInt32(_up)];
if(!_SX||!_kY){return _ym;}if((_qY<_kY._aY)||(_qY>=(_kY._aY+_kY._xj*_kY._cY))){return _ym;}if((_rY<_kY._bY)||(_rY>=_kY._bY+_kY._yj*_kY._dY)){return _ym;}_vY=~~((_qY-_kY._aY)/_kY._cY);_wY=~~((_rY-_kY._bY)/_kY._dY);if(_kY._Bj[_vY*_kY._yj+_wY]<0){return _ym;}if((_sY<_kY._aY)||(_sY>=_kY._aY+_kY._xj*_kY._cY)){return _ym;}if((_tY<_kY._bY)||(_tY>=_kY._bY+_kY._yj*_kY._dY)){return _ym;}_xY=~~((_sY-_kY._aY)/_kY._cY);_yY=~~((_tY-_kY._bY)/_kY._dY);if(_kY._Bj[_xY*_kY._yj+_yY]<0){return _ym;}_kY._Bj[_vY*_kY._yj+_wY]=1;
_HY=new _IY();_HY._JY((_vY*_kY._yj+_wY));while(_HY._KY(1)){_yd=_HY._LY();_R5=~~(_yd/_kY._yj);_T5=~~(_yd%_kY._yj);if((_R5==_xY)&&(_T5==_yY)){_ym=true;break;}_Fl=_kY._Bj[_yd]+1;_zY=(_R5>0)&&(_T5<_kY._yj-1)&&(_kY._Bj[(_R5-1)*_kY._yj+(_T5+1)]==0);_AY=(_T5<_kY._yj-1)&&(_kY._Bj[(_R5)*_kY._yj+(_T5+1)]==0);_BY=(_R5<_kY._xj-1)&&(_T5<_kY._yj-1)&&(_kY._Bj[(_R5+1)*_kY._yj+(_T5+1)]==0);_CY=(_R5>0)&&(_kY._Bj[(_R5-1)*_kY._yj+(_T5)]==0);_DY=(_R5<_kY._xj-1)&&(_kY._Bj[(_R5+1)*_kY._yj+(_T5)]==0);_EY=(_R5>0)&&(_T5>0)&&(_kY._Bj[(_R5-1)*_kY._yj+(_T5-1)]==0);
_FY=(_T5>0)&&(_kY._Bj[(_R5)*_kY._yj+(_T5-1)]==0);_GY=(_R5<_kY._xj-1)&&(_T5>0)&&(_kY._Bj[(_R5+1)*_kY._yj+(_T5-1)]==0);if(_CY){_kY._Bj[(_R5-1)*_kY._yj+_T5]=_Fl;_HY._JY(~~((_R5-1)*_kY._yj+_T5));}if(_DY){_kY._Bj[(_R5+1)*_kY._yj+_T5]=_Fl;_HY._JY(~~((_R5+1)*_kY._yj+_T5));}if(_FY){_kY._Bj[_R5*_kY._yj+_T5-1]=_Fl;_HY._JY(~~(_R5*_kY._yj+_T5-1));}if(_AY){_kY._Bj[_R5*_kY._yj+_T5+1]=_Fl;_HY._JY(~~(_R5*_kY._yj+_T5+1));}if(_uY&&_zY&&_AY&&_CY){_kY._Bj[(_R5-1)*_kY._yj+_T5+1]=_Fl;_HY._JY(~~((_R5-1)*_kY._yj+_T5+1));
}if(_uY&&_EY&&_FY&&_CY){_kY._Bj[(_R5-1)*_kY._yj+_T5-1]=_Fl;_HY._JY(~~((_R5-1)*_kY._yj+_T5-1));}if(_uY&&_BY&&_AY&&_DY){_kY._Bj[(_R5+1)*_kY._yj+_T5+1]=_Fl;_HY._JY(~~((_R5+1)*_kY._yj+_T5+1));}if(_uY&&_GY&&_FY&&_DY){_kY._Bj[(_R5+1)*_kY._yj+_T5-1]=_Fl;_HY._JY(~~((_R5+1)*_kY._yj+_T5-1));}}_HY=undefined;if(_ym){_SX.__e();_SX._MY=_VX;_SX.closed=false;_SX._XX(_sY,_tY,100);_R5=_xY;_T5=_yY;while((_R5!=_vY)||(_T5!=_wY)){_yd=_kY._Bj[_R5*_kY._yj+_T5];_zY=(_R5>0)&&(_T5<_kY._yj-1)&&(_kY._Bj[(_R5-1)*_kY._yj+(_T5+1)]==_yd-1);
_AY=(_T5<_kY._yj-1)&&(_kY._Bj[(_R5)*_kY._yj+(_T5+1)]==_yd-1);_BY=(_R5<_kY._xj-1)&&(_T5<_kY._yj-1)&&(_kY._Bj[(_R5+1)*_kY._yj+(_T5+1)]==_yd-1);_CY=(_R5>0)&&(_kY._Bj[(_R5-1)*_kY._yj+(_T5)]==_yd-1);_DY=(_R5<_kY._xj-1)&&(_kY._Bj[(_R5+1)*_kY._yj+(_T5)]==_yd-1);_EY=(_R5>0)&&(_T5>0)&&(_kY._Bj[(_R5-1)*_kY._yj+(_T5-1)]==_yd-1);_FY=(_T5>0)&&(_kY._Bj[(_R5)*_kY._yj+(_T5-1)]==_yd-1);_GY=(_R5<_kY._xj-1)&&(_T5>0)&&(_kY._Bj[(_R5+1)*_kY._yj+(_T5-1)]==_yd-1);if(_CY)_R5=_R5-1;else if(_DY)_R5=_R5+1;else if(_FY)_T5=_T5-1;
else if(_AY)_T5=_T5+1;else if(_uY&&_zY){_R5=_R5-1;_T5=_T5+1;}else if(_uY&&_BY){_R5=_R5+1;_T5=_T5+1;}else if(_uY&&_EY){_R5=_R5-1;_T5=_T5-1;}else if(_uY&&_GY){_R5=_R5+1;_T5=_T5-1;};if((_R5!=_vY)||(_T5!=_wY)){_SX._XX(~~(_kY._aY+_R5*_kY._cY+_kY._cY/2),~~(_kY._bY+_T5*_kY._dY+_kY._dY/2),100);}};_SX._XX(_qY,_rY,100);_SX._NY();};for(i=0;i<_kY._xj;i++){for(_35=0;_35<_kY._yj;_35++){if(_kY._Bj[i*_kY._yj+_35]>0)_kY._Bj[i*_kY._yj+_35]=0;}}return _ym;}function mp_grid_to_ds_grid(_si,_tj){_si=yyGetInt32(_si);_tj=yyGetInt32(_tj);
var _OY=_ui._u7;var _PY=_wj._u7;if((_si<0)||(_si>=_PY)||(_tj<0)||(_tj>=_OY)){_L3("Error: Invalid source or destination grid");return;}var _ti=_ui._I4(_tj);var _vj=_wj._I4(_si);if(_vj==null||_ti==null){_L3("Error: Invalid source or destination grid");return;}var w=_vj._xj;var h=_vj._yj;var _zj=_ti._3c;var _Aj=_ti._4c;if(w!=_zj||h!=_Aj){_L3("Error: Grid sizes do not match (mp_grid_to_ds_grid) ");return;}for(var y=0;y<h;++y){for(var x=0;x<w;++x){_ti._qi[x+(y*_ti._3c)]=_vj._Bj[(x*_vj._yj)+y];}}}function place_free(_Ls,
_u4,_v4){var _R5,_T5,_ym,_QY;_ym=true;_R5=_Ls.x;_T5=_Ls.y;_Ls._Lc(yyGetReal(_u4),yyGetReal(_v4));var _Zj=_x2._RY();for(var _4m=0;_4m<_Zj.length;_4m++){_QY=_Zj[_4m];if(_QY.solid){if(_Ls._SY(_QY,true)){_ym=false;break;}}}_Ls._Lc(_R5,_T5);return _ym;}function place_empty(_Ls,_u4,_v4,_Ej){if(is_undefined(_Ej))_Ej=_JP;var _ta=_aP(_Ls,_u4,_v4,_Ej);if(_ta<0)return true;return false;}function place_meeting(_Ls,_u4,_v4,_Ej){var _ta=_aP(_Ls,_u4,_v4,_Ej);if(_ta<0){return false;}else return true;}function place_snapped(_j6,
_Ol,_Pl){_Ol=yyGetReal(_Ol);_Pl=yyGetReal(_Pl);if(_Ol>0){if(Math.abs(_j6.x-_Ol*_0k(_j6.x/_Ol))>=0.001){return false;}}if(_Pl>0){if(Math.abs(_j6.y-_Pl*_0k(_j6.y/_Pl))>=0.001){return false;}}return true;}function move_random(_j6,_Ol,_Pl){var i=0;var x=0.0;var y=0.0;var _TY;var _UY;var _VY;var _WY;var _XY=0;var _YY=0;_TY=0;_UY=_x2._eM();_VY=0;_WY=_x2._fM();if(true==sprite_exists(_j6.sprite_index)||true==sprite_exists(_j6.mask_index)){var _7P=_j6._ZY();_TY=_0k(_j6.x-_7P.left);_UY=_0k(_UY+_j6.x-_7P.right);_VY=_0k(_j6.y-_7P.top);
_WY=_0k(_WY+_j6.y-_7P.bottom);}_XY=_0k(yyGetReal(_Ol));_YY=_0k(yyGetReal(_Pl));for(i=1;i<100;i++){x=_TY+_Gl(_UY-_TY);if(_XY>0){x=_XY*floor(x/_XY);}y=_VY+_Gl(_WY-_VY);if(_YY>0){y=_YY*floor(y/_YY);}if(true==place_free(_j6,x,y)){_j6._Lc(x,y);return;}}}function move_snap(_Ls,_Ol,_Pl){_Ol=yyGetReal(_Ol);_Pl=yyGetReal(_Pl);_Ls.x=_0k(_Ls.x/_Ol)*_Ol;_Ls.y=_0k(_Ls.y/_Pl)*_Pl;_Ls._1P=true;}function move_wrap(_j6,__Y,_xK,_0Z){_0Z=yyGetReal(_0Z);if(yyGetBool(__Y)){if(_j6.x<-_0Z){_j6._Lc(_j6.x+_x2._eM()+2*_0Z,
_j6.y);}if(_j6.x>_x2._eM()+_0Z){_j6._Lc(_j6.x-_x2._eM()-2*_0Z,_j6.y);}}if(yyGetBool(_xK)){if(_j6.y<-_0Z){_j6._Lc(_j6.x,_j6.y+_x2._fM()+2*_0Z);}if(_j6.y>_x2._fM()+_0Z){_j6._Lc(_j6.x,_j6.y-_x2._fM()-2*_0Z);}}}function move_towards_point(_Ls,_u4,_v4,_xl){_Ls.hspeed=yyGetReal(_u4)-_Ls.x;_Ls.vspeed=yyGetReal(_v4)-_Ls.y;_Ls.speed=yyGetReal(_xl);}function _1Z(_Ls,_u4,_v4,_Wl){if(_Wl){return place_empty(_Ls,_u4,_v4);}else {return place_free(_Ls,_u4,_v4);}}function __l(_Ls,_2Z,_Wl){var i,_x5;var _R5,_T5,_3Z,_4Z,
_5Z,_6Z,_7Z;var _8Z,_9Z,_aZ,_bZ;_bZ=false;if(_1Z(_Ls,_Ls.x,_Ls.y,_Wl)==false){_Ls._Lc(_Ls.xprevious,_Ls.yprevious);_bZ=true;}_R5=_Ls.x;_T5=_Ls.y;if(_2Z){_x5=18;_7Z=10.0*Math.round(_Ls.direction/10.0);_5Z=_7Z;_6Z=_7Z;for(i=1;i<2*_x5;i++){_5Z=_5Z-180/_x5;_3Z=_R5+_Ls.speed*Math.cos(_5Z*_P5/180);_4Z=_T5-_Ls.speed*Math.sin(_5Z*_P5/180);if(_1Z(_Ls,_3Z,_4Z,_Wl)){break;}else {_bZ=true;}}for(i=1;i<2*_x5;i++){_6Z=_6Z+180/_x5;_3Z=_R5+_Ls.speed*Math.cos(_6Z*_P5/180);_4Z=_T5-_Ls.speed*Math.sin(_6Z*_P5/180);if(_1Z(_Ls,
_3Z,_4Z,_Wl)){break;}else {_bZ=true;}}if(_bZ==true){_Ls.direction=180+(_5Z+_6Z)-_7Z;}}else {_8Z=_1Z(_Ls,_Ls.x+_Ls.hspeed,_Ls.y,_Wl);_9Z=_1Z(_Ls,_Ls.x,_Ls.y+_Ls.vspeed,_Wl);_aZ=_1Z(_Ls,_Ls.x+_Ls.hspeed,_Ls.y+_Ls.vspeed,_Wl);if((_8Z==false)&&(_9Z==false)){_Ls.hspeed=-_Ls.hspeed;_Ls.vspeed=-_Ls.vspeed;}else if((_8Z==true)&&(_9Z==true)&&(_aZ==false)){_Ls.hspeed=-_Ls.hspeed;_Ls.vspeed=-_Ls.vspeed;}else if(_8Z==false)_Ls.hspeed=-_Ls.hspeed;else if(_9Z==false)_Ls.vspeed=-_Ls.vspeed;}}function move_bounce_solid(_Ls,
_Zl){__l(_Ls,yyGetBool(_Zl),false);}function move_bounce_all(_Ls,_Zl){__l(_Ls,yyGetBool(_Zl),true);}var _cZ=move_bounce_solid;function _dZ(_j6,_u4,_v4,_Wl){if(yyGetBool(_Wl))return place_empty(_j6,_u4,_v4);else return place_free(_j6,_u4,_v4);}function _Xl(_j6,_ul,_Vl,_Wl){var _Hu;if(_Vl<=0)_Hu=1000;else _Hu=_0k(_Vl);var _ha=Math.cos(_ul*Math.PI/180);var _ia=-Math.sin(_ul*Math.PI/180);if(_dZ(_j6,_j6.x,_j6.y,_Wl)==false)return;for(var i=1;i<=_Hu;i++){if(_dZ(_j6,_j6.x+_ha,_j6.y+_ia,_Wl))_j6._Lc(_j6.x+_ha,_j6.y+_ia);
else return;}}function _bP(_Ls,_u4,_v4,_Ej,_U6){var _R5=_Ls.x;var _T5=_Ls.y;_Ls._Lc(_u4,_v4);var _QY=_Ns(_Ls,yyGetInt32(_Ej),false,_Os,function(_Ps){if(_Ps._SY(_Ls,true)){if(_U6){_U6.push(_Ss(_Ts,_Ps.id));return _Os;}return _Ss(_Ts,_Ps.id);}return _Os;});_Ls._Lc(_R5,_T5);return _QY;};function _SN(_u4,_v4,_Ej,_U6){var _QY=_Ns(null,yyGetInt32(_Ej),false,_Os,function(_Ps){if(_Ps._Rs(_u4,_v4,true)){if(_U6){_U6.push(_Ss(_Ts,_Ps.id));return _Os;}return _Ss(_Ts,_Ps.id);}return _Os;});return _QY;};function move_and_collide(_eZ,
_ha,_ia,_o8,_fZ,_gZ,_hZ,_iZ,_jZ){var _u3=[];if(typeof _o8==="number"){if((_o8==_kZ)&&(_eZ!=_lZ))_o8=_eZ.id;if(_o8==_Os){return _u3;}}var _ta=_aP(_eZ,_eZ.x,_eZ.y,_o8);if(_ta>=0)return _u3;if((_ha==0)&&(_ia==0)){return _u3;}var _mZ=false;var _nZ=false;var _oZ=-1.0;var _pZ=-1.0;if(_iZ!==undefined){_oZ=_iZ;if(_oZ>=0)_mZ=true;}if(_jZ!==undefined){_pZ=_jZ;if(_pZ>=0)_nZ=true;}var _qZ=_eZ.x;var _rZ=_eZ.y;var _sZ=_qZ+_oZ;var _tZ=_rZ+_pZ;_qZ-=_oZ;_rZ-=_pZ;var _uZ=4;if(_fZ!==undefined)_uZ=_fZ;var _vZ=false;var _wZ=0;var _xZ=0;
var _yZ=0;if(_gZ===undefined||_hZ===undefined||(_gZ===0&&_hZ===0)){_vZ=true;}else {_wZ=Math.sqrt(_gZ*_gZ+_hZ*_hZ);_xZ=_gZ/_wZ;_yZ=_hZ/_wZ;}var _Hu=Math.sqrt(_ha*_ha+_ia*_ia);var _zZ=_ha/_Hu;var _AZ=_ia/_Hu;var _BZ=0.70710678118654;var _CZ=_Hu/_uZ;var _DZ=_Hu;for(var i=0;i<_uZ;i++){var _EZ=_CZ;if(_DZ<_EZ){_EZ=_DZ;if(_EZ<=0)break;}var _FZ=_eZ.x+_zZ*_EZ;var _GZ=_eZ.y+_AZ*_EZ;if(_mZ){_FZ=clamp(_FZ,_qZ,_sZ);}if(_nZ){_GZ=clamp(_GZ,_rZ,_tZ);}_ta=_aP(_eZ,_FZ,_GZ,_o8);if(_ta<0){_eZ.x=_FZ;_eZ.y=_GZ;_DZ-=_EZ;}else {if(!_u3.includes(_ta))_u3[_u3.length]=_ta;
var _HZ=false;if(_vZ){for(var _35=1;_35<_uZ-i+1;_35++){_FZ=_eZ.x+_BZ*(_zZ+_35*_AZ)*_EZ;_GZ=_eZ.y+_BZ*(_AZ-_35*_zZ)*_EZ;if(_mZ){_FZ=clamp(_FZ,_qZ,_sZ);}if(_nZ){_GZ=clamp(_GZ,_rZ,_tZ);}_ta=_aP(_eZ,_FZ,_GZ,_o8);if(_ta<0){_DZ-=_EZ*_35;_HZ=true;_eZ.x=_FZ;_eZ.y=_GZ;break;}else {if(!_u3.includes(_ta))_u3[_u3.length]=_ta;}_FZ=_eZ.x+_BZ*(_zZ-_35*_AZ)*_EZ;_GZ=_eZ.y+_BZ*(_AZ+_35*_zZ)*_EZ;if(_mZ){_FZ=clamp(_FZ,_qZ,_sZ);}if(_nZ){_GZ=clamp(_GZ,_rZ,_tZ);}_ta=_aP(_eZ,_FZ,_GZ,_o8);if(_ta<0){_DZ-=_EZ*_35;_HZ=true;_eZ.x=_FZ;
_eZ.y=_GZ;break;}else {if(!_u3.includes(_ta))_u3[_u3.length]=_ta;}}}else {for(var _35=1;_35<_uZ-i+1;_35++){_FZ=_eZ.x+_BZ*(_zZ+_35*_xZ)*_EZ;_GZ=_eZ.y+_BZ*(_AZ+_35*_yZ)*_EZ;if(_mZ){_FZ=clamp(_FZ,_qZ,_sZ);}if(_nZ){_GZ=clamp(_GZ,_rZ,_tZ);}_ta=_aP(_eZ,_FZ,_GZ,_o8);if(_ta<0){_DZ-=_EZ*_35;_HZ=true;_eZ.x=_FZ;_eZ.y=_GZ;break;}else {if(!_u3.includes(_ta))_u3[_u3.length]=_ta;}}}if(!_HZ)return _u3;}}return _u3;}function move_contact_solid(_Ls,_ul,_Vl){_Xl(_Ls,yyGetReal(_ul),yyGetReal(_Vl),false);}function move_contact_all(_j6,
_ul,_Vl){_Xl(_j6,yyGetReal(_ul),yyGetReal(_Vl),true);}function _IZ(_j6,_ul,_Vl,_Wl){var _Hu;if(_Vl<=0)_Hu=1000;else _Hu=_0k(_Vl);var _ha=Math.cos(_ul*Math.PI/180);var _ia=-sin(_ul*Math.PI/180);if(_dZ(_j6,_j6.x,_j6.y,_Wl))return;for(var i=1;i<=_Hu;i++){_j6._Lc(_j6.x+_ha,_j6.y+_ia);if(_dZ(_j6,_j6.x,_j6.y,_Wl))return;}}function move_outside_solid(_j6,_ul,_Vl){_IZ(_j6,yyGetReal(_ul),yyGetReal(_Vl),false);}function move_outside_all(_j6,_ul,_Vl){_IZ(_j6,yyGetReal(_ul),yyGetReal(_Vl),true);}function distance_to_point(_j6,
_u4,_v4){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);if(_j6._1P)_j6._2P();var _i3=_j6._MO;var _JZ=0.0;var _KZ=0.0;if(_u4>_i3.right){_JZ=_u4-_i3.right;}if(_u4<_i3.left){_JZ=_u4-_i3.left;}if(_v4>_i3.bottom){_KZ=_v4-_i3.bottom;}if(_v4<_i3.top){_KZ=_v4-_i3.top;}return Math.sqrt((_JZ*_JZ)+(_KZ*_KZ));}function distance_to_object(_j6,_Ej){var _dt=10000000000;var i=0;var _dt=_UN(_j6,yyGetInt32(_Ej),false,_dt,function(_Ps){if(_j6._1P)_j6._2P();if(_Ps._1P)_Ps._2P();var _i3=_Ps._MO;var _rh=_j6._MO;var _JZ=0,_KZ=0;if(_i3.left>_rh.right)_JZ=_i3.left-_rh.right;
if(_i3.right<_rh.left)_JZ=_i3.right-_rh.left;if(_i3.top>_rh.bottom)_KZ=_i3.top-_rh.bottom;if(_i3.bottom<_rh.top)_KZ=_i3.bottom-_rh.top;return Math.sqrt(_JZ*_JZ+_KZ*_KZ);});return _dt;}function position_empty(_j6,_u4,_v4){var _dt=10000000000;var i=0;var _8C=_Ns(_j6,_JP,false,false,function(_Ps){return _Ps._Rs(yyGetReal(_u4),yyGetReal(_v4),true);});return !_8C;}function position_meeting(_Ls,_u4,_v4,_Ej){if(_Ej instanceof _Vs){var _Ws=_Ej.type;if(_Ws==_Xs){if(_Ys(_u4,_v4,_Ej,null,true)){return true;}return false;
}else {var id=_Ks(_Ls,_u4,_v4,_Ej,true,false);return id;}}else if(_Ej instanceof Array){for(var i=0;i<_Ej.length;i++){var _Zs=_Ej[i];if((_Zs instanceof _Vs)&&(_Zs.type==_Xs)){if(_Ys(_u4,_v4,_Zs,null,true)){return true;}}else {var id=_Ks(_Ls,_u4,_v4,_Zs,true,false);if(id==true)return true;}}return false;}else {var id=_Ks(_Ls,_u4,_v4,_Ej,true,false);return id;}}var _LZ=6;var _MZ=7;var _NZ=1;var _OZ=2;var _PZ=3;var _QZ=4;var _RZ=1;var _SZ=2;var _TZ=window.WebSocket;var _UZ=null;try{_UZ=require("ws").Server;}catch(_TF){}function _VZ(_WZ,
type,_XZ){this.socket=_WZ;this.type=type;this._XZ=_XZ;}_VZ.prototype={socket:null,_XZ:false,_YZ:false,index:-1};var _ZZ="GM:Studio-Connect";var __Z=0xCAFEBABE;var _0_=0xDEADB00B;var _1_=0xDEAFBEAD;var _2_=0xF00DBEEB;var _3_=0xDEADC0DE;var _4_=[];var _5_=[];function _6_(wrap){var i=_5_.shift();if(i==null)i=_4_.length;_4_[i]=wrap;wrap.index=i;return i;}function _7_(wrap){var i=_4_.indexOf(wrap);if(i>=0){_4_[i]=null;_5_.push(i);}}function _8_(e){var _RG=_Je._Ke(e.id,null,_9_,e);_RG._Oe=true;}function _a_(_Wy,offset,
length){var _b_=new Uint8Array(_Wy.buffer);var _c_=_Wy.byteOffset+offset;var index=buffer_create(length,_d_,1);var buffer=_fN._I4(index);for(var i=0;i<length;i++)buffer._kN(_lN,_b_[_c_+i]);buffer._e_(_hj,0);return index;}function _f_(_Wy,_g_,id,_h_,port,_i_,_j_){var _1i=_Wy.byteLength;var _k_=[];if(_g_){var __j=0;while(__j<_1i){if(_Wy.getUint32(__j,true)!=_3_||_Wy.getUint32(__j+4,true)!=12){console.log("Raw packet received from a non-raw socket("+id+").");_k_.push(_a_(_Wy,__j,_1i-__j));break;}var _l_=_Wy.getUint32(__j+8,
true);_k_.push(_a_(_Wy,__j+12,_l_));__j+=12+_l_;}}else _k_.push(_a_(_Wy,0,_1i));for(var i=0;i<_k_.length;i++){_8_({"type":_PZ,"id":id,"ip":_h_,"port":port,"other_port":_i_,"buffer":_k_[i],"size":buffer_get_size(_k_[i]),"message_type":_j_});}}function _m_(_sc,port,_n_,_o_){if(_UZ==null){debug("No WebSocket server implementation is available.");return -1;}try{var _p_=new _UZ({port:port,_q_:true});var wrap=new _VZ(_p_,_LZ,true);_p_._r_=wrap;_p_.on("connection",function(_s_,_t_){var _u_=new _VZ(_s_,_LZ,false);
var _v_=-1;var _w_=_t_.socket.remoteAddress;var _x_=port;var _y_=_t_.socket.remotePort;var _z_=!_o_;function _A_(){_8_({"type":_NZ,"id":wrap.index,"socket":_v_,"ip":_w_,"port":_x_,"other_port":_y_});_u_._YZ=true;}_s_.onmessage=function(e){var _B_=e.data;if(_B_==null)return;var _C_=_B_.buffer;if(_C_==null)return;var _D_=_B_.byteLength;var _E_=new DataView(_C_,_B_.offset,_D_);if(_z_){_f_(_E_,_o_,_v_,_w_,_x_,_y_);}else {if(_D_>=16&&_E_.getUint32(0,true)==__Z&&_E_.getUint32(4,true)==_0_&&_E_.getUint32(8,true)==16){
_v_=_6_(_u_);_z_=true;_A_();var _F_=new ArrayBuffer(12);var _G_=new DataView(_F_);_G_.setInt32(0,_1_,true);_G_.setInt32(4,_2_,true);_G_.setInt32(8,12,true);_s_.send(_F_);}else {console.log("Invalid handshake response from client.");_s_.terminate();}}};_s_.onerror=function(e){console.log(e);_8_({"type":_OZ,"id":wrap.index,"socket":_v_,"ip":_w_,"port":_x_,"other_port":_y_});_7_(_u_);};if(_z_){_v_=_6_(_u_);_A_();}else {var _H_=new ArrayBuffer(_ZZ.length+1);var _I_=new DataView(_H_);for(var i=0;i<_ZZ.length;i++){
_I_.setUint8(i,_ZZ.charCodeAt(i));}_I_.setUint8(i,0);_s_.send(_H_);}});_p_.on("error",function(e){console.log("Server error: ",e);});return _6_(wrap);}catch(e){debug("Error creating server: "+e);return -1;}}function _J_(index,_Hg,port,_g_){if(_TZ==null){debug("No WebSocket client implementation is available.");return -1;}var wrap=_4_[index];if(wrap==null||wrap.socket!=null)return -1;try{var _K_=_Hg;var _L_=(wrap.type==_MZ);if(_Hg.substring(0,5)=="ws://"){if(_L_){console.log("Socket type is network_socket_wss, but URL ("+_Hg+") is insecure - upgrading to wss://");
}_Hg=_Hg.substring(5);}else if(_Hg.substring(0,6)=="wss://"){_L_=true;_Hg=_Hg.substring(6);}var _M_=_Hg.indexOf("/");var path="/";if(_M_!=-1){path=_Hg.substring(_M_);_Hg=_Hg.substring(0,_M_);}var _N_=_Hg.indexOf(":");if(_N_!=-1){if(port==0){port=_Hg.substring(_N_+1);}_Hg=_Hg.substring(0,_N_);}_Hg=(_L_?"wss://":"ws://")+_Hg+(port!=0?":"+port:"")+path;var _p_=new _TZ(_Hg);var _O_=_g_?-1:1;function _A_(_P_){_8_({"type":_QZ,"id":wrap.index,"succeeded":_P_?1:0,"ip":_K_,"port":port});if(_P_)wrap._YZ=true;}function _Q_(_R_,
_j_){switch(_O_){case -1:{var i=_R_.byteLength;if(i>_ZZ.length){i=_ZZ.length;if(_R_.getUint8(i)==0)while(--i>=0){if(_R_.getUint8(i)!=_ZZ.charCodeAt(i))break;}}if(i<0){_O_=0;var _S_=new ArrayBuffer(16);var _T_=new DataView(_S_);_T_.setUint32(0,__Z,true);_T_.setUint32(4,_0_,true);_T_.setUint32(8,16,true);_p_.send(_S_);}else {console.log("Invalid first response from server");_A_(false);_p_.close();wrap.socket=null;}};break;case 0:{if(_R_.byteLength>=12&&_R_.getUint32(0,true)==_1_&&_R_.getUint32(4,true)==_2_&&_R_.getUint32(8,
true)==12){_O_=1;_A_(true);if(_R_.byteLength>12){_Q_(new DataView(_R_.buffer,_R_.byteOffset+12,_R_.byteLength-12));}}else {console.log("Invalid second response from server");_A_(false);}};break;default :{_f_(_R_,_g_,index,_K_,port,port,_j_);};}}_p_.onopen=function(e){if(_O_>0)_A_(true);};_p_.onmessage=function(e){if(e.data instanceof Blob){var _U_=new FileReader();_U_.onload=function(){_Q_(new DataView(_U_.result),_RZ);};_U_.onerror=function(e){console.log("Failed to read message:",e);};_U_.readAsArrayBuffer(e.data);
}else if(typeof e.data=="string"){var _V_=new TextEncoder();var _W_=_V_.encode(e.data);_Q_(new DataView(_W_.buffer),_SZ);}else {console.log("Failed to process message:",e);}};_p_.onerror=function(e){console.log(e);if(!wrap._YZ)_A_(false);};wrap.socket=_p_;return wrap.index;}catch(e){debug("Connection error: "+e);return -1;}}function network_create_server(_sc,_X_,_n_){return _m_(_sc,_X_,_n_,true);}function network_create_server_raw(_sc,_X_,_n_){return _m_(_sc,_X_,_n_,false);}function network_set_timeout(){_Ma("network_set_timeout()")}
function network_create_socket_ext(_sc,_X_){if(_sc!=_LZ&&_sc!=_MZ){console.log("network_create_socket_ext() - Only network_socket_ws and network_socket_wss are supported on HTML5.");return -1;}return _6_(new _VZ(null,_sc,false));}function network_create_socket(_sc,_X_,_n_){if(_sc!=_LZ&&_sc!=_MZ){console.log("network_create_socket_ext() - Only network_socket_ws and network_socket_wss are supported on HTML5.");return -1;}return _6_(new _VZ(null,_sc,false));}function network_connect(_Y_,_sq,_X_){_Ma("network_connect()");
return -1;}function network_connect_raw(_Y_,_sq,_X_){_Ma("network_connect_raw()");return -1;}function network_connect_async(_Y_,_sq,_X_){return _J_(_Y_,_sq,_X_,true);}function network_connect_raw_async(_Y_,_sq,_X_){return _J_(_Y_,_sq,_X_,false);}function network_resolve(_sq){return "127.0.0.1";}function network_send_broadcast(_Y_,_X_,_wk,_ec){return -1;}function network_send_packet(_Y_,_wk,_ec){var wrap=_4_[_Y_];if(wrap==null)return -1;var _p_=wrap.socket;if(_p_==null||!wrap._YZ)return -1;var _Z_=_fN._I4(_wk);if(_Z_==null)return -1;
var _R_=_Z_.___;var _001=new ArrayBuffer(_ec+12);var _101=new DataView(_001);_101.setUint32(0,_3_,true);_101.setUint32(4,12,true);_101.setUint32(8,_ec,true);for(var i=0;i<_ec;i+=1){_101.setUint8(i+12,_R_.getUint8(i));}_p_.send(_001);return _ec;}function network_send_raw(_Y_,_wk,_ec,_201){var wrap=_4_[_Y_];if(wrap==null)return -1;var _p_=wrap.socket;if(_p_==null||!wrap._YZ)return -1;var _k3=buffer_get_address(_wk);if(_ec<_k3.byteLength)_k3=new DataView(_k3,0,_ec);if(_201!==undefined&&(_201&_SZ)!=0){var _301=new TextDecoder();
_k3=_301.decode(_k3);}_p_.send(_k3);return _ec;}function network_set_config(_401,_yd){}function network_send_udp(_Y_,_sq,_X_,_wk,_ec){return -1;}function network_send_udp_raw(_Y_,_sq,_X_,_wk,_ec){return -1;}function network_destroy(_Y_){var wrap=_4_[_Y_];if(wrap==null)return;var _p_=wrap.socket;if(_p_==null)return;if(wrap._XZ){_p_.close();}else if(_p_.terminate){_p_.terminate();}else if(_p_.close)_p_.close();_7_(wrap);return 0;}function object_exists(_x3){if(!_m2._I4(yyGetInt32(_x3)))return false;return true;}
function object_get_name(_x3){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return "";return _FF.__E;}var _501=object_get_name;function object_get_sprite(_x3){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return -1;return _FF._wP;}function object_get_solid(_x3){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return false;return _FF._601;}function object_get_visible(_x3){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return false;return _FF._701;}function _801(_x3){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return 0;return _FF._901;}function object_get_persistent(_x3){
var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return false;return _FF._a01;}function object_get_mask(_x3){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return -1;return _FF._b01;}function object_get_parent(_x3){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return -1;return _FF._GP;}function object_get_physics(_x3){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return -1;return(_FF._c01.physicsObject?1.0:0.0);}function object_set_sprite(_x3,_G4){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return;_FF._wP=yyGetInt32(_G4);}function object_set_solid(_x3,
_d01){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return;_FF._601=yyGetBool(_d01);}function object_set_visible(_x3,_e01){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return;_FF._701=yyGetBool(_e01);}function object_set_persistent(_x3,_f01){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return;_FF._a01=yyGetBool(_f01);}function object_set_mask(_x3,_G4){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return;_FF._b01=yyGetInt32(_G4);}function _g01(_x3,_h01){var _FF=_m2._I4(yyGetInt32(_x3));if(!_FF)return;_h01=yyGetInt32(_h01);
_FF._GP=_h01;_FF._dE=_m2._I4(_h01);}function object_is_ancestor(_i01,_r5){var _FF=_m2._I4(yyGetInt32(_i01));if(!_FF)return 0;_FF=_FF._dE;while(_FF!==null&&_FF!==undefined){if(_FF._IP===yyGetInt32(_r5))return 1;_FF=_FF._dE;}return 0;}function _j01(_jl){return _k01(_jl,_l01,_4J._m01.length,_4J._m01);}function _n01(_jl,_o01){return _k01(_jl,_p01,_q01.length,_q01,_o01);}function _r01(_s01,_jl,_o01){var _u7=0;var _o5=null;if(!_o01){_o5=_q01[_s01].emitters;_u7=_o5.length;}return _k01(_jl,_t01,_u7,_o5,_o01);}function _u01(_jl,
_o01){return _k01(_jl,_v01,_w01.length,_w01,_o01);}function _x01(_jl){var index=yyGetInt32(_y01);if(_H4._I4(index)==null)_L3("invalid reference to sprite");return index;}function _z01(_A01){var _yA=yyGetInt32(_A01);if(_yA<0||_yA>1)_L3("invalid argument, expecting a time source unit");return _yA;}function _B01(_rT){var _C01=(typeof _rT=="string");var room=_7t._8t();var layer=_C01?_7t._PP(room,yyGetString(_rT)):_7t._QP(room,yyGetInt32(_rT));if(!layer){if(_C01)_L3("invalid argument, layer name ("+_rT+") does not exist");
else _L3("invalid argument, layer ID ("+_rT+") does not exist");}return layer;}function particle_get_info(_x3){var _D01=undefined;var emitters=[];if(_x3 instanceof _Vs&&_x3.type==_p01){_x3=_n01(_x3);var _E01=_q01[_x3];if(_E01!=null){_D01=new _FG();var resource=_4J._I4(_E01._F01);variable_struct_set(_D01,"name",resource?resource.name:"");variable_struct_set(_D01,"xorigin",_E01._G01);variable_struct_set(_D01,"yorigin",_E01._H01);variable_struct_set(_D01,"oldtonew",_E01._I01?true:false);variable_struct_set(_D01,
"global_space",_E01.globalSpaceParticles);for(var i=0;i<_E01.emitters.length;++i){var emitter=_E01.emitters[i];if(emitter){emitters.push(emitter);}}}}else {_x3=_j01(_x3);var _E01=_4J._I4(_x3);if(_E01!=null){_D01=new _FG();variable_struct_set(_D01,"name",_E01.name);variable_struct_set(_D01,"xorigin",_E01.originX);variable_struct_set(_D01,"yorigin",_E01.originY);variable_struct_set(_D01,"oldtonew",(_E01.drawOrder==0));variable_struct_set(_D01,"global_space",_E01.globalSpaceParticles);for(var i=0;i<_E01.emitters.length;
++i){var emitter=_J01[_E01.emitters[i]];if(emitter){emitters.push(emitter);}}}}if(!_D01){return _D01;}var _K01=[];for(var i=0;i<emitters.length;++i){var emitter=emitters[i];var _L01=new _FG();variable_struct_set(_L01,"name",emitter.name);variable_struct_set(_L01,"mode",emitter.mode);variable_struct_set(_L01,"number",emitter._bk);variable_struct_set(_L01,"delay_min",emitter.delayMin);variable_struct_set(_L01,"delay_max",emitter.delayMax);variable_struct_set(_L01,"delay_unit",emitter.delayUnit);variable_struct_set(_L01,
"interval_min",emitter.intervalMin);variable_struct_set(_L01,"interval_max",emitter.intervalMax);variable_struct_set(_L01,"interval_unit",emitter.intervalUnit);variable_struct_set(_L01,"relative",emitter._M01);variable_struct_set(_L01,"xmin",emitter._TY);variable_struct_set(_L01,"xmax",emitter._UY);variable_struct_set(_L01,"ymin",emitter._VY);variable_struct_set(_L01,"ymax",emitter._WY);variable_struct_set(_L01,"distribution",emitter._N01);variable_struct_set(_L01,"shape",emitter.shape);variable_struct_set(_L01,
"enabled",emitter.enabled);var _O01=new _FG();var _P01=_w01[emitter._Q01];variable_struct_set(_O01,"ind",emitter._Q01);variable_struct_set(_O01,"sprite",_P01._OT);variable_struct_set(_O01,"frame",_P01._R01);variable_struct_set(_O01,"animate",_P01._S01);variable_struct_set(_O01,"stretch",_P01._T01);variable_struct_set(_O01,"random",_P01._U01);variable_struct_set(_O01,"shape",_P01.shape);variable_struct_set(_O01,"size_xmin",_P01.sizeMinX);variable_struct_set(_O01,"size_xmax",_P01.sizeMaxX);variable_struct_set(_O01,
"size_ymin",_P01.sizeMinY);variable_struct_set(_O01,"size_ymax",_P01.sizeMaxY);variable_struct_set(_O01,"size_xincr",_P01._V01);variable_struct_set(_O01,"size_yincr",_P01._W01);variable_struct_set(_O01,"size_xwiggle",_P01._X01);variable_struct_set(_O01,"size_ywiggle",_P01._Y01);variable_struct_set(_O01,"xscale",_P01._xQ);variable_struct_set(_O01,"yscale",_P01._yQ);variable_struct_set(_O01,"life_min",_P01._Z01);variable_struct_set(_O01,"life_max",_P01.__01);variable_struct_set(_O01,"death_type",_P01._011);
variable_struct_set(_O01,"death_number",_P01._111);variable_struct_set(_O01,"step_type",_P01._211);variable_struct_set(_O01,"step_number",_P01._311);variable_struct_set(_O01,"speed_min",_P01._411);variable_struct_set(_O01,"speed_max",_P01._511);variable_struct_set(_O01,"speed_incr",_P01._611);variable_struct_set(_O01,"speed_wiggle",_P01._711);variable_struct_set(_O01,"dir_min",_P01._811);variable_struct_set(_O01,"dir_max",_P01._911);variable_struct_set(_O01,"dir_incr",_P01._a11);variable_struct_set(_O01,
"dir_wiggle",_P01._b11);variable_struct_set(_O01,"grav_amount",_P01._c11);variable_struct_set(_O01,"grav_dir",_P01._d11);variable_struct_set(_O01,"ang_min",_P01._e11);variable_struct_set(_O01,"ang_max",_P01._f11);variable_struct_set(_O01,"ang_incr",_P01._g11);variable_struct_set(_O01,"ang_wiggle",_P01._h11);variable_struct_set(_O01,"ang_relative",_P01._i11);variable_struct_set(_O01,"color1",_P01._j11[0]);variable_struct_set(_O01,"color2",_P01._j11[1]);variable_struct_set(_O01,"color3",_P01._j11[2]);
variable_struct_set(_O01,"alpha1",_P01._k11);variable_struct_set(_O01,"alpha2",_P01._l11);variable_struct_set(_O01,"alpha3",_P01._m11);variable_struct_set(_O01,"additive",_P01._n11);variable_struct_set(_L01,"parttype",_O01);_K01.push(_L01);}variable_struct_set(_D01,"emitters",_K01);return _D01;}function part_system_create(_o11){var id=-1;if(_o11===undefined){id=_Vn();}else {_o11=_j01(_o11);var _p11=_4J._I4(_o11);if(_p11!=null){id=_p11._zS();}}return _Ss(_p01,(id!=-1)?id:0xffffffff);}function part_system_destroy(_x3){
_x3=_n01(_x3);return _Zn(_x3);}function part_system_exists(_x3){_x3=_n01(_x3,true);return _q11(_x3);}function part_system_clear(_x3){_x3=_n01(_x3);return _Wn(_x3,true);}function part_system_draw_order(_x3,_r11){_x3=_n01(_x3);return _s11(_x3,_r11);}function part_system_depth(_x3,_Ek){_x3=_n01(_x3);return _Xn(_x3,_Ek);}function part_system_color(_x3,_Qr,_y8){_x3=_n01(_x3);return _t11(_x3,_Qr,_y8);}var part_system_colour=part_system_color;function part_system_position(_x3,_u4,_v4){_x3=_n01(_x3);return _u11(_x3,_u4,
_v4);}function part_system_angle(_x3,_y4){_x3=_n01(_x3);return _v11(_x3,_y4);}function part_system_automatic_update(_x3,_w11){_x3=_n01(_x3);return _x11(_x3,_w11);}function part_system_automatic_draw(_x3,_w11){_x3=_n01(_x3);return _y11(_x3,_w11);}function part_system_update(_x3){_x3=_n01(_x3);return _z11(_x3);}function part_system_drawit(_x3){_x3=_n01(_x3);return _A11(_x3);}function part_particles_create(_x3,_u4,_v4,_B11,_5p){_x3=_n01(_x3);_B11=_u01(_B11);return _C11(_x3,_u4,_v4,_B11,_5p);}function part_particles_create_color(_x3,
_u4,_v4,_B11,_Qr,_5p){_x3=_n01(_x3);_B11=_u01(_B11);return _D11(_x3,_u4,_v4,_B11,_Qr,_5p);}var part_particles_create_colour=part_particles_create_color;function part_particles_burst(_x3,_u4,_v4,_o11){_x3=_n01(_x3);_o11=_j01(_o11);return _E11(_x3,_u4,_v4,_o11);}function part_particles_clear(_x3){_x3=_n01(_x3);return _0o(_x3);}function part_particles_count(_x3){_x3=_n01(_x3);return _F11(_x3);}function part_type_create(){return _Ss(_v01,_9o());};function part_type_destroy(_x3){_x3=_u01(_x3);return _G11(_x3);}function part_type_exists(_x3){
_x3=_u01(_x3,true);return _H11(_x3);}function part_type_clear(_x3){_x3=_u01(_x3);return _I11(_x3);}function part_type_shape(_x3,_2o){_x3=_u01(_x3);return _bo(_x3,_2o);}function part_type_sprite(_x3,_u2,_J11,_K11,_L11){_x3=_u01(_x3);_u2=_x01(_x3);return _go(_x3,_u2,_J11,_K11,_L11);}function part_type_subimage(_x3,_gm){_x3=_u01(_x3);return _M11(_x3,_gm);}function part_type_size(_x3,_N11,_O11,_P11,_Q11){_x3=_u01(_x3);return _co(_x3,_N11,_O11,_P11,_Q11);}function part_type_size_x(_x3,_N11,_O11,_P11,_Q11){_x3=_u01(_x3);
return _R11(_x3,_N11,_O11,_P11,_Q11);}function part_type_size_y(_x3,_N11,_O11,_P11,_Q11){_x3=_u01(_x3);return _S11(_x3,_N11,_O11,_P11,_Q11);}function part_type_scale(_x3,_gn,_hn){_x3=_u01(_x3);return _T11(_x3,_gn,_hn);}function part_type_blend(_x3,_U11){_x3=_u01(_x3);return _V11(_x3,_U11);}function part_type_color1(_x3,_W11){_x3=_u01(_x3);return _X11(_x3,_W11);}var part_type_colour1=part_type_color1;function part_type_color2(_x3,_W11,_Y11){_x3=_u01(_x3);return _do(_x3,_W11,_Y11);}var part_type_colour2=part_type_color2;
function part_type_color3(_x3,_W11,_Y11,_Z11){_x3=_u01(_x3);return __11(_x3,_W11,_Y11,_Z11);}var part_type_colour3=part_type_color3;var _021=part_type_color3;var _121=part_type_color3;function part_type_color_mix(_x3,_W11,_Y11){_x3=_u01(_x3);return _mo(_x3,_W11,_Y11);}var part_type_colour_mix=part_type_color_mix;function part_type_color_rgb(_x3,_221,_321,_421,_521,_621,_721){_x3=_u01(_x3);return _821(_x3,_221,_321,_421,_521,_621,_721);}var part_type_colour_rgb=_821;function part_type_color_hsv(_x3,_921,_a21,
_b21,_c21,_d21,_e21){_x3=_u01(_x3);return _f21(_x3,_921,_a21,_b21,_c21,_d21,_e21);}var part_type_colour_hsv=_f21;function part_type_alpha1(_x3,_g21){_x3=_u01(_x3);return _h21(_x3,_g21);}function part_type_alpha2(_x3,_g21,_i21){_x3=_u01(_x3);return _no(_x3,_g21,_i21);}function part_type_alpha3(_x3,_g21,_i21,_j21){_x3=_u01(_x3);return _k21(_x3,_g21,_i21,_j21);}function part_type_life(_x3,_l21,_m21){_x3=_u01(_x3);return _uo(_x3,_l21,_m21);}function part_type_step(_x3,_n21,_o21){_x3=_u01(_x3);_o21=_u01(_o21,true);
return _Qo(_x3,_n21,_o21);}function part_type_death(_x3,_p21,_q21){_x3=_u01(_x3);_q21=_u01(_q21,true);return _Ro(_x3,_p21,_q21);}function part_type_orientation(_x3,_r21,_s21,_t21,_u21,_v21){_x3=_u01(_x3);return _w21(_x3,_r21,_s21,_t21,_u21,_v21);}function part_type_speed(_x3,_x21,_y21,_z21,_A21){_x3=_u01(_x3);return _Bo(_x3,_x21,_y21,_z21,_A21);}function part_type_direction(_x3,_B21,_C21,_D21,_E21){_x3=_u01(_x3);return _Co(_x3,_B21,_C21,_D21,_E21);}function part_type_gravity(_x3,_F21,_G21){_x3=_u01(_x3);return _Go(_x3,
_F21,_G21);}function part_emitter_create(_s01){_s01=_n01(_s01);return _Ss(_t01,_Zo(_s01));}function part_emitter_destroy(_s01,_x3){_s01=_n01(_s01);_x3=_r01(_s01,_x3);return _3p(_s01,_x3);}function part_emitter_destroy_all(_s01){_s01=_n01(_s01);return _H21(_s01);}function part_emitter_enable(_s01,_x3,_Ry){_s01=_n01(_s01);_x3=_r01(_s01,_x3);return _I21(_s01,_x3,_Ry);}function part_emitter_exists(_s01,_x3){_s01=_n01(_s01,true);_x3=_r01(_s01,_x3,true);return _J21(_s01,_x3);}function part_emitter_clear(_s01,_x3){
_s01=_n01(_s01);_x3=_r01(_s01,_x3);return _K21(_s01,_x3);}function part_emitter_region(_s01,_x3,_Uo,_Vo,_Wo,_Xo,_2o,_L21){_s01=_n01(_s01);_x3=_r01(_s01,_x3);return _0p(_s01,_x3,_Uo,_Vo,_Wo,_Xo,_2o,_L21);}function part_emitter_burst(_s01,_x3,_B11,_5p){_s01=_n01(_s01);_x3=_r01(_s01,_x3);_B11=_u01(_B11);return _6p(_s01,_x3,_B11,_5p);}function part_emitter_stream(_s01,_x3,_B11,_5p){_s01=_n01(_s01);_x3=_r01(_s01,_x3);_B11=_u01(_B11);return _8p(_s01,_x3,_B11,_5p);}function part_emitter_delay(_s01,_x3,_M21,_N21,
_O21){_s01=_n01(_s01);_x3=_r01(_s01,_x3);_O21=_z01(_O21);return _P21(_s01,_x3,_M21,_N21,_O21);}function part_emitter_interval(_s01,_x3,_Q21,_R21,_S21){_s01=_n01(_s01);_x3=_r01(_s01,_x3);_S21=_z01(_S21);return _T21(_s01,_x3,_Q21,_R21,_S21);}function part_emitter_relative(_s01,_x3,_Ry){_s01=_n01(_s01);_x3=_r01(_s01,_x3);return _U21(_s01,_x3,_Ry);}function effect_create_below(_Kb,_u4,_v4,_ec,_Qr){_Up(_V21,yyGetInt32(_Kb),yyGetReal(_u4),yyGetReal(_v4),yyGetInt32(_ec),yyGetInt32(_Qr));}function effect_create_above(_Kb,
_u4,_v4,_ec,_Qr){_Up(_Sp,yyGetInt32(_Kb),yyGetReal(_u4),yyGetReal(_v4),yyGetInt32(_ec),yyGetInt32(_Qr));}function effect_create_layer(__U,_Kb,_u4,_v4,_ec,_Qr){var layer=_B01(__U);if(!_q11(layer._PQ))layer._PQ=_Vn(layer._rd,false);var _Rp=layer._PQ;_Up(_Rp,yyGetInt32(_Kb),yyGetReal(_u4),yyGetReal(_v4),yyGetInt32(_ec),yyGetInt32(_Qr));}function effect_create_depth(_Ek,_Kb,_u4,_v4,_ec,_Qr){_Ek=yyGetInt32(_Ek);var layer=_7t._TS(_x2,_Ek,true);if(layer==null)layer=_7t._US(_x2,_Ek);if(!_q11(layer._PQ))layer._PQ=_Vn(layer._rd,
false);var _Rp=layer._PQ;_Up(_Rp,yyGetInt32(_Kb),yyGetReal(_u4),yyGetReal(_v4),yyGetInt32(_ec),yyGetInt32(_Qr));}function effect_clear(){_0o(_V21);_0o(_Sp);}function part_system_create_layer(__U,_W21,_o11){var id=-1;var layer=_B01(__U);_W21=(_W21!==undefined)?yyGetBool(_W21):false;if(_o11===undefined){id=_Vn(layer._rd,_W21);}else {_o11=_j01(_o11);var _p11=_4J._I4(_o11);if(_p11!=null){id=_p11._zS(layer._rd,_W21);}}return _Ss(_p01,(id!=-1)?id:0xffffffff);}function part_system_get_layer(_x3){_x3=_n01(_x3);return _X21(_x3);
}function part_system_layer(_x3,__U){_x3=_n01(_x3);var layer=_B01(__U);return _Y21(_x3,layer._rd);}function part_system_global_space(_x3,_Ry){_x3=_n01(_x3);return _Z21(_x3,_Ry);}function path_exists(_x3){if(_TX.Paths[yyGetInt32(_x3)])return true;return false;}function path_get_name(_x3){_x3=yyGetInt32(_x3);if(!_TX.Paths[_x3])return "";return _TX.Paths[_x3].name;}function path_get_length(_x3){_x3=yyGetInt32(_x3);if(!_TX.Paths[_x3])return 0;return _TX.Paths[_x3].length;}function path_get_kind(_x3){_x3=yyGetInt32(_x3);
if(!_TX.Paths[_x3])return 0;return _TX.Paths[_x3].kind;}function path_get_closed(_x3){_x3=yyGetInt32(_x3);if(!_TX.Paths[_x3])return true;return _TX.Paths[_x3].closed;}function path_get_precision(_x3){_x3=yyGetInt32(_x3);if(!_TX.Paths[_x3])return 8;return _TX.Paths[_x3].precision;}function path_get_number(_x3){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return 0;if(!_SX.points)return 0;return _SX.points.length;}function path_get_point_x(_x3,_PN){_PN=yyGetInt32(_PN);if(_PN<0)return 0;var _SX=_TX.Paths[yyGetInt32(_x3)];
if(!_SX)return 0;if(!_SX.points)return 0;if(_SX.points.__21>=_PN)return 0;return _SX.points[_PN].x;}function path_get_point_y(_x3,_PN){_PN=yyGetInt32(_PN);if(_PN<0)return 0;var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return 0;if(!_SX.points)return 0;if(_SX.points.__21>=_PN)return 0;return _SX.points[_PN].y;}function path_get_point_speed(_x3,_PN){_PN=yyGetInt32(_PN);if(_PN<0)return 0;var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return 0;if(!_SX.points)return 0;if(_SX.points.__21>=_PN)return 0;return _SX.points[_PN].speed;
}function path_get_x(_x3,_Uj){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return -1;return _SX._031(yyGetReal(_Uj));}function path_get_y(_x3,_Uj){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return -1;return _SX._131(yyGetReal(_Uj));}function path_get_speed(_x3,_Uj){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return -1;return _SX._231(yyGetReal(_Uj));}function path_set_kind(_x3,_Kb){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return -1;_SX._UX(yyGetInt32(_Kb));}function path_set_closed(_x3,_331){var _SX=_TX.Paths[yyGetInt32(_x3)];
if(!_SX)return -1;_SX._WX(yyGetBool(_331));}function path_set_precision(_x3,_ki){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return -1;_SX._431(yyGetInt32(_ki));}function path_add(){var _SX=new _531();_TX._Ke(_SX);return _SX.id;}function path_duplicate(_x3){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return -1;var _631=new _531();_TX._Ke(_631);_631._pP(_SX);return _631.id;}function path_assign(_x3,_up){var _731=_TX.Paths[yyGetInt32(_x3)];if(!_731)return;var _831=_TX.Paths[yyGetInt32(_up)];if(!_831)return;_731._pP(_831);
}function path_start(_j6,_up,_xl,_931,_a31){_j6._xp(yyGetInt32(_up),yyGetReal(_xl),1,0,yyGetBool(_a31),yyGetInt32(_931));}function path_end(_j6){_j6._xp(-1,0,1,0,false,0);}var draw_path=_b31;function _b31(_nf,_c31,_d31,_a31){_c31=yyGetReal(_c31);_d31=yyGetReal(_d31);var _SX=_TX.Paths[yyGetInt32(_nf)];if(!_SX)return;_59.globalAlpha=_Rb;_59.strokeStyle=_hK;var _R5,_T5,_e31;var _f31=0;var _g31=_SX._h31(0);if(!yyGetBool(_a31)){_c31=_c31-_g31.x;_d31=_d31-_g31.y;}else {_c31=0;_d31=0;}_f31=_0k(_SX.length/4.0);if(_f31==0)return;
var first=true;_59._AK();for(var i=0;i<=_f31;i++){_g31=_SX._h31(i/_f31);if(first){_59._BK(_c31+_g31.x,_d31+_g31.y);first=false;}else {_59._CK(_c31+_g31.x,_d31+_g31.y);}}_59._EK();_59._DK();}function path_shift(_nf,_c31,_d31){var _SX=_TX.Paths[yyGetInt32(_nf)];if(!_SX)return;_SX._i31(yyGetReal(_c31),yyGetReal(_d31));}function path_rescale(_nf,_gn,_hn){var _SX=_TX.Paths[yyGetInt32(_nf)];if(!_SX)return;_SX._j31(yyGetReal(_gn),yyGetReal(_hn));}function path_rotate(_nf,_y4){var _SX=_TX.Paths[yyGetInt32(_nf)];
if(!_SX)return;_SX._k31(yyGetReal(_y4));}function path_reverse(_nf){var _SX=_TX.Paths[yyGetInt32(_nf)];if(!_SX)return;_SX._NY();}function path_flip(_nf){var _SX=_TX.Paths[yyGetInt32(_nf)];if(!_SX)return;_SX._l31();}function path_mirror(_nf){var _SX=_TX.Paths[yyGetInt32(_nf)];if(!_SX)return;_SX._m31();}function path_change_point(_nf,_x3,_n31,_o31,_xl){var _SX=_TX.Paths[yyGetInt32(_nf)];if(!_SX)return;_SX._p31(_x3,yyGetReal(_n31),yyGetReal(_o31),yyGetReal(_xl));}function path_delete(_x3){var _SX=_TX.Paths[yyGetInt32(_x3)];
if(!_SX)return;_TX._Pk(_SX);}function path_append(_x3,_up){var _Kj=_TX.Paths[yyGetInt32(_x3)];if(!_Kj)return;var _Lj=_TX.Paths[yyGetInt32(_up)];if(!_Lj)return;_Kj._q31(_Lj);}function path_add_point(_x3,_u4,_v4,_xl){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return 0;_SX._XX(yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_xl));}function path_insert_point(_x3,_PN,_u4,_v4,_xl){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return 0;_SX._r31(yyGetInt32(_PN),yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_xl));}function path_delete_point(_x3,
_PN){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return 0;_SX._s31(yyGetInt32(_PN));}function path_clear_points(_x3){var _SX=_TX.Paths[yyGetInt32(_x3)];if(!_SX)return 0;_SX.__e();}var _t31=new _u31();var _v31=new _u31();var _w31=new _u31();function physics_world_create(_x31){_x31=yyGetReal(_x31);if(_x2._y31){_x2._y31._z31(_x31);if(_z2){_x2._y31._A31(_B2._C2());}else {_x2._y31._A31(_x2._y2());}}else {if(_z2){var physicsWorld=new _B31(_x31,_B2._C2());_x2._y31=physicsWorld;}else {var physicsWorld=new _B31(_x31,_x2._y2());
_x2._y31=physicsWorld;}}}function physics_world_draw_debug(_C31){_x2._y31._D31(yyGetInt32(_C31));}function physics_world_gravity(_E31,_F31){_x2._y31._G31(yyGetReal(_E31),yyGetReal(_F31));}function physics_world_update_speed(_xl){_x2._y31._A31(yyGetInt32(_xl));}function physics_world_update_iterations(_fZ){_x2._y31._H31(yyGetInt32(_fZ));}function physics_pause_enable(_I31){if(yyGetBool(_I31)){_x2._y31._pJ();}else {_x2._y31._J31();}}function physics_fixture_create(){var _K31=_t31._Ke(new _L31());return _K31;
}function physics_fixture_set_kinematic(_M31){var _N31=_t31._I4(yyGetInt32(_M31));_N31._O31();}function physics_fixture_set_density(_M31,_P31){var _N31=_t31._I4(yyGetInt32(_M31));_N31._Q31(yyGetReal(_P31));}function physics_fixture_set_restitution(_M31,_R31){var _N31=_t31._I4(yyGetInt32(_M31));_N31._S31(yyGetReal(_R31));}function physics_fixture_set_friction(_M31,_Dl){var _N31=_t31._I4(yyGetInt32(_M31));_N31._T31(yyGetReal(_Dl));}function physics_fixture_set_collision_group(_M31,_U31){var _N31=_t31._I4(yyGetInt32(_M31));
_N31._V31(yyGetInt32(_U31));}function physics_fixture_set_sensor(_M31,_W31){var _N31=_t31._I4(yyGetInt32(_M31));_N31._X31(yyGetBool(_W31));}function physics_fixture_set_linear_damping(_M31,_Y31){var _N31=_t31._I4(yyGetInt32(_M31));_N31._Z31(yyGetReal(_Y31));}function physics_fixture_set_angular_damping(_M31,_Y31){var _N31=_t31._I4(yyGetInt32(_M31));_N31.__31(yyGetReal(_Y31));}function physics_fixture_set_awake(_M31,_041){var _N31=_t31._I4(yyGetInt32(_M31));_N31._141(yyGetInt32(_041));}function physics_fixture_set_circle_shape(_M31,
_241){var _N31=_t31._I4(yyGetInt32(_M31));_N31._341(yyGetReal(_241)*_x2._y31._441);}function physics_fixture_set_box_shape(_M31,_541,_641){var _N31=_t31._I4(yyGetInt32(_M31));var scale=_x2._y31._441;_N31._741(yyGetReal(_541)*scale,yyGetReal(_641)*scale);}function physics_fixture_set_edge_shape(_M31,_wa,_xa,_ya,_za){var _N31=_t31._I4(yyGetInt32(_M31));var scale=_x2._y31._441;_N31._841(yyGetReal(_wa)*scale,yyGetReal(_xa)*scale,yyGetReal(_ya)*scale,yyGetReal(_za)*scale);}function physics_fixture_set_polygon_shape(_M31){
var _N31=_t31._I4(yyGetInt32(_M31));_N31._941();}function physics_fixture_set_chain_shape(_M31,_S2){var _N31=_t31._I4(yyGetInt32(_M31));_N31._a41(yyGetBool(_S2));}function physics_fixture_add_point(_M31,_b41,_c41){var _N31=_t31._I4(yyGetInt32(_M31));var scale=_x2._y31._441;_N31._d41(yyGetReal(_b41)*scale,yyGetReal(_c41)*scale);}function physics_fixture_bind_ext(_j6,_M31,_nf,_y3,_z3){_y3=yyGetReal(_y3);_z3=yyGetReal(_z3);var _e41=-1;var _f41=-1;var _N31=_t31._I4(yyGetInt32(_M31));var _Ej=yyGetInt32(_nf);if(_Ej==_kZ){
_Ej=_j6.id;}if(_Ej==_JP){var _Zj=_Lm._RY();for(var _4m=0;_4m<_Zj.length;_4m++){var _5t=_Zj[_4m];if(_5t.marked)continue;_e41=_x2._y31._g41(_N31,_5t,_y3,_z3,false);}}else if(_Ej<100000){var _FF=_m2._I4(_Ej);if(_FF===null){return _f41;}var _Zj=_FF._h41();for(var _4m=0;_4m<_Zj.length;_4m++){var _5t=_Zj[_4m];if(_5t.marked)continue;_e41=_x2._y31._g41(_N31,_5t,_y3,_z3,false);}}else {var _5t=_Lm._I4(_Ej);_e41=_x2._y31._g41(_N31,_5t,_y3,_z3,false);}return _e41;}function physics_fixture_bind(_j6,_M31,_nf,_i41,_j41){_M31=yyGetInt32(_M31);
_nf=yyGetInt32(_nf);if(_i41!==undefined&&_j41!==undefined){return physics_fixture_bind_ext(_j6,_M31,_nf,yyGetReal(_i41),yyGetReal(_j41));}else {return physics_fixture_bind_ext(_j6,_M31,_nf,0.0,0.0);}}function physics_fixture_delete(_M31){_t31._vi(yyGetInt32(_M31));}function physics_joint_distance_create(_k41,_l41,_m41,_n41,_o41,_p41,_q41){var _r41=_Lm._I4(yyGetInt32(_k41));var _s41=_Lm._I4(yyGetInt32(_l41));var _t41=_x2._y31._u41(_r41._v41,_s41._v41,yyGetReal(_m41),yyGetReal(_n41),yyGetReal(_o41),yyGetReal(_p41),
yyGetBool(_q41));if(_t41!=-1){return _w31._Ke(_t41);}return -1;}function physics_joint_rope_create(_k41,_l41,_m41,_n41,_o41,_p41,_w41,_q41){var _r41=_Lm._I4(yyGetInt32(_k41));var _s41=_Lm._I4(yyGetInt32(_l41));var _t41=_x2._y31._x41(_r41._v41,_s41._v41,yyGetReal(_m41),yyGetReal(_n41),yyGetReal(_o41),yyGetReal(_p41),yyGetReal(_w41),yyGetBool(_q41));if(_t41!=-1){return _w31._Ke(_t41);}return -1;}function physics_joint_revolute_create(_k41,_l41,_y41,_z41,_A41,_B41,_C41,_D41,_E41,_F41,_q41){var _r41=_Lm._I4(yyGetInt32(_k41));
var _s41=_Lm._I4(yyGetInt32(_l41));var _t41=_x2._y31._G41(_r41._v41,_s41._v41,yyGetReal(_y41),yyGetReal(_z41),(yyGetReal(_A41)*Math.PI)/180.0,(yyGetReal(_B41)*Math.PI)/180.0,yyGetBool(_C41),yyGetReal(_D41),yyGetReal(_E41),yyGetBool(_F41),yyGetBool(_q41));if(_t41!=-1){return _w31._Ke(_t41);}return -1;}function physics_joint_prismatic_create(_k41,_l41,_y41,_z41,_H41,_I41,_J41,_K41,_C41,_L41,_E41,_F41,_q41){var _r41=_Lm._I4(yyGetInt32(_k41));var _s41=_Lm._I4(yyGetInt32(_l41));var _t41=_x2._y31._M41(_r41._v41,
_s41._v41,yyGetReal(_y41),yyGetReal(_z41),yyGetReal(_H41),yyGetReal(_I41),yyGetReal(_J41),yyGetReal(_K41),yyGetBool(_C41),yyGetReal(_L41),yyGetReal(_E41),yyGetBool(_F41),yyGetBool(_q41));if(_t41!=-1){return _w31._Ke(_t41);}return -1;}function physics_joint_pulley_create(_k41,_l41,_m41,_n41,_o41,_p41,_N41,_O41,_P41,_Q41,_R41,_q41){var _r41=_Lm._I4(yyGetInt32(_k41));var _s41=_Lm._I4(yyGetInt32(_l41));var _t41=_x2._y31._S41(_r41._v41,_s41._v41,yyGetReal(_m41),yyGetReal(_n41),yyGetReal(_o41),yyGetReal(_p41),
yyGetReal(_N41),yyGetReal(_O41),yyGetReal(_P41),yyGetReal(_Q41),yyGetReal(_R41),yyGetBool(_q41));if(_t41!=-1){return _w31._Ke(_t41);}return -1;}function physics_joint_wheel_create(_k41,_l41,_T41,_U41,_V41,_W41,_X41,_D41,_E41,_Y41,_Z41,_q41){var _r41=_Lm._I4(yyGetInt32(_k41));var _s41=_Lm._I4(yyGetInt32(_l41));var _t41=_x2._y31.__41(_r41._v41,_s41._v41,yyGetReal(_T41),yyGetReal(_U41),yyGetReal(_V41),yyGetReal(_W41),yyGetBool(_X41),yyGetReal(_D41),yyGetReal(_E41),yyGetReal(_Y41),yyGetReal(_Z41),yyGetBool(_q41));
if(_t41!=-1){return _w31._Ke(_t41);}return -1;}function physics_joint_weld_create(_k41,_l41,_T41,_U41,_051,_Y41,_Z41,_q41){var _r41=_Lm._I4(yyGetInt32(_k41));var _s41=_Lm._I4(yyGetInt32(_l41));var _t41=_x2._y31._151(_r41._v41,_s41._v41,yyGetReal(_T41),yyGetReal(_U41),yyGetReal(_051),yyGetReal(_Y41),yyGetReal(_Z41),yyGetBool(_q41));if(_t41!=-1){return _w31._Ke(_t41);}return -1;}function physics_joint_friction_create(_k41,_l41,_T41,_U41,_251,_351,_q41){var _r41=_Lm._I4(yyGetInt32(_k41));var _s41=_Lm._I4(yyGetInt32(_l41));
var _t41=_x2._y31._451(_r41._v41,_s41._v41,yyGetReal(_T41),yyGetReal(_U41),yyGetReal(_251),yyGetReal(_351),yyGetBool(_q41));if(_t41!=-1){return _w31._Ke(_t41);}return -1;}function physics_joint_gear_create(_k41,_l41,_551,_651,_R41){var _r41=_Lm._I4(yyGetInt32(_k41));var _s41=_Lm._I4(yyGetInt32(_l41));var _751=_w31._I4(yyGetInt32(_551));var _851=_w31._I4(yyGetInt32(_651));if(_751==null||_851==null){_L3("A joint does not exist");return;}var _t41=_x2._y31._951(_r41._v41,_s41._v41,_751,_851,yyGetReal(_R41));
if(_t41!=-1){return _w31._Ke(_t41);}return -1;}function physics_joint_enable_motor(_a51,_b51){var _c51=_w31._I4(yyGetInt32(_a51));if(_c51==null){_L3("A joint does not exist");return;}_c51._d51(yyGetBool(_b51));}function physics_joint_get_value(_a51,_e51){var _c51=_w31._I4(yyGetInt32(_a51));if(_c51==null){_L3("A joint does not exist");return;}return _c51._f51(yyGetInt32(_e51));}function physics_joint_set_value(_a51,_e51,_Zm){var _c51=_w31._I4(yyGetInt32(_a51));if(_c51==null){_L3("A joint does not exist");
return;}return _c51._g51(yyGetInt32(_e51),yyGetReal(_Zm));}function physics_joint_delete(_h51){_h51=yyGetInt32(_h51);var _c51=_w31._I4(_h51);if(_c51!=null){_x2._y31._i51(_c51);}_w31._vi(_h51);}function physics_apply_force(_Ls,_Ri,_Si,_j51,_k51){var scale=_x2._y31._441;var _l51=yyGetReal(_Ri)*scale;var _m51=yyGetReal(_Si)*scale;_Ls._v41._n51(_l51,_m51,yyGetReal(_j51),yyGetReal(_k51));}function physics_apply_impulse(_Ls,_Ri,_Si,_o51,_p51){var scale=_x2._y31._441;var _l51=yyGetReal(_Ri)*scale;var _m51=yyGetReal(_Si)*scale;
_Ls._v41._q51(_l51,_m51,yyGetReal(_o51),yyGetReal(_p51));}function physics_apply_local_force(_Ls,_r51,_s51,_t51,_u51){var scale=_x2._y31._441;var _v51=yyGetReal(_r51)*scale;var _w51=yyGetReal(_s51)*scale;_Ls._v41._x51(_v51,_w51,yyGetReal(_t51),yyGetReal(_u51));}function physics_apply_local_impulse(_Ls,_r51,_s51,_y51,_z51){var scale=_x2._y31._441;var _v51=yyGetReal(_r51)*scale;var _w51=yyGetReal(_s51)*scale;_Ls._v41._A51(_v51,_w51,yyGetReal(_y51),yyGetReal(_z51));}function physics_apply_angular_impulse(_Ls,
_B51){_Ls._v41._C51(yyGetReal(_B51));}function physics_apply_torque(_Ls,_D51){_Ls._v41._E51(yyGetReal(_D51));}function physics_mass_properties(_Ls,_F51,_G51,_H51,_I51){var scale=_x2._y31._441;_Ls._v41._J51(yyGetReal(_F51),yyGetReal(_G51)*scale,yyGetReal(_H51)*scale,yyGetReal(_I51));}function physics_draw_debug(_Ls){if((_Ls._v41!=null)&&(_Ls._v41!=undefined)){_Ls._v41._D31(1.0/_x2._y31._441);}}function physics_test_overlap(_j6,_u4,_v4,_y4,_Ej){_Ej=yyGetInt32(_Ej);var _Ls=_j6;if(_Ej==_kZ){_Ej=_Ls.id;}var x=yyGetReal(_u4)*_x2._y31._441;
var y=yyGetReal(_v4)*_x2._y31._441;var angle=(yyGetReal(_y4)*Math.PI)/180.0;if(_Ej==_JP){var _Zj=_Lm._RY();for(var _4m=0;_4m<_Zj.length;_4m++){var _5t=_Zj[_4m];if(_5t.marked)continue;if(_x2._y31._K51(_j6,_5t,x,y,angle)){return true;}}}else if(_Ej<100000){var _FF=_m2._I4(_Ej);if(_FF===null){return false;}var _Zj=_FF._h41();for(var _4m=0;_4m<_Zj.length;_4m++){var _5t=_Zj[_4m];if(_5t.marked)continue;if(_x2._y31._K51(_j6,_5t,x,y,angle)){return true;}}}else {var _5t=_Lm._I4(_Ej);return _x2._y31._K51(_j6,_5t,x,y,angle);
}}function physics_remove_fixture(_j6,_L51){_L51=yyGetInt32(_L51);var _f41=-1;var _Ej=yyGetInt32(_j6);if(_Ej==_kZ){_Ej=_j6.id;}if(_Ej==_JP){var _Zj=_Lm._RY();for(var _4m=0;_4m<_Zj.length;_4m++){var _5t=_Zj[_4m];if(_5t.marked)continue;if(_5t._v41){_5t._v41._M51(_L51);}}}else if(_Ej<100000){var _FF=_m2._I4(_Ej);if(_FF===null){return _f41;}var _Zj=_FF._h41();for(var _4m=0;_4m<_Zj.length;_4m++){var _5t=_Zj[_4m];if(_5t.marked)continue;if(_5t._v41){_5t._v41._M51(_L51);}}}else {var _5t=_Lm._I4(_Ej);if(_5t._v41){_5t._v41._M51(_L51);
}}}function physics_get_friction(_j6,_L51){if(_j6._v41){return _j6._v41._N51(yyGetInt32(_L51));}return 0.0;}function physics_get_density(_j6,_L51){if(_j6._v41){return _j6._v41._O51(yyGetInt32(_L51));}return 0.0;}function physics_get_restitution(_j6,_L51){if(_j6._v41){return _j6._v41._P51(yyGetInt32(_L51));}return 0.0;}function physics_set_friction(_j6,_L51,_F2){if(_j6._v41){_j6._v41._T31(yyGetInt32(_L51),yyGetReal(_F2));}}function physics_set_density(_j6,_L51,_F2){if(_j6._v41){_j6._v41._Q31(yyGetInt32(_L51),
yyGetReal(_F2));}}function physics_set_restitution(_j6,_L51,_F2){if(_j6._v41){_j6._v41._S31(yyGetInt32(_L51),yyGetReal(_F2));}}function physics_particle_create(_Q51,x,y,_R51,_S51,_q3,alpha,_T51){return _x2._y31._U51(yyGetInt32(_Q51),yyGetReal(x),yyGetReal(y),yyGetReal(_R51),yyGetReal(_S51),yyGetInt32(_q3),yyGetReal(alpha),yyGetInt32(_T51));}function physics_particle_delete(_o8){_x2._y31._V51(yyGetInt32(_o8));}function physics_particle_delete_region_circle(x,y,_W51){_x2._y31._X51(yyGetReal(x),yyGetReal(y),
yyGetReal(_W51));}function physics_particle_delete_region_box(x,y,_Y51,_Z51){_x2._y31.__51(yyGetReal(x),yyGetReal(y),yyGetReal(_Y51),yyGetReal(_Z51));}function physics_particle_delete_region_poly(_061){_061=yyGetInt32(_061);var points=[];for(var _x5=0;_x5<ds_list_size(_061);_x5++){points.push(ds_list_find_value(_061,_x5));}_x2._y31._161(points,points.length>>1);}function physics_particle_group_begin(_Q51,_261,x,y,_361,_R51,_S51,_461,_q3,alpha,_561,_T51){_x2._y31._661(yyGetInt32(_Q51),yyGetInt32(_261),
yyGetReal(x),yyGetReal(y),yyGetReal(_361),yyGetReal(_R51),yyGetReal(_S51),yyGetReal(_461),yyGetInt32(_q3),yyGetReal(alpha),yyGetReal(_561),yyGetInt32(_T51));}function physics_particle_group_circle(_W51){_x2._y31._761(yyGetReal(_W51));}function physics_particle_group_box(_Y51,_Z51){_x2._y31._861(yyGetReal(_Y51),yyGetReal(_Z51));}function physics_particle_group_polygon(){_x2._y31._961();}function physics_particle_group_add_point(x,y){_x2._y31._a61(yyGetReal(x),yyGetReal(y));}function physics_particle_group_end(){
return _x2._y31._b61();}function physics_particle_group_join(_c61,from){_x2._y31._d61(yyGetInt32(_c61),yyGetInt32(from));}function physics_particle_group_delete(_o8){_x2._y31._e61(yyGetInt32(_o8));}function physics_particle_draw(_f61,_T51,_OT,_8n){var _0F=_H4._I4(yyGetInt32(_OT));if(_0F!==null){_x2._y31._g61(yyGetInt32(_f61),yyGetInt32(_T51),_0F,yyGetInt32(_8n));}}function physics_particle_draw_ext(_f61,_T51,_OT,_8n,_xQ,_yQ,angle,_q3,alpha){var _0F=_H4._I4(yyGetInt32(_OT));if(_0F!==null){_x2._y31._h61(yyGetInt32(_f61),
yyGetInt32(_T51),_0F,yyGetInt32(_8n),yyGetReal(_xQ),yyGetReal(_yQ),yyGetReal(angle),yyGetInt32(_q3),yyGetReal(alpha));}}function physics_particle_count(){return _x2._y31._i61();}function physics_particle_get_data(buffer,_j61){var _G9=_fN._I4(yyGetInt32(buffer));if(_G9){_x2._y31._k61(_G9,yyGetInt32(_j61));}}function physics_particle_get_max_count(){return _x2._y31._l61();}function physics_particle_get_radius(){return _x2._y31._m61();}function physics_particle_get_density(){return _x2._y31._n61();}function physics_particle_get_damping(){
return _x2._y31._o61();}function physics_particle_get_gravity_scale(){return _x2._y31._p61();}function physics_particle_set_max_count(_u7){_x2._y31._q61(yyGetInt32(_u7));}function physics_particle_set_radius(_W51){_x2._y31._r61(yyGetReal(_W51));}function physics_particle_set_density(_s61){_x2._y31._t61(yyGetReal(_s61));}function physics_particle_set_damping(_u61){_x2._y31._v61(yyGetReal(_u61));}function physics_particle_set_gravity_scale(scale){_x2._y31._w61(yyGetReal(scale));}function physics_particle_set_flags(_x3,
_x61){_x2._y31._y61(yyGetInt32(_x3),yyGetInt32(_x61));}function physics_particle_set_category_flags(_z61,_x61){_x2._y31._A61(yyGetInt32(_z61),yyGetInt32(_x61));}function physics_particle_set_group_flags(_U31,_C31){_x2._y31._B61(yyGetInt32(_U31),yyGetInt32(_C31));}function physics_particle_get_group_flags(_U31){return _x2._y31._C61(yyGetInt32(_U31));}function physics_particle_get_data_particle(_o8,buffer,_j61){var _G9=_fN._I4(yyGetInt32(buffer));if(_G9){_x2._y31._D61(yyGetInt32(_o8),_G9,yyGetInt32(_j61));
}}function physics_particle_group_count(_E61){return _x2._y31._F61(yyGetInt32(_E61));}function physics_particle_group_get_data(_E61,buffer,_j61){var _G9=_fN._I4(yyGetInt32(buffer));if(_G9){_x2._y31._G61(yyGetInt32(_E61),_G9,yyGetInt32(_j61));}}function physics_particle_group_get_mass(_E61){return _x2._y31._H61(yyGetInt32(_E61));}function physics_particle_group_get_inertia(_E61){return _x2._y31._I61(yyGetInt32(_E61));}function physics_particle_group_get_centre_x(_E61){return _x2._y31._J61(yyGetInt32(_E61));
}function physics_particle_group_get_centre_y(_E61){return _x2._y31._K61(yyGetInt32(_E61));}function physics_particle_group_get_vel_x(_E61){return _x2._y31._L61(yyGetInt32(_E61));}function physics_particle_group_get_vel_y(_E61){return _x2._y31._M61(yyGetInt32(_E61));}function physics_particle_group_get_ang_vel(_E61){return _x2._y31._N61(yyGetInt32(_E61));}function physics_particle_group_get_x(_E61){return _x2._y31._O61(yyGetInt32(_E61));}function physics_particle_group_get_y(_E61){return _x2._y31._P61(yyGetInt32(_E61));
}function physics_particle_group_get_angle(_E61){return _x2._y31._Q61(yyGetInt32(_E61));}var _R61=false;var _S61=false;function room_exists(_x3){var room=_qS._I4(yyGetInt32(_x3));if((room===null)||(room==undefined)){return false;}return true;}function room_get_name(_x3){var _6t=_qS._I4(yyGetInt32(_x3));if(_6t===null)return "";if((_6t._T61===undefined)||(_6t._T61===null))return "";return _6t._T61.pName;}function _U61(_x3){return room_get_name(_x3);}function room_set_width(_x3,_oi){var _6t=_qS._I4(yyGetInt32(_x3));
if(_6t===null)return;_6t._T61.width=yyGetInt32(_oi);}function room_set_height(_x3,_pi){var _6t=_qS._I4(yyGetInt32(_x3));if(_6t===null)return;_6t._T61.height=yyGetInt32(_pi);}function room_set_persistent(_x3,_F2){var _6t=_qS._I4(yyGetInt32(_x3));if(_6t===null)return;var persistent=yyGetBool(_F2);_6t._T61.persistent=persistent;}function room_set_background_color(_x3,_Tb,_nl){var _6t=_qS._I4(yyGetInt32(_x3));if(_6t===null)return;_6t._T61.colour=yyGetInt32(_Tb);_6t._T61.showColour=yyGetBool(_nl);}var room_set_background_colour=room_set_background_color;
function room_get_camera(_V61,_W61){var _6t=_qS._I4(yyGetInt32(_V61));if(_6t){var _X61=_6t._T61.views;if(!_X61)return -1;var _Wy=_X61[yyGetInt32(_W61)];if(_Wy){if(_Wy._Y61!==undefined){return _Wy._Y61;}}}return -1;}function room_set_camera(_V61,_W61,_Z61){_W61=yyGetInt32(_W61);var _6t=_qS._I4(yyGetInt32(_V61));if(_6t){var _X61=_6t._T61.views;if(!_X61){_6t._T61.views=[];_X61=_6t._T61.views;for(var i=0;i<8;i++){_X61[i]={};}}var _Wy=_X61[_W61];if(!_Wy){_X61[_W61]={};_Wy=_X61[_W61];}_Wy._Y61=yyGetInt32(_Z61);}}
function room_get_viewport(_V61,_W61){var _u3=[];_u3[0]=0;_u3[1]=0;_u3[2]=0;_u3[3]=640;_u3[4]=480;var _6t=_qS._I4(yyGetInt32(_V61));if(_6t){var _X61=_6t._T61.views;if(_X61){var _Wy=_X61[yyGetInt32(_W61)];if(_Wy){if(_Wy.visible!==undefined)_u3[0]=_Wy.visible;if(_Wy.xport!==undefined)_u3[1]=_Wy.xport;if(_Wy.yport!==undefined)_u3[2]=_Wy.yport;if(_Wy.wport!==undefined)_u3[3]=_Wy.wport;if(_Wy.hport!==undefined)_u3[4]=_Wy.hport;return _u3;}}}_u3[0]=0;_u3[1]=0;_u3[2]=0;_u3[3]=0;_u3[4]=0;return _u3;}function room_set_viewport(_V61,
_W61,__61,_071,_171,_271,_371){_W61=yyGetInt32(_W61);var _6t=_qS._I4(yyGetInt32(_V61));if(_6t){if(_6t._T61){var _Wy=_6t._T61.views;if(!_Wy){_6t._T61.views=[];for(var i=0;i<8;i++){_6t._T61.views[i]={};}}_Wy=_Wy[_W61];if(_Wy===undefined){_Wy[_W61]={};_Wy=_Wy[_W61];}_Wy.visible=yyGetBool(__61);_Wy.xport=yyGetInt32(_071);_Wy.yport=yyGetInt32(_171);_Wy.wport=yyGetInt32(_271);_Wy.hport=yyGetInt32(_371);}}}function room_set_view_enabled(_x3,_F2){var _6t=_qS._I4(yyGetInt32(_x3));if(_6t){_6t._T61.enableViews=yyGetBool(_F2);
}}function room_add(){var _6t=new _471();_6t._571();_qS._Ke(_6t);return _6t.id;}function room_duplicate(_x3){_x3=yyGetInt32(_x3);var _6t=_qS._I4(_x3);if(!_6t){debug("Trying to duplicate non-existent room.");return 0;}return _qS._671(_x3);}function room_assign(_x3,_Nn){_x3=yyGetInt32(_x3);_Nn=yyGetInt32(_Nn);if(_qS._I4(_x3)&&_qS._I4(_Nn)){_qS._771(_x3,_Nn);return true;}return false;}function room_instance_add(_x3,_u4,_v4,_Ej){var _6t=_qS._I4(yyGetInt32(_x3));if(_6t){var instance_id=_nP++;var _bW=_6t._T61.pInstances.length;
_6t._T61.pInstances[_bW]={x:yyGetReal(_u4),y:yyGetReal(_v4),index:yyGetInt32(_Ej),id:instance_id};return _Ss(_Ts,instance_id);}return 0;}function room_instance_clear(_x3){var _6t=_qS._I4(yyGetInt32(_x3));if(_6t){_6t._871();}}function room_goto_next(){if((_x2._971+1)>=_qS._a71.length)return;_b71=_qS._c71(_x2._971+1).id;}function room_restart(){_b71=_x2.id;};function room_goto(_Nn){_Nn=yyGetInt32(_Nn);var _d71=_qS._I4(_Nn);if((_d71==null)||(_d71==undefined)){_Ch("Error: Room "+_Nn+" is not a valid room index");
}else {_b71=_Nn;}};function room_goto_previous(){if((_x2._971-1)<0)return;_b71=_qS._c71(_x2._971-1).id;};function room_previous(_XG){var _mk=-1;for(var i=0;i<_qS._e71.length;i++){if(_qS._e71[i]==yyGetInt32(_XG))return _mk;_mk=_qS._e71[i];}return -1;};function room_next(_XG){for(var i=0;i<(_qS._e71.length-1);i++){if(_qS._e71[i]==yyGetInt32(_XG)){return _qS._e71[i+1];}}return -1;};function game_end(){_b71=_f71;if(_R61==false){_R61=true;if(typeof(gmlGameEndScripts)=="function"){gmlGameEndScripts();}}if(!_S61){
if(arguments.length>0)show_debug_message("###game_end###"+arguments[0]);else show_debug_message("###game_end###0");_S61=true;}}function game_restart(){g_pBuiltIn.score=0;g_pBuiltIn.lives=0;g_pBuiltIn.health=100;_b71=_g71;}function _h71(_F2){var _i71=null;if(typeof(_F2)=="object"){return _F2;}else {var _j71=yyGetInt32(_F2);_i71=_DS._UV(_j71);}return _i71;}function sequence_create(){var _i71=_DS._k71();if(_i71==null){_L3("sequence_create() - could not create new sequence");}else {return _i71;}return -1;}function sequence_destroy(_l71){
if(arguments.length!=1){_L3("sequence_destroy() - requires a sequence ID or object");}var _i71=_h71(_l71);if(_i71==null){_L3("sequence_destroy() - specified sequence not valid");}else if(_i71._Xq==true){_L3("sequence_destroy() - can't delete a sequence created in the IDE");}else {_DS._m71(_i71);}}function sequence_get(_n71){if(arguments.length!=1){_L3("sequence_get() - requires a sequence ID");}var _i71=_h71(_n71);if(_i71==null){_L3("sequence_get() - specified sequence not valid");}else {return _i71;}}
function sequence_exists(_o71){if(arguments.length!=1){_L3("sequence_exists() - requires a sequence ID or struct");}var _Zq=false;if(typeof(_o71)=="object"){if(_o71 instanceof _p71){if(_DS._q71(_o71)){_Zq=true;}}}else {var _j71=yyGetInt32(_o71);if(_DS._UV(_j71)!=null){_Zq=true;}}return _Zq?1.0:0.0;}function _r71(_sc){if(arguments.length!=1){_L3("sequencekeyframestore_new() - requires a type parameter");}_sc=yyGetInt32(_sc);var _s71=null;switch(_sc){case _t71:case _u71:case _v71:case _w71:case _UT:case _x71:case _y71:case _z71:case _A71:case _B71:case _C71:_s71=new _D71(_sc);
break;default :_L3("Unsupported keyframe store type");break;}if(_s71==null){return -1;}else {return _s71;}}function sequence_keyframe_new(_sc){if(arguments.length!=1){_L3("sequencekeyframe_new() - requires a type parameter");}_sc=yyGetInt32(_sc);var _E71=null;switch(_sc){case _t71:case _u71:case _v71:case _w71:case _F71:case _UT:case _x71:case _y71:case _z71:case _A71:case _B71:case _C71:_E71=new _G71(_sc);break;default :_L3("Unsupported keyframe type");break;}if(_E71==null){return -1;}else {return _E71;}}function sequence_keyframedata_new(_sc){
if(arguments.length!=1){_L3("sequencekeyframedata_new() - requires a type parameter");}_sc=yyGetInt32(_sc);var _JN=null;switch(_sc){case _t71:_JN=new _H71();break;case _u71:_JN=new _I71();break;case _v71:_JN=new _J71();break;case _w71:_JN=new _K71();break;case _F71:_JN=new _L71();break;case _UT:_JN=new _M71();break;case _x71:_JN=new _N71();break;case _y71:_JN=new _O71();break;case _z71:_JN=new _P71();break;case _A71:_JN=new _Q71();break;case _B71:_JN=new _R71();break;case _C71:_JN=new _S71();break;default :_L3("Unsupported keyframe type");
break;}if(_JN==null){return -1;}else {return _JN;}}function sequence_track_new(_sc){if(arguments.length!=1){_L3("sequencetrack_new() - requires a type parameter");}_sc=yyGetInt32(_sc);var _4V=null;switch(_sc){case _t71:_4V=new _T71();break;case _u71:_4V=new _U71();break;case _w71:_4V=new _V71();break;case _F71:_4V=new _W71();break;case _z71:_4V=new _X71();break;case _A71:_4V=new _Y71();break;case _x71:_4V=new _Z71();break;case _y71:_4V=new __71();break;case _v71:_4V=new _081();break;case _181:_4V=new _281();break;case _381:_4V=new _481();
break;case _581:_4V=new _681();break;case _781:_4V=new _881();break;case _981:_4V=new _a81();break;case _UT:_4V=new _b81();break;default :_L3("Unsupported track type");break;}if(_4V==null){return -1;}else {return _4V;}}function sequence_get_objects(_l71){if(arguments.length!=1){_L3("sequence_get_objects() - wrong number of arguments");return;}var _i71=null;_i71=_h71(_l71);if(_i71!=null){return _i71._c81().map((id)=>_Ss(_d81,id));}return -1;}function sequence_instance_override_object(_j6,_aW,_WS){if(arguments.length!=3){
_L3("sequence_instance_override_object() - wrong number of arguments");return;}if((typeof(_j6)!=="object")||(_j6==null)||!(_j6 instanceof _e81)){_L3("sequence_instance_override_object() - specified sequence instance is not valid");return;}var _f81=_j6;var _i71=_DS._UV(_f81._jR);if(_i71!=null){_aW=yyGetInt32(_aW);_WS=yyGetInt32(_WS);_g81.push(_i71);_f81._h81(_i71._TT,_aW,_WS,-1);_g81.pop();}}var _i81=function(){_Ma("yy_texture_get_texel_width()");};var _j81=function(){_Ma("yy_texture_get_texel_height()");
};var _k81=function(){_Ma("texture_set_stage()");};var _l81=function(){_Ma("shader_is_compiled()");};var _m81=function(){_Ma("shader_set()");};var _n81=function(){_Ma("shader_get_uniform()");};var _o81=function(){_Ma("shader_set_uniform_i()");};var _p81=function(){_Ma("shader_set_uniform_f()");};var _q81=function(){_Ma("shader_set_uniform_matrix()");};var _r81=function(){_Ma("shader_set_uniform_matrix()");};var _s81=function(){_Ma("shader_enable_corner_id()");};var _t81=function(){_Ma("shader_set_uniform_array_i()");
};var _u81=function(){_Ma("shader_set_uniform_array_f()");};var _v81=function(){_Ma("shader_set_uniform_buffer_f()");};var _w81=function(){_Ma("shader_set_uniform_matrix_array()");};var _x81=function(index){_Ma("shader_get_name()");};var _y9=-1;function _y81(name){for(var i=0;i<_vD.Shaders.length;i++){if(_vD.Shaders[i].name===name){return i;}}}function texture_get_texel_width(_s7){return _i81(_s7);}function texture_get_texel_height(_s7){return _j81(_s7);}function texture_set_stage(_z81,_fd){_k81(yyGetInt32(_z81),
_fd);}function shaders_are_supported(){return 0;}function shader_is_compiled(_A81){return _l81(yyGetInt32(_A81));}function shader_set(_A81){_A81=yyGetInt32(_A81);_y9=_A81;_m81(_A81);}function shader_reset(){_y9=-1;_m81(-1);}function shader_current(){return _y9;}function shader_get_uniform(_A81,_B81){return _n81(yyGetInt32(_A81),yyGetString(_B81));}function shader_set_uniform_i(){var _C81=arguments[0];var _D81=[].splice.call(arguments,1,arguments.length);_o81(_C81,_D81);}function shader_set_uniform_f(){var _C81=arguments[0];
var _D81=[].splice.call(arguments,1,arguments.length);_p81(_C81,_D81);}function _E81(){var _C81=arguments[0];var _D81=[];_D81[0]=arguments[1];_o81(_C81,_D81);}function shader_set_uniform_matrix(){var _C81=arguments[0];_q81(_C81);}function shader_get_sampler_index(_A81,_fd){return _r81(yyGetInt32(_A81),yyGetString(_fd));}function shader_enable_corner_id(_F81){_s81(yyGetBool(_F81));}function shader_set_uniform_i_array(_G81,_lk){_t81(yyGetInt32(_G81),_lk);}function shader_set_uniform_f_array(_G81,_lk){_u81(yyGetInt32(_G81),
_lk);}function shader_set_uniform_f_buffer(_G81,_wk,_H81,_jd){_v81(yyGetInt32(_G81),yyGetInt32(_wk),yyGetInt32(_H81),yyGetInt32(_jd));}function shader_set_uniform_matrix_array(_G81,_lk){_w81(yyGetInt32(_G81),_lk);}function shader_get_name(_N2){return _x81(_N2);}var _I81=[];var _J81=300000;var _K81=_J81;var _L81=[];var audio_sampledata=[];var _M81=false;var _N81=128;var _O81=100000;var _P81=[];var _Q81=[];var _R81=0;var _S81=200000;var _T81=[];var _U81=[];var _V81=0;var _W81=1024;var _X81=0;var _Y81=[];var _Z81=[];var __81={
_yd:false,_091:undefined};var _191={_291:0,_391:1,_491:2,_591:3,_691:4,_791:5,_891:6};var _991={_a91:0,_b91:1,_c91:2};const _d91={_e91:0,_f91:1};var _g91={_h91:'init',_i91:'loading',_j91:'loaded',_k91:'decoding',_l91:'ready'};const _m91={_n91:'suspended',_o91:'running',_p91:'closed'};const _q91={_i91:"Loading",_n91:"Suspended",_o91:"Running",_p91:"Closed",_r91:"Unknown"};_q91._s91=_q91._r91;var _t91={_u91:"Audio_Play"};var _v91=0;var _w91=1.0;var _x91=0;function _y91(){if(_mm!=_nm)return;_z91.forEach(_U31=>_U31.gain._Q4());
audio_sampledata.forEach(_A91=>_A91.gain._Q4());_I81.forEach(_B91=>_B91._C91());}var _D91;function _E91(){if(_mm!==_nm)return;_F91.disconnect();_F91=_G91(g_WebAudioContext);_F91.connect(g_WebAudioContext.destination);g_WebAudioContext.listener.__j=new _Xy(0,0,0);g_WebAudioContext.listener._H91=new _Xy(0,0,0);g_WebAudioContext.listener._I91=new Array(0,0,0,0,0,0);}function _J91(){if(_mm!==_nm)return;const AudioContext=window.AudioContext||window.webkitAudioContext;g_WebAudioContext=new AudioContext();g_WebAudioContext.addEventListener("statechange",
_K91);_L91=(_M91==_N91);__81=_O91();_F91=_G91(g_WebAudioContext);_F91.connect(g_WebAudioContext.destination);if(__81._yd===true){_P91();}else {g_WebAudioContext.audioWorklet.addModule(_M7+"sound/worklets/audio-worklet.js").catch((_Q91)=>{__81._yd=true;__81._091=_Q91;}).finally(()=>{_P91();});}audio_falloff_set_model(_191._291);var _R91;if(typeof document.hidden!=="undefined"){_D91="hidden";_R91="visibilitychange";}else if(typeof document.mozHidden!=="undefined"){_D91="mozHidden";_R91="mozvisibilitychange";
}else if(typeof document.msHidden!=="undefined"){_D91="msHidden";_R91="msvisibilitychange";}else if(typeof document.webkitHidden!=="undefined"){_D91="webkitHidden";_R91="webkitvisibilitychange";}document.addEventListener(_R91,_S91,false);g_WebAudioContext.listener.__j=new _Xy(0,0,0);g_WebAudioContext.listener._H91=new _Xy(0,0,0);g_WebAudioContext.listener._I91=new Array(0,0,0,0,0,0);audio_listener_position(0,0,0);audio_listener_orientation(0,0,1.0,0,1.0,0.0);_T91();_U91();_V91();}function _W91(){if(g_WebAudioContext==null)return;
if(g_WebAudioContext._X91==true)return;g_WebAudioContext._X91=true;g_WebAudioContext.removeEventListener("statechange",_K91);g_WebAudioContext.close().then(()=>{g_WebAudioContext=null;});}function _G91(_Y91){if(window.AudioContext!==undefined&&_Y91 instanceof window.AudioContext){return new GainNode(_Y91);}else if(window.webkitAudioContext!==undefined&&_Y91 instanceof window.webkitAudioContext){return _Y91.createGain();}return undefined;}function _O91(){const _u3={_yd:false,_091:undefined};if(_YM===_Z91){_u3._yd=true;
_u3._091="Using Safari on iOS.";return _u3;}if(g_WebAudioContext.audioWorklet===undefined){_u3._yd=true;_u3._091="Audio worklets are not supported on this browser.";return _u3;}if(isSecureContext===false){_u3._yd=true;_u3._091="Audio worklets require a secure context.";return _u3;}return _u3;}function __91(){return(__81._yd===true)?_0a1:_1a1;}function _2a1(){try{return new(__91())();}catch(_3a1){console.error("Cannot create audio buses until audio engine is running - check audio_system_is_initialised()");
console.log("Note: exception thrown => "+_3a1);return null;}}function _P91(){if(__81._yd===true){console.warn("Audio Engine: Using audio worklet fallback.\nReason => "+__81._091);}_4a1=_2a1();_4a1._5a1(_F91);g_pBuiltIn.audio_bus_main=_4a1;_K91();}function _6a1(){return _4a1 instanceof _1a1||_4a1 instanceof _0a1;}/*@constructor */function _7a1(){this.buffer=null;this.gain=new _8a1(1);this._9a1=1.0;this.pitch=1.0;this.duration=0.0;this._aa1=0.0;this.loopStart=0.0;this.loopEnd=0.0;this.groupId=0;this.kind=_d91._e91;
this.state=_g91._h91;this._ba1=[];}_7a1.prototype._ca1=function(){for(var i=0;i<this._ba1.length;++i){var _da1=this._ba1[i];switch(_da1[0]){case _t91._u91:_da1[1].play();break;}}this._ba1.length=0;};_7a1.prototype._ea1=function(_fa1,_ga1){if(this.state!=_g91._j91||!_fa1)return false;var _ha1=this;_ha1.state=_g91._k91;g_WebAudioContext.decodeAudioData(_fa1.response,function(buffer){_ha1.buffer=buffer;_ha1.state=_g91._l91;if(_ga1)_ha1._ca1();},function(err){_ha1.state=_g91._j91;debug("ERROR: Failed to decode audio data: "+err);
});return true;};/*@constructor */function _ia1(_ja1){this._ka1=_G91(g_WebAudioContext);this._la1=null;this._C81=0;this.__R(_ja1);}_ia1.prototype.__R=function(_ja1){this._ma1=false;this._na1={_oa1:0.0,_pa1:0.0};this._qa1=null;this._ka1.disconnect();this.gain=new _8a1(_ja1.gain);this._ra1=_ja1.offset;this.pitch=_ja1.pitch;this._la1=_ja1.emitter;this.paused=false;this._sa1=_ja1.asset_index;this.loop=_ja1.loop;this.loopStart=_ja1.loopStart;this.loopEnd=_ja1.loopEnd;this._ta1=false;this.priority=_ja1.priority;
this._ua1=false;this._va1=false;this._wa1=false;this._ka1.gain.value=_xa1._ya1(this);if(this._sa1>=0){this._ua1=_za1(this._sa1);this._va1=_Aa1(this._sa1);this._wa1=_Ba1(this._sa1);if(this._wa1===false){if(this._C81>=_J81){_Y81[this._C81-_J81]=null;}this._C81=_K81;_Y81[_K81-_J81]=this;++_K81;}}};_ia1.prototype.start=function(_wk){const _Ca1=_xa1._Da1(this);const _Ea1=(this.loopEnd>0.0)?this.loopEnd:_wk.duration;const _Fa1=(this.loop===true)&&(_Ca1<_Ea1);this._qa1=new AudioBufferSourceNode(g_WebAudioContext,
{buffer:_wk,loop:_Fa1,loopStart:this.loopStart,loopEnd:this.loopEnd,playbackRate:_xa1._Ga1(this)});this._qa1.onended=(_i2)=>{this._ma1=false;this._qa1=null;if(this._ka1!==null)this._ka1.disconnect();this._la1=null;this._Ha1(false);};this._qa1.connect(this._ka1);this._na1={_oa1:g_WebAudioContext.currentTime,_pa1:_Ca1};this._qa1.start(0,_Ca1);if(this.paused===true)this.pause();};_ia1.prototype.play=function(){if(g_WebAudioContext===null)return;const _Ia1=_Ja1(this._sa1);if(_Ia1.state!==_g91._l91){const _Ka1=_pm._I4(this._sa1);
if(_Ia1.state==_g91._j91&&!this._ua1&&_Ka1){const _La1=_Ma1[_Ka1.pName];if(_La1)_Ia1._ea1(_La1,true);}_Ia1._ba1.push([_t91._u91,this]);return;}if(this._ua1){this._ra1=_xa1._Da1(this);const _Na1=_Oa1(this._sa1);const _Pa1=new XMLHttpRequest();_Pa1.open("GET",_Na1,true);_Pa1.responseType="arraybuffer";_Pa1.onload=()=>{const _Qa1=_Pa1.response;g_WebAudioContext.decodeAudioData(_Qa1).then((_wk)=>{this.start(_wk);});};_Pa1.send();}else {if(this._wa1){const _Ra1=this._sa1-_S81;const _Sa1=_T81[_Ra1];_Sa1.gainnode=this._ka1;
_Sa1._Ta1.connect(this._ka1);_Sa1._Ta1.onended=(_i2)=>{this._ma1=false;};this._na1._oa1=g_WebAudioContext.currentTime;}else {this.start(_Ia1.buffer);}}this._ma1=true;};_ia1.prototype.stop=function(){if(this._ma1===false)return;if(this._sa1>=_S81&&this._sa1<(_S81+_V81)){var _Ua1=this._sa1-_S81;_T81[_Ua1]._Ta1.onended=null;_T81[_Ua1]._Ta1.disconnect();}else if(this._qa1!==null){this._qa1.onended=null;this._qa1.loop=false;this._qa1.stop(0);this._qa1.disconnect();}if(this._ka1!==null)this._ka1.disconnect();
this._la1=null;this._ma1=false;this._Ha1(true);};_ia1.prototype.pause=function(){if(this._ma1===false)return;if(this._wa1){const _Ua1=this._sa1-_S81;_T81[_Ua1]._Ta1.onended=null;_T81[_Ua1]._Ta1.disconnect(0);}else if(this._qa1!==null){this._qa1.onended=null;this._qa1.stop(0);this._qa1.disconnect();this._Va1();}this.paused=true;};_ia1.prototype.resume=function(){if(this._ma1===false||this.paused===false)return;this.paused=false;if(this._sa1>=_S81&&this._sa1<(_S81+_V81)){const _Ua1=this._sa1-_S81;_T81[_Ua1]._Ta1.connect(this._ka1);
_T81[_Ua1]._Ta1.onended=(_i2)=>{this._ma1=false;};}else {this._ra1=this._na1._pa1;this.start(this._qa1.buffer);}};_ia1.prototype._Wa1=function(){if(this._ma1===false)return false;if(this._wa1){var _Xa1=_T81[this._sa1-_S81];if(!_Xa1||!_Xa1._Ta1||!_Xa1._Ta1.onended)return false;return true;}else {if(this._qa1===null)return false;if(this._qa1.playbackState==undefined||this._qa1.playbackState!=this._qa1.FINISHED_STATE||this.paused){return true;}}return false;};_ia1.prototype._Ya1=function(){if(this._ma1===false)return false;
return(this.paused===true);};_ia1.prototype._Za1=function(__a1){if(this._ma1===false)return;this._Va1();this.loop=__a1;if(this._qa1===null)return;const _0b1=this._na1._pa1;this._qa1.loop=(this.loop===true)&&(_0b1<this._1b1());};_ia1.prototype._2b1=function(){if(this._ma1===false)return false;return(this.loop===true);};_ia1.prototype._3b1=function(_4b1){if(this._ma1===false||g_WebAudioContext===null)return;const _5b1=1.0/g_WebAudioContext.sampleRate;const _Ea1=this._1b1();const _6b1=_Ea1-_5b1;_4b1=Math.max(0.0,
_4b1);_4b1=Math.min(_4b1,_6b1);this._Va1();this.loopStart=_4b1;if(this._qa1===null)return;this._qa1.loopStart=_4b1;};_ia1.prototype._7b1=function(_4b1){if(this._ma1===false||g_WebAudioContext===null)return;const _5b1=1.0/g_WebAudioContext.sampleRate;const duration=this._qa1.buffer.duration;const loopStart=this._qa1.loopStart;const _8b1=(_4b1<=0.0)?0.0:(loopStart+_5b1);_4b1=Math.max(_8b1,_4b1);_4b1=Math.min(_4b1,duration);this._Va1();this.loopEnd=_4b1;if(this._qa1===null)return;const _0b1=this._na1._pa1;
const _Ea1=(_4b1>0.0)?_4b1:duration;this._qa1.loop=(this.loop===true)&&(_0b1<_Ea1);this._qa1.loopEnd=_4b1;};_ia1.prototype._9b1=function(){if(this._ma1===false)return 0.0;return this.loopStart;};_ia1.prototype._ab1=function(){if(this._ma1===false)return 0.0;return this.loopEnd;};_ia1.prototype._1b1=function(){if(this._ma1===false)return 0.0;if(this.loopEnd<=0.0)return audio_sound_length(this._sa1);return this.loopEnd;};_ia1.prototype._bb1=function(){if(this._ma1===false)return 0.0;const loopStart=this.loopStart;
const _Ea1=this._1b1();return(_Ea1-loopStart);};_ia1.prototype._Va1=function(){if(g_WebAudioContext===null)return;const _oa1=g_WebAudioContext.currentTime;this._na1={_oa1:_oa1,_pa1:this._cb1(_oa1)};};_ia1.prototype._cb1=function(_db1){if(this._ma1===false||g_WebAudioContext===null)return 0.0;if(this._qa1===null)return _xa1._Da1(this);const _eb1=this._na1;if(this.paused===true)return _eb1._pa1;const pitch=this._qa1.playbackRate.value;if(_db1===undefined)_db1=g_WebAudioContext.currentTime;const _fb1=(_db1-_eb1._oa1)*pitch;
const _Ea1=this._1b1();const _gb1=(_eb1._pa1>_Ea1);const _hb1=this._qa1.loop;let _0b1=_eb1._pa1;if(_hb1===false||_gb1===true){_0b1+=_fb1;}else {const loopStart=this._9b1();const _ib1=loopStart-_eb1._pa1;if(_fb1<_ib1){_0b1+=_fb1;}else {const _jb1=this._bb1();_0b1=loopStart+(_fb1-_ib1)%_jb1;}}return _0b1;};_ia1.prototype._kb1=function(_H81){if(this._ma1===false)return;const duration=audio_sound_length(this._sa1);_H81=Math.max(0.0,_H81);_H81=Math.min(_H81,duration);if(this.paused===true){this._na1._pa1=_H81;}
else {this._ra1=_H81;if(this._qa1===null)return;this._qa1.onended=null;this._qa1.stop();this._qa1.disconnect();this.start(this._qa1.buffer);}};_ia1.prototype._lb1=function(_mb1,_nb1=0){if(this._ma1===false||this._ka1===null)return;this.gain.set(_mb1,_nb1);if(_nb1===0)this._C91();};_ia1.prototype._C91=function(){if(this._ma1===false||this._ka1===null)return;this.gain._Q4();this._ka1.gain.value=_xa1._ya1(this);};_ia1.prototype._ob1=function(_pb1){if(this._ma1===false)return;this._Va1();this.pitch=_pb1;
this._qb1();};_ia1.prototype._qb1=function(){if(this._ma1===false||this._qa1===null)return;this._Va1();this._qa1.playbackRate.value=_xa1._Ga1(this);};_ia1.prototype._rb1=function(){if(this._ma1===false)return null;return _Ja1(this._sa1);};_ia1.prototype._sb1=function(){if(this._ma1===false)return -1;return this._sa1;};_ia1.prototype._Ha1=function(_tb1){const _ub1=_Je._Ke(undefined,undefined,_vb1,undefined);_ub1._wb1=this._C81;_ub1._xb1=this._sa1;_ub1._yb1=_tb1;_ub1._Oe=true;};function _zb1(_F2,_Ab1,_Bb1,
_Cb1,_jl){let _Db1=_F2;if(isNaN(_Db1)===true)_Db1=0.0;if(isNaN(_Ab1)===false)_Db1=Math.max(_Ab1,_Db1);if(isNaN(_Bb1)===false)_Db1=Math.min(_Db1,_Bb1);if(_Db1!==_F2)console.warn(_Cb1+": argument '"+_jl+"' was clamped ("+_F2+" => "+_Db1+").");return _Db1;}function _Eb1(_G81){if(_G81<_J81||_G81>=_K81){debug("Error: invalid sound handle "+_G81);return null;}var sound=_Y81[_G81-_J81];if(sound==undefined){return null;}return sound;}function _za1(_sa1){if(_L91)return false;if(_sa1>=0&&_sa1<audio_sampledata.length){
if(audio_sampledata[_sa1].kind==_d91._f91){return true;}}else if(_sa1<_O81){debug("IsSoundStreamed - Error: soundid "+_sa1+" not found");}return false;}function _Aa1(_sa1){if(_sa1>=_O81&&_sa1<_S81){return true;}return false;}function _Ba1(_sa1){if(_sa1>=_S81&&_sa1<_J81){return true;}return false;}function _Oa1(_Fb1){var sound=_vD.Sounds[_Fb1];if(sound==null){_Hg="";sound=audio_sampledata[_Fb1];if(sound!=null&&sound._Gb1!==undefined){_Hg=_Hb1(sound._Gb1);}return _Hg;}var _Hg=_M7+sound.origName;var _Ib1=sound.extension;
_Hg=_Hb1(_Hg);var index=_Hg.indexOf(_Ib1);if(index>0){_Hg=_Hg.substr(0,index);}if(_Jb1){_Ib1="ogg";}else if(_Kb1){_Ib1="mp3";}else {_Ib1="ogg";}_Hg=_Hg+"."+_Ib1;return _Hg;}var _Lb1=false;var _L91=false;function _Mb1(){return g_WebAudioContext!=null;}function _Nb1(){_Ob1=_Pb1();return _Qb1(_Ob1)===true;}function _Qb1(_Rb1){return _Rb1===_q91._o91;}function _Pb1(){if(_6a1()===false)return _q91._i91;if(_Mb1()===false||g_WebAudioContext.state===_m91._p91)return _q91._p91;if(g_WebAudioContext.state===_m91._n91)return _q91._n91;
if(g_WebAudioContext.state===_m91._o91)return _q91._o91;return _q91._r91;}function _V91(){if(_Lb1)return;_Lb1=true;var _Sb1="mousedown";var _Tb1="mouseup";if("ontouchstart" in window){_Sb1="touchstart";_Tb1="touchend";}if((window.PointerEvent)||(window.navigator.pointerEnabled)||(window.navigator.msPointerEnabled)){_Sb1="pointerdown";_Tb1="pointerup";}var _Ub1=function(){g_WebAudioContext.resume().then(function(){document.body.removeEventListener(_Sb1,_Ub1);document.body.removeEventListener(_Tb1,_Ub1);_Lb1=false;
},function(_091){debug("ERROR: Failed to unlock WebAudio Context. Reason: "+_091);});};document.body.addEventListener(_Sb1,_Ub1,false);document.body.addEventListener(_Tb1,_Ub1,false);}function _K91(){const _Ob1=_Pb1();if(_Ob1!==_q91._s91){debug("Audio Engine => "+_Ob1);_q91._s91=_Ob1;}const _Vb1=_Qb1(_Ob1);const map=ds_map_create();g_pBuiltIn.async_load=map;ds_map_add(map,"event_type","audio_system_status");ds_map_add(map,"status",_Vb1?"available":"unavailable");_m2._n2(_Wb1,0);ds_map_destroy(map);g_pBuiltIn.async_load=-1;
}function audio_system_is_available(){return _Nb1()===true;}function audio_system_is_initialised(){return _6a1()===true;}function audio_sound_is_playable(_Xb1){_Xb1=yyGetInt32(_Xb1);var _ha1=_Ja1(_Xb1);if(_ha1==null)return false;if(!audio_system_is_available())return false;var _Ka1=_pm._I4(_Xb1);if(_ha1.state==_g91._j91&&_Ka1){var _La1=_Ma1[_Ka1.pName];if(_La1)_ha1._ea1(_La1,true);}return(_ha1.state==_g91._l91);}function _Yb1(_ja1){if(_mm!=_nm)return null;var i;var sound;for(i=0;i<_X81;++i){sound=_I81[i];if(!sound._ma1){
sound.__R(_ja1);return sound;}else {if(sound._wa1&&sound._sa1==_ja1.asset_index)return null;const _Zb1=((sound._qa1!=null&&sound._qa1.playbackState!=undefined&&sound._qa1.playbackState==sound._qa1.FINISHED_STATE)&&!sound.paused);if(_Zb1===true){sound.__R(_ja1);return sound;}}}if(_X81<_N81){var __b1=new _ia1(_ja1);_I81[_X81]=__b1;++_X81;return __b1;}var _0c1=_ja1.priority;var _1c1=-1;for(i=0;i<_X81;++i){sound=_I81[i];if(sound.priority<_0c1){_1c1=i;_0c1=sound.priority;}}if(_1c1>=0){debug("killing sound on channel "+_1c1);
var _2c1=_I81[_1c1];_2c1.stop();_2c1.__R(_ja1);return _2c1;}debug("reached max sounds and no lower priority");return null;}function _Ja1(_sa1){var _3c1=null;if(_sa1>=0&&_sa1<=audio_sampledata.length){_3c1=audio_sampledata[_sa1];}else {var _4c1=_sa1-_O81;if(_4c1>=0&&_4c1<_R81){_3c1=_Q81[_4c1];}else {var _Ua1=_sa1-_S81;if(_Ua1>=0&&_Ua1<_V81){_3c1=_U81[_Ua1];}}}return _3c1;}function _5c1(_6c1){const _7c1=audio_emitter_exists(_6c1);if(_7c1===false){_L3("Emitter with index "+_6c1+" does not exist!");return undefined;
}return _L81[_6c1];}function _8c1(_ja1){if(_ja1._9c1())return -1;const _ac1=_Yb1(_ja1);if(_ac1===null)return -1;switch(_ja1.type){case _bc1._cc1:_4a1._dc1(_ac1._ka1);break;case _bc1._ec1:const __j=_ja1.position;_ja1.emitter=new _fc1();_ja1.emitter.setPosition(__j.x,__j.y,__j.z);_ja1.emitter._gc1(__j.falloff_ref,__j.falloff_max,__j.falloff_factor);case _bc1._hc1:_ac1._la1=_ja1.emitter;_ac1._ka1.connect(_ac1._la1._ic1());break;default :debug("Warning: Unknown audio playback type => "+_ja1.type);return -1;}_ac1.play();
return _ac1._C81;}function audio_play_sound(_jc1,_kc1,_S2,_mb1,_H81,_pb1){const _8k=new _lc1({sound:_jc1,priority:_kc1,loop:_S2,gain:_mb1,offset:_H81,pitch:_pb1});return _8c1(_8k);}function audio_play_sound_on(_mc1,_jc1,_S2,_kc1,_mb1,_H81,_pb1){const _8k=new _lc1({emitter:_mc1,sound:_jc1,loop:_S2,priority:_kc1,gain:_mb1,offset:_H81,pitch:_pb1});return _8c1(_8k);}function audio_play_sound_at(_jc1,_u4,_v4,_5c,_nc1,_oc1,_pc1,_S2,_kc1,_mb1,_H81,_pb1){const _8k=new _lc1({sound:_jc1,position:{x:_u4,y:_v4,z:_5c,falloff_ref:_nc1,
falloff_max:_oc1,falloff_factor:_pc1},loop:_S2,priority:_kc1,gain:_mb1,offset:_H81,pitch:_pb1});return _8c1(_8k);}function audio_play_sound_ext(_us){if(typeof _us!=="object")_L3("Error: audio_play_sound_ext => argument must be a struct");const _8k=new _lc1(_us);return _8c1(_8k);}function audio_stop_sound(_Fb1){if(_mm!==_nm)return;_Fb1=yyGetInt32(_Fb1);if(_Fb1>=_J81){const _ac1=_Eb1(_Fb1);if(_ac1===null)return;if(_ac1._wa1){_Y81[_ac1._C81-_J81]=undefined;}_ac1.stop();}else {_I81.filter(_B91=>_B91._sa1===_Fb1).forEach(_B91=>_B91.stop());
}}function audio_pause_sound(_Fb1){if(_mm!==_nm)return;_Fb1=yyGetInt32(_Fb1);if(_Fb1>=_J81){const _ac1=_Eb1(_Fb1);if(_ac1===null)return;_ac1.pause();}else {_I81.filter(_B91=>_B91._sa1===_Fb1).forEach(_B91=>_B91.pause());}}function audio_resume_sound(_Fb1){if(_mm!==_nm)return;_Fb1=yyGetInt32(_Fb1);if(_Fb1>=_J81){const _ac1=_Eb1(_Fb1);if(_ac1===null)return;_ac1.resume();}else {_I81.filter(_B91=>_B91._sa1===_Fb1).forEach(_B91=>_B91.resume());}}function audio_play_music(_Fb1,_qc1){debug("audio_play_music :: deprecated function\n");
}function audio_stop_music(){debug("audio_stop_music :: deprecated function");}function audio_pause_music(){debug("audio_pause_music :: deprecated function");}function audio_resume_music(){debug("audio_resume_music :: deprecated function");}function audio_music_is_playing(){debug("audio_music_is_playing :: deprecated function");return 0;}function audio_exists(_nf){_nf=yyGetInt32(_nf);var _3c1=_Ja1(_nf);if(_3c1!=null)return true;var sound=_Y81[_nf-_J81];if(sound&&sound._ma1)return true;return false;}function audio_sound_get_pitch(_Fb1){
if(_mm==_nm){_Fb1=yyGetInt32(_Fb1);if(_Fb1>=_J81){const _ac1=_Eb1(_Fb1);if(_ac1!=null&&_ac1._ma1){return _ac1.pitch;}}else {const _rc1=_Ja1(_Fb1);if(_rc1!=null&&_Ba1(_Fb1)==false){return _rc1.pitch;}}}return 1.0;}function audio_sound_pitch(_Fb1,_pb1){_Fb1=yyGetInt32(_Fb1);_pb1=yyGetReal(_pb1);if(_Fb1<0)return;if(_mm!=_nm)return;if(_Fb1>=_J81){const _ac1=_Eb1(_Fb1);if(_ac1===null)return;_ac1._ob1(_pb1);}else {const _rc1=_Ja1(_Fb1);if(_rc1==null||_Ba1(_Fb1))return;_rc1.pitch=_pb1;_I81.filter(_B91=>_B91._sa1===_Fb1).forEach(_B91=>_B91._qb1());
}}function audio_sound_get_gain(_N2){if(_mm!=_nm)return;_N2=yyGetInt32(_N2);if(_N2>=_J81){const _ac1=_Eb1(_N2);if(_ac1!=null&&_ac1._ma1)return _ac1.gain.get();}else {const _Ia1=_Ja1(_N2);if(_Ia1!==undefined)return _Ia1.gain.get();}return 0;}function audio_sound_gain(_N2,_mb1,_sc1){_N2=yyGetInt32(_N2);_mb1=yyGetReal(_mb1);_mb1=_zb1(_mb1,0.0,undefined,"audio_sound_gain","gain");_sc1=yyGetInt32(_sc1);_sc1=_zb1(_sc1,0,undefined,"audio_sound_gain","timeMs");if(_N2>=_J81){const _ac1=_Eb1(_N2);if(_ac1===null)return;
_ac1._lb1(_mb1,_sc1);}else {const _Ia1=_Ja1(_N2);if(_Ia1===null)return;_Ia1.gain.set(_mb1,_sc1);if(_sc1>0.0)return;_I81.filter(_B91=>_B91._sa1===_N2).forEach(_B91=>_B91._C91());}}function audio_music_gain(_tc1,time){debug("audio_music_gain :: deprecated function\n");}function _S91(){if(g_WebAudioContext){(document.visibilityState==='visible')?g_WebAudioContext.resume():g_WebAudioContext.suspend();}if(_mm==_nm){if(document[_D91]==true){if(!_M81){_M81=true;_uc1(true);}}else if(document[_D91]==false){if(_M81){
_vc1(true);_M81=false;}}}}function audio_sound_length(_Fb1){if(_mm!==_nm)return -1.0;_Fb1=yyGetInt32(_Fb1);let _xb1=-1;if(_Fb1<_J81){if(_Ja1(_Fb1)!==null)_xb1=_Fb1;}else {const _ac1=_Eb1(_Fb1);if(_ac1!==null)_xb1=_ac1._sa1;}if(_xb1!==-1){if(_za1(_xb1))return audio_sampledata[_xb1].duration;else if(_Aa1(_xb1))return _Q81[_xb1-_O81].buffer.duration;else if(_Ba1(_xb1))return 0.0;else return audio_sampledata[_xb1].buffer.duration;}return -1.0;}function audio_sound_get_track_position(_Fb1){if(_mm!=_nm)return 0;_Fb1=yyGetInt32(_Fb1);
if(_Fb1>=_J81){const _ac1=_Eb1(_Fb1);if(_ac1!=null){return _ac1._cb1();}}else if(_Fb1>=0){const _rc1=_Ja1(_Fb1);if(_rc1!=undefined){return _rc1._aa1;}}return 0.0;}function audio_sound_set_track_position(_Fb1,_d5){if(_mm!=_nm)return;_Fb1=yyGetInt32(_Fb1);_d5=yyGetReal(_d5);if(_Fb1>=_J81){const _ac1=_Eb1(_Fb1);if(_ac1===null)return;_ac1._kb1(_d5);}else if(_Fb1>=0){_d5=_L5(_d5,0);const duration=audio_sound_length(_Fb1);if(_d5<duration){const _ha1=_Ja1(_Fb1);if(_ha1!=undefined){_ha1._aa1=_d5;}}}}function audio_sound_loop(_wc1,
__a1){_wc1=yyGetInt32(_wc1);__a1=yyGetBool(__a1);const _ac1=_Eb1(_wc1);if(_ac1===null)return;_ac1._Za1(__a1);}function audio_sound_get_loop(_wc1){_wc1=yyGetInt32(_wc1);const _ac1=_Eb1(_wc1);if(_ac1===null)return false;return _ac1._2b1();}function audio_sound_loop_start(_N2,_4b1){_N2=yyGetInt32(_N2);_4b1=yyGetReal(_4b1);const _xc1=audio_sound_length(_N2);if(_xc1===-1){debug("audio_sound_loop_start() - could not determine length of asset");return;}_4b1=clamp(_4b1,0,_xc1);if(_N2>=_J81){const _ac1=_Eb1(_N2);
if(_ac1!==null)_ac1._3b1(_4b1);}else {const _Ia1=_Ja1(_N2);if(_Ia1===null){debug("audio_sound_loop_start() - no asset found with index "+_N2);return;}_Ia1.loopStart=_4b1;_I81.filter(_B91=>_B91._sa1===_N2).forEach(_B91=>_B91._3b1(_4b1));}}function audio_sound_get_loop_start(_N2){_N2=yyGetInt32(_N2);if(_N2>=_J81){const _ac1=_Eb1(_N2);if(_ac1===null)return 0.0;return _ac1._9b1();}else {const _Ia1=_Ja1(_N2);if(_Ia1===null){debug("audio_sound_get_loop_start() - no asset found with index "+_N2);return 0.0;}return _Ia1.loopStart;
}}function audio_sound_loop_end(_N2,_4b1){_N2=yyGetInt32(_N2);_4b1=yyGetReal(_4b1);const _xc1=audio_sound_length(_N2);if(_xc1===-1){debug("audio_sound_loop_end() - could not determine length of asset");return;}_4b1=clamp(_4b1,0,_xc1);if(_N2>=_J81){const _ac1=_Eb1(_N2);if(_ac1!==null)_ac1._7b1(_4b1);}else {const _Ia1=_Ja1(_N2);if(_Ia1===null){debug("audio_sound_loop_end() - no asset found with index "+_N2);return;}_Ia1.loopEnd=_4b1;_I81.filter(_B91=>_B91._sa1===_N2).forEach(_B91=>_B91._7b1(_4b1));}}function audio_sound_get_loop_end(_N2){
_N2=yyGetInt32(_N2);if(_N2>=_J81){const _ac1=_Eb1(_N2);if(_ac1===null)return 0.0;return _ac1._ab1();}else {const _Ia1=_Ja1(_N2);if(_Ia1===null){debug("audio_sound_get_loop_end() - no asset found with index "+_N2);return 0.0;}return _Ia1.loopEnd;}}function audio_system(){if(_mm==_nm)return 1;else return 0;}function audio_emitter_exists(_6c1){if(_6c1===undefined)return false;_6c1=yyGetInt32(_6c1);const emitter=_L81[_6c1];return emitter instanceof _fc1&&emitter._yc1()===true;}function audio_get_type(_Fb1){if(_mm!=_nm)return -1;
if(_za1(yyGetInt32(_Fb1))){return 1;}return 0;}function audio_get_name(_N2){if(_mm==_nm){_N2=yyGetInt32(_N2);var _zc1=-1;if(_N2>=_J81){var sound=_Eb1(_N2);if(sound!=null){_zc1=sound._sa1;}}else {_zc1=_N2;}if(_zc1>=0&&_zc1<_vD.Sounds.length){var name=_vD.Sounds[_zc1].pName;return name;}}return "<undefined>";}var _Ac1;var _Bc1;function audio_falloff_set_model(_Cc1){if(_mm!=_nm){return;}_Cc1=yyGetInt32(_Cc1);if(_Cc1==_Bc1)return;var _Dc1=g_WebAudioContext.createPanner();_Bc1=_Cc1;switch(_Cc1){case _191._291:_Ac1=_Dc1.INVERSE_DISTANCE;
if(_Ac1==undefined)_Ac1="inverse";break;case _191._391:_Ac1=_Dc1.INVERSE_DISTANCE;if(_Ac1==undefined)_Ac1="inverse";break;case _191._491:debug("Audio_falloff_inverse_distance_clamped not supported in html5\n");break;case _191._591:_Ac1=_Dc1.LINEAR_DISTANCE;if(_Ac1==undefined)_Ac1="linear";break;case _191._691:debug("Audio_falloff_linear_distance_clamped not supported in html5\n");break;case _191._791:_Ac1=_Dc1.EXPONENTIAL_DISTANCE;if(_Ac1==undefined)_Ac1="exponential";break;case _191._891:debug("Audio_falloff_exponent_distance_clamped not supported in html5\n");
break;default :debug("Attempting to set audio falloff to unknown model\n");break;}_L81.filter(_Ec1=>_Ec1._yc1()===true).forEach(_Ec1=>{_Ec1._Fc1.distanceModel=_Ac1;if(_Bc1==_191._291){_Ec1._Gc1=_Ec1._Fc1.rolloffFactor;_Ec1._Fc1.rolloffFactor=0;}else if(_Ec1._Gc1!==undefined){_Ec1._Fc1.rolloffFactor=_Ec1._Gc1;_Ec1._Gc1=undefined;}});}function _uc1(_Hc1){for(var i=0;i<_X81;++i){var sound=_I81[i];if(sound._ma1){if(!sound.paused){sound.pause();if(_Hc1)sound._ta1=true;}}}}function audio_stop_all(){_I81.forEach(_B91=>_B91.stop());
}function _Ic1(_Jc1){_I81.filter(_B91=>audio_sampledata[_B91._sa1].groupId===_Jc1).forEach(_B91=>_ac1.stop());}function audio_pause_all(){_uc1(false);}function audio_resume_all(){_vc1(false);}function _vc1(_Hc1){for(var i=0;i<_X81;++i){var sound=_I81[i];if(sound._ma1){if(sound.paused){if(_Hc1){if(sound._ta1){sound.resume();sound._ta1=false;}}else {sound.resume();}}}}}function audio_is_paused(_Fb1){if(_mm!==_nm)return false;_Fb1=yyGetInt32(_Fb1);if(_Fb1>=_J81){const _ac1=_Eb1(_Fb1);if(_ac1===null)return false;
return _ac1._Ya1();}return _I81.filter(_B91=>_B91._sa1===_Fb1).some(_B91=>_B91._Ya1());}function audio_is_playing(_Fb1){if(_mm!==_nm)return false;_Fb1=yyGetInt32(_Fb1);if(_Fb1>=_J81){const _ac1=_Eb1(_Fb1);if(_ac1===null)return false;return _ac1._Wa1();}return _I81.filter(_B91=>_B91._sa1===_Fb1).some(_B91=>_B91._Wa1());}function audio_listener_position(_Kc1,_Lc1,_Mc1){if(_mm==_nm){_Kc1=yyGetReal(_Kc1);_Lc1=yyGetReal(_Lc1);_Mc1=yyGetReal(_Mc1);var _Nc1=g_WebAudioContext.listener;_Nc1.setPosition(_Kc1,_Lc1,_Mc1);
if(_Nc1.__j){_Nc1.__j._tz=_Kc1;_Nc1.__j._uz=_Lc1;_Nc1.__j._vz=_Mc1;}else {_Nc1.__j=new _Xy(_Kc1,_Lc1,_Mc1);}}}function audio_listener_velocity(_Kc1,_Lc1,_Mc1){if(_mm==_nm){_Kc1=yyGetReal(_Kc1);_Lc1=yyGetReal(_Lc1);_Mc1=yyGetReal(_Mc1);var _Nc1=g_WebAudioContext.listener;_Nc1.setVelocity(_Kc1,_Lc1,_Mc1);if(_Nc1._H91){_Nc1._H91._tz=_Kc1;_Nc1._H91._uz=_Lc1;_Nc1._H91._vz=_Mc1;}else {_Nc1._H91=new _Xy(_Kc1,_Lc1,_Mc1);}}}function audio_listener_orientation(_Kc1,_Lc1,_Mc1,_Oc1,_Pc1,_Qc1){if(_mm==_nm){_Kc1=yyGetReal(_Kc1);
_Lc1=yyGetReal(_Lc1);_Mc1=yyGetReal(_Mc1);_Oc1=yyGetReal(_Oc1);_Pc1=yyGetReal(_Pc1);_Qc1=yyGetReal(_Qc1);var _Nc1=g_WebAudioContext.listener;_Nc1.setOrientation(_Kc1,_Lc1,_Mc1,_Oc1,_Pc1,_Qc1);if(_Nc1._I91){_Nc1._I91[0]=_Kc1;_Nc1._I91[1]=_Lc1;_Nc1._I91[2]=_Mc1;_Nc1._I91[3]=_Oc1;_Nc1._I91[4]=_Pc1;_Nc1._I91[5]=_Qc1;}else {_Nc1._I91=new Array(_Kc1,_Lc1,_Mc1,_Oc1,_Pc1,_Qc1);}}}function audio_listener_set_position(_Rc1,_u4,_v4,_5c){if(yyGetInt32(_Rc1)==0){audio_listener_position(yyGetReal(_u4),yyGetReal(_v4),
yyGetReal(_5c));}}function audio_listener_set_velocity(_Rc1,_Sc1,_Tc1,_Uc1){if(yyGetInt32(_Rc1)==0){audio_listener_velocity(yyGetReal(_Sc1),yyGetReal(_Tc1),yyGetReal(_Uc1));}}function audio_listener_set_orientation(_Rc1,_Vc1,_Wc1,_Xc1,_Yc1,_Zc1,__c1){if(yyGetInt32(_Rc1)==0){audio_listener_orientation(yyGetReal(_Vc1),yyGetReal(_Wc1),yyGetReal(_Xc1),yyGetReal(_Yc1),yyGetReal(_Zc1),yyGetReal(__c1));}}function audio_listener_get_data(_Rc1){if(yyGetInt32(_Rc1)==0){var _Nc1=g_WebAudioContext.listener;var map=ds_map_create();
ds_map_add(map,"x",_Nc1.__j._tz);ds_map_add(map,"y",_Nc1.__j._uz);ds_map_add(map,"z",_Nc1.__j._vz);ds_map_add(map,"vx",_Nc1._H91._tz);ds_map_add(map,"vy",_Nc1._H91._uz);ds_map_add(map,"vz",_Nc1._H91._vz);ds_map_add(map,"lookat_x",_Nc1._I91[0]);ds_map_add(map,"lookat_y",_Nc1._I91[1]);ds_map_add(map,"lookat_z",_Nc1._I91[2]);ds_map_add(map,"up_x",_Nc1._I91[3]);ds_map_add(map,"up_y",_Nc1._I91[4]);ds_map_add(map,"up_z",_Nc1._I91[5]);return map;}return -1;}function audio_emitter_position(_6c1,_u4,_v4,_5c){
const emitter=_5c1(_6c1);if(emitter===undefined)return;_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_5c=yyGetReal(_5c);emitter.setPosition(_u4,_v4,_5c);}function audio_emitter_get_x(_6c1){const emitter=_5c1(_6c1);if(emitter===undefined)return 0.0;return emitter._0d1();}function audio_emitter_get_y(_6c1){const emitter=_5c1(_6c1);if(emitter===undefined)return 0.0;return emitter._1d1();}function audio_emitter_get_z(_6c1){const emitter=_5c1(_6c1);if(emitter===undefined)return 0.0;return emitter._2d1();}function audio_emitter_create(){
const _3d1=_L81.findIndex(_Ec1=>_Ec1.active===false);if(_3d1!==-1){_L81[_3d1]._4d1();return _3d1;}const emitter=new _fc1();if(emitter===null)return undefined;return _L81.push(emitter)-1;}function audio_emitter_free(_6c1){const emitter=_5c1(_6c1);if(emitter===undefined)return;_I81.filter(_B91=>_B91._la1===emitter).forEach(_B91=>_B91.stop());emitter.gainnode.disconnect();emitter.active=false;}function audio_master_gain(_Kc1){if(_mm!=_nm)return;_F91.gain.value=yyGetReal(_Kc1);}function audio_set_master_gain(_Rc1,
_mb1){if(yyGetInt32(_Rc1)==0){audio_master_gain(yyGetReal(_mb1));}}function audio_get_master_gain(_Rc1){if(yyGetInt32(_Rc1)==0){return _F91.gain.value;}return 0;}function audio_emitter_gain(_6c1,_mb1){const emitter=_5c1(_6c1);if(emitter===undefined)return;_mb1=yyGetReal(_mb1);_mb1=Math.max(0.0,_mb1);emitter.gainnode.gain.value=_mb1;}function audio_emitter_get_gain(_6c1){const emitter=_5c1(_6c1);if(emitter===undefined)return 0.0;return emitter.gainnode.gain.value;}function audio_emitter_pitch(_6c1,_pb1){const emitter=_5c1(_6c1);
if(emitter===undefined)return;_pb1=yyGetReal(_pb1);_pb1=Math.max(0.0,_pb1);emitter.pitch=_pb1;_I81.filter(_B91=>_B91._la1===emitter).forEach(_B91=>_B91._qb1());}function audio_emitter_get_pitch(_6c1){const emitter=_5c1(_6c1);if(emitter===undefined)return 1.0;return emitter.pitch;}function audio_emitter_falloff(_6c1,_5d1,_6d1,_7d1){const emitter=_5c1(_6c1);if(emitter===undefined)return;_5d1=yyGetReal(_5d1);_6d1=yyGetReal(_6d1);_7d1=yyGetReal(_7d1);emitter._gc1(_5d1,_6d1,_7d1);}function audio_channel_num(_8d1){
_8d1=yyGetInt32(_8d1);if(_8d1<_N81){for(var i=_8d1;i<_X81;++i){var sound=_I81[i];if(sound._ma1){sound.stop();}}if(_X81>_8d1)_X81=_8d1;}_N81=_8d1;}function audio_sound_get_listener_mask(_wc1){return 1;}function audio_emitter_get_listener_mask(_6c1){return 1;}function audio_get_listener_mask(){return 1;}function audio_get_listener_count(){return 1;}function audio_get_listener_info(index){if(_mm==_nm){index=yyGetInt32(index);if(index==0){var map=ds_map_create();ds_map_add(map,"name","default");ds_map_add(map,"mask",
1);ds_map_add(map,"index",index);return map;}}return -1;}function audio_debug(_9d1){}/*@this {XMLHttpRequest} */function _ad1(e){if(_mm!=_nm)return;var targetid=e.target.targetid;debug("error loading sound"+targetid);if(targetid!=undefined){debug("AudioError: "+this.URL);this.completed=false;_bd1++;ClearEventListeners(this);}}/*@this {XMLHttpRequest} */function _cd1(e){if(_mm!=_nm)return;var targetid=e.target.targetid;if(_dd1)debug("sound loaded: "+targetid);if(targetid!=undefined){this.completed=true;
ClearEventListeners(this);try{var _ha1=audio_sampledata[targetid];_ha1.state=_g91._k91;g_WebAudioContext.decodeAudioData(e.target.response,function(buffer){_ha1.buffer=buffer;_ha1.state=_g91._l91;_bd1++;},function(err){_ha1.state=_g91._j91;_bd1++;debug("error decoding audio data:"+err);});}catch(_fj){debug("error decoding audio data: "+_fj.message);_bd1++;}}}function _ed1(_i2){if(_mm!=_nm)return;this.completed=true;ClearEventListeners(this);var targetid=_i2.target.targetid;if(_dd1)debug("streamed sound pre-loaded: "+targetid);
var _ha1=audio_sampledata[targetid];if(_ha1){_ha1.state=_g91._j91;}else {debug("ERROR: No sample data sound for sound ID "+targetid+" in Audio_StreamedSoundPreloaded");}}function _fd1(_sq,_nf,_R2,_gd1){var _ha1=audio_sampledata[_nf];_ha1.buffer=null;if(_L91){_hd1(_sq,_nf,_R2,_gd1);}else {_ha1.state=_g91._l91;}}function _id1(e){var targetid=e.target.targetid;debug("Audio_SoundReadyStateChange:targetid/readyState/status:"+targetid+'/'+e.target.readyState+'/'+e.target.status);}function _jd1(e){var targetid=e.target.targetid;
debug("Audio_SoundProgress:targetid/loaded/total:"+targetid+'/'+e._Rg+'/'+e._kd1);}function _ld1(_sq,_gd1){_sq=_Hb1(_sq);var index;index=_sq.indexOf(_gd1);if(index>0){_sq=_sq.substr(0,index);}if(_Jb1){_gd1="ogg";}else if(_Kb1){_gd1="mp3";}else {_gd1="ogg";}_sq=_sq+"."+_gd1;var _Pa1=new XMLHttpRequest();_Pa1.open('GET',_sq,true);_Pa1.responseType='arraybuffer';_Pa1.URL=_sq;_Pa1.completed=false;return _Pa1;}function _md1(_sq,_nf,_R2,_gd1,_nd1){if((_mm!=_nm)||(_od1==false)){return undefined;}var _Pa1=_ld1(_sq,
_gd1);if(_nd1!=undefined){_Pa1.targetid={_E61:_nd1,_zc1:_nf};_Pa1.onload=_pd1;_Pa1.onerror=_qd1;}else {_Pa1.targetid=_nf;_Pa1.onload=_cd1;_Pa1.onerror=_ad1;_Pa1.ontimeout=_ad1;_Pa1._6N=_jd1;_Pa1.onreadystatechange=_id1;}_Pa1.send();_Ma1[_R2]=_Pa1;return _nf;}function _hd1(_sq,_nf,_R2,_gd1){if((_mm!=_nm)||(_od1==false)){return undefined;}var _Pa1=_ld1(_sq,_gd1);_Pa1.targetid=_nf;_Pa1.onload=_ed1;_Pa1.onerror=_ad1;_Pa1.send();_Ma1[_R2]=_Pa1;return _nf;}var _rd1="Unloaded";var _sd1="Loading";var _td1="Loaded";
var _ud1="Unloading";var _vd1=0;var _z91=[];/*@constructor */function _wd1(_Jc1){this.groupId=_Jc1;this._xd1=_rd1;this._yd1=0;this._zd1=0;this._Ad1=[];this.gain=new _8a1(1);}_wd1.prototype._Bd1=function(_Cd1){this._Ad1.push(_Cd1);};_wd1.prototype._Dd1=function(_Ed1){if(this._xd1!=_Ed1){this._xd1=_Ed1;debug("Audio Group "+this.groupId+"-> "+this._xd1);if(_Ed1==_td1){var map=ds_map_create();g_pBuiltIn.async_load=map;ds_map_add(map,"type","audiogroup_load");ds_map_add(map,"group_id",this.groupId);_m2._n2(_Fd1,
0);}}};_wd1.prototype._Gd1=function(){return this.gain.get();};_wd1.prototype._lb1=function(_mb1,_sc1){_mb1=Math.max(0,_mb1);_sc1=Math.max(0,_sc1);this.gain.set(_mb1,_sc1);if(_sc1==0){_I81.forEach(_B91=>{const _xb1=this._Ad1.find(_Hd1=>_Hd1==_B91._sa1);if(_xb1!==undefined)_B91._ka1.gain.value=_xa1._ya1(_B91);});}};/*@this {XMLHttpRequest} */function _pd1(e){var targetid=this.targetid._zc1;var _Id1=this.targetid._E61;if(_dd1)debug("sound loaded "+targetid);if(targetid!=undefined){e.target.completed=true;
ClearEventListeners(this);try{var _ha1=audio_sampledata[targetid];_ha1.state=_g91._k91;g_WebAudioContext.decodeAudioData(e.target.response,function(buffer){_ha1.buffer=buffer;_ha1.state=_g91._l91;_Id1._Jd1();},function(err){_ha1.state=_g91._j91;_Id1._Jd1();debug("error decoding audio data:"+err);});}catch(_fj){debug("error decoding audio data: "+_fj.message);_Id1._Jd1();}}}/*@this {XMLHttpRequest} */function _qd1(e){var targetid=this.targetid._zc1;var _Id1=this.targetid._E61;debug("error loading sound"+targetid);
if(targetid!=undefined){debug("AudioError: "+this.URL);this.completed=false;ClearEventListeners(this);_Id1._Jd1();}}_wd1.prototype._Jd1=function(){this._yd1--;if(this._Ad1.length>0){this._zd1=((this._Ad1.length-this._yd1)*100)/(this._Ad1.length);}if(this._yd1<=0){this._Dd1(_td1);}};_wd1.prototype._w7=function(){if(this._xd1!=_rd1){return 0;}if(this._Ad1.length==0){return 0;}this._Dd1(_sd1);this._yd1=this._Ad1.length;this._zd1=0;var i;for(i=0;i<this._Ad1.length;++i){var index=this._Ad1[i];if(_vD.Sounds[index].kind==_d91._e91){
var id=_md1(_M7+_vD.Sounds[index].origName,index,_vD.Sounds[index].pName,_vD.Sounds[index].extension,this);if(id===undefined)this._Jd1();}else {this._Jd1();}}};_wd1.prototype._Kd1=function(){if(this._xd1!=_td1){return 0;}this._Dd1(_ud1);_Ic1(this.groupId);var i;for(i=0;i<this._Ad1.length;++i){var index=this._Ad1[i];var _ha1=audio_sampledata[index];if(_ha1!=undefined){_ha1.buffer=null;}}this._Dd1(_rd1);};_wd1.prototype._Ld1=function(){if(this._xd1==_td1){return 1;}return 0;};_wd1.prototype._Md1=function(){
if(this._xd1==_td1){return 100;}if(this._xd1==_sd1){return ~~this._zd1;}return 0;};function _T91(){var index;for(index=0;index<_vD.Sounds.length;index++){if(_vD.Sounds[index]!==null){var _ha1=new _7a1();audio_sampledata[index]=_ha1;_ha1.buffer=null;var _Nd1=_vD.Sounds[index].volume;_ha1.gain=new _8a1(_Nd1);_ha1._9a1=_Nd1;_ha1.pitch=1.0;_ha1.kind=_vD.Sounds[index].kind;if(_vD.Sounds[index].duration!=undefined){_ha1.duration=_vD.Sounds[index].duration;}_ha1.groupId=0;var groupId=_vD.Sounds[index].groupId;if(groupId!=undefined){
_ha1.groupId=groupId;}}}}function _U91(){if(_vD.AudioGroups){var i;_vd1=_vD.AudioGroups.length;for(i=0;i<_vd1;++i){_z91[i]=new _wd1(i);}for(i=0;i<audio_sampledata.length;++i){var sound=audio_sampledata[i];if(sound!=undefined){var groupId=sound.groupId;if(_z91[groupId]!=undefined){if(_vD.AudioGroups[groupId].enabled)_z91[groupId]._Bd1(i);}}}}}function audio_group_load(_Jc1){_Jc1=yyGetInt32(_Jc1);if(_Jc1>0&&_Jc1<_vd1){var _Id1=_z91[_Jc1];var result=_Id1._w7();return result;}return 0;}function audio_group_unload(_Jc1){
_Jc1=yyGetInt32(_Jc1);if(_Jc1>0&&_Jc1<_vd1){var _Id1=_z91[_Jc1];var result=_Id1._Kd1();return result;}return 0;}function audio_group_is_loaded(_Jc1){_Jc1=yyGetInt32(_Jc1);if(_Jc1==0){return 1;}if(_Jc1>0&&_Jc1<_vd1){var _Id1=_z91[_Jc1];var result=_Id1._Ld1();return result;}return 0;}function audio_group_load_progress(_Jc1){_Jc1=yyGetInt32(_Jc1);if(_Jc1==0){return 100;}if(_Jc1>0&&_Jc1<_vd1){var _Id1=_z91[_Jc1];var result=_Id1._Md1();return result;}return 0;}function audio_group_name(_Jc1){_Jc1=yyGetInt32(_Jc1);if(_Jc1>=0&&_Jc1<_vd1){
var name=_vD.AudioGroups[_Jc1].name;return name;}return "<undefined>";}function audio_group_stop_all(_Jc1){_Ic1(yyGetInt32(_Jc1));}function audio_group_set_gain(_Jc1,_mb1,_sc1){_Jc1=yyGetInt32(_Jc1);_mb1=yyGetReal(_mb1);_sc1=yyGetInt32(_sc1);const _E61=_z91[_Jc1];if(_E61!==undefined)_E61._lb1(_mb1,_sc1);}function audio_group_get_gain(_Jc1){_Jc1=yyGetInt32(_Jc1);const _E61=_z91[_Jc1];if(_E61!==undefined)return _E61._Gd1();return 1;}function audio_group_get_assets(_Od1){_Od1=yyGetInt32(_Od1);const _E61=_z91[_Od1];
if(_E61===undefined)return [];return _E61._Ad1;}function audio_sound_get_audio_group(_Pd1){_Pd1=yyGetInt32(_Pd1);if(_Pd1>=_J81){const _ac1=_Eb1(_Pd1);if(_ac1===null)return -1;_Pd1=_ac1._sb1();}const _Ia1=_Ja1(_Pd1);if(_Ia1===null)return -1;return _Ia1.groupId;}function audio_create_stream(_rk){var _ha1=new _7a1();_ha1.buffer=null;_ha1.gain=new _8a1(1);_ha1._9a1=1;_ha1.pitch=1;_ha1.kind=_d91._f91;_ha1.duration=-1;_ha1.groupId=0;_ha1._Gb1=yyGetString(_rk);var index=audio_sampledata.length;for(var i=_vD.Sounds.length;
i<audio_sampledata.length;++i){if(audio_sampledata[i]==null){index=i;break;}}audio_sampledata[index]=_ha1;return index;}function audio_destroy_stream(_Fb1){_Fb1=yyGetInt32(_Fb1);const _3c1=audio_sampledata[_Fb1];if(_3c1!=null){if(_3c1._Gb1!==undefined){audio_stop_sound(_Fb1);audio_sampledata[_Fb1]=null;}}}function _Qd1(){if(_mm!=_nm)return null;for(var i=0;i<_R81;i++){const sound=_P81[i];if(sound!=null&&!sound._va1){const _8k=new _lc1({sound:_O81+i,priority:10});sound.__R(_8k);return sound;}}if(_R81<_N81){
const _8k=new _lc1({sound:_O81+_R81,priority:10});var __b1=new _ia1(_8k);_P81[_R81]=__b1;__b1._C81=_O81+_R81;++_R81;return __b1;}return null;}function _Rd1(_Sd1){return _Sd1;}function _Td1(_Sd1){return _Sd1;}function audio_create_buffer_sound(_Ud1,_Vd1,_Wd1,_H81,_Xd1,_Yd1){var __b1=_Qd1();if(__b1==null)return -1;_Ud1=yyGetInt32(_Ud1);_Vd1=yyGetInt32(_Vd1);_Wd1=yyGetInt32(_Wd1);_H81=yyGetInt32(_H81);_Xd1=yyGetInt32(_Xd1);_Yd1=yyGetInt32(_Yd1);var _Zd1=1;if(_Yd1==_991._b91)_Zd1=2;else if(_Yd1>_991._c91){debug("audio_create_buffer_sound - unhandled _channels setting : "+_Yd1);
return -1;}let __d1=8;if(_Vd1==_0e1)__d1=16;else if(_Vd1!=_lN){debug("audio_create_buffer_sound - unhandled _bufferFormat setting : "+_Vd1);return -1;}_Wd1=Math.min(Math.max(_Wd1,8000),48000);buffer_seek(_Ud1,_hj,0);var _1e1=_Xd1;const _2e1=g_WebAudioContext.sampleRate/_Wd1;const _3e1=1.0/_2e1;const _aI=Math.pow(2,__d1-1);const _4e1={length:_Xd1/(_Zd1*__d1/8)*_2e1,numberOfChannels:_Zd1,sampleRate:g_WebAudioContext.sampleRate};const _5e1=new AudioBuffer(_4e1);let _6e1=0.0;for(let _IC=0;_IC<_5e1.length;++_IC){
for(let _7e1=0;_7e1<_5e1.numberOfChannels;++_7e1){const _8e1=_5e1.getChannelData(_7e1);if(_6e1-1.0>=0.0){_8e1[_IC]=(buffer_read(_Ud1,_Vd1)/_aI)-1.0;_6e1-=1.0;}else {_8e1[_IC]=_8e1[_IC-1];}_6e1+=_3e1;}}var _ha1=new _7a1();_ha1.gain=new _8a1(1);_ha1._9a1=1.0;_ha1.pitch=1.0;_ha1.kind=_d91._e91;_ha1.duration=_1e1/(_Wd1*_Zd1*__d1/8);_ha1.groupId=0;_ha1._ba1=[];_ha1.state=_g91._l91;_ha1.buffer=_5e1;_Q81[__b1._C81-_O81]=_ha1;return __b1._C81;}function audio_free_buffer_sound(_Xb1){_Xb1=yyGetInt32(_Xb1);var _4c1=_Xb1-_O81;
if(_4c1<0||_4c1>=_R81){debug("sound "+_Xb1+" does not appear to be a buffer sound, not freeing");return -1;}_P81[_4c1]._va1=false;_Q81[_4c1]=null;return 0;}function _9e1(){if(_mm!=_nm)return null;for(let i=0;i<_V81;i++){const sound=_T81[i];if(sound&&!sound._wa1){const _8k=new _lc1({sound:_S81+i,priority:10});sound.__R(_8k);return sound;}}if(_V81<_N81){var _8C=_V81;for(let i=0;i<_V81;i++){const sound=_T81[i];if(!sound){_8C=i;break;}}const _8k=new _lc1({sound:_S81+_8C,priority:10});var __b1=new _ia1(_8k);_T81[_8C]=__b1;
__b1._C81=_S81+_8C;if(_8C==_V81)++_V81;return __b1;}return null;}function audio_create_play_queue(_ae1,_Wd1,_Yd1){_ae1=yyGetInt32(_ae1);_Wd1=yyGetInt32(_Wd1);_Yd1=yyGetInt32(_Yd1);if(_Yd1!=_991._a91&&_Yd1!=_991._b91&&_Yd1!=_991._c91){debug("audio_create_play_queue: channels should be audio_mono, audio_stereo or audio_3d");return -1;}var _be1=1;if(_Yd1==_991._b91)_be1=2;if(_Wd1<1000)_Wd1=1000;if(_Wd1>48000)_Wd1=48000;if(_ae1!=_lN&&_ae1!=_0e1){debug("audio_create_play_queue: unsupported format (use buffer_u8,buffer_s16)");
return -1;}var __b1=_9e1();if(__b1==null){debug("Failed to create play queue.");return -1;}__b1._ce1=_ae1;__b1._de1=_Wd1;__b1._ee1=_Yd1;__b1._Ta1=g_WebAudioContext.createScriptProcessor(_W81,0,_be1);__b1._Ta1.sourceBuffers=[];__b1._Ta1._fe1=0;__b1._Ta1._ge1=0;__b1._Ta1.onaudioprocess=function(_he1){var outputBuffer=_he1.outputBuffer;var _Ta1=__b1._Ta1;var _ie1=outputBuffer.numberOfChannels;for(var _je1=0;_je1<_W81;_je1++){if(_Ta1.sourceBuffers.length>0){for(let _ke1=0;_ke1<_ie1;_ke1++){const _le1=outputBuffer.getChannelData(_ke1);
_le1[_je1]=_Ta1.sourceBuffers[0].getChannelData(_ke1)[_Ta1._ge1];}_Ta1._ge1++;if(_Ta1._ge1>=_Ta1.sourceBuffers[0].length){var _me1=_Ta1.sourceBuffers.shift();var _Ie=_Je._Ke(__b1._C81,undefined,_ne1,undefined);_Ie._Ra1=__b1._C81;_Ie._oe1=_me1._pe1;_Ie._qe1=0;_Ie._Ne=0;_Ie._Oe=true;_Ta1._ge1=0;}}else {for(let _ke1=0;_ke1<_ie1;_ke1++){const _le1=outputBuffer.getChannelData(_ke1);_le1[_je1]=0;}}}};var _ha1=new _7a1();_ha1.gain=new _8a1(1);_ha1._9a1=1.0;_ha1.pitch=1.0;_ha1.kind=_d91._e91;_ha1.duration=0.0;_ha1.groupId=0;
_ha1._ba1=[];_ha1.state=_g91._l91;_U81[__b1._C81-_S81]=_ha1;return __b1._C81;}function audio_queue_sound(_re1,_Ud1,_H81,_FW){_re1=yyGetInt32(_re1);_Ud1=yyGetInt32(_Ud1);_H81=yyGetInt32(_H81);_FW=yyGetInt32(_FW);var _Ua1=_re1-_S81;if(_Ua1<0&&_Ua1>=_V81){debug("sound "+_re1+" does not appear to be a queue sound, can't queue a sound behind it.");return -1;}var _Sa1=_T81[_Ua1];if(!_Sa1||_T81[_Ua1]._wa1==false){debug("looks like queue sound "+_re1+" has been freed already, not queueing behind it.");return -1;
}{var _Zd1=1;if(_Sa1._ee1==_991._b91)_Zd1=2;else if(_Sa1._ee1>_991._c91){debug("audio_create_buffer_sound - unhandled queueSound.queueChannels setting : "+_Sa1._ee1);return -1;}var __d1=8;if(_Sa1._ce1==_0e1)__d1=16;else if(_Sa1._ce1!=_lN){debug("audio_create_buffer_sound - unhandled queueSound.queueFormat setting : "+_Sa1._ce1);return -1;}buffer_seek(_Ud1,_se1,0);var _1e1=_FW;var wavBuffer=buffer_create(44+_1e1,_te1,1);buffer_write(wavBuffer,_9j,_Rd1(0x46464952));buffer_write(wavBuffer,_9j,_Rd1(36+_1e1));
buffer_write(wavBuffer,_9j,_Rd1(0x45564157));buffer_write(wavBuffer,_9j,_Rd1(0x20746d66));buffer_write(wavBuffer,_9j,_Rd1(16));buffer_write(wavBuffer,_ue1,_Td1(1));buffer_write(wavBuffer,_ue1,_Td1(_Zd1));buffer_write(wavBuffer,_9j,_Rd1(_Sa1._de1));buffer_write(wavBuffer,_9j,_Rd1(_Sa1._de1*_Zd1*__d1/8));buffer_write(wavBuffer,_ue1,_Td1(_Zd1*__d1/8));buffer_write(wavBuffer,_ue1,_Td1(__d1));buffer_write(wavBuffer,_9j,_Rd1(0x61746164));buffer_write(wavBuffer,_9j,_Rd1(_1e1));buffer_copy(_Ud1,_H81,_1e1,
wavBuffer,44);var _G9=buffer_get_address(wavBuffer);_Sa1._Ta1._fe1++;try{g_WebAudioContext.decodeAudioData(_G9,function(buffer){buffer_delete(wavBuffer);buffer._pe1=_Ud1;_Sa1._Ta1.sourceBuffers.push(buffer);_Sa1._Ta1._fe1--;},function(err){debug("error decoding audio data:"+err);buffer_delete(wavBuffer);});}catch(_fj){debug("audio_create_buffer_sound - error decoding audio data: "+_fj+" -- "+_fj.message);}}return -1;}function audio_free_play_queue(_re1){_re1=yyGetInt32(_re1);var _Ua1=_re1-_S81;if(_Ua1<0||_Ua1>=_V81){
debug("sound "+_re1+" does not appear to be a queue sound, not freeing");return -1;}audio_stop_sound(_re1);_T81[_Ua1]._wa1=false;_T81[_Ua1]=undefined;delete _T81[_Ua1];return 0;}navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;function audio_get_recorder_count(){if(navigator.getUserMedia){return 1;}return 0;}function audio_get_recorder_info(_N2){_N2=yyGetInt32(_N2);if(_N2<0||_N2>audio_get_recorder_count()){debug("audio_get_recorder_info - device "+_N2+" is not available");
return -1;}var map=ds_map_create();ds_map_add(map,"name","User provided audio input");ds_map_add(map,"index",0);ds_map_add(map,"data_format",_0e1);ds_map_add(map,"sample_rate",16000);ds_map_add(map,"channels",0);return map;}var _ve1=false;var _we1=undefined;function audio_start_recording(_xe1){var _u7=audio_get_recorder_count();if(_u7<=0){debug("audio_start_recording - not available in this browser.");return -1;}_xe1=yyGetInt32(_xe1);if(_xe1>=_u7){debug("audio_start_recording - device "+_xe1+" is not available.");
return -1;}var _ye1=4096;if(_we1===undefined){_we1=g_WebAudioContext.createScriptProcessor(_ye1,1,1);_we1.wavBuffer=buffer_create(_ye1*2,_te1,1);_we1.onaudioprocess=function(_he1){var inputBuffer=_he1.inputBuffer;buffer_seek(_we1.wavBuffer,_hj,0);var _ze1=g_WebAudioContext.sampleRate/16000;for(var _ke1=0;_ke1<inputBuffer.numberOfChannels;_ke1++){var _Ae1=inputBuffer.getChannelData(_ke1);var _Be1=0;for(var _je1=0;_je1<_ye1;_je1+=_ze1){buffer_write(_we1.wavBuffer,_0e1,Math.round(_Ae1[Math.floor(_je1)]*32767));
++_Be1;}if(_ve1){var map=ds_map_create();g_pBuiltIn.async_load=map;ds_map_add(map,"buffer_id",_we1.wavBuffer);ds_map_add(map,"channel_index",0);ds_map_add(map,"data_len",_Be1*2);_m2._n2(_Ce1,0);}}};var _De1={"audio":true};navigator.getUserMedia(_De1,function(_Ee1){var source=g_WebAudioContext.createMediaStreamSource(_Ee1);source.connect(_we1);var _Fe1=_G91(g_WebAudioContext);_we1.connect(_Fe1);_Fe1.connect(g_WebAudioContext.destination);},function(err){debug("audio_start_recording : error has occured in getUserMedia call "+err);
});}_ve1=true;return 0;}function audio_stop_recording(_xe1){_ve1=false;}function audio_bus_create(){const _Ge1=_2a1();if(_Ge1===null)return undefined;_4a1._dc1(_Ge1._He1);return _Ge1;}function audio_effect_create(_sc,_us){if(_us&&typeof _us!=="object"){_L3("Error: Audio effect parameters must be a struct");return undefined;}return _Ie1._Je1(_sc,_us);}function audio_emitter_bus(_6c1,_Ke1){const emitter=_5c1(_6c1);if(emitter===undefined)return;if(_Ke1 instanceof __91()===false){_L3("audio_emitter_bus() - argument 'bus' should be a Struct.AudioBus");
return;}emitter._Le1(_Ke1);}function audio_emitter_get_bus(_6c1){const emitter=_5c1(_6c1);if(emitter===undefined)return undefined;return emitter._Me1();}function audio_bus_get_emitters(_Ke1){if(_Ke1 instanceof __91()===false){_L3("audio_bus_get_emitters() - argument 'bus' should be a Struct.AudioBus");return undefined;}const _Ne1=[];_L81.forEach((_Ec1,_N2)=>{if(_Ec1._Ge1===_Ke1&&_Ec1._yc1()===true)_Ne1.push(_N2);});return _Ne1;}function audio_bus_clear_emitters(_Ke1){if(_6a1()===false||_Ke1 instanceof __91()===false||_Ke1===_4a1)return;
_L81.filter(_Ec1=>_Ec1._Ge1===_Ke1).filter(_Ec1=>_Ec1._yc1()===true).forEach(_Ec1=>{_Ec1.gainnode.disconnect();_4a1._dc1(_Ec1.gainnode);_Ec1._Ge1=_4a1;});}function lin_to_db(_u4){_u4=yyGetReal(_u4);return 20*Math.log10(_u4);}function db_to_lin(_u4){_u4=yyGetReal(_u4);return Math.pow(10,_u4/20);}function _Oe1(_N2){if(_mm!=_Pe1)return;_pm._rm(_N2);}function _Qe1(_N2){if(_mm!=_Pe1)return;_pm._qm(_N2);}function _Re1(_N2){if(_mm!=_Pe1)return;_pm._Mp(_N2);}function _Se1(){if(_mm!=_Pe1)return;_pm._Te1();}function _Ue1(_N2){
if(_mm!=_Pe1)return false;return _pm._Op(_N2);}function _Ve1(_N2,_Zm){if(_mm!=_Pe1)return;_pm._We1(_N2,_Zm);}function _Xe1(_Zm){if(_mm!=_Pe1)return;_pm._Ye1(_Zm);}function _Ze1(_N2,_Zm,_d5){if(_mm!=_Pe1)return;_pm.__e1(_0k(_N2),_Zm,_0k(_d5));}function _7q(_nf){if(_mm!=_Pe1)return false;if(_pm._I4(_nf)===null)return false;return true;}function _0f1(_1f1){if(_mm!=_Pe1)return -1;var _3c1=_pm._I4(_1f1);if(_3c1===null)return -1;return _3c1.kind;}function _9J(_nf){if(_mm!=_Pe1)return "";var _3c1=_pm._I4(_nf);if(_3c1===null)return "";
return _3c1.pName;}function _2f1(_nf){if(_mm!=_Pe1)return "";return _9J(_nf);}function _3f1(_2q,_Kb,_4f1){_2q=_Hb1(_2q);if(_mm!=_Pe1)return;var _Ib1=filename_ext(_2q);if(_2q.substring(0,5)=="file:")return -1;var _4s=_Ib1;_5f1(_4s,_2q,_Ib1,_5s,_6s);var _zV=_pm._Je1();var _6f1=_pm._I4(_zV);_6f1.pName=_2q;_6f1.extension=_Ib1;_6f1.origName=_2q;_Je._Ke(_zV,_2q,_7f1,_Ma1[_2q]);return _zV;}function _8q(_N2,_2q,_Kb,_4f1){if(_mm!=_Pe1)return;_Re1(_N2);var _Ib1=filename_ext(_2q);if(_2q.substring(0,5)=="file:")return -1;
var _4s=_Ib1;_5f1(_4s,_2q,_Ib1,_5s,_6s);var _6f1=_pm._I4(_N2);_Ma1[_6f1.pName]=undefined;_6f1._8f1=[];_6f1.pName=_2q;_6f1.extension=_Ib1;_6f1.origName=_2q;_Je._Ke(_N2,_2q,_7f1,_Ma1[_6f1.pName]);return _N2;}function _9f1(_N2){if(_mm!=_Pe1)return;_pm._Pk(_N2);}var _af1=0,_bf1=1,_cf1=2,_df1=3;function sprite_exists(_N2){if(_H4._I4(yyGetInt32(_N2))==null)return false;return true;}function sprite_get_width(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;return _0F.width;}function sprite_get_height(_N2){
var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;return _0F.height;}function sprite_get_name(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return "";return _0F.pName;}function _ef1(_N2){return sprite_get_name(_N2);}function sprite_get_number(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;return _0F._I5;}function _ff1(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;return _0F.transparent;}function sprite_get_xoffset(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;return _0F.xOrigin;
}function sprite_get_yoffset(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;return _0F.yOrigin;}function sprite_get_bbox_left(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;return _0F._MO.left;}function sprite_get_bbox_right(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;return _0F._MO.right;}function sprite_get_bbox_top(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;return _0F._MO.top;}function sprite_get_bbox_bottom(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return 0;
return _0F._MO.bottom;}function sprite_get_bbox_mode(_N2){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return -1;return _0F._gf1;}function sprite_set_offset(_N2,_PJ,_QJ){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return;_0F.xOrigin=yyGetReal(_PJ);_0F.yOrigin=yyGetReal(_QJ);_0F._hf1();}function sprite_set_bbox(_N2,_Mr,_Nr,_if1,_jf1){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F===null)return;_0F._MO.left=yyGetInt32(_Mr);_0F._MO.top=yyGetInt32(_Nr);_0F._MO.right=yyGetInt32(_if1);_0F._MO.bottom=yyGetInt32(_jf1);
}function sprite_set_bbox_mode(_N2,_Eq){var _0F=_H4._I4(yyGetInt32(_N2));if(_0F==null)return;_Eq=yyGetInt32(_Eq);if((_Eq<0)||(_Eq>2))return;if(_Eq==_0F._gf1)return;_0F._gf1=_Eq;}function sprite_set_alpha_from_sprite(_tj,_si){var _Kj=_H4._I4(yyGetInt32(_tj));if(_Kj===null)return false;if(!_Kj._Br){_L3("Error: Can't set the alpha channel of normal sprite. It must 'duplicated' first");return false;}var _Lj=_H4._I4(yyGetInt32(_si));if(_Lj===null)return false;var _u7=_Lj._I5;if(_u7>_Kj._I5){_u7=_Kj._I5;}for(var i=0;
i<_u7;i++){var _kf1=_Kj._G3[i];var _lf1=_Lj._G3[i];_1s(_kf1,_lf1);}return true;}var _mf1=_nf1;function _nf1(_x3,_u4,_v4,_oi,_pi,_cr,_dr){_x3=yyGetInt32(_x3);_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);_cr=yyGetBool(_cr);var _of1=document.createElement(_cE);var _pf1=_of1.getContext('2d');_qf1(_pf1);var _rf1=_H4._I4(_x3);_rf1._I5++;_of1.width=_rf1.width;_of1.height=_rf1.height;_pf1._sf1(canvas,_u4,_v4,_oi,_pi,0,0,_of1.width,_of1.height);if(_cr){_of1.complete=_ir(_pf1,_oi,
_pi);}else {_of1.complete=true;}_rf1._I5++;var _F3=new _lr();_rf1._G3[_rf1._G3.length]=_F3;_F3.x=0;_F3.y=0;_F3.w=_rf1.width;_F3.h=_rf1.height;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_Cr(_of1);_F3.texture=_J3[_F3.tp];_F3.texture.complete=true;return _x3;}var sprite_create_from_surface=_tf1;function _tf1(_nf,_u4,_v4,_oi,_pi,_cr,_dr,_uf1,_vf1){_nf=yyGetInt32(_nf);_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);_cr=yyGetBool(_cr);
_uf1=yyGetInt32(_uf1);_vf1=yyGetInt32(_vf1);var _of1=document.createElement(_cE);var _pf1=_of1.getContext('2d');_qf1(_pf1);_of1.width=_gr._I4(_nf).width;_of1.height=_gr._I4(_nf).height;_pf1._sf1(_gr._I4(_nf),0,0);if(_cr){_of1.complete=_ir(_pf1,_oi,_pi);}else {_of1.complete=true;}var _rf1=new _wf1();var _zV=_H4._xf1(_rf1);_rf1.pName="surface.copy";_rf1.width=_oi;_rf1.height=_pi;_rf1._MO=new _ME();_rf1._MO.right=_rf1.width;_rf1._MO.bottom=_rf1.height;_rf1.transparent=true;_rf1.smooth=true;_rf1.preload=true;
_rf1._gf1=0;_rf1._5q=_yf1._zf1;_rf1.xOrigin=_uf1;_rf1.yOrigin=_vf1;_rf1._Br=true;_rf1._I5=1;_rf1._Af1=false;_rf1._Bf1=false;_rf1._J5=[];_rf1._G3=[];_rf1.Masks=[];_rf1._hf1();var _F3=new _lr();_rf1._G3[0]=_F3;_F3.x=0;_F3.y=0;_F3.w=_rf1.width;_F3.h=_rf1.height;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_Cr(_of1);_F3.texture=_J3[_F3.tp];_F3.texture.complete=true;_Cf1(_F3);return _zV;}var sprite_add_from_surface=_Df1;function _Df1(_x3,_nf,_u4,_v4,
_oi,_pi,_cr,_dr){_x3=yyGetInt32(_x3);_nf=yyGetInt32(_nf);_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);_cr=yyGetBool(_cr);var _of1=document.createElement(_cE);var _pf1=_of1.getContext('2d');_qf1(_pf1);var _rf1=_H4._I4(_x3);_rf1._I5++;_of1.width=_rf1.width;_of1.height=_rf1.height;_pf1._sf1(_gr._I4(_nf),0,0,_oi,_pi,0,0,_of1.width,_of1.height);if(_cr){_of1.complete=_ir(_pf1,_oi,_pi);}else {_of1.complete=true;}var _F3=new _lr();_rf1._G3[_rf1._G3.length]=_F3;_F3.x=0;_F3.y=0;
_F3.w=_rf1.width;_F3.h=_rf1.height;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_Cr(_of1);_F3.texture=_J3[_F3.tp];_F3.texture.complete=true;return _x3;}function sprite_delete(_x3){_H4._Pk(yyGetInt32(_x3));}function sprite_save(_x3,_gm,_2q){_Ma("sprite_save()");}var sprite_duplicate=_Ef1;function _Ef1(_x3){var _0F=_H4._I4(yyGetInt32(_x3));if(_0F==null)return 0;var _rf1=new _wf1();var _zV=_H4._xf1(_rf1);_rf1.pName=_0F.pName+".copy";_rf1.width=_0F.width;
_rf1.height=_0F.height;_rf1._MO._ri(_0F._MO);_rf1.transparent=_0F.transparent;_rf1.smooth=_0F.smooth;_rf1.preload=_0F.preload;_rf1._gf1=_0F._gf1;_rf1._5q=_0F._5q;_rf1.xOrigin=_0F.xOrigin;_rf1.yOrigin=_0F.yOrigin;_rf1._Br=true;_rf1._I5=_0F._I5;_rf1._Ff1=_0F._Ff1;_rf1._Af1=_0F._Af1;_rf1.playbackspeedtype=_0F.playbackspeedtype;_rf1.playbackspeed=_0F.playbackspeed;_rf1._Bf1=_0F._Bf1;_rf1._J5=[];_rf1._G3=[];_rf1.Masks=[];for(var i=0;i<_0F._I5;i++){var _F3=new _lr();_rf1._G3[i]=_F3;_F3._Br(_0F._G3[i]);var _zr=_Ar(_0F._G3[i]);
_F3.tp=_Cr(_zr);_F3.x=0;_F3.y=0;_F3.texture=_J3[_F3.tp];_F3.texture.complete=true;}return _zV;}function sprite_add(_rk,_Gf1,_cr,_dr,_uf1,_vf1,_Hf1){_rk=yyGetString(_rk);_Gf1=yyGetInt32(_Gf1);if(_Gf1<0)return -1;if(_Gf1==0)_Gf1=1;var _rf1=new _wf1();_rf1._If1=true;if(_rk.substring(0,5)=="file:")return -1;_rf1.pName=_rk;if(_Hf1!=undefined){if(_Hf1){_rf1._O7=true;}}var _zV=_H4._xf1(_rf1);if(_rk.endsWith('.json')){_rf1._Jf1(_rk,function(err){var _Nk=_Je._Ke(_zV,_rk,_Kf1,{});_Nk._Oe=true;_Nk._Ne=err?_tE:_pE;
});return _zV;}var _4s=_rk;var _W3=_L7(_4s);_J3[_W3].onload=_5s;_J3[_W3].onerror=_6s;_Je._Ke(_zV,_rk,_Kf1,_J3[_W3]);_rf1.width=-1;_rf1.height=-1;_rf1._MO=new _ME();_rf1._MO.right=0;_rf1._MO.bottom=0;_rf1.transparent=_cr;_rf1.smooth=yyGetBool(_dr);_rf1.preload=true;_rf1._gf1=0;_rf1._5q=_yf1._zf1;_rf1.xOrigin=yyGetInt32(_uf1);_rf1.yOrigin=yyGetInt32(_vf1);_rf1._Br=false;_rf1._I5=_Gf1;_rf1._Ff1=0;_rf1._Af1=false;_rf1._Bf1=false;_rf1._J5=[];_rf1._G3=[];_rf1.Masks=[];for(var i=0;i<_Gf1;i++){var _F3=new _lr();
_rf1._G3[i]=_F3;_F3.x=0;_F3.y=0;_F3.w=0;_F3.h=0;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=0;_F3.CropHeight=0;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_W3;_F3.texture=_J3[_F3.tp];}return _zV;}function sprite_add_ext(_rk,_Gf1,_uf1,_vf1,_Hf1){return sprite_add(_rk,_Gf1,false,false,_uf1,_vf1,_Hf1);}function sprite_replace(_x3,_rk,_Gf1,_cr,_dr,_uf1,_vf1){_x3=yyGetInt32(_x3);_rk=yyGetString(_rk);_Gf1=yyGetInt32(_Gf1);if(_Gf1<0)return -1;if(_Gf1==0)_Gf1=1;var _rf1=_H4._I4(_x3);_rf1._If1=true;if(_rk.substring(0,5)=="file:")return -1;
var _4s=_rk;if(_rk.endsWith('.json')){_rf1._Jf1(_rk,function(err){var _Nk=_Je._Ke(_x3,_rk,_Kf1,{});_Nk._Oe=true;_Nk._Ne=err?_tE:_pE;});return _x3;}var _W3=_L7(_4s);_J3[_W3].onload=_5s;_J3[_W3].onerror=_6s;_Je._Ke(_x3,_rk,_Kf1,_J3[_W3]);_rf1.width=0;_rf1.height=0;_rf1._MO=new _ME();_rf1._MO.right=0;_rf1._MO.bottom=0;_rf1.transparent=yyGetBool(_cr);_rf1.smooth=yyGetBool(_dr);_rf1.preload=true;_rf1._gf1=0;_rf1._5q=_yf1._zf1;_rf1.xOrigin=yyGetInt32(_uf1);_rf1.yOrigin=yyGetInt32(_vf1);_rf1._Br=false;_rf1._I5=_Gf1;
_rf1._Ff1=0;_rf1._Af1=false;_rf1._Bf1=false;_rf1._J5=[];_rf1._G3=[];_rf1.Masks=[];for(var i=0;i<_Gf1;i++){var _F3=new _lr();_rf1._G3[i]=_F3;_F3.x=0;_F3.y=0;_F3.w=0;_F3.h=0;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=0;_F3.CropHeight=0;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_W3;_F3.texture=_J3[_F3.tp];}return _x3;}function sprite_merge(_tj,_si){_tj=yyGetInt32(_tj);var _Kj=_H4._I4(_tj);var _Lj=_H4._I4(yyGetInt32(_si));var w=_Kj.width;var h=_Kj.height;var _Lf1=_59;for(var i=0;i<_Lj._I5;i++){var _of1=document.createElement(_cE);
var _pf1=_of1.getContext('2d');_qf1(_pf1);_of1.width=w;_of1.height=h;_59=_pf1;_pf1._sf1(_Lj._G3[i].texture,0,0,w,h,0,0,_of1.width,_of1.height);_of1.complete=true;var _F3=new _lr();_Kj._G3[_Kj._G3.length]=_F3;_F3.x=0;_F3.y=0;_F3.w=w;_F3.h=h;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=w;_F3.CropHeight=h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_Cr(_of1);_F3.texture=_J3[_F3.tp];_F3.texture.complete=true;_Kj._I5++;}_59=_Lf1;return _tj;}function sprite_assign(_i01,_r5){_i01=yyGetInt32(_i01);var _Kj=_H4._I4(_i01);var _Lj=_H4._I4(yyGetInt32(_r5));
_Kj.width=_Lj.width;_Kj.height=_Lj.height;_Kj._MO=new _ME();_Kj._MO._ri(_Lj);_Kj.transparent=_Lj.transparent;_Kj.smooth=_Lj.smooth;_Kj.preload=_Lj.preload;_Kj._gf1=_Lj._gf1;_Kj._5q=_Lj._5q;_Kj.xOrigin=_Lj.xOrigin;_Kj.yOrigin=_Lj.yOrigin;_Kj._Br=true;_Kj._I5=_Lj._I5;_Kj._Ff1=_Lj._Ff1;_Kj._Af1=_Lj._Af1;_Kj.playbackspeedtype=_Lj.playbackspeedtype;_Kj.playbackspeed=_Lj.playbackspeed;_Kj._Bf1=_Lj._Bf1;_Kj._J5=_Lj._J5.slice(0);_Kj._G3=[];if(_Lj.Masks){_Kj.Masks=_Lj.Masks.slice();}var w=_Kj.width;var h=_Kj.height;
var _Lf1=_59;for(var i=0;i<_Lj._I5;i++){var _lf1=_Lj._G3[i];var _F3=new _lr();_Kj._G3[i]=_F3;_F3.x=_lf1.x;_F3.y=_lf1.y;_F3.w=_lf1.w;_F3.h=_lf1.h;_F3.XOffset=_lf1.XOffset;_F3.YOffset=_lf1.YOffset;_F3.CropWidth=_lf1.CropWidth;_F3.CropHeight=_lf1.CropHeight;_F3.ow=_lf1.ow;_F3.oh=_lf1.oh;_F3.tp=_lf1.tp;_F3.texture=_lf1.texture;}_59=_Lf1;return _i01;}function sprite_collision_mask(_x3,_Mf1,_Nf1,_Of1,_Pf1,_Qf1,_Rf1,_Kb,_Sf1){var _0F=_H4._I4(yyGetInt32(_x3));if(_0F===null){return false;}_0F._5q=_yf1._Tf1;_0F._J5=[];
_0F._Bf1=yyGetInt32(_Mf1);_0F._MO=new _ME();if(_0F._I5==0){return;}_Nf1=yyGetInt32(_Nf1);_Kb=yyGetInt32(_Kb);_Sf1=yyGetInt32(_Sf1);_0F._gf1=_Nf1;if(_Nf1==0){var _Uf1=100000;var _Vf1=-100000;var _Wf1=100000;var _Xf1=-100000;for(var i=0;i<_0F._I5;i++){var _Yf1=_0F._G3[i];var _Zf1=__f1(_Yf1);var index=0;for(var _qk=0;_qk<_Yf1.oh;_qk++){for(var _35=0;_35<_Yf1.ow;_35++){var index=((_qk*_Yf1.ow+_35)*4)+3;if(index<_Zf1.length){if(_Zf1[index]>_Sf1){if(_35<_Uf1)_Uf1=_35;if(_35>_Vf1)_Vf1=_35;if(_qk<_Wf1)_Wf1=_qk;if(_qk>_Xf1)_Xf1=_qk;
}}}}}if(_Uf1==0x7FFFFFFF){_0F._MO.left=0;_0F._MO.right=0;_0F._MO.top=0;_0F._MO.bottom=0;}else {_0F._MO.left=_Uf1;_0F._MO.right=_Vf1;_0F._MO.top=_Wf1;_0F._MO.bottom=_Xf1;}}else if(_Nf1==1){_0F._MO.left=0;_0F._MO.right=_0F.width;_0F._MO.top=0;_0F._MO.bottom=_0F.height;}else {_0F._MO.left=yyGetInt32(_Of1);_0F._MO.right=yyGetInt32(_Qf1);_0F._MO.top=yyGetInt32(_Pf1);_0F._MO.bottom=yyGetInt32(_Rf1);}var _G3=_0F._G3;_0F._J5=[];if(_0F._Bf1){for(var i=0;i<_0F._I5;i++){_0F._J5[i]=_0g1(null,_0F._G3[i],_Nf1,_0F._MO,
_Kb,_Sf1);}}else {_0F._J5[0]=_0g1(_0F._J5[0],_0F._G3[0],_Nf1,_0F._MO,_Kb,_Sf1);for(var i=1;i<_0F._I5;i++){_0F._J5[0]=_0g1(_0F._J5[0],_0F._G3[i],_Nf1,_0F._MO,_Kb,_Sf1);}}_0F._Af1=true;}function _0g1(_1g1,_Yf1,_Nf1,_2g1,_Kb,_Sf1){var w=_Yf1.ow;var h=_Yf1.oh;var _3g1=h*w;var _YF=new Uint8Array(_3g1);for(var _35=0;_35<_3g1;_35++)_YF[_35]=false;if(_Kb==_af1){var _Zf1=__f1(_Yf1);var index=0;for(var i=0;i<_Zf1.length;i+=4){if(_Zf1[i+3]>_Sf1){_YF[index]=true;}else {_YF[index]=false;}index++;}}else {switch(_Kb){case _bf1:{
for(var y=_2g1.top;y<=_2g1.bottom;y++){for(var x=_2g1.left;x<=_2g1.right;x++){_YF[x+(y*w)]=true;}}break;}case _cf1:{var _56=(_2g1.left+_2g1.right)/2;var _ha=_56-_2g1.left+0.5;var _66=(_2g1.top+_2g1.bottom)/2;var _ia=_66-_2g1.top+0.5;for(var y=_2g1.top;y<=_2g1.bottom;y++){for(var x=_2g1.left;x<=_2g1.right;x++){if((_ha>0)&&(_ia>0)){_YF[x+(y*w)]=sqr((x-_56)/_ha)+sqr((y-_66)/_ia)<1;}}}break;}case _df1:{var _56=(_2g1.left+_2g1.right)/2;var _ha=_56-_2g1.left+0.5;var _66=(_2g1.top+_2g1.bottom)/2;var _ia=_66-_2g1.top+0.5;
for(var y=_2g1.top;y<=_2g1.bottom;y++){for(var x=_2g1.left;x<=_2g1.right;x++){if((_ha>0)&&(_ia>0)){_YF[x+(y*w)]=Math.abs((x-_56)/_ha)+Math.abs((y-_66)/_ia)<1;}}}break;}}}if(_1g1!=null){for(var i=0;i<_YF.length;i++){if(_1g1[i])_YF[i]=true;}}return _YF;}function sprite_set_cache_size(_x3,_CG){_x3=yyGetInt32(_x3);var _0F=_H4._I4(_x3);if(!_0F){_L3("Trying to adjust the cache on a non-existant sprite ("+string(_x3)+")");return false;}_CG=yyGetInt32(_CG);var _G3=_0F._G3;for(var i=0;i<_0F._I5;i++){if(_G3[i]._v7>_CG){
_G3[i]._t7=[];_G3[i]._u7=0;}_G3[i]._v7=_CG;}}function sprite_set_cache_size_ext(_x3,_N2,_CG){_x3=yyGetInt32(_x3);var _0F=_H4._I4(_x3);if(!_0F){_L3("Trying to adjust the cache on a non-existant sprite ("+string(_x3)+")");return false;}_N2=yyGetInt32(_N2);if(_N2<0||_N2>_0F._I5){_L3("Trying to adjust the cache on a non-existant sprite sub image ("+string(_x3)+", "+string(_N2)+")");return;}_CG=yyGetInt32(_CG);var _F3=_0F._G3[_N2];if(_F3._v7>_CG){_F3._t7=[];_F3._u7=0;}_F3._v7=_CG;}function sprite_get_tpe(_N2,
_4g1){_N2=yyGetInt32(_N2);_4g1=yyGetInt32(_4g1);var _0F=_H4._I4(_N2);if(!_0F){_L3("Trying to adjust the cache on a non-existant sprite ("+string(_N2)+")");return false;}if(_4g1<0||_4g1>_0F._I5){_L3("Trying to adjust the cache (tpe) on a non-existant sprite sub image ("+string(_N2)+", "+string(_4g1)+")");return;}var _G3=_0F._G3;if(_G3[_4g1]){var _F3=_G3[_4g1];var _5g1=new _6g1();_5g1.tpe_x=_F3.x;_5g1.tpe_y=_F3.y;_5g1.tpe_w=_F3.w;_5g1.tpe_h=_F3.h;_5g1.tpe_XOffset=_F3.XOffset;_5g1.tpe_YOffset=_F3.YOffset;
_5g1.tpe_CropWidth=_F3.CropWidth;_5g1.tpe_CropHeight=_F3.CropHeight;_5g1.tpe_ow=_F3.ow;_5g1.tpe_oh=_F3.oh;_5g1.tpe_tp=_F3.x;_5g1._7g1=_F3._Br;_5g1.tpe_texture=_F3.texture;return _5g1;}return null;}function sprite_get_texture(_y01,_8g1){_y01=yyGetInt32(_y01);if(sprite_exists(_y01)){var _Sm=_H4._I4(_y01);var _F3=_Sm._9g1(yyGetInt32(_8g1));if(_F3){return({_Lb:_F3.texture,_Mb:_F3,toString:()=>{return "Texture:"+_F3.texture.URL;}});}}return null;}function sprite_get_uvs(_y01,_8g1){_y01=yyGetInt32(_y01);if(sprite_exists(_y01)){
var _Sm=_H4._I4(_y01);var _F3=_Sm._9g1(yyGetInt32(_8g1));var texture=_F3.texture;var _ds=1.0/texture.width;var _es=1.0/texture.height;var _fs=[];_fs.push(_F3.x*_ds,_F3.y*_es,(_F3.x+_F3.CropWidth)*_ds,(_F3.y+_F3.CropHeight)*_es);_fs.push(_F3.XOffset,_F3.YOffset,_F3.CropWidth/_F3.ow,_F3.CropHeight/_F3.ow);return _fs;}return null;}function sprite_prefetch(_y01){var _0F=_H4._I4(yyGetInt32(_y01));if(_0F===null){return -1;}for(var i=0;i<_0F._I5;i++){var _G3=_0F._G3;if(_G3[i]){var _F3=_G3[i];if(_F3.texture){if(_F3.texture._R7){
_S7(_F3.texture._R7);return 0;}}}}return -1;}function sprite_prefetch_multi(_ag1){if(Array.isArray(_ag1)){for(var _35=0;_35<_ag1.length;_35++){var _0F=_H4._I4(_ag1[_35]);if(_0F===null)continue;for(var i=0;i<_0F._I5;i++){var _G3=_0F._G3;if(_G3[i]){var _F3=_G3[i];if(_F3.texture){if(_F3.texture._R7){_S7(_F3.texture._R7);}}}}}return 0;}else {return -1;}}function sprite_flush(_y01){var _0F=_H4._I4(yyGetInt32(_y01));if(_0F===null){return -1;}for(var i=0;i<_0F._I5;i++){var _G3=_0F._G3;if(_G3[i]){var _F3=_G3[i];if(_F3.texture){
if(_F3.texture._R7){_ls(_F3.texture._R7);return 0;}}}}return -1;}function sprite_flush_multi(_ag1){if(Array.isArray(_ag1)){for(var _35=0;_35<_ag1.length;_35++){var _0F=_H4._I4(_ag1[_35]);if(_0F===null)continue;for(var i=0;i<_0F._I5;i++){var _G3=_0F._G3;if(_G3[i]){var _F3=_G3[i];if(_F3.texture){if(_F3.texture._R7){_ls(_F3.texture._R7);}}}}}return 0;}else {return -1;}}function sprite_set_speed(_y01,_xl,_sc){var _0F=_H4._I4(yyGetInt32(_y01));if(_0F!=null){_0F.playbackspeed=yyGetReal(_xl);_0F.playbackspeedtype=yyGetInt32(_sc);
if(_0F.sequence!=null){_0F.sequence._bg1=_0F.playbackspeed;_0F.sequence._cg1=_0F.playbackspeedtype;}}}function sprite_get_speed_type(_y01){var _0F=_H4._I4(yyGetInt32(_y01));if(_0F!=null){if(_0F.sequence!=null){return _0F.sequence._cg1;}else {return _0F.playbackspeedtype;}}else return -1;}function sprite_get_speed(_y01){var _0F=_H4._I4(yyGetInt32(_y01));if(_0F!=null){if(_0F.sequence!=null){return _0F.sequence._bg1;}else {return _0F.playbackspeed;}}else return -1;}function sprite_get_nineslice(_y01){var _0F=_H4._I4(yyGetInt32(_y01));
if(_0F!=null){if(_0F._dg1!=null){return _0F._dg1;}else {_0F._dg1=new _eg1(null);return _0F._dg1;}}else return null;}function sprite_set_nineslice(_y01,_fg1){if((typeof(_fg1)!=="object")||(_fg1==null)||!(_fg1 instanceof _eg1)){_L3("sprite_set_nineslice() - specified nineslice is not valid");return;}var _0F=_H4._I4(yyGetInt32(_y01));if(_0F!=null){_0F._dg1=_fg1;_0F._dg1._t7._gg1=true;}else return null;}function sprite_nineslice_create(){return new _eg1(null);}function sprite_get_info(_y01){var _u3=undefined;var _0F=_H4._I4(yyGetInt32(_y01));
if(_0F!=null){var type=(_0F._wL!=undefined)?1:(_0F._xL!=undefined)?2:0;_u3=new _FG();variable_struct_set(_u3,"width",_0F.width);variable_struct_set(_u3,"height",_0F.height);variable_struct_set(_u3,"xoffset",_0F.xOrigin);variable_struct_set(_u3,"yoffset",_0F.yOrigin);variable_struct_set(_u3,"transparent",_0F.transparent);variable_struct_set(_u3,"smooth",_0F.smooth);variable_struct_set(_u3,"preload",_0F.preload);variable_struct_set(_u3,"type",type);variable_struct_set(_u3,"bbox_left",_0F._MO.left);variable_struct_set(_u3,
"bbox_right",_0F._MO.right);variable_struct_set(_u3,"bbox_top",_0F._MO.top);variable_struct_set(_u3,"bbox_bottom",_0F._MO.bottom);variable_struct_set(_u3,"name",_0F.pName);variable_struct_set(_u3,"num_subimages",_0F._I5);variable_struct_set(_u3,"frame_speed",(_0F.playbackspeed!=undefined)?_0F.playbackspeed:-1);variable_struct_set(_u3,"frame_type",(_0F.playbackspeedtype!=undefined)?_0F.playbackspeedtype:-1);variable_struct_set(_u3,"use_mask",_0F._5q===_yf1._Tf1);variable_struct_set(_u3,"num_masks",
_0F._J5.length);switch(type){case 0:{var _hg1=[];for(var _x5=0;_x5<_0F._G3.length;++_x5){var _F3=_0F._G3[_x5];var _L8=new _FG();variable_struct_set(_L8,"x",_F3.x);variable_struct_set(_L8,"y",_F3.y);variable_struct_set(_L8,"w",_F3.w);variable_struct_set(_L8,"h",_F3.h);variable_struct_set(_L8,"x_offset",_F3.XOffset);variable_struct_set(_L8,"y_offset",_F3.YOffset);variable_struct_set(_L8,"crop_width",_F3.CropWidth);variable_struct_set(_L8,"crop_height",_F3.CropHeight);variable_struct_set(_L8,"original_width",
_F3.ow);variable_struct_set(_L8,"original_height",_F3.oh);variable_struct_set(_L8,"texture",_F3.tp);_hg1.push(_L8);}variable_struct_set(_u3,"frames",_hg1);}break;case 1:break;case 2:if(_0F._xL!=undefined){var _ig1=_0F._xL;variable_struct_set(_u3,"num_atlas",_ig1._f7._d4.length);var _jg1=[];for(var _x5=0;_x5<_u3.gmlnum_atlas;++_x5){_jg1.push(_ig1._f7._d4[_x5].texture._O3);}variable_struct_set(_u3,"atlas_textures",_jg1);variable_struct_set(_u3,"premultiplied",_ig1._h7);var _kg1=_ig1._72;var _lg1=[];for(var _x5=0;
_x5<_kg1.animations.length;++_x5){_lg1.push(_kg1.animations[_x5].name);}variable_struct_set(_u3,"animation_names",_lg1);var _mg1=[];for(var _x5=0;_x5<_kg1.skins.length;++_x5){_mg1.push(_kg1.skins[_x5].name);}variable_struct_set(_u3,"skin_names",_mg1);var _ng1=[];for(var _x5=0;_x5<_kg1.bones.length;++_x5){var bone=_kg1.bones[_x5];var _og1=new _FG();variable_struct_set(_og1,"parent",(bone.parent!=undefined)?bone.parent.name:undefined);variable_struct_set(_og1,"name",bone.name);variable_struct_set(_og1,"index",
bone.index);variable_struct_set(_og1,"length",bone.length);variable_struct_set(_og1,"x",bone.x);variable_struct_set(_og1,"y",bone.y);variable_struct_set(_og1,"rotation",bone.rotation);variable_struct_set(_og1,"scale_x",bone.scaleX);variable_struct_set(_og1,"scale_y",bone.scaleY);variable_struct_set(_og1,"shear_x",bone.shearX);variable_struct_set(_og1,"shear_y",bone.shearY);variable_struct_set(_og1,"transform_mode",bone._pg1);_ng1.push(_og1);}variable_struct_set(_u3,"bones",_ng1);var _qg1=[];for(var _x5=0;
_x5<_kg1.slots.length;++_x5){var slot=_kg1.slots[_x5];var _rg1=new _FG();variable_struct_set(_rg1,"name",slot.name);variable_struct_set(_rg1,"index",slot.index);variable_struct_set(_rg1,"bone",(slot._W6!=undefined)?slot._W6.name:"(none)");variable_struct_set(_rg1,"attachment",slot._Ga);variable_struct_set(_rg1,"red",slot.color._i3);variable_struct_set(_rg1,"green",slot.color._j3);variable_struct_set(_rg1,"blue",slot.color._k3);variable_struct_set(_rg1,"alpha",slot.color._l3);variable_struct_set(_rg1,
"blend_mode",slot._D9);if(_rg1._A9!=undefined){variable_struct_set(_rg1,"dark_red",slot._A9._i3);variable_struct_set(_rg1,"dark_green",slot._A9._j3);variable_struct_set(_rg1,"dark_blue",slot._A9._k3);variable_struct_set(_rg1,"dark_alpha",slot._A9._l3);}var _sg1=_0F._xL._Ha(slot.name);variable_struct_set(_rg1,"attachments",_sg1);_qg1.push(_rg1);}variable_struct_set(_u3,"slots",_qg1);}break;}variable_struct_set(_u3,"nineslice",(_0F._dg1!=undefined)?_0F._dg1:undefined);if(_0F.sequence!=undefined){var _tg1=[];
var _ug1=_0F.sequence._vg1;if(_ug1!=undefined){for(var _x5=0;_x5<_ug1._6V;++_x5){var _JN=_ug1._aV[_x5];var time=_JN._bV;for(var _qk in _JN._Pq){var _wg1=_JN._Pq[_qk];if(_wg1._xg1!=undefined){for(var e=0;e<_wg1._xg1.length;++e){var _kk=new _FG();variable_struct_set(_kk,"frame",time);variable_struct_set(_kk,"message",_wg1._xg1[e]);_tg1.push(_kk);}}}}}variable_struct_set(_u3,"messages",_tg1);var _yg1=[];var _4V=_0F.sequence._TT[0];if(_4V!=undefined){var _ug1=_4V._WT;for(var _x5=0;_x5<_ug1._6V;++_x5){var _JN=_ug1._aV[_x5];
var time=_JN._bV;var _kk=new _FG();variable_struct_set(_kk,"frame",time);variable_struct_set(_kk,"duration",_JN._YT);for(var _qk in _JN._Pq){var _wg1=_JN._Pq[_qk];variable_struct_set(_kk,"image_index",_wg1._cR);break;}_yg1.push(_kk);}}variable_struct_set(_u3,"frame_info",_yg1);}}return _u3;}function ansi_char(_F2){return String.fromCharCode(yyGetInt32(_F2)&0xff);}function chr(_F2){_F2=yyGetInt32(_F2);if(_F2>=0x10000){var _zg1=_F2;_zg1-=0x10000;var _Ag1=(((_zg1>>10)&0x3FF)+0xD800);var _Bg1=(_zg1&0x3FF)+0xDC00;
var result=String.fromCharCode(_Ag1,_Bg1);return result;}else {return String.fromCharCode(_F2);}return 0;}function ord(_dn){if(!_dn||_dn=="")return 0;_dn=yyGetString(_dn);var _zg1=_dn.charCodeAt(0);var _Cg1,_Dg1;if(0xD800<=_zg1&&_zg1<=0xDBFF){_Cg1=_zg1;_Dg1=_dn.charCodeAt(1);return((_Cg1-0xD800)*0x400)+(_Dg1-0xDC00)+0x10000;}return _zg1;}function real(_Wb){if(_Wb==undefined){_L3("real() argument is undefined");}else if(_Wb==null){_L3("real() argument is unset");}else if(typeof(_Wb)=="boolean"){if(_Wb)return 1;
else return 0;}else if(typeof(_Wb)=="number"){return _Wb;}else if(typeof(_Wb)=="string"){var _Eg1=parseFloat(_Wb);if(isNaN(_Eg1)){_L3("unable to convert string "+_Wb+" to real");}else {return _Eg1;}}else if(_Wb instanceof Long){return _Wb._cX();}else if(_Wb instanceof Array){_L3("real() argument is array");}else if(_Wb instanceof ArrayBuffer){_L3("real() argument is ptr")}return parseFloat(_Wb);}function bool(_Wb){if(_Wb==undefined){return false;}else if(_Wb==null){_L3("bool() argument is unset");}else if(typeof(_Wb)=="boolean"){
return _Wb;}else if(typeof(_Wb)=="number"){return _Wb>0.5;}else if(typeof(_Wb)=="string"){if(_Wb==="true"){return true;}else if(_Wb==="false"){return false;}var _Eg1=parseFloat(_Wb);if(isNaN(_Eg1)){_L3("unable to convert string "+_Wb+" to bool");}else {return _Eg1>0.5;}}else if(_Wb instanceof Long){return _Wb._cX()>0.5;}else if(_Wb instanceof Array){_L3("bool() argument is array");}else {return _Wb!=g_pBuiltIn.pointer_null;}}var _Fg1=new RegExp('{([0-9]+)}','g');function _1E(_dn,_0E){return _dn.replaceAll(_Fg1,function(match,
_E61){var _N2=parseInt(_E61);if(_N2<0||_N2>=_0E.length)return match;return yyGetString(_0E[_N2]);})}function string(_Ej){if(arguments.length==1){return yyGetString(_Ej);}if(typeof(_Ej)!="string"){_L3("string() trying to use string template but argument0 is not a string");}var _0E=[];for(var _x5=1;_x5<arguments.length;++_x5){_0E.push(arguments[_x5]);}return _1E(_Ej,_0E);}function string_ext(_dn,_0E){if(typeof(_dn)!="string"){_L3("string_ext() argument0 is not a string");}if(!(_0E instanceof Array)){_L3("string_ext() argument1 is not an array");
}return _1E(_dn,_0E);}function string_format(_F2,_Gg1,_Hg1){if(_F2==undefined){return "undefined";}_F2=yyGetReal(_F2);_Hg1=yyGetInt32(_Hg1);var _Ig1=_F2.toFixed(_Hg1).toString().split(".");var _Xk;for(var i=0;i<_Ig1.length;i++){switch(i){case 0:while(_Ig1[i].length<yyGetInt32(_Gg1)){_Ig1[i]=" "+_Ig1[i];}_Xk=_Ig1[i];break;case 1:while(_Ig1[i].length<_Hg1){_Ig1[i]=_Ig1[i]+"0";}_Xk=_Xk+"."+_Ig1[i];break;}}return _Xk;}function string_length(_dn){if(!_dn){return 0;}_dn=yyGetString(_dn);var _Jg1=0;for(var i=0;i<_dn.length;
++i){++_Jg1;var _Kg1=_dn.charCodeAt(i);if(0xD800<=_Kg1&&_Kg1<=0xDBFF){++i;}}return _Jg1;}function string_byte_length(_dn){if(!_dn){return 0;}_dn=yyGetString(_dn);var i=0,_1i=_dn.length;var out=0;while(i<_1i){var c=_dn.charCodeAt(i++);if(c>=0xD800&&c<=0xD8FF){i+=1;out+=4;}else if(c<=0x7F){out+=1;}else if(c<=0x7FF){out+=2;}else if(c<=0xFFFF){out+=3;}else out+=4;}return out;}function _Lg1(_Xk,_Mg1){var _Ng1=0;var _EF=_Mg1-1;while(_EF>0){var _Og1=_Xk.charCodeAt(_EF);if(0xDC00<=_Og1&&_Og1<=0xDFFF){--_Ng1;--_EF;}--_EF;
}return _Mg1+_Ng1+1;}function _Pg1(_dn,_Qg1){_Qg1--;var _Rg1=_Qg1;var _Sg1=0;while(_Sg1<_Qg1){var _Tg1=_dn.charCodeAt(_Sg1);if(0xD800<=_Tg1&&_Tg1<=0xDFFF){_Rg1++;}_Sg1++;}return _Rg1;}function string_pos(_Ug1,_dn){var _Vg1=yyGetString(_Ug1);var _Wg1=yyGetString(_dn);var _Xg1=_Wg1.indexOf(_Vg1);return _Lg1(_Wg1,_Xg1);}function string_pos_ext(_Ug1,_dn,_Yg1){var _Vg1=yyGetString(_Ug1);var _Wg1=yyGetString(_dn);var _Zg1=_Pg1(_Wg1,yyGetInt32(_Yg1));var _Xg1=_Wg1.indexOf(_Vg1,_Zg1);return _Lg1(_Wg1,_Xg1);}function string_last_pos(_Ug1,
_dn){var _Vg1=yyGetString(_Ug1);var _Wg1=yyGetString(_dn);var _Xg1=_Wg1.lastIndexOf(_Vg1);return _Lg1(_Wg1,_Xg1);}function string_last_pos_ext(_Ug1,_dn,_Yg1){if(_Yg1<=0){return 0;}var _Vg1=yyGetString(_Ug1);var _Wg1=yyGetString(_dn);var _Zg1=_Pg1(_Wg1,yyGetInt32(_Yg1));var _Xg1=_Wg1.lastIndexOf(_Vg1,_Zg1);return _Lg1(_Wg1,_Xg1);}function string_copy(_dn,_N2,_jd){_dn=yyGetString(_dn);_N2=yyGetInt32(_N2);_jd=yyGetInt32(_jd);if(_N2<1){_N2=1;}_N2--;var _Rg1=_N2;var _Sg1=0;while(_Sg1<_N2){var _Tg1=_dn.charCodeAt(_Sg1);
if(0xD800<=_Tg1&&_Tg1<=0xDFFF){_Rg1++;}_Sg1++;}var __g1=_jd;_Sg1=0;while(_Sg1<_jd){var _Tg1=_dn.charCodeAt(_Rg1+_Sg1);if(0xD800<=_Tg1&&_Tg1<=0xDFFF){__g1++;}_Sg1++;}return _dn.substring(_Rg1,_Rg1+__g1);}function string_char_at(_dn,_N2){var _Wg1=yyGetString(_dn);var _0h1=yyGetInt32(_N2);--_0h1;if((_Wg1.length==0)||(string_length(_Wg1)<=_0h1)){return "";}var _Hu=0;var _1h1=_0h1;if(_1h1<0){_1h1=0;}var _1i=_Wg1.length;while((_1h1>0)&&(_Hu<_1i)){var _zg1=_Wg1.charCodeAt(_Hu);if(0xD800<=_zg1&&_zg1<=0xDFFF){++_Hu;
}++_Hu;--_1h1;}_1h1=_Hu;var _2h1=_Wg1.charCodeAt(_1h1);if(0xD800<=_2h1&&_2h1<=0xDFFF){var _Dg1=_Wg1.charCodeAt(_1h1+1);return String.fromCharCode(_2h1,_Dg1);}return String.fromCharCode(_2h1);}function string_ord_at(_dn,_N2){var _Wg1=yyGetString(_dn);var _0h1=yyGetInt32(_N2);--_0h1;if((_Wg1.length==0)||(string_length(_Wg1)<=_0h1)){return -1;}var _Hu=0;var _1h1=_0h1;if(_1h1<0){_1h1=0;}var _1i=_Wg1.length;while((_1h1>0)&&(_Hu<_1i)){var _zg1=_Wg1.charCodeAt(_Hu);if(0xD800<=_zg1&&_zg1<=0xDFFF){++_Hu;}++_Hu;--_1h1;
}_1h1=_Hu;var _2h1=_Wg1.charCodeAt(_1h1);if(0xD800<=_2h1&&_2h1<=0xDFFF){var _Dg1=_Wg1.charCodeAt(_1h1+1);return((_2h1-0xD800)*0x400)+(_Dg1-0xDC00)+0x10000;}return _2h1;}function _3h1(_dn){var _4h1=[];for(var i=0;i<_dn.length;i++){var _5h1=_dn.charCodeAt(i);if(_5h1<0x80){_4h1.push(_5h1);}else if(_5h1<0x800){_4h1.push(0xc0|(_5h1>>6),0x80|(_5h1&0x3f));}else if(_5h1<0xd800||_5h1>=0xe000){_4h1.push(0xe0|(_5h1>>12),0x80|((_5h1>>6)&0x3f),0x80|(_5h1&0x3f));}else {i++;_5h1=((_5h1&0x3ff)<<10)|(_dn.charCodeAt(i)&0x3ff);
_4h1.push(0xf0|(_5h1>>18),0x80|((_5h1>>12)&0x3f),0x80|((_5h1>>6)&0x3f),0x80|(_5h1&0x3f));}}return _4h1;}function _6h1(data){var _Xk='';var i=0;for(i=0;i<data.length;i++){var value=data[i];if(value<0x80){_Xk+=String.fromCharCode(value);}else if(value>0xBF&&value<0xE0){_Xk+=String.fromCharCode((value&0x1F)<<6|data[i+1]&0x3F);i+=1;}else if(value>0xDF&&value<0xF0){_Xk+=String.fromCharCode((value&0x0F)<<12|(data[i+1]&0x3F)<<6|data[i+2]&0x3F);i+=2;}else {var _5h1=((value&0x07)<<18|(data[i+1]&0x3F)<<12|(data[i+2]&0x3F)<<6|data[i+3]&0x3F)-0x010000;
_Xk+=String.fromCharCode(_5h1>>10|0xD800,_5h1&0x03FF|0xDC00);i+=3;}}return _Xk;}function string_byte_at(_dn,_N2){var _Wg1=yyGetString(_dn);var _0h1=yyGetInt32(_N2);var _SD=_3h1(_Wg1);var index=_0h1-1;if(index<0){index=0;}if(index>=_SD.length){index=_SD.length-1;}return _SD[index];}function string_set_byte_at(_dn,_N2,_vF){var _Wg1=yyGetString(_dn);var _7h1=yyGetInt32(_vF);var _pg=_3h1(_Wg1);var index=yyGetInt32(_N2)-1;if((index>=0)&&(index<_pg.length)){_pg[index]=_7h1&0xff;return _6h1(_pg);}else {_L3("string_set_byte_at : Index beyond end of string.");
}return _Wg1;}function string_delete(_dn,_N2,_jd){var _Wg1=yyGetString(_dn);var _0h1=yyGetInt32(_N2);var _8h1=yyGetInt32(_jd);if(_8h1<=0||_0h1<=0)return _Wg1;var _Hu=0;var _1h1=_0h1-1;var _1i=_Wg1.length;while((_1h1>0)&&(_Hu<_1i)){var _zg1=_Wg1.charCodeAt(_Hu);if(0xD800<=_zg1&&_zg1<=0xDFFF){++_Hu;}++_Hu;--_1h1;}_1h1=_Hu;_Hu=_8h1;_9h1=_1h1;while(_Hu>0){var _zg1=_Wg1.charCodeAt(_1h1);if(0xD800<=_zg1&&_zg1<=0xDFFF){++_9h1;}++_9h1;--_Hu;}return(_Wg1.substring(0,_1h1)+_Wg1.substring(_9h1,_Wg1.length));}function string_insert(_Ug1,
_dn,_N2){var _Vg1=yyGetString(_Ug1);var _Wg1=yyGetString(_dn);var _0h1=yyGetInt32(_N2);var _Hu=0;var _1h1=_0h1-1;var _1i=_Wg1.length;while((_1h1>0)&&(_Hu<_1i)){var _zg1=_Wg1.charCodeAt(_Hu);if(0xD800<=_zg1&&_zg1<=0xDFFF){++_Hu;}++_Hu;--_1h1;}_1h1=_Hu;return(_Wg1.substring(0,_1h1)+_Vg1+_Wg1.substring(_1h1,_dn.length));}function string_replace(_dn,_Ug1,_ah1){var _Wg1=yyGetString(_dn);var _Vg1=yyGetString(_Ug1);var _bh1=yyGetString(_ah1);var index=_Wg1.indexOf(_Vg1);if(index===-1||_Vg1.length===0){return _Wg1;}
return _Wg1.replace(_Vg1,_bh1);}function string_replace_all(_dn,_Ug1,_ah1){var _Wg1=yyGetString(_dn);if(_Wg1.length===0)return "";var _Vg1=yyGetString(_Ug1);if(_Vg1.length===0)return _Wg1;var _bh1=yyGetString(_ah1);var _ch1=_Vg1.length;var _dh1="";var i=_Wg1.indexOf(_Vg1);var _qk=0;while(i>=0){_dh1+=_Wg1.substring(_qk,i)+_bh1;_qk=i+_ch1;i=_Wg1.indexOf(_Vg1,_qk);}return _qk>0?_dh1+_Wg1.substring(_qk):_Wg1;}function string_count(_Ug1,_dn){_Ug1=yyGetString(_Ug1);_dn=yyGetString(_dn);var _u7=0;if(_Ug1.length>0){var index=0;
while(index!=-1){index=_dn.indexOf(_Ug1,index);if(index>-1){_u7+=1;index++;}}}return _u7;}function string_hash_to_newline(_dn){return _eh1(yyGetString(_dn),_UD._fh1(_UD._2G),true);}function string_lower(_dn){return yyGetString(_dn).toLowerCase();}function string_upper(_dn){return yyGetString(_dn).toUpperCase();}function string_repeat(_dn,_jd){var _Wg1=yyGetString(_dn);_jd=yyGetInt32(_jd);var _rh="";for(var i=0;i<_jd;i++){_rh=_rh+_Wg1;}return _rh;}function string_letters(_dn){var _rh="";var _Wg1=yyGetString(_dn);
for(var i=0;i<_Wg1.length;i++){var c=_Wg1[i];if((c>='A'&&c<='Z')||(c>='a'&&c<='z')){_rh=_rh+c;}}return _rh;}function string_digits(_dn){var _Wg1=yyGetString(_dn);var _rh="";for(var i=0;i<_Wg1.length;i++){var c=_Wg1[i];if(c>='0'&&c<='9'){_rh=_rh+c;}}return _rh;}function string_lettersdigits(_dn){var _Wg1=yyGetString(_dn);var _rh="";for(var i=0;i<_Wg1.length;i++){var c=_Wg1[i];if((c>='A'&&c<='Z')||(c>='a'&&c<='z')||(c>='0'&&c<='9')){_rh=_rh+c;}}return _rh;}const _gh1=new RegExp("[/-\\\\^$*+?.()|[\\]{}]","g");function _hh1(string){
return string.replace(_gh1,'\\$&');}function string_trim_start(_dn,_ih1){_dn=yyGetString(_dn);if(arguments.length==1)return _dn.trimStart();if(!(_ih1 instanceof Array)){_L3("string_trim_start() argument1 is not an array");}_ih1=_ih1.map((_yd)=>{if(typeof(_yd)!="string"){_L3("string_trim_start() argument1 should be an array of string");}return _hh1(yyGetString(_yd));}).filter(_jh1=>_jh1).join("|");let _kh1=new RegExp("^(?:"+_ih1+")*");return _dn.replace(_kh1,"");}function string_trim_end(_dn,_ih1){_dn=yyGetString(_dn);
if(arguments.length==1)return _dn.trimEnd();if(!(_ih1 instanceof Array)){_L3("string_trim_end() argument1 is not an array");}_ih1=_ih1.map((_yd)=>{if(typeof(_yd)!="string"){_L3("string_trim_end() argument1 should be an array of string");}return _hh1(yyGetString(_yd));}).filter(_jh1=>_jh1).join("|");let _kh1=new RegExp("(?:"+_ih1+")*$");return _dn.replace(_kh1,"");}function string_trim(_dn,_ih1){_dn=yyGetString(_dn);if(arguments.length==1)return _dn.trim();if(!(_ih1 instanceof Array)){_L3("string_trim() argument1 is not an array");
}_ih1=_ih1.map((_yd)=>{if(typeof(_yd)!="string"){_L3("string_trim() argument1 should be an array of string");}return _hh1(yyGetString(_yd));}).filter(_jh1=>_jh1).join("|");let _lh1=new RegExp("^(?:"+_ih1+")*");let _mh1=new RegExp("(?:"+_ih1+")*$");return _dn.replace(_lh1,"").replace(_mh1,"");}function string_starts_with(_dn,_F2){_dn=yyGetString(_dn);_F2=yyGetString(_F2);return _dn.startsWith(_F2);}function string_ends_with(_dn,_F2){_dn=yyGetString(_dn);_F2=yyGetString(_F2);return _dn.endsWith(_F2);}function _nh1(input,
_oh1,_ph1){const output=[];let _qh1=0;while(_ph1--){const lastIndex=_oh1.lastIndex;const search=_oh1.exec(input);if(search===null){break;}_qh1=_oh1.lastIndex;output.push(input.slice(lastIndex,search.index));}output.push(input.slice(_qh1));return output;}function string_split(_dn,_rh1,_sh1,_th1){_dn=yyGetString(_dn);_rh1=yyGetString(_rh1);if(_rh1==""){return [_uh1];}_sh1=arguments.length>2?yyGetReal(_sh1):false;_th1=arguments.length>3?yyGetReal(_th1):_dn.length;_rh1=_hh1(_rh1);var _kh1=new RegExp(_rh1,"g");
var _uh1=_nh1(_dn,_kh1,_th1);if(_sh1){_uh1=_uh1.filter(_jh1=>_jh1);}return _uh1;}function string_split_ext(_dn,_vh1,_sh1,_th1){_dn=yyGetString(_dn);if(!(_vh1 instanceof Array)){_L3("string_split_ext() argument1 is not an array");}_sh1=arguments.length>2?yyGetReal(_sh1):false;_th1=arguments.length>3?yyGetReal(_th1):_dn.length;_vh1=_vh1.map((_yd)=>_hh1(yyGetString(_yd))).filter(_jh1=>_jh1).join("|");var _kh1=new RegExp(_vh1,"g");var _uh1=_nh1(_dn,_kh1,_th1);if(_sh1){_uh1=_uh1.filter(_jh1=>_jh1);}return _uh1.map((_yd)=>_yd.replaceAll("\\|",
"|"));}function _wh1(_rh1,_0E){return _0E.join(_rh1);}function string_join(_rh1){_rh1=yyGetString(_rh1);var _0E=[];for(var _x5=1;_x5<arguments.length;++_x5){_0E.push(yyGetString(arguments[_x5]));}return _wh1(_rh1,_0E);}function string_join_ext(_rh1,_0E,_H81,_Xd1){_rh1=yyGetString(_rh1);if(!(_0E instanceof Array)){_L3("string_join_ext() argument1 is not an array");}_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_0E.length;var _xh1=_yh1(_0E.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];
var _Ah1=_xh1[2];var _Bh1=[];while(_zh1>0){_Bh1.push(yyGetString(_0E[_H81]));_H81+=_Ah1;_zh1--;}return _wh1(_rh1,_Bh1);}function string_concat(){var _0E=[];for(var _x5=0;_x5<arguments.length;++_x5){_0E.push(yyGetString(arguments[_x5]));}return _wh1("",_0E);}function string_concat_ext(_0E,_H81,_Xd1){if(!(_0E instanceof Array)){_L3("string_concat_ext() argument1 is not an array");}_H81=arguments.length>1?yyGetReal(_H81):0;_Xd1=arguments.length>2?yyGetReal(_Xd1):_0E.length;var _xh1=_yh1(_0E.length,_H81,_Xd1);
_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _Bh1=[];while(_zh1>0){_Bh1.push(yyGetString(_0E[_H81]));_H81+=_Ah1;_zh1--;}return _wh1("",_Bh1);}function _Ch1(_Dh1){return(_Dh1>=0xD800&&_Dh1<=0xD8FF)?2:1;}function string_foreach(_dn,_Cj,_Uj,_Xd1){_dn=yyGetString(_dn);_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_Uj=arguments.length>3?yyGetReal(_Uj):1;_Xd1=arguments.length>3?yyGetReal(_Xd1):_dn.length;var _H81=(_Uj<0?_Uj:(_Uj>0?_Uj-1:0));var _xh1=_yh1(string_length(_dn),_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];
var _Ah1=_xh1[2];_Uj=_H81+1;var _Eh1=0;if(_Ah1>0){for(var i=0;i<_H81;i++){var _Fh1=_dn.charCodeAt(_Eh1);_Eh1+=_Ch1(_Fh1);}for(var i=0;i<_zh1;i++){var _Fh1=_dn.charCodeAt(_Eh1);var _ec=_Ch1(_Fh1);var _Gh1=_ec==1?_dn[_Eh1]:String.fromCharCode(_Fh1,_dn.charCodeAt(_Eh1+1));_Cj(_Ej,_Ej,_Gh1,_Uj);_Uj++;_Eh1+=_ec;}}else {var _Hh1=[];var _Ih1=0;for(var i=0;i<_H81;i++){var _Fh1=_dn.charCodeAt(_Eh1);var _ec=_Ch1(_Fh1);_Eh1+=_ec;_Hh1[(_Ih1++%_zh1)]=_ec;}for(var i=0;i<_zh1;i++){var _Fh1=_dn.charCodeAt(_Eh1);var _ec=_Ch1(_Fh1);
var _Gh1=_ec==1?_dn[_Eh1]:String.fromCharCode(_Fh1,_dn.charCodeAt(_Eh1+1));_Cj(_Ej,_Ej,_Gh1,_Uj);_Uj--;_Eh1-=_Hh1[(--_Ih1%_zh1)];}}}var _Jh1=[];var _Kh1=true;var surface_resize=_Lh1;function _Lh1(_nf,_oi,_pi){_nf=yyGetInt32(_nf);_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);if(_nf==_Mh1){_Nh1=true;_Oh1=_oi;_Ph1=_pi;return 1;}if(!surface_exists(_nf)){_L3("Surface does not exist");return 0;}if(_Qh1(_nf)){_Ch("Error: Surface in use via surface_set_target(). It can not be resized until it has been removed from the surface stack.");
return;}var _qr=_gr._I4(_nf);var _Ig=_fr;if(_i7){_Ig=_qr.texture._R7._Ig;}surface_create(_oi,_pi,_Ig,_nf);return 0;}function surface_depth_disable(_Rh1){if(yyGetBool(_Rh1)){_Kh1=false;}else {_Kh1=true;}}function surface_get_depth_disable(){return _Kh1?false:true;}var surface_create=_Sh1;function _Sh1(_oi,_pi,_ae1,_Th1){_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);if(_oi<=0||_pi<=0){_L3("create_surface : Trying to create a surface with size equal to or less than zero.");}var _qr=document.createElement(_cE);_qr._3c=_qr.width=_oi;
_qr._4c=_qr.height=_pi;_qr.complete=true;_qr._Uh1=false;_qr.name="";_qr._59=_qr.getContext('2d');_qf1(_qr._59);var _F3=new _lr();_qr._Vh1=_F3;_F3.x=0;_F3.y=0;_F3.w=_oi;_F3.h=_pi;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;if(_Th1!=undefined){_gr.Set(_Th1,_qr);_F3.tp=_Th1;}else {_F3.tp=_gr._Ke(_qr);}_F3.texture=_qr;_F3._t7=[];_F3._u7=0;_F3._v7=4;_F3._Wh1=0;_F3._9s=null;_F3._of1=_qr;return _F3.tp;}function surface_create_ext(_R2,_oi,_pi,_ae1){_R2=yyGetString(_R2);
_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);var _qr=document.getElementById(_R2);if(!_qr){_QD("Can not find pre-created canvas element: "+_R2);return surface_create(_oi,_pi,_ae1);}_qr.name=_R2;_qr._3c=_qr.width=_oi;_qr._4c=_qr.height=_pi;_qr.complete=true;_qr._Uh1=true;_qr._59=_qr.getContext('2d');_qf1(_qr._59);_qr.onmousemove=_zs;_qr.onmousedown=_Xh1;_qr.onmouseup=_Yh1;var _F3=new _lr();_qr._Vh1=_F3;_F3.x=0;_F3.y=0;_F3.w=_oi;_F3.h=_pi;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;
_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_gr._Ke(_qr);_F3.texture=_qr;_F3._t7=[];_F3._u7=0;_F3._v7=4;_F3._Wh1=0;_F3._9s=null;_F3._of1=_qr;return _F3.tp;}var surface_free=_Zh1;function _Zh1(_nf){_nf=yyGetInt32(_nf);if(_nf<0){return;}if(!surface_exists(_nf)){return 0;}if(_Qh1(_nf)){_Ch("Error: Surface in use via surface_set_target(). It can not be freed until it has been removed from the surface stack.");return;}_gr._vi(_nf);}function surface_exists(_nf){if(_gr._I4(yyGetInt32(_nf))!=null)return 1;else return 0;}function surface_get_width(_nf){
if(_nf==_Mh1){return __h1;}var _qr=_gr._I4(yyGetInt32(_nf));if(_qr!=null){return _qr._3c;}return 0;}function surface_get_height(_nf){if(_nf==_Mh1){return _0i1;}var _qr=_gr._I4(yyGetInt32(_nf));if(_qr!=null){return _qr._4c;}return 0;}function surface_get_texture(_nf){var _qr=_gr._I4(yyGetInt32(_nf));if(_qr!=null){return({_Lb:_qr.texture,_Mb:_qr._Vh1});}return -1;}function _Qh1(_nf){_nf=yyGetInt32(_nf);if(_1i1==_nf)return true;var _1i=_2i1.length;for(var i=0;i<_1i;i++){if(_2i1[i]==_nf)return true;}return false;}var _3i1=_4i1;
function _4i1(_nf){_nf=yyGetInt32(_nf);var _qr=_gr._I4(_nf);if(_qr!=null){if(!_i7)_XJ();_Jh1.push({_5i1:_6i1,_7i1:_5z,_8i1:_59,_9i1:_aM,_ai1:_bM,_bi1:_8M,_ci1:_9M,_di1:__J,_ei1:_0K,_fi1:_1K,_gi1:_2K,});_2i1.push(_1i1);_1i1=_nf;if(_i7){_6i1=_qr._5i1;_i7._hi1(_qr._5i1);_5z=-1;}else {g_CurrentGraphics=_qr._59;_59=_qr._59;_ii1(_59);}}}var surface_set_target=_ji1;function _ji1(_nf){_nf=yyGetInt32(_nf);var _qr=_gr._I4(_nf);if(_qr==null){return false;}if(!_i7)_XJ();var _ki1=_li1._mi1();if(_ki1!=null){_Jh1.push({
_5i1:_6i1,_7i1:_5z,_di1:__J,_ei1:_0K,_fi1:_1K,_gi1:_2K,_9i1:_aM,_ai1:_bM,_bi1:_8M,_ci1:_9M,_8i1:_59,_ni1:true,_oi1:_ki1._pi1,_qi1:_ki1._ri1,_si1:_ki1._ti1,_ui1:_ki1._vi1,_wi1:_ki1._xi1,_yi1:new _Dy(_ki1._zi1),_Ai1:new _Dy(_ki1._Bi1),});}else {_Jh1.push({_5i1:_6i1,_7i1:_5z,_di1:__J,_ei1:_0K,_fi1:_1K,_gi1:_2K,_9i1:_aM,_ai1:_bM,_bi1:_8M,_ci1:_9M,_8i1:_59,_ni1:false,});}_2i1.push(_1i1);_1i1=_nf;if(_i7){_6i1=_qr._5i1;_i7._hi1(_qr._5i1);_5z=-1;}else {g_CurrentGraphics=_qr._59;_59=_qr._59;_ii1(_59);}_Ci1(0,
0,_qr._3c,_qr._4c);if(_z2){_Di1(0,0,_qr._3c,_qr._4c,0);}else {_Ei1(0,0,_qr._3c,_qr._4c,0);}if(_i7)_i7._Fi1();_lM();if(!_i7){_ii1(_59);}return true;}function surface_get_target(){return _1i1;}var surface_reset_target=_Gi1;function _Gi1(){var _Hi1=_Jh1.pop();if(_Hi1){__J=_Hi1._di1;_0K=_Hi1._ei1;_1K=_Hi1._fi1;_2K=_Hi1._gi1;_aM=_Hi1._9i1;_bM=_Hi1._ai1;_8M=_Hi1._bi1;_9M=_Hi1._ci1;var _Ii1=_Hi1._ni1;var _oi1,_qi1,_si1,_ui1,_wi1,_yi1,_Ai1;if(_Ii1==true){_oi1=_Hi1._oi1;_qi1=_Hi1._qi1;_si1=_Hi1._si1;_ui1=_Hi1._ui1;
_wi1=_Hi1._wi1;_yi1=_Hi1._yi1;_Ai1=_Hi1._Ai1;}if(!_i7){_59=_Hi1._8i1;_3K();}else {_5z=_Hi1._7i1;_6i1=_Hi1._5i1;}if(_NJ&&_Jh1.length==0){_Ci1(0,0,_Ji1,_Ki1);_Li1._8z(_Ji1,-_Ki1*_5z,1.0,32000.0);_OJ();}else {_Ci1(__J,_0K,_1K,_2K);if(_z2){var _ki1=_li1._mi1();if((_Ii1==true)&&(_ki1!=null)){_Mi1(_oi1,_qi1,_si1,_ui1,_wi1,_ki1);_ki1._Ni1(new _Dy(_yi1));_ki1._Oi1(new _Dy(_Ai1));_ki1._Pi1();}else {_Di1(_aM,_bM,_8M,_9M,0);}}else {_Ei1(_aM,_bM,_8M,_9M,0);}}}else {_L3("surface_reset_target : Surface stacking error detected");
}if(_i7)_i7._hi1(_6i1);_1i1=_2i1.pop();if(_1i1==null)_1i1=-1;if(!_i7)_ii1(_59);_lM();}function _LK(_wk,_u4,_v4){var data=null;var _hr=_wk.getContext('2d');try{data=_hr._Qi1(_u4,_v4,1,1);}catch(_fj){return 0xff000000;}var _Ri1=data.data;var index=0;var _Si1=_Ri1[index]&0xff;var _Ti1=_Ri1[index+1]&0xff;var _Ui1=_Ri1[index+2]&0xff;var _Vi1=_Ri1[index+3]&0xff;return(_Si1|(_Ti1<<8)|(_Ui1<<16)|(_Vi1<<24));}var surface_getpixel=_Wi1;var surface_getpixel_ext=_Xi1;function _Wi1(_nf,_u4,_v4){return _Xi1(_nf,_u4,_v4)&0xffffff;
}function _Xi1(_nf,_u4,_v4){var _qr=_gr._I4(yyGetInt32(_nf));if(_qr!=null){return _LK(_qr,yyGetInt32(_u4),yyGetInt32(_v4));}return 0x00000000;}function _Yi1(_wk,_2q){var img=canvas.toDataURL();}function surface_save(_nf,_2q){_PD("surface_save()");}function surface_save_part(_nf,_2q,_u4,_v4,_oi,_pi){_PD("surface_save_part()");}var draw_surface=_Zi1;function _Zi1(_nf,_u4,_v4){var _qr=_gr._I4(yyGetInt32(_nf));if(!_qr)return;_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);var alpha=_59.globalAlpha;{_59.globalAlpha=_Rb;_59._sf1(_qr,
_u4,_v4);}_59.globalAlpha=alpha;}function draw_surface_stretched(_nf,_u4,_v4,_oi,_pi){var _qr=_gr._I4(yyGetInt32(_nf));if(!_qr)return;_Ir(_qr._Vh1,yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_oi),yyGetReal(_pi),0xffffff,1.0);}function draw_surface_tiled(_nf,_u4,_v4){var _qr=_gr._I4(yyGetInt32(_nf));if(_qr!=null){_Kr(_qr._Vh1,yyGetReal(_u4),yyGetReal(_v4),1,1,true,true,0xffffff,1);}}function draw_surface_part(_nf,_Mr,_Nr,_q7,_r7,_u4,_v4){var _qr=_gr._I4(yyGetInt32(_nf));if(!_qr)return;_Or(_qr._Vh1,yyGetReal(_Mr),
yyGetReal(_Nr),yyGetReal(_q7),yyGetReal(_r7),yyGetReal(_u4),yyGetReal(_v4),1,1,0xffffff,1.0);}function draw_surface_ext(_nf,_u4,_v4,_gn,_hn,_C3,_Qr,_y8){var _qr=_gr._I4(yyGetInt32(_nf));if(!_qr)return;var c=_Ub(yyGetInt32(_Qr));_Rr(_qr._Vh1,0,0,yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_gn),yyGetReal(_hn),(yyGetReal(_C3)*0.0174532925),c,c,c,c,yyGetReal(_y8));}function draw_surface_stretched_ext(_nf,_u4,_v4,_oi,_pi,_Qr,_y8){var _qr=_gr._I4(yyGetInt32(_nf));if(!_qr)return;var c=_Ub(yyGetInt32(_Qr));_Ir(_qr._Vh1,
yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_oi),yyGetReal(_pi),c,yyGetReal(_y8));}var draw_surface_tiled_ext=__i1;function __i1(_nf,_u4,_v4,_gn,_hn,_Qr,_y8){_Ma("draw_surface_tiled_ext()");}function draw_surface_part_ext(_nf,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_Qr,_y8){_nf=yyGetInt32(_nf);var _qr=_gr._I4(_nf);if(_qr!=null){var _F3=new _lr();_F3.x=0;_F3.y=0;_F3.w=_qr.width;_F3.h=_qr.height;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_nf;_F3._t7=[];_F3._u7=0;
_F3._v7=4;_F3._Wh1=0;_F3._9s=null;if(!_i7){_F3._of1=_qr;_F3.texture=_qr;}else {_F3._of1=_qr.texture;_F3.texture=_qr.texture;}var c=_Ub(yyGetInt32(_Qr));_Or(_F3,yyGetReal(_Mr),yyGetReal(_Nr),yyGetReal(_q7),yyGetReal(_r7),yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_gn),yyGetReal(_hn),c,yyGetReal(_y8));}}function draw_surface_general(_nf,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_C3,_Wr,_Xr,_Yr,_Zr,_y8){_nf=yyGetInt32(_nf);var _qr=_gr._I4(_nf);if(_qr!=null){var _F3=new _lr();_F3.x=yyGetReal(_Mr);_F3.y=yyGetReal(_Nr);
_F3.w=yyGetReal(_q7);_F3.h=yyGetReal(_r7);_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_nf;_F3._t7=[];_F3._u7=0;_F3._v7=4;_F3._Wh1=0;_F3._9s=null;_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_gn=yyGetReal(_gn);_hn=yyGetReal(_hn);_C3=yyGetReal(_C3);_y8=yyGetReal(_y8);_Wr=_Ub(yyGetInt32(_Wr));_Xr=_Ub(yyGetInt32(_Xr));_Yr=_Ub(yyGetInt32(_Yr));_Zr=_Ub(yyGetInt32(_Zr));if(!_i7){_F3._of1=_qr;_F3.texture=_qr;_Rr(_F3,0,0,_u4,_v4,_gn,_hn,(_C3*0.0174532925),
_Wr,_Xr,_Yr,_Zr,_y8);}else {_F3._of1=_qr.texture;_F3.texture=_qr.texture;_Rr(_F3,0,0,_u4,_v4,_gn,_hn,(_C3*0.0174532925),_Wr,_Xr,_Yr,_Zr,_y8);}}}function surface_copy(_0j1,_u4,_v4,_wi){var _Kj=_gr._I4(yyGetInt32(_0j1));var _Lj=_gr._I4(yyGetInt32(_wi));if(_Kj!=null&&_Lj!=null){var _hr=_Kj.getContext('2d');_hr.save();_hr.globalCompositeOperation='copy';_hr.drawImage(_Lj,yyGetInt32(_u4),yyGetInt32(_v4));_hr.restore();}}function surface_copy_part(_0j1,_u4,_v4,_wi,_A3,_B3,_1j1,_2j1){var _Kj=_gr._I4(yyGetInt32(_0j1));
var _Lj=_gr._I4(yyGetInt32(_wi));if(_Kj!=null&&_Lj!=null){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_A3=yyGetReal(_A3);_B3=yyGetReal(_B3);_1j1=yyGetReal(_1j1);_2j1=yyGetReal(_2j1);var _YJ=[];var _hr=_Kj.getContext('2d');_hr.save();_YJ[0]=1;_YJ[1]=0;_YJ[2]=0;_YJ[3]=1;_YJ[4]=0;_YJ[5]=0;_hr.setTransform(_YJ[0],_YJ[1],_YJ[2],_YJ[3],_YJ[4],_YJ[5]);_hr.beginPath();_hr.rect(_u4,_v4,_1j1,_2j1);_hr.clip();_hr.globalCompositeOperation='copy';_hr.drawImage(_Lj,_A3,_B3,_1j1,_2j1,_u4,_v4,_1j1,_2j1);_hr.restore();}}
function _3j1(_ae1){switch(_ae1){case _fr:return true;case _4j1:return true;case _5j1:return true;case _6j1:return true;case _7j1:return true;case _8j1:return true;case _9j1:return true;case _aj1:return true;default :return false;}}function _bj1(_ae1){if(_i7){return _i7._cj1(_ae1);}else {if(_ae1==_fr){return true;}else {return false;}}}function surface_format_is_supported(_ae1){if(_3j1(_ae1)&&_bj1(_ae1)){return true;}return false;}function surface_get_format(_nf){var _qr=_gr._I4(_nf);if(_qr!=null){if(_i7){if(_qr._dj1._ej1){return _qr._dj1._ej1._vc;
}}else {return _fr;}}return _fj1;}/*@constructor */function _gj1(){this._hj1=[];this._ij1={};this._jj1={};};function _kj1(_8J,_lj1){var _RI=(((_8J&0xff)<<24)|(_lj1&0xffffff));return _RI;};_gj1.prototype._mj1=function(_nj1,_oj1){this._hj1=_nj1.slice();for(var i=0;i<_nj1.length;++i)this._ij1[_nj1[i]]=i;for(var i=0;i<_oj1.length;++i){var _kk=_oj1[i];this._jj1[_kk.key]=_kk.ids.slice();}};_gj1.prototype._pj1=function(_lj1,_8J){var _RI=_kj1(_8J,_lj1);var _qj1=this._jj1[_RI];if(_qj1==undefined)return null;return _qj1;
};_gj1.prototype._rj1=function(_lj1,_8J){var _sj1=this._pj1(_lj1,_8J);var tags=[];if(_sj1!=null){for(var i=0;i<_sj1.length;++i){var _dh=this._hj1[_sj1[i]];if(_dh!==undefined)tags.push(_dh);}}return tags;};_gj1.prototype._tj1=function(_uj1,_vj1){var _sj1=[];var _wj1=Array.isArray(_uj1)?_uj1:[_uj1];for(var i=0;i<_wj1.length;++i){var _xj1=_wj1[i];var _yj1=this._ij1[_xj1];if(_yj1===undefined&&_vj1){_yj1=this._hj1.length;this._ij1[_xj1]=_yj1;this._hj1.push(_xj1);}if(_yj1!==undefined)_sj1.push(_yj1);}return _sj1;
};_gj1.prototype._zj1=function(_lj1,_8J,_Aj1,_Bj1){var _Cj1=this._pj1(_lj1,_8J);if(_Cj1==null)return false;var _Dj1=this._tj1(_Aj1,false);var result=(_Bj1)?true:false;for(var _N5=0;_N5<_Dj1.length;++_N5){var _Ej1=false;var _dh=_Dj1[_N5];for(var i=0;i<_Cj1.length;++i){if(_Cj1[i]===_dh)_Ej1=true;}if(!_Bj1&&_Ej1)return true;if(_Bj1&&!_Ej1)return false;}return result;};_gj1.prototype._Fj1=function(_lj1,_8J,_Aj1){var _Gj1=false;var _RI=_kj1(_8J,_lj1);var _qj1=this._jj1[_RI];if(_qj1==undefined){_qj1=[];this._jj1[_RI]=_qj1;
}var _Hj1=this._tj1(_Aj1,true);for(var i=0;i<_Hj1.length;++i){var _Ij1=_Hj1[i];var index=_qj1.indexOf(_Ij1);if(index==-1){_qj1.push(_Ij1);_Gj1=true;}}return _Gj1;};_gj1.prototype._Jj1=function(_lj1,_8J,_Aj1){var _Kj1=false;var _sj1=this._pj1(_lj1,_8J);if(_sj1!=null){var _Lj1=this._tj1(_Aj1,false);for(var i=0;i<_Lj1.length;++i){var _Mj1=_Lj1[i];var index=_sj1.indexOf(_Mj1);if(index!=-1){_sj1[index]=_sj1[_sj1.length-1];_sj1.length-=1;_Kj1=true;}}}return _Kj1;};_gj1.prototype._Nj1=function(_lj1,_8J){var _RI=_kj1(_8J,
_lj1);var _qj1=this._jj1[_RI];if(_qj1!=null){_qj1.length=0;return true;}return false;};_gj1.prototype._Oj1=function(_Aj1){var _og=[];var _Hj1=this._tj1(_Aj1,false);if(_Hj1.length==0)return _og;for(var key in this._jj1){if(!this._jj1.hasOwnProperty(key))continue;var _Pj1=this._jj1[key];for(var _N5=0;_N5<_Hj1.length;++_N5){var index=_Pj1.indexOf(_Hj1[_N5]);if(index!=-1){var _Qj1=key&0xffffff;var _Rj1=(key>>24)&0xff;var _Sj1=_7J(_Qj1,_Rj1);if(_Sj1.length>0){_og.push(_Sj1);break;}}}}return _og;};_gj1.prototype._Tj1=function(_Aj1,
_8J){var _Uj1=[];var _Hj1=this._tj1(_Aj1,false);if(_Hj1.length==0)return _Uj1;for(var key in this._jj1){if(_8J>=0){var type=(key>>24)&0xff;if(type!==_8J)continue;}var _Pj1=this._jj1[key];for(var _N5=0;_N5<_Hj1.length;++_N5){var index=_Pj1.indexOf(_Hj1[_N5]);if(index!=-1){var _Qj1=key&0xffffff;_Uj1.push(_Qj1);break;}}}return _Uj1;};function _Vj1(_Wj1,_8J,_Xj1){var _RI={type:-1,id:-1};if(typeof _Wj1==="string"){_RI=_QI(_Wj1);}else {if(_8J===undefined)_L3(_Xj1+"() - asset type argument is required");else _RI={type:_8J,
id:_Wj1};}return _RI;}function tag_get_asset_ids(_uj1,_8J){var _Uj1=_Yj1._Tj1(_uj1,_8J);return _Uj1;}function tag_get_assets(_uj1){var _og=_Yj1._Oj1(_uj1);return _og;}function asset_get_tags(_Wj1,_8J){var result=[];var _RI=_Vj1(_Wj1,_8J,"asset_get_tags");if(_RI.id<0)return result;result=_Yj1._rj1(_RI.id,_RI.type);return result;}function asset_add_tags(_Wj1,_uj1,_8J){var _RI=_Vj1(_Wj1,_8J,"asset_add_tags");if(_RI.id<0)return 0;var result=_Yj1._Fj1(_RI.id,_RI.type,_uj1);return(result)?1:0;}function asset_remove_tags(_Wj1,
_uj1,_8J){var _RI=_Vj1(_Wj1,_8J,"asset_remove_tags");if(_RI.id<0)return 0;var result=_Yj1._Jj1(_RI.id,_RI.type,_uj1);return(result)?1:0;}function asset_has_tags(_Wj1,_uj1,_8J){var _RI=_Vj1(_Wj1,_8J,"asset_has_tags");if(_RI.id<0)return 0;var result=_Yj1._zj1(_RI.id,_RI.type,_uj1,true);return(result)?1:0;}function asset_has_any_tag(_Wj1,_uj1,_8J){var _RI=_Vj1(_Wj1,_8J,"asset_has_any_tag");if(_RI.id<0)return 0;var result=_Yj1._zj1(_RI.id,_RI.type,_uj1,false);return(result)?1:0;}function asset_clear_tags(_Wj1,_8J){
var _RI=_Vj1(_Wj1,_8J,"asset_clear_tags");if(_RI.id<0)return 0;var result=_Yj1._Nj1(_RI.id,_RI.type);return(result)?1:0;}function draw_self(_j6){var index;index=_j6.sprite_index;_h5=_j6;{var _Sm=_H4._I4(index);if(_Sm!=null){_Sm._58(_j6.image_index,_j6.x,_j6.y,_j6.image_xscale,_j6.image_yscale,_j6.image_angle,_j6.image_blend,_j6.image_alpha);}}_h5=null;}function draw_sprite_ext(_Ls,_u2,_Zj1,_u4,_v4,_gn,_hn,_C3,_7c,_y8){_Zj1=yyGetInt32(_Zj1);_y8=yyGetReal(_y8);if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);
if(_0F!=null){_y8=min(1.0,_y8);_0F._58(_Zj1,yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_gn),yyGetReal(_hn),yyGetReal(_C3),_Ub(yyGetInt32(_7c)),_y8);}}function draw_sprite(_Ls,_u2,_Zj1,_u4,_v4){_Zj1=yyGetInt32(_Zj1);if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);if(_0F!=null){_0F.__j1(_Zj1,yyGetReal(_u4),yyGetReal(_v4),_Rb);}}function draw_sprite_pos(_Ls,_u2,_Zj1,__5,_06,_s5,_t5,_Nt,_Ot,_0k1,_1k1,_y8){_Zj1=yyGetInt32(_Zj1);_y8=yyGetReal(_y8);if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);if(_0F!=null){
_y8=min(1.0,_y8);_0F._2k1(_Zj1,yyGetReal(__5),yyGetReal(_06),yyGetReal(_s5),yyGetReal(_t5),yyGetReal(_Nt),yyGetReal(_Ot),yyGetReal(_0k1),yyGetReal(_1k1),_y8);}}function draw_sprite_stretched(_Ls,_u2,_Zj1,_u4,_v4,_oi,_pi){_Zj1=yyGetInt32(_Zj1);if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);if(_0F!=null){if(_0F._I5<=0)return;_Zj1=(~~_Zj1)%_0F._I5;if(_Zj1<0)_Zj1=_Zj1+_0F._I5;if((_0F._dg1!=null)&&(_0F._dg1.enabled==true)){_0F._dg1._58(yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_oi),yyGetReal(_pi),
0,0xffffff,_Rb,_Zj1,_0F,true);}else {_Ir(_0F._G3[_Zj1],yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_oi),yyGetReal(_pi),0xffffff,_Rb);}}}function draw_sprite_stretched_ext(_Ls,_u2,_Zj1,_u4,_v4,_oi,_pi,_Tb,_y8){_Zj1=yyGetInt32(_Zj1);if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);if(_0F!=null){if(_0F._I5<=0)return;_Zj1=(~~_Zj1)%_0F._I5;if(_Zj1<0)_Zj1=_Zj1+_0F._I5;if((_0F._dg1!=null)&&(_0F._dg1.enabled==true)){_0F._dg1._58(yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_oi),yyGetReal(_pi),0,_Ub(yyGetInt32(_Tb)),
yyGetReal(_y8),_Zj1,_0F,true);}else {_Ir(_0F._G3[_Zj1],yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_oi),yyGetReal(_pi),_Ub(yyGetInt32(_Tb)),yyGetReal(_y8));}}}function draw_sprite_part(_Ls,_u2,_Zj1,_Mr,_Nr,_q7,_r7,_u4,_v4){_Zj1=yyGetInt32(_Zj1);if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);if(_0F!=null){if(_0F._I5<=0)return;_Zj1=(~~_Zj1)%_0F._I5;if(_Zj1<0)_Zj1=_Zj1+_0F._I5;_Or(_0F._G3[_Zj1],yyGetReal(_Mr),yyGetReal(_Nr),yyGetReal(_q7),yyGetReal(_r7),yyGetReal(_u4),yyGetReal(_v4),1,1,0xffffff,_Rb);
}}function draw_sprite_part_ext(_Ls,_u2,_Zj1,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_Qr,_y8){_Zj1=yyGetInt32(_Zj1);if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);if(_0F!=null){if(_0F._I5<=0)return;_Zj1=(~~_Zj1)%_0F._I5;if(_Zj1<0)_Zj1=_Zj1+_0F._I5;_Qr=_Ub(yyGetInt32(_Qr));_Or(_0F._G3[_Zj1],yyGetReal(_Mr),yyGetReal(_Nr),yyGetReal(_q7),yyGetReal(_r7),yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_gn),yyGetReal(_hn),_Qr,yyGetReal(_y8));}}function draw_sprite_tiled(_Ls,_u2,_Zj1,_u4,_v4){_Zj1=yyGetInt32(_Zj1);
if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);if(_0F!=null){if(_0F._I5<=0)return;_Zj1=(~~_Zj1)%_0F._I5;if(_Zj1<0)_Zj1=_Zj1+_0F._I5;_Kr(_0F._G3[_Zj1],yyGetReal(_u4),yyGetReal(_v4),1,1,true,true,0xffffff,_Rb);}}function draw_sprite_tiled_ext(_Ls,_u2,_Zj1,_u4,_v4,_gn,_hn,_Qr,_y8){_Zj1=yyGetInt32(_Zj1);if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);if(_0F!=null){if(_0F._I5<=0)return;_Zj1=(~~_Zj1)%_0F._I5;if(_Zj1<0)_Zj1=_Zj1+_0F._I5;_Qr=_Ub(yyGetInt32(_Qr));_Kr(_0F._G3[_Zj1],yyGetReal(_u4),
yyGetReal(_v4),yyGetReal(_gn),yyGetReal(_hn),true,true,_Qr,_y8);}}function draw_sprite_general(_Ls,_u2,_Zj1,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_C3,_Wr,_Xr,_Yr,_Zr,_y8){_Zj1=yyGetInt32(_Zj1);if(_Zj1<0)_Zj1=~~_Ls.image_index;var _0F=_H4._I4(_u2);if(_0F!=null){if(_mM){_nM();}if(_0F._I5<=0)return;_Zj1=(~~_Zj1)%_0F._I5;if(_Zj1<0)_Zj1=_Zj1+_0F._I5;_Wr=_Ub(yyGetInt32(_Wr));_Xr=_Ub(yyGetInt32(_Xr));_Yr=_Ub(yyGetInt32(_Yr));_Zr=_Ub(yyGetInt32(_Zr));__r(_0F._G3[_Zj1],yyGetReal(_Mr),yyGetReal(_Nr),yyGetReal(_q7),
yyGetReal(_r7),yyGetReal(_u4),yyGetReal(_v4),yyGetReal(_gn),yyGetReal(_hn),yyGetReal(_C3)*Math.PI/180.0,_Wr,_Xr,_Yr,_Zr,yyGetReal(_y8));}}function _3k1(_wq,_Mr,_Nr,_q7,_r7,_u4,_v4,_Ek){var _4k1=new _5k1();_4k1.x=_u4;_4k1.y=_v4;_4k1.depth=_Ek;_4k1.xo=_Mr;_4k1.yo=_Nr;_4k1.w=_q7;_4k1.h=_r7;_4k1.index=_wq;_4k1._6k1();_x2._7k1(_4k1);return _4k1.id;}function _8k1(_nf){_x2._9k1(_nf);}function _ak1(_nf){if(_x2._bk1[_nf]==null)return false;return true;}function _ck1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.x;
}function _dk1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.y;}function _ek1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.xo;}function _fk1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.yo;}function _gk1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.w;}function _hk1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.h;}function _ik1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.depth;}function _jk1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.visible;
}function _kk1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1._xQ;}function _lk1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1._yQ;}function _mk1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.index;}function _nk1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1._zQ;}function _ok1(_nf){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;return _4k1.alpha;}function _pk1(_nf,_u4,_v4){var _4k1=_x2._bk1[_nf];if(_4k1){_4k1.x=_u4;_4k1.y=_v4;}}function _qk1(_nf,_Mr,_Nr,_q7,_r7){var _4k1=_x2._bk1[_nf];
if(_4k1){_4k1.xo=_Mr;_4k1.yo=_Nr;_4k1.w=_q7;_4k1.h=_r7;_4k1._6k1();}}function _rk1(_nf,_wq){var _4k1=_x2._bk1[_nf];if(_4k1){_4k1.index=_wq;_4k1._6k1();}}function _sk1(_nf,__61){var _4k1=_x2._bk1[_nf];if(_4k1){_4k1.visible=__61;}}function _tk1(_nf,_Ek){var _4k1=_x2._bk1[_nf];if(_4k1){_x2._uk1._9k1(_4k1);_4k1.depth=_Ek;_x2._uk1._Ke(_4k1);}}function _vk1(_nf,_gn,_hn){var _4k1=_x2._bk1[_nf];if(!_4k1)return;_4k1._xQ=_gn;_4k1._yQ=_hn;}function _wk1(_nf,_Tb){var _4k1=_x2._bk1[_nf];if(!_4k1)return;_4k1._zQ=_Ub(_Tb);
}function _xk1(_nf,_y8){var _4k1=_x2._bk1[_nf];if(!_4k1)return 0;_4k1.alpha=_y8;}function _yk1(_Ek){_x2._uk1._zk1(_Ek,false);}function _Ak1(_Ek){_x2._uk1._zk1(_Ek,true);}function _Bk1(_Ek){_x2._Ck1(_Ek);}function _Dk1(_Ek,_u4,_v4){var _Ek1=_x2._uk1._I4(_Ek);if(!_Ek1)return;var _Zj=_Ek1._RY();for(var _Fk1=0;_Fk1<_Zj.length;_Fk1++){var _4k1=_Zj[_Fk1];if(_4k1){_4k1.x+=_u4;_4k1.y+=_v4;}}}function _Gk1(_Ek,_u4,_v4){for(var index in _x2._bk1){if(!_x2._bk1.hasOwnProperty(index))continue;var _4k1=_x2._bk1[index];if(_4k1!=null){
if((_Ek==_4k1.depth)&&(_u4>=_4k1.x)&&(_u4<(_4k1.x+(_4k1.w*_4k1._xQ)))&&(_v4>=_4k1.y)&&(_v4<(_4k1.y+(_4k1.h*_4k1._yQ)))){return _4k1.id;}}}return -1;}function _Hk1(_Ek,_u4,_v4){var tiles=[];for(var index in _x2._bk1){if(!_x2._bk1.hasOwnProperty(index))continue;var _4k1=_x2._bk1[index];if(_4k1){if((_Ek==_4k1.depth)&&(_u4>=_4k1.x)&&(_u4<(_4k1.x+(_4k1.w*_4k1._xQ)))&&(_v4>=_4k1.y)&&(_v4<(_4k1.y+(_4k1.h*_4k1._yQ)))){tiles[tiles.length]=index;}}}for(var i=0;i<tiles.length;i++){_x2._9k1(tiles[i]);}}function _Ik1(_Ek,
_Ny){var tiles=[];for(var index in _x2._bk1){if(!_x2._bk1.hasOwnProperty(index))continue;var _4k1=_x2._bk1[index];if(_4k1){if(_Ek==_4k1.depth){tiles[tiles.length]=_4k1;}}}for(var i=0;i<tiles.length;i++){var _4k1=tiles[i];_x2._uk1._Pk(_4k1);_4k1.depth=_Ny;_x2._uk1._Ke(_4k1);}}function _Jk1(){var _u7=0;for(var index in _x2._bk1){if(!_x2._bk1.hasOwnProperty(index))continue;var _4k1=_x2._bk1[index];if(_4k1)_u7++;}return _u7;}function _Kk1(_N2){if(_N2<0||_N2>=_x2._Lk1)return -1;for(var index in _x2._bk1){if(!_x2._bk1.hasOwnProperty(index))continue;
var _4k1=_x2._bk1[index];if(_4k1){if(_N2==0)return _4k1.id;_N2--;}}return -1;}function _Mk1(){var tiles=[];var index=0;for(var _Fk1 in _x2._bk1){if(!_x2._bk1.hasOwnProperty(_Fk1))continue;var _4k1=_x2._bk1[_Fk1];if(_4k1){tiles[index]=_4k1.id;index++;}}return tiles;}function _Nk1(_Ek){var tiles=[];var index=0;for(var _Fk1 in _x2._bk1){if(!_x2._bk1.hasOwnProperty(_Fk1))continue;var _4k1=_x2._bk1[_Fk1];if(_4k1&&_4k1.depth==_Ek){tiles[index]=_4k1.id;index++;}}return tiles;}function _Ok1(_nf){console.error("Error: Index %d does not correspond to an existing time source\n",
_nf);}function _Pk1(){console.error("Error: Cannot reset a built-in time source\n");}function _Qk1(){console.error("Error: Cannot change the state of a stateless built-in time source\n");}function _Rk1(){console.error("Error: Failed to create the time source\n");}function _Sk1(_nf){console.error("Error: Cannot destroy the time source (index %d) until its children have been destroyed\n",_nf);}function _Tk1(){console.error("Error: Cannot destroy a built-in time source\n");}function _Uk1(){console.error("Error: Cannot stop a built-in time source\n");
}function _Vk1(_Wk1){const type=_Wk1._Xk1();return(type==_Yk1||type==_Zk1);}function __k1(_Wk1){return(_Wk1._Xk1()==_Yk1);}function _0l1(_Wk1){const type=_Wk1._Xk1();return(type==_1l1||type==_Yk1);}function _2l1(_nf){const _3l1=[_4l1,_5l1];for(const source of _3l1){const _6l1=source._7l1(_nf);if(_6l1!=null){if(_Vk1(_6l1)){if(_6l1._8l1()){return null;}}return _6l1;}}return null;}function time_source_create(_9l1,_al1,_bl1,_cl1,_dl1=[],_el1=1,_fl1=_gl1){const parent=yyGetInt32(_9l1);const _hl1=yyGetReal(_al1);const _il1=yyGetInt32(_bl1);
const _jl1=_cl1;const _Mj=_dl1;const _kl1=yyGetInt64(_el1);const _ll1=yyGetInt32(_fl1);return _ml1(parent,_hl1,_il1,_jl1,_Mj,_kl1,_ll1);}function _ml1(_9l1,_al1,_bl1,_cl1,_dl1,_el1,_fl1){const parent=_2l1(_9l1);if(parent!=null){const _6l1=parent._nl1(_al1,_bl1,_cl1,_dl1,_el1,_fl1);if(_6l1!=null){return _6l1._ol1();}_Rk1();}else {_Ok1(_9l1);}return -1;}function time_source_destroy(_nf,_pl1=false){const id=yyGetInt32(_nf);const _ql1=yyGetBool(_pl1);if(_ql1){_rl1(id);}else {_sl1(id);}}function _sl1(_nf){const _6l1=_2l1(_nf);
if(_6l1!=null){if(_Vk1(_6l1)){if(_6l1._tl1()==0){if(_6l1._ul1()){return _6l1._vl1(false);}return _6l1._wl1()._xl1(_6l1);}return _Sk1(_nf);}return _Tk1();}_Ok1(_nf);}function _rl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_6l1._yl1()){return _6l1._vl1(true);}else {return _6l1._wl1()._xl1(_6l1);}}_Ok1(_nf);}function time_source_start(_nf){const id=yyGetInt32(_nf);_zl1(id);}function _zl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_0l1(_6l1)){return _6l1._Al1();}return _Qk1();}_Ok1(_nf);}function time_source_stop(_nf){
const id=yyGetInt32(_nf);_Bl1(id);}function _Bl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_Vk1(_6l1)){return _6l1._Mp();}return _Uk1();}_Ok1(_nf);}function time_source_pause(_nf){const id=yyGetInt32(_nf);_Cl1(id);}function _Cl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_0l1(_6l1)){return _6l1._pJ();}return _Qk1();}_Ok1(_nf);}function time_source_resume(_nf){const id=yyGetInt32(_nf);_Dl1(id);}function _Dl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_0l1(_6l1)){return _6l1._J31();}return _Qk1();}_Ok1(_nf);}function time_source_reset(_nf){
const id=yyGetInt32(_nf);_El1(id);}function _El1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_Vk1(_6l1)){return _6l1._oJ();}return _Pk1();}_Ok1(_nf);}function time_source_reconfigure(_nf,_al1,_bl1,_cl1,_dl1=[],_el1=1,_fl1=_gl1){const id=yyGetInt32(_nf);const _hl1=yyGetReal(_al1);const _il1=yyGetInt32(_bl1);const _jl1=_cl1;const _Mj=_dl1;const _kl1=yyGetInt64(_el1);const _ll1=yyGetInt32(_fl1);return _Fl1(id,_hl1,_il1,_jl1,_Mj,_kl1,_ll1);}function _Fl1(_nf,_al1,_bl1,_cl1,_dl1,_el1,_fl1){const _6l1=_2l1(_nf);if(_6l1!=null){
if(_Vk1(_6l1)){return _6l1._Gl1(_al1,_bl1,_cl1,_dl1,_el1,_fl1);}return _Pk1();}_Ok1(_nf);}function time_source_get_period(_nf){const id=yyGetInt32(_nf);return _Hl1(id);}function _Hl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_Vk1(_6l1)){return _6l1._Il1();}}else {_Ok1(_nf);}return undefined;}function time_source_get_reps_completed(_nf){const id=yyGetInt32(_nf);return _Jl1(id);}function _Jl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_Vk1(_6l1)){return _6l1._Kl1();}}else {_Ok1(_nf);}return undefined;}function time_source_get_reps_remaining(_nf){
const id=yyGetInt32(_nf);return _Ll1(id);}function _Ll1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_Vk1(_6l1)){return _6l1._Ml1();}}else {_Ok1(_nf);}return undefined;}function time_source_get_units(_nf){const id=yyGetInt32(_nf);return _Nl1(id);}function _Nl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_Vk1(_6l1)){return _6l1._Ol1();}}else {_Ok1(_nf);}return undefined;}function time_source_get_time_remaining(_nf){const id=yyGetInt32(_nf);return _Pl1(id);}function _Pl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_Vk1(_6l1)){
return _6l1._Ql1();}}else {_Ok1(_nf);}return undefined;}function time_source_get_state(_nf){const id=yyGetInt32(_nf);return _Rl1(id);}function _Rl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_0l1(_6l1)){return _6l1._Sl1();}}else {_Ok1(_nf);}return undefined;}function time_source_get_parent(_nf){const id=yyGetInt32(_nf);return _Tl1(id);}function _Tl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){if(_Vk1(_6l1)){return _6l1._Ul1()._ol1();}}else {_Ok1(_nf);}return undefined;}function time_source_get_children(_nf){const id=yyGetInt32(_nf);
return _Vl1(id);}function _Vl1(_nf){const _6l1=_2l1(_nf);if(_6l1!=null){return _6l1._Wl1().map(_Xl1=>_Xl1._ol1());}_Ok1(_nf);return undefined;}function time_source_exists(_nf){const id=yyGetInt32(_nf);return _Yl1(id);}function _Yl1(_nf){return(_2l1(_nf)!=null);}function time_seconds_to_bpm(_Zl1){const _XC=yyGetReal(_Zl1);return __l1(_XC);}function __l1(_Zl1){if(_Zl1>0.0){return 60.0/_Zl1;}return Infinity;}function time_bpm_to_seconds(_0m1){const _1m1=yyGetReal(_0m1);return _2m1(_1m1);}function _2m1(_0m1){if(_0m1>0.0){
return 60.0/_0m1;}return Infinity;}function call_later(_al1,_bl1,_cl1,_AB=false){const _hl1=yyGetReal(_al1);const _il1=yyGetInt32(_bl1);const repeat=yyGetBool(_AB);return _3m1(_hl1,_il1,_cl1,repeat);}function _3m1(_al1,_bl1,_cl1,_AB){const _6l1=_4m1._5m1(_al1,_bl1,_cl1,_AB);if(_6l1!=null){return _6l1._ol1();}_Rk1();return -1;}function call_cancel(_G81){const _C81=yyGetInt32(_G81);return _6m1(_C81);}function _6m1(_G81){const _6l1=_4m1._7l1(_G81);if(_6l1!=null){if(_Vk1(_6l1)){if(_6l1._ul1()){return _6l1._vl1(false);
}return _6l1._wl1()._xl1(_6l1);}return _Tk1();}_Ok1(_G81);}function timeline_exists(_x3){if(_jH._I4(yyGetInt32(_x3))!=undefined){return true;}return false;}function timeline_get_name(_x3){var _6P=_jH._I4(yyGetInt32(_x3));if(_6P!=undefined){return _6P.pName;}return "";}function _7m1(_x3){return timeline_get_name(_x3);}function timeline_add(){return _jH._8m1();}function timeline_delete(_x3){_jH._Pk(yyGetInt32(_x3));}function timeline_clear(_x3){_jH.__e(yyGetInt32(_x3));}function _9m1(_x3,_Ah1,_am1){_Ma("timeline_moment_add()");
}function timeline_moment_add_script(_x3,_Ah1,_AD){switch(typeof _AD){case "number":case "function":var _4X=typeof _AD=="number"?_vD.Scripts[yyGetInt32(_AD)-100000]:_AD;_jH._bm1(yyGetInt32(_x3),yyGetInt32(_Ah1),_4X);break;default :break;}}function timeline_size(_x3){var _6P=_jH._I4(yyGetInt32(_x3));var _u3=0;if(_6P!=undefined){_u3=_6P.Events._u7;}return _u3;}function timeline_max_moment(_x3){var _6P=_jH._I4(yyGetInt32(_x3));var _u3=0;if(_6P!=undefined){_u3=_6P._cm1();}return _u3;}function timeline_moment_clear(_x3,
_Ah1){_jH._dm1(yyGetInt32(_x3),yyGetInt32(_Ah1));}function _em1(__61){_Ma("window_set_visible()");}function window_handle(){return _cE;}function window_device(){if((null!==g_CurrentGraphics._fm1)&&(undefined!==g_CurrentGraphics._fm1))return g_CurrentGraphics._fm1;else return g_CurrentGraphics;}function _gm1(){return true;}function window_set_fullscreen(_hm1){}function window_get_fullscreen(){return _im1;}function window_set_showborder(_nl){}function window_get_showborder(){return true;}function _jm1(_nl){_Ma("window_set_showicons()");
}function _km1(){_Ma("window_get_showicons()");return false;}function _lm1(_mm1){_Ma("window_set_stayontop()");}function _nm1(){_Ma("window_get_stayontop()");return false;}function _om1(_pm1){_Ma("window_set_sizeable()");}function _qm1(){_Ma("window_get_sizeable()");return false;}function window_set_caption(_rm1){document.title=yyGetString(_rm1);}function window_set_min_width(_q7){}function window_set_max_width(_q7){}function window_set_min_height(_r7){}function window_set_max_height(_r7){}function window_get_caption(){
return document.title;}function _pl(_F81,_sm1){if(_F81){if(_sm1===undefined){canvas.style.cursor="";}else {canvas.style.cursor=_sm1;}}else {canvas.style.cursor="none";}}function window_set_cursor(_tm1){_tm1=yyGetInt32(_tm1);var _um1="";switch(_tm1){case cr_default:_um1="auto";_tm1=cr_arrow;break;case cr_none:_um1="__disable__";break;case cr_arrow:_um1="auto";break;case cr_cross:_um1="crosshair";break;case cr_beam:_um1="";break;case cr_size_nesw:_um1="ne-resize";break;case cr_size_ns:_um1="n-resize";break;case cr_size_nwse:_um1="nw-resize";
break;case cr_size_we:_um1="w-resize";break;case cr_uparrow:_um1="";break;case cr_hourglass:_um1="wait";break;case cr_drag:_um1="move";break;case _vm1:_um1="";break;case _wm1:_um1="";break;case _xm1:_um1="";break;case _ym1:_um1="";break;case _zm1:_um1="";break;case _Am1:_um1="";break;case cr_appstart:_um1="";break;case _Bm1:_um1="help";break;case cr_handpoint:_um1="pointer";break;case cr_size_all:_um1="e-resize";break;};if(_um1=="__disable__"){_Cm1=_tm1;_pl(false,"none");return;}else if(_tm1<0&&_um1==""){_L3("Cursor type is not supported.");
_pl(true,_um1);return;}else {_Cm1=_tm1;_pl(true,_um1);return;}}function window_get_cursor(){return _Cm1;}function window_set_color(_Tb){_Dm1=_Ub(yyGetInt32(_Tb));}var window_set_colour=window_set_color;function window_get_color(){return _Ub(_Dm1);}var window_get_colour=window_get_color;function _Em1(_rl,_Fm1){_Ma("window_set_region_scale()");}function _Gm1(){_Ma("window_get_region_scale()");}function window_set_position(_u4,_v4,_Hm1){if(_Hm1===undefined)_Hm1=false;var _vs=document.getElementById(_cE);for(var _Nk=_vs;
_Nk;_Nk=_Nk.parentNode){var position;if(_Nk["currentStyle"]){position=_Nk["currentStyle"]["position"];}else if(window.getComputedStyle){try{var style=window.getComputedStyle(_Nk,null);if(style){position=style.getPropertyValue("position");}}catch(e){}}if(position&&(position=="fixed")){debug("Warning: Canvas position fixed. Ignoring position alterations");return;}}_vs.style.position="absolute";if(!yyGetBool(_Hm1)){_vs.style.left=yyGetInt32(_u4)+"px";_vs.style.top=yyGetInt32(_v4)+"px";_vs.style.bottom="";
_vs.style.right="";_vs.style.transform="";}else {_vs.style.top="50%";_vs.style.left="50%";_vs.style.bottom="-50%";_vs.style.right="-50%";_vs.style.transform="translate(-50%, -50%)";}}function window_set_size(_oi,_pi){_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);canvas.width=_oi;canvas.height=_pi;_IK=_oi;_KK=_pi;_Im1=canvas.width;_Jm1=canvas.height;_ef(canvas,_ff);_Km1=_ff.top;_Lm1=_ff.left;_Mm1=_ff.right;_Nm1=_ff.bottom;_Om1=_Im1;_Pm1=_Jm1;_Ji1=_oi;_Ki1=_pi;_Qm1=1;_Rm1=1;}function window_set_rectangle(_u4,
_v4,_oi,_pi){window_set_size(yyGetInt32(_oi),yyGetInt32(_pi));window_set_position(yyGetInt32(_u4),yyGetInt32(_v4),false);}function window_center(){var _Sm1=_TJ();var _8Z=_UJ();var w=window_get_width();var h=window_get_height();var x=(_Sm1-w)/2;var y=(_8Z-h)/2;window_set_position(x,y,true);}function _Tm1(){_Ma("window_default()");}function window_get_x(){return _Lm1;}function window_get_y(){return _Km1;}function window_get_width(){return _Mm1-_Lm1;}function window_get_height(){return _Nm1-_Km1;}function window_get_visible_rects(){
}function window_mouse_get_x(){return _zf;}function window_mouse_get_y(){return _Af;}function window_mouse_set(x,y){_Ma("window_mouse_set()");}function window_mouse_set_locked(_Ry){if(_Ry){var _Um1=canvas.requestPointerLock||canvas.mozRequestPointerLock||canvas.webkitRequestPointerLock||canvas.msRequestPointerLock;if(!_Um1)return;var _ta=_Um1.call(canvas);if(_ta&&_ta.then)_ta.catch(function(){});}else {var _Vm1=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock;
if(!_Vm1)return;var _ta=_Vm1.call(document);if(_ta&&_ta.then)_ta.catch(function(){});}}function window_mouse_get_locked(){return _Wm1;}function window_mouse_get_delta_x(){return _Xm1;}function window_mouse_get_delta_y(){return _Ym1;}function window_view_mouse_get_x(_nf){if(!_x2._af){return g_pBuiltIn.mouse_x;}var _df=_x2._cf[yyGetInt32(_nf)];return _df._kf(_yf._5Q,_yf._6Q);}function window_view_mouse_get_y(_nf){if(!_x2._af){return g_pBuiltIn.mouse_y;}var _df=_x2._cf[yyGetInt32(_nf)];return _df._lf(_yf._5Q,_yf._6Q);
}function window_views_mouse_get_x(){if(!_x2._af){return g_pBuiltIn.mouse_x;}for(var i=_x2._cf.length-1;i>=0;--i){var _df=_x2._cf[i];if(!_df.visible){continue;}var _56=_df._kf(_yf._5Q,_yf._6Q);var _66=_df._lf(_yf._5Q,_yf._6Q);if(((_56>=_df._9i1)&&(_56<_df._9i1+_df._bi1))&&((_66>=_df._ai1)&&(_56<_df._ai1+_df._ci1))){return _56;}}return window_view_mouse_get_x(0);}function window_views_mouse_get_y(){if(!_x2._af){return g_pBuiltIn.mouse_y;}for(var i=_x2._cf.length-1;i>=0;--i){var _df=_x2._cf[i];if(!_df.visible){
continue;}var _56=_df._kf(_yf._5Q,_yf._6Q);var _66=_df._lf(_yf._5Q,_yf._6Q);if(((_56>=_df._9i1)&&(_56<_df._9i1+_df._bi1))&&((_66>=_df._ai1)&&(_56<_df._ai1+_df._ci1))){return _66;}}return window_view_mouse_get_y(0);}var _Zm1;var os_win32;var __m1;var os_macosx;var _0n1;var os_ios;var os_android;var of_challenge_win;var of_challenge_lose;var of_challenge_tie;var leaderboard_type_number;var leaderboard_type_time_mins_secs;var _1n1=0;var _2n1=1,_3n1=2,_4n1=3,_5n1=4,_6n1=5,_7n1=6;var _8n1=aa_1241_kz();function aa_1241_kz(){
return 0x87155211;}/*@constructor */function _9n1(){var _an1=null;if(window.XMLHttpRequest){_an1=new XMLHttpRequest();}if(typeof(XMLHttpRequest)=="undefined"){_an1=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 _L3("This browser does not support XMLHttpRequest.");};}this._bn1=_an1;this._cn1=false;}var _dn1=new _9n1();function _en1(){}function code_is_compiled(){
return true;}var _fn1=_gn1;function _gn1(_F81){}var _hn1=achievement_available;function achievement_available(){return false;}var _in1=achievement_login;function achievement_login(){}var _jn1=achievement_logout;function achievement_logout(){}var _kn1=achievement_login_status;function achievement_login_status(){}var _ln1=achievement_reset;function achievement_reset(){}var _mn1=achievement_show_achievements;function achievement_show_achievements(){}var _nn1=achievement_show_leaderboards;function achievement_show_leaderboards(){
}var _on1=achievement_load_friends;function achievement_load_friends(){}var _pn1=achievement_load_leaderboard;function achievement_load_leaderboard(){}var _qn1=achievement_get_pic;function achievement_get_pic(){}var _rn1=achievement_load_progress;function achievement_load_progress(){}var _sn1=achievement_send_challenge;function achievement_send_challenge(){}var _tn1=os_get_info;function os_get_info(){return -1;}var _un1=achievement_event;function achievement_event(){}var _vn1=achievement_show;function achievement_show(){
}var _wn1=achievement_get_info;function achievement_get_info(){}var _xn1=os_get_config;function os_get_config(){return _yn1;}function _zn1(){return _M91;}function _An1(){return _Bn1;}function _Cn1(){return _YM;}function _Dn1(){return _En1;}var _Fn1=url_open_full;function url_open_full(_sq,_ts,_201){if(_ts!="_self"&&_ts!="_blank"&&_ts!="_parent"&&_ts!="_top"){_L3("Error: invalid TARGET specified. Only '_self', '_blank', 'parent' or '_top' supported. (YoYo_OpenURL)");return;}var _Rg=window.open(yyGetString(_sq),yyGetString(_ts),
yyGetString(_201));}var _Gn1=url_open_ext;function url_open_ext(_sq,_ts){_Fn1(_sq,_ts,"scrollbars=yes,menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes");}var _tq=url_open;function url_open(_sq){_Gn1(_sq,"_self");}var _Hn1=achievement_post_score;function achievement_post_score(_In1,_Dm){}var _Jn1=achievement_post;function achievement_post(_In1,_Kn1){}var _Ln1=shop_leave_rating;function shop_leave_rating(_fn,_Mn1,_Nn1,_ss){}var get_timer=(performance.now)?function(){return performance.now()*1000;
}:function(){var _N5=new Date().getTime()*1000;return _N5-_Zm1;};var _tJ=get_timer;var _On1=virtual_key_add;function virtual_key_add(_u4,_v4,_oi,_pi,_Pn1){_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);_Pn1=yyGetInt32(_Pn1);var _Qn1=_Rn1();_Qn1.x=_u4;_Qn1.y=_v4;_Qn1.w=_oi;_Qn1.h=_pi;_Qn1.key=_Pn1;_Qn1._C5=_u4+_oi;_Qn1._D5=_v4+_pi;_Qn1.button=_Qn1._04=_Qn1._14=0;_Qn1._Sn1=_Tn1;return(_Qn1.index+1);}var _Un1=virtual_key_delete;function virtual_key_delete(_nf){_nf=yyGetInt32(_nf);
if(_nf<0)return;var index=_nf-1;if((index<0)||(index>=_Vn1.length)){debug("Invalid index when deleting virtual key");}_Wn1(_nf-1);}function _Xn1(){_Yn1=[];for(var _K5=0;_K5<_Vn1.length;++_K5){var _JN=_Vn1[_K5];if((_JN._Sn1&_Zn1)!=0)_Yn1[_Yn1.length]=_JN;}}var __n1=virtual_key_show;function virtual_key_show(_nf){_nf=yyGetInt32(_nf);if(_nf<0)return;_nf--;if(!_Vn1[_nf])return;_Vn1[_nf]._Sn1|=_Zn1;_Xn1();}var _0o1=virtual_key_hide;function virtual_key_hide(_nf){_nf=yyGetInt32(_nf);if(_nf<0)return;_nf--;if(!_Vn1[_nf])return;
_Vn1[_nf]._Sn1&=~_Zn1;_Xn1();}var _1o1=device_get_tilt_x;function device_get_tilt_x(){return 0;}var _2o1=device_get_tilt_y;function device_get_tilt_y(){return 0;}var _3o1=device_get_tilt_z;function device_get_tilt_z(){return 0;}var _4o1=_5o1;function _5o1(){_PD("device_ios_get_imagename()");}var _6o1=_7o1;function _7o1(){_PD("device_ios_get_image()");}var _8o1=_9o1;function _9o1(){_PD("openfeint_start()");}var _ao1=_bo1;function _bo1(_DW,_6K){_PD("achievement_map_achievement()");}var _co1=_do1;function _do1(_DW,_6K,
_MW){_PD("achievement_map_leaderboard()");}var _eo1=_fo1;function _fo1(_DW,_6K,_MW){_PD("openfeint_send_challenge()");}var _go1=_ho1;function _ho1(_DW){_PD("openfeint_send_invite()");}var _io1=_jo1;function _jo1(_DW,_6K,_MW){_PD("openfeint_send_social()");}var _ko1=_lo1;function _lo1(_DW){_PD("openfeint_set_url()");}var _mo1=_no1;function _no1(){_PD("openfeint_accept_challenge()");return "";}var _oo1=_po1;function _po1(){_PD("achievement_is_online()");return false;}var _qo1=_ro1;function _ro1(_DW,_6K){_PD("openfeint_send_result()");
}var _so1=device_is_keypad_open;function device_is_keypad_open(){return false;}function _to1(){_Zm1=new Date().getTime()*1000;var _N5=0;for(var i=0;i<12;i++){_jC[i]=_N5;_N5+=_iC[i];}os_win32=0;__m1=1;os_macosx=2;_0n1=3;os_ios=4;os_android=5;of_challenge_win=0;of_challenge_lose=1;of_challenge_tie=2;leaderboard_type_number=0;leaderboard_type_time_mins_secs=1;}function _uo1(){var _N5=setTimeout(function(){for(var _sl in _H4.Sprites){if(!_H4.Sprites.hasOwnProperty(_sl))continue;_H4._Pk(_sl);break;}_uo1();},1000);
}function _vo1(){if(!document.getElementById('b4f6074452b74d86ce6d00904fcd389c')){var _wo1=document.getElementById('NM-156');if(_wo1){_1n1=_wo1.innerHTML;_wo1.parentNode.removeChild(_wo1);}else {_uo1();}}}function _xo1(_sq){if(!document.getElementById('42f28d8caa0d96b967645dce4278ed50')){var _yo1=_sq+"?"+_1n1+"=2239";if(!_dn1._cn1){_dn1._cn1=true;var _N5=setTimeout(function(){_dn1._bn1.open("GET",_yo1,true);_dn1._bn1.onreadystatechange=function(){if(_dn1._bn1.readyState==4){switch(_dn1._bn1.status){case 200:{
if(_dn1._bn1.responseText!=_1n1){_uo1();}_dn1._cn1=false;}break;default :alert("ERROR: The game has lost connection to the server. "+_dn1._bn1._zo1);window.location.href=window.location.href;break;}}};_dn1._bn1.send(null);},5000);}}}var _Ao1=url_get_domain;function url_get_domain(){return document.domain;}function _Bo1(){if(window.XMLHttpRequest){return new XMLHttpRequest();}if(typeof(XMLHttpRequest)=="undefined"){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 Error("This browser does not support XMLHttpRequest.");}return null;}var _Co1=device_mouse_check_button;function device_mouse_check_button(_Do1,_Is){_Do1=yyGetInt32(_Do1);_Is=yyGetInt32(_Is);if(_Do1==0){return mouse_check_button(_Is);}else {if(_sf[_Do1]&&(_Is<=1)){return _sf[_Do1]._Kd;}}return 0;}var _Eo1=device_mouse_check_button_pressed;function device_mouse_check_button_pressed(_Do1,_Is){_Do1=yyGetInt32(_Do1);_Is=yyGetInt32(_Is);
if(_Do1==0){return mouse_check_button_pressed(_Is);}else {if(_sf[_Do1]&&(_Is<=1)){return _sf[_Do1]._Fd;}}return 0;}var _Fo1=device_mouse_check_button_released;function device_mouse_check_button_released(_Do1,_Is){_Do1=yyGetInt32(_Do1);_Is=yyGetInt32(_Is);if(_Do1==0){return mouse_check_button_released(_Is);}else {if(_sf[_Do1]&&(_Is<=1)){return _sf[_Do1]._Jd;}}return 0;}var _Go1=device_mouse_x;function device_mouse_x(_Do1){_Do1=yyGetInt32(_Do1);if(_Do1==0){return g_pBuiltIn.mouse_x;}else if(_sf[_Do1]){return _sf[_Do1].x;
}return 0;}var _Ho1=device_mouse_raw_x;function device_mouse_raw_x(_Do1){_Do1=yyGetInt32(_Do1);if(_Io1[_Do1]){return _Io1[_Do1].x;}return 0;}var _Jo1=device_mouse_y;function device_mouse_y(_Do1){_Do1=yyGetInt32(_Do1);if(_Do1==0){return g_pBuiltIn.mouse_y;}else if(_sf[_Do1]){return _sf[_Do1].y;}return 0;}var _Ko1=device_mouse_raw_y;function device_mouse_raw_y(_Do1){_Do1=yyGetInt32(_Do1);if(_Io1[_Do1]){return _Io1[_Do1].y;}return 0;}function device_mouse_x_to_gui(_Do1){_Do1=yyGetInt32(_Do1);var x=0;if(_Do1==0){x=_zf;
}else if(_sf[_Do1]){x=_sf[_Do1].x;}_ef(canvas,_ff);x-=_ff.left;var _HJ=_IJ;if(_HJ<0.0)_HJ=window_get_width();return ~~(x*(_HJ/window_get_width()));}function device_mouse_y_to_gui(_Do1){_Do1=yyGetInt32(_Do1);var y=0;if(_Do1==0){y=_Af;}else if(_sf[_Do1]){y=_sf[_Do1].y;}_ef(canvas,_ff);y-=_ff.top;var _EJ=_FJ;if(_EJ<0.0)_EJ=window_get_height();return ~~(y*(_EJ/window_get_height()));}var _Lo1=os_is_paused;function os_is_paused(){return _Mo1;}var _No1=window_has_focus;function window_has_focus(){return _Oo1;}function ds_exists(_x3,
_sc){_x3=yyGetInt32(_x3);switch(yyGetInt32(_sc)){case _2n1:return(_g6._I4(_x3)?1.0:0.0);case _3n1:return(_Ij._I4(_x3)?1.0:0.0);case _4n1:return(_Wk._I4(_x3)?1.0:0.0);case _5n1:return(_Vk._I4(_x3)?1.0:0.0);case _6n1:return(_ui._I4(_x3)?1.0:0.0);case _7n1:return(_Ik._I4(_x3)?1.0:0.0);}return 0;};function script_exists(_x3){_x3=yyGetInt32(_x3);if(_x3>=100000)_x3-=100000;if(_vD.Scripts[yyGetInt32(_x3)]!=undefined){return 1;}return 0;}function script_get_name(_x3){if(typeof _x3=="function"){var _u3=_x3.name;if(_u3.startsWith("bound ")){
_u3=_u3.substr(6);}if(_vD.ScriptNames.indexOf(_u3)>=0){return _u3;}return "<unknown>";}else {_x3=yyGetInt32(_x3);if(_x3>=100000){_x3-=100000;if((_vD.Scripts[_x3]!=undefined)&&(_vD.ScriptNames[_x3]!=undefined)){var name=_vD.ScriptNames[_x3];if(name.startsWith("gml_Script_"))name=name.substr(11);return name;}}else {_Po1();if((_x3>=0)&&(_x3<_Qo1.length)){return _Qo1[_x3].name;}}}return "<undefined>";}function _Ro1(_x3){_x3=yyGetInt32(_x3);if(_x3>=100000){_x3-=100000;if(_vD.Scripts[_x3]!=undefined){return _vD.Scripts[_x3];
}}else {_Po1();if((_x3>=0)&&(_x3<_Qo1.length)){return _Qo1[_x3];}}return null;}function script_execute(_So1,_Gp,_N2){_4X=undefined;if(typeof _N2==="function"){var _To1=Array.prototype.slice.call(arguments);_To1[2]=_To1[1];_To1[1]=_To1[0];return _N2.apply(this,_To1.slice(1));}else {_N2==yyGetInt32(_N2);if(_N2<100000){_Po1();if((_N2>=0)&&(_N2<_Qo1.length)){_4X=_Qo1[_N2];if(_4X!==undefined){var _To1=Array.prototype.slice.call(arguments);return _4X.apply(this,_To1.slice(3));}}}else {_N2-=100000;_4X=JSON_game.Scripts[_N2];
if(_4X!==undefined){var _To1=Array.prototype.slice.call(arguments);_To1[2]=_To1[1];_To1[1]=_To1[0];return _4X.apply(this,_To1.slice(1));}}}return 0;}var method_call=script_execute_ext;function script_execute_ext(_So1,_Gp,_N2,_lk,_H81,_Xd1){_H81=_H81||0;_H81=yyGetInt32(_H81);_Xd1=_Xd1||_lk.length-_H81;_Xd1=yyGetInt32(_Xd1);if(!(_lk instanceof Array)){_L3("script_execute_ext : argument 2 is not an array")}else {var _7Z=1;if(_H81<0)_H81=_lk.length+_H81;if(_H81>=_lk.length)_H81=_lk.length;if(_Xd1<0){_7Z=-1;if((_H81+_Xd1)<0){
_Xd1=_H81+1;}else {_Xd1=-_Xd1;}}else {if((_H81+_Xd1)>_lk.length){_Xd1=_lk.length-_H81;}}var _To1=[];for(var _x5=_H81,i=0;(i<_Xd1);++i,_x5+=_7Z)_To1.push(_lk[_x5]);_4X=undefined;if(typeof _N2==="function"){_To1.splice(0,0,_So1,_Gp);return _N2.apply(this,_To1);}else {_N2==yyGetInt32(_N2);if(_N2<100000){_Po1();if((_N2>=0)&&(_N2<_Qo1.length)){_4X=_Qo1[_N2];if(_4X!==undefined){return _4X.apply(this,_To1);}}}else {_N2-=100000;_4X=JSON_game.Scripts[_N2];if(_4X!==undefined){_To1.splice(0,0,_So1,_Gp);return _4X.apply(this,
_To1);}}}}return 0;}function gml_release_mode(_Ry){if(yyGetBool(_Ry)){instance_change=_sP;yyInst=_Uo1;ds_grid_get=_2j;ds_grid_set=_Bi;ds_grid_set_pre=_Di;ds_grid_set_post=_Fi;}else {instance_change=_yP;yyInst=_Vo1;ds_grid_get=_1j;ds_grid_set=_Ai;ds_grid_set_pre=_Ci;ds_grid_set_post=_Ei;}}function application_surface_draw_enable(_Ry){_Wo1=yyGetBool(_Ry);}function application_surface_enable(_Ry){if(_Xo1){_Yo1=__h1;_Zo1=_0i1;}_Xo1=yyGetBool(_Ry);}function application_surface_is_enabled(){return _Xo1;}function __o1(){
var _Mr=0;var _Nr=0;var _if1=0;var _jf1=0;canvas=document.getElementById(_cE);var _0p1=_Im1;var _7e1=_Jm1;if(_1p1&&_2p1){var w=__h1;var h=_0i1;var _pv,_86,_76;_pv=w/h;_86=_0p1/_pv;if(_86<_7e1){_pv=h/w;_86=_0p1*_pv;_Nr=(_7e1-_86)/2;_76=_0p1;_86+=_Nr;}else {_pv=w/h;_76=_7e1*_pv;_Mr=(_0p1-_76)/2;_86=_7e1;_76+=_Mr;}_if1=_76;_jf1=_86;}else {_if1=_0p1;_jf1=_7e1;}_3p1.x=_Mr;_3p1.y=_Nr;_3p1.w=_if1-_Mr;_3p1.h=_jf1-_Nr;}function application_get_position(){__o1();var _fs=[];_fs.push(_3p1.x,_3p1.y,_3p1.x+_3p1.w,_3p1.y+_3p1.h);
return _fs;}function extension_stubfunc_real(){return 0;}function extension_stubfunc_string(){return "";}(function(){'use strict';Function.prototype._4p1=function(parent){this.prototype.parent=parent;for(var x in parent.prototype){if(!this.prototype[x])this.prototype[x]=parent.prototype[x];}};Function.prototype._5p1=function(parent){return this._4p1(parent);};Array.prototype._6p1=function(first,_1i,_7p1){if(typeof(first)==='undefined')first=0;if(typeof(_1i)==='undefined')_1i=this.length-first;if(typeof(_7p1)==='undefined')_7p1=function(_l3,
_k3){return _l3<_k3;};var left=first,stack=[],__j=0;for(;;){for(;left+1<_1i;_1i++){var _8p1=this[left+Math.floor(Math.random()*(_1i-left))];stack[__j++]=_1i;for(var right=left-1;;){while(_7p1(this[++right],_8p1)){}while(_7p1(_8p1,this[--_1i])){}if(right>=_1i)break;var _nK=this[right];this[right]=this[_1i];this[_1i]=_nK;}}if(__j===0)break;left=_1i;_1i=stack[--__j];}return this;};Array.prototype._9p1=function(_ap1,length){if(typeof(length)==='undefined')length=this.length;var _K5=0;for(var c=0;c<length;++c){
if(_ap1(this[c]))continue;if(c===_K5){++_K5;continue;}this[_K5++]=this[c];}return _K5;};Array.prototype._bp1=function(first,last,_yd,_7p1){if(typeof(_7p1)==='undefined')_7p1=function(_l3,_k3){return _l3<_k3;};var _u7=last-first;while(_u7>0){var step=Math.floor(_u7/2);var _cp1=first+step;if(_7p1(this[_cp1],_yd)){first=++_cp1;_u7-=step+1;}else _u7=step;}return first;};Array.prototype._dp1=function(first,last,_yd,_7p1){if(typeof(_7p1)==='undefined')_7p1=function(_l3,_k3){return _l3<_k3;};var _u7=last-first;
while(_u7>0){var step=Math.floor(_u7/2);var _cp1=first+step;if(!_7p1(_yd,this[_cp1])){first=++_cp1;_u7-=step+1;}else _u7=step;}return first;};Array.prototype.rotate=function(first,_ep1,last){var _ok=_ep1;while(first!=_ok){var _fp1=this[first];this[first]=this[_ok];this[_ok]=_fp1;++first;++_ok;if(_ok===last)_ok=_ep1;else if(first===_ep1)_ep1=_ok;}};var _gp1=(function(){var _hp1=function(){return +new Date();};if(typeof(performance)==='undefined')window['performance']={now:_hp1};if(!window['performance'].now)window['performance'].now=_hp1;
function _ip1(name,parent){this.name=name;this.parent=parent;this._jp1={};this._kp1=0;this._lp1=0;this._mp1=0;this._np1=false;this._op1=0;}_ip1.prototype={start:function(){this._kp1=performance.now();this._np1=true;},stop:function(_4d1){if(!this._np1)return;this._np1=false;this._lp1+=performance.now()-this._kp1;if(_4d1)this.start();for(var x in this._jp1)this._jp1[x].stop();},_4d1:function(_pp1){if(!_pp1){this._np1=true;this._mp1+=this._lp1;this.start();}this._lp1=0;for(var x in this._jp1)this._jp1[x]._4d1(true);
}};var _qp1=[];var _A4=new _ip1("root");function _rp1(name,parent){if(!_qp1)throw new Error("late profile creation not allowed");var _rh=new _ip1(name,parent||'root');_qp1.push(_rh);return _rh;}function _sp1(_tp1){_tp1._op1--;delete _tp1._jp1[_tp1.name];}function _up1(_Nk,_tp1){if(_Nk.name===_tp1.parent)return _Nk;for(var x in _Nk._jp1){var _x5;if(_x5=_up1(_Nk._jp1[x],_tp1))return _x5;}return null;}function init(){while(_qp1.length){var _kg=_qp1.pop();if(!(_kg.parentNode=_up1(_A4,_kg)))_qp1._vp1(_kg);else {_kg.parentNode._jp1[_kg.name]=_kg;
_kg.parentNode._op1++;}}_qp1=null;}function _wp1(){_A4._4d1(true);}var _u3={_rp1:_rp1,_sp1:_sp1,init:init,_4d1:_wp1,_xp1:_A4};return _u3;}());function _yp1(_zp1){if(!_zp1){console.log("Assertion failed! Pls debug.");debugger;}}var _Ap1=Number.MAX_VALUE;var _Bp1=2.2204460492503131e-016;var _Cp1=Math.PI;/// @file
var _Dp1=2;var _Ep1=8;var _Fp1=0.1;var _Gp1=2.0;var _Hp1=0.005;var _Ip1=(2.0/180.0*_Cp1);var _Jp1=(2.0*_Hp1);var _Kp1=8;var _Lp1=32;var _Mp1=1.0;var _Np1=0.2;var _Op1=(8.0/180.0*_Cp1);var _Pp1=2.0;var _Qp1=(_Pp1*_Pp1);
var _Rp1=(0.5*_Cp1);var _Sp1=(_Rp1*_Rp1);var _Tp1=0.2;var _Up1=0.75;var _Vp1=0.5;var _Wp1=0.01;var _Xp1=(2.0/180.0*_Cp1);var _Yp1=(-1);var _Zp1=0.75;var __p1=1.0;var _0q1=5.0;var _1q1=2;var _2q1=(_1q1*_1q1);var _3q1=256;function _4q1(_5q1,_6q1,_7q1){this._8q1=_5q1;this._9q1=_6q1;this._aq1=_7q1;}_4q1.prototype={toString:function(){return this._8q1+'.'+this._9q1+'.'+this._aq1;}};var _bq1=new _4q1(2,3,1);function _cq1(x){return isFinite(x)&&!isNaN(x);}var _dq1=Math.sqrt;var _eq1=Math.atan2;var _fq1=Math.sin;var _gq1=Math.cos;
var _hq1=Math.floor;var _iq1=Math.ceil;var _jq1=_dq1;var _kq1=_eq1;function _lq1(x){return 1.0/_dq1(x);}function _mq1(x,y){if(typeof(x)!=='undefined'){this.x=x;this.y=y;}else this.x=this.y=0;}_mq1.prototype={_a2:function(){return new _mq1(this.x,this.y);},_nq1:function(){this.x=0.0;this.y=0.0;return this;},Set:function(_oq1,_pq1){this.x=_oq1;this.y=_pq1;return this;},_pP:function(_K5){this.x=_K5.x;this.y=_K5.y;return this;},_qq1:function(){var _14=new _mq1();_14.Set(-this.x,-this.y);return _14;},_rq1:function(i){
switch(i){case 0:return this.x;case 1:return this.y;}},_sq1:function(i,_14){switch(i){case 0:return this.x=_14;case 1:return this.y=_14;}},_Ke:function(_14){this.x+=_14.x;this.y+=_14.y;return this;},_tq1:function(_14){this.x-=_14.x;this.y-=_14.y;return this;},Multiply:function(_l3){this.x*=_l3;this.y*=_l3;return this;},Length:function(){return _jq1(this.x*this.x+this.y*this.y);},_uq1:function(){return this.x*this.x+this.y*this.y;},_vq1:function(){var length=this.Length();if(length<_Bp1){return 0.0;}var _wq1=1.0/length;
this.x*=_wq1;this.y*=_wq1;return length;},_xq1:function(){return _cq1(this.x)&&_cq1(this.y);},_yq1:function(){return new _mq1(-this.y,this.x);},_zq1:function(out){var _Tf=out||[];_Tf[0]=this.x;_Tf[1]=this.y;return _Tf;},_Aq1:function(data){this.x=data[0];this.y=data[1];}};_mq1._Ke=function(_l3,_k3){return new _mq1(_l3.x+_k3.x,_l3.y+_k3.y);};_mq1._tq1=function(_l3,_k3){return new _mq1(_l3.x-_k3.x,_l3.y-_k3.y);};_mq1._Bq1=function(_l3,_k3){return _l3.x==_k3.x&&_l3.y==_k3.y;};_mq1.Multiply=function(_rh,_l3){return new _mq1(_rh*_l3.x,
_rh*_l3.y);};_mq1._qq1=function(_l3){return new _mq1(-_l3.x,-_l3.y);};function _Cq1(x,y,z){if(typeof(x)!=='undefined'){this.x=x;this.y=y;this.z=z;}}_Cq1.prototype={_a2:function(){return new _Cq1(this.x,this.y,this.z);},_nq1:function(){this.x=0.0;this.y=0.0;this.z=0.0;},Set:function(_oq1,_pq1,_Dq1){this.x=_oq1;this.y=_pq1;this.z=_Dq1;},_qq1:function(){var _14=new _Cq1();_14.Set(-this.x,-this.y,-this.z);return _14;},_Ke:function(_14){this.x+=_14.x;this.y+=_14.y;this.z+=_14.z;},_tq1:function(_14){this.x-=_14.x;
this.y-=_14.y;this.z-=_14.z;},Multiply:function(_rh){this.x*=_rh;this.y*=_rh;this.z*=_rh;},x:0,y:0,z:0};_Cq1.Multiply=function(_rh,_l3){return new _Cq1(_rh*_l3.x,_rh*_l3.y,_rh*_l3.z);};_Cq1._Ke=function(_l3,_k3){return new _Cq1(_l3.x+_k3.x,_l3.y+_k3.y,_l3.z+_k3.z);};_Cq1._tq1=function(_l3,_k3){return new _Cq1(_l3.x-_k3.x,_l3.y-_k3.y,_l3.z-_k3.z);};function _Eq1(_ag,_bg){this._fj=_ag?_ag._a2():new _mq1();this._SL=_bg?_bg._a2():new _mq1();}_Eq1.prototype={Set:function(_ag,_bg){this._fj._pP(_ag);this._SL._pP(_bg);
},_pP:function(_rA){this._fj._pP(_rA._fj);this._SL._pP(_rA._SL);},_Fq1:function(){this._fj.x=1.0;this._SL.x=0.0;this._fj.y=0.0;this._SL.y=1.0;},_nq1:function(){this._fj.x=0.0;this._SL.x=0.0;this._fj.y=0.0;this._SL.y=0.0;},_Gq1:function(){var _l3=this._fj.x,_k3=this._SL.x,c=this._fj.y,_Fl=this._SL.y;var _Hq1=new _Eq1();var _Iq1=_l3*_Fl-_k3*c;if(_Iq1!=0.0){_Iq1=1.0/_Iq1;}_Hq1._fj.x=_Iq1*_Fl;_Hq1._SL.x=-_Iq1*_k3;_Hq1._fj.y=-_Iq1*c;_Hq1._SL.y=_Iq1*_l3;return _Hq1;},_Jq1:function(_k3){var _Kq1=this._fj.x,_Lq1=this._SL.x,
_Mq1=this._fj.y,_Nq1=this._SL.y;var _Iq1=_Kq1*_Nq1-_Lq1*_Mq1;if(_Iq1!=0.0){_Iq1=1.0/_Iq1;}var x=new _mq1();x.x=_Iq1*(_Nq1*_k3.x-_Lq1*_k3.y);x.y=_Iq1*(_Kq1*_k3.y-_Mq1*_k3.x);return x;}};_Eq1._Ke=function(_zp1,_Hq1){return new _Eq1(_mq1._Ke(_zp1._fj,_Hq1._fj),_mq1._Ke(_zp1._SL,_Hq1._SL));};function _Oq1(_ag,_bg,_Pq1){this._fj=_ag?_ag._a2():new _Cq1();this._SL=_bg?_bg._a2():new _Cq1();this._Qq1=_Pq1?_Pq1._a2():new _Cq1();}_Oq1.prototype={_nq1:function(){this._fj._nq1();this._SL._nq1();this._Qq1._nq1();},_Rq1:function(_k3){
var _Iq1=_Sq1(this._fj,_Tq1(this._SL,this._Qq1));if(_Iq1!=0.0){_Iq1=1.0/_Iq1;}var x=new _Cq1();x.x=_Iq1*_Sq1(_k3,_Tq1(this._SL,this._Qq1));x.y=_Iq1*_Sq1(this._fj,_Tq1(_k3,this._Qq1));x.z=_Iq1*_Sq1(this._fj,_Tq1(this._SL,_k3));return x;},_Uq1:function(_k3){var _Kq1=this._fj.x,_Lq1=this._SL.x,_Mq1=this._fj.y,_Nq1=this._SL.y;var _Iq1=_Kq1*_Nq1-_Lq1*_Mq1;if(_Iq1!=0.0){_Iq1=1.0/_Iq1;}var x=new _mq1();x.x=_Iq1*(_Nq1*_k3.x-_Lq1*_k3.y);x.y=_Iq1*(_Kq1*_k3.y-_Mq1*_k3.x);return x;},_Vq1:function(_Wq1){var _l3=this._fj.x,
_k3=this._SL.x,c=this._fj.y,_Fl=this._SL.y;var _Iq1=_l3*_Fl-_k3*c;if(_Iq1!=0.0){_Iq1=1.0/_Iq1;}_Wq1._fj.x=_Iq1*_Fl;_Wq1._SL.x=-_Iq1*_k3;_Wq1._fj.z=0.0;_Wq1._fj.y=-_Iq1*c;_Wq1._SL.y=_Iq1*_l3;_Wq1._SL.z=0.0;_Wq1._Qq1.x=0.0;_Wq1._Qq1.y=0.0;_Wq1._Qq1.z=0.0;},_Xq1:function(_Wq1){var _Iq1=_Sq1(this._fj,_Tq1(this._SL,this._Qq1));if(_Iq1!=0.0){_Iq1=1.0/_Iq1;}var _Kq1=this._fj.x,_Lq1=this._SL.x,_Yq1=this._Qq1.x;var _Nq1=this._SL.y,_Zq1=this._Qq1.y;var __q1=this._Qq1.z;_Wq1._fj.x=_Iq1*(_Nq1*__q1-_Zq1*_Zq1);_Wq1._fj.y=_Iq1*(_Yq1*_Zq1-_Lq1*__q1);
_Wq1._fj.z=_Iq1*(_Lq1*_Zq1-_Yq1*_Nq1);_Wq1._SL.x=_Wq1._fj.y;_Wq1._SL.y=_Iq1*(_Kq1*__q1-_Yq1*_Yq1);_Wq1._SL.z=_Iq1*(_Yq1*_Lq1-_Kq1*_Zq1);_Wq1._Qq1.x=_Wq1._fj.z;_Wq1._Qq1.y=_Wq1._SL.z;_Wq1._Qq1.z=_Iq1*(_Kq1*_Nq1-_Lq1*_Lq1);}};function _0r1(angle,c){if(typeof(c)!=='undefined'){this._rh=angle;this.c=c;}else if(typeof(angle)!=='undefined')this.Set(angle);}_0r1.prototype={_a2:function(){return new _0r1(this._rh,this.c);},_pP:function(_K5){this._rh=_K5._rh;this.c=_K5.c;},Set:function(x){this._rh=_fq1(x);this.c=_gq1(x);
},_Fq1:function(){this._rh=0.0;this.c=1.0;},_1r1:function(){return _kq1(this._rh,this.c);},_2r1:function(){return new _mq1(this.c,this._rh);},_3r1:function(){return new _mq1(-this._rh,this.c);},_rh:0,c:1};function _4r1(position,rotation){this._kg=new _mq1();this.q=new _0r1();if(position){this._kg._pP(position);this.q._pP(rotation);}}_4r1.prototype={_a2:function(){var _5r1=new _4r1(this._kg,this.q);return _5r1;},_pP:function(_5r1){this._kg._pP(_5r1._kg);this.q._pP(_5r1.q);},_Fq1:function(){this._kg._nq1();this.q._Fq1();
},Set:function(position,angle){this._kg._pP(position);this.q.Set(angle);}};function _6r1(){this._7r1=new _mq1();this._8r1=new _mq1();this.c=new _mq1();}_6r1.prototype={_pP:function(_9r1){this._7r1._pP(_9r1._7r1);this._8r1._pP(_9r1._8r1);this.c._pP(_9r1.c);this._l3=_9r1._l3;this._ar1=_9r1._ar1;this._br1=_9r1._br1;},_a2:function(){var _9r1=new _6r1();_9r1._7r1._pP(this._7r1);_9r1._8r1._pP(this._8r1);_9r1.c._pP(this.c);_9r1._l3=this._l3;_9r1._ar1=this._ar1;_9r1._br1=this._br1;return _9r1;},/// @param beta is a factor in [0,1], where 0 indicates alpha0.
_cr1:function(_5r1,
_dr1){_5r1._kg.x=((1.0-_dr1)*this._8r1.x)+(_dr1*this.c.x);_5r1._kg.y=((1.0-_dr1)*this._8r1.y)+(_dr1*this.c.y);var angle=(1.0-_dr1)*this._ar1+_dr1*this._l3;_5r1.q.Set(angle);_5r1._kg.x-=_5r1.q.c*this._7r1.x-_5r1.q._rh*this._7r1.y;_5r1._kg.y-=_5r1.q._rh*this._7r1.x+_5r1.q.c*this._7r1.y;},/// @param alpha the new initial time.
_er1:function(alpha){_yp1(this._br1<1.0);var _dr1=(alpha-this._br1)/(1.0-this._br1);this._8r1._Ke(_mq1.Multiply(_dr1,_mq1._tq1(this.c,this._8r1)));this._ar1+=_dr1*(this._l3-this._ar1);
this._br1=alpha;},_vq1:function(){var _fr1=2.0*_Cp1;var _Fl=_fr1*_hq1(this._ar1/_fr1);this._ar1-=_Fl;this._l3-=_Fl;},_ar1:0,_l3:0,_br1:0};function _gr1(_l3,_k3){return _l3.x*_k3.x+_l3.y*_k3.y;}function _hr1(_l3,_k3){return _l3.x*_k3.y-_l3.y*_k3.x;}function _ir1(_l3,_rh){return new _mq1(_rh*_l3.y,-_rh*_l3.x);}function _jr1(_rh,_l3){return new _mq1(-_rh*_l3.y,_rh*_l3.x);}function _kr1(_zp1,_14){return new _mq1(_zp1._fj.x*_14.x+_zp1._SL.x*_14.y,_zp1._fj.y*_14.x+_zp1._SL.y*_14.y);}function _lr1(_zp1,_14){return new _mq1(_gr1(_14,
_zp1._fj),_gr1(_14,_zp1._SL));}function _mr1(_l3,_k3){var c=_mq1._tq1(_l3,_k3);return c.Length();}function _nr1(_l3,_k3){var c=_mq1._tq1(_l3,_k3);return _gr1(c,c);}function _Sq1(_l3,_k3){return _l3.x*_k3.x+_l3.y*_k3.y+_l3.z*_k3.z;}function _Tq1(_l3,_k3){return new _Cq1(_l3.y*_k3.z-_l3.z*_k3.y,_l3.z*_k3.x-_l3.x*_k3.z,_l3.x*_k3.y-_l3.y*_k3.x);}function _or1(_zp1,_Hq1){return new _Eq1(_kr1(_zp1,_Hq1._fj),_kr1(_zp1,_Hq1._SL));}function _pr1(_zp1,_Hq1){var _ag=new _mq1(_gr1(_zp1._fj,_Hq1._fj),_gr1(_zp1._SL,_Hq1._fj));
var _bg=new _mq1(_gr1(_zp1._fj,_Hq1._SL),_gr1(_zp1._SL,_Hq1._SL));return new _Eq1(_ag,_bg);}function _qr1(_zp1,_14){return _Cq1._Ke(_Cq1._Ke(_Cq1.Multiply(_14.x,_zp1._fj),_Cq1.Multiply(_14.y,_zp1._SL)),_Cq1.Multiply(_14.z,_zp1._Qq1));}function _rr1(_zp1,_14){return new _mq1(_zp1._fj.x*_14.x+_zp1._SL.x*_14.y,_zp1._fj.y*_14.x+_zp1._SL.y*_14.y);}function _sr1(q,_i3){var _tr1=new _0r1();_tr1._rh=q._rh*_i3.c+q.c*_i3._rh;_tr1.c=q.c*_i3.c-q._rh*_i3._rh;return _tr1;}function _ur1(q,_i3){var _tr1=new _0r1();_tr1._rh=q.c*_i3._rh-q._rh*_i3.c;
_tr1.c=q.c*_i3.c+q._rh*_i3._rh;return _tr1;}function _vr1(q,_14){return new _mq1(q.c*_14.x-q._rh*_14.y,q._rh*_14.x+q.c*_14.y);}function _wr1(q,_14){return new _mq1(q.c*_14.x+q._rh*_14.y,-q._rh*_14.x+q.c*_14.y);}function _xr1(_yr1,_14){return new _mq1((_yr1.q.c*_14.x-_yr1.q._rh*_14.y)+_yr1._kg.x,(_yr1.q._rh*_14.x+_yr1.q.c*_14.y)+_yr1._kg.y);}function _zr1(_yr1,_14){var _Ft=_14.x-_yr1._kg.x;var _Gt=_14.y-_yr1._kg.y;var x=(_yr1.q.c*_Ft+_yr1.q._rh*_Gt);var y=(-_yr1.q._rh*_Ft+_yr1.q.c*_Gt);return new _mq1(x,y);}function _Ar1(_zp1,
_Hq1){var _Br1=new _4r1();_Br1.q=_sr1(_zp1.q,_Hq1.q);_Br1._kg=_mq1._Ke(_vr1(_zp1.q,_Hq1._kg),_zp1._kg);return _Br1;}function _Cr1(_zp1,_Hq1){var _Br1=new _4r1();_Br1.q=_ur1(_zp1.q,_Hq1.q);var _Dr1=_Hq1._kg.x-_zp1._kg.x;var _Er1=_Hq1._kg.y-_zp1._kg.y;_Br1._kg.x=_zp1.q.c*_Dr1+_zp1.q._rh*_Er1;_Br1._kg.y=-_zp1.q._rh*_Dr1+_zp1.q.c*_Er1;return _Br1;}var _Fr1=Math.abs;function _Gr1(_l3){return new _mq1(_Fr1(_l3.x),_Fr1(_l3.y));}function _Hr1(_zp1){return new _Eq1(_Gr1(_zp1._fj),_Gr1(_zp1._SL));}var _Ir1=Math.min;function _Jr1(_l3,
_k3){return new _mq1(_Ir1(_l3.x,_k3.x),_Ir1(_l3.y,_k3.y));}var _Kr1=Math.max;function _Lr1(_l3,_k3){return new _mq1(_Kr1(_l3.x,_k3.x),_Kr1(_l3.y,_k3.y));}function _Mr1(_l3,_Dg1,_2h1){return _Kr1(_Dg1,_Ir1(_l3,_2h1));}function _Nr1(_l3,_Dg1,_2h1){return _Lr1(_Dg1,_Jr1(_l3,_2h1));}function _Or1(x){x|=(x>>1);x|=(x>>2);x|=(x>>4);x|=(x>>8);x|=(x>>16);return x+1;}function _Pr1(x){var result=x>0&&(x&(x-1))==0;return result;}var _Qr1=32767;function _Rr1(_Sr1,_Cg1){var _i3=Math.random();if(typeof(_Sr1)!=='undefined')_i3=(_Cg1-_Sr1)*_i3+_Sr1;
else _i3=2.0*_i3-1.0;return _i3;}function _Tr1(_i3,_j3,_k3){this._i3=_i3||0;this._j3=_j3||0;this._k3=_k3||0;}_Tr1.prototype={Set:function(_i3,_j3,_k3){this._i3=_i3;this._j3=_j3;this._k3=_k3;}};function _Ur1(){}_Ur1.prototype={_Vr1:function(_Sn1){this._Wr1=_Sn1;},_Xr1:function(){return this._Wr1;},_Yr1:function(_Sn1){this._Wr1|=_Sn1;},_Zr1:function(_Sn1){this._Wr1&=~_Sn1;},__r1:function(_Sn1){this._Wr1^=_Sn1;},_0s1:function(vertices,vertexCount,color){},_1s1:function(vertices,vertexCount,color){},_2s1:function(_3s1,
_W51,color){},_4s1:function(_3s1,_W51,_5u,color){},_5s1:function(_4u,_6s1,color){},/// @param xf a transform.
_7s1:function(_5r1){},_g61:function(_8s1,_W51,_9s1,_u7){},_Wr1:0};_Ur1._as1=1;_Ur1._bs1=2;_Ur1._cs1=4;_Ur1._ds1=8;_Ur1._es1=16;_Ur1._fs1=32;_Ur1._gs1=64;_Ur1._hs1=128;_Ur1._is1=256;_Ur1._js1=512;_Ur1._ks1=1024;if(typeof(performance)==='undefined'){window.performance={now:function(){return +new Date();}};}function _ls1(){this._oJ();}_ls1.prototype={_oJ:function(){this._ms1=performance.now();
},_ns1:function(){return performance.now()-this._ms1;}};function _os1(){this._ps1=0;this._3s1=new _mq1();this._qs1=0;}/*
 * A shape.
 * @constructor
 * @returns {b2Shape}
 */function _rs1(){this._dO=0;this._ss1=0;}_rs1.prototype={_a2:function(){},/// @return the shape type.
_Xk1:function(){return this._dO;},_ts1:function(){},/// @param xf the shape world transform.
/// @param p a point in world coordinates.
_us1:function(_5r1,_kg){},/// @param output the ray-cast results.
/// @param input the ray-cast input parameters.
/// @param transform the transform to be applied to the shape.
/// @param childIndex the child shape index
_vs1:function(output,
input,transform,_ws1){},/// @param aabb returns the axis aligned box.
/// @param xf the world transform of the shape.
/// @param childIndex the child shape
_xs1:function(_ys1,_5r1,_ws1){},/// @param massData returns the mass data for this shape.
/// @param density the density in kilograms per meter squared.
_zs1:function(_As1,_s61){},/// @param xf the shape world transform.
/// @param p a point in world coordinates.
/// @param distance returns the distance from the current shape.
/// @param normal returns the direction in which the distance increases.
_Bs1:function(_5r1,
_kg,_Cs1,_Ds1,_ws1){},_zq1:function(out){var _Tf=out||{};_Tf['m_type']=this._dO;_Tf['m_radius']=this._ss1;return _Tf;},_Aq1:function(data){this._ss1=data['m_radius'];}};_rs1._Es1=0;_rs1._Fs1=1;_rs1._Gs1=2;_rs1._Hs1=3;_rs1._Is1=4;function _Js1(){this.parent.call(this);this._dO=_rs1._Es1;this._ss1=0;this._Ks1=new _mq1();Object.seal(this);}_Js1.prototype={_a2:function(){var shape=new _Js1();shape._ss1=this._ss1;shape._Ks1=this._Ks1._a2();return shape;},/// @see b2Shape::GetChildCount
_ts1:function(){return 1;
},_us1:function(transform,_kg){var _3s1=_mq1._Ke(transform._kg,_vr1(transform.q,this._Ks1));var _Fl=_mq1._tq1(_kg,_3s1);return _gr1(_Fl,_Fl)<=this._ss1*this._ss1;},_vs1:function(output,input,transform,_ws1){var position=_mq1._Ke(transform._kg,_vr1(transform.q,this._Ks1));var _rh=_mq1._tq1(input._4u,position);var _k3=_gr1(_rh,_rh)-this._ss1*this._ss1;var _i3=_mq1._tq1(input._6s1,input._4u);var c=_gr1(_rh,_i3);var _9K=_gr1(_i3,_i3);var _Ls1=c*c-_9K*_k3;if(_Ls1<0.0||_9K<_Bp1){return false;}var _l3=-(c+_jq1(_Ls1));
if(0.0<=_l3&&_l3<=input._Ms1*_9K){_l3/=_9K;output._Ns1=_l3;output._Ds1=_mq1._Ke(_rh,_mq1.Multiply(_l3,_i3));output._Ds1._vq1();return true;}return false;},/// @see b2Shape::ComputeAABB
_xs1:function(_ys1,transform,_ws1){var _Ft=transform._kg.x+(transform.q.c*this._Ks1.x-transform.q._rh*this._Ks1.y);var _Gt=transform._kg.y+(transform.q._rh*this._Ks1.x+transform.q.c*this._Ks1.y);_ys1._Os1.x=_Ft-this._ss1;_ys1._Os1.y=_Gt-this._ss1;_ys1._Ps1.x=_Ft+this._ss1;_ys1._Ps1.y=_Gt+this._ss1;},/// @see b2Shape::ComputeMass
_zs1:function(_As1,
_s61){_As1._ps1=_s61*_Cp1*this._ss1*this._ss1;_As1._3s1=this._Ks1;_As1._qs1=_As1._ps1*(0.5*this._ss1*this._ss1+_gr1(this._Ks1,this._Ks1));},_Qs1:function(_Fl){return 0;},_Rs1:function(_Fl){return this._Ks1;},_kd:function(){return 1;},_Ss1:function(index){_yp1(index==0);return this._Ks1;},_Bs1:function(transform,_kg,_Cs1,_Ds1,_ws1){var _3s1=_mq1._Ke(transform._kg,_vr1(transform.q,this._Ks1));var _Fl=_mq1._tq1(_kg,_3s1);var _3D=_Fl.Length();_Cs1[0]=_3D-this._ss1;_Ds1._pP(_mq1.Multiply(1/_3D,_Fl));},_zq1:function(out){
var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['m_p']=this._Ks1._zq1();return _Tf;},_Aq1:function(data){this.parent.prototype._Aq1.call(this,data);this._Ks1._Aq1(data['m_p']);}};_Js1._4p1(_rs1);function _Ts1(){this.parent.call(this);this._dO=_rs1._Fs1;this._ss1=_Jp1;this._Us1=new _mq1();this._Vs1=new _mq1();this._Ws1=new _mq1();this._Xs1=new _mq1();this._Ys1=false;this._Zs1=false;Object.seal(this);}_Ts1.prototype={Set:function(_la,_34){this._Vs1._pP(_la);this._Ws1._pP(_34);this._Ys1=false;
this._Zs1=false;},_a2:function(){var shape=new _Ts1();shape._Us1=this._Us1._a2();shape._Vs1=this._Vs1._a2();shape._Ws1=this._Ws1._a2();shape._Xs1=this._Xs1._a2();shape._Ys1=this._Ys1;shape._Zs1=this._Zs1;return shape;},/// @see b2Shape::GetChildCount
_ts1:function(){return 1;},/// @see b2Shape::TestPoint
_us1:function(transform,_kg){return false;},_vs1:function(output,input,_5r1,_ws1){var _4u=_wr1(_5r1.q,_mq1._tq1(input._4u,_5r1._kg));var _6s1=_wr1(_5r1.q,_mq1._tq1(input._6s1,_5r1._kg));var _Fl=_mq1._tq1(_6s1,
_4u);var _la=this._Vs1;var _34=this._Ws1;var e=_mq1._tq1(_34,_la);var _Ds1=new _mq1(e.y,-e.x);_Ds1._vq1();var __s1=_gr1(_Ds1,_mq1._tq1(_la,_4u));var _0t1=_gr1(_Ds1,_Fl);if(_0t1==0.0){return false;}var _N5=__s1/_0t1;if(_N5<0.0||input._Ms1<_N5){return false;}var q=_mq1._Ke(_4u,_mq1.Multiply(_N5,_Fl));var _i3=_mq1._tq1(_34,_la);var _9K=_gr1(_i3,_i3);if(_9K==0.0){return false;}var _rh=_gr1(_mq1._tq1(q,_la),_i3)/_9K;if(_rh<0.0||1.0<_rh){return false;}output._Ns1=_N5;if(__s1>0.0){output._Ds1=_vr1(_5r1.q,_Ds1)._qq1();
}else {output._Ds1=_vr1(_5r1.q,_Ds1);}return true;},/// @see b2Shape::ComputeAABB
_xs1:function(_ys1,_5r1,_ws1){var _wa=(_5r1.q.c*this._Vs1.x-_5r1.q._rh*this._Vs1.y)+_5r1._kg.x;var _xa=(_5r1.q._rh*this._Vs1.x+_5r1.q.c*this._Vs1.y)+_5r1._kg.y;var _ya=(_5r1.q.c*this._Ws1.x-_5r1.q._rh*this._Ws1.y)+_5r1._kg.x;var _za=(_5r1.q._rh*this._Ws1.x+_5r1.q.c*this._Ws1.y)+_5r1._kg.y;var _1t1=_Ir1(_wa,_ya);var _2t1=_Ir1(_xa,_za);var _3t1=_Kr1(_wa,_ya);var _4t1=_Kr1(_xa,_za);_ys1._Os1.x=_1t1-this._ss1;_ys1._Os1.y=_2t1-this._ss1;
_ys1._Ps1.x=_3t1+this._ss1;_ys1._Ps1.y=_4t1+this._ss1;},/// @see b2Shape::ComputeMass
_zs1:function(_As1,_s61){_As1._ps1=0.0;_As1._3s1=_mq1.Multiply(0.5,_mq1._Ke(this._Vs1,this._Ws1));_As1._qs1=0.0;},_Bs1:function(_5r1,_kg,_Cs1,_Ds1,_ws1){var _la=_xr1(_5r1,this._Vs1);var _34=_xr1(_5r1,this._Ws1);var _Fl=_mq1._tq1(_kg,_la);var _rh=_mq1._tq1(_34,_la);var _5t1=_gr1(_Fl,_rh);if(_5t1>0){var _NA=_gr1(_rh,_rh);if(_5t1>_NA){_Fl._pP(_mq1._tq1(_kg,_34));}else {_Fl._tq1(_mq1.Multiply(_5t1/_NA,_rh));}}var _3D=_Fl.Length();
_Cs1[0]=_3D;_Ds1._pP(_3D>0?_mq1.Multiply(1/_3D,_Fl):new _mq1(0,0));},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['m_vertex1']=this._Vs1._zq1();_Tf['m_vertex2']=this._Ws1._zq1();_Tf['m_hasVertex0']=this._Ys1;if(this._Ys1)_Tf['m_vertex0']=this._Us1._zq1();_Tf['m_hasVertex3']=this._Zs1;if(this._Zs1)_Tf['m_vertex3']=this._Xs1._zq1();return _Tf;},_Aq1:function(data){this.parent.prototype._Aq1.call(this,data);this._Vs1._Aq1(data['m_vertex1']);this._Ws1._Aq1(data['m_vertex2']);
this._Ys1=data['m_hasVertex0'];if(this._Ys1)this._Us1._Aq1(data['m_vertex0']);this._Zs1=data['m_hasVertex3'];if(this._Zs1)this._Xs1._Aq1(data['m_vertex3']);}};_Ts1._4p1(_rs1);function _6t1(){this.parent.call(this);this._dO=_rs1._Hs1;this._ss1=_Jp1;this._7t1=null;this._8t1=0;this._9t1=new _mq1();this._at1=new _mq1();this._bt1=false;this._ct1=false;Object.seal(this);}_6t1._dt1=new _Ts1();_6t1.prototype={/// @param vertices an array of vertices, these are copied
/// @param count the vertex count
_et1:function(vertices,
_u7){_yp1(this._7t1==null&&this._8t1==0);_yp1(_u7>=3);for(var i=1;i<_u7;++i){var _la=vertices[i-1];var _34=vertices[i];_yp1(_nr1(_la,_34)>_Hp1*_Hp1);}this._8t1=_u7+1;this._7t1=new Array(this._8t1);for(var i=0;i<_u7;++i)this._7t1[i]=vertices[i]._a2();this._7t1[_u7]=this._7t1[0]._a2();this._9t1._pP(this._7t1[this._8t1-2]);this._at1._pP(this._7t1[1]);this._bt1=true;this._ct1=true;},/// @param vertices an array of vertices, these are copied
/// @param count the vertex count
_ft1:function(vertices,_u7){
_yp1(this._7t1==null&&this._8t1==0);_yp1(_u7>=2);for(var i=1;i<_u7;++i){var _la=vertices[i-1];var _34=vertices[i];_yp1(_nr1(_la,_34)>_Hp1*_Hp1);}this._8t1=_u7;this._7t1=new Array(_u7);for(var i=0;i<_u7;++i)this._7t1[i]=vertices[i]._a2();this._bt1=false;this._ct1=false;this._9t1._nq1();this._at1._nq1();},_gt1:function(_ht1){this._9t1._pP(_ht1);this._bt1=true;},_it1:function(_jt1){this._at1._pP(_jt1);this._ct1=true;},_a2:function(){var shape=new _6t1();shape._8t1=this._8t1;shape._7t1=new Array(this._8t1);
for(var i=0;i<this._8t1;++i)shape._7t1[i]=this._7t1[i]._a2();shape._9t1=this._9t1._a2();shape._at1=this._at1._a2();shape._bt1=this._bt1;shape._ct1=this._ct1;return shape;},/// @see b2Shape::GetChildCount
_ts1:function(){return this._8t1-1;},_kt1:function(_lt1,index){_yp1(0<=index&&index<this._8t1-1);_lt1._dO=_rs1._Fs1;_lt1._ss1=this._ss1;_lt1._Vs1=this._7t1[index+0];_lt1._Ws1=this._7t1[index+1];if(index>0){_lt1._Us1=this._7t1[index-1];_lt1._Ys1=true;}else {_lt1._Us1=this._9t1;_lt1._Ys1=this._bt1;}if(index<this._8t1-2){
_lt1._Xs1=this._7t1[index+2];_lt1._Zs1=true;}else {_lt1._Xs1=this._at1;_lt1._Zs1=this._ct1;}},/// @see b2Shape::TestPoint
_us1:function(transform,_kg){return false;},_vs1:function(output,input,_5r1,_ws1){_yp1(_ws1<this._8t1);var _mt1=_ws1;var _nt1=_ws1+1;if(_nt1==this._8t1){_nt1=0;}_6t1._dt1._Vs1=this._7t1[_mt1]._a2();_6t1._dt1._Ws1=this._7t1[_nt1]._a2();return _6t1._dt1._vs1(output,input,_5r1,0);},/// @see b2Shape::ComputeAABB
_xs1:function(_ys1,_5r1,_ws1){_yp1(_ws1<this._8t1);var _mt1=_ws1;var _nt1=_ws1+1;
if(_nt1==this._8t1){_nt1=0;}var _wa=(_5r1.q.c*this._7t1[_mt1].x-_5r1.q._rh*this._7t1[_mt1].y)+_5r1._kg.x;var _xa=(_5r1.q._rh*this._7t1[_mt1].x+_5r1.q.c*this._7t1[_mt1].y)+_5r1._kg.y;var _ya=(_5r1.q.c*this._7t1[_nt1].x-_5r1.q._rh*this._7t1[_nt1].y)+_5r1._kg.x;var _za=(_5r1.q._rh*this._7t1[_nt1].x+_5r1.q.c*this._7t1[_nt1].y)+_5r1._kg.y;_ys1._Os1.x=_Ir1(_wa,_ya);_ys1._Os1.y=_Ir1(_xa,_za);_ys1._Ps1.x=_Kr1(_wa,_ya);_ys1._Ps1.y=_Kr1(_xa,_za);},/// @see b2Shape::ComputeMass
_zs1:function(_As1,_s61){_As1._ps1=0.0;
_As1._3s1._nq1();_As1._qs1=0.0;},_Bs1:function(_5r1,_kg,_Cs1,_Ds1,_ws1){this._kt1(_6t1._dt1,_ws1);_6t1._dt1._Bs1(_5r1,_kg,_Cs1,_Ds1,0);},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['m_count']=this._8t1;_Tf['m_vertices']=[];for(var i=0;i<this._8t1;++i)_Tf['m_vertices'].push(this._7t1[i]._zq1());_Tf['m_hasPrevVertex']=this._bt1;if(this._bt1)_Tf['m_prevVertex']=this._9t1._zq1();_Tf['m_hasNextVertex']=this._ct1;if(this._ct1)_Tf['m_nextVertex']=this._at1._zq1();return _Tf;
},_Aq1:function(data){this.parent.prototype._Aq1.call(this,data);this._8t1=data['m_count'];this._7t1=[];for(var i=0;i<this._8t1;++i){this._7t1[i]=new _mq1();this._7t1[i]._Aq1(data['m_vertices'][i]);}this._bt1=data['m_hasPrevVertex'];if(this._bt1)this._9t1._Aq1(data['m_prevVertex']);this._ct1=data['m_hasNextVertex'];if(this._ct1)this._at1._Aq1(data['m_nextVertex']);}};_6t1._4p1(_rs1);function _ot1(){this.parent.call(this);this._dO=_rs1._Gs1;this._ss1=_Jp1;this._8t1=0;this._pt1=new _mq1();this._7t1=new Array(_Ep1);
this._qt1=new Array(_Ep1);Object.seal(this);}_ot1.prototype={_a2:function(){var shape=new _ot1();shape._8t1=this._8t1;shape._pt1=this._pt1._a2();for(var i=0;i<this._8t1;++i){shape._7t1[i]=this._7t1[i]._a2();shape._qt1[i]=this._qt1[i]._a2();}return shape;},/// @see b2Shape::GetChildCount
_ts1:function(){return 1;},/// @warning the points may be re-ordered, even if they form a convex polygon
/// @warning collinear points are handled but not removed. Collinear points
Set:function(vertices,_u7){_yp1(3<=_u7&&_u7<=_Ep1);
if(_u7<3){this._rt1(1.0,1.0);return;}var _x5=_Ir1(_u7,_Ep1);var _Rp=new Array(_Ep1);var _st1=0;for(var i=0;i<_x5;++i){var _14=vertices[i];var _tt1=true;for(var _35=0;_35<_st1;++_35){if(_nr1(_14,_Rp[_35])<0.5*_Hp1){_tt1=false;break;}}if(_tt1){_Rp[_st1++]=_14._a2();}}_x5=_st1;if(_x5<3){_yp1(false);this._rt1(1.0,1.0);return;}var _ut1=0;var _4a=_Rp[0].x;for(i=1;i<_x5;++i){var x=_Rp[i].x;if(x>_4a||(x==_4a&&_Rp[i].y<_Rp[_ut1].y)){_ut1=i;_4a=x;}}var hull=new Array(_Ep1);var _z5=0;var _vt1=_ut1;for(;;){hull[_z5]=_vt1;
var _wt1=0;for(_35=1;_35<_x5;++_35){if(_wt1==_vt1){_wt1=_35;continue;}var _i3=_mq1._tq1(_Rp[_wt1],_Rp[hull[_z5]]);var _14=_mq1._tq1(_Rp[_35],_Rp[hull[_z5]]);var c=_hr1(_i3,_14);if(c<0.0){_wt1=_35;}if(c==0.0&&_14._uq1()>_i3._uq1()){_wt1=_35;}}++_z5;_vt1=_wt1;if(_wt1==_ut1){break;}}this._8t1=_z5;for(i=0;i<_z5;++i){this._7t1[i]=_Rp[hull[i]]._a2();}for(i=0;i<_z5;++i){var _mt1=i;var _nt1=i+1<_z5?i+1:0;var _lt1=_mq1._tq1(this._7t1[_nt1],this._7t1[_mt1]);_yp1(_lt1._uq1()>_Bp1*_Bp1);this._qt1[i]=_ir1(_lt1,1.0)._a2();
this._qt1[i]._vq1();}this._pt1=_ot1._xt1(this._7t1,_z5);},/// @param hx the half-width.
/// @param hy the half-height.
_rt1:function(_yt1,_zt1,_3s1,angle){this._8t1=4;this._7t1[0]=new _mq1(-_yt1,-_zt1);this._7t1[1]=new _mq1(_yt1,-_zt1);this._7t1[2]=new _mq1(_yt1,_zt1);this._7t1[3]=new _mq1(-_yt1,_zt1);this._qt1[0]=new _mq1(0.0,-1.0);this._qt1[1]=new _mq1(1.0,0.0);this._qt1[2]=new _mq1(0.0,1.0);this._qt1[3]=new _mq1(-1.0,0.0);if(!_3s1)return;this._pt1._pP(_3s1);var _5r1=new _4r1();_5r1._kg=_3s1;_5r1.q.Set(angle);
for(var i=0;i<this._8t1;++i){this._7t1[i]._pP(_xr1(_5r1,this._7t1[i]));this._qt1[i]._pP(_vr1(_5r1.q,this._qt1[i]));}},/// @see b2Shape::TestPoint
_us1:function(_5r1,_kg){var _At1=_wr1(_5r1.q,_mq1._tq1(_kg,_5r1._kg));for(var i=0;i<this._8t1;++i){var _wF=_gr1(this._qt1[i],_mq1._tq1(_At1,this._7t1[i]));if(_wF>0.0){return false;}}return true;},_vs1:function(output,input,_5r1,_ws1){var _4u=_wr1(_5r1.q,_mq1._tq1(input._4u,_5r1._kg));var _6s1=_wr1(_5r1.q,_mq1._tq1(input._6s1,_5r1._kg));var _Fl=_mq1._tq1(_6s1,_4u);
var _XW=0.0,_Bt1=input._Ms1;var index=-1;for(var i=0;i<this._8t1;++i){var __s1=_gr1(this._qt1[i],_mq1._tq1(this._7t1[i],_4u));var _0t1=_gr1(this._qt1[i],_Fl);if(_0t1==0.0){if(__s1<0.0){return false;}}else {if(_0t1<0.0&&__s1<_XW*_0t1){_XW=__s1/_0t1;index=i;}else if(_0t1>0.0&&__s1<_Bt1*_0t1){_Bt1=__s1/_0t1;}}if(_Bt1<_XW){return false;}}_yp1(0.0<=_XW&&_XW<=input._Ms1);if(index>=0){output._Ns1=_XW;output._Ds1=_vr1(_5r1.q,this._qt1[index]);return true;}return false;},/// @see b2Shape::ComputeAABB
_xs1:function(_ys1,
_5r1,_ws1){var _1t1=(_5r1.q.c*this._7t1[0].x-_5r1.q._rh*this._7t1[0].y)+_5r1._kg.x;var _2t1=(_5r1.q._rh*this._7t1[0].x+_5r1.q.c*this._7t1[0].y)+_5r1._kg.y;var _3t1=_1t1;var _4t1=_2t1;for(var i=1;i<this._8t1;++i){var _U9=(_5r1.q.c*this._7t1[i].x-_5r1.q._rh*this._7t1[i].y)+_5r1._kg.x;var _V9=(_5r1.q._rh*this._7t1[i].x+_5r1.q.c*this._7t1[i].y)+_5r1._kg.y;_1t1=_Ir1(_1t1,_U9);_2t1=_Ir1(_2t1,_V9);_3t1=_Kr1(_3t1,_U9);_4t1=_Kr1(_4t1,_V9);}_ys1._Os1.x=_1t1-this._ss1;_ys1._Os1.y=_2t1-this._ss1;_ys1._Ps1.x=_3t1+this._ss1;
_ys1._Ps1.y=_4t1+this._ss1;},/// @see b2Shape::ComputeMass
_zs1:function(_As1,_s61){_yp1(this._8t1>=3);var _3s1=new _mq1(0.0,0.0);var _Ct1=0.0;var _qs1=0.0;var _rh=new _mq1(0.0,0.0);for(var i=0;i<this._8t1;++i){_rh._Ke(this._7t1[i]);}_rh.Multiply(1.0/this._8t1);var _Dt1=1.0/3.0;for(var i=0;i<this._8t1;++i){var _Et1=_mq1._tq1(this._7t1[i],_rh);var _Ft1=i+1<this._8t1?_mq1._tq1(this._7t1[i+1],_rh):_mq1._tq1(this._7t1[0],_rh);var _Gt1=_hr1(_Et1,_Ft1);var _Ht1=0.5*_Gt1;_Ct1+=_Ht1;_3s1._Ke(_mq1.Multiply(_Ht1*_Dt1,
_mq1._Ke(_Et1,_Ft1)));var _It1=_Et1.x,_Jt1=_Et1.y;var _Kt1=_Ft1.x,_Lt1=_Ft1.y;var _Mt1=_It1*_It1+_Kt1*_It1+_Kt1*_Kt1;var _Nt1=_Jt1*_Jt1+_Lt1*_Jt1+_Lt1*_Lt1;_qs1+=(0.25*_Dt1*_Gt1)*(_Mt1+_Nt1);}_As1._ps1=_s61*_Ct1;_yp1(_Ct1>_Bp1);_3s1.Multiply(1.0/_Ct1);_As1._3s1=_mq1._Ke(_3s1,_rh);_As1._qs1=_s61*_qs1;_As1._qs1+=_As1._ps1*(_gr1(_As1._3s1,_As1._3s1)-_gr1(_3s1,_3s1));},_kd:function(){return this._8t1;},_Ss1:function(index){_yp1(0<=index&&index<this._8t1);return this._7t1[index];},/// @returns true if valid
_Ot1:function(){
for(var i=0;i<this._8t1;++i){var _mt1=i;var _nt1=i<this._8t1-1?_mt1+1:0;var _kg=this._7t1[_mt1];var e=_mq1._tq1(this._7t1[_nt1],_kg);for(var _35=0;_35<this._8t1;++_35){if(_35==_mt1||_35==_nt1){continue;}var _14=_mq1._tq1(this._7t1[_35],_kg);var c=_hr1(e,_14);if(c<0.0){return false;}}}return true;},_Bs1:function(_5r1,_kg,_Pt1,_Ds1,_ws1){var _At1=_wr1(_5r1.q,_mq1._tq1(_kg,_5r1._kg));var maxDistance=-Number.MAX_VALUE;var _Qt1=_At1;for(var i=0;i<this._8t1;++i){var _wF=_gr1(this._qt1[i],_mq1._tq1(_At1,this._7t1[i]));
if(_wF>maxDistance){maxDistance=_wF;_Qt1=this._qt1[i];}}if(maxDistance>0){var _Rt1=_Qt1;var _St1=maxDistance*maxDistance;for(var i=0;i<this._8t1;++i){var _Cs1=_mq1._tq1(_At1,this._7t1[i]);var _Tt1=_Cs1._uq1();if(_St1>_Tt1){_Rt1=_Cs1;_St1=_Tt1;}}_Pt1[0]=_jq1(_St1);_Ds1._pP(_vr1(_5r1.q,_Rt1));_Ds1._vq1();}else {_Pt1[0]=maxDistance;_Ds1._pP(_vr1(_5r1.q,_Qt1));}},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['m_count']=this._8t1;_Tf['m_centroid']=this._pt1._zq1();_Tf['m_vertices']=[];
_Tf['m_normals']=[];for(var i=0;i<this._8t1;++i){_Tf['m_vertices'].push(this._7t1[i]._zq1());_Tf['m_normals'].push(this._qt1[i]._zq1());}return _Tf;},_Aq1:function(data){this.parent.prototype._Aq1.call(this,data);this._8t1=data['m_count'];this._pt1._Aq1(data['m_centroid']);this._7t1=[];this._qt1=[];for(var i=0;i<this._8t1;++i){this._7t1[i]=new _mq1();this._7t1[i]._Aq1(data['m_vertices'][i]);this._qt1[i]=new _mq1();this._qt1[i]._Aq1(data['m_normals'][i]);}}};_ot1._xt1=function(_Ut1,_u7){_yp1(_u7>=3);var c=new _mq1();
var _Ct1=0.0;var _Vt1=new _mq1(0.0,0.0);var _Wt1=1.0/3.0;for(var i=0;i<_u7;++i){var _4u=_Vt1;var _6s1=_Ut1[i];var _Xt1=i+1<_u7?_Ut1[i+1]:_Ut1[0];var _Et1=_mq1._tq1(_6s1,_4u);var _Ft1=_mq1._tq1(_Xt1,_4u);var _Gt1=_hr1(_Et1,_Ft1);var _Ht1=0.5*_Gt1;_Ct1+=_Ht1;c._Ke(_mq1.Multiply(_Ht1,_mq1.Multiply(_Wt1,_mq1._Ke(_mq1._Ke(_4u,_6s1),_Xt1))));}_yp1(_Ct1>_Bp1);c.Multiply(1.0/_Ct1);return c;};_ot1._4p1(_rs1);function _Yt1(){this._Zt1=0;this.__t1=0;}function _0u1(_1u1,_2u1){if(_1u1._Zt1==_2u1._Zt1){return _1u1.__t1-_2u1.__t1;
}return _1u1._Zt1-_2u1._Zt1;}function _3u1(){this._4u1=new _5u1();this._6u1=0;this._7u1=0;this._8u1=0;this._9u1=[];this._au1=0;this._bu1=[];}_3u1.prototype={_cu1:function(_ys1,_du1){var _eu1=this._4u1._cu1(_ys1,_du1);++this._7u1;this._fu1(_eu1);return _eu1;},_gu1:function(_eu1){this._hu1(_eu1);--this._7u1;this._4u1._gu1(_eu1);},_iu1:function(_eu1,_ys1,_ju1){var buffer=this._4u1._iu1(_eu1,_ys1,_ju1);if(buffer){this._fu1(_eu1);}},_ku1:function(_eu1){this._fu1(_eu1);},_lu1:function(_eu1){return this._4u1._lu1(_eu1);
},_mu1:function(_eu1){return this._4u1._mu1(_eu1);},_K51:function(_Zt1,__t1){var _nu1=this._4u1._lu1(_Zt1);var _ou1=this._4u1._lu1(__t1);return _pu1(_nu1,_ou1);},_qu1:function(){return this._7u1;},_ru1:function(_jl1){this._8u1=0;this._9u1.length=0;for(var i=0;i<this._au1;++i){this._6u1=this._bu1[i];if(this._6u1==_3u1._su1){continue;}var _tu1=this._4u1._lu1(this._6u1);this._4u1._uu1(this,_tu1);}this._au1=0;this._9u1.sort(_0u1);var i=0;while(i<this._8u1){var _vu1=this._9u1[i];var _wu1=this._4u1._mu1(_vu1._Zt1);
var _xu1=this._4u1._mu1(_vu1.__t1);_jl1._yu1(_wu1,_xu1);++i;while(i<this._8u1){var _zu1=this._9u1[i];if(_zu1._Zt1!=_vu1._Zt1||_zu1.__t1!=_vu1.__t1){break;}++i;}}},_uu1:function(_jl1,_ys1){this._4u1._uu1(_jl1,_ys1);},/// @param input the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
/// @param callback a callback class that is called for each proxy that is hit by the ray.
_vs1:function(_jl1,input){this._4u1._vs1(_jl1,input);},_Au1:function(){return this._4u1._fM();}
,_Bu1:function(){return this._4u1._Cu1();},_Du1:function(){return this._4u1._Eu1();},/// @param newOrigin the new origin with respect to the old origin
_Fu1:function(_Gu1){this._4u1._Fu1(_Gu1);},_fu1:function(_eu1){this._bu1[this._au1]=_eu1;++this._au1;},_hu1:function(_eu1){for(var i=0;i<this._au1;++i){if(this._bu1[i]==_eu1){this._bu1[i]=_3u1._su1;}}},_Hu1:function(_eu1){if(_eu1==this._6u1){return true;}this._9u1[this._8u1]=new _Yt1();this._9u1[this._8u1]._Zt1=_Ir1(_eu1,this._6u1);this._9u1[this._8u1].__t1=_Kr1(_eu1,
this._6u1);++this._8u1;return true;}};_3u1._su1=-1;function _Iu1(){this._7t1=null;this._8t1=0;this._ss1=0;}_Iu1.prototype={_pP:function(_K5){this._7t1=_K5._7t1;this._8t1=_K5._8t1;this._ss1=_K5._ss1;},Set:function(shape,index){switch(shape._Xk1()){case _rs1._Es1:{var _Ju1=shape;this._7t1=[_Ju1._Ks1];this._8t1=1;this._ss1=_Ju1._ss1;}break;case _rs1._Gs1:{var _m5=shape;this._7t1=_m5._7t1;this._8t1=_m5._8t1;this._ss1=_m5._ss1;}break;case _rs1._Hs1:{var _Ku1=shape;_yp1(0<=index&&index<_Ku1._8t1);this._7t1=[_Ku1._7t1[index]];
if(index+1<_Ku1._8t1){this._7t1[1]=_Ku1._7t1[index+1];}else {this._7t1[1]=_Ku1._7t1[0];}this._8t1=2;this._ss1=_Ku1._ss1;}break;case _rs1._Fs1:{var _lt1=shape;this._7t1=[_lt1._Vs1,_lt1._Ws1];this._8t1=2;this._ss1=_lt1._ss1;}break;default :_yp1(false);}},_Qs1:function(_ha,_ia){var _Lu1=0;var _Mu1=this._7t1[0].x*_ha+this._7t1[0].y*_ia;for(var i=1;i<this._8t1;++i){var value=this._7t1[i].x*_ha+this._7t1[i].y*_ia;if(value>_Mu1){_Lu1=i;_Mu1=value;}}return _Lu1;},_Rs1:function(_ha,_ia){return this._7t1[this._Qs1(_ha,
_ia)];},_kd:function(){return this._8t1;},_Ss1:function(index){_yp1(0<=index&&index<this._8t1);return this._7t1[index];}};function _Nu1(){this._Ou1=0;this._u7=0;this._Pu1=[0,0,0];this._Qu1=[0,0,0];};function _Ru1(){this._Su1=new _Iu1();this._Tu1=new _Iu1();this._Uu1=new _4r1();this._Vu1=new _4r1();this._Wu1=false;};function _Xu1(){this._Yu1=new _mq1();this._Zu1=new _mq1();this._Cs1=0;this.iterations=0;};function __u1(){this._0v1=new _mq1();this._1v1=new _mq1();this.w=new _mq1();this._l3=0;this._Pu1=0;this._Qu1=0;
}__u1.prototype={_pP:function(_K5){this._0v1.x=_K5._0v1.x;this._0v1.y=_K5._0v1.y;this._1v1.x=_K5._1v1.x;this._1v1.y=_K5._1v1.y;this.w.x=_K5.w.x;this.w.y=_K5.w.y;this._l3=_K5._l3;this._Pu1=_K5._Pu1;this._Qu1=_K5._Qu1;}};function _2v1(){this._3v1=[new __u1(),new __u1(),new __u1()];this._8t1=0;}_2v1.prototype={_4v1:function(_t7,_Su1,_Uu1,_Tu1,_Vu1){_yp1(_t7._u7<=3);this._8t1=_t7._u7;var vertices=this._3v1;for(var i=0;i<this._8t1;++i){var _14=vertices[i];_14._Pu1=_t7._Pu1[i];_14._Qu1=_t7._Qu1[i];var _5v1=_Su1._Ss1(_14._Pu1);
var _6v1=_Tu1._Ss1(_14._Qu1);_14._0v1.x=(_Uu1.q.c*_5v1.x-_Uu1.q._rh*_5v1.y)+_Uu1._kg.x;_14._0v1.y=(_Uu1.q._rh*_5v1.x+_Uu1.q.c*_5v1.y)+_Uu1._kg.y;_14._1v1.x=(_Vu1.q.c*_6v1.x-_Vu1.q._rh*_6v1.y)+_Vu1._kg.x;_14._1v1.y=(_Vu1.q._rh*_6v1.x+_Vu1.q.c*_6v1.y)+_Vu1._kg.y;_14.w.x=_14._1v1.x-_14._0v1.x;_14.w.y=_14._1v1.y-_14._0v1.y;_14._l3=0.0;}if(this._8t1>1){var _7v1=_t7._Ou1;var _8v1=this._9v1();if(_8v1<0.5*_7v1||2.0*_7v1<_8v1||_8v1<_Bp1){this._8t1=0;}}if(this._8t1==0){var _14=vertices[0];_14._Pu1=0;_14._Qu1=0;
var _5v1=_Su1._Ss1(0);var _6v1=_Tu1._Ss1(0);_14._0v1.x=(_Uu1.q.c*_5v1.x-_Uu1.q._rh*_5v1.y)+_Uu1._kg.x;_14._0v1.y=(_Uu1.q._rh*_5v1.x+_Uu1.q.c*_5v1.y)+_Uu1._kg.y;_14._1v1.x=(_Vu1.q.c*_6v1.x-_Vu1.q._rh*_6v1.y)+_Vu1._kg.x;_14._1v1.y=(_Vu1.q._rh*_6v1.x+_Vu1.q.c*_6v1.y)+_Vu1._kg.y;_14.w.x=_14._1v1.x-_14._0v1.x;_14.w.y=_14._1v1.y-_14._0v1.y;_14._l3=1.0;this._8t1=1;}},_av1:function(_t7){_t7._Ou1=this._9v1();_t7._u7=this._8t1;var vertices=this._3v1;for(var i=0;i<this._8t1;++i){_t7._Pu1[i]=vertices[i]._Pu1;_t7._Qu1[i]=vertices[i]._Qu1;
}},_bv1:function(_kg){switch(this._8t1){case 1:_kg.x=-this._3v1[0].w.x;_kg.y=-this._3v1[0].w.y;break;case 2:{var _cv1=this._3v1[1].w.x-this._3v1[0].w.x;var _dv1=this._3v1[1].w.y-this._3v1[0].w.y;var _ev1=_cv1*-this._3v1[0].w.y-_dv1*-this._3v1[0].w.x;if(_ev1>0.0){_kg.x=-1.0*_dv1;_kg.y=1.0*_cv1;}else {_kg.x=1.0*_dv1;_kg.y=-1.0*_cv1;}}break;default :_yp1(false);_kg.x=_kg.y=0;break;}},_fv1:function(_kg){switch(this._8t1){case 1:_kg.x=this._3v1[0].w.x;_kg.y=this._3v1[0].w.y;break;case 2:_kg.x=(this._3v1[0]._l3*this._3v1[0].w.x)+(this._3v1[1]._l3*this._3v1[1].w.x);
_kg.y=(this._3v1[0]._l3*this._3v1[0].w.y)+(this._3v1[1]._l3*this._3v1[1].w.y);break;case 3:_kg.x=_kg.y=0;break;default :_yp1(false);_kg.x=_kg.y=0;break;}},_gv1:function(_hv1,_iv1){switch(this._8t1){case 1:_hv1.x=this._3v1[0]._0v1.x;_hv1.y=this._3v1[0]._0v1.y;_iv1.x=this._3v1[0]._1v1.x;_iv1.y=this._3v1[0]._1v1.y;break;case 2:_hv1.x=(this._3v1[0]._l3*this._3v1[0]._0v1.x)+(this._3v1[1]._l3*this._3v1[1]._0v1.x);_hv1.y=(this._3v1[0]._l3*this._3v1[0]._0v1.y)+(this._3v1[1]._l3*this._3v1[1]._0v1.y);_iv1.x=(this._3v1[0]._l3*this._3v1[0]._1v1.x)+(this._3v1[1]._l3*this._3v1[1]._1v1.x);
_iv1.y=(this._3v1[0]._l3*this._3v1[0]._1v1.y)+(this._3v1[1]._l3*this._3v1[1]._1v1.y);break;case 3:_hv1.x=(this._3v1[0]._l3*this._3v1[0]._0v1.x)+(this._3v1[1]._l3*this._3v1[1]._0v1.x)+(this._3v1[2]._l3*this._3v1[2]._0v1.x);_hv1.y=(this._3v1[0]._l3*this._3v1[0]._0v1.y)+(this._3v1[1]._l3*this._3v1[1]._0v1.y)+(this._3v1[2]._l3*this._3v1[2]._0v1.y);_iv1.x=_hv1.x;_iv1.y=_hv1.y;break;default :_yp1(false);break;}},_9v1:function(){switch(this._8t1){case 1:return 0.0;case 2:return _mr1(this._3v1[0].w,this._3v1[1].w);
case 3:return(this._3v1[1].w.x-this._3v1[0].w.x)*(this._3v1[2].w.y-this._3v1[0].w.y)-(this._3v1[1].w.y-this._3v1[0].w.y)*(this._3v1[2].w.x-this._3v1[0].w.x);default :_yp1(false);return 0.0;}},_jv1:function(){var _kv1=this._3v1[0].w;var _lv1=this._3v1[1].w;var _cv1=_lv1.x-_kv1.x;var _dv1=_lv1.y-_kv1.y;var _mv1=-(_kv1.x*_cv1+_kv1.y*_dv1);if(_mv1<=0.0){this._3v1[0]._l3=1.0;this._8t1=1;return;}var _nv1=_lv1.x*_cv1+_lv1.y*_dv1;if(_nv1<=0.0){this._3v1[1]._l3=1.0;this._8t1=1;this._3v1[0]._pP(this._3v1[1]);return;
}var _ov1=1.0/(_nv1+_mv1);this._3v1[0]._l3=_nv1*_ov1;this._3v1[1]._l3=_mv1*_ov1;this._8t1=2;},_pv1:function(){var _kv1=this._3v1[0].w;var _lv1=this._3v1[1].w;var _qv1=this._3v1[2].w;var _cv1=_lv1.x-_kv1.x;var _dv1=_lv1.y-_kv1.y;var _rv1=_kv1.x*_cv1+_kv1.y*_dv1;var _sv1=_lv1.x*_cv1+_lv1.y*_dv1;var _nv1=_sv1;var _mv1=-_rv1;var _tv1=_qv1.x-_kv1.x;var _uv1=_qv1.y-_kv1.y;var _vv1=_kv1.x*_tv1+_kv1.y*_uv1;var _wv1=_qv1.x*_tv1+_qv1.y*_uv1;var _xv1=_wv1;var _yv1=-_vv1;var _zv1=_qv1.x-_lv1.x;var _Av1=_qv1.y-_lv1.y;var _Bv1=_lv1.x*_zv1+_lv1.y*_Av1;
var _Cv1=_qv1.x*_zv1+_qv1.y*_Av1;var _Dv1=_Cv1;var _Ev1=-_Bv1;var _Fv1=_cv1*_uv1-_dv1*_tv1;var _Gv1=_Fv1*(_lv1.x*_qv1.y-_lv1.y*_qv1.x);var _Hv1=_Fv1*(_qv1.x*_kv1.y-_qv1.y*_kv1.x);var _Iv1=_Fv1*(_kv1.x*_lv1.y-_kv1.y*_lv1.x);if(_mv1<=0.0&&_yv1<=0.0){this._3v1[0]._l3=1.0;this._8t1=1;return;}if(_nv1>0.0&&_mv1>0.0&&_Iv1<=0.0){var _ov1=1.0/(_nv1+_mv1);this._3v1[0]._l3=_nv1*_ov1;this._3v1[1]._l3=_mv1*_ov1;this._8t1=2;return;}if(_xv1>0.0&&_yv1>0.0&&_Hv1<=0.0){var _Jv1=1.0/(_xv1+_yv1);this._3v1[0]._l3=_xv1*_Jv1;this._3v1[2]._l3=_yv1*_Jv1;
this._8t1=2;this._3v1[1]._pP(this._3v1[2]);return;}if(_nv1<=0.0&&_Ev1<=0.0){this._3v1[1]._l3=1.0;this._8t1=1;this._3v1[0]._pP(this._3v1[1]);return;}if(_xv1<=0.0&&_Dv1<=0.0){this._3v1[2]._l3=1.0;this._8t1=1;this._3v1[0]._pP(this._3v1[2]);return;}if(_Dv1>0.0&&_Ev1>0.0&&_Gv1<=0.0){var _Kv1=1.0/(_Dv1+_Ev1);this._3v1[1]._l3=_Dv1*_Kv1;this._3v1[2]._l3=_Ev1*_Kv1;this._8t1=2;this._3v1[0]._pP(this._3v1[2]);return;}var _Lv1=1.0/(_Gv1+_Hv1+_Iv1);this._3v1[0]._l3=_Gv1*_Lv1;this._3v1[1]._l3=_Hv1*_Lv1;this._3v1[2]._l3=_Iv1*_Lv1;
this._8t1=3;}};var _Mv1=new _2v1();var _Nv1=new _mq1();var _Ov1=new _mq1();function _Pv1(output,_t7,input){++_Pv1._Qv1;var _Su1=input._Su1;var _Tu1=input._Tu1;var _Uu1=input._Uu1;var _Vu1=input._Vu1;_Mv1._4v1(_t7,_Su1,_Uu1,_Tu1,_Vu1);var vertices=_Mv1._3v1;var _Rv1=20;var _Sv1=[0,0,0],_Tv1=[0,0,0];var _Uv1=0;var _Vv1=_Ap1;var _Wv1=_Vv1;var _Sg1=0;while(_Sg1<_Rv1){_Uv1=_Mv1._8t1;for(var i=0;i<_Uv1;++i){_Sv1[i]=vertices[i]._Pu1;_Tv1[i]=vertices[i]._Qu1;}switch(_Mv1._8t1){case 1:break;case 2:_Mv1._jv1();break;case 3:_Mv1._pv1();
break;default :_yp1(false);}if(_Mv1._8t1==3){break;}_Mv1._fv1(_Ov1);_Wv1=_Ov1._uq1();_Vv1=_Wv1;_Mv1._bv1(_Ov1);if(_Ov1._uq1()<_Bp1*_Bp1){break;}var _Xv1=vertices[_Mv1._8t1];_Xv1._Pu1=_Su1._Qs1(_Uu1.q.c*-_Ov1.x+_Uu1.q._rh*-_Ov1.y,-_Uu1.q._rh*-_Ov1.x+_Uu1.q.c*-_Ov1.y);var _Yv1=_Su1._Ss1(_Xv1._Pu1);_Xv1._0v1.x=(_Uu1.q.c*_Yv1.x-_Uu1.q._rh*_Yv1.y)+_Uu1._kg.x;_Xv1._0v1.y=(_Uu1.q._rh*_Yv1.x+_Uu1.q.c*_Yv1.y)+_Uu1._kg.y;_Xv1._Qu1=_Tu1._Qs1(_Vu1.q.c*_Ov1.x+_Vu1.q._rh*_Ov1.y,-_Vu1.q._rh*_Ov1.x+_Vu1.q.c*_Ov1.y);
var _Zv1=_Tu1._Ss1(_Xv1._Qu1);_Xv1._1v1.x=(_Vu1.q.c*_Zv1.x-_Vu1.q._rh*_Zv1.y)+_Vu1._kg.x;_Xv1._1v1.y=(_Vu1.q._rh*_Zv1.x+_Vu1.q.c*_Zv1.y)+_Vu1._kg.y;_Xv1.w.x=_Xv1._1v1.x-_Xv1._0v1.x;_Xv1.w.y=_Xv1._1v1.y-_Xv1._0v1.y;++_Sg1;++_Pv1.__v1;var _0w1=false;for(var i=0;i<_Uv1;++i){if(_Xv1._Pu1==_Sv1[i]&&_Xv1._Qu1==_Tv1[i]){_0w1=true;break;}}if(_0w1){break;}++_Mv1._8t1;}_Pv1._1w1=_Kr1(_Pv1._1w1,_Sg1);_Mv1._gv1(output._Yu1,output._Zu1);output._Cs1=_mr1(output._Yu1,output._Zu1);output.iterations=_Sg1;_Mv1._av1(_t7);
if(input._Wu1){var _2w1=_Su1._ss1;var _3w1=_Tu1._ss1;if(output._Cs1>_2w1+_3w1&&output._Cs1>_Bp1){output._Cs1-=_2w1+_3w1;_Nv1.x=output._Zu1.x-output._Yu1.x;_Nv1.y=output._Zu1.y-output._Yu1.y;_Nv1._vq1();output._Yu1.x+=(_2w1*_Nv1.x);output._Yu1.y+=(_2w1*_Nv1.y);output._Zu1.x-=(_3w1*_Nv1.x);output._Zu1.y-=(_3w1*_Nv1.y);}else {var _Ft=(0.5*(output._Yu1.x+output._Zu1.x));var _Gt=(0.5*(output._Yu1.y+output._Zu1.y));output._Yu1.x=_Ft;output._Yu1.y=_Gt;output._Zu1.x=_Ft;output._Zu1.y=_Gt;output._Cs1=0.0;}}}_Pv1._Qv1=0;
_Pv1.__v1=0;_Pv1._1w1=0;var _4w1=255;function _5w1(){}_5w1.prototype={_Pu1:0,_Qu1:0,_6w1:0,_7w1:0,_oJ:function(){this._Pu1=this._Qu1=this._6w1=this._7w1=0;},_I4:function(){return this._Pu1|(this._Qu1<<8)|(this._6w1<<16)|(this._7w1<<24);},_pP:function(_qk){this._Pu1=_qk._Pu1;this._Qu1=_qk._Qu1;this._6w1=_qk._6w1;this._7w1=_qk._7w1;}};_5w1._8w1=0;_5w1._9w1=1;function _aw1(){this._bw1=new _mq1();this._cw1=0;this._dw1=0;this.id=new _5w1();};_aw1.prototype={_a2:function(){var _ew1=new _aw1();_ew1._bw1.x=this._bw1.x;
_ew1._bw1.y=this._bw1.y;_ew1._cw1=this._cw1;_ew1._dw1=this._dw1;_ew1.id._pP(this.id);return _ew1;}};function _fw1(){this.points=new Array(_Dp1);this._gw1=new _mq1();this._bw1=new _mq1();this.type=0;this._hw1=0;};_fw1.prototype={_a2:function(){var _iw1=new _fw1();_iw1._hw1=this._hw1;_iw1.type=this.type;_iw1._bw1.x=this._bw1.x;_iw1._bw1.y=this._bw1.y;_iw1._gw1.x=this._gw1.x;_iw1._gw1.y=this._gw1.y;for(var i=0;i<this._hw1;++i)_iw1.points[i]=this.points[i]._a2();return _iw1;},_pP:function(_iw1){this._hw1=_iw1._hw1;
this.type=_iw1.type;this._bw1.x=_iw1._bw1.x;this._bw1.y=_iw1._bw1.y;this._gw1.x=_iw1._gw1.x;this._gw1.y=_iw1._gw1.y;for(var i=0;i<this._hw1;++i)this.points[i]=_iw1.points[i]._a2();}};_fw1._jw1=0;_fw1._kw1=1;_fw1._lw1=2;_fw1._mw1=0;_fw1._nw1=1;_fw1._ow1=2;_fw1._pw1=3;function _qw1(){this._Ds1=new _mq1();this.points=new Array(_Dp1);this._rw1=new Array(_Dp1);}_qw1.prototype={_sw1:function(_iw1,_tw1,_uw1,_vw1,_ww1){if(_iw1._hw1==0){return;}switch(_iw1.type){case _fw1._jw1:{this._Ds1.x=1;this._Ds1.y=0;var _xw1=(_tw1.q.c*_iw1._bw1.x-_tw1.q._rh*_iw1._bw1.y)+_tw1._kg.x;
var _yw1=(_tw1.q._rh*_iw1._bw1.x+_tw1.q.c*_iw1._bw1.y)+_tw1._kg.y;var _zw1=(_vw1.q.c*_iw1.points[0]._bw1.x-_vw1.q._rh*_iw1.points[0]._bw1.y)+_vw1._kg.x;var _Aw1=(_vw1.q._rh*_iw1.points[0]._bw1.x+_vw1.q.c*_iw1.points[0]._bw1.y)+_vw1._kg.y;var _lt=_xw1-_zw1;var _mt=_yw1-_Aw1;if((_lt*_lt+_mt*_mt)>_Bp1*_Bp1){this._Ds1.x=_zw1-_xw1;this._Ds1.y=_Aw1-_yw1;this._Ds1._vq1();}var _Bw1=_xw1+(_uw1*this._Ds1.x);var _Cw1=_yw1+(_uw1*this._Ds1.y);var _Dw1=_zw1-(_ww1*this._Ds1.x);var _Ew1=_Aw1-(_ww1*this._Ds1.y);this.points[0]=new _mq1(0.5*(_Bw1+_Dw1),
0.5*(_Cw1+_Ew1));this._rw1[0]=(_Dw1-_Bw1)*this._Ds1.x+(_Ew1-_Cw1)*this._Ds1.y;}break;case _fw1._kw1:{this._Ds1.x=_tw1.q.c*_iw1._gw1.x-_tw1.q._rh*_iw1._gw1.y;this._Ds1.y=_tw1.q._rh*_iw1._gw1.x+_tw1.q.c*_iw1._gw1.y;var _Fw1=(_tw1.q.c*_iw1._bw1.x-_tw1.q._rh*_iw1._bw1.y)+_tw1._kg.x;var _Gw1=(_tw1.q._rh*_iw1._bw1.x+_tw1.q.c*_iw1._bw1.y)+_tw1._kg.y;for(var i=0;i<_iw1._hw1;++i){var _Hw1=(_vw1.q.c*_iw1.points[i]._bw1.x-_vw1.q._rh*_iw1.points[i]._bw1.y)+_vw1._kg.x;var _Iw1=(_vw1.q._rh*_iw1.points[i]._bw1.x+_vw1.q.c*_iw1.points[i]._bw1.y)+_vw1._kg.y;
var _Fl=(_Hw1-_Fw1)*this._Ds1.x+(_Iw1-_Gw1)*this._Ds1.y;var _Bw1=_Hw1+((_uw1-_Fl)*this._Ds1.x);var _Cw1=_Iw1+((_uw1-_Fl)*this._Ds1.y);var _Dw1=(_Hw1-(_ww1*this._Ds1.x));var _Ew1=(_Iw1-(_ww1*this._Ds1.y));this.points[i]=new _mq1(0.5*(_Bw1+_Dw1),0.5*(_Cw1+_Ew1));this._rw1[i]=(_Dw1-_Bw1)*this._Ds1.x+(_Ew1-_Cw1)*this._Ds1.y;}}break;case _fw1._lw1:{this._Ds1.x=_vw1.q.c*_iw1._gw1.x-_vw1.q._rh*_iw1._gw1.y;this._Ds1.y=_vw1.q._rh*_iw1._gw1.x+_vw1.q.c*_iw1._gw1.y;var _Fw1=(_vw1.q.c*_iw1._bw1.x-_vw1.q._rh*_iw1._bw1.y)+_vw1._kg.x;
var _Gw1=(_vw1.q._rh*_iw1._bw1.x+_vw1.q.c*_iw1._bw1.y)+_vw1._kg.y;for(var i=0;i<_iw1._hw1;++i){var _Hw1=(_tw1.q.c*_iw1.points[i]._bw1.x-_tw1.q._rh*_iw1.points[i]._bw1.y)+_tw1._kg.x;var _Iw1=(_tw1.q._rh*_iw1.points[i]._bw1.x+_tw1.q.c*_iw1.points[i]._bw1.y)+_tw1._kg.y;var _Fl=(_Hw1-_Fw1)*this._Ds1.x+(_Iw1-_Gw1)*this._Ds1.y;var _Dw1=_Hw1+((_ww1-_Fl)*this._Ds1.x);var _Ew1=_Iw1+((_ww1-_Fl)*this._Ds1.y);var _Bw1=(_Hw1-(_uw1*this._Ds1.x));var _Cw1=(_Iw1-(_uw1*this._Ds1.y));this.points[i]=new _mq1(0.5*(_Bw1+_Dw1),
0.5*(_Cw1+_Ew1));this._rw1[i]=(_Bw1-_Dw1)*this._Ds1.x+(_Cw1-_Ew1)*this._Ds1.y;}this._Ds1.x=-this._Ds1.x;this._Ds1.y=-this._Ds1.y;}break;}}};function _Jw1(_Kw1,_Lw1,_Mw1,_Nw1){for(var i=0;i<_Dp1;++i){_Kw1[i]=_fw1._mw1;_Lw1[i]=_fw1._mw1;}for(var i=0;i<_Mw1._hw1;++i){var id=_Mw1.points[i].id;_Kw1[i]=_fw1._pw1;for(var _35=0;_35<_Nw1._hw1;++_35){if(_Nw1.points[_35].id._I4()==id._I4()){_Kw1[i]=_fw1._ow1;break;}}}for(var i=0;i<_Nw1._hw1;++i){var id=_Nw1.points[i].id;_Lw1[i]=_fw1._nw1;for(var _35=0;_35<_Mw1._hw1;
++_35){if(_Mw1.points[_35].id._I4()==id._I4()){_Lw1[i]=_fw1._ow1;break;}}}}function _Ow1(){this._14=new _mq1();this.id=new _5w1();};function _Pw1(){this._4u=new _mq1(),this._6s1=new _mq1();this._Ms1=0;};function _Qw1(){this._Ds1=new _mq1();this._Ns1=0;};function _Rw1(){this._Os1=new _mq1();this._Ps1=new _mq1();}_Rw1.prototype={_pP:function(other){this._Os1.x=other._Os1.x;this._Os1.y=other._Os1.y;this._Ps1.x=other._Ps1.x;this._Ps1.y=other._Ps1.y;},_a2:function(){var _Sw1=new _Rw1();_Sw1._Os1.x=this._Os1.x;_Sw1._Os1.y=this._Os1.y;
_Sw1._Ps1.x=this._Ps1.x;_Sw1._Ps1.y=this._Ps1.y;return _Sw1;},_xq1:function(){return(this._Ps1.x-this._Os1.x)>=0.0&&(this._Ps1.y-this._Os1.y)>=0.0&&this._Os1._xq1()&&this._Ps1._xq1();},_Tw1:function(){return new _mq1(0.5*(this._Os1.x+this._Ps1.x),0.5*(this._Os1.y+this._Ps1.y));},_Uw1:function(){return new _mq1(0.5*(this._Ps1.x-this._Os1.x),0.5*(this._Ps1.y-this._Os1.y));},_Vw1:function(){return 2.0*((this._Ps1.x-this._Os1.x)+(this._Ps1.y-this._Os1.y));},_Ww1:function(_Xw1,_Yw1){if(_Yw1){this._Os1.x=_Ir1(_Xw1._Os1.x,
_Yw1._Os1.x);this._Os1.y=_Ir1(_Xw1._Os1.y,_Yw1._Os1.y);this._Ps1.x=_Kr1(_Xw1._Ps1.x,_Yw1._Ps1.x);this._Ps1.y=_Kr1(_Xw1._Ps1.y,_Yw1._Ps1.y);}else {this._Os1.x=_Ir1(this._Os1.x,_Xw1._Os1.x);this._Os1.y=_Ir1(this._Os1.y,_Xw1._Os1.y);this._Ps1.x=_Kr1(this._Ps1.x,_Xw1._Ps1.x);this._Ps1.y=_Kr1(this._Ps1.y,_Xw1._Ps1.y);}},_Zw1:function(_ys1){return this._Os1.x<=_ys1._Os1.x&&this._Os1.y<=_ys1._Os1.y&&_ys1._Ps1.x<=this._Ps1.x&&_ys1._Ps1.y<=this._Ps1.y;},_vs1:function(output,input){var __w1=-_Ap1;var _0x1=_Ap1;
var _kg=input._4u;var _Fl=_mq1._tq1(input._6s1,input._4u);var _1x1=_Gr1(_Fl);var _Ds1=new _mq1();for(var i=0;i<2;++i){if(_1x1._rq1(i)<_Bp1){if(_kg._rq1(i)<this._Os1._rq1(i)||this._Ps1._rq1(i)<_kg._rq1(i)){return false;}}else {var _2x1=1.0/_Fl._rq1(i);var _3x1=(this._Os1._rq1(i)-_kg._rq1(i))*_2x1;var _4x1=(this._Ps1._rq1(i)-_kg._rq1(i))*_2x1;var _rh=-1.0;if(_3x1>_4x1){var _nK=_4x1;_4x1=_3x1;_3x1=_nK;_rh=1.0;}if(_3x1>__w1){_Ds1.x=_Ds1.y=0;_Ds1._sq1(i,_rh);__w1=_3x1;}_0x1=_Ir1(_0x1,_4x1);if(__w1>_0x1){return false;
}}}if(__w1<0.0||input._Ms1<__w1){return false;}output._Ns1=__w1;output._Ds1.x=_Ds1.x;output._Ds1.y=_Ds1.y;return true;}};function _5x1(_iw1,_6x1,_tw1,_7x1,_vw1){_iw1._hw1=0;var _hv1=_xr1(_tw1,_6x1._Ks1);var _iv1=_xr1(_vw1,_7x1._Ks1);var _ha=_iv1.x-_hv1.x;var _ia=_iv1.y-_hv1.y;var _8x1=_ha*_ha+_ia*_ia;var _2w1=_6x1._ss1,_3w1=_7x1._ss1;var _W51=_2w1+_3w1;if(_8x1>_W51*_W51){return;}_iw1.type=_fw1._jw1;_iw1._bw1.x=_6x1._Ks1.x;_iw1._bw1.y=_6x1._Ks1.y;_iw1._gw1.x=_iw1._gw1.y=0;_iw1._hw1=1;_iw1.points[0]=new _aw1();
_iw1.points[0]._bw1.x=_7x1._Ks1.x;_iw1.points[0]._bw1.y=_7x1._Ks1.y;_iw1.points[0].id._oJ();}function _9x1(_iw1,_ax1,_tw1,_7x1,_vw1){_iw1._hw1=0;var c=_xr1(_vw1,_7x1._Ks1);var _bx1=_zr1(_tw1,c);var _cx1=0;var _dx1=-_Ap1;var _W51=_ax1._ss1+_7x1._ss1;var vertexCount=_ax1._8t1;var vertices=_ax1._7t1;var _ex1=_ax1._qt1;for(var i=0;i<vertexCount;++i){var _rh=_ex1[i].x*(_bx1.x-vertices[i].x)+_ex1[i].y*(_bx1.y-vertices[i].y);if(_rh>_W51){return;}if(_rh>_dx1){_dx1=_rh;_cx1=i;}}var _fx1=_cx1;var _gx1=_fx1+1<vertexCount?_fx1+1:0;
var _la=vertices[_fx1];var _34=vertices[_gx1];if(_dx1<_Bp1){_iw1._hw1=1;_iw1.type=_fw1._kw1;_iw1._gw1.x=_ex1[_cx1].x;_iw1._gw1.y=_ex1[_cx1].y;_iw1._bw1.x=0.5*(_la.x+_34.x);_iw1._bw1.y=0.5*(_la.y+_34.y);_iw1.points[0]=new _aw1();_iw1.points[0]._bw1.x=_7x1._Ks1.x;_iw1.points[0]._bw1.y=_7x1._Ks1.y;_iw1.points[0].id._oJ();return;}var _hx1=(_bx1.x-_la.x)*(_34.x-_la.x)+(_bx1.y-_la.y)*(_34.y-_la.y);var _24=(_bx1.x-_34.x)*(_la.x-_34.x)+(_bx1.y-_34.y)*(_la.y-_34.y);if(_hx1<=0.0){if(_nr1(_bx1,_la)>_W51*_W51){return;
}_iw1._hw1=1;_iw1.type=_fw1._kw1;_iw1._gw1.x=_bx1.x-_la.x;_iw1._gw1.y=_bx1.y-_la.y;_iw1._gw1._vq1();_iw1._bw1.x=_la.x;_iw1._bw1.y=_la.y;_iw1.points[0]=new _aw1();_iw1.points[0]._bw1.x=_7x1._Ks1.x;_iw1.points[0]._bw1.y=_7x1._Ks1.y;_iw1.points[0].id._oJ();}else if(_24<=0.0){if(_nr1(_bx1,_34)>_W51*_W51){return;}_iw1._hw1=1;_iw1.type=_fw1._kw1;_iw1._gw1.x=_bx1.x-_34.x;_iw1._gw1.y=_bx1.y-_34.y;_iw1._gw1._vq1();_iw1._bw1.x=_34.x;_iw1._bw1.y=_34.y;_iw1.points[0]=new _aw1();_iw1.points[0]._bw1.x=_7x1._Ks1.x;
_iw1.points[0]._bw1.y=_7x1._Ks1.y;_iw1.points[0].id._oJ();}else {var _ix1=0.5*(_la.x+_34.x);var _jx1=0.5*(_la.y+_34.y);var _kx1=(_bx1.x-_ix1)*_ex1[_fx1].x+(_bx1.y-_jx1)*_ex1[_fx1].y;if(_kx1>_W51){return;}_iw1._hw1=1;_iw1.type=_fw1._kw1;_iw1._gw1.x=_ex1[_fx1].x;_iw1._gw1.y=_ex1[_fx1].y;_iw1._bw1.x=_ix1;_iw1._bw1.y=_jx1;_iw1.points[0]=new _aw1();_iw1.points[0]._bw1.x=_7x1._Ks1.x;_iw1.points[0]._bw1.y=_7x1._Ks1.y;_iw1.points[0].id._oJ();}}function _lx1(_mx1,_nx1,_ox1,_px1,_qx1){var _rx1=_nx1._8t1;var _sx1=_px1._8t1;
var _tx1=_nx1._qt1;var _ux1=_nx1._7t1;var _vx1=_px1._7t1;var _5r1=_Cr1(_qx1,_ox1);var _Lu1=0;var _wx1=-_Ap1;for(var i=0;i<_rx1;++i){var _Za=_5r1.q.c*_tx1[i].x-_5r1.q._rh*_tx1[i].y;var __a=_5r1.q._rh*_tx1[i].x+_5r1.q.c*_tx1[i].y;var _wa=(_5r1.q.c*_ux1[i].x-_5r1.q._rh*_ux1[i].y)+_5r1._kg.x;var _xa=(_5r1.q._rh*_ux1[i].x+_5r1.q.c*_ux1[i].y)+_5r1._kg.y;var _Ui=_Ap1;for(var _35=0;_35<_sx1;++_35){var _xx1=_Za*(_vx1[_35].x-_wa)+__a*(_vx1[_35].y-_xa);if(_xx1<_Ui){_Ui=_xx1;}}if(_Ui>_wx1){_wx1=_Ui;_Lu1=i;}}_mx1[0]=_Lu1;
return _wx1;}function _yx1(c,_nx1,_ox1,_zx1,_px1,_qx1){var _Ax1=_nx1._qt1;var _sx1=_px1._8t1;var _Bx1=_px1._7t1;var _Cx1=_px1._qt1;_yp1(0<=_zx1&&_zx1<_nx1._8t1);var _Dx1=_ox1.q.c*_Ax1[_zx1].x-_ox1.q._rh*_Ax1[_zx1].y;var _Ex1=_ox1.q._rh*_Ax1[_zx1].x+_ox1.q.c*_Ax1[_zx1].y;var _Fx1=_qx1.q.c*_Dx1+_qx1.q._rh*_Ex1;var _Gx1=-_qx1.q._rh*_Dx1+_qx1.q.c*_Ex1;var index=0;var _Hx1=_Ap1;for(var i=0;i<_sx1;++i){var _wF=_Fx1*_Cx1[i].x+_Gx1*_Cx1[i].y;if(_wF<_Hx1){_Hx1=_wF;index=i;}}var _mt1=index;var _nt1=_mt1+1<_sx1?_mt1+1:0;c[0]._14.x=(_qx1.q.c*_Bx1[_mt1].x-_qx1.q._rh*_Bx1[_mt1].y)+_qx1._kg.x;
c[0]._14.y=(_qx1.q._rh*_Bx1[_mt1].x+_qx1.q.c*_Bx1[_mt1].y)+_qx1._kg.y;c[0].id._Pu1=_zx1;c[0].id._Qu1=_mt1;c[0].id._6w1=_5w1._9w1;c[0].id._7w1=_5w1._8w1;c[1]._14.x=(_qx1.q.c*_Bx1[_nt1].x-_qx1.q._rh*_Bx1[_nt1].y)+_qx1._kg.x;c[1]._14.y=(_qx1.q._rh*_Bx1[_nt1].x+_qx1.q.c*_Bx1[_nt1].y)+_qx1._kg.y;c[1].id._Pu1=_zx1;c[1].id._Qu1=_nt1;c[1].id._6w1=_5w1._9w1;c[1].id._7w1=_5w1._8w1;}function _Ix1(_iw1,_Jx1,_tw1,_Kx1,_vw1){_iw1._hw1=0;var _Lx1=_Jx1._ss1+_Kx1._ss1;var _Mx1=[0];var _Nx1=_lx1(_Mx1,_Jx1,_tw1,_Kx1,_vw1);
if(_Nx1>_Lx1)return;var _Ox1=[0];var _Px1=_lx1(_Ox1,_Kx1,_vw1,_Jx1,_tw1);if(_Px1>_Lx1)return;var _nx1;var _px1;var _ox1,_qx1;var _zx1=0;var _AV=0;var _Qx1=0.1*_Hp1;if(_Px1>_Nx1+_Qx1){_nx1=_Kx1;_px1=_Jx1;_ox1=_vw1;_qx1=_tw1;_zx1=_Ox1[0];_iw1.type=_fw1._lw1;_AV=1;}else {_nx1=_Jx1;_px1=_Kx1;_ox1=_tw1;_qx1=_vw1;_zx1=_Mx1[0];_iw1.type=_fw1._kw1;_AV=0;}_yx1(_Ix1._Rx1,_nx1,_ox1,_zx1,_px1,_qx1);var _rx1=_nx1._8t1;var _Sx1=_nx1._7t1;var _Tx1=_zx1;var _Ux1=_zx1+1<_rx1?_zx1+1:0;var _Vx1=_Sx1[_Tx1];var _Wx1=_Sx1[_Ux1];_Ix1._Xx1.x=_Wx1.x-_Vx1.x;
_Ix1._Xx1.y=_Wx1.y-_Vx1.y;_Ix1._Xx1._vq1();var _Yx1=1.0*_Ix1._Xx1.y;var _Zx1=-1.0*_Ix1._Xx1.x;var _Fw1=0.5*(_Vx1.x+_Wx1.x);var _Gw1=0.5*(_Vx1.y+_Wx1.y);var __x1=_ox1.q.c*_Ix1._Xx1.x-_ox1.q._rh*_Ix1._Xx1.y;var _0y1=_ox1.q._rh*_Ix1._Xx1.x+_ox1.q.c*_Ix1._Xx1.y;var _1y1=1.0*_0y1;var _2y1=-1.0*__x1;_Vx1=_xr1(_ox1,_Vx1);_Wx1=_xr1(_ox1,_Wx1);var _3y1=_1y1*_Vx1.x+_2y1*_Vx1.y;var _4y1=-(__x1*_Vx1.x+_0y1*_Vx1.y)+_Lx1;var _5y1=(__x1*_Wx1.x+_0y1*_Wx1.y)+_Lx1;var _6y1=new Array(2);var _7y1=new Array(2);var _8y1;_8y1=_9y1(_6y1,
_Ix1._Rx1,-__x1,-_0y1,_4y1,_Tx1);if(_8y1<2)return;_8y1=_9y1(_7y1,_6y1,__x1,_0y1,_5y1,_Ux1);if(_8y1<2){return;}_iw1._gw1.x=_Yx1;_iw1._gw1.y=_Zx1;_iw1._bw1.x=_Fw1;_iw1._bw1.y=_Gw1;var _hw1=0;for(var i=0;i<_Dp1;++i){var _dx1=(_1y1*_7y1[i]._14.x+_2y1*_7y1[i]._14.y)-_3y1;if(_dx1<=_Lx1){var _ay1=_iw1.points[_hw1]=new _aw1();_ay1._bw1._pP(_zr1(_qx1,_7y1[i]._14));_ay1.id._pP(_7y1[i].id);if(_AV){var _by1=new _5w1();_by1._pP(_ay1.id);_ay1.id._Pu1=_by1._Qu1;_ay1.id._Qu1=_by1._Pu1;_ay1.id._6w1=_by1._7w1;_ay1.id._7w1=_by1._6w1;
}++_hw1;}}_iw1._hw1=_hw1;}_Ix1._Xx1=new _mq1();_Ix1._Rx1=[new _Ow1(),new _Ow1()];function _cy1(_iw1,_Mx1,_tw1,_7x1,_vw1){_iw1._hw1=0;var _dy1=_zr1(_tw1,_xr1(_vw1,_7x1._Ks1));var _zp1=_Mx1._Vs1,_Hq1=_Mx1._Ws1;var _fj=_Hq1.x-_zp1.x;var _SL=_Hq1.y-_zp1.y;var _04=_fj*(_Hq1.x-_dy1.x)+_SL*(_Hq1.y-_dy1.y);var _14=_fj*(_dy1.x-_zp1.x)+_SL*(_dy1.y-_zp1.y);var _W51=_Mx1._ss1+_7x1._ss1;var _by1=new _5w1();_by1._Qu1=0;_by1._7w1=_5w1._8w1;if(_14<=0.0){var _ey1=_zp1;var _ha=_dy1.x-_ey1.x;var _ia=_dy1.y-_ey1.y;var _6L=_ha*_ha+_ia*_ia;
if(_6L>_W51*_W51){return;}if(_Mx1._Ys1){var _fy1=_Mx1._Us1;var _gy1=_zp1;var _hy1=_gy1.x-_fy1.x;var _iy1=_gy1.y-_fy1.y;var _hx1=_hy1*(_gy1.x-_dy1.x)+_iy1*(_gy1.y-_dy1.y);if(_hx1>0.0){return;}}_by1._Pu1=0;_by1._6w1=_5w1._8w1;_iw1._hw1=1;_iw1.type=_fw1._jw1;_iw1._gw1.x=_iw1._gw1.y=0;_iw1._bw1.x=_ey1.x;_iw1._bw1.y=_ey1.y;_iw1.points[0]=new _aw1();_iw1.points[0].id._pP(_by1);_iw1.points[0]._bw1.x=_7x1._Ks1.x;_iw1.points[0]._bw1.y=_7x1._Ks1.y;return;}if(_04<=0.0){var _ey1=_Hq1;var _ha=_dy1.x-_ey1.x;var _ia=_dy1.y-_ey1.y;
var _6L=_ha*_ha+_ia*_ia;if(_6L>_W51*_W51){return;}if(_Mx1._Zs1){var _jy1=_Mx1._Xs1;var _ky1=_Hq1;var _ly1=_jy1.x-_ky1.x;var _my1=_jy1.y-_ky1.y;var _34=_ly1*(_dy1.x-_ky1.x)+_my1*(_dy1.y-_ky1.y);if(_34>0.0){return;}}_by1._Pu1=1;_by1._6w1=_5w1._8w1;_iw1._hw1=1;_iw1.type=_fw1._jw1;_iw1._gw1.x=_iw1._gw1.y=0;_iw1._bw1.x=_ey1.x;_iw1._bw1.y=_ey1.y;_iw1.points[0]=new _aw1();_iw1.points[0].id._pP(_by1);_iw1.points[0]._bw1.x=_7x1._Ks1.x;_iw1.points[0]._bw1.y=_7x1._Ks1.y;return;}var _ny1=_fj*_fj+_SL*_SL;_yp1(_ny1>0.0);
var _oy1=(1.0/_ny1)*((_04*_zp1.x)+(_14*_Hq1.x));var _py1=(1.0/_ny1)*((_04*_zp1.y)+(_14*_Hq1.y));var _ha=_dy1.x-_oy1;var _ia=_dy1.y-_py1;var _6L=_ha*_ha+_ia*_ia;if(_6L>_W51*_W51){return;}var _Za=-_SL;var __a=_fj;if(_Za*(_dy1.x-_zp1.x)+__a*(_dy1.y-_zp1.y)<0.0){_Za=-_Za;__a=-__a;}_by1._Pu1=0;_by1._6w1=_5w1._9w1;_iw1._hw1=1;_iw1.type=_fw1._kw1;_iw1._gw1.x=_Za;_iw1._gw1.y=__a;_iw1._gw1._vq1();_iw1._bw1.x=_zp1.x;_iw1._bw1.y=_zp1.y;_iw1.points[0]=new _aw1();_iw1.points[0].id._pP(_by1);_iw1.points[0]._bw1.x=_7x1._Ks1.x;
_iw1.points[0]._bw1.y=_7x1._Ks1.y;}function _qy1(){this.type=0;this.index=0;this._dx1=0;}_qy1._ry1=0;_qy1._sy1=1;_qy1._ty1=2;function _uy1(){this.vertices=new Array(_Ep1);this._ex1=new Array(_Ep1);this._u7=0;};function _vy1(){this._mt1=0,this._nt1=0;this._la=new _mq1(),this._34=new _mq1();this._Ds1=new _mq1();this._wy1=new _mq1();this._4y1=0;this._xy1=new _mq1();this._5y1=0;};function _yy1(){this._zy1=new _uy1();this._Ay1=new _4r1();this._By1=new _mq1();this._Cy1=new _mq1(),this._Dy1=new _mq1(),this._Ey1=new _mq1(),
this._Fy1=new _mq1();this._Gy1=new _mq1(),this._Hy1=new _mq1(),this._Iy1=new _mq1();this._Jy1=new _mq1();this._Ky1=0,this._Ly1=0;this._My1=new _mq1(),this._Ny1=new _mq1();this._ss1=0;this._Oy1=false;}_yy1._Py1=new _mq1();_yy1._Qy1=new _mq1();_yy1._Ry1=new _mq1();_yy1.prototype={_Sy1:function(_iw1,_Mx1,_tw1,_Ty1,_vw1){this._Ay1._pP(_Cr1(_tw1,_vw1));this._By1.x=(this._Ay1.q.c*_Ty1._pt1.x-this._Ay1.q._rh*_Ty1._pt1.y)+this._Ay1._kg.x;this._By1.y=(this._Ay1.q._rh*_Ty1._pt1.x+this._Ay1.q.c*_Ty1._pt1.y)+this._Ay1._kg.y;
this._Cy1.x=_Mx1._Us1.x;this._Cy1.y=_Mx1._Us1.y;this._Dy1.x=_Mx1._Vs1.x;this._Dy1.y=_Mx1._Vs1.y;this._Ey1.x=_Mx1._Ws1.x;this._Ey1.y=_Mx1._Ws1.y;this._Fy1.x=_Mx1._Xs1.x;this._Fy1.y=_Mx1._Xs1.y;var _Uy1=_Mx1._Ys1;var _Vy1=_Mx1._Zs1;_yy1._Py1.x=this._Ey1.x-this._Dy1.x;_yy1._Py1.y=this._Ey1.y-this._Dy1.y;_yy1._Py1._vq1();this._Hy1.x=_yy1._Py1.y;this._Hy1.y=-_yy1._Py1.x;var _Wy1=this._Hy1.x*(this._By1.x-this._Dy1.x)+this._Hy1.y*(this._By1.y-this._Dy1.y);var _Xy1=0.0,_Yy1=0.0;var _Zy1=false,__y1=false;if(_Uy1){
_yy1._Qy1.x=this._Dy1.x-this._Cy1.x;_yy1._Qy1.y=this._Dy1.y-this._Cy1.y;_yy1._Qy1._vq1();this._Gy1.x=_yy1._Qy1.y;this._Gy1.y=-_yy1._Qy1.x;_Zy1=(_yy1._Qy1.x*_yy1._Py1.y-_yy1._Qy1.y*_yy1._Py1.x)>=0;_Xy1=this._Gy1.x*(this._By1.x-this._Cy1.x)+this._Gy1.y*(this._By1.y-this._Cy1.y);}if(_Vy1){_yy1._Ry1.x=this._Fy1.x-this._Ey1.x;_yy1._Ry1.y=this._Fy1.y-this._Ey1.y;_yy1._Ry1._vq1();this._Iy1.x=_yy1._Ry1.y;this._Iy1.y=-_yy1._Ry1.x;__y1=(_yy1._Py1.x*_yy1._Ry1.y-_yy1._Py1.y*_yy1._Ry1.x)>0.0;_Yy1=this._Iy1.x*(this._By1.x-this._Ey1.x)+this._Iy1.y*(this._By1.y-this._Ey1.y);
}if(_Uy1&&_Vy1){if(_Zy1&&__y1){this._Oy1=_Xy1>=0.0||_Wy1>=0.0||_Yy1>=0.0;if(this._Oy1){this._Jy1.x=this._Hy1.x;this._Jy1.y=this._Hy1.y;this._My1.x=this._Gy1.x;this._My1.y=this._Gy1.y;this._Ny1.x=this._Iy1.x;this._Ny1.y=this._Iy1.y;}else {this._Jy1.x=-this._Hy1.x;this._Jy1.y=-this._Hy1.y;this._My1.x=-this._Hy1.x;this._My1.y=-this._Hy1.y;this._Ny1.x=-this._Hy1.x;this._Ny1.y=-this._Hy1.y;}}else if(_Zy1){this._Oy1=_Xy1>=0.0||(_Wy1>=0.0&&_Yy1>=0.0);if(this._Oy1){this._Jy1.x=this._Hy1.x;this._Jy1.y=this._Hy1.y;
this._My1.x=this._Gy1.x;this._My1.y=this._Gy1.y;this._Ny1.x=this._Hy1.x;this._Ny1.y=this._Hy1.y;}else {this._Jy1.x=-this._Hy1.x;this._Jy1.y=-this._Hy1.y;this._My1.x=-this._Iy1.x;this._My1.y=-this._Iy1.y;this._Ny1.x=-this._Hy1.x;this._Ny1.y=-this._Hy1.y;}}else if(__y1){this._Oy1=_Yy1>=0.0||(_Xy1>=0.0&&_Wy1>=0.0);if(this._Oy1){this._Jy1.x=this._Hy1.x;this._Jy1.y=this._Hy1.y;this._My1.x=this._Hy1.x;this._My1.y=this._Hy1.y;this._Ny1.x=this._Iy1.x;this._Ny1.y=this._Iy1.y;}else {this._Jy1.x=-this._Hy1.x;
this._Jy1.y=-this._Hy1.y;this._My1.x=-this._Hy1.x;this._My1.y=-this._Hy1.y;this._Ny1.x=-this._Gy1.x;this._Ny1.y=-this._Gy1.y;}}else {this._Oy1=_Xy1>=0.0&&_Wy1>=0.0&&_Yy1>=0.0;if(this._Oy1){this._Jy1.x=this._Hy1.x;this._Jy1.y=this._Hy1.y;this._My1.x=this._Hy1.x;this._My1.y=this._Hy1.y;this._Ny1.x=this._Hy1.x;this._Ny1.y=this._Hy1.y;}else {this._Jy1.x=-this._Hy1.x;this._Jy1.y=-this._Hy1.y;this._My1.x=-this._Iy1.x;this._My1.y=-this._Iy1.y;this._Ny1.x=-this._Gy1.x;this._Ny1.y=-this._Gy1.y;}}}else if(_Uy1){
if(_Zy1){this._Oy1=_Xy1>=0.0||_Wy1>=0.0;if(this._Oy1){this._Jy1.x=this._Hy1.x;this._Jy1.y=this._Hy1.y;this._My1.x=this._Gy1.x;this._My1.y=this._Gy1.y;this._Ny1.x=-this._Hy1.x;this._Ny1.y=-this._Hy1.y;}else {this._Jy1.x=-this._Hy1.x;this._Jy1.y=-this._Hy1.y;this._My1.x=this._Hy1.x;this._My1.y=this._Hy1.y;this._Ny1.x=-this._Hy1.x;this._Ny1.y=-this._Hy1.y;}}else {this._Oy1=_Xy1>=0.0&&_Wy1>=0.0;if(this._Oy1){this._Jy1.x=this._Hy1.x;this._Jy1.y=this._Hy1.y;this._My1.x=this._Hy1.x;this._My1.y=this._Hy1.y;
this._Ny1.x=-this._Hy1.x;this._Ny1.y=-this._Hy1.y;}else {this._Jy1.x=-this._Hy1.x;this._Jy1.y=-this._Hy1.y;this._My1.x=this._Hy1.x;this._My1.y=this._Hy1.y;this._Ny1.x=-this._Gy1.x;this._Ny1.y=-this._Gy1.y;}}}else if(_Vy1){if(__y1){this._Oy1=_Wy1>=0.0||_Yy1>=0.0;if(this._Oy1){this._Jy1.x=this._Hy1.x;this._Jy1.y=this._Hy1.y;this._My1.x=-this._Hy1.x;this._My1.y=-this._Hy1.y;this._Ny1.x=this._Iy1.x;this._Ny1.y=this._Iy1.y;}else {this._Jy1.x=-this._Hy1.x;this._Jy1.y=-this._Hy1.y;this._My1.x=-this._Hy1.x;
this._My1.y=-this._Hy1.y;this._Ny1.x=this._Hy1.x;this._Ny1.y=this._Hy1.y;}}else {this._Oy1=_Wy1>=0.0&&_Yy1>=0.0;if(this._Oy1){this._Jy1.x=this._Hy1.x;this._Jy1.y=this._Hy1.y;this._My1.x=-this._Hy1.x;this._My1.y=-this._Hy1.y;this._Ny1.x=this._Hy1.x;this._Ny1.y=this._Hy1.y;}else {this._Jy1.x=-this._Hy1.x;this._Jy1.y=-this._Hy1.y;this._My1.x=-this._Iy1.x;this._My1.y=-this._Iy1.y;this._Ny1.x=this._Hy1.x;this._Ny1.y=this._Hy1.y;}}}else {this._Oy1=_Wy1>=0.0;if(this._Oy1){this._Jy1.x=this._Hy1.x;this._Jy1.y=this._Hy1.y;
this._My1.x=-this._Hy1.x;this._My1.y=-this._Hy1.y;this._Ny1.x=-this._Hy1.x;this._Ny1.y=-this._Hy1.y;}else {this._Jy1.x=-this._Hy1.x;this._Jy1.y=-this._Hy1.y;this._My1.x=this._Hy1.x;this._My1.y=this._Hy1.y;this._Ny1.x=this._Hy1.x;this._Ny1.y=this._Hy1.y;}}this._zy1._u7=_Ty1._8t1;for(var i=0;i<_Ty1._8t1;++i){this._zy1.vertices[i]=_xr1(this._Ay1,_Ty1._7t1[i]);this._zy1._ex1[i]=_vr1(this._Ay1.q,_Ty1._qt1[i]);}this._ss1=2.0*_Jp1;_iw1._hw1=0;var _0z1=this._1z1();if(_0z1.type==_qy1._ry1){return;}if(_0z1._dx1>this._ss1){
return;}var _2z1=this._3z1();if(_2z1.type!=_qy1._ry1&&_2z1._dx1>this._ss1){return;}var _4z1=0.98;var _5z1=0.001;var _6z1=new _qy1();if(_2z1.type==_qy1._ry1){_6z1=_0z1;}else if(_2z1._dx1>_4z1*_0z1._dx1+_5z1){_6z1=_2z1;}else {_6z1=_0z1;}var _wt1=new Array(2);var _7z1=new _vy1();if(_6z1.type==_qy1._sy1){_iw1.type=_fw1._kw1;var _Lu1=0;var _Mu1=this._Jy1.x*this._zy1._ex1[0].x+this._Jy1.y*this._zy1._ex1[0].y;for(var i=1;i<this._zy1._u7;++i){var value=this._Jy1.x*this._zy1._ex1[i].x+this._Jy1.y*this._zy1._ex1[i].y;if(value<_Mu1){
_Mu1=value;_Lu1=i;}}var _mt1=_Lu1;var _nt1=_mt1+1<this._zy1._u7?_mt1+1:0;_wt1[0]=new _Ow1();_wt1[0]._14.x=this._zy1.vertices[_mt1].x;_wt1[0]._14.y=this._zy1.vertices[_mt1].y;_wt1[0].id._Pu1=0;_wt1[0].id._Qu1=_mt1;_wt1[0].id._6w1=_5w1._9w1;_wt1[0].id._7w1=_5w1._8w1;_wt1[1]=new _Ow1();_wt1[1]._14.x=this._zy1.vertices[_nt1].x;_wt1[1]._14.y=this._zy1.vertices[_nt1].y;_wt1[1].id._Pu1=0;_wt1[1].id._Qu1=_nt1;_wt1[1].id._6w1=_5w1._9w1;_wt1[1].id._7w1=_5w1._8w1;if(this._Oy1){_7z1._mt1=0;_7z1._nt1=1;_7z1._la.x=this._Dy1.x;
_7z1._la.y=this._Dy1.y;_7z1._34.x=this._Ey1.x;_7z1._34.y=this._Ey1.y;_7z1._Ds1.x=this._Hy1.x;_7z1._Ds1.y=this._Hy1.y;}else {_7z1._mt1=1;_7z1._nt1=0;_7z1._la.x=this._Ey1.x;_7z1._la.y=this._Ey1.y;_7z1._34.x=this._Dy1.x;_7z1._34.y=this._Dy1.y;_7z1._Ds1.x=-this._Hy1.x;_7z1._Ds1.y=-this._Hy1.y;}}else {_iw1.type=_fw1._lw1;_wt1[0]=new _Ow1();_wt1[0]._14=this._Dy1;_wt1[0].id._Pu1=0;_wt1[0].id._Qu1=_6z1.index;_wt1[0].id._6w1=_5w1._8w1;_wt1[0].id._7w1=_5w1._9w1;_wt1[1]=new _Ow1();_wt1[1]._14=this._Ey1;_wt1[1].id._Pu1=0;
_wt1[1].id._Qu1=_6z1.index;_wt1[1].id._6w1=_5w1._8w1;_wt1[1].id._7w1=_5w1._9w1;_7z1._mt1=_6z1.index;_7z1._nt1=_7z1._mt1+1<this._zy1._u7?_7z1._mt1+1:0;_7z1._la.x=this._zy1.vertices[_7z1._mt1].x;_7z1._la.y=this._zy1.vertices[_7z1._mt1].y;_7z1._34.x=this._zy1.vertices[_7z1._nt1].x;_7z1._34.y=this._zy1.vertices[_7z1._nt1].y;_7z1._Ds1.x=this._zy1._ex1[_7z1._mt1].x;_7z1._Ds1.y=this._zy1._ex1[_7z1._mt1].y;}_7z1._wy1.x=_7z1._Ds1.y;_7z1._wy1.y=-_7z1._Ds1.x;_7z1._xy1.x=-_7z1._wy1.x;_7z1._xy1.y=-_7z1._wy1.y;
_7z1._4y1=_7z1._wy1.x*_7z1._la.x+_7z1._wy1.y*_7z1._la.y;_7z1._5y1=_7z1._xy1.x*_7z1._34.x+_7z1._xy1.y*_7z1._34.y;var _6y1=new Array(2);var _7y1=new Array(2);var _8y1;_8y1=_9y1(_6y1,_wt1,_7z1._wy1.x,_7z1._wy1.y,_7z1._4y1,_7z1._mt1);if(_8y1<_Dp1){return;}_8y1=_9y1(_7y1,_6y1,_7z1._xy1.x,_7z1._xy1.y,_7z1._5y1,_7z1._nt1);if(_8y1<_Dp1){return;}if(_6z1.type==_qy1._sy1){_iw1._gw1.x=_7z1._Ds1.x;_iw1._gw1.y=_7z1._Ds1.y;_iw1._bw1.x=_7z1._la.x;_iw1._bw1.y=_7z1._la.y;}else {_iw1._gw1.x=_Ty1._qt1[_7z1._mt1].x;_iw1._gw1.y=_Ty1._qt1[_7z1._mt1].y;
_iw1._bw1.x=_Ty1._7t1[_7z1._mt1].x;_iw1._bw1.y=_Ty1._7t1[_7z1._mt1].y;}var _hw1=0;for(var i=0;i<_Dp1;++i){var _dx1=_7z1._Ds1.x*(_7y1[i]._14.x-_7z1._la.x)+_7z1._Ds1.y*(_7y1[i]._14.y-_7z1._la.y);if(_dx1<=this._ss1){var _ay1=_iw1.points[_hw1]=new _aw1();if(_6z1.type==_qy1._sy1){_ay1._bw1._pP(_zr1(this._Ay1,_7y1[i]._14));_ay1.id._pP(_7y1[i].id);}else {_ay1._bw1.x=_7y1[i]._14.x;_ay1._bw1.y=_7y1[i]._14.y;_ay1.id._6w1=_7y1[i].id._7w1;_ay1.id._7w1=_7y1[i].id._6w1;_ay1.id._Pu1=_7y1[i].id._Qu1;_ay1.id._Qu1=_7y1[i].id._Pu1;
}++_hw1;}}_iw1._hw1=_hw1;},_1z1:function(){var _5u=new _qy1();_5u.type=_qy1._sy1;_5u.index=this._Oy1?0:1;_5u._dx1=Number.MAX_VALUE;for(var i=0;i<this._zy1._u7;++i){var _rh=this._Jy1.x*(this._zy1.vertices[i].x-this._Dy1.x)+this._Jy1.y*(this._zy1.vertices[i].y-this._Dy1.y);if(_rh<_5u._dx1){_5u._dx1=_rh;}}return _5u;},_3z1:function(){var _5u=new _qy1();_5u.type=_qy1._ry1;_5u.index=-1;_5u._dx1=-Number.MAX_VALUE;var _8z1=-this._Jy1.y;var _9z1=this._Jy1.x;for(var i=0;i<this._zy1._u7;++i){var _Za=-this._zy1._ex1[i].x;
var __a=-this._zy1._ex1[i].y;var _MA=_Za*(this._zy1.vertices[i].x-this._Dy1.x)+__a*(this._zy1.vertices[i].y-this._Dy1.y);var _NA=_Za*(this._zy1.vertices[i].x-this._Ey1.x)+__a*(this._zy1.vertices[i].y-this._Ey1.y);var _rh=_Ir1(_MA,_NA);if(_rh>this._ss1){_5u.type=_qy1._ty1;_5u.index=i;_5u._dx1=_rh;return _5u;}if(_Za*_8z1+__a*_9z1>=0.0){if((_Za-this._Ny1.x)*this._Jy1.x+(__a-this._Ny1.y)*this._Jy1.y<-_Ip1){continue;}}else {if((_Za-this._My1.x)*this._Jy1.x+(__a-this._My1.y)*this._Jy1.y<-_Ip1){continue;}}if(_rh>_5u._dx1){
_5u.type=_qy1._ty1;_5u.index=i;_5u._dx1=_rh;}}return _5u;}};_yy1._az1=0;_yy1._bz1=1;_yy1._cz1=2;function _dz1(_iw1,_Mx1,_tw1,_Ty1,_vw1){_dz1._ez1._Sy1(_iw1,_Mx1,_tw1,_Ty1,_vw1);}_dz1._ez1=new _yy1();function _9y1(_fz1,_gz1,_1y1,_2y1,offset,_hz1){var _iz1=0;var _jz1=(_1y1*_gz1[0]._14.x+_2y1*_gz1[0]._14.y)-offset;var _kz1=(_1y1*_gz1[1]._14.x+_2y1*_gz1[1]._14.y)-offset;if(_jz1<=0.0)_fz1[_iz1++]=_gz1[0];if(_kz1<=0.0)_fz1[_iz1++]=_gz1[1];if(_jz1*_kz1<0.0){var _lz1=_jz1/(_jz1-_kz1);_fz1[_iz1]=new _Ow1();_fz1[_iz1]._14.x=_gz1[0]._14.x+(_lz1*(_gz1[1]._14.x-_gz1[0]._14.x));
_fz1[_iz1]._14.y=_gz1[0]._14.y+(_lz1*(_gz1[1]._14.y-_gz1[0]._14.y));_fz1[_iz1].id._Pu1=_hz1;_fz1[_iz1].id._Qu1=_gz1[0].id._Qu1;_fz1[_iz1].id._6w1=_5w1._8w1;_fz1[_iz1].id._7w1=_5w1._9w1;++_iz1;}return _iz1;}function _mz1(_nz1,_Pu1,_oz1,_Qu1,_tw1,_vw1){_mz1.input._Su1.Set(_nz1,_Pu1);_mz1.input._Tu1.Set(_oz1,_Qu1);_mz1.input._Uu1=_tw1;_mz1.input._Vu1=_vw1;_mz1.input._Wu1=true;_mz1._t7._u7=0;_Pv1(_mz1.output,_mz1._t7,_mz1.input);return _mz1.output._Cs1<10.0*_Bp1;}_mz1.input=new _Ru1();_mz1._t7=new _Nu1();
_mz1.output=new _Xu1();function _pu1(_l3,_k3){return !((_k3._Os1.x-_l3._Ps1.x)>0.0||(_k3._Os1.y-_l3._Ps1.y)>0.0||(_l3._Os1.x-_k3._Ps1.x)>0.0||(_l3._Os1.y-_k3._Ps1.y)>0.0);}var _pz1=-1;function _qz1(){this._ys1=new _Rw1();this._du1=null;this.parent=0;this._rz1=this._sz1=this.height=0;}_qz1.prototype={_tz1:function(){return this._rz1==_pz1;}};function _5u1(){this._uz1=_pz1;this._vz1=16;this._wz1=0;this._xz1=new Array(this._vz1);for(var i=0;i<this._vz1-1;++i){this._xz1[i]=new _qz1();this._xz1[i].parent=i+1;this._xz1[i].height=-1;
}this._xz1[this._vz1-1]=new _qz1();this._xz1[this._vz1-1].parent=_pz1;this._xz1[this._vz1-1].height=-1;this._yz1=0;this._zz1=0;this._Az1=0;}_5u1._Bz1=new _mq1(_Fp1,_Fp1);_5u1.prototype={_cu1:function(_ys1,_du1){var _eu1=this._Cz1();this._xz1[_eu1]._ys1._Os1._pP(_mq1._tq1(_ys1._Os1,_5u1._Bz1));this._xz1[_eu1]._ys1._Ps1._pP(_mq1._Ke(_ys1._Ps1,_5u1._Bz1));this._xz1[_eu1]._du1=_du1;this._xz1[_eu1].height=0;this._Dz1(_eu1);return _eu1;},_gu1:function(_eu1){_yp1(0<=_eu1&&_eu1<this._vz1);_yp1(this._xz1[_eu1]._tz1());
this._Ez1(_eu1);this._Fz1(_eu1);},/// @return true if the proxy was re-inserted.
_iu1:function(_eu1,_ys1,_ju1){_yp1(0<=_eu1&&_eu1<this._vz1);_yp1(this._xz1[_eu1]._tz1());if(this._xz1[_eu1]._ys1._Zw1(_ys1)){return false;}this._Ez1(_eu1);this._xz1[_eu1]._ys1._pP(_ys1);this._xz1[_eu1]._ys1._Os1._tq1(_5u1._Bz1);this._xz1[_eu1]._ys1._Ps1._Ke(_5u1._Bz1);var _Fl=_mq1.Multiply(_Gp1,_ju1);if(_Fl.x<0.0){this._xz1[_eu1]._ys1._Os1.x+=_Fl.x;}else {this._xz1[_eu1]._ys1._Ps1.x+=_Fl.x;}if(_Fl.y<0.0){this._xz1[_eu1]._ys1._Os1.y+=_Fl.y;
}else {this._xz1[_eu1]._ys1._Ps1.y+=_Fl.y;}this._Dz1(_eu1);return true;},/// @return the proxy user data or 0 if the id is invalid.
_mu1:function(_eu1){_yp1(0<=_eu1&&_eu1<this._vz1);return this._xz1[_eu1]._du1;},_lu1:function(_eu1){_yp1(0<=_eu1&&_eu1<this._vz1);return this._xz1[_eu1]._ys1;},_uu1:function(_jl1,_ys1){var stack=[];stack.push(this._uz1);while(stack.length>0){var _Gz1=stack.pop();if(_Gz1==_pz1){continue;}var _Nk=this._xz1[_Gz1];if(_pu1(_Nk._ys1,_ys1)){if(_Nk._tz1()){var _Hz1=_jl1._Hu1(_Gz1);
if(_Hz1==false){return;}}else {stack.push(_Nk._rz1);stack.push(_Nk._sz1);}}}},/// @param input the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
/// @param callback a callback class that is called for each proxy that is hit by the ray.
_vs1:function(_jl1,input){var _4u=input._4u;var _6s1=input._6s1;var _i3=_mq1._tq1(_6s1,_4u);_yp1(_i3._uq1()>0.0);_i3._vq1();var _14=_jr1(1.0,_i3);var _Iz1=_Gr1(_14);var _Ms1=input._Ms1;var _Jz1=new _Rw1();{var _N5=_mq1._Ke(_4u,_mq1.Multiply(_Ms1,
_mq1._tq1(_6s1,_4u)));_Jz1._Os1._pP(_Jr1(_4u,_N5));_Jz1._Ps1._pP(_Lr1(_4u,_N5));}var stack=[];stack.push(this._uz1);while(stack.length>0){var _Gz1=stack.pop();if(_Gz1==_pz1){continue;}var _Nk=this._xz1[_Gz1];if(_pu1(_Nk._ys1,_Jz1)==false){continue;}var c=_Nk._ys1._Tw1();var h=_Nk._ys1._Uw1();var _dx1=_Fr1(_gr1(_14,_mq1._tq1(_4u,c)))-_gr1(_Iz1,h);if(_dx1>0.0){continue;}if(_Nk._tz1()){var _Kz1=new _Pw1();_Kz1._4u._pP(input._4u);_Kz1._6s1._pP(input._6s1);_Kz1._Ms1=_Ms1;var value=_jl1._Lz1(_Kz1,_Gz1);if(value==0.0){
return;}if(value>0.0){_Ms1=value;var _4x1=_mq1._Ke(_4u,_mq1.Multiply(_Ms1,_mq1._tq1(_6s1,_4u)));_Jz1._Os1._pP(_Jr1(_4u,_4x1));_Jz1._Ps1._pP(_Lr1(_4u,_4x1));}}else {stack.push(_Nk._rz1);stack.push(_Nk._sz1);}}},_Ot1:function(){this._Mz1(this._uz1);this._Nz1(this._uz1);var _Oz1=0;var _Pz1=this._yz1;while(_Pz1!=_pz1){_yp1(0<=_Pz1&&_Pz1<this._vz1);_Pz1=this._xz1[_Pz1].parent;++_Oz1;}_yp1(this._fM()==this._Qz1());_yp1(this._wz1+_Oz1==this._vz1);},_fM:function(){if(this._uz1==_pz1){return 0;}return this._xz1[this._uz1].height;
},_Cu1:function(){var _Rz1=0;for(var i=0;i<this._vz1;++i){var _Nk=this._xz1[i];if(_Nk.height<=1){continue;}_yp1(_Nk._tz1()==false);var _rz1=_Nk._rz1;var _sz1=_Nk._sz1;var _Sz1=_Fr1(this._xz1[_sz1].height-this._xz1[_rz1].height);_Rz1=_Kr1(_Rz1,_Sz1);}return _Rz1;},_Eu1:function(){if(this._uz1==_pz1){return 0.0;}var _A4=this._xz1[this._uz1];var _Tz1=_A4._ys1._Vw1();var _Uz1=0.0;for(var i=0;i<this._vz1;++i){var _Nk=this._xz1[i];if(_Nk.height<0){continue;}_Uz1+=_Nk._ys1._Vw1();}return _Uz1/_Tz1;},_Vz1:function(){
var _Wz1=new Array(this._wz1);var _u7=0;for(var i=0;i<this._vz1;++i){if(this._xz1[i].height<0){continue;}if(this._xz1[i]._tz1()){this._xz1[i].parent=_pz1;_Wz1[_u7]=i;++_u7;}else {this._Fz1(i);}}while(_u7>1){var _Xz1=_Ap1;var _Yz1=-1,_Zz1=-1;for(i=0;i<_u7;++i){var __z1=this._xz1[_Wz1[i]]._ys1;for(var _35=i+1;_35<_u7;++_35){var _0A1=this._xz1[_Wz1[_35]]._ys1;var _k3=new _Rw1();_k3._Ww1(__z1,_0A1);var _1A1=_k3._Vw1();if(_1A1<_Xz1){_Yz1=i;_Zz1=_35;_Xz1=_1A1;}}}var _2A1=_Wz1[_Yz1];var _3A1=_Wz1[_Zz1];var _rz1=this._xz1[_2A1];
var _sz1=this._xz1[_3A1];var _4A1=this._Cz1();var parent=this._xz1[_4A1];parent._rz1=_2A1;parent._sz1=_3A1;parent.height=1+_Kr1(_rz1.height,_sz1.height);parent._ys1._Ww1(_rz1._ys1,_sz1._ys1);parent.parent=_pz1;_rz1.parent=_4A1;_sz1.parent=_4A1;_Wz1[_Zz1]=_Wz1[_u7-1];_Wz1[_Yz1]=_4A1;--_u7;}this._uz1=_Wz1[0];this._Ot1();},/// @param newOrigin the new origin with respect to the old origin
_Fu1:function(_Gu1){for(var i=0;i<this._vz1;++i){this._xz1[i]._ys1._Os1._tq1(_Gu1);this._xz1[i]._ys1._Ps1._tq1(_Gu1);
}},_Cz1:function(){if(this._yz1==_pz1){_yp1(this._wz1==this._vz1);var _5A1=this._xz1;this._vz1*=2;this._xz1=_5A1.concat(new Array(this._vz1-this._wz1));for(var i=this._wz1;i<this._vz1-1;++i){this._xz1[i]=new _qz1();this._xz1[i].parent=i+1;this._xz1[i].height=-1;}this._xz1[this._vz1-1]=new _qz1();this._xz1[this._vz1-1].parent=_pz1;this._xz1[this._vz1-1].height=-1;this._yz1=this._wz1;}var _Gz1=this._yz1;this._yz1=this._xz1[_Gz1].parent;this._xz1[_Gz1].parent=_pz1;this._xz1[_Gz1]._rz1=_pz1;this._xz1[_Gz1]._sz1=_pz1;
this._xz1[_Gz1].height=0;this._xz1[_Gz1]._du1=null;++this._wz1;return _Gz1;},_Fz1:function(_Gz1){_yp1(0<=_Gz1&&_Gz1<this._vz1);_yp1(0<this._wz1);this._xz1[_Gz1].parent=this._yz1;this._xz1[_Gz1].height=-1;this._yz1=_Gz1;--this._wz1;},_Dz1:function(_6A1){++this._Az1;if(this._uz1==_pz1){this._uz1=_6A1;this._xz1[this._uz1].parent=_pz1;return;}var _7A1=this._xz1[_6A1]._ys1;var index=this._uz1;while(this._xz1[index]._tz1()==false){var _rz1=this._xz1[index]._rz1;var _sz1=this._xz1[index]._sz1;var _Ct1=this._xz1[index]._ys1._Vw1();
var _8A1=new _Rw1();_8A1._Ww1(this._xz1[index]._ys1,_7A1);var _9A1=_8A1._Vw1();var _1A1=2.0*_9A1;var _aA1=2.0*(_9A1-_Ct1);var _bA1;var _ys1;if(this._xz1[_rz1]._tz1()){_ys1=new _Rw1();_ys1._Ww1(_7A1,this._xz1[_rz1]._ys1);_bA1=_ys1._Vw1()+_aA1;}else {_ys1=new _Rw1();_ys1._Ww1(_7A1,this._xz1[_rz1]._ys1);var _cA1=this._xz1[_rz1]._ys1._Vw1();var _dA1=_ys1._Vw1();_bA1=(_dA1-_cA1)+_aA1;}var _eA1;if(this._xz1[_sz1]._tz1()){_ys1=new _Rw1();_ys1._Ww1(_7A1,this._xz1[_sz1]._ys1);_eA1=_ys1._Vw1()+_aA1;}else {_ys1=new _Rw1();
_ys1._Ww1(_7A1,this._xz1[_sz1]._ys1);var _cA1=this._xz1[_sz1]._ys1._Vw1();var _dA1=_ys1._Vw1();_eA1=_dA1-_cA1+_aA1;}if(_1A1<_bA1&&_1A1<_eA1){break;}if(_bA1<_eA1){index=_rz1;}else {index=_sz1;}}var _fA1=index;var _gA1=this._xz1[_fA1].parent;var _hA1=this._Cz1();this._xz1[_hA1].parent=_gA1;this._xz1[_hA1]._du1=null;this._xz1[_hA1]._ys1._Ww1(_7A1,this._xz1[_fA1]._ys1);this._xz1[_hA1].height=this._xz1[_fA1].height+1;if(_gA1!=_pz1){if(this._xz1[_gA1]._rz1==_fA1){this._xz1[_gA1]._rz1=_hA1;}else {this._xz1[_gA1]._sz1=_hA1;
}this._xz1[_hA1]._rz1=_fA1;this._xz1[_hA1]._sz1=_6A1;this._xz1[_fA1].parent=_hA1;this._xz1[_6A1].parent=_hA1;}else {this._xz1[_hA1]._rz1=_fA1;this._xz1[_hA1]._sz1=_6A1;this._xz1[_fA1].parent=_hA1;this._xz1[_6A1].parent=_hA1;this._uz1=_hA1;}index=this._xz1[_6A1].parent;while(index!=_pz1){index=this._iA1(index);var _rz1=this._xz1[index]._rz1;var _sz1=this._xz1[index]._sz1;_yp1(_rz1!=_pz1);_yp1(_sz1!=_pz1);this._xz1[index].height=1+_Kr1(this._xz1[_rz1].height,this._xz1[_sz1].height);this._xz1[index]._ys1._Ww1(this._xz1[_rz1]._ys1,
this._xz1[_sz1]._ys1);index=this._xz1[index].parent;}},_Ez1:function(_6A1){if(_6A1==this._uz1){this._uz1=_pz1;return;}var parent=this._xz1[_6A1].parent;var _jA1=this._xz1[parent].parent;var _fA1;if(this._xz1[parent]._rz1==_6A1){_fA1=this._xz1[parent]._sz1;}else {_fA1=this._xz1[parent]._rz1;}if(_jA1!=_pz1){if(this._xz1[_jA1]._rz1==parent){this._xz1[_jA1]._rz1=_fA1;}else {this._xz1[_jA1]._sz1=_fA1;}this._xz1[_fA1].parent=_jA1;this._Fz1(parent);var index=_jA1;while(index!=_pz1){index=this._iA1(index);var _rz1=this._xz1[index]._rz1;
var _sz1=this._xz1[index]._sz1;this._xz1[index]._ys1._Ww1(this._xz1[_rz1]._ys1,this._xz1[_sz1]._ys1);this._xz1[index].height=1+_Kr1(this._xz1[_rz1].height,this._xz1[_sz1].height);index=this._xz1[index].parent;}}else {this._uz1=_fA1;this._xz1[_fA1].parent=_pz1;this._Fz1(parent);}},_iA1:function(_kA1){_yp1(_kA1!=_pz1);var _zp1=this._xz1[_kA1];if(_zp1._tz1()||_zp1.height<2){return _kA1;}var _lA1=_zp1._rz1;var _mA1=_zp1._sz1;_yp1(0<=_lA1&&_lA1<this._vz1);_yp1(0<=_mA1&&_mA1<this._vz1);var _Hq1=this._xz1[_lA1];
var _Br1=this._xz1[_mA1];var _Sz1=_Br1.height-_Hq1.height;if(_Sz1>1){var _nA1=_Br1._rz1;var _oA1=_Br1._sz1;var _pA1=this._xz1[_nA1];var _qA1=this._xz1[_oA1];_yp1(0<=_nA1&&_nA1<this._vz1);_yp1(0<=_oA1&&_oA1<this._vz1);_Br1._rz1=_kA1;_Br1.parent=_zp1.parent;_zp1.parent=_mA1;if(_Br1.parent!=_pz1){if(this._xz1[_Br1.parent]._rz1==_kA1){this._xz1[_Br1.parent]._rz1=_mA1;}else {_yp1(this._xz1[_Br1.parent]._sz1==_kA1);this._xz1[_Br1.parent]._sz1=_mA1;}}else {this._uz1=_mA1;}if(_pA1.height>_qA1.height){_Br1._sz1=_nA1;
_zp1._sz1=_oA1;_qA1.parent=_kA1;_zp1._ys1._Ww1(_Hq1._ys1,_qA1._ys1);_Br1._ys1._Ww1(_zp1._ys1,_pA1._ys1);_zp1.height=1+_Kr1(_Hq1.height,_qA1.height);_Br1.height=1+_Kr1(_zp1.height,_pA1.height);}else {_Br1._sz1=_oA1;_zp1._sz1=_nA1;_pA1.parent=_kA1;_zp1._ys1._Ww1(_Hq1._ys1,_pA1._ys1);_Br1._ys1._Ww1(_zp1._ys1,_qA1._ys1);_zp1.height=1+_Kr1(_Hq1.height,_pA1.height);_Br1.height=1+_Kr1(_zp1.height,_qA1.height);}return _mA1;}if(_Sz1<-1){var _rA1=_Hq1._rz1;var _sA1=_Hq1._sz1;var _Gt1=this._xz1[_rA1];var _tA1=this._xz1[_sA1];
_yp1(0<=_rA1&&_rA1<this._vz1);_yp1(0<=_sA1&&_sA1<this._vz1);_Hq1._rz1=_kA1;_Hq1.parent=_zp1.parent;_zp1.parent=_lA1;if(_Hq1.parent!=_pz1){if(this._xz1[_Hq1.parent]._rz1==_kA1){this._xz1[_Hq1.parent]._rz1=_lA1;}else {_yp1(this._xz1[_Hq1.parent]._sz1==_kA1);this._xz1[_Hq1.parent]._sz1=_lA1;}}else {this._uz1=_lA1;}if(_Gt1.height>_tA1.height){_Hq1._sz1=_rA1;_zp1._rz1=_sA1;_tA1.parent=_kA1;_zp1._ys1._Ww1(_Br1._ys1,_tA1._ys1);_Hq1._ys1._Ww1(_zp1._ys1,_Gt1._ys1);_zp1.height=1+_Kr1(_Br1.height,_tA1.height);
_Hq1.height=1+_Kr1(_zp1.height,_Gt1.height);}else {_Hq1._sz1=_sA1;_zp1._rz1=_rA1;_Gt1.parent=_kA1;_zp1._ys1._Ww1(_Br1._ys1,_Gt1._ys1);_Hq1._ys1._Ww1(_zp1._ys1,_tA1._ys1);_zp1.height=1+_Kr1(_Br1.height,_Gt1.height);_Hq1.height=1+_Kr1(_zp1.height,_tA1.height);}return _lA1;}return _kA1;},_Qz1:function(_Gz1){if(typeof(_Gz1)==='undefined')_Gz1=this._uz1;_yp1(0<=_Gz1&&_Gz1<this._vz1);var _Nk=this._xz1[_Gz1];if(_Nk._tz1()){return 0;}var _uA1=this._Qz1(_Nk._rz1);var _vA1=this._Qz1(_Nk._sz1);return 1+_Kr1(_uA1,_vA1);
},_Mz1:function(index){if(index==_pz1){return;}if(index==this._uz1){_yp1(this._xz1[index].parent==_pz1);}var _Nk=this._xz1[index];var _rz1=_Nk._rz1;var _sz1=_Nk._sz1;if(_Nk._tz1()){_yp1(_rz1==_pz1);_yp1(_sz1==_pz1);_yp1(_Nk.height==0);return;}_yp1(0<=_rz1&&_rz1<this._vz1);_yp1(0<=_sz1&&_sz1<this._vz1);_yp1(this._xz1[_rz1].parent==index);_yp1(this._xz1[_sz1].parent==index);this._Mz1(_rz1);this._Mz1(_sz1);},_Nz1:function(index){if(index==_pz1){return;}var _Nk=this._xz1[index];var _rz1=_Nk._rz1;var _sz1=_Nk._sz1;
if(_Nk._tz1()){_yp1(_rz1==_pz1);_yp1(_sz1==_pz1);_yp1(_Nk.height==0);return;}_yp1(0<=_rz1&&_rz1<this._vz1);_yp1(0<=_sz1&&_sz1<this._vz1);var _uA1=this._xz1[_rz1].height;var _vA1=this._xz1[_sz1].height;var height;height=1+_Kr1(_uA1,_vA1);_yp1(_Nk.height==height);var _ys1=new _Rw1();_ys1._Ww1(this._xz1[_rz1]._ys1,this._xz1[_sz1]._ys1);_yp1(_mq1._Bq1(_ys1._Os1,_Nk._ys1._Os1));_yp1(_mq1._Bq1(_ys1._Ps1,_Nk._ys1._Ps1));this._Nz1(_rz1);this._Nz1(_sz1);}};function _wA1(){this._Su1=new _Iu1();this._Tu1=new _Iu1();
this._xA1=new _6r1();this._yA1=new _6r1();this._zA1=0;};function _AA1(){this.state=0;this._N5=0;};_AA1._ry1=0;_AA1._BA1=1;_AA1._CA1=2;_AA1._DA1=3;_AA1._EA1=4;function _FA1(){this._GA1=null;this._HA1=null;this._IA1=null;this._JA1=null;this._dO=0;this._KA1=new _mq1();this._LA1=new _mq1();}var _MA1=new _4r1();var _NA1=new _4r1();_FA1.prototype={_sw1:function(_t7,_Su1,_xA1,_Tu1,_yA1,_3x1){this._GA1=_Su1;this._HA1=_Tu1;var _u7=_t7._u7;_yp1(0<_u7&&_u7<3);this._IA1=_xA1;this._JA1=_yA1;this._IA1._cr1(_MA1,_3x1);this._JA1._cr1(_NA1,
_3x1);if(_u7==1){this._dO=_FA1._OA1;var _PA1=this._GA1._Ss1(_t7._Pu1[0]);var _QA1=this._HA1._Ss1(_t7._Qu1[0]);var _xw1=(_MA1.q.c*_PA1.x-_MA1.q._rh*_PA1.y)+_MA1._kg.x;var _yw1=(_MA1.q._rh*_PA1.x+_MA1.q.c*_PA1.y)+_MA1._kg.y;var _zw1=(_NA1.q.c*_QA1.x-_NA1.q._rh*_QA1.y)+_NA1._kg.x;var _Aw1=(_NA1.q._rh*_QA1.x+_NA1.q.c*_QA1.y)+_NA1._kg.y;this._LA1.x=_zw1-_xw1;this._LA1.y=_Aw1-_yw1;var _rh=this._LA1._vq1();return _rh;}else if(_t7._Pu1[0]==_t7._Pu1[1]){this._dO=_FA1._lw1;var _RA1=_Tu1._Ss1(_t7._Qu1[0]);var _SA1=_Tu1._Ss1(_t7._Qu1[1]);
this._LA1.x=1.0*(_SA1.y-_RA1.y);this._LA1.y=-1.0*(_SA1.x-_RA1.x);this._LA1._vq1();var _1y1=_NA1.q.c*this._LA1.x-_NA1.q._rh*this._LA1.y;var _2y1=_NA1.q._rh*this._LA1.x+_NA1.q.c*this._LA1.y;this._KA1.x=0.5*(_RA1.x+_SA1.x);this._KA1.y=0.5*(_RA1.y+_SA1.y);var _zw1=(_NA1.q.c*this._KA1.x-_NA1.q._rh*this._KA1.y)+_NA1._kg.x;var _Aw1=(_NA1.q._rh*this._KA1.x+_NA1.q.c*this._KA1.y)+_NA1._kg.y;var _PA1=_Su1._Ss1(_t7._Pu1[0]);var _xw1=(_MA1.q.c*_PA1.x-_MA1.q._rh*_PA1.y)+_MA1._kg.x;var _yw1=(_MA1.q._rh*_PA1.x+_MA1.q.c*_PA1.y)+_MA1._kg.y;
var _rh=(_xw1-_zw1)*_1y1+(_yw1-_Aw1)*_2y1;if(_rh<0.0){this._LA1.x=-this._LA1.x;this._LA1.y=-this._LA1.y;_rh=-_rh;}return _rh;}else {this._dO=_FA1._kw1;var _TA1=this._GA1._Ss1(_t7._Pu1[0]);var _UA1=this._GA1._Ss1(_t7._Pu1[1]);this._LA1.x=1.0*(_UA1.y-_TA1.y);this._LA1.y=-1.0*(_UA1.x-_TA1.x);this._LA1._vq1();var _1y1=_MA1.q.c*this._LA1.x-_MA1.q._rh*this._LA1.y;var _2y1=_MA1.q._rh*this._LA1.x+_MA1.q.c*this._LA1.y;this._KA1.x=0.5*(_TA1.x+_UA1.x);this._KA1.y=0.5*(_TA1.y+_UA1.y);var _xw1=(_MA1.q.c*this._KA1.x-_MA1.q._rh*this._KA1.y)+_MA1._kg.x;
var _yw1=(_MA1.q._rh*this._KA1.x+_MA1.q.c*this._KA1.y)+_MA1._kg.y;var _QA1=this._HA1._Ss1(_t7._Qu1[0]);var _zw1=(_NA1.q.c*_QA1.x-_NA1.q._rh*_QA1.y)+_NA1._kg.x;var _Aw1=(_NA1.q._rh*_QA1.x+_NA1.q.c*_QA1.y)+_NA1._kg.y;var _rh=(_zw1-_xw1)*_1y1+(_Aw1-_yw1)*_2y1;if(_rh<0.0){this._LA1.x=-this._LA1.x;this._LA1.y=-this._LA1.y;_rh=-_rh;}return _rh;}},_VA1:function(_G8,_N5){this._IA1._cr1(_MA1,_N5);this._JA1._cr1(_NA1,_N5);switch(this._dO){case _FA1._OA1:{var _WA1=_MA1.q.c*this._LA1.x+_MA1.q._rh*this._LA1.y;var _XA1=-_MA1.q._rh*this._LA1.x+_MA1.q.c*this._LA1.y;
var _YA1=_NA1.q.c*-this._LA1.x+_NA1.q._rh*-this._LA1.y;var _ZA1=-_NA1.q._rh*-this._LA1.x+_NA1.q.c*-this._LA1.y;_G8[0]=this._GA1._Qs1(_WA1,_XA1);_G8[1]=this._HA1._Qs1(_YA1,_ZA1);var _PA1=this._GA1._Ss1(_G8[0]);var _QA1=this._HA1._Ss1(_G8[1]);var _xw1=(_MA1.q.c*_PA1.x-_MA1.q._rh*_PA1.y)+_MA1._kg.x;var _yw1=(_MA1.q._rh*_PA1.x+_MA1.q.c*_PA1.y)+_MA1._kg.y;var _zw1=(_NA1.q.c*_QA1.x-_NA1.q._rh*_QA1.y)+_NA1._kg.x;var _Aw1=(_NA1.q._rh*_QA1.x+_NA1.q.c*_QA1.y)+_NA1._kg.y;return(_zw1-_xw1)*this._LA1.x+(_Aw1-_yw1)*this._LA1.y;
}case _FA1._kw1:{var _1y1=_MA1.q.c*this._LA1.x-_MA1.q._rh*this._LA1.y;var _2y1=_MA1.q._rh*this._LA1.x+_MA1.q.c*this._LA1.y;var _xw1=(_MA1.q.c*this._KA1.x-_MA1.q._rh*this._KA1.y)+_MA1._kg.x;var _yw1=(_MA1.q._rh*this._KA1.x+_MA1.q.c*this._KA1.y)+_MA1._kg.y;var _YA1=_NA1.q.c*-_1y1+_NA1.q._rh*-_2y1;var _ZA1=-_NA1.q._rh*-_1y1+_NA1.q.c*-_2y1;_G8[0]=-1;_G8[1]=this._HA1._Qs1(_YA1,_ZA1);var _QA1=this._HA1._Ss1(_G8[1]);var _zw1=(_NA1.q.c*_QA1.x-_NA1.q._rh*_QA1.y)+_NA1._kg.x;var _Aw1=(_NA1.q._rh*_QA1.x+_NA1.q.c*_QA1.y)+_NA1._kg.y;
return(_zw1-_xw1)*_1y1+(_Aw1-_yw1)*_2y1;}case _FA1._lw1:{var _1y1=_NA1.q.c*this._LA1.x-_NA1.q._rh*this._LA1.y;var _2y1=_NA1.q._rh*this._LA1.x+_NA1.q.c*this._LA1.y;var _zw1=(_NA1.q.c*this._KA1.x-_NA1.q._rh*this._KA1.y)+_NA1._kg.x;var _Aw1=(_NA1.q._rh*this._KA1.x+_NA1.q.c*this._KA1.y)+_NA1._kg.y;var _WA1=_MA1.q.c*-_1y1+_MA1.q._rh*-_2y1;var _ZA1=-_MA1.q._rh*-_1y1+_MA1.q.c*-_2y1;_G8[1]=-1;_G8[0]=this._GA1._Qs1(_WA1,_ZA1);var _PA1=this._GA1._Ss1(_G8[0]);var _xw1=(_MA1.q.c*_PA1.x-_MA1.q._rh*_PA1.y)+_MA1._kg.x;
var _yw1=(_MA1.q._rh*_PA1.x+_MA1.q.c*_PA1.y)+_MA1._kg.y;return(_xw1-_zw1)*_1y1+(_yw1-_Aw1)*_2y1;}default :_yp1(false);_G8[0]=-1;_G8[1]=-1;return 0.0;}},_Vq:function(_Pu1,_Qu1,_N5){this._IA1._cr1(_MA1,_N5);this._JA1._cr1(_NA1,_N5);switch(this._dO){case _FA1._OA1:{var _PA1=this._GA1._Ss1(_Pu1);var _QA1=this._HA1._Ss1(_Qu1);var _xw1=(_MA1.q.c*_PA1.x-_MA1.q._rh*_PA1.y)+_MA1._kg.x;var _yw1=(_MA1.q._rh*_PA1.x+_MA1.q.c*_PA1.y)+_MA1._kg.y;var _zw1=(_NA1.q.c*_QA1.x-_NA1.q._rh*_QA1.y)+_NA1._kg.x;var _Aw1=(_NA1.q._rh*_QA1.x+_NA1.q.c*_QA1.y)+_NA1._kg.y;
var _dx1=(_zw1-_xw1)*this._LA1.x+(_Aw1-_yw1)*this._LA1.y;return _dx1;}case _FA1._kw1:{var _1y1=_MA1.q.c*this._LA1.x-_MA1.q._rh*this._LA1.y;var _2y1=_MA1.q._rh*this._LA1.x+_MA1.q.c*this._LA1.y;var _xw1=(_MA1.q.c*this._KA1.x-_MA1.q._rh*this._KA1.y)+_MA1._kg.x;var _yw1=(_MA1.q._rh*this._KA1.x+_MA1.q.c*this._KA1.y)+_MA1._kg.y;var _QA1=this._HA1._Ss1(_Qu1);var _zw1=(_NA1.q.c*_QA1.x-_NA1.q._rh*_QA1.y)+_NA1._kg.x;var _Aw1=(_NA1.q._rh*_QA1.x+_NA1.q.c*_QA1.y)+_NA1._kg.y;var _dx1=(_zw1-_xw1)*_1y1+(_Aw1-_yw1)*_2y1;return _dx1;
}case _FA1._lw1:{var _1y1=_NA1.q.c*this._LA1.x-_NA1.q._rh*this._LA1.y;var _2y1=_NA1.q._rh*this._LA1.x+_NA1.q.c*this._LA1.y;var _zw1=(_NA1.q.c*this._KA1.x-_NA1.q._rh*this._KA1.y)+_NA1._kg.x;var _Aw1=(_NA1.q._rh*this._KA1.x+_NA1.q.c*this._KA1.y)+_NA1._kg.y;var _PA1=this._GA1._Ss1(_Pu1);var _xw1=(_MA1.q.c*_PA1.x-_MA1.q._rh*_PA1.y)+_MA1._kg.x;var _yw1=(_MA1.q._rh*_PA1.x+_MA1.q.c*_PA1.y)+_MA1._kg.y;var _dx1=(_xw1-_zw1)*_1y1+(_yw1-_Aw1)*_2y1;return _dx1;}default :_yp1(false);return 0.0;}}};_FA1._OA1=0;_FA1._kw1=1;
_FA1._lw1=2;var __A1=_gp1._rp1("toi","solveTOI");function _0B1(output,input){__A1.start();++_0B1._1B1;output.state=_AA1._ry1;output._N5=input._zA1;var _Su1=input._Su1;var _Tu1=input._Tu1;_0B1._2B1._pP(input._xA1);_0B1._3B1._pP(input._yA1);_0B1._2B1._vq1();_0B1._3B1._vq1();var _zA1=input._zA1;var _Lx1=_Su1._ss1+_Tu1._ss1;var target=_Kr1(_Hp1,_Lx1-3.0*_Hp1);var _4B1=0.25*_Hp1;_yp1(target>_4B1);var _3x1=0.0;var _5B1=20;var _Sg1=0;var _t7=new _Nu1();_t7._u7=0;var _6B1=new _Ru1();_6B1._Su1._pP(input._Su1);_6B1._Tu1._pP(input._Tu1);
_6B1._Wu1=false;for(;;){_0B1._2B1._cr1(_6B1._Uu1,_3x1);_0B1._3B1._cr1(_6B1._Vu1,_3x1);var _7B1=new _Xu1();_Pv1(_7B1,_t7,_6B1);if(_7B1._Cs1<=0.0){output.state=_AA1._CA1;output._N5=0.0;break;}if(_7B1._Cs1<target+_4B1){output.state=_AA1._DA1;output._N5=_3x1;break;}var _8B1=new _FA1();_8B1._sw1(_t7,_Su1,_0B1._2B1,_Tu1,_0B1._3B1,_3x1);var _9B1=false;var _4x1=_zA1;var _aB1=0;for(;;){var _G8=[];var _NA=_8B1._VA1(_G8,_4x1);if(_NA>target+_4B1){output.state=_AA1._EA1;output._N5=_zA1;_9B1=true;break;}if(_NA>target-_4B1){
_3x1=_4x1;break;}var _MA=_8B1._Vq(_G8[0],_G8[1],_3x1);if(_MA<target-_4B1){output.state=_AA1._BA1;output._N5=_3x1;_9B1=true;break;}if(_MA<=target+_4B1){output.state=_AA1._DA1;output._N5=_3x1;_9B1=true;break;}var _bB1=0;var _Si1=_3x1,_Ti1=_4x1;for(;;){var _N5;if(_bB1&1){_N5=_Si1+(target-_MA)*(_Ti1-_Si1)/(_NA-_MA);}else {_N5=0.5*(_Si1+_Ti1);}++_bB1;++_0B1._cB1;var _rh=_8B1._Vq(_G8[0],_G8[1],_N5);if(_Fr1(_rh-target)<_4B1){_4x1=_N5;break;}if(_rh>target){_Si1=_N5;_MA=_rh;}else {_Ti1=_N5;_NA=_rh;}if(_bB1==50){
break;}}_0B1._dB1=_Kr1(_0B1._dB1,_bB1);++_aB1;if(_aB1==_Ep1){break;}}++_Sg1;++_0B1._eB1;if(_9B1){break;}if(_Sg1==_5B1){output.state=_AA1._BA1;output._N5=_3x1;break;}}_0B1._fB1=_Kr1(_0B1._fB1,_Sg1);__A1.stop();_0B1._gB1=_Kr1(_0B1._gB1,__A1._lp1);_0B1._hB1+=__A1._lp1;}_0B1._2B1=new _6r1();_0B1._3B1=new _6r1();_0B1._hB1=0;_0B1._gB1=0;_0B1._1B1=0;_0B1._eB1=0;_0B1._fB1=0;_0B1._cB1=0;_0B1._dB1=0;function _iB1(){this.type=_jB1._kB1;this.position=new _mq1(0.0,0.0);this.angle=0.0;this._lB1=new _mq1(0.0,0.0);this._mB1=0.0;
this._nB1=0.0;this._oB1=0.0;this._pB1=true;this._qB1=true;this._rB1=false;/// @warning You should use this flag sparingly since it increases processing time.
this._sB1=false;this.active=true;this._du1=null;this._tB1=1.0;Object.seal(this);}_iB1.prototype={_Aq1:function(data){this.type=data['type'];this.position._Aq1(data['position']);this.angle=data['angle'];this._lB1._Aq1(data['linearVelocity']);this._mB1=data['angularVelocity'];this._nB1=data['linearDamping'];this._oB1=data['angularDamping'];this._pB1=data['allowSleep'];
this._qB1=data['awake'];this._rB1=data['fixedRotation'];this._sB1=data['bullet'];this.active=data['active'];this._tB1=data['gravityScale'];}};function _jB1(_uB1,_vB1){_yp1(_uB1.position._xq1());_yp1(_uB1._lB1._xq1());_yp1(_cq1(_uB1.angle));_yp1(_cq1(_uB1._mB1));_yp1(_cq1(_uB1._oB1)&&_uB1._oB1>=0.0);_yp1(_cq1(_uB1._nB1)&&_uB1._nB1>=0.0);this._wB1=0;this._xB1=0;if(_uB1._sB1){this._xB1|=_jB1._yB1;}if(_uB1._rB1){this._xB1|=_jB1._zB1;}if(_uB1._pB1){this._xB1|=_jB1._AB1;}if(_uB1._qB1){this._xB1|=_jB1._BB1;
}if(_uB1.active){this._xB1|=_jB1._CB1;}this._DB1=_vB1;this._Ay1=new _4r1();this._Ay1._kg._pP(_uB1.position);this._Ay1.q.Set(_uB1.angle);this._EB1=new _4r1();this._EB1._pP(this._Ay1);this._FB1=new _6r1();this._FB1._7r1._nq1();this._FB1._8r1._pP(this._Ay1._kg);this._FB1.c._pP(this._Ay1._kg);this._FB1._ar1=_uB1.angle;this._FB1._l3=_uB1.angle;this._FB1._br1=0.0;this._GB1=null;this._HB1=null;this._IB1=null;this._JB1=null;this._KB1=_uB1._lB1._a2();this._LB1=_uB1._mB1;this._MB1=_uB1._nB1;this._NB1=_uB1._oB1;
this._OB1=_uB1._tB1;this._PB1=new _mq1();this._QB1=0.0;this._RB1=0.0;this._dO=_uB1.type;if(this._dO==_jB1._SB1){this._TB1=1.0;this._UB1=1.0;}else {this._TB1=0.0;this._UB1=0.0;}this._VB1=0.0;this._WB1=0.0;this._XB1=_uB1._du1;this._YB1=null;this._ZB1=0;}_jB1._kB1=0;_jB1.__B1=1;_jB1._SB1=2;_jB1._0C1=0x0001;_jB1._BB1=0x0002;_jB1._AB1=0x0004;_jB1._yB1=0x0008;_jB1._zB1=0x0010;_jB1._CB1=0x0020;_jB1._1C1=0x0040;_jB1._2C1=new _mq1();_jB1._3C1=new _4r1();_jB1.prototype={/// @param def the fixture definition.
/// @warning This function is locked during callbacks.
_4C1:function(_5C1,
_s61){if(typeof(_s61)!=='undefined'){var _6C1=new _7C1();_6C1.shape=_5C1;_6C1._s61=_s61;return this._4C1(_6C1);}_yp1(this._DB1._ul1()==false);if(this._DB1._ul1()==true){return null;}var _N31=new _8C1();_N31._Je1(this,_5C1);if(this._xB1&_jB1._CB1){var _9C1=this._DB1._aC1._bC1;_N31._cC1(_9C1,this._Ay1);}_N31._JB1=this._YB1;this._YB1=_N31;++this._ZB1;_N31._dC1=this;if(_N31._eC1>0.0){this._fC1();}this._DB1._xB1|=_gC1._hC1;return _N31;},/// @param fixture the fixture to be removed.
/// @warning This function is locked during callbacks.
_iC1:function(_N31){
_yp1(this._DB1._ul1()==false);if(this._DB1._ul1()==true){return;}_yp1(_N31._dC1==this);_yp1(this._ZB1>0);var _Nk=this._YB1;var _8C=false;while(_Nk!=null){if(_Nk==_N31){this._YB1=_Nk=_N31._JB1;_8C=true;break;}_Nk=_Nk._JB1;}_yp1(_8C);var _lt1=this._HB1;while(_lt1){var c=_lt1._jC1;_lt1=_lt1._ok;var _kC1=c._lC1();var _mC1=c._nC1();if(_N31==_kC1||_N31==_mC1){this._DB1._aC1._xl1(c);}}if(this._xB1&_jB1._CB1){var _9C1=this._DB1._aC1._bC1;_N31._oC1(_9C1);}_N31._xl1();_N31._dC1=null;_N31._JB1=null;--this._ZB1;this._fC1();
},/// @param position the world position of the body's local origin.
/// @param angle the world rotation in radians.
_pC1:function(position,angle){_yp1(this._DB1._ul1()==false);if(this._DB1._ul1()==true){return;}this._Ay1.q.Set(angle);this._Ay1._kg._pP(position);this._EB1._pP(this._Ay1);this._FB1.c._pP(_xr1(this._Ay1,this._FB1._7r1));this._FB1._l3=angle;this._FB1._8r1._pP(this._FB1.c);this._FB1._ar1=angle;var _9C1=this._DB1._aC1._bC1;for(var _IC=this._YB1;_IC;_IC=_IC._JB1){_IC._qC1(_9C1,this._Ay1,
this._Ay1);}},/// @return the world transform of the body's origin.
_cr1:function(){return this._Ay1;},/// @return the world position of the body's origin.
_h31:function(){return this._Ay1._kg;},/// @return the current world rotation angle in radians.
_1r1:function(){return this._FB1._l3;},_rC1:function(){return this._FB1.c;},_sC1:function(){return this._FB1._7r1;},/// @param v the new linear velocity of the center of mass.
_tC1:function(_14){if(this._dO==_jB1._kB1){return;}if(_gr1(_14,_14)>0.0){
this._141(true);}this._KB1=_14;},/// @return the linear velocity of the center of mass.
_uC1:function(){return this._KB1;},/// @param omega the new angular velocity in radians/second.
_vC1:function(w){if(this._dO==_jB1._kB1){return;}if(w*w>0.0){this._141(true);}this._LB1=w;},/// @return the angular velocity in radians/second.
_wC1:function(){return this._LB1;},/// @param force the world force vector, usually in Newtons (N).
/// @param point the world position of the point of application.
/// @param wake also wake up the body
_n51:function(_xC1,
_ew1,_yC1){if(this._dO!=_jB1._SB1){return;}if(_yC1&&(this._xB1&_jB1._BB1)==0){this._141(true);}if(this._xB1&_jB1._BB1){this._PB1._Ke(_xC1);this._QB1+=_hr1(_mq1._tq1(_ew1,this._FB1.c),_xC1);}},/// @param force the world force vector, usually in Newtons (N).
/// @param wake also wake up the body
_zC1:function(_xC1,_yC1){if(this._dO!=_jB1._SB1){return;}if(_yC1&&(this._xB1&_jB1._BB1)==0){this._141(true);}if(this._xB1&_jB1._BB1){this._PB1._Ke(_xC1);}},/// @param torque about the z-axis (out of the screen), usually in N-m.
/// @param wake also wake up the body
_E51:function(_AC1,
_yC1){if(this._dO!=_jB1._SB1){return;}if(_yC1&&(this._xB1&_jB1._BB1)==0){this._141(true);}if(this._xB1&_jB1._BB1){this._QB1+=_AC1;}},/// @param impulse the world impulse vector, usually in N-seconds or kg-m/s.
/// @param point the world position of the point of application.
/// @param wake also wake up the body
_BC1:function(_CC1,_ew1,_yC1){if(this._dO!=_jB1._SB1){return;}if(_yC1&&(this._xB1&_jB1._BB1)==0){this._141(true);}if(this._xB1&_jB1._BB1){this._KB1._Ke(_mq1.Multiply(this._UB1,_CC1));this._LB1+=this._WB1*_hr1(_mq1._tq1(_ew1,
this._FB1.c),_CC1);}},/// @param impulse the angular impulse in units of kg*m*m/s
/// @param wake also wake up the body
_C51:function(_CC1,_yC1){if(this._dO!=_jB1._SB1){return;}if(_yC1&&(this._xB1&_jB1._BB1)==0){this._141(true);}if(this._xB1&_jB1._BB1){this._LB1+=this._WB1*_CC1;}},/// @return the mass, usually in kilograms (kg).
_DC1:function(){return this._TB1;},/// @return the rotational inertia, usually in kg-m^2.
_EC1:function(){return this._VB1+this._TB1*_gr1(this._FB1._7r1,this._FB1._7r1);
},/// @return a struct containing the mass, inertia and center of the body.
_FC1:function(data){data._ps1=this._TB1;data._qs1=this._VB1+this._TB1*_gr1(this._FB1._7r1,this._FB1._7r1);data._3s1=this._FB1._7r1;},/// @param massData the mass properties.
_GC1:function(_As1){_yp1(this._DB1._ul1()==false);if(this._DB1._ul1()==true){return;}if(this._dO!=_jB1._SB1){return;}this._UB1=0.0;this._VB1=0.0;this._WB1=0.0;this._TB1=_As1._ps1;if(this._TB1<=0.0){this._TB1=1.0;}this._UB1=1.0/this._TB1;if(_As1._qs1>0.0&&(this._xB1&_jB1._zB1)==0){
this._VB1=_As1._qs1-this._TB1*_gr1(_As1._3s1,_As1._3s1);_yp1(this._VB1>0.0);this._WB1=1.0/this._VB1;}_jB1._2C1._pP(this._FB1.c);this._FB1._7r1._pP(_As1._3s1);this._FB1._8r1._pP(_xr1(this._Ay1,this._FB1._7r1));this._FB1.c._pP(this._FB1._8r1);this._KB1._Ke(_jr1(this._LB1,_mq1._tq1(this._FB1.c,_jB1._2C1)));},_fC1:function(){this._TB1=0.0;this._UB1=0.0;this._VB1=0.0;this._WB1=0.0;this._FB1._7r1._nq1();if(this._dO==_jB1._kB1||this._dO==_jB1.__B1){this._FB1._8r1._pP(this._Ay1._kg);this._FB1.c._pP(this._Ay1._kg);
this._FB1._ar1=this._FB1._l3;return;}_yp1(this._dO==_jB1._SB1);var _7r1=new _mq1(0,0);for(var _IC=this._YB1;_IC;_IC=_IC._JB1){if(_IC._eC1==0.0){continue;}var _As1=new _os1();_IC._FC1(_As1);this._TB1+=_As1._ps1;_7r1._Ke(_mq1.Multiply(_As1._ps1,_As1._3s1));this._VB1+=_As1._qs1;}if(this._TB1>0.0){this._UB1=1.0/this._TB1;_7r1.Multiply(this._UB1);}else {this._TB1=1.0;this._UB1=1.0;}if(this._VB1>0.0&&(this._xB1&_jB1._zB1)==0){this._VB1-=this._TB1*_gr1(_7r1,_7r1);_yp1(this._VB1>0.0);this._WB1=1.0/this._VB1;}
else {this._VB1=0.0;this._WB1=0.0;}_jB1._2C1._pP(this._FB1.c);this._FB1._7r1._pP(_7r1);this._FB1._8r1._pP(_xr1(this._Ay1,this._FB1._7r1));this._FB1.c._pP(this._FB1._8r1);this._KB1._Ke(_jr1(this._LB1,_mq1._tq1(this._FB1.c,_jB1._2C1)));},/// @param localPoint a point on the body measured relative the the body's origin.
/// @return the same point expressed in world coordinates.
_HC1:function(_bw1){return _xr1(this._Ay1,_bw1);},/// @param localVector a vector fixed in the body.
/// @return the same vector expressed in world coordinates.
_IC1:function(_JC1){
return _vr1(this._Ay1.q,_JC1);},/// @param a point in world coordinates.
/// @return the corresponding local point relative to the body's origin.
_KC1:function(_LC1){return _zr1(this._Ay1,_LC1);},/// @param a vector in world coordinates.
/// @return the corresponding local vector.
_MC1:function(_NC1){return _wr1(this._Ay1.q,_NC1);},/// @param a point in world coordinates.
/// @return the world velocity of a point.
_OC1:function(_LC1){return _mq1._Ke(this._KB1,_jr1(this._LB1,_mq1._tq1(_LC1,this._FB1.c)));
},/// @param a point in local coordinates.
/// @return the world velocity of a point.
_PC1:function(_bw1){return this._OC1(this._HC1(_bw1));},_QC1:function(){return this._MB1;},_Z31:function(_nB1){this._MB1=_nB1;},_RC1:function(){return this._NB1;},__31:function(_oB1){this._NB1=_oB1;},_SC1:function(){return this._OB1;},_TC1:function(scale){this._OB1=scale;},_UC1:function(type){_yp1(this._DB1._ul1()==false);if(this._DB1._ul1()==true){return;}if(this._dO==type){return;}this._dO=type;this._fC1();if(this._dO==_jB1._kB1){
this._KB1._nq1();this._LB1=0.0;this._FB1._ar1=this._FB1._l3;this._FB1._8r1._pP(this._FB1.c);this._VC1();}this._141(true);this._PB1._nq1();this._QB1=0.0;var _WC1=this._HB1;while(_WC1){var _XC1=_WC1;_WC1=_WC1._ok;this._DB1._aC1._xl1(_XC1._jC1);}this._HB1=null;var _9C1=this._DB1._aC1._bC1;for(var _IC=this._YB1;_IC;_IC=_IC._JB1){var _YC1=_IC._7u1;for(var i=0;i<_YC1;++i){_9C1._ku1(_IC._ZC1[i]._eu1);}}},_Xk1:function(){return this._dO;},__C1:function(_0D1){if(_0D1){this._xB1|=_jB1._yB1;}else {this._xB1&=~_jB1._yB1;
}},_1D1:function(){return(this._xB1&_jB1._yB1)==_jB1._yB1;},_2D1:function(_0D1){if(_0D1){this._xB1|=_jB1._AB1;}else {this._xB1&=~_jB1._AB1;this._141(true);}},_3D1:function(){return(this._xB1&_jB1._AB1)==_jB1._AB1;},/// @param flag set to true to wake the body, false to put it to sleep.
_141:function(_0D1){if(_0D1){if((this._xB1&_jB1._BB1)==0){this._xB1|=_jB1._BB1;this._RB1=0.0;}}else {this._xB1&=~_jB1._BB1;this._RB1=0.0;this._KB1._nq1();this._LB1=0.0;this._PB1._nq1();this._QB1=0.0;}},/// @return true if the body is awake.
_4D1:function(){
return(this._xB1&_jB1._BB1)==_jB1._BB1;},_5D1:function(_0D1){_yp1(this._DB1._ul1()==false);if(_0D1==this._6D1()){return;}if(_0D1){this._xB1|=_jB1._CB1;var _9C1=this._DB1._aC1._bC1;for(var _IC=this._YB1;_IC;_IC=_IC._JB1){_IC._cC1(_9C1,this._Ay1);}}else {this._xB1&=~_jB1._CB1;var _9C1=this._DB1._aC1._bC1;for(var _IC=this._YB1;_IC;_IC=_IC._JB1){_IC._oC1(_9C1);}var _WC1=this._HB1;while(_WC1){var _XC1=_WC1;_WC1=_WC1._ok;this._DB1._aC1._xl1(_XC1._jC1);}this._HB1=null;}},_6D1:function(){return(this._xB1&_jB1._CB1)==_jB1._CB1;
},_7D1:function(_0D1){var status=(this._xB1&_jB1._zB1)==_jB1._zB1;if(status==_0D1){return;}if(_0D1){this._xB1|=_jB1._zB1;}else {this._xB1&=~_jB1._zB1;}this._LB1=0.0;this._fC1();},_8D1:function(){return(this._xB1&_jB1._zB1)==_jB1._zB1;},_9D1:function(){return this._YB1;},_aD1:function(){return this._GB1;},/// @warning this list changes during the time step and you may
_bD1:function(){return this._HB1;},_cD1:function(){return this._JB1;},_mu1:function(){return this._XB1;},_dD1:function(data){this._XB1=data;
},_eD1:function(){return this._DB1;},_VC1:function(){_jB1._3C1.q.Set(this._FB1._ar1);_jB1._3C1._kg._pP(_mq1._tq1(this._FB1._8r1,_vr1(_jB1._3C1.q,this._FB1._7r1)));var _9C1=this._DB1._aC1._bC1;for(var _IC=this._YB1;_IC;_IC=_IC._JB1){_IC._qC1(_9C1,_jB1._3C1,this._Ay1);}},_fD1:function(){this._Ay1.q.Set(this._FB1._l3);this._Ay1._kg._pP(_mq1._tq1(this._FB1.c,_vr1(this._Ay1.q,this._FB1._7r1)));},_gD1:function(other){if(this._dO!=_jB1._SB1&&other._dO!=_jB1._SB1){return false;}for(var _hD1=this._GB1;_hD1;_hD1=_hD1._ok){
if(_hD1.other==other){if(_hD1._t41._iD1==false){return false;}}}return true;},_er1:function(alpha){this._FB1._er1(alpha);this._FB1.c._pP(this._FB1._8r1);this._FB1._l3=this._FB1._ar1;this._Ay1.q.Set(this._FB1._l3);this._Ay1._kg._pP(_mq1._tq1(this._FB1.c,_vr1(this._Ay1.q,this._FB1._7r1)));},_zq1:function(out){var _Tf=out||{};_Tf['fixtures']=null;_Tf['type']=this._dO;_Tf['position']=this._h31()._zq1();_Tf['angle']=this._1r1();_Tf['linearVelocity']=this._uC1()._zq1();_Tf['angularVelocity']=this._wC1();
_Tf['linearDamping']=this._QC1();_Tf['angularDamping']=this._RC1();_Tf['allowSleep']=this._3D1();_Tf['awake']=this._4D1();_Tf['fixedRotation']=this._8D1();_Tf['bullet']=this._1D1();_Tf['active']=this._6D1();_Tf['gravityScale']=this._SC1();return _Tf;}};function _jD1(){this._kD1=0x0001;this._lD1=0xFFFF;this._mD1=0;}_jD1.prototype={_a2:function(){var filter=new _jD1();filter._kD1=this._kD1;filter._lD1=this._lD1;filter._mD1=this._mD1;return filter;},_pP:function(filter){this._kD1=filter._kD1;this._lD1=filter._lD1;
this._mD1=filter._mD1;},_zq1:function(out){var _Tf=out||{};_Tf['categoryBits']=this._kD1;_Tf['maskBits']=this._lD1;_Tf['groupIndex']=this._mD1;return _Tf;},_Aq1:function(data){this._kD1=data['categoryBits'];this._lD1=data['maskBits'];this._mD1=data['groupIndex'];}};function _7C1(){this.shape=null;this._du1=null;this.friction=0.2;this._nD1=0.0;this._s61=0.0;this._oD1=false;this.filter=new _jD1();Object.seal(this);}_7C1.prototype={_Aq1:function(data){this.friction=data['friction'];this._nD1=data['restitution'];
this._s61=data['density'];this._oD1=data['isSensor'];this.filter._Aq1(data['filter']);}};function _pD1(){this._ys1=new _Rw1();this._N31=null;this._ws1=0;this._eu1=0;};/// @warning you cannot reuse fixtures.
function _8C1(){this._XB1=null;this._dC1=null;this._JB1=null;this._ZC1=null;this._7u1=0;this._qD1=null;this._eC1=0.0;this._rD1=new _jD1();this._sD1=false;this._tD1=0;this._uD1=0;}_8C1.prototype={/// @return the shape type.
_Xk1:function(){return this._qD1._Xk1();},_vD1:function(){return this._qD1;
},_X31:function(_wD1){if(_wD1!=this._sD1){this._dC1._141(true);this._sD1=_wD1;}},/// @return the true if the shape is a sensor.
_xD1:function(){return this._sD1;},_yD1:function(filter){this._rD1=filter;this._zD1();},_AD1:function(){return this._rD1;},_zD1:function(){if(this._dC1==null){return;}var _lt1=this._dC1._bD1();while(_lt1){var _jC1=_lt1._jC1;var _kC1=_jC1._lC1();var _mC1=_jC1._nC1();if(_kC1==this||_mC1==this){_jC1._BD1();}_lt1=_lt1._ok;}var _vB1=this._dC1._eD1();if(_vB1==null){return;}var _9C1=_vB1._aC1._bC1;
for(var i=0;i<this._7u1;++i){_9C1._ku1(this._ZC1[i]._eu1);}},/// @return the parent body.
_CD1:function(){return this._dC1;},/// @return the next shape.
_cD1:function(){return this._JB1;},_mu1:function(){return this._XB1;},_dD1:function(data){this._XB1=data;},/// @param p a point in world coordinates.
_us1:function(_kg){return this._qD1._us1(this._dC1._cr1(),_kg);},/// @param output the ray-cast results.
/// @param input the ray-cast input parameters.
_vs1:function(output,input,_ws1){return this._qD1._vs1(output,
input,this._dC1._cr1(),_ws1);},_FC1:function(_As1){this._qD1._zs1(_As1,this._eC1);},_Q31:function(_s61){_yp1(_cq1(_s61)&&_s61>=0.0);this._eC1=_s61;},_O51:function(){return this._eC1;},_N51:function(){return this._tD1;},_T31:function(friction){this._tD1=friction;},_P51:function(){return this._uD1;},_S31:function(_nD1){this._uD1=_nD1;},_DD1:function(_ws1){_yp1(0<=_ws1&&_ws1<this._7u1);return this._ZC1[_ws1]._ys1;},_Je1:function(body,_5C1){this._XB1=_5C1._du1;this._tD1=_5C1.friction;this._uD1=_5C1._nD1;
this._dC1=body;this._JB1=null;this._rD1._pP(_5C1.filter);this._sD1=_5C1._oD1;this._qD1=_5C1.shape._a2();var _ED1=this._qD1._ts1();this._ZC1=new Array(_ED1);for(var i=0;i<_ED1;++i){this._ZC1[i]=new _pD1();this._ZC1[i]._N31=null;this._ZC1[i]._eu1=_3u1._su1;}this._7u1=0;this._eC1=_5C1._s61;},_xl1:function(){_yp1(this._7u1==0);this._ZC1=null;this._qD1=null;},_cC1:function(_9C1,_5r1){_yp1(this._7u1==0);this._7u1=this._qD1._ts1();for(var i=0;i<this._7u1;++i){var _FD1=this._ZC1[i];this._qD1._xs1(_FD1._ys1,_5r1,
i);_FD1._eu1=_9C1._cu1(_FD1._ys1,_FD1);_FD1._N31=this;_FD1._ws1=i;}},_oC1:function(_9C1){for(var i=0;i<this._7u1;++i){var _FD1=this._ZC1[i];_9C1._gu1(_FD1._eu1);_FD1._eu1=_3u1._su1;}this._7u1=0;},_qC1:function(_9C1,_GD1,_HD1){if(this._7u1==0){return;}for(var i=0;i<this._7u1;++i){var _FD1=this._ZC1[i];var _Xw1=new _Rw1(),_Yw1=new _Rw1();this._qD1._xs1(_Xw1,_GD1,_FD1._ws1);this._qD1._xs1(_Yw1,_HD1,_FD1._ws1);_FD1._ys1._Ww1(_Xw1,_Yw1);var _ju1=_mq1._tq1(_HD1._kg,_GD1._kg);_9C1._iu1(_FD1._eu1,_FD1._ys1,_ju1);
}},_Bs1:function(_kg,_Fl,_x5,_ws1){this._qD1._Bs1(this._dC1._cr1(),_kg,_Fl,_x5,_ws1);},_zq1:function(out){var _Tf=out||{};_Tf['shape']=null;_Tf['friction']=this._tD1;_Tf['restitution']=this._uD1;_Tf['density']=this._eC1;_Tf['isSensor']=this._sD1;_Tf['filter']=this._rD1._zq1();return _Tf;}};function _ID1(){}_ID1.prototype={_JD1:function(_t41){},_KD1:function(_N31){},_LD1:function(_E61){},_MD1:function(index){}};function _ND1(){}_ND1.prototype={/// @warning for performance reasons this is only called when the AABBs begin to overlap.
_gD1:function(_kC1,
_mC1){var _OD1=_kC1._AD1();var _PD1=_mC1._AD1();if(_OD1._mD1==_PD1._mD1&&_OD1._mD1!=0){return _OD1._mD1>0;}var _QD1=(_OD1._lD1&_PD1._kD1)!=0&&(_OD1._kD1&_PD1._lD1)!=0;return _QD1;}};function _RD1(){this._SD1=new Array(_Dp1);this._TD1=new Array(_Dp1);this._u7=0;}/// @warning You cannot create/destroy Box2D entities inside these callbacks.
function _UD1(){}_UD1.prototype={_VD1:function(_jC1){},_WD1:function(_jC1){},_XD1:function(_jC1,_YD1){},_ZD1:function(_jC1,_CC1){}};function __D1(){}__D1.prototype={/// @return false to terminate the query.
_0E1:function(_N31){
return false;},/// @return false to terminate the query.
_1E1:function(index){return false;}};function _2E1(){}_2E1.prototype={/// @param fixture the fixture hit by the ray
/// @param point the point of initial intersection
/// @param normal the normal vector at the point of intersection
/// @return -1 to filter, 0 to terminate, fraction to clip the ray for
_0E1:function(_N31,_ew1,_Ds1,_Ns1){},_1E1:function(index,_ew1,_Ds1,_Ns1){return 0;}};function _3E1(){this._EC=0;this._4E1=0;this._5E1=0;this._6E1=0;
this._7E1=0;this._8E1=false;}function _9E1(){this.c=new _mq1();this._l3=0;}function _aE1(){this._14=new _mq1();this.w=0;}function _bE1(){this.step=new _3E1();this._cE1=null;this._dE1=null;}var _eE1=_gp1._rp1("step");var _fE1=_gp1._rp1("collide","step");var _gE1=_gp1._rp1("solve","step");var _hE1=_gp1._rp1("solveTOI","step");var _iE1=_gp1._rp1("broadphase","step");function _gC1(gravity){this._aC1=new _jE1();this._kE1=null;this._lE1=null;this._mE1=null;this._GB1=null;this._nE1=0;this._oE1=0;this._pE1=true;this._qE1=true;
this._rE1=false;this._sE1=true;this._tE1=true;this._uE1=gravity;this._xB1=_gC1._vE1;this._wE1=0.0;this._xE1=new _3E1();this._yE1=new _zE1();this._AE1=new _BE1();this._AE1._DB1=this;}function _CE1(){this._9C1=null;this._jl1=null;}_CE1.prototype={_Hu1:function(_eu1){var _FD1=this._9C1._mu1(_eu1);return this._jl1._0E1(_FD1._N31);}};function _DE1(){this._9C1=null;this._jl1=null;}_DE1.prototype={_Lz1:function(input,_eu1){var _du1=this._9C1._mu1(_eu1);var _FD1=_du1;var _N31=_FD1._N31;var index=_FD1._ws1;var output=new _Qw1();
var _E5=_N31._vs1(output,input,index);if(_E5){var _Ns1=output._Ns1;var _ew1=_mq1._Ke(_mq1.Multiply((1.0-_Ns1),input._4u),_mq1.Multiply(_Ns1,input._6s1));return this._jl1._0E1(_N31,_ew1,output._Ds1,_Ns1);}return input._Ms1;}};_gC1._EE1=new _6r1();_gC1._FE1=new _6r1();_gC1._GE1=new _6r1();_gC1.prototype={_xl1:function(){var _k3=this._mE1;while(_k3){var _HE1=_k3._JB1;var _IC=_k3._YB1;while(_IC){var _IE1=_IC._JB1;_IC._7u1=0;_IC._xl1();_IC=_IE1;}_k3=_HE1;}},_JE1:function(listener){this._kE1=listener;},_KE1:function(filter){
this._aC1._LE1=filter;},_ME1:function(listener){this._aC1._NE1=listener;},_OE1:function(_PE1){this._lE1=_PE1;},/// @warning This function is locked during callbacks.
_g41:function(_5C1){_yp1(this._ul1()==false);if(this._ul1()){return null;}var _k3=new _jB1(_5C1,this);_k3._IB1=null;_k3._JB1=this._mE1;if(this._mE1){this._mE1._IB1=_k3;}this._mE1=_k3;++this._nE1;return _k3;},/// @warning This automatically deletes all associated shapes and joints.
/// @warning This function is locked during callbacks.
_QE1:function(_k3){
_yp1(this._nE1>0);_yp1(this._ul1()==false);if(this._ul1()){return;}var _RE1=_k3._GB1;while(_RE1){var _SE1=_RE1;_RE1=_RE1._ok;if(this._kE1){this._kE1._JD1(_SE1._t41);}this._i51(_SE1._t41);_k3._GB1=_RE1;}_k3._GB1=null;var _WC1=_k3._HB1;while(_WC1){var _XC1=_WC1;_WC1=_WC1._ok;this._aC1._xl1(_XC1._jC1);}_k3._HB1=null;var _IC=_k3._YB1;while(_IC){var _TE1=_IC;_IC=_IC._JB1;if(this._kE1){this._kE1._KD1(_TE1);}_TE1._oC1(this._aC1._bC1);_TE1._xl1();_k3._YB1=_IC;_k3._ZB1-=1;}_k3._YB1=null;_k3._ZB1=0;if(_k3._IB1){
_k3._IB1._JB1=_k3._JB1;}if(_k3._JB1){_k3._JB1._IB1=_k3._IB1;}if(_k3==this._mE1){this._mE1=_k3._JB1;}_k3._UE1=true;--this._nE1;},/// @warning This function is locked during callbacks.
_VE1:function(_5C1){_yp1(this._ul1()==false);if(this._ul1()){return null;}var _35=_WE1._Je1(_5C1);_35._IB1=null;_35._JB1=this._GB1;if(this._GB1){this._GB1._IB1=_35;}this._GB1=_35;++this._oE1;_35._XE1._t41=_35;_35._XE1.other=_35._YE1;_35._XE1._mk=null;_35._XE1._ok=_35._ZE1._GB1;if(_35._ZE1._GB1)_35._ZE1._GB1._mk=_35._XE1;
_35._ZE1._GB1=_35._XE1;_35.__E1._t41=_35;_35.__E1.other=_35._ZE1;_35.__E1._mk=null;_35.__E1._ok=_35._YE1._GB1;if(_35._YE1._GB1)_35._YE1._GB1._mk=_35.__E1;_35._YE1._GB1=_35.__E1;var _0F1=_5C1._0F1;var _1F1=_5C1._1F1;if(_5C1._2F1==false){var _lt1=_1F1._bD1();while(_lt1){if(_lt1.other==_0F1){_lt1._jC1._BD1();}_lt1=_lt1._ok;}}return _35;},/// @warning This function is locked during callbacks.
_i51:function(_35){_yp1(this._ul1()==false);if(this._ul1()){return;}var _2F1=_35._iD1;if(_35._IB1){_35._IB1._JB1=_35._JB1;
}if(_35._JB1){_35._JB1._IB1=_35._IB1;}if(_35==this._GB1){this._GB1=_35._JB1;}var _0F1=_35._ZE1;var _1F1=_35._YE1;_0F1._141(true);_1F1._141(true);if(_35._XE1._mk){_35._XE1._mk._ok=_35._XE1._ok;}if(_35._XE1._ok){_35._XE1._ok._mk=_35._XE1._mk;}if(_35._XE1==_0F1._GB1){_0F1._GB1=_35._XE1._ok;}_35._XE1._mk=null;_35._XE1._ok=null;if(_35.__E1._mk){_35.__E1._mk._ok=_35.__E1._ok;}if(_35.__E1._ok){_35.__E1._ok._mk=_35.__E1._mk;}if(_35.__E1==_1F1._GB1){_1F1._GB1=_35.__E1._ok;}_35.__E1._mk=null;_35.__E1._ok=null;
_WE1._xl1(_35);_yp1(this._oE1>0);--this._oE1;if(_2F1==false){var _lt1=_1F1._bD1();while(_lt1){if(_lt1.other==_0F1){_lt1._jC1._BD1();}_lt1=_lt1._ok;}}},/// @param timeStep the amount of time to simulate, this should not vary.
/// @param velocityIterations for the velocity constraint solver.
/// @param positionIterations for the position constraint solver.
_3F1:function(_EC,_6E1,_7E1){_eE1.start();if(this._xB1&_gC1._hC1){this._aC1._4F1();this._xB1&=~_gC1._hC1;}this._xB1|=_gC1._5F1;this._xE1._EC=_EC;
this._xE1._6E1=_6E1;this._xE1._7E1=_7E1;if(_EC>0.0){this._xE1._4E1=1.0/_EC;}else {this._xE1._4E1=0.0;}this._xE1._5E1=this._wE1*_EC;this._xE1._8E1=this._pE1;{_fE1.start();this._aC1._Sy1();_fE1.stop();}if(this._sE1&&this._xE1._EC>0.0){_gE1.start();this._AE1._Jq1(this._xE1);this._Jq1(this._xE1);_gE1.stop();}if(this._qE1&&this._xE1._EC>0.0){_hE1.start();this._6F1(this._xE1);_hE1.stop();}if(this._xE1._EC>0.0){this._wE1=this._xE1._4E1;}if(this._xB1&_gC1._vE1){this._7F1();}this._xB1&=~_gC1._5F1;_eE1.stop();
},/// @see SetAutoClearForces
_7F1:function(){for(var body=this._mE1;body;body=body._cD1()){body._PB1.x=body._PB1.y=0;body._QB1=0.0;}},_8F1:function(){if(this._lE1==null){return;}var _Sn1=this._lE1._Xr1();if(_Sn1&_Ur1._as1){for(var _k3=this._mE1;_k3;_k3=_k3._cD1()){var _5r1=_k3._cr1();for(var _IC=_k3._9D1();_IC;_IC=_IC._cD1()){if(_k3._6D1()==false){this._9F1(_IC,_5r1,new _Tr1(0.5,0.5,0.3));}else if(_k3._Xk1()==_jB1._kB1){this._9F1(_IC,_5r1,new _Tr1(0.5,0.9,0.5));}else if(_k3._Xk1()==_jB1.__B1){this._9F1(_IC,
_5r1,new _Tr1(0.5,0.5,0.9));}else if(_k3._4D1()==false){this._9F1(_IC,_5r1,new _Tr1(0.6,0.6,0.6));}else {this._9F1(_IC,_5r1,new _Tr1(0.9,0.7,0.7));}}}this._aF1(this._AE1);}if(_Sn1&_Ur1._bs1){for(var _35=this._GB1;_35;_35=_35._cD1()){this._bF1(_35);}}if(_Sn1&_Ur1._ks1){var color=new _Tr1(0.3,0.9,0.9);for(var c=this._aC1._HB1;c;c=c._cD1()){var _kC1=c._lC1();var _mC1=c._nC1();var _cF1=_kC1._DD1(c._dF1())._Tw1();var _eF1=_mC1._DD1(c._fF1())._Tw1();this._lE1._5s1(_cF1,_eF1,color);}}if(_Sn1&_Ur1._cs1){var color=new _Tr1(0.9,
0.3,0.9);var _gF1=new _Tr1(0.3,0.3,0.9);var _hF1=this._aC1._bC1;for(var _k3=this._mE1;_k3;_k3=_k3._cD1()){if(_k3._6D1()==false){continue;}for(var _IC=_k3._9D1();_IC;_IC=_IC._cD1()){for(var i=0;i<_IC._7u1;++i){var _FD1=_IC._ZC1[i];var _ys1=_hF1._lu1(_FD1._eu1);var _Ut1=[];_Ut1[0]=new _mq1(_ys1._Os1.x,_ys1._Os1.y);_Ut1[1]=new _mq1(_ys1._Ps1.x,_ys1._Os1.y);_Ut1[2]=new _mq1(_ys1._Ps1.x,_ys1._Ps1.y);_Ut1[3]=new _mq1(_ys1._Os1.x,_ys1._Ps1.y);this._lE1._0s1(_Ut1,4,color);var _iF1=new _Rw1();_IC._vD1()._xs1(_iF1,_k3._cr1(),
0);_Ut1[0]=new _mq1(_iF1._Os1.x,_iF1._Os1.y);_Ut1[1]=new _mq1(_iF1._Ps1.x,_iF1._Os1.y);_Ut1[2]=new _mq1(_iF1._Ps1.x,_iF1._Ps1.y);_Ut1[3]=new _mq1(_iF1._Os1.x,_iF1._Ps1.y);this._lE1._0s1(_Ut1,4,_gF1);}}}}if(_Sn1&_Ur1._ds1){for(var _k3=this._mE1;_k3;_k3=_k3._cD1()){var _5r1=_k3._cr1()._a2();_5r1._kg=_k3._rC1();this._lE1._7s1(_5r1);}}},/// @param callback a user implemented callback class.
/// @param aabb the query box.
_jF1:function(_jl1,_ys1){var _kF1=new _CE1();_kF1._9C1=this._aC1._bC1;_kF1._jl1=_jl1;
this._aC1._bC1._uu1(_kF1,_ys1);this._AE1._jF1(_jl1,_ys1);},/// @param callback a user implemented callback class.
/// @param point1 the ray starting point
/// @param point2 the ray ending point
_vs1:function(_jl1,_lF1,_mF1){var _kF1=new _DE1();_kF1._9C1=this._aC1._bC1;_kF1._jl1=_jl1;var input=new _Pw1();input._Ms1=1.0;input._4u=_lF1;input._6s1=_mF1;this._aC1._bC1._vs1(_kF1,input);this._AE1._vs1(_jl1,_lF1,_mF1);},/*@returns {b2Body} the head of the world body list. */_nF1:function(){return this._mE1;
},/// @return the head of the world joint list.
_aD1:function(){return this._GB1;},/// @return the head of the world contact list.
/// @warning contacts are created and destroyed in the middle of a time step.
_bD1:function(){return this._aC1._HB1;},_oF1:function(_0D1){if(_0D1==this._tE1){return;}this._tE1=_0D1;if(this._tE1==false){for(var _k3=this._mE1;_k3;_k3=_k3._JB1){_k3._141(true);}}},_pF1:function(){return this._tE1;},_qF1:function(_0D1){this._pE1=_0D1;},_rF1:function(){return this._pE1;},_sF1:function(_0D1){
this._qE1=_0D1;},_tF1:function(){return this._qE1;},_uF1:function(_0D1){this._rE1=_0D1;},_vF1:function(){return this._rE1;},_qu1:function(){return this._aC1._bC1._qu1();},_wF1:function(){return this._nE1;},_xF1:function(){return this._oE1;},_yF1:function(){return this._aC1._zF1;},_Au1:function(){return this._aC1._bC1._Au1();},_Bu1:function(){return this._aC1._bC1._Bu1();},_Du1:function(){return this._aC1._bC1._Du1();},_G31:function(gravity){this._uE1=gravity;},_AF1:function(){return this._uE1;},_ul1:function(){
return(this._xB1&_gC1._5F1)==_gC1._5F1;},_BF1:function(_0D1){if(_0D1){this._xB1|=_gC1._vE1;}else {this._xB1&=~_gC1._vE1;}},_CF1:function(){return(this._xB1&_gC1._vE1)==_gC1._vE1;},/// @param newOrigin the new origin with respect to the old origin
_Fu1:function(_Gu1){_yp1((this._xB1&_gC1._5F1)==0);if((this._xB1&_gC1._5F1)==_gC1._5F1){return;}for(var _k3=this._mE1;_k3;_k3=_k3._JB1){_k3._Ay1._kg._tq1(_Gu1);_k3._FB1._8r1._tq1(_Gu1);_k3._FB1.c._tq1(_Gu1);}for(var _35=this._GB1;_35;_35=_35._JB1){_35._Fu1(_Gu1);
}this._aC1._bC1._Fu1(_Gu1);},_DF1:function(){return this._aC1;},_Jq1:function(step){for(var _k3=this._mE1;_k3;_k3=_k3._JB1){_k3._EB1._pP(_k3._Ay1);}this._yE1._sw1(this._nE1,this._aC1._zF1,this._oE1,this._aC1._NE1);for(var _k3=this._mE1;_k3;_k3=_k3._JB1){_k3._xB1&=~_jB1._0C1;}for(var c=this._aC1._HB1;c;c=c._JB1){c._xB1&=~_EF1._0C1;}for(var _35=this._GB1;_35;_35=_35._JB1){_35._FF1=false;}var _GF1=this._nE1;var stack=new Array(_GF1);for(var _5g=this._mE1;_5g;_5g=_5g._JB1){if(_5g._xB1&_jB1._0C1){continue;}if(_5g._4D1()==false||_5g._6D1()==false){
continue;}if(_5g._Xk1()==_jB1._kB1){continue;}this._yE1.__e();var _HF1=0;stack[_HF1++]=_5g;_5g._xB1|=_jB1._0C1;while(_HF1>0){var _k3=stack[--_HF1];_yp1(_k3._6D1()==true);this._yE1._IF1(_k3);_k3._141(true);if(_k3._Xk1()==_jB1._kB1){continue;}for(var _WC1=_k3._HB1;_WC1;_WC1=_WC1._ok){var _jC1=_WC1._jC1;if(_jC1._xB1&_EF1._0C1){continue;}if(_jC1._JF1()==false||_jC1._KF1()==false){continue;}var _LF1=_jC1._MF1._sD1;var _NF1=_jC1._OF1._sD1;if(_LF1||_NF1){continue;}this._yE1._PF1(_jC1);_jC1._xB1|=_EF1._0C1;var other=_WC1.other;
if(other._xB1&_jB1._0C1){continue;}_yp1(_HF1<_GF1);stack[_HF1++]=other;other._xB1|=_jB1._0C1;}for(var _RE1=_k3._GB1;_RE1;_RE1=_RE1._ok){if(_RE1._t41._FF1==true){continue;}var other=_RE1.other;if(other._6D1()==false){continue;}this._yE1._QF1(_RE1._t41);_RE1._t41._FF1=true;if(other._xB1&_jB1._0C1){continue;}_yp1(_HF1<_GF1);stack[_HF1++]=other;other._xB1|=_jB1._0C1;}}this._yE1._Jq1(step,this._uE1,this._tE1);for(var i=0;i<this._yE1._nE1;++i){var _k3=this._yE1._RF1[i];if(_k3._Xk1()==_jB1._kB1){_k3._xB1&=~_jB1._0C1;
}}}{_iE1.start();for(var _k3=this._mE1;_k3;_k3=_k3._cD1()){if((_k3._xB1&_jB1._0C1)==0){continue;}if(_k3._Xk1()==_jB1._kB1){continue;}_k3._VC1();}this._aC1._4F1();_iE1.stop();}},_6F1:function(step){this._yE1._sw1(2*_Lp1,_Lp1,0,this._aC1._NE1);if(this._sE1){for(var _k3=this._mE1;_k3;_k3=_k3._JB1){_k3._xB1&=~_jB1._0C1;_k3._FB1._br1=0.0;}for(var c=this._aC1._HB1;c;c=c._JB1){c._xB1&=~(_EF1._1C1|_EF1._0C1);c._SF1=0;c._TF1=1.0;}}for(;;){var _UF1=null;var _VF1=1.0;for(var c=this._aC1._HB1;c;c=c._JB1){if(c._JF1()==false){
continue;}if(c._SF1>_Kp1){continue;}var alpha=1.0;if(c._xB1&_EF1._1C1){alpha=c._TF1;}else {var _WF1=c._lC1();var _XF1=c._nC1();if(_WF1._xD1()||_XF1._xD1()){continue;}var _YF1=_WF1._CD1();var _ZF1=_XF1._CD1();var _6w1=_YF1._dO;var _7w1=_ZF1._dO;_yp1(_6w1==_jB1._SB1||_7w1==_jB1._SB1);var __F1=_YF1._4D1()&&_6w1!=_jB1._kB1;var _0G1=_ZF1._4D1()&&_7w1!=_jB1._kB1;if(__F1==false&&_0G1==false){continue;}var _1G1=_YF1._1D1()||_6w1!=_jB1._SB1;var _2G1=_ZF1._1D1()||_7w1!=_jB1._SB1;if(_1G1==false&&_2G1==false){continue;
}var _br1=_YF1._FB1._br1;if(_YF1._FB1._br1<_ZF1._FB1._br1){_br1=_ZF1._FB1._br1;_YF1._FB1._er1(_br1);}else if(_ZF1._FB1._br1<_YF1._FB1._br1){_br1=_YF1._FB1._br1;_ZF1._FB1._er1(_br1);}_yp1(_br1<1.0);var _Pu1=c._dF1();var _Qu1=c._fF1();var input=new _wA1();input._Su1.Set(_WF1._vD1(),_Pu1);input._Tu1.Set(_XF1._vD1(),_Qu1);input._xA1._pP(_YF1._FB1);input._yA1._pP(_ZF1._FB1);input._zA1=1.0;var output=new _AA1();_0B1(output,input);var _dr1=output._N5;if(output.state==_AA1._DA1){alpha=_Ir1(_br1+(1.0-_br1)*_dr1,1.0);
}else {alpha=1.0;}c._TF1=alpha;c._xB1|=_EF1._1C1;}if(alpha<_VF1){_UF1=c;_VF1=alpha;}}if(_UF1==null||1.0-10.0*_Bp1<_VF1){this._sE1=true;break;}var _WF1=_UF1._lC1();var _XF1=_UF1._nC1();var _YF1=_WF1._CD1();var _ZF1=_XF1._CD1();_gC1._EE1._pP(_YF1._FB1);_gC1._FE1._pP(_ZF1._FB1);_YF1._er1(_VF1);_ZF1._er1(_VF1);_UF1._0f(this._aC1._NE1);_UF1._xB1&=~_EF1._1C1;++_UF1._SF1;if(_UF1._JF1()==false||_UF1._KF1()==false){_UF1._3G1(false);_YF1._FB1._pP(_gC1._EE1);_ZF1._FB1._pP(_gC1._FE1);_YF1._fD1();_ZF1._fD1();continue;
}_YF1._141(true);_ZF1._141(true);this._yE1.__e();this._yE1._IF1(_YF1);this._yE1._IF1(_ZF1);this._yE1._PF1(_UF1);_YF1._xB1|=_jB1._0C1;_ZF1._xB1|=_jB1._0C1;_UF1._xB1|=_EF1._0C1;var _4G1=[_YF1,_ZF1];for(var i=0;i<2;++i){var body=_4G1[i];if(body._dO==_jB1._SB1){for(var _WC1=body._HB1;_WC1;_WC1=_WC1._ok){if(this._yE1._nE1==this._yE1._5G1){break;}if(this._yE1._zF1==this._yE1._6G1){break;}var _jC1=_WC1._jC1;if(_jC1._xB1&_EF1._0C1){continue;}var other=_WC1.other;if(other._dO==_jB1._SB1&&body._1D1()==false&&other._1D1()==false){
continue;}var _LF1=_jC1._MF1._sD1;var _NF1=_jC1._OF1._sD1;if(_LF1||_NF1){continue;}_gC1._GE1._pP(other._FB1);if((other._xB1&_jB1._0C1)==0){other._er1(_VF1);}_jC1._0f(this._aC1._NE1);if(_jC1._JF1()==false){other._FB1._pP(_gC1._GE1);other._fD1();continue;}if(_jC1._KF1()==false){other._FB1._pP(_gC1._GE1);other._fD1();continue;}_jC1._xB1|=_EF1._0C1;this._yE1._PF1(_jC1);if(other._xB1&_jB1._0C1){continue;}other._xB1|=_jB1._0C1;if(other._dO!=_jB1._kB1){other._141(true);}this._yE1._IF1(other);}}}var _7G1=new _3E1();
_7G1._EC=(1.0-_VF1)*step._EC;_7G1._4E1=1.0/_7G1._EC;_7G1._5E1=1.0;_7G1._7E1=20;_7G1._6E1=step._6E1;_7G1._8E1=false;this._yE1._6F1(_7G1,_YF1._wB1,_ZF1._wB1);for(var i=0;i<this._yE1._nE1;++i){var body=this._yE1._RF1[i];body._xB1&=~_jB1._0C1;if(body._dO!=_jB1._SB1){continue;}body._VC1();for(var _WC1=body._HB1;_WC1;_WC1=_WC1._ok){_WC1._jC1._xB1&=~(_EF1._1C1|_EF1._0C1);}}this._aC1._4F1();if(this._rE1){this._sE1=false;break;}}},_bF1:function(_t41){var _0F1=_t41._8G1();var _1F1=_t41._9G1();var _ox1=_0F1._cr1();
var _qx1=_1F1._cr1();var _A5=_ox1._kg;var _C5=_qx1._kg;var _4u=_t41._aG1();var _6s1=_t41._bG1();var color=new _Tr1(0.5,0.8,0.8);switch(_t41._Xk1()){case _WE1._cG1:this._lE1._5s1(_4u,_6s1,color);break;case _WE1._dG1:{var _eG1=_t41;var _MA=_eG1._fG1();var _NA=_eG1._gG1();this._lE1._5s1(_MA,_4u,color);this._lE1._5s1(_NA,_6s1,color);this._lE1._5s1(_MA,_NA,color);}break;case _WE1._hG1:break;case _WE1._iG1:this._lE1._jG1(_t41._kG1(),5.0,color);default :this._lE1._5s1(_A5,_4u,color);this._lE1._5s1(_4u,_6s1,color);this._lE1._5s1(_C5,
_6s1,color);}},_9F1:function(_N31,_5r1,color){switch(_N31._Xk1()){case _rs1._Es1:{var _Ju1=_N31._vD1();var _3s1=_xr1(_5r1,_Ju1._Ks1);var _W51=_Ju1._ss1;var _5u=_vr1(_5r1.q,new _mq1(1.0,0.0));this._lE1._4s1(_3s1,_W51,_5u,color);}break;case _rs1._Fs1:{var _lt1=_N31._vD1();var _la=_xr1(_5r1,_lt1._Vs1);var _34=_xr1(_5r1,_lt1._Ws1);this._lE1._5s1(_la,_34,color);}break;case _rs1._Hs1:{var _Ku1=_N31._vD1();var _u7=_Ku1._8t1;var vertices=_Ku1._7t1;var _la=_xr1(_5r1,vertices[0]);for(var i=1;i<_u7;++i){var _34=_xr1(_5r1,vertices[i]);
this._lE1._5s1(_la,_34,color);_la=_34;}}break;case _rs1._Gs1:{var _25=_N31._vD1();var vertexCount=_25._8t1;_yp1(vertexCount<=_Ep1);var vertices=new Array(_Ep1);for(var i=0;i<vertexCount;++i){vertices[i]=_xr1(_5r1,_25._7t1[i]);}this._lE1._1s1(vertices,vertexCount,color);}break;default :break;}},_l61:function(){return this._AE1._l61();},_q61:function(_u7){this._AE1._q61(_u7);},_t61:function(_s61){this._AE1._t61(_s61);},_n61:function(){return this._AE1._n61();},_w61:function(_tB1){this._AE1._w61(_tB1);},_p61:function(){
return this._AE1._p61();},_v61:function(_u61){this._AE1._v61(_u61);},_o61:function(){return this._AE1._o61();},_r61:function(_W51){this._AE1._r61(_W51);},_m61:function(){return this._AE1._m61();},_U51:function(_5C1){_yp1(this._ul1()==false);if(this._ul1()){return 0;}var _kg=this._AE1._U51(_5C1);return _kg;},_lG1:function(index,_mG1){this._AE1._lG1(index,_mG1);},_nG1:function(shape,_5r1,_mG1){_yp1(this._ul1()==false);if(this._ul1()){return 0;}return this._AE1._nG1(shape,_5r1,_mG1);},_oG1:function(_5C1){_yp1(this._ul1()==false);
if(this._ul1()){return null;}var _j3=this._AE1._oG1(_5C1);return _j3;},_pG1:function(_qG1,_rG1){_yp1(this._ul1()==false);if(this._ul1()){return;}this._AE1._pG1(_qG1,_rG1);},_sG1:function(_E61,_mG1){_yp1(this._ul1()==false);if(this._ul1()){return;}this._AE1._sG1(_E61,_mG1);},_tG1:function(){return this._AE1._tG1();},_uG1:function(){return this._AE1._uG1();},_vG1:function(){return this._AE1._vG1();},_wG1:function(){return this._AE1._wG1();},_xG1:function(){return this._AE1._xG1();},_yG1:function(){return this._AE1._yG1();
},_zG1:function(buffer,_AG1){this._AE1._zG1(buffer,_AG1);},_BG1:function(buffer,_AG1){this._AE1._BG1(buffer,_AG1);},_CG1:function(buffer,_AG1){this._AE1._CG1(buffer,_AG1);},_DG1:function(buffer,_AG1){this._AE1._DG1(buffer,_AG1);},_EG1:function(buffer,_AG1){this._AE1._EG1(buffer,_AG1);},_FG1:function(){return this._AE1._GG1;},_HG1:function(){return this._AE1._zF1;},_IG1:function(){return this._AE1._JG1;},_KG1:function(){return this._AE1._LG1;},_MG1:function(){return this._AE1._MG1();},_NG1:function(){
return this._AE1._NG1();},_F61:function(){return this._AE1._F61();},_i61:function(){return this._AE1._i61();},_aF1:function(_OG1){var _PG1=_OG1._i61();if(_PG1){var _QG1=_OG1._m61();var _RG1=_OG1._uG1();if(_OG1._SG1.data){var _TG1=_OG1._wG1();this._lE1._g61(_RG1,_QG1,_TG1,_PG1);}else {this._lE1._g61(_RG1,_QG1,null,_PG1);}}}};_gC1._hC1=0x0001;_gC1._5F1=0x0002;_gC1._vE1=0x0004;function _UG1(_AG1){this._VG1=new Array(_AG1);this._Oy1=0;this._WG1=0;this._XG1=_AG1;}_UG1.prototype={_JY:function(_nk){if(this._WG1>=this._XG1)return;
this._VG1[this._WG1++]=_nk;},_LY:function(){_yp1(this._Oy1<this._WG1);this._Oy1++;},_YG1:function(){return this._Oy1>=this._WG1;},_ZG1:function(){return this._VG1[this._Oy1];}};function __G1(_0H1){this._1H1=new Array(_0H1);this._2H1=0;this._3H1=0;this._4H1=0;this._5H1=null;}__G1._6H1=function(){this._3s1=new _mq1();this._dh=0;};__G1._7H1=function(x,y,i,_j3){this._oO=x;this._qO=y;this._8H1=i;this._9H1=_j3;};__G1.prototype={_aH1:function(_3s1,_dh){var _j3=(this._1H1[this._2H1++]=new __G1._6H1());_j3._3s1._pP(_3s1);
_j3._dh=_dh;},_bH1:function(_W51){_yp1(this._5H1==null);var _cH1=1/_W51;var _XW=new _mq1(+_Ap1,+_Ap1);var _Bt1=new _mq1(-_Ap1,-_Ap1);for(var _qk=0;_qk<this._2H1;_qk++){var _j3=this._1H1[_qk];_XW._pP(_Jr1(_XW,_j3._3s1));_Bt1._pP(_Lr1(_Bt1,_j3._3s1));}this._3H1=1+((_cH1*(_Bt1.x-_XW.x))>>>0);this._4H1=1+((_cH1*(_Bt1.y-_XW.y))>>>0);this._5H1=new Array(this._3H1*this._4H1);for(var i=0;i<this._3H1*this._4H1;i++)this._5H1[i]=null;var _Uk=new _UG1(this._3H1*this._3H1);for(var _qk=0;_qk<this._2H1;_qk++){var _j3=this._1H1[_qk];
_j3._3s1._pP(_mq1.Multiply(_cH1,_mq1._tq1(_j3._3s1,_XW)));var x=_Kr1(0,_Ir1(Math.floor(_j3._3s1.x),this._3H1-1));var y=_Kr1(0,_Ir1(Math.floor(_j3._3s1.y),this._4H1-1));_Uk._JY(new __G1._7H1(x,y,x+y*this._3H1,_j3));}while(!_Uk._YG1()){var x=_Uk._ZG1()._oO;var y=_Uk._ZG1()._qO;var i=_Uk._ZG1()._8H1;var _j3=_Uk._ZG1()._9H1;_Uk._LY();if(!this._5H1[i]){this._5H1[i]=_j3;if(x>0){_Uk._JY(new __G1._7H1(x-1,y,i-1,_j3));}if(y>0){_Uk._JY(new __G1._7H1(x,y-1,i-this._3H1,_j3));}if(x<this._3H1-1){_Uk._JY(new __G1._7H1(x+1,
y,i+1,_j3));}if(y<this._4H1-1){_Uk._JY(new __G1._7H1(x,y+1,i+this._3H1,_j3));}}}var _dH1=this._3H1+this._4H1;for(var _eH1=0;_eH1<_dH1;_eH1++){for(var y=0;y<this._4H1;y++){for(var x=0;x<this._3H1-1;x++){var i=x+y*this._3H1;var _l3=this._5H1[i];var _k3=this._5H1[i+1];if(_l3!=_k3){_Uk._JY(new __G1._7H1(x,y,i,_k3));_Uk._JY(new __G1._7H1(x+1,y,i+1,_l3));}}}for(var y=0;y<this._4H1-1;y++){for(var x=0;x<this._3H1;x++){var i=x+y*this._3H1;var _l3=this._5H1[i];var _k3=this._5H1[i+this._3H1];if(_l3!=_k3){_Uk._JY(new __G1._7H1(x,
y,i,_k3));_Uk._JY(new __G1._7H1(x,y+1,i+this._3H1,_l3));}}}var _fH1=false;while(!_Uk._YG1()){var x=_Uk._ZG1()._oO;var y=_Uk._ZG1()._qO;var i=_Uk._ZG1()._8H1;var _qk=_Uk._ZG1()._9H1;_Uk._LY();var _l3=this._5H1[i];var _k3=_qk;if(_l3!=_k3){var ax=_l3._3s1.x-x;var ay=_l3._3s1.y-y;var _gH1=_k3._3s1.x-x;var _hH1=_k3._3s1.y-y;var _Ti1=ax*ax+ay*ay;var _Zg=_gH1*_gH1+_hH1*_hH1;if(_Ti1>_Zg){this._5H1[i]=_k3;if(x>0){_Uk._JY(new __G1._7H1(x-1,y,i-1,_k3));}if(y>0){_Uk._JY(new __G1._7H1(x,y-1,i-this._3H1,_k3));}if(x<this._3H1-1){
_Uk._JY(new __G1._7H1(x+1,y,i+1,_k3));}if(y<this._4H1-1){_Uk._JY(new __G1._7H1(x,y+1,i+this._3H1,_k3));}_fH1=true;}}}if(!_fH1){break;}}},_iH1:function(_jl1){for(var y=0;y<this._4H1-1;y++){for(var x=0;x<this._3H1-1;x++){var i=x+y*this._3H1;var _l3=this._5H1[i];var _k3=this._5H1[i+1];var c=this._5H1[i+this._3H1];var _Fl=this._5H1[i+1+this._3H1];if(_k3!=c){if(_l3!=_k3&&_l3!=c){_jl1(_l3._dh,_k3._dh,c._dh);}if(_Fl!=_k3&&_Fl!=c){_jl1(_k3._dh,_Fl._dh,c._dh);}}}}}};function _jH1(_i3,_j3,_k3,_l3){if(_i3 instanceof _Tr1){
this._i3=(255*_i3._i3);this._j3=(255*_i3._j3);this._k3=(255*_i3._k3);this._l3=255;}else if(typeof(_i3)!=='undefined'){this._i3=_i3;this._j3=_j3;this._k3=_k3;this._l3=_l3;}else this._i3=this._j3=this._k3=this._l3=0;}_jH1.prototype={_kH1:function(){return !this._i3&&!this._j3&&!this._k3&&!this._l3;},_lH1:function(){return new _Tr1(1.0/255*this._i3,1.0/255*this._j3,1.0/255*this._k3);},Set:function(_mH1,_nH1,_oH1,_pH1){if(_mH1 instanceof _Tr1){this._i3=(255*_mH1._i3);this._j3=(255*_mH1._j3);this._k3=(255*_mH1._k3);
this._l3=255;}else {this._i3=_mH1;this._j3=_nH1;this._k3=_oH1;this._l3=_pH1;}},_pP:function(_qH1){this._i3=_qH1._i3;this._j3=_qH1._j3;this._k3=_qH1._k3;this._l3=_qH1._l3;},_a2:function(){return new _jH1(this._i3,this._j3,this._k3,this._l3);}};_jH1._Sg=new _jH1();function _rH1(){this._Sn1=0;this.position=new _mq1();this._H91=new _mq1();this.color=new _jH1();this._du1=null;}_rH1._sH1=0;_rH1._tH1=1<<1;_rH1._uH1=1<<2;_rH1._vH1=1<<3;_rH1._wH1=1<<4;_rH1._xH1=1<<5;_rH1._yH1=1<<6;_rH1._zH1=1<<7;_rH1._AH1=1<<8;_rH1._BH1=1<<9;
function _CH1(){this._Sn1=0;this._DH1=0;this.position=new _mq1();this.angle=0;this._lB1=new _mq1();this._mB1=0;this.color=new _jH1();this._561=1;this.shape=null;this._EH1=true;this._du1=null;}function _FH1(){this._GH1=null;this._HH1=0;this._IH1=0;this._JH1=0;this._KH1=1.0;this._IB1=null;this._JB1=null;this._LH1=-1;this._TB1=0;this._MH1=0;this._NH1=new _mq1();this._KB1=new _mq1();this._LB1=0;this._OH1=new _4r1();this._OH1._Fq1();this._PH1=true;this._QH1=false;this._RH1=false;this._XB1=null;}_FH1.prototype={
_cD1:function(){return this._JB1;},_i61:function(){return this._IH1-this._HH1;},_SH1:function(){return this._HH1;},_C61:function(){return this._JH1;},_B61:function(_Sn1){this._JH1=_Sn1;},_DC1:function(){this._TH1();return this._TB1;},_EC1:function(){this._TH1();return this._MH1;},_Tw1:function(){this._TH1();return this._NH1;},_uC1:function(){this._TH1();return this._KB1;},_wC1:function(){this._TH1();return this._LB1;},_cr1:function(){return this._OH1;},_h31:function(){return this._OH1._kg;},_1r1:function(){
return this._OH1.q._1r1();},_mu1:function(){return this._XB1;},_dD1:function(data){this._XB1=data;},_TH1:function(){if(this._LH1!=this._GH1._LH1){var _z5=this._GH1._UH1();this._TB1=0;this._NH1._nq1();this._KB1._nq1();for(var i=this._HH1;i<this._IH1;i++){this._TB1+=_z5;this._NH1._Ke(_mq1.Multiply(_z5,this._GH1._VH1.data[i]));this._KB1._Ke(_mq1.Multiply(_z5,this._GH1._WH1.data[i]));}if(this._TB1>0){this._NH1.Multiply(1/this._TB1);this._KB1.Multiply(1/this._TB1);}this._MH1=0;this._LB1=0;for(var i=this._HH1;
i<this._IH1;i++){var _kg=_mq1._tq1(this._GH1._VH1.data[i],this._NH1);var _14=_mq1._tq1(this._GH1._WH1.data[i],this._KB1);this._MH1+=_z5*_gr1(_kg,_kg);this._LB1+=_z5*_hr1(_kg,_14);}if(this._MH1>0){this._LB1*=1/this._MH1;}this._LH1=this._GH1._LH1;}}};_FH1._XH1=1<<0;_FH1._YH1=1<<1;function _ZH1(){this._Pu1=this._Qu1=0;this._Sn1=0;this.__H1=0.0;this._Ds1=new _mq1();};function _0I1(){this.index=0;this.body=null;this.__H1=0.0;this._Ds1=new _mq1();this._ps1=0.0;};function _BE1(){this._LH1=0;this._1I1=0;this._2I1=0;
this._eC1=1;this._3I1=1;this._OB1=1;this._4I1=1;this._5I1=1;this._6I1=1;this._8t1=0;this._7I1=0;this._8I1=0;this._9I1=new _BE1._aI1();this._VH1=new _BE1._aI1();this._WH1=new _BE1._aI1();this._bI1=null;this._cI1=null;this._dI1=null;this._SG1=new _BE1._aI1();this._eI1=null;this._fI1=new _BE1._aI1();this._7u1=0;this._gI1=0;this._hI1=null;this._zF1=0;this._6G1=0;this._GG1=null;this._LG1=0;this._iI1=0;this._JG1=null;this._8u1=0;this._jI1=0;this._9u1=null;this._kI1=0;this._lI1=0;this._mI1=null;this._nI1=0;
this._oI1=null;this._pI1=0.05;this._qI1=1.0;this._rI1=0.25;this._sI1=0.25;this._tI1=0.25;this._uI1=0.1;this._vI1=0.2;this._wI1=0.5;this._xI1=0.5;this._yI1=0.5;this._DB1=null;}_BE1._aI1=function(){this.data=null;this._zI1=0;};_BE1.Proxy=function(){this.index=0;this._dh=0;};_BE1.Proxy._AI1=function(_l3,_k3){return _l3._dh<_k3._dh;};_BE1.Proxy._BI1=function(_l3,_k3){return _l3<_k3._dh;};_BE1.Proxy._CI1=function(_l3,_k3){return _l3._dh<_k3;};_BE1._DI1=function(){this._Pu1=this._Qu1=0;this._Sn1=0;this._561=0.0;
this._Cs1=0.0;};_BE1._EI1=function(){this._Pu1=this._Qu1=this._FI1=0;this._Sn1=0;this._561=0.0;this._GI1=new _mq1(),this._HI1=new _mq1(),this._qH1=new _mq1();this._II1=0.0,this._JI1=0.0,this._KI1=0.0,this._rh=0.0;};_BE1._LI1=_rH1._vH1;_BE1._MI1=_rH1._wH1;_BE1._NI1=_rH1._yH1;_BE1._OI1=12;_BE1._PI1=12;_BE1._QI1=8*4;_BE1._RI1=1<<(_BE1._PI1-1);_BE1._SI1=_BE1._QI1-_BE1._PI1;_BE1._TI1=_BE1._QI1-_BE1._PI1-_BE1._OI1;_BE1._UI1=1<<_BE1._TI1;_BE1._VI1=_BE1._UI1*(1<<(_BE1._OI1-1));_BE1._WI1=(1<<_BE1._OI1)-1;_BE1._XI1=(1<<_BE1._PI1)-1;
function _YI1(x,y){return((y+_BE1._RI1)<<_BE1._SI1)+(_BE1._UI1*x+_BE1._VI1)>>>0;}function _ZI1(_dh,x,y){return _dh+(y<<_BE1._SI1)+(x<<_BE1._TI1);}function __I1(_AG1,_0J1){return _0J1&&_AG1>_0J1?_0J1:_AG1;}function _1J1(_jC1){return(_jC1._Sn1&_rH1._tH1)==_rH1._tH1;}_BE1.prototype={_2J1:function(_3J1,_4J1,_5J1){_yp1(_5J1>_4J1);var _6J1=(_3J1)?_3J1.slice():[];_6J1.length=_5J1;return _6J1;},_7J1:function(buffer,_zI1,_4J1,_5J1,_8J1){_yp1(_5J1>_4J1);_yp1(!_zI1||_5J1<=_zI1);if((!_8J1||buffer)&&!_zI1){buffer=this._2J1(buffer,
_4J1,_5J1);}return buffer;},_9J1:function(buffer,_4J1,_5J1,_8J1){_yp1(_5J1>_4J1);return this._7J1(buffer.data,buffer._zI1,_4J1,_5J1,_8J1);},_aJ1:function(buffer){if(!buffer){buffer=new Array(this._7I1);for(var i=0;i<this._7I1;i++){buffer[i]=0;}}return buffer;},_U51:function(_5C1){if(this._8t1>=this._7I1){var _AG1=this._8t1?2*this._8t1:_3q1;_AG1=__I1(_AG1,this._8I1);_AG1=__I1(_AG1,this._9I1._zI1);_AG1=__I1(_AG1,this._VH1._zI1);_AG1=__I1(_AG1,this._WH1._zI1);_AG1=__I1(_AG1,this._SG1._zI1);_AG1=__I1(_AG1,
this._fI1._zI1);if(this._7I1<_AG1){this._9I1.data=this._9J1(this._9I1,this._7I1,_AG1,false);this._VH1.data=this._9J1(this._VH1,this._7I1,_AG1,false);this._WH1.data=this._9J1(this._WH1,this._7I1,_AG1,false);this._bI1=this._7J1(this._bI1,0,this._7I1,_AG1,false);this._cI1=this._7J1(this._cI1,0,this._7I1,_AG1,true);this._dI1=this._7J1(this._dI1,0,this._7I1,_AG1,true);this._SG1.data=this._9J1(this._SG1,this._7I1,_AG1,true);this._eI1=this._7J1(this._eI1,0,this._7I1,_AG1,false);this._fI1.data=this._9J1(this._fI1,
this._7I1,_AG1,true);this._7I1=_AG1;}}if(this._8t1>=this._7I1){return _Yp1;}var index=this._8t1++;this._9I1.data[index]=_5C1._Sn1;this._VH1.data[index]=_5C1.position._a2();this._WH1.data[index]=_5C1._H91._a2();this._eI1[index]=null;if(this._dI1){this._dI1[index]=0;}if(this._SG1.data||!_5C1.color._kH1()){this._SG1.data=this._aJ1(this._SG1.data);this._SG1.data[index]=_5C1.color._a2();}if(this._fI1.data||_5C1._du1){this._fI1.data=this._aJ1(this._fI1.data);this._fI1.data[index]=_5C1._du1;}if(this._7u1>=this._gI1){
var _4J1=this._gI1;var _5J1=this._7u1?2*this._7u1:_3q1;this._hI1=this._2J1(this._hI1,_4J1,_5J1);this._gI1=_5J1;}this._hI1[this._7u1]=new _BE1.Proxy();this._hI1[this._7u1++].index=index;return index;},_lG1:function(index,_mG1){var _Sn1=_rH1._tH1;if(_mG1){_Sn1|=_rH1._BH1;}this._9I1.data[index]|=_Sn1;},_nG1:function(shape,_5r1,_mG1){function _bJ1(_OG1,shape,_5r1,_mG1){this._GH1=_OG1;this._qD1=shape;this._Ay1=_5r1;this._cJ1=_mG1;this._UE1=0;}_bJ1.prototype={_0E1:function(_N31){return false;},_1E1:function(index){
_yp1(index>=0&&index<this._GH1._8t1);if(this._qD1._us1(this._Ay1,this._GH1._VH1.data[index])){this._GH1._lG1(index,this._cJ1);this._UE1++;}return true;},_dJ1:function(){return this._UE1;}};var _jl1=new _bJ1(this,shape,_5r1,_mG1);var _ys1=new _Rw1();shape._xs1(_ys1,_5r1,0);this._DB1._jF1(_jl1,_ys1);return _jl1._dJ1();},_sG1:function(_E61,_mG1){for(var i=_E61._HH1;i<_E61._IH1;i++){this._lG1(i,_mG1);}},_oG1:function(_eJ1){var _K9=this._fJ1();var identity=new _4r1();identity._Fq1();var transform=identity._a2();
var _gJ1=this._8t1;if(_eJ1.shape){var _hJ1=new _rH1();_hJ1._Sn1=_eJ1._Sn1;_hJ1.color=_eJ1.color;_hJ1._du1=_eJ1._du1;var shape=_eJ1.shape;transform.Set(_eJ1.position,_eJ1.angle);var _ys1=new _Rw1();var _ED1=shape._ts1();for(var _ws1=0;_ws1<_ED1;_ws1++){if(_ws1==0){shape._xs1(_ys1,identity,_ws1);}else {var _iJ1=new _Rw1();shape._xs1(_iJ1,identity,_ws1);_ys1._Ww1(_iJ1);}}for(var y=Math.floor(_ys1._Os1.y/_K9)*_K9;y<_ys1._Ps1.y;y+=_K9){for(var x=Math.floor(_ys1._Os1.x/_K9)*_K9;x<_ys1._Ps1.x;x+=_K9){var _kg=new _mq1(x,
y);if(shape._us1(identity,_kg)){_kg=_xr1(transform,_kg);_hJ1.position._pP(_kg);_hJ1._H91._pP(_mq1._Ke(_eJ1._lB1,_jr1(_eJ1._mB1,_mq1._tq1(_kg,_eJ1.position))));this._U51(_hJ1);}}}}var lastIndex=this._8t1;var _E61=new _FH1();_E61._GH1=this;_E61._HH1=_gJ1;_E61._IH1=lastIndex;_E61._JH1=_eJ1._DH1;_E61._KH1=_eJ1._561;_E61._XB1=_eJ1._du1;_E61._OH1=transform;_E61._PH1=_eJ1._EH1;_E61._IB1=null;_E61._JB1=this._oI1;if(this._oI1){this._oI1._IB1=_E61;}this._oI1=_E61;++this._nI1;for(var i=_gJ1;i<lastIndex;i++){this._eI1[i]=_E61;
}this._jJ1(true);if(_eJ1._Sn1&_BE1._LI1){for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;if(_l3>_k3){var _kJ1=_l3;_l3=_k3;_k3=_kJ1;}if(_gJ1<=_l3&&_k3<lastIndex){if(this._8u1>=this._jI1){var _4J1=this._jI1;var _5J1=this._8u1?2*this._8u1:_3q1;this._9u1=this._2J1(this._9u1,_4J1,_5J1);this._jI1=_5J1;}var _zu1=this._9u1[this._8u1]=new _BE1._DI1();_zu1._Pu1=_l3;_zu1._Qu1=_k3;_zu1._Sn1=_jC1._Sn1;_zu1._561=_eJ1._561;_zu1._Cs1=_mr1(this._VH1.data[_l3],this._VH1.data[_k3]);
this._8u1++;}}}if(_eJ1._Sn1&_BE1._MI1){var _lJ1=new __G1(lastIndex-_gJ1);for(var i=_gJ1;i<lastIndex;i++){_lJ1._aH1(this._VH1.data[i],i);}_lJ1._bH1(_K9/2);var _jl1=function _mJ1(_l3,_k3,c){var _GI1=this._VH1.data[_l3];var _HI1=this._VH1.data[_k3];var _qH1=this._VH1.data[c];var _nJ1=_mq1._tq1(_GI1,_HI1);var _oJ1=_mq1._tq1(_HI1,_qH1);var _pJ1=_mq1._tq1(_qH1,_GI1);var _qJ1=_2q1*this._6I1;if(_gr1(_nJ1,_nJ1)<_qJ1&&_gr1(_oJ1,_oJ1)<_qJ1&&_gr1(_pJ1,_pJ1)<_qJ1){if(this._kI1>=this._lI1){var _4J1=this._lI1;var _5J1=this._kI1?2*this._kI1:_3q1;
this._mI1=this._2J1(this._mI1,_4J1,_5J1);this._lI1=_5J1;}var _rJ1=this._mI1[this._kI1];_rJ1._Pu1=_l3;_rJ1._Qu1=_k3;_rJ1._FI1=c;_rJ1._Sn1=this._9I1.data[_l3]|this._9I1.data[_k3]|this._9I1.data[c];_rJ1._561=_eJ1._561;var _sJ1=_mq1.Multiply(1.0/3.0,_mq1._Ke(_GI1,_mq1._Ke(_HI1,_qH1)));_rJ1._GI1=_mq1._tq1(_GI1,_sJ1);_rJ1._HI1=_mq1._tq1(_HI1,_sJ1);_rJ1._qH1=_mq1._tq1(_qH1,_sJ1);_rJ1._II1=-_gr1(_pJ1,_nJ1);_rJ1._JI1=-_gr1(_nJ1,_oJ1);_rJ1._KI1=-_gr1(_oJ1,_pJ1);_rJ1._rh=_hr1(_GI1,_HI1)+_hr1(_HI1,_qH1)+_hr1(_qH1,
_GI1);this._kI1++;}};_lJ1._iH1(_jl1);}if(_eJ1._DH1&_rH1._XH1){this._tJ1(_E61);}return _E61;},_pG1:function(_qG1,_rG1){_yp1(_qG1!=_rG1);this._uJ1(_rG1._HH1,_rG1._IH1,this._8t1);_yp1(_rG1._IH1==this._8t1);this._uJ1(_qG1._HH1,_qG1._IH1,_rG1._HH1);this._yp1(_qG1._IH1==_rG1._HH1);var _vJ1=0;for(var i=_qG1._HH1;i<_rG1._IH1;i++){_vJ1|=this._9I1.data[i];}this._jJ1(true);if(_vJ1&_BE1._LI1){for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;if(_l3>_k3){var _kJ1=_l3;_l3=_k3;
_k3=_kJ1;}if(_qG1._HH1<=_l3&&_l3<_qG1._IH1&&_rG1._HH1<=_k3&&_k3<_rG1._IH1){if(this._8u1>=this._jI1){var _4J1=this._jI1;var _5J1=this._8u1?2*this._8u1:_3q1;this._9u1=this._2J1(this._9u1,_4J1,_5J1);this._jI1=_5J1;}var _zu1=this._9u1[this._8u1]=new _BE1._DI1();_zu1._Pu1=_l3;_zu1._Qu1=_k3;_zu1._Sn1=_jC1._Sn1;_zu1._561=_Ir1(_qG1._KH1,_rG1._KH1);_zu1._Cs1=_mr1(this._VH1.data[_l3],this._VH1.data[_k3]);this._8u1++;}}}if(_vJ1&_BE1._MI1){}for(var i=_rG1._HH1;i<_rG1._IH1;i++){this._eI1[i]=_qG1;}var _DH1=_qG1._JH1|_rG1._JH1;
_qG1._JH1=_DH1;_qG1._IH1=_rG1._IH1;_rG1._HH1=_rG1._IH1;this._wJ1(_rG1);if(_DH1&_rH1._XH1){this._tJ1(_qG1);}},_wJ1:function(_E61){_yp1(this._nI1>0);_yp1(_E61);if(this._DB1._kE1){this._DB1._kE1._xJ1(_E61);}for(var i=_E61._HH1;i<_E61._IH1;i++){this._eI1[i]=null;}if(_E61._IB1){_E61._IB1._JB1=_E61._JB1;}if(_E61._JB1){_E61._JB1._IB1=_E61._IB1;}if(_E61==this._oI1){this._oI1=_E61._JB1;}--this._nI1;},_tJ1:function(_E61){for(var i=_E61._HH1;i<_E61._IH1;i++){this._bI1[i]=0;}for(var _qk=0;_qk<this._zF1;_qk++){
var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;if(_l3>=_E61._HH1&&_l3<_E61._IH1&&_k3>=_E61._HH1&&_k3<_E61._IH1){var w=_jC1.__H1;this._bI1[_l3]+=w;this._bI1[_k3]+=w;}}this._dI1=this._aJ1(this._dI1);for(var i=_E61._HH1;i<_E61._IH1;i++){var w=this._bI1[i];this._dI1[i]=w<0.8?0:_Ap1;}var _yJ1=_E61._i61();for(var _N5=0;_N5<_yJ1;_N5++){var _fH1=false;for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;if(_l3>=_E61._HH1&&_l3<_E61._IH1&&_k3>=_E61._HH1&&_k3<_E61._IH1){
var _i3=1-_jC1.__H1;var _zJ1=this._dI1[_l3];var _AJ1=this._dI1[_k3];var _BJ1=_AJ1+_i3;var _CJ1=_zJ1+_i3;if(_zJ1>_BJ1){_zJ1=_BJ1;_fH1=true;}if(_AJ1>_CJ1){_AJ1=_CJ1;_fH1=true;}this._dI1[_l3]=_zJ1;this._dI1[_k3]=_AJ1;}}if(!_fH1){break;}}for(var i=_E61._HH1;i<_E61._IH1;i++){var _kg=this._dI1[i];if(_kg<_Ap1){_kg*=this._4I1;}else {_kg=0;}this._dI1[i]=_kg;}},_PF1:function(_l3,_k3){var _Fl=_mq1._tq1(this._VH1.data[_k3],this._VH1.data[_l3]);var _4D=_gr1(_Fl,_Fl);if(_4D<this._6I1){if(this._zF1>=this._6G1){var _4J1=this._6G1;
var _5J1=this._zF1?2*this._zF1:_3q1;this._GG1=this._2J1(this._GG1,_4J1,_5J1);this._6G1=_5J1;}var _DJ1=_lq1(_4D);var _jC1=this._GG1[this._zF1]=new _ZH1();_jC1._Pu1=_l3;_jC1._Qu1=_k3;_jC1._Sn1=this._9I1.data[_l3]|this._9I1.data[_k3];_jC1.__H1=1-_4D*_DJ1*this._5I1;_jC1._Ds1._pP(_mq1.Multiply(_DJ1,_Fl));this._zF1++;}},_jJ1:function(_EJ1){var _FJ1=0;var _GJ1=this._7u1;for(var _HJ1=_FJ1;_HJ1<_GJ1;++_HJ1){var _FD1=this._hI1[_HJ1];var i=_FD1.index;var _kg=this._VH1.data[i];_FD1._dh=_YI1(this._5I1*_kg.x,this._5I1*_kg.y);
}this._hI1._6p1(_FJ1,_GJ1,function(_l3,_k3){return _BE1.Proxy._AI1(_l3,_k3);});this._zF1=0;for(var _l3=_FJ1,c=_FJ1;_l3<_GJ1;_l3++){var _IJ1=_ZI1(this._hI1[_l3]._dh,1,0);for(var _k3=_l3+1;_k3<_GJ1;_k3++){if(_IJ1<this._hI1[_k3]._dh)break;this._PF1(this._hI1[_l3].index,this._hI1[_k3].index);}var _JJ1=_ZI1(this._hI1[_l3]._dh,-1,1);for(;c<_GJ1;c++){if(_JJ1<=this._hI1[c]._dh)break;}var _KJ1=_ZI1(this._hI1[_l3]._dh,1,1);for(var _k3=c;_k3<_GJ1;_k3++){if(_KJ1<this._hI1[_k3]._dh)break;this._PF1(this._hI1[_l3].index,
this._hI1[_k3].index);}}if(_EJ1){this._zF1=this._GG1._9p1(_1J1,this._zF1);}},_LJ1:function(){var _ys1=new _Rw1();_ys1._Os1.x=+_Ap1;_ys1._Os1.y=+_Ap1;_ys1._Ps1.x=-_Ap1;_ys1._Ps1.y=-_Ap1;for(var i=0;i<this._8t1;i++){var _kg=this._VH1.data[i];_ys1._Os1._pP(_Jr1(_ys1._Os1,_kg));_ys1._Ps1._pP(_Lr1(_ys1._Ps1,_kg));}_ys1._Os1.x-=this._4I1;_ys1._Os1.y-=this._4I1;_ys1._Ps1.x+=this._4I1;_ys1._Ps1.y+=this._4I1;this._LG1=0;function _MJ1(_OG1){this._GH1=_OG1;}_MJ1.prototype={_0E1:function(_N31){if(_N31._xD1()){return true;
}var shape=_N31._vD1();var _k3=_N31._CD1();var _hF1=_k3._rC1();var _NJ1=_k3._DC1();var _OJ1=_k3._EC1()-_NJ1*_k3._sC1()._uq1();var _PJ1=_NJ1>0?1/_NJ1:0;var _QJ1=_OJ1>0?1/_OJ1:0;var _ED1=shape._ts1();for(var _ws1=0;_ws1<_ED1;_ws1++){var _ys1=_N31._DD1(_ws1)._a2();_ys1._Os1.x-=this._GH1._4I1;_ys1._Os1.y-=this._GH1._4I1;_ys1._Ps1.x+=this._GH1._4I1;_ys1._Ps1.y+=this._GH1._4I1;var _FJ1=0;var _GJ1=this._GH1._7u1;var _RJ1=this._GH1._hI1._bp1(_FJ1,_GJ1,_YI1(this._GH1._5I1*_ys1._Os1.x,this._GH1._5I1*_ys1._Os1.y),function(_l3,
_k3){return _BE1.Proxy._CI1(_l3,_k3);});var _SJ1=this._GH1._hI1._dp1(_RJ1,_GJ1,_YI1(this._GH1._5I1*_ys1._Ps1.x,this._GH1._5I1*_ys1._Ps1.y),function(_l3,_k3){return _BE1.Proxy._BI1(_l3,_k3);});for(var _FD1=_RJ1;_FD1!=_SJ1;++_FD1){var _TJ1=this._GH1._hI1[_FD1];var _l3=_TJ1.index;var _UJ1=this._GH1._VH1.data[_l3];if(_ys1._Os1.x<=_UJ1.x&&_UJ1.x<=_ys1._Ps1.x&&_ys1._Os1.y<=_UJ1.y&&_UJ1.y<=_ys1._Ps1.y){var _Fl=[0];var _x5=new _mq1();_N31._Bs1(_UJ1,_Fl,_x5,_ws1);if(_Fl[0]<this._GH1._4I1){var _VJ1=this._GH1._9I1.data[_l3]&_rH1._uH1?0:this._GH1._WJ1();
var _XJ1=_mq1._tq1(_UJ1,_hF1);var _YJ1=_hr1(_XJ1,_x5);if(this._GH1._LG1>=this._GH1._iI1){var _4J1=this._GH1._iI1;var _5J1=this._GH1._LG1?2*this._GH1._LG1:_3q1;this._GH1._JG1=this._GH1._2J1(this._GH1._JG1,_4J1,_5J1);this._GH1._iI1=_5J1;}var _jC1=this._GH1._JG1[this._GH1._LG1]=new _0I1();_jC1.index=_l3;_jC1.body=_k3;_jC1.__H1=1-_Fl[0]*this._GH1._5I1;_jC1._Ds1._pP(_x5._qq1());_jC1._ps1=1/(_VJ1+_PJ1+_QJ1*_YJ1*_YJ1);this._GH1._LG1++;}}}}return true;},_1E1:function(i){return false;}};var _jl1=new _MJ1(this);this._DB1._jF1(_jl1,
_ys1);},_Jq1:function(step){++this._LH1;if(this._8t1==0){return;}this._1I1=0;for(var i=0;i<this._8t1;i++){this._1I1|=this._9I1.data[i];}if(this._1I1&_rH1._tH1){this._ZJ1();}this._2I1=0;for(var _E61=this._oI1;_E61;_E61=_E61._cD1()){this._2I1|=_E61._JH1;}var gravity=_mq1.Multiply(step._EC*this._OB1,this._DB1._AF1());var __J1=this._0K1(step);for(var i=0;i<this._8t1;i++){var _14=this._WH1.data[i];_14._Ke(gravity);var _34=_gr1(_14,_14);if(_34>__J1){_14.Multiply(_jq1(__J1/_34));}}this._1K1(step);if(this._2I1&_FH1._YH1){
this._2K1(step);}if(this._1I1&_rH1._uH1){this._3K1(step);}for(var i=0;i<this._8t1;i++){this._VH1.data[i]._Ke(_mq1.Multiply(step._EC,this._WH1.data[i]));}this._LJ1();this._jJ1(false);if(this._1I1&_rH1._xH1){this._4K1(step);}if(this._1I1&_rH1._yH1){this._5K1(step);}if(this._1I1&_rH1._zH1){this._6K1(step);}if(this._1I1&_rH1._wH1){this._7K1(step);}if(this._1I1&_rH1._vH1){this._8K1(step);}if(this._2I1&_FH1._XH1){this._9K1(step);}if(this._1I1&_rH1._AH1){this._aK1(step);}this._bK1(step);this._cK1(step);
},_1K1:function(step){var _ys1=new _Rw1();_ys1._Os1.x=+_Ap1;_ys1._Os1.y=+_Ap1;_ys1._Ps1.x=-_Ap1;_ys1._Ps1.y=-_Ap1;for(var i=0;i<this._8t1;i++){var _14=this._WH1.data[i];var _4u=this._VH1.data[i];var _6s1=_mq1._Ke(_4u,_mq1.Multiply(step._EC,_14));_ys1._Os1=_Jr1(_ys1._Os1,_Jr1(_4u,_6s1));_ys1._Ps1=_Lr1(_ys1._Ps1,_Lr1(_4u,_6s1));}function _dK1(_OG1,step){this._GH1=_OG1;this._eK1=step;}_dK1.prototype={_0E1:function(_N31){if(_N31._xD1()){return true;}var shape=_N31._vD1();var body=_N31._CD1();var _FJ1=0;var _GJ1=this._GH1._7u1;
var _ED1=shape._ts1();for(var _ws1=0;_ws1<_ED1;_ws1++){var _ys1=_N31._DD1(_ws1)._a2();_ys1._Os1.x-=this._GH1._4I1;_ys1._Os1.y-=this._GH1._4I1;_ys1._Ps1.x+=this._GH1._4I1;_ys1._Ps1.y+=this._GH1._4I1;var _RJ1=this._GH1._hI1._bp1(_FJ1,_GJ1,_YI1(this._GH1._5I1*_ys1._Os1.x,this._GH1._5I1*_ys1._Os1.y),function(_l3,_k3){return _BE1.Proxy._CI1(_l3,_k3);});var _SJ1=this._GH1._hI1._dp1(_RJ1,_GJ1,_YI1(this._GH1._5I1*_ys1._Ps1.x,this._GH1._5I1*_ys1._Ps1.y),function(_l3,_k3){return _BE1.Proxy._BI1(_l3,_k3);});for(var _FD1=_RJ1;
_FD1!=_SJ1;++_FD1){var _TJ1=this._GH1._hI1[_FD1];var _l3=_TJ1.index;var _UJ1=this._GH1._VH1.data[_l3];if(_ys1._Os1.x<=_UJ1.x&&_UJ1.x<=_ys1._Ps1.x&&_ys1._Os1.y<=_UJ1.y&&_UJ1.y<=_ys1._Ps1.y){var _fK1=this._GH1._WH1.data[_l3];var output=new _Qw1();var input=new _Pw1();input._4u=_xr1(body._Ay1,_zr1(body._EB1,_UJ1));input._6s1=_mq1._Ke(_UJ1,_mq1.Multiply(this._eK1._EC,_fK1));input._Ms1=1;if(_N31._vs1(output,input,_ws1)){var _kg=_mq1._Ke(_mq1._Ke(_mq1.Multiply((1-output._Ns1),input._4u),_mq1.Multiply(output._Ns1,
input._6s1)),_mq1.Multiply(_Hp1,output._Ds1));var _14=_mq1.Multiply(this._eK1._4E1,_mq1._tq1(_kg,_UJ1));this._GH1._WH1.data[_l3]._pP(_14);var _IC=_mq1.Multiply(this._GH1._UH1(),_mq1._tq1(_fK1,_14));_IC=_mq1.Multiply(_gr1(_IC,output._Ds1),output._Ds1);body._BC1(_IC,_kg,true);}}}}return true;},_1E1:function(i){return false;}};var _jl1=new _dK1(this,step);this._DB1._jF1(_jl1,_ys1);},_bK1:function(step){for(var i=0;i<this._8t1;i++){this._bI1[i]=0;}for(var _qk=0;_qk<this._LG1;_qk++){var _jC1=this._JG1[_qk];var _l3=_jC1.index;
var w=_jC1.__H1;this._bI1[_l3]+=w;}for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;var w=_jC1.__H1;this._bI1[_l3]+=w;this._bI1[_k3]+=w;}if(this._1I1&_BE1._NI1){for(var i=0;i<this._8t1;i++){if(this._9I1.data[i]&_BE1._NI1){this._bI1[i]=0;}}}var _gK1=this._pI1*this._hK1(step);for(var i=0;i<this._8t1;i++){var w=this._bI1[i];var h=_gK1*_Kr1(0.0,_Ir1(w,_0q1)-__p1);this._bI1[i]=h;}var _iK1=step._EC/(this._eC1*this._4I1);for(var _qk=0;_qk<this._LG1;_qk++){var _jC1=this._JG1[_qk];
var _l3=_jC1.index;var _k3=_jC1.body;var w=_jC1.__H1;var _z5=_jC1._ps1;var _x5=_jC1._Ds1;var _kg=this._VH1.data[_l3];var h=this._bI1[_l3]+_gK1*w;var _IC=_mq1.Multiply(_iK1*w*_z5*h,_x5);this._WH1.data[_l3]._tq1(_mq1.Multiply(this._WJ1(),_IC));_k3._BC1(_IC,_kg,true);}for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;var w=_jC1.__H1;var _x5=_jC1._Ds1;var h=this._bI1[_l3]+this._bI1[_k3];var _IC=_mq1.Multiply(_iK1*w*h,_x5);this._WH1.data[_l3]._tq1(_IC);this._WH1.data[_k3]._Ke(_IC);
}},_cK1:function(step){var _u61=this._qI1;for(var _qk=0;_qk<this._LG1;_qk++){var _jC1=this._JG1[_qk];var _l3=_jC1.index;var _k3=_jC1.body;var w=_jC1.__H1;var _z5=_jC1._ps1;var _x5=_jC1._Ds1;var _kg=this._VH1.data[_l3];var _14=_mq1._tq1(_k3._OC1(_kg),this._WH1.data[_l3]);var _jK1=_gr1(_14,_x5);if(_jK1<0){var _IC=_mq1.Multiply(_u61*w*_z5*_jK1,_x5);this._WH1.data[_l3]._Ke(_mq1.Multiply(this._WJ1(),_IC));_k3._BC1(_IC._qq1(),_kg,true);}}for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;
var w=_jC1.__H1;var _x5=_jC1._Ds1;var _14=_mq1._tq1(this._WH1.data[_k3],this._WH1.data[_l3]);var _jK1=_gr1(_14,_x5);if(_jK1<0){var _IC=_mq1.Multiply(_u61*w*_jK1,_x5);this._WH1.data[_l3]._Ke(_IC);this._WH1.data[_k3]._tq1(_IC);}}},_3K1:function(step){for(var i=0;i<this._8t1;i++){if(this._9I1.data[i]&_rH1._uH1){this._WH1.data[i]._nq1();}}},_2K1:function(step){for(var _E61=this._oI1;_E61;_E61=_E61._cD1()){if(_E61._JH1&_FH1._YH1){_E61._TH1();var rotation=new _0r1(step._EC*_E61._LB1);var transform=new _4r1(_mq1._Ke(_E61._NH1,
_mq1._tq1(_mq1.Multiply(step._EC,_E61._KB1),_vr1(rotation,_E61._NH1))),rotation);_E61._OH1=_Ar1(transform,_E61._OH1);var _kK1=new _4r1();_kK1._kg.x=step._4E1*transform._kg.x;_kK1._kg.y=step._4E1*transform._kg.y;_kK1.q._rh=step._4E1*transform.q._rh;_kK1.q.c=step._4E1*(transform.q.c-1);for(var i=_E61._HH1;i<_E61._IH1;i++){this._WH1.data[i]._pP(_xr1(_kK1,this._VH1.data[i]));}}}},_7K1:function(step){var _lK1=step._4E1*this._rI1;for(var _qk=0;_qk<this._kI1;_qk++){var _rJ1=this._mI1[_qk];if(_rJ1._Sn1&_rH1._wH1){
var _l3=_rJ1._Pu1;var _k3=_rJ1._Qu1;var c=_rJ1._FI1;var _kJ1=_rJ1._GI1;var _mK1=_rJ1._HI1;var _nK1=_rJ1._qH1;var _GI1=this._VH1.data[_l3];var _HI1=this._VH1.data[_k3];var _qH1=this._VH1.data[c];var _kg=_mq1.Multiply(1/3,_mq1._Ke(_GI1,_mq1._Ke(_HI1,_qH1)));var _i3=new _0r1();_i3._rh=_hr1(_kJ1,_GI1)+_hr1(_mK1,_HI1)+_hr1(_nK1,_qH1);_i3.c=_gr1(_kJ1,_GI1)+_gr1(_mK1,_HI1)+_gr1(_nK1,_qH1);var _1H=_i3._rh*_i3._rh+_i3.c*_i3.c;var _oK1=_lq1(_1H);_i3._rh*=_oK1;_i3.c*=_oK1;var _561=_lK1*_rJ1._561;this._WH1.data[_l3]._Ke(_mq1.Multiply(_561,
(_mq1._tq1(_mq1.Multiply(_kJ1,_i3),(_mq1._tq1(_GI1,_kg))))));this._WH1.data[_k3]._Ke(_mq1.Multiply(_561,(_mq1._tq1(_mq1.Multiply(_mK1,_i3),(_mq1._tq1(_HI1,_kg))))));this._WH1.data[c]._Ke(_mq1.Multiply(_561,(_mq1._tq1(_mq1.Multiply(_nK1,_i3),(_mq1._tq1(_qH1,_kg))))));}}},_8K1:function(step){var _pK1=step._4E1*this._sI1;for(var _qk=0;_qk<this._8u1;_qk++){var _zu1=this._9u1[_qk];if(_zu1._Sn1&_rH1._vH1){var _l3=_zu1._Pu1;var _k3=_zu1._Qu1;var _Fl=_mq1._tq1(this._VH1.data[_k3],this._VH1.data[_l3]);var _qK1=_zu1._Cs1;
var _0H=_Fl.Length();var _561=_pK1*_zu1._561;var _IC=_mq1.Multiply(_561*(_qK1-_0H)/_0H,_Fl);this._WH1.data[_l3]._tq1(_IC);this._WH1.data[_k3]._Ke(_IC);}}},_6K1:function(step){this._cI1=this._aJ1(this._cI1);for(var i=0;i<this._8t1;i++){this._bI1[i]=0;this._cI1[i]=new _mq1();}for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];if(_jC1._Sn1&_rH1._zH1){var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;var w=_jC1.__H1;var _x5=_jC1._Ds1;this._bI1[_l3]+=w;this._bI1[_k3]+=w;this._cI1[_l3]._tq1(_mq1.Multiply((1-w)*w,_x5));
this._cI1[_k3]._Ke(_mq1.Multiply((1-w)*w,_x5));}}var _rK1=this._uI1*this._sK1(step);var _tK1=this._vI1*this._sK1(step);for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];if(_jC1._Sn1&_rH1._zH1){var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;var w=_jC1.__H1;var _x5=_jC1._Ds1;var h=this._bI1[_l3]+this._bI1[_k3];var _rh=_mq1._tq1(this._cI1[_k3],this._cI1[_l3]);var _uK1=(_rK1*(h-2)+_tK1*_gr1(_rh,_x5))*w;var _IC=_mq1.Multiply(_uK1,_x5);this._WH1.data[_l3]._tq1(_IC);this._WH1.data[_k3]._Ke(_IC);}}},_4K1:function(step){
var _vK1=this._tI1;for(var _qk=0;_qk<this._LG1;_qk++){var _jC1=this._JG1[_qk];var _l3=_jC1.index;if(this._9I1.data[_l3]&_rH1._xH1){var _k3=_jC1.body;var w=_jC1.__H1;var _z5=_jC1._ps1;var _kg=this._VH1.data[_l3];var _14=_mq1._tq1(_k3._OC1(_kg),this._WH1.data[_l3]);var _IC=_mq1.Multiply(_vK1*_z5*w,_14);this._WH1.data[_l3]._Ke(_mq1.Multiply(this._WJ1(),_IC));_k3._BC1(_IC._qq1(),_kg,true);}}for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];if(_jC1._Sn1&_rH1._xH1){var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;var w=_jC1.__H1;
var _14=_mq1._tq1(this._WH1.data[_k3],this._WH1.data[_l3]);var _IC=_mq1.Multiply(_vK1*w,_14);this._WH1.data[_l3]._Ke(_IC);this._WH1.data[_k3]._tq1(_IC);}}},_5K1:function(step){var _wK1=this._wI1*this._sK1(step);var _xK1=1.0-_Zp1;for(var _qk=0;_qk<this._LG1;_qk++){var _jC1=this._JG1[_qk];var _l3=_jC1.index;if(this._9I1.data[_l3]&_rH1._yH1){var w=_jC1.__H1;if(w>_xK1){var _k3=_jC1.body;var _z5=_jC1._ps1;var _kg=this._VH1.data[_l3];var _x5=_jC1._Ds1;var _IC=_mq1.Multiply(_wK1*_z5*(w-_xK1),_x5);this._WH1.data[_l3]._tq1(_mq1.Multiply(this._WJ1(),
_IC));_k3._BC1(_IC,_kg,true);}}}for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];if(_jC1._Sn1&_rH1._yH1){var w=_jC1.__H1;if(w>_xK1){var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;var _x5=_jC1._Ds1;var _IC=_mq1.Multiply(_wK1*(w-_xK1),_x5);this._WH1.data[_l3]._tq1(_IC);this._WH1.data[_k3]._Ke(_IC);}}}},_9K1:function(step){this._dI1=this._aJ1(this._dI1);var _yK1=step._4E1*this._xI1;for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;if(this._eI1[_l3]!=this._eI1[_k3]){var w=_jC1.__H1;
var _x5=_jC1._Ds1;var h=this._dI1[_l3]+this._dI1[_k3];var _IC=_mq1.Multiply(_yK1*h*w,_x5);this._WH1.data[_l3]._tq1(_IC);this._WH1.data[_k3]._Ke(_IC);}}},_aK1:function(step){this._SG1.data=this._aJ1(this._SG1.data);var _zK1=Math.floor(256*this._yI1);for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;if(this._9I1.data[_l3]&this._9I1.data[_k3]&_rH1._AH1){var _AK1=this._SG1.data[_l3];var _BK1=this._SG1.data[_k3];var _CK1=(_zK1*(_BK1._i3-_AK1._i3))>>8;var _DK1=(_zK1*(_BK1._j3-_AK1._j3))>>8;
var _EK1=(_zK1*(_BK1._k3-_AK1._k3))>>8;var _FK1=(_zK1*(_BK1._l3-_AK1._l3))>>8;_AK1._i3+=_CK1;_AK1._j3+=_DK1;_AK1._k3+=_EK1;_AK1._l3+=_FK1;_BK1._i3-=_CK1;_BK1._j3-=_DK1;_BK1._k3-=_EK1;_BK1._l3-=_FK1;}}},_ZJ1:function(){var __g1=0;var _GK1=new Array(this._8t1);for(var i=0;i<this._8t1;i++){var _Sn1=this._9I1.data[i];if(_Sn1&_rH1._tH1){var _HK1=this._DB1._kE1;if((_Sn1&_rH1._BH1)&&_HK1){_HK1._MD1(i);}_GK1[i]=_Yp1;}else {_GK1[i]=__g1;if(i!=__g1){this._9I1.data[__g1]=this._9I1.data[i];this._VH1.data[__g1]=this._VH1.data[i];
this._WH1.data[__g1]=this._WH1.data[i];this._eI1[__g1]=this._eI1[i];if(this._dI1){this._dI1[__g1]=this._dI1[i];}if(this._SG1.data){this._SG1.data[__g1]=this._SG1.data[i];}if(this._fI1.data){this._fI1.data[__g1]=this._fI1.data[i];}}__g1++;}}var _IK1={_JK1:function(_FD1){return _FD1.index<0;},_KK1:function(_jC1){return _jC1._Pu1<0||_jC1._Qu1<0;},_LK1:function(_jC1){return _jC1.index<0;},_MK1:function(_zu1){return _zu1._Pu1<0||_zu1._Qu1<0;},_NK1:function(_rJ1){return _rJ1._Pu1<0||_rJ1._Qu1<0||_rJ1._FI1<0;
}};for(var _qk=0;_qk<this._7u1;_qk++){var _FD1=this._hI1[_qk];_FD1.index=_GK1[_FD1.index];}if(this._hI1){this._7u1=this._hI1._9p1(_IK1._JK1,this._7u1);}for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];_jC1._Pu1=_GK1[_jC1._Pu1];_jC1._Qu1=_GK1[_jC1._Qu1];}if(this._GG1){this._zF1=this._GG1._9p1(_IK1._KK1,this._zF1);}for(var _qk=0;_qk<this._LG1;_qk++){var _jC1=this._JG1[_qk];_jC1.index=_GK1[_jC1.index];}if(this._JG1){this._LG1=this._JG1._9p1(_IK1._LK1,this._LG1);}for(var _qk=0;_qk<this._8u1;_qk++){
var _zu1=this._9u1[_qk];_zu1._Pu1=_GK1[_zu1._Pu1];_zu1._Qu1=_GK1[_zu1._Qu1];}if(this._9u1){this._8u1=this._9u1._9p1(_IK1._MK1,this._8u1);}for(var _qk=0;_qk<this._kI1;_qk++){var _rJ1=this._mI1[_qk];_rJ1._Pu1=_GK1[_rJ1._Pu1];_rJ1._Qu1=_GK1[_rJ1._Qu1];_rJ1._FI1=_GK1[_rJ1._FI1];}if(this._mI1){this._kI1=this._mI1._9p1(_IK1._NK1,this._kI1);}for(var _E61=this._oI1;_E61;_E61=_E61._cD1()){var _gJ1=__g1;var lastIndex=0;var _OK1=false;for(var i=_E61._HH1;i<_E61._IH1;i++){var _35=_GK1[i];if(_35>=0){_gJ1=_Ir1(_gJ1,_35);
lastIndex=_Kr1(lastIndex,_35+1);}else {_OK1=true;}}if(_gJ1<lastIndex){_E61._HH1=_gJ1;_E61._IH1=lastIndex;if(_OK1){if(_E61._JH1&_FH1._YH1){_E61._RH1=true;}}}else {_E61._HH1=0;_E61._IH1=0;if(_E61._PH1){_E61._QH1=true;}}}this._8t1=__g1;for(var _E61=this._oI1;_E61;){var _ok=_E61._cD1();if(_E61._QH1){this._wJ1(_E61);}_E61=_ok;}},_uJ1:function(start,_2i,end){if(start==_2i||_2i==end){return;}function _GK1(i){if(i<start){return i;}else if(i<_2i){return i+end-_2i;}else if(i<end){return i+start-_2i;}else {return i;}}
this._9I1.data.rotate(start,_2i,end);this._VH1.data.rotate(start,_2i,end);this._WH1.data.rotate(start,_2i,end);this._eI1.rotate(start,_2i,end);if(this._dI1){this._dI1.rotate(start,_2i,end);}if(this._SG1.data){this._SG1.data.rotate(start,_2i,end);}if(this._fI1.data){this._fI1.data.rotate(start,_2i,end);}for(var _qk=0;_qk<this._7u1;_qk++){var _FD1=this._hI1[_qk];_FD1.index=_GK1(_FD1.index);}for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];_jC1._Pu1=_GK1(_jC1._Pu1);_jC1._Qu1=_GK1(_jC1._Qu1);}
for(var _qk=0;_qk<this._LG1;_qk++){var _jC1=this._JG1[_qk];_jC1.index=_GK1(_jC1.index);}for(var _qk=0;_qk<this._8u1;_qk++){var _zu1=this._9u1[_qk];_zu1._Pu1=_GK1(_zu1._Pu1);_zu1._Qu1=_GK1(_zu1._Qu1);}for(var _qk=0;_qk<this._kI1;_qk++){var _rJ1=this._mI1[_qk];_rJ1._Pu1=_GK1(_rJ1._Pu1);_rJ1._Qu1=_GK1(_rJ1._Qu1);_rJ1._FI1=_GK1(_rJ1._FI1);}for(var _E61=this._oI1;_E61;_E61=_E61._cD1()){_E61._HH1=_GK1(_E61._HH1);_E61._IH1=_GK1(_E61._IH1-1)+1;}},_r61:function(_W51){this._4I1=2*_W51;this._6I1=this._4I1*this._4I1;
this._5I1=1/this._4I1;},_t61:function(_s61){this._eC1=_s61;this._3I1=1/this._eC1;},_n61:function(){return this._eC1;},_w61:function(_tB1){this._OB1=_tB1;},_p61:function(){return this._OB1;},_v61:function(_u61){this._qI1=_u61;},_o61:function(){return this._qI1;},_m61:function(){return this._4I1/2;},_sK1:function(step){return this._4I1*step._4E1;},_0K1:function(step){var _H91=this._sK1(step);return _H91*_H91;},_hK1:function(step){return this._eC1*this._0K1(step);},_fJ1:function(){return _Zp1*this._4I1;},_UH1:function(){
var _K9=this._fJ1();return this._eC1*_K9*_K9;},_WJ1:function(){return 1.777777*this._3I1*this._5I1*this._5I1;},_tG1:function(){return this._9I1.data;},_uG1:function(){return this._VH1.data;},_vG1:function(){return this._WH1.data;},_wG1:function(){this._SG1.data=this._aJ1(this._SG1.data);return this._SG1.data;},_xG1:function(){this._fI1.data=this._aJ1(this._fI1.data);return this._fI1.data;},_l61:function(){return this._8I1;},_q61:function(_u7){_yp1(this._8t1<=_u7);this._8I1=_u7;},_yG1:function(){return this._eI1;
},_PK1:function(buffer,_QK1,_5J1){_yp1((_QK1&&_5J1)||(!_QK1&&!_5J1));buffer.data=_QK1;buffer._zI1=_5J1;},_zG1:function(buffer,_AG1){this._PK1(this._9I1,buffer,_AG1);},_BG1:function(buffer,_AG1){this._PK1(this._VH1,buffer,_AG1);},_CG1:function(buffer,_AG1){this._PK1(this._WH1,buffer,_AG1);},_DG1:function(buffer,_AG1){this._PK1(this._SG1,buffer,_AG1);},_EG1:function(buffer,_AG1){this._PK1(this._fI1,buffer,_AG1);},_jF1:function(_jl1,_ys1){if(this._7u1==0){return;}var _FJ1=0;var _GJ1=this._7u1;var _RJ1=this._hI1._bp1(_FJ1,
_GJ1,_YI1(this._5I1*_ys1._Os1.x,this._5I1*_ys1._Os1.y),function(_l3,_k3){return _BE1.Proxy._CI1(_l3,_k3);});var _SJ1=this._hI1._dp1(_RJ1,_GJ1,_YI1(this._5I1*_ys1._Ps1.x,this._5I1*_ys1._Ps1.y),function(_l3,_k3){return _BE1.Proxy._BI1(_l3,_k3);});for(var _FD1=_RJ1;_FD1<_SJ1;++_FD1){var _TJ1=this._hI1[_FD1];var i=_TJ1.index;var _kg=this._VH1.data[i];if(_ys1._Os1.x<_kg.x&&_kg.x<_ys1._Ps1.x&&_ys1._Os1.y<_kg.y&&_kg.y<_ys1._Ps1.y){if(!_jl1._1E1(i)){break;}}}},_vs1:function(_jl1,_lF1,_mF1){if(this._7u1==0){return;
}var _FJ1=0;var _GJ1=this._7u1;var _RJ1=this._hI1._bp1(_FJ1,_GJ1,_YI1(this._5I1*_Ir1(_lF1.x,_mF1.x)-1,this._5I1*_Ir1(_lF1.y,_mF1.y)-1),function(_l3,_k3){return _BE1.Proxy._CI1(_l3,_k3);});var _SJ1=this._hI1._dp1(_FJ1,_GJ1,_YI1(this._5I1*_Kr1(_lF1.x,_mF1.x)+1,this._5I1*_Kr1(_lF1.y,_mF1.y)+1),function(_l3,_k3){return _BE1.Proxy._BI1(_l3,_k3);});var _Ns1=1;var _14=_mq1._tq1(_mF1,_lF1);var _34=_gr1(_14,_14);for(var _FD1=_RJ1;_FD1<_SJ1;++_FD1){var _TJ1=this._hI1[_FD1];var i=_TJ1.index;var _kg=_mq1._tq1(_lF1,this._VH1.data[i]);
var _RK1=_gr1(_kg,_14);var _6s1=_gr1(_kg,_kg);var _SK1=_RK1*_RK1-_34*(_6s1-this._6I1);if(_SK1>=0){var _TK1=_jq1(_SK1);var _N5=(-_RK1-_TK1)/_34;if(_N5>_Ns1){continue;}if(_N5<0){_N5=(-_RK1+_TK1)/_34;if(_N5<0||_N5>_Ns1){continue;}}var _x5=_mq1._Ke(_kg,_mq1._tq1(_N5,_14));_x5._vq1();var _IC=_jl1._1E1(i,_mq1._Ke(_lF1,_mq1.Multiply(_N5,_14)),_x5,_N5);_Ns1=_Ir1(_Ns1,_IC);if(_Ns1<=0){break;}}}},_MG1:function(){var _UK1=0;for(var _qk=0;_qk<this._zF1;_qk++){var _jC1=this._GG1[_qk];var _l3=_jC1._Pu1;var _k3=_jC1._Qu1;
var _x5=_jC1._Ds1;var _14=_mq1._tq1(this._WH1.data[_k3],this._WH1.data[_l3]);var _jK1=_gr1(_14,_x5);if(_jK1<0){_UK1+=_jK1*_jK1;}}return 0.5*this._UH1()*_UK1;},_NG1:function(){return this._oI1;},_F61:function(){return this._nI1;},_i61:function(){return this._8t1;}};function _VK1(_WK1,_XK1){return _jq1(_WK1*_XK1);}function _YK1(_ZK1,__K1){return _ZK1>__K1?_ZK1:__K1;}function _0L1(){this._8B1=null;this._1L1=false;};function _2L1(){this.other=null;this._jC1=null;this._mk=null;this._ok=null;};function _EF1(){this._3L1=new _2L1();
this._4L1=new _2L1();this._5L1=new _fw1();}_EF1._6L1=new _fw1();_EF1.prototype={_Je1:function(_WF1,_Pu1,_XF1,_Qu1){this._TF1=0;this._xB1=_EF1._7L1;this._MF1=_WF1||null;this._OF1=_XF1||null;this._8L1=_Pu1||0;this._9L1=_Qu1||0;this._5L1._hw1=0;this._IB1=null;this._JB1=null;this._3L1._jC1=null;this._3L1._mk=null;this._3L1._ok=null;this._3L1.other=null;this._4L1._jC1=null;this._4L1._mk=null;this._4L1._ok=null;this._4L1.other=null;this._SF1=0;if(_WF1){this._tD1=_VK1(this._MF1._tD1,this._OF1._tD1);this._uD1=_YK1(this._MF1._uD1,
this._OF1._uD1);}else {this._tD1=0;this._uD1=0;}this._aL1=0.0;},_bL1:function(){return this._5L1;},_cL1:function(_dL1){var _0F1=this._MF1._CD1();var _1F1=this._OF1._CD1();var _nz1=this._MF1._vD1();var _oz1=this._OF1._vD1();_dL1._sw1(this._5L1,_0F1._cr1(),_nz1._ss1,_1F1._cr1(),_oz1._ss1);},_KF1:function(){return(this._xB1&_EF1._eL1)==_EF1._eL1;},_3G1:function(_0D1){if(_0D1){this._xB1|=_EF1._7L1;}else {this._xB1&=~_EF1._7L1;}},_JF1:function(){return(this._xB1&_EF1._7L1)==_EF1._7L1;},_cD1:function(){return this._JB1;
},_lC1:function(){return this._MF1;},_dF1:function(){return this._8L1;},_nC1:function(){return this._OF1;},_fF1:function(){return this._9L1;},_T31:function(friction){this._tD1=friction;},_N51:function(){return this._tD1;},_fL1:function(){this._tD1=_VK1(this._MF1._tD1,this._OF1._tD1);},_S31:function(_nD1){this._uD1=_nD1;},_P51:function(){return this._uD1;},_gL1:function(){this._uD1=_YK1(this._MF1._uD1,this._OF1._uD1);},_hL1:function(speed){this._aL1=speed;},_iL1:function(){return this._aL1;},_Vq:function(_iw1,
_tw1,_vw1){},_BD1:function(){this._xB1|=_EF1._jL1;},_kL1:null,_0f:function(listener){_EF1._6L1._pP(this._5L1);this._xB1|=_EF1._7L1;var _lL1=false;var _mL1=(this._xB1&_EF1._eL1)==_EF1._eL1;var _LF1=this._MF1._xD1();var _NF1=this._OF1._xD1();var _wD1=_LF1||_NF1;var _0F1=this._MF1._CD1();var _1F1=this._OF1._CD1();var _tw1=_0F1._cr1();var _vw1=_1F1._cr1();if(_wD1){var _nz1=this._MF1._vD1();var _oz1=this._OF1._vD1();_lL1=_mz1(_nz1,this._8L1,_oz1,this._9L1,_tw1,_vw1);this._5L1._hw1=0;}else {this._Vq(this._5L1,_tw1,
_vw1);_lL1=this._5L1._hw1>0;for(var i=0;i<this._5L1._hw1;++i){var _nL1=this._5L1.points[i];_nL1._cw1=0.0;_nL1._dw1=0.0;var _oL1=_nL1.id;for(var _35=0;_35<_EF1._6L1._hw1;++_35){var _pL1=_EF1._6L1.points[_35];if(_pL1.id._I4()==_oL1._I4()){_nL1._cw1=_pL1._cw1;_nL1._dw1=_pL1._dw1;break;}}}if(_lL1!=_mL1){_0F1._141(true);_1F1._141(true);}}if(_lL1){this._xB1|=_EF1._eL1;}else {this._xB1&=~_EF1._eL1;}if(_mL1==false&&_lL1==true&&listener){listener._VD1(this);}if(_mL1==true&&_lL1==false&&listener){listener._WD1(this);
}if(_wD1==false&&_lL1&&listener){listener._XD1(this,_EF1._6L1);}}};_EF1._0C1=0x0001;_EF1._eL1=0x0002;_EF1._7L1=0x0004;_EF1._jL1=0x0008;_EF1._qL1=0x0010;_EF1._1C1=0x0020;function _rL1(){this.parent.call(this);}_rL1.prototype={_Vq:function(_iw1,_tw1,_vw1){_5x1(_iw1,this._MF1._vD1(),_tw1,this._OF1._vD1(),_vw1);},_Je1:function(_kC1,_sL1,_mC1,_tL1){this.parent.prototype._Je1.call(this,_kC1,0,_mC1,0);_yp1(this._MF1._Xk1()==_rs1._Es1);_yp1(this._OF1._Xk1()==_rs1._Es1);}};_rL1._4p1(_EF1);var _uL1=new _Ts1();
function _vL1(){this.parent.call(this);}_vL1.prototype={_Vq:function(_iw1,_tw1,_vw1){var _Ku1=this._MF1._vD1();_Ku1._kt1(_uL1,this._8L1);_cy1(_iw1,_uL1,_tw1,this._OF1._vD1(),_vw1);},_Je1:function(_kC1,_Pu1,_mC1,_Qu1){this.parent.prototype._Je1.call(this,_kC1,_Pu1,_mC1,_Qu1);_yp1(this._MF1._Xk1()==_rs1._Hs1);_yp1(this._OF1._Xk1()==_rs1._Es1);}};_vL1._4p1(_EF1);function _wL1(){this.parent.call(this);}_wL1.prototype={_Vq:function(_iw1,_tw1,_vw1){var _Ku1=this._MF1._vD1();_Ku1._kt1(_uL1,this._8L1);_dz1(_iw1,
_uL1,_tw1,this._OF1._vD1(),_vw1);},_Je1:function(_kC1,_Pu1,_mC1,_Qu1){this.parent.prototype._Je1.call(this,_kC1,_Pu1,_mC1,_Qu1);_yp1(this._MF1._Xk1()==_rs1._Hs1);_yp1(this._OF1._Xk1()==_rs1._Gs1);}};_wL1._Je1=function(_kC1,_Pu1,_mC1,_Qu1){return new _wL1(_kC1,_Pu1,_mC1,_Qu1);};_wL1._4p1(_EF1);function _xL1(){this.parent.call(this);}_xL1.prototype={_Vq:function(_iw1,_tw1,_vw1){_cy1(_iw1,this._MF1._vD1(),_tw1,this._OF1._vD1(),_vw1);},_Je1:function(_kC1,_Pu1,_mC1,_Qu1){this.parent.prototype._Je1.call(this,
_kC1,0,_mC1,0);_yp1(this._MF1._Xk1()==_rs1._Fs1);_yp1(this._OF1._Xk1()==_rs1._Es1);}};_xL1._Je1=function(_kC1,_Pu1,_mC1,_Qu1){return new _xL1(_kC1,_mC1);};_xL1._4p1(_EF1);function _yL1(){this.parent.call(this);}_yL1.prototype={_Vq:function(_iw1,_tw1,_vw1){_dz1(_iw1,this._MF1._vD1(),_tw1,this._OF1._vD1(),_vw1);},_Je1:function(_kC1,_Pu1,_mC1,_Qu1){this.parent.prototype._Je1.call(this,_kC1,0,_mC1,0);_yp1(this._MF1._Xk1()==_rs1._Fs1);_yp1(this._OF1._Xk1()==_rs1._Gs1);}};_yL1._Je1=function(_kC1,_Pu1,_mC1,
_Qu1){return new _yL1(_kC1,_mC1);};_yL1._4p1(_EF1);function _zL1(){this.parent.call(this);}_zL1.prototype={_Vq:function(_iw1,_tw1,_vw1){_9x1(_iw1,this._MF1._vD1(),_tw1,this._OF1._vD1(),_vw1);},_Je1:function(_kC1,_Pu1,_mC1,_Qu1){this.parent.prototype._Je1.call(this,_kC1,0,_mC1,0);_yp1(this._MF1._Xk1()==_rs1._Gs1);_yp1(this._OF1._Xk1()==_rs1._Es1);}};_zL1._Je1=function(_kC1,_Pu1,_mC1,_Qu1){return new _zL1(_kC1,_mC1);};_zL1._4p1(_EF1);function _AL1(){this.parent.call(this);}_AL1.prototype={_Vq:function(_iw1,
_tw1,_vw1){_Ix1(_iw1,this._MF1._vD1(),_tw1,this._OF1._vD1(),_vw1);},_Je1:function(_kC1,_Pu1,_mC1,_Qu1){this.parent.prototype._Je1.call(this,_kC1,0,_mC1,0);_yp1(this._MF1._Xk1()==_rs1._Gs1);_yp1(this._OF1._Xk1()==_rs1._Gs1);}};_AL1._Je1=function(_kC1,_Pu1,_mC1,_Qu1){return new _AL1(_kC1,_mC1);};_AL1._4p1(_EF1);_EF1._BL1=function(_8B1,_CL1,_DL1){_yp1(0<=_CL1&&_CL1<_rs1._Is1);_yp1(0<=_DL1&&_DL1<_rs1._Is1);if(!_EF1._EL1[_CL1])_EF1._EL1[_CL1]=[];_EF1._EL1[_CL1][_DL1]=new _0L1();_EF1._EL1[_CL1][_DL1]._8B1=_8B1;
_EF1._EL1[_CL1][_DL1]._1L1=true;if(_CL1!=_DL1){if(!_EF1._EL1[_DL1])_EF1._EL1[_DL1]=[];_EF1._EL1[_DL1][_CL1]=new _0L1();_EF1._EL1[_DL1][_CL1]._8B1=_8B1;_EF1._EL1[_DL1][_CL1]._1L1=false;}_8B1._FL1=[];_8B1._GL1=2;};_EF1._HL1=function(){_EF1._BL1(_rL1,_rs1._Es1,_rs1._Es1);_EF1._BL1(_zL1,_rs1._Gs1,_rs1._Es1);_EF1._BL1(_AL1,_rs1._Gs1,_rs1._Gs1);_EF1._BL1(_xL1,_rs1._Fs1,_rs1._Es1);_EF1._BL1(_yL1,_rs1._Fs1,_rs1._Gs1);_EF1._BL1(_vL1,_rs1._Hs1,_rs1._Es1);_EF1._BL1(_wL1,_rs1._Hs1,_rs1._Gs1);};_EF1._IL1=function(_8B1){
var _jC1;if(_jC1=_8B1._FL1.pop())return _jC1;for(var i=0;i<_8B1._GL1-1;++i)_8B1._FL1.push(new _8B1());{_8B1._GL1+=32;}return new _8B1();};_EF1._Je1=function(_kC1,_Pu1,_mC1,_Qu1){if(_EF1._JL1==false){_EF1._HL1();_EF1._JL1=true;}var _CL1=_kC1._Xk1();var _DL1=_mC1._Xk1();_yp1(0<=_CL1&&_CL1<_rs1._Is1);_yp1(0<=_DL1&&_DL1<_rs1._Is1);var _8B1=_EF1._EL1[_CL1]?_EF1._EL1[_CL1][_DL1]?_EF1._EL1[_CL1][_DL1]._8B1:null:null;if(_8B1){var _jC1=_EF1._IL1(_8B1);if(_EF1._EL1[_CL1][_DL1]._1L1)_jC1._Je1(_kC1,_Pu1,_mC1,_Qu1);else _jC1._Je1(_mC1,
_Qu1,_kC1,_Pu1);return _jC1;}return null;};_EF1._xl1=function(_jC1){_yp1(_EF1._JL1==true);var _kC1=_jC1._MF1;var _mC1=_jC1._OF1;if(_jC1._5L1._hw1>0&&_kC1._xD1()==false&&_mC1._xD1()==false){_kC1._CD1()._141(true);_mC1._CD1()._141(true);}var _6w1=_kC1._Xk1();var _7w1=_mC1._Xk1();_yp1(0<=_6w1&&_7w1<_rs1._Is1);_yp1(0<=_6w1&&_7w1<_rs1._Is1);_EF1._EL1[_6w1][_7w1]._8B1._FL1.push(_jC1);};_EF1._EL1=[];_EF1._JL1=false;var _KL1=new _ND1();var _LL1=new _UD1();function _jE1(){this._bC1=new _3u1();this._HB1=null;this._zF1=0;
this._LE1=_KL1;this._NE1=_LL1;}_jE1.prototype={_yu1:function(_ML1,_NL1){var _Su1=_ML1;var _Tu1=_NL1;var _kC1=_Su1._N31;var _mC1=_Tu1._N31;var _Pu1=_Su1._ws1;var _Qu1=_Tu1._ws1;var _0F1=_kC1._CD1();var _1F1=_mC1._CD1();if(_0F1==_1F1){return;}var _lt1=_1F1._bD1();while(_lt1){if(_lt1.other==_0F1){var _WF1=_lt1._jC1._lC1();var _XF1=_lt1._jC1._nC1();var _kA1=_lt1._jC1._dF1();var _lA1=_lt1._jC1._fF1();if(_WF1==_kC1&&_XF1==_mC1&&_kA1==_Pu1&&_lA1==_Qu1){return;}if(_WF1==_mC1&&_XF1==_kC1&&_kA1==_Qu1&&_lA1==_Pu1){return;
}}_lt1=_lt1._ok;}if(_1F1._gD1(_0F1)==false){return;}if(this._LE1&&this._LE1._gD1(_kC1,_mC1)==false){return;}var c=_EF1._Je1(_kC1,_Pu1,_mC1,_Qu1);if(c==null){return;}_kC1=c._lC1();_mC1=c._nC1();_Pu1=c._dF1();_Qu1=c._fF1();_0F1=_kC1._CD1();_1F1=_mC1._CD1();c._IB1=null;c._JB1=this._HB1;if(this._HB1!=null){this._HB1._IB1=c;}this._HB1=c;c._3L1._jC1=c;c._3L1.other=_1F1;c._3L1._mk=null;c._3L1._ok=_0F1._HB1;if(_0F1._HB1!=null){_0F1._HB1._mk=c._3L1;}_0F1._HB1=c._3L1;c._4L1._jC1=c;c._4L1.other=_0F1;c._4L1._mk=null;
c._4L1._ok=_1F1._HB1;if(_1F1._HB1!=null){_1F1._HB1._mk=c._4L1;}_1F1._HB1=c._4L1;if(_kC1._xD1()==false&&_mC1._xD1()==false){_0F1._141(true);_1F1._141(true);}++this._zF1;},_4F1:function(){this._bC1._ru1(this);},_xl1:function(c){var _kC1=c._lC1();var _mC1=c._nC1();var _0F1=_kC1._CD1();var _1F1=_mC1._CD1();if(this._NE1&&c._KF1()){this._NE1._WD1(c);}if(c._IB1){c._IB1._JB1=c._JB1;}if(c._JB1){c._JB1._IB1=c._IB1;}if(c==this._HB1){this._HB1=c._JB1;}if(c._3L1._mk){c._3L1._mk._ok=c._3L1._ok;}if(c._3L1._ok){c._3L1._ok._mk=c._3L1._mk;
}if(c._3L1==_0F1._HB1){_0F1._HB1=c._3L1._ok;}if(c._4L1._mk){c._4L1._mk._ok=c._4L1._ok;}if(c._4L1._ok){c._4L1._ok._mk=c._4L1._mk;}if(c._4L1==_1F1._HB1){_1F1._HB1=c._4L1._ok;}_EF1._xl1(c);--this._zF1;},_Sy1:function(){var c=this._HB1;while(c){var _kC1=c._lC1();var _mC1=c._nC1();var _Pu1=c._dF1();var _Qu1=c._fF1();var _0F1=_kC1._CD1();var _1F1=_mC1._CD1();if(c._xB1&_EF1._jL1){if(_1F1._gD1(_0F1)==false){var _OL1=c;c=_OL1._cD1();this._xl1(_OL1);continue;}if(this._LE1&&this._LE1._gD1(_kC1,_mC1)==false){var _OL1=c;
c=_OL1._cD1();this._xl1(_OL1);continue;}c._xB1&=~_EF1._jL1;}var __F1=_0F1._4D1()&&_0F1._dO!=_jB1._kB1;var _0G1=_1F1._4D1()&&_1F1._dO!=_jB1._kB1;if(__F1==false&&_0G1==false){c=c._cD1();continue;}var _Zt1=_kC1._ZC1[_Pu1]._eu1;var __t1=_mC1._ZC1[_Qu1]._eu1;var _PL1=this._bC1._K51(_Zt1,__t1);if(_PL1==false){var _OL1=c;c=_OL1._cD1();this._xl1(_OL1);continue;}c._0f(this._NE1);c=c._cD1();}}};function _QL1(){this._2w1=new _mq1();this._3w1=new _mq1();this._cw1=0;this._dw1=0;this._RL1=0;this._SL1=0;this._TL1=0;}function _UL1(){
this._VL1=new Array(_Dp1);this._gw1=new _mq1();this._bw1=new _mq1();this._Pu1=0;this._Qu1=0;this._WL1=0,this._XL1=0;this._YL1=new _mq1(),this._ZL1=new _mq1();this.__L1=0,this._0M1=0;this.type=0;this._uw1=0,this._ww1=0;this._hw1=0;};function _1M1(){this.points=new Array(_Dp1);for(var i=0;i<this.points.length;++i)this.points[i]=new _QL1();this._Ds1=new _mq1();this._RL1=new _Eq1();this._2M1=new _Eq1();this._Pu1=0;this._Qu1=0;this._WL1=0,this._XL1=0;this.__L1=0,this._0M1=0;this.friction=0;this._nD1=0;this._3M1=0;
this._hw1=0;this._4M1=0;}function _5M1(){this._Ds1=new _mq1();this._ew1=new _mq1();this._dx1=0;}_5M1.prototype={_sw1:function(_qH1,_tw1,_vw1,index){_yp1(_qH1._hw1>0);switch(_qH1.type){case _fw1._jw1:{var _xw1=(_tw1.q.c*_qH1._bw1.x-_tw1.q._rh*_qH1._bw1.y)+_tw1._kg.x;var _yw1=(_tw1.q._rh*_qH1._bw1.x+_tw1.q.c*_qH1._bw1.y)+_tw1._kg.y;var _zw1=(_vw1.q.c*_qH1._VL1[0].x-_vw1.q._rh*_qH1._VL1[0].y)+_vw1._kg.x;var _Aw1=(_vw1.q._rh*_qH1._VL1[0].x+_vw1.q.c*_qH1._VL1[0].y)+_vw1._kg.y;this._ew1.x=0.5*(_xw1+_zw1);this._ew1.y=0.5*(_yw1+_Aw1);
this._Ds1.x=_zw1-_xw1;this._Ds1.y=_Aw1-_yw1;var _6M1=this._Ds1.x;var _7M1=this._Ds1.y;this._Ds1._vq1();this._dx1=(_6M1*this._Ds1.x+_7M1*this._Ds1.y)-_qH1._uw1-_qH1._ww1;}break;case _fw1._kw1:{this._Ds1.x=_tw1.q.c*_qH1._gw1.x-_tw1.q._rh*_qH1._gw1.y;this._Ds1.y=_tw1.q._rh*_qH1._gw1.x+_tw1.q.c*_qH1._gw1.y;var _Fw1=(_tw1.q.c*_qH1._bw1.x-_tw1.q._rh*_qH1._bw1.y)+_tw1._kg.x;var _Gw1=(_tw1.q._rh*_qH1._bw1.x+_tw1.q.c*_qH1._bw1.y)+_tw1._kg.y;var _Hw1=(_vw1.q.c*_qH1._VL1[index].x-_vw1.q._rh*_qH1._VL1[index].y)+_vw1._kg.x;
var _Iw1=(_vw1.q._rh*_qH1._VL1[index].x+_vw1.q.c*_qH1._VL1[index].y)+_vw1._kg.y;this._dx1=((_Hw1-_Fw1)*this._Ds1.x+(_Iw1-_Gw1)*this._Ds1.y)-_qH1._uw1-_qH1._ww1;this._ew1.x=_Hw1;this._ew1.y=_Iw1;}break;case _fw1._lw1:{this._Ds1.x=_vw1.q.c*_qH1._gw1.x-_vw1.q._rh*_qH1._gw1.y;this._Ds1.y=_vw1.q._rh*_qH1._gw1.x+_vw1.q.c*_qH1._gw1.y;var _Fw1=(_vw1.q.c*_qH1._bw1.x-_vw1.q._rh*_qH1._bw1.y)+_vw1._kg.x;var _Gw1=(_vw1.q._rh*_qH1._bw1.x+_vw1.q.c*_qH1._bw1.y)+_vw1._kg.y;var _Hw1=(_tw1.q.c*_qH1._VL1[index].x-_tw1.q._rh*_qH1._VL1[index].y)+_tw1._kg.x;
var _Iw1=(_tw1.q._rh*_qH1._VL1[index].x+_tw1.q.c*_qH1._VL1[index].y)+_tw1._kg.y;this._dx1=((_Hw1-_Fw1)*this._Ds1.x+(_Iw1-_Gw1)*this._Ds1.y)-_qH1._uw1-_qH1._ww1;this._ew1.x=_Hw1;this._ew1.y=_Iw1;this._Ds1.x=-this._Ds1.x;this._Ds1.y=-this._Ds1.y;}break;}}};function _8M1(){this.step=new _3E1();this._9M1=null;this._u7=0;this._cE1=null;this._dE1=null;}function _aM1(){this._bM1=[];this._cM1=[];}_aM1._dM1=new _4r1();_aM1._eM1=new _4r1();_aM1._fM1=new _5M1();_aM1.prototype={__R:function(_5C1){this._eK1=_5C1.step;
this._8t1=_5C1._u7;this._bM1.length=this._8t1;this._cM1.length=this._8t1;this._gM1=_5C1._cE1;this._hM1=_5C1._dE1;this._iM1=_5C1._9M1;for(var i=0;i<this._8t1;++i){var _jC1=this._iM1[i];var _kC1=_jC1._MF1;var _mC1=_jC1._OF1;var _nz1=_kC1._vD1();var _oz1=_mC1._vD1();var _uw1=_nz1._ss1;var _ww1=_oz1._ss1;var _0F1=_kC1._CD1();var _1F1=_mC1._CD1();var _iw1=_jC1._bL1();var _hw1=_iw1._hw1;_yp1(_hw1>0);var _jM1=this._cM1[i]||new _1M1();_jM1.friction=_jC1._tD1;_jM1._nD1=_jC1._uD1;_jM1._3M1=_jC1._aL1;_jM1._Pu1=_0F1._wB1;
_jM1._Qu1=_1F1._wB1;_jM1._WL1=_0F1._UB1;_jM1._XL1=_1F1._UB1;_jM1.__L1=_0F1._WB1;_jM1._0M1=_1F1._WB1;_jM1._4M1=i;_jM1._hw1=_hw1;_jM1._2M1._nq1();_jM1._RL1._nq1();this._cM1[i]=_jM1;var _qH1=this._bM1[i]||new _UL1();_qH1._Pu1=_0F1._wB1;_qH1._Qu1=_1F1._wB1;_qH1._WL1=_0F1._UB1;_qH1._XL1=_1F1._UB1;_qH1._YL1.x=_0F1._FB1._7r1.x;_qH1._YL1.y=_0F1._FB1._7r1.y;_qH1._ZL1.x=_1F1._FB1._7r1.x;_qH1._ZL1.y=_1F1._FB1._7r1.y;_qH1.__L1=_0F1._WB1;_qH1._0M1=_1F1._WB1;_qH1._gw1.x=_iw1._gw1.x;_qH1._gw1.y=_iw1._gw1.y;_qH1._bw1.x=_iw1._bw1.x;
_qH1._bw1.y=_iw1._bw1.y;_qH1._hw1=_hw1;_qH1._uw1=_uw1;_qH1._ww1=_ww1;_qH1.type=_iw1.type;this._bM1[i]=_qH1;for(var _35=0;_35<_hw1;++_35){var _ay1=_iw1.points[_35];var _kM1=_jM1.points[_35];if(this._eK1._8E1){_kM1._cw1=this._eK1._5E1*_ay1._cw1;_kM1._dw1=this._eK1._5E1*_ay1._dw1;}else {_kM1._cw1=0.0;_kM1._dw1=0.0;}_kM1._2w1._nq1();_kM1._3w1._nq1();_kM1._RL1=0.0;_kM1._SL1=0.0;_kM1._TL1=0.0;_qH1._VL1[_35]=_ay1._bw1;}}},_lM1:function(){for(var i=0;i<this._8t1;++i){var _jM1=this._cM1[i];var _qH1=this._bM1[i];
var _uw1=_qH1._uw1;var _ww1=_qH1._ww1;var _iw1=this._iM1[_jM1._4M1]._bL1();var _Pu1=_jM1._Pu1;var _Qu1=_jM1._Qu1;var _mM1=_jM1._WL1;var _nM1=_jM1._XL1;var _kA1=_jM1.__L1;var _lA1=_jM1._0M1;var _YL1=_qH1._YL1;var _ZL1=_qH1._ZL1;var _cF1=this._gM1[_Pu1].c;var _oM1=this._gM1[_Pu1]._l3;var _pM1=this._hM1[_Pu1]._14;var _0v1=this._hM1[_Pu1].w;var _eF1=this._gM1[_Qu1].c;var _qM1=this._gM1[_Qu1]._l3;var _rM1=this._hM1[_Qu1]._14;var _1v1=this._hM1[_Qu1].w;_yp1(_iw1._hw1>0);_aM1._dM1.q.Set(_oM1);_aM1._eM1.q.Set(_qM1);_aM1._dM1._kg.x=_cF1.x-(_aM1._dM1.q.c*_YL1.x-_aM1._dM1.q._rh*_YL1.y);
_aM1._dM1._kg.y=_cF1.y-(_aM1._dM1.q._rh*_YL1.x+_aM1._dM1.q.c*_YL1.y);_aM1._eM1._kg.x=_eF1.x-(_aM1._eM1.q.c*_ZL1.x-_aM1._eM1.q._rh*_ZL1.y);_aM1._eM1._kg.y=_eF1.y-(_aM1._eM1.q._rh*_ZL1.x+_aM1._eM1.q.c*_ZL1.y);var _dL1=new _qw1();_dL1._sw1(_iw1,_aM1._dM1,_uw1,_aM1._eM1,_ww1);_jM1._Ds1.x=_dL1._Ds1.x;_jM1._Ds1.y=_dL1._Ds1.y;var _hw1=_jM1._hw1;for(var _35=0;_35<_hw1;++_35){var _kM1=_jM1.points[_35];_kM1._2w1.x=_dL1.points[_35].x-_cF1.x;_kM1._2w1.y=_dL1.points[_35].y-_cF1.y;_kM1._3w1.x=_dL1.points[_35].x-_eF1.x;
_kM1._3w1.y=_dL1.points[_35].y-_eF1.y;var _sM1=_kM1._2w1.x*_jM1._Ds1.y-_kM1._2w1.y*_jM1._Ds1.x;var _tM1=_kM1._3w1.x*_jM1._Ds1.y-_kM1._3w1.y*_jM1._Ds1.x;var _uM1=_mM1+_nM1+_kA1*_sM1*_sM1+_lA1*_tM1*_tM1;_kM1._RL1=_uM1>0.0?1.0/_uM1:0.0;var __x1=1.0*_jM1._Ds1.y;var _0y1=-1.0*_jM1._Ds1.x;var _vM1=_kM1._2w1.x*_0y1-_kM1._2w1.y*__x1;var _wM1=_kM1._3w1.x*_0y1-_kM1._3w1.y*__x1;var _xM1=_mM1+_nM1+_kA1*_vM1*_vM1+_lA1*_wM1*_wM1;_kM1._SL1=_xM1>0.0?1.0/_xM1:0.0;_kM1._TL1=0.0;var _yM1=_jM1._Ds1.x*(((_rM1.x+(-_1v1*_kM1._3w1.y))-_pM1.x)-(-_0v1*_kM1._2w1.y))+_jM1._Ds1.y*(((_rM1.y+(_1v1*_kM1._3w1.x))-_pM1.y)-(_0v1*_kM1._2w1.x));
if(_yM1<-_Mp1){_kM1._TL1=-_jM1._nD1*_yM1;}}if(_jM1._hw1==2){var _zM1=_jM1.points[0];var _AM1=_jM1.points[1];var _BM1=_zM1._2w1.x*_jM1._Ds1.y-_zM1._2w1.y*_jM1._Ds1.x;var _CM1=_zM1._3w1.x*_jM1._Ds1.y-_zM1._3w1.y*_jM1._Ds1.x;var _DM1=_AM1._2w1.x*_jM1._Ds1.y-_AM1._2w1.y*_jM1._Ds1.x;var _EM1=_AM1._3w1.x*_jM1._Ds1.y-_AM1._3w1.y*_jM1._Ds1.x;var _FM1=_mM1+_nM1+_kA1*_BM1*_BM1+_lA1*_CM1*_CM1;var _GM1=_mM1+_nM1+_kA1*_DM1*_DM1+_lA1*_EM1*_EM1;var _HM1=_mM1+_nM1+_kA1*_BM1*_DM1+_lA1*_CM1*_EM1;var _IM1=1000.0;if(_FM1*_FM1<_IM1*(_FM1*_GM1-_HM1*_HM1)){
_jM1._2M1._fj.x=_FM1;_jM1._2M1._fj.y=_HM1;_jM1._2M1._SL.x=_HM1;_jM1._2M1._SL.y=_GM1;_jM1._RL1._pP(_jM1._2M1._Gq1());}else {_jM1._hw1=1;}}}},_JM1:function(){for(var i=0;i<this._8t1;++i){var _jM1=this._cM1[i];var _Pu1=_jM1._Pu1;var _Qu1=_jM1._Qu1;var _mM1=_jM1._WL1;var _kA1=_jM1.__L1;var _nM1=_jM1._XL1;var _lA1=_jM1._0M1;var _hw1=_jM1._hw1;var _pM1=this._hM1[_Pu1]._14;var _0v1=this._hM1[_Pu1].w;var _rM1=this._hM1[_Qu1]._14;var _1v1=this._hM1[_Qu1].w;var _Ds1=_jM1._Ds1;var __x1=1.0*_Ds1.y;var _0y1=-1.0*_Ds1.x;for(var _35=0;
_35<_hw1;++_35){var _kM1=_jM1.points[_35];var _oy1=(_kM1._cw1*_Ds1.x)+(_kM1._dw1*__x1);var _py1=(_kM1._cw1*_Ds1.y)+(_kM1._dw1*_0y1);_0v1-=_kA1*(_kM1._2w1.x*_py1-_kM1._2w1.y*_oy1);_pM1.x-=_mM1*_oy1;_pM1.y-=_mM1*_py1;_1v1+=_lA1*(_kM1._3w1.x*_py1-_kM1._3w1.y*_oy1);_rM1.x+=_nM1*_oy1;_rM1.y+=_nM1*_py1;}this._hM1[_Pu1].w=_0v1;this._hM1[_Qu1].w=_1v1;}},_KM1:function(){for(var i=0;i<this._8t1;++i){var _jM1=this._cM1[i];var _Pu1=_jM1._Pu1;var _Qu1=_jM1._Qu1;var _mM1=_jM1._WL1;var _kA1=_jM1.__L1;var _nM1=_jM1._XL1;
var _lA1=_jM1._0M1;var _hw1=_jM1._hw1;var _pM1=this._hM1[_Pu1]._14;var _0v1=this._hM1[_Pu1].w;var _rM1=this._hM1[_Qu1]._14;var _1v1=this._hM1[_Qu1].w;var _Ds1=_jM1._Ds1;var __x1=1.0*_Ds1.y;var _0y1=-1.0*_Ds1.x;var friction=_jM1.friction;_yp1(_hw1==1||_hw1==2);for(var _35=0;_35<_hw1;++_35){var _kM1=_jM1.points[_35];var _LM1=_rM1.x+(-_1v1*_kM1._3w1.y)-_pM1.x-(-_0v1*_kM1._2w1.y);var _MM1=_rM1.y+(_1v1*_kM1._3w1.x)-_pM1.y-(_0v1*_kM1._2w1.x);var _NM1=(_LM1*__x1+_MM1*_0y1)-_jM1._3M1;var _OM1=_kM1._SL1*(-_NM1);var _PM1=friction*_kM1._cw1;
var _QM1=_Mr1(_kM1._dw1+_OM1,-_PM1,_PM1);_OM1=_QM1-_kM1._dw1;_kM1._dw1=_QM1;var _oy1=_OM1*__x1;var _py1=_OM1*_0y1;_pM1.x-=_mM1*_oy1;_pM1.y-=_mM1*_py1;_0v1-=_kA1*(_kM1._2w1.x*_py1-_kM1._2w1.y*_oy1);_rM1.x+=_nM1*_oy1;_rM1.y+=_nM1*_py1;_1v1+=_lA1*(_kM1._3w1.x*_py1-_kM1._3w1.y*_oy1);}if(_jM1._hw1==1){_kM1=_jM1.points[0];_LM1=_rM1.x+(-_1v1*_kM1._3w1.y)-_pM1.x-(-_0v1*_kM1._2w1.y);_MM1=_rM1.y+(_1v1*_kM1._3w1.x)-_pM1.y-(_0v1*_kM1._2w1.x);var _jK1=_LM1*_Ds1.x+_MM1*_Ds1.y;var _OM1=-_kM1._RL1*(_jK1-_kM1._TL1);var _QM1=_Kr1(_kM1._cw1+_OM1,
0.0);_OM1=_QM1-_kM1._cw1;_kM1._cw1=_QM1;_oy1=_OM1*_Ds1.x;_py1=_OM1*_Ds1.y;_pM1.x-=_mM1*_oy1;_pM1.y-=_mM1*_py1;_0v1-=_kA1*(_kM1._2w1.x*_py1-_kM1._2w1.y*_oy1);_rM1.x+=_nM1*_oy1;_rM1.y+=_nM1*_py1;_1v1+=_lA1*(_kM1._3w1.x*_py1-_kM1._3w1.y*_oy1);}else {var _RM1=_jM1.points[0];var _SM1=_jM1.points[1];var ax=_RM1._cw1;var ay=_SM1._cw1;_yp1(ax>=0.0&&ay>=0.0);var _TM1=_rM1.x+(-_1v1*_RM1._3w1.y)-_pM1.x-(-_0v1*_RM1._2w1.y);var _UM1=_rM1.y+(_1v1*_RM1._3w1.x)-_pM1.y-(_0v1*_RM1._2w1.x);var _VM1=_rM1.x+(-_1v1*_SM1._3w1.y)-_pM1.x-(-_0v1*_SM1._2w1.y);
var _WM1=_rM1.y+(_1v1*_SM1._3w1.x)-_pM1.y-(_0v1*_SM1._2w1.x);var _XM1=_TM1*_Ds1.x+_UM1*_Ds1.y;var _YM1=_VM1*_Ds1.x+_WM1*_Ds1.y;var _gH1=_XM1-_RM1._TL1;var _hH1=_YM1-_SM1._TL1;_gH1-=_jM1._2M1._fj.x*ax+_jM1._2M1._SL.x*ay;_hH1-=_jM1._2M1._fj.y*ax+_jM1._2M1._SL.y*ay;for(;;){var _R5=-(_jM1._RL1._fj.x*_gH1+_jM1._RL1._SL.x*_hH1);var _ZM1=-(_jM1._RL1._fj.y*_gH1+_jM1._RL1._SL.y*_hH1);if(_R5>=0.0&&_ZM1>=0.0){var _ha=_R5-ax;var _ia=_ZM1-ay;var __M1=_ha*_Ds1.x;var _0N1=_ha*_Ds1.y;var _1N1=_ia*_Ds1.x;var _2N1=_ia*_Ds1.y;
_pM1.x-=_mM1*(__M1+_1N1);_pM1.y-=_mM1*(_0N1+_2N1);_0v1-=_kA1*((_RM1._2w1.x*_0N1-_RM1._2w1.y*__M1)+(_SM1._2w1.x*_2N1-_SM1._2w1.y*_1N1));_rM1.x+=_nM1*(__M1+_1N1);_rM1.y+=_nM1*(_0N1+_2N1);_1v1+=_lA1*((_RM1._3w1.x*_0N1-_RM1._3w1.y*__M1)+(_SM1._3w1.x*_2N1-_SM1._3w1.y*_1N1));_RM1._cw1=_R5;_SM1._cw1=_ZM1;break;}_R5=-_RM1._RL1*_gH1;_ZM1=0.0;_XM1=0.0;_YM1=_jM1._2M1._fj.y*_R5+_hH1;if(_R5>=0.0&&_YM1>=0.0){_ha=_R5-ax;_ia=_ZM1-ay;__M1=_ha*_Ds1.x;_0N1=_ha*_Ds1.y;_1N1=_ia*_Ds1.x;_2N1=_ia*_Ds1.y;_pM1.x-=_mM1*(__M1+_1N1);
_pM1.y-=_mM1*(_0N1+_2N1);_0v1-=_kA1*((_RM1._2w1.x*_0N1-_RM1._2w1.y*__M1)+(_SM1._2w1.x*_2N1-_SM1._2w1.y*_1N1));_rM1.x+=_nM1*(__M1+_1N1);_rM1.y+=_nM1*(_0N1+_2N1);_1v1+=_lA1*((_RM1._3w1.x*_0N1-_RM1._3w1.y*__M1)+(_SM1._3w1.x*_2N1-_SM1._3w1.y*_1N1));_RM1._cw1=_R5;_SM1._cw1=_ZM1;break;}_R5=0.0;_ZM1=-_SM1._RL1*_hH1;_XM1=_jM1._2M1._SL.x*_ZM1+_gH1;_YM1=0.0;if(_ZM1>=0.0&&_XM1>=0.0){_ha=_R5-ax;_ia=_ZM1-ay;__M1=_ha*_Ds1.x;_0N1=_ha*_Ds1.y;_1N1=_ia*_Ds1.x;_2N1=_ia*_Ds1.y;_pM1.x-=_mM1*(__M1+_1N1);_pM1.y-=_mM1*(_0N1+_2N1);
_0v1-=_kA1*((_RM1._2w1.x*_0N1-_RM1._2w1.y*__M1)+(_SM1._2w1.x*_2N1-_SM1._2w1.y*_1N1));_rM1.x+=_nM1*(__M1+_1N1);_rM1.y+=_nM1*(_0N1+_2N1);_1v1+=_lA1*((_RM1._3w1.x*_0N1-_RM1._3w1.y*__M1)+(_SM1._3w1.x*_2N1-_SM1._3w1.y*_1N1));_RM1._cw1=_R5;_SM1._cw1=_ZM1;break;}_R5=0.0;_ZM1=0.0;_XM1=_gH1;_YM1=_hH1;if(_XM1>=0.0&&_YM1>=0.0){_ha=_R5-ax;_ia=_ZM1-ay;__M1=_ha*_Ds1.x;_0N1=_ha*_Ds1.y;_1N1=_ia*_Ds1.x;_2N1=_ia*_Ds1.y;_pM1.x-=_mM1*(__M1+_1N1);_pM1.y-=_mM1*(_0N1+_2N1);_0v1-=_kA1*((_RM1._2w1.x*_0N1-_RM1._2w1.y*__M1)+(_SM1._2w1.x*_2N1-_SM1._2w1.y*_1N1));
_rM1.x+=_nM1*(__M1+_1N1);_rM1.y+=_nM1*(_0N1+_2N1);_1v1+=_lA1*((_RM1._3w1.x*_0N1-_RM1._3w1.y*__M1)+(_SM1._3w1.x*_2N1-_SM1._3w1.y*_1N1));_RM1._cw1=_R5;_SM1._cw1=_ZM1;break;}break;}}this._hM1[_Pu1].w=_0v1;this._hM1[_Qu1].w=_1v1;}},_3N1:function(){for(var i=0;i<this._8t1;++i){var _jM1=this._cM1[i];var _iw1=this._iM1[_jM1._4M1]._bL1();for(var _35=0;_35<_jM1._hw1;++_35){_iw1.points[_35]._cw1=_jM1.points[_35]._cw1;_iw1.points[_35]._dw1=_jM1.points[_35]._dw1;}}},_4N1:function(){var _5N1=0.0;for(var i=0;i<this._8t1;
++i){var _qH1=this._bM1[i];var _Pu1=_qH1._Pu1;var _Qu1=_qH1._Qu1;var _YL1=_qH1._YL1;var _mM1=_qH1._WL1;var _kA1=_qH1.__L1;var _ZL1=_qH1._ZL1;var _nM1=_qH1._XL1;var _lA1=_qH1._0M1;var _hw1=_qH1._hw1;var _cF1=this._gM1[_Pu1].c;var _oM1=this._gM1[_Pu1]._l3;var _eF1=this._gM1[_Qu1].c;var _qM1=this._gM1[_Qu1]._l3;for(var _35=0;_35<_hw1;++_35){_aM1._dM1.q.Set(_oM1);_aM1._eM1.q.Set(_qM1);_aM1._dM1._kg.x=_cF1.x-(_aM1._dM1.q.c*_YL1.x-_aM1._dM1.q._rh*_YL1.y);_aM1._dM1._kg.y=_cF1.y-(_aM1._dM1.q._rh*_YL1.x+_aM1._dM1.q.c*_YL1.y);
_aM1._eM1._kg.x=_eF1.x-(_aM1._eM1.q.c*_ZL1.x-_aM1._eM1.q._rh*_ZL1.y);_aM1._eM1._kg.y=_eF1.y-(_aM1._eM1.q._rh*_ZL1.x+_aM1._eM1.q.c*_ZL1.y);_aM1._fM1._sw1(_qH1,_aM1._dM1,_aM1._eM1,_35);var _Ds1=_aM1._fM1._Ds1;var _ew1=_aM1._fM1._ew1;var _dx1=_aM1._fM1._dx1;var _6N1=_ew1.x-_cF1.x;var _7N1=_ew1.y-_cF1.y;var _8N1=_ew1.x-_eF1.x;var _9N1=_ew1.y-_eF1.y;_5N1=_Ir1(_5N1,_dx1);var _Br1=_Mr1(_Tp1*(_dx1+_Hp1),-_Np1,0.0);var _sM1=_6N1*_Ds1.y-_7N1*_Ds1.x;var _tM1=_8N1*_Ds1.y-_9N1*_Ds1.x;var _2M1=_mM1+_nM1+_kA1*_sM1*_sM1+_lA1*_tM1*_tM1;
var _CC1=_2M1>0.0?-_Br1/_2M1:0.0;var _oy1=_CC1*_Ds1.x;var _py1=_CC1*_Ds1.y;_cF1.x-=_mM1*_oy1;_cF1.y-=_mM1*_py1;_oM1-=_kA1*(_6N1*_py1-_7N1*_oy1);_eF1.x+=_nM1*_oy1;_eF1.y+=_nM1*_py1;_qM1+=_lA1*(_8N1*_py1-_9N1*_oy1);}this._gM1[_Pu1]._l3=_oM1;this._gM1[_Qu1]._l3=_qM1;}return _5N1>=-3.0*_Hp1;},_aN1:function(_bN1,_cN1){var _5N1=0.0;for(var i=0;i<this._8t1;++i){var _qH1=this._bM1[i];var _Pu1=_qH1._Pu1;var _Qu1=_qH1._Qu1;var _YL1=_qH1._YL1;var _ZL1=_qH1._ZL1;var _hw1=_qH1._hw1;var _mM1=0.0;var _kA1=0.0;if(_Pu1==_bN1||_Pu1==_cN1){
_mM1=_qH1._WL1;_kA1=_qH1.__L1;}var _nM1=0.0;var _lA1=0.0;if(_Qu1==_bN1||_Qu1==_cN1){_nM1=_qH1._XL1;_lA1=_qH1._0M1;}var _cF1=this._gM1[_Pu1].c;var _oM1=this._gM1[_Pu1]._l3;var _eF1=this._gM1[_Qu1].c;var _qM1=this._gM1[_Qu1]._l3;for(var _35=0;_35<_hw1;++_35){_aM1._dM1.q.Set(_oM1);_aM1._eM1.q.Set(_qM1);_aM1._dM1._kg._pP(_mq1._tq1(_cF1,_vr1(_aM1._dM1.q,_YL1)));_aM1._eM1._kg._pP(_mq1._tq1(_eF1,_vr1(_aM1._eM1.q,_ZL1)));_aM1._fM1._sw1(_qH1,_aM1._dM1,_aM1._eM1,_35);var _Ds1=_aM1._fM1._Ds1;var _ew1=_aM1._fM1._ew1;
var _dx1=_aM1._fM1._dx1;var _2w1=_mq1._tq1(_ew1,_cF1);var _3w1=_mq1._tq1(_ew1,_eF1);_5N1=_Ir1(_5N1,_dx1);var _Br1=_Mr1(_Up1*(_dx1+_Hp1),-_Np1,0.0);var _sM1=_hr1(_2w1,_Ds1);var _tM1=_hr1(_3w1,_Ds1);var _2M1=_mM1+_nM1+_kA1*_sM1*_sM1+_lA1*_tM1*_tM1;var _CC1=_2M1>0.0?-_Br1/_2M1:0.0;var _ey1=_mq1.Multiply(_CC1,_Ds1);_cF1._tq1(_mq1.Multiply(_mM1,_ey1));_oM1-=_kA1*_hr1(_2w1,_ey1);_eF1._Ke(_mq1.Multiply(_nM1,_ey1));_qM1+=_lA1*_hr1(_3w1,_ey1);}this._gM1[_Pu1]._l3=_oM1;this._gM1[_Qu1]._l3=_qM1;}return _5N1>=-1.5*_Hp1;
}};function _zE1(){this._RF1=[];this._iM1=[];this._dN1=[];this._hM1=[];this._gM1=[];}var _eN1=_gp1._rp1("solve initialization","solve");var _fN1=_gp1._rp1("warm starting","solve initialization");var _gN1=_gp1._rp1("solve velocities","solve");var _hN1=_gp1._rp1("solve positions","solve");_zE1._iN1=new _bE1();_zE1._jN1=new _8M1();_zE1._kN1=new _aM1();_zE1.prototype={__e:function(){this._nE1=0;this._zF1=0;this._oE1=0;},_sw1:function(_lN1,_mN1,_nN1,listener){this._oN1=listener;this._5G1=_lN1;this._6G1=_mN1;
this._pN1=_nN1;this._nE1=0;this._zF1=0;this._oE1=0;this._RF1.length=_lN1;this._iM1.length=_mN1;this._dN1.length=_nN1;this._hM1.length=_lN1;this._gM1.length=_lN1;},_Jq1:function(step,gravity,_pB1){_eN1.start();var h=step._EC;for(var i=0;i<this._nE1;++i){var _k3=this._RF1[i];this._gM1[i].c._pP(_k3._FB1.c);var _l3=_k3._FB1._l3;this._hM1[i]._14._pP(_k3._KB1);var w=_k3._LB1;_k3._FB1._8r1._pP(_k3._FB1.c);_k3._FB1._ar1=_k3._FB1._l3;if(_k3._dO==_jB1._SB1){this._hM1[i]._14.x+=h*((_k3._OB1*gravity.x)+(_k3._UB1*_k3._PB1.x));
this._hM1[i]._14.y+=h*((_k3._OB1*gravity.y)+(_k3._UB1*_k3._PB1.y));w+=h*_k3._WB1*_k3._QB1;this._hM1[i]._14.x*=1.0/(1.0+h*_k3._MB1);this._hM1[i]._14.y*=1.0/(1.0+h*_k3._MB1);w*=1.0/(1.0+h*_k3._NB1);}this._gM1[i]._l3=_l3;this._hM1[i].w=w;}_zE1._iN1.step=step;_zE1._iN1._cE1=this._gM1;_zE1._iN1._dE1=this._hM1;_zE1._jN1.step=step;_zE1._jN1._9M1=this._iM1;_zE1._jN1._u7=this._zF1;_zE1._jN1._cE1=this._gM1;_zE1._jN1._dE1=this._hM1;_zE1._jN1._qN1=this._rN1;_zE1._kN1.__R(_zE1._jN1);_zE1._kN1._lM1();if(step._8E1){
_fN1.start();_zE1._kN1._JM1();_fN1.stop();}for(var i=0;i<this._oE1;++i){this._dN1[i]._sN1(_zE1._iN1);}_eN1.stop();_gN1.start();for(var i=0;i<step._6E1;++i){for(var _35=0;_35<this._oE1;++_35){this._dN1[_35]._KM1(_zE1._iN1);}_zE1._kN1._KM1();}_zE1._kN1._3N1();_gN1.stop();_hN1.start();for(var i=0;i<this._nE1;++i){var c=this._gM1[i].c;var _l3=this._gM1[i]._l3;var _14=this._hM1[i]._14;var w=this._hM1[i].w;var _tN1=h*_14.x;var _uN1=h*_14.y;var _vN1=_tN1*_tN1+_uN1*_uN1;if(_vN1>_Qp1){var ratio=_Pp1/_jq1(_vN1);_14.x*=ratio;
_14.y*=ratio;}var rotation=h*w;if(rotation*rotation>_Sp1){var ratio=_Rp1/_Fr1(rotation);w*=ratio;}c.x+=h*_14.x;c.y+=h*_14.y;_l3+=h*w;this._gM1[i]._l3=_l3;this._hM1[i].w=w;}var _wN1=false;for(var i=0;i<step._7E1;++i){var _xN1=_zE1._kN1._4N1();var _yN1=true;for(var _35=0;_35<this._oE1;++_35){var _zN1=this._dN1[_35]._4N1(_zE1._iN1);_yN1=_yN1&&_zN1;}if(_xN1&&_yN1){_wN1=true;break;}}for(var i=0;i<this._nE1;++i){var body=this._RF1[i];body._FB1.c._pP(this._gM1[i].c);body._FB1._l3=this._gM1[i]._l3;body._KB1._pP(this._hM1[i]._14);
body._LB1=this._hM1[i].w;body._fD1();}_hN1.stop();this._AN1(_zE1._kN1._cM1);if(_pB1){var _BN1=_Ap1;var _CN1=_Wp1*_Wp1;var _DN1=_Xp1*_Xp1;for(var i=0;i<this._nE1;++i){var _k3=this._RF1[i];if(_k3._Xk1()==_jB1._kB1){continue;}if((_k3._xB1&_jB1._AB1)==0||_k3._LB1*_k3._LB1>_DN1||_gr1(_k3._KB1,_k3._KB1)>_CN1){_k3._RB1=0.0;_BN1=0.0;}else {_k3._RB1+=h;_BN1=_Ir1(_BN1,_k3._RB1);}}if(_BN1>=_Vp1&&_wN1){for(var i=0;i<this._nE1;++i){var _k3=this._RF1[i];_k3._141(false);}}}},_6F1:function(_7G1,_bN1,_cN1){_yp1(_bN1<this._nE1);
_yp1(_cN1<this._nE1);for(var i=0;i<this._nE1;++i){var _k3=this._RF1[i];this._gM1[i].c._pP(_k3._FB1.c);this._gM1[i]._l3=_k3._FB1._l3;this._hM1[i]._14._pP(_k3._KB1);this._hM1[i].w=_k3._LB1;}_zE1._jN1._9M1=this._iM1;_zE1._jN1._u7=this._zF1;_zE1._jN1.step=_7G1;_zE1._jN1._cE1=this._gM1;_zE1._jN1._dE1=this._hM1;_zE1._kN1.__R(_zE1._jN1);for(var i=0;i<_7G1._7E1;++i){var _xN1=_zE1._kN1._aN1(_bN1,_cN1);if(_xN1){break;}}this._RF1[_bN1]._FB1._8r1._pP(this._gM1[_bN1].c);this._RF1[_bN1]._FB1._ar1=this._gM1[_bN1]._l3;
this._RF1[_cN1]._FB1._8r1._pP(this._gM1[_cN1].c);this._RF1[_cN1]._FB1._ar1=this._gM1[_cN1]._l3;_zE1._kN1._lM1();for(var i=0;i<_7G1._6E1;++i){_zE1._kN1._KM1();}var h=_7G1._EC;for(var i=0;i<this._nE1;++i){var c=this._gM1[i].c;var _l3=this._gM1[i]._l3;var _14=this._hM1[i]._14;var w=this._hM1[i].w;var _EN1=_mq1.Multiply(h,_14);if(_gr1(_EN1,_EN1)>_Qp1){var ratio=_Pp1/_EN1.Length();_14.Multiply(ratio);}var rotation=h*w;if(rotation*rotation>_Sp1){var ratio=_Rp1/_Fr1(rotation);w*=ratio;}c._Ke(_mq1.Multiply(h,_14));
_l3+=h*w;this._gM1[i]._l3=_l3;this._hM1[i].w=w;var body=this._RF1[i];body._FB1.c._pP(c);body._FB1._l3=_l3;body._KB1._pP(_14);body._LB1=w;body._fD1();}this._AN1(_zE1._kN1._cM1);},_IF1:function(body){_yp1(this._nE1<this._5G1);body._wB1=this._nE1;this._RF1[this._nE1]=body;if(!this._gM1[this._nE1]){this._gM1[this._nE1]=new _9E1();this._hM1[this._nE1]=new _aE1();}++this._nE1;},_PF1:function(_jC1){_yp1(this._zF1<this._6G1);this._iM1[this._zF1++]=_jC1;},_QF1:function(_t41){_yp1(this._oE1<this._pN1);this._dN1[this._oE1++]=_t41;
},_AN1:function(_De1){if(this._oN1==null){return;}for(var i=0;i<this._zF1;++i){var c=this._iM1[i];var _jM1=_De1[i];var _CC1=new _RD1();_CC1._u7=_jM1._hw1;for(var _35=0;_35<_jM1._hw1;++_35){_CC1._SD1[_35]=_jM1.points[_35]._cw1;_CC1._TD1[_35]=_jM1.points[_35]._dw1;}this._oN1._ZD1(c,_CC1);}}};function _FN1(){this._dw=new _mq1();this._GN1=0;this._HN1=0;};function _IN1(){this.other=null;this._t41=null;this._mk=null;this._ok=null;};function _JN1(){this.type=_WE1._KN1;this._du1=null;this._0F1=null;this._1F1=null;
this._2F1=false;};_JN1.prototype={_Aq1:function(data,_4G1,_LN1){this._0F1=_4G1[data['bodyA']];this._1F1=_4G1[data['bodyB']];this._2F1=data['collideConnected'];}};function _WE1(_5C1){_yp1(_5C1._0F1!=_5C1._1F1);this._dO=_5C1.type;this._IB1=null;this._JB1=null;this._ZE1=_5C1._0F1;this._YE1=_5C1._1F1;this._7F=0;this._iD1=_5C1._2F1;this._FF1=false;this._XB1=_5C1._du1;this._XE1=new _IN1();this._XE1._t41=null;this._XE1.other=null;this._XE1._mk=null;this._XE1._ok=null;this.__E1=new _IN1();this.__E1._t41=null;
this.__E1.other=null;this.__E1._mk=null;this.__E1._ok=null;}_WE1.prototype={_Xk1:function(){return this._dO;},_8G1:function(){return this._ZE1;},_9G1:function(){return this._YE1;},_aG1:function(){},_bG1:function(){},_MN1:function(_4E1){},_NN1:function(_4E1){},_cD1:function(){return this._JB1;},_mu1:function(){return this._XB1;},_dD1:function(data){this._XB1=data;},_6D1:function(){return this._ZE1._6D1()&&this._YE1._6D1();},_ON1:function(){return this._iD1;},_Fu1:function(_Gu1){},_sN1:function(data){},_KM1:function(data){
},_4N1:function(data){},_zq1:function(out){var _Tf=out||{};_Tf['bodyA']=null;_Tf['bodyB']=null;_Tf['type']=this._dO;_Tf['collideConnected']=this._iD1;return _Tf;}};_WE1._PN1=0;_WE1._QN1=1;_WE1._RN1=2;_WE1._SN1=3;_WE1._KN1=0;_WE1._TN1=1;_WE1._UN1=2;_WE1._cG1=3;_WE1._dG1=4;_WE1._hG1=5;_WE1._VN1=6;_WE1._WN1=7;_WE1._XN1=8;_WE1._YN1=9;_WE1._ZN1=10;_WE1._iG1=11;_WE1._Je1=function(_5C1){var _t41=null;switch(_5C1.type){case _WE1._cG1:_t41=new __N1(_5C1);break;case _WE1._hG1:_t41=new _0O1(_5C1);break;case _WE1._UN1:_t41=new _1O1(_5C1);
break;case _WE1._TN1:_t41=new _2O1(_5C1);break;case _WE1._dG1:_t41=new _3O1(_5C1);break;case _WE1._VN1:_t41=new _4O1(_5C1);break;case _WE1._WN1:_t41=new _5O1(_5C1);break;case _WE1._XN1:_t41=new _6O1(_5C1);break;case _WE1._YN1:_t41=new _7O1(_5C1);break;case _WE1._ZN1:_t41=new _8O1(_5C1);break;case _WE1._iG1:_t41=new _9O1(_5C1);break;default :_yp1(false);break;}return _t41;};_WE1._xl1=function(_t41){};function _aO1(){this.parent.call(this);this.type=_WE1._TN1;this._bO1=new _mq1();this._cO1=new _mq1();this._dO1=0.0;this._eO1=0.0;
this._fO1=0.0;this._gO1=0.0;this._hO1=0.0;this._iO1=false;this._jO1=false;Object.seal(this);}_aO1.prototype={_sw1:function(_YF1,_ZF1,anchor){this._0F1=_YF1;this._1F1=_ZF1;this._bO1=this._0F1._KC1(anchor);this._cO1=this._1F1._KC1(anchor);this._dO1=this._1F1._1r1()-this._0F1._1r1();},_Aq1:function(data,_4G1,_LN1){this.parent.prototype._Aq1.call(this,data,_4G1,_LN1);this._bO1._Aq1(data['localAnchorA']);this._cO1._Aq1(data['localAnchorB']);this._dO1=data['referenceAngle'];this._eO1=data['lowerAngle'];
this._fO1=data['upperAngle'];this._gO1=data['maxMotorTorque'];this._hO1=data['motorSpeed'];this._iO1=data['enableLimit'];this._jO1=data['enableMotor'];}};_aO1._4p1(_JN1);function _2O1(_5C1){this.parent.call(this,_5C1);this._kO1=_5C1._bO1._a2();this._lO1=_5C1._cO1._a2();this._mO1=_5C1._dO1;this._nO1=new _Cq1();this._oO1=0.0;this._pO1=_5C1._eO1;this._qO1=_5C1._fO1;this._rO1=_5C1._gO1;this._sO1=_5C1._hO1;this._tO1=_5C1._iO1;this._uO1=_5C1._jO1;this._vO1=_WE1._PN1;this._8L1=0;this._9L1=0;this._wO1=new _mq1();
this._xO1=new _mq1();this._yO1=new _mq1();this._zO1=new _mq1();this._AO1=0;this._BO1=0;this._CO1=0;this._DO1=0;this._TB1=new _Oq1();this._EO1=0;}_2O1.prototype={_aG1:function(){return this._ZE1._HC1(this._kO1);},_bG1:function(){return this._YE1._HC1(this._lO1);},_FO1:function(){return this._kO1;},_GO1:function(){return this._lO1;},_HO1:function(){return this._mO1;},_IO1:function(){var _YF1=this._ZE1;var _ZF1=this._YE1;return _ZF1._FB1._l3-_YF1._FB1._l3-this._mO1;},_JO1:function(){var _YF1=this._ZE1;var _ZF1=this._YE1;
return _ZF1._LB1-_YF1._LB1;},_KO1:function(){return this._tO1;},_LO1:function(_0D1){if(_0D1!=this._tO1){this._ZE1._141(true);this._YE1._141(true);this._tO1=_0D1;this._nO1.z=0.0;}},_MO1:function(){return this._pO1;},_NO1:function(){return this._qO1;},_OO1:function(_XW,_Bt1){_yp1(_XW<=_Bt1);if(_XW!=this._pO1||_Bt1!=this._qO1){this._ZE1._141(true);this._YE1._141(true);this._nO1.z=0.0;this._pO1=_XW;this._qO1=_Bt1;}},_PO1:function(){return this._uO1;},_d51:function(_0D1){this._ZE1._141(true);this._YE1._141(true);
this._uO1=_0D1;},_QO1:function(speed){this._ZE1._141(true);this._YE1._141(true);this._sO1=speed;},_RO1:function(){return this._sO1;},_SO1:function(_AC1){this._ZE1._141(true);this._YE1._141(true);this._rO1=_AC1;},_TO1:function(){return this._rO1;},_MN1:function(_4E1){var _ey1=new _mq1(this._nO1.x,this._nO1.y);return _mq1.Multiply(_4E1,_ey1);},_NN1:function(_4E1){return _4E1*this._nO1.z;},_UO1:function(_4E1){return _4E1*this._oO1;},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;this._yO1=this._ZE1._FB1._7r1;
this._zO1=this._YE1._FB1._7r1;this._AO1=this._ZE1._UB1;this._BO1=this._YE1._UB1;this._CO1=this._ZE1._WB1;this._DO1=this._YE1._WB1;var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);this._wO1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));this._xO1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));var _mM1=this._AO1,_nM1=this._BO1;
var _kA1=this._CO1,_lA1=this._DO1;var _rB1=(_kA1+_lA1==0.0);this._TB1._fj.x=_mM1+_nM1+this._wO1.y*this._wO1.y*_kA1+this._xO1.y*this._xO1.y*_lA1;this._TB1._SL.x=-this._wO1.y*this._wO1.x*_kA1-this._xO1.y*this._xO1.x*_lA1;this._TB1._Qq1.x=-this._wO1.y*_kA1-this._xO1.y*_lA1;this._TB1._fj.y=this._TB1._SL.x;this._TB1._SL.y=_mM1+_nM1+this._wO1.x*this._wO1.x*_kA1+this._xO1.x*this._xO1.x*_lA1;this._TB1._Qq1.y=this._wO1.x*_kA1+this._xO1.x*_lA1;this._TB1._fj.z=this._TB1._Qq1.x;this._TB1._SL.z=this._TB1._Qq1.y;
this._TB1._Qq1.z=_kA1+_lA1;this._EO1=_kA1+_lA1;if(this._EO1>0.0){this._EO1=1.0/this._EO1;}if(this._uO1==false||_rB1){this._oO1=0.0;}if(this._tO1&&_rB1==false){var _XO1=_qM1-_oM1-this._mO1;if(_Fr1(this._qO1-this._pO1)<2.0*_Ip1){this._vO1=_WE1._SN1;}else if(_XO1<=this._pO1){if(this._vO1!=_WE1._QN1){this._nO1.z=0.0;}this._vO1=_WE1._QN1;}else if(_XO1>=this._qO1){if(this._vO1!=_WE1._RN1){this._nO1.z=0.0;}this._vO1=_WE1._RN1;}else {this._vO1=_WE1._PN1;this._nO1.z=0.0;}}else {this._vO1=_WE1._PN1;}if(data.step._8E1){
this._nO1.Multiply(data.step._5E1);this._oO1*=data.step._5E1;var _ey1=new _mq1(this._nO1.x,this._nO1.y);_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*(_hr1(this._wO1,_ey1)+this._oO1+this._nO1.z);_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*(_hr1(this._xO1,_ey1)+this._oO1+this._nO1.z);}else {this._nO1._nq1();this._oO1=0.0;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_KM1:function(data){var _pM1=data._dE1[this._8L1]._14._a2();
var _0v1=data._dE1[this._8L1].w;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var _rB1=(_kA1+_lA1==0.0);if(this._uO1&&this._vO1!=_WE1._SN1&&_rB1==false){var _YO1=_1v1-_0v1-this._sO1;var _CC1=-this._EO1*_YO1;var _ZO1=this._oO1;var __O1=data.step._EC*this._rO1;this._oO1=_Mr1(this._oO1+_CC1,-__O1,__O1);_CC1=this._oO1-_ZO1;_0v1-=_kA1*_CC1;_1v1+=_lA1*_CC1;}if(this._tO1&&this._vO1!=_WE1._PN1&&_rB1==false){var _0P1=_mq1._tq1(_mq1._tq1(_mq1._Ke(_rM1,
_jr1(_1v1,this._xO1)),_pM1),_jr1(_0v1,this._wO1));var _1P1=_1v1-_0v1;var _YO1=new _Cq1(_0P1.x,_0P1.y,_1P1);var _CC1=this._TB1._Rq1(_YO1)._qq1();if(this._vO1==_WE1._SN1){this._nO1._Ke(_CC1);}else if(this._vO1==_WE1._QN1){var _QM1=this._nO1.z+_CC1.z;if(_QM1<0.0){var _2P1=_mq1._Ke(_0P1._qq1(),_mq1.Multiply(this._nO1.z,new _mq1(this._TB1._Qq1.x,this._TB1._Qq1.y)));var _3P1=this._TB1._Uq1(_2P1);_CC1.x=_3P1.x;_CC1.y=_3P1.y;_CC1.z=-this._nO1.z;this._nO1.x+=_3P1.x;this._nO1.y+=_3P1.y;this._nO1.z=0.0;}else {this._nO1._Ke(_CC1);
}}else if(this._vO1==_WE1._RN1){var _QM1=this._nO1.z+_CC1.z;if(_QM1>0.0){var _2P1=_mq1._Ke(_0P1._qq1(),_mq1.Multiply(this._nO1.z,new _mq1(this._TB1._Qq1.x,this._TB1._Qq1.y)));var _3P1=this._TB1._Uq1(_2P1);_CC1.x=_3P1.x;_CC1.y=_3P1.y;_CC1.z=-this._nO1.z;this._nO1.x+=_3P1.x;this._nO1.y+=_3P1.y;this._nO1.z=0.0;}else {this._nO1._Ke(_CC1);}}var _ey1=new _mq1(_CC1.x,_CC1.y);_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*(_hr1(this._wO1,_ey1)+_CC1.z);_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*(_hr1(this._xO1,
_ey1)+_CC1.z);}else {var _YO1=_mq1._tq1(_mq1._tq1(_mq1._Ke(_rM1,_jr1(_1v1,this._xO1)),_pM1),_jr1(_0v1,this._wO1));var _CC1=this._TB1._Uq1(_YO1._qq1());this._nO1.x+=_CC1.x;this._nO1.y+=_CC1.y;_pM1._tq1(_mq1.Multiply(_mM1,_CC1));_0v1-=_kA1*_hr1(this._wO1,_CC1);_rM1._Ke(_mq1.Multiply(_nM1,_CC1));_1v1+=_lA1*_hr1(this._xO1,_CC1);}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_4N1:function(data){var _cF1=data._cE1[this._8L1].c._a2();
var _oM1=data._cE1[this._8L1]._l3;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);var _4P1=0.0;var _5P1=0.0;var _rB1=(this._CO1+this._DO1==0.0);if(this._tO1&&this._vO1!=_WE1._PN1&&_rB1==false){var angle=_qM1-_oM1-this._mO1;var _6P1=0.0;if(this._vO1==_WE1._SN1){var _Br1=_Mr1(angle-this._pO1,-_Op1,_Op1);_6P1=-this._EO1*_Br1;_4P1=_Fr1(_Br1);}else if(this._vO1==_WE1._QN1){var _Br1=angle-this._pO1;_4P1=-_Br1;_Br1=_Mr1(_Br1+_Ip1,-_Op1,0.0);_6P1=-this._EO1*_Br1;
}else if(this._vO1==_WE1._RN1){var _Br1=angle-this._qO1;_4P1=_Br1;_Br1=_Mr1(_Br1-_Ip1,0.0,_Op1);_6P1=-this._EO1*_Br1;}_oM1-=this._CO1*_6P1;_qM1+=this._DO1*_6P1;}{_VO1.Set(_oM1);_WO1.Set(_qM1);var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));var _Br1=_mq1._tq1(_mq1._tq1(_mq1._Ke(_eF1,_3w1),_cF1),_2w1);_5P1=_Br1.Length();var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var _2M1=new _Eq1();_2M1._fj.x=_mM1+_nM1+_kA1*_2w1.y*_2w1.y+_lA1*_3w1.y*_3w1.y;
_2M1._fj.y=-_kA1*_2w1.x*_2w1.y-_lA1*_3w1.x*_3w1.y;_2M1._SL.x=_2M1._fj.y;_2M1._SL.y=_mM1+_nM1+_kA1*_2w1.x*_2w1.x+_lA1*_3w1.x*_3w1.x;var _CC1=_2M1._Jq1(_Br1)._qq1();_cF1._tq1(_mq1.Multiply(_mM1,_CC1));_oM1-=_kA1*_hr1(_2w1,_CC1);_eF1._Ke(_mq1.Multiply(_nM1,_CC1));_qM1+=_lA1*_hr1(_3w1,_CC1);}data._cE1[this._8L1].c._pP(_cF1);data._cE1[this._8L1]._l3=_oM1;data._cE1[this._9L1].c._pP(_eF1);data._cE1[this._9L1]._l3=_qM1;return _5P1<=_Hp1&&_4P1<=_Ip1;},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,
_Tf);_Tf['localAnchorA']=this._kO1._zq1();_Tf['localAnchorB']=this._lO1._zq1();_Tf['referenceAngle']=this._mO1;_Tf['lowerAngle']=this._pO1;_Tf['upperAngle']=this._qO1;_Tf['maxMotorTorque']=this._rO1;_Tf['motorSpeed']=this._sO1;_Tf['enableLimit']=this._tO1;_Tf['enableMotor']=this._uO1;return _Tf;}};_2O1._4p1(_WE1);function _7P1(){this.parent.call(this);this.type=_WE1._hG1;this.target=new _mq1(0.0,0.0);this._8P1=0.0;this._9P1=5.0;this._aP1=0.7;Object.seal(this);}_7P1._4p1(_JN1);function _0O1(_5C1){this.parent.call(this,
_5C1);_yp1(_5C1.target._xq1());_yp1(_cq1(_5C1._8P1)&&_5C1._8P1>=0.0);_yp1(_cq1(_5C1._9P1)&&_5C1._9P1>=0.0);_yp1(_cq1(_5C1._aP1)&&_5C1._aP1>=0.0);this._bP1=_5C1.target._a2();this._lO1=_zr1(this._YE1._cr1(),this._bP1);this._cP1=_5C1._8P1;this._nO1=new _mq1();this._dP1=_5C1._9P1;this._eP1=_5C1._aP1;this._fP1=0.0;this._gP1=0.0;this._8L1=0;this._9L1=0;this._xO1=new _mq1();this._zO1=new _mq1();this._BO1=0;this._DO1=0;this._TB1=new _Eq1();this._hP1=new _mq1();}_0O1.prototype={_aG1:function(){return this._bP1;
},_bG1:function(){return this._YE1._HC1(this._lO1);},_MN1:function(_4E1){return _mq1.Multiply(_4E1,this._nO1);},_NN1:function(_4E1){return _4E1*0.0;},_iP1:function(target){if(this._YE1._4D1()==false){this._YE1._141(true);}this._bP1._pP(target);},_jP1:function(){return this._bP1;},_kP1:function(_xC1){this._cP1=_xC1;},_lP1:function(){return this._cP1;},_mP1:function(_nP1){this._dP1=_nP1;},_oP1:function(){return this._dP1;},_pP1:function(ratio){this._eP1=ratio;},_qP1:function(){return this._eP1;},_Fu1:function(_Gu1){
this._bP1._tq1(_Gu1);},_sN1:function(data){this._9L1=this._YE1._wB1;this._zO1._pP(this._YE1._FB1._7r1);this._BO1=this._YE1._UB1;this._DO1=this._YE1._WB1;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _WO1=new _0r1(_qM1);var _ps1=this._YE1._DC1();var _461=2.0*_Cp1*this._dP1;var _Fl=2.0*_ps1*this._eP1*_461;var _qk=_ps1*(_461*_461);var h=data.step._EC;_yp1(_Fl+h*_qk>_Bp1);this._gP1=h*(_Fl+h*_qk);if(this._gP1!=0.0){
this._gP1=1.0/this._gP1;}this._fP1=h*_qk*this._gP1;this._xO1._pP(_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1)));var _2M1=new _Eq1();_2M1._fj.x=this._BO1+this._DO1*this._xO1.y*this._xO1.y+this._gP1;_2M1._fj.y=-this._DO1*this._xO1.x*this._xO1.y;_2M1._SL.x=_2M1._fj.y;_2M1._SL.y=this._BO1+this._DO1*this._xO1.x*this._xO1.x+this._gP1;this._TB1._pP(_2M1._Gq1());this._hP1._pP(_mq1._tq1(_mq1._Ke(_eF1,this._xO1),this._bP1));this._hP1.Multiply(this._fP1);_1v1*=0.98;if(data.step._8E1){this._nO1.Multiply(data.step._5E1);
_rM1._Ke(_mq1.Multiply(this._BO1,this._nO1));_1v1+=this._DO1*_hr1(this._xO1,this._nO1);}else {this._nO1._nq1();}data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_KM1:function(data){var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _YO1=_mq1._Ke(_rM1,_jr1(_1v1,this._xO1));var _CC1=_kr1(this._TB1,(_mq1._Ke(_mq1._Ke(_YO1,this._hP1),_mq1.Multiply(this._gP1,this._nO1)))._qq1());var _ZO1=this._nO1._a2();this._nO1._Ke(_CC1);var __O1=data.step._EC*this._cP1;if(this._nO1._uq1()>__O1*__O1){
this._nO1.Multiply(__O1/this._nO1.Length());}_CC1._pP(_mq1._tq1(this._nO1,_ZO1));_rM1._Ke(_mq1.Multiply(this._BO1,_CC1));_1v1+=this._DO1*_hr1(this._xO1,_CC1);data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_4N1:function(data){return true;}};_0O1._4p1(_WE1);/// @warning Do not use a zero or short length.
function _rP1(){this.parent.call(this);this.type=_WE1._cG1;this._bO1=new _mq1(0.0,0.0);this._cO1=new _mq1(0.0,0.0);this.length=1.0;this._9P1=0.0;this._aP1=0.0;Object.seal(this);}_rP1.prototype={
_sw1:function(_Yg,_Zg,_sP1,_tP1){this._0F1=_Yg;this._1F1=_Zg;this._bO1=this._0F1._KC1(_sP1);this._cO1=this._1F1._KC1(_tP1);var _Fl=_mq1._tq1(_tP1,_sP1);this.length=_Fl.Length();},_Aq1:function(data,_4G1,_LN1){this.parent.prototype._Aq1.call(this,data,_4G1,_LN1);this._bO1._Aq1(data['localAnchorA']);this._cO1._Aq1(data['localAnchorB']);this.length=data['length'];this._9P1=data['frequencyHz'];this._aP1=data['dampingRatio'];}};_rP1._4p1(_JN1);function __N1(_5C1){this.parent.call(this,_5C1);this._kO1=_5C1._bO1._a2();
this._lO1=_5C1._cO1._a2();this._YT=_5C1.length;this._dP1=_5C1._9P1;this._eP1=_5C1._aP1;this._nO1=0.0;this._gP1=0.0;this._uP1=0.0;this._8L1=0;this._9L1=0;this._vP1=new _mq1();this._wO1=new _mq1();this._xO1=new _mq1();this._yO1=new _mq1();this._zO1=new _mq1();this._AO1=0;this._BO1=0;this._CO1=0;this._DO1=0;this._TB1=0;}__N1.prototype={_aG1:function(){return this._ZE1._HC1(this._kO1);},_bG1:function(){return this._YE1._HC1(this._lO1);},_MN1:function(_4E1){var _pA1=_mq1.Multiply((_4E1*this._nO1),this._vP1);
return _pA1;},_NN1:function(_4E1){return 0.0;},_FO1:function(){return this._kO1;},_GO1:function(){return this._lO1;},_wP1:function(length){this._YT=length;},_xP1:function(){return this._YT;},_mP1:function(_nP1){this._dP1=_nP1;},_oP1:function(){return this._dP1;},_pP1:function(ratio){this._eP1=ratio;},_qP1:function(){return this._eP1;},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;this._yO1._pP(this._ZE1._FB1._7r1);this._zO1._pP(this._YE1._FB1._7r1);this._AO1=this._ZE1._UB1;this._BO1=this._YE1._UB1;
this._CO1=this._ZE1._WB1;this._DO1=this._YE1._WB1;var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);this._wO1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));this._xO1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));this._vP1=_mq1._tq1(_mq1._tq1(_mq1._Ke(_eF1,
this._xO1),_cF1),this._wO1);var length=this._vP1.Length();if(length>_Hp1){this._vP1.Multiply(1.0/length);}else {this._vP1.Set(0.0,0.0);}var _yP1=_hr1(this._wO1,this._vP1);var _zP1=_hr1(this._xO1,this._vP1);var _AP1=this._AO1+this._CO1*_yP1*_yP1+this._BO1+this._DO1*_zP1*_zP1;this._TB1=_AP1!=0.0?1.0/_AP1:0.0;if(this._dP1>0.0){var _Br1=length-this._YT;var _461=2.0*_Cp1*this._dP1;var _Fl=2.0*this._TB1*this._eP1*_461;var _qk=this._TB1*_461*_461;var h=data.step._EC;this._gP1=h*(_Fl+h*_qk);this._gP1=this._gP1!=0.0?1.0/this._gP1:0.0;
this._uP1=_Br1*h*_qk*this._gP1;_AP1+=this._gP1;this._TB1=_AP1!=0.0?1.0/_AP1:0.0;}else {this._gP1=0.0;this._uP1=0.0;}if(data.step._8E1){this._nO1*=data.step._5E1;var _ey1=_mq1.Multiply(this._nO1,this._vP1);_pM1._tq1(_mq1.Multiply(this._AO1,_ey1));_0v1-=this._CO1*_hr1(this._wO1,_ey1);_rM1._Ke(_mq1.Multiply(this._BO1,_ey1));_1v1+=this._DO1*_hr1(this._xO1,_ey1);}else {this._nO1=0.0;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;
},_KM1:function(data){var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _BP1=_mq1._Ke(_pM1,_jr1(_0v1,this._wO1));var _CP1=_mq1._Ke(_rM1,_jr1(_1v1,this._xO1));var _YO1=_gr1(this._vP1,_mq1._tq1(_CP1,_BP1));var _CC1=-this._TB1*(_YO1+this._uP1+this._gP1*this._nO1);this._nO1+=_CC1;var _ey1=_mq1.Multiply(_CC1,this._vP1);_pM1._tq1(_mq1.Multiply(this._AO1,_ey1));_0v1-=this._CO1*_hr1(this._wO1,_ey1);_rM1._Ke(_mq1.Multiply(this._BO1,
_ey1));_1v1+=this._DO1*_hr1(this._xO1,_ey1);data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_4N1:function(data){if(this._dP1>0.0){return true;}var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));
var _04=_mq1._tq1(_mq1._tq1(_mq1._Ke(_eF1,_3w1),_cF1),_2w1);var length=_04._vq1();var _Br1=length-this._YT;_Br1=_Mr1(_Br1,-_Np1,_Np1);var _CC1=-this._TB1*_Br1;var _ey1=_mq1.Multiply(_CC1,_04);_cF1._tq1(_mq1.Multiply(this._AO1,_ey1));_oM1-=this._CO1*_hr1(_2w1,_ey1);_eF1._Ke(_mq1.Multiply(this._BO1,_ey1));_qM1+=this._DO1*_hr1(_3w1,_ey1);data._cE1[this._8L1].c._pP(_cF1);data._cE1[this._8L1]._l3=_oM1;data._cE1[this._9L1].c._pP(_eF1);data._cE1[this._9L1]._l3=_qM1;return _Fr1(_Br1)<_Hp1;},_zq1:function(out){
var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['localAnchorA']=this._kO1._zq1();_Tf['localAnchorB']=this._lO1._zq1();_Tf['length']=this._YT;_Tf['frequencyHz']=this._dP1;_Tf['dampingRatio']=this._eP1;return _Tf;}};__N1._4p1(_WE1);function _DP1(){this.parent.call(this);this.type=_WE1._UN1;this._bO1=new _mq1();this._cO1=new _mq1();this._EP1=new _mq1(1.0,0.0);this._dO1=0.0;this._iO1=false;this._FP1=0.0;this._GP1=0.0;this._jO1=false;this._HP1=0.0;this._hO1=0.0;Object.seal(this);}_DP1.prototype={
_sw1:function(_YF1,_ZF1,anchor,_5u){this._0F1=_YF1;this._1F1=_ZF1;this._bO1=this._0F1._KC1(anchor);this._cO1=this._1F1._KC1(anchor);this._EP1=this._0F1._MC1(_5u);this._dO1=this._1F1._1r1()-this._0F1._1r1();},_Aq1:function(data,_4G1,_LN1){this.parent.prototype._Aq1.call(this,data,_4G1,_LN1);this._bO1._Aq1(data['localAnchorA']);this._cO1._Aq1(data['localAnchorB']);this._EP1._Aq1(data['localAxisA']);this._dO1=data['referenceAngle'];this._iO1=data['enableLimit'];this._FP1=data['lowerTranslation'];this._GP1=data['upperTranslation'];
this._jO1=data['enableMotor'];this._HP1=data['maxMotorForce'];this._hO1=data['motorSpeed'];}};_DP1._4p1(_JN1);function _1O1(_5C1){this.parent.call(this,_5C1);this._kO1=_5C1._bO1._a2();this._lO1=_5C1._cO1._a2();this._IP1=_5C1._EP1._a2();this._IP1._vq1();this._JP1=_jr1(1.0,this._IP1);this._mO1=_5C1._dO1;this._nO1=new _Cq1();this._EO1=0.0;this._oO1=0.0;this._KP1=_5C1._FP1;this._LP1=_5C1._GP1;this._MP1=_5C1._HP1;this._sO1=_5C1._hO1;this._tO1=_5C1._iO1;this._uO1=_5C1._jO1;this._vO1=_WE1._PN1;this._LA1=new _mq1();
this._NP1=new _mq1();this._8L1=0;this._9L1=0;this._yO1=new _mq1();this._zO1=new _mq1();this._AO1=0;this._BO1=0;this._CO1=0;this._DO1=0;this._OP1=0,this._PP1=0;this._QP1=0,this._RP1=0;this._SP1=new _Oq1();this._EO1=0;}_1O1.prototype={_aG1:function(){return this._ZE1._HC1(this._kO1);},_bG1:function(){return this._YE1._HC1(this._lO1);},_MN1:function(_4E1){return _mq1.Multiply(_4E1,_mq1._Ke(_mq1.Multiply(this._nO1.x,this._NP1),_mq1.Multiply((this._oO1+this._nO1.z),this._LA1)));},_NN1:function(_4E1){return _4E1*this._nO1.y;
},_FO1:function(){return this._kO1;},_GO1:function(){return this._lO1;},_TP1:function(){return this._IP1;},_HO1:function(){return this._mO1;},_UP1:function(){var _hv1=this._ZE1._HC1(this._kO1);var _iv1=this._YE1._HC1(this._lO1);var _Fl=_mq1._tq1(_iv1,_hv1);var _5u=this._ZE1._IC1(this._IP1);var _EN1=_gr1(_Fl,_5u);return _EN1;},_JO1:function(){var _YF1=this._ZE1;var _ZF1=this._YE1;var _2w1=_vr1(_YF1._Ay1.q,_mq1._tq1(this._kO1,_YF1._FB1._7r1));var _3w1=_vr1(_ZF1._Ay1.q,_mq1._tq1(this._lO1,_ZF1._FB1._7r1));var _4u=_mq1._Ke(_YF1._FB1.c,
_2w1);var _6s1=_mq1._Ke(_ZF1._FB1.c,_3w1);var _Fl=_mq1._tq1(_6s1,_4u);var _5u=_vr1(_YF1._Ay1.q,this._IP1);var _pM1=_YF1._KB1;var _rM1=_ZF1._KB1;var _0v1=_YF1._LB1;var _1v1=_ZF1._LB1;var speed=_gr1(_Fl,_jr1(_0v1,_5u))+_gr1(_5u,_mq1._tq1(_mq1._tq1(_mq1._Ke(_rM1,_jr1(_1v1,_3w1)),_pM1),_jr1(_0v1,_2w1)));return speed;},_KO1:function(){return this._tO1;},_LO1:function(_0D1){if(_0D1!=this._tO1){this._ZE1._141(true);this._YE1._141(true);this._tO1=_0D1;this._nO1.z=0.0;}},_MO1:function(){return this._KP1;},_NO1:function(){
return this._LP1;},_OO1:function(_XW,_Bt1){_yp1(_XW<=_Bt1);if(_XW!=this._KP1||_Bt1!=this._LP1){this._ZE1._141(true);this._YE1._141(true);this._KP1=_XW;this._LP1=_Bt1;this._nO1.z=0.0;}},_PO1:function(){return this._uO1;},_d51:function(_0D1){this._ZE1._141(true);this._YE1._141(true);this._uO1=_0D1;},_QO1:function(speed){this._ZE1._141(true);this._YE1._141(true);this._sO1=speed;},_RO1:function(){return this._sO1;},_VP1:function(_xC1){this._ZE1._141(true);this._YE1._141(true);this._MP1=_xC1;},_WP1:function(){
return this._MP1;},_XP1:function(_4E1){return _4E1*this._oO1;},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;this._yO1=this._ZE1._FB1._7r1;this._zO1=this._YE1._FB1._7r1;this._AO1=this._ZE1._UB1;this._BO1=this._YE1._UB1;this._CO1=this._ZE1._WB1;this._DO1=this._YE1._WB1;var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;
var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));var _Fl=_mq1._Ke(_mq1._tq1(_eF1,_cF1),_mq1._tq1(_3w1,_2w1));var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;{this._LA1=_vr1(_VO1,this._IP1);this._QP1=_hr1(_mq1._Ke(_Fl,_2w1),this._LA1);this._RP1=_hr1(_3w1,this._LA1);this._EO1=_mM1+_nM1+_kA1*this._QP1*this._QP1+_lA1*this._RP1*this._RP1;
if(this._EO1>0.0){this._EO1=1.0/this._EO1;}}{this._NP1=_vr1(_VO1,this._JP1);this._OP1=_hr1(_mq1._Ke(_Fl,_2w1),this._NP1);this._PP1=_hr1(_3w1,this._NP1);var _FM1=_mM1+_nM1+_kA1*this._OP1*this._OP1+_lA1*this._PP1*this._PP1;var _HM1=_kA1*this._OP1+_lA1*this._PP1;var _YP1=_kA1*this._OP1*this._QP1+_lA1*this._PP1*this._RP1;var _GM1=_kA1+_lA1;if(_GM1==0.0){_GM1=1.0;}var _ZP1=_kA1*this._QP1+_lA1*this._RP1;var __P1=_mM1+_nM1+_kA1*this._QP1*this._QP1+_lA1*this._RP1*this._RP1;this._SP1._fj.Set(_FM1,_HM1,_YP1);this._SP1._SL.Set(_HM1,
_GM1,_ZP1);this._SP1._Qq1.Set(_YP1,_ZP1,__P1);}if(this._tO1){var _0Q1=_gr1(this._LA1,_Fl);if(_Fr1(this._LP1-this._KP1)<2.0*_Hp1){this._vO1=_WE1._SN1;}else if(_0Q1<=this._KP1){if(this._vO1!=_WE1._QN1){this._vO1=_WE1._QN1;this._nO1.z=0.0;}}else if(_0Q1>=this._LP1){if(this._vO1!=_WE1._RN1){this._vO1=_WE1._RN1;this._nO1.z=0.0;}}else {this._vO1=_WE1._PN1;this._nO1.z=0.0;}}else {this._vO1=_WE1._PN1;this._nO1.z=0.0;}if(this._uO1==false){this._oO1=0.0;}if(data.step._8E1){this._nO1.Multiply(data.step._5E1);this._oO1*=data.step._5E1;
var _ey1=_mq1._Ke(_mq1.Multiply(this._nO1.x,this._NP1),_mq1.Multiply((this._oO1+this._nO1.z),this._LA1));var _1Q1=this._nO1.x*this._OP1+this._nO1.y+(this._oO1+this._nO1.z)*this._QP1;var _2Q1=this._nO1.x*this._PP1+this._nO1.y+(this._oO1+this._nO1.z)*this._RP1;_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*_1Q1;_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*_2Q1;}else {this._nO1._nq1();this._oO1=0.0;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;
},_KM1:function(data){var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;if(this._uO1&&this._vO1!=_WE1._SN1){var _YO1=_gr1(this._LA1,_mq1._tq1(_rM1,_pM1))+this._RP1*_1v1-this._QP1*_0v1;var _CC1=this._EO1*(this._sO1-_YO1);var _ZO1=this._oO1;var __O1=data.step._EC*this._MP1;this._oO1=_Mr1(this._oO1+_CC1,-__O1,__O1);_CC1=this._oO1-_ZO1;var _ey1=_mq1.Multiply(_CC1,
this._LA1);var _1Q1=_CC1*this._QP1;var _2Q1=_CC1*this._RP1;_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*_1Q1;_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*_2Q1;}var _0P1=new _mq1();_0P1.x=_gr1(this._NP1,_mq1._tq1(_rM1,_pM1))+this._PP1*_1v1-this._OP1*_0v1;_0P1.y=_1v1-_0v1;if(this._tO1&&this._vO1!=_WE1._PN1){var _1P1;_1P1=_gr1(this._LA1,_mq1._tq1(_rM1,_pM1))+this._RP1*_1v1-this._QP1*_0v1;var _YO1=new _Cq1(_0P1.x,_0P1.y,_1P1);var _zY=this._nO1._a2();var _3Q1=this._SP1._Rq1(_YO1._qq1());this._nO1._Ke(_3Q1);
if(this._vO1==_WE1._QN1){this._nO1.z=_Kr1(this._nO1.z,0.0);}else if(this._vO1==_WE1._RN1){this._nO1.z=_Ir1(this._nO1.z,0.0);}var _k3=_mq1._tq1(_0P1._qq1(),_mq1.Multiply((this._nO1.z-_zY.z),new _mq1(this._SP1._Qq1.x,this._SP1._Qq1.y)));var _4Q1=_mq1._Ke(this._SP1._Uq1(_k3),new _mq1(_zY.x,_zY.y));this._nO1.x=_4Q1.x;this._nO1.y=_4Q1.y;_3Q1=_Cq1._tq1(this._nO1,_zY);var _ey1=_mq1._Ke(_mq1.Multiply(_3Q1.x,this._NP1),_mq1.Multiply(_3Q1.z,this._LA1));var _1Q1=_3Q1.x*this._OP1+_3Q1.y+_3Q1.z*this._QP1;var _2Q1=_3Q1.x*this._PP1+_3Q1.y+_3Q1.z*this._RP1;
_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*_1Q1;_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*_2Q1;}else {var _3Q1=this._SP1._Uq1(_0P1._qq1());this._nO1.x+=_3Q1.x;this._nO1.y+=_3Q1.y;var _ey1=_mq1.Multiply(_3Q1.x,this._NP1);var _1Q1=_3Q1.x*this._OP1+_3Q1.y;var _2Q1=_3Q1.x*this._PP1+_3Q1.y;_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*_1Q1;_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*_2Q1;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;
},_4N1:function(data){var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));var _Fl=_mq1._tq1(_mq1._tq1(_mq1._Ke(_eF1,_3w1),_cF1),_2w1);var _5u=_vr1(_VO1,this._IP1);var _Si1=_hr1(_mq1._Ke(_Fl,_2w1),_5u);var _Ti1=_hr1(_3w1,
_5u);var _5Q1=_vr1(_VO1,this._JP1);var _MA=_hr1(_mq1._Ke(_Fl,_2w1),_5Q1);var _NA=_hr1(_3w1,_5Q1);var _CC1=new _Cq1();var _6Q1=new _mq1();_6Q1.x=_gr1(_5Q1,_Fl);_6Q1.y=_qM1-_oM1-this._mO1;var _7Q1=_Fr1(_6Q1.x);var _4P1=_Fr1(_6Q1.y);var active=false;var _8Q1=0.0;if(this._tO1){var _EN1=_gr1(_5u,_Fl);if(_Fr1(this._LP1-this._KP1)<2.0*_Hp1){_8Q1=_Mr1(_EN1,-_Np1,_Np1);_7Q1=_Kr1(_7Q1,_Fr1(_EN1));active=true;}else if(_EN1<=this._KP1){_8Q1=_Mr1(_EN1-this._KP1+_Hp1,-_Np1,0.0);_7Q1=_Kr1(_7Q1,this._KP1-_EN1);active=true;}
else if(_EN1>=this._LP1){_8Q1=_Mr1(_EN1-this._LP1-_Hp1,0.0,_Np1);_7Q1=_Kr1(_7Q1,_EN1-this._LP1);active=true;}}if(active){var _FM1=_mM1+_nM1+_kA1*_MA*_MA+_lA1*_NA*_NA;var _HM1=_kA1*_MA+_lA1*_NA;var _YP1=_kA1*_MA*_Si1+_lA1*_NA*_Ti1;var _GM1=_kA1+_lA1;if(_GM1==0.0){_GM1=1.0;}var _ZP1=_kA1*_Si1+_lA1*_Ti1;var __P1=_mM1+_nM1+_kA1*_Si1*_Si1+_lA1*_Ti1*_Ti1;var _2M1=new _Oq1();_2M1._fj.Set(_FM1,_HM1,_YP1);_2M1._SL.Set(_HM1,_GM1,_ZP1);_2M1._Qq1.Set(_YP1,_ZP1,__P1);var _Br1=new _Cq1();_Br1.x=_6Q1.x;_Br1.y=_6Q1.y;_Br1.z=_8Q1;
_CC1=_2M1._Rq1(_Br1._qq1());}else {var _FM1=_mM1+_nM1+_kA1*_MA*_MA+_lA1*_NA*_NA;var _HM1=_kA1*_MA+_lA1*_NA;var _GM1=_kA1+_lA1;if(_GM1==0.0){_GM1=1.0;}var _2M1=new _Eq1();_2M1._fj.Set(_FM1,_HM1);_2M1._SL.Set(_HM1,_GM1);var _9Q1=_2M1._Jq1(_6Q1._qq1());_CC1.x=_9Q1.x;_CC1.y=_9Q1.y;_CC1.z=0.0;}var _ey1=_mq1._Ke(_mq1.Multiply(_CC1.x,_5Q1),_mq1.Multiply(_CC1.z,_5u));var _1Q1=_CC1.x*_MA+_CC1.y+_CC1.z*_Si1;var _2Q1=_CC1.x*_NA+_CC1.y+_CC1.z*_Ti1;_cF1._tq1(_mq1.Multiply(_mM1,_ey1));_oM1-=_kA1*_1Q1;_eF1._Ke(_mq1.Multiply(_nM1,
_ey1));_qM1+=_lA1*_2Q1;data._cE1[this._8L1].c._pP(_cF1);data._cE1[this._8L1]._l3=_oM1;data._cE1[this._9L1].c._pP(_eF1);data._cE1[this._9L1]._l3=_qM1;return _7Q1<=_Hp1&&_4P1<=_Ip1;},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['localAnchorA']=this._kO1._zq1();_Tf['localAnchorB']=this._lO1._zq1();_Tf['localAxisA']=this._IP1._zq1();_Tf['referenceAngle']=this._mO1;_Tf['enableLimit']=this._tO1;_Tf['lowerTranslation']=this._KP1;_Tf['upperTranslation']=this._LP1;_Tf['enableMotor']=this._uO1;
_Tf['maxMotorForce']=this._MP1;_Tf['motorSpeed']=this._sO1;return _Tf;}};_1O1._4p1(_WE1);function _aQ1(){this.parent.call(this);this.type=_WE1._YN1;this._bO1=new _mq1();this._cO1=new _mq1();this._8P1=0.0;this._bQ1=0.0;Object.seal(this);}_aQ1.prototype={_sw1:function(_YF1,_ZF1,anchor){this._0F1=_YF1;this._1F1=_ZF1;this._bO1._pP(this._0F1._KC1(anchor));this._cO1._pP(this._1F1._KC1(anchor));},_Aq1:function(data,_4G1,_LN1){this.parent.prototype._Aq1.call(this,data,_4G1,_LN1);this._bO1._Aq1(data['localAnchorA']);
this._cO1._Aq1(data['localAnchorB']);this._8P1=data['maxForce'];this._bQ1=data['maxTorque'];}};_aQ1._4p1(_JN1);function _7O1(_5C1){this.parent.call(this,_5C1);this._kO1=_5C1._bO1._a2();this._lO1=_5C1._cO1._a2();this._cQ1=new _mq1();this._dQ1=0.0;this._cP1=_5C1._8P1;this._eQ1=_5C1._bQ1;this._8L1=0;this._9L1=0;this._wO1=new _mq1();this._xO1=new _mq1();this._yO1=new _mq1();this._zO1=new _mq1();this._AO1=0;this._BO1=0;this._CO1=0;this._DO1=0;this._fQ1=new _Eq1();this._gQ1=0;}_7O1.prototype={_aG1:function(){
return this._ZE1._HC1(this._kO1);},_bG1:function(){return this._YE1._HC1(this._lO1);},_MN1:function(_4E1){return _mq1.Multiply(_4E1,this._cQ1);},_NN1:function(_4E1){return _4E1*this._dQ1;},_FO1:function(){return this._kO1;},_GO1:function(){return this._lO1;},_kP1:function(_xC1){_yp1(_cq1(_xC1)&&_xC1>=0.0);this._cP1=_xC1;},_lP1:function(){return this._cP1;},_hQ1:function(_AC1){_yp1(_cq1(_AC1)&&_AC1>=0.0);this._eQ1=_AC1;},_iQ1:function(){return this._eQ1;},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;
this._yO1._pP(this._ZE1._FB1._7r1);this._zO1._pP(this._YE1._FB1._7r1);this._AO1=this._ZE1._UB1;this._BO1=this._YE1._UB1;this._CO1=this._ZE1._WB1;this._DO1=this._YE1._WB1;var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);this._wO1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));this._xO1=_vr1(_WO1,_mq1._tq1(this._lO1,
this._zO1));var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var _2M1=new _Eq1();_2M1._fj.x=_mM1+_nM1+_kA1*this._wO1.y*this._wO1.y+_lA1*this._xO1.y*this._xO1.y;_2M1._fj.y=-_kA1*this._wO1.x*this._wO1.y-_lA1*this._xO1.x*this._xO1.y;_2M1._SL.x=_2M1._fj.y;_2M1._SL.y=_mM1+_nM1+_kA1*this._wO1.x*this._wO1.x+_lA1*this._xO1.x*this._xO1.x;this._fQ1=_2M1._Gq1();this._gQ1=_kA1+_lA1;if(this._gQ1>0.0){this._gQ1=1.0/this._gQ1;}if(data.step._8E1){this._cQ1.Multiply(data.step._5E1);this._dQ1*=data.step._5E1;
var _ey1=new _mq1(this._cQ1.x,this._cQ1.y);_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*(_hr1(this._wO1,_ey1)+this._dQ1);_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*(_hr1(this._xO1,_ey1)+this._dQ1);}else {this._cQ1._nq1();this._dQ1=0.0;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_KM1:function(data){var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;
var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var h=data.step._EC;{var _YO1=_1v1-_0v1;var _CC1=-this._gQ1*_YO1;var _ZO1=this._dQ1;var __O1=h*this._eQ1;this._dQ1=_Mr1(this._dQ1+_CC1,-__O1,__O1);_CC1=this._dQ1-_ZO1;_0v1-=_kA1*_CC1;_1v1+=_lA1*_CC1;}{var _1P1=_mq1._Ke(_rM1,_mq1._tq1(_jr1(_1v1,this._xO1),_mq1._tq1(_pM1,_jr1(_0v1,this._wO1))));var _jQ1=_kr1(this._fQ1,_1P1)._qq1();var _kQ1=this._cQ1._a2();this._cQ1._Ke(_jQ1);var _lQ1=h*this._cP1;if(this._cQ1._uq1()>_lQ1*_lQ1){this._cQ1._vq1();
this._cQ1.Multiply(_lQ1);}_jQ1=_mq1._tq1(this._cQ1,_kQ1);_pM1._tq1(_mq1.Multiply(_mM1,_jQ1));_0v1-=_kA1*_hr1(this._wO1,_jQ1);_rM1._Ke(_mq1.Multiply(_nM1,_jQ1));_1v1+=_lA1*_hr1(this._xO1,_jQ1);}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_4N1:function(data){return true;},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['localAnchorA']=this._kO1._zq1();_Tf['localAnchorB']=this._lO1._zq1();
_Tf['maxForce']=this._cP1;_Tf['maxTorque']=this._eQ1;return _Tf;}};_7O1._4p1(_WE1);function _mQ1(){this.parent.call(this);this.type=_WE1._XN1;this._bO1=new _mq1(0.0,0.0);this._cO1=new _mq1(0.0,0.0);this._dO1=0.0;this._9P1=0.0;this._aP1=0.0;Object.seal(this);}_mQ1.prototype={_sw1:function(_YF1,_ZF1,anchor){this._0F1=_YF1;this._1F1=_ZF1;this._bO1._pP(this._0F1._KC1(anchor));this._cO1._pP(this._1F1._KC1(anchor));this._dO1=this._1F1._1r1()-this._0F1._1r1();},_Aq1:function(data,_4G1,_LN1){this.parent.prototype._Aq1.call(this,
data,_4G1,_LN1);this._bO1._Aq1(data['localAnchorA']);this._cO1._Aq1(data['localAnchorB']);this._dO1=data['referenceAngle'];this._9P1=data['frequencyHz'];this._aP1=data['dampingRatio'];}};_mQ1._4p1(_JN1);function _6O1(_5C1){this.parent.call(this,_5C1);this._uP1=0;this._gP1=0;this._8L1=0;this._9L1=0;this._wO1=new _mq1();this._xO1=new _mq1();this._yO1=new _mq1();this._zO1=new _mq1();this._AO1=0;this._BO1=0;this._CO1=0;this._DO1=0;this._TB1=new _Oq1();this._kO1=_5C1._bO1._a2();this._lO1=_5C1._cO1._a2();this._mO1=_5C1._dO1;
this._dP1=_5C1._9P1;this._eP1=_5C1._aP1;this._nO1=new _Cq1();}_6O1.prototype={_aG1:function(){return this._ZE1._HC1(this._kO1);},_bG1:function(){return this._YE1._HC1(this._lO1);},_MN1:function(_4E1){var _ey1=new _mq1(this._nO1.x,this._nO1.y);return _mq1.Multiply(_4E1,_ey1);},_NN1:function(_4E1){return _4E1*this._nO1.z;},_FO1:function(){return this._kO1;},_GO1:function(){return this._lO1;},_HO1:function(){return this._mO1;},_mP1:function(_nP1){this._dP1=_nP1;},_oP1:function(){return this._dP1;},_pP1:function(ratio){
this._eP1=ratio;},_qP1:function(){return this._eP1;},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;this._yO1._pP(this._ZE1._FB1._7r1);this._zO1._pP(this._YE1._FB1._7r1);this._AO1=this._ZE1._UB1;this._BO1=this._YE1._UB1;this._CO1=this._ZE1._WB1;this._DO1=this._YE1._WB1;var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _VO1=new _0r1(_oM1),
_WO1=new _0r1(_qM1);this._wO1._pP(_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1)));this._xO1._pP(_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1)));var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var _2M1=new _Oq1();_2M1._fj.x=_mM1+_nM1+this._wO1.y*this._wO1.y*_kA1+this._xO1.y*this._xO1.y*_lA1;_2M1._SL.x=-this._wO1.y*this._wO1.x*_kA1-this._xO1.y*this._xO1.x*_lA1;_2M1._Qq1.x=-this._wO1.y*_kA1-this._xO1.y*_lA1;_2M1._fj.y=_2M1._SL.x;_2M1._SL.y=_mM1+_nM1+this._wO1.x*this._wO1.x*_kA1+this._xO1.x*this._xO1.x*_lA1;
_2M1._Qq1.y=this._wO1.x*_kA1+this._xO1.x*_lA1;_2M1._fj.z=_2M1._Qq1.x;_2M1._SL.z=_2M1._Qq1.y;_2M1._Qq1.z=_kA1+_lA1;if(this._dP1>0.0){_2M1._Vq1(this._TB1);var _nQ1=_kA1+_lA1;var _z5=_nQ1>0.0?1.0/_nQ1:0.0;var _Br1=_qM1-_oM1-this._mO1;var _461=2.0*_Cp1*this._dP1;var _Fl=2.0*_z5*this._eP1*_461;var _qk=_z5*_461*_461;var h=data.step._EC;this._gP1=h*(_Fl+h*_qk);this._gP1=this._gP1!=0.0?1.0/this._gP1:0.0;this._uP1=_Br1*h*_qk*this._gP1;_nQ1+=this._gP1;this._TB1._Qq1.z=_nQ1!=0.0?1.0/_nQ1:0.0;}else {_2M1._Xq1(this._TB1);
this._gP1=0.0;this._uP1=0.0;}if(data.step._8E1){this._nO1.Multiply(data.step._5E1);var _ey1=new _mq1(this._nO1.x,this._nO1.y);_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*(_hr1(this._wO1,_ey1)+this._nO1.z);_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*(_hr1(this._xO1,_ey1)+this._nO1.z);}else {this._nO1._nq1();}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_KM1:function(data){var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;
var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;if(this._dP1>0.0){var _1P1=_1v1-_0v1;var _jQ1=-this._TB1._Qq1.z*(_1P1+this._uP1+this._gP1*this._nO1.z);this._nO1.z+=_jQ1;_0v1-=_kA1*_jQ1;_1v1+=_lA1*_jQ1;var _0P1=_mq1._tq1(_mq1._tq1(_mq1._Ke(_rM1,_jr1(_1v1,this._xO1)),_pM1),_jr1(_0v1,this._wO1));var _9Q1=_rr1(this._TB1,_0P1)._qq1();this._nO1.x+=_9Q1.x;this._nO1.y+=_9Q1.y;var _ey1=_9Q1._a2();_pM1._tq1(_mq1.Multiply(_mM1,
_ey1));_0v1-=_kA1*_hr1(this._wO1,_ey1);_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*_hr1(this._xO1,_ey1);}else {var _0P1=_mq1._tq1(_mq1._tq1(_mq1._Ke(_rM1,_jr1(_1v1,this._xO1)),_pM1),_jr1(_0v1,this._wO1));var _1P1=_1v1-_0v1;var _YO1=new _Cq1(_0P1.x,_0P1.y,_1P1);var _CC1=_qr1(this._TB1,_YO1)._qq1();this._nO1._Ke(_CC1);var _ey1=new _mq1(_CC1.x,_CC1.y);_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*(_hr1(this._wO1,_ey1)+_CC1.z);_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*(_hr1(this._xO1,_ey1)+_CC1.z);}data._dE1[this._8L1]._14._pP(_pM1);
data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_4N1:function(data){var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));var _5P1,_4P1;var _2M1=new _Oq1();_2M1._fj.x=_mM1+_nM1+_2w1.y*_2w1.y*_kA1+_3w1.y*_3w1.y*_lA1;
_2M1._SL.x=-_2w1.y*_2w1.x*_kA1-_3w1.y*_3w1.x*_lA1;_2M1._Qq1.x=-_2w1.y*_kA1-_3w1.y*_lA1;_2M1._fj.y=_2M1._SL.x;_2M1._SL.y=_mM1+_nM1+_2w1.x*_2w1.x*_kA1+_3w1.x*_3w1.x*_lA1;_2M1._Qq1.y=_2w1.x*_kA1+_3w1.x*_lA1;_2M1._fj.z=_2M1._Qq1.x;_2M1._SL.z=_2M1._Qq1.y;_2M1._Qq1.z=_kA1+_lA1;if(this._dP1>0.0){var _6Q1=_mq1._tq1(_mq1._tq1(_mq1._Ke(_eF1,_3w1),_cF1),_2w1);_5P1=_6Q1.Length();_4P1=0.0;var _ey1=_2M1._Uq1(_6Q1)._qq1();_cF1._tq1(_mq1.Multiply(_mM1,_ey1));_oM1-=_kA1*_hr1(_2w1,_ey1);_eF1._Ke(_mq1.Multiply(_nM1,
_ey1));_qM1+=_lA1*_hr1(_3w1,_ey1);}else {var _6Q1=_mq1._tq1(_mq1._tq1(_mq1._Ke(_eF1,_3w1),_cF1),_2w1);var _8Q1=_qM1-_oM1-this._mO1;_5P1=_6Q1.Length();_4P1=_Fr1(_8Q1);var _Br1=new _Cq1(_6Q1.x,_6Q1.y,_8Q1);var _CC1=_2M1._Rq1(_Br1)._qq1();var _ey1=new _mq1(_CC1.x,_CC1.y);_cF1._tq1(_mq1.Multiply(_mM1,_ey1));_oM1-=_kA1*(_hr1(_2w1,_ey1)+_CC1.z);_eF1._Ke(_mq1.Multiply(_nM1,_ey1));_qM1+=_lA1*(_hr1(_3w1,_ey1)+_CC1.z);}data._cE1[this._8L1].c._pP(_cF1);data._cE1[this._8L1]._l3=_oM1;data._cE1[this._9L1].c._pP(_eF1);
data._cE1[this._9L1]._l3=_qM1;return _5P1<=_Hp1&&_4P1<=_Ip1;},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['localAnchorA']=this._kO1._zq1();_Tf['localAnchorB']=this._lO1._zq1();_Tf['referenceAngle']=this._mO1;_Tf['frequencyHz']=this._dP1;_Tf['dampingRatio']=this._eP1;return _Tf;}};_6O1._4p1(_WE1);function _oQ1(){this.parent.call(this);this.type=_WE1._WN1;this._bO1=new _mq1();this._cO1=new _mq1();this._EP1=new _mq1(1.0,0.0);this._jO1=false;this._gO1=0.0;this._hO1=0.0;
this._9P1=2.0;this._aP1=0.7;Object.seal(this);}_oQ1.prototype={_sw1:function(_YF1,_ZF1,anchor,_5u){this._0F1=_YF1;this._1F1=_ZF1;this._bO1._pP(this._0F1._KC1(anchor));this._cO1._pP(this._1F1._KC1(anchor));this._EP1._pP(this._0F1._MC1(_5u));},_Aq1:function(data,_4G1,_LN1){this.parent.prototype._Aq1.call(this,data,_4G1,_LN1);this._bO1._Aq1(data['localAnchorA']);this._cO1._Aq1(data['localAnchorB']);this._EP1._Aq1(data['localAxisA']);this._jO1=data['enableMotor'];this._gO1=data['maxMotorTorque'];this._hO1=data['motorSpeed'];
this._9P1=data['frequencyHz'];this._aP1=data['dampingRatio'];}};_oQ1._4p1(_JN1);function _5O1(_5C1){this.parent.call(this,_5C1);this._8L1=0;this._9L1=0;this._yO1=new _mq1();this._zO1=new _mq1();this._AO1=0;this._BO1=0;this._CO1=0;this._DO1=0;this._kO1=_5C1._bO1._a2();this._lO1=_5C1._cO1._a2();this._IP1=_5C1._EP1._a2();this._JP1=_jr1(1.0,this._IP1);this._TB1=0.0;this._nO1=0.0;this._EO1=0.0;this._oO1=0.0;this._pQ1=0.0;this._qQ1=0.0;this._rO1=_5C1._gO1;this._sO1=_5C1._hO1;this._uO1=_5C1._jO1;this._dP1=_5C1._9P1;
this._eP1=_5C1._aP1;this._uP1=0.0;this._gP1=0.0;this._rQ1=new _mq1();this._sQ1=new _mq1();this._tQ1=this._uQ1=0;this._vQ1=this._wQ1=0;}_5O1.prototype={_aG1:function(){return this._ZE1._HC1(this._kO1);},_bG1:function(){return this._YE1._HC1(this._lO1);},_MN1:function(_4E1){return _mq1.Multiply(_4E1,_mq1._Ke(_mq1.Multiply(this._nO1,this._sQ1),_mq1.Multiply(this._qQ1,this._rQ1)));},_NN1:function(_4E1){return _4E1*this._oO1;},_FO1:function(){return this._kO1;},_GO1:function(){return this._lO1;},_TP1:function(){
return this._IP1;},_UP1:function(){var _YF1=this._ZE1;var _ZF1=this._YE1;var _hv1=_YF1._HC1(this._kO1);var _iv1=_ZF1._HC1(this._lO1);var _Fl=_mq1._tq1(_iv1,_hv1);var _5u=_YF1._IC1(this._IP1);var _EN1=_gr1(_Fl,_5u);return _EN1;},_JO1:function(){var _0v1=this._ZE1._LB1;var _1v1=this._YE1._LB1;return _1v1-_0v1;},_PO1:function(){return this._uO1;},_d51:function(_0D1){this._ZE1._141(true);this._YE1._141(true);this._uO1=_0D1;},_QO1:function(speed){this._ZE1._141(true);this._YE1._141(true);this._sO1=speed;},_RO1:function(){
return this._sO1;},_SO1:function(_AC1){this._ZE1._141(true);this._YE1._141(true);this._rO1=_AC1;},_TO1:function(){return this._rO1;},_UO1:function(_4E1){return _4E1*this._oO1;},_xQ1:function(_nP1){this._dP1=_nP1;},_yQ1:function(){return this._dP1;},_zQ1:function(ratio){this._eP1=ratio;},_AQ1:function(){return this._eP1;},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;this._yO1._pP(this._ZE1._FB1._7r1);this._zO1._pP(this._YE1._FB1._7r1);this._AO1=this._ZE1._UB1;this._BO1=this._YE1._UB1;
this._CO1=this._ZE1._WB1;this._DO1=this._YE1._WB1;var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));var _3w1=_vr1(_WO1,
_mq1._tq1(this._lO1,this._zO1));var _Fl=_mq1._tq1(_mq1._tq1(_mq1._Ke(_eF1,_3w1),_cF1),_2w1);{this._sQ1._pP(_vr1(_VO1,this._JP1));this._vQ1=_hr1(_mq1._Ke(_Fl,_2w1),this._sQ1);this._wQ1=_hr1(_3w1,this._sQ1);this._TB1=_mM1+_nM1+_kA1*this._vQ1*this._vQ1+_lA1*this._wQ1*this._wQ1;if(this._TB1>0.0){this._TB1=1.0/this._TB1;}}this._pQ1=0.0;this._uP1=0.0;this._gP1=0.0;if(this._dP1>0.0){this._rQ1._pP(_vr1(_VO1,this._IP1));this._tQ1=_hr1(_mq1._Ke(_Fl,_2w1),this._rQ1);this._uQ1=_hr1(_3w1,this._rQ1);var _AP1=_mM1+_nM1+_kA1*this._tQ1*this._tQ1+_lA1*this._uQ1*this._uQ1;
if(_AP1>0.0){this._pQ1=1.0/_AP1;var _Br1=_gr1(_Fl,this._rQ1);var _461=2.0*_Cp1*this._dP1;var _4D=2.0*this._pQ1*this._eP1*_461;var _qk=this._pQ1*_461*_461;var h=data.step._EC;this._gP1=h*(_4D+h*_qk);if(this._gP1>0.0){this._gP1=1.0/this._gP1;}this._uP1=_Br1*h*_qk*this._gP1;this._pQ1=_AP1+this._gP1;if(this._pQ1>0.0){this._pQ1=1.0/this._pQ1;}}}else {this._qQ1=0.0;}if(this._uO1){this._EO1=_kA1+_lA1;if(this._EO1>0.0){this._EO1=1.0/this._EO1;}}else {this._EO1=0.0;this._oO1=0.0;}if(data.step._8E1){this._nO1*=data.step._5E1;
this._qQ1*=data.step._5E1;this._oO1*=data.step._5E1;var _ey1=_mq1._Ke(_mq1.Multiply(this._nO1,this._sQ1),_mq1.Multiply(this._qQ1,this._rQ1));var _1Q1=this._nO1*this._vQ1+this._qQ1*this._tQ1+this._oO1;var _2Q1=this._nO1*this._wQ1+this._qQ1*this._uQ1+this._oO1;_pM1._tq1(_mq1.Multiply(this._AO1,_ey1));_0v1-=this._CO1*_1Q1;_rM1._Ke(_mq1.Multiply(this._BO1,_ey1));_1v1+=this._DO1*_2Q1;}else {this._nO1=0.0;this._qQ1=0.0;this._oO1=0.0;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);
data._dE1[this._9L1].w=_1v1;},_KM1:function(data){var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;{var _YO1=_gr1(this._rQ1,_mq1._tq1(_rM1,_pM1))+this._uQ1*_1v1-this._tQ1*_0v1;var _CC1=-this._pQ1*(_YO1+this._uP1+this._gP1*this._qQ1);this._qQ1+=_CC1;var _ey1=_mq1.Multiply(_CC1,this._rQ1);var _1Q1=_CC1*this._tQ1;var _2Q1=_CC1*this._uQ1;_pM1._tq1(_mq1.Multiply(_mM1,
_ey1));_0v1-=_kA1*_1Q1;_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*_2Q1;}{var _YO1=_1v1-_0v1-this._sO1;var _CC1=-this._EO1*_YO1;var _ZO1=this._oO1;var __O1=data.step._EC*this._rO1;this._oO1=_Mr1(this._oO1+_CC1,-__O1,__O1);_CC1=this._oO1-_ZO1;_0v1-=_kA1*_CC1;_1v1+=_lA1*_CC1;}{var _YO1=_gr1(this._sQ1,_mq1._tq1(_rM1,_pM1))+this._wQ1*_1v1-this._vQ1*_0v1;var _CC1=-this._TB1*_YO1;this._nO1+=_CC1;var _ey1=_mq1.Multiply(_CC1,this._sQ1);var _1Q1=_CC1*this._vQ1;var _2Q1=_CC1*this._wQ1;_pM1._tq1(_mq1.Multiply(_mM1,
_ey1));_0v1-=_kA1*_1Q1;_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*_2Q1;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_4N1:function(data){var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));
var _Fl=_mq1._Ke(_mq1._tq1(_eF1,_cF1),_mq1._tq1(_3w1,_2w1));var ay=_vr1(_VO1,this._JP1);var _BQ1=_hr1(_mq1._Ke(_Fl,_2w1),ay);var _CQ1=_hr1(_3w1,ay);var _Br1=_gr1(_Fl,ay);var _qk=this._AO1+this._BO1+this._CO1*this._vQ1*this._vQ1+this._DO1*this._wQ1*this._wQ1;var _CC1;if(_qk!=0.0){_CC1=-_Br1/_qk;}else {_CC1=0.0;}var _ey1=_mq1.Multiply(_CC1,ay);var _1Q1=_CC1*_BQ1;var _2Q1=_CC1*_CQ1;_cF1._tq1(_mq1.Multiply(this._AO1,_ey1));_oM1-=this._CO1*_1Q1;_eF1._Ke(_mq1.Multiply(this._BO1,_ey1));_qM1+=this._DO1*_2Q1;data._cE1[this._8L1].c._pP(_cF1);
data._cE1[this._8L1]._l3=_oM1;data._cE1[this._9L1].c._pP(_eF1);data._cE1[this._9L1]._l3=_qM1;return _Fr1(_Br1)<=_Hp1;},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['localAnchorA']=this._kO1._zq1();_Tf['localAnchorB']=this._lO1._zq1();_Tf['localAxisA']=this._DQ1._zq1();_Tf['enableMotor']=this._uO1;_Tf['maxMotorTorque']=this._rO1;_Tf['motorSpeed']=this._sO1;_Tf['frequencyHz']=this._dP1;_Tf['dampingRatio']=this._eP1;return _Tf;}};_5O1._4p1(_WE1);function _EQ1(){this.parent.call(this);
this.type=_WE1._VN1;this._FQ1=null;this._GQ1=null;this.ratio=1.0;Object.seal(this);}_EQ1.prototype={_Aq1:function(data,_4G1,_LN1){this.parent.prototype._Aq1.call(this,data,_4G1,_LN1);this._FQ1=data['joint1'];this._GQ1=data['joint2'];this.ratio=data['ratio'];}};_EQ1._4p1(_JN1);/// @warning You have to manually destroy the gear joint if joint1 or joint2
function _4O1(_5C1){this.parent.call(this,_5C1);this._HQ1=_5C1._FQ1;this._IQ1=_5C1._GQ1;this._JQ1=this._HQ1._Xk1();this._KQ1=this._IQ1._Xk1();_yp1(this._JQ1==_WE1._TN1||this._JQ1==_WE1._UN1);
_yp1(this._KQ1==_WE1._TN1||this._KQ1==_WE1._UN1);var _LQ1,_MQ1;this._NQ1=this._HQ1._8G1();this._ZE1=this._HQ1._9G1();var _tw1=this._ZE1._Ay1;var _oM1=this._ZE1._FB1._l3;var _OQ1=this._NQ1._Ay1;var _PQ1=this._NQ1._FB1._l3;this._kO1=new _mq1();this._lO1=new _mq1();this._QQ1=new _mq1();this._RQ1=new _mq1();this._SQ1=new _mq1();this._TQ1=new _mq1();if(this._JQ1==_WE1._TN1){var _UQ1=_5C1._FQ1;this._QQ1._pP(_UQ1._kO1);this._kO1._pP(_UQ1._lO1);this._VQ1=_UQ1._mO1;this._SQ1._nq1();_LQ1=_oM1-_PQ1-this._VQ1;}else {var _WQ1=_5C1._FQ1;
this._QQ1._pP(_WQ1._kO1);this._kO1._pP(_WQ1._lO1);this._VQ1=_WQ1._mO1;this._SQ1._pP(_WQ1._IP1);var _XQ1=this._QQ1;var _hv1=_wr1(_OQ1.q,_mq1._Ke(_vr1(_tw1.q,this._kO1),_mq1._tq1(_tw1._kg,_OQ1._kg)));_LQ1=_gr1(_mq1._tq1(_hv1,_XQ1),this._SQ1);}this._YQ1=this._IQ1._8G1();this._YE1=this._IQ1._9G1();var _vw1=this._YE1._Ay1;var _qM1=this._YE1._FB1._l3;var _ZQ1=this._YQ1._Ay1;var __Q1=this._YQ1._FB1._l3;if(this._KQ1==_WE1._TN1){var _UQ1=_5C1._GQ1;this._RQ1._pP(_UQ1._kO1);this._lO1._pP(_UQ1._lO1);this._0R1=_UQ1._mO1;
this._TQ1._nq1();_MQ1=_qM1-__Q1-this._0R1;}else {var _WQ1=_5C1._GQ1;this._RQ1._pP(_WQ1._kO1);this._lO1._pP(_WQ1._lO1);this._0R1=_WQ1._mO1;this._TQ1._pP(_WQ1._IP1);var _1R1=this._RQ1;var _iv1=_wr1(_ZQ1.q,_mq1._Ke(_vr1(_vw1.q,this._lO1),_mq1._tq1(_vw1._kg,_ZQ1._kg)));_MQ1=_gr1(_mq1._tq1(_iv1,_1R1),this._TQ1);}this._2R1=_5C1.ratio;this._3R1=_LQ1+this._2R1*_MQ1;this._nO1=0.0;this._8L1=this._9L1=this._4R1=this._5R1=0;this._6R1=new _mq1();this._7R1=new _mq1();this._8R1=new _mq1();this._9R1=new _mq1();this._aR1=this._bR1=this._cR1=this._dR1=0;
this._eR1=this._fR1=this._gR1=this._hR1=0;this._iR1=new _mq1(),this._jR1=new _mq1();this._kR1=this._lR1=this._mR1=this._nR1=0;this._TB1=0;}_4O1.prototype={_aG1:function(){return this._ZE1._HC1(this._kO1);},_bG1:function(){return this._YE1._HC1(this._lO1);},_MN1:function(_4E1){var _ey1=_mq1.Multiply(this._nO1,this._iR1);return _mq1.Multiply(_4E1,_ey1);},_NN1:function(_4E1){var _oR1=this._nO1*this._kR1;return _4E1*_oR1;},_pR1:function(){return this._HQ1;},_qR1:function(){return this._IQ1;},_rR1:function(ratio){
_yp1(_cq1(ratio));this._2R1=ratio;},_sR1:function(){return this._2R1;},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;this._4R1=this._NQ1._wB1;this._5R1=this._YQ1._wB1;this._6R1._pP(this._ZE1._FB1._7r1);this._7R1._pP(this._YE1._FB1._7r1);this._8R1._pP(this._NQ1._FB1._7r1);this._9R1._pP(this._YQ1._FB1._7r1);this._aR1=this._ZE1._UB1;this._bR1=this._YE1._UB1;this._cR1=this._NQ1._UB1;this._dR1=this._YQ1._UB1;this._eR1=this._ZE1._WB1;this._fR1=this._YE1._WB1;this._gR1=this._NQ1._WB1;
this._hR1=this._YQ1._WB1;var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _PQ1=data._cE1[this._4R1]._l3;var _tR1=data._dE1[this._4R1]._14._a2();var _uR1=data._dE1[this._4R1].w;var __Q1=data._cE1[this._5R1]._l3;var _vR1=data._dE1[this._5R1]._14._a2();var _wR1=data._dE1[this._5R1].w;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1),_xR1=new _0r1(_PQ1),_yR1=new _0r1(__Q1);
this._TB1=0.0;if(this._JQ1==_WE1._TN1){this._iR1._nq1();this._kR1=1.0;this._mR1=1.0;this._TB1+=this._eR1+this._gR1;}else {var _04=_vr1(_xR1,this._SQ1);var _zR1=_vr1(_xR1,_mq1._tq1(this._QQ1,this._8R1));var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._6R1));this._iR1._pP(_04);this._mR1=_hr1(_zR1,_04);this._kR1=_hr1(_2w1,_04);this._TB1+=this._cR1+this._aR1+this._gR1*this._mR1*this._mR1+this._eR1*this._kR1*this._kR1;}if(this._KQ1==_WE1._TN1){this._jR1._nq1();this._lR1=this._2R1;this._nR1=this._2R1;this._TB1+=this._2R1*this._2R1*(this._fR1+this._hR1);
}else {var _04=_vr1(_yR1,this._TQ1);var _AR1=_vr1(_yR1,_mq1._tq1(this._RQ1,this._9R1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._7R1));this._jR1._pP(_mq1.Multiply(this._2R1,_04));this._nR1=this._2R1*_hr1(_AR1,_04);this._lR1=this._2R1*_hr1(_3w1,_04);this._TB1+=this._2R1*this._2R1*(this._dR1+this._bR1)+this._hR1*this._nR1*this._nR1+this._fR1*this._lR1*this._lR1;}this._TB1=this._TB1>0.0?1.0/this._TB1:0.0;if(data.step._8E1){_pM1._Ke(_mq1.Multiply((this._aR1*this._nO1),this._iR1));_0v1+=this._eR1*this._nO1*this._kR1;
_rM1._Ke(_mq1.Multiply((this._bR1*this._nO1),this._jR1));_1v1+=this._fR1*this._nO1*this._lR1;_tR1._tq1(_mq1.Multiply((this._cR1*this._nO1),this._iR1));_uR1-=this._gR1*this._nO1*this._mR1;_vR1._tq1(_mq1.Multiply((this._dR1*this._nO1),this._jR1));_wR1-=this._hR1*this._nO1*this._nR1;}else {this._nO1=0.0;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;data._dE1[this._4R1]._14._pP(_tR1);data._dE1[this._4R1].w=_uR1;data._dE1[this._5R1]._14._pP(_vR1);
data._dE1[this._5R1].w=_wR1;},_KM1:function(data){var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _tR1=data._dE1[this._4R1]._14._a2();var _uR1=data._dE1[this._4R1].w;var _vR1=data._dE1[this._5R1]._14._a2();var _wR1=data._dE1[this._5R1].w;var _YO1=_gr1(this._iR1,_mq1._tq1(_pM1,_tR1))+_gr1(this._jR1,_mq1._tq1(_rM1,_vR1));_YO1+=(this._kR1*_0v1-this._mR1*_uR1)+(this._lR1*_1v1-this._nR1*_wR1);var _CC1=-this._TB1*_YO1;
this._nO1+=_CC1;_pM1._Ke(_mq1.Multiply((this._aR1*_CC1),this._iR1));_0v1+=this._eR1*_CC1*this._kR1;_rM1._Ke(_mq1.Multiply((this._bR1*_CC1),this._jR1));_1v1+=this._fR1*_CC1*this._lR1;_tR1._tq1(_mq1.Multiply((this._cR1*_CC1),this._iR1));_uR1-=this._gR1*_CC1*this._mR1;_vR1._tq1(_mq1.Multiply((this._dR1*_CC1),this._jR1));_wR1-=this._hR1*_CC1*this._nR1;data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;data._dE1[this._4R1]._14._pP(_tR1);
data._dE1[this._4R1].w=_uR1;data._dE1[this._5R1]._14._pP(_vR1);data._dE1[this._5R1].w=_wR1;},_4N1:function(data){var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _BR1=data._cE1[this._4R1].c._a2();var _PQ1=data._cE1[this._4R1]._l3;var _CR1=data._cE1[this._5R1].c._a2();var __Q1=data._cE1[this._5R1]._l3;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1),_xR1=new _0r1(_PQ1),_yR1=new _0r1(__Q1);var _7Q1=0.0;var _LQ1,_MQ1;var _DR1=new _mq1(),
_ER1=new _mq1();var _FR1,_GR1,_HR1,_IR1;var _ps1=0.0;if(this._JQ1==_WE1._TN1){_DR1._nq1();_FR1=1.0;_HR1=1.0;_ps1+=this._eR1+this._gR1;_LQ1=_oM1-_PQ1-this._VQ1;}else {var _04=_vr1(_xR1,this._SQ1);var _zR1=_vr1(_xR1,_mq1._tq1(this._QQ1,this._8R1));var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._6R1));_DR1._pP(_04);_HR1=_hr1(_zR1,_04);_FR1=_hr1(_2w1,_04);_ps1+=this._cR1+this._aR1+this._gR1*_HR1*_HR1+this._eR1*_FR1*_FR1;var _XQ1=_mq1._tq1(this._QQ1,this._8R1);var _hv1=_wr1(_xR1,_mq1._Ke(_2w1,_mq1._tq1(_cF1,_BR1)));
_LQ1=_gr1(_mq1._tq1(_hv1,_XQ1),this._SQ1);}if(this._KQ1==_WE1._TN1){_ER1._nq1();_GR1=this._2R1;_IR1=this._2R1;_ps1+=this._2R1*this._2R1*(this._fR1+this._hR1);_MQ1=_qM1-__Q1-this._0R1;}else {var _04=_vr1(_yR1,this._TQ1);var _AR1=_vr1(_yR1,_mq1._tq1(this._RQ1,this._9R1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._7R1));_ER1._pP(_mq1.Multiply(this._2R1,_04));_IR1=this._2R1*_hr1(_AR1,_04);_GR1=this._2R1*_hr1(_3w1,_04);_ps1+=this._2R1*this._2R1*(this._dR1+this._bR1)+this._hR1*_IR1*_IR1+this._fR1*_GR1*_GR1;
var _1R1=_mq1._tq1(this._RQ1,this._9R1);var _iv1=_wr1(_yR1,_mq1._Ke(_3w1,_mq1._tq1(_eF1,_CR1)));_MQ1=_gr1(_mq1._tq1(_iv1,_1R1),this._TQ1);}var _Br1=(_LQ1+this._2R1*_MQ1)-this._3R1;var _CC1=0.0;if(_ps1>0.0){_CC1=-_Br1/_ps1;}_cF1._Ke(_mq1.Multiply(this._aR1,_mq1.Multiply(_CC1,_DR1)));_oM1+=this._eR1*_CC1*_FR1;_eF1._Ke(_mq1.Multiply(this._bR1,_mq1.Multiply(_CC1,_ER1)));_qM1+=this._fR1*_CC1*_GR1;_BR1._tq1(_mq1.Multiply(this._cR1,_mq1.Multiply(_CC1,_DR1)));_PQ1-=this._gR1*_CC1*_HR1;_CR1._tq1(_mq1.Multiply(this._dR1,
_mq1.Multiply(_CC1,_ER1)));__Q1-=this._hR1*_CC1*_IR1;data._cE1[this._8L1].c._pP(_cF1);data._cE1[this._8L1]._l3=_oM1;data._cE1[this._9L1].c._pP(_eF1);data._cE1[this._9L1]._l3=_qM1;data._cE1[this._4R1].c._pP(_BR1);data._cE1[this._4R1]._l3=_PQ1;data._cE1[this._5R1].c._pP(_CR1);data._cE1[this._5R1]._l3=__Q1;return _7Q1<_Hp1;},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['joint1']=this._HQ1._JR1;_Tf['joint2']=this._IQ1._JR1;_Tf['ratio']=this._2R1;return _Tf;}};_4O1._4p1(_WE1);
function _KR1(){this.parent.call(this);this.type=_WE1._iG1;this._LR1=new _mq1();this._MR1=0.0;this._8P1=1.0;this._bQ1=1.0;this._NR1=0.3;Object.seal(this);}_KR1.prototype={_sw1:function(_YF1,_ZF1){this._0F1=_YF1;this._1F1=_ZF1;var _OR1=this._1F1._h31();this._LR1._pP(this._0F1._KC1(_OR1));var _PR1=this._0F1._1r1();var _QR1=this._1F1._1r1();this._MR1=_QR1-_PR1;},_Aq1:function(data,_4G1,_LN1){this.parent.prototype._Aq1.call(this,data,_4G1,_LN1);this._LR1._Aq1(data['linearOffset']);this._MR1=data['angularOffset'];
this._8P1=data['maxForce'];this._bQ1=data['maxTorque'];this._NR1=data['correctionFactor'];}};_KR1._4p1(_JN1);function _9O1(_5C1){this.parent.call(this,_5C1);this._RR1=_5C1._LR1._a2();this._SR1=_5C1._MR1;this._cQ1=new _mq1();this._dQ1=0.0;this._cP1=_5C1._8P1;this._eQ1=_5C1._bQ1;this._TR1=_5C1._NR1;this._8L1=0;this._9L1=0;this._wO1=new _mq1();this._xO1=new _mq1();this._yO1=new _mq1();this._zO1=new _mq1();this._UR1=new _mq1();this._VR1=0;this._AO1=0;this._BO1=0;this._CO1=0;this._DO1=0;this._fQ1=new _Eq1();
this._gQ1=0;}_9O1.prototype={_aG1:function(){return this._ZE1._h31();},_bG1:function(){return this._YE1._h31();},_MN1:function(_4E1){return _mq1.Multiply(_4E1,this._cQ1);},_NN1:function(_4E1){return _4E1*this._dQ1;},_WR1:function(_LR1){if(_LR1.x!=this._RR1.x||_LR1.y!=this._RR1.y){this._ZE1._141(true);this._YE1._141(true);this._RR1._pP(_LR1);}},_kG1:function(){return this._RR1;},_XR1:function(_MR1){if(_MR1!=this._SR1){this._ZE1._141(true);this._YE1._141(true);this._SR1=_MR1;}},_YR1:function(){return this._SR1;
},_kP1:function(_xC1){_yp1(_cq1(_xC1)&&_xC1>=0.0);this._cP1=_xC1;},_lP1:function(){return this._cP1;},_hQ1:function(_AC1){_yp1(_cq1(_AC1)&&_AC1>=0.0);this._eQ1=_AC1;},_iQ1:function(){return this._eQ1;},_ZR1:function(factor){_yp1(_cq1(factor)&&0.0<=factor&&factor<=1.0);this._TR1=factor;},__R1:function(){return this._TR1;},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;this._yO1._pP(this._ZE1._FB1._7r1);this._zO1._pP(this._YE1._FB1._7r1);this._AO1=this._ZE1._UB1;this._BO1=this._YE1._UB1;
this._CO1=this._ZE1._WB1;this._DO1=this._YE1._WB1;var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);this._wO1._pP(_vr1(_VO1,this._yO1._qq1()));this._xO1._pP(_vr1(_WO1,this._zO1._qq1()));var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,
_lA1=this._DO1;var _2M1=new _Eq1();_2M1._fj.x=_mM1+_nM1+_kA1*this._wO1.y*this._wO1.y+_lA1*this._xO1.y*this._xO1.y;_2M1._fj.y=-_kA1*this._wO1.x*this._wO1.y-_lA1*this._xO1.x*this._xO1.y;_2M1._SL.x=_2M1._fj.y;_2M1._SL.y=_mM1+_nM1+_kA1*this._wO1.x*this._wO1.x+_lA1*this._xO1.x*this._xO1.x;this._fQ1._pP(_2M1._Gq1());this._gQ1=_kA1+_lA1;if(this._gQ1>0.0){this._gQ1=1.0/this._gQ1;}this._UR1.x=_eF1.x+this._xO1.x-_cF1.x-this._wO1.x-(_VO1.c*this._RR1.x-_VO1._rh*this._RR1.y);this._UR1.y=_eF1.y+this._xO1.y-_cF1.y-this._wO1.y-(_VO1._rh*this._RR1.x+_VO1.c*this._RR1.y);
this._VR1=_qM1-_oM1-this._SR1;if(data.step._8E1){this._cQ1.Multiply(data.step._5E1);this._dQ1*=data.step._5E1;var _ey1=new _mq1(this._cQ1.x,this._cQ1.y);_pM1._tq1(_mq1.Multiply(_mM1,_ey1));_0v1-=_kA1*(_hr1(this._wO1,_ey1)+this._dQ1);_rM1._Ke(_mq1.Multiply(_nM1,_ey1));_1v1+=_lA1*(_hr1(this._xO1,_ey1)+this._dQ1);}else {this._cQ1._nq1();this._dQ1=0.0;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_KM1:function(data){var _pM1=data._dE1[this._8L1]._14._a2();
var _0v1=data._dE1[this._8L1].w;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _mM1=this._AO1,_nM1=this._BO1;var _kA1=this._CO1,_lA1=this._DO1;var h=data.step._EC;var _0S1=data.step._4E1;{var _YO1=_1v1-_0v1+_0S1*this._TR1*this._VR1;var _CC1=-this._gQ1*_YO1;var _ZO1=this._dQ1;var __O1=h*this._eQ1;this._dQ1=_Mr1(this._dQ1+_CC1,-__O1,__O1);_CC1=this._dQ1-_ZO1;_0v1-=_kA1*_CC1;_1v1+=_lA1*_CC1;}{var _YO1=new _mq1(_rM1.x+(-_1v1*this._xO1.x)-_pM1.x-(-_0v1*this._wO1.x)+_0S1*this._TR1*this._UR1.x,
_rM1.y+(_1v1*this._xO1.y)-_pM1.y-(_0v1*this._wO1.y)+_0S1*this._TR1*this._UR1.y);var _CC1=_kr1(this._fQ1,_YO1)._qq1();var _ZO1=this._cQ1._a2();this._cQ1._Ke(_CC1);var __O1=h*this._cP1;if(this._cQ1._uq1()>__O1*__O1){this._cQ1._vq1();this._cQ1.Multiply(__O1);}_CC1._pP(_mq1._tq1(this._cQ1,_ZO1));_pM1._tq1(_mq1.Multiply(_mM1,_CC1));_0v1-=_kA1*_hr1(this._wO1,_CC1);_rM1._Ke(_mq1.Multiply(_nM1,_CC1));_1v1+=_lA1*_hr1(this._xO1,_CC1);}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);
data._dE1[this._9L1].w=_1v1;},_4N1:function(data){return true;},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['linearOffset']=this._RR1._zq1();_Tf['angularOffset']=this._SR1;_Tf['maxForce']=this._cP1;_Tf['maxTorque']=this._eQ1;_Tf['correctionFactor']=this._TR1;return _Tf;}};_9O1._4p1(_WE1);var _1S1=2.0;function _2S1(){this.parent.call(this);this.type=_WE1._dG1;this._3S1=new _mq1(-1.0,1.0);this._4S1=new _mq1(1.0,1.0);this._bO1=new _mq1(-1.0,0.0);this._cO1=new _mq1(1.0,0.0);
this._5S1=0.0;this._6S1=0.0;this.ratio=1.0;this._2F1=true;Object.seal(this);}_2S1.prototype={_sw1:function(_YF1,_ZF1,_7S1,_8S1,_9S1,_aS1,_i3){this._0F1=_YF1;this._1F1=_ZF1;this._3S1._pP(_7S1);this._4S1._pP(_8S1);this._bO1._pP(this._0F1._KC1(_9S1));this._cO1._pP(this._1F1._KC1(_aS1));var _bS1=_mq1._tq1(_9S1,_7S1);this._5S1=_bS1.Length();var _cS1=_mq1._tq1(_aS1,_8S1);this._6S1=_cS1.Length();this.ratio=_i3;_yp1(this.ratio>_Bp1);},_Aq1:function(data,_4G1,_LN1){this.parent.prototype._Aq1.call(this,data,
_4G1,_LN1);this._3S1._Aq1(data['groundAnchorA']);this._4S1._Aq1(data['groundAnchorB']);this._bO1._Aq1(data['localAnchorA']);this._cO1._Aq1(data['localAnchorB']);this._5S1=data['lengthA'];this._6S1=data['lengthB'];this.ratio=data['ratio'];}};_2S1._4p1(_JN1);function _3O1(_5C1){this.parent.call(this,_5C1);this._8L1=0;this._9L1=0;this._dS1=new _mq1();this._eS1=new _mq1();this._wO1=new _mq1();this._xO1=new _mq1();this._yO1=new _mq1();this._zO1=new _mq1();this._AO1=0;this._BO1=0;this._CO1=0;this._DO1=0;this._TB1=0;
this._fS1=_5C1._3S1._a2();this._gS1=_5C1._4S1._a2();this._kO1=_5C1._bO1._a2();this._lO1=_5C1._cO1._a2();this._hS1=_5C1._5S1;this._iS1=_5C1._6S1;_yp1(_5C1.ratio!=0.0);this._2R1=_5C1.ratio;this._3R1=_5C1._5S1+this._2R1*_5C1._6S1;this._nO1=0.0;}_3O1.prototype={_aG1:function(){return this._ZE1._HC1(this._kO1);},_bG1:function(){return this._YE1._HC1(this._lO1);},_MN1:function(_4E1){var _ey1=_mq1.Multiply(this._nO1,this._eS1);return _mq1.Multiply(_4E1,_ey1);},_NN1:function(_4E1){return 0.0;},_fG1:function(){
return this._fS1;},_gG1:function(){return this._gS1;},_jS1:function(){return this._hS1;},_kS1:function(){return this._iS1;},_sR1:function(){return this._2R1;},_lS1:function(){var _kg=this._ZE1._HC1(this._kO1);var _rh=this._fS1;var _Fl=_mq1._tq1(_kg,_rh);return _Fl.Length();},_mS1:function(){var _kg=this._YE1._HC1(this._lO1);var _rh=this._gS1;var _Fl=_mq1._tq1(_kg,_rh);return _Fl.Length();},_Fu1:function(_Gu1){this._fS1._tq1(_Gu1);this._gS1._tq1(_Gu1);},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;
this._yO1._pP(this._ZE1._FB1._7r1);this._zO1._pP(this._YE1._FB1._7r1);this._AO1=this._ZE1._UB1;this._BO1=this._YE1._UB1;this._CO1=this._ZE1._WB1;this._DO1=this._YE1._WB1;var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);this._wO1._pP(_vr1(_VO1,
_mq1._tq1(this._kO1,this._yO1)));this._xO1._pP(_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1)));this._dS1._pP(_mq1._Ke(_cF1,_mq1._tq1(this._wO1,this._fS1)));this._eS1._pP(_mq1._Ke(_eF1,_mq1._tq1(this._xO1,this._gS1)));var _5S1=this._dS1.Length();var _6S1=this._eS1.Length();if(_5S1>10.0*_Hp1){this._dS1.Multiply(1.0/_5S1);}else {this._dS1._nq1();}if(_6S1>10.0*_Hp1){this._eS1.Multiply(1.0/_6S1);}else {this._eS1._nq1();}var _nS1=_hr1(this._wO1,this._dS1);var _oS1=_hr1(this._xO1,this._eS1);var _mM1=this._AO1+this._CO1*_nS1*_nS1;
var _nM1=this._BO1+this._DO1*_oS1*_oS1;this._TB1=_mM1+this._2R1*this._2R1*_nM1;if(this._TB1>0.0){this._TB1=1.0/this._TB1;}if(data.step._8E1){this._nO1*=data.step._5E1;var _pS1=_mq1.Multiply(-(this._nO1),this._dS1);var _qS1=_mq1.Multiply((-this._2R1*this._nO1),this._eS1);_pM1._Ke(_mq1.Multiply(this._AO1,_pS1));_0v1+=this._CO1*_hr1(this._wO1,_pS1);_rM1._Ke(_mq1.Multiply(this._BO1,_qS1));_1v1+=this._DO1*_hr1(this._xO1,_qS1);}else {this._nO1=0.0;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;
data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_KM1:function(data){var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _BP1=_mq1._Ke(_pM1,_jr1(_0v1,this._wO1));var _CP1=_mq1._Ke(_rM1,_jr1(_1v1,this._xO1));var _YO1=-_gr1(this._dS1,_BP1)-this._2R1*_gr1(this._eS1,_CP1);var _CC1=-this._TB1*_YO1;this._nO1+=_CC1;var _pS1=_mq1.Multiply(-_CC1,this._dS1);var _qS1=_mq1.Multiply(-this._2R1,_mq1.Multiply(_CC1,
this._eS1));_pM1._Ke(_mq1.Multiply(this._AO1,_pS1));_0v1+=this._CO1*_hr1(this._wO1,_pS1);_rM1._Ke(_mq1.Multiply(this._BO1,_qS1));_1v1+=this._DO1*_hr1(this._xO1,_qS1);data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_4N1:function(data){var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);var _2w1=_vr1(_VO1,
_mq1._tq1(this._kO1,this._yO1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));var _rS1=_mq1._Ke(_cF1,_mq1._tq1(_2w1,this._fS1));var _sS1=_mq1._Ke(_eF1,_mq1._tq1(_3w1,this._gS1));var _5S1=_rS1.Length();var _6S1=_sS1.Length();if(_5S1>10.0*_Hp1){_rS1.Multiply(1.0/_5S1);}else {_rS1._nq1();}if(_6S1>10.0*_Hp1){_sS1.Multiply(1.0/_6S1);}else {_sS1._nq1();}var _nS1=_hr1(_2w1,_rS1);var _oS1=_hr1(_3w1,_sS1);var _mM1=this._AO1+this._CO1*_nS1*_nS1;var _nM1=this._BO1+this._DO1*_oS1*_oS1;var _ps1=_mM1+this._2R1*this._2R1*_nM1;
if(_ps1>0.0){_ps1=1.0/_ps1;}var _Br1=this._3R1-_5S1-this._2R1*_6S1;var _7Q1=_Fr1(_Br1);var _CC1=-_ps1*_Br1;var _pS1=_mq1.Multiply(-_CC1,_rS1);var _qS1=_mq1.Multiply(-this._2R1,_mq1.Multiply(_CC1,_sS1));_cF1._Ke(_mq1.Multiply(this._AO1,_pS1));_oM1+=this._CO1*_hr1(_2w1,_pS1);_eF1._Ke(_mq1.Multiply(this._BO1,_qS1));_qM1+=this._DO1*_hr1(_3w1,_qS1);data._cE1[this._8L1].c._pP(_cF1);data._cE1[this._8L1]._l3=_oM1;data._cE1[this._9L1].c._pP(_eF1);data._cE1[this._9L1]._l3=_qM1;return _7Q1<_Hp1;},_zq1:function(out){
var _Tf=out||{};this.parent.prototype._zq1.call(this,_Tf);_Tf['groundAnchorA']=this._fS1._zq1();_Tf['groundAnchorB']=this._gS1._zq1();_Tf['localAnchorA']=this._kO1._zq1();_Tf['localAnchorB']=this._lO1._zq1();_Tf['lengthA']=this._hS1;_Tf['lengthB']=this._iS1;_Tf['ratio']=this._2R1;return _Tf;}};_3O1._4p1(_WE1);function _tS1(){this.parent.call(this);this.type=_WE1._ZN1;this._bO1=new _mq1(-1.0,0.0);this._cO1=new _mq1(1.0,0.0);this._uS1=0.0;Object.seal(this);}_tS1.prototype={_Aq1:function(data,_4G1,_LN1){
this.parent.prototype._Aq1.call(this,data,_4G1,_LN1);this._bO1._Aq1(data['localAnchorA']);this._cO1._Aq1(data['localAnchorB']);this._uS1=data['maxLength'];}};_tS1._4p1(_JN1);function _8O1(_5C1){this.parent.call(this,_5C1);this._kO1=_5C1._bO1._a2();this._lO1=_5C1._cO1._a2();this._vS1=_5C1._uS1;this._TB1=0.0;this._nO1=0.0;this._wS1=_WE1._PN1;this._YT=0.0;this._8L1=0;this._9L1=0;this._vP1=new _mq1();this._wO1=new _mq1();this._xO1=new _mq1();this._yO1=new _mq1();this._zO1=new _mq1();this._AO1=0;this._BO1=0;
this._CO1=0;this._DO1=0;}_8O1.prototype={_aG1:function(){return this._ZE1._HC1(this._kO1);},_bG1:function(){return this._YE1._HC1(this._lO1);},_MN1:function(_4E1){var _pA1=_mq1.Multiply((_4E1*this._nO1),this._vP1);return _pA1;},_NN1:function(_4E1){return 0.0;},_FO1:function(){return this._kO1;},_GO1:function(){return this._lO1;},_xS1:function(length){this._vS1=length;},_yS1:function(){return this._vS1;},_zS1:function(){return this._wS1;},_sN1:function(data){this._8L1=this._ZE1._wB1;this._9L1=this._YE1._wB1;
this._yO1._pP(this._ZE1._FB1._7r1);this._zO1._pP(this._YE1._FB1._7r1);this._AO1=this._ZE1._UB1;this._BO1=this._YE1._UB1;this._CO1=this._ZE1._WB1;this._DO1=this._YE1._WB1;var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);this._wO1._pP(_vr1(_VO1,
_mq1._tq1(this._kO1,this._yO1)));this._xO1._pP(_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1)));this._vP1._pP(_mq1._tq1(_mq1._tq1(_mq1._Ke(_eF1,this._xO1),_cF1),this._wO1));this._YT=this._vP1.Length();var _Br1=this._YT-this._vS1;if(_Br1>0.0){this._wS1=_WE1._RN1;}else {this._wS1=_WE1._PN1;}if(this._YT>_Hp1){this._vP1.Multiply(1.0/this._YT);}else {this._vP1._nq1();this._TB1=0.0;this._nO1=0.0;return;}var _AS1=_hr1(this._wO1,this._vP1);var _BS1=_hr1(this._xO1,this._vP1);var _AP1=this._AO1+this._CO1*_AS1*_AS1+this._BO1+this._DO1*_BS1*_BS1;
this._TB1=_AP1!=0.0?1.0/_AP1:0.0;if(data.step._8E1){this._nO1*=data.step._5E1;var _ey1=_mq1.Multiply(this._nO1,this._vP1);_pM1._tq1(_mq1.Multiply(this._AO1,_ey1));_0v1-=this._CO1*_hr1(this._wO1,_ey1);_rM1._Ke(_mq1.Multiply(this._BO1,_ey1));_1v1+=this._DO1*_hr1(this._xO1,_ey1);}else {this._nO1=0.0;}data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_KM1:function(data){var _pM1=data._dE1[this._8L1]._14._a2();var _0v1=data._dE1[this._8L1].w;
var _rM1=data._dE1[this._9L1]._14._a2();var _1v1=data._dE1[this._9L1].w;var _BP1=_mq1._Ke(_pM1,_jr1(_0v1,this._wO1));var _CP1=_mq1._Ke(_rM1,_jr1(_1v1,this._xO1));var _Br1=this._YT-this._vS1;var _YO1=_gr1(this._vP1,_mq1._tq1(_CP1,_BP1));if(_Br1<0.0){_YO1+=data.step._4E1*_Br1;}var _CC1=-this._TB1*_YO1;var _ZO1=this._nO1;this._nO1=_Ir1(0.0,this._nO1+_CC1);_CC1=this._nO1-_ZO1;var _ey1=_mq1.Multiply(_CC1,this._vP1);_pM1._tq1(_mq1.Multiply(this._AO1,_ey1));_0v1-=this._CO1*_hr1(this._wO1,_ey1);_rM1._Ke(_mq1.Multiply(this._BO1,
_ey1));_1v1+=this._DO1*_hr1(this._xO1,_ey1);data._dE1[this._8L1]._14._pP(_pM1);data._dE1[this._8L1].w=_0v1;data._dE1[this._9L1]._14._pP(_rM1);data._dE1[this._9L1].w=_1v1;},_4N1:function(data){var _cF1=data._cE1[this._8L1].c._a2();var _oM1=data._cE1[this._8L1]._l3;var _eF1=data._cE1[this._9L1].c._a2();var _qM1=data._cE1[this._9L1]._l3;var _VO1=new _0r1(_oM1),_WO1=new _0r1(_qM1);var _2w1=_vr1(_VO1,_mq1._tq1(this._kO1,this._yO1));var _3w1=_vr1(_WO1,_mq1._tq1(this._lO1,this._zO1));var _04=_mq1._tq1(_mq1._tq1(_mq1._Ke(_eF1,
_3w1),_cF1),_2w1);var length=_04._vq1();var _Br1=length-this._vS1;_Br1=_Mr1(_Br1,0.0,_Np1);var _CC1=-this._TB1*_Br1;var _ey1=_mq1.Multiply(_CC1,_04);_cF1._tq1(_mq1.Multiply(this._AO1,_ey1));_oM1-=this._CO1*_hr1(_2w1,_ey1);_eF1._Ke(_mq1.Multiply(this._BO1,_ey1));_qM1+=this._DO1*_hr1(_3w1,_ey1);data._cE1[this._8L1].c._pP(_cF1);data._cE1[this._8L1]._l3=_oM1;data._cE1[this._9L1].c._pP(_eF1);data._cE1[this._9L1]._l3=_qM1;return length-this._vS1<_Hp1;},_zq1:function(out){var _Tf=out||{};this.parent.prototype._zq1.call(this,
_Tf);_Tf['localAnchorA']=this._kO1._zq1();_Tf['localAnchorB']=this._lO1._zq1();_Tf['maxLength']=this._vS1;return _Tf;}};_8O1._4p1(_WE1);var _CS1=Math.exp;function _DS1(){this.vertices=null;this._u7=0;this._ES1=null;this.gravity=new _mq1();this._u61=0.1;this._FS1=0.9;this._GS1=0.1;}function _HS1(){this._8t1=0;this._rR=null;this._IS1=null;this._JS1=null;this._KS1=null;this._LS1=null;this._MS1=null;this._NS1=0;this._uE1=new _mq1();this._OS1=1.0;this._PS1=0.1;}_HS1.prototype={_sw1:function(_5C1){_yp1(_5C1._u7>=3);
this._8t1=_5C1._u7;this._rR=new Array(this._8t1);this._IS1=new Array(this._8t1);this._JS1=new Array(this._8t1);this._KS1=new Array(this._8t1);for(var i=0;i<this._8t1;++i){this._rR[i]=_5C1.vertices[i]._a2();this._IS1[i]=_5C1.vertices[i]._a2();this._JS1[i]=new _mq1();var _z5=_5C1._ES1[i];if(_z5>0.0){this._KS1[i]=1.0/_z5;}else {this._KS1[i]=0.0;}}var _sx1=this._8t1-1;var _QS1=this._8t1-2;this._LS1=new Array(_sx1);this._MS1=new Array(_QS1);for(var i=0;i<_sx1;++i){var _4u=this._rR[i];var _6s1=this._rR[i+1];this._LS1[i]=_mr1(_4u,
_6s1);}for(var i=0;i<_QS1;++i){var _4u=this._rR[i];var _6s1=this._rR[i+1];var _Xt1=this._rR[i+2];var _3D=_mq1._tq1(_6s1,_4u);var _4D=_mq1._tq1(_Xt1,_6s1);var _l3=_hr1(_3D,_4D);var _k3=_gr1(_3D,_4D);this._MS1[i]=_kq1(_l3,_k3);}this._uE1=_5C1.gravity._a2();this._NS1=_5C1._u61;this._OS1=_5C1._FS1;this._PS1=_5C1._GS1;},_3F1:function(h,iterations){if(h==0.0){return;}var _Fl=_CS1(-h*this._NS1);for(var i=0;i<this._8t1;++i){this._IS1[i]._pP(this._rR[i]);if(this._KS1[i]>0.0){this._JS1[i]._Ke(_mq1.Multiply(h,this._uE1));
}this._JS1[i].Multiply(_Fl);this._rR[i]._Ke(_mq1.Multiply(h,this._JS1[i]));}for(var i=0;i<iterations;++i){this._RS1();this._SS1();this._RS1();}var _0S1=1.0/h;for(var i=0;i<this._8t1;++i){this._JS1[i]=_mq1.Multiply(_0S1,_mq1._tq1(this._rR[i],this._IS1[i]));}},_kd:function(){return this._8t1;},_TS1:function(){return this._rR;},_58:function(_US1){var c=new _Tr1(0.4,0.5,0.7);for(var i=0;i<this._8t1-1;++i){_US1._5s1(this._rR[i],this._rR[i+1],c);}},_VS1:function(angle){var _QS1=this._8t1-2;for(var i=0;i<_QS1;++i){
this._MS1[i]=angle;}},_RS1:function(){var _sx1=this._8t1-1;for(var i=0;i<_sx1;++i){var _4u=this._rR[i];var _6s1=this._rR[i+1];var _Fl=_mq1._tq1(_6s1,_4u);var _oR1=_Fl._vq1();var _WS1=this._KS1[i];var _XS1=this._KS1[i+1];if(_WS1+_XS1==0.0){continue;}var _MA=_WS1/(_WS1+_XS1);var _NA=_XS1/(_WS1+_XS1);_4u._tq1(_mq1.Multiply(this._OS1*_MA*(this._LS1[i]-_oR1),_Fl));_6s1._Ke(_mq1.Multiply(this._OS1*_NA*(this._LS1[i]-_oR1),_Fl));}},_SS1:function(){var _QS1=this._8t1-2;for(var i=0;i<_QS1;++i){var _4u=this._rR[i];var _6s1=this._rR[i+1];
var _Xt1=this._rR[i+2];var _YS1=this._KS1[i];var _ZS1=this._KS1[i+1];var __S1=this._KS1[i+2];var _3D=_mq1._tq1(_6s1,_4u);var _4D=_mq1._tq1(_Xt1,_6s1);var _0T1=_3D._uq1();var _1T1=_4D._uq1();if(_0T1*_1T1==0.0){continue;}var _l3=_hr1(_3D,_4D);var _k3=_gr1(_3D,_4D);var angle=_kq1(_l3,_k3);var _2T1=_mq1.Multiply((-1.0/_0T1),_3D._yq1());var _3T1=_mq1.Multiply((1.0/_1T1),_4D._yq1());var _4T1=_mq1._qq1(_2T1);var _5T1=_mq1._tq1(_2T1,_3T1);var _6T1=_3T1;var _ps1=_YS1*_gr1(_4T1,_4T1)+_ZS1*_gr1(_5T1,_5T1)+__S1*_gr1(_6T1,_6T1);
if(_ps1==0.0){continue;}_ps1=1.0/_ps1;var _Br1=angle-this._MS1[i];while(_Br1>_Cp1){angle-=2*_Cp1;_Br1=angle-this._MS1[i];}while(_Br1<-_Cp1){angle+=2.0*_Cp1;_Br1=angle-this._MS1[i];}var _CC1=-this._PS1*_ps1*_Br1;_4u._Ke(_mq1.Multiply((_YS1*_CC1),_4T1));_6s1._Ke(_mq1.Multiply((_ZS1*_CC1),_5T1));_Xt1._Ke(_mq1.Multiply((__S1*_CC1),_6T1));}}};var _7T1={/*@param {b2World} world */_8T1:function(_vB1){var _9T1=[];/*@type Number */var i;/*@type String */var _aT1;/*@type b2Body */var _k3;/*@type b2Fixture */var _IC;
/*@type b2Shape */var shape;for(_k3=_vB1._nF1();_k3;_k3=_k3._cD1()){for(_IC=_k3._9D1();_IC;_IC=_IC._cD1()){shape=_IC._vD1();_IC._bT1=_9T1.length;_9T1.push(shape._zq1());}}var _cT1=[];for(_k3=_vB1._nF1();_k3;_k3=_k3._cD1()){_k3._dT1=[];for(_IC=_k3._9D1();_IC;_IC=_IC._cD1()){_aT1=_IC._zq1();_aT1['shape']=_IC._bT1;delete _IC._bT1;_k3._dT1.push(_cT1.length);_cT1.push(_aT1);}}var _4G1=[];for(_k3=_vB1._nF1();_k3;_k3=_k3._cD1()){_aT1=_k3._zq1();_aT1._cT1=[];for(i=0;i<_k3._dT1.length;++i)_aT1._cT1.push(_k3._dT1[i]);
delete _k3._dT1;_k3._eT1=_4G1.length;_4G1.push(_aT1);};var _LN1=[];/*@type b2Joint */var _35;for(_35=_vB1._aD1(),i=0;_35;_35=_35._cD1(),++i)_35._JR1=i;for(_35=_vB1._aD1();_35;_35=_35._cD1()){if(_35._Xk1()===_WE1._hG1)continue;_aT1=_35._zq1();_aT1['bodyA']=_35._8G1()._eT1;_aT1['bodyB']=_35._9G1()._eT1;_LN1.push(_aT1);}for(_35=_vB1._aD1();_35;_35=_35._cD1())delete _35._JR1;for(_k3=_vB1._nF1();_k3;_k3=_k3._cD1())delete _k3._eT1;var _u3={_9T1:_9T1,_cT1:_cT1,_4G1:_4G1,_LN1:_LN1};return _u3;},/*@param {b2World} world */_fT1:function(_aT1,
_vB1,clear){var _gT1=JSON.parse(_aT1);if(clear){for(var _k3=_vB1._nF1();_k3;){var _ok=_k3._cD1();_vB1._QE1(_k3);_k3=_ok;}for(var _35=_vB1._aD1();_35;){var _ok=_35._cD1();_vB1._i51(_35);_35=_ok;}}var _9T1=[];for(var i=0;i<_gT1._9T1.length;++i){var _hT1=_gT1._9T1[i];var shape;switch(_hT1._dO){case _rs1._Es1:shape=new _Js1();break;case _rs1._Fs1:shape=new _Ts1();break;case _rs1._Hs1:shape=new _6t1();break;case _rs1._Gs1:shape=new _ot1();break;}shape._Aq1(_hT1);_9T1.push(shape);}var _cT1=[];for(i=0;i<_gT1._cT1.length;
++i){var _iT1=_gT1._cT1[i];var _N31=new _7C1();_N31._Aq1(_iT1);_N31.shape=_9T1[_iT1['shape']];_cT1.push(_N31);}var _4G1=[];for(i=0;i<_gT1._4G1.length;++i){var _jT1=_gT1._4G1[i];var _5C1=new _iB1();_5C1._Aq1(_jT1);var body=_vB1._g41(_5C1);for(var x=0;x<_jT1._cT1.length;++x)body._4C1(_cT1[_jT1._cT1[x]]);_4G1.push(body);}var _LN1=[];var _kT1=[];for(i=0;i<_gT1._LN1.length;++i){var _lT1=_gT1._LN1[i];var _mT1;switch(_lT1.type){case _WE1._TN1:_mT1=new _aO1();break;case _WE1._UN1:_mT1=new _DP1();break;case _WE1._cG1:_mT1=new _rP1();
break;case _WE1._dG1:_mT1=new _2S1();break;case _WE1._VN1:_mT1=new _EQ1();break;case _WE1._WN1:_mT1=new _oQ1();break;case _WE1._XN1:_mT1=new _mQ1();break;case _WE1._YN1:_mT1=new _aQ1();break;case _WE1._ZN1:_mT1=new _tS1();break;case _WE1._iG1:_mT1=new _KR1();break;default :throw new Error('unknown joint');}_mT1._Aq1(_lT1,_4G1);if(_lT1.type===_WE1._VN1){_kT1.push([_mT1,_LN1.length]);_LN1.push(null);}else {var _t41=_vB1._VE1(_mT1);_LN1.push(_t41);}}for(i=0;i<_kT1.length;++i){_kT1[i][0]._FQ1=_LN1[_kT1[i][0]._FQ1];_kT1[i][0]._GQ1=_LN1[_kT1[i][0]._GQ1];
_t41=_vB1._VE1(_kT1[i][0]);_LN1[_kT1[i][1]]=_t41;}}};var _nT1=(function(){function _oT1(_Tf){return new _mq1(_Tf?(_Tf.x||0):0,_Tf?(_Tf.y||0):0);}function _pT1(_Tf){var _qT1=new Array(_Tf.x.length);for(var i=0;i<_qT1.length;++i)_qT1[i]=new _mq1(_Tf.x[i],_Tf.y[i]);return _qT1;}function _rT1(_Tf,instance){var name=_Tf.name;var _yd;if(typeof(_Tf['int'])!=='undefined')_yd=_Tf['int'];else if(typeof(_Tf['float'])!=='undefined')_yd=_Tf['float'];else if(typeof(_Tf['string'])!=='undefined')_yd=_Tf['string'];else if(typeof(_Tf['bool'])!=='undefined')_yd=_Tf['bool'];
else if(typeof(_Tf._sT1)!=='undefined')_yd=_oT1(_Tf._sT1);else throw new Error("unknown property type");if(instance.hasOwnProperty(name))throw new Error("custom property possibly overwriting an existing one");instance[name]=_yd;}function _tT1(_Tf,body){var _5C1=new _7C1();_5C1._s61=_Tf._s61||0;_5C1.filter._kD1=typeof(_Tf['filter-categoryBits'])==='undefined'?1:_Tf['filter-categoryBits'];_5C1.filter._lD1=typeof(_Tf['filter-maskBits'])==='undefined'?65535:_Tf['filter-maskBits'];_5C1.filter._mD1=typeof(_Tf['filter-groupIndex'])==='undefined'?0:_Tf['filter-groupIndex'];
_5C1.friction=_Tf.friction||0;_5C1._nD1=_Tf._nD1||0;_5C1._oD1=_Tf._wD1||0;var shape;if(typeof(_Tf._Ju1)!=='undefined'){shape=new _Js1();shape._Ks1=_oT1(_Tf._Ju1._3s1);shape._ss1=_Tf._Ju1._W51||0;}else if(typeof(_Tf._m5)!=='undefined'){var vertices=_pT1(_Tf._m5.vertices);shape=new _ot1();shape.Set(vertices,vertices.length);}else if(typeof(_Tf._Ku1)!=='undefined'){var vertices=_pT1(_Tf._Ku1.vertices);shape=new _6t1();shape._8t1=vertices.length;shape._7t1=vertices;if(shape._ct1=_Tf._Ku1._uT1)shape._at1=_oT1(_Tf._Ku1._jt1);
if(shape._bt1=_Tf._Ku1._vT1)shape._9t1=_oT1(_Tf._Ku1._ht1);}else throw new Error("unknown shape type");_5C1.shape=shape;var _N31=body._4C1(_5C1);_N31.name=_Tf.name;if(_Tf._wT1)for(var i=0;i<_Tf._wT1.length;++i)_rT1(_Tf,_N31);}function _xT1(_Tf,_vB1){var _5C1=new _iB1();_5C1.type=_Tf.type||_jB1._kB1;_5C1.angle=_Tf.angle||0;_5C1._oB1=_Tf._oB1||0;_5C1._mB1=_Tf._mB1||0;_5C1._qB1=_Tf._qB1||false;_5C1._sB1=_Tf._sB1||false;_5C1._rB1=_Tf._rB1||false;_5C1._nB1=_Tf._nB1||false;_5C1._lB1=_oT1(_Tf._lB1);_5C1._tB1=typeof(_Tf._tB1)!=='undefined'?_Tf._tB1:1;
var _yT1=new _os1();_yT1._ps1=_Tf['massData-mass']||0;_yT1._3s1=_oT1(_Tf['massData-center']);_yT1._qs1=_Tf['massData-I']||0;_5C1.position=_oT1(_Tf.position);var body=_vB1._g41(_5C1);body.name=_Tf.name;body._GC1(_yT1);if(_Tf._N31)for(var i=0;i<_Tf._N31.length;++i)_tT1(_Tf._N31[i],body);if(_Tf._wT1)for(i=0;i<_Tf._wT1.length;++i)_rT1(_Tf,body);return body;}var _zT1={'revolute':_aO1,'distance':_rP1,'prismatic':_DP1,'wheel':_oQ1,'rope':_tS1,'motor':_KR1,'weld':_mQ1,'friction':_aQ1};function _AT1(_Tf,_vB1,_4G1){
if(!_zT1[_Tf.type])throw new Error("unknown joint type");var _BT1=new _zT1[_Tf.type]();switch(_BT1.type){case _WE1._TN1:_BT1._bO1=_oT1(_Tf._9S1);_BT1._cO1=_oT1(_Tf._aS1);_BT1._iO1=_Tf._iO1||false;_BT1._jO1=_Tf._jO1||false;_BT1._eO1=_Tf._CT1||0;_BT1._gO1=_Tf._gO1||0;_BT1._hO1=_Tf._hO1||0;_BT1._dO1=_Tf._DT1||0;_BT1._fO1=_Tf._ET1||0;break;case _WE1._cG1:_BT1._bO1=_oT1(_Tf._9S1);_BT1._cO1=_oT1(_Tf._aS1);_BT1._aP1=_Tf._aP1||0;_BT1._9P1=_Tf._FT1||0;_BT1.length=_Tf.length||0;break;case _WE1._UN1:_BT1._bO1=_oT1(_Tf._9S1);
_BT1._cO1=_oT1(_Tf._aS1);_BT1._iO1=_Tf._iO1||false;_BT1._jO1=_Tf._jO1||false;_BT1._EP1=_oT1(_Tf._EP1);_BT1._FP1=_Tf._CT1||0;_BT1._HP1=_Tf._HP1||0;_BT1._hO1=_Tf._hO1||0;_BT1._dO1=_Tf._DT1||0;_BT1._GP1=_Tf._ET1||0;break;case _WE1._WN1:_BT1._bO1=_oT1(_Tf._9S1);_BT1._cO1=_oT1(_Tf._aS1);_BT1._jO1=_Tf._jO1||false;_BT1._EP1=_oT1(_Tf._EP1);_BT1._gO1=_Tf._gO1||0;_BT1._hO1=_Tf._hO1||0;_BT1._aP1=_Tf._GT1||0;_BT1._9P1=_Tf._HT1||0;break;case _WE1._ZN1:_BT1._bO1=_oT1(_Tf._9S1);_BT1._cO1=_oT1(_Tf._aS1);_BT1._uS1=_Tf._uS1||0;
break;case _WE1._iG1:_BT1._LR1=_oT1(_Tf._9S1);_BT1._MR1=_Tf._DT1||0;_BT1._8P1=_Tf._8P1||0;_BT1._bQ1=_Tf._bQ1||0;_BT1._NR1=_Tf._NR1||0;break;case _WE1._XN1:_BT1._bO1=_oT1(_Tf._9S1);_BT1._cO1=_oT1(_Tf._aS1);_BT1._dO1=_Tf._DT1||0;_BT1._aP1=_Tf._aP1||0;_BT1._9P1=_Tf._9P1||0;break;case _WE1._YN1:_BT1._bO1=_oT1(_Tf._9S1);_BT1._cO1=_oT1(_Tf._aS1);_BT1._8P1=_Tf._8P1||0;_BT1._bQ1=_Tf._bQ1||0;break;default :throw new Error("wat?");}_BT1._0F1=_4G1[_Tf._0F1||0];_BT1._1F1=_4G1[_Tf._1F1||0];_BT1._2F1=_Tf._2F1||false;
var _t41=_vB1._VE1(_BT1);_t41.name=_Tf.name;if(_Tf._wT1)for(var i=0;i<_Tf._wT1.length;++i)_rT1(_Tf,_t41);return _t41;}function _IT1(){this._vB1=null;this._7E1=0;this._6E1=0;this._JT1=0;this._cT1={};this._4G1={};this._LN1={};Object.seal(this);}function _KT1(_Tf,_vB1){var _0B=new _IT1();_0B._vB1=_vB1=_vB1||new _gC1(new _mq1(0,0));_0B._7E1=_Tf._7E1||0;_0B._6E1=_Tf._6E1||0;_0B._JT1=_Tf._JT1||0;if(_Tf.gravity)_vB1._G31(_oT1(_Tf.gravity));_vB1._oF1(_Tf._pB1||false);_vB1._BF1(_Tf._LT1||false);_vB1._qF1(_Tf._8E1||false);
_vB1._sF1(_Tf._MT1||false);_vB1._uF1(_Tf._NT1||false);var _4G1=[];var _OT1=_Tf.body;if(_OT1){for(var i=0;i<_OT1.length;++i){var body=_xT1(_OT1[i],_vB1);_4G1.push(body);for(var _IC=body._9D1();_IC;_IC=_IC._cD1()){if(!_0B._cT1[_IC.name])_0B._cT1[_IC.name]=[];_0B._cT1[_IC.name].push(_IC);}if(!_0B._4G1[body.name])_0B._4G1[body.name]=[];_0B._4G1[body.name].push(body);}}var _LN1=[];var _PT1=_Tf._t41;if(_PT1){for(i=0;i<_PT1.length;++i){var _t41=_AT1(_PT1[i],_vB1,_4G1);_LN1.push(_t41);if(!_0B._LN1[_t41.name])_0B._LN1[_t41.name]=[];
_0B._LN1[_t41.name].push(_t41);}}return _0B;}var _u3={_KT1:_KT1};return _u3;})();var _QT1=[{"trimmed":"version","name":"b2_version","def":_bq1},{"trimmed":"Vec2","name":"b2Vec2","def":_mq1},{"trimmed":"Vec3","name":"b2Vec3","def":_Cq1},{"trimmed":"Mat22","name":"b2Mat22","def":_Eq1},{"trimmed":"Mat33","name":"b2Mat33","def":_Oq1},{"trimmed":"Rot","name":"b2Rot","def":_0r1},{"trimmed":"Transform","name":"b2Transform","def":_4r1},{"trimmed":"Sweep","name":"b2Sweep","def":_6r1},{"trimmed":"Dot_v2_v2","name":"b2Dot_v2_v2",
"def":_gr1},{"trimmed":"Cross_v2_v2","name":"b2Cross_v2_v2","def":_hr1},{"trimmed":"Cross_v2_f","name":"b2Cross_v2_f","def":_ir1},{"trimmed":"Cross_f_v2","name":"b2Cross_f_v2","def":_jr1},{"trimmed":"Mul_m22_v2","name":"b2Mul_m22_v2","def":_kr1},{"trimmed":"MulT_m22_v2","name":"b2MulT_m22_v2","def":_lr1},{"trimmed":"Distance","name":"b2Distance","def":_mr1},{"trimmed":"DistanceSquared","name":"b2DistanceSquared","def":_nr1},{"trimmed":"Dot_v3_v3","name":"b2Dot_v3_v3","def":_Sq1},{"trimmed":"Cross_v3_v3",
"name":"b2Cross_v3_v3","def":_Tq1},{"trimmed":"Mul_m22_m22","name":"b2Mul_m22_m22","def":_or1},{"trimmed":"MulT_m22_m22","name":"b2MulT_m22_m22","def":_pr1},{"trimmed":"Mul_m33_v3","name":"b2Mul_m33_v3","def":_qr1},{"trimmed":"Mul22_m33_v2","name":"b2Mul22_m33_v2","def":_rr1},{"trimmed":"Mul_r_r","name":"b2Mul_r_r","def":_sr1},{"trimmed":"MulT_r_r","name":"b2MulT_r_r","def":_ur1},{"trimmed":"Mul_r_v2","name":"b2Mul_r_v2","def":_vr1},{"trimmed":"MulT_r_v2","name":"b2MulT_r_v2","def":_wr1},{"trimmed":"Mul_t_v2",
"name":"b2Mul_t_v2","def":_xr1},{"trimmed":"Min_v2","name":"b2Min_v2","def":_Jr1},{"trimmed":"Max_v2","name":"b2Max_v2","def":_Lr1},{"trimmed":"Clamp","name":"b2Clamp","def":_Mr1},{"trimmed":"MulT_t_v2","name":"b2MulT_t_v2","def":_zr1},{"trimmed":"Mul_t_t","name":"b2Mul_t_t","def":_Ar1},{"trimmed":"MulT_t_t","name":"b2MulT_t_t","def":_Cr1},{"trimmed":"Clamp_v2","name":"b2Clamp_v2","def":_Nr1},{"trimmed":"NextPowerOfTwo","name":"b2NextPowerOfTwo","def":_Or1},{"trimmed":"Abs_v2","name":"b2Abs_v2",
"def":_Gr1},{"trimmed":"Abs_m22","name":"b2Abs_m22","def":_Hr1},{"trimmed":"IsPowerOfTwo","name":"b2IsPowerOfTwo","def":_Pr1},{"trimmed":"RandomFloat","name":"b2RandomFloat","def":_Rr1},{"trimmed":"Timer","name":"b2Timer","def":_ls1},{"trimmed":"Color","name":"b2Color","def":_Tr1},{"trimmed":"Draw","name":"b2Draw","def":_Ur1},{"trimmed":"ContactID","name":"b2ContactID","def":_5w1},{"trimmed":"ManifoldPoint","name":"b2ManifoldPoint","def":_aw1},{"trimmed":"Manifold","name":"b2Manifold","def":_fw1}
,{"trimmed":"WorldManifold","name":"b2WorldManifold","def":_qw1},{"trimmed":"GetPointStates","name":"b2GetPointStates","def":_Jw1},{"trimmed":"ClipVertex","name":"b2ClipVertex","def":_Ow1},{"trimmed":"RayCastInput","name":"b2RayCastInput","def":_Pw1},{"trimmed":"RayCastOutput","name":"b2RayCastOutput","def":_Qw1},{"trimmed":"AABB","name":"b2AABB","def":_Rw1},{"trimmed":"CollideCircles","name":"b2CollideCircles","def":_5x1},{"trimmed":"CollidePolygonAndCircle","name":"b2CollidePolygonAndCircle","def":_9x1}
,{"trimmed":"FindMaxSeparation","name":"b2FindMaxSeparation","def":_lx1},{"trimmed":"FindIncidentEdge","name":"b2FindIncidentEdge","def":_yx1},{"trimmed":"CollidePolygons","name":"b2CollidePolygons","def":_Ix1},{"trimmed":"CollideEdgeAndCircle","name":"b2CollideEdgeAndCircle","def":_cy1},{"trimmed":"EPAxis","name":"b2EPAxis","def":_qy1},{"trimmed":"TempPolygon","name":"b2TempPolygon","def":_uy1},{"trimmed":"ReferenceFace","name":"b2ReferenceFace","def":_vy1},{"trimmed":"EPCollider","name":"b2EPCollider",
"def":_yy1},{"trimmed":"CollideEdgeAndPolygon","name":"b2CollideEdgeAndPolygon","def":_dz1},{"trimmed":"ClipSegmentToLine","name":"b2ClipSegmentToLine","def":_9y1},{"trimmed":"TestShapeOverlap","name":"b2TestShapeOverlap","def":_mz1},{"trimmed":"TestOverlap","name":"b2TestOverlap","def":_pu1},{"trimmed":"Shape","name":"b2Shape","def":_rs1},{"trimmed":"MassData","name":"b2MassData","def":_os1},{"trimmed":"CircleShape","name":"b2CircleShape","def":_Js1},{"trimmed":"EdgeShape","name":"b2EdgeShape",
"def":_Ts1},{"trimmed":"ChainShape","name":"b2ChainShape","def":_6t1},{"trimmed":"PolygonShape","name":"b2PolygonShape","def":_ot1},{"trimmed":"Pair","name":"b2Pair","def":_Yt1},{"trimmed":"PairLessThan","name":"b2PairLessThan","def":_0u1},{"trimmed":"BroadPhase","name":"b2BroadPhase","def":_3u1},{"trimmed":"DistanceProxy","name":"b2DistanceProxy","def":_Iu1},{"trimmed":"SimplexCache","name":"b2SimplexCache","def":_Nu1},{"trimmed":"DistanceInput","name":"b2DistanceInput","def":_Ru1},{"trimmed":"DistanceOutput",
"name":"b2DistanceOutput","def":_Xu1},{"trimmed":"SimplexVertex","name":"b2SimplexVertex","def":__u1},{"trimmed":"Simplex","name":"b2Simplex","def":_2v1},{"trimmed":"DistanceFunc","name":"b2DistanceFunc","def":_Pv1},{"trimmed":"TreeNode","name":"b2TreeNode","def":_qz1},{"trimmed":"DynamicTree","name":"b2DynamicTree","def":_5u1},{"trimmed":"TOIInput","name":"b2TOIInput","def":_wA1},{"trimmed":"TOIOutput","name":"b2TOIOutput","def":_AA1},{"trimmed":"SeparationFunction","name":"b2SeparationFunction",
"def":_FA1},{"trimmed":"TimeOfImpact","name":"b2TimeOfImpact","def":_0B1},{"trimmed":"BodyDef","name":"b2BodyDef","def":_iB1},{"trimmed":"Body","name":"b2Body","def":_jB1},{"trimmed":"Filter","name":"b2Filter","def":_jD1},{"trimmed":"FixtureDef","name":"b2FixtureDef","def":_7C1},{"trimmed":"Fixture","name":"b2Fixture","def":_8C1},{"trimmed":"DestructionListener","name":"b2DestructionListener","def":_ID1},{"trimmed":"ContactFilter","name":"b2ContactFilter","def":_ND1},{"trimmed":"ContactImpulse",
"name":"b2ContactImpulse","def":_RD1},{"trimmed":"ContactListener","name":"b2ContactListener","def":_UD1},{"trimmed":"QueryCallback","name":"b2QueryCallback","def":__D1},{"trimmed":"RayCastCallback","name":"b2RayCastCallback","def":_2E1},{"trimmed":"TimeStep","name":"b2TimeStep","def":_3E1},{"trimmed":"Position","name":"b2Position","def":_9E1},{"trimmed":"Velocity","name":"b2Velocity","def":_aE1},{"trimmed":"SolverData","name":"b2SolverData","def":_bE1},{"trimmed":"World","name":"b2World","def":_gC1}
,{"trimmed":"MixFriction","name":"b2MixFriction","def":_VK1},{"trimmed":"MixRestitution","name":"b2MixRestitution","def":_YK1},{"trimmed":"ContactRegister","name":"b2ContactRegister","def":_0L1},{"trimmed":"ContactEdge","name":"b2ContactEdge","def":_2L1},{"trimmed":"Contact","name":"b2Contact","def":_EF1},{"trimmed":"CircleContact","name":"b2CircleContact","def":_rL1},{"trimmed":"PolygonContact","name":"b2PolygonContact","def":_AL1},{"trimmed":"ChainAndCircleContact","name":"b2ChainAndCircleContact",
"def":_vL1},{"trimmed":"ChainAndPolygonContact","name":"b2ChainAndPolygonContact","def":_wL1},{"trimmed":"EdgeAndCircleContact","name":"b2EdgeAndCircleContact","def":_xL1},{"trimmed":"EdgeAndPolygonContact","name":"b2EdgeAndPolygonContact","def":_yL1},{"trimmed":"PolygonAndCircleContact","name":"b2PolygonAndCircleContact","def":_zL1},{"trimmed":"defaultFilter","name":"b2_defaultFilter","def":_KL1},{"trimmed":"defaultListener","name":"b2_defaultListener","def":_LL1},{"trimmed":"ContactManager","name":"b2ContactManager",
"def":_jE1},{"trimmed":"VelocityConstraintPoint","name":"b2VelocityConstraintPoint","def":_QL1},{"trimmed":"ContactPositionConstraint","name":"b2ContactPositionConstraint","def":_UL1},{"trimmed":"ContactVelocityConstraint","name":"b2ContactVelocityConstraint","def":_1M1},{"trimmed":"PositionSolverManifold","name":"b2PositionSolverManifold","def":_5M1},{"trimmed":"ContactSolverDef","name":"b2ContactSolverDef","def":_8M1},{"trimmed":"ContactSolver","name":"b2ContactSolver","def":_aM1},{"trimmed":"Island",
"name":"b2Island","def":_zE1},{"trimmed":"Jacobian","name":"b2Jacobian","def":_FN1},{"trimmed":"JointEdge","name":"b2JointEdge","def":_IN1},{"trimmed":"JointDef","name":"b2JointDef","def":_JN1},{"trimmed":"Joint","name":"b2Joint","def":_WE1},{"trimmed":"RevoluteJointDef","name":"b2RevoluteJointDef","def":_aO1},{"trimmed":"RevoluteJoint","name":"b2RevoluteJoint","def":_2O1},{"trimmed":"MouseJointDef","name":"b2MouseJointDef","def":_7P1},{"trimmed":"MouseJoint","name":"b2MouseJoint","def":_0O1},{"trimmed":"DistanceJointDef",
"name":"b2DistanceJointDef","def":_rP1},{"trimmed":"DistanceJoint","name":"b2DistanceJoint","def":__N1},{"trimmed":"PrismaticJointDef","name":"b2PrismaticJointDef","def":_DP1},{"trimmed":"PrismaticJoint","name":"b2PrismaticJoint","def":_1O1},{"trimmed":"FrictionJointDef","name":"b2FrictionJointDef","def":_aQ1},{"trimmed":"FrictionJoint","name":"b2FrictionJoint","def":_7O1},{"trimmed":"WeldJointDef","name":"b2WeldJointDef","def":_mQ1},{"trimmed":"WeldJoint","name":"b2WeldJoint","def":_6O1},{"trimmed":"WheelJointDef",
"name":"b2WheelJointDef","def":_oQ1},{"trimmed":"WheelJoint","name":"b2WheelJoint","def":_5O1},{"trimmed":"GearJointDef","name":"b2GearJointDef","def":_EQ1},{"trimmed":"GearJoint","name":"b2GearJoint","def":_4O1},{"trimmed":"MotorJointDef","name":"b2MotorJointDef","def":_KR1},{"trimmed":"MotorJoint","name":"b2MotorJoint","def":_9O1},{"trimmed":"PulleyJointDef","name":"b2PulleyJointDef","def":_2S1},{"trimmed":"PulleyJoint","name":"b2PulleyJoint","def":_3O1},{"trimmed":"RopeJointDef","name":"b2RopeJointDef",
"def":_tS1},{"trimmed":"RopeJoint","name":"b2RopeJoint","def":_8O1},{"trimmed":"RopeDef","name":"b2RopeDef","def":_DS1},{"trimmed":"Rope","name":"b2Rope","def":_HS1},{"trimmed":"maxManifoldPoints","name":"b2_maxManifoldPoints","def":_Dp1},{"trimmed":"maxPolygonVertices","name":"b2_maxPolygonVertices","def":_Ep1},{"trimmed":"aabbExtension","name":"b2_aabbExtension","def":_Fp1},{"trimmed":"aabbMultiplier","name":"b2_aabbMultiplier","def":_Gp1},{"trimmed":"linearSlop","name":"b2_linearSlop","def":_Hp1}
,{"trimmed":"angularSlop","name":"b2_angularSlop","def":_Ip1},{"trimmed":"polygonRadius","name":"b2_polygonRadius","def":_Jp1},{"trimmed":"maxSubSteps","name":"b2_maxSubSteps","def":_Kp1},{"trimmed":"maxTOIContacts","name":"b2_maxTOIContacts","def":_Lp1},{"trimmed":"velocityThreshold","name":"b2_velocityThreshold","def":_Mp1},{"trimmed":"maxLinearCorrection","name":"b2_maxLinearCorrection","def":_Np1},{"trimmed":"maxAngularCorrection","name":"b2_maxAngularCorrection","def":_Op1},{"trimmed":"maxTranslation",
"name":"b2_maxTranslation","def":_Pp1},{"trimmed":"maxTranslationSquared","name":"b2_maxTranslationSquared","def":_Qp1},{"trimmed":"maxRotation","name":"b2_maxRotation","def":_Rp1},{"trimmed":"maxRotationSquared","name":"b2_maxRotationSquared","def":_Sp1},{"trimmed":"baumgarte","name":"b2_baumgarte","def":_Tp1},{"trimmed":"toiBaugarte","name":"b2_toiBaugarte","def":_Up1},{"trimmed":"timeToSleep","name":"b2_timeToSleep","def":_Vp1},{"trimmed":"linearSleepTolerance","name":"b2_linearSleepTolerance",
"def":_Wp1},{"trimmed":"angularSleepTolerance","name":"b2_angularSleepTolerance","def":_Xp1},{"trimmed":"epsilon","name":"b2_epsilon","def":_Bp1},{"trimmed":"JsonSerializer","name":"b2JsonSerializer","def":_7T1},{"trimmed":"RUBELoader","name":"b2RUBELoader","def":_nT1},{"trimmed":"Profiler","name":"b2Profiler","def":_gp1},{"trimmed":"ParticleDef","name":"b2ParticleDef","def":_rH1},{"trimmed":"ParticleColor","name":"b2ParticleColor","def":_jH1},{"trimmed":"ParticleGroupDef","name":"b2ParticleGroupDef",
"def":_CH1},{"trimmed":"ParticleGroup","name":"b2ParticleGroup","def":_FH1},{"trimmed":"ParticleSystem","name":"b2ParticleSystem","def":_BE1}];if(typeof(b2_compatibility)!=="undefined"&&typeof(window)!=="undefined"){for(var i=0;i<_QT1.length;++i)window[_QT1[i]["name"]]=_QT1[i]["def"];}else {var _Zg={};for(var i=0;i<_QT1.length;++i)_Zg[_QT1[i]["trimmed"]]=_QT1[i]["def"];if(typeof(module)!=="undefined")module._Of=_Zg;else window["b2"]=_Zg;}})();_qg:/*
 * This class lets you encode animated GIF files
 * Base class :  http://www.java2s.com/Code/Java/2D-Graphics-GUI/AnimatedGifEncoder.htm
 * @author Kevin Weiner (original Java version - kweiner@fmsware.com)
 * @author Thibault Imbert (AS3 version - bytearray.org)
 * @author Kevin Kwok (JavaScript version - https://github.com/antimatter15/jsgif)
 * @version 0.1 AS3 implementation
 */_RT1=function(){
for(var i=0,chr={};i<256;i++)chr[i]=String.fromCharCode(i);function _ST1(){this._TT1=[];};_ST1.prototype._UT1=function(){for(var _14='',_K5=this._TT1.length,i=0;i<_K5;i++)_14+=chr[this._TT1[i]];return _14;};_ST1.prototype._VT1=function(_yd){this._TT1.push(_yd);};_ST1.prototype._WT1=function(string){for(var _K5=string.length,i=0;i<_K5;i++)this._VT1(string.charCodeAt(i));};_ST1.prototype._XT1=function(_La,offset,length){for(var _K5=length||_La.length,i=offset||0;i<_K5;i++)this._VT1(_La[i]);};var _Of={};var width;
var height;var transparent=null;var _YT1;var repeat=-1;var _ZT1=0;var __T1=false;var out;var _W3;var _0U1;var _1U1;var colorDepth;var _2U1;var _3U1=[];var _4U1=7;var dispose=-1;var _5U1=false;var _6U1=true;var _7U1=false;var _je1=10;var _8U1="Generated by jsgif (https://github.com/antimatter15/jsgif/)";/*
	 * Sets the delay time between each frame, or changes it for subsequent frames
	 * (applies to last frame added)
	 * int delay time in milliseconds
	 * @param ms
	 */var _9U1=_Of._9U1=function _9U1(_7A){_ZT1=Math.round(_7A/10);
};/*
	 * Sets the GIF frame disposal code for the last added frame and any
	 *
	 * subsequent frames. Default is 0 if no transparent color has been set,
	 * otherwise 2.
	 * @param code
	 * int disposal code.
	 */var _aU1=_Of._aU1=function _aU1(_zg1){if(_zg1>=0)dispose=_zg1;};/*
	 * Sets the number of times the set of GIF frames should be played. Default is
	 * 1; 0 means play indefinitely. Must be invoked before the first image is
	 * added.
	 *
	 * @param iter
	 * int number of iterations.
	 * @return
	 */var _bU1=_Of._bU1=function _bU1(_Sg1){
if(_Sg1>=0)repeat=_Sg1;};/*
	 * Sets the transparent color for the last added frame and any subsequent
	 * frames. Since all colors are subject to modification in the quantization
	 * process, the color in the final palette for each frame closest to the given
	 * color becomes the transparent color for that frame. May be set to null to
	 * indicate no transparent color.
	 * @param
	 * Color to be treated as transparent on display.
	 */var _cU1=_Of._cU1=function _cU1(c){transparent=c;};/*
	 * Sets the comment for the block comment
	 * @param
	 * string to be insterted as comment
	 */var _dU1=_Of._dU1=function _dU1(c){
_8U1=c;};/*
	 * The addFrame method takes an incoming BitmapData object to create each frames
	 * @param
	 * BitmapData object to be treated as a GIF's frame
	 */var _eU1=_Of._eU1=function _eU1(_3a,_fU1){if((_3a===null)||!__T1||out===null){throw new Error("Please call start method before calling addFrame");}var _zE=true;try{if(!_fU1){_W3=_3a.getImageData(0,0,_3a.canvas.width,_3a.canvas.height).data;if(!_7U1)_gU1(_3a.canvas.width,_3a.canvas.height);}else {if(_3a instanceof ImageData){_W3=_3a.data;if(!_hU1||width!=_3a.width||height!=_3a.height){
_gU1(_3a.width,_3a.height);}else {}}else if(_3a instanceof Uint8ClampedArray){if(_3a.length==(width*height*4)){_W3=_3a;}else {console.log("Please set the correct size: ImageData length mismatch");_zE=false;}}else {console.log("Please provide correct input");_zE=false;}}_iU1();if(_je1==0)_jU1();else _kU1();if(_6U1){_lU1();_mU1();if(repeat>=0){_nU1();}}_oU1();if(_8U1!==''){_pU1();}_qU1();if(!_6U1)_mU1();_rU1();_6U1=false;}catch(e){_zE=false;}return _zE;};/*
	* @description: Downloads the encoded gif with the given name
	* No need of any conversion from the stream data (out) to base64
	* Solves the issue of large file sizes when there are more frames
	* and does not involve in creation of any temporary data in the process
	* so no wastage of memory, and speeds up the process of downloading
	* to just calling this function.
	* @parameter {String} filename filename used for downloading the gif
	*/var download=_Of.download=function download(filename){
if(out===null||_5U1==false){console.log("Please call start method and add frames and call finish method before calling download");}else {filename=filename!==undefined?(filename.endsWith(".gif")?filename:filename+".gif"):"download.gif";var _sU1=document.createElement("a");_sU1.download=filename;_sU1.href=URL.createObjectURL(new Blob([new Uint8Array(out._TT1)],{type:"image/gif"}));_sU1.click();}};var _tU1=_Of._tU1=function _tU1(){if(!__T1)return false;var _zE=true;__T1=false;try{out._VT1(0x3b);_5U1=true;}
catch(e){_zE=false;}return _zE;};var _4d1=function _4d1(){_YT1=0;_W3=null;_0U1=null;_1U1=null;_2U1=null;_5U1=false;_6U1=true;};/*
	 * * Sets frame rate in frames per second. Equivalent to
	 * <code>setDelay(1000/fps)</code>.
	 * @param fps
	 * float frame rate (frames per second)
	 */var _uU1=_Of._uU1=function _uU1(fps){if(fps!=0xf)_ZT1=Math.round(100/fps);};/*
	 * Sets quality of color quantization (conversion of images to the maximum 256
	 * colors allowed by the GIF specification). Lower values (minimum = 1)
	 * produce better colors, but slow processing significantly. 10 is the
	 * default, and produces good color mapping at reasonable speeds. Values
	 * greater than 20 do not yield significant improvements in speed.
	 * @param quality
	 * int greater than 0.
	 * @return
	 */var _vU1=_Of._vU1=function _vU1(_wU1){
_je1=_wU1;};/*
	 * Sets the GIF frame size. The default size is the size of the first frame
	 * added if this method is not invoked.
	 * @param w
	 * int frame width.
	 * @param h
	 * int frame width.
	 */var _gU1=_Of._gU1=function _gU1(w,h){if(__T1&&!_6U1)return;width=w;height=h;if(width<1)width=320;if(height<1)height=240;_7U1=true;};/*
	 * Initiates GIF file creation on the given stream.
	 * @param os
	 * OutputStream on which GIF images are written.
	 * @return false if initial write failed.
	 */var start=_Of.start=function start(){
_4d1();var _zE=true;_5U1=false;out=new _ST1();try{out._WT1("GIF89a");}catch(e){_zE=false;}return __T1=_zE;};var _xU1=_Of._xU1=function _xU1(){_4d1();var _zE=true;_5U1=false;out=new _ST1();return __T1=_zE;};var _kU1=function _kU1(){var _1i=_0U1.length;var _yU1=_1i/3;_1U1=[];var _zU1=new _AU1(_0U1,_1i,_je1);_2U1=_zU1.process();var _qk=0;for(var _35=0;_35<_yU1;_35++){var index=_zU1.map(_0U1[_qk++]&0xff,_0U1[_qk++]&0xff,_0U1[_qk++]&0xff);_3U1[index]=true;_1U1[_35]=index;}_0U1=null;colorDepth=8;_4U1=7;if(transparent!==null){
_YT1=_BU1(transparent);}};var _jU1=function _jU1(){var _1i=_0U1.length;var _yU1=_1i/3;_1U1=[];_2U1=[];for(var _i3=0;_i3<8;_i3++){for(var _j3=0;_j3<8;_j3++){for(var _k3=0;_k3<4;_k3++){var index=32*_i3+4*_j3+_k3;_2U1[index*3+0]=floor((_k3+0.5)*255/4);_2U1[index*3+2]=floor((_i3+0.5)*255/8);_2U1[index*3+1]=floor((_j3+0.5)*255/8);}}}var _qk=0;for(var _35=0;_35<_yU1;_35++){var _k3=floor((4*(_0U1[_qk++]&0xff)/256));var _j3=floor((8*(_0U1[_qk++]&0xff)/256));var _i3=floor((8*(_0U1[_qk++]&0xff)/256));var index=_i3*32+_j3*4+_k3;
_3U1[index]=true;_1U1[_35]=index;}_0U1=null;colorDepth=8;_4U1=7;if(transparent!==null){_YT1=0;}};var _BU1=function _BU1(c){if(_2U1===null)return -1;var _i3=(c&0xFF0000)>>16;var _j3=(c&0x00FF00)>>8;var _k3=(c&0x0000FF);var _CU1=0;var _DU1=256*256*256;var _1i=_2U1.length;for(var i=0;i<_1i;){var _CK1=_i3-(_2U1[i++]&0xff);var _DK1=_j3-(_2U1[i++]&0xff);var _EK1=_k3-(_2U1[i]&0xff);var _Fl=_CK1*_CK1+_DK1*_DK1+_EK1*_EK1;var index=i/3;if(_3U1[index]&&(_Fl<_DU1)){_DU1=_Fl;_CU1=index;}i++;}return _CU1;};var _EU1=_Of._EU1=function _EU1(){
return width;};var _FU1=_Of._FU1=function _FU1(){return height;};var _iU1=function _iU1(){var w=width;var h=height;_0U1=[];var data=_W3;var _u7=0;for(var i=0;i<h;i++){for(var _35=0;_35<w;_35++){var _k3=(i*w*4)+_35*4;_0U1[_u7++]=data[_k3];_0U1[_u7++]=data[_k3+1];_0U1[_u7++]=data[_k3+2];}}};var _oU1=function _oU1(){out._VT1(0x21);out._VT1(0xf9);out._VT1(4);var _GU1;var _HU1;if(transparent===null){_GU1=0;_HU1=0;}else {_GU1=1;_HU1=2;}if(dispose>=0){_HU1=dispose&7;}_HU1<<=2;out._VT1(0|_HU1|0|_GU1);_IU1(_ZT1);out._VT1(_YT1);
out._VT1(0);};var _pU1=function _pU1(){out._VT1(0x21);out._VT1(0xfe);out._VT1(_8U1.length);out._WT1(_8U1);out._VT1(0);};var _qU1=function _qU1(){out._VT1(0x2c);_IU1(0);_IU1(0);_IU1(width);_IU1(height);if(_6U1){out._VT1(0);}else {out._VT1(0x80|0|0|0|_4U1);}};var _lU1=function _lU1(){_IU1(width);_IU1(height);out._VT1((0x80|0x70|0x00|_4U1));out._VT1(0);out._VT1(0);};var _nU1=function _nU1(){out._VT1(0x21);out._VT1(0xff);out._VT1(11);out._WT1("NETSCAPE"+"2.0");out._VT1(3);out._VT1(1);_IU1(repeat);out._VT1(0);
};var _mU1=function _mU1(){out._XT1(_2U1);var _x5=(3*256)-_2U1.length;for(var i=0;i<_x5;i++)out._VT1(0);};var _IU1=function _IU1(_JU1){out._VT1(_JU1&0xFF);out._VT1((_JU1>>8)&0xFF);};var _rU1=function _rU1(){var _KU1=new _LU1(width,height,_1U1,colorDepth);_KU1.encode(out);};var _Ee1=_Of._Ee1=function _Ee1(){return out;};var _MU1=_Of._MU1=function _MU1(_NU1,_OU1){__T1=_NU1;_6U1=_OU1;};return _Of;};/*
 * This class handles LZW encoding
 * Adapted from Jef Poskanzer's Java port by way of J. M. G. Elliott.
 * @author Kevin Weiner (original Java version - kweiner@fmsware.com)
 * @author Thibault Imbert (AS3 version - bytearray.org)
 * @author Kevin Kwok (JavaScript version - https://github.com/antimatter15/jsgif)
 * @version 0.1 AS3 implementation
 */_LU1=function(){
var _Of={};var _PU1=-1;var _QU1;var _RU1;var _SU1;var _TU1;var _UU1;var _VU1;// David Rowley (mgardi@watdcsu.waterloo.edu)
var _WU1=12;var _XU1=5003;var _YU1;var _ZU1=_WU1;var __U1;var _0V1=1<<_WU1;var _1V1=[];var _2V1=[];var _3V1=_XU1;var _4V1=0;var _5V1=false;var _6V1;var _7V1;var _8V1;var _9V1=0;var _aV1=0;var _bV1=[0x0000,0x0001,0x0003,0x0007,0x000F,0x001F,0x003F,0x007F,0x00FF,0x01FF,0x03FF,0x07FF,0x0FFF,0x1FFF,0x3FFF,0x7FFF,0xFFFF];var _cV1;var _dV1=[];var _LU1=_Of._LU1=function _LU1(width,height,_0U1,_eV1){_QU1=width;
_RU1=height;_SU1=_0U1;_TU1=Math.max(2,_eV1);};var _fV1=function _fV1(c,_gV1){_dV1[_cV1++]=c;if(_cV1>=254)_hV1(_gV1);};var _iV1=function _iV1(_gV1){_jV1(_3V1);_4V1=_7V1+2;_5V1=true;output(_7V1,_gV1);};var _jV1=function _jV1(_3V1){for(var i=0;i<_3V1;++i)_1V1[i]=-1;};var compress=_Of.compress=function compress(_kV1,_gV1){var _lV1;var i;var c;var _mV1;var _HU1;var _nV1;var _oV1;_6V1=_kV1;_5V1=false;_YU1=_6V1;__U1=_pV1(_YU1);_7V1=1<<(_kV1-1);_8V1=_7V1+1;_4V1=_7V1+2;_cV1=0;_mV1=_qV1();_oV1=0;for(_lV1=_3V1;_lV1<65536;
_lV1*=2)++_oV1;_oV1=8-_oV1;_nV1=_3V1;_jV1(_nV1);output(_7V1,_gV1);_rV1:while((c=_qV1())!=_PU1){_lV1=(c<<_ZU1)+_mV1;i=(c<<_oV1)^_mV1;if(_1V1[i]==_lV1){_mV1=_2V1[i];continue;}else if(_1V1[i]>=0){_HU1=_nV1-i;if(i===0)_HU1=1;do {if((i-=_HU1)<0)i+=_nV1;if(_1V1[i]==_lV1){_mV1=_2V1[i];continue _rV1;}}while(_1V1[i]>=0);}output(_mV1,_gV1);_mV1=c;if(_4V1<_0V1){_2V1[i]=_4V1++;_1V1[i]=_lV1;}else _iV1(_gV1);}output(_mV1,_gV1);output(_8V1,_gV1);};var encode=_Of.encode=function encode(_sV1){_sV1._VT1(_TU1);_UU1=_QU1*_RU1;
_VU1=0;compress(_TU1+1,_sV1);_sV1._VT1(0);};var _hV1=function _hV1(_gV1){if(_cV1>0){_gV1._VT1(_cV1);_gV1._XT1(_dV1,0,_cV1);_cV1=0;}};var _pV1=function _pV1(_YU1){return(1<<_YU1)-1;};var _qV1=function _qV1(){if(_UU1===0)return _PU1;--_UU1;var _tV1=_SU1[_VU1++];return _tV1&0xff;};var output=function output(_zg1,_gV1){_9V1&=_bV1[_aV1];if(_aV1>0)_9V1|=(_zg1<<_aV1);else _9V1=_zg1;_aV1+=_YU1;while(_aV1>=8){_fV1((_9V1&0xff),_gV1);_9V1>>=8;_aV1-=8;}if(_4V1>__U1||_5V1){if(_5V1){__U1=_pV1(_YU1=_6V1);_5V1=false;}else {
++_YU1;if(_YU1==_ZU1)__U1=_0V1;else __U1=_pV1(_YU1);}}if(_zg1==_8V1){while(_aV1>0){_fV1((_9V1&0xff),_gV1);_9V1>>=8;_aV1-=8;}_hV1(_gV1);}};_LU1.apply(this,arguments);return _Of;};/* * This class handles Neural-Net quantization algorithm
 * @author Kevin Weiner (original Java version - kweiner@fmsware.com)
 * @author Thibault Imbert (AS3 version - bytearray.org)
 * @author Kevin Kwok (JavaScript version - https://github.com/antimatter15/jsgif)
 * @version 0.1 AS3 implementation
 */_AU1=function(){
var _Of={};var _uV1=256;var _vV1=499;var _wV1=491;var _xV1=487;var _yV1=503;var _zV1=(3*_yV1);var _AV1=(_uV1-1);var _BV1=4;var _CV1=100;var _DV1=16;var _EV1=(1<<_DV1);var _FV1=10;var _GV1=(1<<_FV1);var _HV1=10;var _dr1=(_EV1>>_HV1);var _IV1=(_EV1<<(_FV1-_HV1));var _JV1=(_uV1>>3);var _KV1=6;var _LV1=(1<<_KV1);var _MV1=(_JV1*_LV1);var _NV1=30;var _OV1=10;var _PV1=(1<<_OV1);var _QV1;var _RV1=8;var _SV1=(1<<_RV1);var _TV1=(_OV1+_RV1);var _UV1=(1<<_TV1);var _VV1;var _WV1;var _XV1;var _YV1;var _ZV1=[];var _fw=[];var freq=[];var __V1=[];var _AU1=_Of._AU1=function _AU1(_0W1,
_1i,_je1){var i;var _kg;_VV1=_0W1;_WV1=_1i;_XV1=_je1;_YV1=new Array(_uV1);for(i=0;i<_uV1;i++){_YV1[i]=new Array(4);_kg=_YV1[i];_kg[0]=_kg[1]=_kg[2]=(i<<(_BV1+8))/_uV1;freq[i]=_EV1/_uV1;_fw[i]=0;}};var _1W1=function _1W1(){var map=[];var index=new Array(_uV1);for(var i=0;i<_uV1;i++)index[_YV1[i][3]]=i;var _qk=0;for(var _K5=0;_K5<_uV1;_K5++){var _35=index[_K5];map[_qk++]=(_YV1[_35][0]);map[_qk++]=(_YV1[_35][1]);map[_qk++]=(_YV1[_35][2]);}return map;};var _2W1=function _2W1(){var i;var _35;var _3W1;var _4W1;var _kg;var q;
var _5W1;var _6W1;_5W1=0;_6W1=0;for(i=0;i<_uV1;i++){_kg=_YV1[i];_3W1=i;_4W1=_kg[1];for(_35=i+1;_35<_uV1;_35++){q=_YV1[_35];if(q[1]<_4W1){_3W1=_35;_4W1=q[1];}}q=_YV1[_3W1];if(i!=_3W1){_35=q[0];q[0]=_kg[0];_kg[0]=_35;_35=q[1];q[1]=_kg[1];_kg[1]=_35;_35=q[2];q[2]=_kg[2];_kg[2]=_35;_35=q[3];q[3]=_kg[3];_kg[3]=_35;}if(_4W1!=_5W1){_ZV1[_5W1]=(_6W1+i)>>1;for(_35=_5W1+1;_35<_4W1;_35++)_ZV1[_35]=i;_5W1=_4W1;_6W1=i;}}_ZV1[_5W1]=(_6W1+_AV1)>>1;for(_35=_5W1+1;_35<256;_35++)_ZV1[_35]=_AV1;};var _7W1=function _7W1(){
var i;var _35;var _k3;var _j3;var _i3;var _W51;var _Yt;var alpha;var step;var _uh;var _8W1;var _kg;var _tV1;var _9W1;if(_WV1<_zV1)_XV1=1;_QV1=30+((_XV1-1)/3);_kg=_VV1;_tV1=0;_9W1=_WV1;_8W1=_WV1/(3*_XV1);_uh=(_8W1/_CV1)|0;alpha=_PV1;_W51=_MV1;_Yt=_W51>>_KV1;if(_Yt<=1)_Yt=0;for(i=0;i<_Yt;i++)__V1[i]=alpha*(((_Yt*_Yt-i*i)*_SV1)/(_Yt*_Yt));if(_WV1<_zV1)step=3;else if((_WV1%_vV1)!==0)step=3*_vV1;else {if((_WV1%_wV1)!==0)step=3*_wV1;else {if((_WV1%_xV1)!==0)step=3*_xV1;else step=3*_yV1;}}i=0;while(i<_8W1){_k3=(_kg[_tV1+0]&0xff)<<_BV1;
_j3=(_kg[_tV1+1]&0xff)<<_BV1;_i3=(_kg[_tV1+2]&0xff)<<_BV1;_35=_aW1(_k3,_j3,_i3);_bW1(alpha,_35,_k3,_j3,_i3);if(_Yt!==0)_cW1(_Yt,_35,_k3,_j3,_i3);_tV1+=step;if(_tV1>=_9W1)_tV1-=_WV1;i++;if(_uh===0)_uh=1;if(i%_uh===0){alpha-=alpha/_QV1;_W51-=_W51/_NV1;_Yt=_W51>>_KV1;if(_Yt<=1)_Yt=0;for(_35=0;_35<_Yt;_35++)__V1[_35]=alpha*(((_Yt*_Yt-_35*_35)*_SV1)/(_Yt*_Yt));}}};var map=_Of.map=function map(_k3,_j3,_i3){var i;var _35;var _dt;var _l3;var _dW1;var _kg;var _eW1;_dW1=1000;_eW1=-1;i=_ZV1[_j3];_35=i-1;while((i<_uV1)||(_35>=0)){
if(i<_uV1){_kg=_YV1[i];_dt=_kg[1]-_j3;if(_dt>=_dW1)i=_uV1;else {i++;if(_dt<0)_dt=-_dt;_l3=_kg[0]-_k3;if(_l3<0)_l3=-_l3;_dt+=_l3;if(_dt<_dW1){_l3=_kg[2]-_i3;if(_l3<0)_l3=-_l3;_dt+=_l3;if(_dt<_dW1){_dW1=_dt;_eW1=_kg[3];}}}}if(_35>=0){_kg=_YV1[_35];_dt=_j3-_kg[1];if(_dt>=_dW1)_35=-1;else {_35--;if(_dt<0)_dt=-_dt;_l3=_kg[0]-_k3;if(_l3<0)_l3=-_l3;_dt+=_l3;if(_dt<_dW1){_l3=_kg[2]-_i3;if(_l3<0)_l3=-_l3;_dt+=_l3;if(_dt<_dW1){_dW1=_dt;_eW1=_kg[3];}}}}}return(_eW1);};var process=_Of.process=function process(){
_7W1();_fW1();_2W1();return _1W1();};var _fW1=function _fW1(){var i;var _35;for(i=0;i<_uV1;i++){_YV1[i][0]>>=_BV1;_YV1[i][1]>>=_BV1;_YV1[i][2]>>=_BV1;_YV1[i][3]=i;}};var _cW1=function _cW1(_Yt,i,_k3,_j3,_i3){var _35;var _qk;var _Sr1;var _Cg1;var _l3;var _z5;var _kg;_Sr1=i-_Yt;if(_Sr1<-1)_Sr1=-1;_Cg1=i+_Yt;if(_Cg1>_uV1)_Cg1=_uV1;_35=i+1;_qk=i-1;_z5=1;while((_35<_Cg1)||(_qk>_Sr1)){_l3=__V1[_z5++];if(_35<_Cg1){_kg=_YV1[_35++];try{_kg[0]-=(_l3*(_kg[0]-_k3))/_UV1;_kg[1]-=(_l3*(_kg[1]-_j3))/_UV1;_kg[2]-=(_l3*(_kg[2]-_i3))/_UV1;
}catch(e){}}if(_qk>_Sr1){_kg=_YV1[_qk--];try{_kg[0]-=(_l3*(_kg[0]-_k3))/_UV1;_kg[1]-=(_l3*(_kg[1]-_j3))/_UV1;_kg[2]-=(_l3*(_kg[2]-_i3))/_UV1;}catch(e){}}}};var _bW1=function _bW1(alpha,i,_k3,_j3,_i3){var _x5=_YV1[i];_x5[0]-=(alpha*(_x5[0]-_k3))/_PV1;_x5[1]-=(alpha*(_x5[1]-_j3))/_PV1;_x5[2]-=(alpha*(_x5[2]-_i3))/_PV1;};var _aW1=function _aW1(_k3,_j3,_i3){var i;var _dt;var _l3;var _gW1;var _hW1;var _iW1;var _jW1;var _dW1;var _kW1;var _x5;_dW1=~(1<<31);_kW1=_dW1;_iW1=-1;_jW1=_iW1;for(i=0;i<_uV1;i++){_x5=_YV1[i];_dt=_x5[0]-_k3;
if(_dt<0)_dt=-_dt;_l3=_x5[1]-_j3;if(_l3<0)_l3=-_l3;_dt+=_l3;_l3=_x5[2]-_i3;if(_l3<0)_l3=-_l3;_dt+=_l3;if(_dt<_dW1){_dW1=_dt;_iW1=i;}_gW1=_dt-((_fw[i])>>(_DV1-_BV1));if(_gW1<_kW1){_kW1=_gW1;_jW1=i;}_hW1=(freq[i]>>_HV1);freq[i]-=_hW1;_fw[i]+=(_hW1<<_FV1);}freq[_iW1]+=_dr1;_fw[_iW1]-=_IV1;return(_jW1);};_AU1.apply(this,arguments);return _Of;};_qg:function _lW1(){var _mW1="#define MATRIX_VIEW 0\n"+"#define MATRIX_PROJECTION 1\n"+"#define MATRIX_WORLD 2\n"+"#define MATRIX_WORLD_VIEW 3\n"+"#define MATRIX_WORLD_VIEW_PROJECTION 4\n"+"#define MATRICES_MAX 5\n"+"#define FOG_SETTINGS 0\n"+"#define FOG_COLOUR 1\n"+"\n"+"uniform mat4 matrices[MATRICES_MAX];\n"+"uniform vec4 fogParameters[2];\n"+"\n"+"attribute vec3 vertex;\n"+"attribute vec4 color;\n"+"attribute vec2 UV;\n"+"\n"+"varying vec4 fcolor;\n"+"varying vec2 texc;\n"+"varying vec4 fogColor;\n"+"varying float fogFactor;\n"+"\n"+"float CalcFogFactor(vec4 pos)\n"+"{\n"+"	vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n"+"   vec4 fogParams = fogParameters[FOG_SETTINGS];\n"+"	return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n"+"}\n"+"\n"+"void main(void)\n"+"{\n"+"    fcolor = color;\n"+"    texc   = UV;\n"+"    vec4 pos = vec4(vertex.xyz, 1);\n"+"    fogFactor = CalcFogFactor(pos);\n"+"    fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n"+"    gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n"+"    gl_PointSize = 1.0;\n"+"}";
return _mW1;}function _nW1(){var _oW1="precision highp float;\n"+"uniform sampler2D pTexure;\n"+"uniform bool alphaTestEnabled;\n"+"uniform float alphaRefValue;"+"\n"+"varying vec4 fcolor;\n"+"varying vec2 texc;\n"+"varying vec4 fogColor;\n"+"varying float fogFactor;\n"+"\n"+"void DoAlphaTest(vec4 SrcColour)\n"+"{\n"+"    if (alphaTestEnabled)\n"+"    {\n"+"        if (SrcColour.a <= alphaRefValue)\n"+"        {\n"+"	        discard;\n"+"        }\n"+"    }\n"+"}\n"+"\n"+"void main(void)\n"+"{\n"+"    vec4 color   = texture2D(pTexure, texc).rgba * fcolor.rgba;\n"+"    DoAlphaTest(color);\n"+"    gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n"+"}\n";
return _oW1;}function _pW1(){var _qW1="#define LIGHTS_MAX 8\n"+"#define MATRIX_VIEW 0\n"+"#define MATRIX_PROJECTION 1\n"+"#define MATRIX_WORLD 2\n"+"#define MATRIX_WORLD_VIEW 3\n"+"#define MATRIX_WORLD_VIEW_PROJECTION 4\n"+"#define MATRICES_MAX 5\n"+"#define FOG_SETTINGS 0\n"+"#define FOG_COLOUR 1\n"+"\n"+"uniform mat4 matrices[MATRICES_MAX];\n"+"uniform vec4 fogParameters[2];\n"+"\n"+"uniform vec4 dirlightdir[LIGHTS_MAX];\n"+"uniform vec4 pointlightpos[LIGHTS_MAX];\n"+"uniform vec4 lightcol[LIGHTS_MAX];\n"+"uniform vec4 ambientcol;\n"+"\n"+"attribute vec3 vertex;\n"+"attribute vec3 normal;\n"+"attribute vec4 color;\n"+"attribute vec2 UV;\n"+"\n"+"varying vec4 fcolor;\n"+"varying vec2 texc;\n"+"varying vec4 fogColor;\n"+"varying float fogFactor;\n"+"\n"+"float CalcFogFactor(vec4 pos)\n"+"{\n"+"	vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n"+"   vec4 fogParams = fogParameters[FOG_SETTINGS];\n"+"	return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n"+"}\n"+"\n"+"vec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n"+"{\n"+"    float dotresult = dot(ws_normal, dir.xyz);\n"+"    dotresult = max(0.0, dotresult);\n"+"    return dotresult * diffusecol;\n"+"}\n"+"\n"+"vec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n"+"{\n"+"	float atten = 0.0;\n"+"\n"+"	vec3 diffvec = ws_pos - posrange.xyz;\n"+"	float veclen = length(diffvec);\n"+"	if (veclen <= posrange.w)\n"+"	{\n"+"        atten = 1.0 / (1.0 + (veclen / posrange.w));\n"+"	}\n"+"\n"+"	diffvec /= veclen;\n"+"	float dotresult = dot(ws_normal, diffvec);\n"+"	dotresult = max(0.0, dotresult);\n"+"\n"+"	return (diffusecol * dotresult * atten);\n"+"}\n"+"\n"+"vec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n"+"{\n"+"    vec3 ws_normal;\n"+"    vec3 ws_pos;\n"+"    vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n"+"\n"+"    ws_normal = (matrices[MATRIX_WORLD] * objectspacenormal4).xyz;\n"+"    ws_normal = -normalize(ws_normal);\n"+"    ws_pos = (matrices[MATRIX_WORLD] * objectspacepos).xyz;\n"+"\n"+"    vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0);\n"+"    for(int i = 0; i < LIGHTS_MAX; i++)\n"+"    {\n"+"    	accumcol += DoDirLight(ws_normal, dirlightdir[i], lightcol[i]);\n"+"    }\n"+"    for(int i = 0; i < LIGHTS_MAX; i++)\n"+"    {\n"+"    	accumcol += DoPointLight(ws_pos, ws_normal, pointlightpos[i], lightcol[i]);\n"+"    }\n"+"    accumcol *= vertexcolour;\n"+"    accumcol += ambientcol;\n"+"    return min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n"+"}\n"+"\n"+"void main(void)\n"+"{\n"+"    vec4 pos = vec4(vertex.xyz, 1);\n"+"    vec4 lcolor = DoLighting(color, pos, normal);\n"+"    fcolor = vec4(lcolor.xyz, 1);\n"+"    fogFactor = CalcFogFactor(pos);\n"+"    fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n"+"    texc = UV;\n"+"    gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n"+"    gl_PointSize = 1.0;\n"+"}";
return _qW1;}function _rW1(){var _oW1="precision highp float;\n"+"uniform sampler2D pTexure;\n"+"uniform bool alphaTestEnabled;\n"+"uniform float alphaRefValue;"+"\n"+"varying vec4 fcolor;\n"+"varying vec2 texc;\n"+"varying vec4 fogColor;\n"+"varying float fogFactor;\n"+"\n"+"void DoAlphaTest(vec4 SrcColour)\n"+"{\n"+"    if (alphaTestEnabled)\n"+"    {\n"+"        if (SrcColour.a <= alphaRefValue)\n"+"        {\n"+"	        discard;\n"+"        }\n"+"    }\n"+"}\n"+"\n"+"\n"+"void main(void)\n"+"{\n"+"    vec4 color   = texture2D( pTexure, texc ).rgba * fcolor.rgba;\n"+"    DoAlphaTest(color);\n"+"    gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n"+"}\n";
return _oW1;}/*@constructor */function _sW1(_tW1,_201){var _JG=null;var _uW1=null,_vW1=null,_wW1=null;var _xW1=0;var _yW1,_zW1,_AW1;var _BW1,_CW1,_DW1=[];var _EW1,_FW1,_GW1,_HW1;var _IW1,_JW1;var _KW1=0;Object.defineProperties(this,{_fm1:{get :function(){return _JG;}},_LW1:{get :function(){return(_JG!==null&&_JG!==undefined);}},_p9:{get :function(){return _wW1;}},_J9:{get :function(){return _BW1;}},_2c:{get :function(){return _CW1;}},_MW1:{get :function(){return _yW1;}},_NW1:{get :function(){return _zW1;}},_OW1:{get :function(){
return _EW1;}},_PW1:{get :function(){return _FW1;}},_QW1:{get :function(){return _GW1;},set :function(_yd){_GW1=_yd;}},_RW1:{get :function(){return _HW1;},set :function(_yd){_HW1=_yd;}},_tB:{get :function(){return _IW1;}}});(function(){_JG=_SW1(_tW1,_201);if(_JG){_TW1(_JG);var _UW1=_JG.getParameter(_JG.MAX_TEXTURE_IMAGE_UNITS);_IW1=(_UW1<_d9._VW1)?_UW1:_d9._VW1;_JW1=_JG.getParameter(_JG.MAX_TEXTURE_SIZE);_vW1=new _WW1(_201._XW1);_wW1=new _YW1(_IW1,32,_vW1,_201._XW1);_uW1=new _ZW1(_vW1,_wW1);__W1();_0X1();_1X1();
_vW1._Uy(_yW1);_2X1();}})();function _2X1(){_3X1=(_JG.getExtension('EXT_texture_filter_anisotropic')||_JG.getExtension('MOZ_EXT_texture_filter_anisotropic')||_JG.getExtension('WEBKIT_EXT_texture_filter_anisotropic'));_4X1=_JG.getExtension('OES_texture_half_float');_5X1=_JG.getExtension('OES_texture_half_float_linear');_6X1=_JG.getExtension('EXT_color_buffer_half_float');_7X1=_JG.getExtension('OES_texture_float');_8X1=_JG.getExtension('OES_texture_float_linear');_9X1=_JG.getExtension('EXT_color_buffer_float');
if(!(typeof WebGL2RenderingContext===typeof undefined)&&(_JG instanceof WebGL2RenderingContext)){_aX1=true;}if(_aX1){_bX1=true;_cX1=true;_dX1=true;_eX1=true;}else {_bX1=false;_cX1=false;_dX1=false;_eX1=false;}if(_6X1||_9X1){if(_aX1){_fX1=true;_gX1=true;}else {if((_4X1&&_5X1)||(_7X1&&_8X1)){_fX1=true;_gX1=false;}}}if(_9X1){if(_aX1){if(_8X1){_hX1=true;_iX1=true;}}else {if(_7X1&&_8X1){_hX1=true;_iX1=true;}}}_jX1=_JG.getExtension('OES_standard_derivatives');if(_aX1||_jX1){_kX1=true;if(_jX1){_lX1=true;}}}function _TW1(_mX1){
_WW1.prototype._mX1=_mX1;_ZW1.prototype._mX1=_mX1;_Nb.prototype._mX1=_mX1;_nX1.prototype._mX1=_mX1;_oX1.prototype._mX1=_mX1;_pX1.prototype._mX1=_mX1;};function _qX1(){var userAgent=navigator.userAgent.toString().toLowerCase();var _rX1=userAgent.indexOf("trident/");if(_rX1>=0){var version=parseFloat(userAgent.slice(_rX1+"trident/".length));if(version==7){return true;}}return false;};function _SW1(_tW1,_201){var _sX1=null;var _tX1=["webgl","experimental-webgl","moz-webgl","webkit-3d"];{for(var i=0;i<_tX1.length;
i++){try{var _uX1={alpha:true,stencil:_201._vX1,antialias:false,premultipliedAlpha:false,preserveDrawingBuffer:_201._wX1};_sX1=_tW1.getContext(_tX1[i],_uX1);if(_sX1){break;}}catch(_fj){return null;}}}if(_sX1){_EW1=_tW1.width;_FW1=_tW1.height;_GW1=_EW1;_HW1=_FW1;}return _sX1;};function __W1(){var _xX1=new _oX1(),_yX1=new _oX1();_xX1._zX1();_xX1._AX1();_xX1._BX1();_yX1._zX1();_yX1._AX1();_yX1._BX1();_yX1._CX1();_BW1=_DW1.push(_xX1)-1;_CW1=_DW1.push(_yX1)-1;_uW1._DX1(_BW1);_uW1._DX1(_CW1);_xX1._EX1=_yX1._EX1=true;
};/*@this {yyWebGL} */this._FX1=function(_ae1){for(var i in _DW1){if(!_DW1.hasOwnProperty(i))continue;if(_DW1[i]._Bq1(_ae1)){return i;}}var _GX1=_DW1.push(_ae1)-1;_uW1._DX1(_GX1);return _GX1;};/*@this {yyWebGL} */this._Pb=function(_Hc){return _DW1[_Hc];};function _HX1(_PN){while(((_PN&0x1)==0)&&(_PN>1)){_PN>>=1;}return(_PN==1);};/*@this {yyWebGL} */this._IX1=function(){return _JW1;};/*@this {yyWebGL} */this._JX1=function(_KX1,_LX1,_MX1,_NX1){_uW1._Fi1();_vW1._JX1(_KX1,_LX1,_MX1,_NX1);};function _OX1(_PX1,
type,source){var _QX1=(type=='vertex')?_JG.VERTEX_SHADER:_JG.FRAGMENT_SHADER;var _rh=_JG.createShader(_QX1);var _RX1=source;if((_QX1==_JG.FRAGMENT_SHADER)&&_lX1){_RX1="#extension GL_OES_standard_derivatives : enable\n"+source;}_JG.shaderSource(_rh,_RX1);_JG.compileShader(_rh);if(!_JG.getShaderParameter(_rh,_JG.COMPILE_STATUS)){console.log("Could not compile "+type+" shader:\n\n"+_JG.getShaderInfoLog(_rh));console.log("----------------Shader Begin----------------");console.log(_RX1);console.log("-----------------Shader END----------------");
return;}_JG.attachShader(_PX1,_rh);};function _0X1(){var _qW1=_lW1();var _oW1=_nW1();var _SX1=_JG.createProgram();var error=_JG.getError();_OX1(_SX1,"vertex",_qW1);_OX1(_SX1,"fragment",_oW1);_JG.linkProgram(_SX1);error=_JG.getError();if(!_JG.getProgramParameter(_SX1,_JG.LINK_STATUS)){alert("Could not initialise shaders\n\n");return false;}_JG.useProgram(_SX1);_yW1=_SX1;_SX1._TX1=_JG.getAttribLocation(_SX1,"vertex");_SX1._UX1=_JG.getAttribLocation(_SX1,"normal");_SX1._VX1=_JG.getAttribLocation(_SX1,"color");
_SX1._WX1=_JG.getAttribLocation(_SX1,"UV");_SX1._XX1=_JG.getUniformLocation(_SX1,"pTexure");_SX1._YX1=_JG.getUniformLocation(_SX1,"matrices");_SX1._ZX1=_JG.getUniformLocation(_SX1,"fogParameters");_SX1.__X1=_JG.getUniformLocation(_SX1,"alphaTestEnabled");_SX1._0Y1=_JG.getUniformLocation(_SX1,"alphaRefValue");_SX1._1Y1=[];_SX1._1Y1.push(_JG.getAttribLocation(_SX1,"vertex"));_SX1._1Y1.push(_JG.getAttribLocation(_SX1,"color"));_SX1._1Y1.push(_JG.getAttribLocation(_SX1,"UV"));_SX1._1Y1=[];_SX1._2Y1=[];
_SX1._3Y1=[];if(_SX1._TX1!=-1){_SX1._1Y1.push(_SX1._TX1);_SX1._2Y1.push("vertex");_SX1._3Y1.push(_d9._Mc);}if(_SX1._UX1!=-1){_SX1._1Y1.push(_SX1._UX1);_SX1._2Y1.push("normal");_SX1._3Y1.push(_d9._0d);}if(_SX1._VX1!=-1){_SX1._1Y1.push(_SX1._VX1);_SX1._2Y1.push("color");_SX1._3Y1.push(_d9._Rc);}if(_SX1._WX1!=-1){_SX1._1Y1.push(_SX1._WX1);_SX1._2Y1.push("UV");_SX1._3Y1.push(_d9._Zc);}_SX1._4Y1=_KW1++;return true;};function _1X1(){var _mW1=_pW1();var _oW1=_rW1();var _SX1=_JG.createProgram();var error=_JG.getError();
_OX1(_SX1,"vertex",_mW1);_OX1(_SX1,"fragment",_oW1);_JG.linkProgram(_SX1);error=_JG.getError();if(!_JG.getProgramParameter(_SX1,_JG.LINK_STATUS)){alert("Could not initialise 3D shader\n\n");return false;}_JG.useProgram(_SX1);_SX1._5Y1=_JG.getUniformLocation(_SX1,"ViewMatrix");_zW1=_SX1;_SX1._TX1=_JG.getAttribLocation(_SX1,"vertex");_SX1._UX1=_JG.getAttribLocation(_SX1,"normal");_SX1._VX1=_JG.getAttribLocation(_SX1,"color");_SX1._WX1=_JG.getAttribLocation(_SX1,"UV");_SX1._XX1=_JG.getUniformLocation(_SX1,
"pTexure");_SX1._YX1=_JG.getUniformLocation(_SX1,"matrices");_SX1._6Y1=_JG.getUniformLocation(_SX1,"dirlightdir");_SX1._7Y1=_JG.getUniformLocation(_SX1,"pointlightpos");_SX1._8Y1=_JG.getUniformLocation(_SX1,"lightcol");_SX1._9Y1=_JG.getUniformLocation(_SX1,"ambientcol");_SX1._ZX1=_JG.getUniformLocation(_SX1,"fogParameters");_SX1.__X1=_JG.getUniformLocation(_SX1,"alphaTestEnabled");_SX1._0Y1=_JG.getUniformLocation(_SX1,"alphaRefValue");_SX1._1Y1=[];_SX1._2Y1=[];_SX1._3Y1=[];if(_SX1._TX1!=-1){_SX1._1Y1.push(_SX1._TX1);
_SX1._2Y1.push("vertex");_SX1._3Y1.push(_d9._Mc);}if(_SX1._UX1!=-1){_SX1._1Y1.push(_SX1._UX1);_SX1._2Y1.push("normal");_SX1._3Y1.push(_d9._0d);}if(_SX1._VX1!=-1){_SX1._1Y1.push(_SX1._VX1);_SX1._2Y1.push("color");_SX1._3Y1.push(_d9._Rc);}if(_SX1._WX1!=-1){_SX1._1Y1.push(_SX1._WX1);_SX1._2Y1.push("UV");_SX1._3Y1.push(_d9._Zc);}_SX1._4Y1=_KW1++;return true;};/*@this {yyWebGL} */this._aY1=function(_bY1,_cY1,_dY1){if(_bY1=="None"||_cY1=="None"){var _eY1={_fY1:null,_gY1:null};return _eY1;}var _SX1=_JG.createProgram();
var error=_JG.getError();_OX1(_SX1,"vertex",_bY1);_OX1(_SX1,"fragment",_cY1);_JG.linkProgram(_SX1);error=_JG.getError();if(!_JG.getProgramParameter(_SX1,_JG.LINK_STATUS)){var _eY1={_fY1:null,_gY1:null};return _eY1;}_JG.useProgram(_SX1);_SX1._YX1=_JG.getUniformLocation(_SX1,"gm_Matrices");_SX1._6Y1=_JG.getUniformLocation(_SX1,"gm_Lights_Direction");_SX1._7Y1=_JG.getUniformLocation(_SX1,"gm_Lights_PosRange");_SX1._8Y1=_JG.getUniformLocation(_SX1,"gm_Lights_Colour");_SX1._9Y1=_JG.getUniformLocation(_SX1,
"gm_AmbientColour");_SX1._TX1=_JG.getAttribLocation(_SX1,"in_Position");_SX1._UX1=_JG.getAttribLocation(_SX1,"in_Normal");_SX1._VX1=_JG.getAttribLocation(_SX1,"in_Colour");_SX1._WX1=_JG.getAttribLocation(_SX1,"in_TextureCoord");_SX1._1Y1=[];_SX1._3Y1=[];for(var _hY1=0;_hY1<_dY1.length;_hY1++){_SX1._1Y1.push(_JG.getAttribLocation(_SX1,_dY1[_hY1]));switch(_dY1[_hY1]){case "in_Position":_SX1._3Y1.push(_d9._Mc);break;case "in_Normal":_SX1._3Y1.push(_d9._0d);break;case "in_Colour":_SX1._3Y1.push(_d9._Rc);
break;case "in_TextureCoord":_SX1._3Y1.push(_d9._Zc);break;default :_SX1._3Y1.push(_d9._Zc);break;}}_SX1._2Y1=_dY1;var _iY1="gm_BaseTexture";var _sB=[_iY1];var _IB=0;var _D81=[];var _jY1=_JG.getUniformLocation(_SX1,_iY1);_JG.uniform1iv(_jY1,[_IB++]);_SX1._XX1=_jY1;_SX1._kY1={_og:[]};for(var _04=0,_lY1=_JG.getProgramParameter(_SX1,_JG.ACTIVE_UNIFORMS);_04<_lY1;_04++){var _mY1=1;var _nY1=_JG.getActiveUniform(_SX1,_04),_oY1=_nY1["name"];if(_nY1["size"]>1){var _o8=_oY1.indexOf('[');if(_o8>0){_oY1=_oY1.substring(0,
_o8);}}if((_nY1["type"]==_JG.SAMPLER_2D)||(_nY1["type"]==_JG.SAMPLER_CUBE)){if(_oY1!=_iY1){_sB[_IB]=_oY1;var _hY1=_JG.getUniformLocation(_SX1,_oY1);_JG.uniform1iv(_hY1,[_IB++]);}}else {switch(_nY1["type"]){case _JG.FLOAT:_mY1=1;break;case _JG.BOOL:_mY1=1;break;case _JG.INT:_mY1=1;break;case _JG._pY1:_mY1=1;break;case _JG.FLOAT_VEC2:_mY1=2;break;case _JG.FLOAT_VEC3:_mY1=3;break;case _JG.FLOAT_VEC4:_mY1=4;break;case _JG.INT_VEC2:_mY1=2;break;case _JG.INT_VEC3:_mY1=3;break;case _JG.INT_VEC4:_mY1=4;break;case _JG.BOOL_VEC2:_mY1=2;
break;case _JG.BOOL_VEC3:_mY1=3;break;case _JG.BOOL_VEC4:_mY1=4;break;case _JG.FLOAT_MAT2:_mY1=4;break;case _JG.FLOAT_MAT3:_mY1=9;break;case _JG.FLOAT_MAT4:_mY1=16;break;default :_mY1=1;}}_SX1._kY1._og[_04]=_oY1;_SX1._kY1[_oY1]={index:_04,location:_JG.getUniformLocation(_SX1,_oY1),_qY1:_nY1,width:_mY1,size:_nY1.size};_SX1._kY1[_04]=_SX1._kY1[_oY1];_SX1._Xv1=_bY1;_SX1._rY1=_cY1;}_SX1._4Y1=_KW1++;_eY1={_fY1:_SX1,_gY1:_sB};return _eY1;};/*@this {yyWebGL} */this._sY1=function(){_xW1++;};/*@this {yyWebGL} */this._tY1=function(){
_uW1._Fi1();_vW1._t2=_xW1;_vW1._uY1();_vW1._oJ();_JG.clearColor(1,1,1,1);_JG.colorMask(false,false,false,true);_JG.clear(_JG.COLOR_BUFFER_BIT);_JG.colorMask(true,true,true,true);};/*@this {yyWebGL} */this._vY1=function(){_uW1._Fi1();_vW1._uY1();};/*@this {yyWebGL} */this._wY1=function(_si,_tj){_wW1._F9(_d9._r9,_si);_wW1._F9(_d9._s9,_tj);_wW1._F9(_d9._t9,_si);_wW1._F9(_d9._u9,_tj);};this._xY1=function(_Ry){_wW1._F9(_d9._UA,_Ry);};/*@this {yyWebGL} */this._Fy=function(_ML){_wW1._F9(_d9._VA,_ML);};
/*@this {yyWebGL} */this._Jy=function(_ML){_wW1._F9(_d9._6B,_ML?_d9._yY1:_d9._zY1);};/*@this {yyWebGL} */this._AY1=function(_BY1){};/*@this {yyWebGL} */this._Hy=function(_ML){_wW1._F9(_d9._YA,_ML);};/*@this {yyWebGL} *//*@this {yyWebGL} */this._Qy=function(_CY1,_DY1,_EY1,_FY1){var _lB={_mu:_CY1,_nu:_DY1,_ou:_EY1,alpha:_FY1};_wW1._F9(_d9._mB,_lB);};/*@this {yyWebGL} */this._Az=function(_x3,_GY1,_HY1,_IY1){_uW1._Fi1();_vW1._Az(_x3,_GY1,_HY1,_IY1);};/*@this {yyWebGL} */this._Ez=function(_x3,_ML,_JY1){
_uW1._Fi1();_vW1._Ez(_x3,_ML,_JY1);};/*@this {yyWebGL} */this._Fz=function(_JY1){_uW1._Fi1();_vW1._KY1(_JY1);};/*@this {yyWebGL} */this._Hz=function(_LY1){var _MY1=_LY1[0];var end=_LY1[2];var start=end;if(_LY1[1]!=0.0)start=end-(1.0/_LY1[1]);var colour=(_LY1[4]*255)|((_LY1[5]*255)<<8)|((_LY1[6]*255)<<16)|((_LY1[7]*255)<<24);_wW1._F9(_d9._1B,_MY1);_wW1._F9(_d9._3B,start);_wW1._F9(_d9._4B,end);_wW1._F9(_d9._2B,colour);};/*@this {yyWebGL} */this._NY1=function(_Ry,_OY1){_wW1._F9(_d9._oB,_Ry);_wW1._F9(_d9._qB,
(_OY1*255)|0);};/*@this {yyWebGL} */this._PY1=function(_z81,_Rl){if(_Rl){_wW1._uB(_z81,_d9._BB,_d9._CB);_wW1._uB(_z81,_d9._DB,_d9._CB);}else {_wW1._uB(_z81,_d9._BB,_d9._EB);_wW1._uB(_z81,_d9._DB,_d9._EB);}};/*@this {yyWebGL} */this._QY1=function(_z81,_FB){_wW1._uB(_z81,_d9._vB,_FB);_wW1._uB(_z81,_d9._xB,_FB);};/*@this {yyWebGL} */this._RY1=function(){return _IW1;};/*@this {yyWebGL} */this._SY1=function(_Ry){_wW1._F9(_d9._TY1,_Ry);};/*@this {yyWebGL} */this._UY1=function(_Cj){_wW1._F9(_d9._VY1,_Cj);
};/*@this {yyWebGL} */this._WY1=function(_XY1){_wW1._F9(_d9._YY1,_XY1);};/*@this {yyWebGL} */this._ZY1=function(__Y1){_wW1._F9(_d9._0Z1,__Y1);};/*@this {yyWebGL} */this._Uy=function(_1Z1){_uW1._Fi1();_vW1._Uy(_1Z1);_AW1=_1Z1;};/*@this {yyWebGL} */this._2Z1=function(_1Z1,_3Z1){var _4Z1=_1Z1._kY1[_3Z1];if(_4Z1){return _4Z1.index;}return -1;};/*@this {yyWebGL} */this._5Z1=function(_G81,_6Z1){if(_G81!=-1){_uW1._Fi1();_vW1._5Z1(_G81,_6Z1);}};/*@this {yyWebGL} */this._7Z1=function(_G81,_6Z1){if(_G81!=-1){
_uW1._Fi1();_vW1._7Z1(_G81,_6Z1);}};/*@this {yyWebGL} */this._8Z1=function(_G81,_6Z1){if(_G81!=-1){_uW1._Fi1();_vW1._8Z1(_G81,_6Z1);}};/*@this {yyWebGL} */this._9Z1=function(_G81,_6Z1){var width=_AW1._kY1[_G81].width;var size=_AW1._kY1[_G81].size;var _D81;var _K5=_6Z1.length;var _aZ1=(_K5+width)-((_K5+width)%width);if(_aZ1>(width*size))_aZ1=width*size;if(_K5==_aZ1){_D81=new Float32Array(_6Z1);}else {_D81=new Float32Array(_aZ1);if(_aZ1<_K5)_K5=_aZ1;for(var i=0;i<_K5;i++){_D81[i]=_6Z1[i];}}return _D81;};/*@this {yyWebGL} */this._bZ1=function(_G81,
_6Z1){if(_G81!=-1){_uW1._Fi1();_6Z1=this._9Z1(_G81,_6Z1);_vW1._bZ1(_G81,_6Z1);}};/*@this {yyWebGL} */this._cZ1=function(_G81,_6Z1){if(_G81!=-1){_uW1._Fi1();_6Z1=this._9Z1(_G81,_6Z1);_vW1._cZ1(_G81,_6Z1);}};/*@this {yyWebGL} */this._dZ1=function(_dn){_uW1._Fi1();_vW1._dZ1(_dn);};this._Fi1=function(){_uW1._Fi1();};/*@this {yyWebGL} */this._eZ1=function(_fd,_u4,_v4,_oi,_pi,_tW1,_ae1){_vW1._eZ1(_fd,_u4,_v4,_oi,_pi,_tW1,_ae1);};/*@this {yyWebGL} */this._fZ1=function(_z81,_fd){if(_fd!=null){_d9._gZ1(_fd instanceof _nX1,
"Texture is not a yyGLTexture",_d9._hZ1);}_uW1._Fi1();_vW1._fZ1(_z81,_fd);};/*@this {yyWebGL} */this._0z=function(_Pv){_uW1._Fi1();_vW1._iZ1(_Pv);};/*@this {yyWebGL} */this._6z=function(_Pv){_uW1._Fi1();_vW1._jZ1(_Pv);};/*@this {yyWebGL} */this._kZ1=function(_Pv){_uW1._Fi1();_vW1._lZ1(_Pv);};/*@this {yyWebGL} */this._mZ1=function(_nZ1){var _u3=new _nX1(undefined,_nZ1.width,_nZ1.height,_HX1(_nZ1.width)&&_HX1(_nZ1.height),_nZ1,_nZ1._oZ1,0,_fr);return _u3;};this._pZ1=function(_ae1){switch(_ae1){case _fj1:return "surface_unknown";
case _fr:return "surface_rgba8unorm";case _4j1:return "surface_r16float";case _5j1:return "surface_r32float";case _6j1:return "surface_rgba4unorm";case _7j1:return "surface_r8unorm";case _8j1:return "surface_rg8unorm";case _9j1:return "surface_rgba16float";case _aj1:return "surface_rgba32float";default :return "surface_unknown";}};this._qZ1=function(_ae1){var _rZ1={_sZ1:_JG.RGBA,_Ig:_JG.RGBA,type:_JG.UNSIGNED_BYTE};switch(_ae1){case _fj1:return _rZ1;case _fr:_rZ1._sZ1=_JG.RGBA;_rZ1._Ig=_JG.RGBA;_rZ1.type=_JG.UNSIGNED_BYTE;
return _rZ1;case _6j1:_rZ1._sZ1=_JG.RGBA;_rZ1._Ig=_JG.RGBA;_rZ1.type=_JG.UNSIGNED_SHORT_4_4_4_4;return _rZ1;case _tZ1:return _rZ1;case _uZ1:return _rZ1;case _vZ1:return _rZ1;case _wZ1:return _rZ1;case _xZ1:return _rZ1;case _yZ1:return _rZ1;case _zZ1:return _rZ1;case _4j1:if(!_fX1||!_gX1)return _rZ1;_rZ1._sZ1=_bX1?_JG.R16F:_JG.RED;_rZ1._Ig=_JG.RED;_rZ1.type=_bX1?_JG.HALF_FLOAT:_JG.HALF_FLOAT_OES;return _rZ1;case _5j1:if(!_hX1||!_iX1)return _rZ1;_rZ1._sZ1=_cX1?_JG.R32F:_JG.RED;_rZ1._Ig=_JG.RED;_rZ1.type=_JG.FLOAT;return _rZ1;
case _7j1:if(!_dX1)return _rZ1;_rZ1._sZ1=_eX1?_JG.R8:_JG.RED;_rZ1._Ig=_JG.RED;_rZ1.type=_JG.UNSIGNED_BYTE;return _rZ1;case _8j1:if(!_dX1)return _rZ1;_rZ1._sZ1=_eX1?_JG.RG8:_JG.RG;_rZ1._Ig=_JG.RG;_rZ1.type=_JG.UNSIGNED_BYTE;return _rZ1;case _9j1:if(!_fX1)return _rZ1;_rZ1._sZ1=_aX1?_JG.RGBA16F:_JG.RGBA;_rZ1._Ig=_JG.RGBA;_rZ1.type=_aX1?_JG.HALF_FLOAT:_4X1.HALF_FLOAT_OES;return _rZ1;case _aj1:if(!_hX1)return _rZ1;_rZ1._sZ1=_cX1?_JG.RGBA32F:_JG.RGBA;_rZ1._Ig=_JG.RGBA;_rZ1.type=_JG.FLOAT;return _rZ1;default :_rZ1._sZ1=_JG.RGBA;
_rZ1._Ig=_JG.RGBA;_rZ1.type=_JG.UNSIGNED_BYTE;return true;}return _rZ1;};this._AZ1=function(_BZ1,_CZ1){var _DZ1=_JG.getParameter(_JG.TEXTURE_BINDING_2D);var _rZ1=this._qZ1(_BZ1._vc);var _1c=_JG.createTexture();_JG.bindTexture(_JG.TEXTURE_2D,_1c);if(_BZ1.Image==null){_JG.texImage2D(_JG.TEXTURE_2D,0,_rZ1._sZ1,_BZ1._EZ1,_BZ1._FZ1,0,_rZ1._Ig,_rZ1.type,null);}else if(_BZ1.Image instanceof Uint8Array){_JG.texImage2D(_JG.TEXTURE_2D,0,_JG.RGBA,_BZ1._EZ1,_BZ1._FZ1,0,_JG.RGBA,_JG.UNSIGNED_BYTE,_BZ1.Image);}else {_JG.texImage2D(_JG.TEXTURE_2D,
0,_JG.RGBA,_JG.RGBA,_JG.UNSIGNED_BYTE,_BZ1.Image);}if(_CZ1!==undefined&&(_CZ1==_d9._GZ1)||(_CZ1==_d9._HZ1)&&((_BZ1._Df!==undefined&&(_BZ1._Df&_IZ1._JZ1)!==0))){_JG.generateMipmap(_JG.TEXTURE_2D);var _KZ1=_BZ1._Df;_KZ1|=_IZ1._LZ1;_BZ1._Df=_KZ1;}_BZ1._ej1=_1c;_BZ1._MZ1._NZ1(_JG.TEXTURE_2D);_JG.bindTexture(_JG.TEXTURE_2D,_DZ1);_BZ1._OZ1=true;};this._cj1=function(_ae1){switch(_ae1){case _fr:return true;case _4j1:if(_fX1&&_gX1)return true;else return false;case _5j1:if(_hX1&&_iX1)return true;else return false;case _6j1:return true;
case _7j1:if(_dX1)return true;else return false;case _8j1:if(_dX1)return true;else return false;case _9j1:if(_fX1)return true;else return false;case _aj1:if(_hX1)return true;else return false;default :return false;}};/*@this {yyWebGL} */this._PZ1=function(_Tb,_Ek,_QZ1,_7c){var _Cg=0;if(_Tb){_Cg|=_JG.COLOR_BUFFER_BIT;}if(_Ek){_Cg|=_JG.DEPTH_BUFFER_BIT;}if(_QZ1){_Cg|=_JG.STENCIL_BUFFER_BIT;}_vW1._PZ1(_Cg,_7c);};/*@this {yyWebGL} */this._hi1=function(_ts){_uW1._Fi1();_vW1._hi1(_ts);};function _RZ1(_SZ1,_oi,_pi){if((_oi==0)||(_pi==0)){
return;}var _TZ1=_SZ1[(_pi-1)*_oi]&0xffffff;for(var i=0;i<(_oi*_pi);i++){if((_SZ1[i]&0xffffff)==_TZ1){_SZ1[i]=_SZ1[i]&0xffffff;}}};function _UZ1(_ec){var max=_JW1;var size=1;while(size<=max){if(_ec<=size)return size;size=size<<1;}return max;};/*@this {yyWebGL} */this._VZ1=function(_nZ1,_u4,_v4,_oi,_pi,_cr,_dr,_WZ1){this._Fi1();var _XZ1=new Uint8Array(_oi*_pi*4);_JG.readPixels(_u4,_HW1-(_v4+_pi),_oi,_pi,_JG.RGBA,_JG.UNSIGNED_BYTE,_XZ1);var _YZ1;if(_WZ1){var _ci=new ArrayBuffer(_oi*_pi*4);_YZ1=new Uint8Array(_ci);
for(var _14=0;_14<_pi;_14++){var _ZZ1=_XZ1.subarray(_14*_oi*4,(_14+1)*_oi*4);var __Z1=_YZ1.subarray((_pi-1-_14)*_oi*4,(_pi-_14)*_oi*4);__Z1.set(_ZZ1);}if(_cr){_RZ1(new Int32Array(_ci),_oi,_pi);}}else {_YZ1=_XZ1;}var w=_UZ1(_oi);var h=_UZ1(_pi);var _DZ1=_JG.getParameter(_JG.TEXTURE_BINDING_2D);var _u3=new _nX1(undefined,w,h,(w==_oi)&&(h==_pi),_YZ1);_nZ1.width=w;_nZ1.height=h;_JG.bindTexture(_JG.TEXTURE_2D,_DZ1);_vW1._oJ();return _u3;};/*@this {yyWebGL} */this._0_1=function(_nZ1,_1_1,_u4,_v4,_oi,_pi,_cr,_dr){
this._vY1();var _2_1=_JG.getParameter(_JG.FRAMEBUFFER_BINDING);var _ci=new ArrayBuffer(_oi*_pi*4);var _YZ1=new Uint8Array(_ci);_JG.bindFramebuffer(_JG.FRAMEBUFFER,_1_1);_JG.readPixels(_u4,_v4,_oi,_pi,_JG.RGBA,_JG.UNSIGNED_BYTE,_YZ1);_JG.bindFramebuffer(_JG.FRAMEBUFFER,_2_1);if(_cr){_RZ1(new Int32Array(_ci),_oi,_pi);}var w=_UZ1(_oi);var h=_UZ1(_pi);var _DZ1=_JG.getParameter(_JG.TEXTURE_BINDING_2D);var _3_1=new ArrayBuffer(w*h*4);var _4_1=new Uint8Array(_3_1);var y;var __j=0;var _5_1=0;for(y=0;y<_pi;y++){var x;for(x=0;
x<_oi;x++){_4_1[__j++]=_YZ1[_5_1++];_4_1[__j++]=_YZ1[_5_1++];_4_1[__j++]=_YZ1[_5_1++];_4_1[__j++]=_YZ1[_5_1++];}for(;x<w;x++){_4_1[__j++]=0;_4_1[__j++]=0;_4_1[__j++]=0;_4_1[__j++]=0;}}for(;y<h;y++){var x;for(x=0;x<w;x++){_4_1[__j++]=0;_4_1[__j++]=0;_4_1[__j++]=0;_4_1[__j++]=0;}}var _u3=new _nX1(undefined,w,h,(w==_oi)&&(h==_pi),_4_1);_nZ1.width=w;_nZ1.height=h;_JG.bindTexture(_JG.TEXTURE_2D,_DZ1);this._vY1();_vW1._oJ();return _u3;};/*@this {yyWebGL} */this._6_1=function(_nZ1,_7_1,_oi,_pi){var w=_UZ1(_oi);
var h=_UZ1(_pi);var _DZ1=_JG.getParameter(_JG.TEXTURE_BINDING_2D);var _u3=new _nX1(undefined,w,h,(w==_oi)&&(h==_pi),_7_1);_nZ1.width=w;_nZ1.height=h;_JG.bindTexture(_JG.TEXTURE_2D,_DZ1);_vW1._oJ();return _u3;};/*@this {yyWebGL} */this._8_1=function(_nZ1,_7_1,_oi,_pi){var _ci=new ArrayBuffer(_oi*_pi*4);var _9_1=new DataView(_ci);for(var _x5=0;_x5<_oi*_pi;_x5++){_9_1.setUint32(_x5*4,~~_7_1[_x5],true);}return this._6_1(_nZ1,new Uint8Array(_ci),_oi,_pi);};/*@this {yyWebGL} */this._a_1=function(_fd,_y8){_d9._gZ1(_fd instanceof _nX1,
"Texture is not a yyGLTexture",_d9._hZ1);if(!_b_1(_fd,_d9._c_1)){_ls(_fd);_S7(_fd);}var _1c=_fd._ej1;var w=_fd._EZ1;var h=_fd._FZ1;var _2_1=_JG.getParameter(_JG.FRAMEBUFFER_BINDING);var _d_1=_JG.createFramebuffer();_JG.bindFramebuffer(_JG.FRAMEBUFFER,_d_1);_JG.framebufferTexture2D(_JG.FRAMEBUFFER,_JG.COLOR_ATTACHMENT0,_JG.TEXTURE_2D,_1c,0);var _YZ1=new Uint8Array(w*h*4);_JG.readPixels(0,0,w,h,_JG.RGBA,_JG.UNSIGNED_BYTE,_YZ1);_JG.bindFramebuffer(_JG.FRAMEBUFFER,_2_1);_JG.deleteFramebuffer(_d_1);for(var i=0;
i<(w*h);i++){_YZ1[(i*4)+3]=_y8[i];}var _lv1=_UZ1(w);var _zg=_UZ1(h);var _DZ1=_JG.getParameter(_JG.TEXTURE_BINDING_2D);var _u3=new _nX1(undefined,_lv1,_zg,(_lv1==w)&&(_zg==h),_YZ1);_JG.deleteTexture(_fd._ej1);_JG.bindTexture(_JG.TEXTURE_2D,_DZ1);return _u3;};/*@this {yyWebGL} */this._e_1=function(_u4,_v4,_oi,_pi,_ae1){var _YZ1=null;var _rZ1=this._qZ1(_ae1);switch(_ae1){case _fr:_YZ1=new Uint8Array(_oi*_pi*4);break;case _6j1:_YZ1=new Uint16Array(_oi*_pi);break;case _4j1:_YZ1=new Uint16Array(_oi*_pi);break;case _5j1:_YZ1=new Float32Array(_oi*_pi);
break;case _7j1:_YZ1=new Uint8Array(_oi*_pi);break;case _8j1:_YZ1=new Uint8Array(_oi*_pi*2);break;case _9j1:_YZ1=new Uint16Array(_oi*_pi*4);break;case _aj1:_YZ1=new Float32Array(_oi*_pi*4);break;default :return null;}_JG.readPixels(_u4,_v4,_oi,_pi,_rZ1._Ig,_rZ1.type,_YZ1);return _YZ1;};function _f_1(_g_1){var _u3=0.0;var _h_1=(_g_1&0x7C00)>>10;var _Ns1=_g_1&0x03FF;var sign=1.0;if((_g_1>>15)!=0){sign=-1.0;}if(_h_1!=0){if(_h_1===0x1f){if(_Ns1!=0)_u3=NaN;else _u3=Infinity;}else {_u3=sign*(Math.pow(2,_h_1-15)*(1+(_Ns1/0x400)));
}}else {_u3=sign*(0.00006103515625*(_Ns1/0x400));}return _u3;}/*@this {yyWebGL} */this._i_1=function(_j_1,_ae1){var _u3=0;if(_j_1==null)return 0;switch(_ae1){case _fr:{_u3=(_j_1[0])|(_j_1[1]<<8)|(_j_1[2]<<16)|(_j_1[3]<<24);}break;case _6j1:{var _i3,_j3,_k3,_l3;var _k_1=_j_1[0];_i3=(((_k_1&0xf000)>>12)/15.0)*255.0;_j3=(((_k_1&0xf00)>>8)/15.0)*255.0;_k3=(((_k_1&0xf0)>>4)/15.0)*255.0;_l3=((_k_1&0xf)/15.0)*255.0;_i3=_M5(_i3,255);_j3=_M5(_j3,255);_k3=_M5(_k3,255);_l3=_M5(_l3,255);_u3=_i3|(_j3<<8)|(_k3<<16)|(_l3<<24);
}break;case _4j1:{var _i3=_f_1(_j_1[0]);_u3=new Array(_i3,0.0,0.0,0.0);}break;case _5j1:{var _i3=_j_1[0];_u3=new Array(_i3,0.0,0.0,0.0);}break;case _7j1:{_u3=_j_1[0];}break;case _8j1:{_u3=(_j_1[0])|(_j_1[1]<<8);}break;case _9j1:{var _i3,_j3,_k3,_l3;_i3=_f_1(_j_1[0]);_j3=_f_1(_j_1[1]);_k3=_f_1(_j_1[2]);_l3=_f_1(_j_1[3]);_u3=new Array(_i3,_j3,_k3,_l3);}break;case _aj1:{var _i3,_j3,_k3,_l3;_i3=_j_1[0];_j3=_j_1[1];_k3=_j_1[2];_l3=_j_1[3];_u3=new Array(_i3,_j3,_k3,_l3);}break;}return _u3;};/*@this {yyWebGL} */this._l_1=function(_u4,
_v4,_ae1){this._vY1();var _YZ1=this._e_1(_u4,_HW1-_v4,1,1,_ae1);var _q3=this._i_1(_YZ1,_ae1);_vW1._oJ();return _q3;};/*@this {yyWebGL} */this._m_1=function(_1_1,_u4,_v4,_ae1){this._vY1();var _2_1=_JG.getParameter(_JG.FRAMEBUFFER_BINDING);var _YZ1=new Uint8Array(16);_JG.bindFramebuffer(_JG.FRAMEBUFFER,_1_1);var _YZ1=this._e_1(_u4,_v4,1,1,_ae1);var _q3=this._i_1(_YZ1,_ae1);_JG.bindFramebuffer(_JG.FRAMEBUFFER,_2_1);_vW1._oJ();return new Long(_q3);};/*@this {yyWebGL} */this._n_1=function(_1_1,_u4,_v4,_oi,_pi,
_ae1){this._vY1();var _2_1=_JG.getParameter(_JG.FRAMEBUFFER_BINDING);_JG.bindFramebuffer(_JG.FRAMEBUFFER,_1_1);var _YZ1=this._e_1(_u4,_v4,_oi,_pi,_ae1);if(!(_YZ1 instanceof Uint8Array)){var _o_1=new Uint8Array(_YZ1.buffer);_YZ1=_o_1;}_JG.bindFramebuffer(_JG.FRAMEBUFFER,_2_1);_vW1._oJ();return _YZ1;};/*@this {yyWebGL} */this._p_1=function(_oi,_pi,_ae1){var _DZ1=_JG.getParameter(_JG.TEXTURE_BINDING_2D);var _2_1=_JG.getParameter(_JG.FRAMEBUFFER_BINDING);var _q_1=_JG.getParameter(_JG.RENDERBUFFER_BINDING);{var _r_1=_JG.createFramebuffer();
_r_1.width=_oi;_r_1.height=_pi;_JG.bindFramebuffer(_JG.FRAMEBUFFER,_r_1);var _s_1=new _nX1(undefined,_oi,_pi,_HX1(_oi)&&_HX1(_pi),null,0,0,_ae1);this._AZ1(_s_1);var _t_1=_JG.createRenderbuffer();_JG.bindRenderbuffer(_JG.RENDERBUFFER,_t_1);_JG.framebufferTexture2D(_JG.FRAMEBUFFER,_JG.COLOR_ATTACHMENT0,_JG.TEXTURE_2D,_s_1._ej1,0);if(_Kh1){_JG.renderbufferStorage(_JG.RENDERBUFFER,_JG.DEPTH_STENCIL,_r_1.width,_r_1.height);_JG.framebufferRenderbuffer(_JG.FRAMEBUFFER,_JG.DEPTH_STENCIL_ATTACHMENT,_JG.RENDERBUFFER,
_t_1);}}_JG.bindTexture(_JG.TEXTURE_2D,_DZ1);_JG.bindFramebuffer(_JG.FRAMEBUFFER,_2_1);_JG.bindRenderbuffer(_JG.RENDERBUFFER,_q_1);var _u_1={_5i1:_r_1,_v_1:_t_1,_ej1:_s_1};return _u_1;};/*@this {yyWebGL} */this._w_1=function(_1_1){_i7._p9._x_1(_1_1._ej1);_JG.deleteFramebuffer(_1_1._5i1);_JG.deleteRenderbuffer(_1_1._v_1);_JG.deleteTexture(_1_1._ej1._ej1);_1_1._ej1=null;};/*@this {yyWebGL} */this._y_1=function(_z_1){_JG.deleteTexture(_z_1);};/*@this {yyWebGL} */this._A_1=function(_fd){_d9._gZ1(_fd instanceof _nX1,
"NULL texture is not a yyGLTexture",_d9._hZ1);_vW1._B_1=_fd;};/*@this {yyWebGL} */this._H9=function(_Db,_fd,_Hc,_C_1){_d9._gZ1((_fd==null)||(_fd instanceof _nX1),"Texture is not a yyGLTexture",_d9._hZ1);return _uW1._H9(_Db,_fd,_Hc,_C_1,_DW1[_Hc],_xW1);};/*@this {yyWebGL} */this._gd=function(_Db,_fd,_D_1,_E_1){_d9._gZ1((_fd==null)||(_fd instanceof _nX1),"Texture is not a yyGLTexture",_d9._hZ1);_uW1._F_1(_Db,_fd,_D_1,_E_1);};/*@this {yyWebGL} */this._G_1=function(_Yf1){var texture=_Yf1.texture._R7;if(!_b_1(texture,
_d9._c_1)){_ls(texture);_S7(texture);}var _1c=texture._ej1;var w=texture._EZ1;var h=texture._FZ1;var _2_1=_JG.getParameter(_JG.FRAMEBUFFER_BINDING);var _d_1=_JG.createFramebuffer();_JG.bindFramebuffer(_JG.FRAMEBUFFER,_d_1);_JG.framebufferTexture2D(_JG.FRAMEBUFFER,_JG.COLOR_ATTACHMENT0,_JG.TEXTURE_2D,_1c,0);var data=new Uint8Array(w*h*4);_JG.readPixels(0,0,w,h,_JG.RGBA,_JG.UNSIGNED_BYTE,data);_JG.bindFramebuffer(_JG.FRAMEBUFFER,_2_1);_JG.deleteFramebuffer(_d_1);return data;};}var _d9={_H_1:8,_VW1:8,_I_1:-1,
_I9:0,_Ib:1,_Hb:2,_Fb:3,_Gb:4,_Eb:5,_Mc:1,_Rc:2,_0d:3,_Zc:4,_J_1:5,_K_1:6,_L_1:7,_M_1:8,_N_1:9,_O_1:10,_P_1:11,_Q_1:12,_R_1:13,_S_1:14,_T_1:14,_2d:1,_Nc:2,_Pc:3,_6d:4,_Sc:5,_8d:6,_U_1:6,_7B:1,_h9:2,_V_1:3,_j9:4,_e9:5,_g9:6,_W_1:7,_X_1:8,_i9:9,_Y_1:10,_Z_1:11,___1:12,_002:13,_102:14,_202:15,_302:16,_402:16,_502:0,_VA:1,_602:2,_702:3,_YA:4,_oB:5,_r9:6,_s9:7,_6B:8,_XA:9,_qB:10,_2C:11,_UA:12,_1B:13,_802:14,_2B:15,_902:16,_3B:17,_4B:18,_a02:19,_b02:20,_c02:21,_d02:22,_e02:23,_mB:24,_TY1:25,_f02:26,_g02:27,
_YY1:28,_VY1:29,_0Z1:30,_h02:31,_i02:32,_v9:33,_t9:34,_u9:35,_j02:36,_k02:37,_l02:1,_m02:2,_n02:3,_o02:4,_p02:5,_q02:6,_r02:7,_s02:8,_t02:1,_u02:2,_v02:3,_w02:4,_x02:5,_y02:6,_z02:7,_A02:8,_CB:0,_EB:1,_vB:0,_xB:1,_BB:2,_DB:3,_GB:4,_MB:5,_OB:6,_KB:7,_QB:8,_RB:9,_B02:10,_yB:0,_wB:1,_C02:2,_D02:3,_zY1:0,_E02:1,_yY1:2,_F02:0,_G02:1,_H02:2,_I02:0,_J02:1,_K02:0,_L02:1,_M02:0,_N02:1,_O02:2,_P02:3,_Q02:0,_R02:1,_S02:2,_T02:4,_U02:8,_c_1:-1,_V02:0,_GZ1:1,_HZ1:2,_W02:0,_X02:1,_hZ1:2,_Y02:1,_gZ1:function(_Z02,
__02,_012){if(!_Z02){throw new Error(__02);}}};Object.freeze(_d9);/*@constructor */function _WW1(_112){var _JG=this._mX1;var _212=0,_312=1,_412=2,_512=3,_612=4,_712=5,_812=6,_912=7,_a12=8,_b12=9,_c12=10,_d12=11,_e12=12,_f12=13,_g12=14,_h12=15,_i12=16,_j12=17,_k12=18,_l12=19,_m12=20,_n12=21,_o12=22,_p12=23,_q12=24,_r12=25,_s12=26,_t12=27;var _u12=0,_v12=1,_w12=2,_x12=3,_y12=4,_z12=5;var _A12=1,_B12=2,_C12=4,_D12=8;var _E12=[];var _F12=[],_G12,_H12;var _I12,_J12=[],_K12=[],_L12=[],_M12=new Float32Array(_d9._H_1*4),
_N12=new Float32Array(_d9._H_1*4),_O12=new Float32Array(_d9._H_1*4),_P12=new Float32Array(4),_Q12=new Float32Array(8),_R12=0.0,_S12=0.0,_T12=false,_U12=0.0,_V12,_W12=_JG.SRC_ALPHA,_X12=_JG.ONE_MINUS_SRC_ALPHA,_Y12=_JG.SRC_ALPHA,_Z12=_JG.ONE_MINUS_SRC_ALPHA;var _xW1=0,__12;Object.defineProperties(this,{_t2:{get :function(){return _xW1;},set :function(_yd){_xW1=_yd;}},_B_1:{get :function(){return __12;},set :function(_yd){__12=_yd;}}});(function(){_022();var _UW1=_JG.getParameter(_JG.MAX_TEXTURE_IMAGE_UNITS);
if(_UW1>_d9._VW1){_UW1=_d9._VW1;}for(var _IB=0;_IB<_UW1;_IB++){_L12[_IB]=new _pX1(_112);}var _122=_222(_d9._l02);_V12={_ct:0,_322:0xffffffff,_422:0xffffffff,_4X:_522(_d9._A02),_622:_122,_722:_122,_822:_122};for(var i=0;i<_z12;i++){_K12[i]=new _Dy();}})();function _022(){_F12=[];_H12=undefined;_G12=undefined;_F12[0]=1;_F12[1]=1;};/*@this {yyCommandBuilder} */this._oJ=function(){_022();};/*@this {yyCommandBuilder} */this._Uy=function(_922){if(_922!=_G12){_H12=null;_E12.push(_j12);_E12.push(_922);_G12=_922;
}};/*@this {yyCommandBuilder} */this._fZ1=function(_z81,_fd){_i7._p9._fZ1(_z81,_fd);if(_F12[_z81]==_fd){return;}_F12[_z81]=_fd;_E12.push(_312);_E12.push(_fd);_E12.push(_z81);};/*@this {yyCommandBuilder} */this._dZ1=function(_fn){_E12.push(_fn);};this._eZ1=function(_fd,_u4,_v4,_oi,_pi,_a22,_ae1){_E12.push(_t12);_E12.push(_fd);_E12.push(_u4);_E12.push(_v4);_E12.push(_oi);_E12.push(_pi);_E12.push(_a22);_E12.push(_ae1);};/*@this {yyCommandBuilder} */this._b22=function(_c22){if(_H12==_c22)return;_H12=_c22;
_E12.push(_e12);_E12.push(_c22);};/*@this {yyCommandBuilder} */this._d22=function(_ZA,_e22){_E12.push(_412);_E12.push(_ZA);_E12.push(_e22);};/*@this {yyCommandBuilder} */this._f22=function(_ZA,_e22){_E12.push(_512);_E12.push(_ZA);_E12.push(_e22);};/*@this {yyCommandBuilder} */this._g22=function(_ZA,_e22){_E12.push(_612);_E12.push(_ZA);_E12.push(_e22);};/*@this {yyCommandBuilder} */this._h22=function(_ZA,_e22){_E12.push(_712);_E12.push(_ZA);_E12.push(_e22);};/*@this {yyCommandBuilder} */this._i22=function(_ZA,
_e22){_E12.push(_812);_E12.push(_ZA);_E12.push(_e22);};/*@this {yyCommandBuilder} */this._jG1=function(_ZA,_e22){_E12.push(_912);_E12.push(_ZA);_E12.push(_e22);};/*@this {yyCommandBuilder} */this._jZ1=function(_Pv){_E12.push(_b12);_E12.push(new _Dy(_Pv));};/*@this {yyCommandBuilder} */this._iZ1=function(_Pv){_E12.push(_c12);_E12.push(new _Dy(_Pv));};/*@this {yyCommandBuilder} */this._lZ1=function(_Pv){_E12.push(_a12);_E12.push(new _Dy(_Pv));};/*@this {yyCommandBuilder} */this._JX1=function(_u4,_v4,
_oi,_pi){_E12.push(_d12);_E12.push(_u4);_E12.push(_v4);_E12.push(_oi);_E12.push(_pi);};/*@this {yyCommandBuilder} */this._PZ1=function(_rF,_7c){_E12.push(_f12);_E12.push(_rF);_E12.push(Math.floor(_7c));};/*@this {yyCommandBuilder} */this._hi1=function(_j22){_E12.push(_g12);_E12.push(_j22);};/*@this {yyCommandBuilder} */this._k22=function(_y8,_eB,_fB,_gB){_E12.push(_h12);_E12.push(_y8);_E12.push(_eB);_E12.push(_fB);_E12.push(_gB);};/*@this {yyCommandBuilder} */this._wY1=function(_si,_tj){_E12.push(_i12);
_E12.push(_si);_E12.push(_tj);};/*@this {yyCommandBuilder} */this._5Z1=function(_l22,_6Z1){_E12.push(_k12);_E12.push(_l22);_E12.push(_6Z1);};/*@this {yyCommandBuilder} */this._7Z1=function(_l22,_6Z1){_E12.push(_l12);_E12.push(_l22);_E12.push(_6Z1);};/*@this {yyCommandBuilder} */this._bZ1=function(_l22,_6Z1){_E12.push(_k12);_E12.push(_l22);_E12.push(_6Z1);};/*@this {yyCommandBuilder} */this._cZ1=function(_l22,_6Z1){_E12.push(_l12);_E12.push(_l22);_E12.push(_6Z1);};/*@this {yyCommandBuilder} */this._8Z1=function(_l22,
_6Z1){_E12.push(_l12);_E12.push(_l22);_E12.push(_6Z1);};/*@this {yyCommandBuilder} */this._F9=function(_m22,_n22){_E12.push(_m12);_E12.push(_m22);_E12.push(_n22);};/*@this {yyCommandBuilder} */this._uB=function(_z81,__a1,_o22){_E12.push(_n12);_E12.push(_z81);_E12.push(__a1);_E12.push(_o22);};/*@this {yyCommandBuilder} */this._Az=function(_o8,_p22,_q22,_r22){_E12.push(_o12);_E12.push(_o8);_E12.push(new Float32Array(_p22));_E12.push(new Float32Array(_q22));_E12.push(new Float32Array(_r22));};/*@this {yyCommandBuilder} */this._KY1=function(colour){
_E12.push(_p12);_E12.push(new Float32Array(colour));};/*@this {yyCommandBuilder} */this._s22=function(_t22){_E12.push(_q12);_E12.push(new Float32Array(_t22));};/*@this {yyCommandBuilder} */this._Ez=function(_o8,enable,colour){_E12.push(_r12);_E12.push(_o8);_E12.push(enable);_E12.push(colour);};/*@this {yyCommandBuilder} */this._NY1=function(_Ry,_u22){_E12.push(_s12);_E12.push(_Ry);_E12.push(_u22);};function _v22(_Zm){switch(_Zm){case _d9._7B:return _JG.ZERO;case _d9._h9:return _JG.ONE;case _d9._V_1:return _JG.SRC_COLOR;
case _d9._j9:return _JG.ONE_MINUS_SRC_COLOR;case _d9._e9:return _JG.SRC_ALPHA;case _d9._g9:return _JG.ONE_MINUS_SRC_ALPHA;case _d9._W_1:return _JG.DST_ALPHA;case _d9._X_1:return _JG.ONE_MINUS_DST_ALPHA;case _d9._i9:return _JG.DST_COLOR;case _d9._Y_1:return _JG.ONE_MINUS_DST_COLOR;case _d9._Z_1:return _JG.SRC_ALPHA_SATURATE;case _d9.___1:return 0;case _d9._002:return 0;case _d9._102:return 0;case _d9._202:return 0;case _d9._302:return 0;case _d9._402:return 0;}return 0;}function _222(_Zm){switch(_Zm){case _d9._l02:return _JG.KEEP;
case _d9._m02:return _JG.ZERO;case _d9._n02:return _JG.REPLACE;case _d9._o02:return _JG.INCR;case _d9._p02:return _JG.DECR;case _d9._q02:return _JG.INVERT;case _d9._r02:return _JG.INCR;case _d9._s02:return _JG.DECR;default :return _JG.KEEP;}}function _522(_Zm){switch(_Zm){case _d9._t02:return _JG.NEVER;case _d9._u02:return _JG.LESS;case _d9._v02:return _JG.EQUAL;case _d9._w02:return _JG.LEQUAL;case _d9._x02:return _JG.GREATER;case _d9._y02:return _JG.NOTEQUAL;case _d9._z02:return _JG.GEQUAL;case _d9._A02:default :return _JG.ALWAYS;
}}function _w22(_m22,_n22){switch(_m22){case _d9._VA:if(_n22){_JG.enable(_JG.DEPTH_TEST);}else {_JG.disable(_JG.DEPTH_TEST);}break;case _d9._YA:_JG.depthMask(_n22);break;case _d9._oB:_T12=_n22;_x22(_D12);break;case _d9._r9:_W12=_v22(_n22);_JG.blendFuncSeparate(_W12,_X12,_Y12,_Z12);break;case _d9._s9:_X12=_v22(_n22);_JG.blendFuncSeparate(_W12,_X12,_Y12,_Z12);break;case _d9._6B:if(_n22!=_d9._zY1){_JG.enable(_JG.CULL_FACE);_JG.frontFace((_n22===_d9._E02)?_JG.CW:_JG.CCW);}else {_JG.disable(_JG.CULL_FACE);}break;
case _d9._XA:_JG.depthFunc(_522(_n22));break;case _d9._qB:_U12=_n22/255.0;_x22(_D12);break;case _d9._2C:break;case _d9._UA:if(_n22){_JG.enable(_JG.BLEND);}else {_JG.disable(_JG.BLEND);}break;case _d9._1B:_Q12[0]=_n22;_x22(_A12);break;case _d9._802:break;case _d9._2B:_Q12[4]=(_n22&0xff)/255.0;_Q12[5]=((_n22>>8)&0xff)/255.0;_Q12[6]=((_n22>>16)&0xff)/255.0;_Q12[7]=((_n22>>24)&0xff)/255.0;_x22(_A12);break;case _d9._902:break;case _d9._3B:_R12=_n22;var _uu=_S12-_R12;_Q12[1]=(_uu==0.0)?0.0:(1.0/_uu);_x22(_A12);break;
case _d9._4B:_S12=_n22;_Q12[2]=_n22;var _uu=_S12-_R12;_Q12[1]=(_uu==0.0)?0.0:(1.0/_uu);_x22(_A12);break;case _d9._a02:break;case _d9._b02:break;case _d9._c02:break;case _d9._d02:break;case _d9._e02:break;case _d9._mB:_JG.colorMask(_n22._mu,_n22._nu,_n22._ou,_n22.alpha);break;case _d9._TY1:if(_n22){_JG.enable(_JG.STENCIL_TEST);}else {_JG.disable(_JG.STENCIL_TEST);}break;case _d9._f02:_V12._622=_222(_n22);_JG.stencilOp(_V12._622,_V12._722,_V12._822);break;case _d9._g02:_V12._722=_222(_n22);_JG.stencilOp(_V12._622,
_V12._722,_V12._822);break;case _d9._YY1:_V12._822=_222(_n22);_JG.stencilOp(_V12._622,_V12._722,_V12._822);break;case _d9._VY1:_V12._4X=_522(_n22);_JG.stencilFunc(_V12._4X,_V12._ct,_V12._322);break;case _d9._0Z1:_V12._ct=_n22;_JG.stencilFunc(_V12._4X,_V12._ct,_V12._322);break;case _d9._h02:_V12._322=_n22;_JG.stencilFunc(_V12._4X,_V12._ct,_V12._322);break;case _d9._i02:_JG.stencilMask(_n22);break;case _d9._v9:break;case _d9._t9:_Y12=_v22(_n22);_JG.blendFuncSeparate(_W12,_X12,_Y12,_Z12);break;case _d9._u9:_Z12=_v22(_n22);
_JG.blendFuncSeparate(_W12,_X12,_Y12,_Z12);break;case _d9._j02:if(_n22!=_d9._zY1){_JG.enable(_JG.CULL_FACE);_JG.frontFace((_n22===_d9._E02)?_JG.CW:_JG.CCW);}else {_JG.disable(_JG.CULL_FACE);}break;}}function _y22(){if(_I12&&_I12._YX1){_K12[_x12].Multiply(_K12[_w12],_K12[_u12]);_K12[_y12].Multiply(_K12[_x12],_K12[_v12]);var _z22=new Float32Array(16*_z12);for(var i=0;i<_z12;i++){_z22.set(_K12[i]._z5,i*16);}_JG.uniformMatrix4fv(_I12._YX1,_JG._A22,_z22);}}function _x22(_B22){if(_B22&_D12){if(_I12.__X1!==undefined){
_JG.uniform1i(_I12.__X1,_T12);}if(_I12._0Y1!==undefined){_JG.uniform1f(_I12._0Y1,_U12);}}if((_B22&_A12)&&(_I12._ZX1!==undefined)){_JG.uniform4fv(_I12._ZX1,_Q12);}if(_B22&_B12){if(_I12._7Y1!==undefined){_JG.uniform4fv(_I12._7Y1,_M12);}if(_I12._6Y1!==undefined){_JG.uniform4fv(_I12._6Y1,_N12);}if(_I12._8Y1!==undefined){_JG.uniform4fv(_I12._8Y1,_O12);}}if((_B22&_C12)&&(_I12._9Y1!==undefined)){_JG.uniform4fv(_I12._9Y1,_P12);}}var _C22=[_JG.NEAREST_MIPMAP_NEAREST,_JG.LINEAR_MIPMAP_NEAREST,_JG.LINEAR_MIPMAP_NEAREST,
_JG.NEAREST_MIPMAP_LINEAR,_JG.LINEAR_MIPMAP_LINEAR,_JG.LINEAR_MIPMAP_LINEAR,_JG.NEAREST_MIPMAP_LINEAR,_JG.LINEAR_MIPMAP_LINEAR,_JG.LINEAR_MIPMAP_LINEAR,];function _D22(_7X,_E22){return _C22[(_E22*_d9._D02)+_7X];}function _F22(_fd,_z81){if(_fd===null||_fd===undefined){return;}var _G22=false;if(_fd._Df!==undefined){_G22=(_fd._Df&_IZ1._LZ1)!==0;}var _H22=_L12[_z81];if(_H22===null||_H22===undefined){return;}var _I22=_H22._J22;var _K22=_fd._MZ1._J22;if(_fd._OZ1===true||_I22[_d9._vB]!=_K22[_d9._vB]){_JG.texParameteri(_JG.TEXTURE_2D,
_JG.TEXTURE_MAG_FILTER,(_I22[_d9._vB]==_d9._wB)?_JG.LINEAR:_JG.NEAREST);_K22[_d9._vB]=_I22[_d9._vB];}if(!_G22){if(_fd._OZ1===true||_I22[_d9._xB]!=_K22[_d9._xB]){_JG.texParameteri(_JG.TEXTURE_2D,_JG.TEXTURE_MIN_FILTER,(_I22[_d9._xB]==_d9._wB)?_JG.LINEAR:_JG.NEAREST);_K22[_d9._xB]=_I22[_d9._xB];}}else {if(_fd._OZ1===true||_I22[_d9._GB]!=_K22[_d9._GB]||_I22[_d9._xB]!=_K22[_d9._xB]){var _L22=_D22(_I22[_d9._xB],_I22[_d9._GB]);_JG.texParameteri(_JG.TEXTURE_2D,_JG.TEXTURE_MIN_FILTER,_L22);_K22[_d9._GB]=_I22[_d9._GB];
_K22[_d9._xB]=_I22[_d9._xB];}if(_3X1){if(_I22[_d9._GB]==_d9._C02){if(_K22[_d9._QB]!=_I22[_d9._QB]){_K22[_d9._QB]=_I22[_d9._QB];var _M22=_JG.getParameter(_3X1.MAX_TEXTURE_MAX_ANISOTROPY_EXT);var _N22=_K22[_d9._QB];_N22=Math.min(_N22,_M22);_JG.texParameterf(_JG.TEXTURE_2D,_3X1.TEXTURE_MAX_ANISOTROPY_EXT,_N22);}}else {if(_K22[_d9._QB]!=1.0){_K22[_d9._QB]=1.0;_JG.texParameterf(_JG.TEXTURE_2D,_3X1.TEXTURE_MAX_ANISOTROPY_EXT,1.0);}}}}if(_I22[_d9._BB]!=_K22[_d9._BB]){if(_fd._O22){var _P22=(_I22[_d9._BB]==_d9._EB)?_JG.CLAMP_TO_EDGE:_JG.REPEAT;
_JG.texParameteri(_JG.TEXTURE_2D,_JG.TEXTURE_WRAP_S,_P22);}_K22[_d9._BB]=_I22[_d9._BB];}if(_I22[_d9._DB]!=_K22[_d9._DB]){if(_fd._O22){var _P22=(_I22[_d9._DB]==_d9._EB)?_JG.CLAMP_TO_EDGE:_JG.REPEAT;_JG.texParameteri(_JG.TEXTURE_2D,_JG.TEXTURE_WRAP_T,_P22);}_K22[_d9._DB]=_I22[_d9._DB];}_fd._OZ1=false;}var _Q22=null;function _b22(_R22){_JG.bindBuffer(_JG.ARRAY_BUFFER,_R22._S22);if(_Q22!=null){if(_Q22._EX1===true){var _T22,_U22,_V22=_Q22._vc.length;;for(_T22=0;_T22<_V22;++_T22){switch(_T22){case 0:_U22=_I12._TX1;
break;case 1:_U22=_I12._VX1;break;case 2:_U22=_I12._WX1;break;case 3:_U22=_I12._UX1;break;default :_U22=-1;break;}if(_U22>=0){_JG.disableVertexAttribArray(_U22);}}}else {var _T22,_U22,_V22=_Q22._vc.length;;for(_T22=0;_T22<_V22;++_T22){_U22=_I12._1Y1[_T22];if(_U22>=0){_JG.disableVertexAttribArray(_U22);}}}}var _W22=_R22._X22;_Q22=_W22;if(_W22._EX1===true){var _T22,_U22,_Y22,_V22=_W22._vc.length;for(_T22=0;_T22<_V22;++_T22){_Y22=_W22._vc[_T22];switch(_T22){case 0:_U22=_I12._TX1;break;case 1:_U22=_I12._VX1;break;
case 2:_U22=_I12._WX1;break;case 3:_U22=_I12._UX1;break;default :_U22=-1;break;}if(_U22>=0){_JG.enableVertexAttribArray(_U22);_JG.vertexAttribPointer(_U22,_Y22._Z22,_Y22.__22,_Y22._032,_W22._Bc,_Y22.offset);}}}else {{var _T22,_U22,_Y22,_V22=_W22._vc.length;var _132=_I12._1Y1.length;var _232=_W22._232[_I12._4Y1];if(_232===undefined){_232=[];var _332=[];for(_T22=0;_T22<_V22;++_T22){_Y22=_W22._vc[_T22];var _xc=_Y22._xc;_U22=-1;for(var _432=0;_432<_132;_432++){if(_332[_432]===undefined){var _532=_I12._1Y1[_432];
if(_I12._3Y1[_432]==_xc){_U22=_532;_332[_432]=1;break;}else if(_I12._3Y1[_432]==4&&_xc==2){_I12._3Y1[_432]=_JG.UNSIGNED_BYTE;_U22=_532;_332[_432]=1;break;}}}_232.push(_U22);}_W22._232[_I12._4Y1]=_232;}for(_T22=0;_T22<_V22;++_T22){_Y22=_W22._vc[_T22];_U22=_232[_T22];if(_U22>=0){_JG.enableVertexAttribArray(_U22);_JG.vertexAttribPointer(_U22,_Y22._Z22,_Y22.__22,_Y22._032,_W22._Bc,_Y22.offset);}}}}}/*@this {yyCommandBuilder} */this._uY1=function(){var i,error,_C81,_D81,_632,_IB,texture,_G9,_o8,_q3,enable,
_732,_4Z1;i=0;while(i<_E12.length){switch(_E12[i]){case _j12:{_I12=_E12[i+1];_732=_I12._kY1;i+=2;_JG.useProgram(_I12);_y22();_x22(0xff);break;}case _d12:{_JG.viewport(_E12[i+1],_E12[i+2],_E12[i+3],_E12[i+4]);_JG.scissor(_E12[i+1],_E12[i+2],_E12[i+3],_E12[i+4]);i+=5;break;}case _f12:{var depthMask=_JG.getParameter(_JG.DEPTH_WRITEMASK);var colorMask=_JG.getParameter(_JG.COLOR_WRITEMASK);_JG.depthMask(true);_JG.colorMask(true,true,true,true);_q3=_E12[i+2];_JG.clearColor((_q3&0xff)/255.0,((_q3>>8)&0xff)/255.0,
((_q3>>16)&0xff)/255.0,((_q3>>24)&0xff)/255.0);_JG.clear(_E12[i+1]);_JG.depthMask(depthMask);_JG.colorMask(colorMask[0],colorMask[1],colorMask[2],colorMask[3]);i+=3;break;}case _b12:{_K12[_v12]=_E12[i+1];_y22();i+=2;break;}case _c12:{_K12[_u12]=_E12[i+1];_y22();i+=2;break;}case _a12:{_K12[_w12]=_E12[i+1];_y22();i+=2;break;}case _312:{texture=_E12[i+1];_IB=_E12[i+2];i+=3;if(texture===null){texture=__12;_JG.activeTexture(_JG.TEXTURE0+_IB);if(!_b_1(texture,_xy())){_ls(texture,_xy());_S7(texture,_xy());
}_JG.bindTexture(_JG.TEXTURE_2D,texture._ej1);_JG.uniform1i(_I12._XX1,0);_J12[_IB]=null;}else {_JG.activeTexture(_JG.TEXTURE0+_IB);if(!_b_1(texture,_xy())){_ls(texture,_xy());_S7(texture,_xy());}_JG.bindTexture(_JG.TEXTURE_2D,texture._ej1);_JG.uniform1i(_I12._XX1,0);_F22(texture,_IB);_J12[_IB]=texture;}break;}case _e12:{_G9=_E12[i+1];i+=2;if(_G9._832){_G9._932();}_G9._a32=this._t2;_b22(_G9);}break;case _412:{_JG.drawArrays(_JG.TRIANGLES,_E12[i+1],_E12[i+2]);i+=3;break;}case _512:{_JG.drawArrays(_JG.TRIANGLE_FAN,
_E12[i+1],_E12[i+2]);i+=3;break;}case _612:{_JG.drawArrays(_JG.TRIANGLE_STRIP,_E12[i+1],_E12[i+2]);i+=3;break;}case _712:{_JG.drawArrays(_JG.LINES,_E12[i+1],_E12[i+2]);i+=3;break;}case _812:{_JG.drawArrays(_JG.LINE_STRIP,_E12[i+1],_E12[i+2]);i+=3;break;}case _912:{_JG.drawArrays(_JG.POINTS,_E12[i+1],_E12[i+2]);i+=3;break;}case _g12:{_JG.bindFramebuffer(_JG.FRAMEBUFFER,_E12[i+1]);i+=2;break;}case _h12:{_JG.colorMask(_E12[i+2],_E12[i+3],_E12[i+4],_E12[i+1]);i+=5;break;}case _i12:{_JG.blendFunc(_v22(_E12[i+1]),
_v22(_E12[i+2]));i+=3;break;}case _m12:{_w22(_E12[i+1],_E12[i+2]);i+=3;break;}case _k12:{_C81=_E12[i+1];_D81=_E12[i+2];i+=3;_4Z1=_732[_732._og[_C81]];switch(_4Z1._qY1["type"]){case _JG.INT:_JG.uniform1iv(_4Z1.location,_D81);break;case _JG.INT_VEC2:_JG.uniform2iv(_4Z1.location,_D81);break;case _JG.INT_VEC3:_JG.uniform3iv(_4Z1.location,_D81);break;case _JG.INT_VEC4:_JG.uniform4iv(_4Z1.location,_D81);break;case _JG.BOOL:_JG.uniform1iv(_4Z1.location,_D81);break;case _JG.BOOL_VEC2:_JG.uniform2iv(_4Z1.location,
_D81);break;case _JG.BOOL_VEC3:_JG.uniform3iv(_4Z1.location,_D81);break;case _JG.BOOL_VEC4:_JG.uniform4iv(_4Z1.location,_D81);break;}break;}case _l12:{_C81=_E12[i+1];_D81=_E12[i+2];i+=3;_4Z1=_732[_732._og[_C81]];switch(_4Z1._qY1["type"]){case _JG.FLOAT:_JG.uniform1fv(_4Z1.location,_D81);break;case _JG.FLOAT_VEC2:_JG.uniform2fv(_4Z1.location,_D81);break;case _JG.FLOAT_VEC3:_JG.uniform3fv(_4Z1.location,_D81);break;case _JG.FLOAT_VEC4:_JG.uniform4fv(_4Z1.location,_D81);break;case _JG.FLOAT_MAT2:_JG.uniformMatrix2fv(_4Z1.location,
false,_D81);break;case _JG.FLOAT_MAT3:_JG.uniformMatrix3fv(_4Z1.location,false,_D81);break;case _JG.FLOAT_MAT4:_JG.uniformMatrix4fv(_4Z1.location,false,_D81);break;}break;}case _n12:{_IB=_E12[i+1];var state=_E12[i+2];var _jw=_E12[i+3];i+=4;var _H22=_L12[_IB];_H22._J22[state]=_jw;if(_J12[_IB]!=null){_JG.activeTexture(_JG.TEXTURE0+_IB);if(!_b_1(_J12[_IB],_xy())){_ls(_J12[_IB],_xy());_S7(_J12[_IB],_xy());}_JG.bindTexture(_JG.TEXTURE_2D,_J12[_IB]._ej1);}_F22(_J12[_IB],_IB);break;}case _o12:{_o8=_E12[i+1];_M12.set(_E12[i+2],
_o8*4);_N12.set(_E12[i+3],_o8*4);_O12.set(_E12[i+4],_o8*4);i+=5;_x22(_B12);break;}case _p12:{_P12.set(_E12[i+1]);i+=2;_x22(_C12);break;}case _q12:{_Q12.set(_E12[i+1]);i+=2;_x22(_A12);break;}case _r12:{_o8=_E12[i+1];enable=_E12[i+2];_q3=_E12[i+3];i+=4;if(enable){_O12.set(_q3,_o8*4);}else {var _rz=_o8*4;_O12[_rz+0]=0;_O12[_rz+1]=0;_O12[_rz+2]=0;_O12[_rz+3]=0;}_x22(_B12);break;}case _s12:{_T12=_E12[i+1];_U12=_E12[i+2];i+=3;_x22(_D12);break;}case _t12:{texture=_E12[i+1];var _R5=_E12[i+2];var _T5=_E12[i+3];var _76=_E12[i+4];
var _86=_E12[i+5];var canvas=_E12[i+6];var _Ig=_E12[i+7];i+=8;var _rZ1=_i7._qZ1(_Ig);switch(_Ig){case _fr:break;case _6j1:{var _o_1=new Uint16Array(canvas.buffer);canvas=_o_1;}break;case _4j1:{var _o_1=new Uint16Array(canvas.buffer);canvas=_o_1;}break;case _5j1:{var _o_1=new Float32Array(canvas.buffer);canvas=_o_1;}break;case _7j1:break;case _8j1:break;case _9j1:{var _o_1=new Uint16Array(canvas.buffer);canvas=_o_1;}break;case _aj1:{var _o_1=new Float32Array(canvas.buffer);canvas=_o_1;}break;}if(!_b_1(texture,_xy())){
_ls(texture,_xy());_S7(texture,_xy());}_JG.activeTexture(_JG.TEXTURE0);_JG.bindTexture(_JG.TEXTURE_2D,texture._ej1);_JG.texSubImage2D(_JG.TEXTURE_2D,0,_R5,_T5,_76,_86,_rZ1._Ig,_rZ1.type,canvas);if(_J12.length>0){if(_J12[0]!=null){_JG.bindTexture(_JG.TEXTURE_2D,_J12[0]._ej1);}}break;}}}_E12.length=0;};}/*@constructor */function _nX1(_b32,_q7,_r7,_c32,_nZ1,_d32,_C31,_ae1){var _JG=this._mX1;var _e32,_f32,_4U,_6U,_g32,_h32,_i32,_xB1,_j32;var _k32;Object.defineProperties(this,{_MZ1:{get :function(){return _e32;
}},_ej1:{get :function(){return _f32;},set :function(_F2){_f32=_F2;}},_EZ1:{get :function(){return _4U;}},_FZ1:{get :function(){return _6U;}},_O22:{get :function(){return _g32;}},Image:{get :function(){return _h32;}},_l32:{get :function(){return _i32;}},_Df:{get :function(){return _xB1;},set :function(_F2){_xB1=_F2;}},_OZ1:{get :function(){return _k32;},set :function(_F2){_k32=_F2;}},_vc:{get :function(){return _j32;}},});(function(){_f32=_b32;_4U=_q7;_6U=_r7;_g32=_c32;_h32=_nZ1;_i32=_d32;_xB1=_C31;_j32=_ae1;_k32=false;
if(_j32==undefined)_j32=_fr;_e32=new _pX1();if(_f32){_e32._NZ1(_JG.TEXTURE_2D);}_xB1=_IZ1._m32;if(_i32!==undefined&&_i32!==0){_xB1|=(_IZ1._JZ1|_IZ1._n32);}})();}var _o32={_m32:0,_832:1,_p32:2,_q32:4,_r32:8,_s32:16,_JZ1:32,_t32:64};Object.freeze(_o32);var _u32={_832:0,_v32:1,_w32:2,_p32:3,_JZ1:4,_LZ1:5,_n32:6,_x32:7,_t32:8,_q32:9,_y32:16,};Object.freeze(_u32);var _IZ1={_m32:0,_832:(1<<_u32._832),_v32:(1<<_u32._v32),_w32:(1<<_u32._w32),_p32:(1<<_u32._p32),_JZ1:(1<<_u32._JZ1),_LZ1:(1<<_u32._LZ1),_n32:(1<<_u32._n32),
_x32:(1<<_u32._x32),_t32:(1<<_u32._t32)};Object.freeze(_IZ1);function _z32(_A32){var _B32=[];var _C32;(function(){if(_A32==undefined)_A32=32;_C32=~~(_A32/32);if(_C32==0)_C32=1;_B32=new Array(_C32);for(var i=0;i<_C32;i++){_B32[i]=0x0;}})();this._D32=function(){return _A32;};this._E32=function(_F32){if(_F32>=_A32)return;var _kk=~~(_F32/32);var _G32=_F32-(_kk*32);_B32[_kk]|=1<<_G32;};this._H32=function(_F32){if(_F32>=_A32)return;var _kk=~~(_F32/32);var _G32=_F32-(_kk*32);_B32[_kk]&=~(1<<_G32);};this._I32=function(_F32){
if(_F32>=_A32)return 0;var _kk=~~(_F32/32);var _J32=_F32-(_kk*32);var _yd=(_B32[_kk]>>_J32)&0x1;return _yd;};this._K32=function(){var i;for(i=0;i<(_C32-1);i++){_B32[i]=0xffffffff;}var _L32=_A32-(i*32);var _35;var _yc=1;for(_35=0;_35<_L32;_35++){_B32[i]|=_yc;_yc<<=1;}};this._M32=function(){for(var i=0;i<_C32;i++){_B32[i]=0x0;}};this._N32=function(){var i;for(i=0;i<_C32;i++){if(_B32[i]!=0)return 1;}return 0;};this._O32=function(_Gp){var _P32=_Gp._D32()>this._D32()?_Gp._D32():this._D32();var _Q32=new _z32(_P32);for(var i=0;
i<_P32;i++){var _R32=this._I32(i)|_Gp._I32(i);if(_R32==1){_Q32._E32(i);}}return _Q32;};this._S32=function(_Gp){var _P32=_Gp._D32()>this._D32()?_Gp._D32():this._D32();var _Q32=new _z32(_P32);for(var i=0;i<_P32;i++){var _R32=this._I32(i)&_Gp._I32(i);if(_R32==1){_Q32._E32(i);}}return _Q32;};}function _T32(_U32,_V32,_W32){var _X32=[];var _Y32=[];var _Z32=[];(function(){_X32=new Array(_U32);_Y32=new Array(_V32*_W32);_Z32=new Array(_V32);})();Object.defineProperties(this,{__32:{get :function(){return _X32;},set :function(_yd){
_X32=_yd;}},_042:{get :function(){return _Y32;},set :function(_yd){_Y32=_yd;}},_142:{get :function(){return _Z32;},set :function(_yd){_Z32=_yd;}},});}/*@constructor */function _YW1(_242,_342,_442,_112){var _JG=this._mX1;var _542=null;var _JB1=null;var _642=[];var _742;var _842=null;var _942=null;var _a42=false;var _b42=_442;(function(){_842=new _z32(64);_942=new _z32(64);_542=new _T32(_d9._k02,_242,_d9._B02);_JB1=new _T32(_d9._k02,_242,_d9._B02);_642=new Array(_342);for(var i=0;i<_342;i++){_642[i]=new _T32(_d9._k02,_242,
_d9._B02);}_022();})();function _022(){_842._K32();_942._K32();_a42=true;_742=0;_542.__32[_d9._VA]=false;_542.__32[_d9._602]=_d9._H02;_542.__32[_d9._702]=_d9._J02;_542.__32[_d9._YA]=true;_542.__32[_d9._oB]=false;_542.__32[_d9._r9]=_d9._e9;_542.__32[_d9._s9]=_d9._g9;_542.__32[_d9._6B]=_d9._zY1;_542.__32[_d9._XA]=_d9._w02;_542.__32[_d9._qB]=0;_542.__32[_d9._2C]=_d9._x02;_542.__32[_d9._UA]=true;_542.__32[_d9._1B]=false;_542.__32[_d9._802]=false;_542.__32[_d9._2B]=0x00000000;_542.__32[_d9._902]=_d9._P02;
_542.__32[_d9._3B]=0.0;_542.__32[_d9._4B]=1.0;_542.__32[_d9._a02]=0;_542.__32[_d9._b02]=false;_542.__32[_d9._c02]=false;_542.__32[_d9._d02]=0x00000000;_542.__32[_d9._e02]=_d9._P02;_542.__32[_d9._mB]=_d9._R02|_d9._T02|_d9._S02|_d9._U02;_542.__32[_d9._TY1]=false;_542.__32[_d9._f02]=_d9._l02;_542.__32[_d9._g02]=_d9._l02;_542.__32[_d9._YY1]=_d9._l02;_542.__32[_d9._VY1]=_d9._A02;_542.__32[_d9._0Z1]=0;_542.__32[_d9._h02]=0xffffffff;_542.__32[_d9._i02]=0xffffffff;_542.__32[_d9._v9]=false;_542.__32[_d9._t9]=_d9._e9;
_542.__32[_d9._u9]=_d9._g9;_542.__32[_d9._j02]=0;var i;for(i=0;i<_d9._k02;i++){_JB1.__32[i]=_542.__32[i];}var index=0;for(i=0;i<_242;i++){_542._042[index+_d9._vB]=_112==true?_d9._wB:_d9._yB;_542._042[index+_d9._xB]=_112==true?_d9._wB:_d9._yB;_542._042[index+_d9._GB]=_112==true?_d9._wB:_d9._yB;_542._042[index+_d9._BB]=_d9._EB;_542._042[index+_d9._DB]=_d9._EB;_542._042[index+_d9._MB]=0;_542._042[index+_d9._OB]=0;_542._042[index+_d9._KB]=0;_542._042[index+_d9._QB]=0;_542._042[index+_d9._RB]=_d9._HZ1;
index+=_d9._B02;}for(i=0;i<(_d9._B02*_242);i++){_JB1._042[i]=_542._042[i];}for(i=0;i<_242;i++){_542._142[i]=null;}_742=0;};this._oJ=function(){_022();};this._c42=function(){return _842;};this._d42=function(){return _942;};this._e42=function(){return _a42;};this._F9=function(__a1,_Zm){if(_JB1.__32[__a1]==_Zm)return;if(_542.__32[__a1]!=_Zm){_842._E32(__a1);}else {_842._H32(__a1);}_JB1.__32[__a1]=_Zm;_a42=_842._N32()||_942._N32();};this._f42=function(__a1){if(_742<=0)return 0;if((__a1<0)||(__a1>=_d9._k02))return 0;
return _642[_742-1].__32[__a1];};this._uB=function(_z81,__a1,_Zm){var index=(_z81*_d9._B02)+__a1;if(_JB1._042[index]==_Zm)return;if(_542._042[index]!=_Zm){_942._E32(index);}else {_942._H32(index);}_JB1._042[index]=_Zm;_a42=_842._N32()||_942._N32();};this._fZ1=function(_z81,_fd){if((_z81<0)||(_z81>=_242))return;_542._142[_z81]=_fd;};this._x_1=function(_fd){if(_fd!=null){for(var i=0;i<_242;i++){if(_542._142[i]==_fd){_542._142[i]=null;}for(var _35=0;_35<_742;_35++){if(_642[_35]._142[i]==_fd){_642[_35]._142[i]=null;
}}}}};this._q9=function(__a1){return _JB1.__32[__a1];};this._XB=function(_z81,__a1){return _JB1._042[(_z81*_d9._B02)+__a1];};this._g42=function(_z81){if((_z81<0)||(_z81>=_242))return null;return _542._Z32[_z81];};this._YB=function(){_642[_742].__32=_JB1.__32.slice();_642[_742]._042=_JB1._042.slice();_642[_742]._142=_542._142.slice();if(_742<_342){_742++;}else {debug("GPU state stack has run out of space");}};this._ZB=function(_h42){if(_742>0){_742--;}else {debug("Attempting to drop below bottom of GPU state stack");
}var i;for(i=0;i<_d9._k02;i++){this._F9(i,_642[_742].__32[i]);}for(i=0;i<_242;i++){var _35;for(_35=0;_35<_d9._B02;_35++){this._uB(i,_35,_642[_742]._042[(i*_242)+_35]);}}if((_h42!=undefined)&&(_h42==true)){if(_i7){for(i=0;i<_242;i++){_i7._fZ1(i,_642[_742]._142[i]);}}}};this._Fi1=function(){var i;if(_842._N32()){for(i=0;i<_d9._k02;i++){if(_842._I32(i)!=0){_b42._F9(i,_JB1.__32[i]);_542.__32[i]=_JB1.__32[i];}}_842._M32();}if(_942._N32()){for(i=0;i<(_242*_d9._B02);i++){if(_942._I32(i)!=0){var _IB=~~(i/_d9._B02);
var state=i-(_IB*_d9._B02);_b42._uB(_IB,state,_JB1._042[i]);_542._042[i]=_JB1._042[i];}}_942._M32();}_a42=false;};}/*@constructor */function _pX1(_112){var _JG=this._mX1;var _i42=[];Object.defineProperties(this,{_J22:{get :function(){return _i42;}}});(function(){if(_112){_i42[_d9._vB]=_d9._wB;_i42[_d9._xB]=_d9._wB;_i42[_d9._GB]=_d9._wB;}else {_i42[_d9._vB]=_d9._yB;_i42[_d9._xB]=_d9._yB;_i42[_d9._GB]=_d9._yB;}_i42[_d9._BB]=_d9._EB;_i42[_d9._DB]=_d9._EB;})();/*@this {yyTextureSamplerState} */this._NZ1=function(_ts){
var _j42=_i42;_JG.texParameteri(_ts,_JG.TEXTURE_MAG_FILTER,(_j42[_d9._vB]==_d9._wB)?_JG.LINEAR:_JG.NEAREST);_JG.texParameteri(_ts,_JG.TEXTURE_MIN_FILTER,(_j42[_d9._xB]==_d9._wB)?_JG.LINEAR:_JG.NEAREST);_JG.texParameteri(_ts,_JG.TEXTURE_WRAP_S,(_j42[_d9._BB]==_d9._EB)?_JG.CLAMP_TO_EDGE:_JG.REPEAT);_JG.texParameteri(_ts,_JG.TEXTURE_WRAP_T,(_j42[_d9._DB]==_d9._EB)?_JG.CLAMP_TO_EDGE:_JG.REPEAT);};}/*@constructor */function _Nb(_ec,_k42,_l42){var _JG=this._mX1;this._m42=null;this._0c=null;this._S22=null;
this._O9=null;this._Q9=null;this._6c=null;this._S9=null;this._X22=_k42;this._a32=-1;this._M9=0;this._n42=_ec;this._832=false;_o42(this);function _o42(_wk){_p42(_wk);_q42(_wk);if(_l42){_r42(_wk);}}function _p42(_wk){var _s42=_wk._X22._Bc;_wk._m42=new ArrayBuffer(_ec*_s42);_wk._0c=new Int8Array(_wk._m42);}function _r42(_wk){_wk._S22=_JG.createBuffer();_JG.bindBuffer(_JG.ARRAY_BUFFER,_wk._S22);_JG.bufferData(_JG.ARRAY_BUFFER,_wk._0c,_JG.DYNAMIC_DRAW);}function _q42(_wk){var _t42=_wk._X22._vc;for(var _x5=0;_x5<_t42.length;
_x5++){var _Y22=_t42[_x5];switch(_Y22._xc){case _d9._Mc:_wk._O9=_u42(_Y22.__22,_wk._m42,_Y22.offset);break;case _d9._Rc:_wk._Q9=_u42(_Y22.__22,_wk._m42,_Y22.offset);break;case _d9._0d:_wk._6c=_u42(_Y22.__22,_wk._m42,_Y22.offset);break;case _d9._Zc:_wk._S9=_u42(_Y22.__22,_wk._m42,_Y22.offset);break;}}}function _u42(_v42,_w42,_x42){switch(_v42){case _JG.UNSIGNED_BYTE:return(new Int32Array(_w42,_x42));break;case _JG.FLOAT:return(new Float32Array(_w42,_x42));break;}return false;}/*@this {yyVBuffer} */this._y42=function(_D_1){
if(_D_1._L9()===this._L9()){var _bd=_D_1._M9*_D_1._L9();var offset=this._M9*this._L9();if((offset+_bd)>this._0c.length){var _z42=new ArrayBuffer(this._0c.length*2);var __b=new Int8Array(_z42);__b.set(this._0c);this._0c=__b;this._m42=_z42;_q42(this);}this._0c.set(_D_1._0c.subarray(0,_bd),offset);this._M9+=_D_1._M9;}};/*@this {yyVBuffer} */this._9d=function(){if(this._M9<this.max){var _bd=this._M9*this._L9();var _A42=new ArrayBuffer(_bd);var _B42=new Int8Array(_A42);_B42.set(this._0c.subarray(0,_bd));this._0c=_B42;
this._m42=_A42;}this._S22=_JG.createBuffer();_JG.bindBuffer(_JG.ARRAY_BUFFER,this._S22);_JG.bufferData(_JG.ARRAY_BUFFER,this._0c,_JG.STATIC_DRAW);this._O9=null;this._Q9=null;this._6c=null;this._S9=null;};/*@this {yyVBuffer} */this._Qb=function(_C42){if((this._M9+_C42)>this.max){var _D42=this.max*2;this.max=_D42;var _Dc=new ArrayBuffer(_D42);var _Fc=new Int8Array(_Dc);_Fc.set(this._0c);this._m42=_Dc;_q42(this);}this._M9+=_C42;};/*@this {yyVBuffer} */this._L9=function(){return this._X22._Bc;};/*@this {yyVBuffer} */this._932=function(){
_JG.bindBuffer(_JG.ARRAY_BUFFER,this._S22);var _E42=new Int8Array(this._m42,0,this._M9*this._X22._Bc);_JG.bufferSubData(_JG.ARRAY_BUFFER,0,_E42);this._M9=0;this._832=false;};}/*@constructor */function _ZW1(_442,_F42){var _JG=this._mX1;var _G42=[];var _H42=0,_F12=null,_I42=null,_J42=_d9._I_1,_G12=null;var _b42=_442;var _K42=_F42;/*@this {yyVBufferManager} */this._DX1=function(_Hc){if(_G42[_Hc]){debug("WARNING: Vertex format has already been registered\n");}else {_G42[_Hc]=new _Gj();}};/*@this {yyVBufferManager} */this._F_1=function(_Db,
_fd,_D_1,_E_1){var size=_D_1._M9-_E_1;switch(_Db){case _d9._I9:_b42._fZ1(0,_fd);_b42._b22(_D_1);_b42._d22(_E_1,size);break;case _d9._Ib:_b42._fZ1(0,_fd);_b42._b22(_D_1);_b42._f22(_E_1,size);break;case _d9._Hb:_b42._fZ1(0,_fd);_b42._b22(_D_1);_b42._g22(_E_1,size);break;case _d9._Fb:_b42._fZ1(0,null);_b42._b22(_D_1);_b42._h22(_E_1,size);break;case _d9._Gb:_b42._fZ1(0,null);_b42._b22(_D_1);_b42._i22(_E_1,size);break;case _d9._Eb:_b42._fZ1(0,null);_b42._b22(_D_1);_b42._jG1(_E_1,size);break;}};/*@this {yyVBufferManager} */this._Fi1=function(){
if(_I42==null){_K42._Fi1();return;}this._F_1(_J42,_F12,_I42,_H42);_I42=_F12=null;_J42=_d9._I_1;_K42._Fi1();};/*@this {yyVBufferManager} */this._H9=function(_Db,_L42,_Hc,_M42,_k42,_N42){var i,_O42,_G9,_I3;_I3=_L42;if(_I42!=null){if((_I42._GX1==_Hc)&&((_I42._M9+_M42)<=_I42._n42)&&(_F12==_I3)&&(_J42==_Db)&&((_Db!=_d9._Gb)&&(_Db!=_d9._Hb)&&(_Db!=_d9._Ib))&&(_K42._e42()==false)){return _I42;}else {var _P42=_I42;_i7._Fi1();if((_P42._GX1==_Hc)&&((_P42._M9+_M42)<=_P42._n42)){_I42=_P42;_H42=_P42._M9;_J42=_Db;
_F12=_I3;return _I42;}}}else this._Fi1();_J42=_Db;_F12=_I3;_O42=_G42[_Hc]._Zj;for(i=_O42.length-1;i>=0;i--){_G9=_O42[i];if(((_G9._a32+1)<_N42)&&(_G9._M9+_M42)<=_G9._n42){_G9._832=true;_H42=_G9._M9;_I42=_G9;return _G9;}}if(_M42<_Ob){_M42=_Ob;}_G9=new _Nb(_M42,_k42,true);_G9._GX1=_Hc;_G9._832=true;_H42=_G9._M9;_I42=_G9;_G42[_Hc]._Ke(_G9);return _G9;};}/*@constructor */function _oX1(){var _JG=this._mX1;var _Q42=1,_R42=false,_j32=[],_S42=0,_T42=0;this._232=[];Object.defineProperties(this,{_vc:{get :function(){
return _j32;},set :function(_yd){_j32=_yd;}},_Ac:{get :function(){return _T42;},set :function(_yd){_T42=_yd;}},_Bc:{get :function(){return _S42;},set :function(_yd){_S42=_yd;}},_EX1:{get :function(){return _R42;},set :function(_yd){_R42=_yd;}}});function _U42(_sc,_rc,_V42){var _wc={offset:_S42,type:_sc,_xc:_rc,_yc:_V42,__22:0,_Z22:0,_032:false};return _wc;}function _Ke(_sc,_rc,_V42){_T42|=_V42;var _Y22=_U42(_sc,_rc,_V42);switch(_sc){case _d9._Sc:case _d9._8d:_S42+=4;_Y22.__22=_JG.UNSIGNED_BYTE;_Y22._Z22=4;_Y22._032=true;
break;case _d9._2d:_S42+=4;_Y22.__22=_JG.FLOAT;_Y22._Z22=1;_Y22._032=false;break;case _d9._Nc:_S42+=8;_Y22.__22=_JG.FLOAT;_Y22._Z22=2;_Y22._032=false;break;case _d9._Pc:_S42+=12;_Y22.__22=_JG.FLOAT;_Y22._Z22=3;_Y22._032=false;break;case _d9._6d:_S42+=16;_Y22.__22=_JG.FLOAT;_Y22._Z22=4;_Y22._032=false;break;}_j32.push(_Y22);}/*@this {yyVertexFormat} */this._W42=function(){_Ke(_d9._Nc,_d9._Mc,_Q42);_Q42=_Q42<<1;};/*@this {yyVertexFormat} */this._zX1=function(){_Ke(_d9._Pc,_d9._Mc,_Q42);_Q42=_Q42<<1;};
/*@this {yyVertexFormat} */this._AX1=function(){_Ke(_d9._Sc,_d9._Rc,_Q42);_Q42=_Q42<<1;};/*@this {yyVertexFormat} */this._CX1=function(){_Ke(_d9._Pc,_d9._0d,_Q42);_Q42=_Q42<<1;};/*@this {yyVertexFormat} */this._BX1=function(){_Ke(_d9._Nc,_d9._Zc,_Q42);_Q42=_Q42<<1;};/*@this {yyVertexFormat} */this._X42=function(_sc,_rc){if((_sc<_d9._2d)||(_sc>_d9._U_1)){debug("ERROR vertex_format_add_custom: illegal types");return;}if((_rc<_d9._Mc)||(_rc>_d9._T_1)){debug("ERROR vertex_format_add_custom: illegal usage");
return;}_Ke(_sc,_rc,_Q42);_Q42=_Q42<<1;};/*@this {yyVertexFormat} */this._Bq1=function(_ae1){if(_j32.length!==_ae1._vc.length){return false;}for(var i=0;i<_j32.length;i++){var _Y42=_j32[i];var _Z42=_ae1._vc[i];if((_Y42.offset!==_Z42.offset)||(_Y42.type!==_Z42.type)||(_Y42._xc!==_Z42._xc)||(_Y42._yc!==_Z42._yc)||(_Y42.__22!==_Z42.__22)||(_Y42._Z22!==_Z42._Z22)){return false;}}return true;};}var __42=null;try{__42=new _052._152(new _052._252(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,
127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,
134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{})._Of;}catch(e){}/*
 * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.
 *  See the from* functions below for more convenient ways of constructing Longs.
 * @exports Long
 * @class A Long class for representing a 64 bit two's-complement integer value.
 * @param {number} low The low (signed) 32 bits of the long
 * @param {number} high The high (signed) 32 bits of the long
 * @param {boolean=} unsigned Whether unsigned or not, defaults to signed
 * @constructor
 */function Long(_Dg1,
_2h1,_352){/*
     * The low 32 bits as a signed value.
     * @type {number}
     */this._Dg1=_Dg1|0;/*
     * The high 32 bits as a signed value.
     * @type {number}
     */this._2h1=_2h1|0;/*
     * Whether unsigned or not.
     * @type {boolean}
     */this._352=!!_352;}/*
 * An indicator used to reliably determine if an object is a Long or not.
 * @type {boolean}
 * @const
 * @private
 */Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});/*
 * @function
 * @param {*} obj Object
 * @returns {boolean}
 * @inner
 */function _452(_Tf){
return(_Tf&&_Tf["__isLong__"])===true;}/*
 * Tests if the specified object is a Long.
 * @function
 * @param {*} obj Object
 * @returns {boolean}
 */Long._452=_452;/*
 * A cache of the Long representations of small integer values.
 * @type {!Object}
 * @inner
 */var _552={};/*
 * A cache of the Long representations of small unsigned integer values.
 * @type {!Object}
 * @inner
 */var _652={};/*
 * @param {number} value
 * @param {boolean=} unsigned
 * @returns {!Long}
 * @inner
 */function _752(value,
_352){var _Tf,_852,_t7;if(_352){value>>>=0;if(_t7=(0<=value&&value<256)){_852=_652[value];if(_852)return _852;}_Tf=_952(value,(value|0)<0?-1:0,true);if(_t7)_652[value]=_Tf;return _Tf;}else {value|=0;if(_t7=(-128<=value&&value<128)){_852=_552[value];if(_852)return _852;}_Tf=_952(value,value<0?-1:0,false);if(_t7)_552[value]=_Tf;return _Tf;}}/*
 * Returns a Long representing the given 32 bit integer value.
 * @function
 * @param {number} value The 32 bit integer in question
 * @param {boolean=} unsigned Whether unsigned or not, defaults to signed
 * @returns {!Long} The corresponding Long value
 */Long._752=_752;
/*
 * @param {number} value
 * @param {boolean=} unsigned
 * @returns {!Long}
 * @inner
 */function _a52(value,_352){if(isNaN(value))return _352?_b52:ZERO;if(_352){if(value<0)return _b52;if(value>=_c52)return _d52;}else {if(value<=-_e52)return MIN_VALUE;if(value+1>=_e52)return MAX_VALUE;}if(value<0)return _a52(-value,_352)._f52();return _952((value%_g52)|0,(value/_g52)|0,_352);}/*
 * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.
 * @function
 * @param {number} value The number in question
 * @param {boolean=} unsigned Whether unsigned or not, defaults to signed
 * @returns {!Long} The corresponding Long value
 */Long._a52=_a52;
/*
 * @param {number} lowBits
 * @param {number} highBits
 * @param {boolean=} unsigned
 * @returns {!Long}
 * @inner
 */function _952(_Bg1,_Ag1,_352){return new Long(_Bg1,_Ag1,_352);}/*
 * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is
 *  assumed to use 32 bits.
 * @function
 * @param {number} lowBits The low 32 bits
 * @param {number} highBits The high 32 bits
 * @param {boolean=} unsigned Whether unsigned or not, defaults to signed
 * @returns {!Long} The corresponding Long value
 */Long._952=_952;
/*
 * @function
 * @param {number} base
 * @param {number} exponent
 * @returns {number}
 * @inner
 */var _h52=Math.pow;/*
 * @param {string} str
 * @param {(boolean|number)=} unsigned
 * @param {number=} radix
 * @returns {!Long}
 * @inner
 */function _i52(_Xk,_352,_j52){if(_Xk.includes('.')){_Xk=_Xk.split('.')[0];}if(_Xk.length===0)throw Error('empty string');if(_Xk==="NaN"||_Xk==="Infinity"||_Xk==="+Infinity"||_Xk==="-Infinity")return ZERO;if(!_aX.test(_Xk))_L3("int64 : unable to convert string \""+_Xk+"\" to int64");
if(typeof _352==='number'){_j52=_352,_352=false;}else {_352=!!_352;}_j52=_j52||10;if(_j52<2||36<_j52)throw __D('radix');var _kg;if((_kg=_Xk.indexOf('-'))>0)throw Error('interior hyphen');else if(_kg===0){return _i52(_Xk.substring(1),_352,_j52)._f52();}var _k52=_a52(_h52(_j52,8));var result=ZERO;for(var i=0;i<_Xk.length;i+=8){var size=Math.min(8,_Xk.length-i),value=parseInt(_Xk.substring(i,i+size),_j52);if(size<8){var power=_a52(_h52(_j52,size));result=result._dX(power).add(_a52(value));}else {result=result._dX(_k52);
result=result.add(_a52(value));}}result._352=_352;return result;}/*
 * Returns a Long representation of the given string, written using the specified radix.
 * @function
 * @param {string} str The textual representation of the Long
 * @param {(boolean|number)=} unsigned Whether unsigned or not, defaults to signed
 * @param {number=} radix The radix in which the text is written (2-36), defaults to 10
 * @returns {!Long} The corresponding Long value
 */Long._i52=_i52;/*
 * @function
 * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val
 * @param {boolean=} unsigned
 * @returns {!Long}
 * @inner
 */function _6X(_yd,
_352){if(typeof _yd==='number')return _a52(_yd,_352);if(typeof _yd==='string')return _i52(_yd,_352);return _952(_yd._Dg1,_yd._2h1,typeof _352==='boolean'?_352:_yd._352);}/*
 * Converts the specified value to a Long using the appropriate from* function for its type.
 * @function
 * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val Value
 * @param {boolean=} unsigned Whether unsigned or not, defaults to signed
 * @returns {!Long}
 */Long._6X=_6X;/*
 * @type {number}
 * @const
 * @inner
 */var _l52=1<<16;
/*
 * @type {number}
 * @const
 * @inner
 */var _m52=1<<24;/*
 * @type {number}
 * @const
 * @inner
 */var _g52=_l52*_l52;/*
 * @type {number}
 * @const
 * @inner
 */var _c52=_g52*_g52;/*
 * @type {number}
 * @const
 * @inner
 */var _e52=_c52/2;/*
 * @type {!Long}
 * @const
 * @inner
 */var _n52=_752(_m52);/*
 * @type {!Long}
 * @inner
 */var ZERO=_752(0);/*
 * Signed zero.
 * @type {!Long}
 */Long.ZERO=ZERO;/*
 * @type {!Long}
 * @inner
 */var _b52=_752(0,true);/*
 * Unsigned zero.
 * @type {!Long}
 */Long._b52=_b52;
/*
 * @type {!Long}
 * @inner
 */var ONE=_752(1);/*
 * Signed one.
 * @type {!Long}
 */Long.ONE=ONE;/*
 * @type {!Long}
 * @inner
 */var _o52=_752(1,true);/*
 * Unsigned one.
 * @type {!Long}
 */Long._o52=_o52;/*
 * @type {!Long}
 * @inner
 */var _p52=_752(-1);/*
 * Signed negative one.
 * @type {!Long}
 */Long._p52=_p52;/*
 * @type {!Long}
 * @inner
 */var MAX_VALUE=_952(0xFFFFFFFF|0,0x7FFFFFFF|0,false);/*
 * Maximum signed value.
 * @type {!Long}
 */Long.MAX_VALUE=MAX_VALUE;/*
 * @type {!Long}
 * @inner
 */var _d52=_952(0xFFFFFFFF|0,
0xFFFFFFFF|0,true);/*
 * Maximum unsigned value.
 * @type {!Long}
 */Long._d52=_d52;/*
 * @type {!Long}
 * @inner
 */var MIN_VALUE=_952(0,0x80000000|0,false);/*
 * Minimum signed value.
 * @type {!Long}
 */Long.MIN_VALUE=MIN_VALUE;/*
 * @alias Long.prototype
 * @inner
 */var _q52=Long.prototype;/*
 * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.
 * @returns {number}
 */_q52._r52=function _r52(){return this._352?this._Dg1>>>0:this._Dg1;};/*
 * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).
 * @returns {number}
 */_q52._cX=function _cX(){
if(this._352)return((this._2h1>>>0)*_g52)+(this._Dg1>>>0);return this._2h1*_g52+(this._Dg1>>>0);};/*
 * Converts the Long to a string written in the specified radix.
 * @param {number=} radix Radix (2-36), defaults to 10
 * @returns {string}
 * @override
 * @throws {RangeError} If `radix` is out of range
 */_q52.toString=function toString(_j52){_j52=_j52||10;if(_j52<2||36<_j52)throw __D('radix');if(this._s52())return '0';if(this._t52()){if(this._u52(MIN_VALUE)){var _v52=_a52(_j52),_eE=this._eE(_v52),
_w52=_eE._dX(_v52).sub(this);return _eE.toString(_j52)+_w52._r52().toString(_j52);}else return '-'+this._f52().toString(_j52);}var _k52=_a52(_h52(_j52,6),this._352),_x52=this;var result='';while(true){var _y52=_x52._eE(_k52),_z52=_x52.sub(_y52._dX(_k52))._r52()>>>0,_A52=_z52.toString(_j52);_x52=_y52;if(_x52._s52())return _A52+result;else {while(_A52.length<6)_A52='0'+_A52;result=''+_A52+result;}}};/*
 * Gets the high 32 bits as a signed integer.
 * @returns {number} Signed high bits
 */_q52._B52=function _B52(){
return this._2h1;};/*
 * Gets the high 32 bits as an unsigned integer.
 * @returns {number} Unsigned high bits
 */_q52._C52=function _C52(){return this._2h1>>>0;};/*
 * Gets the low 32 bits as a signed integer.
 * @returns {number} Signed low bits
 */_q52._D52=function _D52(){return this._Dg1;};/*
 * Gets the low 32 bits as an unsigned integer.
 * @returns {number} Unsigned low bits
 */_q52._E52=function _E52(){return this._Dg1>>>0;};/*
 * Gets the number of bits needed to represent the absolute value of this Long.
 * @returns {number}
 */_q52._F52=function _F52(){
if(this._t52())return this._u52(MIN_VALUE)?64:this._f52()._F52();var _yd=this._2h1!=0?this._2h1:this._Dg1;for(var _yc=31;_yc>0;_yc--)if((_yd&(1<<_yc))!=0)break;return this._2h1!=0?_yc+33:_yc+1;};/*
 * Tests if this Long's value equals zero.
 * @returns {boolean}
 */_q52._s52=function _s52(){return this._2h1===0&&this._Dg1===0;};/*
 * Tests if this Long's value equals zero. This is an alias of {@link Long#isZero}.
 * @returns {boolean}
 */_q52._G52=_q52._s52;/*
 * Tests if this Long's value is negative.
 * @returns {boolean}
 */_q52._t52=function _t52(){
return !this._352&&this._2h1<0;};/*
 * Tests if this Long's value is positive.
 * @returns {boolean}
 */_q52._H52=function _H52(){return this._352||this._2h1>=0;};/*
 * Tests if this Long's value is odd.
 * @returns {boolean}
 */_q52._I52=function _I52(){return(this._Dg1&1)===1;};/*
 * Tests if this Long's value is even.
 * @returns {boolean}
 */_q52._J52=function _J52(){return(this._Dg1&1)===0;};/*
 * Tests if this Long's value equals the specified's.
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._K52=function _K52(other){
if(!_452(other))other=_6X(other);if(this._352!==other._352&&(this._2h1>>>31)===1&&(other._2h1>>>31)===1)return false;return this._2h1===other._2h1&&this._Dg1===other._Dg1;};/*
 * Tests if this Long's value equals the specified's. This is an alias of {@link Long#equals}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._u52=_q52._K52;/*
 * Tests if this Long's value differs from the specified's.
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._L52=function _L52(other){
return !this._u52(other);};/*
 * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._M52=_q52._L52;/*
 * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._N52=_q52._L52;/*
 * Tests if this Long's value is less than the specified's.
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._O52=function _O52(other){
return this._P52(other)<0;};/*
 * Tests if this Long's value is less than the specified's. This is an alias of {@link Long#lessThan}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._Q52=_q52._O52;/*
 * Tests if this Long's value is less than or equal the specified's.
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._R52=function _R52(other){return this._P52(other)<=0;};/*
 * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._S52=_q52._R52;
/*
 * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._T52=_q52._R52;/*
 * Tests if this Long's value is greater than the specified's.
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._U52=function _U52(other){return this._P52(other)>0;};/*
 * Tests if this Long's value is greater than the specified's. This is an alias of {@link Long#greaterThan}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._V52=_q52._U52;
/*
 * Tests if this Long's value is greater than or equal the specified's.
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._W52=function _W52(other){return this._P52(other)>=0;};/*
 * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._X52=_q52._W52;/*
 * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {boolean}
 */_q52._IG=_q52._W52;
/*
 * Compares this Long's value with the specified's.
 * @param {!Long|number|string} other Other value
 * @returns {number} 0 if they are the same, 1 if the this is greater and -1
 *  if the given one is greater
 */_q52._Y52=function _Y52(other){if(!_452(other))other=_6X(other);if(this._u52(other))return 0;var _Z52=this._t52(),__52=other._t52();if(_Z52&&!__52)return -1;if(!_Z52&&__52)return 1;if(!this._352)return this.sub(other)._t52()?-1:1;return(other._2h1>>>0)>(this._2h1>>>0)||(other._2h1===this._2h1&&(other._Dg1>>>0)>(this._Dg1>>>0))?-1:1;
};/*
 * Compares this Long's value with the specified's. This is an alias of {@link Long#compare}.
 * @function
 * @param {!Long|number|string} other Other value
 * @returns {number} 0 if they are the same, 1 if the this is greater and -1
 *  if the given one is greater
 */_q52._P52=_q52._Y52;/*
 * Negates this Long's value.
 * @returns {!Long} Negated Long
 */_q52._062=function _062(){if(!this._352&&this._u52(MIN_VALUE))return MIN_VALUE;return this.not().add(ONE);};/*
 * Negates this Long's value. This is an alias of {@link Long#negate}.
 * @function
 * @returns {!Long} Negated Long
 */_q52._f52=_q52._062;
/*
 * Returns the sum of this and the specified Long.
 * @param {!Long|number|string} addend Addend
 * @returns {!Long} Sum
 */_q52.add=function add(_162){if(!_452(_162))_162=_6X(_162);var _262=this._2h1>>>16;var _362=this._2h1&0xFFFF;var _462=this._Dg1>>>16;var _562=this._Dg1&0xFFFF;var _662=_162._2h1>>>16;var _762=_162._2h1&0xFFFF;var _862=_162._Dg1>>>16;var _962=_162._Dg1&0xFFFF;var _a62=0,_b62=0,_c62=0,_d62=0;_d62+=_562+_962;_c62+=_d62>>>16;_d62&=0xFFFF;_c62+=_462+_862;_b62+=_c62>>>16;_c62&=0xFFFF;
_b62+=_362+_762;_a62+=_b62>>>16;_b62&=0xFFFF;_a62+=_262+_662;_a62&=0xFFFF;return _952((_c62<<16)|_d62,(_a62<<16)|_b62,this._352);};/*
 * Returns the difference of this and the specified Long.
 * @param {!Long|number|string} subtrahend Subtrahend
 * @returns {!Long} Difference
 */_q52.subtract=function subtract(_e62){if(!_452(_e62))_e62=_6X(_e62);return this.add(_e62._f52());};/*
 * Returns the difference of this and the specified Long. This is an alias of {@link Long#subtract}.
 * @function
 * @param {!Long|number|string} subtrahend Subtrahend
 * @returns {!Long} Difference
 */_q52.sub=_q52.subtract;
/*
 * Returns the product of this and the specified Long.
 * @param {!Long|number|string} multiplier Multiplier
 * @returns {!Long} Product
 */_q52._f62=function _f62(_g62){if(this._s52())return ZERO;if(!_452(_g62))_g62=_6X(_g62);if(__42){var _Dg1=__42._dX(this._Dg1,this._2h1,_g62._Dg1,_g62._2h1);return _952(_Dg1,__42._h62(),this._352);}if(_g62._s52())return ZERO;if(this._u52(MIN_VALUE))return _g62._I52()?MIN_VALUE:ZERO;if(_g62._u52(MIN_VALUE))return this._I52()?MIN_VALUE:ZERO;if(this._t52()){if(_g62._t52())return this._f52()._dX(_g62._f52());
else return this._f52()._dX(_g62)._f52();}else if(_g62._t52())return this._dX(_g62._f52())._f52();if(this._Q52(_n52)&&_g62._Q52(_n52))return _a52(this._cX()*_g62._cX(),this._352);var _262=this._2h1>>>16;var _362=this._2h1&0xFFFF;var _462=this._Dg1>>>16;var _562=this._Dg1&0xFFFF;var _662=_g62._2h1>>>16;var _762=_g62._2h1&0xFFFF;var _862=_g62._Dg1>>>16;var _962=_g62._Dg1&0xFFFF;var _a62=0,_b62=0,_c62=0,_d62=0;_d62+=_562*_962;_c62+=_d62>>>16;_d62&=0xFFFF;_c62+=_462*_962;_b62+=_c62>>>16;_c62&=0xFFFF;_c62+=_562*_862;
_b62+=_c62>>>16;_c62&=0xFFFF;_b62+=_362*_962;_a62+=_b62>>>16;_b62&=0xFFFF;_b62+=_462*_862;_a62+=_b62>>>16;_b62&=0xFFFF;_b62+=_562*_762;_a62+=_b62>>>16;_b62&=0xFFFF;_a62+=_262*_962+_362*_862+_462*_762+_562*_662;_a62&=0xFFFF;return _952((_c62<<16)|_d62,(_a62<<16)|_b62,this._352);};/*
 * Returns the product of this and the specified Long. This is an alias of {@link Long#multiply}.
 * @function
 * @param {!Long|number|string} multiplier Multiplier
 * @returns {!Long} Product
 */_q52._dX=_q52._f62;
/*
 * Returns this Long divided by the specified. The result is signed if this Long is signed or
 *  unsigned if this Long is unsigned.
 * @param {!Long|number|string} divisor Divisor
 * @returns {!Long} Quotient
 */_q52._i62=function _i62(_aI){if(!_452(_aI))_aI=_6X(_aI);if(_aI._s52())throw Error('division by zero');if(__42){if(!this._352&&this._2h1===-0x80000000&&_aI._Dg1===-1&&_aI._2h1===-1){return this;}var _Dg1=(this._352?__42._j62:__42._k62)(this._Dg1,this._2h1,_aI._Dg1,_aI._2h1);return _952(_Dg1,
__42._h62(),this._352);}if(this._s52())return this._352?_b52:ZERO;var _l62,_x52,_ta;if(!this._352){if(this._u52(MIN_VALUE)){if(_aI._u52(ONE)||_aI._u52(_p52))return MIN_VALUE;else if(_aI._u52(MIN_VALUE))return ONE;else {var _m62=this._n62(1);_l62=_m62._eE(_aI)._o62(1);if(_l62._u52(ZERO)){return _aI._t52()?ONE:_p52;}else {_x52=this.sub(_aI._dX(_l62));_ta=_l62.add(_x52._eE(_aI));return _ta;}}}else if(_aI._u52(MIN_VALUE))return this._352?_b52:ZERO;if(this._t52()){if(_aI._t52())return this._f52()._eE(_aI._f52());
return this._f52()._eE(_aI)._f52();}else if(_aI._t52())return this._eE(_aI._f52())._f52();_ta=ZERO;}else {if(!_aI._352)_aI=_aI._p62();if(_aI._V52(this))return _b52;if(_aI._V52(this._q62(1)))return _o52;_ta=_b52;}_x52=this;while(_x52._X52(_aI)){_l62=Math.max(1,Math.floor(_x52._cX()/_aI._cX()));var log2=Math.ceil(Math.log(_l62)/Math.LN2),_uh=(log2<=48)?1:_h52(2,log2-48),_r62=_a52(_l62),_s62=_r62._dX(_aI);while(_s62._t52()||_s62._V52(_x52)){_l62-=_uh;_r62=_a52(_l62,this._352);_s62=_r62._dX(_aI);}if(_r62._s52())_r62=ONE;
_ta=_ta.add(_r62);_x52=_x52.sub(_s62);}return _ta;};/*
 * Returns this Long divided by the specified. This is an alias of {@link Long#divide}.
 * @function
 * @param {!Long|number|string} divisor Divisor
 * @returns {!Long} Quotient
 */_q52._eE=_q52._i62;/*
 * Returns this Long modulo the specified.
 * @param {!Long|number|string} divisor Divisor
 * @returns {!Long} Remainder
 */_q52._t62=function _t62(_aI){if(!_452(_aI))_aI=_6X(_aI);if(__42){var _Dg1=(this._352?__42._u62:__42._v62)(this._Dg1,
this._2h1,_aI._Dg1,_aI._2h1);return _952(_Dg1,__42._h62(),this._352);}return this.sub(this._eE(_aI)._dX(_aI));};/*
 * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.
 * @function
 * @param {!Long|number|string} divisor Divisor
 * @returns {!Long} Remainder
 */_q52._eX=_q52._t62;/*
 * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.
 * @function
 * @param {!Long|number|string} divisor Divisor
 * @returns {!Long} Remainder
 */_q52._x52=_q52._t62;
/*
 * Returns the bitwise NOT of this Long.
 * @returns {!Long}
 */_q52.not=function not(){return _952(~this._Dg1,~this._2h1,this._352);};/*
 * Returns the bitwise AND of this Long and the specified.
 * @param {!Long|number|string} other Other Long
 * @returns {!Long}
 */_q52._hX=function _hX(other){if(!_452(other))other=_6X(other);return _952(this._Dg1&other._Dg1,this._2h1&other._2h1,this._352);};/*
 * Returns the bitwise OR of this Long and the specified.
 * @param {!Long|number|string} other Other Long
 * @returns {!Long}
 */_q52._iX=function _iX(other){
if(!_452(other))other=_6X(other);return _952(this._Dg1|other._Dg1,this._2h1|other._2h1,this._352);};/*
 * Returns the bitwise XOR of this Long and the given one.
 * @param {!Long|number|string} other Other Long
 * @returns {!Long}
 */_q52._jX=function _jX(other){if(!_452(other))other=_6X(other);return _952(this._Dg1^other._Dg1,this._2h1^other._2h1,this._352);};/*
 * Returns this Long with bits shifted to the left by the given amount.
 * @param {number|!Long} numBits Number of bits
 * @returns {!Long} Shifted Long
 */_q52._lX=function _lX(_P32){
if(_452(_P32))_P32=_P32._r52();if((_P32&=63)===0)return this;else if(_P32<32)return _952(this._Dg1<<_P32,(this._2h1<<_P32)|(this._Dg1>>>(32-_P32)),this._352);else return _952(0,this._Dg1<<(_P32-32),this._352);};/*
 * Returns this Long with bits shifted to the left by the given amount. This is an alias of {@link Long#shiftLeft}.
 * @function
 * @param {number|!Long} numBits Number of bits
 * @returns {!Long} Shifted Long
 */_q52._o62=_q52._lX;/*
 * Returns this Long with bits arithmetically shifted to the right by the given amount.
 * @param {number|!Long} numBits Number of bits
 * @returns {!Long} Shifted Long
 */_q52._mX=function _mX(_P32){
if(_452(_P32))_P32=_P32._r52();if((_P32&=63)===0)return this;else if(_P32<32)return _952((this._Dg1>>>_P32)|(this._2h1<<(32-_P32)),this._2h1>>_P32,this._352);else return _952(this._2h1>>(_P32-32),this._2h1>=0?0:-1,this._352);};/*
 * Returns this Long with bits arithmetically shifted to the right by the given amount. This is an alias of {@link Long#shiftRight}.
 * @function
 * @param {number|!Long} numBits Number of bits
 * @returns {!Long} Shifted Long
 */_q52._n62=_q52._mX;/*
 * Returns this Long with bits logically shifted to the right by the given amount.
 * @param {number|!Long} numBits Number of bits
 * @returns {!Long} Shifted Long
 */_q52._w62=function _w62(_P32){
if(_452(_P32))_P32=_P32._r52();_P32&=63;if(_P32===0)return this;else {var _2h1=this._2h1;if(_P32<32){var _Dg1=this._Dg1;return _952((_Dg1>>>_P32)|(_2h1<<(32-_P32)),_2h1>>>_P32,this._352);}else if(_P32===32)return _952(_2h1,0,this._352);else return _952(_2h1>>>(_P32-32),0,this._352);}};/*
 * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.
 * @function
 * @param {number|!Long} numBits Number of bits
 * @returns {!Long} Shifted Long
 */_q52._q62=_q52._w62;
/*
 * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.
 * @function
 * @param {number|!Long} numBits Number of bits
 * @returns {!Long} Shifted Long
 */_q52._x62=_q52._w62;/*
 * Converts this Long to signed.
 * @returns {!Long} Signed long
 */_q52._y62=function _y62(){if(!this._352)return this;return _952(this._Dg1,this._2h1,false);};/*
 * Converts this Long to unsigned.
 * @returns {!Long} Unsigned long
 */_q52._p62=function _p62(){
if(this._352)return this;return _952(this._Dg1,this._2h1,true);};/*
 * Converts this Long to its byte representation.
 * @param {boolean=} le Whether little or big endian, defaults to big endian
 * @returns {!Array.<number>} Byte representation
 */_q52._z62=function _z62(_T52){return _T52?this._A62():this._B62();};/*
 * Converts this Long to its little endian byte representation.
 * @returns {!Array.<number>} Little endian byte representation
 */_q52._A62=function _A62(){var _Cg1=this._2h1,_Sr1=this._Dg1;
return [_Sr1&0xff,_Sr1>>>8&0xff,_Sr1>>>16&0xff,_Sr1>>>24,_Cg1&0xff,_Cg1>>>8&0xff,_Cg1>>>16&0xff,_Cg1>>>24];};/*
 * Converts this Long to its big endian byte representation.
 * @returns {!Array.<number>} Big endian byte representation
 */_q52._B62=function _B62(){var _Cg1=this._2h1,_Sr1=this._Dg1;return [_Cg1>>>24,_Cg1>>>16&0xff,_Cg1>>>8&0xff,_Cg1&0xff,_Sr1>>>24,_Sr1>>>16&0xff,_Sr1>>>8&0xff,_Sr1&0xff];};/*
 * Creates a Long from its byte representation.
 * @param {!Array.<number>} bytes Byte representation
 * @param {boolean=} unsigned Whether unsigned or not, defaults to signed
 * @param {boolean=} le Whether little or big endian, defaults to big endian
 * @returns {Long} The corresponding Long value
 */Long._C62=function _C62(_7g,
_352,_T52){return _T52?Long._D62(_7g,_352):Long._E62(_7g,_352);};/*
 * Creates a Long from its little endian byte representation.
 * @param {!Array.<number>} bytes Little endian byte representation
 * @param {boolean=} unsigned Whether unsigned or not, defaults to signed
 * @returns {Long} The corresponding Long value
 */Long._D62=function _D62(_7g,_352){return new Long(_7g[0]|_7g[1]<<8|_7g[2]<<16|_7g[3]<<24,_7g[4]|_7g[5]<<8|_7g[6]<<16|_7g[7]<<24,_352);};/*
 * Creates a Long from its big endian byte representation.
 * @param {!Array.<number>} bytes Big endian byte representation
 * @param {boolean=} unsigned Whether unsigned or not, defaults to signed
 * @returns {Long} The corresponding Long value
 */Long._E62=function _E62(_7g,
_352){return new Long(_7g[4]<<24|_7g[5]<<16|_7g[6]<<8|_7g[7],_7g[0]<<24|_7g[1]<<16|_7g[2]<<8|_7g[3],_352);};_qg:function _F62(color){return(((color._i3*255)&0xff)<<0)|(((color._j3*255)&0xff)<<8)|(((color._k3*255)&0xff)<<16);}/*@this {yyPhysicsDebugDraw} */function _G62(vertices,vertexCount,color){draw_set_color(_F62(color));var scale=1.0/this._H62._441;for(var _x5=0;_x5<vertexCount;++_x5){var _I62=vertices[_x5];var _J62=vertices[(_x5+1)%vertexCount];draw_line(_I62.x*scale,_I62.y*scale,_J62.x*scale,_J62.y*scale);
}}/*@this {yyPhysicsDebugDraw} */function _K62(vertices,vertexCount,color){draw_set_color(_F62(color));var scale=1.0/this._H62._441;var _I62=vertices[0];for(var _x5=2;_x5<vertexCount;++_x5){var _J62=vertices[_x5-1];var _L62=vertices[_x5];draw_triangle(_I62.x*scale,_I62.y*scale,_J62.x*scale,_J62.y*scale,_L62.x*scale,_L62.y*scale,false);}}/*@this {yyPhysicsDebugDraw} */function _M62(_3s1,_W51,color){draw_set_color(_F62(color));var scale=1.0/this._H62._441;draw_ellipse((_3s1.x-_W51)*scale,(_3s1.y-_W51)*scale,
(_3s1.x+_W51)*scale,(_3s1.y+_W51)*scale,true);}/*@this {yyPhysicsDebugDraw} */function _N62(_3s1,_W51,_5u,color){draw_set_color(_F62(color));var scale=1.0/this._H62._441;draw_ellipse((_3s1.x-_W51)*scale,(_3s1.y-_W51)*scale,(_3s1.x+_W51)*scale,(_3s1.y+_W51)*scale,false);}/*@this {yyPhysicsDebugDraw} */function _O62(_4u,_6s1,color){draw_set_color(_F62(color));var scale=1.0/this._H62._441;draw_line(_4u.x*scale,_4u.y*scale,_6s1.x*scale,_6s1.y*scale);}/*@this {yyPhysicsDebugDraw} */function _P62(_5r1){var _Q62=0.4;
var scale=1.0/this._H62._441;var _4u=_5r1._kg,_6s1=new _R62._S62();_6s1.x=_4u.x+_Q62*_5r1.q._2r1().x;_6s1.y=_4u.y+_Q62*_5r1.q._2r1().y;draw_set_color(_Fn);draw_line(_4u.x*scale,_4u.y*scale,_6s1.x*scale,_6s1.y*scale);_6s1.x=_4u.x+_Q62*_5r1.q._3r1().x;_6s1.y=_4u.y+_Q62*_5r1.q._3r1().y;draw_set_color(_In);draw_line(_4u.x*scale,_4u.y*scale,_6s1.x*scale,_6s1.y*scale);}/*@this {yyPhysicsDebugDraw} */function _T62(_8s1,_W51,_9s1,_u7){for(var _x5=0;_x5<_u7;_x5++){var scale=1.0/this._H62._441;draw_set_color(((_9s1[_x5]._i3&0xff)<<0)|((_9s1[_x5]._j3&0xff)<<8)|((_9s1[_x5]._k3&0xff)<<16));
draw_ellipse((_8s1[_x5].x-_W51)*scale,(_8s1[_x5].y-_W51)*scale,(_8s1[_x5].x+_W51)*scale,(_8s1[_x5].y+_W51)*scale,true);}}/*@constructor */function _L31(){this._MB1=0;this._NB1=0;this._U62=false;this._V62=true;this._W62=false;this._X62=new _R62._Y62();this._7t1=null;};_L31.prototype._341=function(_pt){this._7t1=null;this._X62.shape=new _R62._Z62();this._X62.shape._ss1=_pt;};_L31.prototype._741=function(_541,_641){this._7t1=null;this._X62.shape=new _R62.__62();this._X62.shape._rt1(_541,_641);};_L31.prototype._941=function(){
this._7t1=[];this._X62.shape=new _R62.__62();};_L31.prototype._a41=function(_S2){this._7t1=[];this._W62=_S2;this._X62.shape=new _R62._072();};_L31.prototype._841=function(_wa,_xa,_ya,_za){var _la=new _R62._S62(_wa,_xa);var _34=new _R62._S62(_ya,_za);this._7t1=null;this._X62.shape=new _R62._172();this._X62.shape.Set(_la,_34);};_L31.prototype._d41=function(_u4,_v4){var vertexCount=this._7t1.length;this._7t1[vertexCount]=new _R62._S62(_u4,_v4);};_L31.prototype._272=function(){if(this._7t1===null||this._7t1===undefined){
return true;}if(this._X62.shape._dO===_R62._372._Gs1){if(this._7t1.length>2){this._X62.shape.Set(this._7t1,this._7t1.length);return true;}}else if(this._X62.shape._dO===_R62._372._Hs1){if(this._W62){if(this._7t1.length>=3){this._X62.shape._et1(this._7t1,this._7t1.length);return true;}}else {if(this._7t1.length>=2){this._X62.shape._ft1(this._7t1,this._7t1.length);return true;}}}return false;};_L31.prototype._V31=function(_U31){this._X62.filter._mD1=_U31;};_L31.prototype._T31=function(_Dl){this._X62.friction=_Dl;
};_L31.prototype._S31=function(_R31){this._X62._nD1=_R31;};_L31.prototype._Q31=function(_P31){this._X62._s61=_P31;};_L31.prototype._X31=function(_472){this._X62._oD1=_472;};_L31.prototype._Z31=function(_Y31){this._MB1=_Y31;};_L31.prototype.__31=function(_Y31){this._NB1=_Y31;};_L31.prototype.__31=function(_Y31){this._NB1=_Y31;};_L31.prototype._141=function(_041){this._V62=_041;};_L31.prototype._O31=function(){this._U62=true;};var _572=0,_672=1,_772=2,_872=3,_972=4,_a72=5,_b72=6,_c72=7,_d72=8,_e72=9,
_f72=10,_g72=11,_h72=12,_i72=13,_j72=14,_k72=15,_l72=16,_m72=17,_n72=18,_o72=19,_p72=20,_q72=21,_r72=22,_s72=23,_t72=24;/*@constructor */function _u72(_v72){this._w72=_v72;};_u72.prototype._d51=function(_b51){if((this._w72 instanceof _R62._x72)||(this._w72 instanceof _R62._y72)||(this._w72 instanceof _R62._z72)){this._w72._8G1()._141(true);this._w72._9G1()._141(true);this._w72._d51(_b51);}};_u72.prototype._f51=function(_e51){switch(_e51){case _572:return this._w72._aG1().x;case _672:return this._w72._aG1().y;
case _772:return this._w72._bG1().x;case _872:return this._w72._bG1().y;case _972:return this._w72._MN1(1.0/_x2._y31._A72).x;case _a72:return this._w72._MN1(1.0/_x2._y31._A72).y;case _b72:return this._w72._NN1(1.0/_x2._y31._A72);case _c72:{if((this._w72 instanceof _R62._x72)||(this._w72 instanceof _R62._y72)||(this._w72 instanceof _R62._z72)){return this._w72._RO1();}}break;case _d72:{if(this._w72 instanceof _R62._x72){return this._w72._IO1();}else if(this._w72 instanceof _R62._B72){return this._w72._HO1();}}break;case _e72:{
if((this._w72 instanceof _R62._x72)||(this._w72 instanceof _R62._z72)){return this._w72._UO1(1.0/_x2._y31._A72);}}break;case _f72:{if((this._w72 instanceof _R62._x72)||(this._w72 instanceof _R62._z72)){return this._w72._TO1();}}break;case _g72:{if((this._w72 instanceof _R62._y72)||(this._w72 instanceof _R62._z72)){return this._w72._UP1();}}break;case _h72:{if((this._w72 instanceof _R62._y72)||(this._w72 instanceof _R62._z72)){return this._w72._JO1();}}break;case _i72:{if(this._w72 instanceof _R62._y72){return this._w72._XP1(1.0/_x2._y31._A72);
}}break;case _j72:{if(this._w72 instanceof _R62._y72){return this._w72._WP1();}}break;case _k72:{if(this._w72 instanceof _R62._C72){return this._w72._jS1();}if(this._w72 instanceof _R62._D72){return this._w72._xP1();}}break;case _l72:{if(this._w72 instanceof _R62._C72){return this._w72._kS1();}}break;case _m72:{if((this._w72 instanceof _R62._D72)||(this._w72 instanceof _R62._B72)){this._w72._qP1();}else if(this._w72 instanceof _R62._z72){return this._w72._AQ1();}}break;case _n72:{if((this._w72 instanceof _R62._D72)||(this._w72 instanceof _R62._B72)){
return this._w72._oP1();}else if(this._w72 instanceof _R62._z72){return this._w72._yQ1();}}break;case _o72:{if(this._w72 instanceof _R62._x72){return((this._w72._MO1()*180.0)/Math.PI);}}break;case _p72:{if(this._w72 instanceof _R62._x72){return((this._w72._NO1()*180.0)/Math.PI);}}break;case _q72:{if(this._w72 instanceof _R62._x72){return this._w72._KO1();}}break;case _r72:{if(this._w72 instanceof _R62._E72){return this._w72._yS1();}}break;case _s72:{if(this._w72 instanceof _R62._F72){return this._w72._iQ1();}}break;case _t72:{
if(this._w72 instanceof _R62._F72){return this._w72._lP1();}}}return 0;};_u72.prototype._g51=function(_e51,_Zm){switch(_e51){case _c72:{if((this._w72 instanceof _R62._x72)||(this._w72 instanceof _R62._y72)||(this._w72 instanceof _R62._z72)){this._w72._8G1()._141(true);this._w72._9G1()._141(true);this._w72._QO1(_Zm);}}break;case _f72:{if((this._w72 instanceof _R62._x72)||(this._w72 instanceof _R62._z72)){this._w72._8G1()._141(true);this._w72._9G1()._141(true);this._w72._SO1(_Zm);}}break;case _j72:{if(this._w72 instanceof _R62._y72){
this._w72._VP1(_Zm);}}break;case _k72:{if(this._w72 instanceof _R62._D72){this._w72._wP1(_Zm);}}break;case _m72:{if((this._w72 instanceof _R62._D72)||(this._w72 instanceof _R62._B72)){this._w72._pP1(_Zm);}else if(this._w72 instanceof _R62._z72){this._w72._zQ1(_Zm);}}break;case _n72:{if((this._w72 instanceof _R62._D72)||(this._w72 instanceof _R62._B72)){this._w72._mP1(_Zm);}else if(this._w72 instanceof _R62._z72){this._w72._xQ1(_Zm);}}break;case _o72:{if(this._w72 instanceof _R62._x72){var angle=(_Zm*Math.PI)/180.0;this._w72._OO1(angle,
this._w72._NO1());}}break;case _p72:{if(this._w72 instanceof _R62._x72){var angle=(_Zm*Math.PI)/180.0;this._w72._OO1(this._w72._MO1(),angle);}}break;case _q72:{if(this._w72 instanceof _R62._x72){this._w72._LO1((_Zm>0.5)?true:false);}}break;case _r72:{if(this._w72 instanceof _R62._E72){this._w72._xS1(_Zm);}}break;case _s72:{if(this._w72 instanceof _R62._F72){this._w72._hQ1(_Zm);}}break;case _t72:{if(this._w72 instanceof _R62._F72){this._w72._kP1(_Zm);}}break;}};/*@constructor */function _G72(_H72,_I72,_y3,_z3){this._J72=_H72;
this._K72=_I72;this._L72=new _R62._S62(_y3,_z3);this._M72=[];};_G72.prototype._q51=function(_N72,_O72,_P72,_Q72){this._J72._BC1(new _R62._S62(_P72,_Q72),new _R62._S62(_N72,_O72),true);};_G72.prototype._n51=function(_N72,_O72,_P72,_Q72){this._J72._n51(new _R62._S62(_P72,_Q72),new _R62._S62(_N72,_O72),true);};_G72.prototype._x51=function(_R72,_S72,_T72,_U72){var _V72=this._J72._IC1(new _R62._S62(_T72,_U72));var _W72=this._J72._HC1(new _R62._S62(_R72,_S72));this._J72._n51(_V72,_W72,true);};_G72.prototype._A51=function(_R72,
_S72,_T72,_U72){var _V72=this._J72._IC1(new _R62._S62(_T72,_U72));var _W72=this._J72._HC1(new _R62._S62(_R72,_S72));this._J72._BC1(_V72,_W72,true);};_G72.prototype._C51=function(_B51){this._J72._C51(_B51,true);};_G72.prototype._E51=function(_D51){this._J72._E51(_D51,true);};_G72.prototype._J51=function(_F51,_X72,_Y72,_I51){var _As1=new _R62._Z72();_As1._ps1=_F51;_As1._qs1=_I51;_As1._3s1=new _R62._S62(_X72,_Y72);this._J72._GC1(_As1);};_G72.prototype.__72=function(_082){var position=this._J72._h31();this._J72._pC1(position,
(_082*Math.PI)/180.0);this._J72._141(true);};_G72.prototype._182=function(_Uj){var angle=this._J72._1r1();var __9=this._J72._h31().y;this._J72._pC1(new _R62._S62(_Uj,__9),angle);this._J72._141(true);};_G72.prototype._282=function(_Uj){var angle=this._J72._1r1();var _Z9=this._J72._h31().x;this._J72._pC1(new _R62._S62(_Z9,_Uj),angle);this._J72._141(true);};_G72.prototype._vC1=function(_382){this._J72._vC1((_382*Math.PI)/180.0);this._J72._141(true);};_G72.prototype._482=function(_582){var _682=this._J72._uC1();
this._J72._tC1(new _R62._S62(_582,_682.y));this._J72._141(true);};_G72.prototype._782=function(_582){var _682=this._J72._uC1();this._J72._tC1(new _R62._S62(_682.x,_582));this._J72._141(true);};_G72.prototype.__C1=function(_882){this._J72.__C1(_882);};_G72.prototype._7D1=function(_982){this._J72._7D1(_982);};_G72.prototype._5D1=function(_a82){this._J72._5D1(_a82);};_G72.prototype._D31=function(_b82){if(this._J72){this._c82(_b82);this._d82(_b82);}};_G72.prototype._c82=function(_rl){var _N31=this._J72._9D1();
while((_N31!=null)&&(_N31!=undefined)){var shape=_N31._vD1();var transform=this._J72._cr1();if(shape instanceof _R62._Z62){var _3s1=_R62._e82(transform,shape._Ks1);draw_ellipse((_3s1.x-shape._ss1)*_rl,(_3s1.y-shape._ss1)*_rl,(_3s1.x+shape._ss1)*_rl,(_3s1.y+shape._ss1)*_rl,true);}else if(shape instanceof _R62.__62){var _f82=Math.sin(this._J72._1r1());var _g82=Math.cos(this._J72._1r1());for(var _x5=0;_x5<shape._8t1;++_x5){var _I62=shape._7t1[_x5];var _J62=shape._7t1[(_x5+1)%shape._8t1];var _h82=_R62._e82(transform,
_I62);var _i82=_R62._e82(transform,_J62);draw_line(_h82.x*_rl,_h82.y*_rl,_i82.x*_rl,_i82.y*_rl);}}_N31=_N31._JB1;}};_G72.prototype._d82=function(_rl){var _hD1=this._J72._GB1;while((_hD1!=null)&&(_hD1!=undefined)){var _t41=_hD1._t41;if(_t41 instanceof _R62._x72){this._j82(_t41,_rl);}else if(_t41 instanceof _R62._y72){this._k82(_t41,_rl);}else if(_t41 instanceof _R62._D72){this._l82(_t41,_rl);}else if(_t41 instanceof _R62._C72){this._m82(_t41,_rl);}else if(_t41 instanceof _R62._n82){if(_t41._o82!=null){this._j82(_t41._o82,
_rl);}if(_t41._p82!=null){this._j82(_t41._p82,_rl);}if(_t41._q82!=null){this._k82(_t41._q82,_rl);}if(_t41._r82!=null){this._k82(_t41._r82,_rl);}}_hD1=_hD1._JB1;}};_G72.prototype._l82=function(_a51,_rl){var _sP1=_a51._aG1();var _tP1=_a51._bG1();draw_line(_sP1.x*_rl,_sP1.y*_rl,_tP1.x*_rl,_tP1.y*_rl);};_G72.prototype._j82=function(_a51,_rl){var anchor=_a51._aG1();draw_line((anchor.x*_rl)-2,(anchor.y*_rl)-2,(anchor.x*_rl)+2,(anchor.y*_rl)+2);draw_line((anchor.x*_rl)-2,(anchor.y*_rl)+2,(anchor.x*_rl)+2,
(anchor.y*_rl)-2);};_G72.prototype._k82=function(_a51,_rl){var _sP1=_a51._aG1();var _tP1=this._J72._h31();draw_line(_sP1.x*_rl,_sP1.y*_rl,_tP1.x*_rl,_tP1.y*_rl);};_G72.prototype._m82=function(_a51,_rl){var anchor,_s82;if(_a51._t82()==this._J72){anchor=_a51._aG1();_s82=_a51._fG1();}else {anchor=_a51._bG1();_s82=_a51._gG1();}draw_line(anchor.x*_rl,anchor.y*_rl,_s82.x*_rl,_s82.y*_rl);draw_line(_a51._fG1().x*_rl,_a51._fG1().y*_rl,_a51._gG1().x*_rl,_a51._gG1().y*_rl);};_G72.prototype._u82=function(_v82){
for(var i=0;i<this._M72.length;i++){if(this._M72[i]==null||this._M72[i]==undefined){this._M72[i]=_v82;return i;}}return(this._M72.push(_v82)-1);};_G72.prototype._M51=function(_L51){if(this._M72[_L51]){this._J72._iC1(this._M72[_L51]);this._M72[_L51]=undefined;}};_G72.prototype._N51=function(_L51){if(this._M72[_L51]){return this._M72[_L51]._N51();}return 0.0;};_G72.prototype._O51=function(_L51){if(this._M72[_L51]){return this._M72[_L51]._O51();}return 0.0;};_G72.prototype._P51=function(_L51){if(this._M72[_L51]){
return this._M72[_L51]._P51();}return 0.0;};_G72.prototype._T31=function(_L51,_F2){if(this._M72[_L51]){this._M72[_L51]._T31(_F2);}};_G72.prototype._Q31=function(_L51,_F2){if(this._M72[_L51]){this._M72[_L51]._Q31(_F2);this._J72._fC1();}};_G72.prototype._S31=function(_L51,_F2){if(this._M72[_L51]){this._M72[_L51]._S31(_F2);}};var _w82=10,_x82=32,_y82=(1<<0),_z82=(1<<1),_A82=(1<<2),_B82=(1<<3),_C82=(1<<4),_D82=(1<<5),_E82=(1<<6);var _R62=null;function _F82(){if(_R62===null){var _Zg=window["b2"];_R62={};_R62.version=_Zg["version"];
_R62._S62=_Zg["Vec2"];_R62._G82=_Zg["Vec3"];_R62._H82=_Zg["Mat22"];_R62._I82=_Zg["Mat33"];_R62._J82=_Zg["Rot"];_R62._K82=_Zg["Transform"];_R62._L82=_Zg["Sweep"];_R62._M82=_Zg["Dot_v2_v2"];_R62._N82=_Zg["Cross_v2_v2"];_R62._O82=_Zg["Cross_v2_f"];_R62._P82=_Zg["Cross_f_v2"];_R62._Q82=_Zg["Mul_m22_v2"];_R62._R82=_Zg["MulT_m22_v2"];_R62._S82=_Zg["Distance"];_R62._T82=_Zg["DistanceSquared"];_R62._U82=_Zg["Dot_v3_v3"];_R62._V82=_Zg["Cross_v3_v3"];_R62._W82=_Zg["Mul_m22_m22"];_R62._X82=_Zg["MulT_m22_m22"];
_R62._Y82=_Zg["Mul_m33_v3"];_R62._Z82=_Zg["Mul22_m33_v2"];_R62.__82=_Zg["Mul_r_r"];_R62._092=_Zg["MulT_r_r"];_R62._192=_Zg["Mul_r_v2"];_R62._292=_Zg["MulT_r_v2"];_R62._e82=_Zg["Mul_t_v2"];_R62._392=_Zg["Min_v2"];_R62._492=_Zg["Max_v2"];_R62._592=_Zg["Clamp"];_R62._692=_Zg["MulT_t_v2"];_R62._792=_Zg["Mul_t_t"];_R62._892=_Zg["MulT_t_t"];_R62._992=_Zg["Clamp_v2"];_R62._a92=_Zg["NextPowerOfTwo"];_R62._b92=_Zg["Abs_v2"];_R62._c92=_Zg["Abs_m22"];_R62._d92=_Zg["IsPowerOfTwo"];_R62._e92=_Zg["RandomFloat"];
_R62._f92=_Zg["Timer"];_R62._m3=_Zg["Color"];_R62._58=_Zg["Draw"];_R62._g92=_Zg["ContactID"];_R62._h92=_Zg["ManifoldPoint"];_R62._i92=_Zg["Manifold"];_R62._j92=_Zg["WorldManifold"];_R62._k92=_Zg["GetPointStates"];_R62._l92=_Zg["ClipVertex"];_R62._m92=_Zg["RayCastInput"];_R62._n92=_Zg["RayCastOutput"];_R62._o92=_Zg["AABB"];_R62._p92=_Zg["CollideCircles"];_R62._q92=_Zg["CollidePolygonAndCircle"];_R62._r92=_Zg["FindMaxSeparation"];_R62._s92=_Zg["FindIncidentEdge"];_R62._t92=_Zg["CollidePolygons"];_R62._u92=_Zg["CollideEdgeAndCircle"];
_R62._v92=_Zg["EPAxis"];_R62._w92=_Zg["TempPolygon"];_R62._x92=_Zg["ReferenceFace"];_R62._y92=_Zg["EPCollider"];_R62._z92=_Zg["CollideEdgeAndPolygon"];_R62._A92=_Zg["ClipSegmentToLine"];_R62._B92=_Zg["TestShapeOverlap"];_R62._K51=_Zg["TestOverlap"];_R62._372=_Zg["Shape"];_R62._Z72=_Zg["MassData"];_R62._Z62=_Zg["CircleShape"];_R62._172=_Zg["EdgeShape"];_R62._072=_Zg["ChainShape"];_R62.__62=_Zg["PolygonShape"];_R62._DI1=_Zg["Pair"];_R62._C92=_Zg["PairLessThan"];_R62._D92=_Zg["BroadPhase"];_R62._E92=_Zg["DistanceProxy"];
_R62._F92=_Zg["SimplexCache"];_R62._G92=_Zg["DistanceInput"];_R62._H92=_Zg["DistanceOutput"];_R62._I92=_Zg["SimplexVertex"];_R62._J92=_Zg["Simplex"];_R62._K92=_Zg["DistanceFunc"];_R62._L92=_Zg["TreeNode"];_R62._M92=_Zg["DynamicTree"];_R62._N92=_Zg["TOIInput"];_R62._O92=_Zg["TOIOutput"];_R62._P92=_Zg["SeparationFunction"];_R62._Q92=_Zg["TimeOfImpact"];_R62._R92=_Zg["BodyDef"];_R62._S92=_Zg["Body"];_R62._T92=_Zg["Filter"];_R62._Y62=_Zg["FixtureDef"];_R62._U92=_Zg["Fixture"];_R62._V92=_Zg["DestructionListener"];
_R62._W92=_Zg["ContactFilter"];_R62._X92=_Zg["ContactImpulse"];_R62._Y92=_Zg["ContactListener"];_R62._Hu1=_Zg["QueryCallback"];_R62._Lz1=_Zg["RayCastCallback"];_R62._Z92=_Zg["TimeStep"];_R62.__92=_Zg["Position"];_R62._0a2=_Zg["Velocity"];_R62._1a2=_Zg["SolverData"];_R62._2a2=_Zg["World"];_R62._3a2=_Zg["MixFriction"];_R62._4a2=_Zg["MixRestitution"];_R62._5a2=_Zg["ContactRegister"];_R62._6a2=_Zg["ContactEdge"];_R62._7a2=_Zg["Contact"];_R62._8a2=_Zg["CircleContact"];_R62._9a2=_Zg["PolygonContact"];
_R62._aa2=_Zg["ChainAndCircleContact"];_R62._ba2=_Zg["ChainAndPolygonContact"];_R62._ca2=_Zg["EdgeAndCircleContact"];_R62._da2=_Zg["EdgeAndPolygonContact"];_R62._ea2=_Zg["PolygonAndCircleContact"];_R62._fa2=_Zg["defaultFilter"];_R62._ga2=_Zg["defaultListener"];_R62._ha2=_Zg["ContactManager"];_R62._ia2=_Zg["VelocityConstraintPoint"];_R62._ja2=_Zg["ContactPositionConstraint"];_R62._ka2=_Zg["ContactVelocityConstraint"];_R62._la2=_Zg["PositionSolverManifold"];_R62._ma2=_Zg["ContactSolverDef"];_R62._na2=_Zg["ContactSolver"];
_R62._oa2=_Zg["Island"];_R62._pa2=_Zg["Jacobian"];_R62._qa2=_Zg["JointEdge"];_R62._ra2=_Zg["JointDef"];_R62._sa2=_Zg["Joint"];_R62._ta2=_Zg["RevoluteJointDef"];_R62._x72=_Zg["RevoluteJoint"];_R62._ua2=_Zg["MouseJointDef"];_R62._va2=_Zg["MouseJoint"];_R62._wa2=_Zg["DistanceJointDef"];_R62._D72=_Zg["DistanceJoint"];_R62._xa2=_Zg["PrismaticJointDef"];_R62._y72=_Zg["PrismaticJoint"];_R62._ya2=_Zg["FrictionJointDef"];_R62._F72=_Zg["FrictionJoint"];_R62._za2=_Zg["WeldJointDef"];_R62._B72=_Zg["WeldJoint"];
_R62._Aa2=_Zg["WheelJointDef"];_R62._z72=_Zg["WheelJoint"];_R62._Ba2=_Zg["GearJointDef"];_R62._n82=_Zg["GearJoint"];_R62._Ca2=_Zg["MotorJointDef"];_R62._Da2=_Zg["MotorJoint"];_R62._Ea2=_Zg["PulleyJointDef"];_R62._C72=_Zg["PulleyJoint"];_R62._Fa2=_Zg["RopeJointDef"];_R62._E72=_Zg["RopeJoint"];_R62._Ga2=_Zg["RopeDef"];_R62._Ha2=_Zg["Rope"];_R62._Ia2=_Zg["maxManifoldPoints"];_R62._Ja2=_Zg["maxPolygonVertices"];_R62._Ka2=_Zg["aabbExtension"];_R62._La2=_Zg["aabbMultiplier"];_R62._Ma2=_Zg["linearSlop"];
_R62._Na2=_Zg["angularSlop"];_R62._Oa2=_Zg["polygonRadius"];_R62._Pa2=_Zg["maxSubSteps"];_R62._Qa2=_Zg["maxTOIContacts"];_R62._Ra2=_Zg["velocityThreshold"];_R62._Sa2=_Zg["maxLinearCorrection"];_R62._Ta2=_Zg["maxAngularCorrection"];_R62._Ua2=_Zg["maxTranslation"];_R62._Va2=_Zg["maxTranslationSquared"];_R62._Wa2=_Zg["maxRotation"];_R62._Xa2=_Zg["maxRotationSquared"];_R62._Ya2=_Zg["baumgarte"];_R62._Za2=_Zg["toiBaugarte"];_R62.__a2=_Zg["timeToSleep"];_R62._0b2=_Zg["linearSleepTolerance"];_R62._1b2=_Zg["angularSleepTolerance"];
_R62._2b2=_Zg["epsilon"];_R62._3b2=_Zg["JsonSerializer"];_R62._4b2=_Zg["RUBELoader"];_R62._5b2=_Zg["Profiler"];_R62._6b2=_Zg["ParticleDef"];_R62._7b2=_Zg["ParticleColor"];_R62._8b2=_Zg["ParticleGroupDef"];_R62._9b2=_Zg["ParticleGroup"];_R62._ab2=_Zg["ParticleSystem"];}}/*@constructor */function _bb2(_cb2){var _dL1=new _R62._j92();_cb2._cL1(_dL1);this._db2=_cb2._lC1();this._eb2=_cb2._nC1();this._fb2=[];this._gb2=[];this._fb2[0]=_cb2._bL1();this._gb2[0]=_dL1;};/*@constructor */function _hb2(_ib2,_jb2,
_kb2){this._lb2=_ib2;this._kD1=_jb2;this._lD1=_kb2;};/*@constructor */function _B31(_x31,_mb2){_F82();if(_R62===null){_R62=window["b2"];}this._441=_x31;this._nb2=_mb2;this._ob2=_w82;this._HB1=[];this._pb2=[];this._qb2=new _R62._8b2();this._PE1=null;this._lJ=false;this._rb2=[];for(var i=0;i<_x82;i++){this._rb2[i]=new _hb2(-1,0,0);}var gravity=new _R62._S62(0,10);this._DB1=new _R62._2a2(gravity);this._sb2();this._tb2();this._g61=_i7?this._ub2:this._vb2;this._h61=_i7?this._wb2:this._xb2;};_B31.prototype._pJ=function(){
this._lJ=true;};_B31.prototype._J31=function(){this._lJ=false;};_B31.prototype._sb2=function(){var _2a=document.getElementById("canvas").getContext("2d");if(_2a){this._PE1=new _R62._58();this._PE1._Vr1(_R62._58._as1|_R62._58._bs1);this._PE1._H62=this;this._PE1._0s1=_G62;this._PE1._1s1=_K62;this._PE1._2s1=_M62;this._PE1._4s1=_N62;this._PE1._5s1=_O62;this._PE1._7s1=_P62;this._PE1._g61=_T62;this._DB1._OE1(this._PE1);}};_B31.prototype._tb2=function(){var _yb2=new _R62._Y92();_yb2._zb2=this;_yb2._VD1=function(_jC1){
if(_jC1._lC1()._xD1()||_jC1._nC1()._xD1()){this._zb2._Ab2(_jC1);}};_yb2._XD1=function(_jC1,_YD1){};_yb2._WD1=function(_jC1){};_yb2._ZD1=function(_jC1,_Bb2){this._zb2._Ab2(_jC1);};this._DB1._ME1(_yb2);};_B31.prototype._Ab2=function(_cb2){for(var _x5=0;_x5<this._HB1.length;_x5++){var _Cb2=this._HB1[_x5];if((_Cb2._db2==_cb2._lC1()&&_Cb2._eb2==_cb2._nC1())||(_Cb2._db2==_cb2._nC1()&&_Cb2._eb2==_cb2._lC1())){var _dL1=new _R62._j92();_cb2._cL1(_dL1);_Cb2._fb2[_Cb2._fb2.length]=_cb2._bL1();_Cb2._gb2[_Cb2._gb2.length]=_dL1;
return;}}this._HB1[this._HB1.length]=new _bb2(_cb2);};_B31.prototype._A31=function(_xl){this._nb2=_xl;};_B31.prototype._H31=function(_fZ){this._ob2=_fZ;};_B31.prototype._z31=function(_rl){this._441=_rl;};_B31.prototype._G31=function(_E31,_F31){this._DB1._uE1.x=_E31;this._DB1._uE1.y=_F31;if((_E31!=0.0)||(_F31!=0.0)){var _Db2=this._DB1._nF1();while((_Db2!=null)&&(_Db2!=undefined)){if(_Db2._Xk1()===_R62._S92._SB1){_Db2._141(true);}_Db2=_Db2._cD1();}}};_B31.prototype._Eb2=function(){var _Zj=_x2._RN._Zj;
for(var index=0;index<_Zj.length;index++){var _5t=_Zj[index];if(_5t.path_index>=0){var physicsObject=_5t._v41;if(physicsObject!==null&&physicsObject!==undefined){var _Db2=physicsObject._J72;if(_Db2._Xk1()!==_R62._S92._SB1){if(_5t._Fb2()){_5t._R4(_Gb2,0,_5t,_5t);}_Db2._pC1(new _R62._S62(_5t.x*this._441,_5t.y*this._441),_Db2._1r1());}}else {if(_5t._Fb2()){_5t._R4(_Gb2,0,_5t,_5t);}}}}};_B31.prototype._Hb2=function(){var _Ib2=1.0/this._441;var _Db2=this._DB1._nF1();while((_Db2!=null)&&(_Db2!=undefined)){var _5t=_Db2._mu1();
if((_5t!=null)&&(_5t!=undefined)){_5t._Jb2(_Db2);var __j=_Db2._h31();_5t.phy_position_xprevious=__j.x*_Ib2;_5t.phy_position_yprevious=__j.y*_Ib2;}_Db2=_Db2._cD1();}};_B31.prototype._0f=function(_Kb2){if(_Kb2<=0){return;}this._Eb2();if(this._lJ==true){return;}this._Hb2();var _Lb2=1.0/this._nb2;var _Mb2=this._nb2/_Kb2;var _Nb2=_Mb2;while(_Nb2>0.0){var _Ob2=(_Nb2>1.0)?_Lb2:(_Lb2*_Nb2);this._DB1._3F1(_Ob2,this._ob2,this._ob2);_Nb2-=1.0;}this._DB1._7F1();this._Pb2();this._Qb2();};_B31.prototype._Pb2=function(){
var _Ib2=1.0/this._441;var _Db2=this._DB1._nF1();while((_Db2!=null)&&(_Db2!=undefined)){var _5t=_Db2._mu1();if((_5t!=null)&&(_5t!=undefined)){if(_5t.marked&&_5t._v41){this._QE1(_5t._v41);_5t._v41=null;}else {_5t._Jb2(_Db2);}}_Db2=_Db2._cD1();}};_B31.prototype._Qb2=function(){var _Ib2=1.0/this._441;for(var i=0;i<this._HB1.length;i++){if(this._HB1[i]._db2&&this._HB1[i]._eb2&&this._HB1[i]._db2._CD1()&&this._HB1[i]._eb2._CD1()){var _Rb2=this._HB1[i]._db2._CD1()._mu1();var _Sb2=this._HB1[i]._eb2._CD1()._mu1();
_Rb2.phy_collision_points=0;_Rb2.phy_collision_x=undefined;_Rb2.phy_collision_y=undefined;_Rb2.phy_col_normal_x=undefined;_Rb2.phy_col_normal_y=undefined;_Sb2.phy_collision_points=0;_Sb2.phy_collision_x=undefined;_Sb2.phy_collision_y=undefined;_Sb2.phy_col_normal_x=undefined;_Sb2.phy_col_normal_y=undefined;var _Tb2=0;for(var _Ub2=0;_Ub2<this._HB1[i]._fb2.length;_Ub2++){var _dL1=this._HB1[i]._gb2[_Ub2];for(var _35 in _dL1.points){if(!_dL1.points.hasOwnProperty(_35))continue;if(_Tb2==0){_Rb2.phy_collision_x=_dL1.points[_35].x*_Ib2;
_Rb2.phy_collision_y=_dL1.points[_35].y*_Ib2;_Sb2.phy_collision_x=_dL1.points[_35].x*_Ib2;_Sb2.phy_collision_y=_dL1.points[_35].y*_Ib2;_Rb2.phy_col_normal_x=_dL1._Ds1.x;_Rb2.phy_col_normal_y=_dL1._Ds1.y;_Sb2.phy_col_normal_x=_dL1._Ds1.x;_Sb2.phy_col_normal_y=_dL1._Ds1.y;}_Rb2.phy_collision_points++;_Sb2.phy_collision_points++;_Tb2++;}}if(!_Rb2.marked&&!_Sb2.marked){_Rb2._R4(_Vb2,_Sb2.object_index,_Rb2,_Sb2);_Sb2._R4(_Vb2,_Rb2.object_index,_Sb2,_Rb2);}_Rb2.phy_collision_points=0;_Rb2.phy_collision_x=undefined;
_Rb2.phy_collision_y=undefined;_Rb2.phy_col_normal_x=undefined;_Rb2.phy_col_normal_y=undefined;_Sb2.phy_collision_points=0;_Sb2.phy_collision_x=undefined;_Sb2.phy_collision_y=undefined;_Sb2.phy_col_normal_x=undefined;_Sb2.phy_col_normal_y=undefined;}}this._HB1=[];};function _Wb2(_Xb2,_Yb2){switch(_Xb2.shape._Xk1()){case _R62._372._Es1:{var _Ju1=_Xb2.shape;_Ju1._Ks1.x+=_Yb2.x;_Ju1._Ks1.y+=_Yb2.y;}break;case _R62._372._Gs1:{var _m5=_Xb2.shape;for(var i=0;i<_m5._8t1;i++){_m5._7t1[i].x+=_Yb2.x;_m5._7t1[i].y+=_Yb2.y;
}}break;case _R62._372._Hs1:{var _Ku1=_Xb2.shape;for(var i=0;i<_Ku1._8t1;i++){_Ku1._7t1[i].x+=_Yb2.x;_Ku1._7t1[i].y+=_Yb2.y;}}break;case _R62._372._Fs1:{var _lt1=_Xb2.shape;_lt1._Vs1.x+=_Yb2.x;_lt1._Vs1.y+=_Yb2.y;_lt1._Ws1.x+=_Yb2.x;_lt1._Ws1.y+=_Yb2.y;}break;default :break;}}_B31.prototype._g41=function(_Zb2,_Ls,_i41,_j41,__b2){if(__b2===undefined)__b2=true;var _0c2=-1;if(!_Zb2._272())return;var _Xb2=_Zb2._X62;if(_Xb2.shape==null){var err="No fixture shape data present for "+_Ls._1c2()._2c2()+"\n";_L3(err,
true);}else {var _3c2=this._4c2(_Ls.object_index);if(_3c2!=-1){_Xb2.filter._kD1=this._rb2[_3c2]._kD1;_Xb2.filter._lD1=this._rb2[_3c2]._lD1;}else {_Xb2.filter._kD1=0;_Xb2.filter._lD1=0;}var _5c2=(_Zb2._X62._s61>0)?_R62._S92._SB1:(_Zb2._U62?_R62._S92.__B1:_R62._S92._kB1);if(_Ls._v41!=null){var _6c2=_Ls._v41._J72;if(_6c2._9D1()==null){_6c2._UC1(_5c2);}var _Yb2=_Ls._7c2(-_Ls.image_angle*_P5/180.0,{x:_i41*this._441,y:_j41*this._441});_Wb2(_Xb2,_Yb2);var _8c2=_6c2._4C1(_Xb2);_0c2=_Ls._v41._u82(_8c2);_Yb2.x=-_Yb2.x;
_Yb2.y=-_Yb2.y;_Wb2(_Xb2,_Yb2);}else {var _9c2=new _R62._R92();_9c2.type=_5c2;_9c2.angle=-_Ls.image_angle*_P5/180.0;_9c2._nB1=_Zb2._MB1;_9c2._oB1=_Zb2._NB1;_9c2._qB1=_Zb2._V62;var _ac2;if(__b2)_ac2=_Ls._7c2(_9c2.angle,{x:_i41,y:_j41});else _ac2=_Ls._7c2(_9c2.angle,{x:0,y:0});_9c2.position.x=(_Ls.x-_ac2.x)*this._441;_9c2.position.y=(_Ls.y-_ac2.y)*this._441;_9c2._du1=_Ls;var _6c2=this._DB1._g41(_9c2);if(!__b2){_ac2=_Ls._7c2(_9c2.angle,{x:_i41*this._441,y:_j41*this._441});_Wb2(_Xb2,_ac2);_i41=0;_j41=0;}var _8c2=_6c2._4C1(_Xb2);
var physicsObject=new _G72(_6c2,_3c2,_i41,_j41);_Ls._v41=physicsObject;_Ls._Jb2(_6c2);_0c2=physicsObject._u82(_8c2);if(!__b2){_ac2.x=-_ac2.x;_ac2.y=-_ac2.y;_Wb2(_Xb2,_ac2);}this._bc2();}}return _0c2;};_B31.prototype._QE1=function(_cc2){this._DB1._QE1(_cc2._J72);};_B31.prototype._i51=function(_dc2){this._DB1._i51(_dc2._w72);};_B31.prototype._D31=function(_C31){if(this._PE1==null){return;}var _ec2=0;if(_C31&_y82){_ec2=_ec2|_R62._58._as1;}if(_C31&_z82){_ec2=_ec2|_R62._58._bs1;}if(_C31&_A82){_ec2=_ec2|_R62._58._ds1;
}if(_C31&_B82){_ec2=_ec2|_R62._58._cs1;}if(_C31&_E82){_ec2=_ec2|_R62._58._ks1;}this._PE1._Vr1(_ec2);this._DB1._8F1();};_B31.prototype._u41=function(_fc2,_gc2,_hc2,_ic2,_jc2,_kc2,_lc2){_fc2._J72._141(true);_gc2._J72._141(true);var scale=this._441;var _mc2=new _R62._S62(_hc2*scale,_ic2*scale);var _nc2=new _R62._S62(_jc2*scale,_kc2*scale);var _mT1=new _R62._wa2();_mT1._sw1(_fc2._J72,_gc2._J72,_mc2,_nc2);_mT1._2F1=_lc2;var _oc2=this._DB1._VE1(_mT1);var _pc2=new _u72(_oc2);return _pc2;};_B31.prototype._x41=function(_fc2,
_gc2,_hc2,_ic2,_jc2,_kc2,_w41,_lc2){var _0F1=_fc2._J72;var _1F1=_gc2._J72;_0F1._141(true);_1F1._141(true);var scale=this._441;var _bO1=_0F1._KC1(new _R62._S62(_hc2*scale,_ic2*scale));var _cO1=_1F1._KC1(new _R62._S62(_jc2*scale,_kc2*scale));var _mT1=new _R62._Fa2();_mT1._0F1=_0F1;_mT1._1F1=_1F1;_mT1._bO1=_bO1;_mT1._cO1=_cO1;_mT1._uS1=_w41*scale;_mT1._2F1=_lc2;var _qc2=this._DB1._VE1(_mT1);var _pc2=new _u72(_qc2);return _pc2;};_B31.prototype._G41=function(_fc2,_gc2,_rc2,_sc2,_tc2,_uc2,_vc2,_wc2,_xc2,_yc2,_lc2){
_fc2._J72._141(true);_gc2._J72._141(true);var scale=this._441;var anchor=new _R62._S62(_rc2*scale,_sc2*scale);var _mT1=new _R62._ta2();_mT1._sw1(_fc2._J72,_gc2._J72,anchor);_mT1._eO1=_tc2;_mT1._fO1=_uc2;_mT1._iO1=_vc2;_mT1._gO1=_wc2;_mT1._hO1=_xc2;_mT1._jO1=_yc2;_mT1._2F1=_lc2;var _zc2=this._DB1._VE1(_mT1);var _pc2=new _u72(_zc2);return _pc2;};_B31.prototype._M41=function(_fc2,_gc2,_rc2,_sc2,_Ac2,_Bc2,_Cc2,_Dc2,_vc2,_Ec2,_xc2,_yc2,_lc2){_fc2._J72._141(true);_gc2._J72._141(true);var scale=this._441;var anchor=new _R62._S62(_rc2*scale,
_sc2*scale);var _5u=new _R62._S62(_Ac2,_Bc2);_5u._vq1();var _mT1=new _R62._xa2();_mT1._sw1(_fc2._J72,_gc2._J72,anchor,_5u);_mT1._FP1=_Cc2*scale;_mT1._GP1=_Dc2*scale;_mT1._iO1=_vc2;_mT1._HP1=_Ec2;_mT1._hO1=_xc2;_mT1._jO1=_yc2;_mT1._2F1=_lc2;var _Fc2=this._DB1._VE1(_mT1);var _pc2=new _u72(_Fc2);return _pc2;};_B31.prototype._S41=function(_fc2,_gc2,_Gc2,_Hc2,_Ic2,_Jc2,_Kc2,_Lc2,_Mc2,_Nc2,_R41,_lc2){_fc2._J72._141(true);_gc2._J72._141(true);var scale=this._441;var _mT1=new _R62._Ea2();_mT1._sw1(_fc2._J72,_gc2._J72,
new _R62._S62(_Gc2*scale,_Hc2*scale),new _R62._S62(_Ic2*scale,_Jc2*scale),_fc2._J72._HC1(new _R62._S62(_Kc2*scale,_Lc2*scale)),_gc2._J72._HC1(new _R62._S62(_Mc2*scale,_Nc2*scale)),_R41);_mT1._2F1=_lc2;var _Oc2=this._DB1._VE1(_mT1);var _pc2=new _u72(_Oc2);return _pc2;};_B31.prototype.__41=function(_fc2,_gc2,_T41,_U41,_V41,_W41,_X41,_wc2,_Pc2,_Qc2,_Rc2,_lc2){_fc2._J72._141(true);_gc2._J72._141(true);var scale=this._441;var _mT1=new _R62._Aa2();_mT1._sw1(_fc2._J72,_gc2._J72,new _R62._S62(_T41*scale,_U41*scale),
new _R62._S62(_V41,_W41));_mT1._jO1=_X41;_mT1._gO1=_wc2;_mT1._hO1=_Pc2;_mT1._9P1=_Qc2;_mT1._aP1=_Rc2;_mT1._2F1=_lc2;var _Sc2=this._DB1._VE1(_mT1);var _pc2=new _u72(_Sc2);return _pc2;};_B31.prototype._151=function(_fc2,_gc2,_T41,_U41,_Tc2,_Qc2,_Rc2,_lc2){_fc2._J72._141(true);_gc2._J72._141(true);var scale=this._441;var _mT1=new _R62._za2();_mT1._sw1(_fc2._J72,_gc2._J72,new _R62._S62(_T41*scale,_U41*scale));_mT1._dO1=(-_Tc2*180.0)/Math.PI;_mT1._9P1=_Qc2;_mT1._aP1=_Rc2;_mT1._2F1=_lc2;var _Uc2=this._DB1._VE1(_mT1);
var _pc2=new _u72(_Uc2);return _pc2;};_B31.prototype._451=function(_fc2,_gc2,_T41,_U41,_Vc2,_Wc2,_lc2){_fc2._J72._141(true);_gc2._J72._141(true);var scale=this._441;var _mT1=new _R62._ya2();_mT1._sw1(_fc2._J72,_gc2._J72,new _R62._S62(_T41*scale,_U41*scale));_mT1._8P1=_Vc2;_mT1._bQ1=_Wc2;_mT1._2F1=_lc2;var _Xc2=this._DB1._VE1(_mT1);var _pc2=new _u72(_Xc2);return _pc2;};_B31.prototype._951=function(_fc2,_gc2,_Yc2,_Zc2,_R41){if((_Yc2._w72._dO!==_R62._sa2._TN1)&&(_Yc2._w72._dO!==_R62._sa2._UN1)&&(_Zc2._w72._dO!==_R62._sa2._TN1)&&(_Zc2._w72._dO!==_R62._sa2._UN1)){
return -1;}_fc2._J72._141(true);_gc2._J72._141(true);var _mT1=new _R62._Ba2();_mT1._0F1=_fc2._J72;_mT1._1F1=_gc2._J72;_mT1._FQ1=_Yc2._w72;_mT1._GQ1=_Zc2._w72;_mT1.ratio=_R41;var _Oc2=this._DB1._VE1(_mT1);var _pc2=new _u72(_Oc2);return _pc2;};_B31.prototype.__c2=function(_ib2){for(var _x5=0;_x5<_x82;_x5++){if(this._rb2[_x5]._lb2==_ib2){return _x5;}}return -1;};_B31.prototype._0d2=function(_ib2){var _1d2=this.__c2(_ib2);if(_1d2!=-1){return _1d2;}for(var _x5=0;_x5<_x82;_x5++){if(this._rb2[_x5]._lb2==-1){this._rb2[_x5]._lb2=_ib2;
this._rb2[_x5]._kD1=(1<<_x5);this._rb2[_x5]._lD1=0;return _x5;}}return -1;};_B31.prototype._2d2=function(_ib2,_3d2){var _4d2=_ib2;var _5d2=_m2._I4(_ib2);while((_5d2._GP>=0)&&_m2._I4(_5d2._GP)){_5d2=_m2._I4(_5d2._GP);var _6d2=_5d2._IP;var _7d2=0;for(var _8d2 in _9d2){if(!_9d2.hasOwnProperty(_8d2))continue;for(var _oL1 in _9d2[_8d2]){if(!_9d2[_8d2].hasOwnProperty(_oL1))continue;var _ad2=-1;if(_8d2==_ib2){_ad2=_oL1;}else if(_oL1==_ib2){_ad2=_8d2;}if(_ad2!=-1){_7d2++;}}}if(_7d2!==_3d2.length){break;}_4d2=_6d2;}return _4d2;
};_B31.prototype._bd2=function(_ib2){var _cd2=[];for(var _8d2 in _9d2){if(!_9d2.hasOwnProperty(_8d2))continue;for(var _oL1 in _9d2[_8d2]){if(!_9d2[_8d2].hasOwnProperty(_oL1))continue;var _ad2=-1;if(_8d2==_ib2){_ad2=_oL1;}else if(_oL1==_ib2){_ad2=_8d2;}if(_ad2!==-1){_cd2[_cd2.length]=_ad2;}}}return _cd2;};_B31.prototype._dd2=function(_Ej,_3d2){for(var _RE in _m2._ed2){if(!_m2._ed2.hasOwnProperty(_RE))continue;var _fd2=_m2._ed2[_RE];if(_fd2._GP===_Ej._IP){if(this._bd2(_fd2._IP).length!==0){_3d2[_3d2.length]=_fd2._IP;
}this._dd2(_fd2,_3d2);}}};_B31.prototype._gd2=function(_ib2){var _cd2=this._bd2(_ib2);var _4d2=_ib2;var _5d2=_m2._I4(_ib2);while((_5d2._GP>=0)&&_m2._I4(_5d2._GP)){_5d2=_m2._I4(_5d2._GP);_cd2=_cd2.concat(this._bd2(_5d2._IP));}for(var _x5=0;_x5<_cd2.length;_x5++){var _hd2=_cd2[_x5];var _RE=_m2._I4(_hd2);this._dd2(_RE,_cd2);}return _cd2;};_B31.prototype._id2=function(_ib2,_I72){var _cd2=this._gd2(_ib2);for(var _jd2=0;_jd2<_cd2.length;++_jd2){for(var _kd2=0;_kd2<_x82;++_kd2){if(this._rb2[_kd2]._lb2==_cd2[_jd2]){
this._rb2[_I72]._lD1|=this._rb2[_kd2]._kD1;this._rb2[_kd2]._lD1|=this._rb2[_I72]._kD1;}}}};_B31.prototype._4c2=function(_ib2){var _3c2=this.__c2(_ib2);if(_3c2!==-1){return _3c2;}var _cd2=this._bd2(_ib2);var _lb2=_ib2;if(_cd2.length===0){var _4d2=_ib2;var _5d2=_m2._I4(_ib2);while((_5d2._GP>=0)&&_m2._I4(_5d2._GP)){_5d2=_m2._I4(_5d2._GP);_lb2=_5d2._IP;_cd2=this._bd2(_lb2);if(_cd2.length!==0){_3c2=this.__c2(_lb2);break;}}if(_cd2.length===0){return -1;}}if(_3c2===-1){_3c2=this._0d2(_lb2);if(_3c2===-1){return -1;
}}this._id2(_ib2,_3c2);return _3c2;};_B31.prototype._bc2=function(){var _Db2=this._DB1._nF1();while((_Db2!=null)&&(_Db2!=undefined)){var _5t=_Db2._mu1();if((_5t!=null)&&(_5t!=undefined)){var _T51=_5t._v41._K72;if(_T51!=-1){var _ld2=new _R62._T92();_ld2._kD1=this._rb2[_T51]._kD1;_ld2._lD1=this._rb2[_T51]._lD1;var _N31=_Db2._9D1();while((_N31!=null)&&(_N31!=undefined)){_ld2._mD1=_N31._AD1()._mD1;_N31._yD1(_ld2);_N31=_N31._JB1;}}}_Db2=_Db2._cD1();}};_B31.prototype._K51=function(_j6,_Gp,_u4,_v4,_y4){var _md2=new _R62._K82();
_md2.Set(new _R62._S62(_u4,_v4),_y4);if((_j6._v41===null)||(_j6._v41===undefined)||(_Gp._v41===null)||(_Gp._v41===undefined)){return;}var _nd2=_j6._v41._J72;var _od2=_Gp._v41._J72;var _pd2;for(_pd2=_nd2._9D1();_pd2;_pd2=_pd2._cD1()){var _qd2;for(_qd2=_od2._9D1();_qd2;_qd2=_pd2._cD1()){if(_R62._B92(_pd2._vD1(),0,_qd2._vD1(),0,_md2,_od2._cr1())){return true;}}}return false;};_B31.prototype._U51=function(_C31,_u4,_v4,_rd2,_sd2,_7c,_y8,_z61){var _5C1=new _R62._6b2();_5C1._Sn1=_C31;_5C1.position.Set(_u4*this._441,
_v4*this._441);_5C1._H91.Set(_rd2*this._441,_sd2*this._441);_5C1.color.Set((_7c&0xff),(_7c&0xff00)>>8,(_7c&0xff0000)>>16,(_y8*255.0));_5C1._du1=_z61;return this._DB1._U51(_5C1);};_B31.prototype._V51=function(_td2){this._DB1._lG1(_td2);};_B31.prototype._661=function(_x61,_ud2,_u4,_v4,_vd2,_rd2,_sd2,_wd2,_7c,_y8,_xd2,_z61){this._qb2._Sn1=_x61;this._qb2._DH1=_ud2;this._qb2.angle=(-_vd2*_P5)/180.0;this._qb2._mB1=(_wd2*_P5)/180.0;this._qb2.position.Set(_u4*this._441,_v4*this._441);this._qb2._lB1.Set(_rd2*this._441,
_sd2*this._441);this._qb2.color.Set((_7c&0xff),(_7c&0xff00)>>8,(_7c&0xff0000)>>16,(_y8*255.0));this._qb2._561=_xd2;this._qb2._EH1=true;this._qb2._du1=_z61;};_B31.prototype._761=function(_pt){var shape=new _R62._Z62();shape._ss1=Math.abs(_pt*this._441);this._qb2.shape=shape;};_B31.prototype._861=function(_541,_641){if(_541==0.0){_541=1.0;}if(_641==0.0){_641=1.0;}var shape=new _R62.__62();shape._rt1(_541*this._441,_641*this._441);this._qb2.shape=shape;};_B31.prototype._961=function(){var shape=new _R62.__62();
this._qb2.shape=shape;};_B31.prototype._a61=function(_u4,_v4){if((this._qb2.shape!==null)&&(this._qb2.shape._dO===_R62._372._Gs1)){var shape=this._qb2.shape;if(shape._8t1<_R62._Ja2){shape._7t1[shape._8t1++]=new _R62._S62(_u4*this._441,_v4*this._441);}}};_B31.prototype._yd2=function(){for(var _x5=0;_x5<this._pb2.length;_x5++){var _E61=this._pb2[_x5];if(_E61===null||_E61===undefined){return _x5;}}var slot=this._pb2.length;return slot;};_B31.prototype._zd2=function(_Od1){if(_Od1>=0&&_Od1<this._pb2.length){
return this._pb2[_Od1];}return null;};_B31.prototype._b61=function(){if((this._qb2.shape!==null)&&(this._qb2.shape._dO===_R62._372._Gs1)){var vertices=[];var shape=this._qb2.shape;for(var _x5=0;_x5<shape._8t1;_x5++){vertices[_x5]=new _R62._S62(shape._7t1[_x5].x,shape._7t1[_x5].y);}shape.Set(vertices,shape._8t1);}var _Id1=this._DB1._oG1(this._qb2);var _mD1=this._yd2();this._pb2[_mD1]=_Id1;return _mD1;};_B31.prototype._pG1=function(_Ad2,_Bd2){var _Cd2=this._zd2(_Ad2);var _Dd2=this._zd2(_Bd2);if((_Cd2!==null)&&(_Dd2!==null)){
this._DB1._pG1(_Cd2,_Dd2);this._pb2[_Bd2]=null;}};_B31.prototype._e61=function(_Od1){var _Id1=this._zd2(_Od1);if(_Id1!==null){this._DB1._sG1(_Id1);this._pb2[_Od1]=null;}};_B31.prototype._X51=function(_u4,_v4,_pt){var shape=new _R62._Z62();shape._ss1=_pt*this._441;var _Ed2=new _R62._K82();_Ed2._kg.Set(_u4*this._441,_v4*this._441);_Ed2.q._Fq1();this._DB1._nG1(shape,_Ed2);};_B31.prototype.__51=function(_u4,_v4,_541,_641){var shape=new _R62.__62();shape._rt1(_541*this._441,_641*this._441);var _Ed2=new _R62._K82();
_Ed2._kg.Set(_u4*this._441,_v4*this._441);_Ed2.q._Fq1();this._DB1._nG1(shape,_Ed2);};_B31.prototype._161=function(_Fd2,_jd){if(_jd>_R62._Ja2){_jd=_R62._Ja2;}var points=[];for(var _x5=0;_x5<_jd;_x5++){points[_x5]=new _R62._S62(_Fd2[(_x5*2)+0]*this._441,_Fd2[(_x5*2)+1]*this._441);}var _Gd2=new _R62.__62();_Gd2.Set(points,_jd);var _Ed2=new _R62._K82();_Ed2._Fq1();this._DB1._nG1(_Gd2,_Ed2);};_B31.prototype._Hd2=function(_wk,_Id2,_Jd2,_Kd2){var _u7=this._DB1._i61();if(_Jd2<0||_Jd2>=_u7)return;if(_Kd2<_Jd2)return;
if(_Kd2>_u7)return;var _Sn1=this._DB1._tG1();var _cE1=this._DB1._uG1();var _dE1=this._DB1._vG1();var _Ld2=this._DB1._wG1();var _du1=this._DB1._xG1();var _Ca1=_wk._gN;var _Md2=1.0/this._441;for(var _x5=_Jd2;_x5<_Kd2;_x5++){if(_Id2&(1<<0)){_wk._kN(_9j,_Sn1[_x5]);}if(_Id2&(1<<1)){_wk._kN(_Nd2,_cE1[_x5].x*_Md2);_wk._kN(_Nd2,_cE1[_x5].y*_Md2);}if(_Id2&(1<<2)){_wk._kN(_Nd2,_dE1[_x5].x*_Md2);_wk._kN(_Nd2,_dE1[_x5].y*_Md2);}if(_Id2&(1<<3)){_wk._kN(_9j,(_Ld2[_x5]._l3<<24)|(_Ld2[_x5]._i3<<16)|(_Ld2[_x5]._j3<<8)|_Ld2[_x5]._k3);
}if(_Id2&(1<<4)){_wk._kN(_ij,_du1[_x5]);}}_wk._e_(_hj,_Ca1);};_B31.prototype._k61=function(_wk,_Id2){this._Hd2(_wk,_Id2,0,this._DB1._i61());};_B31.prototype._D61=function(_x3,_R22,_Id2){this._Hd2(_R22,_Id2,_x3,_x3+1);};_B31.prototype._y61=function(_x3,_x61){if(_x3>=0&&_x3<this._DB1._i61()){var _Sn1=this._DB1._tG1();_Sn1[_x3]=_x61;}};_B31.prototype._A61=function(_z61,_x61){var _u7=this._DB1._i61();var _Sn1=this._DB1._tG1();var _du1=this._DB1._xG1();for(var _x5=0;_x5<_u7;_x5++){if((_z61===0)||(_z61===_du1[_x5])){
_Sn1[_x5]=_x61;}}};_B31.prototype._B61=function(_Od1,_C31){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){_E61._B61(_C31);}};_B31.prototype._C61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){return _E61._C61();}return 0;};_B31.prototype._F61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){return _E61._i61();}return 0;};_B31.prototype._G61=function(_Od1,_R22,_Id2){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){var start=_E61._SH1();
var end=start+_E61._i61();this._Hd2(_R22,_Id2,start,end);}};_B31.prototype._H61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){return _E61._DC1();}};_B31.prototype._I61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){return _E61._EC1();}};_B31.prototype._J61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){return _E61._Tw1().x/this._441;}};_B31.prototype._K61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){
return _E61._Tw1().y/this._441;}};_B31.prototype._L61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){return _E61._uC1().x/this._441;}};_B31.prototype._M61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){return _E61._uC1().y/this._441;}};_B31.prototype._N61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){return(_E61._wC1()*180.0)/Math.PI;}};_B31.prototype._O61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){
return _E61._h31().x/this._441;}};_B31.prototype._P61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){return _E61._h31().y/this._441;}};_B31.prototype._Q61=function(_Od1){var _E61=this._zd2(_Od1);if(_E61!==null&&_E61!==undefined){var angle=_E61._1r1();return(angle*180.0)/Math.PI;}};_B31.prototype._vb2=function(_Od2,_z61,_G4,_gm){var _u7=this._DB1._i61();var _Sn1=this._DB1._tG1();var _cE1=this._DB1._uG1();var _Ld2=this._DB1._wG1();var _du1=this._DB1._xG1();var _Md2=1.0/this._441;for(var _x5=0;
_x5<_u7;_x5++){if(((_Sn1[_x5]===0)||((_Sn1[_x5]&_Od2)!==0))&&((_z61===0)||(_z61===_du1[_x5]))){var _q3=(_Ld2[_x5]._k3&0xff)|((_Ld2[_x5]._j3<<8)&0xff00)|((_Ld2[_x5]._i3<<16)&0xff0000);_G4._58(_x5,_cE1[_x5].x*_Md2,_cE1[_x5].y*_Md2,1.0,1.0,0,_q3,_Ld2[_x5]._l3/255.0);}}};_B31.prototype._xb2=function(_Od2,_z61,_G4,_gm,_gn,_hn,_y4,_7c,_y8){var _u7=this._DB1._i61();var _Sn1=this._DB1._tG1();var _cE1=this._DB1._uG1();var _du1=this._DB1._xG1();var _Md2=1.0/this._441;for(var _x5=0;_x5<_u7;_x5++){if(((_Sn1[_x5]===0)||((_Sn1[_x5]&_Od2)!==0))&&((_z61===0)||(_z61===_du1[_x5]))){
_G4._58(_x5,_cE1[_x5].x*_Md2,_cE1[_x5].y*_Md2,_gn,_hn,_y4,_7c,_y8);}}};_B31.prototype._ub2=function(_Od2,_z61,_G4,_gm){var _F3=_G4._G3[_gm%_G4._H3()];if(!_F3){return;}if(!_F3.texture.complete){return;}if(!_F3.texture._R7){_Q7(_F3);}var _u7=this._DB1._i61();var _Sn1=this._DB1._tG1();var _cE1=this._DB1._uG1();var _Ld2=this._DB1._wG1();var _du1=this._DB1._xG1();var _Md2=1.0/this._441;var _Pd2=0;for(var _x5=0;_x5<_u7;_x5++){if(((_Sn1[_x5]===0)||((_Sn1[_x5]&_Od2)!==0))&&((_z61===0)||(_z61===_du1[_x5]))){_Pd2++;
}}if(_Pd2===0){return;}var _G9=_i7._H9(_d9._I9,_F3.texture._R7,_i7._J9,_Pd2*6);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_Pd2*6;var _N9=_G9._O9;var _P9=_G9._Q9;var _R9=_G9._S9;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;var _A5=-(_G4.xOrigin-_F3.XOffset);var _B5=-(_G4.yOrigin-_F3.YOffset);var _C5=_A5+_F3.CropWidth;var _D5=_B5+_F3.CropHeight;var _Qd2=0;for(var _x5=0;_x5<_u7;_x5++){if(((_Sn1[_x5]===0)||((_Sn1[_x5]&_Od2)!==0))&&((_z61===0)||(_z61===_du1[_x5]))){
var x=_cE1[_x5].x*_Md2;var y=_cE1[_x5].y*_Md2;_N9[_T9+0]=_N9[_na+0]=_N9[_oa+0]=x+_A5;_N9[_T9+1]=_N9[_la+1]=_N9[_oa+1]=y+_B5;_N9[_la+0]=_N9[_34+0]=_N9[_ma+0]=x+_C5;_N9[_34+1]=_N9[_ma+1]=_N9[_na+1]=y+_D5;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;var _q3=(_Ld2[_x5]._k3&0xff)|((_Ld2[_x5]._j3<<8)&0xff00)|((_Ld2[_x5]._i3<<16)&0xff0000)|((_Ld2[_x5]._l3<<24)&0xff000000);_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=_P9[_na]=_P9[_oa]=_q3;_R9[_T9+0]=_R9[_na+0]=_R9[_oa+0]=_F3.x/_F3.texture.width;
_R9[_T9+1]=_R9[_la+1]=_R9[_oa+1]=_F3.y/_F3.texture.height;_R9[_la+0]=_R9[_34+0]=_R9[_ma+0]=(_F3.x+_F3.w)/_F3.texture.width;_R9[_34+1]=_R9[_ma+1]=_R9[_na+1]=(_F3.y+_F3.h)/_F3.texture.height;var _Rd2=_K9*6;_T9+=_Rd2;_la+=_Rd2;_34+=_Rd2;_ma+=_Rd2;_na+=_Rd2;_oa+=_Rd2;}}};_B31.prototype._wb2=function(_Od2,_z61,_G4,_gm,_gn,_hn,_y4,_7c,_y8){_y4=(_y4*Math.PI)/180.0;var _F3=_G4._G3[_gm%_G4._H3()];if(!_F3){return;}if(!_F3.texture.complete){return;}if(!_F3.texture._R7){_Q7(_F3);}var _u7=this._DB1._i61();var _Sn1=this._DB1._tG1();
var _cE1=this._DB1._uG1();var _du1=this._DB1._xG1();var _Md2=1.0/this._441;var _Pd2=0;for(var _x5=0;_x5<_u7;_x5++){if(((_Sn1[_x5]===0)||((_Sn1[_x5]&_Od2)!==0))&&((_z61===0)||(_z61===_du1[_x5]))){_Pd2++;}}if(_Pd2===0){return;}var _G9=_i7._H9(_d9._I9,_F3.texture._R7,_i7._J9,_Pd2*6);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_Pd2*6;var _N9=_G9._O9;var _P9=_G9._Q9;var _R9=_G9._S9;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;var _q3=_7c|(((_y8*255)&0xff)<<24);var _A5=-_gn*(_G4.xOrigin-_F3.XOffset);
var _B5=-_hn*(_G4.yOrigin-_F3.YOffset);var _C5=_A5+(_gn*_F3.CropWidth);var _D5=_B5+(_hn*_F3.CropHeight);var _Qd2=0;if(Math.abs(_y4)<0.0001){for(var _x5=0;_x5<_u7;_x5++){if(((_Sn1[_x5]===0)||((_Sn1[_x5]&_Od2)!==0))&&((_z61===0)||(_z61===_du1[_x5]))){var x=_cE1[_x5].x*_Md2;var y=_cE1[_x5].y*_Md2;_N9[_T9+0]=_N9[_na+0]=_N9[_oa+0]=x+_A5;_N9[_T9+1]=_N9[_la+1]=_N9[_oa+1]=y+_B5;_N9[_la+0]=_N9[_34+0]=_N9[_ma+0]=x+_C5;_N9[_34+1]=_N9[_ma+1]=_N9[_na+1]=y+_D5;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;
_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=_P9[_na]=_P9[_oa]=_q3;_R9[_T9+0]=_R9[_na+0]=_R9[_oa+0]=_F3.x/_F3.texture.width;_R9[_T9+1]=_R9[_la+1]=_R9[_oa+1]=_F3.y/_F3.texture.height;_R9[_la+0]=_R9[_34+0]=_R9[_ma+0]=(_F3.x+_F3.w)/_F3.texture.width;_R9[_34+1]=_R9[_ma+1]=_R9[_na+1]=(_F3.y+_F3.h)/_F3.texture.height;var _Rd2=_K9*6;_T9+=_Rd2;_la+=_Rd2;_34+=_Rd2;_ma+=_Rd2;_na+=_Rd2;_oa+=_Rd2;}}}else {var _96=Math.sin(_y4);var _a6=Math.cos(_y4);var _Sd2=_A5*_a6;var _Td2=_C5*_a6;var _Ud2=_B5*_a6;var _Vd2=_D5*_a6;var _Wd2=_A5*_96;
var _Xd2=_C5*_96;var _Yd2=_B5*_96;var _Zd2=_D5*_96;for(var _x5=0;_x5<_u7;_x5++){if(((_Sn1[_x5]===0)||((_Sn1[_x5]&_Od2)!==0))&&((_z61===0)||(_z61===_du1[_x5]))){var x=_cE1[_x5].x*_Md2;var y=_cE1[_x5].y*_Md2;_N9[_T9+0]=_N9[_oa+0]=x+_Sd2+_Yd2;_N9[_T9+1]=_N9[_oa+1]=y-_Wd2+_Ud2;_N9[_34+0]=_N9[_ma+0]=x+_Td2+_Zd2;_N9[_34+1]=_N9[_ma+1]=y-_Xd2+_Vd2;_N9[_la+1]=y-_Xd2+_Ud2;_N9[_la+0]=x+_Td2+_Yd2;_N9[_na+0]=x+_Sd2+_Zd2;_N9[_na+1]=y-_Wd2+_Vd2;_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=_P9[_na]=_P9[_oa]=_q3;_R9[_T9+0]=_R9[_na+0]=_R9[_oa+0]=_F3.x/_F3.texture.width;
_R9[_T9+1]=_R9[_la+1]=_R9[_oa+1]=_F3.y/_F3.texture.height;_R9[_la+0]=_R9[_34+0]=_R9[_ma+0]=(_F3.x+_F3.w)/_F3.texture.width;_R9[_34+1]=_R9[_ma+1]=_R9[_na+1]=(_F3.y+_F3.h)/_F3.texture.height;var _Rd2=_K9*6;_T9+=_Rd2;_la+=_Rd2;_34+=_Rd2;_ma+=_Rd2;_na+=_Rd2;_oa+=_Rd2;}}}};_B31.prototype._i61=function(){return this._DB1._i61();};_B31.prototype._l61=function(){return this._DB1._l61();};_B31.prototype._m61=function(){return this._DB1._m61()*(1.0/this._441);};_B31.prototype._n61=function(){return this._DB1._n61();
};_B31.prototype._o61=function(){return this._DB1._o61();};_B31.prototype._p61=function(){return this._DB1._p61();};_B31.prototype._q61=function(_jd){this._DB1._q61(_jd);};_B31.prototype._r61=function(_pt){this._DB1._r61(_pt*this._441);};_B31.prototype._t61=function(_P31){this._DB1._t61(_P31);};_B31.prototype._v61=function(_Y31){this._DB1._v61(_Y31);};_B31.prototype._w61=function(_rl){this._DB1._w61(_rl);};function __d2(_us){_Ie1.call(this,_0e2._1e2._2e2);Object.setPrototypeOf(this,_Ie1.prototype);
this._3e2(_us,__d2._4e2());Object.defineProperties(this,{gmlgain:{enumerable:true,get :()=>{return this._0B.gain;},set :(_mb1)=>{this._5e2(__d2._4e2().gain,_mb1);this._Wz1.forEach((_6e2)=>{const gain=_6e2.parameters.get("gain");gain.setTargetAtTime(this._0B.gain,0,_0e2._7e2);});}},gmlfactor:{enumerable:true,get :()=>{return this._0B.factor;},set :(_4Y)=>{this._5e2(__d2._4e2().factor,_4Y);this._Wz1.forEach((_6e2)=>{const factor=_6e2.parameters.get("factor");factor.value=this._0B.factor;});}},gmlresolution:{
enumerable:true,get :()=>{return this._0B.resolution;},set :(_8e2)=>{this._5e2(__d2._4e2().resolution,_8e2);this._Wz1.forEach((_6e2)=>{const resolution=_6e2.parameters.get("resolution");resolution.value=this._0B.resolution;});}},gmlmix:{enumerable:true,get :()=>{return this._0B.mix;},set :(_9e2)=>{this._5e2(__d2._4e2().mix,_9e2);this._Wz1.forEach((_6e2)=>{const mix=_6e2.parameters.get("mix");mix.setTargetAtTime(this._0B.mix,0,_0e2._7e2);});}}});}__d2._4e2=()=>({bypass:_Ie1._4e2().bypass,gain:{name:"gain",
_ae2:false,defaultValue:1.0,minValue:0.0,maxValue:Number.MAX_VALUE},factor:{name:"factor",_ae2:true,defaultValue:20,minValue:1,maxValue:100},resolution:{name:"resolution",_ae2:true,defaultValue:8,minValue:2,maxValue:16},mix:{name:"mix",_ae2:false,defaultValue:0.8,minValue:0.0,maxValue:1.0}});function _be2(_us){_Ie1.call(this,_0e2._1e2._ce2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_be2._4e2());Object.defineProperties(this,{gmlingain:{enumerable:true,get :()=>{return this._0B.ingain;
},set :(_de2)=>{this._5e2(_be2._4e2().ingain,_de2);this._Wz1.forEach((_6e2)=>{const ingain=_6e2.parameters.get("ingain");ingain.value=this._0B.ingain;});}},gmlthreshold:{enumerable:true,get :()=>{return this._0B.threshold;},set :(_Xe)=>{this._5e2(_be2._4e2().threshold,_Xe);this._Wz1.forEach((_6e2)=>{const threshold=_6e2.parameters.get("threshold");threshold.value=this._0B.threshold;});}},gmlratio:{enumerable:true,get :()=>{return this._0B.ratio;},set :(_R41)=>{this._5e2(_be2._4e2().ratio,_R41);this._Wz1.forEach((_6e2)=>{
const ratio=_6e2.parameters.get("ratio");ratio.value=this._0B.ratio;});}},gmlattack:{enumerable:true,get :()=>{return this._0B.attack;},set :(_ee2)=>{this._5e2(_be2._4e2().attack,_ee2);this._Wz1.forEach((_6e2)=>{const attack=_6e2.parameters.get("attack");attack.value=this._0B.attack;});}},gmlrelease:{enumerable:true,get :()=>{return this._0B.release;},set :(_fe2)=>{this._5e2(_be2._4e2().release,_fe2);this._Wz1.forEach((_6e2)=>{const release=_6e2.parameters.get("release");release.value=this._0B.release;});
}},gmloutgain:{enumerable:true,get :()=>{return this._0B.outgain;},set :(_ge2)=>{this._5e2(_be2._4e2().outgain,_ge2);this._Wz1.forEach((_6e2)=>{const outgain=_6e2.parameters.get("outgain");outgain.value=this._0B.outgain;});}}});}_be2._4e2=()=>({bypass:_Ie1._4e2().bypass,ingain:{name:"ingain",_ae2:false,defaultValue:1,minValue:1e-6,maxValue:Number.MAX_VALUE},threshold:{name:"threshold",_ae2:false,defaultValue:0.125,minValue:1e-3,maxValue:1},ratio:{name:"ratio",_ae2:false,defaultValue:4,minValue:1,maxValue:Number.MAX_VALUE}
,attack:{name:"attack",_ae2:false,defaultValue:0.05,minValue:1e-3,maxValue:1e-1},release:{name:"release",_ae2:false,defaultValue:0.25,minValue:1e-2,maxValue:1},outgain:{name:"outgain",_ae2:false,defaultValue:1,minValue:1e-6,maxValue:Number.MAX_VALUE}});function _he2(_us){_Ie1.call(this,_0e2._1e2._ie2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_he2._4e2());Object.defineProperties(this,{gmltime:{enumerable:true,get :()=>{return this._0B.time;},set :(_d5)=>{this._5e2(_he2._4e2().time,_d5);
this._Wz1.forEach((_6e2)=>{const time=_6e2.parameters.get("time");time.setTargetAtTime(this._0B.time,0,_0e2._7e2);});}},gmlfeedback:{enumerable:true,get :()=>{return this._0B.feedback;},set :(_je2)=>{this._5e2(_he2._4e2().feedback,_je2);this._Wz1.forEach((_6e2)=>{const feedback=_6e2.parameters.get("feedback");feedback.setTargetAtTime(this._0B.feedback,0,_0e2._7e2);});}},gmlmix:{enumerable:true,get :()=>{return this._0B.mix;},set :(_9e2)=>{this._5e2(_he2._4e2().mix,_9e2);this._Wz1.forEach((_6e2)=>{const mix=_6e2.parameters.get("mix");
mix.setTargetAtTime(this._0B.mix,0,_0e2._7e2);});}}});}_he2._4e2=()=>({bypass:_Ie1._4e2().bypass,time:{name:"time",_ae2:false,defaultValue:0.2,minValue:0.0,maxValue:5.0},feedback:{name:"feedback",_ae2:false,defaultValue:0.5,minValue:0.0,maxValue:1.0},mix:{name:"mix",_ae2:false,defaultValue:0.35,minValue:0.0,maxValue:1.0}});function _ke2(_us){_Ie1.call(this,_0e2._1e2._le2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_me2._4e2());const _ne2=(_us!==undefined);if(_ne2===false){_us={};}this.locut=new _oe2(_us.gmllocut);
this.loshelf=new _pe2(_us.gmlloshelf);this.eq1=new _me2(_us.gmleq1);this.eq2=new _me2(_us.gmleq2);this.eq3=new _me2(_us.gmleq3);this.eq4=new _me2(_us.gmleq4);this.hishelf=new _qe2(_us.gmlhishelf);this.hicut=new _re2(_us.gmlhicut);if(_us.gmllocut===undefined){this.locut.gmlcutoff=10;this.locut.gmlq=1;}if(_us.gmlloshelf===undefined){this.loshelf.gmlfreq=200;this.loshelf.gmlgain=(_ne2===true)?db_to_lin(0):db_to_lin(12)}if(_us.gmleq1===undefined){this.eq1.gmlfreq=500;this.eq1.gmlgain=(_ne2===true)?db_to_lin(0):db_to_lin(-24);
}if(_us.gmleq2===undefined){this.eq2.gmlfreq=1000;this.eq2.gmlgain=db_to_lin(0);}if(_us.gmleq3===undefined){this.eq3.gmlfreq=2000;this.eq3.gmlgain=db_to_lin(0);}if(_us.gmleq4===undefined){this.eq4.gmlfreq=3000;this.eq4.gmlgain=db_to_lin(0);}if(_us.gmlhishelf===undefined){this.hishelf.gmlfreq=5000;this.hishelf.gmlgain=(_ne2===true)?db_to_lin(0):db_to_lin(18);}if(_us.gmlhicut===undefined){this.hicut.gmlcutoff=_re2._4e2().cutoff.maxValue;this.hicut.gmlq=1;}Object.defineProperties(this,{gmllocut:{enumerable:true,
get :()=>{return this.locut;},set :(_se2)=>{}},gmlloshelf:{enumerable:true,get :()=>{return this.loshelf;},set :(_se2)=>{}},gmleq1:{enumerable:true,get :()=>{return this.eq1;},set :(_se2)=>{}},gmleq2:{enumerable:true,get :()=>{return this.eq2;},set :(_se2)=>{}},gmleq3:{enumerable:true,get :()=>{return this.eq3;},set :(_se2)=>{}},gmleq4:{enumerable:true,get :()=>{return this.eq4;},set :(_se2)=>{}},gmlhishelf:{enumerable:true,get :()=>{return this.hishelf;},set :(_se2)=>{}},gmlhicut:{enumerable:true,get :()=>{return this.hicut;
},set :(_se2)=>{}}});this._te2=function(){const _ue2=g_WebAudioContext.destination.channelCount;const _ve2=new AudioWorkletNode(g_WebAudioContext,"eq-input",{numberOfInputs:1,numberOfOutputs:2,outputChannelCount:[_ue2,_ue2],channelCount:_ue2,channelCountMode:"explicit"});const _we2=this.locut._te2();const _xe2=this.loshelf._te2();const _ye2=this.eq1._te2();const _ze2=this.eq2._te2();const _Ae2=this.eq3._te2();const _Be2=this.eq4._te2();const _Ce2=this.hishelf._te2();const _De2=this.hicut._te2();const _He1=new AudioWorkletNode(g_WebAudioContext,
"eq-output",{numberOfInputs:2,numberOfOutputs:1,outputChannelCount:[_ue2],parameterData:this._0B,channelCount:_ue2,channelCountMode:"explicit"});this._Wz1.push(_He1);_ve2.connect(_He1,1,1);_ve2.connect(_we2.input,0,0);_we2.output.connect(_xe2.input,0,0);_xe2.output.connect(_ye2.input,0,0);_ye2.output.connect(_ze2.input,0,0);_ze2.output.connect(_Ae2.input,0,0);_Ae2.output.connect(_Be2.input,0,0);_Be2.output.connect(_Ce2.input,0,0);_Ce2.output.connect(_De2.input,0,0);_De2.output.connect(_He1,0,0);
_Ee2._Wz1.push({_Fe2:new WeakRef(this),_Nk:_ve2});_Ee2._Wz1.push({_Fe2:new WeakRef(this),_Nk:_He1});const _u3={input:_ve2,output:_He1};return _u3;};}_ke2._4e2=()=>({bypass:_Ie1._4e2().bypass});function _Ge2(_us){_Ie1.call(this,_0e2._1e2._He2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_Ge2._4e2());Object.defineProperties(this,{gmlgain:{enumerable:true,get :()=>{return this._0B.gain;},set :(_mb1)=>{this._5e2(_Ge2._4e2().gain,_mb1);this._Wz1.forEach((_6e2)=>{const gain=_6e2.parameters.get("gain");
gain.value=this._0B.gain;});}}});}_Ge2._4e2=()=>({bypass:_Ie1._4e2().bypass,gain:{name:"gain",_ae2:false,defaultValue:0.5,minValue:0.0,maxValue:Number.MAX_VALUE}});function _qe2(_us){_Ie1.call(this,_0e2._1e2._Ie2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_qe2._4e2());Object.defineProperties(this,{gmlfreq:{enumerable:true,get :()=>{return this._0B.freq;},set :(_Je2)=>{this._5e2(_qe2._4e2().freq,_Je2);this._Wz1.forEach((_6e2)=>{const freq=_6e2.parameters.get("freq");freq.value=this._0B.freq;
});}},gmlq:{enumerable:true,get :()=>{return this._0B.q;},set :(_Ke2)=>{this._5e2(_qe2._4e2().q,_Ke2);this._Wz1.forEach((_6e2)=>{const q=_6e2.parameters.get("q");q.value=this._0B.q;});}},gmlgain:{enumerable:true,get :()=>{return this._0B.gain;},set :(_mb1)=>{this._5e2(_qe2._4e2().gain,_mb1);this._Wz1.forEach((_6e2)=>{const gain=_6e2.parameters.get("gain");gain.value=this._0B.gain;});}}});}_qe2._4e2=()=>({bypass:_Ie1._4e2().bypass,_Le2:{name:"freq",_ae2:false,defaultValue:5000.0,minValue:10.0,maxValue:20000.0}
,q:{name:"q",_ae2:false,defaultValue:1.0,minValue:1.0,maxValue:100.0},gain:{name:"gain",_ae2:false,defaultValue:1e-2,minValue:1e-6,maxValue:Number.MAX_VALUE},get freq(){this._Le2.maxValue=g_WebAudioContext?Math.min(g_WebAudioContext.sampleRate/2.0,this._Le2.maxValue):this._Le2.maxValue;this._Le2.defaultValue=Math.min(this._Le2.defaultValue,this._Le2.maxValue);return this._Le2;}});function _oe2(_us){_Ie1.call(this,_0e2._1e2._Me2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_oe2._4e2());
Object.defineProperties(this,{gmlcutoff:{enumerable:true,get :()=>{return this._0B.cutoff;},set :(_Ne2)=>{this._5e2(_oe2._4e2().cutoff,_Ne2);this._Wz1.forEach((_6e2)=>{const cutoff=_6e2.parameters.get("cutoff");cutoff.value=this._0B.cutoff;});}},gmlq:{enumerable:true,get :()=>{return this._0B.q;},set :(_Ke2)=>{this._5e2(_oe2._4e2().q,_Ke2);this._Wz1.forEach((_6e2)=>{const q=_6e2.parameters.get("q");q.value=this._0B.q;});}}});}_oe2._4e2=()=>({bypass:_Ie1._4e2().bypass,freq:{name:"cutoff",_ae2:false,defaultValue:1500.0,
minValue:10.0,maxValue:20000.0},q:{name:"q",_ae2:false,defaultValue:1.5,minValue:1.0,maxValue:100.0},get cutoff(){this.freq.maxValue=g_WebAudioContext?Math.min(g_WebAudioContext.sampleRate/2.0,this.freq.maxValue):this.freq.maxValue;this.freq.defaultValue=Math.min(this.freq.defaultValue,this.freq.maxValue);return this.freq;}});function _pe2(_us){_Ie1.call(this,_0e2._1e2._Oe2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_pe2._4e2());Object.defineProperties(this,{gmlfreq:{enumerable:true,
get :()=>{return this._0B.freq;},set :(_Je2)=>{this._5e2(_pe2._4e2().freq,_Je2);this._Wz1.forEach((_6e2)=>{const freq=_6e2.parameters.get("freq");freq.value=this._0B.freq;});}},gmlq:{enumerable:true,get :()=>{return this._0B.q;},set :(_Ke2)=>{this._5e2(_pe2._4e2().q,_Ke2);this._Wz1.forEach((_6e2)=>{const q=_6e2.parameters.get("q");q.value=this._0B.q;});}},gmlgain:{enumerable:true,get :()=>{return this._0B.gain;},set :(_mb1)=>{this._5e2(_pe2._4e2().gain,_mb1);this._Wz1.forEach((_6e2)=>{const gain=_6e2.parameters.get("gain");
gain.value=this._0B.gain;});}}});}_pe2._4e2=()=>({bypass:_Ie1._4e2().bypass,_Le2:{name:"freq",_ae2:false,defaultValue:500.0,minValue:10.0,maxValue:20000.0},q:{name:"q",_ae2:false,defaultValue:1.0,minValue:1.0,maxValue:100.0},gain:{name:"gain",_ae2:false,defaultValue:1e-2,minValue:1e-6,maxValue:Number.MAX_VALUE},get freq(){this._Le2.maxValue=g_WebAudioContext?Math.min(g_WebAudioContext.sampleRate/2.0,this._Le2.maxValue):this._Le2.maxValue;this._Le2.defaultValue=Math.min(this._Le2.defaultValue,this._Le2.maxValue);
return this._Le2;}});function _re2(_us){_Ie1.call(this,_0e2._1e2._Pe2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_re2._4e2());Object.defineProperties(this,{gmlcutoff:{enumerable:true,get :()=>{return this._0B.cutoff;},set :(_Ne2)=>{this._5e2(_re2._4e2().cutoff,_Ne2);this._Wz1.forEach((_6e2)=>{const cutoff=_6e2.parameters.get("cutoff");cutoff.value=this._0B.cutoff;});}},gmlq:{enumerable:true,get :()=>{return this._0B.q;},set :(_Ke2)=>{this._5e2(_re2._4e2().q,_Ke2);this._Wz1.forEach((_6e2)=>{
const q=_6e2.parameters.get("q");q.value=this._0B.q;});}}});}_re2._4e2=()=>({bypass:_Ie1._4e2().bypass,freq:{name:"cutoff",_ae2:false,defaultValue:500.0,minValue:10.0,maxValue:20000.0},q:{name:"q",_ae2:false,defaultValue:1.5,minValue:1.0,maxValue:100.0},get cutoff(){this.freq.maxValue=g_WebAudioContext?Math.min(g_WebAudioContext.sampleRate/2.0,this.freq.maxValue):this.freq.maxValue;this.freq.defaultValue=Math.min(this.freq.defaultValue,this.freq.maxValue);return this.freq;}});function _me2(_us){_Ie1.call(this,
_0e2._1e2._Qe2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_me2._4e2());Object.defineProperties(this,{gmlfreq:{enumerable:true,get :()=>{return this._0B.freq;},set :(_Je2)=>{this._5e2(_me2._4e2().freq,_Je2);this._Wz1.forEach((_6e2)=>{const freq=_6e2.parameters.get("freq");freq.value=this._0B.freq;});}},gmlq:{enumerable:true,get :()=>{return this._0B.q;},set :(_Ke2)=>{this._5e2(_me2._4e2().q,_Ke2);this._Wz1.forEach((_6e2)=>{const q=_6e2.parameters.get("q");q.value=this._0B.q;});}},gmlgain:{
enumerable:true,get :()=>{return this._0B.gain;},set :(_mb1)=>{this._5e2(_me2._4e2().gain,_mb1);this._Wz1.forEach((_6e2)=>{const gain=_6e2.parameters.get("gain");gain.value=this._0B.gain;});}}});}_me2._4e2=()=>({bypass:_Ie1._4e2().bypass,_Le2:{name:"freq",_ae2:false,defaultValue:1500.0,minValue:10.0,maxValue:20000.0},q:{name:"q",_ae2:false,defaultValue:1.0,minValue:1.0,maxValue:100.0},gain:{name:"gain",_ae2:false,defaultValue:1e-2,minValue:1e-6,maxValue:Number.MAX_VALUE},get freq(){this._Le2.maxValue=g_WebAudioContext?Math.min(g_WebAudioContext.sampleRate/2.0,
this._Le2.maxValue):this._Le2.maxValue;this._Le2.defaultValue=Math.min(this._Le2.defaultValue,this._Le2.maxValue);return this._Le2;}});function _Re2(_us){_Ie1.call(this,_0e2._1e2._Se2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_Re2._4e2());Object.defineProperties(this,{gmlsize:{enumerable:true,get :()=>{return this._0B.size;},set :(_ec)=>{this._5e2(_Re2._4e2().size,_ec);this._Wz1.forEach((_6e2)=>{const size=_6e2.parameters.get("size");size.value=this._0B.size;});}},gmldamp:{enumerable:true,
get :()=>{return this._0B.damp;},set :(_Te2)=>{this._5e2(_Re2._4e2().damp,_Te2);this._Wz1.forEach((_6e2)=>{const damp=_6e2.parameters.get("damp");damp.value=this._0B.damp;});}},gmlmix:{enumerable:true,get :()=>{return this._0B.mix;},set :(_9e2)=>{this._5e2(_Re2._4e2().mix,_9e2);this._Wz1.forEach((_6e2)=>{const mix=_6e2.parameters.get("mix");mix.setTargetAtTime(this._0B.mix,0,_0e2._7e2);});}}});}_Re2._4e2=()=>({bypass:_Ie1._4e2().bypass,size:{name:"size",_ae2:false,defaultValue:0.7,minValue:0.0,maxValue:1.0}
,damp:{name:"damp",_ae2:false,defaultValue:0.1,minValue:0.0,maxValue:1.0},mix:{name:"mix",_ae2:false,defaultValue:0.35,minValue:0.0,maxValue:1.0}});function _Ue2(_us){_Ie1.call(this,_0e2._1e2._Ve2);Object.setPrototypeOf(this,_Ie1.prototype);this._3e2(_us,_Ue2._4e2());Object.defineProperties(this,{gmlrate:{enumerable:true,get :()=>{return this._0B.rate;},set :(_We2)=>{this._5e2(_Ue2._4e2().rate,_We2);this._Wz1.forEach((_6e2)=>{const rate=_6e2.parameters.get("rate");rate.value=this._0B.rate;});}},gmlintensity:{
enumerable:true,get :()=>{return this._0B.intensity;},set :(_Xe2)=>{this._5e2(_Ue2._4e2().intensity,_Xe2);this._Wz1.forEach((_6e2)=>{const intensity=_6e2.parameters.get("intensity");intensity.setTargetAtTime(this._0B.intensity,0,_0e2._7e2);});}},gmloffset:{enumerable:true,get :()=>{return this._0B.offset;},set :(_H81)=>{this._5e2(_Ue2._4e2().offset,_H81);this._Wz1.forEach((_6e2)=>{const offset=_6e2.parameters.get("offset");offset.value=this._0B.offset;});}},gmlshape:{enumerable:true,get :()=>{return this._0B.shape;
},set :(_2o)=>{this._5e2(_Ue2._4e2().shape,_2o);this._Wz1.forEach((_6e2)=>{const shape=_6e2.parameters.get("shape");shape.value=this._0B.shape;});}}});}_Ue2._4e2=()=>({bypass:_Ie1._4e2().bypass,rate:{name:"rate",_ae2:false,defaultValue:5.0,minValue:0.0,maxValue:20.0},intensity:{name:"intensity",_ae2:false,defaultValue:1.0,minValue:0.0,maxValue:1.0},offset:{name:"offset",_ae2:false,defaultValue:0.0,minValue:0.0,maxValue:1.0},shape:{name:"shape",_ae2:true,defaultValue:0,minValue:0,maxValue:4}});function _1a1(){
this.__type="[AudioBus]";this.__yyIsGMLObject=true;this._ve2=_Ee2._Ye2(this);this._He1=_Ee2._Ze2(this);this._ve2.connect(this._He1,0,0);this._ve2.connect(this._He1,1,1);this.bypass=false;this.gain=1.0;this.effects=Array(_1a1.__e2).fill(undefined);this._Wz1=Array(_1a1.__e2).fill(undefined);this._FD1=new Proxy(this.effects,{set :(_ts,_0f2,_Zm,_1f2)=>{const _2f2=parseInt(_0f2);if(_1a1._3f2(_2f2))this._4f2(_2f2,this._5f2(_Zm));_ts[_0f2]=_Zm;}});Object.defineProperties(this,{gmlbypass:{enumerable:true,get :()=>{
return this.bypass;},set :(__a1)=>{this.bypass=yyGetBool(__a1);const bypass=this._ve2.parameters.get("bypass");bypass.value=this.bypass;}},gmlgain:{enumerable:true,get :()=>{return this.gain;},set :(_mb1)=>{this.gain=max(0.0,_mb1);const gain=this._He1.parameters.get("gain");gain.value=this.gain;}},gmleffects:{enumerable:true,get :()=>{return this._FD1;},set :(_6f2)=>{}}});}_1a1.__e2=8;_1a1.prototype._dc1=function(_wi,_7f2,_8f2){_wi.connect(this._ve2,_7f2,_8f2);};_1a1.prototype._5a1=function(_0j1,_7f2,_8f2){
this._He1.connect(_0j1,_7f2,_8f2);};_1a1.prototype._9f2=function(_af2){const _Wz1=this._Wz1.slice(_af2+1,_1a1.__e2);const _bf2=_Wz1.find((_6e2)=>_6e2!==undefined);return(_bf2!==undefined)?_bf2.input:this._He1;};_1a1.prototype._cf2=function(_af2){const _Wz1=this._Wz1.slice(0,_af2);const _df2=_Wz1.findLast((_6e2)=>_6e2!==undefined);return(_df2!==undefined)?_df2.output:this._ve2;};_1a1.prototype._4f2=function(_af2,_ef2){const _ff2=this._Wz1[_af2];if(_ff2===undefined&&_ef2===undefined)return;const _df2=this._cf2(_af2);
const _bf2=this._9f2(_af2);if(_ff2!==undefined){_df2.disconnect(_ff2);_ff2.disconnect();this.effects[_af2]._gf2(_ff2);}else {_df2.disconnect(_bf2,0,0);}if(_ef2===undefined){_df2.connect(_bf2,0,0);}else {_df2.connect(_ef2.input,0,0);_ef2.output.connect(_bf2,0,0);}this._Wz1[_af2]=_ef2;};_1a1.prototype._5f2=function(_Zm){if(_Zm instanceof _Ie1){return _Zm._te2();}if(_Zm===undefined){return _Zm;}throw new Error("Value must be Struct.AudioEffect or undefined");};_1a1._3f2=function(_zG){if(_zG>=0&&_zG<_1a1.__e2)return true;
return false;};function _0a1(){this._He1=_G91(g_WebAudioContext);this.bypass=false;this.gain=1.0;this.effects=Array(_1a1.__e2).fill(undefined);this._FD1=new Proxy(this.effects,{set :(_ts,_0f2,_Zm,_1f2)=>{const _2f2=parseInt(_0f2);if(_1a1._3f2(_2f2))_Zm=this._5f2(_Zm);_ts[_0f2]=_Zm;}});Object.defineProperties(this,{gmlbypass:{enumerable:true,get :()=>{return this.bypass;},set :(__a1)=>{this.bypass=yyGetBool(__a1);}},gmlgain:{enumerable:true,get :()=>{return this.gain;},set :(_mb1)=>{this.gain=max(0.0,_mb1);
const gain=this._He1.gain;gain.setTargetAtTime(this.gain,0,_0e2._7e2);}},gmleffects:{enumerable:true,get :()=>{return this._FD1;},set :(_6f2)=>{}}});}_0a1.prototype._dc1=function(_wi,_7f2,_8f2){_wi.connect(this._He1);};_0a1.prototype._5a1=function(_0j1,_7f2,_8f2){this._He1.connect(_0j1,_7f2,_8f2);};_0a1.prototype._5f2=function(_Zm){if(_Zm instanceof _Ie1)return _Zm;if(_Zm===undefined)return _Zm;throw new Error("Value must be Struct.AudioEffect or undefined");};function _0e2(){}_0e2._7e2=0.005;_0e2._1e2={_2e2:0,
_ie2:1,_He2:2,_Me2:3,_Pe2:4,_Se2:5,_Ve2:6,_Qe2:7,_Ie2:8,_Oe2:9,_le2:10,_ce2:11};_0e2._hf2=function(_sc){switch(_sc){case _0e2._1e2._2e2:return "bitcrusher-processor";case _0e2._1e2._ie2:return "delay-processor";case _0e2._1e2._He2:return "gain-processor";case _0e2._1e2._Me2:return "hpf2-processor";case _0e2._1e2._Pe2:return "lpf2-processor";case _0e2._1e2._Se2:return "reverb1-processor";case _0e2._1e2._Ve2:return "tremolo-processor";case _0e2._1e2._Qe2:return "peak-eq-processor";case _0e2._1e2._Ie2:return "hi-shelf-processor";
case _0e2._1e2._Oe2:return "lo-shelf-processor";case _0e2._1e2._le2:return null;case _0e2._1e2._ce2:return "compressor-processor";default :return null;}};function _Ie1(_sc){this.__type="[AudioEffect]";this.__yyIsGMLObject=true;this._Wz1=[];this.type=_sc;this._0B={};Object.defineProperties(this,{gmltype:{enumerable:true,get :()=>{return this.type;},set :(_sc)=>{throw new Error("Unable to set AudioEffect.type - property is read-only");}},gmlbypass:{enumerable:true,get :()=>{return this._0B.bypass;},set :(__a1)=>{this._5e2(_Ie1._4e2().bypass,
__a1);this._Wz1.forEach((_6e2)=>{const bypass=_6e2.parameters.get("bypass");bypass.value=this._0B.bypass;});}}});}_Ie1._Je1=function(_sc,_us){switch(_sc){case _0e2._1e2._2e2:return new __d2(_us);case _0e2._1e2._ie2:return new _he2(_us);case _0e2._1e2._He2:return new _Ge2(_us);case _0e2._1e2._Me2:return new _oe2(_us);case _0e2._1e2._Pe2:return new _re2(_us);case _0e2._1e2._Se2:return new _Re2(_us);case _0e2._1e2._Ve2:return new _Ue2(_us);case _0e2._1e2._Qe2:return new _me2(_us);case _0e2._1e2._Ie2:return new _qe2(_us);case _0e2._1e2._Oe2:return new _pe2(_us);
case _0e2._1e2._le2:return new _ke2(_us);case _0e2._1e2._ce2:return new _be2(_us);default :return null;}};_Ie1._4e2=()=>({bypass:{name:"bypass",_ae2:true,defaultValue:0,minValue:0,maxValue:1}});_Ie1.prototype._te2=function(){const _Nk=_Ee2._if2(this);this._Wz1.push(_Nk);const _u3={input:_Nk,output:_Nk};return _u3;};_Ie1.prototype._3e2=function(_us,_jf2){Object.values(_jf2).forEach(_kf2=>{const _yd=(()=>{if(_us===undefined||_us["gml"+_kf2.name]===undefined){return _kf2.defaultValue;}return _us["gml"+_kf2.name];
})();this._5e2(_kf2,_yd);});};_Ie1.prototype._5e2=function(_kf2,_F2){_F2=clamp(_F2,_kf2.minValue,_kf2.maxValue);if(_kf2._ae2===true)_F2=~~_F2;this._0B[_kf2.name]=_F2;};_Ie1.prototype._gf2=function(_6e2){const _Ba=this._Wz1.findIndex(_eg=>_eg===_6e2);if(_Ba!==-1){_Ee2._lf2(this._Wz1[_Ba]);this._Wz1.splice(_Ba,1);}};class _fc1{constructor(){if(_6a1()===false){console.error("Cannot create audio emitters until audio engine is running - check audio_system_is_initialised()");return null;}this.gainnode=_G91(g_WebAudioContext);
this._Fc1=_fc1._mf2();this._Fc1.connect(this.gainnode);this._4d1();}}_fc1._mf2=function(){if(PannerNode===undefined){return g_WebAudioContext.createPanner();}return new PannerNode(g_WebAudioContext);};_fc1.prototype._4d1=function(){this.setPosition(0.0,0.0,0.01);this._Fc1.refDistance=100.0;this._Fc1.maxDistance=100000.0;this._Fc1.rolloffFactor=1.0;this._Fc1._nf2=360.0;this._Fc1._of2=0.0;this._Fc1._pf2=0.0;this._Fc1.distanceModel=_Ac1;this._Fc1.panningModel="equalpower";this.gainnode.gain.value=1.0;
_4a1._dc1(this.gainnode);this._Ge1=_4a1;this.pitch=1.0;if(_Bc1===_191._291){this._Fc1.rolloffFactor=0.0;this._Gc1=1.0;}this.active=true;};_fc1.prototype._ic1=function(){return this._Fc1;};_fc1.prototype._yc1=function(){return this.active===true;};_fc1.prototype._Me1=function(){return this._Ge1;};_fc1.prototype._Le1=function(_Ke1){this.gainnode.disconnect();_Ke1._dc1(this.gainnode);this._Ge1=_Ke1;};_fc1.prototype._gc1=function(_5d1,_6d1,_7d1){this._Fc1.refDistance=_5d1;this._Fc1.maxDistance=_6d1;this._Fc1.rolloffFactor=_7d1;
this._Fc1.distanceModel=_Ac1;if(_Bc1===_191._291){this._Gc1=this._Fc1.rolloffFactor;this._Fc1.rolloffFactor=0.0;}};_fc1.prototype._0d1=function(){return this._Fc1.positionX.value;};_fc1.prototype._1d1=function(){return this._Fc1.positionY.value;};_fc1.prototype._2d1=function(){return this._Fc1.positionZ.value;};_fc1.prototype.setPosition=function(_u4,_v4,_5c){this._Fc1.positionX.value=_u4;this._Fc1.positionY.value=_v4;this._Fc1.positionZ.value=_5c;};var _bc1={_cc1:0,_ec1:1,_hc1:2};function _lc1(_ja1){
if(this._qf2(_ja1,"sound",this,"asset_index",true,yyGetInt32,_xa1._rf2)){this._Ia1=_Ja1(this.asset_index);if(this._Ia1!==null){this.loopStart=this._Ia1.loopStart;this.loopEnd=this._Ia1.loopEnd;}}if(this._qf2(_ja1,"emitter",this,"emitter_index",true,yyGetInt32,_xa1._rf2)){this.type=_bc1._hc1;this.emitter=_L81[this.emitter_index];}this._qf2(_ja1,"priority",this,"priority",true,yyGetReal,_xa1._sf2);this._qf2(_ja1,"loop",this,"loop",true,yyGetBool,_xa1._tf2);this._qf2(_ja1,"gain",this,"gain",true,yyGetReal,
_xa1._uf2);this.gain=Math.max(0.0,this.gain);this._qf2(_ja1,"offset",this,"offset",true,yyGetReal,_xa1._vf2);if(this.offset!==_xa1._vf2)this.offset=Math.max(0.0,this.offset);this._qf2(_ja1,"pitch",this,"pitch",true,yyGetReal,_xa1._wf2);this.pitch=Math.max(0.0,this.pitch);if(typeof _ja1.gmlposition==="object"&&this.type===undefined){this.type=_bc1._ec1;const position=(_ja1.position!==undefined)?_ja1.position:_ja1.gmlposition;this.position={};this._qf2(position,"x",this.position,"x",false,yyGetReal,
0);this._qf2(position,"y",this.position,"y",false,yyGetReal,0);this._qf2(position,"z",this.position,"z",false,yyGetReal,0);this._qf2(position,"falloff_ref",this.position,"falloff_ref",true,yyGetReal,0);this._qf2(position,"falloff_max",this.position,"falloff_max",true,yyGetReal,1);this._qf2(position,"falloff_factor",this.position,"falloff_factor",true,yyGetReal,1);}if(this.type===undefined){this.type=_bc1._cc1;}}_lc1.prototype._qf2=function(_xf2,_yf2,_zf2,_Af2,_Bf2,_Cf2,_FN){if(_xf2[_yf2]!==undefined){
_zf2[_Af2]=_Cf2(_xf2[_yf2]);return true;}if(_Bf2&&_xf2["gml"+_yf2]!==undefined){_zf2[_Af2]=_Cf2(_xf2["gml"+_yf2]);return true;}_zf2[_Af2]=_FN;return false;};_lc1.prototype._9c1=function(){if(this._Ia1==null){debug("Audio playback failed - invalid asset index: "+this.asset_index);return true;}if(!audio_group_is_loaded(this._Ia1.groupId)){debug(audio_get_name(this.asset_index)+": Audio Group "+this._Ia1.groupId+" is not loaded");return true;}if(_Nb1()===false){debug("Audio playback failed. WebAudio Context suspended (user must interact with the page before audio can be played).");
return true;}if(this.type===_bc1._hc1&&this.emitter===undefined){debug("Attempting to play sound on inactive emitter: "+this.emitter_index);return true;}return false;};function _xa1(){}_xa1._rf2=-1;_xa1._vf2=-1;_xa1._sf2=0;_xa1._tf2=false;_xa1._uf2=1;_xa1._Df2=0;_xa1._wf2=1;_xa1._ya1=function(_B91){const _Ia1=_xa1._Ef2(_B91._sa1);const _E61=_xa1._Ff2(_B91._sa1);return _B91.gain.get()*_Ia1.gain.get()*_E61.gain.get();};_xa1._Da1=function(_B91){if(_B91._ra1==_xa1._vf2){const _Ia1=_xa1._Ef2(_B91._sa1);return _Ia1.offset;
}return _B91._ra1;};_xa1._Ga1=function(_B91){const _Ia1=_xa1._Ef2(_B91._sa1);const emitter=_xa1._Gf2(_B91._la1);return _B91.pitch*_Ia1.pitch*emitter.pitch;};_xa1._Ef2=function(_jc1){const _Ia1=_Ja1(_jc1);if(_Ia1!=null){return(()=>({gain:_Ia1.gain,offset:_Ia1._aa1,pitch:_Ia1.pitch}))();}return(()=>({gain:new _8a1(_xa1._uf2),offset:_xa1._Df2,pitch:_xa1._wf2}))();};_xa1._Gf2=function(_Ec1){if(_Ec1!=null){return(()=>({gain:_Ec1.gainnode.gain.value,pitch:_Ec1.pitch}))();}return(()=>({gain:_xa1._uf2,pitch:_xa1._wf2}
))();};_xa1._Ff2=function(_Hd1){const _Ia1=_Ja1(_Hd1);if(_Ia1!=null){const _E61=_z91[_Ia1.groupId];if(_E61!==undefined){return(()=>({gain:_E61.gain,}))();}}return(()=>({gain:new _8a1(_xa1._uf2),}))();};function _Hf2(){this._Wz1=[];this._C81=setInterval(()=>this.cleanup(),5000);}_Hf2.prototype._Ye2=function(_RF){const _ue2=g_WebAudioContext.destination.channelCount;const _Nk=new AudioWorkletNode(g_WebAudioContext,"audio-bus-input",{numberOfInputs:1,numberOfOutputs:2,outputChannelCount:[_ue2,_ue2],channelCount:_ue2,
channelCountMode:"explicit"});this._Wz1.push({_Fe2:new WeakRef(_RF),_Nk:_Nk});return _Nk;};_Hf2.prototype._Ze2=function(_RF){const _ue2=g_WebAudioContext.destination.channelCount;const _Nk=new AudioWorkletNode(g_WebAudioContext,"audio-bus-output",{numberOfInputs:2,numberOfOutputs:1,outputChannelCount:[_ue2],channelCount:_ue2,channelCountMode:"explicit"});this._Wz1.push({_Fe2:new WeakRef(_RF),_Nk:_Nk});return _Nk;};_Hf2.prototype._if2=function(_RF){const _If2=_0e2._hf2(_RF.type);const _ue2=g_WebAudioContext.destination.channelCount;
const _Nk=new AudioWorkletNode(g_WebAudioContext,_If2,{numberOfInputs:1,numberOfOutputs:1,outputChannelCount:[_ue2],parameterData:_RF._0B,channelCount:_ue2,channelCountMode:"explicit"});this._Wz1.push({_Fe2:new WeakRef(_RF),_Nk:_Nk});return _Nk;};_Hf2.prototype.cleanup=function(){this._Wz1=this._Wz1.filter((_Jf2)=>{const _Fe2=_Jf2._Fe2.deref();if(_Fe2===undefined){_Jf2._Nk.port.postMessage("kill");return false;}return true;});};_Hf2.prototype._lf2=function(_6e2){const _Ba=this._Wz1.findIndex(_Jf2=>_Jf2._Nk===_6e2);
if(_Ba!==-1){this._Wz1[_Ba]._Nk.port.postMessage("kill");this._Wz1.splice(_Ba,1);}};var _Ee2=new _Hf2();_qg:var spine=(()=>{var _Kf2=Object.defineProperty;var _Lf2=(target)=>_Kf2(target,"__esModule",{value:true});var _Mf2=(target,all)=>{_Lf2(target);for(var name in all)_Kf2(target,name,{get :all[name],enumerable:true});};var _Nf2={};_Mf2(_Nf2,{_Of2:()=>_Of2,_Pf2:()=>_Pf2,_f2:()=>_f2,_Qf2:()=>_Qf2,_e2:()=>_e2,_Rf2:()=>_Rf2,_g4:()=>_g4,_Sf2:()=>_Sf2,_Tf2:()=>_Tf2,_Uf2:()=>_Uf2,_c9:()=>_c9,_Vf2:()=>_Vf2,_Wf2:()=>_Wf2,
_l8:()=>_l8,_Xf2:()=>_Xf2,_U8:()=>_U8,_m3:()=>_m3,_Yf2:()=>_Yf2,_Zf2:()=>_Zf2,__f2:()=>__f2,_0g2:()=>_0g2,_1g2:()=>_1g2,_2g2:()=>_2g2,_3g2:()=>_3g2,_4g2:()=>_4g2,Event:()=>Event,_5g2:()=>_5g2,_6g2:()=>_6g2,_O6:()=>_O6,_7g2:()=>_7g2,_8g2:()=>_8g2,_9g2:()=>_9g2,_ag2:()=>_ag2,_bg2:()=>_bg2,_cg2:()=>_cg2,_dg2:()=>_dg2,_eg2:()=>_eg2,_fg2:()=>_fg2,_gg2:()=>_gg2,_hg2:()=>_hg2,_ig2:()=>_ig2,_jg2:()=>_jg2,_j8:()=>_j8,_kg2:()=>_kg2,_lg2:()=>_lg2,_mg2:()=>_mg2,_ng2:()=>_ng2,_og2:()=>_og2,_pg2:()=>_pg2,_qg2:()=>_qg2,
_rg2:()=>_rg2,_sg2:()=>_sg2,_tg2:()=>_tg2,_ug2:()=>_ug2,_vg2:()=>_vg2,_wg2:()=>_wg2,_xg2:()=>_xg2,_yg2:()=>_yg2,_zg2:()=>_zg2,_Ag2:()=>_Ag2,_h8:()=>_h8,_Bg2:()=>_Bg2,_Cg2:()=>_Cg2,_Dg2:()=>_Dg2,_Eg2:()=>_Eg2,_Fg2:()=>_Fg2,_Gg2:()=>_Gg2,_Hg2:()=>_Hg2,_Ig2:()=>_Ig2,_Jg2:()=>_Jg2,_Kg2:()=>_Kg2,_d2:()=>_d2,_Lg2:()=>_Lg2,_s2:()=>_s2,_V8:()=>_V8,_Mg2:()=>_Mg2,_V7:()=>_V7,_z6:()=>_z6,_Ng2:()=>_Ng2,_Og2:()=>_Og2,_Pg2:()=>_Pg2,_Qg2:()=>_Qg2,_Rg2:()=>_Rg2,_Sg2:()=>_Sg2,_ej1:()=>_ej1,_c4:()=>_c4,_N3:()=>_N3,
__3:()=>__3,_Q3:()=>_Q3,_Tg2:()=>_Tg2,_T3:()=>_T3,_Ug2:()=>_Ug2,_Vg2:()=>_Vg2,_Wg2:()=>_Wg2,_Xg2:()=>_Xg2,_Yg2:()=>_Yg2,_Zg2:()=>_Zg2,__g2:()=>__g2,_0h2:()=>_0h2,_1h2:()=>_1h2,_2h2:()=>_2h2,_3h2:()=>_3h2,_4h2:()=>_4h2,_5h2:()=>_5h2,_6h2:()=>_6h2,_7h2:()=>_7h2});var _gg2=class {constructor(){this._La=new Array();}add(value){let _8h2=this._8h2(value);this._La[value|0]=value|0;return !_8h2;}_8h2(value){return this._La[value|0]!=void 0;}remove(value){this._La[value|0]=void 0;}clear(){this._La.length=0;}};var _Rg2=class {
constructor(){this._9h2={};this.size=0;}add(value){let _8h2=this._9h2[value];this._9h2[value]=true;if(!_8h2){this.size++;return true;}return false;}_ah2(values){let _bh2=this.size;for(var i=0,_x5=values.length;i<_x5;i++)this.add(values[i]);return _bh2!=this.size;}_8h2(value){return this._9h2[value];}clear(){this._9h2={};this.size=0;}};var _ch2=class {constructor(_i3=0,_j3=0,_k3=0,_l3=0){this._i3=_i3;this._j3=_j3;this._k3=_k3;this._l3=_l3;}set(_i3,_j3,_k3,_l3){this._i3=_i3;this._j3=_j3;this._k3=_k3;this._l3=_l3;
return this.clamp();}_m4(c){this._i3=c._i3;this._j3=c._j3;this._k3=c._k3;this._l3=c._l3;return this;}_dh2(_eh2){_eh2=_eh2.charAt(0)=="#"?_eh2.substr(1):_eh2;this._i3=parseInt(_eh2.substr(0,2),16)/255;this._j3=parseInt(_eh2.substr(2,2),16)/255;this._k3=parseInt(_eh2.substr(4,2),16)/255;this._l3=_eh2.length!=8?1:parseInt(_eh2.substr(6,2),16)/255;return this;}add(_i3,_j3,_k3,_l3){this._i3+=_i3;this._j3+=_j3;this._k3+=_k3;this._l3+=_l3;return this.clamp();}clamp(){if(this._i3<0)this._i3=0;else if(this._i3>1)this._i3=1;
if(this._j3<0)this._j3=0;else if(this._j3>1)this._j3=1;if(this._k3<0)this._k3=0;else if(this._k3>1)this._k3=1;if(this._l3<0)this._l3=0;else if(this._l3>1)this._l3=1;return this;}static _fh2(color,value){color._i3=((value&4278190080)>>>24)/255;color._j3=((value&16711680)>>>16)/255;color._k3=((value&65280)>>>8)/255;color._l3=(value&255)/255;}static _gh2(color,value){color._i3=((value&16711680)>>>16)/255;color._j3=((value&65280)>>>8)/255;color._k3=(value&255)/255;}static _i52(_eh2){return new _ch2()._dh2(_eh2);
}};var _m3=_ch2;_m3._hh2=new _ch2(1,1,1,1);_m3.RED=new _ch2(1,0,0,1);_m3._ih2=new _ch2(0,1,0,1);_m3._jh2=new _ch2(0,0,1,1);_m3._kh2=new _ch2(1,0,1,1);var _lh2=class {static clamp(value,min,max){if(value<min)return min;if(value>max)return max;return value;}static _mh2(_84){return Math.cos(_84*_lh2._nh2);}static _oh2(_84){return Math.sin(_84*_lh2._nh2);}static _ph2(value){return value>0?1:value<0?-1:0;}static _r52(x){return x>0?Math.floor(x):Math.ceil(x);}static _qh2(x){let y=Math.pow(Math.abs(x),1/3);return x<0?-y:y;}static _rh2(min,
max){return _lh2._sh2(min,max,(min+max)*0.5);}static _sh2(min,max,mode){let _04=Math.random();let _Fl=max-min;if(_04<=(mode-min)/_Fl)return min+Math.sqrt(_04*_Fl*(mode-min));return max-Math.sqrt((1-_04)*_Fl*(max-mode));}static _HX1(value){return value&&(value&value-1)===0;}};var _jg2=_lh2;_jg2.PI=3.1415927;_jg2._th2=_lh2.PI*2;_jg2._uh2=180/_lh2.PI;_jg2._vh2=_lh2._uh2;_jg2._wh2=_lh2.PI/180;_jg2._nh2=_lh2._wh2;var _hg2=class {apply(start,end,_l3){return start+(end-start)*this._xh2(_l3);}};var _vg2=class  extends _hg2{
constructor(power){super();this.power=2;this.power=power;}_xh2(_l3){if(_l3<=0.5)return Math.pow(_l3*2,this.power)/2;return Math.pow((_l3-1)*2,this.power)/(this.power%2==0?-2:2)+1;}};var _wg2=class  extends _vg2{constructor(power){super(power);}_xh2(_l3){return Math.pow(_l3-1,this.power)*(this.power%2==0?-1:1)+1;}};var _yh2=class {static _zh2(source,_Ah2,_f9,_Bh2,_Ch2){for(let i=_Ah2,_35=_Bh2;i<_Ah2+_Ch2;i++,_35++){_f9[_35]=source[i];}}static _Dh2(_La,_Eh2,_Fh2,value){for(let i=_Eh2;i<_Fh2;i++)_La[i]=value;}static _Gh2(_La,
size,value=0){let _bh2=_La.length;if(_bh2==size)return _La;_La.length=size;if(_bh2<size){for(let i=_bh2;i<size;i++)_La[i]=value;}return _La;}static _Hh2(_La,size,value=0){if(_La.length>=size)return _La;return _yh2._Gh2(_La,size,value);}static _Ih2(size,defaultValue){let _La=new Array(size);for(let i=0;i<size;i++)_La[i]=defaultValue;return _La;}static _Jh2(size){if(_yh2._Kh2)return new Float32Array(size);else {let _La=new Array(size);for(let i=0;i<_La.length;i++)_La[i]=0;return _La;}}static _Lh2(size){if(_yh2._Kh2)return new Int16Array(size);
else {let _La=new Array(size);for(let i=0;i<_La.length;i++)_La[i]=0;return _La;}}static _Mh2(_La){return _yh2._Kh2?new Float32Array(_La):_La;}static _Nh2(value){return _yh2._Kh2?Math._Oh2(value):value;}static _Ph2(alpha,_zQ){}static _8h2(_La,_wc,identity=true){for(var i=0;i<_La.length;i++)if(_La[i]==_wc)return true;return false;}static _Qh2(type,name){return type[name[0].toUpperCase()+name.slice(1)];}};var _4h2=_yh2;_4h2._Kh2=typeof Float32Array!=="undefined";var _1g2=class {static _Rh2(skeleton){for(let i=0;i<skeleton.bones.length;
i++){let bone=skeleton.bones[i];console.log(bone.data.name+", "+bone._l3+", "+bone._k3+", "+bone.c+", "+bone._Fl+", "+bone._l6+", "+bone._m6);}}};var _tg2=class {constructor(_Sh2){this._Th2=new Array();this._Sh2=_Sh2;}_Uh2(){return this._Th2.length>0?this._Th2.pop():this._Sh2();}_Vh2(_nk){if(_nk._4d1)_nk._4d1();this._Th2.push(_nk);}_Wh2(_Th2){for(let i=0;i<_Th2.length;i++)this._Vh2(_Th2[i]);}clear(){this._Th2.length=0;}};var _5h2=class {constructor(x=0,y=0){this.x=x;this.y=y;}set(x,y){this.x=x;this.y=y;
return this;}length(){let x=this.x;let y=this.y;return Math.sqrt(x*x+y*y);}_Xh2(){let _1i=this.length();if(_1i!=0){this.x/=_1i;this.y/=_1i;}return this;}};var _Ug2=class {constructor(){this._Yh2=0.064;this._Zh2=0;this._uh=0;this._mp1=0;this.__h2=Date.now()/1e3;this._J4=0;this._0i2=0;}_Q4(){let now=Date.now()/1e3;this._uh=now-this.__h2;this._0i2+=this._uh;this._mp1+=this._uh;if(this._uh>this._Yh2)this._uh=this._Yh2;this.__h2=now;this._J4++;if(this._0i2>1){this._Zh2=this._J4/this._0i2;this._0i2=0;this._J4=0;
}}};var _7h2=class {constructor(_1i2=32){this._2i2=0;this._Id=0;this.mean=0;this._gg1=true;this.values=new Array(_1i2);}_3i2(){return this._2i2>=this.values.length;}_4i2(value){if(this._2i2<this.values.length)this._2i2++;this.values[this._Id++]=value;if(this._Id>this.values.length-1)this._Id=0;this._gg1=true;}_5i2(){if(this._3i2()){if(this._gg1){let mean=0;for(let i=0;i<this.values.length;i++)mean+=this.values[i];this.mean=mean/this.values.length;this._gg1=false;}return this.mean;}return 0;}};var _Sf2=class {
constructor(name){if(!name)throw new Error("name cannot be null.");this.name=name;}};var _6i2=class  extends _Sf2{constructor(name){super(name);this.id=_6i2._7i2++;this._T8=0;this._8i2=this;}_N8(slot,start,_u7,_9i2,offset,_K9){_u7=offset+(_u7>>1)*_K9;let skeleton=slot.bone.skeleton;let _ai2=slot.deform;let vertices=this.vertices;let bones=this.bones;if(!bones){if(_ai2.length>0)vertices=_ai2;let bone=slot.bone;let x=bone._l6;let y=bone._m6;let _l3=bone._l3,_k3=bone._k3,c=bone.c,_Fl=bone._Fl;for(let _34=start,w=offset;
w<_u7;_34+=2,w+=_K9){let _U9=vertices[_34],_V9=vertices[_34+1];_9i2[w]=_U9*_l3+_V9*_k3+x;_9i2[w+1]=_U9*c+_V9*_Fl+y;}return;}let _14=0,_bi2=0;for(let i=0;i<start;i+=2){let _x5=bones[_14];_14+=_x5+1;_bi2+=_x5;}let _ci2=skeleton.bones;if(_ai2.length==0){for(let w=offset,_k3=_bi2*3;w<_u7;w+=_K9){let _di2=0,_ei2=0;let _x5=bones[_14++];_x5+=_14;for(;_14<_x5;_14++,_k3+=3){let bone=_ci2[bones[_14]];let _U9=vertices[_k3],_V9=vertices[_k3+1],__H1=vertices[_k3+2];_di2+=(_U9*bone._l3+_V9*bone._k3+bone._l6)*__H1;_ei2+=(_U9*bone.c+_V9*bone._Fl+bone._m6)*__H1;
}_9i2[w]=_di2;_9i2[w+1]=_ei2;}}else {let deform=_ai2;for(let w=offset,_k3=_bi2*3,_IC=_bi2<<1;w<_u7;w+=_K9){let _di2=0,_ei2=0;let _x5=bones[_14++];_x5+=_14;for(;_14<_x5;_14++,_k3+=3,_IC+=2){let bone=_ci2[bones[_14]];let _U9=vertices[_k3]+deform[_IC],_V9=vertices[_k3+1]+deform[_IC+1],__H1=vertices[_k3+2];_di2+=(_U9*bone._l3+_V9*bone._k3+bone._l6)*__H1;_ei2+=(_U9*bone.c+_V9*bone._Fl+bone._m6)*__H1;}_9i2[w]=_di2;_9i2[w+1]=_ei2;}}}_fi2(attachment){if(this.bones){attachment.bones=new Array(this.bones.length);
_4h2._zh2(this.bones,0,attachment.bones,0,this.bones.length);}else attachment.bones=null;if(this.vertices){attachment.vertices=_4h2._Jh2(this.vertices.length);_4h2._zh2(this.vertices,0,attachment.vertices,0,this.vertices.length);}else attachment.vertices=null;attachment._T8=this._T8;attachment._8i2=this._8i2;}};var _6h2=_6i2;_6h2._7i2=0;var _Pf2=class {constructor(name,_N4,duration){if(!name)throw new Error("name cannot be null.");this.name=name;this._gi2(_N4);this.duration=duration;}_gi2(_N4){if(!_N4)throw new Error("timelines cannot be null.");
this._N4=_N4;this._hi2=new _Rg2();for(var i=0;i<_N4.length;i++)this._hi2._ah2(_N4[i]._ii2());}_ji2(ids){for(let i=0;i<ids.length;i++)if(this._hi2._8h2(ids[i]))return true;return false;}apply(skeleton,__h2,time,loop,events,alpha,_zQ,direction){if(!skeleton)throw new Error("skeleton cannot be null.");if(loop&&this.duration!=0){time%=this.duration;if(__h2>0)__h2%=this.duration;}let _N4=this._N4;for(let i=0,_x5=_N4.length;i<_x5;i++)_N4[i].apply(skeleton,__h2,time,events,alpha,_zQ,direction);}};var _kg2;(function(_ki2){
_ki2[_ki2["setup"]=0]="setup";_ki2[_ki2["first"]=1]="first";_ki2[_ki2["replace"]=2]="replace";_ki2[_ki2["add"]=3]="add";})(_kg2||(_kg2={}));var _lg2;(function(_li2){_li2[_li2["mixIn"]=0]="mixIn";_li2[_li2["mixOut"]=1]="mixOut";})(_lg2||(_lg2={}));var _mi2={rotate:0,x:1,y:2,scaleX:3,scaleY:4,shearX:5,shearY:6,rgb:7,alpha:8,rgb2:9,attachment:10,deform:11,event:12,drawOrder:13,ikConstraint:14,transformConstraint:15,pathConstraintPosition:16,pathConstraintSpacing:17,pathConstraintMix:18};var _Vg2=class {
constructor(_J4,_ni2){this._ni2=_ni2;this.frames=_4h2._Jh2(_J4*this._oi2());}_ii2(){return this._ni2;}_oi2(){return 1;}_pi2(){return this.frames.length/this._oi2();}_qi2(){return this.frames[this.frames.length-this._oi2()];}static _ri2(frames,time){let _x5=frames.length;for(let i=1;i<_x5;i++)if(frames[i]>time)return i-1;return _x5-1;}static search(frames,time,step){let _x5=frames.length;for(let i=step;i<_x5;i+=step)if(frames[i]>time)return i-step;return _x5-step;}};var _Zf2=class  extends _Vg2{constructor(_J4,_si2,
_ni2){super(_J4,_ni2);this._ti2=_4h2._Jh2(_J4+_si2*18);this._ti2[_J4-1]=1;}_ui2(frame){this._ti2[frame]=0;}_vi2(frame){this._ti2[frame]=1;}_wi2(_si2){let size=this._pi2()+_si2*18;if(this._ti2.length>size){let _xi2=_4h2._Jh2(size);_4h2._zh2(this._ti2,0,_xi2,0,size);this._ti2=_xi2;}}_yi2(_zi2,frame,value,_5D,_Ai2,_Bi2,_Ci2,_Di2,_Ei2,_6D,_Fi2){let _ti2=this._ti2;let i=this._pi2()+_zi2*18;if(value==0)_ti2[frame]=2+i;let _Gi2=(_5D-_Bi2*2+_Di2)*0.03,_Hi2=(_Ai2-_Ci2*2+_Ei2)*0.03;let _Ii2=((_Bi2-_Di2)*3-_5D+_6D)*6e-3,
_Ji2=((_Ci2-_Ei2)*3-_Ai2+_Fi2)*6e-3;let _Ki2=_Gi2*2+_Ii2,_Li2=_Hi2*2+_Ji2;let _ha=(_Bi2-_5D)*0.3+_Gi2+_Ii2*0.16666667,_ia=(_Ci2-_Ai2)*0.3+_Hi2+_Ji2*0.16666667;let x=_5D+_ha,y=_Ai2+_ia;for(let _x5=i+18;i<_x5;i+=2){_ti2[i]=x;_ti2[i+1]=y;_ha+=_Ki2;_ia+=_Li2;_Ki2+=_Ii2;_Li2+=_Ji2;x+=_ha;y+=_ia;}}_Mi2(time,_K2,_Ni2,i){let _ti2=this._ti2;if(_ti2[i]>time){let _C5=this.frames[_K2],_D5=this.frames[_K2+_Ni2];return _D5+(time-_C5)/(_ti2[i]-_C5)*(_ti2[i+1]-_D5);}let _x5=i+18;for(i+=2;i<_x5;i+=2){if(_ti2[i]>=time){let _C5=_ti2[i-2],
_D5=_ti2[i-1];return _D5+(time-_C5)/(_ti2[i]-_C5)*(_ti2[i+1]-_D5);}}_K2+=this._oi2();let x=_ti2[_x5-2],y=_ti2[_x5-1];return y+(time-x)/(this.frames[_K2]-x)*(this.frames[_K2+_Ni2]-y);}};var __f2=class  extends _Zf2{constructor(_J4,_si2,_Oi2){super(_J4,_si2,[_Oi2]);}_oi2(){return 2;}_Pi2(frame,time,value){frame<<=1;this.frames[frame]=time;this.frames[frame+1]=value;}_Qi2(time){let frames=this.frames;let i=frames.length-2;for(let _4F=2;_4F<=i;_4F+=2){if(frames[_4F]>time){i=_4F-2;break;}}let _Ri2=this._ti2[i>>1];
switch(_Ri2){case 0:let _Si2=frames[i],value=frames[i+1];return value+(time-_Si2)/(frames[i+2]-_Si2)*(frames[i+2+1]-value);case 1:return frames[i+1];}return this._Mi2(time,i,1,_Ri2-2);}};var _0g2=class  extends _Zf2{constructor(_J4,_si2,_Ti2,_Ui2){super(_J4,_si2,[_Ti2,_Ui2]);}_oi2(){return 3;}_Pi2(frame,time,_Ai2,_Fi2){frame*=3;this.frames[frame]=time;this.frames[frame+1]=_Ai2;this.frames[frame+2]=_Fi2;}};var _Cg2=class  extends __f2{constructor(_J4,_si2,_Vi2){super(_J4,_si2,_mi2.rotate+"|"+_Vi2);this._Vi2=0;this._Vi2=_Vi2;
}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];if(!bone.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:bone.rotation=bone.data.rotation;return;case 1:bone.rotation+=(bone.data.rotation-bone.rotation)*alpha;}return;}let _i3=this._Qi2(time);switch(_zQ){case 0:bone.rotation=bone.data.rotation+_i3*alpha;break;case 1:case 2:_i3+=bone.data.rotation-bone.rotation;case 3:bone.rotation+=_i3*alpha;}}};var _0h2=class  extends _0g2{constructor(_J4,_si2,
_Vi2){super(_J4,_si2,_mi2.x+"|"+_Vi2,_mi2.y+"|"+_Vi2);this._Vi2=0;this._Vi2=_Vi2;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];if(!bone.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:bone.x=bone.data.x;bone.y=bone.data.y;return;case 1:bone.x+=(bone.data.x-bone.x)*alpha;bone.y+=(bone.data.y-bone.y)*alpha;}return;}let x=0,y=0;let i=_Vg2.search(frames,time,3);let _Ri2=this._ti2[i/3];switch(_Ri2){case 0:let _Si2=frames[i];x=frames[i+1];y=frames[i+2];
let _N5=(time-_Si2)/(frames[i+3]-_Si2);x+=(frames[i+3+1]-x)*_N5;y+=(frames[i+3+2]-y)*_N5;break;case 1:x=frames[i+1];y=frames[i+2];break;default :x=this._Mi2(time,i,1,_Ri2-2);y=this._Mi2(time,i,2,_Ri2+18-2);}switch(_zQ){case 0:bone.x=bone.data.x+x*alpha;bone.y=bone.data.y+y*alpha;break;case 1:case 2:bone.x+=(bone.data.x+x-bone.x)*alpha;bone.y+=(bone.data.y+y-bone.y)*alpha;break;case 3:bone.x+=x*alpha;bone.y+=y*alpha;}}};var _1h2=class  extends __f2{constructor(_J4,_si2,_Vi2){super(_J4,_si2,_mi2.x+"|"+_Vi2);
this._Vi2=0;this._Vi2=_Vi2;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];if(!bone.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:bone.x=bone.data.x;return;case 1:bone.x+=(bone.data.x-bone.x)*alpha;}return;}let x=this._Qi2(time);switch(_zQ){case 0:bone.x=bone.data.x+x*alpha;break;case 1:case 2:bone.x+=(bone.data.x+x-bone.x)*alpha;break;case 3:bone.x+=x*alpha;}}};var _2h2=class  extends __f2{constructor(_J4,_si2,_Vi2){super(_J4,_si2,_mi2.y+"|"+_Vi2);
this._Vi2=0;this._Vi2=_Vi2;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];if(!bone.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:bone.y=bone.data.y;return;case 1:bone.y+=(bone.data.y-bone.y)*alpha;}return;}let y=this._Qi2(time);switch(_zQ){case 0:bone.y=bone.data.y+y*alpha;break;case 1:case 2:bone.y+=(bone.data.y+y-bone.y)*alpha;break;case 3:bone.y+=y*alpha;}}};var _Fg2=class  extends _0g2{constructor(_J4,_si2,_Vi2){super(_J4,_si2,_mi2.scaleX+"|"+_Vi2,
_mi2.scaleY+"|"+_Vi2);this._Vi2=0;this._Vi2=_Vi2;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];if(!bone.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:bone.scaleX=bone.data.scaleX;bone.scaleY=bone.data.scaleY;return;case 1:bone.scaleX+=(bone.data.scaleX-bone.scaleX)*alpha;bone.scaleY+=(bone.data.scaleY-bone.scaleY)*alpha;}return;}let x,y;let i=_Vg2.search(frames,time,3);let _Ri2=this._ti2[i/3];switch(_Ri2){case 0:let _Si2=frames[i];x=frames[i+1];
y=frames[i+2];let _N5=(time-_Si2)/(frames[i+3]-_Si2);x+=(frames[i+3+1]-x)*_N5;y+=(frames[i+3+2]-y)*_N5;break;case 1:x=frames[i+1];y=frames[i+2];break;default :x=this._Mi2(time,i,1,_Ri2-2);y=this._Mi2(time,i,2,_Ri2+18-2);}x*=bone.data.scaleX;y*=bone.data.scaleY;if(alpha==1){if(_zQ==3){bone.scaleX+=x-bone.data.scaleX;bone.scaleY+=y-bone.data.scaleY;}else {bone.scaleX=x;bone.scaleY=y;}}else {let _gH1=0,_hH1=0;if(direction==1){switch(_zQ){case 0:_gH1=bone.data.scaleX;_hH1=bone.data.scaleY;bone.scaleX=_gH1+(Math.abs(x)*_jg2._ph2(_gH1)-_gH1)*alpha;
bone.scaleY=_hH1+(Math.abs(y)*_jg2._ph2(_hH1)-_hH1)*alpha;break;case 1:case 2:_gH1=bone.scaleX;_hH1=bone.scaleY;bone.scaleX=_gH1+(Math.abs(x)*_jg2._ph2(_gH1)-_gH1)*alpha;bone.scaleY=_hH1+(Math.abs(y)*_jg2._ph2(_hH1)-_hH1)*alpha;break;case 3:bone.scaleX=(x-bone.data.scaleX)*alpha;bone.scaleY=(y-bone.data.scaleY)*alpha;}}else {switch(_zQ){case 0:_gH1=Math.abs(bone.data.scaleX)*_jg2._ph2(x);_hH1=Math.abs(bone.data.scaleY)*_jg2._ph2(y);bone.scaleX=_gH1+(x-_gH1)*alpha;bone.scaleY=_hH1+(y-_hH1)*alpha;break;
case 1:case 2:_gH1=Math.abs(bone.scaleX)*_jg2._ph2(x);_hH1=Math.abs(bone.scaleY)*_jg2._ph2(y);bone.scaleX=_gH1+(x-_gH1)*alpha;bone.scaleY=_hH1+(y-_hH1)*alpha;break;case 3:bone.scaleX+=(x-bone.data.scaleX)*alpha;bone.scaleY+=(y-bone.data.scaleY)*alpha;}}}}};var _Gg2=class  extends __f2{constructor(_J4,_si2,_Vi2){super(_J4,_si2,_mi2.scaleX+"|"+_Vi2);this._Vi2=0;this._Vi2=_Vi2;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];if(!bone.active)return;let frames=this.frames;
if(time<frames[0]){switch(_zQ){case 0:bone.scaleX=bone.data.scaleX;return;case 1:bone.scaleX+=(bone.data.scaleX-bone.scaleX)*alpha;}return;}let x=this._Qi2(time)*bone.data.scaleX;if(alpha==1){if(_zQ==3)bone.scaleX+=x-bone.data.scaleX;else bone.scaleX=x;}else {let _gH1=0;if(direction==1){switch(_zQ){case 0:_gH1=bone.data.scaleX;bone.scaleX=_gH1+(Math.abs(x)*_jg2._ph2(_gH1)-_gH1)*alpha;break;case 1:case 2:_gH1=bone.scaleX;bone.scaleX=_gH1+(Math.abs(x)*_jg2._ph2(_gH1)-_gH1)*alpha;break;case 3:bone.scaleX=(x-bone.data.scaleX)*alpha;
}}else {switch(_zQ){case 0:_gH1=Math.abs(bone.data.scaleX)*_jg2._ph2(x);bone.scaleX=_gH1+(x-_gH1)*alpha;break;case 1:case 2:_gH1=Math.abs(bone.scaleX)*_jg2._ph2(x);bone.scaleX=_gH1+(x-_gH1)*alpha;break;case 3:bone.scaleX+=(x-bone.data.scaleX)*alpha;}}}}};var _Hg2=class  extends __f2{constructor(_J4,_si2,_Vi2){super(_J4,_si2,_mi2.scaleY+"|"+_Vi2);this._Vi2=0;this._Vi2=_Vi2;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];if(!bone.active)return;let frames=this.frames;if(time<frames[0]){
switch(_zQ){case 0:bone.scaleY=bone.data.scaleY;return;case 1:bone.scaleY+=(bone.data.scaleY-bone.scaleY)*alpha;}return;}let y=this._Qi2(time)*bone.data.scaleY;if(alpha==1){if(_zQ==3)bone.scaleY+=y-bone.data.scaleY;else bone.scaleY=y;}else {let _hH1=0;if(direction==1){switch(_zQ){case 0:_hH1=bone.data.scaleY;bone.scaleY=_hH1+(Math.abs(y)*_jg2._ph2(_hH1)-_hH1)*alpha;break;case 1:case 2:_hH1=bone.scaleY;bone.scaleY=_hH1+(Math.abs(y)*_jg2._ph2(_hH1)-_hH1)*alpha;break;case 3:bone.scaleY=(y-bone.data.scaleY)*alpha;
}}else {switch(_zQ){case 0:_hH1=Math.abs(bone.data.scaleY)*_jg2._ph2(y);bone.scaleY=_hH1+(y-_hH1)*alpha;break;case 1:case 2:_hH1=Math.abs(bone.scaleY)*_jg2._ph2(y);bone.scaleY=_hH1+(y-_hH1)*alpha;break;case 3:bone.scaleY+=(y-bone.data.scaleY)*alpha;}}}}};var _Ig2=class  extends _0g2{constructor(_J4,_si2,_Vi2){super(_J4,_si2,_mi2.shearX+"|"+_Vi2,_mi2.shearY+"|"+_Vi2);this._Vi2=0;this._Vi2=_Vi2;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];if(!bone.active)return;let frames=this.frames;
if(time<frames[0]){switch(_zQ){case 0:bone.shearX=bone.data.shearX;bone.shearY=bone.data.shearY;return;case 1:bone.shearX+=(bone.data.shearX-bone.shearX)*alpha;bone.shearY+=(bone.data.shearY-bone.shearY)*alpha;}return;}let x=0,y=0;let i=_Vg2.search(frames,time,3);let _Ri2=this._ti2[i/3];switch(_Ri2){case 0:let _Si2=frames[i];x=frames[i+1];y=frames[i+2];let _N5=(time-_Si2)/(frames[i+3]-_Si2);x+=(frames[i+3+1]-x)*_N5;y+=(frames[i+3+2]-y)*_N5;break;case 1:x=frames[i+1];y=frames[i+2];break;default :x=this._Mi2(time,
i,1,_Ri2-2);y=this._Mi2(time,i,2,_Ri2+18-2);}switch(_zQ){case 0:bone.shearX=bone.data.shearX+x*alpha;bone.shearY=bone.data.shearY+y*alpha;break;case 1:case 2:bone.shearX+=(bone.data.shearX+x-bone.shearX)*alpha;bone.shearY+=(bone.data.shearY+y-bone.shearY)*alpha;break;case 3:bone.shearX+=x*alpha;bone.shearY+=y*alpha;}}};var _Jg2=class  extends __f2{constructor(_J4,_si2,_Vi2){super(_J4,_si2,_mi2.shearX+"|"+_Vi2);this._Vi2=0;this._Vi2=_Vi2;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];
if(!bone.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:bone.shearX=bone.data.shearX;return;case 1:bone.shearX+=(bone.data.shearX-bone.shearX)*alpha;}return;}let x=this._Qi2(time);switch(_zQ){case 0:bone.shearX=bone.data.shearX+x*alpha;break;case 1:case 2:bone.shearX+=(bone.data.shearX+x-bone.shearX)*alpha;break;case 3:bone.shearX+=x*alpha;}}};var _Kg2=class  extends __f2{constructor(_J4,_si2,_Vi2){super(_J4,_si2,_mi2.shearY+"|"+_Vi2);this._Vi2=0;this._Vi2=_Vi2;}apply(skeleton,__h2,
time,events,alpha,_zQ,direction){let bone=skeleton.bones[this._Vi2];if(!bone.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:bone.shearY=bone.data.shearY;return;case 1:bone.shearY+=(bone.data.shearY-bone.shearY)*alpha;}return;}let y=this._Qi2(time);switch(_zQ){case 0:bone.shearY=bone.data.shearY+y*alpha;break;case 1:case 2:bone.shearY+=(bone.data.shearY+y-bone.shearY)*alpha;break;case 3:bone.shearY+=y*alpha;}}};var _zg2=class  extends _Zf2{constructor(_J4,_si2,_c3){super(_J4,_si2,[_mi2.rgb+"|"+_c3,
_mi2.alpha+"|"+_c3]);this._c3=0;this._c3=_c3;}_oi2(){return 5;}_Pi2(frame,time,_i3,_j3,_k3,_l3){frame*=5;this.frames[frame]=time;this.frames[frame+1]=_i3;this.frames[frame+2]=_j3;this.frames[frame+3]=_k3;this.frames[frame+4]=_l3;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let slot=skeleton.slots[this._c3];if(!slot.bone.active)return;let frames=this.frames;let color=slot.color;if(time<frames[0]){let setup=slot.data.color;switch(_zQ){case 0:color._m4(setup);return;case 1:color.add((setup._i3-color._i3)*alpha,
(setup._j3-color._j3)*alpha,(setup._k3-color._k3)*alpha,(setup._l3-color._l3)*alpha);}return;}let _i3=0,_j3=0,_k3=0,_l3=0;let i=_Vg2.search(frames,time,5);let _Ri2=this._ti2[i/5];switch(_Ri2){case 0:let _Si2=frames[i];_i3=frames[i+1];_j3=frames[i+2];_k3=frames[i+3];_l3=frames[i+4];let _N5=(time-_Si2)/(frames[i+5]-_Si2);_i3+=(frames[i+5+1]-_i3)*_N5;_j3+=(frames[i+5+2]-_j3)*_N5;_k3+=(frames[i+5+3]-_k3)*_N5;_l3+=(frames[i+5+4]-_l3)*_N5;break;case 1:_i3=frames[i+1];_j3=frames[i+2];_k3=frames[i+3];_l3=frames[i+4];
break;default :_i3=this._Mi2(time,i,1,_Ri2-2);_j3=this._Mi2(time,i,2,_Ri2+18-2);_k3=this._Mi2(time,i,3,_Ri2+18*2-2);_l3=this._Mi2(time,i,4,_Ri2+18*3-2);}if(alpha==1)color.set(_i3,_j3,_k3,_l3);else {if(_zQ==0)color._m4(slot.data.color);color.add((_i3-color._i3)*alpha,(_j3-color._j3)*alpha,(_k3-color._k3)*alpha,(_l3-color._l3)*alpha);}}};var _Ag2=class  extends _Zf2{constructor(_J4,_si2,_c3){super(_J4,_si2,[_mi2.rgb+"|"+_c3]);this._c3=0;this._c3=_c3;}_oi2(){return 4;}_Pi2(frame,time,_i3,_j3,_k3){frame<<=2;
this.frames[frame]=time;this.frames[frame+1]=_i3;this.frames[frame+2]=_j3;this.frames[frame+3]=_k3;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let slot=skeleton.slots[this._c3];if(!slot.bone.active)return;let frames=this.frames;let color=slot.color;if(time<frames[0]){let setup=slot.data.color;switch(_zQ){case 0:color._i3=setup._i3;color._j3=setup._j3;color._k3=setup._k3;return;case 1:color._i3+=(setup._i3-color._i3)*alpha;color._j3+=(setup._j3-color._j3)*alpha;color._k3+=(setup._k3-color._k3)*alpha;
}return;}let _i3=0,_j3=0,_k3=0;let i=_Vg2.search(frames,time,4);let _Ri2=this._ti2[i>>2];switch(_Ri2){case 0:let _Si2=frames[i];_i3=frames[i+1];_j3=frames[i+2];_k3=frames[i+3];let _N5=(time-_Si2)/(frames[i+4]-_Si2);_i3+=(frames[i+4+1]-_i3)*_N5;_j3+=(frames[i+4+2]-_j3)*_N5;_k3+=(frames[i+4+3]-_k3)*_N5;break;case 1:_i3=frames[i+1];_j3=frames[i+2];_k3=frames[i+3];break;default :_i3=this._Mi2(time,i,1,_Ri2-2);_j3=this._Mi2(time,i,2,_Ri2+18-2);_k3=this._Mi2(time,i,3,_Ri2+18*2-2);}if(alpha==1){color._i3=_i3;color._j3=_j3;
color._k3=_k3;}else {if(_zQ==0){let setup=slot.data.color;color._i3=setup._i3;color._j3=setup._j3;color._k3=setup._k3;}color._i3+=(_i3-color._i3)*alpha;color._j3+=(_j3-color._j3)*alpha;color._k3+=(_k3-color._k3)*alpha;}}};var _Of2=class  extends __f2{constructor(_J4,_si2,_c3){super(_J4,_si2,_mi2.alpha+"|"+_c3);this._c3=0;this._c3=_c3;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let slot=skeleton.slots[this._c3];if(!slot.bone.active)return;let color=slot.color;if(time<this.frames[0]){let setup=slot.data.color;
switch(_zQ){case 0:color._l3=setup._l3;return;case 1:color._l3+=(setup._l3-color._l3)*alpha;}return;}let _l3=this._Qi2(time);if(alpha==1)color._l3=_l3;else {if(_zQ==0)color._l3=slot.data.color._l3;color._l3+=(_l3-color._l3)*alpha;}}};var _yg2=class  extends _Zf2{constructor(_J4,_si2,_c3){super(_J4,_si2,[_mi2.rgb+"|"+_c3,_mi2.alpha+"|"+_c3,_mi2.rgb2+"|"+_c3]);this._c3=0;this._c3=_c3;}_oi2(){return 8;}_Pi2(frame,time,_i3,_j3,_k3,_l3,_1H,_3H,_Zg){frame<<=3;this.frames[frame]=time;this.frames[frame+1]=_i3;this.frames[frame+2]=_j3;
this.frames[frame+3]=_k3;this.frames[frame+4]=_l3;this.frames[frame+5]=_1H;this.frames[frame+6]=_3H;this.frames[frame+7]=_Zg;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let slot=skeleton.slots[this._c3];if(!slot.bone.active)return;let frames=this.frames;let light=slot.color,dark=slot._A9;if(time<frames[0]){let _Wi2=slot.data.color,_Xi2=slot.data._A9;switch(_zQ){case 0:light._m4(_Wi2);dark._i3=_Xi2._i3;dark._j3=_Xi2._j3;dark._k3=_Xi2._k3;return;case 1:light.add((_Wi2._i3-light._i3)*alpha,(_Wi2._j3-light._j3)*alpha,
(_Wi2._k3-light._k3)*alpha,(_Wi2._l3-light._l3)*alpha);dark._i3+=(_Xi2._i3-dark._i3)*alpha;dark._j3+=(_Xi2._j3-dark._j3)*alpha;dark._k3+=(_Xi2._k3-dark._k3)*alpha;}return;}let _i3=0,_j3=0,_k3=0,_l3=0,_1H=0,_3H=0,_Zg=0;let i=_Vg2.search(frames,time,8);let _Ri2=this._ti2[i>>3];switch(_Ri2){case 0:let _Si2=frames[i];_i3=frames[i+1];_j3=frames[i+2];_k3=frames[i+3];_l3=frames[i+4];_1H=frames[i+5];_3H=frames[i+6];_Zg=frames[i+7];let _N5=(time-_Si2)/(frames[i+8]-_Si2);_i3+=(frames[i+8+1]-_i3)*_N5;_j3+=(frames[i+8+2]-_j3)*_N5;
_k3+=(frames[i+8+3]-_k3)*_N5;_l3+=(frames[i+8+4]-_l3)*_N5;_1H+=(frames[i+8+5]-_1H)*_N5;_3H+=(frames[i+8+6]-_3H)*_N5;_Zg+=(frames[i+8+7]-_Zg)*_N5;break;case 1:_i3=frames[i+1];_j3=frames[i+2];_k3=frames[i+3];_l3=frames[i+4];_1H=frames[i+5];_3H=frames[i+6];_Zg=frames[i+7];break;default :_i3=this._Mi2(time,i,1,_Ri2-2);_j3=this._Mi2(time,i,2,_Ri2+18-2);_k3=this._Mi2(time,i,3,_Ri2+18*2-2);_l3=this._Mi2(time,i,4,_Ri2+18*3-2);_1H=this._Mi2(time,i,5,_Ri2+18*4-2);_3H=this._Mi2(time,i,6,_Ri2+18*5-2);_Zg=this._Mi2(time,
i,7,_Ri2+18*6-2);}if(alpha==1){light.set(_i3,_j3,_k3,_l3);dark._i3=_1H;dark._j3=_3H;dark._k3=_Zg;}else {if(_zQ==0){light._m4(slot.data.color);let _Xi2=slot.data._A9;dark._i3=_Xi2._i3;dark._j3=_Xi2._j3;dark._k3=_Xi2._k3;}light.add((_i3-light._i3)*alpha,(_j3-light._j3)*alpha,(_k3-light._k3)*alpha,(_l3-light._l3)*alpha);dark._i3+=(_1H-dark._i3)*alpha;dark._j3+=(_3H-dark._j3)*alpha;dark._k3+=(_Zg-dark._k3)*alpha;}}};var _xg2=class  extends _Zf2{constructor(_J4,_si2,_c3){super(_J4,_si2,[_mi2.rgb+"|"+_c3,_mi2.rgb2+"|"+_c3]);
this._c3=0;this._c3=_c3;}_oi2(){return 7;}_Pi2(frame,time,_i3,_j3,_k3,_1H,_3H,_Zg){frame*=7;this.frames[frame]=time;this.frames[frame+1]=_i3;this.frames[frame+2]=_j3;this.frames[frame+3]=_k3;this.frames[frame+4]=_1H;this.frames[frame+5]=_3H;this.frames[frame+6]=_Zg;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let slot=skeleton.slots[this._c3];if(!slot.bone.active)return;let frames=this.frames;let light=slot.color,dark=slot._A9;if(time<frames[0]){let _Wi2=slot.data.color,_Xi2=slot.data._A9;switch(_zQ){
case 0:light._i3=_Wi2._i3;light._j3=_Wi2._j3;light._k3=_Wi2._k3;dark._i3=_Xi2._i3;dark._j3=_Xi2._j3;dark._k3=_Xi2._k3;return;case 1:light._i3+=(_Wi2._i3-light._i3)*alpha;light._j3+=(_Wi2._j3-light._j3)*alpha;light._k3+=(_Wi2._k3-light._k3)*alpha;dark._i3+=(_Xi2._i3-dark._i3)*alpha;dark._j3+=(_Xi2._j3-dark._j3)*alpha;dark._k3+=(_Xi2._k3-dark._k3)*alpha;}return;}let _i3=0,_j3=0,_k3=0,_l3=0,_1H=0,_3H=0,_Zg=0;let i=_Vg2.search(frames,time,7);let _Ri2=this._ti2[i/7];switch(_Ri2){case 0:let _Si2=frames[i];_i3=frames[i+1];
_j3=frames[i+2];_k3=frames[i+3];_1H=frames[i+4];_3H=frames[i+5];_Zg=frames[i+6];let _N5=(time-_Si2)/(frames[i+7]-_Si2);_i3+=(frames[i+7+1]-_i3)*_N5;_j3+=(frames[i+7+2]-_j3)*_N5;_k3+=(frames[i+7+3]-_k3)*_N5;_1H+=(frames[i+7+4]-_1H)*_N5;_3H+=(frames[i+7+5]-_3H)*_N5;_Zg+=(frames[i+7+6]-_Zg)*_N5;break;case 1:_i3=frames[i+1];_j3=frames[i+2];_k3=frames[i+3];_1H=frames[i+4];_3H=frames[i+5];_Zg=frames[i+6];break;default :_i3=this._Mi2(time,i,1,_Ri2-2);_j3=this._Mi2(time,i,2,_Ri2+18-2);_k3=this._Mi2(time,i,
3,_Ri2+18*2-2);_1H=this._Mi2(time,i,4,_Ri2+18*3-2);_3H=this._Mi2(time,i,5,_Ri2+18*4-2);_Zg=this._Mi2(time,i,6,_Ri2+18*5-2);}if(alpha==1){light._i3=_i3;light._j3=_j3;light._k3=_k3;dark._i3=_1H;dark._j3=_3H;dark._k3=_Zg;}else {if(_zQ==0){let _Wi2=slot.data.color,_Xi2=slot.data._A9;light._i3=_Wi2._i3;light._j3=_Wi2._j3;light._k3=_Wi2._k3;dark._i3=_Xi2._i3;dark._j3=_Xi2._j3;dark._k3=_Xi2._k3;}light._i3+=(_i3-light._i3)*alpha;light._j3+=(_j3-light._j3)*alpha;light._k3+=(_k3-light._k3)*alpha;dark._i3+=(_1H-dark._i3)*alpha;
dark._j3+=(_3H-dark._j3)*alpha;dark._k3+=(_Zg-dark._k3)*alpha;}}};var _Tf2=class  extends _Vg2{constructor(_J4,_c3){super(_J4,[_mi2.attachment+"|"+_c3]);this._c3=0;this._c3=_c3;this._Ia=new Array(_J4);}_pi2(){return this.frames.length;}_Pi2(frame,time,_Ga){this.frames[frame]=time;this._Ia[frame]=_Ga;}apply(skeleton,__h2,time,events,alpha,_zQ,direction){let slot=skeleton.slots[this._c3];if(!slot.bone.active)return;if(direction==1){if(_zQ==0)this._b3(skeleton,slot,slot.data._Ga);return;}if(time<this.frames[0]){
if(_zQ==0||_zQ==1)this._b3(skeleton,slot,slot.data._Ga);return;}this._b3(skeleton,slot,this._Ia[_Vg2._ri2(this.frames,time)]);}_b3(skeleton,slot,_Ga){slot._b3(!_Ga?null:skeleton._e3(this._c3,_Ga));}};var _2g2=class  extends _Zf2{constructor(_J4,_si2,_c3,attachment){super(_J4,_si2,[_mi2.deform+"|"+_c3+"|"+attachment.id]);this._c3=0;this._c3=_c3;this.attachment=attachment;this.vertices=new Array(_J4);}_pi2(){return this.frames.length;}_Pi2(frame,time,vertices){this.frames[frame]=time;this.vertices[frame]=vertices;
}_yi2(_zi2,frame,value,_5D,_Ai2,_Bi2,_Ci2,_Di2,_Ei2,_6D,_Fi2){let _ti2=this._ti2;let i=this._pi2()+_zi2*18;if(value==0)_ti2[frame]=2+i;let _Gi2=(_5D-_Bi2*2+_Di2)*0.03,_Hi2=_Ei2*0.03-_Ci2*0.06;let _Ii2=((_Bi2-_Di2)*3-_5D+_6D)*6e-3,_Ji2=(_Ci2-_Ei2+0.33333333)*0.018;let _Ki2=_Gi2*2+_Ii2,_Li2=_Hi2*2+_Ji2;let _ha=(_Bi2-_5D)*0.3+_Gi2+_Ii2*0.16666667,_ia=_Ci2*0.3+_Hi2+_Ji2*0.16666667;let x=_5D+_ha,y=_ia;for(let _x5=i+18;i<_x5;i+=2){_ti2[i]=x;_ti2[i+1]=y;_ha+=_Ki2;_ia+=_Li2;_Ki2+=_Ii2;_Li2+=_Ji2;x+=_ha;y+=_ia;}
}_Yi2(time,frame){let _ti2=this._ti2;let i=_ti2[frame];switch(i){case 0:let _C5=this.frames[frame];return(time-_C5)/(this.frames[frame+this._oi2()]-_C5);case 1:return 0;}i-=2;if(_ti2[i]>time){let _C5=this.frames[frame];return _ti2[i+1]*(time-_C5)/(_ti2[i]-_C5);}let _x5=i+18;for(i+=2;i<_x5;i+=2){if(_ti2[i]>=time){let _C5=_ti2[i-2],_D5=_ti2[i-1];return _D5+(time-_C5)/(_ti2[i]-_C5)*(_ti2[i+1]-_D5);}}let x=_ti2[_x5-2],y=_ti2[_x5-1];return y+(1-y)*(time-x)/(this.frames[frame+this._oi2()]-x);}apply(skeleton,__h2,time,
_Zi2,alpha,_zQ,direction){let slot=skeleton.slots[this._c3];if(!slot.bone.active)return;let __i2=slot._e3();if(!(__i2 instanceof _6h2)||__i2._8i2!=this.attachment)return;let deform=slot.deform;if(deform.length==0)_zQ=0;let vertices=this.vertices;let vertexCount=vertices[0].length;let frames=this.frames;if(time<frames[0]){let _0j2=__i2;switch(_zQ){case 0:deform.length=0;return;case 1:if(alpha==1){deform.length=0;return;}deform.length=vertexCount;if(!_0j2.bones){let _1j2=_0j2.vertices;for(var i=0;i<vertexCount;
i++)deform[i]+=(_1j2[i]-deform[i])*alpha;}else {alpha=1-alpha;for(var i=0;i<vertexCount;i++)deform[i]*=alpha;}}return;}deform.length=vertexCount;if(time>=frames[frames.length-1]){let _2j2=vertices[frames.length-1];if(alpha==1){if(_zQ==3){let _0j2=__i2;if(!_0j2.bones){let _1j2=_0j2.vertices;for(let _nt1=0;_nt1<vertexCount;_nt1++)deform[_nt1]+=_2j2[_nt1]-_1j2[_nt1];}else {for(let _nt1=0;_nt1<vertexCount;_nt1++)deform[_nt1]+=_2j2[_nt1];}}else _4h2._zh2(_2j2,0,deform,0,vertexCount);}else {switch(_zQ){case 0:{let _3j2=__i2;
if(!_3j2.bones){let _1j2=_3j2.vertices;for(let _nt1=0;_nt1<vertexCount;_nt1++){let setup=_1j2[_nt1];deform[_nt1]=setup+(_2j2[_nt1]-setup)*alpha;}}else {for(let _nt1=0;_nt1<vertexCount;_nt1++)deform[_nt1]=_2j2[_nt1]*alpha;}break;}case 1:case 2:for(let _nt1=0;_nt1<vertexCount;_nt1++)deform[_nt1]+=(_2j2[_nt1]-deform[_nt1])*alpha;break;case 3:let _0j2=__i2;if(!_0j2.bones){let _1j2=_0j2.vertices;for(let _nt1=0;_nt1<vertexCount;_nt1++)deform[_nt1]+=(_2j2[_nt1]-_1j2[_nt1])*alpha;}else {for(let _nt1=0;_nt1<vertexCount;
_nt1++)deform[_nt1]+=_2j2[_nt1]*alpha;}}}return;}let frame=_Vg2._ri2(frames,time);let _4j2=this._Yi2(time,frame);let _5j2=vertices[frame];let _6j2=vertices[frame+1];if(alpha==1){if(_zQ==3){let _0j2=__i2;if(!_0j2.bones){let _1j2=_0j2.vertices;for(let _nt1=0;_nt1<vertexCount;_nt1++){let _mk=_5j2[_nt1];deform[_nt1]+=_mk+(_6j2[_nt1]-_mk)*_4j2-_1j2[_nt1];}}else {for(let _nt1=0;_nt1<vertexCount;_nt1++){let _mk=_5j2[_nt1];deform[_nt1]+=_mk+(_6j2[_nt1]-_mk)*_4j2;}}}else {for(let _nt1=0;_nt1<vertexCount;_nt1++){let _mk=_5j2[_nt1];
deform[_nt1]=_mk+(_6j2[_nt1]-_mk)*_4j2;}}}else {switch(_zQ){case 0:{let _3j2=__i2;if(!_3j2.bones){let _1j2=_3j2.vertices;for(let _nt1=0;_nt1<vertexCount;_nt1++){let _mk=_5j2[_nt1],setup=_1j2[_nt1];deform[_nt1]=setup+(_mk+(_6j2[_nt1]-_mk)*_4j2-setup)*alpha;}}else {for(let _nt1=0;_nt1<vertexCount;_nt1++){let _mk=_5j2[_nt1];deform[_nt1]=(_mk+(_6j2[_nt1]-_mk)*_4j2)*alpha;}}break;}case 1:case 2:for(let _nt1=0;_nt1<vertexCount;_nt1++){let _mk=_5j2[_nt1];deform[_nt1]+=(_mk+(_6j2[_nt1]-_mk)*_4j2-deform[_nt1])*alpha;
}break;case 3:let _0j2=__i2;if(!_0j2.bones){let _1j2=_0j2.vertices;for(let _nt1=0;_nt1<vertexCount;_nt1++){let _mk=_5j2[_nt1];deform[_nt1]+=(_mk+(_6j2[_nt1]-_mk)*_4j2-_1j2[_nt1])*alpha;}}else {for(let _nt1=0;_nt1<vertexCount;_nt1++){let _mk=_5j2[_nt1];deform[_nt1]+=(_mk+(_6j2[_nt1]-_mk)*_4j2)*alpha;}}}}}};var _7j2=class  extends _Vg2{constructor(_J4){super(_J4,_7j2._ni2);this.events=new Array(_J4);}_pi2(){return this.frames.length;}_Pi2(frame,event){this.frames[frame]=event.time;this.events[frame]=event;}apply(skeleton,
__h2,time,_Zi2,alpha,_zQ,direction){if(!_Zi2)return;let frames=this.frames;let _J4=this.frames.length;if(__h2>time){this.apply(skeleton,__h2,Number.MAX_VALUE,_Zi2,alpha,_zQ,direction);__h2=-1;}else if(__h2>=frames[_J4-1])return;if(time<frames[0])return;let i=0;if(__h2<frames[0])i=0;else {i=_Vg2._ri2(frames,__h2)+1;let _0i2=frames[i];while(i>0){if(frames[i-1]!=_0i2)break;i--;}}for(;i<_J4&&time>=frames[i];i++)_Zi2.push(this.events[i]);}};var _O6=_7j2;_O6._ni2=[""+_mi2.event];var _8j2=class  extends _Vg2{constructor(_J4){
super(_J4,_8j2._ni2);this._9j2=new Array(_J4);}_pi2(){return this.frames.length;}_Pi2(frame,time,drawOrder){this.frames[frame]=time;this._9j2[frame]=drawOrder;}apply(skeleton,__h2,time,_Zi2,alpha,_zQ,direction){if(direction==1){if(_zQ==0)_4h2._zh2(skeleton.slots,0,skeleton.drawOrder,0,skeleton.slots.length);return;}if(time<this.frames[0]){if(_zQ==0||_zQ==1)_4h2._zh2(skeleton.slots,0,skeleton.drawOrder,0,skeleton.slots.length);return;}let _aj2=this._9j2[_Vg2._ri2(this.frames,time)];if(!_aj2)_4h2._zh2(skeleton.slots,
0,skeleton.drawOrder,0,skeleton.slots.length);else {let drawOrder=skeleton.drawOrder;let slots=skeleton.slots;for(let i=0,_x5=_aj2.length;i<_x5;i++)drawOrder[i]=slots[_aj2[i]];}}};var _4g2=_8j2;_4g2._ni2=[""+_mi2.drawOrder];var _fg2=class  extends _Zf2{constructor(_J4,_si2,_bj2){super(_J4,_si2,[_mi2.ikConstraint+"|"+_bj2]);this._bj2=_bj2;}_oi2(){return 6;}_Pi2(frame,time,mix,_cj2,_dj2,compress,stretch){frame*=6;this.frames[frame]=time;this.frames[frame+1]=mix;this.frames[frame+2]=_cj2;this.frames[frame+3]=_dj2;
this.frames[frame+4]=compress?1:0;this.frames[frame+5]=stretch?1:0;}apply(skeleton,__h2,time,_Zi2,alpha,_zQ,direction){let _ej2=skeleton._fj2[this._bj2];if(!_ej2.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:_ej2.mix=_ej2.data.mix;_ej2._cj2=_ej2.data._cj2;_ej2._dj2=_ej2.data._dj2;_ej2.compress=_ej2.data.compress;_ej2.stretch=_ej2.data.stretch;return;case 1:_ej2.mix+=(_ej2.data.mix-_ej2.mix)*alpha;_ej2._cj2+=(_ej2.data._cj2-_ej2._cj2)*alpha;_ej2._dj2=_ej2.data._dj2;_ej2.compress=_ej2.data.compress;
_ej2.stretch=_ej2.data.stretch;}return;}let mix=0,_cj2=0;let i=_Vg2.search(frames,time,6);let _Ri2=this._ti2[i/6];switch(_Ri2){case 0:let _Si2=frames[i];mix=frames[i+1];_cj2=frames[i+2];let _N5=(time-_Si2)/(frames[i+6]-_Si2);mix+=(frames[i+6+1]-mix)*_N5;_cj2+=(frames[i+6+2]-_cj2)*_N5;break;case 1:mix=frames[i+1];_cj2=frames[i+2];break;default :mix=this._Mi2(time,i,1,_Ri2-2);_cj2=this._Mi2(time,i,2,_Ri2+18-2);}if(_zQ==0){_ej2.mix=_ej2.data.mix+(mix-_ej2.data.mix)*alpha;_ej2._cj2=_ej2.data._cj2+(_cj2-_ej2.data._cj2)*alpha;
if(direction==1){_ej2._dj2=_ej2.data._dj2;_ej2.compress=_ej2.data.compress;_ej2.stretch=_ej2.data.stretch;}else {_ej2._dj2=frames[i+3];_ej2.compress=frames[i+4]!=0;_ej2.stretch=frames[i+5]!=0;}}else {_ej2.mix+=(mix-_ej2.mix)*alpha;_ej2._cj2+=(_cj2-_ej2._cj2)*alpha;if(direction==0){_ej2._dj2=frames[i+3];_ej2.compress=frames[i+4]!=0;_ej2.stretch=frames[i+5]!=0;}}}};var _Zg2=class  extends _Zf2{constructor(_J4,_si2,_gj2){super(_J4,_si2,[_mi2.transformConstraint+"|"+_gj2]);this._gj2=_gj2;}_oi2(){return 7;}
_Pi2(frame,time,_hj2,_ij2,_jj2,_kj2,_lj2,_mj2){let frames=this.frames;frame*=7;frames[frame]=time;frames[frame+1]=_hj2;frames[frame+2]=_ij2;frames[frame+3]=_jj2;frames[frame+4]=_kj2;frames[frame+5]=_lj2;frames[frame+6]=_mj2;}apply(skeleton,__h2,time,_Zi2,alpha,_zQ,direction){let _ej2=skeleton._nj2[this._gj2];if(!_ej2.active)return;let frames=this.frames;if(time<frames[0]){let data=_ej2.data;switch(_zQ){case 0:_ej2._hj2=data._hj2;_ej2._ij2=data._ij2;_ej2._jj2=data._jj2;_ej2._kj2=data._kj2;_ej2._lj2=data._lj2;
_ej2._mj2=data._mj2;return;case 1:_ej2._hj2+=(data._hj2-_ej2._hj2)*alpha;_ej2._ij2+=(data._ij2-_ej2._ij2)*alpha;_ej2._jj2+=(data._jj2-_ej2._jj2)*alpha;_ej2._kj2+=(data._kj2-_ej2._kj2)*alpha;_ej2._lj2+=(data._lj2-_ej2._lj2)*alpha;_ej2._mj2+=(data._mj2-_ej2._mj2)*alpha;}return;}let rotate,x,y,scaleX,scaleY,shearY;let i=_Vg2.search(frames,time,7);let _Ri2=this._ti2[i/7];switch(_Ri2){case 0:let _Si2=frames[i];rotate=frames[i+1];x=frames[i+2];y=frames[i+3];scaleX=frames[i+4];scaleY=frames[i+5];shearY=frames[i+6];
let _N5=(time-_Si2)/(frames[i+7]-_Si2);rotate+=(frames[i+7+1]-rotate)*_N5;x+=(frames[i+7+2]-x)*_N5;y+=(frames[i+7+3]-y)*_N5;scaleX+=(frames[i+7+4]-scaleX)*_N5;scaleY+=(frames[i+7+5]-scaleY)*_N5;shearY+=(frames[i+7+6]-shearY)*_N5;break;case 1:rotate=frames[i+1];x=frames[i+2];y=frames[i+3];scaleX=frames[i+4];scaleY=frames[i+5];shearY=frames[i+6];break;default :rotate=this._Mi2(time,i,1,_Ri2-2);x=this._Mi2(time,i,2,_Ri2+18-2);y=this._Mi2(time,i,3,_Ri2+18*2-2);scaleX=this._Mi2(time,i,4,_Ri2+18*3-2);scaleY=this._Mi2(time,
i,5,_Ri2+18*4-2);shearY=this._Mi2(time,i,6,_Ri2+18*5-2);}if(_zQ==0){let data=_ej2.data;_ej2._hj2=data._hj2+(rotate-data._hj2)*alpha;_ej2._ij2=data._ij2+(x-data._ij2)*alpha;_ej2._jj2=data._jj2+(y-data._jj2)*alpha;_ej2._kj2=data._kj2+(scaleX-data._kj2)*alpha;_ej2._lj2=data._lj2+(scaleY-data._lj2)*alpha;_ej2._mj2=data._mj2+(shearY-data._mj2)*alpha;}else {_ej2._hj2+=(rotate-_ej2._hj2)*alpha;_ej2._ij2+=(x-_ej2._ij2)*alpha;_ej2._jj2+=(y-_ej2._jj2)*alpha;_ej2._kj2+=(scaleX-_ej2._kj2)*alpha;_ej2._lj2+=(scaleY-_ej2._lj2)*alpha;
_ej2._mj2+=(shearY-_ej2._mj2)*alpha;}}};var _qg2=class  extends __f2{constructor(_J4,_si2,_oj2){super(_J4,_si2,_mi2.pathConstraintPosition+"|"+_oj2);this._oj2=_oj2;}apply(skeleton,__h2,time,_Zi2,alpha,_zQ,direction){let _ej2=skeleton._pj2[this._oj2];if(!_ej2.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:_ej2.position=_ej2.data.position;return;case 1:_ej2.position+=(_ej2.data.position-_ej2.position)*alpha;}return;}let position=this._Qi2(time);if(_zQ==0)_ej2.position=_ej2.data.position+(position-_ej2.data.position)*alpha;
else _ej2.position+=(position-_ej2.position)*alpha;}};var _rg2=class  extends __f2{constructor(_J4,_si2,_oj2){super(_J4,_si2,_mi2.pathConstraintSpacing+"|"+_oj2);this._oj2=0;this._oj2=_oj2;}apply(skeleton,__h2,time,_Zi2,alpha,_zQ,direction){let _ej2=skeleton._pj2[this._oj2];if(!_ej2.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){case 0:_ej2.spacing=_ej2.data.spacing;return;case 1:_ej2.spacing+=(_ej2.data.spacing-_ej2.spacing)*alpha;}return;}let spacing=this._Qi2(time);if(_zQ==0)_ej2.spacing=_ej2.data.spacing+(spacing-_ej2.data.spacing)*alpha;
else _ej2.spacing+=(spacing-_ej2.spacing)*alpha;}};var _pg2=class  extends _Zf2{constructor(_J4,_si2,_oj2){super(_J4,_si2,[_mi2.pathConstraintMix+"|"+_oj2]);this._oj2=0;this._oj2=_oj2;}_oi2(){return 4;}_Pi2(frame,time,_hj2,_ij2,_jj2){let frames=this.frames;frame<<=2;frames[frame]=time;frames[frame+1]=_hj2;frames[frame+2]=_ij2;frames[frame+3]=_jj2;}apply(skeleton,__h2,time,_Zi2,alpha,_zQ,direction){let _ej2=skeleton._pj2[this._oj2];if(!_ej2.active)return;let frames=this.frames;if(time<frames[0]){switch(_zQ){
case 0:_ej2._hj2=_ej2.data._hj2;_ej2._ij2=_ej2.data._ij2;_ej2._jj2=_ej2.data._jj2;return;case 1:_ej2._hj2+=(_ej2.data._hj2-_ej2._hj2)*alpha;_ej2._ij2+=(_ej2.data._ij2-_ej2._ij2)*alpha;_ej2._jj2+=(_ej2.data._jj2-_ej2._jj2)*alpha;}return;}let rotate,x,y;let i=_Vg2.search(frames,time,4);let _Ri2=this._ti2[i>>2];switch(_Ri2){case 0:let _Si2=frames[i];rotate=frames[i+1];x=frames[i+2];y=frames[i+3];let _N5=(time-_Si2)/(frames[i+4]-_Si2);rotate+=(frames[i+4+1]-rotate)*_N5;x+=(frames[i+4+2]-x)*_N5;y+=(frames[i+4+3]-y)*_N5;
break;case 1:rotate=frames[i+1];x=frames[i+2];y=frames[i+3];break;default :rotate=this._Mi2(time,i,1,_Ri2-2);x=this._Mi2(time,i,2,_Ri2+18-2);y=this._Mi2(time,i,3,_Ri2+18*2-2);}if(_zQ==0){let data=_ej2.data;_ej2._hj2=data._hj2+(rotate-data._hj2)*alpha;_ej2._ij2=data._ij2+(x-data._ij2)*alpha;_ej2._jj2=data._jj2+(y-data._jj2)*alpha;}else {_ej2._hj2+=(rotate-_ej2._hj2)*alpha;_ej2._ij2+=(x-_ej2._ij2)*alpha;_ej2._jj2+=(y-_ej2._jj2)*alpha;}}};var _f2=class {constructor(data){this.tracks=new Array();this._qj2=1;
this._rj2=0;this.events=new Array();this._sj2=new Array();this._Uk=new _6g2(this);this._tj2=new _Rg2();this._uj2=false;this._vj2=new _tg2(()=>new _Wg2());this.data=data;}static _wj2(){if(!_xj2)_xj2=new _Pf2("<empty>",[],0);return _xj2;}_Q4(_uh){_uh*=this._qj2;let tracks=this.tracks;for(let i=0,_x5=tracks.length;i<_x5;i++){let current=tracks[i];if(!current)continue;current._yj2=current._zj2;current._Aj2=current._Bj2;let _Cj2=_uh*current._qj2;if(current._ZT1>0){current._ZT1-=_Cj2;if(current._ZT1>0)continue;_Cj2=-current._ZT1;
current._ZT1=0;}let _ok=current._ok;if(_ok){let _Dj2=current._Aj2-_ok._ZT1;if(_Dj2>=0){_ok._ZT1=0;_ok._L2+=current._qj2==0?0:(_Dj2/current._qj2+_uh)*_ok._qj2;current._L2+=_Cj2;this._Ej2(i,_ok,true);while(_ok._Fj2){_ok._Gj2+=_uh;_ok=_ok._Fj2;}continue;}}else if(current._Aj2>=current._Hj2&&!current._Fj2){tracks[i]=null;this._Uk.end(current);this._Ij2(current);continue;}if(current._Fj2&&this._Jj2(current,_uh)){let from=current._Fj2;current._Fj2=null;if(from)from._Kj2=null;while(from){this._Uk.end(from);
from=from._Fj2;}}current._L2+=_Cj2;}this._Uk._Lj2();}_Jj2(_c61,_uh){let from=_c61._Fj2;if(!from)return true;let _RT=this._Jj2(from,_uh);from._yj2=from._zj2;from._Aj2=from._Bj2;if(_c61._Gj2>0&&_c61._Gj2>=_c61._Mj2){if(from._Nj2==0||_c61._Mj2==0){_c61._Fj2=from._Fj2;if(from._Fj2)from._Fj2._Kj2=_c61;_c61._Oj2=from._Oj2;this._Uk.end(from);}return _RT;}from._L2+=_uh*from._qj2;_c61._Gj2+=_uh;return false;}apply(skeleton){if(!skeleton)throw new Error("skeleton cannot be null.");if(this._uj2)this._Pj2();let events=this.events;
let tracks=this.tracks;let _Qj2=false;for(let _nt1=0,_Rj2=tracks.length;_nt1<_Rj2;_nt1++){let current=tracks[_nt1];if(!current||current._ZT1>0)continue;_Qj2=true;let _zQ=_nt1==0?_kg2.first:current._Sj2;let mix=current.alpha;if(current._Fj2)mix*=this._Tj2(current,skeleton,_zQ);else if(current._L2>=current._Hj2&&!current._ok)mix=0;let _yj2=current._yj2,_Uj2=current._Vj2(),_Wj2=_Uj2;let _Xj2=events;if(current.reverse){_Wj2=current._D2.duration-_Wj2;_Xj2=null;}let _N4=current._D2._N4;let _M4=_N4.length;if(_nt1==0&&mix==1||_zQ==_kg2.add){
for(let _4F=0;_4F<_M4;_4F++){_4h2._Ph2(mix,_zQ);var _iH=_N4[_4F];if(_iH instanceof _Tf2)this._Yj2(_iH,skeleton,_Wj2,_zQ,true);else _iH.apply(skeleton,_yj2,_Wj2,_Xj2,mix,_zQ,_lg2.mixIn);}}else {let _Zj2=current._Zj2;let _6U1=current.__j2.length!=_M4<<1;if(_6U1)current.__j2.length=_M4<<1;for(let _4F=0;_4F<_M4;_4F++){let _0k2=_N4[_4F];let _1k2=_Zj2[_4F]==_Eg2?_zQ:_kg2.setup;if(_0k2 instanceof _Cg2){this._2k2(_0k2,skeleton,_Wj2,mix,_1k2,current.__j2,_4F<<1,_6U1);}else if(_0k2 instanceof _Tf2){this._Yj2(_0k2,skeleton,
_Wj2,_zQ,true);}else {_4h2._Ph2(mix,_zQ);_0k2.apply(skeleton,_yj2,_Wj2,_Xj2,mix,_1k2,_lg2.mixIn);}}}this._3k2(current,_Uj2);events.length=0;current._zj2=_Uj2;current._Bj2=current._L2;}var _4k2=this._rj2+_Dg2;var slots=skeleton.slots;for(var i=0,_x5=skeleton.slots.length;i<_x5;i++){var slot=slots[i];if(slot._5k2==_4k2){var _Ga=slot.data._Ga;slot._b3(!_Ga?null:skeleton._e3(slot.data.index,_Ga));}}this._rj2+=2;this._Uk._Lj2();return _Qj2;}_Tj2(_c61,skeleton,_zQ){let from=_c61._Fj2;if(from._Fj2)this._Tj2(from,
skeleton,_zQ);let mix=0;if(_c61._Mj2==0){mix=1;if(_zQ==_kg2.first)_zQ=_kg2.setup;}else {mix=_c61._Gj2/_c61._Mj2;if(mix>1)mix=1;if(_zQ!=_kg2.first)_zQ=from._Sj2;}let attachments=mix<from._6k2,drawOrder=mix<from._7k2;let _N4=from._D2._N4;let _M4=_N4.length;let _8k2=from.alpha*_c61._Oj2,_9k2=_8k2*(1-mix);let _yj2=from._yj2,_Uj2=from._Vj2(),_Wj2=_Uj2;let events=null;if(from.reverse)_Wj2=from._D2.duration-_Wj2;else if(mix<from._ak2)events=this.events;if(_zQ==_kg2.add){for(let i=0;i<_M4;i++)_N4[i].apply(skeleton,
_yj2,_Wj2,events,_9k2,_zQ,_lg2.mixOut);}else {let _Zj2=from._Zj2;let _bk2=from._bk2;let _6U1=from.__j2.length!=_M4<<1;if(_6U1)from.__j2.length=_M4<<1;from._Nj2=0;for(let i=0;i<_M4;i++){let _iH=_N4[i];let direction=_lg2.mixOut;let _1k2;let alpha=0;switch(_Zj2[i]){case _Eg2:if(!drawOrder&&_iH instanceof _4g2)continue;_1k2=_zQ;alpha=_9k2;break;case _8g2:_1k2=_kg2.setup;alpha=_9k2;break;case _cg2:_1k2=_zQ;alpha=_8k2;break;case _ag2:_1k2=_kg2.setup;alpha=_8k2;break;default :_1k2=_kg2.setup;let _ck2=_bk2[i];alpha=_8k2*Math.max(0,
1-_ck2._Gj2/_ck2._Mj2);break;}from._Nj2+=alpha;if(_iH instanceof _Cg2)this._2k2(_iH,skeleton,_Wj2,alpha,_1k2,from.__j2,i<<1,_6U1);else if(_iH instanceof _Tf2)this._Yj2(_iH,skeleton,_Wj2,_1k2,attachments);else {_4h2._Ph2(alpha,_zQ);if(drawOrder&&_iH instanceof _4g2&&_1k2==_kg2.setup)direction=_lg2.mixIn;_iH.apply(skeleton,_yj2,_Wj2,events,alpha,_1k2,direction);}}}if(_c61._Mj2>0)this._3k2(from,_Uj2);this.events.length=0;from._zj2=_Uj2;from._Bj2=from._L2;return mix;}_Yj2(_iH,skeleton,time,_zQ,attachments){var slot=skeleton.slots[_iH._c3];
if(!slot.bone.active)return;if(time<_iH.frames[0]){if(_zQ==_kg2.setup||_zQ==_kg2.first)this._b3(skeleton,slot,slot.data._Ga,attachments);}else this._b3(skeleton,slot,_iH._Ia[_Vg2._ri2(_iH.frames,time)],attachments);if(slot._5k2<=this._rj2)slot._5k2=this._rj2+_Dg2;}_b3(skeleton,slot,_Ga,attachments){slot._b3(!_Ga?null:skeleton._e3(slot.data.index,_Ga));if(attachments)slot._5k2=this._rj2+_Xf2;}_2k2(_iH,skeleton,time,alpha,_zQ,__j2,i,_6U1){if(_6U1)__j2[i]=0;if(alpha==1){_iH.apply(skeleton,0,time,null,
1,_zQ,_lg2.mixIn);return;}let bone=skeleton.bones[_iH._Vi2];if(!bone.active)return;let frames=_iH.frames;let _0H=0,_1H=0;if(time<frames[0]){switch(_zQ){case _kg2.setup:bone.rotation=bone.data.rotation;default :return;case _kg2.first:_0H=bone.rotation;_1H=bone.data.rotation;}}else {_0H=_zQ==_kg2.setup?bone.data.rotation:bone.rotation;_1H=bone.data.rotation+_iH._Qi2(time);}let _kd1=0,_uD=_1H-_0H;_uD-=(16384-(16384.499999999996-_uD/360|0))*360;if(_uD==0){_kd1=__j2[i];}else {let _dk2=0,_ek2=0;if(_6U1){_dk2=0;
_ek2=_uD;}else {_dk2=__j2[i];_ek2=__j2[i+1];}let current=_uD>0,_7Z=_dk2>=0;if(_jg2._ph2(_ek2)!=_jg2._ph2(_uD)&&Math.abs(_ek2)<=90){if(Math.abs(_dk2)>180)_dk2+=360*_jg2._ph2(_dk2);_7Z=current;}_kd1=_uD+_dk2-_dk2%360;if(_7Z!=current)_kd1+=360*_jg2._ph2(_dk2);__j2[i]=_kd1;}__j2[i+1]=_uD;bone.rotation=_0H+_kd1*alpha;}_3k2(_kk,_Uj2){let _fk2=_kk._fk2,_gk2=_kk._gk2;let duration=_gk2-_fk2;let _hk2=_kk._Aj2%duration;let events=this.events;let i=0,_x5=events.length;for(;i<_x5;i++){let event=events[i];if(event.time<_hk2)break;
if(event.time>_gk2)continue;this._Uk.event(_kk,event);}let complete=false;if(_kk.loop)complete=duration==0||_hk2>_kk._L2%duration;else complete=_Uj2>=_gk2&&_kk._yj2<_gk2;if(complete)this._Uk.complete(_kk);for(;i<_x5;i++){let event=events[i];if(event.time<_fk2)continue;this._Uk.event(_kk,event);}}_ik2(){let _jk2=this._Uk._kk2;this._Uk._kk2=true;for(let i=0,_x5=this.tracks.length;i<_x5;i++)this._G6(i);this.tracks.length=0;this._Uk._kk2=_jk2;this._Uk._Lj2();}_G6(_lk2){if(_lk2>=this.tracks.length)return;
let current=this.tracks[_lk2];if(!current)return;this._Uk.end(current);this._Ij2(current);let _kk=current;while(true){let from=_kk._Fj2;if(!from)break;this._Uk.end(from);_kk._Fj2=null;_kk._Kj2=null;_kk=from;}this.tracks[current._lk2]=null;this._Uk._Lj2();}_Ej2(index,current,interrupt){let from=this._mk2(index);this.tracks[index]=current;current._nk2=null;if(from){if(interrupt)this._Uk.interrupt(from);current._Fj2=from;from._Kj2=current;current._Gj2=0;if(from._Fj2&&from._Mj2>0)current._Oj2*=Math.min(1,
from._Gj2/from._Mj2);from.__j2.length=0;}this._Uk.start(current);}_V2(_lk2,_ok2,loop=false){let _D2=this.data._pk2._U2(_ok2);if(!_D2)throw new Error("Animation not found: "+_ok2);return this._qk2(_lk2,_D2,loop);}_qk2(_lk2,_D2,loop=false){if(!_D2)throw new Error("animation cannot be null.");let interrupt=true;let current=this._mk2(_lk2);if(current){if(current._Bj2==-1){this.tracks[_lk2]=current._Fj2;this._Uk.interrupt(current);this._Uk.end(current);this._Ij2(current);current=current._Fj2;interrupt=false;
}else this._Ij2(current);}let _kk=this._rk2(_lk2,_D2,loop,current);this._Ej2(_lk2,_kk,interrupt);this._Uk._Lj2();return _kk;}_sk2(_lk2,_ok2,loop=false,_ZT1=0){let _D2=this.data._pk2._U2(_ok2);if(!_D2)throw new Error("Animation not found: "+_ok2);return this._tk2(_lk2,_D2,loop,_ZT1);}_tk2(_lk2,_D2,loop=false,_ZT1=0){if(!_D2)throw new Error("animation cannot be null.");let last=this._mk2(_lk2);if(last){while(last._ok)last=last._ok;}let _kk=this._rk2(_lk2,_D2,loop,last);if(!last){this._Ej2(_lk2,_kk,true);this._Uk._Lj2();
}else {last._ok=_kk;_kk._nk2=last;if(_ZT1<=0)_ZT1+=last._uk2()-_kk._Mj2;}_kk._ZT1=_ZT1;return _kk;}_vk2(_lk2,_Mj2=0){let _kk=this._qk2(_lk2,_f2._wj2(),false);_kk._Mj2=_Mj2;_kk._Hj2=_Mj2;return _kk;}_wk2(_lk2,_Mj2=0,_ZT1=0){let _kk=this._tk2(_lk2,_f2._wj2(),false,_ZT1);if(_ZT1<=0)_kk._ZT1+=_kk._Mj2-_Mj2;_kk._Mj2=_Mj2;_kk._Hj2=_Mj2;return _kk;}_xk2(_Mj2=0){let _jk2=this._Uk._kk2;this._Uk._kk2=true;for(let i=0,_x5=this.tracks.length;i<_x5;i++){let current=this.tracks[i];if(current)this._vk2(current._lk2,_Mj2);
}this._Uk._kk2=_jk2;this._Uk._Lj2();}_mk2(index){if(index<this.tracks.length)return this.tracks[index];_4h2._Hh2(this.tracks,index+1,null);this.tracks.length=index+1;return null;}_rk2(_lk2,_D2,loop,last){let _kk=this._vj2._Uh2();_kk._lk2=_lk2;_kk._D2=_D2;_kk.loop=loop;_kk._yk2=false;_kk._ak2=0;_kk._6k2=0;_kk._7k2=0;_kk._fk2=0;_kk._gk2=_D2.duration;_kk._yj2=-1;_kk._zj2=-1;_kk._ZT1=0;_kk._L2=0;_kk._Aj2=-1;_kk._Bj2=-1;_kk._Hj2=Number.MAX_VALUE;_kk._qj2=1;_kk.alpha=1;_kk._Oj2=1;_kk._Gj2=0;_kk._Mj2=!last?0:this.data._zk2(last._D2,
_D2);_kk._Sj2=_kg2.replace;return _kk;}_Ij2(_kk){let _ok=_kk._ok;while(_ok){this._Uk.dispose(_ok);_ok=_ok._ok;}_kk._ok=null;}_Pj2(){this._uj2=false;this._tj2.clear();let tracks=this.tracks;for(let i=0,_x5=tracks.length;i<_x5;i++){let _kk=tracks[i];if(!_kk)continue;while(_kk._Fj2)_kk=_kk._Fj2;do {if(!_kk._Kj2||_kk._Sj2!=_kg2.add)this._Ak2(_kk);_kk=_kk._Kj2;}while(_kk);}}_Ak2(_kk){let _c61=_kk._Kj2;let _N4=_kk._D2._N4;let _Bk2=_kk._D2._N4.length;let _Zj2=_kk._Zj2;_Zj2.length=_Bk2;let _bk2=_kk._bk2;_bk2.length=0;
let _tj2=this._tj2;if(_c61&&_c61._yk2){for(let i=0;i<_Bk2;i++)_Zj2[i]=_tj2._ah2(_N4[i]._ii2())?_ag2:_cg2;return;}_Ck2:for(let i=0;i<_Bk2;i++){let _iH=_N4[i];let ids=_iH._ii2();if(!_tj2._ah2(ids))_Zj2[i]=_Eg2;else if(!_c61||_iH instanceof _Tf2||_iH instanceof _4g2||_iH instanceof _O6||!_c61._D2._ji2(ids)){_Zj2[i]=_8g2;}else {for(let _ok=_c61._Kj2;_ok;_ok=_ok._Kj2){if(_ok._D2._ji2(ids))continue;if(_kk._Mj2>0){_Zj2[i]=_bg2;_bk2[i]=_ok;continue _Ck2;}break;}_Zj2[i]=_ag2;}}}_Dk2(_lk2){if(_lk2>=this.tracks.length)return null;
return this.tracks[_lk2];}_p2(listener){if(!listener)throw new Error("listener cannot be null.");this._sj2.push(listener);}_Ek2(listener){let index=this._sj2.indexOf(listener);if(index>=0)this._sj2.splice(index,1);}_Fk2(){this._sj2.length=0;}_Gk2(){this._Uk.clear();}};var _Wg2=class {constructor(){this._Sj2=_kg2.replace;this._Zj2=new Array();this._bk2=new Array();this.__j2=new Array();}_4d1(){this._ok=null;this._nk2=null;this._Fj2=null;this._Kj2=null;this._D2=null;this.listener=null;this._Zj2.length=0;this._bk2.length=0;
this.__j2.length=0;}_Vj2(){if(this.loop){let duration=this._gk2-this._fk2;if(duration==0)return this._fk2;return this._L2%duration+this._fk2;}return Math.min(this._L2+this._fk2,this._gk2);}_Hk2(_yj2){this._yj2=_yj2;this._zj2=_yj2;}_Ik2(){return this._L2>=this._gk2-this._fk2;}_Jk2(){this.__j2.length=0;}_uk2(){let duration=this._gk2-this._fk2;if(duration!=0){if(this.loop)return duration*(1+(this._L2/duration|0));if(this._L2<duration)return duration;}return this._L2;}};var _6g2=class {constructor(_Kk2){this._Lk2=[];
this._kk2=false;this._Kk2=_Kk2;}start(_kk){this._Lk2.push(_7g2.start);this._Lk2.push(_kk);this._Kk2._uj2=true;}interrupt(_kk){this._Lk2.push(_7g2.interrupt);this._Lk2.push(_kk);}end(_kk){this._Lk2.push(_7g2.end);this._Lk2.push(_kk);this._Kk2._uj2=true;}dispose(_kk){this._Lk2.push(_7g2.dispose);this._Lk2.push(_kk);}complete(_kk){this._Lk2.push(_7g2.complete);this._Lk2.push(_kk);}event(_kk,event){this._Lk2.push(_7g2.event);this._Lk2.push(_kk);this._Lk2.push(event);}_Lj2(){if(this._kk2)return;this._kk2=true;
let _Lk2=this._Lk2;let _sj2=this._Kk2._sj2;for(let i=0;i<_Lk2.length;i+=2){let type=_Lk2[i];let _kk=_Lk2[i+1];switch(type){case _7g2.start:if(_kk.listener&&_kk.listener.start)_kk.listener.start(_kk);for(let _4F=0;_4F<_sj2.length;_4F++)if(_sj2[_4F].start)_sj2[_4F].start(_kk);break;case _7g2.interrupt:if(_kk.listener&&_kk.listener.interrupt)_kk.listener.interrupt(_kk);for(let _4F=0;_4F<_sj2.length;_4F++)if(_sj2[_4F].interrupt)_sj2[_4F].interrupt(_kk);break;case _7g2.end:if(_kk.listener&&_kk.listener.end)_kk.listener.end(_kk);
for(let _4F=0;_4F<_sj2.length;_4F++)if(_sj2[_4F].end)_sj2[_4F].end(_kk);case _7g2.dispose:if(_kk.listener&&_kk.listener.dispose)_kk.listener.dispose(_kk);for(let _4F=0;_4F<_sj2.length;_4F++)if(_sj2[_4F].dispose)_sj2[_4F].dispose(_kk);this._Kk2._vj2._Vh2(_kk);break;case _7g2.complete:if(_kk.listener&&_kk.listener.complete)_kk.listener.complete(_kk);for(let _4F=0;_4F<_sj2.length;_4F++)if(_sj2[_4F].complete)_sj2[_4F].complete(_kk);break;case _7g2.event:let event=_Lk2[i+++2];if(_kk.listener&&_kk.listener.event)_kk.listener.event(_kk,
event);for(let _4F=0;_4F<_sj2.length;_4F++)if(_sj2[_4F].event)_sj2[_4F].event(_kk,event);break;}}this.clear();this._kk2=false;}clear(){this._Lk2.length=0;}};var _7g2;(function(_Mk2){_Mk2[_Mk2["start"]=0]="start";_Mk2[_Mk2["interrupt"]=1]="interrupt";_Mk2[_Mk2["end"]=2]="end";_Mk2[_Mk2["dispose"]=3]="dispose";_Mk2[_Mk2["complete"]=4]="complete";_Mk2[_Mk2["event"]=5]="event";})(_7g2||(_7g2={}));var _Qf2=class {start(_kk){}interrupt(_kk){}end(_kk){}dispose(_kk){}complete(_kk){}event(_kk,event){}};var _Eg2=0;
var _8g2=1;var _cg2=2;var _ag2=3;var _bg2=4;var _Dg2=1;var _Xf2=2;var _xj2=null;var _e2=class {constructor(_pk2){this._Nk2={};this._Ok2=0;if(!_pk2)throw new Error("skeletonData cannot be null.");this._pk2=_pk2;}_63(_Pk2,_Qk2,duration){let from=this._pk2._U2(_Pk2);if(!from)throw new Error("Animation not found: "+_Pk2);let _c61=this._pk2._U2(_Qk2);if(!_c61)throw new Error("Animation not found: "+_Qk2);this._Rk2(from,_c61,duration);}_Rk2(from,_c61,duration){if(!from)throw new Error("from cannot be null.");if(!_c61)throw new Error("to cannot be null.");
let key=from.name+"."+_c61.name;this._Nk2[key]=duration;}_zk2(from,_c61){let key=from.name+"."+_c61.name;let value=this._Nk2[key];return value===void 0?this._Ok2:value;}};var _l8=class  extends _6h2{constructor(name){super(name);this.color=new _m3(1,1,1,1);}_Br(){let _Br=new _l8(this.name);this._fi2(_Br);_Br.color._m4(this.color);return _Br;}};var _U8=class  extends _6h2{constructor(name){super(name);this.color=new _m3(0.2275,0.2275,0.8078,1);}_Br(){let _Br=new _U8(this.name);this._fi2(_Br);_Br._Sk2=this._Sk2;_Br.color._m4(this.color);
return _Br;}};var _ej1=class {constructor(_W3){this._nZ1=_W3;}_b7(){return this._nZ1;}};var _Q3;(function(_Tk2){_Tk2[_Tk2["Nearest"]=9728]="Nearest";_Tk2[_Tk2["Linear"]=9729]="Linear";_Tk2[_Tk2["MipMap"]=9987]="MipMap";_Tk2[_Tk2["MipMapNearestNearest"]=9984]="MipMapNearestNearest";_Tk2[_Tk2["MipMapLinearNearest"]=9985]="MipMapLinearNearest";_Tk2[_Tk2["MipMapNearestLinear"]=9986]="MipMapNearestLinear";_Tk2[_Tk2["MipMapLinearLinear"]=9987]="MipMapLinearLinear";})(_Q3||(_Q3={}));var _T3;(function(_Uk2){_Uk2[_Uk2["MirroredRepeat"]=33648]="MirroredRepeat";
_Uk2[_Uk2["ClampToEdge"]=33071]="ClampToEdge";_Uk2[_Uk2["Repeat"]=10497]="Repeat";})(_T3||(_T3={}));var _Tg2=class {constructor(){this._04=0;this._14=0;this._24=0;this._34=0;this.width=0;this.height=0;this._84=0;this._44=0;this._54=0;this._64=0;this._74=0;}};var _9g2=class  extends _ej1{_X3(_P3,_R3){}_Y3(_S3,_U3){}dispose(){}};var _c4=class {constructor(_Vk2){this._d4=new Array();this._e4=new Array();if(_Vk2===null||_Vk2===void 0)return;let _U_=new _Wk2(_Vk2);let _kk=new Array(4);let _M3=null;let _Z3=null;let _Xk2={
};_Xk2["size"]=()=>{_M3.width=parseInt(_kk[1]);_M3.height=parseInt(_kk[2]);};_Xk2["format"]=()=>{};_Xk2["filter"]=()=>{_M3._P3=_4h2._Qh2(_Q3,_kk[1]);_M3._R3=_4h2._Qh2(_Q3,_kk[2]);};_Xk2["repeat"]=()=>{if(_kk[1].indexOf("x")!=-1)_M3._S3=_T3.Repeat;if(_kk[1].indexOf("y")!=-1)_M3._U3=_T3.Repeat;};_Xk2["pma"]=()=>{_M3._Yk2=_kk[1]=="true";};var _Zk2={};_Zk2["xy"]=()=>{_Z3.x=parseInt(_kk[1]);_Z3.y=parseInt(_kk[2]);};_Zk2["size"]=()=>{_Z3.width=parseInt(_kk[1]);_Z3.height=parseInt(_kk[2]);};_Zk2["bounds"]=()=>{
_Z3.x=parseInt(_kk[1]);_Z3.y=parseInt(_kk[2]);_Z3.width=parseInt(_kk[3]);_Z3.height=parseInt(_kk[4]);};_Zk2["offset"]=()=>{_Z3._44=parseInt(_kk[1]);_Z3._54=parseInt(_kk[2]);};_Zk2["orig"]=()=>{_Z3._64=parseInt(_kk[1]);_Z3._74=parseInt(_kk[2]);};_Zk2["offsets"]=()=>{_Z3._44=parseInt(_kk[1]);_Z3._54=parseInt(_kk[2]);_Z3._64=parseInt(_kk[3]);_Z3._74=parseInt(_kk[4]);};_Zk2["rotate"]=()=>{let value=_kk[1];if(value=="true")_Z3._84=90;else if(value!="false")_Z3._84=parseInt(value);};_Zk2["index"]=()=>{_Z3.index=parseInt(_kk[1]);
};let _GD=_U_.__k2();while(_GD&&_GD.trim().length==0)_GD=_U_.__k2();while(true){if(!_GD||_GD.trim().length==0)break;if(_U_._0l2(_kk,_GD)==0)break;_GD=_U_.__k2();}let _og=null;let values=null;while(true){if(_GD===null)break;if(_GD.trim().length==0){_M3=null;_GD=_U_.__k2();}else if(!_M3){_M3=new _N3();_M3.name=_GD.trim();while(true){if(_U_._0l2(_kk,_GD=_U_.__k2())==0)break;let _1l2=_Xk2[_kk[0]];if(_1l2)_1l2();}this._d4.push(_M3);}else {_Z3=new __3();_Z3._M3=_M3;_Z3.name=_GD;while(true){let _u7=_U_._0l2(_kk,
_GD=_U_.__k2());if(_u7==0)break;let _1l2=_Zk2[_kk[0]];if(_1l2)_1l2();else {if(!_og){_og=[];values=[];}_og.push(_kk[0]);let _2l2=[];for(let i=0;i<_u7;i++)_2l2.push(parseInt(_kk[i+1]));values.push(_2l2);}}if(_Z3._64==0&&_Z3._74==0){_Z3._64=_Z3.width;_Z3._74=_Z3.height;}if(_og&&_og.length>0){_Z3._og=_og;_Z3.values=values;_og=null;values=null;}_Z3._04=_Z3.x/_M3.width;_Z3._14=_Z3.y/_M3.height;if(_Z3._84==90){_Z3._24=(_Z3.x+_Z3.height)/_M3.width;_Z3._34=(_Z3.y+_Z3.width)/_M3.height;}else {_Z3._24=(_Z3.x+_Z3.width)/_M3.width;
_Z3._34=(_Z3.y+_Z3.height)/_M3.height;}this._e4.push(_Z3);}}}_3l2(name){for(let i=0;i<this._e4.length;i++){if(this._e4[i].name==name){return this._e4[i];}}return null;}_4l2(_5l2,_6l2=""){for(let _M3 of this._d4)_M3._U7(_5l2.get(_6l2+_M3.name));}dispose(){for(let i=0;i<this._d4.length;i++){this._d4[i].texture.dispose();}}};var _Wk2=class {constructor(text){this.index=0;var _pg=text.replace("\r\n","\n");_pg=_pg.replace("\r","\n");this._aG=text.split("\n");}__k2(){if(this.index>=this._aG.length)return null;return this._aG[this.index++];
}_0l2(_kk,_GD){if(!_GD)return 0;_GD=_GD.trim();if(_GD.length==0)return 0;let _7l2=_GD.indexOf(":");if(_7l2==-1)return 0;_kk[0]=_GD.substr(0,_7l2).trim();for(let i=1,_8l2=_7l2+1;;i++){let _9l2=_GD.indexOf(",",_8l2);if(_9l2==-1){_kk[i]=_GD.substr(_8l2).trim();return i;}_kk[i]=_GD.substr(_8l2,_9l2-_8l2).trim();_8l2=_9l2+1;if(i==4)return 4;}}};var _N3=class {constructor(){this._P3=_Q3.Nearest;this._R3=_Q3.Nearest;this._S3=_T3.ClampToEdge;this._U3=_T3.ClampToEdge;}_U7(texture){this.texture=texture;texture._X3(this._P3,
this._R3);texture._Y3(this._S3,this._U3);}};var __3=class  extends _Tg2{};var _j8=class  extends _6h2{constructor(name){super(name);this.color=new _m3(1,1,1,1);this._al2=new _m3(0,0,0,0);}_bl2(){let _cl2=this._cl2;if(!this.uvs||this.uvs.length!=_cl2.length)this.uvs=_4h2._Jh2(_cl2.length);let uvs=this.uvs;let _x5=this.uvs.length;let _04=this._Z3._04,_14=this._Z3._14,width=0,height=0;if(this._Z3 instanceof __3){let _Z3=this._Z3,_W3=_Z3._M3.texture._b7();let _dl2=_W3.width,_el2=_W3.height;switch(_Z3._84){case 90:_04-=(_Z3._74-_Z3._54-_Z3.height)/_dl2;
_14-=(_Z3._64-_Z3._44-_Z3.width)/_el2;width=_Z3._74/_dl2;height=_Z3._64/_el2;for(let i=0;i<_x5;i+=2){uvs[i]=_04+_cl2[i+1]*width;uvs[i+1]=_14+(1-_cl2[i])*height;}return;case 180:_04-=(_Z3._64-_Z3._44-_Z3.width)/_dl2;_14-=_Z3._54/_el2;width=_Z3._64/_dl2;height=_Z3._74/_el2;for(let i=0;i<_x5;i+=2){uvs[i]=_04+(1-_cl2[i])*width;uvs[i+1]=_14+(1-_cl2[i+1])*height;}return;case 270:_04-=_Z3._54/_dl2;_14-=_Z3._44/_el2;width=_Z3._74/_dl2;height=_Z3._64/_el2;for(let i=0;i<_x5;i+=2){uvs[i]=_04+(1-_cl2[i+1])*width;
uvs[i+1]=_14+_cl2[i]*height;}return;}_04-=_Z3._44/_dl2;_14-=(_Z3._74-_Z3._54-_Z3.height)/_el2;width=_Z3._64/_dl2;height=_Z3._74/_el2;}else if(!this._Z3){_04=_14=0;width=height=1;}else {width=this._Z3._24-_04;height=this._Z3._34-_14;}for(let i=0;i<_x5;i+=2){uvs[i]=_04+_cl2[i]*width;uvs[i+1]=_14+_cl2[i+1]*height;}}_fl2(){return this._gl2;}_hl2(_gl2){this._gl2=_gl2;if(_gl2){this.bones=_gl2.bones;this.vertices=_gl2.vertices;this._T8=_gl2._T8;this._cl2=_gl2._cl2;this.triangles=_gl2.triangles;this._il2=_gl2._il2;
this._T8=_gl2._T8;}}_Br(){if(this._gl2)return this._jl2();let _Br=new _j8(this.name);_Br._Z3=this._Z3;_Br.path=this.path;_Br.color._m4(this.color);this._fi2(_Br);_Br._cl2=new Array(this._cl2.length);_4h2._zh2(this._cl2,0,_Br._cl2,0,this._cl2.length);_Br.uvs=new Array(this.uvs.length);_4h2._zh2(this.uvs,0,_Br.uvs,0,this.uvs.length);_Br.triangles=new Array(this.triangles.length);_4h2._zh2(this.triangles,0,_Br.triangles,0,this.triangles.length);_Br._il2=this._il2;if(this.edges){_Br.edges=new Array(this.edges.length);
_4h2._zh2(this.edges,0,_Br.edges,0,this.edges.length);}_Br.width=this.width;_Br.height=this.height;return _Br;}_jl2(){let _Br=new _j8(this.name);_Br._Z3=this._Z3;_Br.path=this.path;_Br.color._m4(this.color);_Br._8i2=this._8i2;_Br._hl2(this._gl2?this._gl2:this);_Br._bl2();return _Br;}};var _mg2=class  extends _6h2{constructor(name){super(name);this.closed=false;this._kl2=false;this.color=new _m3(1,1,1,1);}_Br(){let _Br=new _mg2(this.name);this._fi2(_Br);_Br.lengths=new Array(this.lengths.length);_4h2._zh2(this.lengths,
0,_Br.lengths,0,this.lengths.length);_Br.closed=closed;_Br._kl2=this._kl2;_Br.color._m4(this.color);return _Br;}};var _sg2=class  extends _6h2{constructor(name){super(name);this.color=new _m3(0.38,0.94,0,1);}_ll2(bone,_ew1){_ew1.x=this.x*bone._l3+this.y*bone._k3+bone._l6;_ew1.y=this.x*bone.c+this.y*bone._Fl+bone._m6;return _ew1;}_ml2(bone){let cos=_jg2._mh2(this.rotation),sin=_jg2._oh2(this.rotation);let x=cos*bone._l3+sin*bone._k3;let y=cos*bone.c+sin*bone._Fl;return Math.atan2(y,x)*_jg2._vh2;}_Br(){let _Br=new _sg2(this.name);
_Br.x=this.x;_Br.y=this.y;_Br.rotation=this.rotation;_Br.color._m4(this.color);return _Br;}};var _nl2=class  extends _Sf2{constructor(name){super(name);this.x=0;this.y=0;this.scaleX=1;this.scaleY=1;this.rotation=0;this.width=0;this.height=0;this.color=new _m3(1,1,1,1);this.offset=_4h2._Jh2(8);this.uvs=_4h2._Jh2(8);this._al2=new _m3(1,1,1,1);}_n4(){let _Z3=this._Z3;let _ol2=this.width/this._Z3._64*this.scaleX;let _pl2=this.height/this._Z3._74*this.scaleY;let _ql2=-this.width/2*this.scaleX+this._Z3._44*_ol2;
let _rl2=-this.height/2*this.scaleY+this._Z3._54*_pl2;let _sl2=_ql2+this._Z3.width*_ol2;let _tl2=_rl2+this._Z3.height*_pl2;let _ul2=this.rotation*Math.PI/180;let cos=Math.cos(_ul2);let sin=Math.sin(_ul2);let x=this.x,y=this.y;let _vl2=_ql2*cos+x;let _wl2=_ql2*sin;let _xl2=_rl2*cos+y;let _yl2=_rl2*sin;let _zl2=_sl2*cos+x;let _Al2=_sl2*sin;let _Bl2=_tl2*cos+y;let _Cl2=_tl2*sin;let offset=this.offset;offset[0]=_vl2-_yl2;offset[1]=_xl2+_wl2;offset[2]=_vl2-_Cl2;offset[3]=_Bl2+_wl2;offset[4]=_zl2-_Cl2;offset[5]=_Bl2+_Al2;
offset[6]=_zl2-_yl2;offset[7]=_xl2+_Al2;}_Dl2(_Z3){this._Z3=_Z3;let uvs=this.uvs;if(_Z3._84==90){uvs[2]=_Z3._04;uvs[3]=_Z3._34;uvs[4]=_Z3._04;uvs[5]=_Z3._14;uvs[6]=_Z3._24;uvs[7]=_Z3._14;uvs[0]=_Z3._24;uvs[1]=_Z3._34;}else {uvs[0]=_Z3._04;uvs[1]=_Z3._34;uvs[2]=_Z3._04;uvs[3]=_Z3._14;uvs[4]=_Z3._24;uvs[5]=_Z3._14;uvs[6]=_Z3._24;uvs[7]=_Z3._34;}}_N8(bone,_9i2,offset,_K9){let _El2=this.offset;let x=bone._l6,y=bone._m6;let _l3=bone._l3,_k3=bone._k3,c=bone.c,_Fl=bone._Fl;let _44=0,_54=0;_44=_El2[0];_54=_El2[1];
_9i2[offset]=_44*_l3+_54*_k3+x;_9i2[offset+1]=_44*c+_54*_Fl+y;offset+=_K9;_44=_El2[2];_54=_El2[3];_9i2[offset]=_44*_l3+_54*_k3+x;_9i2[offset+1]=_44*c+_54*_Fl+y;offset+=_K9;_44=_El2[4];_54=_El2[5];_9i2[offset]=_44*_l3+_54*_k3+x;_9i2[offset+1]=_44*c+_54*_Fl+y;offset+=_K9;_44=_El2[6];_54=_El2[7];_9i2[offset]=_44*_l3+_54*_k3+x;_9i2[offset+1]=_44*c+_54*_Fl+y;}_Br(){let _Br=new _nl2(this.name);_Br._Z3=this._Z3;_Br._O3=this._O3;_Br.path=this.path;_Br.x=this.x;_Br.y=this.y;_Br.scaleX=this.scaleX;_Br.scaleY=this.scaleY;
_Br.rotation=this.rotation;_Br.width=this.width;_Br.height=this.height;_4h2._zh2(this.uvs,0,_Br.uvs,0,8);_4h2._zh2(this.offset,0,_Br.offset,0,8);_Br.color._m4(this.color);return _Br;}};var _h8=_nl2;_h8._Fl2=0;_h8._Gl2=1;_h8._Hl2=2;_h8._Il2=3;_h8._Jl2=4;_h8._Kl2=5;_h8._Ll2=6;_h8._Ml2=7;_h8._Nl2=8;_h8._Ol2=9;_h8._Pl2=10;_h8._Ql2=11;_h8._Rl2=12;_h8._Sl2=13;_h8._Tl2=14;_h8._Ul2=15;_h8._Vl2=16;_h8._Wl2=17;_h8._Xl2=18;_h8._Yl2=19;_h8._Zl2=20;_h8.__l2=21;_h8._0m2=22;_h8._1m2=23;_h8._2m2=24;_h8._3m2=25;_h8._4m2=26;
_h8._5m2=27;_h8._6m2=28;_h8._7m2=29;_h8._8m2=30;_h8._9m2=31;var _g4=class {constructor(_b4){this._b4=_b4;}_i4(skin,name,path){let _Z3=this._b4._3l2(path);if(!_Z3)throw new Error("Region not found in atlas: "+path+" (region attachment: "+name+")");_Z3._O8=_Z3;let attachment=new _h8(name);attachment._Dl2(_Z3);return attachment;}_am2(skin,name,path){let _Z3=this._b4._3l2(path);if(!_Z3)throw new Error("Region not found in atlas: "+path+" (mesh attachment: "+name+")");_Z3._O8=_Z3;let attachment=new _j8(name);attachment._Z3=_Z3;
return attachment;}_bm2(skin,name){return new _l8(name);}_cm2(skin,name){return new _mg2(name);}_dm2(skin,name){return new _sg2(name);}_em2(skin,name){return new _U8(name);}};var _Wf2=class {constructor(index,name,parent){this.x=0;this.y=0;this.rotation=0;this.scaleX=1;this.scaleY=1;this.shearX=0;this.shearY=0;this._pg1=__g2.Normal;this._fm2=false;this.color=new _m3();if(index<0)throw new Error("index must be >= 0.");if(!name)throw new Error("name cannot be null.");this.index=index;this.name=name;this.parent=parent;
}};var __g2;(function(_gm2){_gm2[_gm2["Normal"]=0]="Normal";_gm2[_gm2["OnlyTranslation"]=1]="OnlyTranslation";_gm2[_gm2["NoRotationOrReflection"]=2]="NoRotationOrReflection";_gm2[_gm2["NoScale"]=3]="NoScale";_gm2[_gm2["NoScaleOrReflection"]=4]="NoScaleOrReflection";})(__g2||(__g2={}));var _Vf2=class {constructor(data,skeleton,parent){this._jp1=new Array();this.x=0;this.y=0;this.rotation=0;this.scaleX=0;this.scaleY=0;this.shearX=0;this.shearY=0;this.ax=0;this.ay=0;this._r6=0;this._hm2=0;this._im2=0;this._jm2=0;
this._km2=0;this._l3=0;this._k3=0;this.c=0;this._Fl=0;this._m6=0;this._l6=0;this._lm2=false;this.active=false;if(!data)throw new Error("data cannot be null.");if(!skeleton)throw new Error("skeleton cannot be null.");this.data=data;this.skeleton=skeleton;this.parent=parent;this._mm2();}_yc1(){return this.active;}_Q4(){this._nm2(this.ax,this.ay,this._r6,this._hm2,this._im2,this._jm2,this._km2);}_F4(){this._nm2(this.x,this.y,this.rotation,this.scaleX,this.scaleY,this.shearX,this.shearY);}_nm2(x,y,rotation,
scaleX,scaleY,shearX,shearY){this.ax=x;this.ay=y;this._r6=rotation;this._hm2=scaleX;this._im2=scaleY;this._jm2=shearX;this._km2=shearY;let parent=this.parent;if(!parent){let skeleton=this.skeleton;let _om2=rotation+90+shearY;let _XY=skeleton.scaleX;let _YY=skeleton.scaleY;this._l3=_jg2._mh2(rotation+shearX)*scaleX*_XY;this._k3=_jg2._mh2(_om2)*scaleY*_XY;this.c=_jg2._oh2(rotation+shearX)*scaleX*_YY;this._Fl=_jg2._oh2(_om2)*scaleY*_YY;this._l6=x*_XY+skeleton.x;this._m6=y*_YY+skeleton.y;return;}let _GI1=parent._l3,
_HI1=parent._k3,_qH1=parent.c,_pm2=parent._Fl;this._l6=_GI1*x+_HI1*y+parent._l6;this._m6=_qH1*x+_pm2*y+parent._m6;switch(this.data._pg1){case __g2.Normal:{let _om2=rotation+90+shearY;let _qm2=_jg2._mh2(rotation+shearX)*scaleX;let _rm2=_jg2._mh2(_om2)*scaleY;let _sm2=_jg2._oh2(rotation+shearX)*scaleX;let _tm2=_jg2._oh2(_om2)*scaleY;this._l3=_GI1*_qm2+_HI1*_sm2;this._k3=_GI1*_rm2+_HI1*_tm2;this.c=_qH1*_qm2+_pm2*_sm2;this._Fl=_qH1*_rm2+_pm2*_tm2;return;}case __g2.OnlyTranslation:{let _om2=rotation+90+shearY;
this._l3=_jg2._mh2(rotation+shearX)*scaleX;this._k3=_jg2._mh2(_om2)*scaleY;this.c=_jg2._oh2(rotation+shearX)*scaleX;this._Fl=_jg2._oh2(_om2)*scaleY;break;}case __g2.NoRotationOrReflection:{let _rh=_GI1*_GI1+_qH1*_qH1;let _um2=0;if(_rh>1e-4){_rh=Math.abs(_GI1*_pm2-_HI1*_qH1)/_rh;_GI1/=this.skeleton.scaleX;_qH1/=this.skeleton.scaleY;_HI1=_qH1*_rh;_pm2=_GI1*_rh;_um2=Math.atan2(_qH1,_GI1)*_jg2._vh2;}else {_GI1=0;_qH1=0;_um2=90-Math.atan2(_pm2,_HI1)*_jg2._vh2;}let _gz=rotation+shearX-_um2;let _hz=rotation+shearY-_um2+90;
let _qm2=_jg2._mh2(_gz)*scaleX;let _rm2=_jg2._mh2(_hz)*scaleY;let _sm2=_jg2._oh2(_gz)*scaleX;let _tm2=_jg2._oh2(_hz)*scaleY;this._l3=_GI1*_qm2-_HI1*_sm2;this._k3=_GI1*_rm2-_HI1*_tm2;this.c=_qH1*_qm2+_pm2*_sm2;this._Fl=_qH1*_rm2+_pm2*_tm2;break;}case __g2.NoScale:case __g2.NoScaleOrReflection:{let cos=_jg2._mh2(rotation);let sin=_jg2._oh2(rotation);let _Hv=(_GI1*cos+_HI1*sin)/this.skeleton.scaleX;let _vm2=(_qH1*cos+_pm2*sin)/this.skeleton.scaleY;let _rh=Math.sqrt(_Hv*_Hv+_vm2*_vm2);if(_rh>1e-5)_rh=1/_rh;_Hv*=_rh;
_vm2*=_rh;_rh=Math.sqrt(_Hv*_Hv+_vm2*_vm2);if(this.data._pg1==__g2.NoScale&&_GI1*_pm2-_HI1*_qH1<0!=(this.skeleton.scaleX<0!=this.skeleton.scaleY<0))_rh=-_rh;let _i3=Math.PI/2+Math.atan2(_vm2,_Hv);let _wm2=Math.cos(_i3)*_rh;let _xm2=Math.sin(_i3)*_rh;let _qm2=_jg2._mh2(shearX)*scaleX;let _rm2=_jg2._mh2(90+shearY)*scaleY;let _sm2=_jg2._oh2(shearX)*scaleX;let _tm2=_jg2._oh2(90+shearY)*scaleY;this._l3=_Hv*_qm2+_wm2*_sm2;this._k3=_Hv*_rm2+_wm2*_tm2;this.c=_vm2*_qm2+_xm2*_sm2;this._Fl=_vm2*_rm2+_xm2*_tm2;break;
}}this._l3*=this.skeleton.scaleX;this._k3*=this.skeleton.scaleX;this.c*=this.skeleton.scaleY;this._Fl*=this.skeleton.scaleY;}_mm2(){let data=this.data;this.x=data.x;this.y=data.y;this.rotation=data.rotation;this.scaleX=data.scaleX;this.scaleY=data.scaleY;this.shearX=data.shearX;this.shearY=data.shearY;}_n6(){return Math.atan2(this.c,this._l3)*_jg2._vh2;}_o6(){return Math.atan2(this._Fl,this._k3)*_jg2._vh2;}_p6(){return Math.sqrt(this._l3*this._l3+this.c*this.c);}_q6(){return Math.sqrt(this._k3*this._k3+this._Fl*this._Fl);
}_ym2(){let parent=this.parent;if(!parent){this.ax=this._l6-this.skeleton.x;this.ay=this._m6-this.skeleton.y;this._r6=Math.atan2(this.c,this._l3)*_jg2._vh2;this._hm2=Math.sqrt(this._l3*this._l3+this.c*this.c);this._im2=Math.sqrt(this._k3*this._k3+this._Fl*this._Fl);this._jm2=0;this._km2=Math.atan2(this._l3*this._k3+this.c*this._Fl,this._l3*this._Fl-this._k3*this.c)*_jg2._vh2;return;}let _GI1=parent._l3,_HI1=parent._k3,_qH1=parent.c,_pm2=parent._Fl;let _zm2=1/(_GI1*_pm2-_HI1*_qH1);let _ha=this._l6-parent._l6,
_ia=this._m6-parent._m6;this.ax=_ha*_pm2*_zm2-_ia*_HI1*_zm2;this.ay=_ia*_GI1*_zm2-_ha*_qH1*_zm2;let _Am2=_zm2*_pm2;let id=_zm2*_GI1;let _Bm2=_zm2*_HI1;let _Cm2=_zm2*_qH1;let _Dm2=_Am2*this._l3-_Bm2*this.c;let _Em2=_Am2*this._k3-_Bm2*this._Fl;let _Fm2=id*this.c-_Cm2*this._l3;let _Gm2=id*this._Fl-_Cm2*this._k3;this._jm2=0;this._hm2=Math.sqrt(_Dm2*_Dm2+_Fm2*_Fm2);if(this._hm2>1e-4){let _Iq1=_Dm2*_Gm2-_Em2*_Fm2;this._im2=_Iq1/this._hm2;this._km2=Math.atan2(_Dm2*_Em2+_Fm2*_Gm2,_Iq1)*_jg2._vh2;this._r6=Math.atan2(_Fm2,
_Dm2)*_jg2._vh2;}else {this._hm2=0;this._im2=Math.sqrt(_Em2*_Em2+_Gm2*_Gm2);this._km2=0;this._r6=90-Math.atan2(_Gm2,_Em2)*_jg2._vh2;}}_u6(_vB1){let _Hm2=1/(this._l3*this._Fl-this._k3*this.c);let x=_vB1.x-this._l6,y=_vB1.y-this._m6;_vB1.x=x*this._Fl*_Hm2-y*this._k3*_Hm2;_vB1.y=y*this._l3*_Hm2-x*this.c*_Hm2;return _vB1;}_Im2(_Eh){let x=_Eh.x,y=_Eh.y;_Eh.x=x*this._l3+y*this._k3+this._l6;_Eh.y=x*this.c+y*this._Fl+this._m6;return _Eh;}_Jm2(_Km2){let sin=_jg2._oh2(_Km2),cos=_jg2._mh2(_Km2);return Math.atan2(this._l3*sin-this.c*cos,
this._Fl*cos-this._k3*sin)*_jg2._vh2+this.rotation-this.shearX;}_Lm2(_Mm2){_Mm2-=this.rotation-this.shearX;let sin=_jg2._oh2(_Mm2),cos=_jg2._mh2(_Mm2);return Math.atan2(cos*this.c+sin*this._Fl,cos*this._l3+sin*this._k3)*_jg2._vh2;}_Nm2(_84){let _l3=this._l3,_k3=this._k3,c=this.c,_Fl=this._Fl;let cos=_jg2._mh2(_84),sin=_jg2._oh2(_84);this._l3=cos*_l3-sin*c;this._k3=cos*_k3-sin*_Fl;this.c=sin*_l3+cos*c;this._Fl=sin*_k3+cos*_Fl;}};var _Yf2=class {constructor(name,_Om2,_fm2){this.name=name;this._Om2=_Om2;
this._fm2=_fm2;}};var _Rf2=class {constructor(_Pm2,_6l2="",_Qm2=null){this.assets={};this._Rm2={};this._Sm2=0;this._Rg=0;this._Pm2=_Pm2;this._6l2=_6l2;this._Qm2=_Qm2||new _3g2();}start(path){this._Sm2++;return this._6l2+path;}_P_(_jl1,path,_Ia1){this._Sm2--;this._Rg++;this.assets[path]=_Ia1;if(_jl1)_jl1(path,_Ia1);}error(_jl1,path,message){this._Sm2--;this._Rg++;this._Rm2[path]=message;if(_jl1)_jl1(path,message);}_Tm2(path,data){this._Qm2._Um2[this._6l2+path]=data;}_Vm2(path,_P_=null,error=null){path=this.start(path);
this._Qm2._Wm2(path,(data)=>{this._P_(_P_,path,data);},(status,responseText)=>{this.error(error,path,"Couldn't load binary "+path+": status "+status+", "+responseText);});}_Xm2(path,_P_=null,error=null){path=this.start(path);this._Qm2._Ym2(path,(data)=>{this._P_(_P_,path,data);},(status,responseText)=>{this.error(error,path,"Couldn't load text "+path+": status "+status+", "+responseText);});}_Zm2(path,_P_=null,error=null){path=this.start(path);this._Qm2.__m2(path,(data)=>{this._P_(_P_,path,data);
},(status,responseText)=>{this.error(error,path,"Couldn't load JSON "+path+": status "+status+", "+responseText);});}_G7(path,_P_=null,error=null){path=this.start(path);let _0n2=!!(typeof window!=="undefined"&&typeof navigator!=="undefined"&&window.document);let _1n2=!_0n2;if(_1n2){_2n2(path,{mode:"cors"}).then((response)=>{if(response._zE)return response._3n2();this.error(error,path,"Couldn't load image: "+path);return null;}).then((_3n2)=>{return _3n2?_4n2(_3n2,{_5n2:"none",_6n2:"none"}):null;}).then((_7n2)=>{
if(_7n2)this._P_(_P_,path,this._Pm2(_7n2));});}else {let _W3=new Image();_W3.crossOrigin=_1N;_W3.onload=()=>{this._P_(_P_,path,this._Pm2(_W3));};_W3.onerror=()=>{this.error(error,path,"Couldn't load image: "+path);};if(this._Qm2._Um2[path])path=this._Qm2._Um2[path];_W3.src=_tG(null,null,path);}}_8n2(path,_P_=null,error=null){let index=path.lastIndexOf("/");let parent=index>=0?path.substring(0,index+1):"";path=this.start(path);this._Qm2._Ym2(path,(_Vk2)=>{try{let _b4=new _c4(_Vk2);let _Sm2=_b4._d4.length,
_9n2=false;for(let _M3 of _b4._d4){this._G7(parent+_M3.name,(_an2,texture)=>{if(!_9n2){_M3._U7(texture);if(--_Sm2==0)this._P_(_P_,path,_b4);}},(_an2,message)=>{if(!_9n2)this.error(error,path,"Couldn't load texture atlas "+path+" page image: "+_an2);_9n2=true;});}}catch(e){this.error(error,path,"Couldn't parse texture atlas "+path+": "+e.message);}},(status,responseText)=>{this.error(error,path,"Couldn't load texture atlas "+path+": status "+status+", "+responseText);});}get(path){return this.assets[this._6l2+path];
}require(path){path=this._6l2+path;let _Ia1=this.assets[path];if(_Ia1)return _Ia1;let error=this._Rm2[path];throw Error("Asset not found: "+path+(error?"\n"+error:""));}remove(path){path=this._6l2+path;let _Ia1=this.assets[path];if(_Ia1.dispose)_Ia1.dispose();delete this.assets[path];return _Ia1;}_bn2(){for(let key in this.assets){let _Ia1=this.assets[key];if(_Ia1.dispose)_Ia1.dispose();}this.assets={};}_cn2(){return this._Sm2==0;}_dn2(){return this._Sm2;}_en2(){return this._Rg;}dispose(){this._bn2();}_fn2(){
return Object.keys(this._Rm2).length>0;}_gn2(){return this._Rm2;}};var _3g2=class {constructor(){this._hn2={};this._Um2={};}_in2(_jn2){if(!_jn2.startsWith("data:")){throw new Error("Not a data URI.");}let _kn2=_jn2.indexOf("base64,");if(_kn2!=-1){_kn2+="base64,".length;return _ln2(_jn2.substr(_kn2));}else {return _jn2.substr(_jn2.indexOf(",")+1);}}_mn2(_Jg){var _nn2=window._ln2(_Jg);var _1i=_nn2.length;var _7g=new Uint8Array(_1i);for(var i=0;i<_1i;i++){_7g[i]=_nn2.charCodeAt(i);}return _7g;}_on2(_jn2){if(!_jn2.startsWith("data:")){
throw new Error("Not a data URI.");}let _kn2=_jn2.indexOf("base64,");if(_kn2==-1)throw new Error("Not a binary data URI.");_kn2+="base64,".length;return this._mn2(_jn2.substr(_kn2));}_Ym2(_Hg,_P_,error){if(this.start(_Hg,_P_,error))return;if(this._Um2[_Hg]){try{let _jn2=this._Um2[_Hg];this._tU1(_Hg,200,this._in2(_jn2));}catch(e){this._tU1(_Hg,400,JSON.stringify(e));}return;}let _Pa1=new XMLHttpRequest();_Pa1.overrideMimeType("text/html");_Pa1.open("GET",_Hg,true);let _9B1=()=>{this._tU1(_Hg,_Pa1.status,_Pa1.responseText);
};_Pa1.onload=_9B1;_Pa1.onerror=_9B1;_Pa1.send();}__m2(_Hg,_P_,error){this._Ym2(_Hg,(data)=>{_P_(JSON.parse(data));},error);}_Wm2(_Hg,_P_,error){if(this.start(_Hg,_P_,error))return;if(this._Um2[_Hg]){try{let _jn2=this._Um2[_Hg];this._tU1(_Hg,200,this._on2(_jn2));}catch(e){this._tU1(_Hg,400,JSON.stringify(e));}return;}let _Pa1=new XMLHttpRequest();_Pa1.open("GET",_Hg,true);_Pa1.responseType="arraybuffer";let onerror=()=>{this._tU1(_Hg,_Pa1.status,_Pa1.response);};_Pa1.onload=()=>{if(_Pa1.status==200)this._tU1(_Hg,
200,new Uint8Array(_Pa1.response));else onerror();};_Pa1.onerror=onerror;_Pa1.send();}start(_Hg,_P_,error){let _hn2=this._hn2[_Hg];try{if(_hn2)return true;this._hn2[_Hg]=_hn2=[];}finally{_hn2.push(_P_,error);}}_tU1(_Hg,status,data){let _hn2=this._hn2[_Hg];delete this._hn2[_Hg];let _Mj=status==200?[data]:[status,data];for(let i=_Mj.length-1,_x5=_hn2.length;i<_x5;i+=2)_hn2[i].apply(null,_Mj);}};var Event=class {constructor(time,data){if(!data)throw new Error("data cannot be null.");this.time=time;this.data=data;
}};var _5g2=class {constructor(name){this.name=name;}};var _dg2=class {constructor(data,skeleton){this._dj2=0;this.compress=false;this.stretch=false;this.mix=1;this._cj2=0;this.active=false;if(!data)throw new Error("data cannot be null.");if(!skeleton)throw new Error("skeleton cannot be null.");this.data=data;this.mix=data.mix;this._cj2=data._cj2;this._dj2=data._dj2;this.compress=data.compress;this.stretch=data.stretch;this.bones=new Array();for(let i=0;i<data.bones.length;i++)this.bones.push(skeleton._e6(data.bones[i].name));
this.target=skeleton._e6(data.target.name);}_yc1(){return this.active;}_Q4(){if(this.mix==0)return;let target=this.target;let bones=this.bones;switch(bones.length){case 1:this._pn2(bones[0],target._l6,target._m6,this.compress,this.stretch,this.data._qn2,this.mix);break;case 2:this._rn2(bones[0],bones[1],target._l6,target._m6,this._dj2,this.stretch,this.data._qn2,this._cj2,this.mix);break;}}_pn2(bone,_sn2,_tn2,compress,stretch,_qn2,alpha){let _kg=bone.parent;let _GI1=_kg._l3,_HI1=_kg._k3,_qH1=_kg.c,_pm2=_kg._Fl;
let _un2=-bone._jm2-bone._r6,_FZ=0,_GZ=0;switch(bone.data._pg1){case __g2.OnlyTranslation:_FZ=_sn2-bone._l6;_GZ=_tn2-bone._m6;break;case __g2.NoRotationOrReflection:let _rh=Math.abs(_GI1*_pm2-_HI1*_qH1)/(_GI1*_GI1+_qH1*_qH1);let _vn2=_GI1/bone.skeleton.scaleX;let _wn2=_qH1/bone.skeleton.scaleY;_HI1=-_wn2*_rh*bone.skeleton.scaleX;_pm2=_vn2*_rh*bone.skeleton.scaleY;_un2+=Math.atan2(_wn2,_vn2)*_jg2._vh2;default :let x=_sn2-_kg._l6,y=_tn2-_kg._m6;let _Fl=_GI1*_pm2-_HI1*_qH1;_FZ=(x*_pm2-y*_HI1)/_Fl-bone.ax;_GZ=(y*_GI1-x*_qH1)/_Fl-bone.ay;
}_un2+=Math.atan2(_GZ,_FZ)*_jg2._vh2;if(bone._hm2<0)_un2+=180;if(_un2>180)_un2-=360;else if(_un2<-180)_un2+=360;let _XY=bone._hm2,_YY=bone._im2;if(compress||stretch){switch(bone.data._pg1){case __g2.NoScale:case __g2.NoScaleOrReflection:_FZ=_sn2-bone._l6;_GZ=_tn2-bone._m6;}let _k3=bone.data.length*_XY,_6L=Math.sqrt(_FZ*_FZ+_GZ*_GZ);if(compress&&_6L<_k3||stretch&&_6L>_k3&&_k3>1e-4){let _rh=(_6L/_k3-1)*alpha+1;_XY*=_rh;if(_qn2)_YY*=_rh;}}bone._nm2(bone.ax,bone.ay,bone._r6+_un2*alpha,_XY,_YY,bone._jm2,bone._km2);
}_rn2(parent,_xn2,_sn2,_tn2,_yn2,stretch,_qn2,_cj2,alpha){let _Ft=parent.ax,_Gt=parent.ay,_zn2=parent._hm2,_An2=parent._im2,_XY=_zn2,_YY=_An2,_Bn2=_xn2._hm2;let _Cn2=0,_Dn2=0,_NA=0;if(_zn2<0){_zn2=-_zn2;_Cn2=180;_NA=-1;}else {_Cn2=0;_NA=1;}if(_An2<0){_An2=-_An2;_NA=-_NA;}if(_Bn2<0){_Bn2=-_Bn2;_Dn2=180;}else _Dn2=0;let _lt=_xn2.ax,_mt=0,_En2=0,_Fn2=0,_l3=parent._l3,_k3=parent._k3,c=parent.c,_Fl=parent._Fl;let _04=Math.abs(_zn2-_An2)<=1e-4;if(!_04||stretch){_mt=0;_En2=_l3*_lt+parent._l6;_Fn2=c*_lt+parent._m6;
}else {_mt=_xn2.ay;_En2=_l3*_lt+_k3*_mt+parent._l6;_Fn2=c*_lt+_Fl*_mt+parent._m6;}let _Gn2=parent.parent;_l3=_Gn2._l3;_k3=_Gn2._k3;c=_Gn2.c;_Fl=_Gn2._Fl;let id=1/(_l3*_Fl-_k3*c),x=_En2-_Gn2._l6,y=_Fn2-_Gn2._m6;let _ha=(x*_Fl-y*_k3)*id-_Ft,_ia=(y*_l3-x*c)*id-_Gt;let _Hn2=Math.sqrt(_ha*_ha+_ia*_ia),_aZ1=_xn2.data.length*_Bn2,_Si1,_Ti1;if(_Hn2<1e-4){this._pn2(parent,_sn2,_tn2,false,stretch,false,alpha);_xn2._nm2(_lt,_mt,0,_xn2._hm2,_xn2._im2,_xn2._jm2,_xn2._km2);return;}x=_sn2-_Gn2._l6;y=_tn2-_Gn2._m6;let _FZ=(x*_Fl-y*_k3)*id-_Ft,
_GZ=(y*_l3-x*c)*id-_Gt;let _6L=_FZ*_FZ+_GZ*_GZ;if(_cj2!=0){_cj2*=_zn2*(_Bn2+1)*0.5;let _In2=Math.sqrt(_6L),_Jn2=_In2-_Hn2-_aZ1*_zn2+_cj2;if(_Jn2>0){let _kg=Math.min(1,_Jn2/(_cj2*2))-1;_kg=(_Jn2-_cj2*(1-_kg*_kg))/_In2;_FZ-=_kg*_FZ;_GZ-=_kg*_GZ;_6L=_FZ*_FZ+_GZ*_GZ;}}_Ck2:if(_04){_aZ1*=_zn2;let cos=(_6L-_Hn2*_Hn2-_aZ1*_aZ1)/(2*_Hn2*_aZ1);if(cos<-1){cos=-1;_Ti1=Math.PI*_yn2;}else if(cos>1){cos=1;_Ti1=0;if(stretch){_l3=(Math.sqrt(_6L)/(_Hn2+_aZ1)-1)*alpha+1;_XY*=_l3;if(_qn2)_YY*=_l3;}}else _Ti1=Math.acos(cos)*_yn2;
_l3=_Hn2+_aZ1*cos;_k3=_aZ1*Math.sin(_Ti1);_Si1=Math.atan2(_GZ*_l3-_FZ*_k3,_FZ*_l3+_GZ*_k3);}else {_l3=_zn2*_aZ1;_k3=_An2*_aZ1;let _Kn2=_l3*_l3,_bK=_k3*_k3,_Ln2=Math.atan2(_GZ,_FZ);c=_bK*_Hn2*_Hn2+_Kn2*_6L-_Kn2*_bK;let _ag=-2*_bK*_Hn2,_bg=_bK-_Kn2;_Fl=_ag*_ag-4*_bg*c;if(_Fl>=0){let q=Math.sqrt(_Fl);if(_ag<0)q=-q;q=-(_ag+q)*0.5;let _qK1=q/_bg,_0H=c/q;let _i3=Math.abs(_qK1)<Math.abs(_0H)?_qK1:_0H;if(_i3*_i3<=_6L){y=Math.sqrt(_6L-_i3*_i3)*_yn2;_Si1=_Ln2-Math.atan2(y,_i3);_Ti1=Math.atan2(y/_An2,(_i3-_Hn2)/_zn2);
break _Ck2;}}let _Mn2=_jg2.PI,_85=_Hn2-_l3,_Nn2=_85*_85,_a5=0;let _On2=0,_95=_Hn2+_l3,_Pn2=_95*_95,_b5=0;c=-_l3*_Hn2/(_Kn2-_bK);if(c>=-1&&c<=1){c=Math.acos(c);x=_l3*Math.cos(c)+_Hn2;y=_k3*Math.sin(c);_Fl=x*x+y*y;if(_Fl<_Nn2){_Mn2=c;_Nn2=_Fl;_85=x;_a5=y;}if(_Fl>_Pn2){_On2=c;_Pn2=_Fl;_95=x;_b5=y;}}if(_6L<=(_Nn2+_Pn2)*0.5){_Si1=_Ln2-Math.atan2(_a5*_yn2,_85);_Ti1=_Mn2*_yn2;}else {_Si1=_Ln2-Math.atan2(_b5*_yn2,_95);_Ti1=_On2*_yn2;}}let _sV1=Math.atan2(_mt,_lt)*_NA;let rotation=parent._r6;_Si1=(_Si1-_sV1)*_jg2._vh2+_Cn2-rotation;
if(_Si1>180)_Si1-=360;else if(_Si1<-180)_Si1+=360;parent._nm2(_Ft,_Gt,rotation+_Si1*alpha,_XY,_YY,0,0);rotation=_xn2._r6;_Ti1=((_Ti1+_sV1)*_jg2._vh2-_xn2._jm2)*_NA+_Dn2-rotation;if(_Ti1>180)_Ti1-=360;else if(_Ti1<-180)_Ti1+=360;_xn2._nm2(_lt,_mt,rotation+_Ti1*alpha,_xn2._hm2,_xn2._im2,_xn2._jm2,_xn2._km2);}};var _eg2=class  extends _Yf2{constructor(name){super(name,0,false);this.bones=new Array();this._dj2=1;this.compress=false;this.stretch=false;this._qn2=false;this.mix=1;this._cj2=0;}};var _og2=class  extends _Yf2{
constructor(name){super(name,0,false);this.bones=new Array();this._hj2=0;this._ij2=0;this._jj2=0;}};var _ug2;(function(_Qn2){_Qn2[_Qn2["Fixed"]=0]="Fixed";_Qn2[_Qn2["Percent"]=1]="Percent";})(_ug2||(_ug2={}));var _Qg2;(function(_Rn2){_Rn2[_Rn2["Length"]=0]="Length";_Rn2[_Rn2["Fixed"]=1]="Fixed";_Rn2[_Rn2["Percent"]=2]="Percent";_Rn2[_Rn2["Proportional"]=3]="Proportional";})(_Qg2||(_Qg2={}));var _Bg2;(function(_Sn2){_Sn2[_Sn2["Tangent"]=0]="Tangent";_Sn2[_Sn2["Chain"]=1]="Chain";_Sn2[_Sn2["ChainScale"]=2]="ChainScale";
})(_Bg2||(_Bg2={}));var _Tn2=class {constructor(data,skeleton){this.position=0;this.spacing=0;this._hj2=0;this._ij2=0;this._jj2=0;this._Un2=new Array();this._cE1=new Array();this._vB1=new Array();this._ti2=new Array();this.lengths=new Array();this._Uh=new Array();this.active=false;if(!data)throw new Error("data cannot be null.");if(!skeleton)throw new Error("skeleton cannot be null.");this.data=data;this.bones=new Array();for(let i=0,_x5=data.bones.length;i<_x5;i++)this.bones.push(skeleton._e6(data.bones[i].name));
this.target=skeleton._a3(data.target.name);this.position=data.position;this.spacing=data.spacing;this._hj2=data._hj2;this._ij2=data._ij2;this._jj2=data._jj2;}_yc1(){return this.active;}_Q4(){let attachment=this.target._e3();if(!(attachment instanceof _mg2))return;let _hj2=this._hj2,_ij2=this._ij2,_jj2=this._jj2;if(_hj2==0&&_ij2==0&&_jj2==0)return;let data=this.data;let _Vn2=data.rotateMode==_Bg2.Tangent,scale=data.rotateMode==_Bg2.ChainScale;let bones=this.bones;let _Wn2=bones.length,_Xn2=_Vn2?_Wn2:_Wn2+1;
let _Un2=_4h2._Gh2(this._Un2,_Xn2),lengths=scale?this.lengths=_4h2._Gh2(this.lengths,_Wn2):null;let spacing=this.spacing;switch(data.spacingMode){case _Qg2.Percent:if(scale){for(let i=0,_x5=_Xn2-1;i<_x5;i++){let bone=bones[i];let _Yn2=bone.data.length;if(_Yn2<_Tn2._2b2)lengths[i]=0;else {let x=_Yn2*bone._l3,y=_Yn2*bone.c;lengths[i]=Math.sqrt(x*x+y*y);}}}_4h2._Dh2(_Un2,1,_Xn2,spacing);break;case _Qg2._Zn2:let __n2=0;for(let i=0,_x5=_Xn2-1;i<_x5;){let bone=bones[i];let _Yn2=bone.data.length;if(_Yn2<_Tn2._2b2){
if(scale)lengths[i]=0;_Un2[++i]=spacing;}else {let x=_Yn2*bone._l3,y=_Yn2*bone.c;let length=Math.sqrt(x*x+y*y);if(scale)lengths[i]=length;_Un2[++i]=length;__n2+=length;}}if(__n2>0){__n2=_Xn2/__n2*spacing;for(let i=1;i<_Xn2;i++)_Un2[i]*=__n2;}break;default :let _0o2=data.spacingMode==_Qg2.Length;for(let i=0,_x5=_Xn2-1;i<_x5;){let bone=bones[i];let _Yn2=bone.data.length;if(_Yn2<_Tn2._2b2){if(scale)lengths[i]=0;_Un2[++i]=spacing;}else {let x=_Yn2*bone._l3,y=_Yn2*bone.c;let length=Math.sqrt(x*x+y*y);if(scale)lengths[i]=length;
_Un2[++i]=(_0o2?_Yn2+spacing:spacing)*length/_Yn2;}}}let _cE1=this._1o2(attachment,_Xn2,_Vn2);let _2o2=_cE1[0],_3o2=_cE1[1],_4o2=data._4o2;let _5o2=false;if(_4o2==0)_5o2=data.rotateMode==_Bg2.Chain;else {_5o2=false;let _kg=this.target.bone;_4o2*=_kg._l3*_kg._Fl-_kg._k3*_kg.c>0?_jg2._nh2:-_jg2._nh2;}for(let i=0,_kg=3;i<_Wn2;i++,_kg+=3){let bone=bones[i];bone._l6+=(_2o2-bone._l6)*_ij2;bone._m6+=(_3o2-bone._m6)*_jj2;let x=_cE1[_kg],y=_cE1[_kg+1],_ha=x-_2o2,_ia=y-_3o2;if(scale){let length=lengths[i];if(length!=0){
let _rh=(Math.sqrt(_ha*_ha+_ia*_ia)/length-1)*_hj2+1;bone._l3*=_rh;bone.c*=_rh;}}_2o2=x;_3o2=y;if(_hj2>0){let _l3=bone._l3,_k3=bone._k3,c=bone.c,_Fl=bone._Fl,_i3=0,cos=0,sin=0;if(_Vn2)_i3=_cE1[_kg-1];else if(_Un2[i+1]==0)_i3=_cE1[_kg+2];else _i3=Math.atan2(_ia,_ha);_i3-=Math.atan2(c,_l3);if(_5o2){cos=Math.cos(_i3);sin=Math.sin(_i3);let length=bone.data.length;_2o2+=(length*(cos*_l3-sin*c)-_ha)*_hj2;_3o2+=(length*(sin*_l3+cos*c)-_ia)*_hj2;}else {_i3+=_4o2;}if(_i3>_jg2.PI)_i3-=_jg2._th2;else if(_i3<-_jg2.PI)_i3+=_jg2._th2;
_i3*=_hj2;cos=Math.cos(_i3);sin=Math.sin(_i3);bone._l3=cos*_l3-sin*c;bone._k3=cos*_k3-sin*_Fl;bone.c=sin*_l3+cos*c;bone._Fl=sin*_k3+cos*_Fl;}bone._ym2();}}_1o2(path,_Xn2,_Vn2){let target=this.target;let position=this.position;let _Un2=this._Un2,out=_4h2._Gh2(this._cE1,_Xn2*3+2),_vB1=null;let _6o2=path.closed;let _7o2=path._T8,_8o2=_7o2/6,_9o2=_Tn2._ao2;if(!path._kl2){let lengths=path.lengths;_8o2-=_6o2?1:2;let _bo2=lengths[_8o2];if(this.data._co2==_ug2.Percent)position*=_bo2;let _do2;switch(this.data.spacingMode){
case _Qg2.Percent:_do2=_bo2;break;case _Qg2._Zn2:_do2=_bo2/_Xn2;break;default :_do2=1;}_vB1=_4h2._Gh2(this._vB1,8);for(let i=0,_RE=0,curve=0;i<_Xn2;i++,_RE+=3){let _eo2=_Un2[i]*_do2;position+=_eo2;let _kg=position;if(_6o2){_kg%=_bo2;if(_kg<0)_kg+=_bo2;curve=0;}else if(_kg<0){if(_9o2!=_Tn2._fo2){_9o2=_Tn2._fo2;path._N8(target,2,4,_vB1,0,2);}this._go2(_kg,_vB1,0,out,_RE);continue;}else if(_kg>_bo2){if(_9o2!=_Tn2._ho2){_9o2=_Tn2._ho2;path._N8(target,_7o2-6,4,_vB1,0,2);}this._io2(_kg-_bo2,_vB1,0,out,_RE);continue;
}for(;;curve++){let length=lengths[curve];if(_kg>length)continue;if(curve==0)_kg/=length;else {let _mk=lengths[curve-1];_kg=(_kg-_mk)/(length-_mk);}break;}if(curve!=_9o2){_9o2=curve;if(_6o2&&curve==_8o2){path._N8(target,_7o2-4,4,_vB1,0,2);path._N8(target,0,4,_vB1,4,2);}else path._N8(target,curve*6+2,8,_vB1,0,2);}this._jo2(_kg,_vB1[0],_vB1[1],_vB1[2],_vB1[3],_vB1[4],_vB1[5],_vB1[6],_vB1[7],out,_RE,_Vn2||i>0&&_eo2==0);}return out;}if(_6o2){_7o2+=2;_vB1=_4h2._Gh2(this._vB1,_7o2);path._N8(target,2,_7o2-4,
_vB1,0,2);path._N8(target,0,2,_vB1,_7o2-4,2);_vB1[_7o2-2]=_vB1[0];_vB1[_7o2-1]=_vB1[1];}else {_8o2--;_7o2-=4;_vB1=_4h2._Gh2(this._vB1,_7o2);path._N8(target,2,_7o2,_vB1,0,2);}let _ti2=_4h2._Gh2(this._ti2,_8o2);let _ko2=0;let _A5=_vB1[0],_B5=_vB1[1],_Bi2=0,_Ci2=0,_Di2=0,_Ei2=0,_C5=0,_D5=0;let _Gi2=0,_Hi2=0,_lo2=0,_mo2=0,_no2=0,_oo2=0,_po2=0,_qo2=0;for(let i=0,w=2;i<_8o2;i++,w+=6){_Bi2=_vB1[w];_Ci2=_vB1[w+1];_Di2=_vB1[w+2];_Ei2=_vB1[w+3];_C5=_vB1[w+4];_D5=_vB1[w+5];_Gi2=(_A5-_Bi2*2+_Di2)*0.1875;_Hi2=(_B5-_Ci2*2+_Ei2)*0.1875;
_lo2=((_Bi2-_Di2)*3-_A5+_C5)*0.09375;_mo2=((_Ci2-_Ei2)*3-_B5+_D5)*0.09375;_no2=_Gi2*2+_lo2;_oo2=_Hi2*2+_mo2;_po2=(_Bi2-_A5)*0.75+_Gi2+_lo2*0.16666667;_qo2=(_Ci2-_B5)*0.75+_Hi2+_mo2*0.16666667;_ko2+=Math.sqrt(_po2*_po2+_qo2*_qo2);_po2+=_no2;_qo2+=_oo2;_no2+=_lo2;_oo2+=_mo2;_ko2+=Math.sqrt(_po2*_po2+_qo2*_qo2);_po2+=_no2;_qo2+=_oo2;_ko2+=Math.sqrt(_po2*_po2+_qo2*_qo2);_po2+=_no2+_lo2;_qo2+=_oo2+_mo2;_ko2+=Math.sqrt(_po2*_po2+_qo2*_qo2);_ti2[i]=_ko2;_A5=_C5;_B5=_D5;}if(this.data._co2==_ug2.Percent)position*=_ko2;
let _g62;switch(this.data.spacingMode){case _Qg2.Percent:_g62=_ko2;break;case _Qg2._Zn2:_g62=_ko2/_Xn2;break;default :_g62=1;}let _Uh=this._Uh;let _ro2=0;for(let i=0,_RE=0,curve=0,_so2=0;i<_Xn2;i++,_RE+=3){let _eo2=_Un2[i]*_g62;position+=_eo2;let _kg=position;if(_6o2){_kg%=_ko2;if(_kg<0)_kg+=_ko2;curve=0;}else if(_kg<0){this._go2(_kg,_vB1,0,out,_RE);continue;}else if(_kg>_ko2){this._io2(_kg-_ko2,_vB1,_7o2-4,out,_RE);continue;}for(;;curve++){let length=_ti2[curve];if(_kg>length)continue;if(curve==0)_kg/=length;
else {let _mk=_ti2[curve-1];_kg=(_kg-_mk)/(length-_mk);}break;}if(curve!=_9o2){_9o2=curve;let _4F=curve*6;_A5=_vB1[_4F];_B5=_vB1[_4F+1];_Bi2=_vB1[_4F+2];_Ci2=_vB1[_4F+3];_Di2=_vB1[_4F+4];_Ei2=_vB1[_4F+5];_C5=_vB1[_4F+6];_D5=_vB1[_4F+7];_Gi2=(_A5-_Bi2*2+_Di2)*0.03;_Hi2=(_B5-_Ci2*2+_Ei2)*0.03;_lo2=((_Bi2-_Di2)*3-_A5+_C5)*6e-3;_mo2=((_Ci2-_Ei2)*3-_B5+_D5)*6e-3;_no2=_Gi2*2+_lo2;_oo2=_Hi2*2+_mo2;_po2=(_Bi2-_A5)*0.3+_Gi2+_lo2*0.16666667;_qo2=(_Ci2-_B5)*0.3+_Hi2+_mo2*0.16666667;_ro2=Math.sqrt(_po2*_po2+_qo2*_qo2);
_Uh[0]=_ro2;for(_4F=1;_4F<8;_4F++){_po2+=_no2;_qo2+=_oo2;_no2+=_lo2;_oo2+=_mo2;_ro2+=Math.sqrt(_po2*_po2+_qo2*_qo2);_Uh[_4F]=_ro2;}_po2+=_no2;_qo2+=_oo2;_ro2+=Math.sqrt(_po2*_po2+_qo2*_qo2);_Uh[8]=_ro2;_po2+=_no2+_lo2;_qo2+=_oo2+_mo2;_ro2+=Math.sqrt(_po2*_po2+_qo2*_qo2);_Uh[9]=_ro2;_so2=0;}_kg*=_ro2;for(;;_so2++){let length=_Uh[_so2];if(_kg>length)continue;if(_so2==0)_kg/=length;else {let _mk=_Uh[_so2-1];_kg=_so2+(_kg-_mk)/(length-_mk);}break;}this._jo2(_kg*0.1,_A5,_B5,_Bi2,_Ci2,_Di2,_Ei2,_C5,_D5,out,
_RE,_Vn2||i>0&&_eo2==0);}return out;}_go2(_kg,_nK,i,out,_RE){let _A5=_nK[i],_B5=_nK[i+1],_ha=_nK[i+2]-_A5,_ia=_nK[i+3]-_B5,_i3=Math.atan2(_ia,_ha);out[_RE]=_A5+_kg*Math.cos(_i3);out[_RE+1]=_B5+_kg*Math.sin(_i3);out[_RE+2]=_i3;}_io2(_kg,_nK,i,out,_RE){let _A5=_nK[i+2],_B5=_nK[i+3],_ha=_A5-_nK[i],_ia=_B5-_nK[i+1],_i3=Math.atan2(_ia,_ha);out[_RE]=_A5+_kg*Math.cos(_i3);out[_RE+1]=_B5+_kg*Math.sin(_i3);out[_RE+2]=_i3;}_jo2(_kg,_A5,_B5,_Bi2,_Ci2,_Di2,_Ei2,_C5,_D5,out,_RE,_Vn2){if(_kg==0||isNaN(_kg)){out[_RE]=_A5;
out[_RE+1]=_B5;out[_RE+2]=Math.atan2(_Ci2-_B5,_Bi2-_A5);return;}let _8P=_kg*_kg,_to2=_8P*_kg,_04=1-_kg,_uo2=_04*_04,_vo2=_uo2*_04;let _wo2=_04*_kg,_xo2=_wo2*3,_yo2=_04*_xo2,_zo2=_xo2*_kg;let x=_A5*_vo2+_Bi2*_yo2+_Di2*_zo2+_C5*_to2,y=_B5*_vo2+_Ci2*_yo2+_Ei2*_zo2+_D5*_to2;out[_RE]=x;out[_RE+1]=y;if(_Vn2){if(_kg<1e-3)out[_RE+2]=Math.atan2(_Ci2-_B5,_Bi2-_A5);else out[_RE+2]=Math.atan2(y-(_B5*_uo2+_Ci2*_wo2*2+_Ei2*_8P),x-(_A5*_uo2+_Bi2*_wo2*2+_Di2*_8P));}}};var _ng2=_Tn2;_ng2._ao2=-1;_ng2._fo2=-2;_ng2._ho2=-3;
_ng2._2b2=1e-5;var _Og2=class {constructor(data,bone){this.deform=new Array();if(!data)throw new Error("data cannot be null.");if(!bone)throw new Error("bone cannot be null.");this.data=data;this.bone=bone;this.color=new _m3();this._A9=!data._A9?null:new _m3();this._mm2();}_Ao2(){return this.bone.skeleton;}_e3(){return this.attachment;}_b3(attachment){if(this.attachment==attachment)return;if(!(attachment instanceof _6h2)||!(this.attachment instanceof _6h2)||attachment._8i2!=this.attachment._8i2){this.deform.length=0;
}this.attachment=attachment;this._Bo2=this.bone.skeleton.time;}_Co2(time){this._Bo2=this.bone.skeleton.time-time;}_Do2(){return this.bone.skeleton.time-this._Bo2;}_mm2(){this.color._m4(this.data.color);if(this._A9)this._A9._m4(this.data._A9);if(!this.data._Ga)this.attachment=null;else {this.attachment=null;this._b3(this.bone.skeleton._e3(this.data.index,this.data._Ga));}}};var _Xg2=class {constructor(data,skeleton){this._hj2=0;this._ij2=0;this._jj2=0;this._kj2=0;this._lj2=0;this._mj2=0;this._nK=new _5h2();
this.active=false;if(!data)throw new Error("data cannot be null.");if(!skeleton)throw new Error("skeleton cannot be null.");this.data=data;this._hj2=data._hj2;this._ij2=data._ij2;this._jj2=data._jj2;this._kj2=data._kj2;this._lj2=data._lj2;this._mj2=data._mj2;this.bones=new Array();for(let i=0;i<data.bones.length;i++)this.bones.push(skeleton._e6(data.bones[i].name));this.target=skeleton._e6(data.target.name);}_yc1(){return this.active;}_Q4(){if(this._hj2==0&&this._ij2==0&&this._jj2==0&&this._kj2==0&&this._kj2==0&&this._mj2==0)return;
if(this.data._Eh){if(this.data._M01)this._Eo2();else this._Fo2();}else {if(this.data._M01)this._Go2();else this._Ho2();}}_Ho2(){let _hj2=this._hj2,_ij2=this._ij2,_jj2=this._jj2,_kj2=this._kj2,_lj2=this._lj2,_mj2=this._mj2;let translate=_ij2!=0||_jj2!=0;let target=this.target;let _Ln2=target._l3,_9P=target._k3,_Io2=target.c,_In2=target._Fl;let _Jo2=_Ln2*_In2-_9P*_Io2>0?_jg2._nh2:-_jg2._nh2;let _4o2=this.data._4o2*_Jo2;let _Ko2=this.data._Ko2*_Jo2;let bones=this.bones;for(let i=0,_x5=bones.length;i<_x5;i++){let bone=bones[i];
if(_hj2!=0){let _l3=bone._l3,_k3=bone._k3,c=bone.c,_Fl=bone._Fl;let _i3=Math.atan2(_Io2,_Ln2)-Math.atan2(c,_l3)+_4o2;if(_i3>_jg2.PI)_i3-=_jg2._th2;else if(_i3<-_jg2.PI)_i3+=_jg2._th2;_i3*=_hj2;let cos=Math.cos(_i3),sin=Math.sin(_i3);bone._l3=cos*_l3-sin*c;bone._k3=cos*_k3-sin*_Fl;bone.c=sin*_l3+cos*c;bone._Fl=sin*_k3+cos*_Fl;}if(translate){let _nK=this._nK;target._Im2(_nK.set(this.data._44,this.data._54));bone._l6+=(_nK.x-bone._l6)*_ij2;bone._m6+=(_nK.y-bone._m6)*_jj2;}if(_kj2!=0){let _rh=Math.sqrt(bone._l3*bone._l3+bone.c*bone.c);
if(_rh!=0)_rh=(_rh+(Math.sqrt(_Ln2*_Ln2+_Io2*_Io2)-_rh+this.data._Lo2)*_kj2)/_rh;bone._l3*=_rh;bone.c*=_rh;}if(_lj2!=0){let _rh=Math.sqrt(bone._k3*bone._k3+bone._Fl*bone._Fl);if(_rh!=0)_rh=(_rh+(Math.sqrt(_9P*_9P+_In2*_In2)-_rh+this.data._Mo2)*_lj2)/_rh;bone._k3*=_rh;bone._Fl*=_rh;}if(_mj2>0){let _k3=bone._k3,_Fl=bone._Fl;let _hH1=Math.atan2(_Fl,_k3);let _i3=Math.atan2(_In2,_9P)-Math.atan2(_Io2,_Ln2)-(_hH1-Math.atan2(bone.c,bone._l3));if(_i3>_jg2.PI)_i3-=_jg2._th2;else if(_i3<-_jg2.PI)_i3+=_jg2._th2;
_i3=_hH1+(_i3+_Ko2)*_mj2;let _rh=Math.sqrt(_k3*_k3+_Fl*_Fl);bone._k3=Math.cos(_i3)*_rh;bone._Fl=Math.sin(_i3)*_rh;}bone._ym2();}}_Go2(){let _hj2=this._hj2,_ij2=this._ij2,_jj2=this._jj2,_kj2=this._kj2,_lj2=this._lj2,_mj2=this._mj2;let translate=_ij2!=0||_jj2!=0;let target=this.target;let _Ln2=target._l3,_9P=target._k3,_Io2=target.c,_In2=target._Fl;let _Jo2=_Ln2*_In2-_9P*_Io2>0?_jg2._nh2:-_jg2._nh2;let _4o2=this.data._4o2*_Jo2,_Ko2=this.data._Ko2*_Jo2;let bones=this.bones;for(let i=0,_x5=bones.length;i<_x5;
i++){let bone=bones[i];if(_hj2!=0){let _l3=bone._l3,_k3=bone._k3,c=bone.c,_Fl=bone._Fl;let _i3=Math.atan2(_Io2,_Ln2)+_4o2;if(_i3>_jg2.PI)_i3-=_jg2._th2;else if(_i3<-_jg2.PI)_i3+=_jg2._th2;_i3*=_hj2;let cos=Math.cos(_i3),sin=Math.sin(_i3);bone._l3=cos*_l3-sin*c;bone._k3=cos*_k3-sin*_Fl;bone.c=sin*_l3+cos*c;bone._Fl=sin*_k3+cos*_Fl;}if(translate){let _nK=this._nK;target._Im2(_nK.set(this.data._44,this.data._54));bone._l6+=_nK.x*_ij2;bone._m6+=_nK.y*_jj2;}if(_kj2!=0){let _rh=(Math.sqrt(_Ln2*_Ln2+_Io2*_Io2)-1+this.data._Lo2)*_kj2+1;
bone._l3*=_rh;bone.c*=_rh;}if(_lj2!=0){let _rh=(Math.sqrt(_9P*_9P+_In2*_In2)-1+this.data._Mo2)*_lj2+1;bone._k3*=_rh;bone._Fl*=_rh;}if(_mj2>0){let _i3=Math.atan2(_In2,_9P)-Math.atan2(_Io2,_Ln2);if(_i3>_jg2.PI)_i3-=_jg2._th2;else if(_i3<-_jg2.PI)_i3+=_jg2._th2;let _k3=bone._k3,_Fl=bone._Fl;_i3=Math.atan2(_Fl,_k3)+(_i3-_jg2.PI/2+_Ko2)*_mj2;let _rh=Math.sqrt(_k3*_k3+_Fl*_Fl);bone._k3=Math.cos(_i3)*_rh;bone._Fl=Math.sin(_i3)*_rh;}bone._ym2();}}_Fo2(){let _hj2=this._hj2,_ij2=this._ij2,_jj2=this._jj2,_kj2=this._kj2,
_lj2=this._lj2,_mj2=this._mj2;let target=this.target;let bones=this.bones;for(let i=0,_x5=bones.length;i<_x5;i++){let bone=bones[i];let rotation=bone._r6;if(_hj2!=0){let _i3=target._r6-rotation+this.data._4o2;_i3-=(16384-(16384.499999999996-_i3/360|0))*360;rotation+=_i3*_hj2;}let x=bone.ax,y=bone.ay;x+=(target.ax-x+this.data._44)*_ij2;y+=(target.ay-y+this.data._54)*_jj2;let scaleX=bone._hm2,scaleY=bone._im2;if(_kj2!=0&&scaleX!=0)scaleX=(scaleX+(target._hm2-scaleX+this.data._Lo2)*_kj2)/scaleX;if(_lj2!=0&&scaleY!=0)scaleY=(scaleY+(target._im2-scaleY+this.data._Mo2)*_lj2)/scaleY;
let shearY=bone._km2;if(_mj2!=0){let _i3=target._km2-shearY+this.data._Ko2;_i3-=(16384-(16384.499999999996-_i3/360|0))*360;shearY+=_i3*_mj2;}bone._nm2(x,y,rotation,scaleX,scaleY,bone._jm2,shearY);}}_Eo2(){let _hj2=this._hj2,_ij2=this._ij2,_jj2=this._jj2,_kj2=this._kj2,_lj2=this._lj2,_mj2=this._mj2;let target=this.target;let bones=this.bones;for(let i=0,_x5=bones.length;i<_x5;i++){let bone=bones[i];let rotation=bone._r6+(target._r6+this.data._4o2)*_hj2;let x=bone.ax+(target.ax+this.data._44)*_ij2;let y=bone.ay+(target.ay+this.data._54)*_jj2;
let scaleX=bone._hm2*((target._hm2-1+this.data._Lo2)*_kj2+1);let scaleY=bone._im2*((target._im2-1+this.data._Mo2)*_lj2+1);let shearY=bone._km2+(target._km2+this.data._Ko2)*_mj2;bone._nm2(x,y,rotation,scaleX,scaleY,bone._jm2,shearY);}}};var _d2=class {constructor(data){this._No2=new Array();this.time=0;this.scaleX=1;this.scaleY=1;this.x=0;this.y=0;if(!data)throw new Error("data cannot be null.");this.data=data;this.bones=new Array();for(let i=0;i<data.bones.length;i++){let _W6=data.bones[i];let bone;if(!_W6.parent)bone=new _Vf2(_W6,
this,null);else {let parent=this.bones[_W6.parent.index];bone=new _Vf2(_W6,this,parent);parent._jp1.push(bone);}this.bones.push(bone);}this.slots=new Array();this.drawOrder=new Array();for(let i=0;i<data.slots.length;i++){let _Oo2=data.slots[i];let bone=this.bones[_Oo2._W6.index];let slot=new _Og2(_Oo2,bone);this.slots.push(slot);this.drawOrder.push(slot);}this._fj2=new Array();for(let i=0;i<data._fj2.length;i++){let _Po2=data._fj2[i];this._fj2.push(new _dg2(_Po2,this));}this._nj2=new Array();for(let i=0;i<data._nj2.length;
i++){let _Qo2=data._nj2[i];this._nj2.push(new _Xg2(_Qo2,this));}this._pj2=new Array();for(let i=0;i<data._pj2.length;i++){let _Ro2=data._pj2[i];this._pj2.push(new _ng2(_Ro2,this));}this.color=new _m3(1,1,1,1);this._So2();}_So2(){let _So2=this._No2;_So2.length=0;let bones=this.bones;for(let i=0,_x5=bones.length;i<_x5;i++){let bone=bones[i];bone._lm2=bone.data._fm2;bone.active=!bone._lm2;}if(this.skin){let _To2=this.skin.bones;for(let i=0,_x5=this.skin.bones.length;i<_x5;i++){let bone=this.bones[_To2[i].index];
do {bone._lm2=false;bone.active=true;bone=bone.parent;}while(bone);}}let _fj2=this._fj2;let _nj2=this._nj2;let _pj2=this._pj2;let _Uo2=_fj2.length,_Vo2=_nj2.length,_Wo2=_pj2.length;let _Xo2=_Uo2+_Vo2+_Wo2;_Ck2:for(let i=0;i<_Xo2;i++){for(let _4F=0;_4F<_Uo2;_4F++){let _ej2=_fj2[_4F];if(_ej2.data._Om2==i){this._Yo2(_ej2);continue _Ck2;}}for(let _4F=0;_4F<_Vo2;_4F++){let _ej2=_nj2[_4F];if(_ej2.data._Om2==i){this._Zo2(_ej2);continue _Ck2;}}for(let _4F=0;_4F<_Wo2;_4F++){let _ej2=_pj2[_4F];if(_ej2.data._Om2==i){this.__o2(_ej2);
continue _Ck2;}}}for(let i=0,_x5=bones.length;i<_x5;i++)this._0p2(bones[i]);}_Yo2(_ej2){_ej2.active=_ej2.target._yc1()&&(!_ej2.data._fm2||this.skin&&_4h2._8h2(this.skin._De1,_ej2.data,true));if(!_ej2.active)return;let target=_ej2.target;this._0p2(target);let _1p2=_ej2.bones;let parent=_1p2[0];this._0p2(parent);if(_1p2.length==1){this._No2.push(_ej2);this._2p2(parent._jp1);}else {let _xn2=_1p2[_1p2.length-1];this._0p2(_xn2);this._No2.push(_ej2);this._2p2(parent._jp1);_xn2._lm2=true;}}__o2(_ej2){_ej2.active=_ej2.target.bone._yc1()&&(!_ej2.data._fm2||this.skin&&_4h2._8h2(this.skin._De1,
_ej2.data,true));if(!_ej2.active)return;let slot=_ej2.target;let _c3=slot.data.index;let _3p2=slot.bone;if(this.skin)this._4p2(this.skin,_c3,_3p2);if(this.data._Y2&&this.data._Y2!=this.skin)this._4p2(this.data._Y2,_c3,_3p2);for(let i=0,_x5=this.data.skins.length;i<_x5;i++)this._4p2(this.data.skins[i],_c3,_3p2);let attachment=slot._e3();if(attachment instanceof _mg2)this._5p2(attachment,_3p2);let _1p2=_ej2.bones;let _Wn2=_1p2.length;for(let i=0;i<_Wn2;i++)this._0p2(_1p2[i]);this._No2.push(_ej2);for(let i=0;
i<_Wn2;i++)this._2p2(_1p2[i]._jp1);for(let i=0;i<_Wn2;i++)_1p2[i]._lm2=true;}_Zo2(_ej2){_ej2.active=_ej2.target._yc1()&&(!_ej2.data._fm2||this.skin&&_4h2._8h2(this.skin._De1,_ej2.data,true));if(!_ej2.active)return;this._0p2(_ej2.target);let _1p2=_ej2.bones;let _Wn2=_1p2.length;if(_ej2.data._Eh){for(let i=0;i<_Wn2;i++){let _xn2=_1p2[i];this._0p2(_xn2.parent);this._0p2(_xn2);}}else {for(let i=0;i<_Wn2;i++){this._0p2(_1p2[i]);}}this._No2.push(_ej2);for(let i=0;i<_Wn2;i++)this._2p2(_1p2[i]._jp1);for(let i=0;
i<_Wn2;i++)_1p2[i]._lm2=true;}_4p2(skin,_c3,_3p2){let attachments=skin.attachments[_c3];if(!attachments)return;for(let key in attachments){this._5p2(attachments[key],_3p2);}}_5p2(attachment,_3p2){if(!(attachment instanceof _mg2))return;let _6p2=attachment.bones;if(!_6p2)this._0p2(_3p2);else {let bones=this.bones;for(let i=0,_x5=_6p2.length;i<_x5;){let _7p2=_6p2[i++];_7p2+=i;while(i<_7p2)this._0p2(bones[_6p2[i++]]);}}}_0p2(bone){if(bone._lm2)return;let parent=bone.parent;if(parent)this._0p2(parent);bone._lm2=true;
this._No2.push(bone);}_2p2(bones){for(let i=0,_x5=bones.length;i<_x5;i++){let bone=bones[i];if(!bone.active)continue;if(bone._lm2)this._2p2(bone._jp1);bone._lm2=false;}}_F4(){let bones=this.bones;for(let i=0,_x5=bones.length;i<_x5;i++){let bone=bones[i];bone.ax=bone.x;bone.ay=bone.y;bone._r6=bone.rotation;bone._hm2=bone.scaleX;bone._im2=bone.scaleY;bone._jm2=bone.shearX;bone._km2=bone.shearY;}let _So2=this._No2;for(let i=0,_x5=_So2.length;i<_x5;i++)_So2[i]._Q4();}_nm2(parent){let _8p2=this._B4();let _GI1=parent._l3,
_HI1=parent._k3,_qH1=parent.c,_pm2=parent._Fl;_8p2._l6=_GI1*this.x+_HI1*this.y+parent._l6;_8p2._m6=_qH1*this.x+_pm2*this.y+parent._m6;let _om2=_8p2.rotation+90+_8p2.shearY;let _qm2=_jg2._mh2(_8p2.rotation+_8p2.shearX)*_8p2.scaleX;let _rm2=_jg2._mh2(_om2)*_8p2.scaleY;let _sm2=_jg2._oh2(_8p2.rotation+_8p2.shearX)*_8p2.scaleX;let _tm2=_jg2._oh2(_om2)*_8p2.scaleY;_8p2._l3=(_GI1*_qm2+_HI1*_sm2)*this.scaleX;_8p2._k3=(_GI1*_rm2+_HI1*_tm2)*this.scaleX;_8p2.c=(_qH1*_qm2+_pm2*_sm2)*this.scaleY;_8p2._Fl=(_qH1*_rm2+_pm2*_tm2)*this.scaleY;
let _So2=this._No2;for(let i=0,_x5=_So2.length;i<_x5;i++){let _9p2=_So2[i];if(_9p2!=_8p2)_9p2._Q4();}}_mm2(){this._ap2();this._03();}_ap2(){let bones=this.bones;for(let i=0,_x5=bones.length;i<_x5;i++)bones[i]._mm2();let _fj2=this._fj2;for(let i=0,_x5=_fj2.length;i<_x5;i++){let _ej2=_fj2[i];_ej2.mix=_ej2.data.mix;_ej2._cj2=_ej2.data._cj2;_ej2._dj2=_ej2.data._dj2;_ej2.compress=_ej2.data.compress;_ej2.stretch=_ej2.data.stretch;}let _nj2=this._nj2;for(let i=0,_x5=_nj2.length;i<_x5;i++){let _ej2=_nj2[i];let data=_ej2.data;
_ej2._hj2=data._hj2;_ej2._ij2=data._ij2;_ej2._jj2=data._jj2;_ej2._kj2=data._kj2;_ej2._lj2=data._lj2;_ej2._mj2=data._mj2;}let _pj2=this._pj2;for(let i=0,_x5=_pj2.length;i<_x5;i++){let _ej2=_pj2[i];let data=_ej2.data;_ej2.position=data.position;_ej2.spacing=data.spacing;_ej2._hj2=data._hj2;_ej2._ij2=data._ij2;_ej2._jj2=data._jj2;}}_03(){let slots=this.slots;_4h2._zh2(slots,0,this.drawOrder,0,slots.length);for(let i=0,_x5=slots.length;i<_x5;i++)slots[i]._mm2();}_B4(){if(this.bones.length==0)return null;return this.bones[0];
}_e6(_bp2){if(!_bp2)throw new Error("boneName cannot be null.");let bones=this.bones;for(let i=0,_x5=bones.length;i<_x5;i++){let bone=bones[i];if(bone.data.name==_bp2)return bone;}return null;}_a3(_cp2){if(!_cp2)throw new Error("slotName cannot be null.");let slots=this.slots;for(let i=0,_x5=slots.length;i<_x5;i++){let slot=slots[i];if(slot.data.name==_cp2)return slot;}return null;}_13(_dp2){let skin=this.data._B6(_dp2);if(!skin)throw new Error("Skin not found: "+_dp2);this.__2(skin);}__2(_y6){if(_y6==this.skin)return;
if(_y6){if(this.skin)_y6._ep2(this,this.skin);else {let slots=this.slots;for(let i=0,_x5=slots.length;i<_x5;i++){let slot=slots[i];let name=slot.data._Ga;if(name){let attachment=_y6._e3(i,name);if(attachment)slot._b3(attachment);}}}}this.skin=_y6;this._So2();}_fp2(_cp2,_Ga){return this._e3(this.data._a3(_cp2).index,_Ga);}_e3(_c3,_Ga){if(!_Ga)throw new Error("attachmentName cannot be null.");if(this.skin){let attachment=this.skin._e3(_c3,_Ga);if(attachment)return attachment;}if(this.data._Y2)return this.data._Y2._e3(_c3,
_Ga);return null;}_b3(_cp2,_Ga){if(!_cp2)throw new Error("slotName cannot be null.");let slots=this.slots;for(let i=0,_x5=slots.length;i<_x5;i++){let slot=slots[i];if(slot.data.name==_cp2){let attachment=null;if(_Ga){attachment=this._e3(i,_Ga);if(!attachment)throw new Error("Attachment not found: "+_Ga+", for slot: "+_cp2);}slot._b3(attachment);return;}}throw new Error("Slot not found: "+_cp2);}_gp2(_hp2){if(!_hp2)throw new Error("constraintName cannot be null.");let _fj2=this._fj2;for(let i=0,_x5=_fj2.length;
i<_x5;i++){let ikConstraint=_fj2[i];if(ikConstraint.data.name==_hp2)return ikConstraint;}return null;}_ip2(_hp2){if(!_hp2)throw new Error("constraintName cannot be null.");let _nj2=this._nj2;for(let i=0,_x5=_nj2.length;i<_x5;i++){let _ej2=_nj2[i];if(_ej2.data.name==_hp2)return _ej2;}return null;}_jp2(_hp2){if(!_hp2)throw new Error("constraintName cannot be null.");let _pj2=this._pj2;for(let i=0,_x5=_pj2.length;i<_x5;i++){let _ej2=_pj2[i];if(_ej2.data.name==_hp2)return _ej2;}return null;}getBounds(offset,size,_nK=new Array(2)){
if(!offset)throw new Error("offset cannot be null.");if(!size)throw new Error("size cannot be null.");let drawOrder=this.drawOrder;let _85=Number.POSITIVE_INFINITY,_a5=Number.POSITIVE_INFINITY,_95=Number.NEGATIVE_INFINITY,_b5=Number.NEGATIVE_INFINITY;for(let i=0,_x5=drawOrder.length;i<_x5;i++){let slot=drawOrder[i];if(!slot.bone.active)continue;let _7o2=0;let vertices=null;let attachment=slot._e3();if(attachment instanceof _h8){_7o2=8;vertices=_4h2._Gh2(_nK,_7o2,0);attachment._N8(slot.bone,vertices,0,2);}else if(attachment instanceof _j8){
let _S8=attachment;_7o2=_S8._T8;vertices=_4h2._Gh2(_nK,_7o2,0);_S8._N8(slot,0,_7o2,vertices,0,2);}if(vertices){for(let _4F=0,_7p2=vertices.length;_4F<_7p2;_4F+=2){let x=vertices[_4F],y=vertices[_4F+1];_85=Math.min(_85,x);_a5=Math.min(_a5,y);_95=Math.max(_95,x);_b5=Math.max(_b5,y);}}}offset.set(_85,_a5);size.set(_95-_85,_b5-_a5);}_Q4(_uh){this.time+=_uh;}};var _Mg2=class {constructor(){this.bones=new Array();this.slots=new Array();this.skins=new Array();this.events=new Array();this.animations=new Array();this._fj2=new Array();
this._nj2=new Array();this._pj2=new Array();this.fps=0;}_e6(_bp2){if(!_bp2)throw new Error("boneName cannot be null.");let bones=this.bones;for(let i=0,_x5=bones.length;i<_x5;i++){let bone=bones[i];if(bone.name==_bp2)return bone;}return null;}_a3(_cp2){if(!_cp2)throw new Error("slotName cannot be null.");let slots=this.slots;for(let i=0,_x5=slots.length;i<_x5;i++){let slot=slots[i];if(slot.name==_cp2)return slot;}return null;}_B6(_dp2){if(!_dp2)throw new Error("skinName cannot be null.");let skins=this.skins;for(let i=0,
_x5=skins.length;i<_x5;i++){let skin=skins[i];if(skin.name==_dp2)return skin;}return null;}_kp2(_lp2){if(!_lp2)throw new Error("eventDataName cannot be null.");let events=this.events;for(let i=0,_x5=events.length;i<_x5;i++){let event=events[i];if(event.name==_lp2)return event;}return null;}_U2(_ok2){if(!_ok2)throw new Error("animationName cannot be null.");let animations=this.animations;for(let i=0,_x5=animations.length;i<_x5;i++){let _D2=animations[i];if(_D2.name==_ok2)return _D2;}return null;}_gp2(_hp2){if(!_hp2)throw new Error("constraintName cannot be null.");
let _fj2=this._fj2;for(let i=0,_x5=_fj2.length;i<_x5;i++){let _ej2=_fj2[i];if(_ej2.name==_hp2)return _ej2;}return null;}_ip2(_hp2){if(!_hp2)throw new Error("constraintName cannot be null.");let _nj2=this._nj2;for(let i=0,_x5=_nj2.length;i<_x5;i++){let _ej2=_nj2[i];if(_ej2.name==_hp2)return _ej2;}return null;}_jp2(_hp2){if(!_hp2)throw new Error("constraintName cannot be null.");let _pj2=this._pj2;for(let i=0,_x5=_pj2.length;i<_x5;i++){let _ej2=_pj2[i];if(_ej2.name==_hp2)return _ej2;}return null;}};var _Ng2=class {constructor(_c3,
name,attachment){this._c3=_c3;this.name=name;this.attachment=attachment;}};var _z6=class {constructor(name){this.attachments=new Array();this.bones=Array();this._De1=new Array();if(!name)throw new Error("name cannot be null.");this.name=name;}_b3(_c3,name,attachment){if(!attachment)throw new Error("attachment cannot be null.");let attachments=this.attachments;if(_c3>=attachments.length)attachments.length=_c3+1;if(!attachments[_c3])attachments[_c3]={};attachments[_c3][name]=attachment;}_mp2(skin){for(let i=0;
i<skin.bones.length;i++){let bone=skin.bones[i];let _np2=false;for(let _4F=0;_4F<this.bones.length;_4F++){if(this.bones[_4F]==bone){_np2=true;break;}}if(!_np2)this.bones.push(bone);}for(let i=0;i<skin._De1.length;i++){let _ej2=skin._De1[i];let _np2=false;for(let _4F=0;_4F<this._De1.length;_4F++){if(this._De1[_4F]==_ej2){_np2=true;break;}}if(!_np2)this._De1.push(_ej2);}let attachments=skin._op2();for(let i=0;i<attachments.length;i++){var attachment=attachments[i];this._b3(attachment._c3,attachment.name,attachment.attachment);
}}_C6(skin){for(let i=0;i<skin.bones.length;i++){let bone=skin.bones[i];let _np2=false;for(let _4F=0;_4F<this.bones.length;_4F++){if(this.bones[_4F]==bone){_np2=true;break;}}if(!_np2)this.bones.push(bone);}for(let i=0;i<skin._De1.length;i++){let _ej2=skin._De1[i];let _np2=false;for(let _4F=0;_4F<this._De1.length;_4F++){if(this._De1[_4F]==_ej2){_np2=true;break;}}if(!_np2)this._De1.push(_ej2);}let attachments=skin._op2();for(let i=0;i<attachments.length;i++){var attachment=attachments[i];if(!attachment.attachment)continue;
if(attachment.attachment instanceof _j8){attachment.attachment=attachment.attachment._jl2();this._b3(attachment._c3,attachment.name,attachment.attachment);}else {attachment.attachment=attachment.attachment._Br();this._b3(attachment._c3,attachment.name,attachment.attachment);}}}_e3(_c3,name){let _pp2=this.attachments[_c3];return _pp2?_pp2[name]:null;}_qp2(_c3,name){let _pp2=this.attachments[_c3];if(_pp2)_pp2[name]=null;}_op2(){let _9h2=new Array();for(var i=0;i<this.attachments.length;i++){let _rp2=this.attachments[i];
if(_rp2){for(let name in _rp2){let attachment=_rp2[name];if(attachment)_9h2.push(new _Ng2(i,name,attachment));}}}return _9h2;}_Ka(_c3,attachments){let _rp2=this.attachments[_c3];if(_rp2){for(let name in _rp2){let attachment=_rp2[name];if(attachment)attachments.push(new _Ng2(_c3,name,attachment));}}}clear(){this.attachments.length=0;this.bones.length=0;this._De1.length=0;}_ep2(skeleton,_sp2){let _c3=0;for(let i=0;i<skeleton.slots.length;i++){let slot=skeleton.slots[i];let __i2=slot._e3();if(__i2&&_c3<_sp2.attachments.length){
let _pp2=_sp2.attachments[_c3];for(let key in _pp2){let _tp2=_pp2[key];if(__i2==_tp2){let attachment=this._e3(_c3,key);if(attachment)slot._b3(attachment);break;}}}_c3++;}}};var _Pg2=class {constructor(index,name,_W6){this.color=new _m3(1,1,1,1);if(index<0)throw new Error("index must be >= 0.");if(!name)throw new Error("name cannot be null.");if(!_W6)throw new Error("boneData cannot be null.");this.index=index;this.name=name;this._W6=_W6;}};var _c9;(function(_up2){_up2[_up2["Normal"]=0]="Normal";_up2[_up2["Additive"]=1]="Additive";
_up2[_up2["Multiply"]=2]="Multiply";_up2[_up2["Screen"]=3]="Screen";})(_c9||(_c9={}));var _Yg2=class  extends _Yf2{constructor(name){super(name,0,false);this.bones=new Array();this._hj2=0;this._ij2=0;this._jj2=0;this._kj2=0;this._lj2=0;this._mj2=0;this._4o2=0;this._44=0;this._54=0;this._Lo2=0;this._Mo2=0;this._Ko2=0;this._M01=false;this._Eh=false;}};var _Lg2=class {constructor(_f4){this.scale=1;this._vp2=new Array();this._f4=_f4;}_W7(_wp2){let scale=this.scale;let _pk2=new _Mg2();_pk2.name="";let input=new _Uf2(_wp2);
let _xp2=input._yp2();let _zp2=input._yp2();_pk2.hash=_zp2==0&&_xp2==0?null:_zp2.toString(16)+_xp2.toString(16);_pk2.version=input._Ap2();_pk2.x=input._Bp2();_pk2.y=input._Bp2();_pk2.width=input._Bp2();_pk2.height=input._Bp2();let _Cp2=input._Dp2();if(_Cp2){_pk2.fps=input._Bp2();_pk2._Ep2=input._Ap2();_pk2._Fp2=input._Ap2();}let _x5=0;_x5=input._Gp2(true);for(let i=0;i<_x5;i++)input._kE.push(input._Ap2());_x5=input._Gp2(true);for(let i=0;i<_x5;i++){let name=input._Ap2();let parent=i==0?null:_pk2.bones[input._Gp2(true)];
let data=new _Wf2(i,name,parent);data.rotation=input._Bp2();data.x=input._Bp2()*scale;data.y=input._Bp2()*scale;data.scaleX=input._Bp2();data.scaleY=input._Bp2();data.shearX=input._Bp2();data.shearY=input._Bp2();data.length=input._Bp2()*scale;data._pg1=input._Gp2(true);data._fm2=input._Dp2();if(_Cp2)_m3._fh2(data.color,input._yp2());_pk2.bones.push(data);}_x5=input._Gp2(true);for(let i=0;i<_x5;i++){let _cp2=input._Ap2();let _W6=_pk2.bones[input._Gp2(true)];let data=new _Pg2(i,_cp2,_W6);_m3._fh2(data.color,
input._yp2());let _A9=input._yp2();if(_A9!=-1)_m3._gh2(data._A9=new _m3(),_A9);data._Ga=input._Hp2();data._D9=input._Gp2(true);_pk2.slots.push(data);}_x5=input._Gp2(true);for(let i=0,_7p2;i<_x5;i++){let data=new _eg2(input._Ap2());data._Om2=input._Gp2(true);data._fm2=input._Dp2();_7p2=input._Gp2(true);for(let _4F=0;_4F<_7p2;_4F++)data.bones.push(_pk2.bones[input._Gp2(true)]);data.target=_pk2.bones[input._Gp2(true)];data.mix=input._Bp2();data._cj2=input._Bp2()*scale;data._dj2=input._Ip2();data.compress=input._Dp2();
data.stretch=input._Dp2();data._qn2=input._Dp2();_pk2._fj2.push(data);}_x5=input._Gp2(true);for(let i=0,_7p2;i<_x5;i++){let data=new _Yg2(input._Ap2());data._Om2=input._Gp2(true);data._fm2=input._Dp2();_7p2=input._Gp2(true);for(let _4F=0;_4F<_7p2;_4F++)data.bones.push(_pk2.bones[input._Gp2(true)]);data.target=_pk2.bones[input._Gp2(true)];data._Eh=input._Dp2();data._M01=input._Dp2();data._4o2=input._Bp2();data._44=input._Bp2()*scale;data._54=input._Bp2()*scale;data._Lo2=input._Bp2();data._Mo2=input._Bp2();
data._Ko2=input._Bp2();data._hj2=input._Bp2();data._ij2=input._Bp2();data._jj2=input._Bp2();data._kj2=input._Bp2();data._lj2=input._Bp2();data._mj2=input._Bp2();_pk2._nj2.push(data);}_x5=input._Gp2(true);for(let i=0,_7p2;i<_x5;i++){let data=new _og2(input._Ap2());data._Om2=input._Gp2(true);data._fm2=input._Dp2();_7p2=input._Gp2(true);for(let _4F=0;_4F<_7p2;_4F++)data.bones.push(_pk2.bones[input._Gp2(true)]);data.target=_pk2.slots[input._Gp2(true)];data._co2=input._Gp2(true);data.spacingMode=input._Gp2(true);
data.rotateMode=input._Gp2(true);data._4o2=input._Bp2();data.position=input._Bp2();if(data._co2==_ug2.Fixed)data.position*=scale;data.spacing=input._Bp2();if(data.spacingMode==_Qg2.Length||data.spacingMode==_Qg2.Fixed)data.spacing*=scale;data._hj2=input._Bp2();data._ij2=input._Bp2();data._jj2=input._Bp2();_pk2._pj2.push(data);}let _Y2=this._Jp2(input,_pk2,true,_Cp2);if(_Y2){_pk2._Y2=_Y2;_pk2.skins.push(_Y2);}{let i=_pk2.skins.length;_4h2._Gh2(_pk2.skins,_x5=i+input._Gp2(true));for(;i<_x5;i++)_pk2.skins[i]=this._Jp2(input,
_pk2,false,_Cp2);}_x5=this._vp2.length;for(let i=0;i<_x5;i++){let _Kp2=this._vp2[i];let skin=!_Kp2.skin?_pk2._Y2:_pk2._B6(_Kp2.skin);let parent=skin._e3(_Kp2._c3,_Kp2.parent);_Kp2._S8._8i2=_Kp2._Lp2?parent:_Kp2._S8;_Kp2._S8._hl2(parent);_Kp2._S8._bl2();}this._vp2.length=0;_x5=input._Gp2(true);for(let i=0;i<_x5;i++){let data=new _5g2(input._Hp2());data._j2=input._Gp2(false);data._k2=input._Bp2();data._l2=input._Ap2();data._Fp2=input._Ap2();if(data._Fp2){data.volume=input._Bp2();data._Sz1=input._Bp2();}_pk2.events.push(data);
}_x5=input._Gp2(true);for(let i=0;i<_x5;i++)_pk2.animations.push(this._Mp2(input,input._Ap2(),_pk2));return _pk2;}_Jp2(input,_pk2,_Y2,_Cp2){let skin=null;let _Np2=0;if(_Y2){_Np2=input._Gp2(true);if(_Np2==0)return null;skin=new _z6("default");}else {skin=new _z6(input._Hp2());skin.bones.length=input._Gp2(true);for(let i=0,_x5=skin.bones.length;i<_x5;i++)skin.bones[i]=_pk2.bones[input._Gp2(true)];for(let i=0,_x5=input._Gp2(true);i<_x5;i++)skin._De1.push(_pk2._fj2[input._Gp2(true)]);for(let i=0,_x5=input._Gp2(true);
i<_x5;i++)skin._De1.push(_pk2._nj2[input._Gp2(true)]);for(let i=0,_x5=input._Gp2(true);i<_x5;i++)skin._De1.push(_pk2._pj2[input._Gp2(true)]);_Np2=input._Gp2(true);}for(let i=0;i<_Np2;i++){let _c3=input._Gp2(true);for(let _4F=0,_7p2=input._Gp2(true);_4F<_7p2;_4F++){let name=input._Hp2();let attachment=this._Op2(input,_pk2,skin,_c3,name,_Cp2);if(attachment)skin._b3(_c3,name,attachment);}}return skin;}_Op2(input,_pk2,skin,_c3,_Ga,_Cp2){let scale=this.scale;let name=input._Hp2();if(!name)name=_Ga;switch(input._Ip2()){
case _Pp2.Region:{let path=input._Hp2();let rotation=input._Bp2();let x=input._Bp2();let y=input._Bp2();let scaleX=input._Bp2();let scaleY=input._Bp2();let width=input._Bp2();let height=input._Bp2();let color=input._yp2();if(!path)path=name;let _Z3=this._f4._i4(skin,name,path);if(!_Z3)return null;_Z3.path=path;_Z3.x=x*scale;_Z3.y=y*scale;_Z3.scaleX=scaleX;_Z3.scaleY=scaleY;_Z3.rotation=rotation;_Z3.width=width*scale;_Z3.height=height*scale;_m3._fh2(_Z3.color,color);_Z3._n4();return _Z3;}case _Pp2.BoundingBox:{
let vertexCount=input._Gp2(true);let vertices=this._Qp2(input,vertexCount);let color=_Cp2?input._yp2():0;let _Rp2=this._f4._bm2(skin,name);if(!_Rp2)return null;_Rp2._T8=vertexCount<<1;_Rp2.vertices=vertices.vertices;_Rp2.bones=vertices.bones;if(_Cp2)_m3._fh2(_Rp2.color,color);return _Rp2;}case _Pp2.Mesh:{let path=input._Hp2();let color=input._yp2();let vertexCount=input._Gp2(true);let uvs=this._Sp2(input,vertexCount<<1,1);let triangles=this._Tp2(input);let vertices=this._Qp2(input,vertexCount);let _il2=input._Gp2(true);
let edges=null;let width=0,height=0;if(_Cp2){edges=this._Tp2(input);width=input._Bp2();height=input._Bp2();}if(!path)path=name;let _S8=this._f4._am2(skin,name,path);if(!_S8)return null;_S8.path=path;_m3._fh2(_S8.color,color);_S8.bones=vertices.bones;_S8.vertices=vertices.vertices;_S8._T8=vertexCount<<1;_S8.triangles=triangles;_S8._cl2=uvs;_S8._bl2();_S8._il2=_il2<<1;if(_Cp2){_S8.edges=edges;_S8.width=width*scale;_S8.height=height*scale;}return _S8;}case _Pp2.LinkedMesh:{let path=input._Hp2();let color=input._yp2();
let _dp2=input._Hp2();let parent=input._Hp2();let _Lp2=input._Dp2();let width=0,height=0;if(_Cp2){width=input._Bp2();height=input._Bp2();}if(!path)path=name;let _S8=this._f4._am2(skin,name,path);if(!_S8)return null;_S8.path=path;_m3._fh2(_S8.color,color);if(_Cp2){_S8.width=width*scale;_S8.height=height*scale;}this._vp2.push(new LinkedMesh(_S8,_dp2,_c3,parent,_Lp2));return _S8;}case _Pp2.Path:{let _6o2=input._Dp2();let _kl2=input._Dp2();let vertexCount=input._Gp2(true);let vertices=this._Qp2(input,vertexCount);
let lengths=_4h2._Ih2(vertexCount/3,0);for(let i=0,_x5=lengths.length;i<_x5;i++)lengths[i]=input._Bp2()*scale;let color=_Cp2?input._yp2():0;let path=this._f4._cm2(skin,name);if(!path)return null;path.closed=_6o2;path._kl2=_kl2;path._T8=vertexCount<<1;path.vertices=vertices.vertices;path.bones=vertices.bones;path.lengths=lengths;if(_Cp2)_m3._fh2(path.color,color);return path;}case _Pp2.Point:{let rotation=input._Bp2();let x=input._Bp2();let y=input._Bp2();let color=_Cp2?input._yp2():0;let _ew1=this._f4._dm2(skin,
name);if(!_ew1)return null;_ew1.x=x*scale;_ew1.y=y*scale;_ew1.rotation=rotation;if(_Cp2)_m3._fh2(_ew1.color,color);return _ew1;}case _Pp2._Up2:{let _Vp2=input._Gp2(true);let vertexCount=input._Gp2(true);let vertices=this._Qp2(input,vertexCount);let color=_Cp2?input._yp2():0;let clip=this._f4._em2(skin,name);if(!clip)return null;clip._Sk2=_pk2.slots[_Vp2];clip._T8=vertexCount<<1;clip.vertices=vertices.vertices;clip.bones=vertices.bones;if(_Cp2)_m3._fh2(clip.color,color);return clip;}}return null;}_Qp2(input,
vertexCount){let scale=this.scale;let _7o2=vertexCount<<1;let vertices=new _Wp2();if(!input._Dp2()){vertices.vertices=this._Sp2(input,_7o2,scale);return vertices;}let _Xp2=new Array();let _ng1=new Array();for(let i=0;i<vertexCount;i++){let _Wn2=input._Gp2(true);_ng1.push(_Wn2);for(let _4F=0;_4F<_Wn2;_4F++){_ng1.push(input._Gp2(true));_Xp2.push(input._Bp2()*scale);_Xp2.push(input._Bp2()*scale);_Xp2.push(input._Bp2());}}vertices.vertices=_4h2._Mh2(_Xp2);vertices.bones=_ng1;return vertices;}_Sp2(input,_x5,scale){
let _La=new Array(_x5);if(scale==1){for(let i=0;i<_x5;i++)_La[i]=input._Bp2();}else {for(let i=0;i<_x5;i++)_La[i]=input._Bp2()*scale;}return _La;}_Tp2(input){let _x5=input._Gp2(true);let _La=new Array(_x5);for(let i=0;i<_x5;i++)_La[i]=input._Yp2();return _La;}_Mp2(input,name,_pk2){input._Gp2(true);let _N4=new Array();let scale=this.scale;let _Zp2=new _m3();let __p2=new _m3();for(let i=0,_x5=input._Gp2(true);i<_x5;i++){let _c3=input._Gp2(true);for(let _4F=0,_7p2=input._Gp2(true);_4F<_7p2;_4F++){let _0q2=input._Ip2();let _J4=input._Gp2(true);
let _L4=_J4-1;switch(_0q2){case _1q2:{let _iH=new _Tf2(_J4,_c3);for(let frame=0;frame<_J4;frame++)_iH._Pi2(frame,input._Bp2(),input._Hp2());_N4.push(_iH);break;}case _2q2:{let _si2=input._Gp2(true);let _iH=new _zg2(_J4,_si2,_c3);let time=input._Bp2();let _i3=input._3q2()/255;let _j3=input._3q2()/255;let _k3=input._3q2()/255;let _l3=input._3q2()/255;for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,_i3,_j3,_k3,_l3);if(frame==_L4)break;let _6D=input._Bp2();let _1H=input._3q2()/255;let _3H=input._3q2()/255;let _Zg=input._3q2()/255;
let _Ti1=input._3q2()/255;switch(input._Ip2()){case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,_i3,_1H,1);_yi2(input,_iH,_zi2++,frame,1,time,_6D,_j3,_3H,1);_yi2(input,_iH,_zi2++,frame,2,time,_6D,_k3,_Zg,1);_yi2(input,_iH,_zi2++,frame,3,time,_6D,_l3,_Ti1,1);}time=_6D;_i3=_1H;_j3=_3H;_k3=_Zg;_l3=_Ti1;}_N4.push(_iH);break;}case _6q2:{let _si2=input._Gp2(true);let _iH=new _Ag2(_J4,_si2,_c3);let time=input._Bp2();let _i3=input._3q2()/255;let _j3=input._3q2()/255;let _k3=input._3q2()/255;
for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,_i3,_j3,_k3);if(frame==_L4)break;let _6D=input._Bp2();let _1H=input._3q2()/255;let _3H=input._3q2()/255;let _Zg=input._3q2()/255;switch(input._Ip2()){case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,_i3,_1H,1);_yi2(input,_iH,_zi2++,frame,1,time,_6D,_j3,_3H,1);_yi2(input,_iH,_zi2++,frame,2,time,_6D,_k3,_Zg,1);}time=_6D;_i3=_1H;_j3=_3H;_k3=_Zg;}_N4.push(_iH);break;}case _7q2:{let _si2=input._Gp2(true);let _iH=new _yg2(_J4,_si2,
_c3);let time=input._Bp2();let _i3=input._3q2()/255;let _j3=input._3q2()/255;let _k3=input._3q2()/255;let _l3=input._3q2()/255;let _1H=input._3q2()/255;let _3H=input._3q2()/255;let _Zg=input._3q2()/255;for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,_i3,_j3,_k3,_l3,_1H,_3H,_Zg);if(frame==_L4)break;let _6D=input._Bp2();let _8q2=input._3q2()/255;let _9q2=input._3q2()/255;let _aq2=input._3q2()/255;let _bq2=input._3q2()/255;let _cq2=input._3q2()/255;let _dq2=input._3q2()/255;let _eq2=input._3q2()/255;switch(input._Ip2()){
case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,_i3,_8q2,1);_yi2(input,_iH,_zi2++,frame,1,time,_6D,_j3,_9q2,1);_yi2(input,_iH,_zi2++,frame,2,time,_6D,_k3,_aq2,1);_yi2(input,_iH,_zi2++,frame,3,time,_6D,_l3,_bq2,1);_yi2(input,_iH,_zi2++,frame,4,time,_6D,_1H,_cq2,1);_yi2(input,_iH,_zi2++,frame,5,time,_6D,_3H,_dq2,1);_yi2(input,_iH,_zi2++,frame,6,time,_6D,_Zg,_eq2,1);}time=_6D;_i3=_8q2;_j3=_9q2;_k3=_aq2;_l3=_bq2;_1H=_cq2;_3H=_dq2;_Zg=_eq2;}_N4.push(_iH);break;}case _fq2:{
let _si2=input._Gp2(true);let _iH=new _xg2(_J4,_si2,_c3);let time=input._Bp2();let _i3=input._3q2()/255;let _j3=input._3q2()/255;let _k3=input._3q2()/255;let _1H=input._3q2()/255;let _3H=input._3q2()/255;let _Zg=input._3q2()/255;for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,_i3,_j3,_k3,_1H,_3H,_Zg);if(frame==_L4)break;let _6D=input._Bp2();let _8q2=input._3q2()/255;let _9q2=input._3q2()/255;let _aq2=input._3q2()/255;let _cq2=input._3q2()/255;let _dq2=input._3q2()/255;let _eq2=input._3q2()/255;switch(input._Ip2()){
case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,_i3,_8q2,1);_yi2(input,_iH,_zi2++,frame,1,time,_6D,_j3,_9q2,1);_yi2(input,_iH,_zi2++,frame,2,time,_6D,_k3,_aq2,1);_yi2(input,_iH,_zi2++,frame,3,time,_6D,_1H,_cq2,1);_yi2(input,_iH,_zi2++,frame,4,time,_6D,_3H,_dq2,1);_yi2(input,_iH,_zi2++,frame,5,time,_6D,_Zg,_eq2,1);}time=_6D;_i3=_8q2;_j3=_9q2;_k3=_aq2;_1H=_cq2;_3H=_dq2;_Zg=_eq2;}_N4.push(_iH);break;}case _gq2:{let _iH=new _Of2(_J4,input._Gp2(true),_c3);let time=input._Bp2(),
_l3=input._3q2()/255;for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,_l3);if(frame==_L4)break;let _6D=input._Bp2();let _Ti1=input._3q2()/255;switch(input._Ip2()){case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,_l3,_Ti1,1);}time=_6D;_l3=_Ti1;}_N4.push(_iH);break;}}}}for(let i=0,_x5=input._Gp2(true);i<_x5;i++){let _Vi2=input._Gp2(true);for(let _4F=0,_7p2=input._Gp2(true);_4F<_7p2;_4F++){let type=input._Ip2(),_J4=input._Gp2(true),_si2=input._Gp2(true);switch(type){case _hq2:_N4.push(_iq2(input,
new _Cg2(_J4,_si2,_Vi2),1));break;case _jq2:_N4.push(_kq2(input,new _0h2(_J4,_si2,_Vi2),scale));break;case _lq2:_N4.push(_iq2(input,new _1h2(_J4,_si2,_Vi2),scale));break;case _mq2:_N4.push(_iq2(input,new _2h2(_J4,_si2,_Vi2),scale));break;case _nq2:_N4.push(_kq2(input,new _Fg2(_J4,_si2,_Vi2),1));break;case _oq2:_N4.push(_iq2(input,new _Gg2(_J4,_si2,_Vi2),1));break;case _pq2:_N4.push(_iq2(input,new _Hg2(_J4,_si2,_Vi2),1));break;case _qq2:_N4.push(_kq2(input,new _Ig2(_J4,_si2,_Vi2),1));break;case _rq2:_N4.push(_iq2(input,
new _Jg2(_J4,_si2,_Vi2),1));break;case _sq2:_N4.push(_iq2(input,new _Kg2(_J4,_si2,_Vi2),1));}}}for(let i=0,_x5=input._Gp2(true);i<_x5;i++){let index=input._Gp2(true),_J4=input._Gp2(true),_L4=_J4-1;let _iH=new _fg2(_J4,input._Gp2(true),index);let time=input._Bp2(),mix=input._Bp2(),_cj2=input._Bp2()*scale;for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,mix,_cj2,input._Ip2(),input._Dp2(),input._Dp2());if(frame==_L4)break;let _6D=input._Bp2(),_tq2=input._Bp2(),_uq2=input._Bp2()*scale;switch(input._Ip2()){
case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,mix,_tq2,1);_yi2(input,_iH,_zi2++,frame,1,time,_6D,_cj2,_uq2,scale);}time=_6D;mix=_tq2;_cj2=_uq2;}_N4.push(_iH);}for(let i=0,_x5=input._Gp2(true);i<_x5;i++){let index=input._Gp2(true),_J4=input._Gp2(true),_L4=_J4-1;let _iH=new _Zg2(_J4,input._Gp2(true),index);let time=input._Bp2(),_hj2=input._Bp2(),_ij2=input._Bp2(),_jj2=input._Bp2(),_kj2=input._Bp2(),_lj2=input._Bp2(),_mj2=input._Bp2();for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,
time,_hj2,_ij2,_jj2,_kj2,_lj2,_mj2);if(frame==_L4)break;let _6D=input._Bp2(),_vq2=input._Bp2(),_wq2=input._Bp2(),_xq2=input._Bp2(),_yq2=input._Bp2(),_zq2=input._Bp2(),_Aq2=input._Bp2();switch(input._Ip2()){case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,_hj2,_vq2,1);_yi2(input,_iH,_zi2++,frame,1,time,_6D,_ij2,_wq2,1);_yi2(input,_iH,_zi2++,frame,2,time,_6D,_jj2,_xq2,1);_yi2(input,_iH,_zi2++,frame,3,time,_6D,_kj2,_yq2,1);_yi2(input,_iH,_zi2++,frame,4,time,_6D,_lj2,_zq2,
1);_yi2(input,_iH,_zi2++,frame,5,time,_6D,_mj2,_Aq2,1);}time=_6D;_hj2=_vq2;_ij2=_wq2;_jj2=_xq2;_kj2=_yq2;_lj2=_zq2;_mj2=_Aq2;}_N4.push(_iH);}for(let i=0,_x5=input._Gp2(true);i<_x5;i++){let index=input._Gp2(true);let data=_pk2._pj2[index];for(let _4F=0,_7p2=input._Gp2(true);_4F<_7p2;_4F++){switch(input._Ip2()){case _Bq2:_N4.push(_iq2(input,new _qg2(input._Gp2(true),input._Gp2(true),index),data._co2==_ug2.Fixed?scale:1));break;case _Cq2:_N4.push(_iq2(input,new _rg2(input._Gp2(true),input._Gp2(true),index),
data.spacingMode==_Qg2.Length||data.spacingMode==_Qg2.Fixed?scale:1));break;case _Dq2:let _iH=new _pg2(input._Gp2(true),input._Gp2(true),index);let time=input._Bp2(),_hj2=input._Bp2(),_ij2=input._Bp2(),_jj2=input._Bp2();for(let frame=0,_zi2=0,_L4=_iH._pi2()-1;;frame++){_iH._Pi2(frame,time,_hj2,_ij2,_jj2);if(frame==_L4)break;let _6D=input._Bp2(),_vq2=input._Bp2(),_wq2=input._Bp2(),_xq2=input._Bp2();switch(input._Ip2()){case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,_hj2,
_vq2,1);_yi2(input,_iH,_zi2++,frame,1,time,_6D,_ij2,_wq2,1);_yi2(input,_iH,_zi2++,frame,2,time,_6D,_jj2,_xq2,1);}time=_6D;_hj2=_vq2;_ij2=_wq2;_jj2=_xq2;}_N4.push(_iH);}}}for(let i=0,_x5=input._Gp2(true);i<_x5;i++){let skin=_pk2.skins[input._Gp2(true)];for(let _4F=0,_7p2=input._Gp2(true);_4F<_7p2;_4F++){let _c3=input._Gp2(true);for(let _Eq2=0,_Fq2=input._Gp2(true);_Eq2<_Fq2;_Eq2++){let _Ga=input._Hp2();let attachment=skin._e3(_c3,_Ga);let _Gq2=attachment.bones;let vertices=attachment.vertices;let _Hq2=_Gq2?vertices.length/3*2:vertices.length;
let _J4=input._Gp2(true);let _L4=_J4-1;let _si2=input._Gp2(true);let _iH=new _2g2(_J4,_si2,_c3,attachment);let time=input._Bp2();for(let frame=0,_zi2=0;;frame++){let deform;let end=input._Gp2(true);if(end==0)deform=_Gq2?_4h2._Jh2(_Hq2):vertices;else {deform=_4h2._Jh2(_Hq2);let start=input._Gp2(true);end+=start;if(scale==1){for(let _14=start;_14<end;_14++)deform[_14]=input._Bp2();}else {for(let _14=start;_14<end;_14++)deform[_14]=input._Bp2()*scale;}if(!_Gq2){for(let _14=0,_jK1=deform.length;_14<_jK1;_14++)deform[_14]+=vertices[_14];
}}_iH._Pi2(frame,time,deform);if(frame==_L4)break;let _6D=input._Bp2();switch(input._Ip2()){case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,0,1,1);}time=_6D;}_N4.push(_iH);}}}let _Iq2=input._Gp2(true);if(_Iq2>0){let _iH=new _4g2(_Iq2);let _Np2=_pk2.slots.length;for(let i=0;i<_Iq2;i++){let time=input._Bp2();let _Jq2=input._Gp2(true);let drawOrder=_4h2._Ih2(_Np2,0);for(let _4F=_Np2-1;_4F>=0;_4F--)drawOrder[_4F]=-1;let _Kq2=_4h2._Ih2(_Np2-_Jq2,0);let _Lq2=0,_Mq2=0;for(let _4F=0;_4F<_Jq2;
_4F++){let _c3=input._Gp2(true);while(_Lq2!=_c3)_Kq2[_Mq2++]=_Lq2++;drawOrder[_Lq2+input._Gp2(true)]=_Lq2++;}while(_Lq2<_Np2)_Kq2[_Mq2++]=_Lq2++;for(let _4F=_Np2-1;_4F>=0;_4F--)if(drawOrder[_4F]==-1)drawOrder[_4F]=_Kq2[--_Mq2];_iH._Pi2(i,time,drawOrder);}_N4.push(_iH);}let _Nq2=input._Gp2(true);if(_Nq2>0){let _iH=new _O6(_Nq2);for(let i=0;i<_Nq2;i++){let time=input._Bp2();let _kH=_pk2.events[input._Gp2(true)];let event=new Event(time,_kH);event._j2=input._Gp2(false);event._k2=input._Bp2();event._l2=input._Dp2()?input._Ap2():_kH._l2;
if(event.data._Fp2){event.volume=input._Bp2();event._Sz1=input._Bp2();}_iH._Pi2(i,event);}_N4.push(_iH);}let duration=0;for(let i=0,_x5=_N4.length;i<_x5;i++)duration=Math.max(duration,_N4[i]._qi2());return new _Pf2(name,_N4,duration);}};var _Uf2=class {constructor(data,_kE=new Array(),index=0,buffer=new DataView(data.buffer)){this._kE=_kE;this.index=index;this.buffer=buffer;}_Ip2(){return this.buffer.getInt8(this.index++);}_3q2(){return this.buffer.getUint8(this.index++);}_Yp2(){let value=this.buffer.getInt16(this.index);
this.index+=2;return value;}_yp2(){let value=this.buffer.getInt32(this.index);this.index+=4;return value;}_Gp2(_Oq2){let _k3=this._Ip2();let result=_k3&127;if((_k3&128)!=0){_k3=this._Ip2();result|=(_k3&127)<<7;if((_k3&128)!=0){_k3=this._Ip2();result|=(_k3&127)<<14;if((_k3&128)!=0){_k3=this._Ip2();result|=(_k3&127)<<21;if((_k3&128)!=0){_k3=this._Ip2();result|=(_k3&127)<<28;}}}}return _Oq2?result:result>>>1^-(result&1);}_Hp2(){let index=this._Gp2(true);return index==0?null:this._kE[index-1];}_Ap2(){let _Pq2=this._Gp2(true);
switch(_Pq2){case 0:return null;case 1:return "";}_Pq2--;let _Qq2="";let _Rq2=0;for(let i=0;i<_Pq2;){let _k3=this._Ip2();switch(_k3>>4){case 12:case 13:_Qq2+=String.fromCharCode((_k3&31)<<6|this._Ip2()&63);i+=2;break;case 14:_Qq2+=String.fromCharCode((_k3&15)<<12|(this._Ip2()&63)<<6|this._Ip2()&63);i+=3;break;default :_Qq2+=String.fromCharCode(_k3);i++;}}return _Qq2;}_Bp2(){let value=this.buffer.getFloat32(this.index);this.index+=4;return value;}_Dp2(){return this._Ip2()!=0;}};var LinkedMesh=class {constructor(_S8,
skin,_c3,parent,_Lp2){this._S8=_S8;this.skin=skin;this._c3=_c3;this.parent=parent;this._Lp2=_Lp2;}};var _Wp2=class {constructor(bones=null,vertices=null){this.bones=bones;this.vertices=vertices;}};var _Pp2;(function(_Sq2){_Sq2[_Sq2["Region"]=0]="Region";_Sq2[_Sq2["BoundingBox"]=1]="BoundingBox";_Sq2[_Sq2["Mesh"]=2]="Mesh";_Sq2[_Sq2["LinkedMesh"]=3]="LinkedMesh";_Sq2[_Sq2["Path"]=4]="Path";_Sq2[_Sq2["Point"]=5]="Point";_Sq2[_Sq2["Clipping"]=6]="Clipping";})(_Pp2||(_Pp2={}));function _iq2(input,_iH,scale){
let time=input._Bp2(),value=input._Bp2()*scale;for(let frame=0,_zi2=0,_L4=_iH._pi2()-1;;frame++){_iH._Pi2(frame,time,value);if(frame==_L4)break;let _6D=input._Bp2(),_Fi2=input._Bp2()*scale;switch(input._Ip2()){case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,value,_Fi2,scale);}time=_6D;value=_Fi2;}return _iH;}function _kq2(input,_iH,scale){let time=input._Bp2(),_Ai2=input._Bp2()*scale,_Fi2=input._Bp2()*scale;for(let frame=0,_zi2=0,_L4=_iH._pi2()-1;;frame++){_iH._Pi2(frame,
time,_Ai2,_Fi2);if(frame==_L4)break;let _6D=input._Bp2(),_Tq2=input._Bp2()*scale,_Uq2=input._Bp2()*scale;switch(input._Ip2()){case _4q2:_iH._vi2(frame);break;case _5q2:_yi2(input,_iH,_zi2++,frame,0,time,_6D,_Ai2,_Tq2,scale);_yi2(input,_iH,_zi2++,frame,1,time,_6D,_Fi2,_Uq2,scale);}time=_6D;_Ai2=_Tq2;_Fi2=_Uq2;}return _iH;}function _yi2(input,_iH,_zi2,frame,value,_5D,_6D,_Ai2,_Fi2,scale){_iH._yi2(_zi2,frame,value,_5D,_Ai2,input._Bp2(),input._Bp2()*scale,input._Bp2(),input._Bp2()*scale,_6D,_Fi2);}var _hq2=0;
var _jq2=1;var _lq2=2;var _mq2=3;var _nq2=4;var _oq2=5;var _pq2=6;var _qq2=7;var _rq2=8;var _sq2=9;var _1q2=0;var _2q2=1;var _6q2=2;var _7q2=3;var _fq2=4;var _gq2=5;var _Bq2=0;var _Cq2=1;var _Dq2=2;var _4q2=1;var _5q2=2;var _s2=class {constructor(){this._85=0;this._a5=0;this._95=0;this._b5=0;this._i5=new Array();this._15=new Array();this._Vq2=new _tg2(()=>{return _4h2._Jh2(16);});}_Q4(skeleton,_Wq2){if(!skeleton)throw new Error("skeleton cannot be null.");let _i5=this._i5;let _15=this._15;let _Vq2=this._Vq2;let slots=skeleton.slots;
let _Np2=slots.length;_i5.length=0;_Vq2._Wh2(_15);_15.length=0;for(let i=0;i<_Np2;i++){let slot=slots[i];if(!slot.bone.active)continue;let attachment=slot._e3();if(attachment instanceof _l8){let _Aa=attachment;_i5.push(_Aa);let _m5=_Vq2._Uh2();if(_m5.length!=_Aa._T8){_m5=_4h2._Jh2(_Aa._T8);}_15.push(_m5);_Aa._N8(slot,0,_Aa._T8,_m5,0,2);}}if(_Wq2){this._Xq2();}else {this._85=Number.POSITIVE_INFINITY;this._a5=Number.POSITIVE_INFINITY;this._95=Number.NEGATIVE_INFINITY;this._b5=Number.NEGATIVE_INFINITY;}}_Xq2(){
let _85=Number.POSITIVE_INFINITY,_a5=Number.POSITIVE_INFINITY,_95=Number.NEGATIVE_INFINITY,_b5=Number.NEGATIVE_INFINITY;let _15=this._15;for(let i=0,_x5=_15.length;i<_x5;i++){let _m5=_15[i];let vertices=_m5;for(let _4F=0,_7p2=_m5.length;_4F<_7p2;_4F+=2){let x=vertices[_4F];let y=vertices[_4F+1];_85=Math.min(_85,x);_a5=Math.min(_a5,y);_95=Math.max(_95,x);_b5=Math.max(_b5,y);}}this._85=_85;this._a5=_a5;this._95=_95;this._b5=_b5;}_Yq2(x,y){return x>=this._85&&x<=this._95&&y>=this._a5&&y<=this._b5;}_Zq2(_A5,
_B5,_C5,_D5){let _85=this._85;let _a5=this._a5;let _95=this._95;let _b5=this._b5;if(_A5<=_85&&_C5<=_85||_B5<=_a5&&_D5<=_a5||_A5>=_95&&_C5>=_95||_B5>=_b5&&_D5>=_b5)return false;let _z5=(_D5-_B5)/(_C5-_A5);let y=_z5*(_85-_A5)+_B5;if(y>_a5&&y<_b5)return true;y=_z5*(_95-_A5)+_B5;if(y>_a5&&y<_b5)return true;let x=(_a5-_B5)/_z5+_A5;if(x>_85&&x<_95)return true;x=(_b5-_B5)/_z5+_A5;if(x>_85&&x<_95)return true;return false;}__q2(_Ph){return this._85<_Ph._95&&this._95>_Ph._85&&this._a5<_Ph._b5&&this._b5>_Ph._a5;}_Y5(x,y){
let _15=this._15;for(let i=0,_x5=_15.length;i<_x5;i++)if(this._0r2(_15[i],x,y))return this._i5[i];return null;}_0r2(_m5,x,y){let vertices=_m5;let _7p2=_m5.length;let _1r2=_7p2-2;let _2r2=false;for(let _4F=0;_4F<_7p2;_4F+=2){let _3r2=vertices[_4F+1];let _4r2=vertices[_1r2+1];if(_3r2<y&&_4r2>=y||_4r2<y&&_3r2>=y){let _5r2=vertices[_4F];if(_5r2+(y-_3r2)/(_4r2-_3r2)*(vertices[_1r2]-_5r2)<x)_2r2=!_2r2;}_1r2=_4F;}return _2r2;}_F5(_A5,_B5,_C5,_D5){let _15=this._15;for(let i=0,_x5=_15.length;i<_x5;i++)if(this._6r2(_15[i],
_A5,_B5,_C5,_D5))return this._i5[i];return null;}_6r2(_m5,_A5,_B5,_C5,_D5){let vertices=_m5;let _7p2=_m5.length;let _7r2=_A5-_C5,_8r2=_B5-_D5;let _9r2=_A5*_D5-_B5*_C5;let _ja=vertices[_7p2-2],_ka=vertices[_7p2-1];for(let _4F=0;_4F<_7p2;_4F+=2){let _ar2=vertices[_4F],_br2=vertices[_4F+1];let _cr2=_ja*_br2-_ka*_ar2;let _dr2=_ja-_ar2,_er2=_ka-_br2;let _fr2=_7r2*_er2-_8r2*_dr2;let x=(_9r2*_dr2-_7r2*_cr2)/_fr2;if((x>=_ja&&x<=_ar2||x>=_ar2&&x<=_ja)&&(x>=_A5&&x<=_C5||x>=_C5&&x<=_A5)){let y=(_9r2*_er2-_8r2*_cr2)/_fr2;
if((y>=_ka&&y<=_br2||y>=_br2&&y<=_ka)&&(y>=_B5&&y<=_D5||y>=_D5&&y<=_B5))return true;}_ja=_ar2;_ka=_br2;}return false;}_gr2(_Aa){if(!_Aa)throw new Error("boundingBox cannot be null.");let index=this._i5.indexOf(_Aa);return index==-1?null:this._15[index];}_EU1(){return this._95-this._85;}_FU1(){return this._b5-this._a5;}};var _3h2=class {constructor(){this._hr2=new Array();this._ir2=new Array();this._jr2=new Array();this._kr2=new Array();this.triangles=new Array();this._Vq2=new _tg2(()=>{return new Array();});this._lr2=new _tg2(()=>{
return new Array();});}_mr2(_nr2){let vertices=_nr2;let vertexCount=_nr2.length>>1;let _G8=this._jr2;_G8.length=0;for(let i=0;i<vertexCount;i++)_G8[i]=i;let _or2=this._kr2;_or2.length=0;for(let i=0,_x5=vertexCount;i<_x5;++i)_or2[i]=_3h2._or2(i,vertexCount,vertices,_G8);let triangles=this.triangles;triangles.length=0;while(vertexCount>3){let _nk2=vertexCount-1,i=0,_ok=1;while(true){_Ck2:if(!_or2[i]){let _4u=_G8[_nk2]<<1,_6s1=_G8[i]<<1,_Xt1=_G8[_ok]<<1;let _pr2=vertices[_4u],_qr2=vertices[_4u+1];let _rr2=vertices[_6s1],
_sr2=vertices[_6s1+1];let _tr2=vertices[_Xt1],_ur2=vertices[_Xt1+1];for(let _4F=(_ok+1)%vertexCount;_4F!=_nk2;_4F=(_4F+1)%vertexCount){if(!_or2[_4F])continue;let _14=_G8[_4F]<<1;let _U9=vertices[_14],_V9=vertices[_14+1];if(_3h2._vr2(_tr2,_ur2,_pr2,_qr2,_U9,_V9)){if(_3h2._vr2(_pr2,_qr2,_rr2,_sr2,_U9,_V9)){if(_3h2._vr2(_rr2,_sr2,_tr2,_ur2,_U9,_V9))break _Ck2;}}}break;}if(_ok==0){do {if(!_or2[i])break;i--;}while(i>0);break;}_nk2=i;i=_ok;_ok=(_ok+1)%vertexCount;}triangles.push(_G8[(vertexCount+i-1)%vertexCount]);
triangles.push(_G8[i]);triangles.push(_G8[(i+1)%vertexCount]);_G8.splice(i,1);_or2.splice(i,1);vertexCount--;let _wr2=(vertexCount+i-1)%vertexCount;let _xr2=i==vertexCount?0:i;_or2[_wr2]=_3h2._or2(_wr2,vertexCount,vertices,_G8);_or2[_xr2]=_3h2._or2(_xr2,vertexCount,vertices,_G8);}if(vertexCount==3){triangles.push(_G8[2]);triangles.push(_G8[0]);triangles.push(_G8[1]);}return triangles;}_yr2(_nr2,triangles){let vertices=_nr2;let _hr2=this._hr2;this._Vq2._Wh2(_hr2);_hr2.length=0;let _ir2=this._ir2;this._lr2._Wh2(_ir2);
_ir2.length=0;let _zr2=this._lr2._Uh2();_zr2.length=0;let _m5=this._Vq2._Uh2();_m5.length=0;let _Ar2=-1,_Br2=0;for(let i=0,_x5=triangles.length;i<_x5;i+=3){let _3x1=triangles[i]<<1,_4x1=triangles[i+1]<<1,_Cr2=triangles[i+2]<<1;let _A5=vertices[_3x1],_B5=vertices[_3x1+1];let _C5=vertices[_4x1],_D5=vertices[_4x1+1];let _ja=vertices[_Cr2],_ka=vertices[_Cr2+1];let _Dr2=false;if(_Ar2==_3x1){let _RE=_m5.length-4;let _Er2=_3h2._Fr2(_m5[_RE],_m5[_RE+1],_m5[_RE+2],_m5[_RE+3],_ja,_ka);let _Gr2=_3h2._Fr2(_ja,_ka,_m5[0],
_m5[1],_m5[2],_m5[3]);if(_Er2==_Br2&&_Gr2==_Br2){_m5.push(_ja);_m5.push(_ka);_zr2.push(_Cr2);_Dr2=true;}}if(!_Dr2){if(_m5.length>0){_hr2.push(_m5);_ir2.push(_zr2);}else {this._Vq2._Vh2(_m5);this._lr2._Vh2(_zr2);}_m5=this._Vq2._Uh2();_m5.length=0;_m5.push(_A5);_m5.push(_B5);_m5.push(_C5);_m5.push(_D5);_m5.push(_ja);_m5.push(_ka);_zr2=this._lr2._Uh2();_zr2.length=0;_zr2.push(_3x1);_zr2.push(_4x1);_zr2.push(_Cr2);_Br2=_3h2._Fr2(_A5,_B5,_C5,_D5,_ja,_ka);_Ar2=_3x1;}}if(_m5.length>0){_hr2.push(_m5);_ir2.push(_zr2);
}for(let i=0,_x5=_hr2.length;i<_x5;i++){_zr2=_ir2[i];if(_zr2.length==0)continue;let _gJ1=_zr2[0];let lastIndex=_zr2[_zr2.length-1];_m5=_hr2[i];let _RE=_m5.length-4;let _Hr2=_m5[_RE],_Ir2=_m5[_RE+1];let _Jr2=_m5[_RE+2],_4r2=_m5[_RE+3];let _Kr2=_m5[0],_Lr2=_m5[1];let _Mr2=_m5[2],_Nr2=_m5[3];let _Fr2=_3h2._Fr2(_Hr2,_Ir2,_Jr2,_4r2,_Kr2,_Lr2);for(let _4F=0;_4F<_x5;_4F++){if(_4F==i)continue;let _Or2=_ir2[_4F];if(_Or2.length!=3)continue;let _Pr2=_Or2[0];let _Qr2=_Or2[1];let _Rr2=_Or2[2];let _Sr2=_hr2[_4F];let _ja=_Sr2[_Sr2.length-2],
_ka=_Sr2[_Sr2.length-1];if(_Pr2!=_gJ1||_Qr2!=lastIndex)continue;let _Er2=_3h2._Fr2(_Hr2,_Ir2,_Jr2,_4r2,_ja,_ka);let _Gr2=_3h2._Fr2(_ja,_ka,_Kr2,_Lr2,_Mr2,_Nr2);if(_Er2==_Fr2&&_Gr2==_Fr2){_Sr2.length=0;_Or2.length=0;_m5.push(_ja);_m5.push(_ka);_zr2.push(_Rr2);_Hr2=_Jr2;_Ir2=_4r2;_Jr2=_ja;_4r2=_ka;_4F=0;}}}for(let i=_hr2.length-1;i>=0;i--){_m5=_hr2[i];if(_m5.length==0){_hr2.splice(i,1);this._Vq2._Vh2(_m5);_zr2=_ir2[i];_ir2.splice(i,1);this._lr2._Vh2(_zr2);}}return _hr2;}static _or2(index,vertexCount,vertices,
_G8){let _nk2=_G8[(vertexCount+index-1)%vertexCount]<<1;let current=_G8[index]<<1;let _ok=_G8[(index+1)%vertexCount]<<1;return !this._vr2(vertices[_nk2],vertices[_nk2+1],vertices[current],vertices[current+1],vertices[_ok],vertices[_ok+1]);}static _vr2(_pr2,_qr2,_rr2,_sr2,_tr2,_ur2){return _pr2*(_ur2-_sr2)+_rr2*(_qr2-_ur2)+_tr2*(_sr2-_qr2)>=0;}static _Fr2(_pr2,_qr2,_rr2,_sr2,_tr2,_ur2){let _Ft=_rr2-_pr2,_Gt=_sr2-_qr2;return _tr2*_Gt-_ur2*_Ft+_Ft*_qr2-_pr2*_Gt>=0?1:-1;}};var _V8=class {constructor(){this._Tr2=new _3h2();
this._Ur2=new Array();this._Vr2=new Array();this._Y8=new Array();this._Z8=new Array();this._Wr2=new Array();}_W8(slot,clip){if(this._Xr2)return 0;this._Xr2=clip;let _x5=clip._T8;let vertices=_4h2._Gh2(this._Ur2,_x5);clip._N8(slot,0,_x5,vertices,0,2);let _Ur2=this._Ur2;_V8._Yr2(_Ur2);let _Zr2=this._Zr2=this._Tr2._yr2(_Ur2,this._Tr2._mr2(_Ur2));for(let i=0,_Rj2=_Zr2.length;i<_Rj2;i++){let _m5=_Zr2[i];_V8._Yr2(_m5);_m5.push(_m5[0]);_m5.push(_m5[1]);}return _Zr2.length;}_69(slot){if(this._Xr2&&this._Xr2._Sk2==slot.data)this._79();
}_79(){if(!this._Xr2)return;this._Xr2=null;this._Zr2=null;this._Y8.length=0;this._Z8.length=0;this._Ur2.length=0;}_M8(){return this._Xr2!=null;}_X8(vertices,_7o2,triangles,__r2,uvs,light,dark,twoColor){let _Vr2=this._Vr2,_Y8=this._Y8;let _Z8=this._Z8;let _15=this._Zr2;let _0s2=this._Zr2.length;let _s42=twoColor?12:8;let index=0;_Y8.length=0;_Z8.length=0;_Ck2:for(let i=0;i<__r2;i+=3){let _El2=triangles[i]<<1;let _A5=vertices[_El2],_B5=vertices[_El2+1];let _hx1=uvs[_El2],_la=uvs[_El2+1];_El2=triangles[i+1]<<1;
let _C5=vertices[_El2],_D5=vertices[_El2+1];let _24=uvs[_El2],_34=uvs[_El2+1];_El2=triangles[i+2]<<1;let _ja=vertices[_El2],_ka=vertices[_El2+1];let _1s2=uvs[_El2],_ma=uvs[_El2+1];for(let _kg=0;_kg<_0s2;_kg++){let _rh=_Y8.length;if(this.clip(_A5,_B5,_C5,_D5,_ja,_ka,_15[_kg],_Vr2)){let _2s2=_Vr2.length;if(_2s2==0)continue;let _3s2=_D5-_ka,_3D=_ja-_C5,_4D=_A5-_ja,_4s2=_ka-_B5;let _Fl=1/(_3s2*_4D+_3D*(_B5-_ka));let _5s2=_2s2>>1;let _6s2=this._Vr2;let _7s2=_4h2._Gh2(_Y8,_rh+_5s2*_s42);for(let _4F=0;_4F<_2s2;_4F+=2){
let x=_6s2[_4F],y=_6s2[_4F+1];_7s2[_rh]=x;_7s2[_rh+1]=y;_7s2[_rh+2]=light._i3;_7s2[_rh+3]=light._j3;_7s2[_rh+4]=light._k3;_7s2[_rh+5]=light._l3;let _8r1=x-_ja,_ag=y-_ka;let _l3=(_3s2*_8r1+_3D*_ag)*_Fl;let _k3=(_4s2*_8r1+_4D*_ag)*_Fl;let c=1-_l3-_k3;_7s2[_rh+6]=_hx1*_l3+_24*_k3+_1s2*c;_7s2[_rh+7]=_la*_l3+_34*_k3+_ma*c;if(twoColor){_7s2[_rh+8]=dark._i3;_7s2[_rh+9]=dark._j3;_7s2[_rh+10]=dark._k3;_7s2[_rh+11]=dark._l3;}_rh+=_s42;}_rh=_Z8.length;let _8s2=_4h2._Gh2(_Z8,_rh+3*(_5s2-2));_5s2--;for(let _4F=1;_4F<_5s2;
_4F++){_8s2[_rh]=index;_8s2[_rh+1]=index+_4F;_8s2[_rh+2]=index+_4F+1;_rh+=3;}index+=_5s2+1;}else {let _7s2=_4h2._Gh2(_Y8,_rh+3*_s42);_7s2[_rh]=_A5;_7s2[_rh+1]=_B5;_7s2[_rh+2]=light._i3;_7s2[_rh+3]=light._j3;_7s2[_rh+4]=light._k3;_7s2[_rh+5]=light._l3;if(!twoColor){_7s2[_rh+6]=_hx1;_7s2[_rh+7]=_la;_7s2[_rh+8]=_C5;_7s2[_rh+9]=_D5;_7s2[_rh+10]=light._i3;_7s2[_rh+11]=light._j3;_7s2[_rh+12]=light._k3;_7s2[_rh+13]=light._l3;_7s2[_rh+14]=_24;_7s2[_rh+15]=_34;_7s2[_rh+16]=_ja;_7s2[_rh+17]=_ka;_7s2[_rh+18]=light._i3;
_7s2[_rh+19]=light._j3;_7s2[_rh+20]=light._k3;_7s2[_rh+21]=light._l3;_7s2[_rh+22]=_1s2;_7s2[_rh+23]=_ma;}else {_7s2[_rh+6]=_hx1;_7s2[_rh+7]=_la;_7s2[_rh+8]=dark._i3;_7s2[_rh+9]=dark._j3;_7s2[_rh+10]=dark._k3;_7s2[_rh+11]=dark._l3;_7s2[_rh+12]=_C5;_7s2[_rh+13]=_D5;_7s2[_rh+14]=light._i3;_7s2[_rh+15]=light._j3;_7s2[_rh+16]=light._k3;_7s2[_rh+17]=light._l3;_7s2[_rh+18]=_24;_7s2[_rh+19]=_34;_7s2[_rh+20]=dark._i3;_7s2[_rh+21]=dark._j3;_7s2[_rh+22]=dark._k3;_7s2[_rh+23]=dark._l3;_7s2[_rh+24]=_ja;_7s2[_rh+25]=_ka;
_7s2[_rh+26]=light._i3;_7s2[_rh+27]=light._j3;_7s2[_rh+28]=light._k3;_7s2[_rh+29]=light._l3;_7s2[_rh+30]=_1s2;_7s2[_rh+31]=_ma;_7s2[_rh+32]=dark._i3;_7s2[_rh+33]=dark._j3;_7s2[_rh+34]=dark._k3;_7s2[_rh+35]=dark._l3;}_rh=_Z8.length;let _8s2=_4h2._Gh2(_Z8,_rh+3);_8s2[_rh]=index;_8s2[_rh+1]=index+1;_8s2[_rh+2]=index+2;index+=3;continue _Ck2;}}}}clip(_A5,_B5,_C5,_D5,_ja,_ka,_9s2,output){let _as2=output;let _bs2=false;let input=null;if(_9s2.length%4>=2){input=output;output=this._Wr2;}else input=this._Wr2;input.length=0;
input.push(_A5);input.push(_B5);input.push(_C5);input.push(_D5);input.push(_ja);input.push(_ka);input.push(_A5);input.push(_B5);output.length=0;let _cs2=_9s2;let _ds2=_9s2.length-4;for(let i=0;;i+=2){let _es2=_cs2[i],_fs2=_cs2[i+1];let _gs2=_cs2[i+2],_hs2=_cs2[i+3];let _is2=_es2-_gs2,_js2=_fs2-_hs2;let _ks2=input;let _ls2=input.length-2,_ms2=output.length;for(let _4F=0;_4F<_ls2;_4F+=2){let _ns2=_ks2[_4F],_os2=_ks2[_4F+1];let _ps2=_ks2[_4F+2],_qs2=_ks2[_4F+3];let _rs2=_is2*(_qs2-_hs2)-_js2*(_ps2-_gs2)>0;if(_is2*(_os2-_hs2)-_js2*(_ns2-_gs2)>0){
if(_rs2){output.push(_ps2);output.push(_qs2);continue;}let _8r1=_qs2-_os2,_bg=_ps2-_ns2;let _rh=_8r1*(_gs2-_es2)-_bg*(_hs2-_fs2);if(Math.abs(_rh)>1e-6){let _ss2=(_bg*(_fs2-_os2)-_8r1*(_es2-_ns2))/_rh;output.push(_es2+(_gs2-_es2)*_ss2);output.push(_fs2+(_hs2-_fs2)*_ss2);}else {output.push(_es2);output.push(_fs2);}}else if(_rs2){let _8r1=_qs2-_os2,_bg=_ps2-_ns2;let _rh=_8r1*(_gs2-_es2)-_bg*(_hs2-_fs2);if(Math.abs(_rh)>1e-6){let _ss2=(_bg*(_fs2-_os2)-_8r1*(_es2-_ns2))/_rh;output.push(_es2+(_gs2-_es2)*_ss2);
output.push(_fs2+(_hs2-_fs2)*_ss2);}else {output.push(_es2);output.push(_fs2);}output.push(_ps2);output.push(_qs2);}_bs2=true;}if(_ms2==output.length){_as2.length=0;return true;}output.push(output[0]);output.push(output[1]);if(i==_ds2)break;let _nK=output;output=input;output.length=0;input=_nK;}if(_as2!=output){_as2.length=0;for(let i=0,_x5=output.length-2;i<_x5;i++)_as2[i]=output[i];}else _as2.length=_as2.length-2;return _bs2;}static _Yr2(_m5){let vertices=_m5;let _ts2=_m5.length;let _Ct1=vertices[_ts2-2]*vertices[1]-vertices[0]*vertices[_ts2-1],
_pr2=0,_qr2=0,_rr2=0,_sr2=0;for(let i=0,_x5=_ts2-3;i<_x5;i+=2){_pr2=vertices[i];_qr2=vertices[i+1];_rr2=vertices[i+2];_sr2=vertices[i+3];_Ct1+=_pr2*_sr2-_rr2*_qr2;}if(_Ct1<0)return;for(let i=0,_us2=_ts2-2,_x5=_ts2>>1;i<_x5;i+=2){let x=vertices[i],y=vertices[i+1];let other=_us2-i;vertices[i]=vertices[other];vertices[i+1]=vertices[other+1];vertices[other]=x;vertices[other+1]=y;}}};var _V7=class {constructor(_f4){this.scale=1;this._vp2=new Array();this._f4=_f4;}_W7(json){let scale=this.scale;let _pk2=new _Mg2();
let _A4=typeof json==="string"?JSON.parse(json):json;let _vs2=_A4.skeleton;if(_vs2){_pk2.hash=_vs2.hash;_pk2.version=_vs2.spine;_pk2.x=_vs2.x;_pk2.y=_vs2.y;_pk2.width=_vs2.width;_pk2.height=_vs2.height;_pk2.fps=_vs2.fps;_pk2._Ep2=_vs2.images;}if(_A4.bones){for(let i=0;i<_A4.bones.length;i++){let _ws2=_A4.bones[i];let parent=null;let _xs2=_ys2(_ws2,"parent",null);if(_xs2)parent=_pk2._e6(_xs2);let data=new _Wf2(_pk2.bones.length,_ws2.name,parent);data.length=_ys2(_ws2,"length",0)*scale;data.x=_ys2(_ws2,"x",
0)*scale;data.y=_ys2(_ws2,"y",0)*scale;data.rotation=_ys2(_ws2,"rotation",0);data.scaleX=_ys2(_ws2,"scaleX",1);data.scaleY=_ys2(_ws2,"scaleY",1);data.shearX=_ys2(_ws2,"shearX",0);data.shearY=_ys2(_ws2,"shearY",0);data._pg1=_4h2._Qh2(__g2,_ys2(_ws2,"transform","Normal"));data._fm2=_ys2(_ws2,"skin",false);let color=_ys2(_ws2,"color",null);if(color)data.color._dh2(color);_pk2.bones.push(data);}}if(_A4.slots){for(let i=0;i<_A4.slots.length;i++){let _zs2=_A4.slots[i];let _W6=_pk2._e6(_zs2.bone);let data=new _Pg2(_pk2.slots.length,
_zs2.name,_W6);let color=_ys2(_zs2,"color",null);if(color)data.color._dh2(color);let dark=_ys2(_zs2,"dark",null);if(dark)data._A9=_m3._i52(dark);data._Ga=_ys2(_zs2,"attachment",null);data._D9=_4h2._Qh2(_c9,_ys2(_zs2,"blend","normal"));_pk2.slots.push(data);}}if(_A4.ik){for(let i=0;i<_A4.ik.length;i++){let _As2=_A4.ik[i];let data=new _eg2(_As2.name);data._Om2=_ys2(_As2,"order",0);data._fm2=_ys2(_As2,"skin",false);for(let _4F=0;_4F<_As2.bones.length;_4F++)data.bones.push(_pk2._e6(_As2.bones[_4F]));data.target=_pk2._e6(_As2.target);
data.mix=_ys2(_As2,"mix",1);data._cj2=_ys2(_As2,"softness",0)*scale;data._dj2=_ys2(_As2,"bendPositive",true)?1:-1;data.compress=_ys2(_As2,"compress",false);data.stretch=_ys2(_As2,"stretch",false);data._qn2=_ys2(_As2,"uniform",false);_pk2._fj2.push(data);}}if(_A4.transform){for(let i=0;i<_A4.transform.length;i++){let _As2=_A4.transform[i];let data=new _Yg2(_As2.name);data._Om2=_ys2(_As2,"order",0);data._fm2=_ys2(_As2,"skin",false);for(let _4F=0;_4F<_As2.bones.length;_4F++)data.bones.push(_pk2._e6(_As2.bones[_4F]));
let _Bs2=_As2.target;data.target=_pk2._e6(_Bs2);data._Eh=_ys2(_As2,"local",false);data._M01=_ys2(_As2,"relative",false);data._4o2=_ys2(_As2,"rotation",0);data._44=_ys2(_As2,"x",0)*scale;data._54=_ys2(_As2,"y",0)*scale;data._Lo2=_ys2(_As2,"scaleX",0);data._Mo2=_ys2(_As2,"scaleY",0);data._Ko2=_ys2(_As2,"shearY",0);data._hj2=_ys2(_As2,"mixRotate",1);data._ij2=_ys2(_As2,"mixX",1);data._jj2=_ys2(_As2,"mixY",data._ij2);data._kj2=_ys2(_As2,"mixScaleX",1);data._lj2=_ys2(_As2,"mixScaleY",data._kj2);data._mj2=_ys2(_As2,
"mixShearY",1);_pk2._nj2.push(data);}}if(_A4.path){for(let i=0;i<_A4.path.length;i++){let _As2=_A4.path[i];let data=new _og2(_As2.name);data._Om2=_ys2(_As2,"order",0);data._fm2=_ys2(_As2,"skin",false);for(let _4F=0;_4F<_As2.bones.length;_4F++)data.bones.push(_pk2._e6(_As2.bones[_4F]));let _Bs2=_As2.target;data.target=_pk2._a3(_Bs2);data._co2=_4h2._Qh2(_ug2,_ys2(_As2,"positionMode","Percent"));data.spacingMode=_4h2._Qh2(_Qg2,_ys2(_As2,"spacingMode","Length"));data.rotateMode=_4h2._Qh2(_Bg2,_ys2(_As2,"rotateMode",
"Tangent"));data._4o2=_ys2(_As2,"rotation",0);data.position=_ys2(_As2,"position",0);if(data._co2==_ug2.Fixed)data.position*=scale;data.spacing=_ys2(_As2,"spacing",0);if(data.spacingMode==_Qg2.Length||data.spacingMode==_Qg2.Fixed)data.spacing*=scale;data._hj2=_ys2(_As2,"mixRotate",1);data._ij2=_ys2(_As2,"mixX",1);data._jj2=_ys2(_As2,"mixY",data._ij2);_pk2._pj2.push(data);}}if(_A4.skins){for(let i=0;i<_A4.skins.length;i++){let _Cs2=_A4.skins[i];let skin=new _z6(_Cs2.name);if(_Cs2.bones){for(let _4F=0;_4F<_Cs2.bones.length;
_4F++)skin.bones.push(_pk2._e6(_Cs2.bones[_4F]));}if(_Cs2.ik){for(let _4F=0;_4F<_Cs2.ik.length;_4F++)skin._De1.push(_pk2._gp2(_Cs2.ik[_4F]));}if(_Cs2.transform){for(let _4F=0;_4F<_Cs2.transform.length;_4F++)skin._De1.push(_pk2._ip2(_Cs2.transform[_4F]));}if(_Cs2.path){for(let _4F=0;_4F<_Cs2.path.length;_4F++)skin._De1.push(_pk2._jp2(_Cs2.path[_4F]));}for(let _cp2 in _Cs2.attachments){let slot=_pk2._a3(_cp2);let _zs2=_Cs2.attachments[_cp2];for(let _Ds2 in _zs2){let attachment=this._Op2(_zs2[_Ds2],skin,slot.index,
_Ds2,_pk2);if(attachment)skin._b3(slot.index,_Ds2,attachment);}}_pk2.skins.push(skin);if(skin.name=="default")_pk2._Y2=skin;}}for(let i=0,_x5=this._vp2.length;i<_x5;i++){let _Kp2=this._vp2[i];let skin=!_Kp2.skin?_pk2._Y2:_pk2._B6(_Kp2.skin);let parent=skin._e3(_Kp2._c3,_Kp2.parent);_Kp2._S8._8i2=_Kp2._Lp2?parent:_Kp2._S8;_Kp2._S8._hl2(parent);_Kp2._S8._bl2();}this._vp2.length=0;if(_A4.events){for(let _Es2 in _A4.events){let _Fs2=_A4.events[_Es2];let data=new _5g2(_Es2);data._j2=_ys2(_Fs2,"int",0);data._k2=_ys2(_Fs2,
"float",0);data._l2=_ys2(_Fs2,"string","");data._Fp2=_ys2(_Fs2,"audio",null);if(data._Fp2){data.volume=_ys2(_Fs2,"volume",1);data._Sz1=_ys2(_Fs2,"balance",0);}_pk2.events.push(data);}}if(_A4.animations){for(let _ok2 in _A4.animations){let _Gs2=_A4.animations[_ok2];this._Mp2(_Gs2,_ok2,_pk2);}}return _pk2;}_Op2(map,skin,_c3,name,_pk2){let scale=this.scale;name=_ys2(map,"name",name);switch(_ys2(map,"type","region")){case "region":{let path=_ys2(map,"path",name);let _Z3=this._f4._i4(skin,name,path);if(!_Z3)return null;
_Z3.path=path;_Z3.x=_ys2(map,"x",0)*scale;_Z3.y=_ys2(map,"y",0)*scale;_Z3.scaleX=_ys2(map,"scaleX",1);_Z3.scaleY=_ys2(map,"scaleY",1);_Z3.rotation=_ys2(map,"rotation",0);_Z3.width=map.width*scale;_Z3.height=map.height*scale;let color=_ys2(map,"color",null);if(color)_Z3.color._dh2(color);_Z3._n4();return _Z3;}case "boundingbox":{let _Rp2=this._f4._bm2(skin,name);if(!_Rp2)return null;this._Qp2(map,_Rp2,map.vertexCount<<1);let color=_ys2(map,"color",null);if(color)_Rp2.color._dh2(color);return _Rp2;}case "mesh":case "linkedmesh":{
let path=_ys2(map,"path",name);let _S8=this._f4._am2(skin,name,path);if(!_S8)return null;_S8.path=path;let color=_ys2(map,"color",null);if(color)_S8.color._dh2(color);_S8.width=_ys2(map,"width",0)*scale;_S8.height=_ys2(map,"height",0)*scale;let parent=_ys2(map,"parent",null);if(parent){this._vp2.push(new _Hs2(_S8,_ys2(map,"skin",null),_c3,parent,_ys2(map,"deform",true)));return _S8;}let uvs=map.uvs;this._Qp2(map,_S8,uvs.length);_S8.triangles=map.triangles;_S8._cl2=uvs;_S8._bl2();_S8.edges=_ys2(map,"edges",
null);_S8._il2=_ys2(map,"hull",0)*2;return _S8;}case "path":{let path=this._f4._cm2(skin,name);if(!path)return null;path.closed=_ys2(map,"closed",false);path._kl2=_ys2(map,"constantSpeed",true);let vertexCount=map.vertexCount;this._Qp2(map,path,vertexCount<<1);let lengths=_4h2._Ih2(vertexCount/3,0);for(let i=0;i<map.lengths.length;i++)lengths[i]=map.lengths[i]*scale;path.lengths=lengths;let color=_ys2(map,"color",null);if(color)path.color._dh2(color);return path;}case "point":{let _ew1=this._f4._dm2(skin,name);
if(!_ew1)return null;_ew1.x=_ys2(map,"x",0)*scale;_ew1.y=_ys2(map,"y",0)*scale;_ew1.rotation=_ys2(map,"rotation",0);let color=_ys2(map,"color",null);if(color)_ew1.color._dh2(color);return _ew1;}case "clipping":{let clip=this._f4._em2(skin,name);if(!clip)return null;let end=_ys2(map,"end",null);if(end)clip._Sk2=_pk2._a3(end);let vertexCount=map.vertexCount;this._Qp2(map,clip,vertexCount<<1);let color=_ys2(map,"color",null);if(color)clip.color._dh2(color);return clip;}}return null;}_Qp2(map,attachment,_7o2){
let scale=this.scale;attachment._T8=_7o2;let vertices=map.vertices;if(_7o2==vertices.length){let _Is2=_4h2._Mh2(vertices);if(scale!=1){for(let i=0,_x5=vertices.length;i<_x5;i++)_Is2[i]*=scale;}attachment.vertices=_Is2;return;}let _Xp2=new Array();let bones=new Array();for(let i=0,_x5=vertices.length;i<_x5;){let _Wn2=vertices[i++];bones.push(_Wn2);for(let _7p2=i+_Wn2*4;i<_7p2;i+=4){bones.push(vertices[i]);_Xp2.push(vertices[i+1]*scale);_Xp2.push(vertices[i+2]*scale);_Xp2.push(vertices[i+3]);}}attachment.bones=bones;
attachment.vertices=_4h2._Mh2(_Xp2);}_Mp2(map,name,_pk2){let scale=this.scale;let _N4=new Array();if(map.slots){for(let _cp2 in map.slots){let _zs2=map.slots[_cp2];let _c3=_pk2._a3(_cp2).index;for(let _Js2 in _zs2){let _Ks2=_zs2[_Js2];if(!_Ks2)continue;let frames=_Ks2.length;if(_Js2=="attachment"){let _iH=new _Tf2(frames,_c3);for(let frame=0;frame<frames;frame++){let _Ls2=_Ks2[frame];_iH._Pi2(frame,_ys2(_Ls2,"time",0),_Ls2.name);}_N4.push(_iH);}else if(_Js2=="rgba"){let _iH=new _zg2(frames,frames<<2,_c3);let _Ls2=_Ks2[0];
let time=_ys2(_Ls2,"time",0);let color=_m3._i52(_Ls2.color);for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,color._i3,color._j3,color._k3,color._l3);let _Ms2=_Ks2[frame+1];if(!_Ms2){_iH._wi2(_zi2);break;}let _6D=_ys2(_Ms2,"time",0);let _Ns2=_m3._i52(_Ms2.color);let curve=_Ls2.curve;if(curve){_zi2=_Os2(curve,_iH,_zi2,frame,0,time,_6D,color._i3,_Ns2._i3,1);_zi2=_Os2(curve,_iH,_zi2,frame,1,time,_6D,color._j3,_Ns2._j3,1);_zi2=_Os2(curve,_iH,_zi2,frame,2,time,_6D,color._k3,_Ns2._k3,1);_zi2=_Os2(curve,_iH,
_zi2,frame,3,time,_6D,color._l3,_Ns2._l3,1);}time=_6D;color=_Ns2;_Ls2=_Ms2;}_N4.push(_iH);}else if(_Js2=="rgb"){let _iH=new _Ag2(frames,frames*3,_c3);let _Ls2=_Ks2[0];let time=_ys2(_Ls2,"time",0);let color=_m3._i52(_Ls2.color);for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,color._i3,color._j3,color._k3);let _Ms2=_Ks2[frame+1];if(!_Ms2){_iH._wi2(_zi2);break;}let _6D=_ys2(_Ms2,"time",0);let _Ns2=_m3._i52(_Ms2.color);let curve=_Ls2.curve;if(curve){_zi2=_Os2(curve,_iH,_zi2,frame,0,time,_6D,color._i3,_Ns2._i3,
1);_zi2=_Os2(curve,_iH,_zi2,frame,1,time,_6D,color._j3,_Ns2._j3,1);_zi2=_Os2(curve,_iH,_zi2,frame,2,time,_6D,color._k3,_Ns2._k3,1);}time=_6D;color=_Ns2;_Ls2=_Ms2;}_N4.push(_iH);}else if(_Js2=="alpha"){_N4.push(_Ps2(_Ks2,new _Of2(frames,frames,_c3),0,1));}else if(_Js2=="rgba2"){let _iH=new _yg2(frames,frames*7,_c3);let _Ls2=_Ks2[0];let time=_ys2(_Ls2,"time",0);let color=_m3._i52(_Ls2.light);let _gF1=_m3._i52(_Ls2.dark);for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,color._i3,color._j3,color._k3,color._l3,
_gF1._i3,_gF1._j3,_gF1._k3);let _Ms2=_Ks2[frame+1];if(!_Ms2){_iH._wi2(_zi2);break;}let _6D=_ys2(_Ms2,"time",0);let _Ns2=_m3._i52(_Ms2.light);let _Qs2=_m3._i52(_Ms2.dark);let curve=_Ls2.curve;if(curve){_zi2=_Os2(curve,_iH,_zi2,frame,0,time,_6D,color._i3,_Ns2._i3,1);_zi2=_Os2(curve,_iH,_zi2,frame,1,time,_6D,color._j3,_Ns2._j3,1);_zi2=_Os2(curve,_iH,_zi2,frame,2,time,_6D,color._k3,_Ns2._k3,1);_zi2=_Os2(curve,_iH,_zi2,frame,3,time,_6D,color._l3,_Ns2._l3,1);_zi2=_Os2(curve,_iH,_zi2,frame,4,time,_6D,_gF1._i3,
_Qs2._i3,1);_zi2=_Os2(curve,_iH,_zi2,frame,5,time,_6D,_gF1._j3,_Qs2._j3,1);_zi2=_Os2(curve,_iH,_zi2,frame,6,time,_6D,_gF1._k3,_Qs2._k3,1);}time=_6D;color=_Ns2;_gF1=_Qs2;_Ls2=_Ms2;}_N4.push(_iH);}else if(_Js2=="rgb2"){let _iH=new _xg2(frames,frames*6,_c3);let _Ls2=_Ks2[0];let time=_ys2(_Ls2,"time",0);let color=_m3._i52(_Ls2.light);let _gF1=_m3._i52(_Ls2.dark);for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,color._i3,color._j3,color._k3,_gF1._i3,_gF1._j3,_gF1._k3);let _Ms2=_Ks2[frame+1];if(!_Ms2){_iH._wi2(_zi2);
break;}let _6D=_ys2(_Ms2,"time",0);let _Ns2=_m3._i52(_Ms2.light);let _Qs2=_m3._i52(_Ms2.dark);let curve=_Ls2.curve;if(curve){_zi2=_Os2(curve,_iH,_zi2,frame,0,time,_6D,color._i3,_Ns2._i3,1);_zi2=_Os2(curve,_iH,_zi2,frame,1,time,_6D,color._j3,_Ns2._j3,1);_zi2=_Os2(curve,_iH,_zi2,frame,2,time,_6D,color._k3,_Ns2._k3,1);_zi2=_Os2(curve,_iH,_zi2,frame,3,time,_6D,_gF1._i3,_Qs2._i3,1);_zi2=_Os2(curve,_iH,_zi2,frame,4,time,_6D,_gF1._j3,_Qs2._j3,1);_zi2=_Os2(curve,_iH,_zi2,frame,5,time,_6D,_gF1._k3,_Qs2._k3,1);
}time=_6D;color=_Ns2;_gF1=_Qs2;_Ls2=_Ms2;}_N4.push(_iH);}}}}if(map.bones){for(let _bp2 in map.bones){let _ws2=map.bones[_bp2];let _Vi2=_pk2._e6(_bp2).index;for(let _Js2 in _ws2){let _Ks2=_ws2[_Js2];let frames=_Ks2.length;if(frames==0)continue;if(_Js2==="rotate"){_N4.push(_Ps2(_Ks2,new _Cg2(frames,frames,_Vi2),0,1));}else if(_Js2==="translate"){let _iH=new _0h2(frames,frames<<1,_Vi2);_N4.push(_Rs2(_Ks2,_iH,"x","y",0,scale));}else if(_Js2==="translatex"){let _iH=new _1h2(frames,frames,_Vi2);_N4.push(_Ps2(_Ks2,_iH,
0,scale));}else if(_Js2==="translatey"){let _iH=new _2h2(frames,frames,_Vi2);_N4.push(_Ps2(_Ks2,_iH,0,scale));}else if(_Js2==="scale"){let _iH=new _Fg2(frames,frames<<1,_Vi2);_N4.push(_Rs2(_Ks2,_iH,"x","y",1,1));}else if(_Js2==="scalex"){let _iH=new _Gg2(frames,frames,_Vi2);_N4.push(_Ps2(_Ks2,_iH,1,1));}else if(_Js2==="scaley"){let _iH=new _Hg2(frames,frames,_Vi2);_N4.push(_Ps2(_Ks2,_iH,1,1));}else if(_Js2==="shear"){let _iH=new _Ig2(frames,frames<<1,_Vi2);_N4.push(_Rs2(_Ks2,_iH,"x","y",0,1));}else if(_Js2==="shearx"){
let _iH=new _Jg2(frames,frames,_Vi2);_N4.push(_Ps2(_Ks2,_iH,0,1));}else if(_Js2==="sheary"){let _iH=new _Kg2(frames,frames,_Vi2);_N4.push(_Ps2(_Ks2,_iH,0,1));}}}}if(map.ik){for(let _hp2 in map.ik){let _As2=map.ik[_hp2];let _Ls2=_As2[0];if(!_Ls2)continue;let _ej2=_pk2._gp2(_hp2);let _Ss2=_pk2._fj2.indexOf(_ej2);let _iH=new _fg2(_As2.length,_As2.length<<1,_Ss2);let time=_ys2(_Ls2,"time",0);let mix=_ys2(_Ls2,"mix",1);let _cj2=_ys2(_Ls2,"softness",0)*scale;for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,mix,_cj2,
_ys2(_Ls2,"bendPositive",true)?1:-1,_ys2(_Ls2,"compress",false),_ys2(_Ls2,"stretch",false));let _Ms2=_As2[frame+1];if(!_Ms2){_iH._wi2(_zi2);break;}let _6D=_ys2(_Ms2,"time",0);let _tq2=_ys2(_Ms2,"mix",1);let _uq2=_ys2(_Ms2,"softness",0)*scale;let curve=_Ls2.curve;if(curve){_zi2=_Os2(curve,_iH,_zi2,frame,0,time,_6D,mix,_tq2,1);_zi2=_Os2(curve,_iH,_zi2,frame,1,time,_6D,_cj2,_uq2,scale);}time=_6D;mix=_tq2;_cj2=_uq2;_Ls2=_Ms2;}_N4.push(_iH);}}if(map.transform){for(let _hp2 in map.transform){let _Ks2=map.transform[_hp2];
let _Ls2=_Ks2[0];if(!_Ls2)continue;let _ej2=_pk2._ip2(_hp2);let _Ss2=_pk2._nj2.indexOf(_ej2);let _iH=new _Zg2(_Ks2.length,_Ks2.length*6,_Ss2);let time=_ys2(_Ls2,"time",0);let _hj2=_ys2(_Ls2,"mixRotate",1);let _ij2=_ys2(_Ls2,"mixX",1);let _jj2=_ys2(_Ls2,"mixY",_ij2);let _kj2=_ys2(_Ls2,"mixScaleX",1);let _lj2=_ys2(_Ls2,"mixScaleY",_kj2);let _mj2=_ys2(_Ls2,"mixShearY",1);for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,_hj2,_ij2,_jj2,_kj2,_lj2,_mj2);let _Ms2=_Ks2[frame+1];if(!_Ms2){_iH._wi2(_zi2);break;}let _6D=_ys2(_Ms2,
"time",0);let _vq2=_ys2(_Ms2,"mixRotate",1);let _wq2=_ys2(_Ms2,"mixX",1);let _xq2=_ys2(_Ms2,"mixY",_wq2);let _yq2=_ys2(_Ms2,"mixScaleX",1);let _zq2=_ys2(_Ms2,"mixScaleY",_yq2);let _Aq2=_ys2(_Ms2,"mixShearY",1);let curve=_Ls2.curve;if(curve){_zi2=_Os2(curve,_iH,_zi2,frame,0,time,_6D,_hj2,_vq2,1);_zi2=_Os2(curve,_iH,_zi2,frame,1,time,_6D,_ij2,_wq2,1);_zi2=_Os2(curve,_iH,_zi2,frame,2,time,_6D,_jj2,_xq2,1);_zi2=_Os2(curve,_iH,_zi2,frame,3,time,_6D,_kj2,_yq2,1);_zi2=_Os2(curve,_iH,_zi2,frame,4,time,_6D,_lj2,
_zq2,1);_zi2=_Os2(curve,_iH,_zi2,frame,5,time,_6D,_mj2,_Aq2,1);}time=_6D;_hj2=_vq2;_ij2=_wq2;_jj2=_xq2;_kj2=_yq2;_lj2=_zq2;_kj2=_yq2;_Ls2=_Ms2;}_N4.push(_iH);}}if(map.path){for(let _hp2 in map.path){let _As2=map.path[_hp2];let _ej2=_pk2._jp2(_hp2);let _Ss2=_pk2._pj2.indexOf(_ej2);for(let _Js2 in _As2){let _Ks2=_As2[_Js2];let _Ls2=_Ks2[0];if(!_Ls2)continue;let frames=_Ks2.length;if(_Js2==="position"){let _iH=new _qg2(frames,frames,_Ss2);_N4.push(_Ps2(_Ks2,_iH,0,_ej2._co2==_ug2.Fixed?scale:1));}else if(_Js2==="spacing"){
let _iH=new _rg2(frames,frames,_Ss2);_N4.push(_Ps2(_Ks2,_iH,0,_ej2.spacingMode==_Qg2.Length||_ej2.spacingMode==_Qg2.Fixed?scale:1));}else if(_Js2==="mix"){let _iH=new _pg2(frames,frames*3,_Ss2);let time=_ys2(_Ls2,"time",0);let _hj2=_ys2(_Ls2,"mixRotate",1);let _ij2=_ys2(_Ls2,"mixX",1);let _jj2=_ys2(_Ls2,"mixY",_ij2);for(let frame=0,_zi2=0;;frame++){_iH._Pi2(frame,time,_hj2,_ij2,_jj2);let _Ms2=_Ks2[frame+1];if(!_Ms2){_iH._wi2(_zi2);break;}let _6D=_ys2(_Ms2,"time",0);let _vq2=_ys2(_Ms2,"mixRotate",1);let _wq2=_ys2(_Ms2,
"mixX",1);let _xq2=_ys2(_Ms2,"mixY",_wq2);let curve=_Ls2.curve;if(curve){_zi2=_Os2(curve,_iH,_zi2,frame,0,time,_6D,_hj2,_vq2,1);_zi2=_Os2(curve,_iH,_zi2,frame,1,time,_6D,_ij2,_wq2,1);_zi2=_Os2(curve,_iH,_zi2,frame,2,time,_6D,_jj2,_xq2,1);}time=_6D;_hj2=_vq2;_ij2=_wq2;_jj2=_xq2;_Ls2=_Ms2;}_N4.push(_iH);}}}}if(map.deform){for(let _Ts2 in map.deform){let _Us2=map.deform[_Ts2];let skin=_pk2._B6(_Ts2);for(let _cp2 in _Us2){let _zs2=_Us2[_cp2];let _c3=_pk2._a3(_cp2).index;for(let _Js2 in _zs2){let _Ks2=_zs2[_Js2];let _Ls2=_Ks2[0];
if(!_Ls2)continue;let attachment=skin._e3(_c3,_Js2);let _Gq2=attachment.bones;let vertices=attachment.vertices;let _Hq2=_Gq2?vertices.length/3*2:vertices.length;let _iH=new _2g2(_Ks2.length,_Ks2.length,_c3,attachment);let time=_ys2(_Ls2,"time",0);for(let frame=0,_zi2=0;;frame++){let deform;let _Vs2=_ys2(_Ls2,"vertices",null);if(!_Vs2)deform=_Gq2?_4h2._Jh2(_Hq2):vertices;else {deform=_4h2._Jh2(_Hq2);let start=_ys2(_Ls2,"offset",0);_4h2._zh2(_Vs2,0,deform,start,_Vs2.length);if(scale!=1){for(let i=start,_x5=i+_Vs2.length;
i<_x5;i++)deform[i]*=scale;}if(!_Gq2){for(let i=0;i<_Hq2;i++)deform[i]+=vertices[i];}}_iH._Pi2(frame,time,deform);let _Ms2=_Ks2[frame+1];if(!_Ms2){_iH._wi2(_zi2);break;}let _6D=_ys2(_Ms2,"time",0);let curve=_Ls2.curve;if(curve)_zi2=_Os2(curve,_iH,_zi2,frame,0,time,_6D,0,1,1);time=_6D;_Ls2=_Ms2;}_N4.push(_iH);}}}}if(map.drawOrder){let _iH=new _4g2(map.drawOrder.length);let _Np2=_pk2.slots.length;let frame=0;for(let i=0;i<map.drawOrder.length;i++,frame++){let _Ws2=map.drawOrder[i];let drawOrder=null;let _Xs2=_ys2(_Ws2,
"offsets",null);if(_Xs2){drawOrder=_4h2._Ih2(_Np2,-1);let _Kq2=_4h2._Ih2(_Np2-_Xs2.length,0);let _Lq2=0,_Mq2=0;for(let _4F=0;_4F<_Xs2.length;_4F++){let _Ys2=_Xs2[_4F];let _c3=_pk2._a3(_Ys2.slot).index;while(_Lq2!=_c3)_Kq2[_Mq2++]=_Lq2++;drawOrder[_Lq2+_Ys2.offset]=_Lq2++;}while(_Lq2<_Np2)_Kq2[_Mq2++]=_Lq2++;for(let _4F=_Np2-1;_4F>=0;_4F--)if(drawOrder[_4F]==-1)drawOrder[_4F]=_Kq2[--_Mq2];}_iH._Pi2(frame,_ys2(_Ws2,"time",0),drawOrder);}_N4.push(_iH);}if(map.events){let _iH=new _O6(map.events.length);let frame=0;
for(let i=0;i<map.events.length;i++,frame++){let _Fs2=map.events[i];let _kH=_pk2._kp2(_Fs2.name);let event=new Event(_4h2._Nh2(_ys2(_Fs2,"time",0)),_kH);event._j2=_ys2(_Fs2,"int",_kH._j2);event._k2=_ys2(_Fs2,"float",_kH._k2);event._l2=_ys2(_Fs2,"string",_kH._l2);if(event.data._Fp2){event.volume=_ys2(_Fs2,"volume",1);event._Sz1=_ys2(_Fs2,"balance",0);}_iH._Pi2(frame,event);}_N4.push(_iH);}let duration=0;for(let i=0,_x5=_N4.length;i<_x5;i++)duration=Math.max(duration,_N4[i]._qi2());_pk2.animations.push(new _Pf2(name,
_N4,duration));}};var _Hs2=class {constructor(_S8,skin,_c3,parent,_Lp2){this._S8=_S8;this.skin=skin;this._c3=_c3;this.parent=parent;this._Lp2=_Lp2;}};function _Ps2(keys,_iH,defaultValue,scale){let _Ls2=keys[0];let time=_ys2(_Ls2,"time",0);let value=_ys2(_Ls2,"value",defaultValue)*scale;let _zi2=0;for(let frame=0;;frame++){_iH._Pi2(frame,time,value);let _Ms2=keys[frame+1];if(!_Ms2){_iH._wi2(_zi2);return _iH;}let _6D=_ys2(_Ms2,"time",0);let _Fi2=_ys2(_Ms2,"value",defaultValue)*scale;if(_Ls2.curve)_zi2=_Os2(_Ls2.curve,
_iH,_zi2,frame,0,time,_6D,value,_Fi2,scale);time=_6D;value=_Fi2;_Ls2=_Ms2;}}function _Rs2(keys,_iH,_Zs2,__s2,defaultValue,scale){let _Ls2=keys[0];let time=_ys2(_Ls2,"time",0);let _Ai2=_ys2(_Ls2,_Zs2,defaultValue)*scale;let _Fi2=_ys2(_Ls2,__s2,defaultValue)*scale;let _zi2=0;for(let frame=0;;frame++){_iH._Pi2(frame,time,_Ai2,_Fi2);let _Ms2=keys[frame+1];if(!_Ms2){_iH._wi2(_zi2);return _iH;}let _6D=_ys2(_Ms2,"time",0);let _Tq2=_ys2(_Ms2,_Zs2,defaultValue)*scale;let _Uq2=_ys2(_Ms2,__s2,defaultValue)*scale;let curve=_Ls2.curve;
if(curve){_zi2=_Os2(curve,_iH,_zi2,frame,0,time,_6D,_Ai2,_Tq2,scale);_zi2=_Os2(curve,_iH,_zi2,frame,1,time,_6D,_Fi2,_Uq2,scale);}time=_6D;_Ai2=_Tq2;_Fi2=_Uq2;_Ls2=_Ms2;}}function _Os2(curve,_iH,_zi2,frame,value,_5D,_6D,_Ai2,_Fi2,scale){if(curve=="stepped"){_iH._vi2(frame);return _zi2;}let i=value<<2;let _Bi2=curve[i];let _Ci2=curve[i+1]*scale;let _Di2=curve[i+2];let _Ei2=curve[i+3]*scale;_iH._yi2(_zi2,frame,value,_5D,_Ai2,_Bi2,_Ci2,_Di2,_Ei2,_6D,_Fi2);return _zi2+1;}function _ys2(map,__h,defaultValue){return map[__h]!==void 0?map[__h]:defaultValue;
}(()=>{if(typeof Math._Oh2==="undefined"){Math._Oh2=function(_La){return function(x){return _La[0]=x,_La[0];};}(new Float32Array(1));}})();var _ig2=class {constructor(_0t2,_1t2){this._0t2=0;this._1t2=0;this._0t2=_0t2;this._1t2=_1t2;}_2t2(skeleton){}transform(position,_Xb,light,dark){position.x+=_jg2._rh2(-this._0t2,this._1t2);position.y+=_jg2._rh2(-this._0t2,this._1t2);}end(){}};var _3t2=class {constructor(_W51){this._4t2=0;this._5t2=0;this._W51=0;this.angle=0;this._l6=0;this._m6=0;this._W51=_W51;}_2t2(skeleton){
this._l6=skeleton.x+this._4t2;this._m6=skeleton.y+this._5t2;}transform(position,_Xb,light,dark){let _6t2=this.angle*_jg2._wh2;let x=position.x-this._l6;let y=position.y-this._m6;let _dt=Math.sqrt(x*x+y*y);if(_dt<this._W51){let _7t2=_3t2.interpolation.apply(0,_6t2,(this._W51-_dt)/this._W51);let cos=Math.cos(_7t2);let sin=Math.sin(_7t2);position.x=cos*x-sin*y+this._l6;position.y=sin*x+cos*y+this._m6;}}end(){}};var _Sg2=_3t2;_Sg2.interpolation=new _wg2(2);return _Nf2;})();var _8t2=0,_9t2=1,_at2=2,_bt2=3,_ct2=4,
_dt2=5,_et2=6,_ft2=7,_gt2=8,_ht2=9;var _it2=0,_jt2=1,_kt2=2,_lt2=3;/*@constructor */function _mt2(_sc,_nf){this.type=_sc;this.id=_nf;this._I3=null;this._nt2=-1;};_mt2.prototype._ot2=function(_w42,_pt2,_qt2,_rt2,_st2){var _tt2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;var width=_pt2.getInt32(_qt2,_rt2);_qt2+=4;var height=_pt2.getInt32(_qt2,_rt2);_qt2+=4;this._nt2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;return _qt2;};_mt2.prototype._ut2=function(_DW,_6K){var _k3=new ArrayBuffer(4);var _l3=new Uint32Array(_k3);var c=new Uint8Array(_k3);
_l3[0]=0xdeadbeef;if(c[0]==0xef){return(((_DW&0xff)<<8)|(_6K&0xff));}if(c[0]==0xde){return(((_6K&0xff)<<8)|(_DW&0xff));}};_mt2.prototype._vt2=function(_wt2){try{do {if(_wt2[1]==0xd9){_wt2=_wt2.subarray(2);}else if(_wt2[1]==0xd8){if((_wt2[6]===0x4a)&&(_wt2[7]===0x46)&&(_wt2[8]===0x49)&&(_wt2[9]===0x46)){var w=this._ut2(_wt2[14],_wt2[15]);var h=this._ut2(_wt2[16],_wt2[17]);var _xt2={width:w,height:h,body:_wt2};return _xt2;}_wt2=_wt2.subarray(4+this._ut2(_wt2[4],_wt2[5]));}else {_wt2=_wt2.subarray(2+this._ut2(_wt2[2],
_wt2[3]));}}while((_wt2.byteLength>=0)&&(_wt2[0]==0xff));}catch(e){debug(e.message);}var _xt2={width:w,height:h,body:_wt2};return _xt2;};_mt2.prototype._yt2=function(_sc,_q7,_r7,_wt2,_zt2,_At2,_Bt2){switch(_sc){case _ct2:{this._I3=this._Ct2(_q7,_r7,_wt2,"gif");}break;case _bt2:{this._I3=this._Ct2(_q7,_r7,_wt2,"png");}break;case _9t2:case _8t2:{this._I3=this._Ct2(_q7,_r7,_wt2,"jpeg");}break;case _at2:{var _xt2=this._vt2(_wt2);this._I3=this._Ct2(_xt2.width,_xt2.height,_xt2.body,"jpeg",function(_Yf1){var _Dt2=String.fromCharCode.apply(null,
new Uint16Array(_zt2));var _Dt2=_Dt2.split('').map(function(e){return e.charCodeAt(0);});var Zlib=window["Zlib"];var _Et2=new Zlib["Inflate"](_Dt2);var _Ft2=_Et2["decompress"]();this._I3=_a_1(_Yf1,_Ft2);});}break;case _dt2:case _gt2:{this._I3=null;}break;case _et2:case _ft2:case _ht2:{var _I3=new Image();var _1c=_i7._6_1(_I3,_wt2,_q7,_r7);_I3._R7=_1c;_I3._3c=_q7;_I3._4c=_r7;this._I3=_I3;}break;default :break;}};_mt2.prototype._Ct2=function(_q7,_r7,_wt2,_Gt2,_EM,_Ht2){var _Qq2=new Uint16Array(_wt2);var _aN="";for(var i=0,
_K5=_Qq2.length;i<_K5;i++){_aN+=String.fromCharCode(_Qq2[i]);}var _It2=window.btoa(_aN);var _Jt2="data:image/"+_Gt2+";base64,"+_It2;var img=new Image();img.onload=function(){var _F3={texture:img};_Q7(_F3);if(_EM){_EM(_F3);}};img.onerror=function(e){debug(e);if(_Ht2){_Ht2(e);}};img.src=_tG(null,null,_Jt2);return img;};function _a_1(_Yf1,_y8){var _1c=_i7._a_1(_Yf1.texture._R7,_y8);_Yf1.texture._R7=_1c;_Yf1.texture._3c=_1c._EZ1;_Yf1.texture._4c=_1c._FZ1;return _Yf1.texture;}var _Kt2=0,_Lt2=1,_Mt2=2;var _Nt2=0,
_Ot2=1,_Pt2=2,_Qt2=3;var _Rt2=0,_St2=1;var _Tt2={_8q1:0,_9q1:0,version:1};/*@constructor */function _Ut2(_sc,_nf){this.type=_sc;this.id=_nf;};_Ut2.prototype._Vt2=function(_pt2,_qt2,_rt2,_Wt2){this._85=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;this._95=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;this._a5=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;this._b5=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;var _Xt2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;this._Yt2=[];for(var i=0;i<_Xt2;i++){var _Zt2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;var __t2=_pt2.getInt32(_qt2,
_rt2);_qt2+=4;var _0u2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;var _1u2={_Zt2:_Zt2,__t2:__t2,_0u2:_0u2};_1u2._2u2=(_Zt2>0)?[]:null;_1u2._3u2=(__t2>0)?[]:null;_1u2._4u2=(_0u2>0)?[]:null;_qt2=this._5u2(_1u2,_pt2,_qt2,_rt2,_Wt2);_qt2=this._6u2(_1u2,_pt2,_qt2,_rt2);_qt2=this._7u2(_1u2,_pt2,_qt2,_rt2);this._Yt2.push(_1u2);}return _qt2;};_Ut2.prototype._5u2=function(_8u2,_pt2,_qt2,_rt2,_Wt2){_8u2._2u2=[];for(var i=0;i<_8u2._Zt2;i++){var _9u2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;var _au2=null;switch(_9u2){case _Ot2:{_au2={
type:_Ot2};var _mu=_pt2.getUint8(_qt2,_rt2);_qt2++;var _nu=_pt2.getUint8(_qt2,_rt2);_qt2++;var _ou=_pt2.getUint8(_qt2,_rt2);_qt2++;var alpha=_pt2.getUint8(_qt2,_rt2);_qt2++;_au2._q3=(_mu|(_nu<<8)|(_ou<<16)|(alpha<<24));}break;case _Pt2:{_au2={type:_Pt2};_au2._bu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_au2._nt2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;var _cu2=[];for(var _z5=0;_z5<9;_z5++){_cu2[_z5]=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;}_au2._cu2=new _Dy();_au2._cu2._z5[_9A]=_cu2[0];_au2._cu2._z5[_aA]=_cu2[1];_au2._cu2._z5[_cA]=_cu2[2];
_au2._cu2._z5[_dA]=_cu2[3];_au2._cu2._z5[_4z]=_cu2[4];_au2._cu2._z5[_fA]=_cu2[5];_au2._du2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_au2._eu2=[];for(var _z5=0;_z5<_au2._du2;_z5++){var ratio=_pt2.getInt32(_qt2,_rt2);_qt2+=4;var _mu=_pt2.getUint8(_qt2,_rt2);_qt2++;var _nu=_pt2.getUint8(_qt2,_rt2);_qt2++;var _ou=_pt2.getUint8(_qt2,_rt2);_qt2++;var alpha=_pt2.getUint8(_qt2,_rt2);_qt2++;_au2._eu2.push({ratio:ratio,_q3:(_mu|(_nu<<8)|(_ou<<16)|(alpha<<24))});}_au2._Mb=null;}break;case _Qt2:{_au2={type:_Qt2};_au2._fu2=_pt2.getInt32(_qt2,
_rt2);_qt2+=4;_au2._gu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_au2._hu2=-1;for(var index=0;index<_Wt2.length;index++){if(_Wt2[index].id===_au2._gu2){_au2._hu2=index;break;}}var _cu2=[];for(var _z5=0;_z5<9;_z5++){_cu2[_z5]=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;}_au2._cu2=new _Dy();_au2._cu2._z5[_9A]=_cu2[0];_au2._cu2._z5[_aA]=_cu2[1];_au2._cu2._z5[_cA]=_cu2[2];_au2._cu2._z5[_dA]=_cu2[3];_au2._cu2._z5[_4z]=_cu2[4];_au2._cu2._z5[_fA]=_cu2[5];}break;}_8u2._2u2.push(_au2);}return _qt2;};_Ut2.prototype._iu2=function(_ju2){
if((_ju2===null)||(_ju2===undefined)){return;}var _ku2=256,_lu2=1,_mu2=64,_nu2=64;var _ou2=[];var width,height;switch(_ju2._bu2){default :return;case _Rt2:{width=_ku2;height=_lu2;for(var i=0;i<_ku2;i++){_ou2[i]=this._pu2(_ju2,i);}}break;case _St2:{width=_mu2;height=_nu2;var _qu2=(_mu2-1)/2;var _ru2=(_nu2-1)/2;var _W51=_M5(_qu2,_ru2);for(var _35=0;_35<_nu2;_35++){for(var i=0;i<_mu2;i++){var _Z9=i-_qu2;var __9=_35-_ru2;var _dt=Math.sqrt(_Z9*_Z9+__9*__9);_dt/=_W51;var ratio=255*_dt;_ou2[(_35*_mu2)+i]=this._pu2(_ju2,
ratio);}}}break;}_ju2._Mb=_su2(width,height,_ou2);};function _su2(_oi,_pi,_7_1){var _of1=document.createElement(_cE);var _pf1=_of1.getContext('2d');_qf1(_pf1);var _1c=_i7._8_1(_of1,_7_1,_oi,_pi);var _F3=new _lr();_F3.x=0;_F3.y=0;_F3.w=_1c._EZ1;_F3.h=_1c._FZ1;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_oi;_F3.oh=_pi;_F3.tp=_Cr(_of1);_F3.texture=_J3[_F3.tp];_F3.texture._R7=_1c;_F3.texture._3c=_of1.width;_F3.texture._4c=_of1.height;_F3.texture.complete=true;return _F3;}_Ut2.prototype._pu2=function(_ju2,
_R41){if(_ju2._du2<=0){return 0;}_R41=(_R41<0)?0:(_R41>255)?255:_R41;if(_R41<_ju2._eu2[0].ratio){return _ju2._eu2[0]._q3;}for(var i=1;i<_ju2._du2;i++){var _tu2=_ju2._eu2[i];if(_tu2.ratio>=_R41){var _uu2=_ju2._eu2[i-1];var _vu2=0;if(_tu2.ratio!=_uu2.ratio){_vu2=((_R41-_uu2.ratio)<<8)/(_tu2.ratio-_uu2.ratio);}var _wu2=256-_vu2;var _q3=_tu2._q3;var _xu2=_uu2._q3;var _yu2=[];_yu2[0]=((_q3&0xff)*_vu2)>>8;_yu2[1]=(((_q3>>8)&0xff)*_vu2)>>8;_yu2[2]=(((_q3>>16)&0xff)*_vu2)>>8;_yu2[3]=(((_q3>>24)&0xff)*_vu2)>>8;_yu2[0]+=((_xu2&0xff)*_wu2)>>8;
_yu2[1]+=(((_xu2>>8)&0xff)*_wu2)>>8;_yu2[2]+=(((_xu2>>16)&0xff)*_wu2)>>8;_yu2[3]+=(((_xu2>>24)&0xff)*_wu2)>>8;var _zu2=_yu2[0]|(_yu2[1]<<8)|(_yu2[2]<<16)|(_yu2[3]<<24);return _zu2;}}return _ju2._eu2[_ju2._du2-1]._q3;};_Ut2.prototype._6u2=function(_8u2,_pt2,_qt2,_rt2){_8u2._3u2=[];for(var i=0;i<_8u2.__t2;i++){var _mu=_pt2.getUint8(_qt2,_rt2);_qt2++;var _nu=_pt2.getUint8(_qt2,_rt2);_qt2++;var _ou=_pt2.getUint8(_qt2,_rt2);_qt2++;var alpha=_pt2.getUint8(_qt2,_rt2);_qt2++;_8u2._3u2.push({_q3:(_mu|(_nu<<8)|(_ou<<16)|(alpha<<24))}
);}return _qt2;};_Ut2.prototype._7u2=function(_8u2,_pt2,_qt2,_rt2){var i,_z5;_8u2._4u2=[];for(i=0;i<_8u2._0u2;i++){var _Au2={};_8u2._4u2.push(_Au2);_Au2._Bu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_Au2._Cu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_Au2._Du2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_Au2._Eu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_Au2._4i=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_Au2._Fu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_Au2._Gu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_Au2._Hu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;if(_Tt2.version>=2){
_Au2._Iu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_Au2._Ju2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;}if(_Tt2.version>=3){_Au2._Ku2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_Au2._Lu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;}_Au2._Mu2=(_Au2._Eu2>0)?[]:null;_Au2._Nu2=(_Au2._4i>0)?[]:null;_Au2._Ou2=(_Au2._Fu2>0)?[]:null;_Au2._Pu2=(_Au2._Gu2>0)?[]:null;_Au2._Qu2=(_Au2._Hu2>0)?[]:null;_Au2._Ru2=(_Au2._Iu2)?[]:null;_Au2._Su2=(_Au2._Ju2)?[]:null;_Au2._Tu2=(_Au2._Ku2)?[]:null;_Au2._Uu2=(_Au2._Lu2)?[]:null;for(_z5=0;_z5<_Au2._Eu2*2;_z5++){
_Au2._Mu2[_z5]=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;}for(_z5=0;_z5<_Au2._4i*2;_z5++){_Au2._Vu2[_z5]=_pt2.getInt32(_qt2,_rt2);_qt2+=4;}for(_z5=0;_z5<_Au2._Fu2*3;_z5++){_Au2._Ou2[_z5]=_pt2.getUint32(_qt2,_rt2);_qt2+=4;}for(_z5=0;_z5<_Au2._Gu2*2;_z5++){_Au2._Pu2[_z5]=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;}for(_z5=0;_z5<_Au2._Hu2*3;_z5++){_Au2._Qu2[_z5]=_pt2.getUint32(_qt2,_rt2);_qt2+=4;}if(_Tt2.version>=2){for(_z5=0;_z5<_Au2._Iu2*2;_z5++){_Au2._Ru2[_z5]=_pt2.getInt32(_qt2,_rt2);_qt2+=4;}for(_z5=0;_z5<_Au2._Ju2*2;
_z5++){_Au2._Su2[_z5]=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;}}if(_Tt2.version>=3){for(_z5=0;_z5<_Au2._Ku2*2;_z5++){_Au2._Tu2[_z5]=_pt2.getInt32(_qt2,_rt2);_qt2+=4;}for(_z5=0;_z5<_Au2._Lu2*2;_z5++){_Au2._Uu2[_z5]=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;}}}return _qt2;};var _Wu2=1.0/20.0;/*@constructor */function _Xu2(){this._Yu2=0;this._Zu2=0;this._85=0;this._95=0;this._a5=0;this._b5=0;this.__u2=null;};_Xu2.prototype._0v2=function(_pt2,_qt2,_rt2){this._Yu2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;this._Zu2=_pt2.getInt32(_qt2,
_rt2);_qt2+=4;this._85=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;this._95=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;this._a5=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;this._b5=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;var _1v2,_2v2,_3v2;_1v2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_2v2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_3v2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;this.__u2={_1v2:_1v2,_2v2:_2v2,_3v2:_3v2};this._4v2=[];for(var i=0;i<this._Zu2;i++){var _5v2={};this._4v2.push(_5v2);_5v2._6v2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;
_5v2._85=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;_5v2._95=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;_5v2._a5=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;_5v2._b5=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;_5v2._7v2=[];for(var _35=0;_35<_5v2._6v2;_35++){var _ZE={};_5v2._7v2.push(_ZE);_ZE._IP=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_ZE.index=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_ZE.depth=_pt2.getInt32(_qt2,_rt2);_qt2+=4;_ZE._8v2=_pt2.getInt32(_qt2,_rt2);_qt2+=4;var _9v2=[];for(var _qk=0;_qk<4;_qk++){_9v2[_qk]=_pt2.getInt32(_qt2,
_rt2);_qt2+=4;}var _av2=[];for(var _qk=0;_qk<4;_qk++){_av2[_qk]=_pt2.getInt32(_qt2,_rt2);_qt2+=4;}_ZE._bv2=[];_ZE._cv2=[];_ZE._dv2=[];_ZE._bv2[0]=_9v2[2];_ZE._cv2[0]=_av2[2];_ZE._dv2[0]=0;_ZE._bv2[1]=_9v2[1];_ZE._cv2[1]=_av2[1];_ZE._dv2[1]=_av2[1];_ZE._bv2[2]=_9v2[0];_ZE._cv2[2]=_av2[0];_ZE._dv2[2]=_av2[0];_ZE._bv2[3]=_9v2[3];_ZE._cv2[3]=_av2[3];_ZE._dv2[3]=_av2[3];_ZE._85=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;_ZE._95=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;_ZE._a5=_pt2.getFloat32(_qt2,_rt2)*_Wu2;
_qt2+=4;_ZE._b5=_pt2.getFloat32(_qt2,_rt2)*_Wu2;_qt2+=4;var _cu2=[];for(var _qk=0;_qk<9;_qk++){_cu2[_qk]=_pt2.getFloat32(_qt2,_rt2);_qt2+=4;}_ZE._cu2=new _Dy();_ZE._cu2._z5[_9A]=_cu2[0];_ZE._cu2._z5[_aA]=_cu2[1];_ZE._cu2._z5[_cA]=_cu2[2];_ZE._cu2._z5[_dA]=_cu2[3];_ZE._cu2._z5[_4z]=_cu2[4];_ZE._cu2._z5[_fA]=_cu2[5];}}return _qt2;};function _8a1(_ev2){this._fv2=_ev2;this._gv2=_ev2;this._hv2=_ev2;this._iv2=0;this._jv2=0;this._kv2=0;this._lv2=0;}_8a1.prototype.get =function(){return this._fv2;};_8a1.prototype.set =function(_ts,
_sc1=0){_sc1=Math.max(0,_sc1);if(_sc1==0){this._fv2=_ts;this._hv2=_ts;this._kv2=performance.now();}else {this._gv2=this._fv2;this._hv2=_ts;this._iv2=this._hv2-this._gv2;this._jv2=performance.now();this._kv2=this._jv2+_sc1;this._lv2=1/(this._kv2-this._jv2);}};_8a1.prototype._Q4=function(){const currentTime=performance.now();if(currentTime>=this._kv2){this._fv2=this._hv2;}else {let frac=(currentTime-this._jv2)*this._lv2;frac=Math.max(0,Math.min(frac,1));this._fv2=this._gv2+(this._iv2*frac);}return this._fv2;
};/*@license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */(function(){'use strict';var _x5=void 0,w=!0,_Kn2=this;function _aZ(_IC,_Fl){var c=_IC.split("."),e=_Kn2;!(c[0] in e)&&e._mv2&&e._mv2("var "+c[0]);for(var _k3;c.length&&(_k3=c.shift());)!c.length&&_Fl!==_x5?e[_k3]=_Fl:e=e[_k3]?e[_k3]:e[_k3]={}};var _Br1="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array&&"undefined"!==typeof DataView;function _2M1(_IC,_Fl){this.index="number"===typeof _Fl?_Fl:0;
this.e=0;this.buffer=_IC instanceof(_Br1?Uint8Array:Array)?_IC:new(_Br1?Uint8Array:Array)(32768);if(2*this.buffer.length<=this.index)throw Error("invalid index");this.buffer.length<=this.index&&_nv2(this)}function _nv2(_IC){var _Fl=_IC.buffer,c,e=_Fl.length,_k3=new(_Br1?Uint8Array:Array)(e<<1);if(_Br1)_k3.set(_Fl);else for(c=0;c<e;++c)_k3[c]=_Fl[c];return _IC.buffer=_k3}_2M1.prototype._k3=function(_IC,_Fl,c){var e=this.buffer,_k3=this.index,_l3=this.e,_j3=e[_k3],_z5;c&&1<_Fl&&(_IC=8<_Fl?(_oR1[_IC&255]<<24|_oR1[_IC>>>8&255]<<16|_oR1[_IC>>>16&255]<<8|_oR1[_IC>>>24&255])>>32-_Fl:_oR1[_IC]>>8-_Fl);
if(8>_Fl+_l3)_j3=_j3<<_Fl|_IC,_l3+=_Fl;else for(_z5=0;_z5<_Fl;++_z5)_j3=_j3<<1|_IC>>_Fl-_z5-1&1,8===++_l3&&(_l3=0,e[_k3++]=_oR1[_j3],_j3=0,_k3===e.length&&(e=_nv2(this)));e[_k3]=_j3;this.buffer=e;this.e=_l3;this.index=_k3};_2M1.prototype._tU1=function(){var _IC=this.buffer,_Fl=this.index,c;0<this.e&&(_IC[_Fl]<<=8-this.e,_IC[_Fl]=_oR1[_IC[_Fl]],_Fl++);_Br1?c=_IC.subarray(0,_Fl):(_IC.length=_Fl,c=_IC);return c};var _FK1=new(_Br1?Uint8Array:Array)(256),_Wq1;for(_Wq1=0;256>_Wq1;++_Wq1){for(var _ov2=_Wq1,
_pv2=_ov2,_qv2=7,_ov2=_ov2>>>1;_ov2;_ov2>>>=1)_pv2<<=1,_pv2|=_ov2&1,--_qv2;_FK1[_Wq1]=(_pv2<<_qv2&255)>>>0}var _oR1=_FK1;function _Am2(_IC){this.buffer=new(_Br1?Uint16Array:Array)(2*_IC);this.length=0}_Am2.prototype._rv2=function(_IC){return 2*((_IC-2)/4|0)};_Am2.prototype.push=function(_IC,_Fl){var c,e,_k3=this.buffer,_l3;c=this.length;_k3[this.length++]=_Fl;for(_k3[this.length++]=_IC;0<c;)if(e=this._rv2(c),_k3[c]>_k3[e])_l3=_k3[c],_k3[c]=_k3[e],_k3[e]=_l3,_l3=_k3[c+1],_k3[c+1]=_k3[e+1],_k3[e+1]=_l3,
c=e;else break;return this.length};_Am2.prototype.pop=function(){var _IC,_Fl,c=this.buffer,e,_k3,_l3;_Fl=c[0];_IC=c[1];this.length-=2;c[0]=c[this.length];c[1]=c[this.length+1];for(_l3=0;;){_k3=2*_l3+2;if(_k3>=this.length)break;_k3+2<this.length&&c[_k3+2]>c[_k3]&&(_k3+=2);if(c[_k3]>c[_l3])e=c[_l3],c[_l3]=c[_k3],c[_k3]=e,e=c[_l3+1],c[_l3+1]=c[_k3+1],c[_k3+1]=e;else break;_l3=_k3}return({index:_IC,value:_Fl,length:this.length})};function _II1(_IC,_Fl){this._Fl=_qm2;this.i=0;this.input=_Br1&&_IC instanceof Array?new Uint8Array(_IC):_IC;
this.c=0;_Fl&&(_Fl._sv2&&(this.i=_Fl._sv2),"number"===typeof _Fl._tv2&&(this._Fl=_Fl._tv2),_Fl.outputBuffer&&(this._l3=_Br1&&_Fl.outputBuffer instanceof Array?new Uint8Array(_Fl.outputBuffer):_Fl.outputBuffer),"number"===typeof _Fl._uv2&&(this.c=_Fl._uv2));this._l3||(this._l3=new(_Br1?Uint8Array:Array)(32768))}var _qm2=2,_bq2={_ao2:0,h:1,_j3:_qm2,_x5:3},_yr1=[],_vv2;for(_vv2=0;288>_vv2;_vv2++)switch(w){case 143>=_vv2:_yr1.push([_vv2+48,8]);break;case 255>=_vv2:_yr1.push([_vv2-144+400,9]);break;case 279>=_vv2:_yr1.push([_vv2-256+0,
7]);break;case 287>=_vv2:_yr1.push([_vv2-280+192,8]);break;default :throw "invalid literal: "+_vv2;}_II1.prototype._IC=function(){var _IC,_Fl,c,e,_k3=this.input;switch(this._Fl){case 0:c=0;for(e=_k3.length;c<e;){_Fl=_Br1?_k3.subarray(c,c+65535):_k3.slice(c,c+65535);c+=_Fl.length;var _l3=_Fl,_j3=c===e,_z5=_x5,_qk=_x5,_kg=_x5,_N5=_x5,_04=_x5,_K5=this._l3,h=this.c;if(_Br1){for(_K5=new Uint8Array(this._l3.buffer);_K5.length<=h+_l3.length+5;)_K5=new Uint8Array(_K5.length<<1);_K5.set(this._l3)}_z5=_j3?1:0;_K5[h++]=_z5|0;
_qk=_l3.length;_kg=~_qk+65536&65535;_K5[h++]=_qk&255;_K5[h++]=_qk>>>8&255;_K5[h++]=_kg&255;_K5[h++]=_kg>>>8&255;if(_Br1)_K5.set(_l3,h),h+=_l3.length,_K5=_K5.subarray(0,h);else {_N5=0;for(_04=_l3.length;_N5<_04;++_N5)_K5[h++]=_l3[_N5];_K5.length=h}this.c=h;this._l3=_K5}break;case 1:var q=new _2M1(_Br1?new Uint8Array(this._l3.buffer):this._l3,this.c);q._k3(1,1,w);q._k3(1,2,w);var _rh=_kJ1(this,_k3),x,_wv2,z;x=0;for(_wv2=_rh.length;x<_wv2;x++)if(z=_rh[x],_2M1.prototype._k3.apply(q,_yr1[z]),256<z)q._k3(_rh[++x],
_rh[++x],w),q._k3(_rh[++x],5),q._k3(_rh[++x],_rh[++x],w);else if(256===z)break;this._l3=q._tU1();this.c=this._l3.length;break;case _qm2:var _Hq1=new _2M1(_Br1?new Uint8Array(this._l3.buffer):this._l3,this.c),_Ln2,_xv2,_yv2,_ey1,_dy1,_zv2=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_tz,_ss2,_uz,_Av2,_Bv2,_Cv2=Array(19),_Dv2,_Ev2,_Fv2,y,_Fv;_Ln2=_qm2;_Hq1._k3(1,1,w);_Hq1._k3(_Ln2,2,w);_xv2=_kJ1(this,_k3);_tz=_GI1(this._z5,15);_ss2=_Gv2(_tz);_uz=_GI1(this._K5,7);_Av2=_Gv2(_uz);for(_yv2=286;257<_yv2&&0===_tz[_yv2-1];
_yv2--);for(_ey1=30;1<_ey1&&0===_uz[_ey1-1];_ey1--);var _Gv=_yv2,_Hv=_ey1,_pA1=new(_Br1?Uint32Array:Array)(_Gv+_Hv),_i3,_qA1,_14,_vz,_tA1=new(_Br1?Uint32Array:Array)(316),_Gt1,_zp1,_Hv2=new(_Br1?Uint8Array:Array)(19);for(_i3=_qA1=0;_i3<_Gv;_i3++)_pA1[_qA1++]=_tz[_i3];for(_i3=0;_i3<_Hv;_i3++)_pA1[_qA1++]=_uz[_i3];if(!_Br1){_i3=0;for(_vz=_Hv2.length;_i3<_vz;++_i3)_Hv2[_i3]=0}_i3=_Gt1=0;for(_vz=_pA1.length;_i3<_vz;_i3+=_qA1){for(_qA1=1;_i3+_qA1<_vz&&_pA1[_i3+_qA1]===_pA1[_i3];++_qA1);_14=_qA1;if(0===_pA1[_i3])if(3>_14)for(;
0<_14--;)_tA1[_Gt1++]=0,_Hv2[0]++;else for(;0<_14;)_zp1=138>_14?_14:138,_zp1>_14-3&&_zp1<_14&&(_zp1=_14-3),10>=_zp1?(_tA1[_Gt1++]=17,_tA1[_Gt1++]=_zp1-3,_Hv2[17]++):(_tA1[_Gt1++]=18,_tA1[_Gt1++]=_zp1-11,_Hv2[18]++),_14-=_zp1;else if(_tA1[_Gt1++]=_pA1[_i3],_Hv2[_pA1[_i3]]++,_14--,3>_14)for(;0<_14--;)_tA1[_Gt1++]=_pA1[_i3],_Hv2[_pA1[_i3]]++;else for(;0<_14;)_zp1=6>_14?_14:6,_zp1>_14-3&&_zp1<_14&&(_zp1=_14-3),_tA1[_Gt1++]=16,_tA1[_Gt1++]=_zp1-3,_Hv2[16]++,_14-=_zp1}_IC=_Br1?_tA1.subarray(0,_Gt1):_tA1.slice(0,
_Gt1);_Bv2=_GI1(_Hv2,7);for(y=0;19>y;y++)_Cv2[y]=_Bv2[_zv2[y]];for(_dy1=19;4<_dy1&&0===_Cv2[_dy1-1];_dy1--);_Dv2=_Gv2(_Bv2);_Hq1._k3(_yv2-257,5,w);_Hq1._k3(_ey1-1,5,w);_Hq1._k3(_dy1-4,4,w);for(y=0;y<_dy1;y++)_Hq1._k3(_Cv2[y],3,w);y=0;for(_Fv=_IC.length;y<_Fv;y++)if(_Ev2=_IC[y],_Hq1._k3(_Dv2[_Ev2],_Bv2[_Ev2],w),16<=_Ev2){y++;switch(_Ev2){case 16:_Fv2=2;break;case 17:_Fv2=3;break;case 18:_Fv2=7;break;default :throw "invalid code: "+_Ev2;}_Hq1._k3(_IC[y],_Fv2,w)}var _Iv2=[_ss2,_tz],_Jv2=[_Av2,_uz],_qs1,_Kv2,
$,_5q1,_Lv2,_Mv2,_Nv2,_Ov2;_Lv2=_Iv2[0];_Mv2=_Iv2[1];_Nv2=_Jv2[0];_Ov2=_Jv2[1];_qs1=0;for(_Kv2=_xv2.length;_qs1<_Kv2;++_qs1)if($=_xv2[_qs1],_Hq1._k3(_Lv2[$],_Mv2[$],w),256<$)_Hq1._k3(_xv2[++_qs1],_xv2[++_qs1],w),_5q1=_xv2[++_qs1],_Hq1._k3(_Nv2[_5q1],_Ov2[_5q1],w),_Hq1._k3(_xv2[++_qs1],_xv2[++_qs1],w);else if(256===$)break;this._l3=_Hq1._tU1();this.c=this._l3.length;break;default :throw "invalid compression type";}return this._l3};function _Dm2(_IC,_Fl){this.length=_IC;this._qk=_Fl}var _vn2=function(){
function _IC(_k3){switch(w){case 3===_k3:return [257,_k3-3,0];case 4===_k3:return [258,_k3-4,0];case 5===_k3:return [259,_k3-5,0];case 6===_k3:return [260,_k3-6,0];case 7===_k3:return [261,_k3-7,0];case 8===_k3:return [262,_k3-8,0];case 9===_k3:return [263,_k3-9,0];case 10===_k3:return [264,_k3-10,0];case 12>=_k3:return [265,_k3-11,1];case 14>=_k3:return [266,_k3-13,1];case 16>=_k3:return [267,_k3-15,1];case 18>=_k3:return [268,_k3-17,1];case 22>=_k3:return [269,_k3-19,2];case 26>=_k3:return [270,_k3-23,2];case 30>=_k3:return [271,
_k3-27,2];case 34>=_k3:return [272,_k3-31,2];case 42>=_k3:return [273,_k3-35,3];case 50>=_k3:return [274,_k3-43,3];case 58>=_k3:return [275,_k3-51,3];case 66>=_k3:return [276,_k3-59,3];case 82>=_k3:return [277,_k3-67,4];case 98>=_k3:return [278,_k3-83,4];case 114>=_k3:return [279,_k3-99,4];case 130>=_k3:return [280,_k3-115,4];case 162>=_k3:return [281,_k3-131,5];case 194>=_k3:return [282,_k3-163,5];case 226>=_k3:return [283,_k3-195,5];case 257>=_k3:return [284,_k3-227,5];case 258===_k3:return [285,_k3-258,0];default :throw "invalid length: "+_k3;
}}var _Fl=[],c,e;for(c=3;258>=c;c++)e=_IC(c),_Fl[c]=e[2]<<24|e[1]<<16|e[0];return _Fl}(),_Pv2=_Br1?new Uint32Array(_vn2):_vn2;function _kJ1(_IC,_Fl){function c(_k3,c){var _l3=_k3._qk,_Fl=[],e=0,_IC;_IC=_Pv2[_k3.length];_Fl[e++]=_IC&65535;_Fl[e++]=_IC>>16&255;_Fl[e++]=_IC>>24;var _j3;switch(w){case 1===_l3:_j3=[0,_l3-1,0];break;case 2===_l3:_j3=[1,_l3-2,0];break;case 3===_l3:_j3=[2,_l3-3,0];break;case 4===_l3:_j3=[3,_l3-4,0];break;case 6>=_l3:_j3=[4,_l3-5,1];break;case 8>=_l3:_j3=[5,_l3-7,1];break;case 12>=_l3:_j3=[6,
_l3-9,2];break;case 16>=_l3:_j3=[7,_l3-13,2];break;case 24>=_l3:_j3=[8,_l3-17,3];break;case 32>=_l3:_j3=[9,_l3-25,3];break;case 48>=_l3:_j3=[10,_l3-33,4];break;case 64>=_l3:_j3=[11,_l3-49,4];break;case 96>=_l3:_j3=[12,_l3-65,5];break;case 128>=_l3:_j3=[13,_l3-97,5];break;case 192>=_l3:_j3=[14,_l3-129,6];break;case 256>=_l3:_j3=[15,_l3-193,6];break;case 384>=_l3:_j3=[16,_l3-257,7];break;case 512>=_l3:_j3=[17,_l3-385,7];break;case 768>=_l3:_j3=[18,_l3-513,8];break;case 1024>=_l3:_j3=[19,_l3-769,8];break;case 1536>=_l3:_j3=[20,
_l3-1025,9];break;case 2048>=_l3:_j3=[21,_l3-1537,9];break;case 3072>=_l3:_j3=[22,_l3-2049,10];break;case 4096>=_l3:_j3=[23,_l3-3073,10];break;case 6144>=_l3:_j3=[24,_l3-4097,11];break;case 8192>=_l3:_j3=[25,_l3-6145,11];break;case 12288>=_l3:_j3=[26,_l3-8193,12];break;case 16384>=_l3:_j3=[27,_l3-12289,12];break;case 24576>=_l3:_j3=[28,_l3-16385,13];break;case 32768>=_l3:_j3=[29,_l3-24577,13];break;default :throw "invalid distance";}_IC=_j3;_Fl[e++]=_IC[0];_Fl[e++]=_IC[1];_Fl[e++]=_IC[2];var _qk,_z5;_qk=0;for(_z5=_Fl.length;
_qk<_z5;++_qk)_K5[h++]=_Fl[_qk];_rh[_Fl[0]]++;x[_Fl[3]]++;q=_k3.length+c-1;_04=null}var e,_k3,_l3,_j3,_z5,_qk={},_kg,_N5,_04,_K5=_Br1?new Uint16Array(2*_Fl.length):[],h=0,q=0,_rh=new(_Br1?Uint32Array:Array)(286),x=new(_Br1?Uint32Array:Array)(30),_wv2=_IC.i,z;if(!_Br1){for(_l3=0;285>=_l3;)_rh[_l3++]=0;for(_l3=0;29>=_l3;)x[_l3++]=0}_rh[256]=1;e=0;for(_k3=_Fl.length;e<_k3;++e){_l3=_z5=0;for(_j3=3;_l3<_j3&&e+_l3!==_k3;++_l3)_z5=_z5<<8|_Fl[e+_l3];_qk[_z5]===_x5&&(_qk[_z5]=[]);_kg=_qk[_z5];if(!(0<q--)){
for(;0<_kg.length&&32768<e-_kg[0];)_kg.shift();if(e+3>=_k3){_04&&c(_04,-1);_l3=0;for(_j3=_k3-e;_l3<_j3;++_l3)z=_Fl[e+_l3],_K5[h++]=z,++_rh[z];break }0<_kg.length?(_N5=_Qv2(_Fl,e,_kg),_04?_04.length<_N5.length?(z=_Fl[e-1],_K5[h++]=z,++_rh[z],c(_N5,0)):c(_04,-1):_N5.length<_wv2?_04=_N5:c(_N5,0)):_04?c(_04,-1):(z=_Fl[e],_K5[h++]=z,++_rh[z])}_kg.push(e)}_K5[h++]=256;_rh[256]++;_IC._z5=_rh;_IC._K5=x;return _Br1?_K5.subarray(0,h):_K5}function _Qv2(_IC,_Fl,c){var e,_k3,_l3=0,_j3,_z5,_qk,_kg,_N5=_IC.length;
_z5=0;_kg=c.length;_l3:for(;_z5<_kg;_z5++){e=c[_kg-_z5-1];_j3=3;if(3<_l3){for(_qk=_l3;3<_qk;_qk--)if(_IC[e+_qk-1]!==_IC[_Fl+_qk-1])continue _l3;_j3=_l3}for(;258>_j3&&_Fl+_j3<_N5&&_IC[e+_j3]===_IC[_Fl+_j3];)++_j3;_j3>_l3&&(_k3=e,_l3=_j3);if(258===_j3)break }return new _Dm2(_l3,_Fl-_k3)}function _GI1(_IC,_Fl){var c=_IC.length,e=new _Am2(572),_k3=new(_Br1?Uint8Array:Array)(c),_l3,_j3,_z5,_qk,_kg;if(!_Br1)for(_qk=0;_qk<c;_qk++)_k3[_qk]=0;for(_qk=0;_qk<c;++_qk)0<_IC[_qk]&&e.push(_qk,_IC[_qk]);_l3=Array(e.length/2);
_j3=new(_Br1?Uint32Array:Array)(e.length/2);if(1===_l3.length)return _k3[e.pop().index]=1,_k3;_qk=0;for(_kg=e.length/2;_qk<_kg;++_qk)_l3[_qk]=e.pop(),_j3[_qk]=_l3[_qk].value;_z5=_Rv2(_j3,_j3.length,_Fl);_qk=0;for(_kg=_l3.length;_qk<_kg;++_qk)_k3[_l3[_qk].index]=_z5[_qk];return _k3}function _Rv2(_IC,_Fl,c){function e(_l3){var _k3=_qk[_l3][_kg[_l3]];_k3===_Fl?(e(_l3+1),e(_l3+1)):--_j3[_k3];++_kg[_l3]}var _k3=new(_Br1?Uint16Array:Array)(c),_l3=new(_Br1?Uint8Array:Array)(c),_j3=new(_Br1?Uint8Array:Array)(_Fl),
_z5=Array(c),_qk=Array(c),_kg=Array(c),_N5=(1<<c)-_Fl,_04=1<<c-1,_K5,h,q,_rh,x;_k3[c-1]=_Fl;for(h=0;h<c;++h)_N5<_04?_l3[h]=0:(_l3[h]=1,_N5-=_04),_N5<<=1,_k3[c-2-h]=(_k3[c-1-h]/2|0)+_Fl;_k3[0]=_l3[0];_z5[0]=Array(_k3[0]);_qk[0]=Array(_k3[0]);for(h=1;h<c;++h)_k3[h]>2*_k3[h-1]+_l3[h]&&(_k3[h]=2*_k3[h-1]+_l3[h]),_z5[h]=Array(_k3[h]),_qk[h]=Array(_k3[h]);for(_K5=0;_K5<_Fl;++_K5)_j3[_K5]=c;for(q=0;q<_k3[c-1];++q)_z5[c-1][q]=_IC[q],_qk[c-1][q]=q;for(_K5=0;_K5<c;++_K5)_kg[_K5]=0;1===_l3[c-1]&&(--_j3[0],
++_kg[c-1]);for(h=c-2;0<=h;--h){_rh=_K5=0;x=_kg[h+1];for(q=0;q<_k3[h];q++)_rh=_z5[h+1][x]+_z5[h+1][x+1],_rh>_IC[_K5]?(_z5[h][q]=_rh,_qk[h][q]=_Fl,x+=2):(_z5[h][q]=_IC[_K5],_qk[h][q]=_K5,++_K5);_kg[h]=0;1===_l3[h]&&e(h)}return _j3}function _Gv2(_IC){var _Fl=new(_Br1?Uint16Array:Array)(_IC.length),c=[],e=[],_k3=0,_l3,_j3,_z5,_qk;_l3=0;for(_j3=_IC.length;_l3<_j3;_l3++)c[_IC[_l3]]=(c[_IC[_l3]]|0)+1;_l3=1;for(_j3=16;_l3<=_j3;_l3++)e[_l3]=_k3,_k3+=c[_l3]|0,_k3<<=1;_l3=0;for(_j3=_IC.length;_l3<_j3;_l3++){
_k3=e[_IC[_l3]];e[_IC[_l3]]+=1;_z5=_Fl[_l3]=0;for(_qk=_IC[_l3];_z5<_qk;_z5++)_Fl[_l3]=_Fl[_l3]<<1|_k3&1,_k3>>>=1}return _Fl};function _Sv2(_IC,_Fl){this.input=_IC;this._l3=new(_Br1?Uint8Array:Array)(32768);this._Fl=_Tv2._j3;var c={},e;if((_Fl||!(_Fl={}))&&"number"===typeof _Fl._tv2)this._Fl=_Fl._tv2;for(e in _Fl)c[e]=_Fl[e];c.outputBuffer=this._l3;this._35=new _II1(this.input,c)}var _Tv2=_bq2;_Sv2.prototype._IC=function(){var _IC,_Fl,c,e,_k3,_l3,_j3=0;_l3=this._l3;switch(8){case 8:_IC=Math.LOG2E*Math.log(32768)-8;
break;default :throw Error("invalid compression method");}_Fl=_IC<<4|8;_l3[_j3++]=_Fl;switch(8){case 8:switch(this._Fl){case _Tv2._ao2:e=0;break;case _Tv2.h:e=1;break;case _Tv2._j3:e=2;break;default :throw Error("unsupported compression type");}break;default :throw Error("invalid compression method");}c=e<<6|0;_l3[_j3++]=c|31-(256*_Fl+c)%31;var _z5=this.input;if("string"===typeof _z5){var _qk=_z5.split(""),_kg,_N5;_kg=0;for(_N5=_qk.length;_kg<_N5;_kg++)_qk[_kg]=(_qk[_kg].charCodeAt(0)&255)>>>0;_z5=_qk}for(var _04=1,
_K5=0,h=_z5.length,q,_rh=0;0<h;){q=1024<h?1024:h;h-=q;do _04+=_z5[_rh++],_K5+=_04;while(--q);_04%=65521;_K5%=65521}_k3=(_K5<<16|_04)>>>0;this._35.c=_j3;_l3=this._35._IC();_j3=_l3.length;_Br1&&(_l3=new Uint8Array(_l3.buffer),_l3.length<=_j3+4&&(this._l3=new Uint8Array(_l3.length+4),this._l3.set(_l3),_l3=this._l3),_l3=_l3.subarray(0,_j3+4));_l3[_j3++]=_k3>>24&255;_l3[_j3++]=_k3>>16&255;_l3[_j3++]=_k3>>8&255;_l3[_j3++]=_k3&255;return _l3};_aZ("Zlib.Deflate",_Sv2);_aZ("Zlib.Deflate.compress",function(_IC,
_Fl){return(new _Sv2(_IC,_Fl))._IC()});_aZ("Zlib.Deflate.prototype.compress",_Sv2.prototype._IC);var _Uv2={_ao2:_Tv2._ao2,FIXED:_Tv2.h,_Vv2:_Tv2._j3},_Wv2,_Xv2,_Yv2,_Zv2;if(Object.keys)_Wv2=Object.keys(_Uv2);else for(_Xv2 in _Wv2=[],_Yv2=0,_Uv2)_Wv2[_Yv2++]=_Xv2;_Yv2=0;for(_Zv2=_Wv2.length;_Yv2<_Zv2;++_Yv2)_Xv2=_Wv2[_Yv2],_aZ("Zlib.Deflate.CompressionType."+_Xv2,_Uv2[_Xv2]);}).call(this);//@ sourceMappingURL=deflate.min.js.map
;/*@license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */(function(){
'use strict';function _z5(_k3){throw _k3;}var _x5=void 0,_i3=this;function _rh(_k3,_Fl){var _l3=_k3.split("."),c=_i3;!(_l3[0] in c)&&c._mv2&&c._mv2("var "+_l3[0]);for(var _IC;_l3.length&&(_IC=_l3.shift());)!_l3.length&&_Fl!==_x5?c[_IC]=_Fl:c=c[_IC]?c[_IC]:c[_IC]={}};var _04="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array;function _14(_k3){var _Fl=_k3.length,_l3=0,c=Number.POSITIVE_INFINITY,_IC,e,_j3,h,_qk,_K5,q,_kg,_N5;for(_kg=0;_kg<_Fl;++_kg)_k3[_kg]>_l3&&(_l3=_k3[_kg]),
_k3[_kg]<c&&(c=_k3[_kg]);_IC=1<<_l3;e=new(_04?Uint32Array:Array)(_IC);_j3=1;h=0;for(_qk=2;_j3<=_l3;){for(_kg=0;_kg<_Fl;++_kg)if(_k3[_kg]===_j3){_K5=0;q=h;for(_N5=0;_N5<_j3;++_N5)_K5=_K5<<1|q&1,q>>=1;for(_N5=_K5;_N5<_IC;_N5+=_qk)e[_N5]=_j3<<16|_kg;++h}++_j3;h<<=1;_qk<<=1}return [e,_l3,c]};function w(_k3,_Fl){this._j3=[];this.h=32768;this._Fl=this._IC=this._l3=this._K5=0;this.input=_04?new Uint8Array(_k3):_k3;this._z5=!1;this.i=x;this._i3=!1;if(_Fl||!(_Fl={}))_Fl.index&&(this._l3=_Fl.index),_Fl._1e1&&(this.h=_Fl._1e1),
_Fl.__v2&&(this.i=_Fl.__v2),_Fl._0w2&&(this._i3=_Fl._0w2);switch(this.i){case y:this._k3=32768;this.c=new(_04?Uint8Array:Array)(32768+this.h+258);break;case x:this._k3=0;this.c=new(_04?Uint8Array:Array)(this.h);this.e=this.z;this._x5=this._14;this._35=this.w;break;default :_z5(Error("invalid inflate mode"))}}var y=0,x=1,z={_N5:y,_rh:x};w.prototype._qk=function(){for(;!this._z5;){var _k3=_zp1(this,3);_k3&1&&(this._z5=!0);_k3>>>=1;switch(_k3){case 0:var _Fl=this.input,_l3=this._l3,c=this.c,_IC=this._k3,e=_x5,
_j3=_x5,h=_x5,_qk=c.length,_K5=_x5;this._Fl=this._IC=0;e=_Fl[_l3++];e===_x5&&_z5(Error("invalid uncompressed block header: LEN (first byte)"));_j3=e;e=_Fl[_l3++];e===_x5&&_z5(Error("invalid uncompressed block header: LEN (second byte)"));_j3|=e<<8;e=_Fl[_l3++];e===_x5&&_z5(Error("invalid uncompressed block header: NLEN (first byte)"));h=e;e=_Fl[_l3++];e===_x5&&_z5(Error("invalid uncompressed block header: NLEN (second byte)"));h|=e<<8;_j3===~h&&_z5(Error("invalid uncompressed block header: length verify"));
_l3+_j3>_Fl.length&&_z5(Error("input buffer is broken"));switch(this.i){case y:for(;_IC+_j3>c.length;){_K5=_qk-_IC;_j3-=_K5;if(_04)c.set(_Fl.subarray(_l3,_l3+_K5),_IC),_IC+=_K5,_l3+=_K5;else for(;_K5--;)c[_IC++]=_Fl[_l3++];this._k3=_IC;c=this.e();_IC=this._k3}break;case x:for(;_IC+_j3>c.length;)c=this.e({_kg:2});break;default :_z5(Error("invalid inflate mode"))}if(_04)c.set(_Fl.subarray(_l3,_l3+_j3),_IC),_IC+=_j3,_l3+=_j3;else for(;_j3--;)c[_IC++]=_Fl[_l3++];this._l3=_l3;this._k3=_IC;this.c=c;break;case 1:this._35(_Hq1,
_Br1);break;case 2:_Kn2(this);break;default :_z5(Error("unknown BTYPE: "+_k3))}}return this._x5()};var _Gt1=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_tA1=_04?new Uint16Array(_Gt1):_Gt1,_pA1=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258],_qA1=_04?new Uint16Array(_pA1):_pA1,_Hv2=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0],_qs1=_04?new Uint8Array(_Hv2):_Hv2,_xv2=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,
2049,3073,4097,6145,8193,12289,16385,24577],_2M1=_04?new Uint16Array(_xv2):_xv2,_oR1=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],_Wq1=_04?new Uint8Array(_oR1):_oR1,_ov2=new(_04?Uint8Array:Array)(288),_yv2,_ey1;_yv2=0;for(_ey1=_ov2.length;_yv2<_ey1;++_yv2)_ov2[_yv2]=143>=_yv2?8:255>=_yv2?9:279>=_yv2?7:8;var _Hq1=_14(_ov2),_dy1=new(_04?Uint8Array:Array)(30),_Ev2,_pv2;_Ev2=0;for(_pv2=_dy1.length;_Ev2<_pv2;++_Ev2)_dy1[_Ev2]=5;var _Br1=_14(_dy1);function _zp1(_k3,_Fl){for(var _l3=_k3._IC,
c=_k3._Fl,_IC=_k3.input,e=_k3._l3,_j3;c<_Fl;)_j3=_IC[e++],_j3===_x5&&_z5(Error("input buffer is broken")),_l3|=_j3<<c,c+=8;_j3=_l3&(1<<_Fl)-1;_k3._IC=_l3>>>_Fl;_k3._Fl=c-_Fl;_k3._l3=e;return _j3}function _yr1(_k3,_Fl){for(var _l3=_k3._IC,c=_k3._Fl,_IC=_k3.input,e=_k3._l3,_j3=_Fl[0],h=_Fl[1],_qk,_K5,q;c<h;){_qk=_IC[e++];if(_qk===_x5)break;_l3|=_qk<<c;c+=8}_K5=_j3[_l3&(1<<h)-1];q=_K5>>>16;_k3._IC=_l3>>q;_k3._Fl=c-q;_k3._l3=e;return _K5&65535}function _Kn2(_k3){function _Fl(_l3,_k3,c){var _Fl,e,_IC,_j3;for(_j3=0;
_j3<_l3;)switch(_Fl=_yr1(this,_k3),_Fl){case 16:for(_IC=3+_zp1(this,2);_IC--;)c[_j3++]=e;break;case 17:for(_IC=3+_zp1(this,3);_IC--;)c[_j3++]=0;e=0;break;case 18:for(_IC=11+_zp1(this,7);_IC--;)c[_j3++]=0;e=0;break;default :e=c[_j3++]=_Fl}return c}var _l3=_zp1(_k3,5)+257,c=_zp1(_k3,5)+1,_IC=_zp1(_k3,4)+4,e=new(_04?Uint8Array:Array)(_tA1.length),_j3,h,_qk,_K5;for(_K5=0;_K5<_IC;++_K5)e[_tA1[_K5]]=_zp1(_k3,3);_j3=_14(e);h=new(_04?Uint8Array:Array)(_l3);_qk=new(_04?Uint8Array:Array)(c);_k3._35(_14(_Fl.call(_k3,
_l3,_j3,h)),_14(_Fl.call(_k3,c,_j3,_qk)))}w.prototype._35=function(_k3,_Fl){var _l3=this.c,c=this._k3;this._RE=_k3;for(var _IC=_l3.length-258,e,_j3,h,_qk;256!==(e=_yr1(this,_k3));)if(256>e)c>=_IC&&(this._k3=c,_l3=this.e(),c=this._k3),_l3[c++]=e;else {_j3=e-257;_qk=_qA1[_j3];0<_qs1[_j3]&&(_qk+=_zp1(this,_qs1[_j3]));e=_yr1(this,_Fl);h=_2M1[e];0<_Wq1[e]&&(h+=_zp1(this,_Wq1[e]));c>=_IC&&(this._k3=c,_l3=this.e(),c=this._k3);for(;_qk--;)_l3[c]=_l3[c++-h]}for(;8<=this._Fl;)this._Fl-=8,this._l3--;this._k3=c}
;w.prototype.w=function(_k3,_Fl){var _l3=this.c,c=this._k3;this._RE=_k3;for(var _IC=_l3.length,e,_j3,h,_qk;256!==(e=_yr1(this,_k3));)if(256>e)c>=_IC&&(_l3=this.e(),_IC=_l3.length),_l3[c++]=e;else {_j3=e-257;_qk=_qA1[_j3];0<_qs1[_j3]&&(_qk+=_zp1(this,_qs1[_j3]));e=_yr1(this,_Fl);h=_2M1[e];0<_Wq1[e]&&(h+=_zp1(this,_Wq1[e]));c+_qk>_IC&&(_l3=this.e(),_IC=_l3.length);for(;_qk--;)_l3[c]=_l3[c++-h]}for(;8<=this._Fl;)this._Fl-=8,this._l3--;this._k3=c};w.prototype.e=function(){var _k3=new(_04?Uint8Array:Array)(this._k3-32768),
_Fl=this._k3-32768,_l3,c,_IC=this.c;if(_04)_k3.set(_IC.subarray(32768,_k3.length));else {_l3=0;for(c=_k3.length;_l3<c;++_l3)_k3[_l3]=_IC[_l3+32768]}this._j3.push(_k3);this._K5+=_k3.length;if(_04)_IC.set(_IC.subarray(_Fl,_Fl+32768));else for(_l3=0;32768>_l3;++_l3)_IC[_l3]=_IC[_Fl+_l3];this._k3=32768;return _IC};w.prototype.z=function(_k3){var _Fl,_l3=this.input.length/this._l3+1|0,c,_IC,e,_j3=this.input,h=this.c;_k3&&("number"===typeof _k3._kg&&(_l3=_k3._kg),"number"===typeof _k3._04&&(_l3+=_k3._04));2>_l3?(c=(_j3.length-this._l3)/this._RE[2],
e=258*(c/2)|0,_IC=e<h.length?h.length+e:h.length<<1):_IC=h.length*_l3;_04?(_Fl=new Uint8Array(_IC),_Fl.set(h)):_Fl=h;return this.c=_Fl};w.prototype._x5=function(){var _k3=0,_Fl=this.c,_l3=this._j3,c,_IC=new(_04?Uint8Array:Array)(this._K5+(this._k3-32768)),e,_j3,h,_qk;if(0===_l3.length)return _04?this.c.subarray(32768,this._k3):this.c.slice(32768,this._k3);e=0;for(_j3=_l3.length;e<_j3;++e){c=_l3[e];h=0;for(_qk=c.length;h<_qk;++h)_IC[_k3++]=c[h]}e=32768;for(_j3=this._k3;e<_j3;++e)_IC[_k3++]=_Fl[e];this._j3=[];
return this.buffer=_IC};w.prototype._14=function(){var _k3,_Fl=this._k3;_04?this._i3?(_k3=new Uint8Array(_Fl),_k3.set(this.c.subarray(0,_Fl))):_k3=this.c.subarray(0,_Fl):(this.c.length>_Fl&&(this.c.length=_Fl),_k3=this.c);return this.buffer=_k3};function _vv2(_k3,_Fl){var _l3,c;this.input=_k3;this._l3=0;if(_Fl||!(_Fl={}))_Fl.index&&(this._l3=_Fl.index),_Fl._1w2&&(this._zp1=_Fl._1w2);_l3=_k3[this._l3++];c=_k3[this._l3++];switch(_l3&15){case _Tv2:this.method=_Tv2;break;default :_z5(Error("unsupported compression method"))}
0!==((_l3<<8)+c)%31&&_z5(Error("invalid fcheck flag:"+((_l3<<8)+c)%31));c&32&&_z5(Error("fdict flag is not supported"));this.q=new w(_k3,{index:this._l3,_1e1:_Fl._1e1,__v2:_Fl.__v2,_0w2:_Fl._0w2})}_vv2.prototype._qk=function(){var _k3=this.input,_Fl,_l3;_Fl=this.q._qk();this._l3=this.q._l3;if(this._zp1){_l3=(_k3[this._l3++]<<24|_k3[this._l3++]<<16|_k3[this._l3++]<<8|_k3[this._l3++])>>>0;var c=_Fl;if("string"===typeof c){var _IC=c.split(""),e,_j3;e=0;for(_j3=_IC.length;e<_j3;e++)_IC[e]=(_IC[e].charCodeAt(0)&255)>>>0;
c=_IC}for(var h=1,_qk=0,_K5=c.length,q,_kg=0;0<_K5;){q=1024<_K5?1024:_K5;_K5-=q;do h+=c[_kg++],_qk+=h;while(--q);h%=65521;_qk%=65521}_l3!==(_qk<<16|h)>>>0&&_z5(Error("invalid adler-32 checksum"))}return _Fl};var _Tv2=8;_rh("Zlib.Inflate",_vv2);_rh("Zlib.Inflate.prototype.decompress",_vv2.prototype._qk);var _Yv2={_2w2:z._rh,_3w2:z._N5},_tz,_uz,_vz,$;if(Object.keys)_tz=Object.keys(_Yv2);else for(_uz in _tz=[],_vz=0,_Yv2)_tz[_vz++]=_uz;_vz=0;for($=_tz.length;_vz<$;++_vz)_uz=_tz[_vz],_rh("Zlib.Inflate.BufferType."+_uz,
_Yv2[_uz]);}).call(this);//@ sourceMappingURL=inflate.min.js.map
_qg:/*@constructor */function _4w2(){this._5w2=0;this._6w2=null;this._7w2=0;this._8w2=null;this._9w2=new _Gj();this._aw2=null;};/*@constructor */function _bw2(){this._rd=0;this._Bi1=new _Dy();this._zi1=new _Dy();this._cw2=new _Dy();this._dw2=new _Dy();this._ew2=new _Dy();this._fw2=new _Dy();this._pi1=0;this._ri1=0;this._ti1=0;this._vi1=0;this._gw2=0;this._hw2=0;this._iw2=0;this._jw2=0;this._xi1=0;this._kw2=-1;this._HQ=null;this._IQ=null;this._lw2=null;
this._mw2=true;this._nw2=false;this._ow2=false;};_bw2.prototype._pw2=function(_qw2){this._nw2=_qw2;};_bw2.prototype._rw2=function(){return this._nw2;};_bw2.prototype._sw2=function(_W21){this._ow2=_W21;};_bw2.prototype._tw2=function(){return this._ow2;};_4w2.prototype._uw2=function(_nf){var _vw2=this._ww2(_nf);if(!_vw2)return -1;var _xw2=this._yw2();var _zw2=this._ww2(_xw2);_zw2._pi1=_vw2._pi1;_zw2._ri1=_vw2._ri1;_zw2._ti1=_vw2._ti1;_zw2._vi1=_vw2._vi1;_zw2._gw2=_vw2._gw2;_zw2._hw2=_vw2._hw2;_zw2._iw2=_vw2._iw2;
_zw2._jw2=_vw2._jw2;_zw2._xi1=_vw2._xi1;_zw2._kw2=_vw2._kw2;_zw2._HQ=_vw2._HQ;_zw2._IQ=_vw2._IQ;_zw2._lw2=_vw2._lw2;var _Aw2=new _Dy(_vw2._zi1);var _Bw2=new _Dy(_vw2._Bi1);var _iM=new _Dy(_vw2._cw2);var _Cw2=new _Dy(_vw2._dw2);var _Dw2=new _Dy(_vw2._ew2);var _Ew2=new _Dy(_vw2._fw2);_zw2._Bi1=_Bw2;_zw2._zi1=_Aw2;_zw2._cw2=_iM;_zw2._dw2=_Cw2;_zw2._ew2=_Dw2;_zw2._fw2=_Ew2;_zw2._ow2=_vw2._ow2;_zw2._pw2(true);return _xw2;};_bw2.prototype._Fw2=function(){if(this._Bi1._z5[11]==0)return true;return false;};_bw2.prototype._Gw2=function(){
if(this._Fw2()){if((this._Bi1._z5[4]==0.0)&&(this._Bi1._z5[8]==0.0)&&(this._Bi1._z5[1]==0.0)&&(this._Bi1._z5[9]==0.0)&&(this._Bi1._z5[2]==0.0)&&(this._Bi1._z5[6]==0.0)){if((this._zi1._z5[2]==0.0)&&(this._zi1._z5[6]==0.0)){this._mw2=true;return;}}}this._mw2=false;};_bw2.prototype._Ni1=function(_Hw2){this._zi1=_Hw2;this._ew2._YL(_Hw2);this._cw2.Multiply(this._zi1,this._Bi1);this._fw2._YL(this._cw2);this._Gw2();};_bw2.prototype._Oi1=function(_Hw2){this._Bi1=_Hw2;this._dw2._YL(_Hw2);this._cw2.Multiply(this._zi1,
this._Bi1);this._fw2._YL(this._cw2);this._Gw2();};_4w2.prototype._Iw2=function(){this._5w2=this._9w2.length;};_4w2.prototype._yw2=function(){var _Jw2=new _bw2();_Jw2._rd=this._7w2;this._7w2++;this._9w2._Ke(_Jw2);return _Jw2._rd;};_4w2.prototype._ww2=function(_Kw2){for(var i=0;i<this._9w2.length;i++){if(this._9w2._I4(i)!=null)if(this._9w2._I4(i)._rd==_Kw2)return this._9w2._I4(i);}return null;};_4w2.prototype._Lw2=function(_Kw2){for(var i=0;i<this._9w2.length;i++){var _Mw2=this._9w2._I4(i);if(_Mw2){if(_Mw2._rd===_Kw2){
if(this._aw2==_Mw2)this._aw2=null;this._9w2._3S(_Mw2);return;}}}return;};_4w2.prototype._Nw2=function(){this._9w2.__e();_5w2=0;};_4w2.prototype._Ow2=function(_Pw2){if(_Pw2==null)return null;var _Qw2=this._yw2();var _zw2=this._ww2(_Qw2);if(_zw2!=null){_zw2._Rw2(_Pw2._9i1);_zw2._Sw2(_Pw2._ai1);_zw2._Tw2(_Pw2._bi1);_zw2._Uw2(_Pw2._ci1);_zw2._Vw2(_Pw2.hspeed);_zw2._Ww2(_Pw2.vspeed);_zw2._Xw2(_Pw2.hborder);_zw2._Yw2(_Pw2.vborder);_zw2._Zw2(0.0);_zw2.__w2(_Pw2._3m);_zw2._0x2(_zw2._1x2()+_zw2._2x2()*0.5,_zw2._3x2()+_zw2._4x2()*0.5);
}return _zw2;};_4w2.prototype._5x2=function(){if(this._6w2===null){this._6w2=new _mP(0,0,0,0,false,true);}};_4w2.prototype._6x2=function(){if(this._6w2!=null){this._6w2=null;}for(var i=this._5w2;i<this._9w2.length;i++){var _7x2=this._9w2._I4(i);if(_7x2!==null){if(_7x2._rw2()&&!_7x2._tw2()){this._Lw2(_7x2._rd);}}}};_4w2.prototype._8x2=function(){this._9x2=0;this._8w2=null;this._ax2=0;this._bx2=0;this._aw2=null;};_4w2.prototype._mi1=function(){return this._8w2;};_4w2.prototype._cx2=function(){if(this._aw2==null)this._aw2=this._ww2(this._yw2());
return this._aw2;};_4w2.prototype._dx2=function(_fJ){if(typeof(_fJ)==_bw2){this._8w2=_fJ;}else {this._8w2=this._ww2(_fJ);}};_bw2.prototype._ex2=function(){return this._kw2;};_bw2.prototype.__w2=function(_fJ){this._kw2=_fJ;};_bw2.prototype._fx2=function(_fJ){this._lw2=_fJ;};_bw2.prototype._gx2=function(_fJ){this._HQ=_fJ;};_bw2.prototype._hx2=function(_fJ){this._IQ=_fJ;};_bw2.prototype._ix2=function(){return this._lw2;};_bw2.prototype._jx2=function(){return this._HQ;};_bw2.prototype._kx2=function(){return this._IQ;
};_bw2.prototype._lx2=function(){return this._zi1;};_bw2.prototype._mx2=function(){if(_5z==-1){return this._Bi1;}else {var _xA=new _Dy();_xA._z5[_4z]=-1;var _8u=new _Dy();_8u.Multiply(this._Bi1,_xA);return _8u;}};_bw2.prototype._nx2=function(){return this._cw2;};_bw2.prototype._ox2=function(){return this._dw2;};_bw2.prototype._px2=function(){return this._ew2;};_bw2.prototype._qx2=function(){return this._fw2;};_bw2.prototype._Rw2=function(_fJ){this._pi1=_fJ;};_bw2.prototype._1x2=function(){return this._pi1;};
_bw2.prototype._Sw2=function(_fJ){this._ri1=_fJ;};_bw2.prototype._3x2=function(){return this._ri1;};_bw2.prototype._rx2=function(_fJ){this._rd=_fJ;};_bw2.prototype._sx2=function(){return this._rd;};_bw2.prototype._Tw2=function(_fJ){this._ti1=_fJ;};_bw2.prototype._2x2=function(){return this._ti1;};_bw2.prototype._Uw2=function(_fJ){this._vi1=_fJ;};_bw2.prototype._4x2=function(){return this._vi1;};_bw2.prototype._Vw2=function(_fJ){this._gw2=_fJ;};_bw2.prototype._tx2=function(){return this._gw2;};_bw2.prototype._Ww2=function(_fJ){
this._hw2=_fJ;};_bw2.prototype._ux2=function(){return this._hw2;};_bw2.prototype._Xw2=function(_fJ){this._iw2=_fJ;};_bw2.prototype._vx2=function(){return this._iw2;};_bw2.prototype._Yw2=function(_fJ){this._jw2=_fJ;};_bw2.prototype._wx2=function(){return this._jw2;};_bw2.prototype._Zw2=function(_fJ){this._xi1=_fJ;};_bw2.prototype._xx2=function(){return this._xi1;};_bw2.prototype._Gc=function(){if(this._HQ!==null){this._HQ(this._6w2,this._6w2);}};_bw2.prototype._Ic=function(){if(this._IQ!==null){this._IQ(this._6w2,
this._6w2);}};_bw2.prototype._yx2=function(){var _zx2=new _Xy();_zx2._tz=this._ew2._z5[_cA];_zx2._uz=this._ew2._z5[_fA];_zx2._vz=this._ew2._z5[_kA];return _zx2;};_bw2.prototype._Ax2=function(){var _Bx2=new _Xy();_Bx2._tz=this._zi1._z5[_hA];_Bx2._uz=this._zi1._z5[_iA];_Bx2._vz=this._zi1._z5[_jA];_Bx2._qz();return _Bx2;};_bw2.prototype._Cx2=function(){var _2M=new _Xy();_2M._tz=this._zi1._z5[_dA];_2M._uz=this._zi1._z5[_4z];_2M._vz=this._zi1._z5[_eA];_2M._qz();return _2M;};_bw2.prototype._Dx2=function(){var _1M=new _Xy();
_1M._tz=this._zi1._z5[_9A];_1M._uz=this._zi1._z5[_aA];_1M._vz=this._zi1._z5[_bA];_1M._qz();return _1M;};_bw2.prototype._Pi1=function(){_zA(this._zi1,this._Bi1,this._ew2,this._fw2);if(_i7!=null){_Yz(_tA,this._zi1);}else {_Yz(_tA,this._zi1);var _Ex2=_1K/_8M;var _Fx2=_2K/_9M;_Gx2[0]=this._zi1._z5[_9A]*_Ex2;_Gx2[1]=this._zi1._z5[_aA]*_Ex2;_Gx2[2]=(this._zi1._z5[_cA]+(_8M*0.5))*_Ex2+__J;_Gx2[3]=this._zi1._z5[_dA]*_Fx2;_Gx2[4]=this._zi1._z5[_4z]*_Fx2;_Gx2[5]=(this._zi1._z5[_fA]+(_9M*0.5))*_Fx2+_0K;_59._ZJ(_Gx2[0],
_Gx2[3],_Gx2[1],_Gx2[4],_Gx2[2],_Gx2[5]);}if(_5z==-1){_Yz(_wA,this._Bi1);}else {var _xA=new _Dy();_xA._z5[_4z]=-1;var _8u=new _Dy();_8u.Multiply(this._Bi1,_xA);_Yz(_wA,_8u);}};_bw2.prototype._0f=function(){if(this._lw2!=null){this._lw2(_Hx2,_Hx2);}else {if((this._kw2>=0)&&(this._mw2)){var _4m=null;if(this._kw2<10000){var _FF=_m2._I4(this._kw2);var _Zj=_FF._h41();for(var _4F=0;_4F<_Zj.length;_4F++){var _5t=_Zj[_4F];if(_5t.marked)continue;if(!_5t.active)continue;_4m=_5t;break;}}else {_4m=_Lm._I4(this._kw2);if(_4m!=null){
if(_4m.marked||(!_4m.active))_4m=null;}}if(_4m!=null){var _Ix2=this._ti1*0.5;var _Jx2=this._vi1*0.5;var _K5,_N5;var _Oi,_Kx2;_K5=this._pi1;_N5=this._ri1;if(_4m._1P)_4m._2P();_Oi=Math.floor(_4m.x);_Kx2=Math.floor(_4m.y);if(2*this._iw2>=this._ti1){_K5=_Oi-_Ix2;}else if(_Oi-this._iw2<this._pi1){_K5=_Oi-this._iw2;}else if(_Oi+this._iw2>(this._pi1+this._ti1)){_K5=_Oi+this._iw2-this._ti1;}if(2*this._jw2>=this._vi1){_N5=_Kx2-_Jx2;}else if(_Kx2-this._jw2<this._ri1){_N5=_Kx2-this._jw2;}else if(_Kx2+this._jw2>(this._ri1+this._vi1)){
_N5=_Kx2+this._jw2-this._vi1;}if(_K5<0)_K5=0;if(_K5+this._ti1>_x2._eM())_K5=_x2._eM()-this._ti1;if(_N5<0)_N5=0;if(_N5+this._vi1>_x2._fM())_N5=_x2._fM()-this._vi1;if(this._gw2>=0){if((_K5<this._pi1)&&(this._pi1-_K5>this._gw2))_K5=this._pi1-this._gw2;if((_K5>this._pi1)&&(_K5-this._pi1>this._gw2))_K5=this._pi1+this._gw2;}if(this._hw2>=0){if((_N5<this._ri1)&&(this._ri1-_N5>this._hw2))_N5=this._ri1-this._hw2;if((_N5>this._ri1)&&(_N5-this._ri1>this._hw2))_N5=this._ri1+this._hw2;}this._pi1=_K5;this._ri1=_N5;
this._0x2(_K5+_Ix2,_N5+_Jx2);}}}};_bw2.prototype._0x2=function(_fJ,_tg){var _Ml2=new _Xy();var _Ul2=new _Xy();var _1m2=new _Xy();_Ml2._tz=_fJ;_Ml2._uz=_tg;_Ml2._vz=-16000.0;_Ul2._tz=_fJ;_Ul2._uz=_tg;_Ul2._vz=0.0;_1m2._tz=Math.sin(-this._xi1*(Math.PI/180.0));_1m2._uz=Math.cos(-this._xi1*(Math.PI/180.0));_1m2._vz=0.0;var _Lx2=new _Dy();_Lx2.__y(_Ml2,_Ul2,_1m2);var _Mx2=new _Dy();_Mx2._8z(this._ti1,this._vi1,1,32000.0);this._Ni1(_Lx2);this._Oi1(_Mx2);};_bw2.prototype._Nx2=function(_fJ,_tg){var _Ml2=new _Xy();var _Ul2=new _Xy();
var _1m2=new _Xy();_Ml2._tz=_fJ;_Ml2._uz=_tg;_Ml2._vz=-(this._ti1);_Ul2._tz=_fJ;_Ul2._uz=_tg;_Ul2._vz=0.0;_1m2._tz=Math.sin(-this._xi1*(Math.PI/180.0));_1m2._uz=Math.cos(-this._xi1*(Math.PI/180.0));_1m2._vz=0.0;var _Lx2=new _Dy();_Lx2.__y(_Ml2,_Ul2,_1m2);var _Mx2=new _Dy();_Mx2._9z(1.0,-(this._vi1)/(this._ti1),1,32000.0);this._Ni1(_Lx2);this._Oi1(_Mx2);};function camera_create(){return _li1._yw2();};function camera_create_view(_Ox2,_Px2,_q7,_r7,_y4,_ts,_Qx2,_Rx2,_Sx2,_Tx2){var _Ux2=_li1._yw2();var _Vx2=_li1._ww2(_Ux2);
if(_Vx2!=null){_Vx2._Rw2(yyGetReal(_Ox2));_Vx2._Sw2(yyGetReal(_Px2));_Vx2._Tw2(yyGetReal(_q7));_Vx2._Uw2(yyGetReal(_r7));var angle=0;var target=-1;var _Wx2=-1;var _Xx2=-1;var _Yx2=0;var _Zx2=0;var __x2=arguments.length;if(__x2>4)angle=yyGetReal(_y4);if(__x2>5)target=yyGetInt32(_ts);if(__x2>6)_Wx2=yyGetReal(_Qx2);if(__x2>7)_Xx2=yyGetReal(_Rx2);if(__x2>8)_Yx2=yyGetReal(_Sx2);if(__x2>9)_Zx2=yyGetReal(_Tx2);_Vx2._Zw2(angle);_Vx2.__w2(target);_Vx2._Vw2(_Wx2);_Vx2._Ww2(_Xx2);_Vx2._Xw2(_Yx2);_Vx2._Yw2(_Zx2);if(_Vx2._Fw2()){
_Vx2._0x2(_Vx2._1x2()+(_Vx2._2x2()*0.5),_Vx2._3x2()+(_Vx2._4x2()*0.5));}else {_Vx2._Nx2(_Vx2._1x2()+(_Vx2._2x2()*0.5),_Vx2._3x2()+(_Vx2._4x2()*0.5));}}return _Vx2._rd;}function camera_destroy(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){if(_li1._mi1()===_Mw2){_li1._dx2(null);}_li1._Lw2(_Mw2._rd);}};function camera_apply(_fJ){var _Vx2=_li1._ww2(yyGetInt32(_fJ));if(_Vx2!=null){_Vx2._Pi1();}}function camera_copy_transforms(_fJ,_tg){var _f9=_li1._ww2(yyGetInt32(_fJ));var src=_li1._ww2(yyGetInt32(_tg));
if(_f9==null){_0y2._1y2("camera_copy_settings() - camera to copy to doesn't exist\n");return;}if(src==null){_0y2._1y2("camera_copy_settings() - camera to copy from doesn't exist\n");return;}if(src==_f9){_0y2._1y2("camera_copy_settings() - source and destination cameras are the same\n");return;}_f9._pi1=src._pi1;_f9._ri1=src._ri1;_f9._ti1=src._ti1;_f9._vi1=src._vi1;_f9._gw2=src._gw2;_f9._hw2=src._hw2;_f9._iw2=src._iw2;_f9._jw2=src._jw2;_f9._xi1=src._xi1;var _Aw2=new _Dy(src._zi1);var _Bw2=new _Dy(src._Bi1);
var _iM=new _Dy(src._cw2);var _Cw2=new _Dy(src._dw2);var _Dw2=new _Dy(src._ew2);var _Ew2=new _Dy(src._fw2);_f9._Bi1=_Bw2;_f9._zi1=_Aw2;_f9._cw2=_iM;_f9._dw2=_Cw2;_f9._ew2=_Dw2;_f9._fw2=_Ew2;}function camera_get_active(){var _Vx2=_li1._mi1();if(_Vx2!=null)return _Vx2._rd;else return -1;}function camera_get_default(){var _Vx2=_li1._ww2(_2y2);if(_Vx2!=null){return _Vx2._rd;}else return -1;}function camera_set_default(_fJ){var _Vx2=_li1._ww2(yyGetInt32(_fJ));if(_Vx2!=null){_2y2=_Vx2._rd;}}function camera_set_view_mat(_fJ,
_tg){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){var _3y2=new _Dy();for(var i=0;i<16;i++)_3y2._z5[i]=_tg[i];_Mw2._Ni1(_3y2);}};function camera_set_proj_mat(_fJ,_tg){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){var _3y2=new _Dy();for(var i=0;i<16;i++)_3y2._z5[i]=_tg[i];_Mw2._Oi1(_3y2);}};function camera_set_view_target(_fJ,_tg){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){_Mw2.__w2(yyGetInt32(_tg));}};function camera_set_update_script(_fJ,_tg){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){
switch(typeof _tg){case "number":var _o8=yyGetInt32(_tg);if(_o8>=100000)_o8-=100000;_Mw2._fx2(_vD.Scripts[_o8]);break;case "function":_Mw2._fx2(_tg);break;default :_L3("camera_set_end_script : argument0 is not a function or a script");}}};function camera_set_begin_script(_fJ,_tg){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){switch(typeof _tg){case "number":var _o8=yyGetInt32(_tg);if(_o8>=100000)_o8-=100000;_Mw2._gx2(_vD.Scripts[_o8]);break;case "function":_Mw2._gx2(_tg);break;default :_L3("camera_set_begin_script : argument0 is not a function or a script");
}}};function camera_set_end_script(_fJ,_tg){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){switch(typeof _tg){case "number":var _o8=yyGetInt32(_tg);if(_o8>=100000)_o8-=100000;_Mw2._hx2(_vD.Scripts[_o8]);break;case "function":_Mw2._hx2(_tg);break;default :_L3("camera_set_end_script : argument0 is not a function or a script");}}};function _4y2(_fJ,_tg,_MU,_1V,_2V,_eV,_fV,_5y2,_6y2,_7y2,_8y2){var _Mw2=_li1._ww2(_fJ);if(_Mw2!=null){_Mw2._Rw2(_tg);_Mw2._Sw2(_MU);_Mw2._Tw2(_1V);_Mw2._Uw2(_2V);_Mw2._Vw2(_eV);
_Mw2._Ww2(_fV);_Mw2._Xw2(_5y2);_Mw2._Yw2(_6y2);_Mw2._Zw2(_7y2);_Mw2.__w2(_8y2);_Mw2._0x2(_Mw2._1x2()+_Mw2._2x2()*0.5,_Mw2._3x2()+_Mw2._4x2()*0.5);}};function camera_set_view_pos(_fJ,_tg,_MU){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){_Mw2._Rw2(yyGetReal(_tg));_Mw2._Sw2(yyGetReal(_MU));_Mw2._0x2(_Mw2._1x2()+_Mw2._2x2()*0.5,_Mw2._3x2()+_Mw2._4x2()*0.5);}};function camera_set_view_size(_fJ,_tg,_MU){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){_Mw2._Tw2(yyGetReal(_tg));_Mw2._Uw2(yyGetReal(_MU));
_Mw2._0x2(_Mw2._1x2()+_Mw2._2x2()*0.5,_Mw2._3x2()+_Mw2._4x2()*0.5);}};function camera_set_view_speed(_fJ,_tg,_MU){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){_Mw2._Vw2(yyGetReal(_tg));_Mw2._Ww2(yyGetReal(_MU));}};function camera_set_view_border(_fJ,_tg,_MU){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){_Mw2._Xw2(yyGetReal(_tg));_Mw2._Yw2(yyGetReal(_MU));}};function camera_set_view_angle(_fJ,_tg){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){_Mw2._Zw2(yyGetReal(_tg));_Mw2._0x2(_Mw2._1x2()+_Mw2._2x2()*0.5,
_Mw2._3x2()+_Mw2._4x2()*0.5);}};function camera_get_view_mat(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._lx2()._z5;}return -1;};function camera_get_proj_mat(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._mx2()._z5;}return -1;};function camera_get_view_target(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){var _NU=_Mw2._ex2();return(_NU<0)?_NU:_Ss(_Ts,_NU);}return -1;};function camera_get_update_script(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){
var _FD=_Mw2._ix2();if(typeof _FD==="number"){return method_get_index(_FD);}else if(typeof _FD=="function"){return _FD;}}return -1;};function camera_get_begin_script(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){var _FD=_Mw2._jx2();if(typeof _FD==="number"){return method_get_index(_FD);}else if(typeof _FD=="function"){return _FD;}}return -1;};function camera_get_end_script(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){var _FD=_Mw2._kx2();if(typeof _FD==="number"){return method_get_index(_FD);}else if(typeof _FD=="function"){
return _FD;}}return -1;};function camera_get_view_x(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._1x2();}return -1;};function camera_get_view_y(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._3x2();}return -1;};function camera_get_view_width(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._2x2();}return -1;};function camera_get_view_height(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._4x2();}return -1;};function camera_get_view_speed_x(_fJ){
var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._tx2();}return -1;};function camera_get_view_speed_y(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._ux2();}return -1;};function camera_get_view_border_x(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._vx2();}return -1;};function camera_get_view_border_y(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));if(_Mw2!=null){return _Mw2._wx2();}return -1;};function camera_get_view_angle(_fJ){var _Mw2=_li1._ww2(yyGetInt32(_fJ));
if(_Mw2!=null){return _Mw2._xx2();}return -1;};var _9y2=false,_V21=-1,_Sp=-1,_ay2=0,_by2=1,_cy2=2,_dy2=3,_ey2=4,_fy2=5,_gy2=6,_hy2=7,_iy2=8,_jy2=9,_ky2=10,_ly2=11,_my2=[0,0,0],_ny2=[0,0,0],_oy2=[0,0,0,0,0,0],_py2=[0,0,0],_qy2=[0,0,0],_ry2=[0,0,0],_sy2=[0,0,0],_ty2=[0,0,0],_uy2=[0,0,0],_vy2=[0,0,0],_wy2=0,_xy2=0;function _yy2(){if(_z2){if((_B2._C2()<=30)||(_zy2<=30)){return 1.0;}if((_B2._C2()/_zy2)<1.2){return 30.0/_B2._C2();}else {return 30.0/_zy2;}}else {if((_x2._y2()<=30)||(_zy2<=30)){return 1.0;}if((_x2._y2()/_zy2)<1.2){
return 30.0/_x2._y2();}else {return 30.0/_zy2;}}}function _Ay2(){if(!_q11(_V21)){_V21=_Vn();if(_z2){_Xn(_V21,50);}else {_Xn(_V21,100000);}}if(!_q11(_Sp)){_Sp=_Vn();if(_z2){_Xn(_Sp,-15000);}else {_Xn(_Sp,-100000);}}if(!_9y2){_By2();}}function _By2(){var i;_9y2=true;for(i=0;i<=5;i++){_oy2[i]=_9o();}for(i=0;i<=2;i++){_py2[i]=_9o();_my2[i]=_9o();_qy2[i]=_9o();_ny2[i]=_9o();_ry2[i]=_9o();_sy2[i]=_9o();_ty2[i]=_9o();_uy2[i]=_9o();_vy2[i]=_9o();}_wy2=_9o();_xy2=_9o();}function _Cy2(_s01,_u4,_v4,_ec,_7c){var _IC=_yy2();
if(_ec===0){_bo(_oy2[0],_Dy2);_co(_oy2[0],0.1,0.1,0.05*_IC,0);_w21(_oy2[0],0,360,0,0,false);_Co(_oy2[0],0,360,0,0);_Bo(_oy2[0],2*_IC,2*_IC,-0.1*_IC,0);_no(_oy2[0],0.6,0);_uo(_oy2[0],_0k(10.0/_IC),_0k(15.0/_IC));_D11(_s01,_u4,_v4,_oy2[0],_7c,20);_bo(_oy2[1],_Dy2);_co(_oy2[1],0.1,0.1,0.1*_IC,0);_w21(_oy2[1],0,360,0,0,false);_no(_oy2[1],0.8,0);_uo(_oy2[1],_0k(15/_IC),_0k(15/_IC));_D11(_s01,_u4,_v4,_oy2[1],0x000000,1);}else if(_ec==2){_bo(_oy2[4],_Dy2);_co(_oy2[4],0.4,0.4,0.2*_IC,0);_w21(_oy2[4],0,360,
0,0,false);_Co(_oy2[4],0,360,0,0);_Bo(_oy2[4],7*_IC,7*_IC,-0.2*_IC,0);_no(_oy2[4],0.6,0);_uo(_oy2[4],_0k(15/_IC),_0k(20/_IC));_D11(_s01,_u4,_v4,_oy2[4],_7c,20);_bo(_oy2[5],_Dy2);_co(_oy2[5],0.4,0.4,0.4*_IC,0);_w21(_oy2[5],0,360,0,0,false);_no(_oy2[5],0.8,0);_uo(_oy2[5],_0k(20/_IC),_0k(20/_IC));_D11(_s01,_u4,_v4,_oy2[5],0x000000,1);}else {_bo(_oy2[2],_Dy2);_co(_oy2[2],0.3,0.3,0.1*_IC,0);_w21(_oy2[2],0,360,0,0,false);_Co(_oy2[2],0,360,0,0);_Bo(_oy2[2],4*_IC,4*_IC,-0.18*_IC,0);_no(_oy2[2],0.6,0);_uo(_oy2[2],
_0k(12/_IC),_0k(17/_IC));_D11(_s01,_u4,_v4,_oy2[2],_7c,20);_bo(_oy2[3],_Dy2);_co(_oy2[3],0.3,0.3,0.2*_IC,0);_w21(_oy2[3],0,360,0,0,false);_no(_oy2[3],0.8,0);_uo(_oy2[3],_0k(17/_IC),_0k(17/_IC));_D11(_s01,_u4,_v4,_oy2[3],0x000000,1);}}function _Ey2(_s01,_u4,_v4,_ec,_7c){var _IC=_yy2();if(_ec===0){_bo(_py2[0],_Fy2);_no(_py2[0],1,0);_co(_py2[0],0.0,0.0,0.15*_IC,0.0);_uo(_py2[0],_0k(10.0/_IC),_0k(12.0/_IC));_D11(_s01,_u4,_v4,_py2[0],_7c,1);}else if(_ec==2){_bo(_py2[2],_Fy2);_no(_py2[2],1,0);_co(_py2[2],
0,0,0.4*_IC,0);_uo(_py2[2],_0k(18.0/_IC),_0k(20.0/_IC));_D11(_s01,_u4,_v4,_py2[2],_7c,1);}else {_bo(_py2[1],_Fy2);_no(_py2[1],1,0);_co(_py2[1],0,0,0.25*_IC,0);_uo(_py2[1],_0k(13.0/_IC),_0k(15.0/_IC));_D11(_s01,_u4,_v4,_py2[1],_7c,1);}}function _Gy2(_s01,_u4,_v4,_ec,_7c){var _IC=_yy2();if(_ec===0){_bo(_my2[0],_Fy2);_no(_my2[0],1,0);_co(_my2[0],0,0,0.2*_IC,0);_T11(_my2[0],1,0.5);_uo(_my2[0],_0k(10.0/_IC),_0k(12.0/_IC));_D11(_s01,_u4,_v4,_my2[0],_7c,1);}else if(_ec==2){_bo(_my2[2],_Fy2);_no(_my2[2],1,0);
_co(_my2[2],0,0,0.6*_IC,0);_T11(_my2[2],1,0.5);_uo(_my2[2],_0k(18.0/_IC),_0k(20.0/_IC));_D11(_s01,_u4,_v4,_my2[2],_7c,1);}else {_bo(_my2[1],_Fy2);_no(_my2[1],1,0);_co(_my2[1],0,0,0.35*_IC,0);_T11(_my2[1],1,0.5);_uo(_my2[1],_0k(13.0/_IC),_0k(15.0/_IC));_D11(_s01,_u4,_v4,_my2[1],_7c,1);}}function _Hy2(_s01,_u4,_v4,_ec,_7c){var _IC=_yy2();if(_ec===0){_bo(_qy2[1],_Iy2);_co(_qy2[1],0.1,0.2,0,0);_Bo(_qy2[1],0.5*_IC,3.0*_IC,0.0,0.0);_Co(_qy2[1],0,360,0,0);_no(_qy2[1],1,0.4);_uo(_qy2[1],_0k(15.0/_IC),_0k(25.0/_IC));
_Go(_qy2[1],0.10*_IC,270);_D11(_s01,_u4,_v4,_qy2[1],_7c,75);}else if(_ec==2){_bo(_qy2[1],_Iy2);_co(_qy2[1],0.1,0.2,0,0);_Bo(_qy2[1],0.5*_IC,8.0*_IC,0.0,0.0);_Co(_qy2[1],0,360,0,0);_no(_qy2[1],1,0.4);_uo(_qy2[1],_0k(30.0/_IC),_0k(40.0/_IC));_Go(_qy2[1],0.17*_IC,270);_D11(_s01,_u4,_v4,_qy2[1],_7c,250);}else {_bo(_qy2[1],_Iy2);_co(_qy2[1],0.1,0.2,0,0);_Bo(_qy2[1],0.5*_IC,6.0*_IC,0.0,0.0);_Co(_qy2[1],0,360,0,0);_no(_qy2[1],1,0.4);_uo(_qy2[1],_0k(20.0/_IC),_0k(30.0/_IC));_Go(_qy2[1],0.15*_IC,270);_D11(_s01,
_u4,_v4,_qy2[1],_7c,150);}}function _Jy2(_s01,_u4,_v4,_ec,_7c){var i;var _IC=_yy2();if(_ec===0){_bo(_ny2[0],_Dy2);_co(_ny2[0],0.2,0.4,-0.01*_IC,0);_no(_ny2[0],0.4,0);_uo(_ny2[0],_0k(25.0/_IC),_0k(25.0/_IC));for(i=0;i<=5;i++){_D11(_s01,_u4-5+_Gl(10),_v4-5+_Gl(10),_ny2[0],_7c,1);}}else if(_ec===2){_bo(_ny2[2],_Dy2);_co(_ny2[2],0.4,1,-0.01*_IC,0);_no(_ny2[2],0.4,0);_uo(_ny2[2],_0k(50.0/_IC),_0k(50.0/_IC));for(i=0;i<=15;i++){_D11(_s01,_u4-30+_Gl(60),_v4-30+_Gl(60),_ny2[2],_7c,1);}}else {_bo(_ny2[1],_Dy2);
_co(_ny2[1],0.4,0.7,-0.01*_IC,0);_no(_ny2[1],0.4,0);_uo(_ny2[1],_0k(30.0/_IC),_0k(30.0/_IC));for(i=0;i<=10;i++){_D11(_s01,_u4-15+_Gl(30),_v4-15+_Gl(30),_ny2[1],_7c,1);}}}function _Ky2(_s01,_u4,_v4,_ec,_7c){var i;var _IC=_yy2();if(_ec===0){_bo(_ry2[0],_Dy2);_co(_ry2[0],0.2,0.4,-0.01*_IC,0);_no(_ry2[0],0.4,0);_Bo(_ry2[0],3.0*_IC,4.0*_IC,0,0);_Co(_ry2[0],90,90,0,0);_uo(_ry2[0],_0k(25.0/_IC),_0k(25.0/_IC));for(i=0;i<=5;i++){_D11(_s01,_u4-5+_Gl(10),_v4-5+_Gl(10),_ry2[0],_7c,1);}}else if(_ec===2){_bo(_ry2[2],
_Dy2);_co(_ry2[2],0.4,1,-0.01*_IC,0);_no(_ry2[2],0.4,0);_Bo(_ry2[2],6.0*_IC,7.0*_IC,0,0);_Co(_ry2[2],90,90,0,0);_uo(_ry2[2],_0k(50.0/_IC),_0k(50.0/_IC));for(i=0;i<=15;i++){_D11(_s01,_u4-30+_Gl(60),_v4-30+_Gl(60),_ry2[2],_7c,1);}}else {_bo(_ry2[1],_Dy2);_co(_ry2[1],0.4,0.7,-0.01*_IC,0);_no(_ry2[1],0.4,0);_Bo(_ry2[1],5.0*_IC,6.0*_IC,0,0);_Co(_ry2[1],90,90,0,0);_uo(_ry2[1],_0k(30.0/_IC),_0k(30.0/_IC));for(i=0;i<=10;i++){_D11(_s01,_u4-15+_Gl(30),_v4-15+_Gl(30),_ry2[1],_7c,1);}}}function _Ly2(_s01,_u4,
_v4,_ec,_7c){var _IC=_yy2();if(_ec===0){_bo(_sy2[0],_My2);_co(_sy2[0],0.4,0.3,-0.02*_IC,0);_w21(_sy2[0],0,360,0,0,false);_uo(_sy2[0],_0k(20/_IC),_0k(20/_IC));_D11(_s01,_u4,_v4,_sy2[0],_7c,1);}else if(_ec===2){_bo(_sy2[2],_My2);_co(_sy2[2],1.2,1.2,-0.04*_IC,0);_w21(_sy2[2],0,360,0,0,false);_uo(_sy2[2],_0k(30/_IC),_0k(30/_IC));_D11(_s01,_u4,_v4,_sy2[2],_7c,1);}else {_bo(_sy2[1],_My2);_co(_sy2[1],0.75,0.75,-0.03*_IC,0);_w21(_sy2[1],0,360,0,0,false);_uo(_sy2[1],_0k(25/_IC),_0k(25/_IC));_D11(_s01,_u4,_v4,
_sy2[1],_7c,1);}}function _Ny2(_s01,_u4,_v4,_ec,_7c){var _IC=_yy2();if(_ec===0){_bo(_ty2[0],_Oy2);_co(_ty2[0],0.4,0.4,-0.02*_IC,0);_w21(_ty2[0],0,360,0,0,false);_uo(_ty2[0],_0k(20/_IC),_0k(20/_IC));_D11(_s01,_u4,_v4,_ty2[0],_7c,1);}else if(_ec===2){_bo(_ty2[2],_Oy2);_co(_ty2[2],1.2,1.2,-0.04*_IC,0);_w21(_ty2[2],0,360,0,0,false);_uo(_ty2[2],_0k(30/_IC),_0k(30/_IC));_D11(_s01,_u4,_v4,_ty2[2],_7c,1);}else {_bo(_ty2[1],_Oy2);_co(_ty2[1],0.75,0.75,-0.03*_IC,0);_w21(_ty2[1],0,360,0,0,false);_uo(_ty2[1],_0k(25/_IC),
_0k(25/_IC));_D11(_s01,_u4,_v4,_ty2[1],_7c,1);}}function _Py2(_s01,_u4,_v4,_ec,_7c){var _IC=_yy2();if(_ec===0){_bo(_uy2[0],_Iy2);_co(_uy2[0],0.4,0.4,-0.02*_IC,0);_w21(_uy2[0],0,360,0,0,false);_uo(_uy2[0],_0k(20/_IC),_0k(20/_IC));_D11(_s01,_u4,_v4,_uy2[0],_7c,1);}else if(_ec===2){_bo(_uy2[2],_Iy2);_co(_uy2[2],1.2,1.2,-0.04*_IC,0);_w21(_uy2[2],0,360,0,0,false);_uo(_uy2[2],_0k(30/_IC),_0k(30/_IC));_D11(_s01,_u4,_v4,_uy2[2],_7c,1);}else {_bo(_uy2[1],_Iy2);_co(_uy2[1],0.75,0.75,-0.03*_IC,0);_w21(_uy2[1],
0,360,0,0,false);_uo(_uy2[1],_0k(25/_IC),_0k(25/_IC));_D11(_s01,_u4,_v4,_uy2[1],_7c,1);}}function _Qy2(_s01,_u4,_v4,_ec,_7c){var _IC=_yy2();if(_ec===0){_bo(_vy2[0],_Dy2);_co(_vy2[0],2,2,0,0);_T11(_vy2[0],1,0.5);_k21(_vy2[0],0,0.3,0);_uo(_vy2[0],_0k(100.0/_IC),_0k(100.0/_IC));_D11(_s01,_u4,_v4,_vy2[0],_7c,1);}else if(_ec===2){_bo(_vy2[2],_Dy2);_co(_vy2[2],8,8,0,0);_T11(_vy2[2],1,0.5);_k21(_vy2[2],0,0.3,0);_uo(_vy2[2],_0k(100.0/_IC),_0k(100.0/_IC));_D11(_s01,_u4,_v4,_vy2[2],_7c,1);}else {_bo(_vy2[1],_Dy2);
_co(_vy2[1],4,4,0,0);_T11(_vy2[1],1,0.5);_k21(_vy2[1],0,0.3,0);_uo(_vy2[1],_0k(100.0/_IC),_0k(100.0/_IC));_D11(_s01,_u4,_v4,_vy2[1],_7c,1);}}function _Ry2(_s01,_u4,_v4,_ec,_7c){var i;var _IC=_yy2();_bo(_wy2,_Sy2);_co(_wy2,0.2,0.3,0.0,0.0);_w21(_wy2,0,0,0,0,true);_Bo(_wy2,7*_IC,7*_IC,0,0);_Co(_wy2,260,260,0,0);_h21(_wy2,0.4);_uo(_wy2,_0k(0.2*_x2._fM()/_IC),_0k(0.2*_x2._fM()/_IC));if(_ec===0){for(i=0;i<=1;i++){_D11(_s01,_Gl(1)*1.2*_x2._eM(),-30.0+_Gl(20),_wy2,_7c,1);}}else if(_ec==2){for(i=0;i<=8;i++){
_D11(_s01,_Gl(1)*1.2*_x2._eM(),-30.0+_Gl(20),_wy2,_7c,1);}}else {for(i=0;i<=4;i++){_D11(_s01,_Gl(1)*1.2*_x2._eM(),-30.0+_Gl(20),_wy2,_7c,1);}}}function _Ty2(_s01,_u4,_v4,_ec,_7c){var i;var _IC=_yy2();_bo(_xy2,_Uy2);_co(_xy2,0.1,0.25,0.0,0.0);_h21(_xy2,0.6);_w21(_xy2,0,360,0,0,false);_Bo(_xy2,2.5*_IC,3.0*_IC,0.0,0.0);_Co(_xy2,240,300,0,20);_uo(_xy2,_0k(0.5*_x2._fM()/_IC),_0k(0.5*_x2._fM()/_IC));if(_ec===0){for(i=0;i<=0;i++){_D11(_s01,_Gl(1)*1.2*_x2._eM()-60,-30.0+_Gl(20),_xy2,_7c,1);}}else if(_ec===2){
for(i=0;i<=6;i++){_D11(_s01,_Gl(1)*1.2*_x2._eM()-60,-30.0+_Gl(20),_xy2,_7c,1);}}else {for(i=0;i<=2;i++){_D11(_s01,_Gl(1)*1.2*_x2._eM()-60,-30.0+_Gl(20),_xy2,_7c,1);}}}function _Up(_s01,_Kb,_u4,_v4,_ec,_7c){_Ay2();switch(_Kb){case _ay2:_Cy2(_s01,_u4,_v4,_ec,_7c);break;case _by2:_Ey2(_s01,_u4,_v4,_ec,_7c);break;case _cy2:_Gy2(_s01,_u4,_v4,_ec,_7c);break;case _dy2:_Hy2(_s01,_u4,_v4,_ec,_7c);break;case _ey2:_Jy2(_s01,_u4,_v4,_ec,_7c);break;case _fy2:_Ky2(_s01,_u4,_v4,_ec,_7c);break;case _gy2:_Ly2(_s01,_u4,_v4,
_ec,_7c);break;case _hy2:_Ny2(_s01,_u4,_v4,_ec,_7c);break;case _iy2:_Py2(_s01,_u4,_v4,_ec,_7c);break;case _jy2:_Qy2(_s01,_u4,_v4,_ec,_7c);break;case _ky2:_Ry2(_s01,_u4,_v4,_ec,_7c);break;case _ly2:_Ty2(_s01,_u4,_v4,_ec,_7c);break;}}var _Vy2=false,_Mo1=false,_Wy2=true;function _Xy2(_I31){if(_I31){_Vy2=true;}else {_Mo1=false;_Vy2=false;if(_Wy2){_Yy2=false;}}}function _Zy2(){if(window["page"]===undefined){_Wy2=false;window.addEventListener("focus",function(){_Xy2(false);});window.addEventListener("blur",function(){
_Xy2(true);});window.addEventListener("click",function(){_Xy2(false);});}}function __y2(){if(_Vy2){_Mo1=true;_Vy2=false;}else if(_Mo1){_Mo1=false;if(_Wy2){_Yy2=true;}}}function _0z2(){var _MO,i,_1z2;var _9f=null;if(_x2._af){_9f=_x2._cf;}var _Zj=_x2._RN._Zj;var _u7=_2z2++;for(var _3z2=0;_3z2<_Zj.length;_3z2++){var _4m=_Zj[_3z2];var _ZE=_4m._ZE;if(!_4m.marked&&(_4m._4z2<=_u7)){if(_ZE._5z2[_6z2]){var _LP=false;if(sprite_exists(_4m.sprite_index)||sprite_exists(_4m.mask_index)){_MO=_4m._ZY();_LP=((_MO.right<0)||(_MO.left>_x2._eM())||(_MO.bottom<0)||(_MO.top>_x2._fM()));
}else {_LP=((_4m.x<0)||(_4m.x>_x2._eM())||(_4m.y<0)||(_4m.y>_x2._fM()));}if(_LP){if(!_4m._7z2){_4m._R4(_6z2,_eH,_4m,_4m);}}_4m._7z2=_LP;}if(_ZE._5z2[_8z2]){if(sprite_exists(_4m.sprite_index)||sprite_exists(_4m.mask_index)){_MO=_4m._ZY();if((_MO.left<0)||(_MO.right>_x2._eM())||(_MO.top<0)||(_MO.bottom>_x2._fM())){_4m._R4(_8z2,_eH,_4m,_4m);}}else {if((_4m.x<0)||(_4m.x>_x2._eM())||(_4m.y<0)||(_4m.y>_x2._fM())){_4m._R4(_8z2,_eH,_4m,_4m);}}}if(_9f){for(_1z2=0;_1z2<_9f.length;_1z2++){var _9z2=_9f[_1z2];if(_9z2.visible){
var _az2=_9z2._9i1;var _bz2=_9z2._ai1;var _cz2=_9z2._9i1+_9z2._bi1;var _dz2=_9z2._ai1+_9z2._ci1;var _Mw2=_li1._ww2(_9z2._Y61);if(_Mw2!=null){_az2=_Mw2._1x2();_bz2=_Mw2._3x2();_cz2=_Mw2._1x2()+_Mw2._2x2();_dz2=_Mw2._3x2()+_Mw2._4x2();}if(_ZE._5z2[_ez2+_1z2]){if(sprite_exists(_4m.sprite_index)||sprite_exists(_4m.mask_index)){_MO=_4m._ZY();if((_MO.right<_az2)||(_MO.left>_cz2)||(_MO.bottom<_bz2)||(_MO.top>_dz2)){_4m._R4(_ez2+_1z2,_eH,_4m,_4m);}}else {if((_4m.x<_az2)||(_4m.x>_cz2)||(_4m.y<_bz2)||(_4m.y>_dz2)){
_4m._R4(_ez2+_1z2,_eH,_4m,_4m);}}}if(_ZE._5z2[_fz2+_1z2]){if(sprite_exists(_4m.sprite_index)||sprite_exists(_4m.mask_index)){var _gz2=true;_MO=_4m._ZY();if((_MO.right<_az2)||(_MO.left>_cz2)||(_MO.bottom<_bz2)||(_MO.top>_dz2)){_gz2=false;}if((_MO.right<_cz2)&&(_MO.left>_az2)&&(_MO.bottom<_dz2)&&(_MO.top>_bz2)){_gz2=false;}if(_gz2){_4m._R4(_fz2+_1z2,_eH,_4m,_4m);}}else {}}}}}}}}function _hz2(){for(var _8d2 in _9d2){if(!_9d2.hasOwnProperty(_8d2))continue;var _iz2=_m2._I4(_8d2);var _jz2=_iz2._h41();var _u7=_2z2++;
for(var _Rb2=0;_Rb2<_jz2.length;_Rb2++){var _kz2=_jz2[_Rb2];if(!_kz2.marked&&_kz2.active&&(_kz2._4z2<=_u7)){var _lz2=_9d2[_8d2];for(var _mz2 in _lz2){if(!_lz2.hasOwnProperty(_mz2))continue;var _oL1=_lz2[_mz2];var _nz2=_m2._I4(_oL1);var _oz2=_nz2._h41();for(var _Sb2=0;_Sb2<_oz2.length;_Sb2++){var _pz2=_oz2[_Sb2];if(!_pz2.marked&&_pz2.active&&(_pz2._4z2<=_u7)){if((_kz2._ZE==_pz2._ZE)&&(_Sb2<_Rb2))continue;if(_kz2._SY(_pz2,true)){if((_kz2.solid)||(_pz2.solid)){_kz2.x=_kz2.xprevious;_kz2.y=_kz2.yprevious;_kz2._1P=true;
_kz2.path_position=_kz2.path_positionprevious;_pz2.x=_pz2.xprevious;_pz2.y=_pz2.yprevious;_pz2._1P=true;_pz2.path_position=_pz2.path_positionprevious;}_kz2._R4(_Vb2,_pz2._ZE._IP,_kz2,_pz2);_pz2._R4(_Vb2,_kz2._ZE._IP,_pz2,_kz2);if((_kz2.solid)||(_pz2.solid)){_kz2._Fb2();_pz2._Fb2();_kz2._Lc(_kz2.x+_kz2.hspeed,_kz2.y+_kz2.vspeed);_pz2._Lc(_pz2.x+_pz2.hspeed,_pz2.y+_pz2.vspeed);if(_kz2._SY(_pz2,true)){_kz2.x=_kz2.xprevious;_kz2.y=_kz2.yprevious;_kz2._1P=true;_kz2.path_position=_kz2.path_positionprevious;
_pz2.x=_pz2.xprevious;_pz2.y=_pz2.yprevious;_pz2._1P=true;_pz2.path_position=_pz2.path_positionprevious;}}}}}}}}}}function _qz2(_i2,_rz2,_u4,_v4){for(var i=_x2._RN.length-1;i>=0;i--){var _5t=_x2._RN._I4(i);{if(_5t._1P)_5t._2P();if(!_5t.marked&&_5t._ZE._5z2[_i2|_rz2]){var _sz2=_H4._I4(_5t.sprite_index);var _aL=_sz2.xOrigin;var _bL=_sz2.yOrigin;if((_u4>=_5t._MO.left)&&(_u4<_5t._MO.right)&&(_v4>=_5t._MO.top)&&(_v4<_5t._MO.bottom)){_5t._R4(_i2,_rz2,_5t,_5t);}}}}}function _tz2(){if(_x2){var _o8;var _u7=_2z2;var _uz2=window_views_mouse_get_x();
var _vz2=window_views_mouse_get_y();var _wz2=_m2._RY();for(var _RE=0;_RE<_wz2.length;_RE++){var _FF=_wz2[_RE];var _xz2=_FF._5z2;if(_xz2[_yz2]||_xz2[_zz2]||_xz2[_Az2]||_xz2[_Bz2]||_xz2[_Cz2]||_xz2[_Dz2]||_xz2[_Ez2]||_xz2[_Fz2]||_xz2[_Gz2]||_xz2[_Hz2]||_xz2[_Iz2]||_xz2[_Jz2]||_xz2[_Kz2]||_xz2[_Lz2]){if(_FF._Mz2.length>0){var _Nz2=_FF._Mz2._Zj.slice(0);for(var i=_Nz2.length-1;i>=0;i--){var _5t=_Nz2[i];if(!_5t.marked&&(_5t._4z2<=_u7)){if(_5t._1P)_5t._2P();if(_5t._Rs(_uz2,_vz2,true)){var _Oz2=true;for(_o8=0;_o8<3;
_o8++){if(_yf._Kd[_o8]){if(_xz2[_yz2+_o8]){_5t._R4(_yz2+_o8,0,_5t,_5t);}_Oz2=false;}}for(_o8=0;_o8<3;_o8++){if(_yf._Fd[_o8]===1){if(_xz2[_Bz2+_o8]){_5t._R4(_Bz2+_o8,0,_5t,_5t);}_Oz2=false;}}for(_o8=0;_o8<3;_o8++){if(_yf._Jd[_o8]===1){if(_xz2[_Ez2+_o8]){_5t._R4(_Ez2+_o8,0,_5t,_5t);}}}if(_Oz2){_5t._R4(_Hz2,0,_5t,_5t);}if(!_5t._Pz2){_5t._R4(_Iz2,0,_5t,_5t);_5t._Pz2=true;}}else {if(_5t._Pz2){_5t._R4(_Jz2,0,_5t,_5t);_5t._Pz2=false;}}}}}}}for(_o8=0;_o8<3;_o8++){if(_yf._Kd[_o8]){_Lm._R4(_Qz2+_o8,0);}}for(_o8=0;
_o8<3;_o8++){if(_yf._Fd[_o8]===1){_Lm._R4(_Rz2+_o8,0);}}for(_o8=0;_o8<3;_o8++){if(_yf._Jd[_o8]===1){_Lm._R4(_Sz2+_o8,0);}}if(_0Q){_Lm._R4(_Kz2,0);}if(_1Q){_Lm._R4(_Lz2,0);}}}function _Tz2(){var _19,_29,_35;var _Zj=_x2._RN._Zj;var _u7=_2z2++;for(var _4m=0;_4m<_Zj.length;_4m++){var _5t=_Zj[_4m];if(!_5t.marked&&(_5t.timeline_index>=0)&&(_5t._4z2<=_u7)){if(!_5t._hq){var _iH=_jH._I4(_5t.timeline_index);if((_iH!==null)&&(_iH!==undefined)){if(_5t.timeline_speed>0){_19=_iH._Uz2(_5t.timeline_position);_5t.timeline_position+=_5t.timeline_speed;
_29=_iH._Uz2(_5t.timeline_position);for(_35=_19;_35<_29;_35++){_fH(_5t,_5t,_5t.timeline_index,_35);}if(_5t._iq&&(_5t.timeline_position>_iH._cm1())){_5t.timeline_position=0;}}else {_19=_iH._Vz2(_5t.timeline_position);_5t.timeline_position+=_5t.timeline_speed;_29=_iH._Vz2(_5t.timeline_position);for(_35=_19;_35>_29;_35--){_fH(_5t,_5t,_5t.timeline_index,_35);}if(_5t._iq&&(_5t.timeline_position<0)){_5t.timeline_position=_iH._cm1();}}}}}}}function _Wz2(){_4l1._Xz2();_4m1._Xz2();_5l1._Yz2(g_pBuiltIn.delta_time);
_5l1._Xz2();_4l1._Zz2();_4m1._Zz2();_5l1._Zz2();}function __z2(){var _Zj=_x2._RN._Zj;var _u7=_2z2++;for(var _4m=0;_4m<_Zj.length;_4m++){var _5t=_Zj[_4m];if(!_5t.marked&&(_5t._4z2<=_u7)){for(var _l3=0;_l3<_0A2;_l3++){var event=_1A2|(_l3+1);var _FF=_5t._ZE;if(_FF._5z2[event]){var _2A2;_2A2=~~(_5t.alarm[_l3]);if(_2A2>=0){_2A2--;_5t.alarm[_l3]=_2A2;}if(_2A2===0){_5t._R4(_1A2|(_l3+1),0,_5t,_5t);}}}}}}function _aH(_i2,_7H){switch(_i2){case _3A2:return _7m;case _4A2:return _tP;case _5A2:return _fP;case _6A2:switch(_7H){
case 0:return _7A2;case 1:return _8A2;case 2:return _9A2;case 3:return _aA2;case 4:return _bA2;case 5:return _cA2;case 6:return _dA2;case 7:return _eA2;case 8:return _fA2;case 9:return _gA2;case 10:return _hA2;case 11:return _iA2;default :return _7A2;}break;case _jA2:switch(_7H){case _kA2:return _lA2;case _mA2:return _nA2;case _oA2:return _pA2;default :return _nA2;}break;case _qA2:return _Vb2;case _rA2:switch(_7H){case _sA2:return _yz2;case _tA2:return _Az2;case _uA2:return _zz2;case _vA2:return _Hz2;case _wA2:return _Bz2;case _xA2:return _Dz2;
case _yA2:return _Cz2;case _zA2:return _Ez2;case _AA2:return _Gz2;case _BA2:return _Fz2;case _CA2:return _Iz2;case _DA2:return _Jz2;case _EA2:return 0;case _FA2:return 0;case _GA2:return 0;case _HA2:return 0;case _IA2:return 0;case _JA2:return 0;case _KA2:return 0;case _LA2:return 0;case _MA2:return 0;case _NA2:return 0;case _OA2:return 0;case _PA2:return 0;case _QA2:return 0;case _RA2:return 0;case _SA2:return 0;case _TA2:return 0;case _UA2:return 0;case _VA2:return 0;case _WA2:return 0;case _XA2:return 0;case _YA2:return 0;case _ZA2:return 0;case __A2:return 0;
case _0B2:return 0;case _1B2:return _Qz2;case _2B2:return _3B2;case _4B2:return _5B2;case _6B2:return _Rz2;case _7B2:return _8B2;case _9B2:return _aB2;case _bB2:return _Sz2;case _cB2:return _dB2;case _eB2:return _fB2;case _gB2:return _Kz2;case _hB2:return _Lz2;default :return 0;}break;case _uH:{switch(_7H){case _iB2:return _6z2;case _jB2:return _8z2;case _kB2:return _lB2;case _mB2:return _nB2;case _oB2:return _pB2;case _qB2:return _rB2;case _sB2:return _Mm;case _tB2:return _uB2;case _vB2:return _Gb2;case _wB2:return _Xm;case _xB2:return _yB2;case _zB2:return _ez2;
case _AB2:return _BB2;case _CB2:return _DB2;case _EB2:return _FB2;case _GB2:return _HB2;case _IB2:return _JB2;case _KB2:return _LB2;case _MB2:return _NB2;case _OB2:return _fz2;case _PB2:return _QB2;case _RB2:return _SB2;case _TB2:return _UB2;case _VB2:return _WB2;case _XB2:return _YB2;case _ZB2:return __B2;case _0C2:return _1C2;case _tH:return _2C2;case _3C2:return _4C2;case _5C2:return _6C2;case _7C2:return _8C2;case _9C2:return _aC2;case _bC2:return _cC2;case _dC2:return _eC2;case _fC2:return _gC2;case _hC2:return _iC2;case _jC2:return _kC2;case _lC2:return _mC2;
case _nC2:return _oC2;case _pC2:return _qC2;case _rC2:return _sC2;case _tC2:return _uC2;case _vC2:return _wC2;case _xC2:return _S4;case _yC2:return _o2;case _zC2:return _AC2;case _BC2:return _CC2;case _DC2:return _EC2;case _FC2:return _GC2;case _HC2:return _IC2;case _JC2:return _KC2;case _LC2:return _MC2;case _NC2:return _OC2;case _PC2:return _Fd1;case _QC2:return _RC2;case _SC2:return _TC2;case _UC2:return _Wb1;case _VC2:return _WC2;default :return 0;}}case _XC2:return _YC2|_7H;case _ZC2:return __C2;case _0D2:return _1D2;case _2D2:return _3D2;
case _4D2:return _5D2;case _6D2:switch(_7H){case _7D2:return _8D2;case _9D2:return _aD2;case _bD2:return _cD2;case _dD2:return _eD2;case _fD2:return _gD2;case _hD2:return _iD2;case _jD2:return _kD2;case _lD2:return _mD2;case _nD2:return _oD2;case _pD2:return _qD2;case _rD2:return _sD2;case _tD2:return _uD2;case _vD2:return _wD2;case _xD2:return _yD2;case _zD2:return _AD2;case _BD2:return _CD2;case _DD2:return _ED2;case _FD2:return _GD2;case _HD2:return _ID2;case _JD2:return _KD2;case _LD2:return _MD2;case _ND2:return _OD2;case _PD2:return _QD2;
case _RD2:return _SD2;case _TD2:return _UD2;case _VD2:return _WD2;default :return 0;}break;case _XD2:return _6m;default :return 0;}}function _bH(_i2,_7H){switch(_i2){case _qA2:case _4D2:case _ZC2:case _0D2:case _2D2:{return _7H;}}return 0;}var _YD2=0;var _ZD2=1;var __D2=2;var _0E2=3;var _1E2=4;var _2E2=5;function _3E2(){this._4E2=[new _5E2(),new _5E2(),new _5E2(),new _5E2(),new _5E2(),new _5E2(),];}/*
 * Initializes frustum planes from a view-projection matrix.
 * 
 * @param {Matrix} vp The view-projection matrix.
 */_3E2.prototype._kM=function(_6E2){
var _sn=new _Xy(_6E2._z5[0],_6E2._z5[4],_6E2._z5[8]);var _tn=new _Xy(_6E2._z5[1],_6E2._z5[5],_6E2._z5[9]);var _un=new _Xy(_6E2._z5[2],_6E2._z5[6],_6E2._z5[10]);var _vn=new _Xy(_6E2._z5[3],_6E2._z5[7],_6E2._z5[11]);this._4E2[_YD2].Normal=_vn._Ke(_sn);this._4E2[_ZD2].Normal=_vn._6M(_sn);this._4E2[_0E2].Normal=_vn._Ke(_tn);this._4E2[__D2].Normal=_vn._6M(_tn);this._4E2[_1E2].Normal=_un;this._4E2[_2E2].Normal=_vn._6M(_un);var _7E2=_6E2._z5[12];var _8E2=_6E2._z5[13];var _9E2=_6E2._z5[14];var _aE2=_6E2._z5[15];this._4E2[_YD2]._S82=_aE2+_7E2;
this._4E2[_ZD2]._S82=_aE2-_7E2;this._4E2[_0E2]._S82=_aE2+_8E2;this._4E2[__D2]._S82=_aE2-_8E2;this._4E2[_1E2]._S82=_9E2;this._4E2[_2E2]._S82=_aE2-_9E2;for(var i=0;i<6;++i){this._4E2[i]._qz();}};/*
 * Tests whether a sphere intersects with the frustum.
 * @param {Vector3} position The origin of the sphere.
 * @param {Number} radius The sphere's radius.
 * @returns True if the sphere intersects with the frustum.
 */_3E2.prototype._bE2=function(position,_W51){for(var i=0;i<6;++i){var _cE2=this._4E2[i];
var _dt=(position._dE2(_cE2.Normal))+_cE2._S82;if(_dt<-_W51){return false;}}return true;};function _eE2(){this.__type="global";}var _P5=3.14159265,_fE2=true,_gE2=false,_od1=true,_Bn1=0,_hE2=-1,_iE2=0,_jE2=1,_kE2=2,_YM=0,_lE2=-1,_mE2=0,_ZM=1,_nE2=2,_oE2=3,_pE2=4,_Z91=5,_qE2=6,_rE2=7,_sE2=8,_tE2=9,_uE2=10,_vE2=11,_M91=0,_wE2=-1,_xE2=0,_yE2=0,_zE2=1,_AE2=2,_N91=3,_BE2=4,_CE2=5,_DE2=6,_EE2=7,_FE2=8,_GE2=9,_En1=0,_HE2=-1,_f71=-100,_g71=-200,_IE2=-300,_JE2=-400,_kZ=-1,_KE2=-2,_JP=-3,_Os=-4,_LE2=-5,_ME2=-7,
_NE2=-6,_7m=0x000,_tP=0x100,_1A2=0x200,_OE2=0x300,_Vb2=0x400,__C2=0x500,_PE2=0x600,_eH=0x700,_YC2=0x800,_1D2=0x900,_3D2=0xA00,_5D2=0xB00,_fP=0xC00,_QE2=0xD00,_6m=0xE00,_nA2=_OE2|1,_lA2=_OE2|2,_pA2=_OE2|3,_6z2=_eH|1,_8z2=_eH|2,_lB2=_eH|3,_nB2=_eH|4,_pB2=_eH|5,_rB2=_eH|6,_Mm=_eH|7,_uB2=_eH|8,_Gb2=_eH|9,_Xm=_eH|10,_yB2=_eH|11,_2C2=_eH|14,_4C2=_eH|15,_6C2=_eH|16,_8C2=_eH|17,_aC2=_eH|18,_cC2=_eH|19,_eC2=_eH|20,_gC2=_eH|21,_iC2=_eH|22,_kC2=_eH|23,_mC2=_eH|24,_oC2=_eH|25,_qC2=_eH|26,_sC2=_eH|27,_uC2=_eH|28,
_wC2=_eH|29,_ez2=_eH|30,_BB2=_eH|31,_DB2=_eH|32,_FB2=_eH|33,_HB2=_eH|34,_JB2=_eH|35,_LB2=_eH|36,_NB2=_eH|37,_fz2=_eH|40,_QB2=_eH|41,_SB2=_eH|42,_UB2=_eH|43,_WB2=_eH|44,_YB2=_eH|45,__B2=_eH|46,_1C2=_eH|47,_S4=_eH|58,_o2=_eH|59,_AC2=_eH|60,_CC2=_eH|61,_EC2=_eH|62,_GC2=_eH|63,_KC2=_eH|68,_RE2=_YC2|64,_SE2=_YC2|65,_TE2=_YC2|72,_UE2=_YC2|73,_VE2=_YC2|74,_WE2=_YC2|75,_XE2=_YC2|76,_YE2=_YC2|77,_IC2=_eH|66,_MC2=_eH|70,_OC2=_eH|71,_Fd1=_eH|72,_Ce1=_eH|73,_RC2=_eH|74,_TC2=_eH|80,_Wb1=_eH|75,_WC2=_eH|76,_yz2=_PE2|1,
_Az2=_PE2|2,_zz2=_PE2|3,_Bz2=_PE2|4,_Dz2=_PE2|5,_Cz2=_PE2|6,_Ez2=_PE2|7,_Gz2=_PE2|8,_Fz2=_PE2|9,_Qz2=_PE2|10,_3B2=_PE2|11,_5B2=_PE2|12,_Rz2=_PE2|13,_8B2=_PE2|14,_aB2=_PE2|15,_Sz2=_PE2|16,_dB2=_PE2|17,_fB2=_PE2|18,_Hz2=_PE2|19,_Iz2=_PE2|20,_Jz2=_PE2|21,_Kz2=_PE2|22,_Lz2=_PE2|23,_7A2=_1A2|1,_8A2=_1A2|2,_9A2=_1A2|3,_aA2=_1A2|4,_bA2=_1A2|5,_cA2=_1A2|6,_dA2=_1A2|7,_eA2=_1A2|8,_fA2=_1A2|9,_gA2=_1A2|10,_hA2=_1A2|11,_iA2=_1A2|12,_8D2=_QE2|1,_aD2=_QE2|2,_cD2=_QE2|3,_eD2=_QE2|4,_gD2=_QE2|5,_iD2=_QE2|6,_kD2=_QE2|7,
_mD2=_QE2|8,_oD2=_QE2|9,_qD2=_QE2|10,_sD2=_QE2|11,_uD2=_QE2|12,_wD2=_QE2|13,_yD2=_QE2|65,_AD2=_QE2|66,_CD2=_QE2|67,_ED2=_QE2|68,_GD2=_QE2|69,_ID2=_QE2|70,_KD2=_QE2|71,_MD2=_QE2|72,_OD2=_QE2|73,_QD2=_QE2|74,_SD2=_QE2|75,_UD2=_QE2|76,_WD2=_QE2|77,_3A2=0,_4A2=1,_6A2=2,_jA2=3,_qA2=4,_ZC2=5,_rA2=6,_uH=7,_XC2=8,_0D2=9,_2D2=10,_4D2=11,_5A2=12,_6D2=13,_XD2=14,_ZE2=10,__E2=11,_0F2=12,_1F2=13,_2F2=14,_3F2=15,_4F2=16,_5F2=17,_6F2=18,_7F2=19,_8F2=20,_9F2=21,_aF2=22,_bF2=23,_cF2=24,_dF2=25,_sA2=0,_tA2=1,_uA2=2,
_vA2=3,_wA2=4,_xA2=5,_yA2=6,_zA2=7,_AA2=8,_BA2=9,_CA2=10,_DA2=11,_EA2=16,_FA2=17,_GA2=18,_HA2=19,_IA2=21,_JA2=22,_KA2=23,_LA2=24,_MA2=25,_NA2=26,_OA2=27,_PA2=28,_QA2=31,_RA2=32,_SA2=33,_TA2=34,_UA2=36,_VA2=37,_WA2=38,_XA2=39,_YA2=40,_ZA2=41,__A2=42,_0B2=43,_1B2=50,_2B2=51,_4B2=52,_6B2=53,_7B2=54,_9B2=55,_bB2=56,_cB2=57,_eB2=58,_gB2=60,_hB2=61,_7D2=0,_9D2=1,_bD2=2,_dD2=3,_fD2=4,_hD2=5,_jD2=6,_lD2=7,_nD2=8,_pD2=9,_rD2=10,_tD2=11,_vD2=12,_xD2=64,_zD2=65,_BD2=66,_DD2=67,_FD2=68,_HD2=69,_JD2=70,_LD2=71,
_ND2=72,_PD2=73,_RD2=74,_TD2=75,_VD2=76,_mA2=0,_kA2=1,_oA2=2,_iB2=0,_jB2=1,_kB2=2,_mB2=3,_oB2=4,_qB2=5,_sB2=6,_tB2=7,_vB2=8,_wB2=9,_xB2=30,_zB2=40,_AB2=41,_CB2=42,_EB2=43,_GB2=44,_IB2=45,_KB2=46,_MB2=47,_OB2=50,_PB2=51,_RB2=52,_TB2=53,_VB2=54,_XB2=55,_ZB2=56,_0C2=57,_xC2=58,_yC2=59,_tH=10,_3C2=11,_5C2=12,_7C2=13,_9C2=14,_bC2=15,_dC2=16,_fC2=17,_hC2=18,_jC2=19,_lC2=20,_nC2=21,_pC2=22,_rC2=23,_tC2=24,_vC2=25,_zC2=60,_BC2=61,_DC2=62,_FC2=63,_eF2=64,_fF2=65,_HC2=66,_JC2=68,_LC2=70,_NC2=71,_PC2=72,_QC2=74,
_SC2=80,_UC2=75,_VC2=76,_gF2=_1D2|0,_hF2=_1D2|1,_iF2=_1D2|1,_jF2=_1D2|8,_kF2=_1D2|9,_lF2=_1D2|13,_mF2=_1D2|16,_nF2=_1D2|17,_oF2=_1D2|18,_pF2=_1D2|19,_qF2=_1D2|27,_rF2=_1D2|32,_sF2=_1D2|33,_tF2=_1D2|34,_uF2=_1D2|35,_vF2=_1D2|36,_wF2=_1D2|37,_xF2=_1D2|38,_yF2=_1D2|39,_zF2=_1D2|40,_AF2=_1D2|45,_BF2=_1D2|46,_CF2=_1D2|48,_DF2=_1D2|49,_EF2=_1D2|50,_FF2=_1D2|51,_GF2=_1D2|52,_HF2=_1D2|53,_IF2=_1D2|54,_JF2=_1D2|55,_KF2=_1D2|56,_LF2=_1D2|57,_MF2=_1D2|65,_NF2=_1D2|66,_OF2=_1D2|67,_PF2=_1D2|68,_QF2=_1D2|69,
_RF2=_1D2|70,_SF2=_1D2|71,_TF2=_1D2|72,_UF2=_1D2|73,_VF2=_1D2|74,_WF2=_1D2|75,_XF2=_1D2|76,_YF2=_1D2|77,_ZF2=_1D2|78,__F2=_1D2|79,_0G2=_1D2|80,_1G2=_1D2|81,_2G2=_1D2|82,_3G2=_1D2|83,_4G2=_1D2|84,_5G2=_1D2|85,_6G2=_1D2|86,_7G2=_1D2|87,_8G2=_1D2|88,_9G2=_1D2|89,_aG2=_1D2|90,_bG2=_1D2|112,_cG2=_1D2|113,_dG2=_1D2|114,_eG2=_1D2|115,_fG2=_1D2|116,_gG2=_1D2|117,_hG2=_1D2|118,_iG2=_1D2|119,_jG2=_1D2|120,_kG2=_1D2|121,_lG2=_1D2|122,_mG2=_1D2|123,_nG2=_1D2|145,_oG2=_1D2|186,_pG2=_1D2|187,_qG2=_1D2|188,_rG2=_1D2|189,
_sG2=_1D2|190,_tG2=_1D2|191,_uG2=_1D2|192,_vG2=_1D2|219,_wG2=_1D2|220,_xG2=_1D2|221,_yG2=_1D2|222,_zG2=_1D2|223,_AG2=_1D2|144,_BG2=_1D2|96,_CG2=_1D2|97,_DG2=_1D2|98,_EG2=_1D2|99,_FG2=_1D2|100,_GG2=_1D2|101,_HG2=_1D2|102,_IG2=_1D2|103,_JG2=_1D2|104,_KG2=_1D2|105,_LG2=_1D2|106,_MG2=_1D2|107,_NG2=_1D2|109,_OG2=_1D2|110,_PG2=_1D2|111,_QG2=__C2|0,_RG2=__C2|1,_SG2=__C2|1,_TG2=__C2|8,_UG2=__C2|9,_VG2=__C2|13,_WG2=__C2|16,_XG2=__C2|17,_YG2=__C2|18,_ZG2=__C2|19,__G2=__C2|27,_0H2=__C2|32,_1H2=__C2|33,_2H2=__C2|34,
_3H2=__C2|35,_4H2=__C2|36,_5H2=__C2|37,_6H2=__C2|38,_7H2=__C2|39,_8H2=__C2|40,_9H2=__C2|45,_aH2=__C2|46,_bH2=__C2|48,_cH2=__C2|49,_dH2=__C2|50,_eH2=__C2|51,_fH2=__C2|52,_gH2=__C2|53,_hH2=__C2|54,_iH2=__C2|55,_jH2=__C2|56,_kH2=__C2|57,_lH2=__C2|65,_mH2=__C2|66,_nH2=__C2|67,_oH2=__C2|68,_pH2=__C2|69,_qH2=__C2|70,_rH2=__C2|71,_sH2=__C2|72,_tH2=__C2|73,_uH2=__C2|74,_vH2=__C2|75,_wH2=__C2|76,_xH2=__C2|77,_yH2=__C2|78,_zH2=__C2|79,_AH2=__C2|80,_BH2=__C2|81,_CH2=__C2|82,_DH2=__C2|83,_EH2=__C2|84,_FH2=__C2|85,
_GH2=__C2|86,_HH2=__C2|87,_IH2=__C2|88,_JH2=__C2|89,_KH2=__C2|90,_LH2=__C2|112,_MH2=__C2|113,_NH2=__C2|114,_OH2=__C2|115,_PH2=__C2|116,_QH2=__C2|117,_RH2=__C2|118,_SH2=__C2|119,_TH2=__C2|120,_UH2=__C2|121,_VH2=__C2|122,_WH2=__C2|123,_XH2=__C2|145,_YH2=__C2|186,_ZH2=__C2|187,__H2=__C2|188,_0I2=__C2|189,_1I2=__C2|190,_2I2=__C2|191,_3I2=__C2|192,_4I2=__C2|219,_5I2=__C2|220,_6I2=__C2|221,_7I2=__C2|222,_8I2=__C2|223,_9I2=__C2|144,_aI2=__C2|96,_bI2=__C2|97,_cI2=__C2|98,_dI2=__C2|99,_eI2=__C2|100,_fI2=__C2|101,
_gI2=__C2|102,_hI2=__C2|103,_iI2=__C2|104,_jI2=__C2|105,_kI2=__C2|106,_lI2=__C2|107,_mI2=__C2|109,_nI2=__C2|110,_oI2=__C2|111,_pI2=_3D2|0,_qI2=_3D2|1,_rI2=_3D2|1,_sI2=_3D2|8,_tI2=_3D2|9,_uI2=_3D2|13,_vI2=_3D2|16,_wI2=_3D2|17,_xI2=_3D2|18,_yI2=_3D2|19,_zI2=_3D2|27,_AI2=_3D2|32,_BI2=_3D2|33,_CI2=_3D2|34,_DI2=_3D2|35,_EI2=_3D2|36,_FI2=_3D2|37,_GI2=_3D2|38,_HI2=_3D2|39,_II2=_3D2|40,_JI2=_3D2|45,_KI2=_3D2|46,_LI2=_3D2|48,_MI2=_3D2|49,_NI2=_3D2|50,_OI2=_3D2|51,_PI2=_3D2|52,_QI2=_3D2|53,_RI2=_3D2|54,_SI2=_3D2|55,
_TI2=_3D2|56,_UI2=_3D2|57,_VI2=_3D2|65,_WI2=_3D2|66,_XI2=_3D2|67,_YI2=_3D2|68,_ZI2=_3D2|69,__I2=_3D2|70,_0J2=_3D2|71,_1J2=_3D2|72,_2J2=_3D2|73,_3J2=_3D2|74,_4J2=_3D2|75,_5J2=_3D2|76,_6J2=_3D2|77,_7J2=_3D2|78,_8J2=_3D2|79,_9J2=_3D2|80,_aJ2=_3D2|81,_bJ2=_3D2|82,_cJ2=_3D2|83,_dJ2=_3D2|84,_eJ2=_3D2|85,_fJ2=_3D2|86,_gJ2=_3D2|87,_hJ2=_3D2|88,_iJ2=_3D2|89,_jJ2=_3D2|90,_kJ2=_3D2|112,_lJ2=_3D2|113,_mJ2=_3D2|114,_nJ2=_3D2|115,_oJ2=_3D2|116,_pJ2=_3D2|117,_qJ2=_3D2|118,_rJ2=_3D2|119,_sJ2=_3D2|120,_tJ2=_3D2|121,
_uJ2=_3D2|122,_vJ2=_3D2|123,_wJ2=_3D2|145,_xJ2=_3D2|186,_yJ2=_3D2|187,_zJ2=_3D2|188,_AJ2=_3D2|189,_BJ2=_3D2|190,_CJ2=_3D2|191,_DJ2=_3D2|192,_EJ2=_3D2|219,_FJ2=_3D2|220,_GJ2=_3D2|221,_HJ2=_3D2|222,_IJ2=_3D2|223,_JJ2=_3D2|144,_KJ2=_3D2|96,_LJ2=_3D2|97,_MJ2=_3D2|98,_NJ2=_3D2|99,_OJ2=_3D2|100,_PJ2=_3D2|101,_QJ2=_3D2|102,_RJ2=_3D2|103,_SJ2=_3D2|104,_TJ2=_3D2|105,_UJ2=_3D2|106,_VJ2=_3D2|107,_WJ2=_3D2|109,_XJ2=_3D2|110,_YJ2=_3D2|111,_ZJ2=0,__J2=1,_0K2=2,_1K2=[],_0A2=12,_2K2=8,_3K2=8,_4K2=8,_TG=10,_wn=0x000000,
_zn=0x000080,_An=0x008000,_Bn=0x008080,_Cn=0x800000,_Dn=0x800080,_En=0x808000,_xn=0x808080,_yn=0xC0C0C0,_Fn=0x0000FF,_Gn=0x00FF00,_Hn=0x00FFFF,_In=0xFF0000,_Jn=0xFF00FF,_Kn=0xFFFF00,_5K2=0xC0C0C0,_6K2=0x808080,_Tm=0xFFFFFF,_7K2=0xC0DCC0,_8K2=0xF0CAA6,_9K2=0xF0FBFF,_aK2=0xA4A0A0,_bK2=-1,_Pe1=0,_nm=1,_fj1=0,_tZ1=1,_uZ1=2,_vZ1=3,_wZ1=4,_xZ1=5,_fr=6,_yZ1=7,_zZ1=8,_4j1=9,_5j1=10,_6j1=11,_7j1=12,_8j1=13,_9j1=14,_aj1=15,global=null,_m2=null,_Lm=null,_yf=null,_qS=null,g_pBuiltIn=null,_vD=null,_cK2=null,
_pm=null,_UD=null,_cq=null,_H4=null,_dK2=null,_7t=null,_hW=null,_li1=null,_9d2=null,_TX=null,_jH=null,_Iq=null,_DS=null,_Yj1=null,_Je=null,_eK2=null,_x2=null,_fK2=null,_bf=null,_gK2=null,_hK2=null,_w01=null,_q01=null,_ui=null,_Ik=null,_fN=null,_Ij=null,_Wk=null,_wj=null,_g6=null,_Vk=null,_gr=null,_iK2=null,_Yn1=null,_VG=null,_UG=null,_jK2=null,_WG=null,_kK2=null,_lK2=null,_mK2=null,_nK2=null,_zH=null,_AH=null,_M7=null,_fF=null,_ff=null,_RL=null,_pM=null,_oK2=null,_pK2=null,_qK2=null,_rK2=null,_sK2=null,
_Hx2=null,_Li1=null,_tK2=null,_6i1=null,_1i1=-1,_2i1=[],g_gmlConst=null,_4a1=null;_F91=null,g_WebAudioContext=null,_GE=null,_fE=null,_uK2=null,_yn1=null,_vK2=null,g_GameMakerHTML5Dir=undefined,_wK2=undefined,_xK2=undefined,gml_Script_gmcallback_html5_set_load_location=undefined,_yK2="",g_yyPrePostObject__=undefined,_mm=_Pe1,_zK2=true,_qL=true,_kF=false,_Yy2=false,_im1=false,_Kb1=false,_Jb1=false,_dd1=false,_rD=false,_AK2=false,_BK2=false,_CK2=false,_DK2=false,_9H=false,_EK2=false,_hE=false,_FK2=false,
_GK2=false,_HK2=false,_IK2=0,_b71=0,_JK2=0,_KK2=0,_LK2=0,_MK2=0,_Im1=0,_Jm1=0,_Lm1=0,_Mm1=0,_Km1=0,_Nm1=0,_li=0,_nP=0,_NK2=0,_Rb=0,_Sb=0,_6G=0,_iK=0,_hK=0,_IK=0,_KK=0,_Om1=0,_Pm1=0,_OK2=0,_PK2=0,_QK2=0,_RK2=0,_SK2=0,_TK2=0,_UK2=0,_VK2=0,_7E=0,_WK2=0,_wH=0,_xH=0,_yH=0,_eG=0,_fG=0,_LM=0,_XK2=0,_YK2=0,_ZK2=0,__K2=0,_Dm1=0,_0L2=0,_5z=0,_mY=false,_Cm1=0,_ol=0,_1L2=0,_IJ=0,_FJ=0,_KJ=false,_LJ=-1,_MJ=-1,_JJ=1,_GJ=1,_mM=true,_hM=true,_jM=new _3E2(),cr_default=0,cr_none=0,cr_arrow=0,cr_cross=0,cr_beam=0,cr_size_nesw=0,
cr_size_ns=0,cr_size_nwse=0,cr_size_we=0,cr_uparrow=0,cr_hourglass=0,cr_drag=0,_vm1=0,_wm1=0,_xm1=0,_ym1=0,_zm1=0,_Am1=0,cr_appstart=0,_Bm1=0,cr_handpoint=0,cr_size_all=0,c_black=0,c_white=0,c_red=0,c_green=0,c_blue=0,_2L2=0,_3L2=0,_4L2=0,_5L2=0,_6L2=0,_z2=0,_7L2=[],_cE='canvas',_8L2='0123456789ABCDEF';function _9L2(){var debug=false;if((_vD.Options)&&(_vD.Options.debugMode)&&(_vD.Options.debugMode===true)){debug=true;}}function _aL2(){_7L2=[];var _bL2=0xEDB88320;for(var i=0;i<256;++i){var _cL2=~~i;for(var _35=8;
_35>0;--_35){if((_cL2&1)!==0){_cL2=((_cL2>>1)&0x7fffffff)^_bL2;}else {_cL2>>=1;_cL2&=0x7fffffff;}}_7L2[i]=_cL2;}}function _dL2(_j_1){var _eL2=0xffffffff;for(var i=0;i<_j_1.length;i++){_eL2=((_eL2>>8)&0x00ffffff)^_7L2[(_eL2^_j_1[i])&0xff];}return _eL2;}function _fL2(){_aL2();_gL2();if(_mm!=_bK2){try{var _hL2=new Audio();_hL2.controls=false;_Kb1=!!_hL2.canPlayType&&_hL2.canPlayType('audio/mpeg')!=="";_Jb1=!!_hL2.canPlayType&&_hL2.canPlayType('audio/ogg; codecs="vorbis"')!=="";_hL2=null;}catch(e){_Kb1=false;
_Jb1=false;}}if(_Kb1)debug("Browser CAN play MP3");if(_Jb1)debug("Browser CAN play OGG");_9L2();_uK2=_IK2=0;_x2=null;_Yy2=false;_b71=-1;_pK2=new _iL2();_qK2=new _iL2();_fK2=new _iL2();_vK2=new _iL2();_rK2=new _iL2();_pM=new _ME();_RL=new _ME();_oK2=new _ME();_fK2.visible=true;_vK2.visible=true;_bf=[];_bf[0]=_fK2;_jL2=[];_hK2=[];_w01=[];_q01=[];_ui=new _u31(5);_Ik=new _u31(5);_fN=new _u31(5);_Ij=new _u31(5);_Wk=new _u31(5);_wj=new _u31(5);_g6=new _u31(5);_gr=new _u31(5);_Vk=new _u31(5);_iK2=new _lr();_fF=new _u31(5);
_ff=new _ME();_Hx2=new _mP(0,0,0,0,false,true);_Hx2._kL2="DUMMY INSTANCE";_1K2[0]=-1;_1K2[1]=0;_1K2[2]=0x00000000;_1K2[3]=1;_1K2[4]=0;_1K2[5]=0x00000000;_1K2[6]=0;_1K2[7]=-1;_1K2[8]=0x00000000;_1K2[9]=0;_1K2[10]=1;_1K2[11]=0x00000000;_1K2[12]=0;_1K2[13]=0;_1K2[14]=0xffffffff;_cE="canvas";_M7="html5game/";if(typeof(g_GameMakerHTML5Dir)!="undefined"){_M7=g_GameMakerHTML5Dir;}else {if(_vD.Options&&_vD.Options.GameDir){_M7=_vD.Options.GameDir+'/';}}_Yn1=[];_VG=[];_UG=[];_jK2="Hiscore Table";_WG="<Nobody>";
_kK2="Press <ESC> to Continue";_RK2=0x000000;_VK2=-1;_SK2=0xffff00;_TK2=0xffffff;_lK2="verdana";_UK2=16;_mK2="";_zK2=true;highscore_clear();_IJ=-1;_FJ=-1;_gr._lL2();_li=0.0000001;__K2=512;_GE=[];_BK2=_GK2=false;_qL=true;_hE=false;_6i1=_WK2=null;_wH=_xH=-1;_LM=0;_NK2=1.0;_JK2=0;_KK2=-1;_LK2=0;_7E=0;_MK2=0;_QK2=10000000;_nP=100000;_Rb=1.0;if(_z2){draw_set_colour(_vD.Options.DrawColour);}else {_6G=0x00000000;_Sb=0x000000;_iK=_jK(_Sb);_hK=_rr(_Sb,_Rb);}c_black=_jK(0x000000);c_white=_jK(0xffffff);c_red=_jK(0x0000ff);
c_green=_jK(0x00ff00);c_blue=_jK(0xff0000);_2L2=_jK(0xff000000);_3L2=_jK(0xffffffff);_4L2=_jK(0xff0000ff);_5L2=_jK(0xff00ff00);_6L2=_jK(0xffff0000);cr_default=0;cr_none=-1;cr_arrow=-2;cr_cross=-3;cr_beam=-4;cr_size_nesw=-6;cr_size_ns=-7;cr_size_nwse=-8;cr_size_we=-9;cr_uparrow=-10;cr_hourglass=-11;cr_drag=-12;_vm1=-13;_wm1=-14;_xm1=-15;_ym1=-16;_zm1=-17;_Am1=-18;cr_appstart=-19;_Bm1=-20;cr_handpoint=-21;cr_size_all=-22;_ol=-1;_Cm1=_vD.Options.showCursor?cr_default:cr_none;_1L2=0;_mL2();if(_vD.Options&&_vD.Options.showCursor===false){
canvas.style.cursor="none";}_DK2=false;if(_vD.Options&&_vD.Options.CreateEventOrder===true){_DK2=true;}if(typeof gmlGlobalInit=='function'){gmlGlobalInit();}}function _nL2(_oL2){return((_oL2*Math.PI)/180.0);}function _pL2(_u4,_v4){if(_u4===0)return 0;var _N5=((_u4*0x1000000)%(_v4*0x1000000));_N5=_N5/0x1000000;return _N5;}function _oz(_u4){return _u4*_u4;}function _jK(_7c){var _q3="rgb("+((_7c>>16)&0xff).toString()+","+((_7c>>8)&0xff).toString()+","+(_7c&0xff).toString()+")";return _q3;}function _rr(_7c,_y8){
var _q3="rgba("+((_7c>>16)&0xff).toString()+","+((_7c>>8)&0xff).toString()+","+(_7c&0xff).toString()+","+((_y8*255.0)&0xff).toString()+")";return _q3;}function _qL2(_oL2){return _P5*_oL2/180.0;}function _Ub(_7c){return(((_7c&0xff)<<16)|(_7c&0xff00)|((_7c&0xff0000)>>16));}function _0q(_rL2){var _sL2=_tJ();while(_rL2>0){var _tL2=_tJ();_rL2-=(_tL2-_sL2);_sL2=_tL2;}}function _Ns(_Ls,_Ej,_Ms,_f41){var _Zj,_5t,_4m,_i3;var _l3=arguments;var _Nj=arguments.length;var _uL2=_l3[_Nj-1];_Ej=~~_Ej;if(_Ej==_Os)return _f41;if(_Ej==_JP){
_Zj=_Lm._RY();for(_4m=0;_4m<_Zj.length;_4m++){_5t=_Zj[_4m];if((_Ms)&&(_5t==_Ls))continue;if(_5t.marked)continue;if(!_5t.active)continue;_i3=_uL2(_5t);if(_i3 instanceof _Vs)_i3=yyGetInt32(_i3);if(_i3>0)return _i3;}}else if(_Ej<100000){var _FF=_m2._I4(_Ej);if(_FF===null){return _f41;}_Zj=_FF._h41();for(_4m=0;_4m<_Zj.length;_4m++){_5t=_Zj[_4m];if((_Ms)&&(_Ls==_5t))continue;if(_5t.marked)continue;if(!_5t.active)continue;_i3=_uL2(_5t);if(_i3 instanceof _Vs)_i3=yyGetInt32(_i3);if(_i3>0)return _i3;}}else {_5t=_Lm._vL2(_Ej);
if((_Ms)&&(_Ls==_5t)){return _f41;}if(_5t.marked){return _f41;}if(!_5t.active){return _f41;}_i3=_uL2(_5t);if(_i3 instanceof _Vs)_i3=yyGetInt32(_i3);return _i3;}return _f41;}function _UN(_Ls,_Ej,_Ms,_f41){var _Zj,_5t,_4m,_Fl;var _l3=arguments;var _Nj=arguments.length;var _uL2=_l3[_Nj-1];var _dt=10000000000;var id=-1;_Ej=~~_Ej;if(_Ej==_Os)return _f41;if(_Ej==_JP){_Zj=_Lm._RY();for(_4m=0;_4m<_Zj.length;_4m++){_5t=_Zj[_4m];if((_Ms)&&(_5t==_Ls))continue;if(_5t.marked)continue;if(!_5t.active)continue;_Fl=_uL2(_5t);if(_Fl<_dt){
_dt=_Fl;}}if(_dt!=10000000000)return _dt;}else if(_Ej<100000){var _FF=_m2._I4(_Ej);if(_FF===null){return _f41;}_Zj=_FF._h41();for(_4m=0;_4m<_Zj.length;_4m++){_5t=_Zj[_4m];if((_Ms)&&(_Ls==_5t))continue;if(_5t.marked)continue;if(!_5t.active)continue;_Fl=_uL2(_5t);if(_Fl<_dt){_dt=_Fl;}}if(_dt!=10000000000)return _dt;}else {_5t=_Lm._vL2(_Ej);if((_Ms)&&(_Ls==_5t)){return _f41;}if(_5t.marked){return _f41;}if(!_5t.active)return _f41;return _uL2(_5t);}return _f41;}/*@constructor */function _wL2(){/*@this {BrowserDetect} */this.init=function(){
this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this._0N=this._xL2();this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this._yL2=this._zL2(this.browser);this.os_version=this._AL2();},/*@this {BrowserDetect} */this._xL2=function(){var _BL2=navigator.userAgent.toString().toLowerCase();if(_BL2.indexOf("trident/5")>-1){return 9.0;}else if(_BL2.indexOf("trident/6")>-1){return 10.0;}else if(_BL2.indexOf("trident/7")>-1){
return 11.0;}return -1;},this._zL2=function(_CL2){const _sV1=this.searchString(this.dataOS)||"an unknown OS";if(_CL2==="Safari"&&_sV1==="Mac"&&navigator["maxTouchPoints"]&&navigator["maxTouchPoints"]>1)return "iPad";return _sV1;},/*@this {BrowserDetect} */this._AL2=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 _HE2;}},/*@this {BrowserDetect} */this.searchString=function(data){for(var i=0;i<data.length;i++){var _DL2=data[i].string;var _EL2=data[i].prop;this.versionSearchString=data[i].versionSearch||data[i].identity;if(_DL2){if(_DL2.indexOf(data[i]._FL2)!=-1){return data[i].identity;}}else if(_EL2){return data[i].identity;}}},/*@this {BrowserDetect} */this.searchVersion=function(_DL2){
var index=_DL2.indexOf(this.versionSearchString);if(index==-1)return;return parseFloat(_DL2.substring(index+this.versionSearchString.length+1));},this.dataBrowser=[{string:navigator.userAgent,_FL2:"Tizen",identity:"Tizen"},{string:navigator.userAgent,_FL2:"Edge",identity:"Edge"},{string:navigator.userAgent,_FL2:"OPR",versionSearch:"OPR",identity:"Opera"},{string:navigator.userAgent,_FL2:"Chrome",identity:"Chrome"},{string:navigator.userAgent,_FL2:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"}
,{string:navigator.vendor,_FL2:"Apple",identity:"Safari",versionSearch:"Version"},{string:navigator.userAgent,_FL2:"KHTML",identity:"KHTML",versionSearch:"Mozilla/"},{string:navigator.vendor,_FL2:"iCab",identity:"iCab"},{string:navigator.vendor,_FL2:"KDE",identity:"Konqueror"},{string:navigator.userAgent,_FL2:"Firefox",identity:"Firefox"},{string:navigator.userAgent,_FL2:"IceWeasel",identity:"IceWeasel"},{string:navigator.vendor,_FL2:"Camino",identity:"Camino"},{string:navigator.userAgent,_FL2:"Netscape",
identity:"Netscape"},{string:navigator.userAgent,_FL2:"IEMobile",identity:"IEMobile"},{string:navigator.userAgent,_FL2:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,_FL2:"Trident/",identity:"Explorer",versionSearch:"rv"},{string:navigator.userAgent,_FL2:"Gecko",identity:"Mozilla",versionSearch:"rv"}],this.dataOS=[{string:navigator.userAgent,_FL2:"Phone 8",identity:"WindowsPhone8"},{string:navigator.platform,_FL2:"Win",identity:"Windows"},{string:navigator.platform,
_FL2:"Mac",identity:"Mac"},{string:navigator.userAgent,_FL2:"iPhone",identity:"iPhone"},{string:navigator.userAgent,_FL2:"iPod",identity:"iPhone"},{string:navigator.userAgent,_FL2:"iPad",identity:"iPad"},{string:navigator.userAgent,_FL2:"Android",identity:"Android"},{string:navigator.userAgent,_FL2:"Tizen",identity:"Tizen"},{string:navigator.platform,_FL2:"Linux",identity:"Linux"}]};var __M=new _wL2();function _gL2(){__M.init();if(__M._yL2=="Windows"){_M91=_xE2;}else if(__M._yL2=="Mac"){_M91=_zE2;}else if(__M._yL2=="iPhone"){
_M91=_N91;}else if(__M._yL2=="iPad"){_M91=_N91;}else if(__M._yL2=="Android"){_M91=_BE2;}else if(__M._yL2=="Linux"){_M91=_DE2;}else if(__M._yL2=="Tizen"){_M91=_FE2;}else if(__M._yL2=="WindowsPhone8"){_M91=_EE2;}else {_M91=_wE2;}if(__M._yL2!==""){debug(__M._yL2+" Detected("+_M91+")");}_En1=__M.os_version;_YM=_mE2;_Bn1=_hE2;if(__M.browser=="Explorer"){debug("Internet Explorer detected");_YM=_ZM;}else if(__M.browser=="Explorer"){debug("Internet Explorer detected");_YM=_ZM;}else if(__M.browser=="Edge"){debug("Microsoft Edge detected");
_YM=_vE2;}else if(__M.browser=="IEMobile"){debug("IE Mobile detected");_YM=_uE2;}else if(__M.browser=="Firefox"){debug("Firefox detected");_YM=_nE2;}else if(__M.browser=="Chrome"){debug("Chrome detected");_YM=_oE2;}else if(__M.browser=="Safari"){if(_M91==_N91){_YM=_Z91;_Bn1=_iE2;if(__M._yL2=="iPad")_Bn1=_kE2;debug("Safari mobile detected");}else {debug("Safari detected");_YM=_pE2;}}else if(__M.browser=="Opera"){debug("BrowserDetect: "+_wL2._yL2);debug("Opera detected");_YM=_qE2;}else if(__M.browser=="KHTML"){
debug("Default Android browser detected");debug("OS: "+_En1);_YM=_rE2;}else if(__M.browser=="Tizen"){_YM=_lE2;}else {debug("Unknown Browser - Please report these strings");debug("----------------------------------------------");if(navigator.userAgent)debug("userAgent: "+navigator.userAgent);debug("---");if(navigator.vendor)debug("vendor: "+navigator.vendor);debug("---");if(navigator.platform)debug("platform: "+navigator.platform);debug("----------------------------------------------");}if(true==_vD.Options.LocalRunAlert){
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. "+chr(13)+chr(13)+"Please check the FAQ for more details. "+chr(13)+chr(13)+"https://help.yoyogames.com/hc/en-us/articles/360011372851");}}}function _GL2(){_59.fillText("userAgent: "+navigator.userAgent,10,10);_59.fillText("vendor: "+navigator.vendor,10,30);_59.fillText("platform: "+navigator.platform,
10,50);}var _HL2=0;var _bd1=0;var _IL2=0;var _JL2=0;var _KL2=null;var _LL2=null;var _ML2=0,_NL2=1,_OL2=2,_PL2=3;function _QL2(){global=new _eE2();g_pBuiltIn=new _RL2();_yf=new _SL2();_md=new _Sd();g_pBuiltIn.pointer_null=new ArrayBuffer(1);g_pBuiltIn.pointer_invalid=new ArrayBuffer(1);g_pBuiltIn.NaN=Number.NaN;g_pBuiltIn.infinity=Number.POSITIVE_INFINITY;_TL2(canvas);_Lm=new _UL2();_m2=new _VL2();_qS=new _WL2();_H4=new _XL2();_dK2=new _YL2();_cq=new _ZL2();_pm=new __L2();_UD=new _0M2();_9d2=[];_TX=new _1M2();_jH=new _2M2();
_Iq=new _3M2();_DS=new _4M2();_Yj1=new _gj1();_Je=new _5M2();_7t=new _HR();_hW=new _6M2();_li1=new _4w2();_fL2();_J91();if(_z2){_li1._8x2();_7M2();}}function _8M2(_Dh1){switch(_Dh1){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 _9M2(_Dh1){switch(_Dh1){case _ML2:return "NETWORK_EMPTY";case _NL2:return "NETWORK_IDLE";case _OL2:return "NETWORK_LOADING";case _PL2:return "NETWORK_NO_SOURCE";}return "Unknown Error";
}/*@this {XMLHttpRequest} */function _aM2(_i2){debug("ImageLoaded: "+this.src);_bd1++;}/*@this {XMLHttpRequest} */function _bM2(_i2){debug("ImageError: "+this.src);_bd1++;}/*@this {XMLHttpRequest} */function _cM2(_i2){_JL2++;debug("ExtensionLoaded: ");}/*@this {XMLHttpRequest} */function _dM2(_i2){_JL2++;debug("ExtensionError: ");}function ClearEventListeners(_lm){_lm.removeEventListener('canplaythrough',_eM2,false);_lm.removeEventListener('error',_fM2,false);_lm.removeEventListener("loadstart",_gM2,
false);_lm.removeEventListener("suspend",_hM2,false);_lm.removeEventListener("stalled",_iM2,false);_lm.removeEventListener("stall",_iM2,false);}/*@this {XMLHttpRequest} */function _eM2(_i2){this.completed=true;if(_LL2[this.URL]!==null){_LL2[this.URL]=null;_bd1++;}ClearEventListeners(this);debug("SoundLoaded: "+this.URL);}/*@this {XMLHttpRequest} */function _fM2(_i2){debug("SoundError: "+this.URL+"   NetworkError: "+_8M2(this.error["code"]));this.completed=false;if(_LL2[this.URL]!==null){_LL2[this.URL]=null;
_bd1++;}ClearEventListeners(this);}/*@this {XMLHttpRequest} */function _gM2(_i2){this._jM2=true;}/*@this {XMLHttpRequest} */function _hM2(_i2){debug("SoundSuspended: "+this.URL);this.completed=true;if(_LL2[this.URL]!==null){_LL2[this.URL]=null;_bd1++;}ClearEventListeners(this);}function _iM2(_i2){}function _kM2(_rk){debug("Loading: "+_rk);var index=_L7(_rk);var _F3=new _lr();_F3.x=0;_F3.y=0;_F3.w=63;_F3.h=63;_F3.XOffset=-32;_F3.YOffset=-32;_F3.CropWidth=63;_F3.CropHeight=63;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=index;
_F3.texture=_J3[index];_F3._t7=[];_F3._v7=32;_F3._u7=0;var _lM2=_hK2.length;_hK2[_lM2]=_F3;return _lM2;}function _mM2(_zM){debug("Loading: "+_M7+_zM);var e=window.document.createElement('script');e.setAttribute('src',_M7+_zM);e.setAttribute('type',"text/javascript");e.onload=_cM2;e.onerror=_dM2;window.document.body.appendChild(e);_IL2++;}function _nM2(_oM2){if(_oM2.Extensions!==undefined){for(var i=0;i<_oM2.Extensions.length;i++){var _pM2=_oM2.Extensions[i];if(_pM2.jsFiles){for(var _qM2=0;_qM2<_pM2.jsFiles.length;
_qM2++){_mM2(_pM2.jsFiles[_qM2]);}}}}}function _rM2(_oM2){_LL2=[];_IL2=0;_JL2=0;_nM2(_oM2);}function _sM2(_rk){_HL2++;var _Pa1=new XMLHttpRequest();_Pa1.open('GET',_Hb1(_rk),true);_Pa1.send();_Pa1.onload=function(_tM2){_bd1++;_H4._uM2(_Pa1.responseText);};_Pa1.onerror=function(_tM2){_bd1++;};}function _vM2(_rk){_HL2++;var _Pa1=new XMLHttpRequest();_Pa1.open('GET',_Hb1(_rk),true);_Pa1.responseType='arraybuffer';_Pa1.send();_Pa1.onload=function(_tM2){_bd1++;_H4._wM2(_Pa1.response||_Pa1.responseText);};_Pa1.onerror=function(_tM2){
_bd1++;};}var _tG;function _xM2(self,other,_yM2){return _yM2;};var _zM2=[];function _AM2(_oM2){var _N5,id;if(_oM2.__E)document.title=_oM2.__E;if(typeof(gml_Script_gmcallback_html5_set_load_location)!='undefined'){_tG=gml_Script_gmcallback_html5_set_load_location;}else _tG=_xM2;_KL2=document.getElementById('GM4HTML5_loadingscreen');_rM2(_oM2);_yK2=_BM2;_bd1=0;for(var index=0;index<_oM2.Textures.length;index++){_HL2++;debug("Loading: "+_M7+_oM2.Textures[index]);_N5=_L7(_M7+_oM2.Textures[index]);_J3[_N5].onload=_aM2;
_J3[_N5].onerror=_bM2;_J3[_N5].URL=_oM2.Textures[index];_J3[_N5]._oZ1=_oM2.TexturesBlocks[index].MipsToGenerate;_zM2[index]=_N5;}if((_oM2.Swfs!==null)&&(_oM2.Swfs!==undefined)){_vM2(_oM2.Swfs);}if((_oM2.Skel!==null)&&(_oM2.Skel!==undefined)){_sM2(_oM2.Skel);}if(true==_vD.Options.UseParticles){for(var i=2;i<16;i++){_HL2++;var _kg=_kM2(_M7+"particles/IDR_GIF"+i+".png");_N5=_hK2[_kg].tp;_J3[_N5].onload=_aM2;_J3[_N5].onerror=_bM2;_J3[_N5].URL="particles/IDR_GIF"+i+".png";}}if(_mm==_nm){for(index=0;index<_oM2.Sounds.length;
index++){if(_oM2.Sounds[index]!==null){var groupId=0;if(_oM2.Sounds[index].groupId!==undefined){groupId=_oM2.Sounds[index].groupId;}if(groupId==0){_HL2++;debug("Loading: "+_M7+_oM2.Sounds[index].origName);if(_oM2.Sounds[index].kind===0){id=_md1(_M7+_oM2.Sounds[index].origName,index,_oM2.Sounds[index].pName,_oM2.Sounds[index].extension);if(id===undefined){_HL2--;}}else if((_oM2.Sounds[index].kind==3)||(_oM2.Sounds[index].kind==1)){_fd1(_M7+_oM2.Sounds[index].origName,index,_oM2.Sounds[index].pName,
_oM2.Sounds[index].extension);_HL2--;}else {debug("Attempting to load sound with unknown type: "+_oM2.Sounds[index].kind);_HL2--;}}}}}else if(_mm==_Pe1){var _CM2,_DM2;for(index=0;index<_oM2.Sounds.length;index++){if(_oM2.Sounds[index]!==null){_HL2++;_CM2=_oM2.Sounds[index].pName;_DM2=_Ma1[_CM2];debug("Loading: "+_M7+_oM2.Sounds[index].origName);id=_5f1(_M7+_oM2.Sounds[index].origName,_oM2.Sounds[index].pName,_oM2.Sounds[index].extension,_eM2,_fM2);if((id!==undefined)&&(_DM2)&&(_DM2.URL)){_LL2[_DM2.URL]=_DM2;
}else {_HL2--;}}}}}function _EM2(){for(var i in _LL2){if(!_LL2.hasOwnProperty(i))continue;var _FM2=_LL2[i];if(_FM2){if((_FM2.networkState!==null&&_FM2.networkState!==undefined)&&(_FM2.readyState!==null&&_FM2.readyState!==undefined)){if((_FM2.networkState==_NL2||_FM2.networkState==_PL2)&&(_FM2._jM2)&&(_FM2.readyState!=4)){if(_FM2.completed!==true){_FM2.completed=false;_bd1++;_LL2[i]=null;ClearEventListeners(_FM2);debug("SoundError: "+_FM2.URL+"   NetworkState: "+_9M2(_FM2.networkState));}}}}}}function _GM2(_HM2,
_FF){if(_FF._IM2)return;if(_FF._dE!==null){_GM2(_FF._dE._IP,_FF._dE);}for(var _JM2 in _FF._KM2){if(!_FF._KM2.hasOwnProperty(_JM2))continue;if(_9d2[_JM2]){if(_9d2[_JM2][_HM2]){continue;}}var _8C=false;var _LM2=_FF;while(_LM2!==null){var id=_LM2._IP;var _MM2=_m2._I4(_JM2);while(_MM2!==null){var _NM2=_MM2._IP;if(_9d2[_NM2]&&_9d2[_NM2][id]){_8C=true;break;}_MM2=_MM2._dE;}_LM2=_LM2._dE;}if(!_8C){if(!_9d2[_HM2]){_9d2[_HM2]=[];}_9d2[_HM2][_JM2]=_JM2;}}_FF._IM2=true;}function _OM2(){var _Zj=_m2._RY();for(var _HM2=0;
_HM2<_Zj.length;_HM2++){var _FF=_Zj[_HM2];if(_FF._dE!==null){_GM2(_FF._dE._IP,_FF._dE);}_GM2(_HM2,_FF);}}function _PM2(_oM2){var index,_6t,i;_nP=1000000;g_pBuiltIn.game_id=_oM2.Options.gameId;_Dm1=_oM2.Options.ViewColour;_AK2=_oM2.Options.allowFullScreenKey;_yn1=_oM2.Options.Config;g_pBuiltIn.game_save_id=_QM2();g_pBuiltIn.game_display_name=_oM2.Options.DisplayName;g_pBuiltIn.game_project_name=_oM2.Options.ProjectName;g_pBuiltIn.working_directory=_M7;g_pBuiltIn._RM2=_QM2();if(_i7)g_pBuiltIn.webgl_enabled=true;
_sK2=new _SM2(_oM2.Triggers);_YK2=_oM2.Options.md5;var id=0;for(var index=0;index<_oM2.GMObjects.length;index++){var _JI=_oM2.GMObjects[index];if(_JI!==null){var _ZE=_TM2(id,_JI);_m2._Ke(_ZE);}id++;}_m2._UM2();_OM2();_VM2(_oM2.TPageEntries);for(index=0;index<_oM2.Sprites.length;index++){if(_oM2.Sprites[index]===null){_H4._xf1(null);}else {var _sz2=_WM2(_oM2.Sprites[index]);_H4._xf1(_sz2);}}for(index=0;index<_oM2.Backgrounds.length;index++){var _3a=_cq._XM2(_oM2.Backgrounds[index]);var _zr=_cq._4r(_3a);if(_zr!==null)_zr._Br=_YM2;
}for(index=0;index<_oM2.Fonts.length;index++){_UD._Ke(_oM2.Fonts[index]);}if(_oM2.EmbeddedFonts){for(index=0;index<_oM2.EmbeddedFonts.length;++index){_UD._ZM2(_oM2.EmbeddedFonts[index]);}}for(var index=0;index<_oM2.GMRooms.length;index++){var __M2=_oM2.GMRooms[index];if(__M2!==null){_6t=new _471();if(__M2.LayerCount!=undefined){if(__M2.LayerCount>0){_7t._1U(_6t,__M2.layers);}}_6t._T61=__M2;_qS._Ke(_6t);}else {_IK2++;_qS._Ke(null);}}_YK2=_oM2.Options.crc;_qS._0N2(_oM2.RoomOrder);for(i=0;i<_oM2.RoomOrder.length;
i++){_6t=_qS._c71(i);_6t._971=i;}g_pBuiltIn.room_first=_qS._c71(0).id;g_pBuiltIn.room_last=_qS._c71(_qS._e71.length-1).id;_li1._Iw2();for(index=0;index<_oM2.Paths.length;index++){var _SX=_1N2(_oM2.Paths[index]);_TX._Ke(_SX);}for(index=0;index<_oM2.Sounds.length;index++){_pm._Ke(_oM2.Sounds[index]);}if(_oM2.Timelines!==undefined){for(index=0;index<_oM2.Timelines.length;index++){_jH._Ke(_oM2.Timelines[index]);}}if(_oM2.AnimCurves!==undefined){for(index=0;index<_oM2.AnimCurves.length;index++){_Iq._Ke(_oM2.AnimCurves[index]);
}}if(_oM2.Sequences!==undefined){for(index=0;index<_oM2.Sequences.length;index++){_DS._Ke(_oM2.Sequences[index]);}}if(_oM2.PSEmitters!==undefined){_2N2(_oM2);}if(_oM2.ParticleSystems!==undefined){for(index=0;index<_oM2.ParticleSystems.length;index++){_4J._3N2(_oM2.ParticleSystems[index]);}}if(_oM2.FiltersAndEffectDefs!==undefined){for(index=0;index<_oM2.FiltersAndEffectDefs.length;index++){var _5C1=_oM2.FiltersAndEffectDefs[index];_hW._4N2(_5C1.name,_5C1.json);}}if(Tags!==undefined&&IDToTagList!==undefined){
_Yj1._mj1(Tags,IDToTagList);}if(_oM2.TextureGroupInfo!==undefined){for(index=0;index<_oM2.TextureGroupInfo.length;index++){var _ug1=_oM2.TextureGroupInfo[index];var _5N2=new _6N2();if(_ug1.pName!==undefined)_5N2.pName=_ug1.pName;if(_ug1.TextureIDs!==undefined){for(var i=0;i<_ug1.TextureIDs.length;i++){_5N2._Z32[i]=_zM2[_ug1.TextureIDs[i]];}}if(_ug1.SpriteIDs!==undefined){for(var i=0;i<_ug1.SpriteIDs.length;i++){_5N2.sprites[i]=_ug1.SpriteIDs[i];}}if(_ug1.SpineSpriteIDs!==undefined){for(var i=0;i<_ug1.SpineSpriteIDs.length;
i++){_5N2._7N2[i]=_ug1.SpineSpriteIDs[i];}}if(_ug1.FontIDs!==undefined){for(var i=0;i<_ug1.FontIDs.length;i++){_5N2._8N2[i]=_ug1.FontIDs[i];}}if(_ug1.TilesetIDs!==undefined){for(var i=0;i<_ug1.TilesetIDs.length;i++){_5N2._9N2[i]=_ug1.TilesetIDs[i];}}_dK2._aN2(_5N2);}}highscore_clear();_QG();if(typeof gmlConst=='function'){g_gmlConst=new gmlConst();}if(typeof gmlInitGlobal=='function'){gmlInitGlobal();}if(_oM2.Extensions!==undefined){for(i=0;i<_oM2.Extensions.length;i++){var _pM2=_oM2.Extensions[i];if(_pM2.init!=undefined){
try{var pFunc=eval(_pM2.init);if(pFunc)pFunc();}catch(_fj){_L3("Error calling extension initialisation function: "+_pM2.init+" exception: "+_fj.toString());}}else if(_pM2.initfuncs!=undefined){for(var _35=0;_35<_pM2.initfuncs.length;_35++){try{var pFunc=eval(_pM2.initfuncs[_35]);if(pFunc)pFunc();}catch(_fj){_L3("Error calling extension initialisation function: "+_pM2.initfuncs[_35]+" exceptio: "+_fj.toString());}}}}}}function _mL2(){try{if(('localStorage' in window)&&(window['localStorage']!==null)){_kF=true;
}}catch(e){_kF=false;}return _kF;}function _QM2(){var _bN2="";if(_vD.Options.DisplayName!==null&&_vD.Options.DisplayName!==undefined){for(var i=0;i<_vD.Options.DisplayName.length;i++){var chr=_vD.Options.DisplayName[i];if((chr>='a'&&chr<='z')||(chr>='A'&&chr<='Z')||(chr>='0'&&chr<='9')||(chr==='_')){_bN2=_bN2+_vD.Options.DisplayName[i];}}}if(_bN2.length===0){_bN2="GameMaker";}return _bN2+"."+g_pBuiltIn.game_id+".";}function _lF(_2q){return(g_pBuiltIn._RM2+_2q);}var _9A=0;var _dA=1;var _hA=2;var _QA=3;var _aA=4;
var _4z=5;var _iA=6;var _RA=7;var _bA=8;var _eA=9;var _jA=10;var _SA=11;var _cA=12;var _fA=13;var _kA=14;var _TA=15;var _cN2=0;var _dN2=1;var _eN2=2;var _fN2=3;var _gN2=4;var _hN2=5;var _iN2=6;var _jN2=7;var _kN2=8;var _lN2=9;var _mN2=10;var _nN2=11;var _oN2=12;var _pN2=13;var _qN2=14;var _rN2=15;/*@constructor 
  * @param {Object=} _matrix Some value (optional).
*/function _Dy(_Pv){this._z5=new Float32Array(16);if(arguments.length>0){var _sN2=_Pv._z5||_Pv;for(var i=0;i<16;i++){this._z5[i]=_sN2[i];}}else {this._yA();}}_Dy.prototype.identity=function(_34){
this._z5[1]=this._z5[2]=this._z5[3]=this._z5[4]=this._z5[6]=this._z5[7]=this._z5[8]=this._z5[9]=this._z5[11]=this._z5[12]=this._z5[13]=this._z5[14]=0.0;this._z5[0]=this._z5[5]=this._z5[10]=this._z5[15]=1.0;};_Dy.prototype._yA=function(_34){this._z5[1]=this._z5[2]=this._z5[3]=this._z5[4]=this._z5[6]=this._z5[7]=this._z5[8]=this._z5[9]=this._z5[11]=this._z5[12]=this._z5[13]=this._z5[14]=0.0;this._z5[0]=this._z5[5]=this._z5[10]=this._z5[15]=1.0;};_Dy.prototype._ri=function(_tN2){for(var i=0;i<16;i++){
this._z5[i]=_tN2._z5[i];}};_Dy.prototype.__y=function(_uN2,_vN2,_wN2){var _xN2=new _Xy(_wN2);var _yN2=new _Xy();var _zN2=_vN2._6M(_uN2);_zN2._qz();_xN2._qz();_yN2._AN2(_xN2,_zN2);_yN2._qz();_xN2._AN2(_zN2,_yN2);_xN2._qz();var _tz=_uN2._BN2(_yN2);var _uz=_uN2._BN2(_xN2);var _vz=_uN2._BN2(_zN2);this._z5[_9A]=_yN2._tz;this._z5[_dA]=_xN2._tz;this._z5[_hA]=_zN2._tz;this._z5[_QA]=0.0;this._z5[_aA]=_yN2._uz;this._z5[_4z]=_xN2._uz;this._z5[_iA]=_zN2._uz;this._z5[_RA]=0.0;this._z5[_bA]=_yN2._vz;this._z5[_eA]=_xN2._vz;
this._z5[_jA]=_zN2._vz;this._z5[_SA]=0.0;this._z5[_cA]=-_tz;this._z5[_fA]=-_uz;this._z5[_kA]=-_vz;this._z5[_TA]=1;};_Dy.prototype._3z=function(_CN2,_DN2,_EN2,_FN2){if((_CN2==0.0)||(_DN2==0.0)||(_EN2==_FN2)){this._yA();return;}var _l3=_nL2(_CN2);var _GN2=1.0/Math.tan(_l3*0.5);var _UI1=_GN2/_DN2;this._z5[_9A]=_UI1;this._z5[_dA]=this._z5[_hA]=this._z5[_QA]=0.0;this._z5[_4z]=_GN2;this._z5[_aA]=this._z5[_iA]=this._z5[_RA]=0.0;this._z5[_bA]=this._z5[_eA]=0.0;this._z5[_SA]=1.0;this._z5[_jA]=_FN2/(_FN2-_EN2);
this._z5[_cA]=this._z5[_fA]=this._z5[_TA]=0.0;this._z5[_kA]=-_EN2*_FN2/(_FN2-_EN2);};_Dy.prototype._9z=function(_oi,_pi,_EN2,_FN2){if((_oi==0.0)||(_pi==0.0)||(_EN2==_FN2)){this._yA();return;}this._z5[_9A]=2*_EN2/_oi;this._z5[_dA]=this._z5[_hA]=this._z5[_QA]=0.0;this._z5[_4z]=2*_EN2/_pi;this._z5[_aA]=this._z5[_iA]=this._z5[_RA]=0.0;this._z5[_bA]=this._z5[_eA]=0.0;this._z5[_SA]=1.0;this._z5[_jA]=_FN2/(_FN2-_EN2);this._z5[_cA]=this._z5[_fA]=this._z5[_TA]=0.0;this._z5[_kA]=-_EN2*_FN2/(_FN2-_EN2);};_Dy.prototype._8z=function(_oi,
_pi,_EN2,_FN2){if((_oi==0.0)||(_pi==0.0)||(_EN2==_FN2)){this._yA();return;}this._z5[_9A]=2.0/_oi;this._z5[_dA]=this._z5[_hA]=0.0;this._z5[_QA]=0;this._z5[_4z]=2.0/_pi;this._z5[_aA]=this._z5[_iA]=0.0;this._z5[_RA]=0;this._z5[_bA]=this._z5[_eA]=0.0;this._z5[_jA]=1.0/(_FN2-_EN2);this._z5[_SA]=0;this._z5[_cA]=this._z5[_fA]=0.0;this._z5[_kA]=_EN2/(_EN2-_FN2);this._z5[_TA]=1.0;};_Dy.prototype.Multiply=function(_HN2,_IN2){this._z5[_9A]=(_HN2._z5[_9A]*_IN2._z5[_9A])+(_HN2._z5[_dA]*_IN2._z5[_aA])+(_HN2._z5[_hA]*_IN2._z5[_bA])+(_HN2._z5[_QA]*_IN2._z5[_cA]);
this._z5[_dA]=(_HN2._z5[_9A]*_IN2._z5[_dA])+(_HN2._z5[_dA]*_IN2._z5[_4z])+(_HN2._z5[_hA]*_IN2._z5[_eA])+(_HN2._z5[_QA]*_IN2._z5[_fA]);this._z5[_hA]=(_HN2._z5[_9A]*_IN2._z5[_hA])+(_HN2._z5[_dA]*_IN2._z5[_iA])+(_HN2._z5[_hA]*_IN2._z5[_jA])+(_HN2._z5[_QA]*_IN2._z5[_kA]);this._z5[_QA]=(_HN2._z5[_9A]*_IN2._z5[_QA])+(_HN2._z5[_dA]*_IN2._z5[_RA])+(_HN2._z5[_hA]*_IN2._z5[_SA])+(_HN2._z5[_QA]*_IN2._z5[_TA]);this._z5[_aA]=(_HN2._z5[_aA]*_IN2._z5[_9A])+(_HN2._z5[_4z]*_IN2._z5[_aA])+(_HN2._z5[_iA]*_IN2._z5[_bA])+(_HN2._z5[_RA]*_IN2._z5[_cA]);
this._z5[_4z]=(_HN2._z5[_aA]*_IN2._z5[_dA])+(_HN2._z5[_4z]*_IN2._z5[_4z])+(_HN2._z5[_iA]*_IN2._z5[_eA])+(_HN2._z5[_RA]*_IN2._z5[_fA]);this._z5[_iA]=(_HN2._z5[_aA]*_IN2._z5[_hA])+(_HN2._z5[_4z]*_IN2._z5[_iA])+(_HN2._z5[_iA]*_IN2._z5[_jA])+(_HN2._z5[_RA]*_IN2._z5[_kA]);this._z5[_RA]=(_HN2._z5[_aA]*_IN2._z5[_QA])+(_HN2._z5[_4z]*_IN2._z5[_RA])+(_HN2._z5[_iA]*_IN2._z5[_SA])+(_HN2._z5[_RA]*_IN2._z5[_TA]);this._z5[_bA]=(_HN2._z5[_bA]*_IN2._z5[_9A])+(_HN2._z5[_eA]*_IN2._z5[_aA])+(_HN2._z5[_jA]*_IN2._z5[_bA])+(_HN2._z5[_SA]*_IN2._z5[_cA]);
this._z5[_eA]=(_HN2._z5[_bA]*_IN2._z5[_dA])+(_HN2._z5[_eA]*_IN2._z5[_4z])+(_HN2._z5[_jA]*_IN2._z5[_eA])+(_HN2._z5[_SA]*_IN2._z5[_fA]);this._z5[_jA]=(_HN2._z5[_bA]*_IN2._z5[_hA])+(_HN2._z5[_eA]*_IN2._z5[_iA])+(_HN2._z5[_jA]*_IN2._z5[_jA])+(_HN2._z5[_SA]*_IN2._z5[_kA]);this._z5[_SA]=(_HN2._z5[_bA]*_IN2._z5[_QA])+(_HN2._z5[_eA]*_IN2._z5[_RA])+(_HN2._z5[_jA]*_IN2._z5[_SA])+(_HN2._z5[_SA]*_IN2._z5[_TA]);this._z5[_cA]=(_HN2._z5[_cA]*_IN2._z5[_9A])+(_HN2._z5[_fA]*_IN2._z5[_aA])+(_HN2._z5[_kA]*_IN2._z5[_bA])+(_HN2._z5[_TA]*_IN2._z5[_cA]);
this._z5[_fA]=(_HN2._z5[_cA]*_IN2._z5[_dA])+(_HN2._z5[_fA]*_IN2._z5[_4z])+(_HN2._z5[_kA]*_IN2._z5[_eA])+(_HN2._z5[_TA]*_IN2._z5[_fA]);this._z5[_kA]=(_HN2._z5[_cA]*_IN2._z5[_hA])+(_HN2._z5[_fA]*_IN2._z5[_iA])+(_HN2._z5[_kA]*_IN2._z5[_jA])+(_HN2._z5[_TA]*_IN2._z5[_kA]);this._z5[_TA]=(_HN2._z5[_cA]*_IN2._z5[_QA])+(_HN2._z5[_fA]*_IN2._z5[_RA])+(_HN2._z5[_kA]*_IN2._z5[_SA])+(_HN2._z5[_TA]*_IN2._z5[_TA]);};_Dy.prototype._3A=function(_y4){this._yA();var _l3=_nL2(_y4);var _rh=Math.sin(_l3);var c=Math.cos(_l3);
this._z5[_9A]=c;this._z5[_dA]=-_rh;this._z5[_aA]=_rh;this._z5[_4z]=c;};_Dy.prototype._2A=function(_y4){this._yA();var _l3=_nL2(_y4);var _rh=Math.sin(_l3);var c=Math.cos(_l3);this._z5[_9A]=c;this._z5[_hA]=_rh;this._z5[_bA]=-_rh;this._z5[_jA]=c;};_Dy.prototype._1A=function(_y4){this._yA();var _l3=_nL2(_y4);var _rh=Math.sin(_l3);var c=Math.cos(_l3);this._z5[_4z]=c;this._z5[_iA]=-_rh;this._z5[_eA]=_rh;this._z5[_jA]=c;};_Dy.prototype.__z=function(_u4,_v4,_5c){this._yA();this._z5[_cA]=_u4;this._z5[_fA]=_v4;
this._z5[_kA]=_5c;};_Dy.prototype._JN2=function(_u4,_v4,_5c){this._z5[_cA]+=_u4;this._z5[_fA]+=_v4;this._z5[_kA]+=_5c;};_Dy.prototype._0A=function(_A3,_B3,_KN2){this._yA();this._z5[_9A]=_A3;this._z5[_4z]=_B3;this._z5[_jA]=_KN2;};_Dy.prototype._LN2=function(){var scaleX=Math.sqrt((this._z5[_9A]*this._z5[_9A])+(this._z5[_aA]*this._z5[_aA])+(this._z5[_bA]*this._z5[_bA]));var scaleY=Math.sqrt((this._z5[_dA]*this._z5[_dA])+(this._z5[_4z]*this._z5[_4z])+(this._z5[_eA]*this._z5[_eA]));var _MN2=Math.sqrt((this._z5[_hA]*this._z5[_hA])+(this._z5[_iA]*this._z5[_iA])+(this._z5[_jA]*this._z5[_jA]));
return Math.max(scaleX,scaleY,_MN2);};_Dy.prototype._4A=function(_Wb,_y4){_Wb._qz();var _l3=_nL2(_y4);var c=Math.cos(_l3);var _rh=Math.sin(_l3);var _NN2=1.0-c;this._yA();this._z5[0]=(_NN2*_Wb._tz*_Wb._tz+c);this._z5[1]=(_NN2*_Wb._tz*_Wb._uz+_rh*_Wb._vz);this._z5[2]=(_NN2*_Wb._tz*_Wb._vz-_rh*_Wb._uz);this._z5[4]=(_NN2*_Wb._tz*_Wb._uz-_rh*_Wb._vz);this._z5[5]=(_NN2*_Wb._uz*_Wb._uz+c);this._z5[6]=(_NN2*_Wb._uz*_Wb._vz+_rh*_Wb._tz);this._z5[8]=(_NN2*_Wb._tz*_Wb._vz+_rh*_Wb._uz);this._z5[9]=(_NN2*_Wb._uz*_Wb._vz-_rh*_Wb._tz);
this._z5[10]=(_NN2*_Wb._vz*_Wb._vz+c);};_Dy.prototype._ON2=function(_u4,_v4,_A3,_B3,_C3){this._yA();var _l3=_nL2(_C3);var _rh=Math.sin(_l3);var c=Math.cos(_l3);this._z5[_9A]=c;this._z5[_dA]=-_rh;this._z5[_aA]=_rh;this._z5[_4z]=c;this._z5[_9A]*=_A3;this._z5[_4z]*=_B3;this._z5[_cA]=_u4;this._z5[_fA]=_v4;};_Dy.prototype._JA=function(_u4,_v4,_5c,_EA,_FA,_GA,_gn,_hn,_HA){var _PN2=Math.sin(_EA);var _QN2=Math.cos(_EA);var _RN2=Math.sin(_FA);var _SN2=Math.cos(_FA);var _TN2=Math.sin(_GA);var _UN2=Math.cos(_GA);var _VN2=-_TN2*-_PN2;
var _WN2=_UN2*-_PN2;this._z5[0]=((_UN2*_SN2)+(_VN2*-_RN2))*_gn;this._z5[4]=(-_TN2*_QN2)*_gn;this._z5[8]=((_UN2*_RN2)+(_VN2*_SN2))*_gn;this._z5[12]=_u4;this._z5[1]=((_TN2*_SN2)+(_WN2*-_RN2))*_hn;this._z5[5]=(_UN2*_QN2)*_hn;this._z5[9]=((_TN2*_RN2)+(_WN2*_SN2))*_hn;this._z5[13]=_v4;this._z5[2]=(_QN2*-_RN2)*_HA;this._z5[6]=_PN2*_HA;this._z5[10]=(_QN2*_SN2)*_HA;this._z5[14]=_5c;this._z5[3]=this._z5[7]=this._z5[11]=0.0;this._z5[15]=1.0;};_Dy.prototype._YL=function(_XN2){var _YN2=_XN2._z5[_cN2]*_XN2._z5[_hN2]-_XN2._z5[_gN2]*_XN2._z5[_dN2];
var _MA=_XN2._z5[_cN2]*_XN2._z5[_iN2]-_XN2._z5[_gN2]*_XN2._z5[_eN2];var _NA=_XN2._z5[_cN2]*_XN2._z5[_jN2]-_XN2._z5[_gN2]*_XN2._z5[_fN2];var _OA=_XN2._z5[_dN2]*_XN2._z5[_iN2]-_XN2._z5[_hN2]*_XN2._z5[_eN2];var _ZN2=_XN2._z5[_dN2]*_XN2._z5[_jN2]-_XN2._z5[_hN2]*_XN2._z5[_fN2];var __N2=_XN2._z5[_eN2]*_XN2._z5[_jN2]-_XN2._z5[_iN2]*_XN2._z5[_fN2];var _0O2=_XN2._z5[_mN2]*_XN2._z5[_rN2]-_XN2._z5[_qN2]*_XN2._z5[_nN2];var _1O2=_XN2._z5[_lN2]*_XN2._z5[_rN2]-_XN2._z5[_pN2]*_XN2._z5[_nN2];var _Pq1=_XN2._z5[_lN2]*_XN2._z5[_qN2]-_XN2._z5[_pN2]*_XN2._z5[_mN2];
var _bg=_XN2._z5[_kN2]*_XN2._z5[_rN2]-_XN2._z5[_oN2]*_XN2._z5[_nN2];var _ag=_XN2._z5[_kN2]*_XN2._z5[_qN2]-_XN2._z5[_oN2]*_XN2._z5[_mN2];var _8r1=_XN2._z5[_kN2]*_XN2._z5[_pN2]-_XN2._z5[_oN2]*_XN2._z5[_lN2];var _Iq1=(_YN2*_0O2-_MA*_1O2+_NA*_Pq1+_OA*_bg-_ZN2*_ag+__N2*_8r1);if(_Iq1!=0){var _2O2=1.0/_Iq1;var _k3=new Float32Array(16);_k3[_cN2]=(_XN2._z5[_hN2]*_0O2-_XN2._z5[_iN2]*_1O2+_XN2._z5[_jN2]*_Pq1)*_2O2;_k3[_dN2]=(-_XN2._z5[_dN2]*_0O2+_XN2._z5[_eN2]*_1O2-_XN2._z5[_fN2]*_Pq1)*_2O2;_k3[_eN2]=(_XN2._z5[_pN2]*__N2-_XN2._z5[_qN2]*_ZN2+_XN2._z5[_rN2]*_OA)*_2O2;
_k3[_fN2]=(-_XN2._z5[_lN2]*__N2+_XN2._z5[_mN2]*_ZN2-_XN2._z5[_nN2]*_OA)*_2O2;_k3[_gN2]=(-_XN2._z5[_gN2]*_0O2+_XN2._z5[_iN2]*_bg-_XN2._z5[_jN2]*_ag)*_2O2;_k3[_hN2]=(_XN2._z5[_cN2]*_0O2-_XN2._z5[_eN2]*_bg+_XN2._z5[_fN2]*_ag)*_2O2;_k3[_iN2]=(-_XN2._z5[_oN2]*__N2+_XN2._z5[_qN2]*_NA-_XN2._z5[_rN2]*_MA)*_2O2;_k3[_jN2]=(_XN2._z5[_kN2]*__N2-_XN2._z5[_mN2]*_NA+_XN2._z5[_nN2]*_MA)*_2O2;_k3[_kN2]=(_XN2._z5[_gN2]*_1O2-_XN2._z5[_hN2]*_bg+_XN2._z5[_jN2]*_8r1)*_2O2;_k3[_lN2]=(-_XN2._z5[_cN2]*_1O2+_XN2._z5[_dN2]*_bg-_XN2._z5[_fN2]*_8r1)*_2O2;
_k3[_mN2]=(_XN2._z5[_oN2]*_ZN2-_XN2._z5[_pN2]*_NA+_XN2._z5[_rN2]*_YN2)*_2O2;_k3[_nN2]=(-_XN2._z5[_kN2]*_ZN2+_XN2._z5[_lN2]*_NA-_XN2._z5[_nN2]*_YN2)*_2O2;_k3[_oN2]=(-_XN2._z5[_gN2]*_Pq1+_XN2._z5[_hN2]*_ag-_XN2._z5[_iN2]*_8r1)*_2O2;_k3[_pN2]=(_XN2._z5[_cN2]*_Pq1-_XN2._z5[_dN2]*_ag+_XN2._z5[_eN2]*_8r1)*_2O2;_k3[_qN2]=(-_XN2._z5[_oN2]*_OA+_XN2._z5[_pN2]*_MA-_XN2._z5[_qN2]*_YN2)*_2O2;_k3[_rN2]=(_XN2._z5[_kN2]*_OA-_XN2._z5[_lN2]*_MA+_XN2._z5[_mN2]*_YN2)*_2O2;this._z5=_k3;}};_Dy.prototype._4M=function(_3O2){
var _4O2=new _Xy(0.0,0.0,0.0);if(_3O2!=undefined){_4O2._tz=(this._z5[_9A]*_3O2._tz)+(this._z5[_aA]*_3O2._uz)+(this._z5[_bA]*_3O2._vz)+this._z5[_cA];_4O2._uz=(this._z5[_dA]*_3O2._tz)+(this._z5[_4z]*_3O2._uz)+(this._z5[_eA]*_3O2._vz)+this._z5[_fA];_4O2._vz=(this._z5[_hA]*_3O2._tz)+(this._z5[_iA]*_3O2._uz)+(this._z5[_jA]*_3O2._vz)+this._z5[_kA];}return _4O2;};function _5E2(){this.Normal=new _Xy(0.0,0.0,1.0);this._S82=0.0;}_5E2.prototype._qz=function(){var length=this.Normal.Length();this.Normal._tz/=length;
this.Normal._uz/=length;this.Normal._vz/=length;this._S82/=length;};/*@constructor */function _lr(){this.x=0;this.y=0;this.w=0;this.h=0;this.XOffset=0;this.YOffset=0;this.CropWidth=0;this.CropHeight=0;this.ow=0;this.oh=0;this.tp=0;this._Br=_YM2;}function _6g1(){}/*@constructor */function _YM2(_Yf1){this.x=_Yf1.x;this.y=_Yf1.y;this.w=_Yf1.w;this.h=_Yf1.h;this.XOffset=_Yf1.XOffset;this.YOffset=_Yf1.YOffset;this.CropWidth=_Yf1.CropWidth;this.CropHeight=_Yf1.CropHeight;this.ow=_Yf1.ow;this.oh=_Yf1.oh;this.tp=_Yf1.tp;
}/*@constructor */function _5O2(){this.pName="";this.width=0;this.height=0;this.bboxLeft=0;this.bboxRight=0;this.bboxBottom=0;this.bboxTop=0;this.transparent=0;this.smooth=0;this.preload=0;this.bboxMode=0;this.colCheck=0;this.xOrigin=0;this.yOrigin=0;this._6O2=[];}/*@constructor */function _7O2(){this.pName="<object>";this.spriteIndex=0;this.visible=true;this.solid=true;this.depth=0;this.persistent=false;this.parent=-1;this.spritemask=false;}/*@constructor */function _8O2(){this.x=0;this.y=0;this.index=0;
this.id=0;this.pCode=null;}/*@constructor */function _9O2(){this.x=0;this.y=0;this.index=0;this.xo=0;this.yo=0;this.w=0;this.h=0;this.depth=0;this.id=0;this.scaleX=1.0;this.scaleY=1.0;this.colour=-1;}/*@constructor */function _aO2(){this.visible=false;this.xview=0;this.yview=0;this.wview=0;this.hview=0;this.xport=0;this.yport=0;this.wport=0;this.hport=0;this.hborder=0;this.vborder=0;this.hspeed=0;this.vspeed=0;this.index=0;}/*@constructor */function _bO2(){this.visible=false;this.foreground=0;this.index=0;
this.x=0;this.y=0;this._cO2=0;this._dO2=0;this._eO2=0;this._fO2=0;this.stretch=0;}/*@constructor */function _gO2(){this.pName="<room>";this.pCaption="Game Maker Room";this.width=640;this.height=480;this.speed=30;this.persistent=false;this.colour=0;this.showColour=false;this.pCode=null;this.enableViews=false;this.pInstances=[];this._hO2=[];this._9f=[];this._iO2=[];}/*@constructor */function _jO2(){this.GMObjects=[];this.GMRooms=[];this.Textures=[];this.Sprites=[];}function _kO2(){_Ma("execute_string()");
}function _lO2(){_Ma("execute_file()");}function _mO2(){_Ma("show_info()");}function _nO2(_Qu){_Ma("load_info()");}function _oO2(_o8){_Ma("script_get_text()");}function game_save(name){_Ma("game_save()");}function game_load(name){_Ma("game_load()");}function game_save_buffer(buffer){_Ma("game_save_buffer()");}function game_load_buffer(buffer){_Ma("game_load_buffer()");}function _pO2(_Qu,loop){_Ma("splash_show_video()");}function _qO2(_Qu,_ZT1){_Ma("splash_show_text()");}function _rO2(_Qu,_ZT1){_Ma("splash_show_image()");
}function _sO2(_Hg,_ZT1){_Ma("splash_show_web()");}function _tO2(_uO2){_Ma("splash_set_main()");}function _vO2(scale){_Ma("splash_set_scale()");}function _wO2(_xO2){_Ma("splash_set_cursor()");}function _yO2(_q3){_Ma("splash_set_color()");}var _zO2=_yO2;function _AO2(_BO2){_Ma("splash_set_caption()");}function _CO2(_DO2){_Ma("splash_set_fullscreen()");}function _EO2(border){_Ma("splash_set_border()");}function _FO2(w,h){_Ma("splash_set_size()");}function _GO2(x,y){_Ma("splash_set_position()");}function _HO2(_IO2){
_Ma("splash_set_adapt()");}function _JO2(top){_Ma("splash_set_top()");}function _KO2(interrupt){_Ma("splash_set_interrupt()");}function _LO2(stop){_Ma("splash_set_stop_key()");}function _MO2(stop){_Ma("splash_set_stop_mouse()");}function _NO2(_OO2){_Ma("splash_set_close_button()");}function os_set_orientation_lock(){_Ma("os_set_orientation_lock()");}function _PO2(){_Ma("screen_redraw()");}function _QO2(){_Ma("screen_refresh()");}function _RO2(value){_Ma("set_automatic_draw()");}function _SO2(value){_Ma("set_synchronization()");
}function _TO2(){_Ma("screen_wait_vsync()");}function _UO2(w,h,_VO2){_Ma("window_set_region_size()");}function _WO2(){_Ma("window_get_region_width()");}function _XO2(){_Ma("window_get_region_height()");}function screen_save(_Qu){_PD("screen_save()");}function screen_save_part(_Qu,x,y,w,h){_PD("screen_save_part()");}function _YO2(kind,name){_PD("transition_define()");}function _ZO2(kind){_PD("transition_exists()");}function __O2(){_Ma("display_get_colordepth()");}function display_get_frequency(){_Ma("display_get_frequency()");
}function _0P2(w,h){_Ma("display_set_size()");}function _1P2(_2P2){_Ma("display_set_colordepth()");}function _3P2(_FT1){_Ma("display_set_frequency()");}function _4P2(w,h,_FT1,_2P2){_Ma("display_set_all()");}function _5P2(w,h,_FT1,_2P2){_Ma("display_test_all()");}function display_reset(_6P2){_Ma("display_reset()");}function display_mouse_set(x,y){_Ma("display_mouse_set()");}var _7P2=[];var _8P2=false;var _9P2=false;function _aP2(){if(!_8P2&&navigator.clipboard){if(!_9P2){_9P2=true;navigator.permissions.query({
"name":'clipboard-read',"allowWithoutGesture":true}).then(function(result){if((result.state=='granted')||(result.state=='prompt')){_8P2=true;_9P2=false;for(var _x5=0;_x5<_7P2.length;++_x5){navigator.clipboard.writeText(_7P2[_x5]);}_7P2=[];navigator.clipboard.readText().then(_bP2=>{if(_bP2!="")_7P2.push(_bP2);}).catch(()=>{});}});}}}function clipboard_has_text(){if(!_8P2){_aP2();return false;}navigator.clipboard.readText().then(_bP2=>{if(_bP2!="")_7P2.push(_bP2);}).catch(()=>{});return _7P2.length>0;
}function clipboard_get_text(){var _u3="";if(!_8P2){_aP2();}else if(_7P2.length>0){_u3=_7P2.pop();}return _u3;}function clipboard_set_text(_Xk){var _cP2=yyGetString(_Xk);if(!_8P2){_aP2();_7P2.push(_cP2);}else {if(navigator.clipboard)navigator.clipboard.writeText(_cP2);}}function _dP2(priority){_PD("set_program_priority()");}function _eP2(id){return false;}function _fP2(id){_Ma("joystick_name()");}function _gP2(id){_Ma("joystick_axes()");}function _hP2(id){_Ma("joystick_buttons()");}function _iP2(id){_Ma("joystick_has_pov()");
}function _jP2(id){_Ma("joystick_direction()");}function _kP2(id,_I5){_Ma("joystick_check_button()");}function _lP2(id){_Ma("joystick_xpos()");}function _mP2(id){_Ma("joystick_ypos()");}function _nP2(id){_Ma("joystick_zpos()");}function _oP2(id){_Ma("joystick_rpos()");}function _pP2(id){_Ma("joystick_upos()");}function _qP2(id){_Ma("joystick_vpos()");}function _rP2(id){_Ma("joystick_pov()");}function _sP2(){_Ma("io_handle()");}function _tP2(){_Ma("mouse_wait()");}function _uP2(){_Ma("keyboard_wait()");}function keyboard_get_numlock(){
_Ma("keyboard_get_numlock()");}function keyboard_set_numlock(on){_Ma("keyboard_set_numlock()");}function _vP2(_o8,_Qu){_Ma("background_save()");}function sprite_save_strip(_o8,_Qu){_Ma("sprite_save_strip()");}function _wP2(){_Ma("object_add()");}function _xP2(_o8){_Ma("object_delete()");}function _yP2(_o8,_zP2,_AP2,_BP2){_Ma("object_event_add()");}function _CP2(_o8,_zP2,_AP2){_Ma("object_event_clear()");}function _DP2(_s01){_Ma("part_changer_create()");}function _EP2(_s01,_x3){_Ma("part_changer_destroy()");
}function _FP2(_s01){_Ma("part_changer_destroy_all()");}function _GP2(_s01,_x3){_Ma("part_changer_exists()");}function _HP2(_s01,_x3){_Ma("part_changer_clear()");}function _IP2(_s01,_x3,_Uo,_Vo,_Wo,_Xo,_2o){_Ma("part_changer_region()");}function _JP2(_s01,_x3,_KP2,_LP2){_Ma("part_changer_types()");}function _MP2(_s01,_x3,_Kb){_Ma("part_changer_kind()");}function _NP2(_Rp){_Ma("part_deflector_create()");}function _OP2(_Rp,_o8){_Ma("part_deflector_destroy()");}function _PP2(_Rp){_Ma("part_deflector_destroy_all()");
}function _QP2(_Rp,_o8){_Ma("part_deflector_exists()");}function _RP2(_Rp,_o8){_Ma("part_deflector_clear()");}function _SP2(_Rp,_o8,_TY,_UY,_VY,_WY){_Ma("part_deflector_region()");}function _TP2(_Rp,_o8,kind){_Ma("part_deflector_kind()");}function _UP2(_Rp,_o8,friction){_Ma("part_deflector_friction()");}function _VP2(_Rp){_Ma("part_destroyer_create()");}function _WP2(_Rp,_o8){_Ma("part_destroyer_destroy()");}function _XP2(_Rp){_Ma("part_destroyer_destroy_all()");}function _YP2(_Rp,_o8){_Ma("part_destroyer_exists()");
}function _ZP2(_Rp,_o8){_Ma("part_destroyer_clear()");}function __P2(_Rp,_o8,_TY,_UY,_VY,_WY,shape){_Ma("part_destroyer_region()");}function _0Q2(_Rp){_Ma("part_attractor_create()");}function _1Q2(_Rp,_o8){_Ma("part_attractor_destroy()");}function _2Q2(_Rp){_Ma("part_attractor_destroy_all()");}function _3Q2(_Rp,_o8){_Ma("part_attractor_exists()");}function _4Q2(_Rp,_o8){_Ma("part_attractor_clear()");}function _5Q2(_Rp,_o8,x,y){_Ma("part_attractor_position()");}function _6Q2(_Rp,_o8,_xC1,_dt,kind,_7Q2){_Ma("part_attractor_force()");
}function _8Q2(_PX1,_A01,_9Q2){_Ma("execute_program()");}function _aQ2(_PX1,_A01){_Ma("execute_shell()");}var _bQ2=true;function _cQ2(name,_Xk){_Ma("registry_write_string()");}function _dQ2(name,x){_Ma("registry_write_real()");}function _eQ2(name){_Ma("registry_read_string()");}function _fQ2(name){_Ma("registry_read_real()");}function _gQ2(name){_Ma("registry_exists()");}function _hQ2(key,name,_Xk){_Ma("registry_write_string_ext()");}function _iQ2(key,name,x){_Ma("registry_write_real_ext()");}function _jQ2(key,
name){_Ma("registry_read_string_ext()");}function _kQ2(key,name){_Ma("registry_read_real_ext()");}function _lQ2(key,name){_Ma("registry_exists_ext()");}function _mQ2(_A4){_Ma("registry_set_root()");}function _nQ2(_R2,_ec,_Qr,_sm1){_Ma("message_text_font()");}function _oQ2(_G4){_Ma("message_button()");}function _pQ2(_R2,_ec,_Qr,_sm1){_Ma("message_button_font()");}function _qQ2(_R2,_ec,_Qr,_sm1){_Ma("message_input_font()");}function _rQ2(){_Ma("message_text_charset()");}function _sQ2(_q3){_Ma("message_mouse_color()");
}function _tQ2(_q3){_Ma("message_input_color()");}function _uQ2(_OO2,_Xk){_Ma("message_caption()");}function _vQ2(x,y){_Ma("message_position()");}function _wQ2(w,h){_Ma("message_size()");}function _xQ2(_Xk,_5C1){_Ma("show_menu()");}function _yQ2(x,y,_Xk,_5C1){_Ma("show_menu_pos()");}function _zQ2(_AQ2){_Ma("get_color()");}function get_open_filename(filter,_Qu){_Ma("get_open_filename()");}function get_save_filename(filter,_Qu){_Ma("get_save_filename()");}function get_open_filename_ext(filter,_Qu,_7Z,title){
_Ma("get_open_filename_ext()");}function get_save_filename_ext(filter,_Qu,_7Z,title){_Ma("get_save_filename_ext()");}function _BQ2(_CQ2){_Ma("get_directory()");}function _DQ2(_EQ2,_A4){_Ma("get_directory_alt()");}function _FQ2(_om,x,y,z){_Ma("sound_3d_set_sound_position()");}function _GQ2(_om,x,y,z){_Ma("sound_3d_set_sound_velocity()");}function _HQ2(_om,_IQ2,_JQ2){_Ma("sound_3d_set_sound_distance()");}function _KQ2(_om,x,y,z,_LQ2,_MQ2,_NQ2){_Ma("sound_3d_set_sound_cone()");}function _OQ2(factor){_Ma("sound_background_tempo()");
}function _PQ2(index,value){_Ma("sound_pan()");}function _QQ2(_7Z){_Ma("sound_set_search_directory()");}function _RQ2(_om,_zW){_Ma("sound_effect_set()");}function _SQ2(_om,_TQ2,depth,feedback,_FT1,_UQ2,_ZT1,_VQ2){_Ma("sound_effect_chorus()");}function _WQ2(_om,_TQ2,feedback,_XQ2,_YQ2,_ZQ2){_Ma("sound_effect_echo()");}function __Q2(_om,_TQ2,depth,feedback,_FT1,_UQ2,_ZT1,_VQ2){_Ma("sound_effect_flanger()");}function _0R2(_om,rate,_UQ2){_Ma("sound_effect_gargle()");}function _1R2(_om,gain,mix,time,ratio){_Ma("sound_effect_reverb()");
}function _2R2(_om,gain,attack,release,threshold,ratio,_ZT1){_Ma("sound_effect_compressor()");}function _3R2(_om,_3s1,_4R2,gain){_Ma("sound_effect_equalizer()");}function _5R2(index){_Ma("sound_discard()");}function _6R2(index){_Ma("sound_restore()");}function _7R2(index){_Ma("sound_get_preload()");}function _8R2(){_Ma("cd_init()");}function _9R2(){_Ma("cd_present()");}function _aR2(){_Ma("cd_number()");}function _bR2(){_Ma("cd_playing()");}function _cR2(){_Ma("cd_paused()");}function _dR2(){_Ma("cd_track()");
}function _eR2(){_Ma("cd_length()");}function _fR2(_x5){_Ma("cd_track_length()");}function _gR2(){_Ma("cd_position()");}function _hR2(){_Ma("cd_track_position()");}function _iR2(first,last){_Ma("cd_play()");}function _jR2(){_Ma("cd_stop()");}function _kR2(){_Ma("cd_pause()");}function _lR2(){_Ma("cd_resume()");}function _mR2(__j){_Ma("cd_set_position()");}function _nR2(__j){_Ma("cd_set_track_position()");}function _oR2(){_Ma("cd_open_door()");}function _pR2(){_Ma("cd_close_door()");}function _qR2(_Xk){_Ma("MCI_command()");
}function _rR2(_Na){_Ma("texture_preload()");}function _sR2(_Na,_tR2){_Ma("texture_set_priority()");}function texture_get_width(_Na){_Ma("texture_get_width()");}function texture_get_height(_Na){_Ma("texture_get_height()");}function _uR2(_zQ){_Ma("texture_set_blending()");}function _cz(repeat){_Ma("texture_set_repeat()");}function _bz(){_Ma("texture_get_repeat()");}function _vR2(repeat){_Ma("texture_set_repeat_ext()");}function _wR2(_IB,_dw){_Ma("texture_set_interpolation_ext()");}function texture_get_uvs(_s7){
_Ma("texture_get_uvs()");}function texture_global_scale(_xR2){_Ma("texture_global_scale()");}function _yR2(){_Ma("file_open_read()");}function _zR2(){_Ma("file_open_write()");}function _AR2(){_Ma("file_open_append()");}function _BR2(){_Ma("file_read_real()");}function _CR2(){_Ma("file_read_string()");}function _DR2(){_Ma("file_readln()");}function _ER2(){_Ma("file_write_real()");}function _FR2(){_Ma("file_write_string()");}function _GR2(){_Ma("file_writeln()");}function _HR2(){_Ma("file_eof()");}function _IR2(){
_Ma("file_eoln()");}function _JR2(){_Ma("file_close()");}function _KR2(){_Ma("steam_activate_overlay()");return -1;}function _LR2(){_Ma("steam_is_overlay_enabled()");return -1;}function _MR2(){_Ma("steam_is_overlay_activated()");return -1;}function _NR2(){_Ma("steam_get_persona_name()");return "";}function _OR2(){_Ma("steam_initialised()");return -1;}function _PR2(){_Ma("steam_is_cloud_enabled_for_app()");return -1;}function _QR2(){_Ma("steam_is_cloud_enabled_for_account()");return -1;}function _RR2(){_Ma("steam_file_persisted()");
return -1;}function _SR2(){_Ma("steam_get_quota_total()");return -1;}function _TR2(){_Ma("steam_get_quota_free()");return -1;}function _UR2(){_Ma("steam_file_write()");return -1;}function _VR2(){_Ma("steam_file_write_file()");return -1;}function _WR2(){_Ma("steam_file_read()");return "";}function _XR2(){_Ma("steam_file_delete()");return -1;}function _YR2(){_Ma("steam_file_exists()");return -1;}function _ZR2(){_Ma("steam_file_size()");return -1;}function __R2(){_Ma("steam_file_share()");return -1;}function _0S2(){_Ma("steam_publish_workshop_file()");
return -1;}function _1S2(){_Ma("steam_is_screenshot_requested()");return -1;}function _2S2(){_Ma("steam_send_screenshot()");return -1;}function _3S2(){_Ma("steam_is_user_logged_on()");return -1;}function _4S2(){_Ma("steam_get_user_steam_id()");return -1;}function _5S2(){_Ma("steam_user_owns_dlc()");return -1;}function _6S2(){_Ma("steam_user_installed_dlc()");return -1;}function _7S2(){_Ma("steam_set_achievement()");return -1;}function _8S2(){_Ma("steam_get_achievement()");return -1;}function _9S2(){_Ma("steam_clear_achievement()");
return -1;}function _aS2(){_Ma("steam_set_stat_int()");return -1;}function _bS2(){_Ma("steam_set_stat_float()");return -1;}function _cS2(){_Ma("steam_set_stat_avg_rate()");return -1;}function _dS2(){_Ma("steam_get_stat_int()");return -1;}function _eS2(){_Ma("steam_get_stat_float()");return -1;}function _fS2(){_Ma("steam_get_stat_avg_rate()");return -1;}function _gS2(){_Ma("steam_reset_all_stats()");return -1;}function _hS2(){_Ma("steam_reset_all_stats_achievements()");return -1;}function _iS2(){_Ma("steam_stats_ready()");
return -1;}function _jS2(){_Ma("steam_create_leaderboard()");return -1;}function _kS2(){_Ma("steam_upload_score()");return -1;}function _lS2(){_Ma("steam_upload_score_ext()");return -1;}function _mS2(){_Ma("steam_download_scores_around_user()");return -1;}function _nS2(){_Ma("steam_download_scores()");return -1;}function _oS2(){_Ma("steam_download_friends_scores()");return -1;}function _pS2(){_Ma("steam_upload_score_buffer()");return -1;}function _qS2(){_Ma("steam_upload_score_buffer_ext()");return -1;}function _rS2(){
_Ma("steam_activate_overlay_browser()");return -1;}function _sS2(){_Ma("steam_activate_overlay_user()");return -1;}function _tS2(){_Ma("steam_activate_overlay_store()");return -1;}function _uS2(){_Ma("steam_get_user_persona_name()");return -1;}function _vS2(){_Ma("steam_get_app_id()");return -1;}function _wS2(){_Ma("steam_get_user_account_id()");return -1;}function _xS2(){_Ma("steam_ugc_download()");return -1;}function _yS2(){_Ma("steam_ugc_create_item()");return -1;}function _zS2(){_Ma("steam_ugc_start_item_update()");
return -1;}function _AS2(){_Ma("steam_ugc_set_item_title()");return -1;}function _BS2(){_Ma("steam_ugc_set_item_description()");return -1;}function _CS2(){_Ma("steam_ugc_set_item_visibility()");return -1;}function _DS2(){_Ma("steam_ugc_set_item_tags()");return -1;}function _ES2(){_Ma("steam_ugc_set_item_content()");return -1;}function _FS2(){_Ma("steam_ugc_set_item_preview()");return -1;}function _GS2(){_Ma("steam_ugc_submit_item_update()");return -1;}function _HS2(){_Ma("steam_ugc_get_item_update_progress()");
return -1;}function _IS2(){_Ma("steam_ugc_subscribe_item()");return -1;}function _JS2(){_Ma("steam_ugc_unsubscribe_item()");return -1;}function _KS2(){_Ma("steam_ugc_num_subscribed_items()");return -1;}function _LS2(){_Ma("steam_ugc_get_subscribed_items()");return -1;}function _MS2(){_Ma("steam_ugc_get_item_install_info()");return -1;}function _NS2(){_Ma("steam_ugc_get_item_update_info()");return -1;}function _OS2(){_Ma("steam_ugc_request_item_details()");return -1;}function _PS2(){_Ma("steam_ugc_create_query_user()");
return -1;}function _QS2(){_Ma("steam_ugc_create_query_user_ex()");return -1;}function _RS2(){_Ma("steam_ugc_create_query_all()");return -1;}function _SS2(){_Ma("steam_ugc_create_query_all_ex()");return -1;}function _TS2(){_Ma("steam_ugc_query_set_cloud_filename_filter()");return -1;}function _US2(){_Ma("steam_ugc_query_set_match_any_tag()");return -1;}function _VS2(){_Ma("steam_ugc_query_set_search_text()");return -1;}function _WS2(){_Ma("steam_ugc_query_set_ranked_by_trend_days()");return -1;}function _XS2(){
_Ma("steam_ugc_query_add_required_tag()");return -1;}function _YS2(){_Ma("steam_ugc_query_add_excluded_tag()");return -1;}function _ZS2(){_Ma("steam_ugc_query_set_return_long_description()");return -1;}function __S2(){_Ma("steam_ugc_query_set_return_total_only()");return -1;}function _0T2(){_Ma("steam_ugc_query_set_allow_cached_response()");return -1;}function _1T2(_2T2){_Ma("steam_ugc_send_query( ugc_query_handle )");return -1;}function _3T2(){_Ma("steam_current_game_language()");return -1;}function _4T2(){_Ma("steam_available_languages()");
return -1;}function _5T2(){_Ma("draw_set_alpha_test()");}function _6T2(){_Ma("draw_set_alpha_test_ref_value()");}function _7T2(){_Ma("draw_get_alpha_test()");return 0;}function _8T2(){_Ma("draw_get_alpha_test_ref_value()");return 0;}function zip_unzip(){_Ma("zip_unzip()");}function zip_create(){_Ma("zip_create()");}function zip_add_file(){_Ma("zip_add_file()");}function zip_save(){_Ma("zip_save()");}function game_change(){_Ma("game_change()");}function winphone_license_trial_version(){_Ma("winphone_license_trial_version()");
}function winphone_tile_title(){_Ma("winphone_tile_title()");}function winphone_tile_count(){_Ma("winphone_tile_count()");}function winphone_tile_back_title(){_Ma("winphone_tile_back_title()");}function winphone_tile_back_content(){_Ma("winphone_tile_back_content()");}function winphone_tile_back_content_wide(){_Ma("winphone_tile_back_content_wide()");}function winphone_tile_front_image(){_Ma("winphone_tile_front_image()");}function winphone_tile_front_image_small(){_Ma("winphone_tile_front_image_small()");
}function winphone_tile_front_image_wide(){_Ma("winphone_tile_front_image_wide()");}function winphone_tile_back_image(){_Ma("winphone_tile_back_image()");}function winphone_tile_back_image_wide(){_Ma("winphone_tile_back_image_wide()");}function winphone_tile_background_colour(){_Ma("winphone_tile_background_colour()");}function winphone_tile_background_color(){_Ma("winphone_tile_background_color()");}function winphone_tile_icon_image(){_Ma("winphone_tile_icon_image()");}function winphone_tile_small_icon_image(){
_Ma("winphone_tile_small_icon_image()");}function winphone_tile_wide_content(){_Ma("winphone_tile_wide_content()");}function winphone_tile_cycle_images(){_Ma("winphone_tile_cycle_images()");}function winphone_tile_small_background_image(){_Ma("winphone_tile_small_background_image()");}function push_local_notification(){_Ma("push_local_notification()");}function push_get_first_local_notification(){_Ma("push_get_first_local_notification()");return -1;}function push_get_next_local_notification(){_Ma("push_get_next_local_notification()");
return -1;}function push_cancel_local_notification(){_Ma("push_cancel_local_notification()");return -1;}function push_get_application_badge_number(){_Ma("push_get_application_badge_number()");return -1;}function push_set_application_badge_number(){_Ma("push_set_application_badge_number()");return -1;}function surface_set_target_ext(){_Ma("surface_set_target_ext()");return 0;}function surface_get_target_ext(){_Ma("surface_set_target_ext()");return -1;}function audio_emitter_velocity(){_Ma("audio_emitter_velocity()");
}function audio_emitter_get_vx(){_Ma("audio_emitter_get_vx()");return 0.0;}function audio_emitter_get_vy(){_Ma("audio_emitter_get_vy()");return 0.0;}function audio_emitter_get_vz(){_Ma("audio_emitter_get_vz()");return 0.0;}function audio_set_listener_mask(){_Ma("audio_set_listener_mask()");}function audio_sound_set_listener_mask(){_Ma("audio_sound_set_listener_mask()");}function audio_emitter_set_listener_mask(){_Ma("audio_emitter_set_listener_mask()");}function audio_destroy_sync_group(){_Ma("audio_destroy_sync_group()");
return -1;}function audio_create_sync_group(){_Ma("audio_create_sync_group()");return -1;}function audio_play_in_sync_group(){_Ma("audio_play_in_sync_group()");}function audio_start_sync_group(){_Ma("audio_start_sync_group()");}function audio_pause_sync_group(){_Ma("audio_pause_sync_group()");}function audio_resume_sync_group(){_Ma("audio_resume_sync_group()");}function audio_stop_sync_group(){_Ma("audio_stop_sync_group()");}function audio_sync_group_get_track_pos(){_Ma("audio_sync_group_get_track_pos()");
return -1;}function audio_sync_group_is_playing(){_Ma("audio_sync_group_is_playing()");return -1;}function audio_sync_group_is_paused(){_Ma("audio_sync_group_is_paused()");return -1;}function audio_sync_group_debug(){_Ma("audio_sync_group_debug()");}function _9T2(){_Ma("GPIO is not supported");}function _aT2(){_Ma("GPIO is not supported");}function _bT2(){_Ma("GPIO is not supported");return 0;}function _cT2(){_Ma("GPIO is not supported");}function win8_livetile_tile_notification(){_Ma("win8_livetile_tile_notification()");
return -1;}function win8_livetile_tile_clear(){_Ma("win8_livetile_tile_clear()");return -1;}function win8_livetile_badge_notification(){_Ma("win8_livetile_badge_notification()");return -1;}function win8_livetile_badge_clear(){_Ma("win8_livetile_badge_clear()");return -1;}function win8_livetile_queue_enable(){_Ma("win8_livetile_queue_enable()");return -1;}function win8_secondarytile_pin(){_Ma("win8_secondarytile_pin()");return -1;}function win8_secondarytile_badge_notification(){_Ma("win8_secondarytile_badge_notification()");
return -1;}function win8_secondarytile_delete(){_Ma("win8_secondarytile_delete()");return -1;}function win8_settingscharm_add_xaml_entry(){_Ma("win8_settingscharm_add_xaml_entry()");}function win8_settingscharm_set_xaml_property(){_Ma("win8_settingscharm_set_xaml_property()");}function win8_settingscharm_get_xaml_property(){_Ma("win8_settingscharm_get_xaml_property()");}function win8_livetile_notification_begin(){_Ma("win8_livetile_notification_begin()");return -1;}function win8_livetile_notification_secondary_begin(){
_Ma("win8_livetile_notification_secondary_begin()");return -1;}function win8_livetile_notification_expiry(){_Ma("win8_livetile_notification_expiry()");return -1;}function win8_livetile_notification_tag(){_Ma("win8_livetile_notification_tag()");return -1;}function win8_livetile_notification_text_add(){_Ma("win8_livetile_notification_text_add()");return -1;}function win8_livetile_notification_image_add(){_Ma("win8_livetile_notification_image_add()");return -1;}function win8_livetile_notification_end(){_Ma("win8_livetile_notification_end()");
return -1;}function win8_appbar_enable(){_Ma("win8_appbar_enable()");return -1;}function win8_appbar_add_element(){_Ma("win8_appbar_add_element()");return -1;}function win8_appbar_remove_element(){_Ma("win8_appbar_remove_element()");return -1;}function win8_settingscharm_add_entry(){_Ma("win8_settingscharm_add_entry()");return -1;}function win8_settingscharm_add_html_entry(){_Ma("win8_settingscharm_add_html_entry()");return -1;}function win8_settingscharm_remove_entry(){_Ma("win8_settingscharm_remove_entry()");
return -1;}function win8_share_image(){_Ma("win8_share_image()");return -1;}function win8_share_screenshot(){_Ma("win8_share_screenshot()");return -1;}function win8_share_file(){_Ma("win8_share_file()");return -1;}function win8_share_url(){_Ma("win8_share_url()");return -1;}function win8_share_text(){_Ma("win8_share_text()");return -1;}function win8_search_enable(){_Ma("win8_search_enable()");return -1;}function win8_search_disable(){_Ma("win8_search_disable()");return -1;}function win8_search_add_suggestions(){
_Ma("win8_search_add_suggestions()");return -1;}function win8_device_touchscreen_available(){_Ma("win8_device_touchscreen_available()");return -1;}function win8_license_initialize_sandbox(){_Ma("win8_license_initialize_sandbox()");return -1;}function win8_license_trial_version(){_Ma("win8_license_trial_version()");return -1;}function uwp_livetile_tile_clear(){_Ma("uwp_livetile_tile_clear()");return -1;}function uwp_livetile_badge_notification(){_Ma("uwp_livetile_badge_notification()");return -1;}function uwp_livetile_badge_clear(){
_Ma("uwp_livetile_badge_clear()");return -1;}function uwp_livetile_queue_enable(){_Ma("uwp_livetile_queue_enable()");return -1;}function uwp_secondarytile_pin(){_Ma("uwp_secondarytile_pin()");return -1;}function uwp_secondarytile_badge_notification(){_Ma("uwp_secondarytile_badge_notification()");return -1;}function uwp_secondarytile_delete(){_Ma("uwp_secondarytile_delete()");return -1;}function uwp_secondarytile_tile_clear(){_Ma("uwp_secondarytile_tile_clear()");return -1;}function uwp_secondarytile_badge_clear(){
_Ma("uwp_seondarytile_badge_clear()");return -1;}function uwp_livetile_notification_begin(){_Ma("uwp_livetile_notification_begin()");return -1;}function uwp_livetile_notification_secondary_begin(){_Ma("uwp_livetile_notification_secondary_begin()");return -1;}function uwp_livetile_notification_expiry(){_Ma("uwp_livetile_notification_expiry()");return -1;}function uwp_livetile_notification_tag(){_Ma("uwp_livetile_notification_tag()");return -1;}function uwp_livetile_notification_text_add(){_Ma("uwp_livetile_notification_text_add()");
return -1;}function uwp_livetile_notification_image_add(){_Ma("uwp_livetile_notification_image_add()");return -1;}function uwp_livetile_notification_end(){_Ma("uwp_livetile_notification_end()");return -1;}function uwp_livetile_notification_template_add(){_Ma("uwp_livetile_notification_template_add()");return -1;}function uwp_appbar_enable(){_Ma("uwp_appbar_enable()");return -1;}function uwp_appbar_add_element(){_Ma("uwp_appbar_add_element()");return -1;}function uwp_appbar_remove_element(){_Ma("uwp_appbar_remove_element()");
return -1;}function uwp_device_touchscreen_available(){_Ma("uwp_device_touchscreen_available()");return -1;}function external_define(){_Ma("external_define()");return -1;}function external_call(){_Ma("external_call()");return -1;}function external_free(){_Ma("external_free()");return -1;}/*@constructor */function _Xy(_dT2,_eT2,_fT2){if(arguments.length>0){if(arguments.length==3){this._tz=_dT2;this._uz=_eT2;this._vz=_fT2;}else {this._tz=_dT2._tz;this._uz=_dT2._uz;this._vz=_dT2._vz;}}else {this._tz=1.0;this._uz=0.0;
this._vz=0.0;}}_Xy.prototype._gT2=function(_34){return this._tz==_34._tz&&this._uz==_34._uz&&this._vz==_34._vz;};_Xy.prototype._Ke=function(_34){return new _Xy(this._tz+_34._tz,this._uz+_34._uz,this._vz+_34._vz);};_Xy.prototype._hT2=function(){return new _Xy(-this._tz,-this._uz,-this._vz);};_Xy.prototype._6M=function(_34){return new _Xy(this._tz-_34._tz,this._uz-_34._uz,this._vz-_34._vz);};_Xy.prototype._dE2=function(_34){return this._tz*_34._tz+this._uz*_34._uz+this._vz*_34._vz;};_Xy.prototype._j31=function(_IC){
return new _Xy(_IC*this._tz,_IC*this._uz,_IC*this._vz);};_Xy.prototype._qz=function(){var _1i=1.0/Math.sqrt((this._tz*this._tz)+(this._uz*this._uz)+(this._vz*this._vz));this._tz=this._tz*_1i;this._uz=this._uz*_1i;this._vz=this._vz*_1i;};_Xy.prototype._iT2=function(){var _jT2=(this._tz*this._tz)+(this._uz*this._uz)+(this._vz*this._vz);return _jT2;};_Xy.prototype.Length=function(){var _jT2=this._iT2();if(_jT2>0.0){return Math.sqrt(_jT2);}else {return 0.0;}};_Xy.prototype._kT2=function(_lT2){var x,y,z;x=(this._uz*_lT2._vz)-(this._vz*_lT2._uz);
y=(this._vz*_lT2._tz)-(this._tz*_lT2._vz);z=(this._tz*_lT2._uz)-(this._uz*_lT2._tz);return new _Xy(x,y,z);};_Xy.prototype._AN2=function(_mT2,_nT2){this._tz=(_mT2._uz*_nT2._vz)-(_mT2._vz*_nT2._uz);this._uz=(_mT2._vz*_nT2._tz)-(_mT2._tz*_nT2._vz);this._vz=(_mT2._tz*_nT2._uz)-(_mT2._uz*_nT2._tz);};_Xy.prototype._BN2=function(_lT2){return(this._tz*_lT2._tz)+(this._uz*_lT2._uz)+(this._vz*_lT2._vz);};var _oT2=0,_pT2=1,_qT2=2,_rT2=3,_sT2=4,_tT2=5,_uT2=6,_vT2=7,_wT2=8,_xT2=9,_yT2=10,_zT2=11,_AT2=12,_BT2=13,
_CT2=14,_DT2=15;/*@constructor */function _Iz(){this.__e();}_Iz.prototype.__e=function(){this._ET2=[];this._FT2=[];};_Iz.prototype._GT2=function(){var _le1="100\n";_le1+=this._ET2.length.toString()+"\n";for(var i=0;i<this._ET2.length;i++){var _HT2=this._ET2[i];_le1+=_HT2._IT2.toString()+" ";switch(_HT2._IT2){case _pT2:break;case _oT2:_le1+=_HT2._JT2.toString();break;case _qT2:_le1+=_HT2.x.toString()+" ";_le1+=_HT2.y.toString()+" ";_le1+=_HT2.z.toString()+" ";_le1+="0.0 0.0 0.0 0.0 0.0 0.0 0.0\n";break;
case _rT2:_le1+=_HT2.x.toString()+" ";_le1+=_HT2.y.toString()+" ";_le1+=_HT2.z.toString()+" ";_le1+=(_HT2.color*1.0).toString()+" ";_le1+=_HT2.alpha.toString()+" ";_le1+="0.0 0.0 0.0 0.0 0.0\n";break;case _sT2:_le1+=_HT2.x.toString()+" ";_le1+=_HT2.y.toString()+" ";_le1+=_HT2.z.toString()+" ";_le1+=_HT2._04.toString()+" ";_le1+=_HT2._14.toString()+" ";_le1+="0.0 0.0 0.0 0.0 0.0\n";break;case _tT2:_le1+=_HT2.x.toString()+" ";_le1+=_HT2.y.toString()+" ";_le1+=_HT2.z.toString()+" ";_le1+=_HT2._04.toString()+" ";
_le1+=_HT2._14.toString()+" ";_le1+=(_HT2.color*1.0).toString()+" ";_le1+=_HT2.alpha.toString()+" ";_le1+="0.0 0.0 0.0\n";break;case _uT2:_le1+=_HT2.x.toString()+" ";_le1+=_HT2.y.toString()+" ";_le1+=_HT2.z.toString()+" ";_le1+=_HT2._Za.toString()+" ";_le1+=_HT2.__a.toString()+" ";_le1+=_HT2._0b.toString()+" ";_le1+="0.0 0.0 0.0 0.0\n";break;case _vT2:_le1+=_HT2.x.toString()+" ";_le1+=_HT2.y.toString()+" ";_le1+=_HT2.z.toString()+" ";_le1+=_HT2._Za.toString()+" ";_le1+=_HT2.__a.toString()+" ";_le1+=_HT2._0b.toString()+" ";
_le1+=(_HT2.color*1.0).toString()+" ";_le1+=_HT2.alpha.toString()+" ";_le1+="0.0 0.0\n";break;case _wT2:_le1+=_HT2.x.toString()+" ";_le1+=_HT2.y.toString()+" ";_le1+=_HT2.z.toString()+" ";_le1+=_HT2._Za.toString()+" ";_le1+=_HT2.__a.toString()+" ";_le1+=_HT2._0b.toString()+" ";_le1+=_HT2._04.toString()+" ";_le1+=_HT2._14.toString()+" ";_le1+="0.0 0.0\n";break;case _xT2:_le1+=_HT2.x.toString()+" ";_le1+=_HT2.y.toString()+" ";_le1+=_HT2.z.toString()+" ";_le1+=_HT2._Za.toString()+" ";_le1+=_HT2.__a.toString()+" ";
_le1+=_HT2._0b.toString()+" ";_le1+=_HT2._04.toString()+" ";_le1+=_HT2._14.toString()+" ";_le1+=(_HT2.color*1.0).toString()+" ";_le1+=_HT2.alpha.toString()+" ";_le1+="\n";break;case _yT2:case _CT2:case _DT2:_le1+=_HT2._A5.toString()+" ";_le1+=_HT2._B5.toString()+" ";_le1+=_HT2._Cu.toString()+" ";_le1+=_HT2._C5.toString()+" ";_le1+=_HT2._D5.toString()+" ";_le1+=_HT2._Du.toString()+" ";_le1+=(_HT2._dz?1.0:0.0).toString()+" ";_le1+=(_HT2._ez?1.0:0.0).toString()+" ";_le1+="0.0 0.0\n";break;case _BT2:_le1+=_HT2._A5.toString()+" ";
_le1+=_HT2._B5.toString()+" ";_le1+=_HT2._Cu.toString()+" ";_le1+=_HT2._C5.toString()+" ";_le1+=_HT2._D5.toString()+" ";_le1+=_HT2._Du.toString()+" ";_le1+=(_HT2._dz?1.0:0.0).toString()+" ";_le1+=(_HT2._ez?1.0:0.0).toString()+" ";_le1+=(_HT2._Hu*1.0).toString()+" ";_le1+="0.0\n";break;case _zT2:case _AT2:_le1+=_HT2._A5.toString()+" ";_le1+=_HT2._B5.toString()+" ";_le1+=_HT2._Cu.toString()+" ";_le1+=_HT2._C5.toString()+" ";_le1+=_HT2._D5.toString()+" ";_le1+=_HT2._Du.toString()+" ";_le1+=(_HT2._dz?1.0:0.0).toString()+" ";
_le1+=(_HT2._ez?1.0:0.0).toString()+" ";_le1+=(_HT2.closed?1.0:0.0).toString()+" ";_le1+=(_HT2._Hu*1.0).toString()+" ";_le1+="\n";break;}}return _le1;};_Iz.prototype._Jz=function(_2q){if(_kF===true){var _KT2=this._GT2();var _LT2=file_text_open_write(_2q);file_text_write_string(_LT2,_KT2);file_text_close(_LT2);}else {debug("d3d_model_save() browser does not support local storage\n");}};_Iz.prototype._MT2=function(_NT2){var _OT2="";var _eo2=false;for(var i=0;i<_NT2.length;i++){var _PT2=_NT2.charAt(i);if(_PT2==' '){
if(!_eo2){_OT2=_OT2+_PT2;}_eo2=true;}else {_eo2=false;_OT2=_OT2+_PT2;}}return _OT2;};_Iz.prototype._QT2=function(_RT2){var _ST2=_RT2.split("\n");var version=parseInt(_ST2[0]);if(version==100){var _TT2=parseInt(_ST2[1]);for(var i=2;i<_ST2.length;i++){var _HT2={};var _UT2=this._MT2(_ST2[i]);var _VT2=_UT2.split(" ");_HT2._IT2=parseInt(_VT2[0]);switch(_HT2._IT2){case _pT2:break;case _oT2:{_HT2._JT2=parseInt(_VT2[1]);break;}case _qT2:{_HT2.x=parseFloat(_VT2[1]);_HT2.y=parseFloat(_VT2[2]);_HT2.z=parseFloat(_VT2[3]);
break;}case _rT2:{_HT2.x=parseFloat(_VT2[1]);_HT2.y=parseFloat(_VT2[2]);_HT2.z=parseFloat(_VT2[3]);_HT2.color=parseInt(_VT2[4]);_HT2.alpha=parseFloat(_VT2[5]);break;}case _sT2:{_HT2.x=parseFloat(_VT2[1]);_HT2.y=parseFloat(_VT2[2]);_HT2.z=parseFloat(_VT2[3]);_HT2._04=parseFloat(_VT2[4]);_HT2._14=parseFloat(_VT2[5]);break;}case _tT2:{_HT2.x=parseFloat(_VT2[1]);_HT2.y=parseFloat(_VT2[2]);_HT2.z=parseFloat(_VT2[3]);_HT2._04=parseFloat(_VT2[4]);_HT2._14=parseFloat(_VT2[5]);_HT2.color=parseInt(_VT2[6]);_HT2.alpha=parseFloat(_VT2[7]);
break;}case _uT2:{_HT2.x=parseFloat(_VT2[1]);_HT2.y=parseFloat(_VT2[2]);_HT2.z=parseFloat(_VT2[3]);_HT2._Za=parseFloat(_VT2[4]);_HT2.__a=parseFloat(_VT2[5]);_HT2._0b=parseFloat(_VT2[6]);break;}case _vT2:{_HT2.x=parseFloat(_VT2[1]);_HT2.y=parseFloat(_VT2[2]);_HT2.z=parseFloat(_VT2[3]);_HT2._Za=parseFloat(_VT2[4]);_HT2.__a=parseFloat(_VT2[5]);_HT2._0b=parseFloat(_VT2[6]);_HT2.color=parseInt(_VT2[7]);_HT2.alpha=parseFloat(_VT2[8]);break;}case _wT2:{_HT2.x=parseFloat(_VT2[1]);_HT2.y=parseFloat(_VT2[2]);
_HT2.z=parseFloat(_VT2[3]);_HT2._Za=parseFloat(_VT2[4]);_HT2.__a=parseFloat(_VT2[5]);_HT2._0b=parseFloat(_VT2[6]);_HT2._04=parseFloat(_VT2[7]);_HT2._14=parseFloat(_VT2[8]);break;}case _xT2:{_HT2.x=parseFloat(_VT2[1]);_HT2.y=parseFloat(_VT2[2]);_HT2.z=parseFloat(_VT2[3]);_HT2._Za=parseFloat(_VT2[4]);_HT2.__a=parseFloat(_VT2[5]);_HT2._0b=parseFloat(_VT2[6]);_HT2._04=parseFloat(_VT2[7]);_HT2._14=parseFloat(_VT2[8]);_HT2.color=parseInt(_VT2[9]);_HT2.alpha=parseFloat(_VT2[10]);break;}case _yT2:case _CT2:case _DT2:{
_HT2._A5=parseFloat(_VT2[1]);_HT2._B5=parseFloat(_VT2[2]);_HT2._Cu=parseFloat(_VT2[3]);_HT2._C5=parseFloat(_VT2[4]);_HT2._D5=parseFloat(_VT2[5]);_HT2._Du=parseFloat(_VT2[6]);_HT2._dz=(parseFloat(_VT2[7])>=0.5)?true:false;_HT2._ez=(parseFloat(_VT2[8])>=0.5)?true:false;break;}case _BT2:{_HT2._A5=parseFloat(_VT2[1]);_HT2._B5=parseFloat(_VT2[2]);_HT2._Cu=parseFloat(_VT2[3]);_HT2._C5=parseFloat(_VT2[4]);_HT2._D5=parseFloat(_VT2[5]);_HT2._Du=parseFloat(_VT2[6]);_HT2._dz=(parseFloat(_VT2[7])>=0.5)?true:false;
_HT2._ez=(parseFloat(_VT2[8])>=0.5)?true:false;_HT2._Hu=~~parseFloat(_VT2[9]);break;}case _zT2:case _AT2:{_HT2._A5=parseFloat(_VT2[1]);_HT2._B5=parseFloat(_VT2[2]);_HT2._Cu=parseFloat(_VT2[3]);_HT2._C5=parseFloat(_VT2[4]);_HT2._D5=parseFloat(_VT2[5]);_HT2._Du=parseFloat(_VT2[6]);_HT2._dz=(parseFloat(_VT2[7])>=0.5)?true:false;_HT2._ez=(parseFloat(_VT2[8])>=0.5)?true:false;_HT2.closed=(parseFloat(_VT2[9])>=0.5)?true:false;_HT2._Hu=~~parseFloat(_VT2[10]);break;}}this._ET2.push(_HT2);}}};_Iz.prototype._w7=function(_2q){
var _gF=_zk(_2q,true);if(_gF!==null&&_gF!==undefined){this._QT2(_gF);}else {var _Qu=_Hb1(_2q);var self=this;var _WT2=new XMLHttpRequest();_WT2.open("GET",_Qu,false);_WT2.onload=function(){if(_WT2.readyState==4&&_WT2.status==200){self._QT2(_WT2.responseText);}};_WT2.send(null);}};_Iz.prototype._Gc=function(kind){this._ET2.push({_IT2:_oT2,_JT2:kind});};_Iz.prototype._Ic=function(){this._ET2.push({_IT2:_pT2});};_Iz.prototype.Vertex=function(x,y,z){this._ET2.push({_IT2:_qT2,x:x,y:y,z:z});};_Iz.prototype._Lz=function(x,
y,z,_q3,alpha){this._ET2.push({_IT2:_rT2,x:x,y:y,z:z,color:_q3,alpha:alpha});};_Iz.prototype._Mz=function(x,y,z,_Oa,_Pa){this._ET2.push({_IT2:_sT2,x:x,y:y,z:z,_04:_Oa,_14:_Pa});};_Iz.prototype._Nz=function(x,y,z,_Oa,_Pa,_q3,alpha){this._ET2.push({_IT2:_tT2,x:x,y:y,z:z,_04:_Oa,_14:_Pa,color:_q3,alpha:alpha});};_Iz.prototype._Oz=function(x,y,z,_Za,__a,_0b){this._ET2.push({_IT2:_uT2,x:x,y:y,z:z,_Za:_Za,__a:__a,_0b:_0b});};_Iz.prototype._Pz=function(x,y,z,_Za,__a,_0b,_q3,alpha){this._ET2.push({_IT2:_vT2,
x:x,y:y,z:z,_Za:_Za,__a:__a,_0b:_0b,color:_q3,alpha:alpha});};_Iz.prototype._Qz=function(x,y,z,_Za,__a,_0b,_Oa,_Pa){this._ET2.push({_IT2:_wT2,x:x,y:y,z:z,_Za:_Za,__a:__a,_0b:_0b,_04:_Oa,_14:_Pa});};_Iz.prototype._Rz=function(x,y,z,_Za,__a,_0b,_Oa,_Pa,_q3,alpha){this._ET2.push({_IT2:_xT2,x:x,y:y,z:z,_Za:_Za,__a:__a,_0b:_0b,_04:_Oa,_14:_Pa,color:_q3,alpha:alpha});};_Iz.prototype._Sz=function(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu){this._ET2.push({_IT2:_yT2,_A5:_A5,_B5:_B5,_Cu:_Cu,_C5:_C5,_D5:_D5,_Du:_Du,
_dz:_Eu,_ez:_Fu});};_Iz.prototype._Tz=function(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,closed,_Hu){this._ET2.push({_IT2:_zT2,_A5:_A5,_B5:_B5,_Cu:_Cu,_C5:_C5,_D5:_D5,_Du:_Du,_dz:_Eu,_ez:_Fu,closed:closed,_Hu:_Hu});};_Iz.prototype._Uz=function(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,closed,_Hu){this._ET2.push({_IT2:_AT2,_A5:_A5,_B5:_B5,_Cu:_Cu,_C5:_C5,_D5:_D5,_Du:_Du,_dz:_Eu,_ez:_Fu,closed:closed,_Hu:_Hu});};_Iz.prototype._Vz=function(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu,_Hu){this._ET2.push({_IT2:_BT2,_A5:_A5,_B5:_B5,
_Cu:_Cu,_C5:_C5,_D5:_D5,_Du:_Du,_dz:_Eu,_ez:_Fu,_Hu:_Hu});};_Iz.prototype._Wz=function(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu){this._ET2.push({_IT2:_CT2,_A5:_A5,_B5:_B5,_Cu:_Cu,_C5:_C5,_D5:_D5,_Du:_Du,_dz:_Eu,_ez:_Fu});};_Iz.prototype._Xz=function(_A5,_B5,_Cu,_C5,_D5,_Du,_Eu,_Fu){this._ET2.push({_IT2:_DT2,_A5:_A5,_B5:_B5,_Cu:_Cu,_C5:_C5,_D5:_D5,_Du:_Du,_dz:_Eu,_ez:_Fu});};_Iz.prototype._XT2=function(){this._YT2=new _Nb(_Ob,_i7._Pb(_i7._2c),false);this._YT2._JT2=-1;this._YT2._ZT2=null;};_Iz.prototype.__T2=function(_Db){
switch(_Db){case _cb:case _db:case _fb:return true;}return false;};_Iz.prototype._0U2=function(_1U2){var _2U2=this._YT2;if((_2U2._JT2!=-1)&&((_8b!=_2U2._JT2)||(_9b!=_2U2._ZT2)||(this.__T2(_2U2._JT2)===false))){_2U2._9d();_1U2.push({_JT2:_Cb(_2U2._JT2),_ZT2:_2U2._ZT2,_3U2:_2U2});this._XT2();_2U2=this._YT2;}_2U2._y42(_bb);_2U2._JT2=_8b;_2U2._ZT2=_9b;_Jb();};_Iz.prototype._4U2=function(_1U2){var _2U2=this._YT2;_2U2._9d();_1U2.push({_JT2:_Cb(_2U2._JT2),_ZT2:_2U2._ZT2,_3U2:_2U2});_Jb();};_Iz.prototype._9F1=function(_HT2,
_K7,_1U2){var _5U2=_6b;var self=this;_6b=function(){self._0U2(_1U2);};switch(_HT2._IT2){case _yT2:_Iu(_HT2._A5,_HT2._B5,_HT2._Cu,_HT2._C5,_HT2._D5,_HT2._Du,_K7,_HT2._dz,_HT2._ez);break;case _zT2:_Ju(_HT2._A5,_HT2._B5,_HT2._Cu,_HT2._C5,_HT2._D5,_HT2._Du,_K7,_HT2._dz,_HT2._ez,_HT2.closed,_HT2._Hu);break;case _AT2:_Ku(_HT2._A5,_HT2._B5,_HT2._Cu,_HT2._C5,_HT2._D5,_HT2._Du,_K7,_HT2._dz,_HT2._ez,_HT2.closed,_HT2._Hu);break;case _BT2:_Gu(_HT2._A5,_HT2._B5,_HT2._Cu,_HT2._C5,_HT2._D5,_HT2._Du,_K7,_HT2._dz,_HT2._ez,
_HT2._Hu);break;case _CT2:_Lu(_HT2._A5,_HT2._B5,_HT2._Cu,_HT2._C5,_HT2._D5,_HT2._Du,_K7,_HT2._dz,_HT2._ez);break;case _DT2:_Bu(_HT2._A5,_HT2._B5,_HT2._Cu,_HT2._C5,_HT2._D5,_HT2._Du,_K7,_HT2._dz,_HT2._ez);break;}_6b=_5U2;};_Iz.prototype._58=function(x,y,z,_K7){var i,_mg=new _Dy();_mg.__z(x,y,z);var _5A=_6A(_Zz);var _z5=new _Dy();_z5.Multiply(_mg,_5A);_Yz(_Zz,_z5);var colour=((_Rb*255.0)<<24)|(_Sb&0x00ffffff);var _6U2=this._FT2[colour];if(_6U2===undefined){_6U2=[];this._FT2[colour]=_6U2;}if(_6U2[_K7]===undefined){
_6U2[_K7]=[];var _t7=_6U2[_K7];this._XT2();for(var i=0;i<this._ET2.length;i++){var _HT2=this._ET2[i];switch(_HT2._IT2){case _oT2:_Ra(_HT2._JT2,_K7);break;case _pT2:this._0U2(_t7);break;case _qT2:_Sa(_HT2.x,_HT2.y,_HT2.z);break;case _rT2:_Ta(_HT2.x,_HT2.y,_HT2.z,_HT2.color,_HT2.alpha);break;case _sT2:_Va(_HT2.x,_HT2.y,_HT2.z,_HT2._04,_HT2._14);break;case _tT2:_Wa(_HT2.x,_HT2.y,_HT2.z,_HT2._04,_HT2._14,_HT2.color,_HT2.alpha);break;case _uT2:_Ya(_HT2.x,_HT2.y,_HT2.z,_HT2._Za,_HT2.__a,_HT2._0b);break;case _vT2:_1b(_HT2.x,
_HT2.y,_HT2.z,_HT2._Za,_HT2.__a,_HT2._0b,_HT2.color,_HT2.alpha);break;case _wT2:_3b(_HT2.x,_HT2.y,_HT2.z,_HT2._Za,_HT2.__a,_HT2._0b,_HT2._04,_HT2._14);break;case _xT2:_4b(_HT2.x,_HT2.y,_HT2.z,_HT2._Za,_HT2.__a,_HT2._0b,_HT2._04,_HT2._14,_HT2.color,_HT2.alpha);break;case _yT2:case _zT2:case _AT2:case _BT2:case _CT2:case _DT2:this._9F1(_HT2,_K7,_t7);break;}}this._4U2(_t7);this._YT2=null;}var _7U2=_6U2[_K7];for(i=0;i<_7U2.length;i++){var _8U2=_7U2[i];var _1c=_8U2._ZT2?_8U2._ZT2._R7:null;_i7._gd(_8U2._JT2,_1c,
_8U2._3U2,0);}_Yz(_Zz,_5A);};/*@constructor */function _u31(_9U2){var _Mj=arguments;var _Nj=arguments.length;this._Zj=[];this.stack=[];this.length=0;this._u7=0;if(_Nj>0){for(var i=0;i<_Nj;i++){this._Zj[i]=null;this.stack.push(i);}}}_u31.prototype._lL2=function(){var _x5;if(this.stack.length===0){_x5=this._Zj.length;this._Zj[_x5]=null;return _x5;}return this.stack.pop();};_u31.prototype._Ke=function(_aU2){var index=this._lL2();this._Zj[index]=_aU2;this._u7++;this.length=this._Zj.length;return index;};_u31.prototype._I4=function(_EV){
var _bU2=null;if(_EV>=0&&_EV<this._Zj.length){_bU2=this._Zj[_EV];}if(_bU2===undefined)_bU2=null;return _bU2;};_u31.prototype._zT=function(_cU2){for(var _K5=0;_K5<this._Zj.length;_K5++){if(this._Zj[_K5]==_cU2)return _K5;}return -1;};_u31.prototype._3S=function(_cU2){var index=this._zT(_cU2);if(index<0)return;this._Zj[index]=null;this.stack.push(index);this._u7--;};_u31.prototype._vi=function(_EV){if(_EV<0||_EV>=this._Zj.length)return;this._Zj[_EV]=null;this.stack.push(_EV);this._u7--;};_u31.prototype.__e=function(){
this._Zj=[];this.stack=[];this._u7=0;this.length=this._Zj.length;};_u31.prototype.Set=function(_N2,_F2){if(_N2<0||_N2>=this._Zj.length)return;this._Zj[_N2]=_F2;};/*@constructor */function _1r(_dU2){_eU2.call(this);this.__type="[CurvePoint]";this._oO=0;this._fU2=0;this._gU2=0;this._hU2=0;this._iU2=0;this._jU2=0;if((_dU2!=null)&&(_dU2!=undefined)){this._oO=_dU2.x;this._fU2=_dU2.value;this._gU2=_dU2.tx0;this._hU2=_dU2.ty0;this._iU2=_dU2.tx1;this._jU2=_dU2.ty1;}this._kU2();Object.defineProperties(this,
{gmlposx:{enumerable:true,get :function(){return this._oO;},set :function(_F2){this._oO=yyGetReal(_F2);this._kU2();}},gmlvalue:{enumerable:true,get :function(){return this._fU2;},set :function(_F2){this._fU2=yyGetReal(_F2);this._kU2();}}});}var _lU2=[];/*@constructor */function _Uq(_dU2){_eU2.call(this);this.__type="[AnimCurveChannel]";this._Qq="";this._mU2=0;this._nU2=0;this._oU2=0;this._pU2=[];this._qU2=0;this._rU2=[];if((_dU2!=null)&&(_dU2!=undefined)){this._Qq=_dU2.name;this._mU2=_dU2.function;this._nU2=_dU2.iterations;
this._oU2=_dU2.points.length;this._pU2=[];for(var _Tb2=0;_Tb2<this._oU2;++_Tb2){this._pU2[_Tb2]=new _1r(_dU2.points[_Tb2]);}}this._kU2();Object.defineProperties(this,{gmlname:{enumerable:true,get :function(){return this._Qq;},set :function(_F2){this._Qq=yyGetString(_F2);}},gmltype:{enumerable:true,get :function(){return this._mU2;},set :function(_F2){_F2=yyGetInt32(_F2);_F2=_L5(_F2,0);this._mU2=_F2;this._sU2();this._tU2=_uU2();}},gmliterations:{enumerable:true,get :function(){return this._nU2;},set :function(_F2){
_F2=yyGetInt32(_F2);_F2=_L5(_F2,0);this._nU2=_F2;this._sU2();this._tU2=_uU2();}},gmlnumPoints:{enumerable:true,get :function(){return this._oU2;}},gmlpoints:{enumerable:true,get :function(){return this._pU2;},set :function(_F2){if(_F2 instanceof Array){this._pU2=_F2;this._oU2=_F2.length;this._sU2();this._tU2=_uU2();}else {throw new Error("value must be an array of channels");}}}});this._Vq=function(_u4){if(this._vU2()){this._wU2();this._tU2=_xU2();}if(_u4<0.0)_u4=0.0;if(_u4>1.0)_u4=1.0;var start=0;var end=this._qU2-1;
var _2i=end>>1;while(_2i!=start){if(this._rU2[_2i]._oO>_u4){end=_2i;}else {start=_2i;}_2i=(start+end)>>1;}var _A5=this._rU2[_2i]._oO;var _C5=this._rU2[_2i+1]._oO;if(_A5==_C5){return this._rU2[_2i]._fU2;}var _ip=this._rU2[_2i]._fU2;var _jp=this._rU2[_2i+1]._fU2;var ratio=(_u4-_A5)/(_C5-_A5);var _yd=((_jp-_ip)*ratio)+_ip;return _yd;};this._wU2=function(_331,_yU2,_zU2){if(_331==undefined)_331=false;if(_yU2==undefined)_yU2=true;if(_zU2==undefined)_zU2=true;this._sU2();if(this._mU2==_AU2){this._BU2(_331,_yU2,_zU2);
}else if(this._mU2==_CU2){this._DU2();}else {var _Eu2=this._oU2;for(var _35=0;_35<_Eu2;_35++){var _EU2=this._FU2();_EU2._oO=this._pU2[_35]._oO;_EU2._fU2=this._pU2[_35]._fU2;}}for(var i=0;i<_Eu2;i++){this._tU2=_L5(this._tU2,this._pU2[i]._tU2);}};this._BU2=function(_331,_yU2,_zU2){var _Eu2=this._oU2;if(_Eu2<2){_L3("Cannot evaluate catmull-rom animation curve, a minimum of 2 points is required");return;}var _GU2=_Eu2+2;var scale=1.0;var offset=0.0;if(_zU2){var _Sh=this._pU2[0]._fU2;var _Th=_Sh;for(var i=1;i<_Eu2;
i++){_Sh=_M5(_Sh,this._pU2[i]._fU2);_Th=_L5(_Th,this._pU2[i]._fU2);}var _uu=_Th-_Sh;offset=_Sh;if(_uu>1.0)scale=_uu;var _HU2=1.0/scale;var _Oi=2;for(var i=0;i<_Eu2;i++){_lU2[_Oi++]=this._pU2[i]._oO;_lU2[_Oi++]=(this._pU2[i]._fU2-offset)*_HU2;}}else {_Oi=2;for(var i=0;i<_Eu2;i++){_lU2[_Oi++]=this._pU2[i]._oO;_lU2[_Oi++]=this._pU2[i]._fU2;}}_lU2[0]=_lU2[2];_lU2[1]=_lU2[3];var c=_GU2*2;_lU2[c-2]=_lU2[c-4];_lU2[c-1]=_lU2[c-3];var alpha=0.5;var end=(_331==true)?_GU2:_GU2-3;for(var i=0;i<end;++i){var _ut1=i,_mt1=i+1,
_nt1=i+2,_IU2=i+3;var _JU2=_lU2[_ut1*2];var _pr2=_lU2[_mt1*2];var _rr2=_lU2[_nt1*2];var _tr2=_lU2[_IU2*2];var _KU2=_lU2[_ut1*2+1];var _qr2=_lU2[_mt1*2+1];var _sr2=_lU2[_nt1*2+1];var _ur2=_lU2[_IU2*2+1];var _3x1=_LU2(0,_JU2,_KU2,_pr2,_qr2,alpha);var _4x1=_LU2(_3x1,_pr2,_qr2,_rr2,_sr2,alpha);var _Cr2=_LU2(_4x1,_rr2,_sr2,_tr2,_ur2,alpha);var step=(_4x1-_3x1)/this._nU2;var _85=_pr2;var _95=_rr2;for(var _N5=_3x1;_N5<=_4x1;_N5+=step){var _MU2=(_3x1-_N5)/(_3x1)*_JU2+(_N5)/(_3x1)*_pr2;var _NU2=(_3x1-_N5)/(_3x1)*_KU2+(_N5)/(_3x1)*_qr2;
var _OU2=(_4x1-_N5)/(_4x1-_3x1)*_pr2+(_N5-_3x1)/(_4x1-_3x1)*_rr2;var _PU2=(_4x1-_N5)/(_4x1-_3x1)*_qr2+(_N5-_3x1)/(_4x1-_3x1)*_sr2;var _QU2=(_Cr2-_N5)/(_Cr2-_4x1)*_rr2+(_N5-_4x1)/(_Cr2-_4x1)*_tr2;var _RU2=(_Cr2-_N5)/(_Cr2-_4x1)*_sr2+(_N5-_4x1)/(_Cr2-_4x1)*_ur2;var _SU2=(_4x1-_N5)/(_4x1)*_MU2+(_N5)/(_4x1)*_OU2;var _TU2=(_4x1-_N5)/(_4x1)*_NU2+(_N5)/(_4x1)*_PU2;var _UU2=(_Cr2-_N5)/(_Cr2-_3x1)*_OU2+(_N5-_3x1)/(_Cr2-_3x1)*_QU2;var _VU2=(_Cr2-_N5)/(_Cr2-_3x1)*_PU2+(_N5-_3x1)/(_Cr2-_3x1)*_RU2;var _lt=(_4x1-_N5)/(_4x1-_3x1)*_SU2+(_N5-_3x1)/(_4x1-_3x1)*_UU2;
var _mt=(_4x1-_N5)/(_4x1-_3x1)*_TU2+(_N5-_3x1)/(_4x1-_3x1)*_VU2;if(_yU2){_lt=_L5(_lt,_85);_lt=_M5(_lt,_95);_85=_lt;}var _EU2=this._FU2();_EU2._oO=_lt;_EU2._fU2=(_mt*scale)+offset;}}if(_331==false){var _EU2=this._FU2();_EU2._oO=this._pU2[_Eu2-1]._oO;_EU2._fU2=this._pU2[_Eu2-1]._fU2;}};this._DU2=function(){var _Eu2=this._oU2;if(_Eu2<2){_L3("Cannot evaluate bezier animation curve, a minimum of 2 points is required");return;}var _fZ=this._nU2*2;var _Sg1=1.0/_fZ;for(var i=0;i<_Eu2-1;++i){var _ao=this._pU2[i];
var _WU2=this._pU2[i+1];var _JU2=_ao._oO;var _KU2=_ao._fU2;var _pr2=_ao._oO+_ao._iU2;var _qr2=_ao._fU2+_ao._jU2;var _rr2=_WU2._oO+_WU2._gU2;var _sr2=_WU2._fU2+_WU2._hU2;var _tr2=_WU2._oO;var _ur2=_WU2._fU2;for(var _35=0;_35<_fZ;++_35){var _N5=_35*_Sg1;var _4x1=_N5*_N5;var _Cr2=_4x1*_N5;var _mg=1-_N5;var _XU2=_mg*_mg;var _YU2=_XU2*_mg;var _U9=(_JU2*_YU2)+(3*_pr2*_XU2*_N5)+(3*_rr2*_mg*_4x1)+(_tr2*_Cr2);var _V9=(_KU2*_YU2)+(3*_qr2*_XU2*_N5)+(3*_sr2*_mg*_4x1)+(_ur2*_Cr2);var _EU2=this._FU2();_EU2._oO=_U9;_EU2._fU2=_V9;
}}var _ZU2=this._pU2[_Eu2-1];var _EU2=this._FU2();_EU2._oO=_ZU2._oO;_EU2._fU2=_ZU2._fU2;};this._sU2=function(){this._qU2=0;};this.__U2=function(_0V2){if(this._vU2()){this._wU2();this._tU2=_xU2();}_0V2._Eu2=this._qU2;_0V2._rU2=this._rU2;return _0V2;};this._FU2=function(){var _1V2=new _1r();if(this._rU2==undefined){this._rU2=[];}this._rU2[this._qU2]=_1V2;this._qU2=this._qU2+1;return _1V2;};this._vU2=function(){if(this._qU2==0){return true;}else {if(this._2V2<_xU2()){var _gg1=false;for(var i=0;i<this._Eu2;i++){
if((this._pU2[i]!=null)&&(this._pU2[i]._OZ1(this._tU2))){_gg1=true;break;}}this._2V2=_xU2();return _gg1;}else {return false;}}};this._3V2=function(){var _gg1=false;for(var i=0;i<this._Eu2;i++){if((this._pU2[i]!=null)&&(this._pU2[i]._OZ1(this._tU2))){_gg1=true;break;}}if(_gg1){this._wU2();}};}/*@constructor */function __q(_dU2){_eU2.call(this);this.__type="[AnimCurve]";this.pName="";this._4V2=0;this._Nq=0;this._Pq=[];this._Xq=false;if((_dU2!=null)&&(_dU2!=undefined)){this.pName=_dU2.pName;this._4V2=_dU2.graphType;
this._Nq=_dU2.channels.length;this._Pq=[];for(var _5V2=0;_5V2<this._Nq;++_5V2){this._Pq[_5V2]=new _Uq(_dU2.channels[_5V2]);}this._Xq=true;}this._kU2();Object.defineProperties(this,{gmlname:{enumerable:true,get :function(){return this.pName;},set :function(_F2){this.pName=yyGetString(_F2);this._OZ1(this._tU2);this._tU2=_uU2();}},gmlnumChannels:{enumerable:true,get :function(){return this._Nq;}},gmlgraphType:{enumerable:true,get :function(){return this._4V2;},set :function(_F2){this._4V2=yyGetInt32(_F2);}},
gmlchannels:{enumerable:true,get :function(){return this._Pq;},set :function(_F2){if(_F2 instanceof Array){this._Pq=_F2;this._Nq=_F2.length;this._OZ1(this._tU2);this._tU2=_uU2();}else {throw new Error("value must be an array of channels");}}}});this._3V2=function(){var _6V2=this._tU2;for(var i=0;i<this._Nq;i++){if((this._Pq[i]!=null)&&(this._Pq[i]._OZ1(_6V2))){this._tU2=_L5(this._tU2,this._Pq[i]._tU2);}}};}function _LU2(_WO,__5,_06,_s5,_t5,_y8){var _l3=(_s5-__5)*(_s5-__5)+(_t5-_06)*(_t5-_06);if(_l3==0.0)_l3=0.0001;
var _k3=Math.sqrt(_l3);var c=Math.pow(_k3,_y8);return c+_WO;}__q.prototype._Vq=function(_v2,_7V2,_8V2,_9V2,_aV2,_bV2){if(_bV2==undefined)_bV2=1.0;var _cV2=this._Pq[_7V2];var _dV2={_Eu2:0,_rU2:[]};_cV2.__U2(_dV2);var _n5=_dV2._Eu2;var _eV2=_dV2._rU2;for(var i=0;i<_n5;i++){if(_eV2[i]!=null){var _EU2=_v2._FU2(_8V2);_EU2._oO=_9V2+_eV2[i]._oO*_aV2;_EU2._fU2=_eV2[i]._fU2*_bV2;}}};/*@constructor */function _3M2(){this.AnimCurves=[];}_3M2.prototype._Ke=function(_dU2){var _6r=null;if(_dU2!=null){_6r=new __q(_dU2);}this.AnimCurves[this.AnimCurves.length]=_6r;
};_3M2.prototype._Wq=function(){var _6r=new __q();var i;for(i=0;i<this.AnimCurves.length;i++){if(this.AnimCurves[i]==null){this.AnimCurves[i]=_6r;return _6r;}}this.AnimCurves[this.AnimCurves.length]=_6r;return _6r;};_3M2.prototype._Yq=function(_fV2){if(typeof(_fV2)=="object"){var i;for(i=0;i<this.AnimCurves.length;i++){if(this.AnimCurves[i]==_fV2){this.AnimCurves[i]=null;return;}}}else {if((_fV2>=0)&&(_gV2<this.AnimCurves.length)){this.AnimCurves[_fV2]=null;return;}}};_3M2.prototype._I4=function(_x3){if((_x3<0)||(_x3>=this.AnimCurves.length)){
return undefined;}return this.AnimCurves[_x3];};_3M2.prototype._Jq=function(_x3){if((_x3<0)||(_x3>=this.AnimCurves.length)){return undefined;}return this.AnimCurves[_x3];};_3M2.prototype._0r=function(_fV2){if((typeof(_fV2)=="object")&&(_fV2 instanceof __q)){var i;for(i=0;i<this.AnimCurves.length;i++){if(this.AnimCurves[i]==_fV2){return true;}}}return false;};_3M2.prototype._5J=function(_R2){for(var i=0;i<this.AnimCurves.length;i++){if(this.AnimCurves[i].pName==_R2){return i;}}return -1;};function _dJ(_N2){var _Gq=_Iq._I4(_N2);
if(_Gq!==undefined&&_Gq!==null)return true;return false;}function _eJ(_N2){var _Gq=_Iq._I4(_N2);if(_Gq!==undefined&&_Gq!==null)return _Gq.pName;return "";}var _hV2=0,_iV2=1,_Kf1=2,_7s=3,_7f1=4,_MM=5,_vE=6,_jV2=7,_9_=8,_ne1=9,_Le=10,_vb1=11,_kV2=0,_pE=1,_tE=-1,_CM=0,_lV2=1,_AM=-1;var _mV2=[];var _nV2=[];function _oV2(_Ej,_7_1){_mV2.push(_Ej);_nV2.push(_7_1);}function _oE(_Ej){var i=0;for(i=0;i<_mV2.length;i++){if(_mV2[i]==_Ej){var _Ie=_nV2[i];_nV2.splice(i,1);_mV2.splice(i,1);return _Ie;}}return undefined;}/*@constructor */function _pV2(){
this._qV2="";this._rV2=-1;this._Ne=0;this._Gk=null;this._sV2=_hV2;this._Oe=false;}function _5s(_i2){var _F3,_I3,_Ie=_oE(_i2.currentTarget);if(!_Ie)return;_Ie._Oe=true;_Ie._Ne=_pE;if(_Ie._sV2==_Kf1){var _0F=_H4._I4(_Ie._rV2);if(_0F==undefined){_Ie._Ne=_tE;return;}if(_0F===null){_Ie._Ne=_tE;return;}if(!_0F._G3){_Ie._Ne=_tE;return;}if(!_0F._G3[0]){_Ie._Ne=_tE;return;}if(!_0F._G3[0].texture){_Ie._Ne=_tE;return;}_I3=_0F._G3[0].texture;_I3._R7=undefined;var w=_I3.width;var h=_I3.height;var _tV2=Math.floor(w/_0F._I5);
var x=0;_0F.width=_tV2;_0F.height=h;_0F._MO.right=_tV2;_0F._MO.bottom=h;_0F._hf1();for(var i=0;i<_0F._I5;i++){_F3=_0F._G3[i];_F3.x=x;_F3.w=_tV2;_F3.h=h;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3._t7=[];_F3._u7=0;_F3._v7=4;x+=_tV2;}if(_i7){if(_0F._O7!=undefined){if(_0F._O7==true){for(var i=0;i<_0F._I5;i++){_Q7(_0F._G3[i]);if(_0F._G3[i].texture._R7){_S7(_F3.texture._R7);}}}}}return;}if(_Ie._sV2==_7s){var _6r=_cq._4r(_Ie._rV2);if(_6r===null)return;_F3=_6r._9r;_I3=_F3.texture;
_I3._R7=undefined;_F3.w=_I3.width;_F3.h=_I3.height;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3._t7=[];_F3._u7=0;_F3._v7=4;return;}if(_Ie._sV2==_7f1){_Ie._Gk.complete=true;var _6f1=_pm._I4(_Ie._rV2);_6f1._Bd1(_Ma1[_Ie._qV2]);return;}if(_Ie._sV2==_jV2){var _tz=_Ie._Gk;if(_tz.status!=200){_Ie._Ne=_tz.status;}else {var _G9=_fN._I4(_Ie._Gk._uV2);var offset=_Ie._Gk._vV2;var _wV2=false;var size=_Ie._Gk._xV2;var _Kh=_Ie._Gk.response;if(_Kh){var _yV2=new Uint8Array(_Kh);var _sc=0;if(size==-1){
size=_yV2.byteLength;_wV2=true;_sc=_G9._sV2;_G9._sV2=_8j;}if(size>_yV2.byteLength)size=_yV2.byteLength;var _zV2=buffer_tell(_Ie._Gk._uV2);_G9._e_(_hj,offset);for(var i=0;i<_yV2.byteLength;i++){var _l3=_yV2[i];_G9._kN(_lN,_l3);}_G9._e_(_hj,_zV2);if(_wV2)_G9._sV2=_sc;}}return;}}function _6s(_i2){var _Ie=_oE(_i2.currentTarget);if(!_Ie)return;_Ie._Oe=true;_Ie._Ne=_tE;}/*@constructor */function _5M2(){this._Uk=[];this._AV2=0;}_5M2.prototype._Ke=function(_nf,_rk,_sc,_BV2){var _Ie=new _pV2();_Ie._rV2=_nf;_Ie._qV2=_rk;
_Ie._Gk=_BV2;_Ie._sV2=_sc;this._Uk[this._AV2++]=_Ie;_oV2(_BV2,_Ie);return _Ie;};_5M2.prototype._CV2=function(){var map=ds_map_create();g_pBuiltIn.async_load=map;var _Uk=this._Uk;for(var i=0;i<this._AV2;i++){var _Ie=_Uk[i];if(_Ie!==null){if(_Ie._Oe){ds_map_clear(map);if(_Ie._sV2==_9_){var _ZE=_Ie._Gk;for(var prop in _ZE){if(_ZE.hasOwnProperty(prop)){ds_map_add(map,prop,_ZE[prop]);}}}else if(_Ie._sV2==_jV2){ds_map_add(map,"filename",_Ie._qV2);ds_map_add(map,"url",_Ie._qV2);}else if(_Ie._sV2==_MM){ds_map_add(map,
"filename","");ds_map_add(map,"url",_Ie._qV2);ds_map_add(map,"result",_Ie._BM);ds_map_add(map,"http_status",_Ie._FM);ds_map_add(map,"response_headers",_Ie._GM);}else if(_Ie._sV2==_vE){ds_map_add(map,"username",_Ie._lE);ds_map_add(map,"password",_Ie._mE);ds_map_add(map,"url","");ds_map_add(map,"result",_Ie.result);ds_map_add(map,"value",_Ie.value);ds_map_add(map,"http_status",0);}else if(_Ie._sV2==_ne1){ds_map_add(map,"queue_id",_Ie._Ra1);ds_map_add(map,"buffer_id",_Ie._oe1);ds_map_add(map,"queue_shutdown",
_Ie._qe1);}else if(_Ie._sV2==_vb1){ds_map_add(map,"sound_id",_Ie._wb1);ds_map_add(map,"asset_id",_Ie._xb1);ds_map_add(map,"was_stopped",_Ie._yb1);}else if(_Ie._sV2==_Le){ds_map_add(map,"event_type",_Ie.event_type);ds_map_add(map,"pad_index",_Ie._Me);}else {ds_map_add(map,"url","");ds_map_add(map,"result","");ds_map_add(map,"http_status",0);ds_map_add(map,"filename",_Ie._qV2);}if(_Ie._sV2!=_9_){ds_map_add(map,"id",_Ie._rV2);ds_map_add(map,"status",_Ie._Ne);}if(_Ie._sV2==_iV2)_m2._n2(_AC2,0,true);else if(_Ie._sV2==_Kf1)_m2._n2(_AC2,
0,true);else if(_Ie._sV2==_7s)_m2._n2(_AC2,0,true);else if(_Ie._sV2==_7f1)_m2._n2(_CC2,0,true);else if(_Ie._sV2==_MM)_m2._n2(_EC2,0,true);else if(_Ie._sV2==_vE)_m2._n2(_GC2,0,true);else if(_Ie._sV2==_jV2)_m2._n2(_Fd1,0,true);else if(_Ie._sV2==_9_)_m2._n2(_KC2,0,true);else if(_Ie._sV2==_ne1)_m2._n2(_RC2,0,true);else if(_Ie._sV2==_vb1)_m2._n2(_TC2,0,true);else if(_Ie._sV2==_Le)_m2._n2(_Wb1,0,true);this._Uk.splice(i,1);i--;this._AV2--;if(_Ie._sV2==_MM){ds_map_destroy(_Ie._GM);}if(_Ie._sV2==_9_&&_Ie._Gk.type==_PZ){
buffer_delete(_Ie._Gk.buffer);}}}}ds_map_destroy(map);g_pBuiltIn.async_load=-1;};/*@constructor */function _kr(){this.__type="[Background]";this.pName="";this.transparent=false;this.smooth=false;this.preload=false;this._9r=null;this.tilewidth=0;this.tileheight=0;this.tilehsep=0;this.tilevsep=0;this.tilecolumns=0;this.frames=0;this.tilecount=0;this._hO=0;this.framelength=0;this.framedata=[];}function _DV2(_dU2){var _zr=new _kr();_zr.pName=_dU2.pName;if(_dU2.transparent!=undefined)_zr.transparent=_dU2.transparent;
if(_dU2.smooth!=undefined)_zr.smooth=_dU2.smooth;if(_dU2.preload!=undefined)_zr.preload=_dU2.preload;_zr._9r=_EV2(_dU2.TPEntryIndex);if(_dU2.tilewidth!=undefined)_zr.tilewidth=_dU2.tilewidth;if(_dU2.tileheight!=undefined)_zr.tileheight=_dU2.tileheight;if(_dU2.tilehsep!=undefined)_zr.tilehsep=_dU2.tilehsep;if(_dU2.tilevsep!=undefined)_zr.tilevsep=_dU2.tilevsep;if(_dU2.tilecolumns!=undefined)_zr.tilecolumns=_dU2.tilecolumns;if(_dU2.frames!=undefined)_zr.frames=_dU2.frames;if(_dU2.tilecount!=undefined)_zr.tilecount=_dU2.tilecount;
if(_dU2._hO!=undefined)_zr._hO=_dU2._hO;if(_dU2.framelength!=undefined)_zr.framelength=_dU2.framelength;for(var i=0;i<_dU2.frames*_dU2.tilecount;i++){if(_dU2.framedata[i]!=undefined)_zr.framedata[i]=_dU2.framedata[i];}return _zr;}_kr.prototype._CO=function(_FV2,_JL){return this.framedata[(_FV2*this.frames)+_JL]};/*@constructor */function _GV2(_dU2){this.__e();if(_dU2.visible!=undefined)this.visible=_dU2.visible;if(_dU2.foreground!=undefined)this.foreground=_dU2.foreground;if(_dU2.index!=undefined)this.index=_dU2.index;
if(_dU2.x!=undefined)this.x=_dU2.x;if(_dU2.y!=undefined)this.y=_dU2.y;if(_dU2.htiled!=undefined)this._cO2=_dU2.htiled;if(_dU2.vtiled!=undefined)this._dO2=_dU2.vtiled;if(_dU2.hspeed!=undefined)this._eO2=_dU2.hspeed;if(_dU2.vspeed!=undefined)this._fO2=_dU2.vspeed;if(_dU2.stretch!=undefined)this.stretch=_dU2.stretch;if(_dU2.alpha!=undefined)this.alpha=_dU2.alpha;if(_dU2._zQ!=undefined)this._zQ=_dU2._zQ;if(_dU2.tilewidth!=undefined)this.tilewidth=_dU2.tilewidth;if(_dU2.tileheight!=undefined)this.tileheight=_dU2.tileheight;
if(_dU2.tilehsep!=undefined)this.tilehsep=_dU2.tilehsep;if(_dU2.tilevsep!=undefined)this.tilevsep=_dU2.tilevsep;if(_dU2.tilecolumns!=undefined)this.tilecolumns=_dU2.tilecolumns;if(_dU2.frames!=undefined)this.frames=_dU2.frames;if(_dU2.tilecount!=undefined)this.tilecount=_dU2.tilecount;if(_dU2._hO!=undefined)this._hO=_dU2._hO;if(_dU2._HV2!=undefined)this._HV2=_dU2._HV2;if(_dU2._IV2!=undefined)this._IV2=_dU2._IV2;}_GV2.prototype.__e=function(){this.visible=false;this.foreground=false;this.index=-1;
this.x=0;this.y=0;this._cO2=true;this._dO2=true;this._eO2=0;this._fO2=0;this._xQ=1;this._yQ=1;this.stretch=false;this.alpha=1.0;this._zQ=0xffffff;};/*@constructor */function _ZL2(){this.images=[];this._3r=[];}_ZL2.prototype._4r=function(_N2){return this.images[_N2];};_ZL2.prototype._I4=function(_N2){return this._3r[_N2];};_ZL2.prototype._wr=function(_N2){if(this.images[_N2]!=undefined){this.images[_N2]=undefined;}};_ZL2.prototype.__e=function(){this._3r=[];};_ZL2.prototype._XM2=function(_dU2){var _6r=null;
if(_dU2!=null){_6r=_DV2(_dU2);}return this._mr(_6r);};_ZL2.prototype._mr=function(_JV2){var i=this.images.length;this.images[i]=_JV2;return i;};_ZL2.prototype._Er=function(_N2,_JV2){this.images[_N2]=_JV2;};_ZL2.prototype._Ke=function(_dU2){var _6r=null;if(_dU2!=null){_6r=new _GV2(_dU2);}this._3r[this._3r.length]=_6r;};var _KV2=-1,_LV2=-2,_MV2=-3,_NV2=-4,_OV2=-5;var _d_=0,_8j=1,_PV2=2,_te1=3,_QV2=4;var _RV2=0,_lN=1,_SV2=2,_ue1=3,_0e1=4,_9j=5,_ij=6,_TV2=7,_Nd2=8,_UV2=9,_VV2=10,_WV2=11,_XV2=12,_YV2=13;var _hj=0,
_ZV2=1,_se1=2;function __V2(data,_0W2,_j_1,_1W2,_2W2,_3W2){var _vg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var _wg,_xg,_yg,_8g,_zg,_Ag,_Bg,_Cg;var i=0;var _Dg=_1W2;var _HH="";var _4W2=Math.floor(_3W2/3);i=_4W2*4;var _5W2=_3W2%3;if(!data){return data;}data+='';do {_8g=_zg=_Ag=_Bg=-1;while(_8g<0){_8g=_vg.indexOf(data.charAt(i++));}while(_zg<0){_zg=_vg.indexOf(data.charAt(i++));}while(_Ag<0){_Ag=_vg.indexOf(data.charAt(i++));}while(_Bg<0){_Bg=_vg.indexOf(data.charAt(i++));}var _6W2=(_8g<<2)|(_zg>>4);
var _7W2=((_zg&15)<<4)|(_Ag>>2);var _8W2=((_Ag&3)<<6)|_Bg;_j_1[_Dg++]=_6W2;if(_Dg>=_0W2)return _j_1;if(_Ag!=64){_j_1[_Dg++]=_7W2;if(_Dg>=_0W2)return _j_1;}if(_Bg!=64){_j_1[_Dg++]=_8W2;if(_Dg>=_0W2)return _j_1;}}while(i<data.length);var _9W2=_Dg;if(_2W2&&_9W2<_0W2){_j_1[_9W2++]='\0';}return _j_1;}function _aW2(input,length){var _bW2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var _6W2,_7W2,_8W2="";var _cW2,_dW2,_eW2,_fW2="";var i=0;do {_6W2=input.charCodeAt(i++);_7W2=input.charCodeAt(i++);
_8W2=input.charCodeAt(i++);_cW2=_6W2>>2;_dW2=((_6W2&3)<<4)|(_7W2>>4);_eW2=((_7W2&15)<<2)|(_8W2>>6);_fW2=_8W2&63;if(isNaN(_7W2)){_eW2=_fW2=64;}else if(isNaN(_8W2)){_fW2=64;}output=output+_bW2.charAt(_cW2)+_bW2.charAt(_dW2)+_bW2.charAt(_eW2)+_bW2.charAt(_fW2);_6W2=_7W2=_8W2="";_cW2=_dW2=_eW2=_fW2="";}while(i<length);return output;}function _UZ1(_ec){var size=1;while(size<=1024){if(_ec<=size)return size;size=size<<1;}return 1024;}/*@constructor */function _gW2(_ec,_sc,_hW2,_iW2){_hW2=_UZ1(_hW2&0x1ff);this._jW2=_ec+_hW2;
this._sV2=_sc;this._kW2=_ec;this._lW2=_hW2;this._mW2=0;this._gN=0;this._nW2=0;this._iN=new ArrayBuffer(_ec);this.___=new DataView(this._iN);if(_iW2!=undefined&&_iW2.length>0){var _oW2=_M5(_iW2.length,_ec);this._nW2=_oW2;var _pW2=new Uint8Array(this._iN);for(var i=0;i<_oW2;i++){_pW2[i]=_iW2[i];}}}function _qW2(_sc){switch(_sc){case _lN:case _SV2:case _VV2:return 1;case _ue1:case _0e1:case _TV2:return 2;case _9j:case _ij:case _Nd2:return 4;case _UV2:return 8;}return -1;}_gW2.prototype._rW2=function(_D42){var _sW2=new ArrayBuffer(_D42);
var _tW2=new Uint8Array(this._iN);var _uW2=new Uint8Array(_sW2);if(this._iN.byteLength>_D42){for(var i=0;i<_D42;i++){_uW2[i]=_tW2[i];}}else {_uW2.set(_tW2);}this._iN=_sW2;this.___=new DataView(this._iN);this._kW2=_D42;this._vW2(-1);};_gW2.prototype._vW2=function(_ec,_wW2){if(_ec==undefined)_ec=-1;if(_wW2==undefined)_wW2=false;var size=_ec;if(size==-1)size=this._gN;if(_wW2){this._nW2=size;}else {this._nW2=_L5(this._nW2,size);this._nW2=_M5(this._nW2,this._kW2);}};function _EH(_dn){var _pg="";for(var i=0;i<_dn.length;
i++){var _5h1=_dn.charCodeAt(i);if(_5h1<0x80){_pg+=String.fromCharCode(_5h1&0x7f);}else if(_5h1<0x0800){_pg+=String.fromCharCode((((_5h1>>6)&0x1f)|0xc0));_pg+=String.fromCharCode((_5h1&0x3f)|0x80);}else if(_5h1<0x10000){_pg+=String.fromCharCode(((_5h1>>12)&0x0f)|0xe0);_pg+=String.fromCharCode(((_5h1>>6)&0x3f)|0x80);_pg+=String.fromCharCode((_5h1&0x3f)|0x80);}else {_pg+=String.fromCharCode(((_5h1>>18)&0x07)|0xf0);_pg+=String.fromCharCode(((_5h1>>12)&0x3f)|0x80);_pg+=String.fromCharCode(((_5h1>>6)&0x3f)|0x80);
_pg+=String.fromCharCode((_5h1&0x3f)|0x80);}}return _pg;}_gW2.prototype._xW2=function(_sc){this._gN=(((this._gN+this._mW2)+(this._lW2-1))&~(this._lW2-1))-this._mW2;if(this._gN>=this._kW2&&this._sV2==_PV2){while(this._gN>=this._kW2){this._yW2();this._gN-=this._kW2;}}if(this._gN>=this._kW2)return(_sc==_WV2)?"":_MV2;var _ta;switch(_sc){case _VV2:_ta=this.___.getUint8(this._gN++);if(_ta==1){_ta=true;}else {_ta=false;}break;case _lN:{_ta=this.___.getUint8(this._gN++);}break;case _WV2:case _YV2:{_ta="";var chr;
var _GH=0;while(this._gN<this._nW2){var _14=0;chr=-1;_GH=this.___.getUint8(this._gN++,true);if((_GH&0x80)==0){_14=_GH;}else if((_GH&0xe0)==0xc0){_14=(_GH&0x1f)<<6;_GH=this.___.getUint8(this._gN++,true);_14|=(_GH&0x3f);}else if((_GH&0xf0)==0xe0){_14=(_GH&0x0f)<<12;_GH=this.___.getUint8(this._gN++,true);_14|=(_GH&0x3f)<<6;_GH=this.___.getUint8(this._gN++,true);_14|=(_GH&0x3f);}else {_14=(_GH&0x07)<<18;_GH=this.___.getUint8(this._gN++,true);_14|=(_GH&0x3f)<<12;_GH=this.___.getUint8(this._gN++,true);_14|=(_GH&0x3f)<<6;
_GH=this.___.getUint8(this._gN++,true);_14|=(_GH&0x3f);chr=String.fromCharCode((_14>>10)+0xD7C0)+String.fromCharCode((_14&0x3FF)|0xDC00);}if(_14==0x00)break;if(chr<0)chr=String.fromCharCode(_14);_ta+=chr;}}break;case _SV2:_ta=this.___.getInt8(this._gN++);break;case _ue1:_ta=this.___.getUint16(this._gN,true);this._gN+=2;break;case _0e1:_ta=this.___.getInt16(this._gN,true);this._gN+=2;break;case _ij:_ta=this.___.getInt32(this._gN,true);this._gN+=4;break;case _9j:_ta=new Long(this.___.getUint32(this._gN,
true),0);this._gN+=4;break;case _Nd2:_ta=this.___.getFloat32(this._gN,true);this._gN+=4;break;case _UV2:_ta=this.___.getFloat64(this._gN,true);this._gN+=8;break;case _XV2:var _Dg1=this.___.getUint32(this._gN,true);this._gN+=4;var _2h1=this.___.getUint32(this._gN,true);this._gN+=4;_ta=new Long(_Dg1,_2h1);break;}return _ta;};_gW2.prototype._yW2=function(){this._mW2=(this._mW2+this._kW2)%this._lW2;};function _zW2(_sc){var _AW2=0;switch(_sc){case _VV2:case _lN:case _SV2:_AW2=1;break;case _ue1:case _0e1:_AW2=2;break;
case _ij:case _9j:case _Nd2:_AW2=4;break;case _UV2:case _XV2:_AW2=8;break;}return _AW2;}function _BW2(){this.i=new Uint32Array(2);this._CW2=new Uint32Array(4);this._Ct=new Uint8Array(64);this._DW2=new Uint8Array(16);this.i[0]=this.i[1]=0;this._CW2[0]=this._CW2[1]=this._CW2[2]=this._CW2[3]=0;for(var i=0;i<64;i++)this._Ct[i]=0;for(var i=0;i<16;i++)this._DW2[i]=0;}_BW2.prototype._EW2=function(){var _86="0123456789abcdef";var _rh="";for(var h=0;h<16;h++){var _k3=this._DW2[h];_rh+=_86[((_k3>>4)&0xf)];_rh+=_86[(_k3&0xf)];
}return _rh;};function _FW2(){var _GW2=new _BW2();_GW2.i[0]=_GW2.i[1]=0;_GW2._CW2[0]=0x67452301;_GW2._CW2[1]=0xefcdab89;_GW2._CW2[2]=0x98badcfe;_GW2._CW2[3]=0x10325476;return _GW2;}var _HW2=new Uint32Array(16);function _IW2(x,y,z){_HW2[0]=x;_HW2[1]=y;_HW2[2]=z;return(((_HW2[0])&(_HW2[1]))|((~_HW2[0])&(_HW2[2])));}function _JW2(x,y,z){_HW2[0]=x;_HW2[1]=y;_HW2[2]=z;return(((_HW2[0])&(_HW2[2]))|((_HW2[1])&(~_HW2[2])));}function _KW2(x,y,z){_HW2[0]=x;_HW2[1]=y;_HW2[2]=z;return((_HW2[0])^(_HW2[1])^(_HW2[2]));}
function _LW2(x,y,z){_HW2[0]=x;_HW2[1]=y;_HW2[2]=z;return((_HW2[1])^((_HW2[0])|(~_HW2[2])));}var _MW2=new Uint32Array(2);function _NW2(x,_x5){_MW2[0]=x;_MW2[1]=((_MW2[0]<<_x5)&0xffffffff)|((_MW2[0]>>(32-_x5))&((1<<_x5)-1));return _MW2[1];}var _OW2=new Uint32Array(7);function _PW2(_l3,_k3,c,_Fl,x,_rh,_Dg){_OW2[0]=_l3;_OW2[1]=_k3;_OW2[2]=c;_OW2[3]=_Fl;_OW2[4]=x;_OW2[5]=_rh;_OW2[6]=_Dg;_OW2[0]+=_IW2(_OW2[1],_OW2[2],_OW2[3])+_OW2[4]+(_OW2[6]);_OW2[0]=_NW2(_OW2[0],_OW2[5]);_OW2[0]+=_OW2[1];return _OW2[0];}function _QW2(_l3,
_k3,c,_Fl,x,_rh,_Dg){_OW2[0]=_l3;_OW2[1]=_k3;_OW2[2]=c;_OW2[3]=_Fl;_OW2[4]=x;_OW2[5]=_rh;_OW2[6]=_Dg;_OW2[0]+=_JW2(_OW2[1],_OW2[2],_OW2[3])+_OW2[4]+(_OW2[6]);_OW2[0]=_NW2(_OW2[0],_OW2[5]);_OW2[0]+=_OW2[1];return _OW2[0];}function _RW2(_l3,_k3,c,_Fl,x,_rh,_Dg){_OW2[0]=_l3;_OW2[1]=_k3;_OW2[2]=c;_OW2[3]=_Fl;_OW2[4]=x;_OW2[5]=_rh;_OW2[6]=_Dg;_OW2[0]+=_KW2(_OW2[1],_OW2[2],_OW2[3])+_OW2[4]+(_OW2[6]);_OW2[0]=_NW2(_OW2[0],_OW2[5]);_OW2[0]+=_OW2[1];return _OW2[0];}function _SW2(_l3,_k3,c,_Fl,x,_rh,_Dg){_OW2[0]=_l3;
_OW2[1]=_k3;_OW2[2]=c;_OW2[3]=_Fl;_OW2[4]=x;_OW2[5]=_rh;_OW2[6]=_Dg;_OW2[0]+=_LW2(_OW2[1],_OW2[2],_OW2[3])+_OW2[4]+(_OW2[6]);_OW2[0]=_NW2(_OW2[0],_OW2[5]);_OW2[0]+=_OW2[1];return _OW2[0];}function _K82(_TW2,_UW2){var _l3=_TW2[0],_k3=_TW2[1],c=_TW2[2],_Fl=_TW2[3];var _VW2=7;var _WW2=12;var _XW2=17;var _YW2=22;_l3=_PW2(_l3,_k3,c,_Fl,_UW2[0],_VW2,0xD76AA478);_Fl=_PW2(_Fl,_l3,_k3,c,_UW2[1],_WW2,0xE8C7B756);c=_PW2(c,_Fl,_l3,_k3,_UW2[2],_XW2,0x242070DB);_k3=_PW2(_k3,c,_Fl,_l3,_UW2[3],_YW2,0xC1BDCEEE);_l3=_PW2(_l3,
_k3,c,_Fl,_UW2[4],_VW2,0xF57C0FAF);_Fl=_PW2(_Fl,_l3,_k3,c,_UW2[5],_WW2,0x4787C62A);c=_PW2(c,_Fl,_l3,_k3,_UW2[6],_XW2,0xA8304613);_k3=_PW2(_k3,c,_Fl,_l3,_UW2[7],_YW2,0xFD469501);_l3=_PW2(_l3,_k3,c,_Fl,_UW2[8],_VW2,0x698098D8);_Fl=_PW2(_Fl,_l3,_k3,c,_UW2[9],_WW2,0x8B44F7AF);c=_PW2(c,_Fl,_l3,_k3,_UW2[10],_XW2,0xFFFF5BB1);_k3=_PW2(_k3,c,_Fl,_l3,_UW2[11],_YW2,0x895CD7BE);_l3=_PW2(_l3,_k3,c,_Fl,_UW2[12],_VW2,0x6B901122);_Fl=_PW2(_Fl,_l3,_k3,c,_UW2[13],_WW2,0xFD987193);c=_PW2(c,_Fl,_l3,_k3,_UW2[14],_XW2,
0xA679438E);_k3=_PW2(_k3,c,_Fl,_l3,_UW2[15],_YW2,0x49B40821);var _ZW2=5;var __W2=9;var _0X2=14;var _1X2=20;_l3=_QW2(_l3,_k3,c,_Fl,_UW2[1],_ZW2,0xF61E2562);_Fl=_QW2(_Fl,_l3,_k3,c,_UW2[6],__W2,0xC040B340);c=_QW2(c,_Fl,_l3,_k3,_UW2[11],_0X2,0x265E5A51);_k3=_QW2(_k3,c,_Fl,_l3,_UW2[0],_1X2,0xE9B6C7AA);_l3=_QW2(_l3,_k3,c,_Fl,_UW2[5],_ZW2,0xD62F105D);_Fl=_QW2(_Fl,_l3,_k3,c,_UW2[10],__W2,0x02441453);c=_QW2(c,_Fl,_l3,_k3,_UW2[15],_0X2,0xD8A1E681);_k3=_QW2(_k3,c,_Fl,_l3,_UW2[4],_1X2,0xE7D3FBC8);_l3=_QW2(_l3,_k3,
c,_Fl,_UW2[9],_ZW2,0x21E1CDE6);_Fl=_QW2(_Fl,_l3,_k3,c,_UW2[14],__W2,0xC33707D6);c=_QW2(c,_Fl,_l3,_k3,_UW2[3],_0X2,0xF4D50D87);_k3=_QW2(_k3,c,_Fl,_l3,_UW2[8],_1X2,0x455A14ED);_l3=_QW2(_l3,_k3,c,_Fl,_UW2[13],_ZW2,0xA9E3E905);_Fl=_QW2(_Fl,_l3,_k3,c,_UW2[2],__W2,0xFCEFA3F8);c=_QW2(c,_Fl,_l3,_k3,_UW2[7],_0X2,0x676F02D9);_k3=_QW2(_k3,c,_Fl,_l3,_UW2[12],_1X2,0x8D2A4C8A);var _2X2=4;var _3X2=11;var _4X2=16;var _5X2=23;_l3=_RW2(_l3,_k3,c,_Fl,_UW2[5],_2X2,0xFFFA3942);_Fl=_RW2(_Fl,_l3,_k3,c,_UW2[8],_3X2,0x8771F681);
c=_RW2(c,_Fl,_l3,_k3,_UW2[11],_4X2,0x6D9D6122);_k3=_RW2(_k3,c,_Fl,_l3,_UW2[14],_5X2,0xFDE5380C);_l3=_RW2(_l3,_k3,c,_Fl,_UW2[1],_2X2,0xA4BEEA44);_Fl=_RW2(_Fl,_l3,_k3,c,_UW2[4],_3X2,0x4BDECFA9);c=_RW2(c,_Fl,_l3,_k3,_UW2[7],_4X2,0xF6BB4B60);_k3=_RW2(_k3,c,_Fl,_l3,_UW2[10],_5X2,0xBEBFBC70);_l3=_RW2(_l3,_k3,c,_Fl,_UW2[13],_2X2,0x289B7EC6);_Fl=_RW2(_Fl,_l3,_k3,c,_UW2[0],_3X2,0xEAA127FA);c=_RW2(c,_Fl,_l3,_k3,_UW2[3],_4X2,0xD4EF3085);_k3=_RW2(_k3,c,_Fl,_l3,_UW2[6],_5X2,0x04881D05);_l3=_RW2(_l3,_k3,c,_Fl,
_UW2[9],_2X2,0xD9D4D039);_Fl=_RW2(_Fl,_l3,_k3,c,_UW2[12],_3X2,0xE6DB99E5);c=_RW2(c,_Fl,_l3,_k3,_UW2[15],_4X2,0x1FA27CF8);_k3=_RW2(_k3,c,_Fl,_l3,_UW2[2],_5X2,0xC4AC5665);var _6X2=6;var _7X2=10;var _8X2=15;var _9X2=21;_l3=_SW2(_l3,_k3,c,_Fl,_UW2[0],_6X2,0xF4292244);_Fl=_SW2(_Fl,_l3,_k3,c,_UW2[7],_7X2,0x432AFF97);c=_SW2(c,_Fl,_l3,_k3,_UW2[14],_8X2,0xAB9423A7);_k3=_SW2(_k3,c,_Fl,_l3,_UW2[5],_9X2,0xFC93A039);_l3=_SW2(_l3,_k3,c,_Fl,_UW2[12],_6X2,0x655B59C3);_Fl=_SW2(_Fl,_l3,_k3,c,_UW2[3],_7X2,0x8F0CCC92);
c=_SW2(c,_Fl,_l3,_k3,_UW2[10],_8X2,0xFFEFF47D);_k3=_SW2(_k3,c,_Fl,_l3,_UW2[1],_9X2,0x85845DD1);_l3=_SW2(_l3,_k3,c,_Fl,_UW2[8],_6X2,0x6FA87E4F);_Fl=_SW2(_Fl,_l3,_k3,c,_UW2[15],_7X2,0xFE2CE6E0);c=_SW2(c,_Fl,_l3,_k3,_UW2[6],_8X2,0xA3014314);_k3=_SW2(_k3,c,_Fl,_l3,_UW2[13],_9X2,0x4E0811A1);_l3=_SW2(_l3,_k3,c,_Fl,_UW2[4],_6X2,0xF7537E82);_Fl=_SW2(_Fl,_l3,_k3,c,_UW2[11],_7X2,0xBD3AF235);c=_SW2(c,_Fl,_l3,_k3,_UW2[2],_8X2,0x2AD7D2BB);_k3=_SW2(_k3,c,_Fl,_l3,_UW2[9],_9X2,0xEB86D391);_TW2[0]+=_l3;_TW2[1]+=_k3;
_TW2[2]+=c;_TW2[3]+=_Fl;}function _aX2(_bX2,_cX2,_H81,_dX2){var _UW2=new Uint32Array(16);var _eX2;var i,_4F;var _N2=0;_eX2=(_bX2.i[0]>>3)&0x3F;if((_bX2.i[0]+((_dX2<<3)&0xffffffff))<_bX2.i[0]){_bX2.i[1]++;}_bX2.i[0]+=(_dX2<<3)&0xffffffff;_bX2.i[1]+=(_dX2>>29)&0xffffffff;while(_dX2--){_bX2._Ct[_eX2++]=_cX2[_N2++];if(_eX2==0x40){for(i=0,_4F=0;i<16;i++,_4F+=4)_UW2[i]=(((0xffffffff&_bX2._Ct[_4F+3])<<24)|((0xffffffff&_bX2._Ct[_4F+2])<<16)|((0xffffffff&_bX2._Ct[_4F+1])<<8)|(0xffffffff&_bX2._Ct[_4F]));_K82(_bX2._CW2,
_UW2);_eX2=0;}}}var _fX2=new Uint8Array(64);function _gX2(_bX2){var _UW2=new Uint32Array(16);var _eX2;var i,_4F;var _hX2;_UW2[14]=_bX2.i[0];_UW2[15]=_bX2.i[1];_eX2=((_bX2.i[0]>>3)&0x3F);_hX2=(_eX2<56)?(56-_eX2):(120-_eX2);_fX2[0]=0x80;_aX2(_bX2,_fX2,0,_hX2);for(i=0,_4F=0;i<14;i++,_4F+=4){_UW2[i]=((~~_bX2._Ct[_4F+3])<<24)|((~~_bX2._Ct[_4F+2])<<16)|((~~_bX2._Ct[_4F+1])<<8)|(~~_bX2._Ct[_4F]);}_K82(_bX2._CW2,_UW2);for(i=0,_4F=0;i<4;i++,_4F+=4){_bX2._DW2[_4F]=(_bX2._CW2[i]&0xFF);_bX2._DW2[_4F+1]=((_bX2._CW2[i]>>8)&0xFF);
_bX2._DW2[_4F+2]=((_bX2._CW2[i]>>16)&0xFF);_bX2._DW2[_4F+3]=((_bX2._CW2[i]>>24)&0xFF);}}function _iX2(_jX2,_ec,_H81){var _GW2=_FW2();var _kX2=_ec;while(_kX2>0){var _lX2=_M5(_kX2,_ec-_H81);_aX2(_GW2,_jX2,_H81,_lX2);_H81=0;_kX2-=_lX2;}_gX2(_GW2);return _GW2._EW2();}function _mX2(){var _25=-306674912;var _7I=new Array(256);for(var i=0;i<256;i++){var crc=i;var _nX2=8;while(--_nX2>=0){if((crc&1)!=0){crc=crc>>>1^_25;}else crc>>>=1;}_7I[i]=crc;}return _7I;}var _oX2=_mX2();function _pX2(_k3,__j,_1i){var crc=0xffffffff;var _7I=_oX2;
var i=__j;for(var _qX2=__j+_1i;i<_qX2;i++)crc=(_7I[(crc^_k3[i])&255]^((crc>>>8)&0x00ffffff))>>>0;return crc;}_gW2.prototype._rX2=function(_H81,_ec){if(this._kW2==0)return;if(_ec<0)_ec=this._kW2;if(this._sV2==_PV2){while(_H81<0)_H81+=this._kW2;while(_H81>=this._kW2)_H81-=this._kW2;}else {if(_H81<0)_H81=0;if(_H81>=this._kW2)_H81=this._kW2-1;if((_H81+_ec)>this._kW2)_ec=this._kW2-_H81;}if(_ec>this._kW2-_H81)return "";else {return _pX2(new Uint8Array(this._iN,_H81,_ec),0,_ec);}};_gW2.prototype._sX2=function(_H81,
_ec){if(this._kW2==0)return;if(_ec<0)_ec=this._kW2;if(this._sV2==_PV2){while(_H81<0)_H81+=this._kW2;while(_H81>=this._kW2)_H81-=this._kW2;}else {if(_H81<0)_H81=0;if(_H81>=this._kW2)_H81=this._kW2-1;if((_H81+_ec)>this._kW2)_ec=this._kW2-_H81;}if(_ec>this._kW2-_H81)return "";else {return _iX2(new Uint8Array(this._iN,_H81,_ec),_ec,0);}};_gW2.prototype._tX2=function(_H81,_ec){if(this._kW2==0)return;if(_ec<0)_ec=this._kW2;if(this._sV2==_PV2){while(_H81<0)_H81+=this._kW2;while(_H81>=this._kW2)_H81-=this._kW2;
}else {if(_H81<0)_H81=0;if(_H81>=this._kW2)_H81=this._kW2-1;if((_H81+_ec)>this._kW2)_ec=this._kW2-_H81;}if(_ec>this._kW2-_H81)return "";else return sha1_string_utf8(String.fromCharCode.apply(null,new Uint8Array(this._iN,_H81,_ec)));};_gW2.prototype._uX2=function(filename,offset,size){_vk(filename,this._vX2(offset,size));};_gW2.prototype._wX2=function(_H81,_ec){if(this._kW2==0)return;if(_ec<0)_ec=this._kW2;_H81=clamp(_H81,0,this._kW2-1);_ec=clamp(_ec,0,this._kW2-_H81);if(_ec<=0)return;var _xX2=new Uint8Array(this._iN,
_H81,_ec);var _yX2=new Zlib.Deflate(_xX2);var _zX2=_yX2.compress();return _zX2;};_gW2.prototype._AX2=function(){result=undefined;try{var _7_1=new Uint8Array(this._iN,0,this._nW2);var _Et2=new Zlib.Inflate(_7_1);var result=_Et2.decompress();}catch(_DD){show_debug_message("buffer decompress exception: "+_DD.message);}return result;};_gW2.prototype._vX2=function(_H81,_ec){if(this._kW2==0)return;if(_ec<0)_ec=this._kW2;if(_ec==0)return "";if(this._sV2==_PV2){while(_H81<0)_H81+=this._kW2;while(_H81>=this._kW2)_H81-=this._kW2;
}else {if(_H81<0)_H81=0;if(_H81>=this._kW2)_H81=this._kW2-1;if((_H81+_ec)>this._kW2)_ec=this._kW2-_H81;}if(_ec>this._kW2-_H81){return "";}else {var _xX2=new Uint8Array(this._iN,_H81,_ec);var _aN="";for(var i=0;i<_ec;i++){_aN+=String.fromCharCode(_xX2[i]);}return _aW2(_aN,_ec);}};_gW2.prototype._BX2=function(_CX2,_H81){var _pW2=new Uint8Array(this._iN);return __V2(_CX2,_pW2.length-_H81,_pW2,_H81,false,0);};_gW2.prototype._kN=function(_sc,_Zm){var _DX2;var size=0;this._gN=(((this._gN+this._mW2)+(this._lW2-1))&~(this._lW2-1))-this._mW2;
if(this._gN>=this._kW2&&this._sV2==_PV2){while(this._gN>=this._kW2){this._yW2();this._gN-=this._kW2;}}if((this._gN>=this._kW2)&&(this._sV2!=_8j)){return _LV2;}var _AW2=_zW2(_sc);if((_sc===_WV2)||(_sc===_YV2)){_DX2=_EH(_Zm);_AW2=_DX2.length;if(_sc===_WV2)_AW2++;}if((this._gN+_AW2)>this._kW2){if(this._sV2==_8j){var _EX2=this._kW2;var _D42=this._kW2;while((this._gN+_AW2)>_D42){_D42=(_D42<<1);}this._rW2(_D42);}else {if(this._sV2!=_PV2){return _LV2;}}}switch(_sc){case _VV2:if(_Zm==true){_Zm=1;}else {_Zm=0;}case _lN:{
this.___.setUint8(this._gN,_Zm);this._gN++;}break;case _WV2:case _YV2:{for(var i=0;i<_DX2.length;i++){var _5h1=_DX2.charCodeAt(i)&0xff;this.___.setUint8(this._gN++,_5h1,true);}if(_sc===_WV2){this.___.setUint8(this._gN++,0,true);}}break;case _SV2:this.___.setInt8(this._gN,_Zm);this._gN++;break;case _ue1:this.___.setUint16(this._gN,_Zm,true);this._gN+=2;break;case _0e1:this.___.setInt16(this._gN,_Zm,true);this._gN+=2;break;case _ij:this.___.setInt32(this._gN,_Zm,true);this._gN+=4;break;case _9j:this.___.setUint32(this._gN,
_Zm,true);this._gN+=4;break;case _Nd2:this.___.setFloat32(this._gN,_Zm,true);this._gN+=4;break;case _UV2:this.___.setFloat64(this._gN,_Zm,true);this._gN+=8;break;case _XV2:var _FX2=yyGetInt64(_Zm);this.___.setUint32(this._gN,_FX2._Dg1,true);this._gN+=4;this.___.setUint32(this._gN,_FX2._2h1,true);this._gN+=4;break;}this._vW2(-1);return 0;};_gW2.prototype._GX2=function(_sc,_H81){var size=_zW2(_sc);if(_H81<0)return undefined;if(this._sV2!=_PV2){if(_H81>(this._kW2-size))return undefined;}else {while(_H81>=this._kW2){
_H81-=this._kW2;}}var _ta;switch(_sc){case _VV2:_ta=this.___.getUint8(_H81);if(_ta==1){_ta=true;}else {_ta=false;}break;case _lN:{_ta=this.___.getUint8(_H81);}break;case _SV2:_ta=this.___.getInt8(_H81);break;case _ue1:_ta=this.___.getUint16(_H81,true);break;case _0e1:_ta=this.___.getInt16(_H81,true);break;case _ij:_ta=this.___.getInt32(_H81,true);break;case _9j:_ta=this.___.getUint32(_H81,true);break;case _Nd2:_ta=this.___.getFloat32(_H81,true);break;case _UV2:_ta=this.___.getFloat64(_H81,true);break;case _XV2:var _Dg1=this.___.getUint32(_H81,
true);var _2h1=this.___.getUint32(_H81+4,true);_ta=new Long(_Dg1,_2h1);break;case _WV2:case _YV2:{_ta="";var chr;var _GH=0;var _HX2=_H81;while(_HX2<this._nW2){var _14=0;chr=-1;_GH=this.___.getUint8(_HX2++,true);if((_GH&0x80)==0){_14=_GH;}else if((_GH&0xe0)==0xc0){_14=(_GH&0x1f)<<6;_GH=this.___.getUint8(_HX2++,true);_14|=(_GH&0x3f);}else if((_GH&0xf0)==0xe0){_14=(_GH&0x0f)<<12;_GH=this.___.getUint8(_HX2++,true);_14|=(_GH&0x3f)<<6;_GH=this.___.getUint8(_HX2++,true);_14|=(_GH&0x3f);}else {_14=(_GH&0x07)<<18;_GH=this.___.getUint8(_HX2++,
true);_14|=(_GH&0x3f)<<12;_GH=this.___.getUint8(_HX2++,true);_14|=(_GH&0x3f)<<6;_GH=this.___.getUint8(_HX2++,true);_14|=(_GH&0x3f);chr=String.fromCharCode((_14>>10)+0xD7C0)+String.fromCharCode((_14&0x3FF)|0xDC00);}if(_14==0x00)break;if(chr<0)chr=String.fromCharCode(_14);_ta+=chr;}}break;}return _ta;};_gW2.prototype._IX2=function(_H81,_ec,_sc,_Zm,_JX2,_KX2){if(this._kW2==0)return;if(_ec<0)_ec=this._kW2;if(this._sV2==_PV2){while(_H81<0)_H81+=this._kW2;while(_H81>=this._kW2)_H81-=this._kW2;}else {if(_H81<0)return;
if(_H81>=this._kW2)return;if((_H81+_ec)>this._kW2)_ec=this._kW2-_H81;}var _pW2=new Uint8Array(this._iN);var _LX2=_H81;var _MX2=_H81;var _NX2=_LX2;var _OX2=0;var _PX2=_H81+_ec;var _QX2=_zW2(_sc);if((_sc===_WV2)||(_sc===_YV2)){_DX2=_EH(_Zm);_QX2=_DX2.length;if(_sc===_WV2)_QX2++;}var _RX2;if(_JX2<=0)_RX2=true;else {_RX2=false;_QX2=_M5(_QX2,_JX2);}var _SX2;if(((_RX2&&((_LX2%this._lW2)==0))||!_RX2)&&(_QX2<=_ec)){_SX2=true;}else {_SX2=false;}var i;while(_OX2<_ec){_MX2=_LX2%this._kW2;if(_SX2){if((_MX2+_QX2)<=this._kW2){
this._TX2(_sc,_MX2,_Zm);_MX2+=_QX2;_LX2+=_QX2;this._vW2(_MX2);}else {this._TX2(_sc,_MX2,_Zm);_MX2+=_QX2;if(_MX2>=this._kW2){this._vW2(this._kW2);_MX2=0;}_LX2+=_QX2;}_OX2+=_QX2;_SX2=false;}else {var _UX2;if(_RX2)_UX2=(_LX2+(this._lW2-1))&~(this._lW2-1);else _UX2=_NX2+_JX2;if(_UX2>_PX2){_UX2=_PX2;}var _VX2=_UX2-_LX2;if(_KX2){if((_MX2+_VX2)<=this._kW2){for(i=0;i<_VX2;i++){_pW2[_MX2+i]=0;}_MX2+=_VX2;this._vW2(_MX2);}else {var _WX2=_VX2;while(_WX2>0){var _XX2=_M5(_WX2,this._kW2-_MX2);for(i=0;i<_XX2;i++){_pW2[_MX2+i]=0;
}_MX2+=_XX2;this._vW2(_MX2);_MX2=_MX2%this._kW2;_WX2-=_XX2;}}}else {_MX2+=_VX2;this._vW2(_MX2);}_LX2+=_VX2;_OX2+=_VX2;_NX2=_LX2;if((_OX2+_QX2)<=_ec){_SX2=true;}}}return;};_gW2.prototype._TX2=function(_sc,_H81,_Zm){if(_H81<0)return;var size=_zW2(_sc);if(this._sV2!=_PV2){if(_H81>(this._kW2-size))return 0;}else {while(_H81>=this._kW2){_H81-=this._kW2;}}switch(_sc){case _VV2:if(_Zm==true){_Zm=1;}else {_Zm=0;}case _lN:this.___.setUint8(_H81,_Zm);this._vW2(_H81+1);return;case _SV2:this.___.setInt8(_H81,_Zm);this._vW2(_H81+1);
return;case _ue1:this.___.setUint16(_H81,_Zm,true);break;case _0e1:this.___.setInt16(_H81,_Zm,true);break;case _ij:this.___.setInt32(_H81,_Zm,true);break;case _9j:this.___.setUint32(_H81,_Zm,true);break;case _Nd2:this.___.setFloat32(_H81,_Zm,true);break;case _UV2:this.___.setFloat64(_H81,_Zm,true);break;case _XV2:var _FX2=yyGetInt64(_Zm);this.___.setUint32(_H81,_FX2._Dg1,true);this.___.setUint32(_H81+4,_FX2._2h1,true);break;case _WV2:case _YV2:{for(var i=0;i<_Zm.length;i++){var _5h1=_Zm.charCodeAt(i)&0xff;this.___.setUint8(_H81++,
_5h1,true);}if(_sc===_WV2){this.___.setUint8(_H81++,0,true);}this._vW2(_H81);}return;}this._vW2(_H81+size);};_gW2.prototype._e_=function(_zL,_H81){switch(_zL){case _hj:if(_H81<0)_H81=0;this._gN=_H81;break;case _ZV2:this._gN+=_H81;if(this._gN<0)this._gN=0;break;case _se1:this._gN=this._kW2-_H81;if(this._gN>this._kW2)this._gN=this._kW2;break;}return this._gN;};function buffer_seek(buffer,_YX2,offset){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return 0;return _G9._e_(yyGetInt32(_YX2),yyGetInt32(offset));}
function buffer_read(buffer,type){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return 0;return _G9._xW2(yyGetInt32(type));}function buffer_peek(buffer,offset,type){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return 0;return _G9._GX2(yyGetInt32(type),yyGetInt32(offset));}function buffer_poke(buffer,offset,type,value){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return 0;return _G9._TX2(yyGetInt32(type),yyGetInt32(offset),value);}function buffer_create_from_vertex_buffer(_ZX2,_sc,_hW2){_ZX2=yyGetInt32(_ZX2);if(_ZX2>=__X2.length||_ZX2<0){
console.log("buffer_create_from_vertex_buffer: Specified vertex buffer doesn't exist.");return -1;}_hW2=yyGetInt32(_hW2);var _2U2=__X2[_ZX2];if(_2U2){if(_2U2._ic){console.log("buffer_create_from_vertex_buffer: Can't create buffer from frozen vertex buffer.");return -1;}if(_2U2._kd()==0||_2U2._Kc()==null){console.log("buffer_create_from_vertex_buffer: Can't create buffer from empty vertex buffer.");return -1;}if(_hW2<1||_hW2>1024){console.log("buffer_create_from_vertex_buffer: Illegal alignment size");
return -1;}var size=_2U2._kd()*_2U2._Kc()._Bc;var _0Y2=buffer_create(size,yyGetInt32(_sc),_hW2);if(_0Y2>=0){var _1Y2=_fN._I4(_0Y2);var _b_=new Int8Array(_2U2._ld(),0,_2U2._kd()*_2U2._Kc()._Bc);var _2Y2=new Int8Array(_1Y2._iN);for(var i=0;i<size;i++)_2Y2[i]=_b_[i];_1Y2._nW2=size;return _0Y2;}else {console.log("buffer_create_from_vertex_buffer: unable to create buffer");}}return -1;}function buffer_create_from_vertex_buffer_ext(_ZX2,_sc,_hW2,_3Y2,_C_1){_ZX2=yyGetInt32(_ZX2);if(_ZX2>=__X2.length||_ZX2<0){console.log("buffer_create_from_vertex_buffer_ext: Specified vertex buffer doesn't exist.");
return -1;}_hW2=yyGetInt32(_hW2);var _2U2=__X2[_ZX2];if(_2U2){if(_2U2._ic){console.log("buffer_create_from_vertex_buffer_ext: Can't create buffer from frozen vertex buffer.");return -1;}if(_2U2._kd()==0||_2U2._Kc()==null){console.log("buffer_create_from_vertex_buffer_ext: Can't create buffer from empty vertex buffer.");return -1;}if(_hW2<1||_hW2>1024){console.log("buffer_create_from_vertex_buffer: Illegal alignment size");return -1;}var size=yyGetInt32(_C_1)*_2U2._Kc()._Bc;var offset=yyGetInt32(_3Y2)*_2U2._Kc()._Bc;
var _0Y2=buffer_create(size,yyGetInt32(_sc),_hW2);if(_0Y2>=0){var _1Y2=_fN._I4(_0Y2);var _b_=new Int8Array(_2U2._ld(),offset,size);var _2Y2=new Int8Array(_1Y2._iN);for(var i=0;i<size;i++)_2Y2[i]=_b_[i];_1Y2._nW2=size;return _0Y2;}else {console.log("buffer_create_from_vertex_buffer: unable to create buffer");}}return -1;}function buffer_copy_from_vertex_buffer(_ZX2,_3Y2,_C_1,_4Y2,_5Y2){_ZX2=yyGetInt32(_ZX2);if(_ZX2>=__X2.length||_ZX2<0){console.log("buffer_copy_from_vertex_buffer: Specified vertex buffer doesn't exist.");
return -1;}var _2U2=__X2[_ZX2];if(_2U2){if(_2U2._ic){console.log("buffer_copy_from_vertex_buffer: Can't create buffer from frozen vertex buffer.");return -1;}if(_2U2._kd()==0||_2U2._Kc()==null){console.log("buffer_copy_from_vertex_buffer: Can't create buffer from empty vertex buffer.");return -1;}var _J8=yyGetInt32(_C_1);var _6Y2=yyGetInt32(_3Y2);if(_J8<=0){console.log("buffer_copy_from_vertex_buffer: specified number of vertices is invalid");return -1;}if((_6Y2<0)||(_6Y2>=_2U2._kd())){console.log("buffer_copy_from_vertex_buffer: specified start vertex is out of range");
return -1;}if((_6Y2+_J8)>_2U2._kd()){_J8=_2U2._kd()-_6Y2;}var _G9=_fN._I4(yyGetInt32(_4Y2));if(!_G9){console.log("buffer_copy_from_vertex_buffer: specified buffer does not exist");return -1;}if((_5Y2<0)||(_5Y2>_G9._kW2)){console.log("buffer_copy_from_vertex_buffer: destination offset is out of range of the destination buffer");return -1;}var size=_J8*_2U2._Kc()._Bc;var offset=_6Y2*_2U2._Kc()._Bc;var _b_=new Int8Array(_2U2._ld(),offset,size);var _2Y2=new Int8Array(_G9._iN);for(var i=0;i<size;i++)_2Y2[i+_5Y2]=_b_[i];
return _4Y2;}return -1;}function buffer_create(_ec,_sc,_hW2){try{return _fN._Ke(new _gW2(yyGetInt32(_ec),yyGetInt32(_sc),yyGetInt32(_hW2)));}catch(e){alert("ArrayBuffer Error : This functionality requires at least IE10 "+e);return -1;}}function _7Y2(_8Y2){try{return _fN._Ke(new _gW2(_8Y2.length,_d_,1,_8Y2));}catch(e){alert("ArrayBuffer Error : This functionality requires at least IE10 "+e);return -1;}}function buffer_exists(_G81){var _G9=_fN._I4(yyGetInt32(_G81));if(!_G9)return 0;return 1;}function buffer_write(_N2,
_sc,_Zm){var _G9=_fN._I4(yyGetInt32(_N2));if(!_G9)return _OV2;return _G9._kN(yyGetInt32(_sc),_Zm);}function buffer_tell(_N2){var _G9=_fN._I4(yyGetInt32(_N2));if(!_G9)return _OV2;return _G9._gN;}function _9Y2(_aY2,_bY2,_cY2,_dY2,_eY2,_fY2,_gY2,_Rl,_hY2){if(_cY2<=0)return 0;if(_eY2<0)_eY2=_cY2;if(_hY2){while(_dY2<0)_dY2+=_cY2;while(_dY2>=_cY2)_dY2-=_cY2;if((_dY2+_eY2)<=_cY2)_hY2=false;}else {if(_dY2<0)_dY2=0;if(_dY2>=_cY2)_dY2=_cY2-1;if((_dY2+_eY2)>_cY2)_eY2=_cY2-_dY2;}var _iY2=_eY2;if(!_gY2){if(_aY2._kW2<=0){
return 0;}if(_Rl){while(_fY2<0)_fY2+=_aY2._kW2;while(_fY2>=_aY2._kW2)_fY2-=_aY2._kW2;if((_fY2+_iY2)<=_aY2._kW2)_Rl=false;}else {if(_fY2<0)_fY2=0;if(_fY2>=_aY2._kW2)_fY2=_aY2._kW2-1;if((_fY2+_iY2)>_aY2._kW2)_iY2=_aY2._kW2-_fY2;}}else {if(_fY2<0)_fY2=0;if((_fY2+_iY2)>_aY2._kW2){var _jY2=_fY2+_iY2;_aY2._rW2(_jY2);}}var _kY2=new Uint8Array(_bY2._iN);var _pW2=new Uint8Array(_aY2._iN);var i;if(_Rl||_hY2){var _lY2=_iY2;while(_lY2>0){var _mY2=_M5(_lY2,(_aY2._kW2-_fY2));_mY2=_M5(_mY2,_cY2-_dY2);for(i=0;i<_mY2;i++){
_pW2[_fY2+i]=_kY2[_dY2+i];}_fY2+=_mY2;this._vW2(_fY2);_dY2+=_mY2;_fY2=_fY2%_aY2._kW2;_dY2=_dY2%_cY2;_lY2-=_mY2;}}else {for(i=0;i<_cY2;i++){_pW2[_fY2+i]=_kY2[_dY2+i];}_aY2._vW2(_fY2+_iY2);}return 1;}function buffer_copy(_nY2,_oY2,size,_pY2,_qY2){var _G9=_fN._I4(yyGetInt32(_nY2));if(!_G9)return _OV2;var _rY2=_fN._I4(yyGetInt32(_pY2));if(!_rY2)return _OV2;var _sY2;if((_rY2._sV2==_8j)||(_rY2._kW2==0))_sY2=true;else _sY2=false;var wrap;if(_rY2._sV2==_PV2)wrap=true;else wrap=false;var _tY2;if(_G9._sV2==_PV2)_tY2=true;
else _tY2=false;var _P_=_9Y2(_rY2,_G9,_G9._kW2,yyGetInt32(_oY2),yyGetInt32(size),yyGetInt32(_qY2),_sY2,wrap,_tY2);}function buffer_get_type(_N2){var _G9=_fN._I4(yyGetInt32(_N2));if(!_G9)return _OV2;return _G9._sV2;}function buffer_get_alignment(_N2){var _G9=_fN._I4(yyGetInt32(_N2));if(!_G9)return _OV2;return _G9._lW2;}function buffer_get_size(_N2){var _G9=_fN._I4(yyGetInt32(_N2));if(!_G9)return _OV2;return _G9._kW2;}function buffer_resize(_N2,_uY2){var _G9=_fN._I4(yyGetInt32(_N2));if(!_G9)return _OV2;return _G9._rW2(yyGetInt32(_uY2));
}function buffer_sizeof(_sc){return _zW2(yyGetInt32(_sc));}function buffer_fill(buffer,offset,type,value,size){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return _OV2;return _G9._IX2(yyGetInt32(offset),yyGetInt32(size),yyGetInt32(type),value,-1,true);}function buffer_md5(buffer,offset,size){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return _OV2;return _G9._sX2(yyGetInt32(offset),yyGetInt32(size));}function buffer_crc32(buffer,offset,size){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return _OV2;return _G9._rX2(yyGetInt32(offset),
yyGetInt32(size));}function buffer_sha1(buffer,offset,size){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return _OV2;return _G9._tX2(yyGetInt32(offset),yyGetInt32(size));}function buffer_base64_encode(buffer,offset,size){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return _OV2;return _G9._vX2(yyGetInt32(offset),yyGetInt32(size));}function _vY2(c){return(_wY2(c)||(c=='+')||(c=='/'));}function _xY2(_yY2){var _zY2=_yY2.length;var _AY2=((_zY2+3)&~3)-4;var _BY2=0;if(_AY2>0){var _hd=_AY2+1;while((_hd<=_zY2)&&(_yY2.charAt(_hd)!='=')&&_vY2(_yY2.charAt(_hd))){
_BY2++;_hd++;}}var _CY2=(_AY2/4)*3;_CY2+=_BY2;return _CY2;};function buffer_base64_decode(_yY2){_yY2=yyGetString(_yY2);var _DY2=_xY2(_yY2);var _EY2=buffer_create(_DY2,_d_,1);var _G9=_fN._I4(_EY2);if(!_G9)return _OV2;_G9._BX2(_yY2,0);_G9._vW2(_DY2,true);return _EY2;}function buffer_compress(_FY2,_H81,_ec){var _G9=_fN._I4(yyGetInt32(_FY2));if(!_G9)return _OV2;var _zX2=_G9._wX2(yyGetInt32(_H81),yyGetInt32(_ec));if(_zX2!=undefined&&_zX2.length>0){var index=_7Y2(_zX2);return index;}return -1;}function buffer_decompress(_Ud1){
var _G9=_fN._I4(yyGetInt32(_Ud1));if(!_G9)return _OV2;var _GY2=_G9._AX2();if(_GY2!=undefined&&_GY2.length>0){var index=_7Y2(_GY2);return index;}return -1;}function buffer_base64_decode_ext(buffer,_yY2,offset){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return _OV2;var _DY2=_xY2(_yY2);if((offset+_DY2)>_G9._kW2){_G9._rW2(offset+_DY2);}_G9._vW2(offset+_DY2);_G9._BX2(yyGetString(_yY2),yyGetInt32(offset));}function buffer_save(buffer,filename){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return _OV2;return _G9._uX2(yyGetString(filename),
0,_G9._kW2);}function buffer_delete(_N2){_N2=yyGetInt32(_N2);var _G9=_fN._I4(_N2);if(!_G9)return _OV2;_G9._iN=null;_G9.___=null;_fN._vi(_N2);return 0;}function buffer_async_group_begin(){_Ma("buffer_async_group_begin()");}function buffer_async_group_option(){_Ma("buffer_async_group_option()");}function buffer_async_group_end(){return _HY2;}var _HY2=-1;function buffer_load_async(_wk,_2q,_H81,_ec){_wk=yyGetInt32(_wk);_2q=yyGetString(_2q);_H81=yyGetInt32(_H81);var _G9=_fN._I4(_wk);if(!_G9)return -1;var _gF=_IY2(_2q,
true);if(_gF){if(_ec>=0&&_gF.length>_ec){_gF=_gF.slice(0,_ec);}var _JY2=_G9._gN;_G9._gN=_H81;_G9._kN(_YV2,_gF);_G9._gN=_JY2;var _Ie=_Je._Ke(_wk,_2q,_jV2,undefined);_Ie._Oe=true;_Ie._Ne=200;_KY2=0;return _wk;}try{_2q=_Hb1(_2q);var _tz=new XMLHttpRequest();_tz.open("GET",_2q,true);_tz.responseType="arraybuffer";_tz.onload=_5s;_tz._vV2=_H81;_tz._xV2=yyGetInt32(_ec);_tz._LY2=_2q;_tz._uV2=_wk;_Je._Ke(_wk,_2q,_jV2,_tz);_tz.send(null);_KY2=_tz.status;}catch(e){return -1;}_HY2=_wk;return _wk;}function buffer_load(_2q){
_2q=yyGetString(_2q);var _MY2=true;var _gF=_IY2(_2q,true);if(_gF==null){_gF=_IY2(_2q,false);_MY2=false;}if(_gF==null)return -1;if(_MY2){return buffer_base64_decode(_gF);}else {var _u3=new ArrayBuffer(_gF.length);var _NY2=new Uint8Array(_u3);for(var i=0;i<_gF.length;++i){_NY2[i]=_gF.charCodeAt(i)&0xff;}return _7Y2(_NY2);}}function buffer_save_ext(buffer,filename,offset,size){var _G9=_fN._I4(yyGetInt32(buffer));if(!_G9)return _OV2;return _G9._uX2(yyGetString(filename),yyGetInt32(offset),yyGetInt32(size));}function buffer_save_async(buffer,
filename,offset,size){buffer=yyGetInt32(buffer);filename=yyGetString(filename);buffer_save_ext(buffer,filename,yyGetInt32(offset),yyGetInt32(size));var _Ie=_Je._Ke(buffer,filename,_jV2,undefined);_KY2=0;_Ie._Oe=true;_Ie._Ne=200;return buffer;}function buffer_load_ext(buffer,filename,offset){var _G9=_fN._I4(yyGetInt32(buffer));var _pW2=new Uint8Array(_G9._iN);buffer_load_partial(buffer,filename,0,_pW2.length-offset,offset)}function buffer_load_partial(buffer,filename,_oY2,_1i,_OY2){var _G9=_fN._I4(yyGetInt32(buffer));
if(!_G9)return _OV2;filename=yyGetString(filename);_OY2=yyGetInt32(_OY2);var _MY2=true;var _gF=_IY2(filename,true);if(_gF==null){_gF=_IY2(filename,false);_MY2=false;}if(_gF==null)return -1;var _pW2=new Uint8Array(_G9._iN);if(_MY2){var _DY2=_xY2(_gF);if((_OY2+_DY2)>_G9._kW2){_G9._rW2(_OY2+_DY2);_pW2=new Uint8Array(_G9._iN);}_G9._vW2(_OY2+_DY2);__V2(_gF,_1i,_pW2,_OY2,false,yyGetInt32(_oY2));}else {var _u3=new ArrayBuffer(_gF.length);var _NY2=new Uint8Array(_u3);for(var i=0;i<_gF.length;++i){_NY2[i]=_gF.charCodeAt(i)&0xff;
}var i,_35;if((_OY2+_1i)>_G9._kW2){_G9._rW2(_OY2+_1i);_pW2=new Uint8Array(_G9._iN);}_G9._vW2(_OY2+_1i);for(i=_OY2,_35=_oY2;i<_pW2.length&&_35<_NY2.length;i++,_35++){_pW2[i]=_NY2[_35];}}}function buffer_get_address(_N2){var _G9=_fN._I4(yyGetInt32(_N2));if(!_G9)return undefined;return _G9._iN;}function buffer_get_surface(_wk,_PY2,_H81){var _G9=_fN._I4(yyGetInt32(_wk));var _qr=_gr._I4(yyGetInt32(_PY2));if(!_G9||!_qr)return false;var data=null;var _hr=_qr._59;try{data=_hr._Qi1(0,0,_qr._3c,_qr._4c);}catch(_fj){return false;
}var _QY2=data.data;_G9._e_(_hj,yyGetInt32(_H81));for(var i=0;i<_QY2.length;i++){_G9._TX2(_lN,i,_QY2[i]);}return true;}function buffer_set_used_size(_N2,_ec){var _G9=_fN._I4(yyGetInt32(_N2));if(!_G9)return false;_G9._vW2(yyGetInt32(_ec));}function buffer_set_surface(_wk,_PY2,_H81){var _G9=_fN._I4(yyGetInt32(_wk));var _qr=_gr._I4(yyGetInt32(_PY2));if(!_G9||!_qr)return false;var data=null;var _hr=_qr._59;try{var _RY2=_hr.createImageData(_qr._3c,_qr._4c);var data=_RY2.data;var _1i=_qr._3c*_qr._4c*4;for(var i=0;i<_1i;
i++){data[i]=_G9._GX2(_lN,i+_H81);}_hr._SY2(_RY2,0,0);}catch(_fj){return false;}return true;}var vertex_create_buffer=function(){_Ma("vertex_create_buffer");};var vertex_create_buffer_ext=function(size){_Ma("vertex_create_buffer_ext");};var vertex_delete_buffer=function(buffer){_Ma("vertex_delete_buffer");};var vertex_begin=function(buffer,_Ig){_Ma("vertex_begin");};var vertex_end=function(buffer){_Ma("vertex_end");};var vertex_position=function(buffer,x,y){_Ma("vertex_position");};var vertex_position_3d=function(buffer,
x,y,z){_Ma("vertex_position_3d");};var vertex_colour=function(buffer,_q3,alpha){_Ma("vertex_colour");};var vertex_color=function(buffer,_q3,alpha){_Ma("vertex_color");};var _TY2=function(buffer,_i3,_j3,_k3,_l3){_Ma("vertex_rgba");};var vertex_argb=function(buffer,_i3,_j3,_k3,_l3){_Ma("vertex_argb");};var vertex_texcoord=function(buffer,_04,_14){_Ma("vertex_texcoord");};var vertex_normal=function(buffer,x,y,z){_Ma("vertex_normal");};var vertex_float1=function(buffer,x){_Ma("vertex_float1");};var vertex_float2=function(buffer,
x,y){_Ma("vertex_float2");};var vertex_float3=function(buffer,x,y,z){_Ma("vertex_float3");};var vertex_float4=function(buffer,x,y,z,w){_Ma("vertex_float4");};var vertex_ubyte4=function(buffer,x,y,z,w){_Ma("vertex_ubyte4");};var vertex_freeze=function(buffer){_Ma("vertex_freeze");};var vertex_submit=function(buffer){_Ma("vertex_submit");};var vertex_get_number=function(buffer){_Ma("vertex_get_number");};var vertex_get_buffer_size=function(buffer){_Ma("vertex_get_buffer_size");};var vertex_create_buffer_from_buffer=function(buffer){
_Ma("vertex_create_buffer_from_buffer");};var vertex_create_buffer_from_buffer_ext=function(buffer){_Ma("vertex_create_buffer_from_buffer_ext");};var draw_flush=function(){};var _UY2=8*1024;var __X2=[];function _VY2(){vertex_create_buffer=_WY2;vertex_create_buffer_ext=_XY2;vertex_create_buffer_from_buffer=_YY2;vertex_create_buffer_from_buffer_ext=_ZY2;vertex_delete_buffer=__Y2;vertex_begin=_0Z2;vertex_end=_1Z2;vertex_position=_2Z2;vertex_position_3d=_3Z2;vertex_colour=_4Z2;vertex_color=_4Z2;_TY2=_5Z2;
vertex_argb=_6Z2;vertex_texcoord=_7Z2;vertex_normal=_8Z2;vertex_float1=_9Z2;vertex_float2=_aZ2;vertex_float3=_bZ2;vertex_float4=_cZ2;vertex_ubyte4=_dZ2;vertex_freeze=_eZ2;vertex_submit=_fZ2;vertex_get_number=_gZ2;vertex_get_buffer_size=_hZ2;draw_flush=_iZ2;}function _ZY2(_wk,_ae1,_dY2,_jZ2){_ae1=yyGetInt32(_ae1);_dY2=yyGetInt32(_dY2);_jZ2=yyGetInt32(_jZ2);var _kd1=0;var _X22=_i7._Pb(_ae1);var _G9=_fN._I4(yyGetInt32(_wk));if(!_G9||!_X22)return -1;if(_jZ2==-1){_dY2=0;_kd1=_G9._nW2;_jZ2=_kd1/_X22._Bc;}else {
_kd1=_jZ2*_X22._Bc;if((_kd1+_dY2)>_G9._nW2){_kd1=(_G9._nW2-_dY2);_jZ2=~~(_kd1/_X22._Bc);_kd1=_jZ2*_X22._Bc;}}var _kZ2=vertex_create_buffer_ext(_kd1);var _lZ2=__X2[_kZ2];var _kY2=new Uint8Array(_G9._iN);var _pW2=new Uint8Array(_lZ2._ld());_lZ2._Gc(_ae1);var src=_dY2;for(var i=0;i<_kd1;i++){_pW2[i]=_kY2[src++];}_lZ2._id(_jZ2);_lZ2._Ic();return _kZ2;}function _YY2(_wk,_ae1){return _ZY2(_wk,_ae1,0,-1);}function _WY2(){return vertex_create_buffer_ext(_UY2);}function _XY2(_ec){var _mZ2=new _dc(yyGetInt32(_ec));var _nZ2=__X2.length;
for(var i=0;i<__X2;i++){if((__X2[i]===null)||(__X2[i]===undefined)){_nZ2=i;break;}}__X2[_nZ2]=_mZ2;return _nZ2;}function __Y2(_wk){__X2[yyGetInt32(_wk)]=null;}function _0Z2(_wk,_ae1){__X2[yyGetInt32(_wk)]._Gc(yyGetInt32(_ae1));}function _1Z2(_wk){__X2[yyGetInt32(_wk)]._Ic();}function _2Z2(_wk,x,y){__X2[yyGetInt32(_wk)]._Lc(yyGetReal(x),yyGetReal(y));}function _3Z2(_wk,x,y,z){__X2[yyGetInt32(_wk)]._Oc(yyGetReal(x),yyGetReal(y),yyGetReal(z));}function _4Z2(_wk,_q3,alpha){__X2[yyGetInt32(_wk)]._Qc(yyGetInt32(_q3),
yyGetReal(alpha));}function _5Z2(_wk,_Vc){__X2[yyGetInt32(_wk)]._Uc(yyGetInt32(_Vc));}function _6Z2(_wk,_Xc){__X2[yyGetInt32(_wk)]._Wc(yyGetInt32(_Xc));}function _7Z2(_wk,_04,_14){__X2[yyGetInt32(_wk)]._Yc(yyGetReal(_04),yyGetReal(_14));}function _8Z2(_wk,x,y,z){__X2[yyGetInt32(_wk)].__c(yyGetReal(x),yyGetReal(y),yyGetReal(z));}function _9Z2(_wk,x){__X2[yyGetInt32(_wk)]._1d(yyGetReal(x));}function _aZ2(_wk,x,y){__X2[yyGetInt32(_wk)]._3d(yyGetReal(x),yyGetReal(y));}function _bZ2(_wk,x,y,z){__X2[yyGetInt32(_wk)]._4d(yyGetReal(x),
yyGetReal(y),yyGetReal(z));}function _cZ2(_wk,x,y,z,w){__X2[yyGetInt32(_wk)]._5d(yyGetReal(x),yyGetReal(y),yyGetReal(z),yyGetReal(w));}function _dZ2(_wk,x,y,z,w){__X2[yyGetInt32(_wk)]._7d(yyGetInt32(x),yyGetInt32(y),yyGetInt32(z),yyGetInt32(w));}function _eZ2(_wk){var _mZ2=__X2[yyGetInt32(_wk)];if(_mZ2){_mZ2._9d();}}function _iZ2(){_i7._Fi1();}function _fZ2(_wk,_ed,_fd){_i7._Fi1();var _Zb,_mZ2=__X2[yyGetInt32(_wk)];if(_mZ2){if(_y9!=-1){var _eY1=_oZ2[_y9]._fY1;var _W22=_mZ2._Kc();if(_W22._vc.length<_eY1._1Y1.length){
_Ch("Trying to use a vertex buffer with too few inputs for the seleted shader.");}}_mZ2._dd(_Cb(yyGetInt32(_ed)),_fd);}}function _gZ2(_wk){var _mZ2=__X2[yyGetInt32(_wk)];if(_mZ2){return _mZ2._kd();}return 0;}function _hZ2(_wk){var _mZ2=__X2[yyGetInt32(_wk)];if(_mZ2){return _mZ2._ld().byteLength;}return 0;}/*@constructor */function _RL2(){this.__type="[BuiltIn]";this.room=0;this.room_first=0;this.room_last=0;this.transition_kind=0;this.transition_steps=0;this.score=0;this.lives=0;this.health=100;this.game_id=0;
this.working_directory="/";this.temp_directory="/";this.program_directory="/";this.delta_time=0;this._pZ2=0;this.room_width=0;this.room_height=0;this.room_caption="room";this.room_speed=30;this.room_persistent=false;this.background_color=0x00000000;this.background_showcolor=false;this._qZ2=false;this._rZ2=false;this._sZ2=0;this._tZ2=0;this._uZ2=0;this._vZ2=0;this._wZ2=0;this._xZ2=0;this._yZ2=0;this._zZ2=1.0;this._AZ2=1.0;this._BZ2=0;this._CZ2=0;this._DZ2=0;this._EZ2=1.0;this.view_enabled=false;this.view_current=0;
this.view_visible=0;this.view_xview=0;this.view_yview=0;this.view_wview=0;this.view_hview=0;this.view_xport=0;this.view_yport=0;this.view_wport=0;this.view_hport=0;this.view_angle=0;this.view_hborder=0;this.view_vborder=0;this.view_hspeed=0;this.view_vspeed=0;this.view_object=0;this.mouse_x=0;this.mouse_y=0;this.mouse_button=0;this.mouse_lastbutton=0;this.keyboard_key=0;this.keyboard_lastkey=0;this.keyboard_lastchar="";this.keyboard_string="";this.webgl_enabled=false;this.show_score=false;this.show_lives=false;
this.show_health=false;this.caption_score="score";this.caption_lives="lives";this.caption_health="health";this.fps=0;this.fps_real=0;this.current_time=0;this.current_year=0;this.current_month=0;this.current_day=0;this.current_weekday=0;this.current_hour=0;this.current_minute=0;this.current_second=0;this.event_action=0;this._bQ2=0;this.error_occurred=0;this.error_last=0;this.gamemaker_registered=true;this.gamemaker_pro=true;this._FZ2=8.2;this.async_load=-1;this.event_data=-1;this._GZ2=-1;this.debug_mode=false;
this.application_surface=-1;this.view_visible=[];this.view_xview=[];this.view_yview=[];this.view_wview=[];this.view_hview=[];this.view_xport=[];this.view_yport=[];this.view_wport=[];this.view_hport=[];this.view_angle=[];this.view_hborder=[];this.view_vborder=[];this.view_hspeed=[];this.view_vspeed=[];this.view_object=[];this.view_surface_id=[];this.view_camera=[];this._qZ2=[];this._rZ2=[];this._sZ2=[];this._tZ2=[];this._uZ2=[];this._vZ2=[];this._wZ2=[];this._xZ2=[];this._yZ2=[];this._zZ2=[];this._AZ2=[];
this._BZ2=[];this._CZ2=[];this._DZ2=[];this._EZ2=[];}_RL2.prototype.get_argument_relative=function(_N2){return _Yk;};_RL2.prototype.get_instance_id=function(_N2){return _x2._RN._I4(_N2).id;};_RL2.prototype.get_instance_count=function(){return _x2._RN.length;};_RL2.prototype.set_view_enable=function(_My){_x2._af=yyGetBool(_My);};_RL2.prototype.get_view_enable=function(){return _x2._af;};_RL2.prototype.get_browser_width=function(){return _TJ();};_RL2.prototype.get_browser_height=function(){return _UJ();
};_RL2.prototype.get_delta_time=function(){return this.delta_time;};_RL2.prototype.get_os_type=function(){return _M91;};_RL2.prototype.get_os_device=function(){return _An1();};_RL2.prototype.get_os_browser=function(){return _Cn1();};_RL2.prototype.get_os_version=function(){return _Dn1();};_RL2.prototype.get_async_load=function(){return this.async_load;};_RL2.prototype.get_event_data=function(){return this.event_data;};_RL2.prototype.get_display_aa=function(){return 0;};_RL2.prototype.get_iap_data=function(){
return this._GZ2;};_RL2.prototype.set_current_room=function(_Nn){room_goto(yyGetInt32(_Nn));};_RL2.prototype.get_current_room=function(){return _x2.id;};_RL2.prototype.setbackground_color=function(_F2){_x2._HZ2=this.background_color=yyGetInt32(_F2);};_RL2.prototype.getbackground_color=function(){return this.background_color;};_RL2.prototype._IZ2=function(){return g_pBuiltIn.application_surface;};_RL2.prototype._JZ2=function(_F2){g_pBuiltIn.view_visible[0]=~~_F2;};_RL2.prototype._KZ2=function(_F2){g_pBuiltIn.view_xview[0]=~~_F2;
};_RL2.prototype._LZ2=function(_F2){g_pBuiltIn.view_yview[0]=~~_F2;};_RL2.prototype._MZ2=function(_F2){g_pBuiltIn.view_wview[0]=~~_F2;};_RL2.prototype._NZ2=function(_F2){g_pBuiltIn.view_hview[0]=~~_F2;};_RL2.prototype._OZ2=function(_F2){g_pBuiltIn.view_xport[0]=~~_F2;};_RL2.prototype._PZ2=function(_F2){g_pBuiltIn.view_yport[0]=~~_F2;};_RL2.prototype._QZ2=function(_F2){g_pBuiltIn.view_wport[0]=~~_F2;};_RL2.prototype._RZ2=function(_F2){g_pBuiltIn.view_hport[0]=~~_F2;};_RL2.prototype._SZ2=function(_F2){
g_pBuiltIn.view_angle[0]=_F2;};_RL2.prototype._TZ2=function(_F2){g_pBuiltIn.view_hborder[0]=~~_F2;};_RL2.prototype._UZ2=function(_F2){g_pBuiltIn.view_vborder[0]=~~_F2;};_RL2.prototype._VZ2=function(_F2){g_pBuiltIn.view_hspeed[0]=~~_F2;};_RL2.prototype._WZ2=function(_F2){g_pBuiltIn.view_vspeed[0]=~~_F2;};_RL2.prototype._XZ2=function(_F2){g_pBuiltIn.view_object[0]=~~_F2;};_RL2.prototype._YZ2=function(_F2){g_pBuiltIn.view_surface_id[0]=~~_F2;};_RL2.prototype._ZZ2=function(_F2){return g_pBuiltIn.view_visible[0];
};_RL2.prototype.__Z2=function(_F2){return g_pBuiltIn.view_xview[0];};_RL2.prototype._0_2=function(_F2){return g_pBuiltIn.view_yview[0];};_RL2.prototype._1_2=function(_F2){return g_pBuiltIn.view_wview[0];};_RL2.prototype._2_2=function(_F2){return g_pBuiltIn.view_hview[0];};_RL2.prototype._3_2=function(_F2){return g_pBuiltIn.view_xport[0];};_RL2.prototype._4_2=function(_F2){return g_pBuiltIn.view_yport[0];};_RL2.prototype._5_2=function(_F2){return g_pBuiltIn.view_wport[0];};_RL2.prototype._6_2=function(_F2){
return g_pBuiltIn.view_hport[0];};_RL2.prototype._7_2=function(_F2){return g_pBuiltIn.view_angle[0];};_RL2.prototype._8_2=function(_F2){return g_pBuiltIn.view_hborder[0];};_RL2.prototype._9_2=function(_F2){return g_pBuiltIn.view_vborder[0];};_RL2.prototype._a_2=function(_F2){return g_pBuiltIn.view_hspeed[0];};_RL2.prototype._b_2=function(_F2){return g_pBuiltIn.view_vspeed[0];};_RL2.prototype._c_2=function(_F2){return g_pBuiltIn.view_object[0];};_RL2.prototype._d_2=function(_F2){return g_pBuiltIn.view_surface_id[0];
};_RL2.prototype._e_2=function(_F2){g_pBuiltIn.view_camera[0]=_F2;};_RL2.prototype._f_2=function(_F2){return g_pBuiltIn.view_camera[0];};_RL2.prototype._g_2=function(_F2){g_pBuiltIn._qZ2[0]=_F2;};_RL2.prototype._h_2=function(_F2){g_pBuiltIn._rZ2[0]=_F2;};_RL2.prototype._i_2=function(_F2){g_pBuiltIn._sZ2[0]=_F2;};_RL2.prototype._j_2=function(_F2){g_pBuiltIn._tZ2[0]=~~_F2;};_RL2.prototype._k_2=function(_F2){g_pBuiltIn._uZ2[0]=~~_F2;};_RL2.prototype._l_2=function(_F2){g_pBuiltIn._vZ2[0]=~~_F2;};_RL2.prototype._m_2=function(_F2){
g_pBuiltIn._wZ2[0]=~~_F2;};_RL2.prototype._n_2=function(_F2){g_pBuiltIn._xZ2[0]=_F2;};_RL2.prototype._o_2=function(_F2){g_pBuiltIn._yZ2[0]=_F2;};_RL2.prototype._p_2=function(_F2){g_pBuiltIn._zZ2[0]=_F2;};_RL2.prototype._q_2=function(_F2){g_pBuiltIn._AZ2[0]=_F2;};_RL2.prototype._r_2=function(_F2){g_pBuiltIn._BZ2[0]=_F2;};_RL2.prototype._s_2=function(_F2){g_pBuiltIn._CZ2[0]=_F2;};_RL2.prototype._t_2=function(_F2){g_pBuiltIn._DZ2[0]=_F2&0xffffff;};_RL2.prototype.setbackground_showcolor=function(_F2){
_x2._u_2=yyGetBool(_F2);};_RL2.prototype.getbackground_showcolor=function(_F2){return _x2._u_2;};_RL2.prototype._v_2=function(_F2){if(_F2<0)_F2=0;if(_F2>1)_F2=1;g_pBuiltIn._EZ2[0]=_F2;};_RL2.prototype._w_2=function(){return g_pBuiltIn._qZ2[0];};_RL2.prototype._x_2=function(){return g_pBuiltIn._rZ2[0];};_RL2.prototype._y_2=function(){return g_pBuiltIn._sZ2[0];};_RL2.prototype._z_2=function(){return g_pBuiltIn._tZ2[0];};_RL2.prototype._A_2=function(){return g_pBuiltIn._uZ2[0];};_RL2.prototype._B_2=function(){
return g_pBuiltIn._vZ2[0];};_RL2.prototype._C_2=function(){return g_pBuiltIn._wZ2[0];};_RL2.prototype._D_2=function(){return g_pBuiltIn._xZ2[0];};_RL2.prototype._E_2=function(){return g_pBuiltIn._yZ2[0];};_RL2.prototype._F_2=function(){return g_pBuiltIn._zZ2[0];};_RL2.prototype._G_2=function(){return g_pBuiltIn._AZ2[0];};_RL2.prototype._H_2=function(){return g_pBuiltIn._BZ2[0];};_RL2.prototype._I_2=function(){return g_pBuiltIn._CZ2[0];};_RL2.prototype._J_2=function(){return g_pBuiltIn._DZ2[0];};_RL2.prototype._K_2=function(){
return g_pBuiltIn._EZ2[0];};_RL2.prototype.set_room_speed=function(_F2){_F2=yyGetReal(_F2);if(_z2){return _B2._gJ(_F2);}else {return _x2._L_2(_F2);}};_RL2.prototype.get_room_speed=function(_F2){if(_z2){return _B2._C2(_F2);}else {return _x2._M_2;}};_RL2.prototype.set_room_caption=function(_F2){return _x2._N_2(yyGetString(_F2));};_RL2.prototype.set_room_width=function(_F2){return _x2._O_2(yyGetReal(_F2));};_RL2.prototype.set_room_height=function(_F2){return _x2._P_2(yyGetReal(_F2));};_RL2.prototype.set_room_persistent=function(_F2){
return _x2._sw2(yyGetBool(_F2));};_RL2.prototype.set_cursor_sprite=function(_F2){_ol=_F2;};_RL2.prototype.get_cursor_sprite=function(){return _ol;};_RL2.prototype.get_current_time=function(){var _N5=get_timer();return ~~(_N5/1000);};_RL2.prototype.get_current_year=function(){var _Fl=new Date();return(_mC)?_Fl.getFullYear():_Fl.getUTCFullYear();};_RL2.prototype.get_current_month=function(){var _Fl=new Date();return(_mC)?_Fl.getMonth()+1:_Fl.getUTCMonth()+1;};_RL2.prototype.get_current_day=function(){var _Fl=new Date();
return(_mC)?_Fl.getDate():_Fl.getUTCDate();};_RL2.prototype.get_current_weekday=function(){var _Fl=new Date();return(_mC)?_Fl.getDay():_Fl.getUTCDay();};_RL2.prototype.get_current_hour=function(){var _Fl=new Date();return(_mC)?_Fl.getHours():_Fl.getUTCHours();};_RL2.prototype.get_current_minute=function(){var _Fl=new Date();return(_mC)?_Fl.getMinutes():_Fl.getUTCMinutes();};_RL2.prototype.get_current_second=function(){var _Fl=new Date();return(_mC)?_Fl.getSeconds():_Fl.getUTCSeconds();};_RL2.prototype.get_current_event_type=function(){
return _Q_2(_oH);};_RL2.prototype.get_current_event_number=function(){return _R_2(_oH,_qH);};_RL2.prototype.get_current_event_object=function(){return _mH._IP;};_RL2.prototype.set_lives_function=function(_Jm){var _Km=this.lives;this.lives=_0k(yyGetReal(_Jm));if((_Km>0)&&(this.lives<=0)){_Lm._R4(_Mm,0);}};_RL2.prototype.set_health_function=function(_Vm){var _Wm=0.0;_Wm=this.health;this.health=yyGetReal(_Vm);if((_Wm>0)&&(this.health<=0)){_Lm._R4(_Xm,0);}};_RL2.prototype.get_mouse_x=function(){return window_views_mouse_get_x();
};_RL2.prototype.get_mouse_y=function(){return window_views_mouse_get_y();};_RL2.prototype._ri=function(_S_2){for(var _14=0;_14<_S_2.length;_14++){var _kg=_S_2[_14];this[_14]=_kg;}};var _T_2="cleanup",_U_2="step",_V_2="layer_begin",_W_2="layer_end",_X_2="room_start",_Y_2="room_end";var _qW="gmAffectsSingleLayerOnly";var _Z_2="effect_";var ___2="_";var _003="filter_";var _103="_";var _203="_";var _303="_shader";var _403="_info";var _503=0,_603=1,_rW=2;var _703=0,_DU=1,_803=2,_wW=3,_FU=4,_903=5;var _a03=0;function _b03(){
if(_a03>=Number.MAX_SAFE_INTEGER)_a03=0;else _a03++;return _a03;}/*@constructor */function _c03(){this.__type="[EffectParameterInfo]";this.pName=null;this._d03=null;this.type=0;this.elements=0;this.arraysize=0;this._yR=null;this._e03=null;this._f03=null;this._g03=false;this._h03=false;}/*@constructor */function _i03(_dU2){this.__type="[EffectInfo]";this.pName=null;this._d03=null;this._j03=null;this.type=0;this._k03=0;this._AR=[];}_i03.prototype._l03=function(_m03){var _n03=JSON.parse(_m03);this.pName=_n03.name;
this._d03=_n03.displayname;this.type=_n03.type=="filter"?_603:_rW;if(this.type==_rW){this._j03=_n03.name;}else {this._j03=_n03.name+_303;}var parameters=_n03.parameters;this._k03=parameters.length;this._AR=[];for(var i=0;i<parameters.length;i++){var _o03=parameters[i];var _p03=new _c03();_p03.pName=_o03.name;_p03._d03=_o03.displayname;switch(_o03.type){case "float":_p03.type=_DU;break;case "int":_p03.type=_803;break;case "bool":_p03.type=_wW;break;case "sampler":_p03.type=_FU;break;}_p03.elements=_o03.elements;
_p03.arraysize=_o03.arraysize!==undefined?_o03.arraysize:1;_p03._yR=[];var defaults=_o03.defaults;if(defaults===undefined){defaults=_o03.default;}if(defaults instanceof Array){for(var _35=0;_35<defaults.length;_35++){_p03._yR.push(defaults[_35]);}}else {_p03._yR.push(defaults);}_p03._e03=[];if(_o03.min instanceof Array){for(var _35=0;_35<_o03.min.length;_35++){_p03._e03.push(_o03.min[_35]);}}else {_p03._e03.push(_o03.min);}_p03._f03=[];if(_o03.max instanceof Array){for(var _35=0;_35<_o03.max.length;_35++){_p03._f03.push(_o03.max[_35]);
}}else {_p03._f03.push(_o03.max);}if(_o03.options!=undefined){if(_p03.type==_FU){var _q03=_o03.options.split('|');for(var _35=0;_35<_q03.length;_35++){if(_q03[_35]=="repeat"){_p03._g03=true;}else if(_q03[_35]=="filter"){_p03._h03=true;}}}}this._AR.push(_p03);}};/*@constructor */function _r03(_s03,_t03,_u03){this.__type="[FilterHost]";this._v03=_s03;this._w03=_t03;this._7U=_u03;this._x03=-1;this._kp1=-1;this._lp1=-1;this._y03=-1;this._z03=-1;this._A03=-1;this._B03=-1;this._C03=-1;this._D03=-1;this._E03=[];
this._F03=[];this._G03=[];var _3X="";_3X="gml"+_T_2;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_T_2]!=undefined)){_3X=g_var2obf[_T_2];}this[_3X]=this._H03;_3X="gml"+_U_2;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_U_2]!=undefined)){_3X=g_var2obf[_U_2];}this[_3X]=this._3F1;_3X="gml"+_V_2;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_V_2]!=undefined)){_3X=g_var2obf[_V_2];}this[_3X]=this._I03;_3X="gml"+_W_2;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_W_2]!=undefined)){_3X=g_var2obf[_W_2];
}this[_3X]=this._J03;_3X="gml"+_X_2;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_X_2]!=undefined)){_3X=g_var2obf[_X_2];}this[_3X]=this._K03;_3X="gml"+_Y_2;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Y_2]!=undefined)){_3X=g_var2obf[_Y_2];}this[_3X]=this._L03;var _pW=_qW;this[_pW]=false;this._M03();this._N03();}_r03.prototype._H03=function(){this._x03=-1;};_r03.prototype._3F1=function(){if(this._kp1==-1){this._kp1=_tJ();}else {this._lp1=_tJ()-this._kp1;}};_r03.prototype._I03=function(_rT){if(_i7==null)return -1;
if((_oH!=_YC2)||(_qH!=0))return;var _O03=false;var _pW=_qW;var _bU2=this[_pW];if(_bU2!==undefined){_O03=_bU2;}if(_O03){var _P03=__h1;var _Q03=_0i1;var _R03=surface_get_target();if(_R03!=-1){_P03=surface_get_width(_R03);_Q03=surface_get_height(_R03);}this._x03=_hW._S03(_P03,_Q03);this._T03=_6A(_Zz);this._U03=_6A(_tA);var _uA=_6A(_wA);if(_5z==-1){this._V03=_uA;}else {var _xA=new _Dy();_xA._yA();_xA._z5[_4z]=-1.0;this._V03.Multiply(_uA,_xA);}surface_set_target(this._x03);draw_clear_alpha(0,0.0);_Yz(_Zz,this._T03);
var _W03=_li1._cx2();_W03._Ni1(this._U03);_W03._Oi1(this._V03);_W03._Pi1();_i7._p9._YB();if((_i7._p9._q9(_d9._v9)==false)&&(_i7._p9._q9(_d9._r9)==_d9._e9)&&(_i7._p9._q9(_d9._s9)==_d9._g9)){_i7._p9._F9(_d9._v9,true);_i7._p9._F9(_d9._t9,_d9._X_1);_i7._p9._F9(_d9._u9,_d9._h9);}}};_r03.prototype._J03=function(_rT){if(_i7==null)return -1;if((_oH!=_YC2)||(_qH!=0))return;var _X03=surface_get_target();if(_X03==-1)return;var _P03=surface_get_width(_X03);var _Q03=surface_get_height(_X03);var _Y03=-1;if(this._x03!=-1){
_i7._p9._ZB(true);surface_reset_target();_Yz(_Zz,this._T03);var _W03=_li1._cx2();_W03._Ni1(this._U03);_W03._Oi1(this._V03);_W03._Pi1();}else {_Y03=_hW._S03(_P03,_Q03);}var _Z03=_y9;_i7._p9._YB();var __03=_6A(_Zz);var _013=_6A(_tA);var _113=_6A(_wA);var _vT=_X9;var _213=0.0;var _313=0.0;var _Mw2=_li1._mi1();if(_Mw2!=null){_213=_Mw2._1x2();_313=_Mw2._3x2();}if(this._x03==-1){surface_set_target(_Y03);}shader_set(this._w03);_i7._p9._F9(_d9._VA,false);_i7._p9._F9(_d9._YA,false);_i7._p9._F9(_d9._UA,false);_i7._p9._F9(_d9._6B,
_d9._zY1);var _413=new _Dy();var _513=new _Dy();var _613=new _Dy();_413._yA();_513._yA();_613._yA();_Yz(_Zz,_413);_Yz(_tA,_513);_Yz(_wA,_613);var _713=(this._lp1)/1000000.0;shader_set_uniform_f(this._y03,_713);shader_set_uniform_f(this._z03,_713);shader_set_uniform_f(this._A03,_P03,_Q03);shader_set_uniform_f(this._B03,(_P03>0)?(1.0/_P03):0.0,(_Q03>0)?(1.0/_Q03):0.0);shader_set_uniform_f(this._C03,_213,_313);shader_set_uniform_f(this._D03,(this._x03!=-1)?1.0:0.0);if((this._7U!=null)&&(this._E03!=null)){
for(var i=0;i<this._7U._k03;i++){var _813=this._7U._AR[i];var _bU2=this[_813.pName];if(_bU2!=null){if(_bU2 instanceof Array){switch(_813.type){case _DU:{shader_set_uniform_f_array(this._E03[i],_bU2);}break;case _803:case _wW:{shader_set_uniform_i_array(this._E03[i],_bU2);}break;}}else {switch(_813.type){case _DU:{shader_set_uniform_f(this._E03[i],_bU2);}break;case _803:case _wW:{shader_set_uniform_f(this._E03[i],_bU2);}break;case _FU:{var _913=_bU2;var _sz2=_H4._I4(_913);if((_sz2!=null)&&(_sz2._a13===undefined)&&(_sz2._xL===undefined)){
var _b13=this._E03[i];texture_set_stage(_b13,sprite_get_texture(_913,0));shader_set_uniform_f(this._F03[i],_sz2.width,_sz2.height);shader_set_uniform_f(this._G03[i],(_sz2.width>0)?(1.0/_sz2.width):0.0,(_sz2.height>0)?(1.0/_sz2.height):0.0);if(_813._g03){gpu_set_texrepeat_ext(_b13,true);}else {gpu_set_texrepeat_ext(_b13,false);}if(_813._h03){gpu_set_tex_filter_ext(_b13,true);}else {gpu_set_tex_filter_ext(_b13,false);}}}break;}}}}}if(this._x03!=-1){_i7._p9._F9(_d9._UA,true);_i7._p9._F9(_d9._v9,false);
_i7._p9._F9(_d9._r9,_d9._h9);_i7._p9._F9(_d9._s9,_d9._g9);}_X9=0.0;draw_surface_stretched(_X03,-1,-1,2,2,_Tm,1.0);if(this._x03!=-1){_hW._c13(this._x03);this._x03=-1;}else {surface_reset_target();_Yz(_Zz,_413);_Yz(_tA,_513);_Yz(_wA,_613);shader_set(-1);draw_surface_stretched(_Y03,-1,-1,2,2,_Tm,1.0);_hW._c13(_Y03);}_i7._p9._ZB(true);shader_set(_Z03);_X9=_vT;_Yz(_Zz,__03);_Yz(_tA,_013);_Yz(_wA,_113);};_r03.prototype._K03=function(){};_r03.prototype._L03=function(){surface_free(this._x03);this._x03=-1;
};_r03.prototype._M03=function(){if(this._v03==null)return;this._y03=shader_get_uniform(this._w03,"gm_vTime");this._z03=shader_get_uniform(this._w03,"gm_pTime");this._A03=shader_get_uniform(this._w03,"gm_pSurfaceDimensions");this._B03=shader_get_uniform(this._w03,"gm_pSurfaceTexelSize");this._C03=shader_get_uniform(this._w03,"gm_pCamOffset");this._D03=shader_get_uniform(this._w03,"gm_pPreMultiplyAlpha");};_r03.prototype._N03=function(){if(this._v03==null)return;if(this._7U==null)return;for(var i=0;
i<this._7U._k03;i++){if(this._7U._AR[i].type==_FU){this._E03[i]=shader_get_sampler_index(this._w03,this._7U._AR[i].pName);var _d13=this._7U._AR[i].pName+"Dimensions";this._F03[i]=shader_get_uniform(this._w03,_d13);_d13=this._7U._AR[i].pName+"TexelSize";this._G03[i]=shader_get_uniform(this._w03,_d13);}else {this._E03[i]=shader_get_uniform(this._w03,this._7U._AR[i].pName);this._F03[i]=-1;this._G03[i]=-1;}}};/*@constructor */function _e13(_f13){this.__type="[EffectInstanceRef]";this.__yyIsGMLObject=true;
this.instance=_f13;}/*@constructor */function _g13(_h13,_u03,_i13){this.__type="[EffectInstance]";this._oW=_h13;this._7U=_u03;this.id=_b03();this._j13=_i13;this._k13=-1;this._l13=[];}_g13.prototype._jW=function(){var _ct=new _e13(this);this._l13.push(new WeakRef(_ct));return _ct;};_g13.prototype._m13=function(){var _n13=[];for(var i=0;i<this._l13.length;i++){if(this._l13[i].deref()!==undefined){_n13.push(this._l13[i]);}}this._l13=_n13;return this._l13.length>0;};_g13.prototype._o13=function(){if(this._oW==null)return;
if(this._7U==null)return;for(var i=0;i<this._7U._k03;i++){var _813=this._7U._AR[i];var _p13=_813.elements*((_813.arraysize==0)?1:_813.arraysize);this._vW(_813.pName,_813.type,_p13,_813._yR);}};_g13.prototype._vW=function(_q13,_sc,_r13,_7_1){if(this._oW==null)return;if(_q13==null)return;if(_7_1==null)return;var _bU2=null;if(_r13>1){_bU2=[];for(var _35=0;_35<_r13;_35++){var _s13=null;switch(_sc){case _DU:_s13=_7_1[_35];break;case _803:_s13=_7_1[_35];break;case _wW:_s13=_7_1[_35]?1:0;break;case _FU:{var _913=_H4._t13(_7_1[_35]);
_s13=_913;break;}}_bU2.push(_s13);}}else {switch(_sc){case _DU:_bU2=_7_1[0];break;case _803:_bU2=_7_1[0];break;case _wW:_bU2=_7_1[0]?1:0;break;case _FU:{var _913=_H4._t13(_7_1[0]);_bU2=_913;break;}}}var _pW=_q13;if(this._7U.type==_rW){var _pW="gml"+_q13;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_q13]!=undefined)){_pW=g_var2obf[_q13];}}this._oW[_pW]=_bU2;};_g13.prototype._mW=function(_q13){if(this._oW==null)return null;if(this._7U==null)return null;for(var i=0;i<this._7U._k03;i++){var _813=this._7U._AR[i];
if(_813.pName==_q13){var _pW=_q13;if(this._7U.type==_rW){var _pW="gml"+_q13;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_q13]!=undefined)){_pW=g_var2obf[_q13];}}return this._oW[_pW];}}return null;};_g13.prototype._nW=function(){if(this._oW==null)return null;if(this._7U==null)return null;if(this._7U._k03==0)return {};var _u13={};_u13.__yyIsGMLObject=true;for(var i=0;i<this._7U._k03;i++){var _813=this._7U._AR[i];var _v13=this._mW(_813.pName);if(_v13!=null){var _pW="gml"+_813.pName;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_813.pName]!=undefined)){
_pW=g_var2obf[_813.pName];}_u13[_pW]=_v13;}}return _u13;};_g13.prototype._lW=function(){var _ta=[];for(var i=0;i<this._7U._k03;i++){var _813=this._7U._AR[i];_ta.push(_813.pName);}return _ta;};_g13.prototype._sW=function(_q13,_w13){if(this._oW==null)return false;if(this._7U==null)return false;if(_w13==null)return false;for(var i=0;i<this._7U._k03;i++){var _813=this._7U._AR[i];if(_813.pName==_q13){var _pW=_q13;if(this._7U.type==_rW){var _pW="gml"+_q13;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_q13]!=undefined)){
_pW=g_var2obf[_q13];}}this._oW[_pW]=_w13;return true;}}return false;};_g13.prototype._uW=function(_x13){if(this._oW==null)return false;if(this._7U==null)return false;if(this._7U._k03==0)return false;if(_x13==null)return false;for(var i=0;i<this._7U._k03;i++){var _fU=this._7U._AR[i].pName;var _pW="gml"+_fU;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_fU]!=undefined)){_pW=g_var2obf[_fU];}var _bU2=_x13[_pW];if(_bU2!==null&&_bU2!==undefined){this._sW(_fU,_bU2);}}return true;};function _y13(){this.width=0;this.height=0;
this._z13=-1;this._A13=-1;this._B13=false;}/*@constructor */function _6M2(){this.__type="[EffectManager]";this._C13={};this._D13=0;this._6w2=null;this._E13=[];}_6M2.prototype.__R=function(){if(this._6w2!==null){this._6w2=null;}this._6w2={};this._F13();};_6M2.prototype._8x2=function(){this._C13={};if(this._6w2!==null){this._6w2=null;}var i;for(i=0;i<this._E13.length;i++){var _G13=_E13[i];if(_G13!=null){surface_free(_G13._z13);}}this._E13=[];};_6M2.prototype._iW=function(_fW,_i13){if(_fW==null)return null;
var _7U=this._H13(_fW);var _I13=null;if(_7U.type==_rW){var _J13=_K13(_7U._j03);if(_J13!=-1){_I13=__yy_gml_object_create(null,_J13);//res.pObj->Add("@@Dispose@@", JS_SetupFunction(F_Effect_dispose));
}}else if(_7U.type==_603){var _L13=_y81(_7U._j03);if(_L13!=-1){var _v03=_vD.Shaders[_L13];_I13=new _r03(_v03,_L13,_7U);}}if((_I13!=null)&&(_7U!=null)){var _M13=new _g13(_I13,_7U,_i13);_M13._o13();var _BR=false;_M13._vW(_qW,_wW,1,[_BR]);return _M13;}return null;};_6M2.prototype._N13=function(_O13){if(_O13==null)_O13=_x2;
if(_O13==null)return;var _Zj=_O13._kS._Zj;for(var i=_Zj.length-1;i>=0;i--){var _aO=_Zj[i];this._P13(_O13,_aO);}};_6M2.prototype._Q13=function(_O13){if(_O13==null)_O13=_x2;if(_O13==null)return;for(var i=0;i<_O13._R13;i++){var _aO=_7t._QP(_O13,_O13._S13[i]);if(_aO!=null){_aO._SQ();}}_O13._T13();};_6M2.prototype._P13=function(_O13,_U13){if(_U13==null)return;var _7U=_U13._VQ();if(_7U!=null){var _gW=this._iW(_7U.pName,true);if(_gW!=null){_U13._QQ(_gW._jW());_O13._yW(_U13._rd);for(var i=0;i<_7U._LH;i++){var _813=_7U._AR[i];
_gW._vW(_813.pName,_813.type,_813.elements,_813._yR);}_gW._vW(_qW,_wW,1,[_7U._BR]);}}else {var _V13=_U13._GQ.substring(0,_Z_2.length)==_Z_2;var _W13=_U13._GQ.substring(0,_003.length)==_003;if(_V13||_W13){if(_U13._TQ()==null){var _X13=___2+_U13._GQ;var _gW=this._iW(_X13,true);if(_gW!=null){_U13._QQ(_gW._jW());_O13._yW(_U13._rd);_gW._vW(_qW,_wW,1,[false]);}}}}};_6M2.prototype._Y13=function(_O13,_U13){if(_U13==null)return;_U13._SQ();};_6M2.prototype._Z13=function(_O13){if(_O13==null)_O13=_x2;if(_O13==null)return;
for(var i=0;i<_O13._R13;i++){var _aO=_7t._QP(_O13,_O13._S13[i]);if(_aO!=null){_aO._LQ=_aO._MQ;if(_aO._EQ){var _5t=_aO._TQ().instance;if(_5t._k13!=this._D13){var _3X="gml"+_U_2;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_U_2]!=undefined)){_3X=g_var2obf[_U_2];}if(_5t._oW[_3X]!==undefined){_5t._oW[_3X]();}_5t._k13=this._D13;}if(!_5t._m13()){var _3X="gml"+_T_2;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_T_2]!=undefined)){_3X=g_var2obf[_T_2];}if(_5t._oW[_3X]!==undefined){_5t._oW[_3X]();}}}}}this.__13();
this._D13++;};_6M2.prototype._023=function(_L6,_O13,_123){if(_O13==undefined)_O13=null;if(_123==undefined)_123=false;if(_O13==null)_O13=_x2;if(_O13==null)return;for(var i=0;i<_O13._R13;i++){var _aO=_7t._QP(_O13,_O13._S13[i]);if((_aO!=null)&&(!_123||(_aO._EQ))){var _5t=_aO._TQ().instance;var _3X="gml"+_L6;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_L6]!=undefined)){_3X=g_var2obf[_L6];}if(_5t._oW[_3X]!==undefined){_5t._oW[_3X]();}}}};_6M2.prototype._kW=function(_223){return _223.instance!==undefined&&_223.instance.__type=="[EffectInstance]";
};_6M2.prototype._323=function(_223){return _223.instance._oW;};_6M2.prototype._H13=function(_fW){var _423=this._C13[_fW];if(_423!=null){return _423;}var _523=null;var _623=_fW+_403;var _723=variable_global_get(_623);if(_723!=null){_523=new _i03();_523._l03(_723);}if(_523==null){_523=new _i03();_523.pName=_fW;_523._d03=_fW;if((_fW.substring(0,_Z_2.length)==_Z_2)||(_fW.substring(0,(___2+_Z_2).length)==(___2+_Z_2))){_523.type=_rW;_523._j03=_fW;}else {_523.type=_603;_523._j03=_fW+_303;}}if(_523!=null){this._C13[_fW]=_523;
}return _523;};_6M2.prototype._F13=function(){var _823=_qS._a71.length;for(var i=0;i<_823;i++){var _6t=_qS._a71[i];if(_6t!=null){var _Zj=_6t._kS._Zj;for(var _923=_Zj.length-1;_923>=0;_923--){var _aO=_Zj[_923];if(_aO!=null){var _7U=_aO._VQ();if(_7U!=null){this._P13(_6t,_aO);}else {var _V13=_aO._GQ.substring(0,_Z_2.length)==_Z_2;var _W13=_aO._GQ.substring(0,_003.length)==_003;if(_V13||_W13){var _X13=___2+_aO._GQ;this._H13(_X13);this._P13(_6t,_aO);}}}}}}};_6M2.prototype._4N2=function(_fW,_a23){var _523=new _i03();
_523._l03(_a23);this._C13[_fW]=_523;};_6M2.prototype._S03=function(_q7,_r7){var i;for(i=0;i<this._E13.length;i++){var _b23=this._E13[i];if((_b23!=null)&&(_b23._B13==false)){if((_b23.width==_q7)&&(_b23.height==_r7)){if(surface_exists(_b23._z13)){_b23._B13=true;return _b23._z13;}}}}var _qr=new _y13();_qr.width=_q7;_qr.height=_r7;_qr._B13=true;_qr._z13=surface_create(_q7,_r7,_fr);_qr._A13=-1;this._E13[this._E13.length]=_qr;return _qr._z13;};_6M2.prototype._c13=function(_nf){var i;for(i=0;i<this._E13.length;
i++){var _b23=this._E13[i];if((_b23!=null)&&(_b23._z13==_nf)){if(_b23._B13==false){_0y2._1y2("Trying to release temp surface %s which isn't in use\n",_nf);}else {_b23._B13=false;_b23._A13=this._D13;}}}};_6M2.prototype.__13=function(){var i;for(i=0;i<this._E13.length;){var _b23=this._E13[i];if(_b23==null){this._E13.splice(i,1);}else {var _c23=false;if((_b23._B13==false)&&((this._D13-_b23._A13)>1)){_c23=true;}else if(!surface_exists(_b23._z13)){_c23=true;}if(_c23){surface_free(_b23._z13);this._E13.splice(i,
1);}else {i++;}}}};/*@constructor */function _d23(){this.enabled=false;this._e23=0.0;this._f23=0xffffffff;this._g23=1.0;this._h23=false;this._i23=0.0;this._j23=32.0;this._k23=0xffffffff;this._l23=1.0;this._m23=false;this._n23=1.0;this._o23=0xffffffff;this._p23=1.0;this._q23=false;this._r23=0;this.shadowOffsetX=0.0;this.shadowOffsetY=0.0;this._s23=0xff000000;this._t23=1.0;}/*@constructor */function _pG(){this.__type="[Font]";this._rG=false;this._u23=false;this.pName="";this._hG="";this.size=12;this.ascenderOffset=0;
this.ascender=0;this.bold=false;this.italic=false;this.first=32;this.last=127;this._uG="";this.prop=false;this._v23=0;this._w23=null;this._HG=null;this.antialias=0;this.charset=0;this._x23=1;this._y23=1;this._qG=0.0;this.glyphs=null;this._9r=null;this._DG=null;this.spriteIndex=-1;this._z23=0;this._wG=false;this.sdfSpread=0;this._xG=new _d23();}_pG.prototype._yG=function(_A23){if((_A23==undefined)||(_A23==null))return;var _223=null;_223=variable_struct_get(_A23,"thickness");if((_223!=undefined)&&(_223!=null)){
var _B23=yyGetReal(_223);_B23=_B23<-32.0?-32.0:(_B23>32.0?32.0:_B23);this._xG._e23=_B23;}_223=variable_struct_get(_A23,"coreColour");if((_223==undefined)||(_223==null))_223=variable_struct_get(_A23,"coreColor");if((_223!=undefined)&&(_223!=null)){this._xG._f23=yyGetInt32(_223);}_223=variable_struct_get(_A23,"coreAlpha");if((_223!=undefined)&&(_223!=null)){var alpha=yyGetReal(_223);alpha=alpha<0.0?0.0:(alpha>1.0?1.0:alpha);this._xG._g23=alpha;}_223=variable_struct_get(_A23,"glowEnable");if((_223!=undefined)&&(_223!=null)){
this._xG._h23=yyGetBool(_223);}_223=variable_struct_get(_A23,"glowStart");if((_223!=undefined)&&(_223!=null)){var _Cs1=yyGetReal(_223);_Cs1=_Cs1<0.0?0.0:(_Cs1>64.0?64.0:_Cs1);this._xG._i23=_Cs1;}_223=variable_struct_get(_A23,"glowEnd");if((_223!=undefined)&&(_223!=null)){var _Cs1=yyGetReal(_223);_Cs1=_Cs1<0.0?0.0:(_Cs1>64.0?64.0:_Cs1);this._xG._j23=_Cs1;}_223=variable_struct_get(_A23,"glowColour");if((_223==undefined)||(_223==null))_223=variable_struct_get(_A23,"glowColor");if((_223!=undefined)&&(_223!=null)){
this._xG._k23=yyGetInt32(_223);}_223=variable_struct_get(_A23,"glowAlpha");if((_223!=undefined)&&(_223!=null)){var alpha=yyGetReal(_223);alpha=alpha<0.0?0.0:(alpha>1.0?1.0:alpha);this._xG._l23=alpha;}_223=variable_struct_get(_A23,"outlineEnable");if((_223!=undefined)&&(_223!=null)){this._xG._m23=yyGetBool(_223);}_223=variable_struct_get(_A23,"outlineDistance");if((_223!=undefined)&&(_223!=null)){var _Cs1=yyGetReal(_223);_Cs1=_Cs1<0.0?0.0:(_Cs1>64.0?64.0:_Cs1);this._xG._n23=_Cs1;}_223=variable_struct_get(_A23,
"outlineColour");if((_223==undefined)||(_223==null))_223=variable_struct_get(_A23,"outlineColor");if((_223!=undefined)&&(_223!=null)){this._xG._o23=yyGetInt32(_223);}_223=variable_struct_get(_A23,"outlineAlpha");if((_223!=undefined)&&(_223!=null)){var alpha=yyGetReal(_223);alpha=alpha<0.0?0.0:(alpha>1.0?1.0:alpha);this._xG._p23=alpha;}_223=variable_struct_get(_A23,"dropShadowEnable");if((_223!=undefined)&&(_223!=null)){this._xG._q23=yyGetBool(_223);}_223=variable_struct_get(_A23,"dropShadowSoftness");
if((_223!=undefined)&&(_223!=null)){var width=yyGetReal(_223);width=width<0.0?0.0:(width>64.0?64.0:width);this._xG._r23=width;}_223=variable_struct_get(_A23,"dropShadowOffsetX");if((_223!=undefined)&&(_223!=null)){var offset=yyGetReal(_223);this._xG.shadowOffsetX=offset;}_223=variable_struct_get(_A23,"dropShadowOffsetY");if((_223!=undefined)&&(_223!=null)){var offset=yyGetReal(_223);this._xG.shadowOffsetY=offset;}_223=variable_struct_get(_A23,"dropShadowColour");if((_223==undefined)||(_223==null))_223=variable_struct_get(_A23,
"dropShadowColor");if((_223!=undefined)&&(_223!=null)){this._xG._s23=yyGetInt32(_223);}_223=variable_struct_get(_A23,"dropShadowAlpha");if((_223!=undefined)&&(_223!=null)){var alpha=yyGetReal(_223);alpha=alpha<0.0?0.0:(alpha>1.0?1.0:alpha);this._xG._t23=alpha;}};_pG.prototype._GG=function(){var _u13=new _FG();variable_struct_set(_u13,"thickness",this._xG._e23);variable_struct_set(_u13,"coreColour",this._xG._f23);variable_struct_set(_u13,"coreAlpha",this._xG._g23);variable_struct_set(_u13,"glowEnable",
this._xG._h23);variable_struct_set(_u13,"glowStart",this._xG._i23);variable_struct_set(_u13,"glowEnd",this._xG._j23);variable_struct_set(_u13,"glowColour",this._xG._k23);variable_struct_set(_u13,"glowAlpha",this._xG._l23);variable_struct_set(_u13,"outlineEnable",this._xG._m23);variable_struct_set(_u13,"outlineDistance",this._xG._n23);variable_struct_set(_u13,"outlineColour",this._xG._o23);variable_struct_set(_u13,"outlineAlpha",this._xG._p23);variable_struct_set(_u13,"dropShadowEnable",this._xG._q23);
variable_struct_set(_u13,"dropShadowSoftness",this._xG._r23);variable_struct_set(_u13,"dropShadowOffsetX",this._xG.shadowOffsetX);variable_struct_set(_u13,"dropShadowOffsetY",this._xG.shadowOffsetY);variable_struct_set(_u13,"dropShadowColour",this._xG._s23);variable_struct_set(_u13,"dropShadowAlpha",this._xG._t23);return _u13;};_pG.prototype._C23=function(_dU2){this.spriteIndex=-1;this._HG=null;this.pName=_dU2.pName;this._hG=_dU2.fontname;this.size=_dU2.size;this.bold=_dU2.bold;this.italic=_dU2.italic;
this.first=_dU2.first&0xffff;this._rG=false;this.ascenderOffset=_dU2.ascenderOffset;this.ascender=_dU2.ascender;this.sdfSpread=_dU2.sdfSpread;this._z23=_dU2.lineHeight;this._wG=this.sdfSpread>0?true:false;this.antialias=0;this.charset=0;if(((_dU2.first>>16)&0xff)!==0)this.charset=(_dU2.first>>16)&0xff;if(((_dU2.first>>24)&0xff)!==0)this.antialias=((_dU2.first>>24)&0xff)-1;this.last=_dU2.last;this._x23=_dU2.scaleX;this._y23=_dU2.scaleY;this.glyphs=[];var _IC=99999999;var _K5=-99999999;var maxHeight=0;
for(var _D23=0;_D23<_dU2.glyphs.length;_D23++){var index=-2;var _E23=_dU2.glyphs[_D23];if(_E23.c!=undefined)index=_E23.c.charCodeAt(0);else if(_E23.i!=undefined)index=_E23.i;this.glyphs[index]=_E23;if(index<_IC)_IC=index;if(index>_K5)_K5=index;if(_E23.h>maxHeight)maxHeight=_E23.h;}if(this._z23==0){this._z23=maxHeight;}this.first=_IC;this.last=_K5;this._9r=_EV2(_dU2.TPageEntry);};_pG.prototype._AG=function(_G4,_mG,_zG,_7G,_F23){this.spriteIndex=_G4;this._HG=null;this._rG=true;this._DG=_H4._I4(_G4);this.pName="sprite_font: "+this._DG.pName;
this._hG="spritefont";this.size=_G4.width;this.bold=false;this.italic=false;this.first=_mG;this._w23=_F23;this._u23=true;this.prop=_zG;this.last=_mG+this._DG._I5;this._v23=_7G;this._wG=false;this.sdfSpread=0;this.antialias=0;this.charset=10;this._x23=1;this._y23=1;this._qG=0.5;this.glyphs=null;this._9r=null;this._G23=0;for(var i=0;i<this._DG._G3.length;i++){var _F3=this._DG._G3[i];if(this.prop){this._G23=_L5(this._G23,_F3.CropWidth);}else {this._G23=_L5(this._G23,_F3.ow);}}this._HG=[];if(_F23){var _H23=9999999999;
var _I23=-1;for(var i=0;i<_F23.length;i++){var c=_F23.charCodeAt(i);if(c<_H23)_H23=c;if(c>_I23)_I23=c;this._HG[c]=i;}this.first=_H23;this.last=_I23;}else {for(var i=_mG;i<(_mG+this._DG._I5);i++){this._HG[i]=i-_mG;}}this._J23();};_pG.prototype._J23=function(){var height=0;for(var _x5=0;_x5<this._DG._G3.length;_x5++){var _F3=this._DG._G3[_x5];height=_L5(height,_F3.oh);}this.size=height;};_pG.prototype._bG=function(_dn){if((!_dn)||(0===_dn.length))return 0;if(this._rG){return this.size*this._x23;}else {return this._z23*this._x23;
}};_pG.prototype._cG=function(_dn,_K23){if((!_dn)||(0===_dn.length))return 0;var _aG;if(_K23){_aG=[_dn];}else {_aG=_UD._VD(_dn,-1,this);}if(this._rG){if(this._u23){var _ym=0;for(var i=0;i<_aG.length;i++){var _L23=0;var _GD=_aG[i];for(var _35=0;_35<_GD.length;_35++){_L23+=this._M23(_GD.charCodeAt(_35));}_ym=_L5(_ym,_L23);}return _ym;}else {var _ym=0;_59.font=this._uG;if(_59.measureText){for(var i=0;i<_aG.length;i++){var _Kg=_59.measureText(_aG[i]);_ym=_L5(_ym,_Kg.width);}}return _ym;}}else {var _ym=0;for(var i=0;
i<_aG.length;i++){var _L23=0;var _GD=_aG[i];for(var _35=0;_35<_GD.length;_35++){var c=_GD.charCodeAt(_35);var _E23=this.glyphs[c];if(!_E23){_E23=this.glyphs[this.first];}_L23+=_E23.shift*this._x23;}_ym=_L5(_ym,_L23);}return _ym;}};_pG.prototype._N23=function(_dn,_ZA,_O23,_P23){_ZA=_M5(_dn.length,_ZA);var end=_M5(_dn.length,(_ZA+_O23));var _Q23=end-_ZA;if((!_dn)||(_ZA>=end))return 0;if(this._rG){if(this._u23){var _L23=0;for(var _35=_ZA;_35<end;_35++){_L23+=this._M23(_dn.charCodeAt(_35));}_R23+=_Q23*_P23;return _L23;
}else {var _L23=0;_59.font=this._uG;if(_59.measureText){var _S23=_dn.substring(_ZA,end);_L23=_59.measureText(_S23);_L23+=_Q23*_P23;}return _L23;}}else {var _L23=0;for(var _35=_ZA;_35<end;_35++){var c=_dn.charCodeAt(_35);var _E23=this.glyphs[c];if(!_E23){_E23=this.glyphs[this.first];}_L23+=_E23.shift*this._x23;}_L23+=_Q23*_P23;return _L23;}};_pG.prototype._M23=function(_7e1){if(this._rG){if(this._u23){var _ym=this._v23;if((_7e1>=this.first)&&(_7e1<=this.last)){var _T23=this._HG[_7e1];var _F3=this._DG._G3[_T23];
if(!_F3){result=this._G23;}else if(this.prop){_ym+=_F3.CropWidth;}else {_ym+=_F3.ow;}}else if(_7e1===32){_ym+=this._G23;}return _ym;}else {_59.font=this._uG;if(_59.measureText){var _Kg=_59.measureText(String.fromCharCode(_7e1));return _Kg.width;}return 0;}}var _E23=this.glyphs[_7e1];if(_E23){return _E23.shift*this._x23;}else if(0x20>=this.first&&0x20<=this.last){return this.glyphs[0x20].shift*this._x23;}else {return this.glyphs[this.first].shift*this._x23;}};function _U23(_7e1,_E23){var _u3=undefined;var _Dg1=0,
_2h1=(_E23._LG.length/2)-1,_V23=0;while(_Dg1<=_2h1){_V23=_Dg1+~~((_2h1-_Dg1)/2);var other=_E23._LG[_V23*2];if(_7e1==other){_u3=_E23._LG[(_V23*2)+1];break;}else if(_7e1<other)_2h1=_V23-1;else _Dg1=_V23+1;}return _u3;}_pG.prototype._W23=function(_u4,_v4,_X23,_gn,_hn,_y4,_ap,_rn,_uK,_vK,_P23,_Y23){var _Z23=this._9r;if(!_Z23.texture.complete)return;var _1i=_X23.length;var __23=0.0;var _033=0.0;if(_P23!==undefined){__23=_P23;}if(_Y23!==undefined){_033=_Y23;}var _133=null;for(var i=0;i<_1i;i++){var _7e1=_X23.charCodeAt(i);
var _E23=this.glyphs[_7e1];if(_E23){if((_133!=null)&&(_E23._LG!=undefined)){var _LG=_U23(_133.i,_E23);if(_LG!=undefined){_u4+=_gn*this._x23*_LG;}}_133=_E23;if((_E23.w*_E23.h)>0){var _08=_E23.x;var _18=_E23.y;var _HK=_E23.w;var _JK=_E23.h;if(Math.abs(_y4)<0.001){_59._sf1(_Z23,_08+_Z23.x,_18+_Z23.y,_HK,_JK,_u4+(_E23.offset*_gn),_v4,_HK*this._x23*_gn,_JK*this._y23*_hn,_ap,_rn,_uK,_vK);}else {_59._sf1(_Z23,_08+_Z23.x,_18+_Z23.y,_HK,_JK,_u4+(_E23.offset*_gn),_v4,_HK,_JK,_ap,_rn,_uK,_vK);}}_u4+=_gn*this._x23*this._M23(_7e1);
_u4+=__23;if(_X23[i]==" ")_u4+=_033;}}};_pG.prototype._233=function(_u4,_v4,_y4){var _mg=new _Dy();_mg.__z(-_u4,-_v4,0);var _8A=new _Dy();_8A._3A(_y4);var _6q1=new _Dy();_6q1.Multiply(_mg,_8A);_mg.__z(_u4,_v4,0);var _333=new _Dy();_333.Multiply(_6q1,_mg);return _333;};_pG.prototype._433=function(_u4,_v4,_X23,_gn,_hn,_y4,_ap,_rn,_uK,_vK,_P23,_Y23,_533){if(this._rG){this._W23(_u4,_v4,_X23,_gn,_hn,_y4,_ap,_rn,_uK,_vK,_P23,_Y23);}var __23=0.0;var _033=0.0;if(_P23!==undefined){__23=_P23;}if(_Y23!==undefined){_033=_Y23;
}var _633;var _Z23=this._9r;if(!_Z23.texture.complete)return;var _1i=_X23.length;if(_733){_ap&=0xfffefffe;_rn&=0xfffefffe;_uK&=0xfffefffe;_vK&=0xfffefffe;_rn|=0x00010000;_uK|=0x00000001;_vK|=0x00010001;}var _G9,_N9,_P9,_R9;if(!_Z23.texture._R7)_Q7(_Z23);var _833;if(Math.abs(_y4)>0.001){_833=_6A(_Zz);_Yz(_Zz,this._233(_u4,_v4,_y4));}var _933=0;if(this._wG){_933=this.sdfSpread;}var _J8=_1i*6;_G9=_i7._H9(_d9._I9,_Z23.texture._R7,_i7._J9,_J8);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_J8;var _T9=index,
_la=_T9+_K9,_34=_la+_K9,_ma=_34+_K9,_na=_ma+_K9,_oa=_na+_K9;_N9=_G9._O9;_P9=_G9._Q9;_R9=_G9._S9;var scaleX,scaleY;scaleX=this._x23*_gn;scaleY=this._y23*_hn;var _bi2=0;var _a33=this._qG,_b33=1.0/_Z23.texture.width,_c33=1.0/_Z23.texture.height;var _d33=false;if((_ap!=_rn)||(_uK!=_vK)){var _e33=this._cG(_X23,true);var _f33=1/_e33;var alpha=_ap&0xff000000;_d33=true;}var _133=null;for(var i=0;i<_1i;i++){var _7e1=_X23.charCodeAt(i);var _E23=this.glyphs[_7e1];if(_E23){if((_133!=null)&&(_E23._LG!=undefined)){var _LG=_U23(_133.i,
_E23);if(_LG!=undefined){_u4+=scaleX*_LG;}}_133=_E23;if((_E23.w*_E23.h)>0){var _HK=_E23.w+2,_JK=_E23.h+2;var x=_u4+(((_E23.offset-1)-_933)*_gn);var y=_v4-((1+_933)*_hn);_N9[_T9+0]=_N9[_na+0]=_N9[_oa+0]=x-_a33;_N9[_T9+1]=_N9[_la+1]=_N9[_oa+1]=y-_a33;_N9[_la+0]=_N9[_34+0]=_N9[_ma+0]=x+_a33+(_HK*scaleX);_N9[_34+1]=_N9[_ma+1]=_N9[_na+1]=y+_a33+(_JK*scaleY);_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;var _08=_E23.x-1,_18=_E23.y-1;_R9[_T9+0]=_R9[_na+0]=_R9[_oa+0]=(_Z23.x+_08-_a33)*_b33;
_R9[_T9+1]=_R9[_la+1]=_R9[_oa+1]=(_Z23.y+_18-_a33)*_c33;_R9[_la+0]=_R9[_34+0]=_R9[_ma+0]=(_Z23.x+_08+_HK+_a33)*_b33;_R9[_34+1]=_R9[_ma+1]=_R9[_na+1]=(_Z23.y+_18+_JK+_a33)*_c33;if(_d33){var _4a=_N9[index];var _0H=Math.min(Math.abs((_N9[_T9]-_4a))*_f33,1);var _1H=Math.min(Math.abs((_N9[_la]-_4a))*_f33,1);var _ag=merge_color(_ap,_rn,_0H)|alpha;var _bg=merge_color(_ap,_rn,_1H)|alpha;var _Pq1=merge_color(_vK,_uK,_1H)|alpha;var _1O2=merge_color(_vK,_uK,_0H)|alpha;_P9[_T9]=_P9[_oa]=_ag;_P9[_la]=_bg;_P9[_34]=_P9[_ma]=_Pq1;
_P9[_na]=_1O2;}else {_P9[_T9]=_P9[_oa]=_ap;_P9[_la]=_rn;_P9[_34]=_P9[_ma]=_uK;_P9[_na]=_vK;}_T9+=(_K9*6);_la+=(_K9*6);_34+=(_K9*6);_ma+=(_K9*6);_na+=(_K9*6);_oa+=(_K9*6);}else {_bi2++;}_u4+=scaleX*_E23.shift;}else {_bi2++;}_u4+=__23;if(_X23[i]==" ")_u4+=_033;}_G9._M9-=_bi2*6;if(_833!=undefined){_Yz(_Zz,_833);}};_pG.prototype._g33=function(_u4,_v4,_X23,_gn,_hn,_y4,_ap,_rn,_uK,_vK,_P23,_Y23){var _633=null;var _7e1;var _Z23=_J3[this._9r.tp];if(!_Z23.complete)return;var __23=0.0;var _033=0.0;if(_P23!==undefined){
__23=_P23;}if(_Y23!==undefined){_033=_Y23;}var _qm2=_59.globalAlpha;_59.globalAlpha=((_ap>>24)&0xff)/255.0;var _1i=_X23.length;_ap=_ap&0xffffff;_y4=_qL2(_y4);var _133=null;if(Math.abs(_y4)>0.00001){_h33(_u4,_v4,this._x23*_gn,this._y23*_hn,-_y4);_u4=0;_v4=0;if(_ap!=0xffffff){for(var i=0;i<_1i;i++){_7e1=_X23.charCodeAt(i);var _E23=this.glyphs[_7e1];if(_E23){if((_133!=null)&&(_E23._LG!=undefined)){var _LG=_U23(_133.i,_E23);if(_LG!=undefined){_u4+=_LG;}}_133=_E23;var _HK=_E23.w;if(_HK!=99999){var _JK=_E23.h;
_633=_i33(_Z23,_E23,_E23.x+this._9r.x,_E23.y+this._9r.y,_HK+2,_JK+2,_ap);_59._sf1(_633,0,0,_HK,_JK,_u4+_E23.offset,_v4,_HK,_JK);_u4+=this._M23(_7e1);}}_u4+=__23;if(_X23[i]==" ")_u4+=_033;}}else {for(var i=0;i<_1i;i++){_7e1=_X23.charCodeAt(i);var _E23=this.glyphs[_7e1];if(_E23){if((_133!=null)&&(_E23._LG!=undefined)){var _LG=_U23(_133.i,_E23);if(_LG!=undefined){_u4+=_LG;}}_133=_E23;var _HK=_E23.w;if(_HK!=99999){var _JK=_E23.h;_59._sf1(_Z23,_E23.x+this._9r.x,_E23.y+this._9r.y,_HK,_JK,_u4+_E23.offset,_v4,
_HK,_JK);_u4+=this._M23(_7e1);}}_u4+=__23;if(_X23[i]==" ")_u4+=_033;}}_j33();}else {_u4=~~(_u4+0.5);_v4=~~(_v4+0.5);var _k33=this._x23*_gn;var _l33=this._y23*_hn;if(_ap!=0xffffff){for(var i=0;i<_1i;i++){_7e1=_X23.charCodeAt(i);var _E23=this.glyphs[_7e1];if(_E23){if((_133!=null)&&(_E23._LG!=undefined)){var _LG=_U23(_133.i,_E23);if(_LG!=undefined){_u4+=_k33*_LG;}}_133=_E23;var _HK=_E23.w;if(_HK!=99999){var _JK=_E23.h;_633=_i33(_Z23,_E23,_E23.x+this._9r.x,_E23.y+this._9r.y,_HK+2,_JK+2,_ap);_59._sf1(_633,0,
0,_HK+1,_JK+1,_u4+(_E23.offset*_k33),_v4,(_HK+1)*_k33,(_JK+1)*_l33);_u4+=_k33*this._M23(_7e1);}}_u4+=_k33*__23;if(_X23[i]==" ")_u4+=_k33*_033;}}else {for(var i=0;i<_1i;i++){_7e1=_X23.charCodeAt(i);var _E23=this.glyphs[_7e1];if(_E23){if((_133!=null)&&(_E23._LG!=undefined)){var _LG=_U23(_133.i,_E23);if(_LG!=undefined){_u4+=_k33*_LG;}}_133=_E23;var _HK=_E23.w;if(_HK!=99999){var _JK=_E23.h;_59._sf1(_Z23,_E23.x+this._9r.x,_E23.y+this._9r.y,_HK,_JK,_u4+(_E23.offset*_k33),_v4,_HK*_k33,_JK*_l33);_u4+=_k33*this._M23(_7e1);
}}_u4+=_k33*__23;if(_X23[i]==" ")_u4+=_k33*_033;}}}_59.globalAlpha=_qm2;};_pG.prototype._m33=function(_u4,_v4,_X23,_gn,_hn,_y4,_ap,_rn,_uK,_vK,_P23,_Y23){if(this._DG==null)return;var __23=0.0;var _033=0.0;if(_P23!==undefined){__23=_P23;}if(_Y23!==undefined){_033=_Y23;}var _l3=((_ap>>24)&0xff)/255.0;var _qm2=_59.globalAlpha;_59.globalAlpha=_l3;_ap&=0xffffff;var _k33=this._x23*_gn;var _l33=this._y23*_hn;if(Math.abs(_y4)>=0.001){_h33(_u4,_v4,1,1,-_qL2(_y4));_v4=_u4=0;}var _1i=_X23.length;for(var i=0;i<_1i;
i++){var _7e1=_X23.charCodeAt(i);if(_7e1!=0x20){if((_7e1>=this.first)&&(_7e1<=this.last)){var _T23=this._HG[_7e1];if(_T23!==undefined){var _F3=this._DG._G3[_T23];var _Z23=_J3[_F3.tp];if(_Z23.complete){var _aL=_F3.XOffset-this._DG.xOrigin;var _bL=_F3.YOffset-this._DG.yOrigin;if(this.prop)_aL=0;if(_ap!=0xffffff){var _633=_Q8(_F3,_ap);_59._sf1(_633,0,0,_F3.CropWidth,_F3.CropHeight,_u4+(_aL*_k33),_v4+(_bL*_l33),_F3.CropWidth*_k33,_F3.CropHeight*_l33);}else {_59._sf1(_Z23,_F3.x,_F3.y,_F3.w,_F3.h,_u4+(_aL*_k33),
_v4+(_bL*_l33),_F3.CropWidth*_k33,_F3.CropHeight*_l33);}}}}}_u4=_u4+_k33*this._M23(_7e1);_u4+=_k33*__23;if(_X23[i]==" ")_u4+=_k33*_033;}if(Math.abs(_y4)>=0.001)_j33();_59.globalAlpha=_qm2;};_pG.prototype._n33=function(_u4,_v4,_X23,_gn,_hn,_y4,_Wr,_Xr,_Yr,_Zr,_P23,_Y23){if(this._DG==null)return;var __23=0.0;var _033=0.0;if(_P23!==undefined){__23=_P23;}if(_Y23!==undefined){_033=_Y23;}var _1i=_X23.length;var _k33=this._x23*_gn;var _l33=this._y23*_hn;var _o33=undefined;if(Math.abs(_y4)>=0.001){_o33=_6A(_Zz);
_Yz(_Zz,this._233(_u4,_v4,_y4));}var alpha=(_Wr&0xff000000);var _p33=((_Xr&0xff0000)-(_Wr&0xff0000))/_1i;var _q33=((((_Xr&0xff00)<<8)-((_Wr&0xff00)<<8)))/_1i;var _r33=((((_Xr&0xff)<<16)-((_Wr&0xff)<<16)))/_1i;var _s33=((_Yr&0xff0000)-(_Zr&0xff0000))/_1i;var _t33=((((_Yr&0xff00)<<8)-((_Zr&0xff00)<<8)))/_1i;var _u33=((((_Yr&0xff)<<16)-((_Zr&0xff)<<16)))/_1i;var _v33=_p33;var _w33=_q33;var _x33=_r33;var _y33=_s33;var _z33=_t33;var _A33=_u33;var _ag=_Wr;var _1O2=_Zr;for(var i=0;i<_1i;i++){var _bg=((_Wr&0xff0000)+(_v33&0xff0000))&0xff0000;
_bg|=((_Wr&0xff00)+(_w33>>8)&0xff00)&0xff00;_bg|=((_Wr&0xff)+(_x33>>16))&0xff;_bg|=alpha;var _Pq1=((_Zr&0xff0000)+(_y33&0xff0000))&0xff0000;_Pq1|=((_Zr&0xff00)+(_z33>>8)&0xff00)&0xff00;_Pq1|=((_Zr&0xff)+(_A33>>16))&0xff;_Pq1|=alpha;_v33+=_p33;_w33+=_q33;_x33+=_r33;_y33+=_s33;_z33+=_t33;_A33+=_u33;var _7e1=_X23.charCodeAt(i);if(_7e1!=0x20){if(_7e1<this.first||_7e1>this.last){}else {var _T23=this._HG[_7e1];if(_T23!==undefined){var _F3=this._DG._G3[_T23];var _Z23=_J3[_F3.tp];if(_Z23.complete){var _aL=_F3.XOffset-this._DG.xOrigin;
var _bL=_F3.YOffset-this._DG.yOrigin;if(this.prop)_aL=0;_59._sf1(_F3,_F3.x,_F3.y,_F3.w,_F3.h,_u4+(_aL*_k33),_v4+(_bL*_l33),_F3.CropWidth*_k33,_F3.CropHeight*_l33,_ag,_bg,_Pq1,_1O2);}}}}_1O2=_Pq1;_ag=_bg;_u4+=_k33*this._M23(_7e1);_u4+=_k33*__23;if(_X23[i]==" ")_u4+=_k33*_033;}if(_o33!==undefined){_Yz(_Zz,_o33);}};var _B33=-1,_C33=0,_D33=1,_E33=2,_F33=3;/*@constructor */function _0M2(){this.Fonts=[];this.length=0;this._9G=null;this._2G=0;this._1G=0;this._0G=0;_0L2=-1;this._2G=_0L2;this._G33=new Object();
this._G33._H33=[];this._G33._I33=_B33;this._G33._J33=-1;this._G33._K33=-1;this._G33._L33=-1;this._G33._M33=-1;this._G33._N33=-1;this._G33._O33=-1;this._G33._P33=-1;this._G33._Q33=-1;this._G33._R33=-1;this._G33._S33=-1;this._G33._T33=-1;var i;for(i=0;i<_F33;i++){this._G33._H33[i]=-1;}if(_i7){this._G33._H33[_C33]=asset_get_index("__yy_sdf_shader");this._G33._H33[_D33]=asset_get_index("__yy_sdf_effect_shader");this._G33._H33[_E33]=asset_get_index("__yy_sdf_blur_shader");if(this._G33._H33[_D33]!=-1){
var _U33=this._G33._H33[_D33];this._G33._J33=shader_get_uniform(_U33,"gm_SDF_DrawGlow");this._G33._K33=shader_get_uniform(_U33,"gm_SDF_Glow_MinMax");this._G33._L33=shader_get_uniform(_U33,"gm_SDF_Glow_Col");this._G33._M33=shader_get_uniform(_U33,"gm_SDF_DrawOutline");this._G33._N33=shader_get_uniform(_U33,"gm_SDF_Outline_Thresh");this._G33._O33=shader_get_uniform(_U33,"gm_SDF_Outline_Col");this._G33._P33=shader_get_uniform(_U33,"gm_SDF_Core_Thresh");this._G33._Q33=shader_get_uniform(_U33,"gm_SDF_Core_Col");
}if(this._G33._H33[_E33]!=-1){var _U33=this._G33._H33[_E33];this._G33._R33=shader_get_uniform(_U33,"gm_SDF_Blur_MinMax");this._G33._S33=shader_get_uniform(_U33,"gm_SDF_Blur_Col");}}}_0M2.prototype._V33=function(_W33,_X33,_Y33){if(_i7){if(shader_current()!=-1)return;var _9U=_Y33;if((_9U==undefined)||(_9U==null)){_9U=_W33._xG;}var _Z33=_C33;if(_9U.enabled){if(_X33&&_9U._q23){_Z33=_E33;}else {_Z33=_D33;}}var __33=this._G33._H33[_Z33];if((__33==-1)||(shader_is_compiled(__33)==false))return;if(this._G33._I33!=_B33)return;
shader_set(__33);if(_Z33==_D33){var _043=1.0/(_W33.sdfSpread*2.0);var _143=0.5;var _243=_9U._e23;var _343=1.0-(((_9U._j23+_243)*_043)+_143);var _443=1.0-(((_9U._i23+_243)*_043)+_143);_343=_343<0.001?0.001:(_343>0.9999?0.9999:_343);_443=_443<0.001?0.001:(_443>0.9999?0.9999:_443);shader_set_uniform_i(this._G33._J33,_9U._h23?1:0);shader_set_uniform_f(this._G33._K33,_343,_443);var _543,_643,_743,_843;_543=(_9U._k23&0xff)/255.0;_643=((_9U._k23>>8)&0xff)/255.0;_743=((_9U._k23>>16)&0xff)/255.0;_843=_9U._l23;
shader_set_uniform_f(this._G33._L33,_543,_643,_743,_843);var _943=1.0-(((_9U._n23+_243)*_043)+_143);_943=_943<0.001?0.001:(_943>0.9999?0.9999:_943);shader_set_uniform_i(this._G33._M33,_9U._m23?1:0);shader_set_uniform_f(this._G33._N33,_943);var _a43,_b43,_c43,_d43;_a43=(_9U._o23&0xff)/255.0;_b43=((_9U._o23>>8)&0xff)/255.0;_c43=((_9U._o23>>16)&0xff)/255.0;_d43=_9U._p23;shader_set_uniform_f(this._G33._O33,_a43,_b43,_c43,_d43);var _e43=1.0-((_243*_043)+_143);_e43=_e43<0.001?0.001:(_e43>0.9999?0.9999:_e43);
shader_set_uniform_f(this._G33._P33,_e43);var _f43,_g43,_h43,_i43;_f43=(_9U._f23&0xff)/255.0;_g43=((_9U._f23>>8)&0xff)/255.0;_h43=((_9U._f23>>16)&0xff)/255.0;_i43=_9U._g23;shader_set_uniform_f(this._G33._Q33,_f43,_g43,_h43,_i43);}else if(_Z33==_E33){var _043=1.0/(_W33.sdfSpread*2.0);var _143=0.5;var _243=_9U._e23;var _j43=_9U._r23*0.5;var _k43=1.0-(((_243+_j43)*_043)+_143);var _l43=1.0-(((_243-_j43)*_043)+_143);_k43=_k43<0.001?0.001:(_k43>0.9999?0.9999:_k43);shader_set_uniform_f(this._G33._R33,_k43,_l43);
var _m43,_n43,_o43,_p43;_m43=(_9U._s23&0xff)/255.0;_n43=((_9U._s23>>8)&0xff)/255.0;_o43=((_9U._s23>>16)&0xff)/255.0;_p43=_9U._t23;shader_set_uniform_f(this._G33._S33,_m43,_n43,_o43,_p43);}var _q43=0;this._G33._T33=gpu_get_texfilter_ext(_q43);gpu_set_texfilter_ext(_q43,true);this._G33._I33=_Z33;}};_0M2.prototype._r43=function(){if(_i7){if(this._G33._I33!=_B33){shader_reset();var _q43=0;gpu_set_texfilter_ext(_q43,this._G33._T33);this._G33._I33=_B33;}}};_0M2.prototype._s43=function(_W33,_Y33){if((_W33==undefined)||(_W33==null))return false;
if(_i7){var _9U=_Y33;if((_9U==undefined)||(_9U==null)){_9U=_W33._xG;}if((shader_current()==-1)&&(_W33._wG)&&(_9U.enabled)&&(_9U._q23)){return true;}}return false;};_0M2.prototype._fh1=function(_N2){return this.Fonts[_N2];};_0M2.prototype.__e=function(){this.Fonts=[];this.Fonts.length=0;};_0M2.prototype._Ke=function(_dU2){var _gG=null;if(_dU2!=null){_gG=new _pG();_gG._C23(_dU2);}this.Fonts[this.Fonts.length]=_gG;return this.Fonts.length-1;};_0M2.prototype._ZM2=function(_dU2){var _gG=null;if(_dU2!=null){_gG=new _pG();
_gG._C23(_dU2);}this.Fonts[-1]=_gG;};_0M2.prototype._vG=function(_W33){this.Fonts[this.Fonts.length]=_W33;return this.Fonts.length-1;};_0M2.prototype._8G=function(){if(this._2G>=0&&this._2G<=this.Fonts.length&&this.Fonts[this._2G]!=null){this._9G=this.Fonts[this._2G];}else {this._9G=this.Fonts[-1];if(!this._9G)_Ch("Error: Failed to set font. Built-in fonts disabled with no current font set.");}};_0M2.prototype._I4=function(_nf){if(_nf>=0&&_nf<=this.Fonts.length&&this.Fonts[_nf]){return this.Fonts[_nf];
}return null;};function _eh1(_Xk,_9G,_t43){if(_t43===undefined)_t43=false;if(_t43==false&&_z2)return _Xk;if(_Xk==null)return 0;var _u43=_Xk;var _1R1="";var i=0;var _Ui=0;while(_Ui<_u43.length){var _rh=_u43[_Ui];if(_rh=="#"){if((i>0)&&(_u43[_Ui-1]=='\\')){_1R1=_1R1.substring(0,_1R1.length-1)+'#';}else {_1R1+=String.fromCharCode(0x0d);_1R1+=String.fromCharCode(0x0a);i++;}}else {_1R1+=_rh;i++;}_Ui++;}return _1R1;}_0M2.prototype._VD=function(_X23,_v43,_9G){if(_X23==null)return;if(_v43<0)_v43=10000000;var _w43=" ";
var _tD=String.fromCharCode(0x0a);var _x43=String.fromCharCode(0x0d);var _TD=[];var _y43=0;if(!_z2)_X23=_eh1(_X23,_9G);var _1i=_X23.length;var _jr=_X23;var _z43=_jr[0];var start=0;var end=0;while(start<_1i){var _kd1=0;if(_v43==10000000){while(end<_1i&&_jr[end]!=_tD&&_jr[end]!=_x43){end++;if(end<_1i)_z43=_jr[end];else _z43=String.fromCharCode(0x0);}var c;if(end<_1i)c=_jr[end];else c=String.fromCharCode(0x0);if((_tD==_z43)&&(_x43==_jr[end])){end++;continue;}if((_x43==_z43)&&(_tD==_jr[end])){end++;continue;}_z43=_jr[end];
_TD[_y43++]=_jr.substring(start,end);}else {while(end<_1i&&_kd1<_v43){c=_jr[end];if(_jr[end]!=_w43)break;_kd1+=this._9G._M23(c.charCodeAt(0));end++;}while(end<_1i&&_kd1<_v43){c=_jr[end];if(c==_tD)break;_kd1+=this._9G._M23(c.charCodeAt(0));end++;}if(_kd1>_v43){end--;_kd1-=this._9G._M23(_jr.charCodeAt(end));}if(_jr[end]==_tD){_TD[_y43++]=_jr.substring(start,end);}else {if(end==start)return _TD;if(end!=_1i){if((_jr[end]!=_w43)||(_jr[end]!=_w43&&_jr[end+1]!=_w43)){var e=end;while(end>start){if(_jr[--e]==_w43)break;
}if(e!=start){end=e;}else {while(_jr[end]!=_w43)end++;}}}var __A=end;if(__A>start){while(_jr[__A-1]==_w43&&__A>0){__A--;}}if(__A!=start)_TD[_y43++]=_jr.substring(start,__A);}}start=++end;}return _TD;};_0M2.prototype._A43=function(_X23,_B43,_C43,_hW2,_Rl,_P23,_D43,_E43){if(_X23==null)return;var _w43=" ";var _tD=String.fromCharCode(0x0a);var _x43=String.fromCharCode(0x0d);var _u3=new Object();_u3._F43=0.0;_u3._G43=0.0;_u3._TD=null;var _TD=[];if(!_z2)_X23=_eh1(_X23,this._9G);var _1i=_X23.length;var _jr=_X23;var _H43=[];
var start=0;var char=0;while(char!=_1i){if((_jr[char]==_tD)||(_jr[char]==_x43)){_H43[_H43.length]=_jr.substring(start,char);while((_jr[char]==_tD)||(_jr[char]==_x43)){char++;}start=char;}else {char++;}}if((char>start)&&(start<_1i)){_H43[_H43.length]=_jr.substring(start,char);}var _7i=0.0;var _EG=0.0;var lineHeight=this._9G._z23;var _I43=0.0;var _J43=this._9G._M23(32);for(var _kg=0;_kg<_H43.length;_kg++){var _Xk=_H43[_kg];var _UT2=null;if(_Rl){var lineWidth=0.0;var _K43=0;while(_K43<_Xk.length){if(_Xk[_K43]!=_w43)break;
_K43++;}if(_K43==_Xk.length){_EG+=lineHeight;_EG+=_D43;_EG+=_E43;}else {var _L43=_K43;var _M43=_K43;var _N43=_K43;var _O43=0;while(_K43<_Xk.length){while((_K43<_Xk.length)&&(_Xk[_K43]!=_w43)){_K43++;}var _P43=this._9G._N23(_Xk,_L43,_K43-_L43,_P23);if((lineWidth+_P43)>_B43){if(_O43==0){lineWidth=_P43;_I43=_L5(_I43,lineWidth);_UT2=new Object();_UT2._Q43=_Xk.substring(_N43,_K43);_UT2.x=_7i;_UT2.y=_EG;_UT2.lineWidth=lineWidth;_UT2._033=0.0;_UT2._R43=false;_UT2._S43=1;_TD[_TD.length]=_UT2;_K43++;lineWidth=0.0;
_O43=0;_N43=_K43;}else {_I43=_L5(_I43,lineWidth);_UT2=new Object();_UT2._Q43=_Xk.substring(_N43,_M43);_UT2.x=_7i;_UT2.y=_EG;_UT2.lineWidth=lineWidth;_UT2._033=0.0;_UT2._R43=false;_UT2._S43=_O43;_TD[_TD.length]=_UT2;_M43=_K43;lineWidth=_P43;_O43=1;_N43=_L43;}_EG+=lineHeight;_EG+=_D43;}else {_M43=_K43;if(_O43>0){lineWidth+=_J43;}lineWidth+=_P43;_O43++;}var _T43=_K43+1;while((_K43<_Xk.length)&&(_Xk[_K43]==_w43)){_K43++;}if(_K43>_T43){var _U43=_Xk.substring(0,_T43-1);var _V43=_Xk.substring(_K43,_Xk.length);
_Xk=_U43+_V43;_K43=_T43;}_L43=_K43;}if(_N43<(_Xk.length)){lineWidth=this._9G._N23(_Xk,_N43,(_Xk.length)-_N43,_P23);_I43=_L5(_I43,lineWidth);_UT2=new Object();_UT2._Q43=_Xk.substring(_N43,_Xk.length);_UT2.x=_7i;_UT2.y=_EG;_UT2.lineWidth=lineWidth;_UT2._033=0.0;_UT2._R43=false;_UT2._S43=_O43;_TD[_TD.length]=_UT2;_EG+=lineHeight;_EG+=_D43;}}}else {var lineWidth=this._9G._N23(_Xk,0,_Xk.length,_P23);_I43=_L5(_I43,lineWidth);_UT2=new Object();_UT2._Q43=_Xk;_UT2.x=_7i;_UT2.y=_EG;_UT2.lineWidth=lineWidth;_UT2._033=0.0;
_UT2._R43=false;_UT2._S43=0;_TD[_TD.length]=_UT2;if(_Xk.length==0)_UT2._R43=true;_EG+=lineHeight;_EG+=_D43;}if(_UT2!=null){_UT2._R43=(_Rl)?true:(_kg==(_H43.length-1));if(_UT2._R43){_EG+=_E43;}}}var _W43=(_hW2>>8)&0xff;var _X43=_hW2&0xff;var _Y43=_EG-_D43-_E43;if(_Rl){var _Z43=0.0;if(_W43==__43)_Z43=(_C43-_Y43)*0.5;else if(_W43==_053)_Z43=(_C43-_Y43);if(_Z43!=0.0){var _153=_TD.length;for(var i=0;i<_153;i++){var _tm2=_TD[i];_tm2.y+=_Z43;}}}if(_X43!=_253){var _353=(_Rl)?_B43:_I43;var _153=_TD.length;for(var i=0;
i<_153;i++){var _tm2=_TD[i];var lineWidth=_tm2.lineWidth;if(_X43==_453){if(!_tm2._R43){if(_tm2._S43>1){var _553=(_353-lineWidth);_tm2._033=_553/(_tm2._S43-1);}}}else if(_X43==_653)_tm2.x=(_353-lineWidth);else if(_X43==_753)_tm2.x=(_353-lineWidth)*0.5;}}_u3._I43=_I43;_u3._Y43=_Y43;_u3._TD=_TD;return _u3;};_0M2.prototype._3G=function(_dn,x,y,_853,_v43,_y4,_gn,_hn,_Wr,_Xr,_Yr,_Zr){var _xQ=_gn;var _yQ=_hn;var _gZ=0.0;var _hZ=0.0;var _TD=[];var i=0;this._8G();var _9G=this._9G;if(_Wr===undefined){_Wr=_Sb|((_Rb*255.0)<<24);
_Xr=_Sb|((_Rb*255.0)<<24);_Yr=_Sb|((_Rb*255.0)<<24);_Zr=_Sb|((_Rb*255.0)<<24);}else if(_Xr===undefined){_Xr=_Wr;_Yr=_Wr;_Zr=_Wr;}var _Xk=_dn;_TD=this._VD(_Xk,_v43,_9G);var _361=_qL2(_y4);var _96=Math.sin(_361);var _a6=Math.cos(_361);if(_853<0)_853=_9G?_9G._bG('M'):20;var _953=_96*_xQ*_853;var _a53=_a6*_yQ*_853;if(this._1G==1){y=y-(_TD.length*_a53)/2;x=x-(_TD.length*_953)/2;}if(this._1G==2){y=y-_TD.length*_a53;x=x-_TD.length*_953;}if(!_9G){if(!_i7){_59.fillStyle=_hK;_59.globalAlpha=_Rb;for(i=0;i<=_TD.length-1;
i++){var _b53=_TD[i];if(_b53!=null){_59.fillText(_b53,x,y+13);y=y+_a53;x=x+_953;}}}else {if(this._2G!=-1)_Ch("Error: Runtime canvas fonts are not supported in WebGL.");}}else {var _c53=false;if(this._s43(_9G)){_c53=true;}var _d53=_xQ*_9G._x23;var _e53=_yQ*_9G._y23;for(var _35=_c53?0:1;_35<2;_35++){var _f53=(_35==0);if(_9G._wG){this._V33(_9G,_f53);}var _g53=x;var _h53=y;if(_f53){var shadowOffsetX=_d53*_9G._xG.shadowOffsetX;var shadowOffsetY=_e53*_9G._xG.shadowOffsetY;_g53=_g53+_a6*shadowOffsetX+_96*shadowOffsetY;
_h53=_h53-_96*shadowOffsetX+_a6*shadowOffsetY;}for(i=0;i<=_TD.length-1;i++){_gZ=0;_hZ=0;if(_9G.ascenderOffset!=undefined){_hZ-=_9G.ascenderOffset*_yQ;}var _b53=_TD[i];if(_b53!=null){if(this._0G==1)_gZ=-(_xQ*_9G._cG(_b53,true)/2);if(this._0G==2)_gZ=-(_xQ*_9G._cG(_b53,true));var _R5=_g53+(_a6*_gZ)+(_96*_hZ);var _T5=_h53-(_96*_gZ)+(_a6*_hZ);if(_9G._rG){if(_9G._u23){if(!_i7){_9G._m33(_R5,_T5,_b53,_xQ,_yQ,_y4,_Wr,_Xr,_Yr,_Zr);}else {_9G._n33(_R5,_T5,_b53,_xQ,_yQ,_y4,_Wr,_Xr,_Yr,_Zr);}}else {if(_9G._Rg){_i53(_9G._uG,
_b53,_R5,_T5,1,1,_361,_Wr,_Xr,_Yr,_Zr);}}}else {if(_i7){_9G._433(_R5,_T5,_b53,_xQ,_yQ,_y4,_Wr,_Xr,_Yr,_Zr);}else {_9G._g33(_R5,_T5,_b53,_xQ,_yQ,_y4,_Wr,_Xr,_Yr,_Zr);}}}_h53=_h53+_a53;_g53=_g53+_953;}if(_9G._wG){this._r43();}}}};_0M2.prototype._j53=function(_k53,_u4,_v4,_P23,_l53,_m53,_533){if(_k53==null)return;var _xQ=1.0;var _yQ=1.0;var angle=0.0;var _TD=_k53;var i=0;this._8G();var _9G=this._9G;var _q3=_Sb|((_Rb*255.0)<<24);var _833=null;if(!_i7){_833=_sA[_Zz];angle=Math.atan2(_833._z5[1],_833._z5[0])*(-180/Math.PI);
_xQ=Math.sqrt((_833._z5[0]*_833._z5[0])+(_833._z5[1]*_833._z5[1]));_yQ=Math.sqrt((_833._z5[4]*_833._z5[4])+(_833._z5[5]*_833._z5[5]));}if(!_9G){if(!_i7){_59.fillStyle=_hK;_59.globalAlpha=_Rb;for(i=0;i<=_TD.length-1;i++){var _b53=_TD[i]._Q43;var _gZ=_TD[i].x;var _hZ=_TD[i].y;var _zx2=new _Xy(_u4+_gZ,_v4+_hZ+13,0);var _n53=_833._4M(_zx2);if(_b53!=null){_59.fillText(_b53,_n53._tz,_n53._uz);}}}else {if(this._2G!=-1)_Ch("Error: Runtime canvas fonts are not supported in WebGL.");}}else {var _o53=_v4;_o53+=_9G._z23;
if(_9G.ascenderOffset!=undefined){_o53-=_9G.ascenderOffset;}if(_9G.ascender!=undefined){_o53-=_9G.ascender;}var _c53=false;if(this._s43(_9G)){_c53=true;}for(var _35=_c53?0:1;_35<2;_35++){var _f53=(_35==0);if(_9G._wG){this._V33(_9G,_f53);}var _g53=_u4;var _h53=_o53;if(_f53){_g53+=_9G._xG.shadowOffsetX;_h53+=_9G._xG.shadowOffsetY;}for(i=0;i<=_TD.length-1;i++){var _b53=_TD[i]._Q43;var _gZ=_TD[i].x;var _hZ=_TD[i].y;var _033=_TD[i]._033;if(_b53!=null){if(_9G._u23){_gZ-=(_9G._DG.xOrigin);_hZ-=(_9G._DG.yOrigin);
}var _R5=_g53+_gZ;var _T5=_h53+_hZ;var _n53=null;if(!_i7){var _zx2=new _Xy(_R5,_T5,0);_n53=_833._4M(_zx2);}if(_9G._rG){if(_9G._u23){if(!_i7){_9G._m33(_n53._tz,_n53._uz,_b53,_xQ,_yQ,angle,_q3,_q3,_q3,_q3,_P23,_033);}else {_9G._n33(_R5,_T5,_b53,_xQ,_yQ,angle,_q3,_q3,_q3,_q3,_P23,_033);}}else {if(_9G._Rg){_i53(_9G._uG,_b53,_R5,_T5,1,1,angle,_q3,_q3,_q3,_q3);}}}else {if(_i7){_9G._433(_R5,_T5,_b53,_xQ,_yQ,angle,_q3,_q3,_q3,_q3,_P23,_033,_533);}else {_9G._g33(_n53._tz,_n53._uz,_b53,_xQ,_yQ,angle,_q3,_q3,_q3,_q3,
_P23,_033);}}}}if(_9G._wG){this._r43();}}}};_0M2.prototype._dG=function(_dn,x,y,_853,_v43){_eG=_fG=0;var _TD=[];var i=0;this._8G();var _9G=this._9G;if(!_9G)return 1;_TD=this._VD(_dn,_v43,_9G);if(_853<0){_853=_9G._bG("M");}var _b53,w;if(_TD.length>0){for(i=0;i<_TD.length-1;i++){_b53=_TD[i];if(_b53!=null){w=_9G._cG(_b53,true);if(_eG<w){_eG=w;}}_fG+=_853;}_fG+=_9G._bG("M");}_b53=_TD[_TD.length-1];w=_9G._cG(_b53,true);if(_eG<w)_eG=w;};var _p53;var _J3;var _q53=null;var _Ji1=1024;var _Ki1=768;var _Qm1=1;var _Rm1=1;
var __J=0;var _0K=0;var _1K=0;var _2K=0;var _aM=0;var _bM=0;var _8M=0;var _9M=0;var _Gx2=[];var _r53=0;var _P8=0xffffff;var _Gr;var _Kr;var _Ci1;var _Ei1;var _j33;var _VJ;var _h33;var _s53;var _Or;var _t53;var _u53;var _3K;var _XJ;var _v53;var _Rr;var _w53;var _x53;var _y53;var _i53;var _z53=true;function _A53(){return _Ji1;}function _B53(){return _Ki1;}function _qf1(_C53){if(!_C53)return;_C53._D53=_C53.transform;_C53._ZJ=_C53.setTransform;_C53._E53=_C53.save;_C53._F53=_C53.restore;_C53._sK=_C53.fillRect;_C53._rK=_C53.strokeRect;_C53._AK=_C53.beginPath;
_C53._hL=_C53.arc;_C53._EK=_C53.stroke;_C53._DK=_C53.closePath;_C53.lineWidth=_C53.lineWidth;_C53._BK=_C53.moveTo;_C53._CK=_C53.lineTo;_C53._NK=_C53.fill;_C53._sf1=_C53.drawImage;_C53._Qi1=_C53.getImageData;_C53._G53=_C53.createImageData;_C53._SY2=_C53.putImageData;_C53._H53=_C53.clip;_C53._I53=_C53.rect;}function _J53(_C53,_Ry){if((_C53.imageSmoothingEnabled==_Ry)&&(_C53.msImageSmoothingEnabled==_Ry))return;_C53.imageSmoothingEnabled=_Ry;_C53.webkitImageSmoothingEnabled=_Ry;_C53.mozImageSmoothingEnabled=_Ry;
_C53.msImageSmoothingEnabled=_Ry;_C53.oImageSmoothingEnabled=_Ry;}function _ii1(_C53){if(!_i7)_J53(_C53,_z53);}function _K53(_rB){_rB=_rB>0.5;if(_z53!=_rB){_z53=_rB;_J53(_59,_rB);}}function _TL2(_tW1){_J3=[];_q53=null;__J=0;_0K=0;_1K=0;_2K=0;_aM=0;_bM=0;_8M=0;_9M=0;_Gx2=[];_Gx2[0]=1;_Gx2[1]=0;_Gx2[2]=0;_Gx2[3]=0;_Gx2[4]=1;_Gx2[5]=0;if(!_i7){if(_fE2){_Gr=_L53;}else {_Gr=_M53;}_Kr=_N53;_Rr=_O53;_Ci1=_P53;_Ei1=_Q53;_v53=_R53;_j33=_S53;_VJ=_T53;_h33=_U53;_s53=_V53;_Or=_W53;_XJ=_X53;_3K=_Y53;_i53=_Z53;_u53=__53;
_w53=_063;_t53=_163;_x53=function(){};_y53=function(){};_z53=!(_vD.Options&&!_vD.Options.interpolatePixels);if(_gE2){if(_fE2){_P8=0x1ffffff;_Gr=_263;}else {_Gr=_363;}_Kr=_N53;_Rr=_463;}}else {_563();}_Ci1(0,0,_Im1,_Jm1);_Ei1(0,0,_Im1,_Jm1,0);}var _663=[];var _763=0;function _X53(){_59._E53();_663.push({_pk:_763++,_863:__J,_963:_0K,_a63:_1K,_b63:_2K});}function _Y53(){_59._F53();var _j3=_663.pop();__J=_j3._863;_0K=_j3._963;_1K=_j3._a63;_2K=_j3._b63;--_763;}function _Cf1(_Yf1){_Yf1._t7=[];_Yf1._u7=0;_Yf1._v7=4;
_Yf1._Wh1=0;_Yf1._9s=null;_Yf1._of1=null;_Yf1.texture=_J3[_Yf1.tp];}function _VM2(_c63){_q53=_c63;for(var i=0;i<_c63.length;i++){var _F3=_c63[i];_Cf1(_F3);}}/*@constructor */function _d63(){this._zr=null;this._e63=0;}function _i33(_fd,_f63,_u4,_v4,_oi,_pi,_Tb){var _g63=null;if(_f63._t7!=undefined){_g63=_f63._t7[_Tb];}else {_f63._t7=[];_f63._v7=4;_f63._u7=0;}if(_g63!=null){_g63._e63=_r53;return _g63._zr;}var _h63=-9999999999;_g63=null;if(_f63._u7<_f63._v7){_g63=new _d63();_f63._u7++;}else {var _i63=-1;for(var i in _f63._t7){
if(!_f63._t7.hasOwnProperty(i))continue;var _j63=_f63._t7[i];if(_j63!=null){var _N5=_r53-_j63._e63;if(_N5>_h63){_i63=i;_g63=_j63;_h63=_N5;}}}if(_i63>=0)delete _f63._t7[_i63];}_f63._t7[_Tb]=_g63;_g63._e63=_r53;_g63._zr=_k63(_fd,_u4,_v4,_oi,_pi,_Tb);return _g63._zr;}function _Q8(_Yf1,_Tb){return _i33(_Yf1.texture,_Yf1,_Yf1.x,_Yf1.y,_Yf1.w,_Yf1.h,_Tb);}function _EV2(_N2){return _q53[_N2];}function _S53(){_59._ZJ(_Gx2[0],_Gx2[3],_Gx2[1],_Gx2[4],_Gx2[2],_Gx2[5]);}function _T53(_7c){_XJ();var _YJ=[];_YJ[0]=1;_YJ[1]=0;
_YJ[2]=0;_YJ[3]=1;_YJ[4]=0;_YJ[5]=0;_59._ZJ(_YJ[0],_YJ[1],_YJ[2],_YJ[3],_YJ[4],_YJ[5]);_59.fillStyle=_jK(_7c|0xff000000);_59._sK(__J,_0K,_1K,_2K);_3K();}function _P53(_KX1,_LX1,_MX1,_NX1){__J=_KX1;_0K=_LX1;_1K=_MX1;_2K=_NX1;if(_z2){if((__J===0&&_0K===0)&&(_1K==_59.canvas.width&&_2K===_59.canvas.height)){}else {_Gx2[0]=1;_Gx2[1]=0;_Gx2[2]=0;_Gx2[3]=1;_Gx2[4]=0;_Gx2[5]=0;_59._ZJ(_Gx2[0],_Gx2[1],_Gx2[2],_Gx2[3],_Gx2[4],_Gx2[5]);_59.beginPath();_59.moveTo(__J,_0K);_59.lineTo(__J+_1K,_0K);_59.lineTo(__J+_1K,
_0K+_2K);_59.lineTo(__J,_0K+_2K);if(!(_YM==_rE2&&_En1==4.0)){_59.clip();}}}}function _l63(_u4,_v4,_oi,_pi,_y4){var _Ml2=new _Xy((_u4+_oi/2.0),(_v4+_pi/2.0),-16000.0);var _Ul2=new _Xy((_u4+_oi/2.0),(_v4+_pi/2.0),0.0);var _1m2=new _Xy(Math.sin(-_y4*(Math.PI/180.0)),Math.cos(-_y4*(Math.PI/180.0)),0.0);_tK2.__y(_Ml2,_Ul2,_1m2);_Li1._8z(_oi,-_pi*_5z,1.0,32000.0);}function _U53(_u4,_v4,_A3,_B3,_y4){var _YJ=[];_YJ[0]=Math.cos(_y4);_YJ[3]=Math.sin(_y4);_YJ[1]=-_YJ[3];_YJ[4]=_YJ[0];_YJ[0]*=_A3;_YJ[3]*=_A3;_YJ[1]*=_B3;
_YJ[4]*=_B3;_YJ[2]=_u4;_YJ[5]=_v4;_59._D53(_YJ[0],_YJ[3],_YJ[1],_YJ[4],_YJ[2],_YJ[5]);}function _V53(_Pv){_59._D53(_Pv._z5[0],_Pv._z5[1],_Pv._z5[4],_Pv._z5[5],_Pv._z5[12],_Pv._z5[13]);}function _R53(_Ll,_Ml,_m63,_n63){if((__J===0&&_0K===0)&&(_1K==_59.canvas.width&&_2K===_59.canvas.height)){}else {_Gx2[0]=1;_Gx2[1]=0;_Gx2[2]=0;_Gx2[3]=1;_Gx2[4]=0;_Gx2[5]=0;_59._ZJ(_Gx2[0],_Gx2[1],_Gx2[2],_Gx2[3],_Gx2[4],_Gx2[5]);_59.moveTo(__J,_0K);_59.lineTo(__J+_1K,_0K);_59.lineTo(__J+_1K,_0K+_2K);_59.lineTo(__J,_0K+_2K);
if(!(_YM==_rE2&&_En1==4.0)){_59.clip();}}_Gx2[0]=_Ll;_Gx2[1]=0;_Gx2[2]=_m63;_Gx2[3]=0;_Gx2[4]=_Ml;_Gx2[5]=_n63;_59._ZJ(_Gx2[0],_Gx2[3],_Gx2[1],_Gx2[4],_Gx2[2],_Gx2[5]);}function _Q53(_o63,_p63,_q63,_r63,_y4){if((__J===0&&_0K===0)&&(_1K==_59.canvas.width&&_2K===_59.canvas.height)){}else {_Gx2[0]=1;_Gx2[1]=0;_Gx2[2]=0;_Gx2[3]=1;_Gx2[4]=0;_Gx2[5]=0;_59._ZJ(_Gx2[0],_Gx2[1],_Gx2[2],_Gx2[3],_Gx2[4],_Gx2[5]);_59.beginPath();_59.moveTo(__J,_0K);_59.lineTo(__J+_1K,_0K);_59.lineTo(__J+_1K,_0K+_2K);_59.lineTo(__J,
_0K+_2K);if(!(_YM==_rE2&&_En1==4.0)){_59.clip();}}var w=_1K/_q63;var h=_2K/_r63;_aM=_o63;_bM=_p63;_8M=_q63;_9M=_r63;_Gx2[0]=w;_Gx2[1]=0;_Gx2[2]=-(_o63*w)+__J;_Gx2[3]=0;_Gx2[4]=h;_Gx2[5]=-(_p63*h)+_0K;_59._ZJ(_Gx2[0],_Gx2[3],_Gx2[1],_Gx2[4],_Gx2[2],_Gx2[5]);}function _L7(_R2){var i=_J3.length;var texture=new Image();_R2=_Hb1(_R2);texture.crossOrigin=_1N;texture.src=_tG(null,null,_R2);_J3[i]=texture;return i;}function _s63(_q7,_r7){var c=document.createElement("canvas");c.width=_q7;c.height=_r7;var i=_J3.length;
var texture=new Image(_q7,_r7);texture.src=_tG(null,null,c.toDataURL());_J3[i]=texture;return i;}function _t63(_nZ1){var i=_J3.length;_J3[i]=_nZ1;return i;}function _u63(_fd,_u4,_v4,_oi,_pi,_tW1){var context=_fd.getContext('2d');context.globalCompositeOperation='copy';context.drawImage(_tW1,_u4,_v4);}function _Cr(_v63){var i=_J3.length;_J3[i]=_v63;return i;}function __53(){_r53++;}function _063(){}function _Ar(_Yf1){var _of1=document.createElement(_cE);var _hr=_of1.getContext('2d');_qf1(_hr);_of1.width=_Yf1.w;_of1.height=_Yf1.h;
_hr._sf1(_Yf1.texture,_Yf1.x,_Yf1.y,_Yf1.w,_Yf1.h,0,0,_Yf1.w,_Yf1.h);_of1.complete=true;return _of1;}function __f1(_Yf1){var _YF=[];var _eY=_Yf1.ow*_Yf1.oh*4;var _w63;for(var i=0;i<_eY;i++)_YF[i]=0;if(_Yf1.texture._R7)_w63=_i7._G_1(_Yf1);else {var _of1=document.createElement(_cE);var _hr=_of1.getContext('2d');_qf1(_hr);_of1.width=_Yf1.w;_of1.height=_Yf1.h;_hr._sf1(_Yf1.texture,_Yf1.x,_Yf1.y,_Yf1.w,_Yf1.h,0,0,_Yf1.w,_Yf1.h);_of1.complete=true;var data,_Ri1,_x63,_y63;try{data=_hr.getImageData(0,0,_Yf1.w,_Yf1.h);
}catch(_fj){return _YF;}_w63=data.data;}var _z63=(_Yf1.XOffset+(_Yf1.YOffset*_Yf1.ow))*4;var _76=_Yf1.w*4;var x,y;for(y=0;y<_Yf1.h;y++){var bindex=_z63;var _A63=y*_76;for(x=0;x<_76;x++){_YF[bindex++]=_w63[_A63++];}_z63+=_Yf1.ow*4;}return _YF;}function _L53(_Yf1,_u4,_v4,_y8){if(!_Yf1)return;if(!_Yf1.texture)return;if(!_Yf1.texture.complete)return;if(_Yf1._of1==null)_Yf1._of1=_Ar(_Yf1);_u4+=_Yf1.XOffset;_v4+=_Yf1.YOffset;_59.globalAlpha=_y8;_59._sf1(_Yf1._of1,~~_u4,~~_v4);}function _263(_Yf1,_u4,_v4,_y8){_L53(_Yf1,
_u4,_v4,_y8);}function _M53(_Yf1,_u4,_v4,_y8){if(!_Yf1)return;if(!_Yf1.texture)return;if(!_Yf1.texture.complete)return;_59.globalAlpha=_y8;_59._sf1(_Yf1.texture,~~_Yf1.x,~~_Yf1.y,_Yf1.w,_Yf1.h,Math.floor(_u4)+_Yf1.XOffset,Math.floor(_v4)+_Yf1.YOffset,_Yf1.CropWidth,_Yf1.CropHeight);}function _363(_Yf1,_u4,_v4,_y8){_M53(_Yf1,_u4,_v4,_y8);}function _B63(_tW1){try{_59._sf1(_tW1,0,0,_tW1.width,_tW1.height,canvas.width,canvas.height,0,0);}catch(e){return false;}var _2a=_tW1.getContext('2d');_2a.fillStyle="white";
_2a.fillRect(0,0,1,1);var _RY2=_2a.getImageData(0,0,1,1);return(_RY2.data[0]===255);}function _N53(_Yf1,_u4,_v4,_C63,_D63,_E63,_F63,_7c,_y8){var _I3=_Yf1.texture;if(!_I3)return;if(!_I3.complete)return;if(_Yf1.w==0||_Yf1.h==0)return;var i=0;if(_E63)i=1;if(_F63)i|=2;if(i===0){_59.globalAlpha=_y8;_59._sf1(_I3,_Yf1.x,_Yf1.y,_Yf1.w,_Yf1.h,_u4+_Yf1.XOffset,_v4+_Yf1.YOffset,(_Yf1.CropWidth*_C63),(_Yf1.CropHeight*_D63));return;}var w=_Yf1.ow;var h=_Yf1.oh;if(_F63){w=(((((_rK2._bi1+(_Yf1.ow-1))/_Yf1.ow)&0xffffffff)+2)*_Yf1.ow);
_u4=_aM+(((_u4-_aM)%_Yf1.ow)-_Yf1.ow);}if(_E63){h=(((((_rK2._ci1+(_Yf1.oh-1))/_Yf1.oh)&0xffffffff)+2)*_Yf1.oh);_v4=_bM+(((_v4-_bM)%_Yf1.oh)-_Yf1.oh);}if((_Yf1._9s!=null)&&(_Yf1._9s.width<(w*_Yf1._G63)||_Yf1._9s.height<(h*_Yf1._G63))){_Yf1._9s=null;_Yf1._as=0;}if((_Yf1._Wh1!=i)||(!_Yf1._9s)){_Yf1._Wh1=i;var buffer=document.createElement(_cE);var _hr=buffer.getContext('2d');_qf1(_hr);buffer.width=w;buffer.height=h;_59.globalAlpha=1;var _H63=1;while((_B63(buffer)===false)&&(buffer.width>=64)&&(buffer.height>=64)){
debug("WARNING: Tiled image quality reduction");buffer.width/=2;buffer.height/=2;_H63/=2;}var _XY=_Yf1.x;var _YY=_Yf1.y;if(_7c!=_P8){_I3=_Q8(_Yf1,_7c);_XY=0;_YY=0;}var _lt=w/_Yf1.ow;var _mt=h/_Yf1.oh;for(var y=0;y<_mt;y++){for(var x=0;x<_lt;x++){_hr._sf1(_I3,_XY,_YY,_Yf1.w,_Yf1.h,_Yf1.XOffset+((x*_Yf1.ow)*_H63),_Yf1.YOffset+((y*_Yf1.oh)*_H63),_Yf1.CropWidth*_H63,_Yf1.CropHeight*_H63);}}_Yf1._G63=_H63;_Yf1._9s=buffer;}_59.globalAlpha=_y8;_59._sf1(_Yf1._9s,_u4,_v4,_Yf1._9s.width/_Yf1._G63,_Yf1._9s.height/_Yf1._G63);
}function _O53(_Yf1,_uf1,_vf1,_u4,_v4,_C63,_D63,_C3,_ap,_rn,_uK,_vK,_y8){if(!_Yf1.texture)return;if(!_Yf1.texture.complete)return;if((abs(_C63)<=0.0001)||(abs(_D63)<=0.0001)||(_y8<=0)){return;}_ap&=0xffffff;var _aL=-(_uf1-_Yf1.XOffset);var _bL=-(_vf1-_Yf1.YOffset);var _qm2=_59.globalAlpha;_59.globalAlpha=_y8;if(_ap!=_P8){var _633=_Q8(_Yf1,_ap);var _i3=Math.abs(_C3);if((_i3<0.0001)&&(_C63==1)&&(_D63==1)&&(_Yf1.w===_Yf1.CropWidth)&&(_Yf1.h===_Yf1.CropHeight)){_59._sf1(_633,_u4+_aL,_v4+_bL);}else {if((_C63<0)||(_D63<0)||(_i3>0.0001)){
_h33(_u4,_v4,_C63,_D63,-_C3);_59._sf1(_633,0,0,_Yf1.w,_Yf1.h,_aL,_bL,_Yf1.CropWidth,_Yf1.CropHeight);_j33();}else {_59._sf1(_633,0,0,_Yf1.w,_Yf1.h,_u4+(_aL*_C63),_v4+(_bL*_D63),_Yf1.CropWidth*_C63,_Yf1.CropHeight*_D63);}}}else {var _i3=Math.abs(_C3);if((_i3<0.0001)&&(_C63==1)&&(_D63==1)&&(_Yf1.w===_Yf1.CropWidth)&&(_Yf1.h===_Yf1.CropHeight)){if(_Yf1._of1==null){_Yf1._of1=_Ar(_Yf1);}_59._sf1(_Yf1._of1,_u4+_aL,_v4+_bL);}else {if(_C63<0||_D63<0||_i3>0.001){_h33(_u4,_v4,_C63,_D63,-_C3);_59._sf1(_Yf1.texture,
_Yf1.x,_Yf1.y,_Yf1.w,_Yf1.h,_aL,_bL,_Yf1.CropWidth,_Yf1.CropHeight);_j33();}else {_59._sf1(_Yf1.texture,_Yf1.x,_Yf1.y,_Yf1.w,_Yf1.h,_u4+(_aL*_C63),_v4+(_bL*_D63),_Yf1.CropWidth*_C63,_Yf1.CropHeight*_D63);}}}_59.globalAlpha=_qm2;}function _463(_Yf1,_uf1,_vf1,_u4,_v4,_C63,_D63,_C3,_ap,_rn,_uK,_vK,_y8){try{_O53(_Yf1.texture,_uf1,_vf1,_u4,_v4,_C63,_D63,_C3,_ap,_rn,_uK,_vK,_y8);}catch(_fj){debug("error drawing image");}}function _k63(_fd,_u4,_v4,_oi,_pi,_7c){var buffer=document.createElement(_cE);var _hr=buffer.getContext('2d');
_qf1(_hr);buffer.width=_oi;buffer.height=_pi;_hr._sf1(_fd,_u4,_v4,_oi,_pi,0,0,_oi,_pi);if(~~_7c!=0xffffff){var data,_Ri1,_x63,_y63;data=_hr._Qi1(0,0,buffer.width,buffer.height);_Ri1=data.data;var _I63=_hr._G53(buffer.width,buffer.height);_y63=_I63.data;var _i3=((_7c>>16)&0xff)/255;var _j3=((_7c>>8)&0xff)/255;var _k3=(_7c&0xff)/255;var _kd1=(data.height*data.width*4);for(var i=_kd1-4;i>=0;i-=4){_y63[i]=(_Ri1[i]*_i3)|0;_y63[i+1]=(_Ri1[i+1]*_j3)|0;_y63[i+2]=(_Ri1[i+2]*_k3)|0;_y63[i+3]=(_Ri1[i+3]);}_I63.data=_y63;
_hr._SY2(_I63,0,0);}return buffer;}function _J63(_Yf1,__5,_06,_s5,_t5,_Nt,_Ot,_0k1,_1k1,_y8){var _I3=_Yf1.texture;if(!_I3)return;if(!_I3.complete)return;_59.globalAlpha=_y8;_K63(_I3,__5,_06,_s5,_t5,_Nt,_Ot,_Yf1.x,_Yf1.y,_Yf1.x+_Yf1.w,_Yf1.y,_Yf1.x+_Yf1.w,_Yf1.y+_Yf1.h);_K63(_I3,_Nt,_Ot,_0k1,_1k1,__5,_06,_Yf1.x+_Yf1.w,_Yf1.y+_Yf1.h,_Yf1.x,_Yf1.y+_Yf1.h,_Yf1.x,_Yf1.y);}function _K63(_3a,_4a,_5a,_A5,_B5,_C5,_D5,_6a,_7a,_8a,_9a,_aa,_ba){_XJ();_59._AK();_59._BK(_4a,_5a);_59._CK(_A5,_B5);_59._CK(_C5,_D5);
_59._DK();_59._H53();var _ca=_6a*(_ba-_9a)-_8a*_ba+_aa*_9a+(_8a-_aa)*_7a;if(_ca==0)return;var _da=-(_7a*(_C5-_A5)-_9a*_C5+_ba*_A5+(_9a-_ba)*_4a)/_ca;var _ea=(_9a*_D5+_7a*(_B5-_D5)-_ba*_B5+(_ba-_9a)*_5a)/_ca;var _fa=(_6a*(_C5-_A5)-_8a*_C5+_aa*_A5+(_8a-_aa)*_4a)/_ca;var _ga=-(_8a*_D5+_6a*(_B5-_D5)-_aa*_B5+(_aa-_8a)*_5a)/_ca;var _ha=(_6a*(_ba*_A5-_9a*_C5)+_7a*(_8a*_C5-_aa*_A5)+(_aa*_9a-_8a*_ba)*_4a)/_ca;var _ia=(_6a*(_ba*_B5-_9a*_D5)+_7a*(_8a*_D5-_aa*_B5)+(_aa*_9a-_8a*_ba)*_5a)/_ca;_59._D53(_da,_ea,_fa,_ga,
_ha,_ia);_59._sf1(_3a,0,0);_3K();}function _W53(_Yf1,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_Qr,_y8){if(!_Yf1)return;if(!_Yf1.texture)return;if(!_Yf1.texture.complete)return;_Qr&=0xffffff;_59.globalAlpha=_y8;if(_Mr<_Yf1.XOffset){var _L63=_Yf1.XOffset-_Mr;_u4+=_L63*_gn;_q7-=_L63;_Mr=0;}else {_Mr-=_Yf1.XOffset;}if(_Nr<_Yf1.YOffset){var _L63=_Yf1.YOffset-_Nr;_v4+=_L63*_hn;_r7-=_L63;_Nr=0;}else {_Nr-=_Yf1.YOffset;}if(_q7>(_Yf1.CropWidth-_Mr))_q7=_Yf1.CropWidth-_Mr;if(_r7>(_Yf1.CropHeight-_Nr))_r7=_Yf1.CropHeight-_Nr;
if(_q7<=0||_r7<=0)return;_u4=~~_u4;_v4=~~_v4;if(_Qr!=_P8){var _633=_Q8(_Yf1,_Qr);if(_gn<0||_hn<0){_h33(_u4,_v4,_gn,_hn,0);_59._sf1(_633,_Mr,_Nr,_q7,_r7,0,0,_q7,_r7);_j33();}else {_59._sf1(_633,_Mr,_Nr,_q7,_r7,_u4,_v4,_q7*_gn,_r7*_hn);}}else {if(_gn<0||_hn<0){_h33(_u4,_v4,_gn,_hn,0);_59._sf1(_Yf1.texture,_Mr+_Yf1.x,_Nr+_Yf1.y,_q7,_r7,0,0,_q7,_r7);_j33();}else {_59._sf1(_Yf1.texture,_Mr+_Yf1.x,_Nr+_Yf1.y,_q7,_r7,_u4,_v4,_q7*_gn,_r7*_hn);}}}function _Ir(_Yf1,_u4,_v4,_oi,_pi,_Qr,_y8){if(!_Yf1)return;if(!_Yf1.texture)return;
if((_Yf1.texture instanceof HTMLImageElement)&&(!_Yf1.texture.complete))return;_u4=~~_u4;_v4=~~_v4;var _XY=_oi/_Yf1.ow;var _YY=_pi/_Yf1.oh;_Rr(_Yf1,0,0,_u4,_v4,_XY,_YY,0,_Qr,_Qr,_Qr,_Qr,_y8);}function __r(_Yf1,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_C3,_Wr,_Xr,_Yr,_Zr,_y8){if(!_Yf1)return;if(!_Yf1.texture)return;if(!_Yf1.texture.complete)return;_Rr(_Yf1,_Mr,_Nr,_u4,_v4,_gn,_hn,_C3,_Wr,_Xr,_Yr,_Zr,_y8);}var _1s=_M63;function _M63(_N63,_O63){if(_i7)return false;var buffer=document.createElement(_cE);var _hr=buffer.getContext('2d');
_qf1(_hr);buffer.width=_N63.w;buffer.height=_N63.h;_hr.drawImage(_O63.texture,_O63.x,_O63.y,_O63.w,_O63.h,0,0,_N63.w,_N63.h);var _P63,_Q63,_R63,_S63,_T63;try{_Q63=_hr.getImageData(0,0,_N63.w,_N63.h);_T63=_N63.texture.getContext('2d');_qf1(_T63);_R63=_T63.getImageData(_N63.x,_N63.y,_N63.w,_N63.h);}catch(_fj){return false;}_P63=_Q63.data;_S63=_R63.data;var _kd1=(_R63.height*_R63.width*4);for(var i=_kd1-4;i>=0;i-=4){var c=~~((_P63[i]+_P63[i+1]+_P63[i+2])/3);_S63[i+3]=c;}_R63.data=_S63;_T63.putImageData(_R63,
0,0);return true;}function _Z53(_on,_dn,_u4,_v4,_gn,_hn,_y4,_7c,_y8){_59.globalAlpha=_y8;_59.fillStyle=_rr(_7c,1.0);_59.font=_on;_59.textBaseline="top";_h33(_u4,_v4,_gn,_hn,-_y4);_59.fillText(_dn,0,0);_j33();};function _ir(_U63,_oi,_pi){try{var data,_Ri1,_x63,_y63;data=_U63._Qi1(0,0,_oi,_pi);_Ri1=_y63=data.data;var _V63=(_pi-1)*_oi*4;var _i3=_Ri1[_V63+0];var _j3=_Ri1[_V63+1];var _k3=_Ri1[_V63+2];var _l3=_Ri1[_V63+3];var _kd1=(data.height*data.width*4);for(var i=_kd1-4;i>=0;i-=4){_y63[i+0]=_Ri1[i+0];_y63[i+1]=_Ri1[i+1];
_y63[i+2]=_Ri1[i+2];if((_y63[i+0]==_i3)&&(_y63[i+1]==_j3)&&(_y63[i+2]==_k3)){_y63[i+3]=0x0;}else {_y63[i+3]=_Ri1[i+3];}}_U63._SY2(data,0,0);}catch(_fj){return false;}return true;};function _163(_fn){};var _W63=[];function gif_open(width,height,background_colour){var _V_=new _RT1();_V_._bU1(0);_V_._gU1(yyGetInt32(width),yyGetInt32(height));_V_.start();for(var i=0;i<_W63.length;i++){if(_W63[i]==null){_W63[i]=_V_;return i;}}var _u3=_W63.length;_W63[_W63.length]=_V_;return _u3;};function gif_save_buffer(_X63){_X63=yyGetInt32(_X63);
var _V_=_W63[_X63];if(_V_==null)return -1;_V_._tU1();var _Y63=_V_._Ee1()._UT1();var _7j=buffer_create(_Y63.length,_8j,1);if(_7j==null)return -1;for(var i=0;i<_Y63.length;i++)buffer_write(_7j,_lN,_Y63[i]);_W63[_X63]=null;return _7j;};function gif_save(_X63,filename){_X63=yyGetInt32(_X63);var _V_=_W63[_X63];if(_V_==null)return;_V_._tU1();_V_.download(yyGetString(filename));_W63[_X63]=null;};function gif_add_surface(_X63,_Z63,__63,_073,_173,_273){if(_273===undefined)_273=2;if(_073===undefined)_073=0;if(_173===undefined)_173=0;
var _qr=_gr._I4(yyGetInt32(_Z63));if(_qr!=null){if(_qr._dj1._ej1._vc!=_fr){debug("Surface "+yyGetInt32(_nf)+" can't be used as a gif source as it uses unsupported format "+_i7._pZ1(_qr._dj1._ej1._vc));return -1;}var _V_=_W63[yyGetInt32(_X63)];if(_V_==null)return;switch(yyGetInt32(_273)){default :_V_._vU1(1);break;case 0:_V_._vU1(0);break;case 1:_V_._vU1(30);break;case 2:_V_._vU1(10);break;}_V_._9U1(yyGetInt32(__63)*10);var _of1=document.createElement(_cE);var _pf1=_of1.getContext('2d');_qf1(_pf1);var _1c=_i7._0_1(_of1,
_qr._5i1,yyGetInt32(_073),yyGetInt32(_173),_V_._EU1(),_V_._FU1(),false,false);_V_._eU1(Uint8ClampedArray.from(_1c.Image),true);}};function _02(_373){this._473=_373;this._573=_373*Math.PI/180.0;this._673=Math.sin(this._573);this._773=Math.cos(this._573);}_02.prototype={get _373(){return this._473;},get _873(){return this._573;},get _973(){return [[this._773,-this._673],[this._673,this._773],];},};function _55(_a73,_b73,angle){var _c73=_a73[0];var _d73=_a73[1];var _r8=_b73[0];var _s8=_b73[1];var _e73=angle._973[0][0]*(_c73-_r8)+angle._973[0][1]*(_d73-_s8)+_r8;
var _f73=angle._973[1][0]*(_c73-_r8)+angle._973[1][1]*(_d73-_s8)+_s8;return [_e73,_f73];}var _g73=0,_KY2=0;function _CN(_h73){this._i73=false;this._MN=[];this._j73=_h73;this._k73="";this._l73=0;this._m73=0;}function _yN(_xN){var _n73=new _CN(null);_n73._k73=_xN;_n73._o73();var _u7=0;for(var i in _n73._MN){if(!_n73._MN.hasOwnProperty(i))continue;_u7++;break;}return _n73;}function _BN(_p73,_q73){var _Ie=_zk(_p73,_q73);var _n73=new _CN(_p73);_n73._k73=_Ie;_n73._o73();var _u7=0;for(var i in _n73._MN){if(!_n73._MN.hasOwnProperty(i))continue;
_u7++;break;}if(_u7==0)return null;return _n73;}_CN.prototype._cF=function(){while((this._k73.charCodeAt(this._l73)!=0x0a)&&(this._k73.charCodeAt(this._l73)!=0x0d)&&(this._l73<this._kW2)){this._l73++;}this._m73++;this._l73++;if(this._l73>=this._kW2)return;if((this._k73.charCodeAt(this._l73)==0x0a)&&(this._k73.charCodeAt(this._l73)==0x0d)){this._l73++;}};_CN.prototype._r73=function(){{if(this._l73>=this._kW2)return false;var c=this._k73.charCodeAt(this._l73);if(c==0x20||c==0x09||c==0x0a||c==0x0d||c==ord('#')||c==ord(';')){
return true;}else {return false;}}};_CN.prototype._dF=function(){{while(this._r73()&&(this._l73<this._kW2)){var c=this._k73.charCodeAt(this._l73);if(c==ord('#')||c==ord(';')){this._cF();}else if(c==0x0a){this._m73++;}this._l73++;}if(this._l73>=this._kW2)return;}};_CN.prototype._s73=function(){{this._dF();while((this._k73.charAt(this._l73)!='[')&&(this._l73<this._kW2)){this._l73++;}if(this._l73>=this._kW2)return null;this._l73++;var _t73=this._l73;while((this._k73.charAt(this._l73)!=']')&&(this._l73<this._kW2)){
this._l73++;}if(this._l73>=this._kW2)return null;var _1i=this._l73-_t73;var _LN=[];_LN.__m_pIniFileName__=this._k73.substr(_t73,_1i);this._l73++;return _LN;}};_CN.prototype._u73=function(_v73){{this._dF();if(this._l73>=this._kW2||this._k73.charAt(this._l73)=='[')return false;var _t73=this._l73;var _w73=-1;while((this._k73.charAt(this._l73)!='=')&&(this._l73<this._kW2)){if(this._r73()){if(_w73<0)_w73=this._l73;}else {_w73=-1;}this._l73++;}if(this._l73>=this._kW2)return false;if(_w73<0)_w73=this._l73;var _1i=_w73-_t73;
var _JN=this._k73.substr(_t73,_1i);while((this._k73.charAt(this._l73)!='=')&&(this._l73<this._kW2)){this._l73++;}if(this._l73>=this._kW2)return false;this._l73++;var _GD=this._m73;this._dF();if(_GD!=this._m73)return false;var _x73=ord('#');var _y73=ord(';');var _z73=false;var _a6=this._k73.charCodeAt(this._l73);switch(_a6){case 34:case 39:_x73=_a6;_y73=_a6;_z73=true;this._l73++;break;case 91:case 123:_x73=-1;_y73=-1;break;}_t73=this._l73;var _A73=-1;var c=this._k73.charCodeAt(this._l73);while((c!=0x0a)&&(c!=0x0d)&&(c!=_x73)&&(c!=_y73)&&(this._l73<this._kW2)){
if(c==0x20||c==0x09){if(_A73<0)_A73=this._l73;}else {_A73=-1;}if(c==ord('\\'))this._l73++;this._l73++;c=this._k73.charCodeAt(this._l73);}if(_A73>=0&&!_z73){_1i=_A73-_t73;}else {_1i=this._l73-_t73;}var _JU1=this._k73.substr(_t73,_1i);_v73[_JN]=_JU1;if(_z73){_a6=this._k73.charCodeAt(this._l73);if((_a6==_x73)&&(_a6==_y73)){while((this._k73.charCodeAt(this._l73)!=0x0a)&&(this._k73.charCodeAt(this._l73)!=0x0d)&&(this._l73<this._kW2)){this._l73++;}}}return true;}};_CN.prototype._o73=function(){{if(this._k73==null)return false;
this._kW2=this._k73.length;this._l73=0;this._m73=0;var _LN=this._s73();if(_LN==null){this._k73=null;return false;}this._MN[_LN.__m_pIniFileName__]=_LN;while(this._l73<this._kW2){var _8C=this._u73(_LN);if(!_8C){if(this._l73<this._kW2){if(this._k73.charAt(this._l73)=='['){_LN=this._s73();if(_LN==null){this._k73=null;return true;}this._MN[_LN.__m_pIniFileName__]=_LN;}}}}this._k73=null;return true;}};_CN.prototype._KN=function(_B73,_C73){{var _LN=this._MN[_B73];if(_LN!=null&&_LN!=undefined){var _JU1=_LN[_C73];
if(_JU1!=undefined)return _JU1;}return null;}};_CN.prototype._D73=function(_B73,_C73,_FN){{var _JN=this._KN(_B73,_C73);if(_JN!=null){return this.parseInt(_JN,10);}else {return _FN;}}};_CN.prototype._HN=function(_B73,_C73,_FN){{var _JN=this._KN(_B73,_C73);if(_JN!=null){return parseFloat(_JN);}else {return parseFloat(_FN);}}};_CN.prototype._GN=function(_B73,_C73,_FN){{var _JN=this._KN(_B73,_C73);if(_JN!=null){return _JN;}else {return _FN;}}};_CN.prototype._IN=function(_B73,_C73,_E73){this._i73=true;var _LN=this._MN[_B73];
if(_LN==null||_LN==undefined){_LN=[];_LN.__m_pIniFileName__=_B73;this._MN[_LN.__m_pIniFileName__]=_LN;}_LN[_C73]=_E73;return true;};_CN.prototype._NN=function(_B73,_C73){var _LN=this._MN[_B73];if(_LN==null||_LN==undefined)return false;var _JN=_LN[_C73];if(_JN==null||_JN==undefined)return false;this._i73=true;_LN[_C73]=null;return true;};_CN.prototype._ON=function(_B73){var _LN=this._MN[_B73];if(_LN==null||_LN==undefined)return false;this._i73=true;this._MN[_B73]=null;return true;};_CN.prototype._DN=function(){
var _Ie="";var _tD=chr(0x0d)+chr(0x0a);for(var _F73 in this._MN){if(!this._MN.hasOwnProperty(_F73))continue;_Ie=_Ie+"["+_F73+"]"+_tD;var _LN=this._MN[_F73];for(var key in _LN){if(!_LN.hasOwnProperty(key))continue;if(key!="__m_pIniFileName__"){var _JU1=_LN[key];if(_JU1!=null){if(_JU1.indexOf('"')<0){_Ie+=key+'="'+_JU1+'"'+_tD;}else if(_JU1.indexOf("'")<0){_Ie+=key+"='"+_JU1+"'"+_tD;}else {_Ie+=key+"="+_JU1+_tD;}}}}}if(this._i73){_vk(this._j73,_Ie);this._i73=false;}return _Ie;};function _Hb1(_p73){if(_p73.substring(0,
5)=="file:")return _p73;if(_p73.substring(0,5)=="data:")return _p73;if((_p73.substring(0,7)=="http://")||(_p73.substring(0,8)=="https://"))return _p73;if(_p73.substring(0,_M7.length)==_M7)return _tG(null,null,_p73);return _tG(null,null,_M7+_p73);}function _G73(_p73){if(_p73.substring(0,5)=="file:")return false;if(_p73.substring(0,4)=="ftp:")return false;if(_p73.substring(0,7)=="gopher:")return false;if(_p73.substring(0,7)=="mailto:")return false;if(_p73.substring(0,5)=="news:")return false;if(_p73.substring(0,
5)=="nntp:")return false;if(_p73.substring(0,7)=="telnet:")return false;if(_p73.substring(0,5)=="wais:")return false;if(_p73.substring(0,5)=="news:")return false;if(_p73.substring(1,1)==":")return false;return true;}function _H73(_sq){try{var _I73=new XMLHttpRequest();_I73.open('HEAD',_sq,false);_I73.send();_KY2=_I73.status;var _J73=(_I73.status!=404&&_I73.status!=0);return _J73;}catch(e){return false;}}function _K73(_vv2,_Tv2){try{var _tz=!window.XMLHttpRequest?new ActiveXObject('Microsoft.XMLHTTP'):new XMLHttpRequest();
_tz.open(_Tv2?'PUT':'GET',_vv2,false);_tz.overrideMimeType('text\/plain; charset=x-user-defined');_tz.send(_Tv2?_Tv2:'');_KY2=_tz.status;return _tz.responseText;}catch(e){return null;}}function _L73(_vv2,_Tv2){try{var _tz=!window.XMLHttpRequest?new ActiveXObject('Microsoft.XMLHTTP'):new XMLHttpRequest();_tz.open(_Tv2?'PUT':'GET',_vv2,false);_tz.send(_Tv2?_Tv2:'');_KY2=_tz.status;return _tz.responseText;}catch(e){return null;}}function _M73(_vv2){try{var _tz=!window.XMLHttpRequest?new ActiveXObject('Microsoft.XMLHTTP'):new XMLHttpRequest();
_tz.open("DELETE",_vv2,false);_tz.send('');_KY2=_tz.status;return _tz.status;}catch(e){return false;}}function _vk(_rk,_zM){if(_N73){return false;}else if(_kF){try{window.localStorage[_lF(_rk)]=_zM;return true;}catch(_fj){return false;}}}function _zk(_p73,_q73){return _O73(_p73,_q73,_L73);}function _IY2(_p73,_q73){return _O73(_p73,_q73,_K73);}function _O73(_p73,_q73,_P73){var _Ie=null;if(_p73.substring(0,5)=="file:")return null;if(_q73){if((_p73.substring(0,7)=="http://")||(_p73.substring(0,8)=="https://"))return;
if(_N73){return null;}else if(_kF){try{_Ie=window.localStorage[_lF(_p73)];}catch(_fj){return null;}if((_Ie==undefined)||(_Ie==null))return null;}}else {if(!_G73(_p73))return null;_p73=_Hb1(_p73);_Ie=_P73(_p73,false);if((_Ie==null)||(_Ie==undefined))return null;if(_KY2==404)return null;}return _Ie;}function _jF(_p73,_q73){var _Ie=null;if(_p73.substring(0,5)=="file:")return null;if(_q73){if(_N73){return false;}else if(_kF){try{var name=_lF(_p73);if(window.localStorage[name]!==undefined){return true;}return false;}
catch(_fj){return false;}}}else {if(!_G73(_p73)){return false;}_p73=_Hb1(_p73);return _H73(_p73);}}var _Q73=new _ME(0,0,0,0);var _mH=null;var _oH=-1;var _qH=-1;var _2z2=0;function _mP(_n31,_o31,_nf,_R73,_S73,_T73){this.__type="[instance]";this._U73=_n31;this._V73=_o31;this._W73=_n31;this._X73=_o31;this._Y73=_n31;this._Z73=_o31;this.__73=0;this._083=0;this._183=0;this._283=0;this._383=0;this._483=0;this._583=270;this.object_index=_R73;this.id=_nf;this.active=true;this.in_collision_tree=true;this.alarm=[];for(var i=0;
i<=(_0A2-1);i++){this.alarm[i]=-1;}this._683=true;this._783=true;this._883=false;this._983=0;this._MO=new _ME(0,0,0,0);this._a83=0;this._b83=0;this.image_number=0;this.sprite_width=0;this.sprite_height=0;this.sprite_xoffset=0;this.sprite_yoffset=0;this._c83=1.0;this._d83=1.0;this._e83=0;this._f83=1.0;this._g83=0xffffff;this._h83=1;this._i83=-1;this._j83=0;this._k83=0;this._l83=1;this.path_index=-1;this._m83=0;this._n83=0;this._o83=0;this._p83=1;this._q83=0;this._r83=0;this._2F=0;this._3F=0;this._s83=-1;
this._t83=0;this._u83=1;this._hq=true;this._iq=false;this._v83=-1;this._w83=false;this.marked=false;this._x83=null;this._5q=_yf1._zf1;this._1P=true;this._Pz2=false;this._ZE=null;this._y83=null;this._v41=null;this._xL=null;this._z83=null;this._7z2=false;this._A83=false;this._B83=false;this._C83=null;this._D83=false;this._E83=true;if(!_T73){this._4z2=_2z2;this._uP(_R73,_S73,true);this._vP(this._ZE._wP);}else {this._4z2=0;this.object_index=0;this.sprite_index=-1;this._F83=null;}this._uS=-1;this._qP=false;
}_mP.prototype={get x(){return this._U73;},set x(_u4){_u4=yyGetReal(_u4);if(this._U73===_u4)return;this._U73=_u4;this._1P=true;},get y(){return this._V73;},set y(_v4){_v4=yyGetReal(_v4);if(this._V73===_v4)return;this._V73=_v4;this._1P=true;},get xstart(){return this._Y73;},set xstart(_qY){_qY=yyGetReal(_qY);if(this._Y73===_qY)return;this._Y73=_qY;},get ystart(){return this._Z73;},set ystart(_rY){_rY=yyGetReal(_rY);if(this._Z73===_rY)return;this._Z73=_rY;},get xprevious(){return this._W73;},set xprevious(_G83){
_G83=yyGetReal(_G83);if(this._W73===_G83)return;this._W73=_G83;},get yprevious(){return this._X73;},set yprevious(_H83){_H83=yyGetReal(_H83);if(this._X73===_H83)return;this._X73=_H83;},get hspeed(){return this.__73;},set hspeed(_F2){_F2=yyGetReal(_F2);if(this.__73==_F2)return;this.__73=_F2;this._I83();},get vspeed(){return this._083;},set vspeed(_F2){_F2=yyGetReal(_F2);if(this._083==_F2)return;this._083=_F2;this._I83();},get direction(){return this._183;},set direction(_F2){_F2=yyGetReal(_F2);while(_F2<0.0){
_F2+=360.0;}while(_F2>360.0){_F2-=360.0;}this._183=_pL2(_F2,360.0);this._J83();},get speed(){return this._283;},set speed(_F2){_F2=yyGetReal(_F2);if(this._283==_F2)return;this._283=_F2;this._J83();},get friction(){return this._383;},set friction(_F2){_F2=yyGetReal(_F2);if(this._383==_F2)return;this._383=_F2;},get gravity(){return this._483;},set gravity(_F2){_F2=yyGetReal(_F2);if(this._483==_F2)return;this._483=_F2;},get gravity_direction(){return this._583;},set gravity_direction(_F2){_F2=yyGetReal(_F2);if(this._583==_F2)return;
this._583=_F2;},get solid(){return this._683;},set solid(_F2){_F2=yyGetBool(_F2);if(this._683==_F2)return;this._683=_F2;},get persistent(){return this._883;},set persistent(_F2){_F2=yyGetBool(_F2);if(this._883==_F2)return;this._883=_F2;},get visible(){return this._783;},set visible(_F2){_F2=yyGetBool(_F2);if(this._783==_F2)return;this._783=_F2;},get depth(){return this._983;},set depth(_Ek){_Ek=yyGetReal(_Ek);if(this._983!=_Ek){this._983=_Ek;_x2._K83[_x2._K83.length]=this;}},get path_position(){return this._m83;
},set path_position(_F2){_F2=yyGetReal(_F2);if(this._m83==_F2)return;this._m83=_F2;},get path_positionprevious(){return this._n83;},set path_positionprevious(_F2){_F2=yyGetReal(_F2);if(this._n83==_F2)return;this._n83=_F2;},get path_speed(){return this._o83;},set path_speed(_F2){_F2=yyGetReal(_F2);if(this._o83==_F2)return;this._o83=_F2;},get path_scale(){return this._p83;},set path_scale(_F2){_F2=yyGetReal(_F2);if(this._p83==_F2)return;this._p83=_F2;},get path_orientation(){return this._q83;},set path_orientation(_F2){
_F2=yyGetReal(_F2);if(this._q83==_F2)return;this._q83=_F2;},get path_endaction(){return this._r83;},set path_endaction(_F2){_F2=yyGetInt32(_F2);if(this._r83==_F2)return;this._r83=_F2;},get timeline_index(){return this._s83;},set timeline_index(_F2){_F2=yyGetInt32(_F2);if(this._s83==_F2)return;this._s83=_F2;},get timeline_position(){return this._t83;},set timeline_position(_F2){_F2=yyGetReal(_F2);if(this._t83==_F2)return;this._t83=_F2;},get timeline_speed(){return this._u83;},set timeline_speed(_F2){_F2=yyGetReal(_F2);
if(this._u83==_F2)return;this._u83=_F2;},get bbox_left(){if(this._1P)this._2P();return this._MO.left;},get bbox_right(){if(this._1P)this._2P();return this._MO.right;},get bbox_top(){if(this._1P)this._2P();return this._MO.top;},get bbox_bottom(){if(this._1P)this._2P();return this._MO.bottom;},get sprite_index(){return this._a83;},set sprite_index(_nf){_nf=yyGetInt32(_nf);this._a83=_nf;this._1P=true;this._F83=null;},get image_index(){return this._b83;},set image_index(_JL){_JL=yyGetReal(_JL);var _OT=_H4._I4(this.sprite_index);
if(_OT!=null){if(_OT.sequence!=null&&_OT.sequence._TT!=null&&_OT.sequence._TT[0]._dO==_UT){var _4V=_OT.sequence._TT[0];var keyframeStore=_4V._WT;var _5V=keyframeStore._6V;if(_5V>0){var _7V=_E2(_JL,_5V);var _8V=_7V;var _9V=_7V-_8V;this._k83=this._j83=(keyframeStore._aV[Math.floor(_8V)]._bV+(_9V*_5V));this._b83=_JL;}else {this._b83=_JL;}}else {this._b83=_JL;}}else {this._b83=_JL;}},get image_single(){if(this.image_speed==0){return this.image_index;}else {return -1;}},set image_single(_DW){_DW=yyGetInt32(_DW);if(_DW<0){
this.image_speed=1;}else {this.image_speed=0;this.image_index=_DW;}},get image_number(){var _sz2=_H4._I4(this.sprite_index);if(!_sz2)return 0;var _rL=this._68();if(_rL){return _rL._t2(_sz2);}else if((_sz2._a13!==null)&&(_sz2._a13!==undefined)){return _sz2._a13._Zu2;}return _sz2._G3.length;},get sprite_width(){var _sz2=_H4._I4(this.sprite_index);if(!_sz2)return 0;return _sz2.width*this.image_xscale;},get sprite_height(){var _sz2=_H4._I4(this.sprite_index);if(!_sz2)return 0;return _sz2.height*this.image_yscale;},get sprite_xoffset(){
var _sz2=_H4._I4(this.sprite_index);if(!_sz2)return 0;return _sz2.xOrigin*this.image_xscale;},get sprite_yoffset(){var _sz2=_H4._I4(this.sprite_index);if(!_sz2)return 0;return _sz2.yOrigin*this.image_yscale;},get image_xscale(){return this._c83;},set image_xscale(_rl){_rl=yyGetReal(_rl);if(this._c83===_rl)return;this._c83=_rl;this._1P=true;},get image_yscale(){return this._d83;},set image_yscale(_rl){_rl=yyGetReal(_rl);if(this._d83===_rl)return;this._d83=_rl;this._1P=true;},get image_angle(){return this._e83;}
,set image_angle(_vd2){_vd2=yyGetReal(_vd2);if(this._e83===_vd2)return;this._e83=_vd2;this._1P=true;},get image_blend(){return _Ub(this._g83);},set image_blend(_7c){this._g83=yyGetInt32(_7c);},get image_alpha(){return this._f83;},set image_alpha(_y8){this._f83=yyGetReal(_y8);},get image_speed(){return this._h83;},set image_speed(_xl){_xl=yyGetReal(_xl);if(this._h83===_xl)return;this._h83=_xl;},get mask_index(){return this._i83;},set mask_index(_nf){this._i83=yyGetInt32(_nf);this._1P=true;this._z83=null;},get timeline_running(){
if(this._hq){return 0;}else {return 1;}},set timeline_running(_L83){this._hq=!yyGetBool(_L83);},get timeline_loop(){if(this._iq){return 1;}else {return 0;}},set timeline_loop(_S2){this._iq=yyGetBool(_S2);},get phy_rotation(){return this._M83;},set phy_rotation(_082){if(this._v41!=null){this._v41.__72(yyGetReal(_082));this._Jb2(this._v41._J72);}},get phy_position_x(){return this._N83;},set phy_position_x(_Uj){if(this._v41!=null&&_x2!=null){this._v41._182(yyGetReal(_Uj)*_x2._y31._441);this._Jb2(this._v41._J72);}
},get phy_position_y(){return this._O83;},set phy_position_y(_Uj){if(this._v41!=null&&_x2!=null){this._v41._282(yyGetReal(_Uj)*_x2._y31._441);this._Jb2(this._v41._J72);}},get phy_angular_velocity(){return this._P83;},set phy_angular_velocity(_382){if(this._v41!=null){this._v41._vC1(yyGetReal(_382));this._Jb2(this._v41._J72);}},get phy_linear_velocity_x(){return this._Q83;},set phy_linear_velocity_x(_582){if(this._v41!=null&&_x2!=null){this._v41._482(yyGetReal(_582)*_x2._y31._441);this._Jb2(this._v41._J72);
}},get phy_linear_velocity_y(){return this._R83;},set phy_linear_velocity_y(_582){if(this._v41!=null&&_x2!=null){this._v41._782(yyGetReal(_582)*_x2._y31._441);this._Jb2(this._v41._J72);}},get phy_speed(){if(this._v41!=null&&_x2!=null){var _S83=_B2._C2();var _T83=_x2._y31._441;var _08=(this._Q83/_T83)/_S83;var _18=(this._R83/_T83)/_S83;return Math.sqrt((_08*_08)+(_18*_18));}else return undefined;},get phy_speed_x(){return this._U83;},set phy_speed_x(_xl){if(this._v41!=null&&_x2!=null){var _S83=_B2._C2();this._v41._482(yyGetReal(_xl)*_x2._y31._441*_S83);
this._Jb2(this._v41._J72);}},get phy_speed_y(){return this._V83;},set phy_speed_y(_xl){if(this._v41!=null&&_x2!=null){var _S83=_B2._C2();this._v41._782(yyGetReal(_xl)*_x2._y31._441*_S83);this._Jb2(this._v41._J72);}},get phy_angular_damping(){return this._W83;},set phy_angular_damping(_Y31){if(this._v41!=null){this._v41._J72.__31(yyGetReal(_Y31));this._Jb2(this._v41._J72);}},get phy_linear_damping(){return this._X83;},set phy_linear_damping(_Y31){if(this._v41!=null){this._v41._J72._Z31(yyGetReal(_Y31));this._Jb2(this._v41._J72);
}},get phy_bullet(){return this._Y83;},set phy_bullet(_882){if(this._v41!=null){this._v41.__C1(yyGetBool(_882));this._Jb2(this._v41._J72);}},get phy_fixed_rotation(){return this._Z83;},set phy_fixed_rotation(_982){if(this._v41!=null){this._v41._7D1(yyGetBool(_982));this._Jb2(this._v41._J72);}},get phy_active(){return this.__83;},set phy_active(_a82){if(this._v41!=null){this._v41._5D1(yyGetBool(_a82));this._Jb2(this._v41._J72);}},get layer(){return this._uS;},set layer(_rT){_rT=yyGetInt32(_rT);_7t._kT(_x2,this);
this._uS=_rT;var _aO=_7t._QP(_x2,_rT);if(_aO!=null){_7t._iT(_x2,_aO,this);this._983=_aO.depth;}},get in_sequence(){return this._093();},get sequence_instance(){return this._193();},get drawn_by_sequence(){return this._293();},set drawn_by_sequence(_393){this._493(_393);}};_mP.prototype._M2=function(_JL){this._b83=_JL;};_mP.prototype._593=function(_0D1){this._1P=_0D1;};_mP.prototype._693=function(){return this._1P;};_mP.prototype._793=function(_0D1){this._A83=_0D1;};_mP.prototype._093=function(){return this._A83;
};_mP.prototype._893=function(_0D1){this._B83=_0D1;};_mP.prototype._993=function(){return this._B83;};_mP.prototype._a93=function(_b93){this._C83=_b93;};_mP.prototype._193=function(){return this._C83;};_mP.prototype._c93=function(_0D1){this._D83=_0D1;};_mP.prototype._d93=function(){return this._D83;};_mP.prototype._493=function(_0D1){this._E83=_0D1;};_mP.prototype._293=function(){return this._E83;};_mP.prototype._Lc=function(_e93,_eT2){if((this.x==_e93)&&(this.y==_eT2))return;this.x=_e93;this.y=_eT2;
this._1P=true;};_mP.prototype._pP=function(_Ls,_f93){if(this._ZE!=null){this._ZE._kT(this);this._ZE=null;}for(var _14 in _Ls){var _kg=_Ls[_14];this[_14]=_kg;}this._MO=new _ME();this._MO._ri(_Ls._MO);for(var i=0;i<=_0A2-1;i++){var _l3=_Ls.alarm[i];this.alarm[i]=_l3;}if(_f93&&this._ZE!=null){this._ZE._gT(this);}var _rL=this._68();if(_rL){this._F83=_rL._a2();}this._uS=_Ls.layer;};_mP.prototype._uP=function(_gP,_f93,_g93){this.object_index=_gP;if(this._ZE!=null){this._ZE._kT(this);this._ZE=null;this._y83=null;
}if(_gP==-1)_gP=0;this._y83=this._ZE=_m2._I4(_gP);if(this._ZE!=null){if(_f93){this._ZE._gT(this);}this._5z2=this._ZE._5z2;this.mask_index=this._ZE._b01;if(!_z2){if(_g93){this._983=this._ZE._901;}else {this.depth=this._ZE._901;}}this.solid=this._ZE._601;this.visible=this._ZE._701;this.persistent=this._ZE._a01;this._1P=true;}};_mP.prototype._vP=function(_N2){var _sz2=_H4._I4(_N2);if(_sz2){this._MO.left=_sz2._MO.left;this._MO.right=_sz2._MO.right;this._MO.top=_sz2._MO.top;this._MO.bottom=_sz2._MO.bottom;
}this.sprite_index=_N2;this._F83=null;if(this._ZE!==null){this._68();}};_mP.prototype._xP=function(_Nn){if(_Nn&&this._v41){_Nn._y31._QE1(this._v41);}this._v41=null;if(this._ZE._c01.physicsObject){this._h93();this._1P=true;}};_mP.prototype._h93=function(){if(!this._ZE._c01.physicsObject){return;}if(!sprite_exists(this.sprite_index)){return;}var _Sm=_H4._I4(this.sprite_index);if(!_x2._y31){return;}var _K31=physics_fixture_create();var _i93=this._ZE._c01,_j93=0.0,_Z43=0.0;switch(_i93.physicsShape){case _k93:{
var _l93=1.0;if(Math.abs(this.image_xscale-this.image_yscale)<0.0001){_l93=this.image_xscale;}else {debug("Image scale for physics object using circle collision should not vary across axes: "+this._ZE.__E);}_j93=-_i93.physicsShapeVertices[0]*_l93;_Z43=-_i93.physicsShapeVertices[1]*_l93;var _W51=_i93.physicsShapeVertices[2]*_l93;physics_fixture_set_circle_shape(_K31,_W51);}break;case _m93:case _n93:{physics_fixture_set_polygon_shape(_K31);if((this.image_xscale*this.image_yscale)<0){for(var _x5=_i93.physicsShapeVertices.length-2;
_x5>=0;_x5-=2){physics_fixture_add_point(_K31,_i93.physicsShapeVertices[_x5+0]*this.image_xscale,_i93.physicsShapeVertices[_x5+1]*this.image_yscale);}}else {for(var _x5=0;_x5<_i93.physicsShapeVertices.length;_x5+=2){physics_fixture_add_point(_K31,_i93.physicsShapeVertices[_x5+0]*this.image_xscale,_i93.physicsShapeVertices[_x5+1]*this.image_yscale);}}}break;}physics_fixture_set_angular_damping(_K31,_i93.physicsAngularDamping);physics_fixture_set_linear_damping(_K31,_i93.physicsLinearDamping);physics_fixture_set_sensor(_K31,
_i93.physicsSensor);physics_fixture_set_collision_group(_K31,_i93.physicsGroup);physics_fixture_set_density(_K31,_i93.physicsDensity);physics_fixture_set_restitution(_K31,_i93.physicsRestitution);if(_i93.physicsFriction!=undefined){physics_fixture_set_friction(_K31,_i93.physicsFriction);}if(_i93.physicsAwake!=undefined){physics_fixture_set_awake(_K31,_i93.physicsAwake);}if(_i93.physicsKinematic!=undefined){physics_fixture_set_kinematic(_K31,_i93.physicsKinematic);}physics_fixture_bind(this,_K31,
this.id,_j93,_Z43);};_mP.prototype._I83=function(){with(this){if(this.hspeed==0){if(this.vspeed>0){this._183=270;}else if(this.vspeed<0){this._183=90;}else {this._183=0;}}else {var _6L=_o93(180*(Math.atan2(this.vspeed,this.hspeed))/_P5);if(_6L<=0){this._183=-_6L;}else {this._183=360.0-_6L;}}if(Math.abs(this._183-_0k(this._183))<0.0001){this._183=_0k(this._183);}this._183=_pL2(this._183,360.0);this._283=Math.sqrt(_oz(this.hspeed)+_oz(this.vspeed));if(Math.abs(this.speed-_0k(this.speed))<0.0001)this._283=_0k(this._283);
}};_mP.prototype._J83=function(){this.__73=this.speed*_o93(Math.cos(this.direction*0.0174532925));this._083=-this.speed*_o93(Math.sin(this.direction*0.0174532925));if(Math.abs(this.__73-_0k(this.__73))<0.0001){this.__73=_0k(this.__73);}if(Math.abs(this._083-_0k(this._083))<0.0001){this._083=_0k(this._083);}};function _o93(_p93){return(~~(_p93*1000000))/1000000.0;}_mP.prototype._vl=function(_ul,_TC){this.hspeed+=_TC*_o93(Math.cos(_ul*0.0174532925));this.vspeed-=_TC*_o93(Math.sin(_ul*0.0174532925));
this._I83();};_mP.prototype._q93=function(){if(this.friction!=0.0){var _r93;if(this.speed>0){_r93=this.speed-this.friction;}else {_r93=this.speed+this.friction;}if((this.speed>0)&&(_r93<0)){this.speed=0;}else if((this.speed<0)&&(_r93>0)){this.speed=0;}else if(this.speed!=0){this.speed=_r93;}}if(this.gravity!=0){this._vl(this.gravity_direction,this.gravity);}};_mP.prototype._s93=function(){var _sz2=_H4._I4(this.sprite_index);var _rL=this._68();if(_rL){return _rL._t2(_sz2);}return _H4._t93(this.sprite_index);
};_mP.prototype._R4=function(_i2,_N2,_Ls,_6H,_u93){if(_u93==undefined){_u93=_Ls._ZE;}var _lH=_mH;var _nH=_oH;var _pH=_qH;var result=false;var _v93=false;if(_i2==_Vb2){var _w93=_m2._I4(_N2);while(_w93!=null&&!_v93){var _FF=_u93;while(_FF!=null&&!_v93){if(_FF.Event[_i2]){if(_FF._KM2[_w93._IP]){_mH=_FF;_oH=_i2;_qH=_w93._IP;result=_FF._R4(_i2,_w93._IP,_Ls,_6H);_v93=true;break;}}_FF=_FF._dE;}_w93=_w93._dE;}}else {var _FF=_u93;var _x93=_i2|_N2;while(_FF!=null){if(_FF.Event[_x93]){_mH=_FF;_oH=_i2;_qH=_N2;result=_FF._R4(_i2,
_N2,_Ls,_6H);break;}_FF=_FF._dE;}}_mH=_lH;_oH=_nH;_qH=_pH;return result;};_mP.prototype._vH=function(_i2,_N2,_6H){if(_mH!=null){if(_mH._dE!=null){this._R4(_i2,_N2,this,_6H,_mH._dE);}}};_mP.prototype._y93=function(_F2){_F2=yyGetReal(_F2);if(this.hspeed==_F2)return;this.hspeed=_F2;this._I83();};_mP.prototype._z93=function(_F2){_F2=yyGetReal(_F2);if(this.vspeed==_F2)return;this.vspeed=_F2;this._I83();};_mP.prototype._A93=function(_F2){_F2=yyGetReal(_F2);this.direction=_pL2(_F2,360.0);while(this.direction<0.0){
this.direction+=360.0;}this._J83();};_mP.prototype._B93=function(_F2){_F2=yyGetReal(_F2);if(this.speed==_F2)return;this.speed=_F2;this._J83();};_mP.prototype._2P=function(){var _C93=this._D93();var _E93=this._F93();if(_C93!==null&&_H4.Sprites[this.mask_index]._gf1==0){if(!this._MO){this._MO=new _ME(0,0,0,0);}if(_C93._e5(this._MO,this._G93(),this.x,this.y,this.image_xscale,this.image_yscale,this.image_angle)){this._5q=_yf1._H93;}else {this._MO.left=this.x;this._MO.top=this.y;this._MO.right=this.x;this._MO.bottom=this.y;
this._5q=_yf1._zf1;}this._1P=false;return;}else if(_E93!==null&&_H4.Sprites[this.sprite_index]._gf1==0){if(!this._MO){this._MO=new _ME(0,0,0,0);}if(_E93._e5(this._MO,this._G93(),this.x,this.y,this.image_xscale,this.image_yscale,this.image_angle)){this._5q=_yf1._H93;}else {this._MO.left=this.x;this._MO.top=this.y;this._MO.right=this.x;this._MO.bottom=this.y;this._5q=_yf1._zf1;}this._1P=false;return;}var _Sm,_N5;var _Oi=(this.mask_index>=0)?this.mask_index:this.sprite_index;if(_Oi<0||_Oi>_H4.Sprites.length){
if(!this._MO){this._MO=new _ME(0,0,0,0);}this._MO.left=this.x;this._MO.top=this.y;this._MO.right=this.x;this._MO.bottom=this.y;this._5q=_yf1._zf1;}else {var _MO=this._MO;_Sm=_H4.Sprites[_Oi];if(this.image_angle==0){if((_Sm._dg1!=null)&&(_Sm._dg1._I93())){_MO=_Sm._J93(this.image_xscale,this.image_yscale);_MO.left+=this.x;_MO.right+=this.x;_MO.top+=this.y;_MO.bottom+=this.y;}else {var _K93=_Sm._MO;var width=(_K93.right+1)-_K93.left;var height=(_K93.bottom+1)-_K93.top;if(_mY){_MO.left=_0k(this.x+this.image_xscale*(_K93.left-_Sm.xOrigin));
_MO.right=_0k(_MO.left+(this.image_xscale*width));}else {_MO.left=(this.x+this.image_xscale*(_K93.left-_Sm.xOrigin));_MO.right=(_MO.left+(this.image_xscale*width));}if(_MO.left>_MO.right){_N5=_MO.left;_MO.left=_MO.right;_MO.right=_N5;}if(_mY){_MO.top=_0k(this.y+this.image_yscale*(_K93.top-_Sm.yOrigin));_MO.bottom=_0k(_MO.top+(this.image_yscale*height));}else {_MO.top=(this.y+this.image_yscale*(_K93.top-_Sm.yOrigin));_MO.bottom=(_MO.top+(this.image_yscale*height));}if(_MO.top>_MO.bottom){_N5=_MO.top;
_MO.top=_MO.bottom;_MO.bottom=_N5;}if(_mY){_MO.right-=1;_MO.bottom-=1;}}this._5q=_Sm._5q;}else {var _TY,_UY;var _VY,_WY;if((_Sm._dg1!=null)&&(_Sm._dg1._I93())){_MO=_Sm._J93(this.image_xscale,this.image_yscale);_TY=_MO.left;_UY=_MO.right;_VY=_MO.top;_WY=_MO.bottom;if(_mY){_WY+=1;_UY+=1;}}else {var _K93=_Sm._MO;_TY=this.image_xscale*(_K93.left-_Sm.xOrigin);_UY=this.image_xscale*(_K93.right-_Sm.xOrigin+1);_VY=this.image_yscale*(_K93.top-_Sm.yOrigin);_WY=this.image_yscale*(_K93.bottom-_Sm.yOrigin+1);}var _a6,
_96;_a6=Math.cos(this.image_angle*_P5/180.0);_96=Math.sin(this.image_angle*_P5/180.0);var _L93=_a6*_UY;var _M93=_a6*_TY;var _N93=_96*_WY;var _O93=_96*_VY;var _N5;if(_L93<_M93){_N5=_M93;_M93=_L93;_L93=_N5;}if(_N93<_O93){_N5=_O93;_O93=_N93;_N93=_N5;}if(_mY){_MO.left=Math.floor((this.x+_M93+_O93)+0.5);_MO.right=Math.floor((this.x+_L93+_N93)-0.5);}else {_MO.left=(this.x+_M93+_O93);_MO.right=(this.x+_L93+_N93);}var _P93=_a6*_WY;var _Q93=_a6*_VY;var _R93=_96*_UY;var _S93=_96*_TY;if(_P93<_Q93){_N5=_Q93;_Q93=_P93;
_P93=_N5;}if(_R93<_S93){_N5=_S93;_S93=_R93;_R93=_N5;}if(_mY){_MO.top=Math.floor((this.y+_Q93-_R93)+0.5);_MO.bottom=Math.floor((this.y+_P93-_S93)-0.5);}else {_MO.top=((this.y+_Q93-_R93));_MO.bottom=((this.y+_P93-_S93));}this._5q=_Sm._5q;}this._MO=_MO;}this._1P=false;};_mP.prototype._T93=function(){this._D93();if(this._1P){this._2P();return;}var _E93=this._F93();if(_E93!==null){var _OT=_G4=_H4._I4(this.sprite_index);if(_E93._t4(this._G93(),this.x,this.y,this.image_xscale,this.image_yscale,this.image_angle,
undefined,_OT)){this._2P();return;}}};_mP.prototype._Rs=function(_u4,_v4,_ki){if(this.marked)return false;this._T93();var _lY=-0.00001;if(_mY){_lY=1.0;}var _MO=this._MO;if(_u4>=_MO.right+_lY)return false;if(_u4<_MO.left)return false;if(_v4>=_MO.bottom+_lY)return false;if(_v4<_MO.top)return false;if(this._5q===_yf1._U93){if(!_V93(this,_u4,_v4)){return false;}}var _0F;if(this.mask_index<0){_0F=_H4._I4(this.sprite_index);}else {_0F=_H4._I4(this.mask_index);}if((_0F===null)||(_0F._I5===0))return false;if((!_ki)||this._5q===_yf1._zf1)return true;
var _ym=false;var _E93=this._F93();if(_E93!==null){_ym=_E93._Z5(this._G93(),this.x,this.y,this.image_xscale,this.image_yscale,this.image_angle,_u4,_v4);}else {_ym=_0F._W93(Math.floor(this.image_index),_MO,_0k(this.x),_0k(this.y),this.image_xscale,this.image_yscale,this.image_angle,_0k(_u4),_0k(_v4));}return _ym;};_mP.prototype._it=function(__5,_06,_s5,_t5,_ki){if(this.marked)return false;this._T93();var _MO=this._MO;var _lY=0;if(_mY){_lY=1.0;}var _OT1=_M5(__5,_s5);if(_OT1>=_MO.right+_lY){return _ym;}var _X93=_L5(__5,
_s5);if(_X93<_MO.left){return _ym;}var _Y93=_M5(_06,_t5);if(_Y93>=_MO.bottom+_lY){return _ym;}var _bK=_L5(_06,_t5);if(_bK<_MO.top){return _ym;}var _0F;if(this.mask_index<0){_0F=_H4._I4(this.sprite_index);}else {_0F=_H4._I4(this.mask_index);}if((_0F===null)||(_0F._I5==0))return false;if(this._5q===_yf1._U93){if(!_Z93(this,__5,_06,_s5,_t5))return false;}if((!_ki)||this._5q===_yf1._zf1){if(!_mY){var _K5=(_L5(_OT1,_MO.left));var _N5=(_L5(_Y93,_MO.top));var _i3=(_M5(_X93,_MO.right));var _k3=(_M5(_bK,_MO.bottom));
if(Math.floor(_K5+0.5)==Math.floor(_i3+0.5))return false;if(Math.floor(_N5+0.5)==Math.floor(_k3+0.5))return false;}return true;}var _ym=false;var _E93=this._F93();if(_E93!==null){_ym=_E93._26(this._G93(),this.x,this.y,this.image_xscale,this.image_yscale,this.image_angle,__5,_06,_s5,_t5);}else {_Q73.left=_0k(_M5(__5,_s5));_Q73.top=_0k(_M5(_06,_t5));_Q73.right=_0k(_L5(__5,_s5));_Q73.bottom=_0k(_L5(_06,_t5));_ym=_0F.__93(Math.floor(this.image_index),_MO,_0k(this.x),_0k(this.y),this.image_xscale,this.image_yscale,
this.image_angle,_Q73);}return _ym;};function _0a3(__5,_06,_s5,_t5,_2t,_3t){var _56=(__5+_s5)*0.5;var _66=(_06+_t5)*0.5;var _76=(_s5-__5)*0.5;var _86=(_t5-_06)*0.5;var _l3=(_2t-_56)/_76;var _k3=(_3t-_66)/_86;return((_l3*_l3)+(_k3*_k3)<=1)?true:false;};_mP.prototype._rt=function(__5,_06,_s5,_t5,_ki){if(this.marked)return false;this._T93();if(this._1P)this._2P();__5=_0k(__5);_s5=_0k(_s5);_06=_0k(_06);_t5=_0k(_t5);var _1a3,_2a3,_3a3,_4a3;if(__5<_s5){_3a3=__5;_1a3=_s5;}else {_3a3=_s5;_1a3=__5;}if(_06<_t5){_4a3=_06;
_2a3=_t5;}else {_4a3=_t5;_2a3=_06;}var _MO=this._MO;if(_3a3>=_MO.right)return false;if(_1a3<_MO.left)return false;if(_4a3>=_MO.bottom)return false;if(_2a3<_MO.top)return false;if((__5==_s5)||(_06==_t5)){return this._it(__5,_06,_s5,_t5,_ki);}var _lt=(__5+_s5)*0.5;var _mt=(_06+_t5)*0.5;if(!(_MO.left<=_lt&&_MO.right>=_lt)&&!(_MO.top<=_mt&&_MO.bottom>=_mt)){var _Ft=(_MO.right<=_lt)?_MO.right:_MO.left;var _Gt=(_MO.bottom<=_mt)?_MO.bottom:_MO.top;if(!_0a3(__5,_06,_s5,_t5,_Ft,_Gt))return false;}var _0F;if(this.mask_index<0){
_0F=_H4._I4(this.sprite_index);}else {_0F=_H4._I4(this.mask_index);}if((_0F===null)||(_0F._I5==0))return false;if(this._5q===_yf1._U93){if(!_5a3(this,__5,_06,_s5,_t5))return false;}if((!_ki)||this._5q===_yf1._zf1)return true;_Q73.left=_3a3;_Q73.top=_4a3;_Q73.right=_1a3;_Q73.bottom=_2a3;var _E93=this._F93();if(_E93!==null){return _E93._36(this._G93(),this.x,this.y,this.image_xscale,this.image_yscale,this.image_angle,_Q73);}else {return _0F._6a3(Math.floor(this.image_index),_MO,_0k(this.x),_0k(this.y),this.image_xscale,
this.image_yscale,this.image_angle,_Q73);}};_mP.prototype._vt=function(__5,_06,_s5,_t5,_ki){if(this.marked)return false;this._T93();var _7a3=this._MO;if(_M5(__5,_s5)>=_7a3.right+1){return false;}if(_L5(__5,_s5)<_7a3.left){return false;}if(_M5(_06,_t5)>=_7a3.bottom+1){return false;}if(_L5(_06,_t5)<_7a3.top){return false;}if(_s5<__5){var _yd=_s5;_s5=__5;__5=_yd;_yd=_t5;_t5=_06;_06=_yd;}if(__5<_7a3.left){_06=_06+(_7a3.left-__5)*(_t5-_06)/(_s5-__5);__5=_7a3.left;}if(_s5>(_7a3.right+1)){_t5=_t5+(_7a3.right+1-_s5)*(_t5-_06)/(_s5-__5);
_s5=_7a3.right+1;}if((_06<_7a3.top)&&(_t5<_7a3.top)){return false;}if((_06>=_7a3.bottom+1)&&(_t5>=_7a3.bottom+1)){return false;}var _0F;if(this.mask_index<0){_0F=_H4._I4(this.sprite_index);}else {_0F=_H4._I4(this.mask_index);}if((_0F==null)||(_0F==undefined)||(_0F._H3()==0))return false;if(this._5q===_yf1._U93){if(!_8a3(this,__5,_06,_s5,_t5)){return false;}}if(!_ki||this._5q===_yf1._zf1){return true;}var _E93=this._F93();if(_E93!==null){return _E93._16(this._G93(),this.x,this.y,this.image_xscale,this.image_yscale,
this.image_angle,__5,_06,_s5,_t5);}else {return _0F._9a3(this.image_index|0,_7a3,_0k(this.x),_0k(this.y),this.image_xscale,this.image_yscale,this.image_angle,_0k(__5),_0k(_06),_0k(_s5),_0k(_t5));}};_mP.prototype._aa3=function(_4m,_9O){this._T93();_4m._T93();if(_4m._MO.left>=this._MO.right+1)return false;if(_4m._MO.right+1<=this._MO.left)return false;if(_4m._MO.top>=this._MO.bottom+1)return false;if(_4m._MO.bottom+1<=this._MO.top)return false;var _ba3=_H4._I4(this.sprite_index);var _3P=(_4m.mask_index<0)?_H4._I4(_4m.sprite_index):_H4._I4(_4m.mask_index);
if(_3P===null)return false;if(!_9O)return true;var _ca3=this._F93();var _da3=_4m._F93();if(_da3!==null){return _ca3._p5(this._G93(),this.x,this.y,this.image_xscale,this.image_yscale,this.image_angle,_da3,_4m._G93(),_4m.x,_4m.y,_4m.image_xscale,_4m.image_yscale,_4m.image_angle);}else if(_3P._5q==_yf1._Tf1){return _ca3._G5(this._G93(),this.x,this.y,this.image_xscale,this.image_yscale,this.image_angle,_3P,_4m._MO,_4m._G93(),_4m.x,_4m.y,_4m.image_xscale,_4m.image_yscale,_4m.image_angle);}else {return true;}}
;_mP.prototype._ea3=function(){if(_z2){var _zr=_H4._I4(this.sprite_index);if(_zr!=null){if(_zr.sequence===null){if(_zr.playbackspeedtype==_A2){this._M2(this.image_index+this.image_speed*_zr.playbackspeed);}else {var fps=_B2._C2();this._M2(this.image_index+this.image_speed*_zr.playbackspeed/fps);}}return;}}this.image_index+=this.image_speed;};function _fa3(points){var _ga3=[];for(var i=0;i<2;++i){var x=points[i+1].x-points[i].x;var y=points[i+1].y-points[i].y;var length=sqrt(x*x+y*y);x=x/length;y=y/length;
_ga3[i]={"x":-y,"y":x};}return _ga3;};function _ha3(_4u,_6s1){var _ia3=_fa3(_4u);var _ja3=_fa3(_6s1);for(var i=0;i<2;++i){var _ka3=_la3(_4u,_ia3[i]);var _ma3=_la3(_6s1,_ia3[i]);var _na3=((_ka3.max<=_ma3.min)||(_ma3.max<=_ka3.min));if(_na3)return false;}for(var i=0;i<2;++i){var _ka3=_la3(_4u,_ja3[i]);var _ma3=_la3(_6s1,_ja3[i]);var _na3=((_ka3.max<=_ma3.min)||(_ma3.max<=_ka3.min));if(_na3)return false;}return true;};function _la3(points,_5u){var _613=points[0].x*_5u.x+points[0].y*_5u.y;var result={"min":_613,"max":_613}
;for(var i=1;i<4;++i){_613=points[i].x*_5u.x+_5u.y*points[i].y;if(_613<result.min)result.min=_613;else if(_613>result.max)result.max=_613;}return result;};function _oa3(_mt1){var _Oi=(_mt1.mask_index>=0)?_mt1.mask_index:_mt1.sprite_index;var _Sm=_H4.Sprites[_Oi];var _TY,_UY;var _VY,_WY;if((_Sm._dg1!=null)&&(_Sm._dg1._I93())){var _MO=_Sm._J93(_mt1.image_xscale,_mt1.image_yscale);_TY=_MO.left;_UY=_MO.right+1;_VY=_MO.top;_WY=_MO.bottom+1;}else {var _K93=_Sm._MO;_TY=_mt1.image_xscale*(_K93.left-_Sm.xOrigin);_UY=_mt1.image_xscale*(_K93.right-_Sm.xOrigin+1);
_VY=_mt1.image_yscale*(_K93.top-_Sm.yOrigin);_WY=_mt1.image_yscale*(_K93.bottom-_Sm.yOrigin+1);}var _a6,_96;_a6=Math.cos(-_mt1.image_angle*_P5/180.0);_96=Math.sin(-_mt1.image_angle*_P5/180.0);var _L93=_a6*_UY;var _M93=_a6*_TY;var _N93=_96*_WY;var _O93=_96*_VY;var _P93=_a6*_WY;var _Q93=_a6*_VY;var _R93=_96*_UY;var _S93=_96*_TY;var _ga3=[];var _Oi=_mt1.x-0.5;var _Kx2=_mt1.y-0.5;_ga3[0]={"x":(_Oi+_M93-_O93),"y":(_Kx2+_Q93+_S93)};_ga3[1]={"x":(_Oi+_L93-_O93),"y":(_Kx2+_Q93+_R93)};_ga3[2]={"x":(_Oi+_L93-_N93),"y":(_Kx2+_P93+_R93)}
;_ga3[3]={"x":(_Oi+_M93-_N93),"y":(_Kx2+_P93+_S93)};return _ga3;};function _pa3(_mt1,_nt1){var _4u=_oa3(_mt1);var _6s1=_oa3(_nt1);return _ha3(_4u,_6s1);};function _qa3(points){var x=points[1].x-points[0].x;var y=points[1].y-points[0].y;var length=sqrt(x*x+y*y);x=x/length;y=y/length;_ga3={"x":-y,"y":x};return _ga3;};function _ra3(_4u,_6s1){var _ia3=_fa3(_4u);for(var i=0;i<2;++i){var _ka3=_la3(_4u,_ia3[i]);var _ma3=_6s1.x*_ia3[i].x+_6s1.y*_ia3[i].y;var _na3=((_ka3.max<=_ma3)||(_ma3<=_ka3.min));if(_na3)return false;
}return true;};function _sa3(_4u,_ta3,_gz,_hz){var _XY=Math.abs(_hz/_gz);for(var i=0;i<4;++i)_4u[i].x*=_XY;_ta3.x*=_XY;var _i3=Math.abs(_hz);var _ia3=_fa3(_4u);for(var i=0;i<2;++i){var _ka3=_la3(_4u,_ia3[i]);var _ua3=_ta3.x*_ia3[i].x+_ta3.y*_ia3[i].y;var _ma3={"min":_ua3-_i3,"max":_ua3+_i3};var _na3=((_ka3.max<=_ma3.min)||(_ma3.max<=_ka3.min));if(_na3)return false;}return true;}function _va3(_4u,_6s1){var _ia3=_fa3(_4u);var _wa3=_qa3(_6s1);for(var i=0;i<2;++i){var _ka3=_la3(_4u,_ia3[i]);var _ma3=_xa3(_6s1,_ia3[i]);
var _na3=((_ka3.max<=_ma3.min)||(_ma3.max<=_ka3.min));if(_na3)return false;}{var _ka3=_la3(_4u,_wa3);var _ma3=_xa3(_6s1,_wa3);var _na3=((_ka3.max<=_ma3.min)||(_ma3.max<=_ka3.min));if(_na3)return false;}return true;}function _xa3(points,_5u){var _613=points[0].x*_5u.x+points[0].y*_5u.y;var result={"min":_613,"max":_613};for(var i=1;i<2;++i){_613=points[i].x*_5u.x+_5u.y*points[i].y;if(_613<result.min)result.min=_613;else if(_613>result.max)result.max=_613;}return result;}function _ya3(__5,_06,_s5,_t5){_ga3=[];_ga3[0]={
"x":__5,"y":_06};_ga3[1]={"x":_s5,"y":_t5};return _ga3;};function _8a3(_mt1,__5,_06,_s5,_t5){var _4u=_oa3(_mt1);var _6s1=_ya3(__5,_06,_s5,_t5);return _va3(_4u,_6s1);};function _V93(_mt1,__5,_06){var _4u=_oa3(_mt1);var _6s1={"x":__5,"y":_06};return _ra3(_4u,_6s1);};function _5a3(_mt1,__5,_06,_s5,_t5){var _4u=_oa3(_mt1);var _ta3={"x":(__5+_s5)*0.5,"y":(_06+_t5)*0.5};var _gz=Math.abs(__5-_s5)*0.5;var _hz=Math.abs(_06-_t5)*0.5;return _sa3(_4u,_ta3,_gz,_hz);};function _Z93(_mt1,__5,_06,_s5,_t5){var _4u=_oa3(_mt1);var _6s1=[];
_6s1[0]={"x":__5,"y":_06};_6s1[1]={"x":_s5,"y":_06};_6s1[2]={"x":__5,"y":_t5};_6s1[3]={"x":_s5,"y":_t5};return _ha3(_4u,_6s1);};_mP.prototype._SY=function(_Ls,_ki){if(this!=_Ls&&!this.marked&&!_Ls.marked){if(this._za3()){return this._aa3(_Ls,_ki);}if(_Ls._za3()){return _Ls._aa3(this,_ki);}if(this._1P)this._2P();if(_Ls._1P)_Ls._2P();var _lY=0.0;if(_mY){_lY=1.0;}var _Aa3=_Ls._MO;var _Ba3=this._MO;if(_Aa3.left>=(_Ba3.right+_lY))return false;if((_Aa3.right+_lY)<=_Ba3.left)return false;if(_Aa3.top>=(_Ba3.bottom+_lY))return false;
if((_Aa3.bottom+_lY)<=_Ba3.top)return false;if(this._5q===_yf1._U93||_Ls._5q===_yf1._U93){if(!_pa3(this,_Ls)){return false;}}var _Ca3=null;var _Da3=null;if(this.mask_index<0){_Ca3=_H4._I4(this.sprite_index);}else {_Ca3=_H4._I4(this.mask_index);}if((_Ca3==null)||(_Ca3._I5==0))return false;if(_Ls.mask_index<0){_Da3=_H4._I4(_Ls.sprite_index);}else {_Da3=_H4._I4(_Ls.mask_index);}if((_Da3==null)||(_Da3._I5==0))return false;if(!_ki||(this._5q===_yf1._zf1&&_Ls._5q===_yf1._zf1)){if(!_mY){var _K5=(_L5(_Aa3.left,_Ba3.left));
var _N5=(_L5(_Aa3.top,_Ba3.top));var _i3=(_M5(_Aa3.right,_Ba3.right));var _k3=(_M5(_Aa3.bottom,_Ba3.bottom));if(Math.floor(_K5+0.5)==Math.floor(_i3+0.5))return false;if(Math.floor(_N5+0.5)==Math.floor(_k3+0.5))return false;}return true;}if(_mY){return _Ca3._Ea3(this.image_index|0,this._MO,_0k(this.x),_0k(this.y),this.image_xscale,this.image_yscale,this.image_angle,_Da3,_Ls.image_index|0,_Ls._MO,_0k(_Ls.x),_0k(_Ls.y),_Ls.image_xscale,_Ls.image_yscale,_Ls.image_angle);}else {return _Ca3._Fa3(this.image_index|0,
this._MO,_0k(this.x),_0k(this.y),this.image_xscale,this.image_yscale,this.image_angle,_Da3,_Ls.image_index|0,_Ls._MO,_0k(_Ls.x),_0k(_Ls.y),_Ls.image_xscale,_Ls.image_yscale,_Ls.image_angle);}}return false;};_mP.prototype._xp=function(_x3,_xl,_rl,_Ga3,_a31,_Ha3){this.path_index=-1;if(_x3<0)return;var _SX=_TX.Paths[_x3];if(!_SX)return;if(_SX.length<=0)return;if(_rl<0)return;this.path_index=_x3;this.path_speed=_xl;if(this.path_speed>=0){this.path_position=0;}else {this.path_position=1;}this.path_positionprevious=this.path_position;
this.path_scale=_rl;this.path_orientation=_Ga3;this.path_endaction=_Ha3;if(_a31){if(this.path_speed>=0){this._Lc(_SX._031(0),_SX._131(0));}else {this._Lc(_SX._031(1),_SX._131(1));}}this._2F=this.x;this._3F=this.y;};_mP.prototype._Fb2=function(){var _e31,_R5,_T5;if(this.path_index<0)return false;var _SX=_TX.Paths[this.path_index];if(!_SX)return;if(_SX.length<=0)return;var _Ia3=false;var _Ja3=this.path_orientation*Math.PI/180.0;var _Ok=_SX._h31(this.path_position);_R5=_Ok.x;_T5=_Ok.y;_e31=_Ok.speed;_Ok=null;
_e31=_e31/(100*this.path_scale);this.path_position=this.path_position+this.path_speed*_e31/_SX.length;var _Ka3=_SX._h31(0);if((this.path_position>=1)||(this.path_position<=0)){_Ia3=(this.path_speed==0)?false:true;switch(this.path_endaction){case 0:{if(this.path_speed!=0){this.path_position=1;this.path_index=-1;}break;}case 1:{if(this.path_position<0){this.path_position++;}else {this.path_position--;}break;}case 2:{var _La3=_SX._h31(1);_R5=_La3.x-_Ka3.x;_T5=_La3.y-_Ka3.y;var _Ma3=this.path_scale*(_R5*Math.cos(_Ja3)+_T5*Math.sin(_Ja3));
var _Na3=this.path_scale*(_T5*Math.cos(_Ja3)-_R5*Math.sin(_Ja3));if(this.path_position<0){this._2F=this._2F-_Ma3;this._3F=this._3F-_Na3;this.path_position++;}else {this._2F=this._2F+_Ma3;this._3F=this._3F+_Na3;this.path_position--;}break;}case 3:{if(this.path_position<0){this.path_position=-this.path_position;this.path_speed=Math.abs(this.path_speed);}else {this.path_position=2-this.path_position;this.path_speed=-Math.abs(this.path_speed);}break;}default :{this.path_position=1;this.path_index=-1;}}}_Ok=_SX._h31(this.path_position);
_R5=_Ok.x-_Ka3.x;_T5=_Ok.y-_Ka3.y;var _AX=this._2F+this.path_scale*(_R5*Math.cos(_Ja3)+_T5*Math.sin(_Ja3));var _BX=this._3F+this.path_scale*(_T5*Math.cos(_Ja3)-_R5*Math.sin(_Ja3));this.hspeed=_AX-this.x;this.vspeed=_BX-this.y;this.speed=0;this._Lc(_AX,_BX);return _Ia3;};_mP.prototype.get_timer=function(_N2){var _ym=-1;if((_N2>=0)&&(_N2<_0A2)){_ym=this.alarm[_N2];}return _ym;};_mP.prototype._um=function(_N2,_F2){if((_N2>=0)&&(_N2<_0A2)){this.alarm[_N2]=_F2;}};_mP.prototype._ZY=function(){if(this._1P){
this._2P();}return this._MO;};_mP.prototype.wrap=function(__Y,_xK){var w,h;if(!sprite_exists(this.sprite_index)){w=h=0;}else {var _0F=_H4._I4(this.sprite_index);w=_0F.width*this.image_xscale;h=_0F.height*this.image_yscale;}if(__Y){if((this.hspeed<0)&&(this.x<0)){this._Lc(this.x+_x2._eM()+w,this.y);}if((this.hspeed>0)&&(this.x>=_x2._eM())){this._Lc(this.x-_x2._eM()-w,this.y);}}if(_xK){if((this.vspeed<0)&&(this.y<0)){this._Lc(this.x,this.y+_x2._fM()+h);}if((this.vspeed>0)&&(this.y>=_x2._fM())){this._Lc(this.x,
this.y-_x2._fM()-h);}}};_mP.prototype._7c2=function(_y4,_Oa3){var _Yb2={};if((_Oa3.x!=0.0)||(_Oa3.y!=0.0)){var _zp1=_y4;var _Pa3=Math.cos(_zp1);var _Qa3=Math.sin(_zp1);_Yb2.x=((_Oa3.x*_Pa3)-(_Oa3.y*_Qa3));_Yb2.y=((_Oa3.y*_Pa3)+(_Oa3.x*_Qa3));}else {_Yb2.x=_Oa3.x;_Yb2.y=_Oa3.y;}return _Yb2;};_mP.prototype._Jb2=function(_Ra3){var _S83=_x2._y2();if(_z2)_S83=_B2._C2();var _Ib2=1.0/_x2._y31._441;var _Sa3=this._7c2(_Ra3._1r1(),this._v41._L72);this.x=(_Ra3._h31().x*_Ib2)+_Sa3.x;this.y=(_Ra3._h31().y*_Ib2)+_Sa3.y;
this.image_angle=(-_Ra3._1r1()*180.0)/_P5;this._1P=true;this._M83=(_Ra3._1r1()*180.0)/Math.PI;this._N83=this.x-_Sa3.x;this._O83=this.y-_Sa3.y;this._P83=(_Ra3._wC1()*180.0)/Math.PI;this._Q83=_Ra3._uC1().x*_Ib2;this._R83=_Ra3._uC1().y*_Ib2;this._U83=this.phy_linear_velocity_x/_S83;this._V83=this.phy_linear_velocity_y/_S83;this._Y83=_Ra3._1D1();this.phy_mass=_Ra3._DC1();this.phy_inertia=_Ra3._EC1();this.phy_com_x=_Ra3._rC1().x*_Ib2;this.phy_com_y=_Ra3._rC1().y*_Ib2;this.phy_dynamic=(_Ra3._dO===_R62._S92._SB1);
this.phy_kinematic=(_Ra3._dO===_R62._S92.__B1);this.phy_sleeping=!_Ra3._4D1();this._Z83=_Ra3._8D1();this.__83=_Ra3._6D1();this._Ta3=Math.sqrt((this.phy_speed_x*this.phy_speed_x)+(this.phy_speed_y*this.phy_speed_y));this._W83=_Ra3._RC1();this._X83=_Ra3._QC1();if(this.phy_position_xprevious===undefined){this.phy_position_xprevious=_Ra3._h31().x*_Ib2;}if(this.phy_position_yprevious===undefined){this.phy_position_yprevious=_Ra3._h31().y*_Ib2;}};_mP.prototype._Ua3=function(_Uj){this._v41._182(yyGetReal(_Uj)*_x2._y31._441);
this._Jb2(this._v41._J72);};_mP.prototype._Va3=function(_Uj){this._v41._282(yyGetReal(_Uj)*_x2._y31._441);this._Jb2(this._v41._J72);};_mP.prototype._Wa3=function(_582){this._v41._482(yyGetReal(_582)*_x2._y31._441);this._Jb2(this._v41._J72);};_mP.prototype._Xa3=function(_582){this._v41._782(yyGetReal(_582)*_x2._y31._441);this._Jb2(this._v41._J72);};_mP.prototype._Ya3=function(_xl){var _S83=_x2._y2();if(_z2)_S83=_B2._C2();this._v41._482(yyGetReal(_xl)*_x2._y31._441*_S83);this._Jb2(this._v41._J72);}
;_mP.prototype._Za3=function(_xl){var _S83=_x2._y2();if(_z2)_S83=_B2._C2();this._v41._782(yyGetReal(_xl)*_x2._y31._441*_S83);this._Jb2(this._v41._J72);};_mP.prototype.__a3=function(_Y31){this._v41._J72.__31(yyGetReal(_Y31));this._Jb2(this._v41._J72);};_mP.prototype._0b3=function(_Y31){this._v41._J72._Z31(yyGetReal(_Y31));this._Jb2(this._v41._J72);};_mP.prototype._1b3=function(_882){this._v41.__C1(yyGetBool(_882));this._Jb2(this._v41._J72);};_mP.prototype._2b3=function(_982){this._v41._7D1(yyGetBool(_982));
this._Jb2(this._v41._J72);};_mP.prototype._3b3=function(_a82){this._v41._5D1(yyGetBool(_a82));this._Jb2(this._v41._J72);};_mP.prototype._68=function(){if(sprite_exists(this.sprite_index)){var _Sm=_H4._I4(this.sprite_index);if(_Sm._xL){if(!this._F83){this._F83=new _T1(_Sm._xL);}}}return this._F83;};_mP.prototype._D93=function(){var _4b3=null;var _5b3=false;if(this.mask_index>=0){_4b3=_H4.Sprites[this.mask_index];_5b3=_4b3._5q==_yf1._H93;}if(this._z83!==null&&(!_5b3||this._z83._72!=_4b3._72)){this._z83=null;
this._1P=true;}if(_5b3&&this._z83===null){this._z83=new _T1(_4b3._xL);this._1P=true;}return this._z83;};_mP.prototype._F93=function(){var skel=null;if(this.mask_index>=0){skel=this._D93();}else {skel=this._68();if(skel!==null){var _OT=_H4.Sprites[this.sprite_index];if(_OT._5q!==_yf1._H93){skel=null;}}}return skel;};_mP.prototype._G93=function(){if(this.mask_index>=0&&_H4.Sprites[this.mask_index]._5q===_yf1._H93){return 0.0;}else {return this.image_index;}};_mP.prototype._za3=function(){if(this.mask_index<0){
return this._68()&&_H4.Sprites[this.sprite_index]._5q===_yf1._H93;}else {return _H4.Sprites[this.mask_index]._5q===_yf1._H93}};_mP.prototype._6b3=function(){return this._uS;};_mP.prototype._7b3=function(_rT){this._uS=_rT;};_mP.prototype._hT=function(){return this._qP;};_mP.prototype._6S=function(_8b3){this._qP=_8b3;};function _UL2(){this._9b3=new _Gj();this._9b3._Hj=true;this._TE=[];}_UL2.prototype.__e=function(){this._TE=[];this._9b3.__e();};_UL2.prototype._RY=function(){return this._9b3._Zj;};_UL2.prototype._Ke=function(_5t){
this._TE[_5t.id]=_5t;this._9b3._Ke(_5t);};_UL2.prototype._vL2=function(_nf){return this._TE[_nf];};_UL2.prototype._I4=function(_nf){var _5t=this._TE[_nf];if(_5t!=undefined&&_5t!=null)return _5t;var _FF=_m2._I4(_nf);if(_FF!=undefined&&_FF!=null){var _ab3=false;for(var i=0;i<_FF._bb3._Zj.length;i++){_5t=_FF._bb3._Zj[i];if(!_5t.marked){_ab3=true;break;}}if(!_ab3){_L3("Unable to find any instance for object index \'"+_nf+"\' name \'"+_FF.__E+"\'")}else {if(_5t!=undefined&&_5t!=null)return _5t;}}return null;}
;_UL2.prototype._cb3=function(_nf){if(_nf>=0){var _5t=this._TE[_nf];if(_5t!=undefined&&_5t!=null)return _5t;}return null;};_UL2.prototype._db3=function(_Ls){this._9b3._3S(_Ls);var id=_Ls.id;this._TE[id]=null;};_UL2.prototype._eb3=function(){var _Zj=_x2._RN._Zj;var room=_7t._8t();for(var index=0;index<_Zj.length;index++){var _5t=_Zj[index];_5t.xprevious=_5t.x;_5t.yprevious=_5t.y;_5t.path_positionprevious=_5t.path_position;_5t._ea3();}};_UL2.prototype._fb3=function(){var _Zj=_x2._RN._Zj;for(var index=0;index<_Zj.length;
index++){var _5t=_Zj[index];_5t._q93();if(_5t._Fb2()){_5t._R4(_Gb2,0,_5t,_5t);}if(_5t.hspeed!==0||_5t.vspeed!==0){_5t.x+=_5t.hspeed;_5t.y+=_5t.vspeed;_5t._1P=true;}}};function _gb3(_5t,_OT,_hb3,_ib3){var fps=_B2._C2();var _jb3=_OT.sequence._bg1;if(_OT.sequence._cg1==_AQ)_jb3/=fps;_5t._j83=_5t._k83;_5t._k83=_hb3;var _45={headPosition:_5t._k83,_QT:_5t._l83,_RT:false};var _kb3=_ST(_OT.sequence,_45);_5t._k83=_45.headPosition;_5t._l83=_45._QT;if((_OT.sequence._TT!=null)&&(_OT.sequence._TT[0]._dO==_UT)){var _4V=_OT.sequence._TT[0];
if(_4V!=null){_5t._M2(_4V._ys2(_5t._k83));}if(!_ib3){var layer=_7t._QP(_x2,_5t.layer);var _lb3=-1;for(var _mb3=0;_mb3<layer._RP._Zj.length;++_mb3){var _QS=layer._RP._Zj[_mb3];if(_QS!==null&&_QS!==undefined&&_QS._ZQ==_5t.id){_lb3=_QS._rd;break;}}if(_lb3!==-1){_ZT(_OT.sequence,_lb3,fps,_jb3,_5t._l83,_5t._j83,_5t._k83);}}}if(_kb3){_5t._R4(_uB2,0,_5t,_5t);}}function _nb3(_5t,_OT,image_index){if(_OT.sequence!=null){if((_OT.sequence._TT!=null)&&(_OT.sequence._TT[0]._dO==_UT)){var _4V=_OT.sequence._TT[0];var _5V=_4V._WT._6V;
var _JN=_4V._WT._XT(_5t._k83,_OT.sequence._YT);if(_JN!=null){var _ob3=_4V._WT._aV[_5V-1]._bV+_4V._WT._aV[_5V-1]._YT;var _pb3=_5t.image_number;var _qb3=image_index/_pb3;var _rb3=_qb3-Math.floor(_qb3);if(_rb3<0){_qb3-=1.0;_rb3+=1.0;}var _sb3=Math.floor(_qb3)*_ob3;var _8V=Math.floor(_rb3*_5V);var _tb3=(_rb3*_5V)-_8V;_8V=Math.max(0,Math.min(_5V-1,_8V));_sb3+=_4V._WT._aV[_8V]._bV+(_tb3*_4V._WT._aV[_8V]._YT);return _sb3;}}}return image_index;}_UL2.prototype._ub3=function(){var _Zj=_x2._RN._Zj;for(var index=0;index<_Zj.length;
index++){var _5t=_Zj[index];if(_5t.marked)continue;if(!_5t.active)continue;var _OT=_H4._I4(_5t.sprite_index);var _vb3=false;if(_OT!=null){if(_OT.sequence!=null){var _wb3=_5t._k83;if((_OT.sequence._TT!=null)&&(_OT.sequence._TT[0]._dO==_UT)){var _4V=_OT.sequence._TT[0];if(_4V!=null){_wb3=_4V._ys2(_5t._k83);if(Math.abs(_5t.image_index-_wb3)>g_GMLMathEpsilon){var _5V=_4V._WT._6V;if(_5V>0){var _8V=~~(_5t.image_index);var _9V=_5t.image_index-_8V;var _xb3=_5t.image_index;if(_8V>=_5V){_xb3=_4V._WT._aV[_5V-1]._bV+(_5t.image_index-(_5V-1));
}else if(_8V<0){_xb3=_5t.image_index;}else _xb3=(_4V._WT._aV[_8V]._bV+(_9V*_4V._WT._aV[_8V]._YT));_xb3=_nb3(_5t,_OT,_5t.image_index);_gb3(_5t,_OT,_xb3,true);}}}}_vb3=true;var fps=_B2._C2();var length=_OT.sequence._YT;var _jb3=_OT.sequence._bg1;if(_OT.sequence._cg1==_AQ)_jb3/=fps;_gb3(_5t,_OT,(_5t._k83+(_5t._l83*_5t.image_speed*_jb3)),false);}}if(!_vb3){var _7u=_5t._s93();if(_5t.image_index>=_7u){_5t.image_index-=_7u;var _ZE=_5t._ZE;if(_ZE._5z2[_uB2]){_5t._R4(_uB2,0,_5t,_5t);}}else if(_5t.image_index<0){
_5t.image_index+=_7u;var _ZE=_5t._ZE;if(_ZE._5z2[_uB2]){_5t._R4(_uB2,0,_5t,_5t);}}}}};_UL2.prototype._R4=function(_i2,_N2){var _9B1=true;if(_x2){var _x93=_i2;if(_x93!=_Vb2)_x93|=_N2;var _u7=_2z2++;var _Zj=_x2._RN._Zj;for(var index=_Zj.length-1;index>=0;index--){var _5t=_Zj[index];if(_5t!==undefined&&!_5t.marked&&(_5t._4z2<=_u7)){var _ZE=_5t._ZE;if(_ZE._5z2[_x93]){_9B1=_5t._R4(_i2,_N2,_5t,_5t);}}}}return _9B1;};var yyInst=_Vo1;function _Uo1(_j6,_Gp,_nf){if(_nf instanceof _Vs){_nf=yyGetInt32(_nf);}else {if(typeof _nf==="object"||typeof _nf==="function")return _nf;
}if(_nf==-1)return _j6;if(_nf==-2)return _Gp;if(_nf==-3)return _j6;var _5t=_Lm._I4(_nf);if(!_5t){_5t=_m2._I4(_nf);if(_5t)_5t=_5t._Mz2._I4(0);}return _5t;}function _Vo1(_j6,_Gp,_nf){if(_nf instanceof _Vs){_nf=yyGetInt32(_nf);}else {if(typeof _nf==="object"||typeof _nf==="function")return _nf;}if(_nf==-1)return _j6;if(_nf==-2)return _Gp;if(_nf==-3)return _j6;var _5t=_Lm._I4(_nf);if(!_5t){_5t=_m2._I4(_nf);if(!_5t){_Ch("Unknown instance ID: "+_nf);debug(_HD());return undefined;}_5t=_5t._Mz2._I4(0);}return _5t;}function _eP(_Ls){
if(_Ls._yb3===undefined||_Ls._yb3===false){_Ls._yb3=true;_Ls._R4(_tP,0,_Ls,_Ls);_Ls._R4(_fP,0,_Ls,_Ls);_Ls.marked=true;}}function _zb3(_EV,_u4,_v4,_Ek,_Ab3){var _4m=_x2._GV(_u4,_v4,_Ek,_EV);if(_4m!=null){if(_Ab3!=undefined){_4m._793(true);_4m._c93(true);_4m._893(true);_4m._a93(_Ab3);}_4m._R4(_6m,0,_4m,_4m);_4m._R4(_7m,0,_4m,_4m);return _4m;}return null;}function _Bb3(_EV,_u4,_v4,__U,_Ab3){var layer=_7t._QP(_x2,__U);if(layer!=null){var _5t=_x2._HV(_u4,_v4,layer,_EV);if(!_5t!=null){if(_Ab3!=undefined){_5t._793(true);
_5t._c93(true);_5t._893(true);_5t._a93(_Ab3);}_5t._R4(_6m,0,_5t,_5t);_5t._R4(_7m,0,_5t,_5t);return _5t;}}return null;}function _xV(_j6){if(_j6 instanceof _mP){return _j6.depth;}return _X9;}var _7Q=256;var _Cb3=5;var _Db3=1024;var _Tn1=1;var _Zn1=2;var _Eb3=4;var _Gf=1;var _Ef=2;var _Ff=0x80000000;var _Fb3=128;var _Jf=0,_Bf=0,_zf=0,_Af=0,_Lf=-1,_Gb3=0,_Kf=-1,_Hb3=0,_Ib3=0,_WP=0,_Oo1=(typeof(document.hasFocus)=="function"?document.hasFocus():true),_0Q=0,_1Q=0,_Jb3=false,_Kb3=0,_Wm1=false,_Xm1=0,_Ym1=0;var _UP=[];var _VP=[];
var _XP=[];var _Vn1=[];var _Io1=[];var _Cf=[];var _Lb3=0;var _sf=[];var _Mb3={8:String.fromCharCode(8),9:0,13:0,16:0,17:0,18:0,19:0,20:0,27:0,22:0,32:" ",34:0,35:0,36:0,37:0,38:0,39:0,40:0,45:0,46:0,47:0,48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",58:"0",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",91:0,92:0,93:0,96:"0",97:"1",98:"2",
99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:0,113:0,114:0,115:0,116:0,117:0,118:0,119:0,120:0,121:0,122:0,123:0,144:0,145:0,173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"'",219:"[",220:"\\",221:"]",222:"#",223:"`"};var _Nb3={8:String.fromCharCode(8),9:0,13:0,16:0,17:0,18:0,19:0,20:0,27:0,22:0,32:" ",34:0,35:0,36:0,37:0,38:0,39:0,40:0,45:0,46:0,47:0,48:")",49:"!",50:"\"",51:"£",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",58:")",59:":",
61:"+",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:0,92:0,93:0,96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:0,113:0,114:0,115:0,116:0,117:0,118:0,119:0,120:0,121:0,122:0,123:0,144:0,145:0,173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"@",219:"{",220:"|",221:"}",222:"~",
223:"¬"};function _Ob3(){_Oo1=true;}function _Pb3(){_Oo1=false;_Qb3();}function _Rb3(which){if(!document.getElementById)return;if(which.style.display=="block"){which.style.display="none";}else {which.style.display="block";}}function _Sb3(_Tb3,_Ub3){try{if(_Tb3){if(_Tb3.JSON_game){if(_Tb3.JSON_game.Options){if(_Tb3.JSON_game.Options.gameGuid){if(_Tb3.JSON_game.Options.gameGuid==JSON_game.Options.gameGuid){_Tb3.focus();_Ub3.focus();return true;}}}}}}catch(err){}return false;}function _Vb3(){var _vs=document.getElementById(_cE);
var _Wb3;if((_YM==_oE2)||(_YM==_nE2)||(_YM==_pE2)||(_YM==_Z91)){_Wb3=_vs.parentNode.frames;if(!_Wb3){_Sb3(this,_vs);}else {for(var _Xb3=0;_Xb3<_Wb3.length;_Xb3++){var _Yb3=_Wb3[_Xb3];if(_Sb3(_Yb3,_vs))break;}}}else {if(!_vs._Zb3||!_vs._Zb3.document||!_vs.parentNode.document.getElementsByTagName("IFRAME")){_Sb3(this,_vs);}else {_Wb3=_vs.parentNode.document.getElementsByTagName("IFRAME");for(var _Xb3 in _Wb3){var _Yb3=_Wb3[_Xb3].contentWindow;if(_Sb3(_Yb3,_vs))break;}}}}var __b3;var _0c3;var _1c3;var _2c3;var _3c3;
var _4c3;var _5c3;var _6c3;var _7c3;var _8c3;var _9c3;function _ac3(){var _eg=document.getElementById("gm4html5_div_id");if(_eg){_0c3=_eg.style.left;_1c3=_eg.style.top;_2c3=_eg.style.margin;var top=window.parent;if(top!=null){if(top.chrome!=null&&top.chrome.app!=null&&top.chrome.app.window!=null){var _bc3=top.chrome.app.window.current();if(_bc3!=null){var _xU1=window.parent.document.getElementById("container");var _cc3=window.parent.document.getElementById("game");if(_xU1!=null){_3c3=_xU1.style.width;_4c3=_xU1.style.height;
_7c3=_xU1.style.left;_5c3=_xU1.style.margin;_6c3=_xU1.style.position;}if(_cc3!=null){_8c3=_cc3.style.width;_9c3=_cc3.style.height;}_bc3.fullscreen();var _dc3=_bc3.getBounds();if(_xU1!=null){_xU1.style.width="100%";_xU1.style.height="100%";_xU1.style.left="0";_xU1.style.margin='auto';_xU1.style.position='relative';}if(_cc3!=null){_cc3.style.width="100%";_cc3.style.height="100%";canvas.style.width="100%";canvas.style.height="100%";}}}}_eg.style.margin="0px";_eg.style.top="0";_eg.style.left="0";_eg.style._ec3="0px";
_eg.style._fc3="0px";if(_eg.mozRequestFullScreen){document._gc3=function(event){document._gc3=_hc3;};_eg.mozRequestFullScreen();}else if(_eg.webkitRequestFullScreen){_eg.onwebkitfullscreenchange=function(e){_eg.onwebkitfullscreenchange=_hc3;};if(_YM==_pE2){_eg.webkitRequestFullScreen();}else {_eg.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);}}else if(document.documentElement.requestFullScreen){document.documentElement.requestFullScreen();}_HK2=true;return;}if(canvas.mozRequestFullScreen){canvas.style.margin="0px";
canvas.style.top="";canvas.style.left="";canvas.style._ec3="0px";canvas.style._fc3="0px";canvas.mozRequestFullScreen();}else if(canvas.webkitRequestFullScreen){canvas.style.margin="0px";canvas.style.top="";canvas.style.left="";canvas.style._ec3="0px";canvas.style._fc3="0px";canvas.onwebkitfullscreenchange=function(e){canvas.onwebkitfullscreenchange=_hc3;};if(_YM==_pE2){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._ec3="0px";canvas.style._fc3="0px";document.documentElement.requestFullScreen();}_HK2=true;}function _hc3(){if(_im1){var _eg=document.getElementById("gm4html5_div_id");if(_eg){_eg.style.left=_0c3;_eg.style.top=_1c3;_eg.style.margin=_2c3;}var top=window.parent;if(top!=null){if(top.chrome!=null&&top.chrome.app!=null&&top.chrome.app.window!=null){var _bc3=top.chrome.app.window.current();if(_bc3!=null)_bc3.restore();}}_HK2=true;
}}function _ic3(){var top=window.parent;if(top!=null){if(top.chrome!=null&&top.chrome.app!=null&&top.chrome.app.window!=null){var _bc3=top.chrome.app.window.current();if(_bc3!=null){_bc3.restore();_HK2=true;var _xU1=window.parent.document.getElementById("container");if(_xU1!=null){_xU1.style.width=_3c3;_xU1.style.height=_4c3;_xU1.style.left=_7c3;_xU1.style.margin=_5c3;_xU1.style.position=_6c3;}var _cc3=window.parent.document.getElementById("game");if(_cc3!=null){_cc3.style.width=_8c3;_cc3.style.height=_9c3;
canvas.style.width=_8c3;canvas.style.height=_9c3;}}}}if(document.webkitCancelFullScreen){document.webkitCancelFullScreen();}else if(document.mozCancelFullScreen){document.mozCancelFullScreen();_hc3();}else {_HK2=true;}}function _qE(){if(_EK2)return;window.onkeyup=function(){_jc3(arguments[0]||window.event);};window.onkeydown=function(){var _Jh=arguments[0]||window.event;if((_AK2)&&(_Jh!=null)&&(_Jh.which==121)&&(!_Jh.repeat)&&(canvas.mozRequestFullScreen)){if(!document.mozFullScreen){_kc3();_ac3();}
else {_ic3();}_Jh.preventDefault();return false;}if(_lc3(_Jh)==false){_Jh.preventDefault();return false;}};window.onmouseup=_Yh1;_EK2=true;}function _gE(){if(_EK2==false)return;window.onkeydown=null;window.onkeyup=null;window.onmouseup=null;_EK2=false;}function _mc3(_nc3){if(_nc3==121){return true;}if(window.chrome&&window.chrome.app){if(_nc3==183)return true;}return false;}function _lc3(_Jh){var _nc3;if(_Jh==null){_nc3=window.event.which;if(_nc3==122)return true;if(_nc3!=121)window.event.preventDefault();
else _HK2=true;window.event.preventDefault();}else {_nc3=_Jh.which;if(_nc3==122)return true;if(_nc3==120){}else if(!_mc3(_nc3)){_Jh.preventDefault();}else {if(_AK2){if(!_im1){_kc3();_ac3();}else {_ic3();}}}_Jh.preventDefault();}if(!_UP[_nc3]){_VP[_nc3]=1;}_UP[_nc3]=1;_WP=_nc3;if(_YM==_ZM){_Ib3=_Jh.char;}else if(_Jh.key){if(_Jh.key.length==1){_Ib3=_Jh.key;}else if(_nc3==8){_Ib3=String.fromCharCode(8);}else if(_nc3==13){_Ib3=String.fromCharCode(13);}else {_Ib3="";}}else {if(_Jh.shiftKey){_Ib3=_Nb3[_nc3];}else {
_Ib3=_Mb3[_nc3];}}if(!_Ib3)_Ib3="";return false;}function _jc3(_Jh){var _nc3;if(_Jh==null){_nc3=window.event.which;if(_nc3==122)return;window.event.preventDefault();}else {_nc3=_Jh.which;if(_nc3==122)return;_Jh.preventDefault();}_XP[_nc3]=1;_UP[_nc3]=0;return false;}function _oc3(_R2,_pc3){var target,_Q6;var _qc3=canvas.style.display;canvas.style.display="none";target=document.elementFromPoint(_pc3.clientX,_pc3.clientY);canvas.style.display=_qc3;target="canvas";_Q6=document.createEvent('MouseEvents');_Q6.initMouseEvent(_R2,
true,true,document.defaultView,1,_pc3.screenX,_pc3.screenY,_pc3.clientX,_pc3.clientY,false,false,false,false,_pc3.button,null);_Q6.target=target;target.dispatchEvent(_Q6);}function _zs(_pc3){_zf=_pc3.clientX;_Af=_pc3.clientY;_Xm1=_pc3.movementX||_pc3.mozMovementX||_pc3.webkitMovementX||_pc3.msMovementX||0;_Ym1=_pc3.movementY||_pc3.mozMovementY||_pc3.webkitMovementY||_pc3.msMovementY||0;_Cf[_pc3.button].x=_zf;_Cf[_pc3.button].y=_Af;}function _Xh1(_pc3){if(!_Oo1){_Vb3();}_Jf=_pc3.button;if(_Jf==2)_Jf=1;
else if(_Jf==1)_Jf=2;_Kf=_Jf;_Lf=_Jf;_Bf|=(1<<_Jf);_Cf[_pc3.button]._Df=_Ef|_Ff|_Gf;_Cf[_pc3.button].x=_pc3.pageX;_Cf[_pc3.button].y=_pc3.pageY;return _pc3;}function _Yh1(_pc3){_Jf=_pc3.button;if(_Jf==2)_Jf=1;else if(_Jf==1)_Jf=2;_Hb3=_Gb3;_Gb3=_Jf;_Bf&=~(1<<_Jf);_Lf=-1;_Cf[_pc3.button]._Df=0;return false;}function _rc3(_pc3){if(_pc3.detail){_Kb3=-_pc3.detail;}else {_Kb3=_pc3.wheelDelta;}}function _sc3(){if(_Lm!=null){_Lm._R4(_nB2,0);}return undefined;}function _SL2(){this._tc3="a";this._uc3=[];this._vc3=this._wc3=-1;
this._2Q=[];this._4Q=[];this._3Q=[];this._xc3=this._yc3=0;this._Kd=[];this._Jd=[];this._Fd=[];this._zc3=this._Ac3=false;this._8Q=[];this._Bc3=this.__P=this._Cc3=this._Dc3=this._5Q=this._6Q=this._t2=0;for(var _K5=0;_K5<_Db3;_K5++){this._uc3[_K5]="";}for(var _K5=0;_K5<_7Q;_K5++){this._2Q[_K5]=this._4Q[_K5]=this._3Q[_K5]=false;this._8Q[_K5]=_K5;}for(var _K5=0;_K5<_Cb3;_K5++){this._Kd[_K5]=this._Jd[_K5]=this._Fd[_K5]=false;}this._0f=_Ec3;this._Fc3=_Gc3;this._Hc3=_Hc3;this._Ic3=_Ic3;this._Jc3=_Jc3;this._Kc3=_Kc3;
this._Lc3=_Lc3;this._Mc3=_Mc3;this._Nc3=_Nc3;this._Oc3=_Oc3;this._Pc3=_Pc3;this._Qc3=_Qc3;this._Rc3=_Rc3;this._rp=_rp;this._Sc3=_Sc3;this._Tc3=_Tc3;this._pp=_pp;this._Uc3=_Uc3;this._qp=_qp;this._Vc3=_Vc3;this._Wc3=_Wc3;this._Xc3=_Yc3;this._Zc3=__c3;this._0d3=_1d3;this._2d3=_2d3;for(var _K5=0;_K5<_7Q;_K5++){_UP[_K5]=_XP[_K5]=false;}if(!_N73){window.onbeforeunload=_sc3;}_Io1=new Array(_Fb3);_Cf=new Array(_Fb3);for(var _3d3=0;_3d3<_Fb3;_3d3++){_Io1[_3d3]=new _4d3();_Cf[_3d3]=new _4d3();}browser_input_capture(true);
}function _5d3(){_Wm1=(document.pointerLockElement===canvas||document.mozPointerLockElement===canvas||document.webkitPointerLockElement===canvas||document.msPointerLockElement===canvas);}function browser_input_capture(_Ry){_Ry=yyGetBool(_Ry);if(_Jb3==_Ry)return;_Qb3();_Jb3=_Ry;if(_Ry){canvas.onmousemove=_zs;canvas.onmousedown=_Xh1;window.onmouseup=_Yh1;canvas.onmousewheel=_rc3;canvas.onselectstart=function(){return false;};canvas.addEventListener("DOMMouseScroll",_rc3,false);var _K5=document.getElementById("loading_screen");
if(_K5){_K5.onmousemove=_zs;_K5.onmousedown=_Xh1;_K5.onmouseup=_Yh1;_K5.onmousewheel=_rc3;_K5.addEventListener("DOMMouseScroll",_rc3,false);}window.addEventListener("focus",_Ob3);window.addEventListener("blur",_Pb3);document.onpointerlockchange=_5d3;document.onmozpointerlockchange=_5d3;document.onwebkitpointerlockchange=_5d3;document.onmspointerlockchange=_5d3;_qE();}else {canvas.onmousemove=null;canvas.onmousedown=null;window.onmouseup=null;canvas.onmousewheel=null;canvas.onselectstart=null;canvas.removeEventListener("DOMMouseScroll",
_rc3);var _K5=document.getElementById("loading_screen");if(_K5){_K5.onmousemove=null;_K5.onmousedown=null;_K5.onmouseup=null;_K5.onmousewheel=null;_K5.removeEventListener("DOMMouseScroll",_rc3);}document.body.onfocusin=null;document.body.onfocusout=null;document.onfocusin=null;document.onfocusout=null;window.onfocus=null;window.onblur=null;document.onpointerlockchange=null;document.onmozpointerlockchange=null;document.onwebkitpointerlockchange=null;document.onmspointerlockchange=null;_gE();}}function _4d3(){
this._Df=0;this.x=0;this.y=0;}function _Qb3(){_6d3();_7d3();g_pBuiltIn.keyboard_key=0;g_pBuiltIn.keyboard_key="";_WP=0;_Ib3="";}_SL2.prototype.__e=function(){this._8d3();this._Wc3();g_pBuiltIn.keyboard_key=0;g_pBuiltIn.keyboard_lastkey=0;g_pBuiltIn.keyboard_key="";_WP=0;_Ib3="";g_pBuiltIn.keyboard_lastchar="";g_pBuiltIn.keyboard_string="";};/*@this {yyIOManager} */function _Hc3(){return this._tc3;}/*@this {yyIOManager} */function _Ic3(_9d3){this._tc3=_9d3;}/*@this {yyIOManager} */function _Jc3(){return this._wc3;
}/*@this {yyIOManager} */function _Kc3(){return this._vc3;}/*@this {yyIOManager} */function _Lc3(_ik){if(_ik<0||_ik>255)return false;this._wc3=_ik;}/*@this {yyIOManager} */function _Mc3(_ik){if(_ik<0||_ik>255)return false;this._vc3=_ik;}/*@this {yyIOManager} */function _Nc3(_ik){if(_ik<0||_ik>255)return false;return this._2Q[_ik];}/*@this {yyIOManager} */function _Oc3(_ik){if(_ik<0||_ik>255)return false;return this._3Q[_ik];}/*@this {yyIOManager} */function _Pc3(_ik){if(_ik<0||_ik>255)return false;return this._4Q[_ik];
}/*@this {yyIOManager} */function _Qc3(_ik){if(_ik<0||_ik>255)return;this._2Q[_ik]=0;this._3Q[_ik]=0;this._4Q[_ik]=0;}_SL2.prototype._8d3=function(){this._wc3=0;this._vc3=0;this._tc3=0;for(var i=0;i<=_7Q;i++){this._2Q[i]=0;this._3Q[i]=0;this._4Q[i]=0;}};function _6d3(){for(var i=0;i<_7Q;i++){_VP[i]=0;_XP[i]=0;_UP[i]=0;}}/*@this {yyIOManager} */function _Rc3(){return this._xc3;}/*@this {yyIOManager} */function _rp(){return this._yc3;}/*@this {yyIOManager} */function _Sc3(_Is){if((_Is<1)||(_Is>3))return;this._xc3=_Is;
}/*@this {yyIOManager} */function _Tc3(_Is){if((_Is<1)||(_Is>3))return;this._yc3=_Is;}/*@this {yyIOManager} */function _pp(_Is){_Is--;if(_Is>=0&&_Is<_Cb3){return this._Kd[_Is];}return false;}/*@this {yyIOManager} */function _Uc3(_Is){_Is--;if(_Is>=0&&_Is<_Cb3){return this._Fd[_Is];}}/*@this {yyIOManager} */function _qp(_Is){_Is--;if(_Is>=0&&_Is<_Cb3){return this._Jd[_Is];}return false;}/*@this {yyIOManager} */function _Vc3(_Is){_Is--;if(_Is>=0&&_Is<_Cb3){this._Kd[_Is]=false;this._Fd[_Is]=false;this._Jd[_Is]=false;
}}/*@this {yyIOManager} */function _Wc3(){this._xc3=0;this._yc3=0;for(var i=0;i<=_Cb3;i++){this._Kd[i]=false;this._Fd[i]=false;this._Jd[i]=false;}this._Ac3=false;this._zc3=false;for(var _uf=0;_uf<_sf.length;_uf++){_sf[_uf].__e();}}function _7d3(){_Hb3=-1;_Gb3=-1;_Lf=-1;_Bf=0;_Cf[0]._Df=0;_Cf[0].x=0;_Cf[0].y=0;_Jf=-1;}/*@this {yyIOManager} */function _Ec3(){for(var _uf=0;_uf<_sf.length;_uf++){var _vf=_sf[_uf];if(_vf._Kd){_vf._Jd=0;_vf._Fd=_vf._7f^_vf._Kd;}else {_vf._Jd=_vf._7f^_vf._Kd;_vf._Fd=0;}_vf._7f=_vf._Kd;
}for(var _3d3=0;_3d3<_Cf.length;_3d3++){_Io1[_3d3]._Df=_Cf[_3d3]._Df;_Io1[_3d3].x=_Cf[_3d3].x;_Io1[_3d3].y=_Cf[_3d3].y;_Cf[_3d3]._Df&=~_Gf;}if(_WP){if(_Ib3){if(_WP==13){}else if(_WP==8){g_pBuiltIn.keyboard_lastchar=_Ib3;if(g_pBuiltIn.keyboard_string.length>0){g_pBuiltIn.keyboard_string=g_pBuiltIn.keyboard_string.substring(0,g_pBuiltIn.keyboard_string.length-1);}}else {g_pBuiltIn.keyboard_lastchar=_Ib3;g_pBuiltIn.keyboard_string+=g_pBuiltIn.keyboard_lastchar;if(g_pBuiltIn.keyboard_string.length>1024){
g_pBuiltIn.keyboard_string=g_pBuiltIn.keyboard_string.substring(1,g_pBuiltIn.keyboard_string.length-1);}}}if(g_pBuiltIn.keyboard_key!=0){g_pBuiltIn.keyboard_lastkey=g_pBuiltIn.keyboard_key;}g_pBuiltIn.keyboard_key=_WP;_WP=0;}else if(!_yf._2Q[g_pBuiltIn.keyboard_key]){g_pBuiltIn.keyboard_lastkey=g_pBuiltIn.keyboard_key;g_pBuiltIn.keyboard_key=0;}this._5Q=_zf;this._6Q=_Af;this.__P=_Bf;if((this.__P&1)!=0){this._Kd[0]=1;if(((this._Cc3^this.__P)&0x1)!=0){this._Fd[0]=1;}}else {this._Kd[0]=0;if(((this._Cc3^this.__P)&0x1)!=0){
this._Jd[0]=1;}}if((this.__P&2)!=0){this._Kd[1]=1;if(((this._Cc3^this.__P)&0x2)!=0){this._Fd[1]=1;}}else {this._Kd[1]=0;if(((this._Cc3^this.__P)&0x2)!=0){this._Jd[1]=1;}}if((this.__P&4)!=0){this._Kd[2]=1;if(((this._Cc3^this.__P)&0x4)!=0){this._Fd[2]=1;}}else {this._Kd[2]=0;if(((this._Cc3^this.__P)&0x4)!=0){this._Jd[2]=1;}}if((this.__P&8)!=0){this._Kd[3]=1;if(((this._Cc3^this.__P)&0x8)!=0){this._Fd[3]=1;}}else {this._Kd[3]=0;if(((this._Cc3^this.__P)&0x8)!=0){this._Jd[3]=1;}}if((this.__P&16)!=0){this._Kd[4]=1;
if(((this._Cc3^this.__P)&0x10)!=0){this._Fd[4]=1;}}else {this._Kd[4]=0;if(((this._Cc3^this.__P)&0x10)!=0){this._Jd[4]=1;}}this._Cc3=this.__P;g_pBuiltIn.mouse_x=this._5Q;g_pBuiltIn.mouse_y=this._6Q;g_pBuiltIn.mouse_button=_Lf+1;g_pBuiltIn.mouse_lastbutton=_Kf+1;this._2d3();}/*@this {yyIOManager} */function _2d3(){var _ad3=0;var _yc=0;var w=_IJ;var h=_FJ;var _76=window_get_width();var _3g1=window_get_height();if(w<0)w=_76;if(h<0)h=_3g1;for(var _3d3=0;_3d3<_Io1.length;_3d3++){var _bd3=_Io1[_3d3];if((_bd3._Df&_Ff)!=0){
_yc=1;for(var _cd3=0;_cd3<_Vn1.length;_cd3++){var _Qn1=_Vn1[_cd3];if((_Qn1._Sn1&_Tn1)!=0){var x=(w*(_bd3.x-_ff.left))/_76;var y=(h*(_bd3.y-_ff.top))/_3g1;if((x>=_Qn1.x)&&(x<_Qn1._C5)&&(y>=_Qn1.y)&&(y<_Qn1._D5)){_ad3|=_yc;}}_yc<<=1;}_bd3._Df=0;}}_yc=1;var _dd3=_Lb3^_ad3;for(var _cd3=0;_cd3<_Vn1.length;_cd3++){var _Qn1=_Vn1[_cd3];if((_Qn1._Sn1&_Tn1)!=0){var _K43=_ad3&_yc;var _uD=_dd3&_yc;if(_Qn1.key!=0){this._3Q[_Qn1.key]|=(_K43&&_uD);this._2Q[_Qn1.key]|=(_K43&&!_uD);this._4Q[_Qn1.key]|=(!_K43&&_uD);}else {
this._Fd[_Qn1.button-1]|=(_K43&&_uD);this._Kd[_Qn1.button-1]|=(_K43&&!_uD);this._Jd[_Qn1.button-1]|=(!_K43&&_uD);}}_yc<<=1;}_Lb3=_ad3;}function _Xc3(_ed3){var _Jh=__C2|_ed3;var _Zj=_x2._RN._Zj;var _l_=_Zj.length;for(var _RE=0;_RE<_l_;_RE++){var _5t=_Zj[_RE];var _FF=_5t._ZE;if(_FF._5z2[_Jh]){_5t._R4(__C2,_ed3,_5t,_5t);}}}function _fd3(_gd3){var _Jh=_1D2|_gd3;var _Zj=_x2._RN._Zj;var _l_=_Zj.length;for(var _RE=0;_RE<_l_;_RE++){var _5t=_Zj[_RE];if(_5t.marked){continue;}var _FF=_5t._ZE;if(_FF._5z2[_Jh]){_5t._R4(_1D2,
_gd3,_5t,_5t);}}}function _0d3(_hd3){var _Jh=_3D2|_hd3;var _Zj=_x2._RN._Zj;var _l_=_Zj.length;for(var _RE=0;_RE<_l_;_RE++){var _5t=_Zj[_RE];var _FF=_5t._ZE;if(_FF._5z2[_Jh]){_5t._R4(_3D2,_hd3,_5t,_5t);}}}/*@this {yyIOManager} */function _Yc3(){var _id3=0;for(var i=2;i<_7Q;i++){if(this._2Q[i]){_id3=1;_Xc3(i);}}_Xc3(_id3);}/*@this {yyIOManager} */function __c3(){var _jd3=0;for(var i=2;i<_7Q;i++){if(this._3Q[i]){_jd3=1;_fd3(i);}}_fd3(_jd3);}/*@this {yyIOManager} */function _1d3(){var _kd3=0;for(var i=2;i<_7Q;i++){
if(this._4Q[i]){_kd3=1;_0d3(i);}}_0d3(_kd3);}/*@this {yyIOManager} */function _Gc3(){var _ld3=0,_md3=0,_nd3=0;this._t2++;for(var i=0;i<_7Q;i++){this._3Q[i]=this._4Q[i]=this._2Q[i]=0;}for(var i=0;i<_7Q;i++){var key=this._8Q[i];this._3Q[key]|=_VP[i];this._4Q[key]|=_XP[i];this._2Q[key]|=_UP[i];_ld3|=_VP[i];_md3|=_UP[i];_nd3|=_XP[i];_VP[i]=0;_XP[i]=0;}this._3Q[1]=_ld3;this._2Q[1]=_md3;this._4Q[1]=_nd3;this._3Q[0]=_ld3^1;this._2Q[0]=_md3^1;this._4Q[0]=_nd3^1;_0Q=_1Q=0;if(_Kb3>0){_0Q=1;}else if(_Kb3<0){_1Q=1;
}_Kb3=0;for(var i=0;i<=_Cb3;i++){this._Fd[i]=false;this._Jd[i]=false;}this._Ac3=false;this._zc3=false;this._0f();var _9f;if(!_x2._af){_9f=_bf;}else {_9f=_x2._cf;}var _df;for(var _14=0;_14<=7;++_14){_df=_9f[_14];if(_df&&_df.visible){g_pBuiltIn.mouse_x=_df._kf(_yf._5Q,_yf._6Q);g_pBuiltIn.mouse_y=_df._lf(_yf._5Q,_yf._6Q);break;}}for(var _14=7;_14>=0;_14--){_df=_9f[_14];if(_df&&_df.visible){_ef(canvas,_ff);if(((this._5Q-_ff.left)>=_df._gf)&&((this._5Q-_ff.left)<_df._hf)&&((this._6Q-_ff.top)>=_df._if)&&((this._6Q-_ff.top)<_df._jf)){
g_pBuiltIn.mouse_x=_df._kf(_yf._5Q,_yf._6Q);g_pBuiltIn.mouse_y=_df._lf(_yf._5Q,_yf._6Q);break;}}}}function _od3(){_yf._Xc3();_yf._Zc3();_yf._0d3();}function _pd3(index){this._Sn1=0;this.index=index;this.x=0;this.y=0;this._C5=0;this._D5=0;this.w=0;this.h=0;this._04=0;this._14=0;this.key=0;this.button=0;}function _Rn1(){for(var _K5=0;_K5<_Vn1.length;++_K5){if(_Vn1[_K5]._Sn1==0){return _Vn1[_K5];}}var i=_Vn1.length;_Vn1[i]=new _pd3(i);return _Vn1[i];}function _Wn1(_qd3){_Vn1[_qd3]._Sn1=0;}function _rd3(){for(var _K5=0;
_K5<_Vn1.length;++_K5){_Vn1[_K5]._Sn1=0;}}_SL2.prototype._sd3=function(){_uE();_XJ();var _YJ=[];_YJ[0]=1;_YJ[1]=0;_YJ[2]=0;_YJ[3]=1;_YJ[4]=0;_YJ[5]=0;_j33(_YJ);var _4G=draw_get_alpha();var _td3=draw_get_color();draw_set_color(0xffffff);for(var _K5=0;_K5<_Yn1.length;++_K5){var _JN=_Yn1[_K5];draw_rectangle(_JN.x,_JN.y,_JN.x+_JN.w-1,_JN.y+_JN.h-1,true);}draw_set_color(_td3);draw_set_alpha(_4G);_3K();};function _Gj(){this._ud3=[];this._Zj=[];this._Hj=false;this.length=0;this._u7=0;}_Gj.prototype._lL2=function(){
if(this._ud3.length==0){return this._Zj.length;}return this._ud3.pop();};_Gj.prototype._Ke=function(_aU2){var index;if(this._Hj){index=this._Zj.length;}else {index=this._lL2();}this._Zj[index]=_aU2;this._u7++;this.length=this._Zj.length;return index;};_Gj.prototype._I4=function(_EV){if(_EV<0||_EV>=this._Zj.length)return null;return this._Zj[_EV];};_Gj.prototype._zT=function(_cU2){for(var _K5=0;_K5<this._Zj.length;_K5++){if(this._Zj[_K5]==_cU2)return _K5;}};_Gj.prototype._3S=function(_cU2){for(var _K5=0;_K5<this._Zj.length;
_K5++){if(this._Zj[_K5]==_cU2){if(this._Hj){this._Zj.splice(_K5,1);}else {this._Zj[_K5]=null;this._ud3.push(_K5);}this._u7--;this.length=this._Zj.length;return true;}}return false;};_Gj.prototype._vi=function(_EV){if(_EV<0||_EV>=this._Zj.length)return false;if(this._Hj){this._Zj.splice(_EV,1);}else {this._Zj[_EV]=null;this._ud3.push(_EV);}this._u7--;this.length=this._Zj.length;return true;};_Gj.prototype.__e=function(){var _Zj=this._Zj;for(var i=0;i<_Zj.length;i++){var _14=_Zj[i];if(_14!=null&&_14.Object!==undefined)switch(_14._1k){
case _Qj:ds_map_destroy(_14.Object);break;case _Sj:ds_list_destroy(_14.Object);break;}}this._Zj=[];this._ud3=[];this._u7=0;this.length=this._Zj.length;};_Gj.prototype._Vj=function(_N2,_F2){if(_N2<0||_N2>this._Zj.length)return;for(var i=0;i<this._ud3.length;i++){if(this._ud3[i]>=_N2){this._ud3[i]++;}}this._Zj.splice(_N2,0,_F2);this._u7++;this.length=this._Zj.length;};_Gj.prototype.Set=function(_N2,_F2){if(_N2<0||_N2>=this._Zj.length)return;this._Zj[_N2]=_F2;};_Gj.prototype._Yj=function(_N2,_F2){if(_N2<0||_N2>=this._Zj.length){
_L3("ds_list_replace :: Trying to access an out-of-bounds index [| "+_N2+"]");return;}this._Zj[_N2]=_F2;};_Gj.prototype._Tj=function(_N2,_F2){if(_N2<0){_L3("index is negative "+_N2);return _F2;}if(_N2>=this._Zj.length){var _K5=this._Zj.length;while(_N2>=_K5){this._Ke(0);++_K5;}}var _u3=this._Zj[_N2];this._Zj[_N2]=_F2;return _u3;};_Gj.prototype._vd3=function(_wd3){if(_wd3){this._Zj.sort(function(_l3,_k3){return _l3-_k3;});}else {this._Zj.sort(function(_l3,_k3){return _k3-_l3;});}this._ud3=[];for(var i=0;
i<this._Zj.length;i++){if(this._Zj[i]==null||this._Zj[i]==undefined){this._ud3.push(i);}}};_Gj.prototype._xd3=function(){this._Zj.sort(function(){return 0.5-Math.random();});};_Gj.prototype._3k=function(){var _yd3=this._Zj.length,_zd3,_Ad3;while(0!==_yd3){_Ad3=Math.floor(Math.random()*_yd3);_yd3-=1;_zd3=this._Zj[_yd3];this._Zj[_yd3]=this._Zj[_Ad3];this._Zj[_Ad3]=_zd3;}};_Gj.prototype._ri=function(_si){this._Zj=_si._Zj.slice();this._ud3=_si._ud3.slice();this._Hj=_si._Hj;this.length=_si.length;this._u7=_si._u7;
};var _Bd3=0,_Cd3=1,_Dd3=2,_Ed3=3,_Fd3=4,_Gd3=5;var _Hd3=0,_Id3=1,_Jd3=2,_Kd3=3,_Ld3=4,_Md3=5;function _Nd3(){this._gg1=true;this._Od3=[];for(var i=0;i<_Md3;i++){this._Od3[i]=_Bd3;}this.width=0;this.height=0;this._hO=-1;this._Pd3=0;this._Qd3=0.0;this._Rd3=0.0;this._F8=[];this.uvs=[];}_Nd3.prototype._oJ=function(_Sd3,_q7,_r7,_u2,_x3){this._Od3=[];for(var i=0;i<_Md3;i++){this._Od3[i]=_Sd3[i];}this.width=_q7;this.height=_r7;this._hO=_u2;this._Pd3=_x3;this._F8=[];this.uvs=[];this._gg1=false;};_Nd3.prototype._Td3=function(_u4,
_v4,_Vb,_Wb){var _Ud3=this._F8.length;this._F8[_Ud3]=_u4;this._F8[_Ud3+1]=_v4;this.uvs[_Ud3]=_Vb;this.uvs[_Ud3+1]=_Wb;};/*@constructor */function _eg1(_dU2){this.__type="[NineSliceData]";this.__yyIsGMLObject=true;this.pName="nineslicedata";if((_dU2!=null)&&(_dU2!=undefined)){this.left=_dU2.nLeft;this.top=_dU2.nTop;this.right=_dU2.nRight;this.bottom=_dU2.nBottom;this.enabled=_dU2.nEnabled;this._Od3=[];for(i=0;i<_Md3;i++){this._Od3[i]=_dU2.nTilemode[i];}}else {this.left=0;this.top=0;this.right=0;this.bottom=0;
this.enabled=false;this._Od3=[];for(i=0;i<_Md3;i++){this._Od3[i]=_Bd3;}}this._t7=new _Nd3();Object.defineProperties(this,{gmlleft:{enumerable:true,get :function(){return this.left;},set :function(_F2){this.left=yyGetInt32(_F2);this._t7._gg1=true;}},gmltop:{enumerable:true,get :function(){return this.top;},set :function(_F2){this.top=yyGetInt32(_F2);this._t7._gg1=true;}},gmlright:{enumerable:true,get :function(){return this.right;},set :function(_F2){this.right=yyGetInt32(_F2);this._t7._gg1=true;}},gmlbottom:{
enumerable:true,get :function(){return this.bottom;},set :function(_F2){this.bottom=yyGetInt32(_F2);this._t7._gg1=true;}},gmlenabled:{enumerable:true,get :function(){return this.enabled;},set :function(_F2){this.enabled=yyGetBool(_F2);this._t7._gg1=true;}},gmltilemode:{enumerable:true,get :function(){return this._Od3;},set :function(_F2){if(_F2 instanceof Array){this._Od3=_F2;}else {throw new Error("value must be an array of tilemodes");}}},});}_eg1.prototype.toString=function(){return yyGetString(this);};_eg1.prototype._Vd3=function(_F2){
this.left=_F2;this._t7._gg1=true;};_eg1.prototype._Wd3=function(_F2){this.top=_F2;this._t7._gg1=true;};_eg1.prototype._Xd3=function(_F2){this.right=_F2;this._t7._gg1=true;};_eg1.prototype._Yd3=function(_F2){this.bottom=_F2;this._t7._gg1=true;};_eg1.prototype._3G1=function(_Zd3){this.enabled=_Zd3;this._t7._gg1=true;};_eg1.prototype.__d3=function(_0e3,_Eq){this._Od3[_0e3]=_Eq;this._t7._gg1=true;};_eg1.prototype._1e3=function(){return this.left;};_eg1.prototype._2e3=function(){return this.top;};_eg1.prototype._3e3=function(){
return this.right;};_eg1.prototype._4e3=function(){return this.bottom;};_eg1.prototype._I93=function(){return this.enabled;};_eg1.prototype._5e3=function(_0e3){return this._Od3[_0e3];};_eg1.prototype._6e3=function(_q7,_r7,_x3,_u2){if(!_i7)return;var _0F=_u2;if(_0F==null){return;}this._t7._oJ(this._Od3,_q7,_r7,_u2,_x3);var i;var _vv2=[];var _Tv2=[];var XOffset=0.0;var YOffset=0.0;var CropWidth=_0F.width;var CropHeight=_0F.height;var _7e3=0;var _8e3=0;var _Mb=_0F._G3[_x3];var _K7=_Mb.texture;if(!_K7.complete)return;
XOffset=_Mb.XOffset;YOffset=_Mb.YOffset;CropWidth=_Mb.CropWidth;CropHeight=_Mb.CropHeight;_7e3=_Mb.x;_8e3=_Mb.y;var _9e3=CropWidth/_Mb.w;var _ae3=CropHeight/_Mb.h;var _be3=this.left;var _ce3=(_0F.width-this.right)-this.left;var _de3=this.right;var _ee3=this.top;var _fe3=(_0F.height-this.bottom)-this.top;var _ge3=this.bottom;var _he3=(_q7<0)?1:0;var _ie3=(_r7<0)?1:0;var _je3=(_he3^_ie3)?true:false;var _ke3=1.0;var _le3=1.0;if(_he3){_q7=-_q7;_ke3=-1.0;}if(_ie3){_r7=-_r7;_le3=-1.0;}var _me3=(_q7-_be3-_de3)/_ce3;
var _ne3=(_r7-_ee3-_ge3)/_fe3;if(_q7<_be3){_be3=_q7;_de3=0.0;_me3=0.0;}else if(_q7<(_be3+_de3)){_de3=(_q7-_be3);_me3=0.0;}if(_r7<_ee3){_ee3=_r7;_ge3=0.0;_ne3=0.0;}else if(_r7<(_ee3+_ge3)){_ge3=(_r7-_ee3);_ne3=0.0;}var _tz=[];var _uz=[];_tz[0]=0.0;_tz[1]=_be3;_tz[2]=_tz[1]+_ce3;_tz[3]=_tz[2]+_de3;_uz[0]=0.0;_uz[1]=_ee3;_uz[2]=_uz[1]+_fe3;_uz[3]=_uz[2]+_ge3;for(i=0;i<4;i++){_vv2[i]=_tz[i];_Tv2[i]=_uz[i];}var xorigin=_0F.xOrigin;var yorigin=_0F.yOrigin;this._t7._Qd3=xorigin*(_q7/_0F.width);this._t7._Rd3=yorigin*(_r7/_0F.height);
this._t7._Qd3*=_ke3;this._t7._Rd3*=_le3;var _dt=_tz[3]-_tz[2];_tz[2]=_tz[1]+((_tz[2]-_tz[1])*_me3);_tz[3]=_tz[2]+_dt;_dt=_uz[3]-_uz[2];_uz[2]=_uz[1]+((_uz[2]-_uz[1])*_ne3);_uz[3]=_uz[2]+_dt;var _oe3=[];_oe3[0]=_Bd3;_oe3[1]=this._Od3[_Id3];_oe3[2]=_Bd3;_oe3[3]=this._Od3[_Hd3];_oe3[4]=this._Od3[_Ld3];_oe3[5]=this._Od3[_Jd3];_oe3[6]=_Bd3;_oe3[7]=this._Od3[_Kd3];_oe3[8]=_Bd3;var x,y;var _pe3=[];var _qe3=[];var _re3=[];var _se3=[];for(y=0;y<3;y++){for(x=0;x<3;x++){var index=(y*3)+x;if(_oe3[index]==_Fd3)continue;
_pe3[0]=_tz[x];_pe3[1]=_tz[x+1];_qe3[0]=_uz[y];_qe3[1]=_uz[y+1];_re3[0]=_vv2[x];_re3[1]=_vv2[x+1];_se3[0]=_Tv2[y];_se3[1]=_Tv2[y+1];if(_re3[1]<=_re3[0])continue;if(_se3[1]<=_se3[0])continue;if(XOffset>_re3[1])continue;if(YOffset>_se3[1])continue;if(_oe3[index]==_Bd3){if(XOffset>_re3[0]){var _te3=(XOffset-_re3[0])/(_re3[1]-_re3[0]);_pe3[0]=_pe3[0]+((_pe3[1]-_pe3[0])*_te3);if(_pe3[0]>=_pe3[1])continue;_re3[0]=XOffset;}if(YOffset>_se3[0]){var _dt=YOffset-_se3[0];var _te3=(YOffset-_se3[0])/(_se3[1]-_se3[0]);
_qe3[0]=_qe3[0]+((_qe3[1]-_qe3[0])*_te3);if(_qe3[0]>=_qe3[1])continue;_se3[0]=YOffset;}_re3[0]-=XOffset;_re3[1]-=XOffset;_se3[0]-=YOffset;_se3[1]-=YOffset;if(_re3[0]>CropWidth)continue;if(_se3[0]>CropHeight)continue;if(_re3[1]>CropWidth){var _te3=(CropWidth-_re3[0])/(_re3[1]-_re3[0]);_pe3[1]=_pe3[0]+((_pe3[1]-_pe3[0])*_te3);if(_pe3[0]>=_pe3[1])continue;_re3[1]=CropWidth;}if(_se3[1]>CropHeight){var _te3=(CropHeight-_se3[0])/(_se3[1]-_se3[0]);_qe3[1]=_qe3[0]+((_qe3[1]-_qe3[0])*_te3);if(_qe3[0]>=_qe3[1])continue;
_se3[1]=CropHeight;}for(i=0;i<2;i++){_re3[i]+=_7e3*_9e3;_se3[i]+=_8e3*_ae3;_re3[i]/=_K7.width*_9e3;_se3[i]/=_K7.height*_ae3;}var _ue3=[];var _ve3=[];_ue3[0]=_ue3[2]=(_pe3[0]*_ke3);_ue3[1]=_ue3[3]=(_pe3[1]*_ke3);_ve3[0]=_ve3[1]=(_qe3[0]*_le3);_ve3[2]=_ve3[3]=(_qe3[1]*_le3);var _we3=[0,1,2,2,1,3];var _xe3=[0,0,1,0,0,1,0,1,1,0,1,1];if(_je3){for(i=5;i>=0;i--){this._t7._Td3(_ue3[_we3[i]],_ve3[_we3[i]],_re3[_xe3[i*2]],_se3[_xe3[i*2+1]]);}}else {for(i=0;i<6;i++){this._t7._Td3(_ue3[_we3[i]],_ve3[_we3[i]],_re3[_xe3[i*2]],
_se3[_xe3[i*2+1]]);}}}else {var _ye3=1;var _ze3=1;if((_oe3[index]==_Cd3)||(_oe3[index]==_Dd3))_ye3=Math.ceil((_pe3[1]-_pe3[0])/(_re3[1]-_re3[0]));if((_oe3[index]==_Cd3)||(_oe3[index]==_Dd3))_ze3=Math.ceil((_qe3[1]-_qe3[0])/(_se3[1]-_se3[0]));var _Ae3,_Be3;if(_oe3[index]==_Bd3)_Ae3=_pe3[1]-_pe3[0];else _Ae3=_re3[1]-_re3[0];if(_oe3[index]==_Bd3)_Be3=_qe3[1]-_qe3[0];else _Be3=_se3[1]-_se3[0];var _Ce3=[];var _De3=[];var _Ee3=[];var _Fe3=[];_Ce3[0]=0.0;_Ce3[1]=_Ae3;_De3[0]=0.0;_De3[1]=_Be3;_Ee3[0]=_re3[0];_Ee3[1]=_re3[1];
_Fe3[0]=_se3[0];_Fe3[1]=_se3[1];if(XOffset>_Ee3[0]){var _te3=(XOffset-_Ee3[0])/(_Ee3[1]-_Ee3[0]);_Ce3[0]=_Ce3[0]+((_Ce3[1]-_Ce3[0])*_te3);if(_Ce3[0]>=_Ce3[1])continue;_Ee3[0]=XOffset;}if(YOffset>_Fe3[0]){var _te3=(YOffset-_Fe3[0])/(_Fe3[1]-_Fe3[0]);_De3[0]=_De3[0]+((_De3[1]-_De3[0])*_te3);if(_De3[0]>=_De3[1])continue;_Fe3[0]=YOffset;}_Ee3[0]-=XOffset;_Ee3[1]-=XOffset;_Fe3[0]-=YOffset;_Fe3[1]-=YOffset;if(_Ee3[0]>CropWidth)continue;if(_Fe3[0]>CropHeight)continue;if(_Ee3[1]>CropWidth){var _te3=(CropWidth-_Ee3[0])/(_Ee3[1]-_Ee3[0]);
_Ce3[1]=_Ce3[0]+((_Ce3[1]-_Ce3[0])*_te3);if(_Ce3[0]>=_Ce3[1])continue;_Ee3[1]=CropWidth;}if(_Fe3[1]>CropHeight){var _te3=(CropHeight-_Fe3[0])/(_Fe3[1]-_Fe3[0]);_De3[1]=_De3[0]+((_De3[1]-_De3[0])*_te3);if(_De3[0]>=_De3[1])continue;_Fe3[1]=CropHeight;}var _Ge3;for(_Ge3=0;_Ge3<_ze3;_Ge3++){var _EG=_qe3[0]+(_Be3*_Ge3);var _rl2=[];var _He3=[];if((_oe3[index]==_Dd3)&&(_Ge3&1)){_rl2[0]=_Be3-_De3[1];_rl2[1]=_Be3-_De3[0];_He3[0]=_Fe3[1];_He3[1]=_Fe3[0];}else {_rl2[0]=_De3[0];_rl2[1]=_De3[1];_He3[0]=_Fe3[0];_He3[1]=_Fe3[1];
}_rl2[0]+=_EG;_rl2[1]+=_EG;if(_rl2[1]>_qe3[1]){var _te3=(_qe3[1]-_rl2[0])/(_rl2[1]-_rl2[0]);_He3[1]=_He3[0]+((_He3[1]-_He3[0])*_te3);_rl2[1]=_qe3[1];}for(i=0;i<2;i++){_He3[i]+=_8e3*_ae3;_He3[i]/=_K7.height*_ae3;}var _Ie3;for(_Ie3=0;_Ie3<_ye3;_Ie3++){var _7i=_pe3[0]+(_Ae3*_Ie3);var _ql2=[];var _Je3=[];if((_oe3[index]==_Dd3)&&(_Ie3&1)){_ql2[0]=_Ae3-_Ce3[1];_ql2[1]=_Ae3-_Ce3[0];_Je3[0]=_Ee3[1];_Je3[1]=_Ee3[0];}else {_ql2[0]=_Ce3[0];_ql2[1]=_Ce3[1];_Je3[0]=_Ee3[0];_Je3[1]=_Ee3[1];}_ql2[0]+=_7i;_ql2[1]+=_7i;
if(_ql2[1]>_pe3[1]){var _te3=(_pe3[1]-_ql2[0])/(_ql2[1]-_ql2[0]);_Je3[1]=_Je3[0]+((_Je3[1]-_Je3[0])*_te3);_ql2[1]=_pe3[1];}for(i=0;i<2;i++){_Je3[i]+=_7e3*_9e3;_Je3[i]/=_K7.width*_9e3;}var _ue3=[];var _ve3=[];_ue3[0]=_ue3[2]=(_ql2[0]*_ke3);_ue3[1]=_ue3[3]=(_ql2[1]*_ke3);_ve3[0]=_ve3[1]=(_rl2[0]*_le3);_ve3[2]=_ve3[3]=(_rl2[1]*_le3);var _we3=[0,1,2,2,1,3];var _xe3=[0,0,1,0,0,1,0,1,1,0,1,1];if(_je3){for(i=5;i>=0;i--){this._t7._Td3(_ue3[_we3[i]],_ve3[_we3[i]],_Je3[_xe3[i*2]],_He3[_xe3[i*2+1]]);}}else {for(i=0;
i<6;i++){this._t7._Td3(_ue3[_we3[i]],_ve3[_we3[i]],_Je3[_xe3[i*2]],_He3[_xe3[i*2+1]]);}}}}}}}};_eg1.prototype._Ke3=function(_u4,_v4,_C3,_Tb,_y8,_u2,_Le3){if(!_i7)return;var _Mb=_u2._G3[this._t7._Pd3];var _K7=_Mb.texture;if(!_K7.complete)return;if(_i7)if(!_K7._R7)_Q7(_Mb);var i;_Tb&=0xffffff;var _l3=(_y8*255.0)<<24;var _7c=_l3|_Tb;var _Me3=_Ob/3;var _Ne3=(this._t7._F8.length/2)/3;var _Oe3=this._t7._F8;var _Pe3=this._t7.uvs;var _Qe3=0;if(_C3==0.0){var _Re3=_u4;var _Se3=_v4;if(!_Le3){_Re3-=this._t7._Qd3;_Se3-=this._t7._Rd3;
}while(_Ne3>0){var _Te3=(_Ne3<_Me3)?_Ne3:_Me3;_Ne3-=_Te3;var _Ue3=_i7._H9(_d9._I9,_K7._R7,_i7._J9,_Te3*3);var _K9=_Ue3._L9()>>2;var bindex=_K9*_Ue3._M9;_Ue3._M9+=_Te3*3;var _N9=_Ue3._O9;var _P9=_Ue3._Q9;var _R9=_Ue3._S9;for(;_Te3>0;_Te3--){_N9[bindex+0]=_Oe3[_Qe3]+_Re3;_N9[bindex+1]=_Oe3[_Qe3+1]+_Se3;_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_Pe3[_Qe3];_R9[bindex+1]=_Pe3[_Qe3+1];bindex+=_K9;_Qe3+=2;_N9[bindex+0]=_Oe3[_Qe3]+_Re3;_N9[bindex+1]=_Oe3[_Qe3+1]+_Se3;_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_Pe3[_Qe3];
_R9[bindex+1]=_Pe3[_Qe3+1];bindex+=_K9;_Qe3+=2;_N9[bindex+0]=_Oe3[_Qe3]+_Re3;_N9[bindex+1]=_Oe3[_Qe3+1]+_Se3;_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_Pe3[_Qe3];_R9[bindex+1]=_Pe3[_Qe3+1];bindex+=_K9;_Qe3+=2;}}}else {var _Ve3=new _Dy();var _We3=new _Dy();var _Xe3=new _Dy();_Ve3._yA();_We3._yA();if(_Le3){_Ve3._3A(_C3);}else {_Ve3.__z(-this._t7._Qd3,-this._t7._Rd3,0.0);_We3._3A(_C3);_Xe3.Multiply(_Ve3,_We3);_Ve3=new _Dy(_Xe3);}_We3._yA();_We3.__z(_u4,_v4,0.0);_Xe3.Multiply(_Ve3,_We3);_Ve3=_Xe3;while(_Ne3>0){
var _Te3=(_Ne3<_Me3)?_Ne3:_Me3;_Ne3-=_Te3;var _Ue3=_i7._H9(_d9._I9,_K7._R7,_i7._J9,_Te3*3);var _K9=_Ue3._L9()>>2;var bindex=_K9*_Ue3._M9;_Ue3._M9+=_Te3*3;var _N9=_Ue3._O9;var _P9=_Ue3._Q9;var _R9=_Ue3._S9;for(;_Te3>0;_Te3--){for(i=0;i<3;i++){var _Ye3=_Oe3[_Qe3];var _Ze3=_Oe3[_Qe3+1];_N9[bindex+0]=(_Ve3._z5[_9A]*_Ye3)+(_Ve3._z5[_aA]*_Ze3)+_Ve3._z5[_cA];_N9[bindex+1]=(_Ve3._z5[_dA]*_Ye3)+(_Ve3._z5[_4z]*_Ze3)+_Ve3._z5[_fA];_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_Pe3[_Qe3];_R9[bindex+1]=_Pe3[_Qe3+1];
bindex+=_K9;_Qe3+=2;}}}}};_eg1.prototype.__e3=function(_u4,_v4,_q7,_r7,_C3,_Tb,_y8,_x3,_u2,_Le3){if(_i7){var _0f3=false;for(var i=0;i<_Md3;i++){if(this._t7._Od3[i]!=this._Od3[i]){_0f3=true;break;}}if((this._t7._gg1)||(this._t7.width!=_q7)||(this._t7.height!=_r7)||(_0f3==true)||(this._t7._hO!=_u2)||(this._t7._Pd3!=_x3)){this._6e3(_q7,_r7,_x3,_u2);}this._Ke3(_u4,_v4,_C3,_Tb,_y8,_u2,_Le3);return;}var i;var _vv2=[];var _Tv2=[];var XOffset=0.0;var YOffset=0.0;var CropWidth=_u2.width;var CropHeight=_u2.height;
var _7e3=0;var _8e3=0;var _Mb=_u2._G3[_x3];var _K7=_Mb.texture;if(!_K7.complete)return;if(_i7)if(!_K7._R7)_Q7({texture:_K7});XOffset=_Mb.XOffset;YOffset=_Mb.YOffset;CropWidth=_Mb.CropWidth;CropHeight=_Mb.CropHeight;_7e3=_Mb.x;_8e3=_Mb.y;var _be3=this.left;var _ce3=(_u2.width-this.right)-this.left;var _de3=this.right;var _ee3=this.top;var _fe3=(_u2.height-this.bottom)-this.top;var _ge3=this.bottom;var _he3=(_q7<0)?1:0;var _ie3=(_r7<0)?1:0;var _je3=(_he3^_ie3)?true:false;var _ke3=1.0;var _le3=1.0;if(_he3){_q7=-_q7;
if(_i7){_ke3=-1.0;}}if(_ie3){_r7=-_r7;if(_i7){_le3=-1.0;}}var _me3=(_q7-_be3-_de3)/_ce3;var _ne3=(_r7-_ee3-_ge3)/_fe3;if(_q7<_be3){_be3=_q7;_de3=0.0;_me3=0.0;}else if(_q7<(_be3+_de3)){_de3=(_q7-_be3);_me3=0.0;}if(_r7<_ee3){_ee3=_r7;_ge3=0.0;_ne3=0.0;}else if(_r7<(_ee3+_ge3)){_ge3=(_r7-_ee3);_ne3=0.0;}var _tz=[];var _uz=[];_tz[0]=0.0;_tz[1]=_be3;_tz[2]=_tz[1]+_ce3;_tz[3]=_tz[2]+_de3;_uz[0]=0.0;_uz[1]=_ee3;_uz[2]=_uz[1]+_fe3;_uz[3]=_uz[2]+_ge3;for(i=0;i<4;i++){_vv2[i]=_tz[i];_Tv2[i]=_uz[i];}var xorigin=_u2.xOrigin;
var yorigin=_u2.yOrigin;var _Qd3;var _Rd3;_Qd3=xorigin*(_q7/_u2.width);_Rd3=yorigin*(_r7/_u2.height);_Qd3*=_ke3;_Rd3*=_le3;var _dt=_tz[3]-_tz[2];_tz[2]=_tz[1]+((_tz[2]-_tz[1])*_me3);_tz[3]=_tz[2]+_dt;_dt=_uz[3]-_uz[2];_uz[2]=_uz[1]+((_uz[2]-_uz[1])*_ne3);_uz[3]=_uz[2]+_dt;var _oe3=[];_oe3[0]=_Bd3;_oe3[1]=this._Od3[_Id3];_oe3[2]=_Bd3;_oe3[3]=this._Od3[_Hd3];_oe3[4]=this._Od3[_Ld3];_oe3[5]=this._Od3[_Jd3];_oe3[6]=_Bd3;_oe3[7]=this._Od3[_Kd3];_oe3[8]=_Bd3;var _Ve3=undefined;if((_C3!=0.0)||(!_i7&&(_he3||_ie3))){
_Ve3=new _Dy();var _We3=new _Dy();var _Xe3=new _Dy();_Ve3._yA();_We3._yA();_Ve3.__z(-_Qd3,-_Rd3,0.0);_We3._3A(_C3);_Xe3.Multiply(_Ve3,_We3);_Ve3=new _Dy(_Xe3);_We3._yA();_We3.__z(_u4,_v4,0.0);_Xe3.Multiply(_Ve3,_We3);if(_i7||(!_he3&&!_ie3))_Ve3=_Xe3;else {_We3._0A(_he3?-1.0:1.0,_ie3?-1.0:1.0,1.0);_Ve3.Multiply(_We3,_Xe3);}}else {_Ve3=new _Dy();_Ve3.__z(-_Qd3+_u4,-_Rd3+_v4,0.0);}_Tb&=0xffffff;var _l3=(_y8*255.0)<<24;var _7c=_l3|_Tb;var _633=undefined;if(!_i7){_s53(_Ve3);_59.globalAlpha=_y8;if(_Tb!=_P8){_633=_Q8(_Mb,
_Tb);}}var x,y;var _pe3=[];var _qe3=[];var _re3=[];var _se3=[];for(y=0;y<3;y++){for(x=0;x<3;x++){var index=(y*3)+x;if(_oe3[index]==_Fd3)continue;_pe3[0]=_tz[x];_pe3[1]=_tz[x+1];_qe3[0]=_uz[y];_qe3[1]=_uz[y+1];_re3[0]=_vv2[x];_re3[1]=_vv2[x+1];_se3[0]=_Tv2[y];_se3[1]=_Tv2[y+1];if(_re3[1]<=_re3[0])continue;if(_se3[1]<=_se3[0])continue;if(XOffset>_re3[1])continue;if(YOffset>_se3[1])continue;if(_oe3[index]==_Bd3){if(XOffset>_re3[0]){var _te3=(XOffset-_re3[0])/(_re3[1]-_re3[0]);_pe3[0]=_pe3[0]+((_pe3[1]-_pe3[0])*_te3);
if(_pe3[0]>=_pe3[1])continue;_re3[0]=XOffset;}if(YOffset>_se3[0]){var _dt=YOffset-_se3[0];var _te3=(YOffset-_se3[0])/(_se3[1]-_se3[0]);_qe3[0]=_qe3[0]+((_qe3[1]-_qe3[0])*_te3);if(_qe3[0]>=_qe3[1])continue;_se3[0]=YOffset;}_re3[0]-=XOffset;_re3[1]-=XOffset;_se3[0]-=YOffset;_se3[1]-=YOffset;if(_re3[0]>CropWidth)continue;if(_se3[0]>CropHeight)continue;if(_re3[1]>CropWidth){var _te3=(CropWidth-_re3[0])/(_re3[1]-_re3[0]);_pe3[1]=_pe3[0]+((_pe3[1]-_pe3[0])*_te3);if(_pe3[0]>=_pe3[1])continue;_re3[1]=CropWidth;
}if(_se3[1]>CropHeight){var _te3=(CropHeight-_se3[0])/(_se3[1]-_se3[0]);_qe3[1]=_qe3[0]+((_qe3[1]-_qe3[0])*_te3);if(_qe3[0]>=_qe3[1])continue;_se3[1]=CropHeight;}for(i=0;i<2;i++){_re3[i]+=_7e3;_se3[i]+=_8e3;}var _ue3=[];var _ve3=[];_ue3[0]=_ue3[2]=(_pe3[0]*_ke3);_ue3[1]=_ue3[3]=(_pe3[1]*_ke3);_ve3[0]=_ve3[1]=(_qe3[0]*_le3);_ve3[2]=_ve3[3]=(_qe3[1]*_le3);if(_i7){for(i=0;i<4;i++){_re3[i]/=_K7.width;_se3[i]/=_K7.height;}for(i=0;i<4;i++){var _Ye3,_Ze3;_Ye3=(_Ve3._z5[_9A]*_ue3[i])+(_Ve3._z5[_aA]*_ve3[i])+_Ve3._z5[_cA];
_Ze3=(_Ve3._z5[_dA]*_ue3[i])+(_Ve3._z5[_4z]*_ve3[i])+_Ve3._z5[_fA];_ue3[i]=_Ye3;_ve3[i]=_Ze3;}var _Ue3=_i7._H9(_d9._I9,_K7._R7,_i7._J9,6);var _K9=_Ue3._L9()>>2;var bindex=_K9*_Ue3._M9;_Ue3._M9+=6;var _N9=_Ue3._O9;var _P9=_Ue3._Q9;var _R9=_Ue3._S9;var _we3=[0,1,2,2,1,3];var _xe3=[0,0,1,0,0,1,0,1,1,0,1,1];if(_je3){for(i=5;i>=0;i--){_N9[bindex+0]=_ue3[_we3[i]];_N9[bindex+1]=_ve3[_we3[i]];_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_re3[_xe3[i*2]];_R9[bindex+1]=_se3[_xe3[i*2+1]];bindex+=_K9;}}else {for(i=0;
i<6;i++){_N9[bindex+0]=_ue3[_we3[i]];_N9[bindex+1]=_ve3[_we3[i]];_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_re3[_xe3[i*2]];_R9[bindex+1]=_se3[_xe3[i*2+1]];bindex+=_K9;}}}else {if(_633!=undefined){_59._sf1(_633,_re3[0]-_7e3,_se3[0]-_8e3,_re3[1]-_re3[0],_se3[1]-_se3[0],_ue3[0],_ve3[0],_ue3[1]-_ue3[0],_ve3[2]-_ve3[0]);}else {_59._sf1(_K7,_re3[0],_se3[0],_re3[1]-_re3[0],_se3[1]-_se3[0],_ue3[0],_ve3[0],_ue3[1]-_ue3[0],_ve3[2]-_ve3[0]);}}}else {var _ye3=1;var _ze3=1;if((_oe3[index]==_Cd3)||(_oe3[index]==_Dd3))_ye3=Math.ceil((_pe3[1]-_pe3[0])/(_re3[1]-_re3[0]));
if((_oe3[index]==_Cd3)||(_oe3[index]==_Dd3))_ze3=Math.ceil((_qe3[1]-_qe3[0])/(_se3[1]-_se3[0]));var _Ae3,_Be3;if(_oe3[index]==_Bd3)_Ae3=_pe3[1]-_pe3[0];else _Ae3=_re3[1]-_re3[0];if(_oe3[index]==_Bd3)_Be3=_qe3[1]-_qe3[0];else _Be3=_se3[1]-_se3[0];var _Ce3=[];var _De3=[];var _Ee3=[];var _Fe3=[];_Ce3[0]=0.0;_Ce3[1]=_Ae3;_De3[0]=0.0;_De3[1]=_Be3;_Ee3[0]=_re3[0];_Ee3[1]=_re3[1];_Fe3[0]=_se3[0];_Fe3[1]=_se3[1];if(XOffset>_Ee3[0]){var _te3=(XOffset-_Ee3[0])/(_Ee3[1]-_Ee3[0]);_Ce3[0]=_Ce3[0]+((_Ce3[1]-_Ce3[0])*_te3);
if(_Ce3[0]>=_Ce3[1])continue;_Ee3[0]=XOffset;}if(YOffset>_Fe3[0]){var _te3=(YOffset-_Fe3[0])/(_Fe3[1]-_Fe3[0]);_De3[0]=_De3[0]+((_De3[1]-_De3[0])*_te3);if(_De3[0]>=_De3[1])continue;_Fe3[0]=YOffset;}_Ee3[0]-=XOffset;_Ee3[1]-=XOffset;_Fe3[0]-=YOffset;_Fe3[1]-=YOffset;if(_Ee3[0]>CropWidth)continue;if(_Fe3[0]>CropHeight)continue;if(_Ee3[1]>CropWidth){var _te3=(CropWidth-_Ee3[0])/(_Ee3[1]-_Ee3[0]);_Ce3[1]=_Ce3[0]+((_Ce3[1]-_Ce3[0])*_te3);if(_Ce3[0]>=_Ce3[1])continue;_Ee3[1]=CropWidth;}if(_Fe3[1]>CropHeight){
var _te3=(CropHeight-_Fe3[0])/(_Fe3[1]-_Fe3[0]);_De3[1]=_De3[0]+((_De3[1]-_De3[0])*_te3);if(_De3[0]>=_De3[1])continue;_Fe3[1]=CropHeight;}var _Ge3;for(_Ge3=0;_Ge3<_ze3;_Ge3++){var _EG=_qe3[0]+(_Be3*_Ge3);var _rl2=[];var _He3=[];var _1f3=false;if((_oe3[index]==_Dd3)&&(_Ge3&1)){_rl2[0]=_Be3-_De3[1];_rl2[1]=_Be3-_De3[0];_He3[0]=_Fe3[1];_He3[1]=_Fe3[0];_1f3=true;}else {_rl2[0]=_De3[0];_rl2[1]=_De3[1];_He3[0]=_Fe3[0];_He3[1]=_Fe3[1];}_rl2[0]+=_EG;_rl2[1]+=_EG;if(_rl2[1]>_qe3[1]){var _te3=(_qe3[1]-_rl2[0])/(_rl2[1]-_rl2[0]);
_He3[1]=_He3[0]+((_He3[1]-_He3[0])*_te3);_rl2[1]=_qe3[1];}for(i=0;i<2;i++){_He3[i]+=_8e3;if(_i7){_He3[i]/=_K7.height;}}var _Ie3;for(_Ie3=0;_Ie3<_ye3;_Ie3++){var _7i=_pe3[0]+(_Ae3*_Ie3);var _ql2=[];var _Je3=[];var _2f3=false;if((_oe3[index]==_Dd3)&&(_Ie3&1)){_ql2[0]=_Ae3-_Ce3[1];_ql2[1]=_Ae3-_Ce3[0];_Je3[0]=_Ee3[1];_Je3[1]=_Ee3[0];_2f3=true;}else {_ql2[0]=_Ce3[0];_ql2[1]=_Ce3[1];_Je3[0]=_Ee3[0];_Je3[1]=_Ee3[1];}_ql2[0]+=_7i;_ql2[1]+=_7i;if(_ql2[1]>_pe3[1]){var _te3=(_pe3[1]-_ql2[0])/(_ql2[1]-_ql2[0]);_Je3[1]=_Je3[0]+((_Je3[1]-_Je3[0])*_te3);
_ql2[1]=_pe3[1];}for(i=0;i<2;i++){_Je3[i]+=_7e3;if(_i7){_Je3[i]/=_K7.width;}}var _ue3=[];var _ve3=[];_ue3[0]=_ue3[2]=(_ql2[0]*_ke3);_ue3[1]=_ue3[3]=(_ql2[1]*_ke3);_ve3[0]=_ve3[1]=(_rl2[0]*_le3);_ve3[2]=_ve3[3]=(_rl2[1]*_le3);if(_i7){for(i=0;i<4;i++){var _Ye3,_Ze3;_Ye3=(_Ve3._z5[_9A]*_ue3[i])+(_Ve3._z5[_aA]*_ve3[i])+_Ve3._z5[_cA];_Ze3=(_Ve3._z5[_dA]*_ue3[i])+(_Ve3._z5[_4z]*_ve3[i])+_Ve3._z5[_fA];_ue3[i]=_Ye3;_ve3[i]=_Ze3;}var _Ue3=_i7._H9(_d9._I9,_K7._R7,_i7._J9,6);var _K9=_Ue3._L9()>>2;var bindex=_K9*_Ue3._M9;
_Ue3._M9+=6;var _N9=_Ue3._O9;var _P9=_Ue3._Q9;var _R9=_Ue3._S9;var _we3=[0,1,2,2,1,3];var _xe3=[0,0,1,0,0,1,0,1,1,0,1,1];if(_je3){for(i=5;i>=0;i--){_N9[bindex+0]=_ue3[_we3[i]];_N9[bindex+1]=_ve3[_we3[i]];_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_Je3[_xe3[i*2]];_R9[bindex+1]=_He3[_xe3[i*2+1]];bindex+=_K9;}}else {for(i=0;i<6;i++){_N9[bindex+0]=_ue3[_we3[i]];_N9[bindex+1]=_ve3[_we3[i]];_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_Je3[_xe3[i*2]];_R9[bindex+1]=_He3[_xe3[i*2+1]];bindex+=_K9;}}}else {
if(_2f3||_1f3){_59._D53(_2f3?-1.0:1.0,0.0,0.0,_1f3?-1.0:1.0,_2f3?_ue3[1]:_ue3[0],_1f3?_ve3[2]:_ve3[0]);if(_633!=undefined){_59._sf1(_633,_Je3[0]-_7e3,_He3[0]-_8e3,_Je3[1]-_Je3[0],_He3[1]-_He3[0],0.0,0.0,_ue3[1]-_ue3[0],_ve3[2]-_ve3[0]);}else {_59._sf1(_K7,_Je3[0],_He3[0],_Je3[1]-_Je3[0],_He3[1]-_He3[0],0.0,0.0,_ue3[1]-_ue3[0],_ve3[2]-_ve3[0]);}_j33();_s53(_Ve3);}else {if(_633!=undefined){_59._sf1(_633,_Je3[0]-_7e3,_He3[0]-_8e3,_Je3[1]-_Je3[0],_He3[1]-_He3[0],_ue3[0],_ve3[0],_ue3[1]-_ue3[0],_ve3[2]-_ve3[0]);
}else {_59._sf1(_K7,_Je3[0],_He3[0],_Je3[1]-_Je3[0],_He3[1]-_He3[0],_ue3[0],_ve3[0],_ue3[1]-_ue3[0],_ve3[2]-_ve3[0]);}}}}}}}}if(!_i7){_j33();}};_eg1.prototype._58=function(_u4,_v4,_q7,_r7,_C3,_Tb,_y8,_x3,_u2,_Le3){if(_Le3==undefined)_Le3=false;var _0F=_u2;if(_0F!=null){if(_0F._I5<=0)return;_x3=(~~_x3)%_0F._I5;if(_x3<0)_x3=_x3+_0F._I5;_Tb=_Ub(_Tb);var i;var _3f3=0;var _4f3=false;for(i=0;i<_Md3;i++){_3f3|=this._Od3[i];}if((_3f3!=_Bd3)){this.__e3(_u4,_v4,_q7,_r7,_C3,_Tb,_y8,_x3,_0F,_Le3);return;}var _vv2=[];
var _Tv2=[];var XOffset=0.0;var YOffset=0.0;var CropWidth=_0F.width;var CropHeight=_0F.height;var _7e3=0;var _8e3=0;var _Mb=_0F._G3[_x3];var _K7=_Mb.texture;if(!_K7.complete)return;if(_i7)if(!_K7._R7)_Q7(_Mb);XOffset=_Mb.XOffset;YOffset=_Mb.YOffset;CropWidth=_Mb.CropWidth;CropHeight=_Mb.CropHeight;_7e3=_Mb.x;_8e3=_Mb.y;var _9e3=CropWidth/_Mb.w;var _ae3=CropHeight/_Mb.h;var _be3=this.left;var _ce3=(_0F.width-this.right)-this.left;var _de3=this.right;var _ee3=this.top;var _fe3=(_0F.height-this.bottom)-this.top;var _ge3=this.bottom;
var _he3=(_q7<0)?1:0;var _ie3=(_r7<0)?1:0;var _je3=(_he3^_ie3)?true:false;var _ke3=1.0;var _le3=1.0;if(_he3){_q7=-_q7;if(_i7){_ke3=-1.0;}}if(_ie3){_r7=-_r7;if(_i7){_le3=-1.0;}}var _me3=(_q7-_be3-_de3)/_ce3;var _ne3=(_r7-_ee3-_ge3)/_fe3;if(_q7<_be3){_be3=_q7;_de3=0.0;_me3=0.0;}else if(_q7<(_be3+_de3)){_de3=(_q7-_be3);_me3=0.0;}if(_r7<_ee3){_ee3=_r7;_ge3=0.0;_ne3=0.0;}else if(_r7<(_ee3+_ge3)){_ge3=(_r7-_ee3);_ne3=0.0;}var _tz=[];var _uz=[];_tz[0]=0.0;_tz[1]=_be3;_tz[2]=_tz[1]+_ce3;_tz[3]=_tz[2]+_de3;_uz[0]=0.0;
_uz[1]=_ee3;_uz[2]=_uz[1]+_fe3;_uz[3]=_uz[2]+_ge3;var _Qd3;var _Rd3;var xorigin;var yorigin;if(_Le3){xorigin=0;yorigin=0;}else {xorigin=_0F.xOrigin;yorigin=_0F.yOrigin;}_Qd3=xorigin*(_q7/_0F.width);_Rd3=yorigin*(_r7/_0F.height);_Qd3*=_ke3;_Rd3*=_le3;if(XOffset>0){for(i=0;i<4;i++){if(_tz[i]<XOffset){_tz[i]=XOffset;}}}if(YOffset>0){for(i=0;i<4;i++){if(_uz[i]<YOffset){_uz[i]=YOffset;}}}if(_0F.width>(XOffset+CropWidth)){var _5f3=XOffset+CropWidth;for(i=0;i<4;i++){if(_tz[i]>_5f3){_tz[i]=_5f3;}}}if(_0F.height>(YOffset+CropHeight)){
var _5f3=YOffset+CropHeight;for(i=0;i<4;i++){if(_uz[i]>_5f3){_uz[i]=_5f3;}}}for(i=0;i<4;i++){_vv2[i]=_tz[i]-XOffset;_Tv2[i]=_uz[i]-YOffset;_vv2[i]+=_7e3*_9e3;_Tv2[i]+=_8e3*_ae3;}var _dt=_tz[3]-_tz[2];_tz[2]=_tz[1]+((_tz[2]-_tz[1])*_me3);_tz[3]=_tz[2]+_dt;_dt=_uz[3]-_uz[2];_uz[2]=_uz[1]+((_uz[2]-_uz[1])*_ne3);_uz[3]=_uz[2]+_dt;var _ue3=[];var _ve3=[];_ue3[0]=_ue3[4]=_ue3[8]=_ue3[12]=(_tz[0]*_ke3);_ue3[1]=_ue3[5]=_ue3[9]=_ue3[13]=(_tz[1]*_ke3);_ue3[2]=_ue3[6]=_ue3[10]=_ue3[14]=(_tz[2]*_ke3);_ue3[3]=_ue3[7]=_ue3[11]=_ue3[15]=(_tz[3]*_ke3);
_ve3[0]=_ve3[1]=_ve3[2]=_ve3[3]=(_uz[0]*_le3);_ve3[4]=_ve3[5]=_ve3[6]=_ve3[7]=(_uz[1]*_le3);_ve3[8]=_ve3[9]=_ve3[10]=_ve3[11]=(_uz[2]*_le3);_ve3[12]=_ve3[13]=_ve3[14]=_ve3[15]=(_uz[3]*_le3);var _Ve3=undefined;if((_C3!=0.0)||(!_i7&&(_he3||_ie3))){_Ve3=new _Dy();var _We3=new _Dy();var _Xe3=new _Dy();_Ve3._yA();_We3._yA();_Ve3.__z(-_Qd3,-_Rd3,0.0);_We3._3A(_C3);_Xe3.Multiply(_Ve3,_We3);_Ve3=new _Dy(_Xe3);_We3._yA();_We3.__z(_u4,_v4,0.0);_Xe3.Multiply(_Ve3,_We3);if(_i7||(!_he3&&!_ie3))_Ve3=_Xe3;else {_We3._0A(_he3?-1.0:1.0,
_ie3?-1.0:1.0,1.0);_Ve3.Multiply(_We3,_Xe3);}}else {var _Re3=-_Qd3+_u4;var _Se3=-_Rd3+_v4;for(i=0;i<16;i++){var _Ye3,_Ze3;_Ye3=_ue3[i]+_Re3;_Ze3=_ve3[i]+_Se3;_ue3[i]=_Ye3;_ve3[i]=_Ze3;}}if(_i7){for(i=0;i<4;i++){_vv2[i]/=_K7.width*_9e3;_Tv2[i]/=_K7.height*_ae3;}if(_C3!=0.0){for(i=0;i<16;i++){var _Ye3,_Ze3;_Ye3=(_Ve3._z5[_9A]*_ue3[i])+(_Ve3._z5[_aA]*_ve3[i])+_Ve3._z5[_cA];_Ze3=(_Ve3._z5[_dA]*_ue3[i])+(_Ve3._z5[_4z]*_ve3[i])+_Ve3._z5[_fA];_ue3[i]=_Ye3;_ve3[i]=_Ze3;}}var _Ue3=_i7._H9(_d9._I9,_K7._R7,_i7._J9,
54);var _K9=_Ue3._L9()>>2;var bindex=_K9*_Ue3._M9;_Ue3._M9+=54;var _N9=_Ue3._O9;var _P9=_Ue3._Q9;var _R9=_Ue3._S9;var _l3=(_y8*255.0)<<24;var _7c=_l3|(_Tb&0xffffff);var _we3=[0,1,4,4,1,5,1,2,5,5,2,6,2,3,6,6,3,7,4,5,8,8,5,9,5,6,9,9,6,10,6,7,10,10,7,11,8,9,12,12,9,13,9,10,13,13,10,14,10,11,14,14,11,15];var _xe3=[0,0,1,0,0,1,0,1,1,0,1,1,1,0,2,0,1,1,1,1,2,0,2,1,2,0,3,0,2,1,2,1,3,0,3,1,0,1,1,1,0,2,0,2,1,1,1,2,1,1,2,1,1,2,1,2,2,1,2,2,2,1,3,1,2,2,2,2,3,1,3,2,0,2,1,2,0,3,0,3,1,2,1,3,1,2,2,2,1,3,1,3,2,2,2,3,2,2,3,
2,2,3,2,3,3,2,3,3,];if(_je3){for(i=53;i>=0;i--){_N9[bindex+0]=_ue3[_we3[i]];_N9[bindex+1]=_ve3[_we3[i]];_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_vv2[_xe3[i*2]];_R9[bindex+1]=_Tv2[_xe3[i*2+1]];bindex+=_K9;}}else {for(i=0;i<54;i++){_N9[bindex+0]=_ue3[_we3[i]];_N9[bindex+1]=_ve3[_we3[i]];_N9[bindex+2]=_X9;_P9[bindex]=_7c;_R9[bindex+0]=_vv2[_xe3[i*2]];_R9[bindex+1]=_Tv2[_xe3[i*2+1]];bindex+=_K9;}}}else {_59.globalAlpha=_y8;if(_Tb!=_P8){var _633=_Q8(_Mb,_Tb);if(_Ve3!=undefined){_s53(_Ve3);}var _6f3,
_7f3;for(_7f3=0;_7f3<3;_7f3++){for(_6f3=0;_6f3<3;_6f3++){_59._sf1(_633,_vv2[_6f3]-_7e3,_Tv2[_7f3]-_8e3,_vv2[_6f3+1]-_vv2[_6f3],_Tv2[_7f3+1]-_Tv2[_7f3],_ue3[_6f3],_ve3[_7f3*4],_ue3[_6f3+1]-_ue3[_6f3],_ve3[_7f3*4+4]-_ve3[_7f3*4]);}}if(_Ve3!=undefined){_j33();}}else {if(_Ve3!=undefined){_s53(_Ve3);}var _6f3,_7f3;for(_7f3=0;_7f3<3;_7f3++){for(_6f3=0;_6f3<3;_6f3++){_59._sf1(_K7,_vv2[_6f3],_Tv2[_7f3],_vv2[_6f3+1]-_vv2[_6f3],_Tv2[_7f3+1]-_Tv2[_7f3],_ue3[_6f3],_ve3[_7f3*4],_ue3[_6f3+1]-_ue3[_6f3],_ve3[_7f3*4+4]-_ve3[_7f3*4]);
}}if(_Ve3!=undefined){_j33();}}}}};var _k93=0,_m93=1,_n93=2;function _8f3(){this._9f3=null;this._af3=0;this._bf3=null;}function _cf3(){this._9f3=null;this._df3=false;this._Gk=null;}function _ef3(){this.physicsObject=false;}function _ff3(_gf3,_R2){this.__type="[Object]";this._Df=0;this._IP=_gf3;this.__E=_R2;this._b01=-1;this._wP=0;this._901=0;this._601=false;this._701=false;this._a01=false;this._GP=0;this._dE=null;this._hf3=-1;this._IM2=false;this._Mz2=new _Gj();this._bb3=new _Gj();this._Mz2._Hj=true;this._bb3._Hj=true;
this._if3=[];for(var _l3=0;_l3<_0A2;_l3++){this._if3[_l3]=null;}this._jf3=[];this._kf3=[];this._lf3=[];this._KM2=[];this.Triggers=[];this.Event=[];this._5z2=[];this._c01=new _ef3();}_ff3.prototype._RY=function(){return this._Mz2._Zj;};_ff3.prototype._h41=function(){return this._bb3._Zj;};function _TM2(_mf3,_nf3){var _FF=new _ff3(_mf3,_nf3.pName);{if(_nf3.spriteIndex!=undefined)_FF._wP=_nf3.spriteIndex;if(_nf3.visible!=undefined)_FF._701=_nf3.visible;if(_nf3.solid!=undefined)_FF._601=_nf3.solid;if(_nf3.depth!=undefined)_FF._901=_nf3.depth;
if(_nf3.persistent!=undefined)_FF._a01=_nf3.persistent;if(_nf3.parent!=undefined)_FF._GP=_nf3.parent;if(_nf3.spritemask!=undefined)_FF._b01=_nf3.spritemask;if(_nf3.PreCreateEvent){_FF.PreCreateEvent=_nf3.PreCreateEvent;_FF.Event[_6m]=true;}if(_nf3.CreateEvent){_FF.CreateEvent=_nf3.CreateEvent;_FF.Event[_7m]=true;}if(_nf3.DestroyEvent){_FF.DestroyEvent=_nf3.DestroyEvent;_FF.Event[_tP]=true;}if(_nf3.CleanUpEvent){_FF.CleanUpEvent=_nf3.CleanUpEvent;_FF.Event[_fP]=true;}if(_nf3.StepBeginEvent){_FF.StepBeginEvent=_nf3.StepBeginEvent;
_FF.Event[_lA2]=true;}if(_nf3.StepNormalEvent){_FF.StepNormalEvent=_nf3.StepNormalEvent;_FF.Event[_nA2]=true;}if(_nf3.StepEndEvent){_FF.StepEndEvent=_nf3.StepEndEvent;_FF.Event[_pA2]=true;}if(_nf3.DrawEvent){_FF.DrawEvent=_nf3.DrawEvent;_FF.Event[_YC2]=true;}if(_nf3.DrawGUI){_FF.DrawGUI=_nf3.DrawGUI;_FF.Event[_RE2]=true;}if(_nf3.DrawEventBegin){_FF.DrawEventBegin=_nf3.DrawEventBegin;_FF.Event[_TE2]=true;}if(_nf3.DrawEventEnd){_FF.DrawEventEnd=_nf3.DrawEventEnd;_FF.Event[_UE2]=true;}if(_nf3.DrawGUIBegin){
_FF.DrawGUIBegin=_nf3.DrawGUIBegin;_FF.Event[_VE2]=true;}if(_nf3.DrawGUIEnd){_FF.DrawGUIEnd=_nf3.DrawGUIEnd;_FF.Event[_WE2]=true;}if(_nf3.DrawPre){_FF.DrawPre=_nf3.DrawPre;_FF.Event[_XE2]=true;}if(_nf3.DrawPost){_FF.DrawPost=_nf3.DrawPost;_FF.Event[_YE2]=true;}if(_nf3.DrawResize){_FF.DrawResize=_nf3.DrawResize;_FF.Event[_SE2]=true;}if(_nf3.NoButtonPressed){_FF.NoButtonPressed=_nf3.NoButtonPressed;_FF.Event[_Hz2]=true;}if(_nf3.LeftButtonDown){_FF.LeftButtonDown=_nf3.LeftButtonDown;_FF.Event[_yz2]=true;
}if(_nf3.RightButtonDown){_FF.RightButtonDown=_nf3.RightButtonDown;_FF.Event[_Az2]=true;}if(_nf3.MiddleButtonDown){_FF.MiddleButtonDown=_nf3.MiddleButtonDown;_FF.Event[_zz2]=true;}if(_nf3.LeftButtonPressed){_FF.LeftButtonPressed=_nf3.LeftButtonPressed;_FF.Event[_Bz2]=true;}if(_nf3.RightButtonPressed){_FF.RightButtonPressed=_nf3.RightButtonPressed;_FF.Event[_Dz2]=true;}if(_nf3.MiddleButtonPressed){_FF.MiddleButtonPressed=_nf3.MiddleButtonPressed;_FF.Event[_Cz2]=true;}if(_nf3.LeftButtonReleased){_FF.LeftButtonReleased=_nf3.LeftButtonReleased;
_FF.Event[_Ez2]=true;}if(_nf3.RightButtonReleased){_FF.RightButtonReleased=_nf3.RightButtonReleased;_FF.Event[_Gz2]=true;}if(_nf3.MiddleButtonReleased){_FF.MiddleButtonReleased=_nf3.MiddleButtonReleased;_FF.Event[_Fz2]=true;}if(_nf3.MouseWheelUp){_FF.MouseWheelUp=_nf3.MouseWheelUp;_FF.Event[_Kz2]=true;}if(_nf3.MouseWheelDown){_FF.MouseWheelDown=_nf3.MouseWheelDown;_FF.Event[_Lz2]=true;}if(_nf3.GlobalLeftButtonDown){_FF.GlobalLeftButtonDown=_nf3.GlobalLeftButtonDown;_FF.Event[_Qz2]=true;}if(_nf3.GlobalRightButtonDown){
_FF.GlobalRightButtonDown=_nf3.GlobalRightButtonDown;_FF.Event[_3B2]=true;}if(_nf3.GlobalMiddleButtonDown){_FF.GlobalMiddleButtonDown=_nf3.GlobalMiddleButtonDown;_FF.Event[_5B2]=true;}if(_nf3.GlobalLeftButtonPressed){_FF.GlobalLeftButtonPressed=_nf3.GlobalLeftButtonPressed;_FF.Event[_Rz2]=true;}if(_nf3.GlobalRightButtonPressed){_FF.GlobalRightButtonPressed=_nf3.GlobalRightButtonPressed;_FF.Event[_8B2]=true;}if(_nf3.GlobalMiddleButtonPressed){_FF.GlobalMiddleButtonPressed=_nf3.GlobalMiddleButtonPressed;
_FF.Event[_aB2]=true;}if(_nf3.GlobalLeftButtonReleased){_FF.GlobalLeftButtonReleased=_nf3.GlobalLeftButtonReleased;_FF.Event[_Sz2]=true;}if(_nf3.GlobalRightButtonReleased){_FF.GlobalRightButtonReleased=_nf3.GlobalRightButtonReleased;_FF.Event[_dB2]=true;}if(_nf3.GlobalMiddleButtonReleased){_FF.GlobalMiddleButtonReleased=_nf3.GlobalMiddleButtonReleased;_FF.Event[_fB2]=true;}if(_nf3.MouseEnter){_FF.MouseEnter=_nf3.MouseEnter;_FF.Event[_Iz2]=true;}if(_nf3.MouseLeave){_FF.MouseLeave=_nf3.MouseLeave;
_FF.Event[_Jz2]=true;}if(_nf3.GestureTapEvent){_FF.GestureTapEvent=_nf3.GestureTapEvent;_FF.Event[_8D2]=true;}if(_nf3.GestureDoubleTapEvent){_FF.GestureDoubleTapEvent=_nf3.GestureDoubleTapEvent;_FF.Event[_aD2]=true;}if(_nf3.GestureDragStartEvent){_FF.GestureDragStartEvent=_nf3.GestureDragStartEvent;_FF.Event[_cD2]=true;}if(_nf3.GestureDragMoveEvent){_FF.GestureDragMoveEvent=_nf3.GestureDragMoveEvent;_FF.Event[_eD2]=true;}if(_nf3.GestureDragEndEvent){_FF.GestureDragEndEvent=_nf3.GestureDragEndEvent;
_FF.Event[_gD2]=true;}if(_nf3.GestureFlickEvent){_FF.GestureFlickEvent=_nf3.GestureFlickEvent;_FF.Event[_iD2]=true;}if(_nf3.GestureGlobalTapEvent){_FF.GestureGlobalTapEvent=_nf3.GestureGlobalTapEvent;_FF.Event[_yD2]=true;}if(_nf3.GestureGlobalDoubleTapEvent){_FF.GestureGlobalDoubleTapEvent=_nf3.GestureGlobalDoubleTapEvent;_FF.Event[_AD2]=true;}if(_nf3.GestureGlobalDragStartEvent){_FF.GestureGlobalDragStartEvent=_nf3.GestureGlobalDragStartEvent;_FF.Event[_CD2]=true;}if(_nf3.GestureGlobalDragMoveEvent){
_FF.GestureGlobalDragMoveEvent=_nf3.GestureGlobalDragMoveEvent;_FF.Event[_ED2]=true;}if(_nf3.GestureGlobalDragEndEvent){_FF.GestureGlobalDragEndEvent=_nf3.GestureGlobalDragEndEvent;_FF.Event[_GD2]=true;}if(_nf3.GestureGlobalFlickEvent){_FF.GestureGlobalFlickEvent=_nf3.GestureGlobalFlickEvent;_FF.Event[_ID2]=true;}if(_nf3.OutsideEvent){_FF.OutsideEvent=_nf3.OutsideEvent;_FF.Event[_6z2]=true;}if(_nf3.BoundaryEvent){_FF.BoundaryEvent=_nf3.BoundaryEvent;_FF.Event[_8z2]=true;}if(_nf3.StartGameEvent){
_FF.StartGameEvent=_nf3.StartGameEvent;_FF.Event[_lB2]=true;}if(_nf3.EndGameEvent){_FF.EndGameEvent=_nf3.EndGameEvent;_FF.Event[_nB2]=true;}if(_nf3.StartRoomEvent){_FF.StartRoomEvent=_nf3.StartRoomEvent;_FF.Event[_pB2]=true;}if(_nf3.EndRoomEvent){_FF.EndRoomEvent=_nf3.EndRoomEvent;_FF.Event[_rB2]=true;}if(_nf3.NoLivesEvent){_FF.NoLivesEvent=_nf3.NoLivesEvent;_FF.Event[_Mm]=true;}if(_nf3.AnimationEndEvent){_FF.AnimationEndEvent=_nf3.AnimationEndEvent;_FF.Event[_uB2]=true;}if(_nf3.EndOfPathEvent){
_FF.EndOfPathEvent=_nf3.EndOfPathEvent;_FF.Event[_Gb2]=true;}if(_nf3.NoHealthEvent){_FF.NoHealthEvent=_nf3.NoHealthEvent;_FF.Event[_Xm]=true;}if(_nf3.CloseButtonEvent){_FF.CloseButtonEvent=_nf3.CloseButtonEvent;_FF.Event[_yB2]=true;}if(_nf3.OutsideView0Event){_FF.OutsideView0Event=_nf3.OutsideView0Event;_FF.Event[_ez2]=true;}if(_nf3.OutsideView1Event){_FF.OutsideView1Event=_nf3.OutsideView1Event;_FF.Event[_BB2]=true;}if(_nf3.OutsideView2Event){_FF.OutsideView2Event=_nf3.OutsideView2Event;_FF.Event[_DB2]=true;
}if(_nf3.OutsideView3Event){_FF.OutsideView3Event=_nf3.OutsideView3Event;_FF.Event[_FB2]=true;}if(_nf3.OutsideView4Event){_FF.OutsideView4Event=_nf3.OutsideView4Event;_FF.Event[_HB2]=true;}if(_nf3.OutsideView5Event){_FF.OutsideView5Event=_nf3.OutsideView5Event;_FF.Event[_JB2]=true;}if(_nf3.OutsideView6Event){_FF.OutsideView6Event=_nf3.OutsideView6Event;_FF.Event[_LB2]=true;}if(_nf3.OutsideView7Event){_FF.OutsideView7Event=_nf3.OutsideView7Event;_FF.Event[_NB2]=true;}if(_nf3.BoundaryView0Event){_FF.BoundaryView0Event=_nf3.BoundaryView0Event;
_FF.Event[_fz2]=true;}if(_nf3.BoundaryView1Event){_FF.BoundaryView1Event=_nf3.BoundaryView1Event;_FF.Event[_QB2]=true;}if(_nf3.BoundaryView2Event){_FF.BoundaryView2Event=_nf3.BoundaryView2Event;_FF.Event[_SB2]=true;}if(_nf3.BoundaryView3Event){_FF.BoundaryView3Event=_nf3.BoundaryView3Event;_FF.Event[_UB2]=true;}if(_nf3.BoundaryView4Event){_FF.BoundaryView4Event=_nf3.BoundaryView4Event;_FF.Event[_WB2]=true;}if(_nf3.BoundaryView5Event){_FF.BoundaryView5Event=_nf3.BoundaryView5Event;_FF.Event[_YB2]=true;
}if(_nf3.BoundaryView6Event){_FF.BoundaryView6Event=_nf3.BoundaryView6Event;_FF.Event[__B2]=true;}if(_nf3.BoundaryView7Event){_FF.BoundaryView7Event=_nf3.BoundaryView7Event;_FF.Event[_1C2]=true;}if(_nf3.AnimationUpdateEvent){_FF.AnimationUpdateEvent=_nf3.AnimationUpdateEvent;_FF.Event[_S4]=true;}if(_nf3.UserEvent0){_FF.UserEvent0=_nf3.UserEvent0;_FF.Event[_2C2]=true;}if(_nf3.UserEvent1){_FF.UserEvent1=_nf3.UserEvent1;_FF.Event[_4C2]=true;}if(_nf3.UserEvent2){_FF.UserEvent2=_nf3.UserEvent2;_FF.Event[_6C2]=true;
}if(_nf3.UserEvent3){_FF.UserEvent3=_nf3.UserEvent3;_FF.Event[_8C2]=true;}if(_nf3.UserEvent4){_FF.UserEvent4=_nf3.UserEvent4;_FF.Event[_aC2]=true;}if(_nf3.UserEvent5){_FF.UserEvent5=_nf3.UserEvent5;_FF.Event[_cC2]=true;}if(_nf3.UserEvent6){_FF.UserEvent6=_nf3.UserEvent6;_FF.Event[_eC2]=true;}if(_nf3.UserEvent7){_FF.UserEvent7=_nf3.UserEvent7;_FF.Event[_gC2]=true;}if(_nf3.UserEvent8){_FF.UserEvent8=_nf3.UserEvent8;_FF.Event[_iC2]=true;}if(_nf3.UserEvent9){_FF.UserEvent9=_nf3.UserEvent9;_FF.Event[_kC2]=true;
}if(_nf3.UserEvent10){_FF.UserEvent10=_nf3.UserEvent10;_FF.Event[_mC2]=true;}if(_nf3.UserEvent11){_FF.UserEvent11=_nf3.UserEvent11;_FF.Event[_oC2]=true;}if(_nf3.UserEvent12){_FF.UserEvent12=_nf3.UserEvent12;_FF.Event[_qC2]=true;}if(_nf3.UserEvent13){_FF.UserEvent13=_nf3.UserEvent13;_FF.Event[_sC2]=true;}if(_nf3.UserEvent14){_FF.UserEvent14=_nf3.UserEvent14;_FF.Event[_uC2]=true;}if(_nf3.UserEvent15){_FF.UserEvent15=_nf3.UserEvent15;_FF.Event[_wC2]=true;}if(_nf3.WebImageLoadedEvent){_FF.WebImageLoadedEvent=_nf3.WebImageLoadedEvent;
_FF.Event[_AC2]=true;}if(_nf3.WebSoundLoadedEvent){_FF.WebSoundLoadedEvent=_nf3.WebSoundLoadedEvent;_FF.Event[_CC2]=true;}if(_nf3.WebAsyncEvent){_FF.WebAsyncEvent=_nf3.WebAsyncEvent;_FF.Event[_EC2]=true;}if(_nf3.WebUserInteractionEvent){_FF.WebUserInteractionEvent=_nf3.WebUserInteractionEvent;_FF.Event[_GC2]=true;}if(_nf3.WebIAPEvent){_FF.WebIAPEvent=_nf3.WebIAPEvent;_FF.Event[_IC2]=true;}if(_nf3.SocialEvent){_FF.SocialEvent=_nf3.SocialEvent;_FF.Event[_MC2]=true;}if(_nf3.PushNotificationEvent){_FF.PushNotificationEvent=_nf3.PushNotificationEvent;
_FF.Event[_OC2]=true;}if(_nf3.AsyncSaveLoadEvent){_FF.AsyncSaveLoadEvent=_nf3.AsyncSaveLoadEvent;_FF.Event[_Fd1]=true;}if(_nf3.NetworkingEvent){_FF.NetworkingEvent=_nf3.NetworkingEvent;_FF.Event[_KC2]=true;}if(_nf3.AudioPlaybackEvent){_FF.AudioPlaybackEvent=_nf3.AudioPlaybackEvent;_FF.Event[_RC2]=true;}if(_nf3.AudioPlaybackEndedEvent){_FF.AudioPlaybackEndedEvent=_nf3.AudioPlaybackEndedEvent;_FF.Event[_TC2]=true;}if(_nf3.AudioRecordingEvent){_FF.AudioRecordingEvent=_nf3.AudioRecordingEvent;_FF.Event[_Ce1]=true;
}if(_nf3.AnimationEventEvent){_FF.AnimationEventEvent=_nf3.AnimationEventEvent;_FF.Event[_o2]=true;}if(_nf3.SystemEvent){_FF.SystemEvent=_nf3.SystemEvent;_FF.Event[_Wb1]=true;}if(_nf3.BroadcastMessageEvent){_FF.BroadcastMessageEvent=_nf3.BroadcastMessageEvent;_FF.Event[_WC2]=true;}if(_nf3.ObjAlarm0){_FF._if3[0]=_nf3.ObjAlarm0;_FF.Event[_7A2]=true;}if(_nf3.ObjAlarm1){_FF._if3[1]=_nf3.ObjAlarm1;_FF.Event[_8A2]=true;}if(_nf3.ObjAlarm2){_FF._if3[2]=_nf3.ObjAlarm2;_FF.Event[_9A2]=true;}if(_nf3.ObjAlarm3){
_FF._if3[3]=_nf3.ObjAlarm3;_FF.Event[_aA2]=true;}if(_nf3.ObjAlarm4){_FF._if3[4]=_nf3.ObjAlarm4;_FF.Event[_bA2]=true;}if(_nf3.ObjAlarm5){_FF._if3[5]=_nf3.ObjAlarm5;_FF.Event[_cA2]=true;}if(_nf3.ObjAlarm6){_FF._if3[6]=_nf3.ObjAlarm6;_FF.Event[_dA2]=true;}if(_nf3.ObjAlarm7){_FF._if3[7]=_nf3.ObjAlarm7;_FF.Event[_eA2]=true;}if(_nf3.ObjAlarm8){_FF._if3[8]=_nf3.ObjAlarm8;_FF.Event[_fA2]=true;}if(_nf3.ObjAlarm9){_FF._if3[9]=_nf3.ObjAlarm9;_FF.Event[_gA2]=true;}if(_nf3.ObjAlarm10){_FF._if3[10]=_nf3.ObjAlarm10;
_FF.Event[_hA2]=true;}if(_nf3.ObjAlarm11){_FF._if3[11]=_nf3.ObjAlarm11;_FF.Event[_iA2]=true;}if(_nf3.KeyPressed_NOKEY){_FF._kf3[_gF2]=_nf3.KeyPressed_NOKEY;_FF.Event[_gF2]=true;}if(_nf3.KeyPressed_ANYKEY){_FF._kf3[_iF2]=_nf3.KeyPressed_ANYKEY;_FF.Event[_iF2]=true;}if(_nf3.KeyPressed_BACKSPACE){_FF._kf3[_jF2]=_nf3.KeyPressed_BACKSPACE;_FF.Event[_jF2]=true;}if(_nf3.KeyPressed_TAB){_FF._kf3[_kF2]=_nf3.KeyPressed_TAB;_FF.Event[_kF2]=true;}if(_nf3.KeyPressed_ENTER){_FF._kf3[_lF2]=_nf3.KeyPressed_ENTER;
_FF.Event[_lF2]=true;}if(_nf3.KeyPressed_SHIFT){_FF._kf3[_mF2]=_nf3.KeyPressed_SHIFT;_FF.Event[_mF2]=true;}if(_nf3.KeyPressed_CTRL){_FF._kf3[_nF2]=_nf3.KeyPressed_CTRL;_FF.Event[_nF2]=true;}if(_nf3.KeyPressed_ALT){_FF._kf3[_oF2]=_nf3.KeyPressed_ALT;_FF.Event[_oF2]=true;}if(_nf3.KeyPressed_PAUSE){_FF._kf3[_pF2]=_nf3.KeyPressed_PAUSE;_FF.Event[_pF2]=true;}if(_nf3.KeyPressed_ESCAPE){_FF._kf3[_qF2]=_nf3.KeyPressed_ESCAPE;_FF.Event[_qF2]=true;}if(_nf3.KeyPressed_SPACE){_FF._kf3[_rF2]=_nf3.KeyPressed_SPACE;
_FF.Event[_rF2]=true;}if(_nf3.KeyPressed_PAGEUP){_FF._kf3[_sF2]=_nf3.KeyPressed_PAGEUP;_FF.Event[_sF2]=true;}if(_nf3.KeyPressed_PAGEDOWN){_FF._kf3[_tF2]=_nf3.KeyPressed_PAGEDOWN;_FF.Event[_tF2]=true;}if(_nf3.KeyPressed_END){_FF._kf3[_uF2]=_nf3.KeyPressed_END;_FF.Event[_uF2]=true;}if(_nf3.KeyPressed_HOME){_FF._kf3[_vF2]=_nf3.KeyPressed_HOME;_FF.Event[_vF2]=true;}if(_nf3.KeyPressed_LEFT){_FF._kf3[_wF2]=_nf3.KeyPressed_LEFT;_FF.Event[_wF2]=true;}if(_nf3.KeyPressed_UP){_FF._kf3[_xF2]=_nf3.KeyPressed_UP;
_FF.Event[_xF2]=true;}if(_nf3.KeyPressed_RIGHT){_FF._kf3[_yF2]=_nf3.KeyPressed_RIGHT;_FF.Event[_yF2]=true;}if(_nf3.KeyPressed_DOWN){_FF._kf3[_zF2]=_nf3.KeyPressed_DOWN;_FF.Event[_zF2]=true;}if(_nf3.KeyPressed_INSERT){_FF._kf3[_AF2]=_nf3.KeyPressed_INSERT;_FF.Event[_AF2]=true;}if(_nf3.KeyPressed_DELETE){_FF._kf3[_BF2]=_nf3.KeyPressed_DELETE;_FF.Event[_BF2]=true;}if(_nf3.KeyPressed_0){_FF._kf3[_CF2]=(_nf3.KeyPressed_0);_FF.Event[_CF2]=true;}if(_nf3.KeyPressed_1){_FF._kf3[_DF2]=(_nf3.KeyPressed_1);
_FF.Event[_DF2]=true;}if(_nf3.KeyPressed_2){_FF._kf3[_EF2]=(_nf3.KeyPressed_2);_FF.Event[_EF2]=true;}if(_nf3.KeyPressed_3){_FF._kf3[_FF2]=(_nf3.KeyPressed_3);_FF.Event[_FF2]=true;}if(_nf3.KeyPressed_4){_FF._kf3[_GF2]=(_nf3.KeyPressed_4);_FF.Event[_GF2]=true;}if(_nf3.KeyPressed_5){_FF._kf3[_HF2]=(_nf3.KeyPressed_5);_FF.Event[_HF2]=true;}if(_nf3.KeyPressed_6){_FF._kf3[_IF2]=(_nf3.KeyPressed_6);_FF.Event[_IF2]=true;}if(_nf3.KeyPressed_7){_FF._kf3[_JF2]=(_nf3.KeyPressed_7);_FF.Event[_JF2]=true;}if(_nf3.KeyPressed_8){
_FF._kf3[_KF2]=(_nf3.KeyPressed_8);_FF.Event[_KF2]=true;}if(_nf3.KeyPressed_9){_FF._kf3[_LF2]=(_nf3.KeyPressed_9);_FF.Event[_LF2]=true;}if(_nf3.KeyPressed_A){_FF._kf3[_MF2]=(_nf3.KeyPressed_A);_FF.Event[_MF2]=true;}if(_nf3.KeyPressed_B){_FF._kf3[_NF2]=(_nf3.KeyPressed_B);_FF.Event[_NF2]=true;}if(_nf3.KeyPressed_C){_FF._kf3[_OF2]=(_nf3.KeyPressed_C);_FF.Event[_OF2]=true;}if(_nf3.KeyPressed_D){_FF._kf3[_PF2]=(_nf3.KeyPressed_D);_FF.Event[_PF2]=true;}if(_nf3.KeyPressed_E){_FF._kf3[_QF2]=(_nf3.KeyPressed_E);
_FF.Event[_QF2]=true;}if(_nf3.KeyPressed_F){_FF._kf3[_RF2]=(_nf3.KeyPressed_F);_FF.Event[_RF2]=true;}if(_nf3.KeyPressed_G){_FF._kf3[_SF2]=(_nf3.KeyPressed_G);_FF.Event[_SF2]=true;}if(_nf3.KeyPressed_H){_FF._kf3[_TF2]=(_nf3.KeyPressed_H);_FF.Event[_TF2]=true;}if(_nf3.KeyPressed_I){_FF._kf3[_UF2]=(_nf3.KeyPressed_I);_FF.Event[_UF2]=true;}if(_nf3.KeyPressed_J){_FF._kf3[_VF2]=(_nf3.KeyPressed_J);_FF.Event[_VF2]=true;}if(_nf3.KeyPressed_K){_FF._kf3[_WF2]=(_nf3.KeyPressed_K);_FF.Event[_WF2]=true;}if(_nf3.KeyPressed_L){
_FF._kf3[_XF2]=(_nf3.KeyPressed_L);_FF.Event[_XF2]=true;}if(_nf3.KeyPressed_M){_FF._kf3[_YF2]=(_nf3.KeyPressed_M);_FF.Event[_YF2]=true;}if(_nf3.KeyPressed_N){_FF._kf3[_ZF2]=(_nf3.KeyPressed_N);_FF.Event[_ZF2]=true;}if(_nf3.KeyPressed_O){_FF._kf3[__F2]=(_nf3.KeyPressed_O);_FF.Event[__F2]=true;}if(_nf3.KeyPressed_P){_FF._kf3[_0G2]=(_nf3.KeyPressed_P);_FF.Event[_0G2]=true;}if(_nf3.KeyPressed_Q){_FF._kf3[_1G2]=(_nf3.KeyPressed_Q);_FF.Event[_1G2]=true;}if(_nf3.KeyPressed_R){_FF._kf3[_2G2]=(_nf3.KeyPressed_R);
_FF.Event[_2G2]=true;}if(_nf3.KeyPressed_S){_FF._kf3[_3G2]=(_nf3.KeyPressed_S);_FF.Event[_3G2]=true;}if(_nf3.KeyPressed_T){_FF._kf3[_4G2]=(_nf3.KeyPressed_T);_FF.Event[_4G2]=true;}if(_nf3.KeyPressed_U){_FF._kf3[_5G2]=(_nf3.KeyPressed_U);_FF.Event[_5G2]=true;}if(_nf3.KeyPressed_V){_FF._kf3[_6G2]=(_nf3.KeyPressed_V);_FF.Event[_6G2]=true;}if(_nf3.KeyPressed_W){_FF._kf3[_7G2]=(_nf3.KeyPressed_W);_FF.Event[_7G2]=true;}if(_nf3.KeyPressed_X){_FF._kf3[_8G2]=(_nf3.KeyPressed_X);_FF.Event[_8G2]=true;}if(_nf3.KeyPressed_Y){
_FF._kf3[_9G2]=(_nf3.KeyPressed_Y);_FF.Event[_9G2]=true;}if(_nf3.KeyPressed_Z){_FF._kf3[_aG2]=(_nf3.KeyPressed_Z);_FF.Event[_aG2]=true;}if(_nf3.KeyPressed_F1){_FF._kf3[_bG2]=(_nf3.KeyPressed_F1);_FF.Event[_bG2]=true;}if(_nf3.KeyPressed_F2){_FF._kf3[_cG2]=(_nf3.KeyPressed_F2);_FF.Event[_cG2]=true;}if(_nf3.KeyPressed_F3){_FF._kf3[_dG2]=(_nf3.KeyPressed_F3);_FF.Event[_dG2]=true;}if(_nf3.KeyPressed_F4){_FF._kf3[_eG2]=(_nf3.KeyPressed_F4);_FF.Event[_eG2]=true;}if(_nf3.KeyPressed_F5){_FF._kf3[_fG2]=(_nf3.KeyPressed_F5);
_FF.Event[_fG2]=true;}if(_nf3.KeyPressed_F6){_FF._kf3[_gG2]=(_nf3.KeyPressed_F6);_FF.Event[_gG2]=true;}if(_nf3.KeyPressed_F7){_FF._kf3[_hG2]=(_nf3.KeyPressed_F7);_FF.Event[_hG2]=true;}if(_nf3.KeyPressed_F8){_FF._kf3[_iG2]=(_nf3.KeyPressed_F8);_FF.Event[_iG2]=true;}if(_nf3.KeyPressed_F9){_FF._kf3[_jG2]=(_nf3.KeyPressed_F9);_FF.Event[_jG2]=true;}if(_nf3.KeyPressed_F10){_FF._kf3[_kG2]=(_nf3.KeyPressed_F10);_FF.Event[_kG2]=true;}if(_nf3.KeyPressed_F11){_FF._kf3[_lG2]=(_nf3.KeyPressed_F11);_FF.Event[_lG2]=true;
}if(_nf3.KeyPressed_F12){_FF._kf3[_mG2]=(_nf3.KeyPressed_F12);_FF.Event[_mG2]=true;}if(_nf3.KeyPressed_NUM_LOCK){_FF._kf3[_AG2]=(_nf3.KeyPressed_NUM_LOCK);_FF.Event[_AG2]=true;}if(_nf3.KeyPressed_NUM_0){_FF._kf3[_BG2]=(_nf3.KeyPressed_NUM_0);_FF.Event[_BG2]=true;}if(_nf3.KeyPressed_NUM_1){_FF._kf3[_CG2]=(_nf3.KeyPressed_NUM_1);_FF.Event[_CG2]=true;}if(_nf3.KeyPressed_NUM_2){_FF._kf3[_DG2]=(_nf3.KeyPressed_NUM_2);_FF.Event[_DG2]=true;}if(_nf3.KeyPressed_NUM_3){_FF._kf3[_EG2]=(_nf3.KeyPressed_NUM_3);
_FF.Event[_EG2]=true;}if(_nf3.KeyPressed_NUM_4){_FF._kf3[_FG2]=(_nf3.KeyPressed_NUM_4);_FF.Event[_FG2]=true;}if(_nf3.KeyPressed_NUM_5){_FF._kf3[_GG2]=(_nf3.KeyPressed_NUM_5);_FF.Event[_GG2]=true;}if(_nf3.KeyPressed_NUM_6){_FF._kf3[_HG2]=(_nf3.KeyPressed_NUM_6);_FF.Event[_HG2]=true;}if(_nf3.KeyPressed_NUM_7){_FF._kf3[_IG2]=(_nf3.KeyPressed_NUM_7);_FF.Event[_IG2]=true;}if(_nf3.KeyPressed_NUM_8){_FF._kf3[_JG2]=(_nf3.KeyPressed_NUM_8);_FF.Event[_JG2]=true;}if(_nf3.KeyPressed_NUM_9){_FF._kf3[_KG2]=(_nf3.KeyPressed_NUM_9);
_FF.Event[_KG2]=true;}if(_nf3.KeyPressed_NUM_STAR){_FF._kf3[_LG2]=(_nf3.KeyPressed_NUM_STAR);_FF.Event[_LG2]=true;}if(_nf3.KeyPressed_NUM_PLUS){_FF._kf3[_MG2]=(_nf3.KeyPressed_NUM_PLUS);_FF.Event[_MG2]=true;}if(_nf3.KeyPressed_NUM_MINUS){_FF._kf3[_NG2]=(_nf3.KeyPressed_NUM_MINUS);_FF.Event[_NG2]=true;}if(_nf3.KeyPressed_NUM_DOT){_FF._kf3[_OG2]=(_nf3.KeyPressed_NUM_DOT);_FF.Event[_OG2]=true;}if(_nf3.KeyPressed_NUM_DIV){_FF._kf3[_PG2]=(_nf3.KeyPressed_NUM_DIV);_FF.Event[_PG2]=true;}if(_nf3.Key_NOKEY){
_FF._jf3[_QG2]=(_nf3.Key_NOKEY);_FF.Event[_QG2]=true;}if(_nf3.Key_ANYKEY){_FF._jf3[_SG2]=(_nf3.Key_ANYKEY);_FF.Event[_SG2]=true;}if(_nf3.Key_BACKSPACE){_FF._jf3[_TG2]=(_nf3.Key_BACKSPACE);_FF.Event[_TG2]=true;}if(_nf3.Key_TAB){_FF._jf3[_UG2]=(_nf3.Key_TAB);_FF.Event[_UG2]=true;}if(_nf3.Key_ENTER){_FF._jf3[_VG2]=(_nf3.Key_ENTER);_FF.Event[_VG2]=true;}if(_nf3.Key_SHIFT){_FF._jf3[_WG2]=(_nf3.Key_SHIFT);_FF.Event[_WG2]=true;}if(_nf3.Key_CTRL){_FF._jf3[_XG2]=(_nf3.Key_CTRL);_FF.Event[_XG2]=true;}if(_nf3.Key_ALT){
_FF._jf3[_YG2]=(_nf3.Key_ALT);_FF.Event[_YG2]=true;}if(_nf3.Key_PAUSE){_FF._jf3[_ZG2]=(_nf3.Key_PAUSE);_FF.Event[_ZG2]=true;}if(_nf3.Key_ESCAPE){_FF._jf3[__G2]=(_nf3.Key_ESCAPE);_FF.Event[__G2]=true;}if(_nf3.Key_SPACE){_FF._jf3[_0H2]=(_nf3.Key_SPACE);_FF.Event[_0H2]=true;}if(_nf3.Key_PAGEUP){_FF._jf3[_1H2]=(_nf3.Key_PAGEUP);_FF.Event[_1H2]=true;}if(_nf3.Key_PAGEDOWN){_FF._jf3[_2H2]=(_nf3.Key_PAGEDOWN);_FF.Event[_2H2]=true;}if(_nf3.Key_END){_FF._jf3[_3H2]=(_nf3.Key_END);_FF.Event[_3H2]=true;}if(_nf3.Key_HOME){
_FF._jf3[_4H2]=(_nf3.Key_HOME);_FF.Event[_4H2]=true;}if(_nf3.Key_LEFT){_FF._jf3[_5H2]=(_nf3.Key_LEFT);_FF.Event[_5H2]=true;}if(_nf3.Key_UP){_FF._jf3[_6H2]=(_nf3.Key_UP);_FF.Event[_6H2]=true;}if(_nf3.Key_RIGHT){_FF._jf3[_7H2]=(_nf3.Key_RIGHT);_FF.Event[_7H2]=true;}if(_nf3.Key_DOWN){_FF._jf3[_8H2]=(_nf3.Key_DOWN);_FF.Event[_8H2]=true;}if(_nf3.Key_INSERT){_FF._jf3[_9H2]=(_nf3.Key_INSERT);_FF.Event[_9H2]=true;}if(_nf3.Key_DELETE){_FF._jf3[_aH2]=(_nf3.Key_DELETE);_FF.Event[_aH2]=true;}if(_nf3.Key_0){
_FF._jf3[_bH2]=(_nf3.Key_0);_FF.Event[_bH2]=true;}if(_nf3.Key_1){_FF._jf3[_cH2]=(_nf3.Key_1);_FF.Event[_cH2]=true;}if(_nf3.Key_2){_FF._jf3[_dH2]=(_nf3.Key_2);_FF.Event[_dH2]=true;}if(_nf3.Key_3){_FF._jf3[_eH2]=(_nf3.Key_3);_FF.Event[_eH2]=true;}if(_nf3.Key_4){_FF._jf3[_fH2]=(_nf3.Key_4);_FF.Event[_fH2]=true;}if(_nf3.Key_5){_FF._jf3[_gH2]=(_nf3.Key_5);_FF.Event[_gH2]=true;}if(_nf3.Key_6){_FF._jf3[_hH2]=(_nf3.Key_6);_FF.Event[_hH2]=true;}if(_nf3.Key_7){_FF._jf3[_iH2]=(_nf3.Key_7);_FF.Event[_iH2]=true;
}if(_nf3.Key_8){_FF._jf3[_jH2]=(_nf3.Key_8);_FF.Event[_jH2]=true;}if(_nf3.Key_9){_FF._jf3[_kH2]=(_nf3.Key_9);_FF.Event[_kH2]=true;}if(_nf3.Key_A){_FF._jf3[_lH2]=(_nf3.Key_A);_FF.Event[_lH2]=true;}if(_nf3.Key_B){_FF._jf3[_mH2]=(_nf3.Key_B);_FF.Event[_mH2]=true;}if(_nf3.Key_C){_FF._jf3[_nH2]=(_nf3.Key_C);_FF.Event[_nH2]=true;}if(_nf3.Key_D){_FF._jf3[_oH2]=(_nf3.Key_D);_FF.Event[_oH2]=true;}if(_nf3.Key_E){_FF._jf3[_pH2]=(_nf3.Key_E);_FF.Event[_pH2]=true;}if(_nf3.Key_F){_FF._jf3[_qH2]=(_nf3.Key_F);_FF.Event[_qH2]=true;
}if(_nf3.Key_G){_FF._jf3[_rH2]=(_nf3.Key_G);_FF.Event[_rH2]=true;}if(_nf3.Key_H){_FF._jf3[_sH2]=(_nf3.Key_H);_FF.Event[_sH2]=true;}if(_nf3.Key_I){_FF._jf3[_tH2]=(_nf3.Key_I);_FF.Event[_tH2]=true;}if(_nf3.Key_J){_FF._jf3[_uH2]=(_nf3.Key_J);_FF.Event[_uH2]=true;}if(_nf3.Key_K){_FF._jf3[_vH2]=(_nf3.Key_K);_FF.Event[_vH2]=true;}if(_nf3.Key_L){_FF._jf3[_wH2]=(_nf3.Key_L);_FF.Event[_wH2]=true;}if(_nf3.Key_M){_FF._jf3[_xH2]=(_nf3.Key_M);_FF.Event[_xH2]=true;}if(_nf3.Key_N){_FF._jf3[_yH2]=(_nf3.Key_N);_FF.Event[_yH2]=true;
}if(_nf3.Key_O){_FF._jf3[_zH2]=(_nf3.Key_O);_FF.Event[_zH2]=true;}if(_nf3.Key_P){_FF._jf3[_AH2]=(_nf3.Key_P);_FF.Event[_AH2]=true;}if(_nf3.Key_Q){_FF._jf3[_BH2]=(_nf3.Key_Q);_FF.Event[_BH2]=true;}if(_nf3.Key_R){_FF._jf3[_CH2]=(_nf3.Key_R);_FF.Event[_CH2]=true;}if(_nf3.Key_S){_FF._jf3[_DH2]=(_nf3.Key_S);_FF.Event[_DH2]=true;}if(_nf3.Key_T){_FF._jf3[_EH2]=(_nf3.Key_T);_FF.Event[_EH2]=true;}if(_nf3.Key_U){_FF._jf3[_FH2]=(_nf3.Key_U);_FF.Event[_FH2]=true;}if(_nf3.Key_V){_FF._jf3[_GH2]=(_nf3.Key_V);_FF.Event[_GH2]=true;
}if(_nf3.Key_W){_FF._jf3[_HH2]=(_nf3.Key_W);_FF.Event[_HH2]=true;}if(_nf3.Key_X){_FF._jf3[_IH2]=(_nf3.Key_X);_FF.Event[_IH2]=true;}if(_nf3.Key_Y){_FF._jf3[_JH2]=(_nf3.Key_Y);_FF.Event[_JH2]=true;}if(_nf3.Key_Z){_FF._jf3[_KH2]=(_nf3.Key_Z);_FF.Event[_KH2]=true;}if(_nf3.Key_F1){_FF._jf3[_LH2]=(_nf3.Key_F1);_FF.Event[_LH2]=true;}if(_nf3.Key_F2){_FF._jf3[_MH2]=(_nf3.Key_F2);_FF.Event[_MH2]=true;}if(_nf3.Key_F3){_FF._jf3[_NH2]=(_nf3.Key_F3);_FF.Event[_NH2]=true;}if(_nf3.Key_F4){_FF._jf3[_OH2]=(_nf3.Key_F4);
_FF.Event[_OH2]=true;}if(_nf3.Key_F5){_FF._jf3[_PH2]=(_nf3.Key_F5);_FF.Event[_PH2]=true;}if(_nf3.Key_F6){_FF._jf3[_QH2]=(_nf3.Key_F6);_FF.Event[_QH2]=true;}if(_nf3.Key_F7){_FF._jf3[_RH2]=(_nf3.Key_F7);_FF.Event[_RH2]=true;}if(_nf3.Key_F8){_FF._jf3[_SH2]=(_nf3.Key_F8);_FF.Event[_SH2]=true;}if(_nf3.Key_F9){_FF._jf3[_TH2]=(_nf3.Key_F9);_FF.Event[_TH2]=true;}if(_nf3.Key_F10){_FF._jf3[_UH2]=(_nf3.Key_F10);_FF.Event[_UH2]=true;}if(_nf3.Key_F11){_FF._jf3[_VH2]=(_nf3.Key_F11);_FF.Event[_VH2]=true;}if(_nf3.Key_F12){
_FF._jf3[_WH2]=(_nf3.Key_F12);_FF.Event[_WH2]=true;}if(_nf3.Key_NUM_LOCK){_FF._jf3[_9I2]=(_nf3.Key_NUM_LOCK);_FF.Event[_9I2]=true;}if(_nf3.Key_NUM_0){_FF._jf3[_aI2]=(_nf3.Key_NUM_0);_FF.Event[_aI2]=true;}if(_nf3.Key_NUM_1){_FF._jf3[_bI2]=(_nf3.Key_NUM_1);_FF.Event[_bI2]=true;}if(_nf3.Key_NUM_2){_FF._jf3[_cI2]=(_nf3.Key_NUM_2);_FF.Event[_cI2]=true;}if(_nf3.Key_NUM_3){_FF._jf3[_dI2]=(_nf3.Key_NUM_3);_FF.Event[_dI2]=true;}if(_nf3.Key_NUM_4){_FF._jf3[_eI2]=(_nf3.Key_NUM_4);_FF.Event[_eI2]=true;}if(_nf3.Key_NUM_5){
_FF._jf3[_fI2]=(_nf3.Key_NUM_5);_FF.Event[_fI2]=true;}if(_nf3.Key_NUM_6){_FF._jf3[_gI2]=(_nf3.Key_NUM_6);_FF.Event[_gI2]=true;}if(_nf3.Key_NUM_7){_FF._jf3[_hI2]=(_nf3.Key_NUM_7);_FF.Event[_hI2]=true;}if(_nf3.Key_NUM_8){_FF._jf3[_iI2]=(_nf3.Key_NUM_8);_FF.Event[_iI2]=true;}if(_nf3.Key_NUM_9){_FF._jf3[_jI2]=(_nf3.Key_NUM_9);_FF.Event[_jI2]=true;}if(_nf3.Key_NUM_STAR){_FF._jf3[_kI2]=(_nf3.Key_NUM_STAR);_FF.Event[_kI2]=true;}if(_nf3.Key_NUM_PLUS){_FF._jf3[_lI2]=(_nf3.Key_NUM_PLUS);_FF.Event[_lI2]=true;
}if(_nf3.Key_NUM_MINUS){_FF._jf3[_mI2]=(_nf3.Key_NUM_MINUS);_FF.Event[_mI2]=true;}if(_nf3.Key_NUM_DOT){_FF._jf3[_nI2]=(_nf3.Key_NUM_DOT);_FF.Event[_nI2]=true;}if(_nf3.Key_NUM_DIV){_FF._jf3[_oI2]=(_nf3.Key_NUM_DIV);_FF.Event[_oI2]=true;}if(_nf3.KeyReleased_NOKEY){_FF._lf3[_pI2]=(_nf3.KeyReleased_NOKEY);_FF.Event[_pI2]=true;}if(_nf3.KeyReleased_ANYKEY){_FF._lf3[_rI2]=(_nf3.KeyReleased_ANYKEY);_FF.Event[_rI2]=true;}if(_nf3.KeyReleased_BACKSPACE){_FF._lf3[_sI2]=(_nf3.KeyReleased_BACKSPACE);_FF.Event[_sI2]=true;
}if(_nf3.KeyReleased_TAB){_FF._lf3[_tI2]=(_nf3.KeyReleased_TAB);_FF.Event[_tI2]=true;}if(_nf3.KeyReleased_ENTER){_FF._lf3[_uI2]=(_nf3.KeyReleased_ENTER);_FF.Event[_uI2]=true;}if(_nf3.KeyReleased_SHIFT){_FF._lf3[_vI2]=(_nf3.KeyReleased_SHIFT);_FF.Event[_vI2]=true;}if(_nf3.KeyReleased_CTRL){_FF._lf3[_wI2]=(_nf3.KeyReleased_CTRL);_FF.Event[_wI2]=true;}if(_nf3.KeyReleased_ALT){_FF._lf3[_xI2]=(_nf3.KeyReleased_ALT);_FF.Event[_xI2]=true;}if(_nf3.KeyReleased_PAUSE){_FF._lf3[_yI2]=(_nf3.KeyReleased_PAUSE);
_FF.Event[_yI2]=true;}if(_nf3.KeyReleased_ESCAPE){_FF._lf3[_zI2]=(_nf3.KeyReleased_ESCAPE);_FF.Event[_zI2]=true;}if(_nf3.KeyReleased_SPACE){_FF._lf3[_AI2]=(_nf3.KeyReleased_SPACE);_FF.Event[_AI2]=true;}if(_nf3.KeyReleased_PAGEUP){_FF._lf3[_BI2]=(_nf3.KeyReleased_PAGEUP);_FF.Event[_BI2]=true;}if(_nf3.KeyReleased_PAGEDOWN){_FF._lf3[_CI2]=(_nf3.KeyReleased_PAGEDOWN);_FF.Event[_CI2]=true;}if(_nf3.KeyReleased_END){_FF._lf3[_DI2]=(_nf3.KeyReleased_END);_FF.Event[_DI2]=true;}if(_nf3.KeyReleased_HOME){_FF._lf3[_EI2]=(_nf3.KeyReleased_HOME);
_FF.Event[_EI2]=true;}if(_nf3.KeyReleased_LEFT){_FF._lf3[_FI2]=(_nf3.KeyReleased_LEFT);_FF.Event[_FI2]=true;}if(_nf3.KeyReleased_UP){_FF._lf3[_GI2]=(_nf3.KeyReleased_UP);_FF.Event[_GI2]=true;}if(_nf3.KeyReleased_RIGHT){_FF._lf3[_HI2]=(_nf3.KeyReleased_RIGHT);_FF.Event[_HI2]=true;}if(_nf3.KeyReleased_DOWN){_FF._lf3[_II2]=(_nf3.KeyReleased_DOWN);_FF.Event[_II2]=true;}if(_nf3.KeyReleased_INSERT){_FF._lf3[_JI2]=(_nf3.KeyReleased_INSERT);_FF.Event[_JI2]=true;}if(_nf3.KeyReleased_DELETE){_FF._lf3[_KI2]=(_nf3.KeyReleased_DELETE);
_FF.Event[_KI2]=true;}if(_nf3.KeyReleased_0){_FF._lf3[_LI2]=(_nf3.KeyReleased_0);_FF.Event[_LI2]=true;}if(_nf3.KeyReleased_1){_FF._lf3[_MI2]=(_nf3.KeyReleased_1);_FF.Event[_MI2]=true;}if(_nf3.KeyReleased_2){_FF._lf3[_NI2]=(_nf3.KeyReleased_2);_FF.Event[_NI2]=true;}if(_nf3.KeyReleased_3){_FF._lf3[_OI2]=(_nf3.KeyReleased_3);_FF.Event[_OI2]=true;}if(_nf3.KeyReleased_4){_FF._lf3[_PI2]=(_nf3.KeyReleased_4);_FF.Event[_PI2]=true;}if(_nf3.KeyReleased_5){_FF._lf3[_QI2]=(_nf3.KeyReleased_5);_FF.Event[_QI2]=true;
}if(_nf3.KeyReleased_6){_FF._lf3[_RI2]=(_nf3.KeyReleased_6);_FF.Event[_RI2]=true;}if(_nf3.KeyReleased_7){_FF._lf3[_SI2]=(_nf3.KeyReleased_7);_FF.Event[_SI2]=true;}if(_nf3.KeyReleased_8){_FF._lf3[_TI2]=(_nf3.KeyReleased_8);_FF.Event[_TI2]=true;}if(_nf3.KeyReleased_9){_FF._lf3[_UI2]=(_nf3.KeyReleased_9);_FF.Event[_UI2]=true;}if(_nf3.KeyReleased_A){_FF._lf3[_VI2]=(_nf3.KeyReleased_A);_FF.Event[_VI2]=true;}if(_nf3.KeyReleased_B){_FF._lf3[_WI2]=(_nf3.KeyReleased_B);_FF.Event[_WI2]=true;}if(_nf3.KeyReleased_C){
_FF._lf3[_XI2]=(_nf3.KeyReleased_C);_FF.Event[_XI2]=true;}if(_nf3.KeyReleased_D){_FF._lf3[_YI2]=(_nf3.KeyReleased_D);_FF.Event[_YI2]=true;}if(_nf3.KeyReleased_E){_FF._lf3[_ZI2]=(_nf3.KeyReleased_E);_FF.Event[_ZI2]=true;}if(_nf3.KeyReleased_F){_FF._lf3[__I2]=(_nf3.KeyReleased_F);_FF.Event[__I2]=true;}if(_nf3.KeyReleased_G){_FF._lf3[_0J2]=(_nf3.KeyReleased_G);_FF.Event[_0J2]=true;}if(_nf3.KeyReleased_H){_FF._lf3[_1J2]=(_nf3.KeyReleased_H);_FF.Event[_1J2]=true;}if(_nf3.KeyReleased_I){_FF._lf3[_2J2]=(_nf3.KeyReleased_I);
_FF.Event[_2J2]=true;}if(_nf3.KeyReleased_J){_FF._lf3[_3J2]=(_nf3.KeyReleased_J);_FF.Event[_3J2]=true;}if(_nf3.KeyReleased_K){_FF._lf3[_4J2]=(_nf3.KeyReleased_K);_FF.Event[_4J2]=true;}if(_nf3.KeyReleased_L){_FF._lf3[_5J2]=(_nf3.KeyReleased_L);_FF.Event[_5J2]=true;}if(_nf3.KeyReleased_M){_FF._lf3[_6J2]=(_nf3.KeyReleased_M);_FF.Event[_6J2]=true;}if(_nf3.KeyReleased_N){_FF._lf3[_7J2]=(_nf3.KeyReleased_N);_FF.Event[_7J2]=true;}if(_nf3.KeyReleased_O){_FF._lf3[_8J2]=(_nf3.KeyReleased_O);_FF.Event[_8J2]=true;
}if(_nf3.KeyReleased_P){_FF._lf3[_9J2]=(_nf3.KeyReleased_P);_FF.Event[_9J2]=true;}if(_nf3.KeyReleased_Q){_FF._lf3[_aJ2]=(_nf3.KeyReleased_Q);_FF.Event[_aJ2]=true;}if(_nf3.KeyReleased_R){_FF._lf3[_bJ2]=(_nf3.KeyReleased_R);_FF.Event[_bJ2]=true;}if(_nf3.KeyReleased_S){_FF._lf3[_cJ2]=(_nf3.KeyReleased_S);_FF.Event[_cJ2]=true;}if(_nf3.KeyReleased_T){_FF._lf3[_dJ2]=(_nf3.KeyReleased_T);_FF.Event[_dJ2]=true;}if(_nf3.KeyReleased_U){_FF._lf3[_eJ2]=(_nf3.KeyReleased_U);_FF.Event[_eJ2]=true;}if(_nf3.KeyReleased_V){
_FF._lf3[_fJ2]=(_nf3.KeyReleased_V);_FF.Event[_fJ2]=true;}if(_nf3.KeyReleased_W){_FF._lf3[_gJ2]=(_nf3.KeyReleased_W);_FF.Event[_gJ2]=true;}if(_nf3.KeyReleased_X){_FF._lf3[_hJ2]=(_nf3.KeyReleased_X);_FF.Event[_hJ2]=true;}if(_nf3.KeyReleased_Y){_FF._lf3[_iJ2]=(_nf3.KeyReleased_Y);_FF.Event[_iJ2]=true;}if(_nf3.KeyReleased_Z){_FF._lf3[_jJ2]=(_nf3.KeyReleased_Z);_FF.Event[_jJ2]=true;}if(_nf3.KeyReleased_F1){_FF._lf3[_kJ2]=(_nf3.KeyReleased_F1);_FF.Event[_kJ2]=true;}if(_nf3.KeyReleased_F2){_FF._lf3[_lJ2]=(_nf3.KeyReleased_F2);
_FF.Event[_lJ2]=true;}if(_nf3.KeyReleased_F3){_FF._lf3[_mJ2]=(_nf3.KeyReleased_F3);_FF.Event[_mJ2]=true;}if(_nf3.KeyReleased_F4){_FF._lf3[_nJ2]=(_nf3.KeyReleased_F4);_FF.Event[_nJ2]=true;}if(_nf3.KeyReleased_F5){_FF._lf3[_oJ2]=(_nf3.KeyReleased_F5);_FF.Event[_oJ2]=true;}if(_nf3.KeyReleased_F6){_FF._lf3[_pJ2]=(_nf3.KeyReleased_F6);_FF.Event[_pJ2]=true;}if(_nf3.KeyReleased_F7){_FF._lf3[_qJ2]=(_nf3.KeyReleased_F7);_FF.Event[_qJ2]=true;}if(_nf3.KeyReleased_F8){_FF._lf3[_rJ2]=(_nf3.KeyReleased_F8);_FF.Event[_rJ2]=true;
}if(_nf3.KeyReleased_F9){_FF._lf3[_sJ2]=(_nf3.KeyReleased_F9);_FF.Event[_sJ2]=true;}if(_nf3.KeyReleased_F10){_FF._lf3[_tJ2]=(_nf3.KeyReleased_F10);_FF.Event[_tJ2]=true;}if(_nf3.KeyReleased_F11){_FF._lf3[_uJ2]=(_nf3.KeyReleased_F11);_FF.Event[_uJ2]=true;}if(_nf3.KeyReleased_F12){_FF._lf3[_vJ2]=(_nf3.KeyReleased_F12);_FF.Event[_vJ2]=true;}if(_nf3.KeyReleased_NUM_LOCK){_FF._lf3[_JJ2]=(_nf3.KeyReleased_NUM_LOCK);_FF.Event[_JJ2]=true;}if(_nf3.KeyReleased_NUM_0){_FF._lf3[_KJ2]=(_nf3.KeyReleased_NUM_0);
_FF.Event[_KJ2]=true;}if(_nf3.KeyReleased_NUM_1){_FF._lf3[_LJ2]=(_nf3.KeyReleased_NUM_1);_FF.Event[_LJ2]=true;}if(_nf3.KeyReleased_NUM_2){_FF._lf3[_MJ2]=(_nf3.KeyReleased_NUM_2);_FF.Event[_MJ2]=true;}if(_nf3.KeyReleased_NUM_3){_FF._lf3[_NJ2]=(_nf3.KeyReleased_NUM_3);_FF.Event[_NJ2]=true;}if(_nf3.KeyReleased_NUM_4){_FF._lf3[_OJ2]=(_nf3.KeyReleased_NUM_4);_FF.Event[_OJ2]=true;}if(_nf3.KeyReleased_NUM_5){_FF._lf3[_PJ2]=(_nf3.KeyReleased_NUM_5);_FF.Event[_PJ2]=true;}if(_nf3.KeyReleased_NUM_6){_FF._lf3[_QJ2]=(_nf3.KeyReleased_NUM_6);
_FF.Event[_QJ2]=true;}if(_nf3.KeyReleased_NUM_7){_FF._lf3[_RJ2]=(_nf3.KeyReleased_NUM_7);_FF.Event[_RJ2]=true;}if(_nf3.KeyReleased_NUM_8){_FF._lf3[_SJ2]=(_nf3.KeyReleased_NUM_8);_FF.Event[_SJ2]=true;}if(_nf3.KeyReleased_NUM_9){_FF._lf3[_TJ2]=(_nf3.KeyReleased_NUM_9);_FF.Event[_TJ2]=true;}if(_nf3.KeyReleased_NUM_STAR){_FF._lf3[_UJ2]=(_nf3.KeyReleased_NUM_STAR);_FF.Event[_UJ2]=true;}if(_nf3.KeyReleased_NUM_PLUS){_FF._lf3[_VJ2]=(_nf3.KeyReleased_NUM_PLUS);_FF.Event[_VJ2]=true;}if(_nf3.KeyReleased_NUM_MINUS){
_FF._lf3[_WJ2]=(_nf3.KeyReleased_NUM_MINUS);_FF.Event[_WJ2]=true;}if(_nf3.KeyReleased_NUM_DOT){_FF._lf3[_XJ2]=(_nf3.KeyReleased_NUM_DOT);_FF.Event[_XJ2]=true;}if(_nf3.KeyReleased_NUM_DIV){_FF._lf3[_YJ2]=(_nf3.KeyReleased_NUM_DIV);_FF.Event[_YJ2]=true;}var i=0;if(_nf3.TriggerEvents!=undefined){while(i<_nf3.TriggerEvents.length){var key=parseInt(_nf3.TriggerEvents[i])+1;var pFunc=_nf3.TriggerEvents[i+1];var _of3=_sK2._I4(key);_FF.Event[_5D2]=true;_FF.Event[_5D2|key]=true;var _pf3=new _8f3();_pf3._9f3=pFunc;
_pf3._bf3=_of3;_pf3._af3=key;_FF.Triggers[_5D2|key]=_pf3;i+=2;}}i=0;if(_nf3.CollisionEvents!=undefined){while(i<_nf3.CollisionEvents.length){_FF.Event[_Vb2]=true;var key=parseInt(_nf3.CollisionEvents[i]);var _4X=_nf3.CollisionEvents[i+1];var _qf3=new _cf3();_qf3._9f3=_4X;_qf3._rf3=false;_qf3._Gk=this;_FF._KM2[key]=_qf3;i+=2;}}if(_nf3.physicsObject!=undefined){_FF._c01.physicsObject=_nf3.physicsObject;_FF._c01.physicsSensor=_nf3.physicsSensor;_FF._c01.physicsShape=_nf3.physicsShape;_FF._c01.physicsDensity=_nf3.physicsDensity;
_FF._c01.physicsRestitution=_nf3.physicsRestitution;_FF._c01.physicsGroup=_nf3.physicsGroup;_FF._c01.physicsLinearDamping=_nf3.physicsLinearDamping;_FF._c01.physicsAngularDamping=_nf3.physicsAngularDamping;_FF._c01.physicsFriction=_nf3.physicsFriction;_FF._c01.physicsAwake=_nf3.physicsAwake;_FF._c01.physicsKinematic=_nf3.physicsKinematic;_FF._c01.physicsShapeVertices=_nf3.physicsShapeVertices;}}return _FF;}_ff3.prototype._sf3=function(_i2,_7H){if(this.Event[_i2])return true;return false;};_ff3.prototype._R4=function(_i2,
index,_Ls,_6H,_tf3){if(!_tf3&&(_i2!=_fP)&&_b71!=-1&&!((_Ls.persistent||_x2._uf3)&&((_i2==_7m)||(_i2==_6m)||(_i2==_tP)||(_i2==_1A2)||(_i2==_eH)||(_i2==_KC2)||(_i2==_EC2)))){return;}var _vf3=_wH;var _wf3=_xH;var _xf3=_WK2;var _yf3=_Yk;_WK2=this;_wH=_i2;_xH=index;_Yk=false;var _9B1=true;switch(_i2){case _6m:if(this.PreCreateEvent)this.PreCreateEvent(_Ls,_6H);else _9B1=false;break;case _7m:if(this.CreateEvent)this.CreateEvent(_Ls,_6H);else _9B1=false;break;case _tP:if(this.DestroyEvent)this.DestroyEvent(_Ls,_6H);
else _9B1=false;break;case _fP:if(this.CleanUpEvent)this.CleanUpEvent(_Ls,_6H);else _9B1=false;break;case _1A2:_9B1=false;break;case _OE2:_9B1=false;break;case _Vb2:if(this._KM2[index])this._KM2[index]._9f3(_Ls,_6H);break;case __C2:if(this._jf3[_i2|index])this._jf3[_i2|index](_Ls,_6H);else _9B1=false;break;case _PE2:_9B1=false;break;case _eH:_9B1=false;break;case _YC2:if(this.DrawEvent)this.DrawEvent(_Ls,_6H);else _9B1=false;break;case _1D2:if(this._kf3[_i2|index])this._kf3[_i2|index](_Ls,_6H);else _9B1=false;
break;case _3D2:if(this._lf3[_i2|index])this._lf3[_i2|index](_Ls,_6H);else _9B1=false;break;case _5D2:if(this.Triggers[_i2|index]){var _zf3=this.Triggers[_i2|index];var _pf3=_zf3._bf3;var result=_pf3.pFunc(_Ls,_6H);if(result|_9H){_zf3._9f3(_Ls,_6H);}}break;case _RE2:if(this.DrawGUI)this.DrawGUI(_Ls,_6H);else _9B1=false;break;case _TE2:if(this.DrawEventBegin)this.DrawEventBegin(_Ls,_6H);else _9B1=false;break;case _UE2:if(this.DrawEventEnd)this.DrawEventEnd(_Ls,_6H);else _9B1=false;break;case _VE2:if(this.DrawGUIBegin)this.DrawGUIBegin(_Ls,
_6H);else _9B1=false;break;case _WE2:if(this.DrawGUIEnd)this.DrawGUIEnd(_Ls,_6H);else _9B1=false;break;case _XE2:if(this.DrawPre)this.DrawPre(_Ls,_6H);else _9B1=false;break;case _YE2:if(this.DrawPost)this.DrawPost(_Ls,_6H);else _9B1=false;break;case _SE2:if(this.DrawResize)this.DrawResize(_Ls,_6H);else _9B1=false;break;case _lA2:if(this.StepBeginEvent)this.StepBeginEvent(_Ls,_6H);else _9B1=false;break;case _nA2:if(this.StepNormalEvent)this.StepNormalEvent(_Ls,_6H);else _9B1=false;break;case _pA2:if(this.StepEndEvent)this.StepEndEvent(_Ls,
_6H);else _9B1=false;break;case _6z2:if(this.OutsideEvent)this.OutsideEvent(_Ls,_6H);else _9B1=false;break;case _8z2:if(this.BoundaryEvent)this.BoundaryEvent(_Ls,_6H);else _9B1=false;break;case _lB2:if(this.StartGameEvent)this.StartGameEvent(_Ls,_6H);else _9B1=false;break;case _nB2:if(this.EndGameEvent)this.EndGameEvent(_Ls,_6H);else _9B1=false;break;case _pB2:if(this.StartRoomEvent)this.StartRoomEvent(_Ls,_6H);else _9B1=false;break;case _rB2:if(this.EndRoomEvent)this.EndRoomEvent(_Ls,_6H);else _9B1=false;break;
case _Mm:if(this.NoLivesEvent)this.NoLivesEvent(_Ls,_6H);else _9B1=false;break;case _uB2:if(this.AnimationEndEvent)this.AnimationEndEvent(_Ls,_6H);else _9B1=false;break;case _Gb2:if(this.EndOfPathEvent)this.EndOfPathEvent(_Ls,_6H);else _9B1=false;break;case _Xm:if(this.NoHealthEvent)this.NoHealthEvent(_Ls,_6H);else _9B1=false;break;case _yB2:if(this.CloseButtonEvent)this.CloseButtonEvent(_Ls,_6H);else _9B1=false;break;case _ez2:if(this.OutsideView0Event)this.OutsideView0Event(_Ls,_6H);else _9B1=false;break;
case _BB2:if(this.OutsideView1Event)this.OutsideView1Event(_Ls,_6H);else _9B1=false;break;case _DB2:if(this.OutsideView2Event)this.OutsideView2Event(_Ls,_6H);else _9B1=false;break;case _FB2:if(this.OutsideView3Event)this.OutsideView3Event(_Ls,_6H);else _9B1=false;break;case _HB2:if(this.OutsideView4Event)this.OutsideView4Event(_Ls,_6H);else _9B1=false;break;case _JB2:if(this.OutsideView5Event)this.OutsideView5Event(_Ls,_6H);else _9B1=false;break;case _LB2:if(this.OutsideView6Event)this.OutsideView6Event(_Ls,
_6H);else _9B1=false;break;case _NB2:if(this.OutsideView7Event)this.OutsideView7Event(_Ls,_6H);else _9B1=false;break;case _fz2:if(this.BoundaryView0Event)this.BoundaryView0Event(_Ls,_6H);else _9B1=false;break;case _QB2:if(this.BoundaryView1Event)this.BoundaryView1Event(_Ls,_6H);else _9B1=false;break;case _SB2:if(this.BoundaryView2Event)this.BoundaryView2Event(_Ls,_6H);else _9B1=false;break;case _UB2:if(this.BoundaryView3Event)this.BoundaryView3Event(_Ls,_6H);else _9B1=false;break;case _WB2:if(this.BoundaryView4Event)this.BoundaryView4Event(_Ls,
_6H);else _9B1=false;break;case _YB2:if(this.BoundaryView5Event)this.BoundaryView5Event(_Ls,_6H);else _9B1=false;break;case __B2:if(this.BoundaryView6Event)this.BoundaryView6Event(_Ls,_6H);else _9B1=false;break;case _1C2:if(this.BoundaryView7Event)this.BoundaryView7Event(_Ls,_6H);else _9B1=false;break;case _S4:if(this.AnimationUpdateEvent)this.AnimationUpdateEvent(_Ls,_6H);else _9B1=false;break;case _o2:if(this.AnimationEventEvent)this.AnimationEventEvent(_Ls,_6H);else _9B1=false;break;case _AC2:if(this.WebImageLoadedEvent)this.WebImageLoadedEvent(_Ls,
_6H);else _9B1=false;break;case _CC2:if(this.WebSoundLoadedEvent)this.WebSoundLoadedEvent(_Ls,_6H);else _9B1=false;break;case _EC2:if(this.WebAsyncEvent)this.WebAsyncEvent(_Ls,_6H);else _9B1=false;break;case _GC2:if(this.WebUserInteractionEvent)this.WebUserInteractionEvent(_Ls,_6H);else _9B1=false;break;case _IC2:if(this.WebIAPEvent)this.WebIAPEvent(_Ls,_6H);else _9B1=false;break;case _MC2:if(this.SocialEvent)this.SocialEvent(_Ls,_6H);else _9B1=false;break;case _OC2:if(this.PushNotificationEvent)this.PushNotificationEvent(_Ls,
_6H);else _9B1=false;break;case _Fd1:if(this.AsyncSaveLoadEvent)this.AsyncSaveLoadEvent(_Ls,_6H);else _9B1=false;break;case _KC2:if(this.NetworkingEvent)this.NetworkingEvent(_Ls,_6H);else _9B1=false;break;case _RC2:if(this.AudioPlaybackEvent)this.AudioPlaybackEvent(_Ls,_6H);else _9B1=false;break;case _TC2:if(this.AudioPlaybackEndedEvent)this.AudioPlaybackEndedEvent(_Ls,_6H);else _9B1=false;break;case _Ce1:if(this.AudioRecordingEvent)this.AudioRecordingEvent(_Ls,_6H);else _9B1=false;break;case _Wb1:if(this.SystemEvent)this.SystemEvent(_Ls,
_6H);else _9B1=false;break;case _WC2:if(this.BroadcastMessageEvent)this.BroadcastMessageEvent(_Ls,_6H);else _9B1=false;break;case _2C2:if(this.UserEvent0)this.UserEvent0(_Ls,_6H);else _9B1=false;break;case _4C2:if(this.UserEvent1)this.UserEvent1(_Ls,_6H);else _9B1=false;break;case _6C2:if(this.UserEvent2)this.UserEvent2(_Ls,_6H);else _9B1=false;break;case _8C2:if(this.UserEvent3)this.UserEvent3(_Ls,_6H);else _9B1=false;break;case _aC2:if(this.UserEvent4)this.UserEvent4(_Ls,_6H);else _9B1=false;break;case _cC2:if(this.UserEvent5)this.UserEvent5(_Ls,
_6H);else _9B1=false;break;case _eC2:if(this.UserEvent6)this.UserEvent6(_Ls,_6H);else _9B1=false;break;case _gC2:if(this.UserEvent7)this.UserEvent7(_Ls,_6H);else _9B1=false;break;case _iC2:if(this.UserEvent8)this.UserEvent8(_Ls,_6H);else _9B1=false;break;case _kC2:if(this.UserEvent9)this.UserEvent9(_Ls,_6H);else _9B1=false;break;case _mC2:if(this.UserEvent10)this.UserEvent10(_Ls,_6H);else _9B1=false;break;case _oC2:if(this.UserEvent11)this.UserEvent11(_Ls,_6H);else _9B1=false;break;case _qC2:if(this.UserEvent12)this.UserEvent12(_Ls,
_6H);else _9B1=false;break;case _sC2:if(this.UserEvent13)this.UserEvent13(_Ls,_6H);else _9B1=false;break;case _uC2:if(this.UserEvent14)this.UserEvent14(_Ls,_6H);else _9B1=false;break;case _wC2:if(this.UserEvent15)this.UserEvent15(_Ls,_6H);else _9B1=false;break;case _Hz2:if(this.NoButtonPressed)this.NoButtonPressed(_Ls,_6H);else _9B1=false;break;case _yz2:if(this.LeftButtonDown)this.LeftButtonDown(_Ls,_6H);else _9B1=false;break;case _Az2:if(this.RightButtonDown)this.RightButtonDown(_Ls,_6H);else _9B1=false;break;
case _zz2:if(this.MiddleButtonDown)this.MiddleButtonDown(_Ls,_6H);else _9B1=false;break;case _Bz2:if(this.LeftButtonPressed)this.LeftButtonPressed(_Ls,_6H);else _9B1=false;break;case _Dz2:if(this.RightButtonPressed)this.RightButtonPressed(_Ls,_6H);else _9B1=false;break;case _Cz2:if(this.MiddleButtonPressed)this.MiddleButtonPressed(_Ls,_6H);else _9B1=false;break;case _Ez2:if(this.LeftButtonReleased)this.LeftButtonReleased(_Ls,_6H);else _9B1=false;break;case _Gz2:if(this.RightButtonReleased)this.RightButtonReleased(_Ls,
_6H);else _9B1=false;break;case _Fz2:if(this.MiddleButtonReleased)this.MiddleButtonReleased(_Ls,_6H);else _9B1=false;break;case _Kz2:if(this.MouseWheelUp)this.MouseWheelUp(_Ls,_6H);else _9B1=false;break;case _Lz2:if(this.MouseWheelDown)this.MouseWheelDown(_Ls,_6H);else _9B1=false;break;case _Qz2:if(this.GlobalLeftButtonDown)this.GlobalLeftButtonDown(_Ls,_6H);else _9B1=false;break;case _3B2:if(this.GlobalRightButtonDown)this.GlobalRightButtonDown(_Ls,_6H);else _9B1=false;break;case _5B2:if(this.GlobalMiddleButtonDown)this.GlobalMiddleButtonDown(_Ls,
_6H);else _9B1=false;break;case _Rz2:if(this.GlobalLeftButtonPressed)this.GlobalLeftButtonPressed(_Ls,_6H);else _9B1=false;break;case _8B2:if(this.GlobalRightButtonPressed)this.GlobalRightButtonPressed(_Ls,_6H);else _9B1=false;break;case _aB2:if(this.GlobalMiddleButtonPressed)this.GlobalMiddleButtonPressed(_Ls,_6H);else _9B1=false;break;case _Sz2:if(this.GlobalLeftButtonReleased)this.GlobalLeftButtonReleased(_Ls,_6H);else _9B1=false;break;case _dB2:if(this.GlobalRightButtonReleased)this.GlobalRightButtonReleased(_Ls,
_6H);else _9B1=false;break;case _fB2:if(this.GlobalMiddleButtonReleased)this.GlobalMiddleButtonReleased(_Ls,_6H);else _9B1=false;break;case _Iz2:if(this.MouseEnter)this.MouseEnter(_Ls,_6H);else _9B1=false;break;case _Jz2:if(this.MouseLeave)this.MouseLeave(_Ls,_6H);else _9B1=false;break;case _8D2:if(this.GestureTapEvent)this.GestureTapEvent(_Ls,_6H);else _9B1=false;break;case _aD2:if(this.GestureDoubleTapEvent)this.GestureDoubleTapEvent(_Ls,_6H);else _9B1=false;break;case _cD2:if(this.GestureDragStartEvent)this.GestureDragStartEvent(_Ls,
_6H);else _9B1=false;break;case _eD2:if(this.GestureDragMoveEvent)this.GestureDragMoveEvent(_Ls,_6H);else _9B1=false;break;case _gD2:if(this.GestureDragEndEvent)this.GestureDragEndEvent(_Ls,_6H);else _9B1=false;break;case _iD2:if(this.GestureFlickEvent)this.GestureFlickEvent(_Ls,_6H);else _9B1=false;break;case _yD2:if(this.GestureGlobalTapEvent)this.GestureGlobalTapEvent(_Ls,_6H);else _9B1=false;break;case _AD2:if(this.GestureGlobalDoubleTapEvent)this.GestureGlobalDoubleTapEvent(_Ls,_6H);else _9B1=false;break;
case _CD2:if(this.GestureGlobalDragStartEvent)this.GestureGlobalDragStartEvent(_Ls,_6H);else _9B1=false;break;case _ED2:if(this.GestureGlobalDragMoveEvent)this.GestureGlobalDragMoveEvent(_Ls,_6H);else _9B1=false;break;case _GD2:if(this.GestureGlobalDragEndEvent)this.GestureGlobalDragEndEvent(_Ls,_6H);else _9B1=false;break;case _ID2:if(this.GestureGlobalFlickEvent)this.GestureGlobalFlickEvent(_Ls,_6H);else _9B1=false;break;case _7A2:if(this._if3[0]!=null)this._if3[0](_Ls,_6H);else _9B1=false;break;case _8A2:if(this._if3[1]!=null)this._if3[1](_Ls,
_6H);else _9B1=false;break;case _9A2:if(this._if3[2]!=null)this._if3[2](_Ls,_6H);else _9B1=false;break;case _aA2:if(this._if3[3]!=null)this._if3[3](_Ls,_6H);else _9B1=false;break;case _bA2:if(this._if3[4]!=null)this._if3[4](_Ls,_6H);else _9B1=false;break;case _cA2:if(this._if3[5]!=null)this._if3[5](_Ls,_6H);else _9B1=false;break;case _dA2:if(this._if3[6]!=null)this._if3[6](_Ls,_6H);else _9B1=false;break;case _eA2:if(this._if3[7]!=null)this._if3[7](_Ls,_6H);else _9B1=false;break;case _fA2:if(this._if3[8]!=null)this._if3[8](_Ls,
_6H);else _9B1=false;break;case _gA2:if(this._if3[9]!=null)this._if3[9](_Ls,_6H);else _9B1=false;break;case _hA2:if(this._if3[10]!=null)this._if3[10](_Ls,_6H);else _9B1=false;break;case _iA2:if(this._if3[11]!=null)this._if3[11](_Ls,_6H);else _9B1=false;break;default :_9B1=false;}_Yk=_yf3;_wH=_vf3;_xH=_wf3;_WK2=_xf3;return _9B1;};function _Q_2(_i2){switch(_i2){case _6m:return _XD2;case _7m:return _3A2;case _tP:return _4A2;case _fP:return _5A2;case _1A2:return _6A2;case _OE2:return _jA2;case _Vb2:return _qA2;case __C2:return _ZC2;
case _PE2:return _rA2;case _eH:return _uH;case _YC2:return _XC2;case _1D2:return _0D2;case _3D2:return _2D2;case _5D2:return _4D2;case _RE2:return _XC2;case _TE2:return _XC2;case _UE2:return _XC2;case _VE2:return _XC2;case _WE2:return _XC2;case _XE2:return _XC2;case _YE2:return _XC2;case _SE2:return _XC2;case _lA2:return _jA2;case _nA2:return _jA2;case _pA2:return _jA2;case _6z2:return _uH;case _8z2:return _uH;case _lB2:return _uH;case _nB2:return _uH;case _pB2:return _uH;case _rB2:return _uH;case _Mm:return _uH;case _uB2:return _uH;case _Gb2:return _uH;
case _Xm:return _uH;case _yB2:return _uH;case _ez2:return _uH;case _BB2:return _uH;case _DB2:return _uH;case _FB2:return _uH;case _HB2:return _uH;case _JB2:return _uH;case _LB2:return _uH;case _NB2:return _uH;case _fz2:return _uH;case _QB2:return _uH;case _SB2:return _uH;case _UB2:return _uH;case _WB2:return _uH;case _YB2:return _uH;case __B2:return _uH;case _1C2:return _uH;case _S4:return _uH;case _o2:return _uH;case _AC2:return _uH;case _CC2:return _uH;case _EC2:return _uH;case _GC2:return _uH;case _IC2:return _uH;case _MC2:return _uH;case _OC2:return _uH;
case _Fd1:return _uH;case _KC2:return _uH;case _RC2:return _uH;case _TC2:return _uH;case _Ce1:return _uH;case _Wb1:return _uH;case _2C2:return _uH;case _4C2:return _uH;case _6C2:return _uH;case _8C2:return _uH;case _aC2:return _uH;case _cC2:return _uH;case _eC2:return _uH;case _gC2:return _uH;case _iC2:return _uH;case _kC2:return _uH;case _mC2:return _uH;case _oC2:return _uH;case _qC2:return _uH;case _sC2:return _uH;case _uC2:return _uH;case _wC2:return _uH;case _Hz2:return _rA2;case _yz2:return _rA2;case _Az2:return _rA2;case _zz2:return _rA2;case _Bz2:return _rA2;
case _Dz2:return _rA2;case _Cz2:return _rA2;case _Ez2:return _rA2;case _Gz2:return _rA2;case _Fz2:return _rA2;case _Kz2:return _rA2;case _Lz2:return _rA2;case _Qz2:return _rA2;case _3B2:return _rA2;case _5B2:return _rA2;case _Rz2:return _rA2;case _8B2:return _rA2;case _aB2:return _rA2;case _Sz2:return _rA2;case _dB2:return _rA2;case _fB2:return _rA2;case _Iz2:return _rA2;case _Jz2:return _rA2;case _8D2:return _6D2;case _aD2:return _6D2;case _cD2:return _6D2;case _eD2:return _6D2;case _gD2:return _6D2;case _iD2:return _6D2;case _yD2:return _6D2;
case _AD2:return _6D2;case _CD2:return _6D2;case _ED2:return _6D2;case _GD2:return _6D2;case _ID2:return _6D2;case _7A2:return _6A2;case _8A2:return _6A2;case _9A2:return _6A2;case _aA2:return _6A2;case _bA2:return _6A2;case _cA2:return _6A2;case _dA2:return _6A2;case _eA2:return _6A2;case _fA2:return _6A2;case _gA2:return _6A2;case _hA2:return _6A2;case _iA2:return _6A2;default :return -1;}}function _R_2(_i2,_7H){if((_i2&0xff00)==__C2){return _7H;}else if((_i2&0xff00)==_1D2){return _7H;}else if((_i2&0xff00)==_3D2){return _7H;}else if((_i2&0xff00)==_Vb2){
return _7H;}switch(_i2){case _6m:return 0;case _7m:return 0;case _tP:return 0;case _fP:return 0;case _1A2:return 0;case _OE2:return 0;case _Vb2:return 0;case __C2:return _7H;case _PE2:return 0;case _eH:return 0;case _YC2:return 0;case _1D2:return _7H;case _3D2:return _7H;case _5D2:return 0;case _RE2:return _eF2;case _TE2:return _TE2&0xff;case _UE2:return _UE2&0xff;case _VE2:return _VE2&0xff;case _WE2:return _WE2&0xff;case _XE2:return _XE2&0xff;case _YE2:return _YE2&0xff;case _SE2:return _fF2&0xff;case _lA2:return _kA2;case _nA2:return _mA2;case _pA2:return _oA2;
case _6z2:return _iB2;case _8z2:return _jB2;case _lB2:return _kB2;case _nB2:return _mB2;case _pB2:return _oB2;case _rB2:return _qB2;case _Mm:return _sB2;case _uB2:return _tB2;case _Gb2:return _vB2;case _Xm:return _wB2;case _yB2:return _xB2;case _ez2:return _zB2;case _BB2:return _AB2;case _DB2:return _CB2;case _FB2:return _EB2;case _HB2:return _GB2;case _JB2:return _IB2;case _LB2:return _KB2;case _NB2:return _MB2;case _fz2:return _OB2;case _QB2:return _PB2;case _SB2:return _RB2;case _UB2:return _TB2;case _WB2:return _VB2;case _YB2:return _XB2;case __B2:return _ZB2;
case _1C2:return _0C2;case _S4:return _xC2;case _o2:return _yC2;case _AC2:return _zC2;case _CC2:return _BC2;case _EC2:return _PC2;case _GC2:return _FC2;case _IC2:return _HC2;case _MC2:return _LC2;case _OC2:return _NC2;case _Fd1:return _PC2;case _KC2:return _JC2;case _RC2:return _QC2;case _TC2:return _SC2;case _Ce1:return _Ce1;case _Wb1:return _UC2;case _WC2:return _VC2;case _2C2:return _ZE2;case _4C2:return __E2;case _6C2:return _0F2;case _8C2:return _1F2;case _aC2:return _2F2;case _cC2:return _3F2;case _eC2:return _4F2;case _gC2:return _5F2;case _iC2:return _6F2;
case _kC2:return _7F2;case _mC2:return _8F2;case _oC2:return _9F2;case _qC2:return _aF2;case _sC2:return _bF2;case _uC2:return _cF2;case _wC2:return _dF2;case _Hz2:return _vA2;case _yz2:return _sA2;case _Az2:return _tA2;case _zz2:return _uA2;case _Bz2:return _wA2;case _Dz2:return _xA2;case _Cz2:return _yA2;case _Ez2:return _zA2;case _Gz2:return _AA2;case _Fz2:return _BA2;case _Kz2:return _gB2;case _Lz2:return _hB2;case _Qz2:return _1B2;case _3B2:return _2B2;case _5B2:return _4B2;case _Rz2:return _6B2;case _8B2:return _7B2;case _aB2:return _9B2;
case _Sz2:return _bB2;case _dB2:return _cB2;case _fB2:return _eB2;case _Iz2:return _CA2;case _Jz2:return _DA2;case _8D2:return _7D2;case _aD2:return _9D2;case _cD2:return _bD2;case _eD2:return _dD2;case _gD2:return _fD2;case _iD2:return _hD2;case _yD2:return _xD2;case _AD2:return _zD2;case _CD2:return _BD2;case _ED2:return _DD2;case _GD2:return _FD2;case _ID2:return _HD2;case _7A2:return 0;case _8A2:return 1;case _9A2:return 2;case _aA2:return 3;case _bA2:return 4;case _cA2:return 5;case _dA2:return 6;case _eA2:return 7;case _fA2:return 8;case _gA2:return 9;
case _hA2:return 10;case _iA2:return 11;default :return 0;}}_ff3.prototype._gT=function(_Ps){this._Mz2._Ke(_Ps);var _FF=this;while(_FF!=null){_FF._bb3._Ke(_Ps);_FF=_FF._dE;}};_ff3.prototype._kT=function(_Ps){this._Mz2._3S(_Ps);var _Af3=this;while(_Af3!=null){_Af3._bb3._3S(_Ps);_Af3=_Af3._dE;}};_ff3.prototype._Bf3=function(_i2,_N2,_tf3){if(!this.Event[_i2|_N2])return;var _Zj=this._bb3._Zj;for(var i=0;i<_Zj.length;i++){var _5t=_Zj[i];this._R4(_i2,_N2,_5t,_5t,_tf3);}};function _VL2(){this._Cf3=[];this._ed2=[];
this.length=0;}_VL2.prototype._RY=function(){return this._ed2;};_VL2.prototype._Ke=function(_h13){this.length++;this._Cf3[_h13.__E]=_h13;this._ed2[_h13._IP]=_h13;};_VL2.prototype._I4=function(_mf3){return this._ed2[_mf3];};_VL2.prototype._zP=function(_nf){if(!this._ed2[_nf])return false;else return true;};_VL2.prototype._Df3=function(_mf3){var _FF=this._ed2[_mf3];if(!_FF){return "<undefined>";}else {return _FF.__E;}};_VL2.prototype._Ef3=function(_R2){var _FF=this._Cf3[_R2];if(_FF!=null)return _FF._IP;return -1;
};_VL2.prototype._n2=function(_i2,_N2,_tf3){for(var _RE=0;_RE<_m2._ed2.length;_RE++){var _FF=_m2._ed2[_RE];if(_FF.Event[_i2|_N2]){_FF._Bf3(_i2,_N2,_tf3);}}};_VL2.prototype._UM2=function(){var _Zj=this._ed2;for(var index=0;index<_Zj.length;index++){var _FF=_Zj[index];_FF._dE=_m2._I4(_FF._GP);if(!_FF._dE)_FF._dE=null;for(var e=0;e<_FF.Event.length;e++){var _Jh=_FF.Event[e];if(_Jh){_FF._5z2[e]=true;}}}for(var index=0;index<_Zj.length;index++){var _y83=_Zj[index];var _FF=_y83._dE;while(_FF!=null){for(var e=0;e<_FF.Event.length;
e++){var _Jh=_FF.Event[e];if(_Jh){_y83._5z2[e]=true;}}_FF=_FF._dE;}}};function GetWithArray(_mf3){var _Ff3=[];if((typeof _mf3==="object"&&!(_mf3 instanceof _Vs))&&!((_mf3 instanceof Array)||(_mf3 instanceof ArrayBuffer))){_Ff3[0]=_mf3;}else if(_mf3===_JP){_Ff3=_x2._RY();}else if((typeof _mf3==="undefined")){}else {_mf3=yyGetInt32(_mf3);var _FF=_m2._I4(_mf3);if(_FF!=null){_Ff3=_FF._bb3._Zj;}else {var _5t=_Lm._I4(_mf3);if(_5t!=null){_Ff3[0]=_5t;}}}var _u3=[];for(var _x5=0;_x5<_Ff3.length;++_x5){var _RE=_Ff3[_x5];if(_RE instanceof _mP){
if(!_RE.marked&&_RE.active){_u3.push(_RE);}}else {_u3.push(_RE);}}return _u3;}function _Hk(){this._Zj=[];this.length=0;this._u7=0;this._Gf3=-1;}_Hk.prototype._I4=function(_N2){return this._Zj[_N2];};_Hk.prototype._Ke=function(_aU2){for(var i=0;i<this._Zj.length;i++){if(_aU2.depth<this._Zj[i].depth){this._Zj.splice(i,0,_aU2);this._u7++;this.length=this._Zj.length;return i;}}this._Zj[this._Zj.length]=_aU2;this._u7++;this.length=this._Zj.length;return this.length-1;};_Hk.prototype._Hf3=function(_aU2){if(this._Gf3<0){
this._Gf3=this._Zj.length;}this._Zj[this._Zj.length]=_aU2;this._u7++;this.length=this._Zj.length;return this.length-1;};_Hk.prototype._vd3=function(_aU2){var i=this._Gf3;if(i<0)return;var _Wf=[];while(i<this._Zj.length){_Wf[_Wf.length]=this._Zj[i];i++;}this._Zj.splice(this._Gf3,this._Zj.length-this._Gf3);for(i=0;i<_Wf.length;i++){this._Ke(_Wf[i]);}this._Gf3=-1;};_Hk.prototype._Pk=function(_aU2){for(var i=0;i<this._Zj.length;i++){if(_aU2==this._Zj[i]){this._Zj.splice(i,1);this._u7--;this.length=this._Zj.length;
return true;}}return false;};_Hk.prototype.__e=function(){this._Zj=[];this.length=this._u7=0;};_Hk.prototype._I4=function(_N2){return this._Zj[_N2];};_Hk.prototype._zT=function(_aU2){for(var i=0;i<this._Zj.length;i++){if(_aU2==this._Zj[i]){return i;}}return -1;};_Hk.prototype._ri=function(_si){this._Zj=_si._Zj.slice();this.length=_si.length;this._u7=_si._u7;this._Gf3=_si._Gf3;};var _If3=-1,_Jf3=0,_Kf3=1,_Lf3=0,_Mf3=1,_Nf3=2,_Sy2=3,_My2=4,_Of3=5,_Fy2=6,_Pf3=7,_Iy2=8,_Oy2=9,_Dy2=10,_Qf3=11,_Rf3=12,_Uy2=13,
_Sf3=14,_Tf3=0,_Uf3=1,_Vf3=2,_Wf3=3,_Xf3=4,_Yf3=5,_1p=0,_Zf3=1,__f3=2,_0g3=0,_1g3=1,_2g3=2,_3g3=3;var _4g3=[];function _5g3(){this._oJ=_6g3;this.__e=_6g3;this._oJ();}function _6g3(){this.__type="[ParticleType]";this.id=-1;this._8m=true;this._OT=-1;this._R01=0;this._S01=true;this._T01=false;this._U01=false;this.shape=_Lf3;this.sizeMinX=1.0;this.sizeMaxX=1.0;this.sizeMinY=1.0;this.sizeMaxY=1.0;this._V01=0.0;this._W01=0.0;this._X01=0.0;this._Y01=0.0;this._xQ=1.0;this._yQ=1.0;this._Z01=100;this.__01=100;
this._211=0;this._311=0;this._011=0;this._111=0;this._411=0.0;this._511=0.0;this._611=0.0;this._711=0.0;this._811=0.0;this._911=0.0;this._a11=0.0;this._b11=0.0;this._e11=0.0;this._f11=0.0;this._g11=0.0;this._h11=0.0;this._i11=0.0;this._c11=0.0;this._d11=270.0;this._7g3=_Tf3;this._j11=[];this._j11[0]=_Tm;this._j11[1]=_Tm;this._j11[2]=_Tm;this._k11=1.0;this._l11=1.0;this._m11=1.0;this._n11=false;}function _8g3(){this.__e=_9g3;this._oJ=_9g3;this._oJ();}function _9g3(){this.particles=[];this._8m=true;
this._ag3=false;this.name=undefined;this.enabled=true;this.mode=_If3;this._bk=0;this._M01=false;this.delayMin=0;this.delayMax=0;this._bg3=0;this.delayUnit=1;this.intervalMin=0;this.intervalMax=0;this._cg3=0;this.intervalUnit=1;this._Q01=0;this._TY=0.0;this._UY=0.0;this._VY=0.0;this._WY=0.0;this.shape=_0g3;this._N01=_1p;}function _dg3(){this._eg3=false;this._Q01=0;this._fg3=0;this._gg3=0;this.x=0;this.y=0;this.speed=0;this._7Z=0;this._361=0;this.color=0xffffff;this.alpha=1.0;this._hg3=0;this._ig3=0;
this._R01=0;this._jg3=0;this.id=-1;}function _kg3(){this.__e=_lg3;this._oJ=_lg3;this._oJ();}function _lg3(){this._F01=-1;this._8m=false;this.emitters=[];this._I01=true;this.depth=0.0;this._G01=0.0;this._H01=0.0;this._mg3=true;this._ng3=true;this.color=_Tm;this.alpha=1.0;this.angle=0.0;this.globalSpaceParticles=false;this._973=new _Dy();this._og3=-1;this._pg3=false;}function _4J(){this.name="";this.originX=0;this.originY=0;this.drawOrder=0;this.globalSpaceParticles=false;this.index=-1;this.emitters=[];
}_4J._m01=[];_4J._Je1=function(){var _OG1=new _4J();_OG1.index=_4J._H3();_4J._m01.push(_OG1);return _OG1;};_4J._3N2=function(json){var _OG1=_4J._Je1();_OG1.name=json.pName;_OG1.originX=json.originX;_OG1.originY=json.originY;_OG1.drawOrder=json.drawOrder;_OG1.globalSpaceParticles=json.globalSpaceParticles;for(var i=0;i<json.emitters.length;++i){_OG1.emitters.push(json.emitters[i]);}return _OG1;};_4J._H3=function(){return _4J._m01.length;};_4J._I4=function(index){if(index<0||index>=_4J._H3()){return null;
}return _4J._m01[index];};_4J._5J=function(name){for(var i=_4J._H3()-1;i>=0;--i){if(name==_4J._m01[i].name){return i;}}return -1;};_4J.prototype._qg3=function(){return this.index;};_4J.prototype._zS=function(_rT,_W21,_rg3){if(_rT===undefined)_rT=-1;if(_W21===undefined)_W21=true;if(_rg3===undefined)_rg3=null;var _Rp=(_rg3==null)?_Vn(_rT,_W21):_sg3(_rT,_W21,_rg3);if(_Rp==-1){return _Rp;}var _OG1=_q01[_Rp];_OG1._F01=this.index;_OG1._I01=(this.drawOrder==0);_OG1.globalSpaceParticles=this.globalSpaceParticles;
for(var i=this.emitters.length-1;i>=0;--i){var _tg3=this.emitters[i];var _ug3=_J01[_tg3];var _vg3=_Zo(_Rp);var _wg3=_OG1.emitters[_vg3];_wg3.name=_ug3.name;_wg3.enabled=_ug3.enabled;_wg3.mode=_ug3.mode;_wg3._bk=_ug3._bk;_wg3._M01=_ug3._M01;_wg3._N01=_ug3._N01;_wg3.shape=_ug3.shape;_wg3._TY=_ug3._TY;_wg3._VY=_ug3._VY;_wg3._UY=_ug3._UY;_wg3._WY=_ug3._WY;_wg3._Q01=_ug3._Q01;_P21(_Rp,_vg3,_ug3.delayMin,_ug3.delayMax,_ug3.delayUnit);_T21(_Rp,_vg3,_ug3.intervalMin,_ug3.intervalMax,_ug3.intervalUnit);if(!_wg3.enabled)continue;
if(_wg3.mode==_Jf3){_8p(_Rp,_vg3,_ug3._Q01,_ug3._bk);}else if(_wg3._bg3<=0.0){_6p(_Rp,_vg3,_ug3._Q01,_ug3._bk);}}return _Rp;};function _Gl(_Wb){var _i3=_VW();return _i3*_Wb;}function _xg3(_yg3,_zg3,_Ag3){var _uu=_zg3-_yg3;if(_uu<=0)return _yg3;var _R5=0.0;var _ym=0.0;switch(_Ag3){case _1p:_ym=_yg3+_Gl(1)*_uu;break;//Gaussian distribution, SD = 1, cutoff @ +/- 3
case _Zf3:{do {_R5=(_Gl(1)-0.5)*6.0;}while((exp(-(_R5*_R5)*0.5)<=_Gl(1)));_ym=_yg3+((_R5+3.0)*(1.0/6.0))*_uu;}break;//Inverse Gaussian distribution, SD = 1, cutoff @ +/- 3
case __f3:{
do {_R5=(_Gl(1)-0.5)*6.0;}while(!(exp(-(_R5*_R5)*0.5)>_Gl(1)));if(_R5<0.0)_R5+=6.0;_ym=_yg3+(_R5*(1.0/6.0))*_uu;}break;default :_ym=_yg3+_Gl(1)*_uu;}return _ym;}function _Bg3(_pi,_Wb){var _7Z;if(_pi==0){if(_Wb>0){_7Z=270;}else if(_Wb<0){_7Z=90;}else {_7Z=0;}}else {var _6L=180.0*(Math.atan2(_Wb,_pi))/Math.PI;if(_6L<=0){_7Z=-_6L;}else {_7Z=360.0-_6L;}}return _7Z-360.0*Math.floor(_7Z/360.0);}function _Cg3(_ul,_Dg3){return _Dg3*Math.cos(_ul*Math.PI/180.0);}function _Eg3(_ul,_Dg3){return -_Dg3*Math.sin(_ul*Math.PI/180.0);
}function _Fg3(_Gg3){var _Hg3=_w01[_Gg3._Q01];{if(_Gg3._fg3<=0||_Gg3._gg3<=0){switch(_Hg3._7g3){case _Tf3:_Gg3.color=_Hg3._j11[0];break;case _Uf3:_Gg3.color=_Hg3._j11[0];break;case _Vf3:_Gg3.color=_Hg3._j11[0];break;case _Wf3:{var _i3=~~(_xg3(_Hg3._j11[0],_Hg3._j11[1],_1p));var _j3=~~(_xg3(_Hg3._j11[2],_Hg3._j11[3],_1p));var _k3=~~(_xg3(_Hg3._j11[4],_Hg3._j11[5],_1p));_Gg3.color=(_i3<<16)+(_j3<<8)+_k3;}break;case _Xf3:{var h=~~(_xg3(_Hg3._j11[0],_Hg3._j11[1],_1p));var _rh=~~(_xg3(_Hg3._j11[2],_Hg3._j11[3],_1p));
var _14=~~(_xg3(_Hg3._j11[4],_Hg3._j11[5],_1p));_Gg3.color=0xffffff;}break;case _Yf3:_Gg3.color=_Ub(_4H(_Hg3._j11[0],_Hg3._j11[1],_Gl(1)));break;}}else {switch(_Hg3._7g3){case _Uf3:{var _yd=_Gg3._fg3/_Gg3._gg3;if(_yd>1)_yd=1;_Gg3.color=_4H((_Hg3._j11[0]),(_Hg3._j11[1]),_yd);}break;case _Vf3:{var _yd=2.0*_Gg3._fg3/_Gg3._gg3;if(_yd>2)_yd=2;if(_yd<1){_Gg3.color=_4H(_Hg3._j11[0],_Hg3._j11[1],_yd);}else {_Gg3.color=_4H(_Hg3._j11[1],_Hg3._j11[2],_yd-1);}}break;}}}}function _U51(_p11,_u4,_v4,_B11){var _ym=new _dg3;
var _Ig3=_w01[_B11];if(_Ig3==null||_Ig3==undefined)return null;_ym._eg3=true;_ym._Q01=_B11;_ym.x=_u4;_ym.y=_v4;_ym.speed=_xg3(_Ig3._411,_Ig3._511,0);_ym._7Z=_xg3(_Ig3._811,_Ig3._911,0);_ym._361=_xg3(_Ig3._e11,_Ig3._f11,0);_ym._gg3=_xg3(_Ig3._Z01,_Ig3.__01,0);_ym._fg3=0;_ym.color=0xffffff;_Fg3(_ym);_ym.alpha=_Ig3._k11;var random=Math.random();_ym._hg3=_Ig3.sizeMinX+((_Ig3.sizeMaxX-_Ig3.sizeMinX)*random);_ym._ig3=_Ig3.sizeMinY+((_Ig3.sizeMaxY-_Ig3.sizeMinY)*random);_ym._n11=_Ig3._n11;if(_Ig3._U01){_ym._R01=_Gl(10000);
}else {_ym._R01=_Ig3._R01;}if(_p11.globalSpaceParticles){_ym._7Z+=_qL2(Math.atan2(_p11._973._z5[_aA],_p11._973._z5[_9A]));}_ym._jg3=_Gl(100000);return _ym;}function _9o(){var _o8=_w01.length;_w01[_o8]=new _5g3();return _o8;}function _G11(_x3){_x3=yyGetInt32(_x3);var _Jg3=_w01[_x3];if(_Jg3==null||_Jg3==undefined)return false;_w01[_x3]=null;return true;}function _I11(_x3){_x3=yyGetInt32(_x3);var _Jg3=_w01[_x3];if(_Jg3==null||_Jg3==undefined)return false;_w01[_x3].__e();return true;}function _Kg3(){_w01=[];}function _H11(_x3){
var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return false;return true;}function _bo(_x3,_2o){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3.shape=yyGetInt32(_2o);_Jg3._OT=-1;}function _go(_x3,_u2,_I6,_K11,_Lg3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._OT=yyGetInt32(_u2);_Jg3._S01=yyGetBool(_I6);_Jg3._T01=yyGetBool(_K11);_Jg3._U01=yyGetBool(_Lg3);}function _M11(_x3,_gm){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;
_Jg3._R01=yyGetInt32(_gm);}function _co(_x3,_Mg3,_Ng3,_Og3,_Pg3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3.sizeMinX=yyGetReal(_Mg3);_Jg3.sizeMaxX=yyGetReal(_Ng3);_Jg3._V01=yyGetReal(_Og3);_Jg3._X01=yyGetReal(_Pg3);_Jg3.sizeMinY=yyGetReal(_Mg3);_Jg3.sizeMaxY=yyGetReal(_Ng3);_Jg3._W01=yyGetReal(_Og3);_Jg3._Y01=yyGetReal(_Pg3);}function _R11(_x3,_Mg3,_Ng3,_Og3,_Pg3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3.sizeMinX=yyGetReal(_Mg3);_Jg3.sizeMaxX=yyGetReal(_Ng3);
_Jg3._V01=yyGetReal(_Og3);_Jg3._X01=yyGetReal(_Pg3);}function _S11(_x3,_Mg3,_Ng3,_Og3,_Pg3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3.sizeMinY=yyGetReal(_Mg3);_Jg3.sizeMaxY=yyGetReal(_Ng3);_Jg3._W01=yyGetReal(_Og3);_Jg3._Y01=yyGetReal(_Pg3);}function _T11(_x3,_gn,_hn){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._xQ=yyGetReal(_gn);_Jg3._yQ=yyGetReal(_hn);}function _uo(_x3,_Qg3,_Rg3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;
_Jg3._Z01=yyGetInt32(_Qg3);_Jg3.__01=yyGetInt32(_Rg3);}function _Qo(_x3,_Sg3,_Tg3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._311=yyGetInt32(_Sg3);_Jg3._211=yyGetInt32(_Tg3);}function _Ro(_x3,_Ug3,_Vg3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._111=yyGetInt32(_Ug3);_Jg3._011=yyGetInt32(_Vg3);}function _Bo(_x3,_Wg3,_Xg3,_Yg3,_Zg3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._411=yyGetReal(_Wg3);_Jg3._511=yyGetReal(_Xg3);
_Jg3._611=yyGetReal(_Yg3);_Jg3._711=yyGetReal(_Zg3);}function _Co(_x3,__g3,_0h3,_1h3,_2h3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._811=yyGetReal(__g3);_Jg3._911=yyGetReal(_0h3);_Jg3._a11=yyGetReal(_1h3);_Jg3._b11=yyGetReal(_2h3);}function _w21(_x3,_3h3,_4h3,_5h3,_6h3,_7h3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._e11=yyGetReal(_3h3);_Jg3._f11=yyGetReal(_4h3);_Jg3._g11=yyGetReal(_5h3);_Jg3._h11=yyGetReal(_6h3);_Jg3._i11=yyGetBool(_7h3);
}function _Go(_x3,_8h3,_9h3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._c11=yyGetReal(_8h3);_Jg3._d11=yyGetReal(_9h3);}function _821(_x3,_221,_321,_421,_521,_621,_721){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._7g3=_Wf3;_Jg3._j11[0]=yyGetInt32(_221);_Jg3._j11[1]=yyGetInt32(_321);_Jg3._j11[2]=yyGetInt32(_421);_Jg3._j11[3]=yyGetInt32(_521);_Jg3._j11[4]=yyGetInt32(_621);_Jg3._j11[5]=yyGetInt32(_721);}function _mo(_x3,_ap,_rn){var _Jg3=_w01[yyGetInt32(_x3)];
if(_Jg3==null||_Jg3==undefined)return;_Jg3._7g3=_Yf3;_Jg3._j11[0]=_Ub(yyGetInt32(_ap));_Jg3._j11[1]=_Ub(yyGetInt32(_rn));}function _f21(_x3,_921,_a21,_b21,_c21,_d21,_e21){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._7g3=_Xf3;_Jg3._j11[0]=yyGetInt32(_921);_Jg3._j11[1]=yyGetInt32(_a21);_Jg3._j11[2]=yyGetInt32(_b21);_Jg3._j11[3]=yyGetInt32(_c21);_Jg3._j11[4]=yyGetInt32(_d21);_Jg3._j11[5]=yyGetInt32(_e21);}function _X11(_x3,_ah3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;
_Jg3._7g3=_Tf3;_Jg3._j11[0]=_Ub(yyGetInt32(_ah3));}function _do(_x3,_ah3,_bh3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._7g3=_Uf3;_Jg3._j11[0]=_Ub(yyGetInt32(_ah3));_Jg3._j11[1]=_Ub(yyGetInt32(_bh3));}function __11(_x3,_ah3,_ch3,_bh3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._7g3=(_i7===null)?_Tf3:_Vf3;_Jg3._j11[0]=_Ub(yyGetInt32(_ah3));_Jg3._j11[1]=_Ub(yyGetInt32(_ch3));_Jg3._j11[2]=_Ub(yyGetInt32(_bh3));}function _h21(_x3,_dh3){var _Jg3=_w01[yyGetInt32(_x3)];
if(_Jg3==null||_Jg3==undefined)return;_dh3=yyGetReal(_dh3);_Jg3._k11=_dh3;_Jg3._l11=_dh3;_Jg3._m11=_dh3;}function _no(_x3,_dh3,_eh3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_dh3=yyGetReal(_dh3);_eh3=yyGetReal(_eh3);_Jg3._k11=_dh3;_Jg3._l11=(_dh3+_eh3)/2.0;_Jg3._m11=_eh3;}function _k21(_x3,_dh3,_fh3,_eh3){var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._k11=yyGetReal(_dh3);_Jg3._l11=yyGetReal(_fh3);_Jg3._m11=yyGetReal(_eh3);}function _V11(_x3,_U11){
var _Jg3=_w01[yyGetInt32(_x3)];if(_Jg3==null||_Jg3==undefined)return;_Jg3._n11=yyGetReal(_U11);}var _J01=[];var _gh3={};var _hh3=_Sf3;function _2N2(_oM2){var _m03=_oM2.PSEmitters;for(var i=0;i<_m03.length;++i){var _ih3=_m03[i];var _jh3=_m03[i];var _kh3=_9o();var type=_w01[_kh3];type._OT=_ih3.spriteId;type._R01=_ih3.headPosition;type._S01=_ih3.spriteAnimate;type._T01=_ih3.spriteStretch;type._U01=_ih3.spriteRandom;type.shape=_ih3.texture;type.sizeMinX=_ih3.sizeMinX;type.sizeMaxX=_ih3.sizeMaxX;type.sizeMinY=_ih3.sizeMinY;
type.sizeMaxY=_ih3.sizeMaxY;type._V01=_ih3.sizeIncreaseX;type._W01=_ih3.sizeIncreaseY;type._X01=_ih3.sizeWiggleX;type._Y01=_ih3.sizeWiggleY;type._xQ=_ih3.scaleX;type._yQ=_ih3.scaleY;type._Z01=_ih3.lifetimeMin;type.__01=_ih3.lifetimeMax;type._011=_ih3.spawnOnDeath;type._111=_ih3.spawnOnDeathCount;type._211=_ih3.spawnOnUpdate;type._311=_ih3.spawnOnUpdateCount;type._411=_ih3.speedMin;type._511=_ih3.speedMax;type._611=_ih3.speedIncrease;type._711=_ih3.speedWiggle;type._811=_ih3.directionMin;type._911=_ih3.directionMax;
type._a11=_ih3.directionIncrease;type._b11=_ih3.directionWiggle;type._c11=_ih3.gravityForce;type._d11=_ih3.gravityDirection;type._e11=_ih3.orientationMin;type._f11=_ih3.orientationMax;type._g11=_ih3.orientationIncrease;type._h11=_ih3.orientationWiggle;type._i11=_ih3.orientationRelative;type._7g3=_Vf3;type._j11[0]=_ih3.startColour;type._j11[1]=_ih3.midColour;type._j11[2]=_ih3.endColour;type._k11=((_ih3.startColour>>24)&0xFF)/255.0;type._l11=((_ih3.midColour>>24)&0xFF)/255.0;type._m11=((_ih3.endColour>>24)&0xFF)/255.0;
type._n11=_ih3.additiveBlend;var emitter=new _8g3();emitter.name=_jh3.pName;emitter.enabled=_jh3.enabled;emitter.mode=_jh3.mode;emitter._bk=_jh3.emitCount;emitter.delayMin=_jh3.delayMin;emitter.delayMax=_jh3.delayMax;emitter.delayUnit=_jh3.delayUnit;emitter.intervalMin=_jh3.intervalMin;emitter.intervalMax=_jh3.intervalMax;emitter.intervalUnit=_jh3.intervalUnit;emitter._M01=_jh3.emitRelative;emitter._N01=_jh3.distribution;emitter.shape=_jh3.shape;emitter._TY=_jh3.regionX-_jh3.regionW*0.5;emitter._VY=_jh3.regionY-_jh3.regionH*0.5;
emitter._UY=_jh3.regionX+_jh3.regionW*0.5;emitter._WY=_jh3.regionY+_jh3.regionH*0.5;emitter._Q01=_kh3;_J01[i]=emitter;}return true;}function _Zo(_s01){_s01=yyGetInt32(_s01);if(!_q11(_s01))return -1;var _lh3=_q01[_s01];var _o8=0;var emitter=null;while(_o8<_lh3.emitters.length){var e=_lh3.emitters[_o8];if(!e._8m&&!e._ag3){emitter=e;break;}++_o8;}if(!emitter){emitter=new _8g3();_lh3.emitters.push(emitter);}emitter._8m=true;_K21(_s01,_o8);return _o8;}function _3p(_s01,_x3){_s01=yyGetInt32(_s01);_x3=yyGetInt32(_x3);
if(!_J21(_s01,_x3))return false;var emitter=_q01[_s01].emitters[_x3];emitter._8m=false;emitter._ag3=true;return true;}function _H21(_s01){_s01=yyGetInt32(_s01);if(!_q11(_s01))return false;for(var i=_q01[_s01].emitters.length-1;i>=0;--i){_3p(_s01,i);}return true;}function _I21(_s01,_x3,_Ry){_s01=yyGetInt32(_s01);_x3=yyGetInt32(_x3);if(!_q11(_s01))return;if(!_J21(_s01,_x3))return;_q01[_s01].emitters[_x3].enabled=yyGetBool(_Ry);}function _J21(_s01,_x3){_s01=yyGetInt32(_s01);_x3=yyGetInt32(_x3);if(!_q11(_s01))return false;
var _lh3=_q01[_s01];if(_x3<0||_x3>=_lh3.emitters.length)return false;var _mh3=_lh3.emitters[_x3];if(!_mh3._8m)return false;return true;}function _K21(_s01,_x3){_s01=yyGetInt32(_s01);_x3=yyGetInt32(_x3);if(!_J21(_s01,_x3))return false;_q01[_s01].emitters[_x3]._oJ();}function _0p(_s01,_x3,_Uo,_Vo,_Wo,_Xo,_2o,_nh3){_s01=yyGetInt32(_s01);_x3=yyGetInt32(_x3);if(!_J21(_s01,_x3))return;var _mh3=_q01[_s01].emitters[_x3];_mh3._TY=yyGetReal(_Uo);_mh3._UY=yyGetReal(_Vo);_mh3._VY=yyGetReal(_Wo);_mh3._WY=yyGetReal(_Xo);
_mh3.shape=yyGetInt32(_2o);_mh3._N01=yyGetInt32(_nh3);}function _oh3(_p11,_Ec1,_u4,_v4,_B11,_XG,_ph3,_7c){var particles=_Ec1.particles;_ph3=(_ph3===undefined)?false:_ph3;_7c=(_7c===undefined)?0xFFFFFF:_7c;if(_ph3){_7c=_Ub(yyGetInt32(_7c));}_XG=yyGetInt32(_XG);_B11=yyGetInt32(_B11);for(var i=0;i<_XG;i++){var index=particles.length;particles[index]=_U51(_p11,yyGetReal(_u4),yyGetReal(_v4),_B11);if(_ph3){particles[index].color=_7c;}}}function _qh3(_p11,_Ec1,_u4,_v4,_q7,_r7,_2o,_Ag3,_rh3,_XG){if(_Ec1._M01){
_XG=_q7*_r7*_XG*0.00003;}if(_XG<0){var _i3=_Gl(-_XG)|0;if(_i3==0){_XG=1;}else {return;}}var _sh3=_XG-~~_XG;_XG=~~_XG;if(_sh3>0.0&&Math.random()<=_sh3){_XG+=1.0;}if(_XG==0.0)return;var __j=new _Xy(_u4,_v4,0);var right=new _Xy(_q7,0,0);var _md3=new _Xy(0,_r7,0);if(_p11.globalSpaceParticles){__j._tz+=_p11._G01;__j._uz+=_p11._H01;__j=_p11._973._4M(__j);right._tz=(_p11._973._z5[_9A]*_q7);right._uz=(_p11._973._z5[_dA]*_q7);right._vz=(_p11._973._z5[_hA]*_q7);_md3._tz=(_p11._973._z5[_aA]*_r7);_md3._uz=(_p11._973._z5[_4z]*_r7);
_md3._vz=(_p11._973._z5[_iA]*_r7);}for(var i=0;i<_XG;++i){var _R5,_T5;var _th3=false;while(!_th3){_R5=_xg3(0.0,1.0,_Ag3);_T5=_xg3(0.0,1.0,_Ag3);if((_Ag3==__f3)&&(_2o!=_3g3)){if(_Gl()<0.5){_R5=_xg3(0.0,1.0,0);}else {_T5=_xg3(0.0,1.0,0);}}switch(_2o){case _1g3:{var _ha=_R5-0.5;var _ia=_T5-0.5;if((_ha*_ha+_ia*_ia)<=0.25){_th3=true;}}break;case _2g3:if((Math.abs(_R5-0.5)+Math.abs(_T5-0.5))<=0.5){_th3=true;}break;case _0g3:case _3g3:default :_th3=true;break;}}var _uh3;var _vh3;if(_2o==_3g3){_uh3=__j._tz+right._tz*_R5+_md3._tz*_R5;
_vh3=__j._uz+right._uz*_R5+_md3._uz*_R5;}else {_uh3=__j._tz+right._tz*_R5+_md3._tz*_T5;_vh3=__j._uz+right._uz*_R5+_md3._uz*_T5;}_oh3(_p11,_Ec1,_uh3,_vh3,_rh3,1);}}function _6p(_s01,_x3,_rh3,_XG){_s01=yyGetInt32(_s01);_x3=yyGetInt32(_x3);if(!_J21(_s01,_x3))return;var _OG1=_q01[_s01];var emitter=_OG1.emitters[_x3];if(!emitter.enabled)return;var _wh3=emitter._UY-emitter._TY;var _xh3=emitter._WY-emitter._VY;_rh3=yyGetInt32(_rh3);_XG=yyGetReal(_XG);_qh3(_OG1,emitter,emitter._TY,emitter._VY,_wh3,_xh3,emitter.shape,
emitter._N01,_rh3,_XG);}function _8p(_s01,_x3,_rh3,_XG){_s01=yyGetInt32(_s01);_x3=yyGetInt32(_x3);if(!_J21(_s01,_x3))return;var _mh3=_q01[_s01].emitters[_x3];_mh3._Q01=yyGetInt32(_rh3);_mh3._bk=yyGetReal(_XG);}function _yh3(_Ec1){if(_Ec1.delayMin==0&&_Ec1.delayMax==0){_Ec1._bg3=0;return;}_Ec1._bg3=(_Ec1.delayUnit==1)?irandom_range(~~_Ec1.delayMin,~~_Ec1.delayMax):random_range(_Ec1.delayMin,_Ec1.delayMax);}function _P21(_s01,_x3,_M21,_N21,_O21){if(!_J21(_s01,_x3))return;var _mh3=_q01[_s01].emitters[_x3];
_mh3.delayMin=yyGetInt32(_M21);_mh3.delayMax=yyGetReal(_N21);_mh3.delayUnit=yyGetReal(_O21);_yh3(_mh3);}function _zh3(_Ec1){if(_Ec1.intervalMin==0&&_Ec1.intervalMax==0){_Ec1._cg3=0;return;}_Ec1._cg3=(_Ec1.intervalUnit==1)?irandom_range(~~_Ec1.intervalMin,~~_Ec1.intervalMax):random_range(_Ec1.intervalMin,_Ec1.intervalMax);}function _T21(_s01,_x3,_Q21,_R21,_S21){if(!_J21(_s01,_x3))return;var _mh3=_q01[_s01].emitters[_x3];_mh3.intervalMin=yyGetInt32(_Q21);_mh3.intervalMax=yyGetReal(_R21);_mh3.intervalUnit=yyGetReal(_S21);
_zh3(_mh3);}function _U21(_s01,_x3,_Ry){_s01=yyGetInt32(_s01);_x3=yyGetInt32(_x3);if(!_J21(_s01,_x3))return;_q01[_s01].emitters[_x3]._M01=yyGetBool(_Ry);}function _C11(_s01,_u4,_v4,_B11,_XG){var _OG1=_q01[_s01];var _vg3=-1;for(var i=0;i<_OG1.emitters.length;++i){var emitter=_OG1.emitters[i];if(emitter.enabled&&emitter._8m){_vg3=i;break;}}if(_vg3==-1){_vg3=_Zo(_Rp);}_oh3(_OG1,_OG1.emitters[_vg3],_u4,_v4,_B11,_XG);}function _D11(_s01,_u4,_v4,_B11,_7c,_XG){if(!_q11(_s01)){console.log("part_particles_create :: particle system does not exist!");
return;}if(!_H11(_B11)){console.log("part_particles_create :: particle type does not exist!");return;}var _OG1=_q01[_s01];var _vg3=-1;for(var i=0;i<_OG1.emitters.length;++i){var emitter=_OG1.emitters[i];if(emitter.enabled&&emitter._8m){_vg3=i;break;}}if(_vg3==-1){_vg3=_Zo(_Rp);}_oh3(_OG1,_OG1.emitters[_vg3],_u4,_v4,_B11,_XG,true,_7c);}function _E11(_s01,_u4,_v4,_o11){if(!_q11(_s01)){console.log("part_particles_burst :: particle system does not exist!");return;}var _Ia1=_4J._I4(_o11);if(_Ia1==null){console.log("part_particles_burst :: particle system asset does not exist!");
return;}var _OG1=_q01[_s01];var _Ah3=_Ia1.emitters.length;var _Bh3=[];for(var i=0;i<_OG1.emitters.length;++i){if(_OG1.emitters[i].enabled)_Bh3.push(i);}for(var i=_Ah3-_Bh3.length;i>0;--i)_Bh3.push(_Zo(_s01));for(var i=0;i<_Ah3;++i){var _tg3=_Ia1.emitters[_Ah3-i-1];var emitter=_J01[_tg3];if(!emitter.enabled)continue;var _wh3=emitter._UY-emitter._TY;var _xh3=emitter._WY-emitter._VY;_qh3(_OG1,_OG1.emitters[_Bh3[i]],_u4+emitter._TY,_v4+emitter._VY,_wh3,_xh3,emitter.shape,emitter._N01,emitter._Q01,emitter._bk);
}}function _0o(_s01){var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return false;for(var i=_lh3.emitters.length-1;i>=0;--i){var _mh3=_lh3.emitters[i];_mh3.particles=[];}return true;}function _Ch3(_Dh3,_N2){_Dh3.splice(_N2,1);}function _F11(_s01){var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return 0;var _u7=0;for(var i=_lh3.emitters.length-1;i>=0;--i){var _mh3=_lh3.emitters[i];_u7+=_mh3.particles.length;}return _u7;}function _Eh3(_rT){var _Fh3=null;if(_rT==-1){_Fh3=new _pR();_7t._RS(_x2,
0,_Fh3,true,true);}else {var room=_7t._8t();if(room!=null){layer=_7t._QP(room,_rT);if(layer!=null){_Fh3=new _pR();if(room==_x2){var _ta=_7t._LS(_x2,layer,_Fh3,true);if(_ta==-1){_7t._iS(_x2,_Fh3._rd,true);_Fh3=null;}}else {_7t._RS(_x2,0,_Fh3,true,true);}}}}return _Fh3;}function _sg3(_rT,_W21,_Gh3){var index;for(index=0;index<_q01.length;++index){if(_q01[index]==null){break;}}_q01[index]=new _kg3();_q01[index].id=index;_q01[index]._og3=-1;_Wn(index,false);_Gh3._qR=index;_q01[index]._og3=_Gh3._rd;_q01[index]._pg3=!_W21;
if(_rT!=-1){_q01[index].depth=_Gh3._cO.depth;}return index;}function _Vn(_rT,_W21){if(_rT==undefined)_rT=-1;else _rT=yyGetInt32(_rT);if(_W21==undefined)_W21=true;else _W21=yyGetBool(_W21);var _Fh3=_Eh3(_rT);if(_Fh3==null)return -1;return _sg3(_rT,_W21,_Fh3);}function _q11(_s01){var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return false;return true;}function _Zn(_s01){_s01=yyGetInt32(_s01);var _lh3=_q01[_s01];if(_lh3==null||_lh3==undefined)return;_Wn(_s01,false);if(_z2){_7t._iS(_x2,_q01[_s01]._og3,
true);}_q01[_s01]=null;return true;}function _Hh3(){for(var i=0;i<_q01.length;i++){_Zn(i);}_q01=[];}function _Wn(_s01,_Ih3){_s01=yyGetInt32(_s01);var _lh3=_q01[_s01];if(_lh3==null||_lh3==undefined)return;_lh3.emitters=[];_lh3._I01=true;_lh3.depth=0.0;_lh3._G01=0.0;_lh3._H01=0.0;_lh3._mg3=true;_lh3._ng3=true;_lh3.color=_Tm;_lh3.alpha=1.0;_lh3.angle=0.0;_lh3.globalSpaceParticles=false;_lh3._973=new _Dy();var _aO=null;var _Jh3=null;var _9t=_7t._pS(_x2,_lh3._og3);if(_9t!=null){_aO=_9t.layer;_Jh3=_9t._wc;}if(!_Ih3||(_aO!=null&&_aO.depth==0))return;
_7t._iS(_x2,_lh3._og3,true);var _Fh3=new _pR();{_7t._RS(_x2,0,_Fh3,true,true);_lh3._og3=_Fh3._rd;_Fh3._qR=_s01;}}function _X21(_s01){if(!_q11(_s01))return -1;var _aO=null;var _oS=_7t._pS(_x2,_q01[_s01]._og3);if(_oS==null)return -1;_aO=_oS.layer;if(_aO==null){return -1;}return _aO._rd;}function _Y21(_s01,_rT){if(!_q11(_s01))return;if(_z2){_7t._iS(_x2,_q01[_s01]._og3,true);var _Fh3=new _pR();_Fh3._qR=_s01;var room=_7t._8t();if(room!=null){var layer=_7t._QP(room,_rT);if(layer!=null){if(room==_x2){_q01[_s01]._og3=_7t._LS(_x2,
layer,_Fh3,true);_q01[_s01].depth=layer.depth;if(_q01[_s01]._og3==-1){_7t._iS(_x2,_Fh3._rd,true);}}}if(_q01[_s01]._og3==-1){_q01[_s01]._og3=_7t._RS(_x2,_q01[_s01].depth,_Fh3,true,true);}}}}function _Z21(_s01,_Ry){if(!_q11(_s01))return;_q01[_s01].globalSpaceParticles=_Ry;}function _Kh3(){for(var _Rp=0;_Rp<_q01.length;_Rp++){if(!_q01.hasOwnProperty(_Rp))continue;var _lh3=_q01[_Rp];if(_lh3){_lh3.particles=[];}}}function _s11(_s01,_r11){var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return;
_lh3._I01=_r11;}function _Xn(_s01,_Ek){_s01=yyGetInt32(_s01);var _lh3=_q01[_s01];if(_lh3==null||_lh3==undefined)return;_lh3.id=_s01;_lh3.depth=yyGetReal(_Ek);_jL2.push({_Lh3:_lh3,type:0});}function _t11(_s01,_Qr,_y8){var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return;_lh3.color=yyGetInt32(_Qr);_lh3.alpha=yyGetReal(_y8);}function _u11(_s01,_u4,_v4){var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return;_lh3._G01=yyGetReal(_u4);_lh3._H01=yyGetReal(_v4);}function _v11(_s01,
_y4){var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return;_lh3.angle=yyGetReal(_y4);}function _x11(_s01,_w11){var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return;_lh3._mg3=yyGetBool(_w11);}function _y11(_s01,_w11){var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return;_lh3._ng3=yyGetBool(_w11);}function _Mh3(_s01,_Nh3){var i=0;var _I5=0;var _lh3=_q01[_s01];var _mh3=_lh3.emitters[_Nh3];var _Oh3=_mh3.particles;while(i<_Oh3.length){var _zU=_Oh3[i];var _Ig3=_w01[_zU._Q01];
_zU._fg3++;if(_zU._fg3>=_zU._gg3){_I5=_Ig3._111;if(_I5<0){if(_Gl(-_I5)==0)_I5=1;}if(_I5>0){_oh3(_lh3,_mh3,_zU.x,_zU.y,_Ig3._011,_I5);}_Oh3.splice(i,1);}else {_I5=_Ig3._311;if(_I5<0){if(_Gl(-_I5)==0)_I5=1;}if(_I5>0){_oh3(_lh3,_mh3,_zU.x,_zU.y,_Ig3._211,_I5);}i++;}}}function _Ph3(_s01,_Nh3){var i=0;var _35=0;var hspeed=0.0;var vspeed=0.0;var _zg=0.0;var _34=0.0;var _Qh3=0.0;var _fK1=0.0;var _Rh3=0.0;var _Sh3=0.0;var _Th3=0.0;var _Gm2=0.0;var _Uh3=0.0;var _lh3=_q01[_s01];var _Oh3=_lh3.emitters[_Nh3].particles;for(i=0;
i<_Oh3.length;i++){var _zU=_Oh3[i];var _Ig3=_w01[_zU._Q01];_zU.speed=_zU.speed+_Ig3._611;if(_zU.speed<0)_zU.speed=0;_zU._7Z=_zU._7Z+_Ig3._a11;_zU._361=_zU._361+_Ig3._g11;_Sh3=0;_Th3=0;if((_Ig3._c11!=0)||(_lh3.acount>0)){hspeed=_Cg3(_zU._7Z,_zU.speed);vspeed=_Eg3(_zU._7Z,_zU.speed);if(_Ig3._c11!=0){_zg=_Cg3(_Ig3._d11,_Ig3._c11);_34=_Eg3(_Ig3._d11,_Ig3._c11);hspeed=hspeed+_zg;vspeed=vspeed+_34;}_zU._7Z=_Bg3(hspeed,vspeed);_zU.speed=Math.sqrt(hspeed*hspeed+vspeed*vspeed);}_Gm2=((_zU._fg3+3*_zU._jg3)%24)/6.0;
if(_Gm2>2.0){_Gm2=4.0-_Gm2;}_Gm2=_Gm2-1.0;_Uh3=((_zU._fg3+4*_zU._jg3)%20)/5.0;if(_Uh3>2.0){_Uh3=4.0-_Uh3;}_Uh3=_Uh3-1.0;hspeed=_Cg3(_zU._7Z+_Gm2*_Ig3._b11,_zU.speed+_Uh3*_Ig3._711);vspeed=_Eg3(_zU._7Z+_Gm2*_Ig3._b11,_zU.speed+_Uh3*_Ig3._711);_zU.x=_zU.x+hspeed+_Sh3;_zU.y=_zU.y+vspeed+_Th3;}}function _Vh3(_s01,_Nh3){var _lh3=_q01[_s01];var _Oh3=_lh3.emitters[_Nh3].particles;for(var i=0;i<_Oh3.length;i++){var _zU=_Oh3[i];var _Ig3=_w01[_zU._Q01];_zU._hg3=_zU._hg3+_Ig3._V01;if(_zU._hg3<0){_zU._hg3=0;}_zU._ig3=_zU._ig3+_Ig3._W01;
if(_zU._ig3<0){_zU._ig3=0;}_Fg3(_zU);var _Wh3;if(_zU._gg3>0){_Wh3=2.0*_zU._fg3/_zU._gg3;}else {_Wh3=1;}if(_Wh3<1){_zU.alpha=_Ig3._k11*(1.0-_Wh3)+_Ig3._l11*_Wh3;}else {_zU.alpha=_Ig3._l11*(2.0-_Wh3)+_Ig3._m11*(_Wh3-1);}}}function _z11(_s01){_s01=yyGetReal(_s01);var _lh3=_q01[_s01];if(_lh3==null||_lh3==undefined)return 0;var _Xh3=_lh3.emitters;if(_Xh3){for(var i=0;i<_Xh3.length;i++){var _mh3=_Xh3[i];if(!_mh3.enabled)continue;if(!_mh3._8m&&!_mh3._ag3)continue;_Mh3(_s01,i);_Ph3(_s01,i);_Vh3(_s01,i);if(_mh3._bg3>0.0){
_mh3._bg3-=(_mh3.delayUnit==1)?1.0:(g_pBuiltIn.delta_time*0.000001);if(_mh3._bg3<=0.0){_6p(_s01,i,_mh3._Q01,_mh3._bk);}continue;}if(_mh3.mode!=_Kf3){_mh3._cg3-=(_mh3.intervalUnit==1)?1.0:(g_pBuiltIn.delta_time*0.000001);if(_mh3._cg3<=0.0){_6p(_s01,i,_mh3._Q01,_mh3._bk);_zh3(_mh3);}}if(_mh3.particles.length==0){_mh3._ag3=false;}}}}function _Yh3(){for(var i=0;i<_q01.length;i++){var _lh3=_q01[i];if(_lh3!=null){if(_lh3._mg3){_z11(i);}}}}function _Zh3(_s01,_Pv){if(!_q11(_s01))return;_q01[_s01]._973=new _Dy(_Pv);
}function __h3(_0i3,_Gg3,_c31,_d31,_Qr,_y8){_Qr=(_Qr===undefined)?0xffffff:_Qr;_y8=(_y8===undefined)?1.0:_y8;var _1i3=_0i3.color;var _2i3=_0i3.alpha;var _Sm=null;var _I3=null;if(_Gg3._gg3<=0)return;var _Ig3=_w01[_Gg3._Q01];_Sm=_H4._I4(_Ig3._OT);if(_Sm==null){var shape=_Ig3.shape;if((shape>=0)&&(shape<_hK2.length)){_I3=_hK2[shape];if(_I3==null){return;}}else {return;}}var _x5;if(_I3!=null){}else {if(_Sm._7u<=0)return;if(!_Ig3._S01){_x5=_Gg3._R01;}else if(_Ig3._T01){_x5=_Gg3._R01+(_Sm._I5*_Gg3._fg3/_Gg3._gg3);
}else {_x5=_Gg3._R01+_Gg3._fg3;}}var _i3=((_Gg3._fg3+2*_Gg3._jg3)%16)/4.0;if(_i3>2.0)_i3=4.0-_i3;_i3=_i3-1.0;var _Kn2=_Gg3._361;if(_Ig3._i11)_Kn2=_Kn2+_Gg3._7Z;_Kn2=_Kn2+_i3*_Ig3._h11;_i3=((_Gg3._fg3+_Gg3._jg3)%16)/4.0;if(_i3>2.0)_i3=4.0-_i3;_i3=_i3-1.0;var _XY=_Gg3._hg3+_i3*_Ig3._X01;var _YY=_Gg3._ig3+_i3*_Ig3._Y01;var _3i3=_5H(_1i3,_5H(_Gg3.color,_Qr));var _4i3=_2i3*_Gg3.alpha*_y8;if(_I3!=null){var _xQ,_yQ,_361;var _k33=_Ig3._xQ*_XY;var _l33=_Ig3._yQ*_YY;var _5O=_Kn2;var _5i3=~~(_Gg3.x+_c31);var _6i3=~~(_Gg3.y+_d31);
if(_k33==1&&_l33==1&&_5O==0&&_3i3==0xffffff){_Gr(_I3,_5i3,_6i3,_4i3);}else {_Rr(_I3,0,0,_5i3,_6i3,_k33,_l33,_5O*0.017453293,_3i3,_3i3,_3i3,_3i3,_4i3);}}else {_Sm._58(_x5,_Gg3.x+_c31,_Gg3.y+_d31,_w01[_Gg3._Q01]._xQ*_XY,_w01[_Gg3._Q01]._yQ*_YY,_Kn2,_3i3,_4i3);}}function _A11(_s01,_Qr,_y8){_Qr=(_Qr===undefined)?0xffffff:_Qr;_y8=(_y8===undefined)?1.0:_y8;var _lh3=_q01[yyGetInt32(_s01)];if(_lh3==null||_lh3==undefined)return;var src,_f9;if(_i7!=null){src=_7i3;_f9=_8i3;}var additiveBlend=false;var _9i3=function(_Ry){
if(_Ry&&!additiveBlend){_lL(1);additiveBlend=true;}else if(!_Ry&&additiveBlend){if(_i7!=null){_nL(src,_f9);}else {_lL(0);}additiveBlend=false;}};var _gZ,_hZ,_ai3;if(_lh3.globalSpaceParticles){_gZ=0;_hZ=0;_ai3=_6A(_Zz);_Yz(_Zz,new _Dy());}else {_gZ=_lh3._G01;_hZ=_lh3._H01;}for(var e=0;e<_lh3.emitters.length;++e){var _mh3=_lh3.emitters[e];if(!_mh3.enabled)continue;var _Oh3=_mh3.particles;if(_lh3._I01){for(var i=0;i<_Oh3.length;i++){var _zU=_Oh3[i];_9i3(_zU._n11);__h3(_lh3,_zU,_gZ,_hZ,_Qr,_y8);}}else {for(var i=_Oh3.length-1;
i>=0;i--){var _zU=_Oh3[i];_9i3(_zU._n11);__h3(_lh3,_zU,_gZ,_hZ,_Qr,_y8);}}}if(_lh3.globalSpaceParticles){_Yz(_Zz,_ai3);}_9i3(false);}function _bi3(_0X){for(var i=0;i<_q01.length;i++){var _lh3=_q01[i];if(_lh3!=null){if(_lh3._ng3){if(Math.abs(_lh3.depth-_0X)<0.01)_A11(i);}}}}function _ci3(){if(!_z2)return;if(_4g3.length<_q01.length){var _di3=_4g3.length;for(var i=_di3;i<_q01.length;i++){_4g3[i]=null;}}for(var i=0;i<_q01.length;i++){var _ei3=_q01[i];if(!_ei3||_ei3._og3!=-1)continue;var _fi3=null;var _gi3=_4g3[i];
if(_gi3!=null){_fi3=_7t._PP(_x2,_gi3);if(_fi3==null){_fi3=_7t._pT(_x2,_ei3.depth,_gi3);}}var _Fh3=new _pR();_Fh3._qR=i;if(_fi3!=null){_ei3._og3=_7t._LS(_x2,_fi3,_Fh3,true);}if(_ei3._og3==-1){_ei3._og3=_7t._RS(_x2,_ei3.depth,_Fh3,true,true);}}_4g3=[];};function _hi3(){if(!_z2)return;_4g3=new Array(_q01.length).fill(null);for(var i=0;i<_q01.length;++i){var _ei3=_q01[i];if(!_ei3)continue;var _aO=null;var _ii3=null;if(_ei3._og3!=-1){var _ji3=_7t._pS(_x2,_ei3._og3);if(_ji3!=null){_aO=_ji3.layer;_ii3=_ji3._wc;
}}if(_ei3._pg3){var _ki3=(_aO&&!_aO._FQ&&_ii3);if(_ki3){_ii3._qR=-1;_ei3._og3=-1;}_Zn(i);_4g3[i]=null;continue;}_7t._iS(_x2,_ei3._og3,true);_ei3._og3=-1;if(_aO&&_aO._GQ&&!_aO._FQ){_4g3[i]=_aO._GQ;}else {_4g3[i]=null;}}}function _li3(_s01){_s01=yyGetInt32(_s01);if(true==_q11(_s01)){var _lh3=_q01[_s01];if(_lh3!=null){if(_lh3._ng3){_A11(_s01);}}}};function _mi3(){var _ym=-1000000000;for(var i=0;i<_q01.length;i++){var _lh3=_q01[i];if(_lh3!=null&&_lh3.particles.length>0){if(_lh3._ng3){if(_lh3.depth>_ym)_ym=_lh3.depth;
}}}return _ym;}function _ni3(_0X){var _ym=-1000000000;for(var i=0;i<_q01.length;i++){var _lh3=_q01[i];if(_lh3!=null&&_lh3.particles.length>0){if(_lh3._ng3){if((_lh3.depth>_ym)&&(_lh3.depth<_0X))_ym=_lh3.depth;}}}return _ym;}var _VX=0,_oi3=1;var _pi3=0;function _qi3(_u4,_v4,_xl){this.x=_u4;this.y=_v4;this.speed=_xl;this._K5=0;}function _531(){this.__type="[Path]";this.name="";this.id=_pi3++;this.kind=0;this.closed=1;this.precision=4;this.__e();}_531.prototype.__e=function(){this.points=[];this._ri3=[];this._u7=0;
this._si3=0;this.length=0;};_531.prototype._UX=function(_F2){if((_F2<0)||(_F2>1)){this.kind=0;}else {this.kind=_F2;}this._ti3();};_531.prototype._WX=function(_F2){this.closed=_F2;this._ti3();};_531.prototype._431=function(_F2){if(_F2<0)_F2=0;if(_F2>8)_F2=8;this.precision=_F2;this._ti3();};_531.prototype._ui3=function(){var i=0;this.length=0;if(this._si3<=0)return;this._ri3[0]._K5=0;for(i=1;i<this._si3;i++){this._ri3[i]._K5=this.length=this.length+sqrt(_oz(this._ri3[i].x-this._ri3[i-1].x)+_oz(this._ri3[i].y-this._ri3[i-1].y));
}};_531.prototype._vi3=function(_n31,_o31,_wi3){this._si3++;var _xi3=new _qi3();this._ri3[this._si3-1]=_xi3;_xi3.x=_n31;_xi3.y=_o31;_xi3.speed=_wi3;};_531.prototype._yi3=function(){this._si3=0;if(this._u7<=0)return;for(var i=0;i<this._u7;i++){this._vi3(this.points[i].x,this.points[i].y,this.points[i].speed);}if(this.closed){this._vi3(this.points[0].x,this.points[0].y,this.points[0].speed);}};_531.prototype._zi3=function(_Ek,__5,_06,_KA,_s5,_t5,_LA,_Nt,_Ot,_Ai3){if(_Ek==0)return;var _56=(__5+_s5+_s5+_Nt)/4.0;
var _66=(_06+_t5+_t5+_Ot)/4.0;var _7A=(_KA+_LA+_LA+_Ai3)/4.0;if(_oz(_s5-__5)+_oz(_t5-_06)>16.0){this._zi3(_Ek-1,__5,_06,_KA,(_s5+__5)/2.0,(_t5+_06)/2.0,(_LA+_KA)/2.0,_56,_66,_7A);}this._vi3(_56,_66,_7A);if(_oz(_s5-_Nt)+_oz(_t5-_Ot)>16.0){this._zi3(_Ek-1,_56,_66,_7A,(_Nt+_s5)/2.0,(_Ot+_t5)/2.0,(_Ai3+_LA)/2.0,_Nt,_Ot,_Ai3);}};_531.prototype._Bi3=function(){var i=0;var _x5=0;this._si3=0;if(this._u7<=0)return;if(!this.closed){this._vi3(this.points[0].x,this.points[0].y,this.points[0].speed);}if(this.closed){
_x5=this._u7-1;}else {_x5=this._u7-3;}for(i=0;i<=_x5;i++){var _lF1=this.points[i%this._u7];var _mF1=this.points[(i+1)%this._u7];var _Ci3=this.points[(i+2)%this._u7];this._zi3(this.precision,(_lF1.x+_mF1.x)/2.0,(_lF1.y+_mF1.y)/2.0,(_lF1.speed+_mF1.speed)/2.0,_mF1.x,_mF1.y,_mF1.speed,(_mF1.x+_Ci3.x)/2.0,(_mF1.y+_Ci3.y)/2.0,(_mF1.speed+_Ci3.speed)/2.0);}if(!this.closed){this._vi3(this.points[this._u7-1].x,this.points[this._u7-1].y,this.points[this._u7-1].speed);}else {this._vi3(this._ri3[0].x,this._ri3[0].y,
this._ri3[0].speed);}};_531.prototype._ti3=function(){if(this.kind==1){this._Bi3();}else {this._yi3();}this._ui3();};function _1N2(_dU2){var _SX=new _531();if((_dU2!=undefined)&&(_dU2!=null)){if(_dU2.precision!=undefined){_SX.precision=_dU2.precision;}if(_dU2.closed!=undefined){_SX.closed=_dU2.closed;}if(_dU2.kind!=undefined){_SX.kind=_dU2.kind;}if(_dU2.pName!=undefined){_SX.name=_dU2.pName;}if(_dU2.points!=undefined){_SX._u7=_dU2.points.length;}for(var _kg=0;_kg<_dU2.points.length;_kg++){var _EU2=_dU2.points[_kg];
var _Di3=new _qi3(_EU2.x,_EU2.y,_EU2.speed);_SX.points[_SX.points.length]=_Di3;}_SX._ti3();}return _SX;}var _Ei3=new _qi3(0,0,100);_531.prototype._h31=function(_x3){var __j=0;if(this._si3<=0){_Ei3.x=0;_Ei3.y=0;_Ei3.speed=0;return _Ei3;}if((this._si3==1)||(this.length==0)||(_x3<=0)){return this._ri3[0];}if(_x3>=1){return this._ri3[this._si3-1];}var _K5=this.length*_x3;__j=0;while((__j<this._si3-2)&&(_K5>=this._ri3[__j+1]._K5)){__j++;}var _Ok=this._ri3[__j];_K5=_K5-_Ok._K5;var w=this._ri3[__j+1]._K5-_Ok._K5;if(w!=0){
__j++;_Ei3.x=_Ok.x+_K5*(this._ri3[__j].x-_Ok.x)/w;_Ei3.y=_Ok.y+_K5*(this._ri3[__j].y-_Ok.y)/w;_Ei3.speed=_Ok.speed+_K5*(this._ri3[__j].speed-_Ok.speed)/w;_Ok=_Ei3;}return _Ok;};_531.prototype._031=function(_x3){var _kg=this._h31(_x3);return _kg.x;};_531.prototype._131=function(_x3){var _kg=this._h31(_x3);return _kg.y;};_531.prototype._231=function(_x3){var _kg=this._h31(_x3);return _kg.speed;};_531.prototype._pP=function(_Fi3){this.points=null;this._ri3=null;this.name=_Fi3.name;this._u7=_Fi3._u7;this.kind=_Fi3.kind;
this.closed=_Fi3.closed;this.precision=_Fi3.precision;this._si3=_Fi3._si3;this.length=_Fi3.length;this.points=[];var _Gi3;var _EU2;var _Hi3=_Fi3.points;var _f9=this.points;for(var _kg=0;_kg<_Hi3.length;_kg++){_EU2=_Hi3[_kg];_Gi3=new _qi3(_EU2.x,_EU2.y,_EU2.speed);_Gi3._K5=_EU2._K5;_f9[_f9.length]=_Gi3;}this._ri3=[];var _Ii3=_Fi3._ri3;var _f9=this._ri3;for(var _kg=0;_kg<_Ii3.length;_kg++){_EU2=_Ii3[_kg];_Gi3=new _qi3(_EU2.x,_EU2.y,_EU2.speed);_Gi3._K5=_EU2._K5;_f9[_f9.length]=_Gi3;}};_531.prototype._i31=function(_c31,
_d31){for(var i=0;i<=this._u7-1;i++){this.points[i].x+=_c31;this.points[i].y+=_d31;}this._ti3();};_531.prototype._Ji3=function(){var _TY=100000000;var _UY=-100000000;var _VY=100000000;var _WY=-100000000;for(var i=0;i<=this._u7-1;i++){if(this.points[i].x<_TY)_TY=this.points[i].x;if(this.points[i].x>_UY)_UY=this.points[i].x;if(this.points[i].y<_VY)_VY=this.points[i].y;if(this.points[i].y>_WY)_WY=this.points[i].y;}return new _qi3((_TY+_UY)/2.0,(_VY+_WY)/2.0,0);};_531.prototype._NY=function(){if(this._u7<=1)return;
var _Ki3=[];for(var i=this._u7-1;i>=0;i--){_Ki3[_Ki3.length]=this.points[i];}this.points=_Ki3;this._ti3();};_531.prototype._m31=function(){var _Li3=this._Ji3();this._i31(-_Li3.x,-_Li3.y);for(var i=0;i<=this._u7-1;i++){this.points[i].x=-this.points[i].x;}this._i31(_Li3.x,_Li3.y);this._ti3();};_531.prototype._l31=function(){var _Li3=this._Ji3();this._i31(-_Li3.x,-_Li3.y);for(var i=0;i<=this._u7-1;i++){this.points[i].y=-this.points[i].y;}this._i31(_Li3.x,_Li3.y);this._ti3();};_531.prototype._k31=function(_y4){
var _Li3=this._Ji3();this._i31(-_Li3.x,-_Li3.y);for(var i=0;i<=this._u7-1;i++){var _R5=this.points[i].x;var _T5=this.points[i].y;var _jV=_y4*Math.PI/180.0;this.points[i].x=_R5*Math.cos(_jV)+_T5*Math.sin(_jV);this.points[i].y=_T5*Math.cos(_jV)-_R5*Math.sin(_jV);}this._i31(_Li3.x,_Li3.y);this._ti3();};_531.prototype._j31=function(_gn,_hn){var _Li3=this._Ji3();this._i31(-_Li3.x,-_Li3.y);for(var i=0;i<=this._u7-1;i++){this.points[i].x=this.points[i].x*_gn;this.points[i].y=this.points[i].y*_hn;}this._i31(_Li3.x,
_Li3.y);this._ti3();};_531.prototype._p31=function(_x3,_n31,_o31,_wi3){if(_x3<0||_x3>=this._u7)return;this.points[_x3].x=_n31;this.points[_x3].y=_o31;this.points[_x3].speed=_wi3;this._ti3();};_531.prototype._s31=function(_x3){if(_x3<0||_x3>=this._u7)return;this.points.splice(_x3,1);this._u7--;this._ti3();};_531.prototype._q31=function(_Fi3){if(_Fi3._u7==0)return;for(var i=0;i<=_Fi3._u7-1;i++){this.points[this.points.length]=_Fi3.points[i];this._u7++;}this._ti3();};_531.prototype._r31=function(_x3,
_n31,_o31,_wi3){if(_x3<0||_x3>this._u7)return;this._u7++;var _EU2=new _qi3(_n31,_o31,_wi3);this.points.splice(_x3,0,_EU2);this._ti3();};_531.prototype._XX=function(_n31,_o31,_wi3){var _EU2=new _qi3(_n31,_o31,_wi3);if(!this.points)this.points=[];this.points[this.points.length]=_EU2;this._u7++;this._ti3();};function _1M2(){this.Paths=[];_pi3=0;}_1M2.prototype._Ke=function(_Fi3){this.Paths[_Fi3.id]=_Fi3;};_1M2.prototype._Pk=function(_Fi3){this.Paths[_Fi3.id]=undefined;};function _Mi3(_Ek){this.depth=_Ek;
this.visible=true;this._Ni3=new _Gj();}_Mi3.prototype._Ke=function(_Oi3){this._Ni3._Ke(_Oi3);};_Mi3.prototype._Pk=function(_Oi3){this._Ni3._3S(_Oi3);};_Mi3.prototype._58=function(_I53){if(!this.visible){return;}var _Zj=this._Ni3._Zj;for(var index=0;index<_Zj.length;index++){var _4k1=_Zj[index];if(_4k1!=null){var _OR1=_4k1.x+(_4k1._xQ*_4k1.w),_Pi3=_4k1.y+(_4k1._yQ*_4k1.h);var _A5=(_4k1.x<_OR1)?_4k1.x:_OR1,_C5=(_4k1.x>_OR1)?_4k1.x:_OR1,_B5=(_4k1.y<_Pi3)?_4k1.y:_Pi3,_D5=(_4k1.y>_Pi3)?_4k1.y:_Pi3;if((_A5<=_I53.right)&&(_B5<=_I53.bottom)&&(_C5>=_I53.left)&&(_D5>=_I53.top)){
_4k1._58();}}}};_Mi3.prototype._RY=function(){return this._Ni3._Zj;};function _Qi3(){this._Ri3=new _Hk();this._Si3=-1;}_Qi3.prototype._I4=function(_Ek){var _Ek1;for(var index=0;index<this._Ri3._u7;index++){_Ek1=this._Ri3._I4(index);if(_Ek1.depth==_Ek)return _Ek1;}return null;};_Qi3.prototype._Pk=function(_Ek){var _Ek1=this._I4(_Ek);if(_Ek1){this._Ri3._Pk(_Ek1);}};_Qi3.prototype._Ke=function(_Oi3){var _Ek1;_Ek1=this._I4(_Oi3.depth);if(!_Ek1){_Ek1=new _Mi3(_Oi3.depth);this._Ri3._Ke(_Ek1);}_Ek1._Ke(_Oi3);};_Qi3.prototype._9k1=function(_Oi3){
var _Ek1=this._I4(_Oi3.depth);if(_Ek1){_Ek1._Pk(_Oi3);}};_Qi3.prototype._Ti3=function(){this._Si3=this._Ri3.length-1;return this._Ri3._I4(this._Si3);};_Qi3.prototype._cD1=function(){this._Si3--;if(this._Si3<0)return null;return this._Ri3._I4(this._Si3);};_Qi3.prototype._zk1=function(_Ek,_e01){var _Ek1=this._I4(_Ek);if(_Ek1)_Ek1.visible=(_e01>=0.5);};function _IY(){this._Uk=[];this.offset=0;this._LY=_IY.prototype._Ui3;this._JY=_IY.prototype._Vi3;};_IY.prototype.Length=function(){return(this._Uk.length-this.offset);
};_IY.prototype._KY=function(_jd){return((this._Uk.length-this.offset)>=_jd);};_IY.prototype._Wi3=function(){return(this._Uk.length==0);};_IY.prototype._Vi3=function(_cU2){this._Uk.push(_cU2);};_IY.prototype._Ui3=function(){if(this._Wi3())return undefined;var _nk=this._Uk[this.offset];if((++this.offset*2)>=this._Uk.length){this._Uk=this._Uk.slice(this.offset);this.offset=0;}return _nk;};_IY.prototype._Xi3=function(){if(this._Uk.length>0){return this._Uk[this.offset];}else {return undefined;}};function _471(){
this.id=_IK2++;this.__R();};_471.prototype.__R=function(){this.__type="[Room]";this._Yi3="";this._Zi3="";this._M_2=30;this._4U=1024;this._6U=768;this._uf3=false;this.__i3=false;this._HZ2=0xc0c0c0;this._u_2=true;this._0j3=true;this._1j3=true;this._2j3=[];for(var _N5=0;_N5<_2K2;_N5++){this._2j3[_N5]=null;}this._af=false;this._3j3=null;this._RN=new _Gj();this._RN._Hj=true;this._BP=new _Gj();this._BP._Hj=true;this._K83=[];this._Lk1=0;this._bk1=[];this._uk1=new _Qi3();this._cf=[];this._4j3=[];this._cW=[];
this._T61=null;this._GQ="Room";this._y31=null;this._kS=new _Hk();this._S13=[];this._R13=0;};_471.prototype._5j3=function(){return this._af;};_471.prototype._eM=function(){return this._4U;};_471.prototype._fM=function(){return this._6U;};_471.prototype._y2=function(){return this._M_2;};_471.prototype._2c2=function(){return this._GQ;};_471.prototype._6j3=function(){return this._Zi3;};_471.prototype._tw2=function(){return this._uf3;};_471.prototype._RY=function(){return this._RN._Zj;};_471.prototype._O_2=function(_F2){
this._4U=_F2;g_pBuiltIn.room_width=_F2;};_471.prototype._P_2=function(_F2){this._6U=_F2;g_pBuiltIn.room_height=_F2;};_471.prototype._L_2=function(_F2){this._M_2=_F2;g_pBuiltIn.room_speed=_F2;};_471.prototype._7j3=function(_R2){this._GQ=_R2;};_471.prototype._N_2=function(_rm1){this._Zi3=_rm1;g_pBuiltIn.room_caption=_rm1;};_471.prototype._sw2=function(_F2){this._uf3=_F2;g_pBuiltIn.room_persistent=_F2;};_471.prototype._571=function(){this._T61={pName:"room_empty_"+this.id,width:640,height:480,backgrounds:[{
},{},{},{},{},{},{},{}],views:[{},{},{},{},{},{},{},{}],pInstances:[],tiles:[]};this._8j3(this._T61);};_471.prototype._9j3=function(_dU2){if(_dU2!=null){this._T61.width=_dU2.width;this._T61.height=_dU2.height;this._T61.colour=_dU2.colour;this._T61.showColour=_dU2.showColour;this._T61.enableViews=_dU2.enableViews;this._T61.viewClearScreen=_dU2.viewClearScreen;this._T61.pCaption=_dU2.pCaption;this._T61.speed=_dU2.speed;this._T61.persistent=_dU2.persistent;this._T61._aj3=_dU2._aj3;this._T61.LayerCount=_dU2.LayerCount;
if(_dU2.pCode){this._T61.pCode=_dU2.pCode;}if(_dU2.physicsWorld){this._T61.physicsWorld=_dU2.physicsWorld;this._T61.physicsTop=_dU2.physicsTop;this._T61.physicsLeft=_dU2.physicsLeft;this._T61.physicsRight=_dU2.physicsRight;this._T61.physicsBottom=_dU2.physicsBottom;this._T61.physicsGravityX=_dU2.physicsGravityX;this._T61.physicsGravityY=_dU2.physicsGravityY;this._T61.physicsPixToMeters=_dU2.physicsPixToMeters;}for(var i=0;i<_dU2.backgrounds.length;i++){var _bj3=_dU2.backgrounds[i];if(_bj3!=null){this._T61.backgrounds[i]={
visible:_bj3.visible,index:_bj3.index,vspeed:_bj3.vspeed,hspeed:_bj3.hspeed,foreground:_bj3.foreground,x:_bj3.x,y:_bj3.y,htiled:_bj3.htiled,vtiled:_bj3.vtiled,stretch:_bj3.stretch,alpha:_bj3.alpha,_zQ:_bj3._zQ};}}for(var i=0;i<_dU2.views.length;i++){var _cj3=_dU2.views[i];if(_cj3){this._T61.views[i]={visible:_cj3.visible,xview:_cj3.xview,yview:_cj3.yview,wview:_cj3.wview,hview:_cj3.hview,xport:_cj3.xport,yport:_cj3.yport,wport:_cj3.wport,hport:_cj3.hport,hborder:_cj3.hborder,vborder:_cj3.vborder,hspeed:_cj3.hspeed,
vspeed:_cj3.vspeed,index:_cj3.index};}}this._T61.pInstances=new Array(_dU2.pInstances.length);for(var i=0;i<_dU2.pInstances.length;i++){var _dj3=_dU2.pInstances[i];if(_dj3){this._T61.pInstances[i]={x:_dj3.x,y:_dj3.y,index:_dj3.index,id:_dj3.id,rotation:_dj3.image_angle,scaleX:_dj3.scaleX,scaleY:_dj3.scaleY,imageSpeed:_dj3.imageSpeed,imageIndex:_dj3.imageIndex,colour:_dj3.image_blend,pCode:_dj3.pCode,pPreCreateCode:_dj3.pPreCreateCode};}}this._T61.tiles=new Array(_dU2.tiles.length);for(var i=0;i<_dU2.tiles.length;
i++){var _ej3=_dU2.tiles[i];if(_ej3!=null){this._T61.tiles[i]={x:_ej3.x,y:_ej3.y,index:_ej3.index,xo:_ej3.xo,yo:_ej3.yo,w:_ej3.w,h:_ej3.h,depth:_ej3.depth,id:_ej3.id,scaleX:_ej3.scaleX,scaleY:_ej3.scaleY,colour:_ej3.colour};}}this._T61.layers=new Array(_dU2.layers.length);for(var i=0;i<_dU2.layers.length;i++){var _fj3=_dU2.layers[i];if(_fj3!=null){var _gj3={pName:_fj3.pName,id:_fj3.id,type:_fj3.type,depth:_fj3.depth,x:_fj3.x,y:_fj3.y,hspeed:_fj3.hspeed,vspeed:_fj3.vspeed,visible:_fj3.visible,effectEnabled:_fj3.effectEnabled,
effectType:_fj3.effectType};_gj3.effectProperties=new Array(_fj3.effectProperties.length);var _hj3;for(_hj3=0;_hj3<_fj3.effectProperties.length;_hj3++){_gj3._ij3[_hj3]={type:_fj3.effectProperties[_hj3].type,name:_fj3.effectProperties[_hj3].name,value:_fj3.effectProperties[_hj3].value};}switch(_fj3.type){case _aQ:_gj3.bvisible=_fj3.bvisible;_gj3.bforeground=_fj3.bforeground;_gj3.bindex=_fj3.bindex;_gj3.bhtiled=_fj3.bhtiled;_gj3.bvtiled=_fj3.bvtiled;_gj3.bstretch=_fj3.bstretch;_gj3.bblend=_fj3.bblend;
_gj3.playbackspeedtype=_fj3.playbackspeedtype;_gj3.bimage_index=_fj3.bimage_index;_gj3.bimage_speed=_fj3.bimage_speed;break;case _bQ:_gj3.icount=_fj3.icount;_gj3.iinstIDs=_fj3.iinstIDs?_fj3.iinstIDs.slice(0):[];break;case _dQ:_gj3.tcount=_fj3.tcount;_gj3.tMapWidth=_fj3.tMapWidth;_gj3.tMapHeight=_fj3.tMapHeight;_gj3.tIndex=_fj3.tIndex;_gj3.ttiles=_fj3.ttiles?_fj3.ttiles.slice(0):[];break;case _cQ:var _jj3;_gj3.acount=_fj3.acount;_gj3.assets=new Array(_fj3.assets.length);for(_jj3=0;_jj3<_fj3.assets.length;
_jj3++){_gj3.assets[_jj3]={ax:_fj3.assets[_jj3].ax,ay:_fj3.assets[_jj3].ay,aindex:_fj3.assets[_jj3].aindex,aXO:_fj3.assets[_jj3].aXO,aYO:_fj3.assets[_jj3].aYO,aW:_fj3.assets[_jj3].aW,aH:_fj3.assets[_jj3].aH,aDepth:_fj3.assets[_jj3].aDepth,aId:_fj3.assets[_jj3].aId,aXScale:_fj3.assets[_jj3].aXScale,aYScale:_fj3.assets[_jj3].aYScale,aBlend:_fj3.assets[_jj3].aBlend};}_gj3.scount=_fj3.scount;_gj3.sprites=new Array(_fj3.sprites.length);for(_jj3=0;_jj3<_fj3.sprites.length;_jj3++){_gj3.sprites[_jj3]={sName:_fj3.sprites[_jj3].sName,
sIndex:_fj3.sprites[_jj3].sIndex,sX:_fj3.sprites[_jj3].sX,sY:_fj3.sprites[_jj3].sY,sXScale:_fj3.sprites[_jj3].sXScale,sYScale:_fj3.sprites[_jj3].sYScale,sBlend:_fj3.sprites[_jj3].sBlend,sPlaybackSpeedType:_fj3.sprites[_jj3].sPlaybackSpeedType,sImageSpeed:_fj3.sprites[_jj3].sImageSpeed,sImageIndex:_fj3.sprites[_jj3].sImageIndex,sRotation:_fj3.sprites[_jj3].sRotation};}_gj3.ecount=_fj3.ecount;_gj3.sequences=new Array(_fj3.sequences.length);for(_jj3=0;_jj3<_fj3.sequences.length;_jj3++){_gj3.sequences[_jj3]={
sName:_fj3.sequences[_jj3].sName,sIndex:_fj3.sequences[_jj3].sIndex,sX:_fj3.sequences[_jj3].sX,sY:_fj3.sequences[_jj3].sY,sXScale:_fj3.sequences[_jj3].sXScale,sYScale:_fj3.sequences[_jj3].sYScale,sBlend:_fj3.sequences[_jj3].sBlend,sPlaybackSpeedType:_fj3.sequences[_jj3].sPlaybackSpeedType,sImageSpeed:_fj3.sequences[_jj3].sImageSpeed,sHeadPosition:_fj3.sequences[_jj3].sHeadPosition,sRotation:_fj3.sequences[_jj3].sRotation};}_gj3.pcount=_fj3.pcount;_gj3.particles=new Array(_fj3.particles.length);for(_jj3=0;
i<_fj3.particles.length;_jj3++){var _kj3=_fj3.particles[_jj3];_gj3.particles[_jj3]={sName:_kj3.sName,sIndex:_kj3.sIndex,sX:_kj3.sX,sY:_kj3.sY,sXScale:_kj3.sXScale,sYScale:_kj3.sYScale,sBlend:_kj3.sBlend,sRotation:_kj3.sRotation,};}break;case _fQ:_gj3._OQ=_fj3._OQ;break;}this._T61.layers[i]=_gj3;}}}};_471.prototype._8j3=function(_lj3){this.__R();this._T61=_lj3;if(_lj3.pName!=undefined)this._7j3(_lj3.pName);if(_lj3.pCaption!=undefined)this._N_2(_lj3.pCaption);if(_lj3.width!=undefined)this._O_2(_lj3.width);
if(_lj3.height!=undefined)this._P_2(_lj3.height);if(_lj3.speed!=undefined)this._L_2(_lj3.speed);if(_lj3.persistent!=undefined)this._sw2(_lj3.persistent);if(_lj3.colour!=undefined)this._HZ2=_lj3.colour;if(_lj3.showColour!=undefined)this._u_2=_lj3.showColour;if(_lj3.enableViews!=undefined)this._af=_lj3.enableViews;if(_lj3.viewClearScreen!=undefined)this._0j3=_lj3.viewClearScreen;if(_lj3._aj3!=undefined)this._1j3=_lj3._aj3;this._O_2(this._4U);this._P_2(this._6U);this._L_2(this._M_2);this._N_2(this._Zi3);
this._sw2(this._uf3);this._cf=[];this._Lk1=0;for(var index=0;index<_lj3.tiles.length;index++){var _mj3=_lj3.tiles[index];if(_mj3!=null){var _4k1=_nj3(_mj3);this._uk1._Ke(_4k1);this._bk1[_4k1.id]=_4k1;this._Lk1++;}}if(_lj3.pCode!=undefined)this._3j3=_lj3.pCode;for(var _14=0;_14<_lj3.views.length;_14++){this._cf[_14]=_oj3(_lj3.views[_14]);}if(_lj3.LayerCount!=undefined){if(_lj3.LayerCount>0){_7t._1U(this,_lj3.layers);}}};_471.prototype._pj3=function(){if(this._T61.physicsWorld){if(_z2){this._y31=new _B31(this._T61.physicsPixToMeters,
_B2._C2());}else {this._y31=new _B31(this._T61.physicsPixToMeters,this._y2());}this._y31._G31(this._T61.physicsGravityX,this._T61.physicsGravityY);}};_471.prototype._qj3=function(_rj3){var i;var _sj3=0;var _tj3=[];for(i=this._RN.length-1;i>=0;i--){var _4m=this._RN._I4(0);if(_rj3){_4m._R4(_fP,0,_4m,_4m);}this._uj3(_4m);}for(i=this._BP.length-1;i>=0;i--){this._uj3(this._BP._I4(0));}};_471.prototype._871=function(){this._T61.pInstances=[];};_471.prototype._u42=function(index){if(this._cf!=undefined){var _Wy=this._cf[index];
if(_Wy!=undefined)return _Wy;}return undefined;};_471.prototype._5m=function(_u4,_v4,_2m){return this._gT(_u4,_v4,_nP++,_2m,false,0);};_471.prototype._HV=function(_u4,_v4,_1S,_2m){return this._vj3(_u4,_v4,_1S,_nP++,_2m,true);};_471.prototype._GV=function(_u4,_v4,_Ek,_2m){var _4m=this._gT(_u4,_v4,_nP++,_2m,true,_Ek);return _4m;};_471.prototype._wj3=function(_u4,_v4,_nf,_gP,_xj3,_yj3,_zj3,_Aj3,_082,_Tb){var _Bj3=new _mP(_u4,_v4,_nf,_gP,true);this._RN._Ke(_Bj3);_Lm._Ke(_Bj3);if(_zj3!=undefined)_Bj3.image_speed=_zj3;
if(_Aj3!=undefined)_Bj3.image_index=_Aj3;if(_xj3!=undefined)_Bj3.image_xscale=_xj3;if(_yj3!=undefined)_Bj3.image_yscale=_yj3;if(_082!=undefined)_Bj3.image_angle=_082;if(_Tb!=undefined){_Bj3.image_blend=_Tb&0xffffff;_Bj3.image_alpha=((_Tb>>24)&0xff)/255.0;}if(_z2){_Bj3._k83=_Bj3._j83=_Bj3.image_index;var _oS=_7t._JT(this,_nf);if(_oS==null){_7t._gT(this,_Bj3);}else {_7t._IS(this,_oS.layer,_oS._wc);}}_Bj3._h93();return _Bj3;};_471.prototype._gT=function(_u4,_v4,_nf,_gP,_Cj3,_Ek){var _Bj3=new _mP(_u4,_v4,
_nf,_gP,true);this._RN._Ke(_Bj3);_Lm._Ke(_Bj3);if(_Cj3){_Bj3.depth=_Ek;}if(_z2){var _oS=_7t._JT(this,_nf);if(_oS==null){_7t._gT(this,_Bj3);}else {_7t._IS(this,_oS.layer,_oS._wc);}}_Bj3._h93();return _Bj3;};_471.prototype._vj3=function(_u4,_v4,_1S,_nf,_gP){var _Bj3=new _mP(_u4,_v4,_nf,_gP,true);_Bj3.depth=_1S.depth;this._RN._Ke(_Bj3);_Lm._Ke(_Bj3);_Bj3._h93();if(_z2)_7t._iT(this,_1S,_Bj3);return _Bj3;};_471.prototype._rP=function(_Ls){this._RN._Ke(_Ls);_Lm._Ke(_Ls);if(_z2){var _aO=_7t._QP(this,_Ls._uS);
if(_aO!=null)_7t._iT(this,_aO,_Ls);}};_471.prototype._Dj3=function(){var w=display_get_width();var h=display_get_height();for(var i=0;i<_3K2;i++){g_pBuiltIn.view_visible[i]=false;g_pBuiltIn.view_xview[i]=0;g_pBuiltIn.view_yview[i]=0;g_pBuiltIn.view_wview[i]=_x2._4U;g_pBuiltIn.view_hview[i]=_x2._6U;g_pBuiltIn.view_xport[i]=0;g_pBuiltIn.view_yport[i]=0;g_pBuiltIn.view_wport[i]=w;g_pBuiltIn.view_hport[i]=h;g_pBuiltIn.view_angle[i]=0;g_pBuiltIn.view_hborder[i]=0;g_pBuiltIn.view_vborder[i]=0;g_pBuiltIn.view_hspeed[i]=0;
g_pBuiltIn.view_vspeed[i]=0;g_pBuiltIn.view_object[i]=-1;g_pBuiltIn.view_surface_id[i]=-1;g_pBuiltIn.view_camera[i]=-1;}var index=0;for(var i=0;i<this._cf.length;i++){var _df=this._cf[i];g_pBuiltIn.view_visible[index]=_df.visible;g_pBuiltIn.view_xview[index]=_df._9i1;g_pBuiltIn.view_yview[index]=_df._ai1;g_pBuiltIn.view_wview[index]=_df._bi1;g_pBuiltIn.view_hview[index]=_df._ci1;g_pBuiltIn.view_xport[index]=_df._Ej3;g_pBuiltIn.view_yport[index]=_df._Fj3;g_pBuiltIn.view_wport[index]=_df._Gj3;g_pBuiltIn.view_hport[index]=_df._Hj3;
g_pBuiltIn.view_angle[index]=_df.angle;g_pBuiltIn.view_hborder[index]=_df.hborder;g_pBuiltIn.view_vborder[index]=_df.vborder;g_pBuiltIn.view_hspeed[index]=_df.hspeed;g_pBuiltIn.view_vspeed[index]=_df.vspeed;g_pBuiltIn.view_object[index]=_df._3m;g_pBuiltIn.view_surface_id[index]=_df._tM;g_pBuiltIn.view_camera[index]=_df._Y61;index++;}};_471.prototype._Ij3=function(){var index=0;for(var i=0;i<this._cf.length;i++){var _df=this._cf[i];_df.visible=g_pBuiltIn.view_visible[index];_df._9i1=g_pBuiltIn.view_xview[index];
_df._ai1=g_pBuiltIn.view_yview[index];_df._bi1=g_pBuiltIn.view_wview[index];_df._ci1=g_pBuiltIn.view_hview[index];_df._Ej3=g_pBuiltIn.view_xport[index];_df._Fj3=g_pBuiltIn.view_yport[index];_df._Gj3=g_pBuiltIn.view_wport[index];_df._Hj3=g_pBuiltIn.view_hport[index];_df.angle=g_pBuiltIn.view_angle[index];_df.hborder=g_pBuiltIn.view_hborder[index];_df.vborder=g_pBuiltIn.view_vborder[index];_df.hspeed=g_pBuiltIn.view_hspeed[index];_df.vspeed=g_pBuiltIn.view_vspeed[index];_df._3m=g_pBuiltIn.view_object[index];
_df._tM=g_pBuiltIn.view_surface_id[index];_df._Y61=g_pBuiltIn.view_camera[index];index++;}};_471.prototype._Jj3=function(){for(var i=0;i<_cq._3r.length;i++){var _6r=_cq._I4(i);_6r.hspeed=g_pBuiltIn._BZ2[i];_6r.vspeed=g_pBuiltIn._CZ2[i];_6r.x=g_pBuiltIn._tZ2[i];_6r.y=g_pBuiltIn._uZ2[i];_6r.x+=_6r.hspeed;_6r.y+=_6r.vspeed;g_pBuiltIn._tZ2[i]=_6r.x;g_pBuiltIn._uZ2[i]=_6r.y;}};_471.prototype._Kj3=function(){var i;var _K5,_N5,_Oi,_Kx2;var _df;var _5t;if(!this._af)return;this._Ij3();for(i=0;i<this._cf.length;
i++){_df=this._cf[i];if(!_df.visible)continue;if(_z2&&_i7==null){if(_df._Y61!=-1){var _Mw2=_li1._ww2(_df._Y61);if(_Mw2!=null){_df._3m=_Mw2._kw2;}}}if(_z2){if(_df._Y61!=-1){var _Mw2=_li1._ww2(_df._Y61);if(_Mw2!=null){_Mw2._0f();}}}else if((_df.visible)&&(_df._3m>=0)){_5t=null;if(_df._3m<100000){var _FF=_m2._I4(_df._3m);if(_FF!=null){var _Zj=_FF._h41();for(var _RE=0;_RE<_Zj.length;_RE++){_5t=_Zj[_RE];if(!_5t.marked)break;_5t=null;}}}else {_5t=_Lm._I4(_df._3m);if(!_5t&&_5t.marked)_5t=null;}if(_5t!=null){_K5=_df._9i1;
_N5=_df._ai1;_Oi=_5t.x;_Kx2=_5t.y;if(2*_df.hborder>=_df._bi1){_K5=_Oi-_df._bi1/2;}else if(_Oi-_df.hborder<_df._9i1){_K5=_Oi-_df.hborder;}else if(_Oi+_df.hborder>_df._9i1+_df._bi1){_K5=_Oi+_df.hborder-_df._bi1;}if(2*_df.vborder>=_df._ci1){_N5=_Kx2-_df._ci1/2;}else if(_Kx2-_df.vborder<_df._ai1){_N5=_Kx2-_df.vborder;}else if(_Kx2+_df.vborder>_df._ai1+_df._ci1){_N5=_Kx2+_df.vborder-_df._ci1;}if(_K5<0)_K5=0;if(_K5+_df._bi1>this._4U)_K5=this._4U-_df._bi1;if(_N5<0)_N5=0;if(_N5+_df._ci1>this._6U)_N5=this._6U-_df._ci1;
if(_df.hspeed>=0){if((_K5<_df._9i1)&&(_df._9i1-_K5>_df.hspeed))_K5=_df._9i1-_df.hspeed;if((_K5>_df._9i1)&&(_K5-_df._9i1>_df.hspeed))_K5=_df._9i1+_df.hspeed;}if(_df.vspeed>=0){if((_N5<_df._ai1)&&(_df._ai1-_N5>_df.vspeed))_N5=_df._ai1-_df.vspeed;if((_N5>_df._ai1)&&(_N5-_df._ai1>_df.vspeed))_N5=_df._ai1+_df.vspeed;}_df._9i1=_K5;_df._ai1=_N5;}}}this._Dj3();var left,right,top,bottom;left=999999;right=-999999;top=999999;bottom=-999999;for(var i=0;i<_x2._cf.length;i++){_df=_x2._cf[i];if(_df.visible){if(left>_df._Ej3)left=_df._Ej3;
if(right<(_df._Ej3+_df._Gj3))right=_df._Ej3+_df._Gj3;if(top>_df._Fj3)top=_df._Fj3;if(bottom<(_df._Fj3+_df._Hj3))bottom=_df._Fj3+_df._Hj3;}}_Qm1=__h1/(right-left);_Rm1=_0i1/(bottom-top);};_471.prototype._Lj3=function(_I53,_1S,_eS){var _4m=_eS._TP;if(_4m!=null){if(!_4m.marked&&_4m.active&&_4m.visible&&(!_4m._d93()||!_4m._293())){var _Tf=_m2._I4(_4m.object_index);if(_Tf!=null){if(_Tf._5z2[_YC2]){_h5=_4m;_4m._R4(_YC2,0,_4m,_4m);_h5=null;}else {var _zr=_H4._I4(_4m.sprite_index);if(_zr!=null){_h5=_4m;if((_4m.image_xscale===1)&&(_4m.image_yscale===1)&&(_4m.image_angle===0)&&(_Ub(_4m.image_blend)===0xffffff)&&(_4m.image_alpha===1)){
_zr.__j1(_4m.image_index,_4m.x,_4m.y,_4m.image_alpha*_Rb);}else {_zr._58(_4m.image_index,_4m.x,_4m.y,_4m.image_xscale,_4m.image_yscale,_4m.image_angle,_Ub(_4m.image_blend),_4m.image_alpha);}_h5=null;}}}}}};_471.prototype._Mj3=function(_I53,_1S,_eS){for(var i=0;i<_eS._5R.length();i++){var _Nj3=_eS._4R;for(var _35=0;_35<_Nj3.length();_35++){var _Fk1=_Nj3[_35];}}};_471.prototype._Oj3=function(_I53,_1S,_eS){var _bq=_eS._1R;if(!_bq.visible)return;if(_bq.foreground)return;var _Pj3=_bq._zQ;if(sprite_exists(_bq.index)){
var _zr=_H4._I4(_bq.index);if(!_zr)return;var _Qe3=(~~_bq.image_index)%_zr._G3.length;if(_zr._G3[_Qe3]!=undefined){if(_bq.stretch){var _xQ=_x2._eM()/_zr.width;var _yQ=_x2._fM()/_zr.height;_Kr(_zr._G3[_Qe3],_1S._pO,_1S._rO,_xQ,_yQ,_bq.vtiled,_bq.htiled,_Pj3,_bq.alpha);}else _Kr(_zr._G3[_Qe3],_1S._pO,_1S._rO,_bq._xQ,_bq._yQ,_bq.vtiled,_bq.htiled,_Pj3,_bq.alpha);}}else {var _Qj3=_Rb;_Rb=_bq.alpha;if(!_i7)_Pj3=_Ub(_bq._zQ);draw_rectangle_color(_RL.left,_RL.top,_RL.right,_RL.bottom,_Pj3,_Pj3,_Pj3,_Pj3,false);
_Rb=_Qj3;}};_471.prototype._Rj3=function(_I53,_1S,_eS){if(sprite_exists(_eS._7R)){var _zr=_H4._I4(_eS._7R);if(!_zr)return;if(_zr._xL!==undefined){if((_eS._dR==1.0)&&(_eS._eR==1.0)&&(_eS._fR==0.0)&&(_eS._gR==0xffffff)){_zr.__j1(_eS._cR,_eS._oO+_1S._pO,_eS._qO+_1S._rO,_eS._hR);}else {_zr._58(_eS._cR,_eS._oO+_1S._pO,_eS._qO+_1S._rO,_eS._dR,_eS._eR,_eS._fR,_eS._gR,_eS._hR);}}else {if((_eS._dR==1.0)&&(_eS._eR==1.0)&&(_eS._fR==0.0)&&(_eS._gR==0xffffff)){_zr.__j1(_eS._cR,_eS._oO+_1S._pO,_eS._qO+_1S._rO,_eS._hR);
}else {_zr._58(_eS._cR,_eS._oO+_1S._pO,_eS._qO+_1S._rO,_eS._dR,_eS._eR,_eS._fR,_eS._gR,_eS._hR);}}}};var _2y2=-1;function _7M2(){_2y2=_li1._yw2();}function _Mi1(_u4,_v4,_oi,_pi,_y4,_Mw2){if(_Mw2){_Mw2._Rw2(_u4);_Mw2._Sw2(_v4);_Mw2._Tw2(_oi);_Mw2._Uw2(_pi);_Mw2._Zw2(_y4);if(_Mw2._mw2){_Mw2._0x2(_Mw2._1x2()+(_Mw2._2x2()*0.5),_Mw2._3x2()+(_Mw2._4x2()*0.5));_Mw2._Pi1();}else {_Mw2._Nx2(_Mw2._1x2()+(_Mw2._2x2()*0.5),_Mw2._3x2()+(_Mw2._4x2()*0.5));_Mw2._Pi1();_aM=_u4;_bM=_v4;_8M=_oi;_9M=_pi;var _dM=_y4;_QL(_aM,
_bM,_8M,_9M,_dM);}}}function _Di1(_u4,_v4,_oi,_pi,_y4){var _Sj3=_li1._ww2(_2y2);if(_Sj3==null)_Sj3=_li1._cx2();_Mi1(_u4,_v4,_oi,_pi,_y4,_Sj3);_li1._dx2(_Sj3._sx2());}function _Tj3(_I53,_yr,_Uj3,_JL,_u4,_v4,_Ek){if(_yr!=null){var _6r=_yr;var _Vj3=null;var _Wj3=1;var _Xj3=1;var _Yj3=false;var tilewidth=0;var tileheight=0;var _Zj3=0,__j3=0;var _0k3=0,_1k3=0;_JL=_JL%_6r.framelength;if(_6r._9r===null||_6r._9r===undefined){}else {var _Mb=_6r._9r;var _K7=_Mb.texture;if(!_K7.complete)return;if(_i7)if(!_K7._R7)_Q7({texture:_K7}
);_Wj3=_Mb.w/_Mb.ow;_Xj3=_Mb.h/_Mb.oh;if(_Mb.XOffset!=0||_Mb.YOffset!=0||_Mb.CropWidth!=_Mb.ow||_Mb.CropHeight!=_Mb.oh){_Yj3=false;}else {_Yj3=true;tilewidth=_6r.tilewidth*_Wj3/_K7.width;tileheight=_6r.tileheight*_Xj3/_K7.height;var tilehsep=_6r.tilehsep*_Wj3/_K7.width;var tilevsep=_6r.tilevsep*_Xj3/_K7.height;_0k3=tilehsep+_Mb.x/_K7.width;_1k3=tilevsep+_Mb.y/_K7.height;_Zj3=tilewidth+tilehsep*2;__j3=tileheight+tilevsep*2;}}var _073,_173,depth;{_073=_u4;_173=_v4;depth=_Ek;}if(_K7!=null){var _wO=_7t._xO();
if(_Yj3){var _2k3=_6r.tilewidth;var _3k3=_6r.tileheight;var tilecolumns=_6r.tilecolumns;var _Ue3=null;var _4k3=null;var _K9,bindex,_N9,_P9,_R9,_T9,_la,_34,_ma,_na,_oa;if(_i7){var _q3=~~((_Rb*255.0)<<24)|(_Sb&0xffffff);var _ZN=_Uj3;_ZN&=_wO;var _zO=(_ZN>>_AO)&_BO;if(_zO===0)return;_zO=_6r.framedata[_zO*_6r.frames+_JL];if(_zO===0)return;_Ue3=_i7._H9(_d9._I9,_K7._R7,_i7._J9,6);_K9=_Ue3._L9()>>2;bindex=_K9*_Ue3._M9;_Ue3._M9+=6;_N9=_Ue3._O9;_P9=_Ue3._Q9;_R9=_Ue3._S9;_T9=bindex;_la=_T9+_K9;_34=_la+_K9;_ma=_34+_K9;
_na=_ma+_K9;_oa=_na+_K9;var _7i=_073;var _EG=_173;var xo=((_zO%tilecolumns)*_Zj3)+_0k3;var yo=(Math.floor(_zO/tilecolumns)*__j3)+_1k3;var _5k3=_7i;var _6k3=_EG;var _7k3=_7i+_2k3;var _8k3=_EG;var _9k3=_7i;var _ak3=_EG+_3k3;var _bk3=_7i+_2k3;var _ck3=_EG+_3k3;var _dk3=xo;var _ek3=yo;var _fk3=xo+tilewidth;var _gk3=yo;var _hk3=xo;var _ik3=yo+tileheight;var _jk3=xo+tilewidth;var _kk3=yo+tileheight;if(_ZN&__N){if(_ZN&_0O){var _nK;_nK=_dk3;_dk3=_fk3;_fk3=_nK;_nK=_hk3;_hk3=_jk3;_jk3=_nK;}if(_ZN&_2O){var _nK;_nK=_ek3;_ek3=_ik3;
_ik3=_nK;_nK=_gk3;_gk3=_kk3;_kk3=_nK;}if(_ZN&_sQ){var _nK;_nK=_dk3;_dk3=_hk3;_hk3=_jk3;_jk3=_fk3;_fk3=_nK;_nK=_ek3;_ek3=_ik3;_ik3=_kk3;_kk3=_gk3;_gk3=_nK;}}_N9[_T9+0]=_5k3;_N9[_T9+1]=_6k3;_N9[_T9+2]=depth;_N9[_la+0]=_N9[_na+0]=_7k3;_N9[_la+1]=_N9[_na+1]=_8k3;_N9[_la+2]=_N9[_na+2]=depth;_N9[_34+0]=_N9[_ma+0]=_9k3;_N9[_34+1]=_N9[_ma+1]=_ak3;_N9[_34+2]=_N9[_ma+2]=depth;_N9[_oa+0]=_bk3;_N9[_oa+1]=_ck3;_N9[_oa+2]=depth;_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=_P9[_na]=_P9[_oa]=_q3;_R9[_T9+0]=_dk3;_R9[_T9+1]=_ek3;
_R9[_la+0]=_R9[_na+0]=_fk3;_R9[_la+1]=_R9[_na+1]=_gk3;_R9[_34+0]=_R9[_ma+0]=_hk3;_R9[_34+1]=_R9[_ma+1]=_ik3;_R9[_oa+0]=_jk3;_R9[_oa+1]=_kk3;}else {var _ZN=_Uj3;var _zO=(_ZN>>_AO)&_BO;if(_zO===0)return;_zO=_6r.framedata[_zO*_6r.frames+_JL];if(_zO===0)return;var _7i=_073;var _EG=_173;var xo=((_zO%tilecolumns)*_Zj3)+_0k3;var yo=(Math.floor(_zO/tilecolumns)*__j3)+_1k3;var _5k3=_7i;var _6k3=_EG;var _7k3=_7i+_2k3;var _8k3=_EG;var _9k3=_7i;var _ak3=_EG+_3k3;var _bk3=_7i+_2k3;var _ck3=_EG+_3k3;var _dk3=xo;var _ek3=yo;var _fk3=xo+tilewidth;
var _gk3=yo;var _hk3=xo;var _ik3=yo+tileheight;var _jk3=xo+tilewidth;var _kk3=yo+tileheight;var _4G=_59.globalAlpha;_59.globalAlpha=_Rb;var _lk3=_K7;var _mk3=0;var _nk3=0;var _q3=_Sb&0xffffff;if(_q3!=0xffffff){_lk3=_Q8(_Mb,_q3);_mk3=-_Mb.x;_nk3=-_Mb.y;}if(_ZN&__N){var _C63=1;var _D63=1;var _C3=0;if(_ZN&_0O){_C63=-_C63;}if(_ZN&_2O){_D63=-_D63;}if(_ZN&_sQ){_C3=-1.5708;}_h33(Math.floor(_5k3)+_2k3*0.5,Math.floor(_6k3)+_3k3*0.5,_C63,_D63,-_C3);_59._sf1(_lk3,Math.floor(_dk3*_K7.width)+_mk3,Math.floor(_ek3*_K7.height)+_nk3,
Math.floor(tilewidth*_K7.width),Math.floor(tileheight*_K7.height),-_2k3*0.5,-_2k3*0.5,_2k3,_3k3);_j33();}else {_59._sf1(_lk3,Math.floor(_dk3*_K7.width)+_mk3,Math.floor(_ek3*_K7.height)+_nk3,Math.floor(tilewidth*_K7.width),Math.floor(tileheight*_K7.height),Math.floor(_5k3),Math.floor(_6k3),_2k3,_3k3);}_59.globalAlpha=_4G;}}}}};function draw_tile(_j6,_yr,_ok3,_JL,_u4,_v4){if(_aq(_yr)){var _pk3=_8r(_yr);var _qk3=_ar(_yr);var _6r=_cq._4r(_yr);var _zO=((_ok3>>_AO)&_BO);if(_6r!=null&&_zO>_6r.tilecount){return;
}var x=yyGetReal(_u4);var y=yyGetReal(_v4);var depth=_xV(_j6);_Tj3(_RL,_6r,_ok3,_JL,x,y,depth);}};_471.prototype._yV=function(_I53,_1S,_eS,_Ri,_Si,_Ek){if(_aq(_eS._gO)){var _pk3=_8r(_eS._gO);var _qk3=_ar(_eS._gO);var _6r=_cq._4r(_eS._gO);var _Vj3=null;var _Wj3=1;var _Xj3=1;var _Yj3=false;var tilewidth=0;var tileheight=0;var _Zj3=0,__j3=0;var _0k3=0,_1k3=0;if(_6r._9r===null||_6r._9r===undefined){}else {var _Mb=_6r._9r;var _K7=_Mb.texture;if(!_K7.complete)return;if(_i7)if(!_K7._R7)_Q7({texture:_K7});_Wj3=_Mb.w/_Mb.ow;
_Xj3=_Mb.h/_Mb.oh;if(_Mb.XOffset!=0||_Mb.YOffset!=0||_Mb.CropWidth!=_Mb.ow||_Mb.CropHeight!=_Mb.oh){_Yj3=false;}else {_Yj3=true;tilewidth=_6r.tilewidth*_Wj3/_K7.width;tileheight=_6r.tileheight*_Xj3/_K7.height;var tilehsep=_6r.tilehsep*_Wj3/_K7.width;var tilevsep=_6r.tilevsep*_Xj3/_K7.height;_0k3=tilehsep+_Mb.x/_K7.width;_1k3=tilevsep+_Mb.y/_K7.height;_Zj3=tilewidth+tilehsep*2;__j3=tileheight+tilevsep*2;}}var _073,_173,depth;if(_1S!=null){_073=_1S._pO+_eS._oO;_173=_1S._rO+_eS._qO;depth=_1S.depth;}else {
_073=_Ri;_173=_Si;depth=_Ek;}if(_K7!=null){var _wO=_7t._xO();_wO&=_eS._yO;if(_Yj3){var _rk3=2048;var _Qh=Math.floor((_I53.left-_073)/_6r.tilewidth);var _Rh=Math.floor(((_I53.right-_073)+_6r.tilewidth)/_6r.tilewidth);var _Sh=Math.floor((_I53.top-_173)/_6r.tileheight);var _Th=Math.floor(((_I53.bottom-_173)+_6r.tileheight)/_6r.tileheight);_Qh=_L5(0,_Qh);_Rh=_M5(_eS._sO,_Rh);_Sh=_L5(0,_Sh);_Th=_M5(_eS._tO,_Th);var _2k3=_6r.tilewidth;var _3k3=_6r.tileheight;var tilecolumns=_6r.tilecolumns;var _sk3=(_Rh-_Qh)*(_Th-_Sh);
var _tk3=0;var _Ue3=null;var _4k3=null;var _K9,bindex,_N9,_P9,_R9,_T9,_la,_34,_ma,_na,_oa;if(_i7){for(var y=_Sh;y<_Th;y++){var index=y*_eS._sO+_Qh;for(var x=_Qh;x<_Rh;x++,index++,_sk3--){var _ZN=_eS._fO[index];_ZN&=_wO;var _zO=(_ZN>>_AO)&_BO;if(_zO===0)continue;_zO=_6r.framedata[_zO*_6r.frames+_eS._DO];if(_zO===0)continue;if(_tk3===0){_tk3=_M5(_sk3,_rk3);_Ue3=_i7._H9(_d9._I9,_K7._R7,_i7._J9,_tk3*6);_K9=_Ue3._L9()>>2;bindex=_K9*_Ue3._M9;_Ue3._M9+=_tk3*6;_N9=_Ue3._O9;_P9=_Ue3._Q9;_R9=_Ue3._S9;_T9=bindex;_la=_T9+_K9;
_34=_la+_K9;_ma=_34+_K9;_na=_ma+_K9;_oa=_na+_K9;}var _7i=x*_2k3+_073;var _EG=y*_3k3+_173;var xo=((_zO%tilecolumns)*_Zj3)+_0k3;var yo=(Math.floor(_zO/tilecolumns)*__j3)+_1k3;var _5k3=_7i;var _6k3=_EG;var _7k3=_7i+_2k3;var _8k3=_EG;var _9k3=_7i;var _ak3=_EG+_3k3;var _bk3=_7i+_2k3;var _ck3=_EG+_3k3;var _dk3=xo;var _ek3=yo;var _fk3=xo+tilewidth;var _gk3=yo;var _hk3=xo;var _ik3=yo+tileheight;var _jk3=xo+tilewidth;var _kk3=yo+tileheight;if(_ZN&__N){if(_ZN&_0O){var _nK;_nK=_dk3;_dk3=_fk3;_fk3=_nK;_nK=_hk3;_hk3=_jk3;_jk3=_nK;
}if(_ZN&_2O){var _nK;_nK=_ek3;_ek3=_ik3;_ik3=_nK;_nK=_gk3;_gk3=_kk3;_kk3=_nK;}if(_ZN&_sQ){var _nK;_nK=_dk3;_dk3=_hk3;_hk3=_jk3;_jk3=_fk3;_fk3=_nK;_nK=_ek3;_ek3=_ik3;_ik3=_kk3;_kk3=_gk3;_gk3=_nK;}}_N9[_T9+0]=_5k3;_N9[_T9+1]=_6k3;_N9[_T9+2]=depth;_N9[_la+0]=_N9[_na+0]=_7k3;_N9[_la+1]=_N9[_na+1]=_8k3;_N9[_la+2]=_N9[_na+2]=depth;_N9[_34+0]=_N9[_ma+0]=_9k3;_N9[_34+1]=_N9[_ma+1]=_ak3;_N9[_34+2]=_N9[_ma+2]=depth;_N9[_oa+0]=_bk3;_N9[_oa+1]=_ck3;_N9[_oa+2]=depth;_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=_P9[_na]=_P9[_oa]=0xffffffff;
_R9[_T9+0]=_dk3;_R9[_T9+1]=_ek3;_R9[_la+0]=_R9[_na+0]=_fk3;_R9[_la+1]=_R9[_na+1]=_gk3;_R9[_34+0]=_R9[_ma+0]=_hk3;_R9[_34+1]=_R9[_ma+1]=_ik3;_R9[_oa+0]=_jk3;_R9[_oa+1]=_kk3;_T9+=_K9*6;_la+=_K9*6;_34+=_K9*6;_ma+=_K9*6;_na+=_K9*6;_oa+=_K9*6;_tk3--;}}if(_tk3>0)_Ue3._M9-=_tk3*6;}else {for(var y=_Sh;y<_Th;y++){var index=y*_eS._sO+_Qh;for(var x=_Qh;x<_Rh;x++,index++,_sk3--){var _ZN=_eS._fO[index];var _zO=(_ZN>>_AO)&_BO;if(_zO===0)continue;_zO=_6r.framedata[_zO*_6r.frames+_eS._DO];if(_zO===0)continue;var _7i=x*_2k3+_073;
var _EG=y*_3k3+_173;var xo=((_zO%tilecolumns)*_Zj3)+_0k3;var yo=(Math.floor(_zO/tilecolumns)*__j3)+_1k3;var _5k3=_7i;var _6k3=_EG;var _7k3=_7i+_2k3;var _8k3=_EG;var _9k3=_7i;var _ak3=_EG+_3k3;var _bk3=_7i+_2k3;var _ck3=_EG+_3k3;var _dk3=xo;var _ek3=yo;var _fk3=xo+tilewidth;var _gk3=yo;var _hk3=xo;var _ik3=yo+tileheight;var _jk3=xo+tilewidth;var _kk3=yo+tileheight;if(_ZN&__N){var _C63=1;var _D63=1;var _C3=0;if(_ZN&_0O){_C63=-_C63;}if(_ZN&_2O){_D63=-_D63;}if(_ZN&_sQ){_C3=-1.5708;}_h33(Math.floor(_5k3)+_2k3*0.5,Math.floor(_6k3)+_3k3*0.5,
_C63,_D63,-_C3);_59._sf1(_K7,Math.floor(_dk3*_K7.width),Math.floor(_ek3*_K7.height),Math.floor(tilewidth*_K7.width),Math.floor(tileheight*_K7.height),-_2k3*0.5,-_2k3*0.5,_2k3,_3k3);_j33();}else {_59._sf1(_K7,Math.floor(_dk3*_K7.width),Math.floor(_ek3*_K7.height),Math.floor(tilewidth*_K7.width),Math.floor(tileheight*_K7.height),Math.floor(_5k3),Math.floor(_6k3),_2k3,_3k3);}}}}}}}};_471.prototype._uk3=function(_I53,_1S,_eS){var _Rp=_eS._qR;if(!_q11(_Rp))return;var _ei3=_q01[_Rp];if(!_ei3._ng3)return;
var _vk3=_6A(_Zz);var _wk3=new _Dy();_wk3._3A(_eS._fR+_ei3.angle);var _xk3=new _Dy();_xk3._0A(_eS._dR,_eS._eR,1.0);var _yk3=new _Dy();_yk3.Multiply(_xk3,_wk3);var _zk3=new _Dy();_zk3.__z(-_ei3._G01,-_ei3._H01,0.0);var _Ak3=new _Dy();_Ak3.Multiply(_zk3,_yk3);_Ak3._JN2(_ei3._G01+_eS._oO,_ei3._H01+_eS._qO,0.0);_Yz(_Zz,_Ak3);_Zh3(_Rp,_Ak3);_A11(_Rp,_eS._gR,_eS._hR);_Yz(_Zz,_vk3);};_471.prototype._Bk3=function(_I53,_1S,_eS){if(!_eS._EQ)return false;var _zr=_H4._I4(_eS._7F);if(_zr!=null){var _F3=_zr._G3[0];if((_F3.texture instanceof HTMLImageElement)&&(_F3.tp>=_J3.length))return;
if((_J3[_F3.tp] instanceof HTMLImageElement)&&(!_J3[_F3.tp].complete))return;_Or(_F3,_eS._vR,_eS._wR,_eS._tR,_eS._uR,_eS._oO,_eS._qO,_eS._dR,_eS._eR,_eS._gR,_eS._hR);}};_471.prototype._Ck3=function(_I53,_1S,_Dk3){_DS._Ek3(_Dk3,true);var _5t=_DS._cT(_Dk3._kR);if((_5t!=null)&&(_5t._Fk3!=null)){var _i71=_DS._UV(_5t._jR);if(_i71!=null){var _Gk3=new _Dy();var _Hk3=_Dk3._oO!=0||_Dk3._qO!=0||_Dk3._Z1!=0||_Dk3._mR!=1||_Dk3._nR!=1;if(_Hk3){_Gk3=_6A(_Zz);var _Ik3=new _Dy();var _Jk3=new _Dy();var _Kk3=new _Dy();var _Lk3=new _Dy();
_Ik3._0A(_Dk3._mR,_Dk3._nR,1);_Jk3._3A(_Dk3._Z1);_Kk3.__z(-_i71._Mk3*_Dk3._mR,-_i71._Nk3*_Dk3._nR,0);_Lk3.__z(_i71._Mk3*_Dk3._mR,_i71._Nk3*_Dk3._nR,0);var _rA=new _Dy();_rA.Multiply(_Kk3,_Jk3);var _Ok3=new _Dy();_Ok3.Multiply(_rA,_Lk3);_rA.Multiply(_Ik3,_Ok3);_rA._z5[12]=_Dk3._oO;_rA._z5[13]=_Dk3._qO;var _Pk3=new _Dy();_Pk3.Multiply(_rA,_Gk3);_Yz(_Zz,_Pk3);_lM();}_g81.push(_i71);this._Qk3(_I53,_1S,_Dk3,_5t._Fk3,_5t._lR,_5t._4W,_5t._6W,_i71,false);_g81.pop();if(_Hk3){_Yz(_Zz,_Gk3);}}}};_471.prototype._Qk3=function(_I53,
_1S,_Dk3,_Rk3,_Sk3,_Tk3,_Uk3,_Vk3,_Wk3,_Xk3){if(_Vk3==null){return;}var _Gk3=new _Dy();var _Hk3=!_Wk3&&(_Vk3._Mk3!=0||_Vk3._Nk3!=0);if(_Hk3){_Gk3=_6A(_Zz);var _cu2=new _Dy();_cu2._JA(-_Vk3._Mk3,-_Vk3._Nk3,0.0,0.0,0.0,0.0,1.0,1.0,1.0);var _Pk3=new _Dy();_Pk3.Multiply(_cu2,_Gk3);_Yz(_Zz,_Pk3);_lM();}this._Yk3(_I53,_1S,_Dk3,_Rk3,_Sk3,_Tk3,_Uk3,_Vk3._TT,_Vk3);if(_Hk3){_Yz(_Zz,_Gk3);}};_471.prototype._Yk3=function(_I53,_1S,_Dk3,_Rk3,_Sk3,_Tk3,_Uk3,_Zk3,_Vk3){var __k3=_Rk3;var _0l3=new _Dy();var _1l3=new _Dy();for(var _lk2=0;
_lk2<_Zk3.length;++_lk2){var _Q2=_Zk3[_lk2];if(_2l3(_Q2._dO)||!_Q2.enabled||!_Q2.visible){if(!_2l3(_Q2._dO)&&_Q2.enabled){if(__k3!=null){__k3=__k3._JB1;}}continue;}_g81.push(_Q2);switch(_Q2._dO){default :break;case _581:case _781:if(__k3!=null){__k3=__k3._JB1;}_g81.pop();continue;}if(__k3!=null){_0l3=_6A(_Zz);_1l3.Multiply(__k3.value._973,_0l3);_Yz(_Zz,_1l3);}if(__k3!=null){switch(_Q2._dO){default :break;case _t71:this._3l3(_I53,_1S,_Dk3,__k3,_Q2,_Sk3,_Tk3,_Uk3,_Vk3);break;case _v71:this._4l3(_I53,_1S,
_Dk3,__k3,_Q2,_Sk3,_Tk3,_Uk3,_Vk3);break;case _381:if(_i7){this._5l3(_I53,_1S,_Dk3,__k3,_Q2,_Sk3,_Tk3,_Uk3,_Vk3);}break;case _u71:this._6l3(_I53,_1S,_Dk3,__k3,_Q2,_Sk3,_Tk3,_Uk3,_Vk3);break;case _F71:this._7l3(_I53,_1S,_Dk3,__k3,_Q2,_Sk3,_Tk3,_Uk3,_Vk3);break;case _181:this._8l3(_I53,_1S,_Dk3,__k3,_Q2,_Sk3,_Tk3,_Uk3,_Vk3);break;}}if(__k3!=null&&_Q2._TT.length>0){this._Yk3(_I53,_1S,_Dk3,__k3._9l3,_Sk3,_Tk3,_Uk3,_Q2._TT,_Vk3);}_Yz(_Zz,_0l3);if(__k3!=null){__k3=__k3._JB1;}_g81.pop();}};_471.prototype._3l3=function(_I53,
_1S,_Dk3,_6e2,_v2,_Sk3,_Tk3,_Uk3,_Vk3){var keyframeStore=_v2._WT;var _al3=keyframeStore._bl3(_Sk3,_Vk3._YT);if(_al3==-1)return;var _VT=keyframeStore._aV[_al3];var spriteIndex=_VT._Pq[0]._7R;var _OT=_H4.Sprites[spriteIndex];var _A63=0;if(_OT._H3()>1){var _cl3=Math.max(_Sk3,_VT._bV);_cl3=Math.min(_cl3,_VT._bV+keyframeStore._dl3(_al3,_Vk3._YT));var _el3=_cl3-_VT._bV;var _fl3=1.0;var _gl3=_OT.sequence;if(_gl3!=null){if(_gl3._cg1==_AQ)_fl3=_gl3._bg1/_Vk3._bg1;else _fl3=_gl3._bg1*(_B2._C2()/_Vk3._bg1);}else if(_OT.playbackspeed!=0.0){
if(_OT.playbackspeedtype==_AQ)_fl3=_OT.playbackspeed/_Vk3._bg1;else _fl3=_OT.playbackspeed;}_el3*=_fl3;if(_6e2.value._hl3(_il3)){var _jl3=_6e2.value._kl3;if(_jl3>=0)_el3=_jl3*_fl3;}if(_6e2.value._hl3(_ll3)){_A63=_6e2.value.imageIndex;if(_A63<0)_A63=0;else if(_A63>=_OT._H3())_A63=_OT._H3()-1;}else if(_gl3!=null){var _ml3=1.0;if(_Tk3>_Sk3)_ml3=-1.0;var _45={headPosition:_el3,_QT:_ml3,_RT:false};_ST(_gl3,_45);_el3=_45.headPosition;_ml3=_45._QT;if((_gl3._TT!=null)&&(_gl3._TT[0]._dO==_UT)){var _Q2=_gl3._TT[0];
var _nl3=_Q2._WT._XT(_el3,_gl3._YT);if(_nl3==null)_A63=-1;else _A63=_nl3._Pq[0]._cR;}}else {_A63=_el3;if(_A63<0){_A63=-_A63;_A63=_A63%_OT._H3();if(_A63>0)_A63=_OT._H3()-_A63;}else if(_A63>=_OT._H3()){_A63=_A63%_OT._H3();}}}var _dX=_6e2.value._ol3;var add=_6e2.value._pl3;var _i3=Math.min(255,((_dX[0]+add[0])*(_Dk3._gR&0xff)));var _j3=Math.min(255,((_dX[1]+add[1])*((_Dk3._gR>>8)&0xff)));var _k3=Math.min(255,((_dX[2]+add[2])*((_Dk3._gR>>16)&0xff)));var _ql3=(Math.max(0,_i3))|(Math.max(0,_j3)<<8)|(Math.max(0,
_k3)<<16);var _l3=Math.min(1,(_dX[3]+add[3])*_Dk3._hR);var _xQ=1,_yQ=1;var _rl3=_OT.xOrigin,_sl3=_OT.yOrigin;var _tl3;var _ul3=false;if((_i7)&&(_OT._dg1!=null)&&(_OT._dg1.enabled==true)){var _vl3=Math.sqrt((_6e2.value._973._z5[0]*_6e2.value._973._z5[0])+(_6e2.value._973._z5[1]*_6e2.value._973._z5[1]));var _wl3=Math.sqrt((_6e2.value._973._z5[4]*_6e2.value._973._z5[4])+(_6e2.value._973._z5[5]*_6e2.value._973._z5[5]));if((_vl3<0.999)||(_vl3>1.001)||(_wl3<0.999)||(_wl3>1.001)){_ul3=true;_xQ=_vl3;_yQ=_wl3;_rl3*=_vl3;
_sl3*=_wl3;_tl3=_6A(_Zz);var _xl3=new _Dy(_tl3);_xl3._z5[0]/=_xQ;_xl3._z5[1]/=_xQ;_xl3._z5[4]/=_yQ;_xl3._z5[5]/=_yQ;_Yz(_Zz,_xl3);}}if(!_i7){var _833=_sA[_Zz];var _yl3=Math.atan2(_833._z5[1],_833._z5[0])*(-180/Math.PI);var _vl3=Math.sqrt(Math.pow(_833._z5[0],2)+Math.pow(_833._z5[1],2))*_xQ;var _wl3=Math.sqrt(Math.pow(_833._z5[4],2)+Math.pow(_833._z5[5],2))*_yQ;var _zx2=new _Xy(_rl3,_sl3,0);var _n53=_833._4M(_zx2);var _zl3=_n53._tz;var _Al3=_n53._uz;_Yz(_Zz,new _Dy());_OT._58(_A63,_zl3,_Al3,_vl3,_wl3,_yl3,_ql3,
Math.max(0,_l3));_Yz(_Zz,_833);}else {_OT._58(_A63,_1S._pO+_rl3,_1S._rO+_sl3,_xQ,_yQ,0,_ql3,Math.max(0,_l3));}if(_ul3){_Yz(_Zz,_tl3);}};_471.prototype._4l3=function(_I53,_1S,_Dk3,_6e2,_v2,_Sk3,_Tk3,_Uk3,_Vk3){var keyframeStore=_v2._WT;var _Bl3=[];var _Cl3=[];var _Dl3=1,offset=0;var _El3=keyframeStore._bl3(_Sk3,_Vk3._YT);if(_El3==-1)return;_Bl3[0]=_Cl3[0]=_El3;for(var _qk=offset;_qk<_Dl3;_qk++){var _Fl3=_Bl3[_qk];var _Gl3=_Cl3[_qk];for(var i=_Fl3;i<=_Gl3;i++){var _JN=keyframeStore._aV[i];var _Hl3=_JN._Pq[0];
var _Il3=_Hl3._7F;var _Jl3=_DS._UV(_Il3);if(_Jl3==null)continue;_g81.push(_JN);_g81.push(_Hl3);_g81.push(_Jl3);{var _1i;if(_JN._Kl3){if(i>=keyframeStore._6V-1)_1i=_Vk3._YT-_JN._bV;else _1i=keyframeStore._aV[i+1]._bV-_JN._bV;}else _1i=_JN._YT;if((_Sk3>=_JN._bV)&&(_Sk3<(_JN._bV+_1i)))if((Math.floor(_Sk3)>=_JN._bV)&&(Math.floor(_Sk3)<(_JN._bV+_1i))){_lM();var _cl3=Math.max(_Sk3,_JN._bV);var _Ll3=Math.max(_Tk3,_JN._bV);_cl3=Math.min(_cl3,_JN._bV+(_1i-1));_Ll3=Math.min(_Ll3,_JN._bV+(_1i-1));var _el3=_cl3-_JN._bV;
var _Ml3=_Ll3-_JN._bV;var _fl3=1.0;if(_Vk3._bg1!=0.0){if(_Vk3._cg1==_AQ)_fl3=_Jl3._bg1/_Vk3._bg1;else _fl3=_Jl3._bg1;}if(_6e2.value._hl3(_il3)){_fl3*=_6e2.value.imageSpeed;}_el3*=_fl3;_Ml3*=_fl3;var _ml3=1.0;if(_Tk3>_Sk3)_ml3=-1.0;var _45={headPosition:_el3,_QT:_ml3,_RT:false};_ST(_Jl3,_45);_el3=_45.headPosition;_ml3=_45._QT;this._Qk3(_I53,_1S,_Dk3,_6e2._9l3,_el3,_Ml3,_ml3,_Jl3,true);}}_g81.pop();_g81.pop();_g81.pop();}}};function _Nl3(){this._Ol3=0xCAFEBABE;this._Pl3=0xCAFEBABE;this._Ql3=0xCAFEBABE;this._Rl3=0xCAFEBABE;
this._Sl3=0xCAFEBABE;this._Tl3=0xCAFEBABE;this._Ul3=0xCAFEBABE;this._Vl3=0xCAFEBABE;this._Wl3=0xCAFEBABE;}_Nl3.prototype._Xl3=function(){if(this._Ol3!=0xCAFEBABE)_i7._p9._F9(_d9._0Z1,this._Ol3);if(this._Pl3!=0xCAFEBABE)_i7._p9._F9(_d9._TY1,this._Pl3);if(this._Ql3!=0xCAFEBABE)_i7._p9._F9(_d9._VY1,this._Ql3);if(this._Rl3!=0xCAFEBABE)_i7._p9._F9(_d9._YY1,this._Rl3);if(this._Sl3!=0xCAFEBABE)_i7._p9._F9(_d9._mB,this._Sl3);if(this._Tl3!=0xCAFEBABE)_i7._p9._F9(_d9._YA,this._Tl3);if(this._Ul3!=0xCAFEBABE)_i7._p9._F9(_d9._oB,
this._Ul3);if(this._Vl3!=0xCAFEBABE)_i7._p9._F9(_d9._qB,this._Vl3);if(this._Wl3!=0xCAFEBABE)_i7._p9._F9(_d9._2C,this._Wl3);};_Nl3.prototype._Jz=function(){this._Ol3=_i7._p9._q9(_d9._0Z1);this._Pl3=_i7._p9._q9(_d9._TY1);this._Ql3=_i7._p9._q9(_d9._VY1);this._Rl3=_i7._p9._q9(_d9._YY1);this._Sl3=_i7._p9._q9(_d9._mB);this._Tl3=_i7._p9._q9(_d9._YA);this._Ul3=_i7._p9._q9(_d9._oB);this._Vl3=_i7._p9._q9(_d9._qB);this._Wl3=_i7._p9._q9(_d9._2C);};_Yl3=[];_Zl3=null;__l3=0;_471.prototype._5l3=function(_I53,_1S,
_Dk3,_6e2,_v2,_Sk3,_Tk3,_Uk3,_Vk3){var _0m3=null;var _1m3=null;var _2m3=null;var _3m3=null;var _ff2=_6e2._9l3==null?null:_6e2._9l3;for(var i=0;i<_v2._TT.length;i++){var _4m3=_v2._TT[i];if(_4m3._dO==_581){_0m3=_4m3;_2m3=_ff2;if(_1m3!=null)break;}else if(_4m3._dO==_781){_1m3=_4m3;_3m3=_ff2;if(_0m3!=null)break;}_ff2=_ff2._JB1;}if(__l3==0){_i7._p9._YB();_i7._p9._F9(_d9._TY1,true);}_i7._p9._F9(_d9._oB,true);_i7._p9._F9(_d9._qB,0);_i7._p9._F9(_d9._2C,_d9._x02);_i7._p9._F9(_d9._TY1,true);_i7._p9._F9(_d9._VY1,_d9._v02);
_i7._p9._F9(_d9._mB,0);_i7._p9._F9(_d9._YA,false);_i7._p9._F9(_d9._0Z1,__l3);_i7._p9._F9(_d9._YY1,_d9._r02);__l3++;_g81.push(_0m3);this._Yk3(_I53,_1S,_Dk3,_2m3._9l3,_Sk3,_Tk3,_Uk3,_0m3._TT,_Vk3);_g81.pop();__l3--;if(__l3==0){_i7._p9._F9(_d9._mB,_i7._p9._f42(_d9._mB));_i7._p9._F9(_d9._YA,_i7._p9._f42(_d9._YA));_i7._p9._F9(_d9._oB,_i7._p9._f42(_d9._oB));_i7._p9._F9(_d9._qB,_i7._p9._f42(_d9._qB));_i7._p9._F9(_d9._2C,_i7._p9._f42(_d9._2C));}_i7._p9._F9(_d9._0Z1,__l3+1);_i7._p9._F9(_d9._YY1,_d9._l02);
_g81.push(_1m3);this._Yk3(_I53,_1S,_Dk3,_3m3._9l3,_Sk3,_Tk3,_Uk3,_1m3._TT,_Vk3);_g81.pop();_i7._p9._F9(_d9._YY1,_d9._s02);_i7._p9._F9(_d9._mB,0);_i7._p9._F9(_d9._YA,0);_i7._p9._F9(_d9._oB,true);_i7._p9._F9(_d9._qB,0);_i7._p9._F9(_d9._2C,_d9._x02);__l3++;_g81.push(_0m3);this._Yk3(_I53,_1S,_Dk3,_2m3._9l3,_Sk3,_Tk3,_Uk3,_0m3._TT,_Vk3);_g81.pop();__l3--;if(__l3==0){_i7._p9._ZB();}};_471.prototype._6l3=function(_I53,_1S,_Dk3,_6e2,_v2,_Sk3,_Tk3,_Uk3,_Vk3){var keyframeStore=_v2._WT;var _5m3=keyframeStore._bl3(_Sk3,
_Vk3._YT);if(_5m3==-1)return;var _6m3=keyframeStore._aV[_5m3];if(_6m3!=null){_g81.push(_6m3);var _f81=_DS._cT(_Dk3._kR);if(_f81!=null){var _tl3=_6A(_Zz);var _7m3=new _Dy();_7m3._yA();_Yz(_Zz,_7m3);for(var _8m3 in _6m3._Pq){var _9m3=_6m3._Pq[_8m3];_g81.push(_9m3);var _am3=_f81._bm3[_cm3(_g81)];if(_am3!=null){{var _5t=_Lm._cb3(_am3._NU);if((_5t!=null)&&(_5t._293())){if(!(_5t.marked||(!_5t.active)||(!_5t.visible))){if(!_5t._5z2[_YC2]){var _sz2=_H4._I4(_5t.sprite_index);if(_sz2){if((_5t.image_xscale==1.0)&&(_5t.image_yscale==1.0)&&(_5t.image_angle==0.0)&&(_5t.image_blend==0xffffff)){
_sz2.__j1(_5t.image_index,_5t.x,_5t.y,_5t.image_alpha*_Rb);}else {_sz2._58(_5t.image_index,_5t.x,_5t.y,_5t.image_xscale,_5t.image_yscale,_5t.image_angle,_Ub(_5t.image_blend),_5t.image_alpha*_Rb);}}}else {_h5=_5t;_5t._R4(_YC2,0,_5t,_5t);_h5=null;}}}}}_g81.pop();}_Yz(_Zz,_tl3);}_g81.pop();}};_471.prototype._8l3=function(_I53,_1S,_Dk3,_6e2,_v2,_Sk3,_Tk3,_Uk3,_Vk3){var _aV=_v2._WT;var _dm3=null;var index=_aV._bl3(_Sk3,_Vk3._YT);if(index!=-1){var _em3=_aV._aV[index];if(_em3!=null){_dm3=_em3._Pq[0];}}if(_Dk3._kR==-1)return;
var _Ls=_DS._cT(_Dk3._kR);var _fm3=_Ls._gm3[_v2.id];if(_fm3!==undefined&&_fm3!==_dm3){var _hm3=_Ls._im3[_v2.id];if(_hm3!==undefined&&_hm3!=-1){_Zn(_hm3);}_Ls._im3[_v2.id]=-1;}var _Rp=-1;var _jm3=_Ls._im3[_v2.id];if(_jm3===undefined||_jm3===-1){if(_dm3&&_dm3.particleSystemIndex!=-1){_Rp=_4J._I4(_dm3.particleSystemIndex)._zS();_y11(_Rp,false);_x11(_Rp,false);_Ls._im3[_v2.id]=_Rp;}}else {_Rp=_jm3;}if(_Rp!=-1){var _dX=_6e2.value._ol3;var add=_6e2.value._pl3;var _i3=Math.min(255,((_dX[0]+add[0])*(_Dk3._gR&0xff)));
var _j3=Math.min(255,((_dX[1]+add[1])*((_Dk3._gR>>8)&0xff)));var _k3=Math.min(255,((_dX[2]+add[2])*((_Dk3._gR>>16)&0xff)));var _ql3=(Math.max(0,_i3))|(Math.max(0,_j3)<<8)|(Math.max(0,_k3)<<16);var _l3=Math.min(1,(_dX[3]+add[3])*_Dk3._hR);_A11(_Rp,_ql3,_l3);}_Ls._gm3[_v2.id]=_dm3;};_471.prototype._7l3=function(_I53,_1S,_Dk3,_6e2,_v2,_Sk3,_Tk3,_Uk3,_Vk3){var keyframeStore=_v2._WT;var _al3=keyframeStore._bl3(_Sk3,_Vk3._YT);if(_al3==-1)return;var _km3=keyframeStore._aV[_al3];var text=_km3._Pq[0].text;if(text==null)return;
var wrap=_km3._Pq[0].wrap;var alignment=_km3._Pq[0].alignment;var _lm3=_km3._Pq[0].fontIndex;var _mm3=draw_get_font();var _nm3=draw_get_color();var _Qj3=draw_get_alpha();var _dX=_6e2.value._ol3;var add=_6e2.value._pl3;var _i3=Math.min(255,((_dX[0]+add[0])*(_Dk3._gR&0xff)));var _j3=Math.min(255,((_dX[1]+add[1])*((_Dk3._gR>>8)&0xff)));var _k3=Math.min(255,((_dX[2]+add[2])*((_Dk3._gR>>16)&0xff)));var _ql3=(Math.max(0,_i3))|(Math.max(0,_j3)<<8)|(Math.max(0,_k3)<<16);var _l3=Math.min(1,(_dX[3]+add[3])*_Dk3._hR);draw_set_font(_lm3);
draw_set_color(_ql3);draw_set_alpha(_l3);var _om3=-1;var _pm3=-1;if(_6e2.value._qm3&(1<<_rm3)){_om3=_6e2.value._sm3;_pm3=_6e2.value._tm3;}var __23=0.0;if(_6e2.value._qm3&(1<<_um3)){__23=_6e2.value._vm3;}var _wm3=0.0;if(_6e2.value._qm3&(1<<_xm3)){_wm3=_6e2.value._ym3;}var _zm3=0.0;if(_6e2.value._qm3&(1<<_Am3)){_zm3=_6e2.value._Bm3;}var _Cm3=_6e2.value._Dm3;_UD._8G();var _Em3=_UD._A43(text,_om3,_pm3,alignment,wrap,__23,_wm3,_zm3);var _322=wrap&&((_Em3._I43>_om3+2)||(_Em3._Y43>_pm3+2));if(_322){if(_i7){if(_Yl3==null||_Yl3.length==0){
if(_Zl3==null)_Zl3=new _Nl3();_Zl3._Jz();_i7._p9._F9(_d9._TY1,true);}var state=new _Nl3();state._Ql3=_d9._x02;state._Rl3=_d9._n02;state._Sl3=0;state._Tl3=0;state._Ol3=_Yl3.length+1;state._Xl3();_Yl3.push(state);if(_Zl3._Ul3==0){_i7._p9._F9(_d9._oB,true);_i7._p9._F9(_d9._qB,0);_i7._p9._F9(_d9._2C,_d9._x02);}var _J8=4;var _G9=_i7._H9(_d9._Hb,null,_i7._J9,_J8);var _K9=_G9._L9()>>2;var _Fm3=_K9*_G9._M9;_G9._M9+=_J8;var _N9=_G9._O9;var _P9=_G9._Q9;_N9[_Fm3+0]=0.0;_N9[_Fm3+1]=0.0;_N9[_Fm3+2]=_X9;_P9[_Fm3]=0xffffffff;
_Fm3+=_K9;_N9[_Fm3+0]=0.0;_N9[_Fm3+1]=_pm3;_N9[_Fm3+2]=_X9;_P9[_Fm3]=0xffffffff;_Fm3+=_K9;_N9[_Fm3+0]=_om3;_N9[_Fm3+1]=0.0;_N9[_Fm3+2]=_X9;_P9[_Fm3]=0xffffffff;_Fm3+=_K9;_N9[_Fm3+0]=_om3;_N9[_Fm3+1]=_pm3;_N9[_Fm3+2]=_X9;_P9[_Fm3]=0xffffffff;_i7._p9._F9(_d9._YY1,_d9._r02);_i7._p9._F9(_d9._VY1,_Yl3.length<2?_d9._w02:_d9._v02);_i7._p9._F9(_d9._mB,_Yl3.length<2?_Zl3._Sl3:0);_i7._p9._F9(_d9._YA,_Yl3.length<2?_Zl3._Tl3:0);if(_Zl3._Ul3==0){_i7._p9._F9(_d9._oB,_Zl3._Ul3);_i7._p9._F9(_d9._qB,_Zl3._Vl3);_i7._p9._F9(_d9._2C,
_Zl3._Wl3);}}else {_833=_sA[_Zz];_59.save();var _Gm3=new _Xy(0,0,0);var _Hm3=new _Xy(0,_pm3,0);var _Im3=new _Xy(_om3,_pm3,0);var _Jm3=new _Xy(_om3,0,0);var _Km3=_833._4M(_Gm3);var _Lm3=_833._4M(_Hm3);var _Mm3=_833._4M(_Im3);var _Nm3=_833._4M(_Jm3);_59.beginPath();_59.moveTo(_Km3._tz,_Km3._uz);_59.lineTo(_Lm3._tz,_Lm3._uz);_59.lineTo(_Mm3._tz,_Mm3._uz);_59.lineTo(_Nm3._tz,_Nm3._uz);_59.closePath();_59.clip();}}_UD._j53(_Em3._TD,0.0,0.0,__23,0.0,_Em3._I43,_Cm3);if(_322){if(_i7){if(_Zl3._Ul3==0){_i7._p9._F9(_d9._oB,
true);_i7._p9._F9(_d9._qB,0);_i7._p9._F9(_d9._2C,_d9._x02);}_i7._p9._F9(_d9._YY1,_d9._m02);_i7._p9._F9(_d9._VY1,_d9._v02);_i7._p9._F9(_d9._mB,0);_i7._p9._F9(_d9._YA,0);var _J8=4;var _G9=_i7._H9(_d9._Hb,null,_i7._J9,_J8);var _K9=_G9._L9()>>2;var _Fm3=_K9*_G9._M9;_G9._M9+=_J8;var _N9=_G9._O9;var _P9=_G9._Q9;_N9[_Fm3+0]=0.0;_N9[_Fm3+1]=0.0;_N9[_Fm3+2]=_X9;_P9[_Fm3]=0xffffffff;_Fm3+=_K9;_N9[_Fm3+0]=0.0;_N9[_Fm3+1]=_pm3+1;_N9[_Fm3+2]=_X9;_P9[_Fm3]=0xffffffff;_Fm3+=_K9;_N9[_Fm3+0]=_om3+1;_N9[_Fm3+1]=0.0;_N9[_Fm3+2]=_X9;
_P9[_Fm3]=0xffffffff;_Fm3+=_K9;_N9[_Fm3+0]=_om3+1;_N9[_Fm3+1]=_pm3+1;_N9[_Fm3+2]=_X9;_P9[_Fm3]=0xffffffff;var restore=_Yl3.pop();restore._Xl3();if(_Yl3.length==0){_Zl3._Xl3();}}else {_59.restore();}}draw_set_font(_mm3);draw_set_color(_nm3);draw_set_alpha(_Qj3);};_471.prototype._Om3=function(_I53){var _nH=_oH;var _pH=_qH;_oH=_YC2;_qH=0;var _KS,_bO,i,_Zj;_Zj=this._kS._Zj;for(i=_Zj.length-1;i>=0;i--){_KS=_Zj[i];if(_KS===null||_KS._EQ<=0){continue;}if(_7t._XR()){_uw(_7t._YR());}else {_uw(_KS.depth);}if(_KS._LQ)_Pm3(_KS,
_V_2,_YC2,0);_Qm3(_KS._JQ);_Rm3(_KS._rd,_KS._HQ);for(var _35=0;_35<_KS._RP.length;_35++){_bO=_KS._RP._I4(_35);if(_bO!=null){if(_bO._dO===_hQ){this._Oj3(_I53,_KS,_bO);}else if(_bO._dO===_SP){this._Lj3(_I53,_KS,_bO);}else if(_bO._dO===_iQ){this._Mj3(_I53,_KS,_bO);}else if(_bO._dO===_jQ){this._Rj3(_I53,_KS,_bO,0,0,0);}else if(_bO._dO===_eO){this._yV(_I53,_KS,_bO);}else if(_bO._dO===_kQ){this._uk3(_I53,_KS,_bO);}else if(_bO._dO===_lQ){this._Bk3(_I53,_KS,_bO);}else if(_bO._dO===_mQ){this._Ck3(_I53,_KS,_bO);}
}}_Rm3(_KS._rd,_KS._IQ);_Sm3(_KS._JQ);if(_KS._LQ)_Pm3(_KS,_W_2,_YC2,0);}_oH=_nH;_qH=_pH;};_471.prototype._Tm3=function(_I53){_RL=_I53;_lM();if(this._u_2){_VJ(_Ub(g_pBuiltIn.background_color));}else if(this._kS!=null&&this._kS.length>0){_VJ(_Ub(0xfff7ffff));}this._Um3(_I53,_TE2);if(this._kS!=null&&this._kS.length>0){this._Om3(_I53);}this._Um3(_I53,_UE2);};_471.prototype._Vm3=function(){if(_ol>=0){var _0F=_H4._I4(_ol);if(_0F!=null){_0F._58(_1L2,_yf._5Q-_ff.left,_yf._6Q-_ff.top,1.0,1.0,0,0xffffff,1.0);
}_1L2++;if(_1L2>_0F._I5)_1L2-=_0F._I5;}};_471.prototype._yW=function(_nf){var index=this._S13.indexOf(_nf);if(index!=-1){return;}this._S13.push(_nf);this._R13++;};_471.prototype._AW=function(_nf){var index=this._S13.indexOf(_nf);if(index!=-1){this._S13.splice(index,1);this._R13--;return;}};_471.prototype._T13=function(){this._S13.length=0;this._R13=0;};function _Pm3(_U13,_Wm3,_Xm3,_Ym3){if(_U13===null)return;if(_Wm3===null)return;var _Zm3=_U13._TQ();if(_Zm3==null)return;var _oW=_hW._323(_Zm3);if(_oW==null)return;
var _3X="gml"+_Wm3;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Wm3]!=undefined)){_3X=g_var2obf[_Wm3];}if(_oW[_3X]!==undefined){_oW[_3X](_U13._rd);}};function _Rm3(__m3,_FD){if(_FD!=null){var _4m=_7t._HU();if(_4m===null){var _SU=new _mP(0,0,0,0,false,true);_7t._GU(_SU);_4m=_7t._HU();}_4m._6S(true);_4m._7b3(__m3);_FD(_4m,_4m);_4m._6S(false);}};function _Qm3(_0n3){if(_0n3!=-1){shader_set(_0n3);}};function _Sm3(_0n3){if(_0n3!=-1){shader_reset();}};_471.prototype._Um3=function(_I53,_i2){var _sz2,_5t,i,_Zj,
_DG;_oH=_i2;_RL=_I53;_lM();if((this._kS.length>0)){var _KS,_bO;_Zj=this._kS._Zj;for(i=_Zj.length-1;i>=0;i--){_KS=_Zj[i];if(_KS==null||_KS._EQ==false){continue;}_qH=_TE2;if(_KS._LQ)_Pm3(_KS,_V_2,_TE2,0);_Qm3(_KS._JQ);_Rm3(_KS._rd,_KS._HQ);for(var _35=0;_35<_KS._RP.length;_35++){_bO=_KS._RP._I4(_35);if(_bO!=null){if(_bO._dO===_SP){_5t=_bO._TP;if(_5t!=null){if(!(_5t.marked||(!_5t.active)||(!_5t.visible))){if(_5t._5z2[_i2]){_5t._R4(_i2,0,_5t,_5t);}}}}}}_qH=_UE2;_Rm3(_KS._rd,_KS._IQ);_Sm3(_KS._JQ);if(_KS._LQ)_Pm3(_KS,
_W_2,_TE2,0);}}else {_Zj=this._RN._Zj;_DG=_H4.Sprites;for(i=_Zj.length-1;i>=0;i--){_5t=_Zj[i];if(_5t.marked||!_5t.visible)continue;if(_5t._5z2[_i2]){_5t._R4(_i2,0,_5t,_5t);}}}};_471.prototype._1n3=function(_i3){_rK2=_vK2;_rK2._gf=0;_rK2._if=0;_rK2._2n3=_i3.right;_rK2._3n3=_i3.bottom;_rK2._hf=_i3.right;_rK2._jf=_i3.bottom;_rK2._4n3=1.0;_rK2._5n3=1.0;_XJ();{_Ci1(0,0,_i3.right,_i3.bottom);_Ei1(0,0,_i3.right,_i3.bottom,0);if(this._1j3&&_2p1){_VJ(_Dm1);}this._Um3(_i3,_XE2);}_3K();};_471.prototype._6n3=function(){
if(_2p1){if((_Mh1<0)||!surface_exists(_Mh1)){_Mh1=surface_create(__h1,_0i1,_fr);g_pBuiltIn.application_surface=_Mh1;debug("Application Surface created: w="+__h1+", h="+_0i1);}if(_Nh1){_Nh1=false;surface_create(_Oh1,_Ph1,_fr,_Mh1);__h1=_Oh1;_0i1=_Ph1;debug("Application Surface resized: w="+__h1+", h="+_0i1);_7n3();}surface_set_target(_Mh1);}};_471.prototype._8n3=function(_i3){_XJ();var _9n3=new _ME();_9n3._ri(_RL);if(_z2){_Di1(0,0,_i3.right,_i3.bottom,0);}_Qm1=1;_Rm1=1;this._6n3();this._Kj3();var _9f;
if(!this._af){_9f=_bf;_Ci1(0,0,__h1,_0i1);if(_z2){_fK2._Y61=_2y2;_Di1(0,0,_x2._4U,_x2._6U,0);}else {_Ei1(0,0,_x2._4U,_x2._6U,0);}}else {_9f=this._cf;if(this._0j3){_Ci1(0,0,__h1,_0i1);_Ei1(0,0,__h1,_0i1,0);_VJ(_Dm1);}}var _an3=_3p1.w/__h1;var _bn3=_3p1.h/_0i1;var _XY=_Qm1;var _YY=_Rm1;_uK2=0;for(var i=0;i<_9f.length;i++){_rK2=_9f[i];if(_rK2.visible){var _cn3=_dn3;_XJ();{if(_rK2._tM!=-1){_3i1(_rK2._tM);}_rK2._gf=_rK2._Ej3*_XY*_an3+_3p1.x;_rK2._if=_rK2._Fj3*_YY*_bn3+_3p1.y;_rK2._2n3=_rK2._Gj3*_XY*_an3;_rK2._3n3=_rK2._Hj3*_YY*_bn3;
_rK2._hf=_rK2._gf+_rK2._2n3;_rK2._jf=_rK2._if+_rK2._3n3;_rK2._4n3=_rK2._2n3/_rK2._bi1;_rK2._5n3=_rK2._3n3/_rK2._ci1;if(_rK2._tM!=-1){_Ci1(0,0,surface_get_width(_rK2._tM),surface_get_height(_rK2._tM));}else {_Ci1(_rK2._Ej3*_XY,_rK2._Fj3*_YY,_rK2._Gj3*_XY,_rK2._Hj3*_YY);}if(_z2){_li1._dx2(_rK2._Y61);var _Mw2=_li1._mi1();if(_Mw2!=null){_Mw2._Gc();_Mw2._Pi1();}}else _Ei1(_rK2._9i1,_rK2._ai1,_rK2._bi1,_rK2._ci1,_rK2.angle);if((!_z2)){if(Math.abs(_rK2.angle)<0.001){_i3.left=_rK2._9i1;_i3.top=_rK2._ai1;_i3.right=_rK2._9i1+_rK2._bi1;
_i3.bottom=_rK2._ai1+_rK2._ci1;}else {var _Yt=_rK2.angle*(_P5/180);var _rh=Math.abs(Math.sin(_Yt));var c=Math.abs(Math.cos(_Yt));var _fj=(c*_rK2._bi1)+(_rh*_rK2._ci1);var _SL=(_rh*_rK2._bi1)+(c*_rK2._ci1);_i3.left=_rK2._9i1+(_rK2._bi1-_fj)/2;_i3.right=_rK2._9i1+(_rK2._bi1+_fj)/2;_i3.top=_rK2._ai1+(_rK2._ci1-_SL)/2;_i3.bottom=_rK2._ai1+(_rK2._ci1+_SL)/2;}g_pBuiltIn.view_current=i;this._Tm3(_i3);}else {g_pBuiltIn.view_current=i;this._Tm3(_RL);}if(_rK2._tM!=-1){surface_reset_target();}_uK2++;if(_z2){var _Mw2=_li1._mi1();
if(_Mw2!=null){_Mw2._Ic();}_li1._dx2(-1);}}_3K();}}_RL._ri(_9n3);_3K();};_471.prototype._en3=function(_i3){if(_Wo1&&_2p1){_XJ({_fn3:true,_gn3:true});_i3.left=0;_i3.top=0;_i3.right=window_get_width();_i3.bottom=window_get_height();var rect=_3p1;var _JG=_i7;var _hn3=_JG&&gpu_get_alphatestenable();if(_JG)gpu_set_alphatestenable(false);_Ci1(0,0,_i3.right,_i3.bottom);_Ei1(0,0,_i3.right,_i3.bottom,0);draw_surface_stretched(_Mh1,rect.x,rect.y,rect.w,rect.h);if(_JG)gpu_set_alphatestenable(_hn3);_3K({_in3:true,
_jn3:true});}};_471.prototype._kn3=function(_i3){_i3.left=0;_i3.top=0;_i3.right=window_get_width();_i3.bottom=window_get_height();_rK2=_vK2;_rK2._gf=0;_rK2._if=0;_rK2._2n3=_i3.right;_rK2._3n3=_i3.bottom;_rK2._hf=_i3.right;_rK2._jf=_i3.bottom;_rK2._4n3=1.0;_rK2._5n3=1.0;_XJ();{_Ci1(0,0,_i3.right,_i3.bottom);_Ei1(0,0,_i3.right,_i3.bottom,0);this._Um3(_i3,_YE2);}_3K();};_471.prototype.DrawGUI=function(_i3){var _ln3=_Qm1;var _mn3=_Rm1;var _HJ=_IJ;var _EJ=_FJ;if(_HJ<0)_HJ=window_get_width();if(_EJ<0)_EJ=window_get_height();
_XJ({_fn3:true});{_i3.left=0;_i3.top=0;_i3.right=window_get_width();_i3.bottom=window_get_height();_Qm1=_i3.right/_HJ;_Rm1=_i3.bottom/_EJ;_rK2=_vK2;_rK2._gf=0;_rK2._if=0;_rK2._2n3=_i3.right;_rK2._3n3=_i3.bottom;_rK2._hf=_i3.right;_rK2._jf=_i3.bottom;_rK2._4n3=_Qm1;_rK2._5n3=_Rm1;_NJ=true;_Ci1(0,0,_i3.right,_i3.bottom);_OJ();var _9n3=new _ME();_9n3._ri(_RL);_RL.left=0;_RL.top=0;_RL.right=_HJ;_RL.bottom=_EJ;this._Um3(_i3,_VE2);this._Um3(_i3,_RE2);this._Um3(_i3,_WE2);_NJ=false;_RL._ri(_9n3);}_3K({_in3:true}
);_Qm1=_ln3;_Rm1=_mn3;};_471.prototype._nn3=function(_i3){if(_ol>=0){_XJ();_Ci1(0,0,_i3.right,_i3.bottom);_Ei1(0,0,_i3.right,_i3.bottom,0);this._Vm3();_3K();}};_471.prototype._58=function(){_XJ();__J=0;_0K=0;_1K=canvas.width;_2K=canvas.height;var _i3=new _ME();if(this._af){_i3.left=0;_i3.top=0;_i3.right=window_get_width();_i3.bottom=window_get_height();}else {_i3._ri(_RL);}this._1n3(_i3);this._8n3(_i3);if(_2p1){surface_reset_target();}if(_Jh1.length!=0){_L3("Unbalanced surface stack. You MUST use surface_reset_target() for each set.");
return;}this._kn3(_i3);this._en3(_i3);this.DrawGUI(_i3);this._nn3(_i3);_3K();};function _OJ(){var _HJ=_IJ;var _EJ=_FJ;if(_HJ<0)_HJ=_Im1;if(_EJ<0)_EJ=_Jm1;var _XY=1;var _YY=1;var _FZ=0;var _GZ=0;if(_KJ){_XY=_JJ;_YY=_GJ;_FZ=_LJ;_GZ=_MJ;_v53(_XY,_YY,_FZ,_GZ);}else {_FZ=_3p1.x;_GZ=_3p1.y;if(_IJ>0){_XY=_3p1.w/_HJ;}if(_FJ>0){_YY=_3p1.h/_EJ;}_v53(_XY,_YY,_FZ,_GZ);}_lM();};_471.prototype._on3=function(){var _45=[];var _QN=_Lm._9b3._Zj;for(var i=0;i<_QN.length;i++){var _5t=_QN[i];if(_5t.marked){_45[_45.length]=_5t;}
}for(var i=0;i<_45.length;i++){var _5t=_45[i];this._uj3(_5t);}};_471.prototype._uj3=function(_5t){if(this._y31&&_5t._v41){this._y31._QE1(_5t._v41);}_7t._kT(this,_5t);_Lm._db3(_5t);this._RN._3S(_5t);this._BP._3S(_5t);_5t._ZE._kT(_5t);};_471.prototype._CP=function(_Ls){if(_Ls.active){this._RN._3S(_Ls);_Ls._ZE._kT(_Ls);this._BP._Ke(_Ls);_Ls.active=false;}};_471.prototype._DP=function(_Ls){if(!_Ls.active){this._BP._3S(_Ls);this._RN._Ke(_Ls);_Ls._ZE._gT(_Ls);_Ls.active=true;}};_471.prototype._7k1=function(_Oi3){
this._uk1._Ke(_Oi3);this._bk1[_Oi3.id]=_Oi3;this._Lk1++;};_471.prototype._9k1=function(_nf){var _4k1=this._bk1[_nf];if(_4k1){this._uk1._9k1(_4k1);this._bk1[_nf]=undefined;this._Lk1--;}};_471.prototype._Ck1=function(_Ek){var _Ek1=this._uk1._I4(_Ek);if(_Ek1!=null&&_Ek1!=undefined){var _Zj=_Ek1._RY();for(var _Fk1=0;_Fk1<_Zj.length;_Fk1++){var _4k1=_Zj[_Fk1];if(_4k1){this._bk1[_4k1.id]=null;this._Lk1--;}}}this._uk1._Pk(_Ek);};_471.prototype._pn3=function(){this._Lk1=0;this._bk1=[];};_471.prototype._qn3=function(){
this._T61.tiles=[];};_471.prototype._rn3=function(){if(this._K83.length==0)return;var _Wf=this._K83;for(var i=0;i<_Wf.length;i++){var _5t=_Wf[i];var room=_x2;if(room!=null){var _aO=_7t._QP(room,_5t._uS);if(_aO!=null){if(floor(_aO.depth)!=floor(_5t.depth)){if(_aO._FQ&&_aO._RP.length==1){_7t._sT(room,_aO,_5t.depth,true);}else {_7t._lT(room,_aO,_5t);_7t._gT(room,_5t);}}}}}this._K83=[];};_471.prototype._sn3=function(){if(_z2){var _1i=_jL2.length;for(var i=0;i<_1i;i++){var _tn3=_jL2[i];var _lh3=_tn3._Lh3;var type=_tn3.type;
var id=_lh3.id;if(type==0){_7t._iS(_x2,_lh3._og3,true);var _Fh3=new _pR();_Fh3._qR=id;_lh3._og3=_7t._RS(_x2,_lh3.depth,_Fh3,true,true);}}}if(_jL2.length!=0)_jL2=[];};_471.prototype._GS=function(_nf){this._cW[this._cW.length]=_nf;};_471.prototype._bT=function(_nf){for(var i=0;i<this._cW.length;i++){if(this._cW[i]==_nf){this._cW.splice(i,1);return;}}};function _WL2(){this._a71=[];this._e71=[];}_WL2.prototype._0N2=function(_BY1){this._e71=_BY1;};_WL2.prototype._Ke=function(_O13){return this._a71[this._a71.length]=_O13;
};_WL2.prototype._I4=function(_un3){if(_un3<0||_un3>=this._a71.length)return null;return this._a71[_un3];};_WL2.prototype._c71=function(_un3){return this._a71[this._e71[_un3]];};_WL2.prototype._Pk=function(_un3){this._a71[_un3]=null;};_WL2.prototype._671=function(_un3){var _vn3=_qS._I4(_un3);var _wn3=new _471();_wn3._571();_wn3._9j3(_vn3._T61);this._Ke(_wn3);return _wn3.id;};_WL2.prototype._771=function(_tj,_wi){var _xn3=this._a71[_tj];var _yn3=this._a71[_wi];if(!_xn3||!_yn3){return;}_xn3._9j3(_yn3._T61);
};_WL2.prototype._zn3=function(){_li1._Nw2();_7M2();for(var _An3 in this._a71){if(!this._a71.hasOwnProperty(_An3))continue;var room=this._a71[_An3];for(var i=0;i<8;i++){var _Bn3=room._u42(i);if(_Bn3){_Bn3._Y61=-1;}}var _Cn3=room._T61;if(_Cn3){for(var i=0;i<8;i++){var _Wy=_Cn3.views[i];if(_Wy){if(_Wy._Y61!==undefined){delete _Cn3.views[i]._Y61;}}else {var _k3=0;}}}}_li1._Iw2();};_Dn3=-0.0001;function _cm3(_En3){var hash="";for(var i=0;i<_En3.length;i++){var _yd=_En3[i];hash+=_yd.__type+_yd._Fn3.toString();}return hash;
}/*@constructor */function _eU2(){this._tU2=-1;this._2V2=-1;this._Fn3=_Gn3++;this.__yyIsGMLObject=true;this._3V2=function(){};this._OZ1=function(_Hn3){if(this._2V2<_xU2()){this._3V2();this._2V2=_xU2();}if(_Hn3<this._tU2)return true;else return false;};this._kU2=function(){this._tU2=_uU2();};}_In3=0;_Jn3=1;_Kn3=2;_Ln3=3;_Mn3=0;_Nn3=1;_On3=0;_Pn3=1;_Qn3=2;_Rn3=0;_Sn3=1;_Tn3=2;_Un3=3;_Vn3=0;_t71=1;_w71=2;_z71=3;_A71=4;_x71=5;_y71=6;_v71=7;_381=8;_581=9;_781=10;_981=11;_Wn3=12;_UT=13;_u71=14;_B71=15;_C71=16;
_F71=17;_181=18;_Xn3=19;function _2l3(type){return(type==_z71||type==_A71||type==_x71||type==_y71);}_Yn3=0;_Zn3=1;__n3=2;_0o3=3;_1o3=4;_2o3=5;_3o3=6;_4o3=7;_0W=8;_5o3=9;_6o3=10;_7o3=11;_8o3=12;_9o3=13;_ZV=14;_1W=15;_ao3=16;_il3=17;_ll3=18;_bo3=19;_rm3=20;_um3=21;_xm3=22;_Am3=23;_co3=24;_do3=25;_5W=26;_eo3=0;_AU2=1;_CU2=2;_fo3=0;_go3=0;_ho3=0;_io3=1;_jo3=1;_ko3=2;_lo3=3;_mo3=0;_no3=1;_253=0;_753=1;_653=2;_453=3;_oo3=0;__43=1;_053=2;_po3=-0.0001;_qo3=0;_ro3=0;_so3=0;_to3=1;_Gn3=0;_g81=[];function _uo3(){
return _so3++;}function _xU2(){return _to3;}function _uU2(){return _to3++;}function _vo3(_973,x,y,_xQ,_yQ,rotation,_rl3,_sl3){var _wo3=new _Dy();var _xo3=new _Dy();var _45=new _Dy();if(_rl3!=0||_sl3!=0){_xo3.__z(-_rl3,-_sl3,0);}else _xo3._yA();_wo3._0A(_xQ,_yQ,1);_45.Multiply(_xo3,_wo3);_xo3._ri(_45);_wo3._3A(rotation);_45.Multiply(_xo3,_wo3);_xo3._ri(_45);_wo3.__z(x,y,0);_45.Multiply(_xo3,_wo3);_xo3._ri(_45);_45._ri(_973);_973.Multiply(_45,_xo3);}function _yo3(_zo3,_Ao3,_Bo3,_Co3,_Do3,_Eo3,_Fo3,_Go3){if(_Do3==null)return false;
if(_Eo3==null)return false;var playbackspeed=_Eo3._bg1*_Co3;var _ml3=_Bo3;if(playbackspeed<0.0){playbackspeed=-playbackspeed;_ml3=-_ml3;}return _Do3._WT._Ho3(_Eo3._Io3,playbackspeed,_Eo3._YT,_Ao3,_zo3,_ml3,_Fo3,_Go3,false);}function _Jo3(_dU2){if((_dU2!=null)&&(_dU2!=undefined)){var modelName=_dU2.modelName;var _Ko3;switch(modelName){case "GMRealTrack":_Ko3=new _X71(_dU2);break;case "GMGraphicTrack":_Ko3=new _T71(_dU2);break;case "GMInstanceTrack":_Ko3=new _U71(_dU2);break;case "GMParticleTrack":_Ko3=new _281(_dU2);
break;case "GMColourTrack":_Ko3=new _Lo3(_dU2);break;case "GMSpriteFramesTrack":_Ko3=new _b81(_dU2);break;case "GMSequenceTrack":_Ko3=new _081(_dU2);break;case "GMAudioTrack":_Ko3=new _V71(_dU2);break;case "GMTextTrack":_Ko3=new _W71(_dU2);break;case "GMGroupTrack":_Ko3=new _a81(_dU2);break;case "GMClipMaskTrack":_Ko3=new _481(_dU2);break;case "GMClipMask_Mask":_Ko3=new _681(_dU2);break;case "GMClipMask_Subject":_Ko3=new _881(_dU2);break;case "GMStringTrack":_Ko3=new __71(_dU2);break;case "GMBoolTrack":_Ko3=new _Z71(_dU2);
break;}_Ko3._WT=new _D71(_Ko3._dO,_dU2.keyframeStore);return _Ko3;}}/*@constructor */function _X71(_dU2){_Mo3.call(this,_dU2);this._dO=_z71;if((_dU2!=null)&&(_dU2!=undefined)){this._No3=_dU2.interpolation;}Object.defineProperties(this,{gmlinterpolation:{enumerable:true,get :function(){return this._No3;},set :function(_F2){var _yd=yyGetInt32(_F2);if((_yd>=0)&&(_yd<_Qn3)){this._No3=_yd;}else {debug("Trying to set interpolation property of track to out-of-bounds value "+yyGetReal(_F2));}}}});this._ys2=function(_Oo3,
_ik,_Po3){if(!this.enabled)return null;if(this._WT==null)return null;if(this._WT._6V==0)return null;return this._Qo3(_Oo3,_ik,_Po3);};this._wU2=function(_Oo3,_Po3){_Po3+=1;if(_Oo3>this._qU2.length){var _Ro3=this._qU2.length;this._qU2.length=_Oo3+1;for(var i=_Ro3;i<this._qU2.length;i++){this._qU2[i]=-1;}}this._qU2[_Oo3]=0;for(var i=0;i<this._WT._6V;i++){var key=this._WT._aV[i];var value=key._Pq[_Oo3];if(value==null){value=key._Pq[0];if((value==null)||((value._So3==-1)&&(value._To3==null)))continue;}if((value._So3==-1)&&(value._To3==null)){
var _EU2=this._FU2(_Oo3);_EU2._oO=key._bV;_EU2._fU2=value._Uo3;if(!key._Kl3&&key._YT>1){var _EU2=this._FU2(_Oo3);_EU2._oO=(key._bV+(key._YT));_EU2._fU2=value._Uo3;}else if(key._Kl3==true){if(i==(this._WT._6V-1)){if((_Po3-key._bV)>1){var _EU2=this._FU2(_Oo3);_EU2._oO=key._bV+(_Po3-key._bV);_EU2._fU2=value._Uo3;}}else {var _Vo3=this._WT._aV[i+1];if(_Vo3._bV>(key._bV+1)){var _EU2=this._FU2(_Oo3);_EU2._oO=_Vo3._bV;_EU2._fU2=value._Uo3;}}}}else {var _Wo3=key._YT;if(key._Kl3==true){if(i==(this._WT._6V-1)){if(_Po3<=0)continue;
else {_Wo3=_Po3-key._bV;}}else {var _Vo3=this._WT._aV[i+1];if(_Vo3._bV>key._bV){_Wo3=_Vo3._bV-key._bV;}}}var _Gq=null;if(value._Xo3){_Gq=value._To3;}else {_Gq=_Iq._I4(value._So3);}if(_Gq==null){continue;}var _Yo3=_Oo3;if(_Yo3>=_Gq._Nq){_Yo3=_Gq._Nq-1;}_Gq._Vq(this,_Yo3,_Oo3,key._bV,_Wo3);}}};this._Zo3=function(_Oo3,__o3,_ik,_Po3,_0p3){var _1p3=null;if(!this.enabled)return null;if(this._WT==null)return null;if(this._WT._6V==0)return null;var _n5=this._qU2[_Oo3];if(_n5==0){return null;}var _2p3=_ik-__o3;if(_2p3<=0){
_1p3=0;return _1p3;}var _Hi3=this._rU2[_Oo3];var _3p3=0;if(_n5==1){_3p3=_Hi3[0]._fU2*_2p3;_1p3=_3p3;return _1p3;}var _4p3=this._No3==_Pn3;var _3u=_Hi3[0];var _N5=_M5(_3u._oO,_ik)-__o3;if(_N5>0)_3p3=_3u._fU2*_N5;for(var i=1;i<_n5;++i){if(_3u._oO>=_ik)break;var _4u=_Hi3[i];if(_4u._oO>__o3){_N5=_M5(_4u._oO,_ik)-_3u._oO;if(_N5>0){var _Fl;var offset=(__o3-_3u._oO);if(!_4p3){if(offset>0)_N5-=offset;_Fl=_3u._fU2*_N5;}else {var _l3=(_4u._fU2-_3u._fU2)/(_4u._oO-_3u._oO);var _T9=_3u._fU2;if(offset>0){_N5-=offset;_T9+=_l3*offset;
}_Fl=_T9*_N5+(0.5*_l3*_N5*_N5);}_3p3+=_Fl;}}_3u=_4u;}var _x52=_ik-_3u._oO;if(_x52>0){var _Fl=_3u._fU2*(_x52);_3p3+=_Fl;}_1p3=_L5(_3p3,0);return _1p3;};}/*@constructor */function _Mo3(_dU2){_5p3.call(this,_dU2);this._No3=_On3;this._qU2=[];this._rU2=[];this._6p3=function(_Oo3,_ik,_Po3){var _f9=this._7p3();if(_f9!=null){return _f9._6p3(_Oo3,_ik,_Po3);}return this._ys2(_Oo3,_ik,_Po3);};this._ys2=function(_Oo3,_ik,_Po3){throw new Error("Not Implemented");};this._FU2=function(_Oo3){var _1V2=new _1r();if(this._rU2[_Oo3]==undefined){
this._rU2[_Oo3]=[];}this._rU2[_Oo3][this._qU2[_Oo3]]=_1V2;this._qU2[_Oo3]=this._qU2[_Oo3]+1;return _1V2;};this._Qo3=function(_Oo3,_ik,_Po3){var _1p3=null;var _gg1=false;var _xC1=false;if(_Oo3>=this._qU2.length||this._qU2[_Oo3]==0){_xC1=true;}else if(this._2V2<_xU2()){if(this._WT._OZ1(this._tU2)){_gg1=true;}this._2V2=_xU2();}if(_gg1||_xC1){var _8p3=_L5(this._qU2.length,_Oo3+1);for(var i=0;i<_8p3;i++){if((i>=this._qU2.length)||(this._qU2[i]!=-1)){this._wU2(i,_Po3);}}this._tU2=_L5(this._tU2,this._WT._tU2);
}var _n5=this._qU2[_Oo3];if(_n5==0){return null;}var _Hi3=this._rU2[_Oo3];if(_Hi3[0]._oO>_ik){_1p3=_Hi3[0]._fU2;return _1p3;}else if(_Hi3[_n5-1]._oO<_ik){_1p3=_Hi3[_n5-1]._fU2;return _1p3;}var start,end,_2i;start=0;end=_n5;_2i=(start+end)>>1;while(_2i!=start){if(_Hi3[_2i]._oO>_ik){end=_2i;}else {start=_2i;}_2i=(start+end)>>1;}if((this._No3==_On3)||(_2i==(_n5-1))){_1p3=_Hi3[_2i]._fU2;return _1p3;}else {var _9p3=(_Hi3[_2i]);var _ap3=(_Hi3[_2i+1]);var prop=0.0;if((_ap3._oO-_9p3._oO)>0.0){prop=(_ik-_9p3._oO)/(_ap3._oO-_9p3._oO);
}_1p3=(_ap3._fU2*prop)+(_9p3._fU2*(1.0-prop));return _1p3;}};}/*@constructor */function _T71(_dU2){_5p3.call(this,_dU2);this._dO=_t71;}/*@constructor */function _U71(_dU2){_5p3.call(this,_dU2);this._dO=_u71;}/*@constructor */function _281(_dU2){_5p3.call(this,_dU2);this._dO=_181;}/*@constructor */function _Lo3(_dU2){_Mo3.call(this,_dU2);this._dO=_A71;if((_dU2!=null)&&(_dU2!=undefined)){this._No3=_dU2.interpolation;}Object.defineProperties(this,{gmlinterpolation:{enumerable:true,get :function(){return this._No3;
},set :function(_F2){var _yd=yyGetInt32(_F2);if((_yd>=0)&&(_yd<_Qn3)){this._No3=_yd;}else {debug("Trying to set interpolation property of track to out-of-bounds value "+yyGetReal(_F2));}}}});this._ys2=function(_Oo3,_ik,_Po3){if(!this.enabled)return null;if(this._WT==null)return null;if(this._WT._6V==0)return null;var _1p3=null;var _i3,_j3,_k3,_l3;_i3=_j3=_k3=_l3=1.0;if((_l3=this._Qo3(0,_ik,_Po3))==null)return null;if((_i3=this._Qo3(1,_ik,_Po3))==null)return null;if((_j3=this._Qo3(2,_ik,_Po3))==null)return null;
if((_k3=this._Qo3(3,_ik,_Po3))==null)return null;_i3*=255.0;_j3*=255.0;_k3*=255.0;_l3*=255.0;var _bp3=_M5(_i3,255);var _cp3=_M5(_j3,255);var _dp3=_M5(_k3,255);var _ep3=_M5(_l3,255);_1p3=((_ep3<<24)&0xff000000)|((_dp3<<16)&0xff0000)|((_cp3<<8)&0xff00)|(_bp3&0xff);return _1p3;};this._wU2=function(_Oo3,_Po3){_Po3+=1;if(_Oo3>this._qU2.length){var _Ro3=this._qU2.length;this._qU2.length=_Oo3+1;for(var i=_Ro3;i<this._qU2.length;i++){this._qU2[i]=-1;}}this._qU2[_Oo3]=0;for(var i=0;i<this._WT._6V;i++){var key=this._WT._aV[i];
var value=key._Pq[_Oo3];if(value==null){value=key._Pq[0];if(value==null)continue;}if((value._So3==-1)&&(value._To3==null)){var _EU2=this._FU2(_Oo3);_EU2._oO=key._bV;_EU2._fU2=this._fp3(value._HZ2,_Oo3);if(!key._Kl3&&key._YT>1){var _EU2=this._FU2(_Oo3);_EU2._oO=(key._bV+(key._YT-1));_EU2._fU2=this._fp3(value._HZ2,_Oo3);}else if(key._Kl3==true){if(i==(this._WT._6V-1)){if((_Po3-key._bV)>1){var _EU2=this._FU2(_Oo3);_EU2._oO=key._bV+(_Po3-key._bV);_EU2._fU2=this._fp3(value._HZ2,_Oo3);}}else {var _Vo3=this._WT._aV[i+1];
if(_Vo3._bV>(key._bV+1)){var _EU2=this._FU2(_Oo3);_EU2._oO=_Vo3._bV-1;_EU2._fU2=this._fp3(value._HZ2,_Oo3);}}}}else {var _Wo3=key._YT;if(key._Kl3==true){if(i==(this._WT._6V-1)){if(_Po3<=0)continue;else {_Wo3=_Po3-key._bV;}}else {var _Vo3=this._WT._aV[i+1];if(_Vo3._bV>key._bV){_Wo3=_Vo3._bV-key._bV;}}}var _Gq=null;if(value._Xo3){_Gq=value._To3;}else {_Gq=_Iq._I4(value._So3);}if(_Gq==null){continue;}var _Yo3=_Oo3;if(_Yo3>=_Gq._Nq){_Yo3=_Gq._Nq-1;}_Gq._Vq(this,_Yo3,_Oo3,key._bV,_Wo3,1.0/255.0);}}};this._fp3=function(_7c,
_gp3){var _hp3=0;switch(_gp3){case 0:_hp3=_7c>>24;break;case 1:_hp3=_7c;break;case 2:_hp3=_7c>>8;break;case 3:_hp3=_7c>>16;break;}_hp3&=0xff;var _ip3=_hp3/255.0;return _ip3;};this._jp3=function(left,right){var _i3=_M5((left&0xff)+(right&0xff),255);var _j3=_M5(((left>>8)&0xff)+((right>>8)&0xff),255);var _k3=_M5(((left>>16)&0xff)+((right>>16)&0xff),255);var _l3=_M5(((left>>24)&0xff)+((right>>24)&0xff),255);return((_l3<<24)&0xff000000)|((_k3<<16)&0xff0000)|((_j3<<8)&0xff00)|(_i3&0xff);};this._kp3=function(left,
right){var _i3=((left&0xff)*(right&0xff)/255.0);var _j3=(((left>>8)&0xff)*((right>>8)&0xff)/255.0);var _k3=(((left>>16)&0xff)*((right>>16)&0xff)/255.0);var _l3=(((left>>24)&0xff)*((right>>24)&0xff)/255.0);return((_l3<<24)&0xff000000)|((_k3<<16)&0xff0000)|((_j3<<8)&0xff00)|(_i3&0xff);};this._kp3=function(left,factor){factor=_L5(factor,0.0);factor=_M5(factor,1.0);var _i3=((left&0xff)*factor);var _j3=(((left>>8)&0xff)*factor);var _k3=(((left>>16)&0xff)*factor);var _l3=(((left>>24)&0xff)*factor);return((_l3<<24)&0xff000000)|((_k3<<16)&0xff0000)|((_j3<<8)&0xff00)|(_i3&0xff);
};}/*@constructor */function _b81(_dU2){_5p3.call(this,_dU2);this._dO=_UT;this._ys2=function(_lp3){var _mp3=undefined;var _np3=undefined;var _op3=this._WT._pp3(_lp3);_mp3=_op3._qp3;_np3=_op3.post;var _rp3=(_mp3!==undefined);var _sp3=(_np3!==undefined);if((!_rp3)&&(!_sp3))return -1.0;if(!_rp3){return _np3._cR;}if(!_sp3){var _tp3=_mp3._Pq[0]._cR;var _up3=_tp3+1.0;var _vp3=_mp3._bV;var _wp3=_vp3+_mp3._YT;if(_wp3==_vp3){_wp3+=1.0;}var _sb3=_tp3+((_lp3-_vp3)/(_wp3-_vp3))*(_up3-_tp3);return _sb3;}var _tp3=_mp3._Pq[0]._cR;
var _up3=_np3._Pq[0]._cR;var _vp3=_mp3._bV;var _wp3=_np3._bV;var _sb3=_tp3+((_lp3-_vp3)/(_wp3-_vp3))*(_up3-_tp3);return _sb3;};}/*@constructor */function _081(_dU2){_5p3.call(this,_dU2);this._dO=_v71;}/*@constructor */function _V71(_dU2){_5p3.call(this,_dU2);this._dO=_w71;}/*@constructor */function _a81(_dU2){_5p3.call(this,_dU2);this._dO=_981;}/*@constructor */function _W71(_dU2){_5p3.call(this,_dU2);this._dO=_F71;}/*@constructor */function _481(_dU2){_5p3.call(this,_dU2);this._dO=_381;Object.defineProperties(this,
{gmlmask:{enumerable:true,get :function(){return this._xp3();},set :function(_F2){this._yp3(_F2);}},gmlsubject:{enumerable:true,get :function(){return this._zp3();},set :function(_F2){this._Ap3(_F2);}}});}_481.prototype._Bp3=function(_Do3,_Cp3){for(var i=0;i<this._TT.length;i++){var _4m3=this._TT[i];if(_4m3._dO==_Cp3){if(_Do3==null)this._TT.splice(i,1);else this._TT[i]=_Do3;return;}}if(_Do3!=_lZ){this._TT[this._TT.length]=_Do3;}};_481.prototype._yp3=function(_Do3){this._Bp3(_Do3,_581);};_481.prototype._Ap3=function(_Do3){
this._Bp3(_Do3,_781);};_481.prototype._xp3=function(){for(var i=0;i<this._TT.length;i++){var _4m3=this._TT[i];if(_4m3._dO==_581){return _4m3;}}return null;};_481.prototype._zp3=function(){for(var i=0;i<this._TT.length;i++){var _4m3=this._TT[i];if(_4m3._dO==_781){return _4m3;}}return null;};/*@constructor */function _681(_dU2){_5p3.call(this,_dU2);this._dO=_581;}/*@constructor */function _881(_dU2){_5p3.call(this,_dU2);this._dO=_781;}/*@constructor */function __71(_dU2){_5p3.call(this,_dU2);this._dO=_y71;}/*@constructor */function _Z71(_dU2){
_5p3.call(this,_dU2);this._dO=_x71;}/*@constructor */function _5p3(_dU2){_eU2.call(this);this.__type="[Track]";this.id=_uo3();this._Dp3="";this.pName="";this.builtinName=0;this._Ep3=0;this._Fp3=false;this._Gp3=[];this._Hp3=0;this._TT=[];this._Ip3=0;this._Jp3=[];this._WT=new _D71();if((_dU2!=null)&&(_dU2!=undefined)){this._Dp3=_dU2.modelName;this.pName=_dU2.pName;this.builtinName=_dU2.builtinName;this._Fp3=_dU2._Kp3==1?true:false;this._Ep3=_dU2.traits;if(_dU2.tags!==undefined&&_dU2.tags.length>0){for(var _Lp3=0;
_Lp3<_dU2.tags.length;_Lp3++){this._Gp3[_dU2.tags[_Lp3].UniqueTagTypeId]=_dU2.tags[_Lp3];}}this._Hp3=_dU2.tracks.length;this._TT=[];for(var _lk2=0;_lk2<this._Hp3;++_lk2){this._TT[_lk2]=_Jo3(_dU2.tracks[this._Hp3-1-_lk2]);}this._Ip3=_dU2.ownedResourceModels.length;this._Jp3=[];for(var _Mp3=0;_Mp3<this._Ip3;++_Mp3){var _Np3=_dU2.ownedResourceModels[_Mp3];var _Op3=_Np3.type;var _Pp3=_Np3.resource;if(_Op3=="GMAnimCurve"){this._Jp3[_Mp3]=new __q(_Pp3);}}}Object.defineProperties(this,{gmlname:{enumerable:true,
get :function(){return this.pName;},set :function(_F2){this.pName=yyGetString(_F2);this._Qp3();}},gmltype:{enumerable:true,get :function(){return this._dO;}},gmltraits:{enumerable:true,get :function(){return this._Ep3;},set :function(_F2){this._Ep3=yyGetInt32(_F2);}},gmltracks:{enumerable:true,get :function(){return this._TT;},set :function(_F2){if(_F2 instanceof Array){this._TT=_F2;}else {throw new Error("value must be an array of tracks");}}},gmlenabled:{enumerable:true,get :function(){return this._Gp3==null||this._Gp3[_Kn3]==undefined;
},set :function(_F2){this._Gp3[_Kn3]=yyGetBool(_F2)?undefined:true;}},gmlvisible:{enumerable:true,get :function(){return this._Gp3==null||this._Gp3[_Jn3]==undefined;},set :function(_F2){this._Gp3[_Jn3]=yyGetBool(_F2)?undefined:true;}},enabled:{get :function(){return this._Gp3==null||this._Gp3[_Kn3]==undefined;},set :function(_F2){this._Gp3[_Kn3]=yyGetBool(_F2)?undefined:true;}},visible:{get :function(){return this._Gp3==null||this._Gp3[_Jn3]==undefined;},set :function(_F2){this._Gp3[_Jn3]=yyGetBool(_F2)?undefined:true;
}},gmlembeddedAnimCurves:{enumerable:true,get :function(){return this._Jp3;},set :function(_F2){this._Jp3=_F2;}},gmllinkedTrack:{enumerable:true,get :function(){return this._Gp3==null?-1:(this._Gp3[_In3]!=null?this._Gp3[_In3]._Q2:-1);},set :function(_F2){if(_F2==-1)_F2=null;if(this._Gp3[_Kn3]==null)this._Gp3[_In3]={};this._Gp3[_In3]._Q2=_F2;}},gmlkeyframes:{enumerable:true,get :function(){return this._WT._aV;},set :function(_F2){if(_F2 instanceof Array){this._WT._aV=_F2;this._WT._6V=_F2.length;}else {throw new Error("value must be an array of keyframes");
}}}});this._7p3=function(){if(this.tags!=null&&this.tags[_In3]!=null){var _Rp3=this.tags[_In3];if(_Rp3==null)return null;if(_Rp3._Q2==null){var _Q2=_DS._UV(_Rp3._lk2);if(_Q2!=null)_Rp3._Q2=_Q2;}return _Rp3._Q2;}return null;};this._Sp3=function(_Tp3,_Xd1,_Up3,_Vp3){_Up3.xOrigin=0.0;_Up3.yOrigin=0.0;_Vp3&=~(1<<_ao3);_Up3._qm3=0;_Up3._Wp3(_Vp3);_Up3._Xp3();var _Yp3=_Up3._Zp3;for(var _lk2=0;_lk2<this._TT.length;++_lk2){var _Q2=this._TT[_lk2];if(_2l3(_Q2._dO)&&(_Q2.enabled)){var __p3=_Q2._Fp3;if(__p3){if(_Yp3&(1<<_Q2.builtinName)){
continue;}if((_Up3._qm3&(1<<_Q2.builtinName))==0){_Yp3|=(1<<_Q2.builtinName);}}else {_Yp3&=~(1<<_Q2.builtinName);}switch(_Q2.builtinName){case _0W:if(!__p3||!(_Up3._qm3&(1<<_0W))){_Up3.rotation=_Q2._6p3(_fo3,_Tp3,_Xd1);_Up3._qm3|=(1<<_0W);}break;case _ZV:if(!__p3||!(_Up3._qm3&(1<<_ZV))){_Up3.x=_Q2._6p3(_fo3,_Tp3,_Xd1);_Up3.y=_Q2._6p3(_jo3,_Tp3,_Xd1);_Up3._qm3|=(1<<_ZV);}break;case _1W:if(!__p3||!(_Up3._qm3&(1<<_1W))){_Up3.scaleX=_Q2._6p3(_fo3,_Tp3,_Xd1);_Up3.scaleY=_Q2._6p3(_jo3,_Tp3,_Xd1);_Up3._qm3|=(1<<_1W);
}break;case _6o3:if(!__p3||!(_Up3._qm3&(1<<_6o3))){var color=0xffffffff;var _0q3=_Q2._6p3(0,_Tp3,_Xd1);if(_0q3!=null)color=_0q3;_Up3._ol3[0]=(color&0xff)/255.0;_Up3._ol3[1]=((color>>8)&0xff)/255.0;_Up3._ol3[2]=((color>>16)&0xff)/255.0;_Up3._ol3[3]=((color>>24)&0xff)/255.0;_Up3._qm3|=(1<<_6o3);}break;case _5o3:if(!__p3||!(_Up3._qm3&(1<<_5o3))){var color=0xffffffff;var _0q3=_Q2._6p3(0,_Tp3,_Xd1);if(_0q3!=null)color=_0q3;_Up3._pl3[0]=(color&0xff)/255.0;_Up3._pl3[1]=((color>>8)&0xff)/255.0;_Up3._pl3[2]=((color>>16)&0xff)/255.0;
_Up3._pl3[3]=((color>>24)&0xff)/255.0;_Up3._qm3|=(1<<_5o3);}break;case _ao3:if(!__p3||!(_Up3._qm3&(1<<_ao3))){_Up3.xOrigin=_Q2._6p3(_fo3,_Tp3,_Xd1);_Up3.yOrigin=_Q2._6p3(_jo3,_Tp3,_Xd1);_Up3._qm3|=(1<<_ao3);}break;case _2o3:if(!__p3||!(_Up3._qm3&(1<<_2o3))){_Up3.gain=_Q2._6p3(0,_Tp3,_Xd1);_Up3._qm3|=(1<<_2o3);}break;case _3o3:if(!__p3||!(_Up3._qm3&(1<<_3o3))){_Up3.pitch=_Q2._6p3(0,_Tp3,_Xd1);_Up3._qm3|=(1<<_3o3);}break;case _4o3:if(!__p3||!(_Up3._qm3&(1<<_4o3))){_Up3._1q3=_Q2._6p3(0,_Tp3,_Xd1);_Up3._qm3|=(1<<_4o3);
}break;case _il3:if(!__p3||!(_Up3._qm3&(1<<_il3))){var _ta=_Q2._6p3(0,_Tp3,_Xd1);if(_ta!=null)_Up3.imageSpeed=_ta;_Up3._2q3(_il3,true);_Up3._qm3|=(1<<_il3);if(_Q2._dO==_z71){var _3q3=-1;var _4q3=false;if(this._dO==_t71||this._dO==_u71){var keyframeStore=this._WT;var _al3=keyframeStore._bl3(_Tp3,_Xd1);if(_al3>=0){var _VT=keyframeStore._aV[_al3];_3q3=_VT._bV;_4q3=true;}}_Up3._kl3=-1;if(_4q3){var _ta=_Q2._Zo3(0,_3q3,_Tp3,_Xd1);if(_ta!=null)_Up3._kl3=_ta;}}}break;case _ll3:if(!__p3||!(_Up3._qm3&(1<<_ll3))){var _ta=_Q2._6p3(0,
_Tp3,_Xd1);if(_ta!=null)_Up3.imageIndex=_ta;_Up3._2q3(_ll3,true);_Up3._qm3|=(1<<_ll3);}break;case _rm3:if(!__p3||!(_Up3._qm3&(1<<_rm3))){_Up3._sm3=_Q2._6p3(_fo3,_Tp3,_Xd1);_Up3._tm3=_Q2._6p3(_jo3,_Tp3,_Xd1);_Up3._qm3|=(1<<_rm3);}break;case _um3:if(!__p3||!(_Up3._qm3&(1<<_um3))){_Up3._vm3=_Q2._6p3(0,_Tp3,_Xd1);_Up3._qm3|=(1<<_um3);}break;case _xm3:if(!__p3||!(_Up3._qm3&(1<<_xm3))){_Up3._ym3=_Q2._6p3(0,_Tp3,_Xd1);_Up3._qm3|=(1<<_xm3);}break;case _Am3:if(!__p3||!(_Up3._qm3&(1<<_Am3))){_Up3._Bm3=_Q2._6p3(0,
_Tp3,_Xd1);_Up3._qm3|=(1<<_Am3);}break;}}}_Yp3&=_Vp3;_Up3._Zp3=_Yp3;};this._Qp3=function(){if(this.pName==null){this.builtinName=_Yn3;return;}if(this.pName=="position")this.builtinName=_ZV;else if(this.pName=="scale")this.builtinName=_1W;else if(this.pName=="gain")this.builtinName=_2o3;else if(this.pName=="pitch")this.builtinName=_3o3;else if(this.pName=="falloff")this.builtinName=_4o3;else if(this.pName=="rotation")this.builtinName=_0W;else if(this.pName=="blend_add")this.builtinName=_5o3;else if(this.pName=="blend_multiply")this.builtinName=_6o3;
else if(this.pName=="mask")this.builtinName=_8o3;else if(this.pName=="subject")this.builtinName=_9o3;else if(this.pName=="origin")this.builtinName=_ao3;else if(this.pName=="image_speed")this.builtinName=_il3;else if(this.pName=="image_index")this.builtinName=_ll3;else if(this.pName=="image_angle")this.builtinName=_0W;else if(this.pName=="rotation")this.builtinName=_0W;else if(this.pName=="image_blend")this.builtinName=_6o3;else if(this.pName=="frameSize")this.builtinName=_rm3;else if(this.pName=="characterSpacing")this.builtinName=_um3;
else if(this.pName=="lineSpacing")this.builtinName=_xm3;else if(this.pName=="paragraphSpacing")this.builtinName=_Am3;else if(this.pName=="frame_size")this.builtinName=_rm3;else if(this.pName=="character_spacing")this.builtinName=_um3;else if(this.pName=="line_spacing")this.builtinName=_xm3;else if(this.pName=="paragraph_spacing")this.builtinName=_Am3;else this.builtinName=_Yn3;};}/*@constructor */function _5q3(){_eU2.call(this);this._6q3=0;Object.defineProperties(this,{gmlchannel:{enumerable:true,get :function(){
return this._6q3;},set :function(_F2){this._6q3=yyGetInt32(_F2);}},});this._3V2=function(){var _6V2=this._tU2;for(var _ke1 in this._Pq){if(_ke1._OZ1(_6V2)){this._tU2=_L5(this._tU2,_ke1._tU2);}}};}/*@constructor */function _R71(_dU2){_5q3.call(this);this.__type="[MessageEventTrackKey]";this._xg1=null;if((_dU2!=null)&&(_dU2!=undefined)){this._xg1=_dU2.events;}Object.defineProperties(this,{gmlevents:{enumerable:true,get :function(){return this._xg1;},set :function(_F2){this._xg1=_F2;}},});}/*@constructor */function _S71(_dU2){
_5q3.call(this);this.__type="[CodeEventTrackKey]";if((_dU2!=null)&&(_dU2!=undefined)){this._7q3=_dU2.event;this._7q3._8q3=this._7q3;}else {this._7q3=null;}Object.defineProperties(this,{gmlevent:{enumerable:true,get :function(){return this._7q3;},set :function(_F2){this._7q3=_F2;}},});}/*@constructor */function _9q3(_dU2){_5q3.call(this);this.__type="[AssetTrackKey]";this._7F=-1;if((_dU2!=null)&&(_dU2!=undefined)){this._7F=_dU2.index;}Object.defineProperties(this,{gmlindex:{enumerable:true,get :function(){
return this._7F;},set :function(_F2){this._7F=_F2;}},});}/*@constructor */function _H71(_dU2){_5q3.call(this);this.__type="[GraphicTrackKey]";this._7R=-1;if((_dU2!=null)&&(_dU2!=undefined)){this._7R=_dU2.index;}Object.defineProperties(this,{gmlspriteIndex:{enumerable:true,get :function(){return this._7R;},set :function(_F2){this._7R=yyGetInt32(_F2);}},});}/*@constructor */function _aq3(_dU2){_5q3.call(this);this.__type="[ParticleTrackKey]";this.particleSystemIndex=-1;if((_dU2!=null)&&(_dU2!=undefined)){
this.particleSystemIndex=_dU2.index;}Object.defineProperties(this,{gmlparticleSystemIndex:{enumerable:true,get :function(){return this.particleSystemIndex;},set :function(_F2){this.particleSystemIndex=yyGetInt32(_F2);}},});}/*@constructor */function _I71(_dU2){_5q3.call(this);this.__type="[InstanceTrackKey]";this._bq3=-1;if((_dU2!=null)&&(_dU2!=undefined)){this._bq3=_dU2.index;}Object.defineProperties(this,{gmlobjectIndex:{enumerable:true,get :function(){return this._bq3;},set :function(_F2){this._bq3=yyGetInt32(_F2);
}},});}/*@constructor */function _K71(_dU2){_5q3.call(this);this.__type="[AudioTrackKey]";this._cq3=-1;this._dq3=0;this._eq3=0;if((_dU2!=null)&&(_dU2!=undefined)){this._cq3=_dU2.soundIndex;this._dq3=_dU2.emitters;this._eq3=_dU2.mode;}Object.defineProperties(this,{gmlsoundIndex:{enumerable:true,get :function(){return this._cq3;},set :function(_F2){this._cq3=_F2;}},gmlemitters:{enumerable:true,get :function(){return this._dq3;},set :function(_F2){this._dq3=_F2;}},gmlmode:{enumerable:true,get :function(){return this._eq3;
},set :function(_F2){this._eq3=_F2;}},});}/*@constructor */function _P71(_dU2){_5q3.call(this);this.__type="[RealTrackKey]";this._Uo3=0;this._Xo3=false;this._So3=-1;this._To3=null;if((_dU2!=null)&&(_dU2!=undefined)){this._Uo3=_dU2.realValue;this._Xo3=_dU2.hasEmbeddedCurve;this._So3=_dU2.curveIndex;if(_dU2.pEmbeddedCurve!=undefined){this._To3=new __q(_dU2.pEmbeddedCurve);}}this._3V2=function(){var _6V2=this._tU2;for(var _ke1 in this._Pq){var _Gq=_Iq._Jq(_ke1._So3);if((_Gq!=null)&&(_Gq._OZ1(_6V2))){this._tU2=_L5(this._tU2,
_Gq._tU2);}}};Object.defineProperties(this,{gmlvalue:{enumerable:true,get :function(){return this._Uo3;},set :function(_F2){this._Uo3=yyGetReal(_F2);this._So3=-1;this._Xo3=false;this._To3=null;}},gmlhasEmbeddedCurve:{enumerable:true,get :function(){return this._Xo3;},set :function(_F2){this._Xo3=yyGetBool(_F2);}},gmlcurve:{enumerable:true,get :function(){var _fq3=undefined;if((this._Xo3==true)&&(this._To3!=null)){_fq3=this._To3;}else {_fq3=_Iq._I4(this._So3);}if((_fq3==undefined)||(_fq3==null))return -1;else return _fq3;
},set :function(_F2){if(typeof(_F2)=="object"){var _Ba=_Iq.AnimCurves.indexOf(_F2);if(_Ba==-1){this._To3=_F2;this._Xo3=true;this._So3=-1;}else {this._So3=_Ba;this._Xo3=false;this._To3=null;}}else {if(_Iq._I4(this._So3)!=null){this._So3=_F2;this._Xo3=false;this._To3=null;}else {throw new Error("Invalid curve passed to curve property of keyframe channel");}}}},});}/*@constructor */function _Q71(_dU2){_5q3.call(this);this.__type="[ColorTrackKey]";this._HZ2=0;this._Xo3=false;this._So3=-1;this._To3=null;if((_dU2!=null)&&(_dU2!=undefined)){
this._HZ2=_dU2.color;this._Xo3=_dU2.hasEmbeddedCurve;this._So3=_dU2.curveIndex;if(_dU2.pEmbeddedCurve!=undefined){this._To3=new __q(_dU2.pEmbeddedCurve);}}Object.defineProperties(this,{gmlcolor:{enumerable:true,get :function(){var _q3=[];_q3[1]=(this._HZ2&0xff)/255.0;_q3[2]=((this._HZ2>>8)&0xff)/255.0;_q3[3]=((this._HZ2>>16)&0xff)/255.0;_q3[0]=((this._HZ2>>24)&0xff)/255.0;return _q3;},set :function(_F2){if(_F2 instanceof Array){var _q3;_q3=((yyGetReal(_F2[1])*255.0)&0xff);_q3|=((yyGetReal(_F2[2])*255.0)&0xff)<<8;
_q3|=((yyGetReal(_F2[3])*255.0)&0xff)<<16;_q3|=((yyGetReal(_F2[0])*255.0)&0xff)<<24;this._HZ2=_q3;}else {this._HZ2=yyGetInt32(_F2);}this._So3=-1;this._Xo3=false;this._To3=null;}},gmlcolour:{enumerable:true,get :function(){var _q3=[];_q3[1]=(this._HZ2&0xff)/255.0;_q3[2]=((this._HZ2>>8)&0xff)/255.0;_q3[3]=((this._HZ2>>16)&0xff)/255.0;_q3[0]=((this._HZ2>>24)&0xff)/255.0;return _q3;},set :function(_F2){if(_F2 instanceof Array){var _q3;_q3=((yyGetReal(_F2[1])*255.0)&0xff);_q3|=((yyGetReal(_F2[2])*255.0)&0xff)<<8;
_q3|=((yyGetReal(_F2[3])*255.0)&0xff)<<16;_q3|=((yyGetReal(_F2[0])*255.0)&0xff)<<24;this._HZ2=_q3;}else {this._HZ2=yyGetInt32(_F2);}this._So3=-1;this._Xo3=false;this._To3=null;}},gmlcurve:{enumerable:true,get :function(){var _fq3=undefined;if((this._Xo3==true)&&(this._To3!=null)){_fq3=this._To3;}else {_fq3=_Iq._I4(this._So3);}if((_fq3==undefined)||(_fq3==null))return -1;else return _fq3;},set :function(_F2){if(typeof(_F2)=="object"){var _Ba=_Iq.AnimCurves.indexOf(_F2);if(_Ba==-1){this._To3=_F2;this._Xo3=true;
this._So3=-1;}else {this._So3=_Ba;this._Xo3=false;this._To3=null;}}else {if(_Iq._I4(this._So3)!=null){this._So3=_F2;this._Xo3=false;this._To3=null;}else {throw new Error("Invalid curve passed to curve property of keyframe channel");}}}},});}/*@constructor */function _N71(_dU2){_5q3.call(this);this.__type="[BoolTrackKey]";this._fU2=false;if((_dU2!=null)&&(_dU2!=undefined)){this._fU2=_dU2.value;}Object.defineProperties(this,{gmlvalue:{enumerable:true,get :function(){return this._fU2;},set :function(_F2){this._fU2=yyGetBool(_F2);
}},});}/*@constructor */function _O71(_dU2){_5q3.call(this);this.__type="[StringTrackKey]";this._fU2="";if((_dU2!=null)&&(_dU2!=undefined)){this._fU2=_dU2.value;}Object.defineProperties(this,{gmlvalue:{enumerable:true,get :function(){return this._fU2;},set :function(_F2){this._fU2=yyGetString(_F2);}},});}/*@constructor */function _L71(_dU2){_5q3.call(this);this.__type="[TextTrackKey]";this.text="";this.wrap=false;this.alignment=0;this.fontIndex=-1;if((_dU2!=null)&&(_dU2!=undefined)){this.text=_dU2.text;
this.wrap=_dU2.wrap;this.alignment=_dU2.alignment;this.fontIndex=_dU2.fontIndex;}Object.defineProperties(this,{gmltext:{enumerable:true,get :function(){return this.text;},set :function(_F2){this.text=yyGetString(_F2);}},gmlwrap:{enumerable:true,get :function(){return this.wrap;},set :function(_F2){this.wrap=yyGetBool(_F2);}},gmlalignmentV:{enumerable:true,get :function(){return(this.alignment>>8)&0xff;},set :function(_F2){this.alignment=(this.alignment&0xff)|((yyGetInt32(_F2)&0xff)<<8);}},gmlalignmentH:{
enumerable:true,get :function(){return this.alignment&0xff;},set :function(_F2){this.alignment=(this.alignment&~0xff)|(yyGetInt32(_F2)&0xff);}},gmlfontIndex:{enumerable:true,get :function(){return this.fontIndex;},set :function(_F2){this.fontIndex=yyGetInt32(_F2);}},});}/*@constructor */function _J71(_dU2){_5q3.call(this);this._7F=-1;if((_dU2!=null)&&(_dU2!=undefined)){this._7F=_dU2.index;}Object.defineProperties(this,{gmlindex:{enumerable:true,get :function(){return this._7F;},set :function(_F2){this._7F=yyGetInt32(_F2);
}},});this.__type="[SequenceTrackKey]";}/*@constructor */function _M71(_dU2){_5q3.call(this);this.__type="[SpriteFramesTrackKey]";this._cR=-1;if((_dU2!=null)&&(_dU2!=undefined)){this._cR=_dU2.imageIndex;}Object.defineProperties(this,{gmlimageIndex:{enumerable:true,get :function(){return this._cR;},set :function(_F2){this._cR=yyGetInt32(_F2);}},});}/*@constructor */function _G71(_sc,_dU2){_eU2.call(this);this.__type="[Keyframe]";this._bV=0;this._YT=0;this._Kl3=false;this._gq3=false;this._Pq={};if((_dU2!=null)&&(_dU2!=undefined)){
this._bV=_dU2.key;this._YT=_dU2.length;this._Kl3=_dU2.stretch;this._gq3=_dU2.disabled;this._Pq={};for(var _8m3 in _dU2.channels){var data=_dU2.channels[_8m3];var _hq3=null;switch(_sc){case _t71:_hq3=new _H71(data);break;case _u71:_hq3=new _I71(data);break;case _w71:_hq3=new _K71(data);break;case _F71:_hq3=new _L71(data);break;case _z71:_hq3=new _P71(data);break;case _A71:_hq3=new _Q71(data);break;case _x71:_hq3=new _N71(data);break;case _y71:_hq3=new _O71(data);break;case _v71:_hq3=new _J71(data);break;case _UT:_hq3=new _M71(data);
break;case _181:_hq3=new _aq3(data);break;}if(_hq3!=null){_hq3.key=_8m3;this._Pq[_8m3]=_hq3;}else {throw new Error("Invalid sequence track channel type");}}}this._kU2();Object.defineProperties(this,{gmlframe:{enumerable:true,get :function(){return this._bV;},set :function(_F2){this._bV=yyGetInt32(_F2);}},gmllength:{enumerable:true,get :function(){return this._YT;},set :function(_F2){this._YT=yyGetInt32(_F2);}},gmlstretch:{enumerable:true,get :function(){return this._Kl3;},set :function(_F2){this._Kl3=yyGetBool(_F2);
}},gmldisabled:{enumerable:true,get :function(){return this._gq3;},set :function(_F2){this._gq3=yyGetBool(_F2);}},gmlchannels:{enumerable:true,get :function(){var _iq3=[];for(var _8m3 in this._Pq){_iq3.push(this._Pq[_8m3]);}_iq3.sort(function(_l3,_k3){return Number(_l3.key)-Number(_k3.key);});return _iq3;},set :function(_F2){if(_F2 instanceof Array){this._Pq={};for(var _5V2=0;_5V2<_F2.length;_5V2++){var key=_F2[_5V2]._6q3;this._Pq[key]=_F2[_5V2];}}else {throw new Error("value must be an array of keyframes");}}}});
}/*@constructor */function _D71(_sc,_dU2){_eU2.call(this);this.__type="[KeyframeStore]";this._6V=0;this._aV=[];if((_dU2!=null)&&(_dU2!=undefined)){var _jq3=_dU2.length;for(var _al3=0;_al3<_jq3;++_al3){this._kq3(new _G71(_sc,_dU2[_al3]));}}}_D71.prototype._3V2=function(){var _6V2=this._tU2;for(var i=0;i<this._6V;i++){if(this._aV[i]._OZ1(_6V2)){this._tU2=_L5(this._tU2,this._aV[i]._tU2);}}};_D71.prototype._kq3=function(_lq3){var _bU=0;while(_bU<this._6V){if(this._aV[_bU].key>_lq3.key){break;}_bU++;}this._aV.splice(_bU,
0,_lq3);this._6V++;this._kU2();};_D71.prototype._pp3=function(_ik){var _dV2={};if(this._6V==0)return;var start=0,end=this._6V;var index=(start+end)>>1;var length;while(index!=start){length=this._aV[index]._Kl3?(index+1<this._6V?this._aV[index+1]._bV:Number.MAX_SAFE_INTEGER):this._aV[index]._YT;if(this._aV[index]._bV<=_ik&&this._aV[index]._bV+length>_ik){_dV2._qp3=this._aV[index];if(index<this._6V-1)_dV2.post=this._aV[index+1];return _dV2;}if(this._aV[index]._bV>_ik)end=index;else start=index;index=(start+end)>>1;
}length=this._aV[index]._Kl3?(index+1<this._6V?this._aV[index+1]._bV:Number.MAX_SAFE_INTEGER):this._aV[index]._YT;if(this._aV[index]._bV<=_ik&&this._aV[index]._bV+length>_ik){_dV2._qp3=this._aV[index];if(index<this._6V-1)_dV2.post=this._aV[index+1];}return _dV2;};_D71.prototype._bl3=function(_ik,_Po3){if(this._6V==0)return -1;var start=0;var end=this._6V;var index=(start+end)>>1;var length;while(index!=start){length=this._aV[index]._Kl3?(index+1<this._6V?this._aV[index+1]._bV:0x7fffffff):this._aV[index]._YT;
if(this._aV[index]._bV<=_ik&&this._aV[index]._bV+length>_ik)return index;if(this._aV[index]._bV>_ik)end=index;else start=index;index=(start+end)>>1;}length=this._aV[index]._Kl3?(index+1<this._6V?this._aV[index+1]._bV:0x7fffffff):this._aV[index]._YT;if(this._aV[index]._bV<=_ik&&this._aV[index]._bV+length>_ik)return index;if((index==(this._6V-1))&&(_ik==_Po3)){if((this._aV[index]._bV+length)==_Po3)return index;}return -1;};_D71.prototype._XT=function(_ik,_Po3){var _mq3=this._bl3(_ik,_Po3);if(_mq3==-1)return null;
return this._aV[_mq3];};_D71.prototype._dl3=function(_N2,_Po3){if(_N2<0){return 0.0;}else if(_N2>this._6V){return 0.0;}if(this._aV[_N2]._Kl3){if(_N2<(this._6V-1)){var length=(this._aV[_N2+1]._bV-this._aV[_N2]._bV)-1.0;return length;}else {var length=(_Po3-this._aV[_N2]._bV)-1.0;return length;}}else {return this._aV[_N2]._YT;}};_D71.prototype._nq3=function(_ZA,__A,_uh1,_Bo3,_oq3,_Xd1){if(_oq3==undefined)_oq3=false;if(_Xd1==undefined)_Xd1=-1.0;if(this._6V==0)return false;var _pq3=false;if(_ZA>__A){var _nK=_ZA;_ZA=__A;
__A=_nK;_pq3=true;}var _qq3=false;var _rq3=false;if(_Bo3>0.0){_rq3=true;if(_oq3&&(__A==_Xd1)){_qq3=true;}}else {_qq3=true;if(_oq3&&(_ZA==0.0)){_rq3=true;}}if((_qq3&&(this._aV[0]._bV>__A))||((!_qq3)&&this._aV[0]._bV>=__A))return false;var _sq3=this._aV[this._6V-1]._bV+this._aV[this._6V-1]._YT;if((this._aV[this._6V-1]._Kl3==false)&&((_sq3<_ZA)||(!_rq3&&((_sq3==_ZA)))))return false;var _Fl3=0;var start,end,_2i;var _JN=null;start=0;end=this._6V;_2i=(start+end)>>1;while(_2i!=start){if(this._aV[_2i]._bV>_ZA){end=_2i;
}else {start=_2i;}_2i=(start+end)>>1;}_JN=this._aV[_2i];var _tq3=_JN._bV+_JN._YT;if((_tq3<_ZA)||(!_rq3&&(_tq3==_ZA))){_Fl3=_2i+1;}else {_Fl3=_2i;}var _Gl3=0;start=0;end=this._6V;_2i=(start+end)>>1;while(_2i!=start){if((_qq3&&(this._aV[_2i]._bV>__A))||((!_qq3)&&(this._aV[_2i]._bV>=__A))){end=_2i;}else {start=_2i;}_2i=(start+end)>>1;}_Gl3=_2i;if(_Gl3<_Fl3){return false;}else {if(_pq3){_uh1.start=_Gl3;_uh1.end=_Fl3;}else {_uh1.start=_Fl3;_uh1.end=_Gl3;}return true;}};_D71.prototype._Ho3=function(_uq3,_xl,_Xd1,
_Ao3,_zo3,_Bo3,_Fo3,_Go3,_vq3,_wq3){if(_vq3==undefined)_vq3=false;if(_wq3==undefined)_wq3=false;var _xq3=0.99;_Fo3[0]=_Go3[0]=_Fo3[1]=_Go3[1]=-1;var out={start:-1,end:-1};var _yq3=false;if(_uq3==_Rn3){_yq3=this._nq3(_Ao3,_zo3,out,_Bo3,_vq3,_Xd1);_Fo3[0]=out.start;_Go3[0]=out.end;}else if(_uq3==_Sn3){if(_Bo3>0.0){if(_wq3||(_zo3<_Ao3)){if(!_vq3||(_Ao3!=_Xd1)){_yq3=this._nq3(_Ao3,_Xd1,out,_Bo3,_vq3,_Xd1);_Fo3[0]=out.start;_Go3[0]=out.end;}if(this._nq3(0,_zo3,out,_Bo3,_vq3,_Xd1)){_yq3=true;_Fo3[1]=out.start;
_Go3[1]=out.end;}}else {_yq3=this._nq3(_Ao3,_zo3,out,_Bo3,_vq3,_Xd1);_Fo3[0]=out.start;_Go3[0]=out.end;}}else {if(_wq3||(_zo3>_Ao3)){if(!_vq3||(_Ao3!=0)){_yq3=this._nq3(_Ao3,0,out,_Bo3,_vq3,_Xd1);_Fo3[0]=out.start;_Go3[0]=out.end;}if(this._nq3(_Xd1,_zo3,out,_Bo3,_vq3,_Xd1)){_yq3=true;_Fo3[1]=out.start;_Go3[1]=out.end;}}else {_yq3=this._nq3(_Ao3,_zo3,out,_Bo3,_vq3,_Xd1);_Fo3[0]=out.start;_Go3[0]=out.end;}}}else if(_uq3==_Tn3){var _zq3=0.0;if(_xl>0.0){_zq3=1.0/_xl;}if(_Bo3>0.0){if(_wq3||(_zo3<_Ao3)||((_zo3-_Ao3)<(_zq3*_xq3))){
if(!_vq3||(_Ao3>0)){_yq3=this._nq3(_Ao3,0,out,_Bo3*-1.0,false);_Fo3[0]=out.start;_Go3[0]=out.end;}if(this._nq3(0,_zo3,out,_Bo3,_vq3,_Xd1)){_yq3=true;_Fo3[1]=out.start;_Go3[1]=out.end;}}else {_yq3=this._nq3(_Ao3,_zo3,out,_Bo3,false);_Fo3[0]=out.start;_Go3[0]=out.end;}}else {if(_wq3||(_zo3>_Ao3)||((_Ao3-_zo3)<(_zq3*_xq3))){if(!_vq3||(_Ao3<_Xd1)){_yq3=this._nq3(_Ao3,_Xd1,out,_Bo3*-1.0,false);_Fo3[0]=out.start;_Go3[0]=out.end;}if(this._nq3(_Xd1,_zo3,out,_Bo3,_vq3,_Xd1)){_yq3=true;_Fo3[1]=out.start;_Go3[1]=out.end;
}}else {_yq3=this._nq3(_Ao3,_zo3,out,_Bo3,false);_Fo3[0]=out.start;_Go3[0]=out.end;}}}return _yq3;};var typeToEventLut=["event_create","event_destroy","event_clean_up","event_step","event_step_begin","event_step_end","event_async_system"];/*@constructor */function _p71(_dU2){_eU2.call(this);this.__type="[Sequence]";this.pName="";this._Io3=0;this._bg1=30.0;this._cg1=0;this._YT=0;this._Aq3=1.0;this._Mk3=0;this._Nk3=0;this._vg1=new _D71();this._vg1._6V=0;this._vg1._aV=[];this._Bq3=new _D71();this._Bq3._6V=0;
this._Bq3._aV=[];this._Hp3=0;this._Cq3=0;this._TT=[];this["event_create"]=null;this["event_destroy"]=null;this["event_clean_up"]=null;this["event_step"]=null;this["event_step_begin"]=null;this["event_step_end"]=null;this["event_async_system"]=null;this["event_broadcast_message"]=null;this._Xq=false;if((_dU2!=null)&&(_dU2!=undefined)){this.pName=_dU2.pName;this._Io3=_dU2.playback;this._bg1=_dU2.playbackSpeed;this._cg1=_dU2.playbackSpeedType;this._YT=_dU2.length;this._Aq3=_dU2.volume;this._Mk3=_dU2.xorigin;
this._Nk3=_dU2.yorigin;this._vg1=new _D71();this._vg1._6V=0;this._vg1._aV=[];for(var _al3=0;_al3<_dU2.keyframeStore.length;++_al3){var _Dq3=_dU2.keyframeStore[_al3];var _em3=new _G71();_em3._bV=_Dq3.key;if((_em3._bV<this._YT)&&(_em3._bV>(this._YT+(_Dn3*2.0))))_em3._bV=this._YT;_em3._YT=0;_em3._Kl3=_Dq3.stretch;_em3._gq3=_Dq3.disabled;_em3._Pq={};for(var _8m3 in _Dq3.channels){var _8e1=_Dq3.channels[_8m3];_em3._Pq[_8m3]=new _R71(_8e1);}this._vg1._kq3(_em3);}this._Bq3=new _D71();this._Bq3._6V=0;this._Bq3._aV=[];
this._Hp3=_dU2.tracks.length;this._TT=[];for(var _lk2=0;_lk2<this._Hp3;++_lk2){this._TT[_lk2]=_Jo3(_dU2.tracks[this._Hp3-1-_lk2]);}this._Cq3=_dU2.sequenceEvents.length;for(var _3d3=0;_3d3<this._Cq3;++_3d3){var _Tf=_dU2.sequenceEvents[_3d3];var _Eq3=typeToEventLut[_Tf.seqEventType];this[_Eq3]=_Tf.seqEventFunction;_Tf.seqEventFunction._8q3=_Tf.seqEventFunction;}this._Bq3=new _D71();this._Bq3._6V=0;this._Bq3._aV=[];for(var _al3=0;_al3<_dU2.momentsKeystore.length;++_al3){var _Dq3=_dU2.momentsKeystore[_al3];
var _em3=new _G71();_em3._bV=_Dq3.key;if((_em3._bV<this._YT)&&(_em3._bV>(this._YT+(_Dn3*2.0))))_em3._bV=this._YT;_em3._YT=0;_em3._Kl3=_Dq3.stretch;_em3._gq3=_Dq3.disabled;_em3._Pq={};for(var _8m3 in _Dq3.channels){var _8e1=_Dq3.channels[_8m3];_em3._Pq[_8m3]=new _S71(_8e1);}this._Bq3._kq3(_em3);}this._Xq=true;}Object.defineProperties(this,{gmlname:{enumerable:true,get :function(){return this.pName;},set :function(_F2){this.pName=yyGetString(_F2);}},gmlloopmode:{enumerable:true,get :function(){return this._Io3;
},set :function(_F2){var _yd=yyGetInt32(_F2);if((_yd>=0)&&(_yd<_Un3)){this._Io3=_yd;}else {debug("Trying to set loopmode property of sequence to out-of-bounds value "+yyGetReal(_F2));}}},gmlplaybackSpeed:{enumerable:true,get :function(){return this._bg1;},set :function(_F2){this._bg1=yyGetReal(_F2);}},gmlplaybackSpeedType:{enumerable:true,get :function(){return this._cg1;},set :function(_F2){var _yd=yyGetInt32(_F2);if(isFinite(_F2)&&(_yd>=0)&&(_yd<_Fq3)){this._cg1=_yd;}else {debug("Trying to set playbackSpeedType property of sequence to out-of-bounds value "+yyGetReal(_F2));
}}},gmllength:{enumerable:true,get :function(){return this._YT;},set :function(_F2){_F2=yyGetReal(_F2);_F2=_L5(_F2,0.0);this._YT=_F2;}},gmlvolume:{enumerable:true,get :function(){return this._Aq3;},set :function(_F2){_F2=yyGetReal(_F2);_F2=_L5(_F2,0.0);this._Aq3=_F2;}},gmlxorigin:{enumerable:true,get :function(){return this._Mk3;},set :function(_F2){this._Mk3=yyGetReal(_F2);}},gmlyorigin:{enumerable:true,get :function(){return this._Nk3;},set :function(_F2){this._Nk3=yyGetReal(_F2);}},gmltracks:{enumerable:true,
get :function(){return this._TT;},set :function(_F2){if(_F2 instanceof Array){this._TT=_F2;}else {throw new Error("value must be an array of tracks");}}},gmlmessageEventKeyframes:{enumerable:true,get :function(){return this._vg1._aV;},set :function(_F2){if(_F2 instanceof Array){this._vg1._aV=_F2;this._vg1._6V=_F2.length;}else {throw new Error("value must be an array of keyframes");}}},gmlmomentKeyframes:{enumerable:true,get :function(){return this._Bq3._aV;},set :function(_F2){if(_F2 instanceof Array){this._Bq3._aV=_F2;
this._Bq3._6V=_F2.length;}else {throw new Error("value must be an array of keyframes");}}},gmlevent_create:{enumerable:true,get :function(){return this["event_create"];},set :function(_F2){this["event_create"]=_F2;}},gmlevent_destroy:{enumerable:true,get :function(){return this["event_destroy"];},set :function(_F2){this["event_destroy"]=_F2;}},gmlevent_clean_up:{enumerable:true,get :function(){return this["event_clean_up"];},set :function(_F2){this["event_clean_up"]=_F2;}},gmlevent_step:{enumerable:true,get :function(){
return this["event_step"];},set :function(_F2){this["event_step"]=_F2;}},gmlevent_step_begin:{enumerable:true,get :function(){return this["event_step_begin"];},set :function(_F2){this["event_step_begin"]=_F2;}},gmlevent_step_end:{enumerable:true,get :function(){return this["event_step_end"];},set :function(_F2){this["event_step_end"]=_F2;}},gmlevent_async_system:{enumerable:true,get :function(){return this["event_async_system"];},set :function(_F2){this["event_async_system"]=_F2;}},gmlevent_broadcast_message:{
enumerable:true,get :function(){return this["event_broadcast_message"];},set :function(_F2){this["event_broadcast_message"]=_F2;}},});}_p71.prototype._c81=function(){var ids=[];this._Gq3(this._TT,ids);return ids;};_p71.prototype._Gq3=function(_Zk3,_Hq3){for(var _lk2=0;_lk2<_Zk3.length;++_lk2){var _Q2=_Zk3[_lk2];if(_Q2._dO==_u71){var _Iq3=_Q2;if(_Iq3._WT!=null){var _Jq3=_Iq3._WT._6V;for(var i=0;i<_Jq3;i++){var _JN=_Iq3._WT._aV[i];for(var _8m3 in _JN._Pq){var _9m3=_JN._Pq[_8m3];if(_9m3._bq3!=-1){if(_Hq3.indexOf(_9m3._bq3)==-1){
_Hq3.push(_9m3._bq3);}}}}}}else if(_Q2._dO==_381){var _Kq3=_Q2;this._Gq3(_Kq3._xp3(),_Hq3);this._Gq3(_Kq3._zp3(),_Hq3);}else if(_Q2._dO==_v71){var _Lq3=_Q2;if(_Lq3._WT!=null){var _Jq3=_Lq3._WT._6V;for(var i=0;i<_Jq3;i++){var _JN=_Lq3._WT._aV[i];for(var _8m3 in _JN._Pq){var _9m3=_JN._Pq[_8m3];if(_9m3._7F!=-1){var _i71=_DS._UV(_9m3._7F);if(_i71!=null){this._Gq3(_i71._TT,_Hq3);}}}}}}this._Gq3(_Q2._TT,_Hq3);}};/*@constructor */function _4M2(){this.Sequences=[];this._Mz2=[];}_4M2.prototype._Ke=function(_dU2){var _6r=null;
if(_dU2!=null){_6r=new _p71(_dU2);}this.Sequences[this.Sequences.length]=_6r;};_4M2.prototype._k71=function(){var _6r=new _p71();var i;for(i=0;i<this.Sequences.length;i++){if(this.Sequences[i]==null){this.Sequences[i]=_6r;return _6r;}}this.Sequences[this.Sequences.length]=_6r;return _6r;};_4M2.prototype._m71=function(_gV2){if(typeof(_gV2)=="object"){var i;for(i=0;i<this.Sequences.length;i++){if(this.Sequences[i]==_gV2){this.Sequences[i]=null;return;}}}else {if((_gV2>=0)&&(_gV2<this.Sequences.length)){this.Sequences[_gV2]=null;
return;}}};_4M2.prototype._UV=function(_x3){if((_x3<0)||(_x3>=this.Sequences.length)){return undefined;}return this.Sequences[_x3];};_4M2.prototype._q71=function(_gV2){if((typeof(_gV2)=="object")&&(_gV2 instanceof _p71)){var i;for(i=0;i<this.Sequences.length;i++){if(this.Sequences[i]==_gV2){return true;}}}return false;};function _bJ(_N2){var _Mq3=_DS._I4(_N2);if(_Mq3!==undefined&&_Mq3!==null)return true;return false;}function _cJ(_N2){var _Mq3=_DS._I4(_N2);if(_Mq3!==undefined&&_Mq3!==null)return _Mq3.pName;return "";
}_4M2.prototype._cT=function(_x3){if((_x3<0)||(_x3>=this._Mz2.length)){return undefined;}return this._Mz2[_x3];};_4M2.prototype._Nq3=function(_x3){this._Mz2[_x3]=null;};_4M2.prototype._dT=function(_Ls){if(_Ls==null)return;_Ls._Oq3();_Ls._Pq3();_Ls._Qq3();this._Nq3(_Ls._kR);};_4M2.prototype._Rq3=function(_R2){for(var i=0;i<this.Sequences.length;i++){if(this.Sequences[i].pName==_R2){return i;}}return -1;};_4M2.prototype._ES=function(){var index;for(index=0;index<this._Mz2.length;index++){if(this._Mz2[index]==null){
break;}}this._Mz2[index]=new _e81(index);return this._Mz2[index];};var _Sq3=[];var _Tq3=[];var _Uq3=[];function _Vq3(_Wq3,_Xq3){var _Yq3=new Object();_Yq3._JN=_Wq3;_Yq3._Zq3=_Xq3;_Sq3[_Sq3.length]=_Yq3;}function __q3(_Wq3,_b93){var _Yq3=new Object();_Yq3._JN=_Wq3;_Yq3._f81=_b93;_Tq3[_Tq3.length]=_Yq3;}function _0r3(_Wq3,_ET){var _Yq3=new Object();_Yq3._JN=_Wq3;_Yq3._1r3=_ET;_Uq3[_Uq3.length]=_Yq3;}function _2r3(){_Uq3=[];}_4M2.prototype._Ek3=function(_3r3,_4r3){if(_3r3==null)return;var instance=this._Mz2[_3r3._kR];
if(instance!=null){if((_3r3._oR==0)&&(_4r3||(instance._lJ&&instance._5r3)||instance._8W))return;var fps=_B2._C2();instance._6r3=false;if(instance._5r3==false){var _i71=_DS._UV(instance._jR);if(_i71!=null){_g81.push(_i71);instance._h81(_i71._TT,-1,-1,_3r3._cO._rd);instance._7r3(_i71._TT);_g81.pop();}instance._5r3=true;}var sequence=this.Sequences[instance._jR];if(sequence!=null){_g81.push(sequence);instance._4W=instance._lR;if(!_4r3&&!instance._lJ&&!instance._8W){var _8r3=sequence._bg1;if(sequence._cg1==_AQ){
_8r3/=fps;}instance._lR+=instance._6W*instance._FS*_8r3;}var _45={headPosition:instance._lR,_QT:instance._6W,_RT:instance._8W};instance._6r3=_ST(sequence,_45);instance._lR=_45.headPosition;instance._6W=_45._QT;var _9r3=new _Dy();var _Hk3=sequence._Mk3!=0||sequence._Nk3!=0||_3r3._oO!=0||_3r3._qO!=0||_3r3._Z1!=0||_3r3._mR!=1||_3r3._nR!=1||_3r3._cO._pO!=0||_3r3._cO._rO!=0;if(_Hk3){var _Ik3=new _Dy();var _Jk3=new _Dy();var _Kk3=new _Dy();var _Lk3=new _Dy();_Ik3._0A(_3r3._mR,_3r3._nR,1);_Jk3._3A(_3r3._Z1);_Lk3.__z(-sequence._Mk3,
-sequence._Nk3,0);_Kk3.__z(_3r3._oO+_3r3._cO._pO,_3r3._qO+_3r3._cO._rO,0);var _ar3=new _Dy();var _br3=new _Dy();_ar3.Multiply(_Lk3,_Ik3);_br3.Multiply(_ar3,_Jk3);_ar3.Multiply(_br3,_Kk3);var _Gk3=new _Dy(_9r3);_9r3.Multiply(_ar3,_Gk3);}this._cr3(_3r3,sequence,instance,instance._Fk3,instance,_9r3,null,sequence._TT,instance._lR,instance._4W,instance._6W,false);if(!_4r3&&!instance._lJ&&!instance._8W){this._dr3(instance,sequence,_3r3._rd,fps);this._er3(instance,sequence,_3r3._rd,fps);}if(_45._RT){instance._fr3(false);
instance._gr3();}instance._8W=_45._RT;_3r3._oR=0;_g81.pop();}}};_4M2.prototype._hr3=function(_Nn){if(_Nn==null){return;}_Sq3=[];_Tq3=[];var fps=_B2._C2();for(var _bW=0;_bW<_Nn._cW.length;++_bW){var _dW=_Nn._cW[_bW];var _eW=_7t._at(_Nn,_dW);if(_eW==null)continue;this._Ek3(_eW,false);}this._ir3();this._jr3();};_4M2.prototype._kr3=function(_Nn,_lr3){if(_Nn==null){return;}var _Es2;switch(_lr3){case _nA2:_Es2="event_step";break;case _lA2:_Es2="event_step_begin";break;case _pA2:_Es2="event_step_end";break;case _Wb1:_Es2="event_async_system";
break;case _WC2:_Es2="event_broadcast_message";break;default :return;}for(var _bW=0;_bW<_Nn._cW.length;++_bW){var _dW=_Nn._cW[_bW];var _eW=_7t._at(_Nn,_dW);if(_eW==null)continue;var instance=this._Mz2[_eW._kR];if(instance!=null){if(instance.paused||instance._RT)continue;var sequence=this.Sequences[instance._jR];if(sequence!=null){if(sequence[_Es2]!=null){sequence[_Es2]._8q3.call(instance,instance);}}}}};_4M2.prototype._HS=function(_mr3,_lr3){if(_mr3==null){return;}var _Es2;switch(_lr3){case _nA2:_Es2="event_step";
break;case _lA2:_Es2="event_step_begin";break;case _pA2:_Es2="event_step_end";break;case _7m:_Es2="event_create";break;case _tP:_Es2="event_destroy";break;case _fP:_Es2="event_clean_up";break;default :return;}var sequence=this.Sequences[_mr3._jR];if(sequence!=null){if(sequence[_Es2]!=null){sequence[_Es2]._8q3.call(_mr3,_mr3);}}};_4M2.prototype._dr3=function(_b93,_Eo3,_Xq3,_nr3){if(_b93==null)return;if(_Eo3==null)return;if(_Eo3._vg1._6V==0)return;var _Bl3=[];var _Cl3=[];var _jb3=_Eo3._bg1;if(_Eo3._cg1==_AQ)_jb3/=_nr3;
if(_b93._FS!=0.0)_jb3*=_b93._FS;var _ml3=_b93._6W;if(_jb3<0.0){_ml3=-_ml3;_jb3=-_jb3;}var _yq3=_Eo3._vg1._Ho3(_Eo3._Io3,1.0/_jb3,_Eo3._YT,_b93._4W,_b93._lR,_ml3,_Bl3,_Cl3,true,_b93._6r3);if(!_yq3)return;var _Dl3=1,offset=0;if(_Bl3[1]!=-1)_Dl3=2;if(_Bl3[0]==-1)offset=1;for(var _qk=offset;_qk<_Dl3;_qk++){var _Fl3=_Bl3[_qk];var _Gl3=_Cl3[_qk];var _or3=1;if(_Fl3>_Gl3)_or3=-1;var i=_Fl3;do {var _JN=_Eo3._vg1._aV[i];_Vq3(_JN,_Xq3);if(i==_Gl3)break;i+=_or3;}while(true);}};_4M2.prototype._er3=function(_b93,_Eo3,_Xq3,
_nr3){if(_b93==null)return;if(_Eo3==null)return;if(_Eo3._Bq3._6V==0)return;var _Bl3=[];var _Cl3=[];var _jb3=_Eo3._bg1;if(_Eo3._cg1==_AQ)_jb3/=_nr3;if(_b93._FS!=0.0)_jb3*=_b93._FS;var _ml3=_b93._6W;if(_jb3<0.0){_ml3=-_ml3;_jb3=-_jb3;}var _yq3=_Eo3._Bq3._Ho3(_Eo3._Io3,1.0/_jb3,_Eo3._YT,_b93._4W,_b93._lR,_ml3,_Bl3,_Cl3,true,_b93._6r3);if(!_yq3)return;var _Dl3=1,offset=0;if(_Bl3[1]!=-1)_Dl3=2;if(_Bl3[0]==-1)offset=1;for(var _qk=offset;_qk<_Dl3;_qk++){var _Fl3=_Bl3[_qk];var _Gl3=_Cl3[_qk];var _or3=1;if(_Fl3>_Gl3)_or3=-1;
var i=_Fl3;do {var _JN=_Eo3._Bq3._aV[i];__q3(_JN,_b93);if(i==_Gl3)break;i+=_or3;}while(true);}};function _ZT(_Eo3,_ET,_nr3,_pr3,_Uk3,_Tk3,_Sk3){if(_Eo3==null)return;if(_Eo3._vg1._6V==0)return;var _Bl3=[];var _Cl3=[];var _jb3=_Eo3._bg1;if(_Eo3._cg1==_AQ)_jb3/=_nr3;if(_pr3!=0.0)_jb3*=_pr3;var _ml3=_Uk3;if(_jb3<0.0){_ml3=-_ml3;_jb3=-_jb3;}var _yq3=_Eo3._vg1._Ho3(_Eo3._Io3,1.0/_jb3,_Eo3._YT,_Tk3,_Sk3,_ml3,_Bl3,_Cl3,true);if(!_yq3)return;var _Dl3=1,offset=0;if(_Bl3[1]!=-1)_Dl3=2;if(_Bl3[0]==-1)offset=1;for(var _qk=offset;
_qk<_Dl3;_qk++){var _Fl3=_Bl3[_qk];var _Gl3=_Cl3[_qk];var _or3=1;if(_Fl3>_Gl3)_or3=-1;var i=_Fl3;do {var _JN=_Eo3._vg1._aV[i];_0r3(_JN,_ET);if(i==_Gl3)break;i+=_or3;}while(true);}};_4M2.prototype._ir3=function(){for(var i=0;i<_Sq3.length;i++){var _JN=_Sq3[i]._JN;var _qr3=_JN._Pq[0];for(var _35=0;_35<_qr3._xg1.length;_35++){var map=ds_map_create();g_pBuiltIn.event_data=map;ds_map_add(map,"event_type","sequence event");ds_map_add(map,"element_id",_Sq3[i]._Zq3);ds_map_add(map,"message",_qr3._xg1[_35]);_DS._kr3(_x2,
_WC2);_m2._n2(_WC2,0);ds_map_destroy(map);g_pBuiltIn.event_data=-1;}}};_4M2.prototype._jr3=function(){for(var i=0;i<_Tq3.length;i++){var _JN=_Tq3[i]._JN;var _rr3=_JN._Pq[0];if(_rr3._7q3!=null){_rr3._7q3._8q3.call(_Tq3[i]._f81,_Tq3[i]._f81);}}};function _sr3(){for(var i=0;i<_Uq3.length;i++){var _JN=_Uq3[i]._JN;var _qr3=_JN._Pq[0];for(var _35=0;_35<_qr3._xg1.length;_35++){var map=ds_map_create();g_pBuiltIn.event_data=map;ds_map_add(map,"event_type","sprite event");ds_map_add(map,"element_id",_Uq3[i]._1r3);
ds_map_add(map,"message",_qr3._xg1[_35]);_DS._kr3(_x2,_WC2);_m2._n2(_WC2,0);ds_map_destroy(map);g_pBuiltIn.event_data=-1;}}};function _ST(_Vk3,_tr3){if(_Vk3==null){return false;}var end=_Vk3._YT;var _kb3=false;if(_Vk3._Io3==_Rn3){if(_tr3.headPosition<=0.0){_tr3.headPosition=0.0;if(_tr3._QT<0.0){_kb3=true;_tr3._RT=true;}}else if(_tr3.headPosition>=end){_tr3.headPosition=end;if(_tr3._QT>0.0){_tr3._RT=true;_kb3=true;}}}else if(_Vk3._Io3==_Sn3){if((_tr3.headPosition<0.0)||(_tr3.headPosition>=end)){_kb3=true;
}if(end>0){_tr3.headPosition=_E2(_tr3.headPosition,end);}}else if(_Vk3._Io3==_Tn3){if((_tr3.headPosition<0.0)||(_tr3.headPosition>=end)){if(_tr3.headPosition<0.0){_tr3.headPosition*=-1.0;}var _ur3=(_tr3.headPosition/end);_tr3.headPosition=_E2(_tr3.headPosition,end);if(_ur3&1){_tr3.headPosition=end-_tr3.headPosition;_tr3._QT=-1.0;}else {_tr3._QT=1.0;}_kb3=true;}}return _kb3;}_4M2.prototype._cr3=function(_eS,_Vk3,_97,_Rk3,_vr3,_Pv,_wr3,_Zk3,_Sk3,_Tk3,_Uk3,_xr3){var _1l3=new _Dy();var _yr3=new _Dy();var _zr3=_Rk3;
var _Nk=_Rk3;for(var _lk2=0;_lk2<_Zk3.length;++_lk2){var _Ar3=_Zk3[_lk2];_g81.push(_Ar3);if(!_2l3(_Ar3._dO)&&_Ar3.enabled){var _sb3=_Br3(_vr3,_zr3,_Nk);_Nk=_sb3._Nk;_zr3=_sb3._ok;_Nk._Cr3=_Ar3;var _gg1=_xr3||_Nk.value._Dr3!=_Sk3;if(_gg1){var _Er3=0xffffffff;if(_Nk._Fr3!=null){_Er3=~(_Nk._Fr3.value._qm3&(~(_Nk._Fr3.value._Zp3)));}_Ar3._Sp3(_Sk3,_Vk3._YT,_Nk.value,_Er3);_Nk.value._Dr3=_Sk3;}switch(_Ar3._dO){case _t71:this._Gr3(_Nk,_Nk.value,_97,_Ar3,_zy2,_Uk3,_Tk3,_Sk3,_Vk3._YT);break;case _v71:this._Hr3(_eS,
_Vk3,_97,_Nk.value,_Nk._9l3,_Nk,_Pv,_wr3,_Ar3,_Sk3,_Tk3,_Uk3,false,_gg1);break;}if(_gg1){_Nk.value._973._yA();_vo3(_Nk.value._973,_Nk.value.x,_Nk.value.y,_Nk.value.scaleX,_Nk.value.scaleY,_Nk.value.rotation,_Nk.value.xOrigin,_Nk.value.yOrigin);if(_Nk._Fr3!=null){if((_wr3._Ep3&_no3)==0){_yr3.__z(_Nk._Fr3.value.xOrigin,_Nk._Fr3.value.yOrigin,0);_1l3.Multiply(_Nk.value._973,_yr3);_Nk.value._973._ri(_1l3);}var _Ir3=_Nk._Fr3.value._qm3&~(_Nk.value._qm3);_Nk.value._qm3|=_Nk._Fr3.value._qm3;if(_Nk.value._qm3&(1<<_6o3)){
if(_Ir3&(1<<_6o3)){_Nk.value._ol3[0]=_Nk._Fr3.value._ol3[0];_Nk.value._ol3[1]=_Nk._Fr3.value._ol3[1];_Nk.value._ol3[2]=_Nk._Fr3.value._ol3[2];_Nk.value._ol3[3]=_Nk._Fr3.value._ol3[3];}else {_Nk.value._ol3[0]*=_Nk._Fr3.value._ol3[0];_Nk.value._ol3[1]*=_Nk._Fr3.value._ol3[1];_Nk.value._ol3[2]*=_Nk._Fr3.value._ol3[2];_Nk.value._ol3[3]*=_Nk._Fr3.value._ol3[3];}}if(_Nk.value._qm3&(1<<_5o3)){if(_Ir3&(1<<_5o3)){_Nk.value._pl3[0]=_Nk._Fr3.value._pl3[0];_Nk.value._pl3[1]=_Nk._Fr3.value._pl3[1];_Nk.value._pl3[2]=_Nk._Fr3.value._pl3[2];
_Nk.value._pl3[3]=_Nk._Fr3.value._pl3[3];}else {_Nk.value._pl3[0]+=_Nk._Fr3.value._pl3[0];_Nk.value._pl3[1]+=_Nk._Fr3.value._pl3[1];_Nk.value._pl3[2]+=_Nk._Fr3.value._pl3[2];_Nk.value._pl3[3]+=_Nk._Fr3.value._pl3[3];}}if(_Nk.value._qm3&(1<<_2o3)){if(_Ir3&(1<<_2o3)){_Nk.value.gain=_Nk._Fr3.value.gain;}else {_Nk.value.gain*=_Nk._Fr3.value.gain;}}if(_Nk.value._qm3&(1<<_3o3)){if(_Ir3&(1<<_3o3)){_Nk.value.pitch=_Nk._Fr3.value.pitch;}else {_Nk.value.pitch*=_Nk._Fr3.value.pitch;}}if(_Nk.value._qm3&(1<<_4o3)){
if(_Ir3&(1<<_4o3)){_Nk.value._1q3=_Nk._Fr3.value._1q3;}else {_Nk.value._1q3*=_Nk._Fr3.value._1q3;}}if(_Nk.value._qm3&(1<<_il3)){if(_Ir3&(1<<_il3)){_Nk.value.imageSpeed=_Nk._Fr3.value.imageSpeed;}else {_Nk.value.imageSpeed*=_Nk._Fr3.value.imageSpeed;}}if(_Nk.value._qm3&(1<<_ll3)){if(_Ir3&(1<<_ll3)){_Nk.value.imageIndex=_Nk._Fr3.value.imageIndex;}else {_Nk.value.imageIndex+=_Nk._Fr3.value.imageIndex;}}}}var _9r3=new _Dy();_9r3._ri(_Pv);_1l3.Multiply(_Nk.value._973,_Pv);_Pv._ri(_1l3);switch(_Ar3._dO){case _v71:this._Hr3(_eS,
_Vk3,_97,_Nk.value,_Nk._9l3,_Nk,_Pv,_wr3,_Ar3,_Sk3,_Tk3,_Uk3,true,_gg1);break;case _w71:this._Jr3(_eS,_Vk3,_97,_Nk.value,_Pv,_Ar3,_Sk3,_Tk3,_Uk3);break;case _u71:this._Kr3(_eS,_Vk3,_97,_Nk.value,_Pv,_Ar3,_Sk3,_Tk3);break;case _181:this._Lr3(_eS,_Vk3,_97,_Nk.value,_Pv,_Ar3,_Sk3,_Tk3);break;}if(_Ar3._TT.length>0){this._cr3(_eS,_Vk3,_97,_Nk._9l3,_Nk,_Pv,_Ar3,_Ar3._TT,_Sk3,_Tk3,_Uk3,_gg1);}_Pv._ri(_9r3);}_g81.pop();}};_4M2.prototype._Gr3=function(_6e2,_Mr3,_97,_v2,_nr3,_Bo3,_Ao3,_Sk3,_Po3){_Mr3.spriteIndex=-1;
var keyframeStore=_v2._WT;var _VT=keyframeStore._XT(_Sk3,_Po3);if(_VT==null)return;var spriteIndex=_VT._Pq[0]._7R;_Mr3.spriteIndex=spriteIndex;var _OT=_H4.Sprites[spriteIndex];if(!_Mr3._hl3(_co3))_Mr3.xOrigin+=_OT.xOrigin;if(!_Mr3._hl3(_do3))_Mr3.yOrigin+=_OT.yOrigin;_Nr3(_6e2,_v2,_97,_nr3,_Sk3,_Ao3,_Bo3,_OT.sequence,_OT,_VT,keyframeStore);};function _Nr3(_6e2,_v2,_j6,_nr3,_Sk3,_Tk3,_Uk3,_Vk3,_u2,_Or3,_Pr3){if(_Vk3===null){return;}if(_6e2.value._hl3(_ll3))return;var _al3=_Pr3._bl3(_Sk3,_Vk3._YT);if(_al3==-1){
return;}var _A63=0;var _OT=_u2;if(_OT._H3()>1){var _cl3=Math.max(_Sk3,_Or3._bV);_cl3=Math.min(_cl3,_Or3._bV+_Pr3._dl3(_al3,_Vk3._YT));var _el3=_cl3-_Or3._bV;var _fl3=1.0;var _gl3=_OT.sequence;if(_gl3!=null){if(_gl3._cg1==_AQ){_fl3=_gl3._bg1/_Vk3._bg1;}else {_fl3=_gl3._bg1*(_B2._C2()/_Vk3._bg1);}}else if(_OT.playbackspeed!=0.0){if(_OT.playbackspeedtype==_AQ){_fl3=_OT.playbackspeed/_Vk3._bg1;}else {_fl3=_OT.playbackspeed;}}_el3*=_fl3;if(_6e2.value._hl3(_il3)){var _jl3=_6e2.value._kl3;if(_jl3>=0)_el3=_jl3*_fl3;
}if(_gl3!=null){var _ml3=1.0;if(_Tk3>_Sk3){_ml3=-1.0;}var _45={headPosition:_el3,_QT:_ml3,_RT:false};_ST(_gl3,_45);_el3=_45.headPosition;_ml3=_45._QT;if((_gl3._TT!=null)&&(_gl3._TT[0]._dO==_UT)){_ZT(_Vk3,_j6.id,_nr3,_Vk3.playbackSpeed,_Uk3,_Tk3,_el3);}}}}_4M2.prototype._Hr3=function(_eS,_Eo3,_Ls,_Mr3,_Qr3,_vr3,_Pv,_Rr3,_Do3,_zo3,_Ao3,_Bo3,_Sr3,_xr3){_Mr3._Tr3=-1;_Mr3._Mq3=null;var keyframeStore=_Do3._WT;var _Bl3=[];var _Cl3=[];var _yq3=_yo3(_zo3,_Ao3,_Bo3,1.0,_Do3,_Eo3,_Bl3,_Cl3);if(_yq3){var _Dl3=1,offset=0;
if(_Bl3[1]!=-1)_Dl3=2;if(_Bl3[0]==-1)offset=1;for(var _qk=offset;_qk<_Dl3;_qk++){var _Fl3=_Bl3[_qk];var _Gl3=_Cl3[_qk];for(var i=_Fl3;i<=_Gl3;i++){var _JN=keyframeStore._aV[i];var _Hl3=_JN._Pq[0];var _Il3=_Hl3._7F;var _Jl3=_DS._UV(_Il3);if(_Jl3==null)continue;_g81.push(_JN);_g81.push(_Hl3);_g81.push(_Jl3);{var _1i;if(_JN._Kl3){if(i>=keyframeStore._6V-1)_1i=_Eo3._YT-_JN._bV;else _1i=keyframeStore._aV[i+1]._bV-_JN._bV;}else _1i=_JN._YT;if((Math.floor(_zo3)>=_JN._bV)&&(Math.floor(_zo3)<(_JN._bV+_1i))){if(!_Sr3){
if(!_Mr3._hl3(_co3))_Mr3.xOrigin+=_Jl3._Mk3;if(!_Mr3._hl3(_do3))_Mr3.yOrigin+=_Jl3._Nk3;_g81.pop();_g81.pop();_g81.pop();continue;}_Mr3._Tr3=_Il3;_Mr3._Mq3=_Jl3;var _cl3=_L5(_zo3,_JN._bV);var _Ll3=_L5(_Ao3,_JN._bV);_cl3=_M5(_cl3,_JN._bV+_1i);_Ll3=_M5(_Ll3,_JN._bV+_1i);var _el3=_cl3-_JN._bV;var _Ml3=_Ll3-_JN._bV;var _fl3=1.0;if(_Eo3._bg1!=0.0){if(_Eo3._cg1==_AQ)_fl3=_Jl3._bg1/_Eo3._bg1;else _fl3=_Jl3._bg1;}_el3*=_fl3;_Ml3*=_fl3;var _ml3=1.0;if(_Ao3>_zo3)_ml3=-1.0;var _45={headPosition:_el3,_QT:_ml3,_RT:false}
;_ST(_Jl3,_45);_el3=_45.headPosition;_ml3=_45._QT;this._cr3(_eS,_Jl3,_Ls,_Qr3,_vr3,_Pv,_Do3,_Jl3._TT,_el3,_Ml3,_ml3,_xr3);}}_g81.pop();_g81.pop();_g81.pop();}}}};_4M2.prototype._Jr3=function(_Ur3,_Eo3,_Ls,_Mr3,_Pv,_Do3,_zo3,_Ao3,_Bo3){_Mr3._tg3=-1;_Mr3.soundIndex=-1;var keyframeStore=_Do3._WT;if(keyframeStore==null)return;var _Vr3=_Pv._z5[12];var _Wr3=_Pv._z5[13];var gain=_Mr3.gain*_Ls._Aq3*_Eo3._Aq3;var pitch=_Mr3.pitch;var _1q3=_Mr3._1q3;var _Xr3=keyframeStore._bl3(_zo3,_Eo3._YT);var _5V=keyframeStore._6V;
if((_Ls._8W)||(_Ls._lJ)){_Xr3=-1;}for(var i=0;i<_5V;i++){var _Yr3=keyframeStore._aV[i];if(_Yr3!=null){_g81.push(_Yr3);for(var _8m3 in _Yr3._Pq){var _Zr3=_Yr3._Pq[_8m3];_g81.push(_Zr3);var __r3=_Ls._0s3[_cm3(_g81)];if(__r3!=null){if(i!=_Xr3){if(__r3._1s3!=-1){audio_stop_sound(__r3._1s3);__r3._1s3=-1;}}else {if(__r3._1s3!=-1){if(((__r3._2s3*_Bo3)<=0)||(((_zo3-_Ao3)*__r3._2s3)<=0)){audio_stop_sound(__r3._1s3);__r3._1s3=-1;}}if(__r3._1s3==-1){__r3._2s3=_Bo3;__r3._1s3=audio_play_sound_on(__r3._3s3,_Zr3._cq3,
(_Zr3._eq3==_Mn3)?true:false,1.0);var _4s3;if(__r3._2s3>0){_4s3=_zo3-_Yr3._bV;}else {_4s3=(_Yr3._bV+(_Yr3._YT-1))-_zo3;if(_4s3<0.0)_4s3=0.0;}if((_Eo3._bg1*_Ls._5s3)>0.0){_4s3/=(_Eo3._bg1*_Ls._5s3);;}audio_sound_set_track_position(__r3._1s3,_4s3);}if(__r3._1s3!=-1&&audio_emitter_exists(__r3._3s3)===true){audio_emitter_gain(__r3._3s3,gain);audio_emitter_pitch(__r3._3s3,pitch);audio_emitter_position(__r3._3s3,_Vr3,_Wr3,0.0);}_Mr3._tg3=__r3._3s3;_Mr3.soundIndex=__r3._1s3;}}_g81.pop();}_g81.pop();}}};_4M2.prototype._Kr3=function(_Ur3,
_Eo3,_Ls,_Mr3,_Pv,_Do3,_zo3,_Ao3){_Mr3._NU=_Os;var keyframeStore=_Do3._WT;if(keyframeStore==null)return;var _yl3=Math.atan2(_Pv._z5[1],_Pv._z5[0])*-(180/Math.PI);var _vl3=Math.sqrt((_Pv._z5[0]*_Pv._z5[0])+(_Pv._z5[1]*_Pv._z5[1]));var _wl3=Math.sqrt((_Pv._z5[4]*_Pv._z5[4])+(_Pv._z5[5]*_Pv._z5[5]));var _zl3=_Pv._z5[12];var _Al3=_Pv._z5[13];var _6s3=[];_6s3[0]=_Pv._z5[0];_6s3[1]=_Pv._z5[1];var _7s3=[];_7s3[0]=_Pv._z5[4];_7s3[1]=_Pv._z5[5];var _8s3=(_6s3[0]*_7s3[1])-(_6s3[1]*_7s3[0]);if(_8s3<0.0){if(Math.abs(_yl3-_Mr3.rotation)>0.0001){
_vl3*=-1.0;_yl3-=180.0;}else {_wl3*=-1.0;}}var _Xr3=keyframeStore._bl3(_zo3,_Eo3._YT);var _5V=keyframeStore._6V;for(var i=0;i<_5V;i++){var _JN=keyframeStore._aV[i];if(_JN!=null){_g81.push(_JN);for(var _8m3 in _JN._Pq){var _9m3=_JN._Pq[_8m3];_g81.push(_9m3);var _am3=_Ls._bm3[_cm3(_g81)];if(_am3!=null){var _5t=_Lm._cb3(_am3._NU);if(_5t!=null){_5t._793(true);_5t._c93(true);_5t._a93(_Ls);if(i!=_Xr3){if(_5t.visible==true)_5t.visible=false;}else {_Mr3._NU=_5t.id;if(_5t.visible==false)_5t.visible=true;if((_Mr3._qm3&(1<<_ZV))||(_Ur3._oR&(1<<_ZV))||(_Ur3._cO._pO!=0.0)||(_Ur3._cO._rO!=0.0)){
_5t.x=_zl3;_5t.y=_Al3;}if((_Mr3._qm3&(1<<_0W))||(_Ur3._oR&(1<<_0W))){_5t.image_angle=_yl3;}if((_Mr3._qm3&(1<<_1W))||(_Ur3._oR&(1<<_1W))){_5t.image_xscale=_vl3;_5t.image_yscale=_wl3;}if((_Mr3._qm3&(1<<_6o3))||((_Ur3._gR&0x00ffffff)!=0xffffff)||(_Ur3._hR!=1.0)){var _q3=0;if((_Ur3._gR&0x00ffffff)!=0xffffff){var _i3=(_Ur3._gR&0xff)/255.0;var _j3=((_Ur3._gR>>8)&0xff)/255.0;var _k3=((_Ur3._gR>>16)&0xff)/255.0;_q3=((_Mr3._ol3[0]*_i3*255.0)&0xff);_q3|=((_Mr3._ol3[1]*_j3*255.0)&0xff)<<8;_q3|=((_Mr3._ol3[2]*_k3*255.0)&0xff)<<16;
}else {_q3=((_Mr3._ol3[0]*255.0)&0xff);_q3|=((_Mr3._ol3[1]*255.0)&0xff)<<8;_q3|=((_Mr3._ol3[2]*255.0)&0xff)<<16;}_5t.image_blend=_q3;_5t.image_alpha=_Mr3._ol3[3]*_Ur3._hR;}if(_Mr3._qm3&(1<<_il3)){_5t.image_speed=_Mr3.imageSpeed;}if(_Mr3._qm3&(1<<_ll3)){_5t.image_index=_Mr3.imageIndex;}else if(_Mr3._qm3&(1<<_il3)){var _OT=_H4._I4(_5t.sprite_index);if(_OT!=null){var _fl3=1.0;var _gl3=_OT.sequence;if(_gl3!=null){if(_gl3._cg1==_AQ)_fl3=_gl3._bg1/_Eo3._bg1;else _fl3=_gl3._bg1*(_B2._C2()/_Eo3._bg1);var _jl3=_Mr3._kl3;
if(_jl3>=0){_el3=_jl3*_fl3;var _ml3=1.0;if(_Ao3>_zo3)_ml3=-1.0;var _45={headPosition:_el3,_QT:_ml3,_RT:false};_ST(_gl3,_45);_el3=_45.headPosition;_ml3=_45._QT;if((_gl3._TT!=null)&&(_gl3._TT[0]._dO==_UT)){var _Q2=_gl3._TT[0];var _nl3=_Q2._WT._XT(_el3,_gl3._YT);var _A63;if(_nl3==null)_A63=-1;else _A63=_nl3._Pq[0]._cR;_5t.image_index=_A63;}}}}}}}}_g81.pop();}_g81.pop();}}};_4M2.prototype._Lr3=function(_Ur3,_Eo3,_Ls,_Mr3,_Pv,_Do3,_zo3,_Ao3){var _aV=_Do3._WT;var _dm3=null;var index=_aV._bl3(_zo3,_Eo3._YT);if(index!=-1){
var _em3=_aV._aV[index];if(_em3!=null){_dm3=_em3._Pq[0];}}if(_dm3){var _jm3=_Ls._im3[_Do3.id];var _Rp=(_jm3!==undefined)?_jm3:-1;if(_Rp!=-1){_Zh3(_Rp,_Pv);if(_Ls._6r3){var _lh3=_q01[_Rp];var _Xh3=_lh3.emitters;if(_Xh3){for(var i=0;i<_Xh3.length;i++){var emitter=_Xh3[i];_yh3(emitter);if(emitter._8m&&emitter.enabled&&emitter.mode==_Kf3&&emitter._bg3<=0.0){_6p(_Rp,i,emitter._Q01,emitter._bk);}}}}_z11(_Rp);}}};/*@constructor */function _e81(_nf){_eU2.call(this);this.__type="[SequenceInstance]";this.id=_nf;this._Fk3=null;
this._jR=-1;this._lR=0.0;this._6W=1.0;this._FS=1.0;this._Aq3=1.0;this._lJ=false;this._8W=false;this._5r3=false;this._6r3=false;this._4W=0.0;this._0s3={};this._bm3={};this._im3={};this._gm3={};this._9s3=-1;Object.defineProperties(this,{gmlsequence:{enumerable:true,get :function(){return _DS._UV(this._jR);},set :function(_F2){if(typeof(_F2)=="object"){this._jR=_DS.Sequences.indexOf(_F2);}else {this._jR=_F2;}}},gmlheadPosition:{enumerable:true,get :function(){return this._lR;},set :function(_F2){var _F2=yyGetReal(_F2);
_F2=_L5(_F2,0.0);var _2W=_DS._UV(this._jR);if(_2W!=null){var length=_2W._YT;_F2=_M5(_F2,length);}this._lR=_F2;this._4W=_F2;}},gmlheadDirection:{enumerable:true,get :function(){return this._6W;},set :function(_F2){_F2=yyGetReal(_F2);if(_F2!=0){this._6W=Math.sign(_F2);}}},gmlspeedScale:{enumerable:true,get :function(){return this._FS;},set :function(_F2){_F2=yyGetReal(_F2);this._FS=_F2;}},gmlvolume:{enumerable:true,get :function(){return this._Aq3;},set :function(_F2){_F2=yyGetReal(_F2);_F2=_L5(_F2,0.0);this._Aq3=_F2;
}},gmlpaused:{enumerable:true,get :function(){return this._lJ;},},gmlfinished:{enumerable:true,get :function(){return this._8W;},},gmlactiveTracks:{enumerable:true,get :function(){var _as3=[];_bs3=this._Fk3;while(_bs3!=null){_as3.push(_bs3);_bs3=_bs3._JB1;}return _as3;}},gmlelementID:{enumerable:true,get :function(){if(_x2!=null){if(this._9s3!=-1){var _bO=_7t._at(_x2,this._9s3);if((_bO!=null)&&(_bO._dO==_mQ)&&(_bO._kR==this.id)){return this._9s3;}}for(var i=0;i<_x2._kS.length;i++){var layer=_x2._kS._I4(i);for(var _35=0;
_35<layer._RP.length;_35++){var _bO=layer._RP._I4(_35);if(_bO==null)continue;if((_bO._dO==_mQ)&&(_bO._kR==this.id)){this._9s3=_bO._rd;return this._9s3;}}}}else {return -1;}}}});}_e81.prototype._pJ=function(){if(!this._lJ){this._lJ=true;var __r3=null;for(var key in this._0s3){__r3=this._0s3[key];if(audio_is_paused(__r3._1s3)==false){audio_pause_sound(__r3._1s3);}_fr3(false);}}};_e81.prototype._7W=function(){if(this._lJ){this._lJ=false;var __r3=null;for(var key in this._0s3){__r3=this._0s3[key];if(audio_is_paused(__r3._1s3)==true){
audio_resume_sound(__r3._1s3);}}}};_e81.prototype._gr3=function(){var __r3=null;for(var key in this._0s3){__r3=this._0s3[key];audio_stop_sound(__r3._1s3);}this._0s3={};};_e81.prototype._h81=function(_Zk3,_cs3,_WS,_rT){for(var _lk2=0;_lk2<_Zk3.length;++_lk2){var _Q2=_Zk3[_lk2];_g81.push(_Q2);if(_Q2._dO==_u71){var _Iq3=_Q2;if(_Iq3._WT!=null){var _Jq3=_Iq3._WT._6V;for(var i=0;i<_Jq3;i++){var _JN=_Iq3._WT._aV[i];_g81.push(_JN);for(var _8m3 in _JN._Pq){var _9m3=_JN._Pq[_8m3];if(_9m3._bq3!=-1){_g81.push(_9m3);var _am3=this._bm3[_cm3(_g81)];
if((_cs3==_JP)||(_cs3==_9m3._bq3)){if(_am3!=null){if(_am3._ds3==true){var _5t=_Lm._cb3(_am3._NU);if(_5t!=null){_eP(_5t);}}delete this._bm3[_cm3(_g81)];}var _es3=new _fs3();_es3._gs3=_9m3;if(_WS<10000){_es3._hs3=_WS;_es3._ds3=true;}else {_es3._NU=_WS;_es3._ds3=false;}this._bm3[_cm3(_g81)]=_es3;}else {if(_am3==null){var _QY=null;if(_rT==-1){_QY=_zb3(_9m3._bq3,0,0,0,this);}else {_QY=_Bb3(_9m3._bq3,0,0,_rT,this);}if(_QY!=null){var _es3=new _fs3();_es3._gs3=_9m3;_es3._NU=_QY.id;_es3._ds3=true;this._bm3[_cm3(_g81)]=_es3;
}}else if((_am3._hs3!=-1)&&(_am3._NU==-1)){var _QY=null;if(_rT==-1){_QY=_zb3(_am3._hs3,0,0,0,this);}else {_QY=_Bb3(_am3._hs3,0,0,_rT,this);}if(_QY!=null){_am3._NU=_QY.id;}}}_g81.pop();}}_g81.pop();}}}else if(_Q2._dO==_381){var _Kq3=_Q2;this._h81(_Kq3._xp3(),_cs3,_WS,_rT);this._h81(_Kq3._zp3(),_cs3,_WS,_rT);}else if(_Q2._dO==_v71){var _Lq3=_Q2;if(_Lq3._WT!=null){var _Jq3=_Lq3._WT._6V;for(var i=0;i<_Jq3;i++){var _JN=_Lq3._WT._aV[i];_g81.push(_JN);for(var _8m3 in _JN._Pq){var _9m3=_JN._Pq[_8m3];_g81.push(_9m3);if(_9m3._7F!=-1){
var _i71=_DS._UV(_9m3._7F);if(_i71!=null){_g81.push(_i71);this._h81(_i71._TT,_cs3,_WS,_rT);_g81.pop();}}_g81.pop();}_g81.pop();}}}this._h81(_Q2._TT,_cs3,_WS,_rT);_g81.pop();}};_e81.prototype._is3=function(){{for(var key in this._bm3){var _am3=this._bm3[key];if((_am3._ds3==true)&&(_am3._NU>=0)){var _5t=_Lm._cb3(_am3._NU);if(_5t!=null){_eP(_5t);_am3._NU=-1;}}}}};_e81.prototype._7r3=function(_Zk3){for(var _lk2=0;_lk2<_Zk3.length;++_lk2){var _Q2=_Zk3[_lk2];_g81.push(_Q2);if(_Q2._dO==_w71){var _js3=_Q2;if(_js3._WT!=null){
var _Jq3=_js3._WT._6V;for(var i=0;i<_Jq3;i++){var _JN=_js3._WT._aV[i];_g81.push(_JN);for(var _8m3 in _JN._Pq){var _9m3=_JN._Pq[_8m3];if(_9m3._cq3!=-1){_g81.push(_9m3);var __r3=this._0s3[_cm3(_g81)];if(__r3==null){var emitter=audio_emitter_create();if(audio_emitter_exists(emitter)===true){var _ks3=new _ls3();_ks3._3s3=emitter;this._0s3[_cm3(_g81)]=_ks3;}}_g81.pop();}}_g81.pop();}}}else if(_Q2._dO==_381){var _Kq3=_Q2;this._7r3(_Kq3._xp3());this._7r3(_Kq3._zp3());}else if(_Q2._dO==_v71){var _Lq3=_Q2;if(_Lq3._WT!=null){
var _Jq3=_Lq3._WT._6V;for(var i=0;i<_Jq3;i++){var _JN=_Lq3._WT._aV[i];_g81.push(_JN);for(var _8m3 in _JN._Pq){var _9m3=_JN._Pq[_8m3];_g81.push(_9m3);if(_9m3._7F!=-1){var _i71=_DS._UV(_9m3._7F);if(_i71!=null){_g81.push(_i71);this._7r3(_i71._TT);_g81.pop();}}_g81.pop();}_g81.pop();}}}this._7r3(_Q2._TT);_g81.pop();}};_e81.prototype._Oq3=function(){{for(var key in this._bm3){var _am3=this._bm3[key];if(_am3._NU>=0){var _5t=_Lm._cb3(_am3._NU);if(_5t!=null){_5t._793(false);_5t._c93(false);_5t._a93(null);if(_am3._ds3==true){
_eP(_5t);}_am3._NU=-1;}}}}};_e81.prototype._Pq3=function(){{for(var key in this._0s3){var _523=this._0s3[key];if(audio_emitter_exists(_523._3s3)===true){audio_stop_sound(_523._1s3);audio_emitter_free(_523._3s3);_523._3s3=-1;_523._1s3=-1;}}}};_e81.prototype._Qq3=function(){for(var _qk in this._im3){var _Rp=this._im3[_qk];if(_Rp!=-1){_Zn(_Rp);}}this._im3={};this._gm3={};};_e81.prototype._fr3=function(_ms3){{for(var key in this._bm3){var _am3=this._bm3[key];if(_am3._NU>=0){var _5t=_Lm._cb3(_am3._NU);if(_5t!=null){
_5t._793(_ms3);if(_ms3==true){_5t._a93(this);}else {_5t._a93(null);}}}}}};/*@constructor */function _ls3(){this._1s3=-1;this._2s3=1;this._3s3=-1;}/*@constructor */function _ns3(){this._973=new _Dy();this._Dr3=-1;this._os3=0;this._Zp3=0;this._qm3=0;this.x=0;this.y=0;this.rotation=0;this.scaleX=1;this.scaleY=1;this.xOrigin=0;this.yOrigin=0;this.gain=1;this.pitch=1;this._1q3=0;this.imageIndex=0;this.imageSpeed=1;this._kl3=-1;this._ol3=[];this._ol3[0]=1;this._ol3[1]=1;this._ol3[2]=1;this._ol3[3]=1;this._pl3=[];
this._pl3[0]=0;this._pl3[1]=0;this._pl3[2]=0;this._pl3[3]=0;this.spriteIndex=-1;this._NU=_Os;this.particleSystemIndex=-1;this._tg3=-1;this.soundIndex=-1;this._Mq3=null;this._Tr3=-1;this._sm3=0;this._tm3=0;this._vm3=0;this._ym3=0;this._Bm3=0;this._Dm3=new _d23();}_ns3.prototype._Wp3=function(_Vp3){this._Zp3&=_Vp3;};_ns3.prototype._ps3=function(){this.x=0;this.y=0;this.rotation=0;this.scaleX=1;this.scaleY=1;this.xOrigin=0;this.yOrigin=0;this.gain=1;this.pitch=1;this._1q3=0;this.imageIndex=0;this.imageSpeed=1;
this._kl3=-1;this._ol3[0]=1;this._ol3[1]=1;this._ol3[2]=1;this._ol3[3]=1;this._pl3[0]=0;this._pl3[1]=0;this._pl3[2]=0;this._pl3[3]=0;this._sm3=0;this._tm3=0;this._vm3=0;this._ym3=0;this._Bm3=0;this._Zp3=0;this._qm3=0;};_ns3.prototype._Xp3=function(){this._os3=0;};_ns3.prototype._2q3=function(_v2,_Zm){switch(_v2){case _co3:if(_Zm)this._os3|=(1<<0);else this._os3&=~(1<<0);break;case _do3:if(_Zm)this._os3|=(1<<1);else this._os3&=~(1<<1);break;case _il3:if(_Zm)this._os3|=(1<<2);else this._os3&=~(1<<2);break;
case _ll3:if(_Zm)this._os3|=(1<<3);else this._os3&=~(1<<3);break;}};_ns3.prototype._hl3=function(_v2){switch(_v2){case _co3:return(this._os3&(1<<0))!=0;case _do3:return(this._os3&(1<<1))!=0;case _il3:return(this._os3&(1<<2))!=0;case _ll3:return(this._os3&(1<<3))!=0;}};/*@constructor */function _qs3(_9l1){_eU2.call(this);this.__type="[TrackEvalNode]";this._Cr3=null;this.value=new _ns3();this._Fr3=_9l1!==undefined?_9l1:null;this._JB1=null;this._9l3=null;Object.defineProperties(this,{gmlmatrix:{enumerable:true,
get :function(){var _rs3=new _Dy();_rs3._ri(this.value._973);return _rs3._z5;},set :function(_F2){if((_F2 instanceof Array||_F2 instanceof Float32Array)&&_F2.length==16){this.value._973._yA();for(var i=0;i<16;++i){this.value._973._z5[i]=yyGetReal(_F2[i]);}}else {throw new Error("value must be an array of numbers and of length 16");}}},gmlposx:{enumerable:true,get :function(){return this.value.x;},set :function(_F2){this.value.x=yyGetReal(_F2);this.value._973._yA();_vo3(this.value._973,this.value.x,this.value.y,
this.value.scaleX,this.value.scaleY,this.value.rotation,this.value.xOrigin,this.value.yOrigin);}},gmlposy:{enumerable:true,get :function(){return this.value.y;},set :function(_F2){this.value.y=yyGetReal(_F2);this.value._973._yA();_vo3(this.value._973,this.value.x,this.value.y,this.value.scaleX,this.value.scaleY,this.value.rotation,this.value.xOrigin,this.value.yOrigin);}},gmlrotation:{enumerable:true,get :function(){return this.value.rotation;},set :function(_F2){this.value.rotation=yyGetReal(_F2);this.value._973._yA();
_vo3(this.value._973,this.value.x,this.value.y,this.value.scaleX,this.value.scaleY,this.value.rotation,this.value.xOrigin,this.value.yOrigin);}},gmlscalex:{enumerable:true,get :function(){return this.value.scaleX;},set :function(_F2){this.value.scaleX=yyGetReal(_F2);this.value._973._yA();_vo3(this.value._973,this.value.x,this.value.y,this.value.scaleX,this.value.scaleY,this.value.rotation,this.value.xOrigin,this.value.yOrigin);}},gmlscaley:{enumerable:true,get :function(){return this.value.scaleY;},set :function(_F2){
this.value.scaleY=yyGetReal(_F2);this.value._973._yA();_vo3(this.value._973,this.value.x,this.value.y,this.value.scaleX,this.value.scaleY,this.value.rotation,this.value.xOrigin,this.value.yOrigin);}},gmlxorigin:{enumerable:true,get :function(){return this.value.xOrigin;},set :function(_F2){this.value.xOrigin=yyGetReal(_F2);this.value._2q3(_co3,true);this.value._973._yA();_vo3(this.value._973,this.value.x,this.value.y,this.value.scaleX,this.value.scaleY,this.value.rotation,this.value.xOrigin,this.value.yOrigin);
}},gmlyorigin:{enumerable:true,get :function(){return this.value.yOrigin;},set :function(_F2){this.value.yOrigin=yyGetReal(_F2);this.value._2q3(_do3,true);this.value._973._yA();_vo3(this.value._973,this.value.x,this.value.y,this.value.scaleX,this.value.scaleY,this.value.rotation,this.value.xOrigin,this.value.yOrigin);}},gmlgain:{enumerable:true,get :function(){return this.value.gain;},set :function(_F2){this.value.gain=yyGetReal(_F2);}},gmlpitch:{enumerable:true,get :function(){return this.value.pitch;}
,set :function(_F2){this.value.pitch=yyGetReal(_F2);}},gmlfalloff:{enumerable:true,get :function(){return this.value._1q3;},set :function(_F2){this.value._1q3=yyGetInt32(_F2);}},gmlimageindex:{enumerable:true,get :function(){return this.value.imageIndex;},set :function(_F2){this.value.imageIndex=yyGetInt32(_F2);this.value._2q3(_ll3,true);}},gmlimagespeed:{enumerable:true,get :function(){return this.value.imageSpeed;},set :function(_F2){this.value.imageSpeed=yyGetReal(_F2);this.value._2q3(_il3,true);}},gmlcolormultiply:{
enumerable:true,get :function(){_ss3=[];_ss3[0]=yyGetReal(this.value._ol3[3]);_ss3[1]=yyGetReal(this.value._ol3[0]);_ss3[2]=yyGetReal(this.value._ol3[1]);_ss3[3]=yyGetReal(this.value._ol3[2]);return _ss3;},set :function(_F2){if(_F2 instanceof Array){this.value._ol3[0]=yyGetReal(_F2[1]);this.value._ol3[1]=yyGetReal(_F2[2]);this.value._ol3[2]=yyGetReal(_F2[3]);this.value._ol3[3]=yyGetReal(_F2[0]);}else {var _q3=yyGetInt32(_F2);this.value._ol3[0]=(_q3&0xff)/255.0;this.value._ol3[1]=((_q3>>8)&0xff)/255.0;this.value._ol3[2]=((_q3>>16)&0xff)/255.0;
this.value._ol3[3]=((_q3>>24)&0xff)/255.0;}}},gmlcolourmultiply:{enumerable:true,get :function(){_ss3=[];_ss3[0]=yyGetReal(this.value._ol3[3]);_ss3[1]=yyGetReal(this.value._ol3[0]);_ss3[2]=yyGetReal(this.value._ol3[1]);_ss3[3]=yyGetReal(this.value._ol3[2]);return _ss3;},set :function(_F2){if(_F2 instanceof Array){this.value._ol3[0]=yyGetReal(_F2[1]);this.value._ol3[1]=yyGetReal(_F2[2]);this.value._ol3[2]=yyGetReal(_F2[3]);this.value._ol3[3]=yyGetReal(_F2[0]);}else {var _q3=yyGetInt32(_F2);this.value._ol3[0]=(_q3&0xff)/255.0;
this.value._ol3[1]=((_q3>>8)&0xff)/255.0;this.value._ol3[2]=((_q3>>16)&0xff)/255.0;this.value._ol3[3]=((_q3>>24)&0xff)/255.0;}}},gmlcoloradd:{enumerable:true,get :function(){_ss3=[];_ss3[0]=yyGetReal(this.value._pl3[3]);_ss3[1]=yyGetReal(this.value._pl3[0]);_ss3[2]=yyGetReal(this.value._pl3[1]);_ss3[3]=yyGetReal(this.value._pl3[2]);return _ss3;},set :function(_F2){if(_F2 instanceof Array){this.value._pl3[0]=yyGetReal(_F2[1]);this.value._pl3[1]=yyGetReal(_F2[2]);this.value._pl3[2]=yyGetReal(_F2[3]);this.value._pl3[3]=yyGetReal(_F2[0]);
}else {var _q3=yyGetInt32(_F2);this.value._pl3[0]=(_q3&0xff)/255.0;this.value._pl3[1]=((_q3>>8)&0xff)/255.0;this.value._pl3[2]=((_q3>>16)&0xff)/255.0;this.value._pl3[3]=((_q3>>24)&0xff)/255.0;}}},gmlcolouradd:{enumerable:true,get :function(){_ss3=[];_ss3[0]=yyGetReal(this.value._pl3[3]);_ss3[1]=yyGetReal(this.value._pl3[0]);_ss3[2]=yyGetReal(this.value._pl3[1]);_ss3[3]=yyGetReal(this.value._pl3[2]);return _ss3;},set :function(_F2){if(_F2 instanceof Array){this.value._pl3[0]=yyGetReal(_F2[1]);this.value._pl3[1]=yyGetReal(_F2[2]);
this.value._pl3[2]=yyGetReal(_F2[3]);this.value._pl3[3]=yyGetReal(_F2[0]);}else {var _q3=yyGetInt32(_F2);this.value._pl3[0]=(_q3&0xff)/255.0;this.value._pl3[1]=((_q3>>8)&0xff)/255.0;this.value._pl3[2]=((_q3>>16)&0xff)/255.0;this.value._pl3[3]=((_q3>>24)&0xff)/255.0;}}},gmlspriteIndex:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_t71)){return this.value.spriteIndex;}else {return -1;}}},gmlinstanceID:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_u71)){return this.value._NU;
}else {return _Os;}}},gmlemitterIndex:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_w71)){return this.value._tg3;}else {return -1;}}},gmlsoundIndex:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_w71)){return this.value.soundIndex;}else {return -1;}}},gmlsequence:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_v71)){return this.value._Mq3;}else {return -1;}}},gmlsequenceID:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_v71)){
return this.value._Tr3;}else {return -1;}}},gmlframeSizeX:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){return this.value._sm3;}else {return -1;}},set :function(_F2){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){this.value._sm3=yyGetReal(_F2);}}},gmlframeSizeY:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){return this.value._tm3;}else {return -1;}},set :function(_F2){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){this.value._tm3=yyGetReal(_F2);}}},gmlcharacterSpacing:{
enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){return this.value._vm3;}else {return -1;}},set :function(_F2){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){this.value._vm3=yyGetReal(_F2);}}},gmllineSpacing:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){return this.value._ym3;}else {return -1;}},set :function(_F2){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){this.value._ym3=yyGetReal(_F2);}}},gmlparagraphSpacing:{enumerable:true,get :function(){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){
return this.value._Bm3;}else {return -1;}},set :function(_F2){if((this._Cr3!=null)&&(this._Cr3._dO==_F71)){this.value._Bm3=yyGetReal(_F2);}}},gmltrack:{enumerable:true,get :function(){return this._Cr3;}},gmlparent:{enumerable:true,get :function(){return this._Fr3;}},gmlactiveTracks:{enumerable:true,get :function(){var _as3=[];_bs3=this._9l3;while(_bs3!=null){_as3.push(_bs3);_bs3=_bs3._JB1;}return _as3;}},});}function _Br3(_vr3,_ts3,_us3){var _sb3={};if(_ts3==null){var _Nk=new _qs3();if(_us3==null){if(_vr3 instanceof _e81){
_vr3._Fk3=_Nk;}else {_vr3._9l3=_Nk;}}else {_us3._JB1=_Nk;}if(_vr3 instanceof _e81){_Nk._Fr3=null;}else {_Nk._Fr3=_vr3;}_sb3._Nk=_Nk;_sb3._ok=null;}else {_sb3._Nk=_ts3;_sb3._ok=_ts3._JB1;}return _sb3;}/*@constructor */function _fs3(){this._gs3=null;this._hs3=-1;this._NU=-1;this._ds3=false;};var _Ma1=[];function _vs3(_ws3){}function _xs3(_jl1){try{var _ys3=new Audio();if(_ys3.canPlayType('audio/mpeg')=="probably")_jl1(true);_ys3.addEventListener('canplaythrough',function(e){_jl1(true);},false);_ys3.addEventListener('error',
function(e){_jl1(false,this.error);},false);_ys3.src="data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";_ys3.load();}catch(e){_jl1(false,e);}}/*@constructor */function _zs3(){this.__type="[sound]";this.pName="";this.kind=0;this.extension="";this.origName="";this.effects=0;this.volume=1;this.pan=0;this.preload=true;this._As3=1.0;this._1s3=0;this._8f1=[];}_zs3.prototype._Bs3=function(_dU2){this.pName=_dU2.pName;this.kind=_dU2.kind;
this.extension=_dU2.extension;this.origName=_dU2.origName;this.effects=_dU2.effects;this.volume=_dU2.volume;this.pan=_dU2.pan;this.preload=_dU2.preload;this._As3=this.volume;this._Bd1(this.pName);};_zs3.prototype._Bd1=function(_lm){this._1s3=0;this._8f1=[];var _Cs3=_Ma1[this.pName];if(_Cs3){if(_4K2>1&&typeof _Cs3.cloneNode==="function"){for(var i=0;i<_4K2;i++)this._8f1[i]=_Cs3.cloneNode(true);}else {_4K2=1;this._8f1[0]=_Cs3;}}};var _Ds3=false;function _5f1(_sq,_nf,_gd1,_EM,_Ht2){_sq=_Hb1(_sq);if(_od1==false){
return undefined;}var _Es3=false;var pName=_sq;var _Ib1;var index;index=_sq.indexOf(_gd1);if(index>0){_sq=_sq.substr(0,index);}if(_Jb1){_gd1="ogg";}else if(_Kb1){_gd1="mp3";}else {_gd1="ogg";}_Es3=true;if(_Es3){_sq=_sq+"."+_gd1;try{var _om=new Audio();_om.URL=_sq;_om._As3=1.0;_om.autobuffer=true;if(typeof _om.loop=='boolean')_om.loop=false;_om.preload='auto';_om._jM2=false;_om._Fs3=false;var _Lj=document.createElement('source');_Lj.setAttribute("src",_sq);if(_gd1=="ogg"){_Lj.setAttribute("type",'audio/ogg');
_Lj.setAttribute("codecs",'vorbis');}else {_Lj.setAttribute("type",'audio/mpeg');}_om.setAttribute("networkState",0);_om.insertBefore(_Lj,null);document.body.appendChild(_om);_Ma1[pName]=_om;_om.addEventListener('canplaythrough',_EM,false);_om.addEventListener('error',_Ht2,false);_om.addEventListener("loadstart",_gM2,false);_om.addEventListener("suspend",_hM2,false);_om.addEventListener("stalled",_iM2,false);_om.addEventListener("stall",_iM2,false);_om.load();}catch(e){if(_YM==_pE2&&_Ds3==false){
var _Gs3=navigator;_Ds3=true;var _Hs3=_Gs3.userAgent.indexOf("Windows");if(_Hs3!=-1){alert("Audio Error: Please ensure that quicktime is installed");}}}}return _nf;}/*@constructor */function __L2(){this.Sounds=[];this.length=0;}__L2.prototype._Pk=function(_N2){if(this.Sounds[_N2]){this._Mp(_N2);this.Sounds[_N2]=undefined;}};/*@this {yySound} */function _Is3(){this._Fs3=false;}__L2.prototype._Js3=function(_N2){try{var _Ks3=this.Sounds[_N2];if(!_Ks3)return null;var _Ls3=_Ks3._8f1[this.Sounds[_N2]._1s3];this.Sounds[_N2]._1s3++;
if(this.Sounds[_N2]._1s3>=_4K2){this.Sounds[_N2]._1s3=0;}return _Ls3;}catch(e){debug("Sound buffer unavailable for sound: "+_N2);}return null;};__L2.prototype._rm=function(_N2){var _Ks3=this._Js3(_N2);if(_Ks3!=null){try{if(_Ks3._Fs3)return;var buffered=_Ks3.buffered;var _Ms3=_Ks3.buffered.length;var i;for(i=0;i<_Ms3;i++){var start=_Ks3.buffered.start(i);var end=_Ks3.buffered.end(i);}_Ks3.removeEventListener('ended',_Ns3,false);_Ks3.removeEventListener('ended',_Is3,false);if(typeof _Ks3.loop=='boolean'){_Ks3.loop=false;
}try{if(_Ks3.currentTime!=0){_Ks3.currentTime=0;}}catch(_fj){if(_dd1)debug("Error setting current sound time: "+this.Sounds[_N2].pName);}_Ks3.volume=this.Sounds[_N2]._As3*_NK2;_Ks3.addEventListener('ended',_Is3,false);_Ks3._Fs3=true;_Ks3.play();}catch(_fj){if(_dd1)debug("Error playing sound: "+this.Sounds[_N2].pName);}}};__L2.prototype._Mp=function(_sc){{var _Os3=this.Sounds[_sc];if(!_Os3)return;_Os3=_Os3._8f1;for(var i=0;i<_Os3.length;i++){var _Ks3=_Os3[i];if(_Ks3!=null){try{_Ks3.pause();_Ks3._Fs3=false;
}catch(_fj){if(_dd1)debug("Error stopping sound: "+this.Sounds[_sc].pName);}}}}};__L2.prototype._Te1=function(){for(var _Ps3=0;_Ps3<this.Sounds.length;_Ps3++){if(this.Sounds[_Ps3]){var _Os3=this.Sounds[_Ps3]._8f1;for(var i=0;i<_Os3.length;i++){var _Ks3=_Os3[i];if(_Ks3!=null){try{_Ks3.pause();_Ks3._Fs3=false;}catch(_fj){if(_dd1)debug("Error stopping sound: "+_Ks3.pName);}}}}}};__L2.prototype._Ye1=function(_Qs3){_NK2=_Qs3;for(var _Ps3=0;_Ps3<this.Sounds.length;_Ps3++){if(this.Sounds[_Ps3]){var _Os3=this.Sounds[_Ps3]._8f1;
for(var i=0;i<_Os3.length;i++){var _Ks3=_Os3[i];if(_Ks3!=null){try{_Ks3.volume=_Ks3._As3*_NK2;}catch(_fj){if(_dd1)debug("Error setting volume: "+this.Sounds[_Ps3].pName);}}}}}};/*@this {yySound} */function _Ns3(){try{this.currentTime=0;}catch(_fj){if(_dd1)debug("Error in Repeat_Sound_Callback: "+_fj.message);}this.play();}__L2.prototype._qm=function(_N2){var _Ks3=this._Js3(_N2);if(_Ks3!=null){try{if(typeof _Ks3.loop=='boolean'){_Ks3.loop=true;}else {_Ks3.removeEventListener('ended',_Ns3,false);_Ks3.removeEventListener('ended',
_Is3,false);_Ks3.addEventListener('ended',_Ns3,false);_Ks3.onended=null;}try{if(_Ks3.currentTime!=0){_Ks3.currentTime=0;}}catch(_fj){if(_dd1){debug("Error setting current sound time: "+this.Sounds[_N2].pName);}}_Ks3.volume=this.Sounds[_N2]._As3*_NK2;_Ks3._Fs3=true;_Ks3.play();}catch(_fj){if(_dd1){debug("Error looping sound: "+this.Sounds[_N2].pName);}}}};__L2.prototype._We1=function(_sc,_Rs3){var _Os3=this.Sounds[_sc];if(!_Os3)return;_Os3=_Os3._8f1;for(var i=0;i<_Os3.length;i++){var _Ks3=_Os3[i];if(_Ks3!=null){
try{this.Sounds[_sc]._As3=_Rs3;_Ks3.volume=_Rs3*_NK2;}catch(_fj){if(_dd1)debug("Error volume: "+this.Sounds[_sc].pName);}}}};__L2.prototype.__e1=function(_N2,_Rs3,_d5){var _3c1=this.Sounds[_N2];if(!_3c1)return;var _Os3=_3c1._8f1;for(var i=0;i<_Os3.length;i++){var _Ks3=_Os3[i];if(_Ks3!=null&&_Ks3._Fs3){try{var _Ss3=50;var _Ts3=_3c1._As3;var _Us3=_Rs3;var _Vs3=Math.abs(_Ts3-_Us3)/(_d5/_Ss3);function _Ws3(_Xs3){setTimeout(function(){var _Ys3;if((_Ts3<_Us3)&&(_Ks3.volume<_Us3)){_Ys3=_3c1._As3+_Vs3;}else if((_Ts3>_Us3)&&(_Ks3.volume>_Us3)){
_Ys3=_3c1._As3-_Vs3;}else {return;}if(_Ys3<0){_Ys3=0;}if(_Ys3>1){_Ys3=1;}_3c1._As3=_Ys3;_Xs3.volume=_Ys3*_NK2;_Ws3(_Xs3);},_Ss3);}_Ws3(_Ks3);}catch(_fj){if(_dd1)debug("Error volume: "+_3c1.pName);}}}};__L2.prototype._Op=function(_sc){var _Os3=this.Sounds[_sc];if(!_Os3)return;_Os3=_Os3._8f1;var playing=false;for(var i=0;i<_Os3.length;i++){var _Ks3=_Os3[i];if(_Ks3!=null){try{if(_Ks3._Fs3){playing=true;break;}}catch(_fj){if(_dd1)debug("Error checking play state: "+this.Sounds[_sc].pName);}}}return playing;
};__L2.prototype._I4=function(_N2){if(_N2<0||_N2>=this.Sounds.length)return null;return this.Sounds[_N2];};__L2.prototype.__e=function(){this.Sounds=[];this.Sounds.length=0;};__L2.prototype._Ke=function(_dU2){var _6r=null;if(_dU2!=null){_6r=new _zs3();_6r._Bs3(_dU2);}this.Sounds[this.Sounds.length]=_6r;};__L2.prototype._Je1=function(){var _6f1=new _zs3();this.Sounds[this.Sounds.length]=_6f1;return this.Sounds.length-1;};var _AQ=0,_A2=1,_Fq3=2;var _Zs3=2147483647;var _yf1={_zf1:0,_Tf1:1,_U93:2,_H93:3,};/*@constructor */function _FO(){
this.x=0;this.y=0;};/*@constructor */function _1O(){this._04=0;this._14=0;};/*@constructor */function _ME(){this.left=0;this.top=0;this.right=0;this.bottom=0;};_ME.prototype._ri=function(_2g1){this.left=_2g1.left;this.right=_2g1.right;this.top=_2g1.top;this.bottom=_2g1.bottom;};/*@constructor */function _wf1(){this.__type="[sprite]";this.pName="sprite";this.width=16;this.height=16;this._MO=new _ME;this.transparent=true;this.smooth=true;this.preload=true;this._gf1=0;this._5q=_yf1._zf1;this.xOrigin=0;
this.yOrigin=0;this._Br=false;this._I5=0;this._Ff1=8;this._Af1=false;this._Bf1=false;this._J5=[];this.__s3=[];this._G3=[];this.Masks=[];this.playbackspeedtype=_AQ;this.playbackspeed=30;this.sequence=null;this._dg1=null;this._0t3=false;this._If1=false;};_wf1.prototype._GO=function(){return this._5q===_yf1._Tf1;};_wf1.prototype._1t3=function(){return this.xOrigin;};_wf1.prototype._2t3=function(){return this.yOrigin;};_wf1.prototype._j5=function(){return this._MO;};_wf1.prototype._H3=function(){return this._I5;
};_wf1.prototype._eM=function(){return this.width;};_wf1.prototype._fM=function(){return this.height;};var _3t3=function(x){return ~~x;};/*
 * @param {spine.Skeleton} _skeleton
 *
 * @returns {[width: Number, height: Number]?}
 */_wf1.prototype._4t3=function(_p8){var _Ph=new _ME();_p8._F4();if(this._5t3(_p8,_Ph)){var width=_3t3(_Ph.right-_Ph.left+0.5);var height=_3t3(_Ph.bottom-_Ph.top+0.5);return [width,height];}var skins=_p8.data.skins;for(var i=0;i<skins.length;++i){_p8.__2(skins[i]);_p8._F4();if(this._5t3(_p8,
_Ph)){var width=_3t3(_Ph.right-_Ph.left+0.5);var height=_3t3(_Ph.bottom-_Ph.top+0.5);return [width,height];}}return null;};/*
 * @param {spine.Skeleton} _skeleton
 * @param {YYRECT} _bounds
 *
 * @returns {Boolean}
 */_wf1.prototype._5t3=function(_p8,_X4){var _sb3=false;_X4.left=Number.MAX_SAFE_INTEGER;_X4.top=Number.MAX_SAFE_INTEGER;_X4.right=Number.MIN_SAFE_INTEGER;_X4.bottom=Number.MIN_SAFE_INTEGER;var drawOrder=_p8.drawOrder;for(var i=0;i<drawOrder.length;++i){var slot=drawOrder[i];if(slot.attachment){
if(slot.attachment instanceof spine._h8){var _Z3=slot.attachment;var vertices=new Array(8);_Z3._N8(slot.bone,vertices,0,2);for(var _35=0;_35<4;++_35){var _6t3=vertices[(_35*2)+0];var _7t3=vertices[(_35*2)+1];_X4.left=_3t3(Math.min(_X4.left,_6t3));_X4.right=_3t3(Math.max(_X4.right,_6t3));_X4.top=_3t3(Math.min(_X4.top,_7t3));_X4.bottom=_3t3(Math.max(_X4.bottom,_7t3));_sb3=true;}}else if(slot.attachment instanceof spine._j8){var _S8=slot.attachment;var vertices=new Array(_S8._T8);_S8._N8(slot,0,_S8._T8,vertices,
0,2);var _J8=_S8._T8>>1;for(var _35=0;_35<_J8;++_35){var _6t3=vertices[(_35*2)+0];var _7t3=vertices[(_35*2)+1];_X4.left=_3t3(Math.min(_X4.left,_6t3));_X4.right=_3t3(Math.max(_X4.right,_6t3));_X4.top=_3t3(Math.min(_X4.top,_7t3));_X4.bottom=_3t3(Math.max(_X4.bottom,_7t3));_sb3=true;}}}}return _sb3;};_wf1.prototype._J93=function(_gn,_hn){var _8t3=new _ME;var _9t3=Math.abs(_gn);var _at3=Math.abs(_hn);var _bt3=new _ME;_bt3.left=this._MO.left;_bt3.right=this._MO.right+1;_bt3.top=this._MO.top;_bt3.bottom=this._MO.bottom+1;
if((this._dg1!=null)&&(this._dg1._I93())){if((_bt3.left==0)&&(_bt3.top==0)&&(_bt3.right==this.width)&&(_bt3.bottom==this.height)){_8t3.left=0;_8t3.top=0;_8t3.right=_bt3.right*_9t3;_8t3.bottom=_bt3.bottom*_at3;}else {var _ct3=this.width*_9t3;var _dt3=this.height*_at3;var _et3=this._dg1._1e3();var _ft3=(this.width-this._dg1._3e3())-this._dg1._1e3();var _gt3=_ft3;var _ht3=this._dg1._3e3();var _it3=this._dg1._2e3();var _jt3=(this.height-this._dg1._4e3())-this._dg1._2e3();var _kt3=_jt3;var _lt3=this._dg1._4e3();
if(_ct3<_et3){_et3=_ct3;_gt3=0.0;_ht3=0.0;}else if(_ct3<(_et3+_ht3)){_gt3=0.0;_ht3=_ct3-_et3;}else {_gt3=_ct3-(_et3+_ht3);}if(_dt3<_it3){_it3=_dt3;_kt3=0.0;_lt3=0.0;}else if(_dt3<(_it3+_lt3)){_kt3=0.0;_lt3=_dt3-_it3;}else {_kt3=_dt3-(_it3+_lt3);}if(_bt3.left<=this._dg1._1e3())_8t3.left=_bt3.left;else if(_bt3.left>=((this.width-this._dg1._3e3())))_8t3.left=_et3+_gt3+(_bt3.left-(this.width-this._dg1._3e3()));else {var ratio=(_bt3.left-this._dg1._1e3())/_ft3;_8t3.left=_et3+(_gt3*ratio);}if(_bt3.right<=this._dg1._1e3())_8t3.right=_bt3.right;
else if(_bt3.right>=((this.width-this._dg1._3e3())))_8t3.right=_et3+_gt3+(_bt3.right-(this.width-this._dg1._3e3()));else {var ratio=(_bt3.right-this._dg1._1e3())/_ft3;_8t3.right=_et3+(_gt3*ratio);}if(_bt3.top<=this._dg1._2e3())_8t3.top=_bt3.top;else if(_bt3.top>=((this.height-this._dg1._4e3())))_8t3.top=_it3+_kt3+(_bt3.top-(this.height-this._dg1._4e3()));else {var ratio=(_bt3.top-this._dg1._2e3())/_jt3;_8t3.top=_it3+(_kt3*ratio);}if(_bt3.bottom<=this._dg1._2e3())_8t3.bottom=_bt3.bottom;else if(_bt3.bottom>=((this.height-this._dg1._4e3())))_8t3.bottom=_it3+_kt3+(_bt3.bottom-(this.height-this._dg1._4e3()));
else {var ratio=(_bt3.bottom-this._dg1._2e3())/_jt3;_8t3.bottom=_it3+(_kt3*ratio);}_8t3.left=_M5(_8t3.left,_ct3);_8t3.right=_M5(_8t3.right,_ct3);_8t3.top=_M5(_8t3.top,_dt3);_8t3.bottom=_M5(_8t3.bottom,_dt3);}_8t3.left-=this.xOrigin*_9t3;_8t3.right-=this.xOrigin*_9t3;_8t3.top-=this.yOrigin*_at3;_8t3.bottom-=this.yOrigin*_at3;}else {_8t3.left=(_bt3.left-this.xOrigin)*_9t3;_8t3.right=(_bt3.right-this.xOrigin)*_9t3;_8t3.top=(_bt3.top-this.yOrigin)*_at3;_8t3.bottom=(_bt3.bottom-this.yOrigin)*_at3;}if(_gn<0.0){
_8t3.left=-_8t3.left;_8t3.right=-_8t3.right;}if(_hn<0.0){_8t3.top=-_8t3.top;_8t3.bottom=-_8t3.bottom;}if(_8t3.left>_8t3.right){var _kU=_8t3.left;_8t3.left=_8t3.right;_8t3.right=_kU;}if(_8t3.top>_8t3.bottom){var _kU=_8t3.top;_8t3.top=_8t3.bottom;_8t3.bottom=_kU;}_8t3.right-=1;_8t3.bottom-=1;return _8t3;};_wf1.prototype._hf1=function(){var _mt3=(this.yOrigin*this.yOrigin);var _nt3=(this.xOrigin*this.xOrigin);var _ot3=(this.width-this.xOrigin)*(this.width-this.xOrigin);var _pt3=(this.height-this.yOrigin)*(this.height-this.yOrigin);
var _qt3=~~ceil(sqrt(_nt3+_mt3));var _rt3=~~ceil(sqrt(_ot3+_mt3));var _st3=~~ceil(sqrt(_nt3+_pt3));var _tt3=~~ceil(sqrt(_ot3+_pt3));this._Ff1=_L5(_qt3,_L5(_rt3,_L5(_st3,_tt3)));};_wf1.prototype._ut3=function(_vt3,_y3,_z3){try{if(_H4._wt3!==undefined){var _xt3=true;var byteOffset=0;var _yt3=_H4._wt3[_vt3];var _9_1=new DataView(_yt3);if(_9_1!==undefined){var _zt3=_9_1.getInt32(byteOffset,_xt3);var _At3=(1<<31);if((_zt3&_At3)!=0){_zt3&=(~_At3);byteOffset+=4;}byteOffset+=4;var _Bt3=null;if(_zt3>0){_Bt3=new Uint8Array(_yt3,
byteOffset,_zt3);byteOffset+=((_zt3+3)&~3);}var _Ct3=_9_1.getUint32(byteOffset,_xt3);byteOffset+=4;this._wL=[];for(var i=0;i<_Ct3;i++){var type=_9_1.getInt32(byteOffset,_xt3);byteOffset+=4;var id=_9_1.getInt32(byteOffset,_xt3);byteOffset+=4;var _Dt3=null;if(type===_Lt2){_Dt3=new _Ut2(type,id);byteOffset=_Dt3._Vt2(_9_1,byteOffset,_xt3,this._wL);}else if(type===_Mt2){_Dt3=new _mt2(type,id);byteOffset=_Dt3._ot2(_yt3,_9_1,byteOffset,_xt3,_Bt3);}else {_Dt3={type:_Kt2,id:id};}this._wL.push(_Dt3);}this._a13=new _Xu2();
byteOffset=this._a13._0v2(_9_1,byteOffset,_xt3);if(this._a13.__u2._1v2>0){byteOffset=this._Et3(_9_1,byteOffset,_xt3);if(!this._0t3){this._5q=_yf1._Tf1;}}else {this.width=this._a13._95;this.height=this._a13._b5;if(!this._0t3){this._5q=_yf1._zf1;}}if(!this._0t3){this._gf1=0;this.preload=true;}if(!this._0t3&&this._5q===_yf1._zf1){this._MO.left=this._a13._85;this._MO.right=this._a13._95;this._MO.top=this._a13._a5;this._MO.bottom=this._a13._b5;this.xOrigin=_y3;this.yOrigin=_z3;}this._hf1();this._Ft3();
}}}catch(e){debug("Cannot build SWF data "+e.message);}};_wf1.prototype._Et3=function(_pt2,_qt2,_rt2){if(this._5q!==_yf1._Tf1){return;}this._J5=[];this.width=this._a13.__u2._2v2;this.height=this._a13.__u2._3v2;var _1v2=this._a13.__u2._1v2;for(var i=0;i<_1v2;i++){var _Gt3=_pt2.getInt32(_qt2,_rt2);_qt2+=4;var _Ht3=_qt2;var _It3=0;var _322=[];for(var _35=0;_35<_Gt3;_35++){var _Jt3=_pt2.getUint8(_qt2,_rt2);_qt2+=1;var _Kt3=((_Jt3)&0x80)!=0?true:false;var _Lt3=((_Jt3)&0x7f)+1;for(var _qk=0;_qk<_Lt3;_qk++){_322[_It3++]=_Kt3;
}}var _Mt3=new Uint8Array(_322.length);for(var i=0;i<_322.length;++i)_Mt3[i]=_322[i];this._J5[i]=_Mt3;_qt2=_Ht3+((_Gt3+3)&~3);}this._Af1=true;return _qt2;};_wf1.prototype._Ft3=function(){this._58=function(_x3,_u4,_v4,_gn,_hn,_y4,_Tb,_y8){_x53(this._wL,this._a13,_x3,this.xOrigin,this.yOrigin,_u4,_v4,_gn,_hn,_y4,_Tb,_y8,this._G3);};this.__j1=function(_x3,_u4,_v4,_y8){_x53(this._wL,this._a13,_x3,this.xOrigin,this.yOrigin,_u4,_v4,1.0,1.0,0.0,0xffffffff,_y8,this._G3);};};_wf1.prototype._Nt3=function(_c2){
if(_c2){this._xL=new _c7();this._xL._w7(this._If1?'':(this.pName+'/'),this.pName,_c2.json,_c2._b4,_c2._D7,_c2._E7,this);}this._58=function(_x3,_u4,_v4,_gn,_hn,_y4,_Tb,_y8){this._xL._58(_x3,_u4,_v4,_gn,_hn,_y4,_Tb,_y8);};this.__j1=function(_x3,_u4,_v4,_y8){this._xL._58(_x3,_u4,_v4,1,1,0,0xffffff,_y8);};this._I5=_Zs3;};_wf1.prototype._Jf1=function(_rk,_cl1){var _Ot3=function(_rk,_cl1){var _Pt3='Could not load file contents!';var _Pa1=new XMLHttpRequest();_Pa1.open('GET',_Hb1(_rk),true);_Pa1.send();_Pa1.onload=function(){
if(_cl1){_cl1((_Pa1.status==200)?null:_Pt3,_Pa1.response||_Pa1.responseText);}};_Pa1.onerror=function(){if(_cl1){_cl1(_Pt3);}};};var _Qt3=function(_Rt3){var _aG=_Rt3.split('\n');var _Z32=[];var current=undefined;var _St3=true;var _Tt3=new RegExp('^size*:\\s*(\\d+)\\s*,\\s*(\\d+)$');for(var i=0;i<_aG.length;++i){var _GD=_aG[i].trim();if(_St3){if(current!=undefined){if(current.width===undefined||current.height===undefined){return undefined;}_Z32.push(current);}current={name:_GD};_St3=false;}else {if(_GD==''){
_St3=true;}else if(current!=undefined){var _z5=_GD.match(_Tt3);if(_z5){current.width=parseInt(_z5[1]);current.height=parseInt(_z5[2]);}}}}if(current!=undefined){if(current.width===undefined||current.height===undefined){return undefined;}_Z32.push(current);}return _Z32;};var _OT=this;var _Ut3=_rk.slice(0,-5)+'.atlas';var _Vt3=2;var _Wt3=false;var _b4;var _Z32;var _Xt3=function(err){if(_Wt3){return;}if(err){_Wt3=true;if(_cl1){_cl1(err);}return;}if(--_Vt3==0){var _pk2={json:json,_b4:_b4,_D7:_Z32.length,_E7:_Z32,
};_OT._Nt3(_pk2);var size=_OT._4t3((new _T1(_OT._xL))._22);if(size instanceof Array){_OT.width=size[0];_OT.height=size[1];}if(_cl1){_cl1();}}};_Ot3(_rk,function(_Q91,_Yt3){if(!_Q91){json=_Yt3;}_Xt3(_Q91);});_Ot3(_Ut3,function(_Q91,_Yt3){if(!_Q91){_b4=_Yt3;_Z32=_Qt3(_b4);if(_Z32===undefined){_Xt3('Invalid atlas format!');return;}}_Xt3(_Q91);});};_wf1.prototype._Zt3=function(__t3){this.sequence=new _p71(__t3);this.xOrigin=this.sequence._Mk3;this.yOrigin=this.sequence._Nk3;};_wf1.prototype._0u3=function(_1u3){
this._dg1=new _eg1(_1u3);};function _2u3(_3u3,_rF){if(_3u3.Masks[_rF]!=null){var _z5=[];var src=0;var _f9=0;var _Fl;while(src<_3u3.Masks[_rF].length){var _4u3=_3u3.Masks[_rF][src++];if(_4u3&0x80){_4u3=(_4u3&0x7f)+1;_Fl=_3u3.Masks[_rF][src++];for(var _14=0;_14<_4u3;_14++){_z5[_f9++]=_Fl;}}else {_4u3++;for(var _14=0;_14<_4u3;_14++){_z5[_f9++]=_3u3.Masks[_rF][src++];}}}}_3u3.Masks[_rF]=_z5;}function _WM2(_5u3){var _sz2=new _wf1();if(_5u3.pName!==undefined)_sz2.pName=_5u3.pName;if(_5u3.width!==undefined)_sz2.width=_5u3.width;
if(_5u3.height!==undefined)_sz2.height=_5u3.height;if(_5u3.bboxLeft!==undefined)_sz2._MO.left=_5u3.bboxLeft;if(_5u3.bboxRight!==undefined)_sz2._MO.right=_5u3.bboxRight;if(_5u3.bboxTop!==undefined)_sz2._MO.top=_5u3.bboxTop;if(_5u3.bboxBottom!==undefined)_sz2._MO.bottom=_5u3.bboxBottom;if(_5u3.transparent!==undefined)_sz2.transparent=_5u3.transparent;if(_5u3.smooth!==undefined)_sz2.smooth=_5u3.smooth;if(_5u3.preload!==undefined)_sz2.preload=_5u3.preload;if(_5u3.bboxMode!==undefined)_sz2._gf1=_5u3.bboxMode;
if(_5u3.colCheck!==undefined)_sz2._5q=_5u3.colCheck;if(_5u3.xOrigin!==undefined)_sz2.xOrigin=_5u3.xOrigin;if(_5u3.yOrigin!==undefined)_sz2.yOrigin=_5u3.yOrigin;if(_5u3.playbackspeedtype!==undefined)_sz2.playbackspeedtype=_5u3.playbackspeedtype;if(_5u3.playbackspeed!==undefined)_sz2.playbackspeed=_5u3.playbackspeed;_sz2.Masks=null;if(_5u3.swf!==undefined){_sz2._0t3=true;_sz2._ut3(_5u3.swf,_sz2.xOrigin,_sz2.yOrigin);}if(_5u3.sequence!==undefined){_sz2._Zt3(_5u3.sequence);}if(_5u3.nineslice!==undefined){
_sz2._0u3(_5u3.nineslice);}if(_5u3.Masks!==undefined)_sz2.Masks=_5u3.Masks;_sz2._G3=[];for(var i=_5u3.TPEntryIndex.length-1;i>=0;i--){_sz2._G3[i]=_5u3.TPEntryIndex[i];}if(_sz2._I5==0){_sz2._I5=_sz2._G3.length;}for(var i=0;i<_sz2._G3.length;i++){_sz2._G3[i]=_EV2(_sz2._G3[i]);if(_sz2._G3[i]!=null){if(_sz2._G3[i].CropWidth==0)_sz2._G3[i].CropWidth=1;if(_sz2._G3[i].CropHeight==0)_sz2._G3[i].CropHeight=1;}}if(_5u3.skel!==undefined){var _pk2=_H4._Mg2?_H4._Mg2[_5u3.skel]:undefined;_sz2._Nt3(_pk2);}_sz2._hf1();
if(_sz2.Masks){for(var i=0;i<_5u3.Masks.length;i++){if(!_5u3._6u3)_2u3(_sz2,i);_sz2._Af1=true;var size=_sz2.width*_sz2.height;var _322=new Uint8Array(size);var _7u3=((_sz2.width+7)>>3);var _Yb2=0;for(var y=0;y<_sz2.height;++y,_Yb2+=_7u3){var _z5=0x80;var _8u3=_Yb2;for(var x=0;x<_sz2.width;++x,_z5>>=1){if(_z5==0){_z5=0x80;++_8u3;}_322[x+(y*_sz2.width)]=((_sz2.Masks[i][_8u3]&_z5)!=0);}}_sz2._J5[i]=_322;}}_5u3._6u3=true;return _sz2;}function _9u3(position,_W51){var _oM=_sA[_Zz];var _au3=_oM._LN2();var _bu3=_gM();
return _bu3._bE2(_oM._4M(position),_W51*_au3);}_wf1.prototype.__j1=function(_cu3,_u4,_v4,_y8){if(this._I5<=0)return;var _Ff1=this._Ff1;if(_9u3(new _Xy(_u4,_v4,_X9),_Ff1)){_cu3=(~~_cu3)%this._I5;if(_cu3<0)_cu3=_cu3+this._I5;if(!this._G3)return;var _F3=this._G3[_cu3];if(!_F3)return;if((this._dg1!=null)&&(this._dg1.enabled==true)){var _q3=0xffffffff;this._dg1._58(_u4,_v4,this.width,this.height,0,_q3,1,_cu3,this);}else {if((_F3.w==_F3.CropWidth)&&(_F3.h==_F3.CropHeight)){_Gr(_F3,_u4-this.xOrigin,_v4-this.yOrigin,
_y8);}else {var _q3=0xffffffff;_Rr(_F3,0,0,_u4-this.xOrigin,_v4-this.yOrigin,1,1,0,_q3,_q3,_q3,_q3,1);}}}};_wf1.prototype._58=function(_x3,_u4,_v4,_gn,_hn,_y4,_Tb,_y8){if(this._I5<=0)return;if(this.sequence!=null){if(_x3<0){return;}}if(!this._G3)return;var _du3=abs(this._Ff1*_gn);var _eu3=abs(this._Ff1*_hn);var _Ff1;if(_du3>_eu3){_Ff1=_du3;}else {_Ff1=_eu3;}if(_9u3(new _Xy(_u4,_v4,_X9),_Ff1)){_x3=(~~_x3)%this._I5;if(_x3<0)_x3+=this._I5;_y4=_pL2(_y4,360.0);if((this._dg1!=null)&&(this._dg1.enabled==true)){
this._dg1._58(_u4,_v4,this.width*_gn,this.height*_hn,_y4,_Tb,_y8,_x3,this);}else {_Rr(this._G3[_x3],this.xOrigin,this.yOrigin,_u4,_v4,_gn,_hn,_y4*Math.PI/180.0,_Tb,undefined,undefined,undefined,_y8);}}};_wf1.prototype._LL=function(_j6,_u4,_v4,_U6){if((this._xL===undefined)||(this._xL===null))return;var _xQ=_j6.image_xscale;var _yQ=_j6.image_yscale;var x=_j6.x;var y=_j6.y;var _o8=Math.floor(_j6.image_index);if(this._I5>0){_o8=(~~_o8)%this._I5;}if(_o8<0)_o8+=this._I5;var angle=_j6.image_angle;this._xL._98(_j6,
undefined,undefined,_o8,x,y,_xQ,_yQ,angle,_u4,_v4,_U6);};_wf1.prototype._2k1=function(_cu3,__5,_06,_s5,_t5,_Nt,_Ot,_0k1,_1k1,_y8){if(this._I5<=0)return;_cu3=(~~_cu3)%this._I5;if(_cu3<0)_cu3=_cu3+this._I5;if(!this._G3)return;_J63(this._G3[_cu3],__5,_06,_s5,_t5,_Nt,_Ot,_0k1,_1k1,_y8);};function _TO(_04,_14,_fu3,width){return _fu3[_04+(_14*width)]};_wf1.prototype._JO=function(_gu3,_hu3,_iu3,_ju3,_ku3){if((_ju3-_hu3==0)&&(_ku3-_iu3==0)){if((_hu3<_gu3[0].x)||(_hu3>=_gu3[1].x))return false;if((_ku3<_gu3[0].y)||(_ku3>=_gu3[2].y))return false;
return true;}if(abs(_ju3-_hu3)>=abs(_ku3-_iu3)){var _XY=~~_L5(_gu3[0].x,_hu3);var prop=(_XY-_hu3)/(_ju3-_hu3);var _YY=_iu3+prop*(_ku3-_iu3);var _fj=~~_M5(_gu3[1].x,_ju3);var _ia=(_iu3-_ku3)/(_hu3-_ju3);for(var i=_XY;i<=_fj;i++,_YY+=_ia){if((_XY<_gu3[0].x)||(_XY>=_gu3[1].x))continue;if((_YY<_gu3[0].y)||(_YY>=_gu3[2].y))continue;return true;}}else {if(_ku3<_iu3){var _yd=_ku3;_ku3=_iu3;_iu3=_yd;_yd=_ju3;_ju3=_hu3;_hu3=_yd;}var _YY=~~_L5(_gu3[0].y,_iu3);var prop=(_YY-_iu3)/(_ku3-_iu3);var _XY=_hu3+prop*(_ju3-_hu3);
var _SL=~~_M5(_gu3[2].y,_ku3);var _ha=(_ju3-_hu3)/(_ku3-_iu3);for(var i=_YY;i<=_SL;i++,_XY+=_ha){if((_XY<_gu3[0].x)||(_XY>=_gu3[1].x))continue;if((_YY<_gu3[0].y)||(_YY>=_gu3[2].y))continue;return true;}}return false;};_wf1.prototype._LO=function(_gu3,_hu3,_iu3,_ju3,_ku3){var _K5=_L5(_hu3,_gu3[0].x);_K5=~~(Math.floor(_K5)+0.5);var _i3=~~_M5(_ju3,_gu3[2].x);var _N5=_L5(_iu3,_gu3[0].y);_N5=~~(Math.floor(_N5)+0.5);var _k3=~~_M5(_ku3,_gu3[2].y);var _56=((_hu3+_ju3)/2);var _66=((_iu3+_ku3)/2);var _76=((_ju3-_hu3)/2);
var _86=((_ku3-_iu3)/2);for(var i=_K5;i<=_i3;i++){for(var _35=_N5;_35<=_k3;_35++){if(_oz((i-_56)/_76)+_oz((_35-_66)/_86)>1)continue;return true;}}return false;};_wf1.prototype._HO=function(_lu3,_gu3,_mu3,_hu3,_iu3,_ju3,_ku3,_jO){var _K5=_L5(_hu3,_gu3[0].x);_K5=~~(Math.floor(_K5)+0.5);var _i3=~~_M5(_ju3,_gu3[2].x);var _N5=_L5(_iu3,_gu3[0].y);_N5=~~(Math.floor(_N5)+0.5);var _k3=~~_M5(_ku3,_gu3[2].y);var _nu3=_mu3[0]._04;var _ou3=_mu3[0]._14;var _pu3=(_mu3[1]._04-_mu3[0]._04)/(_gu3[1].x-_gu3[0].x);var _qu3=(_mu3[3]._04-_mu3[0]._04)/(_gu3[3].y-_gu3[0].y);
var _ru3=(_mu3[1]._14-_mu3[0]._14)/(_gu3[1].x-_gu3[0].x);var _su3=(_mu3[3]._14-_mu3[0]._14)/(_gu3[3].y-_gu3[0].y);var _tu3=_M5(_mu3[0]._04,_M5(_mu3[1]._04,_mu3[2]._04));var _uu3=_L5(_mu3[0]._04,_L5(_mu3[1]._04,_mu3[2]._04));var _vu3=_M5(_mu3[0]._14,_M5(_mu3[1]._14,_mu3[2]._14));var _wu3=_L5(_mu3[0]._14,_L5(_mu3[1]._14,_mu3[2]._14));for(var i=_K5;i<_i3;i+=1.0){var _24=(((i)-_gu3[0].x)*_pu3+_nu3)+(((_N5)-_gu3[0].y)*_qu3);var _34=(((_N5)-_gu3[0].y)*_su3+_ou3)+(((i)-_gu3[0].x)*_ru3);for(var _35=_N5;_35<_k3;_35+=1.0,
_34+=_su3,_24+=_qu3){if(_lu3!=null){if((_34<_vu3)||(_34>=_wu3))continue;if((_24<_tu3)||(_24>=_uu3))continue;if(!_TO(~~_24,~~_34,_lu3,_jO))continue;}return true;}}return false;};_wf1.prototype._IO=function(_lu3,_gu3,_mu3,_hu3,_iu3,_ju3,_ku3,_jO){var _nu3=_mu3[0]._04;var _ou3=_mu3[0]._14;var _pu3=(_mu3[1]._04-_mu3[0]._04)/(_gu3[1].x-_gu3[0].x);var _qu3=(_mu3[3]._04-_mu3[0]._04)/(_gu3[3].y-_gu3[0].y);var _ru3=(_mu3[1]._14-_mu3[0]._14)/(_gu3[1].x-_gu3[0].x);var _su3=(_mu3[3]._14-_mu3[0]._14)/(_gu3[3].y-_gu3[0].y);
var _tu3=_M5(_mu3[0]._04,_M5(_mu3[1]._04,_mu3[2]._04));var _uu3=_L5(_mu3[0]._04,_L5(_mu3[1]._04,_mu3[2]._04));var _vu3=_M5(_mu3[0]._14,_M5(_mu3[1]._14,_mu3[2]._14));var _wu3=_L5(_mu3[0]._14,_L5(_mu3[1]._14,_mu3[2]._14));if((_ju3-_hu3==0)&&(_ku3-_iu3==0)){var _24=(((_ju3)-_gu3[0].x)*_pu3+_nu3)+(((_ku3)-_gu3[0].y)*_qu3);var _34=(((_ku3)-_gu3[0].y)*_su3+_ou3)+(((_ju3)-_gu3[0].x)*_ru3);if((_34<_vu3)||(_34>=_wu3))return false;if((_24<_tu3)||(_24>=_uu3))return false;if(_TO(~~_24,~~_34,_lu3,_jO))return true;return false;
}if(abs(_ju3-_hu3)>=abs(_ku3-_iu3)){var _XY=~~_L5(_gu3[0].x,_hu3);var prop=(_XY-_hu3)/(_ju3-_hu3);var _YY=_iu3+prop*(_ku3-_iu3);var _fj=~~_M5(_gu3[1].x,_ju3);var _ia=(_iu3-_ku3)/(_hu3-_ju3);for(var i=_XY;i<=_fj;i++,_YY+=_ia){var _24=(((i)-_gu3[0].x)*_pu3+_nu3)+(((_YY)-_gu3[0].y)*_qu3);var _34=(((_YY)-_gu3[0].y)*_su3+_ou3)+(((i)-_gu3[0].x)*_ru3);if((_34<_vu3)||(_34>=_wu3))continue;if((_24<_tu3)||(_24>=_uu3))continue;if(_TO(~~_24,~~_34,_lu3,_jO))return true;}}else {if(_ku3<_iu3){var _yd=_ku3;_ku3=_iu3;_iu3=_yd;
_yd=_ju3;_ju3=_hu3;_hu3=_yd;}var _YY=~~_L5(_gu3[0].y,_iu3);var prop=(_YY-_iu3)/(_ku3-_iu3);var _XY=_hu3+prop*(_ju3-_hu3);var _SL=~~_M5(_gu3[2].y,_ku3);var _ha=(_ju3-_hu3)/(_ku3-_iu3);for(var i=_YY;i<=_SL;i++,_XY+=_ha){var _24=(((_XY)-_gu3[0].x)*_pu3+_nu3)+(((i)-_gu3[0].y)*_qu3);var _34=(((i)-_gu3[0].y)*_su3+_ou3)+(((_XY)-_gu3[0].x)*_ru3);if((_34<_vu3)||(_34>=_wu3))continue;if((_24<_tu3)||(_24>=_uu3))continue;if(_TO(~~_24,~~_34,_lu3,_jO))return true;}}return false;};_wf1.prototype._KO=function(_lu3,_gu3,_mu3,
_hu3,_iu3,_ju3,_ku3,_jO){var _K5=_L5(_hu3,_gu3[0].x);_K5=~~(Math.floor(_K5)+0.5);var _i3=~~_M5(_ju3,_gu3[2].x);var _N5=_L5(_iu3,_gu3[0].y);_N5=~~(Math.floor(_N5)+0.5);var _k3=~~_M5(_ku3,_gu3[2].y);var _nu3=_mu3[0]._04;var _ou3=_mu3[0]._14;var _pu3=(_mu3[1]._04-_mu3[0]._04)/(_gu3[1].x-_gu3[0].x);var _qu3=(_mu3[3]._04-_mu3[0]._04)/(_gu3[3].y-_gu3[0].y);var _ru3=(_mu3[1]._14-_mu3[0]._14)/(_gu3[1].x-_gu3[0].x);var _su3=(_mu3[3]._14-_mu3[0]._14)/(_gu3[3].y-_gu3[0].y);var _tu3=_M5(_mu3[0]._04,_M5(_mu3[1]._04,_mu3[2]._04));
var _uu3=_L5(_mu3[0]._04,_L5(_mu3[1]._04,_mu3[2]._04));var _vu3=_M5(_mu3[0]._14,_M5(_mu3[1]._14,_mu3[2]._14));var _wu3=_L5(_mu3[0]._14,_L5(_mu3[1]._14,_mu3[2]._14));var _56=((_hu3+_ju3)/2);var _66=((_iu3+_ku3)/2);var _76=((_ju3-_hu3)/2);var _86=((_ku3-_iu3)/2);for(var i=_K5;i<=_i3;i++){var _24=(((i)-_gu3[0].x)*_pu3+_nu3)+(((_N5)-_gu3[0].y)*_qu3);var _34=(((_N5)-_gu3[0].y)*_su3+_ou3)+(((i)-_gu3[0].x)*_ru3);for(var _35=_N5;_35<=_k3;_35++,_34+=_su3,_24+=_qu3){if(_oz((i-_56)/_76)+_oz((_35-_66)/_86)>1)continue;
if((_34<_vu3)||(_34>=_wu3))continue;if((_24<_tu3)||(_24>=_uu3))continue;if(_TO(~~_24,~~_34,_lu3,_jO))return true;}}return false;};_wf1.prototype._5P=function(_xu3,_4P,__5,_06,_yu3,_zu3,_Au3,_gu3,_mu3,_lu3,_jO){var _K5=_L5(_4P.left,_gu3[0].x);_K5=Math.floor(_K5)+0.5;var _i3=_M5(_4P.right,_gu3[2].x);var _N5=_L5(_4P.top,_gu3[0].y);_N5=Math.floor(_N5)+0.5;var _k3=_M5(_4P.bottom,_gu3[2].y);var _Bu3=this._MO.left;var _Cu3=this._MO.right+1.0;var _Du3=this._MO.top;var _Eu3=this._MO.bottom+1.0;if(this._5q===_wf1._Tf1){
if(_Bu3<0)_Bu3=0;if(_Cu3>this.width)_Cu3=this.width;if(_Du3<0)_Du3=0;if(_Eu3>this.height)_Eu3=this.height;}var _Fu3=false;if(_Au3>g_GMLMathEpsilon||_Au3<-g_GMLMathEpsilon)_Fu3=true;var _nu3=_mu3[0]._04;var _ou3=_mu3[0]._14;_yu3=1.0/_yu3;_zu3=1.0/_zu3;var _pu3=(_mu3[1]._04-_mu3[0]._04)/(_gu3[1].x-_gu3[0].x);var _qu3=(_mu3[3]._04-_mu3[0]._04)/(_gu3[3].y-_gu3[0].y);var _ru3=(_mu3[1]._14-_mu3[0]._14)/(_gu3[1].x-_gu3[0].x);var _su3=(_mu3[3]._14-_mu3[0]._14)/(_gu3[3].y-_gu3[0].y);var _Gu3=null;var _Hu3=null;_Gu3=this._J5[_xu3];
_Hu3=_lu3;var _tu3=_M5(_mu3[0]._04,_M5(_mu3[1]._04,_mu3[2]._04));var _uu3=_L5(_mu3[0]._04,_L5(_mu3[1]._04,_mu3[2]._04));var _vu3=_M5(_mu3[0]._14,_M5(_mu3[1]._14,_mu3[2]._14));var _wu3=_L5(_mu3[0]._14,_L5(_mu3[1]._14,_mu3[2]._14));var _Iu3=this._eM();if(!_Fu3){var _Ju3=_yu3;var _Ku3=_pu3;var _hx1=((_K5-__5)*_yu3+this._1t3());for(var i=_K5;i<_i3;i+=1.0,_hx1+=_Ju3){var _24=(((i)-_gu3[0].x)*_pu3+_nu3)+(((_N5)-_gu3[0].y)*_qu3);var _34=(((_N5)-_gu3[0].y)*_su3+_ou3)+(((i)-_gu3[0].x)*_ru3);if((_hx1<_Bu3)||(_hx1>=_Cu3))continue;
var _Lu3=~~_hx1;for(var _35=_N5;_35<_k3;_35+=1.0,_34+=_su3,_24+=_qu3){if(_Gu3!=null){var _la=((_35-_06)*_zu3+this._2t3());if((_la<_Du3)||(_la>=_Eu3))continue;if(!_TO(_Lu3,~~_la,_Gu3,_Iu3))continue;}if(_Hu3!=null){if((_34<_vu3)||(_34>=_wu3))continue;if((_24<_tu3)||(_24>=_uu3))continue;if(!_TO(~~_24,~~_34,_Hu3,_jO))continue;}return true;}}}else {var _Mu3,_Nu3,_hx1,_la;if(_Fu3){_Mu3=Math.sin(-_Au3*_P5/180.0);_Nu3=Math.cos(-_Au3*_P5/180.0);}for(var i=_K5;i<_i3;i+=1.0){var _24=(((i)-_gu3[0].x)*_pu3+_nu3)+(((_N5)-_gu3[0].y)*_qu3);
var _34=(((_N5)-_gu3[0].y)*_su3+_ou3)+(((i)-_gu3[0].x)*_ru3);for(var _35=_N5;_35<_k3;_35+=1.0,_34+=_su3,_24+=_qu3){_hx1=((_Nu3*(i-__5)+_Mu3*(_35-_06))*_yu3+this._1t3());if((_hx1<_Bu3)||(_hx1>=_Cu3))continue;_la=((_Nu3*(_35-_06)-_Mu3*(i-__5))*_zu3+this._2t3());if((_la<_Du3)||(_la>=_Eu3))continue;if(_Gu3!=null){if(!_TO(~~_hx1,~~_la,_Gu3,_Iu3))continue;}if(_Hu3!=null){if((_34<_vu3)||(_34>=_wu3))continue;if((_24<_tu3)||(_24>=_uu3))continue;if(!_TO(~~_24,~~_34,_Hu3,_jO))continue;}return true;}}}return false;
};_wf1.prototype._W93=function(_Ou3,_Pu3,__5,_06,_w4,_x4,_y4,_u4,_v4){var _R5,_T5;if(!this._Af1)return true;if(this._I5<=0)return false;_Ou3=_Ou3%this._J5.length;if(_Ou3<0)_Ou3=_Ou3+this._J5.length;__5-=0.5;_06-=0.5;if(Math.abs(_y4)<0.0001){_R5=Math.floor((_u4-__5)/_w4+this.xOrigin);_T5=Math.floor((_v4-_06)/_x4+this.yOrigin);}else {var _96=Math.sin(-_y4*Math.PI/180.0);var _a6=Math.cos(-_y4*Math.PI/180.0);_R5=Math.floor((_a6*(_u4-__5)+_96*(_v4-_06))/_w4+this.xOrigin);_T5=Math.floor((_a6*(_v4-_06)-_96*(_u4-__5))/_x4+this.yOrigin);
}if((_R5<0)||(_R5>=this.width))return false;if((_T5<0)||(_T5>=this.height))return false;return this._J5[_Ou3][_R5+(_T5*this.width)];};_wf1.prototype.__93=function(_Ou3,_Pu3,__5,_06,_w4,_x4,_y4,_46){if(!this._Af1)return true;if(this._I5<=0)return false;_Ou3=_Ou3%this._J5.length;if(_Ou3<0){_Ou3=_Ou3+this._J5.length;}var _K5=_L5(_Pu3.left,_46.left);var _i3=_M5(_Pu3.right,_46.right);var _N5=_L5(_Pu3.top,_46.top);var _k3=_M5(_Pu3.bottom,_46.bottom);__5-=0.5;_06-=0.5;if((_w4==1)&&(_x4==1)&&(Math.abs(_y4)<0.0001)){
for(var i=_K5;i<=_i3;i++){for(var _35=_N5;_35<=_k3;_35++){var _R5=~~(i-__5+this.xOrigin);var _T5=~~(_35-_06+this.yOrigin);if((_R5<0)||(_R5>=this.width))continue;if((_T5<0)||(_T5>=this.height))continue;if(this._J5[_Ou3][_R5+(_T5*this.width)]==true)return true;}}}else {var _96=Math.sin(-_y4*_P5/180.0);var _a6=Math.cos(-_y4*_P5/180.0);var _Qu3=1.0/_w4;var _Ru3=1.0/_x4;for(var i=_K5;i<=_i3;i++){for(var _35=_N5;_35<=_k3;_35++){var _R5=Math.floor((_a6*(i-__5)+_96*(_35-_06))*_Qu3+this.xOrigin);var _T5=Math.floor((_a6*(_35-_06)-_96*(i-__5))*_Ru3+this.yOrigin);
if((_R5<0)||(_R5>=this.width))continue;if((_T5<0)||(_T5>=this.height))continue;if(this._J5[_Ou3][_R5+(_T5*this.width)])return true;}}}return false;};_wf1.prototype._6a3=function(_Ou3,_Pu3,__5,_06,_w4,_x4,_y4,_46){var i,_35;if(!this._Af1)return true;if(this._I5<=0)return false;_Ou3=_Ou3%this._J5.length;if(_Ou3<0)_Ou3=_Ou3+this._J5.length;var _K5=_L5(_Pu3.left,_46.left);var _i3=_M5(_Pu3.right,_46.right);var _N5=_L5(_Pu3.top,_46.top);var _k3=_M5(_Pu3.bottom,_46.bottom);var _56=((_46.right+_46.left)/2);var _66=((_46.bottom+_46.top)/2);
var _76=1.0/((_46.right-_46.left)/2);var _86=1.0/((_46.bottom-_46.top)/2);var _Su3=this._J5[_Ou3];var _45;if((_w4==1)&&(_x4==1)&&(Math.abs(_y4)<0.0001)){for(i=_K5;i<=_i3;i++){_45=(i-_56)*_76;var _Tu3=_45*_45;var _R5=i-__5+this.xOrigin;if((_R5<0)||(_R5>=this.width))continue;for(_35=_N5;_35<=_k3;_35++){_45=(_35-_66)*_86;if(_Tu3+(_45*_45)>1)continue;var _T5=_35-_06+this.yOrigin;if((_T5<0)||(_T5>=this.height))continue;if(_Su3[_R5+(_T5*this.width)])return true;}}}else {var _96=Math.sin(-_y4*Math.PI/180.0);var _a6=Math.cos(-_y4*Math.PI/180.0);
var _Qu3=1.0/_w4;var _Ru3=1.0/_x4;for(i=_K5;i<=_i3;i++){var _Uu3=(i-__5);var _Vu3=_a6*_Uu3;var _Wu3=_96*_Uu3;var _45=(i-_56)*_76;var _Xu3=_45*_45;for(_35=_N5;_35<=_k3;_35++){var _Yu3=(_35-_66)*_86;if((_Xu3+(_Yu3*_Yu3))>1)continue;var _Zu3=_35-_06;var _R5=~~(((_Vu3+_96*_Zu3)*_Qu3)+this.xOrigin);if((_R5<0)||(_R5>=this.width))continue;var _T5=~~(((_a6*_Zu3-_Wu3)*_Ru3)+this.yOrigin);if((_T5<0)||(_T5>=this.height))continue;if(_Su3[_R5+(_T5*this.width)])return true;}}}return false;};_wf1.prototype._Fa3=function(_Ou3,
_Pu3,__5,_06,__u3,_0v3,_1v3,_w3,_2v3,_H5,_s5,_t5,_u5,_v5,_w5){if(_w3==null)return false;if(this._I5<=0)return false;if(_w3._I5<=0)return false;if(this._J5.length>0)_Ou3=_Ou3%this._J5.length;if(_Ou3<0){_Ou3=_Ou3+this._J5.length;;}if(_w3._J5.length>0)_2v3=_2v3%_w3._J5.length;if(_2v3<0){_2v3=_2v3+_w3._J5.length;}__u3=1.0/__u3;_0v3=1.0/_0v3;_u5=1.0/_u5;_v5=1.0/_v5;var _K5=_L5(_Pu3.left,_H5.left);_K5=Math.floor(_K5)+0.5;var _i3=_M5(_Pu3.right,_H5.right);var _N5=_L5(_Pu3.top,_H5.top);_N5=Math.floor(_N5)+0.5;
var _k3=_M5(_Pu3.bottom,_H5.bottom);var _Bu3=this._MO.left;var _Cu3=this._MO.right+1.0;var _Du3=this._MO.top;var _Eu3=this._MO.bottom+1.0;if(this._5q===_wf1._Tf1){if(_Bu3<0)_Bu3=0;if(_Cu3>this.width)_Cu3=this.width;if(_Du3<0)_Du3=0;if(_Eu3>this.height)_Eu3=this.height;}var _nu3=_w3._MO.left;var _3v3=_w3._MO.right+1.0;var _ou3=_w3._MO.top;var _4v3=_w3._MO.bottom+1.0;var _Sm=_w3;if(_Sm._5q===_wf1._Tf1){if(_nu3<0)_nu3=0;if(_3v3>_Sm.width)_3v3=_Sm.width;if(_ou3<0)_ou3=0;if(_4v3>_Sm.height)_4v3=_Sm.height;}var _Fu3=false;
var _5v3=false;if(_1v3>g_GMLMathEpsilon||_1v3<-g_GMLMathEpsilon)_Fu3=true;if(_w5>g_GMLMathEpsilon||_w5<-g_GMLMathEpsilon)_5v3=true;if(!_Fu3&&!_5v3){var _Ju3=__u3;var _Ku3=_u5;var _hx1=((_K5-__5)*__u3+this.xOrigin);var _24=((_K5-_s5)*_u5+_Sm.xOrigin);for(var i=_K5;i<_i3;i+=1.0,_hx1+=_Ju3,_24+=_Ku3){if((_hx1<_Bu3)||(_hx1>=_Cu3))continue;if((_24<_nu3)||(_24>=_3v3))continue;var _Lu3=~~_hx1;var _6v3=~~_24;for(var _35=_N5;_35<_k3;_35+=1.0){if(this._5q===_yf1._Tf1){var _la=((_35-_06)*_0v3+this.yOrigin);if((_la<_Du3)||(_la>=_Eu3))continue;
if(this._Af1){if(!this._J5[_Ou3][_Lu3+(~~(_la)*this.width)])continue;}}if(_Sm._5q===_yf1._Tf1){var _34=((_35-_t5)*_v5+_Sm.yOrigin);if((_34<_ou3)||(_34>=_4v3))continue;if(_Sm._Af1){if(!_Sm._J5[_2v3][_6v3+(~~(_34)*_Sm.width)])continue;}}return true;}}}else {var _Mu3,_Nu3,_O5,_Q5,_hx1,_24,_la,_34;if(_Fu3){_Mu3=Math.sin(-_1v3*_P5/180.0);_Nu3=Math.cos(-_1v3*_P5/180.0);}if(_5v3){_O5=Math.sin(-_w5*_P5/180.0);_Q5=Math.cos(-_w5*_P5/180.0);}for(var i=_K5;i<_i3;i+=1.0){if(!_Fu3){_hx1=((i-__5)*__u3+this.xOrigin);
if((_hx1<_Bu3)||(_hx1>=_Cu3))continue;}if(!_5v3){_24=((i-_s5)*_u5+_Sm.xOrigin);if((_24<_nu3)||(_24>=_3v3))continue;}for(var _35=_N5;_35<_k3;_35+=1.0){if(_Fu3){_hx1=((_Nu3*(i-__5)+_Mu3*(_35-_06))*__u3+this.xOrigin);if((_hx1<_Bu3)||(_hx1>=_Cu3))continue;_la=((_Nu3*(_35-_06)-_Mu3*(i-__5))*_0v3+this.yOrigin);}else {_la=((_35-_06)*_0v3+this.yOrigin);}if((_la<_Du3)||(_la>=_Eu3))continue;if(this._5q===_yf1._Tf1){if(this._Af1){if(!this._J5[_Ou3][~~(_hx1)+(~~(_la)*this.width)])continue;}}if(_5v3){_24=((_Q5*(i-_s5)+_O5*(_35-_t5))*_u5+_Sm.xOrigin);
if((_24<_nu3)||(_24>=_3v3))continue;_34=((_Q5*(_35-_t5)-_O5*(i-_s5))*_v5+_Sm.yOrigin);}else {_34=((_35-_t5)*_v5+_Sm.yOrigin);}if((_34<_ou3)||(_34>=_4v3))continue;if(_Sm._5q===_yf1._Tf1){if(_Sm._Af1){if(!_Sm._J5[_2v3][~~(_24)+(~~(_34)*_Sm.width)])continue;}}return true;}}}return false;};_wf1.prototype._Ea3=function(_Ou3,_Pu3,__5,_06,__u3,_0v3,_1v3,_w3,_2v3,_H5,_s5,_t5,_u5,_v5,_w5){if(_w3==null)return false;if(this._I5<=0)return false;if(_w3._I5<=0)return false;if(this._J5.length>0)_Ou3=_Ou3%this._J5.length;
if(_Ou3<0){_Ou3=_Ou3+this._J5.length;;}if(_w3._J5.length>0)_2v3=_2v3%_w3._J5.length;if(_2v3<0){_2v3=_2v3+_w3._J5.length;}__u3=1.0/__u3;_0v3=1.0/_0v3;_u5=1.0/_u5;_v5=1.0/_v5;var _K5=_L5(_Pu3.left,_H5.left);var _i3=_M5(_Pu3.right,_H5.right);var _N5=_L5(_Pu3.top,_H5.top);var _k3=_M5(_Pu3.bottom,_H5.bottom);if((__u3==1)&&(_u5==1)&&(_0v3==1)&&(_v5==1)&&(_1v3==0)&&(_w5==0)){for(var i=_K5;i<=_i3;i++){for(var _35=_N5;_35<=_k3;_35++){var _R5=i-__5+this.xOrigin;var _T5=_35-_06+this.yOrigin;if((_R5<0)||(_R5>=this.width))continue;
if((_T5<0)||(_T5>=this.height))continue;if(this._Af1){if(!this._J5[_Ou3][_R5+(_T5*this.width)])continue;}_R5=i-_s5+_w3.xOrigin;_T5=_35-_t5+_w3.yOrigin;if((_R5<0)||(_R5>=_w3.width))continue;if((_T5<0)||(_T5>=_w3.height))continue;if(_w3._Af1){if(!_w3._J5[_2v3][_R5+(_T5*_w3.width)])continue;}return true;}}}else if((_1v3==0)&&(_w5==0)){for(var i=_K5;i<=_i3;i++){for(var _35=_N5;_35<=_k3;_35++){var _R5=Math.floor(((i-__5)*__u3+this.xOrigin));var _T5=Math.floor(((_35-_06)*_0v3+this.yOrigin));if((_R5<0)||(_R5>=this.width))continue;
if((_T5<0)||(_T5>=this.height))continue;if(this._Af1){if(!this._J5[_Ou3][_R5+(_T5*this.width)])continue;}_R5=Math.floor(((i-_s5)*_u5+_w3.xOrigin));_T5=Math.floor(((_35-_t5)*_v5+_w3.yOrigin));if((_R5<0)||(_R5>=_w3.width))continue;if((_T5<0)||(_T5>=_w3.height))continue;if(_w3._Af1){if(!_w3._J5[_2v3][_R5+(_T5*_w3.width)])continue;}return true;}}}else {var _Mu3=Math.sin(-_1v3*_P5/180);var _Nu3=Math.cos(-_1v3*_P5/180);var _O5=Math.sin(-_w5*_P5/180);var _Q5=Math.cos(-_w5*_P5/180);for(var i=_K5;i<=_i3;i++){for(var _35=_N5;
_35<=_k3;_35++){var _R5=Math.floor(((_Nu3*(i-__5)+_Mu3*(_35-_06))*__u3+this.xOrigin));var _T5=Math.floor(((_Nu3*(_35-_06)-_Mu3*(i-__5))*_0v3+this.yOrigin));if((_R5<0)||(_R5>=this.width))continue;if((_T5<0)||(_T5>=this.height))continue;if(this._Af1){if(!this._J5[_Ou3][_R5+(_T5*this.width)])continue;}_R5=Math.floor(((_Q5*(i-_s5)+_O5*(_35-_t5))*_u5+_w3.xOrigin));_T5=Math.floor(((_Q5*(_35-_t5)-_O5*(i-_s5))*_v5+_w3.yOrigin));if((_R5<0)||(_R5>=_w3.width))continue;if((_T5<0)||(_T5>=_w3.height))continue;if(_w3._Af1){
if(!_w3._J5[_2v3][_R5+(_T5*_w3.width)])continue;}return true;}}}return false;};_wf1.prototype._9a3=function(_Ou3,_Pu3,__5,_06,_w4,_x4,_y4,_7v3,_8v3,_9v3,_av3){if(!this._Af1){return true;}if(this._I5<=0){return false;}_Ou3=_Ou3%this._J5.length;if(_Ou3<0){_Ou3=_Ou3+this._J5.length;}if((_7v3==_9v3)||(_8v3==_av3)){var _Fm2=new _ME();_Fm2.left=_7v3;_Fm2.top=_M5(_8v3,_av3);_Fm2.right=_9v3;_Fm2.bottom=_L5(_8v3,_av3);return this.__93(_Ou3,_Pu3,__5,_06,_w4,_x4,_y4,_Fm2);}var _96=Math.sin(-_y4*Math.PI/180.0);var _a6=Math.cos(-_y4*Math.PI/180.0);
__5-=0.5;_06-=0.5;if(Math.abs(_9v3-_7v3)>=Math.abs(_av3-_8v3)){if(_9v3<_7v3){var _yd=_9v3;_9v3=_7v3;_7v3=_yd;_yd=_av3;_av3=_8v3;_8v3=_yd;}var _6L=(_av3-_8v3)/(_9v3-_7v3);for(var i=_L5(_Pu3.left,_7v3);i<=_M5(_Pu3.right,_9v3);i++){var _R5=Math.floor((_a6*(i-__5)+_96*(_8v3+(i-_7v3)*_6L-_06))/_w4+this.xOrigin);var _T5=Math.floor((_a6*(_8v3+(i-_7v3)*_6L-_06)-_96*(i-__5))/_x4+this.yOrigin);if((_R5<0)||(_R5>=this.width))continue;if((_T5<0)||(_T5>=this.height))continue;if(this._J5[_Ou3][_R5+(_T5*this.width)])return true;
}}else {if(_av3<_8v3){var _yd=_av3;_av3=_8v3;_8v3=_yd;_yd=_9v3;_9v3=_7v3;_7v3=_yd;}var _6L=(_9v3-_7v3)/(_av3-_8v3);for(var i=_L5(_Pu3.top,_8v3);i<=_M5(_Pu3.bottom,_av3);i++){var _R5=Math.floor((_a6*(_7v3+(i-_8v3)*_6L-__5)+_96*(i-_06))/_w4+this.xOrigin);var _T5=Math.floor((_a6*(i-_06)-_96*(_7v3+(i-_8v3)*_6L-__5))/_x4+this.yOrigin);if((_R5<0)||(_R5>=this.width))continue;if((_T5<0)||(_T5>=this.height))continue;if(this._J5[_Ou3][_R5+(_T5*this.width)])return true;}}return false;};_wf1.prototype._9g1=function(_x3){
if(this._I5<=0){return null;}_x3=_x3%this._I5;if(_x3<0){_x3=_x3+this._I5;}if(this._G3){return this._G3[_x3];}return null;};/*@constructor */function _XL2(){this.Sprites=[];}_XL2.prototype._xf1=function(_3u3){var _x5=this.Sprites.length;this.Sprites[_x5]=_3u3;return _x5;};_XL2.prototype._t93=function(_bv3){var _OT=this.Sprites[_bv3];if(!_OT)return null;if((_OT._a13!==null)&&(_OT._a13!==undefined)){return _OT._a13._Zu2;}return _OT._G3.length;};_XL2.prototype._I4=function(_bv3){if(Number.isNaN(_bv3))return null;
if(_bv3<0||_bv3>=this.Sprites.length)return null;return this.Sprites[_bv3];};_XL2.prototype._t13=function(_R2){for(var i=0;i<this.Sprites.length;i++){if(this.Sprites[i].pName==_R2){return i;}}return -1;};_XL2.prototype._Pk=function(_nf){var _sz2=this.Sprites[_nf];if(_sz2!=undefined){var _cv3=true;for(var i=0;i<_sz2._G3.length;i++){var _F3=_sz2._G3[i];if(!_F3||!_F3.texture)continue;var _I3=_F3.texture;if(!_I3||!_I3._R7)continue;if(_cv3){_i7._vY1();_cv3=false;}_i7._p9._x_1(_I3._R7);_i7._y_1(_I3._R7._ej1);_I3._R7=null;
}this.Sprites[_nf]=undefined;}};_XL2.prototype._wM2=function(_7_1){try{var _dv3={data:new Uint8Array(_7_1),offset:0};function _ev3(_fv3){var _oh1=";";var _Xk="";while(_dv3.offset<_fv3.data.byteLength){if(_fv3.data[_dv3.offset]===_oh1.charCodeAt(0)){_dv3.offset++;break;}_Xk=_Xk+String.fromCharCode(_fv3.data[_dv3.offset]);_dv3.offset++;}return _Xk;};var type=_ev3(_dv3);if(type=="rswf"){var version=_ev3(_dv3),_gv3=version.split('.',3);_Tt2._8q1=parseInt(_gv3[0]);_Tt2._9q1=parseInt(_gv3[1]);_Tt2.version=parseInt(_gv3[2]);
var _hv3=parseInt(_ev3(_dv3)),_iv3=parseInt(_ev3(_dv3));this._wt3=[];var _zc=_hv3;for(var i=0;i<_iv3;i++){var _jv3=parseInt(_ev3(_dv3));this._wt3[i]=_7_1.slice(_zc,_zc+_jv3);_zc+=_jv3;}}}catch(e){debug("Cannot parse SWF data "+e.message);}};_XL2.prototype._uM2=function(_kv3){function _lv3(_l3,_k3){var _Qh3=(_l3>>16)&0xffff,_2A2=_l3&0xffff;var _8Z=(_k3>>16)&0xffff,_OT1=_k3&0xffff;var _2h1=((_Qh3*_OT1)+(_2A2*_8Z))&0xffff;return((_2h1<<16)>>>0)+(_2A2*_OT1);};function _mv3(_7_1){var _eX=Math.pow(2,32);var decode=6*7;
var _nv3="";for(var _35=0;_35<_7_1.length;_35++){_nv3+=String.fromCharCode((_7_1.charCodeAt(_35)-(decode&0xff))&0xff);decode=_lv3(decode,(decode+1)%_eX)%_eX;}return _nv3;};this._Mg2=[];try{var _ov3=_kv3.split(';',4);if(_ov3[0]=="skel"){var version=_ov3[1];var _zc=parseInt(_ov3[2]);var _pv3=parseInt(_ov3[3]);var _qv3=4+_pv3;_ov3=_kv3.split(';',_qv3);for(var i=0;i<_pv3;i++){var _rv3=parseInt(_ov3[4+i]);var _sv3=_kv3.substr(_zc,_rv3);var _tv3=_sv3.split(';',2);var _o8=0;var _uv3=parseInt(_tv3[_o8++]);var _D7=parseInt(_tv3[_o8++]);
var _E7=[];_tv3=_sv3.split(';',_D7*2+3);for(var _N5=0;_N5<_D7;_N5++){var _vv3=new Object();_vv3.width=parseInt(_tv3[_o8++]);_vv3.height=parseInt(_tv3[_o8++]);_E7[_N5]=_vv3;}var _wv3=_tv3[_o8].substr(0,_uv3);var _xv3=_tv3[_o8].substr(_uv3,_tv3[_o8].length-_uv3);this._Mg2.push({json:_mv3(_IH(_wv3)),_b4:_mv3(_IH(_xv3)),_D7:_D7,_E7:_E7});_zc+=_rv3;}}}catch(e){debug("Cannot parse Spine data "+e.message);}};/*@constructor */function _6N2(){this.__type="[TextureGroupInfo]";this.pName="unknowntexturegroup";this._Z32=[];
this.sprites=[];this._7N2=[];this._8N2=[];this._9N2=[];}/*@constructor */function _YL2(){this.TextureGroupInfo=[];}_YL2.prototype._aN2=function(_yv3){var _x5=this.TextureGroupInfo.length;this.TextureGroupInfo[_x5]=_yv3;return _x5;};_YL2.prototype._5J=function(_h73){for(var i=0;i<this.TextureGroupInfo.length;i++){if(this.TextureGroupInfo[i].pName==_h73){return this.TextureGroupInfo[i];}}return null;};_YL2.prototype._zv3=function(_Av3){for(var i=0;i<this.TextureGroupInfo.length;i++){var _5N2=this.TextureGroupInfo[i];
for(var _35=0;_35<_5N2._Z32.length;_35++){if(_5N2._Z32[_35]==_Av3){return _5N2;}}}return null;};_YL2.prototype._Bv3=function(_Cv3){for(var i=0;i<this.TextureGroupInfo.length;i++){var _5N2=this.TextureGroupInfo[i];for(var _35=0;_35<_5N2._Z32.length;_35++){if(_J3[_5N2._Z32[_35]]){var _K7=_J3[_5N2._Z32[_35]];if(_K7._R7){if(_K7._R7===_Cv3){return _5N2;}}}}}return null;};function _Dv3(_Ev3){if(_J3[_Ev3]){if(_J3[_Ev3]._R7){return _J3[_Ev3]._R7;}}return null;}function texture_is_ready(_Fv3){if(_i7==null)return -1;if((typeof(_Fv3)==="string")){
var _5N2=_dK2._5J(yyGetString(_Fv3));if(_5N2==null){return 0;}for(var i=0;i<_5N2._Z32.length;i++){var _Gv3=_Dv3(_5N2._Z32[i]);if(_Gv3!=null){if(!_b_1(_Gv3,_d9._c_1)){return 0;}}else {return 0;}}return 1;}else {var _Gv3=_Dv3(yyGetInt32(_Fv3));if(_Gv3!=null){return _b_1(_Gv3,_d9._c_1);}}return 0;}function texture_prefetch(_Fv3){if(_i7==null)return -1;if((typeof(_Fv3)==="string")){var _5N2=_dK2._5J(yyGetString(_Fv3));if(_5N2==null){return -1;}for(var i=0;i<_5N2._Z32.length;i++){var _Gv3=_Dv3(_5N2._Z32[i]);if(_Gv3!=null){
_S7(_Gv3);}}}else {var _Gv3=_Dv3(yyGetInt32(_Fv3));if(_Gv3!=null){_S7(_Gv3);}}}function texture_flush(_Fv3){if(_i7==null)return -1;if((typeof(_Fv3)==="string")){var _5N2=_dK2._5J(yyGetString(_Fv3));if(_5N2==null){return -1;}for(var i=0;i<_5N2._Z32.length;i++){var _Gv3=_Dv3(_5N2._Z32[i]);if(_Gv3!=null){_ls(_Gv3);}}}else {var _Gv3=_Dv3(yyGetInt32(_Fv3));if(_Gv3!=null){_ls(_Gv3);}}}function texturegroup_get_textures(_Hv3){var _5N2=_dK2._5J(yyGetString(_Hv3));if(_5N2==null){return -1;}var _u3=new Array();for(var i=0;
i<_5N2._Z32.length;i++){_u3.push(_5N2._Z32[i]);}return _u3;}function texturegroup_get_sprites(_Hv3){var _5N2=_dK2._5J(yyGetString(_Hv3));if(_5N2==null){return -1;}var _u3=new Array();for(var i=0;i<_5N2.sprites.length;i++){_u3.push(_5N2.sprites[i]);}return _u3;}function texturegroup_get_fonts(_Hv3){var _5N2=_dK2._5J(yyGetString(_Hv3));if(_5N2==null){return -1;}var _u3=new Array();for(var i=0;i<_5N2._8N2.length;i++){_u3.push(_5N2._8N2[i]);}return _u3;}function texturegroup_get_tilesets(_Hv3){var _5N2=_dK2._5J(yyGetString(_Hv3));
if(_5N2==null){return -1;}var _u3=new Array();for(var i=0;i<_5N2._9N2.length;i++){_u3.push(_5N2._9N2[i]);}return _u3;}function texturegroup_load(_Hv3,_Hf1){}function texturegroup_unload(_Hv3){}function texturegroup_get_status(_Hv3){return 3;}function texturegroup_set_mode(_Iv3,_Jv3,_Kv3){}var _Lv3=0;function texture_debug_messages(_Ry){if(_i7==null)return -1;if(yyGetBool(_Ry))_Lv3=1;else _Lv3=0;}function _Mv3(_Cv3){if(_Lv3>0){var _Na=-1;for(var i=0;i<_J3.length;i++){if(_J3[i]){if(_J3[i]._R7){if(_J3[i]._R7===_Cv3){
_Na=0;break;}}}}var _5N2=_dK2._Bv3(_Cv3);if(_5N2!=null){show_debug_message("Texture unpacked - Group: "+_5N2.pName+", Texture ID: "+String(_Na)+", Width: "+_Cv3._EZ1+", Height "+_Cv3._FZ1);}else if(_Lv3>1){show_debug_message("Texture unpacked - Group: None, Texture ID: "+String(_Na)+", Width: "+_Cv3._EZ1+", Height "+_Cv3._FZ1);}}}function _Nv3(_Cv3){if(_Lv3>0){var _Na=-1;for(var i=0;i<_J3.length;i++){if(_J3[i]){if(_J3[i]._R7){if(_J3[i]._R7===_Cv3){_Na=0;break;}}}}var _5N2=_dK2._Bv3(_Cv3);if(_5N2!=null){
show_debug_message("Texture flushed - Group: "+_5N2.pName+", Texture ID: "+String(_Na)+", Width: "+_Cv3._EZ1+", Height "+_Cv3._FZ1);}else if(_Lv3>1){show_debug_message("Texture flushed - Group: None, Texture ID: "+String(_Na)+", Width: "+_Cv3._EZ1+", Height "+_Cv3._FZ1);}}}/*@constructor */function _5k1(){this.__type="[Tile]";this.x=0;this.y=0;this.index=0;this.xo=0;this.yo=0;this.w=0;this.h=0;this.depth=0.0;this.id=_QK2++;this._xQ=1.0;this._yQ=1.0;this._zQ=0xffffff;this.alpha=1.0;this.visible=true;
this._Ov3=false;}_5k1.prototype._6k1=function(){var _zr=_cq._4r(this.index);if(_zr!=null){var _F3=_zr._9r;if(_F3.tp>=_J3.length)return;if(!_J3[_F3.tp].complete)return;if(this.xo<0){this.w+=this.xo;this.xo=0;}if(this.yo<0){this.h+=this.yo;this.yo=0;}if(_F3!=null){if((this.xo+this.w)>=_F3.w){this.w=_F3.w-this.xo;}if((this.yo+this.h)>=_F3.h){this.h=_F3.h-this.yo;}}}};function _nj3(_Pv3){var _4k1=new _5k1();if(_Pv3.x!=undefined)_4k1.x=_Pv3.x;if(_Pv3.y!=undefined)_4k1.y=_Pv3.y;if(_Pv3.index!=undefined)_4k1.index=_Pv3.index;
if(_Pv3.xo!=undefined)_4k1.xo=_Pv3.xo;if(_Pv3.yo!=undefined)_4k1.yo=_Pv3.yo;if(_Pv3.w!=undefined)_4k1.w=_Pv3.w;if(_Pv3.h!=undefined)_4k1.h=_Pv3.h;if(_Pv3.depth!=undefined)_4k1.depth=_Pv3.depth;if(_Pv3.id!=undefined)_4k1.id=_Pv3.id;if(_Pv3.scaleX!=undefined)_4k1._xQ=_Pv3.scaleX;if(_Pv3.scaleY!=undefined)_4k1._yQ=_Pv3.scaleY;if(_Pv3.colour!=undefined){_4k1._zQ=(_Pv3.colour&0xffffff);_4k1.alpha=((_Pv3.colour>>24)&0xff)/255.0;}_4k1._6k1();if(_QK2<_Pv3.id)_QK2=_Pv3.id+1;return _4k1;}_5k1.prototype._58=function(){
if(!this.visible)return false;var _zr=_cq._4r(this.index);if(_zr!=null){var _F3=_zr._9r;if((_F3.texture instanceof HTMLImageElement)&&(_F3.tp>=_J3.length))return;if((_J3[_F3.tp] instanceof HTMLImageElement)&&(!_J3[_F3.tp].complete))return;var _x23=_F3.w/_F3.ow;var _y23=_F3.h/_F3.oh;if(!_i7){_59.globalAlpha=this.alpha;if(this._zQ!=0xffffff){var _633=_Q8(_F3,this._zQ);if(this._xQ<=0||this._yQ<=0){_h33(this.x,this.y,this._xQ,this._yQ,0.0);_59._sf1(_633,(this.xo*_x23),(this.yo*_y23),this.w*_x23,this.h*_y23,0,
0,this.w,this.h);_j33();}else {_59._sf1(_633,(this.xo*_x23),(this.yo*_y23),(this.w*_x23),(this.h*_y23),this.x,this.y,this.w*this._xQ,this.h*this._yQ);}}else {var _I3=-1;if(_F3.texture instanceof HTMLImageElement)_I3=_J3[_F3.tp];else _I3=_F3.texture;if(this._xQ<=0||this._yQ<=0){_h33(this.x,this.y,this._xQ,this._yQ,0.0);_59._sf1(_I3,_F3.x+(this.xo*_x23),_F3.y+(this.yo*_x23),this.w*_x23,this.h*_y23,0,0,this.w,this.h);_j33();}else {_59._sf1(_I3,_F3.x+(this.xo*_x23),_F3.y+(this.yo*_x23),this.w*_x23,this.h*_y23,
this.x,this.y,this.w*this._xQ,this.h*this._yQ);}}}else {var _q3=this._zQ|((this.alpha*255)<<24);_59._sf1(_F3,_F3.x+(this.xo*_x23),_F3.y+(this.yo*_x23),this.w*_x23,this.h*_x23,this.x,this.y,this.w*this._xQ,this.h*this._yQ,_q3);}}};var _Qv3=0,_Rv3=1,_Sv3=2;var _Tv3=0,_Uv3=1;var _Vv3=0,_gl1=1;var _Wv3=0,_Xv3=1,_Yv3=2,_Zv3=3;var __v3=0,_1l1=1,_Yk1=2,_Zk1=3;function _0w3(_1w3){return _1w3/1e6;}function _2w3(_3w3){return _3w3*1e6;}class _4w3{constructor(_nf){this.type=__v3;this._EC=0;this._jp1=[];if(_nf===undefined){
this.id=_4w3._5w3++;}else {if(_nf<_4w3._5w3){throw new Error("Failed to assign the correct ID to a built-in time source.")}this.id=_nf;_4w3._5w3=_nf+1;}}_xl1(_wi){if(_wi==this){this._jp1=[];}else {this._6w3(_wi);}}_wl1(){return this;}_vl1(_7w3){if(_7w3){for(let i=0;i<this._jp1.length;++i){const _xn2=this._jp1[i];if(_xn2!=null){_xn2._vl1(true);}}}}_Yz2(_8w3){this._EC+=_8w3;}_Xz2(){for(let i=0;i<this._jp1.length;++i){const _xn2=this._jp1[i];if(_xn2!=null){_xn2._Yz2(this._EC);}}this._EC=0;}_Zz2(){const _jp1=this._jp1.slice();
for(let i=0;i<_jp1.length;++i){const _9w3=_jp1[i];if(_9w3!=null){const _Ba=this._jp1.indexOf(_9w3);if(_Ba!=-1){const _xn2=this._jp1[_Ba];if(!_xn2._8l1()){_xn2._aw3();}if(_xn2._8l1()){this._6w3(_xn2);}}}}}_nl1(_al1,_bl1,_cl1,_dl1,_el1,_fl1){const _xn2=new _bw3(this,_al1,_bl1,_cl1,_dl1,_el1,_fl1);if(_xn2!=null){this._jp1.push(_xn2);return _xn2;}return null;}_5m1(_al1,_bl1,_cl1,_AB){const _xn2=new _cw3(this,_al1,_bl1,_cl1,_AB);if(_xn2!=null){this._jp1.push(_xn2);return _xn2;}return null;}_6w3(_Xl1){const _xn2=this._jp1.indexOf(_Xl1);
if(_xn2!=-1){this._jp1.splice(_xn2,1);}}_Wl1(){return this._jp1;}_tl1(){return this._jp1.length;}_ol1(){return this.id;}_7l1(_nf){if(this.id==_nf){return this;}for(let i=0;i<this._jp1.length;++i){const _xn2=this._jp1[i];if(_xn2!=null){const _6l1=_xn2._7l1(_nf);if(_6l1!=null){return _6l1;}}}return null;}_yl1(){for(let i=0;i<this._jp1.length;++i){const _xn2=this._jp1[i];if(_xn2!=null){const _6l1=_xn2._yl1();if(_6l1!=null){return _6l1;}}}return null;}_Xk1(){return this.type;}}_4w3._5w3=0;class _dw3 extends _4w3{constructor(_nf){
super(_nf);this.type=_1l1;this.state=_Xv3;}_pJ(){if(this.state==_Xv3){this.state=_Yv3;}for(let i=0;i<this._jp1.length;++i){const _xn2=this._jp1[i];if(_xn2!=null){_xn2._pJ();}}}_J31(){if(this.state==_Yv3){this.state=_Xv3;}for(let i=0;i<this._jp1.length;++i){const _xn2=this._jp1[i];if(_xn2!=null){_xn2._J31();}}}_Al1(){this._ew3(_Xv3);}_Sl1(){return this.state;}_ew3(__a1){this.state=__a1;for(let i=0;i<this._jp1.length;++i){const _xn2=this._jp1[i];if(_xn2!=null){_xn2._ew3(this.state);}}}}class _bw3 extends _dw3{
constructor(_9l1,_al1,_bl1,_cl1,_dl1,_el1,_fl1){super();this.type=_Yk1;this._fw3=false;this._gw3=false;this.parent=_9l1;this._hl1=1;this._il1=_Tv3;this._jl1=null;this._Mj=null;this._hw3=0;this._iw3=0;this._jw3=0;this._ll1=_gl1;this._N5=0;this.state=_Wv3;this._Gl1(_al1,_bl1,_cl1,_dl1,_el1,_fl1);}_xl1(_wi){this._6w3(_wi);}_wl1(){return this.parent;}_Yz2(_8w3){this._EC=_8w3;if(this.state==_Xv3){this._kw3();}this._Xz2();}_aw3(){if(this.state==_Xv3){if(this._lw3()||this._mw3()){this._nw3();}}this._Zz2();
}_Al1(){if(this._ow3()){this._pw3();}this._ew3(_Xv3);}_Mp(){if(this.state!=_Wv3&&!this._ow3()){this.state=_Zv3;this._N5=0;}for(let i=0;i<this._jp1.length;++i){const _xn2=this._jp1[i];if(_xn2!=null){_xn2._Mp();}}}_pw3(){this.state=_Wv3;this._N5=0;this._jw3=this._hw3;}_oJ(){this._ew3(_Wv3);this._N5=0;this._jw3=this._hw3;this._iw3=0;}_Gl1(_al1,_bl1,_cl1,_dl1,_el1,_fl1){this._qw3(_al1,_bl1,_cl1,_dl1,_el1,_fl1);this._hl1=this._rw3(_al1,_bl1);this._il1=_bl1;this._jl1=(typeof _cl1==="number")?_Ro1(_cl1):_cl1;
this._Mj=[global,global,..._dl1];this._hw3=_el1;this._ll1=_fl1;this._oJ();}_Il1(){if(this._il1==_Tv3){return _0w3(this._hl1);}return this._hl1;}_Ol1(){return this._il1;}_Kl1(){return this._iw3;}_Ml1(){return this._jw3;}_Ql1(){const _sw3=_L5(this._hl1-this._N5,0);if(this._il1==_Tv3){return _0w3(_sw3);}return _sw3;}_Ul1(){return this.parent;}_ul1(){return this._fw3;}_yl1(){if(this._fw3){return this;}const _xn2=super._yl1();if(_xn2!=null){return _xn2;}return null;}_vl1(_7w3){this._gw3=true;super._vl1(_7w3);}_8l1(){
return this._gw3;}_kw3(){if(this._il1==_Tv3){this._N5+=this._EC;}else if(this._il1==_Uv3){++this._N5;}}_tw3(){if(this._N5<this._hl1){this._N5-=this._hl1;}else {this._N5%=this._hl1;}}_uw3(){++this._iw3;if(this._jw3>0){--this._jw3;}}_ow3(){return(this._jw3==0);}_lw3(){return(this._N5>=this._hl1);}_mw3(){if(this._ll1==_Vv3&&this._il1==_Tv3){const _vw3=this._hl1-this._N5;if(_vw3>this._EC){return false;}const _ww3=(this._N5+this._EC)-this._hl1;if(_vw3<_ww3){return true;}}return false;}_nw3(){this._uw3();if(this._ow3()){
this._N5=this._hl1;this.state=_Zv3;}else {this._tw3();}this._xw3();}_xw3(){if(this._jl1!=null){this._fw3=true;this._jl1(...this._Mj);this._fw3=false;}}_rw3(_al1,_bl1){if(_bl1==_Tv3){const _hl1=_L5(_al1,1e-6);return Math.floor(_2w3(_hl1));}else {const _hl1=_L5(_al1,1.0);return Math.floor(_hl1);}}_qw3(_al1,_bl1,_cl1,_dl1,_el1,_fl1){this._yw3(_bl1);this._zw3(_al1,_bl1);this._Aw3(_cl1);this._Bw3(_dl1);this._Cw3(_el1);this._Dw3(_fl1);}_zw3(_al1,_bl1){switch(_bl1){case _Tv3:{if(_al1<1e-6){console.warn("Warning: Second-based time source period was too low and will be clipped (min: 1e-6).\n");
}break;}case _Uv3:{const frac=_al1%1;if(_al1<1.0){console.warn("Warning: Frame-based time source period was too low and will be clipped (min: 1).\n");}else if(frac!=0.0){console.warn("Warning: Non-integral period for a frame-based time source will be converted to an integer.\n");}break;}default :{_L3("Error: Illegal time source unit type: "+_bl1);break;}}}_yw3(_bl1){switch(_bl1){default :_L3("Error: Illegal time source unit type: "+_bl1);case _Tv3:case _Uv3:break;}}_Aw3(_cl1){if(typeof _cl1!='function'&&(typeof _cl1!='number'||_Ro1(_cl1)===null)){
_L3("Error: Time source callback must be a method or function");}}_Bw3(_dl1){if(!Array.isArray(_dl1)){_L3("Error: Time source callback arguments must be an array");}}_Cw3(_el1){if(_el1<-1){_L3("Error: Illegal time source repetition value: "+_el1);}}_Dw3(_fl1){switch(_fl1){default :_L3("Error: Illegal time source expiry type: "+_fl1);case _Vv3:case _gl1:break;}}};class _cw3 extends _bw3{constructor(_9l1,_al1,_bl1,_cl1,_AB){super(_9l1,_al1,_bl1,_cl1,[],_AB==true?-1:1,_gl1);this.type=_Zk1;this.state=_Xv3;
}_nw3(){this._uw3();if(this._ow3()){this._N5=this._hl1;this._gw3=true;}else {this._tw3();}this._xw3();}};var _4l1=new _4w3(_Qv3);var _5l1=new _dw3(_Rv3);var _4m1=new _4w3(_Sv3);/*@constructor */function _Ew3(_dU2){this.__type="[Timeline]";if((_dU2!=null)&&(_dU2!=undefined)){this.pName=_dU2.pName;this.Events=_dU2.Events;}else {this.pName="";this.Events=[];}}_Ew3.prototype._Uz2=function(_Fw3){if(this.Events.length==0){return 0;}if(_Fw3>this.Events[this.Events.length-1].Time){return this.Events.length;}for(var i=0;
i<this.Events.length;i++){if(this.Events[i].Time>=_Fw3){return i;}}return this.Events.length;};_Ew3.prototype._Vz2=function(_Fw3){if(this.Events.length==0){return 0;}if(_Fw3<this.Events[0].Time){return -1;}for(var i=this.Events.length-1;i>=0;i--){if(this.Events[i].Time<=_Fw3){return i;}}return -1;};_Ew3.prototype._cm1=function(){return this.Events[this.Events.length-1].Time;};/*@constructor */function _2M2(){this.Timelines=[];}_2M2.prototype._Ke=function(_dU2){var _6r=null;if(_dU2!=null){_6r=new _Ew3(_dU2);
}this.Timelines[this.Timelines.length]=_6r;};_2M2.prototype._I4=function(_x3){if((_x3<0)||(_x3>=this.Timelines.length)){return undefined;}return this.Timelines[_x3];};_2M2.prototype._5J=function(_R2){for(var i=0;i<this.Timelines.length;i++){if(this.Timelines[i].pName==_R2){return i;}}return -1;};_2M2.prototype.__e=function(_x3){if((_x3>=0)||(_x3<this.Timelines.length)){this.Timelines[_x3].Events.__e();}};_2M2.prototype._8m1=function(){var index=this.Timelines.length;var _iH=new _Ew3(null);_iH.pName="__newtimeline"+index;
this.Timelines[index]=_iH;return index;};_2M2.prototype._Pk=function(_x3){if((_x3>=0)||(_x3<this.Timelines.length)){this.Timelines[_x3]=null;}};_2M2.prototype._bm1=function(_x3,_Fw3,_am1){if((_x3>=0)||(_x3<this.Timelines.length)){var _iH=this.Timelines[_x3];var _3d3=_iH._Vz2(_Fw3)+1;var _Tf=[];_Tf.Time=_Fw3;_Tf.Event=_am1;_iH.Events.splice(_3d3,0,_Tf);}};_2M2.prototype._dm1=function(_x3,_Fw3){if((_x3>=0)||(_x3<this.Timelines.length)){var _iH=this.Timelines[_x3];for(var i=0;i<_iH.Events.length;i++){if(_iH.Events[i].Time==_Fw3){
_iH.Events.splice(i,1);break;}}}};/*@constructor */function _Gw3(){this.pName="";this.moment=0;this._Hw3="";this.pFunc=null;}/*@constructor */function _SM2(_Iw3){if(!_Iw3){this._Zj=[];}else {this._Zj=_Iw3;}}_SM2.prototype._5J=function(_uL2){for(var i=1;i<this._Zj.length;i++){if(this._Zj[i].pFunc==_uL2){return i;}}return -1;};_SM2.prototype._I4=function(_N2){return this._Zj[_N2];};_SM2.prototype._CV2=function(_Jw3){for(var i=1;i<this._Zj.length;i++){var _of3=this._Zj[i];if(_of3.moment==_Jw3){_Lm._R4(_5D2,
i);}}};var _SI=0,_TI=1,_VI=2,_UI=3,_XI=4,_YI=5,_0J=6,_ZI=7,__I=8,_WI=9,_1J=10,_2J=11,_3J=12;_6J=13;var _Kw3=0x01000000;var _Lw3=0x02000000;var _Mw3=0x04000000;var _Ts=(0x00000001|_Mw3);var _Nw3=(0x00000002|_Mw3);var _p01=(0x00000004|_Mw3);var _t01=(0x00000008|_Mw3);var _v01=(0x00000010|_Mw3);var _d81=(_SI|_Kw3);var _Ow3=(_TI|_Kw3);var _Pw3=(_VI|_Kw3);var _Qw3=(_UI|_Kw3);var _Xs=(_XI|_Kw3);var _Rw3=(_YI|_Kw3);var _Sw3=(_0J|_Kw3);var _Tw3=(_ZI|_Kw3);var _Uw3=(__I|_Kw3);var _Vw3=(_WI|_Kw3);var _Ww3=(_1J|_Kw3);var _Xw3=(_2J|_Kw3);
var _Yw3=(_3J|_Kw3);var _l01=(_6J|_Kw3);var _Zw3=(0x00000001|_Lw3);var __w3=(0x00000002|_Lw3);var _0x3=(0x00000004|_Lw3);var _1x3=(0x00000008|_Lw3);var _2x3=(0x00000010|_Lw3);var _3x3=(0x00000020|_Lw3);function _Vs(_sc,_Zm){this.type=_sc;this.value=_Zm;}function _Ss(_l3,_k3){return new _Vs(_l3,_k3);}function YYASSET_REF(_l3){var index=_l3&0x00ffffff;var type=(_l3>>24)&0xff|_Kw3;switch(type){case _d81:case _l01:return _Ss(type,index);default :return index;}}function _4x3(__Y1){var _5x3="unknown";switch(__Y1){case _Ts:_5x3="instance";
break;case _Zw3:_5x3="ds_list";break;case __w3:_5x3="ds_map";break;case _0x3:_5x3="ds_grid";break;case _1x3:_5x3="ds_queue";break;case _2x3:_5x3="ds_stack";break;case _3x3:_5x3="ds_priority";break;case _d81:_5x3="object";break;case _Ow3:_5x3="sprite";break;case _Pw3:_5x3="sound";break;case _Qw3:_5x3="room";break;case _Xs:_5x3="background";break;case _Rw3:_5x3="path";break;case _Sw3:_5x3="script";break;case _Tw3:_5x3="font";break;case _Uw3:_5x3="timeline";break;case _Vw3:_5x3="tiles";break;case _Ww3:_5x3="shader";
break;case _Xw3:_5x3="sequence";break;case _Yw3:_5x3="animcurve";break;case _l01:_5x3="particle system resource";break;case _Nw3:_5x3="dbgref";break;case _p01:_5x3="particle system instance";break;case _t01:_5x3="particle emitter";break;case _v01:_5x3="particle type";break;default :break;}return _5x3;}function yyGetReal(_Wb){if(_Wb instanceof _Vs)return _Wb.value;else if(typeof _Wb==="number")return _Wb;else if(typeof _Wb==="boolean")return _Wb?1:0;else if(typeof _Wb==="string"){_Wb=_Wb.trim();var match=_Wb.match(_aX);
if(match!=null){return Number(match);}}else if(typeof _Wb==="object"){if(_Wb instanceof Long){return _Wb._cX();}else if(!(_Wb instanceof Array)&&!(_Wb instanceof ArrayBuffer)){if(_Wb.id!==undefined){return _Wb.id;}return Number(_Wb);}}else if(typeof _Wb==="function"){var _6x3=method_get_index(_Wb);if(_6x3!==undefined){return _6x3;}}_L3("unable to convert "+string(_Wb)+" to a number");return 0;}function yyGetInt64(_Wb){if(_Wb instanceof _Vs)return _Wb.value;else if(typeof _Wb==="number")return Long._6X(_Wb,false);else if(typeof _Wb==="boolean")return Long._6X(_Wb?1:0,
false);else if(typeof _Wb==="string"){var match=_Wb.match(_aX);if(match!=null){return Long._6X(Number(match),false);}}else if(typeof _Wb==="object"){if(_Wb instanceof Long){return _Wb;}else if(!(_Wb instanceof Array)&&!(_Wb instanceof ArrayBuffer)){if(_Wb.id!==undefined){return Long._6X(_Wb.id,false);}return Long._6X(Number(_Wb),false);}}else if(typeof _Wb==="function"){var _6x3=method_get_index(_Wb);if(_6x3!==undefined){return _6x3;}}_L3("unable to convert "+string(_Wb)+" to a number");return 0;}function yyGetInt32(_Wb){
if(_Wb instanceof _Vs)return _Wb.value;else if(typeof _Wb==="number")return ~~_Wb;else if(typeof _Wb==="boolean")return _Wb?1:0;else if(typeof _Wb==="string"){var match=_Wb.match(_aX);if(match!=null){return ~~Number(match);}}else if(typeof _Wb==="object"){if(_Wb instanceof Long){return _Wb._r52();}else if(!(_Wb instanceof Array)&&!(_Wb instanceof ArrayBuffer)){if(_Wb.id!==undefined){return _Wb.id;}return ~~Number(_Wb);}}else if(typeof _Wb==="function"){var _6x3=method_get_index(_Wb);if(_6x3!==undefined){return _6x3;}}_L3("unable to convert "+string(_Wb)+" to a number");
return 0;}function yyGetBool(_Wb){if(_Wb instanceof _Vs)return _Wb.value>0;else if(typeof _Wb==="boolean")return _Wb;else if(_Wb===undefined)return false;else if(typeof _Wb==="number")return _Wb>0.5;else if(typeof _Wb==="string"){if(_Wb==="true"){return true;}else if(_Wb==="false"){return false;}else {var match=_Wb.match(_aX);if(match!=null){return Number(match)>0.5;}}}else if(typeof _Wb==="object"){if(_Wb instanceof Long){return _Wb._cX()>0.5;}else if(_Wb instanceof _mP){return true;}else if(_Wb.__yyIsGMLObject)return true;else if(!(_Wb instanceof Array)&&!(_Wb instanceof ArrayBuffer)){
return Number(_Wb)>0.5;}else if(_Wb instanceof ArrayBuffer){return _Wb!=g_pBuiltIn.pointer_null;}}else if(typeof _Wb==="function"){return true;}_L3("unable to convert "+string(_Wb)+" to a boolean");return false;}function _k01(_Zm,__Y1,_7x3,_lk,_8x3){var _u3=-1;if(_Zm instanceof _Vs){var type=_Zm.type;if(type!=__Y1){if(!_8x3)_L3("incorrect type ("+_4x3(type)+") expecting a "+_4x3(__Y1));}else _u3=_Zm.value;}else {_u3=yyGetInt32(_Zm);}if(!_8x3){if(_u3<0||_u3>=_7x3||(_lk&&!_lk[_u3])){_L3("invalid reference to ("+_4x3(__Y1)+")");
}}return _u3;}var _9x3=0;var _ax3=1;var _bx3=1;var _cx3=0;var _dx3=new Map();function _ex3(_Wb){return _dx3.has(_Wb);}function _fx3(_Wb){_dx3.set(_Wb,_Wb);}function _gx3(_Wb){_dx3.delete(_Wb);}function yyGetString(_Wb){if(_Wb instanceof _Vs)return "ref "+_Wb.value;else if(typeof _Wb==="string"){var _u3="";if(_cx3>0)_u3+="\"";_u3+=_Wb;if(_cx3>0)_u3+="\"";return _u3;}else if(_Wb===null){return "null";}else if(_Wb===undefined){return "undefined";}else if(_Wb===g_pBuiltIn.pointer_null){return "null";}else if(typeof _Wb==="number"){
if(isFinite(_Wb)){if((~~_Wb)!=_Wb){return _Wb.toFixed(2);}else {return _Wb.toString();}}else {if(Number.isNaN(_Wb))return "NaN";else if(_Wb<0)return "-inf";else return "inf";}}else if(typeof _Wb==="boolean"){return(_Wb)?"1":"0";}else if(typeof _Wb==="object"){if(_Wb instanceof Long){return _Wb.toString(10);}else if(_Wb instanceof Array){var _hx3="";++_cx3;if(!_ex3(_Wb)){_fx3(_Wb);_hx3="[ ";for(var _x5=0;_x5<_Wb.length;++_x5){if(_x5!=0){_hx3+=",";}_hx3+=yyGetString(_Wb[_x5]);}_hx3+=" ]";_gx3(_Wb);}else {_hx3="\"Warning: Recursive array found\"";
}--_cx3;return _hx3;}else {var _hx3="";if(_Wb["gmltoString"]!=undefined){_hx3=_Wb.gmltoString(_Wb,_Wb);}else if((typeof g_var2obf!=="undefined")&&(g_var2obf["toString"]!=undefined)&&(_Wb[g_var2obf["toString"]]!=undefined)){_hx3=_Wb[g_var2obf["toString"]](_Wb,_Wb);}else {++_cx3;if(!_ex3(_Wb)){_fx3(_Wb);var _hx3="{ ";var _og=_ix3(_Wb,false);for(var _x5=0;_x5<_og.length;_x5+=2){if(_x5!=0){_hx3+=", ";}_hx3+=_og[_x5];_hx3+=" : ";_hx3+=yyGetString(_Wb[_og[_x5+1]]);}_hx3+=" }";_gx3(_Wb);}else {_hx3="\"Warning: Recursive struct found\"";
}--_cx3;}return _hx3;}}else if(typeof _Wb==="function"){var _6x3=method_get_index(_Wb);if(_6x3!==undefined){return _6x3.toString();}}return _Wb.toString();}var _jx3=0;var _kx3=1;var _lx3=2;var _mx3=6;var _nx3=7;var _ox3=5;var _px3=3;var _qx3=4;var _rx3=8;var _sx3=9;var _tx3=10;var _ux3=11;var _vx3=12;var _wx3=13;var _xx3=14;var _yx3=15;var _zx3=0;/*@constructor */function _Ax3(_h73){this.__type="[Array]";this._GQ=_h73;this._Bx3=[];}function array_get_2D(_DW,_Cx3,_Dx3){_Cx3=yyGetInt32(_Cx3);_Dx3=yyGetInt32(_Dx3);if(!(_DW instanceof Array))_L3("array_get_2D() : argument 0 must be an array");
if(typeof _Cx3!="number")_L3("array_get_2D() : index 1 must be a number");if(typeof _Dx3!="number")_L3("array_get_2D() : index 2 must be a number");if((_Cx3<0)||(_Cx3>=_DW.length))_L3("array_get_2D() : index 1 out of range");if(!(_DW[_Cx3] instanceof Array))_L3("array_get_2D() : second dimension is not an array");if((_Dx3<0)||(_Dx3>=_DW[_Cx3].length))_L3("array_get_2D() : index 2 out of range");return _DW[_Cx3][_Dx3];}function array_set_2D(_DW,_Cx3,_Dx3,_Wb){if(!(_DW instanceof Array))_L3("array_set_2D() : argument 0 must be an array");
if(typeof _Cx3!="number")_L3("array_set_2D() : index 1 must be a number");if(typeof _Dx3!="number")_L3("array_set_2D() : index 2 must be a number");if(!(_DW[_Cx3] instanceof Array))_DW[_Cx3]=[];_DW[_Cx3][_Dx3]=_Wb;}function array_set_2D_pre(_DW,_Cx3,_Dx3,_Wb){_Cx3=yyGetInt32(_Cx3);_Dx3=yyGetInt32(_Dx3);if(!(_DW instanceof Array))_L3("array_set_2D_pre() : argument 0 must be an array");if(!(_DW[_Cx3] instanceof Array))_DW[_Cx3]=[];_DW[_Cx3][_Dx3]=_Wb;return _Wb;}function array_set_2D_post(_DW,_Cx3,_Dx3,_Wb){
_Cx3=yyGetInt32(_Cx3);_Dx3=yyGetInt32(_Dx3);if(!(_DW instanceof Array))_L3("array_set_2D_post() : argument 0 must be an array");if(!(_DW[_Cx3] instanceof Array))_DW[_Cx3]=[];var _u3=_DW[_Cx3][_Dx3];_DW[_Cx3][_Dx3]=_Wb;return _u3;}function array_get(_DW,_Cx3){_Cx3=yyGetInt32(_Cx3);if(!(_DW instanceof Array))_L3("array_get() : argument 0 must be an array");if((_Cx3<0)||(_Cx3>=_DW.length))_L3("array_get() : index out of range");return _DW[_Cx3];}function array_set(_DW,_Cx3,_Wb){_Cx3=yyGetInt32(_Cx3);if(!(_DW instanceof Array)){
_DW=[];}_DW[_Cx3]=_Wb;}function array_set_pre(_DW,_Cx3,_Wb){if(!(_DW instanceof Array)){_DW=[];}_DW[_Cx3]=_Wb;return _Wb;}function array_set_post(_DW,_Cx3,_Wb){if(!(_DW instanceof Array)){_DW=[];}var _u3=_DW[_Cx3];_DW[_Cx3]=_Wb;return _u3;}function __yy_is_nullish(_Wb){return(_Wb==undefined)||(_Wb==null);}function __yy_gml_array_create(_DW){_DW._Ex3=_zx3;return _DW;}function _FG(){this.__type="Object";this.__yyIsGMLObject=true;}_FG.prototype.toString=function(){return yyGetString(this);};function __yy_gml_object_create(_So1,
_DW){var _i3=new _FG();var _Mj=[];_Mj[0]=_i3;_Mj[1]=_So1;for(var _x5=2;_x5<arguments.length;++_x5){_Mj[_x5]=arguments[_x5];}if(typeof _DW==="number"){_DW=JSON_game.Scripts[_DW-100000];}var _4X=_DW._8q3?_DW._8q3:_DW;if(!_4X.__yyg__is_constructor){_L3("target function for 'new' must be a constructor");}_4X.apply(_i3,_Mj);return _i3;}function is_method(_DW){return(_DW instanceof Function)&&(typeof _DW._DV!=='undefined');}function is_callable(_Wb){switch(typeof(_Wb)){case "function":return true;case "number":_Wb=JSON_game.Scripts[_Wb-100000];
break;case "object":if(_Wb instanceof Long)_Wb=JSON_game.Scripts[_Wb._cX()-100000];break;default :return false;}return _Wb!=undefined;}function is_handle(_Wb){return _Wb!=undefined&&_Wb instanceof _Vs;}function __yyg_call_method(_Cj){switch(typeof(_Cj)){case "number":_Cj=JSON_game.Scripts[_Cj-100000];break;case "function":break;case "object":if(_Cj instanceof Long)_Cj=JSON_game.Scripts[_Cj._cX()-100000];else _L3("unable to call function "+string(_Cj)+" typeof="+typeof(_Cj));break;default :_L3("unable to call function "+string(_Cj)+" typeof="+typeof(_Cj));
break;}return _Cj;}function __yy_method(_j6,_Cj){_Cj=_Cj._8q3?_Cj._8q3:_Cj;var _u3=_Cj;if((_j6==undefined)||(_j6==null)){_u3=_Cj.bind(_j6);}else {var _l3={_4X:_Cj,_4m:_j6};var _Fx3=function(){var _To1=Array.prototype.slice.call(arguments);_To1[0]=this._4m;return this._4X.apply(null,_To1);};_u3=_Fx3.bind(_l3);}_u3._8q3=_Cj;_u3._Fj=_j6;_u3._DV=true;_Cj._DV=true;return _u3;}function method(_j6,_Cj){if(typeof _Cj==="number"){_Cj=JSON_game.Scripts[_Cj-100000];}if((typeof _j6=="number")||(_j6 instanceof _Vs)){_j6=yyInst(null,
null,_j6);}if(!(_Cj instanceof Function))_L3("method : argument needs to be a function");if(_Cj._DV){_Cj=_Cj._8q3?_Cj._8q3:_Cj;var _u3=_Cj;if((_j6==undefined)||(_j6==null)){_u3=_Cj.bind(_j6);}else {var _l3={_4X:_Cj,_4m:_j6};var _Fx3=function(){var _To1=Array.prototype.slice.call(arguments);_To1[0]=this._4m;return this._4X.apply(null,_To1);};_u3=_Fx3.bind(_l3);}_u3._Fj=_j6;_u3._8q3=_Cj._8q3===undefined?_Cj:_Cj._8q3;_u3._DV=true;return _u3;}else {var _u3=undefined;if(_Cj._8q3)_Cj=_Cj._8q3;if(_Cj.__yy_bothSelfAndOther){
_u3=_Cj.bind(_j6);}else {var _l3={_4X:_Cj};var _Fx3;if(_Cj.__yy_onlySelfNoOther){_Fx3=function(){var _To1=Array.prototype.slice.call(arguments);_To1.splice(1,1);return this._4X.apply(null,_To1);};}else {_Fx3=function(){var _To1=Array.prototype.slice.call(arguments);return this._4X.apply(null,_To1.slice(2));};}_u3=_Fx3.bind(_l3);_u3._Fj=_j6;_u3._8q3=_Cj._8q3===undefined?_Cj:_Cj._8q3;}return _u3;}}function _Gx3(){return this;}var _Qo1=[];function _Po1(){if(_Qo1._9B1===undefined){var _j3=_Gx3();var _u7=0;for(var _IC in _j3){
if(_j3.hasOwnProperty(_IC)&&(typeof _j3[_IC]==="function")){_Qo1[_u7]=_j3[_IC];_j3[_IC]._Hx3=_u7;++_u7;}}_Qo1._9B1=true;}}function _K13(name){var _Ix3=JSON_game.ScriptNames.indexOf("gml_Script_"+name);if(_Ix3!=-1){return _Ix3+100000;}_Po1();_Ix3=JSON_game.ScriptNames.indexOf("gml_GlobalScript_"+name);if(_Ix3!=-1){return _Ix3+100000;}return null;}function method_get_self(_OG){if((typeof _OG==="function")&&(_OG._Fj!==undefined)){for(var i=0;i<_m2._ed2.length;++i){var _dk=_m2._ed2[i];var _Jx3=_dk._Mz2._u7;for(var _4F=0;
_4F<_Jx3;++_4F){if(_dk._Mz2._Zj[_4F]==_OG._Fj)return _dk._Mz2._Zj[_4F].id;}}return _OG._Fj;}return undefined;}function method_get_index(_OG){if(typeof _OG==="function"){if(_OG._8q3!==undefined){if(_OG._8q3._Hx3!==undefined){return _OG._8q3._Hx3;}var _Ix3=JSON_game.Scripts.indexOf(_OG._8q3);if(_Ix3!=-1){return _Ix3+100000;}}else {var _Ix3=JSON_game.Scripts.indexOf(_OG);if(_Ix3!=-1){return _Ix3+100000;}}_Po1();var _Kx3=_Qo1.indexOf(_OG);if(_Kx3!=-1){return _Kx3+100000;}}return undefined;}function _Lx3(_DW){return _DW instanceof Int8Array||_DW instanceof Uint8Array||_DW instanceof Uint8ClampedArray||_DW instanceof Int16Array||_DW instanceof Uint16Array||_DW instanceof Int32Array||_DW instanceof Uint32Array||_DW instanceof Float32Array||_DW instanceof Float64Array||_DW instanceof BigInt64Array||_DW instanceof BigUint64Array;
}function __yy_gml_array_check(_DW,_6K){if((Array.isArray(_DW)&&_DW._Ex3!=_zx3)||_Lx3(_DW)){_DW=_DW.slice();}else if(!(_DW instanceof Array)){_DW=[];}_DW._Ex3=_zx3;return _DW;}function __yy_gml_array_set_owner(_DW){_zx3=_DW;}function __yy_gml_array_check_index(_DW,_6K){if(!(_6K instanceof Array)&&!(_6K instanceof Float32Array)){_L3("trying to index variable which is not an array");}_DW=yyGetInt32(_DW);if((_DW<0)||(_DW>=_6K.length))_L3("index out of range");return _DW;}function __yy_gml_array_check_index_set(_DW){
_DW=yyGetInt32(_DW);if(_DW<0)_L3("index out of range");return _DW;}function __yy_gml_array_check_index_chain(_DW,_6K){if(!(_6K instanceof Array)){_6K=[];_6K._Ex3=_zx3;}_DW=yyGetInt32(_DW);if(_DW<0)_L3("index out of range");var index=_DW;if(!(_6K[index] instanceof Array)){_6K[index]=[];_6K[index]._Ex3=_zx3;}else if(_6K[index]._Ex3!=_zx3){_6K[index]=_6K[index].slice();_6K[index]._Ex3=_zx3;}return index;}function __yy_gml_errCheck(_DW){if(_DW===undefined){_L3("undefined value in expression");}else if(_DW instanceof ArrayBuffer){
_L3("pointer value in expression");}return _DW;}function _Dj(_Mx3,_Nx3){switch(typeof _Mx3){case "function":return _Mx3;case "number":return JSON_game.Scripts[_Mx3-100000];default :_L3("argument"+_Nx3+" is not a method or script");}}function _yh1(_w41,_Ox3,_Px3){var _H81=Math.min(Math.max(_Ox3,-_w41),_w41-1);if(_H81<0)_H81=_w41+_H81;var _Ah1=0,_zh1=0;if(_Px3<0){_Ah1=-1;_zh1=Math.min(_H81+1,Math.abs(_Px3));}else {_Ah1=1;_zh1=Math.min(_H81+_Px3,_w41)-_H81;}return [_H81,_zh1,_Ah1];}function array_equals(_DW,_6K){
if(!Array.isArray(_DW)||!Array.isArray(_6K)){_Qx3("array_equals :  both arguments must be arrays");return false;}if(_DW.length!==_6K.length)return false;for(var x=0;x<_DW.length;x++){if(Array.isArray(_DW[x])||Array.isArray(_6K[x])){if(!array_equals(_DW[x],_6K[x]))return false;}else if((typeof _DW[x])=="number"&&(typeof _6K[x])=="number"){if(!yyfequal(_DW[x],_6K[x]))return false;}else {if(_DW[x]!==_6K[x])return false;}}return true;}function array_create(_ec,_F2){if(_ec===undefined){_ec=0;}else {_ec=yyGetInt32(_ec);
}var _14=0;if(arguments.length==2)_14=_F2;var _u3=[];_u3._Ex3=_zx3;for(var i=0;i<_ec;++i){_u3[i]=_14;}return _u3;}function array_copy(_tj,_Rx3,_si,_Sx3,_Xd1){if(!Array.isArray(_tj))_L3("array_copy : argument0 is not an array");if(!Array.isArray(_si))_L3("array_copy : argument2 is not an array");_Rx3=yyGetInt32(_Rx3);_Sx3=isFinite(_Sx3)?yyGetInt32(_Sx3):yyGetReal(_Sx3);_Xd1=isFinite(_Xd1)?yyGetInt32(_Xd1):yyGetReal(_Xd1);[_Sx3,_Xd1,_Ah1]=_yh1(_si.length,_Sx3,_Xd1);if(_Xd1==0)return;_Rx3=Math.max(_Rx3,
-_tj.length);if(_Rx3<0)_Rx3=_tj.length+_Rx3;if(_tj.length<_Rx3){for(var index=_tj.length;index<_Rx3+min(_si.length-_Sx3,_Xd1);++index){if(_tj[index]==null){_tj[index]=0;}}}_Sx3=_Sx3+((_Xd1-1)*_Ah1);_Rx3+=_Xd1;_Ah1=-_Ah1;while(_Xd1>0){_tj[--_Rx3]=_si[_Sx3];_Sx3+=_Ah1;_Xd1-=1;}}function array_resize(_lk,_Tx3){if(Array.isArray(_lk)){_Tx3=yyGetInt32(_Tx3);var _bh2=_lk.length;_lk.length=_Tx3;if(_Tx3>_bh2){for(var _x5=_bh2;_x5<_Tx3;++_x5){_lk[_x5]=0;}}}else {_L3("array_resize : argument0 is not an array");
}}function array_push(_lk){if(Array.isArray(_lk)){for(var _x5=1;_x5<arguments.length;++_x5){_lk.push(arguments[_x5]);}}else {_L3("array_push : argument0 is not an array");}}function array_pop(_lk){if(Array.isArray(_lk)){return _lk.pop();}else {_L3("array_pop : argument0 is not an array");}}function array_shift(_lk){if(Array.isArray(_lk)){return _lk.shift();}else {_L3("array_shift : argument0 is not an array");}}function array_insert(_lk,_N2){if(Array.isArray(_lk)){_N2=yyGetInt32(_N2);_Xd1=_lk.length;for(_x5=_N2-1;
_x5>=_Xd1;--_x5){_lk[_x5]=0;}_0E=Array.prototype.slice.call(arguments,2);Array.prototype.splice.apply(_lk,[_N2,0].concat(_0E));}else {_L3("array_insert : argument0 is not an array");}}function array_delete(_lk,_N2,_5p){if(Array.isArray(_lk)){_N2=yyGetReal(_N2);_5p=yyGetReal(_5p);if(_5p<0){_N2+=_5p+1;_5p=-_5p;}_lk.splice(_N2,_5p);}else {_L3("array_delete : argument0 is not an array");}}function array_sort(_lk,_Ux3){if(Array.isArray(_lk)){switch(typeof _Ux3){case "function":_lk.sort(function(_l3,_k3){return _Ux3(_Ux3._Fj,
_Ux3._Fj,_l3,_k3);});break;case "number":var _4X=JSON_game.Scripts[_Ux3-100000];var _Tf;if("boundObject" in _4X){_Tf=_4X._Fj;}else {_Tf={};}_lk.sort(function(_l3,_k3){return _4X(_Tf,_Tf,_l3,_k3);});break;default :if(yyGetBool(_Ux3))_lk.sort(function(_l3,_k3){return yyCompareVal(_l3,_k3);});else _lk.sort(function(_l3,_k3){return yyCompareVal(_k3,_l3);});break;}}else {_L3("array_sort : argument0 is not an array");}}const _Vx3=(_lk,_H81,_Xd1)=>{_H81=_H81!==undefined?_H81:0;_Xd1=_Xd1!==undefined?_Xd1:_lk.length-_H81;
for(let i=_Xd1-1;i>0;--i){const _35=_H81+Math.floor(Math.random()*(i+1));const _nK=_lk[_H81+i];_lk[_H81+i]=_lk[_35];_lk[_35]=_nK;}};function array_shuffle(_lk,_H81,_Xd1){_H81=arguments.length>1?yyGetReal(_H81):0;_Xd1=arguments.length>2?yyGetReal(_Xd1):_lk.length;var _u3=undefined;if(Array.isArray(_lk)){_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];if(_Ah1<0)_H81-=(_zh1-1);_u3=_lk.slice(_H81,_H81+_zh1);_Vx3(_u3);}else {_L3("array_shuffle : argument0 is not an array");}return _u3;
}function array_shuffle_ext(_lk,_H81,_Xd1){_H81=arguments.length>1?yyGetReal(_H81):0;_Xd1=arguments.length>2?yyGetReal(_Xd1):_lk.length;var _u3=undefined;if(Array.isArray(_lk)){_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];if(_Ah1<0)_H81-=(_zh1-1);_u3=_lk;if(_zh1==0)return _u3;_Vx3(_u3,_H81,_zh1);}else {_L3("array_shuffle_ext : argument0 is not an array");}return _zh1;}function array_first(_lk){if(!Array.isArray(_lk))_L3("array_first : argument0 is not an array");var _Xd1=_lk.length;
return _Xd1==0?undefined:_lk[0];}function array_last(_lk){if(!Array.isArray(_lk))_L3("array_last : argument0 is not an array");var _Xd1=_lk.length;return _Xd1==0?undefined:_lk[_Xd1-1];}function array_create_ext(_ec,_Cj){_ec=_ec===undefined?0:yyGetReal(_ec);_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};var _u3=[];_u3._Ex3=_zx3;for(var i=_ec-1;i>=0;--i){_u3[i]=_Cj(_Ej,_Ej,i);}return _u3;}function array_find_index(_lk,_Cj,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_find_index : argument0 is not an array");
_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];while(_zh1>0){if(yyGetBool(_Cj(_Ej,_Ej,_lk[_H81],_H81))){return _H81;}_H81+=_Ah1;_zh1--;}return -1;}function array_get_index(_lk,_Zm,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_get_index : argument0 is not an array");_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;
_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];while(_zh1>0){if(yyCompareVal(_lk[_H81],_Zm,g_GMLMathEpsilon,false)==0){return _H81;}_H81+=_Ah1;_zh1--;}return -1;}function array_contains(_lk,_Zm,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_contains : argument0 is not an array");_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];while(_zh1>0){if(yyCompareVal(_lk[_H81],
_Zm,g_GMLMathEpsilon,false)==0){return true;}_H81+=_Ah1;_zh1--;}return false;}function array_contains_ext(_lk,_0E,_Wx3,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_contains_ext : argument0 is not an array");if(!Array.isArray(_0E))_L3("array_contains_ext : argument1 is not an array");var _Xx3=_0E.length;if(_Xx3==0)return true;_Wx3=_H81=arguments.length>2?yyGetBool(_Wx3):false;_H81=arguments.length>3?yyGetReal(_H81):0;_Xd1=arguments.length>4?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];
var _zh1=_xh1[1];var _Ah1=_xh1[2];var _Yx3=0;while(_zh1>0){var _Zx3=false;var current=_lk[_H81];for(var i=0;i<_Xx3;++i){if(yyCompareVal(current,_0E[i],g_GMLMathEpsilon,false)==0){_Zx3=true;_Yx3+=1;break;}}if(_Zx3&&!_Wx3){return true;}_H81+=_Ah1;_zh1--;}if(_Yx3==_Xx3){return true;}return false;}function array_any(_lk,_Cj,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_any : argument0 is not an array");_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;
_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];while(_zh1>0){if(yyGetBool(_Cj(_Ej,_Ej,_lk[_H81],_H81))){return true;}_H81+=_Ah1;_zh1--;}return false;}function array_all(_lk,_Cj,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_all : argument0 is not an array");_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];
while(_zh1>0){if(!yyGetBool(_Cj(_Ej,_Ej,_lk[_H81],_H81))){return false;}_H81+=_Ah1;_zh1--;}return true;}function array_foreach(_lk,_Cj,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_foreach : argument0 is not an array");_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];while(_zh1>0){_Cj(_Ej,_Ej,_lk[_H81],_H81);_H81+=_Ah1;_zh1--;}}function array_reduce(_lk,
_Cj,__x3,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_reduce : argument0 is not an array");_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_H81=arguments.length>3?yyGetReal(_H81):0;_Xd1=arguments.length>4?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];if(__x3===undefined){__x3=_lk[_H81];_H81+=_Ah1;_zh1--;}while(_zh1>0){__x3=_Cj(_Ej,_Ej,__x3,_lk[_H81],_H81);_H81+=_Ah1;_zh1--;}return __x3;}function array_filter(_lk,_Cj,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_filter : argument0 is not an array");
_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _0y3=[],_af2=0;_0y3._Ex3=_zx3;while(_zh1>0){if(yyGetBool(_Cj(_Ej,_Ej,_lk[_H81],_H81))){_0y3[_af2]=_lk[_H81];_af2++;}_H81+=_Ah1;_zh1--;}return _0y3;}function array_filter_ext(_lk,_Cj,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_filter_ext : argument0 is not an array");_Cj=_Dj(_Cj,
1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _0y3=0,_af2=_H81;while(_zh1>0){if(yyGetBool(_Cj(_Ej,_Ej,_lk[_H81],_H81))){_lk[_af2]=_lk[_H81];_af2+=_Ah1;_0y3++;}_H81+=_Ah1;_zh1--;}return _0y3;}function array_map(_lk,_Cj,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_map : argument0 is not an array");_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{
};_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _0y3=[],_af2=0;_0y3._Ex3=_zx3;while(_zh1>0){_0y3[_af2]=_Cj(_Ej,_Ej,_lk[_H81],_H81);_af2++;_H81+=_Ah1;_zh1--;}return _0y3;}function array_map_ext(_lk,_Cj,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_map_ext : argument0 is not an array");_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_H81=arguments.length>2?yyGetReal(_H81):0;
_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _0y3=0;while(_zh1>0){_lk[_H81]=_Cj(_Ej,_Ej,_lk[_H81],_H81);_0y3++;_H81+=_Ah1;_zh1--;}return _0y3;}function array_copy_while(_lk,_Cj,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_copy_while : argument0 is not an array");_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};_H81=arguments.length>2?yyGetReal(_H81):0;_Xd1=arguments.length>3?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,
_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _0y3=[],_af2=0;_0y3._Ex3=_zx3;while(_zh1>0){if(yyGetBool(_Cj(_Ej,_Ej,_lk[_H81],_H81))){_0y3[_af2]=_lk[_H81];_af2++;}else return _0y3;_H81+=_Ah1;_zh1--;}return _0y3;}function array_unique(_lk,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_unique : argument0 is not an array");_H81=arguments.length>1?yyGetReal(_H81):0;_Xd1=arguments.length>2?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _1y3=new Set();
while(_zh1>0){_1y3.add(_lk[_H81]);_H81+=_Ah1;_zh1--;}_0y3=Array.from(_1y3);_0y3._Ex3=_zx3;return _0y3;}function array_unique_ext(_lk,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_unique_ext : argument0 is not an array");_H81=arguments.length>1?yyGetReal(_H81):0;_Xd1=arguments.length>2?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _af2=_H81,_1y3=new Set();while(_zh1>0){var _2S=_lk[_H81];if(!_1y3.has(_2S)){_lk[_af2]=_2S;_af2+=_Ah1;_0y3++;}_1y3.add(_2S);
_H81+=_Ah1;_zh1--;}return _1y3.size;}function array_reverse(_lk,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_reverse : argument0 is not an array");_H81=arguments.length>1?yyGetReal(_H81):0;_Xd1=arguments.length>2?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _0y3=[],_af2=_zh1-1;;_0y3._Ex3=_zx3;while(_zh1>0){_0y3[_af2]=_lk[_H81];_af2--;_H81+=_Ah1;_zh1--;}return _0y3;}function array_reverse_ext(_lk,_H81,_Xd1){if(!Array.isArray(_lk))_L3("array_reverse_ext : argument0 is not an array");
_H81=arguments.length>1?yyGetReal(_H81):0;_Xd1=arguments.length>2?yyGetReal(_Xd1):_lk.length;_xh1=_yh1(_lk.length,_H81,_Xd1);_H81=_xh1[0];var _zh1=_xh1[1];var _Ah1=_xh1[2];var _0y3=_zh1,_Jd2=_H81,_Kd2=_H81+(_zh1-1)*_Ah1;_zh1=Math.floor(_zh1*.5);while(_zh1>0){var _Bh1=_lk[_Jd2];_lk[_Jd2]=_lk[_Kd2];_lk[_Kd2]=_Bh1;_Jd2+=_Ah1;_Kd2-=_Ah1;_zh1--;}return _0y3;}function array_concat(_lk){if(!Array.isArray(_lk))_L3("array_concat : argument0 is not an array");var _0y3=_lk;for(var _af2=1;_af2<arguments.length;_af2++){
if(!Array.isArray(arguments[_af2]))_L3("array_concat : argument"+_af2+" is not an array");_0y3=_0y3.concat(arguments[_af2]);}_0y3._Ex3=_zx3;return _0y3;}function array_union(_lk){if(!Array.isArray(_lk))_L3("array_union : argument0 is not an array");var _0y3=_lk;for(var _af2=1;_af2<arguments.length;_af2++){if(!Array.isArray(arguments[_af2]))_L3("array_union : argument"+_af2+" is not an array");_0y3=_0y3.concat(arguments[_af2]);}var _1y3=new Set(_0y3);_0y3=Array.from(_1y3);_0y3._Ex3=_zx3;return _0y3;}function array_intersection(_lk){
var _d6=new Map();for(var _af2=0;_af2<arguments.length;_af2++){_lk=arguments[_af2];if(!Array.isArray(arguments[_af2]))_L3("array_intersection : argument"+_af2+" is not an array");_lk=Array.from(new Set(_lk));_lk.forEach(_bO=>{if(_d6.has(_bO))_d6.set(_bO,_d6.get(_bO)+1);else _d6.set(_bO,1);});}var _0y3=[],_af2=0;_0y3._Ex3=_zx3;_d6.forEach((_F2,_ik)=>{if(_F2==arguments.length)_0y3[_af2++]=_ik;});return _0y3;}function _cj(_j_1){var _bj="";var size=buffer_tell(_j_1);for(var i=0;i<size;++i){var y=buffer_peek(_j_1,
i,_lN);_bj+=_8L2[y>>4]+_8L2[y&0xf];}return _bj;}function _aj(_j_1,_F2){if(typeof(_F2)=="boolean"){buffer_write(_j_1,_9j,_wx3);var i=0;if(_F2)i=1;buffer_write(_j_1,_UV2,i);}else if(typeof(_F2)=="number"){buffer_write(_j_1,_9j,_jx3);buffer_write(_j_1,_UV2,_F2);}else if(typeof(_F2)=="string"){buffer_write(_j_1,_9j,_kx3);var _2y3=_EH(_F2);buffer_write(_j_1,_9j,_2y3.length);buffer_write(_j_1,_YV2,_F2);}else if(_F2 instanceof Array){buffer_write(_j_1,_9j,_lx3);var _1i=_F2.length;buffer_write(_j_1,_9j,_1i);for(var i=0;
i<_1i;i++){_aj(_j_1,_F2[i]);}}else {buffer_write(_j_1,_9j,_ox3);}}function _3y3(_MW){return((_MW>='0')&&(_MW<='9'))||((_MW>='A')&&(_MW<='F'))||((_MW>='a')&&(_MW<='f'));}function _4y3(_MW){var _k3=(_MW&0x40)>>6;return(_MW&0x0f)+(_k3*9);}function _gj(_dn){var _1i=_dn.length;if(_1i===0)return -1;var _5y3=0;for(var i=0;i<_1i;i+=2){if(_3y3(_dn[i])&&_3y3(_dn[i+1])){_5y3+=2;}else {break;}}var _7j=-1;if(_5y3>0){var _7j=buffer_create(_5y3/2,_8j,1);var index=0;for(var i=0;i<_5y3;i+=2){var _l3=((_4y3(_dn.charCodeAt(i))*16)+_4y3(_dn.charCodeAt(i+1)));
buffer_poke(_7j,index++,_lN,_l3);}return _7j;}return -1;}function _jj(_j_1,_6y3){var _N5=buffer_read(_j_1,_ij);if(_N5===_wx3){var _k3=buffer_read(_j_1,_UV2);var _7y3=false;if(_k3!=0)_7y3=true;return _7y3;}else if(_N5===_jx3){var _k3=buffer_read(_j_1,_UV2);return _k3;}else if(_N5===_nx3){var _14=buffer_read(_j_1,_ij);return _14;}else if(_N5===_tx3||_N5===_px3){var _14=buffer_read(_j_1,_ij);var _34=buffer_read(_j_1,_ij);return(_34<<32)|_14;}else if(_N5===_kx3){var _K5=buffer_read(_j_1,_ij);_rh="";for(var i=0;i<_K5;i++){
_rh+=String.fromCharCode(buffer_read(_j_1,_lN));}return _FH(_rh);}else if(_N5===_lx3){var _o5=[];if(_6y3==3){var _8y3=buffer_read(_j_1,_ij);if(_8y3===1){var _1i=buffer_read(_j_1,_ij);for(var i=0;i<_1i;i++){_o5[i]=_jj(_j_1,_6y3);}}else {for(var _RE=0;_RE<_8y3;_RE++){var _1i=buffer_read(_j_1,_ij);for(var i=0;i<_1i;i++){var _k3=_jj(_j_1,_6y3);array_set_2D(_o5,_RE,i,_k3);}}}}else {var _1i=buffer_read(_j_1,_ij);for(var i=0;i<_1i;i++){_o5[i]=_jj(_j_1,_6y3);}}return _o5;}else {return undefined;}}function _9y3(_R2){return "\""+_R2.substr(5,
_R2.length-7)+"\"";}function _ay3(_R2){return _R2.substr(5,_R2.length-7);}function variable_global_exists(_Bm){var _u3=false;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=g_global_names[g_var2obf[_Bm]];}else {_u3=g_global_names[_Bm];}if(_u3==undefined){if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=global.hasOwnProperty(g_var2obf[_Bm]);}else {_u3=global.hasOwnProperty("gml"+_Bm);}}else {_u3=true;}return _u3;}function variable_global_get(_Bm){_Bm=yyGetString(_Bm);
var _u3=false;var _IC;var _CV;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=g_global_names[g_var2obf[_Bm]];}else {_CV=g_global_names[_Bm];}if(_CV==undefined){if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=global[g_var2obf[_Bm]];}else {_u3=global["gml"+_Bm];}}else if(_CV[0]){if(_CV[4]!=null){if((typeof g_var2obf!=="undefined")&&(g_var2obf[_CV[4]]!=undefined)){_IC=g_pBuiltIn[g_var2obf[_CV[4]]];}else {_IC=g_pBuiltIn[_CV[4]];}if(typeof _IC=='function'){_u3=_IC.call(g_pBuiltIn);
}}else {_u3=g_pBuiltIn[_Bm];}}return _u3;}function variable_global_set(_Bm,_F2){_Bm=yyGetString(_Bm);var _u3=false;var _IC;var _CV=undefined;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=g_global_names[g_var2obf[_Bm]];}else {_CV=g_global_names[_Bm];}if(_CV==undefined){if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){global[g_var2obf[_Bm]]=_F2;}else {global["gml"+_Bm]=_F2;}}else if(_CV[0]){if(_CV[3]!=null){if((typeof g_var2obf!=="undefined")&&(g_var2obf[_CV[3]]!=undefined)){
_IC=g_pBuiltIn[g_var2obf[_CV[3]]];}else {_IC=g_pBuiltIn[_CV[3]];}if(typeof _IC=='function'){_IC.call(g_pBuiltIn,_F2);}}else {g_pBuiltIn[_Bm]=_F2;}}}function variable_instance_get(_nf,_Bm){var _FF;if((typeof _nf=="object")&&_nf.__yyIsGMLObject){_FF=[_nf];}else {_nf=yyGetInt32(_nf);if(_nf==_LE2){_FF=[global];global.marked=false;global.active=true;_by3=true;}else {_FF=GetWithArray(_nf);}}_Bm=yyGetString(_Bm);var _u3=undefined;if(_FF!=null&&_FF.length>0){for(var _4m=0;_4m<_FF.length;_4m++){var _5t=_FF[_4m];if(_5t.__yyIsGMLObject||(!_5t.marked&&_5t.active)){
var _CV=undefined;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=g_instance_names[g_var2obf[_Bm]];}else {_CV=g_instance_names[_Bm];}if(_CV==undefined){var _cy3;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_cy3=g_var2obf[_Bm];if(_5t[_cy3]==undefined){_cy3="gml"+_Bm;}}else {_cy3="gml"+_Bm;}_u3=_5t[_cy3];break;}else if(_CV[0]){if(_CV[4]!=null){var _IC=undefined;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_CV[4]]!=undefined)){_IC=_5t[g_var2obf[_CV[4]]];}else {_IC=_5t[_CV[4]];
}if(typeof _IC=='function'){_u3=_IC.call(_5t);break;}}else {_u3=_5t[_Bm];break;}}}}}return _u3;}function variable_instance_set(_nf,_Bm,_F2){var _FF;if((typeof _nf=="object")&&_nf.__yyIsGMLObject){_FF=[_nf];}else {_nf=yyGetInt32(_nf);if(_nf==_LE2){_FF=[global];global.marked=false;global.active=true;_by3=true;}else {_FF=GetWithArray(_nf);}}_Bm=yyGetString(_Bm);var _u3=false;if(_FF!=null&&_FF.length>0){for(var _4m=0;_4m<_FF.length;_4m++){var _5t=_FF[_4m];if(_5t.__yyIsGMLObject||(!_5t.marked&&_5t.active)){var _CV=undefined;
if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=g_instance_names[g_var2obf[_Bm]];}else {_CV=g_instance_names[_Bm];}if(_CV==undefined){if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_5t[g_var2obf[_Bm]]=_F2;}else {_5t["gml"+_Bm]=_F2;}}else if(_CV[1]){if(_CV[3]!=null){var _IC=undefined;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_CV[3]]!=undefined)){_IC=_5t[g_var2obf[_CV[3]]];}else {_IC=_5t[_CV[3]];}if(typeof _IC=='function'){_IC.call(_5t,_F2);}}else {_5t[_Bm]=_F2;
}}return;}}}}function _dy3(_nf,_Bm,_F2){var _FF;var _u3;if((typeof _nf=="object")&&_nf.__yyIsGMLObject){_FF=[_nf];}else {_nf=yyGetInt32(_nf);if(_nf==_LE2){_FF=[global];global.marked=false;global.active=true;_by3=true;}else {_FF=GetWithArray(_nf);}}_Bm=yyGetString(_Bm);var _u3=false;if(_FF!=null&&_FF.length>0){for(var _4m=0;_4m<_FF.length;_4m++){var _5t=_FF[_4m];if(_5t.__yyIsGMLObject||(!_5t.marked&&_5t.active)){var _CV=undefined;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=g_instance_names[g_var2obf[_Bm]];
}else {_CV=g_instance_names[_Bm];}if(_CV==undefined){if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=_5t[g_var2obf[_Bm]];_5t[g_var2obf[_Bm]]=_F2;}else {_u3=_5t["gml"+_Bm];_5t["gml"+_Bm]=_F2;}}else if(_CV[1]){if(_CV[3]!=null){var _IC=undefined;var _j3=undefined;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_CV[3]]!=undefined)){_IC=_5t[g_var2obf[_CV[3]]];}else {_IC=_5t[_CV[3]];}if((typeof g_var2obf!=="undefined")&&(g_var2obf[_CV[4]]!=undefined)){_j3=_5t[g_var2obf[_CV[4]]];}else {_j3=_5t[_CV[4]];
}if(_j3!=null){if(typeof _j3=='function'){_u3=_j3.call(_5t);}}if(typeof _IC=='function'){_IC.call(_5t,_F2);}}else {_u3=_5t[_Bm];_5t[_Bm]=_F2;}}return _u3;}}}return _u3;}function variable_instance_exists(_nf,_Bm){var _FF;if((typeof _nf=="object")&&_nf.__yyIsGMLObject){_FF=[_nf];}else {_nf=yyGetInt32(_nf);if(_nf==_LE2){_FF=[global];global.marked=false;global.active=true;_by3=true;}else {_FF=GetWithArray(_nf);}}_Bm=yyGetString(_Bm);var _u3=false;if(_FF!=null&&_FF.length>0){for(var _4m=0;!_u3&&(_4m<_FF.length);
_4m++){var _5t=_FF[_4m];if(_5t.__yyIsGMLObject||(!_5t.marked&&_5t.active)){var _CV=undefined;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_CV=g_instance_names[g_var2obf[_Bm]];}else {_CV=g_instance_names[_Bm];}if(_CV==undefined){if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_u3=g_var2obf[_Bm] in _5t;}else {_u3="gml"+_Bm in _5t;}}else {if(_5t.__yyIsGMLObject)_u3=_Bm in _5t||"gml"+_Bm in _5t;else _u3=true;}break;}}}return _u3;}function variable_instance_names_count(_nf){var _u3=0;
var _FF=null;var _by3=false;if((typeof _nf=="object")&&_nf.__yyIsGMLObject){_FF=[_nf];}else {_nf=yyGetInt32(_nf);if(_nf==_LE2){_FF=[global];global.marked=false;global.active=true;_by3=true;}else {_FF=GetWithArray(_nf);}}if(_FF!=null&&_FF.length>0){for(var _4m=0;_4m<_FF.length;_4m++){var _5t=_FF[_4m];if(_5t.__yyIsGMLObject||(!_5t.marked&&_5t.active)){var _og=_ix3(_5t,_by3);return _og.length/2;}}}return _u3;}function _ix3(_RF,_by3){var _u3=[];for(var _x5 in _RF){if(_RF.hasOwnProperty(_x5)){if(_x5.startsWith("gml")){
_u3.push(_x5.substring(3));_u3.push(_x5);}}}var _8k=Object.getOwnPropertyNames(_RF);for(var i=0;i<_8k.length;i++){var prop=_8k[i];var _ey3=prop;if(typeof _OF!="undefined"&&_OF.hasOwnProperty(prop)){_ey3=_OF[prop];}var _fy3=(_by3)?g_global_names[_ey3]!=undefined:g_instance_names[_ey3]!=undefined;if(_RF.__yyIsGMLObject){if(_ey3=="__type")continue;if(!_fy3&&_ey3==prop)continue;}else {if(_fy3)continue;if(_ey3.startsWith("__")){_fy3=(_by3)?g_global_names[_ey3.substring(2)]!=undefined:g_instance_names[_ey3.substring(2)]!=undefined;
if(_fy3)continue;}if(!_fy3&&_ey3==prop)continue;}if(!_ey3.startsWith("gml")){_u3.push(_ey3);_u3.push(prop);}}return _u3;}function variable_instance_get_names(_nf){var _u3=[];var _FF=null;var _by3=false;if((typeof _nf=="object")&&_nf.__yyIsGMLObject){_FF=[_nf];}else {_nf=yyGetInt32(_nf);if(_nf==_LE2){_FF=[global];global.marked=false;global.active=true;_by3=true;}else {_FF=GetWithArray(_nf);}}if(_FF!=null){for(var _4m=0;_4m<_FF.length;_4m++){var _5t=_FF[_4m];if(_5t.__yyIsGMLObject||(!_5t.marked&&_5t.active)){
var _og=_ix3(_5t,_by3);for(var _x5=0;_x5<_og.length;_x5+=2){if(_og[_x5]!="constructor")_u3.push(_og[_x5]);}return _u3;}}}return _u3;}function __yy_gml_copy_prototype(_tj,_wi){Object.setPrototypeOf(_tj,_wi);}function variable_struct_exists(_nf,_R2){return variable_instance_exists(_nf,_R2);}function variable_struct_set(_nf,_R2,_F2){return variable_instance_set(_nf,_R2,_F2);}function variable_struct_set_pre(_nf,_R2,_F2){variable_instance_set(_nf,_R2,_F2);return _F2;}function variable_struct_set_post(_nf,_R2,_F2){
return _dy3(_nf,_R2,_F2);}function variable_struct_get(_nf,_R2){return variable_instance_get(_nf,_R2);}function variable_struct_get_names(_nf){return variable_instance_get_names(_nf);}function variable_struct_names_count(_nf){return variable_instance_names_count(_nf);}function variable_struct_remove(_nf,_Bm){var _FF;if((typeof _nf=="object")&&_nf.__yyIsGMLObject){_FF=[_nf];}else {_nf=yyGetInt32(_nf);if(_nf==_LE2){_FF=[global];global.marked=false;global.active=true;_by3=true;}else {_FF=GetWithArray(_nf);}}_Bm=yyGetString(_Bm);
if(_FF!=null&&_FF.length>0){for(var _4m=0;_4m<_FF.length;_4m++){var _5t=_FF[_4m];if(_5t.__yyIsGMLObject||(!_5t.marked&&_5t.active)){var _cy3;if((typeof g_var2obf!=="undefined")&&(g_var2obf[_Bm]!=undefined)){_cy3=g_var2obf[_Bm];}else {_cy3="gml"+_Bm;}if(Object.prototype.hasOwnProperty.call(_5t,_cy3)){delete _5t[_cy3];}else if(Object.prototype.hasOwnProperty.call(_5t,"gml"+_Bm)){delete _5t["gml"+_Bm];}else if(Object.prototype.hasOwnProperty.call(_5t,_Bm)){delete _5t[_Bm];}}}}}function struct_exists(_nf,_R2){
return variable_instance_exists(_nf,_R2);}function struct_set(_nf,_R2,_F2){return variable_instance_set(_nf,_R2,_F2);}function struct_get(_nf,_R2){return variable_instance_get(_nf,_R2);}function struct_get_names(_nf){return variable_instance_get_names(_nf);}function struct_names_count(_nf){return variable_instance_names_count(_nf);}function struct_remove(_nf,_Bm){return variable_struct_remove(_nf,_Bm);}function struct_foreach(_nf,_Cj){_Cj=_Dj(_Cj,1);_Ej="boundObject" in _Cj?_Cj._Fj:{};var _FF=null;var _by3=false;
if((typeof _nf=="object")&&_nf.__yyIsGMLObject){_FF=[_nf];}else {_nf=yyGetInt32(_nf);if(_nf==_LE2){_FF=[global];global.marked=false;global.active=true;_by3=true;}else {_FF=GetWithArray(_nf);}}if(_FF!=null){for(var _4m=0;_4m<_FF.length;_4m++){var _5t=_FF[_4m];if(_5t.__yyIsGMLObject||(!_5t.marked&&_5t.active)){var _og=_ix3(_5t,_by3);for(var _x5=0;_x5<_og.length;_x5+=2){_Cj(_Ej,_Ej,_og[_x5],_nf[_og[_x5+1]]);}}}}}function struct_get_from_hash(_nf,_gy3){return variable_instance_get(_nf,_gy3);}function struct_set_from_hash(_nf,
_gy3,_F2){return variable_instance_set(_nf,_gy3,_F2);}function variable_get_hash(_R2){return _R2;}_hy3=new Map();function _iy3(_F2,_Ek){if(_hy3.has(_F2)){return _hy3.get(_F2);}if(typeof _F2==="object"){if(_F2 instanceof Long){return _F2;}if(_Ek<=0){return _F2;}if(_F2 instanceof Array){var _Sw1=new Array(_F2.length);_hy3.set(_F2,_Sw1);for(var _x5=0;_x5<_F2.length;++_x5){_Sw1[_x5]=_iy3(_F2[_x5],_Ek-1);}return _Sw1;}var _Sw1=new _FG();_hy3.set(_F2,_Sw1);for(var name in _F2){if(!_F2.hasOwnProperty(name)){continue;}var _14=_iy3(_F2[name],
_Ek-1);if((typeof _14=='function')&&_14._DV&&_14._Fj&&(_14._Fj==_F2)){_14=method(_Sw1,_14);}Object.defineProperty(_Sw1,name,{value:_14,configurable:true,writable:true,enumerable:true});}return _Sw1;}return _F2;}function variable_clone(_F2,_Ek){_Ek=arguments.length>1?Math.max(0,yyGetReal(_Ek)):128;var _Sw1=_iy3(_F2,_Ek);_hy3.clear();return _Sw1;}function vertex_format_begin(){_Ma("vertex_format_begin");}function vertex_format_end(){_Ma("vertex_format_end");}function vertex_format_delete(_jy3){_Ma("vertex_format_delete");
}function vertex_format_add_position(){_Ma("vertex_format_add_position");}function vertex_format_add_position_3d(){_Ma("vertex_format_add_position_3d");}function vertex_format_add_colour(){_Ma("vertex_format_add_colour");}function vertex_format_add_color(){_Ma("vertex_format_add_color");}function vertex_format_add_normal(){_Ma("vertex_format_add_normal");}function vertex_format_add_texcoord(){_Ma("vertex_format_add_texcoord");}function vertex_format_add_textcoord(){_Ma("vertex_format_add_textcoord");}function vertex_format_add_custom(type,
_xc){_Ma("vertex_format_add_custom");}var _ky3=null;function _ly3(){vertex_format_begin=_my3;vertex_format_end=_ny3;vertex_format_delete=_oy3;vertex_format_add_position=_py3;vertex_format_add_position_3d=_qy3;vertex_format_add_colour=_ry3;vertex_format_add_color=_ry3;vertex_format_add_normal=_sy3;vertex_format_add_texcoord=_ty3;vertex_format_add_textcoord=_ty3;vertex_format_add_custom=_uy3;}function _my3(){if(_ky3!=null){debug("ERROR vertex_format_begin: Vertex format is already under construction");
}else {_ky3=new _oX1();}}function _py3(){if(_ky3==null){debug("ERROR vertex_format_add_position: No vertex format is under construction");}else {_ky3._W42();}}function _qy3(){if(_ky3==null){debug("ERROR vertex_format_add_position_3d: No vertex format is under construction");}else {_ky3._zX1();}}function _ry3(){if(_ky3==null){debug("ERROR vertex_format_add_colour: No vertex format is under construction");}else {_ky3._AX1();}}function _sy3(){if(_ky3==null){debug("ERROR vertex_format_add_normal: No vertex format is under construction");
}else {_ky3._CX1();}}function _ty3(){if(_ky3==null){debug("ERROR vertex_format_add_textcoord: No vertex format is under construction");}else {_ky3._BX1();}}function _uy3(_sc,_rc){if(_ky3==null){debug("ERROR vertex_format_add_normal: No vertex format is under construction");}else {_ky3._X42(yyGetInt32(_sc),yyGetInt32(_rc));}}function _ny3(){if(_ky3==null){debug("ERROR vertex_format_end: No vertex format under construction");return -1;}var _T22=_i7._FX1(_ky3);_ky3=null;return _T22;}function _oy3(_vy3){debug("WARNING vertex_format_delete not implemented on HTML5 (System shares vertex formats but doesn't reference count)");
}var _wy3=false;function video_get_format(){var video_format_rgba=0;var video_format_yuv=1;return video_format_rgba;}function video_open(path){_wy3=false;var _xy3=document.querySelector("canvas");if(_xy3._yy3==null){_xy3._yy3=document.createElement('video');}else {_xy3._yy3.pause();}const _zy3=_xy3._yy3;var _Ay3=_Hb1(path);var playing=false;var _By3=false;_zy3.muted=false;_zy3.src=_Ay3;_zy3.addEventListener('ended',function(){var map=ds_map_create();ds_map_add(map,"type","video_end");g_pBuiltIn.async_load=map;
_m2._n2(_MC2,0);ds_map_destroy(map);});function _Cy3(){var _Sb1="mousedown";var _Tb1="mouseup";if("ontouchstart" in window){_Sb1="touchstart";_Tb1="touchend";}if((window.PointerEvent)||(window.navigator.pointerEnabled)||(window.navigator.msPointerEnabled)){_Sb1="pointerdown";_Tb1="pointerup";}var _Dy3=function(){var _xy3=document.querySelector("canvas");const _zy3=_xy3._yy3;if(_zy3!=null)_zy3.muted=false;};document.body.addEventListener(_Sb1,_Dy3,{once:true});document.body.addEventListener(_Tb1,_Dy3,{once:true}
);}if(_zy3.requestVideoFrameCallback===undefined){console.log("requestVideoFrameCallback not supported by browser, video playback likely to be poor");_zy3.addEventListener('playing',function(){playing=true;console.log("Video playing event called");_Ey3();var map=ds_map_create();ds_map_add(map,"type","video_start");g_pBuiltIn.async_load=map;_m2._n2(_MC2,0);ds_map_destroy(map);},true);_zy3.addEventListener('timeupdate',function(){_By3=true;_Ey3();},true);_zy3.load();var _Fy3=_zy3.play();if(_Fy3!==undefined){
_Fy3.then(_TF=>{}).catch(error=>{debug("video_open failed. User must interact with the page before video with audio can be played. Attempting to play the video muted");_zy3.muted=true;_zy3.play();_Cy3();});}function _Ey3(){if(playing&&_By3){if(_xy3._Gy3==null){_xy3._Gy3=document.createElement('canvas');_xy3._Gy3.style.cssText="position:fixed; top:1px; left:1px; width:1px; height:1px";_xy3._Gy3.width=_zy3.videoWidth;_xy3._Gy3.height=_zy3.videoHeight;document.body.appendChild(_xy3._Gy3);_xy3._Hy3=_xy3._Gy3.getContext('2d',
{alpha:false,_Iy3:true,antialias:true,_Jy3:'low-power',preserveDrawingBuffer:true});}else {_xy3._Gy3.width=_zy3.videoWidth;_xy3._Gy3.height=_zy3.videoHeight;}_xy3._Hy3.drawImage(_xy3._yy3,0,0);}}}else {_zy3.addEventListener('playing',function(){playing=true;console.log("Video playing event called");var map=ds_map_create();ds_map_add(map,"type","video_start");g_pBuiltIn.async_load=map;_m2._n2(_MC2,0);ds_map_destroy(map);},true);const _Ky3=(now,_Ly3)=>{if(_xy3._Gy3==null){_xy3._Gy3=document.createElement('canvas');
_xy3._Gy3.style.cssText="position:fixed; top:1px; left:1px; width:1px; height:1px";_xy3._Gy3.width=_zy3.videoWidth;_xy3._Gy3.height=_zy3.videoHeight;document.body.appendChild(_xy3._Gy3);_xy3._Hy3=_xy3._Gy3.getContext('2d',{alpha:false,_Iy3:true,antialias:true,_Jy3:'low-power',preserveDrawingBuffer:true});}else {_xy3._Gy3.width=_zy3.videoWidth;_xy3._Gy3.height=_zy3.videoHeight;}if((_xy3._yy3!=null)&&(_xy3._Hy3!=null))_xy3._Hy3.drawImage(_xy3._yy3,0,0);if(_xy3._yy3!=null){if(_xy3._yy3.src!=null)_xy3._yy3.requestVideoFrameCallback(_Ky3);
else console.log("stopping video player callback check");}};_zy3.requestVideoFrameCallback(_Ky3);_zy3.load();var _Fy3=_zy3.play();if(_Fy3!==undefined){_Fy3.then(_TF=>{}).catch(error=>{debug("video_open failed. User must interact with the page before video with audio can be played. Attempting to play the video muted");_zy3.muted=true;_zy3.play();_Cy3();});}}}function video_close(){_wy3=true;var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){_xy3._yy3.pause();console.log("Pausing video player");
_xy3._yy3.removeAttribute('src');_xy3._yy3.load();}}function _My3(){if(_wy3)return -1;var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){if(_xy3._yy3.paused)return -1;if(!_xy3._yy3.ended)return 0;}return -1;}var _Ny3=-4;var _Oy3=-4;var _Py3=-4;var _Qy3=-4;function _Ry3(_Sy3,width,height){var _xy3=document.querySelector("canvas");if(_xy3._Hy3!=null){var _xu3=_xy3._Hy3.getImageData(0,0,width,height);var _kY2=new Uint8Array(_xu3.data.buffer);var _pW2=new Uint8Array(_Sy3._iN);var _cY2=_kY2.byteLength;if(_pW2.byteLength>=_cY2){
var i;for(i=0;i<_cY2;i++){_pW2[i]=_kY2[i];}_Sy3._vW2(_cY2);}else return 0;return 1;}else console.log("Not rendering video as context is null");return 0;}function _Ty3(){var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null)return _xy3._yy3.videoWidth;return 0;}function _Uy3(){var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null)return _xy3._yy3.videoHeight;return 0;}function video_draw(){if(_My3()!=0){if(surface_exists(_Ny3))surface_free(_Ny3,true);_Ny3=-1;if(_Oy3>=0){buffer_delete(_Oy3);}_Oy3=-1;
_Py3=-1;_Qy3=-1;var _u3=[];_u3[0]=_My3();_u3[1]=-1;_u3[2]=-1;return _u3;}else {if(!surface_exists(_Ny3)){_Py3=1;_Qy3=1;_Ny3=surface_create(1,1,_fr);if(_Oy3>=0){buffer_delete(_Oy3);}_Oy3=buffer_create(1*1*4,_d_,1);}if(_Ty3()!=0&&_Uy3()!=0){if(_Py3!=_Ty3()||_Qy3!=_Uy3()){_Py3=_Ty3();_Qy3=_Uy3();if(surface_exists(_Ny3)){surface_free(_Ny3,true);}if(_Oy3>=0){buffer_delete(_Oy3);}_Ny3=surface_create(_Py3,_Qy3,_fr);_Oy3=buffer_create(_Py3*_Qy3*4,_d_,1);}}var _G9=_fN._I4(_Oy3);if(!_Ry3(_G9,_Py3,_Qy3)){var _u3=[];
_u3[0]=-1;_u3[1]=-1;_u3[2]=-1;return _u3;}buffer_set_surface(_Oy3,_Ny3,0);var _u3=[];_u3[0]=_My3();_u3[1]=_Ny3;_u3[2]=-1;return _u3;}}function video_set_volume(_Vy3){var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){_xy3._yy3.volume=_Vy3;}}function video_pause(){var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){_xy3._yy3.pause();}}function video_resume(){var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){_xy3._yy3.play();}}function video_enable_loop(loop){var _xy3=document.querySelector("canvas");
if(_xy3._yy3!=null)_xy3._yy3.loop=loop;}function video_seek_to(__j){var _Wy3=__j/1000.0;var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){_xy3._yy3.currentTime=_Wy3;}}function video_get_duration(){var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){if(!isNaN(_xy3._yy3.duration))return _xy3._yy3.duration*1000;}return 0;}function video_get_position(){var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){return _xy3._yy3.currentTime*1000;}return 0;}function video_get_status(){if(_wy3)return 0;
var _xy3=document.querySelector("canvas");var video_status_closed=0;var video_status_preparing=1;var video_status_playing=2;var video_status_paused=3;if(_xy3._yy3!=null){if(_xy3._yy3.ended)return video_status_closed;if(_xy3._yy3.paused)return video_status_paused;if(_xy3._yy3.readyState<_xy3._yy3._Xy3)return video_status_preparing;return video_status_playing;}return video_status_closed;}function video_is_looping(){var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){return _xy3._yy3.loop;}return 0;}function video_get_volume(){
var _xy3=document.querySelector("canvas");if(_xy3._yy3!=null){return _xy3._yy3.volume;}return 0;}/*@constructor */function _iL2(){this.__type="[View]";this.visible=false;this._9i1=0;this._ai1=0;this._bi1=640;this._ci1=480;this._Ej3=0;this._Fj3=0;this._Gj3=640;this._Hj3=480;this.angle=0;this._gf=0;this._if=0;this._hf=0;this._jf=0;this._2n3=640;this._3n3=480;this._4n3=1;this._5n3=1;this.hborder=32;this.vborder=32;this.hspeed=-1;this.vspeed=-1;this._3m=-1;this._tM=-1;this._Y61=-1;this._kw2=-1;}_iL2.prototype._ri=function(_si){
this.visible=_si.visible;this._9i1=_si._9i1;this._ai1=_si._ai1;this._bi1=_si._bi1;this._ci1=_si._ci1;this._Ej3=_si._Ej3;this._Fj3=_si._Fj3;this._Gj3=_si._Gj3;this._Hj3=_si._Hj3;this.angle=_si.angle;this._gf=_si._gf;this._if=_si._if;this._hf=_si._hf;this._jf=_si._jf;this._2n3=_si._2n3;this._3n3=_si._3n3;this._4n3=_si._4n3;this._5n3=_si._5n3;this.hborder=_si.hborder;this.vborder=_si.vborder;this.hspeed=_si.hspeed;this.vspeed=_si.vspeed;this._3m=_si._3m;this._tM=_si._tM;this._Y61=_si._Y61;};_iL2.prototype._Yy3=function(_u4,
_v4,_Zy3){var _K93=_ff;_u4=(_u4-_K93.left-this._gf)/(_K93.scaleX||1);_v4=(_v4-_K93.top-this._if)/(_K93.scaleY||1);if(_z2){var _Vx2=_li1._ww2(this._Y61);if(_Vx2==null)return 0;var __y3=_u4/this._2n3;var _0z3=_v4/this._3n3;__y3=__y3*2.0-1.0;_0z3=_0z3*2.0-1.0;var _1z3=_Vx2._qx2();var out;if(_Zy3){out=((__y3*_1z3._z5[_9A])+(_0z3*_1z3._z5[_aA])+_1z3._z5[_cA]);}else {out=((__y3*_1z3._z5[_dA])+(_0z3*_1z3._z5[_4z])+_1z3._z5[_fA]);}return Math.floor(out);}else {if(_Zy3){_u4/=this._4n3;return _u4+this._9i1;}else {_v4/=this._5n3;
return _v4+this._ai1;}}};_iL2.prototype._kf=function(_u4,_v4){return this._Yy3(_u4,_v4,true);};_iL2.prototype._lf=function(_u4,_v4){return this._Yy3(_u4,_v4,false);};function _oj3(_2z3){var _Wy=new _iL2();if(_2z3.visible!=undefined)_Wy.visible=_2z3.visible;if(_2z3.xview!=undefined)_Wy._9i1=_2z3.xview;if(_2z3.yview!=undefined)_Wy._ai1=_2z3.yview;if(_2z3.wview!=undefined)_Wy._bi1=_2z3.wview;if(_2z3.hview!=undefined)_Wy._ci1=_2z3.hview;if(_2z3.xport!=undefined)_Wy._Ej3=_2z3.xport;if(_2z3.yport!=undefined)_Wy._Fj3=_2z3.yport;
if(_2z3.wport!=undefined)_Wy._Gj3=_2z3.wport;if(_2z3.hport!=undefined)_Wy._Hj3=_2z3.hport;if(_2z3.angle!=undefined)_Wy._Hj3=_2z3.angle;if(_2z3.hborder!=undefined)_Wy.hborder=_2z3.hborder;if(_2z3.vborder!=undefined)_Wy.vborder=_2z3.vborder;if(_2z3.hspeed!=undefined)_Wy.hspeed=_2z3.hspeed;if(_2z3.vspeed!=undefined)_Wy.vspeed=_2z3.vspeed;if(_2z3.index!=undefined)_Wy._3m=_2z3.index;if(_z2){if(_2z3._Y61!==undefined&&_2z3._Y61>=0){_Wy._Y61=_li1._uw2(_2z3._Y61);}else {var _Mw2=_li1._Ow2(_Wy);_Mw2._pw2(true);
_Wy._Y61=_Mw2._sx2();}}return _Wy;}/*@constructor */function _3z3(){this.__yyIsGMLObject=true;this.__type="[weakref]";this._4z3=null;this._5z3=function(){if(this._4z3==null){return undefined;}else if(this._4z3.deref()==undefined){return false;}return true;};this._6z3=function(_7z3){if(typeof WeakRef==="undefined"){this._4z3=null;}else {this._4z3=new WeakRef(_7z3);}};Object.defineProperties(this,{gmlref:{enumerable:true,get :function(){return(this._4z3==null)?undefined:((this._4z3.deref()==undefined)?undefined:this._4z3.deref());
}}});}function weak_ref_create(_7z3){if(_7z3!=undefined){if((typeof(_7z3)=="object")||(typeof(_7z3)=="function")){var _8z3=new _3z3();_8z3._6z3(_7z3);return _8z3;}else {_L3("invalid argument passed to weak_ref_create");}}else {_L3("incorrect number of arguments to weak_ref_create");}return undefined;}function weak_ref_alive(_9z3){if(_9z3!=undefined){if((typeof(_9z3)=="object")&&(_9z3.__type!=undefined)&&(_9z3.__type=="[weakref]")){return _9z3._5z3();}return undefined;}else {_L3("incorrect number of arguments to weak_ref_alive");
}}function weak_ref_any_alive(_lk,_N2,_Xd1){if(_lk==undefined){_L3("incorrect number of arguments to weak_ref_any_alive");}else if(Array.isArray(_lk)==false){_L3("first argument to weak_ref_any_alive is not an array");}else {var index=0;var length=_lk.length;if(_N2!=undefined){index=_N2;}if(_Xd1!=undefined){length=_Xd1;}if(index<0){length+=index;index=0;}if(index>=_lk.length){return;}if((index+length)>=_lk.length){length=_lk.length-index;}if(length<=0){return;}if(length>0){var _ta=false;var end=index+length;
for(var i=index;i<end;i++){var _kk=_lk[i];if((typeof(_kk)=="object")&&(_kk.__type!=undefined)&&(_kk.__type=="[weakref]")){var _az3=_kk._5z3();if(_az3==undefined){return undefined;}else if(_kk._5z3()==true){_ta=true;}}else {return undefined;}}return _ta;}}return undefined;}var _i7=null;var _aX1=false;var _bz3=null;var _cz3=null;var _Sy=true;var _Ey=false,_Ty=false,_7i3=_d9._e9,_8i3=_d9._g9,_nB=0,_pB=0.0,_dz3=[],_Py={_mu:true,_nu:true,_ou:true,alpha:true};var _X9=0.0,_Gy=true,_Iy=true,_Ky=true,_ez3=_d9._E02;var _sz=null,
_zz=null,_wz=null,_Bz=null,_Gz=null,_xz=[],_Cz=[];var _yz=0;var _Dz=1;var _733=false,_NL=false,_PL=1.0;var _oZ2=[];var _sA=null,_fz3=null,_gz3=0;var _tA=0,_wA=1,_Zz=2,_hz3=16;var _Ob=16384;var _iz3=36,_jz3=[],_kz3=[];var _lz3=0.5;var _3X1=null;var _4X1=null;var _5X1=null;var _6X1=null;var _7X1=null;var _8X1=null;var _9X1=null;var _jX1=null;var _fX1=false;var _hX1=false;var _gX1=false;var _iX1=false;var _dX1=false;var _bX1=false;var _cX1=false;var _eX1=false;var _kX1=false;var _lX1=false;function _563(){_ow();_ly3();_VY2();
_jb();_2L(_iz3);_Ub=_mz3;_Ei1=_nz3;_Ci1=_oz3;_j33=_pz3;_v53=_qz3;_VJ=_rz3;_h33=_sz3;_s53=_tz3;_XJ=_uz3;_3K=_vz3;_i53=_wz3;_u53=_xz3;_w53=_yz3;_t53=_zz3;_u63=_Az3;_Gr=_Bz3;_Kr=_Cz3;_Rr=_Dz3;_J63=_Ez3;_x53=_Fz3;_y53=_Gz3;_Or=_Hz3;draw_rectangle=_Iz3;draw_roundrect_color_ext=_Jz3;draw_rectangle_color=_Kz3;draw_roundrect_colour_ext=_Jz3;draw_rectangle_colour=_Kz3;_bp=_Lz3;draw_point=_Mz3;draw_getpixel=_Nz3;draw_getpixel_ext=_Oz3;draw_triangle=_Pz3;draw_triangle_color=_Qz3;draw_ellipse_color=_Rz3;draw_circle_color=_Sz3;
draw_point_color=_Tz3;draw_triangle_colour=_Qz3;draw_ellipse_colour=_Rz3;draw_circle_colour=_Sz3;draw_point_colour=_Tz3;draw_line=_Uz3;draw_line_width=_Vz3;draw_line_width_color=_Wz3;draw_line_width_colour=_Wz3;draw_clear_alpha=_Xz3;draw_set_color=_Yz3;draw_set_colour=_Yz3;draw_set_alpha=_Zz3;_nL=__z3;_fn1=_0A3;draw_surface=_1A3;draw_path=_2A3;mp_grid_draw=_3A3;_i7._sf1=_4A3;surface_create=_5A3;surface_free=_6A3;surface_getpixel=_7A3;surface_getpixel_ext=_8A3;surface_copy=_9A3;surface_copy_part=_aA3;
_br=_bA3;_nr=_cA3;_mf1=_dA3;sprite_create_from_surface=_eA3;sprite_add_from_surface=_fA3;_1s=_gA3;_i81=_hA3;_j81=_iA3;_k81=_jA3;_l81=_kA3;_m81=_lA3;_n81=_mA3;_o81=_nA3;_p81=_oA3;_q81=_pA3;_r81=_qA3;_s81=_rA3;_t81=_sA3;_u81=_tA3;_v81=_uA3;_w81=_vA3;shaders_are_supported=_wA3;_x81=_xA3;_uR2=_yA3;_cz=_zA3;_vR2=_AA3;_K53=_BA3;_wR2=_CA3;_bz=_DA3;texture_get_width=_EA3;texture_get_height=_FA3;texture_get_uvs=_GA3;_5T2=_HA3;_6T2=_IA3;_7T2=_JA3;_8T2=_KA3;buffer_get_surface=_LA3;buffer_set_surface=_MA3;_NA3();
}function _OA3(_tW1){var options={_vX1:((_vD.Swfs!==undefined)?true:false),_wX1:(_vD.Options.WebGLPreserveDrawingBuffer?true:false),_XW1:_FK2};_i7=new _sW1(_tW1,options);if(!_i7._LW1){_i7=null;return false;}if(!_PA3())return false;if(!_QA3())return false;if(!_RA3())return false;_fz3=[];for(var i=0;i<_hz3;i++){_fz3[i]=new _Dy();}_gz3=-1;_5z=1;_Li1=new _Dy();_tK2=new _Dy();var _SA3=_i7._RY1();for(var i=0;i<_SA3;i++){_dz3[i]=false;}return true;}function _2L(_XG){var _x5=_XG;if(_x5<4)_x5=4;if(_x5>64)_x5=64;_x5=4*((_x5/4)|0);
_iz3=_x5;_jz3[0]=1;_kz3[0]=0;for(var i=1;i<_x5;i++){_jz3[i]=Math.cos(i*2*Math.PI/_x5);_kz3[i]=Math.sin(i*2*Math.PI/_x5);}_jz3[_x5]=1;_kz3[_x5]=0;}function _4L(){return _iz3;}function _NA3(){_xu(0,0xff000000,0,0);_5T2(0);_8T2(0);_TA3();}function _PA3(){return _UA3();}function _QA3(){var _VA3=document.createElement(_cE);_VA3._3c=_VA3.width=16;_VA3._4c=_VA3.height=16;_VA3.complete=true;_VA3._Uh1=false;_VA3.name="";_VA3._59=_VA3.getContext('2d');_VA3._59.save();_VA3._59.setTransform(1,0,0,1,0,0);_VA3._59.globalAlpha=1;
_VA3._59.fillStyle='#ffffff';_VA3._59.fillRect(0,0,16,16);_VA3._59.restore();var _F3=new _lr();_F3.x=0;_F3.y=0;_F3.w=15;_F3.h=15;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=15;_F3.CropHeight=15;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=-1;_F3.texture=_VA3;_F3._t7=[];_F3._v7=1;_F3._u7=0;_Q7(_F3);_i7._A_1(_F3.texture._R7);return true;}function _RA3(){_sz=new Float32Array(_d9._H_1*4);_zz=new Float32Array(_d9._H_1*4);_wz=new Float32Array(_d9._H_1*4);_Bz=new Float32Array(4);_Bz[0]=1;_Bz[1]=1;_Bz[2]=1;_Bz[3]=1;var _rz;for(var i=0;
i<_d9._H_1;i++){_wz[i]=0;_rz=i*4;_sz[_rz+0]=0;_sz[_rz+1]=0;_sz[_rz+2]=0;_sz[_rz+3]=0;_zz[_rz+0]=0;_zz[_rz+1]=0;_zz[_rz+2]=0;_zz[_rz+3]=0;_Cz[i]=false;}return true;}function _TA3(){var _WA3=sprite_get_texture;sprite_get_texture=function(_y01,_XA3){var texture=_WA3(_y01,_XA3);if(texture&&!texture._Lb._R7){_Q7(texture._Mb);}return texture;};var _YA3=_bs;_bs=function(_x3){var texture=_YA3(_x3);if(texture&&!texture._Lb._R7){_Q7(texture._Mb);}return texture;};_xz3();}function _xz3(){_i7._sY1();_i7._Uy(_Vy());_i7._NY1(_nB,
_pB);_i7._Hz(_Gz);_i7._Fz(_Bz);_i7._Qy(_Py._mu,_Py._nu,_Py._ou,_Py.alpha);for(var i=0;i<_d9._H_1;i++){_i7._Az(i,_zz.subarray(i*4,(i+1)*4),_sz.subarray(i*4,(i+1)*4),_wz.subarray(i*4,(i+1)*4));}}function _yz3(){_i7._tY1();}function _uz3(_ZA3){if(_ZA3){_bz3={};if(_ZA3._fn3){_bz3._Ey=_Ey;_bz3._Ty=_Ty;_bz3._Gz=new Float32Array(_Gz);if(_z2){_bz3._Ky=gpu_get_cullmode();_bz3._Gy=gpu_get_ztestenable();_bz3._Iy=gpu_get_zwriteenable();}_Ey=false;_Ty=false;_xu(0,0xff000000,0,0);_i7._Fy(false);_i7._Jy(false);_i7._Hy(false);
_i7._Uy(_Vy());}if(_ZA3._gn3){_bz3.__A3=_i7._p9._q9(_d9._r9);_bz3._0B3=_i7._p9._q9(_d9._s9);_i7._wY1(_d9._h9,_d9._7B);}}}function _vz3(_1B3){if(_bz3&&_1B3){if(_1B3._in3){_Ey=_bz3._Ey;_Ty=_bz3._Ty;_Gz=new Float32Array(_bz3._Gz);_i7._Hz(_Gz);if(_Ey||_z2){if(_z2){_i7._Jy(_bz3._Ky);_i7._Fy(_bz3._Gy);_i7._Hy(_bz3._Iy);}else {_i7._Fy(_Gy);_i7._Hy(_Iy);_i7._Jy(_Ky);}}_i7._Uy(_Vy());}if(_1B3._jn3){_i7._wY1(_bz3.__A3,_bz3._0B3);}_bz3=null;}}function _Vy(){var _SX1=undefined;if(_Ty){_SX1=_i7._NW1;}else {_SX1=_i7._MW1;
}return _SX1;}function _qz3(_Ll,_Ml,_m63,_n63){var _2B3=_Im1;var _3B3=_Jm1;_tK2._yA();var w=_Im1/_Ll;var h=_Jm1/_Ml;_tK2.__z((_2B3*-0.5+_m63)/_Ll,(_3B3*-0.5+_n63)/_Ml,16000);_Li1._8z(w,-h*_5z,1.0,32000.0);_Yz(_tA,_tK2);_Yz(_wA,_Li1);}function _nz3(_o63,_p63,_q63,_r63,_y4){if(!_Ey){_l63(_o63,_p63,_q63,_r63,_y4);}else {var angle=-_y4*(Math.PI/180.0);var _Ml2=new _Xy((_o63+_q63/2.0),(_p63+_r63/2.0),-_q63);var _Ul2=new _Xy((_o63+_q63/2.0),(_p63+_r63/2.0),0.0);var _1m2=new _Xy(Math.sin(angle),Math.cos(angle),0.0);_tK2.__y(_Ml2,
_Ul2,_1m2);if(false==_Sy){_Li1._8z(_q63,-_r63*_5z,1.0,32000.0);}else {_Li1._9z(1.0,_r63/_q63,1.0,32000.0);}_Li1._z5[_4z]*=_5z;}_Yz(_tA,_tK2);_Yz(_wA,_Li1);_Yz(_Zz,_sA[_Zz]);_aM=_o63;_bM=_p63;_8M=_q63;_9M=_r63;}function _oz3(_KX1,_LX1,_MX1,_NX1){__J=_KX1;_0K=_LX1;_1K=_MX1;_2K=_NX1;var _T5=_LX1;if(_5z==1){_T5=window_get_height()-(_NX1+_LX1);}_i7._JX1(_KX1,_T5,_MX1,_NX1);_i7._Fi1();}function _rz3(_7c){_i7._Fi1();_i7._PZ1(true,true,true,_Ub(_7c)|0xff000000);}function _Xz3(_7c,_y8){_i7._Fi1();_y8=yyGetReal(_y8);
if(_y8>1)_y8=1;if(_y8<0)_y8=0;var _q3=((_y8*255.0)<<24)|_Ub(yyGetInt32(_7c));_i7._PZ1(true,true,false,_q3);}function _mz3(_7c){return(_7c&0x00ffffff);}function _Zz3(_y8){if(_y8<0){_y8=0;}if(_y8>1){_y8=1;}_Rb=_y8;}function _pz3(_jl){if(arguments.length>0){var _YJ=arguments[0];}else {}}function _sz3(_u4,_v4,_A3,_B3,_y4){}function _tz3(_Pv){}function _wz3(_on,_dn,_u4,_v4,_gn,_hn,_y4,_7c,_y8){if(!_cz3){var _76=1024;var _86=1024;var _W3=_s63(_76,_86);var _F3=new _lr();_F3.x=0;_F3.y=0;_F3.w=_76;_F3.h=_86;_F3.XOffset=0;
_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_W3;_F3.texture=_J3[_F3.tp];_cz3=_F3;}var c=document.createElement("canvas");var _2a=c.getContext("2d");_on="20px arial";_2a.font=_on;_2a.textBaseline="top";_2a.textAlign="left";var _4B3=_2a.measureText(_dn);var width=_4B3.width;var height=20;c.width=width;c.height=height;_2a.globalAlpha=0.0;_2a.globalCompositeOperation="copy";_2a.fillStyle="black";_2a.fillRect(0,0,c.width,c.height);_2a.globalAlpha=1.0;_2a.globalCompositeOperation="source-over";
_2a.fillStyle="white";_2a.fillText(_dn,0,0);}function _nA(_Pv){if(_gz3>=_hz3){return false;}_gz3++;if(_gz3==0){_fz3[_gz3]=new _Dy(_Pv);}else {_fz3[_gz3].Multiply(_fz3[_gz3-1],_Pv);}return true;}function _oA(_Pv){if(_gz3<0){return false;}_Yz(_Zz,_fz3[_gz3]);_gz3--;return true;}function _lA(){_gz3=-1;}function _mA(){if(_gz3<0){return true;}return false;}function _pA(){if(_gz3<0){return false;}_Yz(_Zz,_fz3[_gz3]);return true;}function _qA(){if(_gz3<0){return false;}_gz3--;return true;}function _Bz3(_Yf1,_u4,_v4,_y8){
var _G9,_K43,_5B3,_N9,_P9,_R9,_q3;if(!_Yf1.texture._R7){if(_Yf1.w==0||_Yf1.h==0)return;_Q7(_Yf1);}_G9=_i7._H9(_d9._I9,_Yf1.texture._R7,_i7._J9,6);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=6;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;_N9=_G9._O9;_P9=_G9._Q9;_R9=_G9._S9;_u4=_u4+_Yf1.XOffset;_v4=_v4+_Yf1.YOffset;_N9[_T9+0]=_N9[_na+0]=_N9[_oa+0]=_u4;_N9[_T9+1]=_N9[_la+1]=_N9[_oa+1]=_v4;_N9[_la+0]=_N9[_34+0]=_N9[_ma+0]=_u4+_Yf1.CropWidth;_N9[_34+1]=_N9[_ma+1]=_N9[_na+1]=_v4+_Yf1.CropHeight;
_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;_R9[_T9+0]=_R9[_na+0]=_R9[_oa+0]=_Yf1.x/_Yf1.texture.width;_R9[_T9+1]=_R9[_la+1]=_R9[_oa+1]=_Yf1.y/_Yf1.texture.height;_R9[_la+0]=_R9[_34+0]=_R9[_ma+0]=(_Yf1.x+_Yf1.w)/_Yf1.texture.width;_R9[_34+1]=_R9[_ma+1]=_R9[_na+1]=(_Yf1.y+_Yf1.h)/_Yf1.texture.height;_q3=((_y8*255.0)<<24)|0xffffff;var _sn=_q3,_tn=_q3,_un=_q3,_vn=_q3;if(_733){_sn&=0xfffefffe;_tn&=0xfffefffe;_un&=0xfffefffe;_vn&=0xfffefffe;_tn|=0x00010000;_un|=0x00000001;_vn|=0x00010001;
}_P9[_T9]=_P9[_oa]=_sn;_P9[_la]=_tn;_P9[_34]=_P9[_ma]=_un;_P9[_na]=_vn;}function _4A3(_Yf1,_m63,_n63,_6B3,_7B3,_u4,_v4,_oi,_pi,_ap,_rn,_uK,_vK){var _G9,_K43,_5B3,_N9,_P9,_R9,_q3;if(!_Yf1.texture._R7){if(_Yf1.w==0||_Yf1.h==0)return;_Q7(_Yf1);}if(_ap==undefined){_ap=_rn=_uK=_vK=0xffffffff;}if(_rn==undefined){_rn=_uK=_vK=_ap;}_G9=_i7._H9(_d9._I9,_Yf1.texture._R7,_i7._J9,6);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=6;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;
_N9=_G9._O9;_P9=_G9._Q9;_R9=_G9._S9;_N9[_T9+0]=_N9[_na+0]=_N9[_oa+0]=_u4;_N9[_T9+1]=_N9[_la+1]=_N9[_oa+1]=_v4;_N9[_la+0]=_N9[_34+0]=_N9[_ma+0]=_u4+_oi;_N9[_34+1]=_N9[_ma+1]=_N9[_na+1]=_v4+_pi;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;_R9[_T9+0]=_R9[_na+0]=_R9[_oa+0]=_m63/_Yf1.texture.width;_R9[_T9+1]=_R9[_la+1]=_R9[_oa+1]=_n63/_Yf1.texture.height;_R9[_la+0]=_R9[_34+0]=_R9[_ma+0]=(_m63+_6B3)/_Yf1.texture.width;_R9[_34+1]=_R9[_ma+1]=_R9[_na+1]=(_n63+_7B3)/_Yf1.texture.height;
if(_733){_ap&=0xfffefffe;_rn&=0xfffefffe;_uK&=0xfffefffe;_vK&=0xfffefffe;_rn|=0x00010000;_uK|=0x00000001;_vK|=0x00010001;}_P9[_T9]=_P9[_oa]=_ap;_P9[_la]=_rn;_P9[_34]=_P9[_ma]=_uK;_P9[_na]=_vK;}function _Cz3(_Yf1,_u4,_v4,_C63,_D63,vtiled,htiled,_7c,_y8){var _G9,_K43,_5B3,_N9,_P9,_R9,w,h;if(!_Yf1.texture._R7){if(_Yf1.w==0||_Yf1.h==0)return;_Q7(_Yf1);}var _8B3=abs(_C63);var _9B3=abs(_D63);var ow=_Yf1.ow*_8B3;var oh=_Yf1.oh*_9B3;var _ju3=_RL.left;var _ku3=_RL.top;var _aB3=(_RL.right-_RL.left);var _bB3=(_RL.bottom-_RL.top);
w=ow;h=oh;if(htiled){w=(((_aB3+(ow-1))/ow)+2)*ow;_u4=_ju3+_pL2(_u4-_ju3,ow)-ow;}if(vtiled){h=(((_bB3+(oh-1))/oh)+2)*oh;_v4=_ku3+_pL2(_v4-_ku3,oh)-oh;}if((ow<=0)||(oh<=0))return;var colour=_Ub(_7c)|(~~((_y8*255.0)<<24));var _sn=colour,_tn=colour,_un=colour,_vn=colour;if(_733){_sn&=0xfffefffe;_tn&=0xfffefffe;_un&=0xfffefffe;_vn&=0xfffefffe;_tn|=0x00010000;_un|=0x00000001;_vn|=0x00010001;}var _cB3=1.0/_Yf1.texture.width;var _dB3=1.0/_Yf1.texture.height;var _04=(_Yf1.x*_cB3);var _24=(_Yf1.x+_Yf1.w)*_cB3;var _14=(_Yf1.y*_dB3);
var _34=(_Yf1.y+_Yf1.h)*_dB3;var _eB3=_C63*_Yf1.CropWidth;var _fB3=_D63*_Yf1.CropHeight;var _FZ=(w/ow);var _GZ=(h/oh);var _T5=_v4+(_Yf1.YOffset*_9B3);for(var _mt=0;_mt<_GZ;_mt++,_T5+=(_Yf1.oh*_9B3)){var _R5=_u4+(_Yf1.XOffset*_8B3);var __K=_T5+_fB3;for(var _lt=0;_lt<_FZ;_lt++,_R5+=(_Yf1.ow*_8B3)){_G9=_i7._H9(_d9._I9,_Yf1.texture._R7,_i7._J9,6);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=6;_N9=_G9._O9;_P9=_G9._Q9;_R9=_G9._S9;var _YK=_R5+_eB3;_P9[index]=_vn;_N9[index+0]=_R5;_N9[index+1]=_T5;_N9[index+2]=_X9;
_R9[index+0]=_04;_R9[index+1]=_14;index+=_K9;_P9[index]=_sn;_N9[index+0]=_YK;_N9[index+1]=_T5;_N9[index+2]=_X9;_R9[index+0]=_24;_R9[index+1]=_14;index+=_K9;_P9[index]=_tn;_N9[index+0]=_YK;_N9[index+1]=__K;_N9[index+2]=_X9;_R9[index+0]=_24;_R9[index+1]=_34;index+=_K9;_P9[index]=_tn;_N9[index+0]=_YK;_N9[index+1]=__K;_N9[index+2]=_X9;_R9[index+0]=_24;_R9[index+1]=_34;index+=_K9;_P9[index]=_un;_N9[index+0]=_R5;_N9[index+1]=__K;_N9[index+2]=_X9;_R9[index+0]=_04;_R9[index+1]=_34;index+=_K9;_P9[index]=_sn;
_N9[index+0]=_R5;_N9[index+1]=_T5;_N9[index+2]=_X9;_R9[index+0]=_04;_R9[index+1]=_14;}}}function _Fz3(_gB3,_a13,_o8,_rl3,_sl3,x,y,_xQ,_yQ,angle,color,alpha,_hB3){var _iB3=_Py;var _jB3=_Ey;_o8=~~_o8%(_a13._Zu2);if(_o8<0){_o8=_o8+(_a13._Zu2);}var _kB3=(color|((alpha*255)&0xff)<<24);var _lB3=[];_lB3[0]=_kB3&0xff;_lB3[1]=(_kB3>>8)&0xff;_lB3[2]=(_kB3>>16)&0xff;_lB3[3]=(_kB3>>24)&0xff;var _mB3=new _Dy();_mB3.__z(x,y,0.0);var _Jk3=new _Dy();_Jk3._3A(angle);var _nB3=new _Dy();_nB3.__z(-_rl3/_Wu2,-_sl3/_Wu2,0.0);var _Ik3=new _Dy();
_Ik3._0A(_Wu2*_xQ,_Wu2*_yQ,1.0);var _oB3=new _Dy();_oB3.Multiply(_nB3,_Ik3);var _pB3=new _Dy();_pB3.Multiply(_oB3,_Jk3);var _qB3=new _Dy();_qB3.Multiply(_pB3,_mB3);var translate=new _Dy();translate.__z(0.5,0.5,0.0);var scale=new _Dy();scale._0A(1.0/32768.0,1.0/32768.0,1.0);var _rB3=new _Dy();_rB3.Multiply(scale,translate);var _5v2=_a13._4v2[_o8];var _sB3=[],_tB3=0,_uB3=0,_vB3=true;for(var i=0;i<_5v2._6v2;i++){var _ZE=_5v2._7v2[i];for(var _35=0;_35<_tB3;){var _wB3=_sB3[_35];if(_wB3._8v2<_ZE.depth){_i7._UY1(_d9._A02);
_i7._WY1(_d9._s02);_i7._Qy(false,false,false,false);_i7._Hy(false);_uB3+=_y53(_gB3,_wB3,_qB3,_rB3,_kB3,_lB3,false,_hB3);_i7._ZY1(_tB3-1);_i7._UY1(_d9._v02);_i7._WY1(_d9._l02);_i7._Qy(_iB3._mu,_iB3._nu,_iB3._ou,_iB3.alpha);_i7._Hy(_jB3);_vB3=true;_tB3--;for(var _qk=_35;_qk<_tB3;_qk++){_sB3[_qk]=_sB3[_qk+1];}}else {_35++;}}if(_ZE._8v2>0){_sB3[_tB3++]=_ZE;_i7._SY1(true);_i7._UY1(_d9._A02);_i7._WY1(_d9._r02);_i7._Qy(false,false,false,false);_i7._Hy(false);_vB3=false;}if(_tB3==0){_i7._SY1(false);_vB3=true;
}_uB3+=_y53(_gB3,_ZE,_qB3,_rB3,_kB3,_lB3,_vB3?_NL:false,_hB3);if(_ZE._8v2>0){_i7._ZY1(_tB3);_i7._UY1(_d9._v02);_i7._WY1(_d9._l02);_i7._Qy(_iB3._mu,_iB3._nu,_iB3._ou,_iB3.alpha);_i7._Hy(_jB3);_vB3=true;}}if(_tB3>0){_i7._UY1(_d9._A02);_i7._WY1(_d9._s02);_i7._Qy(false,false,false,false);_i7._Hy(false);for(var _35=0;_35<_tB3;_35++){var _wB3=_sB3[_35];_uB3+=_y53(_gB3,_wB3,_qB3,_rB3,_kB3,_lB3,false,_hB3);}}_i7._SY1(false);_i7._Qy(_iB3._mu,_iB3._nu,_iB3._ou,_iB3.alpha);_i7._Hy(_jB3);}function _Gz3(_wL,_xB3,
_yB3,_zB3,_AB3,_BB3,_CB3,_hB3){var _DB3=[];_DB3[0]=_BB3[0],_DB3[1]=_BB3[1],_DB3[2]=_BB3[2],_DB3[3]=0;var _EB3=new _Dy();_EB3.Multiply(_xB3._cu2,_yB3);var _FB3=1.0;if(_CB3){_FB3=_GB3(_xB3,_EB3)*_PL;}var _9v2=[],_av2=[],_HB3=[];for(var i=0;i<4;i++){_9v2[i]=_xB3._bv2[i];_av2[i]=_xB3._cv2[i];_HB3[i]=_xB3._dv2[i];}var _IB3=0;if(_xB3._IP!==0){var _Tk=_wL[_xB3.index];if(_Tk.type===_Lt2){var _Dt3=_Tk;for(var _35=0;_35<_Dt3._Yt2.length;_35++){var _Id1=_Dt3._Yt2[_35];for(var _qk=0;_qk<_Id1._0u2;_qk++){var _Au2=_Id1._4u2[_qk];
if((_Au2._Cu2>=0)&&(_Au2._Fu2>0)){var _JB3=_Id1._2u2[_Au2._Cu2];if((_JB3!==null)&&(_JB3!==undefined)){var _9u2=_JB3.type;if(_9u2===_Ot2){_IB3+=_KB3(_xB3,_JB3,_Au2,_EB3,_BB3,_DB3,_9v2,_av2,_HB3,_CB3);}else if((_9u2==_Pt2)||(_9u2==_Qt2)){_IB3+=_LB3(_wL,_xB3,_9u2,_JB3,_Au2,_zB3,_EB3,_BB3,_DB3,_AB3,_9v2,_av2,_HB3,_CB3,_hB3);}}}if((_Au2._Du2>=0)&&(_Au2._Hu2>0)){var _q3=_Id1._3u2[_Au2._Du2]._q3;var _yu2=[];_yu2[0]=((_q3&0xff)*_BB3[0])>>8;_yu2[1]=(((_q3>>8)&0xff)*_BB3[1])>>8;_yu2[2]=(((_q3>>16)&0xff)*_BB3[2])>>8;
_yu2[3]=(((_q3>>24)&0xff)*_BB3[3])>>8;for(var _N5=0;_N5<4;_N5++){_yu2[_N5]=((_yu2[_N5]*_9v2[_N5])>>8)+_av2[_N5];_yu2[_N5]=Math.max(0,Math.min(_yu2[_N5],255));}var _MB3=_yu2[0]|(_yu2[1]<<8)|(_yu2[2]<<16)|(_yu2[3]<<24);var _NB3=[];_NB3[0]=((_q3&0xff)*_DB3[0])>>8;_NB3[1]=(((_q3>>8)&0xff)*_DB3[1])>>8;_NB3[2]=(((_q3>>16)&0xff)*_DB3[2])>>8;_NB3[3]=(((_q3>>24)&0xff)*_DB3[3])>>8;for(var _N5=0;_N5<4;_N5++){_NB3[_N5]=((_NB3[_N5]*_9v2[_N5])>>8)+_HB3[_N5];_NB3[_N5]=_L5(0,_M5(_NB3[_N5],255));}var _OB3=_NB3[0]|(_NB3[1]<<8)|(_NB3[2]<<16)|(_NB3[3]<<24);
if(_CB3&&(_Au2._Ku2>0)){var _J8=_Au2._Ku2*6;var _G9=_i7._H9(_d9._I9,null,_i7._J9,_J8);var _K9=_G9._L9()>>2;var _Fm3=_K9*_G9._M9;_G9._M9+=_J8;var _N9=_G9._O9;var _P9=_G9._Q9;var _R9=_G9._S9;_IB3+=_Au2._Ku2*2;for(var _N5=0;_N5<_Au2._Ku2;_N5++){var _2A1=_Au2._Tu2[(_N5*2)+0],_3A1=_Au2._Tu2[(_N5*2)+1];var _PB3=_Au2._Pu2[(_2A1*2)+0],_QB3=_Au2._Pu2[(_2A1*2)+1];var _RB3=_Au2._Uu2[(_2A1*2)+0],_SB3=_Au2._Uu2[(_2A1*2)+1];var _TB3=_Au2._Pu2[(_3A1*2)+0],_UB3=_Au2._Pu2[(_3A1*2)+1];var _VB3=_Au2._Uu2[(_3A1*2)+0],_WB3=_Au2._Uu2[(_3A1*2)+1];
var _A5=(_PB3*_EB3._z5[_9A])+(_QB3*_EB3._z5[_aA])+_EB3._z5[_cA],_B5=(_PB3*_EB3._z5[_dA])+(_QB3*_EB3._z5[_4z])+_EB3._z5[_fA],_C5=(_TB3*_EB3._z5[_9A])+(_UB3*_EB3._z5[_aA])+_EB3._z5[_cA],_D5=(_TB3*_EB3._z5[_dA])+(_UB3*_EB3._z5[_4z])+_EB3._z5[_fA];_RB3*=_FB3;_SB3*=_FB3;_VB3*=_FB3;_WB3*=_FB3;var _ja=(_RB3*_EB3._z5[_9A])+(_SB3*_EB3._z5[_aA])+_A5,_ka=(_RB3*_EB3._z5[_dA])+(_SB3*_EB3._z5[_4z])+_B5,_ar2=(_VB3*_EB3._z5[_9A])+(_WB3*_EB3._z5[_aA])+_C5,_br2=(_VB3*_EB3._z5[_dA])+(_WB3*_EB3._z5[_4z])+_D5;_N9[_Fm3+0]=_A5;
_N9[_Fm3+1]=_B5;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_MB3;_Fm3+=_K9;_N9[_Fm3+0]=_C5;_N9[_Fm3+1]=_D5;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_MB3;_Fm3+=_K9;_N9[_Fm3+0]=_ja;_N9[_Fm3+1]=_ka;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_OB3;_Fm3+=_K9;_N9[_Fm3+0]=_ja;_N9[_Fm3+1]=_ka;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_OB3;_Fm3+=_K9;_N9[_Fm3+0]=_C5;_N9[_Fm3+1]=_D5;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_MB3;_Fm3+=_K9;_N9[_Fm3+0]=_ar2;_N9[_Fm3+1]=_br2;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_OB3;_Fm3+=_K9;}}var _J8=_Au2._Hu2*3;var _G9=_i7._H9(_d9._I9,null,_i7._J9,_J8);var _K9=_G9._L9()>>2;
var _Fm3=_K9*_G9._M9;_G9._M9+=_J8;_N9=_G9._O9;_P9=_G9._Q9;_R9=_G9._S9;_IB3+=_Au2._Hu2;var _XB3=0;for(var _N5=_Au2._Hu2*3;_N5>0;--_N5){var index=_Au2._Qu2[_XB3++];var _YB3=_Au2._Pu2[index*2];var _ZB3=_Au2._Pu2[(index*2)+1];var x=(_YB3*_EB3._z5[_9A])+(_ZB3*_EB3._z5[_aA])+_EB3._z5[_cA];var y=(_YB3*_EB3._z5[_dA])+(_ZB3*_EB3._z5[_4z])+_EB3._z5[_fA];_N9[_Fm3+0]=x;_N9[_Fm3+1]=y;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_MB3;_Fm3+=_K9;}}}}}}return _IB3;}function _LB3(_wL,_xB3,__B3,_0C3,_1C3,_zB3,_2C3,_BB3,_3C3,_AB3,_4C3,_5C3,_6C3,
_CB3,_hB3){var _N9,_P9,_R9,_F3=null,_FB3=1.0,_7C3=new _Dy();if(_CB3){_FB3=_GB3(_xB3,_2C3)*_PL;}if(__B3===_Pt2){var _8C3=_0C3;if(_8C3._nt2>-1){_F3=_hB3[_8C3._nt2];var _9C3=new _Dy();var _aC3=new _Dy();var _bC3=new _Dy();var _cC3=new _Dy();_aC3.__z(_F3.x/_F3.texture.width,_F3.y/_F3.texture.height,0);_9C3._0A(_F3.w/_F3.texture.width,_F3.h/_F3.texture.height,1.0);_bC3.Multiply(_9C3,_aC3);_cC3.Multiply(_zB3,_bC3);_7C3.Multiply(_8C3._cu2,_cC3);}else {_F3=_8C3._Mb;_7C3.Multiply(_8C3._cu2,_zB3);}}else if(__B3===_Qt2){
var _8C3=_0C3;if(_8C3._hu2!==-1){var _dC3=_wL[_8C3._hu2];if(_dC3._nt2>-1){_F3=_hB3[_dC3._nt2];var _x23=_F3.w/_F3.ow;var _y23=_F3.h/_F3.oh;var _aC3=new _Dy();var _9C3=new _Dy();var _bC3=new _Dy();_aC3.__z(_F3.x/_x23,_F3.y/_y23,0);_9C3._0A((1.0/_F3.texture.width)*_x23,(1.0/_F3.texture.height)*_y23,1.0);_bC3.Multiply(_aC3,_9C3);_7C3.Multiply(_8C3._cu2,_bC3);if((_8C3._fu2===_it2)||(_8C3._fu2===_kt2)){_i7._PY1(0,true);}else {_i7._PY1(0,false);}}else {var _I3=_dC3._I3;_F3={texture:_I3};if(_I3!==null){var _9C3=new _Dy();
_9C3._0A(1.0/_I3.width,1.0/_I3.height,1.0);_7C3.Multiply(_8C3._cu2,_9C3);if((_8C3._fu2===_it2)||(_8C3._fu2===_kt2)){_i7._PY1(0,true);}else {_i7._PY1(0,false);}}}}}var _IB3=0;if(_F3!==null){if(!_F3.texture._R7){if(_F3.w==0||_F3.h==0)return;_Q7(_F3);}_IB3+=_1C3._Fu2;if(_CB3&&(_1C3._Iu2>0)){_IB3+=_1C3._Iu2*2;var _yu2=[];for(var _N5=0;_N5<4;_N5++){_yu2[_N5]=((_BB3[_N5]*_4C3[_N5])>>8)+_5C3[_N5];_yu2[_N5]=Math.max(0,Math.min(_yu2[_N5],255));}var _MB3=_yu2[0]|(_yu2[1]<<8)|(_yu2[2]<<16)|(_yu2[3]<<24);var _NB3=[];
for(var _N5=0;_N5<4;_N5++){_NB3[_N5]=((_3C3[_N5]*_4C3[_N5])>>8)+_6C3[_N5];_NB3[_N5]=Math.max(0,Math.min(_NB3[_N5],255));}var _OB3=_NB3[0]|(_NB3[1]<<8)|(_NB3[2]<<16)|(_NB3[3]<<24);var _J8=_1C3._Iu2*6;var _G9=_i7._H9(_d9._I9,_F3.texture._R7,_i7._J9,_J8);var _K9=_G9._L9()>>2;var _Fm3=_K9*_G9._M9;_G9._M9+=_J8;var _N9=_G9._O9;var _P9=_G9._Q9;var _R9=_G9._S9;var _eC3=0;for(_N5=_1C3._Iu2;_N5>0;_N5--){var _2A1=_1C3._Ru2[_eC3++],_3A1=_1C3._Ru2[_eC3++];var _fC3=_2A1*2,_gC3=_2A1*2;var _PB3=_1C3._Mu2[_fC3];_fC3++;var _QB3=_1C3._Mu2[_fC3];
var _RB3=_1C3._Su2[_gC3];_gC3++;var _SB3=_1C3._Su2[_gC3];_fC3=_3A1*2;_gC3=_3A1*2;var _TB3=_1C3._Mu2[_fC3];_fC3++;var _UB3=_1C3._Mu2[_fC3];var _VB3=_1C3._Su2[_gC3];_gC3++;var _WB3=_1C3._Su2[_gC3];var _A5=(_PB3*_2C3._z5[_9A])+(_QB3*_2C3._z5[_aA])+_2C3._z5[_cA],_B5=(_PB3*_2C3._z5[_dA])+(_QB3*_2C3._z5[_4z])+_2C3._z5[_fA],_C5=(_TB3*_2C3._z5[_9A])+(_UB3*_2C3._z5[_aA])+_2C3._z5[_cA],_D5=(_TB3*_2C3._z5[_dA])+(_UB3*_2C3._z5[_4z])+_2C3._z5[_fA];_RB3*=_FB3;_SB3*=_FB3;_VB3*=_FB3;_WB3*=_FB3;var _ja=(_RB3*_2C3._z5[_9A])+(_SB3*_2C3._z5[_aA])+_A5,
_ka=(_RB3*_2C3._z5[_dA])+(_SB3*_2C3._z5[_4z])+_B5,_ar2=(_VB3*_2C3._z5[_9A])+(_WB3*_2C3._z5[_aA])+_C5,_br2=(_VB3*_2C3._z5[_dA])+(_WB3*_2C3._z5[_4z])+_D5;_RB3+=_PB3;_SB3+=_QB3;_VB3+=_TB3;_WB3+=_UB3;_N9[_Fm3+0]=_A5;_N9[_Fm3+1]=_B5;_N9[_Fm3+2]=_X9;_R9[_Fm3+0]=(_PB3*_7C3._z5[_9A])+(_QB3*_7C3._z5[_aA])+_7C3._z5[_cA];_R9[_Fm3+1]=(_PB3*_7C3._z5[_dA])+(_QB3*_7C3._z5[_4z])+_7C3._z5[_fA];_P9[_Fm3]=_MB3;_Fm3+=_K9;_N9[_Fm3+0]=_C5;_N9[_Fm3+1]=_D5;_N9[_Fm3+2]=_X9;_R9[_Fm3+0]=(_TB3*_7C3._z5[_9A])+(_UB3*_7C3._z5[_aA])+_7C3._z5[_cA];
_R9[_Fm3+1]=(_TB3*_7C3._z5[_dA])+(_UB3*_7C3._z5[_4z])+_7C3._z5[_fA];_P9[_Fm3]=_MB3;_Fm3+=_K9;_N9[_Fm3+0]=_ja;_N9[_Fm3+1]=_ka;_N9[_Fm3+2]=_X9;_R9[_Fm3+0]=(_RB3*_7C3._z5[_9A])+(_SB3*_7C3._z5[_aA])+_7C3._z5[_cA];_R9[_Fm3+1]=(_RB3*_7C3._z5[_dA])+(_SB3*_7C3._z5[_4z])+_7C3._z5[_fA];_P9[_Fm3]=_OB3;_Fm3+=_K9;_N9[_Fm3+0]=_ja;_N9[_Fm3+1]=_ka;_N9[_Fm3+2]=_X9;_R9[_Fm3+0]=(_RB3*_7C3._z5[_9A])+(_SB3*_7C3._z5[_aA])+_7C3._z5[_cA];_R9[_Fm3+1]=(_RB3*_7C3._z5[_dA])+(_SB3*_7C3._z5[_4z])+_7C3._z5[_fA];_P9[_Fm3]=_OB3;
_Fm3+=_K9;_N9[_Fm3+0]=_C5;_N9[_Fm3+1]=_D5;_N9[_Fm3+2]=_X9;_R9[_Fm3+0]=(_TB3*_7C3._z5[_9A])+(_UB3*_7C3._z5[_aA])+_7C3._z5[_cA];_R9[_Fm3+1]=(_TB3*_7C3._z5[_dA])+(_UB3*_7C3._z5[_4z])+_7C3._z5[_fA];_P9[_Fm3]=_MB3;_Fm3+=_K9;_N9[_Fm3+0]=_ar2;_N9[_Fm3+1]=_br2;_N9[_Fm3+2]=_X9;_R9[_Fm3+0]=(_VB3*_7C3._z5[_9A])+(_WB3*_7C3._z5[_aA])+_7C3._z5[_cA];_R9[_Fm3+1]=(_VB3*_7C3._z5[_dA])+(_WB3*_7C3._z5[_4z])+_7C3._z5[_fA];_P9[_Fm3]=_OB3;_Fm3+=_K9;}}var _J8=_1C3._Fu2*3;var _G9=_i7._H9(_d9._I9,_F3.texture._R7,_i7._J9,_J8);
var _K9=_G9._L9()>>2;var _Fm3=_K9*_G9._M9;_G9._M9+=_J8;_N9=_G9._O9,_P9=_G9._Q9,_R9=_G9._S9;var _XB3=0;for(var _N5=_1C3._Fu2*3;_N5>0;--_N5){var index=_1C3._Ou2[_XB3++];var _YB3=_1C3._Mu2[index*2];var _ZB3=_1C3._Mu2[(index*2)+1];var x=(_YB3*_2C3._z5[_9A])+(_ZB3*_2C3._z5[_aA])+_2C3._z5[_cA];var y=(_YB3*_2C3._z5[_dA])+(_ZB3*_2C3._z5[_4z])+_2C3._z5[_fA];_N9[_Fm3+0]=x;_N9[_Fm3+1]=y;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_AB3;_R9[_Fm3+0]=(_YB3*_7C3._z5[_9A])+(_ZB3*_7C3._z5[_aA])+_7C3._z5[_cA];_R9[_Fm3+1]=(_YB3*_7C3._z5[_dA])+(_ZB3*_7C3._z5[_4z])+_7C3._z5[_fA];
_Fm3+=_K9;}}return _IB3;}function _KB3(_xB3,_0C3,_1C3,_2C3,_BB3,_3C3,_4C3,_5C3,_6C3,_CB3){var _FB3=1.0;if(_CB3){_FB3=_GB3(_xB3,_2C3)*_PL;}var _hC3=false;var _8C3=_0C3,_q3=_8C3._q3,_IB3=0,_N5=0;var _yu2=[];var _i3=(_q3&0xff),_j3=((_q3>>8)&0xff),_k3=((_q3>>16)&0xff),_l3=((_q3>>24)&0xff);_yu2[0]=(_i3*_BB3[0])>>8;_yu2[1]=(_j3*_BB3[1])>>8;_yu2[2]=(_k3*_BB3[2])>>8;_yu2[3]=(_l3*_BB3[3])>>8;for(_N5=0;_N5<4;_N5++){_yu2[_N5]=((_yu2[_N5]*_4C3[_N5])>>8)+_5C3[_N5];_yu2[_N5]=_L5(0,_M5(_yu2[_N5],255));}var _MB3=_yu2[0]|(_yu2[1]<<8)|(_yu2[2]<<16)|(_yu2[3]<<24);
var _NB3=[];_NB3[0]=((_q3&0xff)*_3C3[0])>>8;_NB3[1]=(((_q3>>8)&0xff)*_3C3[1])>>8;_NB3[2]=(((_q3>>16)&0xff)*_3C3[2])>>8;_NB3[3]=(((_q3>>24)&0xff)*_3C3[3])>>8;for(_N5=0;_N5<4;_N5++){_NB3[_N5]=((_NB3[_N5]*_4C3[_N5])>>8)+_6C3[_N5];_NB3[_N5]=_L5(0,_M5(_NB3[_N5],255));}var _OB3=_NB3[0]|(_NB3[1]<<8)|(_NB3[2]<<16)|(_NB3[3]<<24);if(_hC3){}else if(_CB3&&(_1C3._Iu2>0)){_IB3+=_1C3._Iu2*2;var _J8=_1C3._Iu2*6;var _G9=_i7._H9(_d9._I9,null,_i7._J9,_J8);var _K9=_G9._L9()>>2;var _Fm3=_K9*_G9._M9;_G9._M9+=_J8;var _N9=_G9._O9;
var _P9=_G9._Q9;var _eC3=0;for(_N5=_1C3._Iu2;_N5>0;_N5--){var _2A1=_1C3._Ru2[_eC3++],_3A1=_1C3._Ru2[_eC3++];var _fC3=_2A1*2,_gC3=_2A1*2;var _PB3=_1C3._Mu2[_fC3];_fC3++;var _QB3=_1C3._Mu2[_fC3];var _RB3=_1C3._Su2[_gC3];_gC3++;var _SB3=_1C3._Su2[_gC3];_fC3=_3A1*2;_gC3=_3A1*2;var _TB3=_1C3._Mu2[_fC3];_fC3++;var _UB3=_1C3._Mu2[_fC3];var _VB3=_1C3._Su2[_gC3];_gC3++;var _WB3=_1C3._Su2[_gC3];var _A5=(_PB3*_2C3._z5[_9A])+(_QB3*_2C3._z5[_aA])+_2C3._z5[_cA],_B5=(_PB3*_2C3._z5[_dA])+(_QB3*_2C3._z5[_4z])+_2C3._z5[_fA],_C5=(_TB3*_2C3._z5[_9A])+(_UB3*_2C3._z5[_aA])+_2C3._z5[_cA],
_D5=(_TB3*_2C3._z5[_dA])+(_UB3*_2C3._z5[_4z])+_2C3._z5[_fA];_RB3*=_FB3;_SB3*=_FB3;_VB3*=_FB3;_WB3*=_FB3;var _ja=(_RB3*_2C3._z5[_9A])+(_SB3*_2C3._z5[_aA])+_A5,_ka=(_RB3*_2C3._z5[_dA])+(_SB3*_2C3._z5[_4z])+_B5,_ar2=(_VB3*_2C3._z5[_9A])+(_WB3*_2C3._z5[_aA])+_C5,_br2=(_VB3*_2C3._z5[_dA])+(_WB3*_2C3._z5[_4z])+_D5;_N9[_Fm3+0]=_A5;_N9[_Fm3+1]=_B5;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_MB3;_Fm3+=_K9;_N9[_Fm3+0]=_C5;_N9[_Fm3+1]=_D5;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_MB3;_Fm3+=_K9;_N9[_Fm3+0]=_ja;_N9[_Fm3+1]=_ka;_N9[_Fm3+2]=_X9;
_P9[_Fm3]=_OB3;_Fm3+=_K9;_N9[_Fm3+0]=_ja;_N9[_Fm3+1]=_ka;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_OB3;_Fm3+=_K9;_N9[_Fm3+0]=_C5;_N9[_Fm3+1]=_D5;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_MB3;_Fm3+=_K9;_N9[_Fm3+0]=_ar2;_N9[_Fm3+1]=_br2;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_OB3;_Fm3+=_K9;}}var _J8=_1C3._Fu2*3;var _G9=_i7._H9(_d9._I9,null,_i7._J9,_J8);var _K9=_G9._L9()>>2;var _Fm3=_K9*_G9._M9;_G9._M9+=_J8;_N9=_G9._O9;_P9=_G9._Q9;_IB3+=_1C3._Fu2;var _XB3=0;for(var _N5=_1C3._Fu2*3;_N5>0;--_N5){var index=_1C3._Ou2[_XB3++];var _YB3=_1C3._Mu2[index*2];
var _ZB3=_1C3._Mu2[(index*2)+1];var x=(_YB3*_2C3._z5[_9A])+(_ZB3*_2C3._z5[_aA])+_2C3._z5[_cA];var y=(_YB3*_2C3._z5[_dA])+(_ZB3*_2C3._z5[_4z])+_2C3._z5[_fA];_N9[_Fm3+0]=x;_N9[_Fm3+1]=y;_N9[_Fm3+2]=_X9;_P9[_Fm3]=_MB3;_Fm3+=_K9;}return _IB3;}function _GB3(_xB3,_2C3){if(_NL){if(_xB3._FB3!==undefined){return _xB3._FB3;}var _o33=_6A(_Zz);var _Aw2=_6A(_tA);var _Bw2=_6A(_wA);var _iC3=new _Dy();_iC3.Multiply(_o33,_Aw2);var _jC3=new _Dy();_jC3.Multiply(_iC3,_Bw2);var _kC3=new _Dy();_kC3.Multiply(_2C3,_jC3);var _lC3=_i7._OW1,
_mC3=_i7._PW1;var _nC3=[];_nC3[0]=0.0;_nC3[1]=0.0;_nC3[2]=1.0;_nC3[3]=0.0;_nC3[4]=0.0;_nC3[5]=1.0;var _oC3=[];for(var i=0;i<3;i++){var _Yv2=(_nC3[i*2]*_kC3._z5[_QA])+(_nC3[(i*2)+1]*_kC3._z5[_RA])+(_X9*_kC3._z5[_SA])+_kC3._z5[_TA];var index=(i*2)+0;_oC3[index]=(_nC3[i*2]*_kC3._z5[_9A])+(_nC3[(i*2)+1]*_kC3._z5[_aA])+(_X9*_kC3._z5[_bA])+_kC3._z5[_cA];_oC3[index]=_oC3[index]/_Yv2;_oC3[index]=_oC3[index]*_lC3;index++;_oC3[index]=(_nC3[i*2]*_kC3._z5[_dA])+(_nC3[(i*2)+1]*_kC3._z5[_4z])+(_X9*_kC3._z5[_eA])+_kC3._z5[_fA];
_oC3[index]=_oC3[index]/_Yv2;_oC3[index]=_oC3[index]*_mC3;}var _pC3=[];_pC3[0]=_oC3[2]-_oC3[0];_pC3[1]=_oC3[3]-_oC3[1];_pC3[2]=_oC3[4]-_oC3[0];_pC3[3]=_oC3[5]-_oC3[1];var _qC3=0.0,_FB3=1.0,index=0;for(var i=0;i<2;i++){var length=_pC3[index]*_pC3[index];index++;length+=_pC3[index]*_pC3[index];index++;if(length>0.0){length=Math.sqrt(length);}_qC3=Math.max(length,_qC3);}_qC3*=0.5;if(_qC3>0.0){_FB3=1.0/_qC3;}_xB3._FB3=_FB3;return _FB3;}return 1.0;}function _Dz3(_Yf1,_uf1,_vf1,_u4,_v4,_C63,_D63,_C3,_7c,_rn,
_uK,_vK,_y8){var _G9,_K43,_5B3,_N9,_P9,_R9;if(_Yf1===undefined){debug("Attempting to draw texture that is not loaded");return;}if(!_Yf1.texture._R7){if(_Yf1.w==0||_Yf1.h==0)return;_Q7(_Yf1);}_G9=_i7._H9(_d9._I9,_Yf1.texture._R7,_i7._J9,6);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=6;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;_N9=_G9._O9;_P9=_G9._Q9;_R9=_G9._S9;var _A5=-_C63*(_uf1-_Yf1.XOffset);var _B5=-_D63*(_vf1-_Yf1.YOffset);var _C5=_A5+(_C63*_Yf1.CropWidth);
var _D5=_B5+(_D63*_Yf1.CropHeight);if(Math.abs(_C3)<0.001){_N9[_T9+0]=_N9[_na+0]=_N9[_oa+0]=_u4+_A5;_N9[_T9+1]=_N9[_la+1]=_N9[_oa+1]=_v4+_B5;_N9[_la+0]=_N9[_34+0]=_N9[_ma+0]=_u4+_C5;_N9[_34+1]=_N9[_ma+1]=_N9[_na+1]=_v4+_D5;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;}else {var _96=Math.sin(_C3);var _a6=Math.cos(_C3);var _Sd2=_A5*_a6;var _Td2=_C5*_a6;var _Ud2=_B5*_a6;var _Vd2=_D5*_a6;var _Wd2=_A5*_96;var _Xd2=_C5*_96;var _Yd2=_B5*_96;var _Zd2=_D5*_96;_N9[_T9+0]=_N9[_oa+0]=_u4+_Sd2+_Yd2;
_N9[_T9+1]=_N9[_oa+1]=_v4-_Wd2+_Ud2;_N9[_34+0]=_N9[_ma+0]=_u4+_Td2+_Zd2;_N9[_34+1]=_N9[_ma+1]=_v4-_Xd2+_Vd2;_N9[_la+1]=_v4-_Xd2+_Ud2;_N9[_la+0]=_u4+_Td2+_Yd2;_N9[_na+0]=_u4+_Sd2+_Zd2;_N9[_na+1]=_v4-_Wd2+_Vd2;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;}_R9[_T9+0]=_R9[_na+0]=_R9[_oa+0]=_Yf1.x/_Yf1.texture.width;_R9[_T9+1]=_R9[_la+1]=_R9[_oa+1]=_Yf1.y/_Yf1.texture.height;_R9[_la+0]=_R9[_34+0]=_R9[_ma+0]=(_Yf1.x+_Yf1.w)/_Yf1.texture.width;_R9[_34+1]=_R9[_ma+1]=_R9[_na+1]=(_Yf1.y+_Yf1.h)/_Yf1.texture.height;
var _l3=~~(_y8*255.0);_l3=_l3-((_l3-255)&((255-_l3)>>31));_l3=_l3-(_l3&(_l3>>31));_l3=(_l3<<24);_7c=_l3|(_7c&0xffffff);if(_rn==undefined){_rn=_7c;_uK=_7c;_vK=_7c;}else {_rn=(_rn&0xffffff)|_l3;_uK=(_uK&0xffffff)|_l3;_vK=(_vK&0xffffff)|_l3;}if(_733){_7c&=0xfffefffe;_rn&=0xfffefffe;_uK&=0xfffefffe;_vK&=0xfffefffe;_rn|=0x00010000;_uK|=0x00000001;_vK|=0x00010001;}_P9[_T9]=_P9[_oa]=_7c;_P9[_la]=_rn;_P9[_34]=_P9[_ma]=_uK;_P9[_na]=_vK;}function _Ez3(_Yf1,__5,_06,_s5,_t5,_Nt,_Ot,_0k1,_1k1,_y8){var _q3=~~((_y8*255.0)<<24)|0xffffff;
var _tn=_q3;var _un=_q3;var _vn=_q3;var _G9,_K43,_5B3,_N9,_P9,_R9;if(!_Yf1.texture._R7){if(_Yf1.w==0||_Yf1.h==0)return;_Q7(_Yf1);}_G9=_i7._H9(_d9._I9,_Yf1.texture._R7,_i7._J9,6);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=6;var _T9=index,_la=_T9+_K9,_34=_la+_K9,_ma=_34+_K9,_na=_ma+_K9,_oa=_na+_K9;_N9=_G9._O9;_P9=_G9._Q9;_R9=_G9._S9;_N9[_T9+0]=_N9[_oa+0]=__5;_N9[_T9+1]=_N9[_oa+1]=_06;_N9[_la+0]=_s5;_N9[_la+1]=_t5;_N9[_34+0]=_N9[_ma+0]=_Nt;_N9[_34+1]=_N9[_ma+1]=_Ot;_N9[_na+0]=_0k1;_N9[_na+1]=_1k1;
_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;_R9[_T9+0]=_R9[_na+0]=_R9[_oa+0]=_Yf1.x/_Yf1.texture.width;_R9[_T9+1]=_R9[_la+1]=_R9[_oa+1]=_Yf1.y/_Yf1.texture.height;_R9[_la+0]=_R9[_34+0]=_R9[_ma+0]=(_Yf1.x+_Yf1.w)/_Yf1.texture.width;_R9[_34+1]=_R9[_ma+1]=_R9[_na+1]=(_Yf1.y+_Yf1.h)/_Yf1.texture.height;if(_733){_q3&=0xfffefffe;_tn&=0xfffefffe;_un&=0xfffefffe;_vn&=0xfffefffe;_tn|=0x00010000;_un|=0x00000001;_vn|=0x00010001;}_P9[_T9]=_P9[_oa]=_q3;_P9[_la]=_tn;_P9[_34]=_P9[_ma]=_un;
_P9[_na]=_vn;}function _rC3(_Yf1,_uf1,_vf1,_q7,_r7,_u4,_v4,_C63,_D63,_C3,_7c,_rn,_uK,_vK,_y8){var _G9,_K43,_5B3,_N9,_P9,_R9;if(!_Yf1.texture._R7){if(_Yf1.w==0||_Yf1.h==0)return;_Q7(_Yf1);}_G9=_i7._H9(_d9._I9,_Yf1.texture._R7,_i7._J9,6);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=6;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;_N9=_G9._O9;_P9=_G9._Q9;_R9=_G9._S9;var _A5=-_C63*(_uf1-_Yf1.XOffset);var _B5=-_D63*(_vf1-_Yf1.YOffset);var _C5=_A5+(_C63*_q7);var _D5=_B5+(_D63*_r7);
if(Math.abs(_C3)<0.001){_N9[_T9+0]=_N9[_na+0]=_N9[_oa+0]=_u4+_A5;_N9[_T9+1]=_N9[_la+1]=_N9[_oa+1]=_v4+_B5;_N9[_la+0]=_N9[_34+0]=_N9[_ma+0]=_u4+_C5;_N9[_34+1]=_N9[_ma+1]=_N9[_na+1]=_v4+_D5;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;}else {var _96=Math.sin(_C3);var _a6=Math.cos(_C3);var _Sd2=_A5*_a6;var _Td2=_C5*_a6;var _Ud2=_B5*_a6;var _Vd2=_D5*_a6;var _Wd2=_A5*_96;var _Xd2=_C5*_96;var _Yd2=_B5*_96;var _Zd2=_D5*_96;_N9[_T9+0]=_N9[_oa+0]=_u4+_Sd2+_Yd2;_N9[_T9+1]=_N9[_oa+1]=_v4-_Wd2+_Ud2;
_N9[_34+0]=_N9[_ma+0]=_u4+_Td2+_Zd2;_N9[_34+1]=_N9[_ma+1]=_v4-_Xd2+_Vd2;_N9[_la+1]=_v4-_Xd2+_Ud2;_N9[_la+0]=_u4+_Td2+_Yd2;_N9[_na+0]=_u4+_Sd2+_Zd2;_N9[_na+1]=_v4-_Wd2+_Vd2;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;}_R9[_T9+0]=_R9[_na+0]=_R9[_oa+0]=_Yf1.x/_Yf1.texture.width;_R9[_T9+1]=_R9[_la+1]=_R9[_oa+1]=_Yf1.y/_Yf1.texture.height;_R9[_la+0]=_R9[_34+0]=_R9[_ma+0]=(_Yf1.x+_q7)/_Yf1.texture.width;_R9[_34+1]=_R9[_ma+1]=_R9[_na+1]=(_Yf1.y+_r7)/_Yf1.texture.height;var _l3=(_y8*255.0)<<24;
_7c=_l3|(_7c&0xffffff);if(_rn==undefined){_rn=_7c;_uK=_7c;_vK=_7c;}else {_rn=_rn|_l3;_uK=_uK|_l3;_vK=_vK|_l3;}if(_733){_7c&=0xfffefffe;_rn&=0xfffefffe;_uK&=0xfffefffe;_vK&=0xfffefffe;_rn|=0x00010000;_uK|=0x00000001;_vK|=0x00010001;}_P9[_T9]=_P9[_oa]=_7c;_P9[_la]=_rn;_P9[_34]=_P9[_ma]=_uK;_P9[_na]=_vK;}function _Az3(_fd,_u4,_v4,_oi,_pi,_tW1,_ae1){_i7._eZ1(_fd,_u4,_v4,_oi,_pi,_tW1,_ae1);}function _Hz3(_Yf1,_Mr,_Nr,_q7,_r7,_u4,_v4,_gn,_hn,_Qr,_y8){if(!_Yf1)return;if(!_Yf1.texture)return;_Qr&=0xffffff;
_Qr|=(_y8*255)<<24;if(_Mr<_Yf1.XOffset){var _L63=_Yf1.XOffset-_Mr;_u4+=_L63*_gn;_q7-=_L63;_Mr=0;}else {_Mr-=_Yf1.XOffset;}if(_Nr<_Yf1.YOffset){var _L63=_Yf1.YOffset-_Nr;_v4+=_L63*_hn;_r7-=_L63;_Nr=0;}else {_Nr-=_Yf1.YOffset;}if(_q7>(_Yf1.CropWidth-_Mr))_q7=_Yf1.CropWidth-_Mr;if(_r7>(_Yf1.CropHeight-_Nr))_r7=_Yf1.CropHeight-_Nr;if(_q7<=0||_r7<=0)return;_4A3(_Yf1,_Mr+_Yf1.x,_Nr+_Yf1.y,_q7,_r7,_u4,_v4,_q7*_gn,_r7*_hn,_Qr);}function _Iz3(__5,_06,_s5,_t5,_jn){var _G9,_K43,_5B3,_N9,_P9,_R9;__5=yyGetReal(__5);
_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_jn=yyGetBool(_jn);var _Ig=_d9._I9;var _u7=6;if(_jn){_Ig=_d9._Fb;_u7=8;}_G9=_i7._H9(_Ig,null,_i7._J9,_u7);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_u7;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;var _sC3=_oa+_K9;var _tC3=_sC3+_K9;_N9=_G9._O9;_P9=_G9._Q9;var _q3=~~((_Rb*255.0)<<24)|(_Sb&0xffffff);if(!_jn){if(_lz3!=0.0){_s5+=_lz3;_t5+=_lz3;}_N9[_T9+0]=_N9[_na+0]=_N9[_oa+0]=__5;_N9[_T9+1]=_N9[_la+1]=_N9[_oa+1]=_06;
_N9[_la+0]=_N9[_34+0]=_N9[_ma+0]=_s5;_N9[_34+1]=_N9[_ma+1]=_N9[_na+1]=_t5;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=_P9[_na]=_P9[_oa]=_q3;}else {if(_lz3!=0.0){__5+=_lz3;_06+=_lz3;_s5+=_lz3;_t5+=_lz3;}_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=_P9[_na]=_P9[_oa]=_P9[_sC3]=_P9[_tC3]=_q3;_N9[_oa+0]=_N9[_tC3+0]=_N9[_sC3+0]=_N9[_T9+0]=__5;_N9[_tC3+1]=_N9[_34+1]=_N9[_la+1]=_N9[_T9+1]=_06;_N9[_na+0]=_N9[_ma+0]=_N9[_34+0]=_N9[_la+0]=_s5;_N9[_ma+1]=_N9[_na+1]=_N9[_oa+1]=_N9[_sC3+1]=_t5;
_N9[_tC3+1]=_06;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_N9[_sC3+2]=_N9[_tC3+2]=_X9;}}function _Jz3(__5,_06,_s5,_t5,_kK,_lK,_ap,_rn,_jn){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_kK=yyGetReal(_kK);_lK=yyGetReal(_lK);_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);_jn=yyGetBool(_jn);if(_lz3!=0.0){__5+=_lz3;_06+=_lz3;_s5+=_lz3;_t5+=_lz3;}var i,w,h;w=_kK;h=_lK;if(w>Math.abs(_s5-__5)){w=Math.abs(_s5-__5);}if(h>Math.abs(_t5-_06)){h=Math.abs(_t5-_06);
}var _ag=(_Ub(_ap)&0xffffff)|((_Rb*255.0)<<24);var _bg=(_Ub(_rn)&0xffffff)|((_Rb*255.0)<<24);var _uC3=_iz3/4;var _Ig=_d9._Ib;var _u7=((_uC3+1)*4)+2;if(_jn){_Ig=_d9._Gb;}var _eL=(__5+_s5)*0.5;var _fL=(_06+_t5)*0.5;var _gz=Math.abs(_s5-__5)*0.5-w*0.5;var _hz=Math.abs(_t5-_06)*0.5-h*0.5;var _G9=_i7._H9(_Ig,null,_i7._J9,_u7);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;var _1h1=index;_G9._M9+=_u7;var _N9=_G9._O9;var _P9=_G9._Q9;_N9[index]=_eL;_N9[index+1]=_fL;_N9[index+2]=_X9;_P9[index]=_ag;index+=_K9;for(i=0;i<=_uC3;
i++){_N9[index]=(_eL+_gz+w*_jz3[i]/2);_N9[index+1]=(_fL+_hz+h*_kz3[i]/2);_N9[index+2]=_X9;_P9[index]=_bg;index+=_K9;}for(i=_uC3;i<=(_uC3*2);i++){_N9[index]=(_eL-_gz+w*_jz3[i]/2);_N9[index+1]=(_fL+_hz+h*_kz3[i]/2);_N9[index+2]=_X9;_P9[index]=_bg;index+=_K9;}for(i=(_uC3*2);i<=(_uC3*3);i++){_N9[index]=(_eL-_gz+w*_jz3[i]/2);_N9[index+1]=(_fL-_hz+h*_kz3[i]/2);_N9[index+2]=_X9;_P9[index]=_bg;index+=_K9;}for(i=(_uC3*3);i<=(_uC3*4);i++){_N9[index]=(_eL+_gz+w*_jz3[i]/2);_N9[index+1]=(_fL-_hz+h*_kz3[i]/2);
_N9[index+2]=_X9;_P9[index]=_bg;index+=_K9;}_N9[index]=_N9[_1h1+_K9];_N9[index+1]=_N9[_1h1+_K9+1];_N9[index+2]=_X9;_P9[index]=_bg;if(_jn){_N9[_1h1]=_N9[_1h1+_K9];_N9[_1h1+1]=_N9[_1h1+_K9+1];_N9[_1h1+2]=_X9;_P9[_1h1]=_P9[_1h1+_K9];}}function _Kz3(__5,_06,_s5,_t5,_ap,_rn,_uK,_vK,_jn){var _G9,_K43,_5B3,_N9,_P9,_R9;__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);_uK=yyGetInt32(_uK);_vK=yyGetInt32(_vK);_jn=yyGetBool(_jn);var _l3=((_Rb*255.0)<<24);
_ap=_Ub(_ap)|_l3;_rn=_Ub(_rn)|_l3;_uK=_Ub(_uK)|_l3;_vK=_Ub(_vK)|_l3;var _Ig=_d9._I9;var _u7=6;if(_jn){_Ig=_d9._Fb;_u7=8;}_G9=_i7._H9(_Ig,null,_i7._J9,_u7);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_u7;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;var _sC3=_oa+_K9;var _tC3=_sC3+_K9;var _N9=_G9._O9;var _P9=_G9._Q9;_R9=_G9._S9;var _q3=~~((_Rb*255.0)<<24)|(_Sb&0xffffff);if(!_jn){_N9[_T9+0]=_N9[_na+0]=_N9[_oa+0]=__5;_N9[_T9+1]=_N9[_la+1]=_N9[_oa+1]=_06;_N9[_la+0]=_N9[_34+0]=_N9[_ma+0]=_s5+1.0;
_N9[_34+1]=_N9[_ma+1]=_N9[_na+1]=_t5+1.0;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;_P9[_T9]=_P9[_oa]=_ap;_P9[_34]=_P9[_ma]=_uK;_P9[_la]=_rn;_P9[_na]=_vK;}else {if(_lz3!=0.0){__5+=_lz3;_06+=_lz3;_s5+=_lz3;_t5+=_lz3;}_P9[_T9]=_P9[_tC3]=_ap;_P9[_la]=_P9[_34]=_rn;_P9[_ma]=_P9[_na]=_uK;_P9[_oa]=_P9[_sC3]=_vK;_N9[_oa+0]=_N9[_tC3+0]=_N9[_sC3+0]=_N9[_T9+0]=__5;_N9[_tC3+1]=_N9[_34+1]=_N9[_la+1]=_N9[_T9+1]=_06;_N9[_na+0]=_N9[_ma+0]=_N9[_34+0]=_N9[_la+0]=_s5;_N9[_ma+1]=_N9[_na+1]=_N9[_oa+1]=_N9[_sC3+1]=_t5;
_N9[_tC3+1]=_06;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_N9[_sC3+2]=_N9[_tC3+2]=_X9;}}function _Tz3(_u4,_v4,_7c){_u4=yyGetReal(_u4);_v4=yyGetReal(_v4);_7c=yyGetInt32(_7c);if(_lz3!=0.0){_u4+=_lz3;_v4+=_lz3;}var _G9,_N9,_P9;_G9=_i7._H9(_d9._Eb,null,_i7._J9,1);var _K9=_G9._L9()>>2;var _T9=_K9*_G9._M9;_G9._M9++;_N9=_G9._O9;_P9=_G9._Q9;var _q3=~~((_Rb*255.0)<<24)|_Ub(_7c);_N9[_T9+0]=~~_u4+0.5;_N9[_T9+1]=~~_v4+0.5;_N9[_T9+2]=_X9;_P9[_T9]=_q3;}function _Pz3(__5,_06,_s5,_t5,_Nt,_Ot,_jn){
__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_Nt=yyGetReal(_Nt);_Ot=yyGetReal(_Ot);_jn=yyGetBool(_jn);if(_lz3!=0.0){__5+=_lz3;_06+=_lz3;_s5+=_lz3;_t5+=_lz3;_Nt+=_lz3;_Ot+=_lz3;}var _G9,_N9,_P9,_R9;if(_jn){_G9=_i7._H9(_d9._Gb,null,_i7._J9,4);}else {_G9=_i7._H9(_d9._I9,null,_i7._J9,3);}var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=3;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _N9=_G9._O9;var _P9=_G9._Q9;_N9[_T9+0]=__5;_N9[_T9+1]=_06;_N9[_T9+2]=_X9;_N9[_la+0]=_s5;
_N9[_la+1]=_t5;_N9[_la+2]=_X9;_N9[_34+0]=_Nt;_N9[_34+1]=_Ot;_N9[_34+2]=_X9;if(_jn){_N9[_ma+0]=__5;_N9[_ma+1]=_06;_N9[_ma+2]=_X9;_G9._M9++;}_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=((_Rb*255.0)<<24)|_Sb;}function _Lz3(__5,_06,_s5,_t5,_ap,_rn,_xK,_jn){if(_xK){_Kz3(__5,_06,_s5,_t5,_ap,_ap,_rn,_rn,_jn);}else {_Kz3(__5,_06,_s5,_t5,_ap,_rn,_rn,_ap,_jn);}}function _Mz3(_u4,_v4){_Tz3(_u4,_v4,_6G);}function _Nz3(_u4,_v4){var _u3=_Oz3(_u4,_v4);if(Array.isArray(_u3)){_u3.splice(3);return _u3;}else {return _u3&0x00ffffff;
}}function _Oz3(_u4,_v4){var _Ig=_fr;if((_1i1!=null)&&(_1i1!=-1)){var _qr=_gr._I4(_1i1);if(_qr!=null){_Ig=_qr._dj1._ej1._vc;}}_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);if(_5z<0){_v4=_i7._RW1-_v4;}return _i7._l_1(_u4,_v4,_Ig);}function _Qz3(__5,_06,_s5,_t5,_Nt,_Ot,_Wr,_Xr,_Yr,_jn){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_Nt=yyGetReal(_Nt);_Ot=yyGetReal(_Ot);_Wr=yyGetInt32(_Wr);_Xr=yyGetInt32(_Xr);_Yr=yyGetInt32(_Yr);_jn=yyGetBool(_jn);if(_lz3!=0.0){__5+=_lz3;_06+=_lz3;
_s5+=_lz3;_t5+=_lz3;_Nt+=_lz3;_Ot+=_lz3;}var _G9,_N9,_P9,_R9;var _l3=((_Rb*255.0)<<24);_Wr=_l3|_Ub(_Wr);_Xr=_l3|_Ub(_Xr);_Yr=_l3|_Ub(_Yr);if(_jn){_G9=_i7._H9(_d9._Gb,null,_i7._J9,4);}else {_G9=_i7._H9(_d9._I9,null,_i7._J9,3);}var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=3;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;_N9=_G9._O9;_P9=_G9._Q9;_N9[_T9+0]=__5;_N9[_T9+1]=_06;_N9[_T9+2]=_X9;_N9[_la+0]=_s5;_N9[_la+1]=_t5;_N9[_la+2]=_X9;_N9[_34+0]=_Nt;_N9[_34+1]=_Ot;_N9[_34+2]=_X9;if(_jn){
_N9[_ma+0]=__5;_N9[_ma+1]=_06;_N9[_ma+2]=_X9;_G9._M9++;}_P9[_T9]=_Wr;_P9[_la]=_Xr;_P9[_34]=_Yr;_P9[_ma]=_Wr;}function _Rz3(__5,_06,_s5,_t5,_ap,_rn,_jn){__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);_jn=yyGetBool(_jn);if(_lz3!=0.0){__5+=_lz3;_06+=_lz3;_s5+=_lz3;_t5+=_lz3;}var _eL=(__5+_s5)/2;var _fL=(_06+_t5)/2;var _gz=Math.abs((__5-_s5)/2);var _hz=Math.abs((_06-_t5)/2);var _l3=((_Rb*255.0)<<24);_ap=_l3|_Ub(_ap);_rn=_l3|_Ub(_rn);var _Ue3,
_G9,_N9,_P9;var _14;if(_jn){var _vC3=_iz3+1;_G9=_i7._H9(_d9._Gb,null,_i7._J9,_vC3);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_vC3;_N9=_G9._O9;_P9=_G9._Q9;for(var i=0;i<=_iz3;i++){_N9[index]=(_eL+(_gz*_jz3[i]));_N9[index+1]=(_fL+(_hz*_kz3[i]));_N9[index+2]=_X9;_P9[index]=_rn;index+=_K9;}}else {var _wC3=_iz3*3;_G9=_i7._H9(_d9._I9,null,_i7._J9,_wC3);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=_wC3;_N9=_G9._O9;_P9=_G9._Q9;for(var i=0;i<_iz3;i++){_N9[index]=_eL;_N9[index+1]=_fL;_N9[index+2]=_X9;
_P9[index]=_ap;index+=_K9;_N9[index]=(_eL+_gz*_jz3[i]);_N9[index+1]=(_fL+_hz*_kz3[i]);_N9[index+2]=_X9;_P9[index]=_rn;index+=_K9;_N9[index]=(_eL+_gz*_jz3[i+1]);_N9[index+1]=(_fL+_hz*_kz3[i+1]);_N9[index+2]=_X9;_P9[index]=_rn;index+=_K9;}}}function _Sz3(_u4,_v4,_Ni,_ap,_rn,_jn){_Rz3(_u4-_Ni,_v4-_Ni,_u4+_Ni,_v4+_Ni,_ap,_rn,_jn);}function _Uz3(__5,_06,_s5,_t5){_Wz3(__5,_06,_s5,_t5,1.0,_6G,_6G);}function _Vz3(__5,_06,_s5,_t5,_oi){_Wz3(__5,_06,_s5,_t5,_oi,_6G,_6G);}function _Wz3(__5,_06,_s5,_t5,_oi,_ap,_rn){
__5=yyGetReal(__5);_06=yyGetReal(_06);_s5=yyGetReal(_s5);_t5=yyGetReal(_t5);_oi=yyGetReal(_oi);_ap=yyGetInt32(_ap);_rn=yyGetInt32(_rn);if(_lz3!=0.0){__5+=_lz3;_06+=_lz3;_s5+=_lz3;_t5+=_lz3;}var _l3=((_Rb*255.0)<<24);_ap=_l3|_Ub(_ap);_rn=_l3|_Ub(_rn);var _R5=(_s5-__5);var _T5=(_t5-_06);var _K5=(_R5*_R5)+(_T5*_T5);if(_K5<0.0001)return;_K5=Math.sqrt(_K5);if(_K5<0.0001)return;_R5=0.5*_oi*_R5/_K5;_T5=0.5*_oi*_T5/_K5;var _G9=_i7._H9(_d9._I9,null,_i7._J9,6);var _K9=_G9._L9()>>2;var index=_K9*_G9._M9;_G9._M9+=6;
var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;var _N9=_G9._O9;var _P9=_G9._Q9;_N9[_T9+0]=(__5-_T5);_N9[_T9+1]=(_06+_R5);_N9[_la+0]=(_s5-_T5);_N9[_la+1]=(_t5+_R5);_N9[_34+0]=(_s5+_T5);_N9[_34+1]=(_t5-_R5);_N9[_ma+0]=(_s5+_T5);_N9[_ma+1]=(_t5-_R5);_N9[_na+0]=(__5+_T5);_N9[_na+1]=(_06-_R5);_N9[_oa+0]=(__5-_T5);_N9[_oa+1]=(_06+_R5);_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;_P9[_T9]=_P9[_na]=_P9[_oa]=_ap;_P9[_la]=_P9[_34]=_P9[_ma]=_rn;
}function _xC3(_Yf1,_oi,_pi,_ae1){var _u_1=_i7._p_1(_oi,_pi,_ae1);_Yf1._dj1=_u_1;_Yf1._5i1=_u_1._5i1;_Yf1.texture._R7=_u_1._ej1;}function _5A3(_oi,_pi,_ae1,_Th1){_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);if(_oi<=0||_pi<=0){_L3("create_surface : Trying to create a surface with size equal to or less than zero.");}if(_Th1!=undefined){_Th1=yyGetInt32(_Th1);}var _F3=new _lr();_F3.texture=document.createElement("surf");_F3._3c=_oi;_F3._4c=_pi;_F3.texture.width=_oi;_F3.texture.height=_pi;_F3.texture._3c=_oi;_F3.texture._4c=_pi;
if(_Th1!=undefined){var _qr=_gr._I4(_Th1);if(_qr&&_qr._dj1){_i7._w_1(_qr._dj1);}}_xC3(_F3,_oi,_pi,_ae1);_F3.x=0;_F3.y=0;_F3.w=_oi;_F3.h=_pi;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;if(_Th1!=undefined){_gr.Set(_Th1,_F3);_F3.tp=_Th1;}else {_F3.tp=_gr._Ke(_F3);}_F3._Vh1=_F3;_F3.texture.complete=true;_F3._t7=[];_F3._u7=0;_F3._v7=4;_F3._Wh1=0;_F3._9s=null;_F3._of1=_F3.texture;return _F3.tp;}function _6A3(_nf){_nf=yyGetInt32(_nf);if(_nf<0){return;}var _qr=_gr._I4(_nf);
if(_qr&&_qr._dj1){if(_Qh1(_nf)){_Ch("Error: Surface in use via surface_set_target(). It can not be freed until it has been removed from the surface stack.");return;}_i7._vY1();_i7._w_1(_qr._dj1);_qr.texture._R7=undefined;_gr._vi(_nf);}else if(!_qr){return 0;}}function _7A3(_nf,_u4,_v4){var _u3=_8A3(_nf,_u4,_v4);if(Array.isArray(_u3)){_u3.splice(3);return _u3;}else {return _u3&0x00ffffff;}}function _8A3(_nf,_u4,_v4){var _u3=0;var _qr=_gr._I4(yyGetInt32(_nf));if(_qr!=null){_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);
_u3=_i7._m_1(_qr._5i1,_u4,_v4,_qr._dj1._ej1._vc);}return new Long(_u3);}function _1A3(_nf,_u4,_v4){var _qr=_gr._I4(yyGetInt32(_nf));if(!_qr)return;_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);var colour=((_Rb*255.0)<<24)|0x00ffffff;_59._sf1(_qr,0,0,_qr._3c,_qr._4c,_u4,_v4,_qr._3c,_qr._4c,colour);}function _yC3(_K7,_A5,_B5,_C5,_D5,_ja,_ka,_ar2,_br2,_hx1,_zC3,_24,_AC3,_ag,_bg,_Pq1,_1O2){var z=(_X9);var _Zb=_Cb(_gb);var _BC3=_i7._H9(_Zb,_K7,_i7._J9,6);var _K9=_BC3._L9()>>2;var index=_K9*_BC3._M9;_BC3._M9+=6;var _N9=_BC3._O9;
var _P9=_BC3._Q9;var _R9=_BC3._S9;var _T9=index;var _la=_T9+_K9;var _34=_la+_K9;var _ma=_34+_K9;var _na=_ma+_K9;var _oa=_na+_K9;_N9[_T9+0]=_N9[_oa+0]=_A5;_N9[_T9+1]=_N9[_oa+1]=_B5;_N9[_la+0]=_C5;_N9[_la+1]=_D5;_N9[_34+0]=_N9[_ma+0]=_ja;_N9[_34+1]=_N9[_ma+1]=_ka;_N9[_na+0]=_ar2;_N9[_na+1]=_br2;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=z;_P9[_T9]=_P9[_oa]=_ag;_P9[_la]=_bg;_P9[_34]=_P9[_ma]=_Pq1;_P9[_na]=_1O2;_R9[_T9+0]=_R9[_oa+0]=_hx1;_R9[_T9+1]=_R9[_oa+1]=_zC3;_R9[_la+0]=_24;_R9[_la+1]=_zC3;
_R9[_34+0]=_R9[_ma+0]=_24;_R9[_34+1]=_R9[_ma+1]=_AC3;_R9[_na+0]=_hx1;_R9[_na+1]=_AC3;return true;}function _9A3(_0j1,_CC3,_DC3,_wi){_0j1=yyGetInt32(_0j1);_CC3=yyGetInt32(_CC3);_DC3=yyGetInt32(_DC3);_wi=yyGetInt32(_wi);_i7._Fi1();_i7._p9._YB();_ji1(_0j1);_Aw(0,0,surface_get_width(_0j1),surface_get_height(_0j1),0);var _pi=surface_get_height(_wi);var _oi=surface_get_width(_wi);var _u4=0;var _v4=0;var _EC3=_DC3;var _FC3=(_DC3+_pi);var _B5=_v4;var _D5=(_v4+_pi);var _04=(1/_oi);var _14=(1/_pi);_yC3(surface_get_texture(_wi)._Lb._R7,
_CC3,_EC3,_CC3+_oi,_EC3,_CC3+_oi,_FC3,_CC3,_FC3,_04*_u4,_14*_B5,_04*(_u4+_oi),_14*_D5,0xffffffff,0xffffffff,0xffffffff,0xffffffff);_i7._Fi1();_Gi1();_i7._p9._ZB();}function _aA3(_0j1,_CC3,_DC3,_wi,_A3,_B3,_1j1,_2j1){_0j1=yyGetInt32(_0j1);_CC3=yyGetInt32(_CC3);_DC3=yyGetInt32(_DC3);_wi=yyGetInt32(_wi);_A3=yyGetInt32(_A3);_B3=yyGetInt32(_B3);_1j1=yyGetInt32(_1j1);_2j1=yyGetInt32(_2j1);_i7._vY1();_i7._p9._YB();_ji1(_0j1);_Aw(0,0,surface_get_width(_0j1),surface_get_height(_0j1),0);var _pi=_2j1;var _oi=_1j1;
var _u4=_A3;var _v4=_B3;var _EC3=_DC3;var _FC3=(_DC3+_pi);var _B5=_v4;var _D5=(_v4+_pi);var _04=(1/surface_get_width(_wi));var _14=(1/surface_get_height(_wi));_yC3(surface_get_texture(_wi)._Lb._R7,_CC3,_EC3,_CC3+_oi,_EC3,_CC3+_oi,_FC3,_CC3,_FC3,_04*_u4,_14*_B5,_04*(_u4+_oi),_14*_D5,0xffffffff,0xffffffff,0xffffffff,0xffffffff);_i7._vY1();_Gi1();_i7._p9._ZB();_i7._vY1();}function _dA3(_x3,_u4,_v4,_oi,_pi,_cr,_dr){_PD("sprite_add_from_screen() (WebGL)");return -1;}function _cA3(_nf,_u4,_v4,_oi,_pi,_cr,_dr){var _qr=_gr._I4(_nf);
if(_qr!=null){if(_qr._dj1._ej1._vc!=_fr){debug("Surface "+yyGetInt32(_nf)+" can't be used as a background source as it uses unsupported format "+_i7._pZ1(_qr._dj1._ej1._vc));return -1;}_u4=~~_u4;_v4=~~_v4;_oi=~~_oi;_pi=~~_pi;var _of1=document.createElement(_cE);var _pf1=_of1.getContext('2d');_qf1(_pf1);var _1c=_i7._0_1(_of1,_qr._5i1,_u4,_v4,_oi,_pi,_cr,_dr);var _F3=new _lr();_F3.x=0;_F3.y=0;_F3.w=_1c._EZ1;_F3.h=_1c._FZ1;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_oi;_F3.oh=_pi;
_F3.tp=_Cr(_of1);_F3.texture=_J3[_F3.tp];_F3.texture._R7=_1c;_F3.texture._3c=_of1.width;_F3.texture._4c=_of1.height;_F3.texture.complete=true;var _jr=new _kr();_jr._9r=_F3;return _cq._mr(_jr);}debug("Surface "+_nf+" does not exist");return -1;}function _bA3(_u4,_v4,_oi,_pi,_cr,_dr){_u4=~~_u4;_v4=~~_v4;var _of1=document.createElement(_cE);var _pf1=_of1.getContext('2d');_qf1(_pf1);var _1c=_i7._VZ1(_of1,_u4,_v4,_oi,_pi,_cr,_dr,(_5z>0));var _F3=new _lr();_F3.x=0;_F3.y=0;_F3.w=_1c._EZ1;_F3.h=_1c._FZ1;_F3.XOffset=0;
_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_oi;_F3.oh=_pi;_F3.tp=_Cr(_of1);_F3.texture=_J3[_F3.tp];_F3.texture._R7=_1c;_F3.texture.width=_oi;_F3.texture.height=_pi;_F3.texture._3c=_oi;_F3.texture._4c=_pi;_F3.texture.complete=true;var _jr=new _kr();_jr._9r=_F3;return _cq._mr(_jr);}function _eA3(_nf,_u4,_v4,_oi,_pi,_cr,_dr,_uf1,_vf1){var _qr=_gr._I4(yyGetInt32(_nf));if(_qr!=null){if(_qr._dj1._ej1._vc!=_fr){debug("Surface "+yyGetInt32(_nf)+" can't be used as a sprite source as it uses unsupported format "+_i7._pZ1(_qr._dj1._ej1._vc));
return -1;}_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);_cr=yyGetBool(_cr);_dr=yyGetBool(_dr);_uf1=yyGetInt32(_uf1);_vf1=yyGetInt32(_vf1);var _of1=document.createElement(_cE);var _pf1=_of1.getContext('2d');_qf1(_pf1);var _1c=_i7._0_1(_of1,_qr._5i1,_u4,_v4,_oi,_pi,_cr,_dr);var _F3=new _lr();_F3.x=0;_F3.y=0;_F3.w=_1c._EZ1;_F3.h=_1c._FZ1;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_oi;_F3.oh=_pi;_F3.tp=_Cr(_of1);_F3.texture=_J3[_F3.tp];_F3.texture._R7=_1c;
_F3.texture._3c=_of1.width;_F3.texture._4c=_of1.height;_F3.texture.complete=true;var _rf1=new _wf1();_rf1.pName="surface.copy";_rf1.width=_oi;_rf1.height=_pi;_rf1._MO=new _ME();_rf1._MO.right=_rf1.width;_rf1._MO.bottom=_rf1.height;_rf1.transparent=true;_rf1.smooth=true;_rf1.preload=true;_rf1._gf1=0;_rf1._5q=_yf1._zf1;_rf1.xOrigin=_uf1;_rf1.yOrigin=_vf1;_rf1._Br=true;_rf1._I5=1;_rf1._Ff1=0;_rf1._Af1=false;_rf1._Bf1=false;_rf1._J5=[];_rf1._G3=[];_rf1.Masks=[];_rf1._hf1();_rf1._G3[0]=_F3;var _zV=_H4._xf1(_rf1);
return _zV;}debug("Surface "+yyGetInt32(_nf)+" does not exist");return -1;}function _fA3(_x3,_nf,_u4,_v4,_oi,_pi,_cr,_dr){var _qr=_gr._I4(yyGetInt32(_nf));if(_qr!=null){if(_qr._dj1._ej1._vc!=_fr){debug("Surface "+yyGetInt32(_nf)+" can't be used as a sprite source as it uses unsupported format "+_i7._pZ1(_qr._dj1._ej1._vc));return -1;}_x3=yyGetInt32(_x3);_u4=yyGetInt32(_u4);_v4=yyGetInt32(_v4);_oi=yyGetInt32(_oi);_pi=yyGetInt32(_pi);_cr=yyGetBool(_cr);_dr=yyGetBool(_dr);var _of1=document.createElement(_cE);
var _pf1=_of1.getContext('2d');_qf1(_pf1);var _1c=_i7._0_1(_of1,_qr._5i1,_u4,_v4,_oi,_pi,_cr,_dr);var _F3=new _lr();_F3.x=0;_F3.y=0;_F3.w=_oi;_F3.h=_pi;_F3.XOffset=0;_F3.YOffset=0;_F3.CropWidth=_F3.w;_F3.CropHeight=_F3.h;_F3.ow=_F3.w;_F3.oh=_F3.h;_F3.tp=_Cr(_of1);_F3.texture=_J3[_F3.tp];_F3.texture._R7=_1c;_F3.texture._3c=_of1.width;_F3.texture._4c=_of1.height;_F3.texture.complete=true;var _0F=_H4._I4(_x3);_0F._G3[_0F._G3.length]=_F3;_0F._I5++;return _x3;}debug("Surface "+yyGetInt32(_nf)+" does not exist");
return -1;}function _gA3(_N63,_O63){var _P63,_S63;_P63=_i7._G_1(_O63);_S63=_i7._G_1(_N63);var _kd1=(_N63.h*_N63.w*4);for(var i=_kd1-4;i>=0;i-=4){var c=~~((_P63[i]+_P63[i+1]+_P63[i+2])/3);_S63[i+3]=c;}var _RY2=new Image();_i7._y_1(_N63.texture._R7._ej1);_N63.texture._R7=_i7._6_1(_RY2,_S63,_N63.w,_N63.h);return true;}function _3A3(_nf){var _kY=_wj._I4(yyGetInt32(_nf));if(_kY){var _G9,_K9,index,_K43,_5B3,_N9,_P9,_R9,__5,_06,_s5,_t5;var _mu=~~((_Rb*255.0)<<24)|0x0000ff;var _nu=~~((_Rb*255.0)<<24)|0x00ff00;var _u7=6*(_kY._yj*_kY._xj);
_G9=_i7._H9(_d9._I9,null,_i7._J9,_u7);_K9=_G9._L9()>>2;index=_K9*_G9._M9;_5B3=_G9._M9;_G9._M9+=_u7;var _N9=_G9._O9;var _P9=_G9._Q9;for(var y=0;y<_kY._yj;y++){for(var x=0;x<_kY._xj;x++,index+=_K9*6){var _q3=_nu;var _T9=index,_la=_T9+_K9,_34=_la+_K9,_ma=_34+_K9,_na=_ma+_K9,_oa=_na+_K9;if(_kY._Bj[(_kY._yj*x)+y]<0)_q3=_mu;__5=~~(_kY._aY+x*_kY._cY);_06=~~(_kY._bY+y*_kY._dY);_s5=__5+_kY._cY;_t5=_06+_kY._dY;_N9[_oa+0]=_N9[_na+0]=_N9[_T9+0]=__5;_N9[_oa+1]=_N9[_la+1]=_N9[_T9+1]=_06;_N9[_ma+0]=_N9[_34+0]=_N9[_la+0]=_s5;
_N9[_na+1]=_N9[_ma+1]=_N9[_34+1]=_t5;_N9[_T9+2]=_N9[_la+2]=_N9[_34+2]=_N9[_ma+2]=_N9[_na+2]=_N9[_oa+2]=_X9;_P9[_T9]=_P9[_la]=_P9[_34]=_P9[_ma]=_P9[_na]=_P9[_oa]=_q3;}}return;}_L3("Error: invalid mp_grid ID (mp_grid_draw)");}function _2A3(_nf,_c31,_d31,_a31){var _SX=_TX.Paths[yyGetInt32(_nf)];if(!_SX)return;_c31=yyGetInt32(_c31);_d31=yyGetInt32(_d31);_a31=yyGetBool(_a31);var _G9,_Fm3,_N9,_P9,_R9,_K9;var _q3=~~((_Rb*255.0)<<24)|(_Sb&0xffffff);var _R5,_T5,_e31;var _f31=0;var _g31=_SX._h31(0);if(!_a31){_c31=_c31-_g31.x;
_d31=_d31-_g31.y;}else {_c31=0;_d31=0;}_f31=_0k(_SX.length/4.0);if(_f31==0)return;var _u7=_f31*2;_G9=_i7._H9(_d9._Fb,null,_i7._J9,_u7);_K9=_G9._L9()>>2;_Fm3=_K9*_G9._M9;_G9._M9+=_u7;var _N9=_G9._O9;var _P9=_G9._Q9;for(var i=0;i<_f31;i++){_g31=_SX._h31(i/_f31);var __5=~~(_c31+_g31.x);var _06=~~(_d31+_g31.y);_P9[_Fm3+0]=_q3;_N9[_Fm3+0]=__5;_N9[_Fm3+1]=_06;_N9[_Fm3+2]=_X9;_Fm3+=_K9;_g31=_SX._h31((i+1)/_f31);var _s5=~~(_c31+_g31.x);var _t5=~~(_d31+_g31.y);_P9[_Fm3+0]=_q3;_N9[_Fm3+0]=_s5;_N9[_Fm3+1]=_t5;_N9[_Fm3+2]=_X9;
_Fm3+=_K9;}}function _zz3(_fn){_i7._dZ1(_fn);}function __z3(_si,_tj){_7i3=_si;_8i3=_tj;_i7._wY1(_7i3,_8i3);}function _0A3(_GC3){if(_GC3){_lL(0);}else {_nL(_UB,_WB);}}function _hA3(_s7){if(_s7){return 1.0/_s7._Lb.width;}return 1.0;}function _iA3(_s7){if(_s7){return 1.0/_s7._Lb.height;}return 1;}function _jA3(_z81,_fd){_i7._fZ1(yyGetInt32(_z81),_fd._Lb._R7);}function _kA3(_A81){_A81=yyGetInt32(_A81);if(_oZ2[_A81]&&_oZ2[_A81]._fY1){return 1;}return 0;}function _lA3(_A81){_A81=yyGetInt32(_A81);var _SX1=(_A81==-1)?_Vy():_oZ2[_A81]._fY1;
if(_SX1){_i7._Uy(_SX1);}}function _xA3(_A81){_A81=yyGetInt32(_A81);var _SX1=(_A81==-1)?_Vy():_oZ2[_A81]._fY1;if(_SX1){return _SX1.name;}return "";}function _mA3(_A81,_B81){_A81=yyGetInt32(_A81);var _SX1=(_A81==-1)?_Vy():_oZ2[_A81]._fY1;if(_SX1){return _i7._2Z1(_oZ2[_A81]._fY1,yyGetString(_B81));}return undefined;}function _nA3(_G81,_6Z1){_G81=yyGetInt32(_G81);if(_G81!=-1){_i7._5Z1(_G81,_6Z1);}}function _oA3(_G81,_6Z1){_G81=yyGetInt32(_G81);if(_G81!=-1){_i7._7Z1(_G81,_6Z1);}}function _pA3(_G81,_6Z1){_G81=yyGetInt32(_G81);
if(_G81!=-1){var _5A=_6A(_Zz);_i7._8Z1(_G81,new Float32Array(_5A._z5));}}function _qA3(_A81,_fd){_A81=yyGetInt32(_A81);if(_oZ2[_A81]){var _SX1=_oZ2[_A81];if(_SX1){for(var i=0;i<_SX1._gY1.length;i++){if(_SX1._gY1[i]==_fd){return Number(i);}}}}return 0;}function _rA3(_F81){_733=yyGetBool(_F81);}function _sA3(_G81,_lk){if(_lk instanceof Array){_i7._bZ1(yyGetInt32(_G81),_lk);}else {alert('ERROR: shader_set_uniform_i_array() Data is not an array');}}function _tA3(_G81,_lk){if(_lk instanceof Array){_i7._cZ1(yyGetInt32(_G81),
_lk);}else {alert('ERROR: shader_set_uniform_f_array() Data is not an array');}}function _uA3(_G81,_wk,_H81,_jd){var _G9=_fN._I4(yyGetInt32(_wk));if(!_G9){alert('ERROR: shader_set_uniform_f_buffer() Data is not a buffer');return;}_H81=yyGetInt32(_H81);if(_H81<0){alert('ERROR: shader_set_uniform_f_buffer() Invalid offset '+_H81);return;}_jd=yyGetInt32(_jd);if(_jd<=0||((_H81+_jd*4)>_G9._kW2)){alert('ERROR: shader_set_uniform_f_buffer() Invalid count '+_jd+'. Trying to read outside of the buffer.');return;
}var _lk=new Array(_jd);for(var i=0;i<_jd;++i){_lk[i]=_G9._GX2(_Nd2,_H81);_H81+=4;}_i7._cZ1(yyGetInt32(_G81),_lk);}function _vA3(_G81,_lk){if(_lk instanceof Array){var _D81=new Float32Array(_lk);_i7._8Z1(yyGetInt32(_G81),_D81);}else {alert('ERROR: shader_set_uniform_matrix_array() Data is not an array');}}function _yA3(_mL){}function _zA3(_HC3){var _sB=_i7._RY1();for(var _IB=0;_IB<_sB;_IB++){_vR2(_IB,_HC3);}}function _AA3(_z81,_HC3){_dz3[_z81]=_HC3?true:false;_i7._PY1(_z81,_dz3[_z81]);}function _BA3(_rB){var _sB=_i7._RY1();
for(var _IB=0;_IB<_sB;_IB++){_wR2(_IB,_rB);}}function _CA3(_z81,_rB){_i7._QY1(_z81,_rB?_d9._wB:_d9._yB);}function _DA3(){return _dz3[0];};function _EA3(_s7){if(typeof(_s7)=="object"){return 1.0;}else if((yyGetInt32(_s7)!=-1)&&_J3[yyGetInt32(_s7)]){return 1.0;}return 0;}function _FA3(_s7){if(typeof(_s7)=="object"){return 1.0;}else if((yyGetInt32(_s7)!=-1)&&_J3[yyGetInt32(_s7)]){return 1.0;}return 0;}function _GA3(_s7){if((_s7==-1)||(_s7===undefined))return [0,0,1,1];var _F3=_s7._Mb;var texture=_F3.texture;if(_F3===undefined||texture===undefined)return [0,
0,1,1];var _ds=1.0/texture.width;var _es=1.0/texture.height;var _fs=[];_fs.push(_F3.x*_ds,_F3.y*_es,(_F3.x+_F3.CropWidth)*_ds,(_F3.y+_F3.CropHeight)*_es);return _fs;}function _wA3(){return 1;}function _HA3(_Ry){_nB=(_Ry>0.5)?true:false;_i7._NY1(_nB,_pB);}function _IA3(_Zm){_pB=_Zm/255.0;_i7._NY1(_nB,_pB);}function _JA3(){return(_nB?1.0:0.0);}function _KA3(){return _pB;}function _Yz(_sc,_Pv){_sA[_sc]=new _Dy(_Pv);_lM();_hM|=(_sc==_tA||_sc==_wA);if(_i7==null)return;switch(_sc){case _wA:_i7._6z(_sA[_sc]);break;case _tA:_i7._0z(_sA[_sc]);
break;case _Zz:_i7._kZ1(_sA[_sc]);break;}_i7._Fi1();}function _6A(_sc){switch(_sc){case _wA:case _tA:case _Zz:return _sA[_sc];break;}}function _UA3(){if(_vD.Shaders){for(var i=0;i<_vD.Shaders.length;i++){var _eY1=_vD.Shaders[i];_oZ2[i]=_i7._aY1(_eY1.Vertex,_eY1.Fragment,_eY1.Attributes);if(_oZ2[i]._fY1==null){debug("Shader "+_eY1.name+" can't be compiled. Please check the shader for errors");}}}return true;}function _Yz3(_Tb){_6G=_Tb;_Sb=_Ub(_Tb);}function _Q7(_Yf1){if(!_Yf1.texture._R7){var _1c=_i7._mZ1(_Yf1.texture);
_Yf1.texture._R7=_1c;_Yf1.texture._3c=_Yf1.texture.width;_Yf1.texture._4c=_Yf1.texture.height;}}function _S7(_s7,_CZ1){if(_s7._ej1)return;if(_CZ1===_d9._GZ1||((_CZ1===_d9._HZ1)&&(_s7.Image._oZ1!==undefined&&_s7.Image._oZ1!==0))){_s7._Df|=(_IZ1._n32|_IZ1._JZ1);}_i7._AZ1(_s7,_CZ1);_Mv3(_s7);}function _ls(_s7,_CZ1){if(_s7._ej1){_i7._y_1(_s7._ej1);_s7._ej1=undefined;_s7._Df&=~_IZ1._LZ1;_Nv3(_s7);}}function _pL(){_i7._vY1();var _IC3=_J3.length;var i;for(i=0;i<_IC3;i++){if(_J3[i]){if(_J3[i]._R7){_ls(_J3[i]._R7);
}}}}function _b_1(_s7,_CZ1){if(_s7._ej1!=undefined){var _JC3=true;if(_CZ1!==_d9._c_1&&(((_CZ1==_d9._GZ1)&&(((_s7._Df&_IZ1._LZ1)==0)&&((_s7._Df&_IZ1._n32)!=0)))||(((_CZ1==_d9._V02)&&((_s7._Df&_IZ1._LZ1)!=0)))||(((_CZ1==_d9._HZ1)&&(((_s7._Df&_IZ1._JZ1)&&((_s7._Df&_IZ1._LZ1)==0))||(((_s7._Df&_IZ1._JZ1)==0)&&((_s7._Df&_IZ1._LZ1)!=0))))))){_JC3=false;}return _JC3;}else {return false;}}function _LA3(_wk,_PY2,_Eq,_H81,_KC3){var _G9=_fN._I4(yyGetInt32(_wk));var _qr=_gr._I4(yyGetInt32(_PY2));if(!_G9||!_qr)return false;
if(_H81===undefined)_H81=0;var _0U1=_i7._n_1(_qr._5i1,0,0,_qr._3c,_qr._4c,_qr._dj1._ej1._vc);if(_G9._sV2==_8j&&_H81+_0U1.length>_G9._kW2){_G9._rW2(_H81+_0U1.length);}for(var i=0;i<_0U1.length;i++){_G9._TX2(_lN,i,_0U1[i]);}_0U1=null;}function _MA3(_wk,_PY2,_Eq,_H81,_KC3){var _G9=_fN._I4(yyGetInt32(_wk));var _qr=_gr._I4(yyGetInt32(_PY2));if(!_G9||!_qr)return false;var data=new Uint8Array(_G9._iN);_Az3(_qr.texture._R7,0,0,_qr._3c,_qr._4c,data,_qr._dj1._ej1._vc);data=null;}var _LC3=0;var _MC3=100;var canvas=null;
var _NC3,_OC3,_PC3,_QC3,_RC3,_SC3,_TC3,_UC3;var _N73=false;var _59=null;var g_CurrentGraphics;var _VC3=null;var _dn3=null;var _WC3=0;var _XC3=false;var _YC3=0;var _ZC3=0;var _zy2=60;if(!Date.now)Date.now=function(){return new Date().getTime();};var __C3=Date.now();var _0D3=__C3;var _1D3=__C3;var _1N="anonymous";var _Mh1=-1;var __h1=-1;var _0i1=-1;var _Wo1=true;var _Xo1=true;var _2p1=true;var _Yo1=-1;var _Zo1=-1;var _Oh1=-1;var _Ph1=-1;var _Nh1=false;var _1p1=true;var _3p1={x:0,y:0,w:0,h:0};var _NJ=false;var _2D3=false;var _3D3=1;
var _4D3=1;var _5D3=1;var _6D3=0;var _7D3=0;var _8D3=0;if(window.chrome&&window.chrome.app){_N73=true;try{if(window&&window['localStorage']){_N73=false;}}catch(e){}}if(Number.isNaN===undefined){Number.isNaN=function(_RE){return typeof(_RE)==='number'&&isNaN(_RE);};}window._9D3=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(!window._9D3){window.addEventListener("message",function(e){if(e.source==window&&e.data=="yyRequestAnimationFrame"){
e._aD3();_bD3();}},true);}window.requestAnimFrame=(function(){return window._9D3||function(_jl1){window.setTimeout(_jl1,1000/60);};})();var _cD3=undefined;function _dD3(_ML){return(_vD.FeatureFlags!==undefined)&&(_vD.FeatureFlags[_ML]!==undefined);}function exception_unhandled_handler(_4X){var _u3=_cD3;if((_4X instanceof Function)||(_4X==undefined)){_cD3=_4X;}else if(typeof _4X=="number"){var _FD=_Ro1(_4X);if(_FD!=null){_cD3=_FD;}else {_L3("exception_unhandled_handler : argument should be a function");}}else {
_L3("exception_unhandled_handler : argument should be a function");}return _u3;}function _eD3(event){if((_cD3==undefined)||!(_cD3 instanceof Function)){var string="Unhandled Exception - "+event.message+" in file "+event.filename+" at line "+event.lineno;_qD(string);game_end(-1);}else {var _u3=_cD3(undefined,undefined,event.error);game_end(_u3);}debugger;return false;}function _fD3(error){var string="Unhandled Rejection - "+error.message;console.error(string);if(error&&error._Fy3){error._Fy3.catch(function(err){
var _gD3=true;try{var _hD3=err.stack.indexOf("https://");if(_hD3<0)_hD3=err.stack.indexOf("http://");if(_hD3>=0){var _iD3=new RegExp("\\r\\n|\\r|\\n","g");var _jD3=err.stack.slice(_hD3).split(_iD3);if(_jD3.length>0){var _sq=_jD3[0];_hD3=_sq.lastIndexOf("/");if(_hD3>0){var _kD3=new URL(_sq.slice(0,_hD3+1));if((_kD3._lD3!=window.location._lD3)||(_kD3.pathname.indexOf(_vD.Options.GameDir)<0)){_gD3=false;}}}}}catch(e){console.error(e.message);}if(_gD3){game_end(-2);debugger;}});}return false;}window.addEventListener("error",
_eD3);window.addEventListener("unhandledrejection",_fD3);var GMS_API={"debug_msg":show_debug_message,"ds_list_size":ds_list_size,"ds_list_find_value":ds_list_find_value,"json_encode":json_encode,"json_decode":json_decode,"extension_get_option_value":extension_get_option_value,"send_async_event_social":_mD3,"get_facebook_app_id":_nD3,"get_app_version_string":_oD3};function _nD3(){return _vD.Options.Facebook;}function _oD3(){var appVersion=_vD.Options.MajorVersion+"."+_vD.Options.MinorVersion+"."+_vD.Options.BuildVersion+" r"+_vD.Options.RevisionVersion;
return appVersion;}function _mD3(_pD3){var _qD3=JSON.stringify(_pD3);var _rD3=json_decode(_qD3);g_pBuiltIn.async_load=_rD3;_m2._n2(_MC2,0);ds_map_destroy(_rD3);}var _sD=null;function _sD3(){if(_sD){_sD.document.getElementById("debug_console").value="";}}function _tD3(){if(_sD){if(_Yy2){_Yy2=false;}else {_Yy2=true;}}}function CreateDebugConsole(){try{_sD=window.open('','gamemakerstudio_debugconsole_window','width=990,height=600,titlebar=yes,scrollbars,resizable');if(_sD){if(!_sD.document.getElementById("debug_console")){
{_sD.document.write('<!DOCTYPE html><html>'+'<header>'+'<title>GameMaker - DEBUG console</title>'+'</header>'+'<body>'+'<table border="0"><tr>'+'<td>Debug Output</td><td>Instances</td><td>InstanceData</td></tr>'+'<tr><td><textarea id="debug_console" wrap="off" style="width: 450px; height:500px;  display: block;" cols="70"></textarea></td>'+'<td>'+'<select id="debug_instances" size=31 style="width: 120px; height: 500px; font-family: monospace;" > '+'</select>'+'</td>'+'<td ALIGN="left" VALIGN="top" style="min-width:350px; width:300px; height:500px; font-family: monospace; border:solid 1px #666"><div id="debug_Instance_Data"  style="width:100%; height:500px;overflow: auto;"></div></td>'+'</tr></table>'+'<br><button type="button" id="clear_console_button" onclick="ClearConsoleCallback()">Clear Console</button>'+'<button type="button" id="gm_pause_button" onclick="ToggleDebugPause()">Pause/Resume</button>'+'</body>'+'</html>');
}var _uD3=_sD.document.getElementById("clear_console_button");_uD3.onclick=function(){_sD3();};_uD3=_sD.document.getElementById("gm_pause_button");_uD3.onclick=function(){_tD3();};}}_8n1=0x71562;}catch(e){debug(e.message);}}function _vD3(){var c=document.getElementById(_cE);var _Tf=c.parentNode;var load=document.createElement('canvas');_ef(canvas,_ff);load.style.position="absolute";load.style.left=_ff.left+"px";load.style.top=_ff.top+"px";load.width=c.width;load.height=c.height;load.setAttribute("id",
"loading_screen");_Tf.insertBefore(load,c.nextSibling);_VC3=load.getContext('2d');_qf1(_VC3);}function _wD3(_dn){var _rh="";var _K5=_dn.length;for(var i=0;i<_K5;i++){_rh=_rh+String.fromCharCode(_dn.charCodeAt(i)^0x1a);}return _rh;}function _xD3(){var c=document.getElementById(_cE);var _K5=document.getElementById("loading_screen");var _Tf=c.parentNode;if(_K5!=null){_Tf.removeChild(_K5);}_VC3=null;_XC3=false;}function _ef(_tW1,_I53){var rect=_tW1.getBoundingClientRect();_I53.left=rect.left;_I53.top=rect.top;
_I53.right=_I53.left+_Im1;_I53.bottom=_I53.top+_Jm1;_I53.scaleX=(_tW1.clientWidth/_tW1.width)||1;_I53.scaleY=(_tW1.clientHeight/_tW1.height)||1;}function _yD3(_sq){_nK2=[];_zH=[];_AH=[];_yH=0;var _0B=_sq.search;var _Hg=_sq.protocol+"//"+_sq.host+_sq.pathname;_zH[0]=_Hg;_AH[0]=null;if(_0B[0]=="?")_0B=_0B.substring(1,_0B.length);var index=0;var start=0;var _A01="";var _yd=null;while(index<_0B.length){var c=_0B[index];if(c=="&"){if(_A01!=""){if(start!=index)_yd=_0B.substring(start,index);_zH[_zH.length]=_A01;
_AH[_AH.length]=_yd;_nK2[_A01]=_yd;_yH++;_A01="";_yd=null;}start=index+1;}else if(c=="="){_A01=_0B.substring(start,index);_yd=null;start=index+1;}index++;}if(_A01!=""){if(start!=index)_yd=_0B.substring(start,index);_zH[_zH.length]=_A01;_AH[_AH.length]=_yd;_nK2[_A01]=_yd;_yH++;_A01=_yd="";}}function _kc3(){_NC3=canvas.style.position;_OC3=canvas.style.left;_PC3=canvas.style.top;_QC3=canvas.style.cssText;_RC3=canvas.parentNode;_SC3=canvas.nextSibling;_TC3=false;_UC3=canvas.margin;if((_RC3==document.body)||(canvas.mozRequestFullScreen)||(canvas.webkitRequestFullScreen)){
_TC3=true;}}window['GameMaker_Init']=GameMaker_Init;var _OF=undefined;function GameMaker_Init(){debug('------- GameMaker_Init -------------');if(!document.getElementById||!document.createElement)return;canvas=document.getElementById(_cE);_59=null;if(!canvas)return;_yD3(window.location);_vD=JSON_game;if(typeof g_var2obf!=="undefined"){_OF=Object.getOwnPropertyNames(g_var2obf).reduce((_zD3,prop)=>{_zD3[g_var2obf[prop]]=prop;return _zD3;},{});}if(_vD.Options.outputDebugToDiv){var _AD3=document.createElement('div');
_AD3.id="yyDebugDiv";_AD3.style.display="none";document.body.appendChild(_AD3);}_gL2();if((_vD.Options&&_vD.Options.debugMode)||(_vD.Options&&_vD.Options.debugMode==undefined)){_rD=true;}if((_vD.Options!=undefined)&&(_vD.Options.AssetCompilerMajorVersion!=undefined)&&(_vD.Options.AssetCompilerMajorVersion>1)){_z2=true;if(_vD.Options.GameSpeed!=undefined){_B2._gJ(_vD.Options.GameSpeed);}}_Zy2();_CK2=false;_sA=[];_sA[_wA]=new _Dy();_sA[_tA]=new _Dy();_sA[_Zz]=new _Dy();if((_vD.Options.WebGL)&&(_vD.Options.WebGL!=0)){
_FK2=_vD.Options.interpolatePixels;var _BD3=undefined;_BD3=_OA3(canvas);if(_BD3){_59=_i7;}else {if(_vD.Options.WebGL==1){_CK2=true;}_59=canvas.getContext('2d');}}else {_59=canvas.getContext('2d');}g_CurrentGraphics=_59;_mY=_vD.Options.CollisionCompatibility;_OK2=canvas.width;_PK2=canvas.height;if((_vD.Options.UseNewAudio==true)||_z2){_mm=_nm;}document.body.style._CD3="hidden";_dn3=_59;_IK=canvas.width;_KK=canvas.height;_Im1=_IK;_Jm1=_KK;__h1=_Im1;_0i1=_Jm1;_1p1=(_vD.Options.scale!=0);_3D3=window.devicePixelRatio||1;
_4D3=(_59.webkitBackingStorePixelRatio||_59.mozBackingStorePixelRatio||_59.msBackingStorePixelRatio||_59.oBackingStorePixelRatio||_59.backingStorePixelRatio||1);_5D3=_3D3/_4D3;_ff=new _ME();_ef(canvas,_ff);_Km1=_ff.top;_Lm1=_ff.left;_Mm1=_ff.right;_Nm1=_ff.bottom;if(_vD.Options.Facebook&&!_vD.Options.UseFBExtension){console.log("using internal runtime facebook");_DD3(_vD.Options.Facebook);}else if(_vD.Options&&_vD.Options.debugMode){CreateDebugConsole();}_kc3();_qf1(_59);document.body.oncontextmenu=function(){
return false;};_Mf();_KL2=document.getElementById('GM4HTML5_loadingscreen');if(_i7&&_rD){debug("WebGL Enabled!");debug("Max Texture Size="+_i7._IX1());}_QL2();_to1();if(_CK2){_WC3=-2;}else {if(_rD)g_pBuiltIn.debug_mode=_vD.Options.debugMode;_yK2="";_wK2="";_xK2=function(){};{_AM2(_vD);_WC3=0;}}window.focus();canvas.addEventListener("click",function(e){window.focus();});_1D3=Date.now();window.requestAnimFrame(_bD3);}function _bD3(){if(_WC3!=3)window.requestAnimFrame(_bD3);if(_XC3){_ef(canvas,_ff);var load=document.getElementById("loading_screen");
load.style.position="absolute";load.style.left=_ff.left+"px";load.style.top=_ff.top+"px";}var _9B1=false;while(!_9B1){_9B1=true;switch(_WC3){case -2:{if(_XC3)_xD3();_ED3(_59,_Im1,_Jm1);break;}case -1:if(_IL2==_JL2){_AM2(_vD);_WC3=0;if(!_XC3){_vD3();_XC3=true;}_EM2();_yK2(_VC3,_Im1,_Jm1,_HL2,_bd1,_KL2);}break;case 0:if(!_XC3){_vD3();_XC3=true;}if(_bd1>=_HL2){_bd1=_HL2;_WC3=1;_9B1=false;}_EM2();if(_vD.Options.loadingBarCallback){if(_IL2==_JL2){_wK2=eval(_vD.Options.loadingBarCallback);_wK2(_VC3,_Im1,_Jm1,
_HL2,_bd1,_KL2);}}else _yK2(_VC3,_Im1,_Jm1,_HL2,_bd1,_KL2);break;case 1:if(_IL2==_JL2){_xD3();_PM2(_vD);_WC3=2;_9B1=false;}break;case 2:_xK2();debug("Entering main loop...");_FD3();_WC3=3;g_pBuiltIn._pZ2=new Date().getTime();_9B1=false;break;case 3:_GD3();break;}}}function _HD3(_C53,x,y,colour,text){_C53.fillStyle=colour;_C53.lineStyle=colour;_C53.font="14px Verdana";;_C53.textAlign="center";_C53.fillText(text,x,y);_C53.textAlign="left";}function _ED3(_C53,_q7,_r7){_C53.fillStyle=_rr(0x151515,1.0);_C53.fillRect(0,
0,_q7,_r7);_HD3(_C53,_q7/2,(_r7/2),_rr(0x8d8f90,1.0),"WebGL is required to run this application.");}function _BM2(_59,_q7,_r7,_ID3,_ts3,_JD3){_59.globalAlpha=1;if(_JD3){try{_59.save();_59.fillStyle=_rr(0,1);_59.globalCompositeOperation='copy';_59.fillRect(0,0,_q7,_r7);_59.restore();_59.drawImage(_KL2,0,0,_q7,_r7);}catch(e){show_message(e.message);}}else {var _KD3=(_q7/100)*50;var _LD3=2;var x=(_q7-_KD3)/2;var y=10+(_r7-_LD3)/2;_59.fillStyle=_rr(0x151515,1.0);_59.fillRect(0,0,_q7,_r7);if(_ts3!=0){var w=(_KD3/_ID3)*_ts3;
_59.fillStyle=_rr(0x404040,1.0);_59.fillRect(x,y,_KD3,_LD3);_59.fillStyle=_rr(0x8d8f90,1.0);_59.fillRect(x,y,w,_LD3);}_HD3(_59,_q7/2,(_r7/2),_rr(0x8d8f90,1.0),"Loading");}}function _MD3(_O13){_cq.__e();var _hO2=_O13._T61.backgrounds;for(var i=0;i<_hO2.length;i++){_cq._Ke(_hO2[i]);var _6r=_cq._I4(i);var _ND3=_cq._4r(i);g_pBuiltIn._qZ2[i]=_6r.visible;g_pBuiltIn._rZ2[i]=_6r.foreground;g_pBuiltIn._sZ2[i]=_6r.index;g_pBuiltIn._tZ2[i]=_6r.x;g_pBuiltIn._uZ2[i]=_6r.y;if((_ND3!==null)&&(_ND3!==undefined)&&(_ND3._9r!==null)&&(_ND3._9r!==undefined)){
g_pBuiltIn._vZ2[i]=_ND3._9r.w;g_pBuiltIn._wZ2[i]=_ND3._9r.h;}else {g_pBuiltIn._vZ2[i]=0;g_pBuiltIn._wZ2[i]=0;}g_pBuiltIn._xZ2[i]=_6r._cO2;g_pBuiltIn._yZ2[i]=_6r._dO2;g_pBuiltIn._zZ2[i]=_6r._xQ;g_pBuiltIn._AZ2[i]=_6r._yQ;g_pBuiltIn._CZ2[i]=_6r._fO2;g_pBuiltIn._BZ2[i]=_6r._eO2;g_pBuiltIn._DZ2[i]=_6r._zQ;g_pBuiltIn._EZ2[i]=_6r.alpha;}g_pBuiltIn.background_color=_O13._HZ2;}function _OD3(_dk){var _PD3=[];var stack=[_dk];var _7g=0;while(stack.length){var value=stack.pop();if(typeof value==='boolean'){_7g+=4;
}else if(typeof value==='string'){_7g+=value.length*2;}else if(typeof value==='number'){_7g+=8;}else if(typeof value==='object'&&_PD3.indexOf(value)===-1){_PD3.push(value);for(var i in value){stack.push(value[i]);}}}return _7g;}function _5x2(_XG,_QD3){if(_x2){_x2._on3();var _RD3=_x2._tw2();for(var i=0;i<8;i++){var _df=_x2._u42(i);if(_df){var _SD3=_df._Y61;if(_SD3!=-1){var _Mw2=_li1._ww2(_SD3);if(_Mw2){if(_RD3){_Mw2._sw2(true);}else {_Mw2._sw2(false);}}}}}if(_z2){if(_li1!=null){_li1._6x2();}}}var _TD3=_x2;_b71=-1;
effect_clear();_hW._023(_Y_2,_x2);_Lm._R4(_rB2,0);_hi3();_rd3();var persistent=[];var _UD3=[];if(_TD3!=null){for(var i=_TD3._RN.length-1;i>=0;i--){var _5t=_TD3._RN._I4(i);if(_5t.persistent){persistent[persistent.length]=_5t;_5t._VD3=true;var layer=_7t._QP(_TD3,_5t.layer);if(layer!=null){if(layer._FQ){_UD3[_UD3.length]=null;}else {_UD3[_UD3.length]=layer._GQ;}}else {_UD3[_UD3.length]=null;}}}for(var i=persistent.length-1;i>=0;i--){_TD3._RN._3S(persistent[i]);}if(_TD3._uf3===false){_TD3._qj3(true);_7t.__T(_TD3);
}else {for(var i=_TD3._RN.length-1;i>=0;i--){var _5t=_TD3._RN._I4(i);_5t._ZE._kT(_5t);}_7t._0U(_TD3);}}_md.__e();if(_x2&&!_x2._uf3){var _WD3=_x2._T61;_x2.__R();_x2._T61=_WD3;}_x2=_qS._I4(_XG);var _XD3=_x2._uf3;if(_XD3===true&&(_x2.__i3===false||_QD3===true)){_XD3=false;}if(_XD3===false){_x2._8j3(_x2._T61);_x2._Dj3();}else {_x2._O_2(_x2._4U);_x2._P_2(_x2._6U);_x2._L_2(_x2._M_2);_x2._N_2(_x2._Zi3);_x2._sw2(_x2._uf3);_x2._Dj3();for(i=_x2._RN.length-1;i>=0;i--){var _5t=_x2._RN._I4(i);_5t._ZE._gT(_5t);}}g_pBuiltIn.room=_x2.id;
_7n3();var _XY=_3p1.w/(_RL.right-_RL.left);var _YY=_3p1.h/(_RL.bottom-_RL.top);var _9f=(_x2._af)?_x2._cf:_bf;for(var i=0;i<_9f.length;i++){var _df=_9f[i];_df._gf=_df._Ej3*_XY+_3p1.x;_df._if=_df._Fj3*_YY+_3p1.y;_df._2n3=_df._Gj3*_XY;_df._3n3=_df._Hj3*_YY;_df._hf=_df._gf+_df._2n3;_df._jf=_df._if+_df._3n3;}_MD3(_x2);_hW.__R();if(_7t!=null)_7t._JS(_x2);_ci3();if(_XD3===false){_x2._pj3();_x2._qj3(false);var _YD3=_x2._T61.pInstances;for(var _K5=0;_K5<_x2._T61.pInstances.length;_K5++){var _8C=false;var _ZD3=_x2._T61.pInstances[_K5];
if(_ZD3.index>=0){for(var _04=persistent.length-1;_04>=0;_04--){if(_ZD3.id==persistent[_04].id){_8C=true;_7t._nT(_x2,persistent[_04].id);break;}}if(!_8C){var _QY=_x2._wj3(_ZD3.x,_ZD3.y,_ZD3.id,_ZD3.index,_ZD3.scaleX,_ZD3.scaleY,_ZD3.imageSpeed,_ZD3.imageIndex,_ZD3.rotation,_ZD3.colour);_QY._VD3=false;}}}var _YD3=_x2._T61.pInstances;for(var _K5=0;_K5<_x2._T61.pInstances.length;_K5++){var _ZD3=_x2._T61.pInstances[_K5];var _QY=_Lm._I4(_ZD3.id);if(_QY&&(_QY._VD3==false)){_QY._VD3=true;if(!_DK2&&!_z2){if(_ZD3.pCode)_ZD3.pCode(_QY,
_QY);_QY._R4(_6m,0,_QY,_QY);if(_ZD3.pPreCreateCode)_ZD3.pPreCreateCode(_QY,_QY);_QY._R4(_7m,0,_QY,_QY);}else {_QY._R4(_6m,0,_QY,_QY);if(_ZD3.pPreCreateCode)_ZD3.pPreCreateCode(_QY,_QY);_QY._R4(_7m,0,_QY,_QY);if(_ZD3.pCode)_ZD3.pCode(_QY,_QY);}}}}else {for(var _04=persistent.length-1;_04>=0;_04--){_7t._mT(_x2,persistent[_04]);}}for(var _04=0;_04<persistent.length;_04++){_x2._RN._Ke(persistent[_04]);persistent[_04]._xP();if(_z2){var __D3=-1;if(_UD3[_04]!=null){var _CT=_7t._PP(_x2,_UD3[_04]);if(_CT==null){
_CT=_7t._pT(_x2,persistent[_04].depth,_UD3[_04]);}if(_CT!=null){__D3=_CT._rd;}}persistent[_04]._6S(false);persistent[_04].layer=__D3;_7t._gT(_x2,persistent[_04]);var _0E3=_7t._QP(_x2,persistent[_04].layer);if(_0E3!=null){persistent[_04].depth=_0E3.depth;}}}if(_z2){if(_li1!=null){_li1._5x2();}}if(_QD3){_Lm._R4(_lB2,0);}if((_XD3==false)&&(_x2._3j3!=null)){var _1E3=new _mP(0,0,0,0,false,true);_x2._3j3(_1E3,_1E3);_1E3=null;}_Lm._R4(_pB2,0);_hW._023(_X_2,_x2);_x2.__i3=true;}function _2E3(_3E3){_5x2(_3E3,
false);}function _FD3(){g_pBuiltIn.score=0;g_pBuiltIn.lives=-1;_JK2=0;_KK2=-1;_LK2=0;_MK2=0;_5x2(_qS._c71(0).id,true);_1D3=Date.now();_YC3=_1D3;g_pBuiltIn.fps=_zy2;g_pBuiltIn.fps_real=_zy2;if(_mm==_nm){_K91();}}function _4E3(_wW2){_w01=[];_q01=[];_9y2=0;_x2._RN.__e();_x2._BP.__e();var _Zj=_m2._ed2;for(var i=0;i<_Zj.length;i++){var _FF=_Zj[i];_FF._Mz2.__e();_FF._bb3.__e();}_Lm.__e();if(_wW2){audio_stop_all();}else {_W91();}}function _5E3(){_yf._sd3();}function _6E3(){if(_x2._K83.length>0)_x2._rn3();if(_jL2.length>0)_x2._sn3();
}function _7E3(){if(_x2._y31){if(_z2){_x2._y31._0f(_B2._C2());}else _x2._y31._0f(_x2._M_2);}else {_Lm._fb3();}}function _8E3(){if((_x2._y31==null)||(_x2._y31==undefined)){_hz2();}}function _9E3(){g_pBuiltIn.delta_time=(_0D3-g_pBuiltIn._pZ2)*1000;g_pBuiltIn._pZ2=_0D3;_2r3();_yf._Fc3();__y2();_md._0f();_Lm._eb3();_Lm._ub3();_6E3();if(_b71!=-1)return;_7t._LT();_DS._kr3(_x2,_lA2);_Lm._R4(_lA2,0);_6E3();if(_b71!=-1)return;if(_GK2){_GK2=false;_Lm._R4(_SE2,0);}_Je._CV2();_6E3();if(_b71!=-1)return;_Tz2();_6E3();
if(_b71!=-1)return;_Wz2();_6E3();if(_b71!=-1)return;__z2();_6E3();if(_b71!=-1)return;_od3();_6E3();if(_b71!=-1)return;_tz2();_6E3();if(_b71!=-1)return;_hW._Z13(_x2);_DS._hr3(_x2);_DS._kr3(_x2,_nA2);_Lm._R4(_nA2,0);_6E3();if(_b71!=-1)return;_sr3();_7E3();_0z2();_6E3();if(_b71!=-1)return;_en1();_6E3();if(_b71!=-1)return;_8E3();_6E3();if(_b71!=-1)return;_DS._kr3(_x2,_pA2);_Lm._R4(_pA2,0);_6E3();if(_b71!=-1)return;_Yh3();if(_x2!=null){_x2._on3();if(_qL){_x2._58();_6E3();}}_x2._Jj3();_5E3();_y91();}function _7n3(){
var left,right,top,bottom;left=0;right=-999999;top=0;bottom=-999999;if(_x2._af){for(var i=0;i<_x2._cf.length;i++){var _df=_x2._cf[i];if(_df.visible){if(right<_df._Ej3+_df._Gj3)right=_df._Ej3+_df._Gj3;if(bottom<_df._Fj3+_df._Hj3)bottom=_df._Fj3+_df._Hj3;}}}else {left=0;right=_x2._4U;top=0;bottom=_x2._6U;_fK2._Gj3=_fK2._bi1=right;_fK2._Hj3=_fK2._ci1=bottom;}if(_Xo1){if(!_2p1){__h1=_Yo1;_0i1=_Zo1;}}else {__h1=_Im1;_0i1=_Jm1;if(surface_exists(_Mh1)){surface_free(_Mh1);_Mh1=-1;}}_2p1=_Xo1;_Ji1=_Im1;_Ki1=_Jm1;
_Qm1=__h1/(right-left);_Rm1=_0i1/(bottom-top);var _i3=new _ME();_i3.left=left;_i3.top=top;_i3.right=right;_i3.bottom=bottom;_RL=_i3;_aM=_i3.left;_bM=_i3.top;_8M=_i3.right-_i3.left;_9M=_i3.bottom-_i3.top;__o1();}function _aE3(){var w=640;if(typeof(_sD.window.innerWidth)=='number'){w=_sD.window.innerWidth;}else if(_sD.document.documentElement&&_sD.document.documentElement.clientWidth){w=_sD.document.documentElement.clientWidth;}else if(_sD.document.body&&document.body.clientWidth){w=_sD.document.body.clientWidth;
}return w;}function _bE3(){var h=480;if(typeof(_sD.window.innerHeight)=='number'){h=_sD.window.innerHeight;}else if(_sD.document.documentElement&&_sD.document.documentElement.clientHeight){h=_sD.document.documentElement.clientHeight;}else if(_sD.document.body&&document.body.clientHeight){h=_sD.document.body.clientHeight;}return h;}function _TJ(){var w=640;if(typeof(window.innerWidth)=='number'){w=window.innerWidth;}else if(document.documentElement&&document.documentElement.clientWidth){w=document.documentElement.clientWidth;
}else if(document.body&&document.body.clientWidth){w=document.body.clientWidth;}return w;}function _UJ(){var h=480;if(typeof(window.innerHeight)=='number'){h=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){h=document.documentElement.clientHeight;}else if(document.body&&document.body.clientHeight){h=document.body.clientHeight;}return h;}function _cE3(string){string=string.replace(String.fromCharCode(0x0a)+String.fromCharCode(0x0d)+String.fromCharCode(0x0a),"\n");
var _dE3="";for(var _x5=0;_x5<string.length;_x5++){var c=string.charCodeAt(_x5);if(c<128){_dE3+=String.fromCharCode(c);}else if((c>127)&&(c<2048)){_dE3+=String.fromCharCode((c>>6)|192);_dE3+=String.fromCharCode((c&63)|128);}else if((c>2047)&&(c<32768)){_dE3+=String.fromCharCode((c>>12)|224);_dE3+=String.fromCharCode(((c>>6)&63)|128);_dE3+=String.fromCharCode((c&63)|128);}else {_dE3+=String.fromCharCode(((c>>18)&7)|240);_dE3+=String.fromCharCode(((c>>12)&63)|128);_dE3+=String.fromCharCode(((c>>6)&63)|128);
_dE3+=String.fromCharCode((c&63)|128);}}return _dE3;}function _wY2(_eE3){return(_fE3(_eE3)||_gE3(_eE3));}function _fE3(_eE3){var _hE3=_eE3.charCodeAt(0);if((_hE3>47)&&(_hE3<58)){return true;}return false;}function _gE3(_eE3){var _hE3=_eE3.charCodeAt(0);if(((_hE3>64)&&(_hE3<91))||((_hE3>96)&&(_hE3<123))){return true;}return false;}function _iE3(_j_1){var _rh="";for(var i=0;i<_j_1.length;i++){var _k3=_j_1[i]&0xff;_rh=_rh+_8L2[_k3>>4]+_8L2[_k3&0xf];}return _rh;}function _jE3(_F2){var _rh="";for(var i=0;i<8;i++){_rh=_rh+_8L2[((_F2>>28)&0xf)];
_F2=_F2<<4;}return _rh;}function _kE3(){var _lE3=new Fingerprint().get();return _lE3;}function _mE3(_Xk){var _E_=new Uint8Array(_Xk.length);for(var i=0,_nE3=_Xk.length;i<_nE3;i++){_E_[i]=_Xk.charAt(i);}return _E_;};function _oE3(_CW2){return String.fromCharCode.apply(null,new Uint8Array(_CW2));};function _pE3(_CW2){return String.fromCharCode.apply(null,new Uint16Array(_CW2));};function _qE3(_Xk){var _CW2=new ArrayBuffer(_Xk.length*2);var _E_=new Uint16Array(_CW2);for(var i=0,_nE3=_Xk.length;i<_nE3;i++){_E_[i]=_Xk.charCodeAt(i);
}return _CW2;};function _rE3(){_ef(canvas,_ff);_Km1=_ff.top;_Lm1=_ff.left;_Mm1=_ff.right;_Nm1=_ff.bottom;_ii1(_59);if((_OK2!=canvas.width)||(_PK2!=canvas.height)){_GK2=true;}_OK2=canvas.width;_PK2=canvas.height;var w=_TJ();var h=_UJ();if((_im1)&&(!_HK2)){if((_Om1!=w)||(_Pm1!=h)){_HK2=true;_im1=false;}}if(_HK2){_HK2=false;if(_im1){w=_IK;h=_KK;_im1=false;canvas.style.position=_NC3;canvas.style.left=_OC3;canvas.style.top=_PC3;canvas.style.margin=_UC3;canvas.style.cssText=_QC3;if(!_TC3){if(canvas.parentNode!=_RC3){
_RC3.insertBefore(canvas,_SC3);}}}else {_im1=true;window_set_position(0,0);if(!_TC3){if(canvas.parentNode==_RC3){_RC3.removeChild(canvas);document.body.insertBefore(canvas,null);}}}canvas.width=w;canvas.height=h;_Im1=canvas.width;_Jm1=canvas.height;_Lm1=canvas.offsetLeft;_Mm1=_Lm1+_Im1;_Km1=canvas.offsetTop;_Nm1=_Lm1+_Jm1;_Om1=_Im1;_Pm1=_Jm1;_Ji1=w;_Ki1=h;_Qm1=1;_Rm1=1;_7n3();}}var _sE3=0;var _tE3=0;function _GD3(){if(_i7){_i7._Fi1();}var _S83;if(_z2){_B2._0f();_S83=_B2._C2();}else {_S83=_x2._y2();if(_S83<=0){
_S83=1;_x2._L_2(1);}}const _uE3=_0D3;_0D3=Date.now();const _vE3=(_0D3-_uE3)*1000;_4l1._Yz2(_vE3);_4m1._Yz2(_vE3);if(_0D3>=_YC3+1000){if(_0D3-_1D3<2000){_zy2=_ZC3;g_pBuiltIn.fps=_zy2;}_ZC3=0;_YC3=_0D3;}_ZC3++;var _wE3=_1D3+1000/_S83;var now=Date.now();var _ZT1=_1D3+1000/_S83-now;if(_ZT1<0)_ZT1=0;_1D3=now+_ZT1;if(_ZT1>4){setTimeout(function(){if(window._9D3){window._9D3(_bD3);}else {}},_ZT1);}else {if(window._9D3){window._9D3(_bD3);}else {window.postMessage("yyRequestAnimationFrame","*");}}if(!_Yy2){_rE3();
var _xE3=10;var _9B1=false;while(!_9B1){_9B1=true;if(_x2===null){_fK2._hf=_fK2._2n3=_fK2._Gj3=_fK2._bi1=_Im1;_fK2._jf=_fK2._3n3=_fK2._Hj3=_fK2._ci1=_Jm1;}else {_7n3();}_u53();_9E3();_w53();switch(_b71){case -1:break;case _f71:case _JE2:_4E3(false);return;case _g71:_4E3(true);_qS._zn3();_FD3();break;case _IE2:_PM2();break;default :_2E3(_b71);_9B1=false;break;}_xE3--;if(_xE3<=0)break;}_Xm1=0;_Ym1=0;}if(_vD.Options&&_vD.Options.debugMode){UpdateDebugWindow();}}